@nova-ui/dashboards 12.0.20-4218 → 12.0.21
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 +243 -71
- package/bundles/nova-ui-dashboards.umd.js.map +1 -1
- package/esm2015/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.js +9 -7
- package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.js +6 -6
- package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.js +6 -6
- package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.js +6 -6
- package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.js +6 -6
- package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.js +10 -8
- package/esm2015/lib/components/timeseries-widget/public-api.js +2 -1
- package/esm2015/lib/components/timeseries-widget/timeseries-inspection-menu/timeseries-inspection-menu.component.js +151 -0
- package/esm2015/lib/components/timeseries-widget/timeseries-widget.component.js +30 -10
- package/esm2015/lib/components/timeseries-widget/types.js +12 -1
- package/esm2015/lib/dashboards.module.js +12 -5
- package/fesm2015/nova-ui-dashboards.js +222 -62
- package/fesm2015/nova-ui-dashboards.js.map +1 -1
- package/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.d.ts +5 -3
- package/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.d.ts +3 -3
- package/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.d.ts +3 -3
- package/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.d.ts +3 -3
- package/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.d.ts +3 -3
- package/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.d.ts +5 -3
- package/lib/components/timeseries-widget/public-api.d.ts +1 -0
- package/lib/components/timeseries-widget/timeseries-inspection-menu/timeseries-inspection-menu.component.d.ts +40 -0
- package/lib/components/timeseries-widget/timeseries-widget.component.d.ts +11 -3
- package/lib/components/timeseries-widget/types.d.ts +13 -0
- package/lib/dashboards.module.d.ts +10 -9
- package/package.json +5 -4
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.d.ts +4 -2
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.js +7 -4
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.d.ts +2 -2
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.js +4 -3
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.d.ts +2 -2
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.js +4 -3
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.d.ts +2 -2
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.js +4 -3
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.d.ts +2 -2
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.js +4 -3
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.d.ts +4 -2
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.js +5 -3
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/public-api.d.ts +1 -0
- package/sdk/atoms/src/lib/components/timeseries-widget/public-api.js +1 -0
- package/sdk/atoms/src/lib/components/timeseries-widget/public-api.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-inspection-menu/timeseries-inspection-menu.component.d.ts +37 -0
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-inspection-menu/timeseries-inspection-menu.component.js +160 -0
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-inspection-menu/timeseries-inspection-menu.component.js.map +1 -0
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-widget.component.d.ts +11 -3
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-widget.component.js +21 -2
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-widget.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/types.d.ts +13 -0
- package/sdk/atoms/src/lib/components/timeseries-widget/types.js +12 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/types.js.map +1 -1
- package/sdk/atoms/src/lib/dashboards.module.js +3 -0
- package/sdk/atoms/src/lib/dashboards.module.js.map +1 -1
- package/sdk/locale/messages.en.xlf +38 -10
|
@@ -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 } 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';
|
|
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';
|
|
@@ -11,7 +11,7 @@ import { Validators, NG_VALUE_ACCESSOR, ControlContainer, FormGroupDirective, Fo
|
|
|
11
11
|
import * as i1 from 'angular-gridster2';
|
|
12
12
|
import { DisplayGrid, GridType, CompactType, GridsterComponent, GridsterItemComponent, GridsterModule } from 'angular-gridster2';
|
|
13
13
|
import * as i2 from '@nova-ui/charts';
|
|
14
|
-
import { RadialAccessors, barAccessors, radial, radialGrid, RadialRenderer, radialScales, PieRenderer, barGrid, BarRenderer, BarSeriesHighlightStrategy, barScales, ChartPalette, defaultColorProvider, ChartAssist, Chart, ChartDonutContentPlugin, SELECT_DATA_POINT_EVENT, MappedValueProvider, SequentialColorProvider, TimeIntervalScale, LinearScale, TimeScale, SparkChartAssist, statusAccessors, BarHighlightStrategy, BandScale, StatusAccessors,
|
|
14
|
+
import { RadialAccessors, barAccessors, radial, radialGrid, RadialRenderer, radialScales, PieRenderer, barGrid, BarRenderer, BarSeriesHighlightStrategy, barScales, ChartPalette, defaultColorProvider, ChartAssist, Chart, ChartDonutContentPlugin, SELECT_DATA_POINT_EVENT, MappedValueProvider, SequentialColorProvider, TimeIntervalScale, LinearScale, TimeScale, SparkChartAssist, statusAccessors, BarHighlightStrategy, BandScale, StatusAccessors, TimeseriesZoomPlugin, SET_DOMAIN_EVENT, DESTROY_EVENT, INTERACTION_DATA_POINTS_EVENT, InteractionType, INTERACTION_VALUES_EVENT, LineRenderer, LineAccessors, XYGridConfig, XYGrid, AreaRenderer, stackedAreaAccessors, areaGrid, stackedArea, InteractionLinePlugin, InteractionLabelPlugin, stack, stackedPercentageArea, getColorValueByName, CHART_PALETTE_CS3, CHART_PALETTE_CS_S_EXTENDED, TextColorProvider, NuiChartsModule } from '@nova-ui/charts';
|
|
15
15
|
import defaultsDeep from 'lodash/defaultsDeep';
|
|
16
16
|
import { BehaviorSubject, ReplaySubject, Subject, zip, merge, combineLatest, of, noop, EMPTY, Observable } from 'rxjs';
|
|
17
17
|
import set from 'lodash/set';
|
|
@@ -33,14 +33,14 @@ import pick from 'lodash/pick';
|
|
|
33
33
|
import _difference from 'lodash/difference';
|
|
34
34
|
import keyBy from 'lodash/keyBy';
|
|
35
35
|
import isEqual from 'lodash/isEqual';
|
|
36
|
-
import * as
|
|
36
|
+
import * as i6 from '@angular/cdk/portal';
|
|
37
37
|
import { ComponentPortal, PortalModule } from '@angular/cdk/portal';
|
|
38
38
|
import { trigger, state, style, transition, animate } from '@angular/animations';
|
|
39
39
|
import * as i1$1 from '@angular/platform-browser';
|
|
40
40
|
import moment, { duration } from 'moment/moment';
|
|
41
41
|
import cloneDeep from 'lodash/cloneDeep';
|
|
42
42
|
import * as d3 from 'd3';
|
|
43
|
-
import * as i5
|
|
43
|
+
import * as i5 from '@angular/cdk/drag-drop';
|
|
44
44
|
import { DragDropModule } from '@angular/cdk/drag-drop';
|
|
45
45
|
import * as i2$1 from '@angular/cdk/overlay';
|
|
46
46
|
import sumBy from 'lodash/sumBy';
|
|
@@ -3739,7 +3739,7 @@ class PizzagnaComponent {
|
|
|
3739
3739
|
provide: PIZZAGNA_EVENT_BUS,
|
|
3740
3740
|
useClass: EventBus,
|
|
3741
3741
|
},
|
|
3742
|
-
], usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"pizza && pizza[rootNode]\">\n <ng-container\n nuiComponentPortal\n [componentId]=\"rootNode\"\n [componentType]=\"pizza[rootNode]?.componentType\"\n [properties]=\"pizza[rootNode]?.properties\"\n [providers]=\"pizza[rootNode]?.providers\"\n [outputs]=\"outputs\"\n (output)=\"onOutput($event)\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n</ng-container>\n", directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type:
|
|
3742
|
+
], usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"pizza && pizza[rootNode]\">\n <ng-container\n nuiComponentPortal\n [componentId]=\"rootNode\"\n [componentType]=\"pizza[rootNode]?.componentType\"\n [properties]=\"pizza[rootNode]?.properties\"\n [providers]=\"pizza[rootNode]?.providers\"\n [outputs]=\"outputs\"\n (output)=\"onOutput($event)\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n</ng-container>\n", directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i6.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }] });
|
|
3743
3743
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: PizzagnaComponent, decorators: [{
|
|
3744
3744
|
type: Component,
|
|
3745
3745
|
args: [{
|
|
@@ -4301,7 +4301,7 @@ class KpiComponent {
|
|
|
4301
4301
|
}
|
|
4302
4302
|
KpiComponent.lateLoadKey = "KpiComponent";
|
|
4303
4303
|
/** @nocollapse */ KpiComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: KpiComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: DATA_SOURCE, optional: true }, { token: PIZZAGNA_EVENT_BUS }], target: i0.ɵɵFactoryTarget.Component });
|
|
4304
|
-
/** @nocollapse */ KpiComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: KpiComponent, selector: "nui-kpi", inputs: { widgetData: "widgetData", backgroundColor: "backgroundColor", syncValuesBroker: "syncValuesBroker", configuration: "configuration", busy: "busy" }, host: { properties: { "class": "this.elementClass" } }, usesOnChanges: true, ngImport: i0, template: "<div class=\"w-100 h-100\" nui-busy [busy]=\"busy\">\n <ng-container *ngIf=\"widgetData?.link\">\n <a class=\"nui-kpi-indicator\" [href]=\"widgetData.link\">\n <ng-container [ngTemplateOutlet]=\"kpiContent\"></ng-container>\n </a>\n </ng-container>\n\n <ng-container *ngIf=\"!widgetData?.link\">\n <div class=\"nui-kpi-indicator\" (click)=\"onInteraction()\">\n <ng-container [ngTemplateOutlet]=\"kpiContent\"></ng-container>\n </div>\n </ng-container>\n</div>\n\n<ng-template #kpiContent>\n <div\n class=\"nui-kpi-indicator__background\"\n [class.nui-kpi-indicator--interactive]=\"interactive\"\n [ngStyle]=\"{\n 'background-color': backgroundColor || widgetData?.backgroundColor\n }\"\n ></div>\n <div\n class=\"nui-kpi-indicator__text\"\n [ngStyle]=\"{\n color:\n widgetData?.textColor ||\n backgroundColor ||\n widgetData?.backgroundColor ||\n defaultColor\n }\"\n >\n <div class=\"nui-kpi-indicator__zoom-container\">\n <div\n class=\"nui-kpi-indicator__description\"\n [title]=\"widgetData?.label\"\n >\n <span\n nuiZoomContent\n [useZoom]=\"false\"\n [minScale]=\"0.5\"\n [scaleIN$]=\"getScaleBroker('label')?.out$\"\n [scaleOUT$]=\"getScaleBroker('label')?.in$\"\n >{{ widgetData?.label }}</span\n >\n </div>\n\n <ng-container\n *ngIf=\"configuration?.formatters?.Value; else kpiValueRaw\"\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n componentId=\"KpiValueFormatter\"\n [componentType]=\"\n configuration?.formatters?.Value?.formatter?.componentType\n \"\n [properties]=\"formattersProperties.Value\"\n >\n <div class=\"nui-kpi-indicator__value\">\n <span\n nuiZoomContent\n [ngClass]=\"\n configuration?.formatters?.Value?.formatter\n ?.componentType === 'IconFormatterComponent'\n ? 'without-filter'\n : ''\n \"\n [useZoom]=\"false\"\n [scaleIN$]=\"getScaleBroker('value')?.out$\"\n [scaleOUT$]=\"getScaleBroker('value')?.in$\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </span>\n </div>\n </ng-container>\n\n <div class=\"nui-kpi-indicator__units\" [title]=\"widgetData?.units\">\n <span\n nuiZoomContent\n [useZoom]=\"false\"\n [scaleIN$]=\"getScaleBroker('units')?.out$\"\n [scaleOUT$]=\"getScaleBroker('units')?.in$\"\n [minScale]=\"0.5\"\n >{{ widgetData?.units }}</span\n >\n </div>\n </div>\n </div>\n</ng-template>\n\n<ng-template #kpiValueRaw>\n <div\n class=\"nui-kpi-indicator__value\"\n [style.font-size]=\"widgetData?.fontSize\"\n [title]=\"widgetData?.value\"\n >\n <span\n nuiZoomContent\n [useZoom]=\"false\"\n [scaleIN$]=\"getScaleBroker('value')?.out$\"\n [scaleOUT$]=\"getScaleBroker('value')?.in$\"\n >\n {{ widgetData?.value }}</span\n >\n </div>\n</ng-template>\n", styles: [".nui-kpi-indicator{position:relative;display:block;height:100%;width:100%}.nui-kpi-indicator__background{height:100%;width:100%;background-color:var(--nui-color-bg-secondary,#fafafa);color:var(--nui-color-text-default,#111)}.nui-kpi-indicator__text{position:absolute;width:100%;height:100%;top:0;pointer-events:none}.nui-kpi-indicator__text *>span{filter:invert(1) grayscale(1) contrast(100)}.nui-kpi-indicator__value{font-size:54px;font-weight:600;margin:auto 0;min-width:100%;white-space:nowrap;display:flex;align-items:center;justify-content:center;height:100%;min-height:5px;max-height:200px}.nui-kpi-indicator__value>span.without-filter{filter:unset}.nui-kpi-indicator__units{font-size:16px;font-weight:600;min-width:0;margin-bottom:auto;display:flex;align-items:center;justify-content:center;height:100%;min-height:10px;max-height:45px}.nui-kpi-indicator__units>span{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis}.nui-kpi-indicator__description{font-size:16px;font-weight:600;min-width:0;margin-top:auto;display:flex;align-items:center;justify-content:center;height:100%;min-height:10px;max-height:45px}.nui-kpi-indicator__description>span{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis}.nui-kpi-indicator__zoom-container{display:grid;grid-template-columns:1fr;grid-template-rows:30% 40% 30%;width:100%;height:100%}.nui-kpi-indicator--interactive{cursor:pointer}.nui-kpi-indicator--interactive:hover{filter:brightness(90%)}\n"], components: [{ type: i3.BusyComponent, selector: "[nui-busy]", inputs: ["disableTabNavigation", "busy"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i3.ZoomContentDirective, selector: "[nuiZoomContent]", inputs: ["zoomRatio", "minZoomDifference", "useZoom", "margin", "minScale", "maxZoom", "minZoom", "maxScale", "scaleIN$", "scaleOUT$"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type:
|
|
4304
|
+
/** @nocollapse */ KpiComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: KpiComponent, selector: "nui-kpi", inputs: { widgetData: "widgetData", backgroundColor: "backgroundColor", syncValuesBroker: "syncValuesBroker", configuration: "configuration", busy: "busy" }, host: { properties: { "class": "this.elementClass" } }, usesOnChanges: true, ngImport: i0, template: "<div class=\"w-100 h-100\" nui-busy [busy]=\"busy\">\n <ng-container *ngIf=\"widgetData?.link\">\n <a class=\"nui-kpi-indicator\" [href]=\"widgetData.link\">\n <ng-container [ngTemplateOutlet]=\"kpiContent\"></ng-container>\n </a>\n </ng-container>\n\n <ng-container *ngIf=\"!widgetData?.link\">\n <div class=\"nui-kpi-indicator\" (click)=\"onInteraction()\">\n <ng-container [ngTemplateOutlet]=\"kpiContent\"></ng-container>\n </div>\n </ng-container>\n</div>\n\n<ng-template #kpiContent>\n <div\n class=\"nui-kpi-indicator__background\"\n [class.nui-kpi-indicator--interactive]=\"interactive\"\n [ngStyle]=\"{\n 'background-color': backgroundColor || widgetData?.backgroundColor\n }\"\n ></div>\n <div\n class=\"nui-kpi-indicator__text\"\n [ngStyle]=\"{\n color:\n widgetData?.textColor ||\n backgroundColor ||\n widgetData?.backgroundColor ||\n defaultColor\n }\"\n >\n <div class=\"nui-kpi-indicator__zoom-container\">\n <div\n class=\"nui-kpi-indicator__description\"\n [title]=\"widgetData?.label\"\n >\n <span\n nuiZoomContent\n [useZoom]=\"false\"\n [minScale]=\"0.5\"\n [scaleIN$]=\"getScaleBroker('label')?.out$\"\n [scaleOUT$]=\"getScaleBroker('label')?.in$\"\n >{{ widgetData?.label }}</span\n >\n </div>\n\n <ng-container\n *ngIf=\"configuration?.formatters?.Value; else kpiValueRaw\"\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n componentId=\"KpiValueFormatter\"\n [componentType]=\"\n configuration?.formatters?.Value?.formatter?.componentType\n \"\n [properties]=\"formattersProperties.Value\"\n >\n <div class=\"nui-kpi-indicator__value\">\n <span\n nuiZoomContent\n [ngClass]=\"\n configuration?.formatters?.Value?.formatter\n ?.componentType === 'IconFormatterComponent'\n ? 'without-filter'\n : ''\n \"\n [useZoom]=\"false\"\n [scaleIN$]=\"getScaleBroker('value')?.out$\"\n [scaleOUT$]=\"getScaleBroker('value')?.in$\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </span>\n </div>\n </ng-container>\n\n <div class=\"nui-kpi-indicator__units\" [title]=\"widgetData?.units\">\n <span\n nuiZoomContent\n [useZoom]=\"false\"\n [scaleIN$]=\"getScaleBroker('units')?.out$\"\n [scaleOUT$]=\"getScaleBroker('units')?.in$\"\n [minScale]=\"0.5\"\n >{{ widgetData?.units }}</span\n >\n </div>\n </div>\n </div>\n</ng-template>\n\n<ng-template #kpiValueRaw>\n <div\n class=\"nui-kpi-indicator__value\"\n [style.font-size]=\"widgetData?.fontSize\"\n [title]=\"widgetData?.value\"\n >\n <span\n nuiZoomContent\n [useZoom]=\"false\"\n [scaleIN$]=\"getScaleBroker('value')?.out$\"\n [scaleOUT$]=\"getScaleBroker('value')?.in$\"\n >\n {{ widgetData?.value }}</span\n >\n </div>\n</ng-template>\n", styles: [".nui-kpi-indicator{position:relative;display:block;height:100%;width:100%}.nui-kpi-indicator__background{height:100%;width:100%;background-color:var(--nui-color-bg-secondary,#fafafa);color:var(--nui-color-text-default,#111)}.nui-kpi-indicator__text{position:absolute;width:100%;height:100%;top:0;pointer-events:none}.nui-kpi-indicator__text *>span{filter:invert(1) grayscale(1) contrast(100)}.nui-kpi-indicator__value{font-size:54px;font-weight:600;margin:auto 0;min-width:100%;white-space:nowrap;display:flex;align-items:center;justify-content:center;height:100%;min-height:5px;max-height:200px}.nui-kpi-indicator__value>span.without-filter{filter:unset}.nui-kpi-indicator__units{font-size:16px;font-weight:600;min-width:0;margin-bottom:auto;display:flex;align-items:center;justify-content:center;height:100%;min-height:10px;max-height:45px}.nui-kpi-indicator__units>span{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis}.nui-kpi-indicator__description{font-size:16px;font-weight:600;min-width:0;margin-top:auto;display:flex;align-items:center;justify-content:center;height:100%;min-height:10px;max-height:45px}.nui-kpi-indicator__description>span{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis}.nui-kpi-indicator__zoom-container{display:grid;grid-template-columns:1fr;grid-template-rows:30% 40% 30%;width:100%;height:100%}.nui-kpi-indicator--interactive{cursor:pointer}.nui-kpi-indicator--interactive:hover{filter:brightness(90%)}\n"], components: [{ type: i3.BusyComponent, selector: "[nui-busy]", inputs: ["disableTabNavigation", "busy"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i3.ZoomContentDirective, selector: "[nuiZoomContent]", inputs: ["zoomRatio", "minZoomDifference", "useZoom", "margin", "minScale", "maxZoom", "minZoom", "maxScale", "scaleIN$", "scaleOUT$"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i6.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4305
4305
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: KpiComponent, decorators: [{
|
|
4306
4306
|
type: Component,
|
|
4307
4307
|
args: [{
|
|
@@ -4448,7 +4448,7 @@ class StackComponent extends BaseLayout {
|
|
|
4448
4448
|
}
|
|
4449
4449
|
StackComponent.lateLoadKey = "StackComponent";
|
|
4450
4450
|
/** @nocollapse */ StackComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: StackComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: PizzagnaService }, { token: i3.LoggerService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4451
|
-
/** @nocollapse */ StackComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: StackComponent, selector: "nui-stack", inputs: { nodes: "nodes", direction: "direction", elementClass: "elementClass" }, host: { properties: { "class": "this.classNames" } }, usesInheritance: true, ngImport: i0, template: "<ng-container *ngFor=\"let node of nodeConfigs; trackBy: trackByFn\">\n <ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n [componentId]=\"node.id\"\n [componentType]=\"node.componentType\"\n [providers]=\"node.providers\"\n [properties]=\"node.properties\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n</ng-container>\n", directives: [{ type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type:
|
|
4451
|
+
/** @nocollapse */ StackComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: StackComponent, selector: "nui-stack", inputs: { nodes: "nodes", direction: "direction", elementClass: "elementClass" }, host: { properties: { "class": "this.classNames" } }, usesInheritance: true, ngImport: i0, template: "<ng-container *ngFor=\"let node of nodeConfigs; trackBy: trackByFn\">\n <ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n [componentId]=\"node.id\"\n [componentType]=\"node.componentType\"\n [providers]=\"node.providers\"\n [properties]=\"node.properties\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n</ng-container>\n", directives: [{ type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i6.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }] });
|
|
4452
4452
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: StackComponent, decorators: [{
|
|
4453
4453
|
type: Component,
|
|
4454
4454
|
args: [{
|
|
@@ -4517,7 +4517,7 @@ class TilesComponent extends BaseLayout {
|
|
|
4517
4517
|
}
|
|
4518
4518
|
TilesComponent.lateLoadKey = "TilesComponent";
|
|
4519
4519
|
/** @nocollapse */ TilesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TilesComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: PizzagnaService }, { token: i3.LoggerService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
4520
|
-
/** @nocollapse */ TilesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: TilesComponent, selector: "nui-tiles", inputs: { nodes: "nodes", direction: "direction" }, host: { properties: { "class": "this.elementClass" } }, viewQueries: [{ propertyName: "gridItemsContainer", first: true, predicate: ["gridItemsContainer"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<div\n #gridItemsContainer\n class=\"nui-grid-layout\"\n [ngClass]=\"{ 'prioritize-rows': prioritizeGridRows }\"\n>\n <ng-container *ngFor=\"let node of nodeConfigs; trackBy: trackByFn\">\n <ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n [componentId]=\"node.id\"\n [componentType]=\"node.componentType\"\n [properties]=\"node.properties\"\n [providers]=\"node.providers\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n </ng-container>\n</div>\n", styles: [".nui-grid-layout{display:grid;height:100%;gap:10px;grid-template-columns:repeat(auto-fit,minmax(calc(54px * 1.2 + 2 * 15px),1fr));grid-template-rows:repeat(auto-fit,minmax(15px,1fr));line-height:1.2}.nui-grid-layout.prioritize-rows{grid-auto-flow:column;grid-template-columns:minmax(1px,1fr)}:host-context(.mobile){min-height:160px}\n"], directives: [{ type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type:
|
|
4520
|
+
/** @nocollapse */ TilesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: TilesComponent, selector: "nui-tiles", inputs: { nodes: "nodes", direction: "direction" }, host: { properties: { "class": "this.elementClass" } }, viewQueries: [{ propertyName: "gridItemsContainer", first: true, predicate: ["gridItemsContainer"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<div\n #gridItemsContainer\n class=\"nui-grid-layout\"\n [ngClass]=\"{ 'prioritize-rows': prioritizeGridRows }\"\n>\n <ng-container *ngFor=\"let node of nodeConfigs; trackBy: trackByFn\">\n <ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n [componentId]=\"node.id\"\n [componentType]=\"node.componentType\"\n [properties]=\"node.properties\"\n [providers]=\"node.providers\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n </ng-container>\n</div>\n", styles: [".nui-grid-layout{display:grid;height:100%;gap:10px;grid-template-columns:repeat(auto-fit,minmax(calc(54px * 1.2 + 2 * 15px),1fr));grid-template-rows:repeat(auto-fit,minmax(15px,1fr));line-height:1.2}.nui-grid-layout.prioritize-rows{grid-auto-flow:column;grid-template-columns:minmax(1px,1fr)}:host-context(.mobile){min-height:160px}\n"], directives: [{ type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i6.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }] });
|
|
4521
4521
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TilesComponent, decorators: [{
|
|
4522
4522
|
type: Component,
|
|
4523
4523
|
args: [{
|
|
@@ -4738,7 +4738,7 @@ class ListWidgetComponent {
|
|
|
4738
4738
|
}
|
|
4739
4739
|
ListWidgetComponent.lateLoadKey = "ListWidgetComponent";
|
|
4740
4740
|
/** @nocollapse */ ListWidgetComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ListWidgetComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: PIZZAGNA_EVENT_BUS }], target: i0.ɵɵFactoryTarget.Component });
|
|
4741
|
-
/** @nocollapse */ ListWidgetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ListWidgetComponent, selector: "nui-list-widget", inputs: { data: "data", configuration: "configuration", elementClass: "elementClass" }, host: { properties: { "class": "this.elementClass" }, styleAttribute: "overflow: scroll" }, usesOnChanges: true, ngImport: i0, template: "<nui-repeat [itemsSource]=\"data\" [repeatItemTemplateRef]=\"repeatItemTemplate\">\n</nui-repeat>\n\n<ng-template #repeatItemTemplate let-item=\"item\">\n <ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n [componentId]=\"configuration.componentType\"\n [componentType]=\"configuration.componentType\"\n [properties]=\"getPropsFor(item)\"\n [outputs]=\"['navigated']\"\n (output)=\"onListItemEvent(item)\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n</ng-template>\n", styles: [""], components: [{ type: i3.RepeatComponent, selector: "nui-repeat", inputs: ["preventRowClick", "dragPreviewClass", "selectionMode", "virtualScroll", "selection", "highlightSelectedItem", "draggable", "reorderable", "paddingSize", "repeatItemTemplateRef", "dragHandleTemplateRef", "dragPreviewTemplateRef", "actionsTemplateRef", "itemSize", "itemConfig", "itemsSource"], outputs: ["draggableChange", "reorderableChange", "itemsReordered", "selectionChange"] }], directives: [{ type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type:
|
|
4741
|
+
/** @nocollapse */ ListWidgetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ListWidgetComponent, selector: "nui-list-widget", inputs: { data: "data", configuration: "configuration", elementClass: "elementClass" }, host: { properties: { "class": "this.elementClass" }, styleAttribute: "overflow: scroll" }, usesOnChanges: true, ngImport: i0, template: "<nui-repeat [itemsSource]=\"data\" [repeatItemTemplateRef]=\"repeatItemTemplate\">\n</nui-repeat>\n\n<ng-template #repeatItemTemplate let-item=\"item\">\n <ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n [componentId]=\"configuration.componentType\"\n [componentType]=\"configuration.componentType\"\n [properties]=\"getPropsFor(item)\"\n [outputs]=\"['navigated']\"\n (output)=\"onListItemEvent(item)\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n</ng-template>\n", styles: [""], components: [{ type: i3.RepeatComponent, selector: "nui-repeat", inputs: ["preventRowClick", "dragPreviewClass", "selectionMode", "virtualScroll", "selection", "highlightSelectedItem", "draggable", "reorderable", "paddingSize", "repeatItemTemplateRef", "dragHandleTemplateRef", "dragPreviewTemplateRef", "actionsTemplateRef", "itemSize", "itemConfig", "itemsSource"], outputs: ["draggableChange", "reorderableChange", "itemsReordered", "selectionChange"] }], directives: [{ type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i6.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }] });
|
|
4742
4742
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ListWidgetComponent, decorators: [{
|
|
4743
4743
|
type: Component,
|
|
4744
4744
|
args: [{
|
|
@@ -4881,7 +4881,7 @@ class ProportionalDonutContentComponent {
|
|
|
4881
4881
|
}
|
|
4882
4882
|
ProportionalDonutContentComponent.lateLoadKey = "ProportionalDonutContentComponent";
|
|
4883
4883
|
/** @nocollapse */ ProportionalDonutContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ProportionalDonutContentComponent, deps: [{ token: ProportionalContentAggregatorsRegistryService }, { token: ProportionalDonutContentFormattersRegistryService }, { token: i0.ChangeDetectorRef }, { token: i3.LoggerService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4884
|
-
/** @nocollapse */ ProportionalDonutContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ProportionalDonutContentComponent, selector: "nui-proportional-donut-content", inputs: { widgetData: "widgetData", donutConfig: "donutConfig", chartAssist: "chartAssist" }, usesOnChanges: true, ngImport: i0, template: "<ng-container\n *ngIf=\"contentFormatter?.componentType\"\n nuiComponentPortal\n [componentType]=\"contentFormatter?.componentType\"\n [properties]=\"contentFormatterProperties\"\n #componentPortal=\"nuiComponentPortal\"\n>\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n</ng-container>\n", styles: [""], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type:
|
|
4884
|
+
/** @nocollapse */ ProportionalDonutContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ProportionalDonutContentComponent, selector: "nui-proportional-donut-content", inputs: { widgetData: "widgetData", donutConfig: "donutConfig", chartAssist: "chartAssist" }, usesOnChanges: true, ngImport: i0, template: "<ng-container\n *ngIf=\"contentFormatter?.componentType\"\n nuiComponentPortal\n [componentType]=\"contentFormatter?.componentType\"\n [properties]=\"contentFormatterProperties\"\n #componentPortal=\"nuiComponentPortal\"\n>\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n</ng-container>\n", styles: [""], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i6.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4885
4885
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ProportionalDonutContentComponent, decorators: [{
|
|
4886
4886
|
type: Component,
|
|
4887
4887
|
args: [{
|
|
@@ -5296,7 +5296,7 @@ ProportionalWidgetComponent.NO_SWITCH_LAYOUT_INTERVAL_SIZE = 20;
|
|
|
5296
5296
|
ProportionalWidgetComponent.MAX_ROW_LAYOUT_SIZE = 360;
|
|
5297
5297
|
ProportionalWidgetComponent.TICK_LABEL_MAX_WIDTH = 75;
|
|
5298
5298
|
/** @nocollapse */ ProportionalWidgetComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ProportionalWidgetComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.KeyValueDiffers }, { token: PIZZAGNA_EVENT_BUS }, { token: DATA_SOURCE }, { token: i3.LoggerService }, { token: i3.UnitConversionService }], target: i0.ɵɵFactoryTarget.Component });
|
|
5299
|
-
/** @nocollapse */ ProportionalWidgetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ProportionalWidgetComponent, selector: "nui-proportional-widget", inputs: { widgetData: "widgetData", configuration: "configuration", elementClass: "elementClass", seriesToIconMap: "seriesToIconMap" }, host: { properties: { "class": "this.elementClass" } }, viewQueries: [{ propertyName: "gridContainer", first: true, predicate: ["gridContainer"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: "<div\n #gridContainer\n class=\"w-100 nui-chart-layout flex-grow-1 p-3\"\n [ngClass]=\"{\n 'prioritize-rows__right': prioritizedGridRows.right,\n 'prioritize-rows__bottom': prioritizedGridRows.bottom,\n 'empty-grid': !(widgetData && widgetData.length > 0 && chartAssist)\n }\"\n>\n <div\n class=\"d-flex chart has-overlay\"\n *ngIf=\"widgetData && widgetData.length > 0 && chartAssist\"\n >\n <nui-chart class=\"w-100\" [chart]=\"chartAssist.chart\"></nui-chart>\n <nui-chart-donut-content\n *ngIf=\"donutContentPlugin\"\n class=\"nui-proportional-widget__chart-donut-content\"\n [plugin]=\"donutContentPlugin\"\n >\n <div\n class=\"h-100 w-100 d-flex justify-content-center align-items-center text-center\"\n >\n <div class=\"d-inline-block\" nuiZoomContent [useZoom]=\"false\">\n <!-- OLD CONFIG HERE -->\n <ng-container\n *ngIf=\"!configuration?.chartOptions?.donutContentConfig\"\n >\n <ng-container\n nuiComponentPortal\n [componentType]=\"\n contentFormatter?.componentType ||\n 'DonutContentRawFormatterComponent'\n \"\n [properties]=\"contentFormatterProperties\"\n #componentPortal2=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal2.portal\"\n (attached)=\"componentPortal2.attached($event)\"\n ></ng-template>\n </ng-container>\n </ng-container>\n\n <!-- NEW CONFIG HERE -->\n <ng-container\n *ngIf=\"configuration?.chartOptions?.donutContentConfig\"\n >\n <nui-proportional-donut-content\n [widgetData]=\"widgetData\"\n [donutConfig]=\"\n configuration?.chartOptions?.donutContentConfig\n \"\n [chartAssist]=\"chartAssist\"\n ></nui-proportional-donut-content>\n </ng-container>\n </div>\n </div>\n </nui-chart-donut-content>\n </div>\n <div\n class=\"w-100 d-flex legend\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'scrollable' : 'legend-bottom'\n ]\"\n *ngIf=\"hasLegend() && chartAssist\"\n >\n <nui-legend\n class=\"w-100 m-auto\"\n [interactive]=\"false\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \"\n >\n <nui-legend-series\n class=\"proportional-chart__legend-series\"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn;\n let i = index\n \"\n [ngClass]=\"\n (prioritizedGridRows.right || prioritizedGridRows.bottom) &&\n 'description-min-width--unset'\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (click)=\"onInteraction(legendSeries)\"\n [class.nui-proportional-widget__legend--interactive]=\"\n interactive\n \"\n >\n <div\n *ngIf=\"\n legendFormatter && legendFormatter.componentType;\n else legendDefaultTile\n \"\n >\n <div description>\n <ng-container\n nuiComponentPortal\n [componentType]=\"legendFormatter.componentType\"\n [properties]=\"{ data: widgetData[i] }\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n </div>\n </div>\n <ng-template #legendDefaultTile>\n <nui-rich-legend-tile\n [value]=\"\n computeLegendTileValue(legendSeries.data[0])\n | nuiDashboardUnitConversion\n \"\n [unitLabel]=\"legendUnitLabel\"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \"\n >\n </nui-rich-legend-tile>\n\n <nui-icon\n legendTransclusion\n *ngIf=\"\n seriesToIconMap && seriesToIconMap[legendSeries.id]\n \"\n class=\"align-items-center\"\n [icon]=\"seriesToIconMap[legendSeries.id]\"\n ></nui-icon>\n\n <div\n description\n class=\"description-container d-flex flex-column nui-text-small justify-content-center\"\n >\n <div\n *ngIf=\"!legendSeries.link\"\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': interactive\n }\"\n >\n {{ legendSeries.name }}\n </div>\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.link\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.name\"\n >\n {{ legendSeries.name }}\n </a>\n </div>\n </ng-template>\n </nui-legend-series>\n </nui-legend>\n </div>\n <div\n *ngIf=\"!widgetData || widgetData.length === 0 || !chartAssist\"\n class=\"mb-3 mt-3 d-flex align-items-center justify-content-center\"\n >\n <nui-image image=\"no-data-to-show\"></nui-image>\n </div>\n</div>\n", styles: [".nui-proportional-widget__chart-donut-content{position:absolute}.nui-proportional-widget__legend--interactive{cursor:pointer!important}.has-overlay{overflow:auto}.nui-chart-layout{grid-template:\"axis-label-left axis-label-right .\" 0fr \"chart chart legend\" minmax(60%,auto) \"axis-label-bottom axis-label-bottom .\" 0fr \"legend-bottom legend-bottom .\" minmax(auto,min-content) / 1fr 1fr auto}.nui-chart-layout .legend-bottom{overflow:auto;align-self:auto;padding-left:0}.prioritize-rows__right .nui-legend-series,.prioritize-rows__bottom .nui-legend-series{max-width:unset;width:100%}.prioritize-rows .legend{justify-self:start}.prioritize-rows__right{grid-template:\"chart chart .\" 60% \"legend legend .\" 40%}.prioritize-rows__bottom{grid-template:\"chart chart .\" 60% \"legend-bottom legend-bottom .\" 40%}.empty-grid{grid-template-columns:1fr;grid-template-rows:1fr}.proportional-chart__legend-series .link.description-primary{color:var(--nui-color-text-link,#0079aa)}\n"], components: [{ type: i2.ChartComponent, selector: "nui-chart", inputs: ["chart"] }, { type: i2.ChartDonutContentComponent, selector: "nui-chart-donut-content", inputs: ["plugin"] }, { type: ProportionalDonutContentComponent, selector: "nui-proportional-donut-content", inputs: ["widgetData", "donutConfig", "chartAssist"] }, { type: i2.LegendComponent, selector: "nui-legend", inputs: ["active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { type: i2.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["isSelected", "active", "interactive", "seriesRenderState", "icon", "descriptionPrimary", "descriptionSecondary", "color"], outputs: ["isSelectedChange"] }, { type: i2.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "backgroundColor", "value", "color"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.ImageComponent, selector: "nui-image", inputs: ["width", "height", "image", "description", "float", "margin", "isWatermark", "autoFill"] }], directives: [{ type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.ZoomContentDirective, selector: "[nuiZoomContent]", inputs: ["zoomRatio", "minZoomDifference", "useZoom", "margin", "minScale", "maxZoom", "minZoom", "maxScale", "scaleIN$", "scaleOUT$"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "nuiDashboardUnitConversion": DashboardUnitConversionPipe } });
|
|
5299
|
+
/** @nocollapse */ ProportionalWidgetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ProportionalWidgetComponent, selector: "nui-proportional-widget", inputs: { widgetData: "widgetData", configuration: "configuration", elementClass: "elementClass", seriesToIconMap: "seriesToIconMap" }, host: { properties: { "class": "this.elementClass" } }, viewQueries: [{ propertyName: "gridContainer", first: true, predicate: ["gridContainer"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: "<div\n #gridContainer\n class=\"w-100 nui-chart-layout flex-grow-1 p-3\"\n [ngClass]=\"{\n 'prioritize-rows__right': prioritizedGridRows.right,\n 'prioritize-rows__bottom': prioritizedGridRows.bottom,\n 'empty-grid': !(widgetData && widgetData.length > 0 && chartAssist)\n }\"\n>\n <div\n class=\"d-flex chart has-overlay\"\n *ngIf=\"widgetData && widgetData.length > 0 && chartAssist\"\n >\n <nui-chart class=\"w-100\" [chart]=\"chartAssist.chart\"></nui-chart>\n <nui-chart-donut-content\n *ngIf=\"donutContentPlugin\"\n class=\"nui-proportional-widget__chart-donut-content\"\n [plugin]=\"donutContentPlugin\"\n >\n <div\n class=\"h-100 w-100 d-flex justify-content-center align-items-center text-center\"\n >\n <div class=\"d-inline-block\" nuiZoomContent [useZoom]=\"false\">\n <!-- OLD CONFIG HERE -->\n <ng-container\n *ngIf=\"!configuration?.chartOptions?.donutContentConfig\"\n >\n <ng-container\n nuiComponentPortal\n [componentType]=\"\n contentFormatter?.componentType ||\n 'DonutContentRawFormatterComponent'\n \"\n [properties]=\"contentFormatterProperties\"\n #componentPortal2=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal2.portal\"\n (attached)=\"componentPortal2.attached($event)\"\n ></ng-template>\n </ng-container>\n </ng-container>\n\n <!-- NEW CONFIG HERE -->\n <ng-container\n *ngIf=\"configuration?.chartOptions?.donutContentConfig\"\n >\n <nui-proportional-donut-content\n [widgetData]=\"widgetData\"\n [donutConfig]=\"\n configuration?.chartOptions?.donutContentConfig\n \"\n [chartAssist]=\"chartAssist\"\n ></nui-proportional-donut-content>\n </ng-container>\n </div>\n </div>\n </nui-chart-donut-content>\n </div>\n <div\n class=\"w-100 d-flex legend\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'scrollable' : 'legend-bottom'\n ]\"\n *ngIf=\"hasLegend() && chartAssist\"\n >\n <nui-legend\n class=\"w-100 m-auto\"\n [interactive]=\"false\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \"\n >\n <nui-legend-series\n class=\"proportional-chart__legend-series\"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn;\n let i = index\n \"\n [ngClass]=\"\n (prioritizedGridRows.right || prioritizedGridRows.bottom) &&\n 'description-min-width--unset'\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (click)=\"onInteraction(legendSeries)\"\n [class.nui-proportional-widget__legend--interactive]=\"\n interactive\n \"\n >\n <div\n *ngIf=\"\n legendFormatter && legendFormatter.componentType;\n else legendDefaultTile\n \"\n >\n <div description>\n <ng-container\n nuiComponentPortal\n [componentType]=\"legendFormatter.componentType\"\n [properties]=\"{ data: widgetData[i] }\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n </div>\n </div>\n <ng-template #legendDefaultTile>\n <nui-rich-legend-tile\n [value]=\"\n computeLegendTileValue(legendSeries.data[0])\n | nuiDashboardUnitConversion\n \"\n [unitLabel]=\"legendUnitLabel\"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \"\n >\n </nui-rich-legend-tile>\n\n <nui-icon\n legendTransclusion\n *ngIf=\"\n seriesToIconMap && seriesToIconMap[legendSeries.id]\n \"\n class=\"align-items-center\"\n [icon]=\"seriesToIconMap[legendSeries.id]\"\n ></nui-icon>\n\n <div\n description\n class=\"description-container d-flex flex-column nui-text-small justify-content-center\"\n >\n <div\n *ngIf=\"!legendSeries.link\"\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': interactive\n }\"\n >\n {{ legendSeries.name }}\n </div>\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.link\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.name\"\n >\n {{ legendSeries.name }}\n </a>\n </div>\n </ng-template>\n </nui-legend-series>\n </nui-legend>\n </div>\n <div\n *ngIf=\"!widgetData || widgetData.length === 0 || !chartAssist\"\n class=\"mb-3 mt-3 d-flex align-items-center justify-content-center\"\n >\n <nui-image image=\"no-data-to-show\"></nui-image>\n </div>\n</div>\n", styles: [".nui-proportional-widget__chart-donut-content{position:absolute}.nui-proportional-widget__legend--interactive{cursor:pointer!important}.has-overlay{overflow:auto}.nui-chart-layout{grid-template:\"axis-label-left axis-label-right .\" 0fr \"chart chart legend\" minmax(60%,auto) \"axis-label-bottom axis-label-bottom .\" 0fr \"legend-bottom legend-bottom .\" minmax(auto,min-content) / 1fr 1fr auto}.nui-chart-layout .legend-bottom{overflow:auto;align-self:auto;padding-left:0}.prioritize-rows__right .nui-legend-series,.prioritize-rows__bottom .nui-legend-series{max-width:unset;width:100%}.prioritize-rows .legend{justify-self:start}.prioritize-rows__right{grid-template:\"chart chart .\" 60% \"legend legend .\" 40%}.prioritize-rows__bottom{grid-template:\"chart chart .\" 60% \"legend-bottom legend-bottom .\" 40%}.empty-grid{grid-template-columns:1fr;grid-template-rows:1fr}.proportional-chart__legend-series .link.description-primary{color:var(--nui-color-text-link,#0079aa)}\n"], components: [{ type: i2.ChartComponent, selector: "nui-chart", inputs: ["chart"] }, { type: i2.ChartDonutContentComponent, selector: "nui-chart-donut-content", inputs: ["plugin"] }, { type: ProportionalDonutContentComponent, selector: "nui-proportional-donut-content", inputs: ["widgetData", "donutConfig", "chartAssist"] }, { type: i2.LegendComponent, selector: "nui-legend", inputs: ["active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { type: i2.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["isSelected", "active", "interactive", "seriesRenderState", "icon", "descriptionPrimary", "descriptionSecondary", "color"], outputs: ["isSelectedChange"] }, { type: i2.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "backgroundColor", "value", "color"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.ImageComponent, selector: "nui-image", inputs: ["width", "height", "image", "description", "float", "margin", "isWatermark", "autoFill"] }], directives: [{ type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.ZoomContentDirective, selector: "[nuiZoomContent]", inputs: ["zoomRatio", "minZoomDifference", "useZoom", "margin", "minScale", "maxZoom", "minZoom", "maxScale", "scaleIN$", "scaleOUT$"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i6.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "nuiDashboardUnitConversion": DashboardUnitConversionPipe } });
|
|
5300
5300
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ProportionalWidgetComponent, decorators: [{
|
|
5301
5301
|
type: Component,
|
|
5302
5302
|
args: [{
|
|
@@ -5937,7 +5937,7 @@ class TableWidgetComponent {
|
|
|
5937
5937
|
}
|
|
5938
5938
|
TableWidgetComponent.lateLoadKey = "TableWidgetComponent";
|
|
5939
5939
|
/** @nocollapse */ TableWidgetComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TableWidgetComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: DATA_SOURCE, optional: true }, { token: WidgetConfigurationService, optional: true }, { token: i0.ChangeDetectorRef }, { token: PizzagnaService }, { token: i3.VirtualViewportManager }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: i3.LoggerService }, { token: SearchFeatureAddonService }, { token: VirtualScrollFeatureAddonService }, { token: TableFormatterRegistryService }], target: i0.ɵɵFactoryTarget.Component });
|
|
5940
|
-
/** @nocollapse */ TableWidgetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: TableWidgetComponent, selector: "nui-table-widget", inputs: { widgetData: "widgetData", componentId: "componentId", configuration: "configuration", dataFields: "dataFields", totalItems: "totalItems", indentFromTop: "indentFromTop", sortable: "sortable", delayedMousePresenceDetectionEnabled: "delayedMousePresenceDetectionEnabled", range: "range", elementClass: "elementClass" }, host: { properties: { "class.table-widget-fullwidth": "true", "class": "this.elementClass" } }, providers: [SearchFeatureAddonService, VirtualScrollFeatureAddonService], viewQueries: [{ propertyName: "table", first: true, predicate: ["widgetTable"], descendants: true }, { propertyName: "vscrollViewport", first: true, predicate: CdkVirtualScrollViewport, descendants: true }, { propertyName: "tableRows", predicate: TableRowComponent, descendants: true, read: ElementRef }], usesOnChanges: true, ngImport: i0, template: "<div\n class=\"h-100 d-flex justify-content-center align-items-center\"\n *ngIf=\"!shouldDisplayTable()\"\n>\n <nui-image image=\"no-data-to-show\"></nui-image>\n</div>\n<!-- h-100 gets added only when there's data to show to prevent an extra scrollbar when the table is empty -->\n<!-- Using invisible class instead of *ngIf as an non-virtual-scroll breakable way to hide the content. -->\n<div\n class=\"nui-table-widget d-flex flex-column\"\n [ngClass]=\"shouldDisplayTable() ? 'h-100' : 'invisible'\"\n>\n <div class=\"mr-2 mb-2 flex-row\" *ngIf=\"isSearchEnabled\">\n <nui-search\n class=\"unlimited-width d-flex justify-content-end flex-grow-1\"\n [value]=\"searchValue\"\n (inputChange)=\"onSearchInputChanged($event)\"\n (cancel)=\"onSearchInputChanged($event)\"\n >\n </nui-search>\n </div>\n <div\n class=\"flex-row h-100 nui-table-widget-container\"\n [nuiDelayedMousePresenceDetection]=\"\n delayedMousePresenceDetectionEnabled\n \"\n [delay]=\"configuration.scrollActivationDelayMs\"\n [mousePresentSubject]=\"mousePresent$\"\n >\n <!-- Note: Using inline style to let tableStickyHeader pick the actual height and update it with header height when it is detached -->\n <cdk-virtual-scroll-viewport\n class=\"calc-height\"\n style=\"height: calc(100% - 2px)\"\n tableStickyHeader\n [itemSize]=\"rowHeight\"\n [ngClass]=\"{\n 'virtual-scroll-disabled':\n (mousePresent$ | async) === false &&\n delayedMousePresenceDetectionEnabled\n }\"\n >\n <table\n class=\"nui-table-widget__main\"\n nui-table\n [reorderable]=\"configuration?.reorderable\"\n [sortable]=\"sortable\"\n [totalItems]=\"totalItems\"\n [dataSource]=\"virtualScrollAddon.visibleItems\"\n [sortedColumn]=\"sortedColumn\"\n (sortOrderChanged)=\"onSortOrderChanged($event)\"\n [trackBy]=\"dataTrackBy\"\n #widgetTable\n >\n <ng-container\n nuiColumnDef=\"{{ column.id }}\"\n *ngFor=\"let column of columns; trackBy: columnTrackBy\"\n >\n <th\n nui-header-cell\n [isColumnSortingDisabled]=\"!column.sortable\"\n *nuiHeaderCellDef\n [style.width.px]=\"columnsWidthMap.get(column.id)\"\n [style.max-width.px]=\"columnsWidthMap.get(column.id)\"\n [style.min-width.px]=\"columnsWidthMap.get(column.id)\"\n [title]=\"column.label\"\n [tooltipText]=\"\n headerTooltipsEnabled ? column.label : undefined\n \"\n [alignment]=\"getColumnAlignment(column)\"\n >\n {{ column.label }}\n </th>\n <ng-container>\n <td\n nui-cell\n *nuiCellDef=\"let element\"\n [style.width.px]=\"columnsWidthMap.get(column.id)\"\n [style.max-width.px]=\"\n columnsWidthMap.get(column.id)\n \"\n [style.min-width.px]=\"\n columnsWidthMap.get(column.id)\n \"\n [alignment]=\"getColumnAlignment(column)\"\n >\n <ng-container\n nuiComponentPortal\n componentId=\"formatter\"\n *ngIf=\"element[column.id] && column.formatter\"\n [componentType]=\"\n column.formatter?.componentType\n \"\n [properties]=\"element[column.id]\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"\n componentPortal.attached($event)\n \"\n ></ng-template>\n </ng-container>\n </td>\n </ng-container>\n </ng-container>\n <tr nui-header-row *nuiHeaderRowDef=\"headers\"></tr>\n <ng-template\n nuiRowDef\n cdkVirtualFor\n let-row\n [nuiRowDefColumns]=\"headers\"\n [cdkVirtualForOf]=\"tableData\"\n [cdkVirtualForTrackBy]=\"dataTrackBy\"\n >\n <tr\n nui-row\n (click)=\"onInteraction(row, $event)\"\n [attr.role]=\"interactive ? 'button' : ''\"\n density=\"tiny\"\n ></tr>\n </ng-template>\n </table>\n </cdk-virtual-scroll-viewport>\n </div>\n</div>\n", styles: [".nui-table-widget{overflow:auto;width:100%}.nui-table-widget .display-contents{display:contents}.nui-table-widget__main{flex:1 1 auto}.nui-table-widget__paginator{margin-top:10px}.nui-table-widget__overflow{overflow-y:auto}.nui-table-widget .nui-table-widget-container .virtual-scroll-disabled.cdk-virtual-scroll-viewport{overflow:hidden!important}:host-context(.mobile) .calc-height{min-height:200px}:host.table-widget-fullwidth{width:calc(100% - 10px)}.invisible{height:0}@-moz-document url-prefix(){.nui-table-widget-container{margin-right:10px}}\n"], components: [{ type: i3.ImageComponent, selector: "nui-image", inputs: ["width", "height", "image", "description", "float", "margin", "isWatermark", "autoFill"] }, { type: i3.SearchComponent, selector: "nui-search", inputs: ["value", "captureFocus", "name", "placeholder"], outputs: ["cancel", "focusChange", "inputChange", "search"] }, { type: i7.CdkVirtualScrollViewport, selector: "cdk-virtual-scroll-viewport", inputs: ["orientation", "appendOnly"], outputs: ["scrolledIndexChange"] }, { type: i3.TableComponent, selector: "nui-table, table[nui-table]", inputs: ["reorderable", "sortable", "resizable", "selectable", "dataSource", "totalItems", "selection", "sortedColumn"], outputs: ["columnsOrderChange", "sortOrderChanged", "selectionChange"], exportAs: ["nuiTable"] }, { type: i3.TableHeaderCellComponent, selector: "nui-header-cell, th[nui-header-cell]", inputs: ["isColumnSortingDisabled", "alignment", "tooltipText"] }, { type: i3.TableHeaderRowComponent, selector: "nui-header-row, tr[nui-header-row]", inputs: ["density"], exportAs: ["nuiHeaderRow"] }, { type: i3.TableRowComponent, selector: "nui-row, tr[nui-row]", inputs: ["density", "clickableRow", "clickableRowConfig", "rowObject"], exportAs: ["nuiRow"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: DelayedMousePresenceDetectionDirective, selector: "[nuiDelayedMousePresenceDetection]", inputs: ["nuiDelayedMousePresenceDetection", "mousePresentSubject", "delay"] }, { type: i3.TableStickyHeaderDirective, selector: "cdk-virtual-scroll-viewport[tableStickyHeader]", inputs: ["tableStickyHeader"] }, { type: i7.CdkFixedSizeVirtualScroll, selector: "cdk-virtual-scroll-viewport[itemSize]", inputs: ["itemSize", "minBufferPx", "maxBufferPx"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.TableColumnDefDirective, selector: "[nuiColumnDef]", inputs: ["nuiColumnDef", "type", "columnWidth"] }, { type: i3.TableHeaderCellDefDirective, selector: "[nuiHeaderCellDef]" }, { type: i3.TableCellDefDirective, selector: "[nuiCellDef]" }, { type: i3.TableCellDirective, selector: "nui-cell, td[nui-cell]", inputs: ["tooltipText", "alignment"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { type: i3.TableHeaderRowDefDirective, selector: "[nuiHeaderRowDef]", inputs: ["nuiHeaderRowDef", "nuiHeaderRowDefSticky"] }, { type: i3.TableRowDefDirective, selector: "[nuiRowDef]", inputs: ["nuiRowDefColumns", "nuiRowDefWhen"] }, { type: i7.CdkVirtualForOf, selector: "[cdkVirtualFor][cdkVirtualForOf]", inputs: ["cdkVirtualForOf", "cdkVirtualForTrackBy", "cdkVirtualForTemplate", "cdkVirtualForTemplateCacheSize"] }], pipes: { "async": i4.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5940
|
+
/** @nocollapse */ TableWidgetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: TableWidgetComponent, selector: "nui-table-widget", inputs: { widgetData: "widgetData", componentId: "componentId", configuration: "configuration", dataFields: "dataFields", totalItems: "totalItems", indentFromTop: "indentFromTop", sortable: "sortable", delayedMousePresenceDetectionEnabled: "delayedMousePresenceDetectionEnabled", range: "range", elementClass: "elementClass" }, host: { properties: { "class.table-widget-fullwidth": "true", "class": "this.elementClass" } }, providers: [SearchFeatureAddonService, VirtualScrollFeatureAddonService], viewQueries: [{ propertyName: "table", first: true, predicate: ["widgetTable"], descendants: true }, { propertyName: "vscrollViewport", first: true, predicate: CdkVirtualScrollViewport, descendants: true }, { propertyName: "tableRows", predicate: TableRowComponent, descendants: true, read: ElementRef }], usesOnChanges: true, ngImport: i0, template: "<div\n class=\"h-100 d-flex justify-content-center align-items-center\"\n *ngIf=\"!shouldDisplayTable()\"\n>\n <nui-image image=\"no-data-to-show\"></nui-image>\n</div>\n<!-- h-100 gets added only when there's data to show to prevent an extra scrollbar when the table is empty -->\n<!-- Using invisible class instead of *ngIf as an non-virtual-scroll breakable way to hide the content. -->\n<div\n class=\"nui-table-widget d-flex flex-column\"\n [ngClass]=\"shouldDisplayTable() ? 'h-100' : 'invisible'\"\n>\n <div class=\"mr-2 mb-2 flex-row\" *ngIf=\"isSearchEnabled\">\n <nui-search\n class=\"unlimited-width d-flex justify-content-end flex-grow-1\"\n [value]=\"searchValue\"\n (inputChange)=\"onSearchInputChanged($event)\"\n (cancel)=\"onSearchInputChanged($event)\"\n >\n </nui-search>\n </div>\n <div\n class=\"flex-row h-100 nui-table-widget-container\"\n [nuiDelayedMousePresenceDetection]=\"\n delayedMousePresenceDetectionEnabled\n \"\n [delay]=\"configuration.scrollActivationDelayMs\"\n [mousePresentSubject]=\"mousePresent$\"\n >\n <!-- Note: Using inline style to let tableStickyHeader pick the actual height and update it with header height when it is detached -->\n <cdk-virtual-scroll-viewport\n class=\"calc-height\"\n style=\"height: calc(100% - 2px)\"\n tableStickyHeader\n [itemSize]=\"rowHeight\"\n [ngClass]=\"{\n 'virtual-scroll-disabled':\n (mousePresent$ | async) === false &&\n delayedMousePresenceDetectionEnabled\n }\"\n >\n <table\n class=\"nui-table-widget__main\"\n nui-table\n [reorderable]=\"configuration?.reorderable\"\n [sortable]=\"sortable\"\n [totalItems]=\"totalItems\"\n [dataSource]=\"virtualScrollAddon.visibleItems\"\n [sortedColumn]=\"sortedColumn\"\n (sortOrderChanged)=\"onSortOrderChanged($event)\"\n [trackBy]=\"dataTrackBy\"\n #widgetTable\n >\n <ng-container\n nuiColumnDef=\"{{ column.id }}\"\n *ngFor=\"let column of columns; trackBy: columnTrackBy\"\n >\n <th\n nui-header-cell\n [isColumnSortingDisabled]=\"!column.sortable\"\n *nuiHeaderCellDef\n [style.width.px]=\"columnsWidthMap.get(column.id)\"\n [style.max-width.px]=\"columnsWidthMap.get(column.id)\"\n [style.min-width.px]=\"columnsWidthMap.get(column.id)\"\n [title]=\"column.label\"\n [tooltipText]=\"\n headerTooltipsEnabled ? column.label : undefined\n \"\n [alignment]=\"getColumnAlignment(column)\"\n >\n {{ column.label }}\n </th>\n <ng-container>\n <td\n nui-cell\n *nuiCellDef=\"let element\"\n [style.width.px]=\"columnsWidthMap.get(column.id)\"\n [style.max-width.px]=\"\n columnsWidthMap.get(column.id)\n \"\n [style.min-width.px]=\"\n columnsWidthMap.get(column.id)\n \"\n [alignment]=\"getColumnAlignment(column)\"\n >\n <ng-container\n nuiComponentPortal\n componentId=\"formatter\"\n *ngIf=\"element[column.id] && column.formatter\"\n [componentType]=\"\n column.formatter?.componentType\n \"\n [properties]=\"element[column.id]\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"\n componentPortal.attached($event)\n \"\n ></ng-template>\n </ng-container>\n </td>\n </ng-container>\n </ng-container>\n <tr nui-header-row *nuiHeaderRowDef=\"headers\"></tr>\n <ng-template\n nuiRowDef\n cdkVirtualFor\n let-row\n [nuiRowDefColumns]=\"headers\"\n [cdkVirtualForOf]=\"tableData\"\n [cdkVirtualForTrackBy]=\"dataTrackBy\"\n >\n <tr\n nui-row\n (click)=\"onInteraction(row, $event)\"\n [attr.role]=\"interactive ? 'button' : ''\"\n density=\"tiny\"\n ></tr>\n </ng-template>\n </table>\n </cdk-virtual-scroll-viewport>\n </div>\n</div>\n", styles: [".nui-table-widget{overflow:auto;width:100%}.nui-table-widget .display-contents{display:contents}.nui-table-widget__main{flex:1 1 auto}.nui-table-widget__paginator{margin-top:10px}.nui-table-widget__overflow{overflow-y:auto}.nui-table-widget .nui-table-widget-container .virtual-scroll-disabled.cdk-virtual-scroll-viewport{overflow:hidden!important}:host-context(.mobile) .calc-height{min-height:200px}:host.table-widget-fullwidth{width:calc(100% - 10px)}.invisible{height:0}@-moz-document url-prefix(){.nui-table-widget-container{margin-right:10px}}\n"], components: [{ type: i3.ImageComponent, selector: "nui-image", inputs: ["width", "height", "image", "description", "float", "margin", "isWatermark", "autoFill"] }, { type: i3.SearchComponent, selector: "nui-search", inputs: ["value", "captureFocus", "name", "placeholder"], outputs: ["cancel", "focusChange", "inputChange", "search"] }, { type: i7.CdkVirtualScrollViewport, selector: "cdk-virtual-scroll-viewport", inputs: ["orientation", "appendOnly"], outputs: ["scrolledIndexChange"] }, { type: i3.TableComponent, selector: "nui-table, table[nui-table]", inputs: ["reorderable", "sortable", "resizable", "selectable", "dataSource", "totalItems", "selection", "sortedColumn"], outputs: ["columnsOrderChange", "sortOrderChanged", "selectionChange"], exportAs: ["nuiTable"] }, { type: i3.TableHeaderCellComponent, selector: "nui-header-cell, th[nui-header-cell]", inputs: ["isColumnSortingDisabled", "alignment", "tooltipText"] }, { type: i3.TableHeaderRowComponent, selector: "nui-header-row, tr[nui-header-row]", inputs: ["density"], exportAs: ["nuiHeaderRow"] }, { type: i3.TableRowComponent, selector: "nui-row, tr[nui-row]", inputs: ["density", "clickableRow", "clickableRowConfig", "rowObject"], exportAs: ["nuiRow"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: DelayedMousePresenceDetectionDirective, selector: "[nuiDelayedMousePresenceDetection]", inputs: ["nuiDelayedMousePresenceDetection", "mousePresentSubject", "delay"] }, { type: i3.TableStickyHeaderDirective, selector: "cdk-virtual-scroll-viewport[tableStickyHeader]", inputs: ["tableStickyHeader"] }, { type: i7.CdkFixedSizeVirtualScroll, selector: "cdk-virtual-scroll-viewport[itemSize]", inputs: ["itemSize", "minBufferPx", "maxBufferPx"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.TableColumnDefDirective, selector: "[nuiColumnDef]", inputs: ["nuiColumnDef", "type", "columnWidth"] }, { type: i3.TableHeaderCellDefDirective, selector: "[nuiHeaderCellDef]" }, { type: i3.TableCellDefDirective, selector: "[nuiCellDef]" }, { type: i3.TableCellDirective, selector: "nui-cell, td[nui-cell]", inputs: ["tooltipText", "alignment"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i6.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { type: i3.TableHeaderRowDefDirective, selector: "[nuiHeaderRowDef]", inputs: ["nuiHeaderRowDef", "nuiHeaderRowDefSticky"] }, { type: i3.TableRowDefDirective, selector: "[nuiRowDef]", inputs: ["nuiRowDefColumns", "nuiRowDefWhen"] }, { type: i7.CdkVirtualForOf, selector: "[cdkVirtualFor][cdkVirtualForOf]", inputs: ["cdkVirtualForOf", "cdkVirtualForTrackBy", "cdkVirtualForTemplate", "cdkVirtualForTemplateCacheSize"] }], pipes: { "async": i4.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5941
5941
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TableWidgetComponent, decorators: [{
|
|
5942
5942
|
type: Component,
|
|
5943
5943
|
args: [{
|
|
@@ -6175,6 +6175,17 @@ var TimeseriesChartPreset;
|
|
|
6175
6175
|
TimeseriesChartPreset["StackedBar"] = "stackedBar";
|
|
6176
6176
|
TimeseriesChartPreset["StatusBar"] = "statusBar";
|
|
6177
6177
|
})(TimeseriesChartPreset || (TimeseriesChartPreset = {}));
|
|
6178
|
+
/** Enumeration of timeseries chart types recieved from the backend */
|
|
6179
|
+
var TimeseriesChartTypes;
|
|
6180
|
+
(function (TimeseriesChartTypes) {
|
|
6181
|
+
TimeseriesChartTypes[TimeseriesChartTypes["gauge"] = 1] = "gauge";
|
|
6182
|
+
TimeseriesChartTypes[TimeseriesChartTypes["counter"] = 2] = "counter";
|
|
6183
|
+
TimeseriesChartTypes[TimeseriesChartTypes["event"] = 3] = "event";
|
|
6184
|
+
TimeseriesChartTypes[TimeseriesChartTypes["alert"] = 4] = "alert";
|
|
6185
|
+
TimeseriesChartTypes[TimeseriesChartTypes["state"] = 5] = "state";
|
|
6186
|
+
TimeseriesChartTypes[TimeseriesChartTypes["multi"] = 6] = "multi";
|
|
6187
|
+
TimeseriesChartTypes[TimeseriesChartTypes["dpaWaitTime"] = 7] = "dpaWaitTime";
|
|
6188
|
+
})(TimeseriesChartTypes || (TimeseriesChartTypes = {}));
|
|
6178
6189
|
var TimeseriesTransformer;
|
|
6179
6190
|
(function (TimeseriesTransformer) {
|
|
6180
6191
|
TimeseriesTransformer["None"] = "none";
|
|
@@ -6473,12 +6484,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
6473
6484
|
|
|
6474
6485
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
6475
6486
|
class StatusBarChartComponent extends TimeseriesChartComponent {
|
|
6476
|
-
constructor(iconService, dataSource, timeseriesScalesService, changeDetector, eventBus) {
|
|
6487
|
+
constructor(iconService, dataSource, timeseriesScalesService, changeDetector, eventBus, zoomPluginsSyncService) {
|
|
6477
6488
|
super(timeseriesScalesService, dataSource);
|
|
6478
6489
|
this.iconService = iconService;
|
|
6479
6490
|
this.timeseriesScalesService = timeseriesScalesService;
|
|
6480
6491
|
this.changeDetector = changeDetector;
|
|
6481
6492
|
this.eventBus = eventBus;
|
|
6493
|
+
this.zoomPluginsSyncService = zoomPluginsSyncService;
|
|
6482
6494
|
this.collectionId = uuid("timeseries-status-charts");
|
|
6483
6495
|
this.chartUpdate$ = new Subject();
|
|
6484
6496
|
}
|
|
@@ -6542,8 +6554,9 @@ class StatusBarChartComponent extends TimeseriesChartComponent {
|
|
|
6542
6554
|
if (this.configuration.enableZoom) {
|
|
6543
6555
|
this.chartAssist.sparks.forEach((spark) => {
|
|
6544
6556
|
var _a, _b;
|
|
6545
|
-
if (!((_a = spark === null || spark === void 0 ? void 0 : spark.chart) === null || _a === void 0 ? void 0 : _a.hasPlugin(
|
|
6546
|
-
|
|
6557
|
+
if (!((_a = spark === null || spark === void 0 ? void 0 : spark.chart) === null || _a === void 0 ? void 0 : _a.hasPlugin(TimeseriesZoomPlugin)) &&
|
|
6558
|
+
this.configuration.enableZoom) {
|
|
6559
|
+
(_b = spark === null || spark === void 0 ? void 0 : spark.chart) === null || _b === void 0 ? void 0 : _b.addPlugin(this.zoomPlugin);
|
|
6547
6560
|
}
|
|
6548
6561
|
});
|
|
6549
6562
|
// only need to subscribe to one chart's SET_DOMAIN_EVENT
|
|
@@ -6605,7 +6618,7 @@ class StatusBarChartComponent extends TimeseriesChartComponent {
|
|
|
6605
6618
|
}
|
|
6606
6619
|
}
|
|
6607
6620
|
StatusBarChartComponent.lateLoadKey = "StatusChartComponent";
|
|
6608
|
-
/** @nocollapse */ StatusBarChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: StatusBarChartComponent, deps: [{ token: i3.IconService }, { token: DATA_SOURCE, optional: true }, { token: TimeseriesScalesService }, { token: i0.ChangeDetectorRef }, { token: PIZZAGNA_EVENT_BUS }], target: i0.ɵɵFactoryTarget.Component });
|
|
6621
|
+
/** @nocollapse */ StatusBarChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: StatusBarChartComponent, deps: [{ token: i3.IconService }, { token: DATA_SOURCE, optional: true }, { token: TimeseriesScalesService }, { token: i0.ChangeDetectorRef }, { token: PIZZAGNA_EVENT_BUS }, { token: i2.TimeseriesZoomPluginsSyncService }], target: i0.ɵɵFactoryTarget.Component });
|
|
6609
6622
|
/** @nocollapse */ StatusBarChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: StatusBarChartComponent, selector: "nui-status-bar-chart", usesInheritance: true, ngImport: i0, template: "<div\n *ngIf=\"chartAssist\"\n class=\"status-bar-chart\"\n [class.layout-fixed]=\"configuration.gridConfig?.fixedLayout\"\n>\n <div\n class=\"d-flex\"\n *ngFor=\"let spark of chartAssist.sparks; trackBy: chartAssist.trackByFn\"\n >\n <nui-chart\n class=\"d-flex flex-grow-1\"\n [chart]=\"spark.chart\"\n [nuiChartCollectionId]=\"collectionId\"\n ></nui-chart>\n <div\n class=\"d-flex flex-column pl-2\"\n [class.layout-fixed-legend]=\"configuration.gridConfig?.fixedLayout\"\n *ngIf=\"\n spark.chartSeriesSet?.length > 0 && spark.chartSeriesSet[0];\n let series\n \"\n >\n <nui-legend\n class=\"status-bar-chart__legend\"\n [active]=\"chartAssist.isLegendActive\"\n >\n <nui-legend-series\n [descriptionPrimary]=\"series.legendDescriptionPrimary\"\n [descriptionSecondary]=\"series.legendDescriptionSecondary\"\n >\n <div\n class=\"status-bar-chart__legend__tile d-flex justify-content-center align-items-center\"\n >\n <div\n class=\"w-100 h-100 status-bar-chart__legend__tile__background\"\n [style.background-color]=\"\n getDataPointData(series, 'color')\n \"\n ></div>\n <nui-icon\n *ngIf=\"getDataPointData(series, 'icon'); let icon\"\n class=\"status-bar-chart__legend__tile__icon\"\n [icon]=\"icon\"\n ></nui-icon>\n </div>\n </nui-legend-series>\n </nui-legend>\n </div>\n </div>\n</div>\n", styles: [".status-bar-chart__legend__tile{width:60px;position:relative}.status-bar-chart__legend__tile__background{position:absolute;opacity:.4}.status-bar-chart__legend__tile__icon{position:absolute}.layout-fixed-legend{max-width:250px;min-width:250px;padding-left:8px!important}.layout-fixed-legend nui-legend{margin:0!important;width:100%}\n"], components: [{ type: i2.ChartComponent, selector: "nui-chart", inputs: ["chart"] }, { type: i2.LegendComponent, selector: "nui-legend", inputs: ["active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { type: i2.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["isSelected", "active", "interactive", "seriesRenderState", "icon", "descriptionPrimary", "descriptionSecondary", "color"], outputs: ["isSelectedChange"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }] });
|
|
6610
6623
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: StatusBarChartComponent, decorators: [{
|
|
6611
6624
|
type: Component,
|
|
@@ -6622,7 +6635,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
6622
6635
|
}] }, { type: TimeseriesScalesService }, { type: i0.ChangeDetectorRef }, { type: i3.EventBus, decorators: [{
|
|
6623
6636
|
type: Inject,
|
|
6624
6637
|
args: [PIZZAGNA_EVENT_BUS]
|
|
6625
|
-
}] }]; } });
|
|
6638
|
+
}] }, { type: i2.TimeseriesZoomPluginsSyncService }]; } });
|
|
6626
6639
|
|
|
6627
6640
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
6628
6641
|
function transformDifference(data, hasPercentile) {
|
|
@@ -7158,11 +7171,12 @@ function transformPercentileStd(data, hasPercentile) {
|
|
|
7158
7171
|
|
|
7159
7172
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
7160
7173
|
class XYChartComponent extends TimeseriesChartComponent {
|
|
7161
|
-
constructor(eventBus, dataSource, timeseriesScalesService, changeDetector) {
|
|
7174
|
+
constructor(eventBus, dataSource, timeseriesScalesService, changeDetector, zoomPluginsSyncService) {
|
|
7162
7175
|
super(timeseriesScalesService, dataSource);
|
|
7163
7176
|
this.eventBus = eventBus;
|
|
7164
7177
|
this.timeseriesScalesService = timeseriesScalesService;
|
|
7165
7178
|
this.changeDetector = changeDetector;
|
|
7179
|
+
this.zoomPluginsSyncService = zoomPluginsSyncService;
|
|
7166
7180
|
this.valueAccessorKey = "y";
|
|
7167
7181
|
this.collectionId = "";
|
|
7168
7182
|
this.transformers = new Map([
|
|
@@ -7330,7 +7344,7 @@ class XYChartComponent extends TimeseriesChartComponent {
|
|
|
7330
7344
|
this.configuration.gridConfig.sideMargin;
|
|
7331
7345
|
}
|
|
7332
7346
|
if (this.configuration.enableZoom) {
|
|
7333
|
-
chart.addPlugin(
|
|
7347
|
+
chart.addPlugin(this.zoomPlugin);
|
|
7334
7348
|
}
|
|
7335
7349
|
chart
|
|
7336
7350
|
.getEventBus()
|
|
@@ -7417,7 +7431,7 @@ class XYChartComponent extends TimeseriesChartComponent {
|
|
|
7417
7431
|
this.updateChartData();
|
|
7418
7432
|
}
|
|
7419
7433
|
}
|
|
7420
|
-
/** @nocollapse */ XYChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: XYChartComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: DATA_SOURCE, optional: true }, { token: TimeseriesScalesService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7434
|
+
/** @nocollapse */ XYChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: XYChartComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: DATA_SOURCE, optional: true }, { token: TimeseriesScalesService }, { token: i0.ChangeDetectorRef }, { token: i2.TimeseriesZoomPluginsSyncService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7421
7435
|
/** @nocollapse */ XYChartComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: XYChartComponent });
|
|
7422
7436
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: XYChartComponent, decorators: [{
|
|
7423
7437
|
type: Injectable
|
|
@@ -7429,12 +7443,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
7429
7443
|
}, {
|
|
7430
7444
|
type: Inject,
|
|
7431
7445
|
args: [DATA_SOURCE]
|
|
7432
|
-
}] }, { type: TimeseriesScalesService }, { type: i0.ChangeDetectorRef }]; } });
|
|
7446
|
+
}] }, { type: TimeseriesScalesService }, { type: i0.ChangeDetectorRef }, { type: i2.TimeseriesZoomPluginsSyncService }]; } });
|
|
7433
7447
|
|
|
7434
7448
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
7435
7449
|
class LineChartComponent extends XYChartComponent {
|
|
7436
|
-
constructor(eventBus, dataSource, timeseriesScalesService, changeDetector) {
|
|
7437
|
-
super(eventBus, dataSource, timeseriesScalesService, changeDetector);
|
|
7450
|
+
constructor(eventBus, dataSource, timeseriesScalesService, changeDetector, zoomPluginsSyncService) {
|
|
7451
|
+
super(eventBus, dataSource, timeseriesScalesService, changeDetector, zoomPluginsSyncService);
|
|
7438
7452
|
this.renderer = new LineRenderer();
|
|
7439
7453
|
}
|
|
7440
7454
|
createAccessors(colorProvider) {
|
|
@@ -7449,7 +7463,7 @@ class LineChartComponent extends XYChartComponent {
|
|
|
7449
7463
|
}
|
|
7450
7464
|
}
|
|
7451
7465
|
LineChartComponent.lateLoadKey = "LineChartComponent";
|
|
7452
|
-
/** @nocollapse */ LineChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: LineChartComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: DATA_SOURCE, optional: true }, { token: TimeseriesScalesService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
7466
|
+
/** @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 }, { token: i2.TimeseriesZoomPluginsSyncService }], target: i0.ɵɵFactoryTarget.Component });
|
|
7453
7467
|
/** @nocollapse */ LineChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: LineChartComponent, selector: "nui-line-chart", usesInheritance: true, ngImport: i0, template: "<div\n class=\"nui-chart-layout h-100\"\n [class.layout-fixed]=\"configuration.gridConfig?.fixedLayout\"\n>\n <div\n *ngIf=\"!configuration.gridConfig?.hideYAxisLabel\"\n class=\"axis-label-left nui-text-small\"\n >\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"\n ></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\"\n >\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \"\n >\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n >\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n legendSeries,\n 'y',\n 'tick',\n valueAccessorKey\n )\n \"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \"\n >\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \"\n >\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div description class=\"description-container\">\n <div class=\"description-text nui-text-small\">\n <div\n *ngIf=\"!legendSeries.link\"\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.link\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n <div\n class=\"description description-secondary\"\n *ngIf=\"!legendSeries.secondaryLink\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.secondaryLink\"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n </div>\n <nui-icon\n *ngIf=\"legendSeries.transformer\"\n icon=\"performance\"\n iconColor=\"primary-blue\"\n ></nui-icon>\n <nui-menu\n *ngIf=\"displayLegendMenu()\"\n icon=\"menu\"\n displayStyle=\"action\"\n class=\"legend-menu\"\n [appendToBody]=\"true\"\n >\n <nui-menu-group>\n <nui-menu-action\n i18n\n (actionDone)=\"removeMetric(legendSeries.id)\"\n >Remove</nui-menu-action\n >\n </nui-menu-group>\n <nui-menu-group header=\"Display Transforms\" i18n-header>\n <nui-menu-action\n *ngFor=\"let tr of transformers | nuiMapKeyValue\"\n [class.selected]=\"\n legendSeries.transformer?.name ===\n tr.value.transformer?.name\n \"\n (actionDone)=\"\n transformData(legendSeries.id, tr.key)\n \"\n >\n {{ tr.value.displayName }}\n </nui-menu-action>\n </nui-menu-group>\n </nui-menu>\n </div>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#0079aa)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}.layout-fixed .legend{max-width:250px;min-width:250px;padding-left:8px!important}.layout-fixed .legend nui-legend{margin:0!important;width:100%}.description-container{display:flex;align-items:center;flex-grow:1;padding-right:2px}.description-text{display:flex;flex-direction:column;justify-content:center;overflow:hidden}.legend-menu{opacity:0;display:none;margin-left:auto}nui-legend-series:hover .legend-menu{opacity:1;display:unset}nui-legend-series{width:100%}nui-icon{padding:0 5px}:host::ng-deep nui-legend-series div div:nth-child(2).d-flex{flex-grow:1;overflow:hidden}:host::ng-deep .nui-legend-series .description{min-width:unset}.selected{background-color:#00c4d21a}.selected:hover{background-color:#00c4d233}\n"], components: [{ type: i2.ChartComponent, selector: "nui-chart", inputs: ["chart"] }, { type: i2.LegendComponent, selector: "nui-legend", inputs: ["active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { type: i2.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["isSelected", "active", "interactive", "seriesRenderState", "icon", "descriptionPrimary", "descriptionSecondary", "color"], outputs: ["isSelectedChange"] }, { type: i2.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "backgroundColor", "value", "color"] }, { type: i2.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["maxSize", "marker", "drawLine", "color"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.MenuComponent, selector: "nui-menu", inputs: ["icon", "widthOfPopup", "contextClass", "appendToBody", "ariaLabel", "title", "size", "displayStyle", "isDisabled", "itemsSource"], outputs: ["blurred"] }, { type: i3.MenuGroupComponent, selector: "nui-menu-group", inputs: ["header"] }, { type: i3.MenuActionComponent, selector: "nui-menu-action", inputs: ["icon", "type"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "nuiMapKeyValue": i3.MapKeyValuePipe } });
|
|
7454
7468
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: LineChartComponent, decorators: [{
|
|
7455
7469
|
type: Component,
|
|
@@ -7466,12 +7480,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
7466
7480
|
}, {
|
|
7467
7481
|
type: Inject,
|
|
7468
7482
|
args: [DATA_SOURCE]
|
|
7469
|
-
}] }, { type: TimeseriesScalesService }, { type: i0.ChangeDetectorRef }]; } });
|
|
7483
|
+
}] }, { type: TimeseriesScalesService }, { type: i0.ChangeDetectorRef }, { type: i2.TimeseriesZoomPluginsSyncService }]; } });
|
|
7470
7484
|
|
|
7471
7485
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
7472
7486
|
class StackedAreaChartComponent extends XYChartComponent {
|
|
7473
|
-
constructor(eventBus, dataSource, timeseriesScalesService, changeDetector) {
|
|
7474
|
-
super(eventBus, dataSource, timeseriesScalesService, changeDetector);
|
|
7487
|
+
constructor(eventBus, dataSource, timeseriesScalesService, changeDetector, zoomPluginsSyncService) {
|
|
7488
|
+
super(eventBus, dataSource, timeseriesScalesService, changeDetector, zoomPluginsSyncService);
|
|
7475
7489
|
this.renderer = new AreaRenderer();
|
|
7476
7490
|
this.valueAccessorKey = "y1";
|
|
7477
7491
|
}
|
|
@@ -7492,7 +7506,7 @@ class StackedAreaChartComponent extends XYChartComponent {
|
|
|
7492
7506
|
}
|
|
7493
7507
|
}
|
|
7494
7508
|
StackedAreaChartComponent.lateLoadKey = "StackedAreaChartComponent";
|
|
7495
|
-
/** @nocollapse */ StackedAreaChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: StackedAreaChartComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: DATA_SOURCE, optional: true }, { token: TimeseriesScalesService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
7509
|
+
/** @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 }, { token: i2.TimeseriesZoomPluginsSyncService }], target: i0.ɵɵFactoryTarget.Component });
|
|
7496
7510
|
/** @nocollapse */ StackedAreaChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: StackedAreaChartComponent, selector: "nui-stacked-area-chart", usesInheritance: true, ngImport: i0, template: "<div\n class=\"nui-chart-layout h-100\"\n [class.layout-fixed]=\"configuration.gridConfig?.fixedLayout\"\n>\n <div\n *ngIf=\"!configuration.gridConfig?.hideYAxisLabel\"\n class=\"axis-label-left nui-text-small\"\n >\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"\n ></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\"\n >\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \"\n >\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n >\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n legendSeries,\n 'y',\n 'tick',\n valueAccessorKey\n )\n \"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \"\n >\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \"\n >\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div description class=\"description-container\">\n <div class=\"description-text nui-text-small\">\n <div\n *ngIf=\"!legendSeries.link\"\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.link\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n <div\n class=\"description description-secondary\"\n *ngIf=\"!legendSeries.secondaryLink\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.secondaryLink\"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n </div>\n <nui-icon\n *ngIf=\"legendSeries.transformer\"\n icon=\"performance\"\n iconColor=\"primary-blue\"\n ></nui-icon>\n <nui-menu\n *ngIf=\"displayLegendMenu()\"\n icon=\"menu\"\n displayStyle=\"action\"\n class=\"legend-menu\"\n [appendToBody]=\"true\"\n >\n <nui-menu-group>\n <nui-menu-action\n i18n\n (actionDone)=\"removeMetric(legendSeries.id)\"\n >Remove</nui-menu-action\n >\n </nui-menu-group>\n <nui-menu-group header=\"Display Transforms\" i18n-header>\n <nui-menu-action\n *ngFor=\"let tr of transformers | nuiMapKeyValue\"\n [class.selected]=\"\n legendSeries.transformer?.name ===\n tr.value.transformer?.name\n \"\n (actionDone)=\"\n transformData(legendSeries.id, tr.key)\n \"\n >\n {{ tr.value.displayName }}\n </nui-menu-action>\n </nui-menu-group>\n </nui-menu>\n </div>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#0079aa)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}.layout-fixed .legend{max-width:250px;min-width:250px;padding-left:8px!important}.layout-fixed .legend nui-legend{margin:0!important;width:100%}.description-container{display:flex;align-items:center;flex-grow:1;padding-right:2px}.description-text{display:flex;flex-direction:column;justify-content:center;overflow:hidden}.legend-menu{opacity:0;display:none;margin-left:auto}nui-legend-series:hover .legend-menu{opacity:1;display:unset}nui-legend-series{width:100%}nui-icon{padding:0 5px}:host::ng-deep nui-legend-series div div:nth-child(2).d-flex{flex-grow:1;overflow:hidden}:host::ng-deep .nui-legend-series .description{min-width:unset}.selected{background-color:#00c4d21a}.selected:hover{background-color:#00c4d233}\n"], components: [{ type: i2.ChartComponent, selector: "nui-chart", inputs: ["chart"] }, { type: i2.LegendComponent, selector: "nui-legend", inputs: ["active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { type: i2.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["isSelected", "active", "interactive", "seriesRenderState", "icon", "descriptionPrimary", "descriptionSecondary", "color"], outputs: ["isSelectedChange"] }, { type: i2.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "backgroundColor", "value", "color"] }, { type: i2.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["maxSize", "marker", "drawLine", "color"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.MenuComponent, selector: "nui-menu", inputs: ["icon", "widthOfPopup", "contextClass", "appendToBody", "ariaLabel", "title", "size", "displayStyle", "isDisabled", "itemsSource"], outputs: ["blurred"] }, { type: i3.MenuGroupComponent, selector: "nui-menu-group", inputs: ["header"] }, { type: i3.MenuActionComponent, selector: "nui-menu-action", inputs: ["icon", "type"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "nuiMapKeyValue": i3.MapKeyValuePipe } });
|
|
7497
7511
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: StackedAreaChartComponent, decorators: [{
|
|
7498
7512
|
type: Component,
|
|
@@ -7509,12 +7523,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
7509
7523
|
}, {
|
|
7510
7524
|
type: Inject,
|
|
7511
7525
|
args: [DATA_SOURCE]
|
|
7512
|
-
}] }, { type: TimeseriesScalesService }, { type: i0.ChangeDetectorRef }]; } });
|
|
7526
|
+
}] }, { type: TimeseriesScalesService }, { type: i0.ChangeDetectorRef }, { type: i2.TimeseriesZoomPluginsSyncService }]; } });
|
|
7513
7527
|
|
|
7514
7528
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
7515
7529
|
class StackedBarChartComponent extends XYChartComponent {
|
|
7516
|
-
constructor(eventBus, dataSource, timeseriesScalesService, changeDetector) {
|
|
7517
|
-
super(eventBus, dataSource, timeseriesScalesService, changeDetector);
|
|
7530
|
+
constructor(eventBus, dataSource, timeseriesScalesService, changeDetector, zoomPluginsSyncService) {
|
|
7531
|
+
super(eventBus, dataSource, timeseriesScalesService, changeDetector, zoomPluginsSyncService);
|
|
7518
7532
|
this.valueAccessorKey = "value";
|
|
7519
7533
|
// disable pointer events on bars to ensure the zoom drag target is the mouse interactive area rather than the bars
|
|
7520
7534
|
this.renderer = new BarRenderer({
|
|
@@ -7547,7 +7561,7 @@ class StackedBarChartComponent extends XYChartComponent {
|
|
|
7547
7561
|
}
|
|
7548
7562
|
}
|
|
7549
7563
|
StackedBarChartComponent.lateLoadKey = "StackedBarChartComponent";
|
|
7550
|
-
/** @nocollapse */ StackedBarChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: StackedBarChartComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: DATA_SOURCE, optional: true }, { token: TimeseriesScalesService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
7564
|
+
/** @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 }, { token: i2.TimeseriesZoomPluginsSyncService }], target: i0.ɵɵFactoryTarget.Component });
|
|
7551
7565
|
/** @nocollapse */ StackedBarChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: StackedBarChartComponent, selector: "nui-stacked-bar-chart", usesInheritance: true, ngImport: i0, template: "<div\n class=\"nui-chart-layout h-100\"\n [class.layout-fixed]=\"configuration.gridConfig?.fixedLayout\"\n>\n <div\n *ngIf=\"!configuration.gridConfig?.hideYAxisLabel\"\n class=\"axis-label-left nui-text-small\"\n >\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"\n ></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\"\n >\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \"\n >\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n >\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n legendSeries,\n 'y',\n 'tick',\n valueAccessorKey\n )\n \"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \"\n >\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \"\n >\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div description class=\"description-container\">\n <div class=\"description-text nui-text-small\">\n <div\n *ngIf=\"!legendSeries.link\"\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.link\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n <div\n class=\"description description-secondary\"\n *ngIf=\"!legendSeries.secondaryLink\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.secondaryLink\"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n </div>\n <nui-icon\n *ngIf=\"legendSeries.transformer\"\n icon=\"performance\"\n iconColor=\"primary-blue\"\n ></nui-icon>\n <nui-menu\n *ngIf=\"displayLegendMenu()\"\n icon=\"menu\"\n displayStyle=\"action\"\n class=\"legend-menu\"\n [appendToBody]=\"true\"\n >\n <nui-menu-group>\n <nui-menu-action\n i18n\n (actionDone)=\"removeMetric(legendSeries.id)\"\n >Remove</nui-menu-action\n >\n </nui-menu-group>\n <nui-menu-group header=\"Display Transforms\" i18n-header>\n <nui-menu-action\n *ngFor=\"let tr of transformers | nuiMapKeyValue\"\n [class.selected]=\"\n legendSeries.transformer?.name ===\n tr.value.transformer?.name\n \"\n (actionDone)=\"\n transformData(legendSeries.id, tr.key)\n \"\n >\n {{ tr.value.displayName }}\n </nui-menu-action>\n </nui-menu-group>\n </nui-menu>\n </div>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#0079aa)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}.layout-fixed .legend{max-width:250px;min-width:250px;padding-left:8px!important}.layout-fixed .legend nui-legend{margin:0!important;width:100%}.description-container{display:flex;align-items:center;flex-grow:1;padding-right:2px}.description-text{display:flex;flex-direction:column;justify-content:center;overflow:hidden}.legend-menu{opacity:0;display:none;margin-left:auto}nui-legend-series:hover .legend-menu{opacity:1;display:unset}nui-legend-series{width:100%}nui-icon{padding:0 5px}:host::ng-deep nui-legend-series div div:nth-child(2).d-flex{flex-grow:1;overflow:hidden}:host::ng-deep .nui-legend-series .description{min-width:unset}.selected{background-color:#00c4d21a}.selected:hover{background-color:#00c4d233}\n"], components: [{ type: i2.ChartComponent, selector: "nui-chart", inputs: ["chart"] }, { type: i2.LegendComponent, selector: "nui-legend", inputs: ["active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { type: i2.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["isSelected", "active", "interactive", "seriesRenderState", "icon", "descriptionPrimary", "descriptionSecondary", "color"], outputs: ["isSelectedChange"] }, { type: i2.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "backgroundColor", "value", "color"] }, { type: i2.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["maxSize", "marker", "drawLine", "color"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.MenuComponent, selector: "nui-menu", inputs: ["icon", "widthOfPopup", "contextClass", "appendToBody", "ariaLabel", "title", "size", "displayStyle", "isDisabled", "itemsSource"], outputs: ["blurred"] }, { type: i3.MenuGroupComponent, selector: "nui-menu-group", inputs: ["header"] }, { type: i3.MenuActionComponent, selector: "nui-menu-action", inputs: ["icon", "type"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "nuiMapKeyValue": i3.MapKeyValuePipe } });
|
|
7552
7566
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: StackedBarChartComponent, decorators: [{
|
|
7553
7567
|
type: Component,
|
|
@@ -7564,12 +7578,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
7564
7578
|
}, {
|
|
7565
7579
|
type: Inject,
|
|
7566
7580
|
args: [DATA_SOURCE]
|
|
7567
|
-
}] }, { type: TimeseriesScalesService }, { type: i0.ChangeDetectorRef }]; } });
|
|
7581
|
+
}] }, { type: TimeseriesScalesService }, { type: i0.ChangeDetectorRef }, { type: i2.TimeseriesZoomPluginsSyncService }]; } });
|
|
7568
7582
|
|
|
7569
7583
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
7570
7584
|
class StackedPercentageAreaChartComponent extends XYChartComponent {
|
|
7571
|
-
constructor(eventBus, dataSource, timeseriesScalesService, changeDetector) {
|
|
7572
|
-
super(eventBus, dataSource, timeseriesScalesService, changeDetector);
|
|
7585
|
+
constructor(eventBus, dataSource, timeseriesScalesService, changeDetector, zoomPluginsSyncService) {
|
|
7586
|
+
super(eventBus, dataSource, timeseriesScalesService, changeDetector, zoomPluginsSyncService);
|
|
7573
7587
|
this.renderer = new AreaRenderer();
|
|
7574
7588
|
this.valueAccessorKey = "y1";
|
|
7575
7589
|
}
|
|
@@ -7584,7 +7598,7 @@ class StackedPercentageAreaChartComponent extends XYChartComponent {
|
|
|
7584
7598
|
}
|
|
7585
7599
|
}
|
|
7586
7600
|
StackedPercentageAreaChartComponent.lateLoadKey = "StackedPercentageAreaChartComponent";
|
|
7587
|
-
/** @nocollapse */ StackedPercentageAreaChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: StackedPercentageAreaChartComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: DATA_SOURCE, optional: true }, { token: TimeseriesScalesService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
7601
|
+
/** @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 }, { token: i2.TimeseriesZoomPluginsSyncService }], target: i0.ɵɵFactoryTarget.Component });
|
|
7588
7602
|
/** @nocollapse */ StackedPercentageAreaChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: StackedPercentageAreaChartComponent, selector: "nui-stacked-percentage-area-chart", usesInheritance: true, ngImport: i0, template: "<div\n class=\"nui-chart-layout h-100\"\n [class.layout-fixed]=\"configuration.gridConfig?.fixedLayout\"\n>\n <div\n *ngIf=\"!configuration.gridConfig?.hideYAxisLabel\"\n class=\"axis-label-left nui-text-small\"\n >\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"\n ></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\"\n >\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \"\n >\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n >\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n legendSeries,\n 'y',\n 'tick',\n valueAccessorKey\n )\n \"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \"\n >\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \"\n >\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div description class=\"description-container\">\n <div class=\"description-text nui-text-small\">\n <div\n *ngIf=\"!legendSeries.link\"\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.link\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n <div\n class=\"description description-secondary\"\n *ngIf=\"!legendSeries.secondaryLink\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.secondaryLink\"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n </div>\n <nui-icon\n *ngIf=\"legendSeries.transformer\"\n icon=\"performance\"\n iconColor=\"primary-blue\"\n ></nui-icon>\n <nui-menu\n *ngIf=\"displayLegendMenu()\"\n icon=\"menu\"\n displayStyle=\"action\"\n class=\"legend-menu\"\n [appendToBody]=\"true\"\n >\n <nui-menu-group>\n <nui-menu-action\n i18n\n (actionDone)=\"removeMetric(legendSeries.id)\"\n >Remove</nui-menu-action\n >\n </nui-menu-group>\n <nui-menu-group header=\"Display Transforms\" i18n-header>\n <nui-menu-action\n *ngFor=\"let tr of transformers | nuiMapKeyValue\"\n [class.selected]=\"\n legendSeries.transformer?.name ===\n tr.value.transformer?.name\n \"\n (actionDone)=\"\n transformData(legendSeries.id, tr.key)\n \"\n >\n {{ tr.value.displayName }}\n </nui-menu-action>\n </nui-menu-group>\n </nui-menu>\n </div>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#0079aa)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}.layout-fixed .legend{max-width:250px;min-width:250px;padding-left:8px!important}.layout-fixed .legend nui-legend{margin:0!important;width:100%}.description-container{display:flex;align-items:center;flex-grow:1;padding-right:2px}.description-text{display:flex;flex-direction:column;justify-content:center;overflow:hidden}.legend-menu{opacity:0;display:none;margin-left:auto}nui-legend-series:hover .legend-menu{opacity:1;display:unset}nui-legend-series{width:100%}nui-icon{padding:0 5px}:host::ng-deep nui-legend-series div div:nth-child(2).d-flex{flex-grow:1;overflow:hidden}:host::ng-deep .nui-legend-series .description{min-width:unset}.selected{background-color:#00c4d21a}.selected:hover{background-color:#00c4d233}\n"], components: [{ type: i2.ChartComponent, selector: "nui-chart", inputs: ["chart"] }, { type: i2.LegendComponent, selector: "nui-legend", inputs: ["active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { type: i2.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["isSelected", "active", "interactive", "seriesRenderState", "icon", "descriptionPrimary", "descriptionSecondary", "color"], outputs: ["isSelectedChange"] }, { type: i2.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "backgroundColor", "value", "color"] }, { type: i2.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["maxSize", "marker", "drawLine", "color"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.MenuComponent, selector: "nui-menu", inputs: ["icon", "widthOfPopup", "contextClass", "appendToBody", "ariaLabel", "title", "size", "displayStyle", "isDisabled", "itemsSource"], outputs: ["blurred"] }, { type: i3.MenuGroupComponent, selector: "nui-menu-group", inputs: ["header"] }, { type: i3.MenuActionComponent, selector: "nui-menu-action", inputs: ["icon", "type"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "nuiMapKeyValue": i3.MapKeyValuePipe } });
|
|
7589
7603
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: StackedPercentageAreaChartComponent, decorators: [{
|
|
7590
7604
|
type: Component,
|
|
@@ -7601,7 +7615,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
7601
7615
|
}, {
|
|
7602
7616
|
type: Inject,
|
|
7603
7617
|
args: [DATA_SOURCE]
|
|
7604
|
-
}] }, { type: TimeseriesScalesService }, { type: i0.ChangeDetectorRef }]; } });
|
|
7618
|
+
}] }, { type: TimeseriesScalesService }, { type: i0.ChangeDetectorRef }, { type: i2.TimeseriesZoomPluginsSyncService }]; } });
|
|
7605
7619
|
|
|
7606
7620
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
7607
7621
|
class TimeseriesChartPresetService {
|
|
@@ -7634,13 +7648,141 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
7634
7648
|
}]
|
|
7635
7649
|
}], ctorParameters: function () { return []; } });
|
|
7636
7650
|
|
|
7651
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
7652
|
+
const TIMESERIES_INSPECTION_MENU_ZOOM_IN = {
|
|
7653
|
+
id: "TIMESERIES_INSPECTION_MENU_ZOOM_IN",
|
|
7654
|
+
};
|
|
7655
|
+
const TIMESERIES_INSPECTION_MENU_ZOOM_OUT = {
|
|
7656
|
+
id: "TIMESERIES_INSPECTION_MENU_ZOOM_OUT",
|
|
7657
|
+
};
|
|
7658
|
+
const TIMESERIES_INSPECTION_MENU_EXPLORE = {
|
|
7659
|
+
id: "TIMESERIES_INSPECTION_MENU_EXPLORE",
|
|
7660
|
+
};
|
|
7661
|
+
const TIMESERIES_INSPECTION_MENU_CLOSE = {
|
|
7662
|
+
id: "TIMESERIES_INSPECTION_MENU_CLOSE",
|
|
7663
|
+
};
|
|
7664
|
+
const TIMESERIES_INSPECTION_MENU_SYNCHRONIZE = {
|
|
7665
|
+
id: "TIMESERIES_INSPECTION_MENU_SYNCHRONIZE",
|
|
7666
|
+
};
|
|
7667
|
+
class TimeseriesInspectionMenuComponent {
|
|
7668
|
+
constructor(element, eventBus, syncService) {
|
|
7669
|
+
this.element = element;
|
|
7670
|
+
this.eventBus = eventBus;
|
|
7671
|
+
this.syncService = syncService;
|
|
7672
|
+
this.exploringEnabled = false;
|
|
7673
|
+
this.allowed = false;
|
|
7674
|
+
this.offset = 38;
|
|
7675
|
+
this.destroy$ = new Subject();
|
|
7676
|
+
}
|
|
7677
|
+
ngOnInit() {
|
|
7678
|
+
var _a;
|
|
7679
|
+
this.plugin.zoomCreated$.subscribe(() => this.explore(false));
|
|
7680
|
+
this.eventBus
|
|
7681
|
+
.getStream(TIMESERIES_INSPECTION_MENU_SYNCHRONIZE)
|
|
7682
|
+
.subscribe(() => {
|
|
7683
|
+
var _a;
|
|
7684
|
+
const { startDate, endDate } = this.plugin.getInspectionFrame();
|
|
7685
|
+
if (startDate && endDate) {
|
|
7686
|
+
this.syncService.syncPositionInsideCollection((_a = this.collectionId) !== null && _a !== void 0 ? _a : "", startDate, endDate);
|
|
7687
|
+
}
|
|
7688
|
+
});
|
|
7689
|
+
(_a = this.plugin) === null || _a === void 0 ? void 0 : _a.openPopover$.pipe(takeUntil(this.destroy$)).subscribe((x) => {
|
|
7690
|
+
// moves element to the correct position
|
|
7691
|
+
this.element.nativeElement.style.left = this.offset + x + "px";
|
|
7692
|
+
});
|
|
7693
|
+
}
|
|
7694
|
+
ngOnChanges(changes) {
|
|
7695
|
+
var _a;
|
|
7696
|
+
if ((_a = changes.allowed) === null || _a === void 0 ? void 0 : _a.currentValue) {
|
|
7697
|
+
this.plugin.showPopover();
|
|
7698
|
+
}
|
|
7699
|
+
else {
|
|
7700
|
+
this.plugin.closePopover();
|
|
7701
|
+
}
|
|
7702
|
+
}
|
|
7703
|
+
ngOnDestroy() {
|
|
7704
|
+
this.destroy$.next();
|
|
7705
|
+
this.destroy$.complete();
|
|
7706
|
+
}
|
|
7707
|
+
clearZoom() {
|
|
7708
|
+
var _a;
|
|
7709
|
+
this.syncService.clearZoomInsideCollection((_a = this.collectionId) !== null && _a !== void 0 ? _a : "");
|
|
7710
|
+
this.eventBus.next(TIMESERIES_INSPECTION_MENU_CLOSE);
|
|
7711
|
+
}
|
|
7712
|
+
isZoomInAllowed() {
|
|
7713
|
+
const { startDate, endDate } = this.plugin.getInspectionFrame();
|
|
7714
|
+
if (!startDate || !endDate) {
|
|
7715
|
+
return true;
|
|
7716
|
+
}
|
|
7717
|
+
// doesn't allow zoom for timeframe smaller than 10 minutes
|
|
7718
|
+
return endDate.diff(startDate, "minutes") > 10;
|
|
7719
|
+
}
|
|
7720
|
+
zoomIn() {
|
|
7721
|
+
var _a;
|
|
7722
|
+
const inspectionTimeframe = this.plugin.getInspectionFrame();
|
|
7723
|
+
this.eventBus.next(TIMESERIES_INSPECTION_MENU_ZOOM_IN, {
|
|
7724
|
+
payload: inspectionTimeframe,
|
|
7725
|
+
});
|
|
7726
|
+
this.syncService.clearZoomInsideCollection((_a = this.collectionId) !== null && _a !== void 0 ? _a : "");
|
|
7727
|
+
}
|
|
7728
|
+
zoomOut() {
|
|
7729
|
+
const inspectionTimeframe = this.plugin.getInspectionFrame();
|
|
7730
|
+
this.eventBus.next(TIMESERIES_INSPECTION_MENU_ZOOM_OUT, {
|
|
7731
|
+
payload: inspectionTimeframe,
|
|
7732
|
+
});
|
|
7733
|
+
setTimeout(() => {
|
|
7734
|
+
this.plugin.closePopover();
|
|
7735
|
+
});
|
|
7736
|
+
}
|
|
7737
|
+
explore(openSidePanel = false) {
|
|
7738
|
+
const inspectionTimeframe = this.plugin.getInspectionFrame();
|
|
7739
|
+
this.eventBus.next(TIMESERIES_INSPECTION_MENU_EXPLORE, {
|
|
7740
|
+
payload: {
|
|
7741
|
+
ids: this.metricIds,
|
|
7742
|
+
startDate: inspectionTimeframe.startDate,
|
|
7743
|
+
endDate: inspectionTimeframe.endDate,
|
|
7744
|
+
openSidePanel,
|
|
7745
|
+
exploringEnabled: this.exploringEnabled,
|
|
7746
|
+
},
|
|
7747
|
+
});
|
|
7748
|
+
}
|
|
7749
|
+
}
|
|
7750
|
+
/** @nocollapse */ TimeseriesInspectionMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TimeseriesInspectionMenuComponent, deps: [{ token: i0.ElementRef }, { token: PIZZAGNA_EVENT_BUS }, { token: i2.TimeseriesZoomPluginsSyncService }], target: i0.ɵɵFactoryTarget.Component });
|
|
7751
|
+
/** @nocollapse */ TimeseriesInspectionMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: TimeseriesInspectionMenuComponent, selector: "nui-timeseries-inspection-menu", inputs: { plugin: "plugin", exploringEnabled: "exploringEnabled", metricIds: "metricIds", collectionId: "collectionId", allowed: "allowed" }, usesOnChanges: true, ngImport: i0, template: "<nui-popover\n class=\"popover\"\n trigger=\"openPopoverSubject\"\n placement=\"right\"\n [unlimited]=\"true\"\n [template]=\"popoverTemplate\"\n [container]=\"element.nativeElement\"\n [openPopover]=\"plugin.openPopover$\"\n [closePopover]=\"plugin.closePopover$\"\n [hasPadding]=\"false\"\n [withGrowAfterOpen]=\"true\"\n>\n</nui-popover>\n\n<ng-template #popoverTemplate>\n <div class=\"inspection-menu\">\n <button\n *ngIf=\"exploringEnabled\"\n nui-button\n type=\"button\"\n icon=\"details\"\n title=\"Inspect selection in the data explorer\"\n i18n-title\n (click)=\"explore(true)\"\n ></button>\n <button\n *ngIf=\"isZoomInAllowed()\"\n nui-button\n type=\"button\"\n icon=\"zoom-in\"\n title=\"Zoom In\"\n i18n-title\n (click)=\"zoomIn()\"\n ></button>\n <button\n nui-button\n type=\"button\"\n icon=\"zoom-out\"\n title=\"Zoom Out\"\n i18n-title\n (click)=\"zoomOut()\"\n ></button>\n <button\n nui-button\n type=\"button\"\n icon=\"remove\"\n title=\"Clear selection\"\n i18n-title\n (click)=\"clearZoom()\"\n ></button>\n </div>\n</ng-template>\n", styles: [":host{position:absolute;top:5px}.popover{position:absolute;pointer-events:none}:host ::ng-deep nui-overlay-arrow{display:none!important}.inspection-menu{display:flex;flex-direction:column;align-items:center;justify-content:center}.inspection-menu ::ng-deep button{border:0}.inspection-menu ::ng-deep .nui-button.is-empty{min-width:25px!important;min-height:25px!important}\n"], components: [{ type: i3.PopoverComponent, selector: "nui-popover", inputs: ["disabled", "trigger", "placement", "modal", "hasPadding", "preventClosing", "unlimited", "delay", "withGrowAfterOpen", "closePopover", "openPopover", "template", "popoverTitle", "icon", "container", "popoverOverlayPosition"], outputs: ["shown", "hidden"] }, { 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"] }] });
|
|
7752
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TimeseriesInspectionMenuComponent, decorators: [{
|
|
7753
|
+
type: Component,
|
|
7754
|
+
args: [{
|
|
7755
|
+
selector: "nui-timeseries-inspection-menu",
|
|
7756
|
+
templateUrl: "./timeseries-inspection-menu.component.html",
|
|
7757
|
+
styleUrls: ["./timeseries-inspection-menu.component.less"],
|
|
7758
|
+
}]
|
|
7759
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i3.EventBus, decorators: [{
|
|
7760
|
+
type: Inject,
|
|
7761
|
+
args: [PIZZAGNA_EVENT_BUS]
|
|
7762
|
+
}] }, { type: i2.TimeseriesZoomPluginsSyncService }]; }, propDecorators: { plugin: [{
|
|
7763
|
+
type: Input
|
|
7764
|
+
}], exploringEnabled: [{
|
|
7765
|
+
type: Input
|
|
7766
|
+
}], metricIds: [{
|
|
7767
|
+
type: Input
|
|
7768
|
+
}], collectionId: [{
|
|
7769
|
+
type: Input
|
|
7770
|
+
}], allowed: [{
|
|
7771
|
+
type: Input
|
|
7772
|
+
}] } });
|
|
7773
|
+
|
|
7637
7774
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
7638
7775
|
/** @ignore */
|
|
7639
7776
|
class TimeseriesWidgetComponent {
|
|
7640
|
-
constructor(timeseriesChartPresetService, changeDetector) {
|
|
7777
|
+
constructor(timeseriesChartPresetService, changeDetector, zoomPluginsSyncService) {
|
|
7641
7778
|
this.timeseriesChartPresetService = timeseriesChartPresetService;
|
|
7642
7779
|
this.changeDetector = changeDetector;
|
|
7780
|
+
this.zoomPluginsSyncService = zoomPluginsSyncService;
|
|
7643
7781
|
this.elementClass = "";
|
|
7782
|
+
this.allowPopover = false;
|
|
7783
|
+
}
|
|
7784
|
+
ngOnInit() {
|
|
7785
|
+
this.zoomPlugin = new TimeseriesZoomPlugin({ collectionId: this.collectionId }, this.zoomPluginsSyncService);
|
|
7644
7786
|
}
|
|
7645
7787
|
ngOnChanges(changes) {
|
|
7646
7788
|
var _a, _b;
|
|
@@ -7658,10 +7800,22 @@ class TimeseriesWidgetComponent {
|
|
|
7658
7800
|
var _a, _b, _c;
|
|
7659
7801
|
return ((_c = (_b = (_a = this.widgetData) === null || _a === void 0 ? void 0 : _a.series) === null || _b === void 0 ? void 0 : _b.length) !== null && _c !== void 0 ? _c : 0) > 0;
|
|
7660
7802
|
}
|
|
7803
|
+
toggleLeave() {
|
|
7804
|
+
this.allowPopover = false;
|
|
7805
|
+
}
|
|
7806
|
+
toggleEnter() {
|
|
7807
|
+
this.allowPopover = true;
|
|
7808
|
+
}
|
|
7809
|
+
isExploringEnabled() {
|
|
7810
|
+
var _a, _b, _c;
|
|
7811
|
+
return (((_a = this.configuration) === null || _a === void 0 ? void 0 : _a.type) !== TimeseriesChartTypes.gauge &&
|
|
7812
|
+
((_b = this.configuration) === null || _b === void 0 ? void 0 : _b.type) !== TimeseriesChartTypes.multi &&
|
|
7813
|
+
((_c = this.configuration) === null || _c === void 0 ? void 0 : _c.type) !== TimeseriesChartTypes.state);
|
|
7814
|
+
}
|
|
7661
7815
|
}
|
|
7662
7816
|
TimeseriesWidgetComponent.lateLoadKey = "TimeseriesWidgetComponent";
|
|
7663
|
-
/** @nocollapse */ TimeseriesWidgetComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TimeseriesWidgetComponent, deps: [{ token: TimeseriesChartPresetService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
7664
|
-
/** @nocollapse */ TimeseriesWidgetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: TimeseriesWidgetComponent, selector: "nui-timeseries-widget", inputs: { widgetData: "widgetData", configuration: "configuration", collectionId: "collectionId", elementClass: "elementClass" }, host: { properties: { "class": "this.elementClass" } }, usesOnChanges: true, ngImport: i0, template: "<div
|
|
7817
|
+
/** @nocollapse */ TimeseriesWidgetComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TimeseriesWidgetComponent, deps: [{ token: TimeseriesChartPresetService }, { token: i0.ChangeDetectorRef }, { token: i2.TimeseriesZoomPluginsSyncService }], target: i0.ɵɵFactoryTarget.Component });
|
|
7818
|
+
/** @nocollapse */ TimeseriesWidgetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: TimeseriesWidgetComponent, selector: "nui-timeseries-widget", inputs: { widgetData: "widgetData", configuration: "configuration", collectionId: "collectionId", elementClass: "elementClass" }, host: { properties: { "class": "this.elementClass" } }, usesOnChanges: true, ngImport: i0, template: "<div\n class=\"h-100 timeseries-widget-content\"\n *ngIf=\"shouldShowChart()\"\n (mouseleave)=\"toggleLeave()\"\n (mouseenter)=\"toggleEnter()\"\n>\n <ng-container\n nuiComponentPortal\n componentId=\"timeseriesWidgetChart\"\n [componentType]=\"chartPreset.componentType\"\n [properties]=\"{\n widgetData: widgetData,\n configuration: configuration,\n collectionId: collectionId || configuration?.collectionId,\n zoomPlugin: zoomPlugin\n }\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n >\n </ng-template>\n </ng-container>\n <nui-timeseries-inspection-menu\n [allowed]=\"allowPopover\"\n [plugin]=\"zoomPlugin\"\n [collectionId]=\"collectionId\"\n [exploringEnabled]=\"isExploringEnabled()\"\n [metricIds]=\"configuration?.metricIds\"\n ></nui-timeseries-inspection-menu>\n</div>\n<div *ngIf=\"!shouldShowChart()\">\n <nui-image image=\"no-data-to-show\"></nui-image>\n</div>\n", styles: [".timeseries-widget-content{padding:10px;position:relative}\n"], components: [{ type: TimeseriesInspectionMenuComponent, selector: "nui-timeseries-inspection-menu", inputs: ["plugin", "exploringEnabled", "metricIds", "collectionId", "allowed"] }, { type: i3.ImageComponent, selector: "nui-image", inputs: ["width", "height", "image", "description", "float", "margin", "isWatermark", "autoFill"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i6.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }] });
|
|
7665
7819
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TimeseriesWidgetComponent, decorators: [{
|
|
7666
7820
|
type: Component,
|
|
7667
7821
|
args: [{
|
|
@@ -7669,7 +7823,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
7669
7823
|
styleUrls: ["./timeseries-widget.component.less"],
|
|
7670
7824
|
templateUrl: "./timeseries-widget.component.html",
|
|
7671
7825
|
}]
|
|
7672
|
-
}], ctorParameters: function () { return [{ type: TimeseriesChartPresetService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { widgetData: [{
|
|
7826
|
+
}], ctorParameters: function () { return [{ type: TimeseriesChartPresetService }, { type: i0.ChangeDetectorRef }, { type: i2.TimeseriesZoomPluginsSyncService }]; }, propDecorators: { widgetData: [{
|
|
7673
7827
|
type: Input
|
|
7674
7828
|
}], configuration: [{
|
|
7675
7829
|
type: Input
|
|
@@ -7832,7 +7986,7 @@ class WidgetBodyContentComponent extends BaseLayout {
|
|
|
7832
7986
|
}
|
|
7833
7987
|
WidgetBodyContentComponent.lateLoadKey = "WidgetBodyContentComponent";
|
|
7834
7988
|
/** @nocollapse */ WidgetBodyContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: WidgetBodyContentComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: PizzagnaService }, { token: i3.LoggerService }], target: i0.ɵɵFactoryTarget.Component });
|
|
7835
|
-
/** @nocollapse */ WidgetBodyContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: WidgetBodyContentComponent, selector: "nui-widget-body-content", inputs: { componentId: "componentId", primaryContent: "primaryContent", fallbackKey: "fallbackKey", fallbackMap: "fallbackMap", elementClass: "elementClass" }, host: { properties: { "class": "this.classNames" } }, usesInheritance: true, ngImport: i0, template: "<div\n class=\"h-100\"\n [ngClass]=\"{ 'd-none': fallbackKey, 'd-flex': !fallbackKey }\"\n>\n <ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n [componentId]=\"nodeConfigs[0].id\"\n [componentType]=\"nodeConfigs[0].componentType\"\n [providers]=\"nodeConfigs[0].providers\"\n [properties]=\"nodeConfigs[0].properties\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n</div>\n<div class=\"d-flex h-100\" *ngIf=\"fallbackKey\">\n <ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n [componentId]=\"nodeConfigs[1].id\"\n [componentType]=\"nodeConfigs[1].componentType\"\n [providers]=\"nodeConfigs[1].providers\"\n [properties]=\"nodeConfigs[1].properties\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n</div>\n", directives: [{ type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type:
|
|
7989
|
+
/** @nocollapse */ WidgetBodyContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: WidgetBodyContentComponent, selector: "nui-widget-body-content", inputs: { componentId: "componentId", primaryContent: "primaryContent", fallbackKey: "fallbackKey", fallbackMap: "fallbackMap", elementClass: "elementClass" }, host: { properties: { "class": "this.classNames" } }, usesInheritance: true, ngImport: i0, template: "<div\n class=\"h-100\"\n [ngClass]=\"{ 'd-none': fallbackKey, 'd-flex': !fallbackKey }\"\n>\n <ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n [componentId]=\"nodeConfigs[0].id\"\n [componentType]=\"nodeConfigs[0].componentType\"\n [providers]=\"nodeConfigs[0].providers\"\n [properties]=\"nodeConfigs[0].properties\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n</div>\n<div class=\"d-flex h-100\" *ngIf=\"fallbackKey\">\n <ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n [componentId]=\"nodeConfigs[1].id\"\n [componentType]=\"nodeConfigs[1].componentType\"\n [providers]=\"nodeConfigs[1].providers\"\n [properties]=\"nodeConfigs[1].properties\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n</div>\n", directives: [{ type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i6.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
7836
7990
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: WidgetBodyContentComponent, decorators: [{
|
|
7837
7991
|
type: Component,
|
|
7838
7992
|
args: [{
|
|
@@ -7890,7 +8044,7 @@ class WidgetBodyComponent extends BaseLayout {
|
|
|
7890
8044
|
}
|
|
7891
8045
|
WidgetBodyComponent.lateLoadKey = "WidgetBodyComponent";
|
|
7892
8046
|
/** @nocollapse */ WidgetBodyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: WidgetBodyComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: i0.ChangeDetectorRef }, { token: PizzagnaService }, { token: i3.LoggerService }], target: i0.ɵɵFactoryTarget.Component });
|
|
7893
|
-
/** @nocollapse */ WidgetBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: WidgetBodyComponent, selector: "nui-widget-body", inputs: { componentId: "componentId", editMode: "editMode", content: "content", elementClass: "elementClass" }, host: { properties: { "class": "this.classNames" } }, usesInheritance: true, ngImport: i0, template: "<nui-preview-overlay *ngIf=\"editMode\"></nui-preview-overlay>\n<ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n [componentId]=\"nodeConfigs[0].id\"\n [componentType]=\"nodeConfigs[0].componentType\"\n [providers]=\"nodeConfigs[0].providers\"\n [properties]=\"nodeConfigs[0].properties\"\n>\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n</ng-container>\n", styles: [":host{position:relative}\n"], components: [{ type: PreviewOverlayComponent, selector: "nui-preview-overlay" }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type:
|
|
8047
|
+
/** @nocollapse */ WidgetBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: WidgetBodyComponent, selector: "nui-widget-body", inputs: { componentId: "componentId", editMode: "editMode", content: "content", elementClass: "elementClass" }, host: { properties: { "class": "this.classNames" } }, usesInheritance: true, ngImport: i0, template: "<nui-preview-overlay *ngIf=\"editMode\"></nui-preview-overlay>\n<ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n [componentId]=\"nodeConfigs[0].id\"\n [componentType]=\"nodeConfigs[0].componentType\"\n [providers]=\"nodeConfigs[0].providers\"\n [properties]=\"nodeConfigs[0].properties\"\n>\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n</ng-container>\n", styles: [":host{position:relative}\n"], components: [{ type: PreviewOverlayComponent, selector: "nui-preview-overlay" }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i6.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }] });
|
|
7894
8048
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: WidgetBodyComponent, decorators: [{
|
|
7895
8049
|
type: Component,
|
|
7896
8050
|
args: [{
|
|
@@ -8545,7 +8699,7 @@ ConfiguratorComponent.lateLoadKey = "ConfiguratorComponent";
|
|
|
8545
8699
|
provide: OVERLAY_CONTAINER,
|
|
8546
8700
|
useValue: ".nui-dashwiz-step--active .configurator-scrollable",
|
|
8547
8701
|
},
|
|
8548
|
-
], viewQueries: [{ propertyName: "previewPizzagnaComponent", first: true, predicate: ["previewPizzagnaComponent"], descendants: true, static: true }], ngImport: i0, template: "<div class=\"nui-configurator__backdrop\"></div>\n<div class=\"nui-configurator__content\">\n <nui-panel\n orientation=\"right\"\n paneSize=\"30vw\"\n paneMinSize=\"20vw\"\n paneMaxSize=\"80vw\"\n isResizable=\"true\"\n class=\"h-100\"\n [headerPadding]=\"false\"\n [sidePaneBodyPadding]=\"false\"\n >\n <div\n class=\"nui-configurator__preview d-flex align-items-center justify-content-center\"\n >\n <div class=\"nui-configurator__preview-area\">\n <nui-preview-overlay></nui-preview-overlay>\n <nui-pizzagna\n *ngIf=\"previewWidget?.pizzagna\"\n #previewPizzagnaComponent\n class=\"flex-grow-1 w-100\"\n [rootNode]=\"previewWidget | nuiPizzagnaRoot: 'widget'\"\n [pizzagna]=\"previewWidget?.pizzagna\"\n (pizzagnaChange)=\"onPizzagnaChange($event)\"\n >\n </nui-pizzagna>\n </div>\n </div>\n <div nuiPanelEmbeddedBody class=\"nui-configurator__body\">\n <ng-container\n [cdkPortalOutlet]=\"formPortal\"\n (attached)=\"onFormPortalAttached($event)\"\n ></ng-container>\n </div>\n </nui-panel>\n</div>\n", styles: [".nui-configurator__backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:var(--nui-color-overlay-modal,rgba(17, 17, 17, .5));opacity:.5;filter:alpha(opacity=50)}.nui-configurator__content{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040}.nui-configurator__heading{width:100%;display:flex;justify-content:space-between;align-items:center;padding:15px;border-bottom:1px solid #d9d9d9}.nui-configurator__body{overflow-anchor:none;height:100vh}.nui-configurator__preview{height:100vh}.nui-configurator__preview-area{display:flex;width:80%;position:relative;background-color:var(--nui-color-bg-content_popover,#fff);border:1px solid;border-color:var(--nui-color-line-default,#d9d9d9);margin:auto;min-height:40vh;max-height:80vh;overflow:hidden}\n"], components: [{ type: i3.PanelComponent, selector: "nui-panel", inputs: ["panelMode", "displacePrimaryContent", "orientation", "isResizable", "headerPadding", "sidePaneBodyPadding", "darkBorder", "panelBackgroundColor", "isCollapsed", "isHidden", "paneSize", "paneCollapsedSize", "paneMinSize", "paneMaxSize", "heading"], outputs: ["collapsed", "hidden"] }, { type: PreviewOverlayComponent, selector: "nui-preview-overlay" }, { type: PizzagnaComponent, selector: "nui-pizzagna", inputs: ["rootNode", "pizzagna", "outputs"], outputs: ["pizzagnaChange", "output"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type:
|
|
8702
|
+
], viewQueries: [{ propertyName: "previewPizzagnaComponent", first: true, predicate: ["previewPizzagnaComponent"], descendants: true, static: true }], ngImport: i0, template: "<div class=\"nui-configurator__backdrop\"></div>\n<div class=\"nui-configurator__content\">\n <nui-panel\n orientation=\"right\"\n paneSize=\"30vw\"\n paneMinSize=\"20vw\"\n paneMaxSize=\"80vw\"\n isResizable=\"true\"\n class=\"h-100\"\n [headerPadding]=\"false\"\n [sidePaneBodyPadding]=\"false\"\n >\n <div\n class=\"nui-configurator__preview d-flex align-items-center justify-content-center\"\n >\n <div class=\"nui-configurator__preview-area\">\n <nui-preview-overlay></nui-preview-overlay>\n <nui-pizzagna\n *ngIf=\"previewWidget?.pizzagna\"\n #previewPizzagnaComponent\n class=\"flex-grow-1 w-100\"\n [rootNode]=\"previewWidget | nuiPizzagnaRoot: 'widget'\"\n [pizzagna]=\"previewWidget?.pizzagna\"\n (pizzagnaChange)=\"onPizzagnaChange($event)\"\n >\n </nui-pizzagna>\n </div>\n </div>\n <div nuiPanelEmbeddedBody class=\"nui-configurator__body\">\n <ng-container\n [cdkPortalOutlet]=\"formPortal\"\n (attached)=\"onFormPortalAttached($event)\"\n ></ng-container>\n </div>\n </nui-panel>\n</div>\n", styles: [".nui-configurator__backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:var(--nui-color-overlay-modal,rgba(17, 17, 17, .5));opacity:.5;filter:alpha(opacity=50)}.nui-configurator__content{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040}.nui-configurator__heading{width:100%;display:flex;justify-content:space-between;align-items:center;padding:15px;border-bottom:1px solid #d9d9d9}.nui-configurator__body{overflow-anchor:none;height:100vh}.nui-configurator__preview{height:100vh}.nui-configurator__preview-area{display:flex;width:80%;position:relative;background-color:var(--nui-color-bg-content_popover,#fff);border:1px solid;border-color:var(--nui-color-line-default,#d9d9d9);margin:auto;min-height:40vh;max-height:80vh;overflow:hidden}\n"], components: [{ type: i3.PanelComponent, selector: "nui-panel", inputs: ["panelMode", "displacePrimaryContent", "orientation", "isResizable", "headerPadding", "sidePaneBodyPadding", "darkBorder", "panelBackgroundColor", "isCollapsed", "isHidden", "paneSize", "paneCollapsedSize", "paneMinSize", "paneMaxSize", "heading"], outputs: ["collapsed", "hidden"] }, { type: PreviewOverlayComponent, selector: "nui-preview-overlay" }, { type: PizzagnaComponent, selector: "nui-pizzagna", inputs: ["rootNode", "pizzagna", "outputs"], outputs: ["pizzagnaChange", "output"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], pipes: { "nuiPizzagnaRoot": PizzagnaRootPipe } });
|
|
8549
8703
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ConfiguratorComponent, decorators: [{
|
|
8550
8704
|
type: Component,
|
|
8551
8705
|
args: [{
|
|
@@ -8619,7 +8773,7 @@ class FormStackComponent extends BaseLayout {
|
|
|
8619
8773
|
}
|
|
8620
8774
|
FormStackComponent.lateLoadKey = "FormStackComponent";
|
|
8621
8775
|
/** @nocollapse */ FormStackComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: FormStackComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: PizzagnaService }, { token: i3.LoggerService }, { token: i1$2.FormGroupDirective }, { token: PIZZAGNA_EVENT_BUS }], target: i0.ɵɵFactoryTarget.Component });
|
|
8622
|
-
/** @nocollapse */ FormStackComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: FormStackComponent, selector: "nui-form-stack", inputs: { nodes: "nodes" }, host: { properties: { "class": "this.elementClass" } }, usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<ng-container *ngFor=\"let node of nodeConfigs; trackBy: trackByFn\">\n <ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n [componentId]=\"node.id\"\n [componentType]=\"node.componentType\"\n [providers]=\"node.providers\"\n [properties]=\"node.properties\"\n [outputs]=\"['formReady']\"\n (output)=\"onEvent(node.id, $event)\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n</ng-container>\n", directives: [{ type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type:
|
|
8776
|
+
/** @nocollapse */ FormStackComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: FormStackComponent, selector: "nui-form-stack", inputs: { nodes: "nodes" }, host: { properties: { "class": "this.elementClass" } }, usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<ng-container *ngFor=\"let node of nodeConfigs; trackBy: trackByFn\">\n <ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n [componentId]=\"node.id\"\n [componentType]=\"node.componentType\"\n [providers]=\"node.providers\"\n [properties]=\"node.properties\"\n [outputs]=\"['formReady']\"\n (output)=\"onEvent(node.id, $event)\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n</ng-container>\n", directives: [{ type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i6.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], viewProviders: [
|
|
8623
8777
|
{
|
|
8624
8778
|
provide: ControlContainer,
|
|
8625
8779
|
useExisting: FormGroupDirective,
|
|
@@ -9542,7 +9696,7 @@ class ItemsDynamicComponent extends BaseLayout {
|
|
|
9542
9696
|
}
|
|
9543
9697
|
ItemsDynamicComponent.lateLoadKey = "ItemsDynamicComponent";
|
|
9544
9698
|
/** @nocollapse */ ItemsDynamicComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ItemsDynamicComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: PizzagnaService }, { token: i3.LoggerService }, { token: i1$2.FormBuilder }], target: i0.ɵɵFactoryTarget.Component });
|
|
9545
|
-
/** @nocollapse */ ItemsDynamicComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ItemsDynamicComponent, selector: "nui-items-dynamic", inputs: { items: "items", moveButtons: "moveButtons", nodes: "nodes", headerPrefix: "headerPrefix" }, outputs: { formReady: "formReady", itemsChange: "itemsChange" }, usesInheritance: true, ngImport: i0, template: "<div\n class=\"nui-items-dynamic\"\n cdkDropList\n (cdkDropListDropped)=\"drop($event)\"\n [formGroup]=\"form\"\n>\n <div\n cdkDrag\n class=\"nui-items-dynamic__node-item\"\n (cdkDragStarted)=\"cdkDragStarted($event)\"\n *ngFor=\"let node of nodeConfigs; let i = index; trackBy: trackBy\"\n >\n <nui-drop-area\n class=\"nui-items-dynamic__drop-area\"\n *cdkDragPlaceholder\n [style.height.px]=\"height\"\n ></nui-drop-area>\n\n <ng-template #headerText>\n <ng-container *ngIf=\"moveButtons\">\n <div class=\"nui-items-dynamic__drag-handler\" cdkDragHandle>\n <nui-icon icon=\"drag\"></nui-icon>\n </div>\n </ng-container>\n <span\n [title]=\"\n headerMap.get(node.id)\n | nuiWidgetConfiguratorSectionHeader: i:headerPrefix\n \"\n class=\"nui-items-dynamic__header-text\"\n >\n {{\n headerMap.get(node.id)\n | nuiWidgetConfiguratorSectionHeader: i:headerPrefix\n }}\n </span>\n </ng-template>\n\n <ng-template #headerButtons>\n <div class=\"d-flex\">\n <!-- TODO: remove \"kpi\" prefix in v11 - NUI-5833 -->\n <button\n id=\"kpi-widget-remove-btn-{{ i }}\"\n nui-button\n type=\"button\"\n icon=\"delete\"\n displayStyle=\"action\"\n (click)=\"removeItem(getItemForNode(node), i)\"\n ></button>\n </div>\n </ng-template>\n\n <ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n [componentId]=\"node.id\"\n [componentType]=\"node.componentType\"\n [providers]=\"node.providers\"\n [properties]=\"\n node.properties\n | nuiAddData: headerText:'headerTextTemplate'\n | nuiAddData: headerButtons:'headerButtonsTemplate'\n \"\n [outputs]=\"['formReady', 'formDestroy']\"\n (output)=\"onEvent(node.id, $event)\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n >\n </ng-template>\n </ng-container>\n </div>\n</div>\n", styles: [".nui-items-dynamic__header-text{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis}.nui-items-dynamic__drag-handler{cursor:move;display:flex}.nui-items-dynamic__node-item{background-color:var(--nui-color-bg-light,#fff);margin:15px}.nui-items-dynamic__node-item .widget-configurator-section{margin:0}.nui-items-dynamic__drop-area{margin:15px}.kpi-indicators-configuration__color-preview{width:16px;height:16px;margin-right:15px;border-radius:3px}.cdk-drag-preview{z-index:2000!important;opacity:.9;box-shadow:0 0 5px 0 var(--nui-shadow-color, rgba(17, 17, 17, .3))}\n"], components: [{ type: DropAreaComponent, selector: "nui-drop-area" }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.ButtonComponent, selector: "[nui-button]", inputs: ["ariaLabel", "isRepeat", "iconColor", "size", "displayStyle", "icon", "iconRight", "isBusy", "isEmpty"] }], directives: [{ type: i5
|
|
9699
|
+
/** @nocollapse */ ItemsDynamicComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ItemsDynamicComponent, selector: "nui-items-dynamic", inputs: { items: "items", moveButtons: "moveButtons", nodes: "nodes", headerPrefix: "headerPrefix" }, outputs: { formReady: "formReady", itemsChange: "itemsChange" }, usesInheritance: true, ngImport: i0, template: "<div\n class=\"nui-items-dynamic\"\n cdkDropList\n (cdkDropListDropped)=\"drop($event)\"\n [formGroup]=\"form\"\n>\n <div\n cdkDrag\n class=\"nui-items-dynamic__node-item\"\n (cdkDragStarted)=\"cdkDragStarted($event)\"\n *ngFor=\"let node of nodeConfigs; let i = index; trackBy: trackBy\"\n >\n <nui-drop-area\n class=\"nui-items-dynamic__drop-area\"\n *cdkDragPlaceholder\n [style.height.px]=\"height\"\n ></nui-drop-area>\n\n <ng-template #headerText>\n <ng-container *ngIf=\"moveButtons\">\n <div class=\"nui-items-dynamic__drag-handler\" cdkDragHandle>\n <nui-icon icon=\"drag\"></nui-icon>\n </div>\n </ng-container>\n <span\n [title]=\"\n headerMap.get(node.id)\n | nuiWidgetConfiguratorSectionHeader: i:headerPrefix\n \"\n class=\"nui-items-dynamic__header-text\"\n >\n {{\n headerMap.get(node.id)\n | nuiWidgetConfiguratorSectionHeader: i:headerPrefix\n }}\n </span>\n </ng-template>\n\n <ng-template #headerButtons>\n <div class=\"d-flex\">\n <!-- TODO: remove \"kpi\" prefix in v11 - NUI-5833 -->\n <button\n id=\"kpi-widget-remove-btn-{{ i }}\"\n nui-button\n type=\"button\"\n icon=\"delete\"\n displayStyle=\"action\"\n (click)=\"removeItem(getItemForNode(node), i)\"\n ></button>\n </div>\n </ng-template>\n\n <ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n [componentId]=\"node.id\"\n [componentType]=\"node.componentType\"\n [providers]=\"node.providers\"\n [properties]=\"\n node.properties\n | nuiAddData: headerText:'headerTextTemplate'\n | nuiAddData: headerButtons:'headerButtonsTemplate'\n \"\n [outputs]=\"['formReady', 'formDestroy']\"\n (output)=\"onEvent(node.id, $event)\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n >\n </ng-template>\n </ng-container>\n </div>\n</div>\n", styles: [".nui-items-dynamic__header-text{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis}.nui-items-dynamic__drag-handler{cursor:move;display:flex}.nui-items-dynamic__node-item{background-color:var(--nui-color-bg-light,#fff);margin:15px}.nui-items-dynamic__node-item .widget-configurator-section{margin:0}.nui-items-dynamic__drop-area{margin:15px}.kpi-indicators-configuration__color-preview{width:16px;height:16px;margin-right:15px;border-radius:3px}.cdk-drag-preview{z-index:2000!important;opacity:.9;box-shadow:0 0 5px 0 var(--nui-shadow-color, rgba(17, 17, 17, .3))}\n"], components: [{ type: DropAreaComponent, selector: "nui-drop-area" }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.ButtonComponent, selector: "[nui-button]", inputs: ["ariaLabel", "isRepeat", "iconColor", "size", "displayStyle", "icon", "iconRight", "isBusy", "isEmpty"] }], directives: [{ type: i5.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "id", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListAutoScrollDisabled", "cdkDropListOrientation", "cdkDropListLockAxis", "cdkDropListData", "cdkDropListAutoScrollStep"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i5.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragDisabled", "cdkDragStartDelay", "cdkDragLockAxis", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragBoundary", "cdkDragRootElement", "cdkDragPreviewContainer", "cdkDragData", "cdkDragFreeDragPosition"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i5.CdkDragPlaceholder, selector: "ng-template[cdkDragPlaceholder]", inputs: ["data"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i6.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], pipes: { "nuiWidgetConfiguratorSectionHeader": WidgetConfiguratorSectionHeaderPipe, "nuiAddData": AddDataPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
9546
9700
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ItemsDynamicComponent, decorators: [{
|
|
9547
9701
|
type: Component,
|
|
9548
9702
|
args: [{
|
|
@@ -10118,7 +10272,7 @@ class DashwizComponent {
|
|
|
10118
10272
|
}
|
|
10119
10273
|
DashwizComponent.placeholderFinishText = "Action"; // as a placeholder "Action" does not need to be i18n
|
|
10120
10274
|
/** @nocollapse */ DashwizComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DashwizComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ComponentFactoryResolver }, { token: i3.LoggerService }, { token: DashwizService }], target: i0.ɵɵFactoryTarget.Component });
|
|
10121
|
-
/** @nocollapse */ DashwizComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: DashwizComponent, selector: "nui-dashwiz", inputs: { hideHeader: "hideHeader", canProceed: "canProceed", canFinish: "canFinish", finishText: "finishText", stretchStepLines: "stretchStepLines", buttonComponentTypes: "buttonComponentTypes", navigationControl: "navigationControl" }, outputs: { stepNavigated: "stepNavigated", cancel: "cancel", finish: "finish", next: "next", back: "back" }, host: { classAttribute: "flex-grow-1 overflow-auto" }, queries: [{ propertyName: "steps", predicate: DashwizStepComponent }], viewQueries: [{ propertyName: "dynamicStep", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef }, { propertyName: "stepTitles", predicate: ["stepTitle"], descendants: true }], ngImport: i0, template: "<div class=\"nui-dashwiz d-flex flex-column h-100\">\n <div\n class=\"nui-dashwiz__header\"\n *ngIf=\"!hideHeader\"\n [class.nui-dashwiz__header--lines-stretched]=\"stretchStepLines\"\n >\n <ul class=\"nui-dashwiz__header-steps\" *ngIf=\"steps\">\n <li\n *ngFor=\"let step of steps; let first = first; let last = last\"\n (click)=\"selectStep(step)\"\n [ngClass]=\"{\n 'nui-dashwiz__header-step--first': first,\n 'nui-dashwiz__header-step--last': last,\n 'nui-dashwiz__header-step--visited': step.visited,\n 'nui-dashwiz__header-step--disabled':\n step.disabled ||\n !step.visited ||\n currentStep.busyConfig.busy,\n 'nui-dashwiz__header-step--active': step.active,\n 'nui-dashwiz__header-step--complete': step.complete\n }\"\n class=\"nui-dashwiz__header-step\"\n >\n <div\n class=\"nui-dashwiz__header-step-container\"\n *ngIf=\"!step.hidden\"\n >\n <div class=\"nui-dashwiz__header-step-row\">\n <div class=\"nui-dashwiz__header-step-col\">\n <div class=\"nui-dashwiz__header-step-content\">\n <span class=\"nui-dashwiz__header-step-link\">\n <span\n class=\"nui-dashwiz__header-step-title\"\n #stepTitle\n >\n {{ step.title }}</span\n >\n <div\n class=\"nui-dashwiz__header-step-link-container\"\n >\n <div\n class=\"nui-dashwiz__header-step-col nui-dashwiz__header-step-col-right\"\n >\n <div\n class=\"nui-dashwiz__header-step-line\"\n [ngStyle]=\"{\n 'min-width.px':\n stepLineWidth\n }\"\n ></div>\n </div>\n <nui-icon\n [icon]=\"step.icon\"\n [iconColor]=\"step.iconColor\"\n ></nui-icon>\n <div\n class=\"nui-dashwiz__header-step-col nui-dashwiz__header-step-col-left\"\n >\n <div\n class=\"nui-dashwiz__header-step-line\"\n [ngStyle]=\"{\n 'min-width.px':\n stepLineWidth\n }\"\n ></div>\n </div>\n </div>\n </span>\n </div>\n </div>\n </div>\n </div>\n </li>\n </ul>\n </div>\n\n <div class=\"nui-scroll-shadows flex-grow-1 overflow-auto\">\n <ng-content></ng-content>\n <ng-template #container></ng-template>\n </div>\n\n <div class=\"nui-dashwiz__footer\">\n <ng-container\n nuiComponentPortal\n componentId=\"dashwizButtons\"\n [componentType]=\"\n buttonComponentTypes.length === 1\n ? buttonComponentTypes[0]\n : buttonComponentTypes[stepIndex]\n \"\n [properties]=\"buttonProperties\"\n [outputs]=\"['cancel', 'next', 'back', 'finish']\"\n (output)=\"onButtonPortalOutput($event)\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n </div>\n</div>\n", styles: [".nui-dashwiz__header{padding:10px 15px;background-color:var(--nui-color-bg-secondary,#fafafa);border-bottom:1px solid #d9d9d9;border-bottom:1px solid var(--nui-color-line-default, #d9d9d9);overflow:hidden;text-align:center;display:flex;justify-content:center;-webkit-user-select:none;-o-user-select:none;user-select:none}.nui-dashwiz__header-steps{margin-bottom:0;white-space:nowrap;display:inline-flex}.nui-dashwiz__header-step{line-height:normal;display:inline-flex;cursor:pointer}.nui-dashwiz__header-step--disabled{pointer-events:none;cursor:default}.nui-dashwiz__header-step--visited .nui-dashwiz__header-step-link{color:var(--nui-color-text-link,#0079aa)}.nui-dashwiz__header-step--visited .nui-dashwiz__header-step-link:hover{text-decoration:underline}.nui-dashwiz__header-step--visited .nui-dashwiz__header-step-col-right>.nui-dashwiz__header-step-line{border-color:var(--nui-color-line-active,#0079aa)}.nui-dashwiz__header-step--first .nui-dashwiz__header-step-col-right{border-color:transparent;opacity:0}.nui-dashwiz__header-step--last .nui-dashwiz__header-step-col-left{border-color:transparent;opacity:0}.nui-dashwiz__header-step--active{cursor:default}.nui-dashwiz__header-step--active .nui-dashwiz__header-step-link{color:var(--nui-color-bg-dark,#111)}.nui-dashwiz__header-step--active .nui-dashwiz__header-step-link:hover .nui-dashwiz__header-step-title{text-decoration:none}.nui-dashwiz__header-step--active .nui-dashwiz__header-step-link .nui-dashwiz__header-step-col-right>.nui-dashwiz__header-step-line{border-color:var(--nui-color-line-active,#0079aa)}.nui-dashwiz__header-step--complete .nui-dashwiz__header-step-link .nui-dashwiz__header-step-col-left>.nui-dashwiz__header-step-line{border-color:var(--nui-color-line-active,#0079aa)}.nui-dashwiz__header-step--complete .nui-dashwiz__header-step-link .nui-dashwiz__header-step-col-right>.nui-dashwiz__header-step-line{border-color:var(--nui-color-line-active,#0079aa)}.nui-dashwiz__header-step-container{display:inline-table;width:100%}.nui-dashwiz__header-step-container-bottom{display:none}.nui-dashwiz__header-step-container-bottom .nui-dashwiz__header-step-title{width:100%;max-width:100%;margin:0}.nui-dashwiz__header-step-row{display:table-row}.nui-dashwiz__header-step-col{display:table-cell;vertical-align:middle}.nui-dashwiz__header-step-col .nui-dashwiz__header-step-line{border-color:var(--nui-color-line-default,#d9d9d9)}.nui-dashwiz__header-step-col-right .nui-dashwiz__header-step-line{margin-right:-1px}.nui-dashwiz__header-step-line{border-bottom:solid 2px;height:2px}.nui-dashwiz__header-step-link{color:var(--nui-color-text-secondary,rgba(17, 17, 17, .6));transition:color .3s}.nui-dashwiz__header-step-link-container{display:flex;align-content:baseline;justify-content:center;align-items:center}.nui-dashwiz__header-step-title{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis;vertical-align:middle;display:inline-block;max-width:140px;margin:0 0 5px;text-decoration:inherit}.nui-dashwiz__header.nui-dashwiz__header--lines-stretched .nui-dashwiz__header-step-title{max-width:unset}.nui-dashwiz__footer{z-index:1080;background-color:var(--nui-color-bg-content,#fff);border-top:solid 1px var(--nui-color-line-default, #d9d9d9)}\n"], components: [{ type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type:
|
|
10275
|
+
/** @nocollapse */ DashwizComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: DashwizComponent, selector: "nui-dashwiz", inputs: { hideHeader: "hideHeader", canProceed: "canProceed", canFinish: "canFinish", finishText: "finishText", stretchStepLines: "stretchStepLines", buttonComponentTypes: "buttonComponentTypes", navigationControl: "navigationControl" }, outputs: { stepNavigated: "stepNavigated", cancel: "cancel", finish: "finish", next: "next", back: "back" }, host: { classAttribute: "flex-grow-1 overflow-auto" }, queries: [{ propertyName: "steps", predicate: DashwizStepComponent }], viewQueries: [{ propertyName: "dynamicStep", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef }, { propertyName: "stepTitles", predicate: ["stepTitle"], descendants: true }], ngImport: i0, template: "<div class=\"nui-dashwiz d-flex flex-column h-100\">\n <div\n class=\"nui-dashwiz__header\"\n *ngIf=\"!hideHeader\"\n [class.nui-dashwiz__header--lines-stretched]=\"stretchStepLines\"\n >\n <ul class=\"nui-dashwiz__header-steps\" *ngIf=\"steps\">\n <li\n *ngFor=\"let step of steps; let first = first; let last = last\"\n (click)=\"selectStep(step)\"\n [ngClass]=\"{\n 'nui-dashwiz__header-step--first': first,\n 'nui-dashwiz__header-step--last': last,\n 'nui-dashwiz__header-step--visited': step.visited,\n 'nui-dashwiz__header-step--disabled':\n step.disabled ||\n !step.visited ||\n currentStep.busyConfig.busy,\n 'nui-dashwiz__header-step--active': step.active,\n 'nui-dashwiz__header-step--complete': step.complete\n }\"\n class=\"nui-dashwiz__header-step\"\n >\n <div\n class=\"nui-dashwiz__header-step-container\"\n *ngIf=\"!step.hidden\"\n >\n <div class=\"nui-dashwiz__header-step-row\">\n <div class=\"nui-dashwiz__header-step-col\">\n <div class=\"nui-dashwiz__header-step-content\">\n <span class=\"nui-dashwiz__header-step-link\">\n <span\n class=\"nui-dashwiz__header-step-title\"\n #stepTitle\n >\n {{ step.title }}</span\n >\n <div\n class=\"nui-dashwiz__header-step-link-container\"\n >\n <div\n class=\"nui-dashwiz__header-step-col nui-dashwiz__header-step-col-right\"\n >\n <div\n class=\"nui-dashwiz__header-step-line\"\n [ngStyle]=\"{\n 'min-width.px':\n stepLineWidth\n }\"\n ></div>\n </div>\n <nui-icon\n [icon]=\"step.icon\"\n [iconColor]=\"step.iconColor\"\n ></nui-icon>\n <div\n class=\"nui-dashwiz__header-step-col nui-dashwiz__header-step-col-left\"\n >\n <div\n class=\"nui-dashwiz__header-step-line\"\n [ngStyle]=\"{\n 'min-width.px':\n stepLineWidth\n }\"\n ></div>\n </div>\n </div>\n </span>\n </div>\n </div>\n </div>\n </div>\n </li>\n </ul>\n </div>\n\n <div class=\"nui-scroll-shadows flex-grow-1 overflow-auto\">\n <ng-content></ng-content>\n <ng-template #container></ng-template>\n </div>\n\n <div class=\"nui-dashwiz__footer\">\n <ng-container\n nuiComponentPortal\n componentId=\"dashwizButtons\"\n [componentType]=\"\n buttonComponentTypes.length === 1\n ? buttonComponentTypes[0]\n : buttonComponentTypes[stepIndex]\n \"\n [properties]=\"buttonProperties\"\n [outputs]=\"['cancel', 'next', 'back', 'finish']\"\n (output)=\"onButtonPortalOutput($event)\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n </div>\n</div>\n", styles: [".nui-dashwiz__header{padding:10px 15px;background-color:var(--nui-color-bg-secondary,#fafafa);border-bottom:1px solid #d9d9d9;border-bottom:1px solid var(--nui-color-line-default, #d9d9d9);overflow:hidden;text-align:center;display:flex;justify-content:center;-webkit-user-select:none;-o-user-select:none;user-select:none}.nui-dashwiz__header-steps{margin-bottom:0;white-space:nowrap;display:inline-flex}.nui-dashwiz__header-step{line-height:normal;display:inline-flex;cursor:pointer}.nui-dashwiz__header-step--disabled{pointer-events:none;cursor:default}.nui-dashwiz__header-step--visited .nui-dashwiz__header-step-link{color:var(--nui-color-text-link,#0079aa)}.nui-dashwiz__header-step--visited .nui-dashwiz__header-step-link:hover{text-decoration:underline}.nui-dashwiz__header-step--visited .nui-dashwiz__header-step-col-right>.nui-dashwiz__header-step-line{border-color:var(--nui-color-line-active,#0079aa)}.nui-dashwiz__header-step--first .nui-dashwiz__header-step-col-right{border-color:transparent;opacity:0}.nui-dashwiz__header-step--last .nui-dashwiz__header-step-col-left{border-color:transparent;opacity:0}.nui-dashwiz__header-step--active{cursor:default}.nui-dashwiz__header-step--active .nui-dashwiz__header-step-link{color:var(--nui-color-bg-dark,#111)}.nui-dashwiz__header-step--active .nui-dashwiz__header-step-link:hover .nui-dashwiz__header-step-title{text-decoration:none}.nui-dashwiz__header-step--active .nui-dashwiz__header-step-link .nui-dashwiz__header-step-col-right>.nui-dashwiz__header-step-line{border-color:var(--nui-color-line-active,#0079aa)}.nui-dashwiz__header-step--complete .nui-dashwiz__header-step-link .nui-dashwiz__header-step-col-left>.nui-dashwiz__header-step-line{border-color:var(--nui-color-line-active,#0079aa)}.nui-dashwiz__header-step--complete .nui-dashwiz__header-step-link .nui-dashwiz__header-step-col-right>.nui-dashwiz__header-step-line{border-color:var(--nui-color-line-active,#0079aa)}.nui-dashwiz__header-step-container{display:inline-table;width:100%}.nui-dashwiz__header-step-container-bottom{display:none}.nui-dashwiz__header-step-container-bottom .nui-dashwiz__header-step-title{width:100%;max-width:100%;margin:0}.nui-dashwiz__header-step-row{display:table-row}.nui-dashwiz__header-step-col{display:table-cell;vertical-align:middle}.nui-dashwiz__header-step-col .nui-dashwiz__header-step-line{border-color:var(--nui-color-line-default,#d9d9d9)}.nui-dashwiz__header-step-col-right .nui-dashwiz__header-step-line{margin-right:-1px}.nui-dashwiz__header-step-line{border-bottom:solid 2px;height:2px}.nui-dashwiz__header-step-link{color:var(--nui-color-text-secondary,rgba(17, 17, 17, .6));transition:color .3s}.nui-dashwiz__header-step-link-container{display:flex;align-content:baseline;justify-content:center;align-items:center}.nui-dashwiz__header-step-title{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis;vertical-align:middle;display:inline-block;max-width:140px;margin:0 0 5px;text-decoration:inherit}.nui-dashwiz__header.nui-dashwiz__header--lines-stretched .nui-dashwiz__header-step-title{max-width:unset}.nui-dashwiz__footer{z-index:1080;background-color:var(--nui-color-bg-content,#fff);border-top:solid 1px var(--nui-color-line-default, #d9d9d9)}\n"], components: [{ type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i6.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }] });
|
|
10122
10276
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DashwizComponent, decorators: [{
|
|
10123
10277
|
type: Component,
|
|
10124
10278
|
args: [{
|
|
@@ -10277,7 +10431,7 @@ class WidgetClonerComponent {
|
|
|
10277
10431
|
}
|
|
10278
10432
|
WidgetClonerComponent.lateLoadKey = "WidgetClonerComponent";
|
|
10279
10433
|
/** @nocollapse */ WidgetClonerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: WidgetClonerComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: ConfiguratorComponent }, { token: PreviewService }, { token: i1$2.FormBuilder }, { token: WidgetTypesService }], target: i0.ɵɵFactoryTarget.Component });
|
|
10280
|
-
/** @nocollapse */ WidgetClonerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: WidgetClonerComponent, selector: "nui-widget-cloner", inputs: { formPizzagna: "formPizzagna", cloneSelectionComponentType: "cloneSelectionComponentType" }, host: { classAttribute: "d-flex flex-column h-100" }, ngImport: i0, template: "<nui-configurator-heading\n configuratorTitle=\"Creating Widget\"\n i18n-configuratorTitle\n (close)=\"onCancel()\"\n [disableCloseButton]=\"busy\"\n></nui-configurator-heading>\n<nui-dashwiz\n [hideHeader]=\"true\"\n [canProceed]=\"!!widgetTemplate\"\n [canFinish]=\"canFinish()\"\n finishText=\"Create Widget\"\n i18n-finishText\n [navigationControl]=\"navigationControl\"\n (finish)=\"onFinish()\"\n (cancel)=\"onCancel()\"\n (stepNavigated)=\"onStepNavigated($event)\"\n>\n <nui-dashwiz-step [stepTemplate]=\"step1\" nextText=\"Customize\" i18n-nextText>\n </nui-dashwiz-step>\n <nui-dashwiz-step [stepTemplate]=\"step2\"></nui-dashwiz-step>\n</nui-dashwiz>\n\n<ng-template #step1>\n <div class=\"p-4 h-100\">\n <ng-container\n nuiComponentPortal\n [componentType]=\"cloneSelectionComponentType\"\n [outputs]=\"['widgetSelected']\"\n (output)=\"onSelect($event.payload)\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n </div>\n</ng-template>\n\n<ng-template #step2>\n <div [formGroup]=\"form\">\n <nui-pizzagna\n #formPizzagnaComponent\n [(pizzagna)]=\"formPizzagna\"\n ></nui-pizzagna>\n </div>\n</ng-template>\n", components: [{ type: ConfiguratorHeadingComponent, selector: "nui-configurator-heading", inputs: ["configuratorTitle", "disableCloseButton"], outputs: ["close"] }, { type: DashwizComponent, selector: "nui-dashwiz", inputs: ["hideHeader", "canProceed", "canFinish", "finishText", "stretchStepLines", "buttonComponentTypes", "navigationControl"], outputs: ["stepNavigated", "cancel", "finish", "next", "back"] }, { type: DashwizStepComponent, selector: "nui-dashwiz-step", inputs: ["stepTemplate", "stepControl", "title", "nextText", "hidden", "disabled", "spinnerSize"], outputs: ["enter", "valid", "exit", "next"] }, { type: PizzagnaComponent, selector: "nui-pizzagna", inputs: ["rootNode", "pizzagna", "outputs"], outputs: ["pizzagnaChange", "output"] }], directives: [{ type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type:
|
|
10434
|
+
/** @nocollapse */ WidgetClonerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: WidgetClonerComponent, selector: "nui-widget-cloner", inputs: { formPizzagna: "formPizzagna", cloneSelectionComponentType: "cloneSelectionComponentType" }, host: { classAttribute: "d-flex flex-column h-100" }, ngImport: i0, template: "<nui-configurator-heading\n configuratorTitle=\"Creating Widget\"\n i18n-configuratorTitle\n (close)=\"onCancel()\"\n [disableCloseButton]=\"busy\"\n></nui-configurator-heading>\n<nui-dashwiz\n [hideHeader]=\"true\"\n [canProceed]=\"!!widgetTemplate\"\n [canFinish]=\"canFinish()\"\n finishText=\"Create Widget\"\n i18n-finishText\n [navigationControl]=\"navigationControl\"\n (finish)=\"onFinish()\"\n (cancel)=\"onCancel()\"\n (stepNavigated)=\"onStepNavigated($event)\"\n>\n <nui-dashwiz-step [stepTemplate]=\"step1\" nextText=\"Customize\" i18n-nextText>\n </nui-dashwiz-step>\n <nui-dashwiz-step [stepTemplate]=\"step2\"></nui-dashwiz-step>\n</nui-dashwiz>\n\n<ng-template #step1>\n <div class=\"p-4 h-100\">\n <ng-container\n nuiComponentPortal\n [componentType]=\"cloneSelectionComponentType\"\n [outputs]=\"['widgetSelected']\"\n (output)=\"onSelect($event.payload)\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n </div>\n</ng-template>\n\n<ng-template #step2>\n <div [formGroup]=\"form\">\n <nui-pizzagna\n #formPizzagnaComponent\n [(pizzagna)]=\"formPizzagna\"\n ></nui-pizzagna>\n </div>\n</ng-template>\n", components: [{ type: ConfiguratorHeadingComponent, selector: "nui-configurator-heading", inputs: ["configuratorTitle", "disableCloseButton"], outputs: ["close"] }, { type: DashwizComponent, selector: "nui-dashwiz", inputs: ["hideHeader", "canProceed", "canFinish", "finishText", "stretchStepLines", "buttonComponentTypes", "navigationControl"], outputs: ["stepNavigated", "cancel", "finish", "next", "back"] }, { type: DashwizStepComponent, selector: "nui-dashwiz-step", inputs: ["stepTemplate", "stepControl", "title", "nextText", "hidden", "disabled", "spinnerSize"], outputs: ["enter", "valid", "exit", "next"] }, { type: PizzagnaComponent, selector: "nui-pizzagna", inputs: ["rootNode", "pizzagna", "outputs"], outputs: ["pizzagnaChange", "output"] }], directives: [{ type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i6.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { 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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
10281
10435
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: WidgetClonerComponent, decorators: [{
|
|
10282
10436
|
type: Component,
|
|
10283
10437
|
args: [{
|
|
@@ -10363,7 +10517,7 @@ class WidgetConfiguratorSectionComponent extends BaseLayout {
|
|
|
10363
10517
|
}
|
|
10364
10518
|
WidgetConfiguratorSectionComponent.lateLoadKey = "WidgetConfiguratorSectionComponent";
|
|
10365
10519
|
/** @nocollapse */ WidgetConfiguratorSectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: WidgetConfiguratorSectionComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: PizzagnaService }, { token: i3.LoggerService }, { token: i1$2.FormBuilder }], target: i0.ɵɵFactoryTarget.Component });
|
|
10366
|
-
/** @nocollapse */ WidgetConfiguratorSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: WidgetConfiguratorSectionComponent, selector: "nui-widget-configurator-section", inputs: { headerTextTemplate: "headerTextTemplate", headerButtonsTemplate: "headerButtonsTemplate", nodes: "nodes", headerText: "headerText" }, outputs: { formReady: "formReady", formDestroy: "formDestroy" }, host: { classAttribute: "nui-widget-configurator-section" }, usesInheritance: true, ngImport: i0, template: "<div class=\"widget-configurator-section\">\n <div\n class=\"widget-configurator-section__header d-flex justify-content-between align-items-center\"\n >\n <ng-container *ngTemplateOutlet=\"headerTextTemplate\"></ng-container>\n <ng-container *ngTemplateOutlet=\"headerButtonsTemplate\"></ng-container>\n\n <!-- TODO: REMOVE THOSE AFTER ALL WIDGETS ARE USING nui-items-dynamic -->\n <div\n headerText\n *ngIf=\"headerText\"\n class=\"widget-configurator-section__header-text\"\n [title]=\"headerText\"\n >\n {{ headerText }}\n </div>\n <ng-content select=\"[headerText]\"></ng-content>\n <ng-content select=\"[headerButtons]\"></ng-content>\n </div>\n <ng-container *ngFor=\"let node of nodeConfigs; trackBy: trackByFn\">\n <ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n [componentId]=\"node.id\"\n [componentType]=\"node.componentType\"\n [providers]=\"node.providers\"\n [properties]=\"node.properties\"\n [outputs]=\"['formReady']\"\n (output)=\"onEvent(node.id, $event)\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n </ng-container>\n <ng-content></ng-content>\n</div>\n", styles: [".widget-configurator-section{margin:15px;border-radius:3px;border:1px solid;border-color:var(--nui-color-line-default,#d9d9d9)}.widget-configurator-section__header{padding:15px 5px 15px 15px;height:40px;font-size:16px;font-weight:600;background-color:var(--nui-color-bg-table_header,#f0f0f0);color:var(--nui-color-text-secondary,rgba(17, 17, 17, .6))}.widget-configurator-section__header-text{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis}\n"], directives: [{ type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type:
|
|
10520
|
+
/** @nocollapse */ WidgetConfiguratorSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: WidgetConfiguratorSectionComponent, selector: "nui-widget-configurator-section", inputs: { headerTextTemplate: "headerTextTemplate", headerButtonsTemplate: "headerButtonsTemplate", nodes: "nodes", headerText: "headerText" }, outputs: { formReady: "formReady", formDestroy: "formDestroy" }, host: { classAttribute: "nui-widget-configurator-section" }, usesInheritance: true, ngImport: i0, template: "<div class=\"widget-configurator-section\">\n <div\n class=\"widget-configurator-section__header d-flex justify-content-between align-items-center\"\n >\n <ng-container *ngTemplateOutlet=\"headerTextTemplate\"></ng-container>\n <ng-container *ngTemplateOutlet=\"headerButtonsTemplate\"></ng-container>\n\n <!-- TODO: REMOVE THOSE AFTER ALL WIDGETS ARE USING nui-items-dynamic -->\n <div\n headerText\n *ngIf=\"headerText\"\n class=\"widget-configurator-section__header-text\"\n [title]=\"headerText\"\n >\n {{ headerText }}\n </div>\n <ng-content select=\"[headerText]\"></ng-content>\n <ng-content select=\"[headerButtons]\"></ng-content>\n </div>\n <ng-container *ngFor=\"let node of nodeConfigs; trackBy: trackByFn\">\n <ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n [componentId]=\"node.id\"\n [componentType]=\"node.componentType\"\n [providers]=\"node.providers\"\n [properties]=\"node.properties\"\n [outputs]=\"['formReady']\"\n (output)=\"onEvent(node.id, $event)\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n </ng-container>\n <ng-content></ng-content>\n</div>\n", styles: [".widget-configurator-section{margin:15px;border-radius:3px;border:1px solid;border-color:var(--nui-color-line-default,#d9d9d9)}.widget-configurator-section__header{padding:15px 5px 15px 15px;height:40px;font-size:16px;font-weight:600;background-color:var(--nui-color-bg-table_header,#f0f0f0);color:var(--nui-color-text-secondary,rgba(17, 17, 17, .6))}.widget-configurator-section__header-text{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis}\n"], directives: [{ type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i6.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
10367
10521
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: WidgetConfiguratorSectionComponent, decorators: [{
|
|
10368
10522
|
type: Component,
|
|
10369
10523
|
args: [{
|
|
@@ -10778,7 +10932,7 @@ class BackgroundColorRulesConfigurationComponent {
|
|
|
10778
10932
|
}
|
|
10779
10933
|
BackgroundColorRulesConfigurationComponent.lateLoadKey = "BackgroundColorRulesConfigurationComponent";
|
|
10780
10934
|
/** @nocollapse */ BackgroundColorRulesConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: BackgroundColorRulesConfigurationComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$2.FormBuilder }, { token: KpiColorComparatorsRegistryService }], target: i0.ɵɵFactoryTarget.Component });
|
|
10781
|
-
/** @nocollapse */ BackgroundColorRulesConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: BackgroundColorRulesConfigurationComponent, selector: "nui-background-color-rules-configuration", inputs: { rules: "rules", backgroundColors: "backgroundColors" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<nui-widget-editor-accordion\n [formGroup]=\"formLocal\"\n [state]=\"formLocal | nuiWidgetEditorAccordionFormState | async\"\n>\n <div accordionHeader class=\"d-flex align-items-center px-4 py-2\">\n <nui-icon\n class=\"align-self-start pt-2\"\n [icon]=\"formLocal | nuiFormHeaderIconPipe: 'color' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n>Background color rules</span>\n <div class=\"nui-text-secondary\" [title]=\"getColorRulesSubtitle()\">\n {{ getColorRulesSubtitle() }}\n </div>\n </div>\n </div>\n <div class=\"kpi-color-rules-configuration__accordion-content\">\n <div class=\"mb-4\">\n <p class=\"mb-3\">\n We can automatically change the background color when the value\n meets certain conditions.\n </p>\n <div cdkDropList (cdkDropListDropped)=\"drop($event)\">\n <ng-container\n *ngFor=\"\n let rule of formLocal.get('rules')?.value.controls;\n index as i\n \"\n >\n <div\n class=\"kpi-color-rule d-flex pt-3\"\n [formGroup]=\"rule\"\n cdkDrag\n (cdkDragStarted)=\"cdkDragStarted($event)\"\n >\n <div\n class=\"kpi-color-rule__control justify-content-center d-flex\"\n >\n <nui-icon\n icon=\"drag\"\n class=\"kpi-color-rule__drag align-items-center\"\n cdkDragHandle\n ></nui-icon>\n </div>\n <div class=\"d-flex flex-grow-1 flex-wrap\">\n <nui-form-field\n class=\"mr-3 mb-3 flex-grow-1\"\n [control]=\"rule.get('comparisonType')\"\n >\n <nui-select-v2\n placeholder=\"Select Item\"\n i18n-placeholder\n style=\"min-width: 220px\"\n [formControl]=\"rule.get('comparisonType')\"\n >\n <nui-select-v2-option\n *ngFor=\"\n let item of availableComparators\n | keyvalue\n \"\n [value]=\"item.key\"\n >\n {{ getLabel(item.key) }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n\n <nui-form-field\n class=\"mr-3 mb-3\"\n [control]=\"rule.get('value')\"\n style=\"max-width: 100px\"\n >\n <nui-textbox\n formControlName=\"value\"\n ></nui-textbox>\n </nui-form-field>\n\n <nui-form-field\n class=\"mr-3 mb-3\"\n [control]=\"rule.get('color')\"\n >\n <nui-color-picker\n formControlName=\"color\"\n [colorPalette]=\"palette\"\n ></nui-color-picker>\n </nui-form-field>\n </div>\n <button\n nui-button\n icon=\"delete\"\n displayStyle=\"action\"\n type=\"button\"\n class=\"kpi-color-rule__control\"\n (click)=\"removeRule(i)\"\n ></button>\n <nui-drop-area\n *cdkDragPlaceholder\n [style.height.px]=\"height\"\n ></nui-drop-area>\n </div>\n </ng-container>\n </div>\n <button\n nui-button\n icon=\"add\"\n displayStyle=\"action\"\n type=\"button\"\n (click)=\"addRule()\"\n i18n\n >\n Add new rule\n </button>\n </div>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".kpi-color-rules-configuration__accordion-content{padding:15px 15px 15px 46px}.kpi-color-rules-configuration__color-select{display:flex;align-items:center}.kpi-color-rules-configuration__color-preview{width:100%;height:20px;border-radius:3px}.kpi-color-rules-configuration__color-preview.with-arrow{width:calc(100% - 30px - 10px);margin-left:10px}.kpi-color-rules-configuration__selector-arrow{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-left:1px solid;border-left-color:var(--nui-color-line-default,#d9d9d9);margin-left:10px}.kpi-color-rule{background-color:var(--nui-color-bg-content,#fff)}.kpi-color-rule__drag{cursor:move}.kpi-color-rule__control{min-width:30px;height:30px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i3.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i3.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }, { type: i3.TextboxComponent, selector: "nui-textbox", inputs: ["autocomplete", "disabled", "hint", "placeholder", "readonly", "rows", "type", "isInErrorState", "ariaLabel", "value", "caption", "info", "customBoxWidth", "name", "isBusy"], outputs: ["textChange", "blurred"] }, { type: ColorPickerComponent, selector: "nui-color-picker", inputs: ["colors", "colorPalette", "cols"] }, { type: i3.ButtonComponent, selector: "[nui-button]", inputs: ["ariaLabel", "isRepeat", "iconColor", "size", "displayStyle", "icon", "iconRight", "isBusy", "isEmpty"] }, { type: DropAreaComponent, selector: "nui-drop-area" }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i5
|
|
10935
|
+
/** @nocollapse */ BackgroundColorRulesConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: BackgroundColorRulesConfigurationComponent, selector: "nui-background-color-rules-configuration", inputs: { rules: "rules", backgroundColors: "backgroundColors" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<nui-widget-editor-accordion\n [formGroup]=\"formLocal\"\n [state]=\"formLocal | nuiWidgetEditorAccordionFormState | async\"\n>\n <div accordionHeader class=\"d-flex align-items-center px-4 py-2\">\n <nui-icon\n class=\"align-self-start pt-2\"\n [icon]=\"formLocal | nuiFormHeaderIconPipe: 'color' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n>Background color rules</span>\n <div class=\"nui-text-secondary\" [title]=\"getColorRulesSubtitle()\">\n {{ getColorRulesSubtitle() }}\n </div>\n </div>\n </div>\n <div class=\"kpi-color-rules-configuration__accordion-content\">\n <div class=\"mb-4\">\n <p class=\"mb-3\">\n We can automatically change the background color when the value\n meets certain conditions.\n </p>\n <div cdkDropList (cdkDropListDropped)=\"drop($event)\">\n <ng-container\n *ngFor=\"\n let rule of formLocal.get('rules')?.value.controls;\n index as i\n \"\n >\n <div\n class=\"kpi-color-rule d-flex pt-3\"\n [formGroup]=\"rule\"\n cdkDrag\n (cdkDragStarted)=\"cdkDragStarted($event)\"\n >\n <div\n class=\"kpi-color-rule__control justify-content-center d-flex\"\n >\n <nui-icon\n icon=\"drag\"\n class=\"kpi-color-rule__drag align-items-center\"\n cdkDragHandle\n ></nui-icon>\n </div>\n <div class=\"d-flex flex-grow-1 flex-wrap\">\n <nui-form-field\n class=\"mr-3 mb-3 flex-grow-1\"\n [control]=\"rule.get('comparisonType')\"\n >\n <nui-select-v2\n placeholder=\"Select Item\"\n i18n-placeholder\n style=\"min-width: 220px\"\n [formControl]=\"rule.get('comparisonType')\"\n >\n <nui-select-v2-option\n *ngFor=\"\n let item of availableComparators\n | keyvalue\n \"\n [value]=\"item.key\"\n >\n {{ getLabel(item.key) }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n\n <nui-form-field\n class=\"mr-3 mb-3\"\n [control]=\"rule.get('value')\"\n style=\"max-width: 100px\"\n >\n <nui-textbox\n formControlName=\"value\"\n ></nui-textbox>\n </nui-form-field>\n\n <nui-form-field\n class=\"mr-3 mb-3\"\n [control]=\"rule.get('color')\"\n >\n <nui-color-picker\n formControlName=\"color\"\n [colorPalette]=\"palette\"\n ></nui-color-picker>\n </nui-form-field>\n </div>\n <button\n nui-button\n icon=\"delete\"\n displayStyle=\"action\"\n type=\"button\"\n class=\"kpi-color-rule__control\"\n (click)=\"removeRule(i)\"\n ></button>\n <nui-drop-area\n *cdkDragPlaceholder\n [style.height.px]=\"height\"\n ></nui-drop-area>\n </div>\n </ng-container>\n </div>\n <button\n nui-button\n icon=\"add\"\n displayStyle=\"action\"\n type=\"button\"\n (click)=\"addRule()\"\n i18n\n >\n Add new rule\n </button>\n </div>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".kpi-color-rules-configuration__accordion-content{padding:15px 15px 15px 46px}.kpi-color-rules-configuration__color-select{display:flex;align-items:center}.kpi-color-rules-configuration__color-preview{width:100%;height:20px;border-radius:3px}.kpi-color-rules-configuration__color-preview.with-arrow{width:calc(100% - 30px - 10px);margin-left:10px}.kpi-color-rules-configuration__selector-arrow{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-left:1px solid;border-left-color:var(--nui-color-line-default,#d9d9d9);margin-left:10px}.kpi-color-rule{background-color:var(--nui-color-bg-content,#fff)}.kpi-color-rule__drag{cursor:move}.kpi-color-rule__control{min-width:30px;height:30px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i3.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i3.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }, { type: i3.TextboxComponent, selector: "nui-textbox", inputs: ["autocomplete", "disabled", "hint", "placeholder", "readonly", "rows", "type", "isInErrorState", "ariaLabel", "value", "caption", "info", "customBoxWidth", "name", "isBusy"], outputs: ["textChange", "blurred"] }, { type: ColorPickerComponent, selector: "nui-color-picker", inputs: ["colors", "colorPalette", "cols"] }, { type: i3.ButtonComponent, selector: "[nui-button]", inputs: ["ariaLabel", "isRepeat", "iconColor", "size", "displayStyle", "icon", "iconRight", "isBusy", "isEmpty"] }, { type: DropAreaComponent, selector: "nui-drop-area" }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i5.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "id", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListAutoScrollDisabled", "cdkDropListOrientation", "cdkDropListLockAxis", "cdkDropListData", "cdkDropListAutoScrollStep"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i5.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragDisabled", "cdkDragStartDelay", "cdkDragLockAxis", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragBoundary", "cdkDragRootElement", "cdkDragPreviewContainer", "cdkDragData", "cdkDragFreeDragPosition"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i5.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i5.CdkDragPlaceholder, selector: "ng-template[cdkDragPlaceholder]", inputs: ["data"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": FormHeaderIconPipePipe, "keyvalue": i4.KeyValuePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
10782
10936
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: BackgroundColorRulesConfigurationComponent, decorators: [{
|
|
10783
10937
|
type: Component,
|
|
10784
10938
|
args: [{
|
|
@@ -10988,7 +11142,7 @@ class DataSourceConfigurationV2Component {
|
|
|
10988
11142
|
}
|
|
10989
11143
|
DataSourceConfigurationV2Component.lateLoadKey = "DataSourceConfigurationV2Component";
|
|
10990
11144
|
/** @nocollapse */ DataSourceConfigurationV2Component.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DataSourceConfigurationV2Component, deps: [{ token: i0.ChangeDetectorRef }, { token: ConfiguratorHeadingService }, { token: i1$2.FormBuilder }, { token: ProviderRegistryService }, { token: PIZZAGNA_EVENT_BUS }, { token: i0.Injector }, { token: i3.LoggerService }], target: i0.ɵɵFactoryTarget.Component });
|
|
10991
|
-
/** @nocollapse */ DataSourceConfigurationV2Component.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: DataSourceConfigurationV2Component, selector: "nui-data-source-configuration", inputs: { dataSourceProviders: "dataSourceProviders", properties: "properties", providerId: "providerId", errorComponent: "errorComponent" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<nui-widget-editor-accordion\n [formGroup]=\"form\"\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\"\n>\n <div accordionHeader class=\"d-flex align-items-center pl-4 py-2\">\n <nui-icon\n class=\"align-self-start pt-2\"\n [icon]=\"form | nuiFormHeaderIconPipe: 'database' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt1\">\n <span class=\"nui-text-label\" i18n>Data Source</span>\n <div\n class=\"nui-text-secondary\"\n [title]=\"form.get('dataSource')?.value?.label\"\n >\n {{ form.get(\"dataSource\")?.value?.label }}\n </div>\n </div>\n </div>\n <div class=\"datasource-configuration__accordion-content\">\n <nui-form-field [control]=\"form.get('dataSource')\">\n <nui-select-v2\n placeholder=\"Select data source\"\n i18n-placeholder\n [title]=\"form.get('dataSource')?.value?.label\"\n [popupViewportMargin]=\"configuratorHeading.height$ | async\"\n formControlName=\"dataSource\"\n (valueSelected)=\"onDataSourceSelected($event)\"\n class=\"datasource-configuration__accordion-content__datasource-input\"\n >\n <nui-select-v2-option\n *ngFor=\"let dataSourceProvider of dataSourceProviders\"\n [title]=\"dataSourceProvider?.label\"\n [value]=\"dataSourceProvider\"\n >\n {{ dataSourceProvider.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n <ng-container\n nuiComponentPortal\n [componentId]=\"errorComponent\"\n [componentType]=\"errorComponent\"\n [outputs]=\"['errorState']\"\n [properties]=\"{ dataSource: dataSource }\"\n (output)=\"onErrorState($event.payload)\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n >\n </ng-template>\n </ng-container>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".datasource-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i3.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i3.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type:
|
|
11145
|
+
/** @nocollapse */ DataSourceConfigurationV2Component.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: DataSourceConfigurationV2Component, selector: "nui-data-source-configuration", inputs: { dataSourceProviders: "dataSourceProviders", properties: "properties", providerId: "providerId", errorComponent: "errorComponent" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<nui-widget-editor-accordion\n [formGroup]=\"form\"\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\"\n>\n <div accordionHeader class=\"d-flex align-items-center pl-4 py-2\">\n <nui-icon\n class=\"align-self-start pt-2\"\n [icon]=\"form | nuiFormHeaderIconPipe: 'database' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt1\">\n <span class=\"nui-text-label\" i18n>Data Source</span>\n <div\n class=\"nui-text-secondary\"\n [title]=\"form.get('dataSource')?.value?.label\"\n >\n {{ form.get(\"dataSource\")?.value?.label }}\n </div>\n </div>\n </div>\n <div class=\"datasource-configuration__accordion-content\">\n <nui-form-field [control]=\"form.get('dataSource')\">\n <nui-select-v2\n placeholder=\"Select data source\"\n i18n-placeholder\n [title]=\"form.get('dataSource')?.value?.label\"\n [popupViewportMargin]=\"configuratorHeading.height$ | async\"\n formControlName=\"dataSource\"\n (valueSelected)=\"onDataSourceSelected($event)\"\n class=\"datasource-configuration__accordion-content__datasource-input\"\n >\n <nui-select-v2-option\n *ngFor=\"let dataSourceProvider of dataSourceProviders\"\n [title]=\"dataSourceProvider?.label\"\n [value]=\"dataSourceProvider\"\n >\n {{ dataSourceProvider.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n <ng-container\n nuiComponentPortal\n [componentId]=\"errorComponent\"\n [componentType]=\"errorComponent\"\n [outputs]=\"['errorState']\"\n [properties]=\"{ dataSource: dataSource }\"\n (output)=\"onErrorState($event.payload)\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n >\n </ng-template>\n </ng-container>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".datasource-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i3.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i3.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i6.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": FormHeaderIconPipePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
10992
11146
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DataSourceConfigurationV2Component, decorators: [{
|
|
10993
11147
|
type: Component,
|
|
10994
11148
|
args: [{
|
|
@@ -11107,7 +11261,7 @@ class DataSourceConfigurationComponent {
|
|
|
11107
11261
|
}
|
|
11108
11262
|
DataSourceConfigurationComponent.lateLoadKey = "DataSourceConfigurationComponent";
|
|
11109
11263
|
/** @nocollapse */ DataSourceConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DataSourceConfigurationComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: ConfiguratorHeadingService }, { token: i1$2.FormBuilder }, { token: ProviderRegistryService }, { token: PIZZAGNA_EVENT_BUS }, { token: i0.Injector }, { token: i3.LoggerService }], target: i0.ɵɵFactoryTarget.Component });
|
|
11110
|
-
/** @nocollapse */ DataSourceConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: DataSourceConfigurationComponent, selector: "nui-data-source-configuration", inputs: { dataSourceProviders: "dataSourceProviders", errorComponent: "errorComponent", properties: "properties", providerId: "providerId" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<nui-widget-editor-accordion\n [formGroup]=\"form\"\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\"\n>\n <div accordionHeader class=\"d-flex align-items-center pl-4 py-2\">\n <nui-icon\n class=\"align-self-start pt-2\"\n [icon]=\"form | nuiFormHeaderIconPipe: 'database' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt1\">\n <span class=\"nui-text-label\" i18n>Data Source</span>\n <div\n class=\"nui-text-secondary\"\n [title]=\"form.get('providerId')?.value\"\n >\n {{ form.get(\"providerId\")?.value }}\n </div>\n </div>\n </div>\n <div class=\"datasource-configuration__accordion-content\">\n <nui-form-field\n caption=\"Select Data Source\"\n i18n-caption\n [control]=\"form.get('providerId')\"\n >\n <nui-select-v2\n placeholder=\"Data Sources\"\n i18n-placeholder\n [title]=\"form.get('providerId')?.value\"\n formControlName=\"providerId\"\n [popupViewportMargin]=\"configuratorHeading.height$ | async\"\n (valueSelected)=\"onDataSourceChange($event)\"\n class=\"datasource-configuration__accordion-content__datasource-input\"\n >\n <nui-select-v2-option\n *ngFor=\"let dataSourceProvider of dataSourceProviders\"\n [title]=\"dataSourceProvider\"\n [value]=\"dataSourceProvider\"\n >\n {{ dataSourceProvider }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n <ng-container\n nuiComponentPortal\n [componentId]=\"errorComponent\"\n [componentType]=\"errorComponent\"\n [outputs]=\"['errorState']\"\n [properties]=\"{ dataSource: dataSource }\"\n (output)=\"onErrorState($event.payload)\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n >\n </ng-template>\n </ng-container>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".datasource-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i3.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i3.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type:
|
|
11264
|
+
/** @nocollapse */ DataSourceConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: DataSourceConfigurationComponent, selector: "nui-data-source-configuration", inputs: { dataSourceProviders: "dataSourceProviders", errorComponent: "errorComponent", properties: "properties", providerId: "providerId" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<nui-widget-editor-accordion\n [formGroup]=\"form\"\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\"\n>\n <div accordionHeader class=\"d-flex align-items-center pl-4 py-2\">\n <nui-icon\n class=\"align-self-start pt-2\"\n [icon]=\"form | nuiFormHeaderIconPipe: 'database' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt1\">\n <span class=\"nui-text-label\" i18n>Data Source</span>\n <div\n class=\"nui-text-secondary\"\n [title]=\"form.get('providerId')?.value\"\n >\n {{ form.get(\"providerId\")?.value }}\n </div>\n </div>\n </div>\n <div class=\"datasource-configuration__accordion-content\">\n <nui-form-field\n caption=\"Select Data Source\"\n i18n-caption\n [control]=\"form.get('providerId')\"\n >\n <nui-select-v2\n placeholder=\"Data Sources\"\n i18n-placeholder\n [title]=\"form.get('providerId')?.value\"\n formControlName=\"providerId\"\n [popupViewportMargin]=\"configuratorHeading.height$ | async\"\n (valueSelected)=\"onDataSourceChange($event)\"\n class=\"datasource-configuration__accordion-content__datasource-input\"\n >\n <nui-select-v2-option\n *ngFor=\"let dataSourceProvider of dataSourceProviders\"\n [title]=\"dataSourceProvider\"\n [value]=\"dataSourceProvider\"\n >\n {{ dataSourceProvider }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n <ng-container\n nuiComponentPortal\n [componentId]=\"errorComponent\"\n [componentType]=\"errorComponent\"\n [outputs]=\"['errorState']\"\n [properties]=\"{ dataSource: dataSource }\"\n (output)=\"onErrorState($event.payload)\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n >\n </ng-template>\n </ng-container>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".datasource-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i3.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i3.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i6.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": FormHeaderIconPipePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
11111
11265
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DataSourceConfigurationComponent, decorators: [{
|
|
11112
11266
|
type: Component,
|
|
11113
11267
|
args: [{
|
|
@@ -11239,7 +11393,7 @@ class EmbeddedContentConfigurationComponent {
|
|
|
11239
11393
|
}
|
|
11240
11394
|
EmbeddedContentConfigurationComponent.lateLoadKey = "EmbeddedContentConfigurationComponent";
|
|
11241
11395
|
/** @nocollapse */ EmbeddedContentConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EmbeddedContentConfigurationComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$2.FormBuilder }], target: i0.ɵɵFactoryTarget.Component });
|
|
11242
|
-
/** @nocollapse */ EmbeddedContentConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: EmbeddedContentConfigurationComponent, selector: "nui-embedded-content-configuration", inputs: { mode: "mode", messageComponent: "messageComponent", customEmbeddedContent: "customEmbeddedContent" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<nui-widget-editor-accordion\n [formGroup]=\"form\"\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\"\n>\n <div accordionHeader class=\"d-flex align-items-center pl-4 py-2\">\n <nui-icon\n class=\"align-self-start pt-2\"\n [icon]=\"form | nuiFormHeaderIconPipe: 'tag' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt1\">\n <span class=\"nui-text-label\" i18n>Embedded Content</span>\n <div class=\"nui-text-secondary\">\n Show the specific HTML I supply\n </div>\n </div>\n </div>\n <div class=\"embedded-configurator-section__accordion-content\">\n <ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n [componentType]=\"messageComponent.componentType\"\n [properties]=\"messageComponent.properties\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n <nui-form-field\n [control]=\"form.get('mode')\"\n caption=\"What do you want to show in the widget?\"\n i18n-caption\n >\n <nui-radio-group\n formControlName=\"mode\"\n [(value)]=\"mode\"\n name=\"mode\"\n required\n >\n <nui-radio [value]=\"modes[0].value\">\n {{ modes[0].displayValue }}\n </nui-radio>\n <nui-form-field [control]=\"form.get('urlCustomContent')\">\n <nui-textbox formControlName=\"urlCustomContent\">\n </nui-textbox>\n </nui-form-field>\n <nui-radio [value]=\"modes[1].value\">\n {{ modes[1].displayValue }}\n </nui-radio>\n <nui-form-field [control]=\"form.get('htmlCustomContent')\">\n <nui-textbox\n class=\"textarea-scrollable\"\n formControlName=\"htmlCustomContent\"\n rows=\"7\"\n >\n </nui-textbox>\n </nui-form-field>\n </nui-radio-group>\n </nui-form-field>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".embedded-configurator-section__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i3.RadioGroupComponent, selector: "nui-radio-group", inputs: ["ariaLabel", "value", "disabled", "name"], outputs: ["valueChange"] }, { type: i3.RadioComponent, selector: "nui-radio", inputs: ["checked", "ariaLabel", "disabled", "hovered", "value", "hint"], outputs: ["valueChange"] }, { type: i3.TextboxComponent, selector: "nui-textbox", inputs: ["autocomplete", "disabled", "hint", "placeholder", "readonly", "rows", "type", "isInErrorState", "ariaLabel", "value", "caption", "info", "customBoxWidth", "name", "isBusy"], outputs: ["textChange", "blurred"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type:
|
|
11396
|
+
/** @nocollapse */ EmbeddedContentConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: EmbeddedContentConfigurationComponent, selector: "nui-embedded-content-configuration", inputs: { mode: "mode", messageComponent: "messageComponent", customEmbeddedContent: "customEmbeddedContent" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<nui-widget-editor-accordion\n [formGroup]=\"form\"\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\"\n>\n <div accordionHeader class=\"d-flex align-items-center pl-4 py-2\">\n <nui-icon\n class=\"align-self-start pt-2\"\n [icon]=\"form | nuiFormHeaderIconPipe: 'tag' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt1\">\n <span class=\"nui-text-label\" i18n>Embedded Content</span>\n <div class=\"nui-text-secondary\">\n Show the specific HTML I supply\n </div>\n </div>\n </div>\n <div class=\"embedded-configurator-section__accordion-content\">\n <ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n [componentType]=\"messageComponent.componentType\"\n [properties]=\"messageComponent.properties\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n <nui-form-field\n [control]=\"form.get('mode')\"\n caption=\"What do you want to show in the widget?\"\n i18n-caption\n >\n <nui-radio-group\n formControlName=\"mode\"\n [(value)]=\"mode\"\n name=\"mode\"\n required\n >\n <nui-radio [value]=\"modes[0].value\">\n {{ modes[0].displayValue }}\n </nui-radio>\n <nui-form-field [control]=\"form.get('urlCustomContent')\">\n <nui-textbox formControlName=\"urlCustomContent\">\n </nui-textbox>\n </nui-form-field>\n <nui-radio [value]=\"modes[1].value\">\n {{ modes[1].displayValue }}\n </nui-radio>\n <nui-form-field [control]=\"form.get('htmlCustomContent')\">\n <nui-textbox\n class=\"textarea-scrollable\"\n formControlName=\"htmlCustomContent\"\n rows=\"7\"\n >\n </nui-textbox>\n </nui-form-field>\n </nui-radio-group>\n </nui-form-field>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".embedded-configurator-section__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i3.RadioGroupComponent, selector: "nui-radio-group", inputs: ["ariaLabel", "value", "disabled", "name"], outputs: ["valueChange"] }, { type: i3.RadioComponent, selector: "nui-radio", inputs: ["checked", "ariaLabel", "disabled", "hovered", "value", "hint"], outputs: ["valueChange"] }, { type: i3.TextboxComponent, selector: "nui-textbox", inputs: ["autocomplete", "disabled", "hint", "placeholder", "readonly", "rows", "type", "isInErrorState", "ariaLabel", "value", "caption", "info", "customBoxWidth", "name", "isBusy"], outputs: ["textChange", "blurred"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i6.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i1$2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": FormHeaderIconPipePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
11243
11397
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EmbeddedContentConfigurationComponent, decorators: [{
|
|
11244
11398
|
type: Component,
|
|
11245
11399
|
args: [{
|
|
@@ -12648,7 +12802,7 @@ class ProportionalChartOptionsEditorComponent {
|
|
|
12648
12802
|
}
|
|
12649
12803
|
ProportionalChartOptionsEditorComponent.lateLoadKey = "ProportionalChartOptionsEditorComponent";
|
|
12650
12804
|
/** @nocollapse */ ProportionalChartOptionsEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ProportionalChartOptionsEditorComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: ConfiguratorHeadingService }, { token: i1$2.FormBuilder }], target: i0.ɵɵFactoryTarget.Component });
|
|
12651
|
-
/** @nocollapse */ ProportionalChartOptionsEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ProportionalChartOptionsEditorComponent, selector: "nui-proportional-chart-options-editor-component", inputs: { chartOptions: "chartOptions", chartType: "chartType", legendPlacement: "legendPlacement", legendFormatterComponentType: "legendFormatterComponentType", contentFormatterComponentType: "contentFormatterComponentType", contentFormatterProperties: "contentFormatterProperties", dsOutput: "dsOutput" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<nui-widget-editor-accordion\n [formGroup]=\"form\"\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\"\n>\n <div accordionHeader class=\"d-flex align-items-center px-4 py-2\">\n <nui-icon\n class=\"align-self-start pt-2\"\n [icon]=\"form | nuiFormHeaderIconPipe: 'widget_pie-chart' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n>Chart Options</span>\n <div class=\"nui-text-secondary\" [title]=\"chartTitle\">\n {{ chartTitle }}\n </div>\n </div>\n </div>\n <div\n class=\"proportional-widget-chart-options-configuration__accordion-content\"\n >\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Chart Type\"\n i18n-caption\n [control]=\"form.controls['type']\"\n >\n <nui-select-v2\n formControlName=\"type\"\n [popupViewportMargin]=\"configuratorHeading.height$ | async\"\n placeholder=\"Select chart type\"\n i18n-placeholder\n >\n <nui-select-v2-option\n *ngFor=\"\n let chartTypeSelectViewModel of chartTypeSelectViewModels\n \"\n [value]=\"chartTypeSelectViewModel.value\"\n >\n {{ chartTypeSelectViewModel.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n\n <!-- Donut chart content formatter -->\n <div class=\"mb-4\">\n <ng-container\n formGroupName=\"contentFormatter\"\n *ngIf=\"form.get('type')?.value === 'DonutChart'\"\n >\n <nui-form-field\n caption=\"Content format\"\n i18n-caption\n class=\"mb-4\"\n [showOptionalText]=\"false\"\n [control]=\"form.controls['componentType']\"\n >\n <nui-select-v2\n formControlName=\"componentType\"\n [popupViewportMargin]=\"\n configuratorHeading.height$ | async\n \"\n >\n <nui-select-v2-option\n *ngFor=\"let contentFormatter of contentFormatters\"\n [value]=\"contentFormatter.componentType\"\n >\n {{ contentFormatter.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n\n <!-- Donut formatter configurator's portal goes here. Make form working in scope of NUI-5014 -->\n <ng-container\n *ngIf=\"!!this.getConfigurationComponent()\"\n nuiComponentPortal\n [componentId]=\"this.getConfigurationComponent()\"\n [componentType]=\"this.getConfigurationComponent()\"\n [properties]=\"configurationComponentProperties\"\n #componentPortal=\"nuiComponentPortal\"\n [outputs]=\"['formReady']\"\n (output)=\"onFormReady($event.payload)\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n </ng-container>\n </div>\n\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Legend\"\n i18n-caption\n [showOptionalText]=\"false\"\n [control]=\"form.controls['legendPlacement']\"\n >\n <nui-select-v2\n formControlName=\"legendPlacement\"\n [popupViewportMargin]=\"configuratorHeading.height$ | async\"\n >\n <nui-select-v2-option\n *ngFor=\"\n let option of chartOptions.legendPlacementOptions\n \"\n [value]=\"option.id\"\n >\n {{ option.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n <ng-container formGroupName=\"legendFormatter\">\n <nui-form-field\n caption=\"Legend format\"\n i18n-caption\n [showOptionalText]=\"false\"\n [control]=\"form.controls['componentType']\"\n >\n <nui-select-v2\n formControlName=\"componentType\"\n [popupViewportMargin]=\"configuratorHeading.height$ | async\"\n >\n <nui-select-v2-option\n *ngFor=\"let legendFormatter of legendFormatters\"\n [value]=\"legendFormatter.componentType\"\n >\n {{ legendFormatter.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </ng-container>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".proportional-widget-chart-options-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i3.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i3.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }, { type: i3.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$2.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type:
|
|
12805
|
+
/** @nocollapse */ ProportionalChartOptionsEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: ProportionalChartOptionsEditorComponent, selector: "nui-proportional-chart-options-editor-component", inputs: { chartOptions: "chartOptions", chartType: "chartType", legendPlacement: "legendPlacement", legendFormatterComponentType: "legendFormatterComponentType", contentFormatterComponentType: "contentFormatterComponentType", contentFormatterProperties: "contentFormatterProperties", dsOutput: "dsOutput" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<nui-widget-editor-accordion\n [formGroup]=\"form\"\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\"\n>\n <div accordionHeader class=\"d-flex align-items-center px-4 py-2\">\n <nui-icon\n class=\"align-self-start pt-2\"\n [icon]=\"form | nuiFormHeaderIconPipe: 'widget_pie-chart' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n>Chart Options</span>\n <div class=\"nui-text-secondary\" [title]=\"chartTitle\">\n {{ chartTitle }}\n </div>\n </div>\n </div>\n <div\n class=\"proportional-widget-chart-options-configuration__accordion-content\"\n >\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Chart Type\"\n i18n-caption\n [control]=\"form.controls['type']\"\n >\n <nui-select-v2\n formControlName=\"type\"\n [popupViewportMargin]=\"configuratorHeading.height$ | async\"\n placeholder=\"Select chart type\"\n i18n-placeholder\n >\n <nui-select-v2-option\n *ngFor=\"\n let chartTypeSelectViewModel of chartTypeSelectViewModels\n \"\n [value]=\"chartTypeSelectViewModel.value\"\n >\n {{ chartTypeSelectViewModel.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n\n <!-- Donut chart content formatter -->\n <div class=\"mb-4\">\n <ng-container\n formGroupName=\"contentFormatter\"\n *ngIf=\"form.get('type')?.value === 'DonutChart'\"\n >\n <nui-form-field\n caption=\"Content format\"\n i18n-caption\n class=\"mb-4\"\n [showOptionalText]=\"false\"\n [control]=\"form.controls['componentType']\"\n >\n <nui-select-v2\n formControlName=\"componentType\"\n [popupViewportMargin]=\"\n configuratorHeading.height$ | async\n \"\n >\n <nui-select-v2-option\n *ngFor=\"let contentFormatter of contentFormatters\"\n [value]=\"contentFormatter.componentType\"\n >\n {{ contentFormatter.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n\n <!-- Donut formatter configurator's portal goes here. Make form working in scope of NUI-5014 -->\n <ng-container\n *ngIf=\"!!this.getConfigurationComponent()\"\n nuiComponentPortal\n [componentId]=\"this.getConfigurationComponent()\"\n [componentType]=\"this.getConfigurationComponent()\"\n [properties]=\"configurationComponentProperties\"\n #componentPortal=\"nuiComponentPortal\"\n [outputs]=\"['formReady']\"\n (output)=\"onFormReady($event.payload)\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n </ng-container>\n </div>\n\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Legend\"\n i18n-caption\n [showOptionalText]=\"false\"\n [control]=\"form.controls['legendPlacement']\"\n >\n <nui-select-v2\n formControlName=\"legendPlacement\"\n [popupViewportMargin]=\"configuratorHeading.height$ | async\"\n >\n <nui-select-v2-option\n *ngFor=\"\n let option of chartOptions.legendPlacementOptions\n \"\n [value]=\"option.id\"\n >\n {{ option.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n <ng-container formGroupName=\"legendFormatter\">\n <nui-form-field\n caption=\"Legend format\"\n i18n-caption\n [showOptionalText]=\"false\"\n [control]=\"form.controls['componentType']\"\n >\n <nui-select-v2\n formControlName=\"componentType\"\n [popupViewportMargin]=\"configuratorHeading.height$ | async\"\n >\n <nui-select-v2-option\n *ngFor=\"let legendFormatter of legendFormatters\"\n [value]=\"legendFormatter.componentType\"\n >\n {{ legendFormatter.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </ng-container>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".proportional-widget-chart-options-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i3.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i3.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }, { type: i3.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$2.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i6.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": FormHeaderIconPipePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
12652
12806
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: ProportionalChartOptionsEditorComponent, decorators: [{
|
|
12653
12807
|
type: Component,
|
|
12654
12808
|
args: [{
|
|
@@ -12776,7 +12930,7 @@ class DonutContentConfigurationComponent {
|
|
|
12776
12930
|
}
|
|
12777
12931
|
DonutContentConfigurationComponent.lateLoadKey = "DonutContentConfigurationComponent";
|
|
12778
12932
|
/** @nocollapse */ DonutContentConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DonutContentConfigurationComponent, deps: [{ token: i1$2.FormBuilder }, { token: i0.ChangeDetectorRef }, { token: PIZZAGNA_EVENT_BUS }, { token: ProportionalDonutContentFormattersRegistryService }, { token: ProportionalContentAggregatorsRegistryService }], target: i0.ɵɵFactoryTarget.Component });
|
|
12779
|
-
/** @nocollapse */ DonutContentConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: DonutContentConfigurationComponent, selector: "nui-donut-content-configuration", inputs: { chartType: "chartType", formatter: "formatter", aggregator: "aggregator" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"shown\" [formGroup]=\"form\">\n <nui-widget-editor-accordion\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\"\n >\n <div accordionHeader class=\"d-flex align-items-center px-4 py-2\">\n <nui-icon\n class=\"align-self-start pt-2\"\n [icon]=\"form | nuiFormHeaderIconPipe: 'customize' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n\n >Donut Content Configuration</span\n >\n <div class=\"nui-text-secondary\" [title]=\"subtitleText\">\n {{ subtitleText }}\n </div>\n </div>\n </div>\n\n <div class=\"donut-content-configuration__accordion-content\">\n <!-- aggregator -->\n <div class=\"mb-4\" formGroupName=\"aggregator\">\n <nui-form-field\n caption=\"Aggregate\"\n i18n-caption\n [control]=\"form.get('aggregator.aggregatorType')\"\n >\n <nui-select-v2\n placeholder=\"Select Format\"\n i18n-placeholder\n formControlName=\"aggregatorType\"\n >\n <nui-select-v2-option\n *ngFor=\"let aggregator of aggregators\"\n [displayValueContext]=\"aggregator.label\"\n [value]=\"aggregator.aggregatorType\"\n >\n {{ aggregator.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n </div>\n\n <!-- formatter -->\n <div class=\"mb-4\" formGroupName=\"formatter\">\n <nui-form-field\n caption=\"Format\"\n i18n-caption\n [control]=\"form.get('formatter.componentType')\"\n >\n <nui-select-v2\n placeholder=\"Select Format\"\n i18n-placeholder\n formControlName=\"componentType\"\n >\n <nui-select-v2-option\n *ngFor=\"let formatter of formatters\"\n [displayValueContext]=\"formatter.label\"\n [value]=\"formatter.componentType\"\n >\n {{ formatter.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n </div>\n\n <!-- aggregator configuration component -->\n <ng-container\n *ngIf=\"currentAggregatorDefinition?.configurationComponent\"\n nuiComponentPortal\n componentId=\"formatterConfigurator\"\n [componentType]=\"\n currentAggregatorDefinition?.configurationComponent\n \"\n [properties]=\"aggregatorConfiguratorProps\"\n [outputs]=\"['formReady']\"\n (output)=\"onFormReady('aggregator', $event.payload)\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n\n <!-- formatter configuration component -->\n <ng-container\n *ngIf=\"currentFormatterDefinition?.configurationComponent\"\n nuiComponentPortal\n componentId=\"formatterConfigurator\"\n [componentType]=\"\n currentFormatterDefinition?.configurationComponent\n \"\n [properties]=\"formatterConfiguratorProps\"\n [outputs]=\"['formReady']\"\n (output)=\"onFormReady('formatter', $event.payload)\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n </div>\n </nui-widget-editor-accordion>\n</ng-container>\n", styles: [".donut-content-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i3.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i3.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type:
|
|
12933
|
+
/** @nocollapse */ DonutContentConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: DonutContentConfigurationComponent, selector: "nui-donut-content-configuration", inputs: { chartType: "chartType", formatter: "formatter", aggregator: "aggregator" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"shown\" [formGroup]=\"form\">\n <nui-widget-editor-accordion\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\"\n >\n <div accordionHeader class=\"d-flex align-items-center px-4 py-2\">\n <nui-icon\n class=\"align-self-start pt-2\"\n [icon]=\"form | nuiFormHeaderIconPipe: 'customize' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n\n >Donut Content Configuration</span\n >\n <div class=\"nui-text-secondary\" [title]=\"subtitleText\">\n {{ subtitleText }}\n </div>\n </div>\n </div>\n\n <div class=\"donut-content-configuration__accordion-content\">\n <!-- aggregator -->\n <div class=\"mb-4\" formGroupName=\"aggregator\">\n <nui-form-field\n caption=\"Aggregate\"\n i18n-caption\n [control]=\"form.get('aggregator.aggregatorType')\"\n >\n <nui-select-v2\n placeholder=\"Select Format\"\n i18n-placeholder\n formControlName=\"aggregatorType\"\n >\n <nui-select-v2-option\n *ngFor=\"let aggregator of aggregators\"\n [displayValueContext]=\"aggregator.label\"\n [value]=\"aggregator.aggregatorType\"\n >\n {{ aggregator.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n </div>\n\n <!-- formatter -->\n <div class=\"mb-4\" formGroupName=\"formatter\">\n <nui-form-field\n caption=\"Format\"\n i18n-caption\n [control]=\"form.get('formatter.componentType')\"\n >\n <nui-select-v2\n placeholder=\"Select Format\"\n i18n-placeholder\n formControlName=\"componentType\"\n >\n <nui-select-v2-option\n *ngFor=\"let formatter of formatters\"\n [displayValueContext]=\"formatter.label\"\n [value]=\"formatter.componentType\"\n >\n {{ formatter.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n </div>\n\n <!-- aggregator configuration component -->\n <ng-container\n *ngIf=\"currentAggregatorDefinition?.configurationComponent\"\n nuiComponentPortal\n componentId=\"formatterConfigurator\"\n [componentType]=\"\n currentAggregatorDefinition?.configurationComponent\n \"\n [properties]=\"aggregatorConfiguratorProps\"\n [outputs]=\"['formReady']\"\n (output)=\"onFormReady('aggregator', $event.payload)\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n\n <!-- formatter configuration component -->\n <ng-container\n *ngIf=\"currentFormatterDefinition?.configurationComponent\"\n nuiComponentPortal\n componentId=\"formatterConfigurator\"\n [componentType]=\"\n currentFormatterDefinition?.configurationComponent\n \"\n [properties]=\"formatterConfiguratorProps\"\n [outputs]=\"['formReady']\"\n (output)=\"onFormReady('formatter', $event.payload)\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n </div>\n </nui-widget-editor-accordion>\n</ng-container>\n", styles: [".donut-content-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i3.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i3.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i6.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": FormHeaderIconPipePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
12780
12934
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DonutContentConfigurationComponent, decorators: [{
|
|
12781
12935
|
type: Component,
|
|
12782
12936
|
args: [{
|
|
@@ -13200,7 +13354,7 @@ PresentationConfigurationV2Component.lateLoadKey = "PresentationConfigurationV2C
|
|
|
13200
13354
|
useExisting: forwardRef((() => PresentationConfigurationV2Component)),
|
|
13201
13355
|
multi: true,
|
|
13202
13356
|
},
|
|
13203
|
-
], usesOnChanges: true, ngImport: i0, template: "<ng-container [formGroup]=\"form\">\n <nui-widget-editor-accordion\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\"\n >\n <div accordionHeader class=\"d-flex align-items-center px-4 py-2\">\n <nui-icon\n class=\"align-self-start pt-2\"\n [icon]=\"form | nuiFormHeaderIconPipe: 'customize' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n>Property and formatting</span>\n <div class=\"nui-text-secondary\" [title]=\"subtitleText\">\n {{ subtitleText }}\n </div>\n </div>\n </div>\n <div class=\"presentation-configuration__accordion-content\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Format\"\n i18n-caption\n [control]=\"form.controls['componentType']\"\n >\n <nui-select-v2\n placeholder=\"Select Format\"\n i18n-placeholder\n [popupViewportMargin]=\"\n configuratorHeading.height$ | async\n \"\n formControlName=\"componentType\"\n >\n <nui-select-v2-option\n *ngFor=\"let formatter of formatters\"\n [displayValueContext]=\"formatter.label\"\n [value]=\"formatter.componentType\"\n >\n {{ formatter.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n </div>\n <ng-container\n *ngIf=\"formatterConfigurator\"\n nuiComponentPortal\n componentId=\"formatterConfigurator\"\n [componentType]=\"formatterConfigurator\"\n [properties]=\"formatterConfiguratorProps\"\n [outputs]=\"['formReady']\"\n (output)=\"onFormReady($event.payload)\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n </div>\n </nui-widget-editor-accordion>\n</ng-container>\n", styles: [".presentation-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i3.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i3.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type:
|
|
13357
|
+
], usesOnChanges: true, ngImport: i0, template: "<ng-container [formGroup]=\"form\">\n <nui-widget-editor-accordion\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\"\n >\n <div accordionHeader class=\"d-flex align-items-center px-4 py-2\">\n <nui-icon\n class=\"align-self-start pt-2\"\n [icon]=\"form | nuiFormHeaderIconPipe: 'customize' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n>Property and formatting</span>\n <div class=\"nui-text-secondary\" [title]=\"subtitleText\">\n {{ subtitleText }}\n </div>\n </div>\n </div>\n <div class=\"presentation-configuration__accordion-content\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Format\"\n i18n-caption\n [control]=\"form.controls['componentType']\"\n >\n <nui-select-v2\n placeholder=\"Select Format\"\n i18n-placeholder\n [popupViewportMargin]=\"\n configuratorHeading.height$ | async\n \"\n formControlName=\"componentType\"\n >\n <nui-select-v2-option\n *ngFor=\"let formatter of formatters\"\n [displayValueContext]=\"formatter.label\"\n [value]=\"formatter.componentType\"\n >\n {{ formatter.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n </div>\n <ng-container\n *ngIf=\"formatterConfigurator\"\n nuiComponentPortal\n componentId=\"formatterConfigurator\"\n [componentType]=\"formatterConfigurator\"\n [properties]=\"formatterConfiguratorProps\"\n [outputs]=\"['formReady']\"\n (output)=\"onFormReady($event.payload)\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n </div>\n </nui-widget-editor-accordion>\n</ng-container>\n", styles: [".presentation-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i3.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i3.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i6.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": FormHeaderIconPipePipe }, viewProviders: [
|
|
13204
13358
|
{ provide: ControlContainer, useExisting: FormGroupDirective },
|
|
13205
13359
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
13206
13360
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: PresentationConfigurationV2Component, decorators: [{
|
|
@@ -13540,7 +13694,7 @@ class TableColumnsConfigurationV2Component {
|
|
|
13540
13694
|
}
|
|
13541
13695
|
TableColumnsConfigurationV2Component.lateLoadKey = "TableColumnsConfigurationV2Component";
|
|
13542
13696
|
/** @nocollapse */ TableColumnsConfigurationV2Component.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TableColumnsConfigurationV2Component, deps: [{ token: i1$2.FormBuilder }, { token: i0.ChangeDetectorRef }, { token: i3.DialogService }, { token: PizzagnaService }, { token: ConfiguratorDataSourceManagerService }, { token: TableFormatterRegistryService }, { token: PIZZAGNA_EVENT_BUS }], target: i0.ɵɵFactoryTarget.Component });
|
|
13543
|
-
/** @nocollapse */ TableColumnsConfigurationV2Component.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: TableColumnsConfigurationV2Component, selector: "nui-table-columns-configuration", inputs: { columns: "columns", componentId: "componentId", template: "template" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"nui-table-columns-configuration\">\n <div\n *ngIf=\"!dataSourceError && dataSourceFields.length\"\n cdkDropList\n (cdkDropListDropped)=\"drop($event)\"\n [formGroup]=\"form\"\n >\n <div formArrayName=\"columns\">\n <div\n cdkDrag\n (cdkDragStarted)=\"cdkDragStarted($event)\"\n class=\"nui-table-columns-configuration__node-item\"\n *ngFor=\"\n let columnForm of columnForms;\n index as i;\n trackBy: trackBy\n \"\n >\n <nui-drop-area\n class=\"nui-table-columns-configuration__drop-area\"\n *cdkDragPlaceholder\n [style.height.px]=\"draggedItemHeight\"\n ></nui-drop-area>\n\n <ng-template #headerText>\n <ng-container>\n <div\n class=\"nui-table-columns-configuration__drag-handler\"\n cdkDragHandle\n >\n <nui-icon icon=\"drag\"></nui-icon>\n </div>\n </ng-container>\n <span\n class=\"nui-table-columns-configuration__header-text\"\n [title]=\"\n columnForm?.value.label\n | nuiWidgetConfiguratorSectionHeader\n : i\n : columnLabel\n \"\n >\n {{\n columnForm?.value.label\n | nuiWidgetConfiguratorSectionHeader\n : i\n : columnLabel\n }}\n </span>\n </ng-template>\n\n <ng-template #headerButtons>\n <div class=\"d-flex\">\n <button\n id=\"table-widget-remove-column-btn-{{ i }}\"\n nui-button\n type=\"button\"\n icon=\"delete\"\n displayStyle=\"action\"\n (click)=\"removeItem(i)\"\n ></button>\n </div>\n </ng-template>\n\n <nui-widget-configurator-section\n class=\"no-margin\"\n [headerTextTemplate]=\"headerText\"\n [headerButtonsTemplate]=\"headerButtons\"\n >\n <nui-table-column-configuration\n [formControl]=\"columnForm\"\n [isWidthMessageDisplayed]=\"isWidthMessageDisplayed\"\n ></nui-table-column-configuration>\n </nui-widget-configurator-section>\n </div>\n\n <div\n class=\"pl-4 pr-4\"\n *ngIf=\"(emptyColumns$ | async) && form.touched\"\n >\n <nui-message type=\"critical\" [allowDismiss]=\"false\">\n <b i18n>At least one column must be added.</b>\n </nui-message>\n </div>\n\n <button\n nui-button\n icon=\"add\"\n displayStyle=\"action\"\n id=\"table-widget-add-indicator-btn\"\n type=\"button\"\n class=\"ml-4 mb-4\"\n (click)=\"addColumn()\"\n i18n\n >\n Add new column\n </button>\n\n <button\n nui-button\n icon=\"reset\"\n displayStyle=\"action\"\n id=\"table-widget-reset-indicator-btn\"\n type=\"button\"\n class=\"ml-4 mb-4\"\n (click)=\"onResetColumns()\"\n i18n\n >\n Reset columns\n </button>\n </div>\n </div>\n</div>\n", styles: [".nui-table-columns-configuration__header-text{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis}.nui-table-columns-configuration__drag-handler{cursor:move;display:flex}.nui-table-columns-configuration__node-item{background-color:var(--nui-color-bg-light,#fff);margin:15px}.nui-table-columns-configuration__node-item .widget-configurator-section{margin:0}.nui-table-columns-configuration__drop-area{margin:15px}.cdk-drag-preview{z-index:2000!important;opacity:.9;box-shadow:0 0 5px 0 var(--nui-shadow-color, rgba(17, 17, 17, .3))}\n"], components: [{ type: DropAreaComponent, selector: "nui-drop-area" }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.ButtonComponent, selector: "[nui-button]", inputs: ["ariaLabel", "isRepeat", "iconColor", "size", "displayStyle", "icon", "iconRight", "isBusy", "isEmpty"] }, { type: WidgetConfiguratorSectionComponent, selector: "nui-widget-configurator-section", inputs: ["headerTextTemplate", "headerButtonsTemplate", "nodes", "headerText"], outputs: ["formReady", "formDestroy"] }, { type: TableColumnConfigurationComponent, selector: "nui-table-column-configuration", inputs: ["formControl", "isWidthMessageDisplayed"] }, { type: i3.MessageComponent, selector: "nui-message", inputs: ["allowDismiss", "type", "manualControl"], outputs: ["dismiss"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5
|
|
13697
|
+
/** @nocollapse */ TableColumnsConfigurationV2Component.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: TableColumnsConfigurationV2Component, selector: "nui-table-columns-configuration", inputs: { columns: "columns", componentId: "componentId", template: "template" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"nui-table-columns-configuration\">\n <div\n *ngIf=\"!dataSourceError && dataSourceFields.length\"\n cdkDropList\n (cdkDropListDropped)=\"drop($event)\"\n [formGroup]=\"form\"\n >\n <div formArrayName=\"columns\">\n <div\n cdkDrag\n (cdkDragStarted)=\"cdkDragStarted($event)\"\n class=\"nui-table-columns-configuration__node-item\"\n *ngFor=\"\n let columnForm of columnForms;\n index as i;\n trackBy: trackBy\n \"\n >\n <nui-drop-area\n class=\"nui-table-columns-configuration__drop-area\"\n *cdkDragPlaceholder\n [style.height.px]=\"draggedItemHeight\"\n ></nui-drop-area>\n\n <ng-template #headerText>\n <ng-container>\n <div\n class=\"nui-table-columns-configuration__drag-handler\"\n cdkDragHandle\n >\n <nui-icon icon=\"drag\"></nui-icon>\n </div>\n </ng-container>\n <span\n class=\"nui-table-columns-configuration__header-text\"\n [title]=\"\n columnForm?.value.label\n | nuiWidgetConfiguratorSectionHeader\n : i\n : columnLabel\n \"\n >\n {{\n columnForm?.value.label\n | nuiWidgetConfiguratorSectionHeader\n : i\n : columnLabel\n }}\n </span>\n </ng-template>\n\n <ng-template #headerButtons>\n <div class=\"d-flex\">\n <button\n id=\"table-widget-remove-column-btn-{{ i }}\"\n nui-button\n type=\"button\"\n icon=\"delete\"\n displayStyle=\"action\"\n (click)=\"removeItem(i)\"\n ></button>\n </div>\n </ng-template>\n\n <nui-widget-configurator-section\n class=\"no-margin\"\n [headerTextTemplate]=\"headerText\"\n [headerButtonsTemplate]=\"headerButtons\"\n >\n <nui-table-column-configuration\n [formControl]=\"columnForm\"\n [isWidthMessageDisplayed]=\"isWidthMessageDisplayed\"\n ></nui-table-column-configuration>\n </nui-widget-configurator-section>\n </div>\n\n <div\n class=\"pl-4 pr-4\"\n *ngIf=\"(emptyColumns$ | async) && form.touched\"\n >\n <nui-message type=\"critical\" [allowDismiss]=\"false\">\n <b i18n>At least one column must be added.</b>\n </nui-message>\n </div>\n\n <button\n nui-button\n icon=\"add\"\n displayStyle=\"action\"\n id=\"table-widget-add-indicator-btn\"\n type=\"button\"\n class=\"ml-4 mb-4\"\n (click)=\"addColumn()\"\n i18n\n >\n Add new column\n </button>\n\n <button\n nui-button\n icon=\"reset\"\n displayStyle=\"action\"\n id=\"table-widget-reset-indicator-btn\"\n type=\"button\"\n class=\"ml-4 mb-4\"\n (click)=\"onResetColumns()\"\n i18n\n >\n Reset columns\n </button>\n </div>\n </div>\n</div>\n", styles: [".nui-table-columns-configuration__header-text{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis}.nui-table-columns-configuration__drag-handler{cursor:move;display:flex}.nui-table-columns-configuration__node-item{background-color:var(--nui-color-bg-light,#fff);margin:15px}.nui-table-columns-configuration__node-item .widget-configurator-section{margin:0}.nui-table-columns-configuration__drop-area{margin:15px}.cdk-drag-preview{z-index:2000!important;opacity:.9;box-shadow:0 0 5px 0 var(--nui-shadow-color, rgba(17, 17, 17, .3))}\n"], components: [{ type: DropAreaComponent, selector: "nui-drop-area" }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.ButtonComponent, selector: "[nui-button]", inputs: ["ariaLabel", "isRepeat", "iconColor", "size", "displayStyle", "icon", "iconRight", "isBusy", "isEmpty"] }, { type: WidgetConfiguratorSectionComponent, selector: "nui-widget-configurator-section", inputs: ["headerTextTemplate", "headerButtonsTemplate", "nodes", "headerText"], outputs: ["formReady", "formDestroy"] }, { type: TableColumnConfigurationComponent, selector: "nui-table-column-configuration", inputs: ["formControl", "isWidthMessageDisplayed"] }, { type: i3.MessageComponent, selector: "nui-message", inputs: ["allowDismiss", "type", "manualControl"], outputs: ["dismiss"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "id", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListAutoScrollDisabled", "cdkDropListOrientation", "cdkDropListLockAxis", "cdkDropListData", "cdkDropListAutoScrollStep"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.FormArrayName, selector: "[formArrayName]", inputs: ["formArrayName"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i5.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragDisabled", "cdkDragStartDelay", "cdkDragLockAxis", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragBoundary", "cdkDragRootElement", "cdkDragPreviewContainer", "cdkDragData", "cdkDragFreeDragPosition"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i5.CdkDragPlaceholder, selector: "ng-template[cdkDragPlaceholder]", inputs: ["data"] }, { type: i5.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], pipes: { "nuiWidgetConfiguratorSectionHeader": WidgetConfiguratorSectionHeaderPipe, "async": i4.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
13544
13698
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: TableColumnsConfigurationV2Component, decorators: [{
|
|
13545
13699
|
type: Component,
|
|
13546
13700
|
args: [{
|
|
@@ -13961,7 +14115,7 @@ class PresentationConfigurationComponent {
|
|
|
13961
14115
|
}
|
|
13962
14116
|
PresentationConfigurationComponent.lateLoadKey = "PresentationConfigurationComponent";
|
|
13963
14117
|
/** @nocollapse */ PresentationConfigurationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: PresentationConfigurationComponent, deps: [{ token: i1$2.FormBuilder }, { token: i0.ChangeDetectorRef }, { token: ConfiguratorHeadingService }, { token: FORMATTERS_REGISTRY, optional: true }, { token: TableFormatterRegistryService }], target: i0.ɵɵFactoryTarget.Component });
|
|
13964
|
-
/** @nocollapse */ PresentationConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: PresentationConfigurationComponent, selector: "nui-table-column-presentation-configuration", inputs: { formatter: "formatter", formatters: "formatters", dataFieldIds: "dataFieldIds", dataFields: "dataFields" }, outputs: { formReady: "formReady", formDestroy: "formDestroy" }, usesOnChanges: true, ngImport: i0, template: "<ng-container [formGroup]=\"formatterForm\">\n <nui-widget-editor-accordion\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\"\n >\n <div accordionHeader class=\"d-flex align-items-center px-4 py-2\">\n <nui-icon\n class=\"align-self-start pt-2\"\n [icon]=\"form | nuiFormHeaderIconPipe: 'customize' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n>Property and formatting</span>\n <div class=\"nui-text-secondary\" [title]=\"subtitleText\">\n {{ subtitleText }}\n </div>\n </div>\n </div>\n <div class=\"presentation-configuration__accordion-content\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Format\"\n i18n-caption\n [control]=\"formatterForm.controls['componentType']\"\n >\n <nui-select-v2\n placeholder=\"Select Format\"\n i18n-placeholder\n [popupViewportMargin]=\"\n configuratorHeading.height$ | async\n \"\n formControlName=\"componentType\"\n >\n <nui-select-v2-option\n *ngFor=\"let formatter of formatters\"\n [displayValueContext]=\"formatter.label\"\n [value]=\"formatter.componentType\"\n >\n {{ formatter.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n </div>\n <ng-container\n *ngIf=\"formatterConfigurator\"\n nuiComponentPortal\n componentId=\"formatterConfigurator\"\n [componentType]=\"formatterConfigurator\"\n [properties]=\"formatterConfiguratorProps\"\n [outputs]=\"['formReady']\"\n (output)=\"onFormReady($event.payload)\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n </div>\n </nui-widget-editor-accordion>\n</ng-container>\n", styles: [".presentation-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i3.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i3.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type:
|
|
14118
|
+
/** @nocollapse */ PresentationConfigurationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: PresentationConfigurationComponent, selector: "nui-table-column-presentation-configuration", inputs: { formatter: "formatter", formatters: "formatters", dataFieldIds: "dataFieldIds", dataFields: "dataFields" }, outputs: { formReady: "formReady", formDestroy: "formDestroy" }, usesOnChanges: true, ngImport: i0, template: "<ng-container [formGroup]=\"formatterForm\">\n <nui-widget-editor-accordion\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\"\n >\n <div accordionHeader class=\"d-flex align-items-center px-4 py-2\">\n <nui-icon\n class=\"align-self-start pt-2\"\n [icon]=\"form | nuiFormHeaderIconPipe: 'customize' | async\"\n ></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n>Property and formatting</span>\n <div class=\"nui-text-secondary\" [title]=\"subtitleText\">\n {{ subtitleText }}\n </div>\n </div>\n </div>\n <div class=\"presentation-configuration__accordion-content\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Format\"\n i18n-caption\n [control]=\"formatterForm.controls['componentType']\"\n >\n <nui-select-v2\n placeholder=\"Select Format\"\n i18n-placeholder\n [popupViewportMargin]=\"\n configuratorHeading.height$ | async\n \"\n formControlName=\"componentType\"\n >\n <nui-select-v2-option\n *ngFor=\"let formatter of formatters\"\n [displayValueContext]=\"formatter.label\"\n [value]=\"formatter.componentType\"\n >\n {{ formatter.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n </div>\n <ng-container\n *ngIf=\"formatterConfigurator\"\n nuiComponentPortal\n componentId=\"formatterConfigurator\"\n [componentType]=\"formatterConfigurator\"\n [properties]=\"formatterConfiguratorProps\"\n [outputs]=\"['formReady']\"\n (output)=\"onFormReady($event.payload)\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n ></ng-template>\n </ng-container>\n </div>\n </nui-widget-editor-accordion>\n</ng-container>\n", styles: [".presentation-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], components: [{ type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"] }, { type: i3.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3.FormFieldComponent, selector: "nui-form-field", inputs: ["showOptionalText", "control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth"] }, { type: i3.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: i3.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["outfiltered", "value", "index", "displayValueContext"] }], directives: [{ type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i6.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], pipes: { "async": i4.AsyncPipe, "nuiWidgetEditorAccordionFormState": WidgetEditorAccordionFormStatePipe, "nuiFormHeaderIconPipe": FormHeaderIconPipePipe }, viewProviders: [
|
|
13965
14119
|
{ provide: ControlContainer, useExisting: FormGroupDirective },
|
|
13966
14120
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
13967
14121
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: PresentationConfigurationComponent, decorators: [{
|
|
@@ -16932,6 +17086,7 @@ const dashboardComponents = [
|
|
|
16932
17086
|
ListNavigationBarComponent,
|
|
16933
17087
|
WidgetSearchComponent,
|
|
16934
17088
|
ProportionalDonutContentComponent,
|
|
17089
|
+
TimeseriesInspectionMenuComponent,
|
|
16935
17090
|
];
|
|
16936
17091
|
const entryComponents = [
|
|
16937
17092
|
EmbeddedContentComponent,
|
|
@@ -17017,7 +17172,8 @@ class NuiDashboardsModule {
|
|
|
17017
17172
|
ListGroupItemComponent,
|
|
17018
17173
|
ListNavigationBarComponent,
|
|
17019
17174
|
WidgetSearchComponent,
|
|
17020
|
-
ProportionalDonutContentComponent
|
|
17175
|
+
ProportionalDonutContentComponent,
|
|
17176
|
+
TimeseriesInspectionMenuComponent], imports: [NuiDashboardsCommonModule,
|
|
17021
17177
|
GridsterModule,
|
|
17022
17178
|
NuiBusyModule,
|
|
17023
17179
|
NuiButtonModule,
|
|
@@ -17039,7 +17195,8 @@ class NuiDashboardsModule {
|
|
|
17039
17195
|
NuiSearchModule,
|
|
17040
17196
|
NuiCommonModule,
|
|
17041
17197
|
NuiRepeatModule,
|
|
17042
|
-
NuiSelectModule
|
|
17198
|
+
NuiSelectModule,
|
|
17199
|
+
NuiPopoverModule], exports: [DashboardComponent,
|
|
17043
17200
|
EmbeddedContentComponent,
|
|
17044
17201
|
GridsterItemWidgetIdDirective,
|
|
17045
17202
|
KpiComponent,
|
|
@@ -17067,7 +17224,8 @@ class NuiDashboardsModule {
|
|
|
17067
17224
|
ListGroupItemComponent,
|
|
17068
17225
|
ListNavigationBarComponent,
|
|
17069
17226
|
WidgetSearchComponent,
|
|
17070
|
-
ProportionalDonutContentComponent
|
|
17227
|
+
ProportionalDonutContentComponent,
|
|
17228
|
+
TimeseriesInspectionMenuComponent] });
|
|
17071
17229
|
/** @nocollapse */ NuiDashboardsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: NuiDashboardsModule, providers: [
|
|
17072
17230
|
ComponentPortalService,
|
|
17073
17231
|
WidgetTypesService,
|
|
@@ -17097,6 +17255,7 @@ class NuiDashboardsModule {
|
|
|
17097
17255
|
NuiCommonModule,
|
|
17098
17256
|
NuiRepeatModule,
|
|
17099
17257
|
NuiSelectModule,
|
|
17258
|
+
NuiPopoverModule,
|
|
17100
17259
|
]] });
|
|
17101
17260
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: NuiDashboardsModule, decorators: [{
|
|
17102
17261
|
type: NgModule,
|
|
@@ -17125,6 +17284,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImpor
|
|
|
17125
17284
|
NuiCommonModule,
|
|
17126
17285
|
NuiRepeatModule,
|
|
17127
17286
|
NuiSelectModule,
|
|
17287
|
+
NuiPopoverModule,
|
|
17128
17288
|
],
|
|
17129
17289
|
declarations: dashboardComponents,
|
|
17130
17290
|
providers: [
|
|
@@ -17426,5 +17586,5 @@ const DONUT_CONTENT_CONFIGURATION_SLICE = {
|
|
|
17426
17586
|
* Generated bundle index. Do not edit.
|
|
17427
17587
|
*/
|
|
17428
17588
|
|
|
17429
|
-
export { AccordionState, AddDataPipe, AggregatorMetricSelectorConfigurationComponent, BackgroundColorRulesConfigurationComponent, BaseLayout, CHART_METRIC_REMOVE, CHART_PALETTE_CS3_ALTERNATIVE_NAMES, CHART_PALETTE_CS_S_EXTENDED_ALTERNATIVE_NAMES, CONFIGURATOR_CONVERTER, ColorPickerComponent, ComponentPortalDirective, ComponentPortalService, ComponentRegistryService, ConfiguratorComponent, ConfiguratorHeadingComponent, ConfiguratorHeadingService, ConfiguratorService, DASHBOARD_EDIT_MODE, DASHBOARD_EVENT_BUS, DATA_SOURCE, DATA_SOURCE_BUSY, DATA_SOURCE_CHANGE, DATA_SOURCE_CREATED, DATA_SOURCE_DESTROYED, DATA_SOURCE_INVOKED, DATA_SOURCE_OUTPUT, DEFAULT_COMPARATORS, DEFAULT_KPI_BACKGROUND_COLORS, DEFAULT_KPI_FORMATTERS, DEFAULT_KPI_TILE_COLOR, DEFAULT_LEGEND_FORMATTERS, DEFAULT_PIZZAGNA_ROOT, DEFAULT_PROPORTIONAL_CONTENT_AGGREGATORS, DEFAULT_PROPORTIONAL_CONTENT_FORMATTERS, DEFAULT_REFRESH_INTERVAL, DEFAULT_UNIT_CONVERSION_THRESHOLD, DONUT_CONTENT_CONFIGURATION_SLICE, DRILLDOWN, DashboardComponent, DashboardUnitConversionPipe, DashwizButtonsComponent, DashwizComponent, DashwizStepComponent, DataSourceAdapter, DataSourceConfigurationComponent, DataSourceConfigurationV2Component, DataSourceErrorComponent, DelayedMousePresenceDetectionDirective, DescriptionConfigurationComponent, DescriptionConfigurationV2Component, DonutChartFormatterConfiguratorComponent, DonutContentConfigurationComponent, DonutContentPercentageConfigurationComponent, DonutContentPercentageFormatterComponent, DonutContentRawFormatterComponent, DonutContentSumFormatterComponent, DropAreaComponent, DynamicComponentCreator, ERROR_FALLBACK_MAP, ERROR_NODES, EVENT_PROXY, EmbeddedContentComponent, EmbeddedContentConfigurationComponent, EmbeddedContentMode, EntityFormattingConfigurationComponent, ErrorNodeKey, EventRegistryService, FORMATTERS_REGISTRY, FieldMapperAggregatorConfiguratorComponent, FormHeaderIconPipePipe, FormStackComponent, FormatterConfiguratorComponent, FormatterRegistryService, GridsterItemWidgetIdDirective, GroupingConfigurationComponent, HEADER_LINK_PROVIDER, HttpStatusCode, INTERACTION, IconFormatterComponent, InfoMessageConfigurationComponent, InteractionHandler, ItemsDynamicComponent, KpiColorComparatorsRegistryService, KpiComponent, KpiDescriptionConfigurationComponent, KpiFormatterTypes, KpiFormattersRegistryService, KpiTilesConfigurationComponent, KpiTilesConverterService, KpiWidgetColorService, KpiWidgetFontSizes, KpiWidgetThresholdColors, LegendPlacement, LineChartComponent, LinkConfiguratorComponent, LinkFormatterComponent, ListGroupItemComponent, ListLeafItemComponent, ListNavigationBarComponent, ListWidgetComponent, LoadingComponent, NOVA_CONFIGURATOR_DATA_SOURCE_MANAGER, NOVA_DASHBOARD_EVENT_PROXY, NOVA_DATASOURCE_ADAPTER, NOVA_DATASOURCE_INTERVAL_REFRESHER, NOVA_DRILLDOWN_DATASOURCE_ADAPTER, NOVA_EVENT_BUS_DEBUGGER, NOVA_GENERIC_ARRAY_CONVERTER, NOVA_GENERIC_CONVERTER, NOVA_KPI_COLOR_PRIORITIZER, NOVA_KPI_DATASOURCE_ADAPTER, NOVA_KPI_FORMATTERS_REGISTRY, NOVA_KPI_SCALE_SYNC_BROKER, NOVA_KPI_SECTION_CONVERTER, NOVA_KPI_STATUS_CONTENT_FALLBACK_ADAPTER, NOVA_KPI_TILES_CONVERTER, NOVA_LOADING_ADAPTER, NOVA_PIZZAGNA_BROADCASTER, NOVA_PROPORTIONAL_CONTENT_FORMATTERS_REGISTRY, NOVA_PROPORTIONAL_WIDGET_CHART_OPTIONS_CONVERTER, NOVA_STATUS_CONTENT_FALLBACK_ADAPTER, NOVA_TABLE_COLUMNS_CONVERTER, NOVA_TABLE_DATASOURCE_ADAPTER, NOVA_TABLE_FILTERS_CONVERTER, NOVA_TABLE_FORMATTERS_REGISTRY, NOVA_TEST_REGISTRY, NOVA_TIMESERIES_DATASOURCE_ADAPTER, NOVA_TIMESERIES_METADATA_CONVERTER, NOVA_TIMESERIES_SERIES_CONVERTER, NOVA_TIMESERIES_TILE_INDICATOR_DATA_CONVERTER, NOVA_TITLE_AND_DESCRIPTION_CONVERTER, NOVA_URL_INTERACTION_HANDLER, NOVA_VIRTUAL_VIEWPORT_MANAGER, NuiDashboardConfiguratorModule, NuiDashboardsCommonModule, NuiDashboardsModule, NuiPizzagnaModule, PIZZAGNA_EVENT_BUS, PREVIEW_EVENT, PercentageFormatterComponent, PizzagnaComponent, PizzagnaLayer, PizzagnaRootPipe, PizzagnaService, PresentationConfigurationComponent, PresentationConfigurationV2Component, PreviewOverlayComponent, PreviewPlaceholderComponent, PreviewService, ProportionalChartOptionsEditorComponent, ProportionalChartOptionsEditorV2Component, ProportionalContentAggregatorsRegistryService, ProportionalDonutContentComponent, ProportionalDonutContentFormattersRegistryService, ProportionalLegendFormattersRegistryService, ProportionalWidgetChartOptionsConverterService, ProportionalWidgetChartTypes, ProportionalWidgetComponent, ProviderRegistryService, REFRESH, REFRESHER_CONFIGURATOR, RawFormatterComponent, RefreshRateConfiguratorComponent, Refresher, RefresherConfigurationComponent, RefresherSettingsService, SCROLL_NEXT_PAGE, SET_PROPERTY_VALUE, SET_TIMEFRAME, SiUnitsFormatterComponent, StackComponent, StackedAreaChartComponent, StackedBarChartComponent, StackedPercentageAreaChartComponent, StatusBarChartComponent, StatusWithIconFormatterComponent, TEST_REGISTRY, TableColumnConfigurationComponent, TableColumnsConfigurationComponent, TableColumnsConfigurationV2Component, TableDataSourceAdapter, TableDataSourceErrorComponent, TableFiltersEditorComponent, TableFormatterRegistryService, TableWidgetComponent, TemplateLoadErrorComponent, ThresholdsConfigurationComponent, TilesComponent, TimeframeSelectionComponent, TimeframeSerializationService, TimeseriesChartPreset, TimeseriesChartPresetService, TimeseriesDataSourceAdapter, TimeseriesInteractionType, TimeseriesMetadataConfigurationComponent, TimeseriesScaleType, TimeseriesSeriesCollectionConfigurationComponent, TimeseriesSeriesConverterService, TimeseriesTileDescriptionConfigurationComponent, TimeseriesTileIndicatorDataConfigurationComponent, TimeseriesTransformer, TimeseriesWidgetComponent, TitleAndDescriptionConfigurationComponent, TitleAndDescriptionConverterService, UrlInteractionHandler, UrlInteractionService, ValueSelectorComponent, WIDGET_BODY, WIDGET_CREATE, WIDGET_EDIT, WIDGET_HEADER, WIDGET_LOADING, WIDGET_POSITION_CHANGE, WIDGET_READY, WIDGET_REMOVE, WIDGET_RESIZE, WIDGET_SEARCH, WellKnownDataSourceFeatures, WellKnownPathKey, WellKnownProviders, WidgetBodyComponent, WidgetBodyContentComponent, WidgetClonerComponent, WidgetClonerService, WidgetComponent, WidgetConfigurationService, WidgetConfiguratorSectionComponent, WidgetConfiguratorSectionHeaderPipe, WidgetEditorAccordionComponent, WidgetEditorAccordionFormStatePipe, WidgetEditorComponent, WidgetEditorDirective, WidgetEditorService, WidgetErrorComponent, WidgetHeaderComponent, WidgetSearchComponent, WidgetToDashboardEventProxyService, WidgetTypesService, WindowObject, XYChartComponent, applyStatusEndpoints, chartPaletteColorMap, fieldMapper, getPizzagnaPropertyPath, hasControlInErrorState, mapDataToFormatterProperties, mergeChanges, percentageAggregator, refresher, sumAggregator, timeSeriesDatetimeFormatter, transformChangePoint, transformDifference, transformFloatingAverage, transformLinReg, transformLoessSmoothing, transformLoessStandardize, transformNormalize, transformPercentileStd, transformStandardize, widgetBodyContentNodes };
|
|
17589
|
+
export { AccordionState, AddDataPipe, AggregatorMetricSelectorConfigurationComponent, BackgroundColorRulesConfigurationComponent, BaseLayout, CHART_METRIC_REMOVE, CHART_PALETTE_CS3_ALTERNATIVE_NAMES, CHART_PALETTE_CS_S_EXTENDED_ALTERNATIVE_NAMES, CONFIGURATOR_CONVERTER, ColorPickerComponent, ComponentPortalDirective, ComponentPortalService, ComponentRegistryService, ConfiguratorComponent, ConfiguratorHeadingComponent, ConfiguratorHeadingService, ConfiguratorService, DASHBOARD_EDIT_MODE, DASHBOARD_EVENT_BUS, DATA_SOURCE, DATA_SOURCE_BUSY, DATA_SOURCE_CHANGE, DATA_SOURCE_CREATED, DATA_SOURCE_DESTROYED, DATA_SOURCE_INVOKED, DATA_SOURCE_OUTPUT, DEFAULT_COMPARATORS, DEFAULT_KPI_BACKGROUND_COLORS, DEFAULT_KPI_FORMATTERS, DEFAULT_KPI_TILE_COLOR, DEFAULT_LEGEND_FORMATTERS, DEFAULT_PIZZAGNA_ROOT, DEFAULT_PROPORTIONAL_CONTENT_AGGREGATORS, DEFAULT_PROPORTIONAL_CONTENT_FORMATTERS, DEFAULT_REFRESH_INTERVAL, DEFAULT_UNIT_CONVERSION_THRESHOLD, DONUT_CONTENT_CONFIGURATION_SLICE, DRILLDOWN, DashboardComponent, DashboardUnitConversionPipe, DashwizButtonsComponent, DashwizComponent, DashwizStepComponent, DataSourceAdapter, DataSourceConfigurationComponent, DataSourceConfigurationV2Component, DataSourceErrorComponent, DelayedMousePresenceDetectionDirective, DescriptionConfigurationComponent, DescriptionConfigurationV2Component, DonutChartFormatterConfiguratorComponent, DonutContentConfigurationComponent, DonutContentPercentageConfigurationComponent, DonutContentPercentageFormatterComponent, DonutContentRawFormatterComponent, DonutContentSumFormatterComponent, DropAreaComponent, DynamicComponentCreator, ERROR_FALLBACK_MAP, ERROR_NODES, EVENT_PROXY, EmbeddedContentComponent, EmbeddedContentConfigurationComponent, EmbeddedContentMode, EntityFormattingConfigurationComponent, ErrorNodeKey, EventRegistryService, FORMATTERS_REGISTRY, FieldMapperAggregatorConfiguratorComponent, FormHeaderIconPipePipe, FormStackComponent, FormatterConfiguratorComponent, FormatterRegistryService, GridsterItemWidgetIdDirective, GroupingConfigurationComponent, HEADER_LINK_PROVIDER, HttpStatusCode, INTERACTION, IconFormatterComponent, InfoMessageConfigurationComponent, InteractionHandler, ItemsDynamicComponent, KpiColorComparatorsRegistryService, KpiComponent, KpiDescriptionConfigurationComponent, KpiFormatterTypes, KpiFormattersRegistryService, KpiTilesConfigurationComponent, KpiTilesConverterService, KpiWidgetColorService, KpiWidgetFontSizes, KpiWidgetThresholdColors, LegendPlacement, LineChartComponent, LinkConfiguratorComponent, LinkFormatterComponent, ListGroupItemComponent, ListLeafItemComponent, ListNavigationBarComponent, ListWidgetComponent, LoadingComponent, NOVA_CONFIGURATOR_DATA_SOURCE_MANAGER, NOVA_DASHBOARD_EVENT_PROXY, NOVA_DATASOURCE_ADAPTER, NOVA_DATASOURCE_INTERVAL_REFRESHER, NOVA_DRILLDOWN_DATASOURCE_ADAPTER, NOVA_EVENT_BUS_DEBUGGER, NOVA_GENERIC_ARRAY_CONVERTER, NOVA_GENERIC_CONVERTER, NOVA_KPI_COLOR_PRIORITIZER, NOVA_KPI_DATASOURCE_ADAPTER, NOVA_KPI_FORMATTERS_REGISTRY, NOVA_KPI_SCALE_SYNC_BROKER, NOVA_KPI_SECTION_CONVERTER, NOVA_KPI_STATUS_CONTENT_FALLBACK_ADAPTER, NOVA_KPI_TILES_CONVERTER, NOVA_LOADING_ADAPTER, NOVA_PIZZAGNA_BROADCASTER, NOVA_PROPORTIONAL_CONTENT_FORMATTERS_REGISTRY, NOVA_PROPORTIONAL_WIDGET_CHART_OPTIONS_CONVERTER, NOVA_STATUS_CONTENT_FALLBACK_ADAPTER, NOVA_TABLE_COLUMNS_CONVERTER, NOVA_TABLE_DATASOURCE_ADAPTER, NOVA_TABLE_FILTERS_CONVERTER, NOVA_TABLE_FORMATTERS_REGISTRY, NOVA_TEST_REGISTRY, NOVA_TIMESERIES_DATASOURCE_ADAPTER, NOVA_TIMESERIES_METADATA_CONVERTER, NOVA_TIMESERIES_SERIES_CONVERTER, NOVA_TIMESERIES_TILE_INDICATOR_DATA_CONVERTER, NOVA_TITLE_AND_DESCRIPTION_CONVERTER, NOVA_URL_INTERACTION_HANDLER, NOVA_VIRTUAL_VIEWPORT_MANAGER, NuiDashboardConfiguratorModule, NuiDashboardsCommonModule, NuiDashboardsModule, NuiPizzagnaModule, PIZZAGNA_EVENT_BUS, PREVIEW_EVENT, PercentageFormatterComponent, PizzagnaComponent, PizzagnaLayer, PizzagnaRootPipe, PizzagnaService, PresentationConfigurationComponent, PresentationConfigurationV2Component, PreviewOverlayComponent, PreviewPlaceholderComponent, PreviewService, ProportionalChartOptionsEditorComponent, ProportionalChartOptionsEditorV2Component, ProportionalContentAggregatorsRegistryService, ProportionalDonutContentComponent, ProportionalDonutContentFormattersRegistryService, ProportionalLegendFormattersRegistryService, ProportionalWidgetChartOptionsConverterService, ProportionalWidgetChartTypes, ProportionalWidgetComponent, ProviderRegistryService, REFRESH, REFRESHER_CONFIGURATOR, RawFormatterComponent, RefreshRateConfiguratorComponent, Refresher, RefresherConfigurationComponent, RefresherSettingsService, SCROLL_NEXT_PAGE, SET_PROPERTY_VALUE, SET_TIMEFRAME, SiUnitsFormatterComponent, StackComponent, StackedAreaChartComponent, StackedBarChartComponent, StackedPercentageAreaChartComponent, StatusBarChartComponent, StatusWithIconFormatterComponent, TEST_REGISTRY, 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, TitleAndDescriptionConfigurationComponent, TitleAndDescriptionConverterService, UrlInteractionHandler, UrlInteractionService, ValueSelectorComponent, WIDGET_BODY, WIDGET_CREATE, WIDGET_EDIT, WIDGET_HEADER, WIDGET_LOADING, WIDGET_POSITION_CHANGE, WIDGET_READY, WIDGET_REMOVE, WIDGET_RESIZE, WIDGET_SEARCH, WellKnownDataSourceFeatures, WellKnownPathKey, WellKnownProviders, WidgetBodyComponent, WidgetBodyContentComponent, WidgetClonerComponent, WidgetClonerService, WidgetComponent, WidgetConfigurationService, WidgetConfiguratorSectionComponent, WidgetConfiguratorSectionHeaderPipe, WidgetEditorAccordionComponent, WidgetEditorAccordionFormStatePipe, WidgetEditorComponent, WidgetEditorDirective, WidgetEditorService, WidgetErrorComponent, WidgetHeaderComponent, WidgetSearchComponent, WidgetToDashboardEventProxyService, WidgetTypesService, WindowObject, XYChartComponent, applyStatusEndpoints, chartPaletteColorMap, fieldMapper, getPizzagnaPropertyPath, hasControlInErrorState, mapDataToFormatterProperties, mergeChanges, percentageAggregator, refresher, sumAggregator, timeSeriesDatetimeFormatter, transformChangePoint, transformDifference, transformFloatingAverage, transformLinReg, transformLoessSmoothing, transformLoessStandardize, transformNormalize, transformPercentileStd, transformStandardize, widgetBodyContentNodes };
|
|
17430
17590
|
//# sourceMappingURL=nova-ui-dashboards.js.map
|