@nova-ui/dashboards 20.0.7 → 20.0.8

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 (24) hide show
  1. package/fesm2022/nova-ui-dashboards.mjs +455 -5
  2. package/fesm2022/nova-ui-dashboards.mjs.map +1 -1
  3. package/index.d.ts +122 -4
  4. package/package.json +3 -3
  5. package/sdk/atoms/src/lib/components/public-api.d.ts +1 -0
  6. package/sdk/atoms/src/lib/components/public-api.js +1 -0
  7. package/sdk/atoms/src/lib/components/public-api.js.map +1 -1
  8. package/sdk/atoms/src/lib/components/views/kpi-tile-view/kpi-tile-view.component.d.ts +32 -0
  9. package/sdk/atoms/src/lib/components/views/kpi-tile-view/kpi-tile-view.component.js +137 -0
  10. package/sdk/atoms/src/lib/components/views/kpi-tile-view/kpi-tile-view.component.js.map +1 -0
  11. package/sdk/atoms/src/lib/components/views/proportional-chart-view/proportional-chart-view.component.d.ts +55 -0
  12. package/sdk/atoms/src/lib/components/views/proportional-chart-view/proportional-chart-view.component.js +282 -0
  13. package/sdk/atoms/src/lib/components/views/proportional-chart-view/proportional-chart-view.component.js.map +1 -0
  14. package/sdk/atoms/src/lib/components/views/public-api.d.ts +4 -0
  15. package/sdk/atoms/src/lib/components/views/public-api.js +27 -0
  16. package/sdk/atoms/src/lib/components/views/public-api.js.map +1 -0
  17. package/sdk/atoms/src/lib/components/views/types.d.ts +19 -0
  18. package/sdk/atoms/src/lib/components/views/types.js +22 -0
  19. package/sdk/atoms/src/lib/components/views/types.js.map +1 -0
  20. package/sdk/atoms/src/lib/components/views/views.module.d.ts +7 -0
  21. package/sdk/atoms/src/lib/components/views/views.module.js +59 -0
  22. package/sdk/atoms/src/lib/components/views/views.module.js.map +1 -0
  23. package/sdk/atoms/src/lib/dashboards.module.js +2 -0
  24. package/sdk/atoms/src/lib/dashboards.module.js.map +1 -1
@@ -1,9 +1,9 @@
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, signal, ElementRef, ViewContainerRef, ContentChildren, forwardRef } 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, inject, ChangeDetectorRef, KeyValueDiffers } 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, 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';
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, UnitConversionService, NuiCommonModule, NuiProgressModule, NuiTableModule, NuiTimeFrameBarModule, NuiTimeFramePickerModule, NuiTooltipModule, 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';
@@ -5476,6 +5476,102 @@ function mapDataToFormatterProperties(formatter, data) {
5476
5476
  return formatterProps;
5477
5477
  }
5478
5478
 
5479
+ // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
5480
+ //
5481
+ // Permission is hereby granted, free of charge, to any person obtaining a copy
5482
+ // of this software and associated documentation files (the "Software"), to
5483
+ // deal in the Software without restriction, including without limitation the
5484
+ // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
5485
+ // sell copies of the Software, and to permit persons to whom the Software is
5486
+ // furnished to do so, subject to the following conditions:
5487
+ //
5488
+ // The above copyright notice and this permission notice shall be included in
5489
+ // all copies or substantial portions of the Software.
5490
+ //
5491
+ // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
5492
+ // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
5493
+ // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
5494
+ // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
5495
+ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
5496
+ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
5497
+ // THE SOFTWARE.
5498
+ class KpiTileViewComponent {
5499
+ constructor() {
5500
+ this.interactive = false;
5501
+ this.loading = false;
5502
+ this.empty = false;
5503
+ this.margin = 2;
5504
+ this.tileClick = new EventEmitter();
5505
+ this.defaultColor = "var(--nui-color-bg-secondary)";
5506
+ }
5507
+ get computedTextColor() {
5508
+ return this.textColor || this.backgroundColor || this.defaultColor;
5509
+ }
5510
+ get isInteractive() {
5511
+ return this.interactive && !this.showEmpty;
5512
+ }
5513
+ get showEmpty() {
5514
+ if (this.empty) {
5515
+ return true;
5516
+ }
5517
+ if (typeof this.value === "boolean") {
5518
+ return false;
5519
+ }
5520
+ if (Array.isArray(this.value) && this.value.length === 0) {
5521
+ return true;
5522
+ }
5523
+ return _isNil(this.value) && this.value !== 0;
5524
+ }
5525
+ onInteraction() {
5526
+ if (!this.isInteractive) {
5527
+ return;
5528
+ }
5529
+ this.tileClick.emit();
5530
+ }
5531
+ getScaleBroker(id) {
5532
+ if (this.syncValuesBroker) {
5533
+ return this.syncValuesBroker.find((b) => b.id === id);
5534
+ }
5535
+ return undefined;
5536
+ }
5537
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: KpiTileViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
5538
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.21", type: KpiTileViewComponent, isStandalone: false, selector: "nui-kpi-tile-view", inputs: { value: "value", label: "label", units: "units", backgroundColor: "backgroundColor", textColor: "textColor", icon: "icon", link: "link", interactive: "interactive", loading: "loading", empty: "empty", fontSize: "fontSize", margin: "margin", syncValuesBroker: "syncValuesBroker", valueTemplate: "valueTemplate" }, outputs: { tileClick: "tileClick" }, ngImport: i0, template: "<div class=\"w-100 h-100\" nui-busy [busy]=\"loading\">\n <ng-container *ngIf=\"link\">\n <a class=\"nui-kpi-indicator\" [href]=\"link\">\n <ng-container [ngTemplateOutlet]=\"kpiContent\"></ng-container>\n </a>\n </ng-container>\n\n <ng-container *ngIf=\"!link\">\n <div class=\"nui-kpi-indicator\" (click)=\"onInteraction()\">\n <ng-container [ngTemplateOutlet]=\"kpiContent\"></ng-container>\n </div>\n </ng-container>\n</div>\n\n<ng-template #kpiContent>\n <div class=\"nui-kpi-indicator__background\"\n [class.nui-kpi-indicator--interactive]=\"isInteractive\"\n [ngStyle]=\"{'background-color': backgroundColor}\">\n </div>\n <div class=\"nui-kpi-indicator__text\"\n [ngStyle]=\"{'color': computedTextColor}\">\n <div class=\"nui-kpi-indicator__zoom-container\">\n <div class=\"nui-kpi-indicator__description nui-kpi-indicator__zoom-container__row\"\n [title]=\"label || ''\">\n <span nuiZoomContent\n [useZoom]=\"false\"\n [minScale]=\"0.5\"\n [scaleIN$]=\"getScaleBroker('label')?.out$\"\n [scaleOUT$]=\"getScaleBroker('label')?.in$\"\n >{{ label }}</span>\n </div>\n\n <ng-container *ngIf=\"valueTemplate; else kpiValueRaw\">\n <div class=\"nui-kpi-indicator__value nui-kpi-indicator__zoom-container__row\">\n <span nuiZoomContent\n [useZoom]=\"false\"\n [margin]=\"margin\"\n [scaleIN$]=\"getScaleBroker('value')?.out$\"\n [scaleOUT$]=\"getScaleBroker('value')?.in$\">\n <ng-container\n *ngTemplateOutlet=\"valueTemplate; context: { $implicit: value, label: label, units: units }\"\n ></ng-container>\n </span>\n </div>\n </ng-container>\n\n <ng-template #kpiValueRaw>\n <div class=\"nui-kpi-indicator__value nui-kpi-indicator__zoom-container__row\"\n [style.font-size]=\"fontSize\"\n [title]=\"value\">\n <span nuiZoomContent\n [useZoom]=\"false\"\n [margin]=\"margin\"\n [scaleIN$]=\"getScaleBroker('value')?.out$\"\n [scaleOUT$]=\"getScaleBroker('value')?.in$\">\n {{ value }}\n </span>\n </div>\n </ng-template>\n\n <div class=\"nui-kpi-indicator__units nui-kpi-indicator__zoom-container__row\"\n *ngIf=\"units\"\n [title]=\"units\">\n <span nuiZoomContent\n [useZoom]=\"false\"\n [scaleIN$]=\"getScaleBroker('units')?.out$\"\n [scaleOUT$]=\"getScaleBroker('units')?.in$\"\n [minScale]=\"0.5\">{{ units }}</span>\n </div>\n </div>\n </div>\n</ng-template>\n", styles: [".nui-kpi-indicator{position:relative;display:block;height:100%;width:100%}.nui-kpi-indicator__background{height:100%;width:100%;background-color:var(--nui-color-bg-secondary,#fafafa);color:var(--nui-color-text-default,#111)}.nui-kpi-indicator__text{position:absolute;width:100%;height:100%;top:0;pointer-events:none}.nui-kpi-indicator__text *>span{filter:invert(1) grayscale(1) contrast(100)}.nui-kpi-indicator__value{font-size:54px;font-weight:600;margin:auto 0;min-width:100%;white-space:nowrap;display:flex;align-items:center;justify-content:center;height:100%;min-height:5px;max-height:200px}.nui-kpi-indicator__value>span.without-filter{filter:unset}.nui-kpi-indicator__units{font-size:16px;font-weight:600;min-width:0;margin-bottom:auto;display:flex;align-items:center;justify-content:center;height:100%;min-height:10px;max-height:45px}.nui-kpi-indicator__units>span{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;-o-text-overflow:ellipsis;text-overflow:ellipsis}.nui-kpi-indicator__description{font-size:16px;font-weight:600;min-width:0;margin-top:auto;display:flex;align-items:center;justify-content:center;height:100%;min-height:10px;max-height:45px}.nui-kpi-indicator__description>span{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;-o-text-overflow:ellipsis;text-overflow:ellipsis}.nui-kpi-indicator__zoom-container{display:grid;grid-template-columns:1fr;width:100%;height:100%}.nui-kpi-indicator__zoom-container:has(.nui-kpi-indicator__zoom-container__row:nth-child(3)){grid-template-rows:30% 40% 30%}.nui-kpi-indicator__zoom-container:not(:has(.nui-kpi-indicator__zoom-container__row:nth-child(3))){grid-template-rows:30% 70%}.nui-kpi-indicator--interactive{cursor:pointer}.nui-kpi-indicator--interactive:hover{filter:brightness(90%)}.is-empty{display:grid;place-content:center;height:100%}\n"], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i2.BusyComponent, selector: "[nui-busy]", inputs: ["busy", "disableTabNavigation"] }, { kind: "directive", type: i2.ZoomContentDirective, selector: "[nuiZoomContent]", inputs: ["zoomRatio", "minZoomDifference", "maxZoom", "minZoom", "useZoom", "margin", "minScale", "maxScale", "scaleIN$", "scaleOUT$"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
5539
+ }
5540
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: KpiTileViewComponent, decorators: [{
5541
+ type: Component,
5542
+ args: [{ selector: "nui-kpi-tile-view", encapsulation: ViewEncapsulation.Emulated, changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div class=\"w-100 h-100\" nui-busy [busy]=\"loading\">\n <ng-container *ngIf=\"link\">\n <a class=\"nui-kpi-indicator\" [href]=\"link\">\n <ng-container [ngTemplateOutlet]=\"kpiContent\"></ng-container>\n </a>\n </ng-container>\n\n <ng-container *ngIf=\"!link\">\n <div class=\"nui-kpi-indicator\" (click)=\"onInteraction()\">\n <ng-container [ngTemplateOutlet]=\"kpiContent\"></ng-container>\n </div>\n </ng-container>\n</div>\n\n<ng-template #kpiContent>\n <div class=\"nui-kpi-indicator__background\"\n [class.nui-kpi-indicator--interactive]=\"isInteractive\"\n [ngStyle]=\"{'background-color': backgroundColor}\">\n </div>\n <div class=\"nui-kpi-indicator__text\"\n [ngStyle]=\"{'color': computedTextColor}\">\n <div class=\"nui-kpi-indicator__zoom-container\">\n <div class=\"nui-kpi-indicator__description nui-kpi-indicator__zoom-container__row\"\n [title]=\"label || ''\">\n <span nuiZoomContent\n [useZoom]=\"false\"\n [minScale]=\"0.5\"\n [scaleIN$]=\"getScaleBroker('label')?.out$\"\n [scaleOUT$]=\"getScaleBroker('label')?.in$\"\n >{{ label }}</span>\n </div>\n\n <ng-container *ngIf=\"valueTemplate; else kpiValueRaw\">\n <div class=\"nui-kpi-indicator__value nui-kpi-indicator__zoom-container__row\">\n <span nuiZoomContent\n [useZoom]=\"false\"\n [margin]=\"margin\"\n [scaleIN$]=\"getScaleBroker('value')?.out$\"\n [scaleOUT$]=\"getScaleBroker('value')?.in$\">\n <ng-container\n *ngTemplateOutlet=\"valueTemplate; context: { $implicit: value, label: label, units: units }\"\n ></ng-container>\n </span>\n </div>\n </ng-container>\n\n <ng-template #kpiValueRaw>\n <div class=\"nui-kpi-indicator__value nui-kpi-indicator__zoom-container__row\"\n [style.font-size]=\"fontSize\"\n [title]=\"value\">\n <span nuiZoomContent\n [useZoom]=\"false\"\n [margin]=\"margin\"\n [scaleIN$]=\"getScaleBroker('value')?.out$\"\n [scaleOUT$]=\"getScaleBroker('value')?.in$\">\n {{ value }}\n </span>\n </div>\n </ng-template>\n\n <div class=\"nui-kpi-indicator__units nui-kpi-indicator__zoom-container__row\"\n *ngIf=\"units\"\n [title]=\"units\">\n <span nuiZoomContent\n [useZoom]=\"false\"\n [scaleIN$]=\"getScaleBroker('units')?.out$\"\n [scaleOUT$]=\"getScaleBroker('units')?.in$\"\n [minScale]=\"0.5\">{{ units }}</span>\n </div>\n </div>\n </div>\n</ng-template>\n", styles: [".nui-kpi-indicator{position:relative;display:block;height:100%;width:100%}.nui-kpi-indicator__background{height:100%;width:100%;background-color:var(--nui-color-bg-secondary,#fafafa);color:var(--nui-color-text-default,#111)}.nui-kpi-indicator__text{position:absolute;width:100%;height:100%;top:0;pointer-events:none}.nui-kpi-indicator__text *>span{filter:invert(1) grayscale(1) contrast(100)}.nui-kpi-indicator__value{font-size:54px;font-weight:600;margin:auto 0;min-width:100%;white-space:nowrap;display:flex;align-items:center;justify-content:center;height:100%;min-height:5px;max-height:200px}.nui-kpi-indicator__value>span.without-filter{filter:unset}.nui-kpi-indicator__units{font-size:16px;font-weight:600;min-width:0;margin-bottom:auto;display:flex;align-items:center;justify-content:center;height:100%;min-height:10px;max-height:45px}.nui-kpi-indicator__units>span{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;-o-text-overflow:ellipsis;text-overflow:ellipsis}.nui-kpi-indicator__description{font-size:16px;font-weight:600;min-width:0;margin-top:auto;display:flex;align-items:center;justify-content:center;height:100%;min-height:10px;max-height:45px}.nui-kpi-indicator__description>span{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;-o-text-overflow:ellipsis;text-overflow:ellipsis}.nui-kpi-indicator__zoom-container{display:grid;grid-template-columns:1fr;width:100%;height:100%}.nui-kpi-indicator__zoom-container:has(.nui-kpi-indicator__zoom-container__row:nth-child(3)){grid-template-rows:30% 40% 30%}.nui-kpi-indicator__zoom-container:not(:has(.nui-kpi-indicator__zoom-container__row:nth-child(3))){grid-template-rows:30% 70%}.nui-kpi-indicator--interactive{cursor:pointer}.nui-kpi-indicator--interactive:hover{filter:brightness(90%)}.is-empty{display:grid;place-content:center;height:100%}\n"] }]
5543
+ }], propDecorators: { value: [{
5544
+ type: Input
5545
+ }], label: [{
5546
+ type: Input
5547
+ }], units: [{
5548
+ type: Input
5549
+ }], backgroundColor: [{
5550
+ type: Input
5551
+ }], textColor: [{
5552
+ type: Input
5553
+ }], icon: [{
5554
+ type: Input
5555
+ }], link: [{
5556
+ type: Input
5557
+ }], interactive: [{
5558
+ type: Input
5559
+ }], loading: [{
5560
+ type: Input
5561
+ }], empty: [{
5562
+ type: Input
5563
+ }], fontSize: [{
5564
+ type: Input
5565
+ }], margin: [{
5566
+ type: Input
5567
+ }], syncValuesBroker: [{
5568
+ type: Input
5569
+ }], valueTemplate: [{
5570
+ type: Input
5571
+ }], tileClick: [{
5572
+ type: Output
5573
+ }] } });
5574
+
5479
5575
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
5480
5576
  //
5481
5577
  // Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -5566,11 +5662,11 @@ class KpiComponent {
5566
5662
  return formattersProperties;
5567
5663
  }
5568
5664
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: KpiComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: DATA_SOURCE, optional: true }, { token: PIZZAGNA_EVENT_BUS }], target: i0.ɵɵFactoryTarget.Component }); }
5569
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.21", type: KpiComponent, isStandalone: false, selector: "nui-kpi", inputs: { widgetData: "widgetData", backgroundColor: "backgroundColor", syncValuesBroker: "syncValuesBroker", configuration: "configuration", busy: "busy" }, host: { properties: { "class": "this.elementClass" } }, usesOnChanges: true, ngImport: i0, template: "<div class=\"w-100 h-100\" nui-busy [busy]=\"busy\">\n <ng-container *ngIf=\"widgetData?.link\">\n <a class=\"nui-kpi-indicator\" [href]=\"widgetData.link\">\n <ng-container [ngTemplateOutlet]=\"kpiContent\"></ng-container>\n </a>\n </ng-container>\n\n <ng-container *ngIf=\"!widgetData?.link\">\n <div class=\"nui-kpi-indicator\" (click)=\"onInteraction()\">\n <ng-container [ngTemplateOutlet]=\"kpiContent\"></ng-container>\n </div>\n </ng-container>\n</div>\n\n<ng-template #kpiContent>\n <div class=\"nui-kpi-indicator__background\"\n [class.nui-kpi-indicator--interactive]=\"interactive\"\n [ngStyle]=\"{'background-color': backgroundColor || widgetData?.backgroundColor}\">\n </div>\n <div class=\"nui-kpi-indicator__text\"\n [ngStyle]=\"{'color': widgetData?.textColor || backgroundColor || widgetData?.backgroundColor || defaultColor}\">\n <div class=\"nui-kpi-indicator__zoom-container\">\n <div class=\"nui-kpi-indicator__description nui-kpi-indicator__zoom-container__row\"\n [title]=\"widgetData?.label\">\n <span nuiZoomContent\n [useZoom]=\"false\"\n [minScale]=\"0.5\"\n [scaleIN$]=\"getScaleBroker('label')?.out$\"\n [scaleOUT$]=\"getScaleBroker('label')?.in$\"\n >{{widgetData?.label}}</span>\n </div>\n\n <ng-container *ngIf=\"configuration?.formatters?.Value; else kpiValueRaw\"\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n componentId=\"KpiValueFormatter\"\n [componentType]=\"configuration?.formatters?.Value?.formatter?.componentType\"\n [properties]=\"formattersProperties.Value\">\n <div class=\"nui-kpi-indicator__value nui-kpi-indicator__zoom-container__row\">\n <span nuiZoomContent\n [ngClass]=\"configuration?.formatters?.Value?.formatter?.componentType === 'IconFormatterComponent' ? 'without-filter' : ''\"\n [useZoom]=\"false\"\n [margin]=\"widgetData?.margin ?? 2\"\n [scaleIN$]=\"getScaleBroker('value')?.out$\"\n [scaleOUT$]=\"getScaleBroker('value')?.in$\">\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"></ng-template>\n </span>\n </div>\n </ng-container>\n\n <div class=\"nui-kpi-indicator__units nui-kpi-indicator__zoom-container__row\"\n *ngIf=\"widgetData?.units\"\n [title]=\"widgetData?.units\">\n <span nuiZoomContent\n [useZoom]=\"false\"\n [scaleIN$]=\"getScaleBroker('units')?.out$\"\n [scaleOUT$]=\"getScaleBroker('units')?.in$\"\n [minScale]=\"0.5\">{{widgetData?.units}}</span>\n </div>\n </div>\n </div>\n</ng-template>\n\n<ng-template #kpiValueRaw>\n <div class=\"nui-kpi-indicator__value nui-kpi-indicator__zoom-container__row\"\n [style.font-size]=\"widgetData?.fontSize\"\n [title]=\"widgetData?.value\">\n <span nuiZoomContent\n [useZoom]=\"false\"\n [margin]=\"widgetData?.margin ?? 2\"\n [scaleIN$]=\"getScaleBroker('value')?.out$\"\n [scaleOUT$]=\"getScaleBroker('value')?.in$\">\n {{widgetData?.value}}</span>\n </div>\n</ng-template>\n", styles: [".nui-kpi-indicator{position:relative;display:block;height:100%;width:100%}.nui-kpi-indicator__background{height:100%;width:100%;background-color:var(--nui-color-bg-secondary,#fafafa);color:var(--nui-color-text-default,#111)}.nui-kpi-indicator__text{position:absolute;width:100%;height:100%;top:0;pointer-events:none}.nui-kpi-indicator__text *>span{filter:invert(1) grayscale(1) contrast(100)}.nui-kpi-indicator__value{font-size:54px;font-weight:600;margin:auto 0;min-width:100%;white-space:nowrap;display:flex;align-items:center;justify-content:center;height:100%;min-height:5px;max-height:200px}.nui-kpi-indicator__value>span.without-filter{filter:unset}.nui-kpi-indicator__units{font-size:16px;font-weight:600;min-width:0;margin-bottom:auto;display:flex;align-items:center;justify-content:center;height:100%;min-height:10px;max-height:45px}.nui-kpi-indicator__units>span{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;-o-text-overflow:ellipsis;text-overflow:ellipsis}.nui-kpi-indicator__description{font-size:16px;font-weight:600;min-width:0;margin-top:auto;display:flex;align-items:center;justify-content:center;height:100%;min-height:10px;max-height:45px}.nui-kpi-indicator__description>span{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;-o-text-overflow:ellipsis;text-overflow:ellipsis}.nui-kpi-indicator__zoom-container{display:grid;grid-template-columns:1fr;width:100%;height:100%}.nui-kpi-indicator__zoom-container:has(.nui-kpi-indicator__zoom-container__row:nth-child(3)){grid-template-rows:30% 40% 30%}.nui-kpi-indicator__zoom-container:not(:has(.nui-kpi-indicator__zoom-container__row:nth-child(3))){grid-template-rows:30% 70%}.nui-kpi-indicator--interactive{cursor:pointer}.nui-kpi-indicator--interactive:hover{filter:brightness(90%)}.is-empty{display:grid;place-content:center;height:100%}\n"], dependencies: [{ kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i2.BusyComponent, selector: "[nui-busy]", inputs: ["busy", "disableTabNavigation"] }, { 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: "directive", type: i2.ZoomContentDirective, selector: "[nuiZoomContent]", inputs: ["zoomRatio", "minZoomDifference", "maxZoom", "minZoom", "useZoom", "margin", "minScale", "maxScale", "scaleIN$", "scaleOUT$"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
5665
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.21", type: KpiComponent, isStandalone: false, selector: "nui-kpi", inputs: { widgetData: "widgetData", backgroundColor: "backgroundColor", syncValuesBroker: "syncValuesBroker", configuration: "configuration", busy: "busy" }, host: { properties: { "class": "this.elementClass" } }, usesOnChanges: true, ngImport: i0, template: "<nui-kpi-tile-view\n [value]=\"widgetData?.value\"\n [label]=\"widgetData?.label\"\n [units]=\"widgetData?.units\"\n [backgroundColor]=\"backgroundColor || widgetData?.backgroundColor\"\n [textColor]=\"widgetData?.textColor\"\n [link]=\"widgetData?.link\"\n [interactive]=\"interactive\"\n [loading]=\"busy\"\n [empty]=\"showEmpty\"\n [fontSize]=\"widgetData?.fontSize\"\n [margin]=\"widgetData?.margin ?? 2\"\n [syncValuesBroker]=\"syncValuesBroker\"\n [valueTemplate]=\"configuration?.formatters?.Value ? formatterValueTpl : null\"\n (tileClick)=\"onInteraction()\"\n></nui-kpi-tile-view>\n\n<ng-template #formatterValueTpl>\n <ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n componentId=\"KpiValueFormatter\"\n [componentType]=\"configuration?.formatters?.Value?.formatter?.componentType\"\n [properties]=\"formattersProperties?.Value\"\n >\n <span [ngClass]=\"configuration?.formatters?.Value?.formatter?.componentType === 'IconFormatterComponent' ? 'without-filter' : ''\">\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </span>\n </ng-container>\n</ng-template>\n", styles: [".nui-kpi-indicator{position:relative;display:block;height:100%;width:100%}.nui-kpi-indicator__background{height:100%;width:100%;background-color:var(--nui-color-bg-secondary,#fafafa);color:var(--nui-color-text-default,#111)}.nui-kpi-indicator__text{position:absolute;width:100%;height:100%;top:0;pointer-events:none}.nui-kpi-indicator__text *>span{filter:invert(1) grayscale(1) contrast(100)}.nui-kpi-indicator__value{font-size:54px;font-weight:600;margin:auto 0;min-width:100%;white-space:nowrap;display:flex;align-items:center;justify-content:center;height:100%;min-height:5px;max-height:200px}.nui-kpi-indicator__value>span.without-filter{filter:unset}.nui-kpi-indicator__units{font-size:16px;font-weight:600;min-width:0;margin-bottom:auto;display:flex;align-items:center;justify-content:center;height:100%;min-height:10px;max-height:45px}.nui-kpi-indicator__units>span{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;-o-text-overflow:ellipsis;text-overflow:ellipsis}.nui-kpi-indicator__description{font-size:16px;font-weight:600;min-width:0;margin-top:auto;display:flex;align-items:center;justify-content:center;height:100%;min-height:10px;max-height:45px}.nui-kpi-indicator__description>span{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;-o-text-overflow:ellipsis;text-overflow:ellipsis}.nui-kpi-indicator__zoom-container{display:grid;grid-template-columns:1fr;width:100%;height:100%}.nui-kpi-indicator__zoom-container:has(.nui-kpi-indicator__zoom-container__row:nth-child(3)){grid-template-rows:30% 40% 30%}.nui-kpi-indicator__zoom-container:not(:has(.nui-kpi-indicator__zoom-container__row:nth-child(3))){grid-template-rows:30% 70%}.nui-kpi-indicator--interactive{cursor:pointer}.nui-kpi-indicator--interactive:hover{filter:brightness(90%)}.is-empty{display:grid;place-content:center;height:100%}\n"], dependencies: [{ kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: KpiTileViewComponent, selector: "nui-kpi-tile-view", inputs: ["value", "label", "units", "backgroundColor", "textColor", "icon", "link", "interactive", "loading", "empty", "fontSize", "margin", "syncValuesBroker", "valueTemplate"], outputs: ["tileClick"] }, { 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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
5570
5666
  }
5571
5667
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: KpiComponent, decorators: [{
5572
5668
  type: Component,
5573
- args: [{ selector: "nui-kpi", encapsulation: ViewEncapsulation.Emulated, changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div class=\"w-100 h-100\" nui-busy [busy]=\"busy\">\n <ng-container *ngIf=\"widgetData?.link\">\n <a class=\"nui-kpi-indicator\" [href]=\"widgetData.link\">\n <ng-container [ngTemplateOutlet]=\"kpiContent\"></ng-container>\n </a>\n </ng-container>\n\n <ng-container *ngIf=\"!widgetData?.link\">\n <div class=\"nui-kpi-indicator\" (click)=\"onInteraction()\">\n <ng-container [ngTemplateOutlet]=\"kpiContent\"></ng-container>\n </div>\n </ng-container>\n</div>\n\n<ng-template #kpiContent>\n <div class=\"nui-kpi-indicator__background\"\n [class.nui-kpi-indicator--interactive]=\"interactive\"\n [ngStyle]=\"{'background-color': backgroundColor || widgetData?.backgroundColor}\">\n </div>\n <div class=\"nui-kpi-indicator__text\"\n [ngStyle]=\"{'color': widgetData?.textColor || backgroundColor || widgetData?.backgroundColor || defaultColor}\">\n <div class=\"nui-kpi-indicator__zoom-container\">\n <div class=\"nui-kpi-indicator__description nui-kpi-indicator__zoom-container__row\"\n [title]=\"widgetData?.label\">\n <span nuiZoomContent\n [useZoom]=\"false\"\n [minScale]=\"0.5\"\n [scaleIN$]=\"getScaleBroker('label')?.out$\"\n [scaleOUT$]=\"getScaleBroker('label')?.in$\"\n >{{widgetData?.label}}</span>\n </div>\n\n <ng-container *ngIf=\"configuration?.formatters?.Value; else kpiValueRaw\"\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n componentId=\"KpiValueFormatter\"\n [componentType]=\"configuration?.formatters?.Value?.formatter?.componentType\"\n [properties]=\"formattersProperties.Value\">\n <div class=\"nui-kpi-indicator__value nui-kpi-indicator__zoom-container__row\">\n <span nuiZoomContent\n [ngClass]=\"configuration?.formatters?.Value?.formatter?.componentType === 'IconFormatterComponent' ? 'without-filter' : ''\"\n [useZoom]=\"false\"\n [margin]=\"widgetData?.margin ?? 2\"\n [scaleIN$]=\"getScaleBroker('value')?.out$\"\n [scaleOUT$]=\"getScaleBroker('value')?.in$\">\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"></ng-template>\n </span>\n </div>\n </ng-container>\n\n <div class=\"nui-kpi-indicator__units nui-kpi-indicator__zoom-container__row\"\n *ngIf=\"widgetData?.units\"\n [title]=\"widgetData?.units\">\n <span nuiZoomContent\n [useZoom]=\"false\"\n [scaleIN$]=\"getScaleBroker('units')?.out$\"\n [scaleOUT$]=\"getScaleBroker('units')?.in$\"\n [minScale]=\"0.5\">{{widgetData?.units}}</span>\n </div>\n </div>\n </div>\n</ng-template>\n\n<ng-template #kpiValueRaw>\n <div class=\"nui-kpi-indicator__value nui-kpi-indicator__zoom-container__row\"\n [style.font-size]=\"widgetData?.fontSize\"\n [title]=\"widgetData?.value\">\n <span nuiZoomContent\n [useZoom]=\"false\"\n [margin]=\"widgetData?.margin ?? 2\"\n [scaleIN$]=\"getScaleBroker('value')?.out$\"\n [scaleOUT$]=\"getScaleBroker('value')?.in$\">\n {{widgetData?.value}}</span>\n </div>\n</ng-template>\n", styles: [".nui-kpi-indicator{position:relative;display:block;height:100%;width:100%}.nui-kpi-indicator__background{height:100%;width:100%;background-color:var(--nui-color-bg-secondary,#fafafa);color:var(--nui-color-text-default,#111)}.nui-kpi-indicator__text{position:absolute;width:100%;height:100%;top:0;pointer-events:none}.nui-kpi-indicator__text *>span{filter:invert(1) grayscale(1) contrast(100)}.nui-kpi-indicator__value{font-size:54px;font-weight:600;margin:auto 0;min-width:100%;white-space:nowrap;display:flex;align-items:center;justify-content:center;height:100%;min-height:5px;max-height:200px}.nui-kpi-indicator__value>span.without-filter{filter:unset}.nui-kpi-indicator__units{font-size:16px;font-weight:600;min-width:0;margin-bottom:auto;display:flex;align-items:center;justify-content:center;height:100%;min-height:10px;max-height:45px}.nui-kpi-indicator__units>span{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;-o-text-overflow:ellipsis;text-overflow:ellipsis}.nui-kpi-indicator__description{font-size:16px;font-weight:600;min-width:0;margin-top:auto;display:flex;align-items:center;justify-content:center;height:100%;min-height:10px;max-height:45px}.nui-kpi-indicator__description>span{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;-o-text-overflow:ellipsis;text-overflow:ellipsis}.nui-kpi-indicator__zoom-container{display:grid;grid-template-columns:1fr;width:100%;height:100%}.nui-kpi-indicator__zoom-container:has(.nui-kpi-indicator__zoom-container__row:nth-child(3)){grid-template-rows:30% 40% 30%}.nui-kpi-indicator__zoom-container:not(:has(.nui-kpi-indicator__zoom-container__row:nth-child(3))){grid-template-rows:30% 70%}.nui-kpi-indicator--interactive{cursor:pointer}.nui-kpi-indicator--interactive:hover{filter:brightness(90%)}.is-empty{display:grid;place-content:center;height:100%}\n"] }]
5669
+ args: [{ selector: "nui-kpi", encapsulation: ViewEncapsulation.Emulated, changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<nui-kpi-tile-view\n [value]=\"widgetData?.value\"\n [label]=\"widgetData?.label\"\n [units]=\"widgetData?.units\"\n [backgroundColor]=\"backgroundColor || widgetData?.backgroundColor\"\n [textColor]=\"widgetData?.textColor\"\n [link]=\"widgetData?.link\"\n [interactive]=\"interactive\"\n [loading]=\"busy\"\n [empty]=\"showEmpty\"\n [fontSize]=\"widgetData?.fontSize\"\n [margin]=\"widgetData?.margin ?? 2\"\n [syncValuesBroker]=\"syncValuesBroker\"\n [valueTemplate]=\"configuration?.formatters?.Value ? formatterValueTpl : null\"\n (tileClick)=\"onInteraction()\"\n></nui-kpi-tile-view>\n\n<ng-template #formatterValueTpl>\n <ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n componentId=\"KpiValueFormatter\"\n [componentType]=\"configuration?.formatters?.Value?.formatter?.componentType\"\n [properties]=\"formattersProperties?.Value\"\n >\n <span [ngClass]=\"configuration?.formatters?.Value?.formatter?.componentType === 'IconFormatterComponent' ? 'without-filter' : ''\">\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </span>\n </ng-container>\n</ng-template>\n", styles: [".nui-kpi-indicator{position:relative;display:block;height:100%;width:100%}.nui-kpi-indicator__background{height:100%;width:100%;background-color:var(--nui-color-bg-secondary,#fafafa);color:var(--nui-color-text-default,#111)}.nui-kpi-indicator__text{position:absolute;width:100%;height:100%;top:0;pointer-events:none}.nui-kpi-indicator__text *>span{filter:invert(1) grayscale(1) contrast(100)}.nui-kpi-indicator__value{font-size:54px;font-weight:600;margin:auto 0;min-width:100%;white-space:nowrap;display:flex;align-items:center;justify-content:center;height:100%;min-height:5px;max-height:200px}.nui-kpi-indicator__value>span.without-filter{filter:unset}.nui-kpi-indicator__units{font-size:16px;font-weight:600;min-width:0;margin-bottom:auto;display:flex;align-items:center;justify-content:center;height:100%;min-height:10px;max-height:45px}.nui-kpi-indicator__units>span{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;-o-text-overflow:ellipsis;text-overflow:ellipsis}.nui-kpi-indicator__description{font-size:16px;font-weight:600;min-width:0;margin-top:auto;display:flex;align-items:center;justify-content:center;height:100%;min-height:10px;max-height:45px}.nui-kpi-indicator__description>span{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;-o-text-overflow:ellipsis;text-overflow:ellipsis}.nui-kpi-indicator__zoom-container{display:grid;grid-template-columns:1fr;width:100%;height:100%}.nui-kpi-indicator__zoom-container:has(.nui-kpi-indicator__zoom-container__row:nth-child(3)){grid-template-rows:30% 40% 30%}.nui-kpi-indicator__zoom-container:not(:has(.nui-kpi-indicator__zoom-container__row:nth-child(3))){grid-template-rows:30% 70%}.nui-kpi-indicator--interactive{cursor:pointer}.nui-kpi-indicator--interactive:hover{filter:brightness(90%)}.is-empty{display:grid;place-content:center;height:100%}\n"] }]
5574
5670
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
5575
5671
  type: Optional
5576
5672
  }, {
@@ -19260,6 +19356,317 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImpo
19260
19356
  args: ["nuiWidgetEditor"]
19261
19357
  }] } });
19262
19358
 
19359
+ // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
19360
+ //
19361
+ // Permission is hereby granted, free of charge, to any person obtaining a copy
19362
+ // of this software and associated documentation files (the "Software"), to
19363
+ // deal in the Software without restriction, including without limitation the
19364
+ // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
19365
+ // sell copies of the Software, and to permit persons to whom the Software is
19366
+ // furnished to do so, subject to the following conditions:
19367
+ //
19368
+ // The above copyright notice and this permission notice shall be included in
19369
+ // all copies or substantial portions of the Software.
19370
+ //
19371
+ // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19372
+ // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19373
+ // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19374
+ // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19375
+ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19376
+ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19377
+ // THE SOFTWARE.
19378
+ const CHART_TYPE_MAP = {
19379
+ donut: ProportionalWidgetChartTypes.DonutChart,
19380
+ pie: ProportionalWidgetChartTypes.PieChart,
19381
+ verticalBar: ProportionalWidgetChartTypes.VerticalBarChart,
19382
+ horizontalBar: ProportionalWidgetChartTypes.HorizontalBarChart,
19383
+ };
19384
+ class ProportionalChartViewComponent {
19385
+ constructor() {
19386
+ this.data = [];
19387
+ this.chartType = "donut";
19388
+ this.legendPlacement = "right";
19389
+ this.colors = [];
19390
+ this.interactive = false;
19391
+ this.itemClick = new EventEmitter();
19392
+ this.prioritizedGridRows = {
19393
+ right: false,
19394
+ bottom: false,
19395
+ };
19396
+ this.changeDetector = inject(ChangeDetectorRef);
19397
+ this.ngZone = inject(NgZone);
19398
+ this.kvDiffers = inject(KeyValueDiffers);
19399
+ this.differ = this.kvDiffers.find(this.prioritizedGridRows).create();
19400
+ this.chartPalette = new ChartPalette(defaultColorProvider());
19401
+ this.unitConversionPipe = new DashboardUnitConversionPipe(inject(UnitConversionService));
19402
+ this.chartSeries = [];
19403
+ }
19404
+ static { this.NO_SWITCH_LAYOUT_INTERVAL_SIZE = 20; }
19405
+ static { this.MAX_ROW_LAYOUT_SIZE = 360; }
19406
+ static { this.TICK_LABEL_MAX_WIDTH = 75; }
19407
+ get isEmpty() {
19408
+ return !this.data || this.data.length === 0;
19409
+ }
19410
+ ngOnChanges(changes) {
19411
+ if (changes.data || changes.colors) {
19412
+ this.updateChartColors();
19413
+ }
19414
+ if (changes.chartType) {
19415
+ this.buildChart(CHART_TYPE_MAP[this.chartType]);
19416
+ if (this.data?.length) {
19417
+ this.updateChart();
19418
+ }
19419
+ this.changeDetector.markForCheck();
19420
+ }
19421
+ else if (changes.data && this.chartAssist) {
19422
+ this.updateChart();
19423
+ this.changeDetector.markForCheck();
19424
+ }
19425
+ if (changes.legendPlacement) {
19426
+ this.changeDetector.markForCheck();
19427
+ }
19428
+ }
19429
+ ngAfterViewInit() {
19430
+ this.handleGridFlowOnResize();
19431
+ }
19432
+ ngOnDestroy() {
19433
+ this.resizeObserver?.disconnect();
19434
+ this.chartTypeSubscription$?.unsubscribe();
19435
+ }
19436
+ isDonutChart() {
19437
+ return this.chartType === "donut";
19438
+ }
19439
+ hasLegend() {
19440
+ return this.legendPlacement !== "none";
19441
+ }
19442
+ legendShouldBeAlignedRight() {
19443
+ return this.legendPlacement === "right";
19444
+ }
19445
+ onInteraction(legendSeries) {
19446
+ if (!this.interactive) {
19447
+ return;
19448
+ }
19449
+ const item = this.data.find((d) => d.id === legendSeries?.id);
19450
+ if (item) {
19451
+ this.itemClick.emit(item);
19452
+ }
19453
+ }
19454
+ computeLegendTileValue(legendSeries) {
19455
+ // @ts-ignore: Suppressing series null parameter value error
19456
+ return this.accessors.data?.value?.(legendSeries, 0, null, null);
19457
+ }
19458
+ buildChart(chartType) {
19459
+ this.donutContentPlugin = null;
19460
+ const { grid, accessors, renderer, scales, preprocessor } = CategoryChartUtilService.getChartAttributes(chartType, this.chartPalette?.standardColors);
19461
+ this.chartAssist = new ChartAssist(new Chart(grid), preprocessor, this.chartPalette);
19462
+ this.renderer = renderer;
19463
+ this.accessors = accessors;
19464
+ this.scales = scales;
19465
+ if (this.isDonutChart()) {
19466
+ this.donutContentPlugin = new ChartDonutContentPlugin();
19467
+ this.chartAssist.chart.addPlugin(this.donutContentPlugin);
19468
+ }
19469
+ if (chartType === ProportionalWidgetChartTypes.HorizontalBarChart) {
19470
+ this.scales.x.formatters.tick = (value) => this.unitConversionPipe.transform(value);
19471
+ this.applyTickLabelMaxWidths();
19472
+ }
19473
+ else if (chartType === ProportionalWidgetChartTypes.VerticalBarChart) {
19474
+ this.scales.y.formatters.tick = (value) => this.unitConversionPipe.transform(value);
19475
+ }
19476
+ this.chartTypeSubscription$?.unsubscribe();
19477
+ this.chartTypeSubscription$ = this.chartAssist.chart
19478
+ .getEventBus()
19479
+ .getStream(SELECT_DATA_POINT_EVENT)
19480
+ .subscribe((event) => {
19481
+ const item = this.data.find((d) => d.id === event.data.seriesId);
19482
+ if (item) {
19483
+ this.onInteraction({ id: item.id });
19484
+ }
19485
+ });
19486
+ }
19487
+ handleGridFlowOnResize() {
19488
+ this.resizeObserver = new ResizeObserver(() => this.onResize());
19489
+ this.ngZone.runOutsideAngular(() => {
19490
+ this.resizeObserver.observe(this.gridContainer.nativeElement);
19491
+ });
19492
+ }
19493
+ applyTickLabelMaxWidths() {
19494
+ const gridConfigAxis = this.chartAssist.chart.getGrid().config().axis;
19495
+ gridConfigAxis.left.tickLabel.maxWidth = ProportionalChartViewComponent.TICK_LABEL_MAX_WIDTH;
19496
+ gridConfigAxis.right.tickLabel.maxWidth = ProportionalChartViewComponent.TICK_LABEL_MAX_WIDTH;
19497
+ }
19498
+ onResize() {
19499
+ if (this.isContainerInNoSwitchLayoutInterval()) {
19500
+ return;
19501
+ }
19502
+ switch (this.legendPlacement) {
19503
+ case "bottom":
19504
+ this.prioritizedGridRows.bottom = this.containerHasRowLayoutWidth();
19505
+ break;
19506
+ case "right":
19507
+ this.prioritizedGridRows.right = this.containerHasRowLayoutWidth();
19508
+ break;
19509
+ }
19510
+ if (this.differ.diff(this.prioritizedGridRows)) {
19511
+ this.changeDetector.detectChanges();
19512
+ }
19513
+ }
19514
+ isContainerInNoSwitchLayoutInterval() {
19515
+ const containerWidth = this.gridContainer.nativeElement.getBoundingClientRect().width;
19516
+ return (containerWidth >
19517
+ ProportionalChartViewComponent.MAX_ROW_LAYOUT_SIZE -
19518
+ ProportionalChartViewComponent.NO_SWITCH_LAYOUT_INTERVAL_SIZE / 2 &&
19519
+ containerWidth <
19520
+ ProportionalChartViewComponent.MAX_ROW_LAYOUT_SIZE +
19521
+ ProportionalChartViewComponent.NO_SWITCH_LAYOUT_INTERVAL_SIZE / 2);
19522
+ }
19523
+ containerHasRowLayoutWidth() {
19524
+ const containerWidth = this.gridContainer.nativeElement.getBoundingClientRect().width;
19525
+ return containerWidth < ProportionalChartViewComponent.MAX_ROW_LAYOUT_SIZE;
19526
+ }
19527
+ updateChart() {
19528
+ this.chartSeries = this.mapDataToSeries();
19529
+ this.chartAssist.update(CategoryChartUtilService.buildChartSeries(this.chartSeries, this.accessors, this.renderer, this.scales));
19530
+ }
19531
+ updateChartColors() {
19532
+ let colorProvider;
19533
+ const dataColors = this.data?.map((v) => v.color);
19534
+ const configColors = this.colors;
19535
+ if (some(dataColors)) {
19536
+ colorProvider = this.getDataDrivenColorProvider();
19537
+ }
19538
+ else if (configColors && (Array.isArray(configColors) ? configColors.length > 0 : Object.keys(configColors).length > 0)) {
19539
+ colorProvider = this.getConfigurationColorProvider(configColors);
19540
+ }
19541
+ else {
19542
+ colorProvider = defaultColorProvider();
19543
+ }
19544
+ this.chartPalette = new ChartPalette(colorProvider);
19545
+ this.buildChart(CHART_TYPE_MAP[this.chartType]);
19546
+ if (this.chartAssist) {
19547
+ this.chartAssist.palette = this.chartPalette;
19548
+ this.updateChart();
19549
+ }
19550
+ }
19551
+ getDataDrivenColorProvider() {
19552
+ const dataColors = this.data?.map((v) => v.color).filter((v) => !!v);
19553
+ if (dataColors.length === this.data.length) {
19554
+ const colorMap = this.data.reduce((acc, next) => {
19555
+ acc[next.id] = next.color;
19556
+ return acc;
19557
+ }, {});
19558
+ return new MappedValueProvider(colorMap);
19559
+ }
19560
+ return new SequentialColorProvider(dataColors);
19561
+ }
19562
+ getConfigurationColorProvider(colors) {
19563
+ if (Array.isArray(colors)) {
19564
+ return new SequentialColorProvider(colors);
19565
+ }
19566
+ return new MappedValueProvider(colors);
19567
+ }
19568
+ mapDataToSeries() {
19569
+ return this.data.map((item) => ({
19570
+ id: item.id,
19571
+ name: item.name,
19572
+ data: [{ value: item.value }],
19573
+ color: item.color,
19574
+ link: item.link,
19575
+ accessors: this.accessors,
19576
+ renderer: this.renderer,
19577
+ scales: this.scales,
19578
+ }));
19579
+ }
19580
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ProportionalChartViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
19581
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.21", type: ProportionalChartViewComponent, isStandalone: false, selector: "nui-proportional-chart-view", inputs: { data: "data", chartType: "chartType", legendPlacement: "legendPlacement", colors: "colors", interactive: "interactive", donutContentTemplate: "donutContentTemplate", legendItemTemplate: "legendItemTemplate" }, outputs: { itemClick: "itemClick" }, viewQueries: [{ propertyName: "gridContainer", first: true, predicate: ["gridContainer"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: "<div\n #gridContainer\n class=\"w-100 nui-chart-layout flex-grow-1 p-3\"\n [ngClass]=\"{\n 'prioritize-rows__right': prioritizedGridRows.right,\n 'prioritize-rows__bottom': prioritizedGridRows.bottom,\n 'empty-grid': isEmpty\n }\"\n>\n <div class=\"d-flex chart has-overlay\" *ngIf=\"!isEmpty\">\n <nui-chart class=\"w-100\" [chart]=\"chartAssist.chart\"></nui-chart>\n <nui-chart-donut-content\n *ngIf=\"donutContentPlugin\"\n class=\"nui-proportional-chart-view__chart-donut-content\"\n [plugin]=\"donutContentPlugin\"\n >\n <div class=\"h-100 w-100 d-flex justify-content-center align-items-center text-center\">\n <div class=\"d-inline-block\" nuiZoomContent [useZoom]=\"false\">\n <ng-container *ngIf=\"donutContentTemplate\">\n <ng-container\n *ngTemplateOutlet=\"donutContentTemplate; context: { $implicit: data, chartAssist: chartAssist }\"\n ></ng-container>\n </ng-container>\n </div>\n </div>\n </nui-chart-donut-content>\n </div>\n <div\n class=\"w-100 d-flex legend\"\n [ngClass]=\"[legendShouldBeAlignedRight() ? 'scrollable' : 'legend-bottom']\"\n *ngIf=\"hasLegend() && chartAssist\"\n >\n <nui-legend\n class=\"w-100 m-auto\"\n [interactive]=\"false\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [orientation]=\"legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\"\n >\n <nui-legend-series\n class=\"proportional-chart__legend-series\"\n *ngFor=\"let legendSeries of chartAssist.legendSeriesSet; trackBy: chartAssist.seriesTrackByFn; let i = index\"\n [ngClass]=\"(prioritizedGridRows.right || prioritizedGridRows.bottom) && 'description-min-width--unset'\"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"chartAssist.toggleSeries(legendSeries.id, $event)\"\n [seriesRenderState]=\"chartAssist.renderStatesIndex[legendSeries.id]?.state\"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (click)=\"onInteraction(legendSeries)\"\n [class.nui-proportional-chart-view__legend--interactive]=\"interactive\"\n >\n <ng-container *ngIf=\"legendItemTemplate; else legendDefaultTile\">\n <div description>\n <ng-container\n *ngTemplateOutlet=\"legendItemTemplate; context: { $implicit: data[i], series: legendSeries }\"\n ></ng-container>\n </div>\n </ng-container>\n <ng-template #legendDefaultTile>\n <nui-rich-legend-tile\n [value]=\"computeLegendTileValue(legendSeries.data[0]) | nuiDashboardUnitConversion\"\n [color]=\"chartAssist.palette.textColors.get(legendSeries.id)\"\n [backgroundColor]=\"chartAssist.palette.standardColors.get(legendSeries.id)\"\n ></nui-rich-legend-tile>\n\n <nui-icon\n legendTransclusion\n *ngIf=\"data[i]?.icon\"\n class=\"align-items-center\"\n [icon]=\"data[i].icon\"\n ></nui-icon>\n\n <div\n description\n class=\"description-container d-flex flex-column nui-text-small justify-content-center\"\n >\n <div\n *ngIf=\"!data[i]?.link\"\n class=\"description description-primary\"\n [ngClass]=\"{ 'nui-text-link-small link': interactive }\"\n >\n {{ legendSeries.name }}\n </div>\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"data[i]?.link\"\n [href]=\"data[i].link\"\n >\n {{ legendSeries.name }}\n </a>\n </div>\n </ng-template>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".nui-proportional-chart-view__chart-donut-content{position:absolute}.nui-proportional-chart-view__legend--interactive{cursor:pointer!important}.has-overlay{overflow:auto}.nui-chart-layout{grid-template:\"axis-label-left axis-label-right .\" 0fr \"chart chart legend\" minmax(60%,auto) \"axis-label-bottom axis-label-bottom .\" 0fr \"legend-bottom legend-bottom .\" minmax(auto,min-content) / 1fr 1fr auto}.nui-chart-layout .legend-bottom{overflow:auto;align-self:auto;padding-left:0}.prioritize-rows__right .nui-legend-series,.prioritize-rows__bottom .nui-legend-series{max-width:unset;width:100%}.prioritize-rows .legend{justify-self:start}.prioritize-rows__right{grid-template:\"chart chart .\" 60% \"legend legend .\" 40%}.prioritize-rows__bottom{grid-template:\"chart chart .\" 60% \"legend-bottom legend-bottom .\" 40%}.empty-grid{grid-template-columns:1fr;grid-template-rows:1fr}.proportional-chart__legend-series .link.description-primary{color:var(--nui-color-text-link,#006791)}.is-empty{display:grid;place-content:center;height:100%}\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: i4$1.LegendComponent, selector: "nui-legend", inputs: ["active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { kind: "component", type: i4$1.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["active", "interactive", "isSelected", "descriptionPrimary", "descriptionSecondary", "icon", "color", "seriesRenderState"], outputs: ["isSelectedChange"] }, { kind: "component", type: i4$1.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "value", "backgroundColor", "color"] }, { kind: "component", type: i4$1.ChartComponent, selector: "nui-chart", inputs: ["chart"] }, { kind: "component", type: i4$1.ChartDonutContentComponent, selector: "nui-chart-donut-content", inputs: ["plugin"] }, { kind: "directive", type: i2.ZoomContentDirective, selector: "[nuiZoomContent]", inputs: ["zoomRatio", "minZoomDifference", "maxZoom", "minZoom", "useZoom", "margin", "minScale", "maxScale", "scaleIN$", "scaleOUT$"] }, { kind: "component", type: i2.IconComponent, selector: "nui-icon", inputs: ["iconColor", "brushType", "iconHoverColor", "iconSize", "cssClass", "fillContainer", "status", "childStatus", "icon", "counter", "decorative", "ariaLabel", "explicitRole"] }, { kind: "pipe", type: DashboardUnitConversionPipe, name: "nuiDashboardUnitConversion" }] }); }
19582
+ }
19583
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ProportionalChartViewComponent, decorators: [{
19584
+ type: Component,
19585
+ args: [{ selector: "nui-proportional-chart-view", encapsulation: ViewEncapsulation.Emulated, standalone: false, template: "<div\n #gridContainer\n class=\"w-100 nui-chart-layout flex-grow-1 p-3\"\n [ngClass]=\"{\n 'prioritize-rows__right': prioritizedGridRows.right,\n 'prioritize-rows__bottom': prioritizedGridRows.bottom,\n 'empty-grid': isEmpty\n }\"\n>\n <div class=\"d-flex chart has-overlay\" *ngIf=\"!isEmpty\">\n <nui-chart class=\"w-100\" [chart]=\"chartAssist.chart\"></nui-chart>\n <nui-chart-donut-content\n *ngIf=\"donutContentPlugin\"\n class=\"nui-proportional-chart-view__chart-donut-content\"\n [plugin]=\"donutContentPlugin\"\n >\n <div class=\"h-100 w-100 d-flex justify-content-center align-items-center text-center\">\n <div class=\"d-inline-block\" nuiZoomContent [useZoom]=\"false\">\n <ng-container *ngIf=\"donutContentTemplate\">\n <ng-container\n *ngTemplateOutlet=\"donutContentTemplate; context: { $implicit: data, chartAssist: chartAssist }\"\n ></ng-container>\n </ng-container>\n </div>\n </div>\n </nui-chart-donut-content>\n </div>\n <div\n class=\"w-100 d-flex legend\"\n [ngClass]=\"[legendShouldBeAlignedRight() ? 'scrollable' : 'legend-bottom']\"\n *ngIf=\"hasLegend() && chartAssist\"\n >\n <nui-legend\n class=\"w-100 m-auto\"\n [interactive]=\"false\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [orientation]=\"legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\"\n >\n <nui-legend-series\n class=\"proportional-chart__legend-series\"\n *ngFor=\"let legendSeries of chartAssist.legendSeriesSet; trackBy: chartAssist.seriesTrackByFn; let i = index\"\n [ngClass]=\"(prioritizedGridRows.right || prioritizedGridRows.bottom) && 'description-min-width--unset'\"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"chartAssist.toggleSeries(legendSeries.id, $event)\"\n [seriesRenderState]=\"chartAssist.renderStatesIndex[legendSeries.id]?.state\"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (click)=\"onInteraction(legendSeries)\"\n [class.nui-proportional-chart-view__legend--interactive]=\"interactive\"\n >\n <ng-container *ngIf=\"legendItemTemplate; else legendDefaultTile\">\n <div description>\n <ng-container\n *ngTemplateOutlet=\"legendItemTemplate; context: { $implicit: data[i], series: legendSeries }\"\n ></ng-container>\n </div>\n </ng-container>\n <ng-template #legendDefaultTile>\n <nui-rich-legend-tile\n [value]=\"computeLegendTileValue(legendSeries.data[0]) | nuiDashboardUnitConversion\"\n [color]=\"chartAssist.palette.textColors.get(legendSeries.id)\"\n [backgroundColor]=\"chartAssist.palette.standardColors.get(legendSeries.id)\"\n ></nui-rich-legend-tile>\n\n <nui-icon\n legendTransclusion\n *ngIf=\"data[i]?.icon\"\n class=\"align-items-center\"\n [icon]=\"data[i].icon\"\n ></nui-icon>\n\n <div\n description\n class=\"description-container d-flex flex-column nui-text-small justify-content-center\"\n >\n <div\n *ngIf=\"!data[i]?.link\"\n class=\"description description-primary\"\n [ngClass]=\"{ 'nui-text-link-small link': interactive }\"\n >\n {{ legendSeries.name }}\n </div>\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"data[i]?.link\"\n [href]=\"data[i].link\"\n >\n {{ legendSeries.name }}\n </a>\n </div>\n </ng-template>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".nui-proportional-chart-view__chart-donut-content{position:absolute}.nui-proportional-chart-view__legend--interactive{cursor:pointer!important}.has-overlay{overflow:auto}.nui-chart-layout{grid-template:\"axis-label-left axis-label-right .\" 0fr \"chart chart legend\" minmax(60%,auto) \"axis-label-bottom axis-label-bottom .\" 0fr \"legend-bottom legend-bottom .\" minmax(auto,min-content) / 1fr 1fr auto}.nui-chart-layout .legend-bottom{overflow:auto;align-self:auto;padding-left:0}.prioritize-rows__right .nui-legend-series,.prioritize-rows__bottom .nui-legend-series{max-width:unset;width:100%}.prioritize-rows .legend{justify-self:start}.prioritize-rows__right{grid-template:\"chart chart .\" 60% \"legend legend .\" 40%}.prioritize-rows__bottom{grid-template:\"chart chart .\" 60% \"legend-bottom legend-bottom .\" 40%}.empty-grid{grid-template-columns:1fr;grid-template-rows:1fr}.proportional-chart__legend-series .link.description-primary{color:var(--nui-color-text-link,#006791)}.is-empty{display:grid;place-content:center;height:100%}\n"] }]
19586
+ }], propDecorators: { data: [{
19587
+ type: Input
19588
+ }], chartType: [{
19589
+ type: Input
19590
+ }], legendPlacement: [{
19591
+ type: Input
19592
+ }], colors: [{
19593
+ type: Input
19594
+ }], interactive: [{
19595
+ type: Input
19596
+ }], donutContentTemplate: [{
19597
+ type: Input
19598
+ }], legendItemTemplate: [{
19599
+ type: Input
19600
+ }], itemClick: [{
19601
+ type: Output
19602
+ }], gridContainer: [{
19603
+ type: ViewChild,
19604
+ args: ["gridContainer", { static: true }]
19605
+ }] } });
19606
+
19607
+ // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
19608
+ //
19609
+ // Permission is hereby granted, free of charge, to any person obtaining a copy
19610
+ // of this software and associated documentation files (the "Software"), to
19611
+ // deal in the Software without restriction, including without limitation the
19612
+ // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
19613
+ // sell copies of the Software, and to permit persons to whom the Software is
19614
+ // furnished to do so, subject to the following conditions:
19615
+ //
19616
+ // The above copyright notice and this permission notice shall be included in
19617
+ // all copies or substantial portions of the Software.
19618
+ //
19619
+ // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19620
+ // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19621
+ // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19622
+ // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19623
+ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19624
+ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19625
+ // THE SOFTWARE.
19626
+ /**
19627
+ * A Pizzagna-free module that exports standalone view components for
19628
+ * proportional charts and KPI tiles. Consumers can import this module
19629
+ * without needing PIZZAGNA_EVENT_BUS, DATA_SOURCE, or any Pizzagna providers.
19630
+ */
19631
+ class NuiDashboardViewsModule {
19632
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: NuiDashboardViewsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
19633
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.21", ngImport: i0, type: NuiDashboardViewsModule, declarations: [ProportionalChartViewComponent,
19634
+ KpiTileViewComponent], imports: [CommonModule,
19635
+ NuiBusyModule,
19636
+ NuiChartsModule,
19637
+ NuiCommonModule,
19638
+ NuiIconModule,
19639
+ NuiDashboardsCommonModule], exports: [ProportionalChartViewComponent,
19640
+ KpiTileViewComponent] }); }
19641
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: NuiDashboardViewsModule, imports: [CommonModule,
19642
+ NuiBusyModule,
19643
+ NuiChartsModule,
19644
+ NuiCommonModule,
19645
+ NuiIconModule,
19646
+ NuiDashboardsCommonModule] }); }
19647
+ }
19648
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: NuiDashboardViewsModule, decorators: [{
19649
+ type: NgModule,
19650
+ args: [{
19651
+ imports: [
19652
+ CommonModule,
19653
+ NuiBusyModule,
19654
+ NuiChartsModule,
19655
+ NuiCommonModule,
19656
+ NuiIconModule,
19657
+ NuiDashboardsCommonModule,
19658
+ ],
19659
+ declarations: [
19660
+ ProportionalChartViewComponent,
19661
+ KpiTileViewComponent,
19662
+ ],
19663
+ exports: [
19664
+ ProportionalChartViewComponent,
19665
+ KpiTileViewComponent,
19666
+ ],
19667
+ }]
19668
+ }] });
19669
+
19263
19670
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
19264
19671
  //
19265
19672
  // Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -22022,6 +22429,7 @@ class NuiDashboardsModule {
22022
22429
  WidgetSearchComponent,
22023
22430
  ProportionalDonutContentComponent,
22024
22431
  TimeseriesInspectionMenuComponent], imports: [NuiDashboardsCommonModule,
22432
+ NuiDashboardViewsModule,
22025
22433
  GridsterModule,
22026
22434
  NuiBusyModule,
22027
22435
  NuiButtonModule,
@@ -22084,6 +22492,7 @@ class NuiDashboardsModule {
22084
22492
  DecimalPipe,
22085
22493
  RefresherSettingsService,
22086
22494
  ], imports: [NuiDashboardsCommonModule,
22495
+ NuiDashboardViewsModule,
22087
22496
  GridsterModule,
22088
22497
  NuiBusyModule,
22089
22498
  NuiButtonModule,
@@ -22116,6 +22525,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImpo
22116
22525
  args: [{
22117
22526
  imports: [
22118
22527
  NuiDashboardsCommonModule,
22528
+ NuiDashboardViewsModule,
22119
22529
  GridsterModule,
22120
22530
  NuiBusyModule,
22121
22531
  NuiButtonModule,
@@ -23316,6 +23726,46 @@ function applyStatusEndpoints(timeframeFilter, filteredSeriesData, originalSerie
23316
23726
  // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23317
23727
  // THE SOFTWARE.
23318
23728
 
23729
+ // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
23730
+ //
23731
+ // Permission is hereby granted, free of charge, to any person obtaining a copy
23732
+ // of this software and associated documentation files (the "Software"), to
23733
+ // deal in the Software without restriction, including without limitation the
23734
+ // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
23735
+ // sell copies of the Software, and to permit persons to whom the Software is
23736
+ // furnished to do so, subject to the following conditions:
23737
+ //
23738
+ // The above copyright notice and this permission notice shall be included in
23739
+ // all copies or substantial portions of the Software.
23740
+ //
23741
+ // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23742
+ // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23743
+ // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23744
+ // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23745
+ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23746
+ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23747
+ // THE SOFTWARE.
23748
+
23749
+ // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
23750
+ //
23751
+ // Permission is hereby granted, free of charge, to any person obtaining a copy
23752
+ // of this software and associated documentation files (the "Software"), to
23753
+ // deal in the Software without restriction, including without limitation the
23754
+ // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
23755
+ // sell copies of the Software, and to permit persons to whom the Software is
23756
+ // furnished to do so, subject to the following conditions:
23757
+ //
23758
+ // The above copyright notice and this permission notice shall be included in
23759
+ // all copies or substantial portions of the Software.
23760
+ //
23761
+ // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23762
+ // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23763
+ // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23764
+ // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23765
+ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23766
+ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23767
+ // THE SOFTWARE.
23768
+
23319
23769
  // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
23320
23770
  //
23321
23771
  // Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -23507,5 +23957,5 @@ const DONUT_CONTENT_CONFIGURATION_SLICE = {
23507
23957
  * Generated bundle index. Do not edit.
23508
23958
  */
23509
23959
 
23510
- 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 };
23960
+ 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, KpiTileViewComponent, 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, NuiDashboardViewsModule, NuiDashboardsCommonModule, NuiDashboardsModule, NuiPizzagnaModule, PIZZAGNA_EVENT_BUS, PREVIEW_EVENT, PercentageFormatterComponent, PizzagnaComponent, PizzagnaLayer, PizzagnaRootPipe, PizzagnaService, PresentationConfigurationComponent, PresentationConfigurationV2Component, PreviewOverlayComponent, PreviewPlaceholderComponent, PreviewService, ProportionalChartOptionsEditorComponent, ProportionalChartOptionsEditorV2Component, ProportionalChartViewComponent, 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 };
23511
23961
  //# sourceMappingURL=nova-ui-dashboards.mjs.map