@nova-ui/dashboards 13.0.6-4382 → 13.0.7-4420

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 (49) hide show
  1. package/esm2020/lib/common/pipes/dashboard-unit-conversion-pipe.mjs +2 -2
  2. package/esm2020/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.mjs +40 -3
  3. package/esm2020/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.mjs +10 -5
  4. package/esm2020/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.mjs +3 -3
  5. package/esm2020/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.mjs +9 -4
  6. package/esm2020/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.mjs +5 -4
  7. package/esm2020/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.mjs +3 -3
  8. package/esm2020/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.mjs +61 -7
  9. package/esm2020/lib/components/timeseries-widget/timeseries-scales.service.mjs +92 -14
  10. package/esm2020/lib/components/timeseries-widget/timeseries-widget.component.mjs +3 -3
  11. package/esm2020/lib/components/timeseries-widget/types.mjs +1 -1
  12. package/esm2020/lib/functions/public-api.mjs +2 -1
  13. package/esm2020/lib/functions/timeseries-datetime-formatter.mjs +40 -0
  14. package/fesm2015/nova-ui-dashboards.mjs +241 -40
  15. package/fesm2015/nova-ui-dashboards.mjs.map +1 -1
  16. package/fesm2020/nova-ui-dashboards.mjs +237 -37
  17. package/fesm2020/nova-ui-dashboards.mjs.map +1 -1
  18. package/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.d.ts +1 -0
  19. package/lib/components/timeseries-widget/timeseries-scales.service.d.ts +5 -3
  20. package/lib/components/timeseries-widget/types.d.ts +7 -0
  21. package/lib/functions/public-api.d.ts +1 -0
  22. package/lib/functions/timeseries-datetime-formatter.d.ts +4 -0
  23. package/package.json +3 -3
  24. package/sdk/atoms/src/lib/common/pipes/dashboard-unit-conversion-pipe.js +1 -1
  25. package/sdk/atoms/src/lib/common/pipes/dashboard-unit-conversion-pipe.js.map +1 -1
  26. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.d.ts +1 -0
  27. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.js +39 -3
  28. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.js.map +1 -1
  29. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.js +12 -7
  30. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.js.map +1 -1
  31. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.js +7 -1
  32. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.js.map +1 -1
  33. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.js +1 -0
  34. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.js.map +1 -1
  35. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.js +57 -2
  36. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.js.map +1 -1
  37. package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-scales.service.d.ts +5 -3
  38. package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-scales.service.js +95 -14
  39. package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-scales.service.js.map +1 -1
  40. package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-widget.component.js +1 -0
  41. package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-widget.component.js.map +1 -1
  42. package/sdk/atoms/src/lib/components/timeseries-widget/types.d.ts +7 -0
  43. package/sdk/atoms/src/lib/components/timeseries-widget/types.js.map +1 -1
  44. package/sdk/atoms/src/lib/functions/public-api.d.ts +1 -0
  45. package/sdk/atoms/src/lib/functions/public-api.js +1 -0
  46. package/sdk/atoms/src/lib/functions/public-api.js.map +1 -1
  47. package/sdk/atoms/src/lib/functions/timeseries-datetime-formatter.d.ts +4 -0
  48. package/sdk/atoms/src/lib/functions/timeseries-datetime-formatter.js +45 -0
  49. package/sdk/atoms/src/lib/functions/timeseries-datetime-formatter.js.map +1 -0
@@ -11,7 +11,7 @@ import { Validators, NG_VALUE_ACCESSOR, ControlContainer, FormGroupDirective, Fo
11
11
  import * as i1 from 'angular-gridster2';
12
12
  import { DisplayGrid, GridType, CompactType, GridsterComponent, GridsterItemComponent, GridsterModule } from 'angular-gridster2';
13
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';
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';
@@ -145,7 +145,7 @@ class DashboardUnitConversionPipe {
145
145
  const valueAsNumber = typeof value === "string" ? parseFloat(value) : value;
146
146
  if (valueAsNumber === undefined ||
147
147
  isNaN(valueAsNumber) ||
148
- valueAsNumber < defaultThreshold) {
148
+ (valueAsNumber < defaultThreshold && units !== "percent")) {
149
149
  return (value === null || value === void 0 ? void 0 : value.toString()) || "";
150
150
  }
151
151
  const conversion = this.unitConversionService.convert(valueAsNumber, units === "bytes" ? UnitBase.Bytes : UnitBase.Standard, 1);
@@ -6169,6 +6169,27 @@ var TimeseriesChartPreset;
6169
6169
  TimeseriesChartPreset["StatusBar"] = "statusBar";
6170
6170
  })(TimeseriesChartPreset || (TimeseriesChartPreset = {}));
6171
6171
 
6172
+ // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
6173
+ const intlFormatOptions = {
6174
+ year: "numeric",
6175
+ month: "2-digit",
6176
+ day: "2-digit",
6177
+ hour: "2-digit",
6178
+ minute: "2-digit",
6179
+ };
6180
+ const intlFormat = (date, options) => new Intl.DateTimeFormat(moment.locale(), options).format(date);
6181
+ /**
6182
+ * Formatter for timeserie label dates
6183
+ */
6184
+ const timeSeriesDatetimeFormatter = (date) => {
6185
+ const dateFormatted = intlFormat(date, intlFormatOptions);
6186
+ const dateSplitted = dateFormatted.split(",");
6187
+ if (dateSplitted.length !== 2) {
6188
+ throw new Error("Invalid timeseries date time format.");
6189
+ }
6190
+ return `${dateSplitted[0]} ${dateSplitted[1]}`;
6191
+ };
6192
+
6172
6193
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
6173
6194
  /**
6174
6195
  * This service handles scale creation and configuration for the timeseries widget
@@ -6183,16 +6204,19 @@ class TimeseriesScalesService {
6183
6204
  *
6184
6205
  * @param scaleConfig
6185
6206
  */
6186
- getScale(scaleConfig, units) {
6207
+ getScale(scaleConfig, units, widgetConfig) {
6187
6208
  let scale;
6188
6209
  switch (scaleConfig.type) {
6189
6210
  case TimeseriesScaleType.Time: {
6190
6211
  scale = new TimeScale();
6212
+ scale.isTimeseriesScale = true;
6213
+ scale.formatters.title = timeSeriesDatetimeFormatter;
6191
6214
  break;
6192
6215
  }
6193
6216
  case TimeseriesScaleType.Linear: {
6194
6217
  scale = new LinearScale();
6195
- scale.formatters.tick = (value) => this.unitConversionPipe.transform(value, units, UnitBase.Standard);
6218
+ scale.isTimeseriesScale = true;
6219
+ scale.formatters.tick = (value, isLabelFormatter) => { var _a, _b; 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); };
6196
6220
  break;
6197
6221
  }
6198
6222
  case TimeseriesScaleType.TimeInterval: {
@@ -6200,7 +6224,7 @@ class TimeseriesScalesService {
6200
6224
  break;
6201
6225
  }
6202
6226
  }
6203
- this.updateConfiguration(scale, scaleConfig);
6227
+ this.updateConfiguration(scale, scaleConfig, widgetConfig);
6204
6228
  return scale;
6205
6229
  }
6206
6230
  /**
@@ -6209,18 +6233,92 @@ class TimeseriesScalesService {
6209
6233
  * @param scale
6210
6234
  * @param scaleConfig
6211
6235
  */
6212
- updateConfiguration(scale, scaleConfig) {
6213
- var _a;
6214
- if (scaleConfig.type === TimeseriesScaleType.TimeInterval &&
6215
- scale instanceof TimeIntervalScale) {
6216
- const interval = (_a = scaleConfig.properties) === null || _a === void 0 ? void 0 : _a.interval;
6217
- if (typeof interval === "number") {
6218
- if (interval <= 0) {
6219
- throw new Error("Interval value must be greater than zero.");
6236
+ updateConfiguration(scale, scaleConfig, widgetConfig) {
6237
+ var _a, _b, _c, _d, _e, _f;
6238
+ switch (scaleConfig.type) {
6239
+ case TimeseriesScaleType.Time: {
6240
+ const interval = (_a = scaleConfig.properties) === null || _a === void 0 ? void 0 : _a.timeInterval;
6241
+ if ((interval === null || interval === void 0 ? void 0 : interval.startDatetime) && (interval === null || interval === void 0 ? void 0 : interval.endDatetime)) {
6242
+ scale.fixDomain([
6243
+ interval.startDatetime,
6244
+ interval.endDatetime,
6245
+ ]);
6246
+ }
6247
+ break;
6248
+ }
6249
+ case TimeseriesScaleType.TimeInterval: {
6250
+ const interval = (_b = scaleConfig.properties) === null || _b === void 0 ? void 0 : _b.interval;
6251
+ if (typeof interval === "number") {
6252
+ if (interval <= 0) {
6253
+ throw new Error("Interval value must be greater than zero.");
6254
+ }
6255
+ if (scale instanceof TimeIntervalScale) {
6256
+ scale.interval(duration(interval, "seconds"));
6257
+ }
6220
6258
  }
6221
- scale.interval(duration(interval, "seconds"));
6259
+ break;
6222
6260
  }
6261
+ case TimeseriesScaleType.Linear: {
6262
+ if ((_c = scaleConfig.properties) === null || _c === void 0 ? void 0 : _c.axisUnits) {
6263
+ scale.scaleUnits = scaleConfig.properties.axisUnits;
6264
+ }
6265
+ if ((widgetConfig === null || widgetConfig === void 0 ? void 0 : widgetConfig.preset) === TimeseriesChartPreset.StatusBar ||
6266
+ (widgetConfig === null || widgetConfig === void 0 ? void 0 : widgetConfig.preset) === TimeseriesChartPreset.StackedArea) {
6267
+ return;
6268
+ }
6269
+ if (((_d = scaleConfig.properties) === null || _d === void 0 ? void 0 : _d.axisUnits) === "percent" &&
6270
+ scale.setFixDomainValues) {
6271
+ scale.setFixDomainValues([0, 25, 50, 75, 100]);
6272
+ }
6273
+ if (((_e = scaleConfig.properties) === null || _e === void 0 ? void 0 : _e.axisUnits) !== "percent" &&
6274
+ ((_f = scaleConfig.properties) === null || _f === void 0 ? void 0 : _f.domain) &&
6275
+ scale.setFixDomainValues) {
6276
+ const domainAdjusted = (widgetConfig === null || widgetConfig === void 0 ? void 0 : widgetConfig.preset) ===
6277
+ TimeseriesChartPreset.StackedBar
6278
+ ? this.getStackedBarScaleDomain(scaleConfig.properties.domain)
6279
+ : this.getLineScaleDomain(scaleConfig.properties.domain);
6280
+ scale.setFixDomainValues(domainAdjusted);
6281
+ }
6282
+ break;
6283
+ }
6284
+ }
6285
+ }
6286
+ getStackedBarScaleDomain({ min, max, }) {
6287
+ if (max === 0 || max % 4 > 0) {
6288
+ max = max + 4 - (max % 4);
6289
+ }
6290
+ const increment = Math.floor((max - min) / 4);
6291
+ return [
6292
+ min,
6293
+ min + increment,
6294
+ min + 2 * increment,
6295
+ max - increment,
6296
+ max,
6297
+ ];
6298
+ }
6299
+ getLineScaleDomain({ min, max, }) {
6300
+ if (min > max) {
6301
+ const tmp = min;
6302
+ min = max;
6303
+ max = tmp;
6304
+ }
6305
+ const extentRange = Math.abs((max - min) / ((max + min) / 2));
6306
+ // for small domain ranges increase domain so that spikes are not exaggerated
6307
+ if (extentRange < 0.5) {
6308
+ min = min - Math.abs(min) * 0.5;
6309
+ max = max + Math.abs(max) * 0.5;
6310
+ }
6311
+ // handles zero case
6312
+ if (min === 0 && max === 0) {
6313
+ min = -1;
6314
+ max = 1;
6315
+ }
6316
+ // special case for real small number since not using si prefix anymore
6317
+ if (Math.abs(max - min) < 0.04) {
6318
+ max += 0.04;
6223
6319
  }
6320
+ const point = (max - min) / 4;
6321
+ return [min, min + point, min + 2 * point, max - point, max];
6224
6322
  }
6225
6323
  }
6226
6324
  /** @nocollapse */ TimeseriesScalesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimeseriesScalesService, deps: [{ token: i2.UnitConversionService }], target: i0.ɵɵFactoryTarget.Injectable });
@@ -6253,7 +6351,7 @@ class TimeseriesChartComponent {
6253
6351
  false);
6254
6352
  }
6255
6353
  ngOnChanges(changes) {
6256
- var _a, _b, _c, _d, _e, _f;
6354
+ var _a, _b, _c, _d, _e, _f, _g, _h;
6257
6355
  let shouldUpdateChart = false;
6258
6356
  let shouldRebuildChart = false;
6259
6357
  if (changes.configuration) {
@@ -6263,19 +6361,24 @@ class TimeseriesChartComponent {
6263
6361
  shouldRebuildChart = true;
6264
6362
  }
6265
6363
  if ((configurationCurrent === null || configurationCurrent === void 0 ? void 0 : configurationCurrent.scales) !== (configurationPrevious === null || configurationPrevious === void 0 ? void 0 : configurationPrevious.scales)) {
6266
- for (const scaleKey of Object.keys(configurationCurrent === null || configurationCurrent === void 0 ? void 0 : configurationCurrent.scales)) {
6364
+ const scaleKeys = Object.keys(configurationCurrent === null || configurationCurrent === void 0 ? void 0 : configurationCurrent.scales);
6365
+ for (const scaleKey of scaleKeys) {
6267
6366
  const scaleConfigCurrent = (_a = configurationCurrent === null || configurationCurrent === void 0 ? void 0 : configurationCurrent.scales) === null || _a === void 0 ? void 0 : _a[scaleKey];
6268
6367
  const scaleConfigPrevious = (_b = configurationPrevious === null || configurationPrevious === void 0 ? void 0 : configurationPrevious.scales) === null || _b === void 0 ? void 0 : _b[scaleKey];
6368
+ if (!scaleConfigCurrent) {
6369
+ continue;
6370
+ }
6269
6371
  if ((scaleConfigCurrent === null || scaleConfigCurrent === void 0 ? void 0 : scaleConfigCurrent.type) !==
6270
6372
  (scaleConfigPrevious === null || scaleConfigPrevious === void 0 ? void 0 : scaleConfigPrevious.type) ||
6271
- !this.scales[scaleKey]) {
6373
+ ((_c = scaleConfigCurrent === null || scaleConfigCurrent === void 0 ? void 0 : scaleConfigCurrent.properties) === null || _c === void 0 ? void 0 : _c.axisUnits) !==
6374
+ ((_d = scaleConfigPrevious === null || scaleConfigPrevious === void 0 ? void 0 : scaleConfigPrevious.properties) === null || _d === void 0 ? void 0 : _d.axisUnits)) {
6272
6375
  this.scales[scaleKey] =
6273
- this.timeseriesScalesService.getScale(scaleConfigCurrent, configurationCurrent.units);
6376
+ this.timeseriesScalesService.getScale(scaleConfigCurrent, configurationCurrent.units, this.configuration);
6274
6377
  shouldUpdateChart = true;
6275
6378
  }
6276
6379
  else if ((scaleConfigCurrent === null || scaleConfigCurrent === void 0 ? void 0 : scaleConfigCurrent.properties) !==
6277
6380
  (scaleConfigPrevious === null || scaleConfigPrevious === void 0 ? void 0 : scaleConfigPrevious.properties)) {
6278
- this.timeseriesScalesService.updateConfiguration(this.scales[scaleKey], scaleConfigCurrent);
6381
+ this.timeseriesScalesService.updateConfiguration(this.scales[scaleKey], scaleConfigCurrent, this.configuration);
6279
6382
  shouldUpdateChart = true;
6280
6383
  }
6281
6384
  }
@@ -6285,11 +6388,11 @@ class TimeseriesChartComponent {
6285
6388
  this.buildChart();
6286
6389
  }
6287
6390
  if (changes.widgetData && !changes.widgetData.isFirstChange()) {
6288
- if (((_d = (_c = this.widgetData) === null || _c === void 0 ? void 0 : _c.series) === null || _d === void 0 ? void 0 : _d.length) === 0) {
6391
+ if (((_f = (_e = this.widgetData) === null || _e === void 0 ? void 0 : _e.series) === null || _f === void 0 ? void 0 : _f.length) === 0) {
6289
6392
  this.resetChart = true;
6290
6393
  }
6291
6394
  if (this.widgetData && this.widgetData.series) {
6292
- if (this.resetChart && ((_f = (_e = this.widgetData) === null || _e === void 0 ? void 0 : _e.series) === null || _f === void 0 ? void 0 : _f.length) > 0) {
6395
+ if (this.resetChart && ((_h = (_g = this.widgetData) === null || _g === void 0 ? void 0 : _g.series) === null || _h === void 0 ? void 0 : _h.length) > 0) {
6293
6396
  this.resetChart = false;
6294
6397
  this.buildChart();
6295
6398
  }
@@ -6357,11 +6460,28 @@ class StatusBarChartComponent extends TimeseriesChartComponent {
6357
6460
  highlightStrategy: new BarHighlightStrategy("x"),
6358
6461
  pointerEvents: false,
6359
6462
  });
6463
+ this.setGridConfigFromConfiguration(this.chartAssist.gridConfig);
6464
+ this.setGridConfigFromConfiguration(this.chartAssist.lastGridConfig);
6360
6465
  this.scales.y = new BandScale();
6361
6466
  this.scales.y.fixDomain(StatusAccessors.STATUS_DOMAIN);
6467
+ this.scales.y.isTimeseriesScale = true;
6468
+ if (this.scales.yRight) {
6469
+ this.scales.yRight = this.scales.y;
6470
+ }
6362
6471
  }
6363
6472
  updateChartData() {
6364
- var _a, _b;
6473
+ var _a, _b, _c, _d, _e, _f;
6474
+ const { gridConfig, lastGridConfig } = this.chartAssist;
6475
+ // hides botom axis if it's not last chart in the group
6476
+ gridConfig.axis.bottom.visible = !((_a = this.configuration) === null || _a === void 0 ? void 0 : _a.hasAdjacentChart);
6477
+ lastGridConfig.axis.bottom.visible =
6478
+ !((_b = this.configuration) === null || _b === void 0 ? void 0 : _b.hasAdjacentChart);
6479
+ gridConfig.borders.bottom.className = ((_c = this.configuration) === null || _c === void 0 ? void 0 : _c.hasAdjacentChart)
6480
+ ? "nui-chart-border"
6481
+ : "nui-chart-border nui-chart-border--thick";
6482
+ lastGridConfig.borders.bottom.className = ((_d = this.configuration) === null || _d === void 0 ? void 0 : _d.hasAdjacentChart)
6483
+ ? "nui-chart-border"
6484
+ : "nui-chart-border nui-chart-border--thick";
6365
6485
  this.chartUpdate$.next();
6366
6486
  // Assemble the series set
6367
6487
  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 })));
@@ -6375,9 +6495,9 @@ class StatusBarChartComponent extends TimeseriesChartComponent {
6375
6495
  }
6376
6496
  });
6377
6497
  // only need to subscribe to one chart's SET_DOMAIN_EVENT
6378
- (_a = this.chartAssist.sparks[0].chart) === null || _a === void 0 ? void 0 : _a.getEventBus().getStream(SET_DOMAIN_EVENT).pipe(takeUntil(
6498
+ (_e = this.chartAssist.sparks[0].chart) === null || _e === void 0 ? void 0 : _e.getEventBus().getStream(SET_DOMAIN_EVENT).pipe(takeUntil(
6379
6499
  // eslint-disable-next-line import/no-deprecated
6380
- merge(this.chartUpdate$, (_b = this.chartAssist.sparks[0].chart) === null || _b === void 0 ? void 0 : _b.eventBus.getStream(DESTROY_EVENT), this.buildChart$))).subscribe((event) => {
6500
+ merge(this.chartUpdate$, (_f = this.chartAssist.sparks[0].chart) === null || _f === void 0 ? void 0 : _f.eventBus.getStream(DESTROY_EVENT), this.buildChart$))).subscribe((event) => {
6381
6501
  const payload = event.data;
6382
6502
  const newDomain = payload[Object.keys(payload)[0]];
6383
6503
  this.eventBus.getStream(SET_TIMEFRAME).next({
@@ -6414,13 +6534,32 @@ class StatusBarChartComponent extends TimeseriesChartComponent {
6414
6534
  });
6415
6535
  return statusDataArray;
6416
6536
  }
6537
+ setGridConfigFromConfiguration(gridConfig) {
6538
+ var _a, _b, _c;
6539
+ const configuration = this.configuration;
6540
+ if ((_a = configuration.gridConfig) === null || _a === void 0 ? void 0 : _a.xAxisTicksCount) {
6541
+ gridConfig.axis.bottom.approximateTicks =
6542
+ configuration.gridConfig.xAxisTicksCount;
6543
+ }
6544
+ if (gridConfig.dimension.marginLocked &&
6545
+ ((_b = configuration.gridConfig) === null || _b === void 0 ? void 0 : _b.sideMarginLocked)) {
6546
+ gridConfig.dimension.marginLocked.left = true;
6547
+ gridConfig.dimension.marginLocked.right = true;
6548
+ }
6549
+ if ((_c = configuration.gridConfig) === null || _c === void 0 ? void 0 : _c.sideMargin) {
6550
+ gridConfig.dimension.margin.left =
6551
+ configuration.gridConfig.sideMargin;
6552
+ gridConfig.dimension.margin.right =
6553
+ configuration.gridConfig.sideMargin;
6554
+ }
6555
+ }
6417
6556
  }
6418
6557
  StatusBarChartComponent.lateLoadKey = "StatusChartComponent";
6419
6558
  /** @nocollapse */ StatusBarChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", 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 });
6420
- /** @nocollapse */ StatusBarChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", 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: ["active", "interactive", "isSelected", "descriptionPrimary", "descriptionSecondary", "icon", "color", "seriesRenderState"], outputs: ["isSelectedChange"] }, { type: i2.IconComponent, selector: "nui-icon", inputs: ["iconColor", "brushType", "iconHoverColor", "iconSize", "cssClass", "fillContainer", "status", "childStatus", "icon", "counter"] }], 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"] }] });
6559
+ /** @nocollapse */ StatusBarChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", 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$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: ["active", "interactive", "isSelected", "descriptionPrimary", "descriptionSecondary", "icon", "color", "seriesRenderState"], outputs: ["isSelectedChange"] }, { type: i2.IconComponent, selector: "nui-icon", inputs: ["iconColor", "brushType", "iconHoverColor", "iconSize", "cssClass", "fillContainer", "status", "childStatus", "icon", "counter"] }], 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"] }] });
6421
6560
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: StatusBarChartComponent, decorators: [{
6422
6561
  type: Component,
6423
- args: [{ selector: "nui-status-bar-chart", 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"] }]
6562
+ args: [{ selector: "nui-status-bar-chart", 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"] }]
6424
6563
  }], ctorParameters: function () {
6425
6564
  return [{ type: i2.IconService }, { type: undefined, decorators: [{
6426
6565
  type: Optional
@@ -6444,7 +6583,23 @@ class XYChartComponent extends TimeseriesChartComponent {
6444
6583
  this.collectionId = "";
6445
6584
  }
6446
6585
  mapSeriesSet(data, scales) {
6447
- return data.map((series) => (Object.assign(Object.assign({}, series), { scales: scales, renderer: this.renderer, accessors: this.accessors })));
6586
+ const yScales = [scales.y];
6587
+ if (scales.yRight) {
6588
+ yScales.push(scales.yRight);
6589
+ }
6590
+ return data.map((series, i) => {
6591
+ var _a;
6592
+ // matches scale units to the metric unit for either left y-axis scale or right y-axis scale
6593
+ let yScale = yScales.find((yScale) => yScale.scaleUnits === series.metricUnits);
6594
+ if (!yScale) {
6595
+ yScale =
6596
+ (_a = yScales.find((yScale) => yScale.scaleUnits === "generic")) !== null && _a !== void 0 ? _a : scales.y;
6597
+ }
6598
+ return Object.assign(Object.assign({}, series), { scales: {
6599
+ x: scales.x,
6600
+ y: yScale,
6601
+ }, renderer: this.renderer, accessors: this.accessors });
6602
+ });
6448
6603
  }
6449
6604
  /** Checks if legend should be shown. */
6450
6605
  hasLegend() {
@@ -6469,13 +6624,36 @@ class XYChartComponent extends TimeseriesChartComponent {
6469
6624
  }
6470
6625
  /** Updates chart data. */
6471
6626
  updateChartData() {
6627
+ var _a, _b, _c, _d;
6628
+ const grid = this.chartAssist.chart.getGrid();
6629
+ if ((_a = this.scales.y) === null || _a === void 0 ? void 0 : _a.id) {
6630
+ grid.leftScaleId = this.scales.y.id;
6631
+ }
6632
+ if ((this.scales.yRight && this.widgetData.series.length === 1) ||
6633
+ (this.scales.y &&
6634
+ this.scales.yRight &&
6635
+ this.scales.y.scaleUnits === this.scales.yRight.scaleUnits)) {
6636
+ // 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
6637
+ this.scales.yRight = this.scales.y;
6638
+ grid.rightScaleId = this.scales.y.id;
6639
+ }
6640
+ else {
6641
+ if ((_b = this.scales.yRight) === null || _b === void 0 ? void 0 : _b.id) {
6642
+ grid.rightScaleId = this.scales.yRight.id;
6643
+ }
6644
+ }
6645
+ const gridConfig = grid.config();
6646
+ // hides botom axis if it's not last chart in the group
6647
+ gridConfig.axis.bottom.visible = !((_c = this.configuration) === null || _c === void 0 ? void 0 : _c.hasAdjacentChart);
6648
+ gridConfig.borders.bottom.visible =
6649
+ !((_d = this.configuration) === null || _d === void 0 ? void 0 : _d.hasAdjacentChart);
6472
6650
  this.chartAssist.update(this.mapSeriesSet(this.widgetData.series, this.scales));
6473
6651
  }
6474
6652
  /**
6475
6653
  * Initialize chart
6476
6654
  */
6477
6655
  buildChart() {
6478
- var _a;
6656
+ var _a, _b, _c, _d;
6479
6657
  this.buildChart$.next();
6480
6658
  const colorProvider = this.configuration.chartColors &&
6481
6659
  ((_a = this.configuration.chartColors) === null || _a === void 0 ? void 0 : _a.length) > 0
@@ -6485,6 +6663,22 @@ class XYChartComponent extends TimeseriesChartComponent {
6485
6663
  this.accessors = this.createAccessors(palette.standardColors);
6486
6664
  this.chartAssist = this.createChartAssist(palette);
6487
6665
  const chart = this.chartAssist.chart;
6666
+ const gridConfig = chart.getGrid().config();
6667
+ if ((_b = this.configuration.gridConfig) === null || _b === void 0 ? void 0 : _b.xAxisTicksCount) {
6668
+ gridConfig.axis.bottom.approximateTicks =
6669
+ this.configuration.gridConfig.xAxisTicksCount;
6670
+ }
6671
+ if (gridConfig.dimension.marginLocked &&
6672
+ ((_c = this.configuration.gridConfig) === null || _c === void 0 ? void 0 : _c.sideMarginLocked)) {
6673
+ gridConfig.dimension.marginLocked.left = true;
6674
+ gridConfig.dimension.marginLocked.right = true;
6675
+ }
6676
+ if ((_d = this.configuration.gridConfig) === null || _d === void 0 ? void 0 : _d.sideMargin) {
6677
+ gridConfig.dimension.margin.left =
6678
+ this.configuration.gridConfig.sideMargin;
6679
+ gridConfig.dimension.margin.right =
6680
+ this.configuration.gridConfig.sideMargin;
6681
+ }
6488
6682
  if (this.configuration.enableZoom) {
6489
6683
  chart.addPlugin(new ZoomPlugin());
6490
6684
  }
@@ -6581,10 +6775,10 @@ class LineChartComponent extends XYChartComponent {
6581
6775
  }
6582
6776
  LineChartComponent.lateLoadKey = "LineChartComponent";
6583
6777
  /** @nocollapse */ LineChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LineChartComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: DATA_SOURCE, optional: true }, { token: TimeseriesScalesService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
6584
- /** @nocollapse */ LineChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", 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: ["active", "interactive", "isSelected", "descriptionPrimary", "descriptionSecondary", "icon", "color", "seriesRenderState"], outputs: ["isSelectedChange"] }, { type: i2$1.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "value", "backgroundColor", "color"] }, { type: i2$1.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["marker", "drawLine", "color", "maxSize"] }], 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"] }] });
6778
+ /** @nocollapse */ LineChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", 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\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)}.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$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: ["active", "interactive", "isSelected", "descriptionPrimary", "descriptionSecondary", "icon", "color", "seriesRenderState"], outputs: ["isSelectedChange"] }, { type: i2$1.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "value", "backgroundColor", "color"] }, { type: i2$1.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["marker", "drawLine", "color", "maxSize"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2$1.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
6585
6779
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LineChartComponent, decorators: [{
6586
6780
  type: Component,
6587
- args: [{ selector: "nui-line-chart", 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"] }]
6781
+ args: [{ selector: "nui-line-chart", 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\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)}.layout-fixed .legend{max-width:250px;min-width:250px;padding-left:8px!important}.layout-fixed .legend nui-legend{margin:0!important;width:100%}\n"] }]
6588
6782
  }], ctorParameters: function () {
6589
6783
  return [{ type: i2.EventBus, decorators: [{
6590
6784
  type: Inject,
@@ -6608,18 +6802,24 @@ class StackedAreaChartComponent extends XYChartComponent {
6608
6802
  return stackedAreaAccessors(colorProvider);
6609
6803
  }
6610
6804
  createChartAssist(palette) {
6805
+ var _a;
6611
6806
  const grid = areaGrid();
6612
- grid.config().axis.left.fit = true;
6807
+ const gridConfig = grid.config();
6808
+ gridConfig.axis.left.fit = true;
6613
6809
  const chart = new Chart(grid);
6810
+ if ((_a = this.configuration.gridConfig) === null || _a === void 0 ? void 0 : _a.hideYAxisTicksLabels) {
6811
+ gridConfig.axis.left.visible = false;
6812
+ gridConfig.axis.right.visible = false;
6813
+ }
6614
6814
  return new ChartAssist(chart, stackedArea, palette);
6615
6815
  }
6616
6816
  }
6617
6817
  StackedAreaChartComponent.lateLoadKey = "StackedAreaChartComponent";
6618
6818
  /** @nocollapse */ StackedAreaChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", 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: "13.3.11", 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: ["active", "interactive", "isSelected", "descriptionPrimary", "descriptionSecondary", "icon", "color", "seriesRenderState"], outputs: ["isSelectedChange"] }, { type: i2$1.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "value", "backgroundColor", "color"] }, { type: i2$1.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["marker", "drawLine", "color", "maxSize"] }], 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"] }] });
6819
+ /** @nocollapse */ StackedAreaChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", 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\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)}.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$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: ["active", "interactive", "isSelected", "descriptionPrimary", "descriptionSecondary", "icon", "color", "seriesRenderState"], outputs: ["isSelectedChange"] }, { type: i2$1.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "value", "backgroundColor", "color"] }, { type: i2$1.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["marker", "drawLine", "color", "maxSize"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2$1.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
6620
6820
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: StackedAreaChartComponent, decorators: [{
6621
6821
  type: Component,
6622
- args: [{ selector: "nui-stacked-area-chart", 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"] }]
6822
+ args: [{ selector: "nui-stacked-area-chart", 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\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)}.layout-fixed .legend{max-width:250px;min-width:250px;padding-left:8px!important}.layout-fixed .legend nui-legend{margin:0!important;width:100%}\n"] }]
6623
6823
  }], ctorParameters: function () {
6624
6824
  return [{ type: i2.EventBus, decorators: [{
6625
6825
  type: Inject,
@@ -6662,16 +6862,17 @@ class StackedBarChartComponent extends XYChartComponent {
6662
6862
  }
6663
6863
  createChartAssist(palette) {
6664
6864
  const chart = new Chart(barGrid());
6865
+ chart.addPlugin(new InteractionLinePlugin());
6665
6866
  chart.addPlugin(new InteractionLabelPlugin());
6666
6867
  return new ChartAssist(chart, stack, palette);
6667
6868
  }
6668
6869
  }
6669
6870
  StackedBarChartComponent.lateLoadKey = "StackedBarChartComponent";
6670
6871
  /** @nocollapse */ StackedBarChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: StackedBarChartComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: DATA_SOURCE, optional: true }, { token: TimeseriesScalesService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
6671
- /** @nocollapse */ StackedBarChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", 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: ["active", "interactive", "isSelected", "descriptionPrimary", "descriptionSecondary", "icon", "color", "seriesRenderState"], outputs: ["isSelectedChange"] }, { type: i2$1.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "value", "backgroundColor", "color"] }, { type: i2$1.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["marker", "drawLine", "color", "maxSize"] }], 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"] }] });
6872
+ /** @nocollapse */ StackedBarChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", 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\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)}.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$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: ["active", "interactive", "isSelected", "descriptionPrimary", "descriptionSecondary", "icon", "color", "seriesRenderState"], outputs: ["isSelectedChange"] }, { type: i2$1.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "value", "backgroundColor", "color"] }, { type: i2$1.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["marker", "drawLine", "color", "maxSize"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2$1.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
6672
6873
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: StackedBarChartComponent, decorators: [{
6673
6874
  type: Component,
6674
- args: [{ selector: "nui-stacked-bar-chart", 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"] }]
6875
+ args: [{ selector: "nui-stacked-bar-chart", 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\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)}.layout-fixed .legend{max-width:250px;min-width:250px;padding-left:8px!important}.layout-fixed .legend nui-legend{margin:0!important;width:100%}\n"] }]
6675
6876
  }], ctorParameters: function () {
6676
6877
  return [{ type: i2.EventBus, decorators: [{
6677
6878
  type: Inject,
@@ -6703,10 +6904,10 @@ class StackedPercentageAreaChartComponent extends XYChartComponent {
6703
6904
  }
6704
6905
  StackedPercentageAreaChartComponent.lateLoadKey = "StackedPercentageAreaChartComponent";
6705
6906
  /** @nocollapse */ StackedPercentageAreaChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: StackedPercentageAreaChartComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: DATA_SOURCE, optional: true }, { token: TimeseriesScalesService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
6706
- /** @nocollapse */ StackedPercentageAreaChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", 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: ["active", "interactive", "isSelected", "descriptionPrimary", "descriptionSecondary", "icon", "color", "seriesRenderState"], outputs: ["isSelectedChange"] }, { type: i2$1.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "value", "backgroundColor", "color"] }, { type: i2$1.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["marker", "drawLine", "color", "maxSize"] }], 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"] }] });
6907
+ /** @nocollapse */ StackedPercentageAreaChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", 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\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)}.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$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: ["active", "interactive", "isSelected", "descriptionPrimary", "descriptionSecondary", "icon", "color", "seriesRenderState"], outputs: ["isSelectedChange"] }, { type: i2$1.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "value", "backgroundColor", "color"] }, { type: i2$1.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["marker", "drawLine", "color", "maxSize"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2$1.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
6707
6908
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: StackedPercentageAreaChartComponent, decorators: [{
6708
6909
  type: Component,
6709
- args: [{ selector: "nui-stacked-percentage-area-chart", 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"] }]
6910
+ args: [{ selector: "nui-stacked-percentage-area-chart", 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\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)}.layout-fixed .legend{max-width:250px;min-width:250px;padding-left:8px!important}.layout-fixed .legend nui-legend{margin:0!important;width:100%}\n"] }]
6710
6911
  }], ctorParameters: function () {
6711
6912
  return [{ type: i2.EventBus, decorators: [{
6712
6913
  type: Inject,
@@ -6777,10 +6978,10 @@ class TimeseriesWidgetComponent {
6777
6978
  }
6778
6979
  TimeseriesWidgetComponent.lateLoadKey = "TimeseriesWidgetComponent";
6779
6980
  /** @nocollapse */ TimeseriesWidgetComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimeseriesWidgetComponent, deps: [{ token: TimeseriesChartPresetService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
6780
- /** @nocollapse */ TimeseriesWidgetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", 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: ["image", "description", "float", "margin", "isWatermark", "width", "height", "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"] }] });
6981
+ /** @nocollapse */ TimeseriesWidgetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", 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: i2.ImageComponent, selector: "nui-image", inputs: ["image", "description", "float", "margin", "isWatermark", "width", "height", "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"] }] });
6781
6982
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimeseriesWidgetComponent, decorators: [{
6782
6983
  type: Component,
6783
- args: [{ selector: "nui-timeseries-widget", 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" }]
6984
+ args: [{ selector: "nui-timeseries-widget", 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"] }]
6784
6985
  }], ctorParameters: function () { return [{ type: TimeseriesChartPresetService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { widgetData: [{
6785
6986
  type: Input
6786
6987
  }], configuration: [{
@@ -16312,5 +16513,5 @@ const DONUT_CONTENT_CONFIGURATION_SLICE = {
16312
16513
  * Generated bundle index. Do not edit.
16313
16514
  */
16314
16515
 
16315
- 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 };
16516
+ 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, timeSeriesDatetimeFormatter, widgetBodyContentNodes };
16316
16517
  //# sourceMappingURL=nova-ui-dashboards.mjs.map