@nova-ui/dashboards 12.0.39 → 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.
Files changed (114) hide show
  1. package/bundles/nova-ui-dashboards.umd.js +1012 -403
  2. package/bundles/nova-ui-dashboards.umd.js.map +1 -1
  3. package/esm2015/lib/components/public-api.js +2 -1
  4. package/esm2015/lib/components/risk-score-tile/public-api.js +22 -0
  5. package/esm2015/lib/components/risk-score-tile/risk-score-tile.component.js +124 -0
  6. package/esm2015/lib/components/risk-score-tile/types.js +25 -0
  7. package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.js +2 -2
  8. package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.js +2 -2
  9. package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.js +2 -2
  10. package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.js +2 -2
  11. package/esm2015/lib/components/timeseries-widget/timeseries-helpers.js +2 -2
  12. package/esm2015/lib/components/timeseries-widget/timeseries-scales.service.js +16 -5
  13. package/esm2015/lib/configurator/components/widgets/configurator-items/public-api.js +2 -1
  14. package/esm2015/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.js +112 -0
  15. package/esm2015/lib/configurator/components/widgets/public-api.js +2 -1
  16. package/esm2015/lib/configurator/components/widgets/risk-score/public-api.js +22 -0
  17. package/esm2015/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/public-api.js +21 -0
  18. package/esm2015/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component.js +96 -0
  19. package/esm2015/lib/configurator/components/widgets/risk-score/types.js +21 -0
  20. package/esm2015/lib/configurator/configurator.module.js +9 -1
  21. package/esm2015/lib/constants/default-palette.js +3 -1
  22. package/esm2015/lib/dashboards.module.js +19 -7
  23. package/esm2015/lib/services/provider-registry.service.js +8 -3
  24. package/esm2015/lib/services/table-formatter-registry.service.js +12 -1
  25. package/esm2015/lib/services/types.js +2 -1
  26. package/esm2015/lib/widget-types/risk-score/risk-score-configurator.js +201 -0
  27. package/esm2015/lib/widget-types/risk-score/risk-score-widget.js +86 -0
  28. package/esm2015/lib/widget-types/risk-score/risk-score.js +56 -0
  29. package/fesm2015/nova-ui-dashboards.js +687 -96
  30. package/fesm2015/nova-ui-dashboards.js.map +1 -1
  31. package/lib/components/public-api.d.ts +1 -0
  32. package/lib/components/risk-score-tile/public-api.d.ts +2 -0
  33. package/lib/components/risk-score-tile/risk-score-tile.component.d.ts +32 -0
  34. package/lib/components/risk-score-tile/types.d.ts +28 -0
  35. package/lib/components/timeseries-widget/timeseries-helpers.d.ts +1 -1
  36. package/lib/components/timeseries-widget/timeseries-scales.service.d.ts +1 -0
  37. package/lib/configurator/components/widgets/configurator-items/public-api.d.ts +1 -0
  38. package/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.d.ts +26 -0
  39. package/lib/configurator/components/widgets/public-api.d.ts +1 -0
  40. package/lib/configurator/components/widgets/risk-score/public-api.d.ts +2 -0
  41. package/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/public-api.d.ts +1 -0
  42. package/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component.d.ts +32 -0
  43. package/lib/configurator/components/widgets/risk-score/types.d.ts +7 -0
  44. package/lib/configurator/configurator.module.d.ts +67 -65
  45. package/lib/dashboards.module.d.ts +38 -37
  46. package/lib/services/table-formatter-registry.service.d.ts +5 -0
  47. package/lib/services/types.d.ts +1 -0
  48. package/lib/widget-types/risk-score/risk-score-configurator.d.ts +97 -0
  49. package/lib/widget-types/risk-score/risk-score-widget.d.ts +55 -0
  50. package/lib/widget-types/risk-score/risk-score.d.ts +5 -0
  51. package/package.json +3 -3
  52. package/sdk/atoms/src/lib/components/public-api.d.ts +1 -0
  53. package/sdk/atoms/src/lib/components/public-api.js +1 -0
  54. package/sdk/atoms/src/lib/components/public-api.js.map +1 -1
  55. package/sdk/atoms/src/lib/components/risk-score-tile/public-api.d.ts +2 -0
  56. package/sdk/atoms/src/lib/components/risk-score-tile/public-api.js +25 -0
  57. package/sdk/atoms/src/lib/components/risk-score-tile/public-api.js.map +1 -0
  58. package/sdk/atoms/src/lib/components/risk-score-tile/risk-score-tile.component.d.ts +29 -0
  59. package/sdk/atoms/src/lib/components/risk-score-tile/risk-score-tile.component.js +128 -0
  60. package/sdk/atoms/src/lib/components/risk-score-tile/risk-score-tile.component.js.map +1 -0
  61. package/sdk/atoms/src/lib/components/risk-score-tile/types.d.ts +28 -0
  62. package/sdk/atoms/src/lib/components/risk-score-tile/types.js +28 -0
  63. package/sdk/atoms/src/lib/components/risk-score-tile/types.js.map +1 -0
  64. package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-helpers.d.ts +1 -1
  65. package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-helpers.js +1 -1
  66. package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-scales.service.d.ts +1 -0
  67. package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-scales.service.js +15 -4
  68. package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-scales.service.js.map +1 -1
  69. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/public-api.d.ts +1 -0
  70. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/public-api.js +1 -0
  71. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/public-api.js.map +1 -1
  72. 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
  73. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.js +125 -0
  74. 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
  75. package/sdk/atoms/src/lib/configurator/components/widgets/public-api.d.ts +1 -0
  76. package/sdk/atoms/src/lib/configurator/components/widgets/public-api.js +1 -0
  77. package/sdk/atoms/src/lib/configurator/components/widgets/public-api.js.map +1 -1
  78. package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/public-api.d.ts +2 -0
  79. package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/public-api.js +25 -0
  80. package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/public-api.js.map +1 -0
  81. package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/public-api.d.ts +1 -0
  82. package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/public-api.js +24 -0
  83. package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/public-api.js.map +1 -0
  84. package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component.d.ts +29 -0
  85. package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component.js +102 -0
  86. package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component.js.map +1 -0
  87. package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/types.d.ts +7 -0
  88. package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/types.js +22 -0
  89. package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/types.js.map +1 -0
  90. package/sdk/atoms/src/lib/configurator/configurator.module.js +4 -0
  91. package/sdk/atoms/src/lib/configurator/configurator.module.js.map +1 -1
  92. package/sdk/atoms/src/lib/constants/default-palette.js +2 -0
  93. package/sdk/atoms/src/lib/constants/default-palette.js.map +1 -1
  94. package/sdk/atoms/src/lib/dashboards.module.d.ts +2 -2
  95. package/sdk/atoms/src/lib/dashboards.module.js +12 -3
  96. package/sdk/atoms/src/lib/dashboards.module.js.map +1 -1
  97. package/sdk/atoms/src/lib/services/provider-registry.service.js +5 -0
  98. package/sdk/atoms/src/lib/services/provider-registry.service.js.map +1 -1
  99. package/sdk/atoms/src/lib/services/table-formatter-registry.service.d.ts +3 -0
  100. package/sdk/atoms/src/lib/services/table-formatter-registry.service.js +11 -1
  101. package/sdk/atoms/src/lib/services/table-formatter-registry.service.js.map +1 -1
  102. package/sdk/atoms/src/lib/services/types.d.ts +1 -0
  103. package/sdk/atoms/src/lib/services/types.js +3 -2
  104. package/sdk/atoms/src/lib/services/types.js.map +1 -1
  105. package/sdk/atoms/src/lib/widget-types/risk-score/risk-score-configurator.d.ts +97 -0
  106. package/sdk/atoms/src/lib/widget-types/risk-score/risk-score-configurator.js +204 -0
  107. package/sdk/atoms/src/lib/widget-types/risk-score/risk-score-configurator.js.map +1 -0
  108. package/sdk/atoms/src/lib/widget-types/risk-score/risk-score-widget.d.ts +55 -0
  109. package/sdk/atoms/src/lib/widget-types/risk-score/risk-score-widget.js +89 -0
  110. package/sdk/atoms/src/lib/widget-types/risk-score/risk-score-widget.js.map +1 -0
  111. package/sdk/atoms/src/lib/widget-types/risk-score/risk-score.d.ts +5 -0
  112. package/sdk/atoms/src/lib/widget-types/risk-score/risk-score.js +59 -0
  113. package/sdk/atoms/src/lib/widget-types/risk-score/risk-score.js.map +1 -0
  114. package/sdk/locale/messages.en.xlf +115 -8
@@ -575,6 +575,7 @@
575
575
  var NOVA_VIRTUAL_VIEWPORT_MANAGER = "NOVA_VIRTUAL_VIEWPORT_MANAGER";
576
576
  var NOVA_TABLE_FORMATTERS_REGISTRY = "NOVA_TABLE_FORMATTERS_REGISTRY";
577
577
  var NOVA_KPI_FORMATTERS_REGISTRY = "NOVA_KPI_FORMATTERS_REGISTRY";
578
+ var NOVA_RISK_SCORE_FORMATTERS_REGISTRY = "NOVA_RISK_SCORE_FORMATTERS_REGISTRY";
578
579
  var NOVA_PROPORTIONAL_CONTENT_FORMATTERS_REGISTRY = "NOVA_PROPORTIONAL_CONTENT_FORMATTERS_REGISTRY";
579
580
  var NOVA_TEST_REGISTRY = "NOVA_TEST_REGISTRY";
580
581
  var NOVA_CONFIGURATOR_DATA_SOURCE_MANAGER = "NOVA_CONFIGURATOR_DATA_SOURCE_MANAGER";
@@ -3687,6 +3688,19 @@
3687
3688
  type: i0.Injectable,
3688
3689
  args: [{ providedIn: "root" }]
3689
3690
  }], ctorParameters: function () { return [{ type: i3__namespace.LoggerService }]; } });
3691
+ var RiskScoreFormattersRegistryService = /** @class */ (function (_super) {
3692
+ __extends(RiskScoreFormattersRegistryService, _super);
3693
+ function RiskScoreFormattersRegistryService(logger) {
3694
+ return _super.call(this, logger, "RiskScoreFormattersRegistryService") || this;
3695
+ }
3696
+ return RiskScoreFormattersRegistryService;
3697
+ }(FormatterRegistryService));
3698
+ /** @nocollapse */ RiskScoreFormattersRegistryService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: RiskScoreFormattersRegistryService, deps: [{ token: i3__namespace.LoggerService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
3699
+ /** @nocollapse */ RiskScoreFormattersRegistryService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: RiskScoreFormattersRegistryService, providedIn: "root" });
3700
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: RiskScoreFormattersRegistryService, decorators: [{
3701
+ type: i0.Injectable,
3702
+ args: [{ providedIn: "root" }]
3703
+ }], ctorParameters: function () { return [{ type: i3__namespace.LoggerService }]; } });
3690
3704
  var ProportionalDonutContentFormattersRegistryService = /** @class */ (function (_super) {
3691
3705
  __extends(ProportionalDonutContentFormattersRegistryService, _super);
3692
3706
  function ProportionalDonutContentFormattersRegistryService(logger) {
@@ -4054,6 +4068,11 @@
4054
4068
  useExisting: KpiFormattersRegistryService,
4055
4069
  deps: [PizzagnaService],
4056
4070
  },
4071
+ _a[NOVA_RISK_SCORE_FORMATTERS_REGISTRY] = {
4072
+ provide: FORMATTERS_REGISTRY,
4073
+ useExisting: RiskScoreFormattersRegistryService,
4074
+ deps: [PizzagnaService],
4075
+ },
4057
4076
  _a[NOVA_PROPORTIONAL_CONTENT_FORMATTERS_REGISTRY] = {
4058
4077
  provide: FORMATTERS_REGISTRY,
4059
4078
  useExisting: ProportionalDonutContentFormattersRegistryService,
@@ -6206,6 +6225,111 @@
6206
6225
  args: ["gridContainer", { static: true }]
6207
6226
  }] } });
6208
6227
 
6228
+ // © 2023 SolarWinds Worldwide, LLC. All rights reserved.
6229
+ var RiskScoreTileComponent = /** @class */ (function () {
6230
+ function RiskScoreTileComponent(changeDetector, dataSource, eventBus) {
6231
+ this.changeDetector = changeDetector;
6232
+ this.dataSource = dataSource;
6233
+ this.eventBus = eventBus;
6234
+ this.busy = false;
6235
+ this.elementClass = "";
6236
+ this.defaultColor = "var(--nui-color-bg-secondary)";
6237
+ }
6238
+ Object.defineProperty(RiskScoreTileComponent.prototype, "interactive", {
6239
+ get: function () {
6240
+ var _a, _b, _c, _d, _e;
6241
+ return (((((_a = this.configuration) === null || _a === void 0 ? void 0 : _a.interactive) ||
6242
+ ((_d = (_c = (_b = this.dataSource) === null || _b === void 0 ? void 0 : _b.features) === null || _c === void 0 ? void 0 : _c.getFeatureConfig(exports.WellKnownDataSourceFeatures.Interactivity)) === null || _d === void 0 ? void 0 : _d.enabled)) &&
6243
+ !_isNil__default["default"]((_e = this.widgetData) === null || _e === void 0 ? void 0 : _e.value)) ||
6244
+ false);
6245
+ },
6246
+ enumerable: false,
6247
+ configurable: true
6248
+ });
6249
+ RiskScoreTileComponent.prototype.onInteraction = function () {
6250
+ if (!this.interactive) {
6251
+ return;
6252
+ }
6253
+ this.eventBus
6254
+ .getStream(INTERACTION)
6255
+ .next({ payload: { data: this.widgetData } });
6256
+ };
6257
+ RiskScoreTileComponent.prototype.getScaleBroker = function (id) {
6258
+ if (this.syncValuesBroker) {
6259
+ return this.syncValuesBroker.find(function (b) { return b.id === id; });
6260
+ }
6261
+ };
6262
+ RiskScoreTileComponent.prototype.ngOnChanges = function (changes) {
6263
+ var _a;
6264
+ if (changes.configuration) {
6265
+ var formattersConfiguration = changes.configuration.currentValue.formatters;
6266
+ if (formattersConfiguration) {
6267
+ this.formattersProperties = this.getFormatterProperties(formattersConfiguration);
6268
+ }
6269
+ }
6270
+ if (changes.widgetData) {
6271
+ if ((_a = this.configuration) === null || _a === void 0 ? void 0 : _a.formatters) {
6272
+ this.formattersProperties = this.getFormatterProperties(this.configuration.formatters);
6273
+ }
6274
+ }
6275
+ };
6276
+ /**
6277
+ * Iterates over formatters and maps their properties from the data
6278
+ *
6279
+ * @param formattersConfiguration
6280
+ */
6281
+ RiskScoreTileComponent.prototype.getFormatterProperties = function (formattersConfiguration) {
6282
+ var _this = this;
6283
+ var formatterKeys = Object.keys(formattersConfiguration);
6284
+ var formattersProperties = formatterKeys.reduce(function (acc, key) {
6285
+ var _a;
6286
+ var formatterCfg = (_a = formattersConfiguration[key]) === null || _a === void 0 ? void 0 : _a.formatter;
6287
+ if (formatterCfg) {
6288
+ acc[key] = {
6289
+ data: mapDataToFormatterProperties(formatterCfg, _this.widgetData),
6290
+ };
6291
+ }
6292
+ return acc;
6293
+ }, {});
6294
+ return formattersProperties;
6295
+ };
6296
+ return RiskScoreTileComponent;
6297
+ }());
6298
+ RiskScoreTileComponent.lateLoadKey = "RiskScoreTileComponent";
6299
+ /** @nocollapse */ RiskScoreTileComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: RiskScoreTileComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }, { token: DATA_SOURCE, optional: true }, { token: PIZZAGNA_EVENT_BUS }], target: i0__namespace.ɵɵFactoryTarget.Component });
6300
+ /** @nocollapse */ RiskScoreTileComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: RiskScoreTileComponent, selector: "nui-risk-score-tile", inputs: { widgetData: "widgetData", syncValuesBroker: "syncValuesBroker", configuration: "configuration", busy: "busy" }, host: { properties: { "class": "this.elementClass" } }, usesOnChanges: true, ngImport: i0__namespace, template: "<div class=\"w-100 h-100\" nui-busy [busy]=\"busy\">\n <ng-container *ngIf=\"widgetData?.link\">\n <a class=\"nui-risk-score-tile-indicator\" [href]=\"widgetData.link\">\n <ng-container [ngTemplateOutlet]=\"riskScoreContent\"></ng-container>\n </a>\n </ng-container>\n\n <ng-container *ngIf=\"!widgetData?.link\">\n <div class=\"nui-risk-score-tile-indicator\" (click)=\"onInteraction()\">\n <ng-container [ngTemplateOutlet]=\"riskScoreContent\"></ng-container>\n </div>\n </ng-container>\n</div>\n\n<ng-template #riskScoreContent>\n <div\n class=\"nui-risk-score-tile-indicator__background\"\n [class.nui-risk-score-tile-indicator--interactive]=\"interactive\"\n ></div>\n <div\n class=\"nui-risk-score-tile-indicator__text\"\n [ngStyle]=\"{\n color: widgetData?.textColor || defaultColor\n }\"\n >\n <div class=\"nui-risk-score-tile-indicator__zoom-container\">\n <div\n class=\"nui-risk-score-tile-indicator__label\"\n [title]=\"widgetData?.label\"\n >\n <span\n nuiZoomContent\n [useZoom]=\"false\"\n [minScale]=\"0.5\"\n [scaleIN$]=\"getScaleBroker('label')?.out$\"\n [scaleOUT$]=\"getScaleBroker('label')?.in$\"\n >{{ widgetData?.label }}</span\n >\n </div>\n\n <div\n class=\"nui-risk-score-tile-indicator__value\"\n [style.font-size]=\"widgetData?.fontSize\"\n [title]=\"widgetData?.value\"\n >\n <nui-risk-score\n nuiZoomContent\n [useZoom]=\"false\"\n [scaleIN$]=\"getScaleBroker('value')?.out$\"\n [scaleOUT$]=\"getScaleBroker('value')?.in$\"\n class=\"nui-risk-score-tile-indicator__score\"\n [level]=\"widgetData?.value\"\n [minLevel]=\"widgetData?.minValue ?? 0\"\n [maxLevel]=\"widgetData?.maxValue ?? 10\"\n [title]=\"\n widgetData?.useStaticLabel ?? false\n ? widgetData?.staticLabel\n : widgetData?.value\n \"\n ></nui-risk-score>\n </div>\n\n <div\n class=\"nui-risk-score-tile-indicator__description\"\n [title]=\"widgetData?.description\"\n >\n <div\n class=\"nui-risk-score-tile-indicator__description__text\"\n nuiZoomContent\n [useZoom]=\"false\"\n [minScale]=\"0.7\"\n [scaleIN$]=\"getScaleBroker('description')?.out$\"\n [scaleOUT$]=\"getScaleBroker('description')?.in$\"\n >\n <p>{{ widgetData?.description }}</p>\n </div>\n </div>\n </div>\n </div>\n</ng-template>\n", styles: [".nui-risk-score-tile-indicator{position:relative;display:block;height:100%;width:100%;overflow:hidden}.nui-risk-score-tile-indicator__background{height:100%;width:100%;background-color:var(--nui-color-bg-secondary,#fafafa);color:var(--nui-color-text-default,#111)}.nui-risk-score-tile-indicator__text{position:absolute;width:100%;height:100%;top:0;pointer-events:none}.nui-risk-score-tile-indicator__text *>span{filter:invert(1) grayscale(1) contrast(100)}.nui-risk-score-tile-indicator__value{font-size:36px;font-weight:600;margin:auto 20px;min-width:calc(100% - 20px * 2);white-space:nowrap;display:flex;align-items:center;justify-content:center;height:100%;min-height:5px;max-height:200px}.nui-risk-score-tile-indicator__score{min-width:100%}.nui-risk-score-tile-indicator__label{font-size:16px;font-weight:600;min-width:0;margin-top:auto;display:flex;align-items:center;justify-content:center;height:100%;min-height:10px;max-height:45px}.nui-risk-score-tile-indicator__label>span{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis}.nui-risk-score-tile-indicator__description{font-size:13.5px;font-weight:400;min-width:0;margin-bottom:auto;display:flex;align-items:center;justify-content:center;height:100%;min-height:10px;max-height:45px;color:var(--nui-color-text-secondary,rgba(17, 17, 17, .6))}.nui-risk-score-tile-indicator__description__text{white-space:wrap;word-wrap:break-word;word-break:keep-all;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;white-space:pre-wrap}.nui-risk-score-tile-indicator__zoom-container{display:grid;grid-template-columns:1fr;grid-template-rows:30% 40% 30%;width:100%;height:100%}.nui-risk-score-tile-indicator--interactive{cursor:pointer}.nui-risk-score-tile-indicator--interactive:hover{filter:brightness(90%)}\n"], components: [{ type: i3__namespace.BusyComponent, selector: "[nui-busy]", inputs: ["disableTabNavigation", "busy"] }, { type: i3__namespace.RiskScoreComponent, selector: "nui-risk-score", inputs: ["level", "minLevel", "maxLevel", "title"] }], directives: [{ type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i4__namespace.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i3__namespace.ZoomContentDirective, selector: "[nuiZoomContent]", inputs: ["zoomRatio", "minZoomDifference", "useZoom", "margin", "minScale", "maxZoom", "minZoom", "maxScale", "scaleIN$", "scaleOUT$"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
6301
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: RiskScoreTileComponent, decorators: [{
6302
+ type: i0.Component,
6303
+ args: [{
6304
+ selector: "nui-risk-score-tile",
6305
+ templateUrl: "./risk-score-tile.component.html",
6306
+ styleUrls: ["./risk-score-tile.component.less"],
6307
+ encapsulation: i0.ViewEncapsulation.Emulated,
6308
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
6309
+ }]
6310
+ }], ctorParameters: function () {
6311
+ return [{ type: i0__namespace.ChangeDetectorRef }, { type: undefined, decorators: [{
6312
+ type: i0.Optional
6313
+ }, {
6314
+ type: i0.Inject,
6315
+ args: [DATA_SOURCE]
6316
+ }] }, { type: i3__namespace.EventBus, decorators: [{
6317
+ type: i0.Inject,
6318
+ args: [PIZZAGNA_EVENT_BUS]
6319
+ }] }];
6320
+ }, propDecorators: { widgetData: [{
6321
+ type: i0.Input
6322
+ }], syncValuesBroker: [{
6323
+ type: i0.Input
6324
+ }], configuration: [{
6325
+ type: i0.Input
6326
+ }], busy: [{
6327
+ type: i0.Input
6328
+ }], elementClass: [{
6329
+ type: i0.HostBinding,
6330
+ args: ["class"]
6331
+ }] } });
6332
+
6209
6333
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
6210
6334
  var DelayedMousePresenceDetectionDirective = /** @class */ (function () {
6211
6335
  function DelayedMousePresenceDetectionDirective() {
@@ -7145,7 +7269,7 @@
7145
7269
  type === exports.TimeseriesChartTypes.event ||
7146
7270
  type === exports.TimeseriesChartTypes.multi);
7147
7271
  }
7148
- var SUMMARY_LEGEND_BCG_COLOR = "var(--nui-color-brand-six)";
7272
+ var SUMMARY_LEGEND_BCG_COLOR = "var(--nui-color-chart-sum)";
7149
7273
  var SUMMARY_LEGEND_COLOR = "var(--nui-color-text-light)";
7150
7274
 
7151
7275
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
@@ -7292,10 +7416,17 @@
7292
7416
  if (((_f = scaleConfig.properties) === null || _f === void 0 ? void 0 : _f.axisUnits) !== "percent" &&
7293
7417
  ((_g = scaleConfig.properties) === null || _g === void 0 ? void 0 : _g.domain) &&
7294
7418
  scale.setFixDomainValues) {
7295
- var domainAdjusted = (widgetConfig === null || widgetConfig === void 0 ? void 0 : widgetConfig.preset) ===
7296
- exports.TimeseriesChartPreset.StackedBar
7297
- ? this.getStackedBarScaleDomain(scaleConfig.properties.domain)
7298
- : this.getLineScaleDomain(scaleConfig.properties.domain);
7419
+ var domainAdjusted = void 0;
7420
+ switch (widgetConfig === null || widgetConfig === void 0 ? void 0 : widgetConfig.preset) {
7421
+ case exports.TimeseriesChartPreset.StackedBar:
7422
+ domainAdjusted = this.getStackedBarScaleDomain(scaleConfig.properties.domain);
7423
+ break;
7424
+ case exports.TimeseriesChartPreset.StackedArea:
7425
+ domainAdjusted = this.getStackedAreaScaleDomain(scaleConfig.properties.domain.max);
7426
+ break;
7427
+ default:
7428
+ domainAdjusted = this.getLineScaleDomain(scaleConfig.properties.domain);
7429
+ }
7299
7430
  scale.setFixDomainValues(domainAdjusted);
7300
7431
  }
7301
7432
  break;
@@ -7347,6 +7478,10 @@
7347
7478
  max,
7348
7479
  ]);
7349
7480
  };
7481
+ TimeseriesScalesService.prototype.getStackedAreaScaleDomain = function (max) {
7482
+ var point = max / 4;
7483
+ return [0, point, point * 2, max - point, max];
7484
+ };
7350
7485
  return TimeseriesScalesService;
7351
7486
  }());
7352
7487
  /** @nocollapse */ TimeseriesScalesService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: TimeseriesScalesService, deps: [{ token: i3__namespace.UnitConversionService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
@@ -8279,12 +8414,12 @@
8279
8414
  _this.transformers = new Map([
8280
8415
  [
8281
8416
  exports.TimeseriesTransformer.None,
8282
- { displayName: $localize(templateObject_1$z || (templateObject_1$z = __makeTemplateObject(["None"], ["None"]))), transformer: undefined },
8417
+ { displayName: $localize(templateObject_1$B || (templateObject_1$B = __makeTemplateObject(["None"], ["None"]))), transformer: undefined },
8283
8418
  ],
8284
8419
  [
8285
8420
  exports.TimeseriesTransformer.ChangePoint,
8286
8421
  {
8287
- displayName: $localize(templateObject_2$o || (templateObject_2$o = __makeTemplateObject(["Change Point"], ["Change Point"]))),
8422
+ displayName: $localize(templateObject_2$p || (templateObject_2$p = __makeTemplateObject(["Change Point"], ["Change Point"]))),
8288
8423
  transformer: transformChangePoint,
8289
8424
  },
8290
8425
  ],
@@ -8571,7 +8706,7 @@
8571
8706
  args: [DATA_SOURCE]
8572
8707
  }] }, { type: TimeseriesScalesService }, { type: i0__namespace.ChangeDetectorRef }];
8573
8708
  } });
8574
- var templateObject_1$z, templateObject_2$o, templateObject_3$i, templateObject_4$d, templateObject_5$9, templateObject_6$7, templateObject_7$5, templateObject_8$3, templateObject_9$2, templateObject_10$2;
8709
+ var templateObject_1$B, templateObject_2$p, templateObject_3$i, templateObject_4$d, templateObject_5$9, templateObject_6$7, templateObject_7$5, templateObject_8$3, templateObject_9$2, templateObject_10$2;
8575
8710
 
8576
8711
  var LineChartComponent = /** @class */ (function (_super) {
8577
8712
  __extends(LineChartComponent, _super);
@@ -8594,7 +8729,7 @@
8594
8729
  }(XYChartComponent));
8595
8730
  LineChartComponent.lateLoadKey = "LineChartComponent";
8596
8731
  /** @nocollapse */ LineChartComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: LineChartComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: DATA_SOURCE, optional: true }, { token: TimeseriesScalesService }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
8597
- /** @nocollapse */ LineChartComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: LineChartComponent, selector: "nui-line-chart", usesInheritance: true, ngImport: i0__namespace, template: "<div\n class=\"nui-chart-layout h-100\"\n [class.layout-fixed]=\"configuration.gridConfig?.fixedLayout\"\n>\n <div\n *ngIf=\"!configuration.gridConfig?.hideYAxisLabel\"\n class=\"axis-label-left nui-text-small\"\n >\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"\n ></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\"\n >\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \"\n >\n <nui-legend-series\n *ngIf=\"widgetData.summarySerie && summarySerie\"\n [interactive]=\"false\"\n (mouseenter)=\"chartAssist.resetVisibleSeries()\"\n >\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n summarySerie,\n 'y',\n 'tick'\n )\n \"\n [backgroundColor]=\"summaryLegendBcgColor\"\n [color]=\"summaryLegendColor\"\n >\n </nui-rich-legend-tile>\n\n <div description class=\"description-container\">\n <div class=\"description-text nui-text-small\">\n <div\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n [title]=\"summarySerie.legendDescriptionPrimary\"\n >\n {{ summarySerie.legendDescriptionPrimary }}\n </div>\n\n <div\n class=\"description description-secondary\"\n [title]=\"summarySerie.legendDescriptionSecondary\"\n >\n {{ summarySerie.legendDescriptionSecondary }}\n </div>\n </div>\n </div>\n\n <button\n nui-button\n legendMenu\n icon=\"remove\"\n type=\"button\"\n displayStyle=\"action\"\n *ngIf=\"displayDeleteButton()\"\n (click)=\"removeMetric(summarySerie.id)\"\n displayStyle=\"action\"\n ></button>\n </nui-legend-series>\n\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n >\n <nui-rich-legend-tile\n [value]=\"getLegendValue(legendSeries, valueAccessorKey)\"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \"\n >\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \"\n >\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div\n description\n class=\"description-container d-flex nui-text-small justify-content-center\"\n >\n <div class=\"descriptions\">\n <div\n *ngIf=\"!legendSeries.link\"\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.link\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n <div\n class=\"description description-secondary\"\n *ngIf=\"\n !legendSeries.secondaryLink &&\n !widgetData.summarySerie\n \"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"\n legendSeries.secondaryLink &&\n !widgetData.summarySerie\n \"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n </div>\n <nui-icon\n *ngIf=\"legendSeries.realtime\"\n icon=\"fast-poll\"\n iconColor=\"primary-blue\"\n ></nui-icon>\n <nui-icon\n *ngIf=\"legendSeries.transformer\"\n icon=\"performance\"\n iconColor=\"primary-blue\"\n ></nui-icon>\n </div>\n <nui-menu\n legendMenu\n *ngIf=\"displayLegendMenu()\"\n icon=\"menu\"\n displayStyle=\"action\"\n [appendToBody]=\"true\"\n >\n <nui-menu-group>\n <nui-menu-action\n i18n\n (actionDone)=\"removeMetric(legendSeries.id)\"\n >Remove</nui-menu-action\n >\n </nui-menu-group>\n <nui-menu-group header=\"Display Transforms\" i18n-header>\n <nui-menu-action\n *ngFor=\"let tr of transformers | nuiMapKeyValue\"\n [class.selected]=\"\n legendSeries.transformer?.name ===\n tr.value.transformer?.name\n \"\n (actionDone)=\"\n transformData(legendSeries.id, tr.key)\n \"\n >\n {{ tr.value.displayName }}\n </nui-menu-action>\n </nui-menu-group>\n </nui-menu>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#0079aa)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}.layout-fixed .legend{max-width:250px;min-width:250px;padding-left:8px!important}.layout-fixed .legend nui-legend{margin:0!important;width:100%}nui-legend-series{width:100%}nui-legend-series:hover{background-color:#f2f2f2;cursor:pointer}nui-icon{padding:0 5px;align-items:center}:host ::ng-deep div:has(> .description-container){flex-grow:1;overflow:hidden}:host ::ng-deep div:has(> .description-container) .descriptions{overflow:hidden}.selected{background-color:#00c4d21a}.selected:hover{background-color:#00c4d233}\n"], components: [{ type: i2__namespace.ChartComponent, selector: "nui-chart", inputs: ["chart"] }, { type: i2__namespace.LegendComponent, selector: "nui-legend", inputs: ["active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { type: i2__namespace.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["isSelected", "active", "interactive", "seriesRenderState", "icon", "descriptionPrimary", "descriptionSecondary", "color"], outputs: ["isSelectedChange"] }, { type: i2__namespace.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "backgroundColor", "value", "color"] }, { type: i3__namespace.ButtonComponent, selector: "[nui-button]", inputs: ["ariaLabel", "isRepeat", "iconColor", "size", "displayStyle", "icon", "iconRight", "isBusy", "isEmpty"] }, { type: i2__namespace.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["maxSize", "marker", "drawLine", "color"] }, { type: i3__namespace.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3__namespace.MenuComponent, selector: "nui-menu", inputs: ["icon", "widthOfPopup", "contextClass", "appendToBody", "ariaLabel", "title", "size", "displayStyle", "isDisabled", "itemsSource"], outputs: ["blurred"] }, { type: i3__namespace.MenuGroupComponent, selector: "nui-menu-group", inputs: ["header"] }, { type: i3__namespace.MenuActionComponent, selector: "nui-menu-action", inputs: ["icon", "type"] }], directives: [{ type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { type: i4__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "nuiMapKeyValue": i3__namespace.MapKeyValuePipe } });
8732
+ /** @nocollapse */ LineChartComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: LineChartComponent, selector: "nui-line-chart", usesInheritance: true, ngImport: i0__namespace, template: "<div\n class=\"nui-chart-layout h-100\"\n [class.layout-fixed]=\"configuration.gridConfig?.fixedLayout\"\n>\n <div\n *ngIf=\"!configuration.gridConfig?.hideYAxisLabel\"\n class=\"axis-label-left nui-text-small\"\n >\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"\n ></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\"\n >\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \"\n >\n <nui-legend-series\n *ngIf=\"widgetData.summarySerie && summarySerie\"\n class=\"summary-serie\"\n [interactive]=\"false\"\n (mouseenter)=\"chartAssist.resetVisibleSeries()\"\n >\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n summarySerie,\n 'y',\n 'tick'\n )\n \"\n [backgroundColor]=\"summaryLegendBcgColor\"\n [color]=\"summaryLegendColor\"\n >\n </nui-rich-legend-tile>\n\n <div description class=\"description-container\">\n <div class=\"description-text nui-text-small\">\n <div\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n [title]=\"summarySerie.legendDescriptionPrimary\"\n >\n {{ summarySerie.legendDescriptionPrimary }}\n </div>\n\n <div\n class=\"description description-secondary\"\n [title]=\"summarySerie.legendDescriptionSecondary\"\n >\n {{ summarySerie.legendDescriptionSecondary }}\n </div>\n </div>\n </div>\n\n <button\n nui-button\n legendMenu\n icon=\"remove\"\n type=\"button\"\n displayStyle=\"action\"\n *ngIf=\"displayDeleteButton()\"\n (click)=\"removeMetric(summarySerie.id)\"\n displayStyle=\"action\"\n ></button>\n </nui-legend-series>\n\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n >\n <nui-rich-legend-tile\n [value]=\"getLegendValue(legendSeries, valueAccessorKey)\"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \"\n >\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \"\n >\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div\n description\n class=\"description-container d-flex nui-text-small justify-content-center\"\n >\n <div class=\"descriptions\">\n <div\n *ngIf=\"!legendSeries.link\"\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.link\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n <div\n class=\"description description-secondary\"\n *ngIf=\"\n !legendSeries.secondaryLink &&\n !widgetData.summarySerie\n \"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"\n legendSeries.secondaryLink &&\n !widgetData.summarySerie\n \"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n </div>\n <nui-icon\n *ngIf=\"legendSeries.realtime\"\n icon=\"fast-poll\"\n iconColor=\"primary-blue\"\n ></nui-icon>\n <nui-icon\n *ngIf=\"legendSeries.transformer\"\n icon=\"performance\"\n iconColor=\"primary-blue\"\n ></nui-icon>\n </div>\n <nui-menu\n legendMenu\n *ngIf=\"displayLegendMenu()\"\n icon=\"menu\"\n displayStyle=\"action\"\n [appendToBody]=\"true\"\n >\n <nui-menu-group>\n <nui-menu-action\n i18n\n (actionDone)=\"removeMetric(legendSeries.id)\"\n >Remove</nui-menu-action\n >\n </nui-menu-group>\n <nui-menu-group header=\"Display Transforms\" i18n-header>\n <nui-menu-action\n *ngFor=\"let tr of transformers | nuiMapKeyValue\"\n [class.selected]=\"\n legendSeries.transformer?.name ===\n tr.value.transformer?.name\n \"\n (actionDone)=\"\n transformData(legendSeries.id, tr.key)\n \"\n >\n {{ tr.value.displayName }}\n </nui-menu-action>\n </nui-menu-group>\n </nui-menu>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#0079aa)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}.layout-fixed .legend{max-width:250px;min-width:250px;padding-left:8px!important}.layout-fixed .legend nui-legend{margin:0!important;width:100%}nui-legend-series{width:100%}nui-legend-series:hover{background-color:#f2f2f2;cursor:pointer}nui-icon{padding:0 5px;align-items:center}.selected{background-color:#00c4d21a}.selected:hover{background-color:#00c4d233}:host ::ng-deep div:has(> .description-container){flex-grow:1;overflow:hidden}:host ::ng-deep div:has(> .description-container) .descriptions{overflow:hidden}:host ::ng-deep nui-legend[ng-reflect-active=true] .summary-serie .nui-rich-legend-tile__tilebox{color:#111!important}\n"], components: [{ type: i2__namespace.ChartComponent, selector: "nui-chart", inputs: ["chart"] }, { type: i2__namespace.LegendComponent, selector: "nui-legend", inputs: ["active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { type: i2__namespace.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["isSelected", "active", "interactive", "seriesRenderState", "icon", "descriptionPrimary", "descriptionSecondary", "color"], outputs: ["isSelectedChange"] }, { type: i2__namespace.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "backgroundColor", "value", "color"] }, { type: i3__namespace.ButtonComponent, selector: "[nui-button]", inputs: ["ariaLabel", "isRepeat", "iconColor", "size", "displayStyle", "icon", "iconRight", "isBusy", "isEmpty"] }, { type: i2__namespace.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["maxSize", "marker", "drawLine", "color"] }, { type: i3__namespace.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3__namespace.MenuComponent, selector: "nui-menu", inputs: ["icon", "widthOfPopup", "contextClass", "appendToBody", "ariaLabel", "title", "size", "displayStyle", "isDisabled", "itemsSource"], outputs: ["blurred"] }, { type: i3__namespace.MenuGroupComponent, selector: "nui-menu-group", inputs: ["header"] }, { type: i3__namespace.MenuActionComponent, selector: "nui-menu-action", inputs: ["icon", "type"] }], directives: [{ type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { type: i4__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "nuiMapKeyValue": i3__namespace.MapKeyValuePipe } });
8598
8733
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: LineChartComponent, decorators: [{
8599
8734
  type: i0.Component,
8600
8735
  args: [{
@@ -8642,7 +8777,7 @@
8642
8777
  }(XYChartComponent));
8643
8778
  StackedAreaChartComponent.lateLoadKey = "StackedAreaChartComponent";
8644
8779
  /** @nocollapse */ StackedAreaChartComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: StackedAreaChartComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: DATA_SOURCE, optional: true }, { token: TimeseriesScalesService }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
8645
- /** @nocollapse */ StackedAreaChartComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: StackedAreaChartComponent, selector: "nui-stacked-area-chart", usesInheritance: true, ngImport: i0__namespace, template: "<div\n class=\"nui-chart-layout h-100\"\n [class.layout-fixed]=\"configuration.gridConfig?.fixedLayout\"\n>\n <div\n *ngIf=\"!configuration.gridConfig?.hideYAxisLabel\"\n class=\"axis-label-left nui-text-small\"\n >\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"\n ></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\"\n >\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \"\n >\n <nui-legend-series\n *ngIf=\"widgetData.summarySerie && summarySerie\"\n [interactive]=\"false\"\n (mouseenter)=\"chartAssist.resetVisibleSeries()\"\n >\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n summarySerie,\n 'y',\n 'tick'\n )\n \"\n [backgroundColor]=\"summaryLegendBcgColor\"\n [color]=\"summaryLegendColor\"\n >\n </nui-rich-legend-tile>\n\n <div description class=\"description-container\">\n <div class=\"description-text nui-text-small\">\n <div\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n [title]=\"summarySerie.legendDescriptionPrimary\"\n >\n {{ summarySerie.legendDescriptionPrimary }}\n </div>\n\n <div\n class=\"description description-secondary\"\n [title]=\"summarySerie.legendDescriptionSecondary\"\n >\n {{ summarySerie.legendDescriptionSecondary }}\n </div>\n </div>\n </div>\n\n <button\n nui-button\n legendMenu\n icon=\"remove\"\n type=\"button\"\n displayStyle=\"action\"\n *ngIf=\"displayDeleteButton()\"\n (click)=\"removeMetric(summarySerie.id)\"\n displayStyle=\"action\"\n ></button>\n </nui-legend-series>\n\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n >\n <nui-rich-legend-tile\n [value]=\"getLegendValue(legendSeries, valueAccessorKey)\"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \"\n >\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \"\n >\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div\n description\n class=\"description-container d-flex nui-text-small justify-content-center\"\n >\n <div class=\"descriptions\">\n <div\n *ngIf=\"!legendSeries.link\"\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.link\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n <div\n class=\"description description-secondary\"\n *ngIf=\"\n !legendSeries.secondaryLink &&\n !widgetData.summarySerie\n \"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"\n legendSeries.secondaryLink &&\n !widgetData.summarySerie\n \"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n </div>\n <nui-icon\n *ngIf=\"legendSeries.realtime\"\n icon=\"fast-poll\"\n iconColor=\"primary-blue\"\n ></nui-icon>\n <nui-icon\n *ngIf=\"legendSeries.transformer\"\n icon=\"performance\"\n iconColor=\"primary-blue\"\n ></nui-icon>\n </div>\n <nui-menu\n legendMenu\n *ngIf=\"displayLegendMenu()\"\n icon=\"menu\"\n displayStyle=\"action\"\n [appendToBody]=\"true\"\n >\n <nui-menu-group>\n <nui-menu-action\n i18n\n (actionDone)=\"removeMetric(legendSeries.id)\"\n >Remove</nui-menu-action\n >\n </nui-menu-group>\n <nui-menu-group header=\"Display Transforms\" i18n-header>\n <nui-menu-action\n *ngFor=\"let tr of transformers | nuiMapKeyValue\"\n [class.selected]=\"\n legendSeries.transformer?.name ===\n tr.value.transformer?.name\n \"\n (actionDone)=\"\n transformData(legendSeries.id, tr.key)\n \"\n >\n {{ tr.value.displayName }}\n </nui-menu-action>\n </nui-menu-group>\n </nui-menu>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#0079aa)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}.layout-fixed .legend{max-width:250px;min-width:250px;padding-left:8px!important}.layout-fixed .legend nui-legend{margin:0!important;width:100%}nui-legend-series{width:100%}nui-legend-series:hover{background-color:#f2f2f2;cursor:pointer}nui-icon{padding:0 5px;align-items:center}:host ::ng-deep div:has(> .description-container){flex-grow:1;overflow:hidden}:host ::ng-deep div:has(> .description-container) .descriptions{overflow:hidden}.selected{background-color:#00c4d21a}.selected:hover{background-color:#00c4d233}\n"], components: [{ type: i2__namespace.ChartComponent, selector: "nui-chart", inputs: ["chart"] }, { type: i2__namespace.LegendComponent, selector: "nui-legend", inputs: ["active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { type: i2__namespace.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["isSelected", "active", "interactive", "seriesRenderState", "icon", "descriptionPrimary", "descriptionSecondary", "color"], outputs: ["isSelectedChange"] }, { type: i2__namespace.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "backgroundColor", "value", "color"] }, { type: i3__namespace.ButtonComponent, selector: "[nui-button]", inputs: ["ariaLabel", "isRepeat", "iconColor", "size", "displayStyle", "icon", "iconRight", "isBusy", "isEmpty"] }, { type: i2__namespace.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["maxSize", "marker", "drawLine", "color"] }, { type: i3__namespace.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3__namespace.MenuComponent, selector: "nui-menu", inputs: ["icon", "widthOfPopup", "contextClass", "appendToBody", "ariaLabel", "title", "size", "displayStyle", "isDisabled", "itemsSource"], outputs: ["blurred"] }, { type: i3__namespace.MenuGroupComponent, selector: "nui-menu-group", inputs: ["header"] }, { type: i3__namespace.MenuActionComponent, selector: "nui-menu-action", inputs: ["icon", "type"] }], directives: [{ type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { type: i4__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "nuiMapKeyValue": i3__namespace.MapKeyValuePipe } });
8780
+ /** @nocollapse */ StackedAreaChartComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: StackedAreaChartComponent, selector: "nui-stacked-area-chart", usesInheritance: true, ngImport: i0__namespace, template: "<div\n class=\"nui-chart-layout h-100\"\n [class.layout-fixed]=\"configuration.gridConfig?.fixedLayout\"\n>\n <div\n *ngIf=\"!configuration.gridConfig?.hideYAxisLabel\"\n class=\"axis-label-left nui-text-small\"\n >\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"\n ></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\"\n >\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \"\n >\n <nui-legend-series\n *ngIf=\"widgetData.summarySerie && summarySerie\"\n class=\"summary-serie\"\n [interactive]=\"false\"\n (mouseenter)=\"chartAssist.resetVisibleSeries()\"\n >\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n summarySerie,\n 'y',\n 'tick'\n )\n \"\n [backgroundColor]=\"summaryLegendBcgColor\"\n [color]=\"summaryLegendColor\"\n >\n </nui-rich-legend-tile>\n\n <div description class=\"description-container\">\n <div class=\"description-text nui-text-small\">\n <div\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n [title]=\"summarySerie.legendDescriptionPrimary\"\n >\n {{ summarySerie.legendDescriptionPrimary }}\n </div>\n\n <div\n class=\"description description-secondary\"\n [title]=\"summarySerie.legendDescriptionSecondary\"\n >\n {{ summarySerie.legendDescriptionSecondary }}\n </div>\n </div>\n </div>\n\n <button\n nui-button\n legendMenu\n icon=\"remove\"\n type=\"button\"\n displayStyle=\"action\"\n *ngIf=\"displayDeleteButton()\"\n (click)=\"removeMetric(summarySerie.id)\"\n displayStyle=\"action\"\n ></button>\n </nui-legend-series>\n\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n >\n <nui-rich-legend-tile\n [value]=\"getLegendValue(legendSeries, valueAccessorKey)\"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \"\n >\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \"\n >\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div\n description\n class=\"description-container d-flex nui-text-small justify-content-center\"\n >\n <div class=\"descriptions\">\n <div\n *ngIf=\"!legendSeries.link\"\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.link\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n <div\n class=\"description description-secondary\"\n *ngIf=\"\n !legendSeries.secondaryLink &&\n !widgetData.summarySerie\n \"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"\n legendSeries.secondaryLink &&\n !widgetData.summarySerie\n \"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n </div>\n <nui-icon\n *ngIf=\"legendSeries.realtime\"\n icon=\"fast-poll\"\n iconColor=\"primary-blue\"\n ></nui-icon>\n <nui-icon\n *ngIf=\"legendSeries.transformer\"\n icon=\"performance\"\n iconColor=\"primary-blue\"\n ></nui-icon>\n </div>\n <nui-menu\n legendMenu\n *ngIf=\"displayLegendMenu()\"\n icon=\"menu\"\n displayStyle=\"action\"\n [appendToBody]=\"true\"\n >\n <nui-menu-group>\n <nui-menu-action\n i18n\n (actionDone)=\"removeMetric(legendSeries.id)\"\n >Remove</nui-menu-action\n >\n </nui-menu-group>\n <nui-menu-group header=\"Display Transforms\" i18n-header>\n <nui-menu-action\n *ngFor=\"let tr of transformers | nuiMapKeyValue\"\n [class.selected]=\"\n legendSeries.transformer?.name ===\n tr.value.transformer?.name\n \"\n (actionDone)=\"\n transformData(legendSeries.id, tr.key)\n \"\n >\n {{ tr.value.displayName }}\n </nui-menu-action>\n </nui-menu-group>\n </nui-menu>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#0079aa)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}.layout-fixed .legend{max-width:250px;min-width:250px;padding-left:8px!important}.layout-fixed .legend nui-legend{margin:0!important;width:100%}nui-legend-series{width:100%}nui-legend-series:hover{background-color:#f2f2f2;cursor:pointer}nui-icon{padding:0 5px;align-items:center}.selected{background-color:#00c4d21a}.selected:hover{background-color:#00c4d233}:host ::ng-deep div:has(> .description-container){flex-grow:1;overflow:hidden}:host ::ng-deep div:has(> .description-container) .descriptions{overflow:hidden}:host ::ng-deep nui-legend[ng-reflect-active=true] .summary-serie .nui-rich-legend-tile__tilebox{color:#111!important}\n"], components: [{ type: i2__namespace.ChartComponent, selector: "nui-chart", inputs: ["chart"] }, { type: i2__namespace.LegendComponent, selector: "nui-legend", inputs: ["active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { type: i2__namespace.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["isSelected", "active", "interactive", "seriesRenderState", "icon", "descriptionPrimary", "descriptionSecondary", "color"], outputs: ["isSelectedChange"] }, { type: i2__namespace.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "backgroundColor", "value", "color"] }, { type: i3__namespace.ButtonComponent, selector: "[nui-button]", inputs: ["ariaLabel", "isRepeat", "iconColor", "size", "displayStyle", "icon", "iconRight", "isBusy", "isEmpty"] }, { type: i2__namespace.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["maxSize", "marker", "drawLine", "color"] }, { type: i3__namespace.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3__namespace.MenuComponent, selector: "nui-menu", inputs: ["icon", "widthOfPopup", "contextClass", "appendToBody", "ariaLabel", "title", "size", "displayStyle", "isDisabled", "itemsSource"], outputs: ["blurred"] }, { type: i3__namespace.MenuGroupComponent, selector: "nui-menu-group", inputs: ["header"] }, { type: i3__namespace.MenuActionComponent, selector: "nui-menu-action", inputs: ["icon", "type"] }], directives: [{ type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { type: i4__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "nuiMapKeyValue": i3__namespace.MapKeyValuePipe } });
8646
8781
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: StackedAreaChartComponent, decorators: [{
8647
8782
  type: i0.Component,
8648
8783
  args: [{
@@ -8705,7 +8840,7 @@
8705
8840
  }(XYChartComponent));
8706
8841
  StackedBarChartComponent.lateLoadKey = "StackedBarChartComponent";
8707
8842
  /** @nocollapse */ StackedBarChartComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: StackedBarChartComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: DATA_SOURCE, optional: true }, { token: TimeseriesScalesService }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
8708
- /** @nocollapse */ StackedBarChartComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: StackedBarChartComponent, selector: "nui-stacked-bar-chart", usesInheritance: true, ngImport: i0__namespace, template: "<div\n class=\"nui-chart-layout h-100\"\n [class.layout-fixed]=\"configuration.gridConfig?.fixedLayout\"\n>\n <div\n *ngIf=\"!configuration.gridConfig?.hideYAxisLabel\"\n class=\"axis-label-left nui-text-small\"\n >\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"\n ></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\"\n >\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \"\n >\n <nui-legend-series\n *ngIf=\"widgetData.summarySerie && summarySerie\"\n [interactive]=\"false\"\n (mouseenter)=\"chartAssist.resetVisibleSeries()\"\n >\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n summarySerie,\n 'y',\n 'tick'\n )\n \"\n [backgroundColor]=\"summaryLegendBcgColor\"\n [color]=\"summaryLegendColor\"\n >\n </nui-rich-legend-tile>\n\n <div description class=\"description-container\">\n <div class=\"description-text nui-text-small\">\n <div\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n [title]=\"summarySerie.legendDescriptionPrimary\"\n >\n {{ summarySerie.legendDescriptionPrimary }}\n </div>\n\n <div\n class=\"description description-secondary\"\n [title]=\"summarySerie.legendDescriptionSecondary\"\n >\n {{ summarySerie.legendDescriptionSecondary }}\n </div>\n </div>\n </div>\n\n <button\n nui-button\n legendMenu\n icon=\"remove\"\n type=\"button\"\n displayStyle=\"action\"\n *ngIf=\"displayDeleteButton()\"\n (click)=\"removeMetric(summarySerie.id)\"\n displayStyle=\"action\"\n ></button>\n </nui-legend-series>\n\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n >\n <nui-rich-legend-tile\n [value]=\"getLegendValue(legendSeries, valueAccessorKey)\"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \"\n >\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \"\n >\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div\n description\n class=\"description-container d-flex nui-text-small justify-content-center\"\n >\n <div class=\"descriptions\">\n <div\n *ngIf=\"!legendSeries.link\"\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.link\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n <div\n class=\"description description-secondary\"\n *ngIf=\"\n !legendSeries.secondaryLink &&\n !widgetData.summarySerie\n \"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"\n legendSeries.secondaryLink &&\n !widgetData.summarySerie\n \"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n </div>\n <nui-icon\n *ngIf=\"legendSeries.realtime\"\n icon=\"fast-poll\"\n iconColor=\"primary-blue\"\n ></nui-icon>\n <nui-icon\n *ngIf=\"legendSeries.transformer\"\n icon=\"performance\"\n iconColor=\"primary-blue\"\n ></nui-icon>\n </div>\n <nui-menu\n legendMenu\n *ngIf=\"displayLegendMenu()\"\n icon=\"menu\"\n displayStyle=\"action\"\n [appendToBody]=\"true\"\n >\n <nui-menu-group>\n <nui-menu-action\n i18n\n (actionDone)=\"removeMetric(legendSeries.id)\"\n >Remove</nui-menu-action\n >\n </nui-menu-group>\n <nui-menu-group header=\"Display Transforms\" i18n-header>\n <nui-menu-action\n *ngFor=\"let tr of transformers | nuiMapKeyValue\"\n [class.selected]=\"\n legendSeries.transformer?.name ===\n tr.value.transformer?.name\n \"\n (actionDone)=\"\n transformData(legendSeries.id, tr.key)\n \"\n >\n {{ tr.value.displayName }}\n </nui-menu-action>\n </nui-menu-group>\n </nui-menu>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#0079aa)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}.layout-fixed .legend{max-width:250px;min-width:250px;padding-left:8px!important}.layout-fixed .legend nui-legend{margin:0!important;width:100%}nui-legend-series{width:100%}nui-legend-series:hover{background-color:#f2f2f2;cursor:pointer}nui-icon{padding:0 5px;align-items:center}:host ::ng-deep div:has(> .description-container){flex-grow:1;overflow:hidden}:host ::ng-deep div:has(> .description-container) .descriptions{overflow:hidden}.selected{background-color:#00c4d21a}.selected:hover{background-color:#00c4d233}\n"], components: [{ type: i2__namespace.ChartComponent, selector: "nui-chart", inputs: ["chart"] }, { type: i2__namespace.LegendComponent, selector: "nui-legend", inputs: ["active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { type: i2__namespace.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["isSelected", "active", "interactive", "seriesRenderState", "icon", "descriptionPrimary", "descriptionSecondary", "color"], outputs: ["isSelectedChange"] }, { type: i2__namespace.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "backgroundColor", "value", "color"] }, { type: i3__namespace.ButtonComponent, selector: "[nui-button]", inputs: ["ariaLabel", "isRepeat", "iconColor", "size", "displayStyle", "icon", "iconRight", "isBusy", "isEmpty"] }, { type: i2__namespace.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["maxSize", "marker", "drawLine", "color"] }, { type: i3__namespace.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3__namespace.MenuComponent, selector: "nui-menu", inputs: ["icon", "widthOfPopup", "contextClass", "appendToBody", "ariaLabel", "title", "size", "displayStyle", "isDisabled", "itemsSource"], outputs: ["blurred"] }, { type: i3__namespace.MenuGroupComponent, selector: "nui-menu-group", inputs: ["header"] }, { type: i3__namespace.MenuActionComponent, selector: "nui-menu-action", inputs: ["icon", "type"] }], directives: [{ type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { type: i4__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "nuiMapKeyValue": i3__namespace.MapKeyValuePipe } });
8843
+ /** @nocollapse */ StackedBarChartComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: StackedBarChartComponent, selector: "nui-stacked-bar-chart", usesInheritance: true, ngImport: i0__namespace, template: "<div\n class=\"nui-chart-layout h-100\"\n [class.layout-fixed]=\"configuration.gridConfig?.fixedLayout\"\n>\n <div\n *ngIf=\"!configuration.gridConfig?.hideYAxisLabel\"\n class=\"axis-label-left nui-text-small\"\n >\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"\n ></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\"\n >\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \"\n >\n <nui-legend-series\n *ngIf=\"widgetData.summarySerie && summarySerie\"\n class=\"summary-serie\"\n [interactive]=\"false\"\n (mouseenter)=\"chartAssist.resetVisibleSeries()\"\n >\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n summarySerie,\n 'y',\n 'tick'\n )\n \"\n [backgroundColor]=\"summaryLegendBcgColor\"\n [color]=\"summaryLegendColor\"\n >\n </nui-rich-legend-tile>\n\n <div description class=\"description-container\">\n <div class=\"description-text nui-text-small\">\n <div\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n [title]=\"summarySerie.legendDescriptionPrimary\"\n >\n {{ summarySerie.legendDescriptionPrimary }}\n </div>\n\n <div\n class=\"description description-secondary\"\n [title]=\"summarySerie.legendDescriptionSecondary\"\n >\n {{ summarySerie.legendDescriptionSecondary }}\n </div>\n </div>\n </div>\n\n <button\n nui-button\n legendMenu\n icon=\"remove\"\n type=\"button\"\n displayStyle=\"action\"\n *ngIf=\"displayDeleteButton()\"\n (click)=\"removeMetric(summarySerie.id)\"\n displayStyle=\"action\"\n ></button>\n </nui-legend-series>\n\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n >\n <nui-rich-legend-tile\n [value]=\"getLegendValue(legendSeries, valueAccessorKey)\"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \"\n >\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \"\n >\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div\n description\n class=\"description-container d-flex nui-text-small justify-content-center\"\n >\n <div class=\"descriptions\">\n <div\n *ngIf=\"!legendSeries.link\"\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.link\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n <div\n class=\"description description-secondary\"\n *ngIf=\"\n !legendSeries.secondaryLink &&\n !widgetData.summarySerie\n \"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"\n legendSeries.secondaryLink &&\n !widgetData.summarySerie\n \"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n </div>\n <nui-icon\n *ngIf=\"legendSeries.realtime\"\n icon=\"fast-poll\"\n iconColor=\"primary-blue\"\n ></nui-icon>\n <nui-icon\n *ngIf=\"legendSeries.transformer\"\n icon=\"performance\"\n iconColor=\"primary-blue\"\n ></nui-icon>\n </div>\n <nui-menu\n legendMenu\n *ngIf=\"displayLegendMenu()\"\n icon=\"menu\"\n displayStyle=\"action\"\n [appendToBody]=\"true\"\n >\n <nui-menu-group>\n <nui-menu-action\n i18n\n (actionDone)=\"removeMetric(legendSeries.id)\"\n >Remove</nui-menu-action\n >\n </nui-menu-group>\n <nui-menu-group header=\"Display Transforms\" i18n-header>\n <nui-menu-action\n *ngFor=\"let tr of transformers | nuiMapKeyValue\"\n [class.selected]=\"\n legendSeries.transformer?.name ===\n tr.value.transformer?.name\n \"\n (actionDone)=\"\n transformData(legendSeries.id, tr.key)\n \"\n >\n {{ tr.value.displayName }}\n </nui-menu-action>\n </nui-menu-group>\n </nui-menu>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#0079aa)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}.layout-fixed .legend{max-width:250px;min-width:250px;padding-left:8px!important}.layout-fixed .legend nui-legend{margin:0!important;width:100%}nui-legend-series{width:100%}nui-legend-series:hover{background-color:#f2f2f2;cursor:pointer}nui-icon{padding:0 5px;align-items:center}.selected{background-color:#00c4d21a}.selected:hover{background-color:#00c4d233}:host ::ng-deep div:has(> .description-container){flex-grow:1;overflow:hidden}:host ::ng-deep div:has(> .description-container) .descriptions{overflow:hidden}:host ::ng-deep nui-legend[ng-reflect-active=true] .summary-serie .nui-rich-legend-tile__tilebox{color:#111!important}\n"], components: [{ type: i2__namespace.ChartComponent, selector: "nui-chart", inputs: ["chart"] }, { type: i2__namespace.LegendComponent, selector: "nui-legend", inputs: ["active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { type: i2__namespace.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["isSelected", "active", "interactive", "seriesRenderState", "icon", "descriptionPrimary", "descriptionSecondary", "color"], outputs: ["isSelectedChange"] }, { type: i2__namespace.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "backgroundColor", "value", "color"] }, { type: i3__namespace.ButtonComponent, selector: "[nui-button]", inputs: ["ariaLabel", "isRepeat", "iconColor", "size", "displayStyle", "icon", "iconRight", "isBusy", "isEmpty"] }, { type: i2__namespace.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["maxSize", "marker", "drawLine", "color"] }, { type: i3__namespace.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3__namespace.MenuComponent, selector: "nui-menu", inputs: ["icon", "widthOfPopup", "contextClass", "appendToBody", "ariaLabel", "title", "size", "displayStyle", "isDisabled", "itemsSource"], outputs: ["blurred"] }, { type: i3__namespace.MenuGroupComponent, selector: "nui-menu-group", inputs: ["header"] }, { type: i3__namespace.MenuActionComponent, selector: "nui-menu-action", inputs: ["icon", "type"] }], directives: [{ type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { type: i4__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "nuiMapKeyValue": i3__namespace.MapKeyValuePipe } });
8709
8844
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: StackedBarChartComponent, decorators: [{
8710
8845
  type: i0.Component,
8711
8846
  args: [{
@@ -8746,7 +8881,7 @@
8746
8881
  }(XYChartComponent));
8747
8882
  StackedPercentageAreaChartComponent.lateLoadKey = "StackedPercentageAreaChartComponent";
8748
8883
  /** @nocollapse */ StackedPercentageAreaChartComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: StackedPercentageAreaChartComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: DATA_SOURCE, optional: true }, { token: TimeseriesScalesService }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
8749
- /** @nocollapse */ StackedPercentageAreaChartComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: StackedPercentageAreaChartComponent, selector: "nui-stacked-percentage-area-chart", usesInheritance: true, ngImport: i0__namespace, template: "<div\n class=\"nui-chart-layout h-100\"\n [class.layout-fixed]=\"configuration.gridConfig?.fixedLayout\"\n>\n <div\n *ngIf=\"!configuration.gridConfig?.hideYAxisLabel\"\n class=\"axis-label-left nui-text-small\"\n >\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"\n ></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\"\n >\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \"\n >\n <nui-legend-series\n *ngIf=\"widgetData.summarySerie && summarySerie\"\n [interactive]=\"false\"\n (mouseenter)=\"chartAssist.resetVisibleSeries()\"\n >\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n summarySerie,\n 'y',\n 'tick'\n )\n \"\n [backgroundColor]=\"summaryLegendBcgColor\"\n [color]=\"summaryLegendColor\"\n >\n </nui-rich-legend-tile>\n\n <div description class=\"description-container\">\n <div class=\"description-text nui-text-small\">\n <div\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n [title]=\"summarySerie.legendDescriptionPrimary\"\n >\n {{ summarySerie.legendDescriptionPrimary }}\n </div>\n\n <div\n class=\"description description-secondary\"\n [title]=\"summarySerie.legendDescriptionSecondary\"\n >\n {{ summarySerie.legendDescriptionSecondary }}\n </div>\n </div>\n </div>\n\n <button\n nui-button\n legendMenu\n icon=\"remove\"\n type=\"button\"\n displayStyle=\"action\"\n *ngIf=\"displayDeleteButton()\"\n (click)=\"removeMetric(summarySerie.id)\"\n displayStyle=\"action\"\n ></button>\n </nui-legend-series>\n\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n >\n <nui-rich-legend-tile\n [value]=\"getLegendValue(legendSeries, valueAccessorKey)\"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \"\n >\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \"\n >\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div\n description\n class=\"description-container d-flex nui-text-small justify-content-center\"\n >\n <div class=\"descriptions\">\n <div\n *ngIf=\"!legendSeries.link\"\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.link\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n <div\n class=\"description description-secondary\"\n *ngIf=\"\n !legendSeries.secondaryLink &&\n !widgetData.summarySerie\n \"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"\n legendSeries.secondaryLink &&\n !widgetData.summarySerie\n \"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n </div>\n <nui-icon\n *ngIf=\"legendSeries.realtime\"\n icon=\"fast-poll\"\n iconColor=\"primary-blue\"\n ></nui-icon>\n <nui-icon\n *ngIf=\"legendSeries.transformer\"\n icon=\"performance\"\n iconColor=\"primary-blue\"\n ></nui-icon>\n </div>\n <nui-menu\n legendMenu\n *ngIf=\"displayLegendMenu()\"\n icon=\"menu\"\n displayStyle=\"action\"\n [appendToBody]=\"true\"\n >\n <nui-menu-group>\n <nui-menu-action\n i18n\n (actionDone)=\"removeMetric(legendSeries.id)\"\n >Remove</nui-menu-action\n >\n </nui-menu-group>\n <nui-menu-group header=\"Display Transforms\" i18n-header>\n <nui-menu-action\n *ngFor=\"let tr of transformers | nuiMapKeyValue\"\n [class.selected]=\"\n legendSeries.transformer?.name ===\n tr.value.transformer?.name\n \"\n (actionDone)=\"\n transformData(legendSeries.id, tr.key)\n \"\n >\n {{ tr.value.displayName }}\n </nui-menu-action>\n </nui-menu-group>\n </nui-menu>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#0079aa)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}.layout-fixed .legend{max-width:250px;min-width:250px;padding-left:8px!important}.layout-fixed .legend nui-legend{margin:0!important;width:100%}nui-legend-series{width:100%}nui-legend-series:hover{background-color:#f2f2f2;cursor:pointer}nui-icon{padding:0 5px;align-items:center}:host ::ng-deep div:has(> .description-container){flex-grow:1;overflow:hidden}:host ::ng-deep div:has(> .description-container) .descriptions{overflow:hidden}.selected{background-color:#00c4d21a}.selected:hover{background-color:#00c4d233}\n"], components: [{ type: i2__namespace.ChartComponent, selector: "nui-chart", inputs: ["chart"] }, { type: i2__namespace.LegendComponent, selector: "nui-legend", inputs: ["active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { type: i2__namespace.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["isSelected", "active", "interactive", "seriesRenderState", "icon", "descriptionPrimary", "descriptionSecondary", "color"], outputs: ["isSelectedChange"] }, { type: i2__namespace.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "backgroundColor", "value", "color"] }, { type: i3__namespace.ButtonComponent, selector: "[nui-button]", inputs: ["ariaLabel", "isRepeat", "iconColor", "size", "displayStyle", "icon", "iconRight", "isBusy", "isEmpty"] }, { type: i2__namespace.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["maxSize", "marker", "drawLine", "color"] }, { type: i3__namespace.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3__namespace.MenuComponent, selector: "nui-menu", inputs: ["icon", "widthOfPopup", "contextClass", "appendToBody", "ariaLabel", "title", "size", "displayStyle", "isDisabled", "itemsSource"], outputs: ["blurred"] }, { type: i3__namespace.MenuGroupComponent, selector: "nui-menu-group", inputs: ["header"] }, { type: i3__namespace.MenuActionComponent, selector: "nui-menu-action", inputs: ["icon", "type"] }], directives: [{ type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { type: i4__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "nuiMapKeyValue": i3__namespace.MapKeyValuePipe } });
8884
+ /** @nocollapse */ StackedPercentageAreaChartComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: StackedPercentageAreaChartComponent, selector: "nui-stacked-percentage-area-chart", usesInheritance: true, ngImport: i0__namespace, template: "<div\n class=\"nui-chart-layout h-100\"\n [class.layout-fixed]=\"configuration.gridConfig?.fixedLayout\"\n>\n <div\n *ngIf=\"!configuration.gridConfig?.hideYAxisLabel\"\n class=\"axis-label-left nui-text-small\"\n >\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"\n ></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\"\n >\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \"\n >\n <nui-legend-series\n *ngIf=\"widgetData.summarySerie && summarySerie\"\n class=\"summary-serie\"\n [interactive]=\"false\"\n (mouseenter)=\"chartAssist.resetVisibleSeries()\"\n >\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n summarySerie,\n 'y',\n 'tick'\n )\n \"\n [backgroundColor]=\"summaryLegendBcgColor\"\n [color]=\"summaryLegendColor\"\n >\n </nui-rich-legend-tile>\n\n <div description class=\"description-container\">\n <div class=\"description-text nui-text-small\">\n <div\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n [title]=\"summarySerie.legendDescriptionPrimary\"\n >\n {{ summarySerie.legendDescriptionPrimary }}\n </div>\n\n <div\n class=\"description description-secondary\"\n [title]=\"summarySerie.legendDescriptionSecondary\"\n >\n {{ summarySerie.legendDescriptionSecondary }}\n </div>\n </div>\n </div>\n\n <button\n nui-button\n legendMenu\n icon=\"remove\"\n type=\"button\"\n displayStyle=\"action\"\n *ngIf=\"displayDeleteButton()\"\n (click)=\"removeMetric(summarySerie.id)\"\n displayStyle=\"action\"\n ></button>\n </nui-legend-series>\n\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n >\n <nui-rich-legend-tile\n [value]=\"getLegendValue(legendSeries, valueAccessorKey)\"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \"\n >\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \"\n >\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div\n description\n class=\"description-container d-flex nui-text-small justify-content-center\"\n >\n <div class=\"descriptions\">\n <div\n *ngIf=\"!legendSeries.link\"\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.link\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n <div\n class=\"description description-secondary\"\n *ngIf=\"\n !legendSeries.secondaryLink &&\n !widgetData.summarySerie\n \"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"\n legendSeries.secondaryLink &&\n !widgetData.summarySerie\n \"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n </div>\n <nui-icon\n *ngIf=\"legendSeries.realtime\"\n icon=\"fast-poll\"\n iconColor=\"primary-blue\"\n ></nui-icon>\n <nui-icon\n *ngIf=\"legendSeries.transformer\"\n icon=\"performance\"\n iconColor=\"primary-blue\"\n ></nui-icon>\n </div>\n <nui-menu\n legendMenu\n *ngIf=\"displayLegendMenu()\"\n icon=\"menu\"\n displayStyle=\"action\"\n [appendToBody]=\"true\"\n >\n <nui-menu-group>\n <nui-menu-action\n i18n\n (actionDone)=\"removeMetric(legendSeries.id)\"\n >Remove</nui-menu-action\n >\n </nui-menu-group>\n <nui-menu-group header=\"Display Transforms\" i18n-header>\n <nui-menu-action\n *ngFor=\"let tr of transformers | nuiMapKeyValue\"\n [class.selected]=\"\n legendSeries.transformer?.name ===\n tr.value.transformer?.name\n \"\n (actionDone)=\"\n transformData(legendSeries.id, tr.key)\n \"\n >\n {{ tr.value.displayName }}\n </nui-menu-action>\n </nui-menu-group>\n </nui-menu>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#0079aa)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}.layout-fixed .legend{max-width:250px;min-width:250px;padding-left:8px!important}.layout-fixed .legend nui-legend{margin:0!important;width:100%}nui-legend-series{width:100%}nui-legend-series:hover{background-color:#f2f2f2;cursor:pointer}nui-icon{padding:0 5px;align-items:center}.selected{background-color:#00c4d21a}.selected:hover{background-color:#00c4d233}:host ::ng-deep div:has(> .description-container){flex-grow:1;overflow:hidden}:host ::ng-deep div:has(> .description-container) .descriptions{overflow:hidden}:host ::ng-deep nui-legend[ng-reflect-active=true] .summary-serie .nui-rich-legend-tile__tilebox{color:#111!important}\n"], components: [{ type: i2__namespace.ChartComponent, selector: "nui-chart", inputs: ["chart"] }, { type: i2__namespace.LegendComponent, selector: "nui-legend", inputs: ["active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { type: i2__namespace.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["isSelected", "active", "interactive", "seriesRenderState", "icon", "descriptionPrimary", "descriptionSecondary", "color"], outputs: ["isSelectedChange"] }, { type: i2__namespace.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "backgroundColor", "value", "color"] }, { type: i3__namespace.ButtonComponent, selector: "[nui-button]", inputs: ["ariaLabel", "isRepeat", "iconColor", "size", "displayStyle", "icon", "iconRight", "isBusy", "isEmpty"] }, { type: i2__namespace.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["maxSize", "marker", "drawLine", "color"] }, { type: i3__namespace.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3__namespace.MenuComponent, selector: "nui-menu", inputs: ["icon", "widthOfPopup", "contextClass", "appendToBody", "ariaLabel", "title", "size", "displayStyle", "isDisabled", "itemsSource"], outputs: ["blurred"] }, { type: i3__namespace.MenuGroupComponent, selector: "nui-menu-group", inputs: ["header"] }, { type: i3__namespace.MenuActionComponent, selector: "nui-menu-action", inputs: ["icon", "type"] }], directives: [{ type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { type: i4__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "nuiMapKeyValue": i3__namespace.MapKeyValuePipe } });
8750
8885
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: StackedPercentageAreaChartComponent, decorators: [{
8751
8886
  type: i0.Component,
8752
8887
  args: [{
@@ -8766,39 +8901,6 @@
8766
8901
  }] }, { type: TimeseriesScalesService }, { type: i0__namespace.ChangeDetectorRef }];
8767
8902
  } });
8768
8903
 
8769
- // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
8770
- var TimeseriesChartPresetService = /** @class */ (function () {
8771
- function TimeseriesChartPresetService() {
8772
- var _a;
8773
- this.presets = (_a = {},
8774
- _a[exports.TimeseriesChartPreset.Line] = {
8775
- componentType: LineChartComponent.lateLoadKey,
8776
- },
8777
- _a[exports.TimeseriesChartPreset.StackedArea] = {
8778
- componentType: StackedAreaChartComponent.lateLoadKey,
8779
- },
8780
- _a[exports.TimeseriesChartPreset.StackedPercentageArea] = {
8781
- componentType: StackedPercentageAreaChartComponent.lateLoadKey,
8782
- },
8783
- _a[exports.TimeseriesChartPreset.StackedBar] = {
8784
- componentType: StackedBarChartComponent.lateLoadKey,
8785
- },
8786
- _a[exports.TimeseriesChartPreset.StatusBar] = {
8787
- componentType: StatusBarChartComponent.lateLoadKey,
8788
- },
8789
- _a);
8790
- }
8791
- return TimeseriesChartPresetService;
8792
- }());
8793
- /** @nocollapse */ TimeseriesChartPresetService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: TimeseriesChartPresetService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
8794
- /** @nocollapse */ TimeseriesChartPresetService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: TimeseriesChartPresetService, providedIn: "root" });
8795
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: TimeseriesChartPresetService, decorators: [{
8796
- type: i0.Injectable,
8797
- args: [{
8798
- providedIn: "root",
8799
- }]
8800
- }], ctorParameters: function () { return []; } });
8801
-
8802
8904
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
8803
8905
  var TIMESERIES_INSPECTION_MENU_ZOOM_IN = {
8804
8906
  id: "TIMESERIES_INSPECTION_MENU_ZOOM_IN",
@@ -8934,6 +9036,39 @@
8934
9036
  type: i0.Input
8935
9037
  }] } });
8936
9038
 
9039
+ // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
9040
+ var TimeseriesChartPresetService = /** @class */ (function () {
9041
+ function TimeseriesChartPresetService() {
9042
+ var _a;
9043
+ this.presets = (_a = {},
9044
+ _a[exports.TimeseriesChartPreset.Line] = {
9045
+ componentType: LineChartComponent.lateLoadKey,
9046
+ },
9047
+ _a[exports.TimeseriesChartPreset.StackedArea] = {
9048
+ componentType: StackedAreaChartComponent.lateLoadKey,
9049
+ },
9050
+ _a[exports.TimeseriesChartPreset.StackedPercentageArea] = {
9051
+ componentType: StackedPercentageAreaChartComponent.lateLoadKey,
9052
+ },
9053
+ _a[exports.TimeseriesChartPreset.StackedBar] = {
9054
+ componentType: StackedBarChartComponent.lateLoadKey,
9055
+ },
9056
+ _a[exports.TimeseriesChartPreset.StatusBar] = {
9057
+ componentType: StatusBarChartComponent.lateLoadKey,
9058
+ },
9059
+ _a);
9060
+ }
9061
+ return TimeseriesChartPresetService;
9062
+ }());
9063
+ /** @nocollapse */ TimeseriesChartPresetService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: TimeseriesChartPresetService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
9064
+ /** @nocollapse */ TimeseriesChartPresetService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: TimeseriesChartPresetService, providedIn: "root" });
9065
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: TimeseriesChartPresetService, decorators: [{
9066
+ type: i0.Injectable,
9067
+ args: [{
9068
+ providedIn: "root",
9069
+ }]
9070
+ }], ctorParameters: function () { return []; } });
9071
+
8937
9072
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
8938
9073
  /** @ignore */
8939
9074
  var TimeseriesWidgetComponent = /** @class */ (function () {
@@ -9296,7 +9431,7 @@
9296
9431
  */
9297
9432
  this.collapsed = false;
9298
9433
  this.onDestroy$ = new rxjs.Subject();
9299
- this.linkTooltip = $localize(templateObject_1$y || (templateObject_1$y = __makeTemplateObject(["Explore this data"], ["Explore this data"])));
9434
+ this.linkTooltip = $localize(templateObject_1$A || (templateObject_1$A = __makeTemplateObject(["Explore this data"], ["Explore this data"])));
9300
9435
  }
9301
9436
  Object.defineProperty(WidgetHeaderComponent.prototype, "hostClass", {
9302
9437
  get: function () {
@@ -9455,7 +9590,7 @@
9455
9590
  type: i0.ViewChild,
9456
9591
  args: ["widgetHeaderCustomElement"]
9457
9592
  }] } });
9458
- var templateObject_1$y;
9593
+ var templateObject_1$A;
9459
9594
 
9460
9595
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
9461
9596
  var NuiPizzagnaModule = /** @class */ (function () {
@@ -10613,7 +10748,7 @@
10613
10748
 
10614
10749
  var WidgetConfiguratorSectionHeaderPipe = /** @class */ (function () {
10615
10750
  function WidgetConfiguratorSectionHeaderPipe() {
10616
- this.defaultHeaderPrefix = $localize(templateObject_1$x || (templateObject_1$x = __makeTemplateObject(["Value"], ["Value"])));
10751
+ this.defaultHeaderPrefix = $localize(templateObject_1$z || (templateObject_1$z = __makeTemplateObject(["Value"], ["Value"])));
10617
10752
  }
10618
10753
  WidgetConfiguratorSectionHeaderPipe.prototype.transform = function (headerText, index, headerPrefix) {
10619
10754
  if (headerPrefix === void 0) { headerPrefix = this.defaultHeaderPrefix; }
@@ -10629,7 +10764,7 @@
10629
10764
  name: "nuiWidgetConfiguratorSectionHeader",
10630
10765
  }]
10631
10766
  }] });
10632
- var templateObject_1$x;
10767
+ var templateObject_1$z;
10633
10768
 
10634
10769
  var AddDataPipe = /** @class */ (function () {
10635
10770
  function AddDataPipe() {
@@ -10887,7 +11022,7 @@
10887
11022
  };
10888
11023
  }
10889
11024
  DashwizStepComponent.prototype.ngOnInit = function () {
10890
- this.nextText = this.nextText || $localize(templateObject_1$w || (templateObject_1$w = __makeTemplateObject(["Next"], ["Next"])));
11025
+ this.nextText = this.nextText || $localize(templateObject_1$y || (templateObject_1$y = __makeTemplateObject(["Next"], ["Next"])));
10891
11026
  };
10892
11027
  DashwizStepComponent.prototype.ngOnChanges = function (changes) {
10893
11028
  if (changes["stepControl"]) {
@@ -10928,7 +11063,7 @@
10928
11063
  }], next: [{
10929
11064
  type: i0.Output
10930
11065
  }] } });
10931
- var templateObject_1$w;
11066
+ var templateObject_1$y;
10932
11067
 
10933
11068
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
10934
11069
  var DashwizButtonsComponent = /** @class */ (function () {
@@ -11657,7 +11792,7 @@
11657
11792
  // @ts-ignore: Type '{ pizzagna: { configuration: IPizzagnaLayer; }; }' is missing the following properties from type 'IWidget': id, type
11658
11793
  this.configurator.updateWidget(previewWidget);
11659
11794
  var widgetTitle = get__default["default"](configLayer, WidgetEditorComponent.TITLE_PATH, "");
11660
- this.configuratorTitle = $localize(templateObject_1$v || (templateObject_1$v = __makeTemplateObject(["Editing ", ""], ["Editing ", ""])), widgetTitle);
11795
+ this.configuratorTitle = $localize(templateObject_1$x || (templateObject_1$x = __makeTemplateObject(["Editing ", ""], ["Editing ", ""])), widgetTitle);
11661
11796
  };
11662
11797
  WidgetEditorComponent.prototype.onFinish = function () {
11663
11798
  if (this.form.invalid) {
@@ -11707,11 +11842,11 @@
11707
11842
  type: i0.ViewChild,
11708
11843
  args: ["formPizzagnaComponent", { static: false }]
11709
11844
  }] } });
11710
- var templateObject_1$v;
11845
+ var templateObject_1$x;
11711
11846
 
11712
11847
  var CHART_PALETTE_CS3_ALTERNATIVE_NAMES = [
11713
- $localize(templateObject_1$u || (templateObject_1$u = __makeTemplateObject(["Blue"], ["Blue"]))),
11714
- $localize(templateObject_2$n || (templateObject_2$n = __makeTemplateObject(["Blue Light"], ["Blue Light"]))),
11848
+ $localize(templateObject_1$w || (templateObject_1$w = __makeTemplateObject(["Blue"], ["Blue"]))),
11849
+ $localize(templateObject_2$o || (templateObject_2$o = __makeTemplateObject(["Blue Light"], ["Blue Light"]))),
11715
11850
  $localize(templateObject_3$h || (templateObject_3$h = __makeTemplateObject(["Blue Dark"], ["Blue Dark"]))),
11716
11851
  $localize(templateObject_4$c || (templateObject_4$c = __makeTemplateObject(["Pink"], ["Pink"]))),
11717
11852
  $localize(templateObject_5$8 || (templateObject_5$8 = __makeTemplateObject(["Pink Light"], ["Pink Light"]))),
@@ -11754,6 +11889,8 @@
11754
11889
  $localize(templateObject_40 || (templateObject_40 = __makeTemplateObject(["Ok Light"], ["Ok Light"]))),
11755
11890
  $localize(templateObject_41 || (templateObject_41 = __makeTemplateObject(["Info"], ["Info"]))),
11756
11891
  $localize(templateObject_42 || (templateObject_42 = __makeTemplateObject(["Info Light"], ["Info Light"]))),
11892
+ $localize(templateObject_43 || (templateObject_43 = __makeTemplateObject(["Disabled"], ["Disabled"]))),
11893
+ $localize(templateObject_44 || (templateObject_44 = __makeTemplateObject(["Not Applicable"], ["Not Applicable"]))),
11757
11894
  ];
11758
11895
  var chartPaletteColorMap = zipObject__default["default"](__spreadArray(__spreadArray([], __read(i2.CHART_PALETTE_CS3)), __read(i2.CHART_PALETTE_CS_S_EXTENDED)), __spreadArray(__spreadArray([], __read(CHART_PALETTE_CS3_ALTERNATIVE_NAMES)), __read(CHART_PALETTE_CS_S_EXTENDED_ALTERNATIVE_NAMES)));
11759
11896
  var DEFAULT_KPI_TILE_COLOR = "var(--nui-color-bg-secondary)";
@@ -11761,7 +11898,7 @@
11761
11898
  color: color,
11762
11899
  label: chartPaletteColorMap[color],
11763
11900
  }); });
11764
- var templateObject_1$u, templateObject_2$n, templateObject_3$h, templateObject_4$c, templateObject_5$8, templateObject_6$6, templateObject_7$4, templateObject_8$2, templateObject_9$1, templateObject_10$1, templateObject_11$1, templateObject_12$1, templateObject_13$1, templateObject_14$1, templateObject_15$1, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23, templateObject_24, templateObject_25, templateObject_26, templateObject_27, templateObject_28, templateObject_29, templateObject_30, templateObject_31, templateObject_32, templateObject_33, templateObject_34, templateObject_35, templateObject_36, templateObject_37, templateObject_38, templateObject_39, templateObject_40, templateObject_41, templateObject_42;
11901
+ var templateObject_1$w, templateObject_2$o, templateObject_3$h, templateObject_4$c, templateObject_5$8, templateObject_6$6, templateObject_7$4, templateObject_8$2, templateObject_9$1, templateObject_10$1, templateObject_11$1, templateObject_12$1, templateObject_13$1, templateObject_14$1, templateObject_15$1, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23, templateObject_24, templateObject_25, templateObject_26, templateObject_27, templateObject_28, templateObject_29, templateObject_30, templateObject_31, templateObject_32, templateObject_33, templateObject_34, templateObject_35, templateObject_36, templateObject_37, templateObject_38, templateObject_39, templateObject_40, templateObject_41, templateObject_42, templateObject_43, templateObject_44;
11765
11902
 
11766
11903
  /**
11767
11904
  * Checks whether given form has a field that should be visually marked as invalid.
@@ -11871,7 +12008,7 @@
11871
12008
  var _this = this;
11872
12009
  var _a;
11873
12010
  this.palette = [
11874
- { color: DEFAULT_KPI_TILE_COLOR, label: $localize(templateObject_1$t || (templateObject_1$t = __makeTemplateObject(["Default color"], ["Default color"]))) },
12011
+ { color: DEFAULT_KPI_TILE_COLOR, label: $localize(templateObject_1$v || (templateObject_1$v = __makeTemplateObject(["Default color"], ["Default color"]))) },
11875
12012
  ].concat(this.backgroundColors);
11876
12013
  this.formLocal = this.initDefaultRulesGroup();
11877
12014
  this.form = this.formBuilder.group({
@@ -11905,7 +12042,7 @@
11905
12042
  var _a, _b, _c, _d;
11906
12043
  return ((_b = (_a = this.formLocal) === null || _a === void 0 ? void 0 : _a.get("rules")) === null || _b === void 0 ? void 0 : _b.value).controls
11907
12044
  .length === 0
11908
- ? $localize(templateObject_2$m || (templateObject_2$m = __makeTemplateObject(["No color rules"], ["No color rules"]))) : $localize(templateObject_3$g || (templateObject_3$g = __makeTemplateObject(["", " color rules"], ["", " color rules"])), ((_d = (_c = this.formLocal) === null || _c === void 0 ? void 0 : _c.get("rules")) === null || _d === void 0 ? void 0 : _d.value).controls
12045
+ ? $localize(templateObject_2$n || (templateObject_2$n = __makeTemplateObject(["No color rules"], ["No color rules"]))) : $localize(templateObject_3$g || (templateObject_3$g = __makeTemplateObject(["", " color rules"], ["", " color rules"])), ((_d = (_c = this.formLocal) === null || _c === void 0 ? void 0 : _c.get("rules")) === null || _d === void 0 ? void 0 : _d.value).controls
11909
12046
  .length);
11910
12047
  };
11911
12048
  BackgroundColorRulesConfigurationComponent.prototype.getLabel = function (item) {
@@ -11973,7 +12110,7 @@
11973
12110
  }], formReady: [{
11974
12111
  type: i0.Output
11975
12112
  }] } });
11976
- var templateObject_1$t, templateObject_2$m, templateObject_3$g;
12113
+ var templateObject_1$v, templateObject_2$n, templateObject_3$g;
11977
12114
 
11978
12115
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
11979
12116
  var DataSourceErrorComponent = /** @class */ (function () {
@@ -12364,11 +12501,11 @@
12364
12501
  this.modes = [
12365
12502
  {
12366
12503
  value: exports.EmbeddedContentMode.URL,
12367
- displayValue: $localize(templateObject_1$s || (templateObject_1$s = __makeTemplateObject(["Show the contents of a specific URL"], ["Show the contents of a specific URL"]))),
12504
+ displayValue: $localize(templateObject_1$u || (templateObject_1$u = __makeTemplateObject(["Show the contents of a specific URL"], ["Show the contents of a specific URL"]))),
12368
12505
  },
12369
12506
  {
12370
12507
  value: exports.EmbeddedContentMode.HTML,
12371
- displayValue: $localize(templateObject_2$l || (templateObject_2$l = __makeTemplateObject(["Show the exact HTML I supply below"], ["Show the exact HTML I supply below"]))),
12508
+ displayValue: $localize(templateObject_2$m || (templateObject_2$m = __makeTemplateObject(["Show the exact HTML I supply below"], ["Show the exact HTML I supply below"]))),
12372
12509
  },
12373
12510
  ];
12374
12511
  }
@@ -12469,7 +12606,7 @@
12469
12606
  }], formReady: [{
12470
12607
  type: i0.Output
12471
12608
  }] } });
12472
- var templateObject_1$s, templateObject_2$l;
12609
+ var templateObject_1$u, templateObject_2$m;
12473
12610
 
12474
12611
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
12475
12612
  var InfoMessageConfigurationComponent = /** @class */ (function () {
@@ -12503,7 +12640,7 @@
12503
12640
  this.changeDetector = changeDetector;
12504
12641
  this.formBuilder = formBuilder;
12505
12642
  this.defaultColor = {
12506
- label: $localize(templateObject_1$r || (templateObject_1$r = __makeTemplateObject(["Default color"], ["Default color"]))),
12643
+ label: $localize(templateObject_1$t || (templateObject_1$t = __makeTemplateObject(["Default color"], ["Default color"]))),
12507
12644
  color: DEFAULT_KPI_TILE_COLOR,
12508
12645
  };
12509
12646
  this.label = "";
@@ -12526,7 +12663,7 @@
12526
12663
  var backgroundColor = this.form.get("backgroundColor");
12527
12664
  var backgroundColorValue = backgroundColor === null || backgroundColor === void 0 ? void 0 : backgroundColor.valueChanges.pipe(operators.startWith(backgroundColor === null || backgroundColor === void 0 ? void 0 : backgroundColor.value));
12528
12665
  this.subtitle$ = rxjs.combineLatest([
12529
- labelValue === null || labelValue === void 0 ? void 0 : labelValue.pipe(operators.map(function (t) { return t || $localize(templateObject_2$k || (templateObject_2$k = __makeTemplateObject(["no label"], ["no label"]))); })),
12666
+ labelValue === null || labelValue === void 0 ? void 0 : labelValue.pipe(operators.map(function (t) { return t || $localize(templateObject_2$l || (templateObject_2$l = __makeTemplateObject(["no label"], ["no label"]))); })),
12530
12667
  backgroundColorValue === null || backgroundColorValue === void 0 ? void 0 : backgroundColorValue.pipe(operators.map(function (t) { return chartPaletteColorMap[t] || $localize(templateObject_3$f || (templateObject_3$f = __makeTemplateObject(["Default Color"], ["Default Color"]))); })),
12531
12668
  ]).pipe(operators.map(function (labels) { return labels.join(", "); }));
12532
12669
  this.formReady.emit(this.form);
@@ -12573,9 +12710,9 @@
12573
12710
  }], formReady: [{
12574
12711
  type: i0.Output
12575
12712
  }] } });
12576
- var templateObject_1$r, templateObject_2$k, templateObject_3$f;
12713
+ var templateObject_1$t, templateObject_2$l, templateObject_3$f;
12577
12714
 
12578
- var _a$m, _b$l, _c$e;
12715
+ var _a$p, _b$o, _c$g;
12579
12716
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
12580
12717
  //
12581
12718
  // Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -12601,25 +12738,25 @@
12601
12738
  TimeUnit["Minute"] = "minute";
12602
12739
  TimeUnit["Hour"] = "hour";
12603
12740
  })(TimeUnit || (TimeUnit = {}));
12604
- var TIME_UNITS_TO_MS = (_a$m = {},
12605
- _a$m[TimeUnit.Second] = 1000,
12606
- _a$m[TimeUnit.Minute] = 60000,
12607
- _a$m[TimeUnit.Hour] = 3600000,
12608
- _a$m);
12609
- var TIME_UNITS_LONG = (_b$l = {},
12610
- _b$l[TimeUnit.Hour] = $localize(templateObject_1$q || (templateObject_1$q = __makeTemplateObject([":hours unit (long):hours"], [":hours unit (long):hours"]))),
12611
- _b$l[TimeUnit.Minute] = $localize(templateObject_2$j || (templateObject_2$j = __makeTemplateObject([":minutes unit (long):minutes"], [":minutes unit (long):minutes"]))),
12612
- _b$l[TimeUnit.Second] = $localize(templateObject_3$e || (templateObject_3$e = __makeTemplateObject([":seconds unit (long):seconds"], [":seconds unit (long):seconds"]))),
12613
- _b$l);
12614
- var TIME_UNITS_SHORT = (_c$e = {},
12615
- _c$e[TimeUnit.Hour] = $localize(templateObject_4$b || (templateObject_4$b = __makeTemplateObject([":hours unit (short):h"], [":hours unit (short):h"]))),
12616
- _c$e[TimeUnit.Minute] = $localize(templateObject_5$7 || (templateObject_5$7 = __makeTemplateObject([":minutes unit (short):min"], [":minutes unit (short):min"]))),
12617
- _c$e[TimeUnit.Second] = $localize(templateObject_6$5 || (templateObject_6$5 = __makeTemplateObject([":seconds unit (short):sec"], [":seconds unit (short):sec"]))),
12618
- _c$e);
12741
+ var TIME_UNITS_TO_MS = (_a$p = {},
12742
+ _a$p[TimeUnit.Second] = 1000,
12743
+ _a$p[TimeUnit.Minute] = 60000,
12744
+ _a$p[TimeUnit.Hour] = 3600000,
12745
+ _a$p);
12746
+ var TIME_UNITS_LONG = (_b$o = {},
12747
+ _b$o[TimeUnit.Hour] = $localize(templateObject_1$s || (templateObject_1$s = __makeTemplateObject([":hours unit (long):hours"], [":hours unit (long):hours"]))),
12748
+ _b$o[TimeUnit.Minute] = $localize(templateObject_2$k || (templateObject_2$k = __makeTemplateObject([":minutes unit (long):minutes"], [":minutes unit (long):minutes"]))),
12749
+ _b$o[TimeUnit.Second] = $localize(templateObject_3$e || (templateObject_3$e = __makeTemplateObject([":seconds unit (long):seconds"], [":seconds unit (long):seconds"]))),
12750
+ _b$o);
12751
+ var TIME_UNITS_SHORT = (_c$g = {},
12752
+ _c$g[TimeUnit.Hour] = $localize(templateObject_4$b || (templateObject_4$b = __makeTemplateObject([":hours unit (short):h"], [":hours unit (short):h"]))),
12753
+ _c$g[TimeUnit.Minute] = $localize(templateObject_5$7 || (templateObject_5$7 = __makeTemplateObject([":minutes unit (short):min"], [":minutes unit (short):min"]))),
12754
+ _c$g[TimeUnit.Second] = $localize(templateObject_6$5 || (templateObject_6$5 = __makeTemplateObject([":seconds unit (short):sec"], [":seconds unit (short):sec"]))),
12755
+ _c$g);
12619
12756
  function getTimeUnitsRatio(fromUnit, toUnit) {
12620
12757
  return TIME_UNITS_TO_MS[fromUnit] / TIME_UNITS_TO_MS[toUnit];
12621
12758
  }
12622
- var templateObject_1$q, templateObject_2$j, templateObject_3$e, templateObject_4$b, templateObject_5$7, templateObject_6$5;
12759
+ var templateObject_1$s, templateObject_2$k, templateObject_3$e, templateObject_4$b, templateObject_5$7, templateObject_6$5;
12623
12760
 
12624
12761
  /**
12625
12762
  * As per Wolfi, this is a candidate for reworking into a general time interval selector implemented as a Web Component
@@ -12779,10 +12916,10 @@
12779
12916
  var min = params.min, max = params.max, whole = params.whole;
12780
12917
  var numberTypeText;
12781
12918
  if (whole) {
12782
- numberTypeText = $localize(templateObject_1$p || (templateObject_1$p = __makeTemplateObject(["a whole number"], ["a whole number"])));
12919
+ numberTypeText = $localize(templateObject_1$r || (templateObject_1$r = __makeTemplateObject(["a whole number"], ["a whole number"])));
12783
12920
  }
12784
12921
  else {
12785
- numberTypeText = $localize(templateObject_2$i || (templateObject_2$i = __makeTemplateObject(["a number"], ["a number"])));
12922
+ numberTypeText = $localize(templateObject_2$j || (templateObject_2$j = __makeTemplateObject(["a number"], ["a number"])));
12786
12923
  }
12787
12924
  if (min != null && max != null) {
12788
12925
  if (min === max) {
@@ -12845,7 +12982,7 @@
12845
12982
  }], maxSeconds: [{
12846
12983
  type: i0.Input
12847
12984
  }] } });
12848
- var templateObject_1$p, templateObject_2$i, templateObject_3$d, templateObject_4$a, templateObject_5$6, templateObject_6$4, templateObject_7$3;
12985
+ var templateObject_1$r, templateObject_2$j, templateObject_3$d, templateObject_4$a, templateObject_5$6, templateObject_6$4, templateObject_7$3;
12849
12986
 
12850
12987
  var RefresherConfigurationComponent = /** @class */ (function () {
12851
12988
  function RefresherConfigurationComponent(changeDetector, formBuilder, logger, refresherSettings, cd) {
@@ -12857,7 +12994,7 @@
12857
12994
  this.cd = cd;
12858
12995
  this.minSeconds = 1;
12859
12996
  this.maxSeconds = 86400;
12860
- this.overrideDefaultSettingsCaption = $localize(templateObject_1$o || (templateObject_1$o = __makeTemplateObject(["Custom refresh rate"], ["Custom refresh rate"])));
12997
+ this.overrideDefaultSettingsCaption = $localize(templateObject_1$q || (templateObject_1$q = __makeTemplateObject(["Custom refresh rate"], ["Custom refresh rate"])));
12861
12998
  this.overrideDefaultSettings = true;
12862
12999
  this.formReady = new i0.EventEmitter();
12863
13000
  this.destroyed$ = new rxjs.Subject();
@@ -12912,7 +13049,7 @@
12912
13049
  var _a, _b, _c;
12913
13050
  var result = "";
12914
13051
  if ((_a = this.form.get("enabled")) === null || _a === void 0 ? void 0 : _a.value) {
12915
- result += $localize(templateObject_2$h || (templateObject_2$h = __makeTemplateObject(["Enabled"], ["Enabled"])));
13052
+ result += $localize(templateObject_2$i || (templateObject_2$i = __makeTemplateObject(["Enabled"], ["Enabled"])));
12916
13053
  result += ", ";
12917
13054
  if ((_b = this.form.get("overrideDefaultSettings")) === null || _b === void 0 ? void 0 : _b.value) {
12918
13055
  result += this.getDurationLabel((_c = this.form.get("interval")) === null || _c === void 0 ? void 0 : _c.value);
@@ -12987,7 +13124,93 @@
12987
13124
  type: i0.ViewChild,
12988
13125
  args: [RefreshRateConfiguratorComponent]
12989
13126
  }] } });
12990
- var templateObject_1$o, templateObject_2$h, templateObject_3$c, templateObject_4$9;
13127
+ var templateObject_1$q, templateObject_2$i, templateObject_3$c, templateObject_4$9;
13128
+
13129
+ // © 2023 SolarWinds Worldwide, LLC. All rights reserved.
13130
+ var RiskScoreTileDescriptionConfigurationComponent = /** @class */ (function () {
13131
+ function RiskScoreTileDescriptionConfigurationComponent(changeDetector, formBuilder) {
13132
+ this.changeDetector = changeDetector;
13133
+ this.formBuilder = formBuilder;
13134
+ this.MAX_DESCRIPTION_LENGTH = 150;
13135
+ this.label = "";
13136
+ this.minValue = 0;
13137
+ this.maxValue = 100;
13138
+ this.description = "";
13139
+ this.useStaticLabel = false;
13140
+ this.staticLabel = "";
13141
+ this.formReady = new i0.EventEmitter();
13142
+ }
13143
+ RiskScoreTileDescriptionConfigurationComponent.prototype.ngOnInit = function () {
13144
+ this.form = this.formBuilder.group({
13145
+ label: [this.label, [i1$1.Validators.required]],
13146
+ minValue: [this.minValue, [i1$1.Validators.required]],
13147
+ maxValue: [this.maxValue, [i1$1.Validators.required]],
13148
+ description: [
13149
+ this.description,
13150
+ [i1$1.Validators.maxLength(this.MAX_DESCRIPTION_LENGTH)],
13151
+ ],
13152
+ useStaticLabel: [this.useStaticLabel, [i1$1.Validators.required]],
13153
+ staticLabel: [this.staticLabel],
13154
+ });
13155
+ this.formReady.emit(this.form);
13156
+ };
13157
+ RiskScoreTileDescriptionConfigurationComponent.prototype.ngOnChanges = function (changes) {
13158
+ var _a, _b, _c, _d, _e, _f;
13159
+ if (changes.label) {
13160
+ (_a = this.form) === null || _a === void 0 ? void 0 : _a.patchValue({ label: changes.label.currentValue });
13161
+ }
13162
+ if (changes.minValue) {
13163
+ (_b = this.form) === null || _b === void 0 ? void 0 : _b.patchValue({ minValue: changes.minValue.currentValue });
13164
+ }
13165
+ if (changes.maxValue) {
13166
+ (_c = this.form) === null || _c === void 0 ? void 0 : _c.patchValue({ maxValue: changes.maxValue.currentValue });
13167
+ }
13168
+ if (changes.description) {
13169
+ (_d = this.form) === null || _d === void 0 ? void 0 : _d.patchValue({
13170
+ description: changes.description.currentValue,
13171
+ });
13172
+ }
13173
+ if (changes.useStaticLabel) {
13174
+ (_e = this.form) === null || _e === void 0 ? void 0 : _e.patchValue({
13175
+ useStaticLabel: changes.useStaticLabel.currentValue,
13176
+ });
13177
+ }
13178
+ if (changes.staticLabel) {
13179
+ (_f = this.form) === null || _f === void 0 ? void 0 : _f.patchValue({
13180
+ staticLabel: changes.staticLabel.currentValue,
13181
+ });
13182
+ }
13183
+ };
13184
+ return RiskScoreTileDescriptionConfigurationComponent;
13185
+ }());
13186
+ RiskScoreTileDescriptionConfigurationComponent.lateLoadKey = "RiskScoreTileDescriptionConfigurationComponent";
13187
+ /** @nocollapse */ RiskScoreTileDescriptionConfigurationComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: RiskScoreTileDescriptionConfigurationComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }, { token: i1__namespace$2.FormBuilder }], target: i0__namespace.ɵɵFactoryTarget.Component });
13188
+ /** @nocollapse */ RiskScoreTileDescriptionConfigurationComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: RiskScoreTileDescriptionConfigurationComponent, selector: "nui-risk-score-tile-description-configuration", inputs: { componentId: "componentId", label: "label", minValue: "minValue", maxValue: "maxValue", description: "description", useStaticLabel: "useStaticLabel", staticLabel: "staticLabel" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0__namespace, template: "<nui-widget-editor-accordion\n [formGroup]=\"form\"\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\"\n>\n <div accordionHeader class=\"d-flex align-items-center px-4 py-2\">\n <nui-icon\n class=\"align-self-start pt-2\"\n [icon]=\"form | nuiFormHeaderIconPipe: 'widget_list' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n>Description</span>\n <div class=\"nui-text-secondary\" [title]=\"subtitle$ | async\">\n {{ subtitle$ | async }}\n </div>\n </div>\n </div>\n <div class=\"risk-score-tile-description-configuration__accordion-content\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Label\"\n i18n-caption\n [control]=\"form.get('label')\"\n class=\"form-group\"\n >\n <nui-textbox\n formControlName=\"label\"\n placeholder=\"Set label\"\n i18n-placeholder\n ></nui-textbox>\n </nui-form-field>\n </div>\n\n <div class=\"mt-4\">\n <nui-form-field\n caption=\"Min Value\"\n i18n-caption\n [control]=\"form.get('minValue')\"\n class=\"form-group\"\n >\n <nui-textbox-number\n formControlName=\"minValue\"\n placeholder=\"Min Value\"\n i18n-placeholder\n ></nui-textbox-number>\n </nui-form-field>\n </div>\n\n <div class=\"mt-4\">\n <nui-form-field\n caption=\"Max Value\"\n i18n-caption\n [control]=\"form.get('maxValue')\"\n class=\"form-group\"\n >\n <nui-textbox-number\n formControlName=\"maxValue\"\n placeholder=\"Max Value\"\n i18n-placeholder\n ></nui-textbox-number>\n </nui-form-field>\n </div>\n\n <div class=\"mt-4\">\n <nui-form-field\n [control]=\"form.get('useStaticLabel')\"\n class=\"form-group\"\n >\n <nui-switch formControlName=\"useStaticLabel\" i18n\n >Use Float Label</nui-switch\n >\n </nui-form-field>\n </div>\n\n <div class=\"mt-4\" [class.hidden]=\"!form.get('useStaticLabel')?.value\">\n <nui-form-field\n caption=\"Float Label\"\n i18n-caption\n [control]=\"form.get('staticLabel')\"\n class=\"form-group\"\n >\n <nui-textbox\n formControlName=\"staticLabel\"\n placeholder=\"Set float label\"\n i18n-placeholder\n ></nui-textbox>\n </nui-form-field>\n </div>\n\n <div class=\"mt-4\">\n <nui-form-field\n caption=\"Description\"\n i18n-caption\n [control]=\"form.get('description')\"\n class=\"form-group\"\n >\n <nui-textbox\n formControlName=\"description\"\n placeholder=\"Set description\"\n i18n-placeholder\n ></nui-textbox>\n <nui-validation-message for=\"maxlength\" i18n>\n Description cannot be longer than\n {{ MAX_DESCRIPTION_LENGTH }} characters.\n </nui-validation-message>\n </nui-form-field>\n </div>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".risk-score-tile-description-configuration__accordion-content{padding:15px 15px 15px 46px}.risk-score-tile-description-configuration__selector-arrow{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-left:1px solid;border-left-color:var(--nui-color-line-default,#d9d9d9);margin-left:10px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i3__namespace.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3__namespace.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i3__namespace.TextboxComponent, selector: "nui-textbox", inputs: ["autocomplete", "disabled", "hint", "placeholder", "readonly", "rows", "type", "isInErrorState", "ariaLabel", "value", "caption", "info", "customBoxWidth", "name", "isBusy"], outputs: ["textChange", "blurred"] }, { type: i3__namespace.TextboxNumberComponent, selector: "nui-textbox-number", inputs: ["value", "disabled", "placeholder", "readonly", "step", "stepPrecision", "isInErrorState", "ariaLabel", "customBoxWidth", "name", "minValue", "maxValue"], outputs: ["blurred", "valueChange"] }, { type: i3__namespace.SwitchComponent, selector: "nui-switch", inputs: ["ariaLabel", "value", "disabled"], outputs: ["valueChange"] }, { type: i3__namespace.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }], directives: [{ type: i1__namespace$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1__namespace$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1__namespace$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1__namespace$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }], pipes: { "async": i4__namespace.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": FormHeaderIconPipePipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
13189
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: RiskScoreTileDescriptionConfigurationComponent, decorators: [{
13190
+ type: i0.Component,
13191
+ args: [{
13192
+ selector: "nui-risk-score-tile-description-configuration",
13193
+ templateUrl: "./risk-score-tile-description-configuration.component.html",
13194
+ styleUrls: ["./risk-score-tile-description-configuration.component.less"],
13195
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
13196
+ }]
13197
+ }], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }, { type: i1__namespace$2.FormBuilder }]; }, propDecorators: { componentId: [{
13198
+ type: i0.Input
13199
+ }], label: [{
13200
+ type: i0.Input
13201
+ }], minValue: [{
13202
+ type: i0.Input
13203
+ }], maxValue: [{
13204
+ type: i0.Input
13205
+ }], description: [{
13206
+ type: i0.Input
13207
+ }], useStaticLabel: [{
13208
+ type: i0.Input
13209
+ }], staticLabel: [{
13210
+ type: i0.Input
13211
+ }], formReady: [{
13212
+ type: i0.Output
13213
+ }] } });
12991
13214
 
12992
13215
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
12993
13216
  var thresholdsValidator = function (form) {
@@ -13035,11 +13258,11 @@
13035
13258
  this.thresholdOptions = [
13036
13259
  {
13037
13260
  value: false,
13038
- displayValue: $localize(templateObject_1$n || (templateObject_1$n = __makeTemplateObject(["Never show critical or warning states for this KPI"], ["Never show critical or warning states for this KPI"]))),
13261
+ displayValue: $localize(templateObject_1$p || (templateObject_1$p = __makeTemplateObject(["Never show critical or warning states for this KPI"], ["Never show critical or warning states for this KPI"]))),
13039
13262
  },
13040
13263
  {
13041
13264
  value: true,
13042
- displayValue: $localize(templateObject_2$g || (templateObject_2$g = __makeTemplateObject(["Set custom thresholds for this widget"], ["Set custom thresholds for this widget"]))),
13265
+ displayValue: $localize(templateObject_2$h || (templateObject_2$h = __makeTemplateObject(["Set custom thresholds for this widget"], ["Set custom thresholds for this widget"]))),
13043
13266
  },
13044
13267
  ];
13045
13268
  this.destroyed$ = new rxjs.Subject();
@@ -13149,7 +13372,7 @@
13149
13372
  }], formReady: [{
13150
13373
  type: i0.Output
13151
13374
  }] } });
13152
- var templateObject_1$n, templateObject_2$g, templateObject_3$b, templateObject_4$8;
13375
+ var templateObject_1$p, templateObject_2$h, templateObject_3$b, templateObject_4$8;
13153
13376
 
13154
13377
  var TimeseriesMetadataConfigurationComponent = /** @class */ (function () {
13155
13378
  function TimeseriesMetadataConfigurationComponent(changeDetector, configuratorHeading, formBuilder, eventBus) {
@@ -13160,9 +13383,9 @@
13160
13383
  this.legendPlacements = [];
13161
13384
  this.timeSpans = [];
13162
13385
  this.availableChartTypes = [
13163
- { label: $localize(templateObject_1$m || (templateObject_1$m = __makeTemplateObject(["Line"], ["Line"]))), value: exports.TimeseriesChartPreset.Line },
13386
+ { label: $localize(templateObject_1$o || (templateObject_1$o = __makeTemplateObject(["Line"], ["Line"]))), value: exports.TimeseriesChartPreset.Line },
13164
13387
  {
13165
- label: $localize(templateObject_2$f || (templateObject_2$f = __makeTemplateObject(["Stacked area"], ["Stacked area"]))),
13388
+ label: $localize(templateObject_2$g || (templateObject_2$g = __makeTemplateObject(["Stacked area"], ["Stacked area"]))),
13166
13389
  value: exports.TimeseriesChartPreset.StackedArea,
13167
13390
  },
13168
13391
  {
@@ -13266,7 +13489,7 @@
13266
13489
  }], formReady: [{
13267
13490
  type: i0.Output
13268
13491
  }] } });
13269
- var templateObject_1$m, templateObject_2$f, templateObject_3$a, templateObject_4$7, templateObject_5$5, templateObject_6$3, templateObject_7$2, templateObject_8$1;
13492
+ var templateObject_1$o, templateObject_2$g, templateObject_3$a, templateObject_4$7, templateObject_5$5, templateObject_6$3, templateObject_7$2, templateObject_8$1;
13270
13493
 
13271
13494
  var TitleAndDescriptionConfigurationComponent = /** @class */ (function () {
13272
13495
  function TitleAndDescriptionConfigurationComponent(changeDetector, formBuilder, logger) {
@@ -13305,8 +13528,8 @@
13305
13528
  }
13306
13529
  };
13307
13530
  TitleAndDescriptionConfigurationComponent.prototype.getSecondaryText = function () {
13308
- var forTitle = this.form.controls["title"].value || $localize(templateObject_1$l || (templateObject_1$l = __makeTemplateObject(["No title"], ["No title"])));
13309
- var forSubtitle = this.form.controls["subtitle"].value || $localize(templateObject_2$e || (templateObject_2$e = __makeTemplateObject(["no subtitle"], ["no subtitle"])));
13531
+ var forTitle = this.form.controls["title"].value || $localize(templateObject_1$n || (templateObject_1$n = __makeTemplateObject(["No title"], ["No title"])));
13532
+ var forSubtitle = this.form.controls["subtitle"].value || $localize(templateObject_2$f || (templateObject_2$f = __makeTemplateObject(["no subtitle"], ["no subtitle"])));
13310
13533
  return forTitle + ", " + forSubtitle;
13311
13534
  };
13312
13535
  return TitleAndDescriptionConfigurationComponent;
@@ -13335,7 +13558,7 @@
13335
13558
  }], formReady: [{
13336
13559
  type: i0.Output
13337
13560
  }] } });
13338
- var templateObject_1$l, templateObject_2$e;
13561
+ var templateObject_1$n, templateObject_2$f;
13339
13562
 
13340
13563
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
13341
13564
  var EntityFormattingConfigurationComponent = /** @class */ (function () {
@@ -13471,7 +13694,7 @@
13471
13694
  .map(function (control, index) { return (index === 0 ? "By" : "then") + " " + control.value; })
13472
13695
  .join(", ");
13473
13696
  return ((_a = this.getGroupByControl) === null || _a === void 0 ? void 0 : _a.value.length) === 0
13474
- ? $localize(templateObject_1$k || (templateObject_1$k = __makeTemplateObject(["No groups"], ["No groups"]))) : $localize(templateObject_2$d || (templateObject_2$d = __makeTemplateObject(["", ""], ["", ""])), subtitle);
13697
+ ? $localize(templateObject_1$m || (templateObject_1$m = __makeTemplateObject(["No groups"], ["No groups"]))) : $localize(templateObject_2$e || (templateObject_2$e = __makeTemplateObject(["", ""], ["", ""])), subtitle);
13475
13698
  };
13476
13699
  GroupingConfigurationComponent.prototype.ngOnDestroy = function () {
13477
13700
  this.destroy$.next();
@@ -13535,7 +13758,7 @@
13535
13758
  }], formReady: [{
13536
13759
  type: i0.Output
13537
13760
  }] } });
13538
- var templateObject_1$k, templateObject_2$d;
13761
+ var templateObject_1$m, templateObject_2$e;
13539
13762
 
13540
13763
  /**
13541
13764
  * This component and its related form represent a collection of KPI tile configuration components
@@ -13808,13 +14031,13 @@
13808
14031
  type: i0.Output
13809
14032
  }] } });
13810
14033
 
13811
- var _e$9;
13812
- var proportionalWidgetChartTypesNamesMap = (_e$9 = {},
13813
- _e$9[exports.ProportionalWidgetChartTypes.DonutChart] = $localize(templateObject_1$j || (templateObject_1$j = __makeTemplateObject(["Donut"], ["Donut"]))),
13814
- _e$9[exports.ProportionalWidgetChartTypes.PieChart] = $localize(templateObject_2$c || (templateObject_2$c = __makeTemplateObject(["Pie"], ["Pie"]))),
13815
- _e$9[exports.ProportionalWidgetChartTypes.VerticalBarChart] = $localize(templateObject_3$9 || (templateObject_3$9 = __makeTemplateObject(["Vertical Bar"], ["Vertical Bar"]))),
13816
- _e$9[exports.ProportionalWidgetChartTypes.HorizontalBarChart] = $localize(templateObject_4$6 || (templateObject_4$6 = __makeTemplateObject(["Horizontal Bar"], ["Horizontal Bar"]))),
13817
- _e$9);
14034
+ var _e$b;
14035
+ var proportionalWidgetChartTypesNamesMap = (_e$b = {},
14036
+ _e$b[exports.ProportionalWidgetChartTypes.DonutChart] = $localize(templateObject_1$l || (templateObject_1$l = __makeTemplateObject(["Donut"], ["Donut"]))),
14037
+ _e$b[exports.ProportionalWidgetChartTypes.PieChart] = $localize(templateObject_2$d || (templateObject_2$d = __makeTemplateObject(["Pie"], ["Pie"]))),
14038
+ _e$b[exports.ProportionalWidgetChartTypes.VerticalBarChart] = $localize(templateObject_3$9 || (templateObject_3$9 = __makeTemplateObject(["Vertical Bar"], ["Vertical Bar"]))),
14039
+ _e$b[exports.ProportionalWidgetChartTypes.HorizontalBarChart] = $localize(templateObject_4$6 || (templateObject_4$6 = __makeTemplateObject(["Horizontal Bar"], ["Horizontal Bar"]))),
14040
+ _e$b);
13818
14041
  var ProportionalChartOptionsEditorComponent = /** @class */ (function () {
13819
14042
  function ProportionalChartOptionsEditorComponent(changeDetector, configuratorHeading, formBuilder) {
13820
14043
  this.changeDetector = changeDetector;
@@ -13952,7 +14175,7 @@
13952
14175
  }], formReady: [{
13953
14176
  type: i0.Output
13954
14177
  }] } });
13955
- var templateObject_1$j, templateObject_2$c, templateObject_3$9, templateObject_4$6, templateObject_5$4;
14178
+ var templateObject_1$l, templateObject_2$d, templateObject_3$9, templateObject_4$6, templateObject_5$4;
13956
14179
 
13957
14180
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
13958
14181
  var DonutContentConfigurationComponent = /** @class */ (function () {
@@ -14087,46 +14310,112 @@
14087
14310
  type: i0.Output
14088
14311
  }] } });
14089
14312
 
14090
- // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
14091
- //
14092
- // Permission is hereby granted, free of charge, to any person obtaining a copy
14093
- // of this software and associated documentation files (the "Software"), to
14094
- // deal in the Software without restriction, including without limitation the
14095
- // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
14096
- // sell copies of the Software, and to permit persons to whom the Software is
14097
- // furnished to do so, subject to the following conditions:
14098
- //
14099
- // The above copyright notice and this permission notice shall be included in
14100
- // all copies or substantial portions of the Software.
14101
- //
14102
- // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14103
- // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14104
- // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
14105
- // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
14106
- // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
14107
- // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
14108
- // THE SOFTWARE.
14109
14313
  /**
14110
- * This is the only way to be notified of the parent form control being "touched"
14111
- * We replace the parent formControl method with our own implementation that also calls the original function
14112
- * @param formControl
14113
- * @param callback Run this callback when the `formControl.markAsTouched` is run
14314
+ * This component and its related form represent a collection of KPI tile configuration components
14114
14315
  */
14115
- function onMarkAsTouched(formControl, callback) {
14116
- var origFunc = formControl.markAsTouched;
14117
- formControl.markAsTouched = function () {
14118
- // @ts-ignore
14119
- // eslint-disable-next-line prefer-rest-params
14120
- origFunc.apply(formControl, arguments);
14121
- callback();
14122
- };
14123
- }
14124
-
14125
- // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
14126
- var DescriptionConfigurationV2Component = /** @class */ (function () {
14127
- function DescriptionConfigurationV2Component(formBuilder, changeDetector) {
14128
- var _this = this;
14129
- this.formBuilder = formBuilder;
14316
+ var RiskScoreTilesConfigurationComponent = /** @class */ (function () {
14317
+ function RiskScoreTilesConfigurationComponent(pizzagnaService, changeDetector, formBuilder, eventBus) {
14318
+ this.pizzagnaService = pizzagnaService;
14319
+ this.changeDetector = changeDetector;
14320
+ this.formBuilder = formBuilder;
14321
+ this.eventBus = eventBus;
14322
+ this.tiles = [];
14323
+ this.formReady = new i0.EventEmitter();
14324
+ }
14325
+ RiskScoreTilesConfigurationComponent.prototype.ngOnChanges = function (changes) { };
14326
+ RiskScoreTilesConfigurationComponent.prototype.onFormReady = function (form) {
14327
+ this.form = this.formBuilder.group({
14328
+ tiles: form,
14329
+ });
14330
+ this.emptyItems$ = this.form.valueChanges.pipe(operators.map(function (result) { return result.tiles.length === 0; }));
14331
+ this.formReady.emit(this.form);
14332
+ };
14333
+ RiskScoreTilesConfigurationComponent.prototype.onItemsChange = function (tiles) {
14334
+ var parentPath = "tiles";
14335
+ var componentIds = tiles.map(function (tile) { return tile.id; });
14336
+ this.pizzagnaService.createComponentsFromTemplate(parentPath, componentIds);
14337
+ var property = {
14338
+ componentId: this.componentId,
14339
+ pizzagnaKey: exports.PizzagnaLayer.Data,
14340
+ propertyPath: ["tiles"],
14341
+ };
14342
+ this.pizzagnaService.setProperty(property, tiles);
14343
+ };
14344
+ RiskScoreTilesConfigurationComponent.prototype.addTile = function () {
14345
+ this.onItemsChange(__spreadArray(__spreadArray([], __read(this.tiles)), [
14346
+ {
14347
+ id: i3.uuid("riskScore"),
14348
+ componentType: RiskScoreTileComponent.lateLoadKey,
14349
+ },
14350
+ ]));
14351
+ };
14352
+ return RiskScoreTilesConfigurationComponent;
14353
+ }());
14354
+ RiskScoreTilesConfigurationComponent.lateLoadKey = "RiskScoreTilesConfigurationComponent";
14355
+ /** @nocollapse */ RiskScoreTilesConfigurationComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: RiskScoreTilesConfigurationComponent, deps: [{ token: PizzagnaService }, { token: i0__namespace.ChangeDetectorRef }, { token: i1__namespace$2.FormBuilder }, { token: PIZZAGNA_EVENT_BUS }], target: i0__namespace.ɵɵFactoryTarget.Component });
14356
+ /** @nocollapse */ RiskScoreTilesConfigurationComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: RiskScoreTilesConfigurationComponent, selector: "nui-risk-score-tiles-configuration-component", inputs: { componentId: "componentId", tiles: "tiles", nodes: "nodes" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0__namespace, template: "<nui-items-dynamic\n [items]=\"tiles\"\n [nodes]=\"nodes\"\n (itemsChange)=\"onItemsChange($event)\"\n (formReady)=\"onFormReady($event)\"\n></nui-items-dynamic>\n\n<div class=\"pl-4 pr-4\" *ngIf=\"(emptyItems$ | async) && form.touched\">\n <nui-message type=\"critical\" [allowDismiss]=\"false\" i18n>\n <b>At least one value must be added.</b>\n </nui-message>\n</div>\n\n<button\n nui-button\n icon=\"add\"\n displayStyle=\"action\"\n id=\"kpi-widget-add-indicator-btn\"\n type=\"button\"\n class=\"ml-4 mb-4\"\n (click)=\"addTile()\"\n i18n\n>\n Add new value\n</button>\n", components: [{ type: ItemsDynamicComponent, selector: "nui-items-dynamic", inputs: ["items", "moveButtons", "nodes", "headerPrefix"], outputs: ["formReady", "itemsChange"] }, { type: i3__namespace.MessageComponent, selector: "nui-message", inputs: ["allowDismiss", "type", "manualControl"], outputs: ["dismiss"] }, { type: i3__namespace.ButtonComponent, selector: "[nui-button]", inputs: ["ariaLabel", "isRepeat", "iconColor", "size", "displayStyle", "icon", "iconRight", "isBusy", "isEmpty"] }], directives: [{ type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i4__namespace.AsyncPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
14357
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: RiskScoreTilesConfigurationComponent, decorators: [{
14358
+ type: i0.Component,
14359
+ args: [{
14360
+ selector: "nui-risk-score-tiles-configuration-component",
14361
+ templateUrl: "./risk-score-tiles-configuration.component.html",
14362
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
14363
+ }]
14364
+ }], ctorParameters: function () {
14365
+ return [{ type: PizzagnaService }, { type: i0__namespace.ChangeDetectorRef }, { type: i1__namespace$2.FormBuilder }, { type: i3__namespace.EventBus, decorators: [{
14366
+ type: i0.Inject,
14367
+ args: [PIZZAGNA_EVENT_BUS]
14368
+ }] }];
14369
+ }, propDecorators: { componentId: [{
14370
+ type: i0.Input
14371
+ }], tiles: [{
14372
+ type: i0.Input
14373
+ }], nodes: [{
14374
+ type: i0.Input
14375
+ }], formReady: [{
14376
+ type: i0.Output
14377
+ }] } });
14378
+
14379
+ // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
14380
+ //
14381
+ // Permission is hereby granted, free of charge, to any person obtaining a copy
14382
+ // of this software and associated documentation files (the "Software"), to
14383
+ // deal in the Software without restriction, including without limitation the
14384
+ // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
14385
+ // sell copies of the Software, and to permit persons to whom the Software is
14386
+ // furnished to do so, subject to the following conditions:
14387
+ //
14388
+ // The above copyright notice and this permission notice shall be included in
14389
+ // all copies or substantial portions of the Software.
14390
+ //
14391
+ // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14392
+ // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14393
+ // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
14394
+ // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
14395
+ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
14396
+ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
14397
+ // THE SOFTWARE.
14398
+ /**
14399
+ * This is the only way to be notified of the parent form control being "touched"
14400
+ * We replace the parent formControl method with our own implementation that also calls the original function
14401
+ * @param formControl
14402
+ * @param callback Run this callback when the `formControl.markAsTouched` is run
14403
+ */
14404
+ function onMarkAsTouched(formControl, callback) {
14405
+ var origFunc = formControl.markAsTouched;
14406
+ formControl.markAsTouched = function () {
14407
+ // @ts-ignore
14408
+ // eslint-disable-next-line prefer-rest-params
14409
+ origFunc.apply(formControl, arguments);
14410
+ callback();
14411
+ };
14412
+ }
14413
+
14414
+ // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
14415
+ var DescriptionConfigurationV2Component = /** @class */ (function () {
14416
+ function DescriptionConfigurationV2Component(formBuilder, changeDetector) {
14417
+ var _this = this;
14418
+ this.formBuilder = formBuilder;
14130
14419
  this.changeDetector = changeDetector;
14131
14420
  this.isWidthMessageDisplayed = false;
14132
14421
  this.destroy$ = new rxjs.Subject();
@@ -14227,7 +14516,7 @@
14227
14516
  var DEFAULT_TABLE_FORMATTERS = [
14228
14517
  {
14229
14518
  componentType: RawFormatterComponent.lateLoadKey,
14230
- label: $localize(templateObject_1$i || (templateObject_1$i = __makeTemplateObject(["No Formatter"], ["No Formatter"]))),
14519
+ label: $localize(templateObject_1$k || (templateObject_1$k = __makeTemplateObject(["No Formatter"], ["No Formatter"]))),
14231
14520
  dataTypes: {
14232
14521
  // @ts-ignore
14233
14522
  value: null,
@@ -14235,7 +14524,7 @@
14235
14524
  },
14236
14525
  {
14237
14526
  componentType: LinkFormatterComponent.lateLoadKey,
14238
- label: $localize(templateObject_2$b || (templateObject_2$b = __makeTemplateObject(["Link"], ["Link"]))),
14527
+ label: $localize(templateObject_2$c || (templateObject_2$c = __makeTemplateObject(["Link"], ["Link"]))),
14239
14528
  configurationComponent: "LinkConfiguratorComponent",
14240
14529
  dataTypes: {
14241
14530
  value: "label",
@@ -14250,7 +14539,7 @@
14250
14539
  },
14251
14540
  },
14252
14541
  ];
14253
- var templateObject_1$i, templateObject_2$b, templateObject_3$8;
14542
+ var templateObject_1$k, templateObject_2$c, templateObject_3$8;
14254
14543
 
14255
14544
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
14256
14545
  var PresentationConfigurationV2Component = /** @class */ (function () {
@@ -14659,7 +14948,7 @@
14659
14948
  // this can't be "dataFields" because that's an already used name for a property in pizzagna
14660
14949
  this.dataSourceFields = [];
14661
14950
  this.isWidthMessageDisplayed = false;
14662
- this.columnLabel = $localize(templateObject_1$h || (templateObject_1$h = __makeTemplateObject(["Column"], ["Column"])));
14951
+ this.columnLabel = $localize(templateObject_1$j || (templateObject_1$j = __makeTemplateObject(["Column"], ["Column"])));
14663
14952
  this.onDestroy$ = new rxjs.Subject();
14664
14953
  this.form = this.formBuilder.group({
14665
14954
  columns: this.formBuilder.array([]),
@@ -14793,7 +15082,7 @@
14793
15082
  };
14794
15083
  if (confirmation) {
14795
15084
  var dialog = this.dialogService.confirm({
14796
- title: $localize(templateObject_2$a || (templateObject_2$a = __makeTemplateObject(["Are you sure?"], ["Are you sure?"]))),
15085
+ title: $localize(templateObject_2$b || (templateObject_2$b = __makeTemplateObject(["Are you sure?"], ["Are you sure?"]))),
14797
15086
  message: $localize(templateObject_3$7 || (templateObject_3$7 = __makeTemplateObject(["Resetting the columns will revert them to their default configurations. Do you wish to proceed?"], ["Resetting the columns will revert them to their default configurations. Do you wish to proceed?"]))),
14798
15087
  confirmText: $localize(templateObject_4$5 || (templateObject_4$5 = __makeTemplateObject(["Reset Columns"], ["Reset Columns"]))),
14799
15088
  });
@@ -14902,7 +15191,7 @@
14902
15191
  }], formReady: [{
14903
15192
  type: i0.Output
14904
15193
  }] } });
14905
- var templateObject_1$h, templateObject_2$a, templateObject_3$7, templateObject_4$5;
15194
+ var templateObject_1$j, templateObject_2$b, templateObject_3$7, templateObject_4$5;
14906
15195
 
14907
15196
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
14908
15197
  var DescriptionConfigurationComponent = /** @class */ (function () {
@@ -15551,8 +15840,8 @@
15551
15840
  };
15552
15841
  if (confirmation) {
15553
15842
  var dialog = this.dialogService.confirm({
15554
- title: $localize(templateObject_1$g || (templateObject_1$g = __makeTemplateObject(["Are you sure?"], ["Are you sure?"]))),
15555
- message: $localize(templateObject_2$9 || (templateObject_2$9 = __makeTemplateObject(["Resetting the columns will revert them to their default configurations. Do you wish to proceed?"], ["Resetting the columns will revert them to their default configurations. Do you wish to proceed?"]))),
15843
+ title: $localize(templateObject_1$i || (templateObject_1$i = __makeTemplateObject(["Are you sure?"], ["Are you sure?"]))),
15844
+ message: $localize(templateObject_2$a || (templateObject_2$a = __makeTemplateObject(["Resetting the columns will revert them to their default configurations. Do you wish to proceed?"], ["Resetting the columns will revert them to their default configurations. Do you wish to proceed?"]))),
15556
15845
  confirmText: $localize(templateObject_3$6 || (templateObject_3$6 = __makeTemplateObject(["Reset Columns"], ["Reset Columns"]))),
15557
15846
  });
15558
15847
  dialog.result.then(function (result) {
@@ -15617,7 +15906,7 @@
15617
15906
  }], formReady: [{
15618
15907
  type: i0.Output
15619
15908
  }] } });
15620
- var templateObject_1$g, templateObject_2$9, templateObject_3$6;
15909
+ var templateObject_1$i, templateObject_2$a, templateObject_3$6;
15621
15910
 
15622
15911
  var TableFiltersEditorComponent = /** @class */ (function () {
15623
15912
  function TableFiltersEditorComponent(formBuilder, configuratorHeading, changeDetector) {
@@ -15677,14 +15966,14 @@
15677
15966
  if (val.sorterConfiguration) {
15678
15967
  var sortedColumn = (_a = this.columns) === null || _a === void 0 ? void 0 : _a.find(function (col) { return col.id === val.sorterConfiguration.sortBy; });
15679
15968
  if (!sortedColumn) {
15680
- this.selectedSortByValue = $localize(templateObject_1$f || (templateObject_1$f = __makeTemplateObject(["No sorting"], ["No sorting"])));
15969
+ this.selectedSortByValue = $localize(templateObject_1$h || (templateObject_1$h = __makeTemplateObject(["No sorting"], ["No sorting"])));
15681
15970
  this.selectedSortOrderValue = "";
15682
15971
  (_b = this.form
15683
15972
  .get("sorterConfiguration")) === null || _b === void 0 ? void 0 : _b.patchValue({ sortBy: "", descendantSorting: "" }, { emitEvent: false });
15684
15973
  return;
15685
15974
  }
15686
15975
  var sortOrder = val.sorterConfiguration.descendantSorting
15687
- ? $localize(templateObject_2$8 || (templateObject_2$8 = __makeTemplateObject(["Descending"], ["Descending"]))) : $localize(templateObject_3$5 || (templateObject_3$5 = __makeTemplateObject(["Ascending"], ["Ascending"])));
15976
+ ? $localize(templateObject_2$9 || (templateObject_2$9 = __makeTemplateObject(["Descending"], ["Descending"]))) : $localize(templateObject_3$5 || (templateObject_3$5 = __makeTemplateObject(["Ascending"], ["Ascending"])));
15688
15977
  this.selectedSortByValue = sortedColumn.label;
15689
15978
  this.selectedSortOrderValue = ", " + sortOrder;
15690
15979
  this.changeDetector.detectChanges();
@@ -15714,7 +16003,7 @@
15714
16003
  }], formReady: [{
15715
16004
  type: i0.Output
15716
16005
  }] } });
15717
- var templateObject_1$f, templateObject_2$8, templateObject_3$5;
16006
+ var templateObject_1$h, templateObject_2$9, templateObject_3$5;
15718
16007
 
15719
16008
  var TimeseriesSeriesCollectionConfigurationComponent = /** @class */ (function () {
15720
16009
  function TimeseriesSeriesCollectionConfigurationComponent(pizzagnaService, changeDetector, eventBus) {
@@ -16146,6 +16435,7 @@
16146
16435
  DataSourceConfigurationV2Component,
16147
16436
  DataSourceErrorComponent,
16148
16437
  KpiTilesConfigurationComponent,
16438
+ RiskScoreTilesConfigurationComponent,
16149
16439
  EmbeddedContentConfigurationComponent,
16150
16440
  InfoMessageConfigurationComponent,
16151
16441
  ProportionalChartOptionsEditorComponent,
@@ -16171,6 +16461,7 @@
16171
16461
  RawFormatterComponent,
16172
16462
  PercentageFormatterComponent,
16173
16463
  KpiDescriptionConfigurationComponent,
16464
+ RiskScoreTileDescriptionConfigurationComponent,
16174
16465
  ThresholdsConfigurationComponent,
16175
16466
  TitleAndDescriptionConfigurationComponent,
16176
16467
  WidgetConfiguratorSectionComponent,
@@ -16232,6 +16523,7 @@
16232
16523
  DataSourceConfigurationV2Component,
16233
16524
  DataSourceErrorComponent,
16234
16525
  KpiTilesConfigurationComponent,
16526
+ RiskScoreTilesConfigurationComponent,
16235
16527
  EmbeddedContentConfigurationComponent,
16236
16528
  InfoMessageConfigurationComponent,
16237
16529
  ProportionalChartOptionsEditorComponent,
@@ -16257,6 +16549,7 @@
16257
16549
  RawFormatterComponent,
16258
16550
  PercentageFormatterComponent,
16259
16551
  KpiDescriptionConfigurationComponent,
16552
+ RiskScoreTileDescriptionConfigurationComponent,
16260
16553
  ThresholdsConfigurationComponent,
16261
16554
  TitleAndDescriptionConfigurationComponent,
16262
16555
  WidgetConfiguratorSectionComponent,
@@ -16323,6 +16616,7 @@
16323
16616
  DataSourceConfigurationV2Component,
16324
16617
  DataSourceErrorComponent,
16325
16618
  KpiTilesConfigurationComponent,
16619
+ RiskScoreTilesConfigurationComponent,
16326
16620
  EmbeddedContentConfigurationComponent,
16327
16621
  InfoMessageConfigurationComponent,
16328
16622
  ProportionalChartOptionsEditorComponent,
@@ -16348,6 +16642,7 @@
16348
16642
  RawFormatterComponent,
16349
16643
  PercentageFormatterComponent,
16350
16644
  KpiDescriptionConfigurationComponent,
16645
+ RiskScoreTileDescriptionConfigurationComponent,
16351
16646
  ThresholdsConfigurationComponent,
16352
16647
  TitleAndDescriptionConfigurationComponent,
16353
16648
  WidgetConfiguratorSectionComponent,
@@ -16577,11 +16872,11 @@
16577
16872
  args: ["nuiWidgetEditor"]
16578
16873
  }] } });
16579
16874
 
16580
- var _a$l, _b$k, _c$d, _d$a, _e$8;
16875
+ var _a$o, _b$n, _c$f, _d$c, _e$a;
16581
16876
  /* eslint-enable max-len */
16582
- var drilldownConfigurator = (_a$l = {},
16583
- _a$l[exports.PizzagnaLayer.Structure] = (_b$k = {},
16584
- _b$k[DEFAULT_PIZZAGNA_ROOT] = {
16877
+ var drilldownConfigurator = (_a$o = {},
16878
+ _a$o[exports.PizzagnaLayer.Structure] = (_b$n = {},
16879
+ _b$n[DEFAULT_PIZZAGNA_ROOT] = {
16585
16880
  id: DEFAULT_PIZZAGNA_ROOT,
16586
16881
  // base layout of the configurator - all form components referenced herein will be stacked in a column
16587
16882
  componentType: FormStackComponent.lateLoadKey,
@@ -16592,16 +16887,16 @@
16592
16887
  },
16593
16888
  },
16594
16889
  // /presentation
16595
- _b$k.presentation = {
16890
+ _b$n.presentation = {
16596
16891
  id: "presentation",
16597
16892
  componentType: WidgetConfiguratorSectionComponent.lateLoadKey,
16598
16893
  properties: {
16599
- headerText: $localize(templateObject_1$e || (templateObject_1$e = __makeTemplateObject(["Presentation"], ["Presentation"]))),
16894
+ headerText: $localize(templateObject_1$g || (templateObject_1$g = __makeTemplateObject(["Presentation"], ["Presentation"]))),
16600
16895
  nodes: ["titleAndDescription"],
16601
16896
  },
16602
16897
  },
16603
16898
  // /presentation/titleAndDescription
16604
- _b$k.titleAndDescription = {
16899
+ _b$n.titleAndDescription = {
16605
16900
  id: "titleAndDescription",
16606
16901
  componentType: TitleAndDescriptionConfigurationComponent.lateLoadKey,
16607
16902
  providers: {
@@ -16611,24 +16906,24 @@
16611
16906
  },
16612
16907
  },
16613
16908
  // /dataAndCalculations
16614
- _b$k.dataAndCalculations = {
16909
+ _b$n.dataAndCalculations = {
16615
16910
  id: "dataAndCalculations",
16616
16911
  componentType: WidgetConfiguratorSectionComponent.lateLoadKey,
16617
16912
  properties: {
16618
- headerText: $localize(templateObject_2$7 || (templateObject_2$7 = __makeTemplateObject(["Data and calculations"], ["Data and calculations"]))),
16913
+ headerText: $localize(templateObject_2$8 || (templateObject_2$8 = __makeTemplateObject(["Data and calculations"], ["Data and calculations"]))),
16619
16914
  nodes: ["dataSource", "grouping", "entityFormatting"],
16620
16915
  },
16621
16916
  },
16622
- _b$k.dataSource = {
16917
+ _b$n.dataSource = {
16623
16918
  id: "dataSource",
16624
16919
  componentType: DataSourceConfigurationComponent.lateLoadKey,
16625
16920
  properties: {
16626
16921
  // for the DataSourceConfigurationComponent, this defines the list of data sources to pick from
16627
16922
  dataSourceProviders: [],
16628
16923
  },
16629
- providers: (_c$d = {},
16924
+ providers: (_c$f = {},
16630
16925
  // converter transforms the data source metadata between the widget and the form
16631
- _c$d[exports.WellKnownProviders.Converter] = {
16926
+ _c$f[exports.WellKnownProviders.Converter] = {
16632
16927
  providerId: NOVA_GENERIC_CONVERTER,
16633
16928
  properties: {
16634
16929
  formParts: [
@@ -16640,10 +16935,10 @@
16640
16935
  ],
16641
16936
  },
16642
16937
  },
16643
- _c$d),
16938
+ _c$f),
16644
16939
  },
16645
16940
  // /dataAndCalculations/grouping
16646
- _b$k.grouping = {
16941
+ _b$n.grouping = {
16647
16942
  id: "grouping",
16648
16943
  componentType: GroupingConfigurationComponent.lateLoadKey,
16649
16944
  properties: {
@@ -16652,8 +16947,8 @@
16652
16947
  // grouping for the list widget
16653
16948
  groupBy: [],
16654
16949
  },
16655
- providers: (_d$a = {},
16656
- _d$a[exports.WellKnownProviders.Converter] = {
16950
+ providers: (_d$c = {},
16951
+ _d$c[exports.WellKnownProviders.Converter] = {
16657
16952
  providerId: NOVA_GENERIC_CONVERTER,
16658
16953
  properties: {
16659
16954
  formParts: [
@@ -16664,10 +16959,10 @@
16664
16959
  ],
16665
16960
  },
16666
16961
  },
16667
- _d$a),
16962
+ _d$c),
16668
16963
  },
16669
16964
  // /dataAndCalculations/entityFormatting
16670
- _b$k.entityFormatting = {
16965
+ _b$n.entityFormatting = {
16671
16966
  id: "entityFormatting",
16672
16967
  componentType: EntityFormattingConfigurationComponent.lateLoadKey,
16673
16968
  properties: {
@@ -16681,8 +16976,8 @@
16681
16976
  url: "url",
16682
16977
  },
16683
16978
  },
16684
- providers: (_e$8 = {},
16685
- _e$8[exports.WellKnownProviders.Converter] = {
16979
+ providers: (_e$a = {},
16980
+ _e$a[exports.WellKnownProviders.Converter] = {
16686
16981
  providerId: NOVA_GENERIC_CONVERTER,
16687
16982
  properties: {
16688
16983
  formParts: [
@@ -16693,13 +16988,13 @@
16693
16988
  ],
16694
16989
  },
16695
16990
  },
16696
- _e$8),
16991
+ _e$a),
16697
16992
  },
16698
- _b$k),
16699
- _a$l);
16700
- var templateObject_1$e, templateObject_2$7;
16993
+ _b$n),
16994
+ _a$o);
16995
+ var templateObject_1$g, templateObject_2$8;
16701
16996
 
16702
- var _a$k, _b$j, _c$c;
16997
+ var _a$n, _b$m, _c$e;
16703
16998
  /**
16704
16999
  * Component definition for the widget header node
16705
17000
  */
@@ -16716,11 +17011,11 @@
16716
17011
  var WIDGET_LOADING = {
16717
17012
  id: "loading",
16718
17013
  componentType: LoadingComponent.lateLoadKey,
16719
- providers: (_a$k = {},
16720
- _a$k[exports.WellKnownProviders.LoadingAdapter] = {
17014
+ providers: (_a$n = {},
17015
+ _a$n[exports.WellKnownProviders.LoadingAdapter] = {
16721
17016
  providerId: NOVA_LOADING_ADAPTER,
16722
17017
  },
16723
- _a$k),
17018
+ _a$n),
16724
17019
  };
16725
17020
  /**
16726
17021
  * Component configuration definition for the basic widget body node
@@ -16740,25 +17035,25 @@
16740
17035
  * data source error type. Additionally, the node keys may be any string as long as they correspond to an
16741
17036
  * error configuration node defined in the widget structure.
16742
17037
  */
16743
- var ERROR_FALLBACK_MAP = (_b$j = {},
16744
- _b$j[exports.HttpStatusCode.Unknown] = exports.ErrorNodeKey.ErrorUnknown,
16745
- _b$j[exports.HttpStatusCode.Forbidden] = exports.ErrorNodeKey.ErrorForbidden,
16746
- _b$j[exports.HttpStatusCode.NotFound] = exports.ErrorNodeKey.ErrorNotFound,
16747
- _b$j);
17038
+ var ERROR_FALLBACK_MAP = (_b$m = {},
17039
+ _b$m[exports.HttpStatusCode.Unknown] = exports.ErrorNodeKey.ErrorUnknown,
17040
+ _b$m[exports.HttpStatusCode.Forbidden] = exports.ErrorNodeKey.ErrorForbidden,
17041
+ _b$m[exports.HttpStatusCode.NotFound] = exports.ErrorNodeKey.ErrorNotFound,
17042
+ _b$m);
16748
17043
  /**
16749
17044
  * An index of common error configurations
16750
17045
  */
16751
- var ERROR_NODES = (_c$c = {},
16752
- _c$c[exports.ErrorNodeKey.ErrorUnknown] = {
17046
+ var ERROR_NODES = (_c$e = {},
17047
+ _c$e[exports.ErrorNodeKey.ErrorUnknown] = {
16753
17048
  id: exports.ErrorNodeKey.ErrorUnknown,
16754
17049
  componentType: WidgetErrorComponent.lateLoadKey,
16755
17050
  properties: {
16756
17051
  image: "no-data-to-show",
16757
- title: $localize(templateObject_1$d || (templateObject_1$d = __makeTemplateObject(["Whoops, something went wrong"], ["Whoops, something went wrong"]))),
16758
- description: $localize(templateObject_2$6 || (templateObject_2$6 = __makeTemplateObject(["There was an unexpected error."], ["There was an unexpected error."]))),
17052
+ title: $localize(templateObject_1$f || (templateObject_1$f = __makeTemplateObject(["Whoops, something went wrong"], ["Whoops, something went wrong"]))),
17053
+ description: $localize(templateObject_2$7 || (templateObject_2$7 = __makeTemplateObject(["There was an unexpected error."], ["There was an unexpected error."]))),
16759
17054
  },
16760
17055
  },
16761
- _c$c[exports.ErrorNodeKey.ErrorForbidden] = {
17056
+ _c$e[exports.ErrorNodeKey.ErrorForbidden] = {
16762
17057
  id: exports.ErrorNodeKey.ErrorForbidden,
16763
17058
  componentType: WidgetErrorComponent.lateLoadKey,
16764
17059
  properties: {
@@ -16767,7 +17062,7 @@
16767
17062
  description: $localize(templateObject_4$4 || (templateObject_4$4 = __makeTemplateObject(["The requested action was forbidden."], ["The requested action was forbidden."]))),
16768
17063
  },
16769
17064
  },
16770
- _c$c[exports.ErrorNodeKey.ErrorNotFound] = {
17065
+ _c$e[exports.ErrorNodeKey.ErrorNotFound] = {
16771
17066
  id: exports.ErrorNodeKey.ErrorNotFound,
16772
17067
  componentType: WidgetErrorComponent.lateLoadKey,
16773
17068
  properties: {
@@ -16776,7 +17071,7 @@
16776
17071
  description: $localize(templateObject_6$2 || (templateObject_6$2 = __makeTemplateObject(["The requested resource could not be found."], ["The requested resource could not be found."]))),
16777
17072
  },
16778
17073
  },
16779
- _c$c);
17074
+ _c$e);
16780
17075
  /**
16781
17076
  * Retrieves an index of the basic widget body content nodes including fallback nodes
16782
17077
  *
@@ -16806,7 +17101,7 @@
16806
17101
  _a),
16807
17102
  } }, fallbackNodes);
16808
17103
  }
16809
- var templateObject_1$d, templateObject_2$6, templateObject_3$4, templateObject_4$4, templateObject_5$3, templateObject_6$2;
17104
+ var templateObject_1$f, templateObject_2$7, templateObject_3$4, templateObject_4$4, templateObject_5$3, templateObject_6$2;
16810
17105
 
16811
17106
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
16812
17107
  /**
@@ -16835,9 +17130,9 @@
16835
17130
  };
16836
17131
  }
16837
17132
 
16838
- var _a$j, _b$i, _c$b, _d$9;
16839
- var drilldownWidget = (_a$j = {},
16840
- _a$j[exports.PizzagnaLayer.Structure] = Object.assign(Object.assign(Object.assign(Object.assign((_b$i = {}, _b$i[DEFAULT_PIZZAGNA_ROOT] = {
17133
+ var _a$m, _b$l, _c$d, _d$b;
17134
+ var drilldownWidget = (_a$m = {},
17135
+ _a$m[exports.PizzagnaLayer.Structure] = Object.assign(Object.assign(Object.assign(Object.assign((_b$l = {}, _b$l[DEFAULT_PIZZAGNA_ROOT] = {
16841
17136
  id: DEFAULT_PIZZAGNA_ROOT,
16842
17137
  // base layout of the widget - all components referenced herein will be stacked in a column
16843
17138
  componentType: StackComponent.lateLoadKey,
@@ -16845,17 +17140,17 @@
16845
17140
  // these values reference other components in this structure
16846
17141
  nodes: ["header", "loading", "search", "body"],
16847
17142
  },
16848
- providers: (_c$b = {},
17143
+ providers: (_c$d = {},
16849
17144
  // event proxy manages the transmission of events between widget and dashboard
16850
- _c$b[exports.WellKnownProviders.EventProxy] = EVENT_PROXY,
16851
- _c$b),
17145
+ _c$d[exports.WellKnownProviders.EventProxy] = EVENT_PROXY,
17146
+ _c$d),
16852
17147
  },
16853
17148
  // widget header
16854
- _b$i.header = WIDGET_HEADER,
17149
+ _b$l.header = WIDGET_HEADER,
16855
17150
  // this is the loading bar below the header
16856
- _b$i.loading = WIDGET_LOADING,
17151
+ _b$l.loading = WIDGET_LOADING,
16857
17152
  // widget body
16858
- _b$i.body = Object.assign(Object.assign({}, WIDGET_BODY), { properties: Object.assign(Object.assign({}, WIDGET_BODY.properties), { elementClass: "overflow-auto" }) }), _b$i), widgetBodyContentNodes("listWidget")), { search: {
17153
+ _b$l.body = Object.assign(Object.assign({}, WIDGET_BODY), { properties: Object.assign(Object.assign({}, WIDGET_BODY.properties), { elementClass: "overflow-auto" }) }), _b$l), widgetBodyContentNodes("listWidget")), { search: {
16859
17154
  id: "search",
16860
17155
  componentType: WidgetSearchComponent.lateLoadKey,
16861
17156
  } }), widgetBodyContentNodes("mainContent")), { mainContent: {
@@ -16876,21 +17171,21 @@
16876
17171
  elementClass: "w-100 p-3",
16877
17172
  },
16878
17173
  } }),
16879
- _a$j[exports.PizzagnaLayer.Configuration] = (_d$9 = {},
16880
- _d$9[DEFAULT_PIZZAGNA_ROOT] = {
17174
+ _a$m[exports.PizzagnaLayer.Configuration] = (_d$b = {},
17175
+ _d$b[DEFAULT_PIZZAGNA_ROOT] = {
16881
17176
  id: DEFAULT_PIZZAGNA_ROOT,
16882
17177
  },
16883
17178
  // default header configuration
16884
- _d$9.header = {
17179
+ _d$b.header = {
16885
17180
  properties: {
16886
- title: $localize(templateObject_1$c || (templateObject_1$c = __makeTemplateObject(["Empty Custom Widget"], ["Empty Custom Widget"]))),
17181
+ title: $localize(templateObject_1$e || (templateObject_1$e = __makeTemplateObject(["Empty Custom Widget"], ["Empty Custom Widget"]))),
16887
17182
  },
16888
17183
  },
16889
- _d$9),
16890
- _a$j);
16891
- var templateObject_1$c;
17184
+ _d$b),
17185
+ _a$m);
17186
+ var templateObject_1$e;
16892
17187
 
16893
- var _a$i, _b$h;
17188
+ var _a$l, _b$k;
16894
17189
  /***********************************************************************************************************
16895
17190
  * Drilldown widget definition starts here
16896
17191
  ***********************************************************************************************************/
@@ -16899,14 +17194,14 @@
16899
17194
  * Paths to important settings in this type definition
16900
17195
  ***************************************************************************************************/
16901
17196
  paths: {
16902
- widget: (_a$i = {},
16903
- _a$i[exports.WellKnownPathKey.Root] = DEFAULT_PIZZAGNA_ROOT,
16904
- _a$i),
16905
- configurator: (_b$h = {},
16906
- _b$h[exports.WellKnownPathKey.Root] = DEFAULT_PIZZAGNA_ROOT,
17197
+ widget: (_a$l = {},
17198
+ _a$l[exports.WellKnownPathKey.Root] = DEFAULT_PIZZAGNA_ROOT,
17199
+ _a$l),
17200
+ configurator: (_b$k = {},
17201
+ _b$k[exports.WellKnownPathKey.Root] = DEFAULT_PIZZAGNA_ROOT,
16907
17202
  // for the default data source configuration component, this changes the list of data sources to pick from
16908
- _b$h[exports.WellKnownPathKey.DataSourceProviders] = "dataSource.properties.dataSourceProviders",
16909
- _b$h),
17203
+ _b$k[exports.WellKnownPathKey.DataSourceProviders] = "dataSource.properties.dataSourceProviders",
17204
+ _b$k),
16910
17205
  },
16911
17206
  /***************************************************************************************************
16912
17207
  * Widget section describes the structural part of the KPI widget
@@ -16918,11 +17213,11 @@
16918
17213
  configurator: drilldownConfigurator,
16919
17214
  };
16920
17215
 
16921
- var _a$h, _b$g, _c$a;
17216
+ var _a$k, _b$j, _c$c;
16922
17217
  /* eslint-enable max-len */
16923
- var embeddedContentConfigurator = (_a$h = {},
16924
- _a$h[exports.PizzagnaLayer.Structure] = (_b$g = {},
16925
- _b$g[DEFAULT_PIZZAGNA_ROOT] = {
17218
+ var embeddedContentConfigurator = (_a$k = {},
17219
+ _a$k[exports.PizzagnaLayer.Structure] = (_b$j = {},
17220
+ _b$j[DEFAULT_PIZZAGNA_ROOT] = {
16926
17221
  id: DEFAULT_PIZZAGNA_ROOT,
16927
17222
  // base layout of the configurator - all form components referenced herein will be stacked in a column
16928
17223
  componentType: FormStackComponent.lateLoadKey,
@@ -16933,16 +17228,16 @@
16933
17228
  },
16934
17229
  },
16935
17230
  // /presentation
16936
- _b$g.presentation = {
17231
+ _b$j.presentation = {
16937
17232
  id: "presentation",
16938
17233
  componentType: WidgetConfiguratorSectionComponent.lateLoadKey,
16939
17234
  properties: {
16940
- headerText: $localize(templateObject_1$b || (templateObject_1$b = __makeTemplateObject(["Presentation"], ["Presentation"]))),
17235
+ headerText: $localize(templateObject_1$d || (templateObject_1$d = __makeTemplateObject(["Presentation"], ["Presentation"]))),
16941
17236
  nodes: ["titleAndDescription"],
16942
17237
  },
16943
17238
  },
16944
17239
  // /presentation/titleAndDescription
16945
- _b$g.titleAndDescription = {
17240
+ _b$j.titleAndDescription = {
16946
17241
  id: "titleAndDescription",
16947
17242
  componentType: TitleAndDescriptionConfigurationComponent.lateLoadKey,
16948
17243
  providers: {
@@ -16952,16 +17247,16 @@
16952
17247
  },
16953
17248
  },
16954
17249
  // /customConfig
16955
- _b$g.customConfig = {
17250
+ _b$j.customConfig = {
16956
17251
  id: "customConfig",
16957
17252
  componentType: WidgetConfiguratorSectionComponent.lateLoadKey,
16958
17253
  properties: {
16959
- headerText: $localize(templateObject_2$5 || (templateObject_2$5 = __makeTemplateObject(["Custom Widget Configuration"], ["Custom Widget Configuration"]))),
17254
+ headerText: $localize(templateObject_2$6 || (templateObject_2$6 = __makeTemplateObject(["Custom Widget Configuration"], ["Custom Widget Configuration"]))),
16960
17255
  nodes: ["embeddedContentSelection"],
16961
17256
  },
16962
17257
  },
16963
17258
  // /customConfig/embeddedContentSelection
16964
- _b$g.embeddedContentSelection = {
17259
+ _b$j.embeddedContentSelection = {
16965
17260
  id: "embeddedContentSelection",
16966
17261
  componentType: EmbeddedContentConfigurationComponent.lateLoadKey,
16967
17262
  properties: {
@@ -16979,9 +17274,9 @@
16979
17274
  },
16980
17275
  },
16981
17276
  },
16982
- providers: (_c$a = {},
17277
+ providers: (_c$c = {},
16983
17278
  // converter transforms the data between the widget and the form
16984
- _c$a[exports.WellKnownProviders.Converter] = {
17279
+ _c$c[exports.WellKnownProviders.Converter] = {
16985
17280
  providerId: NOVA_GENERIC_CONVERTER,
16986
17281
  properties: {
16987
17282
  formParts: [
@@ -16997,34 +17292,34 @@
16997
17292
  ],
16998
17293
  },
16999
17294
  },
17000
- _c$a),
17295
+ _c$c),
17001
17296
  },
17002
- _b$g),
17003
- _a$h);
17004
- var templateObject_1$b, templateObject_2$5;
17297
+ _b$j),
17298
+ _a$k);
17299
+ var templateObject_1$d, templateObject_2$6;
17005
17300
 
17006
- var _a$g, _b$f, _c$9;
17007
- var embeddedContentWidget = (_a$g = {},
17008
- _a$g[exports.PizzagnaLayer.Structure] = Object.assign(Object.assign((_b$f = {}, _b$f[DEFAULT_PIZZAGNA_ROOT] = {
17301
+ var _a$j, _b$i, _c$b;
17302
+ var embeddedContentWidget = (_a$j = {},
17303
+ _a$j[exports.PizzagnaLayer.Structure] = Object.assign(Object.assign((_b$i = {}, _b$i[DEFAULT_PIZZAGNA_ROOT] = {
17009
17304
  id: DEFAULT_PIZZAGNA_ROOT,
17010
17305
  // base layout of the widget - all components referenced herein will be stacked in a column
17011
17306
  componentType: StackComponent.lateLoadKey,
17012
- providers: (_c$9 = {},
17307
+ providers: (_c$b = {},
17013
17308
  // When enabled, this provider emits the REFRESH event on the pizzagna event bus every X seconds
17014
- _c$9[exports.WellKnownProviders.Refresher] = refresher(),
17309
+ _c$b[exports.WellKnownProviders.Refresher] = refresher(),
17015
17310
  // event proxy manages the transmission of events between widget and dashboard
17016
- _c$9[exports.WellKnownProviders.EventProxy] = EVENT_PROXY,
17017
- _c$9),
17311
+ _c$b[exports.WellKnownProviders.EventProxy] = EVENT_PROXY,
17312
+ _c$b),
17018
17313
  properties: {
17019
17314
  nodes: ["header", "loading", "body"],
17020
17315
  },
17021
17316
  },
17022
17317
  // widget header
17023
- _b$f.header = WIDGET_HEADER,
17318
+ _b$i.header = WIDGET_HEADER,
17024
17319
  // this is the loading bar below the header
17025
- _b$f.loading = WIDGET_LOADING,
17320
+ _b$i.loading = WIDGET_LOADING,
17026
17321
  // widget body
17027
- _b$f.body = WIDGET_BODY, _b$f), widgetBodyContentNodes("mainContent")), {
17322
+ _b$i.body = WIDGET_BODY, _b$i), widgetBodyContentNodes("mainContent")), {
17028
17323
  // the main content node specifying a component that manages layout of the KPI tiles in a CSS grid
17029
17324
  mainContent: {
17030
17325
  id: "mainContent",
@@ -17034,18 +17329,18 @@
17034
17329
  },
17035
17330
  }
17036
17331
  }),
17037
- _a$g[exports.PizzagnaLayer.Configuration] = {
17332
+ _a$j[exports.PizzagnaLayer.Configuration] = {
17038
17333
  // default header configuration
17039
17334
  header: {
17040
17335
  properties: {
17041
- title: $localize(templateObject_1$a || (templateObject_1$a = __makeTemplateObject(["Empty Embedded Content Widget"], ["Empty Embedded Content Widget"]))),
17336
+ title: $localize(templateObject_1$c || (templateObject_1$c = __makeTemplateObject(["Empty Embedded Content Widget"], ["Empty Embedded Content Widget"]))),
17042
17337
  },
17043
17338
  },
17044
17339
  },
17045
- _a$g);
17046
- var templateObject_1$a;
17340
+ _a$j);
17341
+ var templateObject_1$c;
17047
17342
 
17048
- var _a$f, _b$e;
17343
+ var _a$i, _b$h;
17049
17344
  /***********************************************************************************************************
17050
17345
  * EmbeddedContent widget definition starts here
17051
17346
  ***********************************************************************************************************/
@@ -17054,12 +17349,12 @@
17054
17349
  * Paths to important settings in this type definition
17055
17350
  ***************************************************************************************************/
17056
17351
  paths: {
17057
- widget: (_a$f = {},
17058
- _a$f[exports.WellKnownPathKey.Root] = DEFAULT_PIZZAGNA_ROOT,
17059
- _a$f),
17060
- configurator: (_b$e = {},
17061
- _b$e[exports.WellKnownPathKey.Root] = DEFAULT_PIZZAGNA_ROOT,
17062
- _b$e),
17352
+ widget: (_a$i = {},
17353
+ _a$i[exports.WellKnownPathKey.Root] = DEFAULT_PIZZAGNA_ROOT,
17354
+ _a$i),
17355
+ configurator: (_b$h = {},
17356
+ _b$h[exports.WellKnownPathKey.Root] = DEFAULT_PIZZAGNA_ROOT,
17357
+ _b$h),
17063
17358
  },
17064
17359
  /***************************************************************************************************
17065
17360
  * Widget section describes the structural part of the widget
@@ -17071,15 +17366,15 @@
17071
17366
  configurator: embeddedContentConfigurator,
17072
17367
  };
17073
17368
 
17074
- var _a$e;
17369
+ var _a$h;
17075
17370
  /**
17076
17371
  * Component configuration for the refresher configurator node
17077
17372
  */
17078
17373
  var REFRESHER_CONFIGURATOR = {
17079
17374
  id: "refresher",
17080
17375
  componentType: RefresherConfigurationComponent.lateLoadKey,
17081
- providers: (_a$e = {},
17082
- _a$e[exports.WellKnownProviders.Converter] = {
17376
+ providers: (_a$h = {},
17377
+ _a$h[exports.WellKnownProviders.Converter] = {
17083
17378
  providerId: NOVA_GENERIC_CONVERTER,
17084
17379
  properties: {
17085
17380
  formParts: [
@@ -17094,18 +17389,18 @@
17094
17389
  ],
17095
17390
  },
17096
17391
  },
17097
- _a$e),
17392
+ _a$h),
17098
17393
  properties: {
17099
17394
  overrideDefaultSettings: false,
17100
17395
  },
17101
17396
  };
17102
17397
 
17103
- var _a$d, _b$d, _c$8, _d$8, _e$7, _f$7, _g$2, _h$1, _j;
17398
+ var _a$g, _b$g, _c$a, _d$a, _e$9, _f$9, _g$3, _h$1, _j;
17104
17399
  /* eslint-enable max-len */
17105
17400
  var DEFAULT_KPI_FORMATTERS = [
17106
17401
  {
17107
17402
  componentType: RawFormatterComponent.lateLoadKey,
17108
- label: $localize(templateObject_1$9 || (templateObject_1$9 = __makeTemplateObject(["Raw Formatter"], ["Raw Formatter"]))),
17403
+ label: $localize(templateObject_1$b || (templateObject_1$b = __makeTemplateObject(["Raw Formatter"], ["Raw Formatter"]))),
17109
17404
  dataTypes: {
17110
17405
  // @ts-ignore
17111
17406
  value: null,
@@ -17113,7 +17408,7 @@
17113
17408
  },
17114
17409
  {
17115
17410
  componentType: SiUnitsFormatterComponent.lateLoadKey,
17116
- label: $localize(templateObject_2$4 || (templateObject_2$4 = __makeTemplateObject(["Si Units Formatter"], ["Si Units Formatter"]))),
17411
+ label: $localize(templateObject_2$5 || (templateObject_2$5 = __makeTemplateObject(["Si Units Formatter"], ["Si Units Formatter"]))),
17117
17412
  dataTypes: {
17118
17413
  // @ts-ignore
17119
17414
  value: null,
@@ -17128,9 +17423,9 @@
17128
17423
  },
17129
17424
  },
17130
17425
  ];
17131
- var kpiConfigurator = (_a$d = {},
17132
- _a$d[exports.PizzagnaLayer.Structure] = (_b$d = {},
17133
- _b$d[DEFAULT_PIZZAGNA_ROOT] = {
17426
+ var kpiConfigurator = (_a$g = {},
17427
+ _a$g[exports.PizzagnaLayer.Structure] = (_b$g = {},
17428
+ _b$g[DEFAULT_PIZZAGNA_ROOT] = {
17134
17429
  id: DEFAULT_PIZZAGNA_ROOT,
17135
17430
  // base layout of the configurator - all form components referenced herein will be stacked in a column
17136
17431
  componentType: FormStackComponent.lateLoadKey,
@@ -17139,14 +17434,14 @@
17139
17434
  // references to other components laid out in this form
17140
17435
  nodes: ["presentation", "tiles"],
17141
17436
  },
17142
- providers: (_c$8 = {},
17143
- _c$8[exports.WellKnownProviders.FormattersRegistry] = {
17437
+ providers: (_c$a = {},
17438
+ _c$a[exports.WellKnownProviders.FormattersRegistry] = {
17144
17439
  providerId: NOVA_KPI_FORMATTERS_REGISTRY,
17145
17440
  },
17146
- _c$8),
17441
+ _c$a),
17147
17442
  },
17148
17443
  // /presentation
17149
- _b$d.presentation = {
17444
+ _b$g.presentation = {
17150
17445
  id: "presentation",
17151
17446
  componentType: WidgetConfiguratorSectionComponent.lateLoadKey,
17152
17447
  properties: {
@@ -17155,7 +17450,7 @@
17155
17450
  },
17156
17451
  },
17157
17452
  // /presentation/titleAndDescription
17158
- _b$d.titleAndDescription = {
17453
+ _b$g.titleAndDescription = {
17159
17454
  id: "titleAndDescription",
17160
17455
  componentType: TitleAndDescriptionConfigurationComponent.lateLoadKey,
17161
17456
  providers: {
@@ -17164,9 +17459,9 @@
17164
17459
  },
17165
17460
  },
17166
17461
  },
17167
- _b$d.refresher = REFRESHER_CONFIGURATOR,
17462
+ _b$g.refresher = REFRESHER_CONFIGURATOR,
17168
17463
  // /tiles
17169
- _b$d.tiles = {
17464
+ _b$g.tiles = {
17170
17465
  id: "tiles",
17171
17466
  componentType: KpiTilesConfigurationComponent.lateLoadKey,
17172
17467
  properties: {
@@ -17180,9 +17475,9 @@
17180
17475
  configurableUnits: true,
17181
17476
  backgroundColors: __spreadArray([], __read(DEFAULT_KPI_BACKGROUND_COLORS)),
17182
17477
  },
17183
- providers: (_d$8 = {},
17478
+ providers: (_d$a = {},
17184
17479
  // converter transforms the data between the widget and the form
17185
- _d$8[exports.WellKnownProviders.Converter] = {
17480
+ _d$a[exports.WellKnownProviders.Converter] = {
17186
17481
  providerId: NOVA_KPI_SECTION_CONVERTER,
17187
17482
  properties: {
17188
17483
  formParts: [
@@ -17197,7 +17492,7 @@
17197
17492
  ],
17198
17493
  },
17199
17494
  },
17200
- _d$8),
17495
+ _d$a),
17201
17496
  },
17202
17497
  {
17203
17498
  // data source configuration section
@@ -17208,9 +17503,9 @@
17208
17503
  dataSourceProviders: [],
17209
17504
  errorComponent: DataSourceErrorComponent.lateLoadKey,
17210
17505
  },
17211
- providers: (_e$7 = {},
17506
+ providers: (_e$9 = {},
17212
17507
  // converter transforms the data source metadata between the widget and the form
17213
- _e$7[exports.WellKnownProviders.Converter] = {
17508
+ _e$9[exports.WellKnownProviders.Converter] = {
17214
17509
  providerId: NOVA_KPI_SECTION_CONVERTER,
17215
17510
  properties: {
17216
17511
  formParts: [
@@ -17228,7 +17523,7 @@
17228
17523
  ],
17229
17524
  },
17230
17525
  },
17231
- _e$7[exports.WellKnownProviders.Broadcaster] = {
17526
+ _e$9[exports.WellKnownProviders.Broadcaster] = {
17232
17527
  providerId: NOVA_PIZZAGNA_BROADCASTER,
17233
17528
  properties: {
17234
17529
  configs: [
@@ -17242,15 +17537,15 @@
17242
17537
  ],
17243
17538
  },
17244
17539
  },
17245
- _e$7),
17540
+ _e$9),
17246
17541
  },
17247
17542
  {
17248
17543
  // thresholds configuration section
17249
17544
  id: "thresholds",
17250
17545
  componentType: ThresholdsConfigurationComponent.lateLoadKey,
17251
- providers: (_f$7 = {},
17546
+ providers: (_f$9 = {},
17252
17547
  // converter transforms the data between the widget and the form
17253
- _f$7[exports.WellKnownProviders.Converter] = {
17548
+ _f$9[exports.WellKnownProviders.Converter] = {
17254
17549
  providerId: NOVA_KPI_SECTION_CONVERTER,
17255
17550
  properties: {
17256
17551
  formParts: [
@@ -17267,7 +17562,7 @@
17267
17562
  ],
17268
17563
  },
17269
17564
  },
17270
- _f$7),
17565
+ _f$9),
17271
17566
  },
17272
17567
  {
17273
17568
  id: "backgroundColorRules",
@@ -17275,8 +17570,8 @@
17275
17570
  properties: {
17276
17571
  backgroundColors: __spreadArray([], __read(DEFAULT_KPI_BACKGROUND_COLORS)),
17277
17572
  },
17278
- providers: (_g$2 = {},
17279
- _g$2[exports.WellKnownProviders.Converter] = {
17573
+ providers: (_g$3 = {},
17574
+ _g$3[exports.WellKnownProviders.Converter] = {
17280
17575
  providerId: NOVA_KPI_SECTION_CONVERTER,
17281
17576
  properties: {
17282
17577
  formParts: [
@@ -17287,7 +17582,7 @@
17287
17582
  ],
17288
17583
  },
17289
17584
  },
17290
- _g$2),
17585
+ _g$3),
17291
17586
  },
17292
17587
  {
17293
17588
  id: "formatting",
@@ -17329,32 +17624,32 @@
17329
17624
  },
17330
17625
  _j),
17331
17626
  },
17332
- _b$d),
17333
- _a$d);
17334
- var templateObject_1$9, templateObject_2$4, templateObject_3$3, templateObject_4$3;
17627
+ _b$g),
17628
+ _a$g);
17629
+ var templateObject_1$b, templateObject_2$5, templateObject_3$3, templateObject_4$3;
17335
17630
 
17336
- var _a$c, _b$c, _c$7, _d$7, _e$6, _f$6;
17337
- var kpiWidget = (_a$c = {},
17338
- _a$c[exports.PizzagnaLayer.Structure] = Object.assign(Object.assign((_b$c = {}, _b$c[DEFAULT_PIZZAGNA_ROOT] = {
17631
+ var _a$f, _b$f, _c$9, _d$9, _e$8, _f$8;
17632
+ var kpiWidget = (_a$f = {},
17633
+ _a$f[exports.PizzagnaLayer.Structure] = Object.assign(Object.assign((_b$f = {}, _b$f[DEFAULT_PIZZAGNA_ROOT] = {
17339
17634
  id: DEFAULT_PIZZAGNA_ROOT,
17340
17635
  // base layout of the widget - all components referenced herein will be stacked in a column
17341
17636
  componentType: StackComponent.lateLoadKey,
17342
- providers: (_c$7 = {},
17637
+ providers: (_c$9 = {},
17343
17638
  // When enabled, this provider emits the REFRESH event on the pizzagna event bus every X seconds
17344
- _c$7[exports.WellKnownProviders.Refresher] = refresher(),
17639
+ _c$9[exports.WellKnownProviders.Refresher] = refresher(),
17345
17640
  // event proxy manages the transmission of events between widget and dashboard
17346
- _c$7[exports.WellKnownProviders.EventProxy] = EVENT_PROXY,
17347
- _c$7),
17641
+ _c$9[exports.WellKnownProviders.EventProxy] = EVENT_PROXY,
17642
+ _c$9),
17348
17643
  properties: {
17349
17644
  nodes: ["header", "loading", "body"],
17350
17645
  },
17351
17646
  },
17352
17647
  // widget header
17353
- _b$c.header = WIDGET_HEADER,
17648
+ _b$f.header = WIDGET_HEADER,
17354
17649
  // this is the loading bar below the header
17355
- _b$c.loading = WIDGET_LOADING,
17650
+ _b$f.loading = WIDGET_LOADING,
17356
17651
  // widget body
17357
- _b$c.body = Object.assign(Object.assign({}, WIDGET_BODY), { properties: Object.assign(Object.assign({}, WIDGET_BODY.properties), { elementClass: "overflow-hidden" }) }), _b$c), widgetBodyContentNodes("tiles", NOVA_KPI_STATUS_CONTENT_FALLBACK_ADAPTER)), {
17652
+ _b$f.body = Object.assign(Object.assign({}, WIDGET_BODY), { properties: Object.assign(Object.assign({}, WIDGET_BODY.properties), { elementClass: "overflow-hidden" }) }), _b$f), widgetBodyContentNodes("tiles", NOVA_KPI_STATUS_CONTENT_FALLBACK_ADAPTER)), {
17358
17653
  // the main content node specifying a component that manages layout of the KPI tiles in a CSS grid
17359
17654
  tiles: {
17360
17655
  id: "tiles",
@@ -17363,18 +17658,18 @@
17363
17658
  elementClass: "flex-grow-1 pt-2 px-3 pb-3 w-100",
17364
17659
  template: {
17365
17660
  componentType: KpiComponent.lateLoadKey,
17366
- providers: (_d$7 = {},
17367
- _d$7[exports.WellKnownProviders.KpiColorPrioritizer] = {
17661
+ providers: (_d$9 = {},
17662
+ _d$9[exports.WellKnownProviders.KpiColorPrioritizer] = {
17368
17663
  providerId: NOVA_KPI_COLOR_PRIORITIZER,
17369
17664
  properties: {},
17370
17665
  },
17371
- _d$7[exports.WellKnownProviders.Adapter] = {
17666
+ _d$9[exports.WellKnownProviders.Adapter] = {
17372
17667
  providerId: NOVA_KPI_DATASOURCE_ADAPTER,
17373
17668
  properties: {
17374
17669
  propertyPath: "widgetData",
17375
17670
  },
17376
17671
  },
17377
- _d$7),
17672
+ _d$9),
17378
17673
  properties: {
17379
17674
  elementClass: "flex-grow-1",
17380
17675
  },
@@ -17382,27 +17677,27 @@
17382
17677
  },
17383
17678
  }
17384
17679
  }),
17385
- _a$c[exports.PizzagnaLayer.Configuration] = (_e$6 = {},
17386
- _e$6[DEFAULT_PIZZAGNA_ROOT] = {
17680
+ _a$f[exports.PizzagnaLayer.Configuration] = (_e$8 = {},
17681
+ _e$8[DEFAULT_PIZZAGNA_ROOT] = {
17387
17682
  id: DEFAULT_PIZZAGNA_ROOT,
17388
- providers: (_f$6 = {},
17683
+ providers: (_f$8 = {},
17389
17684
  // default refresher configuration
17390
- _f$6[exports.WellKnownProviders.Refresher] = refresher(false, 60),
17391
- _f$6),
17685
+ _f$8[exports.WellKnownProviders.Refresher] = refresher(false, 60),
17686
+ _f$8),
17392
17687
  },
17393
17688
  // default header configuration
17394
- _e$6.header = {
17689
+ _e$8.header = {
17395
17690
  properties: {
17396
- title: $localize(templateObject_1$8 || (templateObject_1$8 = __makeTemplateObject(["Empty KPI Widget"], ["Empty KPI Widget"]))),
17691
+ title: $localize(templateObject_1$a || (templateObject_1$a = __makeTemplateObject(["Empty KPI Widget"], ["Empty KPI Widget"]))),
17397
17692
  },
17398
17693
  },
17399
- _e$6),
17400
- _a$c);
17401
- var templateObject_1$8;
17694
+ _e$8),
17695
+ _a$f);
17696
+ var templateObject_1$a;
17402
17697
 
17403
- var _a$b, _b$b;
17404
- var tileDescriptionConfiguratorTemplatePath = "tiles.properties.template[0]";
17405
- var dataSourceConfiguratorTemplatePath = "tiles.properties.template[1]";
17698
+ var _a$e, _b$e;
17699
+ var tileDescriptionConfiguratorTemplatePath$1 = "tiles.properties.template[0]";
17700
+ var dataSourceConfiguratorTemplatePath$1 = "tiles.properties.template[1]";
17406
17701
  var backgroundColorRulesConfiguratorTemplatePath = "tiles.properties.template[3]";
17407
17702
  /***********************************************************************************************************
17408
17703
  * KPI widget definition starts here
@@ -17412,22 +17707,22 @@
17412
17707
  * Paths to important settings in this type definition
17413
17708
  ***************************************************************************************************/
17414
17709
  paths: {
17415
- widget: (_a$b = {},
17416
- _a$b[exports.WellKnownPathKey.Root] = DEFAULT_PIZZAGNA_ROOT,
17417
- _a$b),
17418
- configurator: (_b$b = {},
17419
- _b$b[exports.WellKnownPathKey.Root] = DEFAULT_PIZZAGNA_ROOT,
17710
+ widget: (_a$e = {},
17711
+ _a$e[exports.WellKnownPathKey.Root] = DEFAULT_PIZZAGNA_ROOT,
17712
+ _a$e),
17713
+ configurator: (_b$e = {},
17714
+ _b$e[exports.WellKnownPathKey.Root] = DEFAULT_PIZZAGNA_ROOT,
17420
17715
  // this points at the component type you need to change if you want to change the component for data source configuration
17421
- _b$b[exports.WellKnownPathKey.DataSourceConfigComponentType] = dataSourceConfiguratorTemplatePath + ".componentType",
17716
+ _b$e[exports.WellKnownPathKey.DataSourceConfigComponentType] = dataSourceConfiguratorTemplatePath$1 + ".componentType",
17422
17717
  // this points at the component type you need to change if you want to change the component for tile description configuration
17423
- _b$b[exports.WellKnownPathKey.TileDescriptionConfigComponentType] = tileDescriptionConfiguratorTemplatePath + ".componentType",
17718
+ _b$e[exports.WellKnownPathKey.TileDescriptionConfigComponentType] = tileDescriptionConfiguratorTemplatePath$1 + ".componentType",
17424
17719
  // for the default data source configuration component, this changes the list of data sources to pick from
17425
- _b$b[exports.WellKnownPathKey.DataSourceProviders] = dataSourceConfiguratorTemplatePath + ".properties.dataSourceProviders",
17720
+ _b$e[exports.WellKnownPathKey.DataSourceProviders] = dataSourceConfiguratorTemplatePath$1 + ".properties.dataSourceProviders",
17426
17721
  // this points to the Tile's description background color picker
17427
- _b$b[exports.WellKnownPathKey.TileDescriptionBackgroundColors] = tileDescriptionConfiguratorTemplatePath + ".properties.backgroundColors",
17722
+ _b$e[exports.WellKnownPathKey.TileDescriptionBackgroundColors] = tileDescriptionConfiguratorTemplatePath$1 + ".properties.backgroundColors",
17428
17723
  // this points to the Background Color Rules background color picker
17429
- _b$b[exports.WellKnownPathKey.TileBackgroundColorRulesBackgroundColors] = backgroundColorRulesConfiguratorTemplatePath + ".properties.backgroundColors",
17430
- _b$b),
17724
+ _b$e[exports.WellKnownPathKey.TileBackgroundColorRulesBackgroundColors] = backgroundColorRulesConfiguratorTemplatePath + ".properties.backgroundColors",
17725
+ _b$e),
17431
17726
  },
17432
17727
  /***************************************************************************************************
17433
17728
  * Widget section describes the structural part of the KPI widget
@@ -17439,42 +17734,42 @@
17439
17734
  configurator: kpiConfigurator,
17440
17735
  };
17441
17736
 
17442
- var _a$a, _b$a, _c$6, _d$6;
17737
+ var _a$d, _b$d, _c$8, _d$8;
17443
17738
  var previewPlaceholder = {
17444
17739
  paths: {
17445
- widget: (_a$a = {},
17446
- _a$a[exports.WellKnownPathKey.Root] = DEFAULT_PIZZAGNA_ROOT,
17447
- _a$a),
17448
- configurator: (_b$a = {},
17449
- _b$a[exports.WellKnownPathKey.Root] = DEFAULT_PIZZAGNA_ROOT,
17450
- _b$a),
17740
+ widget: (_a$d = {},
17741
+ _a$d[exports.WellKnownPathKey.Root] = DEFAULT_PIZZAGNA_ROOT,
17742
+ _a$d),
17743
+ configurator: (_b$d = {},
17744
+ _b$d[exports.WellKnownPathKey.Root] = DEFAULT_PIZZAGNA_ROOT,
17745
+ _b$d),
17451
17746
  },
17452
- widget: (_c$6 = {},
17453
- _c$6[exports.PizzagnaLayer.Structure] = (_d$6 = {},
17454
- _d$6[DEFAULT_PIZZAGNA_ROOT] = {
17747
+ widget: (_c$8 = {},
17748
+ _c$8[exports.PizzagnaLayer.Structure] = (_d$8 = {},
17749
+ _d$8[DEFAULT_PIZZAGNA_ROOT] = {
17455
17750
  id: DEFAULT_PIZZAGNA_ROOT,
17456
17751
  componentType: StackComponent.lateLoadKey,
17457
17752
  properties: {
17458
17753
  nodes: ["header", "body"],
17459
17754
  },
17460
17755
  },
17461
- _d$6.header = WIDGET_HEADER,
17462
- _d$6.body = WIDGET_BODY,
17463
- _d$6.bodyContent = {
17756
+ _d$8.header = WIDGET_HEADER,
17757
+ _d$8.body = WIDGET_BODY,
17758
+ _d$8.bodyContent = {
17464
17759
  id: "bodyContent",
17465
17760
  componentType: PreviewPlaceholderComponent.lateLoadKey,
17466
17761
  },
17467
- _d$6),
17468
- _c$6[exports.PizzagnaLayer.Configuration] = {
17762
+ _d$8),
17763
+ _c$8[exports.PizzagnaLayer.Configuration] = {
17469
17764
  header: {
17470
17765
  properties: {
17471
- title: $localize(templateObject_1$7 || (templateObject_1$7 = __makeTemplateObject(["New Widget"], ["New Widget"]))),
17766
+ title: $localize(templateObject_1$9 || (templateObject_1$9 = __makeTemplateObject(["New Widget"], ["New Widget"]))),
17472
17767
  },
17473
17768
  },
17474
17769
  },
17475
- _c$6),
17770
+ _c$8),
17476
17771
  };
17477
- var templateObject_1$7;
17772
+ var templateObject_1$9;
17478
17773
 
17479
17774
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
17480
17775
  var fieldMapper = function (origin, properties) {
@@ -17532,12 +17827,12 @@
17532
17827
  };
17533
17828
  sumAggregator.aggregatorType = "sumAggregator";
17534
17829
 
17535
- var _a$9, _b$9, _c$5, _d$5, _e$5, _f$5;
17830
+ var _a$c, _b$c, _c$7, _d$7, _e$7, _f$7;
17536
17831
  /* eslint-enable max-len */
17537
17832
  var DEFAULT_LEGEND_FORMATTERS = [
17538
17833
  {
17539
17834
  componentType: "",
17540
- label: $localize(templateObject_1$6 || (templateObject_1$6 = __makeTemplateObject(["Raw Formatter"], ["Raw Formatter"]))),
17835
+ label: $localize(templateObject_1$8 || (templateObject_1$8 = __makeTemplateObject(["Raw Formatter"], ["Raw Formatter"]))),
17541
17836
  dataTypes: {
17542
17837
  // @ts-ignore
17543
17838
  value: null,
@@ -17545,7 +17840,7 @@
17545
17840
  },
17546
17841
  {
17547
17842
  componentType: StatusWithIconFormatterComponent.lateLoadKey,
17548
- label: $localize(templateObject_2$3 || (templateObject_2$3 = __makeTemplateObject(["Status With Icon"], ["Status With Icon"]))),
17843
+ label: $localize(templateObject_2$4 || (templateObject_2$4 = __makeTemplateObject(["Status With Icon"], ["Status With Icon"]))),
17549
17844
  dataTypes: {
17550
17845
  // @ts-ignore
17551
17846
  value: null,
@@ -17618,9 +17913,9 @@
17618
17913
  configurationComponent: FieldMapperAggregatorConfiguratorComponent.lateLoadKey,
17619
17914
  },
17620
17915
  ];
17621
- var proportionalConfigurator = (_a$9 = {},
17622
- _a$9[exports.PizzagnaLayer.Structure] = (_b$9 = {},
17623
- _b$9[DEFAULT_PIZZAGNA_ROOT] = {
17916
+ var proportionalConfigurator = (_a$c = {},
17917
+ _a$c[exports.PizzagnaLayer.Structure] = (_b$c = {},
17918
+ _b$c[DEFAULT_PIZZAGNA_ROOT] = {
17624
17919
  id: DEFAULT_PIZZAGNA_ROOT,
17625
17920
  // base layout of the configurator - all form components referenced herein will be stacked in a column
17626
17921
  componentType: FormStackComponent.lateLoadKey,
@@ -17629,14 +17924,14 @@
17629
17924
  // references to other components laid out in this form
17630
17925
  nodes: ["presentation", "dataAndCalculations"],
17631
17926
  },
17632
- providers: (_c$5 = {},
17633
- _c$5[exports.WellKnownProviders.FormattersRegistry] = {
17927
+ providers: (_c$7 = {},
17928
+ _c$7[exports.WellKnownProviders.FormattersRegistry] = {
17634
17929
  providerId: NOVA_PROPORTIONAL_CONTENT_FORMATTERS_REGISTRY,
17635
17930
  },
17636
- _c$5),
17931
+ _c$7),
17637
17932
  },
17638
17933
  // /presentation
17639
- _b$9.presentation = {
17934
+ _b$c.presentation = {
17640
17935
  id: "presentation",
17641
17936
  componentType: WidgetConfiguratorSectionComponent.lateLoadKey,
17642
17937
  properties: {
@@ -17645,17 +17940,17 @@
17645
17940
  },
17646
17941
  },
17647
17942
  // /presentation/titleAndDescription
17648
- _b$9.titleAndDescription = {
17943
+ _b$c.titleAndDescription = {
17649
17944
  id: "titleAndDescription",
17650
17945
  componentType: TitleAndDescriptionConfigurationComponent.lateLoadKey,
17651
- providers: (_d$5 = {},
17652
- _d$5[exports.WellKnownProviders.Converter] = {
17946
+ providers: (_d$7 = {},
17947
+ _d$7[exports.WellKnownProviders.Converter] = {
17653
17948
  providerId: NOVA_TITLE_AND_DESCRIPTION_CONVERTER,
17654
17949
  },
17655
- _d$5),
17950
+ _d$7),
17656
17951
  },
17657
17952
  // /presentation/chartOptionsEditor
17658
- _b$9.chartOptionsEditor = {
17953
+ _b$c.chartOptionsEditor = {
17659
17954
  id: "chartOptionsEditor",
17660
17955
  componentType: ProportionalChartOptionsEditorComponent.lateLoadKey,
17661
17956
  properties: {
@@ -17707,16 +18002,16 @@
17707
18002
  ],
17708
18003
  },
17709
18004
  },
17710
- providers: (_e$5 = {},
18005
+ providers: (_e$7 = {},
17711
18006
  // converter transforms the chart options data between the widget and the form
17712
- _e$5[exports.WellKnownProviders.Converter] = {
18007
+ _e$7[exports.WellKnownProviders.Converter] = {
17713
18008
  providerId: NOVA_PROPORTIONAL_WIDGET_CHART_OPTIONS_CONVERTER,
17714
18009
  },
17715
- _e$5),
18010
+ _e$7),
17716
18011
  },
17717
- _b$9.refresher = REFRESHER_CONFIGURATOR,
18012
+ _b$c.refresher = REFRESHER_CONFIGURATOR,
17718
18013
  // /dataAndCalculations
17719
- _b$9.dataAndCalculations = {
18014
+ _b$c.dataAndCalculations = {
17720
18015
  id: "dataAndCalculations",
17721
18016
  componentType: WidgetConfiguratorSectionComponent.lateLoadKey,
17722
18017
  properties: {
@@ -17725,7 +18020,7 @@
17725
18020
  },
17726
18021
  },
17727
18022
  // /dataAndCalculations/dataSource
17728
- _b$9.dataSource = {
18023
+ _b$c.dataSource = {
17729
18024
  id: "dataSource",
17730
18025
  componentType: DataSourceConfigurationComponent.lateLoadKey,
17731
18026
  properties: {
@@ -17733,9 +18028,9 @@
17733
18028
  dataSourceProviders: [],
17734
18029
  errorComponent: DataSourceErrorComponent.lateLoadKey,
17735
18030
  },
17736
- providers: (_f$5 = {},
18031
+ providers: (_f$7 = {},
17737
18032
  // converter transforms the data source metadata between the widget and the form
17738
- _f$5[exports.WellKnownProviders.Converter] = {
18033
+ _f$7[exports.WellKnownProviders.Converter] = {
17739
18034
  providerId: NOVA_GENERIC_CONVERTER,
17740
18035
  properties: {
17741
18036
  formParts: [
@@ -17753,7 +18048,7 @@
17753
18048
  ],
17754
18049
  },
17755
18050
  },
17756
- _f$5[exports.WellKnownProviders.Broadcaster] = {
18051
+ _f$7[exports.WellKnownProviders.Broadcaster] = {
17757
18052
  providerId: NOVA_PIZZAGNA_BROADCASTER,
17758
18053
  properties: {
17759
18054
  configs: [
@@ -17767,15 +18062,15 @@
17767
18062
  ],
17768
18063
  },
17769
18064
  },
17770
- _f$5),
18065
+ _f$7),
17771
18066
  },
17772
- _b$9),
17773
- _a$9);
17774
- var templateObject_1$6, templateObject_2$3, templateObject_3$2, templateObject_4$2, templateObject_5$2, templateObject_6$1, templateObject_7$1, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15;
18067
+ _b$c),
18068
+ _a$c);
18069
+ var templateObject_1$8, templateObject_2$4, templateObject_3$2, templateObject_4$2, templateObject_5$2, templateObject_6$1, templateObject_7$1, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15;
17775
18070
 
17776
- var _a$8, _b$8, _c$4, _d$4, _e$4, _f$4;
17777
- var proportionalWidget = (_a$8 = {},
17778
- _a$8[exports.PizzagnaLayer.Structure] = Object.assign(Object.assign((_b$8 = {}, _b$8[DEFAULT_PIZZAGNA_ROOT] = {
18071
+ var _a$b, _b$b, _c$6, _d$6, _e$6, _f$6;
18072
+ var proportionalWidget = (_a$b = {},
18073
+ _a$b[exports.PizzagnaLayer.Structure] = Object.assign(Object.assign((_b$b = {}, _b$b[DEFAULT_PIZZAGNA_ROOT] = {
17779
18074
  id: DEFAULT_PIZZAGNA_ROOT,
17780
18075
  // base layout of the widget - all components referenced herein will be stacked in a column
17781
18076
  componentType: StackComponent.lateLoadKey,
@@ -17783,37 +18078,304 @@
17783
18078
  // these values reference other components in this structure
17784
18079
  nodes: ["header", "loading", "body"],
17785
18080
  },
17786
- providers: (_c$4 = {},
18081
+ providers: (_c$6 = {},
17787
18082
  // When enabled, this provider emits the REFRESH event on the pizzagna event bus every X seconds
17788
- _c$4[exports.WellKnownProviders.Refresher] = refresher(),
18083
+ _c$6[exports.WellKnownProviders.Refresher] = refresher(),
17789
18084
  // event proxy manages the transmission of events between widget and dashboard
17790
- _c$4[exports.WellKnownProviders.EventProxy] = EVENT_PROXY,
17791
- _c$4),
18085
+ _c$6[exports.WellKnownProviders.EventProxy] = EVENT_PROXY,
18086
+ _c$6),
17792
18087
  },
17793
18088
  // widget header
17794
- _b$8.header = WIDGET_HEADER,
18089
+ _b$b.header = WIDGET_HEADER,
17795
18090
  // this is the loading bar below the header
17796
- _b$8.loading = WIDGET_LOADING,
18091
+ _b$b.loading = WIDGET_LOADING,
17797
18092
  // widget body
17798
- _b$8.body = Object.assign(Object.assign({}, WIDGET_BODY), { properties: Object.assign(Object.assign({}, WIDGET_BODY.properties), { elementClass: "overflow-auto" }) }), _b$8), widgetBodyContentNodes("chart")), {
18093
+ _b$b.body = Object.assign(Object.assign({}, WIDGET_BODY), { properties: Object.assign(Object.assign({}, WIDGET_BODY.properties), { elementClass: "overflow-auto" }) }), _b$b), widgetBodyContentNodes("chart")), {
17799
18094
  // a component that manages layout and behavior of the proportional chart
17800
18095
  chart: {
17801
18096
  id: "chart",
17802
18097
  componentType: ProportionalWidgetComponent.lateLoadKey,
17803
- providers: (_d$4 = {},
17804
- _d$4[exports.WellKnownProviders.Adapter] = {
18098
+ providers: (_d$6 = {},
18099
+ _d$6[exports.WellKnownProviders.Adapter] = {
17805
18100
  providerId: NOVA_DATASOURCE_ADAPTER,
17806
18101
  properties: {
17807
18102
  componentId: "chart",
17808
18103
  propertyPath: "widgetData",
17809
18104
  },
17810
18105
  },
17811
- _d$4),
18106
+ _d$6),
17812
18107
  properties: {
17813
18108
  elementClass: "d-flex flex-grow-1 justify-content-center overflow-auto",
17814
18109
  },
17815
18110
  }
17816
18111
  }),
18112
+ _a$b[exports.PizzagnaLayer.Configuration] = (_e$6 = {},
18113
+ _e$6[DEFAULT_PIZZAGNA_ROOT] = {
18114
+ id: DEFAULT_PIZZAGNA_ROOT,
18115
+ providers: (_f$6 = {},
18116
+ // default refresher configuration
18117
+ _f$6[exports.WellKnownProviders.Refresher] = refresher(false, 60),
18118
+ _f$6),
18119
+ },
18120
+ // default header configuration
18121
+ _e$6.header = {
18122
+ properties: {
18123
+ title: $localize(templateObject_1$7 || (templateObject_1$7 = __makeTemplateObject(["Empty Proportional Widget"], ["Empty Proportional Widget"]))),
18124
+ },
18125
+ },
18126
+ _e$6),
18127
+ _a$b);
18128
+ var templateObject_1$7;
18129
+
18130
+ var _a$a, _b$a;
18131
+ /***********************************************************************************************************
18132
+ * Proportional widget definition starts here
18133
+ ***********************************************************************************************************/
18134
+ var proportional = {
18135
+ /***************************************************************************************************
18136
+ * Paths to important settings in this type definition
18137
+ ***************************************************************************************************/
18138
+ paths: {
18139
+ widget: (_a$a = {},
18140
+ _a$a[exports.WellKnownPathKey.Root] = DEFAULT_PIZZAGNA_ROOT,
18141
+ _a$a),
18142
+ configurator: (_b$a = {},
18143
+ _b$a[exports.WellKnownPathKey.Root] = DEFAULT_PIZZAGNA_ROOT,
18144
+ // this points at the component type you need to change if you want to change the component for data source configuration
18145
+ _b$a[exports.WellKnownPathKey.DataSourceConfigComponentType] = "dataSource.componentType",
18146
+ // for the default data source configuration component, this changes the list of data sources to pick from
18147
+ _b$a[exports.WellKnownPathKey.DataSourceProviders] = "dataSource.properties.dataSourceProviders",
18148
+ // this is where donut content chart formatters are defined
18149
+ _b$a[exports.WellKnownPathKey.Formatters] = "chartOptionsEditor.properties.chartOptions.contentFormatters",
18150
+ _b$a),
18151
+ },
18152
+ /***************************************************************************************************
18153
+ * Widget section describes the structural part of the proportional widget
18154
+ ***************************************************************************************************/
18155
+ widget: proportionalWidget,
18156
+ /***************************************************************************************************
18157
+ * Configuration section describes the form that is used to configure the widget
18158
+ ***************************************************************************************************/
18159
+ configurator: proportionalConfigurator,
18160
+ };
18161
+
18162
+ var _a$9, _b$9, _c$5, _d$5, _e$5, _f$5, _g$2;
18163
+ /* eslint-enable max-len */
18164
+ var DEFAULT_RISK_SCORE_FORMATTERS = [
18165
+ {
18166
+ componentType: RawFormatterComponent.lateLoadKey,
18167
+ label: $localize(templateObject_1$6 || (templateObject_1$6 = __makeTemplateObject(["Raw Formatter"], ["Raw Formatter"]))),
18168
+ dataTypes: {
18169
+ // @ts-ignore
18170
+ value: null,
18171
+ },
18172
+ },
18173
+ ];
18174
+ var riskScoreConfigurator = (_a$9 = {},
18175
+ _a$9[exports.PizzagnaLayer.Structure] = (_b$9 = {},
18176
+ _b$9[DEFAULT_PIZZAGNA_ROOT] = {
18177
+ id: DEFAULT_PIZZAGNA_ROOT,
18178
+ // base layout of the configurator - all form components referenced herein will be stacked in a column
18179
+ componentType: FormStackComponent.lateLoadKey,
18180
+ properties: {
18181
+ elementClass: "flex-grow-1 overflow-auto nui-scroll-shadows",
18182
+ // references to other components laid out in this form
18183
+ nodes: ["presentation", "tiles"],
18184
+ },
18185
+ providers: (_c$5 = {},
18186
+ _c$5[exports.WellKnownProviders.FormattersRegistry] = {
18187
+ providerId: NOVA_RISK_SCORE_FORMATTERS_REGISTRY,
18188
+ },
18189
+ _c$5),
18190
+ },
18191
+ // /presentation
18192
+ _b$9.presentation = {
18193
+ id: "presentation",
18194
+ componentType: WidgetConfiguratorSectionComponent.lateLoadKey,
18195
+ properties: {
18196
+ headerText: $localize(templateObject_2$3 || (templateObject_2$3 = __makeTemplateObject(["Presentation"], ["Presentation"]))),
18197
+ nodes: ["titleAndDescription", "refresher"],
18198
+ },
18199
+ },
18200
+ // /presentation/titleAndDescription
18201
+ _b$9.titleAndDescription = {
18202
+ id: "titleAndDescription",
18203
+ componentType: TitleAndDescriptionConfigurationComponent.lateLoadKey,
18204
+ providers: {
18205
+ converter: {
18206
+ providerId: NOVA_TITLE_AND_DESCRIPTION_CONVERTER,
18207
+ },
18208
+ },
18209
+ },
18210
+ _b$9.refresher = REFRESHER_CONFIGURATOR,
18211
+ // /tiles
18212
+ _b$9.tiles = {
18213
+ id: "tiles",
18214
+ componentType: RiskScoreTilesConfigurationComponent.lateLoadKey,
18215
+ properties: {
18216
+ // these components serve as a template for every KPI tile created
18217
+ template: [
18218
+ {
18219
+ // Risk Score tile description (label) configuration section
18220
+ id: "description",
18221
+ componentType: RiskScoreTileDescriptionConfigurationComponent.lateLoadKey,
18222
+ properties: {},
18223
+ providers: (_d$5 = {},
18224
+ // converter transforms the data between the widget and the form
18225
+ _d$5[exports.WellKnownProviders.Converter] = {
18226
+ providerId: NOVA_KPI_SECTION_CONVERTER,
18227
+ properties: {
18228
+ formParts: [
18229
+ {
18230
+ previewPath: "properties.widgetData",
18231
+ keys: [
18232
+ "label",
18233
+ "minValue",
18234
+ "maxValue",
18235
+ "description",
18236
+ "useStaticLabel",
18237
+ "staticLabel",
18238
+ ],
18239
+ },
18240
+ ],
18241
+ },
18242
+ },
18243
+ _d$5),
18244
+ },
18245
+ {
18246
+ // data source configuration section
18247
+ id: "dataSource",
18248
+ componentType: DataSourceConfigurationComponent.lateLoadKey,
18249
+ properties: {
18250
+ // for the DataSourceConfigurationComponent, this defines the list of data sources to pick from
18251
+ dataSourceProviders: [],
18252
+ errorComponent: DataSourceErrorComponent.lateLoadKey,
18253
+ },
18254
+ providers: (_e$5 = {},
18255
+ // converter transforms the data source metadata between the widget and the form
18256
+ _e$5[exports.WellKnownProviders.Converter] = {
18257
+ providerId: NOVA_KPI_SECTION_CONVERTER,
18258
+ properties: {
18259
+ formParts: [
18260
+ {
18261
+ // this component updates 'providerId' of 'dataSource'
18262
+ previewPath: "providers.dataSource",
18263
+ // TODO: Remove 'properties' key in v10 - NUI-5831
18264
+ keys: ["providerId", "properties"],
18265
+ },
18266
+ {
18267
+ // this component updates 'properties' of 'dataSource' via an adapter
18268
+ previewPath: "providers.adapter.properties.dataSource",
18269
+ keys: ["properties"],
18270
+ },
18271
+ ],
18272
+ },
18273
+ },
18274
+ _e$5[exports.WellKnownProviders.Broadcaster] = {
18275
+ providerId: NOVA_PIZZAGNA_BROADCASTER,
18276
+ properties: {
18277
+ configs: [
18278
+ {
18279
+ trackOn: "component",
18280
+ key: "dataFieldIds",
18281
+ paths: [
18282
+ "data.{parentComponentId}/formatting.properties.dataFieldIds",
18283
+ ],
18284
+ },
18285
+ ],
18286
+ },
18287
+ },
18288
+ _e$5),
18289
+ },
18290
+ {
18291
+ id: "formatting",
18292
+ componentType: PresentationConfigurationComponent.lateLoadKey,
18293
+ providers: (_f$5 = {},
18294
+ _f$5[exports.WellKnownProviders.Converter] = {
18295
+ providerId: NOVA_KPI_SECTION_CONVERTER,
18296
+ properties: {
18297
+ formParts: [
18298
+ {
18299
+ previewPath: "properties.configuration.formatters.Value",
18300
+ keys: ["formatter"],
18301
+ },
18302
+ ],
18303
+ },
18304
+ },
18305
+ _f$5),
18306
+ properties: {
18307
+ // Note: Now you should define your formatters in the KpiFormatterRegistry which can contain more formatter options
18308
+ // formatters: DEFAULT_RISK_SCORE_FORMATTERS,
18309
+ // Set default formatter to the configuration section as RawFormatterComponent.
18310
+ // In case Risk Scrore doesn't use the formatters yet, it will be overridden with default formatter value on first save
18311
+ formatter: {
18312
+ componentType: RawFormatterComponent.lateLoadKey,
18313
+ properties: {
18314
+ dataFieldIds: {
18315
+ value: "value",
18316
+ },
18317
+ },
18318
+ },
18319
+ },
18320
+ },
18321
+ ],
18322
+ },
18323
+ providers: (_g$2 = {},
18324
+ // converter transforms the data between the widget and the form
18325
+ _g$2[exports.WellKnownProviders.Converter] = {
18326
+ providerId: NOVA_KPI_TILES_CONVERTER,
18327
+ },
18328
+ _g$2),
18329
+ },
18330
+ _b$9),
18331
+ _a$9);
18332
+ var templateObject_1$6, templateObject_2$3;
18333
+
18334
+ var _a$8, _b$8, _c$4, _d$4, _e$4, _f$4;
18335
+ var riskScoreWidget = (_a$8 = {},
18336
+ _a$8[exports.PizzagnaLayer.Structure] = Object.assign(Object.assign((_b$8 = {}, _b$8[DEFAULT_PIZZAGNA_ROOT] = {
18337
+ id: DEFAULT_PIZZAGNA_ROOT,
18338
+ // base layout of the widget - all components referenced herein will be stacked in a column
18339
+ componentType: StackComponent.lateLoadKey,
18340
+ providers: (_c$4 = {},
18341
+ // When enabled, this provider emits the REFRESH event on the pizzagna event bus every X seconds
18342
+ _c$4[exports.WellKnownProviders.Refresher] = refresher(),
18343
+ // event proxy manages the transmission of events between widget and dashboard
18344
+ _c$4[exports.WellKnownProviders.EventProxy] = EVENT_PROXY,
18345
+ _c$4),
18346
+ properties: {
18347
+ nodes: ["header", "loading", "body"],
18348
+ },
18349
+ },
18350
+ // widget header
18351
+ _b$8.header = WIDGET_HEADER,
18352
+ // this is the loading bar below the header
18353
+ _b$8.loading = WIDGET_LOADING,
18354
+ // widget body
18355
+ _b$8.body = Object.assign(Object.assign({}, WIDGET_BODY), { properties: Object.assign(Object.assign({}, WIDGET_BODY.properties), { elementClass: "overflow-hidden" }) }), _b$8), widgetBodyContentNodes("tiles", NOVA_KPI_STATUS_CONTENT_FALLBACK_ADAPTER)), {
18356
+ // the main content node specifying a component that manages layout of the KPI tiles in a CSS grid
18357
+ tiles: {
18358
+ id: "tiles",
18359
+ componentType: TilesComponent.lateLoadKey,
18360
+ properties: {
18361
+ elementClass: "flex-grow-1 pt-2 px-3 pb-3 w-100",
18362
+ template: {
18363
+ componentType: RiskScoreTileComponent.lateLoadKey,
18364
+ providers: (_d$4 = {},
18365
+ _d$4[exports.WellKnownProviders.Adapter] = {
18366
+ providerId: NOVA_KPI_DATASOURCE_ADAPTER,
18367
+ properties: {
18368
+ propertyPath: "widgetData",
18369
+ },
18370
+ },
18371
+ _d$4),
18372
+ properties: {
18373
+ elementClass: "flex-grow-1",
18374
+ },
18375
+ },
18376
+ },
18377
+ }
18378
+ }),
17817
18379
  _a$8[exports.PizzagnaLayer.Configuration] = (_e$4 = {},
17818
18380
  _e$4[DEFAULT_PIZZAGNA_ROOT] = {
17819
18381
  id: DEFAULT_PIZZAGNA_ROOT,
@@ -17825,7 +18387,7 @@
17825
18387
  // default header configuration
17826
18388
  _e$4.header = {
17827
18389
  properties: {
17828
- title: $localize(templateObject_1$5 || (templateObject_1$5 = __makeTemplateObject(["Empty Proportional Widget"], ["Empty Proportional Widget"]))),
18390
+ title: $localize(templateObject_1$5 || (templateObject_1$5 = __makeTemplateObject(["Empty Risk Score Widget"], ["Empty Risk Score Widget"]))),
17829
18391
  },
17830
18392
  },
17831
18393
  _e$4),
@@ -17833,10 +18395,12 @@
17833
18395
  var templateObject_1$5;
17834
18396
 
17835
18397
  var _a$7, _b$7;
18398
+ var tileDescriptionConfiguratorTemplatePath = "tiles.properties.template[0]";
18399
+ var dataSourceConfiguratorTemplatePath = "tiles.properties.template[1]";
17836
18400
  /***********************************************************************************************************
17837
- * Proportional widget definition starts here
18401
+ * KPI widget definition starts here
17838
18402
  ***********************************************************************************************************/
17839
- var proportional = {
18403
+ var riskScore = {
17840
18404
  /***************************************************************************************************
17841
18405
  * Paths to important settings in this type definition
17842
18406
  ***************************************************************************************************/
@@ -17847,21 +18411,21 @@
17847
18411
  configurator: (_b$7 = {},
17848
18412
  _b$7[exports.WellKnownPathKey.Root] = DEFAULT_PIZZAGNA_ROOT,
17849
18413
  // this points at the component type you need to change if you want to change the component for data source configuration
17850
- _b$7[exports.WellKnownPathKey.DataSourceConfigComponentType] = "dataSource.componentType",
18414
+ _b$7[exports.WellKnownPathKey.DataSourceConfigComponentType] = dataSourceConfiguratorTemplatePath + ".componentType",
18415
+ // this points at the component type you need to change if you want to change the component for tile description configuration
18416
+ _b$7[exports.WellKnownPathKey.TileDescriptionConfigComponentType] = tileDescriptionConfiguratorTemplatePath + ".componentType",
17851
18417
  // for the default data source configuration component, this changes the list of data sources to pick from
17852
- _b$7[exports.WellKnownPathKey.DataSourceProviders] = "dataSource.properties.dataSourceProviders",
17853
- // this is where donut content chart formatters are defined
17854
- _b$7[exports.WellKnownPathKey.Formatters] = "chartOptionsEditor.properties.chartOptions.contentFormatters",
18418
+ _b$7[exports.WellKnownPathKey.DataSourceProviders] = dataSourceConfiguratorTemplatePath + ".properties.dataSourceProviders",
17855
18419
  _b$7),
17856
18420
  },
17857
18421
  /***************************************************************************************************
17858
- * Widget section describes the structural part of the proportional widget
18422
+ * Widget section describes the structural part of the KPI widget
17859
18423
  ***************************************************************************************************/
17860
- widget: proportionalWidget,
18424
+ widget: riskScoreWidget,
17861
18425
  /***************************************************************************************************
17862
- * Configuration section describes the form that is used to configure the widget
18426
+ * Configurator section describes the form that is used to configure the widget
17863
18427
  ***************************************************************************************************/
17864
- configurator: proportionalConfigurator,
18428
+ configurator: riskScoreConfigurator,
17865
18429
  };
17866
18430
 
17867
18431
  var _a$6, _b$6, _c$3, _d$3, _e$3, _f$3, _g$1;
@@ -18351,6 +18915,7 @@
18351
18915
  EmbeddedContentComponent,
18352
18916
  GridsterItemWidgetIdDirective,
18353
18917
  KpiComponent,
18918
+ RiskScoreTileComponent,
18354
18919
  LineChartComponent,
18355
18920
  LoadingComponent,
18356
18921
  ProportionalWidgetComponent,
@@ -18381,6 +18946,7 @@
18381
18946
  var entryComponents = [
18382
18947
  EmbeddedContentComponent,
18383
18948
  KpiComponent,
18949
+ RiskScoreTileComponent,
18384
18950
  LineChartComponent,
18385
18951
  LoadingComponent,
18386
18952
  ProportionalWidgetComponent,
@@ -18406,9 +18972,10 @@
18406
18972
  ProportionalDonutContentComponent,
18407
18973
  ];
18408
18974
  var NuiDashboardsModule = /** @class */ (function () {
18409
- function NuiDashboardsModule(widgetTypesService, componentRegistry, eventRegistry, kpiFormattersRegistry) {
18975
+ function NuiDashboardsModule(widgetTypesService, componentRegistry, eventRegistry, kpiFormattersRegistry, riskScoreFormattersRegistry) {
18410
18976
  var e_1, _a;
18411
18977
  widgetTypesService.registerWidgetType("kpi", 1, kpi);
18978
+ widgetTypesService.registerWidgetType("risk-score", 1, riskScore);
18412
18979
  widgetTypesService.registerWidgetType("table", 1, table);
18413
18980
  widgetTypesService.registerWidgetType("proportional", 1, proportional);
18414
18981
  widgetTypesService.registerWidgetType("timeseries", 1, timeseries);
@@ -18442,14 +19009,16 @@
18442
19009
  eventRegistry.registerEvent(DATA_SOURCE_OUTPUT);
18443
19010
  eventRegistry.registerEvent(DATA_SOURCE_BUSY);
18444
19011
  kpiFormattersRegistry.addItems(DEFAULT_KPI_FORMATTERS);
19012
+ riskScoreFormattersRegistry.addItems(DEFAULT_RISK_SCORE_FORMATTERS);
18445
19013
  }
18446
19014
  return NuiDashboardsModule;
18447
19015
  }());
18448
- /** @nocollapse */ NuiDashboardsModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: NuiDashboardsModule, deps: [{ token: WidgetTypesService }, { token: ComponentRegistryService }, { token: EventRegistryService }, { token: KpiFormattersRegistryService }], target: i0__namespace.ɵɵFactoryTarget.NgModule });
19016
+ /** @nocollapse */ NuiDashboardsModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: NuiDashboardsModule, deps: [{ token: WidgetTypesService }, { token: ComponentRegistryService }, { token: EventRegistryService }, { token: KpiFormattersRegistryService }, { token: RiskScoreFormattersRegistryService }], target: i0__namespace.ɵɵFactoryTarget.NgModule });
18449
19017
  /** @nocollapse */ NuiDashboardsModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: NuiDashboardsModule, declarations: [DashboardComponent,
18450
19018
  EmbeddedContentComponent,
18451
19019
  GridsterItemWidgetIdDirective,
18452
19020
  KpiComponent,
19021
+ RiskScoreTileComponent,
18453
19022
  LineChartComponent,
18454
19023
  LoadingComponent,
18455
19024
  ProportionalWidgetComponent,
@@ -18497,11 +19066,13 @@
18497
19066
  i3.NuiSearchModule,
18498
19067
  i3.NuiCommonModule,
18499
19068
  i3.NuiRepeatModule,
19069
+ i3.NuiRiskScoreModule,
18500
19070
  i3.NuiSelectModule,
18501
19071
  i3.NuiPopoverModule], exports: [DashboardComponent,
18502
19072
  EmbeddedContentComponent,
18503
19073
  GridsterItemWidgetIdDirective,
18504
19074
  KpiComponent,
19075
+ RiskScoreTileComponent,
18505
19076
  LineChartComponent,
18506
19077
  LoadingComponent,
18507
19078
  ProportionalWidgetComponent,
@@ -18556,6 +19127,7 @@
18556
19127
  i3.NuiSearchModule,
18557
19128
  i3.NuiCommonModule,
18558
19129
  i3.NuiRepeatModule,
19130
+ i3.NuiRiskScoreModule,
18559
19131
  i3.NuiSelectModule,
18560
19132
  i3.NuiPopoverModule,
18561
19133
  ]] });
@@ -18585,6 +19157,7 @@
18585
19157
  i3.NuiSearchModule,
18586
19158
  i3.NuiCommonModule,
18587
19159
  i3.NuiRepeatModule,
19160
+ i3.NuiRiskScoreModule,
18588
19161
  i3.NuiSelectModule,
18589
19162
  i3.NuiPopoverModule,
18590
19163
  ],
@@ -18598,7 +19171,7 @@
18598
19171
  exports: dashboardComponents,
18599
19172
  entryComponents: entryComponents,
18600
19173
  }]
18601
- }], ctorParameters: function () { return [{ type: WidgetTypesService }, { type: ComponentRegistryService }, { type: EventRegistryService }, { type: KpiFormattersRegistryService }]; } });
19174
+ }], ctorParameters: function () { return [{ type: WidgetTypesService }, { type: ComponentRegistryService }, { type: EventRegistryService }, { type: KpiFormattersRegistryService }, { type: RiskScoreFormattersRegistryService }]; } });
18602
19175
 
18603
19176
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
18604
19177
 
@@ -18608,6 +19181,10 @@
18608
19181
 
18609
19182
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
18610
19183
 
19184
+ // © 2023 SolarWinds Worldwide, LLC. All rights reserved.
19185
+
19186
+ // © 2023 SolarWinds Worldwide, LLC. All rights reserved.
19187
+
18611
19188
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
18612
19189
 
18613
19190
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
@@ -18669,6 +19246,33 @@
18669
19246
 
18670
19247
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
18671
19248
 
19249
+ // © 2023 SolarWinds Worldwide, LLC. All rights reserved.
19250
+ //
19251
+ // Permission is hereby granted, free of charge, to any person obtaining a copy
19252
+ // of this software and associated documentation files (the "Software"), to
19253
+ // deal in the Software without restriction, including without limitation the
19254
+ // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
19255
+ // sell copies of the Software, and to permit persons to whom the Software is
19256
+ // furnished to do so, subject to the following conditions:
19257
+ //
19258
+ // The above copyright notice and this permission notice shall be included in
19259
+ // all copies or substantial portions of the Software.
19260
+ //
19261
+ // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19262
+ // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19263
+ // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19264
+ // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19265
+ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19266
+ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19267
+ // THE SOFTWARE.
19268
+ exports.RiskScoreFormatterTypes = void 0;
19269
+ (function (RiskScoreFormatterTypes) {
19270
+ // ROOT ?
19271
+ RiskScoreFormatterTypes["Value"] = "Value";
19272
+ })(exports.RiskScoreFormatterTypes || (exports.RiskScoreFormatterTypes = {}));
19273
+
19274
+ // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
19275
+
18672
19276
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
18673
19277
  /**
18674
19278
  * Use this function to apply endpoints on status data returned by a data source so that when the status
@@ -18979,6 +19583,7 @@
18979
19583
  exports.NOVA_PIZZAGNA_BROADCASTER = NOVA_PIZZAGNA_BROADCASTER;
18980
19584
  exports.NOVA_PROPORTIONAL_CONTENT_FORMATTERS_REGISTRY = NOVA_PROPORTIONAL_CONTENT_FORMATTERS_REGISTRY;
18981
19585
  exports.NOVA_PROPORTIONAL_WIDGET_CHART_OPTIONS_CONVERTER = NOVA_PROPORTIONAL_WIDGET_CHART_OPTIONS_CONVERTER;
19586
+ exports.NOVA_RISK_SCORE_FORMATTERS_REGISTRY = NOVA_RISK_SCORE_FORMATTERS_REGISTRY;
18982
19587
  exports.NOVA_STATUS_CONTENT_FALLBACK_ADAPTER = NOVA_STATUS_CONTENT_FALLBACK_ADAPTER;
18983
19588
  exports.NOVA_TABLE_COLUMNS_CONVERTER = NOVA_TABLE_COLUMNS_CONVERTER;
18984
19589
  exports.NOVA_TABLE_DATASOURCE_ADAPTER = NOVA_TABLE_DATASOURCE_ADAPTER;
@@ -19023,6 +19628,10 @@
19023
19628
  exports.Refresher = Refresher;
19024
19629
  exports.RefresherConfigurationComponent = RefresherConfigurationComponent;
19025
19630
  exports.RefresherSettingsService = RefresherSettingsService;
19631
+ exports.RiskScoreFormattersRegistryService = RiskScoreFormattersRegistryService;
19632
+ exports.RiskScoreTileComponent = RiskScoreTileComponent;
19633
+ exports.RiskScoreTileDescriptionConfigurationComponent = RiskScoreTileDescriptionConfigurationComponent;
19634
+ exports.RiskScoreTilesConfigurationComponent = RiskScoreTilesConfigurationComponent;
19026
19635
  exports.SCROLL_NEXT_PAGE = SCROLL_NEXT_PAGE;
19027
19636
  exports.SET_PROPERTY_VALUE = SET_PROPERTY_VALUE;
19028
19637
  exports.SET_TIMEFRAME = SET_TIMEFRAME;