@nova-ui/dashboards 15.0.2-4855 → 15.0.2-5133

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.
Files changed (122) hide show
  1. package/esm2020/lib/components/public-api.mjs +2 -1
  2. package/esm2020/lib/components/risk-score-tile/public-api.mjs +22 -0
  3. package/esm2020/lib/components/risk-score-tile/risk-score-tile.component.mjs +115 -0
  4. package/esm2020/lib/components/risk-score-tile/types.mjs +25 -0
  5. package/esm2020/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.mjs +1 -1
  6. package/esm2020/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.mjs +6 -6
  7. package/esm2020/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.mjs +6 -6
  8. package/esm2020/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.mjs +6 -6
  9. package/esm2020/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.mjs +6 -6
  10. package/esm2020/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.mjs +20 -2
  11. package/esm2020/lib/components/timeseries-widget/timeseries-helpers.mjs +3 -3
  12. package/esm2020/lib/components/timeseries-widget/timeseries-scales.service.mjs +17 -9
  13. package/esm2020/lib/configurator/components/widgets/configurator-items/public-api.mjs +2 -1
  14. package/esm2020/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.mjs +106 -0
  15. package/esm2020/lib/configurator/components/widgets/public-api.mjs +2 -1
  16. package/esm2020/lib/configurator/components/widgets/risk-score/public-api.mjs +22 -0
  17. package/esm2020/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/public-api.mjs +21 -0
  18. package/esm2020/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component.mjs +92 -0
  19. package/esm2020/lib/configurator/components/widgets/risk-score/types.mjs +21 -0
  20. package/esm2020/lib/configurator/configurator.module.mjs +9 -1
  21. package/esm2020/lib/constants/default-palette.mjs +3 -1
  22. package/esm2020/lib/dashboards.module.mjs +19 -7
  23. package/esm2020/lib/services/provider-registry.service.mjs +8 -3
  24. package/esm2020/lib/services/table-formatter-registry.service.mjs +12 -1
  25. package/esm2020/lib/services/types.mjs +2 -1
  26. package/esm2020/lib/widget-types/risk-score/risk-score-configurator.mjs +201 -0
  27. package/esm2020/lib/widget-types/risk-score/risk-score-widget.mjs +101 -0
  28. package/esm2020/lib/widget-types/risk-score/risk-score.mjs +56 -0
  29. package/fesm2015/nova-ui-dashboards.mjs +707 -114
  30. package/fesm2015/nova-ui-dashboards.mjs.map +1 -1
  31. package/fesm2020/nova-ui-dashboards.mjs +717 -115
  32. package/fesm2020/nova-ui-dashboards.mjs.map +1 -1
  33. package/lib/components/public-api.d.ts +1 -0
  34. package/lib/components/risk-score-tile/public-api.d.ts +2 -0
  35. package/lib/components/risk-score-tile/risk-score-tile.component.d.ts +32 -0
  36. package/lib/components/risk-score-tile/types.d.ts +28 -0
  37. package/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.d.ts +2 -0
  38. package/lib/components/timeseries-widget/timeseries-helpers.d.ts +2 -2
  39. package/lib/components/timeseries-widget/timeseries-scales.service.d.ts +1 -0
  40. package/lib/configurator/components/widgets/configurator-items/public-api.d.ts +1 -0
  41. package/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.d.ts +26 -0
  42. package/lib/configurator/components/widgets/public-api.d.ts +1 -0
  43. package/lib/configurator/components/widgets/risk-score/public-api.d.ts +2 -0
  44. package/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/public-api.d.ts +1 -0
  45. package/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component.d.ts +32 -0
  46. package/lib/configurator/components/widgets/risk-score/types.d.ts +7 -0
  47. package/lib/configurator/configurator.module.d.ts +67 -65
  48. package/lib/dashboards.module.d.ts +38 -37
  49. package/lib/services/table-formatter-registry.service.d.ts +5 -0
  50. package/lib/services/types.d.ts +1 -0
  51. package/lib/widget-types/risk-score/risk-score-configurator.d.ts +97 -0
  52. package/lib/widget-types/risk-score/risk-score-widget.d.ts +55 -0
  53. package/lib/widget-types/risk-score/risk-score.d.ts +5 -0
  54. package/package.json +1 -1
  55. package/sdk/atoms/src/lib/components/public-api.d.ts +1 -0
  56. package/sdk/atoms/src/lib/components/public-api.js +1 -0
  57. package/sdk/atoms/src/lib/components/public-api.js.map +1 -1
  58. package/sdk/atoms/src/lib/components/risk-score-tile/public-api.d.ts +2 -0
  59. package/sdk/atoms/src/lib/components/risk-score-tile/public-api.js +25 -0
  60. package/sdk/atoms/src/lib/components/risk-score-tile/public-api.js.map +1 -0
  61. package/sdk/atoms/src/lib/components/risk-score-tile/risk-score-tile.component.d.ts +29 -0
  62. package/sdk/atoms/src/lib/components/risk-score-tile/risk-score-tile.component.js +128 -0
  63. package/sdk/atoms/src/lib/components/risk-score-tile/risk-score-tile.component.js.map +1 -0
  64. package/sdk/atoms/src/lib/components/risk-score-tile/types.d.ts +28 -0
  65. package/sdk/atoms/src/lib/components/risk-score-tile/types.js +28 -0
  66. package/sdk/atoms/src/lib/components/risk-score-tile/types.js.map +1 -0
  67. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.js.map +1 -1
  68. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.d.ts +2 -0
  69. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.js +19 -1
  70. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.js.map +1 -1
  71. package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-helpers.d.ts +2 -2
  72. package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-helpers.js +2 -2
  73. package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-helpers.js.map +1 -1
  74. package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-scales.service.d.ts +1 -0
  75. package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-scales.service.js +20 -12
  76. package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-scales.service.js.map +1 -1
  77. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/public-api.d.ts +1 -0
  78. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/public-api.js +1 -0
  79. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/public-api.js.map +1 -1
  80. 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
  81. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.js +125 -0
  82. 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
  83. package/sdk/atoms/src/lib/configurator/components/widgets/public-api.d.ts +1 -0
  84. package/sdk/atoms/src/lib/configurator/components/widgets/public-api.js +1 -0
  85. package/sdk/atoms/src/lib/configurator/components/widgets/public-api.js.map +1 -1
  86. package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/public-api.d.ts +2 -0
  87. package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/public-api.js +25 -0
  88. package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/public-api.js.map +1 -0
  89. package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/public-api.d.ts +1 -0
  90. package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/public-api.js +24 -0
  91. package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/public-api.js.map +1 -0
  92. package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component.d.ts +29 -0
  93. package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component.js +102 -0
  94. package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component.js.map +1 -0
  95. package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/types.d.ts +7 -0
  96. package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/types.js +22 -0
  97. package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/types.js.map +1 -0
  98. package/sdk/atoms/src/lib/configurator/configurator.module.js +4 -0
  99. package/sdk/atoms/src/lib/configurator/configurator.module.js.map +1 -1
  100. package/sdk/atoms/src/lib/constants/default-palette.js +2 -0
  101. package/sdk/atoms/src/lib/constants/default-palette.js.map +1 -1
  102. package/sdk/atoms/src/lib/dashboards.module.d.ts +2 -2
  103. package/sdk/atoms/src/lib/dashboards.module.js +12 -3
  104. package/sdk/atoms/src/lib/dashboards.module.js.map +1 -1
  105. package/sdk/atoms/src/lib/services/provider-registry.service.js +5 -0
  106. package/sdk/atoms/src/lib/services/provider-registry.service.js.map +1 -1
  107. package/sdk/atoms/src/lib/services/table-formatter-registry.service.d.ts +3 -0
  108. package/sdk/atoms/src/lib/services/table-formatter-registry.service.js +11 -1
  109. package/sdk/atoms/src/lib/services/table-formatter-registry.service.js.map +1 -1
  110. package/sdk/atoms/src/lib/services/types.d.ts +1 -0
  111. package/sdk/atoms/src/lib/services/types.js +3 -2
  112. package/sdk/atoms/src/lib/services/types.js.map +1 -1
  113. package/sdk/atoms/src/lib/widget-types/risk-score/risk-score-configurator.d.ts +97 -0
  114. package/sdk/atoms/src/lib/widget-types/risk-score/risk-score-configurator.js +204 -0
  115. package/sdk/atoms/src/lib/widget-types/risk-score/risk-score-configurator.js.map +1 -0
  116. package/sdk/atoms/src/lib/widget-types/risk-score/risk-score-widget.d.ts +55 -0
  117. package/sdk/atoms/src/lib/widget-types/risk-score/risk-score-widget.js +89 -0
  118. package/sdk/atoms/src/lib/widget-types/risk-score/risk-score-widget.js.map +1 -0
  119. package/sdk/atoms/src/lib/widget-types/risk-score/risk-score.d.ts +5 -0
  120. package/sdk/atoms/src/lib/widget-types/risk-score/risk-score.js +59 -0
  121. package/sdk/atoms/src/lib/widget-types/risk-score/risk-score.js.map +1 -0
  122. package/sdk/locale/messages.en.xlf +115 -8
@@ -75,7 +75,7 @@ let TimeseriesScalesService = class TimeseriesScalesService {
75
75
  * @param scaleConfig
76
76
  */
77
77
  updateConfiguration(scale, scaleConfig, widgetConfig) {
78
- var _a, _b, _c, _d, _e, _f, _g;
78
+ var _a, _b, _c, _d, _e, _f;
79
79
  switch (scaleConfig.type) {
80
80
  case types_1.TimeseriesScaleType.Time: {
81
81
  const interval = (_a = scaleConfig.properties) === null || _a === void 0 ? void 0 : _a.timeInterval;
@@ -103,23 +103,27 @@ let TimeseriesScalesService = class TimeseriesScalesService {
103
103
  if ((_c = scaleConfig.properties) === null || _c === void 0 ? void 0 : _c.axisUnits) {
104
104
  scale.scaleUnits = scaleConfig.properties.axisUnits;
105
105
  }
106
- if ((widgetConfig === null || widgetConfig === void 0 ? void 0 : widgetConfig.preset) === types_1.TimeseriesChartPreset.StatusBar ||
107
- ((widgetConfig === null || widgetConfig === void 0 ? void 0 : widgetConfig.preset) ===
108
- types_1.TimeseriesChartPreset.StackedArea &&
109
- ((_d = scaleConfig.properties) === null || _d === void 0 ? void 0 : _d.axisUnits) === "percent")) {
106
+ if ((widgetConfig === null || widgetConfig === void 0 ? void 0 : widgetConfig.preset) === types_1.TimeseriesChartPreset.StatusBar) {
110
107
  return;
111
108
  }
112
- if (((_e = scaleConfig.properties) === null || _e === void 0 ? void 0 : _e.axisUnits) === "percent" &&
109
+ if (((_d = scaleConfig.properties) === null || _d === void 0 ? void 0 : _d.axisUnits) === "percent" &&
113
110
  scale.setFixDomainValues) {
114
111
  scale.setFixDomainValues([0, 25, 50, 75, 100]);
115
112
  }
116
- if (((_f = scaleConfig.properties) === null || _f === void 0 ? void 0 : _f.axisUnits) !== "percent" &&
117
- ((_g = scaleConfig.properties) === null || _g === void 0 ? void 0 : _g.domain) &&
113
+ if (((_e = scaleConfig.properties) === null || _e === void 0 ? void 0 : _e.axisUnits) !== "percent" &&
114
+ ((_f = scaleConfig.properties) === null || _f === void 0 ? void 0 : _f.domain) &&
118
115
  scale.setFixDomainValues) {
119
- const domainAdjusted = (widgetConfig === null || widgetConfig === void 0 ? void 0 : widgetConfig.preset) ===
120
- types_1.TimeseriesChartPreset.StackedBar
121
- ? this.getStackedBarScaleDomain(scaleConfig.properties.domain)
122
- : this.getLineScaleDomain(scaleConfig.properties.domain);
116
+ let domainAdjusted;
117
+ switch (widgetConfig === null || widgetConfig === void 0 ? void 0 : widgetConfig.preset) {
118
+ case types_1.TimeseriesChartPreset.StackedBar:
119
+ domainAdjusted = this.getStackedBarScaleDomain(scaleConfig.properties.domain);
120
+ break;
121
+ case types_1.TimeseriesChartPreset.StackedArea:
122
+ domainAdjusted = this.getStackedAreaScaleDomain(scaleConfig.properties.domain.max);
123
+ break;
124
+ default:
125
+ domainAdjusted = this.getLineScaleDomain(scaleConfig.properties.domain);
126
+ }
123
127
  scale.setFixDomainValues(domainAdjusted);
124
128
  }
125
129
  break;
@@ -169,6 +173,10 @@ let TimeseriesScalesService = class TimeseriesScalesService {
169
173
  max,
170
174
  ]);
171
175
  }
176
+ getStackedAreaScaleDomain(max) {
177
+ const point = max / 4;
178
+ return [0, point, point * 2, max - point, max];
179
+ }
172
180
  };
173
181
  TimeseriesScalesService = tslib_1.__decorate([
174
182
  (0, core_1.Injectable)(),
@@ -1 +1 @@
1
- {"version":3,"file":"timeseries-scales.service.js","sourceRoot":"","sources":["../../../../../../../src/lib/components/timeseries-widget/timeseries-scales.service.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;A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AAG,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;QAC9B,OAAO,IAAA,2CAAsB,EAAC;YAC1B,GAAG;YACH,GAAG,GAAG,KAAK;YACX,GAAG,GAAG,CAAC,GAAG,KAAK;YACf,GAAG,GAAG,KAAK;YACX,GAAG;SACN,CAAC,CAAC;IACP,CAAC;CACJ,CAAA;AA/LY,uBAAuB;IADnC,IAAA,iBAAU,GAAE;6CAIkC,4BAAqB;GAHvD,uBAAuB,CA+LnC;AA/LY,0DAAuB"}
1
+ {"version":3,"file":"timeseries-scales.service.js","sourceRoot":"","sources":["../../../../../../../src/lib/components/timeseries-widget/timeseries-scales.service.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;;;;AAEjB,wCAA2C;AAC3C,0CAAyC;AAEzC,wCAA4E;AAC5E,4CAKyB;AAEzB,8DAA4E;AAC5E,2EAA4E;AAC5E,mCAKiB;AAEjB,iGAA4F;AAE5F;;GAEG;AAEI,IAAM,uBAAuB,GAA7B,MAAM,uBAAuB;IAGhC,YAAoB,qBAA4C;QAA5C,0BAAqB,GAArB,qBAAqB,CAAuB;QAC5D,IAAI,CAAC,kBAAkB,GAAG,IAAI,wCAA2B,CACrD,IAAI,CAAC,qBAAqB,CAC7B,CAAC;IACN,CAAC;IAED;;;;OAIG;IACI,QAAQ,CACX,WAAmC,EACnC,KAAiB,EACjB,YAAsC;QAEtC,IAAI,KAAkB,CAAC;QAEvB,QAAQ,WAAW,CAAC,IAAI,EAAE;YACtB,KAAK,2BAAmB,CAAC,IAAI,CAAC,CAAC;gBAC3B,KAAK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AG,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;QAE9D,6EAA6E;QAC7E,IAAI,WAAW,GAAG,GAAG,EAAE;YACnB,GAAG,GAAG,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC;YAChC,GAAG,GAAG,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC;SACnC;QAED,oBAAoB;QACpB,IAAI,GAAG,KAAK,CAAC,IAAI,GAAG,KAAK,CAAC,EAAE;YACxB,GAAG,GAAG,CAAC,CAAC,CAAC;YACT,GAAG,GAAG,CAAC,CAAC;SACX;QAED,uEAAuE;QACvE,IAAI,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,GAAG,CAAC,GAAG,IAAI,EAAE;YAC5B,GAAG,IAAI,IAAI,CAAC;SACf;QAED,MAAM,KAAK,GAAG,CAAC,GAAG,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;QAC9B,OAAO,IAAA,2CAAsB,EAAC;YAC1B,GAAG;YACH,GAAG,GAAG,KAAK;YACX,GAAG,GAAG,CAAC,GAAG,KAAK;YACf,GAAG,GAAG,KAAK;YACX,GAAG;SACN,CAAC,CAAC;IACP,CAAC;IAEO,yBAAyB,CAAC,GAAW;QACzC,MAAM,KAAK,GAAG,GAAG,GAAG,CAAC,CAAC;QACtB,OAAO,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,GAAG,CAAC,EAAE,GAAG,GAAG,KAAK,EAAE,GAAG,CAAC,CAAC;IACnD,CAAC;CACJ,CAAA;AAxMY,uBAAuB;IADnC,IAAA,iBAAU,GAAE;6CAIkC,4BAAqB;GAHvD,uBAAuB,CAwMnC;AAxMY,0DAAuB"}
@@ -1,6 +1,7 @@
1
1
  export * from "./data-source-configuration/data-source-configuration.component";
2
2
  export * from "./data-source-configuration-v2/data-source-configuration-v2.component";
3
3
  export * from "./kpi-description-configuration/kpi-description-configuration.component";
4
+ export * from "./risk-score-tile-description-configuration/risk-score-tile-description-configuration.component";
4
5
  export * from "./thresholds-configuration/thresholds-configuration.component";
5
6
  export * from "./title-and-description-configuration/title-and-description-configuration.component";
6
7
  export * from "./refresher-configuration/public-api";
@@ -23,6 +23,7 @@ const tslib_1 = require("tslib");
23
23
  tslib_1.__exportStar(require("./data-source-configuration/data-source-configuration.component"), exports);
24
24
  tslib_1.__exportStar(require("./data-source-configuration-v2/data-source-configuration-v2.component"), exports);
25
25
  tslib_1.__exportStar(require("./kpi-description-configuration/kpi-description-configuration.component"), exports);
26
+ tslib_1.__exportStar(require("./risk-score-tile-description-configuration/risk-score-tile-description-configuration.component"), exports);
26
27
  tslib_1.__exportStar(require("./thresholds-configuration/thresholds-configuration.component"), exports);
27
28
  tslib_1.__exportStar(require("./title-and-description-configuration/title-and-description-configuration.component"), exports);
28
29
  tslib_1.__exportStar(require("./refresher-configuration/public-api"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"public-api.js","sourceRoot":"","sources":["../../../../../../../../../src/lib/configurator/components/widgets/configurator-items/public-api.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;;;AAEjB,0GAAgF;AAChF,gHAAsF;AACtF,kHAAwF;AACxF,wGAA8E;AAC9E,8HAAoG;AACpG,+EAAqD;AACrD,oHAA0F;AAC1F,4GAAkF;AAClF,gIAAsG;AACtG,yEAA+C"}
1
+ {"version":3,"file":"public-api.js","sourceRoot":"","sources":["../../../../../../../../../src/lib/configurator/components/widgets/configurator-items/public-api.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;;;AAEjB,0GAAgF;AAChF,gHAAsF;AACtF,kHAAwF;AACxF,0IAAgH;AAChH,wGAA8E;AAC9E,8HAAoG;AACpG,+EAAqD;AACrD,oHAA0F;AAC1F,4GAAkF;AAClF,gIAAsG;AACtG,yEAA+C"}
@@ -0,0 +1,23 @@
1
+ import { ChangeDetectorRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from "@angular/core";
2
+ import { FormBuilder, FormGroup } from "@angular/forms";
3
+ import { Observable } from "rxjs";
4
+ import { IHasChangeDetector, IHasForm } from "../../../../../types";
5
+ export declare class RiskScoreTileDescriptionConfigurationComponent implements OnInit, OnChanges, IHasChangeDetector, IHasForm {
6
+ changeDetector: ChangeDetectorRef;
7
+ private formBuilder;
8
+ static lateLoadKey: string;
9
+ readonly MAX_DESCRIPTION_LENGTH = 150;
10
+ componentId: string;
11
+ label: string;
12
+ minValue: number;
13
+ maxValue: number;
14
+ description: string;
15
+ useStaticLabel: boolean;
16
+ staticLabel: string;
17
+ formReady: EventEmitter<FormGroup<any>>;
18
+ form: FormGroup;
19
+ subtitle$: Observable<string>;
20
+ constructor(changeDetector: ChangeDetectorRef, formBuilder: FormBuilder);
21
+ ngOnInit(): void;
22
+ ngOnChanges(changes: SimpleChanges): void;
23
+ }
@@ -0,0 +1,125 @@
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.RiskScoreTileDescriptionConfigurationComponent = void 0;
23
+ const tslib_1 = require("tslib");
24
+ const core_1 = require("@angular/core");
25
+ const forms_1 = require("@angular/forms");
26
+ let RiskScoreTileDescriptionConfigurationComponent = class RiskScoreTileDescriptionConfigurationComponent {
27
+ constructor(changeDetector, formBuilder) {
28
+ this.changeDetector = changeDetector;
29
+ this.formBuilder = formBuilder;
30
+ this.MAX_DESCRIPTION_LENGTH = 150;
31
+ this.label = "";
32
+ this.minValue = 0;
33
+ this.maxValue = 100;
34
+ this.description = "";
35
+ this.useStaticLabel = false;
36
+ this.staticLabel = "";
37
+ this.formReady = new core_1.EventEmitter();
38
+ }
39
+ ngOnInit() {
40
+ this.form = this.formBuilder.group({
41
+ label: [this.label, [forms_1.Validators.required]],
42
+ minValue: [this.minValue, [forms_1.Validators.required]],
43
+ maxValue: [this.maxValue, [forms_1.Validators.required]],
44
+ description: [
45
+ this.description,
46
+ [forms_1.Validators.maxLength(this.MAX_DESCRIPTION_LENGTH)],
47
+ ],
48
+ useStaticLabel: [this.useStaticLabel, [forms_1.Validators.required]],
49
+ staticLabel: [this.staticLabel],
50
+ });
51
+ this.formReady.emit(this.form);
52
+ }
53
+ ngOnChanges(changes) {
54
+ var _a, _b, _c, _d, _e, _f;
55
+ if (changes.label) {
56
+ (_a = this.form) === null || _a === void 0 ? void 0 : _a.patchValue({ label: changes.label.currentValue });
57
+ }
58
+ if (changes.minValue) {
59
+ (_b = this.form) === null || _b === void 0 ? void 0 : _b.patchValue({ minValue: changes.minValue.currentValue });
60
+ }
61
+ if (changes.maxValue) {
62
+ (_c = this.form) === null || _c === void 0 ? void 0 : _c.patchValue({ maxValue: changes.maxValue.currentValue });
63
+ }
64
+ if (changes.description) {
65
+ (_d = this.form) === null || _d === void 0 ? void 0 : _d.patchValue({
66
+ description: changes.description.currentValue,
67
+ });
68
+ }
69
+ if (changes.useStaticLabel) {
70
+ (_e = this.form) === null || _e === void 0 ? void 0 : _e.patchValue({
71
+ useStaticLabel: changes.useStaticLabel.currentValue,
72
+ });
73
+ }
74
+ if (changes.staticLabel) {
75
+ (_f = this.form) === null || _f === void 0 ? void 0 : _f.patchValue({
76
+ staticLabel: changes.staticLabel.currentValue,
77
+ });
78
+ }
79
+ }
80
+ };
81
+ RiskScoreTileDescriptionConfigurationComponent.lateLoadKey = "RiskScoreTileDescriptionConfigurationComponent";
82
+ tslib_1.__decorate([
83
+ (0, core_1.Input)(),
84
+ tslib_1.__metadata("design:type", String)
85
+ ], RiskScoreTileDescriptionConfigurationComponent.prototype, "componentId", void 0);
86
+ tslib_1.__decorate([
87
+ (0, core_1.Input)(),
88
+ tslib_1.__metadata("design:type", String)
89
+ ], RiskScoreTileDescriptionConfigurationComponent.prototype, "label", void 0);
90
+ tslib_1.__decorate([
91
+ (0, core_1.Input)(),
92
+ tslib_1.__metadata("design:type", Number)
93
+ ], RiskScoreTileDescriptionConfigurationComponent.prototype, "minValue", void 0);
94
+ tslib_1.__decorate([
95
+ (0, core_1.Input)(),
96
+ tslib_1.__metadata("design:type", Number)
97
+ ], RiskScoreTileDescriptionConfigurationComponent.prototype, "maxValue", void 0);
98
+ tslib_1.__decorate([
99
+ (0, core_1.Input)(),
100
+ tslib_1.__metadata("design:type", String)
101
+ ], RiskScoreTileDescriptionConfigurationComponent.prototype, "description", void 0);
102
+ tslib_1.__decorate([
103
+ (0, core_1.Input)(),
104
+ tslib_1.__metadata("design:type", Boolean)
105
+ ], RiskScoreTileDescriptionConfigurationComponent.prototype, "useStaticLabel", void 0);
106
+ tslib_1.__decorate([
107
+ (0, core_1.Input)(),
108
+ tslib_1.__metadata("design:type", String)
109
+ ], RiskScoreTileDescriptionConfigurationComponent.prototype, "staticLabel", void 0);
110
+ tslib_1.__decorate([
111
+ (0, core_1.Output)(),
112
+ tslib_1.__metadata("design:type", Object)
113
+ ], RiskScoreTileDescriptionConfigurationComponent.prototype, "formReady", void 0);
114
+ RiskScoreTileDescriptionConfigurationComponent = tslib_1.__decorate([
115
+ (0, core_1.Component)({
116
+ selector: "nui-risk-score-tile-description-configuration",
117
+ templateUrl: "./risk-score-tile-description-configuration.component.html",
118
+ styleUrls: ["./risk-score-tile-description-configuration.component.less"],
119
+ changeDetection: core_1.ChangeDetectionStrategy.OnPush,
120
+ }),
121
+ tslib_1.__metadata("design:paramtypes", [core_1.ChangeDetectorRef,
122
+ forms_1.FormBuilder])
123
+ ], RiskScoreTileDescriptionConfigurationComponent);
124
+ exports.RiskScoreTileDescriptionConfigurationComponent = RiskScoreTileDescriptionConfigurationComponent;
125
+ //# sourceMappingURL=risk-score-tile-description-configuration.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"risk-score-tile-description-configuration.component.js","sourceRoot":"","sources":["../../../../../../../../../../src/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,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AC,IAAA,YAAK,GAAE;;gFAAsB;AAC9B;IAAC,IAAA,YAAK,GAAE;;gFAAwB;AAChC;IAAC,IAAA,YAAK,GAAE;;mFAA0B;AAClC;IAAC,IAAA,YAAK,GAAE;;sFAAiC;AACzC;IAAC,IAAA,YAAK,GAAE;;mFAA0B;AAElC;IAAC,IAAA,aAAM,GAAE;;iFAA2C;AAjB3C,8CAA8C;IAN1D,IAAA,gBAAS,EAAC;QACP,QAAQ,EAAE,+CAA+C;QACzD,WAAW,EAAE,4DAA4D;QACzE,SAAS,EAAE,CAAC,4DAA4D,CAAC;QACzE,eAAe,EAAE,8BAAuB,CAAC,MAAM;KAClD,CAAC;6CAwB6B,wBAAiB;QACnB,mBAAW;GAxB3B,8CAA8C,CA0E1D;AA1EY,wGAA8C"}
@@ -1,4 +1,5 @@
1
1
  export * from "./kpi/public-api";
2
+ export * from "./risk-score/public-api";
2
3
  export * from "./table/public-api";
3
4
  export * from "./timeseries/public-api";
4
5
  export * from "./proportional/public-api";
@@ -21,6 +21,7 @@
21
21
  Object.defineProperty(exports, "__esModule", { value: true });
22
22
  const tslib_1 = require("tslib");
23
23
  tslib_1.__exportStar(require("./kpi/public-api"), exports);
24
+ tslib_1.__exportStar(require("./risk-score/public-api"), exports);
24
25
  tslib_1.__exportStar(require("./table/public-api"), exports);
25
26
  tslib_1.__exportStar(require("./timeseries/public-api"), exports);
26
27
  tslib_1.__exportStar(require("./proportional/public-api"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"public-api.js","sourceRoot":"","sources":["../../../../../../../../src/lib/configurator/components/widgets/public-api.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;;;AAEjB,2DAAiC;AACjC,6DAAmC;AACnC,kEAAwC;AACxC,oEAA0C;AAC1C,0EAAgD;AAChD,iEAAuC"}
1
+ {"version":3,"file":"public-api.js","sourceRoot":"","sources":["../../../../../../../../src/lib/configurator/components/widgets/public-api.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;;;AAEjB,2DAAiC;AACjC,kEAAwC;AACxC,6DAAmC;AACnC,kEAAwC;AACxC,oEAA0C;AAC1C,0EAAgD;AAChD,iEAAuC"}
@@ -0,0 +1,2 @@
1
+ export * from "./risk-score-tiles-configuration/public-api";
2
+ export * from "./types";
@@ -0,0 +1,25 @@
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
+ const tslib_1 = require("tslib");
23
+ tslib_1.__exportStar(require("./risk-score-tiles-configuration/public-api"), exports);
24
+ tslib_1.__exportStar(require("./types"), exports);
25
+ //# sourceMappingURL=public-api.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"public-api.js","sourceRoot":"","sources":["../../../../../../../../../src/lib/configurator/components/widgets/risk-score/public-api.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;;;AAEjB,sFAA4D;AAC5D,kDAAwB"}
@@ -0,0 +1 @@
1
+ export * from "./risk-score-tiles-configuration.component";
@@ -0,0 +1,24 @@
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
+ const tslib_1 = require("tslib");
23
+ tslib_1.__exportStar(require("./risk-score-tiles-configuration.component"), exports);
24
+ //# sourceMappingURL=public-api.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"public-api.js","sourceRoot":"","sources":["../../../../../../../../../../src/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/public-api.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;;;AAEjB,qFAA2D"}
@@ -0,0 +1,29 @@
1
+ import { ChangeDetectorRef, EventEmitter, OnChanges, SimpleChanges } from "@angular/core";
2
+ import { AbstractControl, FormBuilder, FormGroup } from "@angular/forms";
3
+ import { Observable } from "rxjs";
4
+ import { EventBus, IEvent } from "@nova-ui/bits";
5
+ import { PizzagnaService } from "../../../../../pizzagna/services/pizzagna.service";
6
+ import { IHasChangeDetector, IHasForm } from "../../../../../types";
7
+ import { IItemConfiguration } from "../../../types";
8
+ import { IRiskScoreItemConfiguration } from "../types";
9
+ /**
10
+ * This component and its related form represent a collection of KPI tile configuration components
11
+ */
12
+ export declare class RiskScoreTilesConfigurationComponent implements IHasChangeDetector, IHasForm, OnChanges {
13
+ pizzagnaService: PizzagnaService;
14
+ changeDetector: ChangeDetectorRef;
15
+ private formBuilder;
16
+ private eventBus;
17
+ static lateLoadKey: string;
18
+ componentId: string;
19
+ tiles: IRiskScoreItemConfiguration[];
20
+ nodes: string[];
21
+ formReady: EventEmitter<FormGroup<any>>;
22
+ form: FormGroup;
23
+ emptyItems$: Observable<boolean>;
24
+ constructor(pizzagnaService: PizzagnaService, changeDetector: ChangeDetectorRef, formBuilder: FormBuilder, eventBus: EventBus<IEvent>);
25
+ ngOnChanges(changes: SimpleChanges): void;
26
+ onFormReady(form: AbstractControl): void;
27
+ onItemsChange(tiles: IItemConfiguration[]): void;
28
+ addTile(): void;
29
+ }
@@ -0,0 +1,102 @@
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.RiskScoreTilesConfigurationComponent = void 0;
23
+ const tslib_1 = require("tslib");
24
+ const core_1 = require("@angular/core");
25
+ const forms_1 = require("@angular/forms");
26
+ const operators_1 = require("rxjs/operators");
27
+ const bits_1 = require("@nova-ui/bits");
28
+ const risk_score_tile_component_1 = require("../../../../../components/risk-score-tile/risk-score-tile.component");
29
+ const pizzagna_service_1 = require("../../../../../pizzagna/services/pizzagna.service");
30
+ const types_1 = require("../../../../../types");
31
+ /**
32
+ * This component and its related form represent a collection of KPI tile configuration components
33
+ */
34
+ let RiskScoreTilesConfigurationComponent = class RiskScoreTilesConfigurationComponent {
35
+ constructor(pizzagnaService, changeDetector, formBuilder, eventBus) {
36
+ this.pizzagnaService = pizzagnaService;
37
+ this.changeDetector = changeDetector;
38
+ this.formBuilder = formBuilder;
39
+ this.eventBus = eventBus;
40
+ this.tiles = [];
41
+ this.formReady = new core_1.EventEmitter();
42
+ }
43
+ ngOnChanges(changes) { }
44
+ onFormReady(form) {
45
+ this.form = this.formBuilder.group({
46
+ tiles: form,
47
+ });
48
+ this.emptyItems$ = this.form.valueChanges.pipe((0, operators_1.map)((result) => result.tiles.length === 0));
49
+ this.formReady.emit(this.form);
50
+ }
51
+ onItemsChange(tiles) {
52
+ const parentPath = "tiles";
53
+ const componentIds = tiles.map((tile) => tile.id);
54
+ this.pizzagnaService.createComponentsFromTemplate(parentPath, componentIds);
55
+ const property = {
56
+ componentId: this.componentId,
57
+ pizzagnaKey: types_1.PizzagnaLayer.Data,
58
+ propertyPath: ["tiles"],
59
+ };
60
+ this.pizzagnaService.setProperty(property, tiles);
61
+ }
62
+ addTile() {
63
+ this.onItemsChange([
64
+ ...this.tiles,
65
+ {
66
+ id: (0, bits_1.uuid)("riskScore"),
67
+ componentType: risk_score_tile_component_1.RiskScoreTileComponent.lateLoadKey,
68
+ },
69
+ ]);
70
+ }
71
+ };
72
+ RiskScoreTilesConfigurationComponent.lateLoadKey = "RiskScoreTilesConfigurationComponent";
73
+ tslib_1.__decorate([
74
+ (0, core_1.Input)(),
75
+ tslib_1.__metadata("design:type", String)
76
+ ], RiskScoreTilesConfigurationComponent.prototype, "componentId", void 0);
77
+ tslib_1.__decorate([
78
+ (0, core_1.Input)(),
79
+ tslib_1.__metadata("design:type", Array)
80
+ ], RiskScoreTilesConfigurationComponent.prototype, "tiles", void 0);
81
+ tslib_1.__decorate([
82
+ (0, core_1.Input)(),
83
+ tslib_1.__metadata("design:type", Array)
84
+ ], RiskScoreTilesConfigurationComponent.prototype, "nodes", void 0);
85
+ tslib_1.__decorate([
86
+ (0, core_1.Output)(),
87
+ tslib_1.__metadata("design:type", Object)
88
+ ], RiskScoreTilesConfigurationComponent.prototype, "formReady", void 0);
89
+ RiskScoreTilesConfigurationComponent = tslib_1.__decorate([
90
+ (0, core_1.Component)({
91
+ selector: "nui-risk-score-tiles-configuration-component",
92
+ templateUrl: "./risk-score-tiles-configuration.component.html",
93
+ changeDetection: core_1.ChangeDetectionStrategy.OnPush,
94
+ }),
95
+ tslib_1.__param(3, (0, core_1.Inject)(types_1.PIZZAGNA_EVENT_BUS)),
96
+ tslib_1.__metadata("design:paramtypes", [pizzagna_service_1.PizzagnaService,
97
+ core_1.ChangeDetectorRef,
98
+ forms_1.FormBuilder,
99
+ bits_1.EventBus])
100
+ ], RiskScoreTilesConfigurationComponent);
101
+ exports.RiskScoreTilesConfigurationComponent = RiskScoreTilesConfigurationComponent;
102
+ //# sourceMappingURL=risk-score-tiles-configuration.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"risk-score-tiles-configuration.component.js","sourceRoot":"","sources":["../../../../../../../../../../src/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component.ts"],"names":[],"mappings":";AAAA,yD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AM,YAAY,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QAClD,IAAI,CAAC,eAAe,CAAC,4BAA4B,CAC7C,UAAU,EACV,YAAY,CACf,CAAC;QAEF,MAAM,QAAQ,GAAsB;YAChC,WAAW,EAAE,IAAI,CAAC,WAAW;YAC7B,WAAW,EAAE,qBAAa,CAAC,IAAI;YAC/B,YAAY,EAAE,CAAC,OAAO,CAAC;SAC1B,CAAC;QACF,IAAI,CAAC,eAAe,CAAC,WAAW,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC;IACtD,CAAC;IAEM,OAAO;QACV,IAAI,CAAC,aAAa,CAAC;YACf,GAAG,IAAI,CAAC,KAAK;YACb;gBACI,EAAE,EAAE,IAAA,WAAI,EAAC,WAAW,CAAC;gBACrB,aAAa,EAAE,kDAAsB,CAAC,WAAW;aACpD;SACJ,CAAC,CAAC;IACP,CAAC;;AAvDM,gDAAW,GAAG,sCAAsC,CAAC;AAE5D;IAAC,IAAA,YAAK,GAAE;;yEAAqB;AAC7B;IAAC,IAAA,YAAK,GAAE;;mEAA2C;AACnD;IAAC,IAAA,YAAK,GAAE;;mEAAiB;AAEzB;IAAC,IAAA,aAAM,GAAE;;uEAA2C;AAT3C,oCAAoC;IALhD,IAAA,gBAAS,EAAC;QACP,QAAQ,EAAE,8CAA8C;QACxD,WAAW,EAAE,iDAAiD;QAC9D,eAAe,EAAE,8BAAuB,CAAC,MAAM;KAClD,CAAC;IAmBO,mBAAA,IAAA,aAAM,EAAC,0BAAkB,CAAC,CAAA;6CAHH,kCAAe;QAChB,wBAAiB;QACnB,mBAAW;QACc,eAAQ;GAlBjD,oCAAoC,CA2DhD;AA3DY,oFAAoC"}
@@ -0,0 +1,7 @@
1
+ import { IRiskScoreData } from "../../../../components/risk-score-tile/types";
2
+ import { IProviderConfiguration } from "../../../../types";
3
+ import { IItemConfiguration } from "../../types";
4
+ export interface IRiskScoreItemConfiguration extends IItemConfiguration {
5
+ widgetData: IRiskScoreData;
6
+ dataSource: IProviderConfiguration;
7
+ }
@@ -0,0 +1,22 @@
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
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../../../../../src/lib/configurator/components/widgets/risk-score/types.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"}
@@ -66,6 +66,7 @@ const info_message_configuration_component_1 = require("./components/widgets/con
66
66
  const kpi_description_configuration_component_1 = require("./components/widgets/configurator-items/kpi-description-configuration/kpi-description-configuration.component");
67
67
  const refresh_rate_configurator_component_1 = require("./components/widgets/configurator-items/refresher-configuration/refresh-rate-configurator/refresh-rate-configurator.component");
68
68
  const refresher_configuration_component_1 = require("./components/widgets/configurator-items/refresher-configuration/refresher-configuration.component");
69
+ const risk_score_tile_description_configuration_component_1 = require("./components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component");
69
70
  const thresholds_configuration_component_1 = require("./components/widgets/configurator-items/thresholds-configuration/thresholds-configuration.component");
70
71
  const timeseries_metadata_configuration_component_1 = require("./components/widgets/configurator-items/timeseries-metadata-configuration/timeseries-metadata-configuration.component");
71
72
  const title_and_description_configuration_component_1 = require("./components/widgets/configurator-items/title-and-description-configuration/title-and-description-configuration.component");
@@ -77,6 +78,7 @@ const field_mapper_aggregator_configurator_component_1 = require("./components/w
77
78
  const proportional_chart_options_editor_v2_component_1 = require("./components/widgets/proportional/chart-options-editor-v2/proportional-chart-options-editor-v2.component");
78
79
  const proportional_chart_options_editor_component_1 = require("./components/widgets/proportional/chart-options-editor/proportional-chart-options-editor.component");
79
80
  const donut_content_configuration_component_1 = require("./components/widgets/proportional/donut-content-configuration/donut-content-configuration.component");
81
+ const risk_score_tiles_configuration_component_1 = require("./components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component");
80
82
  const description_configuration_v2_component_1 = require("./components/widgets/table/columns-editor-v2/column-configuration/description-configuration/description-configuration-v2.component");
81
83
  const presentation_configuration_v2_component_1 = require("./components/widgets/table/columns-editor-v2/column-configuration/presentation-configuration/presentation-configuration-v2.component");
82
84
  const table_column_configuration_component_1 = require("./components/widgets/table/columns-editor-v2/column-configuration/table-column-configuration/table-column-configuration.component");
@@ -112,6 +114,7 @@ const entryComponents = [
112
114
  data_source_configuration_v2_component_1.DataSourceConfigurationV2Component,
113
115
  data_source_error_component_1.DataSourceErrorComponent,
114
116
  kpi_tiles_configuration_component_1.KpiTilesConfigurationComponent,
117
+ risk_score_tiles_configuration_component_1.RiskScoreTilesConfigurationComponent,
115
118
  embedded_content_configuration_component_1.EmbeddedContentConfigurationComponent,
116
119
  info_message_configuration_component_1.InfoMessageConfigurationComponent,
117
120
  proportional_chart_options_editor_component_1.ProportionalChartOptionsEditorComponent,
@@ -137,6 +140,7 @@ const entryComponents = [
137
140
  raw_formatter_component_1.RawFormatterComponent,
138
141
  percentage_formatter_component_1.PercentageFormatterComponent,
139
142
  kpi_description_configuration_component_1.KpiDescriptionConfigurationComponent,
143
+ risk_score_tile_description_configuration_component_1.RiskScoreTileDescriptionConfigurationComponent,
140
144
  thresholds_configuration_component_1.ThresholdsConfigurationComponent,
141
145
  title_and_description_configuration_component_1.TitleAndDescriptionConfigurationComponent,
142
146
  widget_configurator_section_component_1.WidgetConfiguratorSectionComponent,
@@ -1 +1 @@
1
- {"version":3,"file":"configurator.module.js","sourceRoot":"","sources":["../../../../../../src/lib/configurator/configurator.module.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;;;;AAEjB,4BAA4B;AAC5B,sDAAwD;AACxD,gDAAmD;AACnD,sDAAyD;AACzD,wCAAyC;AACzC,0CAAqD;AACrD,yDAAmD;AAEnD,wCAyBuB;AAEvB,2DAAoE;AACpE,qHAA+G;AAC/G,yGAAoG;AACpG,iEAAgE;AAChE,gGAGyD;AACzD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BAAa;YACb,mCAAiB;YACjB,oBAAa;YACb,oBAAa;YACb,qBAAc;YACd,sBAAe;YACf,uBAAgB;YAChB,uBAAgB;YAChB,yBAAkB;YAClB,sBAAe;YACf,gCAAyB;YACzB,wBAAiB;YACjB,qBAAc;YACd,wBAAiB;YACjB,iCAA0B;YAC1B,wBAAiB;YACjB,qBAAc;YACd,uBAAgB;YAChB,sBAAe;YACf,uBAAgB;YAChB,sBAAe;YACf,sBAAe;YACf,sBAAe;YACf,sBAAe;YACf,qBAAc;SACjB;QACD,YAAY,EAAE,CAAC,GAAG,oBAAoB,CAAC;QACvC,SAAS,EAAE;YACP,0CAAmB;YACnB,uCAA0B;YAC1B,6FAA2C;YAC3C,2CAAmB;YACnB,2CAAmB;YACnB,gDAAqB;YACrB,8DAA4B;YAC5B,mDAAuB;SAC1B;QACD,OAAO,EAAE,oBAAoB;KAChC,CAAC;6CAEiC,qDAAwB;GAD9C,8BAA8B,CAQ1C;AARY,wEAA8B"}
1
+ {"version":3,"file":"configurator.module.js","sourceRoot":"","sources":["../../../../../../src/lib/configurator/configurator.module.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;;;;AAEjB,4BAA4B;AAC5B,sDAAwD;AACxD,gDAAmD;AACnD,sDAAyD;AACzD,wCAAyC;AACzC,0CAAqD;AACrD,yDAAmD;AAEnD,wCAyBuB;AAEvB,2DAAoE;AACpE,qHAA+G;AAC/G,yGAAoG;AACpG,iEAAgE;AAChE,gGAGyD;AACzD,6FAAwF;AACxF,6FAAyF;AACzF,oFAA+E;AAC/E,uFAAkF;AA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,oBAAa;YACb,mCAAiB;YACjB,oBAAa;YACb,oBAAa;YACb,qBAAc;YACd,sBAAe;YACf,uBAAgB;YAChB,uBAAgB;YAChB,yBAAkB;YAClB,sBAAe;YACf,gCAAyB;YACzB,wBAAiB;YACjB,qBAAc;YACd,wBAAiB;YACjB,iCAA0B;YAC1B,wBAAiB;YACjB,qBAAc;YACd,uBAAgB;YAChB,sBAAe;YACf,uBAAgB;YAChB,sBAAe;YACf,sBAAe;YACf,sBAAe;YACf,sBAAe;YACf,qBAAc;SACjB;QACD,YAAY,EAAE,CAAC,GAAG,oBAAoB,CAAC;QACvC,SAAS,EAAE;YACP,0CAAmB;YACnB,uCAA0B;YAC1B,6FAA2C;YAC3C,2CAAmB;YACnB,2CAAmB;YACnB,gDAAqB;YACrB,8DAA4B;YAC5B,mDAAuB;SAC1B;QACD,OAAO,EAAE,oBAAoB;KAChC,CAAC;6CAEiC,qDAAwB;GAD9C,8BAA8B,CAQ1C;AARY,wEAA8B"}
@@ -68,6 +68,8 @@ exports.CHART_PALETTE_CS_S_EXTENDED_ALTERNATIVE_NAMES = [
68
68
  $localize `Ok Light`,
69
69
  $localize `Info`,
70
70
  $localize `Info Light`,
71
+ $localize `Disabled`,
72
+ $localize `Not Applicable`,
71
73
  ];
72
74
  exports.chartPaletteColorMap = (0, zipObject_1.default)([...charts_1.CHART_PALETTE_CS3, ...charts_1.CHART_PALETTE_CS_S_EXTENDED], [
73
75
  ...exports.CHART_PALETTE_CS3_ALTERNATIVE_NAMES,
@@ -1 +1 @@
1
- {"version":3,"file":"default-palette.js","sourceRoot":"","sources":["../../../../../../src/lib/constants/default-palette.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;A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EW,QAAA,oBAAoB,GAA2B,IAAA,mBAAS,EACjE,CAAC,GAAG,0BAAiB,EAAE,GAAG,oCAA2B,CAAC,EACtD;IACI,GAAG,2CAAmC;IACtC,GAAG,qDAA6C;CACnD,CACJ,CAAC;AAEW,QAAA,sBAAsB,GAAG,+BAA+B,CAAC;AACzD,QAAA,6BAA6B,GAAG;IACzC,GAAG,0BAAiB;IACpB,GAAG,oCAA2B;CACjC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;IACd,KAAK;IACL,KAAK,EAAE,4BAAoB,CAAC,KAAK,CAAC;CACrC,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"default-palette.js","sourceRoot":"","sources":["../../../../../../src/lib/constants/default-palette.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;;;;AAEjB,yEAAyC;AAEzC,4CAGyB;AAEZ,QAAA,mCAAmC,GAAG;IAC/C,SAAS,CAAA,MAAM;IACf,SAAS,CAAA,YAAY;IACrB,SAAS,CAAA,WAAW;IACpB,SAAS,CAAA,MAAM;IACf,SAAS,CAAA,YAAY;IACrB,SAAS,CAAA,WAAW;IACpB,SAAS,CAAA,WAAW;IACpB,SAAS,CAAA,iBAAiB;IAC1B,SAAS,CAAA,gBAAgB;IACzB,SAAS,CAAA,QAAQ;IACjB,SAAS,CAAA,cAAc;IACvB,SAAS,CAAA,aAAa;IACtB,SAAS,CAAA,YAAY;IACrB,SAAS,CAAA,kBAAkB;IAC3B,SAAS,CAAA,iBAAiB;IAC1B,SAAS,CAAA,QAAQ;IACjB,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