@nova-ui/dashboards 12.0.40 → 12.0.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/bundles/nova-ui-dashboards.umd.js +993 -397
  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/configurator/components/widgets/configurator-items/public-api.js +2 -1
  8. package/esm2015/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.js +112 -0
  9. package/esm2015/lib/configurator/components/widgets/public-api.js +2 -1
  10. package/esm2015/lib/configurator/components/widgets/risk-score/public-api.js +22 -0
  11. package/esm2015/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/public-api.js +21 -0
  12. package/esm2015/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component.js +96 -0
  13. package/esm2015/lib/configurator/components/widgets/risk-score/types.js +21 -0
  14. package/esm2015/lib/configurator/configurator.module.js +9 -1
  15. package/esm2015/lib/dashboards.module.js +19 -7
  16. package/esm2015/lib/services/provider-registry.service.js +8 -3
  17. package/esm2015/lib/services/table-formatter-registry.service.js +12 -1
  18. package/esm2015/lib/services/types.js +2 -1
  19. package/esm2015/lib/widget-types/risk-score/risk-score-configurator.js +201 -0
  20. package/esm2015/lib/widget-types/risk-score/risk-score-widget.js +86 -0
  21. package/esm2015/lib/widget-types/risk-score/risk-score.js +56 -0
  22. package/fesm2015/nova-ui-dashboards.js +660 -82
  23. package/fesm2015/nova-ui-dashboards.js.map +1 -1
  24. package/lib/components/public-api.d.ts +1 -0
  25. package/lib/components/risk-score-tile/public-api.d.ts +2 -0
  26. package/lib/components/risk-score-tile/risk-score-tile.component.d.ts +32 -0
  27. package/lib/components/risk-score-tile/types.d.ts +28 -0
  28. package/lib/configurator/components/widgets/configurator-items/public-api.d.ts +1 -0
  29. package/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.d.ts +26 -0
  30. package/lib/configurator/components/widgets/public-api.d.ts +1 -0
  31. package/lib/configurator/components/widgets/risk-score/public-api.d.ts +2 -0
  32. package/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/public-api.d.ts +1 -0
  33. package/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component.d.ts +32 -0
  34. package/lib/configurator/components/widgets/risk-score/types.d.ts +7 -0
  35. package/lib/configurator/configurator.module.d.ts +67 -65
  36. package/lib/dashboards.module.d.ts +38 -37
  37. package/lib/services/table-formatter-registry.service.d.ts +5 -0
  38. package/lib/services/types.d.ts +1 -0
  39. package/lib/widget-types/risk-score/risk-score-configurator.d.ts +97 -0
  40. package/lib/widget-types/risk-score/risk-score-widget.d.ts +55 -0
  41. package/lib/widget-types/risk-score/risk-score.d.ts +5 -0
  42. package/package.json +3 -3
  43. package/sdk/atoms/src/lib/components/public-api.d.ts +1 -0
  44. package/sdk/atoms/src/lib/components/public-api.js +1 -0
  45. package/sdk/atoms/src/lib/components/public-api.js.map +1 -1
  46. package/sdk/atoms/src/lib/components/risk-score-tile/public-api.d.ts +2 -0
  47. package/sdk/atoms/src/lib/components/risk-score-tile/public-api.js +25 -0
  48. package/sdk/atoms/src/lib/components/risk-score-tile/public-api.js.map +1 -0
  49. package/sdk/atoms/src/lib/components/risk-score-tile/risk-score-tile.component.d.ts +29 -0
  50. package/sdk/atoms/src/lib/components/risk-score-tile/risk-score-tile.component.js +128 -0
  51. package/sdk/atoms/src/lib/components/risk-score-tile/risk-score-tile.component.js.map +1 -0
  52. package/sdk/atoms/src/lib/components/risk-score-tile/types.d.ts +28 -0
  53. package/sdk/atoms/src/lib/components/risk-score-tile/types.js +28 -0
  54. package/sdk/atoms/src/lib/components/risk-score-tile/types.js.map +1 -0
  55. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/public-api.d.ts +1 -0
  56. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/public-api.js +1 -0
  57. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/public-api.js.map +1 -1
  58. 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
  59. package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.js +125 -0
  60. 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
  61. package/sdk/atoms/src/lib/configurator/components/widgets/public-api.d.ts +1 -0
  62. package/sdk/atoms/src/lib/configurator/components/widgets/public-api.js +1 -0
  63. package/sdk/atoms/src/lib/configurator/components/widgets/public-api.js.map +1 -1
  64. package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/public-api.d.ts +2 -0
  65. package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/public-api.js +25 -0
  66. package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/public-api.js.map +1 -0
  67. package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/public-api.d.ts +1 -0
  68. package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/public-api.js +24 -0
  69. package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/public-api.js.map +1 -0
  70. package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component.d.ts +29 -0
  71. package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component.js +102 -0
  72. package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component.js.map +1 -0
  73. package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/types.d.ts +7 -0
  74. package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/types.js +22 -0
  75. package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/types.js.map +1 -0
  76. package/sdk/atoms/src/lib/configurator/configurator.module.js +4 -0
  77. package/sdk/atoms/src/lib/configurator/configurator.module.js.map +1 -1
  78. package/sdk/atoms/src/lib/dashboards.module.d.ts +2 -2
  79. package/sdk/atoms/src/lib/dashboards.module.js +12 -3
  80. package/sdk/atoms/src/lib/dashboards.module.js.map +1 -1
  81. package/sdk/atoms/src/lib/services/provider-registry.service.js +5 -0
  82. package/sdk/atoms/src/lib/services/provider-registry.service.js.map +1 -1
  83. package/sdk/atoms/src/lib/services/table-formatter-registry.service.d.ts +3 -0
  84. package/sdk/atoms/src/lib/services/table-formatter-registry.service.js +11 -1
  85. package/sdk/atoms/src/lib/services/table-formatter-registry.service.js.map +1 -1
  86. package/sdk/atoms/src/lib/services/types.d.ts +1 -0
  87. package/sdk/atoms/src/lib/services/types.js +3 -2
  88. package/sdk/atoms/src/lib/services/types.js.map +1 -1
  89. package/sdk/atoms/src/lib/widget-types/risk-score/risk-score-configurator.d.ts +97 -0
  90. package/sdk/atoms/src/lib/widget-types/risk-score/risk-score-configurator.js +204 -0
  91. package/sdk/atoms/src/lib/widget-types/risk-score/risk-score-configurator.js.map +1 -0
  92. package/sdk/atoms/src/lib/widget-types/risk-score/risk-score-widget.d.ts +55 -0
  93. package/sdk/atoms/src/lib/widget-types/risk-score/risk-score-widget.js +89 -0
  94. package/sdk/atoms/src/lib/widget-types/risk-score/risk-score-widget.js.map +1 -0
  95. package/sdk/atoms/src/lib/widget-types/risk-score/risk-score.d.ts +5 -0
  96. package/sdk/atoms/src/lib/widget-types/risk-score/risk-score.js +59 -0
  97. package/sdk/atoms/src/lib/widget-types/risk-score/risk-score.js.map +1 -0
  98. package/sdk/locale/messages.en.xlf +96 -0
@@ -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() {
@@ -8290,12 +8414,12 @@
8290
8414
  _this.transformers = new Map([
8291
8415
  [
8292
8416
  exports.TimeseriesTransformer.None,
8293
- { 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 },
8294
8418
  ],
8295
8419
  [
8296
8420
  exports.TimeseriesTransformer.ChangePoint,
8297
8421
  {
8298
- 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"]))),
8299
8423
  transformer: transformChangePoint,
8300
8424
  },
8301
8425
  ],
@@ -8582,7 +8706,7 @@
8582
8706
  args: [DATA_SOURCE]
8583
8707
  }] }, { type: TimeseriesScalesService }, { type: i0__namespace.ChangeDetectorRef }];
8584
8708
  } });
8585
- 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;
8586
8710
 
8587
8711
  var LineChartComponent = /** @class */ (function (_super) {
8588
8712
  __extends(LineChartComponent, _super);
@@ -8777,39 +8901,6 @@
8777
8901
  }] }, { type: TimeseriesScalesService }, { type: i0__namespace.ChangeDetectorRef }];
8778
8902
  } });
8779
8903
 
8780
- // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
8781
- var TimeseriesChartPresetService = /** @class */ (function () {
8782
- function TimeseriesChartPresetService() {
8783
- var _a;
8784
- this.presets = (_a = {},
8785
- _a[exports.TimeseriesChartPreset.Line] = {
8786
- componentType: LineChartComponent.lateLoadKey,
8787
- },
8788
- _a[exports.TimeseriesChartPreset.StackedArea] = {
8789
- componentType: StackedAreaChartComponent.lateLoadKey,
8790
- },
8791
- _a[exports.TimeseriesChartPreset.StackedPercentageArea] = {
8792
- componentType: StackedPercentageAreaChartComponent.lateLoadKey,
8793
- },
8794
- _a[exports.TimeseriesChartPreset.StackedBar] = {
8795
- componentType: StackedBarChartComponent.lateLoadKey,
8796
- },
8797
- _a[exports.TimeseriesChartPreset.StatusBar] = {
8798
- componentType: StatusBarChartComponent.lateLoadKey,
8799
- },
8800
- _a);
8801
- }
8802
- return TimeseriesChartPresetService;
8803
- }());
8804
- /** @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 });
8805
- /** @nocollapse */ TimeseriesChartPresetService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: TimeseriesChartPresetService, providedIn: "root" });
8806
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: TimeseriesChartPresetService, decorators: [{
8807
- type: i0.Injectable,
8808
- args: [{
8809
- providedIn: "root",
8810
- }]
8811
- }], ctorParameters: function () { return []; } });
8812
-
8813
8904
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
8814
8905
  var TIMESERIES_INSPECTION_MENU_ZOOM_IN = {
8815
8906
  id: "TIMESERIES_INSPECTION_MENU_ZOOM_IN",
@@ -8945,6 +9036,39 @@
8945
9036
  type: i0.Input
8946
9037
  }] } });
8947
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
+
8948
9072
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
8949
9073
  /** @ignore */
8950
9074
  var TimeseriesWidgetComponent = /** @class */ (function () {
@@ -9307,7 +9431,7 @@
9307
9431
  */
9308
9432
  this.collapsed = false;
9309
9433
  this.onDestroy$ = new rxjs.Subject();
9310
- 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"])));
9311
9435
  }
9312
9436
  Object.defineProperty(WidgetHeaderComponent.prototype, "hostClass", {
9313
9437
  get: function () {
@@ -9466,7 +9590,7 @@
9466
9590
  type: i0.ViewChild,
9467
9591
  args: ["widgetHeaderCustomElement"]
9468
9592
  }] } });
9469
- var templateObject_1$y;
9593
+ var templateObject_1$A;
9470
9594
 
9471
9595
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
9472
9596
  var NuiPizzagnaModule = /** @class */ (function () {
@@ -10624,7 +10748,7 @@
10624
10748
 
10625
10749
  var WidgetConfiguratorSectionHeaderPipe = /** @class */ (function () {
10626
10750
  function WidgetConfiguratorSectionHeaderPipe() {
10627
- 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"])));
10628
10752
  }
10629
10753
  WidgetConfiguratorSectionHeaderPipe.prototype.transform = function (headerText, index, headerPrefix) {
10630
10754
  if (headerPrefix === void 0) { headerPrefix = this.defaultHeaderPrefix; }
@@ -10640,7 +10764,7 @@
10640
10764
  name: "nuiWidgetConfiguratorSectionHeader",
10641
10765
  }]
10642
10766
  }] });
10643
- var templateObject_1$x;
10767
+ var templateObject_1$z;
10644
10768
 
10645
10769
  var AddDataPipe = /** @class */ (function () {
10646
10770
  function AddDataPipe() {
@@ -10898,7 +11022,7 @@
10898
11022
  };
10899
11023
  }
10900
11024
  DashwizStepComponent.prototype.ngOnInit = function () {
10901
- 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"])));
10902
11026
  };
10903
11027
  DashwizStepComponent.prototype.ngOnChanges = function (changes) {
10904
11028
  if (changes["stepControl"]) {
@@ -10939,7 +11063,7 @@
10939
11063
  }], next: [{
10940
11064
  type: i0.Output
10941
11065
  }] } });
10942
- var templateObject_1$w;
11066
+ var templateObject_1$y;
10943
11067
 
10944
11068
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
10945
11069
  var DashwizButtonsComponent = /** @class */ (function () {
@@ -11668,7 +11792,7 @@
11668
11792
  // @ts-ignore: Type '{ pizzagna: { configuration: IPizzagnaLayer; }; }' is missing the following properties from type 'IWidget': id, type
11669
11793
  this.configurator.updateWidget(previewWidget);
11670
11794
  var widgetTitle = get__default["default"](configLayer, WidgetEditorComponent.TITLE_PATH, "");
11671
- 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);
11672
11796
  };
11673
11797
  WidgetEditorComponent.prototype.onFinish = function () {
11674
11798
  if (this.form.invalid) {
@@ -11718,11 +11842,11 @@
11718
11842
  type: i0.ViewChild,
11719
11843
  args: ["formPizzagnaComponent", { static: false }]
11720
11844
  }] } });
11721
- var templateObject_1$v;
11845
+ var templateObject_1$x;
11722
11846
 
11723
11847
  var CHART_PALETTE_CS3_ALTERNATIVE_NAMES = [
11724
- $localize(templateObject_1$u || (templateObject_1$u = __makeTemplateObject(["Blue"], ["Blue"]))),
11725
- $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"]))),
11726
11850
  $localize(templateObject_3$h || (templateObject_3$h = __makeTemplateObject(["Blue Dark"], ["Blue Dark"]))),
11727
11851
  $localize(templateObject_4$c || (templateObject_4$c = __makeTemplateObject(["Pink"], ["Pink"]))),
11728
11852
  $localize(templateObject_5$8 || (templateObject_5$8 = __makeTemplateObject(["Pink Light"], ["Pink Light"]))),
@@ -11774,7 +11898,7 @@
11774
11898
  color: color,
11775
11899
  label: chartPaletteColorMap[color],
11776
11900
  }); });
11777
- 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, templateObject_43, templateObject_44;
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;
11778
11902
 
11779
11903
  /**
11780
11904
  * Checks whether given form has a field that should be visually marked as invalid.
@@ -11884,7 +12008,7 @@
11884
12008
  var _this = this;
11885
12009
  var _a;
11886
12010
  this.palette = [
11887
- { 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"]))) },
11888
12012
  ].concat(this.backgroundColors);
11889
12013
  this.formLocal = this.initDefaultRulesGroup();
11890
12014
  this.form = this.formBuilder.group({
@@ -11918,7 +12042,7 @@
11918
12042
  var _a, _b, _c, _d;
11919
12043
  return ((_b = (_a = this.formLocal) === null || _a === void 0 ? void 0 : _a.get("rules")) === null || _b === void 0 ? void 0 : _b.value).controls
11920
12044
  .length === 0
11921
- ? $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
11922
12046
  .length);
11923
12047
  };
11924
12048
  BackgroundColorRulesConfigurationComponent.prototype.getLabel = function (item) {
@@ -11986,7 +12110,7 @@
11986
12110
  }], formReady: [{
11987
12111
  type: i0.Output
11988
12112
  }] } });
11989
- var templateObject_1$t, templateObject_2$m, templateObject_3$g;
12113
+ var templateObject_1$v, templateObject_2$n, templateObject_3$g;
11990
12114
 
11991
12115
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
11992
12116
  var DataSourceErrorComponent = /** @class */ (function () {
@@ -12377,11 +12501,11 @@
12377
12501
  this.modes = [
12378
12502
  {
12379
12503
  value: exports.EmbeddedContentMode.URL,
12380
- 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"]))),
12381
12505
  },
12382
12506
  {
12383
12507
  value: exports.EmbeddedContentMode.HTML,
12384
- 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"]))),
12385
12509
  },
12386
12510
  ];
12387
12511
  }
@@ -12482,7 +12606,7 @@
12482
12606
  }], formReady: [{
12483
12607
  type: i0.Output
12484
12608
  }] } });
12485
- var templateObject_1$s, templateObject_2$l;
12609
+ var templateObject_1$u, templateObject_2$m;
12486
12610
 
12487
12611
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
12488
12612
  var InfoMessageConfigurationComponent = /** @class */ (function () {
@@ -12516,7 +12640,7 @@
12516
12640
  this.changeDetector = changeDetector;
12517
12641
  this.formBuilder = formBuilder;
12518
12642
  this.defaultColor = {
12519
- 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"]))),
12520
12644
  color: DEFAULT_KPI_TILE_COLOR,
12521
12645
  };
12522
12646
  this.label = "";
@@ -12539,7 +12663,7 @@
12539
12663
  var backgroundColor = this.form.get("backgroundColor");
12540
12664
  var backgroundColorValue = backgroundColor === null || backgroundColor === void 0 ? void 0 : backgroundColor.valueChanges.pipe(operators.startWith(backgroundColor === null || backgroundColor === void 0 ? void 0 : backgroundColor.value));
12541
12665
  this.subtitle$ = rxjs.combineLatest([
12542
- 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"]))); })),
12543
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"]))); })),
12544
12668
  ]).pipe(operators.map(function (labels) { return labels.join(", "); }));
12545
12669
  this.formReady.emit(this.form);
@@ -12586,9 +12710,9 @@
12586
12710
  }], formReady: [{
12587
12711
  type: i0.Output
12588
12712
  }] } });
12589
- var templateObject_1$r, templateObject_2$k, templateObject_3$f;
12713
+ var templateObject_1$t, templateObject_2$l, templateObject_3$f;
12590
12714
 
12591
- var _a$m, _b$l, _c$e;
12715
+ var _a$p, _b$o, _c$g;
12592
12716
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
12593
12717
  //
12594
12718
  // Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -12614,25 +12738,25 @@
12614
12738
  TimeUnit["Minute"] = "minute";
12615
12739
  TimeUnit["Hour"] = "hour";
12616
12740
  })(TimeUnit || (TimeUnit = {}));
12617
- var TIME_UNITS_TO_MS = (_a$m = {},
12618
- _a$m[TimeUnit.Second] = 1000,
12619
- _a$m[TimeUnit.Minute] = 60000,
12620
- _a$m[TimeUnit.Hour] = 3600000,
12621
- _a$m);
12622
- var TIME_UNITS_LONG = (_b$l = {},
12623
- _b$l[TimeUnit.Hour] = $localize(templateObject_1$q || (templateObject_1$q = __makeTemplateObject([":hours unit (long):hours"], [":hours unit (long):hours"]))),
12624
- _b$l[TimeUnit.Minute] = $localize(templateObject_2$j || (templateObject_2$j = __makeTemplateObject([":minutes unit (long):minutes"], [":minutes unit (long):minutes"]))),
12625
- _b$l[TimeUnit.Second] = $localize(templateObject_3$e || (templateObject_3$e = __makeTemplateObject([":seconds unit (long):seconds"], [":seconds unit (long):seconds"]))),
12626
- _b$l);
12627
- var TIME_UNITS_SHORT = (_c$e = {},
12628
- _c$e[TimeUnit.Hour] = $localize(templateObject_4$b || (templateObject_4$b = __makeTemplateObject([":hours unit (short):h"], [":hours unit (short):h"]))),
12629
- _c$e[TimeUnit.Minute] = $localize(templateObject_5$7 || (templateObject_5$7 = __makeTemplateObject([":minutes unit (short):min"], [":minutes unit (short):min"]))),
12630
- _c$e[TimeUnit.Second] = $localize(templateObject_6$5 || (templateObject_6$5 = __makeTemplateObject([":seconds unit (short):sec"], [":seconds unit (short):sec"]))),
12631
- _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);
12632
12756
  function getTimeUnitsRatio(fromUnit, toUnit) {
12633
12757
  return TIME_UNITS_TO_MS[fromUnit] / TIME_UNITS_TO_MS[toUnit];
12634
12758
  }
12635
- 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;
12636
12760
 
12637
12761
  /**
12638
12762
  * As per Wolfi, this is a candidate for reworking into a general time interval selector implemented as a Web Component
@@ -12792,10 +12916,10 @@
12792
12916
  var min = params.min, max = params.max, whole = params.whole;
12793
12917
  var numberTypeText;
12794
12918
  if (whole) {
12795
- 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"])));
12796
12920
  }
12797
12921
  else {
12798
- 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"])));
12799
12923
  }
12800
12924
  if (min != null && max != null) {
12801
12925
  if (min === max) {
@@ -12858,7 +12982,7 @@
12858
12982
  }], maxSeconds: [{
12859
12983
  type: i0.Input
12860
12984
  }] } });
12861
- 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;
12862
12986
 
12863
12987
  var RefresherConfigurationComponent = /** @class */ (function () {
12864
12988
  function RefresherConfigurationComponent(changeDetector, formBuilder, logger, refresherSettings, cd) {
@@ -12870,7 +12994,7 @@
12870
12994
  this.cd = cd;
12871
12995
  this.minSeconds = 1;
12872
12996
  this.maxSeconds = 86400;
12873
- 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"])));
12874
12998
  this.overrideDefaultSettings = true;
12875
12999
  this.formReady = new i0.EventEmitter();
12876
13000
  this.destroyed$ = new rxjs.Subject();
@@ -12925,7 +13049,7 @@
12925
13049
  var _a, _b, _c;
12926
13050
  var result = "";
12927
13051
  if ((_a = this.form.get("enabled")) === null || _a === void 0 ? void 0 : _a.value) {
12928
- result += $localize(templateObject_2$h || (templateObject_2$h = __makeTemplateObject(["Enabled"], ["Enabled"])));
13052
+ result += $localize(templateObject_2$i || (templateObject_2$i = __makeTemplateObject(["Enabled"], ["Enabled"])));
12929
13053
  result += ", ";
12930
13054
  if ((_b = this.form.get("overrideDefaultSettings")) === null || _b === void 0 ? void 0 : _b.value) {
12931
13055
  result += this.getDurationLabel((_c = this.form.get("interval")) === null || _c === void 0 ? void 0 : _c.value);
@@ -13000,7 +13124,93 @@
13000
13124
  type: i0.ViewChild,
13001
13125
  args: [RefreshRateConfiguratorComponent]
13002
13126
  }] } });
13003
- 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
+ }] } });
13004
13214
 
13005
13215
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
13006
13216
  var thresholdsValidator = function (form) {
@@ -13048,11 +13258,11 @@
13048
13258
  this.thresholdOptions = [
13049
13259
  {
13050
13260
  value: false,
13051
- 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"]))),
13052
13262
  },
13053
13263
  {
13054
13264
  value: true,
13055
- 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"]))),
13056
13266
  },
13057
13267
  ];
13058
13268
  this.destroyed$ = new rxjs.Subject();
@@ -13162,7 +13372,7 @@
13162
13372
  }], formReady: [{
13163
13373
  type: i0.Output
13164
13374
  }] } });
13165
- 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;
13166
13376
 
13167
13377
  var TimeseriesMetadataConfigurationComponent = /** @class */ (function () {
13168
13378
  function TimeseriesMetadataConfigurationComponent(changeDetector, configuratorHeading, formBuilder, eventBus) {
@@ -13173,9 +13383,9 @@
13173
13383
  this.legendPlacements = [];
13174
13384
  this.timeSpans = [];
13175
13385
  this.availableChartTypes = [
13176
- { 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 },
13177
13387
  {
13178
- 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"]))),
13179
13389
  value: exports.TimeseriesChartPreset.StackedArea,
13180
13390
  },
13181
13391
  {
@@ -13279,7 +13489,7 @@
13279
13489
  }], formReady: [{
13280
13490
  type: i0.Output
13281
13491
  }] } });
13282
- 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;
13283
13493
 
13284
13494
  var TitleAndDescriptionConfigurationComponent = /** @class */ (function () {
13285
13495
  function TitleAndDescriptionConfigurationComponent(changeDetector, formBuilder, logger) {
@@ -13318,8 +13528,8 @@
13318
13528
  }
13319
13529
  };
13320
13530
  TitleAndDescriptionConfigurationComponent.prototype.getSecondaryText = function () {
13321
- var forTitle = this.form.controls["title"].value || $localize(templateObject_1$l || (templateObject_1$l = __makeTemplateObject(["No title"], ["No title"])));
13322
- 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"])));
13323
13533
  return forTitle + ", " + forSubtitle;
13324
13534
  };
13325
13535
  return TitleAndDescriptionConfigurationComponent;
@@ -13348,7 +13558,7 @@
13348
13558
  }], formReady: [{
13349
13559
  type: i0.Output
13350
13560
  }] } });
13351
- var templateObject_1$l, templateObject_2$e;
13561
+ var templateObject_1$n, templateObject_2$f;
13352
13562
 
13353
13563
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
13354
13564
  var EntityFormattingConfigurationComponent = /** @class */ (function () {
@@ -13484,7 +13694,7 @@
13484
13694
  .map(function (control, index) { return (index === 0 ? "By" : "then") + " " + control.value; })
13485
13695
  .join(", ");
13486
13696
  return ((_a = this.getGroupByControl) === null || _a === void 0 ? void 0 : _a.value.length) === 0
13487
- ? $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);
13488
13698
  };
13489
13699
  GroupingConfigurationComponent.prototype.ngOnDestroy = function () {
13490
13700
  this.destroy$.next();
@@ -13548,7 +13758,7 @@
13548
13758
  }], formReady: [{
13549
13759
  type: i0.Output
13550
13760
  }] } });
13551
- var templateObject_1$k, templateObject_2$d;
13761
+ var templateObject_1$m, templateObject_2$e;
13552
13762
 
13553
13763
  /**
13554
13764
  * This component and its related form represent a collection of KPI tile configuration components
@@ -13821,13 +14031,13 @@
13821
14031
  type: i0.Output
13822
14032
  }] } });
13823
14033
 
13824
- var _e$9;
13825
- var proportionalWidgetChartTypesNamesMap = (_e$9 = {},
13826
- _e$9[exports.ProportionalWidgetChartTypes.DonutChart] = $localize(templateObject_1$j || (templateObject_1$j = __makeTemplateObject(["Donut"], ["Donut"]))),
13827
- _e$9[exports.ProportionalWidgetChartTypes.PieChart] = $localize(templateObject_2$c || (templateObject_2$c = __makeTemplateObject(["Pie"], ["Pie"]))),
13828
- _e$9[exports.ProportionalWidgetChartTypes.VerticalBarChart] = $localize(templateObject_3$9 || (templateObject_3$9 = __makeTemplateObject(["Vertical Bar"], ["Vertical Bar"]))),
13829
- _e$9[exports.ProportionalWidgetChartTypes.HorizontalBarChart] = $localize(templateObject_4$6 || (templateObject_4$6 = __makeTemplateObject(["Horizontal Bar"], ["Horizontal Bar"]))),
13830
- _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);
13831
14041
  var ProportionalChartOptionsEditorComponent = /** @class */ (function () {
13832
14042
  function ProportionalChartOptionsEditorComponent(changeDetector, configuratorHeading, formBuilder) {
13833
14043
  this.changeDetector = changeDetector;
@@ -13965,7 +14175,7 @@
13965
14175
  }], formReady: [{
13966
14176
  type: i0.Output
13967
14177
  }] } });
13968
- 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;
13969
14179
 
13970
14180
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
13971
14181
  var DonutContentConfigurationComponent = /** @class */ (function () {
@@ -14100,50 +14310,116 @@
14100
14310
  type: i0.Output
14101
14311
  }] } });
14102
14312
 
14103
- // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
14104
- //
14105
- // Permission is hereby granted, free of charge, to any person obtaining a copy
14106
- // of this software and associated documentation files (the "Software"), to
14107
- // deal in the Software without restriction, including without limitation the
14108
- // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
14109
- // sell copies of the Software, and to permit persons to whom the Software is
14110
- // furnished to do so, subject to the following conditions:
14111
- //
14112
- // The above copyright notice and this permission notice shall be included in
14113
- // all copies or substantial portions of the Software.
14114
- //
14115
- // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14116
- // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14117
- // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
14118
- // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
14119
- // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
14120
- // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
14121
- // THE SOFTWARE.
14122
14313
  /**
14123
- * This is the only way to be notified of the parent form control being "touched"
14124
- * We replace the parent formControl method with our own implementation that also calls the original function
14125
- * @param formControl
14126
- * @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
14127
14315
  */
14128
- function onMarkAsTouched(formControl, callback) {
14129
- var origFunc = formControl.markAsTouched;
14130
- formControl.markAsTouched = function () {
14131
- // @ts-ignore
14132
- // eslint-disable-next-line prefer-rest-params
14133
- origFunc.apply(formControl, arguments);
14134
- callback();
14135
- };
14136
- }
14137
-
14138
- // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
14139
- var DescriptionConfigurationV2Component = /** @class */ (function () {
14140
- function DescriptionConfigurationV2Component(formBuilder, changeDetector) {
14141
- var _this = this;
14142
- this.formBuilder = formBuilder;
14316
+ var RiskScoreTilesConfigurationComponent = /** @class */ (function () {
14317
+ function RiskScoreTilesConfigurationComponent(pizzagnaService, changeDetector, formBuilder, eventBus) {
14318
+ this.pizzagnaService = pizzagnaService;
14143
14319
  this.changeDetector = changeDetector;
14144
- this.isWidthMessageDisplayed = false;
14145
- this.destroy$ = new rxjs.Subject();
14146
- this.form = this.formBuilder.group({
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;
14419
+ this.changeDetector = changeDetector;
14420
+ this.isWidthMessageDisplayed = false;
14421
+ this.destroy$ = new rxjs.Subject();
14422
+ this.form = this.formBuilder.group({
14147
14423
  label: ["", [i1$1.Validators.required]],
14148
14424
  isActive: true,
14149
14425
  width: undefined,
@@ -14240,7 +14516,7 @@
14240
14516
  var DEFAULT_TABLE_FORMATTERS = [
14241
14517
  {
14242
14518
  componentType: RawFormatterComponent.lateLoadKey,
14243
- 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"]))),
14244
14520
  dataTypes: {
14245
14521
  // @ts-ignore
14246
14522
  value: null,
@@ -14248,7 +14524,7 @@
14248
14524
  },
14249
14525
  {
14250
14526
  componentType: LinkFormatterComponent.lateLoadKey,
14251
- label: $localize(templateObject_2$b || (templateObject_2$b = __makeTemplateObject(["Link"], ["Link"]))),
14527
+ label: $localize(templateObject_2$c || (templateObject_2$c = __makeTemplateObject(["Link"], ["Link"]))),
14252
14528
  configurationComponent: "LinkConfiguratorComponent",
14253
14529
  dataTypes: {
14254
14530
  value: "label",
@@ -14263,7 +14539,7 @@
14263
14539
  },
14264
14540
  },
14265
14541
  ];
14266
- var templateObject_1$i, templateObject_2$b, templateObject_3$8;
14542
+ var templateObject_1$k, templateObject_2$c, templateObject_3$8;
14267
14543
 
14268
14544
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
14269
14545
  var PresentationConfigurationV2Component = /** @class */ (function () {
@@ -14672,7 +14948,7 @@
14672
14948
  // this can't be "dataFields" because that's an already used name for a property in pizzagna
14673
14949
  this.dataSourceFields = [];
14674
14950
  this.isWidthMessageDisplayed = false;
14675
- 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"])));
14676
14952
  this.onDestroy$ = new rxjs.Subject();
14677
14953
  this.form = this.formBuilder.group({
14678
14954
  columns: this.formBuilder.array([]),
@@ -14806,7 +15082,7 @@
14806
15082
  };
14807
15083
  if (confirmation) {
14808
15084
  var dialog = this.dialogService.confirm({
14809
- 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?"]))),
14810
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?"]))),
14811
15087
  confirmText: $localize(templateObject_4$5 || (templateObject_4$5 = __makeTemplateObject(["Reset Columns"], ["Reset Columns"]))),
14812
15088
  });
@@ -14915,7 +15191,7 @@
14915
15191
  }], formReady: [{
14916
15192
  type: i0.Output
14917
15193
  }] } });
14918
- 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;
14919
15195
 
14920
15196
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
14921
15197
  var DescriptionConfigurationComponent = /** @class */ (function () {
@@ -15564,8 +15840,8 @@
15564
15840
  };
15565
15841
  if (confirmation) {
15566
15842
  var dialog = this.dialogService.confirm({
15567
- title: $localize(templateObject_1$g || (templateObject_1$g = __makeTemplateObject(["Are you sure?"], ["Are you sure?"]))),
15568
- 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?"]))),
15569
15845
  confirmText: $localize(templateObject_3$6 || (templateObject_3$6 = __makeTemplateObject(["Reset Columns"], ["Reset Columns"]))),
15570
15846
  });
15571
15847
  dialog.result.then(function (result) {
@@ -15630,7 +15906,7 @@
15630
15906
  }], formReady: [{
15631
15907
  type: i0.Output
15632
15908
  }] } });
15633
- var templateObject_1$g, templateObject_2$9, templateObject_3$6;
15909
+ var templateObject_1$i, templateObject_2$a, templateObject_3$6;
15634
15910
 
15635
15911
  var TableFiltersEditorComponent = /** @class */ (function () {
15636
15912
  function TableFiltersEditorComponent(formBuilder, configuratorHeading, changeDetector) {
@@ -15690,14 +15966,14 @@
15690
15966
  if (val.sorterConfiguration) {
15691
15967
  var sortedColumn = (_a = this.columns) === null || _a === void 0 ? void 0 : _a.find(function (col) { return col.id === val.sorterConfiguration.sortBy; });
15692
15968
  if (!sortedColumn) {
15693
- 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"])));
15694
15970
  this.selectedSortOrderValue = "";
15695
15971
  (_b = this.form
15696
15972
  .get("sorterConfiguration")) === null || _b === void 0 ? void 0 : _b.patchValue({ sortBy: "", descendantSorting: "" }, { emitEvent: false });
15697
15973
  return;
15698
15974
  }
15699
15975
  var sortOrder = val.sorterConfiguration.descendantSorting
15700
- ? $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"])));
15701
15977
  this.selectedSortByValue = sortedColumn.label;
15702
15978
  this.selectedSortOrderValue = ", " + sortOrder;
15703
15979
  this.changeDetector.detectChanges();
@@ -15727,7 +16003,7 @@
15727
16003
  }], formReady: [{
15728
16004
  type: i0.Output
15729
16005
  }] } });
15730
- var templateObject_1$f, templateObject_2$8, templateObject_3$5;
16006
+ var templateObject_1$h, templateObject_2$9, templateObject_3$5;
15731
16007
 
15732
16008
  var TimeseriesSeriesCollectionConfigurationComponent = /** @class */ (function () {
15733
16009
  function TimeseriesSeriesCollectionConfigurationComponent(pizzagnaService, changeDetector, eventBus) {
@@ -16159,6 +16435,7 @@
16159
16435
  DataSourceConfigurationV2Component,
16160
16436
  DataSourceErrorComponent,
16161
16437
  KpiTilesConfigurationComponent,
16438
+ RiskScoreTilesConfigurationComponent,
16162
16439
  EmbeddedContentConfigurationComponent,
16163
16440
  InfoMessageConfigurationComponent,
16164
16441
  ProportionalChartOptionsEditorComponent,
@@ -16184,6 +16461,7 @@
16184
16461
  RawFormatterComponent,
16185
16462
  PercentageFormatterComponent,
16186
16463
  KpiDescriptionConfigurationComponent,
16464
+ RiskScoreTileDescriptionConfigurationComponent,
16187
16465
  ThresholdsConfigurationComponent,
16188
16466
  TitleAndDescriptionConfigurationComponent,
16189
16467
  WidgetConfiguratorSectionComponent,
@@ -16245,6 +16523,7 @@
16245
16523
  DataSourceConfigurationV2Component,
16246
16524
  DataSourceErrorComponent,
16247
16525
  KpiTilesConfigurationComponent,
16526
+ RiskScoreTilesConfigurationComponent,
16248
16527
  EmbeddedContentConfigurationComponent,
16249
16528
  InfoMessageConfigurationComponent,
16250
16529
  ProportionalChartOptionsEditorComponent,
@@ -16270,6 +16549,7 @@
16270
16549
  RawFormatterComponent,
16271
16550
  PercentageFormatterComponent,
16272
16551
  KpiDescriptionConfigurationComponent,
16552
+ RiskScoreTileDescriptionConfigurationComponent,
16273
16553
  ThresholdsConfigurationComponent,
16274
16554
  TitleAndDescriptionConfigurationComponent,
16275
16555
  WidgetConfiguratorSectionComponent,
@@ -16336,6 +16616,7 @@
16336
16616
  DataSourceConfigurationV2Component,
16337
16617
  DataSourceErrorComponent,
16338
16618
  KpiTilesConfigurationComponent,
16619
+ RiskScoreTilesConfigurationComponent,
16339
16620
  EmbeddedContentConfigurationComponent,
16340
16621
  InfoMessageConfigurationComponent,
16341
16622
  ProportionalChartOptionsEditorComponent,
@@ -16361,6 +16642,7 @@
16361
16642
  RawFormatterComponent,
16362
16643
  PercentageFormatterComponent,
16363
16644
  KpiDescriptionConfigurationComponent,
16645
+ RiskScoreTileDescriptionConfigurationComponent,
16364
16646
  ThresholdsConfigurationComponent,
16365
16647
  TitleAndDescriptionConfigurationComponent,
16366
16648
  WidgetConfiguratorSectionComponent,
@@ -16590,11 +16872,11 @@
16590
16872
  args: ["nuiWidgetEditor"]
16591
16873
  }] } });
16592
16874
 
16593
- var _a$l, _b$k, _c$d, _d$a, _e$8;
16875
+ var _a$o, _b$n, _c$f, _d$c, _e$a;
16594
16876
  /* eslint-enable max-len */
16595
- var drilldownConfigurator = (_a$l = {},
16596
- _a$l[exports.PizzagnaLayer.Structure] = (_b$k = {},
16597
- _b$k[DEFAULT_PIZZAGNA_ROOT] = {
16877
+ var drilldownConfigurator = (_a$o = {},
16878
+ _a$o[exports.PizzagnaLayer.Structure] = (_b$n = {},
16879
+ _b$n[DEFAULT_PIZZAGNA_ROOT] = {
16598
16880
  id: DEFAULT_PIZZAGNA_ROOT,
16599
16881
  // base layout of the configurator - all form components referenced herein will be stacked in a column
16600
16882
  componentType: FormStackComponent.lateLoadKey,
@@ -16605,16 +16887,16 @@
16605
16887
  },
16606
16888
  },
16607
16889
  // /presentation
16608
- _b$k.presentation = {
16890
+ _b$n.presentation = {
16609
16891
  id: "presentation",
16610
16892
  componentType: WidgetConfiguratorSectionComponent.lateLoadKey,
16611
16893
  properties: {
16612
- headerText: $localize(templateObject_1$e || (templateObject_1$e = __makeTemplateObject(["Presentation"], ["Presentation"]))),
16894
+ headerText: $localize(templateObject_1$g || (templateObject_1$g = __makeTemplateObject(["Presentation"], ["Presentation"]))),
16613
16895
  nodes: ["titleAndDescription"],
16614
16896
  },
16615
16897
  },
16616
16898
  // /presentation/titleAndDescription
16617
- _b$k.titleAndDescription = {
16899
+ _b$n.titleAndDescription = {
16618
16900
  id: "titleAndDescription",
16619
16901
  componentType: TitleAndDescriptionConfigurationComponent.lateLoadKey,
16620
16902
  providers: {
@@ -16624,24 +16906,24 @@
16624
16906
  },
16625
16907
  },
16626
16908
  // /dataAndCalculations
16627
- _b$k.dataAndCalculations = {
16909
+ _b$n.dataAndCalculations = {
16628
16910
  id: "dataAndCalculations",
16629
16911
  componentType: WidgetConfiguratorSectionComponent.lateLoadKey,
16630
16912
  properties: {
16631
- 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"]))),
16632
16914
  nodes: ["dataSource", "grouping", "entityFormatting"],
16633
16915
  },
16634
16916
  },
16635
- _b$k.dataSource = {
16917
+ _b$n.dataSource = {
16636
16918
  id: "dataSource",
16637
16919
  componentType: DataSourceConfigurationComponent.lateLoadKey,
16638
16920
  properties: {
16639
16921
  // for the DataSourceConfigurationComponent, this defines the list of data sources to pick from
16640
16922
  dataSourceProviders: [],
16641
16923
  },
16642
- providers: (_c$d = {},
16924
+ providers: (_c$f = {},
16643
16925
  // converter transforms the data source metadata between the widget and the form
16644
- _c$d[exports.WellKnownProviders.Converter] = {
16926
+ _c$f[exports.WellKnownProviders.Converter] = {
16645
16927
  providerId: NOVA_GENERIC_CONVERTER,
16646
16928
  properties: {
16647
16929
  formParts: [
@@ -16653,10 +16935,10 @@
16653
16935
  ],
16654
16936
  },
16655
16937
  },
16656
- _c$d),
16938
+ _c$f),
16657
16939
  },
16658
16940
  // /dataAndCalculations/grouping
16659
- _b$k.grouping = {
16941
+ _b$n.grouping = {
16660
16942
  id: "grouping",
16661
16943
  componentType: GroupingConfigurationComponent.lateLoadKey,
16662
16944
  properties: {
@@ -16665,8 +16947,8 @@
16665
16947
  // grouping for the list widget
16666
16948
  groupBy: [],
16667
16949
  },
16668
- providers: (_d$a = {},
16669
- _d$a[exports.WellKnownProviders.Converter] = {
16950
+ providers: (_d$c = {},
16951
+ _d$c[exports.WellKnownProviders.Converter] = {
16670
16952
  providerId: NOVA_GENERIC_CONVERTER,
16671
16953
  properties: {
16672
16954
  formParts: [
@@ -16677,10 +16959,10 @@
16677
16959
  ],
16678
16960
  },
16679
16961
  },
16680
- _d$a),
16962
+ _d$c),
16681
16963
  },
16682
16964
  // /dataAndCalculations/entityFormatting
16683
- _b$k.entityFormatting = {
16965
+ _b$n.entityFormatting = {
16684
16966
  id: "entityFormatting",
16685
16967
  componentType: EntityFormattingConfigurationComponent.lateLoadKey,
16686
16968
  properties: {
@@ -16694,8 +16976,8 @@
16694
16976
  url: "url",
16695
16977
  },
16696
16978
  },
16697
- providers: (_e$8 = {},
16698
- _e$8[exports.WellKnownProviders.Converter] = {
16979
+ providers: (_e$a = {},
16980
+ _e$a[exports.WellKnownProviders.Converter] = {
16699
16981
  providerId: NOVA_GENERIC_CONVERTER,
16700
16982
  properties: {
16701
16983
  formParts: [
@@ -16706,13 +16988,13 @@
16706
16988
  ],
16707
16989
  },
16708
16990
  },
16709
- _e$8),
16991
+ _e$a),
16710
16992
  },
16711
- _b$k),
16712
- _a$l);
16713
- var templateObject_1$e, templateObject_2$7;
16993
+ _b$n),
16994
+ _a$o);
16995
+ var templateObject_1$g, templateObject_2$8;
16714
16996
 
16715
- var _a$k, _b$j, _c$c;
16997
+ var _a$n, _b$m, _c$e;
16716
16998
  /**
16717
16999
  * Component definition for the widget header node
16718
17000
  */
@@ -16729,11 +17011,11 @@
16729
17011
  var WIDGET_LOADING = {
16730
17012
  id: "loading",
16731
17013
  componentType: LoadingComponent.lateLoadKey,
16732
- providers: (_a$k = {},
16733
- _a$k[exports.WellKnownProviders.LoadingAdapter] = {
17014
+ providers: (_a$n = {},
17015
+ _a$n[exports.WellKnownProviders.LoadingAdapter] = {
16734
17016
  providerId: NOVA_LOADING_ADAPTER,
16735
17017
  },
16736
- _a$k),
17018
+ _a$n),
16737
17019
  };
16738
17020
  /**
16739
17021
  * Component configuration definition for the basic widget body node
@@ -16753,25 +17035,25 @@
16753
17035
  * data source error type. Additionally, the node keys may be any string as long as they correspond to an
16754
17036
  * error configuration node defined in the widget structure.
16755
17037
  */
16756
- var ERROR_FALLBACK_MAP = (_b$j = {},
16757
- _b$j[exports.HttpStatusCode.Unknown] = exports.ErrorNodeKey.ErrorUnknown,
16758
- _b$j[exports.HttpStatusCode.Forbidden] = exports.ErrorNodeKey.ErrorForbidden,
16759
- _b$j[exports.HttpStatusCode.NotFound] = exports.ErrorNodeKey.ErrorNotFound,
16760
- _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);
16761
17043
  /**
16762
17044
  * An index of common error configurations
16763
17045
  */
16764
- var ERROR_NODES = (_c$c = {},
16765
- _c$c[exports.ErrorNodeKey.ErrorUnknown] = {
17046
+ var ERROR_NODES = (_c$e = {},
17047
+ _c$e[exports.ErrorNodeKey.ErrorUnknown] = {
16766
17048
  id: exports.ErrorNodeKey.ErrorUnknown,
16767
17049
  componentType: WidgetErrorComponent.lateLoadKey,
16768
17050
  properties: {
16769
17051
  image: "no-data-to-show",
16770
- title: $localize(templateObject_1$d || (templateObject_1$d = __makeTemplateObject(["Whoops, something went wrong"], ["Whoops, something went wrong"]))),
16771
- 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."]))),
16772
17054
  },
16773
17055
  },
16774
- _c$c[exports.ErrorNodeKey.ErrorForbidden] = {
17056
+ _c$e[exports.ErrorNodeKey.ErrorForbidden] = {
16775
17057
  id: exports.ErrorNodeKey.ErrorForbidden,
16776
17058
  componentType: WidgetErrorComponent.lateLoadKey,
16777
17059
  properties: {
@@ -16780,7 +17062,7 @@
16780
17062
  description: $localize(templateObject_4$4 || (templateObject_4$4 = __makeTemplateObject(["The requested action was forbidden."], ["The requested action was forbidden."]))),
16781
17063
  },
16782
17064
  },
16783
- _c$c[exports.ErrorNodeKey.ErrorNotFound] = {
17065
+ _c$e[exports.ErrorNodeKey.ErrorNotFound] = {
16784
17066
  id: exports.ErrorNodeKey.ErrorNotFound,
16785
17067
  componentType: WidgetErrorComponent.lateLoadKey,
16786
17068
  properties: {
@@ -16789,7 +17071,7 @@
16789
17071
  description: $localize(templateObject_6$2 || (templateObject_6$2 = __makeTemplateObject(["The requested resource could not be found."], ["The requested resource could not be found."]))),
16790
17072
  },
16791
17073
  },
16792
- _c$c);
17074
+ _c$e);
16793
17075
  /**
16794
17076
  * Retrieves an index of the basic widget body content nodes including fallback nodes
16795
17077
  *
@@ -16819,7 +17101,7 @@
16819
17101
  _a),
16820
17102
  } }, fallbackNodes);
16821
17103
  }
16822
- 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;
16823
17105
 
16824
17106
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
16825
17107
  /**
@@ -16848,9 +17130,9 @@
16848
17130
  };
16849
17131
  }
16850
17132
 
16851
- var _a$j, _b$i, _c$b, _d$9;
16852
- var drilldownWidget = (_a$j = {},
16853
- _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] = {
16854
17136
  id: DEFAULT_PIZZAGNA_ROOT,
16855
17137
  // base layout of the widget - all components referenced herein will be stacked in a column
16856
17138
  componentType: StackComponent.lateLoadKey,
@@ -16858,17 +17140,17 @@
16858
17140
  // these values reference other components in this structure
16859
17141
  nodes: ["header", "loading", "search", "body"],
16860
17142
  },
16861
- providers: (_c$b = {},
17143
+ providers: (_c$d = {},
16862
17144
  // event proxy manages the transmission of events between widget and dashboard
16863
- _c$b[exports.WellKnownProviders.EventProxy] = EVENT_PROXY,
16864
- _c$b),
17145
+ _c$d[exports.WellKnownProviders.EventProxy] = EVENT_PROXY,
17146
+ _c$d),
16865
17147
  },
16866
17148
  // widget header
16867
- _b$i.header = WIDGET_HEADER,
17149
+ _b$l.header = WIDGET_HEADER,
16868
17150
  // this is the loading bar below the header
16869
- _b$i.loading = WIDGET_LOADING,
17151
+ _b$l.loading = WIDGET_LOADING,
16870
17152
  // widget body
16871
- _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: {
16872
17154
  id: "search",
16873
17155
  componentType: WidgetSearchComponent.lateLoadKey,
16874
17156
  } }), widgetBodyContentNodes("mainContent")), { mainContent: {
@@ -16889,21 +17171,21 @@
16889
17171
  elementClass: "w-100 p-3",
16890
17172
  },
16891
17173
  } }),
16892
- _a$j[exports.PizzagnaLayer.Configuration] = (_d$9 = {},
16893
- _d$9[DEFAULT_PIZZAGNA_ROOT] = {
17174
+ _a$m[exports.PizzagnaLayer.Configuration] = (_d$b = {},
17175
+ _d$b[DEFAULT_PIZZAGNA_ROOT] = {
16894
17176
  id: DEFAULT_PIZZAGNA_ROOT,
16895
17177
  },
16896
17178
  // default header configuration
16897
- _d$9.header = {
17179
+ _d$b.header = {
16898
17180
  properties: {
16899
- 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"]))),
16900
17182
  },
16901
17183
  },
16902
- _d$9),
16903
- _a$j);
16904
- var templateObject_1$c;
17184
+ _d$b),
17185
+ _a$m);
17186
+ var templateObject_1$e;
16905
17187
 
16906
- var _a$i, _b$h;
17188
+ var _a$l, _b$k;
16907
17189
  /***********************************************************************************************************
16908
17190
  * Drilldown widget definition starts here
16909
17191
  ***********************************************************************************************************/
@@ -16912,14 +17194,14 @@
16912
17194
  * Paths to important settings in this type definition
16913
17195
  ***************************************************************************************************/
16914
17196
  paths: {
16915
- widget: (_a$i = {},
16916
- _a$i[exports.WellKnownPathKey.Root] = DEFAULT_PIZZAGNA_ROOT,
16917
- _a$i),
16918
- configurator: (_b$h = {},
16919
- _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,
16920
17202
  // for the default data source configuration component, this changes the list of data sources to pick from
16921
- _b$h[exports.WellKnownPathKey.DataSourceProviders] = "dataSource.properties.dataSourceProviders",
16922
- _b$h),
17203
+ _b$k[exports.WellKnownPathKey.DataSourceProviders] = "dataSource.properties.dataSourceProviders",
17204
+ _b$k),
16923
17205
  },
16924
17206
  /***************************************************************************************************
16925
17207
  * Widget section describes the structural part of the KPI widget
@@ -16931,11 +17213,11 @@
16931
17213
  configurator: drilldownConfigurator,
16932
17214
  };
16933
17215
 
16934
- var _a$h, _b$g, _c$a;
17216
+ var _a$k, _b$j, _c$c;
16935
17217
  /* eslint-enable max-len */
16936
- var embeddedContentConfigurator = (_a$h = {},
16937
- _a$h[exports.PizzagnaLayer.Structure] = (_b$g = {},
16938
- _b$g[DEFAULT_PIZZAGNA_ROOT] = {
17218
+ var embeddedContentConfigurator = (_a$k = {},
17219
+ _a$k[exports.PizzagnaLayer.Structure] = (_b$j = {},
17220
+ _b$j[DEFAULT_PIZZAGNA_ROOT] = {
16939
17221
  id: DEFAULT_PIZZAGNA_ROOT,
16940
17222
  // base layout of the configurator - all form components referenced herein will be stacked in a column
16941
17223
  componentType: FormStackComponent.lateLoadKey,
@@ -16946,16 +17228,16 @@
16946
17228
  },
16947
17229
  },
16948
17230
  // /presentation
16949
- _b$g.presentation = {
17231
+ _b$j.presentation = {
16950
17232
  id: "presentation",
16951
17233
  componentType: WidgetConfiguratorSectionComponent.lateLoadKey,
16952
17234
  properties: {
16953
- headerText: $localize(templateObject_1$b || (templateObject_1$b = __makeTemplateObject(["Presentation"], ["Presentation"]))),
17235
+ headerText: $localize(templateObject_1$d || (templateObject_1$d = __makeTemplateObject(["Presentation"], ["Presentation"]))),
16954
17236
  nodes: ["titleAndDescription"],
16955
17237
  },
16956
17238
  },
16957
17239
  // /presentation/titleAndDescription
16958
- _b$g.titleAndDescription = {
17240
+ _b$j.titleAndDescription = {
16959
17241
  id: "titleAndDescription",
16960
17242
  componentType: TitleAndDescriptionConfigurationComponent.lateLoadKey,
16961
17243
  providers: {
@@ -16965,16 +17247,16 @@
16965
17247
  },
16966
17248
  },
16967
17249
  // /customConfig
16968
- _b$g.customConfig = {
17250
+ _b$j.customConfig = {
16969
17251
  id: "customConfig",
16970
17252
  componentType: WidgetConfiguratorSectionComponent.lateLoadKey,
16971
17253
  properties: {
16972
- 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"]))),
16973
17255
  nodes: ["embeddedContentSelection"],
16974
17256
  },
16975
17257
  },
16976
17258
  // /customConfig/embeddedContentSelection
16977
- _b$g.embeddedContentSelection = {
17259
+ _b$j.embeddedContentSelection = {
16978
17260
  id: "embeddedContentSelection",
16979
17261
  componentType: EmbeddedContentConfigurationComponent.lateLoadKey,
16980
17262
  properties: {
@@ -16992,9 +17274,9 @@
16992
17274
  },
16993
17275
  },
16994
17276
  },
16995
- providers: (_c$a = {},
17277
+ providers: (_c$c = {},
16996
17278
  // converter transforms the data between the widget and the form
16997
- _c$a[exports.WellKnownProviders.Converter] = {
17279
+ _c$c[exports.WellKnownProviders.Converter] = {
16998
17280
  providerId: NOVA_GENERIC_CONVERTER,
16999
17281
  properties: {
17000
17282
  formParts: [
@@ -17010,34 +17292,34 @@
17010
17292
  ],
17011
17293
  },
17012
17294
  },
17013
- _c$a),
17295
+ _c$c),
17014
17296
  },
17015
- _b$g),
17016
- _a$h);
17017
- var templateObject_1$b, templateObject_2$5;
17297
+ _b$j),
17298
+ _a$k);
17299
+ var templateObject_1$d, templateObject_2$6;
17018
17300
 
17019
- var _a$g, _b$f, _c$9;
17020
- var embeddedContentWidget = (_a$g = {},
17021
- _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] = {
17022
17304
  id: DEFAULT_PIZZAGNA_ROOT,
17023
17305
  // base layout of the widget - all components referenced herein will be stacked in a column
17024
17306
  componentType: StackComponent.lateLoadKey,
17025
- providers: (_c$9 = {},
17307
+ providers: (_c$b = {},
17026
17308
  // When enabled, this provider emits the REFRESH event on the pizzagna event bus every X seconds
17027
- _c$9[exports.WellKnownProviders.Refresher] = refresher(),
17309
+ _c$b[exports.WellKnownProviders.Refresher] = refresher(),
17028
17310
  // event proxy manages the transmission of events between widget and dashboard
17029
- _c$9[exports.WellKnownProviders.EventProxy] = EVENT_PROXY,
17030
- _c$9),
17311
+ _c$b[exports.WellKnownProviders.EventProxy] = EVENT_PROXY,
17312
+ _c$b),
17031
17313
  properties: {
17032
17314
  nodes: ["header", "loading", "body"],
17033
17315
  },
17034
17316
  },
17035
17317
  // widget header
17036
- _b$f.header = WIDGET_HEADER,
17318
+ _b$i.header = WIDGET_HEADER,
17037
17319
  // this is the loading bar below the header
17038
- _b$f.loading = WIDGET_LOADING,
17320
+ _b$i.loading = WIDGET_LOADING,
17039
17321
  // widget body
17040
- _b$f.body = WIDGET_BODY, _b$f), widgetBodyContentNodes("mainContent")), {
17322
+ _b$i.body = WIDGET_BODY, _b$i), widgetBodyContentNodes("mainContent")), {
17041
17323
  // the main content node specifying a component that manages layout of the KPI tiles in a CSS grid
17042
17324
  mainContent: {
17043
17325
  id: "mainContent",
@@ -17047,18 +17329,18 @@
17047
17329
  },
17048
17330
  }
17049
17331
  }),
17050
- _a$g[exports.PizzagnaLayer.Configuration] = {
17332
+ _a$j[exports.PizzagnaLayer.Configuration] = {
17051
17333
  // default header configuration
17052
17334
  header: {
17053
17335
  properties: {
17054
- 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"]))),
17055
17337
  },
17056
17338
  },
17057
17339
  },
17058
- _a$g);
17059
- var templateObject_1$a;
17340
+ _a$j);
17341
+ var templateObject_1$c;
17060
17342
 
17061
- var _a$f, _b$e;
17343
+ var _a$i, _b$h;
17062
17344
  /***********************************************************************************************************
17063
17345
  * EmbeddedContent widget definition starts here
17064
17346
  ***********************************************************************************************************/
@@ -17067,12 +17349,12 @@
17067
17349
  * Paths to important settings in this type definition
17068
17350
  ***************************************************************************************************/
17069
17351
  paths: {
17070
- widget: (_a$f = {},
17071
- _a$f[exports.WellKnownPathKey.Root] = DEFAULT_PIZZAGNA_ROOT,
17072
- _a$f),
17073
- configurator: (_b$e = {},
17074
- _b$e[exports.WellKnownPathKey.Root] = DEFAULT_PIZZAGNA_ROOT,
17075
- _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),
17076
17358
  },
17077
17359
  /***************************************************************************************************
17078
17360
  * Widget section describes the structural part of the widget
@@ -17084,15 +17366,15 @@
17084
17366
  configurator: embeddedContentConfigurator,
17085
17367
  };
17086
17368
 
17087
- var _a$e;
17369
+ var _a$h;
17088
17370
  /**
17089
17371
  * Component configuration for the refresher configurator node
17090
17372
  */
17091
17373
  var REFRESHER_CONFIGURATOR = {
17092
17374
  id: "refresher",
17093
17375
  componentType: RefresherConfigurationComponent.lateLoadKey,
17094
- providers: (_a$e = {},
17095
- _a$e[exports.WellKnownProviders.Converter] = {
17376
+ providers: (_a$h = {},
17377
+ _a$h[exports.WellKnownProviders.Converter] = {
17096
17378
  providerId: NOVA_GENERIC_CONVERTER,
17097
17379
  properties: {
17098
17380
  formParts: [
@@ -17107,18 +17389,18 @@
17107
17389
  ],
17108
17390
  },
17109
17391
  },
17110
- _a$e),
17392
+ _a$h),
17111
17393
  properties: {
17112
17394
  overrideDefaultSettings: false,
17113
17395
  },
17114
17396
  };
17115
17397
 
17116
- 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;
17117
17399
  /* eslint-enable max-len */
17118
17400
  var DEFAULT_KPI_FORMATTERS = [
17119
17401
  {
17120
17402
  componentType: RawFormatterComponent.lateLoadKey,
17121
- 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"]))),
17122
17404
  dataTypes: {
17123
17405
  // @ts-ignore
17124
17406
  value: null,
@@ -17126,7 +17408,7 @@
17126
17408
  },
17127
17409
  {
17128
17410
  componentType: SiUnitsFormatterComponent.lateLoadKey,
17129
- 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"]))),
17130
17412
  dataTypes: {
17131
17413
  // @ts-ignore
17132
17414
  value: null,
@@ -17141,9 +17423,9 @@
17141
17423
  },
17142
17424
  },
17143
17425
  ];
17144
- var kpiConfigurator = (_a$d = {},
17145
- _a$d[exports.PizzagnaLayer.Structure] = (_b$d = {},
17146
- _b$d[DEFAULT_PIZZAGNA_ROOT] = {
17426
+ var kpiConfigurator = (_a$g = {},
17427
+ _a$g[exports.PizzagnaLayer.Structure] = (_b$g = {},
17428
+ _b$g[DEFAULT_PIZZAGNA_ROOT] = {
17147
17429
  id: DEFAULT_PIZZAGNA_ROOT,
17148
17430
  // base layout of the configurator - all form components referenced herein will be stacked in a column
17149
17431
  componentType: FormStackComponent.lateLoadKey,
@@ -17152,14 +17434,14 @@
17152
17434
  // references to other components laid out in this form
17153
17435
  nodes: ["presentation", "tiles"],
17154
17436
  },
17155
- providers: (_c$8 = {},
17156
- _c$8[exports.WellKnownProviders.FormattersRegistry] = {
17437
+ providers: (_c$a = {},
17438
+ _c$a[exports.WellKnownProviders.FormattersRegistry] = {
17157
17439
  providerId: NOVA_KPI_FORMATTERS_REGISTRY,
17158
17440
  },
17159
- _c$8),
17441
+ _c$a),
17160
17442
  },
17161
17443
  // /presentation
17162
- _b$d.presentation = {
17444
+ _b$g.presentation = {
17163
17445
  id: "presentation",
17164
17446
  componentType: WidgetConfiguratorSectionComponent.lateLoadKey,
17165
17447
  properties: {
@@ -17168,7 +17450,7 @@
17168
17450
  },
17169
17451
  },
17170
17452
  // /presentation/titleAndDescription
17171
- _b$d.titleAndDescription = {
17453
+ _b$g.titleAndDescription = {
17172
17454
  id: "titleAndDescription",
17173
17455
  componentType: TitleAndDescriptionConfigurationComponent.lateLoadKey,
17174
17456
  providers: {
@@ -17177,9 +17459,9 @@
17177
17459
  },
17178
17460
  },
17179
17461
  },
17180
- _b$d.refresher = REFRESHER_CONFIGURATOR,
17462
+ _b$g.refresher = REFRESHER_CONFIGURATOR,
17181
17463
  // /tiles
17182
- _b$d.tiles = {
17464
+ _b$g.tiles = {
17183
17465
  id: "tiles",
17184
17466
  componentType: KpiTilesConfigurationComponent.lateLoadKey,
17185
17467
  properties: {
@@ -17193,9 +17475,9 @@
17193
17475
  configurableUnits: true,
17194
17476
  backgroundColors: __spreadArray([], __read(DEFAULT_KPI_BACKGROUND_COLORS)),
17195
17477
  },
17196
- providers: (_d$8 = {},
17478
+ providers: (_d$a = {},
17197
17479
  // converter transforms the data between the widget and the form
17198
- _d$8[exports.WellKnownProviders.Converter] = {
17480
+ _d$a[exports.WellKnownProviders.Converter] = {
17199
17481
  providerId: NOVA_KPI_SECTION_CONVERTER,
17200
17482
  properties: {
17201
17483
  formParts: [
@@ -17210,7 +17492,7 @@
17210
17492
  ],
17211
17493
  },
17212
17494
  },
17213
- _d$8),
17495
+ _d$a),
17214
17496
  },
17215
17497
  {
17216
17498
  // data source configuration section
@@ -17221,9 +17503,9 @@
17221
17503
  dataSourceProviders: [],
17222
17504
  errorComponent: DataSourceErrorComponent.lateLoadKey,
17223
17505
  },
17224
- providers: (_e$7 = {},
17506
+ providers: (_e$9 = {},
17225
17507
  // converter transforms the data source metadata between the widget and the form
17226
- _e$7[exports.WellKnownProviders.Converter] = {
17508
+ _e$9[exports.WellKnownProviders.Converter] = {
17227
17509
  providerId: NOVA_KPI_SECTION_CONVERTER,
17228
17510
  properties: {
17229
17511
  formParts: [
@@ -17241,7 +17523,7 @@
17241
17523
  ],
17242
17524
  },
17243
17525
  },
17244
- _e$7[exports.WellKnownProviders.Broadcaster] = {
17526
+ _e$9[exports.WellKnownProviders.Broadcaster] = {
17245
17527
  providerId: NOVA_PIZZAGNA_BROADCASTER,
17246
17528
  properties: {
17247
17529
  configs: [
@@ -17255,15 +17537,15 @@
17255
17537
  ],
17256
17538
  },
17257
17539
  },
17258
- _e$7),
17540
+ _e$9),
17259
17541
  },
17260
17542
  {
17261
17543
  // thresholds configuration section
17262
17544
  id: "thresholds",
17263
17545
  componentType: ThresholdsConfigurationComponent.lateLoadKey,
17264
- providers: (_f$7 = {},
17546
+ providers: (_f$9 = {},
17265
17547
  // converter transforms the data between the widget and the form
17266
- _f$7[exports.WellKnownProviders.Converter] = {
17548
+ _f$9[exports.WellKnownProviders.Converter] = {
17267
17549
  providerId: NOVA_KPI_SECTION_CONVERTER,
17268
17550
  properties: {
17269
17551
  formParts: [
@@ -17280,7 +17562,7 @@
17280
17562
  ],
17281
17563
  },
17282
17564
  },
17283
- _f$7),
17565
+ _f$9),
17284
17566
  },
17285
17567
  {
17286
17568
  id: "backgroundColorRules",
@@ -17288,8 +17570,8 @@
17288
17570
  properties: {
17289
17571
  backgroundColors: __spreadArray([], __read(DEFAULT_KPI_BACKGROUND_COLORS)),
17290
17572
  },
17291
- providers: (_g$2 = {},
17292
- _g$2[exports.WellKnownProviders.Converter] = {
17573
+ providers: (_g$3 = {},
17574
+ _g$3[exports.WellKnownProviders.Converter] = {
17293
17575
  providerId: NOVA_KPI_SECTION_CONVERTER,
17294
17576
  properties: {
17295
17577
  formParts: [
@@ -17300,7 +17582,7 @@
17300
17582
  ],
17301
17583
  },
17302
17584
  },
17303
- _g$2),
17585
+ _g$3),
17304
17586
  },
17305
17587
  {
17306
17588
  id: "formatting",
@@ -17342,32 +17624,32 @@
17342
17624
  },
17343
17625
  _j),
17344
17626
  },
17345
- _b$d),
17346
- _a$d);
17347
- 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;
17348
17630
 
17349
- var _a$c, _b$c, _c$7, _d$7, _e$6, _f$6;
17350
- var kpiWidget = (_a$c = {},
17351
- _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] = {
17352
17634
  id: DEFAULT_PIZZAGNA_ROOT,
17353
17635
  // base layout of the widget - all components referenced herein will be stacked in a column
17354
17636
  componentType: StackComponent.lateLoadKey,
17355
- providers: (_c$7 = {},
17637
+ providers: (_c$9 = {},
17356
17638
  // When enabled, this provider emits the REFRESH event on the pizzagna event bus every X seconds
17357
- _c$7[exports.WellKnownProviders.Refresher] = refresher(),
17639
+ _c$9[exports.WellKnownProviders.Refresher] = refresher(),
17358
17640
  // event proxy manages the transmission of events between widget and dashboard
17359
- _c$7[exports.WellKnownProviders.EventProxy] = EVENT_PROXY,
17360
- _c$7),
17641
+ _c$9[exports.WellKnownProviders.EventProxy] = EVENT_PROXY,
17642
+ _c$9),
17361
17643
  properties: {
17362
17644
  nodes: ["header", "loading", "body"],
17363
17645
  },
17364
17646
  },
17365
17647
  // widget header
17366
- _b$c.header = WIDGET_HEADER,
17648
+ _b$f.header = WIDGET_HEADER,
17367
17649
  // this is the loading bar below the header
17368
- _b$c.loading = WIDGET_LOADING,
17650
+ _b$f.loading = WIDGET_LOADING,
17369
17651
  // widget body
17370
- _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)), {
17371
17653
  // the main content node specifying a component that manages layout of the KPI tiles in a CSS grid
17372
17654
  tiles: {
17373
17655
  id: "tiles",
@@ -17376,18 +17658,18 @@
17376
17658
  elementClass: "flex-grow-1 pt-2 px-3 pb-3 w-100",
17377
17659
  template: {
17378
17660
  componentType: KpiComponent.lateLoadKey,
17379
- providers: (_d$7 = {},
17380
- _d$7[exports.WellKnownProviders.KpiColorPrioritizer] = {
17661
+ providers: (_d$9 = {},
17662
+ _d$9[exports.WellKnownProviders.KpiColorPrioritizer] = {
17381
17663
  providerId: NOVA_KPI_COLOR_PRIORITIZER,
17382
17664
  properties: {},
17383
17665
  },
17384
- _d$7[exports.WellKnownProviders.Adapter] = {
17666
+ _d$9[exports.WellKnownProviders.Adapter] = {
17385
17667
  providerId: NOVA_KPI_DATASOURCE_ADAPTER,
17386
17668
  properties: {
17387
17669
  propertyPath: "widgetData",
17388
17670
  },
17389
17671
  },
17390
- _d$7),
17672
+ _d$9),
17391
17673
  properties: {
17392
17674
  elementClass: "flex-grow-1",
17393
17675
  },
@@ -17395,27 +17677,27 @@
17395
17677
  },
17396
17678
  }
17397
17679
  }),
17398
- _a$c[exports.PizzagnaLayer.Configuration] = (_e$6 = {},
17399
- _e$6[DEFAULT_PIZZAGNA_ROOT] = {
17680
+ _a$f[exports.PizzagnaLayer.Configuration] = (_e$8 = {},
17681
+ _e$8[DEFAULT_PIZZAGNA_ROOT] = {
17400
17682
  id: DEFAULT_PIZZAGNA_ROOT,
17401
- providers: (_f$6 = {},
17683
+ providers: (_f$8 = {},
17402
17684
  // default refresher configuration
17403
- _f$6[exports.WellKnownProviders.Refresher] = refresher(false, 60),
17404
- _f$6),
17685
+ _f$8[exports.WellKnownProviders.Refresher] = refresher(false, 60),
17686
+ _f$8),
17405
17687
  },
17406
17688
  // default header configuration
17407
- _e$6.header = {
17689
+ _e$8.header = {
17408
17690
  properties: {
17409
- 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"]))),
17410
17692
  },
17411
17693
  },
17412
- _e$6),
17413
- _a$c);
17414
- var templateObject_1$8;
17694
+ _e$8),
17695
+ _a$f);
17696
+ var templateObject_1$a;
17415
17697
 
17416
- var _a$b, _b$b;
17417
- var tileDescriptionConfiguratorTemplatePath = "tiles.properties.template[0]";
17418
- 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]";
17419
17701
  var backgroundColorRulesConfiguratorTemplatePath = "tiles.properties.template[3]";
17420
17702
  /***********************************************************************************************************
17421
17703
  * KPI widget definition starts here
@@ -17425,22 +17707,22 @@
17425
17707
  * Paths to important settings in this type definition
17426
17708
  ***************************************************************************************************/
17427
17709
  paths: {
17428
- widget: (_a$b = {},
17429
- _a$b[exports.WellKnownPathKey.Root] = DEFAULT_PIZZAGNA_ROOT,
17430
- _a$b),
17431
- configurator: (_b$b = {},
17432
- _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,
17433
17715
  // this points at the component type you need to change if you want to change the component for data source configuration
17434
- _b$b[exports.WellKnownPathKey.DataSourceConfigComponentType] = dataSourceConfiguratorTemplatePath + ".componentType",
17716
+ _b$e[exports.WellKnownPathKey.DataSourceConfigComponentType] = dataSourceConfiguratorTemplatePath$1 + ".componentType",
17435
17717
  // this points at the component type you need to change if you want to change the component for tile description configuration
17436
- _b$b[exports.WellKnownPathKey.TileDescriptionConfigComponentType] = tileDescriptionConfiguratorTemplatePath + ".componentType",
17718
+ _b$e[exports.WellKnownPathKey.TileDescriptionConfigComponentType] = tileDescriptionConfiguratorTemplatePath$1 + ".componentType",
17437
17719
  // for the default data source configuration component, this changes the list of data sources to pick from
17438
- _b$b[exports.WellKnownPathKey.DataSourceProviders] = dataSourceConfiguratorTemplatePath + ".properties.dataSourceProviders",
17720
+ _b$e[exports.WellKnownPathKey.DataSourceProviders] = dataSourceConfiguratorTemplatePath$1 + ".properties.dataSourceProviders",
17439
17721
  // this points to the Tile's description background color picker
17440
- _b$b[exports.WellKnownPathKey.TileDescriptionBackgroundColors] = tileDescriptionConfiguratorTemplatePath + ".properties.backgroundColors",
17722
+ _b$e[exports.WellKnownPathKey.TileDescriptionBackgroundColors] = tileDescriptionConfiguratorTemplatePath$1 + ".properties.backgroundColors",
17441
17723
  // this points to the Background Color Rules background color picker
17442
- _b$b[exports.WellKnownPathKey.TileBackgroundColorRulesBackgroundColors] = backgroundColorRulesConfiguratorTemplatePath + ".properties.backgroundColors",
17443
- _b$b),
17724
+ _b$e[exports.WellKnownPathKey.TileBackgroundColorRulesBackgroundColors] = backgroundColorRulesConfiguratorTemplatePath + ".properties.backgroundColors",
17725
+ _b$e),
17444
17726
  },
17445
17727
  /***************************************************************************************************
17446
17728
  * Widget section describes the structural part of the KPI widget
@@ -17452,42 +17734,42 @@
17452
17734
  configurator: kpiConfigurator,
17453
17735
  };
17454
17736
 
17455
- var _a$a, _b$a, _c$6, _d$6;
17737
+ var _a$d, _b$d, _c$8, _d$8;
17456
17738
  var previewPlaceholder = {
17457
17739
  paths: {
17458
- widget: (_a$a = {},
17459
- _a$a[exports.WellKnownPathKey.Root] = DEFAULT_PIZZAGNA_ROOT,
17460
- _a$a),
17461
- configurator: (_b$a = {},
17462
- _b$a[exports.WellKnownPathKey.Root] = DEFAULT_PIZZAGNA_ROOT,
17463
- _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),
17464
17746
  },
17465
- widget: (_c$6 = {},
17466
- _c$6[exports.PizzagnaLayer.Structure] = (_d$6 = {},
17467
- _d$6[DEFAULT_PIZZAGNA_ROOT] = {
17747
+ widget: (_c$8 = {},
17748
+ _c$8[exports.PizzagnaLayer.Structure] = (_d$8 = {},
17749
+ _d$8[DEFAULT_PIZZAGNA_ROOT] = {
17468
17750
  id: DEFAULT_PIZZAGNA_ROOT,
17469
17751
  componentType: StackComponent.lateLoadKey,
17470
17752
  properties: {
17471
17753
  nodes: ["header", "body"],
17472
17754
  },
17473
17755
  },
17474
- _d$6.header = WIDGET_HEADER,
17475
- _d$6.body = WIDGET_BODY,
17476
- _d$6.bodyContent = {
17756
+ _d$8.header = WIDGET_HEADER,
17757
+ _d$8.body = WIDGET_BODY,
17758
+ _d$8.bodyContent = {
17477
17759
  id: "bodyContent",
17478
17760
  componentType: PreviewPlaceholderComponent.lateLoadKey,
17479
17761
  },
17480
- _d$6),
17481
- _c$6[exports.PizzagnaLayer.Configuration] = {
17762
+ _d$8),
17763
+ _c$8[exports.PizzagnaLayer.Configuration] = {
17482
17764
  header: {
17483
17765
  properties: {
17484
- 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"]))),
17485
17767
  },
17486
17768
  },
17487
17769
  },
17488
- _c$6),
17770
+ _c$8),
17489
17771
  };
17490
- var templateObject_1$7;
17772
+ var templateObject_1$9;
17491
17773
 
17492
17774
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
17493
17775
  var fieldMapper = function (origin, properties) {
@@ -17545,12 +17827,12 @@
17545
17827
  };
17546
17828
  sumAggregator.aggregatorType = "sumAggregator";
17547
17829
 
17548
- 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;
17549
17831
  /* eslint-enable max-len */
17550
17832
  var DEFAULT_LEGEND_FORMATTERS = [
17551
17833
  {
17552
17834
  componentType: "",
17553
- 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"]))),
17554
17836
  dataTypes: {
17555
17837
  // @ts-ignore
17556
17838
  value: null,
@@ -17558,7 +17840,7 @@
17558
17840
  },
17559
17841
  {
17560
17842
  componentType: StatusWithIconFormatterComponent.lateLoadKey,
17561
- 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"]))),
17562
17844
  dataTypes: {
17563
17845
  // @ts-ignore
17564
17846
  value: null,
@@ -17631,9 +17913,9 @@
17631
17913
  configurationComponent: FieldMapperAggregatorConfiguratorComponent.lateLoadKey,
17632
17914
  },
17633
17915
  ];
17634
- var proportionalConfigurator = (_a$9 = {},
17635
- _a$9[exports.PizzagnaLayer.Structure] = (_b$9 = {},
17636
- _b$9[DEFAULT_PIZZAGNA_ROOT] = {
17916
+ var proportionalConfigurator = (_a$c = {},
17917
+ _a$c[exports.PizzagnaLayer.Structure] = (_b$c = {},
17918
+ _b$c[DEFAULT_PIZZAGNA_ROOT] = {
17637
17919
  id: DEFAULT_PIZZAGNA_ROOT,
17638
17920
  // base layout of the configurator - all form components referenced herein will be stacked in a column
17639
17921
  componentType: FormStackComponent.lateLoadKey,
@@ -17642,14 +17924,14 @@
17642
17924
  // references to other components laid out in this form
17643
17925
  nodes: ["presentation", "dataAndCalculations"],
17644
17926
  },
17645
- providers: (_c$5 = {},
17646
- _c$5[exports.WellKnownProviders.FormattersRegistry] = {
17927
+ providers: (_c$7 = {},
17928
+ _c$7[exports.WellKnownProviders.FormattersRegistry] = {
17647
17929
  providerId: NOVA_PROPORTIONAL_CONTENT_FORMATTERS_REGISTRY,
17648
17930
  },
17649
- _c$5),
17931
+ _c$7),
17650
17932
  },
17651
17933
  // /presentation
17652
- _b$9.presentation = {
17934
+ _b$c.presentation = {
17653
17935
  id: "presentation",
17654
17936
  componentType: WidgetConfiguratorSectionComponent.lateLoadKey,
17655
17937
  properties: {
@@ -17658,17 +17940,17 @@
17658
17940
  },
17659
17941
  },
17660
17942
  // /presentation/titleAndDescription
17661
- _b$9.titleAndDescription = {
17943
+ _b$c.titleAndDescription = {
17662
17944
  id: "titleAndDescription",
17663
17945
  componentType: TitleAndDescriptionConfigurationComponent.lateLoadKey,
17664
- providers: (_d$5 = {},
17665
- _d$5[exports.WellKnownProviders.Converter] = {
17946
+ providers: (_d$7 = {},
17947
+ _d$7[exports.WellKnownProviders.Converter] = {
17666
17948
  providerId: NOVA_TITLE_AND_DESCRIPTION_CONVERTER,
17667
17949
  },
17668
- _d$5),
17950
+ _d$7),
17669
17951
  },
17670
17952
  // /presentation/chartOptionsEditor
17671
- _b$9.chartOptionsEditor = {
17953
+ _b$c.chartOptionsEditor = {
17672
17954
  id: "chartOptionsEditor",
17673
17955
  componentType: ProportionalChartOptionsEditorComponent.lateLoadKey,
17674
17956
  properties: {
@@ -17720,16 +18002,16 @@
17720
18002
  ],
17721
18003
  },
17722
18004
  },
17723
- providers: (_e$5 = {},
18005
+ providers: (_e$7 = {},
17724
18006
  // converter transforms the chart options data between the widget and the form
17725
- _e$5[exports.WellKnownProviders.Converter] = {
18007
+ _e$7[exports.WellKnownProviders.Converter] = {
17726
18008
  providerId: NOVA_PROPORTIONAL_WIDGET_CHART_OPTIONS_CONVERTER,
17727
18009
  },
17728
- _e$5),
18010
+ _e$7),
17729
18011
  },
17730
- _b$9.refresher = REFRESHER_CONFIGURATOR,
18012
+ _b$c.refresher = REFRESHER_CONFIGURATOR,
17731
18013
  // /dataAndCalculations
17732
- _b$9.dataAndCalculations = {
18014
+ _b$c.dataAndCalculations = {
17733
18015
  id: "dataAndCalculations",
17734
18016
  componentType: WidgetConfiguratorSectionComponent.lateLoadKey,
17735
18017
  properties: {
@@ -17738,7 +18020,7 @@
17738
18020
  },
17739
18021
  },
17740
18022
  // /dataAndCalculations/dataSource
17741
- _b$9.dataSource = {
18023
+ _b$c.dataSource = {
17742
18024
  id: "dataSource",
17743
18025
  componentType: DataSourceConfigurationComponent.lateLoadKey,
17744
18026
  properties: {
@@ -17746,9 +18028,9 @@
17746
18028
  dataSourceProviders: [],
17747
18029
  errorComponent: DataSourceErrorComponent.lateLoadKey,
17748
18030
  },
17749
- providers: (_f$5 = {},
18031
+ providers: (_f$7 = {},
17750
18032
  // converter transforms the data source metadata between the widget and the form
17751
- _f$5[exports.WellKnownProviders.Converter] = {
18033
+ _f$7[exports.WellKnownProviders.Converter] = {
17752
18034
  providerId: NOVA_GENERIC_CONVERTER,
17753
18035
  properties: {
17754
18036
  formParts: [
@@ -17766,7 +18048,7 @@
17766
18048
  ],
17767
18049
  },
17768
18050
  },
17769
- _f$5[exports.WellKnownProviders.Broadcaster] = {
18051
+ _f$7[exports.WellKnownProviders.Broadcaster] = {
17770
18052
  providerId: NOVA_PIZZAGNA_BROADCASTER,
17771
18053
  properties: {
17772
18054
  configs: [
@@ -17780,15 +18062,15 @@
17780
18062
  ],
17781
18063
  },
17782
18064
  },
17783
- _f$5),
18065
+ _f$7),
17784
18066
  },
17785
- _b$9),
17786
- _a$9);
17787
- 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;
17788
18070
 
17789
- var _a$8, _b$8, _c$4, _d$4, _e$4, _f$4;
17790
- var proportionalWidget = (_a$8 = {},
17791
- _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] = {
17792
18074
  id: DEFAULT_PIZZAGNA_ROOT,
17793
18075
  // base layout of the widget - all components referenced herein will be stacked in a column
17794
18076
  componentType: StackComponent.lateLoadKey,
@@ -17796,37 +18078,304 @@
17796
18078
  // these values reference other components in this structure
17797
18079
  nodes: ["header", "loading", "body"],
17798
18080
  },
17799
- providers: (_c$4 = {},
18081
+ providers: (_c$6 = {},
17800
18082
  // When enabled, this provider emits the REFRESH event on the pizzagna event bus every X seconds
17801
- _c$4[exports.WellKnownProviders.Refresher] = refresher(),
18083
+ _c$6[exports.WellKnownProviders.Refresher] = refresher(),
17802
18084
  // event proxy manages the transmission of events between widget and dashboard
17803
- _c$4[exports.WellKnownProviders.EventProxy] = EVENT_PROXY,
17804
- _c$4),
18085
+ _c$6[exports.WellKnownProviders.EventProxy] = EVENT_PROXY,
18086
+ _c$6),
17805
18087
  },
17806
18088
  // widget header
17807
- _b$8.header = WIDGET_HEADER,
18089
+ _b$b.header = WIDGET_HEADER,
17808
18090
  // this is the loading bar below the header
17809
- _b$8.loading = WIDGET_LOADING,
18091
+ _b$b.loading = WIDGET_LOADING,
17810
18092
  // widget body
17811
- _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")), {
17812
18094
  // a component that manages layout and behavior of the proportional chart
17813
18095
  chart: {
17814
18096
  id: "chart",
17815
18097
  componentType: ProportionalWidgetComponent.lateLoadKey,
17816
- providers: (_d$4 = {},
17817
- _d$4[exports.WellKnownProviders.Adapter] = {
18098
+ providers: (_d$6 = {},
18099
+ _d$6[exports.WellKnownProviders.Adapter] = {
17818
18100
  providerId: NOVA_DATASOURCE_ADAPTER,
17819
18101
  properties: {
17820
18102
  componentId: "chart",
17821
18103
  propertyPath: "widgetData",
17822
18104
  },
17823
18105
  },
17824
- _d$4),
18106
+ _d$6),
17825
18107
  properties: {
17826
18108
  elementClass: "d-flex flex-grow-1 justify-content-center overflow-auto",
17827
18109
  },
17828
18110
  }
17829
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
+ }),
17830
18379
  _a$8[exports.PizzagnaLayer.Configuration] = (_e$4 = {},
17831
18380
  _e$4[DEFAULT_PIZZAGNA_ROOT] = {
17832
18381
  id: DEFAULT_PIZZAGNA_ROOT,
@@ -17838,7 +18387,7 @@
17838
18387
  // default header configuration
17839
18388
  _e$4.header = {
17840
18389
  properties: {
17841
- 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"]))),
17842
18391
  },
17843
18392
  },
17844
18393
  _e$4),
@@ -17846,10 +18395,12 @@
17846
18395
  var templateObject_1$5;
17847
18396
 
17848
18397
  var _a$7, _b$7;
18398
+ var tileDescriptionConfiguratorTemplatePath = "tiles.properties.template[0]";
18399
+ var dataSourceConfiguratorTemplatePath = "tiles.properties.template[1]";
17849
18400
  /***********************************************************************************************************
17850
- * Proportional widget definition starts here
18401
+ * KPI widget definition starts here
17851
18402
  ***********************************************************************************************************/
17852
- var proportional = {
18403
+ var riskScore = {
17853
18404
  /***************************************************************************************************
17854
18405
  * Paths to important settings in this type definition
17855
18406
  ***************************************************************************************************/
@@ -17860,21 +18411,21 @@
17860
18411
  configurator: (_b$7 = {},
17861
18412
  _b$7[exports.WellKnownPathKey.Root] = DEFAULT_PIZZAGNA_ROOT,
17862
18413
  // this points at the component type you need to change if you want to change the component for data source configuration
17863
- _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",
17864
18417
  // for the default data source configuration component, this changes the list of data sources to pick from
17865
- _b$7[exports.WellKnownPathKey.DataSourceProviders] = "dataSource.properties.dataSourceProviders",
17866
- // this is where donut content chart formatters are defined
17867
- _b$7[exports.WellKnownPathKey.Formatters] = "chartOptionsEditor.properties.chartOptions.contentFormatters",
18418
+ _b$7[exports.WellKnownPathKey.DataSourceProviders] = dataSourceConfiguratorTemplatePath + ".properties.dataSourceProviders",
17868
18419
  _b$7),
17869
18420
  },
17870
18421
  /***************************************************************************************************
17871
- * Widget section describes the structural part of the proportional widget
18422
+ * Widget section describes the structural part of the KPI widget
17872
18423
  ***************************************************************************************************/
17873
- widget: proportionalWidget,
18424
+ widget: riskScoreWidget,
17874
18425
  /***************************************************************************************************
17875
- * 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
17876
18427
  ***************************************************************************************************/
17877
- configurator: proportionalConfigurator,
18428
+ configurator: riskScoreConfigurator,
17878
18429
  };
17879
18430
 
17880
18431
  var _a$6, _b$6, _c$3, _d$3, _e$3, _f$3, _g$1;
@@ -18364,6 +18915,7 @@
18364
18915
  EmbeddedContentComponent,
18365
18916
  GridsterItemWidgetIdDirective,
18366
18917
  KpiComponent,
18918
+ RiskScoreTileComponent,
18367
18919
  LineChartComponent,
18368
18920
  LoadingComponent,
18369
18921
  ProportionalWidgetComponent,
@@ -18394,6 +18946,7 @@
18394
18946
  var entryComponents = [
18395
18947
  EmbeddedContentComponent,
18396
18948
  KpiComponent,
18949
+ RiskScoreTileComponent,
18397
18950
  LineChartComponent,
18398
18951
  LoadingComponent,
18399
18952
  ProportionalWidgetComponent,
@@ -18419,9 +18972,10 @@
18419
18972
  ProportionalDonutContentComponent,
18420
18973
  ];
18421
18974
  var NuiDashboardsModule = /** @class */ (function () {
18422
- function NuiDashboardsModule(widgetTypesService, componentRegistry, eventRegistry, kpiFormattersRegistry) {
18975
+ function NuiDashboardsModule(widgetTypesService, componentRegistry, eventRegistry, kpiFormattersRegistry, riskScoreFormattersRegistry) {
18423
18976
  var e_1, _a;
18424
18977
  widgetTypesService.registerWidgetType("kpi", 1, kpi);
18978
+ widgetTypesService.registerWidgetType("risk-score", 1, riskScore);
18425
18979
  widgetTypesService.registerWidgetType("table", 1, table);
18426
18980
  widgetTypesService.registerWidgetType("proportional", 1, proportional);
18427
18981
  widgetTypesService.registerWidgetType("timeseries", 1, timeseries);
@@ -18455,14 +19009,16 @@
18455
19009
  eventRegistry.registerEvent(DATA_SOURCE_OUTPUT);
18456
19010
  eventRegistry.registerEvent(DATA_SOURCE_BUSY);
18457
19011
  kpiFormattersRegistry.addItems(DEFAULT_KPI_FORMATTERS);
19012
+ riskScoreFormattersRegistry.addItems(DEFAULT_RISK_SCORE_FORMATTERS);
18458
19013
  }
18459
19014
  return NuiDashboardsModule;
18460
19015
  }());
18461
- /** @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 });
18462
19017
  /** @nocollapse */ NuiDashboardsModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: NuiDashboardsModule, declarations: [DashboardComponent,
18463
19018
  EmbeddedContentComponent,
18464
19019
  GridsterItemWidgetIdDirective,
18465
19020
  KpiComponent,
19021
+ RiskScoreTileComponent,
18466
19022
  LineChartComponent,
18467
19023
  LoadingComponent,
18468
19024
  ProportionalWidgetComponent,
@@ -18510,11 +19066,13 @@
18510
19066
  i3.NuiSearchModule,
18511
19067
  i3.NuiCommonModule,
18512
19068
  i3.NuiRepeatModule,
19069
+ i3.NuiRiskScoreModule,
18513
19070
  i3.NuiSelectModule,
18514
19071
  i3.NuiPopoverModule], exports: [DashboardComponent,
18515
19072
  EmbeddedContentComponent,
18516
19073
  GridsterItemWidgetIdDirective,
18517
19074
  KpiComponent,
19075
+ RiskScoreTileComponent,
18518
19076
  LineChartComponent,
18519
19077
  LoadingComponent,
18520
19078
  ProportionalWidgetComponent,
@@ -18569,6 +19127,7 @@
18569
19127
  i3.NuiSearchModule,
18570
19128
  i3.NuiCommonModule,
18571
19129
  i3.NuiRepeatModule,
19130
+ i3.NuiRiskScoreModule,
18572
19131
  i3.NuiSelectModule,
18573
19132
  i3.NuiPopoverModule,
18574
19133
  ]] });
@@ -18598,6 +19157,7 @@
18598
19157
  i3.NuiSearchModule,
18599
19158
  i3.NuiCommonModule,
18600
19159
  i3.NuiRepeatModule,
19160
+ i3.NuiRiskScoreModule,
18601
19161
  i3.NuiSelectModule,
18602
19162
  i3.NuiPopoverModule,
18603
19163
  ],
@@ -18611,7 +19171,7 @@
18611
19171
  exports: dashboardComponents,
18612
19172
  entryComponents: entryComponents,
18613
19173
  }]
18614
- }], 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 }]; } });
18615
19175
 
18616
19176
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
18617
19177
 
@@ -18621,6 +19181,10 @@
18621
19181
 
18622
19182
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
18623
19183
 
19184
+ // © 2023 SolarWinds Worldwide, LLC. All rights reserved.
19185
+
19186
+ // © 2023 SolarWinds Worldwide, LLC. All rights reserved.
19187
+
18624
19188
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
18625
19189
 
18626
19190
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
@@ -18682,6 +19246,33 @@
18682
19246
 
18683
19247
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
18684
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
+
18685
19276
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
18686
19277
  /**
18687
19278
  * Use this function to apply endpoints on status data returned by a data source so that when the status
@@ -18992,6 +19583,7 @@
18992
19583
  exports.NOVA_PIZZAGNA_BROADCASTER = NOVA_PIZZAGNA_BROADCASTER;
18993
19584
  exports.NOVA_PROPORTIONAL_CONTENT_FORMATTERS_REGISTRY = NOVA_PROPORTIONAL_CONTENT_FORMATTERS_REGISTRY;
18994
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;
18995
19587
  exports.NOVA_STATUS_CONTENT_FALLBACK_ADAPTER = NOVA_STATUS_CONTENT_FALLBACK_ADAPTER;
18996
19588
  exports.NOVA_TABLE_COLUMNS_CONVERTER = NOVA_TABLE_COLUMNS_CONVERTER;
18997
19589
  exports.NOVA_TABLE_DATASOURCE_ADAPTER = NOVA_TABLE_DATASOURCE_ADAPTER;
@@ -19036,6 +19628,10 @@
19036
19628
  exports.Refresher = Refresher;
19037
19629
  exports.RefresherConfigurationComponent = RefresherConfigurationComponent;
19038
19630
  exports.RefresherSettingsService = RefresherSettingsService;
19631
+ exports.RiskScoreFormattersRegistryService = RiskScoreFormattersRegistryService;
19632
+ exports.RiskScoreTileComponent = RiskScoreTileComponent;
19633
+ exports.RiskScoreTileDescriptionConfigurationComponent = RiskScoreTileDescriptionConfigurationComponent;
19634
+ exports.RiskScoreTilesConfigurationComponent = RiskScoreTilesConfigurationComponent;
19039
19635
  exports.SCROLL_NEXT_PAGE = SCROLL_NEXT_PAGE;
19040
19636
  exports.SET_PROPERTY_VALUE = SET_PROPERTY_VALUE;
19041
19637
  exports.SET_TIMEFRAME = SET_TIMEFRAME;