@nova-ui/dashboards 12.0.18 → 12.0.20-4218

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 (126) hide show
  1. package/bundles/nova-ui-dashboards.umd.js +1475 -582
  2. package/bundles/nova-ui-dashboards.umd.js.map +1 -1
  3. package/esm2015/lib/common/pipes/dashboard-unit-conversion-pipe.js +2 -2
  4. package/esm2015/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.js +40 -4
  5. package/esm2015/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.js +42 -8
  6. package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.js +5 -5
  7. package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.js +12 -6
  8. package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.js +7 -6
  9. package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.js +5 -5
  10. package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.js +158 -6
  11. package/esm2015/lib/components/timeseries-widget/public-api.js +2 -1
  12. package/esm2015/lib/components/timeseries-widget/timeseries-scales.service.js +96 -15
  13. package/esm2015/lib/components/timeseries-widget/timeseries-widget.component.js +3 -2
  14. package/esm2015/lib/components/timeseries-widget/transformer/loess.js +219 -0
  15. package/esm2015/lib/components/timeseries-widget/transformer/public-api.js +29 -0
  16. package/esm2015/lib/components/timeseries-widget/transformer/transformer-change-point.js +105 -0
  17. package/esm2015/lib/components/timeseries-widget/transformer/transformer-difference.js +58 -0
  18. package/esm2015/lib/components/timeseries-widget/transformer/transformer-floating-average.js +41 -0
  19. package/esm2015/lib/components/timeseries-widget/transformer/transformer-lin-reg.js +66 -0
  20. package/esm2015/lib/components/timeseries-widget/transformer/transformer-loess-standardize.js +29 -0
  21. package/esm2015/lib/components/timeseries-widget/transformer/transformer-loess.js +38 -0
  22. package/esm2015/lib/components/timeseries-widget/transformer/transformer-normalize.js +47 -0
  23. package/esm2015/lib/components/timeseries-widget/transformer/transformer-percentile-std.js +60 -0
  24. package/esm2015/lib/components/timeseries-widget/transformer/transformer-standardize.js +48 -0
  25. package/esm2015/lib/components/timeseries-widget/types.js +14 -1
  26. package/esm2015/lib/functions/public-api.js +2 -1
  27. package/esm2015/lib/functions/timeseries-datetime-formatter.js +40 -0
  28. package/esm2015/lib/services/types.js +4 -1
  29. package/fesm2015/nova-ui-dashboards.js +1121 -242
  30. package/fesm2015/nova-ui-dashboards.js.map +1 -1
  31. package/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.d.ts +1 -0
  32. package/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.d.ts +6 -3
  33. package/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.d.ts +10 -0
  34. package/lib/components/timeseries-widget/public-api.d.ts +1 -0
  35. package/lib/components/timeseries-widget/timeseries-scales.service.d.ts +5 -3
  36. package/lib/components/timeseries-widget/transformer/loess.d.ts +6 -0
  37. package/lib/components/timeseries-widget/transformer/public-api.d.ts +9 -0
  38. package/lib/components/timeseries-widget/transformer/transformer-change-point.d.ts +2 -0
  39. package/lib/components/timeseries-widget/transformer/transformer-difference.d.ts +2 -0
  40. package/lib/components/timeseries-widget/transformer/transformer-floating-average.d.ts +2 -0
  41. package/lib/components/timeseries-widget/transformer/transformer-lin-reg.d.ts +2 -0
  42. package/lib/components/timeseries-widget/transformer/transformer-loess-standardize.d.ts +2 -0
  43. package/lib/components/timeseries-widget/transformer/transformer-loess.d.ts +2 -0
  44. package/lib/components/timeseries-widget/transformer/transformer-normalize.d.ts +2 -0
  45. package/lib/components/timeseries-widget/transformer/transformer-percentile-std.d.ts +2 -0
  46. package/lib/components/timeseries-widget/transformer/transformer-standardize.d.ts +2 -0
  47. package/lib/components/timeseries-widget/types.d.ts +23 -0
  48. package/lib/functions/public-api.d.ts +1 -0
  49. package/lib/functions/timeseries-datetime-formatter.d.ts +4 -0
  50. package/lib/services/types.d.ts +6 -1
  51. package/package.json +3 -3
  52. package/sdk/atoms/spec/timeseries/legend-series.atom.d.ts +12 -0
  53. package/sdk/atoms/spec/timeseries/legend-series.atom.js +85 -0
  54. package/sdk/atoms/spec/timeseries/legend-series.atom.js.map +1 -0
  55. package/sdk/atoms/spec/timeseries/timeseries.atom.d.ts +10 -0
  56. package/sdk/atoms/spec/timeseries/timeseries.atom.js +53 -0
  57. package/sdk/atoms/spec/timeseries/timeseries.atom.js.map +1 -0
  58. package/sdk/atoms/src/lib/common/pipes/dashboard-unit-conversion-pipe.js +1 -1
  59. package/sdk/atoms/src/lib/common/pipes/dashboard-unit-conversion-pipe.js.map +1 -1
  60. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.d.ts +1 -0
  61. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.js +38 -2
  62. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.js.map +1 -1
  63. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.d.ts +6 -3
  64. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.js +41 -7
  65. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.js.map +1 -1
  66. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.js +7 -1
  67. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.js.map +1 -1
  68. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.js +1 -0
  69. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.js.map +1 -1
  70. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.d.ts +10 -0
  71. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.js +154 -2
  72. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.js.map +1 -1
  73. package/sdk/atoms/src/lib/components/timeseries-widget/public-api.d.ts +1 -0
  74. package/sdk/atoms/src/lib/components/timeseries-widget/public-api.js +1 -0
  75. package/sdk/atoms/src/lib/components/timeseries-widget/public-api.js.map +1 -1
  76. package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-scales.service.d.ts +5 -3
  77. package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-scales.service.js +95 -14
  78. package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-scales.service.js.map +1 -1
  79. package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-widget.component.js +1 -0
  80. package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-widget.component.js.map +1 -1
  81. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/loess.d.ts +6 -0
  82. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/loess.js +223 -0
  83. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/loess.js.map +1 -0
  84. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/public-api.d.ts +9 -0
  85. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/public-api.js +32 -0
  86. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/public-api.js.map +1 -0
  87. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-change-point.d.ts +2 -0
  88. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-change-point.js +110 -0
  89. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-change-point.js.map +1 -0
  90. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-difference.d.ts +2 -0
  91. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-difference.js +63 -0
  92. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-difference.js.map +1 -0
  93. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-floating-average.d.ts +2 -0
  94. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-floating-average.js +46 -0
  95. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-floating-average.js.map +1 -0
  96. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-lin-reg.d.ts +2 -0
  97. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-lin-reg.js +71 -0
  98. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-lin-reg.js.map +1 -0
  99. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-loess-standardize.d.ts +2 -0
  100. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-loess-standardize.js +34 -0
  101. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-loess-standardize.js.map +1 -0
  102. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-loess.d.ts +2 -0
  103. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-loess.js +43 -0
  104. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-loess.js.map +1 -0
  105. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-normalize.d.ts +2 -0
  106. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-normalize.js +52 -0
  107. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-normalize.js.map +1 -0
  108. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-percentile-std.d.ts +2 -0
  109. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-percentile-std.js +65 -0
  110. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-percentile-std.js.map +1 -0
  111. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-standardize.d.ts +2 -0
  112. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-standardize.js +53 -0
  113. package/sdk/atoms/src/lib/components/timeseries-widget/transformer/transformer-standardize.js.map +1 -0
  114. package/sdk/atoms/src/lib/components/timeseries-widget/types.d.ts +23 -0
  115. package/sdk/atoms/src/lib/components/timeseries-widget/types.js +14 -1
  116. package/sdk/atoms/src/lib/components/timeseries-widget/types.js.map +1 -1
  117. package/sdk/atoms/src/lib/functions/public-api.d.ts +1 -0
  118. package/sdk/atoms/src/lib/functions/public-api.js +1 -0
  119. package/sdk/atoms/src/lib/functions/public-api.js.map +1 -1
  120. package/sdk/atoms/src/lib/functions/timeseries-datetime-formatter.d.ts +4 -0
  121. package/sdk/atoms/src/lib/functions/timeseries-datetime-formatter.js +45 -0
  122. package/sdk/atoms/src/lib/functions/timeseries-datetime-formatter.js.map +1 -0
  123. package/sdk/atoms/src/lib/services/types.d.ts +6 -1
  124. package/sdk/atoms/src/lib/services/types.js +4 -0
  125. package/sdk/atoms/src/lib/services/types.js.map +1 -1
  126. package/sdk/locale/messages.en.xlf +120 -15
@@ -2,7 +2,7 @@ import * as i4 from '@angular/common';
2
2
  import { CommonModule, DecimalPipe, DOCUMENT } from '@angular/common';
3
3
  import * as i0 from '@angular/core';
4
4
  import { Component, Input, HostBinding, Pipe, NgModule, InjectionToken, Injectable, Inject, Optional, Directive, NgZone, Injector, EventEmitter, SimpleChange, Output, Host, Self, ViewEncapsulation, ViewChild, ViewChildren, SecurityContext, ChangeDetectionStrategy, HostListener, ElementRef, forwardRef, ViewContainerRef, ContentChildren } from '@angular/core';
5
- import * as i2 from '@nova-ui/bits';
5
+ import * as i3 from '@nova-ui/bits';
6
6
  import { UnitBase, NuiImageModule, EventDefinition, immutableSet, EventBus, VirtualViewportManager, uuid, TimeframeService, LoggerService, ResizeObserverDirective, nameof, SorterDirection, DEFAULT_INTERACTIVE_ELEMENTS, TableRowComponent, HistoryStorage, OverlayUtilitiesService, getOverlayPositions, NuiFormFieldControl, SelectV2Component, OVERLAY_CONTAINER, SpinnerSize, removeErrors, NuiBusyModule, NuiIconModule, NuiMenuModule, NuiPopupModule, NuiDialogModule, NuiSpinnerModule, NuiTextboxModule, NuiFormFieldModule, NuiButtonModule, NuiOverlayAdditionsModule, NuiSelectV2Module, NuiRadioModule, NuiCheckboxModule, NuiValidationMessageModule, NuiExpanderModule, NuiPanelModule, NuiDividerModule, NuiSwitchModule, NuiMessageModule, NuiWizardModule, NuiSorterModule, NuiSearchModule, NuiRepeatModule, NuiProgressModule, NuiTableModule, NuiTimeFrameBarModule, NuiTimeFramePickerModule, NuiTooltipModule, NuiCommonModule, NuiSelectModule } from '@nova-ui/bits';
7
7
  import * as i7 from '@angular/cdk/scrolling';
8
8
  import { CdkVirtualScrollViewport, ScrollingModule } from '@angular/cdk/scrolling';
@@ -10,8 +10,8 @@ import * as i1$2 from '@angular/forms';
10
10
  import { Validators, NG_VALUE_ACCESSOR, ControlContainer, FormGroupDirective, FormGroup, FormArray, NG_VALIDATORS, FormControl, ReactiveFormsModule } from '@angular/forms';
11
11
  import * as i1 from 'angular-gridster2';
12
12
  import { DisplayGrid, GridType, CompactType, GridsterComponent, GridsterItemComponent, GridsterModule } from 'angular-gridster2';
13
- import * as i2$1 from '@nova-ui/charts';
14
- import { RadialAccessors, barAccessors, radial, radialGrid, RadialRenderer, radialScales, PieRenderer, barGrid, BarRenderer, BarSeriesHighlightStrategy, barScales, ChartPalette, defaultColorProvider, ChartAssist, Chart, ChartDonutContentPlugin, SELECT_DATA_POINT_EVENT, MappedValueProvider, SequentialColorProvider, TimeIntervalScale, LinearScale, TimeScale, SparkChartAssist, statusAccessors, BarHighlightStrategy, BandScale, StatusAccessors, ZoomPlugin, SET_DOMAIN_EVENT, DESTROY_EVENT, INTERACTION_DATA_POINTS_EVENT, InteractionType, INTERACTION_VALUES_EVENT, LineRenderer, LineAccessors, XYGridConfig, XYGrid, AreaRenderer, stackedAreaAccessors, areaGrid, stackedArea, InteractionLabelPlugin, stack, stackedPercentageArea, getColorValueByName, CHART_PALETTE_CS3, CHART_PALETTE_CS_S_EXTENDED, TextColorProvider, NuiChartsModule } from '@nova-ui/charts';
13
+ import * as i2 from '@nova-ui/charts';
14
+ import { RadialAccessors, barAccessors, radial, radialGrid, RadialRenderer, radialScales, PieRenderer, barGrid, BarRenderer, BarSeriesHighlightStrategy, barScales, ChartPalette, defaultColorProvider, ChartAssist, Chart, ChartDonutContentPlugin, SELECT_DATA_POINT_EVENT, MappedValueProvider, SequentialColorProvider, TimeIntervalScale, LinearScale, TimeScale, SparkChartAssist, statusAccessors, BarHighlightStrategy, BandScale, StatusAccessors, ZoomPlugin, SET_DOMAIN_EVENT, DESTROY_EVENT, INTERACTION_DATA_POINTS_EVENT, InteractionType, INTERACTION_VALUES_EVENT, LineRenderer, LineAccessors, XYGridConfig, XYGrid, AreaRenderer, stackedAreaAccessors, areaGrid, stackedArea, InteractionLinePlugin, InteractionLabelPlugin, stack, stackedPercentageArea, getColorValueByName, CHART_PALETTE_CS3, CHART_PALETTE_CS_S_EXTENDED, TextColorProvider, NuiChartsModule } from '@nova-ui/charts';
15
15
  import defaultsDeep from 'lodash/defaultsDeep';
16
16
  import { BehaviorSubject, ReplaySubject, Subject, zip, merge, combineLatest, of, noop, EMPTY, Observable } from 'rxjs';
17
17
  import set from 'lodash/set';
@@ -38,20 +38,21 @@ import { ComponentPortal, PortalModule } from '@angular/cdk/portal';
38
38
  import { trigger, state, style, transition, animate } from '@angular/animations';
39
39
  import * as i1$1 from '@angular/platform-browser';
40
40
  import moment, { duration } from 'moment/moment';
41
+ import cloneDeep from 'lodash/cloneDeep';
42
+ import * as d3 from 'd3';
41
43
  import * as i5$1 from '@angular/cdk/drag-drop';
42
44
  import { DragDropModule } from '@angular/cdk/drag-drop';
43
- import * as i2$2 from '@angular/cdk/overlay';
45
+ import * as i2$1 from '@angular/cdk/overlay';
44
46
  import sumBy from 'lodash/sumBy';
45
47
  import toNumber from 'lodash/toNumber';
46
48
  import toString from 'lodash/toString';
47
- import cloneDeep from 'lodash/cloneDeep';
48
49
  import find from 'lodash/find';
49
50
  import findIndex from 'lodash/findIndex';
50
51
  import zipObject from 'lodash/zipObject';
51
52
  import { Subject as Subject$1 } from 'rxjs/internal/Subject';
52
53
  import includes from 'lodash/includes';
53
54
  import capitalize from 'lodash/capitalize';
54
- import * as i3 from '@angular/router';
55
+ import * as i3$1 from '@angular/router';
55
56
  import { NavigationEnd } from '@angular/router';
56
57
  import isFunction from 'lodash/isFunction';
57
58
  import sum from 'lodash/sum';
@@ -91,7 +92,7 @@ class WidgetErrorComponent {
91
92
  }
92
93
  WidgetErrorComponent.lateLoadKey = "WidgetErrorComponent";
93
94
  /** @nocollapse */ WidgetErrorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: WidgetErrorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
94
- /** @nocollapse */ WidgetErrorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: WidgetErrorComponent, selector: "nui-widget-error", inputs: { image: "image", title: "title", description: "description", elementClass: "elementClass" }, host: { properties: { "class": "this.classNames" } }, ngImport: i0, template: "<nui-image [image]=\"image\"></nui-image>\n<div class=\"widget-error__title\">\n <strong>{{ title }}</strong>\n</div>\n<div class=\"d-flex justify-content-center text-center\">{{ description }}</div>\n", styles: [".widget-error__title{display:flex;justify-content:center;text-align:center;margin-top:20px;margin-bottom:10px}\n"], components: [{ type: i2.ImageComponent, selector: "nui-image", inputs: ["width", "height", "image", "description", "float", "margin", "isWatermark", "autoFill"] }] });
95
+ /** @nocollapse */ WidgetErrorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: WidgetErrorComponent, selector: "nui-widget-error", inputs: { image: "image", title: "title", description: "description", elementClass: "elementClass" }, host: { properties: { "class": "this.classNames" } }, ngImport: i0, template: "<nui-image [image]=\"image\"></nui-image>\n<div class=\"widget-error__title\">\n <strong>{{ title }}</strong>\n</div>\n<div class=\"d-flex justify-content-center text-center\">{{ description }}</div>\n", styles: [".widget-error__title{display:flex;justify-content:center;text-align:center;margin-top:20px;margin-bottom:10px}\n"], components: [{ type: i3.ImageComponent, selector: "nui-image", inputs: ["width", "height", "image", "description", "float", "margin", "isWatermark", "autoFill"] }] });
95
96
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: WidgetErrorComponent, decorators: [{
96
97
  type: Component,
97
98
  args: [{
@@ -153,7 +154,7 @@ class DashboardUnitConversionPipe {
153
154
  const valueAsNumber = typeof value === "string" ? parseFloat(value) : value;
154
155
  if (valueAsNumber === undefined ||
155
156
  isNaN(valueAsNumber) ||
156
- valueAsNumber < defaultThreshold) {
157
+ (valueAsNumber < defaultThreshold && units !== "percent")) {
157
158
  return (value === null || value === void 0 ? void 0 : value.toString()) || "";
158
159
  }
159
160
  const conversion = this.unitConversionService.convert(valueAsNumber, units === "bytes" ? UnitBase.Bytes : UnitBase.Standard, 1);
@@ -161,12 +162,12 @@ class DashboardUnitConversionPipe {
161
162
  };
162
163
  }
163
164
  }
164
- /** @nocollapse */ DashboardUnitConversionPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DashboardUnitConversionPipe, deps: [{ token: i2.UnitConversionService }], target: i0.ɵɵFactoryTarget.Pipe });
165
+ /** @nocollapse */ DashboardUnitConversionPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DashboardUnitConversionPipe, deps: [{ token: i3.UnitConversionService }], target: i0.ɵɵFactoryTarget.Pipe });
165
166
  /** @nocollapse */ DashboardUnitConversionPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DashboardUnitConversionPipe, name: "nuiDashboardUnitConversion" });
166
167
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DashboardUnitConversionPipe, decorators: [{
167
168
  type: Pipe,
168
169
  args: [{ name: "nuiDashboardUnitConversion" }]
169
- }], ctorParameters: function () { return [{ type: i2.UnitConversionService }]; } });
170
+ }], ctorParameters: function () { return [{ type: i3.UnitConversionService }]; } });
170
171
 
171
172
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
172
173
  const commonComponents = [PreviewOverlayComponent, WidgetErrorComponent];
@@ -242,6 +243,9 @@ const NOVA_KPI_FORMATTERS_REGISTRY = "NOVA_KPI_FORMATTERS_REGISTRY";
242
243
  const NOVA_PROPORTIONAL_CONTENT_FORMATTERS_REGISTRY = "NOVA_PROPORTIONAL_CONTENT_FORMATTERS_REGISTRY";
243
244
  const NOVA_TEST_REGISTRY = "NOVA_TEST_REGISTRY";
244
245
  const NOVA_CONFIGURATOR_DATA_SOURCE_MANAGER = "NOVA_CONFIGURATOR_DATA_SOURCE_MANAGER";
246
+ const CHART_METRIC_REMOVE = {
247
+ id: "CHART_METRIC_REMOVE",
248
+ };
245
249
 
246
250
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
247
251
  const PIZZAGNA_EVENT_BUS = new InjectionToken("PIZZAGNA_EVENT_BUS");
@@ -685,7 +689,7 @@ class PizzagnaService {
685
689
  /** @nocollapse */ PizzagnaService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: PizzagnaService });
686
690
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: PizzagnaService, decorators: [{
687
691
  type: Injectable
688
- }], ctorParameters: function () { return [{ type: i2.EventBus, decorators: [{
692
+ }], ctorParameters: function () { return [{ type: i3.EventBus, decorators: [{
689
693
  type: Inject,
690
694
  args: [PIZZAGNA_EVENT_BUS]
691
695
  }] }, { type: DynamicComponentCreator }]; } });
@@ -802,7 +806,7 @@ class DataSourceAdapter {
802
806
  /** @nocollapse */ DataSourceAdapter.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DataSourceAdapter });
803
807
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DataSourceAdapter, decorators: [{
804
808
  type: Injectable
805
- }], ctorParameters: function () { return [{ type: i2.EventBus, decorators: [{
809
+ }], ctorParameters: function () { return [{ type: i3.EventBus, decorators: [{
806
810
  type: Inject,
807
811
  args: [PIZZAGNA_EVENT_BUS]
808
812
  }] }, { type: undefined, decorators: [{
@@ -928,7 +932,7 @@ class EventBusDebugger {
928
932
  /** @nocollapse */ EventBusDebugger.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EventBusDebugger });
929
933
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EventBusDebugger, decorators: [{
930
934
  type: Injectable
931
- }], ctorParameters: function () { return [{ type: i2.EventBus, decorators: [{
935
+ }], ctorParameters: function () { return [{ type: i3.EventBus, decorators: [{
932
936
  type: Inject,
933
937
  args: [PIZZAGNA_EVENT_BUS]
934
938
  }] }]; } });
@@ -955,14 +959,14 @@ class UrlInteractionService {
955
959
  return expresion.reduce((result, item) => result[item], data);
956
960
  }
957
961
  }
958
- /** @nocollapse */ UrlInteractionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: UrlInteractionService, deps: [{ token: i2.LoggerService }], target: i0.ɵɵFactoryTarget.Injectable });
962
+ /** @nocollapse */ UrlInteractionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: UrlInteractionService, deps: [{ token: i3.LoggerService }], target: i0.ɵɵFactoryTarget.Injectable });
959
963
  /** @nocollapse */ UrlInteractionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: UrlInteractionService, providedIn: "root" });
960
964
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: UrlInteractionService, decorators: [{
961
965
  type: Injectable,
962
966
  args: [{
963
967
  providedIn: "root",
964
968
  }]
965
- }], ctorParameters: function () { return [{ type: i2.LoggerService }]; } });
969
+ }], ctorParameters: function () { return [{ type: i3.LoggerService }]; } });
966
970
 
967
971
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
968
972
  class InteractionHandler {
@@ -992,7 +996,7 @@ class InteractionHandler {
992
996
  /** @nocollapse */ InteractionHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: InteractionHandler });
993
997
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: InteractionHandler, decorators: [{
994
998
  type: Injectable
995
- }], ctorParameters: function () { return [{ type: i2.EventBus, decorators: [{
999
+ }], ctorParameters: function () { return [{ type: i3.EventBus, decorators: [{
996
1000
  type: Inject,
997
1001
  args: [PIZZAGNA_EVENT_BUS]
998
1002
  }] }]; } });
@@ -1029,17 +1033,17 @@ class UrlInteractionHandler extends InteractionHandler {
1029
1033
  }
1030
1034
  }
1031
1035
  }
1032
- /** @nocollapse */ UrlInteractionHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: UrlInteractionHandler, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: "windowObject" }, { token: i2.LoggerService }, { token: UrlInteractionService }], target: i0.ɵɵFactoryTarget.Injectable });
1036
+ /** @nocollapse */ UrlInteractionHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: UrlInteractionHandler, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: "windowObject" }, { token: i3.LoggerService }, { token: UrlInteractionService }], target: i0.ɵɵFactoryTarget.Injectable });
1033
1037
  /** @nocollapse */ UrlInteractionHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: UrlInteractionHandler });
1034
1038
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: UrlInteractionHandler, decorators: [{
1035
1039
  type: Injectable
1036
- }], ctorParameters: function () { return [{ type: i2.EventBus, decorators: [{
1040
+ }], ctorParameters: function () { return [{ type: i3.EventBus, decorators: [{
1037
1041
  type: Inject,
1038
1042
  args: [PIZZAGNA_EVENT_BUS]
1039
1043
  }] }, { type: WindowObject, decorators: [{
1040
1044
  type: Inject,
1041
1045
  args: ["windowObject"]
1042
- }] }, { type: i2.LoggerService }, { type: UrlInteractionService }]; } });
1046
+ }] }, { type: i3.LoggerService }, { type: UrlInteractionService }]; } });
1043
1047
 
1044
1048
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
1045
1049
  const DEFAULT_COMPARATORS = {
@@ -1361,7 +1365,7 @@ class KpiScaleSyncBroker {
1361
1365
  /** @nocollapse */ KpiScaleSyncBroker.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: KpiScaleSyncBroker });
1362
1366
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: KpiScaleSyncBroker, decorators: [{
1363
1367
  type: Injectable
1364
- }], ctorParameters: function () { return [{ type: i2.EventBus, decorators: [{
1368
+ }], ctorParameters: function () { return [{ type: i3.EventBus, decorators: [{
1365
1369
  type: Inject,
1366
1370
  args: [PIZZAGNA_EVENT_BUS]
1367
1371
  }] }, { type: PizzagnaService }]; } });
@@ -1423,7 +1427,7 @@ class StatusContentFallbackAdapter {
1423
1427
  /** @nocollapse */ StatusContentFallbackAdapter.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: StatusContentFallbackAdapter });
1424
1428
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: StatusContentFallbackAdapter, decorators: [{
1425
1429
  type: Injectable
1426
- }], ctorParameters: function () { return [{ type: i2.EventBus, decorators: [{
1430
+ }], ctorParameters: function () { return [{ type: i3.EventBus, decorators: [{
1427
1431
  type: Inject,
1428
1432
  args: [PIZZAGNA_EVENT_BUS]
1429
1433
  }] }, { type: PizzagnaService }]; } });
@@ -1499,7 +1503,7 @@ class KpiStatusContentFallbackAdapter extends StatusContentFallbackAdapter {
1499
1503
  /** @nocollapse */ KpiStatusContentFallbackAdapter.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: KpiStatusContentFallbackAdapter });
1500
1504
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: KpiStatusContentFallbackAdapter, decorators: [{
1501
1505
  type: Injectable
1502
- }], ctorParameters: function () { return [{ type: i2.EventBus, decorators: [{
1506
+ }], ctorParameters: function () { return [{ type: i3.EventBus, decorators: [{
1503
1507
  type: Inject,
1504
1508
  args: [PIZZAGNA_EVENT_BUS]
1505
1509
  }] }, { type: PizzagnaService }]; } });
@@ -1542,7 +1546,7 @@ class LoadingAdapter {
1542
1546
  /** @nocollapse */ LoadingAdapter.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: LoadingAdapter });
1543
1547
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: LoadingAdapter, decorators: [{
1544
1548
  type: Injectable
1545
- }], ctorParameters: function () { return [{ type: i2.EventBus, decorators: [{
1549
+ }], ctorParameters: function () { return [{ type: i3.EventBus, decorators: [{
1546
1550
  type: Inject,
1547
1551
  args: [PIZZAGNA_EVENT_BUS]
1548
1552
  }] }, { type: PizzagnaService }]; } });
@@ -1803,7 +1807,7 @@ class Refresher {
1803
1807
  /** @nocollapse */ Refresher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: Refresher });
1804
1808
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: Refresher, decorators: [{
1805
1809
  type: Injectable
1806
- }], ctorParameters: function () { return [{ type: i2.EventBus, decorators: [{
1810
+ }], ctorParameters: function () { return [{ type: i3.EventBus, decorators: [{
1807
1811
  type: Inject,
1808
1812
  args: [PIZZAGNA_EVENT_BUS]
1809
1813
  }] }, { type: i0.NgZone }, { type: RefresherSettingsService }]; } });
@@ -1979,7 +1983,7 @@ class ConfiguratorDataSourceManagerService {
1979
1983
  /** @nocollapse */ ConfiguratorDataSourceManagerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ConfiguratorDataSourceManagerService });
1980
1984
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ConfiguratorDataSourceManagerService, decorators: [{
1981
1985
  type: Injectable
1982
- }], ctorParameters: function () { return [{ type: i2.EventBus, decorators: [{
1986
+ }], ctorParameters: function () { return [{ type: i3.EventBus, decorators: [{
1983
1987
  type: Inject,
1984
1988
  args: [PIZZAGNA_EVENT_BUS]
1985
1989
  }] }, { type: DashwizService }]; } });
@@ -2040,7 +2044,7 @@ class BaseConverter {
2040
2044
  /** @nocollapse */ BaseConverter.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: BaseConverter });
2041
2045
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: BaseConverter, decorators: [{
2042
2046
  type: Injectable
2043
- }], ctorParameters: function () { return [{ type: i2.EventBus, decorators: [{
2047
+ }], ctorParameters: function () { return [{ type: i3.EventBus, decorators: [{
2044
2048
  type: Inject,
2045
2049
  args: [PIZZAGNA_EVENT_BUS]
2046
2050
  }] }, { type: PreviewService }, { type: PizzagnaService }]; } });
@@ -2095,7 +2099,7 @@ class KpiSectionConverterService extends BaseConverter {
2095
2099
  /** @nocollapse */ KpiSectionConverterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: KpiSectionConverterService });
2096
2100
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: KpiSectionConverterService, decorators: [{
2097
2101
  type: Injectable
2098
- }], ctorParameters: function () { return [{ type: i2.EventBus, decorators: [{
2102
+ }], ctorParameters: function () { return [{ type: i3.EventBus, decorators: [{
2099
2103
  type: Inject,
2100
2104
  args: [PIZZAGNA_EVENT_BUS]
2101
2105
  }] }, { type: PreviewService }, { type: PizzagnaService }]; } });
@@ -2170,7 +2174,7 @@ class KpiTilesConverterService extends BaseConverter {
2170
2174
  /** @nocollapse */ KpiTilesConverterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: KpiTilesConverterService });
2171
2175
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: KpiTilesConverterService, decorators: [{
2172
2176
  type: Injectable
2173
- }], ctorParameters: function () { return [{ type: i2.EventBus, decorators: [{
2177
+ }], ctorParameters: function () { return [{ type: i3.EventBus, decorators: [{
2174
2178
  type: Inject,
2175
2179
  args: [PIZZAGNA_EVENT_BUS]
2176
2180
  }] }, { type: PreviewService }, { type: PizzagnaService }]; } });
@@ -2234,7 +2238,7 @@ class ProportionalWidgetChartOptionsConverterService extends BaseConverter {
2234
2238
  /** @nocollapse */ ProportionalWidgetChartOptionsConverterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ProportionalWidgetChartOptionsConverterService });
2235
2239
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ProportionalWidgetChartOptionsConverterService, decorators: [{
2236
2240
  type: Injectable
2237
- }], ctorParameters: function () { return [{ type: i2.EventBus, decorators: [{
2241
+ }], ctorParameters: function () { return [{ type: i3.EventBus, decorators: [{
2238
2242
  type: Inject,
2239
2243
  args: [PIZZAGNA_EVENT_BUS]
2240
2244
  }] }, { type: PreviewService }, { type: PizzagnaService }]; } });
@@ -2284,7 +2288,7 @@ class GenericArrayConverterService extends BaseConverter {
2284
2288
  /** @nocollapse */ GenericArrayConverterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: GenericArrayConverterService });
2285
2289
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: GenericArrayConverterService, decorators: [{
2286
2290
  type: Injectable
2287
- }], ctorParameters: function () { return [{ type: i2.EventBus, decorators: [{
2291
+ }], ctorParameters: function () { return [{ type: i3.EventBus, decorators: [{
2288
2292
  type: Inject,
2289
2293
  args: [PIZZAGNA_EVENT_BUS]
2290
2294
  }] }, { type: PreviewService }, { type: PizzagnaService }]; } });
@@ -2334,7 +2338,7 @@ class GenericConverterService extends BaseConverter {
2334
2338
  /** @nocollapse */ GenericConverterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: GenericConverterService });
2335
2339
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: GenericConverterService, decorators: [{
2336
2340
  type: Injectable
2337
- }], ctorParameters: function () { return [{ type: i2.EventBus, decorators: [{
2341
+ }], ctorParameters: function () { return [{ type: i3.EventBus, decorators: [{
2338
2342
  type: Inject,
2339
2343
  args: [PIZZAGNA_EVENT_BUS]
2340
2344
  }] }, { type: PreviewService }, { type: PizzagnaService }]; } });
@@ -2370,7 +2374,7 @@ TitleAndDescriptionConverterService.PROPERTIES_PATH = `${PizzagnaLayer.Configura
2370
2374
  /** @nocollapse */ TitleAndDescriptionConverterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TitleAndDescriptionConverterService });
2371
2375
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TitleAndDescriptionConverterService, decorators: [{
2372
2376
  type: Injectable
2373
- }], ctorParameters: function () { return [{ type: i2.EventBus, decorators: [{
2377
+ }], ctorParameters: function () { return [{ type: i3.EventBus, decorators: [{
2374
2378
  type: Inject,
2375
2379
  args: [PIZZAGNA_EVENT_BUS]
2376
2380
  }] }, { type: PreviewService }, { type: PizzagnaService }]; } });
@@ -2519,7 +2523,7 @@ class TableColumnsConverterService extends BaseConverter {
2519
2523
  /** @nocollapse */ TableColumnsConverterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TableColumnsConverterService });
2520
2524
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TableColumnsConverterService, decorators: [{
2521
2525
  type: Injectable
2522
- }], ctorParameters: function () { return [{ type: i2.EventBus, decorators: [{
2526
+ }], ctorParameters: function () { return [{ type: i3.EventBus, decorators: [{
2523
2527
  type: Inject,
2524
2528
  args: [PIZZAGNA_EVENT_BUS]
2525
2529
  }] }, { type: PreviewService }, { type: PizzagnaService }]; } });
@@ -2558,7 +2562,7 @@ class TableFiltersConverterService extends BaseConverter {
2558
2562
  /** @nocollapse */ TableFiltersConverterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TableFiltersConverterService });
2559
2563
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TableFiltersConverterService, decorators: [{
2560
2564
  type: Injectable
2561
- }], ctorParameters: function () { return [{ type: i2.EventBus, decorators: [{
2565
+ }], ctorParameters: function () { return [{ type: i3.EventBus, decorators: [{
2562
2566
  type: Inject,
2563
2567
  args: [PIZZAGNA_EVENT_BUS]
2564
2568
  }] }, { type: PreviewService }, { type: PizzagnaService }]; } });
@@ -2609,14 +2613,14 @@ class TimeseriesMetadataConverterService extends BaseConverter {
2609
2613
  });
2610
2614
  }
2611
2615
  }
2612
- /** @nocollapse */ TimeseriesMetadataConverterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TimeseriesMetadataConverterService, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: PreviewService }, { token: PizzagnaService }, { token: i2.TimeframeService }], target: i0.ɵɵFactoryTarget.Injectable });
2616
+ /** @nocollapse */ TimeseriesMetadataConverterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TimeseriesMetadataConverterService, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: PreviewService }, { token: PizzagnaService }, { token: i3.TimeframeService }], target: i0.ɵɵFactoryTarget.Injectable });
2613
2617
  /** @nocollapse */ TimeseriesMetadataConverterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TimeseriesMetadataConverterService });
2614
2618
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TimeseriesMetadataConverterService, decorators: [{
2615
2619
  type: Injectable
2616
- }], ctorParameters: function () { return [{ type: i2.EventBus, decorators: [{
2620
+ }], ctorParameters: function () { return [{ type: i3.EventBus, decorators: [{
2617
2621
  type: Inject,
2618
2622
  args: [PIZZAGNA_EVENT_BUS]
2619
- }] }, { type: PreviewService }, { type: PizzagnaService }, { type: i2.TimeframeService }]; } });
2623
+ }] }, { type: PreviewService }, { type: PizzagnaService }, { type: i3.TimeframeService }]; } });
2620
2624
 
2621
2625
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
2622
2626
  class TimeseriesSeriesConverterService extends BaseConverter {
@@ -2746,7 +2750,7 @@ class TimeseriesSeriesConverterService extends BaseConverter {
2746
2750
  /** @nocollapse */ TimeseriesSeriesConverterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TimeseriesSeriesConverterService });
2747
2751
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TimeseriesSeriesConverterService, decorators: [{
2748
2752
  type: Injectable
2749
- }], ctorParameters: function () { return [{ type: i2.EventBus, decorators: [{
2753
+ }], ctorParameters: function () { return [{ type: i3.EventBus, decorators: [{
2750
2754
  type: Inject,
2751
2755
  args: [PIZZAGNA_EVENT_BUS]
2752
2756
  }] }, { type: PreviewService }, { type: PizzagnaService }]; } });
@@ -2788,7 +2792,7 @@ class TimeseriesTileIndicatorDataConverterService extends BaseConverter {
2788
2792
  /** @nocollapse */ TimeseriesTileIndicatorDataConverterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TimeseriesTileIndicatorDataConverterService });
2789
2793
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TimeseriesTileIndicatorDataConverterService, decorators: [{
2790
2794
  type: Injectable
2791
- }], ctorParameters: function () { return [{ type: i2.EventBus, decorators: [{
2795
+ }], ctorParameters: function () { return [{ type: i3.EventBus, decorators: [{
2792
2796
  type: Inject,
2793
2797
  args: [PIZZAGNA_EVENT_BUS]
2794
2798
  }] }, { type: PreviewService }, { type: PizzagnaService }]; } });
@@ -2881,7 +2885,7 @@ class RegistryService {
2881
2885
  /** @nocollapse */ RegistryService.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.6", type: RegistryService, ngImport: i0 });
2882
2886
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: RegistryService, decorators: [{
2883
2887
  type: Directive
2884
- }], ctorParameters: function () { return [{ type: i2.LoggerService }, { type: undefined }]; } });
2888
+ }], ctorParameters: function () { return [{ type: i3.LoggerService }, { type: undefined }]; } });
2885
2889
 
2886
2890
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
2887
2891
  class FormatterRegistryService extends RegistryService {
@@ -2907,45 +2911,45 @@ class TableFormatterRegistryService extends FormatterRegistryService {
2907
2911
  super(logger, "TableFormatterRegistryService");
2908
2912
  }
2909
2913
  }
2910
- /** @nocollapse */ TableFormatterRegistryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TableFormatterRegistryService, deps: [{ token: i2.LoggerService }], target: i0.ɵɵFactoryTarget.Injectable });
2914
+ /** @nocollapse */ TableFormatterRegistryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TableFormatterRegistryService, deps: [{ token: i3.LoggerService }], target: i0.ɵɵFactoryTarget.Injectable });
2911
2915
  /** @nocollapse */ TableFormatterRegistryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TableFormatterRegistryService, providedIn: "root" });
2912
2916
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TableFormatterRegistryService, decorators: [{
2913
2917
  type: Injectable,
2914
2918
  args: [{ providedIn: "root" }]
2915
- }], ctorParameters: function () { return [{ type: i2.LoggerService }]; } });
2919
+ }], ctorParameters: function () { return [{ type: i3.LoggerService }]; } });
2916
2920
  class KpiFormattersRegistryService extends FormatterRegistryService {
2917
2921
  constructor(logger) {
2918
2922
  super(logger, "KpiFormattersRegistryService");
2919
2923
  }
2920
2924
  }
2921
- /** @nocollapse */ KpiFormattersRegistryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: KpiFormattersRegistryService, deps: [{ token: i2.LoggerService }], target: i0.ɵɵFactoryTarget.Injectable });
2925
+ /** @nocollapse */ KpiFormattersRegistryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: KpiFormattersRegistryService, deps: [{ token: i3.LoggerService }], target: i0.ɵɵFactoryTarget.Injectable });
2922
2926
  /** @nocollapse */ KpiFormattersRegistryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: KpiFormattersRegistryService, providedIn: "root" });
2923
2927
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: KpiFormattersRegistryService, decorators: [{
2924
2928
  type: Injectable,
2925
2929
  args: [{ providedIn: "root" }]
2926
- }], ctorParameters: function () { return [{ type: i2.LoggerService }]; } });
2930
+ }], ctorParameters: function () { return [{ type: i3.LoggerService }]; } });
2927
2931
  class ProportionalDonutContentFormattersRegistryService extends FormatterRegistryService {
2928
2932
  constructor(logger) {
2929
2933
  super(logger, "ProportionalDonutContentFormattersRegistryService");
2930
2934
  }
2931
2935
  }
2932
- /** @nocollapse */ ProportionalDonutContentFormattersRegistryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ProportionalDonutContentFormattersRegistryService, deps: [{ token: i2.LoggerService }], target: i0.ɵɵFactoryTarget.Injectable });
2936
+ /** @nocollapse */ ProportionalDonutContentFormattersRegistryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ProportionalDonutContentFormattersRegistryService, deps: [{ token: i3.LoggerService }], target: i0.ɵɵFactoryTarget.Injectable });
2933
2937
  /** @nocollapse */ ProportionalDonutContentFormattersRegistryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ProportionalDonutContentFormattersRegistryService, providedIn: "root" });
2934
2938
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ProportionalDonutContentFormattersRegistryService, decorators: [{
2935
2939
  type: Injectable,
2936
2940
  args: [{ providedIn: "root" }]
2937
- }], ctorParameters: function () { return [{ type: i2.LoggerService }]; } });
2941
+ }], ctorParameters: function () { return [{ type: i3.LoggerService }]; } });
2938
2942
  class ProportionalLegendFormattersRegistryService extends FormatterRegistryService {
2939
2943
  constructor(logger) {
2940
2944
  super(logger, "ProportionalLegendFormattersRegistryService");
2941
2945
  }
2942
2946
  }
2943
- /** @nocollapse */ ProportionalLegendFormattersRegistryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ProportionalLegendFormattersRegistryService, deps: [{ token: i2.LoggerService }], target: i0.ɵɵFactoryTarget.Injectable });
2947
+ /** @nocollapse */ ProportionalLegendFormattersRegistryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ProportionalLegendFormattersRegistryService, deps: [{ token: i3.LoggerService }], target: i0.ɵɵFactoryTarget.Injectable });
2944
2948
  /** @nocollapse */ ProportionalLegendFormattersRegistryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ProportionalLegendFormattersRegistryService, providedIn: "root" });
2945
2949
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ProportionalLegendFormattersRegistryService, decorators: [{
2946
2950
  type: Injectable,
2947
2951
  args: [{ providedIn: "root" }]
2948
- }], ctorParameters: function () { return [{ type: i2.LoggerService }]; } });
2952
+ }], ctorParameters: function () { return [{ type: i3.LoggerService }]; } });
2949
2953
 
2950
2954
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
2951
2955
  /**
@@ -3054,10 +3058,10 @@ class WidgetToDashboardEventProxyService {
3054
3058
  /** @nocollapse */ WidgetToDashboardEventProxyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: WidgetToDashboardEventProxyService });
3055
3059
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: WidgetToDashboardEventProxyService, decorators: [{
3056
3060
  type: Injectable
3057
- }], ctorParameters: function () { return [{ type: i2.EventBus, decorators: [{
3061
+ }], ctorParameters: function () { return [{ type: i3.EventBus, decorators: [{
3058
3062
  type: Inject,
3059
3063
  args: [PIZZAGNA_EVENT_BUS]
3060
- }] }, { type: i2.EventBus, decorators: [{
3064
+ }] }, { type: i3.EventBus, decorators: [{
3061
3065
  type: Optional
3062
3066
  }, {
3063
3067
  type: Inject,
@@ -3278,12 +3282,12 @@ class ProviderRegistryService {
3278
3282
  return injector.get(DATA_SOURCE);
3279
3283
  }
3280
3284
  }
3281
- /** @nocollapse */ ProviderRegistryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ProviderRegistryService, deps: [{ token: i2.LoggerService }], target: i0.ɵɵFactoryTarget.Injectable });
3285
+ /** @nocollapse */ ProviderRegistryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ProviderRegistryService, deps: [{ token: i3.LoggerService }], target: i0.ɵɵFactoryTarget.Injectable });
3282
3286
  /** @nocollapse */ ProviderRegistryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ProviderRegistryService, providedIn: "root" });
3283
3287
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ProviderRegistryService, decorators: [{
3284
3288
  type: Injectable,
3285
3289
  args: [{ providedIn: "root" }]
3286
- }], ctorParameters: function () { return [{ type: i2.LoggerService }]; } });
3290
+ }], ctorParameters: function () { return [{ type: i3.LoggerService }]; } });
3287
3291
 
3288
3292
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
3289
3293
  /** @ignore */
@@ -3326,14 +3330,14 @@ class ComponentRegistryService {
3326
3330
  return component;
3327
3331
  }
3328
3332
  }
3329
- /** @nocollapse */ ComponentRegistryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ComponentRegistryService, deps: [{ token: i2.LoggerService }], target: i0.ɵɵFactoryTarget.Injectable });
3333
+ /** @nocollapse */ ComponentRegistryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ComponentRegistryService, deps: [{ token: i3.LoggerService }], target: i0.ɵɵFactoryTarget.Injectable });
3330
3334
  /** @nocollapse */ ComponentRegistryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ComponentRegistryService, providedIn: "root" });
3331
3335
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ComponentRegistryService, decorators: [{
3332
3336
  type: Injectable,
3333
3337
  args: [{
3334
3338
  providedIn: "root",
3335
3339
  }]
3336
- }], ctorParameters: function () { return [{ type: i2.LoggerService }]; } });
3340
+ }], ctorParameters: function () { return [{ type: i3.LoggerService }]; } });
3337
3341
 
3338
3342
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
3339
3343
  /** @ignore */
@@ -3365,14 +3369,14 @@ class ComponentPortalService {
3365
3369
  });
3366
3370
  }
3367
3371
  }
3368
- /** @nocollapse */ ComponentPortalService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ComponentPortalService, deps: [{ token: ComponentRegistryService }, { token: i2.LoggerService }], target: i0.ɵɵFactoryTarget.Injectable });
3372
+ /** @nocollapse */ ComponentPortalService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ComponentPortalService, deps: [{ token: ComponentRegistryService }, { token: i3.LoggerService }], target: i0.ɵɵFactoryTarget.Injectable });
3369
3373
  /** @nocollapse */ ComponentPortalService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ComponentPortalService, providedIn: "root" });
3370
3374
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ComponentPortalService, decorators: [{
3371
3375
  type: Injectable,
3372
3376
  args: [{
3373
3377
  providedIn: "root",
3374
3378
  }]
3375
- }], ctorParameters: function () { return [{ type: ComponentRegistryService }, { type: i2.LoggerService }]; } });
3379
+ }], ctorParameters: function () { return [{ type: ComponentRegistryService }, { type: i3.LoggerService }]; } });
3376
3380
 
3377
3381
  class ComponentPortalDirective {
3378
3382
  constructor(injector, logger, portalService, renderer, providerRegistry) {
@@ -3636,7 +3640,7 @@ class ComponentPortalDirective {
3636
3640
  }
3637
3641
  }
3638
3642
  }
3639
- /** @nocollapse */ ComponentPortalDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ComponentPortalDirective, deps: [{ token: i0.Injector }, { token: i2.LoggerService }, { token: ComponentPortalService }, { token: i0.Renderer2 }, { token: ProviderRegistryService }], target: i0.ɵɵFactoryTarget.Directive });
3643
+ /** @nocollapse */ ComponentPortalDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ComponentPortalDirective, deps: [{ token: i0.Injector }, { token: i3.LoggerService }, { token: ComponentPortalService }, { token: i0.Renderer2 }, { token: ProviderRegistryService }], target: i0.ɵɵFactoryTarget.Directive });
3640
3644
  /** @nocollapse */ ComponentPortalDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.6", type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: { componentId: "componentId", componentType: "componentType", properties: "properties", providers: "providers", outputs: "outputs" }, outputs: { output: "output" }, exportAs: ["nuiComponentPortal"], usesOnChanges: true, ngImport: i0 });
3641
3645
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ComponentPortalDirective, decorators: [{
3642
3646
  type: Directive,
@@ -3644,7 +3648,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
3644
3648
  selector: "[nuiComponentPortal]",
3645
3649
  exportAs: "nuiComponentPortal",
3646
3650
  }]
3647
- }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i2.LoggerService }, { type: ComponentPortalService }, { type: i0.Renderer2 }, { type: ProviderRegistryService }]; }, propDecorators: { componentId: [{
3651
+ }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i3.LoggerService }, { type: ComponentPortalService }, { type: i0.Renderer2 }, { type: ProviderRegistryService }]; }, propDecorators: { componentId: [{
3648
3652
  type: Input
3649
3653
  }], componentType: [{
3650
3654
  type: Input
@@ -3727,7 +3731,7 @@ class PizzagnaComponent {
3727
3731
  return pizzagna && pizzagna[overlayKey];
3728
3732
  }
3729
3733
  }
3730
- /** @nocollapse */ PizzagnaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: PizzagnaComponent, deps: [{ token: PizzagnaService }, { token: i2.LoggerService }, { token: PIZZAGNA_EVENT_BUS }], target: i0.ɵɵFactoryTarget.Component });
3734
+ /** @nocollapse */ PizzagnaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: PizzagnaComponent, deps: [{ token: PizzagnaService }, { token: i3.LoggerService }, { token: PIZZAGNA_EVENT_BUS }], target: i0.ɵɵFactoryTarget.Component });
3731
3735
  /** @nocollapse */ PizzagnaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: PizzagnaComponent, selector: "nui-pizzagna", inputs: { rootNode: "rootNode", pizzagna: "pizzagna", outputs: "outputs" }, outputs: { pizzagnaChange: "pizzagnaChange", output: "output" }, providers: [
3732
3736
  PizzagnaService,
3733
3737
  DynamicComponentCreator,
@@ -3750,7 +3754,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
3750
3754
  },
3751
3755
  ],
3752
3756
  }]
3753
- }], ctorParameters: function () { return [{ type: PizzagnaService }, { type: i2.LoggerService }, { type: i2.EventBus, decorators: [{
3757
+ }], ctorParameters: function () { return [{ type: PizzagnaService }, { type: i3.LoggerService }, { type: i3.EventBus, decorators: [{
3754
3758
  type: Inject,
3755
3759
  args: [PIZZAGNA_EVENT_BUS]
3756
3760
  }] }]; }, propDecorators: { rootNode: [{
@@ -3817,7 +3821,7 @@ class LoadingComponent {
3817
3821
  }
3818
3822
  LoadingComponent.lateLoadKey = "LoadingComponent";
3819
3823
  /** @nocollapse */ LoadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: LoadingComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
3820
- /** @nocollapse */ LoadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: LoadingComponent, selector: "nui-loading", inputs: { active: "active" }, ngImport: i0, template: "<nui-progress\n [@animate]=\"active\"\n (@animate.start)=\"$event.element.style.display = 'block'\"\n (@animate.done)=\"\n $event.element.style.display = $event.toState ? 'block' : 'none'\n \"\n [show]=\"true\"\n compactMode=\"true\"\n>\n</nui-progress>\n", styles: [":host{height:5px;flex-shrink:0}\n"], components: [{ type: i2.ProgressComponent, selector: "nui-progress", inputs: ["showProgress", "ariaLabel", "show", "message", "showNumber", "percent", "allowCancel", "cancelText", "helpText", "stacked", "compactMode", "helpTemplateRef"], outputs: ["cancel"] }], animations: [
3824
+ /** @nocollapse */ LoadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: LoadingComponent, selector: "nui-loading", inputs: { active: "active" }, ngImport: i0, template: "<nui-progress\n [@animate]=\"active\"\n (@animate.start)=\"$event.element.style.display = 'block'\"\n (@animate.done)=\"\n $event.element.style.display = $event.toState ? 'block' : 'none'\n \"\n [show]=\"true\"\n compactMode=\"true\"\n>\n</nui-progress>\n", styles: [":host{height:5px;flex-shrink:0}\n"], components: [{ type: i3.ProgressComponent, selector: "nui-progress", inputs: ["showProgress", "ariaLabel", "show", "message", "showNumber", "percent", "allowCancel", "cancelText", "helpText", "stacked", "compactMode", "helpTemplateRef"], outputs: ["cancel"] }], animations: [
3821
3825
  trigger("animate", [
3822
3826
  state("true", style({ opacity: 1 })),
3823
3827
  state("false", style({ opacity: 0 })),
@@ -4064,7 +4068,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
4064
4068
  },
4065
4069
  ],
4066
4070
  }]
4067
- }], ctorParameters: function () { return [{ type: i2.EventBus, decorators: [{
4071
+ }], ctorParameters: function () { return [{ type: i3.EventBus, decorators: [{
4068
4072
  type: Inject,
4069
4073
  args: [DASHBOARD_EVENT_BUS]
4070
4074
  }] }]; }, propDecorators: { gridsterConfig: [{
@@ -4297,7 +4301,7 @@ class KpiComponent {
4297
4301
  }
4298
4302
  KpiComponent.lateLoadKey = "KpiComponent";
4299
4303
  /** @nocollapse */ KpiComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: KpiComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: DATA_SOURCE, optional: true }, { token: PIZZAGNA_EVENT_BUS }], target: i0.ɵɵFactoryTarget.Component });
4300
- /** @nocollapse */ KpiComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: KpiComponent, selector: "nui-kpi", inputs: { widgetData: "widgetData", backgroundColor: "backgroundColor", syncValuesBroker: "syncValuesBroker", configuration: "configuration", busy: "busy" }, host: { properties: { "class": "this.elementClass" } }, usesOnChanges: true, ngImport: i0, template: "<div class=\"w-100 h-100\" nui-busy [busy]=\"busy\">\n <ng-container *ngIf=\"widgetData?.link\">\n <a class=\"nui-kpi-indicator\" [href]=\"widgetData.link\">\n <ng-container [ngTemplateOutlet]=\"kpiContent\"></ng-container>\n </a>\n </ng-container>\n\n <ng-container *ngIf=\"!widgetData?.link\">\n <div class=\"nui-kpi-indicator\" (click)=\"onInteraction()\">\n <ng-container [ngTemplateOutlet]=\"kpiContent\"></ng-container>\n </div>\n </ng-container>\n</div>\n\n<ng-template #kpiContent>\n <div\n class=\"nui-kpi-indicator__background\"\n [class.nui-kpi-indicator--interactive]=\"interactive\"\n [ngStyle]=\"{\n 'background-color': backgroundColor || widgetData?.backgroundColor\n }\"\n ></div>\n <div\n class=\"nui-kpi-indicator__text\"\n [ngStyle]=\"{\n color:\n widgetData?.textColor ||\n backgroundColor ||\n widgetData?.backgroundColor ||\n defaultColor\n }\"\n >\n <div class=\"nui-kpi-indicator__zoom-container\">\n <div\n class=\"nui-kpi-indicator__description\"\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 <ng-container\n *ngIf=\"configuration?.formatters?.Value; else kpiValueRaw\"\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n componentId=\"KpiValueFormatter\"\n [componentType]=\"\n configuration?.formatters?.Value?.formatter?.componentType\n \"\n [properties]=\"formattersProperties.Value\"\n >\n <div class=\"nui-kpi-indicator__value\">\n <span\n nuiZoomContent\n [ngClass]=\"\n configuration?.formatters?.Value?.formatter\n ?.componentType === 'IconFormatterComponent'\n ? 'without-filter'\n : ''\n \"\n [useZoom]=\"false\"\n [scaleIN$]=\"getScaleBroker('value')?.out$\"\n [scaleOUT$]=\"getScaleBroker('value')?.in$\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </span>\n </div>\n </ng-container>\n\n <div class=\"nui-kpi-indicator__units\" [title]=\"widgetData?.units\">\n <span\n nuiZoomContent\n [useZoom]=\"false\"\n [scaleIN$]=\"getScaleBroker('units')?.out$\"\n [scaleOUT$]=\"getScaleBroker('units')?.in$\"\n [minScale]=\"0.5\"\n >{{ widgetData?.units }}</span\n >\n </div>\n </div>\n </div>\n</ng-template>\n\n<ng-template #kpiValueRaw>\n <div\n class=\"nui-kpi-indicator__value\"\n [style.font-size]=\"widgetData?.fontSize\"\n [title]=\"widgetData?.value\"\n >\n <span\n nuiZoomContent\n [useZoom]=\"false\"\n [scaleIN$]=\"getScaleBroker('value')?.out$\"\n [scaleOUT$]=\"getScaleBroker('value')?.in$\"\n >\n {{ widgetData?.value }}</span\n >\n </div>\n</ng-template>\n", styles: [".nui-kpi-indicator{position:relative;display:block;height:100%;width:100%}.nui-kpi-indicator__background{height:100%;width:100%;background-color:var(--nui-color-bg-secondary,#fafafa);color:var(--nui-color-text-default,#111)}.nui-kpi-indicator__text{position:absolute;width:100%;height:100%;top:0;pointer-events:none}.nui-kpi-indicator__text *>span{filter:invert(1) grayscale(1) contrast(100)}.nui-kpi-indicator__value{font-size:54px;font-weight:600;margin:auto 0;min-width:100%;white-space:nowrap;display:flex;align-items:center;justify-content:center;height:100%;min-height:5px;max-height:200px}.nui-kpi-indicator__value>span.without-filter{filter:unset}.nui-kpi-indicator__units{font-size:16px;font-weight:600;min-width:0;margin-bottom:auto;display:flex;align-items:center;justify-content:center;height:100%;min-height:10px;max-height:45px}.nui-kpi-indicator__units>span{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis}.nui-kpi-indicator__description{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-kpi-indicator__description>span{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis}.nui-kpi-indicator__zoom-container{display:grid;grid-template-columns:1fr;grid-template-rows:30% 40% 30%;width:100%;height:100%}.nui-kpi-indicator--interactive{cursor:pointer}.nui-kpi-indicator--interactive:hover{filter:brightness(90%)}\n"], components: [{ type: i2.BusyComponent, selector: "[nui-busy]", inputs: ["disableTabNavigation", "busy"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i2.ZoomContentDirective, selector: "[nuiZoomContent]", inputs: ["zoomRatio", "minZoomDifference", "useZoom", "margin", "minScale", "maxZoom", "minZoom", "maxScale", "scaleIN$", "scaleOUT$"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
4304
+ /** @nocollapse */ KpiComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: KpiComponent, selector: "nui-kpi", inputs: { widgetData: "widgetData", backgroundColor: "backgroundColor", syncValuesBroker: "syncValuesBroker", configuration: "configuration", busy: "busy" }, host: { properties: { "class": "this.elementClass" } }, usesOnChanges: true, ngImport: i0, template: "<div class=\"w-100 h-100\" nui-busy [busy]=\"busy\">\n <ng-container *ngIf=\"widgetData?.link\">\n <a class=\"nui-kpi-indicator\" [href]=\"widgetData.link\">\n <ng-container [ngTemplateOutlet]=\"kpiContent\"></ng-container>\n </a>\n </ng-container>\n\n <ng-container *ngIf=\"!widgetData?.link\">\n <div class=\"nui-kpi-indicator\" (click)=\"onInteraction()\">\n <ng-container [ngTemplateOutlet]=\"kpiContent\"></ng-container>\n </div>\n </ng-container>\n</div>\n\n<ng-template #kpiContent>\n <div\n class=\"nui-kpi-indicator__background\"\n [class.nui-kpi-indicator--interactive]=\"interactive\"\n [ngStyle]=\"{\n 'background-color': backgroundColor || widgetData?.backgroundColor\n }\"\n ></div>\n <div\n class=\"nui-kpi-indicator__text\"\n [ngStyle]=\"{\n color:\n widgetData?.textColor ||\n backgroundColor ||\n widgetData?.backgroundColor ||\n defaultColor\n }\"\n >\n <div class=\"nui-kpi-indicator__zoom-container\">\n <div\n class=\"nui-kpi-indicator__description\"\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 <ng-container\n *ngIf=\"configuration?.formatters?.Value; else kpiValueRaw\"\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n componentId=\"KpiValueFormatter\"\n [componentType]=\"\n configuration?.formatters?.Value?.formatter?.componentType\n \"\n [properties]=\"formattersProperties.Value\"\n >\n <div class=\"nui-kpi-indicator__value\">\n <span\n nuiZoomContent\n [ngClass]=\"\n configuration?.formatters?.Value?.formatter\n ?.componentType === 'IconFormatterComponent'\n ? 'without-filter'\n : ''\n \"\n [useZoom]=\"false\"\n [scaleIN$]=\"getScaleBroker('value')?.out$\"\n [scaleOUT$]=\"getScaleBroker('value')?.in$\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </span>\n </div>\n </ng-container>\n\n <div class=\"nui-kpi-indicator__units\" [title]=\"widgetData?.units\">\n <span\n nuiZoomContent\n [useZoom]=\"false\"\n [scaleIN$]=\"getScaleBroker('units')?.out$\"\n [scaleOUT$]=\"getScaleBroker('units')?.in$\"\n [minScale]=\"0.5\"\n >{{ widgetData?.units }}</span\n >\n </div>\n </div>\n </div>\n</ng-template>\n\n<ng-template #kpiValueRaw>\n <div\n class=\"nui-kpi-indicator__value\"\n [style.font-size]=\"widgetData?.fontSize\"\n [title]=\"widgetData?.value\"\n >\n <span\n nuiZoomContent\n [useZoom]=\"false\"\n [scaleIN$]=\"getScaleBroker('value')?.out$\"\n [scaleOUT$]=\"getScaleBroker('value')?.in$\"\n >\n {{ widgetData?.value }}</span\n >\n </div>\n</ng-template>\n", styles: [".nui-kpi-indicator{position:relative;display:block;height:100%;width:100%}.nui-kpi-indicator__background{height:100%;width:100%;background-color:var(--nui-color-bg-secondary,#fafafa);color:var(--nui-color-text-default,#111)}.nui-kpi-indicator__text{position:absolute;width:100%;height:100%;top:0;pointer-events:none}.nui-kpi-indicator__text *>span{filter:invert(1) grayscale(1) contrast(100)}.nui-kpi-indicator__value{font-size:54px;font-weight:600;margin:auto 0;min-width:100%;white-space:nowrap;display:flex;align-items:center;justify-content:center;height:100%;min-height:5px;max-height:200px}.nui-kpi-indicator__value>span.without-filter{filter:unset}.nui-kpi-indicator__units{font-size:16px;font-weight:600;min-width:0;margin-bottom:auto;display:flex;align-items:center;justify-content:center;height:100%;min-height:10px;max-height:45px}.nui-kpi-indicator__units>span{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis}.nui-kpi-indicator__description{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-kpi-indicator__description>span{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis}.nui-kpi-indicator__zoom-container{display:grid;grid-template-columns:1fr;grid-template-rows:30% 40% 30%;width:100%;height:100%}.nui-kpi-indicator--interactive{cursor:pointer}.nui-kpi-indicator--interactive:hover{filter:brightness(90%)}\n"], components: [{ type: i3.BusyComponent, selector: "[nui-busy]", inputs: ["disableTabNavigation", "busy"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i3.ZoomContentDirective, selector: "[nuiZoomContent]", inputs: ["zoomRatio", "minZoomDifference", "useZoom", "margin", "minScale", "maxZoom", "minZoom", "maxScale", "scaleIN$", "scaleOUT$"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
4301
4305
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: KpiComponent, decorators: [{
4302
4306
  type: Component,
4303
4307
  args: [{
@@ -4312,7 +4316,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
4312
4316
  }, {
4313
4317
  type: Inject,
4314
4318
  args: [DATA_SOURCE]
4315
- }] }, { type: i2.EventBus, decorators: [{
4319
+ }] }, { type: i3.EventBus, decorators: [{
4316
4320
  type: Inject,
4317
4321
  args: [PIZZAGNA_EVENT_BUS]
4318
4322
  }] }]; }, propDecorators: { widgetData: [{
@@ -4414,11 +4418,11 @@ class BaseLayout {
4414
4418
  };
4415
4419
  }
4416
4420
  }
4417
- /** @nocollapse */ BaseLayout.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: BaseLayout, deps: [{ token: i0.ChangeDetectorRef }, { token: PizzagnaService }, { token: i2.LoggerService }], target: i0.ɵɵFactoryTarget.Injectable });
4421
+ /** @nocollapse */ BaseLayout.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: BaseLayout, deps: [{ token: i0.ChangeDetectorRef }, { token: PizzagnaService }, { token: i3.LoggerService }], target: i0.ɵɵFactoryTarget.Injectable });
4418
4422
  /** @nocollapse */ BaseLayout.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: BaseLayout });
4419
4423
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: BaseLayout, decorators: [{
4420
4424
  type: Injectable
4421
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: PizzagnaService }, { type: i2.LoggerService }]; }, propDecorators: { template: [{
4425
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: PizzagnaService }, { type: i3.LoggerService }]; }, propDecorators: { template: [{
4422
4426
  type: Input
4423
4427
  }] } });
4424
4428
 
@@ -4443,7 +4447,7 @@ class StackComponent extends BaseLayout {
4443
4447
  }
4444
4448
  }
4445
4449
  StackComponent.lateLoadKey = "StackComponent";
4446
- /** @nocollapse */ StackComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: StackComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: PizzagnaService }, { token: i2.LoggerService }], target: i0.ɵɵFactoryTarget.Component });
4450
+ /** @nocollapse */ StackComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: StackComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: PizzagnaService }, { token: i3.LoggerService }], target: i0.ɵɵFactoryTarget.Component });
4447
4451
  /** @nocollapse */ StackComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: StackComponent, selector: "nui-stack", inputs: { nodes: "nodes", direction: "direction", elementClass: "elementClass" }, host: { properties: { "class": "this.classNames" } }, usesInheritance: true, ngImport: i0, template: "<ng-container *ngFor=\"let node of nodeConfigs; trackBy: trackByFn\">\n <ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n [componentId]=\"node.id\"\n [componentType]=\"node.componentType\"\n [providers]=\"node.providers\"\n [properties]=\"node.properties\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n</ng-container>\n", directives: [{ type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }] });
4448
4452
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: StackComponent, decorators: [{
4449
4453
  type: Component,
@@ -4451,7 +4455,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
4451
4455
  selector: "nui-stack",
4452
4456
  templateUrl: "./stack.component.html",
4453
4457
  }]
4454
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: PizzagnaService }, { type: i2.LoggerService }]; }, propDecorators: { nodes: [{
4458
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: PizzagnaService }, { type: i3.LoggerService }]; }, propDecorators: { nodes: [{
4455
4459
  type: Input
4456
4460
  }], direction: [{
4457
4461
  type: Input
@@ -4512,7 +4516,7 @@ class TilesComponent extends BaseLayout {
4512
4516
  }
4513
4517
  }
4514
4518
  TilesComponent.lateLoadKey = "TilesComponent";
4515
- /** @nocollapse */ TilesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TilesComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: PizzagnaService }, { token: i2.LoggerService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
4519
+ /** @nocollapse */ TilesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TilesComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: PizzagnaService }, { token: i3.LoggerService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
4516
4520
  /** @nocollapse */ TilesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: TilesComponent, selector: "nui-tiles", inputs: { nodes: "nodes", direction: "direction" }, host: { properties: { "class": "this.elementClass" } }, viewQueries: [{ propertyName: "gridItemsContainer", first: true, predicate: ["gridItemsContainer"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<div\n #gridItemsContainer\n class=\"nui-grid-layout\"\n [ngClass]=\"{ 'prioritize-rows': prioritizeGridRows }\"\n>\n <ng-container *ngFor=\"let node of nodeConfigs; trackBy: trackByFn\">\n <ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n [componentId]=\"node.id\"\n [componentType]=\"node.componentType\"\n [properties]=\"node.properties\"\n [providers]=\"node.providers\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n </ng-container>\n</div>\n", styles: [".nui-grid-layout{display:grid;height:100%;gap:10px;grid-template-columns:repeat(auto-fit,minmax(calc(54px * 1.2 + 2 * 15px),1fr));grid-template-rows:repeat(auto-fit,minmax(15px,1fr));line-height:1.2}.nui-grid-layout.prioritize-rows{grid-auto-flow:column;grid-template-columns:minmax(1px,1fr)}:host-context(.mobile){min-height:160px}\n"], directives: [{ type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }] });
4517
4521
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TilesComponent, decorators: [{
4518
4522
  type: Component,
@@ -4521,7 +4525,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
4521
4525
  styleUrls: ["./tiles.component.less"],
4522
4526
  templateUrl: "./tiles.component.html",
4523
4527
  }]
4524
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: PizzagnaService }, { type: i2.LoggerService }, { type: i0.NgZone }]; }, propDecorators: { nodes: [{
4528
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: PizzagnaService }, { type: i3.LoggerService }, { type: i0.NgZone }]; }, propDecorators: { nodes: [{
4525
4529
  type: Input
4526
4530
  }], direction: [{
4527
4531
  type: Input
@@ -4559,7 +4563,7 @@ class ListGroupItemComponent {
4559
4563
  }
4560
4564
  ListGroupItemComponent.lateLoadKey = "ListGroupItemComponent";
4561
4565
  /** @nocollapse */ ListGroupItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ListGroupItemComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
4562
- /** @nocollapse */ ListGroupItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ListGroupItemComponent, selector: "nui-list-group-item", inputs: { id: "id", label: "label", statuses: "statuses", canNavigate: "canNavigate", widgetWidth: "widgetWidth" }, outputs: { navigated: "navigated" }, host: { classAttribute: "w-100" }, ngImport: i0, template: "<div\n class=\"list-group-item\"\n [ngClass]=\"{ 'widget-medium': isMedium, 'widget-small': isSmall }\"\n (click)=\"onButtonClick()\"\n>\n <div class=\"list-group-item__label\" [title]=\"label\">{{ label }}</div>\n <div class=\"list-group-item__statuses\">\n <div class=\"statuses\">\n <div class=\"status-column\" *ngFor=\"let status of statuses\">\n <nui-icon [icon]=\"status.key\" class=\"mr-2\"></nui-icon>\n <span class=\"status-column__label\" [title]=\"status.value\">{{\n status.value\n }}</span>\n </div>\n </div>\n <nui-icon *ngIf=\"canNavigate\" icon=\"caret-right\"></nui-icon>\n </div>\n</div>\n", styles: [".list-group-item{width:100%;display:flex;justify-content:center;align-items:center;flex-wrap:wrap}.list-group-item__label{width:25%;max-width:100%;white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis}.list-group-item__statuses{width:75%;display:flex;align-items:center}.list-group-item .status-column{display:flex;width:75px;min-width:75px;max-width:100%;justify-content:flex-start;align-items:center;padding-right:10px}.list-group-item .status-column__label{margin-left:5px;white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis}.list-group-item .statuses{display:flex;flex-grow:1;justify-content:flex-end}.widget-medium{justify-content:flex-end}.widget-medium .list-group-item__label{width:100%!important}.widget-medium .list-group-item__statuses{width:100%!important}.widget-small{justify-content:flex-end}.widget-small .list-group-item__label{width:100%!important}.widget-small .list-group-item__statuses{width:100%!important}.widget-small .statuses{justify-content:space-between}\n"], components: [{ type: i2.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }], directives: [{ type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
4566
+ /** @nocollapse */ ListGroupItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ListGroupItemComponent, selector: "nui-list-group-item", inputs: { id: "id", label: "label", statuses: "statuses", canNavigate: "canNavigate", widgetWidth: "widgetWidth" }, outputs: { navigated: "navigated" }, host: { classAttribute: "w-100" }, ngImport: i0, template: "<div\n class=\"list-group-item\"\n [ngClass]=\"{ 'widget-medium': isMedium, 'widget-small': isSmall }\"\n (click)=\"onButtonClick()\"\n>\n <div class=\"list-group-item__label\" [title]=\"label\">{{ label }}</div>\n <div class=\"list-group-item__statuses\">\n <div class=\"statuses\">\n <div class=\"status-column\" *ngFor=\"let status of statuses\">\n <nui-icon [icon]=\"status.key\" class=\"mr-2\"></nui-icon>\n <span class=\"status-column__label\" [title]=\"status.value\">{{\n status.value\n }}</span>\n </div>\n </div>\n <nui-icon *ngIf=\"canNavigate\" icon=\"caret-right\"></nui-icon>\n </div>\n</div>\n", styles: [".list-group-item{width:100%;display:flex;justify-content:center;align-items:center;flex-wrap:wrap}.list-group-item__label{width:25%;max-width:100%;white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis}.list-group-item__statuses{width:75%;display:flex;align-items:center}.list-group-item .status-column{display:flex;width:75px;min-width:75px;max-width:100%;justify-content:flex-start;align-items:center;padding-right:10px}.list-group-item .status-column__label{margin-left:5px;white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis}.list-group-item .statuses{display:flex;flex-grow:1;justify-content:flex-end}.widget-medium{justify-content:flex-end}.widget-medium .list-group-item__label{width:100%!important}.widget-medium .list-group-item__statuses{width:100%!important}.widget-small{justify-content:flex-end}.widget-small .list-group-item__label{width:100%!important}.widget-small .list-group-item__statuses{width:100%!important}.widget-small .statuses{justify-content:space-between}\n"], components: [{ type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }], directives: [{ type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
4563
4567
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ListGroupItemComponent, decorators: [{
4564
4568
  type: Component,
4565
4569
  args: [{
@@ -4611,7 +4615,7 @@ class ListLeafItemComponent {
4611
4615
  }
4612
4616
  ListLeafItemComponent.lateLoadKey = "ListLeafItemComponent";
4613
4617
  /** @nocollapse */ ListLeafItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ListLeafItemComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: PIZZAGNA_EVENT_BUS }], target: i0.ɵɵFactoryTarget.Component });
4614
- /** @nocollapse */ ListLeafItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ListLeafItemComponent, selector: "nui-list-leaf-item", inputs: { icon: "icon", status: "status", detailedUrl: "detailedUrl", label: "label", canNavigate: "canNavigate", url: "url" }, outputs: { navigated: "navigated" }, host: { classAttribute: "w-100" }, ngImport: i0, template: "<div class=\"nui-list-leaf-item\" (click)=\"onButtonClick()\">\n <div class=\"nui-list-leaf-item__info-container\">\n <div class=\"nui-list-leaf-item__icon-container\">\n <nui-icon\n *ngIf=\"icon; else statusTpl\"\n [icon]=\"icon\"\n [status]=\"status\"\n class=\"mr-1\"\n ></nui-icon>\n </div>\n <div class=\"nui-list-leaf-item__description\">\n <a\n class=\"nui-text-ellipsis\"\n [ngClass]=\"url ? '' : 'not-active'\"\n [attr.target]=\"url ? '_blank' : null\"\n [attr.href]=\"url || null\"\n [innerHTML]=\"label | nuiHighlight: searchTerm\"\n ></a>\n <div\n class=\"nui-text-secondary nui-text-ellipsis\"\n [innerHTML]=\"detailedUrl | nuiHighlight: searchTerm\"\n ></div>\n </div>\n\n <ng-template #statusTpl>{{ status }}</ng-template>\n </div>\n <nui-icon *ngIf=\"canNavigate\" icon=\"caret-right\"></nui-icon>\n</div>\n", styles: [".nui-list-leaf-item{width:100%;display:flex;justify-content:space-between;align-items:center;padding:5px 0}.nui-list-leaf-item__info-container{display:flex;height:40px}.nui-list-leaf-item__icon-container{display:flex;justify-content:center;align-items:center;min-width:30px}.nui-list-leaf-item__description{display:grid;grid-template-rows:1fr 1fr;grid-template-columns:1fr;max-width:100%}a.not-active{text-decoration:none;color:#111}\n"], components: [{ type: i2.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], pipes: { "nuiHighlight": i2.HighlightPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
4618
+ /** @nocollapse */ ListLeafItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ListLeafItemComponent, selector: "nui-list-leaf-item", inputs: { icon: "icon", status: "status", detailedUrl: "detailedUrl", label: "label", canNavigate: "canNavigate", url: "url" }, outputs: { navigated: "navigated" }, host: { classAttribute: "w-100" }, ngImport: i0, template: "<div class=\"nui-list-leaf-item\" (click)=\"onButtonClick()\">\n <div class=\"nui-list-leaf-item__info-container\">\n <div class=\"nui-list-leaf-item__icon-container\">\n <nui-icon\n *ngIf=\"icon; else statusTpl\"\n [icon]=\"icon\"\n [status]=\"status\"\n class=\"mr-1\"\n ></nui-icon>\n </div>\n <div class=\"nui-list-leaf-item__description\">\n <a\n class=\"nui-text-ellipsis\"\n [ngClass]=\"url ? '' : 'not-active'\"\n [attr.target]=\"url ? '_blank' : null\"\n [attr.href]=\"url || null\"\n [innerHTML]=\"label | nuiHighlight: searchTerm\"\n ></a>\n <div\n class=\"nui-text-secondary nui-text-ellipsis\"\n [innerHTML]=\"detailedUrl | nuiHighlight: searchTerm\"\n ></div>\n </div>\n\n <ng-template #statusTpl>{{ status }}</ng-template>\n </div>\n <nui-icon *ngIf=\"canNavigate\" icon=\"caret-right\"></nui-icon>\n</div>\n", styles: [".nui-list-leaf-item{width:100%;display:flex;justify-content:space-between;align-items:center;padding:5px 0}.nui-list-leaf-item__info-container{display:flex;height:40px}.nui-list-leaf-item__icon-container{display:flex;justify-content:center;align-items:center;min-width:30px}.nui-list-leaf-item__description{display:grid;grid-template-rows:1fr 1fr;grid-template-columns:1fr;max-width:100%}a.not-active{text-decoration:none;color:#111}\n"], components: [{ type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], pipes: { "nuiHighlight": i3.HighlightPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
4615
4619
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ListLeafItemComponent, decorators: [{
4616
4620
  type: Component,
4617
4621
  args: [{
@@ -4621,7 +4625,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
4621
4625
  host: { class: "w-100" },
4622
4626
  styleUrls: ["list-leaf-item.component.less"],
4623
4627
  }]
4624
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i2.EventBus, decorators: [{
4628
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i3.EventBus, decorators: [{
4625
4629
  type: Inject,
4626
4630
  args: [PIZZAGNA_EVENT_BUS]
4627
4631
  }] }]; }, propDecorators: { icon: [{
@@ -4663,7 +4667,7 @@ class ListNavigationBarComponent {
4663
4667
  }
4664
4668
  ListNavigationBarComponent.lateLoadKey = "ListNavigationBarComponent";
4665
4669
  /** @nocollapse */ ListNavigationBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ListNavigationBarComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: PIZZAGNA_EVENT_BUS }], target: i0.ɵɵFactoryTarget.Component });
4666
- /** @nocollapse */ ListNavigationBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ListNavigationBarComponent, selector: "nui-navigation-bar", inputs: { navBarConfig: "navBarConfig" }, outputs: { navigated: "navigated" }, ngImport: i0, template: "<div class=\"list-nav-bar\" *ngIf=\"navBarConfig && !navBarConfig?.isRoot\">\n <button\n nui-button\n type=\"button\"\n [isRepeat]=\"true\"\n displayStyle=\"action\"\n icon=\"arrow-left\"\n [disabled]=\"!navBarConfig?.buttons?.back?.disabled\"\n (click)=\"onBack()\"\n ></button>\n\n <button\n nui-button\n type=\"button\"\n [isRepeat]=\"true\"\n displayStyle=\"action\"\n icon=\"overview\"\n (click)=\"onHome()\"\n ></button>\n <div class=\"list-nav-bar__label\">{{ navBarConfig?.label }}</div>\n</div>\n", styles: [".list-nav-bar{width:100%;margin:2px 0;padding:0 15px;display:flex;align-items:center}.list-nav-bar__label{padding-left:5px;color:#1119}\n"], components: [{ type: i2.ButtonComponent, selector: "[nui-button]", inputs: ["ariaLabel", "isRepeat", "iconColor", "size", "displayStyle", "icon", "iconRight", "isBusy", "isEmpty"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
4670
+ /** @nocollapse */ ListNavigationBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ListNavigationBarComponent, selector: "nui-navigation-bar", inputs: { navBarConfig: "navBarConfig" }, outputs: { navigated: "navigated" }, ngImport: i0, template: "<div class=\"list-nav-bar\" *ngIf=\"navBarConfig && !navBarConfig?.isRoot\">\n <button\n nui-button\n type=\"button\"\n [isRepeat]=\"true\"\n displayStyle=\"action\"\n icon=\"arrow-left\"\n [disabled]=\"!navBarConfig?.buttons?.back?.disabled\"\n (click)=\"onBack()\"\n ></button>\n\n <button\n nui-button\n type=\"button\"\n [isRepeat]=\"true\"\n displayStyle=\"action\"\n icon=\"overview\"\n (click)=\"onHome()\"\n ></button>\n <div class=\"list-nav-bar__label\">{{ navBarConfig?.label }}</div>\n</div>\n", styles: [".list-nav-bar{width:100%;margin:2px 0;padding:0 15px;display:flex;align-items:center}.list-nav-bar__label{padding-left:5px;color:#1119}\n"], components: [{ type: i3.ButtonComponent, selector: "[nui-button]", inputs: ["ariaLabel", "isRepeat", "iconColor", "size", "displayStyle", "icon", "iconRight", "isBusy", "isEmpty"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
4667
4671
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ListNavigationBarComponent, decorators: [{
4668
4672
  type: Component,
4669
4673
  args: [{
@@ -4672,7 +4676,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
4672
4676
  styleUrls: ["list-navigation-bar.component.less"],
4673
4677
  changeDetection: ChangeDetectionStrategy.OnPush,
4674
4678
  }]
4675
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i2.EventBus, decorators: [{
4679
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i3.EventBus, decorators: [{
4676
4680
  type: Inject,
4677
4681
  args: [PIZZAGNA_EVENT_BUS]
4678
4682
  }] }]; }, propDecorators: { navBarConfig: [{
@@ -4734,7 +4738,7 @@ class ListWidgetComponent {
4734
4738
  }
4735
4739
  ListWidgetComponent.lateLoadKey = "ListWidgetComponent";
4736
4740
  /** @nocollapse */ ListWidgetComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ListWidgetComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: PIZZAGNA_EVENT_BUS }], target: i0.ɵɵFactoryTarget.Component });
4737
- /** @nocollapse */ ListWidgetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ListWidgetComponent, selector: "nui-list-widget", inputs: { data: "data", configuration: "configuration", elementClass: "elementClass" }, host: { properties: { "class": "this.elementClass" }, styleAttribute: "overflow: scroll" }, usesOnChanges: true, ngImport: i0, template: "<nui-repeat [itemsSource]=\"data\" [repeatItemTemplateRef]=\"repeatItemTemplate\">\n</nui-repeat>\n\n<ng-template #repeatItemTemplate let-item=\"item\">\n <ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n [componentId]=\"configuration.componentType\"\n [componentType]=\"configuration.componentType\"\n [properties]=\"getPropsFor(item)\"\n [outputs]=\"['navigated']\"\n (output)=\"onListItemEvent(item)\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n</ng-template>\n", styles: [""], components: [{ type: i2.RepeatComponent, selector: "nui-repeat", inputs: ["preventRowClick", "dragPreviewClass", "selectionMode", "virtualScroll", "selection", "highlightSelectedItem", "draggable", "reorderable", "paddingSize", "repeatItemTemplateRef", "dragHandleTemplateRef", "dragPreviewTemplateRef", "actionsTemplateRef", "itemSize", "itemConfig", "itemsSource"], outputs: ["draggableChange", "reorderableChange", "itemsReordered", "selectionChange"] }], directives: [{ type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }] });
4741
+ /** @nocollapse */ ListWidgetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ListWidgetComponent, selector: "nui-list-widget", inputs: { data: "data", configuration: "configuration", elementClass: "elementClass" }, host: { properties: { "class": "this.elementClass" }, styleAttribute: "overflow: scroll" }, usesOnChanges: true, ngImport: i0, template: "<nui-repeat [itemsSource]=\"data\" [repeatItemTemplateRef]=\"repeatItemTemplate\">\n</nui-repeat>\n\n<ng-template #repeatItemTemplate let-item=\"item\">\n <ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n [componentId]=\"configuration.componentType\"\n [componentType]=\"configuration.componentType\"\n [properties]=\"getPropsFor(item)\"\n [outputs]=\"['navigated']\"\n (output)=\"onListItemEvent(item)\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n</ng-template>\n", styles: [""], components: [{ type: i3.RepeatComponent, selector: "nui-repeat", inputs: ["preventRowClick", "dragPreviewClass", "selectionMode", "virtualScroll", "selection", "highlightSelectedItem", "draggable", "reorderable", "paddingSize", "repeatItemTemplateRef", "dragHandleTemplateRef", "dragPreviewTemplateRef", "actionsTemplateRef", "itemSize", "itemConfig", "itemsSource"], outputs: ["draggableChange", "reorderableChange", "itemsReordered", "selectionChange"] }], directives: [{ type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }] });
4738
4742
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ListWidgetComponent, decorators: [{
4739
4743
  type: Component,
4740
4744
  args: [{
@@ -4743,7 +4747,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
4743
4747
  styleUrls: ["./list-widget.component.less"],
4744
4748
  host: { style: "overflow: scroll" },
4745
4749
  }]
4746
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.ElementRef }, { type: i2.EventBus, decorators: [{
4750
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.ElementRef }, { type: i3.EventBus, decorators: [{
4747
4751
  type: Inject,
4748
4752
  args: [PIZZAGNA_EVENT_BUS]
4749
4753
  }] }]; }, propDecorators: { data: [{
@@ -4766,12 +4770,12 @@ class ProportionalContentAggregatorsRegistryService extends RegistryService {
4766
4770
  return item.aggregatorType;
4767
4771
  }
4768
4772
  }
4769
- /** @nocollapse */ ProportionalContentAggregatorsRegistryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ProportionalContentAggregatorsRegistryService, deps: [{ token: i2.LoggerService }], target: i0.ɵɵFactoryTarget.Injectable });
4773
+ /** @nocollapse */ ProportionalContentAggregatorsRegistryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ProportionalContentAggregatorsRegistryService, deps: [{ token: i3.LoggerService }], target: i0.ɵɵFactoryTarget.Injectable });
4770
4774
  /** @nocollapse */ ProportionalContentAggregatorsRegistryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ProportionalContentAggregatorsRegistryService, providedIn: "root" });
4771
4775
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ProportionalContentAggregatorsRegistryService, decorators: [{
4772
4776
  type: Injectable,
4773
4777
  args: [{ providedIn: "root" }]
4774
- }], ctorParameters: function () { return [{ type: i2.LoggerService }]; } });
4778
+ }], ctorParameters: function () { return [{ type: i3.LoggerService }]; } });
4775
4779
 
4776
4780
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
4777
4781
 
@@ -4876,7 +4880,7 @@ class ProportionalDonutContentComponent {
4876
4880
  }
4877
4881
  }
4878
4882
  ProportionalDonutContentComponent.lateLoadKey = "ProportionalDonutContentComponent";
4879
- /** @nocollapse */ ProportionalDonutContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ProportionalDonutContentComponent, deps: [{ token: ProportionalContentAggregatorsRegistryService }, { token: ProportionalDonutContentFormattersRegistryService }, { token: i0.ChangeDetectorRef }, { token: i2.LoggerService }], target: i0.ɵɵFactoryTarget.Component });
4883
+ /** @nocollapse */ ProportionalDonutContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ProportionalDonutContentComponent, deps: [{ token: ProportionalContentAggregatorsRegistryService }, { token: ProportionalDonutContentFormattersRegistryService }, { token: i0.ChangeDetectorRef }, { token: i3.LoggerService }], target: i0.ɵɵFactoryTarget.Component });
4880
4884
  /** @nocollapse */ ProportionalDonutContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ProportionalDonutContentComponent, selector: "nui-proportional-donut-content", inputs: { widgetData: "widgetData", donutConfig: "donutConfig", chartAssist: "chartAssist" }, usesOnChanges: true, ngImport: i0, template: "<ng-container\n *ngIf=\"contentFormatter?.componentType\"\n nuiComponentPortal\n [componentType]=\"contentFormatter?.componentType\"\n [properties]=\"contentFormatterProperties\"\n #componentPortal=\"nuiComponentPortal\"\n>\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n</ng-container>\n", styles: [""], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
4881
4885
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ProportionalDonutContentComponent, decorators: [{
4882
4886
  type: Component,
@@ -4886,7 +4890,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
4886
4890
  styleUrls: ["./proportional-donut-content.component.less"],
4887
4891
  changeDetection: ChangeDetectionStrategy.OnPush,
4888
4892
  }]
4889
- }], ctorParameters: function () { return [{ type: ProportionalContentAggregatorsRegistryService }, { type: ProportionalDonutContentFormattersRegistryService }, { type: i0.ChangeDetectorRef }, { type: i2.LoggerService }]; }, propDecorators: { widgetData: [{
4893
+ }], ctorParameters: function () { return [{ type: ProportionalContentAggregatorsRegistryService }, { type: ProportionalDonutContentFormattersRegistryService }, { type: i0.ChangeDetectorRef }, { type: i3.LoggerService }]; }, propDecorators: { widgetData: [{
4890
4894
  type: Input
4891
4895
  }], donutConfig: [{
4892
4896
  type: Input
@@ -5291,8 +5295,8 @@ ProportionalWidgetComponent.lateLoadKey = "ProportionalWidgetComponent";
5291
5295
  ProportionalWidgetComponent.NO_SWITCH_LAYOUT_INTERVAL_SIZE = 20;
5292
5296
  ProportionalWidgetComponent.MAX_ROW_LAYOUT_SIZE = 360;
5293
5297
  ProportionalWidgetComponent.TICK_LABEL_MAX_WIDTH = 75;
5294
- /** @nocollapse */ ProportionalWidgetComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ProportionalWidgetComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.KeyValueDiffers }, { token: PIZZAGNA_EVENT_BUS }, { token: DATA_SOURCE }, { token: i2.LoggerService }, { token: i2.UnitConversionService }], target: i0.ɵɵFactoryTarget.Component });
5295
- /** @nocollapse */ ProportionalWidgetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ProportionalWidgetComponent, selector: "nui-proportional-widget", inputs: { widgetData: "widgetData", configuration: "configuration", elementClass: "elementClass", seriesToIconMap: "seriesToIconMap" }, host: { properties: { "class": "this.elementClass" } }, viewQueries: [{ propertyName: "gridContainer", first: true, predicate: ["gridContainer"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: "<div\n #gridContainer\n class=\"w-100 nui-chart-layout flex-grow-1 p-3\"\n [ngClass]=\"{\n 'prioritize-rows__right': prioritizedGridRows.right,\n 'prioritize-rows__bottom': prioritizedGridRows.bottom,\n 'empty-grid': !(widgetData && widgetData.length > 0 && chartAssist)\n }\"\n>\n <div\n class=\"d-flex chart has-overlay\"\n *ngIf=\"widgetData && widgetData.length > 0 && chartAssist\"\n >\n <nui-chart class=\"w-100\" [chart]=\"chartAssist.chart\"></nui-chart>\n <nui-chart-donut-content\n *ngIf=\"donutContentPlugin\"\n class=\"nui-proportional-widget__chart-donut-content\"\n [plugin]=\"donutContentPlugin\"\n >\n <div\n class=\"h-100 w-100 d-flex justify-content-center align-items-center text-center\"\n >\n <div class=\"d-inline-block\" nuiZoomContent [useZoom]=\"false\">\n <!-- OLD CONFIG HERE -->\n <ng-container\n *ngIf=\"!configuration?.chartOptions?.donutContentConfig\"\n >\n <ng-container\n nuiComponentPortal\n [componentType]=\"\n contentFormatter?.componentType ||\n 'DonutContentRawFormatterComponent'\n \"\n [properties]=\"contentFormatterProperties\"\n #componentPortal2=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal2.portal\"\n (attached)=\"componentPortal2.attached($event)\"\n ></ng-template>\n </ng-container>\n </ng-container>\n\n <!-- NEW CONFIG HERE -->\n <ng-container\n *ngIf=\"configuration?.chartOptions?.donutContentConfig\"\n >\n <nui-proportional-donut-content\n [widgetData]=\"widgetData\"\n [donutConfig]=\"\n configuration?.chartOptions?.donutContentConfig\n \"\n [chartAssist]=\"chartAssist\"\n ></nui-proportional-donut-content>\n </ng-container>\n </div>\n </div>\n </nui-chart-donut-content>\n </div>\n <div\n class=\"w-100 d-flex legend\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'scrollable' : 'legend-bottom'\n ]\"\n *ngIf=\"hasLegend() && chartAssist\"\n >\n <nui-legend\n class=\"w-100 m-auto\"\n [interactive]=\"false\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \"\n >\n <nui-legend-series\n class=\"proportional-chart__legend-series\"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn;\n let i = index\n \"\n [ngClass]=\"\n (prioritizedGridRows.right || prioritizedGridRows.bottom) &&\n 'description-min-width--unset'\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (click)=\"onInteraction(legendSeries)\"\n [class.nui-proportional-widget__legend--interactive]=\"\n interactive\n \"\n >\n <div\n *ngIf=\"\n legendFormatter && legendFormatter.componentType;\n else legendDefaultTile\n \"\n >\n <div description>\n <ng-container\n nuiComponentPortal\n [componentType]=\"legendFormatter.componentType\"\n [properties]=\"{ data: widgetData[i] }\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n </div>\n </div>\n <ng-template #legendDefaultTile>\n <nui-rich-legend-tile\n [value]=\"\n computeLegendTileValue(legendSeries.data[0])\n | nuiDashboardUnitConversion\n \"\n [unitLabel]=\"legendUnitLabel\"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \"\n >\n </nui-rich-legend-tile>\n\n <nui-icon\n legendTransclusion\n *ngIf=\"\n seriesToIconMap && seriesToIconMap[legendSeries.id]\n \"\n class=\"align-items-center\"\n [icon]=\"seriesToIconMap[legendSeries.id]\"\n ></nui-icon>\n\n <div\n description\n class=\"description-container d-flex flex-column nui-text-small justify-content-center\"\n >\n <div\n *ngIf=\"!legendSeries.link\"\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': interactive\n }\"\n >\n {{ legendSeries.name }}\n </div>\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.link\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.name\"\n >\n {{ legendSeries.name }}\n </a>\n </div>\n </ng-template>\n </nui-legend-series>\n </nui-legend>\n </div>\n <div\n *ngIf=\"!widgetData || widgetData.length === 0 || !chartAssist\"\n class=\"mb-3 mt-3 d-flex align-items-center justify-content-center\"\n >\n <nui-image image=\"no-data-to-show\"></nui-image>\n </div>\n</div>\n", styles: [".nui-proportional-widget__chart-donut-content{position:absolute}.nui-proportional-widget__legend--interactive{cursor:pointer!important}.has-overlay{overflow:auto}.nui-chart-layout{grid-template:\"axis-label-left axis-label-right .\" 0fr \"chart chart legend\" minmax(60%,auto) \"axis-label-bottom axis-label-bottom .\" 0fr \"legend-bottom legend-bottom .\" minmax(auto,min-content) / 1fr 1fr auto}.nui-chart-layout .legend-bottom{overflow:auto;align-self:auto;padding-left:0}.prioritize-rows__right .nui-legend-series,.prioritize-rows__bottom .nui-legend-series{max-width:unset;width:100%}.prioritize-rows .legend{justify-self:start}.prioritize-rows__right{grid-template:\"chart chart .\" 60% \"legend legend .\" 40%}.prioritize-rows__bottom{grid-template:\"chart chart .\" 60% \"legend-bottom legend-bottom .\" 40%}.empty-grid{grid-template-columns:1fr;grid-template-rows:1fr}.proportional-chart__legend-series .link.description-primary{color:var(--nui-color-text-link,#0079aa)}\n"], components: [{ type: i2$1.ChartComponent, selector: "nui-chart", inputs: ["chart"] }, { type: i2$1.ChartDonutContentComponent, selector: "nui-chart-donut-content", inputs: ["plugin"] }, { type: ProportionalDonutContentComponent, selector: "nui-proportional-donut-content", inputs: ["widgetData", "donutConfig", "chartAssist"] }, { type: i2$1.LegendComponent, selector: "nui-legend", inputs: ["active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { type: i2$1.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["isSelected", "active", "interactive", "seriesRenderState", "icon", "descriptionPrimary", "descriptionSecondary", "color"], outputs: ["isSelectedChange"] }, { type: i2$1.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "backgroundColor", "value", "color"] }, { type: i2.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i2.ImageComponent, selector: "nui-image", inputs: ["width", "height", "image", "description", "float", "margin", "isWatermark", "autoFill"] }], directives: [{ type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.ZoomContentDirective, selector: "[nuiZoomContent]", inputs: ["zoomRatio", "minZoomDifference", "useZoom", "margin", "minScale", "maxZoom", "minZoom", "maxScale", "scaleIN$", "scaleOUT$"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "nuiDashboardUnitConversion": DashboardUnitConversionPipe } });
5298
+ /** @nocollapse */ ProportionalWidgetComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ProportionalWidgetComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.KeyValueDiffers }, { token: PIZZAGNA_EVENT_BUS }, { token: DATA_SOURCE }, { token: i3.LoggerService }, { token: i3.UnitConversionService }], target: i0.ɵɵFactoryTarget.Component });
5299
+ /** @nocollapse */ ProportionalWidgetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ProportionalWidgetComponent, selector: "nui-proportional-widget", inputs: { widgetData: "widgetData", configuration: "configuration", elementClass: "elementClass", seriesToIconMap: "seriesToIconMap" }, host: { properties: { "class": "this.elementClass" } }, viewQueries: [{ propertyName: "gridContainer", first: true, predicate: ["gridContainer"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: "<div\n #gridContainer\n class=\"w-100 nui-chart-layout flex-grow-1 p-3\"\n [ngClass]=\"{\n 'prioritize-rows__right': prioritizedGridRows.right,\n 'prioritize-rows__bottom': prioritizedGridRows.bottom,\n 'empty-grid': !(widgetData && widgetData.length > 0 && chartAssist)\n }\"\n>\n <div\n class=\"d-flex chart has-overlay\"\n *ngIf=\"widgetData && widgetData.length > 0 && chartAssist\"\n >\n <nui-chart class=\"w-100\" [chart]=\"chartAssist.chart\"></nui-chart>\n <nui-chart-donut-content\n *ngIf=\"donutContentPlugin\"\n class=\"nui-proportional-widget__chart-donut-content\"\n [plugin]=\"donutContentPlugin\"\n >\n <div\n class=\"h-100 w-100 d-flex justify-content-center align-items-center text-center\"\n >\n <div class=\"d-inline-block\" nuiZoomContent [useZoom]=\"false\">\n <!-- OLD CONFIG HERE -->\n <ng-container\n *ngIf=\"!configuration?.chartOptions?.donutContentConfig\"\n >\n <ng-container\n nuiComponentPortal\n [componentType]=\"\n contentFormatter?.componentType ||\n 'DonutContentRawFormatterComponent'\n \"\n [properties]=\"contentFormatterProperties\"\n #componentPortal2=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal2.portal\"\n (attached)=\"componentPortal2.attached($event)\"\n ></ng-template>\n </ng-container>\n </ng-container>\n\n <!-- NEW CONFIG HERE -->\n <ng-container\n *ngIf=\"configuration?.chartOptions?.donutContentConfig\"\n >\n <nui-proportional-donut-content\n [widgetData]=\"widgetData\"\n [donutConfig]=\"\n configuration?.chartOptions?.donutContentConfig\n \"\n [chartAssist]=\"chartAssist\"\n ></nui-proportional-donut-content>\n </ng-container>\n </div>\n </div>\n </nui-chart-donut-content>\n </div>\n <div\n class=\"w-100 d-flex legend\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'scrollable' : 'legend-bottom'\n ]\"\n *ngIf=\"hasLegend() && chartAssist\"\n >\n <nui-legend\n class=\"w-100 m-auto\"\n [interactive]=\"false\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \"\n >\n <nui-legend-series\n class=\"proportional-chart__legend-series\"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn;\n let i = index\n \"\n [ngClass]=\"\n (prioritizedGridRows.right || prioritizedGridRows.bottom) &&\n 'description-min-width--unset'\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (click)=\"onInteraction(legendSeries)\"\n [class.nui-proportional-widget__legend--interactive]=\"\n interactive\n \"\n >\n <div\n *ngIf=\"\n legendFormatter && legendFormatter.componentType;\n else legendDefaultTile\n \"\n >\n <div description>\n <ng-container\n nuiComponentPortal\n [componentType]=\"legendFormatter.componentType\"\n [properties]=\"{ data: widgetData[i] }\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n </div>\n </div>\n <ng-template #legendDefaultTile>\n <nui-rich-legend-tile\n [value]=\"\n computeLegendTileValue(legendSeries.data[0])\n | nuiDashboardUnitConversion\n \"\n [unitLabel]=\"legendUnitLabel\"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \"\n >\n </nui-rich-legend-tile>\n\n <nui-icon\n legendTransclusion\n *ngIf=\"\n seriesToIconMap && seriesToIconMap[legendSeries.id]\n \"\n class=\"align-items-center\"\n [icon]=\"seriesToIconMap[legendSeries.id]\"\n ></nui-icon>\n\n <div\n description\n class=\"description-container d-flex flex-column nui-text-small justify-content-center\"\n >\n <div\n *ngIf=\"!legendSeries.link\"\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': interactive\n }\"\n >\n {{ legendSeries.name }}\n </div>\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.link\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.name\"\n >\n {{ legendSeries.name }}\n </a>\n </div>\n </ng-template>\n </nui-legend-series>\n </nui-legend>\n </div>\n <div\n *ngIf=\"!widgetData || widgetData.length === 0 || !chartAssist\"\n class=\"mb-3 mt-3 d-flex align-items-center justify-content-center\"\n >\n <nui-image image=\"no-data-to-show\"></nui-image>\n </div>\n</div>\n", styles: [".nui-proportional-widget__chart-donut-content{position:absolute}.nui-proportional-widget__legend--interactive{cursor:pointer!important}.has-overlay{overflow:auto}.nui-chart-layout{grid-template:\"axis-label-left axis-label-right .\" 0fr \"chart chart legend\" minmax(60%,auto) \"axis-label-bottom axis-label-bottom .\" 0fr \"legend-bottom legend-bottom .\" minmax(auto,min-content) / 1fr 1fr auto}.nui-chart-layout .legend-bottom{overflow:auto;align-self:auto;padding-left:0}.prioritize-rows__right .nui-legend-series,.prioritize-rows__bottom .nui-legend-series{max-width:unset;width:100%}.prioritize-rows .legend{justify-self:start}.prioritize-rows__right{grid-template:\"chart chart .\" 60% \"legend legend .\" 40%}.prioritize-rows__bottom{grid-template:\"chart chart .\" 60% \"legend-bottom legend-bottom .\" 40%}.empty-grid{grid-template-columns:1fr;grid-template-rows:1fr}.proportional-chart__legend-series .link.description-primary{color:var(--nui-color-text-link,#0079aa)}\n"], components: [{ type: i2.ChartComponent, selector: "nui-chart", inputs: ["chart"] }, { type: i2.ChartDonutContentComponent, selector: "nui-chart-donut-content", inputs: ["plugin"] }, { type: ProportionalDonutContentComponent, selector: "nui-proportional-donut-content", inputs: ["widgetData", "donutConfig", "chartAssist"] }, { type: i2.LegendComponent, selector: "nui-legend", inputs: ["active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { type: i2.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["isSelected", "active", "interactive", "seriesRenderState", "icon", "descriptionPrimary", "descriptionSecondary", "color"], outputs: ["isSelectedChange"] }, { type: i2.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "backgroundColor", "value", "color"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.ImageComponent, selector: "nui-image", inputs: ["width", "height", "image", "description", "float", "margin", "isWatermark", "autoFill"] }], directives: [{ type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.ZoomContentDirective, selector: "[nuiZoomContent]", inputs: ["zoomRatio", "minZoomDifference", "useZoom", "margin", "minScale", "maxZoom", "minZoom", "maxScale", "scaleIN$", "scaleOUT$"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "nuiDashboardUnitConversion": DashboardUnitConversionPipe } });
5296
5300
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ProportionalWidgetComponent, decorators: [{
5297
5301
  type: Component,
5298
5302
  args: [{
@@ -5303,13 +5307,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
5303
5307
  // TODO: uncomment when NUI-4307 is fixed
5304
5308
  // changeDetection: ChangeDetectionStrategy.OnPush,
5305
5309
  }]
5306
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.KeyValueDiffers }, { type: i2.EventBus, decorators: [{
5310
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.KeyValueDiffers }, { type: i3.EventBus, decorators: [{
5307
5311
  type: Inject,
5308
5312
  args: [PIZZAGNA_EVENT_BUS]
5309
5313
  }] }, { type: undefined, decorators: [{
5310
5314
  type: Inject,
5311
5315
  args: [DATA_SOURCE]
5312
- }] }, { type: i2.LoggerService }, { type: i2.UnitConversionService }]; }, propDecorators: { widgetData: [{
5316
+ }] }, { type: i3.LoggerService }, { type: i3.UnitConversionService }]; }, propDecorators: { widgetData: [{
5313
5317
  type: Input
5314
5318
  }], configuration: [{
5315
5319
  type: Input
@@ -5932,8 +5936,8 @@ class TableWidgetComponent {
5932
5936
  }
5933
5937
  }
5934
5938
  TableWidgetComponent.lateLoadKey = "TableWidgetComponent";
5935
- /** @nocollapse */ TableWidgetComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TableWidgetComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: DATA_SOURCE, optional: true }, { token: WidgetConfigurationService, optional: true }, { token: i0.ChangeDetectorRef }, { token: PizzagnaService }, { token: i2.VirtualViewportManager }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: i2.LoggerService }, { token: SearchFeatureAddonService }, { token: VirtualScrollFeatureAddonService }, { token: TableFormatterRegistryService }], target: i0.ɵɵFactoryTarget.Component });
5936
- /** @nocollapse */ TableWidgetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: TableWidgetComponent, selector: "nui-table-widget", inputs: { widgetData: "widgetData", componentId: "componentId", configuration: "configuration", dataFields: "dataFields", totalItems: "totalItems", indentFromTop: "indentFromTop", sortable: "sortable", delayedMousePresenceDetectionEnabled: "delayedMousePresenceDetectionEnabled", range: "range", elementClass: "elementClass" }, host: { properties: { "class.table-widget-fullwidth": "true", "class": "this.elementClass" } }, providers: [SearchFeatureAddonService, VirtualScrollFeatureAddonService], viewQueries: [{ propertyName: "table", first: true, predicate: ["widgetTable"], descendants: true }, { propertyName: "vscrollViewport", first: true, predicate: CdkVirtualScrollViewport, descendants: true }, { propertyName: "tableRows", predicate: TableRowComponent, descendants: true, read: ElementRef }], usesOnChanges: true, ngImport: i0, template: "<div\n class=\"h-100 d-flex justify-content-center align-items-center\"\n *ngIf=\"!shouldDisplayTable()\"\n>\n <nui-image image=\"no-data-to-show\"></nui-image>\n</div>\n<!-- h-100 gets added only when there's data to show to prevent an extra scrollbar when the table is empty -->\n<!-- Using invisible class instead of *ngIf as an non-virtual-scroll breakable way to hide the content. -->\n<div\n class=\"nui-table-widget d-flex flex-column\"\n [ngClass]=\"shouldDisplayTable() ? 'h-100' : 'invisible'\"\n>\n <div class=\"mr-2 mb-2 flex-row\" *ngIf=\"isSearchEnabled\">\n <nui-search\n class=\"unlimited-width d-flex justify-content-end flex-grow-1\"\n [value]=\"searchValue\"\n (inputChange)=\"onSearchInputChanged($event)\"\n (cancel)=\"onSearchInputChanged($event)\"\n >\n </nui-search>\n </div>\n <div\n class=\"flex-row h-100 nui-table-widget-container\"\n [nuiDelayedMousePresenceDetection]=\"\n delayedMousePresenceDetectionEnabled\n \"\n [delay]=\"configuration.scrollActivationDelayMs\"\n [mousePresentSubject]=\"mousePresent$\"\n >\n <!-- Note: Using inline style to let tableStickyHeader pick the actual height and update it with header height when it is detached -->\n <cdk-virtual-scroll-viewport\n class=\"calc-height\"\n style=\"height: calc(100% - 2px)\"\n tableStickyHeader\n [itemSize]=\"rowHeight\"\n [ngClass]=\"{\n 'virtual-scroll-disabled':\n (mousePresent$ | async) === false &&\n delayedMousePresenceDetectionEnabled\n }\"\n >\n <table\n class=\"nui-table-widget__main\"\n nui-table\n [reorderable]=\"configuration?.reorderable\"\n [sortable]=\"sortable\"\n [totalItems]=\"totalItems\"\n [dataSource]=\"virtualScrollAddon.visibleItems\"\n [sortedColumn]=\"sortedColumn\"\n (sortOrderChanged)=\"onSortOrderChanged($event)\"\n [trackBy]=\"dataTrackBy\"\n #widgetTable\n >\n <ng-container\n nuiColumnDef=\"{{ column.id }}\"\n *ngFor=\"let column of columns; trackBy: columnTrackBy\"\n >\n <th\n nui-header-cell\n [isColumnSortingDisabled]=\"!column.sortable\"\n *nuiHeaderCellDef\n [style.width.px]=\"columnsWidthMap.get(column.id)\"\n [style.max-width.px]=\"columnsWidthMap.get(column.id)\"\n [style.min-width.px]=\"columnsWidthMap.get(column.id)\"\n [title]=\"column.label\"\n [tooltipText]=\"\n headerTooltipsEnabled ? column.label : undefined\n \"\n [alignment]=\"getColumnAlignment(column)\"\n >\n {{ column.label }}\n </th>\n <ng-container>\n <td\n nui-cell\n *nuiCellDef=\"let element\"\n [style.width.px]=\"columnsWidthMap.get(column.id)\"\n [style.max-width.px]=\"\n columnsWidthMap.get(column.id)\n \"\n [style.min-width.px]=\"\n columnsWidthMap.get(column.id)\n \"\n [alignment]=\"getColumnAlignment(column)\"\n >\n <ng-container\n nuiComponentPortal\n componentId=\"formatter\"\n *ngIf=\"element[column.id] && column.formatter\"\n [componentType]=\"\n column.formatter?.componentType\n \"\n [properties]=\"element[column.id]\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"\n componentPortal.attached($event)\n \"\n ></ng-template>\n </ng-container>\n </td>\n </ng-container>\n </ng-container>\n <tr nui-header-row *nuiHeaderRowDef=\"headers\"></tr>\n <ng-template\n nuiRowDef\n cdkVirtualFor\n let-row\n [nuiRowDefColumns]=\"headers\"\n [cdkVirtualForOf]=\"tableData\"\n [cdkVirtualForTrackBy]=\"dataTrackBy\"\n >\n <tr\n nui-row\n (click)=\"onInteraction(row, $event)\"\n [attr.role]=\"interactive ? 'button' : ''\"\n density=\"tiny\"\n ></tr>\n </ng-template>\n </table>\n </cdk-virtual-scroll-viewport>\n </div>\n</div>\n", styles: [".nui-table-widget{overflow:auto;width:100%}.nui-table-widget .display-contents{display:contents}.nui-table-widget__main{flex:1 1 auto}.nui-table-widget__paginator{margin-top:10px}.nui-table-widget__overflow{overflow-y:auto}.nui-table-widget .nui-table-widget-container .virtual-scroll-disabled.cdk-virtual-scroll-viewport{overflow:hidden!important}:host-context(.mobile) .calc-height{min-height:200px}:host.table-widget-fullwidth{width:calc(100% - 10px)}.invisible{height:0}@-moz-document url-prefix(){.nui-table-widget-container{margin-right:10px}}\n"], components: [{ type: i2.ImageComponent, selector: "nui-image", inputs: ["width", "height", "image", "description", "float", "margin", "isWatermark", "autoFill"] }, { type: i2.SearchComponent, selector: "nui-search", inputs: ["value", "captureFocus", "name", "placeholder"], outputs: ["cancel", "focusChange", "inputChange", "search"] }, { type: i7.CdkVirtualScrollViewport, selector: "cdk-virtual-scroll-viewport", inputs: ["orientation", "appendOnly"], outputs: ["scrolledIndexChange"] }, { type: i2.TableComponent, selector: "nui-table, table[nui-table]", inputs: ["reorderable", "sortable", "resizable", "selectable", "dataSource", "totalItems", "selection", "sortedColumn"], outputs: ["columnsOrderChange", "sortOrderChanged", "selectionChange"], exportAs: ["nuiTable"] }, { type: i2.TableHeaderCellComponent, selector: "nui-header-cell, th[nui-header-cell]", inputs: ["isColumnSortingDisabled", "alignment", "tooltipText"] }, { type: i2.TableHeaderRowComponent, selector: "nui-header-row, tr[nui-header-row]", inputs: ["density"], exportAs: ["nuiHeaderRow"] }, { type: i2.TableRowComponent, selector: "nui-row, tr[nui-row]", inputs: ["density", "clickableRow", "clickableRowConfig", "rowObject"], exportAs: ["nuiRow"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: DelayedMousePresenceDetectionDirective, selector: "[nuiDelayedMousePresenceDetection]", inputs: ["nuiDelayedMousePresenceDetection", "mousePresentSubject", "delay"] }, { type: i2.TableStickyHeaderDirective, selector: "cdk-virtual-scroll-viewport[tableStickyHeader]", inputs: ["tableStickyHeader"] }, { type: i7.CdkFixedSizeVirtualScroll, selector: "cdk-virtual-scroll-viewport[itemSize]", inputs: ["itemSize", "minBufferPx", "maxBufferPx"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.TableColumnDefDirective, selector: "[nuiColumnDef]", inputs: ["nuiColumnDef", "type", "columnWidth"] }, { type: i2.TableHeaderCellDefDirective, selector: "[nuiHeaderCellDef]" }, { type: i2.TableCellDefDirective, selector: "[nuiCellDef]" }, { type: i2.TableCellDirective, selector: "nui-cell, td[nui-cell]", inputs: ["tooltipText", "alignment"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { type: i2.TableHeaderRowDefDirective, selector: "[nuiHeaderRowDef]", inputs: ["nuiHeaderRowDef", "nuiHeaderRowDefSticky"] }, { type: i2.TableRowDefDirective, selector: "[nuiRowDef]", inputs: ["nuiRowDefColumns", "nuiRowDefWhen"] }, { type: i7.CdkVirtualForOf, selector: "[cdkVirtualFor][cdkVirtualForOf]", inputs: ["cdkVirtualForOf", "cdkVirtualForTrackBy", "cdkVirtualForTemplate", "cdkVirtualForTemplateCacheSize"] }], pipes: { "async": i4.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
5939
+ /** @nocollapse */ TableWidgetComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TableWidgetComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: DATA_SOURCE, optional: true }, { token: WidgetConfigurationService, optional: true }, { token: i0.ChangeDetectorRef }, { token: PizzagnaService }, { token: i3.VirtualViewportManager }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: i3.LoggerService }, { token: SearchFeatureAddonService }, { token: VirtualScrollFeatureAddonService }, { token: TableFormatterRegistryService }], target: i0.ɵɵFactoryTarget.Component });
5940
+ /** @nocollapse */ TableWidgetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: TableWidgetComponent, selector: "nui-table-widget", inputs: { widgetData: "widgetData", componentId: "componentId", configuration: "configuration", dataFields: "dataFields", totalItems: "totalItems", indentFromTop: "indentFromTop", sortable: "sortable", delayedMousePresenceDetectionEnabled: "delayedMousePresenceDetectionEnabled", range: "range", elementClass: "elementClass" }, host: { properties: { "class.table-widget-fullwidth": "true", "class": "this.elementClass" } }, providers: [SearchFeatureAddonService, VirtualScrollFeatureAddonService], viewQueries: [{ propertyName: "table", first: true, predicate: ["widgetTable"], descendants: true }, { propertyName: "vscrollViewport", first: true, predicate: CdkVirtualScrollViewport, descendants: true }, { propertyName: "tableRows", predicate: TableRowComponent, descendants: true, read: ElementRef }], usesOnChanges: true, ngImport: i0, template: "<div\n class=\"h-100 d-flex justify-content-center align-items-center\"\n *ngIf=\"!shouldDisplayTable()\"\n>\n <nui-image image=\"no-data-to-show\"></nui-image>\n</div>\n<!-- h-100 gets added only when there's data to show to prevent an extra scrollbar when the table is empty -->\n<!-- Using invisible class instead of *ngIf as an non-virtual-scroll breakable way to hide the content. -->\n<div\n class=\"nui-table-widget d-flex flex-column\"\n [ngClass]=\"shouldDisplayTable() ? 'h-100' : 'invisible'\"\n>\n <div class=\"mr-2 mb-2 flex-row\" *ngIf=\"isSearchEnabled\">\n <nui-search\n class=\"unlimited-width d-flex justify-content-end flex-grow-1\"\n [value]=\"searchValue\"\n (inputChange)=\"onSearchInputChanged($event)\"\n (cancel)=\"onSearchInputChanged($event)\"\n >\n </nui-search>\n </div>\n <div\n class=\"flex-row h-100 nui-table-widget-container\"\n [nuiDelayedMousePresenceDetection]=\"\n delayedMousePresenceDetectionEnabled\n \"\n [delay]=\"configuration.scrollActivationDelayMs\"\n [mousePresentSubject]=\"mousePresent$\"\n >\n <!-- Note: Using inline style to let tableStickyHeader pick the actual height and update it with header height when it is detached -->\n <cdk-virtual-scroll-viewport\n class=\"calc-height\"\n style=\"height: calc(100% - 2px)\"\n tableStickyHeader\n [itemSize]=\"rowHeight\"\n [ngClass]=\"{\n 'virtual-scroll-disabled':\n (mousePresent$ | async) === false &&\n delayedMousePresenceDetectionEnabled\n }\"\n >\n <table\n class=\"nui-table-widget__main\"\n nui-table\n [reorderable]=\"configuration?.reorderable\"\n [sortable]=\"sortable\"\n [totalItems]=\"totalItems\"\n [dataSource]=\"virtualScrollAddon.visibleItems\"\n [sortedColumn]=\"sortedColumn\"\n (sortOrderChanged)=\"onSortOrderChanged($event)\"\n [trackBy]=\"dataTrackBy\"\n #widgetTable\n >\n <ng-container\n nuiColumnDef=\"{{ column.id }}\"\n *ngFor=\"let column of columns; trackBy: columnTrackBy\"\n >\n <th\n nui-header-cell\n [isColumnSortingDisabled]=\"!column.sortable\"\n *nuiHeaderCellDef\n [style.width.px]=\"columnsWidthMap.get(column.id)\"\n [style.max-width.px]=\"columnsWidthMap.get(column.id)\"\n [style.min-width.px]=\"columnsWidthMap.get(column.id)\"\n [title]=\"column.label\"\n [tooltipText]=\"\n headerTooltipsEnabled ? column.label : undefined\n \"\n [alignment]=\"getColumnAlignment(column)\"\n >\n {{ column.label }}\n </th>\n <ng-container>\n <td\n nui-cell\n *nuiCellDef=\"let element\"\n [style.width.px]=\"columnsWidthMap.get(column.id)\"\n [style.max-width.px]=\"\n columnsWidthMap.get(column.id)\n \"\n [style.min-width.px]=\"\n columnsWidthMap.get(column.id)\n \"\n [alignment]=\"getColumnAlignment(column)\"\n >\n <ng-container\n nuiComponentPortal\n componentId=\"formatter\"\n *ngIf=\"element[column.id] && column.formatter\"\n [componentType]=\"\n column.formatter?.componentType\n \"\n [properties]=\"element[column.id]\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"\n componentPortal.attached($event)\n \"\n ></ng-template>\n </ng-container>\n </td>\n </ng-container>\n </ng-container>\n <tr nui-header-row *nuiHeaderRowDef=\"headers\"></tr>\n <ng-template\n nuiRowDef\n cdkVirtualFor\n let-row\n [nuiRowDefColumns]=\"headers\"\n [cdkVirtualForOf]=\"tableData\"\n [cdkVirtualForTrackBy]=\"dataTrackBy\"\n >\n <tr\n nui-row\n (click)=\"onInteraction(row, $event)\"\n [attr.role]=\"interactive ? 'button' : ''\"\n density=\"tiny\"\n ></tr>\n </ng-template>\n </table>\n </cdk-virtual-scroll-viewport>\n </div>\n</div>\n", styles: [".nui-table-widget{overflow:auto;width:100%}.nui-table-widget .display-contents{display:contents}.nui-table-widget__main{flex:1 1 auto}.nui-table-widget__paginator{margin-top:10px}.nui-table-widget__overflow{overflow-y:auto}.nui-table-widget .nui-table-widget-container .virtual-scroll-disabled.cdk-virtual-scroll-viewport{overflow:hidden!important}:host-context(.mobile) .calc-height{min-height:200px}:host.table-widget-fullwidth{width:calc(100% - 10px)}.invisible{height:0}@-moz-document url-prefix(){.nui-table-widget-container{margin-right:10px}}\n"], components: [{ type: i3.ImageComponent, selector: "nui-image", inputs: ["width", "height", "image", "description", "float", "margin", "isWatermark", "autoFill"] }, { type: i3.SearchComponent, selector: "nui-search", inputs: ["value", "captureFocus", "name", "placeholder"], outputs: ["cancel", "focusChange", "inputChange", "search"] }, { type: i7.CdkVirtualScrollViewport, selector: "cdk-virtual-scroll-viewport", inputs: ["orientation", "appendOnly"], outputs: ["scrolledIndexChange"] }, { type: i3.TableComponent, selector: "nui-table, table[nui-table]", inputs: ["reorderable", "sortable", "resizable", "selectable", "dataSource", "totalItems", "selection", "sortedColumn"], outputs: ["columnsOrderChange", "sortOrderChanged", "selectionChange"], exportAs: ["nuiTable"] }, { type: i3.TableHeaderCellComponent, selector: "nui-header-cell, th[nui-header-cell]", inputs: ["isColumnSortingDisabled", "alignment", "tooltipText"] }, { type: i3.TableHeaderRowComponent, selector: "nui-header-row, tr[nui-header-row]", inputs: ["density"], exportAs: ["nuiHeaderRow"] }, { type: i3.TableRowComponent, selector: "nui-row, tr[nui-row]", inputs: ["density", "clickableRow", "clickableRowConfig", "rowObject"], exportAs: ["nuiRow"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: DelayedMousePresenceDetectionDirective, selector: "[nuiDelayedMousePresenceDetection]", inputs: ["nuiDelayedMousePresenceDetection", "mousePresentSubject", "delay"] }, { type: i3.TableStickyHeaderDirective, selector: "cdk-virtual-scroll-viewport[tableStickyHeader]", inputs: ["tableStickyHeader"] }, { type: i7.CdkFixedSizeVirtualScroll, selector: "cdk-virtual-scroll-viewport[itemSize]", inputs: ["itemSize", "minBufferPx", "maxBufferPx"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.TableColumnDefDirective, selector: "[nuiColumnDef]", inputs: ["nuiColumnDef", "type", "columnWidth"] }, { type: i3.TableHeaderCellDefDirective, selector: "[nuiHeaderCellDef]" }, { type: i3.TableCellDefDirective, selector: "[nuiCellDef]" }, { type: i3.TableCellDirective, selector: "nui-cell, td[nui-cell]", inputs: ["tooltipText", "alignment"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { type: i3.TableHeaderRowDefDirective, selector: "[nuiHeaderRowDef]", inputs: ["nuiHeaderRowDef", "nuiHeaderRowDefSticky"] }, { type: i3.TableRowDefDirective, selector: "[nuiRowDef]", inputs: ["nuiRowDefColumns", "nuiRowDefWhen"] }, { type: i7.CdkVirtualForOf, selector: "[cdkVirtualFor][cdkVirtualForOf]", inputs: ["cdkVirtualForOf", "cdkVirtualForTrackBy", "cdkVirtualForTemplate", "cdkVirtualForTemplateCacheSize"] }], pipes: { "async": i4.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
5937
5941
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TableWidgetComponent, decorators: [{
5938
5942
  type: Component,
5939
5943
  args: [{
@@ -5948,7 +5952,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
5948
5952
  "[class.table-widget-fullwidth]": "true",
5949
5953
  },
5950
5954
  }]
5951
- }], ctorParameters: function () { return [{ type: i2.EventBus, decorators: [{
5955
+ }], ctorParameters: function () { return [{ type: i3.EventBus, decorators: [{
5952
5956
  type: Inject,
5953
5957
  args: [PIZZAGNA_EVENT_BUS]
5954
5958
  }] }, { type: undefined, decorators: [{
@@ -5958,7 +5962,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
5958
5962
  args: [DATA_SOURCE]
5959
5963
  }] }, { type: WidgetConfigurationService, decorators: [{
5960
5964
  type: Optional
5961
- }] }, { type: i0.ChangeDetectorRef }, { type: PizzagnaService }, { type: i2.VirtualViewportManager }, { type: i0.NgZone }, { type: i0.ElementRef }, { type: i2.LoggerService }, { type: SearchFeatureAddonService }, { type: VirtualScrollFeatureAddonService }, { type: TableFormatterRegistryService }]; }, propDecorators: { widgetData: [{
5965
+ }] }, { type: i0.ChangeDetectorRef }, { type: PizzagnaService }, { type: i3.VirtualViewportManager }, { type: i0.NgZone }, { type: i0.ElementRef }, { type: i3.LoggerService }, { type: SearchFeatureAddonService }, { type: VirtualScrollFeatureAddonService }, { type: TableFormatterRegistryService }]; }, propDecorators: { widgetData: [{
5962
5966
  type: Input
5963
5967
  }], componentId: [{
5964
5968
  type: Input
@@ -6094,8 +6098,8 @@ class TimeframeSelectionComponent {
6094
6098
  }
6095
6099
  }
6096
6100
  TimeframeSelectionComponent.lateLoadKey = "TimeframeSelectionComponent";
6097
- /** @nocollapse */ TimeframeSelectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TimeframeSelectionComponent, deps: [{ token: PizzagnaService }, { token: i2.TimeframeService }, { token: TimeframeSerializationService }, { token: i2.HistoryStorage }, { token: DATA_SOURCE, optional: true }, { token: PIZZAGNA_EVENT_BUS }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
6098
- /** @nocollapse */ TimeframeSelectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: TimeframeSelectionComponent, selector: "nui-timeframe-selection", inputs: { componentId: "componentId", minDate: "minDate", maxDate: "maxDate", timeframe: "timeframe" }, host: { properties: { "class": "this.elementClass" } }, providers: [HistoryStorage], usesOnChanges: true, ngImport: i0, template: "<nui-time-frame-bar\n [minDate]=\"minDateAsMoment\"\n [maxDate]=\"maxDateAsMoment\"\n [timeFrame]=\"currentTimeframe\"\n (timeFrameChange)=\"onTimeframeChange(history.restart($event))\"\n [historyIndex]=\"history.index\"\n (undo)=\"onTimeframeChange(history.undo())\"\n (clear)=\"onTimeframeChange(history.restart())\"\n>\n <!-- content for default projection slot -->\n <nui-icon icon=\"calendar\" class=\"pr-3\"></nui-icon>\n {{ currentTimeframe | timeFrame }}\n\n <!-- content for time frame selection projection slot -->\n <nui-quick-picker\n [presets]=\"timeframeService.currentPresets\"\n timeFrameSelection\n >\n <nui-time-frame-picker></nui-time-frame-picker>\n </nui-quick-picker>\n</nui-time-frame-bar>\n", styles: [":host{border-top:1px solid;border-top-color:var(--nui-color-line-default,#d9d9d9);border-bottom:1px solid;border-bottom-color:var(--nui-color-line-default,#d9d9d9)}\n"], components: [{ type: i2.TimeFrameBarComponent, selector: "nui-time-frame-bar", inputs: ["timeFrame", "historyIndex", "minDate", "maxDate"], outputs: ["timeFrameChange", "undo", "clear"] }, { type: i2.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i2.QuickPickerComponent, selector: "nui-quick-picker", inputs: ["presetsTitle", "presets", "pickerTitle", "selectedPreset", "presetKeysOrder"], outputs: ["presetSelected"] }, { type: i2.TimeFramePickerComponent, selector: "nui-time-frame-picker", inputs: ["minDate", "maxDate", "startModel", "appendToBody"], outputs: ["changed"] }], pipes: { "timeFrame": i2.TimeFrameFormatPipe } });
6101
+ /** @nocollapse */ TimeframeSelectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TimeframeSelectionComponent, deps: [{ token: PizzagnaService }, { token: i3.TimeframeService }, { token: TimeframeSerializationService }, { token: i3.HistoryStorage }, { token: DATA_SOURCE, optional: true }, { token: PIZZAGNA_EVENT_BUS }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
6102
+ /** @nocollapse */ TimeframeSelectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: TimeframeSelectionComponent, selector: "nui-timeframe-selection", inputs: { componentId: "componentId", minDate: "minDate", maxDate: "maxDate", timeframe: "timeframe" }, host: { properties: { "class": "this.elementClass" } }, providers: [HistoryStorage], usesOnChanges: true, ngImport: i0, template: "<nui-time-frame-bar\n [minDate]=\"minDateAsMoment\"\n [maxDate]=\"maxDateAsMoment\"\n [timeFrame]=\"currentTimeframe\"\n (timeFrameChange)=\"onTimeframeChange(history.restart($event))\"\n [historyIndex]=\"history.index\"\n (undo)=\"onTimeframeChange(history.undo())\"\n (clear)=\"onTimeframeChange(history.restart())\"\n>\n <!-- content for default projection slot -->\n <nui-icon icon=\"calendar\" class=\"pr-3\"></nui-icon>\n {{ currentTimeframe | timeFrame }}\n\n <!-- content for time frame selection projection slot -->\n <nui-quick-picker\n [presets]=\"timeframeService.currentPresets\"\n timeFrameSelection\n >\n <nui-time-frame-picker></nui-time-frame-picker>\n </nui-quick-picker>\n</nui-time-frame-bar>\n", styles: [":host{border-top:1px solid;border-top-color:var(--nui-color-line-default,#d9d9d9);border-bottom:1px solid;border-bottom-color:var(--nui-color-line-default,#d9d9d9)}\n"], components: [{ type: i3.TimeFrameBarComponent, selector: "nui-time-frame-bar", inputs: ["timeFrame", "historyIndex", "minDate", "maxDate"], outputs: ["timeFrameChange", "undo", "clear"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.QuickPickerComponent, selector: "nui-quick-picker", inputs: ["presetsTitle", "presets", "pickerTitle", "selectedPreset", "presetKeysOrder"], outputs: ["presetSelected"] }, { type: i3.TimeFramePickerComponent, selector: "nui-time-frame-picker", inputs: ["minDate", "maxDate", "startModel", "appendToBody"], outputs: ["changed"] }], pipes: { "timeFrame": i3.TimeFrameFormatPipe } });
6099
6103
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TimeframeSelectionComponent, decorators: [{
6100
6104
  type: Component,
6101
6105
  args: [{
@@ -6104,12 +6108,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
6104
6108
  styleUrls: ["./timeframe-selection.component.less"],
6105
6109
  providers: [HistoryStorage],
6106
6110
  }]
6107
- }], ctorParameters: function () { return [{ type: PizzagnaService }, { type: i2.TimeframeService }, { type: TimeframeSerializationService }, { type: i2.HistoryStorage }, { type: undefined, decorators: [{
6111
+ }], ctorParameters: function () { return [{ type: PizzagnaService }, { type: i3.TimeframeService }, { type: TimeframeSerializationService }, { type: i3.HistoryStorage }, { type: undefined, decorators: [{
6108
6112
  type: Optional
6109
6113
  }, {
6110
6114
  type: Inject,
6111
6115
  args: [DATA_SOURCE]
6112
- }] }, { type: i2.EventBus, decorators: [{
6116
+ }] }, { type: i3.EventBus, decorators: [{
6113
6117
  type: Inject,
6114
6118
  args: [PIZZAGNA_EVENT_BUS]
6115
6119
  }] }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { componentId: [{
@@ -6171,6 +6175,40 @@ var TimeseriesChartPreset;
6171
6175
  TimeseriesChartPreset["StackedBar"] = "stackedBar";
6172
6176
  TimeseriesChartPreset["StatusBar"] = "statusBar";
6173
6177
  })(TimeseriesChartPreset || (TimeseriesChartPreset = {}));
6178
+ var TimeseriesTransformer;
6179
+ (function (TimeseriesTransformer) {
6180
+ TimeseriesTransformer["None"] = "none";
6181
+ TimeseriesTransformer["Normalize"] = "normalize";
6182
+ TimeseriesTransformer["ChangePoint"] = "changePoint";
6183
+ TimeseriesTransformer["Difference"] = "difference";
6184
+ TimeseriesTransformer["Linear"] = "linear";
6185
+ TimeseriesTransformer["PercentileStd"] = "percentileStd";
6186
+ TimeseriesTransformer["Smoothing"] = "smoothing";
6187
+ TimeseriesTransformer["LoessStandardize"] = "loessStandardize";
6188
+ TimeseriesTransformer["Standardize"] = "standardize";
6189
+ TimeseriesTransformer["FloatingAverage"] = "floatingAverage";
6190
+ })(TimeseriesTransformer || (TimeseriesTransformer = {}));
6191
+
6192
+ // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
6193
+ const intlFormatOptions = {
6194
+ year: "numeric",
6195
+ month: "2-digit",
6196
+ day: "2-digit",
6197
+ hour: "2-digit",
6198
+ minute: "2-digit",
6199
+ };
6200
+ const intlFormat = (date, options) => new Intl.DateTimeFormat(moment.locale(), options).format(date);
6201
+ /**
6202
+ * Formatter for timeserie label dates
6203
+ */
6204
+ const timeSeriesDatetimeFormatter = (date) => {
6205
+ const dateFormatted = intlFormat(date, intlFormatOptions);
6206
+ const dateSplitted = dateFormatted.split(",");
6207
+ if (dateSplitted.length !== 2) {
6208
+ throw new Error("Invalid timeseries date time format.");
6209
+ }
6210
+ return `${dateSplitted[0]} ${dateSplitted[1]}`;
6211
+ };
6174
6212
 
6175
6213
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
6176
6214
  /**
@@ -6186,16 +6224,22 @@ class TimeseriesScalesService {
6186
6224
  *
6187
6225
  * @param scaleConfig
6188
6226
  */
6189
- getScale(scaleConfig, units) {
6227
+ getScale(scaleConfig, units, widgetConfig) {
6190
6228
  let scale;
6191
6229
  switch (scaleConfig.type) {
6192
6230
  case TimeseriesScaleType.Time: {
6193
6231
  scale = new TimeScale();
6232
+ scale.isTimeseriesScale = true;
6233
+ scale.formatters.title = timeSeriesDatetimeFormatter;
6194
6234
  break;
6195
6235
  }
6196
6236
  case TimeseriesScaleType.Linear: {
6197
6237
  scale = new LinearScale();
6198
- scale.formatters.tick = (value) => this.unitConversionPipe.transform(value, units, UnitBase.Standard);
6238
+ scale.isTimeseriesScale = true;
6239
+ scale.formatters.tick = (value, isLabelFormatter) => {
6240
+ var _a, _b;
6241
+ return this.unitConversionPipe.transform(value, (_b = (_a = scaleConfig.properties) === null || _a === void 0 ? void 0 : _a.axisUnits) !== null && _b !== void 0 ? _b : units, UnitBase.Standard);
6242
+ };
6199
6243
  break;
6200
6244
  }
6201
6245
  case TimeseriesScaleType.TimeInterval: {
@@ -6203,7 +6247,7 @@ class TimeseriesScalesService {
6203
6247
  break;
6204
6248
  }
6205
6249
  }
6206
- this.updateConfiguration(scale, scaleConfig);
6250
+ this.updateConfiguration(scale, scaleConfig, widgetConfig);
6207
6251
  return scale;
6208
6252
  }
6209
6253
  /**
@@ -6212,25 +6256,99 @@ class TimeseriesScalesService {
6212
6256
  * @param scale
6213
6257
  * @param scaleConfig
6214
6258
  */
6215
- updateConfiguration(scale, scaleConfig) {
6216
- var _a;
6217
- if (scaleConfig.type === TimeseriesScaleType.TimeInterval &&
6218
- scale instanceof TimeIntervalScale) {
6219
- const interval = (_a = scaleConfig.properties) === null || _a === void 0 ? void 0 : _a.interval;
6220
- if (typeof interval === "number") {
6221
- if (interval <= 0) {
6222
- throw new Error("Interval value must be greater than zero.");
6259
+ updateConfiguration(scale, scaleConfig, widgetConfig) {
6260
+ var _a, _b, _c, _d, _e, _f;
6261
+ switch (scaleConfig.type) {
6262
+ case TimeseriesScaleType.Time: {
6263
+ const interval = (_a = scaleConfig.properties) === null || _a === void 0 ? void 0 : _a.timeInterval;
6264
+ if ((interval === null || interval === void 0 ? void 0 : interval.startDatetime) && (interval === null || interval === void 0 ? void 0 : interval.endDatetime)) {
6265
+ scale.fixDomain([
6266
+ interval.startDatetime,
6267
+ interval.endDatetime,
6268
+ ]);
6223
6269
  }
6224
- scale.interval(duration(interval, "seconds"));
6270
+ break;
6271
+ }
6272
+ case TimeseriesScaleType.TimeInterval: {
6273
+ const interval = (_b = scaleConfig.properties) === null || _b === void 0 ? void 0 : _b.interval;
6274
+ if (typeof interval === "number") {
6275
+ if (interval <= 0) {
6276
+ throw new Error("Interval value must be greater than zero.");
6277
+ }
6278
+ if (scale instanceof TimeIntervalScale) {
6279
+ scale.interval(duration(interval, "seconds"));
6280
+ }
6281
+ }
6282
+ break;
6283
+ }
6284
+ case TimeseriesScaleType.Linear: {
6285
+ if ((_c = scaleConfig.properties) === null || _c === void 0 ? void 0 : _c.axisUnits) {
6286
+ scale.scaleUnits = scaleConfig.properties.axisUnits;
6287
+ }
6288
+ if ((widgetConfig === null || widgetConfig === void 0 ? void 0 : widgetConfig.preset) === TimeseriesChartPreset.StatusBar ||
6289
+ (widgetConfig === null || widgetConfig === void 0 ? void 0 : widgetConfig.preset) === TimeseriesChartPreset.StackedArea) {
6290
+ return;
6291
+ }
6292
+ if (((_d = scaleConfig.properties) === null || _d === void 0 ? void 0 : _d.axisUnits) === "percent" &&
6293
+ scale.setFixDomainValues) {
6294
+ scale.setFixDomainValues([0, 25, 50, 75, 100]);
6295
+ }
6296
+ if (((_e = scaleConfig.properties) === null || _e === void 0 ? void 0 : _e.axisUnits) !== "percent" &&
6297
+ ((_f = scaleConfig.properties) === null || _f === void 0 ? void 0 : _f.domain) &&
6298
+ scale.setFixDomainValues) {
6299
+ const domainAdjusted = (widgetConfig === null || widgetConfig === void 0 ? void 0 : widgetConfig.preset) ===
6300
+ TimeseriesChartPreset.StackedBar
6301
+ ? this.getStackedBarScaleDomain(scaleConfig.properties.domain)
6302
+ : this.getLineScaleDomain(scaleConfig.properties.domain);
6303
+ scale.setFixDomainValues(domainAdjusted);
6304
+ }
6305
+ break;
6225
6306
  }
6226
6307
  }
6227
6308
  }
6309
+ getStackedBarScaleDomain({ min, max, }) {
6310
+ if (max === 0 || max % 4 > 0) {
6311
+ max = max + 4 - (max % 4);
6312
+ }
6313
+ const increment = Math.floor((max - min) / 4);
6314
+ return [
6315
+ min,
6316
+ min + increment,
6317
+ min + 2 * increment,
6318
+ max - increment,
6319
+ max,
6320
+ ];
6321
+ }
6322
+ getLineScaleDomain({ min, max, }) {
6323
+ if (min > max) {
6324
+ const tmp = min;
6325
+ min = max;
6326
+ max = tmp;
6327
+ }
6328
+ const extentRange = Math.abs((max - min) / ((max + min) / 2));
6329
+ // for small domain ranges increase domain so that spikes are not exaggerated
6330
+ if (extentRange < 0.5) {
6331
+ min = min - Math.abs(min) * 0.5;
6332
+ max = max + Math.abs(max) * 0.5;
6333
+ }
6334
+ // handles zero case
6335
+ if (min === 0 && max === 0) {
6336
+ min = -1;
6337
+ max = 1;
6338
+ }
6339
+ // special case for real small number since not using si prefix anymore
6340
+ if (Math.abs(max - min) < 0.04) {
6341
+ max += 0.04;
6342
+ }
6343
+ const point = (max - min) / 4;
6344
+ return [min, min + point, min + 2 * point, max - point, max];
6345
+ }
6228
6346
  }
6229
- /** @nocollapse */ TimeseriesScalesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TimeseriesScalesService, deps: [{ token: i2.UnitConversionService }], target: i0.ɵɵFactoryTarget.Injectable });
6347
+ /** @nocollapse */ TimeseriesScalesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TimeseriesScalesService, deps: [{ token: i3.UnitConversionService }], target: i0.ɵɵFactoryTarget.Injectable });
6230
6348
  /** @nocollapse */ TimeseriesScalesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TimeseriesScalesService });
6231
6349
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TimeseriesScalesService, decorators: [{
6232
6350
  type: Injectable
6233
- }], ctorParameters: function () { return [{ type: i2.UnitConversionService }]; } });
6351
+ }], ctorParameters: function () { return [{ type: i3.UnitConversionService }]; } });
6234
6352
 
6235
6353
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
6236
6354
  // eslint-disable-next-line @angular-eslint/directive-class-suffix
@@ -6255,8 +6373,14 @@ class TimeseriesChartComponent {
6255
6373
  ((_d = (_c = (_b = this.dataSource) === null || _b === void 0 ? void 0 : _b.features) === null || _c === void 0 ? void 0 : _c.getFeatureConfig(WellKnownDataSourceFeatures.Interactivity)) === null || _d === void 0 ? void 0 : _d.enabled) ||
6256
6374
  false);
6257
6375
  }
6376
+ ngOnInit() {
6377
+ // save original data
6378
+ if (this.widgetData && this.widgetData.series) {
6379
+ this.widgetData.series.forEach((serie) => (serie.rawData = serie.data));
6380
+ }
6381
+ }
6258
6382
  ngOnChanges(changes) {
6259
- var _a, _b, _c, _d, _e, _f;
6383
+ var _a, _b, _c, _d, _e, _f, _g, _h;
6260
6384
  let shouldUpdateChart = false;
6261
6385
  let shouldRebuildChart = false;
6262
6386
  if (changes.configuration) {
@@ -6266,19 +6390,24 @@ class TimeseriesChartComponent {
6266
6390
  shouldRebuildChart = true;
6267
6391
  }
6268
6392
  if ((configurationCurrent === null || configurationCurrent === void 0 ? void 0 : configurationCurrent.scales) !== (configurationPrevious === null || configurationPrevious === void 0 ? void 0 : configurationPrevious.scales)) {
6269
- for (const scaleKey of Object.keys(configurationCurrent === null || configurationCurrent === void 0 ? void 0 : configurationCurrent.scales)) {
6393
+ const scaleKeys = Object.keys(configurationCurrent === null || configurationCurrent === void 0 ? void 0 : configurationCurrent.scales);
6394
+ for (const scaleKey of scaleKeys) {
6270
6395
  const scaleConfigCurrent = (_a = configurationCurrent === null || configurationCurrent === void 0 ? void 0 : configurationCurrent.scales) === null || _a === void 0 ? void 0 : _a[scaleKey];
6271
6396
  const scaleConfigPrevious = (_b = configurationPrevious === null || configurationPrevious === void 0 ? void 0 : configurationPrevious.scales) === null || _b === void 0 ? void 0 : _b[scaleKey];
6397
+ if (!scaleConfigCurrent) {
6398
+ continue;
6399
+ }
6272
6400
  if ((scaleConfigCurrent === null || scaleConfigCurrent === void 0 ? void 0 : scaleConfigCurrent.type) !==
6273
6401
  (scaleConfigPrevious === null || scaleConfigPrevious === void 0 ? void 0 : scaleConfigPrevious.type) ||
6274
- !this.scales[scaleKey]) {
6402
+ ((_c = scaleConfigCurrent === null || scaleConfigCurrent === void 0 ? void 0 : scaleConfigCurrent.properties) === null || _c === void 0 ? void 0 : _c.axisUnits) !==
6403
+ ((_d = scaleConfigPrevious === null || scaleConfigPrevious === void 0 ? void 0 : scaleConfigPrevious.properties) === null || _d === void 0 ? void 0 : _d.axisUnits)) {
6275
6404
  this.scales[scaleKey] =
6276
- this.timeseriesScalesService.getScale(scaleConfigCurrent, configurationCurrent.units);
6405
+ this.timeseriesScalesService.getScale(scaleConfigCurrent, configurationCurrent.units, this.configuration);
6277
6406
  shouldUpdateChart = true;
6278
6407
  }
6279
6408
  else if ((scaleConfigCurrent === null || scaleConfigCurrent === void 0 ? void 0 : scaleConfigCurrent.properties) !==
6280
6409
  (scaleConfigPrevious === null || scaleConfigPrevious === void 0 ? void 0 : scaleConfigPrevious.properties)) {
6281
- this.timeseriesScalesService.updateConfiguration(this.scales[scaleKey], scaleConfigCurrent);
6410
+ this.timeseriesScalesService.updateConfiguration(this.scales[scaleKey], scaleConfigCurrent, this.configuration);
6282
6411
  shouldUpdateChart = true;
6283
6412
  }
6284
6413
  }
@@ -6288,14 +6417,15 @@ class TimeseriesChartComponent {
6288
6417
  this.buildChart();
6289
6418
  }
6290
6419
  if (changes.widgetData && !changes.widgetData.isFirstChange()) {
6291
- if (((_d = (_c = this.widgetData) === null || _c === void 0 ? void 0 : _c.series) === null || _d === void 0 ? void 0 : _d.length) === 0) {
6420
+ if (((_f = (_e = this.widgetData) === null || _e === void 0 ? void 0 : _e.series) === null || _f === void 0 ? void 0 : _f.length) === 0) {
6292
6421
  this.resetChart = true;
6293
6422
  }
6294
6423
  if (this.widgetData && this.widgetData.series) {
6295
- if (this.resetChart && ((_f = (_e = this.widgetData) === null || _e === void 0 ? void 0 : _e.series) === null || _f === void 0 ? void 0 : _f.length) > 0) {
6424
+ if (this.resetChart && ((_h = (_g = this.widgetData) === null || _g === void 0 ? void 0 : _g.series) === null || _h === void 0 ? void 0 : _h.length) > 0) {
6296
6425
  this.resetChart = false;
6297
6426
  this.buildChart();
6298
6427
  }
6428
+ this.applyPreviousTransformer(changes.widgetData.previousValue);
6299
6429
  shouldUpdateChart = true;
6300
6430
  }
6301
6431
  }
@@ -6308,6 +6438,28 @@ class TimeseriesChartComponent {
6308
6438
  this.destroy$.complete();
6309
6439
  this.buildChart$.complete();
6310
6440
  }
6441
+ applyPreviousTransformer(previousData) {
6442
+ // save original data and transform it
6443
+ this.widgetData.series.forEach((serie) => {
6444
+ var _a;
6445
+ serie.rawData = serie.data;
6446
+ serie.transformer = (_a = previousData === null || previousData === void 0 ? void 0 : previousData.series.find((prevSerie) => prevSerie.id === serie.id)) === null || _a === void 0 ? void 0 : _a.transformer;
6447
+ this.transformSeriesData(serie);
6448
+ });
6449
+ }
6450
+ transformSeriesData(serie) {
6451
+ if (serie.transformer && serie.rawData && serie.rawData.length > 0) {
6452
+ // TODO percentile???
6453
+ try {
6454
+ serie.data = serie.transformer(serie.rawData);
6455
+ }
6456
+ catch (e) {
6457
+ serie.transformer = undefined;
6458
+ serie.data = serie.rawData;
6459
+ console.error(e.message);
6460
+ }
6461
+ }
6462
+ }
6311
6463
  }
6312
6464
  /** @nocollapse */ TimeseriesChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TimeseriesChartComponent, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
6313
6465
  /** @nocollapse */ TimeseriesChartComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.6", type: TimeseriesChartComponent, inputs: { widgetData: "widgetData", configuration: "configuration" }, usesOnChanges: true, ngImport: i0 });
@@ -6360,11 +6512,28 @@ class StatusBarChartComponent extends TimeseriesChartComponent {
6360
6512
  highlightStrategy: new BarHighlightStrategy("x"),
6361
6513
  pointerEvents: false,
6362
6514
  });
6515
+ this.setGridConfigFromConfiguration(this.chartAssist.gridConfig);
6516
+ this.setGridConfigFromConfiguration(this.chartAssist.lastGridConfig);
6363
6517
  this.scales.y = new BandScale();
6364
6518
  this.scales.y.fixDomain(StatusAccessors.STATUS_DOMAIN);
6519
+ this.scales.y.isTimeseriesScale = true;
6520
+ if (this.scales.yRight) {
6521
+ this.scales.yRight = this.scales.y;
6522
+ }
6365
6523
  }
6366
6524
  updateChartData() {
6367
- var _a, _b;
6525
+ var _a, _b, _c, _d, _e, _f;
6526
+ const { gridConfig, lastGridConfig } = this.chartAssist;
6527
+ // hides botom axis if it's not last chart in the group
6528
+ gridConfig.axis.bottom.visible = !((_a = this.configuration) === null || _a === void 0 ? void 0 : _a.hasAdjacentChart);
6529
+ lastGridConfig.axis.bottom.visible =
6530
+ !((_b = this.configuration) === null || _b === void 0 ? void 0 : _b.hasAdjacentChart);
6531
+ gridConfig.borders.bottom.className = ((_c = this.configuration) === null || _c === void 0 ? void 0 : _c.hasAdjacentChart)
6532
+ ? "nui-chart-border"
6533
+ : "nui-chart-border nui-chart-border--thick";
6534
+ lastGridConfig.borders.bottom.className = ((_d = this.configuration) === null || _d === void 0 ? void 0 : _d.hasAdjacentChart)
6535
+ ? "nui-chart-border"
6536
+ : "nui-chart-border nui-chart-border--thick";
6368
6537
  this.chartUpdate$.next();
6369
6538
  // Assemble the series set
6370
6539
  const seriesSet = this.widgetData.series.map((d) => (Object.assign(Object.assign({}, d), { data: this.transformData(d.data, this.scales.x instanceof TimeIntervalScale), accessors: this.accessors, renderer: this.renderer, scales: this.scales })));
@@ -6378,7 +6547,7 @@ class StatusBarChartComponent extends TimeseriesChartComponent {
6378
6547
  }
6379
6548
  });
6380
6549
  // only need to subscribe to one chart's SET_DOMAIN_EVENT
6381
- (_a = this.chartAssist.sparks[0].chart) === null || _a === void 0 ? void 0 : _a.getEventBus().getStream(SET_DOMAIN_EVENT).pipe(takeUntil(merge(this.chartUpdate$, (_b = this.chartAssist.sparks[0].chart) === null || _b === void 0 ? void 0 : _b.eventBus.getStream(DESTROY_EVENT), this.buildChart$))).subscribe((event) => {
6550
+ (_e = this.chartAssist.sparks[0].chart) === null || _e === void 0 ? void 0 : _e.getEventBus().getStream(SET_DOMAIN_EVENT).pipe(takeUntil(merge(this.chartUpdate$, (_f = this.chartAssist.sparks[0].chart) === null || _f === void 0 ? void 0 : _f.eventBus.getStream(DESTROY_EVENT), this.buildChart$))).subscribe((event) => {
6382
6551
  const payload = event.data;
6383
6552
  const newDomain = payload[Object.keys(payload)[0]];
6384
6553
  this.eventBus.getStream(SET_TIMEFRAME).next({
@@ -6415,10 +6584,29 @@ class StatusBarChartComponent extends TimeseriesChartComponent {
6415
6584
  });
6416
6585
  return statusDataArray;
6417
6586
  }
6587
+ setGridConfigFromConfiguration(gridConfig) {
6588
+ var _a, _b, _c;
6589
+ const configuration = this.configuration;
6590
+ if ((_a = configuration.gridConfig) === null || _a === void 0 ? void 0 : _a.xAxisTicksCount) {
6591
+ gridConfig.axis.bottom.approximateTicks =
6592
+ configuration.gridConfig.xAxisTicksCount;
6593
+ }
6594
+ if (gridConfig.dimension.marginLocked &&
6595
+ ((_b = configuration.gridConfig) === null || _b === void 0 ? void 0 : _b.sideMarginLocked)) {
6596
+ gridConfig.dimension.marginLocked.left = true;
6597
+ gridConfig.dimension.marginLocked.right = true;
6598
+ }
6599
+ if ((_c = configuration.gridConfig) === null || _c === void 0 ? void 0 : _c.sideMargin) {
6600
+ gridConfig.dimension.margin.left =
6601
+ configuration.gridConfig.sideMargin;
6602
+ gridConfig.dimension.margin.right =
6603
+ configuration.gridConfig.sideMargin;
6604
+ }
6605
+ }
6418
6606
  }
6419
6607
  StatusBarChartComponent.lateLoadKey = "StatusChartComponent";
6420
- /** @nocollapse */ StatusBarChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: StatusBarChartComponent, deps: [{ token: i2.IconService }, { token: DATA_SOURCE, optional: true }, { token: TimeseriesScalesService }, { token: i0.ChangeDetectorRef }, { token: PIZZAGNA_EVENT_BUS }], target: i0.ɵɵFactoryTarget.Component });
6421
- /** @nocollapse */ StatusBarChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: StatusBarChartComponent, selector: "nui-status-bar-chart", usesInheritance: true, ngImport: i0, template: "<div *ngIf=\"chartAssist\" class=\"p-3 status-bar-chart\">\n <div\n class=\"d-flex\"\n *ngFor=\"let spark of chartAssist.sparks; trackBy: chartAssist.trackByFn\"\n >\n <nui-chart\n class=\"d-flex flex-grow-1\"\n [chart]=\"spark.chart\"\n [nuiChartCollectionId]=\"collectionId\"\n ></nui-chart>\n <div\n class=\"d-flex flex-column pl-2\"\n *ngIf=\"\n spark.chartSeriesSet?.length > 0 && spark.chartSeriesSet[0];\n let series\n \"\n >\n <nui-legend\n class=\"status-bar-chart__legend\"\n [active]=\"chartAssist.isLegendActive\"\n >\n <nui-legend-series\n [descriptionPrimary]=\"series.legendDescriptionPrimary\"\n [descriptionSecondary]=\"series.legendDescriptionSecondary\"\n >\n <div\n class=\"status-bar-chart__legend__tile d-flex justify-content-center align-items-center\"\n >\n <div\n class=\"w-100 h-100 status-bar-chart__legend__tile__background\"\n [style.background-color]=\"\n getDataPointData(series, 'color')\n \"\n ></div>\n <nui-icon\n *ngIf=\"getDataPointData(series, 'icon'); let icon\"\n class=\"status-bar-chart__legend__tile__icon\"\n [icon]=\"icon\"\n ></nui-icon>\n </div>\n </nui-legend-series>\n </nui-legend>\n </div>\n </div>\n</div>\n", styles: [".status-bar-chart__legend__tile{width:60px;position:relative}.status-bar-chart__legend__tile__background{position:absolute;opacity:.4}.status-bar-chart__legend__tile__icon{position:absolute}\n"], components: [{ type: i2$1.ChartComponent, selector: "nui-chart", inputs: ["chart"] }, { type: i2$1.LegendComponent, selector: "nui-legend", inputs: ["active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { type: i2$1.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["isSelected", "active", "interactive", "seriesRenderState", "icon", "descriptionPrimary", "descriptionSecondary", "color"], outputs: ["isSelectedChange"] }, { type: i2.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2$1.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }] });
6608
+ /** @nocollapse */ StatusBarChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: StatusBarChartComponent, deps: [{ token: i3.IconService }, { token: DATA_SOURCE, optional: true }, { token: TimeseriesScalesService }, { token: i0.ChangeDetectorRef }, { token: PIZZAGNA_EVENT_BUS }], target: i0.ɵɵFactoryTarget.Component });
6609
+ /** @nocollapse */ StatusBarChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: StatusBarChartComponent, selector: "nui-status-bar-chart", usesInheritance: true, ngImport: i0, template: "<div\n *ngIf=\"chartAssist\"\n class=\"status-bar-chart\"\n [class.layout-fixed]=\"configuration.gridConfig?.fixedLayout\"\n>\n <div\n class=\"d-flex\"\n *ngFor=\"let spark of chartAssist.sparks; trackBy: chartAssist.trackByFn\"\n >\n <nui-chart\n class=\"d-flex flex-grow-1\"\n [chart]=\"spark.chart\"\n [nuiChartCollectionId]=\"collectionId\"\n ></nui-chart>\n <div\n class=\"d-flex flex-column pl-2\"\n [class.layout-fixed-legend]=\"configuration.gridConfig?.fixedLayout\"\n *ngIf=\"\n spark.chartSeriesSet?.length > 0 && spark.chartSeriesSet[0];\n let series\n \"\n >\n <nui-legend\n class=\"status-bar-chart__legend\"\n [active]=\"chartAssist.isLegendActive\"\n >\n <nui-legend-series\n [descriptionPrimary]=\"series.legendDescriptionPrimary\"\n [descriptionSecondary]=\"series.legendDescriptionSecondary\"\n >\n <div\n class=\"status-bar-chart__legend__tile d-flex justify-content-center align-items-center\"\n >\n <div\n class=\"w-100 h-100 status-bar-chart__legend__tile__background\"\n [style.background-color]=\"\n getDataPointData(series, 'color')\n \"\n ></div>\n <nui-icon\n *ngIf=\"getDataPointData(series, 'icon'); let icon\"\n class=\"status-bar-chart__legend__tile__icon\"\n [icon]=\"icon\"\n ></nui-icon>\n </div>\n </nui-legend-series>\n </nui-legend>\n </div>\n </div>\n</div>\n", styles: [".status-bar-chart__legend__tile{width:60px;position:relative}.status-bar-chart__legend__tile__background{position:absolute;opacity:.4}.status-bar-chart__legend__tile__icon{position:absolute}.layout-fixed-legend{max-width:250px;min-width:250px;padding-left:8px!important}.layout-fixed-legend nui-legend{margin:0!important;width:100%}\n"], components: [{ type: i2.ChartComponent, selector: "nui-chart", inputs: ["chart"] }, { type: i2.LegendComponent, selector: "nui-legend", inputs: ["active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { type: i2.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["isSelected", "active", "interactive", "seriesRenderState", "icon", "descriptionPrimary", "descriptionSecondary", "color"], outputs: ["isSelectedChange"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }] });
6422
6610
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: StatusBarChartComponent, decorators: [{
6423
6611
  type: Component,
6424
6612
  args: [{
@@ -6426,16 +6614,548 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
6426
6614
  templateUrl: "./status-bar-chart.component.html",
6427
6615
  styleUrls: ["./status-bar-chart.component.less"],
6428
6616
  }]
6429
- }], ctorParameters: function () { return [{ type: i2.IconService }, { type: undefined, decorators: [{
6617
+ }], ctorParameters: function () { return [{ type: i3.IconService }, { type: undefined, decorators: [{
6430
6618
  type: Optional
6431
6619
  }, {
6432
6620
  type: Inject,
6433
6621
  args: [DATA_SOURCE]
6434
- }] }, { type: TimeseriesScalesService }, { type: i0.ChangeDetectorRef }, { type: i2.EventBus, decorators: [{
6622
+ }] }, { type: TimeseriesScalesService }, { type: i0.ChangeDetectorRef }, { type: i3.EventBus, decorators: [{
6435
6623
  type: Inject,
6436
6624
  args: [PIZZAGNA_EVENT_BUS]
6437
6625
  }] }]; } });
6438
6626
 
6627
+ // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
6628
+ function transformDifference(data, hasPercentile) {
6629
+ const transformed = cloneDeep(data);
6630
+ const n = data.length;
6631
+ const dataValues = {
6632
+ x: [],
6633
+ y: [],
6634
+ };
6635
+ transformed.forEach((d) => {
6636
+ dataValues.x.push(d.x.valueOf());
6637
+ dataValues.y.push(d.y);
6638
+ });
6639
+ function differenceData(data) {
6640
+ const newData = [];
6641
+ let currentYvalue;
6642
+ let previousYvalue;
6643
+ let answer = 0;
6644
+ for (let i = 0; i < n; i++) {
6645
+ if (i === n - 1) {
6646
+ newData.push(answer);
6647
+ break;
6648
+ }
6649
+ currentYvalue = data[i + 1];
6650
+ previousYvalue = data[i];
6651
+ answer = currentYvalue - previousYvalue;
6652
+ if (hasPercentile) {
6653
+ answer = Math.abs(answer);
6654
+ }
6655
+ newData.push(answer);
6656
+ }
6657
+ return newData;
6658
+ }
6659
+ const differencedData = differenceData(dataValues.y);
6660
+ differencedData.forEach((value, index) => {
6661
+ transformed[index].y = value;
6662
+ });
6663
+ return transformed;
6664
+ }
6665
+
6666
+ // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
6667
+ //
6668
+ // Permission is hereby granted, free of charge, to any person obtaining a copy
6669
+ // of this software and associated documentation files (the "Software"), to
6670
+ // deal in the Software without restriction, including without limitation the
6671
+ // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
6672
+ // sell copies of the Software, and to permit persons to whom the Software is
6673
+ // furnished to do so, subject to the following conditions:
6674
+ //
6675
+ // The above copyright notice and this permission notice shall be included in
6676
+ // all copies or substantial portions of the Software.
6677
+ //
6678
+ // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
6679
+ // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
6680
+ // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
6681
+ // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
6682
+ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
6683
+ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
6684
+ // THE SOFTWARE.
6685
+ // Based on org.apache.commons.math.analysis.interpolation.LoessInterpolator
6686
+ // from http://commons.apache.org/math/
6687
+ // Extracted from https://github.com/jasondavies/science.js
6688
+ function loess() {
6689
+ let bandwidth = 0.3, robustnessIters = 2, accuracy = 1e-12;
6690
+ function smooth(xval, yval, weights) {
6691
+ let n = xval.length, i;
6692
+ if (n !== yval.length) {
6693
+ throw new Error("Mismatched array lengths");
6694
+ }
6695
+ if (n === 0) {
6696
+ throw new Error("At least one point required.");
6697
+ }
6698
+ if (arguments.length < 3) {
6699
+ weights = [];
6700
+ i = -1;
6701
+ while (++i < n) {
6702
+ weights[i] = 1;
6703
+ }
6704
+ }
6705
+ science_stats_loessFiniteReal(xval);
6706
+ science_stats_loessFiniteReal(yval);
6707
+ science_stats_loessFiniteReal(weights);
6708
+ science_stats_loessStrictlyIncreasing(xval);
6709
+ if (n === 1) {
6710
+ return [yval[0]];
6711
+ }
6712
+ if (n === 2) {
6713
+ return [yval[0], yval[1]];
6714
+ }
6715
+ const bandwidthInPoints = Math.floor(bandwidth * n);
6716
+ if (bandwidthInPoints < 2) {
6717
+ throw new Error("Bandwidth too small.");
6718
+ }
6719
+ const res = [], residuals = [], robustnessWeights = [];
6720
+ // Do an initial fit and 'robustnessIters' robustness iterations.
6721
+ // This is equivalent to doing 'robustnessIters+1' robustness iterations
6722
+ // starting with all robustness weights set to 1.
6723
+ i = -1;
6724
+ while (++i < n) {
6725
+ res[i] = 0;
6726
+ residuals[i] = 0;
6727
+ robustnessWeights[i] = 1;
6728
+ }
6729
+ let iter = -1;
6730
+ while (++iter <= robustnessIters) {
6731
+ const bandwidthInterval = [0, bandwidthInPoints - 1];
6732
+ // At each x, compute a local weighted linear regression
6733
+ let x;
6734
+ i = -1;
6735
+ while (++i < n) {
6736
+ x = xval[i];
6737
+ // Find out the interval of source points on which
6738
+ // a regression is to be made.
6739
+ if (i > 0) {
6740
+ science_stats_loessUpdateBandwidthInterval(xval, weights, i, bandwidthInterval);
6741
+ }
6742
+ const ileft = bandwidthInterval[0], iright = bandwidthInterval[1];
6743
+ // Compute the point of the bandwidth interval that is
6744
+ // farthest from x
6745
+ const edge = xval[i] - xval[ileft] > xval[iright] - xval[i]
6746
+ ? ileft
6747
+ : iright;
6748
+ // Compute a least-squares linear fit weighted by
6749
+ // the product of robustness weights and the tricube
6750
+ // weight function.
6751
+ // See http://en.wikipedia.org/wiki/Linear_regression
6752
+ // (section "Univariate linear case")
6753
+ // and http://en.wikipedia.org/wiki/Weighted_least_squares
6754
+ // (section "Weighted least squares")
6755
+ let sumWeights = 0, sumX = 0, sumXSquared = 0, sumY = 0, sumXY = 0, denom = Math.abs(1 / (xval[edge] - x));
6756
+ for (let k = ileft; k <= iright; ++k) {
6757
+ let xk = xval[k], yk = yval[k], dist = k < i ? x - xk : xk - x, w = science_stats_loessTricube(dist * denom) *
6758
+ robustnessWeights[k] *
6759
+ weights[k], xkw = xk * w;
6760
+ sumWeights += w;
6761
+ sumX += xkw;
6762
+ sumXSquared += xk * xkw;
6763
+ sumY += yk * w;
6764
+ sumXY += yk * xkw;
6765
+ }
6766
+ const meanX = sumX / sumWeights, meanY = sumY / sumWeights, meanXY = sumXY / sumWeights, meanXSquared = sumXSquared / sumWeights;
6767
+ const beta = Math.sqrt(Math.abs(meanXSquared - meanX * meanX)) < accuracy
6768
+ ? 0
6769
+ : (meanXY - meanX * meanY) /
6770
+ (meanXSquared - meanX * meanX);
6771
+ const alpha = meanY - beta * meanX;
6772
+ res[i] = beta * x + alpha;
6773
+ residuals[i] = Math.abs(yval[i] - res[i]);
6774
+ }
6775
+ // No need to recompute the robustness weights at the last
6776
+ // iteration, they won't be needed anymore
6777
+ if (iter === robustnessIters) {
6778
+ break;
6779
+ }
6780
+ // Recompute the robustness weights.
6781
+ // Find the median residual.
6782
+ const medianResidual = median(residuals);
6783
+ if (Math.abs(medianResidual) < accuracy) {
6784
+ break;
6785
+ }
6786
+ let arg, w;
6787
+ i = -1;
6788
+ while (++i < n) {
6789
+ arg = residuals[i] / (6 * medianResidual);
6790
+ robustnessWeights[i] = arg >= 1 ? 0 : (w = 1 - arg * arg) * w;
6791
+ }
6792
+ }
6793
+ return res;
6794
+ }
6795
+ smooth.bandwidth = function (x) {
6796
+ if (!arguments.length) {
6797
+ return x;
6798
+ }
6799
+ bandwidth = x;
6800
+ return smooth;
6801
+ };
6802
+ smooth.robustnessIterations = function (x) {
6803
+ if (!arguments.length) {
6804
+ return x;
6805
+ }
6806
+ robustnessIters = x;
6807
+ return smooth;
6808
+ };
6809
+ smooth.accuracy = function (x) {
6810
+ if (!arguments.length) {
6811
+ return x;
6812
+ }
6813
+ accuracy = x;
6814
+ return smooth;
6815
+ };
6816
+ return smooth;
6817
+ }
6818
+ function science_stats_loessFiniteReal(values) {
6819
+ let n = values.length, i = -1;
6820
+ while (++i < n) {
6821
+ if (!isFinite(values[i])) {
6822
+ return false;
6823
+ }
6824
+ }
6825
+ return true;
6826
+ }
6827
+ function science_stats_loessStrictlyIncreasing(xval) {
6828
+ let n = xval.length, i = 0;
6829
+ while (++i < n) {
6830
+ if (xval[i - 1] >= xval[i]) {
6831
+ return false;
6832
+ }
6833
+ }
6834
+ return true;
6835
+ }
6836
+ // Compute the tricube weight function.
6837
+ // http://en.wikipedia.org/wiki/Local_regression#Weight_function
6838
+ function science_stats_loessTricube(x) {
6839
+ return (x = 1 - x * x * x) * x * x;
6840
+ }
6841
+ // Given an index interval into xval that embraces a certain number of
6842
+ // points closest to xval[i-1], update the interval so that it embraces
6843
+ // the same number of points closest to xval[i], ignoring zero weights.
6844
+ function science_stats_loessUpdateBandwidthInterval(xval, weights, i, bandwidthInterval) {
6845
+ const left = bandwidthInterval[0], right = bandwidthInterval[1];
6846
+ // The right edge should be adjusted if the next point to the right
6847
+ // is closer to xval[i] than the leftmost point of the current interval
6848
+ const nextRight = science_stats_loessNextNonzero(weights, right);
6849
+ if (nextRight < xval.length &&
6850
+ xval[nextRight] - xval[i] < xval[i] - xval[left]) {
6851
+ const nextLeft = science_stats_loessNextNonzero(weights, left);
6852
+ bandwidthInterval[0] = nextLeft;
6853
+ bandwidthInterval[1] = nextRight;
6854
+ }
6855
+ }
6856
+ function science_stats_loessNextNonzero(weights, i) {
6857
+ let j = i + 1;
6858
+ while (j < weights.length && weights[j] === 0) {
6859
+ j++;
6860
+ }
6861
+ return j;
6862
+ }
6863
+ function median(x) {
6864
+ return quantiles(x, [0.5])[0];
6865
+ }
6866
+ // Uses R's quantile algorithm type=7.
6867
+ function quantiles(d, quantiles) {
6868
+ d = d.slice().sort(ascending);
6869
+ let n1 = d.length - 1;
6870
+ return quantiles.map(function (q) {
6871
+ if (q === 0) {
6872
+ return d[0];
6873
+ }
6874
+ else if (q === 1) {
6875
+ return d[n1];
6876
+ }
6877
+ let index = 1 + q * n1, lo = Math.floor(index), h = index - lo, a = d[lo - 1];
6878
+ return h === 0 ? a : a + h * (d[lo] - a);
6879
+ });
6880
+ }
6881
+ function ascending(a, b) {
6882
+ return a - b;
6883
+ }
6884
+
6885
+ // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
6886
+ function transformLoessSmoothing(data, hasPercentile) {
6887
+ const transformed = cloneDeep(data);
6888
+ const dataValues = {
6889
+ x: [],
6890
+ y: [],
6891
+ };
6892
+ transformed.forEach((d) => {
6893
+ dataValues.x.push(d.x.valueOf());
6894
+ dataValues.y.push(d.y);
6895
+ });
6896
+ const smoothedData = loess().bandwidth(0.1)(dataValues.x, dataValues.y);
6897
+ smoothedData.forEach((value, index) => {
6898
+ transformed[index].y = value;
6899
+ });
6900
+ return transformed;
6901
+ }
6902
+
6903
+ // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
6904
+ function transformChangePoint(data, hasPercentile) {
6905
+ var _a, _b, _c, _d;
6906
+ let transformed = cloneDeep(data);
6907
+ const sectionSize = 20; // to change section size
6908
+ const criticalValue = 1.729; // one-tail 0.05
6909
+ transformed = transformLoessSmoothing(transformed, hasPercentile);
6910
+ let tScore; // The t_score formula enables you to take an individual score and transform it into a standardized form>one which helps you to compare scores.
6911
+ let meanOfFirstSection = 0;
6912
+ let standardDeviationOfFirstSection;
6913
+ let meanOfSecondSection;
6914
+ let standardDeviationOfSecondSection;
6915
+ let yValuesOfFirstSection = [];
6916
+ let yValuesOfSecondSection = [];
6917
+ let merging = true;
6918
+ let startIndex = 0;
6919
+ let endIndex = sectionSize - 1;
6920
+ let startIndex2 = sectionSize;
6921
+ let endIndex2 = startIndex2 + endIndex;
6922
+ while (merging) {
6923
+ merging = false;
6924
+ yValuesOfFirstSection = [];
6925
+ yValuesOfSecondSection = [];
6926
+ for (let i = startIndex; i <= endIndex; i++) {
6927
+ yValuesOfFirstSection.push(data[i].y);
6928
+ }
6929
+ for (let j = startIndex2; j <= endIndex2; j++) {
6930
+ yValuesOfSecondSection.push(data[j].y);
6931
+ }
6932
+ meanOfFirstSection = (_a = d3.mean(yValuesOfFirstSection)) !== null && _a !== void 0 ? _a : 0;
6933
+ meanOfSecondSection = (_b = d3.mean(yValuesOfSecondSection)) !== null && _b !== void 0 ? _b : 0;
6934
+ standardDeviationOfFirstSection =
6935
+ (_c = d3.deviation(yValuesOfFirstSection)) !== null && _c !== void 0 ? _c : 0;
6936
+ if (standardDeviationOfFirstSection < 1.0) {
6937
+ standardDeviationOfFirstSection = 1.0;
6938
+ }
6939
+ standardDeviationOfSecondSection =
6940
+ (_d = d3.deviation(yValuesOfSecondSection)) !== null && _d !== void 0 ? _d : 0;
6941
+ if (standardDeviationOfSecondSection < 1.0) {
6942
+ standardDeviationOfSecondSection = 1.0;
6943
+ }
6944
+ tScore = getT_Score(meanOfFirstSection, meanOfSecondSection, standardDeviationOfFirstSection, standardDeviationOfSecondSection, yValuesOfFirstSection.length, yValuesOfSecondSection.length, criticalValue);
6945
+ if (tScore > criticalValue) {
6946
+ for (let k = startIndex; k <= endIndex; k++) {
6947
+ transformed[k].y = meanOfFirstSection;
6948
+ }
6949
+ startIndex = startIndex2;
6950
+ }
6951
+ endIndex = endIndex2;
6952
+ if (endIndex + sectionSize < data.length) {
6953
+ merging = true;
6954
+ startIndex2 = endIndex + 1;
6955
+ endIndex2 = startIndex2 + sectionSize - 1;
6956
+ }
6957
+ else {
6958
+ endIndex = data.length - 1;
6959
+ }
6960
+ }
6961
+ for (let k = startIndex; k <= endIndex; k++) {
6962
+ transformed[k].y = meanOfFirstSection;
6963
+ }
6964
+ return transformed;
6965
+ }
6966
+ function getT_Score(meanOfFirstSection1, meanOfSecondSection, standardDeviationOfFirstSection, standardDeviationOfSecondSection, sizeOfFirstSection, sizeOfSecondSection, criticalValue) {
6967
+ const differenceOfSampleMeans = meanOfFirstSection1 - meanOfSecondSection;
6968
+ const standardDeviationOfBothSections = Math.pow(standardDeviationOfFirstSection, 2) / sizeOfFirstSection +
6969
+ Math.pow(standardDeviationOfSecondSection, 2) / sizeOfSecondSection;
6970
+ const squareRootofResult = Math.sqrt(standardDeviationOfBothSections);
6971
+ let tScore = differenceOfSampleMeans / squareRootofResult;
6972
+ if (tScore > criticalValue) {
6973
+ if (meanOfFirstSection1 <
6974
+ meanOfSecondSection + 2 * standardDeviationOfSecondSection &&
6975
+ meanOfFirstSection1 >
6976
+ meanOfSecondSection - 2 * standardDeviationOfSecondSection &&
6977
+ meanOfSecondSection <
6978
+ meanOfFirstSection1 + 2 * standardDeviationOfFirstSection &&
6979
+ meanOfSecondSection >
6980
+ meanOfFirstSection1 - 2 * standardDeviationOfFirstSection) {
6981
+ tScore = 0.0;
6982
+ }
6983
+ }
6984
+ return Math.abs(tScore);
6985
+ }
6986
+
6987
+ // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
6988
+ function transformFloatingAverage(data, hasPercentile) {
6989
+ const transformed = cloneDeep(data);
6990
+ function getAverageFromLastHour(data, index) {
6991
+ let sum = 0.0;
6992
+ let count = 0;
6993
+ const dateTime = moment(data[index].x);
6994
+ while (index >= 0 &&
6995
+ dateTime.diff(moment(data[index].x), "minutes") <= 60) {
6996
+ count++;
6997
+ sum += data[index].y;
6998
+ index--;
6999
+ }
7000
+ return sum / count;
7001
+ }
7002
+ transformed.forEach((value, index) => {
7003
+ transformed[index].y = getAverageFromLastHour(transformed, index);
7004
+ });
7005
+ return transformed;
7006
+ }
7007
+
7008
+ // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
7009
+ function transformNormalize(data, hasPercentile) {
7010
+ const transformed = cloneDeep(data);
7011
+ const dataValues = {
7012
+ x: [],
7013
+ y: [],
7014
+ };
7015
+ transformed.forEach((d) => {
7016
+ dataValues.x.push(d.x.valueOf());
7017
+ dataValues.y.push(d.y);
7018
+ });
7019
+ const normalizedData = normalize(dataValues.y);
7020
+ normalizedData.forEach((value, index) => {
7021
+ transformed[index].y = value * 100.0;
7022
+ });
7023
+ function normalize(values) {
7024
+ // find max and min
7025
+ const max = Math.max(...values);
7026
+ const min = Math.min(...values);
7027
+ // if max = min --> return every value = 0
7028
+ // else --> return normalized data values
7029
+ return max === min
7030
+ ? values.map((value) => 0)
7031
+ : values.map((value) => (value - min) / (max - min));
7032
+ }
7033
+ return transformed;
7034
+ }
7035
+
7036
+ // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
7037
+ function transformLinReg(data, hasPercentile) {
7038
+ const transformed = cloneDeep(data);
7039
+ const dataValues = {
7040
+ x: [],
7041
+ y: [],
7042
+ };
7043
+ transformed.forEach((d) => {
7044
+ dataValues.x.push(d.x.valueOf());
7045
+ dataValues.y.push(d.y);
7046
+ });
7047
+ function linearRegression(xValues, yValues) {
7048
+ let xSum = 0, ySum = 0, xySum = 0, xxSum = 0, count = 0, x = 0, y = 0;
7049
+ if (xValues.length !== yValues.length) {
7050
+ throw new Error("The x and y data arrays need to be the same length");
7051
+ }
7052
+ if (xValues.length === 0) {
7053
+ throw new Error("There's no data to work with");
7054
+ }
7055
+ for (let i = 0; i < xValues.length; i++) {
7056
+ x = xValues[i];
7057
+ y = yValues[i];
7058
+ xSum += x;
7059
+ ySum += y;
7060
+ xxSum += Math.pow(x, 2);
7061
+ xySum += x * y;
7062
+ count++;
7063
+ }
7064
+ const m = (count * xySum - xSum * ySum) / (count * xxSum - xSum * xSum);
7065
+ const b = ySum / count - (m * xSum) / count;
7066
+ const resultXValues = [];
7067
+ const resultYValues = [];
7068
+ for (let i = 0; i < xValues.length; i++) {
7069
+ x = xValues[i];
7070
+ y = x * m + b;
7071
+ resultXValues.push(x);
7072
+ resultYValues.push(y);
7073
+ }
7074
+ return resultYValues;
7075
+ }
7076
+ const linRegData = linearRegression(dataValues.x, dataValues.y);
7077
+ linRegData.forEach((value, index) => {
7078
+ transformed[index].y = value;
7079
+ });
7080
+ return transformed;
7081
+ }
7082
+
7083
+ // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
7084
+ function transformStandardize(data, hasPercentile) {
7085
+ let transformed = cloneDeep(data);
7086
+ const dataValues = {
7087
+ x: [],
7088
+ y: [],
7089
+ };
7090
+ transformed.forEach((d) => {
7091
+ dataValues.x.push(d.x.valueOf());
7092
+ dataValues.y.push(d.y);
7093
+ });
7094
+ const standardizedData = standardizeData(dataValues.y);
7095
+ standardizedData.forEach((value, index) => {
7096
+ transformed[index].y = hasPercentile ? Math.abs(value) : value;
7097
+ });
7098
+ if (hasPercentile) {
7099
+ transformed = transformNormalize(transformed);
7100
+ }
7101
+ function standardizeData(data) {
7102
+ var _a;
7103
+ // to standardize array of data --> subtract mean from each value, divide each value by standard devation (except if standard deviation < 1 --> divide by 1)
7104
+ const stddev = (_a = d3.deviation(data)) !== null && _a !== void 0 ? _a : 1;
7105
+ return data.map((value) => { var _a; return (value - ((_a = d3.mean(data)) !== null && _a !== void 0 ? _a : 0)) / (stddev < 1 ? 1 : stddev); });
7106
+ }
7107
+ return transformed;
7108
+ }
7109
+
7110
+ // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
7111
+ function transformLoessStandardize(data, hasPercentile) {
7112
+ let transformed = cloneDeep(data);
7113
+ transformed = transformLoessSmoothing(transformed, hasPercentile);
7114
+ transformed = transformStandardize(transformed, hasPercentile);
7115
+ return transformed;
7116
+ }
7117
+
7118
+ // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
7119
+ function transformPercentileStd(data, hasPercentile) {
7120
+ let transformed = cloneDeep(data);
7121
+ const dataValues = {
7122
+ x: [],
7123
+ y: [],
7124
+ };
7125
+ transformed.forEach((d) => {
7126
+ dataValues.x.push(d.x.valueOf());
7127
+ dataValues.y.push(d.y);
7128
+ });
7129
+ function percentileStandardizeData(data) {
7130
+ var _a;
7131
+ const median = (_a = d3.median(data)) !== null && _a !== void 0 ? _a : 0;
7132
+ const medianAbsoluteDeviation = getMedianAbsoluteDeviation(data, median);
7133
+ // formula to transform data (percentile deviation)
7134
+ return data.map((value) => (value - median) / medianAbsoluteDeviation);
7135
+ }
7136
+ function getMedianAbsoluteDeviation(values, median) {
7137
+ var _a;
7138
+ const absoluteValueOfMinusMedian = values.map((value) => Math.abs(value - median));
7139
+ let medianAbsoluteDeviation = (_a = d3.median(absoluteValueOfMinusMedian)) !== null && _a !== void 0 ? _a : 0;
7140
+ // median absolute deviation
7141
+ // If the MAD is less than one then just set it to one in order to just show raw difference from the median
7142
+ if (medianAbsoluteDeviation < 1.0) {
7143
+ medianAbsoluteDeviation = 1.0;
7144
+ }
7145
+ return medianAbsoluteDeviation;
7146
+ }
7147
+ const percentileStandardizedData = percentileStandardizeData(dataValues.y);
7148
+ percentileStandardizedData.forEach((value, index) => {
7149
+ transformed[index].y = hasPercentile ? Math.abs(value) : value;
7150
+ });
7151
+ if (hasPercentile) {
7152
+ transformed = transformNormalize(transformed, hasPercentile);
7153
+ }
7154
+ return transformed;
7155
+ }
7156
+
7157
+ // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
7158
+
6439
7159
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
6440
7160
  class XYChartComponent extends TimeseriesChartComponent {
6441
7161
  constructor(eventBus, dataSource, timeseriesScalesService, changeDetector) {
@@ -6445,9 +7165,91 @@ class XYChartComponent extends TimeseriesChartComponent {
6445
7165
  this.changeDetector = changeDetector;
6446
7166
  this.valueAccessorKey = "y";
6447
7167
  this.collectionId = "";
7168
+ this.transformers = new Map([
7169
+ [
7170
+ TimeseriesTransformer.None,
7171
+ { displayName: $localize `None`, transformer: undefined },
7172
+ ],
7173
+ [
7174
+ TimeseriesTransformer.ChangePoint,
7175
+ {
7176
+ displayName: $localize `Change Point`,
7177
+ transformer: transformChangePoint,
7178
+ },
7179
+ ],
7180
+ [
7181
+ TimeseriesTransformer.Difference,
7182
+ {
7183
+ displayName: $localize `Difference`,
7184
+ transformer: transformDifference,
7185
+ },
7186
+ ],
7187
+ [
7188
+ TimeseriesTransformer.FloatingAverage,
7189
+ {
7190
+ displayName: $localize `Floating Average`,
7191
+ transformer: transformFloatingAverage,
7192
+ },
7193
+ ],
7194
+ [
7195
+ TimeseriesTransformer.Linear,
7196
+ { displayName: $localize `Linear`, transformer: transformLinReg },
7197
+ ],
7198
+ [
7199
+ TimeseriesTransformer.Normalize,
7200
+ {
7201
+ displayName: $localize `Normalize`,
7202
+ transformer: transformNormalize,
7203
+ },
7204
+ ],
7205
+ [
7206
+ TimeseriesTransformer.PercentileStd,
7207
+ {
7208
+ displayName: $localize `Percentile Standardized`,
7209
+ transformer: transformPercentileStd,
7210
+ },
7211
+ ],
7212
+ [
7213
+ TimeseriesTransformer.Smoothing,
7214
+ {
7215
+ displayName: $localize `Smoothing`,
7216
+ transformer: transformLoessSmoothing,
7217
+ },
7218
+ ],
7219
+ [
7220
+ TimeseriesTransformer.LoessStandardize,
7221
+ {
7222
+ displayName: $localize `Smoothing Standardized`,
7223
+ transformer: transformLoessStandardize,
7224
+ },
7225
+ ],
7226
+ [
7227
+ TimeseriesTransformer.Standardize,
7228
+ {
7229
+ displayName: $localize `Standardize`,
7230
+ transformer: transformStandardize,
7231
+ },
7232
+ ],
7233
+ ]);
6448
7234
  }
6449
7235
  mapSeriesSet(data, scales) {
6450
- return data.map((series) => (Object.assign(Object.assign({}, series), { scales: scales, renderer: this.renderer, accessors: this.accessors })));
7236
+ const yScales = [scales.y];
7237
+ if (scales.yRight) {
7238
+ yScales.push(scales.yRight);
7239
+ }
7240
+ return data.map((series, i) => {
7241
+ var _a;
7242
+ // matches scale units to the metric unit for either left y-axis scale or right y-axis scale
7243
+ let yScale = yScales.find((yScale) => yScale.scaleUnits === series.metricUnits);
7244
+ if (!yScale) {
7245
+ yScale =
7246
+ (_a = yScales.find((yScale) => yScale.scaleUnits === "generic")) !== null && _a !== void 0 ? _a : scales.y;
7247
+ }
7248
+ return Object.assign(Object.assign({}, series), { scales: {
7249
+ x: scales.x,
7250
+ y: yScale,
7251
+ }, renderer: this.renderer, accessors: this.accessors });
7252
+ });
6451
7253
  }
6452
7254
  /** Checks if legend should be shown. */
6453
7255
  hasLegend() {
@@ -6472,13 +7274,36 @@ class XYChartComponent extends TimeseriesChartComponent {
6472
7274
  }
6473
7275
  /** Updates chart data. */
6474
7276
  updateChartData() {
7277
+ var _a, _b, _c, _d;
7278
+ const grid = this.chartAssist.chart.getGrid();
7279
+ if ((_a = this.scales.y) === null || _a === void 0 ? void 0 : _a.id) {
7280
+ grid.leftScaleId = this.scales.y.id;
7281
+ }
7282
+ if ((this.scales.yRight && this.widgetData.series.length === 1) ||
7283
+ (this.scales.y &&
7284
+ this.scales.yRight &&
7285
+ this.scales.y.scaleUnits === this.scales.yRight.scaleUnits)) {
7286
+ // if there is only one series to display, or if the left y-axis and right y-axis have the same units, both y-axises are same
7287
+ this.scales.yRight = this.scales.y;
7288
+ grid.rightScaleId = this.scales.y.id;
7289
+ }
7290
+ else {
7291
+ if ((_b = this.scales.yRight) === null || _b === void 0 ? void 0 : _b.id) {
7292
+ grid.rightScaleId = this.scales.yRight.id;
7293
+ }
7294
+ }
7295
+ const gridConfig = grid.config();
7296
+ // hides botom axis if it's not last chart in the group
7297
+ gridConfig.axis.bottom.visible = !((_c = this.configuration) === null || _c === void 0 ? void 0 : _c.hasAdjacentChart);
7298
+ gridConfig.borders.bottom.visible =
7299
+ !((_d = this.configuration) === null || _d === void 0 ? void 0 : _d.hasAdjacentChart);
6475
7300
  this.chartAssist.update(this.mapSeriesSet(this.widgetData.series, this.scales));
6476
7301
  }
6477
7302
  /**
6478
7303
  * Initialize chart
6479
7304
  */
6480
7305
  buildChart() {
6481
- var _a;
7306
+ var _a, _b, _c, _d;
6482
7307
  this.buildChart$.next();
6483
7308
  const colorProvider = this.configuration.chartColors &&
6484
7309
  ((_a = this.configuration.chartColors) === null || _a === void 0 ? void 0 : _a.length) > 0
@@ -6488,6 +7313,22 @@ class XYChartComponent extends TimeseriesChartComponent {
6488
7313
  this.accessors = this.createAccessors(palette.standardColors);
6489
7314
  this.chartAssist = this.createChartAssist(palette);
6490
7315
  const chart = this.chartAssist.chart;
7316
+ const gridConfig = chart.getGrid().config();
7317
+ if ((_b = this.configuration.gridConfig) === null || _b === void 0 ? void 0 : _b.xAxisTicksCount) {
7318
+ gridConfig.axis.bottom.approximateTicks =
7319
+ this.configuration.gridConfig.xAxisTicksCount;
7320
+ }
7321
+ if (gridConfig.dimension.marginLocked &&
7322
+ ((_c = this.configuration.gridConfig) === null || _c === void 0 ? void 0 : _c.sideMarginLocked)) {
7323
+ gridConfig.dimension.marginLocked.left = true;
7324
+ gridConfig.dimension.marginLocked.right = true;
7325
+ }
7326
+ if ((_d = this.configuration.gridConfig) === null || _d === void 0 ? void 0 : _d.sideMargin) {
7327
+ gridConfig.dimension.margin.left =
7328
+ this.configuration.gridConfig.sideMargin;
7329
+ gridConfig.dimension.margin.right =
7330
+ this.configuration.gridConfig.sideMargin;
7331
+ }
6491
7332
  if (this.configuration.enableZoom) {
6492
7333
  chart.addPlugin(new ZoomPlugin());
6493
7334
  }
@@ -6545,12 +7386,42 @@ class XYChartComponent extends TimeseriesChartComponent {
6545
7386
  }
6546
7387
  });
6547
7388
  }
7389
+ displayLegendMenu() {
7390
+ return (this.configuration.preset === TimeseriesChartPreset.Line &&
7391
+ !!this.configuration.allowLegendMenu);
7392
+ }
7393
+ removeMetric(metricId) {
7394
+ this.eventBus.next(CHART_METRIC_REMOVE, {
7395
+ payload: {
7396
+ metricId: metricId,
7397
+ groupUniqueId: this.configuration.groupUniqueId,
7398
+ },
7399
+ });
7400
+ }
7401
+ transformData(metricId, trId) {
7402
+ var _a;
7403
+ const serie = this.widgetData.series.find((s) => s.id === metricId);
7404
+ if (!serie) {
7405
+ return;
7406
+ }
7407
+ serie.transformer = (_a = this.transformers.get(trId)) === null || _a === void 0 ? void 0 : _a.transformer;
7408
+ if (serie.rawData) {
7409
+ if (serie.transformer === undefined) {
7410
+ // revert transformed data
7411
+ serie.data = serie.rawData;
7412
+ }
7413
+ else {
7414
+ this.transformSeriesData(serie);
7415
+ }
7416
+ }
7417
+ this.updateChartData();
7418
+ }
6548
7419
  }
6549
7420
  /** @nocollapse */ XYChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: XYChartComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: DATA_SOURCE, optional: true }, { token: TimeseriesScalesService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Injectable });
6550
7421
  /** @nocollapse */ XYChartComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: XYChartComponent });
6551
7422
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: XYChartComponent, decorators: [{
6552
7423
  type: Injectable
6553
- }], ctorParameters: function () { return [{ type: i2.EventBus, decorators: [{
7424
+ }], ctorParameters: function () { return [{ type: i3.EventBus, decorators: [{
6554
7425
  type: Inject,
6555
7426
  args: [PIZZAGNA_EVENT_BUS]
6556
7427
  }] }, { type: undefined, decorators: [{
@@ -6579,7 +7450,7 @@ class LineChartComponent extends XYChartComponent {
6579
7450
  }
6580
7451
  LineChartComponent.lateLoadKey = "LineChartComponent";
6581
7452
  /** @nocollapse */ LineChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: LineChartComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: DATA_SOURCE, optional: true }, { token: TimeseriesScalesService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
6582
- /** @nocollapse */ LineChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: LineChartComponent, selector: "nui-line-chart", usesInheritance: true, ngImport: i0, template: "<div class=\"nui-chart-layout h-100 px-3 py-3\">\n <div class=\"axis-label-left nui-text-small\">\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"\n ></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\"\n >\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \"\n >\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n >\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n legendSeries,\n 'y',\n 'tick',\n valueAccessorKey\n )\n \"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \"\n >\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \"\n >\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div\n description\n class=\"description-container d-flex flex-column nui-text-small justify-content-center\"\n >\n <div\n *ngIf=\"!legendSeries.link\"\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.link\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n <div\n class=\"description description-secondary\"\n *ngIf=\"!legendSeries.secondaryLink\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.secondaryLink\"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n </div>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#0079aa)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}\n"], components: [{ type: i2$1.ChartComponent, selector: "nui-chart", inputs: ["chart"] }, { type: i2$1.LegendComponent, selector: "nui-legend", inputs: ["active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { type: i2$1.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["isSelected", "active", "interactive", "seriesRenderState", "icon", "descriptionPrimary", "descriptionSecondary", "color"], outputs: ["isSelectedChange"] }, { type: i2$1.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "backgroundColor", "value", "color"] }, { type: i2$1.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["maxSize", "marker", "drawLine", "color"] }], directives: [{ type: i2$1.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
7453
+ /** @nocollapse */ LineChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: LineChartComponent, selector: "nui-line-chart", usesInheritance: true, ngImport: i0, template: "<div\n class=\"nui-chart-layout h-100\"\n [class.layout-fixed]=\"configuration.gridConfig?.fixedLayout\"\n>\n <div\n *ngIf=\"!configuration.gridConfig?.hideYAxisLabel\"\n class=\"axis-label-left nui-text-small\"\n >\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"\n ></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\"\n >\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \"\n >\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n >\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n legendSeries,\n 'y',\n 'tick',\n valueAccessorKey\n )\n \"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \"\n >\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \"\n >\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div description class=\"description-container\">\n <div class=\"description-text nui-text-small\">\n <div\n *ngIf=\"!legendSeries.link\"\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.link\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n <div\n class=\"description description-secondary\"\n *ngIf=\"!legendSeries.secondaryLink\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.secondaryLink\"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n </div>\n <nui-icon\n *ngIf=\"legendSeries.transformer\"\n icon=\"performance\"\n iconColor=\"primary-blue\"\n ></nui-icon>\n <nui-menu\n *ngIf=\"displayLegendMenu()\"\n icon=\"menu\"\n displayStyle=\"action\"\n class=\"legend-menu\"\n [appendToBody]=\"true\"\n >\n <nui-menu-group>\n <nui-menu-action\n i18n\n (actionDone)=\"removeMetric(legendSeries.id)\"\n >Remove</nui-menu-action\n >\n </nui-menu-group>\n <nui-menu-group header=\"Display Transforms\" i18n-header>\n <nui-menu-action\n *ngFor=\"let tr of transformers | nuiMapKeyValue\"\n [class.selected]=\"\n legendSeries.transformer?.name ===\n tr.value.transformer?.name\n \"\n (actionDone)=\"\n transformData(legendSeries.id, tr.key)\n \"\n >\n {{ tr.value.displayName }}\n </nui-menu-action>\n </nui-menu-group>\n </nui-menu>\n </div>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#0079aa)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}.layout-fixed .legend{max-width:250px;min-width:250px;padding-left:8px!important}.layout-fixed .legend nui-legend{margin:0!important;width:100%}.description-container{display:flex;align-items:center;flex-grow:1;padding-right:2px}.description-text{display:flex;flex-direction:column;justify-content:center;overflow:hidden}.legend-menu{opacity:0;display:none;margin-left:auto}nui-legend-series:hover .legend-menu{opacity:1;display:unset}nui-legend-series{width:100%}nui-icon{padding:0 5px}:host::ng-deep nui-legend-series div div:nth-child(2).d-flex{flex-grow:1;overflow:hidden}:host::ng-deep .nui-legend-series .description{min-width:unset}.selected{background-color:#00c4d21a}.selected:hover{background-color:#00c4d233}\n"], components: [{ type: i2.ChartComponent, selector: "nui-chart", inputs: ["chart"] }, { type: i2.LegendComponent, selector: "nui-legend", inputs: ["active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { type: i2.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["isSelected", "active", "interactive", "seriesRenderState", "icon", "descriptionPrimary", "descriptionSecondary", "color"], outputs: ["isSelectedChange"] }, { type: i2.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "backgroundColor", "value", "color"] }, { type: i2.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["maxSize", "marker", "drawLine", "color"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.MenuComponent, selector: "nui-menu", inputs: ["icon", "widthOfPopup", "contextClass", "appendToBody", "ariaLabel", "title", "size", "displayStyle", "isDisabled", "itemsSource"], outputs: ["blurred"] }, { type: i3.MenuGroupComponent, selector: "nui-menu-group", inputs: ["header"] }, { type: i3.MenuActionComponent, selector: "nui-menu-action", inputs: ["icon", "type"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "nuiMapKeyValue": i3.MapKeyValuePipe } });
6583
7454
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: LineChartComponent, decorators: [{
6584
7455
  type: Component,
6585
7456
  args: [{
@@ -6587,7 +7458,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
6587
7458
  templateUrl: "../xy-chart.component.html",
6588
7459
  styleUrls: ["../xy-chart.component.less"],
6589
7460
  }]
6590
- }], ctorParameters: function () { return [{ type: i2.EventBus, decorators: [{
7461
+ }], ctorParameters: function () { return [{ type: i3.EventBus, decorators: [{
6591
7462
  type: Inject,
6592
7463
  args: [PIZZAGNA_EVENT_BUS]
6593
7464
  }] }, { type: undefined, decorators: [{
@@ -6608,15 +7479,21 @@ class StackedAreaChartComponent extends XYChartComponent {
6608
7479
  return stackedAreaAccessors(colorProvider);
6609
7480
  }
6610
7481
  createChartAssist(palette) {
7482
+ var _a;
6611
7483
  const grid = areaGrid();
6612
- grid.config().axis.left.fit = true;
7484
+ const gridConfig = grid.config();
7485
+ gridConfig.axis.left.fit = true;
6613
7486
  const chart = new Chart(grid);
7487
+ if ((_a = this.configuration.gridConfig) === null || _a === void 0 ? void 0 : _a.hideYAxisTicksLabels) {
7488
+ gridConfig.axis.left.visible = false;
7489
+ gridConfig.axis.right.visible = false;
7490
+ }
6614
7491
  return new ChartAssist(chart, stackedArea, palette);
6615
7492
  }
6616
7493
  }
6617
7494
  StackedAreaChartComponent.lateLoadKey = "StackedAreaChartComponent";
6618
7495
  /** @nocollapse */ StackedAreaChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: StackedAreaChartComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: DATA_SOURCE, optional: true }, { token: TimeseriesScalesService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
6619
- /** @nocollapse */ StackedAreaChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: StackedAreaChartComponent, selector: "nui-stacked-area-chart", usesInheritance: true, ngImport: i0, template: "<div class=\"nui-chart-layout h-100 px-3 py-3\">\n <div class=\"axis-label-left nui-text-small\">\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"\n ></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\"\n >\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \"\n >\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n >\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n legendSeries,\n 'y',\n 'tick',\n valueAccessorKey\n )\n \"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \"\n >\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \"\n >\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div\n description\n class=\"description-container d-flex flex-column nui-text-small justify-content-center\"\n >\n <div\n *ngIf=\"!legendSeries.link\"\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.link\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n <div\n class=\"description description-secondary\"\n *ngIf=\"!legendSeries.secondaryLink\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.secondaryLink\"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n </div>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#0079aa)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}\n"], components: [{ type: i2$1.ChartComponent, selector: "nui-chart", inputs: ["chart"] }, { type: i2$1.LegendComponent, selector: "nui-legend", inputs: ["active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { type: i2$1.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["isSelected", "active", "interactive", "seriesRenderState", "icon", "descriptionPrimary", "descriptionSecondary", "color"], outputs: ["isSelectedChange"] }, { type: i2$1.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "backgroundColor", "value", "color"] }, { type: i2$1.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["maxSize", "marker", "drawLine", "color"] }], directives: [{ type: i2$1.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
7496
+ /** @nocollapse */ StackedAreaChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: StackedAreaChartComponent, selector: "nui-stacked-area-chart", usesInheritance: true, ngImport: i0, template: "<div\n class=\"nui-chart-layout h-100\"\n [class.layout-fixed]=\"configuration.gridConfig?.fixedLayout\"\n>\n <div\n *ngIf=\"!configuration.gridConfig?.hideYAxisLabel\"\n class=\"axis-label-left nui-text-small\"\n >\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"\n ></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\"\n >\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \"\n >\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n >\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n legendSeries,\n 'y',\n 'tick',\n valueAccessorKey\n )\n \"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \"\n >\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \"\n >\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div description class=\"description-container\">\n <div class=\"description-text nui-text-small\">\n <div\n *ngIf=\"!legendSeries.link\"\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.link\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n <div\n class=\"description description-secondary\"\n *ngIf=\"!legendSeries.secondaryLink\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.secondaryLink\"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n </div>\n <nui-icon\n *ngIf=\"legendSeries.transformer\"\n icon=\"performance\"\n iconColor=\"primary-blue\"\n ></nui-icon>\n <nui-menu\n *ngIf=\"displayLegendMenu()\"\n icon=\"menu\"\n displayStyle=\"action\"\n class=\"legend-menu\"\n [appendToBody]=\"true\"\n >\n <nui-menu-group>\n <nui-menu-action\n i18n\n (actionDone)=\"removeMetric(legendSeries.id)\"\n >Remove</nui-menu-action\n >\n </nui-menu-group>\n <nui-menu-group header=\"Display Transforms\" i18n-header>\n <nui-menu-action\n *ngFor=\"let tr of transformers | nuiMapKeyValue\"\n [class.selected]=\"\n legendSeries.transformer?.name ===\n tr.value.transformer?.name\n \"\n (actionDone)=\"\n transformData(legendSeries.id, tr.key)\n \"\n >\n {{ tr.value.displayName }}\n </nui-menu-action>\n </nui-menu-group>\n </nui-menu>\n </div>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#0079aa)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}.layout-fixed .legend{max-width:250px;min-width:250px;padding-left:8px!important}.layout-fixed .legend nui-legend{margin:0!important;width:100%}.description-container{display:flex;align-items:center;flex-grow:1;padding-right:2px}.description-text{display:flex;flex-direction:column;justify-content:center;overflow:hidden}.legend-menu{opacity:0;display:none;margin-left:auto}nui-legend-series:hover .legend-menu{opacity:1;display:unset}nui-legend-series{width:100%}nui-icon{padding:0 5px}:host::ng-deep nui-legend-series div div:nth-child(2).d-flex{flex-grow:1;overflow:hidden}:host::ng-deep .nui-legend-series .description{min-width:unset}.selected{background-color:#00c4d21a}.selected:hover{background-color:#00c4d233}\n"], components: [{ type: i2.ChartComponent, selector: "nui-chart", inputs: ["chart"] }, { type: i2.LegendComponent, selector: "nui-legend", inputs: ["active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { type: i2.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["isSelected", "active", "interactive", "seriesRenderState", "icon", "descriptionPrimary", "descriptionSecondary", "color"], outputs: ["isSelectedChange"] }, { type: i2.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "backgroundColor", "value", "color"] }, { type: i2.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["maxSize", "marker", "drawLine", "color"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.MenuComponent, selector: "nui-menu", inputs: ["icon", "widthOfPopup", "contextClass", "appendToBody", "ariaLabel", "title", "size", "displayStyle", "isDisabled", "itemsSource"], outputs: ["blurred"] }, { type: i3.MenuGroupComponent, selector: "nui-menu-group", inputs: ["header"] }, { type: i3.MenuActionComponent, selector: "nui-menu-action", inputs: ["icon", "type"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "nuiMapKeyValue": i3.MapKeyValuePipe } });
6620
7497
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: StackedAreaChartComponent, decorators: [{
6621
7498
  type: Component,
6622
7499
  args: [{
@@ -6624,7 +7501,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
6624
7501
  templateUrl: "../xy-chart.component.html",
6625
7502
  styleUrls: ["../xy-chart.component.less"],
6626
7503
  }]
6627
- }], ctorParameters: function () { return [{ type: i2.EventBus, decorators: [{
7504
+ }], ctorParameters: function () { return [{ type: i3.EventBus, decorators: [{
6628
7505
  type: Inject,
6629
7506
  args: [PIZZAGNA_EVENT_BUS]
6630
7507
  }] }, { type: undefined, decorators: [{
@@ -6664,13 +7541,14 @@ class StackedBarChartComponent extends XYChartComponent {
6664
7541
  }
6665
7542
  createChartAssist(palette) {
6666
7543
  const chart = new Chart(barGrid());
7544
+ chart.addPlugin(new InteractionLinePlugin());
6667
7545
  chart.addPlugin(new InteractionLabelPlugin());
6668
7546
  return new ChartAssist(chart, stack, palette);
6669
7547
  }
6670
7548
  }
6671
7549
  StackedBarChartComponent.lateLoadKey = "StackedBarChartComponent";
6672
7550
  /** @nocollapse */ StackedBarChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: StackedBarChartComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: DATA_SOURCE, optional: true }, { token: TimeseriesScalesService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
6673
- /** @nocollapse */ StackedBarChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: StackedBarChartComponent, selector: "nui-stacked-bar-chart", usesInheritance: true, ngImport: i0, template: "<div class=\"nui-chart-layout h-100 px-3 py-3\">\n <div class=\"axis-label-left nui-text-small\">\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"\n ></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\"\n >\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \"\n >\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n >\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n legendSeries,\n 'y',\n 'tick',\n valueAccessorKey\n )\n \"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \"\n >\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \"\n >\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div\n description\n class=\"description-container d-flex flex-column nui-text-small justify-content-center\"\n >\n <div\n *ngIf=\"!legendSeries.link\"\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.link\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n <div\n class=\"description description-secondary\"\n *ngIf=\"!legendSeries.secondaryLink\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.secondaryLink\"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n </div>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#0079aa)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}\n"], components: [{ type: i2$1.ChartComponent, selector: "nui-chart", inputs: ["chart"] }, { type: i2$1.LegendComponent, selector: "nui-legend", inputs: ["active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { type: i2$1.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["isSelected", "active", "interactive", "seriesRenderState", "icon", "descriptionPrimary", "descriptionSecondary", "color"], outputs: ["isSelectedChange"] }, { type: i2$1.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "backgroundColor", "value", "color"] }, { type: i2$1.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["maxSize", "marker", "drawLine", "color"] }], directives: [{ type: i2$1.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
7551
+ /** @nocollapse */ StackedBarChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: StackedBarChartComponent, selector: "nui-stacked-bar-chart", usesInheritance: true, ngImport: i0, template: "<div\n class=\"nui-chart-layout h-100\"\n [class.layout-fixed]=\"configuration.gridConfig?.fixedLayout\"\n>\n <div\n *ngIf=\"!configuration.gridConfig?.hideYAxisLabel\"\n class=\"axis-label-left nui-text-small\"\n >\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"\n ></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\"\n >\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \"\n >\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n >\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n legendSeries,\n 'y',\n 'tick',\n valueAccessorKey\n )\n \"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \"\n >\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \"\n >\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div description class=\"description-container\">\n <div class=\"description-text nui-text-small\">\n <div\n *ngIf=\"!legendSeries.link\"\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.link\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n <div\n class=\"description description-secondary\"\n *ngIf=\"!legendSeries.secondaryLink\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.secondaryLink\"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n </div>\n <nui-icon\n *ngIf=\"legendSeries.transformer\"\n icon=\"performance\"\n iconColor=\"primary-blue\"\n ></nui-icon>\n <nui-menu\n *ngIf=\"displayLegendMenu()\"\n icon=\"menu\"\n displayStyle=\"action\"\n class=\"legend-menu\"\n [appendToBody]=\"true\"\n >\n <nui-menu-group>\n <nui-menu-action\n i18n\n (actionDone)=\"removeMetric(legendSeries.id)\"\n >Remove</nui-menu-action\n >\n </nui-menu-group>\n <nui-menu-group header=\"Display Transforms\" i18n-header>\n <nui-menu-action\n *ngFor=\"let tr of transformers | nuiMapKeyValue\"\n [class.selected]=\"\n legendSeries.transformer?.name ===\n tr.value.transformer?.name\n \"\n (actionDone)=\"\n transformData(legendSeries.id, tr.key)\n \"\n >\n {{ tr.value.displayName }}\n </nui-menu-action>\n </nui-menu-group>\n </nui-menu>\n </div>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#0079aa)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}.layout-fixed .legend{max-width:250px;min-width:250px;padding-left:8px!important}.layout-fixed .legend nui-legend{margin:0!important;width:100%}.description-container{display:flex;align-items:center;flex-grow:1;padding-right:2px}.description-text{display:flex;flex-direction:column;justify-content:center;overflow:hidden}.legend-menu{opacity:0;display:none;margin-left:auto}nui-legend-series:hover .legend-menu{opacity:1;display:unset}nui-legend-series{width:100%}nui-icon{padding:0 5px}:host::ng-deep nui-legend-series div div:nth-child(2).d-flex{flex-grow:1;overflow:hidden}:host::ng-deep .nui-legend-series .description{min-width:unset}.selected{background-color:#00c4d21a}.selected:hover{background-color:#00c4d233}\n"], components: [{ type: i2.ChartComponent, selector: "nui-chart", inputs: ["chart"] }, { type: i2.LegendComponent, selector: "nui-legend", inputs: ["active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { type: i2.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["isSelected", "active", "interactive", "seriesRenderState", "icon", "descriptionPrimary", "descriptionSecondary", "color"], outputs: ["isSelectedChange"] }, { type: i2.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "backgroundColor", "value", "color"] }, { type: i2.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["maxSize", "marker", "drawLine", "color"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.MenuComponent, selector: "nui-menu", inputs: ["icon", "widthOfPopup", "contextClass", "appendToBody", "ariaLabel", "title", "size", "displayStyle", "isDisabled", "itemsSource"], outputs: ["blurred"] }, { type: i3.MenuGroupComponent, selector: "nui-menu-group", inputs: ["header"] }, { type: i3.MenuActionComponent, selector: "nui-menu-action", inputs: ["icon", "type"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "nuiMapKeyValue": i3.MapKeyValuePipe } });
6674
7552
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: StackedBarChartComponent, decorators: [{
6675
7553
  type: Component,
6676
7554
  args: [{
@@ -6678,7 +7556,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
6678
7556
  templateUrl: "../xy-chart.component.html",
6679
7557
  styleUrls: ["../xy-chart.component.less"],
6680
7558
  }]
6681
- }], ctorParameters: function () { return [{ type: i2.EventBus, decorators: [{
7559
+ }], ctorParameters: function () { return [{ type: i3.EventBus, decorators: [{
6682
7560
  type: Inject,
6683
7561
  args: [PIZZAGNA_EVENT_BUS]
6684
7562
  }] }, { type: undefined, decorators: [{
@@ -6707,7 +7585,7 @@ class StackedPercentageAreaChartComponent extends XYChartComponent {
6707
7585
  }
6708
7586
  StackedPercentageAreaChartComponent.lateLoadKey = "StackedPercentageAreaChartComponent";
6709
7587
  /** @nocollapse */ StackedPercentageAreaChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: StackedPercentageAreaChartComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: DATA_SOURCE, optional: true }, { token: TimeseriesScalesService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
6710
- /** @nocollapse */ StackedPercentageAreaChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: StackedPercentageAreaChartComponent, selector: "nui-stacked-percentage-area-chart", usesInheritance: true, ngImport: i0, template: "<div class=\"nui-chart-layout h-100 px-3 py-3\">\n <div class=\"axis-label-left nui-text-small\">\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"\n ></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\"\n >\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \"\n >\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n >\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n legendSeries,\n 'y',\n 'tick',\n valueAccessorKey\n )\n \"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \"\n >\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \"\n >\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div\n description\n class=\"description-container d-flex flex-column nui-text-small justify-content-center\"\n >\n <div\n *ngIf=\"!legendSeries.link\"\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.link\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n <div\n class=\"description description-secondary\"\n *ngIf=\"!legendSeries.secondaryLink\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.secondaryLink\"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n </div>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#0079aa)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}\n"], components: [{ type: i2$1.ChartComponent, selector: "nui-chart", inputs: ["chart"] }, { type: i2$1.LegendComponent, selector: "nui-legend", inputs: ["active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { type: i2$1.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["isSelected", "active", "interactive", "seriesRenderState", "icon", "descriptionPrimary", "descriptionSecondary", "color"], outputs: ["isSelectedChange"] }, { type: i2$1.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "backgroundColor", "value", "color"] }, { type: i2$1.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["maxSize", "marker", "drawLine", "color"] }], directives: [{ type: i2$1.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
7588
+ /** @nocollapse */ StackedPercentageAreaChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: StackedPercentageAreaChartComponent, selector: "nui-stacked-percentage-area-chart", usesInheritance: true, ngImport: i0, template: "<div\n class=\"nui-chart-layout h-100\"\n [class.layout-fixed]=\"configuration.gridConfig?.fixedLayout\"\n>\n <div\n *ngIf=\"!configuration.gridConfig?.hideYAxisLabel\"\n class=\"axis-label-left nui-text-small\"\n >\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"\n ></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\"\n >\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \"\n >\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n >\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n legendSeries,\n 'y',\n 'tick',\n valueAccessorKey\n )\n \"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \"\n >\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \"\n >\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div description class=\"description-container\">\n <div class=\"description-text nui-text-small\">\n <div\n *ngIf=\"!legendSeries.link\"\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.link\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n <div\n class=\"description description-secondary\"\n *ngIf=\"!legendSeries.secondaryLink\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.secondaryLink\"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n </div>\n <nui-icon\n *ngIf=\"legendSeries.transformer\"\n icon=\"performance\"\n iconColor=\"primary-blue\"\n ></nui-icon>\n <nui-menu\n *ngIf=\"displayLegendMenu()\"\n icon=\"menu\"\n displayStyle=\"action\"\n class=\"legend-menu\"\n [appendToBody]=\"true\"\n >\n <nui-menu-group>\n <nui-menu-action\n i18n\n (actionDone)=\"removeMetric(legendSeries.id)\"\n >Remove</nui-menu-action\n >\n </nui-menu-group>\n <nui-menu-group header=\"Display Transforms\" i18n-header>\n <nui-menu-action\n *ngFor=\"let tr of transformers | nuiMapKeyValue\"\n [class.selected]=\"\n legendSeries.transformer?.name ===\n tr.value.transformer?.name\n \"\n (actionDone)=\"\n transformData(legendSeries.id, tr.key)\n \"\n >\n {{ tr.value.displayName }}\n </nui-menu-action>\n </nui-menu-group>\n </nui-menu>\n </div>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#0079aa)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}.layout-fixed .legend{max-width:250px;min-width:250px;padding-left:8px!important}.layout-fixed .legend nui-legend{margin:0!important;width:100%}.description-container{display:flex;align-items:center;flex-grow:1;padding-right:2px}.description-text{display:flex;flex-direction:column;justify-content:center;overflow:hidden}.legend-menu{opacity:0;display:none;margin-left:auto}nui-legend-series:hover .legend-menu{opacity:1;display:unset}nui-legend-series{width:100%}nui-icon{padding:0 5px}:host::ng-deep nui-legend-series div div:nth-child(2).d-flex{flex-grow:1;overflow:hidden}:host::ng-deep .nui-legend-series .description{min-width:unset}.selected{background-color:#00c4d21a}.selected:hover{background-color:#00c4d233}\n"], components: [{ type: i2.ChartComponent, selector: "nui-chart", inputs: ["chart"] }, { type: i2.LegendComponent, selector: "nui-legend", inputs: ["active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { type: i2.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["isSelected", "active", "interactive", "seriesRenderState", "icon", "descriptionPrimary", "descriptionSecondary", "color"], outputs: ["isSelectedChange"] }, { type: i2.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "backgroundColor", "value", "color"] }, { type: i2.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["maxSize", "marker", "drawLine", "color"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.MenuComponent, selector: "nui-menu", inputs: ["icon", "widthOfPopup", "contextClass", "appendToBody", "ariaLabel", "title", "size", "displayStyle", "isDisabled", "itemsSource"], outputs: ["blurred"] }, { type: i3.MenuGroupComponent, selector: "nui-menu-group", inputs: ["header"] }, { type: i3.MenuActionComponent, selector: "nui-menu-action", inputs: ["icon", "type"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "nuiMapKeyValue": i3.MapKeyValuePipe } });
6711
7589
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: StackedPercentageAreaChartComponent, decorators: [{
6712
7590
  type: Component,
6713
7591
  args: [{
@@ -6715,7 +7593,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
6715
7593
  templateUrl: "../xy-chart.component.html",
6716
7594
  styleUrls: ["../xy-chart.component.less"],
6717
7595
  }]
6718
- }], ctorParameters: function () { return [{ type: i2.EventBus, decorators: [{
7596
+ }], ctorParameters: function () { return [{ type: i3.EventBus, decorators: [{
6719
7597
  type: Inject,
6720
7598
  args: [PIZZAGNA_EVENT_BUS]
6721
7599
  }] }, { type: undefined, decorators: [{
@@ -6783,11 +7661,12 @@ class TimeseriesWidgetComponent {
6783
7661
  }
6784
7662
  TimeseriesWidgetComponent.lateLoadKey = "TimeseriesWidgetComponent";
6785
7663
  /** @nocollapse */ TimeseriesWidgetComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TimeseriesWidgetComponent, deps: [{ token: TimeseriesChartPresetService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
6786
- /** @nocollapse */ TimeseriesWidgetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: TimeseriesWidgetComponent, selector: "nui-timeseries-widget", inputs: { widgetData: "widgetData", configuration: "configuration", collectionId: "collectionId", elementClass: "elementClass" }, host: { properties: { "class": "this.elementClass" } }, usesOnChanges: true, ngImport: i0, template: "<div class=\"h-100\" *ngIf=\"shouldShowChart()\">\n <ng-container\n nuiComponentPortal\n componentId=\"timeseriesWidgetChart\"\n [componentType]=\"chartPreset.componentType\"\n [properties]=\"{\n widgetData: widgetData,\n configuration: configuration,\n collectionId: collectionId || configuration?.collectionId\n }\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n >\n </ng-template>\n </ng-container>\n</div>\n<div *ngIf=\"!shouldShowChart()\">\n <nui-image image=\"no-data-to-show\"></nui-image>\n</div>\n", components: [{ type: i2.ImageComponent, selector: "nui-image", inputs: ["width", "height", "image", "description", "float", "margin", "isWatermark", "autoFill"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }] });
7664
+ /** @nocollapse */ TimeseriesWidgetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: TimeseriesWidgetComponent, selector: "nui-timeseries-widget", inputs: { widgetData: "widgetData", configuration: "configuration", collectionId: "collectionId", elementClass: "elementClass" }, host: { properties: { "class": "this.elementClass" } }, usesOnChanges: true, ngImport: i0, template: "<div class=\"h-100 timeseries-widget-content\" *ngIf=\"shouldShowChart()\">\n <ng-container\n nuiComponentPortal\n componentId=\"timeseriesWidgetChart\"\n [componentType]=\"chartPreset.componentType\"\n [properties]=\"{\n widgetData: widgetData,\n configuration: configuration,\n collectionId: collectionId || configuration?.collectionId\n }\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n >\n </ng-template>\n </ng-container>\n</div>\n<div *ngIf=\"!shouldShowChart()\">\n <nui-image image=\"no-data-to-show\"></nui-image>\n</div>\n", styles: [".timeseries-widget-content{padding:10px}\n"], components: [{ type: i3.ImageComponent, selector: "nui-image", inputs: ["width", "height", "image", "description", "float", "margin", "isWatermark", "autoFill"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }] });
6787
7665
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TimeseriesWidgetComponent, decorators: [{
6788
7666
  type: Component,
6789
7667
  args: [{
6790
7668
  selector: "nui-timeseries-widget",
7669
+ styleUrls: ["./timeseries-widget.component.less"],
6791
7670
  templateUrl: "./timeseries-widget.component.html",
6792
7671
  }]
6793
7672
  }], ctorParameters: function () { return [{ type: TimeseriesChartPresetService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { widgetData: [{
@@ -6873,7 +7752,7 @@ class WidgetSearchComponent {
6873
7752
  WidgetSearchComponent.lateLoadKey = "WidgetSearchComponent";
6874
7753
  WidgetSearchComponent.defaultSearchDebounce = 500;
6875
7754
  /** @nocollapse */ WidgetSearchComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: WidgetSearchComponent, deps: [{ token: DATA_SOURCE, optional: true }, { token: PIZZAGNA_EVENT_BUS }], target: i0.ɵɵFactoryTarget.Component });
6876
- /** @nocollapse */ WidgetSearchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: WidgetSearchComponent, selector: "nui-widget-search", inputs: { configuration: "configuration", searchValue: "searchValue" }, host: { properties: { "class.default": "enabled", "class.invisible": "!enabled" } }, usesOnChanges: true, ngImport: i0, template: "<nui-search\n class=\"unlimited-width\"\n *ngIf=\"enabled\"\n [value]=\"searchValue\"\n (inputChange)=\"onSearchInputChanged($event)\"\n (cancel)=\"onSearch($event)\"\n (search)=\"onSearch($event)\"\n></nui-search>\n", styles: [":host.default{padding:5px 10px}:host.invisible{height:0}\n"], components: [{ type: i2.SearchComponent, selector: "nui-search", inputs: ["value", "captureFocus", "name", "placeholder"], outputs: ["cancel", "focusChange", "inputChange", "search"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
7755
+ /** @nocollapse */ WidgetSearchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: WidgetSearchComponent, selector: "nui-widget-search", inputs: { configuration: "configuration", searchValue: "searchValue" }, host: { properties: { "class.default": "enabled", "class.invisible": "!enabled" } }, usesOnChanges: true, ngImport: i0, template: "<nui-search\n class=\"unlimited-width\"\n *ngIf=\"enabled\"\n [value]=\"searchValue\"\n (inputChange)=\"onSearchInputChanged($event)\"\n (cancel)=\"onSearch($event)\"\n (search)=\"onSearch($event)\"\n></nui-search>\n", styles: [":host.default{padding:5px 10px}:host.invisible{height:0}\n"], components: [{ type: i3.SearchComponent, selector: "nui-search", inputs: ["value", "captureFocus", "name", "placeholder"], outputs: ["cancel", "focusChange", "inputChange", "search"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
6877
7756
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: WidgetSearchComponent, decorators: [{
6878
7757
  type: Component,
6879
7758
  args: [{
@@ -6888,7 +7767,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
6888
7767
  }, {
6889
7768
  type: Inject,
6890
7769
  args: [DATA_SOURCE]
6891
- }] }, { type: i2.EventBus, decorators: [{
7770
+ }] }, { type: i3.EventBus, decorators: [{
6892
7771
  type: Inject,
6893
7772
  args: [PIZZAGNA_EVENT_BUS]
6894
7773
  }] }]; }, propDecorators: { configuration: [{
@@ -6952,7 +7831,7 @@ class WidgetBodyContentComponent extends BaseLayout {
6952
7831
  }
6953
7832
  }
6954
7833
  WidgetBodyContentComponent.lateLoadKey = "WidgetBodyContentComponent";
6955
- /** @nocollapse */ WidgetBodyContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: WidgetBodyContentComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: PizzagnaService }, { token: i2.LoggerService }], target: i0.ɵɵFactoryTarget.Component });
7834
+ /** @nocollapse */ WidgetBodyContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: WidgetBodyContentComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: PizzagnaService }, { token: i3.LoggerService }], target: i0.ɵɵFactoryTarget.Component });
6956
7835
  /** @nocollapse */ WidgetBodyContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: WidgetBodyContentComponent, selector: "nui-widget-body-content", inputs: { componentId: "componentId", primaryContent: "primaryContent", fallbackKey: "fallbackKey", fallbackMap: "fallbackMap", elementClass: "elementClass" }, host: { properties: { "class": "this.classNames" } }, usesInheritance: true, ngImport: i0, template: "<div\n class=\"h-100\"\n [ngClass]=\"{ 'd-none': fallbackKey, 'd-flex': !fallbackKey }\"\n>\n <ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n [componentId]=\"nodeConfigs[0].id\"\n [componentType]=\"nodeConfigs[0].componentType\"\n [providers]=\"nodeConfigs[0].providers\"\n [properties]=\"nodeConfigs[0].properties\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n</div>\n<div class=\"d-flex h-100\" *ngIf=\"fallbackKey\">\n <ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n [componentId]=\"nodeConfigs[1].id\"\n [componentType]=\"nodeConfigs[1].componentType\"\n [providers]=\"nodeConfigs[1].providers\"\n [properties]=\"nodeConfigs[1].properties\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n</div>\n", directives: [{ type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
6957
7836
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: WidgetBodyContentComponent, decorators: [{
6958
7837
  type: Component,
@@ -6960,7 +7839,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
6960
7839
  selector: "nui-widget-body-content",
6961
7840
  templateUrl: "./widget-body-content.component.html",
6962
7841
  }]
6963
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: PizzagnaService }, { type: i2.LoggerService }]; }, propDecorators: { componentId: [{
7842
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: PizzagnaService }, { type: i3.LoggerService }]; }, propDecorators: { componentId: [{
6964
7843
  type: Input
6965
7844
  }], primaryContent: [{
6966
7845
  type: Input
@@ -7010,7 +7889,7 @@ class WidgetBodyComponent extends BaseLayout {
7010
7889
  }
7011
7890
  }
7012
7891
  WidgetBodyComponent.lateLoadKey = "WidgetBodyComponent";
7013
- /** @nocollapse */ WidgetBodyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: WidgetBodyComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: i0.ChangeDetectorRef }, { token: PizzagnaService }, { token: i2.LoggerService }], target: i0.ɵɵFactoryTarget.Component });
7892
+ /** @nocollapse */ WidgetBodyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: WidgetBodyComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: i0.ChangeDetectorRef }, { token: PizzagnaService }, { token: i3.LoggerService }], target: i0.ɵɵFactoryTarget.Component });
7014
7893
  /** @nocollapse */ WidgetBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: WidgetBodyComponent, selector: "nui-widget-body", inputs: { componentId: "componentId", editMode: "editMode", content: "content", elementClass: "elementClass" }, host: { properties: { "class": "this.classNames" } }, usesInheritance: true, ngImport: i0, template: "<nui-preview-overlay *ngIf=\"editMode\"></nui-preview-overlay>\n<ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n [componentId]=\"nodeConfigs[0].id\"\n [componentType]=\"nodeConfigs[0].componentType\"\n [providers]=\"nodeConfigs[0].providers\"\n [properties]=\"nodeConfigs[0].properties\"\n>\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n</ng-container>\n", styles: [":host{position:relative}\n"], components: [{ type: PreviewOverlayComponent, selector: "nui-preview-overlay" }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }] });
7015
7894
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: WidgetBodyComponent, decorators: [{
7016
7895
  type: Component,
@@ -7019,10 +7898,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
7019
7898
  templateUrl: "./widget-body.component.html",
7020
7899
  styleUrls: ["./widget-body.component.less"],
7021
7900
  }]
7022
- }], ctorParameters: function () { return [{ type: i2.EventBus, decorators: [{
7901
+ }], ctorParameters: function () { return [{ type: i3.EventBus, decorators: [{
7023
7902
  type: Inject,
7024
7903
  args: [PIZZAGNA_EVENT_BUS]
7025
- }] }, { type: i0.ChangeDetectorRef }, { type: PizzagnaService }, { type: i2.LoggerService }]; }, propDecorators: { componentId: [{
7904
+ }] }, { type: i0.ChangeDetectorRef }, { type: PizzagnaService }, { type: i3.LoggerService }]; }, propDecorators: { componentId: [{
7026
7905
  type: Input
7027
7906
  }], editMode: [{
7028
7907
  type: Input
@@ -7145,7 +8024,7 @@ class WidgetHeaderComponent {
7145
8024
  }
7146
8025
  WidgetHeaderComponent.lateLoadKey = "WidgetHeaderComponent";
7147
8026
  /** @nocollapse */ WidgetHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: WidgetHeaderComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: PizzagnaService }, { token: i0.ChangeDetectorRef }, { token: WidgetToDashboardEventProxyService, optional: true }, { token: HEADER_LINK_PROVIDER, optional: true }], target: i0.ɵɵFactoryTarget.Component });
7148
- /** @nocollapse */ WidgetHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: WidgetHeaderComponent, selector: "nui-widget-header", inputs: { componentId: "componentId", editMode: "editMode", editable: "editable", removable: "removable", collapsible: "collapsible", reloadable: "reloadable", title: "title", subtitle: "subtitle", hideMenu: "hideMenu", url: "url", collapsed: "collapsed" }, host: { properties: { "class.nui-widget-header": "this.hostClass" } }, viewQueries: [{ propertyName: "widgetHeaderCustomElement", first: true, predicate: ["widgetHeaderCustomElement"], descendants: true }], ngImport: i0, template: "<div class=\"nui-widget__header\">\n <div\n class=\"nui-widget__header__container\"\n [class.nui-widget__header__container--collapsible]=\"collapsible\"\n [class.nui-widget__header__container--collapsed]=\"\n collapsible && collapsed\n \"\n [class.nui-widget__header__container--expanded]=\"\n collapsible && !collapsed\n \"\n [@expandedState]=\"state\"\n >\n <div\n *ngIf=\"collapsed && collapsible\"\n class=\"collapse-container\"\n (click)=\"toggleCollapsed()\"\n >\n <span class=\"collapse-container__line\"></span>\n </div>\n <div class=\"nui-widget__header__content\">\n <div\n *ngIf=\"editMode\"\n class=\"nui-widget__header__content-drag-icon nui-dashboard__widget--drag-handle\"\n >\n <nui-icon icon=\"drag\" iconColor=\"gray\"></nui-icon>\n </div>\n <div\n #widgetHeaderCustomElement\n class=\"nui-widget__header__content-custom-element\"\n >\n <ng-content></ng-content>\n </div>\n <div\n class=\"nui-widget__header__content-title-container nui-dashboard__widget--drag-handle\"\n [class.nui-widget__header__content-title-with-additional-content]=\"\n withCustomElement || editMode\n \"\n >\n <!-- text only header with no url defined -->\n <div\n class=\"nui-text-widget nui-widget__header__content-title\"\n [title]=\"title\"\n *ngIf=\"!url || editMode\"\n >\n {{ title }}\n </div>\n\n <!-- link version of the header -->\n <div *ngIf=\"url && !editMode\">\n <a\n [href]=\"url\"\n (click)=\"prepareLink($event)\"\n (mouseenter)=\"prepareLink($event)\"\n (mousedown)=\"\n $event.stopPropagation(); $event.preventDefault()\n \"\n class=\"nui-text-widget nui-widget__header__content-title\"\n [nuiTooltip]=\"linkTooltip\"\n >{{ title }}</a\n >\n </div>\n\n <div\n *ngIf=\"subtitle\"\n class=\"nui-text-hint nui-widget__header__content-help-hint\"\n [title]=\"subtitle\"\n >\n {{ subtitle }}\n </div>\n </div>\n <div class=\"nui-widget__header__content-actions\">\n <a\n *ngIf=\"url && !editMode\"\n nui-button\n displayStyle=\"action\"\n [href]=\"url\"\n (click)=\"prepareLink($event)\"\n (mouseenter)=\"prepareLink($event)\"\n icon=\"external-link\"\n [nuiTooltip]=\"linkTooltip\"\n (mousedown)=\"\n $event.stopPropagation(); $event.preventDefault()\n \"\n >\n </a>\n <button\n *ngIf=\"editable && editMode\"\n class=\"nui-widget-header__action-edit\"\n nui-button\n type=\"button\"\n displayStyle=\"action\"\n icon=\"edit\"\n nuiTooltip=\"Edit widget\"\n i18n-nuiTooltip\n (click)=\"onEditWidget()\"\n ></button>\n <button\n *ngIf=\"collapsible && !editMode\"\n class=\"nui-widget-header__action-toggle-collapsed\"\n nui-button\n type=\"button\"\n displayStyle=\"action\"\n nuiTooltip=\"Collapse header\"\n icon=\"double-caret-up\"\n (click)=\"toggleCollapsed()\"\n ></button>\n <nui-menu\n *ngIf=\"!hideMenu && !editMode\"\n class=\"nui-widget__header__content-actions__menu\"\n icon=\"menu\"\n displayStyle=\"action\"\n [appendToBody]=\"true\"\n >\n <nui-menu-action\n *ngIf=\"reloadable\"\n (actionDone)=\"onReloadData()\"\n >\n <nui-icon icon=\"reload\"></nui-icon>\n <span i18n>Reload data</span>\n </nui-menu-action>\n </nui-menu>\n <!--TODO: After NUI-3431 should be changed to regular menu instead of popup-->\n <nui-popup\n class=\"nui-widget-header__action-remove\"\n [appendToBody]=\"true\"\n *ngIf=\"removable && editMode\"\n >\n <span nuiTooltip=\"Remove widget\" i18n-nuiTooltip>\n <button\n nui-button\n nuiPopupToggle\n type=\"button\"\n icon=\"remove\"\n iconColor=\"red\"\n displayStyle=\"action\"\n i18n\n ></button>\n </span>\n <div popupAreaContent class=\"nui-menu\">\n <nui-menu-action\n type=\"destructive\"\n (actionDone)=\"removeWidget()\"\n i18n\n >Remove Widget</nui-menu-action\n >\n </div>\n </nui-popup>\n </div>\n </div>\n </div>\n <div *ngIf=\"collapsible\" class=\"collapse-spacer\"></div>\n</div>\n", styles: [".nui-widget__header{display:flex;position:relative}.nui-widget__header .collapse-spacer{margin-bottom:15px}.nui-widget__header__container{z-index:500;width:100%}.nui-widget__header__container--collapsible{width:100%}.nui-widget__header__container--collapsed .nui-widget__header__content{opacity:0;visibility:hidden}.nui-widget__header__container .collapse-container{width:100%;display:flex;justify-content:center;cursor:pointer}.nui-widget__header__container .collapse-container__line{width:16px;height:1px;background:var(--nui-color-line-active,#0079aa);margin:5px 0;cursor:pointer}.nui-widget__header__container .nui-widget__header__content{align-items:flex-start;display:flex;opacity:1}.nui-widget__header__container .nui-widget__header__content-drag-icon{align-items:center;cursor:move;display:flex;height:30px;justify-content:center;margin:5px;width:30px}.nui-widget__header__container .nui-widget__header__content-title{display:block;max-width:100%;white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis}.nui-widget__header__container .nui-widget__header__content-title-container{flex:1;min-width:0;padding:10px 0 5px 10px}.nui-widget__header__container .nui-widget__header__content-title-with-additional-content{padding-left:0}.nui-widget__header__container .nui-widget__header__content-help-hint{max-width:100%;white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis}.nui-widget__header__container .nui-widget__header__content-actions{display:flex;padding:5px 10px 0 5px}\n"], components: [{ type: i2.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i2.ButtonComponent, selector: "[nui-button]", inputs: ["ariaLabel", "isRepeat", "iconColor", "size", "displayStyle", "icon", "iconRight", "isBusy", "isEmpty"] }, { type: i2.MenuComponent, selector: "nui-menu", inputs: ["icon", "widthOfPopup", "contextClass", "appendToBody", "ariaLabel", "title", "size", "displayStyle", "isDisabled", "itemsSource"], outputs: ["blurred"] }, { type: i2.MenuActionComponent, selector: "nui-menu-action", inputs: ["icon", "type"] }, { type: i2.PopupComponent, selector: "nui-popup", inputs: ["width", "appendToBody", "ariaLabel", "overlayConfig", "isOpen", "visible", "contextClass", "directionTop", "directionRight", "manualOpenControl", "baseElementSelector", "isHostToggleRef"], outputs: ["opened"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.TooltipDirective, selector: "[nuiTooltip]", inputs: ["tooltipPlacement", "nuiTooltipDisabled", "nuiTooltip"], exportAs: ["nuiTooltip"] }, { type: i2.PopupToggleDirective, selector: "[nuiPopupToggle]", inputs: ["isDisabled", "disabled"], outputs: ["toggle"] }], animations: [
8027
+ /** @nocollapse */ WidgetHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: WidgetHeaderComponent, selector: "nui-widget-header", inputs: { componentId: "componentId", editMode: "editMode", editable: "editable", removable: "removable", collapsible: "collapsible", reloadable: "reloadable", title: "title", subtitle: "subtitle", hideMenu: "hideMenu", url: "url", collapsed: "collapsed" }, host: { properties: { "class.nui-widget-header": "this.hostClass" } }, viewQueries: [{ propertyName: "widgetHeaderCustomElement", first: true, predicate: ["widgetHeaderCustomElement"], descendants: true }], ngImport: i0, template: "<div class=\"nui-widget__header\">\n <div\n class=\"nui-widget__header__container\"\n [class.nui-widget__header__container--collapsible]=\"collapsible\"\n [class.nui-widget__header__container--collapsed]=\"\n collapsible && collapsed\n \"\n [class.nui-widget__header__container--expanded]=\"\n collapsible && !collapsed\n \"\n [@expandedState]=\"state\"\n >\n <div\n *ngIf=\"collapsed && collapsible\"\n class=\"collapse-container\"\n (click)=\"toggleCollapsed()\"\n >\n <span class=\"collapse-container__line\"></span>\n </div>\n <div class=\"nui-widget__header__content\">\n <div\n *ngIf=\"editMode\"\n class=\"nui-widget__header__content-drag-icon nui-dashboard__widget--drag-handle\"\n >\n <nui-icon icon=\"drag\" iconColor=\"gray\"></nui-icon>\n </div>\n <div\n #widgetHeaderCustomElement\n class=\"nui-widget__header__content-custom-element\"\n >\n <ng-content></ng-content>\n </div>\n <div\n class=\"nui-widget__header__content-title-container nui-dashboard__widget--drag-handle\"\n [class.nui-widget__header__content-title-with-additional-content]=\"\n withCustomElement || editMode\n \"\n >\n <!-- text only header with no url defined -->\n <div\n class=\"nui-text-widget nui-widget__header__content-title\"\n [title]=\"title\"\n *ngIf=\"!url || editMode\"\n >\n {{ title }}\n </div>\n\n <!-- link version of the header -->\n <div *ngIf=\"url && !editMode\">\n <a\n [href]=\"url\"\n (click)=\"prepareLink($event)\"\n (mouseenter)=\"prepareLink($event)\"\n (mousedown)=\"\n $event.stopPropagation(); $event.preventDefault()\n \"\n class=\"nui-text-widget nui-widget__header__content-title\"\n [nuiTooltip]=\"linkTooltip\"\n >{{ title }}</a\n >\n </div>\n\n <div\n *ngIf=\"subtitle\"\n class=\"nui-text-hint nui-widget__header__content-help-hint\"\n [title]=\"subtitle\"\n >\n {{ subtitle }}\n </div>\n </div>\n <div class=\"nui-widget__header__content-actions\">\n <a\n *ngIf=\"url && !editMode\"\n nui-button\n displayStyle=\"action\"\n [href]=\"url\"\n (click)=\"prepareLink($event)\"\n (mouseenter)=\"prepareLink($event)\"\n icon=\"external-link\"\n [nuiTooltip]=\"linkTooltip\"\n (mousedown)=\"\n $event.stopPropagation(); $event.preventDefault()\n \"\n >\n </a>\n <button\n *ngIf=\"editable && editMode\"\n class=\"nui-widget-header__action-edit\"\n nui-button\n type=\"button\"\n displayStyle=\"action\"\n icon=\"edit\"\n nuiTooltip=\"Edit widget\"\n i18n-nuiTooltip\n (click)=\"onEditWidget()\"\n ></button>\n <button\n *ngIf=\"collapsible && !editMode\"\n class=\"nui-widget-header__action-toggle-collapsed\"\n nui-button\n type=\"button\"\n displayStyle=\"action\"\n nuiTooltip=\"Collapse header\"\n icon=\"double-caret-up\"\n (click)=\"toggleCollapsed()\"\n ></button>\n <nui-menu\n *ngIf=\"!hideMenu && !editMode\"\n class=\"nui-widget__header__content-actions__menu\"\n icon=\"menu\"\n displayStyle=\"action\"\n [appendToBody]=\"true\"\n >\n <nui-menu-action\n *ngIf=\"reloadable\"\n (actionDone)=\"onReloadData()\"\n >\n <nui-icon icon=\"reload\"></nui-icon>\n <span i18n>Reload data</span>\n </nui-menu-action>\n </nui-menu>\n <!--TODO: After NUI-3431 should be changed to regular menu instead of popup-->\n <nui-popup\n class=\"nui-widget-header__action-remove\"\n [appendToBody]=\"true\"\n *ngIf=\"removable && editMode\"\n >\n <span nuiTooltip=\"Remove widget\" i18n-nuiTooltip>\n <button\n nui-button\n nuiPopupToggle\n type=\"button\"\n icon=\"remove\"\n iconColor=\"red\"\n displayStyle=\"action\"\n i18n\n ></button>\n </span>\n <div popupAreaContent class=\"nui-menu\">\n <nui-menu-action\n type=\"destructive\"\n (actionDone)=\"removeWidget()\"\n i18n\n >Remove Widget</nui-menu-action\n >\n </div>\n </nui-popup>\n </div>\n </div>\n </div>\n <div *ngIf=\"collapsible\" class=\"collapse-spacer\"></div>\n</div>\n", styles: [".nui-widget__header{display:flex;position:relative}.nui-widget__header .collapse-spacer{margin-bottom:15px}.nui-widget__header__container{z-index:500;width:100%}.nui-widget__header__container--collapsible{width:100%}.nui-widget__header__container--collapsed .nui-widget__header__content{opacity:0;visibility:hidden}.nui-widget__header__container .collapse-container{width:100%;display:flex;justify-content:center;cursor:pointer}.nui-widget__header__container .collapse-container__line{width:16px;height:1px;background:var(--nui-color-line-active,#0079aa);margin:5px 0;cursor:pointer}.nui-widget__header__container .nui-widget__header__content{align-items:flex-start;display:flex;opacity:1}.nui-widget__header__container .nui-widget__header__content-drag-icon{align-items:center;cursor:move;display:flex;height:30px;justify-content:center;margin:5px;width:30px}.nui-widget__header__container .nui-widget__header__content-title{display:block;max-width:100%;white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis}.nui-widget__header__container .nui-widget__header__content-title-container{flex:1;min-width:0;padding:10px 0 5px 10px}.nui-widget__header__container .nui-widget__header__content-title-with-additional-content{padding-left:0}.nui-widget__header__container .nui-widget__header__content-help-hint{max-width:100%;white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis}.nui-widget__header__container .nui-widget__header__content-actions{display:flex;padding:5px 10px 0 5px}\n"], components: [{ type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.ButtonComponent, selector: "[nui-button]", inputs: ["ariaLabel", "isRepeat", "iconColor", "size", "displayStyle", "icon", "iconRight", "isBusy", "isEmpty"] }, { type: i3.MenuComponent, selector: "nui-menu", inputs: ["icon", "widthOfPopup", "contextClass", "appendToBody", "ariaLabel", "title", "size", "displayStyle", "isDisabled", "itemsSource"], outputs: ["blurred"] }, { type: i3.MenuActionComponent, selector: "nui-menu-action", inputs: ["icon", "type"] }, { type: i3.PopupComponent, selector: "nui-popup", inputs: ["width", "appendToBody", "ariaLabel", "overlayConfig", "isOpen", "visible", "contextClass", "directionTop", "directionRight", "manualOpenControl", "baseElementSelector", "isHostToggleRef"], outputs: ["opened"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.TooltipDirective, selector: "[nuiTooltip]", inputs: ["tooltipPlacement", "nuiTooltipDisabled", "nuiTooltip"], exportAs: ["nuiTooltip"] }, { type: i3.PopupToggleDirective, selector: "[nuiPopupToggle]", inputs: ["isDisabled", "disabled"], outputs: ["toggle"] }], animations: [
7149
8028
  trigger("expandedState", [
7150
8029
  state("expanded", style({ height: "*" })),
7151
8030
  state("collapsed", style({ height: "11px" })),
@@ -7170,7 +8049,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
7170
8049
  ]),
7171
8050
  ],
7172
8051
  }]
7173
- }], ctorParameters: function () { return [{ type: i2.EventBus, decorators: [{
8052
+ }], ctorParameters: function () { return [{ type: i3.EventBus, decorators: [{
7174
8053
  type: Inject,
7175
8054
  args: [PIZZAGNA_EVENT_BUS]
7176
8055
  }] }, { type: PizzagnaService }, { type: i0.ChangeDetectorRef }, { type: WidgetToDashboardEventProxyService, decorators: [{
@@ -7536,7 +8415,7 @@ class ColorPickerComponent {
7536
8415
  : "#000";
7537
8416
  }
7538
8417
  }
7539
- /** @nocollapse */ ColorPickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ColorPickerComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: ColorService }, { token: i2$2.Overlay }], target: i0.ɵɵFactoryTarget.Component });
8418
+ /** @nocollapse */ ColorPickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ColorPickerComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: ColorService }, { token: i2$1.Overlay }], target: i0.ɵɵFactoryTarget.Component });
7540
8419
  /** @nocollapse */ ColorPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ColorPickerComponent, selector: "nui-color-picker", inputs: { colors: "colors", colorPalette: "colorPalette", cols: "cols" }, providers: [
7541
8420
  {
7542
8421
  provide: NuiFormFieldControl,
@@ -7549,7 +8428,7 @@ class ColorPickerComponent {
7549
8428
  multi: true,
7550
8429
  },
7551
8430
  ColorService,
7552
- ], viewQueries: [{ propertyName: "select", first: true, predicate: SelectV2Component, descendants: true }], usesOnChanges: true, ngImport: i0, template: "<nui-select-v2\n class=\"color-picker-select\"\n [overlayConfig]=\"overlayConfig\"\n [syncWidth]=\"false\"\n [displayValueTemplate]=\"colorSelectTemplate\"\n>\n <div class=\"color-picker-container\">\n <div class=\"d-inline-flex flex-wrap box\" *ngFor=\"let item of palette\">\n <nui-select-v2-option\n [value]=\"item?.color\"\n [displayValueContext]=\"item\"\n class=\"w-100 h-100 reset-box-sizes\"\n #option\n >\n <div\n class=\"color-picker-option\"\n [attr.title]=\"item?.label\"\n [class.color-picker-option--selected]=\"option?.selected\"\n >\n <div\n class=\"color-picker-option__color-box\"\n [ngStyle]=\"setStyles(item?.color)\"\n >\n <div\n class=\"color-picker-option__glyph\"\n [class.black-tick]=\"\n isBlackTick || item?.color === defaultColor\n \"\n *ngIf=\"option?.selected\"\n ></div>\n </div>\n </div>\n </nui-select-v2-option>\n </div>\n </div>\n</nui-select-v2>\n\n<ng-template #colorSelectTemplate let-item let-open=\"open\">\n <div class=\"color-picker-input\">\n <div class=\"color-picker-input__box\" [attr.title]=\"item?.label\">\n <div\n class=\"color-picker-input__color-box\"\n [ngStyle]=\"setStyles(item?.color)\"\n ></div>\n </div>\n <div class=\"color-picker-input__toggle\">\n <nui-icon\n [style.transform]=\"open ? 'rotate(180deg)' : ''\"\n icon=\"caret-down\"\n ></nui-icon>\n </div>\n </div>\n</ng-template>\n", styles: [".box{width:30px;height:30px}.color-picker-container{padding:5px 10px}.color-picker-select{width:-moz-fit-content;width:fit-content;min-width:unset;cursor:pointer}.color-picker-input{display:flex}.color-picker-input__box{display:flex;align-items:center;flex-grow:1}.color-picker-input__color-box{width:16px;height:16px;border-radius:3px;border:1px solid;border-color:var(--nui-color-line-default,#d9d9d9);width:17px;height:17px;flex-grow:1;margin:0 10px}.color-picker-input__toggle{display:flex;justify-content:center;align-items:center;border-left:1px solid;border-left-color:var(--nui-color-line-default,#d9d9d9);width:30px;height:30px}.color-picker-option{display:flex;justify-content:center;align-items:center;height:100%}.color-picker-option__color-box{width:16px;height:16px;border-radius:3px;border:1px solid;border-color:var(--nui-color-line-default,#d9d9d9);padding:1px 0 0 1px}.color-picker-option--selected{background-color:var(--nui-color-selected,rgba(0, 196, 210, .1))}.color-picker-option--selected:focus{outline:none}.color-picker-option__glyph{width:100%;height:100%;background-size:12px;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMjAgMjAiIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMjAgMjA7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4KCS54dWktY2hlY2tib3gtZ2x5cGh7ZmlsbDpub25lO3N0cm9rZTojRkZGRkZGO3N0cm9rZS13aWR0aDozO3N0cm9rZS1taXRlcmxpbWl0OjEwO3N0cm9rZS1saW5lY2FwOnJvdW5kO30KPC9zdHlsZT4KPHBvbHlsaW5lIGNsYXNzPSJ4dWktY2hlY2tib3gtZ2x5cGgiIHBvaW50cz0iMTcsNCA4LDE1IDMsOSAiLz4KPC9zdmc+);background-repeat:no-repeat}.color-picker-option__glyph.black-tick{filter:invert(1) grayscale(1) contrast(100)}\n"], components: [{ type: i2.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i2.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }, { type: i2.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }], directives: [{ type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
8431
+ ], viewQueries: [{ propertyName: "select", first: true, predicate: SelectV2Component, descendants: true }], usesOnChanges: true, ngImport: i0, template: "<nui-select-v2\n class=\"color-picker-select\"\n [overlayConfig]=\"overlayConfig\"\n [syncWidth]=\"false\"\n [displayValueTemplate]=\"colorSelectTemplate\"\n>\n <div class=\"color-picker-container\">\n <div class=\"d-inline-flex flex-wrap box\" *ngFor=\"let item of palette\">\n <nui-select-v2-option\n [value]=\"item?.color\"\n [displayValueContext]=\"item\"\n class=\"w-100 h-100 reset-box-sizes\"\n #option\n >\n <div\n class=\"color-picker-option\"\n [attr.title]=\"item?.label\"\n [class.color-picker-option--selected]=\"option?.selected\"\n >\n <div\n class=\"color-picker-option__color-box\"\n [ngStyle]=\"setStyles(item?.color)\"\n >\n <div\n class=\"color-picker-option__glyph\"\n [class.black-tick]=\"\n isBlackTick || item?.color === defaultColor\n \"\n *ngIf=\"option?.selected\"\n ></div>\n </div>\n </div>\n </nui-select-v2-option>\n </div>\n </div>\n</nui-select-v2>\n\n<ng-template #colorSelectTemplate let-item let-open=\"open\">\n <div class=\"color-picker-input\">\n <div class=\"color-picker-input__box\" [attr.title]=\"item?.label\">\n <div\n class=\"color-picker-input__color-box\"\n [ngStyle]=\"setStyles(item?.color)\"\n ></div>\n </div>\n <div class=\"color-picker-input__toggle\">\n <nui-icon\n [style.transform]=\"open ? 'rotate(180deg)' : ''\"\n icon=\"caret-down\"\n ></nui-icon>\n </div>\n </div>\n</ng-template>\n", styles: [".box{width:30px;height:30px}.color-picker-container{padding:5px 10px}.color-picker-select{width:-moz-fit-content;width:fit-content;min-width:unset;cursor:pointer}.color-picker-input{display:flex}.color-picker-input__box{display:flex;align-items:center;flex-grow:1}.color-picker-input__color-box{width:16px;height:16px;border-radius:3px;border:1px solid;border-color:var(--nui-color-line-default,#d9d9d9);width:17px;height:17px;flex-grow:1;margin:0 10px}.color-picker-input__toggle{display:flex;justify-content:center;align-items:center;border-left:1px solid;border-left-color:var(--nui-color-line-default,#d9d9d9);width:30px;height:30px}.color-picker-option{display:flex;justify-content:center;align-items:center;height:100%}.color-picker-option__color-box{width:16px;height:16px;border-radius:3px;border:1px solid;border-color:var(--nui-color-line-default,#d9d9d9);padding:1px 0 0 1px}.color-picker-option--selected{background-color:var(--nui-color-selected,rgba(0, 196, 210, .1))}.color-picker-option--selected:focus{outline:none}.color-picker-option__glyph{width:100%;height:100%;background-size:12px;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMjAgMjAiIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMjAgMjA7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4KCS54dWktY2hlY2tib3gtZ2x5cGh7ZmlsbDpub25lO3N0cm9rZTojRkZGRkZGO3N0cm9rZS13aWR0aDozO3N0cm9rZS1taXRlcmxpbWl0OjEwO3N0cm9rZS1saW5lY2FwOnJvdW5kO30KPC9zdHlsZT4KPHBvbHlsaW5lIGNsYXNzPSJ4dWktY2hlY2tib3gtZ2x5cGgiIHBvaW50cz0iMTcsNCA4LDE1IDMsOSAiLz4KPC9zdmc+);background-repeat:no-repeat}.color-picker-option__glyph.black-tick{filter:invert(1) grayscale(1) contrast(100)}\n"], components: [{ type: i3.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i3.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }], directives: [{ type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
7553
8432
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ColorPickerComponent, decorators: [{
7554
8433
  type: Component,
7555
8434
  args: [{
@@ -7571,7 +8450,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
7571
8450
  ColorService,
7572
8451
  ],
7573
8452
  }]
7574
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: ColorService }, { type: i2$2.Overlay }]; }, propDecorators: { colors: [{
8453
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: ColorService }, { type: i2$1.Overlay }]; }, propDecorators: { colors: [{
7575
8454
  type: Input
7576
8455
  }], colorPalette: [{
7577
8456
  type: Input
@@ -7666,7 +8545,7 @@ ConfiguratorComponent.lateLoadKey = "ConfiguratorComponent";
7666
8545
  provide: OVERLAY_CONTAINER,
7667
8546
  useValue: ".nui-dashwiz-step--active .configurator-scrollable",
7668
8547
  },
7669
- ], viewQueries: [{ propertyName: "previewPizzagnaComponent", first: true, predicate: ["previewPizzagnaComponent"], descendants: true, static: true }], ngImport: i0, template: "<div class=\"nui-configurator__backdrop\"></div>\n<div class=\"nui-configurator__content\">\n <nui-panel\n orientation=\"right\"\n paneSize=\"30vw\"\n paneMinSize=\"20vw\"\n paneMaxSize=\"80vw\"\n isResizable=\"true\"\n class=\"h-100\"\n [headerPadding]=\"false\"\n [sidePaneBodyPadding]=\"false\"\n >\n <div\n class=\"nui-configurator__preview d-flex align-items-center justify-content-center\"\n >\n <div class=\"nui-configurator__preview-area\">\n <nui-preview-overlay></nui-preview-overlay>\n <nui-pizzagna\n *ngIf=\"previewWidget?.pizzagna\"\n #previewPizzagnaComponent\n class=\"flex-grow-1 w-100\"\n [rootNode]=\"previewWidget | nuiPizzagnaRoot: 'widget'\"\n [pizzagna]=\"previewWidget?.pizzagna\"\n (pizzagnaChange)=\"onPizzagnaChange($event)\"\n >\n </nui-pizzagna>\n </div>\n </div>\n <div nuiPanelEmbeddedBody class=\"nui-configurator__body\">\n <ng-container\n [cdkPortalOutlet]=\"formPortal\"\n (attached)=\"onFormPortalAttached($event)\"\n ></ng-container>\n </div>\n </nui-panel>\n</div>\n", styles: [".nui-configurator__backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:var(--nui-color-overlay-modal,rgba(17, 17, 17, .5));opacity:.5;filter:alpha(opacity=50)}.nui-configurator__content{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040}.nui-configurator__heading{width:100%;display:flex;justify-content:space-between;align-items:center;padding:15px;border-bottom:1px solid #d9d9d9}.nui-configurator__body{overflow-anchor:none;height:100vh}.nui-configurator__preview{height:100vh}.nui-configurator__preview-area{display:flex;width:80%;position:relative;background-color:var(--nui-color-bg-content_popover,#fff);border:1px solid;border-color:var(--nui-color-line-default,#d9d9d9);margin:auto;min-height:40vh;max-height:80vh;overflow:hidden}\n"], components: [{ type: i2.PanelComponent, selector: "nui-panel", inputs: ["panelMode", "displacePrimaryContent", "orientation", "isResizable", "headerPadding", "sidePaneBodyPadding", "darkBorder", "panelBackgroundColor", "isCollapsed", "isHidden", "paneSize", "paneCollapsedSize", "paneMinSize", "paneMaxSize", "heading"], outputs: ["collapsed", "hidden"] }, { type: PreviewOverlayComponent, selector: "nui-preview-overlay" }, { type: PizzagnaComponent, selector: "nui-pizzagna", inputs: ["rootNode", "pizzagna", "outputs"], outputs: ["pizzagnaChange", "output"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], pipes: { "nuiPizzagnaRoot": PizzagnaRootPipe } });
8548
+ ], viewQueries: [{ propertyName: "previewPizzagnaComponent", first: true, predicate: ["previewPizzagnaComponent"], descendants: true, static: true }], ngImport: i0, template: "<div class=\"nui-configurator__backdrop\"></div>\n<div class=\"nui-configurator__content\">\n <nui-panel\n orientation=\"right\"\n paneSize=\"30vw\"\n paneMinSize=\"20vw\"\n paneMaxSize=\"80vw\"\n isResizable=\"true\"\n class=\"h-100\"\n [headerPadding]=\"false\"\n [sidePaneBodyPadding]=\"false\"\n >\n <div\n class=\"nui-configurator__preview d-flex align-items-center justify-content-center\"\n >\n <div class=\"nui-configurator__preview-area\">\n <nui-preview-overlay></nui-preview-overlay>\n <nui-pizzagna\n *ngIf=\"previewWidget?.pizzagna\"\n #previewPizzagnaComponent\n class=\"flex-grow-1 w-100\"\n [rootNode]=\"previewWidget | nuiPizzagnaRoot: 'widget'\"\n [pizzagna]=\"previewWidget?.pizzagna\"\n (pizzagnaChange)=\"onPizzagnaChange($event)\"\n >\n </nui-pizzagna>\n </div>\n </div>\n <div nuiPanelEmbeddedBody class=\"nui-configurator__body\">\n <ng-container\n [cdkPortalOutlet]=\"formPortal\"\n (attached)=\"onFormPortalAttached($event)\"\n ></ng-container>\n </div>\n </nui-panel>\n</div>\n", styles: [".nui-configurator__backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:var(--nui-color-overlay-modal,rgba(17, 17, 17, .5));opacity:.5;filter:alpha(opacity=50)}.nui-configurator__content{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040}.nui-configurator__heading{width:100%;display:flex;justify-content:space-between;align-items:center;padding:15px;border-bottom:1px solid #d9d9d9}.nui-configurator__body{overflow-anchor:none;height:100vh}.nui-configurator__preview{height:100vh}.nui-configurator__preview-area{display:flex;width:80%;position:relative;background-color:var(--nui-color-bg-content_popover,#fff);border:1px solid;border-color:var(--nui-color-line-default,#d9d9d9);margin:auto;min-height:40vh;max-height:80vh;overflow:hidden}\n"], components: [{ type: i3.PanelComponent, selector: "nui-panel", inputs: ["panelMode", "displacePrimaryContent", "orientation", "isResizable", "headerPadding", "sidePaneBodyPadding", "darkBorder", "panelBackgroundColor", "isCollapsed", "isHidden", "paneSize", "paneCollapsedSize", "paneMinSize", "paneMaxSize", "heading"], outputs: ["collapsed", "hidden"] }, { type: PreviewOverlayComponent, selector: "nui-preview-overlay" }, { type: PizzagnaComponent, selector: "nui-pizzagna", inputs: ["rootNode", "pizzagna", "outputs"], outputs: ["pizzagnaChange", "output"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], pipes: { "nuiPizzagnaRoot": PizzagnaRootPipe } });
7670
8549
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ConfiguratorComponent, decorators: [{
7671
8550
  type: Component,
7672
8551
  args: [{
@@ -7739,7 +8618,7 @@ class FormStackComponent extends BaseLayout {
7739
8618
  }
7740
8619
  }
7741
8620
  FormStackComponent.lateLoadKey = "FormStackComponent";
7742
- /** @nocollapse */ FormStackComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: FormStackComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: PizzagnaService }, { token: i2.LoggerService }, { token: i1$2.FormGroupDirective }, { token: PIZZAGNA_EVENT_BUS }], target: i0.ɵɵFactoryTarget.Component });
8621
+ /** @nocollapse */ FormStackComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: FormStackComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: PizzagnaService }, { token: i3.LoggerService }, { token: i1$2.FormGroupDirective }, { token: PIZZAGNA_EVENT_BUS }], target: i0.ɵɵFactoryTarget.Component });
7743
8622
  /** @nocollapse */ FormStackComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: FormStackComponent, selector: "nui-form-stack", inputs: { nodes: "nodes" }, host: { properties: { "class": "this.elementClass" } }, usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<ng-container *ngFor=\"let node of nodeConfigs; trackBy: trackByFn\">\n <ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n [componentId]=\"node.id\"\n [componentType]=\"node.componentType\"\n [providers]=\"node.providers\"\n [properties]=\"node.properties\"\n [outputs]=\"['formReady']\"\n (output)=\"onEvent(node.id, $event)\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n</ng-container>\n", directives: [{ type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], viewProviders: [
7744
8623
  {
7745
8624
  provide: ControlContainer,
@@ -7758,7 +8637,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
7758
8637
  },
7759
8638
  ],
7760
8639
  }]
7761
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: PizzagnaService }, { type: i2.LoggerService }, { type: i1$2.FormGroupDirective }, { type: i2.EventBus, decorators: [{
8640
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: PizzagnaService }, { type: i3.LoggerService }, { type: i1$2.FormGroupDirective }, { type: i3.EventBus, decorators: [{
7762
8641
  type: Inject,
7763
8642
  args: [PIZZAGNA_EVENT_BUS]
7764
8643
  }] }]; }, propDecorators: { nodes: [{
@@ -7837,11 +8716,11 @@ class DonutChartFormatterConfiguratorComponent {
7837
8716
  */
7838
8717
  addCustomFormControls(form) { }
7839
8718
  }
7840
- /** @nocollapse */ DonutChartFormatterConfiguratorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DonutChartFormatterConfiguratorComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$2.FormBuilder }, { token: i2.LoggerService }], target: i0.ɵɵFactoryTarget.Injectable });
8719
+ /** @nocollapse */ DonutChartFormatterConfiguratorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DonutChartFormatterConfiguratorComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$2.FormBuilder }, { token: i3.LoggerService }], target: i0.ɵɵFactoryTarget.Injectable });
7841
8720
  /** @nocollapse */ DonutChartFormatterConfiguratorComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DonutChartFormatterConfiguratorComponent });
7842
8721
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DonutChartFormatterConfiguratorComponent, decorators: [{
7843
8722
  type: Injectable
7844
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1$2.FormBuilder }, { type: i2.LoggerService }]; }, propDecorators: { contentFormatterProperties: [{
8723
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1$2.FormBuilder }, { type: i3.LoggerService }]; }, propDecorators: { contentFormatterProperties: [{
7845
8724
  type: Input
7846
8725
  }], dsOutput: [{
7847
8726
  type: Input
@@ -7857,15 +8736,15 @@ class DonutContentPercentageConfigurationComponent extends DonutChartFormatterCo
7857
8736
  }
7858
8737
  }
7859
8738
  DonutContentPercentageConfigurationComponent.lateLoadKey = "DonutContentPercentageConfigurationComponent";
7860
- /** @nocollapse */ DonutContentPercentageConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DonutContentPercentageConfigurationComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$2.FormBuilder }, { token: i2.LoggerService }, { token: PizzagnaService }], target: i0.ɵɵFactoryTarget.Component });
7861
- /** @nocollapse */ DonutContentPercentageConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: DonutContentPercentageConfigurationComponent, selector: "nui-donut-content-configurator", usesInheritance: true, ngImport: i0, template: "<div [formGroup]=\"form\">\n <div class=\"mt-4\">\n <nui-form-field\n caption=\"Metrics\"\n i18n-caption\n class=\"mb-3\"\n [control]=\"currentMetric\"\n >\n <nui-select-v2 formControlName=\"currentMetric\">\n <nui-select-v2-option\n *ngFor=\"let itemValue of dsOutput?.result\"\n [value]=\"itemValue?.id\"\n >\n {{ itemValue?.name }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n</div>\n", components: [{ type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i2.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i2.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }, { type: i2.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
8739
+ /** @nocollapse */ DonutContentPercentageConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DonutContentPercentageConfigurationComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$2.FormBuilder }, { token: i3.LoggerService }, { token: PizzagnaService }], target: i0.ɵɵFactoryTarget.Component });
8740
+ /** @nocollapse */ DonutContentPercentageConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: DonutContentPercentageConfigurationComponent, selector: "nui-donut-content-configurator", usesInheritance: true, ngImport: i0, template: "<div [formGroup]=\"form\">\n <div class=\"mt-4\">\n <nui-form-field\n caption=\"Metrics\"\n i18n-caption\n class=\"mb-3\"\n [control]=\"currentMetric\"\n >\n <nui-select-v2 formControlName=\"currentMetric\">\n <nui-select-v2-option\n *ngFor=\"let itemValue of dsOutput?.result\"\n [value]=\"itemValue?.id\"\n >\n {{ itemValue?.name }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n</div>\n", components: [{ type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i3.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i3.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }, { type: i3.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
7862
8741
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DonutContentPercentageConfigurationComponent, decorators: [{
7863
8742
  type: Component,
7864
8743
  args: [{
7865
8744
  selector: "nui-donut-content-configurator",
7866
8745
  templateUrl: "donut-content-percentage-configuration.component.html",
7867
8746
  }]
7868
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1$2.FormBuilder }, { type: i2.LoggerService }, { type: PizzagnaService }]; } });
8747
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1$2.FormBuilder }, { type: i3.LoggerService }, { type: PizzagnaService }]; } });
7869
8748
 
7870
8749
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
7871
8750
  class DonutContentPercentageFormatterComponent {
@@ -7942,7 +8821,7 @@ class DonutContentRawFormatterComponent {
7942
8821
  }
7943
8822
  }
7944
8823
  DonutContentRawFormatterComponent.lateLoadKey = "DonutContentRawFormatterComponent";
7945
- /** @nocollapse */ DonutContentRawFormatterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DonutContentRawFormatterComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i2.UnitConversionService }], target: i0.ɵɵFactoryTarget.Component });
8824
+ /** @nocollapse */ DonutContentRawFormatterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DonutContentRawFormatterComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i3.UnitConversionService }], target: i0.ɵɵFactoryTarget.Component });
7946
8825
  /** @nocollapse */ DonutContentRawFormatterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: DonutContentRawFormatterComponent, selector: "ng-component", inputs: { data: "data", config: "config" }, usesOnChanges: true, ngImport: i0, template: `<ng-container>
7947
8826
  <nui-icon
7948
8827
  *ngIf="config?.chartDonutContentIcon"
@@ -7961,7 +8840,7 @@ DonutContentRawFormatterComponent.lateLoadKey = "DonutContentRawFormatterCompone
7961
8840
  <div *ngIf="config?.chartDonutContentLabel" class="nui-text-secondary">
7962
8841
  {{ config?.chartDonutContentLabel }}
7963
8842
  </div>
7964
- </ng-container>`, isInline: true, components: [{ type: i2.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "number": i4.DecimalPipe } });
8843
+ </ng-container>`, isInline: true, components: [{ type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "number": i4.DecimalPipe } });
7965
8844
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DonutContentRawFormatterComponent, decorators: [{
7966
8845
  type: Component,
7967
8846
  args: [{
@@ -7985,7 +8864,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
7985
8864
  </div>
7986
8865
  </ng-container>`,
7987
8866
  }]
7988
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i2.UnitConversionService }]; }, propDecorators: { data: [{
8867
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i3.UnitConversionService }]; }, propDecorators: { data: [{
7989
8868
  type: Input
7990
8869
  }], config: [{
7991
8870
  type: Input
@@ -8031,7 +8910,7 @@ class IconFormatterComponent {
8031
8910
  }
8032
8911
  }
8033
8912
  IconFormatterComponent.lateLoadKey = "IconFormatterComponent";
8034
- /** @nocollapse */ IconFormatterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: IconFormatterComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i2.IconService }], target: i0.ɵɵFactoryTarget.Component });
8913
+ /** @nocollapse */ IconFormatterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: IconFormatterComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i3.IconService }], target: i0.ɵɵFactoryTarget.Component });
8035
8914
  /** @nocollapse */ IconFormatterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: IconFormatterComponent, selector: "ng-component", inputs: { data: "data" }, usesOnChanges: true, ngImport: i0, template: `
8036
8915
  <div
8037
8916
  *ngIf="isValid"
@@ -8050,7 +8929,7 @@ IconFormatterComponent.lateLoadKey = "IconFormatterComponent";
8050
8929
  icon="help"
8051
8930
  ></nui-icon>
8052
8931
  </ng-template>
8053
- `, isInline: true, components: [{ type: i2.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
8932
+ `, isInline: true, components: [{ type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
8054
8933
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: IconFormatterComponent, decorators: [{
8055
8934
  type: Component,
8056
8935
  args: [{
@@ -8074,7 +8953,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
8074
8953
  </ng-template>
8075
8954
  `,
8076
8955
  }]
8077
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i2.IconService }]; }, propDecorators: { data: [{
8956
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i3.IconService }]; }, propDecorators: { data: [{
8078
8957
  type: Input
8079
8958
  }] } });
8080
8959
 
@@ -8420,7 +9299,7 @@ StatusWithIconFormatterComponent.lateLoadKey = "StatusWithIconFormatterComponent
8420
9299
  </ng-template>
8421
9300
  </div>
8422
9301
  </ng-container>
8423
- `, isInline: true, styles: ["\n .status-icon-formatter {\n display: grid;\n grid-template-columns: 50px auto minmax(114px, 1fr);\n }\n "], components: [{ type: i2.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
9302
+ `, isInline: true, styles: ["\n .status-icon-formatter {\n display: grid;\n grid-template-columns: 50px auto minmax(114px, 1fr);\n }\n "], components: [{ type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
8424
9303
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: StatusWithIconFormatterComponent, decorators: [{
8425
9304
  type: Component,
8426
9305
  args: [{
@@ -8494,7 +9373,7 @@ class ConfiguratorHeadingComponent {
8494
9373
  }
8495
9374
  }
8496
9375
  /** @nocollapse */ ConfiguratorHeadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ConfiguratorHeadingComponent, deps: [{ token: i0.ElementRef }, { token: ConfiguratorHeadingService }], target: i0.ɵɵFactoryTarget.Component });
8497
- /** @nocollapse */ ConfiguratorHeadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ConfiguratorHeadingComponent, selector: "nui-configurator-heading", inputs: { configuratorTitle: "configuratorTitle", disableCloseButton: "disableCloseButton" }, outputs: { close: "close" }, usesOnChanges: true, ngImport: i0, template: "<div\n class=\"configurator-heading d-flex justify-content-between align-items-center p-4\"\n>\n <span class=\"nui-text-panel nui-text-ellipsis\" [title]=\"configuratorTitle\">\n {{ configuratorTitle }}\n </span>\n <button\n nui-button\n type=\"button\"\n displayStyle=\"action\"\n icon=\"close\"\n [disabled]=\"disableCloseButton\"\n (click)=\"this.close.emit()\"\n ></button>\n</div>\n", styles: [":host{z-index:1080;background-color:var(--nui-color-bg-content,#fff)}:host .configurator-heading{border-bottom:1px solid;border-bottom-color:var(--nui-color-line-default,#d9d9d9)}\n"], components: [{ type: i2.ButtonComponent, selector: "[nui-button]", inputs: ["ariaLabel", "isRepeat", "iconColor", "size", "displayStyle", "icon", "iconRight", "isBusy", "isEmpty"] }] });
9376
+ /** @nocollapse */ ConfiguratorHeadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ConfiguratorHeadingComponent, selector: "nui-configurator-heading", inputs: { configuratorTitle: "configuratorTitle", disableCloseButton: "disableCloseButton" }, outputs: { close: "close" }, usesOnChanges: true, ngImport: i0, template: "<div\n class=\"configurator-heading d-flex justify-content-between align-items-center p-4\"\n>\n <span class=\"nui-text-panel nui-text-ellipsis\" [title]=\"configuratorTitle\">\n {{ configuratorTitle }}\n </span>\n <button\n nui-button\n type=\"button\"\n displayStyle=\"action\"\n icon=\"close\"\n [disabled]=\"disableCloseButton\"\n (click)=\"this.close.emit()\"\n ></button>\n</div>\n", styles: [":host{z-index:1080;background-color:var(--nui-color-bg-content,#fff)}:host .configurator-heading{border-bottom:1px solid;border-bottom-color:var(--nui-color-line-default,#d9d9d9)}\n"], components: [{ type: i3.ButtonComponent, selector: "[nui-button]", inputs: ["ariaLabel", "isRepeat", "iconColor", "size", "displayStyle", "icon", "iconRight", "isBusy", "isEmpty"] }] });
8498
9377
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ConfiguratorHeadingComponent, decorators: [{
8499
9378
  type: Component,
8500
9379
  args: [{
@@ -8662,8 +9541,8 @@ class ItemsDynamicComponent extends BaseLayout {
8662
9541
  }
8663
9542
  }
8664
9543
  ItemsDynamicComponent.lateLoadKey = "ItemsDynamicComponent";
8665
- /** @nocollapse */ ItemsDynamicComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ItemsDynamicComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: PizzagnaService }, { token: i2.LoggerService }, { token: i1$2.FormBuilder }], target: i0.ɵɵFactoryTarget.Component });
8666
- /** @nocollapse */ ItemsDynamicComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ItemsDynamicComponent, selector: "nui-items-dynamic", inputs: { items: "items", moveButtons: "moveButtons", nodes: "nodes", headerPrefix: "headerPrefix" }, outputs: { formReady: "formReady", itemsChange: "itemsChange" }, usesInheritance: true, ngImport: i0, template: "<div\n class=\"nui-items-dynamic\"\n cdkDropList\n (cdkDropListDropped)=\"drop($event)\"\n [formGroup]=\"form\"\n>\n <div\n cdkDrag\n class=\"nui-items-dynamic__node-item\"\n (cdkDragStarted)=\"cdkDragStarted($event)\"\n *ngFor=\"let node of nodeConfigs; let i = index; trackBy: trackBy\"\n >\n <nui-drop-area\n class=\"nui-items-dynamic__drop-area\"\n *cdkDragPlaceholder\n [style.height.px]=\"height\"\n ></nui-drop-area>\n\n <ng-template #headerText>\n <ng-container *ngIf=\"moveButtons\">\n <div class=\"nui-items-dynamic__drag-handler\" cdkDragHandle>\n <nui-icon icon=\"drag\"></nui-icon>\n </div>\n </ng-container>\n <span\n [title]=\"\n headerMap.get(node.id)\n | nuiWidgetConfiguratorSectionHeader: i:headerPrefix\n \"\n class=\"nui-items-dynamic__header-text\"\n >\n {{\n headerMap.get(node.id)\n | nuiWidgetConfiguratorSectionHeader: i:headerPrefix\n }}\n </span>\n </ng-template>\n\n <ng-template #headerButtons>\n <div class=\"d-flex\">\n <!-- TODO: remove \"kpi\" prefix in v11 - NUI-5833 -->\n <button\n id=\"kpi-widget-remove-btn-{{ i }}\"\n nui-button\n type=\"button\"\n icon=\"delete\"\n displayStyle=\"action\"\n (click)=\"removeItem(getItemForNode(node), i)\"\n ></button>\n </div>\n </ng-template>\n\n <ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n [componentId]=\"node.id\"\n [componentType]=\"node.componentType\"\n [providers]=\"node.providers\"\n [properties]=\"\n node.properties\n | nuiAddData: headerText:'headerTextTemplate'\n | nuiAddData: headerButtons:'headerButtonsTemplate'\n \"\n [outputs]=\"['formReady', 'formDestroy']\"\n (output)=\"onEvent(node.id, $event)\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n >\n </ng-template>\n </ng-container>\n </div>\n</div>\n", styles: [".nui-items-dynamic__header-text{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis}.nui-items-dynamic__drag-handler{cursor:move;display:flex}.nui-items-dynamic__node-item{background-color:var(--nui-color-bg-light,#fff);margin:15px}.nui-items-dynamic__node-item .widget-configurator-section{margin:0}.nui-items-dynamic__drop-area{margin:15px}.kpi-indicators-configuration__color-preview{width:16px;height:16px;margin-right:15px;border-radius:3px}.cdk-drag-preview{z-index:2000!important;opacity:.9;box-shadow:0 0 5px 0 var(--nui-shadow-color, rgba(17, 17, 17, .3))}\n"], components: [{ type: DropAreaComponent, selector: "nui-drop-area" }, { type: i2.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i2.ButtonComponent, selector: "[nui-button]", inputs: ["ariaLabel", "isRepeat", "iconColor", "size", "displayStyle", "icon", "iconRight", "isBusy", "isEmpty"] }], directives: [{ type: i5$1.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "id", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListAutoScrollDisabled", "cdkDropListOrientation", "cdkDropListLockAxis", "cdkDropListData", "cdkDropListAutoScrollStep"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i5$1.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragDisabled", "cdkDragStartDelay", "cdkDragLockAxis", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragBoundary", "cdkDragRootElement", "cdkDragPreviewContainer", "cdkDragData", "cdkDragFreeDragPosition"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i5$1.CdkDragPlaceholder, selector: "ng-template[cdkDragPlaceholder]", inputs: ["data"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5$1.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], pipes: { "nuiWidgetConfiguratorSectionHeader": WidgetConfiguratorSectionHeaderPipe, "nuiAddData": AddDataPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
9544
+ /** @nocollapse */ ItemsDynamicComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ItemsDynamicComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: PizzagnaService }, { token: i3.LoggerService }, { token: i1$2.FormBuilder }], target: i0.ɵɵFactoryTarget.Component });
9545
+ /** @nocollapse */ ItemsDynamicComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ItemsDynamicComponent, selector: "nui-items-dynamic", inputs: { items: "items", moveButtons: "moveButtons", nodes: "nodes", headerPrefix: "headerPrefix" }, outputs: { formReady: "formReady", itemsChange: "itemsChange" }, usesInheritance: true, ngImport: i0, template: "<div\n class=\"nui-items-dynamic\"\n cdkDropList\n (cdkDropListDropped)=\"drop($event)\"\n [formGroup]=\"form\"\n>\n <div\n cdkDrag\n class=\"nui-items-dynamic__node-item\"\n (cdkDragStarted)=\"cdkDragStarted($event)\"\n *ngFor=\"let node of nodeConfigs; let i = index; trackBy: trackBy\"\n >\n <nui-drop-area\n class=\"nui-items-dynamic__drop-area\"\n *cdkDragPlaceholder\n [style.height.px]=\"height\"\n ></nui-drop-area>\n\n <ng-template #headerText>\n <ng-container *ngIf=\"moveButtons\">\n <div class=\"nui-items-dynamic__drag-handler\" cdkDragHandle>\n <nui-icon icon=\"drag\"></nui-icon>\n </div>\n </ng-container>\n <span\n [title]=\"\n headerMap.get(node.id)\n | nuiWidgetConfiguratorSectionHeader: i:headerPrefix\n \"\n class=\"nui-items-dynamic__header-text\"\n >\n {{\n headerMap.get(node.id)\n | nuiWidgetConfiguratorSectionHeader: i:headerPrefix\n }}\n </span>\n </ng-template>\n\n <ng-template #headerButtons>\n <div class=\"d-flex\">\n <!-- TODO: remove \"kpi\" prefix in v11 - NUI-5833 -->\n <button\n id=\"kpi-widget-remove-btn-{{ i }}\"\n nui-button\n type=\"button\"\n icon=\"delete\"\n displayStyle=\"action\"\n (click)=\"removeItem(getItemForNode(node), i)\"\n ></button>\n </div>\n </ng-template>\n\n <ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n [componentId]=\"node.id\"\n [componentType]=\"node.componentType\"\n [providers]=\"node.providers\"\n [properties]=\"\n node.properties\n | nuiAddData: headerText:'headerTextTemplate'\n | nuiAddData: headerButtons:'headerButtonsTemplate'\n \"\n [outputs]=\"['formReady', 'formDestroy']\"\n (output)=\"onEvent(node.id, $event)\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n >\n </ng-template>\n </ng-container>\n </div>\n</div>\n", styles: [".nui-items-dynamic__header-text{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis}.nui-items-dynamic__drag-handler{cursor:move;display:flex}.nui-items-dynamic__node-item{background-color:var(--nui-color-bg-light,#fff);margin:15px}.nui-items-dynamic__node-item .widget-configurator-section{margin:0}.nui-items-dynamic__drop-area{margin:15px}.kpi-indicators-configuration__color-preview{width:16px;height:16px;margin-right:15px;border-radius:3px}.cdk-drag-preview{z-index:2000!important;opacity:.9;box-shadow:0 0 5px 0 var(--nui-shadow-color, rgba(17, 17, 17, .3))}\n"], components: [{ type: DropAreaComponent, selector: "nui-drop-area" }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.ButtonComponent, selector: "[nui-button]", inputs: ["ariaLabel", "isRepeat", "iconColor", "size", "displayStyle", "icon", "iconRight", "isBusy", "isEmpty"] }], directives: [{ type: i5$1.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "id", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListAutoScrollDisabled", "cdkDropListOrientation", "cdkDropListLockAxis", "cdkDropListData", "cdkDropListAutoScrollStep"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i5$1.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragDisabled", "cdkDragStartDelay", "cdkDragLockAxis", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragBoundary", "cdkDragRootElement", "cdkDragPreviewContainer", "cdkDragData", "cdkDragFreeDragPosition"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i5$1.CdkDragPlaceholder, selector: "ng-template[cdkDragPlaceholder]", inputs: ["data"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5$1.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], pipes: { "nuiWidgetConfiguratorSectionHeader": WidgetConfiguratorSectionHeaderPipe, "nuiAddData": AddDataPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
8667
9546
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ItemsDynamicComponent, decorators: [{
8668
9547
  type: Component,
8669
9548
  args: [{
@@ -8673,7 +9552,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
8673
9552
  changeDetection: ChangeDetectionStrategy.OnPush,
8674
9553
  encapsulation: ViewEncapsulation.None,
8675
9554
  }]
8676
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: PizzagnaService }, { type: i2.LoggerService }, { type: i1$2.FormBuilder }]; }, propDecorators: { items: [{
9555
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: PizzagnaService }, { type: i3.LoggerService }, { type: i1$2.FormBuilder }]; }, propDecorators: { items: [{
8677
9556
  type: Input
8678
9557
  }], moveButtons: [{
8679
9558
  type: Input
@@ -8781,7 +9660,7 @@ class DashwizStepComponent {
8781
9660
  }
8782
9661
  }
8783
9662
  /** @nocollapse */ DashwizStepComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DashwizStepComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
8784
- /** @nocollapse */ DashwizStepComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: DashwizStepComponent, selector: "nui-dashwiz-step", inputs: { stepTemplate: "stepTemplate", stepControl: "stepControl", title: "title", nextText: "nextText", hidden: "hidden", disabled: "disabled", spinnerSize: "spinnerSize" }, outputs: { enter: "enter", valid: "valid", exit: "exit", next: "next" }, usesOnChanges: true, ngImport: i0, template: "<div\n class=\"nui-dashwiz-step animated h-100\"\n [ngClass]=\"{ 'nui-dashwiz-step--active': active }\"\n nui-busy\n [busy]=\"busyConfig.busy\"\n>\n <div\n cdkScrollable\n class=\"h-100 overflow-auto nui-scroll-shadows configurator-scrollable\"\n >\n <ng-container *ngTemplateOutlet=\"stepTemplate\"></ng-container>\n </div>\n <nui-spinner\n [percent]=\"busyConfig.percent\"\n [allowCancel]=\"busyConfig.allowCancel\"\n [message]=\"busyConfig.message\"\n [size]=\"spinnerSize\"\n >\n </nui-spinner>\n</div>\n", styles: [".nui-dashwiz-step{display:none}.nui-dashwiz-step--active{display:block}\n"], components: [{ type: i2.BusyComponent, selector: "[nui-busy]", inputs: ["disableTabNavigation", "busy"] }, { type: i2.SpinnerComponent, selector: "nui-spinner", inputs: ["show", "delay", "ariaLabel", "size", "percent", "allowCancel", "message", "helpText"], outputs: ["cancel"] }], directives: [{ type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i7.CdkScrollable, selector: "[cdk-scrollable], [cdkScrollable]" }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
9663
+ /** @nocollapse */ DashwizStepComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: DashwizStepComponent, selector: "nui-dashwiz-step", inputs: { stepTemplate: "stepTemplate", stepControl: "stepControl", title: "title", nextText: "nextText", hidden: "hidden", disabled: "disabled", spinnerSize: "spinnerSize" }, outputs: { enter: "enter", valid: "valid", exit: "exit", next: "next" }, usesOnChanges: true, ngImport: i0, template: "<div\n class=\"nui-dashwiz-step animated h-100\"\n [ngClass]=\"{ 'nui-dashwiz-step--active': active }\"\n nui-busy\n [busy]=\"busyConfig.busy\"\n>\n <div\n cdkScrollable\n class=\"h-100 overflow-auto nui-scroll-shadows configurator-scrollable\"\n >\n <ng-container *ngTemplateOutlet=\"stepTemplate\"></ng-container>\n </div>\n <nui-spinner\n [percent]=\"busyConfig.percent\"\n [allowCancel]=\"busyConfig.allowCancel\"\n [message]=\"busyConfig.message\"\n [size]=\"spinnerSize\"\n >\n </nui-spinner>\n</div>\n", styles: [".nui-dashwiz-step{display:none}.nui-dashwiz-step--active{display:block}\n"], components: [{ type: i3.BusyComponent, selector: "[nui-busy]", inputs: ["disableTabNavigation", "busy"] }, { type: i3.SpinnerComponent, selector: "nui-spinner", inputs: ["show", "delay", "ariaLabel", "size", "percent", "allowCancel", "message", "helpText"], outputs: ["cancel"] }], directives: [{ type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i7.CdkScrollable, selector: "[cdk-scrollable], [cdkScrollable]" }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
8785
9664
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DashwizStepComponent, decorators: [{
8786
9665
  type: Component,
8787
9666
  args: [{
@@ -8888,7 +9767,7 @@ DashwizButtonsComponent.lateLoadKey = "DashwizButtonsComponent";
8888
9767
  <span>{{ finishText }}</span>
8889
9768
  </button>
8890
9769
  </div>
8891
- `, isInline: true, components: [{ type: i2.ButtonComponent, selector: "[nui-button]", inputs: ["ariaLabel", "isRepeat", "iconColor", "size", "displayStyle", "icon", "iconRight", "isBusy", "isEmpty"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
9770
+ `, isInline: true, components: [{ type: i3.ButtonComponent, selector: "[nui-button]", inputs: ["ariaLabel", "isRepeat", "iconColor", "size", "displayStyle", "icon", "iconRight", "isBusy", "isEmpty"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
8892
9771
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DashwizButtonsComponent, decorators: [{
8893
9772
  type: Component,
8894
9773
  args: [{
@@ -9238,8 +10117,8 @@ class DashwizComponent {
9238
10117
  }
9239
10118
  }
9240
10119
  DashwizComponent.placeholderFinishText = "Action"; // as a placeholder "Action" does not need to be i18n
9241
- /** @nocollapse */ DashwizComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DashwizComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ComponentFactoryResolver }, { token: i2.LoggerService }, { token: DashwizService }], target: i0.ɵɵFactoryTarget.Component });
9242
- /** @nocollapse */ DashwizComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: DashwizComponent, selector: "nui-dashwiz", inputs: { hideHeader: "hideHeader", canProceed: "canProceed", canFinish: "canFinish", finishText: "finishText", stretchStepLines: "stretchStepLines", buttonComponentTypes: "buttonComponentTypes", navigationControl: "navigationControl" }, outputs: { stepNavigated: "stepNavigated", cancel: "cancel", finish: "finish", next: "next", back: "back" }, host: { classAttribute: "flex-grow-1 overflow-auto" }, queries: [{ propertyName: "steps", predicate: DashwizStepComponent }], viewQueries: [{ propertyName: "dynamicStep", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef }, { propertyName: "stepTitles", predicate: ["stepTitle"], descendants: true }], ngImport: i0, template: "<div class=\"nui-dashwiz d-flex flex-column h-100\">\n <div\n class=\"nui-dashwiz__header\"\n *ngIf=\"!hideHeader\"\n [class.nui-dashwiz__header--lines-stretched]=\"stretchStepLines\"\n >\n <ul class=\"nui-dashwiz__header-steps\" *ngIf=\"steps\">\n <li\n *ngFor=\"let step of steps; let first = first; let last = last\"\n (click)=\"selectStep(step)\"\n [ngClass]=\"{\n 'nui-dashwiz__header-step--first': first,\n 'nui-dashwiz__header-step--last': last,\n 'nui-dashwiz__header-step--visited': step.visited,\n 'nui-dashwiz__header-step--disabled':\n step.disabled ||\n !step.visited ||\n currentStep.busyConfig.busy,\n 'nui-dashwiz__header-step--active': step.active,\n 'nui-dashwiz__header-step--complete': step.complete\n }\"\n class=\"nui-dashwiz__header-step\"\n >\n <div\n class=\"nui-dashwiz__header-step-container\"\n *ngIf=\"!step.hidden\"\n >\n <div class=\"nui-dashwiz__header-step-row\">\n <div class=\"nui-dashwiz__header-step-col\">\n <div class=\"nui-dashwiz__header-step-content\">\n <span class=\"nui-dashwiz__header-step-link\">\n <span\n class=\"nui-dashwiz__header-step-title\"\n #stepTitle\n >\n {{ step.title }}</span\n >\n <div\n class=\"nui-dashwiz__header-step-link-container\"\n >\n <div\n class=\"nui-dashwiz__header-step-col nui-dashwiz__header-step-col-right\"\n >\n <div\n class=\"nui-dashwiz__header-step-line\"\n [ngStyle]=\"{\n 'min-width.px':\n stepLineWidth\n }\"\n ></div>\n </div>\n <nui-icon\n [icon]=\"step.icon\"\n [iconColor]=\"step.iconColor\"\n ></nui-icon>\n <div\n class=\"nui-dashwiz__header-step-col nui-dashwiz__header-step-col-left\"\n >\n <div\n class=\"nui-dashwiz__header-step-line\"\n [ngStyle]=\"{\n 'min-width.px':\n stepLineWidth\n }\"\n ></div>\n </div>\n </div>\n </span>\n </div>\n </div>\n </div>\n </div>\n </li>\n </ul>\n </div>\n\n <div class=\"nui-scroll-shadows flex-grow-1 overflow-auto\">\n <ng-content></ng-content>\n <ng-template #container></ng-template>\n </div>\n\n <div class=\"nui-dashwiz__footer\">\n <ng-container\n nuiComponentPortal\n componentId=\"dashwizButtons\"\n [componentType]=\"\n buttonComponentTypes.length === 1\n ? buttonComponentTypes[0]\n : buttonComponentTypes[stepIndex]\n \"\n [properties]=\"buttonProperties\"\n [outputs]=\"['cancel', 'next', 'back', 'finish']\"\n (output)=\"onButtonPortalOutput($event)\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n </div>\n</div>\n", styles: [".nui-dashwiz__header{padding:10px 15px;background-color:var(--nui-color-bg-secondary,#fafafa);border-bottom:1px solid #d9d9d9;border-bottom:1px solid var(--nui-color-line-default, #d9d9d9);overflow:hidden;text-align:center;display:flex;justify-content:center;-webkit-user-select:none;-o-user-select:none;user-select:none}.nui-dashwiz__header-steps{margin-bottom:0;white-space:nowrap;display:inline-flex}.nui-dashwiz__header-step{line-height:normal;display:inline-flex;cursor:pointer}.nui-dashwiz__header-step--disabled{pointer-events:none;cursor:default}.nui-dashwiz__header-step--visited .nui-dashwiz__header-step-link{color:var(--nui-color-text-link,#0079aa)}.nui-dashwiz__header-step--visited .nui-dashwiz__header-step-link:hover{text-decoration:underline}.nui-dashwiz__header-step--visited .nui-dashwiz__header-step-col-right>.nui-dashwiz__header-step-line{border-color:var(--nui-color-line-active,#0079aa)}.nui-dashwiz__header-step--first .nui-dashwiz__header-step-col-right{border-color:transparent;opacity:0}.nui-dashwiz__header-step--last .nui-dashwiz__header-step-col-left{border-color:transparent;opacity:0}.nui-dashwiz__header-step--active{cursor:default}.nui-dashwiz__header-step--active .nui-dashwiz__header-step-link{color:var(--nui-color-bg-dark,#111)}.nui-dashwiz__header-step--active .nui-dashwiz__header-step-link:hover .nui-dashwiz__header-step-title{text-decoration:none}.nui-dashwiz__header-step--active .nui-dashwiz__header-step-link .nui-dashwiz__header-step-col-right>.nui-dashwiz__header-step-line{border-color:var(--nui-color-line-active,#0079aa)}.nui-dashwiz__header-step--complete .nui-dashwiz__header-step-link .nui-dashwiz__header-step-col-left>.nui-dashwiz__header-step-line{border-color:var(--nui-color-line-active,#0079aa)}.nui-dashwiz__header-step--complete .nui-dashwiz__header-step-link .nui-dashwiz__header-step-col-right>.nui-dashwiz__header-step-line{border-color:var(--nui-color-line-active,#0079aa)}.nui-dashwiz__header-step-container{display:inline-table;width:100%}.nui-dashwiz__header-step-container-bottom{display:none}.nui-dashwiz__header-step-container-bottom .nui-dashwiz__header-step-title{width:100%;max-width:100%;margin:0}.nui-dashwiz__header-step-row{display:table-row}.nui-dashwiz__header-step-col{display:table-cell;vertical-align:middle}.nui-dashwiz__header-step-col .nui-dashwiz__header-step-line{border-color:var(--nui-color-line-default,#d9d9d9)}.nui-dashwiz__header-step-col-right .nui-dashwiz__header-step-line{margin-right:-1px}.nui-dashwiz__header-step-line{border-bottom:solid 2px;height:2px}.nui-dashwiz__header-step-link{color:var(--nui-color-text-secondary,rgba(17, 17, 17, .6));transition:color .3s}.nui-dashwiz__header-step-link-container{display:flex;align-content:baseline;justify-content:center;align-items:center}.nui-dashwiz__header-step-title{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis;vertical-align:middle;display:inline-block;max-width:140px;margin:0 0 5px;text-decoration:inherit}.nui-dashwiz__header.nui-dashwiz__header--lines-stretched .nui-dashwiz__header-step-title{max-width:unset}.nui-dashwiz__footer{z-index:1080;background-color:var(--nui-color-bg-content,#fff);border-top:solid 1px var(--nui-color-line-default, #d9d9d9)}\n"], components: [{ type: i2.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }] });
10120
+ /** @nocollapse */ DashwizComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DashwizComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ComponentFactoryResolver }, { token: i3.LoggerService }, { token: DashwizService }], target: i0.ɵɵFactoryTarget.Component });
10121
+ /** @nocollapse */ DashwizComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: DashwizComponent, selector: "nui-dashwiz", inputs: { hideHeader: "hideHeader", canProceed: "canProceed", canFinish: "canFinish", finishText: "finishText", stretchStepLines: "stretchStepLines", buttonComponentTypes: "buttonComponentTypes", navigationControl: "navigationControl" }, outputs: { stepNavigated: "stepNavigated", cancel: "cancel", finish: "finish", next: "next", back: "back" }, host: { classAttribute: "flex-grow-1 overflow-auto" }, queries: [{ propertyName: "steps", predicate: DashwizStepComponent }], viewQueries: [{ propertyName: "dynamicStep", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef }, { propertyName: "stepTitles", predicate: ["stepTitle"], descendants: true }], ngImport: i0, template: "<div class=\"nui-dashwiz d-flex flex-column h-100\">\n <div\n class=\"nui-dashwiz__header\"\n *ngIf=\"!hideHeader\"\n [class.nui-dashwiz__header--lines-stretched]=\"stretchStepLines\"\n >\n <ul class=\"nui-dashwiz__header-steps\" *ngIf=\"steps\">\n <li\n *ngFor=\"let step of steps; let first = first; let last = last\"\n (click)=\"selectStep(step)\"\n [ngClass]=\"{\n 'nui-dashwiz__header-step--first': first,\n 'nui-dashwiz__header-step--last': last,\n 'nui-dashwiz__header-step--visited': step.visited,\n 'nui-dashwiz__header-step--disabled':\n step.disabled ||\n !step.visited ||\n currentStep.busyConfig.busy,\n 'nui-dashwiz__header-step--active': step.active,\n 'nui-dashwiz__header-step--complete': step.complete\n }\"\n class=\"nui-dashwiz__header-step\"\n >\n <div\n class=\"nui-dashwiz__header-step-container\"\n *ngIf=\"!step.hidden\"\n >\n <div class=\"nui-dashwiz__header-step-row\">\n <div class=\"nui-dashwiz__header-step-col\">\n <div class=\"nui-dashwiz__header-step-content\">\n <span class=\"nui-dashwiz__header-step-link\">\n <span\n class=\"nui-dashwiz__header-step-title\"\n #stepTitle\n >\n {{ step.title }}</span\n >\n <div\n class=\"nui-dashwiz__header-step-link-container\"\n >\n <div\n class=\"nui-dashwiz__header-step-col nui-dashwiz__header-step-col-right\"\n >\n <div\n class=\"nui-dashwiz__header-step-line\"\n [ngStyle]=\"{\n 'min-width.px':\n stepLineWidth\n }\"\n ></div>\n </div>\n <nui-icon\n [icon]=\"step.icon\"\n [iconColor]=\"step.iconColor\"\n ></nui-icon>\n <div\n class=\"nui-dashwiz__header-step-col nui-dashwiz__header-step-col-left\"\n >\n <div\n class=\"nui-dashwiz__header-step-line\"\n [ngStyle]=\"{\n 'min-width.px':\n stepLineWidth\n }\"\n ></div>\n </div>\n </div>\n </span>\n </div>\n </div>\n </div>\n </div>\n </li>\n </ul>\n </div>\n\n <div class=\"nui-scroll-shadows flex-grow-1 overflow-auto\">\n <ng-content></ng-content>\n <ng-template #container></ng-template>\n </div>\n\n <div class=\"nui-dashwiz__footer\">\n <ng-container\n nuiComponentPortal\n componentId=\"dashwizButtons\"\n [componentType]=\"\n buttonComponentTypes.length === 1\n ? buttonComponentTypes[0]\n : buttonComponentTypes[stepIndex]\n \"\n [properties]=\"buttonProperties\"\n [outputs]=\"['cancel', 'next', 'back', 'finish']\"\n (output)=\"onButtonPortalOutput($event)\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n </div>\n</div>\n", styles: [".nui-dashwiz__header{padding:10px 15px;background-color:var(--nui-color-bg-secondary,#fafafa);border-bottom:1px solid #d9d9d9;border-bottom:1px solid var(--nui-color-line-default, #d9d9d9);overflow:hidden;text-align:center;display:flex;justify-content:center;-webkit-user-select:none;-o-user-select:none;user-select:none}.nui-dashwiz__header-steps{margin-bottom:0;white-space:nowrap;display:inline-flex}.nui-dashwiz__header-step{line-height:normal;display:inline-flex;cursor:pointer}.nui-dashwiz__header-step--disabled{pointer-events:none;cursor:default}.nui-dashwiz__header-step--visited .nui-dashwiz__header-step-link{color:var(--nui-color-text-link,#0079aa)}.nui-dashwiz__header-step--visited .nui-dashwiz__header-step-link:hover{text-decoration:underline}.nui-dashwiz__header-step--visited .nui-dashwiz__header-step-col-right>.nui-dashwiz__header-step-line{border-color:var(--nui-color-line-active,#0079aa)}.nui-dashwiz__header-step--first .nui-dashwiz__header-step-col-right{border-color:transparent;opacity:0}.nui-dashwiz__header-step--last .nui-dashwiz__header-step-col-left{border-color:transparent;opacity:0}.nui-dashwiz__header-step--active{cursor:default}.nui-dashwiz__header-step--active .nui-dashwiz__header-step-link{color:var(--nui-color-bg-dark,#111)}.nui-dashwiz__header-step--active .nui-dashwiz__header-step-link:hover .nui-dashwiz__header-step-title{text-decoration:none}.nui-dashwiz__header-step--active .nui-dashwiz__header-step-link .nui-dashwiz__header-step-col-right>.nui-dashwiz__header-step-line{border-color:var(--nui-color-line-active,#0079aa)}.nui-dashwiz__header-step--complete .nui-dashwiz__header-step-link .nui-dashwiz__header-step-col-left>.nui-dashwiz__header-step-line{border-color:var(--nui-color-line-active,#0079aa)}.nui-dashwiz__header-step--complete .nui-dashwiz__header-step-link .nui-dashwiz__header-step-col-right>.nui-dashwiz__header-step-line{border-color:var(--nui-color-line-active,#0079aa)}.nui-dashwiz__header-step-container{display:inline-table;width:100%}.nui-dashwiz__header-step-container-bottom{display:none}.nui-dashwiz__header-step-container-bottom .nui-dashwiz__header-step-title{width:100%;max-width:100%;margin:0}.nui-dashwiz__header-step-row{display:table-row}.nui-dashwiz__header-step-col{display:table-cell;vertical-align:middle}.nui-dashwiz__header-step-col .nui-dashwiz__header-step-line{border-color:var(--nui-color-line-default,#d9d9d9)}.nui-dashwiz__header-step-col-right .nui-dashwiz__header-step-line{margin-right:-1px}.nui-dashwiz__header-step-line{border-bottom:solid 2px;height:2px}.nui-dashwiz__header-step-link{color:var(--nui-color-text-secondary,rgba(17, 17, 17, .6));transition:color .3s}.nui-dashwiz__header-step-link-container{display:flex;align-content:baseline;justify-content:center;align-items:center}.nui-dashwiz__header-step-title{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis;vertical-align:middle;display:inline-block;max-width:140px;margin:0 0 5px;text-decoration:inherit}.nui-dashwiz__header.nui-dashwiz__header--lines-stretched .nui-dashwiz__header-step-title{max-width:unset}.nui-dashwiz__footer{z-index:1080;background-color:var(--nui-color-bg-content,#fff);border-top:solid 1px var(--nui-color-line-default, #d9d9d9)}\n"], components: [{ type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }] });
9243
10122
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DashwizComponent, decorators: [{
9244
10123
  type: Component,
9245
10124
  args: [{
@@ -9248,7 +10127,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
9248
10127
  styleUrls: ["./dashwiz.component.less"],
9249
10128
  host: { class: "flex-grow-1 overflow-auto" },
9250
10129
  }]
9251
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ComponentFactoryResolver }, { type: i2.LoggerService }, { type: DashwizService }]; }, propDecorators: { steps: [{
10130
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ComponentFactoryResolver }, { type: i3.LoggerService }, { type: DashwizService }]; }, propDecorators: { steps: [{
9252
10131
  type: ContentChildren,
9253
10132
  args: [DashwizStepComponent]
9254
10133
  }], stepTitles: [{
@@ -9483,7 +10362,7 @@ class WidgetConfiguratorSectionComponent extends BaseLayout {
9483
10362
  }
9484
10363
  }
9485
10364
  WidgetConfiguratorSectionComponent.lateLoadKey = "WidgetConfiguratorSectionComponent";
9486
- /** @nocollapse */ WidgetConfiguratorSectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: WidgetConfiguratorSectionComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: PizzagnaService }, { token: i2.LoggerService }, { token: i1$2.FormBuilder }], target: i0.ɵɵFactoryTarget.Component });
10365
+ /** @nocollapse */ WidgetConfiguratorSectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: WidgetConfiguratorSectionComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: PizzagnaService }, { token: i3.LoggerService }, { token: i1$2.FormBuilder }], target: i0.ɵɵFactoryTarget.Component });
9487
10366
  /** @nocollapse */ WidgetConfiguratorSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: WidgetConfiguratorSectionComponent, selector: "nui-widget-configurator-section", inputs: { headerTextTemplate: "headerTextTemplate", headerButtonsTemplate: "headerButtonsTemplate", nodes: "nodes", headerText: "headerText" }, outputs: { formReady: "formReady", formDestroy: "formDestroy" }, host: { classAttribute: "nui-widget-configurator-section" }, usesInheritance: true, ngImport: i0, template: "<div class=\"widget-configurator-section\">\n <div\n class=\"widget-configurator-section__header d-flex justify-content-between align-items-center\"\n >\n <ng-container *ngTemplateOutlet=\"headerTextTemplate\"></ng-container>\n <ng-container *ngTemplateOutlet=\"headerButtonsTemplate\"></ng-container>\n\n <!-- TODO: REMOVE THOSE AFTER ALL WIDGETS ARE USING nui-items-dynamic -->\n <div\n headerText\n *ngIf=\"headerText\"\n class=\"widget-configurator-section__header-text\"\n [title]=\"headerText\"\n >\n {{ headerText }}\n </div>\n <ng-content select=\"[headerText]\"></ng-content>\n <ng-content select=\"[headerButtons]\"></ng-content>\n </div>\n <ng-container *ngFor=\"let node of nodeConfigs; trackBy: trackByFn\">\n <ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n [componentId]=\"node.id\"\n [componentType]=\"node.componentType\"\n [providers]=\"node.providers\"\n [properties]=\"node.properties\"\n [outputs]=\"['formReady']\"\n (output)=\"onEvent(node.id, $event)\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n </ng-container>\n <ng-content></ng-content>\n</div>\n", styles: [".widget-configurator-section{margin:15px;border-radius:3px;border:1px solid;border-color:var(--nui-color-line-default,#d9d9d9)}.widget-configurator-section__header{padding:15px 5px 15px 15px;height:40px;font-size:16px;font-weight:600;background-color:var(--nui-color-bg-table_header,#f0f0f0);color:var(--nui-color-text-secondary,rgba(17, 17, 17, .6))}.widget-configurator-section__header-text{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis}\n"], directives: [{ type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
9488
10367
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: WidgetConfiguratorSectionComponent, decorators: [{
9489
10368
  type: Component,
@@ -9495,7 +10374,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
9495
10374
  encapsulation: ViewEncapsulation.None,
9496
10375
  host: { class: "nui-widget-configurator-section" },
9497
10376
  }]
9498
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: PizzagnaService }, { type: i2.LoggerService }, { type: i1$2.FormBuilder }]; }, propDecorators: { headerTextTemplate: [{
10377
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: PizzagnaService }, { type: i3.LoggerService }, { type: i1$2.FormBuilder }]; }, propDecorators: { headerTextTemplate: [{
9499
10378
  type: Input
9500
10379
  }], headerButtonsTemplate: [{
9501
10380
  type: Input
@@ -9542,7 +10421,7 @@ class WidgetEditorAccordionComponent {
9542
10421
  }
9543
10422
  }
9544
10423
  /** @nocollapse */ WidgetEditorAccordionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: WidgetEditorAccordionComponent, deps: [{ token: WidgetConfiguratorSectionCoordinatorService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
9545
- /** @nocollapse */ WidgetEditorAccordionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: { showOpenStateIcon: "showOpenStateIcon", state: "state" }, ngImport: i0, template: "<div class=\"nui-widget-editor-accordion\">\n <nui-expander [open]=\"open\" (openChange)=\"openChange($event)\">\n <div\n nuiExpanderHeader\n class=\"d-flex align-items-start\"\n [class.error-state]=\"state === 'critical'\"\n [class.warning-state]=\"state === 'warning'\"\n >\n <ng-content select=\"[accordionHeader]\"></ng-content>\n <nui-icon\n *ngIf=\"showOpenStateIcon\"\n class=\"nui-widget-editor-accordion__edit-icon\"\n [icon]=\"open ? 'triangle-down' : 'triangle-left'\"\n ></nui-icon>\n </div>\n <ng-content></ng-content>\n </nui-expander>\n</div>\n", styles: [".nui-widget-editor-accordion nui-form-field:last-child .nui-form-field{margin-bottom:0}.nui-widget-editor-accordion__edit-icon{padding:10px;margin-left:auto;margin-right:5px}.nui-widget-editor-accordion .nui-expander--expanded{padding-bottom:0}.nui-widget-editor-accordion .nui-expander__header-icon{display:none}.nui-widget-editor-accordion .nui-expander__header .error-state{background-color:var(--nui-color-semantic-critical-bg,#fceae6)}.nui-widget-editor-accordion .nui-expander__header .warning-state{background-color:var(--nui-color-semantic-warning-bg,#fff9e6)}.nui-widget-editor-accordion .nui-expander__header [nuiexpanderheader]{border-top:1px solid;border-top-color:var(--nui-color-line-default,#d9d9d9);min-height:50px}.nui-widget-editor-accordion .nui-expander__header [nuiexpanderheader] [accordionheader]{overflow:hidden}.nui-widget-editor-accordion .nui-expander__header [nuiexpanderheader] [accordionheader]>div{overflow-x:hidden}.nui-widget-editor-accordion .nui-expander__header [nuiexpanderheader] [accordionheader]>div .nui-text-secondary{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis}.nui-widget-editor-accordion .nui-expander__body{margin:0;padding:0;border-left:none}\n"], components: [{ type: i2.ExpanderComponent, selector: "nui-expander", inputs: ["disabled", "icon", "header", "hideLeftBorder", "open"], outputs: ["openChange"] }, { type: i2.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
10424
+ /** @nocollapse */ WidgetEditorAccordionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: { showOpenStateIcon: "showOpenStateIcon", state: "state" }, ngImport: i0, template: "<div class=\"nui-widget-editor-accordion\">\n <nui-expander [open]=\"open\" (openChange)=\"openChange($event)\">\n <div\n nuiExpanderHeader\n class=\"d-flex align-items-start\"\n [class.error-state]=\"state === 'critical'\"\n [class.warning-state]=\"state === 'warning'\"\n >\n <ng-content select=\"[accordionHeader]\"></ng-content>\n <nui-icon\n *ngIf=\"showOpenStateIcon\"\n class=\"nui-widget-editor-accordion__edit-icon\"\n [icon]=\"open ? 'triangle-down' : 'triangle-left'\"\n ></nui-icon>\n </div>\n <ng-content></ng-content>\n </nui-expander>\n</div>\n", styles: [".nui-widget-editor-accordion nui-form-field:last-child .nui-form-field{margin-bottom:0}.nui-widget-editor-accordion__edit-icon{padding:10px;margin-left:auto;margin-right:5px}.nui-widget-editor-accordion .nui-expander--expanded{padding-bottom:0}.nui-widget-editor-accordion .nui-expander__header-icon{display:none}.nui-widget-editor-accordion .nui-expander__header .error-state{background-color:var(--nui-color-semantic-critical-bg,#fceae6)}.nui-widget-editor-accordion .nui-expander__header .warning-state{background-color:var(--nui-color-semantic-warning-bg,#fff9e6)}.nui-widget-editor-accordion .nui-expander__header [nuiexpanderheader]{border-top:1px solid;border-top-color:var(--nui-color-line-default,#d9d9d9);min-height:50px}.nui-widget-editor-accordion .nui-expander__header [nuiexpanderheader] [accordionheader]{overflow:hidden}.nui-widget-editor-accordion .nui-expander__header [nuiexpanderheader] [accordionheader]>div{overflow-x:hidden}.nui-widget-editor-accordion .nui-expander__header [nuiexpanderheader] [accordionheader]>div .nui-text-secondary{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis}.nui-widget-editor-accordion .nui-expander__body{margin:0;padding:0;border-left:none}\n"], components: [{ type: i3.ExpanderComponent, selector: "nui-expander", inputs: ["disabled", "icon", "header", "hideLeftBorder", "open"], outputs: ["openChange"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
9546
10425
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: WidgetEditorAccordionComponent, decorators: [{
9547
10426
  type: Component,
9548
10427
  args: [{
@@ -9899,7 +10778,7 @@ class BackgroundColorRulesConfigurationComponent {
9899
10778
  }
9900
10779
  BackgroundColorRulesConfigurationComponent.lateLoadKey = "BackgroundColorRulesConfigurationComponent";
9901
10780
  /** @nocollapse */ BackgroundColorRulesConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: BackgroundColorRulesConfigurationComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$2.FormBuilder }, { token: KpiColorComparatorsRegistryService }], target: i0.ɵɵFactoryTarget.Component });
9902
- /** @nocollapse */ BackgroundColorRulesConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: BackgroundColorRulesConfigurationComponent, selector: "nui-background-color-rules-configuration", inputs: { rules: "rules", backgroundColors: "backgroundColors" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<nui-widget-editor-accordion\n [formGroup]=\"formLocal\"\n [state]=\"formLocal | 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]=\"formLocal | nuiFormHeaderIconPipe: 'color' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n>Background color rules</span>\n <div class=\"nui-text-secondary\" [title]=\"getColorRulesSubtitle()\">\n {{ getColorRulesSubtitle() }}\n </div>\n </div>\n </div>\n <div class=\"kpi-color-rules-configuration__accordion-content\">\n <div class=\"mb-4\">\n <p class=\"mb-3\">\n We can automatically change the background color when the value\n meets certain conditions.\n </p>\n <div cdkDropList (cdkDropListDropped)=\"drop($event)\">\n <ng-container\n *ngFor=\"\n let rule of formLocal.get('rules')?.value.controls;\n index as i\n \"\n >\n <div\n class=\"kpi-color-rule d-flex pt-3\"\n [formGroup]=\"rule\"\n cdkDrag\n (cdkDragStarted)=\"cdkDragStarted($event)\"\n >\n <div\n class=\"kpi-color-rule__control justify-content-center d-flex\"\n >\n <nui-icon\n icon=\"drag\"\n class=\"kpi-color-rule__drag align-items-center\"\n cdkDragHandle\n ></nui-icon>\n </div>\n <div class=\"d-flex flex-grow-1 flex-wrap\">\n <nui-form-field\n class=\"mr-3 mb-3 flex-grow-1\"\n [control]=\"rule.get('comparisonType')\"\n >\n <nui-select-v2\n placeholder=\"Select Item\"\n i18n-placeholder\n style=\"min-width: 220px\"\n [formControl]=\"rule.get('comparisonType')\"\n >\n <nui-select-v2-option\n *ngFor=\"\n let item of availableComparators\n | keyvalue\n \"\n [value]=\"item.key\"\n >\n {{ getLabel(item.key) }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n\n <nui-form-field\n class=\"mr-3 mb-3\"\n [control]=\"rule.get('value')\"\n style=\"max-width: 100px\"\n >\n <nui-textbox\n formControlName=\"value\"\n ></nui-textbox>\n </nui-form-field>\n\n <nui-form-field\n class=\"mr-3 mb-3\"\n [control]=\"rule.get('color')\"\n >\n <nui-color-picker\n formControlName=\"color\"\n [colorPalette]=\"palette\"\n ></nui-color-picker>\n </nui-form-field>\n </div>\n <button\n nui-button\n icon=\"delete\"\n displayStyle=\"action\"\n type=\"button\"\n class=\"kpi-color-rule__control\"\n (click)=\"removeRule(i)\"\n ></button>\n <nui-drop-area\n *cdkDragPlaceholder\n [style.height.px]=\"height\"\n ></nui-drop-area>\n </div>\n </ng-container>\n </div>\n <button\n nui-button\n icon=\"add\"\n displayStyle=\"action\"\n type=\"button\"\n (click)=\"addRule()\"\n i18n\n >\n Add new rule\n </button>\n </div>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".kpi-color-rules-configuration__accordion-content{padding:15px 15px 15px 46px}.kpi-color-rules-configuration__color-select{display:flex;align-items:center}.kpi-color-rules-configuration__color-preview{width:100%;height:20px;border-radius:3px}.kpi-color-rules-configuration__color-preview.with-arrow{width:calc(100% - 30px - 10px);margin-left:10px}.kpi-color-rules-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}.kpi-color-rule{background-color:var(--nui-color-bg-content,#fff)}.kpi-color-rule__drag{cursor:move}.kpi-color-rule__control{min-width:30px;height:30px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i2.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i2.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i2.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }, { type: i2.TextboxComponent, selector: "nui-textbox", inputs: ["autocomplete", "disabled", "hint", "placeholder", "readonly", "rows", "type", "isInErrorState", "ariaLabel", "value", "caption", "info", "customBoxWidth", "name", "isBusy"], outputs: ["textChange", "blurred"] }, { type: ColorPickerComponent, selector: "nui-color-picker", inputs: ["colors", "colorPalette", "cols"] }, { type: i2.ButtonComponent, selector: "[nui-button]", inputs: ["ariaLabel", "isRepeat", "iconColor", "size", "displayStyle", "icon", "iconRight", "isBusy", "isEmpty"] }, { type: DropAreaComponent, selector: "nui-drop-area" }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i5$1.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "id", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListAutoScrollDisabled", "cdkDropListOrientation", "cdkDropListLockAxis", "cdkDropListData", "cdkDropListAutoScrollStep"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i5$1.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragDisabled", "cdkDragStartDelay", "cdkDragLockAxis", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragBoundary", "cdkDragRootElement", "cdkDragPreviewContainer", "cdkDragData", "cdkDragFreeDragPosition"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i5$1.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i5$1.CdkDragPlaceholder, selector: "ng-template[cdkDragPlaceholder]", inputs: ["data"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": FormHeaderIconPipePipe, "keyvalue": i4.KeyValuePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
10781
+ /** @nocollapse */ BackgroundColorRulesConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: BackgroundColorRulesConfigurationComponent, selector: "nui-background-color-rules-configuration", inputs: { rules: "rules", backgroundColors: "backgroundColors" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<nui-widget-editor-accordion\n [formGroup]=\"formLocal\"\n [state]=\"formLocal | 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]=\"formLocal | nuiFormHeaderIconPipe: 'color' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n>Background color rules</span>\n <div class=\"nui-text-secondary\" [title]=\"getColorRulesSubtitle()\">\n {{ getColorRulesSubtitle() }}\n </div>\n </div>\n </div>\n <div class=\"kpi-color-rules-configuration__accordion-content\">\n <div class=\"mb-4\">\n <p class=\"mb-3\">\n We can automatically change the background color when the value\n meets certain conditions.\n </p>\n <div cdkDropList (cdkDropListDropped)=\"drop($event)\">\n <ng-container\n *ngFor=\"\n let rule of formLocal.get('rules')?.value.controls;\n index as i\n \"\n >\n <div\n class=\"kpi-color-rule d-flex pt-3\"\n [formGroup]=\"rule\"\n cdkDrag\n (cdkDragStarted)=\"cdkDragStarted($event)\"\n >\n <div\n class=\"kpi-color-rule__control justify-content-center d-flex\"\n >\n <nui-icon\n icon=\"drag\"\n class=\"kpi-color-rule__drag align-items-center\"\n cdkDragHandle\n ></nui-icon>\n </div>\n <div class=\"d-flex flex-grow-1 flex-wrap\">\n <nui-form-field\n class=\"mr-3 mb-3 flex-grow-1\"\n [control]=\"rule.get('comparisonType')\"\n >\n <nui-select-v2\n placeholder=\"Select Item\"\n i18n-placeholder\n style=\"min-width: 220px\"\n [formControl]=\"rule.get('comparisonType')\"\n >\n <nui-select-v2-option\n *ngFor=\"\n let item of availableComparators\n | keyvalue\n \"\n [value]=\"item.key\"\n >\n {{ getLabel(item.key) }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n\n <nui-form-field\n class=\"mr-3 mb-3\"\n [control]=\"rule.get('value')\"\n style=\"max-width: 100px\"\n >\n <nui-textbox\n formControlName=\"value\"\n ></nui-textbox>\n </nui-form-field>\n\n <nui-form-field\n class=\"mr-3 mb-3\"\n [control]=\"rule.get('color')\"\n >\n <nui-color-picker\n formControlName=\"color\"\n [colorPalette]=\"palette\"\n ></nui-color-picker>\n </nui-form-field>\n </div>\n <button\n nui-button\n icon=\"delete\"\n displayStyle=\"action\"\n type=\"button\"\n class=\"kpi-color-rule__control\"\n (click)=\"removeRule(i)\"\n ></button>\n <nui-drop-area\n *cdkDragPlaceholder\n [style.height.px]=\"height\"\n ></nui-drop-area>\n </div>\n </ng-container>\n </div>\n <button\n nui-button\n icon=\"add\"\n displayStyle=\"action\"\n type=\"button\"\n (click)=\"addRule()\"\n i18n\n >\n Add new rule\n </button>\n </div>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".kpi-color-rules-configuration__accordion-content{padding:15px 15px 15px 46px}.kpi-color-rules-configuration__color-select{display:flex;align-items:center}.kpi-color-rules-configuration__color-preview{width:100%;height:20px;border-radius:3px}.kpi-color-rules-configuration__color-preview.with-arrow{width:calc(100% - 30px - 10px);margin-left:10px}.kpi-color-rules-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}.kpi-color-rule{background-color:var(--nui-color-bg-content,#fff)}.kpi-color-rule__drag{cursor:move}.kpi-color-rule__control{min-width:30px;height:30px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i3.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i3.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }, { type: i3.TextboxComponent, selector: "nui-textbox", inputs: ["autocomplete", "disabled", "hint", "placeholder", "readonly", "rows", "type", "isInErrorState", "ariaLabel", "value", "caption", "info", "customBoxWidth", "name", "isBusy"], outputs: ["textChange", "blurred"] }, { type: ColorPickerComponent, selector: "nui-color-picker", inputs: ["colors", "colorPalette", "cols"] }, { type: i3.ButtonComponent, selector: "[nui-button]", inputs: ["ariaLabel", "isRepeat", "iconColor", "size", "displayStyle", "icon", "iconRight", "isBusy", "isEmpty"] }, { type: DropAreaComponent, selector: "nui-drop-area" }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i5$1.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "id", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListAutoScrollDisabled", "cdkDropListOrientation", "cdkDropListLockAxis", "cdkDropListData", "cdkDropListAutoScrollStep"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i5$1.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragDisabled", "cdkDragStartDelay", "cdkDragLockAxis", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragBoundary", "cdkDragRootElement", "cdkDragPreviewContainer", "cdkDragData", "cdkDragFreeDragPosition"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i5$1.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i5$1.CdkDragPlaceholder, selector: "ng-template[cdkDragPlaceholder]", inputs: ["data"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": FormHeaderIconPipePipe, "keyvalue": i4.KeyValuePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
9903
10782
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: BackgroundColorRulesConfigurationComponent, decorators: [{
9904
10783
  type: Component,
9905
10784
  args: [{
@@ -9952,7 +10831,7 @@ class DataSourceErrorComponent {
9952
10831
  }
9953
10832
  DataSourceErrorComponent.lateLoadKey = "DataSourceErrorComponent";
9954
10833
  /** @nocollapse */ DataSourceErrorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DataSourceErrorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
9955
- /** @nocollapse */ DataSourceErrorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: DataSourceErrorComponent, selector: "nui-data-source-error", inputs: { dataSource: "dataSource" }, outputs: { errorState: "errorState" }, usesOnChanges: true, ngImport: i0, template: "<div>\n <nui-message\n class=\"mt-4 d-block\"\n *ngIf=\"!dataSource\"\n type=\"info\"\n [allowDismiss]=\"false\"\n >\n <b i18n>Select a data source</b>\n </nui-message>\n <nui-message\n class=\"mt-4 d-block\"\n *ngIf=\"dataSourceError\"\n type=\"critical\"\n [allowDismiss]=\"false\"\n >\n <b i18n>Something went wrong with the data source: </b>\n {{ dataSourceError.message || dataSourceError.type }}\n </nui-message>\n</div>\n", components: [{ type: i2.MessageComponent, selector: "nui-message", inputs: ["allowDismiss", "type", "manualControl"], outputs: ["dismiss"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
10834
+ /** @nocollapse */ DataSourceErrorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: DataSourceErrorComponent, selector: "nui-data-source-error", inputs: { dataSource: "dataSource" }, outputs: { errorState: "errorState" }, usesOnChanges: true, ngImport: i0, template: "<div>\n <nui-message\n class=\"mt-4 d-block\"\n *ngIf=\"!dataSource\"\n type=\"info\"\n [allowDismiss]=\"false\"\n >\n <b i18n>Select a data source</b>\n </nui-message>\n <nui-message\n class=\"mt-4 d-block\"\n *ngIf=\"dataSourceError\"\n type=\"critical\"\n [allowDismiss]=\"false\"\n >\n <b i18n>Something went wrong with the data source: </b>\n {{ dataSourceError.message || dataSourceError.type }}\n </nui-message>\n</div>\n", components: [{ type: i3.MessageComponent, selector: "nui-message", inputs: ["allowDismiss", "type", "manualControl"], outputs: ["dismiss"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
9956
10835
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DataSourceErrorComponent, decorators: [{
9957
10836
  type: Component,
9958
10837
  args: [{
@@ -10108,8 +10987,8 @@ class DataSourceConfigurationV2Component {
10108
10987
  }
10109
10988
  }
10110
10989
  DataSourceConfigurationV2Component.lateLoadKey = "DataSourceConfigurationV2Component";
10111
- /** @nocollapse */ DataSourceConfigurationV2Component.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DataSourceConfigurationV2Component, deps: [{ token: i0.ChangeDetectorRef }, { token: ConfiguratorHeadingService }, { token: i1$2.FormBuilder }, { token: ProviderRegistryService }, { token: PIZZAGNA_EVENT_BUS }, { token: i0.Injector }, { token: i2.LoggerService }], target: i0.ɵɵFactoryTarget.Component });
10112
- /** @nocollapse */ DataSourceConfigurationV2Component.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: DataSourceConfigurationV2Component, selector: "nui-data-source-configuration", inputs: { dataSourceProviders: "dataSourceProviders", properties: "properties", providerId: "providerId", errorComponent: "errorComponent" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<nui-widget-editor-accordion\n [formGroup]=\"form\"\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\"\n>\n <div accordionHeader class=\"d-flex align-items-center pl-4 py-2\">\n <nui-icon\n class=\"align-self-start pt-2\"\n [icon]=\"form | nuiFormHeaderIconPipe: 'database' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt1\">\n <span class=\"nui-text-label\" i18n>Data Source</span>\n <div\n class=\"nui-text-secondary\"\n [title]=\"form.get('dataSource')?.value?.label\"\n >\n {{ form.get(\"dataSource\")?.value?.label }}\n </div>\n </div>\n </div>\n <div class=\"datasource-configuration__accordion-content\">\n <nui-form-field [control]=\"form.get('dataSource')\">\n <nui-select-v2\n placeholder=\"Select data source\"\n i18n-placeholder\n [title]=\"form.get('dataSource')?.value?.label\"\n [popupViewportMargin]=\"configuratorHeading.height$ | async\"\n formControlName=\"dataSource\"\n (valueSelected)=\"onDataSourceSelected($event)\"\n class=\"datasource-configuration__accordion-content__datasource-input\"\n >\n <nui-select-v2-option\n *ngFor=\"let dataSourceProvider of dataSourceProviders\"\n [title]=\"dataSourceProvider?.label\"\n [value]=\"dataSourceProvider\"\n >\n {{ dataSourceProvider.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n <ng-container\n nuiComponentPortal\n [componentId]=\"errorComponent\"\n [componentType]=\"errorComponent\"\n [outputs]=\"['errorState']\"\n [properties]=\"{ dataSource: dataSource }\"\n (output)=\"onErrorState($event.payload)\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n >\n </ng-template>\n </ng-container>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".datasource-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i2.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i2.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i2.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": FormHeaderIconPipePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
10990
+ /** @nocollapse */ DataSourceConfigurationV2Component.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DataSourceConfigurationV2Component, deps: [{ token: i0.ChangeDetectorRef }, { token: ConfiguratorHeadingService }, { token: i1$2.FormBuilder }, { token: ProviderRegistryService }, { token: PIZZAGNA_EVENT_BUS }, { token: i0.Injector }, { token: i3.LoggerService }], target: i0.ɵɵFactoryTarget.Component });
10991
+ /** @nocollapse */ DataSourceConfigurationV2Component.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: DataSourceConfigurationV2Component, selector: "nui-data-source-configuration", inputs: { dataSourceProviders: "dataSourceProviders", properties: "properties", providerId: "providerId", errorComponent: "errorComponent" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<nui-widget-editor-accordion\n [formGroup]=\"form\"\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\"\n>\n <div accordionHeader class=\"d-flex align-items-center pl-4 py-2\">\n <nui-icon\n class=\"align-self-start pt-2\"\n [icon]=\"form | nuiFormHeaderIconPipe: 'database' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt1\">\n <span class=\"nui-text-label\" i18n>Data Source</span>\n <div\n class=\"nui-text-secondary\"\n [title]=\"form.get('dataSource')?.value?.label\"\n >\n {{ form.get(\"dataSource\")?.value?.label }}\n </div>\n </div>\n </div>\n <div class=\"datasource-configuration__accordion-content\">\n <nui-form-field [control]=\"form.get('dataSource')\">\n <nui-select-v2\n placeholder=\"Select data source\"\n i18n-placeholder\n [title]=\"form.get('dataSource')?.value?.label\"\n [popupViewportMargin]=\"configuratorHeading.height$ | async\"\n formControlName=\"dataSource\"\n (valueSelected)=\"onDataSourceSelected($event)\"\n class=\"datasource-configuration__accordion-content__datasource-input\"\n >\n <nui-select-v2-option\n *ngFor=\"let dataSourceProvider of dataSourceProviders\"\n [title]=\"dataSourceProvider?.label\"\n [value]=\"dataSourceProvider\"\n >\n {{ dataSourceProvider.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n <ng-container\n nuiComponentPortal\n [componentId]=\"errorComponent\"\n [componentType]=\"errorComponent\"\n [outputs]=\"['errorState']\"\n [properties]=\"{ dataSource: dataSource }\"\n (output)=\"onErrorState($event.payload)\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n >\n </ng-template>\n </ng-container>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".datasource-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i3.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i3.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": FormHeaderIconPipePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
10113
10992
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DataSourceConfigurationV2Component, decorators: [{
10114
10993
  type: Component,
10115
10994
  args: [{
@@ -10118,10 +10997,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
10118
10997
  styleUrls: ["./data-source-configuration-v2.component.less"],
10119
10998
  changeDetection: ChangeDetectionStrategy.OnPush,
10120
10999
  }]
10121
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: ConfiguratorHeadingService }, { type: i1$2.FormBuilder }, { type: ProviderRegistryService }, { type: i2.EventBus, decorators: [{
11000
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: ConfiguratorHeadingService }, { type: i1$2.FormBuilder }, { type: ProviderRegistryService }, { type: i3.EventBus, decorators: [{
10122
11001
  type: Inject,
10123
11002
  args: [PIZZAGNA_EVENT_BUS]
10124
- }] }, { type: i0.Injector }, { type: i2.LoggerService }]; }, propDecorators: { dataSourceProviders: [{
11003
+ }] }, { type: i0.Injector }, { type: i3.LoggerService }]; }, propDecorators: { dataSourceProviders: [{
10125
11004
  type: Input
10126
11005
  }], properties: [{
10127
11006
  type: Input
@@ -10227,8 +11106,8 @@ class DataSourceConfigurationComponent {
10227
11106
  }
10228
11107
  }
10229
11108
  DataSourceConfigurationComponent.lateLoadKey = "DataSourceConfigurationComponent";
10230
- /** @nocollapse */ DataSourceConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DataSourceConfigurationComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: ConfiguratorHeadingService }, { token: i1$2.FormBuilder }, { token: ProviderRegistryService }, { token: PIZZAGNA_EVENT_BUS }, { token: i0.Injector }, { token: i2.LoggerService }], target: i0.ɵɵFactoryTarget.Component });
10231
- /** @nocollapse */ DataSourceConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: DataSourceConfigurationComponent, selector: "nui-data-source-configuration", inputs: { dataSourceProviders: "dataSourceProviders", errorComponent: "errorComponent", properties: "properties", providerId: "providerId" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<nui-widget-editor-accordion\n [formGroup]=\"form\"\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\"\n>\n <div accordionHeader class=\"d-flex align-items-center pl-4 py-2\">\n <nui-icon\n class=\"align-self-start pt-2\"\n [icon]=\"form | nuiFormHeaderIconPipe: 'database' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt1\">\n <span class=\"nui-text-label\" i18n>Data Source</span>\n <div\n class=\"nui-text-secondary\"\n [title]=\"form.get('providerId')?.value\"\n >\n {{ form.get(\"providerId\")?.value }}\n </div>\n </div>\n </div>\n <div class=\"datasource-configuration__accordion-content\">\n <nui-form-field\n caption=\"Select Data Source\"\n i18n-caption\n [control]=\"form.get('providerId')\"\n >\n <nui-select-v2\n placeholder=\"Data Sources\"\n i18n-placeholder\n [title]=\"form.get('providerId')?.value\"\n formControlName=\"providerId\"\n [popupViewportMargin]=\"configuratorHeading.height$ | async\"\n (valueSelected)=\"onDataSourceChange($event)\"\n class=\"datasource-configuration__accordion-content__datasource-input\"\n >\n <nui-select-v2-option\n *ngFor=\"let dataSourceProvider of dataSourceProviders\"\n [title]=\"dataSourceProvider\"\n [value]=\"dataSourceProvider\"\n >\n {{ dataSourceProvider }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n <ng-container\n nuiComponentPortal\n [componentId]=\"errorComponent\"\n [componentType]=\"errorComponent\"\n [outputs]=\"['errorState']\"\n [properties]=\"{ dataSource: dataSource }\"\n (output)=\"onErrorState($event.payload)\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n >\n </ng-template>\n </ng-container>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".datasource-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i2.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i2.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i2.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": FormHeaderIconPipePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
11109
+ /** @nocollapse */ DataSourceConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DataSourceConfigurationComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: ConfiguratorHeadingService }, { token: i1$2.FormBuilder }, { token: ProviderRegistryService }, { token: PIZZAGNA_EVENT_BUS }, { token: i0.Injector }, { token: i3.LoggerService }], target: i0.ɵɵFactoryTarget.Component });
11110
+ /** @nocollapse */ DataSourceConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: DataSourceConfigurationComponent, selector: "nui-data-source-configuration", inputs: { dataSourceProviders: "dataSourceProviders", errorComponent: "errorComponent", properties: "properties", providerId: "providerId" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<nui-widget-editor-accordion\n [formGroup]=\"form\"\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\"\n>\n <div accordionHeader class=\"d-flex align-items-center pl-4 py-2\">\n <nui-icon\n class=\"align-self-start pt-2\"\n [icon]=\"form | nuiFormHeaderIconPipe: 'database' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt1\">\n <span class=\"nui-text-label\" i18n>Data Source</span>\n <div\n class=\"nui-text-secondary\"\n [title]=\"form.get('providerId')?.value\"\n >\n {{ form.get(\"providerId\")?.value }}\n </div>\n </div>\n </div>\n <div class=\"datasource-configuration__accordion-content\">\n <nui-form-field\n caption=\"Select Data Source\"\n i18n-caption\n [control]=\"form.get('providerId')\"\n >\n <nui-select-v2\n placeholder=\"Data Sources\"\n i18n-placeholder\n [title]=\"form.get('providerId')?.value\"\n formControlName=\"providerId\"\n [popupViewportMargin]=\"configuratorHeading.height$ | async\"\n (valueSelected)=\"onDataSourceChange($event)\"\n class=\"datasource-configuration__accordion-content__datasource-input\"\n >\n <nui-select-v2-option\n *ngFor=\"let dataSourceProvider of dataSourceProviders\"\n [title]=\"dataSourceProvider\"\n [value]=\"dataSourceProvider\"\n >\n {{ dataSourceProvider }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n <ng-container\n nuiComponentPortal\n [componentId]=\"errorComponent\"\n [componentType]=\"errorComponent\"\n [outputs]=\"['errorState']\"\n [properties]=\"{ dataSource: dataSource }\"\n (output)=\"onErrorState($event.payload)\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n >\n </ng-template>\n </ng-container>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".datasource-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i3.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i3.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": FormHeaderIconPipePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
10232
11111
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DataSourceConfigurationComponent, decorators: [{
10233
11112
  type: Component,
10234
11113
  args: [{
@@ -10237,10 +11116,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
10237
11116
  styleUrls: ["./data-source-configuration.component.less"],
10238
11117
  changeDetection: ChangeDetectionStrategy.OnPush,
10239
11118
  }]
10240
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: ConfiguratorHeadingService }, { type: i1$2.FormBuilder }, { type: ProviderRegistryService }, { type: i2.EventBus, decorators: [{
11119
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: ConfiguratorHeadingService }, { type: i1$2.FormBuilder }, { type: ProviderRegistryService }, { type: i3.EventBus, decorators: [{
10241
11120
  type: Inject,
10242
11121
  args: [PIZZAGNA_EVENT_BUS]
10243
- }] }, { type: i0.Injector }, { type: i2.LoggerService }]; }, propDecorators: { dataSourceProviders: [{
11122
+ }] }, { type: i0.Injector }, { type: i3.LoggerService }]; }, propDecorators: { dataSourceProviders: [{
10244
11123
  type: Input
10245
11124
  }], errorComponent: [{
10246
11125
  type: Input
@@ -10264,7 +11143,7 @@ class TableDataSourceErrorComponent extends DataSourceErrorComponent {
10264
11143
  }
10265
11144
  TableDataSourceErrorComponent.lateLoadKey = "TableDataSourceErrorComponent";
10266
11145
  /** @nocollapse */ TableDataSourceErrorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TableDataSourceErrorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
10267
- /** @nocollapse */ TableDataSourceErrorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: TableDataSourceErrorComponent, selector: "nui-table-data-source-error", usesInheritance: true, ngImport: i0, template: "<div>\n <nui-message\n *ngIf=\"\n dataSource && !data?.dataFields.length && !dataSourceError && !busy\n \"\n class=\"mt-4 d-block\"\n type=\"info\"\n [allowDismiss]=\"false\"\n >\n <b i18n>Data source needs to be configured</b>\n </nui-message>\n <nui-message\n class=\"mt-4 d-block\"\n *ngIf=\"!dataSource\"\n type=\"info\"\n [allowDismiss]=\"false\"\n >\n <b i18n>Select a data source</b>\n </nui-message>\n <nui-message\n class=\"mt-4 d-block\"\n *ngIf=\"dataSourceError\"\n type=\"critical\"\n [allowDismiss]=\"false\"\n >\n <b i18n>Something went wrong with the data source: </b>\n {{ dataSourceError.message || dataSourceError.type }}\n </nui-message>\n</div>\n", components: [{ type: i2.MessageComponent, selector: "nui-message", inputs: ["allowDismiss", "type", "manualControl"], outputs: ["dismiss"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
11146
+ /** @nocollapse */ TableDataSourceErrorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: TableDataSourceErrorComponent, selector: "nui-table-data-source-error", usesInheritance: true, ngImport: i0, template: "<div>\n <nui-message\n *ngIf=\"\n dataSource && !data?.dataFields.length && !dataSourceError && !busy\n \"\n class=\"mt-4 d-block\"\n type=\"info\"\n [allowDismiss]=\"false\"\n >\n <b i18n>Data source needs to be configured</b>\n </nui-message>\n <nui-message\n class=\"mt-4 d-block\"\n *ngIf=\"!dataSource\"\n type=\"info\"\n [allowDismiss]=\"false\"\n >\n <b i18n>Select a data source</b>\n </nui-message>\n <nui-message\n class=\"mt-4 d-block\"\n *ngIf=\"dataSourceError\"\n type=\"critical\"\n [allowDismiss]=\"false\"\n >\n <b i18n>Something went wrong with the data source: </b>\n {{ dataSourceError.message || dataSourceError.type }}\n </nui-message>\n</div>\n", components: [{ type: i3.MessageComponent, selector: "nui-message", inputs: ["allowDismiss", "type", "manualControl"], outputs: ["dismiss"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
10268
11147
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TableDataSourceErrorComponent, decorators: [{
10269
11148
  type: Component,
10270
11149
  args: [{
@@ -10360,7 +11239,7 @@ class EmbeddedContentConfigurationComponent {
10360
11239
  }
10361
11240
  EmbeddedContentConfigurationComponent.lateLoadKey = "EmbeddedContentConfigurationComponent";
10362
11241
  /** @nocollapse */ EmbeddedContentConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EmbeddedContentConfigurationComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$2.FormBuilder }], target: i0.ɵɵFactoryTarget.Component });
10363
- /** @nocollapse */ EmbeddedContentConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: EmbeddedContentConfigurationComponent, selector: "nui-embedded-content-configuration", inputs: { mode: "mode", messageComponent: "messageComponent", customEmbeddedContent: "customEmbeddedContent" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<nui-widget-editor-accordion\n [formGroup]=\"form\"\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\"\n>\n <div accordionHeader class=\"d-flex align-items-center pl-4 py-2\">\n <nui-icon\n class=\"align-self-start pt-2\"\n [icon]=\"form | nuiFormHeaderIconPipe: 'tag' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt1\">\n <span class=\"nui-text-label\" i18n>Embedded Content</span>\n <div class=\"nui-text-secondary\">\n Show the specific HTML I supply\n </div>\n </div>\n </div>\n <div class=\"embedded-configurator-section__accordion-content\">\n <ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n [componentType]=\"messageComponent.componentType\"\n [properties]=\"messageComponent.properties\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n <nui-form-field\n [control]=\"form.get('mode')\"\n caption=\"What do you want to show in the widget?\"\n i18n-caption\n >\n <nui-radio-group\n formControlName=\"mode\"\n [(value)]=\"mode\"\n name=\"mode\"\n required\n >\n <nui-radio [value]=\"modes[0].value\">\n {{ modes[0].displayValue }}\n </nui-radio>\n <nui-form-field [control]=\"form.get('urlCustomContent')\">\n <nui-textbox formControlName=\"urlCustomContent\">\n </nui-textbox>\n </nui-form-field>\n <nui-radio [value]=\"modes[1].value\">\n {{ modes[1].displayValue }}\n </nui-radio>\n <nui-form-field [control]=\"form.get('htmlCustomContent')\">\n <nui-textbox\n class=\"textarea-scrollable\"\n formControlName=\"htmlCustomContent\"\n rows=\"7\"\n >\n </nui-textbox>\n </nui-form-field>\n </nui-radio-group>\n </nui-form-field>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".embedded-configurator-section__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i2.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i2.RadioGroupComponent, selector: "nui-radio-group", inputs: ["ariaLabel", "value", "disabled", "name"], outputs: ["valueChange"] }, { type: i2.RadioComponent, selector: "nui-radio", inputs: ["checked", "ariaLabel", "disabled", "hovered", "value", "hint"], outputs: ["valueChange"] }, { type: i2.TextboxComponent, selector: "nui-textbox", inputs: ["autocomplete", "disabled", "hint", "placeholder", "readonly", "rows", "type", "isInErrorState", "ariaLabel", "value", "caption", "info", "customBoxWidth", "name", "isBusy"], outputs: ["textChange", "blurred"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i1$2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": FormHeaderIconPipePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
11242
+ /** @nocollapse */ EmbeddedContentConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: EmbeddedContentConfigurationComponent, selector: "nui-embedded-content-configuration", inputs: { mode: "mode", messageComponent: "messageComponent", customEmbeddedContent: "customEmbeddedContent" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<nui-widget-editor-accordion\n [formGroup]=\"form\"\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\"\n>\n <div accordionHeader class=\"d-flex align-items-center pl-4 py-2\">\n <nui-icon\n class=\"align-self-start pt-2\"\n [icon]=\"form | nuiFormHeaderIconPipe: 'tag' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt1\">\n <span class=\"nui-text-label\" i18n>Embedded Content</span>\n <div class=\"nui-text-secondary\">\n Show the specific HTML I supply\n </div>\n </div>\n </div>\n <div class=\"embedded-configurator-section__accordion-content\">\n <ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n [componentType]=\"messageComponent.componentType\"\n [properties]=\"messageComponent.properties\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n <nui-form-field\n [control]=\"form.get('mode')\"\n caption=\"What do you want to show in the widget?\"\n i18n-caption\n >\n <nui-radio-group\n formControlName=\"mode\"\n [(value)]=\"mode\"\n name=\"mode\"\n required\n >\n <nui-radio [value]=\"modes[0].value\">\n {{ modes[0].displayValue }}\n </nui-radio>\n <nui-form-field [control]=\"form.get('urlCustomContent')\">\n <nui-textbox formControlName=\"urlCustomContent\">\n </nui-textbox>\n </nui-form-field>\n <nui-radio [value]=\"modes[1].value\">\n {{ modes[1].displayValue }}\n </nui-radio>\n <nui-form-field [control]=\"form.get('htmlCustomContent')\">\n <nui-textbox\n class=\"textarea-scrollable\"\n formControlName=\"htmlCustomContent\"\n rows=\"7\"\n >\n </nui-textbox>\n </nui-form-field>\n </nui-radio-group>\n </nui-form-field>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".embedded-configurator-section__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i3.RadioGroupComponent, selector: "nui-radio-group", inputs: ["ariaLabel", "value", "disabled", "name"], outputs: ["valueChange"] }, { type: i3.RadioComponent, selector: "nui-radio", inputs: ["checked", "ariaLabel", "disabled", "hovered", "value", "hint"], outputs: ["valueChange"] }, { type: i3.TextboxComponent, selector: "nui-textbox", inputs: ["autocomplete", "disabled", "hint", "placeholder", "readonly", "rows", "type", "isInErrorState", "ariaLabel", "value", "caption", "info", "customBoxWidth", "name", "isBusy"], outputs: ["textChange", "blurred"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i1$2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": FormHeaderIconPipePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
10364
11243
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EmbeddedContentConfigurationComponent, decorators: [{
10365
11244
  type: Component,
10366
11245
  args: [{
@@ -10387,7 +11266,7 @@ class InfoMessageConfigurationComponent {
10387
11266
  }
10388
11267
  InfoMessageConfigurationComponent.lateLoadKey = "InfoMessageConfigurationComponent";
10389
11268
  /** @nocollapse */ InfoMessageConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: InfoMessageConfigurationComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
10390
- /** @nocollapse */ InfoMessageConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: InfoMessageConfigurationComponent, selector: "nui-info-message-configuration", inputs: { emphasizeText: "emphasizeText", generalText: "generalText", link: "link", allowDismiss: "allowDismiss" }, ngImport: i0, template: "<nui-message type=\"info\" [allowDismiss]=\"allowDismiss\" i18n>\n <b> {{ emphasizeText }} </b> {{ generalText }}\n <a *ngIf=\"link\" [href]=\"link.href\" [target]=\"link.target\">{{\n link.text\n }}</a>\n</nui-message>\n", components: [{ type: i2.MessageComponent, selector: "nui-message", inputs: ["allowDismiss", "type", "manualControl"], outputs: ["dismiss"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
11269
+ /** @nocollapse */ InfoMessageConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: InfoMessageConfigurationComponent, selector: "nui-info-message-configuration", inputs: { emphasizeText: "emphasizeText", generalText: "generalText", link: "link", allowDismiss: "allowDismiss" }, ngImport: i0, template: "<nui-message type=\"info\" [allowDismiss]=\"allowDismiss\" i18n>\n <b> {{ emphasizeText }} </b> {{ generalText }}\n <a *ngIf=\"link\" [href]=\"link.href\" [target]=\"link.target\">{{\n link.text\n }}</a>\n</nui-message>\n", components: [{ type: i3.MessageComponent, selector: "nui-message", inputs: ["allowDismiss", "type", "manualControl"], outputs: ["dismiss"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
10391
11270
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: InfoMessageConfigurationComponent, decorators: [{
10392
11271
  type: Component,
10393
11272
  args: [{
@@ -10456,7 +11335,7 @@ class KpiDescriptionConfigurationComponent {
10456
11335
  }
10457
11336
  KpiDescriptionConfigurationComponent.lateLoadKey = "KpiDescriptionConfigurationComponent";
10458
11337
  /** @nocollapse */ KpiDescriptionConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: KpiDescriptionConfigurationComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$2.FormBuilder }], target: i0.ɵɵFactoryTarget.Component });
10459
- /** @nocollapse */ KpiDescriptionConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: KpiDescriptionConfigurationComponent, selector: "nui-kpi-description-configuration", inputs: { componentId: "componentId", configurableUnits: "configurableUnits", label: "label", backgroundColor: "backgroundColor", units: "units", backgroundColors: "backgroundColors" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, 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=\"kpi-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 <nui-form-field\n caption=\"Background Color\"\n i18n-caption\n [control]=\"form.get('backgroundColor')\"\n class=\"form-group\"\n >\n <nui-color-picker\n class=\"kpi-description-configuration__accordion-content__color-picker\"\n formControlName=\"backgroundColor\"\n [colorPalette]=\"backgroundColors\"\n >\n </nui-color-picker>\n </nui-form-field>\n\n <div class=\"mt-4\" *ngIf=\"configurableUnits\">\n <nui-form-field\n caption=\"Units\"\n i18n-caption\n [control]=\"form.get('units')\"\n class=\"form-group\"\n >\n <nui-textbox\n formControlName=\"units\"\n placeholder=\"Units\"\n i18n-placeholder\n ></nui-textbox>\n </nui-form-field>\n </div>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".kpi-description-configuration__accordion-content{padding:15px 15px 15px 46px}.kpi-description-configuration__color-select{display:flex;align-items:center}.kpi-description-configuration__color-preview{width:100%;height:20px;border-radius:3px}.kpi-description-configuration__color-preview.with-arrow{width:calc(100% - 30px - 10px);margin-left:10px}.kpi-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: i2.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i2.TextboxComponent, selector: "nui-textbox", inputs: ["autocomplete", "disabled", "hint", "placeholder", "readonly", "rows", "type", "isInErrorState", "ariaLabel", "value", "caption", "info", "customBoxWidth", "name", "isBusy"], outputs: ["textChange", "blurred"] }, { type: ColorPickerComponent, selector: "nui-color-picker", inputs: ["colors", "colorPalette", "cols"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": FormHeaderIconPipePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
11338
+ /** @nocollapse */ KpiDescriptionConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: KpiDescriptionConfigurationComponent, selector: "nui-kpi-description-configuration", inputs: { componentId: "componentId", configurableUnits: "configurableUnits", label: "label", backgroundColor: "backgroundColor", units: "units", backgroundColors: "backgroundColors" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, 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=\"kpi-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 <nui-form-field\n caption=\"Background Color\"\n i18n-caption\n [control]=\"form.get('backgroundColor')\"\n class=\"form-group\"\n >\n <nui-color-picker\n class=\"kpi-description-configuration__accordion-content__color-picker\"\n formControlName=\"backgroundColor\"\n [colorPalette]=\"backgroundColors\"\n >\n </nui-color-picker>\n </nui-form-field>\n\n <div class=\"mt-4\" *ngIf=\"configurableUnits\">\n <nui-form-field\n caption=\"Units\"\n i18n-caption\n [control]=\"form.get('units')\"\n class=\"form-group\"\n >\n <nui-textbox\n formControlName=\"units\"\n placeholder=\"Units\"\n i18n-placeholder\n ></nui-textbox>\n </nui-form-field>\n </div>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".kpi-description-configuration__accordion-content{padding:15px 15px 15px 46px}.kpi-description-configuration__color-select{display:flex;align-items:center}.kpi-description-configuration__color-preview{width:100%;height:20px;border-radius:3px}.kpi-description-configuration__color-preview.with-arrow{width:calc(100% - 30px - 10px);margin-left:10px}.kpi-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.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i3.TextboxComponent, selector: "nui-textbox", inputs: ["autocomplete", "disabled", "hint", "placeholder", "readonly", "rows", "type", "isInErrorState", "ariaLabel", "value", "caption", "info", "customBoxWidth", "name", "isBusy"], outputs: ["textChange", "blurred"] }, { type: ColorPickerComponent, selector: "nui-color-picker", inputs: ["colors", "colorPalette", "cols"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": FormHeaderIconPipePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
10460
11339
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: KpiDescriptionConfigurationComponent, decorators: [{
10461
11340
  type: Component,
10462
11341
  args: [{
@@ -10721,7 +11600,7 @@ class RefreshRateConfiguratorComponent {
10721
11600
  useExisting: forwardRef((() => RefreshRateConfiguratorComponent)),
10722
11601
  multi: true,
10723
11602
  },
10724
- ], ngImport: i0, template: "<form [formGroup]=\"form\" class=\"d-flex flex-column\">\n <div class=\"d-flex flex-row\">\n <nui-textbox-number\n formControlName=\"number\"\n customBoxWidth=\"90px\"\n [minValue]=\"minSeconds\"\n [maxValue]=\"maxSeconds\"\n (valueChange)=\"valueChangeFix()\"\n ></nui-textbox-number>\n\n <nui-select-v2 formControlName=\"unit\" class=\"ml-3\">\n <nui-select-v2-option\n *ngFor=\"let item of displayedUnitItems\"\n [value]=\"item\"\n >\n {{ item.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n </div>\n <nui-form-field [control]=\"form.get('number')\">\n <nui-validation-message for=\"invalidNumber\">\n {{ getNumberValidationMessage() }}\n </nui-validation-message>\n </nui-form-field>\n</form>\n", components: [{ type: i2.TextboxNumberComponent, selector: "nui-textbox-number", inputs: ["value", "disabled", "placeholder", "readonly", "step", "stepPrecision", "isInErrorState", "ariaLabel", "customBoxWidth", "name", "minValue", "maxValue"], outputs: ["blurred", "valueChange"] }, { type: i2.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i2.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }, { type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i2.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }], directives: [{ type: i1$2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
11603
+ ], ngImport: i0, template: "<form [formGroup]=\"form\" class=\"d-flex flex-column\">\n <div class=\"d-flex flex-row\">\n <nui-textbox-number\n formControlName=\"number\"\n customBoxWidth=\"90px\"\n [minValue]=\"minSeconds\"\n [maxValue]=\"maxSeconds\"\n (valueChange)=\"valueChangeFix()\"\n ></nui-textbox-number>\n\n <nui-select-v2 formControlName=\"unit\" class=\"ml-3\">\n <nui-select-v2-option\n *ngFor=\"let item of displayedUnitItems\"\n [value]=\"item\"\n >\n {{ item.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n </div>\n <nui-form-field [control]=\"form.get('number')\">\n <nui-validation-message for=\"invalidNumber\">\n {{ getNumberValidationMessage() }}\n </nui-validation-message>\n </nui-form-field>\n</form>\n", components: [{ type: i3.TextboxNumberComponent, selector: "nui-textbox-number", inputs: ["value", "disabled", "placeholder", "readonly", "step", "stepPrecision", "isInErrorState", "ariaLabel", "customBoxWidth", "name", "minValue", "maxValue"], outputs: ["blurred", "valueChange"] }, { type: i3.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i3.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }, { type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i3.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }], directives: [{ type: i1$2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
10725
11604
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: RefreshRateConfiguratorComponent, decorators: [{
10726
11605
  type: Component,
10727
11606
  args: [{
@@ -10858,8 +11737,8 @@ class RefresherConfigurationComponent {
10858
11737
  }
10859
11738
  }
10860
11739
  RefresherConfigurationComponent.lateLoadKey = "RefresherConfigurationComponent";
10861
- /** @nocollapse */ RefresherConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: RefresherConfigurationComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$2.FormBuilder }, { token: i2.LoggerService }, { token: RefresherSettingsService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
10862
- /** @nocollapse */ RefresherConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: RefresherConfigurationComponent, selector: "nui-refresher-configuration", inputs: { enabled: "enabled", interval: "interval", minSeconds: "minSeconds", maxSeconds: "maxSeconds", overrideDefaultSettingsCaption: "overrideDefaultSettingsCaption", overrideDefaultSettings: "overrideDefaultSettings" }, outputs: { formReady: "formReady" }, viewQueries: [{ propertyName: "refreshRateComp", first: true, predicate: RefreshRateConfiguratorComponent, descendants: true }], usesOnChanges: true, ngImport: i0, 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 iconColor=\"gray\"\n [icon]=\"form | nuiFormHeaderIconPipe: 'reset' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n>Refresh</span>\n <div class=\"nui-text-secondary\" [title]=\"getHeaderSubtitle()\">\n {{ getHeaderSubtitle() }}\n </div>\n </div>\n </div>\n <div\n class=\"d-flex flex-column nui-refresher-configuration__accordion-content\"\n >\n <div>\n <nui-form-field [control]=\"form.get('enabled')\">\n <nui-switch formControlName=\"enabled\" i18n\n >Refresh widget periodically</nui-switch\n >\n </nui-form-field>\n </div>\n <div [class.hidden]=\"!form.get('enabled')?.value\">\n <div class=\"mt-4\">\n <nui-form-field [control]=\"form.get('overrideDefaultSettings')\">\n <nui-switch formControlName=\"overrideDefaultSettings\"\n >{{ overrideDefaultSettingsCaption }}\n <div\n class=\"nui-help-hint\"\n *ngIf=\"!form.get('overrideDefaultSettings')?.value\"\n i18n\n >\n By default, the widget will refresh every\n {{\n getDurationLabel(\n refresherSettings.refreshRateSeconds\n )\n }}.\n </div>\n </nui-switch>\n </nui-form-field>\n </div>\n <div\n [class.hidden]=\"!form.get('overrideDefaultSettings')?.value\"\n class=\"mt-4\"\n >\n <nui-form-field [control]=\"form.get('interval')\">\n <nui-refresh-rate-configurator\n [minSeconds]=\"minSeconds\"\n [maxSeconds]=\"maxSeconds\"\n formControlName=\"interval\"\n ></nui-refresh-rate-configurator>\n </nui-form-field>\n </div>\n </div>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".nui-refresher-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i2.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i2.SwitchComponent, selector: "nui-switch", inputs: ["ariaLabel", "value", "disabled"], outputs: ["valueChange"] }, { type: RefreshRateConfiguratorComponent, selector: "nui-refresh-rate-configurator", inputs: ["minSeconds", "maxSeconds"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": FormHeaderIconPipePipe } });
11740
+ /** @nocollapse */ RefresherConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: RefresherConfigurationComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$2.FormBuilder }, { token: i3.LoggerService }, { token: RefresherSettingsService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
11741
+ /** @nocollapse */ RefresherConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: RefresherConfigurationComponent, selector: "nui-refresher-configuration", inputs: { enabled: "enabled", interval: "interval", minSeconds: "minSeconds", maxSeconds: "maxSeconds", overrideDefaultSettingsCaption: "overrideDefaultSettingsCaption", overrideDefaultSettings: "overrideDefaultSettings" }, outputs: { formReady: "formReady" }, viewQueries: [{ propertyName: "refreshRateComp", first: true, predicate: RefreshRateConfiguratorComponent, descendants: true }], usesOnChanges: true, ngImport: i0, 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 iconColor=\"gray\"\n [icon]=\"form | nuiFormHeaderIconPipe: 'reset' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n>Refresh</span>\n <div class=\"nui-text-secondary\" [title]=\"getHeaderSubtitle()\">\n {{ getHeaderSubtitle() }}\n </div>\n </div>\n </div>\n <div\n class=\"d-flex flex-column nui-refresher-configuration__accordion-content\"\n >\n <div>\n <nui-form-field [control]=\"form.get('enabled')\">\n <nui-switch formControlName=\"enabled\" i18n\n >Refresh widget periodically</nui-switch\n >\n </nui-form-field>\n </div>\n <div [class.hidden]=\"!form.get('enabled')?.value\">\n <div class=\"mt-4\">\n <nui-form-field [control]=\"form.get('overrideDefaultSettings')\">\n <nui-switch formControlName=\"overrideDefaultSettings\"\n >{{ overrideDefaultSettingsCaption }}\n <div\n class=\"nui-help-hint\"\n *ngIf=\"!form.get('overrideDefaultSettings')?.value\"\n i18n\n >\n By default, the widget will refresh every\n {{\n getDurationLabel(\n refresherSettings.refreshRateSeconds\n )\n }}.\n </div>\n </nui-switch>\n </nui-form-field>\n </div>\n <div\n [class.hidden]=\"!form.get('overrideDefaultSettings')?.value\"\n class=\"mt-4\"\n >\n <nui-form-field [control]=\"form.get('interval')\">\n <nui-refresh-rate-configurator\n [minSeconds]=\"minSeconds\"\n [maxSeconds]=\"maxSeconds\"\n formControlName=\"interval\"\n ></nui-refresh-rate-configurator>\n </nui-form-field>\n </div>\n </div>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".nui-refresher-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i3.SwitchComponent, selector: "nui-switch", inputs: ["ariaLabel", "value", "disabled"], outputs: ["valueChange"] }, { type: RefreshRateConfiguratorComponent, selector: "nui-refresh-rate-configurator", inputs: ["minSeconds", "maxSeconds"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": FormHeaderIconPipePipe } });
10863
11742
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: RefresherConfigurationComponent, decorators: [{
10864
11743
  type: Component,
10865
11744
  args: [{
@@ -10867,7 +11746,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
10867
11746
  templateUrl: "./refresher-configuration.component.html",
10868
11747
  styleUrls: ["./refresher-configuration.component.less"],
10869
11748
  }]
10870
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1$2.FormBuilder }, { type: i2.LoggerService }, { type: RefresherSettingsService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { enabled: [{
11749
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1$2.FormBuilder }, { type: i3.LoggerService }, { type: RefresherSettingsService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { enabled: [{
10871
11750
  type: Input
10872
11751
  }], interval: [{
10873
11752
  type: Input
@@ -11013,8 +11892,8 @@ class ThresholdsConfigurationComponent {
11013
11892
  }
11014
11893
  }
11015
11894
  ThresholdsConfigurationComponent.lateLoadKey = "ThresholdsConfigurationComponent";
11016
- /** @nocollapse */ ThresholdsConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ThresholdsConfigurationComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$2.FormBuilder }, { token: i2.LoggerService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
11017
- /** @nocollapse */ ThresholdsConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ThresholdsConfigurationComponent, selector: "nui-thresholds-configuration", inputs: { criticalThresholdValue: "criticalThresholdValue", warningThresholdValue: "warningThresholdValue", showThresholds: "showThresholds", reversedThresholds: "reversedThresholds" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, 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: 'thresholds' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n>Thresholds</span>\n <div\n class=\"nui-text-secondary\"\n [title]=\"\n getThresholdsSubtitle(form.get('showThresholds')?.value)\n \"\n >\n {{ getThresholdsSubtitle(form.get(\"showThresholds\")?.value) }}\n </div>\n </div>\n </div>\n <div class=\"kpi-thresholds-configuration__accordion-content\">\n <nui-form-field\n [control]=\"form.get('showThresholds')\"\n caption=\"How do you want to set warning/critical thresholds?\"\n i18n-caption\n >\n <nui-radio-group\n formControlName=\"showThresholds\"\n [value]=\"radioButtonGroupValue\"\n name=\"showThresholds\"\n required\n >\n <nui-radio\n *ngFor=\"let thresholdOption of thresholdOptions\"\n [value]=\"thresholdOption.value\"\n >\n {{ thresholdOption.displayValue }}\n </nui-radio>\n </nui-radio-group>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n\n <div class=\"mt-4\" *ngIf=\"form.get('showThresholds')?.value\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Warning value\"\n i18n-caption\n [control]=\"form.get('warningThresholdValue')\"\n >\n <nui-textbox-number\n formControlName=\"warningThresholdValue\"\n placeholder=\"Never show the warning state\"\n i18n-placeholder\n ></nui-textbox-number>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n <nui-validation-message for=\"min\" i18n>\n Warning threshold should be greater than critical\n threshold\n </nui-validation-message>\n <nui-validation-message for=\"max\" i18n>\n Warning threshold should be lower than critical\n threshold\n </nui-validation-message>\n </nui-form-field>\n </div>\n\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Critical value\"\n i18n-caption\n [control]=\"form.get('criticalThresholdValue')\"\n >\n <nui-textbox-number\n formControlName=\"criticalThresholdValue\"\n placeholder=\"Set critical value\"\n i18n-placeholder\n ></nui-textbox-number>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n <nui-validation-message for=\"min\" i18n>\n Critical threshold should be greater than warning\n threshold\n </nui-validation-message>\n <nui-validation-message for=\"max\" i18n>\n Critical threshold should be lower than warning\n threshold\n </nui-validation-message>\n </nui-form-field>\n </div>\n\n <nui-form-field\n caption=\"Warning and critical when below threshold values\"\n i18n-caption\n [control]=\"form.get('reversedThresholds')\"\n [showOptionalText]=\"false\"\n >\n <nui-checkbox\n formControlName=\"reversedThresholds\"\n required\n ></nui-checkbox>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".kpi-thresholds-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i2.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i2.RadioGroupComponent, selector: "nui-radio-group", inputs: ["ariaLabel", "value", "disabled", "name"], outputs: ["valueChange"] }, { type: i2.RadioComponent, selector: "nui-radio", inputs: ["checked", "ariaLabel", "disabled", "hovered", "value", "hint"], outputs: ["valueChange"] }, { type: i2.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }, { type: i2.TextboxNumberComponent, selector: "nui-textbox-number", inputs: ["value", "disabled", "placeholder", "readonly", "step", "stepPrecision", "isInErrorState", "ariaLabel", "customBoxWidth", "name", "minValue", "maxValue"], outputs: ["blurred", "valueChange"] }, { type: i2.CheckboxComponent, selector: "nui-checkbox", inputs: ["ariaLabelledby", "title", "ariaLabel", "checked", "disabled", "hovered", "indeterminate", "ariaDescribedby", "name", "value", "required", "hint"], outputs: ["valueChange"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i1$2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": FormHeaderIconPipePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
11895
+ /** @nocollapse */ ThresholdsConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ThresholdsConfigurationComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$2.FormBuilder }, { token: i3.LoggerService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
11896
+ /** @nocollapse */ ThresholdsConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ThresholdsConfigurationComponent, selector: "nui-thresholds-configuration", inputs: { criticalThresholdValue: "criticalThresholdValue", warningThresholdValue: "warningThresholdValue", showThresholds: "showThresholds", reversedThresholds: "reversedThresholds" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, 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: 'thresholds' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n>Thresholds</span>\n <div\n class=\"nui-text-secondary\"\n [title]=\"\n getThresholdsSubtitle(form.get('showThresholds')?.value)\n \"\n >\n {{ getThresholdsSubtitle(form.get(\"showThresholds\")?.value) }}\n </div>\n </div>\n </div>\n <div class=\"kpi-thresholds-configuration__accordion-content\">\n <nui-form-field\n [control]=\"form.get('showThresholds')\"\n caption=\"How do you want to set warning/critical thresholds?\"\n i18n-caption\n >\n <nui-radio-group\n formControlName=\"showThresholds\"\n [value]=\"radioButtonGroupValue\"\n name=\"showThresholds\"\n required\n >\n <nui-radio\n *ngFor=\"let thresholdOption of thresholdOptions\"\n [value]=\"thresholdOption.value\"\n >\n {{ thresholdOption.displayValue }}\n </nui-radio>\n </nui-radio-group>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n\n <div class=\"mt-4\" *ngIf=\"form.get('showThresholds')?.value\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Warning value\"\n i18n-caption\n [control]=\"form.get('warningThresholdValue')\"\n >\n <nui-textbox-number\n formControlName=\"warningThresholdValue\"\n placeholder=\"Never show the warning state\"\n i18n-placeholder\n ></nui-textbox-number>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n <nui-validation-message for=\"min\" i18n>\n Warning threshold should be greater than critical\n threshold\n </nui-validation-message>\n <nui-validation-message for=\"max\" i18n>\n Warning threshold should be lower than critical\n threshold\n </nui-validation-message>\n </nui-form-field>\n </div>\n\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Critical value\"\n i18n-caption\n [control]=\"form.get('criticalThresholdValue')\"\n >\n <nui-textbox-number\n formControlName=\"criticalThresholdValue\"\n placeholder=\"Set critical value\"\n i18n-placeholder\n ></nui-textbox-number>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n <nui-validation-message for=\"min\" i18n>\n Critical threshold should be greater than warning\n threshold\n </nui-validation-message>\n <nui-validation-message for=\"max\" i18n>\n Critical threshold should be lower than warning\n threshold\n </nui-validation-message>\n </nui-form-field>\n </div>\n\n <nui-form-field\n caption=\"Warning and critical when below threshold values\"\n i18n-caption\n [control]=\"form.get('reversedThresholds')\"\n [showOptionalText]=\"false\"\n >\n <nui-checkbox\n formControlName=\"reversedThresholds\"\n required\n ></nui-checkbox>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".kpi-thresholds-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i3.RadioGroupComponent, selector: "nui-radio-group", inputs: ["ariaLabel", "value", "disabled", "name"], outputs: ["valueChange"] }, { type: i3.RadioComponent, selector: "nui-radio", inputs: ["checked", "ariaLabel", "disabled", "hovered", "value", "hint"], outputs: ["valueChange"] }, { type: i3.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }, { type: i3.TextboxNumberComponent, selector: "nui-textbox-number", inputs: ["value", "disabled", "placeholder", "readonly", "step", "stepPrecision", "isInErrorState", "ariaLabel", "customBoxWidth", "name", "minValue", "maxValue"], outputs: ["blurred", "valueChange"] }, { type: i3.CheckboxComponent, selector: "nui-checkbox", inputs: ["ariaLabelledby", "title", "ariaLabel", "checked", "disabled", "hovered", "indeterminate", "ariaDescribedby", "name", "value", "required", "hint"], outputs: ["valueChange"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i1$2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": FormHeaderIconPipePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
11018
11897
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ThresholdsConfigurationComponent, decorators: [{
11019
11898
  type: Component,
11020
11899
  args: [{
@@ -11023,7 +11902,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
11023
11902
  styleUrls: ["./thresholds-configuration.component.less"],
11024
11903
  changeDetection: ChangeDetectionStrategy.OnPush,
11025
11904
  }]
11026
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1$2.FormBuilder }, { type: i2.LoggerService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { criticalThresholdValue: [{
11905
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1$2.FormBuilder }, { type: i3.LoggerService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { criticalThresholdValue: [{
11027
11906
  type: Input
11028
11907
  }], warningThresholdValue: [{
11029
11908
  type: Input
@@ -11121,7 +12000,7 @@ class TimeseriesMetadataConfigurationComponent {
11121
12000
  }
11122
12001
  TimeseriesMetadataConfigurationComponent.lateLoadKey = "TimeseriesMetadataConfigurationComponent";
11123
12002
  /** @nocollapse */ TimeseriesMetadataConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TimeseriesMetadataConfigurationComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: ConfiguratorHeadingService }, { token: i1$2.FormBuilder }, { token: PIZZAGNA_EVENT_BUS }], target: i0.ɵɵFactoryTarget.Component });
11124
- /** @nocollapse */ TimeseriesMetadataConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: TimeseriesMetadataConfigurationComponent, selector: "nui-timeseries-metadata-configuration", inputs: { legendPlacements: "legendPlacements", timeSpans: "timeSpans", startingTimespan: "startingTimespan", legendPlacement: "legendPlacement", leftAxisLabel: "leftAxisLabel", preset: "preset", availableChartTypes: "availableChartTypes" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, 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 [icon]=\"form | nuiFormHeaderIconPipe: 'edit' | async\"\n [iconColor]=\"form | nuiFormHeaderIconPipe: 'gray':'' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4\">\n <span class=\"nui-text-label\" i18n>Timeseries metadata</span>\n <div class=\"nui-text-secondary\" [title]=\"getSecondaryText()\">\n {{ getSecondaryText() }}\n </div>\n </div>\n </div>\n <div class=\"timeseries-metadata-configuration__accordion-content\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Starting timespan\"\n i18n-caption\n [control]=\"form.controls['startingTimespan']\"\n >\n <nui-select-v2\n placeholder=\"Starting Timespan\"\n i18n-placeholder\n [popupViewportMargin]=\"configuratorHeading.height$ | async\"\n formControlName=\"startingTimespan\"\n >\n <nui-select-v2-option\n *ngFor=\"let timeSpan of timeSpans\"\n [value]=\"timeSpan\"\n >\n {{ timeSpan.name }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Chart legend\"\n i18n-caption\n [control]=\"form.controls['legendPlacement']\"\n >\n <nui-select-v2\n placeholder=\"Select Legend Orientation\"\n i18n-placeholder\n [popupViewportMargin]=\"configuratorHeading.height$ | async\"\n formControlName=\"legendPlacement\"\n >\n <nui-select-v2-option\n *ngFor=\"let legendPlacement of legendPlacements\"\n [value]=\"legendPlacement.id\"\n >\n {{ legendPlacement.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Chart y-axis label\"\n i18n-caption\n [control]=\"form.controls['leftAxisLabel']\"\n >\n <nui-textbox\n formControlName=\"leftAxisLabel\"\n placeholder=\"Set chart y-axis label\"\n i18n-placeholder\n ></nui-textbox>\n\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n\n <nui-form-field\n caption=\"Chart type\"\n i18n-caption\n [control]=\"form.controls['preset']\"\n >\n <nui-select-v2\n placeholder=\"Chart type\"\n i18n-placeholder\n [popupViewportMargin]=\"configuratorHeading.height$ | async\"\n formControlName=\"preset\"\n >\n <nui-select-v2-option\n *ngFor=\"let option of availableChartTypes\"\n [value]=\"option.value\"\n >{{ option.label }}</nui-select-v2-option\n >\n </nui-select-v2>\n\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".timeseries-metadata-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i2.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i2.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i2.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }, { type: i2.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }, { type: i2.TextboxComponent, selector: "nui-textbox", inputs: ["autocomplete", "disabled", "hint", "placeholder", "readonly", "rows", "type", "isInErrorState", "ariaLabel", "value", "caption", "info", "customBoxWidth", "name", "isBusy"], outputs: ["textChange", "blurred"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": FormHeaderIconPipePipe } });
12003
+ /** @nocollapse */ TimeseriesMetadataConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: TimeseriesMetadataConfigurationComponent, selector: "nui-timeseries-metadata-configuration", inputs: { legendPlacements: "legendPlacements", timeSpans: "timeSpans", startingTimespan: "startingTimespan", legendPlacement: "legendPlacement", leftAxisLabel: "leftAxisLabel", preset: "preset", availableChartTypes: "availableChartTypes" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, 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 [icon]=\"form | nuiFormHeaderIconPipe: 'edit' | async\"\n [iconColor]=\"form | nuiFormHeaderIconPipe: 'gray':'' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4\">\n <span class=\"nui-text-label\" i18n>Timeseries metadata</span>\n <div class=\"nui-text-secondary\" [title]=\"getSecondaryText()\">\n {{ getSecondaryText() }}\n </div>\n </div>\n </div>\n <div class=\"timeseries-metadata-configuration__accordion-content\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Starting timespan\"\n i18n-caption\n [control]=\"form.controls['startingTimespan']\"\n >\n <nui-select-v2\n placeholder=\"Starting Timespan\"\n i18n-placeholder\n [popupViewportMargin]=\"configuratorHeading.height$ | async\"\n formControlName=\"startingTimespan\"\n >\n <nui-select-v2-option\n *ngFor=\"let timeSpan of timeSpans\"\n [value]=\"timeSpan\"\n >\n {{ timeSpan.name }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Chart legend\"\n i18n-caption\n [control]=\"form.controls['legendPlacement']\"\n >\n <nui-select-v2\n placeholder=\"Select Legend Orientation\"\n i18n-placeholder\n [popupViewportMargin]=\"configuratorHeading.height$ | async\"\n formControlName=\"legendPlacement\"\n >\n <nui-select-v2-option\n *ngFor=\"let legendPlacement of legendPlacements\"\n [value]=\"legendPlacement.id\"\n >\n {{ legendPlacement.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Chart y-axis label\"\n i18n-caption\n [control]=\"form.controls['leftAxisLabel']\"\n >\n <nui-textbox\n formControlName=\"leftAxisLabel\"\n placeholder=\"Set chart y-axis label\"\n i18n-placeholder\n ></nui-textbox>\n\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n\n <nui-form-field\n caption=\"Chart type\"\n i18n-caption\n [control]=\"form.controls['preset']\"\n >\n <nui-select-v2\n placeholder=\"Chart type\"\n i18n-placeholder\n [popupViewportMargin]=\"configuratorHeading.height$ | async\"\n formControlName=\"preset\"\n >\n <nui-select-v2-option\n *ngFor=\"let option of availableChartTypes\"\n [value]=\"option.value\"\n >{{ option.label }}</nui-select-v2-option\n >\n </nui-select-v2>\n\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".timeseries-metadata-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i3.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i3.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }, { type: i3.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }, { type: i3.TextboxComponent, selector: "nui-textbox", inputs: ["autocomplete", "disabled", "hint", "placeholder", "readonly", "rows", "type", "isInErrorState", "ariaLabel", "value", "caption", "info", "customBoxWidth", "name", "isBusy"], outputs: ["textChange", "blurred"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": FormHeaderIconPipePipe } });
11125
12004
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TimeseriesMetadataConfigurationComponent, decorators: [{
11126
12005
  type: Component,
11127
12006
  args: [{
@@ -11129,7 +12008,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
11129
12008
  templateUrl: "./timeseries-metadata-configuration.component.html",
11130
12009
  styleUrls: ["./timeseries-metadata-configuration.component.less"],
11131
12010
  }]
11132
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: ConfiguratorHeadingService }, { type: i1$2.FormBuilder }, { type: i2.EventBus, decorators: [{
12011
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: ConfiguratorHeadingService }, { type: i1$2.FormBuilder }, { type: i3.EventBus, decorators: [{
11133
12012
  type: Inject,
11134
12013
  args: [PIZZAGNA_EVENT_BUS]
11135
12014
  }] }]; }, propDecorators: { legendPlacements: [{
@@ -11194,8 +12073,8 @@ class TitleAndDescriptionConfigurationComponent {
11194
12073
  }
11195
12074
  }
11196
12075
  TitleAndDescriptionConfigurationComponent.lateLoadKey = "TitleAndDescriptionConfigurationComponent";
11197
- /** @nocollapse */ TitleAndDescriptionConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TitleAndDescriptionConfigurationComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$2.FormBuilder }, { token: i2.LoggerService }], target: i0.ɵɵFactoryTarget.Component });
11198
- /** @nocollapse */ TitleAndDescriptionConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: TitleAndDescriptionConfigurationComponent, selector: "nui-title-and-description-configuration", inputs: { title: "title", url: "url", subtitle: "subtitle", description: "description", collapsible: "collapsible" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, 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>Title and Description</span>\n <div [title]=\"getSecondaryText()\" class=\"nui-text-secondary\">\n {{ getSecondaryText() }}\n </div>\n </div>\n </div>\n <div class=\"title-and-description-configuration__accordion-content\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Widget title\"\n i18n-caption\n [control]=\"form.get('title')\"\n >\n <!-- TODO: remove \"kpi\" prefix in v11 - NUI-5833-->\n <nui-textbox\n id=\"kpi-widget-title\"\n formControlName=\"title\"\n placeholder=\"Set widget title\"\n i18n-placeholder\n ></nui-textbox>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Widget subtitle\"\n i18n-caption\n [control]=\"form.get('subtitle')\"\n >\n <!-- TODO: remove \"kpi\" prefix in v11 - NUI-5833 -->\n <nui-textbox\n id=\"kpi-widget-subtitle\"\n formControlName=\"subtitle\"\n placeholder=\"Do not show a subtitle\"\n i18n-placeholder\n ></nui-textbox>\n </nui-form-field>\n </div>\n\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Widget link URL\"\n i18n-caption\n [control]=\"form.get('url')\"\n >\n <!-- TODO: remove \"kpi\" prefix in v11 - NUI-5833-->\n <nui-textbox\n id=\"kpi-widget-url\"\n formControlName=\"url\"\n placeholder=\"Do not link to another page\"\n i18n-placeholder\n ></nui-textbox>\n </nui-form-field>\n </div>\n\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Widget description\"\n i18n-caption\n [control]=\"form.get('description')\"\n hint=\"This won't be shown on the widget, but can be helpful for\n other users who want to re-use this widget on their own dashboards\"\n i18n-hint\n >\n <nui-textbox\n formControlName=\"description\"\n placeholder=\"No description\"\n i18n-placeholder\n ></nui-textbox>\n </nui-form-field>\n </div>\n <div>\n <nui-form-field\n caption=\"Hide widget header\"\n [showOptionalText]=\"false\"\n i18n-caption\n [control]=\"form.get('collapsible')\"\n >\n <nui-checkbox formControlName=\"collapsible\" i18n\n >Collapsible</nui-checkbox\n >\n </nui-form-field>\n </div>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".title-and-description-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i2.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i2.TextboxComponent, selector: "nui-textbox", inputs: ["autocomplete", "disabled", "hint", "placeholder", "readonly", "rows", "type", "isInErrorState", "ariaLabel", "value", "caption", "info", "customBoxWidth", "name", "isBusy"], outputs: ["textChange", "blurred"] }, { type: i2.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }, { type: i2.CheckboxComponent, selector: "nui-checkbox", inputs: ["ariaLabelledby", "title", "ariaLabel", "checked", "disabled", "hovered", "indeterminate", "ariaDescribedby", "name", "value", "required", "hint"], outputs: ["valueChange"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": FormHeaderIconPipePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
12076
+ /** @nocollapse */ TitleAndDescriptionConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TitleAndDescriptionConfigurationComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$2.FormBuilder }, { token: i3.LoggerService }], target: i0.ɵɵFactoryTarget.Component });
12077
+ /** @nocollapse */ TitleAndDescriptionConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: TitleAndDescriptionConfigurationComponent, selector: "nui-title-and-description-configuration", inputs: { title: "title", url: "url", subtitle: "subtitle", description: "description", collapsible: "collapsible" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, 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>Title and Description</span>\n <div [title]=\"getSecondaryText()\" class=\"nui-text-secondary\">\n {{ getSecondaryText() }}\n </div>\n </div>\n </div>\n <div class=\"title-and-description-configuration__accordion-content\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Widget title\"\n i18n-caption\n [control]=\"form.get('title')\"\n >\n <!-- TODO: remove \"kpi\" prefix in v11 - NUI-5833-->\n <nui-textbox\n id=\"kpi-widget-title\"\n formControlName=\"title\"\n placeholder=\"Set widget title\"\n i18n-placeholder\n ></nui-textbox>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Widget subtitle\"\n i18n-caption\n [control]=\"form.get('subtitle')\"\n >\n <!-- TODO: remove \"kpi\" prefix in v11 - NUI-5833 -->\n <nui-textbox\n id=\"kpi-widget-subtitle\"\n formControlName=\"subtitle\"\n placeholder=\"Do not show a subtitle\"\n i18n-placeholder\n ></nui-textbox>\n </nui-form-field>\n </div>\n\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Widget link URL\"\n i18n-caption\n [control]=\"form.get('url')\"\n >\n <!-- TODO: remove \"kpi\" prefix in v11 - NUI-5833-->\n <nui-textbox\n id=\"kpi-widget-url\"\n formControlName=\"url\"\n placeholder=\"Do not link to another page\"\n i18n-placeholder\n ></nui-textbox>\n </nui-form-field>\n </div>\n\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Widget description\"\n i18n-caption\n [control]=\"form.get('description')\"\n hint=\"This won't be shown on the widget, but can be helpful for\n other users who want to re-use this widget on their own dashboards\"\n i18n-hint\n >\n <nui-textbox\n formControlName=\"description\"\n placeholder=\"No description\"\n i18n-placeholder\n ></nui-textbox>\n </nui-form-field>\n </div>\n <div>\n <nui-form-field\n caption=\"Hide widget header\"\n [showOptionalText]=\"false\"\n i18n-caption\n [control]=\"form.get('collapsible')\"\n >\n <nui-checkbox formControlName=\"collapsible\" i18n\n >Collapsible</nui-checkbox\n >\n </nui-form-field>\n </div>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".title-and-description-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i3.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.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }, { type: i3.CheckboxComponent, selector: "nui-checkbox", inputs: ["ariaLabelledby", "title", "ariaLabel", "checked", "disabled", "hovered", "indeterminate", "ariaDescribedby", "name", "value", "required", "hint"], outputs: ["valueChange"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": FormHeaderIconPipePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
11199
12078
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TitleAndDescriptionConfigurationComponent, decorators: [{
11200
12079
  type: Component,
11201
12080
  args: [{
@@ -11204,7 +12083,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
11204
12083
  styleUrls: ["title-and-description-configuration.component.less"],
11205
12084
  changeDetection: ChangeDetectionStrategy.OnPush,
11206
12085
  }]
11207
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1$2.FormBuilder }, { type: i2.LoggerService }]; }, propDecorators: { title: [{
12086
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1$2.FormBuilder }, { type: i3.LoggerService }]; }, propDecorators: { title: [{
11208
12087
  type: Input
11209
12088
  }], url: [{
11210
12089
  type: Input
@@ -11248,7 +12127,7 @@ class EntityFormattingConfigurationComponent {
11248
12127
  }
11249
12128
  EntityFormattingConfigurationComponent.lateLoadKey = "EntityFormattingComponent";
11250
12129
  /** @nocollapse */ EntityFormattingConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityFormattingConfigurationComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$2.FormBuilder }], target: i0.ɵɵFactoryTarget.Component });
11251
- /** @nocollapse */ EntityFormattingConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: EntityFormattingConfigurationComponent, selector: "nui-entity-formatting-configuration", inputs: { mappingKeys: "mappingKeys", dataFieldIds: "dataFieldIds" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, 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]=\"'tag'\"\n iconColor=\"gray\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n>Entity formatting</span>\n <div class=\"nui-text-secondary\" title=\"Show status icon\">\n Show status icon\n </div>\n </div>\n </div>\n <div\n class=\"entity-formatting__accordion-content\"\n formGroupName=\"dataFieldIds\"\n >\n <div class=\"mb-3\">\n <label class=\"nui-text-label\" i18n>Icon</label>\n <div class=\"d-flex flex-grow-1\">\n <nui-form-field\n class=\"d-flex flex-grow-1\"\n [control]=\"getFieldMappingsControl.get('icon')\"\n >\n <nui-select-v2\n placeholder=\"Select Item\"\n i18n-placeholder\n formControlName=\"icon\"\n >\n <nui-select-v2-option\n *ngFor=\"let item of mappingKeys\"\n [value]=\"item\"\n >\n {{ item }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n </div>\n </div>\n <div class=\"mb-3\">\n <label class=\"nui-text-label\" i18n>Status</label>\n <div class=\"d-flex flex-grow-1\">\n <nui-form-field\n class=\"d-flex flex-grow-1\"\n [control]=\"getFieldMappingsControl.get('status')\"\n >\n <nui-select-v2\n placeholder=\"Select Item\"\n i18n-placeholder\n formControlName=\"status\"\n >\n <nui-select-v2-option\n *ngFor=\"let item of mappingKeys\"\n [value]=\"item\"\n >\n {{ item }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n </div>\n </div>\n <div class=\"mb-3\">\n <label class=\"nui-text-label\" i18n>Details URL</label>\n <div class=\"d-flex flex-grow-1\">\n <nui-form-field\n class=\"d-flex flex-grow-1\"\n [control]=\"getFieldMappingsControl.get('detailedUrl')\"\n >\n <nui-select-v2\n placeholder=\"Select Item\"\n i18n-placeholder\n formControlName=\"detailedUrl\"\n >\n <nui-select-v2-option\n *ngFor=\"let item of mappingKeys\"\n [value]=\"item\"\n >\n {{ item }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n </div>\n </div>\n <div class=\"mb-3\">\n <label class=\"nui-text-label\" i18n>Label</label>\n <div class=\"d-flex flex-grow-1\">\n <nui-form-field\n class=\"d-flex flex-grow-1\"\n [control]=\"getFieldMappingsControl.get('label')\"\n >\n <nui-select-v2\n placeholder=\"Select Item\"\n i18n-placeholder\n formControlName=\"label\"\n >\n <nui-select-v2-option\n *ngFor=\"let item of mappingKeys\"\n [value]=\"item\"\n >\n {{ item }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n </div>\n </div>\n <div class=\"mb-3\">\n <label class=\"nui-text-label\" i18n>Label URL</label>\n <div class=\"d-flex flex-grow-1\">\n <nui-form-field\n class=\"d-flex flex-grow-1\"\n [control]=\"getFieldMappingsControl.get('url')\"\n >\n <nui-select-v2\n placeholder=\"Select Item\"\n i18n-placeholder\n formControlName=\"url\"\n >\n <nui-select-v2-option\n *ngFor=\"let item of mappingKeys\"\n [value]=\"item\"\n >\n {{ item }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n </div>\n </div>\n </div>\n</nui-widget-editor-accordion>\n", styles: ["\n .entity-formatting__accordion-content {\n padding: 15px 15px 15px 46px;\n }\n "], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i2.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i2.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i2.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe } });
12130
+ /** @nocollapse */ EntityFormattingConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: EntityFormattingConfigurationComponent, selector: "nui-entity-formatting-configuration", inputs: { mappingKeys: "mappingKeys", dataFieldIds: "dataFieldIds" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, 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]=\"'tag'\"\n iconColor=\"gray\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n>Entity formatting</span>\n <div class=\"nui-text-secondary\" title=\"Show status icon\">\n Show status icon\n </div>\n </div>\n </div>\n <div\n class=\"entity-formatting__accordion-content\"\n formGroupName=\"dataFieldIds\"\n >\n <div class=\"mb-3\">\n <label class=\"nui-text-label\" i18n>Icon</label>\n <div class=\"d-flex flex-grow-1\">\n <nui-form-field\n class=\"d-flex flex-grow-1\"\n [control]=\"getFieldMappingsControl.get('icon')\"\n >\n <nui-select-v2\n placeholder=\"Select Item\"\n i18n-placeholder\n formControlName=\"icon\"\n >\n <nui-select-v2-option\n *ngFor=\"let item of mappingKeys\"\n [value]=\"item\"\n >\n {{ item }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n </div>\n </div>\n <div class=\"mb-3\">\n <label class=\"nui-text-label\" i18n>Status</label>\n <div class=\"d-flex flex-grow-1\">\n <nui-form-field\n class=\"d-flex flex-grow-1\"\n [control]=\"getFieldMappingsControl.get('status')\"\n >\n <nui-select-v2\n placeholder=\"Select Item\"\n i18n-placeholder\n formControlName=\"status\"\n >\n <nui-select-v2-option\n *ngFor=\"let item of mappingKeys\"\n [value]=\"item\"\n >\n {{ item }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n </div>\n </div>\n <div class=\"mb-3\">\n <label class=\"nui-text-label\" i18n>Details URL</label>\n <div class=\"d-flex flex-grow-1\">\n <nui-form-field\n class=\"d-flex flex-grow-1\"\n [control]=\"getFieldMappingsControl.get('detailedUrl')\"\n >\n <nui-select-v2\n placeholder=\"Select Item\"\n i18n-placeholder\n formControlName=\"detailedUrl\"\n >\n <nui-select-v2-option\n *ngFor=\"let item of mappingKeys\"\n [value]=\"item\"\n >\n {{ item }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n </div>\n </div>\n <div class=\"mb-3\">\n <label class=\"nui-text-label\" i18n>Label</label>\n <div class=\"d-flex flex-grow-1\">\n <nui-form-field\n class=\"d-flex flex-grow-1\"\n [control]=\"getFieldMappingsControl.get('label')\"\n >\n <nui-select-v2\n placeholder=\"Select Item\"\n i18n-placeholder\n formControlName=\"label\"\n >\n <nui-select-v2-option\n *ngFor=\"let item of mappingKeys\"\n [value]=\"item\"\n >\n {{ item }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n </div>\n </div>\n <div class=\"mb-3\">\n <label class=\"nui-text-label\" i18n>Label URL</label>\n <div class=\"d-flex flex-grow-1\">\n <nui-form-field\n class=\"d-flex flex-grow-1\"\n [control]=\"getFieldMappingsControl.get('url')\"\n >\n <nui-select-v2\n placeholder=\"Select Item\"\n i18n-placeholder\n formControlName=\"url\"\n >\n <nui-select-v2-option\n *ngFor=\"let item of mappingKeys\"\n [value]=\"item\"\n >\n {{ item }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n </div>\n </div>\n </div>\n</nui-widget-editor-accordion>\n", styles: ["\n .entity-formatting__accordion-content {\n padding: 15px 15px 15px 46px;\n }\n "], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i3.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i3.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe } });
11252
12131
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityFormattingConfigurationComponent, decorators: [{
11253
12132
  type: Component,
11254
12133
  args: [{
@@ -11377,7 +12256,7 @@ class GroupingConfigurationComponent {
11377
12256
  }
11378
12257
  GroupingConfigurationComponent.lateLoadKey = "DrilldownConfiguratorComponent";
11379
12258
  /** @nocollapse */ GroupingConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: GroupingConfigurationComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$2.FormBuilder }, { token: PIZZAGNA_EVENT_BUS }], target: i0.ɵɵFactoryTarget.Component });
11380
- /** @nocollapse */ GroupingConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: GroupingConfigurationComponent, selector: "nui-grouping-configuration", inputs: { groups: "groups", groupBy: "groupBy" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, 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]=\"'tag'\"\n iconColor=\"gray\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n>Grouping</span>\n <div class=\"nui-text-secondary\" [title]=\"getSubtitle()\">\n {{ getSubtitle() }}\n </div>\n </div>\n </div>\n <div\n class=\"grouping-configuration__accordion-content\"\n formArrayName=\"groupBy\"\n >\n <ng-container\n *ngFor=\"let group of getGroupByControl.controls; index as i\"\n >\n <label *ngIf=\"i !== 0\" class=\"d-flex nui-text-secondary mb-1\" i18n\n >Then</label\n >\n <label *ngIf=\"i === 0\" class=\"d-flex nui-text-panel mb-2\" i18n\n >Group by</label\n >\n <div class=\"d-flex flex-row flex-grow-1 mb-4\">\n <nui-form-field [control]=\"group\" class=\"d-flex flex-grow-1\">\n <nui-select-v2\n placeholder=\"Select Item\"\n i18n-placeholder\n [formControlName]=\"i\"\n >\n <nui-select-v2-option\n *ngFor=\"let item of selectData[i]\"\n [value]=\"item\"\n >\n {{ item }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n <div class=\"justify-content-center\">\n <button\n nui-button\n icon=\"delete\"\n displayStyle=\"action\"\n type=\"button\"\n (click)=\"removeRule(i)\"\n ></button>\n </div>\n </div>\n </ng-container>\n <button\n nui-button\n icon=\"add\"\n displayStyle=\"action\"\n type=\"button\"\n i18n\n *ngIf=\"!this.isAddRestricted()\"\n (click)=\"addGrouping()\"\n >\n Add another level\n </button>\n </div>\n</nui-widget-editor-accordion>\n", styles: ["\n .grouping-configuration__accordion-content {\n padding: 15px 15px 15px 46px;\n }\n "], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i2.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i2.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i2.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }, { type: i2.ButtonComponent, selector: "[nui-button]", inputs: ["ariaLabel", "isRepeat", "iconColor", "size", "displayStyle", "icon", "iconRight", "isBusy", "isEmpty"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.FormArrayName, selector: "[formArrayName]", inputs: ["formArrayName"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
12259
+ /** @nocollapse */ GroupingConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: GroupingConfigurationComponent, selector: "nui-grouping-configuration", inputs: { groups: "groups", groupBy: "groupBy" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, 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]=\"'tag'\"\n iconColor=\"gray\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n>Grouping</span>\n <div class=\"nui-text-secondary\" [title]=\"getSubtitle()\">\n {{ getSubtitle() }}\n </div>\n </div>\n </div>\n <div\n class=\"grouping-configuration__accordion-content\"\n formArrayName=\"groupBy\"\n >\n <ng-container\n *ngFor=\"let group of getGroupByControl.controls; index as i\"\n >\n <label *ngIf=\"i !== 0\" class=\"d-flex nui-text-secondary mb-1\" i18n\n >Then</label\n >\n <label *ngIf=\"i === 0\" class=\"d-flex nui-text-panel mb-2\" i18n\n >Group by</label\n >\n <div class=\"d-flex flex-row flex-grow-1 mb-4\">\n <nui-form-field [control]=\"group\" class=\"d-flex flex-grow-1\">\n <nui-select-v2\n placeholder=\"Select Item\"\n i18n-placeholder\n [formControlName]=\"i\"\n >\n <nui-select-v2-option\n *ngFor=\"let item of selectData[i]\"\n [value]=\"item\"\n >\n {{ item }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n <div class=\"justify-content-center\">\n <button\n nui-button\n icon=\"delete\"\n displayStyle=\"action\"\n type=\"button\"\n (click)=\"removeRule(i)\"\n ></button>\n </div>\n </div>\n </ng-container>\n <button\n nui-button\n icon=\"add\"\n displayStyle=\"action\"\n type=\"button\"\n i18n\n *ngIf=\"!this.isAddRestricted()\"\n (click)=\"addGrouping()\"\n >\n Add another level\n </button>\n </div>\n</nui-widget-editor-accordion>\n", styles: ["\n .grouping-configuration__accordion-content {\n padding: 15px 15px 15px 46px;\n }\n "], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i3.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i3.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }, { type: i3.ButtonComponent, selector: "[nui-button]", inputs: ["ariaLabel", "isRepeat", "iconColor", "size", "displayStyle", "icon", "iconRight", "isBusy", "isEmpty"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.FormArrayName, selector: "[formArrayName]", inputs: ["formArrayName"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
11381
12260
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: GroupingConfigurationComponent, decorators: [{
11382
12261
  type: Component,
11383
12262
  args: [{
@@ -11392,7 +12271,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
11392
12271
  `,
11393
12272
  ],
11394
12273
  }]
11395
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1$2.FormBuilder }, { type: i2.EventBus, decorators: [{
12274
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1$2.FormBuilder }, { type: i3.EventBus, decorators: [{
11396
12275
  type: Inject,
11397
12276
  args: [PIZZAGNA_EVENT_BUS]
11398
12277
  }] }]; }, propDecorators: { groups: [{
@@ -11447,7 +12326,7 @@ class KpiTilesConfigurationComponent {
11447
12326
  }
11448
12327
  KpiTilesConfigurationComponent.lateLoadKey = "KpiTilesConfigurationComponent";
11449
12328
  /** @nocollapse */ KpiTilesConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: KpiTilesConfigurationComponent, deps: [{ token: PizzagnaService }, { token: i0.ChangeDetectorRef }, { token: i1$2.FormBuilder }, { token: PIZZAGNA_EVENT_BUS }], target: i0.ɵɵFactoryTarget.Component });
11450
- /** @nocollapse */ KpiTilesConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: KpiTilesConfigurationComponent, selector: "nui-kpi-tiles-configuration-component", inputs: { componentId: "componentId", tiles: "tiles", nodes: "nodes" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, 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: i2.MessageComponent, selector: "nui-message", inputs: ["allowDismiss", "type", "manualControl"], outputs: ["dismiss"] }, { type: i2.ButtonComponent, selector: "[nui-button]", inputs: ["ariaLabel", "isRepeat", "iconColor", "size", "displayStyle", "icon", "iconRight", "isBusy", "isEmpty"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i4.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
12329
+ /** @nocollapse */ KpiTilesConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: KpiTilesConfigurationComponent, selector: "nui-kpi-tiles-configuration-component", inputs: { componentId: "componentId", tiles: "tiles", nodes: "nodes" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, 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.MessageComponent, selector: "nui-message", inputs: ["allowDismiss", "type", "manualControl"], outputs: ["dismiss"] }, { type: i3.ButtonComponent, selector: "[nui-button]", inputs: ["ariaLabel", "isRepeat", "iconColor", "size", "displayStyle", "icon", "iconRight", "isBusy", "isEmpty"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i4.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
11451
12330
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: KpiTilesConfigurationComponent, decorators: [{
11452
12331
  type: Component,
11453
12332
  args: [{
@@ -11455,7 +12334,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
11455
12334
  templateUrl: "./kpi-tiles-configuration.component.html",
11456
12335
  changeDetection: ChangeDetectionStrategy.OnPush,
11457
12336
  }]
11458
- }], ctorParameters: function () { return [{ type: PizzagnaService }, { type: i0.ChangeDetectorRef }, { type: i1$2.FormBuilder }, { type: i2.EventBus, decorators: [{
12337
+ }], ctorParameters: function () { return [{ type: PizzagnaService }, { type: i0.ChangeDetectorRef }, { type: i1$2.FormBuilder }, { type: i3.EventBus, decorators: [{
11459
12338
  type: Inject,
11460
12339
  args: [PIZZAGNA_EVENT_BUS]
11461
12340
  }] }]; }, propDecorators: { componentId: [{
@@ -11499,8 +12378,8 @@ class AggregatorMetricSelectorConfigurationComponent {
11499
12378
  }
11500
12379
  }
11501
12380
  AggregatorMetricSelectorConfigurationComponent.lateLoadKey = "AggregatorMetricSelectorConfigurationComponent";
11502
- /** @nocollapse */ AggregatorMetricSelectorConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AggregatorMetricSelectorConfigurationComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$2.FormBuilder }, { token: i2.LoggerService }], target: i0.ɵɵFactoryTarget.Component });
11503
- /** @nocollapse */ AggregatorMetricSelectorConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AggregatorMetricSelectorConfigurationComponent, selector: "nui-aggregator-configurator", inputs: { metrics: "metrics", activeMetricId: "activeMetricId" }, outputs: { formReady: "formReady" }, viewQueries: [{ propertyName: "meticsSelect", first: true, predicate: ["metricsSelect"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div *ngIf=\"form\" [formGroup]=\"form\">\n <div>\n <nui-form-field\n caption=\"Default Metric\"\n i18n-caption\n class=\"mb-3\"\n [control]=\"form.controls['activeMetricId']\"\n >\n <nui-select-v2\n #metricsSelect\n formControlName=\"activeMetricId\"\n placeholder=\"Select Value\"\n i18n-placeholder\n >\n <nui-overlay-item\n (click)=\"unsetMetric()\"\n class=\"nui-combobox-v2__popup-box\"\n style=\"cursor: pointer\"\n >Unset</nui-overlay-item\n >\n <nui-select-v2-option\n *ngFor=\"let metric of metrics\"\n [displayValueContext]=\"metric.label\"\n [value]=\"metric.id\"\n >\n {{ metric.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n</div>\n", components: [{ type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i2.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i2.OverlayItemComponent, selector: "nui-overlay-item", inputs: ["isDisabled"] }, { type: i2.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }, { type: i2.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
12381
+ /** @nocollapse */ AggregatorMetricSelectorConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AggregatorMetricSelectorConfigurationComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$2.FormBuilder }, { token: i3.LoggerService }], target: i0.ɵɵFactoryTarget.Component });
12382
+ /** @nocollapse */ AggregatorMetricSelectorConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: AggregatorMetricSelectorConfigurationComponent, selector: "nui-aggregator-configurator", inputs: { metrics: "metrics", activeMetricId: "activeMetricId" }, outputs: { formReady: "formReady" }, viewQueries: [{ propertyName: "meticsSelect", first: true, predicate: ["metricsSelect"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div *ngIf=\"form\" [formGroup]=\"form\">\n <div>\n <nui-form-field\n caption=\"Default Metric\"\n i18n-caption\n class=\"mb-3\"\n [control]=\"form.controls['activeMetricId']\"\n >\n <nui-select-v2\n #metricsSelect\n formControlName=\"activeMetricId\"\n placeholder=\"Select Value\"\n i18n-placeholder\n >\n <nui-overlay-item\n (click)=\"unsetMetric()\"\n class=\"nui-combobox-v2__popup-box\"\n style=\"cursor: pointer\"\n >Unset</nui-overlay-item\n >\n <nui-select-v2-option\n *ngFor=\"let metric of metrics\"\n [displayValueContext]=\"metric.label\"\n [value]=\"metric.id\"\n >\n {{ metric.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n</div>\n", components: [{ type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i3.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i3.OverlayItemComponent, selector: "nui-overlay-item", inputs: ["isDisabled"] }, { type: i3.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }, { type: i3.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
11504
12383
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AggregatorMetricSelectorConfigurationComponent, decorators: [{
11505
12384
  type: Component,
11506
12385
  args: [{
@@ -11508,7 +12387,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
11508
12387
  templateUrl: "./aggregator-configurator.component.html",
11509
12388
  changeDetection: ChangeDetectionStrategy.OnPush,
11510
12389
  }]
11511
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1$2.FormBuilder }, { type: i2.LoggerService }]; }, propDecorators: { metrics: [{
12390
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1$2.FormBuilder }, { type: i3.LoggerService }]; }, propDecorators: { metrics: [{
11512
12391
  type: Input
11513
12392
  }], activeMetricId: [{
11514
12393
  type: Input
@@ -11563,8 +12442,8 @@ class FieldMapperAggregatorConfiguratorComponent extends AggregatorMetricSelecto
11563
12442
  }
11564
12443
  }
11565
12444
  FieldMapperAggregatorConfiguratorComponent.lateLoadKey = "FieldMapperAggregatorConfiguratorComponent";
11566
- /** @nocollapse */ FieldMapperAggregatorConfiguratorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: FieldMapperAggregatorConfiguratorComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$2.FormBuilder }, { token: i2.LoggerService }, { token: PIZZAGNA_EVENT_BUS }], target: i0.ɵɵFactoryTarget.Component });
11567
- /** @nocollapse */ FieldMapperAggregatorConfiguratorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: FieldMapperAggregatorConfiguratorComponent, selector: "nui-field-mapper-aggregator-configurator", inputs: { chartSeriesDataFieldId: "chartSeriesDataFieldId" }, usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div *ngIf=\"form\" [formGroup]=\"form\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Default Metric\"\n i18n-caption\n class=\"mb-4\"\n [control]=\"form.controls['activeMetricId']\"\n >\n <nui-select-v2\n formControlName=\"activeMetricId\"\n #metricsSelect\n placeholder=\"Select Value\"\n i18n-placeholder\n >\n <nui-overlay-item\n (click)=\"unsetMetric()\"\n class=\"nui-combobox-v2__popup-box\"\n style=\"cursor: pointer\"\n >Unset</nui-overlay-item\n >\n <nui-select-v2-option\n *ngFor=\"let metric of metrics\"\n [displayValueContext]=\"metric.label\"\n [value]=\"metric.id\"\n >\n {{ metric.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Chart Series Data Field\"\n i18n-caption\n class=\"mb-4\"\n [control]=\"form.controls['chartSeriesDataFieldId']\"\n >\n <nui-select-v2\n formControlName=\"chartSeriesDataFieldId\"\n placeholder=\"Select Value\"\n i18n-placeholder\n >\n <nui-select-v2-option\n *ngFor=\"let chartSeriesDataField of chartSeriesDataFields\"\n [displayValueContext]=\"chartSeriesDataField.label\"\n [value]=\"chartSeriesDataField.id\"\n >\n {{ chartSeriesDataField.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n</div>\n", components: [{ type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i2.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i2.OverlayItemComponent, selector: "nui-overlay-item", inputs: ["isDisabled"] }, { type: i2.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }, { type: i2.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
12445
+ /** @nocollapse */ FieldMapperAggregatorConfiguratorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: FieldMapperAggregatorConfiguratorComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$2.FormBuilder }, { token: i3.LoggerService }, { token: PIZZAGNA_EVENT_BUS }], target: i0.ɵɵFactoryTarget.Component });
12446
+ /** @nocollapse */ FieldMapperAggregatorConfiguratorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: FieldMapperAggregatorConfiguratorComponent, selector: "nui-field-mapper-aggregator-configurator", inputs: { chartSeriesDataFieldId: "chartSeriesDataFieldId" }, usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div *ngIf=\"form\" [formGroup]=\"form\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Default Metric\"\n i18n-caption\n class=\"mb-4\"\n [control]=\"form.controls['activeMetricId']\"\n >\n <nui-select-v2\n formControlName=\"activeMetricId\"\n #metricsSelect\n placeholder=\"Select Value\"\n i18n-placeholder\n >\n <nui-overlay-item\n (click)=\"unsetMetric()\"\n class=\"nui-combobox-v2__popup-box\"\n style=\"cursor: pointer\"\n >Unset</nui-overlay-item\n >\n <nui-select-v2-option\n *ngFor=\"let metric of metrics\"\n [displayValueContext]=\"metric.label\"\n [value]=\"metric.id\"\n >\n {{ metric.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Chart Series Data Field\"\n i18n-caption\n class=\"mb-4\"\n [control]=\"form.controls['chartSeriesDataFieldId']\"\n >\n <nui-select-v2\n formControlName=\"chartSeriesDataFieldId\"\n placeholder=\"Select Value\"\n i18n-placeholder\n >\n <nui-select-v2-option\n *ngFor=\"let chartSeriesDataField of chartSeriesDataFields\"\n [displayValueContext]=\"chartSeriesDataField.label\"\n [value]=\"chartSeriesDataField.id\"\n >\n {{ chartSeriesDataField.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n</div>\n", components: [{ type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i3.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i3.OverlayItemComponent, selector: "nui-overlay-item", inputs: ["isDisabled"] }, { type: i3.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }, { type: i3.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
11568
12447
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: FieldMapperAggregatorConfiguratorComponent, decorators: [{
11569
12448
  type: Component,
11570
12449
  args: [{
@@ -11572,7 +12451,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
11572
12451
  templateUrl: "./field-mapper-aggregator-configurator.component.html",
11573
12452
  changeDetection: ChangeDetectionStrategy.OnPush,
11574
12453
  }]
11575
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1$2.FormBuilder }, { type: i2.LoggerService }, { type: i2.EventBus, decorators: [{
12454
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1$2.FormBuilder }, { type: i3.LoggerService }, { type: i3.EventBus, decorators: [{
11576
12455
  type: Inject,
11577
12456
  args: [PIZZAGNA_EVENT_BUS]
11578
12457
  }] }]; }, propDecorators: { chartSeriesDataFieldId: [{
@@ -11635,7 +12514,7 @@ class ProportionalChartOptionsEditorV2Component {
11635
12514
  }
11636
12515
  ProportionalChartOptionsEditorV2Component.lateLoadKey = "ProportionalChartOptionsEditorV2Component";
11637
12516
  /** @nocollapse */ ProportionalChartOptionsEditorV2Component.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ProportionalChartOptionsEditorV2Component, deps: [{ token: i0.ChangeDetectorRef }, { token: ConfiguratorHeadingService }, { token: i1$2.FormBuilder }, { token: ProportionalLegendFormattersRegistryService }], target: i0.ɵɵFactoryTarget.Component });
11638
- /** @nocollapse */ ProportionalChartOptionsEditorV2Component.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ProportionalChartOptionsEditorV2Component, selector: "nui-proportional-chart-options-editor-v2-component", inputs: { type: "type", legendPlacement: "legendPlacement", legendFormatter: "legendFormatter", chartTypes: "chartTypes", legendPlacementOptions: "legendPlacementOptions" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, 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_pie-chart' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n>Chart Options</span>\n <div class=\"nui-text-secondary\" [title]=\"chartTitle\">\n {{ chartTitle }}\n </div>\n </div>\n </div>\n <div\n class=\"proportional-widget-chart-options-configuration__accordion-content\"\n >\n <!-- chart type -->\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Chart Type\"\n i18n-caption\n [control]=\"form.controls['type']\"\n >\n <nui-select-v2\n placeholder=\"Select chart type\"\n [popupViewportMargin]=\"configuratorHeading.height$ | async\"\n formControlName=\"type\"\n i18n-placeholder\n >\n <nui-select-v2-option\n *ngFor=\"let chartType of chartTypes\"\n [displayValueContext]=\"chartType.label\"\n [value]=\"chartType.id\"\n >\n {{ chartType.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n\n <!-- legend placement -->\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Legend\"\n i18n-caption\n [showOptionalText]=\"false\"\n [control]=\"form.controls['legendPlacement']\"\n >\n <nui-select-v2\n formControlName=\"legendPlacement\"\n [popupViewportMargin]=\"configuratorHeading.height$ | async\"\n >\n <nui-select-v2-option\n *ngFor=\"let option of legendPlacementOptions\"\n [value]=\"option.id\"\n >\n {{ option.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n\n <!-- legend formatter -->\n <div class=\"mb-4\">\n <ng-container formGroupName=\"legendFormatter\">\n <nui-form-field\n caption=\"Legend format\"\n i18n-caption\n [showOptionalText]=\"false\"\n [control]=\"legendFormatterControl\"\n >\n <nui-select-v2\n formControlName=\"componentType\"\n [popupViewportMargin]=\"\n configuratorHeading.height$ | async\n \"\n >\n <nui-select-v2-option\n *ngFor=\"let legendFormatter of legendFormatters\"\n [value]=\"legendFormatter.componentType\"\n >\n {{ legendFormatter.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </ng-container>\n </div>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".proportional-widget-chart-options-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i2.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i2.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i2.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }, { type: i2.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1$2.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": FormHeaderIconPipePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
12517
+ /** @nocollapse */ ProportionalChartOptionsEditorV2Component.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ProportionalChartOptionsEditorV2Component, selector: "nui-proportional-chart-options-editor-v2-component", inputs: { type: "type", legendPlacement: "legendPlacement", legendFormatter: "legendFormatter", chartTypes: "chartTypes", legendPlacementOptions: "legendPlacementOptions" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, 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_pie-chart' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n>Chart Options</span>\n <div class=\"nui-text-secondary\" [title]=\"chartTitle\">\n {{ chartTitle }}\n </div>\n </div>\n </div>\n <div\n class=\"proportional-widget-chart-options-configuration__accordion-content\"\n >\n <!-- chart type -->\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Chart Type\"\n i18n-caption\n [control]=\"form.controls['type']\"\n >\n <nui-select-v2\n placeholder=\"Select chart type\"\n [popupViewportMargin]=\"configuratorHeading.height$ | async\"\n formControlName=\"type\"\n i18n-placeholder\n >\n <nui-select-v2-option\n *ngFor=\"let chartType of chartTypes\"\n [displayValueContext]=\"chartType.label\"\n [value]=\"chartType.id\"\n >\n {{ chartType.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n\n <!-- legend placement -->\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Legend\"\n i18n-caption\n [showOptionalText]=\"false\"\n [control]=\"form.controls['legendPlacement']\"\n >\n <nui-select-v2\n formControlName=\"legendPlacement\"\n [popupViewportMargin]=\"configuratorHeading.height$ | async\"\n >\n <nui-select-v2-option\n *ngFor=\"let option of legendPlacementOptions\"\n [value]=\"option.id\"\n >\n {{ option.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n\n <!-- legend formatter -->\n <div class=\"mb-4\">\n <ng-container formGroupName=\"legendFormatter\">\n <nui-form-field\n caption=\"Legend format\"\n i18n-caption\n [showOptionalText]=\"false\"\n [control]=\"legendFormatterControl\"\n >\n <nui-select-v2\n formControlName=\"componentType\"\n [popupViewportMargin]=\"\n configuratorHeading.height$ | async\n \"\n >\n <nui-select-v2-option\n *ngFor=\"let legendFormatter of legendFormatters\"\n [value]=\"legendFormatter.componentType\"\n >\n {{ legendFormatter.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </ng-container>\n </div>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".proportional-widget-chart-options-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i3.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i3.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }, { type: i3.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1$2.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": FormHeaderIconPipePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
11639
12518
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ProportionalChartOptionsEditorV2Component, decorators: [{
11640
12519
  type: Component,
11641
12520
  args: [{
@@ -11769,7 +12648,7 @@ class ProportionalChartOptionsEditorComponent {
11769
12648
  }
11770
12649
  ProportionalChartOptionsEditorComponent.lateLoadKey = "ProportionalChartOptionsEditorComponent";
11771
12650
  /** @nocollapse */ ProportionalChartOptionsEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ProportionalChartOptionsEditorComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: ConfiguratorHeadingService }, { token: i1$2.FormBuilder }], target: i0.ɵɵFactoryTarget.Component });
11772
- /** @nocollapse */ ProportionalChartOptionsEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ProportionalChartOptionsEditorComponent, selector: "nui-proportional-chart-options-editor-component", inputs: { chartOptions: "chartOptions", chartType: "chartType", legendPlacement: "legendPlacement", legendFormatterComponentType: "legendFormatterComponentType", contentFormatterComponentType: "contentFormatterComponentType", contentFormatterProperties: "contentFormatterProperties", dsOutput: "dsOutput" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, 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_pie-chart' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n>Chart Options</span>\n <div class=\"nui-text-secondary\" [title]=\"chartTitle\">\n {{ chartTitle }}\n </div>\n </div>\n </div>\n <div\n class=\"proportional-widget-chart-options-configuration__accordion-content\"\n >\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Chart Type\"\n i18n-caption\n [control]=\"form.controls['type']\"\n >\n <nui-select-v2\n formControlName=\"type\"\n [popupViewportMargin]=\"configuratorHeading.height$ | async\"\n placeholder=\"Select chart type\"\n i18n-placeholder\n >\n <nui-select-v2-option\n *ngFor=\"\n let chartTypeSelectViewModel of chartTypeSelectViewModels\n \"\n [value]=\"chartTypeSelectViewModel.value\"\n >\n {{ chartTypeSelectViewModel.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n\n <!-- Donut chart content formatter -->\n <div class=\"mb-4\">\n <ng-container\n formGroupName=\"contentFormatter\"\n *ngIf=\"form.get('type')?.value === 'DonutChart'\"\n >\n <nui-form-field\n caption=\"Content format\"\n i18n-caption\n class=\"mb-4\"\n [showOptionalText]=\"false\"\n [control]=\"form.controls['componentType']\"\n >\n <nui-select-v2\n formControlName=\"componentType\"\n [popupViewportMargin]=\"\n configuratorHeading.height$ | async\n \"\n >\n <nui-select-v2-option\n *ngFor=\"let contentFormatter of contentFormatters\"\n [value]=\"contentFormatter.componentType\"\n >\n {{ contentFormatter.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n\n <!-- Donut formatter configurator's portal goes here. Make form working in scope of NUI-5014 -->\n <ng-container\n *ngIf=\"!!this.getConfigurationComponent()\"\n nuiComponentPortal\n [componentId]=\"this.getConfigurationComponent()\"\n [componentType]=\"this.getConfigurationComponent()\"\n [properties]=\"configurationComponentProperties\"\n #componentPortal=\"nuiComponentPortal\"\n [outputs]=\"['formReady']\"\n (output)=\"onFormReady($event.payload)\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n </ng-container>\n </div>\n\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Legend\"\n i18n-caption\n [showOptionalText]=\"false\"\n [control]=\"form.controls['legendPlacement']\"\n >\n <nui-select-v2\n formControlName=\"legendPlacement\"\n [popupViewportMargin]=\"configuratorHeading.height$ | async\"\n >\n <nui-select-v2-option\n *ngFor=\"\n let option of chartOptions.legendPlacementOptions\n \"\n [value]=\"option.id\"\n >\n {{ option.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n <ng-container formGroupName=\"legendFormatter\">\n <nui-form-field\n caption=\"Legend format\"\n i18n-caption\n [showOptionalText]=\"false\"\n [control]=\"form.controls['componentType']\"\n >\n <nui-select-v2\n formControlName=\"componentType\"\n [popupViewportMargin]=\"configuratorHeading.height$ | async\"\n >\n <nui-select-v2-option\n *ngFor=\"let legendFormatter of legendFormatters\"\n [value]=\"legendFormatter.componentType\"\n >\n {{ legendFormatter.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </ng-container>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".proportional-widget-chart-options-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i2.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i2.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i2.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }, { type: i2.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$2.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": FormHeaderIconPipePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
12651
+ /** @nocollapse */ ProportionalChartOptionsEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ProportionalChartOptionsEditorComponent, selector: "nui-proportional-chart-options-editor-component", inputs: { chartOptions: "chartOptions", chartType: "chartType", legendPlacement: "legendPlacement", legendFormatterComponentType: "legendFormatterComponentType", contentFormatterComponentType: "contentFormatterComponentType", contentFormatterProperties: "contentFormatterProperties", dsOutput: "dsOutput" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, 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_pie-chart' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n>Chart Options</span>\n <div class=\"nui-text-secondary\" [title]=\"chartTitle\">\n {{ chartTitle }}\n </div>\n </div>\n </div>\n <div\n class=\"proportional-widget-chart-options-configuration__accordion-content\"\n >\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Chart Type\"\n i18n-caption\n [control]=\"form.controls['type']\"\n >\n <nui-select-v2\n formControlName=\"type\"\n [popupViewportMargin]=\"configuratorHeading.height$ | async\"\n placeholder=\"Select chart type\"\n i18n-placeholder\n >\n <nui-select-v2-option\n *ngFor=\"\n let chartTypeSelectViewModel of chartTypeSelectViewModels\n \"\n [value]=\"chartTypeSelectViewModel.value\"\n >\n {{ chartTypeSelectViewModel.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n\n <!-- Donut chart content formatter -->\n <div class=\"mb-4\">\n <ng-container\n formGroupName=\"contentFormatter\"\n *ngIf=\"form.get('type')?.value === 'DonutChart'\"\n >\n <nui-form-field\n caption=\"Content format\"\n i18n-caption\n class=\"mb-4\"\n [showOptionalText]=\"false\"\n [control]=\"form.controls['componentType']\"\n >\n <nui-select-v2\n formControlName=\"componentType\"\n [popupViewportMargin]=\"\n configuratorHeading.height$ | async\n \"\n >\n <nui-select-v2-option\n *ngFor=\"let contentFormatter of contentFormatters\"\n [value]=\"contentFormatter.componentType\"\n >\n {{ contentFormatter.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n\n <!-- Donut formatter configurator's portal goes here. Make form working in scope of NUI-5014 -->\n <ng-container\n *ngIf=\"!!this.getConfigurationComponent()\"\n nuiComponentPortal\n [componentId]=\"this.getConfigurationComponent()\"\n [componentType]=\"this.getConfigurationComponent()\"\n [properties]=\"configurationComponentProperties\"\n #componentPortal=\"nuiComponentPortal\"\n [outputs]=\"['formReady']\"\n (output)=\"onFormReady($event.payload)\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n </ng-container>\n </div>\n\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Legend\"\n i18n-caption\n [showOptionalText]=\"false\"\n [control]=\"form.controls['legendPlacement']\"\n >\n <nui-select-v2\n formControlName=\"legendPlacement\"\n [popupViewportMargin]=\"configuratorHeading.height$ | async\"\n >\n <nui-select-v2-option\n *ngFor=\"\n let option of chartOptions.legendPlacementOptions\n \"\n [value]=\"option.id\"\n >\n {{ option.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n <ng-container formGroupName=\"legendFormatter\">\n <nui-form-field\n caption=\"Legend format\"\n i18n-caption\n [showOptionalText]=\"false\"\n [control]=\"form.controls['componentType']\"\n >\n <nui-select-v2\n formControlName=\"componentType\"\n [popupViewportMargin]=\"configuratorHeading.height$ | async\"\n >\n <nui-select-v2-option\n *ngFor=\"let legendFormatter of legendFormatters\"\n [value]=\"legendFormatter.componentType\"\n >\n {{ legendFormatter.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </ng-container>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".proportional-widget-chart-options-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i3.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i3.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }, { type: i3.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$2.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": FormHeaderIconPipePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
11773
12652
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ProportionalChartOptionsEditorComponent, decorators: [{
11774
12653
  type: Component,
11775
12654
  args: [{
@@ -11897,7 +12776,7 @@ class DonutContentConfigurationComponent {
11897
12776
  }
11898
12777
  DonutContentConfigurationComponent.lateLoadKey = "DonutContentConfigurationComponent";
11899
12778
  /** @nocollapse */ DonutContentConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DonutContentConfigurationComponent, deps: [{ token: i1$2.FormBuilder }, { token: i0.ChangeDetectorRef }, { token: PIZZAGNA_EVENT_BUS }, { token: ProportionalDonutContentFormattersRegistryService }, { token: ProportionalContentAggregatorsRegistryService }], target: i0.ɵɵFactoryTarget.Component });
11900
- /** @nocollapse */ DonutContentConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: DonutContentConfigurationComponent, selector: "nui-donut-content-configuration", inputs: { chartType: "chartType", formatter: "formatter", aggregator: "aggregator" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"shown\" [formGroup]=\"form\">\n <nui-widget-editor-accordion\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: 'customize' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n\n >Donut Content Configuration</span\n >\n <div class=\"nui-text-secondary\" [title]=\"subtitleText\">\n {{ subtitleText }}\n </div>\n </div>\n </div>\n\n <div class=\"donut-content-configuration__accordion-content\">\n <!-- aggregator -->\n <div class=\"mb-4\" formGroupName=\"aggregator\">\n <nui-form-field\n caption=\"Aggregate\"\n i18n-caption\n [control]=\"form.get('aggregator.aggregatorType')\"\n >\n <nui-select-v2\n placeholder=\"Select Format\"\n i18n-placeholder\n formControlName=\"aggregatorType\"\n >\n <nui-select-v2-option\n *ngFor=\"let aggregator of aggregators\"\n [displayValueContext]=\"aggregator.label\"\n [value]=\"aggregator.aggregatorType\"\n >\n {{ aggregator.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n </div>\n\n <!-- formatter -->\n <div class=\"mb-4\" formGroupName=\"formatter\">\n <nui-form-field\n caption=\"Format\"\n i18n-caption\n [control]=\"form.get('formatter.componentType')\"\n >\n <nui-select-v2\n placeholder=\"Select Format\"\n i18n-placeholder\n formControlName=\"componentType\"\n >\n <nui-select-v2-option\n *ngFor=\"let formatter of formatters\"\n [displayValueContext]=\"formatter.label\"\n [value]=\"formatter.componentType\"\n >\n {{ formatter.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n </div>\n\n <!-- aggregator configuration component -->\n <ng-container\n *ngIf=\"currentAggregatorDefinition?.configurationComponent\"\n nuiComponentPortal\n componentId=\"formatterConfigurator\"\n [componentType]=\"\n currentAggregatorDefinition?.configurationComponent\n \"\n [properties]=\"aggregatorConfiguratorProps\"\n [outputs]=\"['formReady']\"\n (output)=\"onFormReady('aggregator', $event.payload)\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n\n <!-- formatter configuration component -->\n <ng-container\n *ngIf=\"currentFormatterDefinition?.configurationComponent\"\n nuiComponentPortal\n componentId=\"formatterConfigurator\"\n [componentType]=\"\n currentFormatterDefinition?.configurationComponent\n \"\n [properties]=\"formatterConfiguratorProps\"\n [outputs]=\"['formReady']\"\n (output)=\"onFormReady('formatter', $event.payload)\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n </div>\n </nui-widget-editor-accordion>\n</ng-container>\n", styles: [".donut-content-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i2.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i2.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i2.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": FormHeaderIconPipePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
12779
+ /** @nocollapse */ DonutContentConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: DonutContentConfigurationComponent, selector: "nui-donut-content-configuration", inputs: { chartType: "chartType", formatter: "formatter", aggregator: "aggregator" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"shown\" [formGroup]=\"form\">\n <nui-widget-editor-accordion\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: 'customize' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n\n >Donut Content Configuration</span\n >\n <div class=\"nui-text-secondary\" [title]=\"subtitleText\">\n {{ subtitleText }}\n </div>\n </div>\n </div>\n\n <div class=\"donut-content-configuration__accordion-content\">\n <!-- aggregator -->\n <div class=\"mb-4\" formGroupName=\"aggregator\">\n <nui-form-field\n caption=\"Aggregate\"\n i18n-caption\n [control]=\"form.get('aggregator.aggregatorType')\"\n >\n <nui-select-v2\n placeholder=\"Select Format\"\n i18n-placeholder\n formControlName=\"aggregatorType\"\n >\n <nui-select-v2-option\n *ngFor=\"let aggregator of aggregators\"\n [displayValueContext]=\"aggregator.label\"\n [value]=\"aggregator.aggregatorType\"\n >\n {{ aggregator.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n </div>\n\n <!-- formatter -->\n <div class=\"mb-4\" formGroupName=\"formatter\">\n <nui-form-field\n caption=\"Format\"\n i18n-caption\n [control]=\"form.get('formatter.componentType')\"\n >\n <nui-select-v2\n placeholder=\"Select Format\"\n i18n-placeholder\n formControlName=\"componentType\"\n >\n <nui-select-v2-option\n *ngFor=\"let formatter of formatters\"\n [displayValueContext]=\"formatter.label\"\n [value]=\"formatter.componentType\"\n >\n {{ formatter.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n </div>\n\n <!-- aggregator configuration component -->\n <ng-container\n *ngIf=\"currentAggregatorDefinition?.configurationComponent\"\n nuiComponentPortal\n componentId=\"formatterConfigurator\"\n [componentType]=\"\n currentAggregatorDefinition?.configurationComponent\n \"\n [properties]=\"aggregatorConfiguratorProps\"\n [outputs]=\"['formReady']\"\n (output)=\"onFormReady('aggregator', $event.payload)\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n\n <!-- formatter configuration component -->\n <ng-container\n *ngIf=\"currentFormatterDefinition?.configurationComponent\"\n nuiComponentPortal\n componentId=\"formatterConfigurator\"\n [componentType]=\"\n currentFormatterDefinition?.configurationComponent\n \"\n [properties]=\"formatterConfiguratorProps\"\n [outputs]=\"['formReady']\"\n (output)=\"onFormReady('formatter', $event.payload)\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n </div>\n </nui-widget-editor-accordion>\n</ng-container>\n", styles: [".donut-content-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i3.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i3.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": FormHeaderIconPipePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
11901
12780
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DonutContentConfigurationComponent, decorators: [{
11902
12781
  type: Component,
11903
12782
  args: [{
@@ -11906,7 +12785,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
11906
12785
  styleUrls: ["./donut-content-configuration.component.less"],
11907
12786
  changeDetection: ChangeDetectionStrategy.OnPush,
11908
12787
  }]
11909
- }], ctorParameters: function () { return [{ type: i1$2.FormBuilder }, { type: i0.ChangeDetectorRef }, { type: i2.EventBus, decorators: [{
12788
+ }], ctorParameters: function () { return [{ type: i1$2.FormBuilder }, { type: i0.ChangeDetectorRef }, { type: i3.EventBus, decorators: [{
11910
12789
  type: Inject,
11911
12790
  args: [PIZZAGNA_EVENT_BUS]
11912
12791
  }] }, { type: ProportionalDonutContentFormattersRegistryService }, { type: ProportionalContentAggregatorsRegistryService }]; }, propDecorators: { chartType: [{
@@ -12026,7 +12905,7 @@ DescriptionConfigurationV2Component.lateLoadKey = "DescriptionConfigurationV2Com
12026
12905
  useExisting: forwardRef((() => DescriptionConfigurationV2Component)),
12027
12906
  multi: true,
12028
12907
  },
12029
- ], ngImport: i0, template: "<ng-container [formGroup]=\"form\">\n <nui-widget-editor-accordion\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 w-100 overflow-hidden pt-1\">\n <span class=\"nui-text-label\" i18n>Description</span>\n <div\n class=\"nui-text-secondary nui-text-ellipsis\"\n [title]=\"form.controls['label'].value\"\n >\n {{ form.controls[\"label\"].value }}\n </div>\n </div>\n </div>\n <div class=\"description-configuration__accordion-content\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Label\"\n i18n-caption\n class=\"mb-3\"\n [control]=\"form.controls['label']\"\n >\n <nui-textbox formControlName=\"label\"></nui-textbox>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n\n <nui-form-field [control]=\"form.controls['isActive']\">\n <nui-checkbox formControlName=\"isActive\" i18n\n >Show this column</nui-checkbox\n >\n </nui-form-field>\n\n <ng-container *ngIf=\"form.get('isActive')?.value\">\n <ng-container *ngIf=\"!isWidthMessageDisplayedForThisColumn()\">\n <div class=\"mt-4\">\n <nui-form-field\n caption=\"Column width (px)\"\n i18n-caption\n class=\"mb-3\"\n [control]=\"form.controls['width']\"\n >\n <!-- TODO: Remove this valueChange stub after NUI-3442 is finished-->\n <nui-textbox-number\n class=\"description-configuration__accordion-content__width-input\"\n (valueChange)=\"stub()\"\n placeholder=\"Auto width\"\n i18n-placeholder\n formControlName=\"width\"\n ></nui-textbox-number>\n <nui-validation-message\n [show]=\"form.controls['width'].invalid\"\n for=\"min\"\n i18n\n >\n Minimum width of the column is 62px\n </nui-validation-message>\n </nui-form-field>\n </div>\n </ng-container>\n <div\n *ngIf=\"isWidthMessageDisplayedForThisColumn()\"\n class=\"mt-4\"\n >\n <nui-message type=\"info\" [allowDismiss]=\"false\" i18n>\n <b>All columns cannot have fixed width.</b>\n </nui-message>\n </div>\n </ng-container>\n </div>\n </nui-widget-editor-accordion>\n</ng-container>\n", styles: [".description-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i2.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i2.TextboxComponent, selector: "nui-textbox", inputs: ["autocomplete", "disabled", "hint", "placeholder", "readonly", "rows", "type", "isInErrorState", "ariaLabel", "value", "caption", "info", "customBoxWidth", "name", "isBusy"], outputs: ["textChange", "blurred"] }, { type: i2.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }, { type: i2.CheckboxComponent, selector: "nui-checkbox", inputs: ["ariaLabelledby", "title", "ariaLabel", "checked", "disabled", "hovered", "indeterminate", "ariaDescribedby", "name", "value", "required", "hint"], outputs: ["valueChange"] }, { type: i2.TextboxNumberComponent, selector: "nui-textbox-number", inputs: ["value", "disabled", "placeholder", "readonly", "step", "stepPrecision", "isInErrorState", "ariaLabel", "customBoxWidth", "name", "minValue", "maxValue"], outputs: ["blurred", "valueChange"] }, { type: i2.MessageComponent, selector: "nui-message", inputs: ["allowDismiss", "type", "manualControl"], outputs: ["dismiss"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": FormHeaderIconPipePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
12908
+ ], ngImport: i0, template: "<ng-container [formGroup]=\"form\">\n <nui-widget-editor-accordion\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 w-100 overflow-hidden pt-1\">\n <span class=\"nui-text-label\" i18n>Description</span>\n <div\n class=\"nui-text-secondary nui-text-ellipsis\"\n [title]=\"form.controls['label'].value\"\n >\n {{ form.controls[\"label\"].value }}\n </div>\n </div>\n </div>\n <div class=\"description-configuration__accordion-content\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Label\"\n i18n-caption\n class=\"mb-3\"\n [control]=\"form.controls['label']\"\n >\n <nui-textbox formControlName=\"label\"></nui-textbox>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n\n <nui-form-field [control]=\"form.controls['isActive']\">\n <nui-checkbox formControlName=\"isActive\" i18n\n >Show this column</nui-checkbox\n >\n </nui-form-field>\n\n <ng-container *ngIf=\"form.get('isActive')?.value\">\n <ng-container *ngIf=\"!isWidthMessageDisplayedForThisColumn()\">\n <div class=\"mt-4\">\n <nui-form-field\n caption=\"Column width (px)\"\n i18n-caption\n class=\"mb-3\"\n [control]=\"form.controls['width']\"\n >\n <!-- TODO: Remove this valueChange stub after NUI-3442 is finished-->\n <nui-textbox-number\n class=\"description-configuration__accordion-content__width-input\"\n (valueChange)=\"stub()\"\n placeholder=\"Auto width\"\n i18n-placeholder\n formControlName=\"width\"\n ></nui-textbox-number>\n <nui-validation-message\n [show]=\"form.controls['width'].invalid\"\n for=\"min\"\n i18n\n >\n Minimum width of the column is 62px\n </nui-validation-message>\n </nui-form-field>\n </div>\n </ng-container>\n <div\n *ngIf=\"isWidthMessageDisplayedForThisColumn()\"\n class=\"mt-4\"\n >\n <nui-message type=\"info\" [allowDismiss]=\"false\" i18n>\n <b>All columns cannot have fixed width.</b>\n </nui-message>\n </div>\n </ng-container>\n </div>\n </nui-widget-editor-accordion>\n</ng-container>\n", styles: [".description-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i3.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.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }, { type: i3.CheckboxComponent, selector: "nui-checkbox", inputs: ["ariaLabelledby", "title", "ariaLabel", "checked", "disabled", "hovered", "indeterminate", "ariaDescribedby", "name", "value", "required", "hint"], outputs: ["valueChange"] }, { type: i3.TextboxNumberComponent, selector: "nui-textbox-number", inputs: ["value", "disabled", "placeholder", "readonly", "step", "stepPrecision", "isInErrorState", "ariaLabel", "customBoxWidth", "name", "minValue", "maxValue"], outputs: ["blurred", "valueChange"] }, { type: i3.MessageComponent, selector: "nui-message", inputs: ["allowDismiss", "type", "manualControl"], outputs: ["dismiss"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": FormHeaderIconPipePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
12030
12909
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DescriptionConfigurationV2Component, decorators: [{
12031
12910
  type: Component,
12032
12911
  args: [{
@@ -12321,7 +13200,7 @@ PresentationConfigurationV2Component.lateLoadKey = "PresentationConfigurationV2C
12321
13200
  useExisting: forwardRef((() => PresentationConfigurationV2Component)),
12322
13201
  multi: true,
12323
13202
  },
12324
- ], usesOnChanges: true, ngImport: i0, template: "<ng-container [formGroup]=\"form\">\n <nui-widget-editor-accordion\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: 'customize' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n>Property and formatting</span>\n <div class=\"nui-text-secondary\" [title]=\"subtitleText\">\n {{ subtitleText }}\n </div>\n </div>\n </div>\n <div class=\"presentation-configuration__accordion-content\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Format\"\n i18n-caption\n [control]=\"form.controls['componentType']\"\n >\n <nui-select-v2\n placeholder=\"Select Format\"\n i18n-placeholder\n [popupViewportMargin]=\"\n configuratorHeading.height$ | async\n \"\n formControlName=\"componentType\"\n >\n <nui-select-v2-option\n *ngFor=\"let formatter of formatters\"\n [displayValueContext]=\"formatter.label\"\n [value]=\"formatter.componentType\"\n >\n {{ formatter.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n </div>\n <ng-container\n *ngIf=\"formatterConfigurator\"\n nuiComponentPortal\n componentId=\"formatterConfigurator\"\n [componentType]=\"formatterConfigurator\"\n [properties]=\"formatterConfiguratorProps\"\n [outputs]=\"['formReady']\"\n (output)=\"onFormReady($event.payload)\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n </div>\n </nui-widget-editor-accordion>\n</ng-container>\n", styles: [".presentation-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i2.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i2.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i2.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": FormHeaderIconPipePipe }, viewProviders: [
13203
+ ], usesOnChanges: true, ngImport: i0, template: "<ng-container [formGroup]=\"form\">\n <nui-widget-editor-accordion\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: 'customize' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n>Property and formatting</span>\n <div class=\"nui-text-secondary\" [title]=\"subtitleText\">\n {{ subtitleText }}\n </div>\n </div>\n </div>\n <div class=\"presentation-configuration__accordion-content\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Format\"\n i18n-caption\n [control]=\"form.controls['componentType']\"\n >\n <nui-select-v2\n placeholder=\"Select Format\"\n i18n-placeholder\n [popupViewportMargin]=\"\n configuratorHeading.height$ | async\n \"\n formControlName=\"componentType\"\n >\n <nui-select-v2-option\n *ngFor=\"let formatter of formatters\"\n [displayValueContext]=\"formatter.label\"\n [value]=\"formatter.componentType\"\n >\n {{ formatter.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n </div>\n <ng-container\n *ngIf=\"formatterConfigurator\"\n nuiComponentPortal\n componentId=\"formatterConfigurator\"\n [componentType]=\"formatterConfigurator\"\n [properties]=\"formatterConfiguratorProps\"\n [outputs]=\"['formReady']\"\n (output)=\"onFormReady($event.payload)\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n </div>\n </nui-widget-editor-accordion>\n</ng-container>\n", styles: [".presentation-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i3.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i3.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": FormHeaderIconPipePipe }, viewProviders: [
12325
13204
  { provide: ControlContainer, useExisting: FormGroupDirective },
12326
13205
  ], changeDetection: i0.ChangeDetectionStrategy.OnPush });
12327
13206
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: PresentationConfigurationV2Component, decorators: [{
@@ -12347,7 +13226,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
12347
13226
  },
12348
13227
  ],
12349
13228
  }]
12350
- }], ctorParameters: function () { return [{ type: i1$2.FormBuilder }, { type: i0.ChangeDetectorRef }, { type: ConfiguratorHeadingService }, { type: i2.EventBus, decorators: [{
13229
+ }], ctorParameters: function () { return [{ type: i1$2.FormBuilder }, { type: i0.ChangeDetectorRef }, { type: ConfiguratorHeadingService }, { type: i3.EventBus, decorators: [{
12351
13230
  type: Inject,
12352
13231
  args: [PIZZAGNA_EVENT_BUS]
12353
13232
  }] }, { type: FormatterRegistryService, decorators: [{
@@ -12660,8 +13539,8 @@ class TableColumnsConfigurationV2Component {
12660
13539
  }
12661
13540
  }
12662
13541
  TableColumnsConfigurationV2Component.lateLoadKey = "TableColumnsConfigurationV2Component";
12663
- /** @nocollapse */ TableColumnsConfigurationV2Component.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TableColumnsConfigurationV2Component, deps: [{ token: i1$2.FormBuilder }, { token: i0.ChangeDetectorRef }, { token: i2.DialogService }, { token: PizzagnaService }, { token: ConfiguratorDataSourceManagerService }, { token: TableFormatterRegistryService }, { token: PIZZAGNA_EVENT_BUS }], target: i0.ɵɵFactoryTarget.Component });
12664
- /** @nocollapse */ TableColumnsConfigurationV2Component.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: TableColumnsConfigurationV2Component, selector: "nui-table-columns-configuration", inputs: { columns: "columns", componentId: "componentId", template: "template" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"nui-table-columns-configuration\">\n <div\n *ngIf=\"!dataSourceError && dataSourceFields.length\"\n cdkDropList\n (cdkDropListDropped)=\"drop($event)\"\n [formGroup]=\"form\"\n >\n <div formArrayName=\"columns\">\n <div\n cdkDrag\n (cdkDragStarted)=\"cdkDragStarted($event)\"\n class=\"nui-table-columns-configuration__node-item\"\n *ngFor=\"\n let columnForm of columnForms;\n index as i;\n trackBy: trackBy\n \"\n >\n <nui-drop-area\n class=\"nui-table-columns-configuration__drop-area\"\n *cdkDragPlaceholder\n [style.height.px]=\"draggedItemHeight\"\n ></nui-drop-area>\n\n <ng-template #headerText>\n <ng-container>\n <div\n class=\"nui-table-columns-configuration__drag-handler\"\n cdkDragHandle\n >\n <nui-icon icon=\"drag\"></nui-icon>\n </div>\n </ng-container>\n <span\n class=\"nui-table-columns-configuration__header-text\"\n [title]=\"\n columnForm?.value.label\n | nuiWidgetConfiguratorSectionHeader\n : i\n : columnLabel\n \"\n >\n {{\n columnForm?.value.label\n | nuiWidgetConfiguratorSectionHeader\n : i\n : columnLabel\n }}\n </span>\n </ng-template>\n\n <ng-template #headerButtons>\n <div class=\"d-flex\">\n <button\n id=\"table-widget-remove-column-btn-{{ i }}\"\n nui-button\n type=\"button\"\n icon=\"delete\"\n displayStyle=\"action\"\n (click)=\"removeItem(i)\"\n ></button>\n </div>\n </ng-template>\n\n <nui-widget-configurator-section\n class=\"no-margin\"\n [headerTextTemplate]=\"headerText\"\n [headerButtonsTemplate]=\"headerButtons\"\n >\n <nui-table-column-configuration\n [formControl]=\"columnForm\"\n [isWidthMessageDisplayed]=\"isWidthMessageDisplayed\"\n ></nui-table-column-configuration>\n </nui-widget-configurator-section>\n </div>\n\n <div\n class=\"pl-4 pr-4\"\n *ngIf=\"(emptyColumns$ | async) && form.touched\"\n >\n <nui-message type=\"critical\" [allowDismiss]=\"false\">\n <b i18n>At least one column must be added.</b>\n </nui-message>\n </div>\n\n <button\n nui-button\n icon=\"add\"\n displayStyle=\"action\"\n id=\"table-widget-add-indicator-btn\"\n type=\"button\"\n class=\"ml-4 mb-4\"\n (click)=\"addColumn()\"\n i18n\n >\n Add new column\n </button>\n\n <button\n nui-button\n icon=\"reset\"\n displayStyle=\"action\"\n id=\"table-widget-reset-indicator-btn\"\n type=\"button\"\n class=\"ml-4 mb-4\"\n (click)=\"onResetColumns()\"\n i18n\n >\n Reset columns\n </button>\n </div>\n </div>\n</div>\n", styles: [".nui-table-columns-configuration__header-text{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis}.nui-table-columns-configuration__drag-handler{cursor:move;display:flex}.nui-table-columns-configuration__node-item{background-color:var(--nui-color-bg-light,#fff);margin:15px}.nui-table-columns-configuration__node-item .widget-configurator-section{margin:0}.nui-table-columns-configuration__drop-area{margin:15px}.cdk-drag-preview{z-index:2000!important;opacity:.9;box-shadow:0 0 5px 0 var(--nui-shadow-color, rgba(17, 17, 17, .3))}\n"], components: [{ type: DropAreaComponent, selector: "nui-drop-area" }, { type: i2.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i2.ButtonComponent, selector: "[nui-button]", inputs: ["ariaLabel", "isRepeat", "iconColor", "size", "displayStyle", "icon", "iconRight", "isBusy", "isEmpty"] }, { type: WidgetConfiguratorSectionComponent, selector: "nui-widget-configurator-section", inputs: ["headerTextTemplate", "headerButtonsTemplate", "nodes", "headerText"], outputs: ["formReady", "formDestroy"] }, { type: TableColumnConfigurationComponent, selector: "nui-table-column-configuration", inputs: ["formControl", "isWidthMessageDisplayed"] }, { type: i2.MessageComponent, selector: "nui-message", inputs: ["allowDismiss", "type", "manualControl"], outputs: ["dismiss"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5$1.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "id", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListAutoScrollDisabled", "cdkDropListOrientation", "cdkDropListLockAxis", "cdkDropListData", "cdkDropListAutoScrollStep"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.FormArrayName, selector: "[formArrayName]", inputs: ["formArrayName"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i5$1.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragDisabled", "cdkDragStartDelay", "cdkDragLockAxis", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragBoundary", "cdkDragRootElement", "cdkDragPreviewContainer", "cdkDragData", "cdkDragFreeDragPosition"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i5$1.CdkDragPlaceholder, selector: "ng-template[cdkDragPlaceholder]", inputs: ["data"] }, { type: i5$1.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], pipes: { "nuiWidgetConfiguratorSectionHeader": WidgetConfiguratorSectionHeaderPipe, "async": i4.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
13542
+ /** @nocollapse */ TableColumnsConfigurationV2Component.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TableColumnsConfigurationV2Component, deps: [{ token: i1$2.FormBuilder }, { token: i0.ChangeDetectorRef }, { token: i3.DialogService }, { token: PizzagnaService }, { token: ConfiguratorDataSourceManagerService }, { token: TableFormatterRegistryService }, { token: PIZZAGNA_EVENT_BUS }], target: i0.ɵɵFactoryTarget.Component });
13543
+ /** @nocollapse */ TableColumnsConfigurationV2Component.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: TableColumnsConfigurationV2Component, selector: "nui-table-columns-configuration", inputs: { columns: "columns", componentId: "componentId", template: "template" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"nui-table-columns-configuration\">\n <div\n *ngIf=\"!dataSourceError && dataSourceFields.length\"\n cdkDropList\n (cdkDropListDropped)=\"drop($event)\"\n [formGroup]=\"form\"\n >\n <div formArrayName=\"columns\">\n <div\n cdkDrag\n (cdkDragStarted)=\"cdkDragStarted($event)\"\n class=\"nui-table-columns-configuration__node-item\"\n *ngFor=\"\n let columnForm of columnForms;\n index as i;\n trackBy: trackBy\n \"\n >\n <nui-drop-area\n class=\"nui-table-columns-configuration__drop-area\"\n *cdkDragPlaceholder\n [style.height.px]=\"draggedItemHeight\"\n ></nui-drop-area>\n\n <ng-template #headerText>\n <ng-container>\n <div\n class=\"nui-table-columns-configuration__drag-handler\"\n cdkDragHandle\n >\n <nui-icon icon=\"drag\"></nui-icon>\n </div>\n </ng-container>\n <span\n class=\"nui-table-columns-configuration__header-text\"\n [title]=\"\n columnForm?.value.label\n | nuiWidgetConfiguratorSectionHeader\n : i\n : columnLabel\n \"\n >\n {{\n columnForm?.value.label\n | nuiWidgetConfiguratorSectionHeader\n : i\n : columnLabel\n }}\n </span>\n </ng-template>\n\n <ng-template #headerButtons>\n <div class=\"d-flex\">\n <button\n id=\"table-widget-remove-column-btn-{{ i }}\"\n nui-button\n type=\"button\"\n icon=\"delete\"\n displayStyle=\"action\"\n (click)=\"removeItem(i)\"\n ></button>\n </div>\n </ng-template>\n\n <nui-widget-configurator-section\n class=\"no-margin\"\n [headerTextTemplate]=\"headerText\"\n [headerButtonsTemplate]=\"headerButtons\"\n >\n <nui-table-column-configuration\n [formControl]=\"columnForm\"\n [isWidthMessageDisplayed]=\"isWidthMessageDisplayed\"\n ></nui-table-column-configuration>\n </nui-widget-configurator-section>\n </div>\n\n <div\n class=\"pl-4 pr-4\"\n *ngIf=\"(emptyColumns$ | async) && form.touched\"\n >\n <nui-message type=\"critical\" [allowDismiss]=\"false\">\n <b i18n>At least one column must be added.</b>\n </nui-message>\n </div>\n\n <button\n nui-button\n icon=\"add\"\n displayStyle=\"action\"\n id=\"table-widget-add-indicator-btn\"\n type=\"button\"\n class=\"ml-4 mb-4\"\n (click)=\"addColumn()\"\n i18n\n >\n Add new column\n </button>\n\n <button\n nui-button\n icon=\"reset\"\n displayStyle=\"action\"\n id=\"table-widget-reset-indicator-btn\"\n type=\"button\"\n class=\"ml-4 mb-4\"\n (click)=\"onResetColumns()\"\n i18n\n >\n Reset columns\n </button>\n </div>\n </div>\n</div>\n", styles: [".nui-table-columns-configuration__header-text{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis}.nui-table-columns-configuration__drag-handler{cursor:move;display:flex}.nui-table-columns-configuration__node-item{background-color:var(--nui-color-bg-light,#fff);margin:15px}.nui-table-columns-configuration__node-item .widget-configurator-section{margin:0}.nui-table-columns-configuration__drop-area{margin:15px}.cdk-drag-preview{z-index:2000!important;opacity:.9;box-shadow:0 0 5px 0 var(--nui-shadow-color, rgba(17, 17, 17, .3))}\n"], components: [{ type: DropAreaComponent, selector: "nui-drop-area" }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.ButtonComponent, selector: "[nui-button]", inputs: ["ariaLabel", "isRepeat", "iconColor", "size", "displayStyle", "icon", "iconRight", "isBusy", "isEmpty"] }, { type: WidgetConfiguratorSectionComponent, selector: "nui-widget-configurator-section", inputs: ["headerTextTemplate", "headerButtonsTemplate", "nodes", "headerText"], outputs: ["formReady", "formDestroy"] }, { type: TableColumnConfigurationComponent, selector: "nui-table-column-configuration", inputs: ["formControl", "isWidthMessageDisplayed"] }, { type: i3.MessageComponent, selector: "nui-message", inputs: ["allowDismiss", "type", "manualControl"], outputs: ["dismiss"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5$1.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "id", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListAutoScrollDisabled", "cdkDropListOrientation", "cdkDropListLockAxis", "cdkDropListData", "cdkDropListAutoScrollStep"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.FormArrayName, selector: "[formArrayName]", inputs: ["formArrayName"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i5$1.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragDisabled", "cdkDragStartDelay", "cdkDragLockAxis", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragBoundary", "cdkDragRootElement", "cdkDragPreviewContainer", "cdkDragData", "cdkDragFreeDragPosition"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i5$1.CdkDragPlaceholder, selector: "ng-template[cdkDragPlaceholder]", inputs: ["data"] }, { type: i5$1.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], pipes: { "nuiWidgetConfiguratorSectionHeader": WidgetConfiguratorSectionHeaderPipe, "async": i4.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
12665
13544
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TableColumnsConfigurationV2Component, decorators: [{
12666
13545
  type: Component,
12667
13546
  args: [{
@@ -12671,7 +13550,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
12671
13550
  changeDetection: ChangeDetectionStrategy.OnPush,
12672
13551
  encapsulation: ViewEncapsulation.None,
12673
13552
  }]
12674
- }], ctorParameters: function () { return [{ type: i1$2.FormBuilder }, { type: i0.ChangeDetectorRef }, { type: i2.DialogService }, { type: PizzagnaService }, { type: ConfiguratorDataSourceManagerService }, { type: TableFormatterRegistryService }, { type: i2.EventBus, decorators: [{
13553
+ }], ctorParameters: function () { return [{ type: i1$2.FormBuilder }, { type: i0.ChangeDetectorRef }, { type: i3.DialogService }, { type: PizzagnaService }, { type: ConfiguratorDataSourceManagerService }, { type: TableFormatterRegistryService }, { type: i3.EventBus, decorators: [{
12675
13554
  type: Inject,
12676
13555
  args: [PIZZAGNA_EVENT_BUS]
12677
13556
  }] }]; }, propDecorators: { columns: [{
@@ -12720,7 +13599,7 @@ class DescriptionConfigurationComponent {
12720
13599
  }
12721
13600
  DescriptionConfigurationComponent.lateLoadKey = "DescriptionConfigurationComponent";
12722
13601
  /** @nocollapse */ DescriptionConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DescriptionConfigurationComponent, deps: [{ token: i1$2.FormBuilder }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
12723
- /** @nocollapse */ DescriptionConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: DescriptionConfigurationComponent, selector: "nui-table-column-description-configuration", inputs: { label: "label", isActive: "isActive", width: "width", isWidthMessageDisplayed: "isWidthMessageDisplayed" }, outputs: { formReady: "formReady", formDestroy: "formDestroy" }, usesOnChanges: true, ngImport: i0, template: "<ng-container [formGroup]=\"form\">\n <nui-widget-editor-accordion\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 w-100 overflow-hidden pt-1\">\n <span class=\"nui-text-label\" i18n>Description</span>\n <div\n class=\"nui-text-secondary nui-text-ellipsis\"\n [title]=\"form.controls['label'].value\"\n >\n {{ form.controls[\"label\"].value }}\n </div>\n </div>\n </div>\n <div class=\"description-configuration__accordion-content\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Label\"\n i18n-caption\n class=\"mb-3\"\n [control]=\"form.controls['label']\"\n >\n <nui-textbox formControlName=\"label\"></nui-textbox>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n\n <nui-form-field [control]=\"form.controls['isActive']\">\n <nui-checkbox formControlName=\"isActive\" i18n\n >Show this column</nui-checkbox\n >\n </nui-form-field>\n\n <ng-container *ngIf=\"form.get('isActive')?.value\">\n <ng-container *ngIf=\"!isWidthMessageDisplayed\">\n <div class=\"mt-4\">\n <nui-form-field\n caption=\"Column width (px)\"\n i18n-caption\n class=\"mb-3\"\n [control]=\"form.controls['width']\"\n >\n <!-- TODO: Remove this valueChange stub after NUI-3442 is finished-->\n <nui-textbox-number\n class=\"description-configuration__accordion-content__width-input\"\n (valueChange)=\"stub()\"\n placeholder=\"Auto width\"\n i18n-placeholder\n formControlName=\"width\"\n ></nui-textbox-number>\n <nui-validation-message\n [show]=\"form.controls['width'].invalid\"\n for=\"min\"\n i18n\n >\n Minimum width of the column is 62px\n </nui-validation-message>\n </nui-form-field>\n </div>\n </ng-container>\n <nui-message\n *ngIf=\"isWidthMessageDisplayed\"\n type=\"info\"\n [allowDismiss]=\"false\"\n i18n\n >\n <b>All columns can not have fixed width.</b>\n </nui-message>\n </ng-container>\n </div>\n </nui-widget-editor-accordion>\n</ng-container>\n", styles: [".description-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i2.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i2.TextboxComponent, selector: "nui-textbox", inputs: ["autocomplete", "disabled", "hint", "placeholder", "readonly", "rows", "type", "isInErrorState", "ariaLabel", "value", "caption", "info", "customBoxWidth", "name", "isBusy"], outputs: ["textChange", "blurred"] }, { type: i2.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }, { type: i2.CheckboxComponent, selector: "nui-checkbox", inputs: ["ariaLabelledby", "title", "ariaLabel", "checked", "disabled", "hovered", "indeterminate", "ariaDescribedby", "name", "value", "required", "hint"], outputs: ["valueChange"] }, { type: i2.TextboxNumberComponent, selector: "nui-textbox-number", inputs: ["value", "disabled", "placeholder", "readonly", "step", "stepPrecision", "isInErrorState", "ariaLabel", "customBoxWidth", "name", "minValue", "maxValue"], outputs: ["blurred", "valueChange"] }, { type: i2.MessageComponent, selector: "nui-message", inputs: ["allowDismiss", "type", "manualControl"], outputs: ["dismiss"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": FormHeaderIconPipePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
13602
+ /** @nocollapse */ DescriptionConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: DescriptionConfigurationComponent, selector: "nui-table-column-description-configuration", inputs: { label: "label", isActive: "isActive", width: "width", isWidthMessageDisplayed: "isWidthMessageDisplayed" }, outputs: { formReady: "formReady", formDestroy: "formDestroy" }, usesOnChanges: true, ngImport: i0, template: "<ng-container [formGroup]=\"form\">\n <nui-widget-editor-accordion\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 w-100 overflow-hidden pt-1\">\n <span class=\"nui-text-label\" i18n>Description</span>\n <div\n class=\"nui-text-secondary nui-text-ellipsis\"\n [title]=\"form.controls['label'].value\"\n >\n {{ form.controls[\"label\"].value }}\n </div>\n </div>\n </div>\n <div class=\"description-configuration__accordion-content\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Label\"\n i18n-caption\n class=\"mb-3\"\n [control]=\"form.controls['label']\"\n >\n <nui-textbox formControlName=\"label\"></nui-textbox>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n\n <nui-form-field [control]=\"form.controls['isActive']\">\n <nui-checkbox formControlName=\"isActive\" i18n\n >Show this column</nui-checkbox\n >\n </nui-form-field>\n\n <ng-container *ngIf=\"form.get('isActive')?.value\">\n <ng-container *ngIf=\"!isWidthMessageDisplayed\">\n <div class=\"mt-4\">\n <nui-form-field\n caption=\"Column width (px)\"\n i18n-caption\n class=\"mb-3\"\n [control]=\"form.controls['width']\"\n >\n <!-- TODO: Remove this valueChange stub after NUI-3442 is finished-->\n <nui-textbox-number\n class=\"description-configuration__accordion-content__width-input\"\n (valueChange)=\"stub()\"\n placeholder=\"Auto width\"\n i18n-placeholder\n formControlName=\"width\"\n ></nui-textbox-number>\n <nui-validation-message\n [show]=\"form.controls['width'].invalid\"\n for=\"min\"\n i18n\n >\n Minimum width of the column is 62px\n </nui-validation-message>\n </nui-form-field>\n </div>\n </ng-container>\n <nui-message\n *ngIf=\"isWidthMessageDisplayed\"\n type=\"info\"\n [allowDismiss]=\"false\"\n i18n\n >\n <b>All columns can not have fixed width.</b>\n </nui-message>\n </ng-container>\n </div>\n </nui-widget-editor-accordion>\n</ng-container>\n", styles: [".description-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i3.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.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }, { type: i3.CheckboxComponent, selector: "nui-checkbox", inputs: ["ariaLabelledby", "title", "ariaLabel", "checked", "disabled", "hovered", "indeterminate", "ariaDescribedby", "name", "value", "required", "hint"], outputs: ["valueChange"] }, { type: i3.TextboxNumberComponent, selector: "nui-textbox-number", inputs: ["value", "disabled", "placeholder", "readonly", "step", "stepPrecision", "isInErrorState", "ariaLabel", "customBoxWidth", "name", "minValue", "maxValue"], outputs: ["blurred", "valueChange"] }, { type: i3.MessageComponent, selector: "nui-message", inputs: ["allowDismiss", "type", "manualControl"], outputs: ["dismiss"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": FormHeaderIconPipePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
12724
13603
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DescriptionConfigurationComponent, decorators: [{
12725
13604
  type: Component,
12726
13605
  args: [{
@@ -12820,11 +13699,11 @@ class FormatterConfiguratorComponent {
12820
13699
  */
12821
13700
  addCustomFormControls(form) { }
12822
13701
  }
12823
- /** @nocollapse */ FormatterConfiguratorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: FormatterConfiguratorComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: ConfiguratorHeadingService }, { token: i1$2.FormBuilder }, { token: i2.LoggerService }], target: i0.ɵɵFactoryTarget.Injectable });
13702
+ /** @nocollapse */ FormatterConfiguratorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: FormatterConfiguratorComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: ConfiguratorHeadingService }, { token: i1$2.FormBuilder }, { token: i3.LoggerService }], target: i0.ɵɵFactoryTarget.Injectable });
12824
13703
  /** @nocollapse */ FormatterConfiguratorComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: FormatterConfiguratorComponent });
12825
13704
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: FormatterConfiguratorComponent, decorators: [{
12826
13705
  type: Injectable
12827
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: ConfiguratorHeadingService }, { type: i1$2.FormBuilder }, { type: i2.LoggerService }]; }, propDecorators: { formatter: [{
13706
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: ConfiguratorHeadingService }, { type: i1$2.FormBuilder }, { type: i3.LoggerService }]; }, propDecorators: { formatter: [{
12828
13707
  type: Input
12829
13708
  }], formatterDefinition: [{
12830
13709
  type: Input
@@ -12854,15 +13733,15 @@ class LinkConfiguratorComponent extends FormatterConfiguratorComponent {
12854
13733
  }
12855
13734
  }
12856
13735
  LinkConfiguratorComponent.lateLoadKey = "LinkConfiguratorComponent";
12857
- /** @nocollapse */ LinkConfiguratorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: LinkConfiguratorComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: ConfiguratorHeadingService }, { token: i1$2.FormBuilder }, { token: i2.LoggerService }], target: i0.ɵɵFactoryTarget.Component });
12858
- /** @nocollapse */ LinkConfiguratorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: LinkConfiguratorComponent, selector: "nui-link-configurator", usesInheritance: true, ngImport: i0, template: "<div [formGroup]=\"form\">\n <div formGroupName=\"dataFieldIds\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Label\"\n i18n-caption=\"\n label field caption| the entity field to be selected for the\n html label property\n \"\n class=\"mb-3\"\n [control]=\"dataFieldIds.controls['value']\"\n >\n <nui-select-v2 formControlName=\"value\">\n <nui-select-v2-option\n *ngFor=\"let itemValue of dropdownItems.value\"\n [value]=\"itemValue.id\"\n >\n {{ itemValue.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n <div>\n <nui-form-field\n caption=\"URL\"\n i18n-caption=\"\n url field caption| the entity field to be selected for the\n url html property\n \"\n class=\"mb-3\"\n [control]=\"dataFieldIds.controls['link']\"\n >\n <nui-select-v2 formControlName=\"link\">\n <nui-select-v2-option\n *ngFor=\"let itemLink of dropdownItems.link\"\n [value]=\"itemLink.id\"\n >\n {{ itemLink.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n </div>\n <div>\n <nui-form-field\n caption=\"Open in the same window\"\n i18n-caption=\"\n form field caption|switch configuring whether formatted link\n should open in new window/tab\n \"\n class=\"mb-3\"\n [control]=\"form.controls.targetSelf\"\n >\n <nui-switch id=\"nui-switch-target\" formControlName=\"targetSelf\">\n </nui-switch>\n </nui-form-field>\n </div>\n</div>\n", components: [{ type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i2.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i2.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }, { type: i2.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }, { type: i2.SwitchComponent, selector: "nui-switch", inputs: ["ariaLabel", "value", "disabled"], outputs: ["valueChange"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
13736
+ /** @nocollapse */ LinkConfiguratorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: LinkConfiguratorComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: ConfiguratorHeadingService }, { token: i1$2.FormBuilder }, { token: i3.LoggerService }], target: i0.ɵɵFactoryTarget.Component });
13737
+ /** @nocollapse */ LinkConfiguratorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: LinkConfiguratorComponent, selector: "nui-link-configurator", usesInheritance: true, ngImport: i0, template: "<div [formGroup]=\"form\">\n <div formGroupName=\"dataFieldIds\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Label\"\n i18n-caption=\"\n label field caption| the entity field to be selected for the\n html label property\n \"\n class=\"mb-3\"\n [control]=\"dataFieldIds.controls['value']\"\n >\n <nui-select-v2 formControlName=\"value\">\n <nui-select-v2-option\n *ngFor=\"let itemValue of dropdownItems.value\"\n [value]=\"itemValue.id\"\n >\n {{ itemValue.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n <div>\n <nui-form-field\n caption=\"URL\"\n i18n-caption=\"\n url field caption| the entity field to be selected for the\n url html property\n \"\n class=\"mb-3\"\n [control]=\"dataFieldIds.controls['link']\"\n >\n <nui-select-v2 formControlName=\"link\">\n <nui-select-v2-option\n *ngFor=\"let itemLink of dropdownItems.link\"\n [value]=\"itemLink.id\"\n >\n {{ itemLink.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n </div>\n <div>\n <nui-form-field\n caption=\"Open in the same window\"\n i18n-caption=\"\n form field caption|switch configuring whether formatted link\n should open in new window/tab\n \"\n class=\"mb-3\"\n [control]=\"form.controls.targetSelf\"\n >\n <nui-switch id=\"nui-switch-target\" formControlName=\"targetSelf\">\n </nui-switch>\n </nui-form-field>\n </div>\n</div>\n", components: [{ type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i3.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i3.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }, { type: i3.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }, { type: i3.SwitchComponent, selector: "nui-switch", inputs: ["ariaLabel", "value", "disabled"], outputs: ["valueChange"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
12859
13738
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: LinkConfiguratorComponent, decorators: [{
12860
13739
  type: Component,
12861
13740
  args: [{
12862
13741
  selector: "nui-link-configurator",
12863
13742
  templateUrl: "./link-configurator.component.html",
12864
13743
  }]
12865
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: ConfiguratorHeadingService }, { type: i1$2.FormBuilder }, { type: i2.LoggerService }]; } });
13744
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: ConfiguratorHeadingService }, { type: i1$2.FormBuilder }, { type: i3.LoggerService }]; } });
12866
13745
 
12867
13746
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
12868
13747
  /** @ignore */
@@ -12872,15 +13751,15 @@ class ValueSelectorComponent extends FormatterConfiguratorComponent {
12872
13751
  }
12873
13752
  }
12874
13753
  ValueSelectorComponent.lateLoadKey = "ValueSelectorComponent";
12875
- /** @nocollapse */ ValueSelectorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ValueSelectorComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: ConfiguratorHeadingService }, { token: i1$2.FormBuilder }, { token: i2.LoggerService }], target: i0.ɵɵFactoryTarget.Component });
12876
- /** @nocollapse */ ValueSelectorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ValueSelectorComponent, selector: "nui-value-selector", usesInheritance: true, ngImport: i0, template: "<div *ngIf=\"form\" [formGroup]=\"form\">\n <div formGroupName=\"dataFieldIds\">\n <nui-form-field\n caption=\"Value\"\n i18n-caption\n class=\"mb-3\"\n [control]=\"dataFieldIds.controls['value']\"\n >\n <nui-select-v2\n formControlName=\"value\"\n [popupViewportMargin]=\"configuratorHeading.height$ | async\"\n placeholder=\"Select Value\"\n i18n-placeholder\n >\n <nui-select-v2-option\n *ngFor=\"let itemValue of dropdownItems.value\"\n [displayValueContext]=\"itemValue.label\"\n [value]=\"itemValue.id\"\n >\n {{ itemValue.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n</div>\n", components: [{ type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i2.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i2.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }, { type: i2.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "async": i4.AsyncPipe } });
13754
+ /** @nocollapse */ ValueSelectorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ValueSelectorComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: ConfiguratorHeadingService }, { token: i1$2.FormBuilder }, { token: i3.LoggerService }], target: i0.ɵɵFactoryTarget.Component });
13755
+ /** @nocollapse */ ValueSelectorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ValueSelectorComponent, selector: "nui-value-selector", usesInheritance: true, ngImport: i0, template: "<div *ngIf=\"form\" [formGroup]=\"form\">\n <div formGroupName=\"dataFieldIds\">\n <nui-form-field\n caption=\"Value\"\n i18n-caption\n class=\"mb-3\"\n [control]=\"dataFieldIds.controls['value']\"\n >\n <nui-select-v2\n formControlName=\"value\"\n [popupViewportMargin]=\"configuratorHeading.height$ | async\"\n placeholder=\"Select Value\"\n i18n-placeholder\n >\n <nui-select-v2-option\n *ngFor=\"let itemValue of dropdownItems.value\"\n [displayValueContext]=\"itemValue.label\"\n [value]=\"itemValue.id\"\n >\n {{ itemValue.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n</div>\n", components: [{ type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i3.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i3.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }, { type: i3.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "async": i4.AsyncPipe } });
12877
13756
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ValueSelectorComponent, decorators: [{
12878
13757
  type: Component,
12879
13758
  args: [{
12880
13759
  selector: "nui-value-selector",
12881
13760
  templateUrl: "./value-selector.component.html",
12882
13761
  }]
12883
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: ConfiguratorHeadingService }, { type: i1$2.FormBuilder }, { type: i2.LoggerService }]; } });
13762
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: ConfiguratorHeadingService }, { type: i1$2.FormBuilder }, { type: i3.LoggerService }]; } });
12884
13763
 
12885
13764
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
12886
13765
  class PresentationConfigurationComponent {
@@ -13082,7 +13961,7 @@ class PresentationConfigurationComponent {
13082
13961
  }
13083
13962
  PresentationConfigurationComponent.lateLoadKey = "PresentationConfigurationComponent";
13084
13963
  /** @nocollapse */ PresentationConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: PresentationConfigurationComponent, deps: [{ token: i1$2.FormBuilder }, { token: i0.ChangeDetectorRef }, { token: ConfiguratorHeadingService }, { token: FORMATTERS_REGISTRY, optional: true }, { token: TableFormatterRegistryService }], target: i0.ɵɵFactoryTarget.Component });
13085
- /** @nocollapse */ PresentationConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: PresentationConfigurationComponent, selector: "nui-table-column-presentation-configuration", inputs: { formatter: "formatter", formatters: "formatters", dataFieldIds: "dataFieldIds", dataFields: "dataFields" }, outputs: { formReady: "formReady", formDestroy: "formDestroy" }, usesOnChanges: true, ngImport: i0, template: "<ng-container [formGroup]=\"formatterForm\">\n <nui-widget-editor-accordion\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: 'customize' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n>Property and formatting</span>\n <div class=\"nui-text-secondary\" [title]=\"subtitleText\">\n {{ subtitleText }}\n </div>\n </div>\n </div>\n <div class=\"presentation-configuration__accordion-content\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Format\"\n i18n-caption\n [control]=\"formatterForm.controls['componentType']\"\n >\n <nui-select-v2\n placeholder=\"Select Format\"\n i18n-placeholder\n [popupViewportMargin]=\"\n configuratorHeading.height$ | async\n \"\n formControlName=\"componentType\"\n >\n <nui-select-v2-option\n *ngFor=\"let formatter of formatters\"\n [displayValueContext]=\"formatter.label\"\n [value]=\"formatter.componentType\"\n >\n {{ formatter.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n </div>\n <ng-container\n *ngIf=\"formatterConfigurator\"\n nuiComponentPortal\n componentId=\"formatterConfigurator\"\n [componentType]=\"formatterConfigurator\"\n [properties]=\"formatterConfiguratorProps\"\n [outputs]=\"['formReady']\"\n (output)=\"onFormReady($event.payload)\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n </div>\n </nui-widget-editor-accordion>\n</ng-container>\n", styles: [".presentation-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i2.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i2.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i2.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": FormHeaderIconPipePipe }, viewProviders: [
13964
+ /** @nocollapse */ PresentationConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: PresentationConfigurationComponent, selector: "nui-table-column-presentation-configuration", inputs: { formatter: "formatter", formatters: "formatters", dataFieldIds: "dataFieldIds", dataFields: "dataFields" }, outputs: { formReady: "formReady", formDestroy: "formDestroy" }, usesOnChanges: true, ngImport: i0, template: "<ng-container [formGroup]=\"formatterForm\">\n <nui-widget-editor-accordion\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: 'customize' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n>Property and formatting</span>\n <div class=\"nui-text-secondary\" [title]=\"subtitleText\">\n {{ subtitleText }}\n </div>\n </div>\n </div>\n <div class=\"presentation-configuration__accordion-content\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Format\"\n i18n-caption\n [control]=\"formatterForm.controls['componentType']\"\n >\n <nui-select-v2\n placeholder=\"Select Format\"\n i18n-placeholder\n [popupViewportMargin]=\"\n configuratorHeading.height$ | async\n \"\n formControlName=\"componentType\"\n >\n <nui-select-v2-option\n *ngFor=\"let formatter of formatters\"\n [displayValueContext]=\"formatter.label\"\n [value]=\"formatter.componentType\"\n >\n {{ formatter.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n </div>\n <ng-container\n *ngIf=\"formatterConfigurator\"\n nuiComponentPortal\n componentId=\"formatterConfigurator\"\n [componentType]=\"formatterConfigurator\"\n [properties]=\"formatterConfiguratorProps\"\n [outputs]=\"['formReady']\"\n (output)=\"onFormReady($event.payload)\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n </div>\n </nui-widget-editor-accordion>\n</ng-container>\n", styles: [".presentation-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i3.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i3.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": FormHeaderIconPipePipe }, viewProviders: [
13086
13965
  { provide: ControlContainer, useExisting: FormGroupDirective },
13087
13966
  ], changeDetection: i0.ChangeDetectionStrategy.OnPush });
13088
13967
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: PresentationConfigurationComponent, decorators: [{
@@ -13323,8 +14202,8 @@ class TableColumnsConfigurationComponent {
13323
14202
  }
13324
14203
  }
13325
14204
  TableColumnsConfigurationComponent.lateLoadKey = "TableColumnsConfigurationComponent";
13326
- /** @nocollapse */ TableColumnsConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TableColumnsConfigurationComponent, deps: [{ token: i1$2.FormBuilder }, { token: i0.ChangeDetectorRef }, { token: i2.DialogService }, { token: PizzagnaService }, { token: PIZZAGNA_EVENT_BUS }], target: i0.ɵɵFactoryTarget.Component });
13327
- /** @nocollapse */ TableColumnsConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: TableColumnsConfigurationComponent, selector: "nui-table-columns-configuration", inputs: { columns: "columns", formatters: "formatters", componentId: "componentId", dataFields: "dataFields", nodes: "nodes" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<nui-items-dynamic\n [items]=\"columns\"\n [nodes]=\"nodes\"\n headerPrefix=\"Column\"\n i18n-headerPrefix\n (itemsChange)=\"onItemsChange($event)\"\n (formReady)=\"onFormReady($event)\"\n></nui-items-dynamic>\n\n<div class=\"pl-4 pr-4\" *ngIf=\"(emptyColumns$ | async) && form.touched\">\n <nui-message type=\"critical\" [allowDismiss]=\"false\" i18n>\n <b>At least one column must be added.</b>\n </nui-message>\n</div>\n\n<button\n nui-button\n icon=\"add\"\n displayStyle=\"action\"\n id=\"table-widget-add-indicator-btn\"\n type=\"button\"\n class=\"ml-4 mb-4\"\n (click)=\"addColumn()\"\n i18n\n>\n Add new column\n</button>\n\n<button\n nui-button\n icon=\"reset\"\n displayStyle=\"action\"\n id=\"table-widget-reset-indicator-btn\"\n type=\"button\"\n class=\"ml-4 mb-4\"\n (click)=\"onResetColumns()\"\n i18n\n>\n Reset columns\n</button>\n", components: [{ type: ItemsDynamicComponent, selector: "nui-items-dynamic", inputs: ["items", "moveButtons", "nodes", "headerPrefix"], outputs: ["formReady", "itemsChange"] }, { type: i2.MessageComponent, selector: "nui-message", inputs: ["allowDismiss", "type", "manualControl"], outputs: ["dismiss"] }, { type: i2.ButtonComponent, selector: "[nui-button]", inputs: ["ariaLabel", "isRepeat", "iconColor", "size", "displayStyle", "icon", "iconRight", "isBusy", "isEmpty"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i4.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
14205
+ /** @nocollapse */ TableColumnsConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TableColumnsConfigurationComponent, deps: [{ token: i1$2.FormBuilder }, { token: i0.ChangeDetectorRef }, { token: i3.DialogService }, { token: PizzagnaService }, { token: PIZZAGNA_EVENT_BUS }], target: i0.ɵɵFactoryTarget.Component });
14206
+ /** @nocollapse */ TableColumnsConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: TableColumnsConfigurationComponent, selector: "nui-table-columns-configuration", inputs: { columns: "columns", formatters: "formatters", componentId: "componentId", dataFields: "dataFields", nodes: "nodes" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<nui-items-dynamic\n [items]=\"columns\"\n [nodes]=\"nodes\"\n headerPrefix=\"Column\"\n i18n-headerPrefix\n (itemsChange)=\"onItemsChange($event)\"\n (formReady)=\"onFormReady($event)\"\n></nui-items-dynamic>\n\n<div class=\"pl-4 pr-4\" *ngIf=\"(emptyColumns$ | async) && form.touched\">\n <nui-message type=\"critical\" [allowDismiss]=\"false\" i18n>\n <b>At least one column must be added.</b>\n </nui-message>\n</div>\n\n<button\n nui-button\n icon=\"add\"\n displayStyle=\"action\"\n id=\"table-widget-add-indicator-btn\"\n type=\"button\"\n class=\"ml-4 mb-4\"\n (click)=\"addColumn()\"\n i18n\n>\n Add new column\n</button>\n\n<button\n nui-button\n icon=\"reset\"\n displayStyle=\"action\"\n id=\"table-widget-reset-indicator-btn\"\n type=\"button\"\n class=\"ml-4 mb-4\"\n (click)=\"onResetColumns()\"\n i18n\n>\n Reset columns\n</button>\n", components: [{ type: ItemsDynamicComponent, selector: "nui-items-dynamic", inputs: ["items", "moveButtons", "nodes", "headerPrefix"], outputs: ["formReady", "itemsChange"] }, { type: i3.MessageComponent, selector: "nui-message", inputs: ["allowDismiss", "type", "manualControl"], outputs: ["dismiss"] }, { type: i3.ButtonComponent, selector: "[nui-button]", inputs: ["ariaLabel", "isRepeat", "iconColor", "size", "displayStyle", "icon", "iconRight", "isBusy", "isEmpty"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i4.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
13328
14207
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TableColumnsConfigurationComponent, decorators: [{
13329
14208
  type: Component,
13330
14209
  args: [{
@@ -13332,7 +14211,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
13332
14211
  templateUrl: "./table-columns-configuration.component.html",
13333
14212
  changeDetection: ChangeDetectionStrategy.OnPush,
13334
14213
  }]
13335
- }], ctorParameters: function () { return [{ type: i1$2.FormBuilder }, { type: i0.ChangeDetectorRef }, { type: i2.DialogService }, { type: PizzagnaService }, { type: i2.EventBus, decorators: [{
14214
+ }], ctorParameters: function () { return [{ type: i1$2.FormBuilder }, { type: i0.ChangeDetectorRef }, { type: i3.DialogService }, { type: PizzagnaService }, { type: i3.EventBus, decorators: [{
13336
14215
  type: Inject,
13337
14216
  args: [PIZZAGNA_EVENT_BUS]
13338
14217
  }] }]; }, propDecorators: { columns: [{
@@ -13427,7 +14306,7 @@ class TableFiltersEditorComponent {
13427
14306
  }
13428
14307
  TableFiltersEditorComponent.lateLoadKey = "TableFiltersEditorComponent";
13429
14308
  /** @nocollapse */ TableFiltersEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TableFiltersEditorComponent, deps: [{ token: i1$2.FormBuilder }, { token: ConfiguratorHeadingService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
13430
- /** @nocollapse */ TableFiltersEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: TableFiltersEditorComponent, selector: "nui-table-filters-editor-component", inputs: { sorterConfiguration: "sorterConfiguration", columns: "columns" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<nui-widget-editor-accordion [formGroup]=\"form\">\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=\"widget_pie-chart\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n>Sorting</span>\n <div\n class=\"nui-text-secondary\"\n [title]=\"selectedSortByValue + selectedSortOrderValue\"\n >\n {{ selectedSortByValue }}{{ selectedSortOrderValue }}\n </div>\n </div>\n </div>\n <div class=\"table-filters-configuration__accordion-content\">\n <div formGroupName=\"sorterConfiguration\" class=\"d-flex align-items-end\">\n <nui-form-field\n caption=\"Sort by\"\n i18n-caption\n [control]=\"form.controls['sortBy']\"\n class=\"w-50\"\n >\n <nui-select-v2\n placeholder=\"Select column\"\n i18n-placeholder\n [popupViewportMargin]=\"configuratorHeading.height$ | async\"\n formControlName=\"sortBy\"\n class=\"table-filters-configuration__accordion-content__sort-by-input\"\n >\n <nui-select-v2-option\n *ngFor=\"let column of sortableColumns\"\n [value]=\"column.id\"\n >\n {{ column.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n <div class=\"ml-2\">\n <nui-form-field [control]=\"form.controls['descendantSorting']\">\n <nui-checkbox formControlName=\"descendantSorting\" i18n>\n Descending\n </nui-checkbox>\n </nui-form-field>\n </div>\n </div>\n </div>\n <div class=\"p-5\">\n <nui-message\n *ngIf=\"!sortableColumns.length\"\n type=\"info\"\n [allowDismiss]=\"false\"\n i18n\n >\n <b>No columns are sortable.</b>\n </nui-message>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".table-filters-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i2.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i2.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i2.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }, { type: i2.CheckboxComponent, selector: "nui-checkbox", inputs: ["ariaLabelledby", "title", "ariaLabel", "checked", "disabled", "hovered", "indeterminate", "ariaDescribedby", "name", "value", "required", "hint"], outputs: ["valueChange"] }, { type: i2.MessageComponent, selector: "nui-message", inputs: ["allowDismiss", "type", "manualControl"], outputs: ["dismiss"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i4.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
14309
+ /** @nocollapse */ TableFiltersEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: TableFiltersEditorComponent, selector: "nui-table-filters-editor-component", inputs: { sorterConfiguration: "sorterConfiguration", columns: "columns" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<nui-widget-editor-accordion [formGroup]=\"form\">\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=\"widget_pie-chart\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n>Sorting</span>\n <div\n class=\"nui-text-secondary\"\n [title]=\"selectedSortByValue + selectedSortOrderValue\"\n >\n {{ selectedSortByValue }}{{ selectedSortOrderValue }}\n </div>\n </div>\n </div>\n <div class=\"table-filters-configuration__accordion-content\">\n <div formGroupName=\"sorterConfiguration\" class=\"d-flex align-items-end\">\n <nui-form-field\n caption=\"Sort by\"\n i18n-caption\n [control]=\"form.controls['sortBy']\"\n class=\"w-50\"\n >\n <nui-select-v2\n placeholder=\"Select column\"\n i18n-placeholder\n [popupViewportMargin]=\"configuratorHeading.height$ | async\"\n formControlName=\"sortBy\"\n class=\"table-filters-configuration__accordion-content__sort-by-input\"\n >\n <nui-select-v2-option\n *ngFor=\"let column of sortableColumns\"\n [value]=\"column.id\"\n >\n {{ column.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n <div class=\"ml-2\">\n <nui-form-field [control]=\"form.controls['descendantSorting']\">\n <nui-checkbox formControlName=\"descendantSorting\" i18n>\n Descending\n </nui-checkbox>\n </nui-form-field>\n </div>\n </div>\n </div>\n <div class=\"p-5\">\n <nui-message\n *ngIf=\"!sortableColumns.length\"\n type=\"info\"\n [allowDismiss]=\"false\"\n i18n\n >\n <b>No columns are sortable.</b>\n </nui-message>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".table-filters-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i3.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i3.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }, { type: i3.CheckboxComponent, selector: "nui-checkbox", inputs: ["ariaLabelledby", "title", "ariaLabel", "checked", "disabled", "hovered", "indeterminate", "ariaDescribedby", "name", "value", "required", "hint"], outputs: ["valueChange"] }, { type: i3.MessageComponent, selector: "nui-message", inputs: ["allowDismiss", "type", "manualControl"], outputs: ["dismiss"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i4.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
13431
14310
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TableFiltersEditorComponent, decorators: [{
13432
14311
  type: Component,
13433
14312
  args: [{
@@ -13505,7 +14384,7 @@ class TimeseriesSeriesCollectionConfigurationComponent {
13505
14384
  }
13506
14385
  TimeseriesSeriesCollectionConfigurationComponent.lateLoadKey = "TimeseriesSeriesCollectionConfigurationComponent";
13507
14386
  /** @nocollapse */ TimeseriesSeriesCollectionConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TimeseriesSeriesCollectionConfigurationComponent, deps: [{ token: PizzagnaService }, { token: i0.ChangeDetectorRef }, { token: PIZZAGNA_EVENT_BUS }], target: i0.ɵɵFactoryTarget.Component });
13508
- /** @nocollapse */ TimeseriesSeriesCollectionConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: TimeseriesSeriesCollectionConfigurationComponent, selector: "nui-timeseries-series-collection-configuration", inputs: { nodes: "nodes", componentId: "componentId", series: "series", availableSeries: "availableSeries", allSeries: "allSeries" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<nui-items-dynamic\n [items]=\"series\"\n [nodes]=\"nodes\"\n (itemsChange)=\"onItemsChange($event)\"\n [moveButtons]=\"false\"\n (formReady)=\"onFormReady($event)\"\n></nui-items-dynamic>\n\n<div class=\"pl-4 pr-4\" *ngIf=\"(emptySeries$ | async) && form.touched\">\n <nui-message type=\"critical\" [allowDismiss]=\"false\" i18n>\n <b>At least one series must be added.</b>\n </nui-message>\n</div>\n\n<button\n nui-button\n *ngIf=\"isPossibleToAddSeries()\"\n icon=\"add\"\n displayStyle=\"action\"\n type=\"button\"\n class=\"ml-4 mb-4\"\n (click)=\"addSeries()\"\n i18n\n>\n Add new series\n</button>\n", components: [{ type: ItemsDynamicComponent, selector: "nui-items-dynamic", inputs: ["items", "moveButtons", "nodes", "headerPrefix"], outputs: ["formReady", "itemsChange"] }, { type: i2.MessageComponent, selector: "nui-message", inputs: ["allowDismiss", "type", "manualControl"], outputs: ["dismiss"] }, { type: i2.ButtonComponent, selector: "[nui-button]", inputs: ["ariaLabel", "isRepeat", "iconColor", "size", "displayStyle", "icon", "iconRight", "isBusy", "isEmpty"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i4.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
14387
+ /** @nocollapse */ TimeseriesSeriesCollectionConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: TimeseriesSeriesCollectionConfigurationComponent, selector: "nui-timeseries-series-collection-configuration", inputs: { nodes: "nodes", componentId: "componentId", series: "series", availableSeries: "availableSeries", allSeries: "allSeries" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<nui-items-dynamic\n [items]=\"series\"\n [nodes]=\"nodes\"\n (itemsChange)=\"onItemsChange($event)\"\n [moveButtons]=\"false\"\n (formReady)=\"onFormReady($event)\"\n></nui-items-dynamic>\n\n<div class=\"pl-4 pr-4\" *ngIf=\"(emptySeries$ | async) && form.touched\">\n <nui-message type=\"critical\" [allowDismiss]=\"false\" i18n>\n <b>At least one series must be added.</b>\n </nui-message>\n</div>\n\n<button\n nui-button\n *ngIf=\"isPossibleToAddSeries()\"\n icon=\"add\"\n displayStyle=\"action\"\n type=\"button\"\n class=\"ml-4 mb-4\"\n (click)=\"addSeries()\"\n i18n\n>\n Add new series\n</button>\n", components: [{ type: ItemsDynamicComponent, selector: "nui-items-dynamic", inputs: ["items", "moveButtons", "nodes", "headerPrefix"], outputs: ["formReady", "itemsChange"] }, { type: i3.MessageComponent, selector: "nui-message", inputs: ["allowDismiss", "type", "manualControl"], outputs: ["dismiss"] }, { type: i3.ButtonComponent, selector: "[nui-button]", inputs: ["ariaLabel", "isRepeat", "iconColor", "size", "displayStyle", "icon", "iconRight", "isBusy", "isEmpty"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i4.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
13509
14388
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TimeseriesSeriesCollectionConfigurationComponent, decorators: [{
13510
14389
  type: Component,
13511
14390
  args: [{
@@ -13513,7 +14392,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
13513
14392
  templateUrl: "timeseries-series-collection-configuration.component.html",
13514
14393
  changeDetection: ChangeDetectionStrategy.OnPush,
13515
14394
  }]
13516
- }], ctorParameters: function () { return [{ type: PizzagnaService }, { type: i0.ChangeDetectorRef }, { type: i2.EventBus, decorators: [{
14395
+ }], ctorParameters: function () { return [{ type: PizzagnaService }, { type: i0.ChangeDetectorRef }, { type: i3.EventBus, decorators: [{
13517
14396
  type: Inject,
13518
14397
  args: [PIZZAGNA_EVENT_BUS]
13519
14398
  }] }]; }, propDecorators: { nodes: [{
@@ -13558,7 +14437,7 @@ class TimeseriesTileDescriptionConfigurationComponent {
13558
14437
  }
13559
14438
  TimeseriesTileDescriptionConfigurationComponent.lateLoadKey = "TimeseriesTileDescriptionConfigurationComponent";
13560
14439
  /** @nocollapse */ TimeseriesTileDescriptionConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TimeseriesTileDescriptionConfigurationComponent, deps: [{ token: i1$2.FormBuilder }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
13561
- /** @nocollapse */ TimeseriesTileDescriptionConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: TimeseriesTileDescriptionConfigurationComponent, selector: "nui-table-column-description-configuration", inputs: { label: "label" }, outputs: { formReady: "formReady", formDestroy: "formDestroy" }, usesOnChanges: true, ngImport: i0, template: "<ng-container [formGroup]=\"form\">\n <nui-widget-editor-accordion\n [state]=\"form.get('label') | 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]=\"\n form.get('label') | nuiFormHeaderIconPipe: 'edit' | async\n \"\n [iconColor]=\"\n form.get('label') | nuiFormHeaderIconPipe: 'gray':'' | async\n \"\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\n class=\"nui-text-secondary\"\n [title]=\"form.get('label')?.value\"\n >\n {{ form.get(\"label\")?.value }}\n </div>\n </div>\n </div>\n <div\n class=\"timeseries-tile-description-configuration__accordion-content\"\n >\n <nui-form-field\n caption=\"Label\"\n i18n-caption\n [control]=\"form.get('label')\"\n >\n <nui-textbox\n formControlName=\"label\"\n placeholder=\"Set label\"\n i18n-placeholder\n ></nui-textbox>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n </nui-widget-editor-accordion>\n</ng-container>\n", styles: [".timeseries-tile-description-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i2.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i2.TextboxComponent, selector: "nui-textbox", inputs: ["autocomplete", "disabled", "hint", "placeholder", "readonly", "rows", "type", "isInErrorState", "ariaLabel", "value", "caption", "info", "customBoxWidth", "name", "isBusy"], outputs: ["textChange", "blurred"] }, { type: i2.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": FormHeaderIconPipePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
14440
+ /** @nocollapse */ TimeseriesTileDescriptionConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: TimeseriesTileDescriptionConfigurationComponent, selector: "nui-table-column-description-configuration", inputs: { label: "label" }, outputs: { formReady: "formReady", formDestroy: "formDestroy" }, usesOnChanges: true, ngImport: i0, template: "<ng-container [formGroup]=\"form\">\n <nui-widget-editor-accordion\n [state]=\"form.get('label') | 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]=\"\n form.get('label') | nuiFormHeaderIconPipe: 'edit' | async\n \"\n [iconColor]=\"\n form.get('label') | nuiFormHeaderIconPipe: 'gray':'' | async\n \"\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\n class=\"nui-text-secondary\"\n [title]=\"form.get('label')?.value\"\n >\n {{ form.get(\"label\")?.value }}\n </div>\n </div>\n </div>\n <div\n class=\"timeseries-tile-description-configuration__accordion-content\"\n >\n <nui-form-field\n caption=\"Label\"\n i18n-caption\n [control]=\"form.get('label')\"\n >\n <nui-textbox\n formControlName=\"label\"\n placeholder=\"Set label\"\n i18n-placeholder\n ></nui-textbox>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n </nui-widget-editor-accordion>\n</ng-container>\n", styles: [".timeseries-tile-description-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i3.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.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": FormHeaderIconPipePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
13562
14441
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TimeseriesTileDescriptionConfigurationComponent, decorators: [{
13563
14442
  type: Component,
13564
14443
  args: [{
@@ -13629,7 +14508,7 @@ class TimeseriesTileIndicatorDataConfigurationComponent {
13629
14508
  }
13630
14509
  TimeseriesTileIndicatorDataConfigurationComponent.lateLoadKey = "TimeseriesTileIndicatorDataConfigurationComponent";
13631
14510
  /** @nocollapse */ TimeseriesTileIndicatorDataConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TimeseriesTileIndicatorDataConfigurationComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: ConfiguratorHeadingService }, { token: i1$2.FormBuilder }, { token: PizzagnaService }], target: i0.ɵɵFactoryTarget.Component });
13632
- /** @nocollapse */ TimeseriesTileIndicatorDataConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: TimeseriesTileIndicatorDataConfigurationComponent, selector: "nui-timeseries-tile-indicator-data-configuration", inputs: { componentId: "componentId", selectedSeriesId: "selectedSeriesId", allSeries: "allSeries", availableSeries: "availableSeries" }, outputs: { formReady: "formReady", formDestroy: "formDestroy" }, usesOnChanges: true, ngImport: i0, template: "<ng-container [formGroup]=\"form\">\n <nui-widget-editor-accordion\n [state]=\"form.get('id') | 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]=\"\n form.get('id') | nuiFormHeaderIconPipe: 'database' | async\n \"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n>Indicator data</span>\n <div\n class=\"nui-text-secondary\"\n [title]=\"selectedSeries?.description\"\n >\n {{ selectedSeries?.description }}\n </div>\n </div>\n </div>\n <div class=\"timeseries-tile-data-configuration__accordion-content\">\n <nui-form-field\n caption=\"Series data\"\n i18n-caption\n [control]=\"form.get('id')\"\n >\n <nui-select-v2\n placeholder=\"Series data\"\n i18n-placeholder\n [value]=\"selectedSeries\"\n [popupViewportMargin]=\"configuratorHeading.height$ | async\"\n (valueSelected)=\"onSelect($event)\"\n >\n <nui-select-v2-option\n *ngFor=\"\n let series of availableSeries\n | nuiAddData: selectedSeries\n \"\n [value]=\"series\"\n >\n {{ series.description }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n </nui-widget-editor-accordion>\n</ng-container>\n", styles: [".timeseries-tile-data-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i2.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i2.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i2.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }, { type: i2.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": FormHeaderIconPipePipe, "nuiAddData": AddDataPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
14511
+ /** @nocollapse */ TimeseriesTileIndicatorDataConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: TimeseriesTileIndicatorDataConfigurationComponent, selector: "nui-timeseries-tile-indicator-data-configuration", inputs: { componentId: "componentId", selectedSeriesId: "selectedSeriesId", allSeries: "allSeries", availableSeries: "availableSeries" }, outputs: { formReady: "formReady", formDestroy: "formDestroy" }, usesOnChanges: true, ngImport: i0, template: "<ng-container [formGroup]=\"form\">\n <nui-widget-editor-accordion\n [state]=\"form.get('id') | 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]=\"\n form.get('id') | nuiFormHeaderIconPipe: 'database' | async\n \"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n>Indicator data</span>\n <div\n class=\"nui-text-secondary\"\n [title]=\"selectedSeries?.description\"\n >\n {{ selectedSeries?.description }}\n </div>\n </div>\n </div>\n <div class=\"timeseries-tile-data-configuration__accordion-content\">\n <nui-form-field\n caption=\"Series data\"\n i18n-caption\n [control]=\"form.get('id')\"\n >\n <nui-select-v2\n placeholder=\"Series data\"\n i18n-placeholder\n [value]=\"selectedSeries\"\n [popupViewportMargin]=\"configuratorHeading.height$ | async\"\n (valueSelected)=\"onSelect($event)\"\n >\n <nui-select-v2-option\n *ngFor=\"\n let series of availableSeries\n | nuiAddData: selectedSeries\n \"\n [value]=\"series\"\n >\n {{ series.description }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n </nui-widget-editor-accordion>\n</ng-container>\n", styles: [".timeseries-tile-data-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i3.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i3.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }, { type: i3.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": FormHeaderIconPipePipe, "nuiAddData": AddDataPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
13633
14512
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TimeseriesTileIndicatorDataConfigurationComponent, decorators: [{
13634
14513
  type: Component,
13635
14514
  args: [{
@@ -13752,11 +14631,11 @@ class ConfiguratorService {
13752
14631
  return componentRef;
13753
14632
  }
13754
14633
  }
13755
- /** @nocollapse */ ConfiguratorService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ConfiguratorService, deps: [{ token: i0.ComponentFactoryResolver }, { token: WidgetTypesService }, { token: i0.Injector }, { token: i0.ApplicationRef }, { token: i2.LoggerService }, { token: i0.RendererFactory2 }, { token: i3.Router, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
14634
+ /** @nocollapse */ ConfiguratorService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ConfiguratorService, deps: [{ token: i0.ComponentFactoryResolver }, { token: WidgetTypesService }, { token: i0.Injector }, { token: i0.ApplicationRef }, { token: i3.LoggerService }, { token: i0.RendererFactory2 }, { token: i3$1.Router, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
13756
14635
  /** @nocollapse */ ConfiguratorService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ConfiguratorService });
13757
14636
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ConfiguratorService, decorators: [{
13758
14637
  type: Injectable
13759
- }], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: WidgetTypesService }, { type: i0.Injector }, { type: i0.ApplicationRef }, { type: i2.LoggerService }, { type: i0.RendererFactory2 }, { type: i3.Router, decorators: [{
14638
+ }], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: WidgetTypesService }, { type: i0.Injector }, { type: i0.ApplicationRef }, { type: i3.LoggerService }, { type: i0.RendererFactory2 }, { type: i3$1.Router, decorators: [{
13760
14639
  type: Optional
13761
14640
  }] }]; } });
13762
14641
 
@@ -14201,12 +15080,12 @@ class WidgetRemovalService {
14201
15080
  }
14202
15081
  }
14203
15082
  }
14204
- /** @nocollapse */ WidgetRemovalService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: WidgetRemovalService, deps: [{ token: i2.LoggerService }], target: i0.ɵɵFactoryTarget.Injectable });
15083
+ /** @nocollapse */ WidgetRemovalService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: WidgetRemovalService, deps: [{ token: i3.LoggerService }], target: i0.ɵɵFactoryTarget.Injectable });
14205
15084
  /** @nocollapse */ WidgetRemovalService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: WidgetRemovalService, providedIn: "root" });
14206
15085
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: WidgetRemovalService, decorators: [{
14207
15086
  type: Injectable,
14208
15087
  args: [{ providedIn: "root" }]
14209
- }], ctorParameters: function () { return [{ type: i2.LoggerService }]; } });
15088
+ }], ctorParameters: function () { return [{ type: i3.LoggerService }]; } });
14210
15089
 
14211
15090
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
14212
15091
  class WidgetEditorDirective {
@@ -16547,5 +17426,5 @@ const DONUT_CONTENT_CONFIGURATION_SLICE = {
16547
17426
  * Generated bundle index. Do not edit.
16548
17427
  */
16549
17428
 
16550
- export { AccordionState, AddDataPipe, AggregatorMetricSelectorConfigurationComponent, BackgroundColorRulesConfigurationComponent, BaseLayout, CHART_PALETTE_CS3_ALTERNATIVE_NAMES, CHART_PALETTE_CS_S_EXTENDED_ALTERNATIVE_NAMES, CONFIGURATOR_CONVERTER, ColorPickerComponent, ComponentPortalDirective, ComponentPortalService, ComponentRegistryService, ConfiguratorComponent, ConfiguratorHeadingComponent, ConfiguratorHeadingService, ConfiguratorService, DASHBOARD_EDIT_MODE, DASHBOARD_EVENT_BUS, DATA_SOURCE, DATA_SOURCE_BUSY, DATA_SOURCE_CHANGE, DATA_SOURCE_CREATED, DATA_SOURCE_DESTROYED, DATA_SOURCE_INVOKED, DATA_SOURCE_OUTPUT, DEFAULT_COMPARATORS, DEFAULT_KPI_BACKGROUND_COLORS, DEFAULT_KPI_FORMATTERS, DEFAULT_KPI_TILE_COLOR, DEFAULT_LEGEND_FORMATTERS, DEFAULT_PIZZAGNA_ROOT, DEFAULT_PROPORTIONAL_CONTENT_AGGREGATORS, DEFAULT_PROPORTIONAL_CONTENT_FORMATTERS, DEFAULT_REFRESH_INTERVAL, DEFAULT_UNIT_CONVERSION_THRESHOLD, DONUT_CONTENT_CONFIGURATION_SLICE, DRILLDOWN, DashboardComponent, DashboardUnitConversionPipe, DashwizButtonsComponent, DashwizComponent, DashwizStepComponent, DataSourceAdapter, DataSourceConfigurationComponent, DataSourceConfigurationV2Component, DataSourceErrorComponent, DelayedMousePresenceDetectionDirective, DescriptionConfigurationComponent, DescriptionConfigurationV2Component, DonutChartFormatterConfiguratorComponent, DonutContentConfigurationComponent, DonutContentPercentageConfigurationComponent, DonutContentPercentageFormatterComponent, DonutContentRawFormatterComponent, DonutContentSumFormatterComponent, DropAreaComponent, DynamicComponentCreator, ERROR_FALLBACK_MAP, ERROR_NODES, EVENT_PROXY, EmbeddedContentComponent, EmbeddedContentConfigurationComponent, EmbeddedContentMode, EntityFormattingConfigurationComponent, ErrorNodeKey, EventRegistryService, FORMATTERS_REGISTRY, FieldMapperAggregatorConfiguratorComponent, FormHeaderIconPipePipe, FormStackComponent, FormatterConfiguratorComponent, FormatterRegistryService, GridsterItemWidgetIdDirective, GroupingConfigurationComponent, HEADER_LINK_PROVIDER, HttpStatusCode, INTERACTION, IconFormatterComponent, InfoMessageConfigurationComponent, InteractionHandler, ItemsDynamicComponent, KpiColorComparatorsRegistryService, KpiComponent, KpiDescriptionConfigurationComponent, KpiFormatterTypes, KpiFormattersRegistryService, KpiTilesConfigurationComponent, KpiTilesConverterService, KpiWidgetColorService, KpiWidgetFontSizes, KpiWidgetThresholdColors, LegendPlacement, LineChartComponent, LinkConfiguratorComponent, LinkFormatterComponent, ListGroupItemComponent, ListLeafItemComponent, ListNavigationBarComponent, ListWidgetComponent, LoadingComponent, NOVA_CONFIGURATOR_DATA_SOURCE_MANAGER, NOVA_DASHBOARD_EVENT_PROXY, NOVA_DATASOURCE_ADAPTER, NOVA_DATASOURCE_INTERVAL_REFRESHER, NOVA_DRILLDOWN_DATASOURCE_ADAPTER, NOVA_EVENT_BUS_DEBUGGER, NOVA_GENERIC_ARRAY_CONVERTER, NOVA_GENERIC_CONVERTER, NOVA_KPI_COLOR_PRIORITIZER, NOVA_KPI_DATASOURCE_ADAPTER, NOVA_KPI_FORMATTERS_REGISTRY, NOVA_KPI_SCALE_SYNC_BROKER, NOVA_KPI_SECTION_CONVERTER, NOVA_KPI_STATUS_CONTENT_FALLBACK_ADAPTER, NOVA_KPI_TILES_CONVERTER, NOVA_LOADING_ADAPTER, NOVA_PIZZAGNA_BROADCASTER, NOVA_PROPORTIONAL_CONTENT_FORMATTERS_REGISTRY, NOVA_PROPORTIONAL_WIDGET_CHART_OPTIONS_CONVERTER, NOVA_STATUS_CONTENT_FALLBACK_ADAPTER, NOVA_TABLE_COLUMNS_CONVERTER, NOVA_TABLE_DATASOURCE_ADAPTER, NOVA_TABLE_FILTERS_CONVERTER, NOVA_TABLE_FORMATTERS_REGISTRY, NOVA_TEST_REGISTRY, NOVA_TIMESERIES_DATASOURCE_ADAPTER, NOVA_TIMESERIES_METADATA_CONVERTER, NOVA_TIMESERIES_SERIES_CONVERTER, NOVA_TIMESERIES_TILE_INDICATOR_DATA_CONVERTER, NOVA_TITLE_AND_DESCRIPTION_CONVERTER, NOVA_URL_INTERACTION_HANDLER, NOVA_VIRTUAL_VIEWPORT_MANAGER, NuiDashboardConfiguratorModule, NuiDashboardsCommonModule, NuiDashboardsModule, NuiPizzagnaModule, PIZZAGNA_EVENT_BUS, PREVIEW_EVENT, PercentageFormatterComponent, PizzagnaComponent, PizzagnaLayer, PizzagnaRootPipe, PizzagnaService, PresentationConfigurationComponent, PresentationConfigurationV2Component, PreviewOverlayComponent, PreviewPlaceholderComponent, PreviewService, ProportionalChartOptionsEditorComponent, ProportionalChartOptionsEditorV2Component, ProportionalContentAggregatorsRegistryService, ProportionalDonutContentComponent, ProportionalDonutContentFormattersRegistryService, ProportionalLegendFormattersRegistryService, ProportionalWidgetChartOptionsConverterService, ProportionalWidgetChartTypes, ProportionalWidgetComponent, ProviderRegistryService, REFRESH, REFRESHER_CONFIGURATOR, RawFormatterComponent, RefreshRateConfiguratorComponent, Refresher, RefresherConfigurationComponent, RefresherSettingsService, SCROLL_NEXT_PAGE, SET_PROPERTY_VALUE, SET_TIMEFRAME, SiUnitsFormatterComponent, StackComponent, StackedAreaChartComponent, StackedBarChartComponent, StackedPercentageAreaChartComponent, StatusBarChartComponent, StatusWithIconFormatterComponent, TEST_REGISTRY, TableColumnConfigurationComponent, TableColumnsConfigurationComponent, TableColumnsConfigurationV2Component, TableDataSourceAdapter, TableDataSourceErrorComponent, TableFiltersEditorComponent, TableFormatterRegistryService, TableWidgetComponent, TemplateLoadErrorComponent, ThresholdsConfigurationComponent, TilesComponent, TimeframeSelectionComponent, TimeframeSerializationService, TimeseriesChartPreset, TimeseriesChartPresetService, TimeseriesDataSourceAdapter, TimeseriesInteractionType, TimeseriesMetadataConfigurationComponent, TimeseriesScaleType, TimeseriesSeriesCollectionConfigurationComponent, TimeseriesSeriesConverterService, TimeseriesTileDescriptionConfigurationComponent, TimeseriesTileIndicatorDataConfigurationComponent, TimeseriesWidgetComponent, TitleAndDescriptionConfigurationComponent, TitleAndDescriptionConverterService, UrlInteractionHandler, UrlInteractionService, ValueSelectorComponent, WIDGET_BODY, WIDGET_CREATE, WIDGET_EDIT, WIDGET_HEADER, WIDGET_LOADING, WIDGET_POSITION_CHANGE, WIDGET_READY, WIDGET_REMOVE, WIDGET_RESIZE, WIDGET_SEARCH, WellKnownDataSourceFeatures, WellKnownPathKey, WellKnownProviders, WidgetBodyComponent, WidgetBodyContentComponent, WidgetClonerComponent, WidgetClonerService, WidgetComponent, WidgetConfigurationService, WidgetConfiguratorSectionComponent, WidgetConfiguratorSectionHeaderPipe, WidgetEditorAccordionComponent, WidgetEditorAccordionFormStatePipe, WidgetEditorComponent, WidgetEditorDirective, WidgetEditorService, WidgetErrorComponent, WidgetHeaderComponent, WidgetSearchComponent, WidgetToDashboardEventProxyService, WidgetTypesService, WindowObject, XYChartComponent, applyStatusEndpoints, chartPaletteColorMap, fieldMapper, getPizzagnaPropertyPath, hasControlInErrorState, mapDataToFormatterProperties, mergeChanges, percentageAggregator, refresher, sumAggregator, widgetBodyContentNodes };
17429
+ export { AccordionState, AddDataPipe, AggregatorMetricSelectorConfigurationComponent, BackgroundColorRulesConfigurationComponent, BaseLayout, CHART_METRIC_REMOVE, CHART_PALETTE_CS3_ALTERNATIVE_NAMES, CHART_PALETTE_CS_S_EXTENDED_ALTERNATIVE_NAMES, CONFIGURATOR_CONVERTER, ColorPickerComponent, ComponentPortalDirective, ComponentPortalService, ComponentRegistryService, ConfiguratorComponent, ConfiguratorHeadingComponent, ConfiguratorHeadingService, ConfiguratorService, DASHBOARD_EDIT_MODE, DASHBOARD_EVENT_BUS, DATA_SOURCE, DATA_SOURCE_BUSY, DATA_SOURCE_CHANGE, DATA_SOURCE_CREATED, DATA_SOURCE_DESTROYED, DATA_SOURCE_INVOKED, DATA_SOURCE_OUTPUT, DEFAULT_COMPARATORS, DEFAULT_KPI_BACKGROUND_COLORS, DEFAULT_KPI_FORMATTERS, DEFAULT_KPI_TILE_COLOR, DEFAULT_LEGEND_FORMATTERS, DEFAULT_PIZZAGNA_ROOT, DEFAULT_PROPORTIONAL_CONTENT_AGGREGATORS, DEFAULT_PROPORTIONAL_CONTENT_FORMATTERS, DEFAULT_REFRESH_INTERVAL, DEFAULT_UNIT_CONVERSION_THRESHOLD, DONUT_CONTENT_CONFIGURATION_SLICE, DRILLDOWN, DashboardComponent, DashboardUnitConversionPipe, DashwizButtonsComponent, DashwizComponent, DashwizStepComponent, DataSourceAdapter, DataSourceConfigurationComponent, DataSourceConfigurationV2Component, DataSourceErrorComponent, DelayedMousePresenceDetectionDirective, DescriptionConfigurationComponent, DescriptionConfigurationV2Component, DonutChartFormatterConfiguratorComponent, DonutContentConfigurationComponent, DonutContentPercentageConfigurationComponent, DonutContentPercentageFormatterComponent, DonutContentRawFormatterComponent, DonutContentSumFormatterComponent, DropAreaComponent, DynamicComponentCreator, ERROR_FALLBACK_MAP, ERROR_NODES, EVENT_PROXY, EmbeddedContentComponent, EmbeddedContentConfigurationComponent, EmbeddedContentMode, EntityFormattingConfigurationComponent, ErrorNodeKey, EventRegistryService, FORMATTERS_REGISTRY, FieldMapperAggregatorConfiguratorComponent, FormHeaderIconPipePipe, FormStackComponent, FormatterConfiguratorComponent, FormatterRegistryService, GridsterItemWidgetIdDirective, GroupingConfigurationComponent, HEADER_LINK_PROVIDER, HttpStatusCode, INTERACTION, IconFormatterComponent, InfoMessageConfigurationComponent, InteractionHandler, ItemsDynamicComponent, KpiColorComparatorsRegistryService, KpiComponent, KpiDescriptionConfigurationComponent, KpiFormatterTypes, KpiFormattersRegistryService, KpiTilesConfigurationComponent, KpiTilesConverterService, KpiWidgetColorService, KpiWidgetFontSizes, KpiWidgetThresholdColors, LegendPlacement, LineChartComponent, LinkConfiguratorComponent, LinkFormatterComponent, ListGroupItemComponent, ListLeafItemComponent, ListNavigationBarComponent, ListWidgetComponent, LoadingComponent, NOVA_CONFIGURATOR_DATA_SOURCE_MANAGER, NOVA_DASHBOARD_EVENT_PROXY, NOVA_DATASOURCE_ADAPTER, NOVA_DATASOURCE_INTERVAL_REFRESHER, NOVA_DRILLDOWN_DATASOURCE_ADAPTER, NOVA_EVENT_BUS_DEBUGGER, NOVA_GENERIC_ARRAY_CONVERTER, NOVA_GENERIC_CONVERTER, NOVA_KPI_COLOR_PRIORITIZER, NOVA_KPI_DATASOURCE_ADAPTER, NOVA_KPI_FORMATTERS_REGISTRY, NOVA_KPI_SCALE_SYNC_BROKER, NOVA_KPI_SECTION_CONVERTER, NOVA_KPI_STATUS_CONTENT_FALLBACK_ADAPTER, NOVA_KPI_TILES_CONVERTER, NOVA_LOADING_ADAPTER, NOVA_PIZZAGNA_BROADCASTER, NOVA_PROPORTIONAL_CONTENT_FORMATTERS_REGISTRY, NOVA_PROPORTIONAL_WIDGET_CHART_OPTIONS_CONVERTER, NOVA_STATUS_CONTENT_FALLBACK_ADAPTER, NOVA_TABLE_COLUMNS_CONVERTER, NOVA_TABLE_DATASOURCE_ADAPTER, NOVA_TABLE_FILTERS_CONVERTER, NOVA_TABLE_FORMATTERS_REGISTRY, NOVA_TEST_REGISTRY, NOVA_TIMESERIES_DATASOURCE_ADAPTER, NOVA_TIMESERIES_METADATA_CONVERTER, NOVA_TIMESERIES_SERIES_CONVERTER, NOVA_TIMESERIES_TILE_INDICATOR_DATA_CONVERTER, NOVA_TITLE_AND_DESCRIPTION_CONVERTER, NOVA_URL_INTERACTION_HANDLER, NOVA_VIRTUAL_VIEWPORT_MANAGER, NuiDashboardConfiguratorModule, NuiDashboardsCommonModule, NuiDashboardsModule, NuiPizzagnaModule, PIZZAGNA_EVENT_BUS, PREVIEW_EVENT, PercentageFormatterComponent, PizzagnaComponent, PizzagnaLayer, PizzagnaRootPipe, PizzagnaService, PresentationConfigurationComponent, PresentationConfigurationV2Component, PreviewOverlayComponent, PreviewPlaceholderComponent, PreviewService, ProportionalChartOptionsEditorComponent, ProportionalChartOptionsEditorV2Component, ProportionalContentAggregatorsRegistryService, ProportionalDonutContentComponent, ProportionalDonutContentFormattersRegistryService, ProportionalLegendFormattersRegistryService, ProportionalWidgetChartOptionsConverterService, ProportionalWidgetChartTypes, ProportionalWidgetComponent, ProviderRegistryService, REFRESH, REFRESHER_CONFIGURATOR, RawFormatterComponent, RefreshRateConfiguratorComponent, Refresher, RefresherConfigurationComponent, RefresherSettingsService, SCROLL_NEXT_PAGE, SET_PROPERTY_VALUE, SET_TIMEFRAME, SiUnitsFormatterComponent, StackComponent, StackedAreaChartComponent, StackedBarChartComponent, StackedPercentageAreaChartComponent, StatusBarChartComponent, StatusWithIconFormatterComponent, TEST_REGISTRY, TableColumnConfigurationComponent, TableColumnsConfigurationComponent, TableColumnsConfigurationV2Component, TableDataSourceAdapter, TableDataSourceErrorComponent, TableFiltersEditorComponent, TableFormatterRegistryService, TableWidgetComponent, TemplateLoadErrorComponent, ThresholdsConfigurationComponent, TilesComponent, TimeframeSelectionComponent, TimeframeSerializationService, TimeseriesChartPreset, TimeseriesChartPresetService, TimeseriesDataSourceAdapter, TimeseriesInteractionType, TimeseriesMetadataConfigurationComponent, TimeseriesScaleType, TimeseriesSeriesCollectionConfigurationComponent, TimeseriesSeriesConverterService, TimeseriesTileDescriptionConfigurationComponent, TimeseriesTileIndicatorDataConfigurationComponent, TimeseriesTransformer, TimeseriesWidgetComponent, TitleAndDescriptionConfigurationComponent, TitleAndDescriptionConverterService, UrlInteractionHandler, UrlInteractionService, ValueSelectorComponent, WIDGET_BODY, WIDGET_CREATE, WIDGET_EDIT, WIDGET_HEADER, WIDGET_LOADING, WIDGET_POSITION_CHANGE, WIDGET_READY, WIDGET_REMOVE, WIDGET_RESIZE, WIDGET_SEARCH, WellKnownDataSourceFeatures, WellKnownPathKey, WellKnownProviders, WidgetBodyComponent, WidgetBodyContentComponent, WidgetClonerComponent, WidgetClonerService, WidgetComponent, WidgetConfigurationService, WidgetConfiguratorSectionComponent, WidgetConfiguratorSectionHeaderPipe, WidgetEditorAccordionComponent, WidgetEditorAccordionFormStatePipe, WidgetEditorComponent, WidgetEditorDirective, WidgetEditorService, WidgetErrorComponent, WidgetHeaderComponent, WidgetSearchComponent, WidgetToDashboardEventProxyService, WidgetTypesService, WindowObject, XYChartComponent, applyStatusEndpoints, chartPaletteColorMap, fieldMapper, getPizzagnaPropertyPath, hasControlInErrorState, mapDataToFormatterProperties, mergeChanges, percentageAggregator, refresher, sumAggregator, timeSeriesDatetimeFormatter, transformChangePoint, transformDifference, transformFloatingAverage, transformLinReg, transformLoessSmoothing, transformLoessStandardize, transformNormalize, transformPercentileStd, transformStandardize, widgetBodyContentNodes };
16551
17430
  //# sourceMappingURL=nova-ui-dashboards.js.map