@nova-ui/charts 16.0.8 → 17.0.1
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/css/styles.css +1 -3
- package/chart-collection/chart-collection-id.directive.d.ts +1 -1
- package/chart-tooltips/chart-tooltips.component.d.ts +1 -1
- package/core/chart-assists/chart-assist.d.ts +1 -1
- package/core/chart-assists/spark-chart-assist.d.ts +1 -1
- package/core/chart-assists/types.d.ts +1 -2
- package/core/common/mouse-interactive-area.d.ts +1 -1
- package/core/common/render-engine.d.ts +1 -1
- package/core/common/renderer.d.ts +1 -1
- package/core/common/types.d.ts +3 -3
- package/core/grid/config/linear-gauge-grid-config-fn.d.ts +1 -1
- package/core/grid/types.d.ts +1 -2
- package/core/plugins/chart-donut-content-plugin.d.ts +1 -1
- package/core/plugins/chart-popover-plugin.d.ts +1 -1
- package/core/plugins/gauge/donut-gauge-labels-plugin.d.ts +1 -1
- package/core/plugins/gauge/linear-gauge-labels-plugin.d.ts +1 -1
- package/core/plugins/tooltips/bar-tooltips-plugin.d.ts +1 -1
- package/core/plugins/tooltips/radial-tooltips-plugin.d.ts +1 -1
- package/core/types.d.ts +1 -1
- package/esm2022/chart/chart.component.mjs +5 -5
- package/esm2022/chart-collection/chart-collection-id.directive.mjs +6 -6
- package/esm2022/chart-collection/chart-collection.service.mjs +3 -3
- package/esm2022/chart-donut-content/chart-donut-content.component.mjs +3 -3
- package/esm2022/chart-marker/chart-marker.component.mjs +5 -5
- package/esm2022/chart-popover/chart-popover.component.mjs +5 -5
- package/esm2022/chart-tooltips/chart-tooltip.component.mjs +3 -3
- package/esm2022/chart-tooltips/chart-tooltip.directive.mjs +5 -5
- package/esm2022/chart-tooltips/chart-tooltips.component.mjs +6 -6
- package/esm2022/charts.module.mjs +6 -6
- package/esm2022/core/chart-assists/chart-assist.mjs +2 -2
- package/esm2022/core/chart-assists/spark-chart-assist.mjs +2 -2
- package/esm2022/core/chart-assists/types.mjs +1 -1
- package/esm2022/core/common/mouse-interactive-area.mjs +2 -2
- package/esm2022/core/common/render-engine.mjs +2 -2
- package/esm2022/core/common/renderer.mjs +2 -2
- package/esm2022/core/common/scales/domain-calculation/merge-domains.mjs +3 -3
- package/esm2022/core/common/types.mjs +1 -1
- package/esm2022/core/grid/config/linear-gauge-grid-config-fn.mjs +2 -2
- package/esm2022/core/grid/default-text-overflow-handler.mjs +1 -1
- package/esm2022/core/grid/types.mjs +1 -1
- package/esm2022/core/plugins/chart-donut-content-plugin.mjs +1 -1
- package/esm2022/core/plugins/chart-popover-plugin.mjs +1 -1
- package/esm2022/core/plugins/gauge/donut-gauge-labels-plugin.mjs +2 -2
- package/esm2022/core/plugins/gauge/linear-gauge-labels-plugin.mjs +2 -2
- package/esm2022/core/plugins/mouse-interactive-area-plugin.mjs +1 -1
- package/esm2022/core/plugins/render-engine-plugin.mjs +1 -1
- package/esm2022/core/plugins/timeseries-zoom-plugin-sync.service.mjs +3 -3
- package/esm2022/core/plugins/tooltips/bar-tooltips-plugin.mjs +1 -1
- package/esm2022/core/plugins/tooltips/radial-tooltips-plugin.mjs +1 -1
- package/esm2022/core/plugins/zoom-plugin.mjs +1 -1
- package/esm2022/gauge/gauge-util.mjs +2 -2
- package/esm2022/legend/legend-series/legend-series.component.mjs +6 -6
- package/esm2022/legend/legend-tile/basic-legend-tile/basic-legend-tile.component.mjs +3 -3
- package/esm2022/legend/legend-tile/rich-legend-tile/rich-legend-tile.component.mjs +6 -6
- package/esm2022/legend/legend.component.mjs +3 -3
- package/esm2022/renderers/area/stacked-area-accessors.mjs +1 -1
- package/esm2022/renderers/area/stacked-area-preprocessor.mjs +1 -1
- package/esm2022/renderers/area/stacked-percentage-area-preprocessor.mjs +1 -1
- package/esm2022/renderers/bar/accessors/horizontal-bar-accessors.mjs +1 -1
- package/esm2022/renderers/bar/accessors/status-accessors-fn.mjs +1 -1
- package/esm2022/renderers/bar/accessors/status-accessors.mjs +1 -1
- package/esm2022/renderers/bar/accessors/vertical-bar-accessors.mjs +1 -1
- package/esm2022/renderers/bar/bar-grid.mjs +1 -1
- package/esm2022/renderers/bar/bar-scales.mjs +1 -1
- package/esm2022/renderers/bar/preprocessor-utils.mjs +1 -1
- package/esm2022/renderers/bar/stacked-preprocessor.mjs +1 -1
- package/esm2022/renderers/constants.mjs +1 -1
- package/esm2022/renderers/marker-utils.mjs +2 -2
- package/esm2022/renderers/noop-renderer.mjs +1 -1
- package/esm2022/renderers/radial/radial-preprocessor.mjs +1 -1
- package/esm2022/renderers/side-indicator-renderer.mjs +2 -2
- package/esm2022/renderers/types.mjs +1 -1
- package/esm2022/renderers/xy-renderer.mjs +1 -1
- package/esm2022/thresholds/thresholds-service.mjs +6 -6
- package/fesm2022/nova-ui-charts.mjs +196 -196
- package/fesm2022/nova-ui-charts.mjs.map +1 -1
- package/gauge/gauge-util.d.ts +2 -2
- package/package.json +3 -3
- package/renderers/area/stacked-area-accessors.d.ts +1 -1
- package/renderers/area/stacked-area-preprocessor.d.ts +1 -1
- package/renderers/area/stacked-percentage-area-preprocessor.d.ts +1 -1
- package/renderers/bar/accessors/horizontal-bar-accessors.d.ts +1 -1
- package/renderers/bar/accessors/status-accessors-fn.d.ts +1 -1
- package/renderers/bar/accessors/status-accessors.d.ts +1 -1
- package/renderers/bar/accessors/vertical-bar-accessors.d.ts +1 -1
- package/renderers/bar/bar-grid.d.ts +1 -1
- package/renderers/bar/bar-scales.d.ts +1 -1
- package/renderers/bar/preprocessor-utils.d.ts +1 -1
- package/renderers/bar/stacked-preprocessor.d.ts +1 -1
- package/renderers/constants.d.ts +1 -1
- package/renderers/noop-renderer.d.ts +2 -2
- package/renderers/radial/radial-preprocessor.d.ts +1 -1
- package/renderers/side-indicator-renderer.d.ts +2 -2
- package/renderers/types.d.ts +3 -3
- package/renderers/xy-renderer.d.ts +1 -1
- package/sdk/atoms/chart/atoms/chart.atom.js +1 -1
- package/sdk/atoms/chart/atoms/chart.atom.js.map +1 -1
- package/sdk/locale/messages.en.xlf +14 -14
- package/thresholds/thresholds-service.d.ts +1 -1
|
@@ -2,7 +2,7 @@ import * as i1$1 from '@angular/cdk/overlay';
|
|
|
2
2
|
import { OverlayModule } from '@angular/cdk/overlay';
|
|
3
3
|
import { ComponentPortal } from '@angular/cdk/portal';
|
|
4
4
|
import * as i0 from '@angular/core';
|
|
5
|
-
import {
|
|
5
|
+
import { Input, ChangeDetectionStrategy, Component, Directive, InjectionToken, ViewChildren, EventEmitter, ViewChild, Output, forwardRef, Injectable, Inject, ViewEncapsulation, HostListener, HostBinding, Optional, Host, NgModule } from '@angular/core';
|
|
6
6
|
import { Subject, BehaviorSubject, of } from 'rxjs';
|
|
7
7
|
import { trigger, transition, style, animate } from '@angular/animations';
|
|
8
8
|
import * as i1 from '@angular/common';
|
|
@@ -21,8 +21,8 @@ import * as i1$2 from '@nova-ui/bits';
|
|
|
21
21
|
import { PopoverComponent, UtilService, NuiCommonModule, NuiIconModule, NuiPopoverModule } from '@nova-ui/bits';
|
|
22
22
|
import isFunction from 'lodash/isFunction';
|
|
23
23
|
import 'd3-selection-multi';
|
|
24
|
-
import findKey from 'lodash/findKey';
|
|
25
24
|
import debounce from 'lodash/debounce';
|
|
25
|
+
import findKey from 'lodash/findKey';
|
|
26
26
|
import isEmpty from 'lodash/isEmpty';
|
|
27
27
|
import cloneDeep from 'lodash/cloneDeep';
|
|
28
28
|
import sortBy from 'lodash/sortBy';
|
|
@@ -73,8 +73,8 @@ import findIndex from 'lodash/findIndex';
|
|
|
73
73
|
// THE SOFTWARE.
|
|
74
74
|
class ChartTooltipComponent {
|
|
75
75
|
template;
|
|
76
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
77
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
76
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChartTooltipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
77
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ChartTooltipComponent, selector: "nui-chart-tooltip", inputs: { template: "template" }, ngImport: i0, template: "<div>\n <div @tooltip class=\"nui-chart-tooltip px-2 py-1 nui-text-small\">\n <ng-container *ngTemplateOutlet=\"template\"></ng-container>\n </div>\n</div>\n", styles: [":host{display:block;pointer-events:none}.nui-chart-tooltip{background-color:var(--nui-color-bg-inverse,#111);color:var(--nui-color-text-inverse,#fff);line-height:normal}\n"], dependencies: [{ kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], animations: [
|
|
78
78
|
trigger("tooltip", [
|
|
79
79
|
transition(":enter", [
|
|
80
80
|
style({ opacity: 0 }),
|
|
@@ -84,7 +84,7 @@ class ChartTooltipComponent {
|
|
|
84
84
|
]),
|
|
85
85
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
86
86
|
}
|
|
87
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
87
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChartTooltipComponent, decorators: [{
|
|
88
88
|
type: Component,
|
|
89
89
|
args: [{ selector: "nui-chart-tooltip", changeDetection: ChangeDetectionStrategy.OnPush, animations: [
|
|
90
90
|
trigger("tooltip", [
|
|
@@ -183,13 +183,13 @@ class ChartTooltipDirective {
|
|
|
183
183
|
getOverlayElement() {
|
|
184
184
|
return this.overlayRef.overlayElement;
|
|
185
185
|
}
|
|
186
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
187
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
186
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChartTooltipDirective, deps: [{ token: i1$1.Overlay }, { token: i1$1.OverlayPositionBuilder }, { token: i1$1.ScrollStrategyOptions }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
187
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: ChartTooltipDirective, selector: "[nuiChartTooltip]", inputs: { template: "template", openRemoteControl: "openRemoteControl", closeRemoteControl: "closeRemoteControl", positions: "positions" }, ngImport: i0 });
|
|
188
188
|
}
|
|
189
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
189
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChartTooltipDirective, decorators: [{
|
|
190
190
|
type: Directive,
|
|
191
191
|
args: [{ selector: "[nuiChartTooltip]" }]
|
|
192
|
-
}], ctorParameters:
|
|
192
|
+
}], ctorParameters: () => [{ type: i1$1.Overlay }, { type: i1$1.OverlayPositionBuilder }, { type: i1$1.ScrollStrategyOptions }, { type: i0.ElementRef }], propDecorators: { template: [{
|
|
193
193
|
type: Input
|
|
194
194
|
}], openRemoteControl: [{
|
|
195
195
|
type: Input
|
|
@@ -857,10 +857,10 @@ class ChartDonutContentComponent {
|
|
|
857
857
|
this.contentPositionUpdateSubscription.unsubscribe();
|
|
858
858
|
}
|
|
859
859
|
}
|
|
860
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
861
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
860
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChartDonutContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
861
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ChartDonutContentComponent, selector: "nui-chart-donut-content", inputs: { plugin: "plugin" }, usesOnChanges: true, ngImport: i0, template: "<div\n *ngIf=\"plugin && contentPosition\"\n class=\"nui-chart-donut-content d-flex justify-content-center align-items-center text-center\"\n [style.top.px]=\"contentPosition.top\"\n [style.left.px]=\"contentPosition.left\"\n [style.height.px]=\"contentPosition.height\"\n [style.width.px]=\"contentPosition.width\"\n>\n <ng-content></ng-content>\n</div>\n", styles: [".nui-chart-donut-content{position:absolute;pointer-events:auto;width:100%;height:100%;overflow:hidden;text-overflow:ellipsis}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
862
862
|
}
|
|
863
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
863
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChartDonutContentComponent, decorators: [{
|
|
864
864
|
type: Component,
|
|
865
865
|
args: [{ selector: "nui-chart-donut-content", template: "<div\n *ngIf=\"plugin && contentPosition\"\n class=\"nui-chart-donut-content d-flex justify-content-center align-items-center text-center\"\n [style.top.px]=\"contentPosition.top\"\n [style.left.px]=\"contentPosition.left\"\n [style.height.px]=\"contentPosition.height\"\n [style.width.px]=\"contentPosition.width\"\n>\n <ng-content></ng-content>\n</div>\n", styles: [".nui-chart-donut-content{position:absolute;pointer-events:auto;width:100%;height:100%;overflow:hidden;text-overflow:ellipsis}\n"] }]
|
|
866
866
|
}], propDecorators: { plugin: [{
|
|
@@ -1236,13 +1236,13 @@ class ChartTooltipsComponent {
|
|
|
1236
1236
|
isVertical() {
|
|
1237
1237
|
return this.plugin.orientation === "right";
|
|
1238
1238
|
}
|
|
1239
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1240
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1239
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChartTooltipsComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1240
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ChartTooltipsComponent, selector: "nui-chart-tooltips", inputs: { plugin: "plugin", template: "template" }, viewQueries: [{ propertyName: "tooltips", predicate: ChartTooltipDirective, descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div *ngIf=\"plugin && plugin.dataPoints\">\n <div *ngFor=\"let item of plugin.dataPoints | keyvalue; trackBy: trackByFn\">\n <ng-template #tooltipTemplate>\n <ng-container\n *ngTemplateOutlet=\"template; context: { dataPoint: item.value }\"\n ></ng-container>\n </ng-template>\n\n <div\n nuiChartTooltip\n *ngIf=\"plugin.dataPointPositions[item.key]\"\n [attr.series-id]=\"item.key\"\n [template]=\"tooltipTemplate\"\n [openRemoteControl]=\"openTooltips\"\n [closeRemoteControl]=\"closeTooltips\"\n [positions]=\"plugin.dataPointPositions[item.key].overlayPositions\"\n class=\"chart-tooltips__popover\"\n [style.left.px]=\"plugin.dataPointPositions[item.key].x\"\n [style.top.px]=\"plugin.dataPointPositions[item.key].y\"\n [style.height.px]=\"plugin.dataPointPositions[item.key].height\"\n [style.width.px]=\"plugin.dataPointPositions[item.key].width\"\n ></div>\n </div>\n</div>\n", styles: [".chart-tooltips__popover{position:absolute;pointer-events:none}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: ChartTooltipDirective, selector: "[nuiChartTooltip]", inputs: ["template", "openRemoteControl", "closeRemoteControl", "positions"] }, { kind: "pipe", type: i1.KeyValuePipe, name: "keyvalue" }] });
|
|
1241
1241
|
}
|
|
1242
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1242
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChartTooltipsComponent, decorators: [{
|
|
1243
1243
|
type: Component,
|
|
1244
1244
|
args: [{ selector: "nui-chart-tooltips", template: "<div *ngIf=\"plugin && plugin.dataPoints\">\n <div *ngFor=\"let item of plugin.dataPoints | keyvalue; trackBy: trackByFn\">\n <ng-template #tooltipTemplate>\n <ng-container\n *ngTemplateOutlet=\"template; context: { dataPoint: item.value }\"\n ></ng-container>\n </ng-template>\n\n <div\n nuiChartTooltip\n *ngIf=\"plugin.dataPointPositions[item.key]\"\n [attr.series-id]=\"item.key\"\n [template]=\"tooltipTemplate\"\n [openRemoteControl]=\"openTooltips\"\n [closeRemoteControl]=\"closeTooltips\"\n [positions]=\"plugin.dataPointPositions[item.key].overlayPositions\"\n class=\"chart-tooltips__popover\"\n [style.left.px]=\"plugin.dataPointPositions[item.key].x\"\n [style.top.px]=\"plugin.dataPointPositions[item.key].y\"\n [style.height.px]=\"plugin.dataPointPositions[item.key].height\"\n [style.width.px]=\"plugin.dataPointPositions[item.key].width\"\n ></div>\n </div>\n</div>\n", styles: [".chart-tooltips__popover{position:absolute;pointer-events:none}\n"] }]
|
|
1245
|
-
}], ctorParameters:
|
|
1245
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { plugin: [{
|
|
1246
1246
|
type: Input
|
|
1247
1247
|
}], template: [{
|
|
1248
1248
|
type: Input
|
|
@@ -1445,13 +1445,13 @@ class ChartPopoverComponent {
|
|
|
1445
1445
|
this.update.next(this.plugin?.dataPoints);
|
|
1446
1446
|
});
|
|
1447
1447
|
}
|
|
1448
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1449
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1448
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChartPopoverComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1449
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ChartPopoverComponent, selector: "nui-chart-popover", inputs: { plugin: "plugin", template: "template" }, outputs: { update: "update" }, viewQueries: [{ propertyName: "popover", first: true, predicate: PopoverComponent, descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div *ngIf=\"plugin && plugin.dataPoints\">\n <nui-popover\n class=\"chart-popover__popover\"\n trigger=\"openPopoverSubject\"\n placement=\"top\"\n [unlimited]=\"true\"\n [template]=\"popoverTemplate\"\n [openPopover]=\"plugin.openPopoverSubject\"\n [closePopover]=\"plugin.closePopoverSubject\"\n [hasPadding]=\"false\"\n [container]=\"element.nativeElement\"\n [style.height.px]=\"plugin.popoverTargetPosition.height\"\n [withGrowAfterOpen]=\"true\"\n >\n </nui-popover>\n\n <ng-template #popoverTemplate>\n <ng-container\n *ngTemplateOutlet=\"\n template;\n context: { dataPoints: plugin.dataPoints }\n \"\n ></ng-container>\n </ng-template>\n</div>\n", styles: [":host{position:absolute}.chart-popover__popover{position:absolute;pointer-events:none}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i1$2.PopoverComponent, selector: "nui-popover", inputs: ["closePopover", "openPopover", "disabled", "trigger", "template", "placement", "popoverTitle", "icon", "modal", "container", "hasPadding", "preventClosing", "unlimited", "delay", "withGrowAfterOpen", "popoverOverlayPosition"], outputs: ["shown", "hidden"] }] });
|
|
1450
1450
|
}
|
|
1451
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1451
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChartPopoverComponent, decorators: [{
|
|
1452
1452
|
type: Component,
|
|
1453
1453
|
args: [{ selector: "nui-chart-popover", template: "<div *ngIf=\"plugin && plugin.dataPoints\">\n <nui-popover\n class=\"chart-popover__popover\"\n trigger=\"openPopoverSubject\"\n placement=\"top\"\n [unlimited]=\"true\"\n [template]=\"popoverTemplate\"\n [openPopover]=\"plugin.openPopoverSubject\"\n [closePopover]=\"plugin.closePopoverSubject\"\n [hasPadding]=\"false\"\n [container]=\"element.nativeElement\"\n [style.height.px]=\"plugin.popoverTargetPosition.height\"\n [withGrowAfterOpen]=\"true\"\n >\n </nui-popover>\n\n <ng-template #popoverTemplate>\n <ng-container\n *ngTemplateOutlet=\"\n template;\n context: { dataPoints: plugin.dataPoints }\n \"\n ></ng-container>\n </ng-template>\n</div>\n", styles: [":host{position:absolute}.chart-popover__popover{position:absolute;pointer-events:none}\n"] }]
|
|
1454
|
-
}], ctorParameters:
|
|
1454
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }], propDecorators: { plugin: [{
|
|
1455
1455
|
type: Input
|
|
1456
1456
|
}], template: [{
|
|
1457
1457
|
type: Input
|
|
@@ -1539,13 +1539,13 @@ class ChartMarkerComponent {
|
|
|
1539
1539
|
this.changeDetector.markForCheck();
|
|
1540
1540
|
});
|
|
1541
1541
|
}
|
|
1542
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1543
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1542
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChartMarkerComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1543
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ChartMarkerComponent, selector: "nui-chart-marker", inputs: { marker: "marker", drawLine: "drawLine", color: "color", maxSize: "maxSize" }, viewQueries: [{ propertyName: "svgContent", first: true, predicate: ["svgContent"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<svg [attr.width]=\"width\" [attr.height]=\"height\" [attr.viewBox]=\"viewBox\">\n <g #svgContent></g>\n</svg>\n", styles: [":host{font-size:0}\n"] });
|
|
1544
1544
|
}
|
|
1545
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1545
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChartMarkerComponent, decorators: [{
|
|
1546
1546
|
type: Component,
|
|
1547
1547
|
args: [{ selector: "nui-chart-marker", template: "<svg [attr.width]=\"width\" [attr.height]=\"height\" [attr.viewBox]=\"viewBox\">\n <g #svgContent></g>\n</svg>\n", styles: [":host{font-size:0}\n"] }]
|
|
1548
|
-
}], ctorParameters:
|
|
1548
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { marker: [{
|
|
1549
1549
|
type: Input
|
|
1550
1550
|
}], drawLine: [{
|
|
1551
1551
|
type: Input
|
|
@@ -1558,6 +1558,113 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
1558
1558
|
args: ["svgContent"]
|
|
1559
1559
|
}] } });
|
|
1560
1560
|
|
|
1561
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
1562
|
+
//
|
|
1563
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1564
|
+
// of this software and associated documentation files (the "Software"), to
|
|
1565
|
+
// deal in the Software without restriction, including without limitation the
|
|
1566
|
+
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
1567
|
+
// sell copies of the Software, and to permit persons to whom the Software is
|
|
1568
|
+
// furnished to do so, subject to the following conditions:
|
|
1569
|
+
//
|
|
1570
|
+
// The above copyright notice and this permission notice shall be included in
|
|
1571
|
+
// all copies or substantial portions of the Software.
|
|
1572
|
+
//
|
|
1573
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1574
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1575
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1576
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1577
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1578
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
1579
|
+
// THE SOFTWARE.
|
|
1580
|
+
class ChartComponent {
|
|
1581
|
+
elRef;
|
|
1582
|
+
ngZone;
|
|
1583
|
+
cd;
|
|
1584
|
+
chart;
|
|
1585
|
+
resizeObserver;
|
|
1586
|
+
resizeHandler;
|
|
1587
|
+
intersectionObserver;
|
|
1588
|
+
constructor(elRef, ngZone, cd) {
|
|
1589
|
+
this.elRef = elRef;
|
|
1590
|
+
this.ngZone = ngZone;
|
|
1591
|
+
this.cd = cd;
|
|
1592
|
+
}
|
|
1593
|
+
ngOnInit() {
|
|
1594
|
+
this.intersectionObserver = new IntersectionObserver(this.intersectionObserverCallback);
|
|
1595
|
+
this.intersectionObserver.observe(this.elRef.nativeElement);
|
|
1596
|
+
}
|
|
1597
|
+
ngOnChanges(changes) {
|
|
1598
|
+
if (changes["chart"]) {
|
|
1599
|
+
const previousChart = changes["chart"].previousValue;
|
|
1600
|
+
if (previousChart) {
|
|
1601
|
+
previousChart.destroy();
|
|
1602
|
+
}
|
|
1603
|
+
if (this.chart) {
|
|
1604
|
+
this.chart.build(this.elRef.nativeElement);
|
|
1605
|
+
this.redraw();
|
|
1606
|
+
}
|
|
1607
|
+
}
|
|
1608
|
+
}
|
|
1609
|
+
ngAfterContentInit() {
|
|
1610
|
+
this.chart
|
|
1611
|
+
.getEventBus()
|
|
1612
|
+
.getStream(REFRESH_EVENT)
|
|
1613
|
+
.subscribe(() => {
|
|
1614
|
+
this.chart.updateDimensions();
|
|
1615
|
+
});
|
|
1616
|
+
}
|
|
1617
|
+
ngAfterViewInit() {
|
|
1618
|
+
this.resizeHandler = debounce(() => this.redraw(), 10);
|
|
1619
|
+
this.resizeObserver = new ResizeObserver(() => {
|
|
1620
|
+
// This was suggested here https://github.com/angular/zone.js/issues/1011
|
|
1621
|
+
this.ngZone.run(() => this.resizeHandler());
|
|
1622
|
+
});
|
|
1623
|
+
this.ngZone.runOutsideAngular(() => this.resizeObserver?.observe(this.elRef.nativeElement));
|
|
1624
|
+
}
|
|
1625
|
+
ngOnDestroy() {
|
|
1626
|
+
this.intersectionObserver?.unobserve(this.elRef.nativeElement);
|
|
1627
|
+
this.resizeObserver?.unobserve(this.elRef.nativeElement);
|
|
1628
|
+
this.chart?.destroy();
|
|
1629
|
+
}
|
|
1630
|
+
redraw = () => {
|
|
1631
|
+
this.chart.updateDimensions();
|
|
1632
|
+
this.cd.detectChanges();
|
|
1633
|
+
};
|
|
1634
|
+
intersectionObserverCallback = (entries) => {
|
|
1635
|
+
// Since we're only listening for intersection changes for one target (the chart itself), the 'entries' argument always has just one element.
|
|
1636
|
+
const data = {
|
|
1637
|
+
isChartInView: entries[0].isIntersecting,
|
|
1638
|
+
};
|
|
1639
|
+
this.chart
|
|
1640
|
+
.getEventBus()
|
|
1641
|
+
.getStream(CHART_VIEW_STATUS_EVENT)
|
|
1642
|
+
.next({ data });
|
|
1643
|
+
};
|
|
1644
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChartComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1645
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ChartComponent, selector: "nui-chart", inputs: { chart: "chart" }, providers: [
|
|
1646
|
+
{
|
|
1647
|
+
provide: CHART_COMPONENT,
|
|
1648
|
+
useExisting: forwardRef(() => ChartComponent),
|
|
1649
|
+
},
|
|
1650
|
+
], usesOnChanges: true, ngImport: i0, template: "", isInline: true });
|
|
1651
|
+
}
|
|
1652
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChartComponent, decorators: [{
|
|
1653
|
+
type: Component,
|
|
1654
|
+
args: [{
|
|
1655
|
+
selector: "nui-chart",
|
|
1656
|
+
template: "",
|
|
1657
|
+
providers: [
|
|
1658
|
+
{
|
|
1659
|
+
provide: CHART_COMPONENT,
|
|
1660
|
+
useExisting: forwardRef(() => ChartComponent),
|
|
1661
|
+
},
|
|
1662
|
+
],
|
|
1663
|
+
}]
|
|
1664
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }], propDecorators: { chart: [{
|
|
1665
|
+
type: Input
|
|
1666
|
+
}] } });
|
|
1667
|
+
|
|
1561
1668
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
1562
1669
|
//
|
|
1563
1670
|
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
@@ -1764,10 +1871,10 @@ class ChartCollectionService {
|
|
|
1764
1871
|
}
|
|
1765
1872
|
return collection;
|
|
1766
1873
|
}
|
|
1767
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1768
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1874
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChartCollectionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1875
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChartCollectionService });
|
|
1769
1876
|
}
|
|
1770
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1877
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChartCollectionService, decorators: [{
|
|
1771
1878
|
type: Injectable
|
|
1772
1879
|
}] });
|
|
1773
1880
|
|
|
@@ -1819,129 +1926,22 @@ class ChartCollectionIdDirective {
|
|
|
1819
1926
|
}
|
|
1820
1927
|
}
|
|
1821
1928
|
}
|
|
1822
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1823
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1929
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChartCollectionIdDirective, deps: [{ token: CHART_COMPONENT }, { token: ChartCollectionService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1930
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: { collectionId: ["nuiChartCollectionId", "collectionId"] }, usesOnChanges: true, ngImport: i0 });
|
|
1824
1931
|
}
|
|
1825
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1932
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChartCollectionIdDirective, decorators: [{
|
|
1826
1933
|
type: Directive,
|
|
1827
1934
|
args: [{
|
|
1828
1935
|
selector: "[nuiChartCollectionId]",
|
|
1829
1936
|
}]
|
|
1830
|
-
}], ctorParameters:
|
|
1937
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
1831
1938
|
type: Inject,
|
|
1832
1939
|
args: [CHART_COMPONENT]
|
|
1833
|
-
}] }, { type: ChartCollectionService }]
|
|
1940
|
+
}] }, { type: ChartCollectionService }], propDecorators: { collectionId: [{
|
|
1834
1941
|
type: Input,
|
|
1835
1942
|
args: ["nuiChartCollectionId"]
|
|
1836
1943
|
}] } });
|
|
1837
1944
|
|
|
1838
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
1839
|
-
//
|
|
1840
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1841
|
-
// of this software and associated documentation files (the "Software"), to
|
|
1842
|
-
// deal in the Software without restriction, including without limitation the
|
|
1843
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
1844
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
1845
|
-
// furnished to do so, subject to the following conditions:
|
|
1846
|
-
//
|
|
1847
|
-
// The above copyright notice and this permission notice shall be included in
|
|
1848
|
-
// all copies or substantial portions of the Software.
|
|
1849
|
-
//
|
|
1850
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1851
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1852
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1853
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1854
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1855
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
1856
|
-
// THE SOFTWARE.
|
|
1857
|
-
class ChartComponent {
|
|
1858
|
-
elRef;
|
|
1859
|
-
ngZone;
|
|
1860
|
-
cd;
|
|
1861
|
-
chart;
|
|
1862
|
-
resizeObserver;
|
|
1863
|
-
resizeHandler;
|
|
1864
|
-
intersectionObserver;
|
|
1865
|
-
constructor(elRef, ngZone, cd) {
|
|
1866
|
-
this.elRef = elRef;
|
|
1867
|
-
this.ngZone = ngZone;
|
|
1868
|
-
this.cd = cd;
|
|
1869
|
-
}
|
|
1870
|
-
ngOnInit() {
|
|
1871
|
-
this.intersectionObserver = new IntersectionObserver(this.intersectionObserverCallback);
|
|
1872
|
-
this.intersectionObserver.observe(this.elRef.nativeElement);
|
|
1873
|
-
}
|
|
1874
|
-
ngOnChanges(changes) {
|
|
1875
|
-
if (changes["chart"]) {
|
|
1876
|
-
const previousChart = changes["chart"].previousValue;
|
|
1877
|
-
if (previousChart) {
|
|
1878
|
-
previousChart.destroy();
|
|
1879
|
-
}
|
|
1880
|
-
if (this.chart) {
|
|
1881
|
-
this.chart.build(this.elRef.nativeElement);
|
|
1882
|
-
this.redraw();
|
|
1883
|
-
}
|
|
1884
|
-
}
|
|
1885
|
-
}
|
|
1886
|
-
ngAfterContentInit() {
|
|
1887
|
-
this.chart
|
|
1888
|
-
.getEventBus()
|
|
1889
|
-
.getStream(REFRESH_EVENT)
|
|
1890
|
-
.subscribe(() => {
|
|
1891
|
-
this.chart.updateDimensions();
|
|
1892
|
-
});
|
|
1893
|
-
}
|
|
1894
|
-
ngAfterViewInit() {
|
|
1895
|
-
this.resizeHandler = debounce(() => this.redraw(), 10);
|
|
1896
|
-
this.resizeObserver = new ResizeObserver(() => {
|
|
1897
|
-
// This was suggested here https://github.com/angular/zone.js/issues/1011
|
|
1898
|
-
this.ngZone.run(() => this.resizeHandler());
|
|
1899
|
-
});
|
|
1900
|
-
this.ngZone.runOutsideAngular(() => this.resizeObserver?.observe(this.elRef.nativeElement));
|
|
1901
|
-
}
|
|
1902
|
-
ngOnDestroy() {
|
|
1903
|
-
this.intersectionObserver?.unobserve(this.elRef.nativeElement);
|
|
1904
|
-
this.resizeObserver?.unobserve(this.elRef.nativeElement);
|
|
1905
|
-
this.chart?.destroy();
|
|
1906
|
-
}
|
|
1907
|
-
redraw = () => {
|
|
1908
|
-
this.chart.updateDimensions();
|
|
1909
|
-
this.cd.detectChanges();
|
|
1910
|
-
};
|
|
1911
|
-
intersectionObserverCallback = (entries) => {
|
|
1912
|
-
// Since we're only listening for intersection changes for one target (the chart itself), the 'entries' argument always has just one element.
|
|
1913
|
-
const data = {
|
|
1914
|
-
isChartInView: entries[0].isIntersecting,
|
|
1915
|
-
};
|
|
1916
|
-
this.chart
|
|
1917
|
-
.getEventBus()
|
|
1918
|
-
.getStream(CHART_VIEW_STATUS_EVENT)
|
|
1919
|
-
.next({ data });
|
|
1920
|
-
};
|
|
1921
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ChartComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1922
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ChartComponent, selector: "nui-chart", inputs: { chart: "chart" }, providers: [
|
|
1923
|
-
{
|
|
1924
|
-
provide: CHART_COMPONENT,
|
|
1925
|
-
useExisting: forwardRef(() => ChartComponent),
|
|
1926
|
-
},
|
|
1927
|
-
], usesOnChanges: true, ngImport: i0, template: "", isInline: true });
|
|
1928
|
-
}
|
|
1929
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ChartComponent, decorators: [{
|
|
1930
|
-
type: Component,
|
|
1931
|
-
args: [{
|
|
1932
|
-
selector: "nui-chart",
|
|
1933
|
-
template: "",
|
|
1934
|
-
providers: [
|
|
1935
|
-
{
|
|
1936
|
-
provide: CHART_COMPONENT,
|
|
1937
|
-
useExisting: forwardRef(() => ChartComponent),
|
|
1938
|
-
},
|
|
1939
|
-
],
|
|
1940
|
-
}]
|
|
1941
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { chart: [{
|
|
1942
|
-
type: Input
|
|
1943
|
-
}] } });
|
|
1944
|
-
|
|
1945
1945
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
1946
1946
|
//
|
|
1947
1947
|
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
@@ -2023,10 +2023,10 @@ class LegendComponent {
|
|
|
2023
2023
|
ngOnDestroy() {
|
|
2024
2024
|
this.activeChanged.complete();
|
|
2025
2025
|
}
|
|
2026
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2027
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2026
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LegendComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2027
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: LegendComponent, selector: "nui-legend", inputs: { active: "active", interactive: "interactive", orientation: "orientation", seriesColor: "seriesColor", seriesIcon: "seriesIcon", seriesUnitLabel: "seriesUnitLabel" }, host: { classAttribute: "d-inline-block" }, usesOnChanges: true, ngImport: i0, template: "<div\n class=\"nui-legend d-flex flex-wrap\"\n [class.flex-column]=\"orientation === 'vertical'\"\n>\n <ng-content></ng-content>\n</div>\n" });
|
|
2028
2028
|
}
|
|
2029
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2029
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LegendComponent, decorators: [{
|
|
2030
2030
|
type: Component,
|
|
2031
2031
|
args: [{ selector: "nui-legend", host: { class: "d-inline-block" }, encapsulation: ViewEncapsulation.Emulated, template: "<div\n class=\"nui-legend d-flex flex-wrap\"\n [class.flex-column]=\"orientation === 'vertical'\"\n>\n <ng-content></ng-content>\n</div>\n" }]
|
|
2032
2032
|
}], propDecorators: { active: [{
|
|
@@ -2169,17 +2169,17 @@ class LegendSeriesComponent {
|
|
|
2169
2169
|
return (!!this.projectedDescription &&
|
|
2170
2170
|
this.projectedDescription.nativeElement.children.length !== 0);
|
|
2171
2171
|
}
|
|
2172
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2173
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2172
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LegendSeriesComponent, deps: [{ token: LegendComponent, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
2173
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: LegendSeriesComponent, selector: "nui-legend-series", inputs: { active: "active", interactive: "interactive", isSelected: "isSelected", descriptionPrimary: "descriptionPrimary", descriptionSecondary: "descriptionSecondary", icon: "icon", color: "color", seriesRenderState: "seriesRenderState" }, outputs: { isSelectedChange: "isSelectedChange" }, host: { listeners: { "click": "onClick()" }, properties: { "class.nui-legend-series--interactive": "this.isInteractiveClassApplied", "class.nui-legend-series--horizontal": "this.isHorizontalClassApplied", "class.inverse": "this.isActiveClassApplied" }, classAttribute: "nui-legend-series" }, viewQueries: [{ propertyName: "projectedDescription", first: true, predicate: ["projectedDescription"], descendants: true }], ngImport: i0, template: "<div\n class=\"d-flex\"\n [ngClass]=\"['nui-legend-series--state-' + seriesRenderState]\"\n [class.nui-legend-series--deselected]=\"!isSelected\"\n>\n <div class=\"nui-legend-series__tile-wrapper\">\n <div class=\"nui-legend-series__tile\">\n <ng-content></ng-content>\n </div>\n <div\n class=\"nui-legend-series__checkbox-wrapper\"\n [class.nui-legend-series__checkbox--checked]=\"isSelected\"\n >\n <div class=\"nui-legend-series__checkbox-mark\">\n <i class=\"nui-legend-series__checkbox-glyph\"></i>\n </div>\n </div>\n </div>\n <div\n *ngIf=\"hasInputDescription(); else descriptionTemplate\"\n class=\"description-container nui-text-small d-flex flex-column justify-content-center\"\n >\n <div\n *ngIf=\"!!descriptionPrimary\"\n class=\"description description-primary\"\n [title]=\"descriptionPrimary\"\n >\n {{ descriptionPrimary }}\n </div>\n <div\n *ngIf=\"!!descriptionSecondary\"\n class=\"description description-secondary\"\n [title]=\"descriptionSecondary\"\n >\n {{ descriptionSecondary }}\n </div>\n </div>\n <div class=\"legend-menu\">\n <ng-content select=\"[legendMenu]\"></ng-content>\n </div>\n</div>\n<ng-template #descriptionTemplate>\n <div class=\"d-flex\" #projectedDescription>\n <ng-content select=\"[description]\"></ng-content>\n </div>\n</ng-template>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2174
2174
|
}
|
|
2175
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2175
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LegendSeriesComponent, decorators: [{
|
|
2176
2176
|
type: Component,
|
|
2177
2177
|
args: [{ host: { class: LEGEND_SERIES_CLASS_NAME }, selector: "nui-legend-series", changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n class=\"d-flex\"\n [ngClass]=\"['nui-legend-series--state-' + seriesRenderState]\"\n [class.nui-legend-series--deselected]=\"!isSelected\"\n>\n <div class=\"nui-legend-series__tile-wrapper\">\n <div class=\"nui-legend-series__tile\">\n <ng-content></ng-content>\n </div>\n <div\n class=\"nui-legend-series__checkbox-wrapper\"\n [class.nui-legend-series__checkbox--checked]=\"isSelected\"\n >\n <div class=\"nui-legend-series__checkbox-mark\">\n <i class=\"nui-legend-series__checkbox-glyph\"></i>\n </div>\n </div>\n </div>\n <div\n *ngIf=\"hasInputDescription(); else descriptionTemplate\"\n class=\"description-container nui-text-small d-flex flex-column justify-content-center\"\n >\n <div\n *ngIf=\"!!descriptionPrimary\"\n class=\"description description-primary\"\n [title]=\"descriptionPrimary\"\n >\n {{ descriptionPrimary }}\n </div>\n <div\n *ngIf=\"!!descriptionSecondary\"\n class=\"description description-secondary\"\n [title]=\"descriptionSecondary\"\n >\n {{ descriptionSecondary }}\n </div>\n </div>\n <div class=\"legend-menu\">\n <ng-content select=\"[legendMenu]\"></ng-content>\n </div>\n</div>\n<ng-template #descriptionTemplate>\n <div class=\"d-flex\" #projectedDescription>\n <ng-content select=\"[description]\"></ng-content>\n </div>\n</ng-template>\n" }]
|
|
2178
|
-
}], ctorParameters:
|
|
2178
|
+
}], ctorParameters: () => [{ type: LegendComponent, decorators: [{
|
|
2179
2179
|
type: Optional
|
|
2180
2180
|
}, {
|
|
2181
2181
|
type: Host
|
|
2182
|
-
}] }]
|
|
2182
|
+
}] }], propDecorators: { active: [{
|
|
2183
2183
|
type: Input
|
|
2184
2184
|
}], interactive: [{
|
|
2185
2185
|
type: Input
|
|
@@ -2234,10 +2234,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
2234
2234
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
2235
2235
|
// THE SOFTWARE.
|
|
2236
2236
|
class BasicLegendTileComponent {
|
|
2237
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2238
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2237
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BasicLegendTileComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2238
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: BasicLegendTileComponent, selector: "nui-basic-legend-tile", ngImport: i0, template: "<div class=\"nui-basic-legend-tile\">\n <ng-content></ng-content>\n</div>\n", styles: [".nui-basic-legend-tile{height:100%;min-height:30px;min-width:30px;display:flex;align-items:center;justify-content:center}\n"] });
|
|
2239
2239
|
}
|
|
2240
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2240
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BasicLegendTileComponent, decorators: [{
|
|
2241
2241
|
type: Component,
|
|
2242
2242
|
args: [{ selector: "nui-basic-legend-tile", encapsulation: ViewEncapsulation.Emulated, template: "<div class=\"nui-basic-legend-tile\">\n <ng-content></ng-content>\n</div>\n", styles: [".nui-basic-legend-tile{height:100%;min-height:30px;min-width:30px;display:flex;align-items:center;justify-content:center}\n"] }]
|
|
2243
2243
|
}] });
|
|
@@ -2308,19 +2308,19 @@ class RichLegendTileComponent {
|
|
|
2308
2308
|
hasInputUnitLabel() {
|
|
2309
2309
|
return !isNil(this.unitLabel);
|
|
2310
2310
|
}
|
|
2311
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2312
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2311
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RichLegendTileComponent, deps: [{ token: LegendSeriesComponent, host: true }, { token: LegendComponent, host: true, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2312
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: { unitLabel: "unitLabel", value: "value", backgroundColor: "backgroundColor", color: "color" }, ngImport: i0, template: "<div\n class=\"nui-rich-legend-tile\"\n [class.nui-rich-legend-tile--has-point-marker]=\"\n rightEdge.children.length > 0\n \"\n [class.nui-rich-legend-tile--series-has-additional-content]=\"\n seriesHasAdditionalContent\n \"\n>\n <div\n class=\"nui-rich-legend-tile__tilebox d-flex justify-content-center align-items-end flex-column\"\n [ngStyle]=\"{ 'background-color': backgroundColor }\"\n [style.color]=\"color\"\n >\n <div\n *ngIf=\"hasInputValue(); else projectedTopContent\"\n class=\"nui-rich-legend-tile__tilebox-value nui-rich-legend-tile__ellipsified\"\n >\n {{ value }}\n </div>\n <div\n *ngIf=\"hasInputUnitLabel(); else projectedBottomContent\"\n class=\"nui-rich-legend-tile__tilebox-unit nui-rich-legend-tile__ellipsified\"\n >\n {{ unitLabel }}\n </div>\n <ng-content></ng-content>\n </div>\n <div class=\"nui-rich-legend-tile__icon\" #icon>\n <ng-content select=\"[leftEdge]\"></ng-content>\n </div>\n <div class=\"nui-rich-legend-tile__point-marker\" #rightEdge>\n <ng-content select=\"[rightEdge]\"></ng-content>\n </div>\n</div>\n<ng-template #projectedTopContent>\n <ng-content select=\"[top]\"></ng-content>\n</ng-template>\n<ng-template #projectedBottomContent>\n <ng-content select=\"[bottom]\"></ng-content>\n</ng-template>\n", styles: [".nui-rich-legend-tile{position:relative;width:60px;height:100%;line-height:18px}.nui-rich-legend-tile :empty{display:none}.nui-rich-legend-tile__tilebox{width:100%;height:100%;padding:0 5px;background-color:var(--nui-color-bg-light,#fff)}.nui-rich-legend-tile__ellipsified{max-width:100%;overflow:hidden;text-overflow:ellipsis}.nui-rich-legend-tile__tilebox-value{text-align:right;font-weight:600}.nui-rich-legend-tile__tilebox-value:not(:last-child){margin-bottom:-3px}.nui-rich-legend-tile__tilebox-unit{text-align:right;font-size:11px}.nui-rich-legend-tile__tilebox-unit:not(:first-child){margin-top:-3px}.nui-rich-legend-tile__point-marker,.nui-rich-legend-tile__icon{position:absolute;line-height:0;top:50%;pointer-events:none}.nui-rich-legend-tile__point-marker{right:0;transform:translate(50%,-50%)}.nui-rich-legend-tile__icon{left:0;transform:translate(-50%,-50%)}.nui-rich-legend-tile--has-point-marker.nui-rich-legend-tile--series-has-additional-content{margin-right:5px}.nui-rich-legend-tile--has-point-marker .nui-rich-legend-tile__tilebox{padding-right:7px}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
2313
2313
|
}
|
|
2314
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2314
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RichLegendTileComponent, decorators: [{
|
|
2315
2315
|
type: Component,
|
|
2316
2316
|
args: [{ selector: "nui-rich-legend-tile", encapsulation: ViewEncapsulation.Emulated, template: "<div\n class=\"nui-rich-legend-tile\"\n [class.nui-rich-legend-tile--has-point-marker]=\"\n rightEdge.children.length > 0\n \"\n [class.nui-rich-legend-tile--series-has-additional-content]=\"\n seriesHasAdditionalContent\n \"\n>\n <div\n class=\"nui-rich-legend-tile__tilebox d-flex justify-content-center align-items-end flex-column\"\n [ngStyle]=\"{ 'background-color': backgroundColor }\"\n [style.color]=\"color\"\n >\n <div\n *ngIf=\"hasInputValue(); else projectedTopContent\"\n class=\"nui-rich-legend-tile__tilebox-value nui-rich-legend-tile__ellipsified\"\n >\n {{ value }}\n </div>\n <div\n *ngIf=\"hasInputUnitLabel(); else projectedBottomContent\"\n class=\"nui-rich-legend-tile__tilebox-unit nui-rich-legend-tile__ellipsified\"\n >\n {{ unitLabel }}\n </div>\n <ng-content></ng-content>\n </div>\n <div class=\"nui-rich-legend-tile__icon\" #icon>\n <ng-content select=\"[leftEdge]\"></ng-content>\n </div>\n <div class=\"nui-rich-legend-tile__point-marker\" #rightEdge>\n <ng-content select=\"[rightEdge]\"></ng-content>\n </div>\n</div>\n<ng-template #projectedTopContent>\n <ng-content select=\"[top]\"></ng-content>\n</ng-template>\n<ng-template #projectedBottomContent>\n <ng-content select=\"[bottom]\"></ng-content>\n</ng-template>\n", styles: [".nui-rich-legend-tile{position:relative;width:60px;height:100%;line-height:18px}.nui-rich-legend-tile :empty{display:none}.nui-rich-legend-tile__tilebox{width:100%;height:100%;padding:0 5px;background-color:var(--nui-color-bg-light,#fff)}.nui-rich-legend-tile__ellipsified{max-width:100%;overflow:hidden;text-overflow:ellipsis}.nui-rich-legend-tile__tilebox-value{text-align:right;font-weight:600}.nui-rich-legend-tile__tilebox-value:not(:last-child){margin-bottom:-3px}.nui-rich-legend-tile__tilebox-unit{text-align:right;font-size:11px}.nui-rich-legend-tile__tilebox-unit:not(:first-child){margin-top:-3px}.nui-rich-legend-tile__point-marker,.nui-rich-legend-tile__icon{position:absolute;line-height:0;top:50%;pointer-events:none}.nui-rich-legend-tile__point-marker{right:0;transform:translate(50%,-50%)}.nui-rich-legend-tile__icon{left:0;transform:translate(-50%,-50%)}.nui-rich-legend-tile--has-point-marker.nui-rich-legend-tile--series-has-additional-content{margin-right:5px}.nui-rich-legend-tile--has-point-marker .nui-rich-legend-tile__tilebox{padding-right:7px}\n"] }]
|
|
2317
|
-
}], ctorParameters:
|
|
2317
|
+
}], ctorParameters: () => [{ type: LegendSeriesComponent, decorators: [{
|
|
2318
2318
|
type: Host
|
|
2319
2319
|
}] }, { type: LegendComponent, decorators: [{
|
|
2320
2320
|
type: Optional
|
|
2321
2321
|
}, {
|
|
2322
2322
|
type: Host
|
|
2323
|
-
}] }, { type: i0.ChangeDetectorRef }]
|
|
2323
|
+
}] }, { type: i0.ChangeDetectorRef }], propDecorators: { unitLabel: [{
|
|
2324
2324
|
type: Input
|
|
2325
2325
|
}], value: [{
|
|
2326
2326
|
type: Input
|
|
@@ -2330,6 +2330,34 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
2330
2330
|
type: Input
|
|
2331
2331
|
}] } });
|
|
2332
2332
|
|
|
2333
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
2334
|
+
//
|
|
2335
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
2336
|
+
// of this software and associated documentation files (the "Software"), to
|
|
2337
|
+
// deal in the Software without restriction, including without limitation the
|
|
2338
|
+
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
2339
|
+
// sell copies of the Software, and to permit persons to whom the Software is
|
|
2340
|
+
// furnished to do so, subject to the following conditions:
|
|
2341
|
+
//
|
|
2342
|
+
// The above copyright notice and this permission notice shall be included in
|
|
2343
|
+
// all copies or substantial portions of the Software.
|
|
2344
|
+
//
|
|
2345
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
2346
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
2347
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
2348
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
2349
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
2350
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
2351
|
+
// THE SOFTWARE.
|
|
2352
|
+
/**
|
|
2353
|
+
* Used for specifying the start or end boundary of a zone
|
|
2354
|
+
*/
|
|
2355
|
+
var ZoneBoundary;
|
|
2356
|
+
(function (ZoneBoundary) {
|
|
2357
|
+
ZoneBoundary["Start"] = "start";
|
|
2358
|
+
ZoneBoundary["End"] = "end";
|
|
2359
|
+
})(ZoneBoundary || (ZoneBoundary = {}));
|
|
2360
|
+
|
|
2333
2361
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
2334
2362
|
//
|
|
2335
2363
|
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
@@ -4387,34 +4415,6 @@ class SideIndicatorRenderer extends XYRenderer {
|
|
|
4387
4415
|
}
|
|
4388
4416
|
}
|
|
4389
4417
|
|
|
4390
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
4391
|
-
//
|
|
4392
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4393
|
-
// of this software and associated documentation files (the "Software"), to
|
|
4394
|
-
// deal in the Software without restriction, including without limitation the
|
|
4395
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
4396
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
4397
|
-
// furnished to do so, subject to the following conditions:
|
|
4398
|
-
//
|
|
4399
|
-
// The above copyright notice and this permission notice shall be included in
|
|
4400
|
-
// all copies or substantial portions of the Software.
|
|
4401
|
-
//
|
|
4402
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
4403
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
4404
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
4405
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
4406
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
4407
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
4408
|
-
// THE SOFTWARE.
|
|
4409
|
-
/**
|
|
4410
|
-
* Used for specifying the start or end boundary of a zone
|
|
4411
|
-
*/
|
|
4412
|
-
var ZoneBoundary;
|
|
4413
|
-
(function (ZoneBoundary) {
|
|
4414
|
-
ZoneBoundary["Start"] = "start";
|
|
4415
|
-
ZoneBoundary["End"] = "end";
|
|
4416
|
-
})(ZoneBoundary || (ZoneBoundary = {}));
|
|
4417
|
-
|
|
4418
4418
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
4419
4419
|
//
|
|
4420
4420
|
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
@@ -4783,12 +4783,12 @@ class ThresholdsService {
|
|
|
4783
4783
|
}
|
|
4784
4784
|
return sideIndicators;
|
|
4785
4785
|
}
|
|
4786
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4787
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4786
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ThresholdsService, deps: [{ token: i1$2.LoggerService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4787
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ThresholdsService });
|
|
4788
4788
|
}
|
|
4789
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4789
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ThresholdsService, decorators: [{
|
|
4790
4790
|
type: Injectable
|
|
4791
|
-
}], ctorParameters:
|
|
4791
|
+
}], ctorParameters: () => [{ type: i1$2.LoggerService }] });
|
|
4792
4792
|
|
|
4793
4793
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
4794
4794
|
//
|
|
@@ -4810,8 +4810,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
4810
4810
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
4811
4811
|
// THE SOFTWARE.
|
|
4812
4812
|
class NuiChartsModule {
|
|
4813
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4814
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
4813
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NuiChartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4814
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: NuiChartsModule, declarations: [LegendComponent,
|
|
4815
4815
|
LegendSeriesComponent,
|
|
4816
4816
|
BasicLegendTileComponent,
|
|
4817
4817
|
RichLegendTileComponent,
|
|
@@ -4834,9 +4834,9 @@ class NuiChartsModule {
|
|
|
4834
4834
|
ChartTooltipsComponent,
|
|
4835
4835
|
ChartTooltipComponent,
|
|
4836
4836
|
ChartTooltipDirective] });
|
|
4837
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
4837
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NuiChartsModule, providers: [ChartCollectionService, ThresholdsService], imports: [NuiCommonModule, NuiIconModule, NuiPopoverModule, OverlayModule] });
|
|
4838
4838
|
}
|
|
4839
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4839
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NuiChartsModule, decorators: [{
|
|
4840
4840
|
type: NgModule,
|
|
4841
4841
|
args: [{
|
|
4842
4842
|
imports: [NuiCommonModule, NuiIconModule, NuiPopoverModule, OverlayModule],
|
|
@@ -6550,10 +6550,10 @@ function mergeDomains(domains, scale) {
|
|
|
6550
6550
|
return EMPTY_CONTINUOUS_DOMAIN;
|
|
6551
6551
|
}
|
|
6552
6552
|
const domainMin = min$1(nonEmptyDomains
|
|
6553
|
-
.filter((e) => typeof e[0] !== undefined)
|
|
6553
|
+
.filter((e) => typeof e[0] !== "undefined")
|
|
6554
6554
|
.map((e) => e[0]));
|
|
6555
6555
|
const domainMax = max$1(nonEmptyDomains
|
|
6556
|
-
.filter((e) => typeof e[1] !== undefined)
|
|
6556
|
+
.filter((e) => typeof e[1] !== "undefined")
|
|
6557
6557
|
.map((e) => e[1]));
|
|
6558
6558
|
return [domainMin, domainMax];
|
|
6559
6559
|
}
|
|
@@ -11755,10 +11755,10 @@ class TimeseriesZoomPluginsSyncService {
|
|
|
11755
11755
|
plugin.clearBrush();
|
|
11756
11756
|
});
|
|
11757
11757
|
}
|
|
11758
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11759
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
11758
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TimeseriesZoomPluginsSyncService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
11759
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TimeseriesZoomPluginsSyncService, providedIn: "root" });
|
|
11760
11760
|
}
|
|
11761
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11761
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TimeseriesZoomPluginsSyncService, decorators: [{
|
|
11762
11762
|
type: Injectable,
|
|
11763
11763
|
args: [{ providedIn: "root" }]
|
|
11764
11764
|
}] });
|