@nova-ui/dashboards 12.0.40 → 12.0.42
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.
- package/bundles/nova-ui-dashboards.umd.js +1005 -412
- package/bundles/nova-ui-dashboards.umd.js.map +1 -1
- package/esm2015/lib/components/public-api.js +2 -1
- package/esm2015/lib/components/risk-score-tile/public-api.js +22 -0
- package/esm2015/lib/components/risk-score-tile/risk-score-tile.component.js +124 -0
- package/esm2015/lib/components/risk-score-tile/types.js +25 -0
- package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.js +1 -1
- package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.js +1 -1
- package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.js +1 -1
- package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.js +1 -1
- package/esm2015/lib/components/timeseries-widget/timeseries-helpers.js +2 -2
- package/esm2015/lib/components/timeseries-widget/timeseries-scales.service.js +6 -9
- package/esm2015/lib/configurator/components/widgets/configurator-items/public-api.js +2 -1
- package/esm2015/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.js +112 -0
- package/esm2015/lib/configurator/components/widgets/public-api.js +2 -1
- package/esm2015/lib/configurator/components/widgets/risk-score/public-api.js +22 -0
- package/esm2015/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/public-api.js +21 -0
- package/esm2015/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component.js +96 -0
- package/esm2015/lib/configurator/components/widgets/risk-score/types.js +21 -0
- package/esm2015/lib/configurator/configurator.module.js +9 -1
- package/esm2015/lib/dashboards.module.js +19 -7
- package/esm2015/lib/services/provider-registry.service.js +8 -3
- package/esm2015/lib/services/table-formatter-registry.service.js +12 -1
- package/esm2015/lib/services/types.js +2 -1
- package/esm2015/lib/widget-types/risk-score/risk-score-configurator.js +201 -0
- package/esm2015/lib/widget-types/risk-score/risk-score-widget.js +86 -0
- package/esm2015/lib/widget-types/risk-score/risk-score.js +56 -0
- package/fesm2015/nova-ui-dashboards.js +675 -100
- package/fesm2015/nova-ui-dashboards.js.map +1 -1
- package/lib/components/public-api.d.ts +1 -0
- package/lib/components/risk-score-tile/public-api.d.ts +2 -0
- package/lib/components/risk-score-tile/risk-score-tile.component.d.ts +32 -0
- package/lib/components/risk-score-tile/types.d.ts +28 -0
- package/lib/components/timeseries-widget/timeseries-helpers.d.ts +1 -1
- package/lib/configurator/components/widgets/configurator-items/public-api.d.ts +1 -0
- package/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.d.ts +26 -0
- package/lib/configurator/components/widgets/public-api.d.ts +1 -0
- package/lib/configurator/components/widgets/risk-score/public-api.d.ts +2 -0
- package/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/public-api.d.ts +1 -0
- package/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component.d.ts +32 -0
- package/lib/configurator/components/widgets/risk-score/types.d.ts +7 -0
- package/lib/configurator/configurator.module.d.ts +67 -65
- package/lib/dashboards.module.d.ts +38 -37
- package/lib/services/table-formatter-registry.service.d.ts +5 -0
- package/lib/services/types.d.ts +1 -0
- package/lib/widget-types/risk-score/risk-score-configurator.d.ts +97 -0
- package/lib/widget-types/risk-score/risk-score-widget.d.ts +55 -0
- package/lib/widget-types/risk-score/risk-score.d.ts +5 -0
- package/package.json +3 -3
- package/sdk/atoms/src/lib/components/public-api.d.ts +1 -0
- package/sdk/atoms/src/lib/components/public-api.js +1 -0
- package/sdk/atoms/src/lib/components/public-api.js.map +1 -1
- package/sdk/atoms/src/lib/components/risk-score-tile/public-api.d.ts +2 -0
- package/sdk/atoms/src/lib/components/risk-score-tile/public-api.js +25 -0
- package/sdk/atoms/src/lib/components/risk-score-tile/public-api.js.map +1 -0
- package/sdk/atoms/src/lib/components/risk-score-tile/risk-score-tile.component.d.ts +29 -0
- package/sdk/atoms/src/lib/components/risk-score-tile/risk-score-tile.component.js +128 -0
- package/sdk/atoms/src/lib/components/risk-score-tile/risk-score-tile.component.js.map +1 -0
- package/sdk/atoms/src/lib/components/risk-score-tile/types.d.ts +28 -0
- package/sdk/atoms/src/lib/components/risk-score-tile/types.js +28 -0
- package/sdk/atoms/src/lib/components/risk-score-tile/types.js.map +1 -0
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-helpers.d.ts +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-helpers.js +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-helpers.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-scales.service.js +5 -8
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-scales.service.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/public-api.d.ts +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/public-api.js +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/public-api.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.d.ts +23 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.js +125 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.js.map +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/public-api.d.ts +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/public-api.js +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/public-api.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/public-api.d.ts +2 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/public-api.js +25 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/public-api.js.map +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/public-api.d.ts +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/public-api.js +24 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/public-api.js.map +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component.d.ts +29 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component.js +102 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component.js.map +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/types.d.ts +7 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/types.js +22 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/types.js.map +1 -0
- package/sdk/atoms/src/lib/configurator/configurator.module.js +4 -0
- package/sdk/atoms/src/lib/configurator/configurator.module.js.map +1 -1
- package/sdk/atoms/src/lib/dashboards.module.d.ts +2 -2
- package/sdk/atoms/src/lib/dashboards.module.js +12 -3
- package/sdk/atoms/src/lib/dashboards.module.js.map +1 -1
- package/sdk/atoms/src/lib/services/provider-registry.service.js +5 -0
- package/sdk/atoms/src/lib/services/provider-registry.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/table-formatter-registry.service.d.ts +3 -0
- package/sdk/atoms/src/lib/services/table-formatter-registry.service.js +11 -1
- package/sdk/atoms/src/lib/services/table-formatter-registry.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/types.d.ts +1 -0
- package/sdk/atoms/src/lib/services/types.js +3 -2
- package/sdk/atoms/src/lib/services/types.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/risk-score/risk-score-configurator.d.ts +97 -0
- package/sdk/atoms/src/lib/widget-types/risk-score/risk-score-configurator.js +204 -0
- package/sdk/atoms/src/lib/widget-types/risk-score/risk-score-configurator.js.map +1 -0
- package/sdk/atoms/src/lib/widget-types/risk-score/risk-score-widget.d.ts +55 -0
- package/sdk/atoms/src/lib/widget-types/risk-score/risk-score-widget.js +89 -0
- package/sdk/atoms/src/lib/widget-types/risk-score/risk-score-widget.js.map +1 -0
- package/sdk/atoms/src/lib/widget-types/risk-score/risk-score.d.ts +5 -0
- package/sdk/atoms/src/lib/widget-types/risk-score/risk-score.js +59 -0
- package/sdk/atoms/src/lib/widget-types/risk-score/risk-score.js.map +1 -0
- package/sdk/locale/messages.en.xlf +96 -0
|
@@ -3,7 +3,7 @@ import { CommonModule, DecimalPipe, DOCUMENT } from '@angular/common';
|
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
4
|
import { Component, Input, HostBinding, Pipe, NgModule, InjectionToken, Injectable, Inject, Optional, Directive, NgZone, Injector, EventEmitter, SimpleChange, Output, Host, Self, ViewEncapsulation, ViewChild, ViewChildren, SecurityContext, ChangeDetectionStrategy, HostListener, ElementRef, forwardRef, ViewContainerRef, ContentChildren } from '@angular/core';
|
|
5
5
|
import * as i3 from '@nova-ui/bits';
|
|
6
|
-
import { UnitBase, NuiImageModule, EventDefinition, immutableSet, EventBus, VirtualViewportManager, uuid, TimeframeService, LoggerService, ResizeObserverDirective, nameof, SorterDirection, DEFAULT_INTERACTIVE_ELEMENTS, TableRowComponent, HistoryStorage, OverlayUtilitiesService, getOverlayPositions, NuiFormFieldControl, SelectV2Component, OVERLAY_CONTAINER, SpinnerSize, removeErrors, NuiBusyModule, NuiIconModule, NuiMenuModule, NuiPopupModule, NuiDialogModule, NuiSpinnerModule, NuiTextboxModule, NuiFormFieldModule, NuiButtonModule, NuiOverlayAdditionsModule, NuiSelectV2Module, NuiRadioModule, NuiCheckboxModule, NuiValidationMessageModule, NuiExpanderModule, NuiPanelModule, NuiDividerModule, NuiSwitchModule, NuiMessageModule, NuiWizardModule, NuiSorterModule, NuiSearchModule, NuiRepeatModule, NuiProgressModule, NuiTableModule, NuiTimeFrameBarModule, NuiTimeFramePickerModule, NuiTooltipModule, NuiCommonModule, NuiSelectModule, NuiPopoverModule } from '@nova-ui/bits';
|
|
6
|
+
import { UnitBase, NuiImageModule, EventDefinition, immutableSet, EventBus, VirtualViewportManager, uuid, TimeframeService, LoggerService, ResizeObserverDirective, nameof, SorterDirection, DEFAULT_INTERACTIVE_ELEMENTS, TableRowComponent, HistoryStorage, OverlayUtilitiesService, getOverlayPositions, NuiFormFieldControl, SelectV2Component, OVERLAY_CONTAINER, SpinnerSize, removeErrors, NuiBusyModule, NuiIconModule, NuiMenuModule, NuiPopupModule, NuiDialogModule, NuiSpinnerModule, NuiTextboxModule, NuiFormFieldModule, NuiButtonModule, NuiOverlayAdditionsModule, NuiSelectV2Module, NuiRadioModule, NuiCheckboxModule, NuiValidationMessageModule, NuiExpanderModule, NuiPanelModule, NuiDividerModule, NuiSwitchModule, NuiMessageModule, NuiWizardModule, NuiSorterModule, NuiSearchModule, NuiRepeatModule, NuiProgressModule, NuiTableModule, NuiTimeFrameBarModule, NuiTimeFramePickerModule, NuiTooltipModule, NuiCommonModule, NuiRiskScoreModule, NuiSelectModule, NuiPopoverModule } from '@nova-ui/bits';
|
|
7
7
|
import * as i7 from '@angular/cdk/scrolling';
|
|
8
8
|
import { CdkVirtualScrollViewport, ScrollingModule } from '@angular/cdk/scrolling';
|
|
9
9
|
import * as i1$2 from '@angular/forms';
|
|
@@ -240,6 +240,7 @@ const NOVA_PIZZAGNA_BROADCASTER = "NOVA_PIZZAGNA_BROADCASTER";
|
|
|
240
240
|
const NOVA_VIRTUAL_VIEWPORT_MANAGER = "NOVA_VIRTUAL_VIEWPORT_MANAGER";
|
|
241
241
|
const NOVA_TABLE_FORMATTERS_REGISTRY = "NOVA_TABLE_FORMATTERS_REGISTRY";
|
|
242
242
|
const NOVA_KPI_FORMATTERS_REGISTRY = "NOVA_KPI_FORMATTERS_REGISTRY";
|
|
243
|
+
const NOVA_RISK_SCORE_FORMATTERS_REGISTRY = "NOVA_RISK_SCORE_FORMATTERS_REGISTRY";
|
|
243
244
|
const NOVA_PROPORTIONAL_CONTENT_FORMATTERS_REGISTRY = "NOVA_PROPORTIONAL_CONTENT_FORMATTERS_REGISTRY";
|
|
244
245
|
const NOVA_TEST_REGISTRY = "NOVA_TEST_REGISTRY";
|
|
245
246
|
const NOVA_CONFIGURATOR_DATA_SOURCE_MANAGER = "NOVA_CONFIGURATOR_DATA_SOURCE_MANAGER";
|
|
@@ -2928,6 +2929,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
2928
2929
|
type: Injectable,
|
|
2929
2930
|
args: [{ providedIn: "root" }]
|
|
2930
2931
|
}], ctorParameters: function () { return [{ type: i3.LoggerService }]; } });
|
|
2932
|
+
class RiskScoreFormattersRegistryService extends FormatterRegistryService {
|
|
2933
|
+
constructor(logger) {
|
|
2934
|
+
super(logger, "RiskScoreFormattersRegistryService");
|
|
2935
|
+
}
|
|
2936
|
+
}
|
|
2937
|
+
/** @nocollapse */ RiskScoreFormattersRegistryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: RiskScoreFormattersRegistryService, deps: [{ token: i3.LoggerService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2938
|
+
/** @nocollapse */ RiskScoreFormattersRegistryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: RiskScoreFormattersRegistryService, providedIn: "root" });
|
|
2939
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: RiskScoreFormattersRegistryService, decorators: [{
|
|
2940
|
+
type: Injectable,
|
|
2941
|
+
args: [{ providedIn: "root" }]
|
|
2942
|
+
}], ctorParameters: function () { return [{ type: i3.LoggerService }]; } });
|
|
2931
2943
|
class ProportionalDonutContentFormattersRegistryService extends FormatterRegistryService {
|
|
2932
2944
|
constructor(logger) {
|
|
2933
2945
|
super(logger, "ProportionalDonutContentFormattersRegistryService");
|
|
@@ -3252,6 +3264,11 @@ class ProviderRegistryService {
|
|
|
3252
3264
|
useExisting: KpiFormattersRegistryService,
|
|
3253
3265
|
deps: [PizzagnaService],
|
|
3254
3266
|
},
|
|
3267
|
+
[NOVA_RISK_SCORE_FORMATTERS_REGISTRY]: {
|
|
3268
|
+
provide: FORMATTERS_REGISTRY,
|
|
3269
|
+
useExisting: RiskScoreFormattersRegistryService,
|
|
3270
|
+
deps: [PizzagnaService],
|
|
3271
|
+
},
|
|
3255
3272
|
[NOVA_PROPORTIONAL_CONTENT_FORMATTERS_REGISTRY]: {
|
|
3256
3273
|
provide: FORMATTERS_REGISTRY,
|
|
3257
3274
|
useExisting: ProportionalDonutContentFormattersRegistryService,
|
|
@@ -5329,6 +5346,103 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
5329
5346
|
args: ["gridContainer", { static: true }]
|
|
5330
5347
|
}] } });
|
|
5331
5348
|
|
|
5349
|
+
// © 2023 SolarWinds Worldwide, LLC. All rights reserved.
|
|
5350
|
+
class RiskScoreTileComponent {
|
|
5351
|
+
constructor(changeDetector, dataSource, eventBus) {
|
|
5352
|
+
this.changeDetector = changeDetector;
|
|
5353
|
+
this.dataSource = dataSource;
|
|
5354
|
+
this.eventBus = eventBus;
|
|
5355
|
+
this.busy = false;
|
|
5356
|
+
this.elementClass = "";
|
|
5357
|
+
this.defaultColor = "var(--nui-color-bg-secondary)";
|
|
5358
|
+
}
|
|
5359
|
+
get interactive() {
|
|
5360
|
+
var _a, _b, _c, _d, _e;
|
|
5361
|
+
return (((((_a = this.configuration) === null || _a === void 0 ? void 0 : _a.interactive) ||
|
|
5362
|
+
((_d = (_c = (_b = this.dataSource) === null || _b === void 0 ? void 0 : _b.features) === null || _c === void 0 ? void 0 : _c.getFeatureConfig(WellKnownDataSourceFeatures.Interactivity)) === null || _d === void 0 ? void 0 : _d.enabled)) &&
|
|
5363
|
+
!_isNil((_e = this.widgetData) === null || _e === void 0 ? void 0 : _e.value)) ||
|
|
5364
|
+
false);
|
|
5365
|
+
}
|
|
5366
|
+
onInteraction() {
|
|
5367
|
+
if (!this.interactive) {
|
|
5368
|
+
return;
|
|
5369
|
+
}
|
|
5370
|
+
this.eventBus
|
|
5371
|
+
.getStream(INTERACTION)
|
|
5372
|
+
.next({ payload: { data: this.widgetData } });
|
|
5373
|
+
}
|
|
5374
|
+
getScaleBroker(id) {
|
|
5375
|
+
if (this.syncValuesBroker) {
|
|
5376
|
+
return this.syncValuesBroker.find((b) => b.id === id);
|
|
5377
|
+
}
|
|
5378
|
+
}
|
|
5379
|
+
ngOnChanges(changes) {
|
|
5380
|
+
var _a;
|
|
5381
|
+
if (changes.configuration) {
|
|
5382
|
+
const formattersConfiguration = changes.configuration.currentValue.formatters;
|
|
5383
|
+
if (formattersConfiguration) {
|
|
5384
|
+
this.formattersProperties = this.getFormatterProperties(formattersConfiguration);
|
|
5385
|
+
}
|
|
5386
|
+
}
|
|
5387
|
+
if (changes.widgetData) {
|
|
5388
|
+
if ((_a = this.configuration) === null || _a === void 0 ? void 0 : _a.formatters) {
|
|
5389
|
+
this.formattersProperties = this.getFormatterProperties(this.configuration.formatters);
|
|
5390
|
+
}
|
|
5391
|
+
}
|
|
5392
|
+
}
|
|
5393
|
+
/**
|
|
5394
|
+
* Iterates over formatters and maps their properties from the data
|
|
5395
|
+
*
|
|
5396
|
+
* @param formattersConfiguration
|
|
5397
|
+
*/
|
|
5398
|
+
getFormatterProperties(formattersConfiguration) {
|
|
5399
|
+
const formatterKeys = Object.keys(formattersConfiguration);
|
|
5400
|
+
const formattersProperties = formatterKeys.reduce((acc, key) => {
|
|
5401
|
+
var _a;
|
|
5402
|
+
const formatterCfg = (_a = formattersConfiguration[key]) === null || _a === void 0 ? void 0 : _a.formatter;
|
|
5403
|
+
if (formatterCfg) {
|
|
5404
|
+
acc[key] = {
|
|
5405
|
+
data: mapDataToFormatterProperties(formatterCfg, this.widgetData),
|
|
5406
|
+
};
|
|
5407
|
+
}
|
|
5408
|
+
return acc;
|
|
5409
|
+
}, {});
|
|
5410
|
+
return formattersProperties;
|
|
5411
|
+
}
|
|
5412
|
+
}
|
|
5413
|
+
RiskScoreTileComponent.lateLoadKey = "RiskScoreTileComponent";
|
|
5414
|
+
/** @nocollapse */ RiskScoreTileComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: RiskScoreTileComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: DATA_SOURCE, optional: true }, { token: PIZZAGNA_EVENT_BUS }], target: i0.ɵɵFactoryTarget.Component });
|
|
5415
|
+
/** @nocollapse */ RiskScoreTileComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: RiskScoreTileComponent, selector: "nui-risk-score-tile", inputs: { widgetData: "widgetData", syncValuesBroker: "syncValuesBroker", configuration: "configuration", busy: "busy" }, host: { properties: { "class": "this.elementClass" } }, usesOnChanges: true, ngImport: i0, template: "<div class=\"w-100 h-100\" nui-busy [busy]=\"busy\">\n <ng-container *ngIf=\"widgetData?.link\">\n <a class=\"nui-risk-score-tile-indicator\" [href]=\"widgetData.link\">\n <ng-container [ngTemplateOutlet]=\"riskScoreContent\"></ng-container>\n </a>\n </ng-container>\n\n <ng-container *ngIf=\"!widgetData?.link\">\n <div class=\"nui-risk-score-tile-indicator\" (click)=\"onInteraction()\">\n <ng-container [ngTemplateOutlet]=\"riskScoreContent\"></ng-container>\n </div>\n </ng-container>\n</div>\n\n<ng-template #riskScoreContent>\n <div\n class=\"nui-risk-score-tile-indicator__background\"\n [class.nui-risk-score-tile-indicator--interactive]=\"interactive\"\n ></div>\n <div\n class=\"nui-risk-score-tile-indicator__text\"\n [ngStyle]=\"{\n color: widgetData?.textColor || defaultColor\n }\"\n >\n <div class=\"nui-risk-score-tile-indicator__zoom-container\">\n <div\n class=\"nui-risk-score-tile-indicator__label\"\n [title]=\"widgetData?.label\"\n >\n <span\n nuiZoomContent\n [useZoom]=\"false\"\n [minScale]=\"0.5\"\n [scaleIN$]=\"getScaleBroker('label')?.out$\"\n [scaleOUT$]=\"getScaleBroker('label')?.in$\"\n >{{ widgetData?.label }}</span\n >\n </div>\n\n <div\n class=\"nui-risk-score-tile-indicator__value\"\n [style.font-size]=\"widgetData?.fontSize\"\n [title]=\"widgetData?.value\"\n >\n <nui-risk-score\n nuiZoomContent\n [useZoom]=\"false\"\n [scaleIN$]=\"getScaleBroker('value')?.out$\"\n [scaleOUT$]=\"getScaleBroker('value')?.in$\"\n class=\"nui-risk-score-tile-indicator__score\"\n [level]=\"widgetData?.value\"\n [minLevel]=\"widgetData?.minValue ?? 0\"\n [maxLevel]=\"widgetData?.maxValue ?? 10\"\n [title]=\"\n widgetData?.useStaticLabel ?? false\n ? widgetData?.staticLabel\n : widgetData?.value\n \"\n ></nui-risk-score>\n </div>\n\n <div\n class=\"nui-risk-score-tile-indicator__description\"\n [title]=\"widgetData?.description\"\n >\n <div\n class=\"nui-risk-score-tile-indicator__description__text\"\n nuiZoomContent\n [useZoom]=\"false\"\n [minScale]=\"0.7\"\n [scaleIN$]=\"getScaleBroker('description')?.out$\"\n [scaleOUT$]=\"getScaleBroker('description')?.in$\"\n >\n <p>{{ widgetData?.description }}</p>\n </div>\n </div>\n </div>\n </div>\n</ng-template>\n", styles: [".nui-risk-score-tile-indicator{position:relative;display:block;height:100%;width:100%;overflow:hidden}.nui-risk-score-tile-indicator__background{height:100%;width:100%;background-color:var(--nui-color-bg-secondary,#fafafa);color:var(--nui-color-text-default,#111)}.nui-risk-score-tile-indicator__text{position:absolute;width:100%;height:100%;top:0;pointer-events:none}.nui-risk-score-tile-indicator__text *>span{filter:invert(1) grayscale(1) contrast(100)}.nui-risk-score-tile-indicator__value{font-size:36px;font-weight:600;margin:auto 20px;min-width:calc(100% - 20px * 2);white-space:nowrap;display:flex;align-items:center;justify-content:center;height:100%;min-height:5px;max-height:200px}.nui-risk-score-tile-indicator__score{min-width:100%}.nui-risk-score-tile-indicator__label{font-size:16px;font-weight:600;min-width:0;margin-top:auto;display:flex;align-items:center;justify-content:center;height:100%;min-height:10px;max-height:45px}.nui-risk-score-tile-indicator__label>span{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis}.nui-risk-score-tile-indicator__description{font-size:13.5px;font-weight:400;min-width:0;margin-bottom:auto;display:flex;align-items:center;justify-content:center;height:100%;min-height:10px;max-height:45px;color:var(--nui-color-text-secondary,rgba(17, 17, 17, .6))}.nui-risk-score-tile-indicator__description__text{white-space:wrap;word-wrap:break-word;word-break:keep-all;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;white-space:pre-wrap}.nui-risk-score-tile-indicator__zoom-container{display:grid;grid-template-columns:1fr;grid-template-rows:30% 40% 30%;width:100%;height:100%}.nui-risk-score-tile-indicator--interactive{cursor:pointer}.nui-risk-score-tile-indicator--interactive:hover{filter:brightness(90%)}\n"], components: [{ type: i3.BusyComponent, selector: "[nui-busy]", inputs: ["disableTabNavigation", "busy"] }, { type: i3.RiskScoreComponent, selector: "nui-risk-score", inputs: ["level", "minLevel", "maxLevel", "title"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i3.ZoomContentDirective, selector: "[nuiZoomContent]", inputs: ["zoomRatio", "minZoomDifference", "useZoom", "margin", "minScale", "maxZoom", "minZoom", "maxScale", "scaleIN$", "scaleOUT$"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5416
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: RiskScoreTileComponent, decorators: [{
|
|
5417
|
+
type: Component,
|
|
5418
|
+
args: [{
|
|
5419
|
+
selector: "nui-risk-score-tile",
|
|
5420
|
+
templateUrl: "./risk-score-tile.component.html",
|
|
5421
|
+
styleUrls: ["./risk-score-tile.component.less"],
|
|
5422
|
+
encapsulation: ViewEncapsulation.Emulated,
|
|
5423
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5424
|
+
}]
|
|
5425
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
|
|
5426
|
+
type: Optional
|
|
5427
|
+
}, {
|
|
5428
|
+
type: Inject,
|
|
5429
|
+
args: [DATA_SOURCE]
|
|
5430
|
+
}] }, { type: i3.EventBus, decorators: [{
|
|
5431
|
+
type: Inject,
|
|
5432
|
+
args: [PIZZAGNA_EVENT_BUS]
|
|
5433
|
+
}] }]; }, propDecorators: { widgetData: [{
|
|
5434
|
+
type: Input
|
|
5435
|
+
}], syncValuesBroker: [{
|
|
5436
|
+
type: Input
|
|
5437
|
+
}], configuration: [{
|
|
5438
|
+
type: Input
|
|
5439
|
+
}], busy: [{
|
|
5440
|
+
type: Input
|
|
5441
|
+
}], elementClass: [{
|
|
5442
|
+
type: HostBinding,
|
|
5443
|
+
args: ["class"]
|
|
5444
|
+
}] } });
|
|
5445
|
+
|
|
5332
5446
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
5333
5447
|
class DelayedMousePresenceDetectionDirective {
|
|
5334
5448
|
constructor() {
|
|
@@ -6306,7 +6420,7 @@ class TimeseriesScalesService {
|
|
|
6306
6420
|
* @param scaleConfig
|
|
6307
6421
|
*/
|
|
6308
6422
|
updateConfiguration(scale, scaleConfig, widgetConfig) {
|
|
6309
|
-
var _a, _b, _c, _d, _e, _f
|
|
6423
|
+
var _a, _b, _c, _d, _e, _f;
|
|
6310
6424
|
switch (scaleConfig.type) {
|
|
6311
6425
|
case TimeseriesScaleType.Time: {
|
|
6312
6426
|
const interval = (_a = scaleConfig.properties) === null || _a === void 0 ? void 0 : _a.timeInterval;
|
|
@@ -6334,18 +6448,15 @@ class TimeseriesScalesService {
|
|
|
6334
6448
|
if ((_c = scaleConfig.properties) === null || _c === void 0 ? void 0 : _c.axisUnits) {
|
|
6335
6449
|
scale.scaleUnits = scaleConfig.properties.axisUnits;
|
|
6336
6450
|
}
|
|
6337
|
-
if ((widgetConfig === null || widgetConfig === void 0 ? void 0 : widgetConfig.preset) === TimeseriesChartPreset.StatusBar
|
|
6338
|
-
((widgetConfig === null || widgetConfig === void 0 ? void 0 : widgetConfig.preset) ===
|
|
6339
|
-
TimeseriesChartPreset.StackedArea &&
|
|
6340
|
-
((_d = scaleConfig.properties) === null || _d === void 0 ? void 0 : _d.axisUnits) === "percent")) {
|
|
6451
|
+
if ((widgetConfig === null || widgetConfig === void 0 ? void 0 : widgetConfig.preset) === TimeseriesChartPreset.StatusBar) {
|
|
6341
6452
|
return;
|
|
6342
6453
|
}
|
|
6343
|
-
if (((
|
|
6454
|
+
if (((_d = scaleConfig.properties) === null || _d === void 0 ? void 0 : _d.axisUnits) === "percent" &&
|
|
6344
6455
|
scale.setFixDomainValues) {
|
|
6345
6456
|
scale.setFixDomainValues([0, 25, 50, 75, 100]);
|
|
6346
6457
|
}
|
|
6347
|
-
if (((
|
|
6348
|
-
((
|
|
6458
|
+
if (((_e = scaleConfig.properties) === null || _e === void 0 ? void 0 : _e.axisUnits) !== "percent" &&
|
|
6459
|
+
((_f = scaleConfig.properties) === null || _f === void 0 ? void 0 : _f.domain) &&
|
|
6349
6460
|
scale.setFixDomainValues) {
|
|
6350
6461
|
let domainAdjusted;
|
|
6351
6462
|
switch (widgetConfig === null || widgetConfig === void 0 ? void 0 : widgetConfig.preset) {
|
|
@@ -6441,7 +6552,7 @@ function hasTimeseriesWidgetSummaryLegend(type) {
|
|
|
6441
6552
|
type === TimeseriesChartTypes.multi);
|
|
6442
6553
|
}
|
|
6443
6554
|
const SUMMARY_LEGEND_BCG_COLOR = "var(--nui-color-chart-sum)";
|
|
6444
|
-
const SUMMARY_LEGEND_COLOR = "var(--nui-color-text-
|
|
6555
|
+
const SUMMARY_LEGEND_COLOR = "var(--nui-color-text-inverse)";
|
|
6445
6556
|
|
|
6446
6557
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
6447
6558
|
// eslint-disable-next-line @angular-eslint/directive-class-suffix
|
|
@@ -7640,7 +7751,7 @@ class LineChartComponent extends XYChartComponent {
|
|
|
7640
7751
|
}
|
|
7641
7752
|
LineChartComponent.lateLoadKey = "LineChartComponent";
|
|
7642
7753
|
/** @nocollapse */ LineChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: LineChartComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: DATA_SOURCE, optional: true }, { token: TimeseriesScalesService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
7643
|
-
/** @nocollapse */ LineChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: LineChartComponent, selector: "nui-line-chart", usesInheritance: true, ngImport: i0, template: "<div\n class=\"nui-chart-layout h-100\"\n [class.layout-fixed]=\"configuration.gridConfig?.fixedLayout\"\n>\n <div\n *ngIf=\"!configuration.gridConfig?.hideYAxisLabel\"\n class=\"axis-label-left nui-text-small\"\n >\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"\n ></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\"\n >\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \"\n >\n <nui-legend-series\n *ngIf=\"widgetData.summarySerie && summarySerie\"\n class=\"summary-serie\"\n [interactive]=\"false\"\n (mouseenter)=\"chartAssist.resetVisibleSeries()\"\n >\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n summarySerie,\n 'y',\n 'tick'\n )\n \"\n [backgroundColor]=\"summaryLegendBcgColor\"\n [color]=\"summaryLegendColor\"\n >\n </nui-rich-legend-tile>\n\n <div description class=\"description-container\">\n <div class=\"description-text nui-text-small\">\n <div\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n [title]=\"summarySerie.legendDescriptionPrimary\"\n >\n {{ summarySerie.legendDescriptionPrimary }}\n </div>\n\n <div\n class=\"description description-secondary\"\n [title]=\"summarySerie.legendDescriptionSecondary\"\n >\n {{ summarySerie.legendDescriptionSecondary }}\n </div>\n </div>\n </div>\n\n <button\n nui-button\n legendMenu\n icon=\"remove\"\n type=\"button\"\n displayStyle=\"action\"\n *ngIf=\"displayDeleteButton()\"\n (click)=\"removeMetric(summarySerie.id)\"\n displayStyle=\"action\"\n ></button>\n </nui-legend-series>\n\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n >\n <nui-rich-legend-tile\n [value]=\"getLegendValue(legendSeries, valueAccessorKey)\"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \"\n >\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \"\n >\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div\n description\n class=\"description-container d-flex nui-text-small justify-content-center\"\n >\n <div class=\"descriptions\">\n <div\n *ngIf=\"!legendSeries.link\"\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.link\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n <div\n class=\"description description-secondary\"\n *ngIf=\"\n !legendSeries.secondaryLink &&\n !widgetData.summarySerie\n \"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"\n legendSeries.secondaryLink &&\n !widgetData.summarySerie\n \"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n </div>\n <nui-icon\n *ngIf=\"legendSeries.realtime\"\n icon=\"fast-poll\"\n iconColor=\"primary-blue\"\n ></nui-icon>\n <nui-icon\n *ngIf=\"legendSeries.transformer\"\n icon=\"performance\"\n iconColor=\"primary-blue\"\n ></nui-icon>\n </div>\n <nui-menu\n legendMenu\n *ngIf=\"displayLegendMenu()\"\n icon=\"menu\"\n displayStyle=\"action\"\n [appendToBody]=\"true\"\n >\n <nui-menu-group>\n <nui-menu-action\n i18n\n (actionDone)=\"removeMetric(legendSeries.id)\"\n >Remove</nui-menu-action\n >\n </nui-menu-group>\n <nui-menu-group header=\"Display Transforms\" i18n-header>\n <nui-menu-action\n *ngFor=\"let tr of transformers | nuiMapKeyValue\"\n [class.selected]=\"\n legendSeries.transformer?.name ===\n tr.value.transformer?.name\n \"\n (actionDone)=\"\n transformData(legendSeries.id, tr.key)\n \"\n >\n {{ tr.value.displayName }}\n </nui-menu-action>\n </nui-menu-group>\n </nui-menu>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#0079aa)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}.layout-fixed .legend{max-width:250px;min-width:250px;padding-left:8px!important}.layout-fixed .legend nui-legend{margin:0!important;width:100%}nui-legend-series{width:100%}nui-legend-series:hover{background-color:#f2f2f2;cursor:pointer}nui-icon{padding:0 5px;align-items:center}.selected{background-color:#00c4d21a}.selected:hover{background-color:#00c4d233}:host ::ng-deep div:has(> .description-container){flex-grow:1;overflow:hidden}:host ::ng-deep div:has(> .description-container) .descriptions{overflow:hidden}:host ::ng-deep nui-legend[ng-reflect-active=true] .summary-serie .nui-rich-legend-tile__tilebox{color:#111!important}\n"], components: [{ type: i2.ChartComponent, selector: "nui-chart", inputs: ["chart"] }, { type: i2.LegendComponent, selector: "nui-legend", inputs: ["active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { type: i2.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["isSelected", "active", "interactive", "seriesRenderState", "icon", "descriptionPrimary", "descriptionSecondary", "color"], outputs: ["isSelectedChange"] }, { type: i2.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "backgroundColor", "value", "color"] }, { type: i3.ButtonComponent, selector: "[nui-button]", inputs: ["ariaLabel", "isRepeat", "iconColor", "size", "displayStyle", "icon", "iconRight", "isBusy", "isEmpty"] }, { type: i2.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["maxSize", "marker", "drawLine", "color"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.MenuComponent, selector: "nui-menu", inputs: ["icon", "widthOfPopup", "contextClass", "appendToBody", "ariaLabel", "title", "size", "displayStyle", "isDisabled", "itemsSource"], outputs: ["blurred"] }, { type: i3.MenuGroupComponent, selector: "nui-menu-group", inputs: ["header"] }, { type: i3.MenuActionComponent, selector: "nui-menu-action", inputs: ["icon", "type"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "nuiMapKeyValue": i3.MapKeyValuePipe } });
|
|
7754
|
+
/** @nocollapse */ LineChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: LineChartComponent, selector: "nui-line-chart", usesInheritance: true, ngImport: i0, template: "<div\n class=\"nui-chart-layout h-100\"\n [class.layout-fixed]=\"configuration.gridConfig?.fixedLayout\"\n>\n <div\n *ngIf=\"!configuration.gridConfig?.hideYAxisLabel\"\n class=\"axis-label-left nui-text-small\"\n >\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"\n ></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\"\n >\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \"\n >\n <nui-legend-series\n *ngIf=\"widgetData.summarySerie && summarySerie\"\n class=\"summary-serie\"\n [interactive]=\"false\"\n (mouseenter)=\"chartAssist.resetVisibleSeries()\"\n >\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n summarySerie,\n 'y',\n 'tick'\n )\n \"\n [backgroundColor]=\"summaryLegendBcgColor\"\n [color]=\"summaryLegendColor\"\n >\n </nui-rich-legend-tile>\n\n <div description class=\"description-container\">\n <div class=\"description-text nui-text-small\">\n <div\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n [title]=\"summarySerie.legendDescriptionPrimary\"\n >\n {{ summarySerie.legendDescriptionPrimary }}\n </div>\n\n <div\n class=\"description description-secondary\"\n [title]=\"summarySerie.legendDescriptionSecondary\"\n >\n {{ summarySerie.legendDescriptionSecondary }}\n </div>\n </div>\n </div>\n\n <button\n nui-button\n legendMenu\n icon=\"remove\"\n type=\"button\"\n displayStyle=\"action\"\n *ngIf=\"displayDeleteButton()\"\n (click)=\"removeMetric(summarySerie.id)\"\n displayStyle=\"action\"\n ></button>\n </nui-legend-series>\n\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n >\n <nui-rich-legend-tile\n [value]=\"getLegendValue(legendSeries, valueAccessorKey)\"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \"\n >\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \"\n >\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div\n description\n class=\"description-container d-flex nui-text-small justify-content-center\"\n >\n <div class=\"descriptions\">\n <div\n *ngIf=\"!legendSeries.link\"\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.link\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n <div\n class=\"description description-secondary\"\n *ngIf=\"\n !legendSeries.secondaryLink &&\n !widgetData.summarySerie\n \"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"\n legendSeries.secondaryLink &&\n !widgetData.summarySerie\n \"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n </div>\n <nui-icon\n *ngIf=\"legendSeries.realtime\"\n icon=\"fast-poll\"\n iconColor=\"primary-blue\"\n ></nui-icon>\n <nui-icon\n *ngIf=\"legendSeries.transformer\"\n icon=\"performance\"\n iconColor=\"primary-blue\"\n ></nui-icon>\n </div>\n <nui-menu\n legendMenu\n *ngIf=\"displayLegendMenu()\"\n icon=\"menu\"\n displayStyle=\"action\"\n [appendToBody]=\"true\"\n >\n <nui-menu-group>\n <nui-menu-action\n i18n\n (actionDone)=\"removeMetric(legendSeries.id)\"\n >Remove</nui-menu-action\n >\n </nui-menu-group>\n <nui-menu-group header=\"Display Transforms\" i18n-header>\n <nui-menu-action\n *ngFor=\"let tr of transformers | nuiMapKeyValue\"\n [class.selected]=\"\n legendSeries.transformer?.name ===\n tr.value.transformer?.name\n \"\n (actionDone)=\"\n transformData(legendSeries.id, tr.key)\n \"\n >\n {{ tr.value.displayName }}\n </nui-menu-action>\n </nui-menu-group>\n </nui-menu>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#0079aa)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}.layout-fixed .legend{max-width:250px;min-width:250px;padding-left:8px!important}.layout-fixed .legend nui-legend{margin:0!important;width:100%}nui-legend-series{width:100%}nui-legend-series:hover{background-color:#f2f2f2;cursor:pointer}nui-icon{padding:0 5px;align-items:center}.selected{background-color:#00c4d21a}.selected:hover{background-color:#00c4d233}:host ::ng-deep div:has(> .description-container){flex-grow:1;overflow:hidden}:host ::ng-deep div:has(> .description-container) .descriptions{overflow:hidden}\n"], components: [{ type: i2.ChartComponent, selector: "nui-chart", inputs: ["chart"] }, { type: i2.LegendComponent, selector: "nui-legend", inputs: ["active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { type: i2.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["isSelected", "active", "interactive", "seriesRenderState", "icon", "descriptionPrimary", "descriptionSecondary", "color"], outputs: ["isSelectedChange"] }, { type: i2.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "backgroundColor", "value", "color"] }, { type: i3.ButtonComponent, selector: "[nui-button]", inputs: ["ariaLabel", "isRepeat", "iconColor", "size", "displayStyle", "icon", "iconRight", "isBusy", "isEmpty"] }, { type: i2.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["maxSize", "marker", "drawLine", "color"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.MenuComponent, selector: "nui-menu", inputs: ["icon", "widthOfPopup", "contextClass", "appendToBody", "ariaLabel", "title", "size", "displayStyle", "isDisabled", "itemsSource"], outputs: ["blurred"] }, { type: i3.MenuGroupComponent, selector: "nui-menu-group", inputs: ["header"] }, { type: i3.MenuActionComponent, selector: "nui-menu-action", inputs: ["icon", "type"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "nuiMapKeyValue": i3.MapKeyValuePipe } });
|
|
7644
7755
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: LineChartComponent, decorators: [{
|
|
7645
7756
|
type: Component,
|
|
7646
7757
|
args: [{
|
|
@@ -7684,7 +7795,7 @@ class StackedAreaChartComponent extends XYChartComponent {
|
|
|
7684
7795
|
}
|
|
7685
7796
|
StackedAreaChartComponent.lateLoadKey = "StackedAreaChartComponent";
|
|
7686
7797
|
/** @nocollapse */ StackedAreaChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: StackedAreaChartComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: DATA_SOURCE, optional: true }, { token: TimeseriesScalesService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
7687
|
-
/** @nocollapse */ StackedAreaChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: StackedAreaChartComponent, selector: "nui-stacked-area-chart", usesInheritance: true, ngImport: i0, template: "<div\n class=\"nui-chart-layout h-100\"\n [class.layout-fixed]=\"configuration.gridConfig?.fixedLayout\"\n>\n <div\n *ngIf=\"!configuration.gridConfig?.hideYAxisLabel\"\n class=\"axis-label-left nui-text-small\"\n >\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"\n ></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\"\n >\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \"\n >\n <nui-legend-series\n *ngIf=\"widgetData.summarySerie && summarySerie\"\n class=\"summary-serie\"\n [interactive]=\"false\"\n (mouseenter)=\"chartAssist.resetVisibleSeries()\"\n >\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n summarySerie,\n 'y',\n 'tick'\n )\n \"\n [backgroundColor]=\"summaryLegendBcgColor\"\n [color]=\"summaryLegendColor\"\n >\n </nui-rich-legend-tile>\n\n <div description class=\"description-container\">\n <div class=\"description-text nui-text-small\">\n <div\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n [title]=\"summarySerie.legendDescriptionPrimary\"\n >\n {{ summarySerie.legendDescriptionPrimary }}\n </div>\n\n <div\n class=\"description description-secondary\"\n [title]=\"summarySerie.legendDescriptionSecondary\"\n >\n {{ summarySerie.legendDescriptionSecondary }}\n </div>\n </div>\n </div>\n\n <button\n nui-button\n legendMenu\n icon=\"remove\"\n type=\"button\"\n displayStyle=\"action\"\n *ngIf=\"displayDeleteButton()\"\n (click)=\"removeMetric(summarySerie.id)\"\n displayStyle=\"action\"\n ></button>\n </nui-legend-series>\n\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n >\n <nui-rich-legend-tile\n [value]=\"getLegendValue(legendSeries, valueAccessorKey)\"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \"\n >\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \"\n >\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div\n description\n class=\"description-container d-flex nui-text-small justify-content-center\"\n >\n <div class=\"descriptions\">\n <div\n *ngIf=\"!legendSeries.link\"\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.link\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n <div\n class=\"description description-secondary\"\n *ngIf=\"\n !legendSeries.secondaryLink &&\n !widgetData.summarySerie\n \"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"\n legendSeries.secondaryLink &&\n !widgetData.summarySerie\n \"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n </div>\n <nui-icon\n *ngIf=\"legendSeries.realtime\"\n icon=\"fast-poll\"\n iconColor=\"primary-blue\"\n ></nui-icon>\n <nui-icon\n *ngIf=\"legendSeries.transformer\"\n icon=\"performance\"\n iconColor=\"primary-blue\"\n ></nui-icon>\n </div>\n <nui-menu\n legendMenu\n *ngIf=\"displayLegendMenu()\"\n icon=\"menu\"\n displayStyle=\"action\"\n [appendToBody]=\"true\"\n >\n <nui-menu-group>\n <nui-menu-action\n i18n\n (actionDone)=\"removeMetric(legendSeries.id)\"\n >Remove</nui-menu-action\n >\n </nui-menu-group>\n <nui-menu-group header=\"Display Transforms\" i18n-header>\n <nui-menu-action\n *ngFor=\"let tr of transformers | nuiMapKeyValue\"\n [class.selected]=\"\n legendSeries.transformer?.name ===\n tr.value.transformer?.name\n \"\n (actionDone)=\"\n transformData(legendSeries.id, tr.key)\n \"\n >\n {{ tr.value.displayName }}\n </nui-menu-action>\n </nui-menu-group>\n </nui-menu>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#0079aa)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}.layout-fixed .legend{max-width:250px;min-width:250px;padding-left:8px!important}.layout-fixed .legend nui-legend{margin:0!important;width:100%}nui-legend-series{width:100%}nui-legend-series:hover{background-color:#f2f2f2;cursor:pointer}nui-icon{padding:0 5px;align-items:center}.selected{background-color:#00c4d21a}.selected:hover{background-color:#00c4d233}:host ::ng-deep div:has(> .description-container){flex-grow:1;overflow:hidden}:host ::ng-deep div:has(> .description-container) .descriptions{overflow:hidden}:host ::ng-deep nui-legend[ng-reflect-active=true] .summary-serie .nui-rich-legend-tile__tilebox{color:#111!important}\n"], components: [{ type: i2.ChartComponent, selector: "nui-chart", inputs: ["chart"] }, { type: i2.LegendComponent, selector: "nui-legend", inputs: ["active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { type: i2.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["isSelected", "active", "interactive", "seriesRenderState", "icon", "descriptionPrimary", "descriptionSecondary", "color"], outputs: ["isSelectedChange"] }, { type: i2.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "backgroundColor", "value", "color"] }, { type: i3.ButtonComponent, selector: "[nui-button]", inputs: ["ariaLabel", "isRepeat", "iconColor", "size", "displayStyle", "icon", "iconRight", "isBusy", "isEmpty"] }, { type: i2.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["maxSize", "marker", "drawLine", "color"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.MenuComponent, selector: "nui-menu", inputs: ["icon", "widthOfPopup", "contextClass", "appendToBody", "ariaLabel", "title", "size", "displayStyle", "isDisabled", "itemsSource"], outputs: ["blurred"] }, { type: i3.MenuGroupComponent, selector: "nui-menu-group", inputs: ["header"] }, { type: i3.MenuActionComponent, selector: "nui-menu-action", inputs: ["icon", "type"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "nuiMapKeyValue": i3.MapKeyValuePipe } });
|
|
7798
|
+
/** @nocollapse */ StackedAreaChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: StackedAreaChartComponent, selector: "nui-stacked-area-chart", usesInheritance: true, ngImport: i0, template: "<div\n class=\"nui-chart-layout h-100\"\n [class.layout-fixed]=\"configuration.gridConfig?.fixedLayout\"\n>\n <div\n *ngIf=\"!configuration.gridConfig?.hideYAxisLabel\"\n class=\"axis-label-left nui-text-small\"\n >\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"\n ></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\"\n >\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \"\n >\n <nui-legend-series\n *ngIf=\"widgetData.summarySerie && summarySerie\"\n class=\"summary-serie\"\n [interactive]=\"false\"\n (mouseenter)=\"chartAssist.resetVisibleSeries()\"\n >\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n summarySerie,\n 'y',\n 'tick'\n )\n \"\n [backgroundColor]=\"summaryLegendBcgColor\"\n [color]=\"summaryLegendColor\"\n >\n </nui-rich-legend-tile>\n\n <div description class=\"description-container\">\n <div class=\"description-text nui-text-small\">\n <div\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n [title]=\"summarySerie.legendDescriptionPrimary\"\n >\n {{ summarySerie.legendDescriptionPrimary }}\n </div>\n\n <div\n class=\"description description-secondary\"\n [title]=\"summarySerie.legendDescriptionSecondary\"\n >\n {{ summarySerie.legendDescriptionSecondary }}\n </div>\n </div>\n </div>\n\n <button\n nui-button\n legendMenu\n icon=\"remove\"\n type=\"button\"\n displayStyle=\"action\"\n *ngIf=\"displayDeleteButton()\"\n (click)=\"removeMetric(summarySerie.id)\"\n displayStyle=\"action\"\n ></button>\n </nui-legend-series>\n\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n >\n <nui-rich-legend-tile\n [value]=\"getLegendValue(legendSeries, valueAccessorKey)\"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \"\n >\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \"\n >\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div\n description\n class=\"description-container d-flex nui-text-small justify-content-center\"\n >\n <div class=\"descriptions\">\n <div\n *ngIf=\"!legendSeries.link\"\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.link\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n <div\n class=\"description description-secondary\"\n *ngIf=\"\n !legendSeries.secondaryLink &&\n !widgetData.summarySerie\n \"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"\n legendSeries.secondaryLink &&\n !widgetData.summarySerie\n \"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n </div>\n <nui-icon\n *ngIf=\"legendSeries.realtime\"\n icon=\"fast-poll\"\n iconColor=\"primary-blue\"\n ></nui-icon>\n <nui-icon\n *ngIf=\"legendSeries.transformer\"\n icon=\"performance\"\n iconColor=\"primary-blue\"\n ></nui-icon>\n </div>\n <nui-menu\n legendMenu\n *ngIf=\"displayLegendMenu()\"\n icon=\"menu\"\n displayStyle=\"action\"\n [appendToBody]=\"true\"\n >\n <nui-menu-group>\n <nui-menu-action\n i18n\n (actionDone)=\"removeMetric(legendSeries.id)\"\n >Remove</nui-menu-action\n >\n </nui-menu-group>\n <nui-menu-group header=\"Display Transforms\" i18n-header>\n <nui-menu-action\n *ngFor=\"let tr of transformers | nuiMapKeyValue\"\n [class.selected]=\"\n legendSeries.transformer?.name ===\n tr.value.transformer?.name\n \"\n (actionDone)=\"\n transformData(legendSeries.id, tr.key)\n \"\n >\n {{ tr.value.displayName }}\n </nui-menu-action>\n </nui-menu-group>\n </nui-menu>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#0079aa)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}.layout-fixed .legend{max-width:250px;min-width:250px;padding-left:8px!important}.layout-fixed .legend nui-legend{margin:0!important;width:100%}nui-legend-series{width:100%}nui-legend-series:hover{background-color:#f2f2f2;cursor:pointer}nui-icon{padding:0 5px;align-items:center}.selected{background-color:#00c4d21a}.selected:hover{background-color:#00c4d233}:host ::ng-deep div:has(> .description-container){flex-grow:1;overflow:hidden}:host ::ng-deep div:has(> .description-container) .descriptions{overflow:hidden}\n"], components: [{ type: i2.ChartComponent, selector: "nui-chart", inputs: ["chart"] }, { type: i2.LegendComponent, selector: "nui-legend", inputs: ["active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { type: i2.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["isSelected", "active", "interactive", "seriesRenderState", "icon", "descriptionPrimary", "descriptionSecondary", "color"], outputs: ["isSelectedChange"] }, { type: i2.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "backgroundColor", "value", "color"] }, { type: i3.ButtonComponent, selector: "[nui-button]", inputs: ["ariaLabel", "isRepeat", "iconColor", "size", "displayStyle", "icon", "iconRight", "isBusy", "isEmpty"] }, { type: i2.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["maxSize", "marker", "drawLine", "color"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.MenuComponent, selector: "nui-menu", inputs: ["icon", "widthOfPopup", "contextClass", "appendToBody", "ariaLabel", "title", "size", "displayStyle", "isDisabled", "itemsSource"], outputs: ["blurred"] }, { type: i3.MenuGroupComponent, selector: "nui-menu-group", inputs: ["header"] }, { type: i3.MenuActionComponent, selector: "nui-menu-action", inputs: ["icon", "type"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "nuiMapKeyValue": i3.MapKeyValuePipe } });
|
|
7688
7799
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: StackedAreaChartComponent, decorators: [{
|
|
7689
7800
|
type: Component,
|
|
7690
7801
|
args: [{
|
|
@@ -7743,7 +7854,7 @@ class StackedBarChartComponent extends XYChartComponent {
|
|
|
7743
7854
|
}
|
|
7744
7855
|
StackedBarChartComponent.lateLoadKey = "StackedBarChartComponent";
|
|
7745
7856
|
/** @nocollapse */ StackedBarChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: StackedBarChartComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: DATA_SOURCE, optional: true }, { token: TimeseriesScalesService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
7746
|
-
/** @nocollapse */ StackedBarChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: StackedBarChartComponent, selector: "nui-stacked-bar-chart", usesInheritance: true, ngImport: i0, template: "<div\n class=\"nui-chart-layout h-100\"\n [class.layout-fixed]=\"configuration.gridConfig?.fixedLayout\"\n>\n <div\n *ngIf=\"!configuration.gridConfig?.hideYAxisLabel\"\n class=\"axis-label-left nui-text-small\"\n >\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"\n ></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\"\n >\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \"\n >\n <nui-legend-series\n *ngIf=\"widgetData.summarySerie && summarySerie\"\n class=\"summary-serie\"\n [interactive]=\"false\"\n (mouseenter)=\"chartAssist.resetVisibleSeries()\"\n >\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n summarySerie,\n 'y',\n 'tick'\n )\n \"\n [backgroundColor]=\"summaryLegendBcgColor\"\n [color]=\"summaryLegendColor\"\n >\n </nui-rich-legend-tile>\n\n <div description class=\"description-container\">\n <div class=\"description-text nui-text-small\">\n <div\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n [title]=\"summarySerie.legendDescriptionPrimary\"\n >\n {{ summarySerie.legendDescriptionPrimary }}\n </div>\n\n <div\n class=\"description description-secondary\"\n [title]=\"summarySerie.legendDescriptionSecondary\"\n >\n {{ summarySerie.legendDescriptionSecondary }}\n </div>\n </div>\n </div>\n\n <button\n nui-button\n legendMenu\n icon=\"remove\"\n type=\"button\"\n displayStyle=\"action\"\n *ngIf=\"displayDeleteButton()\"\n (click)=\"removeMetric(summarySerie.id)\"\n displayStyle=\"action\"\n ></button>\n </nui-legend-series>\n\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n >\n <nui-rich-legend-tile\n [value]=\"getLegendValue(legendSeries, valueAccessorKey)\"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \"\n >\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \"\n >\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div\n description\n class=\"description-container d-flex nui-text-small justify-content-center\"\n >\n <div class=\"descriptions\">\n <div\n *ngIf=\"!legendSeries.link\"\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.link\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n <div\n class=\"description description-secondary\"\n *ngIf=\"\n !legendSeries.secondaryLink &&\n !widgetData.summarySerie\n \"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"\n legendSeries.secondaryLink &&\n !widgetData.summarySerie\n \"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n </div>\n <nui-icon\n *ngIf=\"legendSeries.realtime\"\n icon=\"fast-poll\"\n iconColor=\"primary-blue\"\n ></nui-icon>\n <nui-icon\n *ngIf=\"legendSeries.transformer\"\n icon=\"performance\"\n iconColor=\"primary-blue\"\n ></nui-icon>\n </div>\n <nui-menu\n legendMenu\n *ngIf=\"displayLegendMenu()\"\n icon=\"menu\"\n displayStyle=\"action\"\n [appendToBody]=\"true\"\n >\n <nui-menu-group>\n <nui-menu-action\n i18n\n (actionDone)=\"removeMetric(legendSeries.id)\"\n >Remove</nui-menu-action\n >\n </nui-menu-group>\n <nui-menu-group header=\"Display Transforms\" i18n-header>\n <nui-menu-action\n *ngFor=\"let tr of transformers | nuiMapKeyValue\"\n [class.selected]=\"\n legendSeries.transformer?.name ===\n tr.value.transformer?.name\n \"\n (actionDone)=\"\n transformData(legendSeries.id, tr.key)\n \"\n >\n {{ tr.value.displayName }}\n </nui-menu-action>\n </nui-menu-group>\n </nui-menu>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#0079aa)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}.layout-fixed .legend{max-width:250px;min-width:250px;padding-left:8px!important}.layout-fixed .legend nui-legend{margin:0!important;width:100%}nui-legend-series{width:100%}nui-legend-series:hover{background-color:#f2f2f2;cursor:pointer}nui-icon{padding:0 5px;align-items:center}.selected{background-color:#00c4d21a}.selected:hover{background-color:#00c4d233}:host ::ng-deep div:has(> .description-container){flex-grow:1;overflow:hidden}:host ::ng-deep div:has(> .description-container) .descriptions{overflow:hidden}:host ::ng-deep nui-legend[ng-reflect-active=true] .summary-serie .nui-rich-legend-tile__tilebox{color:#111!important}\n"], components: [{ type: i2.ChartComponent, selector: "nui-chart", inputs: ["chart"] }, { type: i2.LegendComponent, selector: "nui-legend", inputs: ["active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { type: i2.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["isSelected", "active", "interactive", "seriesRenderState", "icon", "descriptionPrimary", "descriptionSecondary", "color"], outputs: ["isSelectedChange"] }, { type: i2.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "backgroundColor", "value", "color"] }, { type: i3.ButtonComponent, selector: "[nui-button]", inputs: ["ariaLabel", "isRepeat", "iconColor", "size", "displayStyle", "icon", "iconRight", "isBusy", "isEmpty"] }, { type: i2.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["maxSize", "marker", "drawLine", "color"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.MenuComponent, selector: "nui-menu", inputs: ["icon", "widthOfPopup", "contextClass", "appendToBody", "ariaLabel", "title", "size", "displayStyle", "isDisabled", "itemsSource"], outputs: ["blurred"] }, { type: i3.MenuGroupComponent, selector: "nui-menu-group", inputs: ["header"] }, { type: i3.MenuActionComponent, selector: "nui-menu-action", inputs: ["icon", "type"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "nuiMapKeyValue": i3.MapKeyValuePipe } });
|
|
7857
|
+
/** @nocollapse */ StackedBarChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: StackedBarChartComponent, selector: "nui-stacked-bar-chart", usesInheritance: true, ngImport: i0, template: "<div\n class=\"nui-chart-layout h-100\"\n [class.layout-fixed]=\"configuration.gridConfig?.fixedLayout\"\n>\n <div\n *ngIf=\"!configuration.gridConfig?.hideYAxisLabel\"\n class=\"axis-label-left nui-text-small\"\n >\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"\n ></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\"\n >\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \"\n >\n <nui-legend-series\n *ngIf=\"widgetData.summarySerie && summarySerie\"\n class=\"summary-serie\"\n [interactive]=\"false\"\n (mouseenter)=\"chartAssist.resetVisibleSeries()\"\n >\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n summarySerie,\n 'y',\n 'tick'\n )\n \"\n [backgroundColor]=\"summaryLegendBcgColor\"\n [color]=\"summaryLegendColor\"\n >\n </nui-rich-legend-tile>\n\n <div description class=\"description-container\">\n <div class=\"description-text nui-text-small\">\n <div\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n [title]=\"summarySerie.legendDescriptionPrimary\"\n >\n {{ summarySerie.legendDescriptionPrimary }}\n </div>\n\n <div\n class=\"description description-secondary\"\n [title]=\"summarySerie.legendDescriptionSecondary\"\n >\n {{ summarySerie.legendDescriptionSecondary }}\n </div>\n </div>\n </div>\n\n <button\n nui-button\n legendMenu\n icon=\"remove\"\n type=\"button\"\n displayStyle=\"action\"\n *ngIf=\"displayDeleteButton()\"\n (click)=\"removeMetric(summarySerie.id)\"\n displayStyle=\"action\"\n ></button>\n </nui-legend-series>\n\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n >\n <nui-rich-legend-tile\n [value]=\"getLegendValue(legendSeries, valueAccessorKey)\"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \"\n >\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \"\n >\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div\n description\n class=\"description-container d-flex nui-text-small justify-content-center\"\n >\n <div class=\"descriptions\">\n <div\n *ngIf=\"!legendSeries.link\"\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.link\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n <div\n class=\"description description-secondary\"\n *ngIf=\"\n !legendSeries.secondaryLink &&\n !widgetData.summarySerie\n \"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"\n legendSeries.secondaryLink &&\n !widgetData.summarySerie\n \"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n </div>\n <nui-icon\n *ngIf=\"legendSeries.realtime\"\n icon=\"fast-poll\"\n iconColor=\"primary-blue\"\n ></nui-icon>\n <nui-icon\n *ngIf=\"legendSeries.transformer\"\n icon=\"performance\"\n iconColor=\"primary-blue\"\n ></nui-icon>\n </div>\n <nui-menu\n legendMenu\n *ngIf=\"displayLegendMenu()\"\n icon=\"menu\"\n displayStyle=\"action\"\n [appendToBody]=\"true\"\n >\n <nui-menu-group>\n <nui-menu-action\n i18n\n (actionDone)=\"removeMetric(legendSeries.id)\"\n >Remove</nui-menu-action\n >\n </nui-menu-group>\n <nui-menu-group header=\"Display Transforms\" i18n-header>\n <nui-menu-action\n *ngFor=\"let tr of transformers | nuiMapKeyValue\"\n [class.selected]=\"\n legendSeries.transformer?.name ===\n tr.value.transformer?.name\n \"\n (actionDone)=\"\n transformData(legendSeries.id, tr.key)\n \"\n >\n {{ tr.value.displayName }}\n </nui-menu-action>\n </nui-menu-group>\n </nui-menu>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#0079aa)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}.layout-fixed .legend{max-width:250px;min-width:250px;padding-left:8px!important}.layout-fixed .legend nui-legend{margin:0!important;width:100%}nui-legend-series{width:100%}nui-legend-series:hover{background-color:#f2f2f2;cursor:pointer}nui-icon{padding:0 5px;align-items:center}.selected{background-color:#00c4d21a}.selected:hover{background-color:#00c4d233}:host ::ng-deep div:has(> .description-container){flex-grow:1;overflow:hidden}:host ::ng-deep div:has(> .description-container) .descriptions{overflow:hidden}\n"], components: [{ type: i2.ChartComponent, selector: "nui-chart", inputs: ["chart"] }, { type: i2.LegendComponent, selector: "nui-legend", inputs: ["active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { type: i2.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["isSelected", "active", "interactive", "seriesRenderState", "icon", "descriptionPrimary", "descriptionSecondary", "color"], outputs: ["isSelectedChange"] }, { type: i2.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "backgroundColor", "value", "color"] }, { type: i3.ButtonComponent, selector: "[nui-button]", inputs: ["ariaLabel", "isRepeat", "iconColor", "size", "displayStyle", "icon", "iconRight", "isBusy", "isEmpty"] }, { type: i2.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["maxSize", "marker", "drawLine", "color"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.MenuComponent, selector: "nui-menu", inputs: ["icon", "widthOfPopup", "contextClass", "appendToBody", "ariaLabel", "title", "size", "displayStyle", "isDisabled", "itemsSource"], outputs: ["blurred"] }, { type: i3.MenuGroupComponent, selector: "nui-menu-group", inputs: ["header"] }, { type: i3.MenuActionComponent, selector: "nui-menu-action", inputs: ["icon", "type"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "nuiMapKeyValue": i3.MapKeyValuePipe } });
|
|
7747
7858
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: StackedBarChartComponent, decorators: [{
|
|
7748
7859
|
type: Component,
|
|
7749
7860
|
args: [{
|
|
@@ -7780,7 +7891,7 @@ class StackedPercentageAreaChartComponent extends XYChartComponent {
|
|
|
7780
7891
|
}
|
|
7781
7892
|
StackedPercentageAreaChartComponent.lateLoadKey = "StackedPercentageAreaChartComponent";
|
|
7782
7893
|
/** @nocollapse */ StackedPercentageAreaChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: StackedPercentageAreaChartComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: DATA_SOURCE, optional: true }, { token: TimeseriesScalesService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
7783
|
-
/** @nocollapse */ StackedPercentageAreaChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: StackedPercentageAreaChartComponent, selector: "nui-stacked-percentage-area-chart", usesInheritance: true, ngImport: i0, template: "<div\n class=\"nui-chart-layout h-100\"\n [class.layout-fixed]=\"configuration.gridConfig?.fixedLayout\"\n>\n <div\n *ngIf=\"!configuration.gridConfig?.hideYAxisLabel\"\n class=\"axis-label-left nui-text-small\"\n >\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"\n ></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\"\n >\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \"\n >\n <nui-legend-series\n *ngIf=\"widgetData.summarySerie && summarySerie\"\n class=\"summary-serie\"\n [interactive]=\"false\"\n (mouseenter)=\"chartAssist.resetVisibleSeries()\"\n >\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n summarySerie,\n 'y',\n 'tick'\n )\n \"\n [backgroundColor]=\"summaryLegendBcgColor\"\n [color]=\"summaryLegendColor\"\n >\n </nui-rich-legend-tile>\n\n <div description class=\"description-container\">\n <div class=\"description-text nui-text-small\">\n <div\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n [title]=\"summarySerie.legendDescriptionPrimary\"\n >\n {{ summarySerie.legendDescriptionPrimary }}\n </div>\n\n <div\n class=\"description description-secondary\"\n [title]=\"summarySerie.legendDescriptionSecondary\"\n >\n {{ summarySerie.legendDescriptionSecondary }}\n </div>\n </div>\n </div>\n\n <button\n nui-button\n legendMenu\n icon=\"remove\"\n type=\"button\"\n displayStyle=\"action\"\n *ngIf=\"displayDeleteButton()\"\n (click)=\"removeMetric(summarySerie.id)\"\n displayStyle=\"action\"\n ></button>\n </nui-legend-series>\n\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n >\n <nui-rich-legend-tile\n [value]=\"getLegendValue(legendSeries, valueAccessorKey)\"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \"\n >\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \"\n >\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div\n description\n class=\"description-container d-flex nui-text-small justify-content-center\"\n >\n <div class=\"descriptions\">\n <div\n *ngIf=\"!legendSeries.link\"\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.link\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n <div\n class=\"description description-secondary\"\n *ngIf=\"\n !legendSeries.secondaryLink &&\n !widgetData.summarySerie\n \"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"\n legendSeries.secondaryLink &&\n !widgetData.summarySerie\n \"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n </div>\n <nui-icon\n *ngIf=\"legendSeries.realtime\"\n icon=\"fast-poll\"\n iconColor=\"primary-blue\"\n ></nui-icon>\n <nui-icon\n *ngIf=\"legendSeries.transformer\"\n icon=\"performance\"\n iconColor=\"primary-blue\"\n ></nui-icon>\n </div>\n <nui-menu\n legendMenu\n *ngIf=\"displayLegendMenu()\"\n icon=\"menu\"\n displayStyle=\"action\"\n [appendToBody]=\"true\"\n >\n <nui-menu-group>\n <nui-menu-action\n i18n\n (actionDone)=\"removeMetric(legendSeries.id)\"\n >Remove</nui-menu-action\n >\n </nui-menu-group>\n <nui-menu-group header=\"Display Transforms\" i18n-header>\n <nui-menu-action\n *ngFor=\"let tr of transformers | nuiMapKeyValue\"\n [class.selected]=\"\n legendSeries.transformer?.name ===\n tr.value.transformer?.name\n \"\n (actionDone)=\"\n transformData(legendSeries.id, tr.key)\n \"\n >\n {{ tr.value.displayName }}\n </nui-menu-action>\n </nui-menu-group>\n </nui-menu>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#0079aa)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}.layout-fixed .legend{max-width:250px;min-width:250px;padding-left:8px!important}.layout-fixed .legend nui-legend{margin:0!important;width:100%}nui-legend-series{width:100%}nui-legend-series:hover{background-color:#f2f2f2;cursor:pointer}nui-icon{padding:0 5px;align-items:center}.selected{background-color:#00c4d21a}.selected:hover{background-color:#00c4d233}:host ::ng-deep div:has(> .description-container){flex-grow:1;overflow:hidden}:host ::ng-deep div:has(> .description-container) .descriptions{overflow:hidden}:host ::ng-deep nui-legend[ng-reflect-active=true] .summary-serie .nui-rich-legend-tile__tilebox{color:#111!important}\n"], components: [{ type: i2.ChartComponent, selector: "nui-chart", inputs: ["chart"] }, { type: i2.LegendComponent, selector: "nui-legend", inputs: ["active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { type: i2.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["isSelected", "active", "interactive", "seriesRenderState", "icon", "descriptionPrimary", "descriptionSecondary", "color"], outputs: ["isSelectedChange"] }, { type: i2.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "backgroundColor", "value", "color"] }, { type: i3.ButtonComponent, selector: "[nui-button]", inputs: ["ariaLabel", "isRepeat", "iconColor", "size", "displayStyle", "icon", "iconRight", "isBusy", "isEmpty"] }, { type: i2.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["maxSize", "marker", "drawLine", "color"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.MenuComponent, selector: "nui-menu", inputs: ["icon", "widthOfPopup", "contextClass", "appendToBody", "ariaLabel", "title", "size", "displayStyle", "isDisabled", "itemsSource"], outputs: ["blurred"] }, { type: i3.MenuGroupComponent, selector: "nui-menu-group", inputs: ["header"] }, { type: i3.MenuActionComponent, selector: "nui-menu-action", inputs: ["icon", "type"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "nuiMapKeyValue": i3.MapKeyValuePipe } });
|
|
7894
|
+
/** @nocollapse */ StackedPercentageAreaChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: StackedPercentageAreaChartComponent, selector: "nui-stacked-percentage-area-chart", usesInheritance: true, ngImport: i0, template: "<div\n class=\"nui-chart-layout h-100\"\n [class.layout-fixed]=\"configuration.gridConfig?.fixedLayout\"\n>\n <div\n *ngIf=\"!configuration.gridConfig?.hideYAxisLabel\"\n class=\"axis-label-left nui-text-small\"\n >\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"\n ></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\"\n >\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \"\n >\n <nui-legend-series\n *ngIf=\"widgetData.summarySerie && summarySerie\"\n class=\"summary-serie\"\n [interactive]=\"false\"\n (mouseenter)=\"chartAssist.resetVisibleSeries()\"\n >\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n summarySerie,\n 'y',\n 'tick'\n )\n \"\n [backgroundColor]=\"summaryLegendBcgColor\"\n [color]=\"summaryLegendColor\"\n >\n </nui-rich-legend-tile>\n\n <div description class=\"description-container\">\n <div class=\"description-text nui-text-small\">\n <div\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n [title]=\"summarySerie.legendDescriptionPrimary\"\n >\n {{ summarySerie.legendDescriptionPrimary }}\n </div>\n\n <div\n class=\"description description-secondary\"\n [title]=\"summarySerie.legendDescriptionSecondary\"\n >\n {{ summarySerie.legendDescriptionSecondary }}\n </div>\n </div>\n </div>\n\n <button\n nui-button\n legendMenu\n icon=\"remove\"\n type=\"button\"\n displayStyle=\"action\"\n *ngIf=\"displayDeleteButton()\"\n (click)=\"removeMetric(summarySerie.id)\"\n displayStyle=\"action\"\n ></button>\n </nui-legend-series>\n\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n >\n <nui-rich-legend-tile\n [value]=\"getLegendValue(legendSeries, valueAccessorKey)\"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \"\n >\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \"\n >\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div\n description\n class=\"description-container d-flex nui-text-small justify-content-center\"\n >\n <div class=\"descriptions\">\n <div\n *ngIf=\"!legendSeries.link\"\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.link\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n <div\n class=\"description description-secondary\"\n *ngIf=\"\n !legendSeries.secondaryLink &&\n !widgetData.summarySerie\n \"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"\n legendSeries.secondaryLink &&\n !widgetData.summarySerie\n \"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n </div>\n <nui-icon\n *ngIf=\"legendSeries.realtime\"\n icon=\"fast-poll\"\n iconColor=\"primary-blue\"\n ></nui-icon>\n <nui-icon\n *ngIf=\"legendSeries.transformer\"\n icon=\"performance\"\n iconColor=\"primary-blue\"\n ></nui-icon>\n </div>\n <nui-menu\n legendMenu\n *ngIf=\"displayLegendMenu()\"\n icon=\"menu\"\n displayStyle=\"action\"\n [appendToBody]=\"true\"\n >\n <nui-menu-group>\n <nui-menu-action\n i18n\n (actionDone)=\"removeMetric(legendSeries.id)\"\n >Remove</nui-menu-action\n >\n </nui-menu-group>\n <nui-menu-group header=\"Display Transforms\" i18n-header>\n <nui-menu-action\n *ngFor=\"let tr of transformers | nuiMapKeyValue\"\n [class.selected]=\"\n legendSeries.transformer?.name ===\n tr.value.transformer?.name\n \"\n (actionDone)=\"\n transformData(legendSeries.id, tr.key)\n \"\n >\n {{ tr.value.displayName }}\n </nui-menu-action>\n </nui-menu-group>\n </nui-menu>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#0079aa)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}.layout-fixed .legend{max-width:250px;min-width:250px;padding-left:8px!important}.layout-fixed .legend nui-legend{margin:0!important;width:100%}nui-legend-series{width:100%}nui-legend-series:hover{background-color:#f2f2f2;cursor:pointer}nui-icon{padding:0 5px;align-items:center}.selected{background-color:#00c4d21a}.selected:hover{background-color:#00c4d233}:host ::ng-deep div:has(> .description-container){flex-grow:1;overflow:hidden}:host ::ng-deep div:has(> .description-container) .descriptions{overflow:hidden}\n"], components: [{ type: i2.ChartComponent, selector: "nui-chart", inputs: ["chart"] }, { type: i2.LegendComponent, selector: "nui-legend", inputs: ["active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { type: i2.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["isSelected", "active", "interactive", "seriesRenderState", "icon", "descriptionPrimary", "descriptionSecondary", "color"], outputs: ["isSelectedChange"] }, { type: i2.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "backgroundColor", "value", "color"] }, { type: i3.ButtonComponent, selector: "[nui-button]", inputs: ["ariaLabel", "isRepeat", "iconColor", "size", "displayStyle", "icon", "iconRight", "isBusy", "isEmpty"] }, { type: i2.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["maxSize", "marker", "drawLine", "color"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.MenuComponent, selector: "nui-menu", inputs: ["icon", "widthOfPopup", "contextClass", "appendToBody", "ariaLabel", "title", "size", "displayStyle", "isDisabled", "itemsSource"], outputs: ["blurred"] }, { type: i3.MenuGroupComponent, selector: "nui-menu-group", inputs: ["header"] }, { type: i3.MenuActionComponent, selector: "nui-menu-action", inputs: ["icon", "type"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "nuiMapKeyValue": i3.MapKeyValuePipe } });
|
|
7784
7895
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: StackedPercentageAreaChartComponent, decorators: [{
|
|
7785
7896
|
type: Component,
|
|
7786
7897
|
args: [{
|
|
@@ -7798,37 +7909,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
7798
7909
|
args: [DATA_SOURCE]
|
|
7799
7910
|
}] }, { type: TimeseriesScalesService }, { type: i0.ChangeDetectorRef }]; } });
|
|
7800
7911
|
|
|
7801
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
7802
|
-
class TimeseriesChartPresetService {
|
|
7803
|
-
constructor() {
|
|
7804
|
-
this.presets = {
|
|
7805
|
-
[TimeseriesChartPreset.Line]: {
|
|
7806
|
-
componentType: LineChartComponent.lateLoadKey,
|
|
7807
|
-
},
|
|
7808
|
-
[TimeseriesChartPreset.StackedArea]: {
|
|
7809
|
-
componentType: StackedAreaChartComponent.lateLoadKey,
|
|
7810
|
-
},
|
|
7811
|
-
[TimeseriesChartPreset.StackedPercentageArea]: {
|
|
7812
|
-
componentType: StackedPercentageAreaChartComponent.lateLoadKey,
|
|
7813
|
-
},
|
|
7814
|
-
[TimeseriesChartPreset.StackedBar]: {
|
|
7815
|
-
componentType: StackedBarChartComponent.lateLoadKey,
|
|
7816
|
-
},
|
|
7817
|
-
[TimeseriesChartPreset.StatusBar]: {
|
|
7818
|
-
componentType: StatusBarChartComponent.lateLoadKey,
|
|
7819
|
-
},
|
|
7820
|
-
};
|
|
7821
|
-
}
|
|
7822
|
-
}
|
|
7823
|
-
/** @nocollapse */ TimeseriesChartPresetService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TimeseriesChartPresetService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7824
|
-
/** @nocollapse */ TimeseriesChartPresetService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TimeseriesChartPresetService, providedIn: "root" });
|
|
7825
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TimeseriesChartPresetService, decorators: [{
|
|
7826
|
-
type: Injectable,
|
|
7827
|
-
args: [{
|
|
7828
|
-
providedIn: "root",
|
|
7829
|
-
}]
|
|
7830
|
-
}], ctorParameters: function () { return []; } });
|
|
7831
|
-
|
|
7832
7912
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
7833
7913
|
const TIMESERIES_INSPECTION_MENU_ZOOM_IN = {
|
|
7834
7914
|
id: "TIMESERIES_INSPECTION_MENU_ZOOM_IN",
|
|
@@ -7958,6 +8038,37 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
7958
8038
|
type: Input
|
|
7959
8039
|
}] } });
|
|
7960
8040
|
|
|
8041
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
8042
|
+
class TimeseriesChartPresetService {
|
|
8043
|
+
constructor() {
|
|
8044
|
+
this.presets = {
|
|
8045
|
+
[TimeseriesChartPreset.Line]: {
|
|
8046
|
+
componentType: LineChartComponent.lateLoadKey,
|
|
8047
|
+
},
|
|
8048
|
+
[TimeseriesChartPreset.StackedArea]: {
|
|
8049
|
+
componentType: StackedAreaChartComponent.lateLoadKey,
|
|
8050
|
+
},
|
|
8051
|
+
[TimeseriesChartPreset.StackedPercentageArea]: {
|
|
8052
|
+
componentType: StackedPercentageAreaChartComponent.lateLoadKey,
|
|
8053
|
+
},
|
|
8054
|
+
[TimeseriesChartPreset.StackedBar]: {
|
|
8055
|
+
componentType: StackedBarChartComponent.lateLoadKey,
|
|
8056
|
+
},
|
|
8057
|
+
[TimeseriesChartPreset.StatusBar]: {
|
|
8058
|
+
componentType: StatusBarChartComponent.lateLoadKey,
|
|
8059
|
+
},
|
|
8060
|
+
};
|
|
8061
|
+
}
|
|
8062
|
+
}
|
|
8063
|
+
/** @nocollapse */ TimeseriesChartPresetService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TimeseriesChartPresetService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8064
|
+
/** @nocollapse */ TimeseriesChartPresetService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TimeseriesChartPresetService, providedIn: "root" });
|
|
8065
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TimeseriesChartPresetService, decorators: [{
|
|
8066
|
+
type: Injectable,
|
|
8067
|
+
args: [{
|
|
8068
|
+
providedIn: "root",
|
|
8069
|
+
}]
|
|
8070
|
+
}], ctorParameters: function () { return []; } });
|
|
8071
|
+
|
|
7961
8072
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
7962
8073
|
/** @ignore */
|
|
7963
8074
|
class TimeseriesWidgetComponent {
|
|
@@ -12132,6 +12243,91 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
12132
12243
|
args: [RefreshRateConfiguratorComponent]
|
|
12133
12244
|
}] } });
|
|
12134
12245
|
|
|
12246
|
+
// © 2023 SolarWinds Worldwide, LLC. All rights reserved.
|
|
12247
|
+
class RiskScoreTileDescriptionConfigurationComponent {
|
|
12248
|
+
constructor(changeDetector, formBuilder) {
|
|
12249
|
+
this.changeDetector = changeDetector;
|
|
12250
|
+
this.formBuilder = formBuilder;
|
|
12251
|
+
this.MAX_DESCRIPTION_LENGTH = 150;
|
|
12252
|
+
this.label = "";
|
|
12253
|
+
this.minValue = 0;
|
|
12254
|
+
this.maxValue = 100;
|
|
12255
|
+
this.description = "";
|
|
12256
|
+
this.useStaticLabel = false;
|
|
12257
|
+
this.staticLabel = "";
|
|
12258
|
+
this.formReady = new EventEmitter();
|
|
12259
|
+
}
|
|
12260
|
+
ngOnInit() {
|
|
12261
|
+
this.form = this.formBuilder.group({
|
|
12262
|
+
label: [this.label, [Validators.required]],
|
|
12263
|
+
minValue: [this.minValue, [Validators.required]],
|
|
12264
|
+
maxValue: [this.maxValue, [Validators.required]],
|
|
12265
|
+
description: [
|
|
12266
|
+
this.description,
|
|
12267
|
+
[Validators.maxLength(this.MAX_DESCRIPTION_LENGTH)],
|
|
12268
|
+
],
|
|
12269
|
+
useStaticLabel: [this.useStaticLabel, [Validators.required]],
|
|
12270
|
+
staticLabel: [this.staticLabel],
|
|
12271
|
+
});
|
|
12272
|
+
this.formReady.emit(this.form);
|
|
12273
|
+
}
|
|
12274
|
+
ngOnChanges(changes) {
|
|
12275
|
+
var _a, _b, _c, _d, _e, _f;
|
|
12276
|
+
if (changes.label) {
|
|
12277
|
+
(_a = this.form) === null || _a === void 0 ? void 0 : _a.patchValue({ label: changes.label.currentValue });
|
|
12278
|
+
}
|
|
12279
|
+
if (changes.minValue) {
|
|
12280
|
+
(_b = this.form) === null || _b === void 0 ? void 0 : _b.patchValue({ minValue: changes.minValue.currentValue });
|
|
12281
|
+
}
|
|
12282
|
+
if (changes.maxValue) {
|
|
12283
|
+
(_c = this.form) === null || _c === void 0 ? void 0 : _c.patchValue({ maxValue: changes.maxValue.currentValue });
|
|
12284
|
+
}
|
|
12285
|
+
if (changes.description) {
|
|
12286
|
+
(_d = this.form) === null || _d === void 0 ? void 0 : _d.patchValue({
|
|
12287
|
+
description: changes.description.currentValue,
|
|
12288
|
+
});
|
|
12289
|
+
}
|
|
12290
|
+
if (changes.useStaticLabel) {
|
|
12291
|
+
(_e = this.form) === null || _e === void 0 ? void 0 : _e.patchValue({
|
|
12292
|
+
useStaticLabel: changes.useStaticLabel.currentValue,
|
|
12293
|
+
});
|
|
12294
|
+
}
|
|
12295
|
+
if (changes.staticLabel) {
|
|
12296
|
+
(_f = this.form) === null || _f === void 0 ? void 0 : _f.patchValue({
|
|
12297
|
+
staticLabel: changes.staticLabel.currentValue,
|
|
12298
|
+
});
|
|
12299
|
+
}
|
|
12300
|
+
}
|
|
12301
|
+
}
|
|
12302
|
+
RiskScoreTileDescriptionConfigurationComponent.lateLoadKey = "RiskScoreTileDescriptionConfigurationComponent";
|
|
12303
|
+
/** @nocollapse */ RiskScoreTileDescriptionConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: RiskScoreTileDescriptionConfigurationComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$2.FormBuilder }], target: i0.ɵɵFactoryTarget.Component });
|
|
12304
|
+
/** @nocollapse */ RiskScoreTileDescriptionConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: RiskScoreTileDescriptionConfigurationComponent, selector: "nui-risk-score-tile-description-configuration", inputs: { componentId: "componentId", label: "label", minValue: "minValue", maxValue: "maxValue", description: "description", useStaticLabel: "useStaticLabel", staticLabel: "staticLabel" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<nui-widget-editor-accordion\n [formGroup]=\"form\"\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\"\n>\n <div accordionHeader class=\"d-flex align-items-center px-4 py-2\">\n <nui-icon\n class=\"align-self-start pt-2\"\n [icon]=\"form | nuiFormHeaderIconPipe: 'widget_list' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n>Description</span>\n <div class=\"nui-text-secondary\" [title]=\"subtitle$ | async\">\n {{ subtitle$ | async }}\n </div>\n </div>\n </div>\n <div class=\"risk-score-tile-description-configuration__accordion-content\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Label\"\n i18n-caption\n [control]=\"form.get('label')\"\n class=\"form-group\"\n >\n <nui-textbox\n formControlName=\"label\"\n placeholder=\"Set label\"\n i18n-placeholder\n ></nui-textbox>\n </nui-form-field>\n </div>\n\n <div class=\"mt-4\">\n <nui-form-field\n caption=\"Min Value\"\n i18n-caption\n [control]=\"form.get('minValue')\"\n class=\"form-group\"\n >\n <nui-textbox-number\n formControlName=\"minValue\"\n placeholder=\"Min Value\"\n i18n-placeholder\n ></nui-textbox-number>\n </nui-form-field>\n </div>\n\n <div class=\"mt-4\">\n <nui-form-field\n caption=\"Max Value\"\n i18n-caption\n [control]=\"form.get('maxValue')\"\n class=\"form-group\"\n >\n <nui-textbox-number\n formControlName=\"maxValue\"\n placeholder=\"Max Value\"\n i18n-placeholder\n ></nui-textbox-number>\n </nui-form-field>\n </div>\n\n <div class=\"mt-4\">\n <nui-form-field\n [control]=\"form.get('useStaticLabel')\"\n class=\"form-group\"\n >\n <nui-switch formControlName=\"useStaticLabel\" i18n\n >Use Float Label</nui-switch\n >\n </nui-form-field>\n </div>\n\n <div class=\"mt-4\" [class.hidden]=\"!form.get('useStaticLabel')?.value\">\n <nui-form-field\n caption=\"Float Label\"\n i18n-caption\n [control]=\"form.get('staticLabel')\"\n class=\"form-group\"\n >\n <nui-textbox\n formControlName=\"staticLabel\"\n placeholder=\"Set float label\"\n i18n-placeholder\n ></nui-textbox>\n </nui-form-field>\n </div>\n\n <div class=\"mt-4\">\n <nui-form-field\n caption=\"Description\"\n i18n-caption\n [control]=\"form.get('description')\"\n class=\"form-group\"\n >\n <nui-textbox\n formControlName=\"description\"\n placeholder=\"Set description\"\n i18n-placeholder\n ></nui-textbox>\n <nui-validation-message for=\"maxlength\" i18n>\n Description cannot be longer than\n {{ MAX_DESCRIPTION_LENGTH }} characters.\n </nui-validation-message>\n </nui-form-field>\n </div>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".risk-score-tile-description-configuration__accordion-content{padding:15px 15px 15px 46px}.risk-score-tile-description-configuration__selector-arrow{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-left:1px solid;border-left-color:var(--nui-color-line-default,#d9d9d9);margin-left:10px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i3.TextboxComponent, selector: "nui-textbox", inputs: ["autocomplete", "disabled", "hint", "placeholder", "readonly", "rows", "type", "isInErrorState", "ariaLabel", "value", "caption", "info", "customBoxWidth", "name", "isBusy"], outputs: ["textChange", "blurred"] }, { type: i3.TextboxNumberComponent, selector: "nui-textbox-number", inputs: ["value", "disabled", "placeholder", "readonly", "step", "stepPrecision", "isInErrorState", "ariaLabel", "customBoxWidth", "name", "minValue", "maxValue"], outputs: ["blurred", "valueChange"] }, { type: i3.SwitchComponent, selector: "nui-switch", inputs: ["ariaLabel", "value", "disabled"], outputs: ["valueChange"] }, { type: i3.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": FormHeaderIconPipePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
12305
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: RiskScoreTileDescriptionConfigurationComponent, decorators: [{
|
|
12306
|
+
type: Component,
|
|
12307
|
+
args: [{
|
|
12308
|
+
selector: "nui-risk-score-tile-description-configuration",
|
|
12309
|
+
templateUrl: "./risk-score-tile-description-configuration.component.html",
|
|
12310
|
+
styleUrls: ["./risk-score-tile-description-configuration.component.less"],
|
|
12311
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
12312
|
+
}]
|
|
12313
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1$2.FormBuilder }]; }, propDecorators: { componentId: [{
|
|
12314
|
+
type: Input
|
|
12315
|
+
}], label: [{
|
|
12316
|
+
type: Input
|
|
12317
|
+
}], minValue: [{
|
|
12318
|
+
type: Input
|
|
12319
|
+
}], maxValue: [{
|
|
12320
|
+
type: Input
|
|
12321
|
+
}], description: [{
|
|
12322
|
+
type: Input
|
|
12323
|
+
}], useStaticLabel: [{
|
|
12324
|
+
type: Input
|
|
12325
|
+
}], staticLabel: [{
|
|
12326
|
+
type: Input
|
|
12327
|
+
}], formReady: [{
|
|
12328
|
+
type: Output
|
|
12329
|
+
}] } });
|
|
12330
|
+
|
|
12135
12331
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
12136
12332
|
const thresholdsValidator = (form) => {
|
|
12137
12333
|
const critical = form.get("criticalThresholdValue");
|
|
@@ -13165,54 +13361,119 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
13165
13361
|
type: Output
|
|
13166
13362
|
}] } });
|
|
13167
13363
|
|
|
13168
|
-
// ©
|
|
13169
|
-
//
|
|
13170
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
13171
|
-
// of this software and associated documentation files (the "Software"), to
|
|
13172
|
-
// deal in the Software without restriction, including without limitation the
|
|
13173
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
13174
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
13175
|
-
// furnished to do so, subject to the following conditions:
|
|
13176
|
-
//
|
|
13177
|
-
// The above copyright notice and this permission notice shall be included in
|
|
13178
|
-
// all copies or substantial portions of the Software.
|
|
13179
|
-
//
|
|
13180
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13181
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
13182
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
13183
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
13184
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
13185
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
13186
|
-
// THE SOFTWARE.
|
|
13364
|
+
// © 2023 SolarWinds Worldwide, LLC. All rights reserved.
|
|
13187
13365
|
/**
|
|
13188
|
-
* This
|
|
13189
|
-
* We replace the parent formControl method with our own implementation that also calls the original function
|
|
13190
|
-
* @param formControl
|
|
13191
|
-
* @param callback Run this callback when the `formControl.markAsTouched` is run
|
|
13366
|
+
* This component and its related form represent a collection of KPI tile configuration components
|
|
13192
13367
|
*/
|
|
13193
|
-
|
|
13194
|
-
|
|
13195
|
-
|
|
13196
|
-
// @ts-ignore
|
|
13197
|
-
// eslint-disable-next-line prefer-rest-params
|
|
13198
|
-
origFunc.apply(formControl, arguments);
|
|
13199
|
-
callback();
|
|
13200
|
-
};
|
|
13201
|
-
}
|
|
13202
|
-
|
|
13203
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
13204
|
-
class DescriptionConfigurationV2Component {
|
|
13205
|
-
constructor(formBuilder, changeDetector) {
|
|
13206
|
-
this.formBuilder = formBuilder;
|
|
13368
|
+
class RiskScoreTilesConfigurationComponent {
|
|
13369
|
+
constructor(pizzagnaService, changeDetector, formBuilder, eventBus) {
|
|
13370
|
+
this.pizzagnaService = pizzagnaService;
|
|
13207
13371
|
this.changeDetector = changeDetector;
|
|
13208
|
-
this.
|
|
13209
|
-
this.
|
|
13210
|
-
this.
|
|
13211
|
-
|
|
13212
|
-
|
|
13213
|
-
|
|
13214
|
-
|
|
13215
|
-
this.form.
|
|
13372
|
+
this.formBuilder = formBuilder;
|
|
13373
|
+
this.eventBus = eventBus;
|
|
13374
|
+
this.tiles = [];
|
|
13375
|
+
this.formReady = new EventEmitter();
|
|
13376
|
+
}
|
|
13377
|
+
ngOnChanges(changes) { }
|
|
13378
|
+
onFormReady(form) {
|
|
13379
|
+
this.form = this.formBuilder.group({
|
|
13380
|
+
tiles: form,
|
|
13381
|
+
});
|
|
13382
|
+
this.emptyItems$ = this.form.valueChanges.pipe(map((result) => result.tiles.length === 0));
|
|
13383
|
+
this.formReady.emit(this.form);
|
|
13384
|
+
}
|
|
13385
|
+
onItemsChange(tiles) {
|
|
13386
|
+
const parentPath = "tiles";
|
|
13387
|
+
const componentIds = tiles.map((tile) => tile.id);
|
|
13388
|
+
this.pizzagnaService.createComponentsFromTemplate(parentPath, componentIds);
|
|
13389
|
+
const property = {
|
|
13390
|
+
componentId: this.componentId,
|
|
13391
|
+
pizzagnaKey: PizzagnaLayer.Data,
|
|
13392
|
+
propertyPath: ["tiles"],
|
|
13393
|
+
};
|
|
13394
|
+
this.pizzagnaService.setProperty(property, tiles);
|
|
13395
|
+
}
|
|
13396
|
+
addTile() {
|
|
13397
|
+
this.onItemsChange([
|
|
13398
|
+
...this.tiles,
|
|
13399
|
+
{
|
|
13400
|
+
id: uuid("riskScore"),
|
|
13401
|
+
componentType: RiskScoreTileComponent.lateLoadKey,
|
|
13402
|
+
},
|
|
13403
|
+
]);
|
|
13404
|
+
}
|
|
13405
|
+
}
|
|
13406
|
+
RiskScoreTilesConfigurationComponent.lateLoadKey = "RiskScoreTilesConfigurationComponent";
|
|
13407
|
+
/** @nocollapse */ RiskScoreTilesConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: RiskScoreTilesConfigurationComponent, deps: [{ token: PizzagnaService }, { token: i0.ChangeDetectorRef }, { token: i1$2.FormBuilder }, { token: PIZZAGNA_EVENT_BUS }], target: i0.ɵɵFactoryTarget.Component });
|
|
13408
|
+
/** @nocollapse */ RiskScoreTilesConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: RiskScoreTilesConfigurationComponent, selector: "nui-risk-score-tiles-configuration-component", inputs: { componentId: "componentId", tiles: "tiles", nodes: "nodes" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<nui-items-dynamic\n [items]=\"tiles\"\n [nodes]=\"nodes\"\n (itemsChange)=\"onItemsChange($event)\"\n (formReady)=\"onFormReady($event)\"\n></nui-items-dynamic>\n\n<div class=\"pl-4 pr-4\" *ngIf=\"(emptyItems$ | async) && form.touched\">\n <nui-message type=\"critical\" [allowDismiss]=\"false\" i18n>\n <b>At least one value must be added.</b>\n </nui-message>\n</div>\n\n<button\n nui-button\n icon=\"add\"\n displayStyle=\"action\"\n id=\"kpi-widget-add-indicator-btn\"\n type=\"button\"\n class=\"ml-4 mb-4\"\n (click)=\"addTile()\"\n i18n\n>\n Add new value\n</button>\n", components: [{ type: ItemsDynamicComponent, selector: "nui-items-dynamic", inputs: ["items", "moveButtons", "nodes", "headerPrefix"], outputs: ["formReady", "itemsChange"] }, { type: i3.MessageComponent, selector: "nui-message", inputs: ["allowDismiss", "type", "manualControl"], outputs: ["dismiss"] }, { type: i3.ButtonComponent, selector: "[nui-button]", inputs: ["ariaLabel", "isRepeat", "iconColor", "size", "displayStyle", "icon", "iconRight", "isBusy", "isEmpty"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i4.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
13409
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: RiskScoreTilesConfigurationComponent, decorators: [{
|
|
13410
|
+
type: Component,
|
|
13411
|
+
args: [{
|
|
13412
|
+
selector: "nui-risk-score-tiles-configuration-component",
|
|
13413
|
+
templateUrl: "./risk-score-tiles-configuration.component.html",
|
|
13414
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
13415
|
+
}]
|
|
13416
|
+
}], ctorParameters: function () { return [{ type: PizzagnaService }, { type: i0.ChangeDetectorRef }, { type: i1$2.FormBuilder }, { type: i3.EventBus, decorators: [{
|
|
13417
|
+
type: Inject,
|
|
13418
|
+
args: [PIZZAGNA_EVENT_BUS]
|
|
13419
|
+
}] }]; }, propDecorators: { componentId: [{
|
|
13420
|
+
type: Input
|
|
13421
|
+
}], tiles: [{
|
|
13422
|
+
type: Input
|
|
13423
|
+
}], nodes: [{
|
|
13424
|
+
type: Input
|
|
13425
|
+
}], formReady: [{
|
|
13426
|
+
type: Output
|
|
13427
|
+
}] } });
|
|
13428
|
+
|
|
13429
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
13430
|
+
//
|
|
13431
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
13432
|
+
// of this software and associated documentation files (the "Software"), to
|
|
13433
|
+
// deal in the Software without restriction, including without limitation the
|
|
13434
|
+
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
13435
|
+
// sell copies of the Software, and to permit persons to whom the Software is
|
|
13436
|
+
// furnished to do so, subject to the following conditions:
|
|
13437
|
+
//
|
|
13438
|
+
// The above copyright notice and this permission notice shall be included in
|
|
13439
|
+
// all copies or substantial portions of the Software.
|
|
13440
|
+
//
|
|
13441
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13442
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
13443
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
13444
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
13445
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
13446
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
13447
|
+
// THE SOFTWARE.
|
|
13448
|
+
/**
|
|
13449
|
+
* This is the only way to be notified of the parent form control being "touched"
|
|
13450
|
+
* We replace the parent formControl method with our own implementation that also calls the original function
|
|
13451
|
+
* @param formControl
|
|
13452
|
+
* @param callback Run this callback when the `formControl.markAsTouched` is run
|
|
13453
|
+
*/
|
|
13454
|
+
function onMarkAsTouched(formControl, callback) {
|
|
13455
|
+
const origFunc = formControl.markAsTouched;
|
|
13456
|
+
formControl.markAsTouched = () => {
|
|
13457
|
+
// @ts-ignore
|
|
13458
|
+
// eslint-disable-next-line prefer-rest-params
|
|
13459
|
+
origFunc.apply(formControl, arguments);
|
|
13460
|
+
callback();
|
|
13461
|
+
};
|
|
13462
|
+
}
|
|
13463
|
+
|
|
13464
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
13465
|
+
class DescriptionConfigurationV2Component {
|
|
13466
|
+
constructor(formBuilder, changeDetector) {
|
|
13467
|
+
this.formBuilder = formBuilder;
|
|
13468
|
+
this.changeDetector = changeDetector;
|
|
13469
|
+
this.isWidthMessageDisplayed = false;
|
|
13470
|
+
this.destroy$ = new Subject();
|
|
13471
|
+
this.form = this.formBuilder.group({
|
|
13472
|
+
label: ["", [Validators.required]],
|
|
13473
|
+
isActive: true,
|
|
13474
|
+
width: undefined,
|
|
13475
|
+
});
|
|
13476
|
+
this.form.valueChanges
|
|
13216
13477
|
.pipe(takeUntil(this.destroy$))
|
|
13217
13478
|
.subscribe((value) => {
|
|
13218
13479
|
var _a;
|
|
@@ -15104,6 +15365,7 @@ const entryComponents$1 = [
|
|
|
15104
15365
|
DataSourceConfigurationV2Component,
|
|
15105
15366
|
DataSourceErrorComponent,
|
|
15106
15367
|
KpiTilesConfigurationComponent,
|
|
15368
|
+
RiskScoreTilesConfigurationComponent,
|
|
15107
15369
|
EmbeddedContentConfigurationComponent,
|
|
15108
15370
|
InfoMessageConfigurationComponent,
|
|
15109
15371
|
ProportionalChartOptionsEditorComponent,
|
|
@@ -15129,6 +15391,7 @@ const entryComponents$1 = [
|
|
|
15129
15391
|
RawFormatterComponent,
|
|
15130
15392
|
PercentageFormatterComponent,
|
|
15131
15393
|
KpiDescriptionConfigurationComponent,
|
|
15394
|
+
RiskScoreTileDescriptionConfigurationComponent,
|
|
15132
15395
|
ThresholdsConfigurationComponent,
|
|
15133
15396
|
TitleAndDescriptionConfigurationComponent,
|
|
15134
15397
|
WidgetConfiguratorSectionComponent,
|
|
@@ -15179,6 +15442,7 @@ class NuiDashboardConfiguratorModule {
|
|
|
15179
15442
|
DataSourceConfigurationV2Component,
|
|
15180
15443
|
DataSourceErrorComponent,
|
|
15181
15444
|
KpiTilesConfigurationComponent,
|
|
15445
|
+
RiskScoreTilesConfigurationComponent,
|
|
15182
15446
|
EmbeddedContentConfigurationComponent,
|
|
15183
15447
|
InfoMessageConfigurationComponent,
|
|
15184
15448
|
ProportionalChartOptionsEditorComponent,
|
|
@@ -15204,6 +15468,7 @@ class NuiDashboardConfiguratorModule {
|
|
|
15204
15468
|
RawFormatterComponent,
|
|
15205
15469
|
PercentageFormatterComponent,
|
|
15206
15470
|
KpiDescriptionConfigurationComponent,
|
|
15471
|
+
RiskScoreTileDescriptionConfigurationComponent,
|
|
15207
15472
|
ThresholdsConfigurationComponent,
|
|
15208
15473
|
TitleAndDescriptionConfigurationComponent,
|
|
15209
15474
|
WidgetConfiguratorSectionComponent,
|
|
@@ -15270,6 +15535,7 @@ class NuiDashboardConfiguratorModule {
|
|
|
15270
15535
|
DataSourceConfigurationV2Component,
|
|
15271
15536
|
DataSourceErrorComponent,
|
|
15272
15537
|
KpiTilesConfigurationComponent,
|
|
15538
|
+
RiskScoreTilesConfigurationComponent,
|
|
15273
15539
|
EmbeddedContentConfigurationComponent,
|
|
15274
15540
|
InfoMessageConfigurationComponent,
|
|
15275
15541
|
ProportionalChartOptionsEditorComponent,
|
|
@@ -15295,6 +15561,7 @@ class NuiDashboardConfiguratorModule {
|
|
|
15295
15561
|
RawFormatterComponent,
|
|
15296
15562
|
PercentageFormatterComponent,
|
|
15297
15563
|
KpiDescriptionConfigurationComponent,
|
|
15564
|
+
RiskScoreTileDescriptionConfigurationComponent,
|
|
15298
15565
|
ThresholdsConfigurationComponent,
|
|
15299
15566
|
TitleAndDescriptionConfigurationComponent,
|
|
15300
15567
|
WidgetConfiguratorSectionComponent,
|
|
@@ -16332,8 +16599,8 @@ const kpiWidget = {
|
|
|
16332
16599
|
};
|
|
16333
16600
|
|
|
16334
16601
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
16335
|
-
const tileDescriptionConfiguratorTemplatePath = `tiles.properties.template[0]`;
|
|
16336
|
-
const dataSourceConfiguratorTemplatePath = `tiles.properties.template[1]`;
|
|
16602
|
+
const tileDescriptionConfiguratorTemplatePath$1 = `tiles.properties.template[0]`;
|
|
16603
|
+
const dataSourceConfiguratorTemplatePath$1 = `tiles.properties.template[1]`;
|
|
16337
16604
|
const backgroundColorRulesConfiguratorTemplatePath = `tiles.properties.template[3]`;
|
|
16338
16605
|
/***********************************************************************************************************
|
|
16339
16606
|
* KPI widget definition starts here
|
|
@@ -16349,13 +16616,13 @@ const kpi = {
|
|
|
16349
16616
|
configurator: {
|
|
16350
16617
|
[WellKnownPathKey.Root]: DEFAULT_PIZZAGNA_ROOT,
|
|
16351
16618
|
// this points at the component type you need to change if you want to change the component for data source configuration
|
|
16352
|
-
[WellKnownPathKey.DataSourceConfigComponentType]: `${dataSourceConfiguratorTemplatePath}.componentType`,
|
|
16619
|
+
[WellKnownPathKey.DataSourceConfigComponentType]: `${dataSourceConfiguratorTemplatePath$1}.componentType`,
|
|
16353
16620
|
// this points at the component type you need to change if you want to change the component for tile description configuration
|
|
16354
|
-
[WellKnownPathKey.TileDescriptionConfigComponentType]: `${tileDescriptionConfiguratorTemplatePath}.componentType`,
|
|
16621
|
+
[WellKnownPathKey.TileDescriptionConfigComponentType]: `${tileDescriptionConfiguratorTemplatePath$1}.componentType`,
|
|
16355
16622
|
// for the default data source configuration component, this changes the list of data sources to pick from
|
|
16356
|
-
[WellKnownPathKey.DataSourceProviders]: `${dataSourceConfiguratorTemplatePath}.properties.dataSourceProviders`,
|
|
16623
|
+
[WellKnownPathKey.DataSourceProviders]: `${dataSourceConfiguratorTemplatePath$1}.properties.dataSourceProviders`,
|
|
16357
16624
|
// this points to the Tile's description background color picker
|
|
16358
|
-
[WellKnownPathKey.TileDescriptionBackgroundColors]: `${tileDescriptionConfiguratorTemplatePath}.properties.backgroundColors`,
|
|
16625
|
+
[WellKnownPathKey.TileDescriptionBackgroundColors]: `${tileDescriptionConfiguratorTemplatePath$1}.properties.backgroundColors`,
|
|
16359
16626
|
// this points to the Background Color Rules background color picker
|
|
16360
16627
|
[WellKnownPathKey.TileBackgroundColorRulesBackgroundColors]: `${backgroundColorRulesConfiguratorTemplatePath}.properties.backgroundColors`,
|
|
16361
16628
|
},
|
|
@@ -16791,6 +17058,272 @@ const proportional = {
|
|
|
16791
17058
|
configurator: proportionalConfigurator,
|
|
16792
17059
|
};
|
|
16793
17060
|
|
|
17061
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
17062
|
+
/* eslint-enable max-len */
|
|
17063
|
+
const DEFAULT_RISK_SCORE_FORMATTERS = [
|
|
17064
|
+
{
|
|
17065
|
+
componentType: RawFormatterComponent.lateLoadKey,
|
|
17066
|
+
label: $localize `Raw Formatter`,
|
|
17067
|
+
dataTypes: {
|
|
17068
|
+
// @ts-ignore
|
|
17069
|
+
value: null,
|
|
17070
|
+
},
|
|
17071
|
+
},
|
|
17072
|
+
];
|
|
17073
|
+
const riskScoreConfigurator = {
|
|
17074
|
+
[PizzagnaLayer.Structure]: {
|
|
17075
|
+
[DEFAULT_PIZZAGNA_ROOT]: {
|
|
17076
|
+
id: DEFAULT_PIZZAGNA_ROOT,
|
|
17077
|
+
// base layout of the configurator - all form components referenced herein will be stacked in a column
|
|
17078
|
+
componentType: FormStackComponent.lateLoadKey,
|
|
17079
|
+
properties: {
|
|
17080
|
+
elementClass: "flex-grow-1 overflow-auto nui-scroll-shadows",
|
|
17081
|
+
// references to other components laid out in this form
|
|
17082
|
+
nodes: ["presentation", "tiles"],
|
|
17083
|
+
},
|
|
17084
|
+
providers: {
|
|
17085
|
+
[WellKnownProviders.FormattersRegistry]: {
|
|
17086
|
+
providerId: NOVA_RISK_SCORE_FORMATTERS_REGISTRY,
|
|
17087
|
+
},
|
|
17088
|
+
},
|
|
17089
|
+
},
|
|
17090
|
+
// /presentation
|
|
17091
|
+
presentation: {
|
|
17092
|
+
id: "presentation",
|
|
17093
|
+
componentType: WidgetConfiguratorSectionComponent.lateLoadKey,
|
|
17094
|
+
properties: {
|
|
17095
|
+
headerText: $localize `Presentation`,
|
|
17096
|
+
nodes: ["titleAndDescription", "refresher"],
|
|
17097
|
+
},
|
|
17098
|
+
},
|
|
17099
|
+
// /presentation/titleAndDescription
|
|
17100
|
+
titleAndDescription: {
|
|
17101
|
+
id: "titleAndDescription",
|
|
17102
|
+
componentType: TitleAndDescriptionConfigurationComponent.lateLoadKey,
|
|
17103
|
+
providers: {
|
|
17104
|
+
converter: {
|
|
17105
|
+
providerId: NOVA_TITLE_AND_DESCRIPTION_CONVERTER,
|
|
17106
|
+
},
|
|
17107
|
+
},
|
|
17108
|
+
},
|
|
17109
|
+
refresher: REFRESHER_CONFIGURATOR,
|
|
17110
|
+
// /tiles
|
|
17111
|
+
tiles: {
|
|
17112
|
+
id: "tiles",
|
|
17113
|
+
componentType: RiskScoreTilesConfigurationComponent.lateLoadKey,
|
|
17114
|
+
properties: {
|
|
17115
|
+
// these components serve as a template for every KPI tile created
|
|
17116
|
+
template: [
|
|
17117
|
+
{
|
|
17118
|
+
// Risk Score tile description (label) configuration section
|
|
17119
|
+
id: "description",
|
|
17120
|
+
componentType: RiskScoreTileDescriptionConfigurationComponent.lateLoadKey,
|
|
17121
|
+
properties: {},
|
|
17122
|
+
providers: {
|
|
17123
|
+
// converter transforms the data between the widget and the form
|
|
17124
|
+
[WellKnownProviders.Converter]: {
|
|
17125
|
+
providerId: NOVA_KPI_SECTION_CONVERTER,
|
|
17126
|
+
properties: {
|
|
17127
|
+
formParts: [
|
|
17128
|
+
{
|
|
17129
|
+
previewPath: "properties.widgetData",
|
|
17130
|
+
keys: [
|
|
17131
|
+
"label",
|
|
17132
|
+
"minValue",
|
|
17133
|
+
"maxValue",
|
|
17134
|
+
"description",
|
|
17135
|
+
"useStaticLabel",
|
|
17136
|
+
"staticLabel",
|
|
17137
|
+
],
|
|
17138
|
+
},
|
|
17139
|
+
],
|
|
17140
|
+
},
|
|
17141
|
+
},
|
|
17142
|
+
},
|
|
17143
|
+
},
|
|
17144
|
+
{
|
|
17145
|
+
// data source configuration section
|
|
17146
|
+
id: "dataSource",
|
|
17147
|
+
componentType: DataSourceConfigurationComponent.lateLoadKey,
|
|
17148
|
+
properties: {
|
|
17149
|
+
// for the DataSourceConfigurationComponent, this defines the list of data sources to pick from
|
|
17150
|
+
dataSourceProviders: [],
|
|
17151
|
+
errorComponent: DataSourceErrorComponent.lateLoadKey,
|
|
17152
|
+
},
|
|
17153
|
+
providers: {
|
|
17154
|
+
// converter transforms the data source metadata between the widget and the form
|
|
17155
|
+
[WellKnownProviders.Converter]: {
|
|
17156
|
+
providerId: NOVA_KPI_SECTION_CONVERTER,
|
|
17157
|
+
properties: {
|
|
17158
|
+
formParts: [
|
|
17159
|
+
{
|
|
17160
|
+
// this component updates 'providerId' of 'dataSource'
|
|
17161
|
+
previewPath: "providers.dataSource",
|
|
17162
|
+
// TODO: Remove 'properties' key in v10 - NUI-5831
|
|
17163
|
+
keys: ["providerId", "properties"],
|
|
17164
|
+
},
|
|
17165
|
+
{
|
|
17166
|
+
// this component updates 'properties' of 'dataSource' via an adapter
|
|
17167
|
+
previewPath: "providers.adapter.properties.dataSource",
|
|
17168
|
+
keys: ["properties"],
|
|
17169
|
+
},
|
|
17170
|
+
],
|
|
17171
|
+
},
|
|
17172
|
+
},
|
|
17173
|
+
[WellKnownProviders.Broadcaster]: {
|
|
17174
|
+
providerId: NOVA_PIZZAGNA_BROADCASTER,
|
|
17175
|
+
properties: {
|
|
17176
|
+
configs: [
|
|
17177
|
+
{
|
|
17178
|
+
trackOn: "component",
|
|
17179
|
+
key: "dataFieldIds",
|
|
17180
|
+
paths: [
|
|
17181
|
+
"data.{parentComponentId}/formatting.properties.dataFieldIds",
|
|
17182
|
+
],
|
|
17183
|
+
},
|
|
17184
|
+
],
|
|
17185
|
+
},
|
|
17186
|
+
},
|
|
17187
|
+
},
|
|
17188
|
+
},
|
|
17189
|
+
{
|
|
17190
|
+
id: "formatting",
|
|
17191
|
+
componentType: PresentationConfigurationComponent.lateLoadKey,
|
|
17192
|
+
providers: {
|
|
17193
|
+
[WellKnownProviders.Converter]: {
|
|
17194
|
+
providerId: NOVA_KPI_SECTION_CONVERTER,
|
|
17195
|
+
properties: {
|
|
17196
|
+
formParts: [
|
|
17197
|
+
{
|
|
17198
|
+
previewPath: "properties.configuration.formatters.Value",
|
|
17199
|
+
keys: ["formatter"],
|
|
17200
|
+
},
|
|
17201
|
+
],
|
|
17202
|
+
},
|
|
17203
|
+
},
|
|
17204
|
+
},
|
|
17205
|
+
properties: {
|
|
17206
|
+
// Note: Now you should define your formatters in the KpiFormatterRegistry which can contain more formatter options
|
|
17207
|
+
// formatters: DEFAULT_RISK_SCORE_FORMATTERS,
|
|
17208
|
+
// Set default formatter to the configuration section as RawFormatterComponent.
|
|
17209
|
+
// In case Risk Scrore doesn't use the formatters yet, it will be overridden with default formatter value on first save
|
|
17210
|
+
formatter: {
|
|
17211
|
+
componentType: RawFormatterComponent.lateLoadKey,
|
|
17212
|
+
properties: {
|
|
17213
|
+
dataFieldIds: {
|
|
17214
|
+
value: "value",
|
|
17215
|
+
},
|
|
17216
|
+
},
|
|
17217
|
+
},
|
|
17218
|
+
},
|
|
17219
|
+
},
|
|
17220
|
+
],
|
|
17221
|
+
},
|
|
17222
|
+
providers: {
|
|
17223
|
+
// converter transforms the data between the widget and the form
|
|
17224
|
+
[WellKnownProviders.Converter]: {
|
|
17225
|
+
providerId: NOVA_KPI_TILES_CONVERTER,
|
|
17226
|
+
},
|
|
17227
|
+
},
|
|
17228
|
+
},
|
|
17229
|
+
},
|
|
17230
|
+
};
|
|
17231
|
+
|
|
17232
|
+
// © 2023 SolarWinds Worldwide, LLC. All rights reserved.
|
|
17233
|
+
const riskScoreWidget = {
|
|
17234
|
+
[PizzagnaLayer.Structure]: Object.assign(Object.assign({ [DEFAULT_PIZZAGNA_ROOT]: {
|
|
17235
|
+
id: DEFAULT_PIZZAGNA_ROOT,
|
|
17236
|
+
// base layout of the widget - all components referenced herein will be stacked in a column
|
|
17237
|
+
componentType: StackComponent.lateLoadKey,
|
|
17238
|
+
providers: {
|
|
17239
|
+
// When enabled, this provider emits the REFRESH event on the pizzagna event bus every X seconds
|
|
17240
|
+
[WellKnownProviders.Refresher]: refresher(),
|
|
17241
|
+
// event proxy manages the transmission of events between widget and dashboard
|
|
17242
|
+
[WellKnownProviders.EventProxy]: EVENT_PROXY,
|
|
17243
|
+
},
|
|
17244
|
+
properties: {
|
|
17245
|
+
nodes: ["header", "loading", "body"],
|
|
17246
|
+
},
|
|
17247
|
+
},
|
|
17248
|
+
// widget header
|
|
17249
|
+
header: WIDGET_HEADER,
|
|
17250
|
+
// this is the loading bar below the header
|
|
17251
|
+
loading: WIDGET_LOADING,
|
|
17252
|
+
// widget body
|
|
17253
|
+
body: Object.assign(Object.assign({}, WIDGET_BODY), { properties: Object.assign(Object.assign({}, WIDGET_BODY.properties), { elementClass: "overflow-hidden" }) }) }, widgetBodyContentNodes("tiles", NOVA_KPI_STATUS_CONTENT_FALLBACK_ADAPTER)), {
|
|
17254
|
+
// the main content node specifying a component that manages layout of the KPI tiles in a CSS grid
|
|
17255
|
+
tiles: {
|
|
17256
|
+
id: "tiles",
|
|
17257
|
+
componentType: TilesComponent.lateLoadKey,
|
|
17258
|
+
properties: {
|
|
17259
|
+
elementClass: "flex-grow-1 pt-2 px-3 pb-3 w-100",
|
|
17260
|
+
template: {
|
|
17261
|
+
componentType: RiskScoreTileComponent.lateLoadKey,
|
|
17262
|
+
providers: {
|
|
17263
|
+
[WellKnownProviders.Adapter]: {
|
|
17264
|
+
providerId: NOVA_KPI_DATASOURCE_ADAPTER,
|
|
17265
|
+
properties: {
|
|
17266
|
+
propertyPath: "widgetData",
|
|
17267
|
+
},
|
|
17268
|
+
},
|
|
17269
|
+
},
|
|
17270
|
+
properties: {
|
|
17271
|
+
elementClass: "flex-grow-1",
|
|
17272
|
+
},
|
|
17273
|
+
},
|
|
17274
|
+
},
|
|
17275
|
+
} }),
|
|
17276
|
+
[PizzagnaLayer.Configuration]: {
|
|
17277
|
+
[DEFAULT_PIZZAGNA_ROOT]: {
|
|
17278
|
+
id: DEFAULT_PIZZAGNA_ROOT,
|
|
17279
|
+
providers: {
|
|
17280
|
+
// default refresher configuration
|
|
17281
|
+
[WellKnownProviders.Refresher]: refresher(false, 60),
|
|
17282
|
+
},
|
|
17283
|
+
},
|
|
17284
|
+
// default header configuration
|
|
17285
|
+
header: {
|
|
17286
|
+
properties: {
|
|
17287
|
+
title: $localize `Empty Risk Score Widget`,
|
|
17288
|
+
},
|
|
17289
|
+
},
|
|
17290
|
+
},
|
|
17291
|
+
};
|
|
17292
|
+
|
|
17293
|
+
// © 2023 SolarWinds Worldwide, LLC. All rights reserved.
|
|
17294
|
+
const tileDescriptionConfiguratorTemplatePath = `tiles.properties.template[0]`;
|
|
17295
|
+
const dataSourceConfiguratorTemplatePath = `tiles.properties.template[1]`;
|
|
17296
|
+
/***********************************************************************************************************
|
|
17297
|
+
* KPI widget definition starts here
|
|
17298
|
+
***********************************************************************************************************/
|
|
17299
|
+
const riskScore = {
|
|
17300
|
+
/***************************************************************************************************
|
|
17301
|
+
* Paths to important settings in this type definition
|
|
17302
|
+
***************************************************************************************************/
|
|
17303
|
+
paths: {
|
|
17304
|
+
widget: {
|
|
17305
|
+
[WellKnownPathKey.Root]: DEFAULT_PIZZAGNA_ROOT,
|
|
17306
|
+
},
|
|
17307
|
+
configurator: {
|
|
17308
|
+
[WellKnownPathKey.Root]: DEFAULT_PIZZAGNA_ROOT,
|
|
17309
|
+
// this points at the component type you need to change if you want to change the component for data source configuration
|
|
17310
|
+
[WellKnownPathKey.DataSourceConfigComponentType]: `${dataSourceConfiguratorTemplatePath}.componentType`,
|
|
17311
|
+
// this points at the component type you need to change if you want to change the component for tile description configuration
|
|
17312
|
+
[WellKnownPathKey.TileDescriptionConfigComponentType]: `${tileDescriptionConfiguratorTemplatePath}.componentType`,
|
|
17313
|
+
// for the default data source configuration component, this changes the list of data sources to pick from
|
|
17314
|
+
[WellKnownPathKey.DataSourceProviders]: `${dataSourceConfiguratorTemplatePath}.properties.dataSourceProviders`,
|
|
17315
|
+
},
|
|
17316
|
+
},
|
|
17317
|
+
/***************************************************************************************************
|
|
17318
|
+
* Widget section describes the structural part of the KPI widget
|
|
17319
|
+
***************************************************************************************************/
|
|
17320
|
+
widget: riskScoreWidget,
|
|
17321
|
+
/***************************************************************************************************
|
|
17322
|
+
* Configurator section describes the form that is used to configure the widget
|
|
17323
|
+
***************************************************************************************************/
|
|
17324
|
+
configurator: riskScoreConfigurator,
|
|
17325
|
+
};
|
|
17326
|
+
|
|
16794
17327
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
16795
17328
|
/* eslint-enable max-len */
|
|
16796
17329
|
const tableConfigurator = {
|
|
@@ -17274,6 +17807,7 @@ const dashboardComponents = [
|
|
|
17274
17807
|
EmbeddedContentComponent,
|
|
17275
17808
|
GridsterItemWidgetIdDirective,
|
|
17276
17809
|
KpiComponent,
|
|
17810
|
+
RiskScoreTileComponent,
|
|
17277
17811
|
LineChartComponent,
|
|
17278
17812
|
LoadingComponent,
|
|
17279
17813
|
ProportionalWidgetComponent,
|
|
@@ -17304,6 +17838,7 @@ const dashboardComponents = [
|
|
|
17304
17838
|
const entryComponents = [
|
|
17305
17839
|
EmbeddedContentComponent,
|
|
17306
17840
|
KpiComponent,
|
|
17841
|
+
RiskScoreTileComponent,
|
|
17307
17842
|
LineChartComponent,
|
|
17308
17843
|
LoadingComponent,
|
|
17309
17844
|
ProportionalWidgetComponent,
|
|
@@ -17329,8 +17864,9 @@ const entryComponents = [
|
|
|
17329
17864
|
ProportionalDonutContentComponent,
|
|
17330
17865
|
];
|
|
17331
17866
|
class NuiDashboardsModule {
|
|
17332
|
-
constructor(widgetTypesService, componentRegistry, eventRegistry, kpiFormattersRegistry) {
|
|
17867
|
+
constructor(widgetTypesService, componentRegistry, eventRegistry, kpiFormattersRegistry, riskScoreFormattersRegistry) {
|
|
17333
17868
|
widgetTypesService.registerWidgetType("kpi", 1, kpi);
|
|
17869
|
+
widgetTypesService.registerWidgetType("risk-score", 1, riskScore);
|
|
17334
17870
|
widgetTypesService.registerWidgetType("table", 1, table);
|
|
17335
17871
|
widgetTypesService.registerWidgetType("proportional", 1, proportional);
|
|
17336
17872
|
widgetTypesService.registerWidgetType("timeseries", 1, timeseries);
|
|
@@ -17354,13 +17890,15 @@ class NuiDashboardsModule {
|
|
|
17354
17890
|
eventRegistry.registerEvent(DATA_SOURCE_OUTPUT);
|
|
17355
17891
|
eventRegistry.registerEvent(DATA_SOURCE_BUSY);
|
|
17356
17892
|
kpiFormattersRegistry.addItems(DEFAULT_KPI_FORMATTERS);
|
|
17893
|
+
riskScoreFormattersRegistry.addItems(DEFAULT_RISK_SCORE_FORMATTERS);
|
|
17357
17894
|
}
|
|
17358
17895
|
}
|
|
17359
|
-
/** @nocollapse */ NuiDashboardsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: NuiDashboardsModule, deps: [{ token: WidgetTypesService }, { token: ComponentRegistryService }, { token: EventRegistryService }, { token: KpiFormattersRegistryService }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
17896
|
+
/** @nocollapse */ NuiDashboardsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: NuiDashboardsModule, deps: [{ token: WidgetTypesService }, { token: ComponentRegistryService }, { token: EventRegistryService }, { token: KpiFormattersRegistryService }, { token: RiskScoreFormattersRegistryService }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
17360
17897
|
/** @nocollapse */ NuiDashboardsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: NuiDashboardsModule, declarations: [DashboardComponent,
|
|
17361
17898
|
EmbeddedContentComponent,
|
|
17362
17899
|
GridsterItemWidgetIdDirective,
|
|
17363
17900
|
KpiComponent,
|
|
17901
|
+
RiskScoreTileComponent,
|
|
17364
17902
|
LineChartComponent,
|
|
17365
17903
|
LoadingComponent,
|
|
17366
17904
|
ProportionalWidgetComponent,
|
|
@@ -17408,11 +17946,13 @@ class NuiDashboardsModule {
|
|
|
17408
17946
|
NuiSearchModule,
|
|
17409
17947
|
NuiCommonModule,
|
|
17410
17948
|
NuiRepeatModule,
|
|
17949
|
+
NuiRiskScoreModule,
|
|
17411
17950
|
NuiSelectModule,
|
|
17412
17951
|
NuiPopoverModule], exports: [DashboardComponent,
|
|
17413
17952
|
EmbeddedContentComponent,
|
|
17414
17953
|
GridsterItemWidgetIdDirective,
|
|
17415
17954
|
KpiComponent,
|
|
17955
|
+
RiskScoreTileComponent,
|
|
17416
17956
|
LineChartComponent,
|
|
17417
17957
|
LoadingComponent,
|
|
17418
17958
|
ProportionalWidgetComponent,
|
|
@@ -17467,6 +18007,7 @@ class NuiDashboardsModule {
|
|
|
17467
18007
|
NuiSearchModule,
|
|
17468
18008
|
NuiCommonModule,
|
|
17469
18009
|
NuiRepeatModule,
|
|
18010
|
+
NuiRiskScoreModule,
|
|
17470
18011
|
NuiSelectModule,
|
|
17471
18012
|
NuiPopoverModule,
|
|
17472
18013
|
]] });
|
|
@@ -17496,6 +18037,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
17496
18037
|
NuiSearchModule,
|
|
17497
18038
|
NuiCommonModule,
|
|
17498
18039
|
NuiRepeatModule,
|
|
18040
|
+
NuiRiskScoreModule,
|
|
17499
18041
|
NuiSelectModule,
|
|
17500
18042
|
NuiPopoverModule,
|
|
17501
18043
|
],
|
|
@@ -17509,7 +18051,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
17509
18051
|
exports: dashboardComponents,
|
|
17510
18052
|
entryComponents: entryComponents,
|
|
17511
18053
|
}]
|
|
17512
|
-
}], ctorParameters: function () { return [{ type: WidgetTypesService }, { type: ComponentRegistryService }, { type: EventRegistryService }, { type: KpiFormattersRegistryService }]; } });
|
|
18054
|
+
}], ctorParameters: function () { return [{ type: WidgetTypesService }, { type: ComponentRegistryService }, { type: EventRegistryService }, { type: KpiFormattersRegistryService }, { type: RiskScoreFormattersRegistryService }]; } });
|
|
17513
18055
|
|
|
17514
18056
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
17515
18057
|
|
|
@@ -17519,6 +18061,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
17519
18061
|
|
|
17520
18062
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
17521
18063
|
|
|
18064
|
+
// © 2023 SolarWinds Worldwide, LLC. All rights reserved.
|
|
18065
|
+
|
|
18066
|
+
// © 2023 SolarWinds Worldwide, LLC. All rights reserved.
|
|
18067
|
+
|
|
18068
|
+
// © 2023 SolarWinds Worldwide, LLC. All rights reserved.
|
|
18069
|
+
|
|
17522
18070
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
17523
18071
|
|
|
17524
18072
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
@@ -17594,6 +18142,33 @@ var KpiFormatterTypes;
|
|
|
17594
18142
|
|
|
17595
18143
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
17596
18144
|
|
|
18145
|
+
// © 2023 SolarWinds Worldwide, LLC. All rights reserved.
|
|
18146
|
+
//
|
|
18147
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
18148
|
+
// of this software and associated documentation files (the "Software"), to
|
|
18149
|
+
// deal in the Software without restriction, including without limitation the
|
|
18150
|
+
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
18151
|
+
// sell copies of the Software, and to permit persons to whom the Software is
|
|
18152
|
+
// furnished to do so, subject to the following conditions:
|
|
18153
|
+
//
|
|
18154
|
+
// The above copyright notice and this permission notice shall be included in
|
|
18155
|
+
// all copies or substantial portions of the Software.
|
|
18156
|
+
//
|
|
18157
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18158
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18159
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18160
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
18161
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18162
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
18163
|
+
// THE SOFTWARE.
|
|
18164
|
+
var RiskScoreFormatterTypes;
|
|
18165
|
+
(function (RiskScoreFormatterTypes) {
|
|
18166
|
+
// ROOT ?
|
|
18167
|
+
RiskScoreFormatterTypes["Value"] = "Value";
|
|
18168
|
+
})(RiskScoreFormatterTypes || (RiskScoreFormatterTypes = {}));
|
|
18169
|
+
|
|
18170
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
18171
|
+
|
|
17597
18172
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
17598
18173
|
/**
|
|
17599
18174
|
* Use this function to apply endpoints on status data returned by a data source so that when the status
|
|
@@ -17799,5 +18374,5 @@ const DONUT_CONTENT_CONFIGURATION_SLICE = {
|
|
|
17799
18374
|
* Generated bundle index. Do not edit.
|
|
17800
18375
|
*/
|
|
17801
18376
|
|
|
17802
|
-
export { AccordionState, AddDataPipe, AggregatorMetricSelectorConfigurationComponent, BackgroundColorRulesConfigurationComponent, BaseLayout, CHART_METRIC_REMOVE, CHART_PALETTE_CS3_ALTERNATIVE_NAMES, CHART_PALETTE_CS_S_EXTENDED_ALTERNATIVE_NAMES, CONFIGURATOR_CONVERTER, ColorPickerComponent, ComponentPortalDirective, ComponentPortalService, ComponentRegistryService, ConfiguratorComponent, ConfiguratorHeadingComponent, ConfiguratorHeadingService, ConfiguratorService, DASHBOARD_EDIT_MODE, DASHBOARD_EVENT_BUS, DATA_SOURCE, DATA_SOURCE_BUSY, DATA_SOURCE_CHANGE, DATA_SOURCE_CREATED, DATA_SOURCE_DESTROYED, DATA_SOURCE_INVOKED, DATA_SOURCE_OUTPUT, DEFAULT_COMPARATORS, DEFAULT_KPI_BACKGROUND_COLORS, DEFAULT_KPI_FORMATTERS, DEFAULT_KPI_TILE_COLOR, DEFAULT_LEGEND_FORMATTERS, DEFAULT_PIZZAGNA_ROOT, DEFAULT_PROPORTIONAL_CONTENT_AGGREGATORS, DEFAULT_PROPORTIONAL_CONTENT_FORMATTERS, DEFAULT_REFRESH_INTERVAL, DEFAULT_UNIT_CONVERSION_THRESHOLD, DONUT_CONTENT_CONFIGURATION_SLICE, DRILLDOWN, DashboardComponent, DashboardUnitConversionPipe, DashwizButtonsComponent, DashwizComponent, DashwizStepComponent, DataSourceAdapter, DataSourceConfigurationComponent, DataSourceConfigurationV2Component, DataSourceErrorComponent, DelayedMousePresenceDetectionDirective, DescriptionConfigurationComponent, DescriptionConfigurationV2Component, DonutChartFormatterConfiguratorComponent, DonutContentConfigurationComponent, DonutContentPercentageConfigurationComponent, DonutContentPercentageFormatterComponent, DonutContentRawFormatterComponent, DonutContentSumFormatterComponent, DropAreaComponent, DynamicComponentCreator, ERROR_FALLBACK_MAP, ERROR_NODES, EVENT_PROXY, EmbeddedContentComponent, EmbeddedContentConfigurationComponent, EmbeddedContentMode, EntityFormattingConfigurationComponent, ErrorNodeKey, EventRegistryService, FORMATTERS_REGISTRY, FieldMapperAggregatorConfiguratorComponent, FormHeaderIconPipePipe, FormStackComponent, FormatterConfiguratorComponent, FormatterRegistryService, GridsterItemWidgetIdDirective, GroupingConfigurationComponent, HEADER_LINK_PROVIDER, HttpStatusCode, INTERACTION, IconFormatterComponent, InfoMessageConfigurationComponent, InteractionHandler, ItemsDynamicComponent, KpiColorComparatorsRegistryService, KpiComponent, KpiDescriptionConfigurationComponent, KpiFormatterTypes, KpiFormattersRegistryService, KpiTilesConfigurationComponent, KpiTilesConverterService, KpiWidgetColorService, KpiWidgetFontSizes, KpiWidgetThresholdColors, LegendPlacement, LineChartComponent, LinkConfiguratorComponent, LinkFormatterComponent, ListGroupItemComponent, ListLeafItemComponent, ListNavigationBarComponent, ListWidgetComponent, LoadingComponent, NOVA_CONFIGURATOR_DATA_SOURCE_MANAGER, NOVA_DASHBOARD_EVENT_PROXY, NOVA_DATASOURCE_ADAPTER, NOVA_DATASOURCE_INTERVAL_REFRESHER, NOVA_DRILLDOWN_DATASOURCE_ADAPTER, NOVA_EVENT_BUS_DEBUGGER, NOVA_GENERIC_ARRAY_CONVERTER, NOVA_GENERIC_CONVERTER, NOVA_KPI_COLOR_PRIORITIZER, NOVA_KPI_DATASOURCE_ADAPTER, NOVA_KPI_FORMATTERS_REGISTRY, NOVA_KPI_SCALE_SYNC_BROKER, NOVA_KPI_SECTION_CONVERTER, NOVA_KPI_STATUS_CONTENT_FALLBACK_ADAPTER, NOVA_KPI_TILES_CONVERTER, NOVA_LOADING_ADAPTER, NOVA_PIZZAGNA_BROADCASTER, NOVA_PROPORTIONAL_CONTENT_FORMATTERS_REGISTRY, NOVA_PROPORTIONAL_WIDGET_CHART_OPTIONS_CONVERTER, NOVA_STATUS_CONTENT_FALLBACK_ADAPTER, NOVA_TABLE_COLUMNS_CONVERTER, NOVA_TABLE_DATASOURCE_ADAPTER, NOVA_TABLE_FILTERS_CONVERTER, NOVA_TABLE_FORMATTERS_REGISTRY, NOVA_TEST_REGISTRY, NOVA_TIMESERIES_DATASOURCE_ADAPTER, NOVA_TIMESERIES_METADATA_CONVERTER, NOVA_TIMESERIES_SERIES_CONVERTER, NOVA_TIMESERIES_TILE_INDICATOR_DATA_CONVERTER, NOVA_TITLE_AND_DESCRIPTION_CONVERTER, NOVA_URL_INTERACTION_HANDLER, NOVA_VIRTUAL_VIEWPORT_MANAGER, NuiDashboardConfiguratorModule, NuiDashboardsCommonModule, NuiDashboardsModule, NuiPizzagnaModule, PIZZAGNA_EVENT_BUS, PREVIEW_EVENT, PercentageFormatterComponent, PizzagnaComponent, PizzagnaLayer, PizzagnaRootPipe, PizzagnaService, PresentationConfigurationComponent, PresentationConfigurationV2Component, PreviewOverlayComponent, PreviewPlaceholderComponent, PreviewService, ProportionalChartOptionsEditorComponent, ProportionalChartOptionsEditorV2Component, ProportionalContentAggregatorsRegistryService, ProportionalDonutContentComponent, ProportionalDonutContentFormattersRegistryService, ProportionalLegendFormattersRegistryService, ProportionalWidgetChartOptionsConverterService, ProportionalWidgetChartTypes, ProportionalWidgetComponent, ProviderRegistryService, REFRESH, REFRESHER_CONFIGURATOR, RawFormatterComponent, RefreshRateConfiguratorComponent, Refresher, RefresherConfigurationComponent, RefresherSettingsService, SCROLL_NEXT_PAGE, SET_PROPERTY_VALUE, SET_TIMEFRAME, SUMMARY_LEGEND_BCG_COLOR, SUMMARY_LEGEND_COLOR, 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, TableWidgetComponent, TemplateLoadErrorComponent, ThresholdsConfigurationComponent, TilesComponent, TimeframeSelectionComponent, TimeframeSerializationService, TimeseriesChartPreset, TimeseriesChartPresetService, TimeseriesChartTypes, TimeseriesDataSourceAdapter, TimeseriesInspectionMenuComponent, TimeseriesInteractionType, TimeseriesMetadataConfigurationComponent, TimeseriesScaleType, TimeseriesSeriesCollectionConfigurationComponent, TimeseriesSeriesConverterService, TimeseriesTileDescriptionConfigurationComponent, TimeseriesTileIndicatorDataConfigurationComponent, TimeseriesTransformer, TimeseriesWidgetComponent, TimeseriesWidgetProjectType, TitleAndDescriptionConfigurationComponent, TitleAndDescriptionConverterService, UrlInteractionHandler, UrlInteractionService, ValueSelectorComponent, WIDGET_BODY, WIDGET_CREATE, WIDGET_EDIT, WIDGET_HEADER, WIDGET_LOADING, WIDGET_POSITION_CHANGE, WIDGET_READY, WIDGET_REMOVE, WIDGET_RESIZE, WIDGET_SEARCH, WellKnownDataSourceFeatures, WellKnownPathKey, WellKnownProviders, WidgetBodyComponent, WidgetBodyContentComponent, WidgetClonerComponent, WidgetClonerService, WidgetComponent, WidgetConfigurationService, WidgetConfiguratorSectionComponent, WidgetConfiguratorSectionHeaderPipe, WidgetEditorAccordionComponent, WidgetEditorAccordionFormStatePipe, WidgetEditorComponent, WidgetEditorDirective, WidgetEditorService, WidgetErrorComponent, WidgetHeaderComponent, WidgetSearchComponent, WidgetToDashboardEventProxyService, WidgetTypesService, WindowObject, XYChartComponent, applyStatusEndpoints, chartPaletteColorMap, fieldMapper, getPizzagnaPropertyPath, hasControlInErrorState, hasTimeseriesWidgetSummaryLegend, mapDataToFormatterProperties, mergeChanges, metricsSeriesMeasurementsMinMax, percentageAggregator, refresher, sumAggregator, timeSeriesDatetimeFormatter, transformChangePoint, transformDifference, transformFloatingAverage, transformLinReg, transformLoessSmoothing, transformLoessStandardize, transformNormalize, transformPercentileStd, transformStandardize, widgetBodyContentNodes };
|
|
18377
|
+
export { AccordionState, AddDataPipe, AggregatorMetricSelectorConfigurationComponent, BackgroundColorRulesConfigurationComponent, BaseLayout, CHART_METRIC_REMOVE, CHART_PALETTE_CS3_ALTERNATIVE_NAMES, CHART_PALETTE_CS_S_EXTENDED_ALTERNATIVE_NAMES, CONFIGURATOR_CONVERTER, ColorPickerComponent, ComponentPortalDirective, ComponentPortalService, ComponentRegistryService, ConfiguratorComponent, ConfiguratorHeadingComponent, ConfiguratorHeadingService, ConfiguratorService, DASHBOARD_EDIT_MODE, DASHBOARD_EVENT_BUS, DATA_SOURCE, DATA_SOURCE_BUSY, DATA_SOURCE_CHANGE, DATA_SOURCE_CREATED, DATA_SOURCE_DESTROYED, DATA_SOURCE_INVOKED, DATA_SOURCE_OUTPUT, DEFAULT_COMPARATORS, DEFAULT_KPI_BACKGROUND_COLORS, DEFAULT_KPI_FORMATTERS, DEFAULT_KPI_TILE_COLOR, DEFAULT_LEGEND_FORMATTERS, DEFAULT_PIZZAGNA_ROOT, DEFAULT_PROPORTIONAL_CONTENT_AGGREGATORS, DEFAULT_PROPORTIONAL_CONTENT_FORMATTERS, DEFAULT_REFRESH_INTERVAL, DEFAULT_UNIT_CONVERSION_THRESHOLD, DONUT_CONTENT_CONFIGURATION_SLICE, DRILLDOWN, DashboardComponent, DashboardUnitConversionPipe, DashwizButtonsComponent, DashwizComponent, DashwizStepComponent, DataSourceAdapter, DataSourceConfigurationComponent, DataSourceConfigurationV2Component, DataSourceErrorComponent, DelayedMousePresenceDetectionDirective, DescriptionConfigurationComponent, DescriptionConfigurationV2Component, DonutChartFormatterConfiguratorComponent, DonutContentConfigurationComponent, DonutContentPercentageConfigurationComponent, DonutContentPercentageFormatterComponent, DonutContentRawFormatterComponent, DonutContentSumFormatterComponent, DropAreaComponent, DynamicComponentCreator, ERROR_FALLBACK_MAP, ERROR_NODES, EVENT_PROXY, EmbeddedContentComponent, EmbeddedContentConfigurationComponent, EmbeddedContentMode, EntityFormattingConfigurationComponent, ErrorNodeKey, EventRegistryService, FORMATTERS_REGISTRY, FieldMapperAggregatorConfiguratorComponent, FormHeaderIconPipePipe, FormStackComponent, FormatterConfiguratorComponent, FormatterRegistryService, GridsterItemWidgetIdDirective, GroupingConfigurationComponent, HEADER_LINK_PROVIDER, HttpStatusCode, INTERACTION, IconFormatterComponent, InfoMessageConfigurationComponent, InteractionHandler, ItemsDynamicComponent, KpiColorComparatorsRegistryService, KpiComponent, KpiDescriptionConfigurationComponent, KpiFormatterTypes, KpiFormattersRegistryService, KpiTilesConfigurationComponent, KpiTilesConverterService, KpiWidgetColorService, KpiWidgetFontSizes, KpiWidgetThresholdColors, LegendPlacement, LineChartComponent, LinkConfiguratorComponent, LinkFormatterComponent, ListGroupItemComponent, ListLeafItemComponent, ListNavigationBarComponent, ListWidgetComponent, LoadingComponent, NOVA_CONFIGURATOR_DATA_SOURCE_MANAGER, NOVA_DASHBOARD_EVENT_PROXY, NOVA_DATASOURCE_ADAPTER, NOVA_DATASOURCE_INTERVAL_REFRESHER, NOVA_DRILLDOWN_DATASOURCE_ADAPTER, NOVA_EVENT_BUS_DEBUGGER, NOVA_GENERIC_ARRAY_CONVERTER, NOVA_GENERIC_CONVERTER, NOVA_KPI_COLOR_PRIORITIZER, NOVA_KPI_DATASOURCE_ADAPTER, NOVA_KPI_FORMATTERS_REGISTRY, NOVA_KPI_SCALE_SYNC_BROKER, NOVA_KPI_SECTION_CONVERTER, NOVA_KPI_STATUS_CONTENT_FALLBACK_ADAPTER, NOVA_KPI_TILES_CONVERTER, NOVA_LOADING_ADAPTER, NOVA_PIZZAGNA_BROADCASTER, NOVA_PROPORTIONAL_CONTENT_FORMATTERS_REGISTRY, NOVA_PROPORTIONAL_WIDGET_CHART_OPTIONS_CONVERTER, NOVA_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_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, SET_PROPERTY_VALUE, SET_TIMEFRAME, SUMMARY_LEGEND_BCG_COLOR, SUMMARY_LEGEND_COLOR, 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, TableWidgetComponent, TemplateLoadErrorComponent, ThresholdsConfigurationComponent, TilesComponent, TimeframeSelectionComponent, TimeframeSerializationService, TimeseriesChartPreset, TimeseriesChartPresetService, TimeseriesChartTypes, TimeseriesDataSourceAdapter, TimeseriesInspectionMenuComponent, TimeseriesInteractionType, TimeseriesMetadataConfigurationComponent, TimeseriesScaleType, TimeseriesSeriesCollectionConfigurationComponent, TimeseriesSeriesConverterService, TimeseriesTileDescriptionConfigurationComponent, TimeseriesTileIndicatorDataConfigurationComponent, TimeseriesTransformer, TimeseriesWidgetComponent, TimeseriesWidgetProjectType, TitleAndDescriptionConfigurationComponent, TitleAndDescriptionConverterService, UrlInteractionHandler, UrlInteractionService, ValueSelectorComponent, WIDGET_BODY, WIDGET_CREATE, WIDGET_EDIT, WIDGET_HEADER, WIDGET_LOADING, WIDGET_POSITION_CHANGE, WIDGET_READY, WIDGET_REMOVE, WIDGET_RESIZE, WIDGET_SEARCH, WellKnownDataSourceFeatures, WellKnownPathKey, WellKnownProviders, WidgetBodyComponent, WidgetBodyContentComponent, WidgetClonerComponent, WidgetClonerService, WidgetComponent, WidgetConfigurationService, WidgetConfiguratorSectionComponent, WidgetConfiguratorSectionHeaderPipe, WidgetEditorAccordionComponent, WidgetEditorAccordionFormStatePipe, WidgetEditorComponent, WidgetEditorDirective, WidgetEditorService, WidgetErrorComponent, WidgetHeaderComponent, WidgetSearchComponent, WidgetToDashboardEventProxyService, WidgetTypesService, WindowObject, XYChartComponent, applyStatusEndpoints, chartPaletteColorMap, fieldMapper, getPizzagnaPropertyPath, hasControlInErrorState, hasTimeseriesWidgetSummaryLegend, mapDataToFormatterProperties, mergeChanges, metricsSeriesMeasurementsMinMax, percentageAggregator, refresher, sumAggregator, timeSeriesDatetimeFormatter, transformChangePoint, transformDifference, transformFloatingAverage, transformLinReg, transformLoessSmoothing, transformLoessStandardize, transformNormalize, transformPercentileStd, transformStandardize, widgetBodyContentNodes };
|
|
17803
18378
|
//# sourceMappingURL=nova-ui-dashboards.js.map
|