@nova-ui/charts 13.0.11-4574 → 15.0.0
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 -1
- package/chart/chart.component.d.ts +1 -1
- package/chart-collection/chart-collection-id.directive.d.ts +1 -1
- package/chart-donut-content/chart-donut-content.component.d.ts +1 -1
- package/chart-marker/chart-marker.component.d.ts +1 -1
- package/chart-popover/chart-popover.component.d.ts +1 -1
- package/chart-tooltips/chart-tooltip.component.d.ts +1 -1
- package/chart-tooltips/chart-tooltip.directive.d.ts +1 -1
- package/chart-tooltips/chart-tooltips.component.d.ts +1 -1
- package/core/chart.d.ts +1 -1
- package/core/common/scales/types.d.ts +3 -3
- package/core/common/types.d.ts +4 -4
- package/core/grid/types.d.ts +1 -1
- package/esm2020/chart/chart.component.mjs +5 -5
- package/esm2020/chart-collection/chart-collection-id.directive.mjs +4 -4
- package/esm2020/chart-collection/chart-collection.service.mjs +4 -4
- package/esm2020/chart-donut-content/chart-donut-content.component.mjs +4 -4
- package/esm2020/chart-marker/chart-marker.component.mjs +4 -4
- package/esm2020/chart-popover/chart-popover.component.mjs +6 -6
- package/esm2020/chart-tooltips/chart-tooltip.component.mjs +4 -4
- package/esm2020/chart-tooltips/chart-tooltip.directive.mjs +4 -4
- package/esm2020/chart-tooltips/chart-tooltips.component.mjs +4 -4
- package/esm2020/charts.module.mjs +5 -5
- package/esm2020/core/chart-assists/chart-assist.mjs +33 -33
- package/esm2020/core/chart.mjs +1 -1
- package/esm2020/core/common/data-manager.mjs +8 -8
- package/esm2020/core/grid/xy-grid.mjs +13 -13
- package/esm2020/core/plugins/timeseries-zoom-plugin-sync.service.mjs +4 -4
- package/esm2020/legend/legend-series/legend-series.component.mjs +17 -17
- package/esm2020/legend/legend-tile/basic-legend-tile/basic-legend-tile.component.mjs +4 -4
- package/esm2020/legend/legend-tile/rich-legend-tile/rich-legend-tile.component.mjs +4 -4
- package/esm2020/legend/legend.component.mjs +4 -4
- package/esm2020/renderers/bar/accessors/horizontal-bar-accessors.mjs +1 -1
- package/esm2020/renderers/bar/accessors/status-accessors.mjs +5 -5
- package/esm2020/renderers/bar/accessors/vertical-bar-accessors.mjs +1 -1
- package/esm2020/renderers/line/line-accessors.mjs +1 -1
- package/esm2020/renderers/line/line-renderer.mjs +8 -8
- package/esm2020/renderers/types.mjs +1 -1
- package/esm2020/thresholds/thresholds-service.mjs +4 -4
- package/fesm2015/nova-ui-charts.mjs +126 -126
- package/fesm2015/nova-ui-charts.mjs.map +1 -1
- package/fesm2020/nova-ui-charts.mjs +125 -125
- package/fesm2020/nova-ui-charts.mjs.map +1 -1
- package/gauge/types.d.ts +1 -1
- package/legend/legend-series/legend-series.component.d.ts +1 -1
- package/legend/legend-tile/basic-legend-tile/basic-legend-tile.component.d.ts +1 -1
- package/legend/legend-tile/rich-legend-tile/rich-legend-tile.component.d.ts +1 -1
- package/legend/legend.component.d.ts +1 -1
- package/package.json +5 -4
- package/renderers/bar/highlight-strategies/bar-highlight-strategy.d.ts +1 -1
- package/renderers/types.d.ts +1 -1
- package/sdk/atoms/chart/atoms/bar-data-point.atom.js +10 -18
- package/sdk/atoms/chart/atoms/bar-data-point.atom.js.map +1 -1
- package/sdk/atoms/chart/atoms/chart.atom.js +55 -82
- package/sdk/atoms/chart/atoms/chart.atom.js.map +1 -1
- package/sdk/atoms/chart/atoms/lasagna.atom.js +9 -15
- package/sdk/atoms/chart/atoms/lasagna.atom.js.map +1 -1
- package/sdk/atoms/chart/atoms/line-series.atom.js +16 -26
- package/sdk/atoms/chart/atoms/line-series.atom.js.map +1 -1
- package/sdk/atoms/chart/atoms/marker-series.atom.js +2 -5
- package/sdk/atoms/chart/atoms/marker-series.atom.js.map +1 -1
- package/sdk/atoms/chart/atoms/marker.atom.js +14 -22
- package/sdk/atoms/chart/atoms/marker.atom.js.map +1 -1
- package/sdk/atoms/chart/atoms/radial-series.atom.js +11 -13
- package/sdk/atoms/chart/atoms/radial-series.atom.js.map +1 -1
- package/sdk/atoms/chart/atoms/series.atom.js +4 -10
- package/sdk/atoms/chart/atoms/series.atom.js.map +1 -1
- package/sdk/atoms/chart/atoms/status-bar-data-point.atom.js +5 -11
- package/sdk/atoms/chart/atoms/status-bar-data-point.atom.js.map +1 -1
- package/sdk/atoms/chart/atoms/threshold-series.atom.js +2 -5
- package/sdk/atoms/chart/atoms/threshold-series.atom.js.map +1 -1
- package/sdk/atoms/chart/boosters/donut-chart-content.booster.js +2 -5
- package/sdk/atoms/chart/boosters/donut-chart-content.booster.js.map +1 -1
- package/sdk/atoms/chart/boosters/interactive.booster.js +6 -9
- package/sdk/atoms/chart/boosters/interactive.booster.js.map +1 -1
- package/sdk/atoms/chart/boosters/zoom.booster.js +11 -14
- package/sdk/atoms/chart/boosters/zoom.booster.js.map +1 -1
- package/sdk/atoms/chart/donut-chart-test.po.js +1 -0
- package/sdk/atoms/chart/donut-chart-test.po.js.map +1 -1
- package/sdk/atoms/chart/line-chart-test.po.js +5 -6
- package/sdk/atoms/chart/line-chart-test.po.js.map +1 -1
- package/sdk/atoms/chart/pie-chart-test.po.js +1 -0
- package/sdk/atoms/chart/pie-chart-test.po.js.map +1 -1
- package/sdk/atoms/chart/spark-chart-test.po.js +11 -18
- package/sdk/atoms/chart/spark-chart-test.po.js.map +1 -1
- package/sdk/atoms/chart/status-chart.atom.js +17 -22
- package/sdk/atoms/chart/status-chart.atom.js.map +1 -1
- package/sdk/atoms/chart/test.po.js +14 -21
- package/sdk/atoms/chart/test.po.js.map +1 -1
- package/sdk/atoms/chart/thresholds-summary-test.po.js +9 -11
- package/sdk/atoms/chart/thresholds-summary-test.po.js.map +1 -1
- package/sdk/atoms/chart/time-frame-bar-test.po.js +7 -8
- package/sdk/atoms/chart/time-frame-bar-test.po.js.map +1 -1
- package/sdk/atoms/legend/legend-series.atom.js +32 -41
- package/sdk/atoms/legend/legend-series.atom.js.map +1 -1
- package/sdk/atoms/legend/legend.atom.js +3 -2
- package/sdk/atoms/legend/legend.atom.js.map +1 -1
- package/sdk/atoms/legend/rich-legend-tile.atom.js +25 -36
- package/sdk/atoms/legend/rich-legend-tile.atom.js.map +1 -1
- /package/{nova-ui-charts.d.ts → index.d.ts} +0 -0
|
@@ -55,8 +55,8 @@ import findIndex from 'lodash/findIndex';
|
|
|
55
55
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
56
56
|
class ChartTooltipComponent {
|
|
57
57
|
}
|
|
58
|
-
ChartTooltipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
59
|
-
ChartTooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
58
|
+
ChartTooltipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartTooltipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
59
|
+
ChartTooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", 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: [
|
|
60
60
|
trigger("tooltip", [
|
|
61
61
|
transition(":enter", [
|
|
62
62
|
style({ opacity: 0 }),
|
|
@@ -65,7 +65,7 @@ ChartTooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
65
65
|
transition(":leave", [animate(300, style({ opacity: 0 }))]),
|
|
66
66
|
]),
|
|
67
67
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
68
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
68
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartTooltipComponent, decorators: [{
|
|
69
69
|
type: Component,
|
|
70
70
|
args: [{ selector: "nui-chart-tooltip", changeDetection: ChangeDetectionStrategy.OnPush, animations: [
|
|
71
71
|
trigger("tooltip", [
|
|
@@ -135,9 +135,9 @@ class ChartTooltipDirective {
|
|
|
135
135
|
return this.overlayRef.overlayElement;
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
|
-
ChartTooltipDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
139
|
-
ChartTooltipDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
140
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
138
|
+
ChartTooltipDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartTooltipDirective, deps: [{ token: i1$1.Overlay }, { token: i1$1.OverlayPositionBuilder }, { token: i1$1.ScrollStrategyOptions }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
139
|
+
ChartTooltipDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.5", type: ChartTooltipDirective, selector: "[nuiChartTooltip]", inputs: { template: "template", openRemoteControl: "openRemoteControl", closeRemoteControl: "closeRemoteControl", positions: "positions" }, ngImport: i0 });
|
|
140
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartTooltipDirective, decorators: [{
|
|
141
141
|
type: Directive,
|
|
142
142
|
args: [{ selector: "[nuiChartTooltip]" }]
|
|
143
143
|
}], ctorParameters: function () { return [{ type: i1$1.Overlay }, { type: i1$1.OverlayPositionBuilder }, { type: i1$1.ScrollStrategyOptions }, { type: i0.ElementRef }]; }, propDecorators: { template: [{
|
|
@@ -713,9 +713,9 @@ class ChartDonutContentComponent {
|
|
|
713
713
|
}
|
|
714
714
|
}
|
|
715
715
|
}
|
|
716
|
-
ChartDonutContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
717
|
-
ChartDonutContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
718
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
716
|
+
ChartDonutContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartDonutContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
717
|
+
ChartDonutContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", 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"] }] });
|
|
718
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartDonutContentComponent, decorators: [{
|
|
719
719
|
type: Component,
|
|
720
720
|
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"] }]
|
|
721
721
|
}], propDecorators: { plugin: [{
|
|
@@ -1043,9 +1043,9 @@ class ChartTooltipsComponent {
|
|
|
1043
1043
|
return this.plugin.orientation === "right";
|
|
1044
1044
|
}
|
|
1045
1045
|
}
|
|
1046
|
-
ChartTooltipsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1047
|
-
ChartTooltipsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1048
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1046
|
+
ChartTooltipsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartTooltipsComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1047
|
+
ChartTooltipsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", 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" }] });
|
|
1048
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartTooltipsComponent, decorators: [{
|
|
1049
1049
|
type: Component,
|
|
1050
1050
|
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"] }]
|
|
1051
1051
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { plugin: [{
|
|
@@ -1208,9 +1208,9 @@ class ChartPopoverComponent {
|
|
|
1208
1208
|
});
|
|
1209
1209
|
}
|
|
1210
1210
|
}
|
|
1211
|
-
ChartPopoverComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1212
|
-
ChartPopoverComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1213
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1211
|
+
ChartPopoverComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartPopoverComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1212
|
+
ChartPopoverComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", 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"] }] });
|
|
1213
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartPopoverComponent, decorators: [{
|
|
1214
1214
|
type: Component,
|
|
1215
1215
|
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"] }]
|
|
1216
1216
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }]; }, propDecorators: { plugin: [{
|
|
@@ -1278,9 +1278,9 @@ class ChartMarkerComponent {
|
|
|
1278
1278
|
});
|
|
1279
1279
|
}
|
|
1280
1280
|
}
|
|
1281
|
-
ChartMarkerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1282
|
-
ChartMarkerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1283
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1281
|
+
ChartMarkerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartMarkerComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1282
|
+
ChartMarkerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", 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"] });
|
|
1283
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartMarkerComponent, decorators: [{
|
|
1284
1284
|
type: Component,
|
|
1285
1285
|
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"] }]
|
|
1286
1286
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { marker: [{
|
|
@@ -1453,9 +1453,9 @@ class ChartCollectionService {
|
|
|
1453
1453
|
return collection;
|
|
1454
1454
|
}
|
|
1455
1455
|
}
|
|
1456
|
-
ChartCollectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1457
|
-
ChartCollectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1458
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1456
|
+
ChartCollectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartCollectionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1457
|
+
ChartCollectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartCollectionService });
|
|
1458
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartCollectionService, decorators: [{
|
|
1459
1459
|
type: Injectable
|
|
1460
1460
|
}] });
|
|
1461
1461
|
|
|
@@ -1487,9 +1487,9 @@ class ChartCollectionIdDirective {
|
|
|
1487
1487
|
}
|
|
1488
1488
|
}
|
|
1489
1489
|
}
|
|
1490
|
-
ChartCollectionIdDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1491
|
-
ChartCollectionIdDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1492
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1490
|
+
ChartCollectionIdDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartCollectionIdDirective, deps: [{ token: CHART_COMPONENT }, { token: ChartCollectionService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1491
|
+
ChartCollectionIdDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.5", type: ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: { collectionId: ["nuiChartCollectionId", "collectionId"] }, usesOnChanges: true, ngImport: i0 });
|
|
1492
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartCollectionIdDirective, decorators: [{
|
|
1493
1493
|
type: Directive,
|
|
1494
1494
|
args: [{
|
|
1495
1495
|
selector: "[nuiChartCollectionId]",
|
|
@@ -1512,7 +1512,7 @@ class ChartComponent {
|
|
|
1512
1512
|
this.chart.updateDimensions();
|
|
1513
1513
|
this.cd.detectChanges();
|
|
1514
1514
|
};
|
|
1515
|
-
this.intersectionObserverCallback = (entries
|
|
1515
|
+
this.intersectionObserverCallback = (entries) => {
|
|
1516
1516
|
// Since we're only listening for intersection changes for one target (the chart itself), the 'entries' argument always has just one element.
|
|
1517
1517
|
const data = {
|
|
1518
1518
|
isChartInView: entries[0].isIntersecting,
|
|
@@ -1561,14 +1561,14 @@ class ChartComponent {
|
|
|
1561
1561
|
this.chart?.destroy();
|
|
1562
1562
|
}
|
|
1563
1563
|
}
|
|
1564
|
-
ChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1565
|
-
ChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1564
|
+
ChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1565
|
+
ChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: ChartComponent, selector: "nui-chart", inputs: { chart: "chart" }, providers: [
|
|
1566
1566
|
{
|
|
1567
1567
|
provide: CHART_COMPONENT,
|
|
1568
1568
|
useExisting: forwardRef(() => ChartComponent),
|
|
1569
1569
|
},
|
|
1570
1570
|
], usesOnChanges: true, ngImport: i0, template: "", isInline: true });
|
|
1571
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1571
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ChartComponent, decorators: [{
|
|
1572
1572
|
type: Component,
|
|
1573
1573
|
args: [{
|
|
1574
1574
|
selector: "nui-chart",
|
|
@@ -1638,9 +1638,9 @@ class LegendComponent {
|
|
|
1638
1638
|
this.activeChanged.complete();
|
|
1639
1639
|
}
|
|
1640
1640
|
}
|
|
1641
|
-
LegendComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1642
|
-
LegendComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1643
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1641
|
+
LegendComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LegendComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1642
|
+
LegendComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", 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" });
|
|
1643
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LegendComponent, decorators: [{
|
|
1644
1644
|
type: Component,
|
|
1645
1645
|
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" }]
|
|
1646
1646
|
}], propDecorators: { active: [{
|
|
@@ -1661,19 +1661,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1661
1661
|
/** @ignore */
|
|
1662
1662
|
const LEGEND_SERIES_CLASS_NAME = "nui-legend-series";
|
|
1663
1663
|
class LegendSeriesComponent {
|
|
1664
|
-
constructor(legend) {
|
|
1665
|
-
this.legend = legend;
|
|
1666
|
-
/**
|
|
1667
|
-
* Set whether the series is selected
|
|
1668
|
-
*/
|
|
1669
|
-
this.isSelected = true;
|
|
1670
|
-
/**
|
|
1671
|
-
* Emits an event with a boolean value indicating a new selected status
|
|
1672
|
-
*/
|
|
1673
|
-
this.isSelectedChange = new EventEmitter();
|
|
1674
|
-
this.isHorizontalClassApplied = false;
|
|
1675
|
-
this._active = false;
|
|
1676
|
-
}
|
|
1677
1664
|
/**
|
|
1678
1665
|
* Sets the series active status
|
|
1679
1666
|
*
|
|
@@ -1713,6 +1700,19 @@ class LegendSeriesComponent {
|
|
|
1713
1700
|
get isActiveClassApplied() {
|
|
1714
1701
|
return this._active && this.seriesRenderState !== RenderState.hidden;
|
|
1715
1702
|
}
|
|
1703
|
+
constructor(legend) {
|
|
1704
|
+
this.legend = legend;
|
|
1705
|
+
/**
|
|
1706
|
+
* Set whether the series is selected
|
|
1707
|
+
*/
|
|
1708
|
+
this.isSelected = true;
|
|
1709
|
+
/**
|
|
1710
|
+
* Emits an event with a boolean value indicating a new selected status
|
|
1711
|
+
*/
|
|
1712
|
+
this.isSelectedChange = new EventEmitter();
|
|
1713
|
+
this.isHorizontalClassApplied = false;
|
|
1714
|
+
this._active = false;
|
|
1715
|
+
}
|
|
1716
1716
|
ngAfterContentInit() {
|
|
1717
1717
|
if (this.legend) {
|
|
1718
1718
|
this.legend.activeChanged.subscribe((active) => (this._active = active));
|
|
@@ -1746,9 +1746,9 @@ class LegendSeriesComponent {
|
|
|
1746
1746
|
this.projectedDescription.nativeElement.children.length !== 0);
|
|
1747
1747
|
}
|
|
1748
1748
|
}
|
|
1749
|
-
LegendSeriesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1750
|
-
LegendSeriesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1751
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1749
|
+
LegendSeriesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LegendSeriesComponent, deps: [{ token: LegendComponent, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
1750
|
+
LegendSeriesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", 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 });
|
|
1751
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: LegendSeriesComponent, decorators: [{
|
|
1752
1752
|
type: Component,
|
|
1753
1753
|
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" }]
|
|
1754
1754
|
}], ctorParameters: function () { return [{ type: LegendComponent, decorators: [{
|
|
@@ -1793,9 +1793,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1793
1793
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
1794
1794
|
class BasicLegendTileComponent {
|
|
1795
1795
|
}
|
|
1796
|
-
BasicLegendTileComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1797
|
-
BasicLegendTileComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1798
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1796
|
+
BasicLegendTileComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasicLegendTileComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1797
|
+
BasicLegendTileComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", 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"] });
|
|
1798
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BasicLegendTileComponent, decorators: [{
|
|
1799
1799
|
type: Component,
|
|
1800
1800
|
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"] }]
|
|
1801
1801
|
}] });
|
|
@@ -1829,9 +1829,9 @@ class RichLegendTileComponent {
|
|
|
1829
1829
|
return !isNil(this.unitLabel);
|
|
1830
1830
|
}
|
|
1831
1831
|
}
|
|
1832
|
-
RichLegendTileComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1833
|
-
RichLegendTileComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1834
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1832
|
+
RichLegendTileComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RichLegendTileComponent, deps: [{ token: LegendSeriesComponent, host: true }, { token: LegendComponent, host: true, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1833
|
+
RichLegendTileComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", 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"] }] });
|
|
1834
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: RichLegendTileComponent, decorators: [{
|
|
1835
1835
|
type: Component,
|
|
1836
1836
|
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"] }]
|
|
1837
1837
|
}], ctorParameters: function () { return [{ type: LegendSeriesComponent, decorators: [{
|
|
@@ -2374,16 +2374,16 @@ class HorizontalBarAccessors extends BarAccessors {
|
|
|
2374
2374
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
2375
2375
|
// THE SOFTWARE.
|
|
2376
2376
|
class StatusAccessors {
|
|
2377
|
-
constructor(barAccessors) {
|
|
2378
|
-
this.barAccessors = barAccessors;
|
|
2379
|
-
barAccessors.data.status = (d) => d.status;
|
|
2380
|
-
}
|
|
2381
2377
|
get data() {
|
|
2382
2378
|
return this.barAccessors.data;
|
|
2383
2379
|
}
|
|
2384
2380
|
get series() {
|
|
2385
2381
|
return this.barAccessors.series;
|
|
2386
2382
|
}
|
|
2383
|
+
constructor(barAccessors) {
|
|
2384
|
+
this.barAccessors = barAccessors;
|
|
2385
|
+
barAccessors.data.status = (d) => d.status;
|
|
2386
|
+
}
|
|
2387
2387
|
}
|
|
2388
2388
|
StatusAccessors.STATUS_CATEGORY = "status";
|
|
2389
2389
|
StatusAccessors.STATUS_DOMAIN = [StatusAccessors.STATUS_CATEGORY];
|
|
@@ -3190,6 +3190,13 @@ MarkerUtils.MARKER_PATH_CLASS = "marker-path";
|
|
|
3190
3190
|
* Renderer that is able to draw line chart
|
|
3191
3191
|
*/
|
|
3192
3192
|
class LineRenderer extends XYRenderer {
|
|
3193
|
+
static getStrokeStyleDashed(width) {
|
|
3194
|
+
const dash = width * 2;
|
|
3195
|
+
return `${dash},${dash}`;
|
|
3196
|
+
}
|
|
3197
|
+
static getStrokeStyleDotted(width) {
|
|
3198
|
+
return `${width},${width}`;
|
|
3199
|
+
}
|
|
3193
3200
|
/**
|
|
3194
3201
|
* Creates an instance of LineRenderer.
|
|
3195
3202
|
* @param {ILineRendererConfig} [config={}] Renderer configuration object
|
|
@@ -3212,13 +3219,6 @@ class LineRenderer extends XYRenderer {
|
|
|
3212
3219
|
// setting default values to the properties that were not set by user
|
|
3213
3220
|
this.config = defaultsDeep(this.config, this.DEFAULT_CONFIG);
|
|
3214
3221
|
}
|
|
3215
|
-
static getStrokeStyleDashed(width) {
|
|
3216
|
-
const dash = width * 2;
|
|
3217
|
-
return `${dash},${dash}`;
|
|
3218
|
-
}
|
|
3219
|
-
static getStrokeStyleDotted(width) {
|
|
3220
|
-
return `${width},${width}`;
|
|
3221
|
-
}
|
|
3222
3222
|
/** See {@link Renderer#draw} */
|
|
3223
3223
|
draw(renderSeries, rendererSubject) {
|
|
3224
3224
|
const target = renderSeries.containers[RenderLayerName.data];
|
|
@@ -3858,17 +3858,17 @@ class ThresholdsService {
|
|
|
3858
3858
|
}
|
|
3859
3859
|
}
|
|
3860
3860
|
ThresholdsService.SERIES_ID_SUFFIX = "__thresholds-background";
|
|
3861
|
-
ThresholdsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3862
|
-
ThresholdsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3863
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3861
|
+
ThresholdsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ThresholdsService, deps: [{ token: i1$2.LoggerService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3862
|
+
ThresholdsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ThresholdsService });
|
|
3863
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ThresholdsService, decorators: [{
|
|
3864
3864
|
type: Injectable
|
|
3865
3865
|
}], ctorParameters: function () { return [{ type: i1$2.LoggerService }]; } });
|
|
3866
3866
|
|
|
3867
3867
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
3868
3868
|
class NuiChartsModule {
|
|
3869
3869
|
}
|
|
3870
|
-
NuiChartsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3871
|
-
NuiChartsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
3870
|
+
NuiChartsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NuiChartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3871
|
+
NuiChartsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: NuiChartsModule, declarations: [LegendComponent,
|
|
3872
3872
|
LegendSeriesComponent,
|
|
3873
3873
|
BasicLegendTileComponent,
|
|
3874
3874
|
RichLegendTileComponent,
|
|
@@ -3891,8 +3891,8 @@ NuiChartsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version
|
|
|
3891
3891
|
ChartTooltipsComponent,
|
|
3892
3892
|
ChartTooltipComponent,
|
|
3893
3893
|
ChartTooltipDirective] });
|
|
3894
|
-
NuiChartsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
3895
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3894
|
+
NuiChartsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NuiChartsModule, providers: [ChartCollectionService, ThresholdsService], imports: [NuiCommonModule, NuiIconModule, NuiPopoverModule, OverlayModule] });
|
|
3895
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: NuiChartsModule, decorators: [{
|
|
3896
3896
|
type: NgModule,
|
|
3897
3897
|
args: [{
|
|
3898
3898
|
imports: [NuiCommonModule, NuiIconModule, NuiPopoverModule, OverlayModule],
|
|
@@ -4035,13 +4035,6 @@ function domain(scale, theDomain) {
|
|
|
4035
4035
|
* Manages data and their domains
|
|
4036
4036
|
*/
|
|
4037
4037
|
class DataManager {
|
|
4038
|
-
constructor(chart) {
|
|
4039
|
-
this.chart = chart;
|
|
4040
|
-
this._chartSeriesSet = [];
|
|
4041
|
-
this.dataIndex = {};
|
|
4042
|
-
this._scalesIndexByKey = {};
|
|
4043
|
-
this._scalesIndexById = {};
|
|
4044
|
-
}
|
|
4045
4038
|
get chartSeriesSet() {
|
|
4046
4039
|
return this._chartSeriesSet;
|
|
4047
4040
|
}
|
|
@@ -4051,6 +4044,13 @@ class DataManager {
|
|
|
4051
4044
|
get scalesIndexById() {
|
|
4052
4045
|
return this._scalesIndexById;
|
|
4053
4046
|
}
|
|
4047
|
+
constructor(chart) {
|
|
4048
|
+
this.chart = chart;
|
|
4049
|
+
this._chartSeriesSet = [];
|
|
4050
|
+
this.dataIndex = {};
|
|
4051
|
+
this._scalesIndexByKey = {};
|
|
4052
|
+
this._scalesIndexById = {};
|
|
4053
|
+
}
|
|
4054
4054
|
update(seriesSet) {
|
|
4055
4055
|
const duplicateIds = filter(seriesSet.map((series) => series.id), (val, i, iteratee) => includes(iteratee, val, i + 1));
|
|
4056
4056
|
if (duplicateIds.length > 0) {
|
|
@@ -4600,6 +4600,38 @@ class ChartAssistRenderStateData {
|
|
|
4600
4600
|
* It will use the most common settings.
|
|
4601
4601
|
*/
|
|
4602
4602
|
class ChartAssist {
|
|
4603
|
+
/**
|
|
4604
|
+
* Retrieves the display value for a data point on the specified series
|
|
4605
|
+
*
|
|
4606
|
+
* @param chartSeries The series containing the data point to get a label for
|
|
4607
|
+
* @param dataPoint The data point to get a label for
|
|
4608
|
+
* @param scaleKey The key for the scale potentially containing a formatter that can be used to format the label
|
|
4609
|
+
* @param formatterName The name of the formatter to use for formatting the label
|
|
4610
|
+
* @param dataAccessorKey The accessor key to use for accessing the data value if the accessor key differs from the scale key
|
|
4611
|
+
*
|
|
4612
|
+
* @returns The display value for a data point
|
|
4613
|
+
*/
|
|
4614
|
+
static getLabel(chartSeries, dataPoint, scaleKey, formatterName, dataAccessorKey) {
|
|
4615
|
+
if (!dataPoint || chartSeries.data.length === 0) {
|
|
4616
|
+
return null;
|
|
4617
|
+
}
|
|
4618
|
+
const valueAccessor = chartSeries.accessors.data?.[dataAccessorKey || scaleKey];
|
|
4619
|
+
if (!valueAccessor) {
|
|
4620
|
+
return null;
|
|
4621
|
+
}
|
|
4622
|
+
const adjustedIndex = dataPoint.index < 0 ? chartSeries.data.length - 1 : dataPoint.index;
|
|
4623
|
+
const data = chartSeries.data[adjustedIndex];
|
|
4624
|
+
const rawValue = valueAccessor(data, adjustedIndex, chartSeries.data, chartSeries);
|
|
4625
|
+
const scale = chartSeries.scales[scaleKey];
|
|
4626
|
+
if (!scale || !formatterName) {
|
|
4627
|
+
return rawValue;
|
|
4628
|
+
}
|
|
4629
|
+
const formatter = scale.formatters[formatterName];
|
|
4630
|
+
if (!formatter) {
|
|
4631
|
+
return rawValue;
|
|
4632
|
+
}
|
|
4633
|
+
return formatter(rawValue);
|
|
4634
|
+
}
|
|
4603
4635
|
constructor(chart, seriesProcessor, palette = defaultPalette(), markers = defaultMarkerProvider()) {
|
|
4604
4636
|
this.chart = chart;
|
|
4605
4637
|
this.palette = palette;
|
|
@@ -4656,38 +4688,6 @@ class ChartAssist {
|
|
|
4656
4688
|
[ChartAssistEventType.ToggleSeries]: this.toggleSeries,
|
|
4657
4689
|
};
|
|
4658
4690
|
}
|
|
4659
|
-
/**
|
|
4660
|
-
* Retrieves the display value for a data point on the specified series
|
|
4661
|
-
*
|
|
4662
|
-
* @param chartSeries The series containing the data point to get a label for
|
|
4663
|
-
* @param dataPoint The data point to get a label for
|
|
4664
|
-
* @param scaleKey The key for the scale potentially containing a formatter that can be used to format the label
|
|
4665
|
-
* @param formatterName The name of the formatter to use for formatting the label
|
|
4666
|
-
* @param dataAccessorKey The accessor key to use for accessing the data value if the accessor key differs from the scale key
|
|
4667
|
-
*
|
|
4668
|
-
* @returns The display value for a data point
|
|
4669
|
-
*/
|
|
4670
|
-
static getLabel(chartSeries, dataPoint, scaleKey, formatterName, dataAccessorKey) {
|
|
4671
|
-
if (!dataPoint || chartSeries.data.length === 0) {
|
|
4672
|
-
return null;
|
|
4673
|
-
}
|
|
4674
|
-
const valueAccessor = chartSeries.accessors.data?.[dataAccessorKey || scaleKey];
|
|
4675
|
-
if (!valueAccessor) {
|
|
4676
|
-
return null;
|
|
4677
|
-
}
|
|
4678
|
-
const adjustedIndex = dataPoint.index < 0 ? chartSeries.data.length - 1 : dataPoint.index;
|
|
4679
|
-
const data = chartSeries.data[adjustedIndex];
|
|
4680
|
-
const rawValue = valueAccessor(data, adjustedIndex, chartSeries.data, chartSeries);
|
|
4681
|
-
const scale = chartSeries.scales[scaleKey];
|
|
4682
|
-
if (!scale || !formatterName) {
|
|
4683
|
-
return rawValue;
|
|
4684
|
-
}
|
|
4685
|
-
const formatter = scale.formatters[formatterName];
|
|
4686
|
-
if (!formatter) {
|
|
4687
|
-
return rawValue;
|
|
4688
|
-
}
|
|
4689
|
-
return formatter(rawValue);
|
|
4690
|
-
}
|
|
4691
4691
|
get renderStatesIndex() {
|
|
4692
4692
|
return this.legendInteractionAssist.renderStatesIndex;
|
|
4693
4693
|
}
|
|
@@ -6320,18 +6320,6 @@ Grid.TICK_DIMENSION_CORRECTION = 1;
|
|
|
6320
6320
|
|
|
6321
6321
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
6322
6322
|
class XYGrid extends Grid {
|
|
6323
|
-
constructor(config) {
|
|
6324
|
-
super();
|
|
6325
|
-
this.axisX = {};
|
|
6326
|
-
this.axisYLeft = {};
|
|
6327
|
-
this.axisYRight = {};
|
|
6328
|
-
this.gridY = {};
|
|
6329
|
-
this.gridX = {};
|
|
6330
|
-
// map of scale id to pending debounce timeout
|
|
6331
|
-
this.handleTickLabelOverflowDebounceIndex = {};
|
|
6332
|
-
this.isApproximatelyEqual = (first, second) => Math.abs(first - second) < 0.1;
|
|
6333
|
-
this.config(config || new XYGridConfig());
|
|
6334
|
-
}
|
|
6335
6323
|
/**
|
|
6336
6324
|
* Returns the id of the bottom axis scale
|
|
6337
6325
|
*/
|
|
@@ -6427,6 +6415,18 @@ class XYGrid extends Grid {
|
|
|
6427
6415
|
this._config = config;
|
|
6428
6416
|
return this;
|
|
6429
6417
|
}
|
|
6418
|
+
constructor(config) {
|
|
6419
|
+
super();
|
|
6420
|
+
this.axisX = {};
|
|
6421
|
+
this.axisYLeft = {};
|
|
6422
|
+
this.axisYRight = {};
|
|
6423
|
+
this.gridY = {};
|
|
6424
|
+
this.gridX = {};
|
|
6425
|
+
// map of scale id to pending debounce timeout
|
|
6426
|
+
this.handleTickLabelOverflowDebounceIndex = {};
|
|
6427
|
+
this.isApproximatelyEqual = (first, second) => Math.abs(first - second) < 0.1;
|
|
6428
|
+
this.config(config || new XYGridConfig());
|
|
6429
|
+
}
|
|
6430
6430
|
/** See {@link IGrid#build} */
|
|
6431
6431
|
build() {
|
|
6432
6432
|
super.build();
|
|
@@ -9453,9 +9453,9 @@ class TimeseriesZoomPluginsSyncService {
|
|
|
9453
9453
|
});
|
|
9454
9454
|
}
|
|
9455
9455
|
}
|
|
9456
|
-
TimeseriesZoomPluginsSyncService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9457
|
-
TimeseriesZoomPluginsSyncService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
9458
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9456
|
+
TimeseriesZoomPluginsSyncService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TimeseriesZoomPluginsSyncService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9457
|
+
TimeseriesZoomPluginsSyncService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TimeseriesZoomPluginsSyncService, providedIn: "root" });
|
|
9458
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TimeseriesZoomPluginsSyncService, decorators: [{
|
|
9459
9459
|
type: Injectable,
|
|
9460
9460
|
args: [{ providedIn: "root" }]
|
|
9461
9461
|
}] });
|