@nova-ui/dashboards 19.0.1 → 19.0.2

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 (44) hide show
  1. package/fesm2022/nova-ui-dashboards.mjs +80 -441
  2. package/fesm2022/nova-ui-dashboards.mjs.map +1 -1
  3. package/lib/components/providers/kpi-scale-sync-broker.d.ts +1 -0
  4. package/lib/components/providers/refresher-settings.service.d.ts +2 -5
  5. package/lib/components/providers/refresher.d.ts +5 -3
  6. package/lib/components/table-widget/table-widget.component.d.ts +3 -0
  7. package/lib/components/table-widget/types.d.ts +1 -0
  8. package/lib/configurator/components/public-api.d.ts +0 -1
  9. package/lib/configurator/configurator.module.d.ts +17 -18
  10. package/lib/dashboards.module.d.ts +1 -1
  11. package/package.json +3 -3
  12. package/sdk/atoms/src/lib/components/providers/kpi-scale-sync-broker.d.ts +1 -0
  13. package/sdk/atoms/src/lib/components/providers/kpi-scale-sync-broker.js +31 -14
  14. package/sdk/atoms/src/lib/components/providers/kpi-scale-sync-broker.js.map +1 -1
  15. package/sdk/atoms/src/lib/components/providers/refresher-settings.service.d.ts +2 -5
  16. package/sdk/atoms/src/lib/components/providers/refresher-settings.service.js +5 -7
  17. package/sdk/atoms/src/lib/components/providers/refresher-settings.service.js.map +1 -1
  18. package/sdk/atoms/src/lib/components/providers/refresher.d.ts +5 -3
  19. package/sdk/atoms/src/lib/components/providers/refresher.js +8 -10
  20. package/sdk/atoms/src/lib/components/providers/refresher.js.map +1 -1
  21. package/sdk/atoms/src/lib/components/table-widget/table-widget.component.d.ts +3 -0
  22. package/sdk/atoms/src/lib/components/table-widget/table-widget.component.js +10 -0
  23. package/sdk/atoms/src/lib/components/table-widget/table-widget.component.js.map +1 -1
  24. package/sdk/atoms/src/lib/components/table-widget/types.d.ts +1 -0
  25. package/sdk/atoms/src/lib/components/table-widget/types.js.map +1 -1
  26. package/sdk/atoms/src/lib/configurator/components/public-api.d.ts +0 -1
  27. package/sdk/atoms/src/lib/configurator/components/public-api.js +0 -1
  28. package/sdk/atoms/src/lib/configurator/components/public-api.js.map +1 -1
  29. package/sdk/atoms/src/lib/configurator/configurator.module.js +1 -2
  30. package/sdk/atoms/src/lib/configurator/configurator.module.js.map +1 -1
  31. package/sdk/atoms/src/lib/dashboards.module.js +1 -0
  32. package/sdk/atoms/src/lib/dashboards.module.js.map +1 -1
  33. package/lib/configurator/components/color-picker/HTMLcolors.d.ts +0 -1
  34. package/lib/configurator/components/color-picker/color-picker.component.d.ts +0 -42
  35. package/lib/configurator/components/color-picker/color.service.d.ts +0 -8
  36. package/sdk/atoms/src/lib/configurator/components/color-picker/HTMLcolors.d.ts +0 -1
  37. package/sdk/atoms/src/lib/configurator/components/color-picker/HTMLcolors.js +0 -166
  38. package/sdk/atoms/src/lib/configurator/components/color-picker/HTMLcolors.js.map +0 -1
  39. package/sdk/atoms/src/lib/configurator/components/color-picker/color-picker.component.d.ts +0 -39
  40. package/sdk/atoms/src/lib/configurator/components/color-picker/color-picker.component.js +0 -185
  41. package/sdk/atoms/src/lib/configurator/components/color-picker/color-picker.component.js.map +0 -1
  42. package/sdk/atoms/src/lib/configurator/components/color-picker/color.service.d.ts +0 -5
  43. package/sdk/atoms/src/lib/configurator/components/color-picker/color.service.js +0 -58
  44. package/sdk/atoms/src/lib/configurator/components/color-picker/color.service.js.map +0 -1
@@ -1,17 +1,17 @@
1
1
  import * as i4 from '@angular/common';
2
2
  import { CommonModule, DecimalPipe, DOCUMENT } from '@angular/common';
3
3
  import * as i0 from '@angular/core';
4
- import { Component, HostBinding, Input, Pipe, NgModule, InjectionToken, Host, Self, Directive, Injectable, Inject, Optional, NgZone, Injector, EventEmitter, SimpleChange, Output, ViewChildren, ViewChild, ViewEncapsulation, SecurityContext, ChangeDetectionStrategy, HostListener, ElementRef, forwardRef, ViewContainerRef, ContentChildren } from '@angular/core';
4
+ import { Component, HostBinding, Input, Pipe, NgModule, InjectionToken, Host, Self, Directive, Injectable, Inject, Optional, NgZone, Injector, EventEmitter, SimpleChange, Output, ViewChildren, ViewChild, ViewEncapsulation, SecurityContext, ChangeDetectionStrategy, HostListener, signal, ElementRef, ViewContainerRef, ContentChildren, forwardRef } from '@angular/core';
5
5
  import * as i2 from '@nova-ui/bits';
6
- import { unitConversionBases, NuiImageModule, EventDefinition, immutableSet, EventBus, VirtualViewportManager, uuid, LoggerService, TimeframeService, ResizeObserverDirective, nameof, TableSelectionMode, DEFAULT_INTERACTIVE_ELEMENTS, SorterDirection, TableRowComponent, HistoryStorage, UnitBase, OverlayUtilitiesService, getOverlayPositions, SelectV2Component, NuiFormFieldControl, OVERLAY_CONTAINER, SpinnerSize, removeErrors, NuiBusyModule, NuiIconModule, NuiMenuModule, NuiPopupModule, NuiDialogModule, NuiSpinnerModule, NuiTextboxModule, NuiFormFieldModule, NuiButtonModule, NuiOverlayAdditionsModule, NuiSelectV2Module, NuiRadioModule, NuiCheckboxModule, NuiValidationMessageModule, NuiExpanderModule, NuiPanelModule, NuiDividerModule, NuiSwitchModule, NuiMessageModule, NuiWizardModule, NuiSorterModule, NuiSearchModule, NuiRepeatModule, NuiProgressModule, NuiTableModule, NuiTimeFrameBarModule, NuiTimeFramePickerModule, NuiTooltipModule, NuiCommonModule, NuiRiskScoreModule, NuiSelectModule, NuiPopoverModule, NuiPaginatorModule } from '@nova-ui/bits';
6
+ import { unitConversionBases, NuiImageModule, EventDefinition, immutableSet, EventBus, VirtualViewportManager, uuid, LoggerService, TimeframeService, ResizeObserverDirective, nameof, TableSelectionMode, DEFAULT_INTERACTIVE_ELEMENTS, SorterDirection, TableRowComponent, HistoryStorage, UnitBase, OVERLAY_CONTAINER, SpinnerSize, removeErrors, NuiBusyModule, NuiIconModule, NuiMenuModule, NuiPopupModule, NuiDialogModule, NuiSpinnerModule, NuiTextboxModule, NuiFormFieldModule, NuiButtonModule, NuiOverlayAdditionsModule, NuiSelectV2Module, NuiRadioModule, NuiCheckboxModule, NuiValidationMessageModule, NuiExpanderModule, NuiPanelModule, NuiDividerModule, NuiSwitchModule, NuiMessageModule, NuiWizardModule, NuiSorterModule, NuiSearchModule, NuiRepeatModule, NuiColorPickerModule, NuiProgressModule, NuiTableModule, NuiTimeFrameBarModule, NuiTimeFramePickerModule, NuiTooltipModule, NuiCommonModule, NuiRiskScoreModule, NuiSelectModule, NuiPopoverModule, NuiPaginatorModule } from '@nova-ui/bits';
7
7
  import * as i11 from '@angular/cdk/scrolling';
8
8
  import { CdkVirtualScrollViewport, ScrollingModule } from '@angular/cdk/scrolling';
9
9
  import * as i1$2 from '@angular/forms';
10
- import { Validators, NG_VALUE_ACCESSOR, FormGroupDirective, ControlContainer, FormGroup, FormArray, NG_VALIDATORS, FormControl, ReactiveFormsModule } from '@angular/forms';
10
+ import { Validators, FormGroupDirective, ControlContainer, FormGroup, FormArray, NG_VALUE_ACCESSOR, NG_VALIDATORS, FormControl, ReactiveFormsModule } from '@angular/forms';
11
11
  import * as i1 from 'angular-gridster2';
12
12
  import { CompactType, GridType, DisplayGrid, GridsterComponent, GridsterItemComponent, GridsterModule } from 'angular-gridster2';
13
13
  import * as i4$1 from '@nova-ui/charts';
14
- import { RadialAccessors, barAccessors, barScales, BarRenderer, BarSeriesHighlightStrategy, barGrid, radialScales, PieRenderer, radialGrid, radial, RadialRenderer, ChartPalette, defaultColorProvider, ChartAssist, Chart, ChartDonutContentPlugin, SELECT_DATA_POINT_EVENT, MappedValueProvider, SequentialColorProvider, TimeIntervalScale, LinearScale, TimeScale, SparkChartAssist, statusAccessors, BarHighlightStrategyOutline, BarHighlightStrategy, BandScale, StatusAccessors, TimeseriesZoomPlugin, ZoomPlugin, SET_DOMAIN_EVENT, DESTROY_EVENT, XYRenderer, XYAccessors, 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';
14
+ import { RadialAccessors, barAccessors, barScales, BarRenderer, BarSeriesHighlightStrategy, barGrid, radialScales, PieRenderer, radialGrid, radial, RadialRenderer, ChartPalette, defaultColorProvider, ChartAssist, Chart, ChartDonutContentPlugin, SELECT_DATA_POINT_EVENT, MappedValueProvider, SequentialColorProvider, TimeIntervalScale, LinearScale, TimeScale, SparkChartAssist, statusAccessors, BarHighlightStrategyOutline, BarHighlightStrategy, BandScale, StatusAccessors, TimeseriesZoomPlugin, ZoomPlugin, SET_DOMAIN_EVENT, DESTROY_EVENT, XYRenderer, XYAccessors, INTERACTION_DATA_POINTS_EVENT, InteractionType, INTERACTION_VALUES_EVENT, LineRenderer, LineAccessors, XYGridConfig, XYGrid, AreaRenderer, stackedAreaAccessors, areaGrid, stackedArea, InteractionLinePlugin, InteractionLabelPlugin, stack, stackedPercentageArea, 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 { trigger, state, transition, style, animate } from '@angular/animations';
@@ -31,7 +31,6 @@ import _isNil from 'lodash/isNil';
31
31
  import isEmpty from 'lodash/isEmpty';
32
32
  import uniq from 'lodash/uniq';
33
33
  import get from 'lodash/get';
34
- import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
35
34
  import clone from 'lodash/clone';
36
35
  import pick from 'lodash/pick';
37
36
  import _difference from 'lodash/difference';
@@ -43,17 +42,17 @@ import cloneDeep from 'lodash/cloneDeep';
43
42
  import * as d3 from 'd3';
44
43
  import * as i5$1 from '@angular/cdk/drag-drop';
45
44
  import { DragDropModule } from '@angular/cdk/drag-drop';
46
- import * as i2$1 from '@angular/cdk/overlay';
47
45
  import sumBy from 'lodash/sumBy';
48
46
  import toNumber from 'lodash/toNumber';
49
47
  import toString from 'lodash/toString';
48
+ import * as i3 from '@angular/cdk/overlay';
50
49
  import find from 'lodash/find';
51
50
  import findIndex from 'lodash/findIndex';
52
51
  import zipObject from 'lodash/zipObject';
53
52
  import { Subject as Subject$1 } from 'rxjs/internal/Subject';
54
53
  import includes from 'lodash/includes';
55
54
  import capitalize from 'lodash/capitalize';
56
- import * as i3 from '@angular/router';
55
+ import * as i3$1 from '@angular/router';
57
56
  import { NavigationEnd } from '@angular/router';
58
57
  import isFunction from 'lodash/isFunction';
59
58
  import sum from 'lodash/sum';
@@ -1890,7 +1889,7 @@ class KpiScaleSyncBroker {
1890
1889
  return this.builder;
1891
1890
  }
1892
1891
  getBrokers() {
1893
- return this.brokers;
1892
+ return [...this.brokers];
1894
1893
  }
1895
1894
  subscribeToBrokers() {
1896
1895
  this.destroy();
@@ -1933,20 +1932,26 @@ class KpiScaleSyncBroker {
1933
1932
  createPropertiesAndSubscribeToBrokers() {
1934
1933
  this.tileNodes = this.pizzagnaService.getComponent(this.componentId).properties?.nodes;
1935
1934
  const { scaleSyncConfig } = this.properties;
1936
- if (this.tileNodes?.length) {
1937
- this.tileNodes.forEach((node, i) => {
1938
- const property = {
1939
- componentId: node,
1940
- pizzagnaKey: PizzagnaLayer.Data,
1941
- propertyPath: [`syncValuesBroker`],
1942
- };
1943
- this.pizzagnaService.setProperty(property, this.getBrokers());
1944
- });
1945
- if (scaleSyncConfig && isArray(scaleSyncConfig)) {
1946
- scaleSyncConfig.forEach((s) => this.configure().addBroker({ id: s.id, type: s?.type }));
1947
- this.subscribeToBrokers();
1948
- }
1935
+ if (!this.tileNodes?.length) {
1936
+ return;
1949
1937
  }
1938
+ if (scaleSyncConfig && isArray(scaleSyncConfig)) {
1939
+ // remove brokers that are not in the scaleSyncConfig
1940
+ this.brokers
1941
+ .filter((broker) => !scaleSyncConfig.find((s) => s.id === broker.id))
1942
+ .forEach(({ id }) => this.builder.removeBroker(id));
1943
+ // add new brokers from scaleSyncConfig
1944
+ scaleSyncConfig.forEach((s) => this.configure().addBroker({ id: s.id, type: s?.type }));
1945
+ this.subscribeToBrokers();
1946
+ }
1947
+ this.tileNodes.forEach((node, i) => {
1948
+ const property = {
1949
+ componentId: node,
1950
+ pizzagnaKey: PizzagnaLayer.Data,
1951
+ propertyPath: [`syncValuesBroker`],
1952
+ };
1953
+ this.pizzagnaService.setProperty(property, this.getBrokers());
1954
+ });
1950
1955
  }
1951
1956
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: KpiScaleSyncBroker, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: PizzagnaService }], target: i0.ɵɵFactoryTarget.Injectable }); }
1952
1957
  /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: KpiScaleSyncBroker }); }
@@ -1963,6 +1968,10 @@ class KpiScaleSyncBrokerBuilder {
1963
1968
  this.valuesObject = {};
1964
1969
  }
1965
1970
  addBroker(broker) {
1971
+ if (this.brokers.find((existingBroker) => existingBroker.id === broker.id)) {
1972
+ // Prevent adding the same broker multiple times
1973
+ return this;
1974
+ }
1966
1975
  const newBrokerSetting = {
1967
1976
  id: broker.id,
1968
1977
  targetID: "",
@@ -1975,6 +1984,13 @@ class KpiScaleSyncBrokerBuilder {
1975
1984
  });
1976
1985
  return this;
1977
1986
  }
1987
+ removeBroker(brokerId) {
1988
+ const brokerIndex = this.brokers.findIndex((b) => b.id === brokerId);
1989
+ if (brokerIndex !== -1) {
1990
+ this.brokers.splice(brokerIndex, 1);
1991
+ delete this.valuesObject[brokerId];
1992
+ }
1993
+ }
1978
1994
  getDefaultBrokerObject(input, output) {
1979
1995
  return {
1980
1996
  in$: new BehaviorSubject(input),
@@ -2389,21 +2405,19 @@ const DEFAULT_REFRESH_INTERVAL = 300;
2389
2405
  */
2390
2406
  class RefresherSettingsService {
2391
2407
  constructor() {
2392
- /**
2393
- * This is a system wide definition for disabling all refreshers.
2394
- */
2395
- this.disabled$ = new BehaviorSubject(false);
2396
- this.refreshRateSeconds$ = new BehaviorSubject(DEFAULT_REFRESH_INTERVAL);
2408
+ this._refreshRateSeconds = DEFAULT_REFRESH_INTERVAL;
2409
+ this.refreshRateSeconds$ = new BehaviorSubject(this.refreshRateSeconds);
2397
2410
  }
2398
2411
  /**
2399
2412
  * This is a system wide definition of refresh rate. Widgets have to be configured to use
2400
2413
  * the system settings to leverage this value.
2401
2414
  */
2402
2415
  get refreshRateSeconds() {
2403
- return this.refreshRateSeconds$.value;
2416
+ return this._refreshRateSeconds;
2404
2417
  }
2405
2418
  set refreshRateSeconds(value) {
2406
- this.refreshRateSeconds$.next(value);
2419
+ this._refreshRateSeconds = value;
2420
+ this.refreshRateSeconds$.next(this._refreshRateSeconds);
2407
2421
  }
2408
2422
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: RefresherSettingsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2409
2423
  /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: RefresherSettingsService, providedIn: "root" }); }
@@ -2446,18 +2460,14 @@ class Refresher {
2446
2460
  this.overrideDefaultSettings = true;
2447
2461
  this.interval = DEFAULT_REFRESH_INTERVAL;
2448
2462
  this.eventDef = REFRESH;
2463
+ this.destroy$ = new Subject();
2449
2464
  this.refresherSettings.refreshRateSeconds$
2450
- .pipe(takeUntilDestroyed())
2451
- .subscribe(() => {
2465
+ .pipe(takeUntil(this.destroy$))
2466
+ .subscribe((systemRefreshRate) => {
2452
2467
  if (!this.overrideDefaultSettings) {
2453
2468
  this.initializeInterval();
2454
2469
  }
2455
2470
  });
2456
- this.refresherSettings.disabled$
2457
- .pipe(takeUntilDestroyed())
2458
- .subscribe(() => {
2459
- this.initializeInterval();
2460
- });
2461
2471
  }
2462
2472
  updateConfiguration(properties) {
2463
2473
  this.interval = properties.interval ?? DEFAULT_REFRESH_INTERVAL;
@@ -2469,13 +2479,14 @@ class Refresher {
2469
2479
  }
2470
2480
  ngOnDestroy() {
2471
2481
  this.clearInterval();
2482
+ this.destroy$.next();
2483
+ this.destroy$.complete();
2472
2484
  }
2473
2485
  initializeInterval() {
2474
2486
  this.clearInterval();
2475
2487
  if (typeof this.interval === "undefined" ||
2476
2488
  this.getInterval() <= 0 ||
2477
- this.enabled === false ||
2478
- this.refresherSettings.disabled$.value === true) {
2489
+ this.enabled === false) {
2479
2490
  return;
2480
2491
  }
2481
2492
  this.ngZone.runOutsideAngular(() => {
@@ -7356,6 +7367,8 @@ class TableWidgetComponent {
7356
7367
  this.sortableSet = {};
7357
7368
  this.defaultColumnAlignment = "left";
7358
7369
  this.idle = false;
7370
+ this.isSearchLimitWarningDisplayed = signal(false);
7371
+ this.defaultMaxSearchLength = 2000;
7359
7372
  this._scrollBuffer = 0;
7360
7373
  }
7361
7374
  get headerTooltipsEnabled() {
@@ -7391,6 +7404,9 @@ class TableWidgetComponent {
7391
7404
  get hasPaginator() {
7392
7405
  return this.scrollType === ScrollType.paginator;
7393
7406
  }
7407
+ get searchLimitMaxLength() {
7408
+ return this.configuration?.searchConfiguration?.maxSearchLength ?? this.defaultMaxSearchLength;
7409
+ }
7394
7410
  ngOnChanges(changes) {
7395
7411
  if (changes.dataFields) {
7396
7412
  if (this.dataFields?.length) {
@@ -7648,6 +7664,11 @@ class TableWidgetComponent {
7648
7664
  .next({ payload: { data: row.__record } });
7649
7665
  }
7650
7666
  onSearchInputChanged(searchTerm) {
7667
+ if (searchTerm?.length > this.searchLimitMaxLength) {
7668
+ this.isSearchLimitWarningDisplayed.set(true);
7669
+ return;
7670
+ }
7671
+ this.isSearchLimitWarningDisplayed.set(false);
7651
7672
  this.searchValue = searchTerm;
7652
7673
  this.searchTerm$.next("");
7653
7674
  this.selection = {
@@ -7808,11 +7829,11 @@ class TableWidgetComponent {
7808
7829
  }
7809
7830
  }
7810
7831
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: TableWidgetComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: DATA_SOURCE, optional: true }, { token: WidgetConfigurationService, optional: true }, { token: i0.ChangeDetectorRef }, { token: PizzagnaService }, { token: i2.VirtualViewportManager }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: i2.LoggerService }, { token: SearchFeatureAddonService }, { token: PaginatorFeatureAddonService }, { token: VirtualScrollFeatureAddonService }, { token: TableFormatterRegistryService }, { token: i2.SelectorService }], target: i0.ɵɵFactoryTarget.Component }); }
7811
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.7", type: TableWidgetComponent, isStandalone: false, selector: "nui-table-widget", inputs: { widgetData: "widgetData", componentId: "componentId", configuration: "configuration", dataFields: "dataFields", totalItems: "totalItems", indentFromTop: "indentFromTop", sortable: "sortable", delayedMousePresenceDetectionEnabled: "delayedMousePresenceDetectionEnabled", elementClass: "elementClass", range: "range" }, host: { properties: { "class.table-widget-fullwidth": "true", "class": "this.elementClass" } }, providers: [
7832
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.7", type: TableWidgetComponent, isStandalone: false, selector: "nui-table-widget", inputs: { widgetData: "widgetData", componentId: "componentId", configuration: "configuration", dataFields: "dataFields", totalItems: "totalItems", indentFromTop: "indentFromTop", sortable: "sortable", delayedMousePresenceDetectionEnabled: "delayedMousePresenceDetectionEnabled", elementClass: "elementClass", range: "range" }, host: { properties: { "class.table-widget-fullwidth": "true", "class": "this.elementClass" } }, providers: [
7812
7833
  SearchFeatureAddonService,
7813
7834
  VirtualScrollFeatureAddonService,
7814
7835
  PaginatorFeatureAddonService,
7815
- ], viewQueries: [{ propertyName: "table", first: true, predicate: ["widgetTable"], descendants: true }, { propertyName: "paginator", first: true, predicate: ["paginator"], descendants: true }, { propertyName: "vscrollViewport", first: true, predicate: CdkVirtualScrollViewport, descendants: true }, { propertyName: "tableRows", predicate: TableRowComponent, descendants: true, read: ElementRef }], usesOnChanges: true, ngImport: i0, template: "<div\n class=\"h-100 d-flex justify-content-center align-items-center\"\n *ngIf=\"!shouldDisplayTable()\"\n>\n <nui-image image=\"no-data-to-show\"></nui-image>\n</div>\n<!-- h-100 gets added only when there's data to show to prevent an extra scrollbar when the table is empty -->\n<!-- Using invisible class instead of *ngIf as an non-virtual-scroll breakable way to hide the content. -->\n<div\n class=\"nui-table-widget d-flex flex-column\"\n [ngClass]=\"shouldDisplayTable() ? 'h-100' : 'invisible'\"\n>\n <div class=\"mr-2 mb-2 flex-row\" *ngIf=\"isSearchEnabled\">\n <nui-search\n class=\"unlimited-width d-flex justify-content-end flex-grow-1\"\n [value]=\"searchValue\"\n (inputChange)=\"onSearchInputChanged($event)\"\n (cancel)=\"onSearchInputChanged($event)\"\n >\n </nui-search>\n </div>\n <div\n class=\"flex-row h-100 nui-table-widget-container\"\n [nuiDelayedMousePresenceDetection]=\"\n delayedMousePresenceDetectionEnabled\n \"\n [delay]=\"configuration.scrollActivationDelayMs\"\n [mousePresentSubject]=\"mousePresent$\"\n >\n <!-- Note: Using inline style to let tableStickyHeader pick the actual height and update it with header height when it is detached -->\n <cdk-virtual-scroll-viewport\n class=\"calc-height\"\n style=\"height: calc(100% - 2px)\"\n tableStickyHeader\n [itemSize]=\"rowHeight\"\n [ngClass]=\"{\n 'virtual-scroll-disabled':\n (mousePresent$ | async) === false &&\n delayedMousePresenceDetectionEnabled\n }\"\n >\n <table\n class=\"nui-table-widget__main\"\n nui-table\n [reorderable]=\"configuration?.reorderable\"\n [sortable]=\"sortable\"\n [selection]=\"selection\"\n [selectionConfig]=\"configuration?.selectionConfiguration\"\n [totalItems]=\"totalItems\"\n [paginatorUsed]=\"hasPaginator && configuration?.selectionConfiguration?.allPages\"\n [dataSource]=\"hasVirtualScroll ? virtualScrollAddon.visibleItems : tableData\"\n [sortedColumn]=\"sortedColumn\"\n (sortOrderChanged)=\"onSortOrderChanged($event)\"\n (selectionChange)=\"onSelectionChange($event)\"\n [trackBy]=\"dataTrackBy()\"\n #widgetTable\n >\n <ng-container\n nuiColumnDef=\"{{ column.id }}\"\n *ngFor=\"let column of columns; trackBy: columnTrackBy\"\n >\n <th\n nui-header-cell\n [isColumnSortingDisabled]=\"!column.sortable\"\n *nuiHeaderCellDef\n [style.width.px]=\"columnsWidthMap.get(column.id)\"\n [style.max-width.px]=\"columnsWidthMap.get(column.id)\"\n [style.min-width.px]=\"columnsWidthMap.get(column.id)\"\n [title]=\"column.label\"\n [tooltipText]=\"\n headerTooltipsEnabled ? column.label : undefined\n \"\n [alignment]=\"getColumnAlignment(column)\"\n >\n {{ column.label }}\n </th>\n <ng-container>\n <td\n nui-cell\n *nuiCellDef=\"let element\"\n [style.width.px]=\"columnsWidthMap.get(column.id)\"\n [style.max-width.px]=\"\n columnsWidthMap.get(column.id)\n \"\n [style.min-width.px]=\"\n columnsWidthMap.get(column.id)\n \"\n [alignment]=\"getColumnAlignment(column)\"\n >\n <ng-container\n nuiComponentPortal\n componentId=\"formatter\"\n *ngIf=\"element[column.id] && column.formatter\"\n [componentType]=\"\n column.formatter?.componentType\n \"\n [properties]=\"element[column.id]\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"\n componentPortal.attached($event)\n \"\n ></ng-template>\n </ng-container>\n </td>\n </ng-container>\n </ng-container>\n <tr nui-header-row *nuiHeaderRowDef=\"headers\"></tr>\n <ng-template\n nuiRowDef\n cdkVirtualFor\n let-row\n [nuiRowDefColumns]=\"headers\"\n [cdkVirtualForOf]=\"tableData\"\n [cdkVirtualForTemplateCacheSize]=\"10\"\n [cdkVirtualForTrackBy]=\"dataTrackBy()\"\n >\n <tr\n nui-row\n (click)=\"onInteraction(row, $event)\"\n [attr.role]=\"interactive ? 'button' : ''\"\n density=\"tiny\"\n [rowObject]=\"row.__record\"\n [clickableRow]=\"clickableRow\"\n ></tr>\n </ng-template>\n </table>\n </cdk-virtual-scroll-viewport>\n </div>\n <div [hidden]=\"!hasPaginator\" class=\"mt-2\">\n <ng-container *ngTemplateOutlet=\"footer\"></ng-container>\n </div>\n</div>\n\n<ng-template #footer>\n <footer>\n <nui-paginator\n #paginator\n id=\"nui-table-widget-paginator\"\n [appendToBody]=\"true\"\n [page]=\"paginatorAddon.paginatorState.page\"\n [pageSize]=\"paginatorAddon.paginatorState.pageSize\"\n [pageSizeSet]=\"paginatorAddon.paginatorState.pageSizeSet\"\n [total]=\"paginatorAddon.paginatorState.total\"\n (pagerAction)=\"onPagerAction($event)\"\n >\n </nui-paginator>\n </footer>\n</ng-template>\n", styles: [".nui-table-widget{overflow:auto;width:100%}.nui-table-widget .display-contents{display:contents}.nui-table-widget__main{flex:1 1 auto}.nui-table-widget__paginator{margin-top:10px}.nui-table-widget__overflow{overflow-y:auto}.nui-table-widget .nui-table-widget-container .virtual-scroll-disabled.cdk-virtual-scroll-viewport{overflow:hidden!important}:host-context(.mobile) .calc-height{min-height:200px}:host.table-widget-fullwidth{width:calc(100% - 10px)}.invisible{height:0}@-moz-document url-prefix(){.nui-table-widget-container{margin-right:10px}}\n"], dependencies: [{ kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i2.ImageComponent, selector: "nui-image", inputs: ["image", "description", "float", "margin", "isWatermark", "width", "height", "autoFill"] }, { kind: "directive", type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "directive", type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { kind: "component", type: i2.TableComponent, selector: "nui-table, table[nui-table]", inputs: ["reorderable", "sortable", "resizable", "selectable", "selectionConfig", "totalItems", "dataSource", "selection", "sortedColumn", "paginatorUsed"], outputs: ["columnsOrderChange", "sortOrderChanged", "selectionChange", "columnsWidthChange"], exportAs: ["nuiTable"] }, { kind: "directive", type: i2.TableHeaderRowDefDirective, selector: "[nuiHeaderRowDef]", inputs: ["nuiHeaderRowDef", "nuiHeaderRowDefSticky"] }, { kind: "directive", type: i2.TableCellDefDirective, selector: "[nuiCellDef]" }, { kind: "directive", type: i2.TableRowDefDirective, selector: "[nuiRowDef]", inputs: ["nuiRowDefColumns", "nuiRowDefWhen"] }, { kind: "component", type: i2.TableHeaderRowComponent, selector: "nui-header-row, tr[nui-header-row]", inputs: ["density"], exportAs: ["nuiHeaderRow"] }, { kind: "component", type: i2.TableRowComponent, selector: "nui-row, tr[nui-row]", inputs: ["density", "rowObject", "clickableRow", "clickableRowConfig"], exportAs: ["nuiRow"] }, { kind: "directive", type: i2.TableHeaderCellDefDirective, selector: "[nuiHeaderCellDef]" }, { kind: "component", type: i2.TableHeaderCellComponent, selector: "nui-header-cell, th[nui-header-cell]", inputs: ["alignment", "tooltipText", "isColumnSortingDisabled"] }, { kind: "directive", type: i2.TableCellDirective, selector: "nui-cell, td[nui-cell]", inputs: ["tooltipText", "alignment"] }, { kind: "directive", type: i2.TableColumnDefDirective, selector: "[nuiColumnDef]", inputs: ["nuiColumnDef", "type", "columnWidth"] }, { kind: "directive", type: i2.TableStickyHeaderDirective, selector: "cdk-virtual-scroll-viewport[tableStickyHeader]", inputs: ["tableStickyHeader"] }, { kind: "directive", type: i11.CdkFixedSizeVirtualScroll, selector: "cdk-virtual-scroll-viewport[itemSize]", inputs: ["itemSize", "minBufferPx", "maxBufferPx"] }, { kind: "directive", type: i11.CdkVirtualForOf, selector: "[cdkVirtualFor][cdkVirtualForOf]", inputs: ["cdkVirtualForOf", "cdkVirtualForTrackBy", "cdkVirtualForTemplate", "cdkVirtualForTemplateCacheSize"] }, { kind: "component", type: i11.CdkVirtualScrollViewport, selector: "cdk-virtual-scroll-viewport", inputs: ["orientation", "appendOnly"], outputs: ["scrolledIndexChange"] }, { kind: "component", type: i2.SearchComponent, selector: "nui-search", inputs: ["captureFocus", "name", "isInErrorState", "placeholder", "value"], outputs: ["cancel", "focusChange", "inputChange", "search"] }, { kind: "component", type: i2.PaginatorComponent, selector: "nui-paginator", inputs: ["itemsList", "page", "pageSize", "pageSizeSet", "total", "dots", "hideIfEmpty", "hide", "activeClass", "disabledClass", "adjacent", "maxElements", "showPrevNext", "popupDirectionTop", "popupBaseElementSelector", "appendToBody"], outputs: ["pagerAction", "pageChange"] }, { kind: "directive", type: DelayedMousePresenceDetectionDirective, selector: "[nuiDelayedMousePresenceDetection]", inputs: ["nuiDelayedMousePresenceDetection", "mousePresentSubject", "delay"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
7836
+ ], viewQueries: [{ propertyName: "table", first: true, predicate: ["widgetTable"], descendants: true }, { propertyName: "paginator", first: true, predicate: ["paginator"], descendants: true }, { propertyName: "vscrollViewport", first: true, predicate: CdkVirtualScrollViewport, descendants: true }, { propertyName: "tableRows", predicate: TableRowComponent, descendants: true, read: ElementRef }], usesOnChanges: true, ngImport: i0, template: "<div\n class=\"h-100 d-flex justify-content-center align-items-center\"\n *ngIf=\"!shouldDisplayTable()\"\n>\n <nui-image image=\"no-data-to-show\"></nui-image>\n</div>\n<!-- h-100 gets added only when there's data to show to prevent an extra scrollbar when the table is empty -->\n<!-- Using invisible class instead of *ngIf as an non-virtual-scroll breakable way to hide the content. -->\n<div\n class=\"nui-table-widget d-flex flex-column\"\n [ngClass]=\"shouldDisplayTable() ? 'h-100' : 'invisible'\"\n>\n <div class=\"mr-2 mb-2 flex-row\" *ngIf=\"isSearchEnabled\">\n <nui-search\n class=\"unlimited-width d-flex justify-content-end flex-grow-1\"\n [value]=\"searchValue\"\n (inputChange)=\"onSearchInputChanged($event)\"\n (cancel)=\"onSearchInputChanged($event)\"\n >\n </nui-search>\n @if (isSearchLimitWarningDisplayed()) {\n <nui-message\n class=\"nui-table-search-limit-warning\"\n type=\"warning\"\n [allowDismiss]=\"false\"\n i18n>\n Search query limit is {{ searchLimitMaxLength }} characters.\n </nui-message>\n }\n </div>\n <div\n class=\"flex-row h-100 nui-table-widget-container\"\n [nuiDelayedMousePresenceDetection]=\"\n delayedMousePresenceDetectionEnabled\n \"\n [delay]=\"configuration.scrollActivationDelayMs\"\n [mousePresentSubject]=\"mousePresent$\"\n >\n <!-- Note: Using inline style to let tableStickyHeader pick the actual height and update it with header height when it is detached -->\n <cdk-virtual-scroll-viewport\n class=\"calc-height\"\n style=\"height: calc(100% - 2px)\"\n tableStickyHeader\n [itemSize]=\"rowHeight\"\n [ngClass]=\"{\n 'virtual-scroll-disabled':\n (mousePresent$ | async) === false &&\n delayedMousePresenceDetectionEnabled\n }\"\n >\n <table\n class=\"nui-table-widget__main\"\n nui-table\n [reorderable]=\"configuration?.reorderable\"\n [sortable]=\"sortable\"\n [selection]=\"selection\"\n [selectionConfig]=\"configuration?.selectionConfiguration\"\n [totalItems]=\"totalItems\"\n [paginatorUsed]=\"hasPaginator && configuration?.selectionConfiguration?.allPages\"\n [dataSource]=\"hasVirtualScroll ? virtualScrollAddon.visibleItems : tableData\"\n [sortedColumn]=\"sortedColumn\"\n (sortOrderChanged)=\"onSortOrderChanged($event)\"\n (selectionChange)=\"onSelectionChange($event)\"\n [trackBy]=\"dataTrackBy()\"\n #widgetTable\n >\n <ng-container\n nuiColumnDef=\"{{ column.id }}\"\n *ngFor=\"let column of columns; trackBy: columnTrackBy\"\n >\n <th\n nui-header-cell\n [isColumnSortingDisabled]=\"!column.sortable\"\n *nuiHeaderCellDef\n [style.width.px]=\"columnsWidthMap.get(column.id)\"\n [style.max-width.px]=\"columnsWidthMap.get(column.id)\"\n [style.min-width.px]=\"columnsWidthMap.get(column.id)\"\n [title]=\"column.label\"\n [tooltipText]=\"\n headerTooltipsEnabled ? column.label : undefined\n \"\n [alignment]=\"getColumnAlignment(column)\"\n >\n {{ column.label }}\n </th>\n <ng-container>\n <td\n nui-cell\n *nuiCellDef=\"let element\"\n [style.width.px]=\"columnsWidthMap.get(column.id)\"\n [style.max-width.px]=\"\n columnsWidthMap.get(column.id)\n \"\n [style.min-width.px]=\"\n columnsWidthMap.get(column.id)\n \"\n [alignment]=\"getColumnAlignment(column)\"\n >\n <ng-container\n nuiComponentPortal\n componentId=\"formatter\"\n *ngIf=\"element[column.id] && column.formatter\"\n [componentType]=\"\n column.formatter?.componentType\n \"\n [properties]=\"element[column.id]\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"\n componentPortal.attached($event)\n \"\n ></ng-template>\n </ng-container>\n </td>\n </ng-container>\n </ng-container>\n <tr nui-header-row *nuiHeaderRowDef=\"headers\"></tr>\n <ng-template\n nuiRowDef\n cdkVirtualFor\n let-row\n [nuiRowDefColumns]=\"headers\"\n [cdkVirtualForOf]=\"tableData\"\n [cdkVirtualForTemplateCacheSize]=\"10\"\n [cdkVirtualForTrackBy]=\"dataTrackBy()\"\n >\n <tr\n nui-row\n (click)=\"onInteraction(row, $event)\"\n [attr.role]=\"interactive ? 'button' : ''\"\n density=\"tiny\"\n [rowObject]=\"row.__record\"\n [clickableRow]=\"clickableRow\"\n ></tr>\n </ng-template>\n </table>\n </cdk-virtual-scroll-viewport>\n </div>\n <div [hidden]=\"!hasPaginator\" class=\"mt-2\">\n <ng-container *ngTemplateOutlet=\"footer\"></ng-container>\n </div>\n</div>\n\n<ng-template #footer>\n <footer>\n <nui-paginator\n #paginator\n id=\"nui-table-widget-paginator\"\n [appendToBody]=\"true\"\n [page]=\"paginatorAddon.paginatorState.page\"\n [pageSize]=\"paginatorAddon.paginatorState.pageSize\"\n [pageSizeSet]=\"paginatorAddon.paginatorState.pageSizeSet\"\n [total]=\"paginatorAddon.paginatorState.total\"\n (pagerAction)=\"onPagerAction($event)\"\n >\n </nui-paginator>\n </footer>\n</ng-template>\n", styles: [".nui-table-widget{overflow:auto;width:100%}.nui-table-widget .display-contents{display:contents}.nui-table-widget__main{flex:1 1 auto}.nui-table-widget__paginator{margin-top:10px}.nui-table-widget__overflow{overflow-y:auto}.nui-table-widget .nui-table-widget-container .virtual-scroll-disabled.cdk-virtual-scroll-viewport{overflow:hidden!important}.nui-table-widget .nui-table-search-limit-warning{display:block;margin-top:5px}:host-context(.mobile) .calc-height{min-height:200px}:host.table-widget-fullwidth{width:calc(100% - 10px)}.invisible{height:0}@-moz-document url-prefix(){.nui-table-widget-container{margin-right:10px}}\n"], dependencies: [{ kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i2.ImageComponent, selector: "nui-image", inputs: ["image", "description", "float", "margin", "isWatermark", "width", "height", "autoFill"] }, { kind: "directive", type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "directive", type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { kind: "component", type: i2.TableComponent, selector: "nui-table, table[nui-table]", inputs: ["reorderable", "sortable", "resizable", "selectable", "selectionConfig", "totalItems", "dataSource", "selection", "sortedColumn", "paginatorUsed"], outputs: ["columnsOrderChange", "sortOrderChanged", "selectionChange", "columnsWidthChange"], exportAs: ["nuiTable"] }, { kind: "directive", type: i2.TableHeaderRowDefDirective, selector: "[nuiHeaderRowDef]", inputs: ["nuiHeaderRowDef", "nuiHeaderRowDefSticky"] }, { kind: "directive", type: i2.TableCellDefDirective, selector: "[nuiCellDef]" }, { kind: "directive", type: i2.TableRowDefDirective, selector: "[nuiRowDef]", inputs: ["nuiRowDefColumns", "nuiRowDefWhen"] }, { kind: "component", type: i2.TableHeaderRowComponent, selector: "nui-header-row, tr[nui-header-row]", inputs: ["density"], exportAs: ["nuiHeaderRow"] }, { kind: "component", type: i2.TableRowComponent, selector: "nui-row, tr[nui-row]", inputs: ["density", "rowObject", "clickableRow", "clickableRowConfig"], exportAs: ["nuiRow"] }, { kind: "directive", type: i2.TableHeaderCellDefDirective, selector: "[nuiHeaderCellDef]" }, { kind: "component", type: i2.TableHeaderCellComponent, selector: "nui-header-cell, th[nui-header-cell]", inputs: ["alignment", "tooltipText", "isColumnSortingDisabled"] }, { kind: "directive", type: i2.TableCellDirective, selector: "nui-cell, td[nui-cell]", inputs: ["tooltipText", "alignment"] }, { kind: "directive", type: i2.TableColumnDefDirective, selector: "[nuiColumnDef]", inputs: ["nuiColumnDef", "type", "columnWidth"] }, { kind: "directive", type: i2.TableStickyHeaderDirective, selector: "cdk-virtual-scroll-viewport[tableStickyHeader]", inputs: ["tableStickyHeader"] }, { kind: "directive", type: i11.CdkFixedSizeVirtualScroll, selector: "cdk-virtual-scroll-viewport[itemSize]", inputs: ["itemSize", "minBufferPx", "maxBufferPx"] }, { kind: "directive", type: i11.CdkVirtualForOf, selector: "[cdkVirtualFor][cdkVirtualForOf]", inputs: ["cdkVirtualForOf", "cdkVirtualForTrackBy", "cdkVirtualForTemplate", "cdkVirtualForTemplateCacheSize"] }, { kind: "component", type: i11.CdkVirtualScrollViewport, selector: "cdk-virtual-scroll-viewport", inputs: ["orientation", "appendOnly"], outputs: ["scrolledIndexChange"] }, { kind: "component", type: i2.SearchComponent, selector: "nui-search", inputs: ["captureFocus", "name", "isInErrorState", "placeholder", "value"], outputs: ["cancel", "focusChange", "inputChange", "search"] }, { kind: "component", type: i2.PaginatorComponent, selector: "nui-paginator", inputs: ["itemsList", "page", "pageSize", "pageSizeSet", "total", "dots", "hideIfEmpty", "hide", "activeClass", "disabledClass", "adjacent", "maxElements", "showPrevNext", "popupDirectionTop", "popupBaseElementSelector", "appendToBody"], outputs: ["pagerAction", "pageChange"] }, { kind: "component", type: i2.MessageComponent, selector: "nui-message", inputs: ["type", "allowDismiss", "manualControl"], outputs: ["dismiss"] }, { kind: "directive", type: DelayedMousePresenceDetectionDirective, selector: "[nuiDelayedMousePresenceDetection]", inputs: ["nuiDelayedMousePresenceDetection", "mousePresentSubject", "delay"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
7816
7837
  }
7817
7838
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: TableWidgetComponent, decorators: [{
7818
7839
  type: Component,
@@ -7824,7 +7845,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImpor
7824
7845
  // Note: Moved here from configuration to ensure that consumers will not override it.
7825
7846
  // Used to prevent table overflowing preview container in the edit/configuration mode.
7826
7847
  "[class.table-widget-fullwidth]": "true",
7827
- }, standalone: false, template: "<div\n class=\"h-100 d-flex justify-content-center align-items-center\"\n *ngIf=\"!shouldDisplayTable()\"\n>\n <nui-image image=\"no-data-to-show\"></nui-image>\n</div>\n<!-- h-100 gets added only when there's data to show to prevent an extra scrollbar when the table is empty -->\n<!-- Using invisible class instead of *ngIf as an non-virtual-scroll breakable way to hide the content. -->\n<div\n class=\"nui-table-widget d-flex flex-column\"\n [ngClass]=\"shouldDisplayTable() ? 'h-100' : 'invisible'\"\n>\n <div class=\"mr-2 mb-2 flex-row\" *ngIf=\"isSearchEnabled\">\n <nui-search\n class=\"unlimited-width d-flex justify-content-end flex-grow-1\"\n [value]=\"searchValue\"\n (inputChange)=\"onSearchInputChanged($event)\"\n (cancel)=\"onSearchInputChanged($event)\"\n >\n </nui-search>\n </div>\n <div\n class=\"flex-row h-100 nui-table-widget-container\"\n [nuiDelayedMousePresenceDetection]=\"\n delayedMousePresenceDetectionEnabled\n \"\n [delay]=\"configuration.scrollActivationDelayMs\"\n [mousePresentSubject]=\"mousePresent$\"\n >\n <!-- Note: Using inline style to let tableStickyHeader pick the actual height and update it with header height when it is detached -->\n <cdk-virtual-scroll-viewport\n class=\"calc-height\"\n style=\"height: calc(100% - 2px)\"\n tableStickyHeader\n [itemSize]=\"rowHeight\"\n [ngClass]=\"{\n 'virtual-scroll-disabled':\n (mousePresent$ | async) === false &&\n delayedMousePresenceDetectionEnabled\n }\"\n >\n <table\n class=\"nui-table-widget__main\"\n nui-table\n [reorderable]=\"configuration?.reorderable\"\n [sortable]=\"sortable\"\n [selection]=\"selection\"\n [selectionConfig]=\"configuration?.selectionConfiguration\"\n [totalItems]=\"totalItems\"\n [paginatorUsed]=\"hasPaginator && configuration?.selectionConfiguration?.allPages\"\n [dataSource]=\"hasVirtualScroll ? virtualScrollAddon.visibleItems : tableData\"\n [sortedColumn]=\"sortedColumn\"\n (sortOrderChanged)=\"onSortOrderChanged($event)\"\n (selectionChange)=\"onSelectionChange($event)\"\n [trackBy]=\"dataTrackBy()\"\n #widgetTable\n >\n <ng-container\n nuiColumnDef=\"{{ column.id }}\"\n *ngFor=\"let column of columns; trackBy: columnTrackBy\"\n >\n <th\n nui-header-cell\n [isColumnSortingDisabled]=\"!column.sortable\"\n *nuiHeaderCellDef\n [style.width.px]=\"columnsWidthMap.get(column.id)\"\n [style.max-width.px]=\"columnsWidthMap.get(column.id)\"\n [style.min-width.px]=\"columnsWidthMap.get(column.id)\"\n [title]=\"column.label\"\n [tooltipText]=\"\n headerTooltipsEnabled ? column.label : undefined\n \"\n [alignment]=\"getColumnAlignment(column)\"\n >\n {{ column.label }}\n </th>\n <ng-container>\n <td\n nui-cell\n *nuiCellDef=\"let element\"\n [style.width.px]=\"columnsWidthMap.get(column.id)\"\n [style.max-width.px]=\"\n columnsWidthMap.get(column.id)\n \"\n [style.min-width.px]=\"\n columnsWidthMap.get(column.id)\n \"\n [alignment]=\"getColumnAlignment(column)\"\n >\n <ng-container\n nuiComponentPortal\n componentId=\"formatter\"\n *ngIf=\"element[column.id] && column.formatter\"\n [componentType]=\"\n column.formatter?.componentType\n \"\n [properties]=\"element[column.id]\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"\n componentPortal.attached($event)\n \"\n ></ng-template>\n </ng-container>\n </td>\n </ng-container>\n </ng-container>\n <tr nui-header-row *nuiHeaderRowDef=\"headers\"></tr>\n <ng-template\n nuiRowDef\n cdkVirtualFor\n let-row\n [nuiRowDefColumns]=\"headers\"\n [cdkVirtualForOf]=\"tableData\"\n [cdkVirtualForTemplateCacheSize]=\"10\"\n [cdkVirtualForTrackBy]=\"dataTrackBy()\"\n >\n <tr\n nui-row\n (click)=\"onInteraction(row, $event)\"\n [attr.role]=\"interactive ? 'button' : ''\"\n density=\"tiny\"\n [rowObject]=\"row.__record\"\n [clickableRow]=\"clickableRow\"\n ></tr>\n </ng-template>\n </table>\n </cdk-virtual-scroll-viewport>\n </div>\n <div [hidden]=\"!hasPaginator\" class=\"mt-2\">\n <ng-container *ngTemplateOutlet=\"footer\"></ng-container>\n </div>\n</div>\n\n<ng-template #footer>\n <footer>\n <nui-paginator\n #paginator\n id=\"nui-table-widget-paginator\"\n [appendToBody]=\"true\"\n [page]=\"paginatorAddon.paginatorState.page\"\n [pageSize]=\"paginatorAddon.paginatorState.pageSize\"\n [pageSizeSet]=\"paginatorAddon.paginatorState.pageSizeSet\"\n [total]=\"paginatorAddon.paginatorState.total\"\n (pagerAction)=\"onPagerAction($event)\"\n >\n </nui-paginator>\n </footer>\n</ng-template>\n", styles: [".nui-table-widget{overflow:auto;width:100%}.nui-table-widget .display-contents{display:contents}.nui-table-widget__main{flex:1 1 auto}.nui-table-widget__paginator{margin-top:10px}.nui-table-widget__overflow{overflow-y:auto}.nui-table-widget .nui-table-widget-container .virtual-scroll-disabled.cdk-virtual-scroll-viewport{overflow:hidden!important}:host-context(.mobile) .calc-height{min-height:200px}:host.table-widget-fullwidth{width:calc(100% - 10px)}.invisible{height:0}@-moz-document url-prefix(){.nui-table-widget-container{margin-right:10px}}\n"] }]
7848
+ }, standalone: false, template: "<div\n class=\"h-100 d-flex justify-content-center align-items-center\"\n *ngIf=\"!shouldDisplayTable()\"\n>\n <nui-image image=\"no-data-to-show\"></nui-image>\n</div>\n<!-- h-100 gets added only when there's data to show to prevent an extra scrollbar when the table is empty -->\n<!-- Using invisible class instead of *ngIf as an non-virtual-scroll breakable way to hide the content. -->\n<div\n class=\"nui-table-widget d-flex flex-column\"\n [ngClass]=\"shouldDisplayTable() ? 'h-100' : 'invisible'\"\n>\n <div class=\"mr-2 mb-2 flex-row\" *ngIf=\"isSearchEnabled\">\n <nui-search\n class=\"unlimited-width d-flex justify-content-end flex-grow-1\"\n [value]=\"searchValue\"\n (inputChange)=\"onSearchInputChanged($event)\"\n (cancel)=\"onSearchInputChanged($event)\"\n >\n </nui-search>\n @if (isSearchLimitWarningDisplayed()) {\n <nui-message\n class=\"nui-table-search-limit-warning\"\n type=\"warning\"\n [allowDismiss]=\"false\"\n i18n>\n Search query limit is {{ searchLimitMaxLength }} characters.\n </nui-message>\n }\n </div>\n <div\n class=\"flex-row h-100 nui-table-widget-container\"\n [nuiDelayedMousePresenceDetection]=\"\n delayedMousePresenceDetectionEnabled\n \"\n [delay]=\"configuration.scrollActivationDelayMs\"\n [mousePresentSubject]=\"mousePresent$\"\n >\n <!-- Note: Using inline style to let tableStickyHeader pick the actual height and update it with header height when it is detached -->\n <cdk-virtual-scroll-viewport\n class=\"calc-height\"\n style=\"height: calc(100% - 2px)\"\n tableStickyHeader\n [itemSize]=\"rowHeight\"\n [ngClass]=\"{\n 'virtual-scroll-disabled':\n (mousePresent$ | async) === false &&\n delayedMousePresenceDetectionEnabled\n }\"\n >\n <table\n class=\"nui-table-widget__main\"\n nui-table\n [reorderable]=\"configuration?.reorderable\"\n [sortable]=\"sortable\"\n [selection]=\"selection\"\n [selectionConfig]=\"configuration?.selectionConfiguration\"\n [totalItems]=\"totalItems\"\n [paginatorUsed]=\"hasPaginator && configuration?.selectionConfiguration?.allPages\"\n [dataSource]=\"hasVirtualScroll ? virtualScrollAddon.visibleItems : tableData\"\n [sortedColumn]=\"sortedColumn\"\n (sortOrderChanged)=\"onSortOrderChanged($event)\"\n (selectionChange)=\"onSelectionChange($event)\"\n [trackBy]=\"dataTrackBy()\"\n #widgetTable\n >\n <ng-container\n nuiColumnDef=\"{{ column.id }}\"\n *ngFor=\"let column of columns; trackBy: columnTrackBy\"\n >\n <th\n nui-header-cell\n [isColumnSortingDisabled]=\"!column.sortable\"\n *nuiHeaderCellDef\n [style.width.px]=\"columnsWidthMap.get(column.id)\"\n [style.max-width.px]=\"columnsWidthMap.get(column.id)\"\n [style.min-width.px]=\"columnsWidthMap.get(column.id)\"\n [title]=\"column.label\"\n [tooltipText]=\"\n headerTooltipsEnabled ? column.label : undefined\n \"\n [alignment]=\"getColumnAlignment(column)\"\n >\n {{ column.label }}\n </th>\n <ng-container>\n <td\n nui-cell\n *nuiCellDef=\"let element\"\n [style.width.px]=\"columnsWidthMap.get(column.id)\"\n [style.max-width.px]=\"\n columnsWidthMap.get(column.id)\n \"\n [style.min-width.px]=\"\n columnsWidthMap.get(column.id)\n \"\n [alignment]=\"getColumnAlignment(column)\"\n >\n <ng-container\n nuiComponentPortal\n componentId=\"formatter\"\n *ngIf=\"element[column.id] && column.formatter\"\n [componentType]=\"\n column.formatter?.componentType\n \"\n [properties]=\"element[column.id]\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"\n componentPortal.attached($event)\n \"\n ></ng-template>\n </ng-container>\n </td>\n </ng-container>\n </ng-container>\n <tr nui-header-row *nuiHeaderRowDef=\"headers\"></tr>\n <ng-template\n nuiRowDef\n cdkVirtualFor\n let-row\n [nuiRowDefColumns]=\"headers\"\n [cdkVirtualForOf]=\"tableData\"\n [cdkVirtualForTemplateCacheSize]=\"10\"\n [cdkVirtualForTrackBy]=\"dataTrackBy()\"\n >\n <tr\n nui-row\n (click)=\"onInteraction(row, $event)\"\n [attr.role]=\"interactive ? 'button' : ''\"\n density=\"tiny\"\n [rowObject]=\"row.__record\"\n [clickableRow]=\"clickableRow\"\n ></tr>\n </ng-template>\n </table>\n </cdk-virtual-scroll-viewport>\n </div>\n <div [hidden]=\"!hasPaginator\" class=\"mt-2\">\n <ng-container *ngTemplateOutlet=\"footer\"></ng-container>\n </div>\n</div>\n\n<ng-template #footer>\n <footer>\n <nui-paginator\n #paginator\n id=\"nui-table-widget-paginator\"\n [appendToBody]=\"true\"\n [page]=\"paginatorAddon.paginatorState.page\"\n [pageSize]=\"paginatorAddon.paginatorState.pageSize\"\n [pageSizeSet]=\"paginatorAddon.paginatorState.pageSizeSet\"\n [total]=\"paginatorAddon.paginatorState.total\"\n (pagerAction)=\"onPagerAction($event)\"\n >\n </nui-paginator>\n </footer>\n</ng-template>\n", styles: [".nui-table-widget{overflow:auto;width:100%}.nui-table-widget .display-contents{display:contents}.nui-table-widget__main{flex:1 1 auto}.nui-table-widget__paginator{margin-top:10px}.nui-table-widget__overflow{overflow-y:auto}.nui-table-widget .nui-table-widget-container .virtual-scroll-disabled.cdk-virtual-scroll-viewport{overflow:hidden!important}.nui-table-widget .nui-table-search-limit-warning{display:block;margin-top:5px}:host-context(.mobile) .calc-height{min-height:200px}:host.table-widget-fullwidth{width:calc(100% - 10px)}.invisible{height:0}@-moz-document url-prefix(){.nui-table-widget-container{margin-right:10px}}\n"] }]
7828
7849
  }], ctorParameters: () => [{ type: i2.EventBus, decorators: [{
7829
7850
  type: Inject,
7830
7851
  args: [PIZZAGNA_EVENT_BUS]
@@ -10825,391 +10846,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImpor
10825
10846
  }]
10826
10847
  }] });
10827
10848
 
10828
- // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
10829
- //
10830
- // Permission is hereby granted, free of charge, to any person obtaining a copy
10831
- // of this software and associated documentation files (the "Software"), to
10832
- // deal in the Software without restriction, including without limitation the
10833
- // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
10834
- // sell copies of the Software, and to permit persons to whom the Software is
10835
- // furnished to do so, subject to the following conditions:
10836
- //
10837
- // The above copyright notice and this permission notice shall be included in
10838
- // all copies or substantial portions of the Software.
10839
- //
10840
- // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
10841
- // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
10842
- // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
10843
- // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
10844
- // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
10845
- // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
10846
- // THE SOFTWARE.
10847
- const HTML_COLORS = new Map([
10848
- ["aliceblue", "#f0f8ff"],
10849
- ["antiquewhite", "#faebd7"],
10850
- ["aqua", "#00ffff"],
10851
- ["aquamarine", "#7fffd4"],
10852
- ["azure", "#f0ffff"],
10853
- ["beige", "#f5f5dc"],
10854
- ["bisque", "#ffe4c4"],
10855
- ["black", "#000000"],
10856
- ["blanchedalmond", "#ffebcd"],
10857
- ["blue", "#0000ff"],
10858
- ["blueviolet", "#8a2be2"],
10859
- ["brown", "#a52a2a"],
10860
- ["burlywood", "#deb887"],
10861
- ["cadetblue", "#5f9ea0"],
10862
- ["chartreuse", "#7fff00"],
10863
- ["chocolate", "#d2691e"],
10864
- ["coral", "#ff7f50"],
10865
- ["cornflowerblue", "#6495ed"],
10866
- ["cornsilk", "#fff8dc"],
10867
- ["crimson", "#dc143c"],
10868
- ["cyan", "#00ffff"],
10869
- ["darkblue", "#00008b"],
10870
- ["darkcyan", "#008b8b"],
10871
- ["darkgoldenrod", "#b8860b"],
10872
- ["darkgray", "#a9a9a9"],
10873
- ["darkgreen", "#006400"],
10874
- ["darkkhaki", "#bdb76b"],
10875
- ["darkmagenta", "#8b008b"],
10876
- ["darkolivegreen", "#556b2f"],
10877
- ["darkorange", "#ff8c00"],
10878
- ["darkorchid", "#9932cc"],
10879
- ["darkred", "#8b0000"],
10880
- ["darksalmon", "#e9967a"],
10881
- ["darkseagreen", "#8fbc8f"],
10882
- ["darkslateblue", "#483d8b"],
10883
- ["darkslategray", "#2f4f4f"],
10884
- ["darkturquoise", "#00ced1"],
10885
- ["darkviolet", "#9400d3"],
10886
- ["deeppink", "#ff1493"],
10887
- ["deepskyblue", "#00bfff"],
10888
- ["dimgray", "#696969"],
10889
- ["dodgerblue", "#1e90ff"],
10890
- ["firebrick", "#b22222"],
10891
- ["floralwhite", "#fffaf0"],
10892
- ["forestgreen", "#228b22"],
10893
- ["fuchsia", "#ff00ff"],
10894
- ["gainsboro", "#dcdcdc"],
10895
- ["ghostwhite", "#f8f8ff"],
10896
- ["gold", "#ffd700"],
10897
- ["goldenrod", "#daa520"],
10898
- ["gray", "#808080"],
10899
- ["green", "#008000"],
10900
- ["greenyellow", "#adff2f"],
10901
- ["honeydew", "#f0fff0"],
10902
- ["hotpink", "#ff69b4"],
10903
- ["indianred ", "#cd5c5c"],
10904
- ["indigo", "#4b0082"],
10905
- ["ivory", "#fffff0"],
10906
- ["khaki", "#f0e68c"],
10907
- ["lavender", "#e6e6fa"],
10908
- ["lavenderblush", "#fff0f5"],
10909
- ["lawngreen", "#7cfc00"],
10910
- ["lemonchiffon", "#fffacd"],
10911
- ["lightblue", "#add8e6"],
10912
- ["lightcoral", "#f08080"],
10913
- ["lightcyan", "#e0ffff"],
10914
- ["lightgoldenrodyellow", "#fafad2"],
10915
- ["lightgrey", "#d3d3d3"],
10916
- ["lightgreen", "#90ee90"],
10917
- ["lightpink", "#ffb6c1"],
10918
- ["lightsalmon", "#ffa07a"],
10919
- ["lightseagreen", "#20b2aa"],
10920
- ["lightskyblue", "#87cefa"],
10921
- ["lightslategray", "#778899"],
10922
- ["lightsteelblue", "#b0c4de"],
10923
- ["lightyellow", "#ffffe0"],
10924
- ["lime", "#00ff00"],
10925
- ["limegreen", "#32cd32"],
10926
- ["linen", "#faf0e6"],
10927
- ["magenta", "#ff00ff"],
10928
- ["maroon", "#800000"],
10929
- ["mediumaquamarine", "#66cdaa"],
10930
- ["mediumblue", "#0000cd"],
10931
- ["mediumorchid", "#ba55d3"],
10932
- ["mediumpurple", "#9370d8"],
10933
- ["mediumseagreen", "#3cb371"],
10934
- ["mediumslateblue", "#7b68ee"],
10935
- ["mediumspringgreen", "#00fa9a"],
10936
- ["mediumturquoise", "#48d1cc"],
10937
- ["mediumvioletred", "#c71585"],
10938
- ["midnightblue", "#191970"],
10939
- ["mintcream", "#f5fffa"],
10940
- ["mistyrose", "#ffe4e1"],
10941
- ["moccasin", "#ffe4b5"],
10942
- ["navajowhite", "#ffdead"],
10943
- ["navy", "#000080"],
10944
- ["oldlace", "#fdf5e6"],
10945
- ["olive", "#808000"],
10946
- ["olivedrab", "#6b8e23"],
10947
- ["orange", "#ffa500"],
10948
- ["orangered", "#ff4500"],
10949
- ["orchid", "#da70d6"],
10950
- ["palegoldenrod", "#eee8aa"],
10951
- ["palegreen", "#98fb98"],
10952
- ["paleturquoise", "#afeeee"],
10953
- ["palevioletred", "#d87093"],
10954
- ["papayawhip", "#ffefd5"],
10955
- ["peachpuff", "#ffdab9"],
10956
- ["peru", "#cd853f"],
10957
- ["pink", "#ffc0cb"],
10958
- ["plum", "#dda0dd"],
10959
- ["powderblue", "#b0e0e6"],
10960
- ["purple", "#800080"],
10961
- ["rebeccapurple", "#663399"],
10962
- ["red", "#ff0000"],
10963
- ["rosybrown", "#bc8f8f"],
10964
- ["royalblue", "#4169e1"],
10965
- ["saddlebrown", "#8b4513"],
10966
- ["salmon", "#fa8072"],
10967
- ["sandybrown", "#f4a460"],
10968
- ["seagreen", "#2e8b57"],
10969
- ["seashell", "#fff5ee"],
10970
- ["sienna", "#a0522d"],
10971
- ["silver", "#c0c0c0"],
10972
- ["skyblue", "#87ceeb"],
10973
- ["slateblue", "#6a5acd"],
10974
- ["slategray", "#708090"],
10975
- ["snow", "#fffafa"],
10976
- ["springgreen", "#00ff7f"],
10977
- ["steelblue", "#4682b4"],
10978
- ["tan", "#d2b48c"],
10979
- ["teal", "#008080"],
10980
- ["thistle", "#d8bfd8"],
10981
- ["tomato", "#ff6347"],
10982
- ["turquoise", "#40e0d0"],
10983
- ["violet", "#ee82ee"],
10984
- ["wheat", "#f5deb3"],
10985
- ["white", "#ffffff"],
10986
- ["whitesmoke", "#f5f5f5"],
10987
- ["yellow", "#ffff00"],
10988
- ["yellowgreen", "#9acd32"],
10989
- ]);
10990
-
10991
- // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
10992
- //
10993
- // Permission is hereby granted, free of charge, to any person obtaining a copy
10994
- // of this software and associated documentation files (the "Software"), to
10995
- // deal in the Software without restriction, including without limitation the
10996
- // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
10997
- // sell copies of the Software, and to permit persons to whom the Software is
10998
- // furnished to do so, subject to the following conditions:
10999
- //
11000
- // The above copyright notice and this permission notice shall be included in
11001
- // all copies or substantial portions of the Software.
11002
- //
11003
- // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
11004
- // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
11005
- // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
11006
- // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
11007
- // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
11008
- // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
11009
- // THE SOFTWARE.
11010
- class ColorService {
11011
- RGBToHexRGBToHex(rgbColor) {
11012
- // Choose correct separator
11013
- const sep = rgbColor.indexOf(",") > -1 ? "," : " ";
11014
- // Turn "rgb(r,g,b)" into [r,g,b]
11015
- const rgbParts = rgbColor.substr(4).split(")")[0].split(sep);
11016
- let r = (+rgbParts[0]).toString(16), g = (+rgbParts[1]).toString(16), b = (+rgbParts[2]).toString(16);
11017
- if (r.length === 1) {
11018
- r = "0" + r;
11019
- }
11020
- if (g.length === 1) {
11021
- g = "0" + g;
11022
- }
11023
- if (b.length === 1) {
11024
- b = "0" + b;
11025
- }
11026
- return "#" + r + g + b;
11027
- }
11028
- isHEX(hexColor) {
11029
- return (/^#[0-9A-F]{6}$/i.test(hexColor) ||
11030
- /^#([0-9A-F]{3}){1,2}$/i.test(hexColor));
11031
- }
11032
- colorKeywordsToHex(color) {
11033
- const hexOfColor = HTML_COLORS.get(color);
11034
- return !_isNil(hexOfColor) ? hexOfColor : "";
11035
- }
11036
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: ColorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
11037
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: ColorService }); }
11038
- }
11039
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: ColorService, decorators: [{
11040
- type: Injectable
11041
- }] });
11042
-
11043
- // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
11044
- //
11045
- // Permission is hereby granted, free of charge, to any person obtaining a copy
11046
- // of this software and associated documentation files (the "Software"), to
11047
- // deal in the Software without restriction, including without limitation the
11048
- // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
11049
- // sell copies of the Software, and to permit persons to whom the Software is
11050
- // furnished to do so, subject to the following conditions:
11051
- //
11052
- // The above copyright notice and this permission notice shall be included in
11053
- // all copies or substantial portions of the Software.
11054
- //
11055
- // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
11056
- // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
11057
- // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
11058
- // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
11059
- // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
11060
- // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
11061
- // THE SOFTWARE.
11062
- // Left and right paddings of .color-picker-container element
11063
- const CONTAINER_SIDE_PADDINGS_PX = 20;
11064
- // Width of the .box element
11065
- const BOX_WIDTH_PX = 30;
11066
- class ColorPickerComponent {
11067
- constructor(changeDetection, colorService, cdkOverlay) {
11068
- this.changeDetection = changeDetection;
11069
- this.colorService = colorService;
11070
- this.cdkOverlay = cdkOverlay;
11071
- this.defaultColor = "var(--nui-color-bg-secondary)";
11072
- this.overlayUtilities = new OverlayUtilitiesService();
11073
- this.destroy$ = new Subject();
11074
- this.setStyles = (color) => ({
11075
- "background-color": color || this.defaultColor,
11076
- });
11077
- }
11078
- ngOnChanges(changes) {
11079
- if (changes.colors) {
11080
- this.colors = changes.colors.currentValue;
11081
- }
11082
- if (changes.colorPalette) {
11083
- this.colorPalette = changes.colorPalette.currentValue;
11084
- }
11085
- }
11086
- ngAfterViewInit() {
11087
- if (this.value) {
11088
- this.select?.writeValue(this.value);
11089
- this.isBlackTick = this.determineBlackTick(this.value.toString());
11090
- }
11091
- this.palette =
11092
- this.colorPalette || this.colors.map((color) => ({ color }));
11093
- this.initOverlayUtilities();
11094
- this.select.valueSelected
11095
- .pipe(tap((value) => this.writeValue(value)), tap((value) => this.onChange(value)), takeUntil(this.destroy$))
11096
- .subscribe((value) => {
11097
- if (value) {
11098
- this.isBlackTick = this.determineBlackTick(value.toString());
11099
- }
11100
- });
11101
- const positions = getOverlayPositions();
11102
- const positionStrategy = this.cdkOverlay
11103
- .position()
11104
- .flexibleConnectedTo(this.select.elRef.nativeElement)
11105
- .withPush(false)
11106
- .withViewportMargin(0)
11107
- .withPositions([
11108
- positions["bottom-right"],
11109
- positions["bottom-left"],
11110
- positions["top-right"],
11111
- positions["top-left"],
11112
- ]);
11113
- this.overlayConfig = {
11114
- maxWidth: this.cols
11115
- ? this.cols * BOX_WIDTH_PX + CONTAINER_SIDE_PADDINGS_PX + "px"
11116
- : "260px",
11117
- positionStrategy,
11118
- };
11119
- }
11120
- ngOnDestroy() {
11121
- this.destroy$.next();
11122
- this.destroy$.complete();
11123
- }
11124
- onChange(value) { }
11125
- _onTouched() { }
11126
- writeValue(value) {
11127
- this.value = value;
11128
- this.select?.writeValue(value);
11129
- }
11130
- registerOnChange(fn) {
11131
- this.onChange = fn;
11132
- }
11133
- registerOnTouched(fn) {
11134
- this._onTouched = fn;
11135
- }
11136
- determineBlackTick(color) {
11137
- let hexColorValue = "#fff";
11138
- if (this.colorService.isHEX(color)) {
11139
- hexColorValue = color;
11140
- }
11141
- else {
11142
- hexColorValue =
11143
- getColorValueByName(color) ||
11144
- this.colorService.RGBToHexRGBToHex(color) ||
11145
- this.colorService.colorKeywordsToHex(color);
11146
- }
11147
- return this.getContrastOnBgColor(hexColorValue) === "#fff";
11148
- }
11149
- initOverlayUtilities() {
11150
- const dropdown = this.select.dropdown;
11151
- const config = { updateSize: false };
11152
- this.selectResizeObserver = this.overlayUtilities
11153
- .setPopupComponent(this.select.dropdown)
11154
- .getResizeObserver(config);
11155
- dropdown.show$.pipe(takeUntil(this.destroy$)).subscribe(() => {
11156
- this.overlayUtilities.syncWidth();
11157
- this.selectResizeObserver.observe(this.select.elRef.nativeElement);
11158
- });
11159
- dropdown.hide$.pipe(takeUntil(this.destroy$)).subscribe(() => {
11160
- this.selectResizeObserver.unobserve(this.select.elRef.nativeElement);
11161
- });
11162
- }
11163
- // convert hex code to rgb and compare the contrast of pure black and pure white on bgColor
11164
- getContrastOnBgColor(bgColor) {
11165
- if (!bgColor) {
11166
- return "";
11167
- }
11168
- return parseInt(bgColor.replace("#", ""), 16) > 0xffffff / 2
11169
- ? "#fff"
11170
- : "#000";
11171
- }
11172
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: ColorPickerComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: ColorService }, { token: i2$1.Overlay }], target: i0.ɵɵFactoryTarget.Component }); }
11173
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.7", type: ColorPickerComponent, isStandalone: false, selector: "nui-color-picker", inputs: { colors: "colors", colorPalette: "colorPalette", cols: "cols" }, providers: [
11174
- {
11175
- provide: NuiFormFieldControl,
11176
- useExisting: forwardRef((() => ColorPickerComponent)),
11177
- multi: true,
11178
- },
11179
- {
11180
- provide: NG_VALUE_ACCESSOR,
11181
- useExisting: forwardRef((() => ColorPickerComponent)),
11182
- multi: true,
11183
- },
11184
- ColorService,
11185
- ], viewQueries: [{ propertyName: "select", first: true, predicate: i0.forwardRef(() => SelectV2Component), descendants: true }], usesOnChanges: true, ngImport: i0, template: "<nui-select-v2\n class=\"color-picker-select\"\n [overlayConfig]=\"overlayConfig\"\n [syncWidth]=\"false\"\n [displayValueTemplate]=\"colorSelectTemplate\"\n>\n <div class=\"color-picker-container\">\n <div class=\"d-inline-flex flex-wrap box\" *ngFor=\"let item of palette\">\n <nui-select-v2-option\n [value]=\"item?.color\"\n [displayValueContext]=\"item\"\n class=\"w-100 h-100 reset-box-sizes\"\n #option\n >\n <div\n class=\"color-picker-option\"\n [attr.title]=\"item?.label\"\n [class.color-picker-option--selected]=\"option?.selected\"\n >\n <div\n class=\"color-picker-option__color-box\"\n [ngStyle]=\"setStyles(item?.color)\"\n >\n <div\n class=\"color-picker-option__glyph\"\n [class.black-tick]=\"\n isBlackTick || item?.color === defaultColor\n \"\n *ngIf=\"option?.selected\"\n ></div>\n </div>\n </div>\n </nui-select-v2-option>\n </div>\n </div>\n</nui-select-v2>\n\n<ng-template #colorSelectTemplate let-item let-open=\"open\">\n <div class=\"color-picker-input\">\n <div class=\"color-picker-input__box\" [attr.title]=\"item?.label\">\n <div\n class=\"color-picker-input__color-box\"\n [ngStyle]=\"setStyles(item?.color)\"\n ></div>\n </div>\n <div class=\"color-picker-input__toggle\">\n <nui-icon\n [style.transform]=\"open ? 'rotate(180deg)' : ''\"\n icon=\"caret-down\"\n ></nui-icon>\n </div>\n </div>\n</ng-template>\n", styles: [".box{width:30px;height:30px}.color-picker-container{padding:5px 10px}.color-picker-select{width:fit-content;min-width:unset;cursor:pointer}.color-picker-input{display:flex}.color-picker-input__box{display:flex;align-items:center;flex-grow:1}.color-picker-input__color-box{width:16px;height:16px;border-radius:3px;border:1px solid;border-color:var(--nui-color-line-default,#d9d9d9);width:17px;height:17px;flex-grow:1;margin:0 10px}.color-picker-input__toggle{display:flex;justify-content:center;align-items:center;border-left:1px solid;border-left-color:var(--nui-color-line-default,#d9d9d9);width:30px;height:30px}.color-picker-option{display:flex;justify-content:center;align-items:center;height:100%}.color-picker-option__color-box{width:16px;height:16px;border-radius:3px;border:1px solid;border-color:var(--nui-color-line-default,#d9d9d9);padding:1px 0 0 1px}.color-picker-option--selected{background-color:var(--nui-color-selected,rgba(0, 196, 210, .1))}.color-picker-option--selected:focus{outline:none}.color-picker-option__glyph{width:100%;height:100%;background-size:12px;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMjAgMjAiIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMjAgMjA7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4KCS54dWktY2hlY2tib3gtZ2x5cGh7ZmlsbDpub25lO3N0cm9rZTojRkZGRkZGO3N0cm9rZS13aWR0aDozO3N0cm9rZS1taXRlcmxpbWl0OjEwO3N0cm9rZS1saW5lY2FwOnJvdW5kO30KPC9zdHlsZT4KPHBvbHlsaW5lIGNsYXNzPSJ4dWktY2hlY2tib3gtZ2x5cGgiIHBvaW50cz0iMTcsNCA4LDE1IDMsOSAiLz4KPC9zdmc+);background-repeat:no-repeat}.color-picker-option__glyph.black-tick{filter:invert(1) grayscale(1) contrast(100)}\n"], dependencies: [{ kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i2.IconComponent, selector: "nui-icon", inputs: ["iconColor", "brushType", "iconHoverColor", "iconSize", "cssClass", "fillContainer", "status", "childStatus", "icon", "counter"] }, { kind: "component", type: i2.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { kind: "component", type: i2.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["value", "index", "displayValueContext", "outfiltered"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
11186
- }
11187
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: ColorPickerComponent, decorators: [{
11188
- type: Component,
11189
- args: [{ selector: "nui-color-picker", changeDetection: ChangeDetectionStrategy.OnPush, providers: [
11190
- {
11191
- provide: NuiFormFieldControl,
11192
- useExisting: forwardRef((() => ColorPickerComponent)),
11193
- multi: true,
11194
- },
11195
- {
11196
- provide: NG_VALUE_ACCESSOR,
11197
- useExisting: forwardRef((() => ColorPickerComponent)),
11198
- multi: true,
11199
- },
11200
- ColorService,
11201
- ], standalone: false, template: "<nui-select-v2\n class=\"color-picker-select\"\n [overlayConfig]=\"overlayConfig\"\n [syncWidth]=\"false\"\n [displayValueTemplate]=\"colorSelectTemplate\"\n>\n <div class=\"color-picker-container\">\n <div class=\"d-inline-flex flex-wrap box\" *ngFor=\"let item of palette\">\n <nui-select-v2-option\n [value]=\"item?.color\"\n [displayValueContext]=\"item\"\n class=\"w-100 h-100 reset-box-sizes\"\n #option\n >\n <div\n class=\"color-picker-option\"\n [attr.title]=\"item?.label\"\n [class.color-picker-option--selected]=\"option?.selected\"\n >\n <div\n class=\"color-picker-option__color-box\"\n [ngStyle]=\"setStyles(item?.color)\"\n >\n <div\n class=\"color-picker-option__glyph\"\n [class.black-tick]=\"\n isBlackTick || item?.color === defaultColor\n \"\n *ngIf=\"option?.selected\"\n ></div>\n </div>\n </div>\n </nui-select-v2-option>\n </div>\n </div>\n</nui-select-v2>\n\n<ng-template #colorSelectTemplate let-item let-open=\"open\">\n <div class=\"color-picker-input\">\n <div class=\"color-picker-input__box\" [attr.title]=\"item?.label\">\n <div\n class=\"color-picker-input__color-box\"\n [ngStyle]=\"setStyles(item?.color)\"\n ></div>\n </div>\n <div class=\"color-picker-input__toggle\">\n <nui-icon\n [style.transform]=\"open ? 'rotate(180deg)' : ''\"\n icon=\"caret-down\"\n ></nui-icon>\n </div>\n </div>\n</ng-template>\n", styles: [".box{width:30px;height:30px}.color-picker-container{padding:5px 10px}.color-picker-select{width:fit-content;min-width:unset;cursor:pointer}.color-picker-input{display:flex}.color-picker-input__box{display:flex;align-items:center;flex-grow:1}.color-picker-input__color-box{width:16px;height:16px;border-radius:3px;border:1px solid;border-color:var(--nui-color-line-default,#d9d9d9);width:17px;height:17px;flex-grow:1;margin:0 10px}.color-picker-input__toggle{display:flex;justify-content:center;align-items:center;border-left:1px solid;border-left-color:var(--nui-color-line-default,#d9d9d9);width:30px;height:30px}.color-picker-option{display:flex;justify-content:center;align-items:center;height:100%}.color-picker-option__color-box{width:16px;height:16px;border-radius:3px;border:1px solid;border-color:var(--nui-color-line-default,#d9d9d9);padding:1px 0 0 1px}.color-picker-option--selected{background-color:var(--nui-color-selected,rgba(0, 196, 210, .1))}.color-picker-option--selected:focus{outline:none}.color-picker-option__glyph{width:100%;height:100%;background-size:12px;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMjAgMjAiIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMjAgMjA7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4KCS54dWktY2hlY2tib3gtZ2x5cGh7ZmlsbDpub25lO3N0cm9rZTojRkZGRkZGO3N0cm9rZS13aWR0aDozO3N0cm9rZS1taXRlcmxpbWl0OjEwO3N0cm9rZS1saW5lY2FwOnJvdW5kO30KPC9zdHlsZT4KPHBvbHlsaW5lIGNsYXNzPSJ4dWktY2hlY2tib3gtZ2x5cGgiIHBvaW50cz0iMTcsNCA4LDE1IDMsOSAiLz4KPC9zdmc+);background-repeat:no-repeat}.color-picker-option__glyph.black-tick{filter:invert(1) grayscale(1) contrast(100)}\n"] }]
11202
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: ColorService }, { type: i2$1.Overlay }], propDecorators: { colors: [{
11203
- type: Input
11204
- }], colorPalette: [{
11205
- type: Input
11206
- }], cols: [{
11207
- type: Input
11208
- }], select: [{
11209
- type: ViewChild,
11210
- args: [forwardRef(() => SelectV2Component)]
11211
- }] } });
11212
-
11213
10849
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
11214
10850
  //
11215
10851
  // Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -13336,13 +12972,13 @@ class DashwizComponent {
13336
12972
  const widths = this.stepTitles.map((title) => title.nativeElement.offsetWidth);
13337
12973
  return Math.round(Math.max(...widths));
13338
12974
  }
13339
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: DashwizComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ComponentFactoryResolver }, { token: i2.LoggerService }, { token: DashwizService }, { token: i2$1.ScrollDispatcher }], target: i0.ɵɵFactoryTarget.Component }); }
12975
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: DashwizComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ComponentFactoryResolver }, { token: i2.LoggerService }, { token: DashwizService }, { token: i3.ScrollDispatcher }], target: i0.ɵɵFactoryTarget.Component }); }
13340
12976
  /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.7", type: DashwizComponent, isStandalone: false, selector: "nui-dashwiz", inputs: { hideHeader: "hideHeader", canProceed: "canProceed", canFinish: "canFinish", finishText: "finishText", stretchStepLines: "stretchStepLines", buttonComponentTypes: "buttonComponentTypes", navigationControl: "navigationControl" }, outputs: { stepNavigated: "stepNavigated", cancel: "cancel", finish: "finish", next: "next", back: "back" }, host: { classAttribute: "flex-grow-1 overflow-auto" }, queries: [{ propertyName: "steps", predicate: DashwizStepComponent }], viewQueries: [{ propertyName: "dynamicStep", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef }, { propertyName: "stepTitles", predicate: ["stepTitle"], descendants: true }], ngImport: i0, template: "<div class=\"nui-dashwiz d-flex flex-column h-100\">\n <div\n class=\"nui-dashwiz__header\"\n *ngIf=\"!hideHeader\"\n [class.nui-dashwiz__header--lines-stretched]=\"stretchStepLines\"\n >\n <ul class=\"nui-dashwiz__header-steps\" *ngIf=\"steps\">\n <li\n *ngFor=\"let step of steps; let first = first; let last = last\"\n (click)=\"selectStep(step)\"\n [ngClass]=\"{\n 'nui-dashwiz__header-step--first': first,\n 'nui-dashwiz__header-step--last': last,\n 'nui-dashwiz__header-step--visited': step.visited,\n 'nui-dashwiz__header-step--disabled':\n step.disabled ||\n !step.visited ||\n currentStep.busyConfig.busy,\n 'nui-dashwiz__header-step--active': step.active,\n 'nui-dashwiz__header-step--complete': step.complete\n }\"\n class=\"nui-dashwiz__header-step\"\n >\n <div\n class=\"nui-dashwiz__header-step-container\"\n *ngIf=\"!step.hidden\"\n >\n <div class=\"nui-dashwiz__header-step-row\">\n <div class=\"nui-dashwiz__header-step-col\">\n <div class=\"nui-dashwiz__header-step-content\">\n <span class=\"nui-dashwiz__header-step-link\">\n <span\n class=\"nui-dashwiz__header-step-title\"\n #stepTitle\n >\n {{ step.title }}\n </span>\n <div\n class=\"nui-dashwiz__header-step-link-container\"\n >\n <div\n class=\"nui-dashwiz__header-step-col nui-dashwiz__header-step-col-right\"\n >\n <div\n class=\"nui-dashwiz__header-step-line\"\n [ngStyle]=\"{\n 'min-width.px':\n stepLineWidth\n }\"\n ></div>\n </div>\n <nui-icon\n [icon]=\"step.icon\"\n [iconColor]=\"step.iconColor\"\n ></nui-icon>\n <div\n class=\"nui-dashwiz__header-step-col nui-dashwiz__header-step-col-left\"\n >\n <div\n class=\"nui-dashwiz__header-step-line\"\n [ngStyle]=\"{\n 'min-width.px':\n stepLineWidth\n }\"\n ></div>\n </div>\n </div>\n </span>\n </div>\n </div>\n </div>\n </div>\n </li>\n </ul>\n </div>\n\n <div class=\"flex-grow-1 overflow-auto\">\n <ng-content></ng-content>\n <ng-template #container></ng-template>\n </div>\n\n <div\n class=\"nui-dashwiz__footer\"\n [class.shadow]=\"scrolled\"\n >\n <ng-container\n nuiComponentPortal\n componentId=\"dashwizButtons\"\n [componentType]=\"\n buttonComponentTypes.length === 1\n ? buttonComponentTypes[0]\n : buttonComponentTypes[stepIndex]\n \"\n [properties]=\"buttonProperties\"\n [outputs]=\"['cancel', 'next', 'back', 'finish']\"\n (output)=\"onButtonPortalOutput($event)\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n </div>\n</div>\n", styles: [".nui-dashwiz__header{padding:10px 15px;background-color:var(--nui-color-bg-secondary,#fafafa);border-bottom:1px solid #d9d9d9;border-bottom:1px solid var(--nui-color-line-default, #d9d9d9);overflow:hidden;text-align:center;display:flex;justify-content:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.nui-dashwiz__header-steps{margin-bottom:0;white-space:nowrap;display:inline-flex}.nui-dashwiz__header-step{line-height:normal;display:inline-flex;cursor:pointer}.nui-dashwiz__header-step--disabled{pointer-events:none;cursor:default}.nui-dashwiz__header-step--visited .nui-dashwiz__header-step-link{color:var(--nui-color-text-link,#0079aa)}.nui-dashwiz__header-step--visited .nui-dashwiz__header-step-link:hover{text-decoration:underline}.nui-dashwiz__header-step--visited .nui-dashwiz__header-step-col-right>.nui-dashwiz__header-step-line{border-color:var(--nui-color-line-active,#0079aa)}.nui-dashwiz__header-step--first .nui-dashwiz__header-step-col-right,.nui-dashwiz__header-step--last .nui-dashwiz__header-step-col-left{border-color:transparent;opacity:0}.nui-dashwiz__header-step--active{cursor:default}.nui-dashwiz__header-step--active .nui-dashwiz__header-step-link{color:var(--nui-color-bg-dark,#111)}.nui-dashwiz__header-step--active .nui-dashwiz__header-step-link:hover .nui-dashwiz__header-step-title{text-decoration:none}.nui-dashwiz__header-step--active .nui-dashwiz__header-step-link .nui-dashwiz__header-step-col-right>.nui-dashwiz__header-step-line{border-color:var(--nui-color-line-active,#0079aa)}.nui-dashwiz__header-step--complete .nui-dashwiz__header-step-link .nui-dashwiz__header-step-col-left>.nui-dashwiz__header-step-line{border-color:var(--nui-color-line-active,#0079aa)}.nui-dashwiz__header-step--complete .nui-dashwiz__header-step-link .nui-dashwiz__header-step-col-right>.nui-dashwiz__header-step-line{border-color:var(--nui-color-line-active,#0079aa)}.nui-dashwiz__header-step-container{display:inline-table;width:100%}.nui-dashwiz__header-step-container-bottom{display:none}.nui-dashwiz__header-step-container-bottom .nui-dashwiz__header-step-title{width:100%;max-width:100%;margin:0}.nui-dashwiz__header-step-row{display:table-row}.nui-dashwiz__header-step-col{display:table-cell;vertical-align:middle}.nui-dashwiz__header-step-col .nui-dashwiz__header-step-line{border-color:var(--nui-color-line-default,#d9d9d9)}.nui-dashwiz__header-step-col-right .nui-dashwiz__header-step-line{margin-right:-1px}.nui-dashwiz__header-step-line{border-bottom:solid 2px;height:2px}.nui-dashwiz__header-step-link{color:var(--nui-color-text-secondary,rgba(17, 17, 17, .6));transition:color .3s}.nui-dashwiz__header-step-link-container{display:flex;align-content:baseline;justify-content:center;align-items:center}.nui-dashwiz__header-step-title{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;-o-text-overflow:ellipsis;text-overflow:ellipsis;vertical-align:middle;display:inline-block;max-width:140px;margin:0 0 5px;text-decoration:inherit}.nui-dashwiz__header.nui-dashwiz__header--lines-stretched .nui-dashwiz__header-step-title{max-width:unset}.nui-dashwiz__footer{z-index:1080;background-color:var(--nui-color-bg-content,#fff);border-top:solid 1px var(--nui-color-line-default, #d9d9d9);transition:box-shadow .3s ease-in-out}.nui-dashwiz__footer.shadow{box-shadow:0 0 5px 0 var(--nui-shadow-color-stronger, rgba(17, 17, 17, .6))}\n"], dependencies: [{ kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "directive", type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { kind: "component", type: i2.IconComponent, selector: "nui-icon", inputs: ["iconColor", "brushType", "iconHoverColor", "iconSize", "cssClass", "fillContainer", "status", "childStatus", "icon", "counter"] }] }); }
13341
12977
  }
13342
12978
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: DashwizComponent, decorators: [{
13343
12979
  type: Component,
13344
12980
  args: [{ selector: "nui-dashwiz", host: { class: "flex-grow-1 overflow-auto" }, standalone: false, template: "<div class=\"nui-dashwiz d-flex flex-column h-100\">\n <div\n class=\"nui-dashwiz__header\"\n *ngIf=\"!hideHeader\"\n [class.nui-dashwiz__header--lines-stretched]=\"stretchStepLines\"\n >\n <ul class=\"nui-dashwiz__header-steps\" *ngIf=\"steps\">\n <li\n *ngFor=\"let step of steps; let first = first; let last = last\"\n (click)=\"selectStep(step)\"\n [ngClass]=\"{\n 'nui-dashwiz__header-step--first': first,\n 'nui-dashwiz__header-step--last': last,\n 'nui-dashwiz__header-step--visited': step.visited,\n 'nui-dashwiz__header-step--disabled':\n step.disabled ||\n !step.visited ||\n currentStep.busyConfig.busy,\n 'nui-dashwiz__header-step--active': step.active,\n 'nui-dashwiz__header-step--complete': step.complete\n }\"\n class=\"nui-dashwiz__header-step\"\n >\n <div\n class=\"nui-dashwiz__header-step-container\"\n *ngIf=\"!step.hidden\"\n >\n <div class=\"nui-dashwiz__header-step-row\">\n <div class=\"nui-dashwiz__header-step-col\">\n <div class=\"nui-dashwiz__header-step-content\">\n <span class=\"nui-dashwiz__header-step-link\">\n <span\n class=\"nui-dashwiz__header-step-title\"\n #stepTitle\n >\n {{ step.title }}\n </span>\n <div\n class=\"nui-dashwiz__header-step-link-container\"\n >\n <div\n class=\"nui-dashwiz__header-step-col nui-dashwiz__header-step-col-right\"\n >\n <div\n class=\"nui-dashwiz__header-step-line\"\n [ngStyle]=\"{\n 'min-width.px':\n stepLineWidth\n }\"\n ></div>\n </div>\n <nui-icon\n [icon]=\"step.icon\"\n [iconColor]=\"step.iconColor\"\n ></nui-icon>\n <div\n class=\"nui-dashwiz__header-step-col nui-dashwiz__header-step-col-left\"\n >\n <div\n class=\"nui-dashwiz__header-step-line\"\n [ngStyle]=\"{\n 'min-width.px':\n stepLineWidth\n }\"\n ></div>\n </div>\n </div>\n </span>\n </div>\n </div>\n </div>\n </div>\n </li>\n </ul>\n </div>\n\n <div class=\"flex-grow-1 overflow-auto\">\n <ng-content></ng-content>\n <ng-template #container></ng-template>\n </div>\n\n <div\n class=\"nui-dashwiz__footer\"\n [class.shadow]=\"scrolled\"\n >\n <ng-container\n nuiComponentPortal\n componentId=\"dashwizButtons\"\n [componentType]=\"\n buttonComponentTypes.length === 1\n ? buttonComponentTypes[0]\n : buttonComponentTypes[stepIndex]\n \"\n [properties]=\"buttonProperties\"\n [outputs]=\"['cancel', 'next', 'back', 'finish']\"\n (output)=\"onButtonPortalOutput($event)\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n </div>\n</div>\n", styles: [".nui-dashwiz__header{padding:10px 15px;background-color:var(--nui-color-bg-secondary,#fafafa);border-bottom:1px solid #d9d9d9;border-bottom:1px solid var(--nui-color-line-default, #d9d9d9);overflow:hidden;text-align:center;display:flex;justify-content:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.nui-dashwiz__header-steps{margin-bottom:0;white-space:nowrap;display:inline-flex}.nui-dashwiz__header-step{line-height:normal;display:inline-flex;cursor:pointer}.nui-dashwiz__header-step--disabled{pointer-events:none;cursor:default}.nui-dashwiz__header-step--visited .nui-dashwiz__header-step-link{color:var(--nui-color-text-link,#0079aa)}.nui-dashwiz__header-step--visited .nui-dashwiz__header-step-link:hover{text-decoration:underline}.nui-dashwiz__header-step--visited .nui-dashwiz__header-step-col-right>.nui-dashwiz__header-step-line{border-color:var(--nui-color-line-active,#0079aa)}.nui-dashwiz__header-step--first .nui-dashwiz__header-step-col-right,.nui-dashwiz__header-step--last .nui-dashwiz__header-step-col-left{border-color:transparent;opacity:0}.nui-dashwiz__header-step--active{cursor:default}.nui-dashwiz__header-step--active .nui-dashwiz__header-step-link{color:var(--nui-color-bg-dark,#111)}.nui-dashwiz__header-step--active .nui-dashwiz__header-step-link:hover .nui-dashwiz__header-step-title{text-decoration:none}.nui-dashwiz__header-step--active .nui-dashwiz__header-step-link .nui-dashwiz__header-step-col-right>.nui-dashwiz__header-step-line{border-color:var(--nui-color-line-active,#0079aa)}.nui-dashwiz__header-step--complete .nui-dashwiz__header-step-link .nui-dashwiz__header-step-col-left>.nui-dashwiz__header-step-line{border-color:var(--nui-color-line-active,#0079aa)}.nui-dashwiz__header-step--complete .nui-dashwiz__header-step-link .nui-dashwiz__header-step-col-right>.nui-dashwiz__header-step-line{border-color:var(--nui-color-line-active,#0079aa)}.nui-dashwiz__header-step-container{display:inline-table;width:100%}.nui-dashwiz__header-step-container-bottom{display:none}.nui-dashwiz__header-step-container-bottom .nui-dashwiz__header-step-title{width:100%;max-width:100%;margin:0}.nui-dashwiz__header-step-row{display:table-row}.nui-dashwiz__header-step-col{display:table-cell;vertical-align:middle}.nui-dashwiz__header-step-col .nui-dashwiz__header-step-line{border-color:var(--nui-color-line-default,#d9d9d9)}.nui-dashwiz__header-step-col-right .nui-dashwiz__header-step-line{margin-right:-1px}.nui-dashwiz__header-step-line{border-bottom:solid 2px;height:2px}.nui-dashwiz__header-step-link{color:var(--nui-color-text-secondary,rgba(17, 17, 17, .6));transition:color .3s}.nui-dashwiz__header-step-link-container{display:flex;align-content:baseline;justify-content:center;align-items:center}.nui-dashwiz__header-step-title{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;-o-text-overflow:ellipsis;text-overflow:ellipsis;vertical-align:middle;display:inline-block;max-width:140px;margin:0 0 5px;text-decoration:inherit}.nui-dashwiz__header.nui-dashwiz__header--lines-stretched .nui-dashwiz__header-step-title{max-width:unset}.nui-dashwiz__footer{z-index:1080;background-color:var(--nui-color-bg-content,#fff);border-top:solid 1px var(--nui-color-line-default, #d9d9d9);transition:box-shadow .3s ease-in-out}.nui-dashwiz__footer.shadow{box-shadow:0 0 5px 0 var(--nui-shadow-color-stronger, rgba(17, 17, 17, .6))}\n"] }]
13345
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ComponentFactoryResolver }, { type: i2.LoggerService }, { type: DashwizService }, { type: i2$1.ScrollDispatcher }], propDecorators: { steps: [{
12981
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ComponentFactoryResolver }, { type: i2.LoggerService }, { type: DashwizService }, { type: i3.ScrollDispatcher }], propDecorators: { steps: [{
13346
12982
  type: ContentChildren,
13347
12983
  args: [DashwizStepComponent]
13348
12984
  }], stepTitles: [{
@@ -13527,13 +13163,13 @@ class WidgetClonerComponent {
13527
13163
  this.changeDetector.markForCheck();
13528
13164
  });
13529
13165
  }
13530
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: WidgetClonerComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: ConfiguratorComponent }, { token: PreviewService }, { token: i1$2.FormBuilder }, { token: WidgetTypesService }, { token: i2$1.ScrollDispatcher }], target: i0.ɵɵFactoryTarget.Component }); }
13166
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: WidgetClonerComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: ConfiguratorComponent }, { token: PreviewService }, { token: i1$2.FormBuilder }, { token: WidgetTypesService }, { token: i3.ScrollDispatcher }], target: i0.ɵɵFactoryTarget.Component }); }
13531
13167
  /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.7", type: WidgetClonerComponent, isStandalone: false, selector: "nui-widget-cloner", inputs: { formPizzagna: "formPizzagna", cloneSelectionComponentType: "cloneSelectionComponentType" }, host: { classAttribute: "d-flex flex-column h-100" }, ngImport: i0, template: "<nui-configurator-heading\n configuratorTitle=\"Creating Widget\"\n i18n-configuratorTitle\n class=\"header\"\n (close)=\"onCancel()\"\n [disableCloseButton]=\"busy\"\n [class.shadow]=\"scrolled\"\n></nui-configurator-heading>\n<nui-dashwiz\n [hideHeader]=\"true\"\n [canProceed]=\"!!widgetTemplate\"\n [canFinish]=\"canFinish()\"\n finishText=\"Create Widget\"\n i18n-finishText\n [navigationControl]=\"navigationControl\"\n (finish)=\"onFinish()\"\n (cancel)=\"onCancel()\"\n (stepNavigated)=\"onStepNavigated($event)\"\n>\n <nui-dashwiz-step [stepTemplate]=\"step1\" nextText=\"Customize\" i18n-nextText>\n </nui-dashwiz-step>\n <nui-dashwiz-step [stepTemplate]=\"step2\"></nui-dashwiz-step>\n</nui-dashwiz>\n\n<ng-template #step1>\n <div class=\"p-4 h-100\">\n <ng-container\n nuiComponentPortal\n [componentType]=\"cloneSelectionComponentType\"\n [outputs]=\"['widgetSelected']\"\n (output)=\"onSelect($event.payload)\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n </div>\n</ng-template>\n\n<ng-template #step2>\n <div [formGroup]=\"form\">\n <nui-pizzagna\n #formPizzagnaComponent\n [(pizzagna)]=\"formPizzagna\"\n ></nui-pizzagna>\n </div>\n</ng-template>\n", styles: [".header{transition:box-shadow .3s ease-in-out}.header.shadow{box-shadow:0 0 5px 0 var(--nui-shadow-color-stronger, rgba(17, 17, 17, .6))}\n"], dependencies: [{ kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "component", type: PizzagnaComponent, selector: "nui-pizzagna", inputs: ["rootNode", "pizzagna", "outputs"], outputs: ["pizzagnaChange", "output"] }, { kind: "directive", type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { kind: "component", type: DashwizComponent, selector: "nui-dashwiz", inputs: ["hideHeader", "canProceed", "canFinish", "finishText", "stretchStepLines", "buttonComponentTypes", "navigationControl"], outputs: ["stepNavigated", "cancel", "finish", "next", "back"] }, { kind: "component", type: DashwizStepComponent, selector: "nui-dashwiz-step", inputs: ["stepTemplate", "stepControl", "title", "nextText", "hidden", "disabled", "spinnerSize"], outputs: ["enter", "valid", "exit", "next"] }, { kind: "component", type: ConfiguratorHeadingComponent, selector: "nui-configurator-heading", inputs: ["configuratorTitle", "disableCloseButton"], outputs: ["close"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
13532
13168
  }
13533
13169
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: WidgetClonerComponent, decorators: [{
13534
13170
  type: Component,
13535
13171
  args: [{ selector: "nui-widget-cloner", host: { class: "d-flex flex-column h-100" }, changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<nui-configurator-heading\n configuratorTitle=\"Creating Widget\"\n i18n-configuratorTitle\n class=\"header\"\n (close)=\"onCancel()\"\n [disableCloseButton]=\"busy\"\n [class.shadow]=\"scrolled\"\n></nui-configurator-heading>\n<nui-dashwiz\n [hideHeader]=\"true\"\n [canProceed]=\"!!widgetTemplate\"\n [canFinish]=\"canFinish()\"\n finishText=\"Create Widget\"\n i18n-finishText\n [navigationControl]=\"navigationControl\"\n (finish)=\"onFinish()\"\n (cancel)=\"onCancel()\"\n (stepNavigated)=\"onStepNavigated($event)\"\n>\n <nui-dashwiz-step [stepTemplate]=\"step1\" nextText=\"Customize\" i18n-nextText>\n </nui-dashwiz-step>\n <nui-dashwiz-step [stepTemplate]=\"step2\"></nui-dashwiz-step>\n</nui-dashwiz>\n\n<ng-template #step1>\n <div class=\"p-4 h-100\">\n <ng-container\n nuiComponentPortal\n [componentType]=\"cloneSelectionComponentType\"\n [outputs]=\"['widgetSelected']\"\n (output)=\"onSelect($event.payload)\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n </div>\n</ng-template>\n\n<ng-template #step2>\n <div [formGroup]=\"form\">\n <nui-pizzagna\n #formPizzagnaComponent\n [(pizzagna)]=\"formPizzagna\"\n ></nui-pizzagna>\n </div>\n</ng-template>\n", styles: [".header{transition:box-shadow .3s ease-in-out}.header.shadow{box-shadow:0 0 5px 0 var(--nui-shadow-color-stronger, rgba(17, 17, 17, .6))}\n"] }]
13536
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: ConfiguratorComponent }, { type: PreviewService }, { type: i1$2.FormBuilder }, { type: WidgetTypesService }, { type: i2$1.ScrollDispatcher }], propDecorators: { formPizzagna: [{
13172
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: ConfiguratorComponent }, { type: PreviewService }, { type: i1$2.FormBuilder }, { type: WidgetTypesService }, { type: i3.ScrollDispatcher }], propDecorators: { formPizzagna: [{
13537
13173
  type: Input
13538
13174
  }], cloneSelectionComponentType: [{
13539
13175
  type: Input
@@ -14187,7 +13823,7 @@ class BackgroundColorRulesConfigurationComponent {
14187
13823
  rules.setControl(currentIndex, temp);
14188
13824
  }
14189
13825
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: BackgroundColorRulesConfigurationComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$2.FormBuilder }, { token: KpiColorComparatorsRegistryService }], target: i0.ɵɵFactoryTarget.Component }); }
14190
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.7", type: BackgroundColorRulesConfigurationComponent, isStandalone: false, selector: "nui-background-color-rules-configuration", inputs: { rules: "rules", backgroundColors: "backgroundColors" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<nui-widget-editor-accordion\n [formGroup]=\"formLocal\"\n [state]=\"formLocal | nuiWidgetEditorAccordionFormState | async\"\n>\n <nui-widget-editor-accordion-header\n [headerIcon]=\"formLocal | nuiFormHeaderIconPipe : 'color' | async\"\n [subtitle]=\"getColorRulesSubtitle()\"\n headerTitle=\"Background color rules\"\n />\n <div class=\"kpi-color-rules-configuration__accordion-content\">\n <div class=\"mb-4\">\n <p class=\"mb-3\">\n We can automatically change the background color when the value\n meets certain conditions.\n </p>\n <div cdkDropList (cdkDropListDropped)=\"drop($event)\">\n <ng-container\n *ngFor=\"\n let rule of formLocal.get('rules')?.value.controls;\n index as i\n \"\n >\n <div\n class=\"kpi-color-rule d-flex pt-3\"\n [formGroup]=\"rule\"\n cdkDrag\n (cdkDragStarted)=\"cdkDragStarted($event)\"\n >\n <div\n class=\"kpi-color-rule__control justify-content-center d-flex\"\n >\n <nui-icon\n icon=\"drag\"\n class=\"kpi-color-rule__drag align-items-center\"\n cdkDragHandle\n ></nui-icon>\n </div>\n <div class=\"d-flex flex-grow-1 flex-wrap\">\n <nui-form-field\n class=\"mr-3 mb-3 flex-grow-1\"\n [control]=\"rule.get('comparisonType')\"\n >\n <nui-select-v2\n placeholder=\"Select Item\"\n i18n-placeholder\n style=\"min-width: 220px\"\n [formControl]=\"rule.get('comparisonType')\"\n >\n <nui-select-v2-option\n *ngFor=\"\n let item of availableComparators\n | keyvalue\n \"\n [value]=\"item.key\"\n >\n {{ getLabel(item.key) }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n\n <nui-form-field\n class=\"mr-3 mb-3\"\n [control]=\"rule.get('value')\"\n style=\"max-width: 100px\"\n >\n <nui-textbox\n formControlName=\"value\"\n ></nui-textbox>\n </nui-form-field>\n\n <nui-form-field\n class=\"mr-3 mb-3\"\n [control]=\"rule.get('color')\"\n >\n <nui-color-picker\n formControlName=\"color\"\n [colorPalette]=\"palette\"\n ></nui-color-picker>\n </nui-form-field>\n </div>\n <button\n nui-button\n icon=\"delete\"\n displayStyle=\"action\"\n type=\"button\"\n class=\"kpi-color-rule__control\"\n (click)=\"removeRule(i)\"\n ></button>\n <nui-drop-area\n *cdkDragPlaceholder\n [style.height.px]=\"height\"\n ></nui-drop-area>\n </div>\n </ng-container>\n </div>\n <button\n nui-button\n icon=\"add\"\n displayStyle=\"action\"\n type=\"button\"\n (click)=\"addRule()\"\n i18n\n >\n Add new rule\n </button>\n </div>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".kpi-color-rules-configuration__accordion-content{padding:15px 15px 15px 46px}.kpi-color-rules-configuration__color-select{display:flex;align-items:center}.kpi-color-rules-configuration__color-preview{width:100%;height:20px;border-radius:3px}.kpi-color-rules-configuration__color-preview.with-arrow{width:calc(100% - 40px);margin-left:10px}.kpi-color-rules-configuration__selector-arrow{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-left:1px solid;border-left-color:var(--nui-color-line-default,#d9d9d9);margin-left:10px}.kpi-color-rule{background-color:var(--nui-color-bg-content,#fff)}.kpi-color-rule__drag{cursor:move}.kpi-color-rule__control{min-width:30px;height:30px}\n"], dependencies: [{ kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i5$1.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep", "cdkDropListElementContainer"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: i5$1.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: i5$1.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { kind: "directive", type: i5$1.CdkDragPlaceholder, selector: "ng-template[cdkDragPlaceholder]", inputs: ["data"] }, { kind: "component", type: i2.IconComponent, selector: "nui-icon", inputs: ["iconColor", "brushType", "iconHoverColor", "iconSize", "cssClass", "fillContainer", "status", "childStatus", "icon", "counter"] }, { kind: "component", type: i2.TextboxComponent, selector: "nui-textbox", inputs: ["caption", "autocomplete", "info", "customBoxWidth", "disabled", "hint", "name", "placeholder", "readonly", "rows", "type", "value", "isInErrorState", "ariaLabel", "isBusy"], outputs: ["textChange", "blurred"] }, { kind: "component", type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth", "showOptionalText"] }, { kind: "component", type: i2.ButtonComponent, selector: "[nui-button]", inputs: ["displayStyle", "icon", "iconColor", "iconRight", "isBusy", "isEmpty", "ariaLabel", "isRepeat", "size"] }, { kind: "component", type: i2.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { kind: "component", type: i2.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["value", "index", "displayValueContext", "outfiltered"] }, { kind: "component", type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"], outputs: ["openToggle"] }, { kind: "component", type: WidgetEditorAccordionHeaderComponent, selector: "nui-widget-editor-accordion-header", inputs: ["headerIcon", "iconColor", "subtitle", "headerTitle"] }, { kind: "component", type: ColorPickerComponent, selector: "nui-color-picker", inputs: ["colors", "colorPalette", "cols"] }, { kind: "component", type: DropAreaComponent, selector: "nui-drop-area" }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: i4.KeyValuePipe, name: "keyvalue" }, { kind: "pipe", type: WidgetEditorAccordionFormStatePipe, name: "nuiWidgetEditorAccordionFormState" }, { kind: "pipe", type: FormHeaderIconPipePipe, name: "nuiFormHeaderIconPipe" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
13826
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.7", type: BackgroundColorRulesConfigurationComponent, isStandalone: false, selector: "nui-background-color-rules-configuration", inputs: { rules: "rules", backgroundColors: "backgroundColors" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<nui-widget-editor-accordion\n [formGroup]=\"formLocal\"\n [state]=\"formLocal | nuiWidgetEditorAccordionFormState | async\"\n>\n <nui-widget-editor-accordion-header\n [headerIcon]=\"formLocal | nuiFormHeaderIconPipe : 'color' | async\"\n [subtitle]=\"getColorRulesSubtitle()\"\n headerTitle=\"Background color rules\"\n />\n <div class=\"kpi-color-rules-configuration__accordion-content\">\n <div class=\"mb-4\">\n <p class=\"mb-3\">\n We can automatically change the background color when the value\n meets certain conditions.\n </p>\n <div cdkDropList (cdkDropListDropped)=\"drop($event)\">\n <ng-container\n *ngFor=\"\n let rule of formLocal.get('rules')?.value.controls;\n index as i\n \"\n >\n <div\n class=\"kpi-color-rule d-flex pt-3\"\n [formGroup]=\"rule\"\n cdkDrag\n (cdkDragStarted)=\"cdkDragStarted($event)\"\n >\n <div\n class=\"kpi-color-rule__control justify-content-center d-flex\"\n >\n <nui-icon\n icon=\"drag\"\n class=\"kpi-color-rule__drag align-items-center\"\n cdkDragHandle\n ></nui-icon>\n </div>\n <div class=\"d-flex flex-grow-1 flex-wrap\">\n <nui-form-field\n class=\"mr-3 mb-3 flex-grow-1\"\n [control]=\"rule.get('comparisonType')\"\n >\n <nui-select-v2\n placeholder=\"Select Item\"\n i18n-placeholder\n style=\"min-width: 220px\"\n [formControl]=\"rule.get('comparisonType')\"\n >\n <nui-select-v2-option\n *ngFor=\"\n let item of availableComparators\n | keyvalue\n \"\n [value]=\"item.key\"\n >\n {{ getLabel(item.key) }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n\n <nui-form-field\n class=\"mr-3 mb-3\"\n [control]=\"rule.get('value')\"\n style=\"max-width: 100px\"\n >\n <nui-textbox\n formControlName=\"value\"\n ></nui-textbox>\n </nui-form-field>\n\n <nui-form-field\n class=\"mr-3 mb-3\"\n [control]=\"rule.get('color')\"\n >\n <nui-color-picker\n formControlName=\"color\"\n [colorPalette]=\"palette\"\n ></nui-color-picker>\n </nui-form-field>\n </div>\n <button\n nui-button\n icon=\"delete\"\n displayStyle=\"action\"\n type=\"button\"\n class=\"kpi-color-rule__control\"\n (click)=\"removeRule(i)\"\n ></button>\n <nui-drop-area\n *cdkDragPlaceholder\n [style.height.px]=\"height\"\n ></nui-drop-area>\n </div>\n </ng-container>\n </div>\n <button\n nui-button\n icon=\"add\"\n displayStyle=\"action\"\n type=\"button\"\n (click)=\"addRule()\"\n i18n\n >\n Add new rule\n </button>\n </div>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".kpi-color-rules-configuration__accordion-content{padding:15px 15px 15px 46px}.kpi-color-rules-configuration__color-select{display:flex;align-items:center}.kpi-color-rules-configuration__color-preview{width:100%;height:20px;border-radius:3px}.kpi-color-rules-configuration__color-preview.with-arrow{width:calc(100% - 40px);margin-left:10px}.kpi-color-rules-configuration__selector-arrow{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-left:1px solid;border-left-color:var(--nui-color-line-default,#d9d9d9);margin-left:10px}.kpi-color-rule{background-color:var(--nui-color-bg-content,#fff)}.kpi-color-rule__drag{cursor:move}.kpi-color-rule__control{min-width:30px;height:30px}\n"], dependencies: [{ kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i5$1.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep", "cdkDropListElementContainer"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: i5$1.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: i5$1.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { kind: "directive", type: i5$1.CdkDragPlaceholder, selector: "ng-template[cdkDragPlaceholder]", inputs: ["data"] }, { kind: "component", type: i2.IconComponent, selector: "nui-icon", inputs: ["iconColor", "brushType", "iconHoverColor", "iconSize", "cssClass", "fillContainer", "status", "childStatus", "icon", "counter"] }, { kind: "component", type: i2.TextboxComponent, selector: "nui-textbox", inputs: ["caption", "autocomplete", "info", "customBoxWidth", "disabled", "hint", "name", "placeholder", "readonly", "rows", "type", "value", "isInErrorState", "ariaLabel", "isBusy"], outputs: ["textChange", "blurred"] }, { kind: "component", type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth", "showOptionalText"] }, { kind: "component", type: i2.ButtonComponent, selector: "[nui-button]", inputs: ["displayStyle", "icon", "iconColor", "iconRight", "isBusy", "isEmpty", "ariaLabel", "isRepeat", "size"] }, { kind: "component", type: i2.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { kind: "component", type: i2.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["value", "index", "displayValueContext", "outfiltered"] }, { kind: "component", type: i2.ColorPickerComponent, selector: "nui-color-picker", inputs: ["colors", "colorPalette", "cols", "isSelect"] }, { kind: "component", type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"], outputs: ["openToggle"] }, { kind: "component", type: WidgetEditorAccordionHeaderComponent, selector: "nui-widget-editor-accordion-header", inputs: ["headerIcon", "iconColor", "subtitle", "headerTitle"] }, { kind: "component", type: DropAreaComponent, selector: "nui-drop-area" }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: i4.KeyValuePipe, name: "keyvalue" }, { kind: "pipe", type: WidgetEditorAccordionFormStatePipe, name: "nuiWidgetEditorAccordionFormState" }, { kind: "pipe", type: FormHeaderIconPipePipe, name: "nuiFormHeaderIconPipe" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
14191
13827
  }
14192
13828
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: BackgroundColorRulesConfigurationComponent, decorators: [{
14193
13829
  type: Component,
@@ -14839,7 +14475,7 @@ class KpiDescriptionConfigurationComponent {
14839
14475
  }
14840
14476
  }
14841
14477
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: KpiDescriptionConfigurationComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$2.FormBuilder }], target: i0.ɵɵFactoryTarget.Component }); }
14842
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.7", type: KpiDescriptionConfigurationComponent, isStandalone: false, selector: "nui-kpi-description-configuration", inputs: { componentId: "componentId", configurableUnits: "configurableUnits", label: "label", backgroundColor: "backgroundColor", units: "units", backgroundColors: "backgroundColors" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<nui-widget-editor-accordion\n [formGroup]=\"form\"\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\"\n>\n <div accordionHeader class=\"d-flex align-items-center px-4 py-2\">\n <nui-icon\n class=\"align-self-start pt-2\"\n [icon]=\"form | nuiFormHeaderIconPipe : 'widget_list' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n>Description</span>\n <div class=\"nui-text-secondary\" [title]=\"subtitle$ | async\">\n {{ subtitle$ | async }}\n </div>\n </div>\n </div>\n <div class=\"kpi-description-configuration__accordion-content\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Label\"\n i18n-caption\n [control]=\"form.get('label')\"\n class=\"form-group\"\n >\n <nui-textbox\n formControlName=\"label\"\n placeholder=\"Set label\"\n i18n-placeholder\n ></nui-textbox>\n </nui-form-field>\n </div>\n\n <nui-form-field\n caption=\"Background Color\"\n i18n-caption\n [control]=\"form.get('backgroundColor')\"\n class=\"form-group\"\n >\n <nui-color-picker\n class=\"kpi-description-configuration__accordion-content__color-picker\"\n formControlName=\"backgroundColor\"\n [colorPalette]=\"backgroundColors\"\n >\n </nui-color-picker>\n </nui-form-field>\n\n <div class=\"mt-4\" *ngIf=\"configurableUnits\">\n <nui-form-field\n caption=\"Units\"\n i18n-caption\n [control]=\"form.get('units')\"\n class=\"form-group\"\n >\n <nui-textbox\n formControlName=\"units\"\n placeholder=\"Units\"\n i18n-placeholder\n ></nui-textbox>\n </nui-form-field>\n </div>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".kpi-description-configuration__accordion-content{padding:15px 15px 15px 46px}.kpi-description-configuration__color-select{display:flex;align-items:center}.kpi-description-configuration__color-preview{width:100%;height:20px;border-radius:3px}.kpi-description-configuration__color-preview.with-arrow{width:calc(100% - 40px);margin-left:10px}.kpi-description-configuration__selector-arrow{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-left:1px solid;border-left-color:var(--nui-color-line-default,#d9d9d9);margin-left:10px}\n"], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i2.IconComponent, selector: "nui-icon", inputs: ["iconColor", "brushType", "iconHoverColor", "iconSize", "cssClass", "fillContainer", "status", "childStatus", "icon", "counter"] }, { kind: "component", type: i2.TextboxComponent, selector: "nui-textbox", inputs: ["caption", "autocomplete", "info", "customBoxWidth", "disabled", "hint", "name", "placeholder", "readonly", "rows", "type", "value", "isInErrorState", "ariaLabel", "isBusy"], outputs: ["textChange", "blurred"] }, { kind: "component", type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth", "showOptionalText"] }, { kind: "component", type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"], outputs: ["openToggle"] }, { kind: "component", type: ColorPickerComponent, selector: "nui-color-picker", inputs: ["colors", "colorPalette", "cols"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: WidgetEditorAccordionFormStatePipe, name: "nuiWidgetEditorAccordionFormState" }, { kind: "pipe", type: FormHeaderIconPipePipe, name: "nuiFormHeaderIconPipe" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
14478
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.7", type: KpiDescriptionConfigurationComponent, isStandalone: false, selector: "nui-kpi-description-configuration", inputs: { componentId: "componentId", configurableUnits: "configurableUnits", label: "label", backgroundColor: "backgroundColor", units: "units", backgroundColors: "backgroundColors" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<nui-widget-editor-accordion\n [formGroup]=\"form\"\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\"\n>\n <div accordionHeader class=\"d-flex align-items-center px-4 py-2\">\n <nui-icon\n class=\"align-self-start pt-2\"\n [icon]=\"form | nuiFormHeaderIconPipe : 'widget_list' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n>Description</span>\n <div class=\"nui-text-secondary\" [title]=\"subtitle$ | async\">\n {{ subtitle$ | async }}\n </div>\n </div>\n </div>\n <div class=\"kpi-description-configuration__accordion-content\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Label\"\n i18n-caption\n [control]=\"form.get('label')\"\n class=\"form-group\"\n >\n <nui-textbox\n formControlName=\"label\"\n placeholder=\"Set label\"\n i18n-placeholder\n ></nui-textbox>\n </nui-form-field>\n </div>\n\n <nui-form-field\n caption=\"Background Color\"\n i18n-caption\n [control]=\"form.get('backgroundColor')\"\n class=\"form-group\"\n >\n <nui-color-picker\n class=\"kpi-description-configuration__accordion-content__color-picker\"\n formControlName=\"backgroundColor\"\n [colorPalette]=\"backgroundColors\"\n >\n </nui-color-picker>\n </nui-form-field>\n\n <div class=\"mt-4\" *ngIf=\"configurableUnits\">\n <nui-form-field\n caption=\"Units\"\n i18n-caption\n [control]=\"form.get('units')\"\n class=\"form-group\"\n >\n <nui-textbox\n formControlName=\"units\"\n placeholder=\"Units\"\n i18n-placeholder\n ></nui-textbox>\n </nui-form-field>\n </div>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".kpi-description-configuration__accordion-content{padding:15px 15px 15px 46px}.kpi-description-configuration__color-select{display:flex;align-items:center}.kpi-description-configuration__color-preview{width:100%;height:20px;border-radius:3px}.kpi-description-configuration__color-preview.with-arrow{width:calc(100% - 40px);margin-left:10px}.kpi-description-configuration__selector-arrow{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-left:1px solid;border-left-color:var(--nui-color-line-default,#d9d9d9);margin-left:10px}\n"], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i2.IconComponent, selector: "nui-icon", inputs: ["iconColor", "brushType", "iconHoverColor", "iconSize", "cssClass", "fillContainer", "status", "childStatus", "icon", "counter"] }, { kind: "component", type: i2.TextboxComponent, selector: "nui-textbox", inputs: ["caption", "autocomplete", "info", "customBoxWidth", "disabled", "hint", "name", "placeholder", "readonly", "rows", "type", "value", "isInErrorState", "ariaLabel", "isBusy"], outputs: ["textChange", "blurred"] }, { kind: "component", type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth", "showOptionalText"] }, { kind: "component", type: i2.ColorPickerComponent, selector: "nui-color-picker", inputs: ["colors", "colorPalette", "cols", "isSelect"] }, { kind: "component", type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"], outputs: ["openToggle"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: WidgetEditorAccordionFormStatePipe, name: "nuiWidgetEditorAccordionFormState" }, { kind: "pipe", type: FormHeaderIconPipePipe, name: "nuiFormHeaderIconPipe" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
14843
14479
  }
14844
14480
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: KpiDescriptionConfigurationComponent, decorators: [{
14845
14481
  type: Component,
@@ -18890,12 +18526,12 @@ class ConfiguratorService {
18890
18526
  }
18891
18527
  return componentRef;
18892
18528
  }
18893
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: ConfiguratorService, deps: [{ token: i0.ComponentFactoryResolver }, { token: WidgetTypesService }, { token: i0.Injector }, { token: i0.ApplicationRef }, { token: i2.LoggerService }, { token: i0.RendererFactory2 }, { token: i3.Router, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
18529
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: ConfiguratorService, deps: [{ token: i0.ComponentFactoryResolver }, { token: WidgetTypesService }, { token: i0.Injector }, { token: i0.ApplicationRef }, { token: i2.LoggerService }, { token: i0.RendererFactory2 }, { token: i3$1.Router, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
18894
18530
  /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: ConfiguratorService }); }
18895
18531
  }
18896
18532
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: ConfiguratorService, decorators: [{
18897
18533
  type: Injectable
18898
- }], ctorParameters: () => [{ type: i0.ComponentFactoryResolver }, { type: WidgetTypesService }, { type: i0.Injector }, { type: i0.ApplicationRef }, { type: i2.LoggerService }, { type: i0.RendererFactory2 }, { type: i3.Router, decorators: [{
18534
+ }], ctorParameters: () => [{ type: i0.ComponentFactoryResolver }, { type: WidgetTypesService }, { type: i0.Injector }, { type: i0.ApplicationRef }, { type: i2.LoggerService }, { type: i0.RendererFactory2 }, { type: i3$1.Router, decorators: [{
18899
18535
  type: Optional
18900
18536
  }] }] });
18901
18537
 
@@ -19186,7 +18822,6 @@ const exportedDeclarations = [
19186
18822
  WidgetEditorAccordionComponent,
19187
18823
  WidgetEditorAccordionHeaderComponent,
19188
18824
  ItemsDynamicComponent,
19189
- ColorPickerComponent,
19190
18825
  ConfiguratorHeadingComponent,
19191
18826
  RefreshRateConfiguratorComponent,
19192
18827
  AddDataPipe,
@@ -19260,7 +18895,6 @@ class NuiDashboardConfiguratorModule {
19260
18895
  WidgetEditorAccordionComponent,
19261
18896
  WidgetEditorAccordionHeaderComponent,
19262
18897
  ItemsDynamicComponent,
19263
- ColorPickerComponent,
19264
18898
  ConfiguratorHeadingComponent,
19265
18899
  RefreshRateConfiguratorComponent,
19266
18900
  AddDataPipe,
@@ -19298,7 +18932,8 @@ class NuiDashboardConfiguratorModule {
19298
18932
  NuiSorterModule,
19299
18933
  NuiSearchModule,
19300
18934
  NuiRepeatModule,
19301
- NuiImageModule], exports: [ConfiguratorComponent,
18935
+ NuiImageModule,
18936
+ NuiColorPickerModule], exports: [ConfiguratorComponent,
19302
18937
  FormStackComponent,
19303
18938
  DashwizButtonsComponent,
19304
18939
  DataSourceConfigurationComponent,
@@ -19355,7 +18990,6 @@ class NuiDashboardConfiguratorModule {
19355
18990
  WidgetEditorAccordionComponent,
19356
18991
  WidgetEditorAccordionHeaderComponent,
19357
18992
  ItemsDynamicComponent,
19358
- ColorPickerComponent,
19359
18993
  ConfiguratorHeadingComponent,
19360
18994
  RefreshRateConfiguratorComponent,
19361
18995
  AddDataPipe,
@@ -19404,7 +19038,8 @@ class NuiDashboardConfiguratorModule {
19404
19038
  NuiSorterModule,
19405
19039
  NuiSearchModule,
19406
19040
  NuiRepeatModule,
19407
- NuiImageModule] }); }
19041
+ NuiImageModule,
19042
+ NuiColorPickerModule] }); }
19408
19043
  }
19409
19044
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: NuiDashboardConfiguratorModule, decorators: [{
19410
19045
  type: NgModule,
@@ -19441,6 +19076,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImpor
19441
19076
  NuiSearchModule,
19442
19077
  NuiRepeatModule,
19443
19078
  NuiImageModule,
19079
+ NuiColorPickerModule,
19444
19080
  ],
19445
19081
  declarations: [...exportedDeclarations],
19446
19082
  providers: [
@@ -22387,7 +22023,8 @@ class NuiDashboardsModule {
22387
22023
  NuiRiskScoreModule,
22388
22024
  NuiSelectModule,
22389
22025
  NuiPopoverModule,
22390
- NuiPaginatorModule], exports: [DashboardComponent,
22026
+ NuiPaginatorModule,
22027
+ NuiMessageModule], exports: [DashboardComponent,
22391
22028
  EmbeddedContentComponent,
22392
22029
  GridsterItemWidgetIdDirective,
22393
22030
  KpiComponent,
@@ -22448,7 +22085,8 @@ class NuiDashboardsModule {
22448
22085
  NuiRiskScoreModule,
22449
22086
  NuiSelectModule,
22450
22087
  NuiPopoverModule,
22451
- NuiPaginatorModule] }); }
22088
+ NuiPaginatorModule,
22089
+ NuiMessageModule] }); }
22452
22090
  }
22453
22091
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: NuiDashboardsModule, decorators: [{
22454
22092
  type: NgModule,
@@ -22480,6 +22118,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImpor
22480
22118
  NuiSelectModule,
22481
22119
  NuiPopoverModule,
22482
22120
  NuiPaginatorModule,
22121
+ NuiMessageModule,
22483
22122
  ],
22484
22123
  declarations: dashboardComponents,
22485
22124
  providers: [
@@ -23845,5 +23484,5 @@ const DONUT_CONTENT_CONFIGURATION_SLICE = {
23845
23484
  * Generated bundle index. Do not edit.
23846
23485
  */
23847
23486
 
23848
- export { AccordionState, AddDataPipe, AggregatorMetricSelectorConfigurationComponent, BackgroundColorRulesConfigurationComponent, BaseConverter, BaseLayout, CHANGE_SELECTION, CHART_METRIC_REMOVE, CHART_PALETTE_CS3_ALTERNATIVE_NAMES, CHART_PALETTE_CS_S_EXTENDED_ALTERNATIVE_NAMES, CONFIGURATOR_CONVERTER, ColorPickerComponent, ComponentPortalDirective, ComponentPortalService, ComponentRegistryService, ConfiguratorComponent, ConfiguratorHeadingComponent, ConfiguratorHeadingService, ConfiguratorService, DASHBOARD_EDIT_MODE, DASHBOARD_EVENT_BUS, DATA_SOURCE, DATA_SOURCE_BUSY, DATA_SOURCE_CHANGE, DATA_SOURCE_CREATED, DATA_SOURCE_DESTROYED, DATA_SOURCE_INVOKED, DATA_SOURCE_OUTPUT, DEFAULT_COMPARATORS, DEFAULT_KPI_BACKGROUND_COLORS, DEFAULT_KPI_FORMATTERS, DEFAULT_KPI_TILE_COLOR, DEFAULT_LEGEND_FORMATTERS, DEFAULT_PIZZAGNA_ROOT, DEFAULT_PROPORTIONAL_CONTENT_AGGREGATORS, DEFAULT_PROPORTIONAL_CONTENT_FORMATTERS, DEFAULT_REFRESH_INTERVAL, DEFAULT_UNIT_CONVERSION_THRESHOLD, DONUT_CONTENT_CONFIGURATION_SLICE, DRILLDOWN, DashboardComponent, DashboardUnitConversionPipe, DashwizButtonsComponent, DashwizComponent, DashwizStepComponent, DataSourceAdapter, DataSourceConfigurationComponent, DataSourceConfigurationV2Component, DataSourceErrorComponent, DelayedMousePresenceDetectionDirective, DescriptionConfigurationComponent, DescriptionConfigurationV2Component, DonutChartFormatterConfiguratorComponent, DonutContentConfigurationComponent, DonutContentPercentageConfigurationComponent, DonutContentPercentageFormatterComponent, DonutContentRawFormatterComponent, DonutContentSumFormatterComponent, DropAreaComponent, DynamicComponentCreator, ERROR_FALLBACK_MAP, ERROR_NODES, EVENT_PROXY, EmbeddedContentComponent, EmbeddedContentConfigurationComponent, EmbeddedContentMode, EntityFormattingConfigurationComponent, ErrorNodeKey, EventRegistryService, FORMATTERS_REGISTRY, FieldMapperAggregatorConfiguratorComponent, FormHeaderIconPipePipe, FormStackComponent, FormatterConfiguratorComponent, FormatterRegistryService, GridsterItemWidgetIdDirective, GroupingConfigurationComponent, HEADER_LINK_PROVIDER, HttpStatusCode, INTERACTION, IconFormatterComponent, InfoMessageConfigurationComponent, InteractionHandler, ItemsDynamicComponent, KpiColorComparatorsRegistryService, KpiComponent, KpiDescriptionConfigurationComponent, KpiFormatterTypes, KpiFormattersRegistryService, KpiTilesConfigurationComponent, KpiTilesConverterService, KpiWidgetColorService, KpiWidgetFontSizes, KpiWidgetThresholdColors, LegendPlacement, LineChartComponent, LinkConfiguratorComponent, LinkFormatterComponent, ListGroupItemComponent, ListLeafItemComponent, ListNavigationBarComponent, ListWidgetComponent, LoadingComponent, NOVA_CONFIGURATOR_DATA_SOURCE_MANAGER, NOVA_DASHBOARD_EVENT_PROXY, NOVA_DATASOURCE_ADAPTER, NOVA_DATASOURCE_INTERVAL_REFRESHER, NOVA_DRILLDOWN_DATASOURCE_ADAPTER, NOVA_EVENT_BUS_DEBUGGER, NOVA_GENERIC_ARRAY_CONVERTER, NOVA_GENERIC_CONVERTER, NOVA_KPI_COLOR_PRIORITIZER, NOVA_KPI_DATASOURCE_ADAPTER, NOVA_KPI_FORMATTERS_REGISTRY, NOVA_KPI_SCALE_SYNC_BROKER, NOVA_KPI_SECTION_CONVERTER, NOVA_KPI_STATUS_CONTENT_FALLBACK_ADAPTER, NOVA_KPI_TILES_CONVERTER, NOVA_LOADING_ADAPTER, NOVA_PIZZAGNA_BROADCASTER, NOVA_PROPORTIONAL_CONTENT_FORMATTERS_REGISTRY, NOVA_PROPORTIONAL_WIDGET_CHART_OPTIONS_CONVERTER, NOVA_RISK_SCORE_FORMATTERS_REGISTRY, NOVA_STATUS_CONTENT_FALLBACK_ADAPTER, NOVA_TABLE_COLUMNS_CONVERTER, NOVA_TABLE_DATASOURCE_ADAPTER, NOVA_TABLE_FILTERS_CONVERTER, NOVA_TABLE_FORMATTERS_REGISTRY, NOVA_TABLE_SCROLL_TYPE_CONVERTER, 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, RiskScoreFormatterTypes, RiskScoreFormattersRegistryService, RiskScoreTileComponent, RiskScoreTileDescriptionConfigurationComponent, RiskScoreTilesConfigurationComponent, SCROLL_NEXT_PAGE, SELECTED_ITEMS, SELECTION, SET_NEXT_PAGE, SET_PROPERTY_VALUE, SET_TIMEFRAME, SUMMARY_LEGEND_BCG_COLOR, SUMMARY_LEGEND_COLOR, ScrollType, SiUnitsFormatterComponent, StackComponent, StackedAreaChartComponent, StackedBarChartComponent, StackedPercentageAreaChartComponent, StatusBarChartComponent, StatusWithIconFormatterComponent, TEST_REGISTRY, TIMESERIES_INSPECTION_MENU_CLEAR, TIMESERIES_INSPECTION_MENU_CLOSE, TIMESERIES_INSPECTION_MENU_EXPLORE, TIMESERIES_INSPECTION_MENU_SYNCHRONIZE, TIMESERIES_INSPECTION_MENU_ZOOM_IN, TIMESERIES_INSPECTION_MENU_ZOOM_OUT, TableColumnConfigurationComponent, TableColumnsConfigurationComponent, TableColumnsConfigurationV2Component, TableDataSourceAdapter, TableDataSourceErrorComponent, TableFiltersEditorComponent, TableFormatterRegistryService, TableScrollTypeEditorComponent, TableWidgetComponent, TemplateLoadErrorComponent, ThresholdsConfigurationComponent, TilesComponent, TimeframeSelectionComponent, TimeframeSerializationService, TimeseriesChartPreset, TimeseriesChartPresetService, TimeseriesChartTypes, TimeseriesDataSourceAdapter, TimeseriesInspectionMenuComponent, TimeseriesInteractionType, TimeseriesMetadataConfigurationComponent, TimeseriesScaleType, TimeseriesSeriesCollectionConfigurationComponent, TimeseriesSeriesConverterService, TimeseriesTileDescriptionConfigurationComponent, TimeseriesTileIndicatorDataConfigurationComponent, TimeseriesTransformer, TimeseriesWidgetComponent, TimeseriesWidgetProjectType, TitleAndDescriptionConfigurationComponent, TitleAndDescriptionConverterService, UnitTestRegistryService, 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, WidgetEditorAccordionHeaderComponent, WidgetEditorComponent, WidgetEditorDirective, WidgetEditorService, WidgetErrorComponent, WidgetHeaderComponent, WidgetSearchComponent, WidgetToDashboardEventProxyService, WidgetTypesService, WindowObject, XYChartComponent, applyStatusEndpoints, chartPaletteColorMap, fieldMapper, getPizzagnaPropertyPath, hasControlInErrorState, hasTimeseriesWidgetSummaryLegend, mapDataToFormatterProperties, mergeChanges, metricsSeriesMeasurementsMinMax, percentageAggregator, refresher, sumAggregator, timeSeriesDatetimeFormatter, transformChangePoint, transformDifference, transformFloatingAverage, transformLinReg, transformLoessSmoothing, transformLoessStandardize, transformNormalize, transformPercentileStd, transformStandardize, widgetBodyContentNodes };
23487
+ export { AccordionState, AddDataPipe, AggregatorMetricSelectorConfigurationComponent, BackgroundColorRulesConfigurationComponent, BaseConverter, BaseLayout, CHANGE_SELECTION, CHART_METRIC_REMOVE, CHART_PALETTE_CS3_ALTERNATIVE_NAMES, CHART_PALETTE_CS_S_EXTENDED_ALTERNATIVE_NAMES, CONFIGURATOR_CONVERTER, 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_RISK_SCORE_FORMATTERS_REGISTRY, NOVA_STATUS_CONTENT_FALLBACK_ADAPTER, NOVA_TABLE_COLUMNS_CONVERTER, NOVA_TABLE_DATASOURCE_ADAPTER, NOVA_TABLE_FILTERS_CONVERTER, NOVA_TABLE_FORMATTERS_REGISTRY, NOVA_TABLE_SCROLL_TYPE_CONVERTER, 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, RiskScoreFormatterTypes, RiskScoreFormattersRegistryService, RiskScoreTileComponent, RiskScoreTileDescriptionConfigurationComponent, RiskScoreTilesConfigurationComponent, SCROLL_NEXT_PAGE, SELECTED_ITEMS, SELECTION, SET_NEXT_PAGE, SET_PROPERTY_VALUE, SET_TIMEFRAME, SUMMARY_LEGEND_BCG_COLOR, SUMMARY_LEGEND_COLOR, ScrollType, SiUnitsFormatterComponent, StackComponent, StackedAreaChartComponent, StackedBarChartComponent, StackedPercentageAreaChartComponent, StatusBarChartComponent, StatusWithIconFormatterComponent, TEST_REGISTRY, TIMESERIES_INSPECTION_MENU_CLEAR, TIMESERIES_INSPECTION_MENU_CLOSE, TIMESERIES_INSPECTION_MENU_EXPLORE, TIMESERIES_INSPECTION_MENU_SYNCHRONIZE, TIMESERIES_INSPECTION_MENU_ZOOM_IN, TIMESERIES_INSPECTION_MENU_ZOOM_OUT, TableColumnConfigurationComponent, TableColumnsConfigurationComponent, TableColumnsConfigurationV2Component, TableDataSourceAdapter, TableDataSourceErrorComponent, TableFiltersEditorComponent, TableFormatterRegistryService, TableScrollTypeEditorComponent, TableWidgetComponent, TemplateLoadErrorComponent, ThresholdsConfigurationComponent, TilesComponent, TimeframeSelectionComponent, TimeframeSerializationService, TimeseriesChartPreset, TimeseriesChartPresetService, TimeseriesChartTypes, TimeseriesDataSourceAdapter, TimeseriesInspectionMenuComponent, TimeseriesInteractionType, TimeseriesMetadataConfigurationComponent, TimeseriesScaleType, TimeseriesSeriesCollectionConfigurationComponent, TimeseriesSeriesConverterService, TimeseriesTileDescriptionConfigurationComponent, TimeseriesTileIndicatorDataConfigurationComponent, TimeseriesTransformer, TimeseriesWidgetComponent, TimeseriesWidgetProjectType, TitleAndDescriptionConfigurationComponent, TitleAndDescriptionConverterService, UnitTestRegistryService, 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, WidgetEditorAccordionHeaderComponent, WidgetEditorComponent, WidgetEditorDirective, WidgetEditorService, WidgetErrorComponent, WidgetHeaderComponent, WidgetSearchComponent, WidgetToDashboardEventProxyService, WidgetTypesService, WindowObject, XYChartComponent, applyStatusEndpoints, chartPaletteColorMap, fieldMapper, getPizzagnaPropertyPath, hasControlInErrorState, hasTimeseriesWidgetSummaryLegend, mapDataToFormatterProperties, mergeChanges, metricsSeriesMeasurementsMinMax, percentageAggregator, refresher, sumAggregator, timeSeriesDatetimeFormatter, transformChangePoint, transformDifference, transformFloatingAverage, transformLinReg, transformLoessSmoothing, transformLoessStandardize, transformNormalize, transformPercentileStd, transformStandardize, widgetBodyContentNodes };
23849
23488
  //# sourceMappingURL=nova-ui-dashboards.mjs.map