@nova-ui/charts 17.0.8 → 19.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 -1
- package/core/common/palette/color.helper.d.ts +1 -0
- package/core/common/palette/public-api.d.ts +1 -0
- package/core/common/scales/scale.d.ts +1 -0
- package/fesm2022/nova-ui-charts.mjs +111 -74
- package/fesm2022/nova-ui-charts.mjs.map +1 -1
- package/package.json +10 -12
- package/sdk/atoms/chart/atoms/chart.atom.js.map +1 -1
- package/sdk/atoms/chart/atoms/lasagna.atom.js.map +1 -1
- package/sdk/atoms/chart/boosters/zoom.booster.js.map +1 -1
- package/sdk/atoms/chart/status-chart.atom.js.map +1 -1
- package/sdk/atoms/chart/test.po.js.map +1 -1
- package/sdk/atoms/chart/time-frame-bar-test.po.js.map +1 -1
- package/sdk/atoms/legend/legend-series.atom.js.map +1 -1
- package/sdk/atoms/legend/rich-legend-tile.atom.js.map +1 -1
- package/esm2022/chart/chart.component.mjs +0 -111
- package/esm2022/chart-collection/chart-collection-id.directive.mjs +0 -69
- package/esm2022/chart-collection/chart-collection.service.mjs +0 -43
- package/esm2022/chart-collection/public-api.mjs +0 -22
- package/esm2022/chart-donut-content/chart-donut-content.component.mjs +0 -54
- package/esm2022/chart-marker/chart-marker.component.mjs +0 -100
- package/esm2022/chart-popover/chart-popover.component.mjs +0 -90
- package/esm2022/chart-tooltips/chart-tooltip.component.mjs +0 -51
- package/esm2022/chart-tooltips/chart-tooltip.directive.mjs +0 -107
- package/esm2022/chart-tooltips/chart-tooltips.component.mjs +0 -201
- package/esm2022/charts.module.mjs +0 -101
- package/esm2022/constants.mjs +0 -70
- package/esm2022/core/chart-assists/chart-assist.mjs +0 -366
- package/esm2022/core/chart-assists/public-api.mjs +0 -23
- package/esm2022/core/chart-assists/spark-chart-assist.mjs +0 -156
- package/esm2022/core/chart-assists/types.mjs +0 -46
- package/esm2022/core/chart-collection.mjs +0 -145
- package/esm2022/core/chart.mjs +0 -204
- package/esm2022/core/common/chart-plugin.mjs +0 -28
- package/esm2022/core/common/data-manager.mjs +0 -109
- package/esm2022/core/common/data-series.mjs +0 -39
- package/esm2022/core/common/event-bus.mjs +0 -36
- package/esm2022/core/common/lasagna.mjs +0 -69
- package/esm2022/core/common/mouse-interactive-area.mjs +0 -136
- package/esm2022/core/common/palette/chart-palette.mjs +0 -58
- package/esm2022/core/common/palette/default-providers.mjs +0 -33
- package/esm2022/core/common/palette/mapped-value-provider.mjs +0 -35
- package/esm2022/core/common/palette/markers/path-marker.mjs +0 -56
- package/esm2022/core/common/palette/markers/svg-marker.mjs +0 -39
- package/esm2022/core/common/palette/palettes.mjs +0 -149
- package/esm2022/core/common/palette/processed-color-provider.mjs +0 -49
- package/esm2022/core/common/palette/public-api.mjs +0 -31
- package/esm2022/core/common/palette/sequential-chart-marker-provider.mjs +0 -32
- package/esm2022/core/common/palette/sequential-color-provider.mjs +0 -32
- package/esm2022/core/common/palette/sequential-value-provider.mjs +0 -46
- package/esm2022/core/common/palette/text-color-provider.mjs +0 -87
- package/esm2022/core/common/public-api.mjs +0 -32
- package/esm2022/core/common/render-engine.mjs +0 -255
- package/esm2022/core/common/renderer.mjs +0 -185
- package/esm2022/core/common/scales/band-scale.mjs +0 -160
- package/esm2022/core/common/scales/constants.mjs +0 -22
- package/esm2022/core/common/scales/domain-calculation/automatic-domain.mjs +0 -83
- package/esm2022/core/common/scales/domain-calculation/domain-with-auxiliary-series.mjs +0 -27
- package/esm2022/core/common/scales/domain-calculation/domain-with-ticks.mjs +0 -44
- package/esm2022/core/common/scales/domain-calculation/merge-domains.mjs +0 -50
- package/esm2022/core/common/scales/formatters/datetime-formatter.mjs +0 -50
- package/esm2022/core/common/scales/formatters/public-api.mjs +0 -21
- package/esm2022/core/common/scales/helpers/convert.mjs +0 -49
- package/esm2022/core/common/scales/helpers/domain.mjs +0 -37
- package/esm2022/core/common/scales/helpers/invert.mjs +0 -41
- package/esm2022/core/common/scales/helpers/is-in-range.mjs +0 -32
- package/esm2022/core/common/scales/linear-scale.mjs +0 -46
- package/esm2022/core/common/scales/noop-scale.mjs +0 -63
- package/esm2022/core/common/scales/point-scale.mjs +0 -83
- package/esm2022/core/common/scales/public-api.mjs +0 -35
- package/esm2022/core/common/scales/scale.mjs +0 -92
- package/esm2022/core/common/scales/time-interval-scale.mjs +0 -186
- package/esm2022/core/common/scales/time-scale.mjs +0 -51
- package/esm2022/core/common/scales/types.mjs +0 -34
- package/esm2022/core/common/types.mjs +0 -38
- package/esm2022/core/common/utility.service.mjs +0 -232
- package/esm2022/core/grid/config/area-grid-config.mjs +0 -30
- package/esm2022/core/grid/config/axis-config.mjs +0 -47
- package/esm2022/core/grid/config/bar-grid-config.mjs +0 -38
- package/esm2022/core/grid/config/bar-horizontal-grid-config.mjs +0 -40
- package/esm2022/core/grid/config/bar-status-grid-config.mjs +0 -41
- package/esm2022/core/grid/config/border-config.mjs +0 -30
- package/esm2022/core/grid/config/dimension-config.mjs +0 -83
- package/esm2022/core/grid/config/grid-config.mjs +0 -48
- package/esm2022/core/grid/config/linear-gauge-grid-config-fn.mjs +0 -54
- package/esm2022/core/grid/config/public-api.mjs +0 -31
- package/esm2022/core/grid/config/spark-chart-grid-config.mjs +0 -51
- package/esm2022/core/grid/config/xy-grid-config.mjs +0 -62
- package/esm2022/core/grid/default-text-overflow-handler.mjs +0 -56
- package/esm2022/core/grid/grid.mjs +0 -331
- package/esm2022/core/grid/public-api.mjs +0 -25
- package/esm2022/core/grid/radial-grid.mjs +0 -72
- package/esm2022/core/grid/types.mjs +0 -21
- package/esm2022/core/grid/xy-grid.mjs +0 -778
- package/esm2022/core/plugins/chart-donut-content-plugin.mjs +0 -69
- package/esm2022/core/plugins/chart-popover-plugin.mjs +0 -137
- package/esm2022/core/plugins/gauge/constants.mjs +0 -32
- package/esm2022/core/plugins/gauge/donut-gauge-labels-plugin.mjs +0 -158
- package/esm2022/core/plugins/gauge/linear-gauge-labels-plugin.mjs +0 -171
- package/esm2022/core/plugins/gauge/public-api.mjs +0 -24
- package/esm2022/core/plugins/gauge/types.mjs +0 -21
- package/esm2022/core/plugins/interaction/interaction-label-plugin.mjs +0 -180
- package/esm2022/core/plugins/interaction/interaction-line-plugin.mjs +0 -117
- package/esm2022/core/plugins/interaction/public-api.mjs +0 -22
- package/esm2022/core/plugins/mouse-interactive-area-plugin.mjs +0 -113
- package/esm2022/core/plugins/public-api.mjs +0 -32
- package/esm2022/core/plugins/radial-popover-plugin.mjs +0 -47
- package/esm2022/core/plugins/render-engine-plugin.mjs +0 -87
- package/esm2022/core/plugins/timeseries-zoom-plugin-sync.service.mjs +0 -69
- package/esm2022/core/plugins/timeseries-zoom-plugin.mjs +0 -364
- package/esm2022/core/plugins/tooltips/bar-tooltips-plugin.mjs +0 -26
- package/esm2022/core/plugins/tooltips/chart-tooltips-plugin.mjs +0 -205
- package/esm2022/core/plugins/tooltips/index.mjs +0 -23
- package/esm2022/core/plugins/tooltips/radial-tooltips-plugin.mjs +0 -104
- package/esm2022/core/plugins/types.mjs +0 -21
- package/esm2022/core/plugins/zoom-plugin.mjs +0 -167
- package/esm2022/core/public-api.mjs +0 -27
- package/esm2022/core/types.mjs +0 -34
- package/esm2022/gauge/constants.mjs +0 -83
- package/esm2022/gauge/gauge-util.mjs +0 -484
- package/esm2022/gauge/public-api.mjs +0 -23
- package/esm2022/gauge/types.mjs +0 -21
- package/esm2022/legend/legend-series/legend-series.component.mjs +0 -179
- package/esm2022/legend/legend-tile/basic-legend-tile/basic-legend-tile.component.mjs +0 -30
- package/esm2022/legend/legend-tile/public-api.mjs +0 -22
- package/esm2022/legend/legend-tile/rich-legend-tile/rich-legend-tile.component.mjs +0 -96
- package/esm2022/legend/legend.component.mjs +0 -79
- package/esm2022/legend/public-api.mjs +0 -23
- package/esm2022/legend/types.mjs +0 -25
- package/esm2022/nova-ui-charts.mjs +0 -5
- package/esm2022/public-api.mjs +0 -35
- package/esm2022/renderers/accessors/noop-accessors.mjs +0 -28
- package/esm2022/renderers/accessors/public-api.mjs +0 -23
- package/esm2022/renderers/accessors/rectangle-accessors.mjs +0 -25
- package/esm2022/renderers/accessors/xy-accessors.mjs +0 -27
- package/esm2022/renderers/area/area-accessors.mjs +0 -47
- package/esm2022/renderers/area/area-grid.mjs +0 -32
- package/esm2022/renderers/area/area-renderer.mjs +0 -164
- package/esm2022/renderers/area/public-api.mjs +0 -26
- package/esm2022/renderers/area/stacked-area-accessors.mjs +0 -29
- package/esm2022/renderers/area/stacked-area-preprocessor.mjs +0 -60
- package/esm2022/renderers/area/stacked-percentage-area-preprocessor.mjs +0 -83
- package/esm2022/renderers/bar/accessors/bar-accessors-fn.mjs +0 -36
- package/esm2022/renderers/bar/accessors/bar-accessors.mjs +0 -88
- package/esm2022/renderers/bar/accessors/horizontal-bar-accessors.mjs +0 -36
- package/esm2022/renderers/bar/accessors/public-api.mjs +0 -26
- package/esm2022/renderers/bar/accessors/status-accessors-fn.mjs +0 -28
- package/esm2022/renderers/bar/accessors/status-accessors.mjs +0 -35
- package/esm2022/renderers/bar/accessors/vertical-bar-accessors.mjs +0 -36
- package/esm2022/renderers/bar/bar-grid.mjs +0 -37
- package/esm2022/renderers/bar/bar-renderer.mjs +0 -251
- package/esm2022/renderers/bar/bar-scales.mjs +0 -50
- package/esm2022/renderers/bar/highlight-strategies/bar-highlight-strategy-outline.mjs +0 -82
- package/esm2022/renderers/bar/highlight-strategies/bar-highlight-strategy.mjs +0 -140
- package/esm2022/renderers/bar/highlight-strategies/bar-series-highlight-strategy.mjs +0 -84
- package/esm2022/renderers/bar/highlight-strategies/public-api.mjs +0 -23
- package/esm2022/renderers/bar/linear-gauge-renderer-config.mjs +0 -32
- package/esm2022/renderers/bar/linear-gauge-thresholds-renderer.mjs +0 -78
- package/esm2022/renderers/bar/preprocessor-utils.mjs +0 -32
- package/esm2022/renderers/bar/public-api.mjs +0 -28
- package/esm2022/renderers/bar/stacked-preprocessor.mjs +0 -66
- package/esm2022/renderers/bar/types.mjs +0 -21
- package/esm2022/renderers/constants.mjs +0 -66
- package/esm2022/renderers/line/calculate-missing-data.mjs +0 -66
- package/esm2022/renderers/line/interaction-strategies/line-select-series-interaction-strategy.mjs +0 -96
- package/esm2022/renderers/line/interaction-strategies/public-api.mjs +0 -21
- package/esm2022/renderers/line/line-accessors.mjs +0 -46
- package/esm2022/renderers/line/line-renderer.mjs +0 -211
- package/esm2022/renderers/line/missing-data-line-renderer-config.mjs +0 -28
- package/esm2022/renderers/line/public-api.mjs +0 -25
- package/esm2022/renderers/marker-utils.mjs +0 -149
- package/esm2022/renderers/noop-renderer.mjs +0 -39
- package/esm2022/renderers/public-api.mjs +0 -30
- package/esm2022/renderers/radial/accessors/radial-accessors.mjs +0 -35
- package/esm2022/renderers/radial/gauge/donut-gauge-renderer-config.mjs +0 -31
- package/esm2022/renderers/radial/gauge/donut-gauge-rendering-util.mjs +0 -47
- package/esm2022/renderers/radial/gauge/donut-gauge-thresholds-renderer.mjs +0 -85
- package/esm2022/renderers/radial/pie-renderer.mjs +0 -29
- package/esm2022/renderers/radial/public-api.mjs +0 -29
- package/esm2022/renderers/radial/radial-grid-fn.mjs +0 -27
- package/esm2022/renderers/radial/radial-preprocessor.mjs +0 -54
- package/esm2022/renderers/radial/radial-renderer.mjs +0 -180
- package/esm2022/renderers/radial/radial-scales.mjs +0 -30
- package/esm2022/renderers/side-indicator-renderer.mjs +0 -101
- package/esm2022/renderers/types.mjs +0 -34
- package/esm2022/renderers/xy-renderer.mjs +0 -54
- package/esm2022/thresholds/public-api.mjs +0 -24
- package/esm2022/thresholds/thresholds-service.mjs +0 -392
- package/esm2022/thresholds/thresholds-summary-grid-config.mjs +0 -34
- package/esm2022/thresholds/thresholds-top-grid-config.mjs +0 -32
- package/esm2022/thresholds/types.mjs +0 -28
- package/sdk/locale/messages.en.xlf +0 -374
|
@@ -18,7 +18,7 @@ import { takeUntil, filter as filter$1, map, switchMap } from 'rxjs/operators';
|
|
|
18
18
|
import pickBy from 'lodash/pickBy';
|
|
19
19
|
import values from 'lodash/values';
|
|
20
20
|
import * as i1$2 from '@nova-ui/bits';
|
|
21
|
-
import { PopoverComponent,
|
|
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
24
|
import debounce from 'lodash/debounce';
|
|
@@ -29,6 +29,10 @@ import sortBy from 'lodash/sortBy';
|
|
|
29
29
|
import unionWith from 'lodash/unionWith';
|
|
30
30
|
import { rgb } from 'd3-color';
|
|
31
31
|
import isArray from 'lodash/isArray';
|
|
32
|
+
import startsWith from 'lodash/startsWith';
|
|
33
|
+
import trim from 'lodash/trim';
|
|
34
|
+
import trimEnd from 'lodash/trimEnd';
|
|
35
|
+
import trimStart from 'lodash/trimStart';
|
|
32
36
|
import { min, max, bisect as bisect$1 } from 'd3-array';
|
|
33
37
|
import { local, select as select$1, event, mouse } from 'd3-selection';
|
|
34
38
|
import flatten from 'lodash/flatten';
|
|
@@ -69,8 +73,8 @@ import findIndex from 'lodash/findIndex';
|
|
|
69
73
|
// THE SOFTWARE.
|
|
70
74
|
class ChartTooltipComponent {
|
|
71
75
|
template;
|
|
72
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
73
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
76
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: ChartTooltipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
77
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.7", type: ChartTooltipComponent, isStandalone: false, 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: [
|
|
74
78
|
trigger("tooltip", [
|
|
75
79
|
transition(":enter", [
|
|
76
80
|
style({ opacity: 0 }),
|
|
@@ -80,7 +84,7 @@ class ChartTooltipComponent {
|
|
|
80
84
|
]),
|
|
81
85
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
82
86
|
}
|
|
83
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
87
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: ChartTooltipComponent, decorators: [{
|
|
84
88
|
type: Component,
|
|
85
89
|
args: [{ selector: "nui-chart-tooltip", changeDetection: ChangeDetectionStrategy.OnPush, animations: [
|
|
86
90
|
trigger("tooltip", [
|
|
@@ -90,7 +94,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
90
94
|
]),
|
|
91
95
|
transition(":leave", [animate(300, style({ opacity: 0 }))]),
|
|
92
96
|
]),
|
|
93
|
-
], 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"] }]
|
|
97
|
+
], standalone: false, 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"] }]
|
|
94
98
|
}], propDecorators: { template: [{
|
|
95
99
|
type: Input
|
|
96
100
|
}] } });
|
|
@@ -179,12 +183,15 @@ class ChartTooltipDirective {
|
|
|
179
183
|
getOverlayElement() {
|
|
180
184
|
return this.overlayRef.overlayElement;
|
|
181
185
|
}
|
|
182
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
183
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
186
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", 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: "19.2.7", type: ChartTooltipDirective, isStandalone: false, selector: "[nuiChartTooltip]", inputs: { template: "template", openRemoteControl: "openRemoteControl", closeRemoteControl: "closeRemoteControl", positions: "positions" }, ngImport: i0 });
|
|
184
188
|
}
|
|
185
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
189
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: ChartTooltipDirective, decorators: [{
|
|
186
190
|
type: Directive,
|
|
187
|
-
args: [{
|
|
191
|
+
args: [{
|
|
192
|
+
selector: "[nuiChartTooltip]",
|
|
193
|
+
standalone: false,
|
|
194
|
+
}]
|
|
188
195
|
}], ctorParameters: () => [{ type: i1$1.Overlay }, { type: i1$1.OverlayPositionBuilder }, { type: i1$1.ScrollStrategyOptions }, { type: i0.ElementRef }], propDecorators: { template: [{
|
|
189
196
|
type: Input
|
|
190
197
|
}], openRemoteControl: [{
|
|
@@ -853,12 +860,12 @@ class ChartDonutContentComponent {
|
|
|
853
860
|
this.contentPositionUpdateSubscription.unsubscribe();
|
|
854
861
|
}
|
|
855
862
|
}
|
|
856
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
857
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
863
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: ChartDonutContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
864
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.7", type: ChartDonutContentComponent, isStandalone: false, 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"] }] });
|
|
858
865
|
}
|
|
859
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
866
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: ChartDonutContentComponent, decorators: [{
|
|
860
867
|
type: Component,
|
|
861
|
-
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"] }]
|
|
868
|
+
args: [{ selector: "nui-chart-donut-content", standalone: false, 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"] }]
|
|
862
869
|
}], propDecorators: { plugin: [{
|
|
863
870
|
type: Input
|
|
864
871
|
}] } });
|
|
@@ -1232,12 +1239,12 @@ class ChartTooltipsComponent {
|
|
|
1232
1239
|
isVertical() {
|
|
1233
1240
|
return this.plugin.orientation === "right";
|
|
1234
1241
|
}
|
|
1235
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1236
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1242
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: ChartTooltipsComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1243
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.7", type: ChartTooltipsComponent, isStandalone: false, 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" }] });
|
|
1237
1244
|
}
|
|
1238
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1245
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: ChartTooltipsComponent, decorators: [{
|
|
1239
1246
|
type: Component,
|
|
1240
|
-
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"] }]
|
|
1247
|
+
args: [{ selector: "nui-chart-tooltips", standalone: false, 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"] }]
|
|
1241
1248
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { plugin: [{
|
|
1242
1249
|
type: Input
|
|
1243
1250
|
}], template: [{
|
|
@@ -1441,12 +1448,12 @@ class ChartPopoverComponent {
|
|
|
1441
1448
|
this.update.next(this.plugin?.dataPoints);
|
|
1442
1449
|
});
|
|
1443
1450
|
}
|
|
1444
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1445
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1451
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: ChartPopoverComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1452
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.7", type: ChartPopoverComponent, isStandalone: false, 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"] }] });
|
|
1446
1453
|
}
|
|
1447
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1454
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: ChartPopoverComponent, decorators: [{
|
|
1448
1455
|
type: Component,
|
|
1449
|
-
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"] }]
|
|
1456
|
+
args: [{ selector: "nui-chart-popover", standalone: false, 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"] }]
|
|
1450
1457
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }], propDecorators: { plugin: [{
|
|
1451
1458
|
type: Input
|
|
1452
1459
|
}], template: [{
|
|
@@ -1535,12 +1542,12 @@ class ChartMarkerComponent {
|
|
|
1535
1542
|
this.changeDetector.markForCheck();
|
|
1536
1543
|
});
|
|
1537
1544
|
}
|
|
1538
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1539
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1545
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: ChartMarkerComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1546
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.7", type: ChartMarkerComponent, isStandalone: false, 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"] });
|
|
1540
1547
|
}
|
|
1541
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1548
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: ChartMarkerComponent, decorators: [{
|
|
1542
1549
|
type: Component,
|
|
1543
|
-
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"] }]
|
|
1550
|
+
args: [{ selector: "nui-chart-marker", standalone: false, 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
1551
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { marker: [{
|
|
1545
1552
|
type: Input
|
|
1546
1553
|
}], drawLine: [{
|
|
@@ -1637,15 +1644,15 @@ class ChartComponent {
|
|
|
1637
1644
|
.getStream(CHART_VIEW_STATUS_EVENT)
|
|
1638
1645
|
.next({ data });
|
|
1639
1646
|
};
|
|
1640
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1641
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1647
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: ChartComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1648
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.7", type: ChartComponent, isStandalone: false, selector: "nui-chart", inputs: { chart: "chart" }, providers: [
|
|
1642
1649
|
{
|
|
1643
1650
|
provide: CHART_COMPONENT,
|
|
1644
1651
|
useExisting: forwardRef(() => ChartComponent),
|
|
1645
1652
|
},
|
|
1646
1653
|
], usesOnChanges: true, ngImport: i0, template: "", isInline: true });
|
|
1647
1654
|
}
|
|
1648
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1655
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: ChartComponent, decorators: [{
|
|
1649
1656
|
type: Component,
|
|
1650
1657
|
args: [{
|
|
1651
1658
|
selector: "nui-chart",
|
|
@@ -1656,6 +1663,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
1656
1663
|
useExisting: forwardRef(() => ChartComponent),
|
|
1657
1664
|
},
|
|
1658
1665
|
],
|
|
1666
|
+
standalone: false,
|
|
1659
1667
|
}]
|
|
1660
1668
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }], propDecorators: { chart: [{
|
|
1661
1669
|
type: Input
|
|
@@ -1867,10 +1875,10 @@ class ChartCollectionService {
|
|
|
1867
1875
|
}
|
|
1868
1876
|
return collection;
|
|
1869
1877
|
}
|
|
1870
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1871
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1878
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: ChartCollectionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1879
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: ChartCollectionService });
|
|
1872
1880
|
}
|
|
1873
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1881
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: ChartCollectionService, decorators: [{
|
|
1874
1882
|
type: Injectable
|
|
1875
1883
|
}] });
|
|
1876
1884
|
|
|
@@ -1922,13 +1930,14 @@ class ChartCollectionIdDirective {
|
|
|
1922
1930
|
}
|
|
1923
1931
|
}
|
|
1924
1932
|
}
|
|
1925
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1926
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1933
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: ChartCollectionIdDirective, deps: [{ token: CHART_COMPONENT }, { token: ChartCollectionService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1934
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.7", type: ChartCollectionIdDirective, isStandalone: false, selector: "[nuiChartCollectionId]", inputs: { collectionId: ["nuiChartCollectionId", "collectionId"] }, usesOnChanges: true, ngImport: i0 });
|
|
1927
1935
|
}
|
|
1928
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1936
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: ChartCollectionIdDirective, decorators: [{
|
|
1929
1937
|
type: Directive,
|
|
1930
1938
|
args: [{
|
|
1931
1939
|
selector: "[nuiChartCollectionId]",
|
|
1940
|
+
standalone: false,
|
|
1932
1941
|
}]
|
|
1933
1942
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
1934
1943
|
type: Inject,
|
|
@@ -2019,12 +2028,12 @@ class LegendComponent {
|
|
|
2019
2028
|
ngOnDestroy() {
|
|
2020
2029
|
this.activeChanged.complete();
|
|
2021
2030
|
}
|
|
2022
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2023
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2031
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: LegendComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2032
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.7", type: LegendComponent, isStandalone: false, 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" });
|
|
2024
2033
|
}
|
|
2025
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2034
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: LegendComponent, decorators: [{
|
|
2026
2035
|
type: Component,
|
|
2027
|
-
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" }]
|
|
2036
|
+
args: [{ selector: "nui-legend", host: { class: "d-inline-block" }, encapsulation: ViewEncapsulation.Emulated, standalone: false, 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
2037
|
}], propDecorators: { active: [{
|
|
2029
2038
|
type: Input
|
|
2030
2039
|
}], interactive: [{
|
|
@@ -2165,12 +2174,12 @@ class LegendSeriesComponent {
|
|
|
2165
2174
|
return (!!this.projectedDescription &&
|
|
2166
2175
|
this.projectedDescription.nativeElement.children.length !== 0);
|
|
2167
2176
|
}
|
|
2168
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2169
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2177
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: LegendSeriesComponent, deps: [{ token: LegendComponent, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
2178
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.7", type: LegendSeriesComponent, isStandalone: false, 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 });
|
|
2170
2179
|
}
|
|
2171
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2180
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: LegendSeriesComponent, decorators: [{
|
|
2172
2181
|
type: Component,
|
|
2173
|
-
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" }]
|
|
2182
|
+
args: [{ host: { class: LEGEND_SERIES_CLASS_NAME }, selector: "nui-legend-series", changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, 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" }]
|
|
2174
2183
|
}], ctorParameters: () => [{ type: LegendComponent, decorators: [{
|
|
2175
2184
|
type: Optional
|
|
2176
2185
|
}, {
|
|
@@ -2230,12 +2239,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
2230
2239
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
2231
2240
|
// THE SOFTWARE.
|
|
2232
2241
|
class BasicLegendTileComponent {
|
|
2233
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2234
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2242
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: BasicLegendTileComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2243
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.7", type: BasicLegendTileComponent, isStandalone: false, 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"] });
|
|
2235
2244
|
}
|
|
2236
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2245
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: BasicLegendTileComponent, decorators: [{
|
|
2237
2246
|
type: Component,
|
|
2238
|
-
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"] }]
|
|
2247
|
+
args: [{ selector: "nui-basic-legend-tile", encapsulation: ViewEncapsulation.Emulated, standalone: false, 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
2248
|
}] });
|
|
2240
2249
|
|
|
2241
2250
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
@@ -2304,12 +2313,12 @@ class RichLegendTileComponent {
|
|
|
2304
2313
|
hasInputUnitLabel() {
|
|
2305
2314
|
return !isNil(this.unitLabel);
|
|
2306
2315
|
}
|
|
2307
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2308
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2316
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: RichLegendTileComponent, deps: [{ token: LegendSeriesComponent, host: true }, { token: LegendComponent, host: true, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2317
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.7", type: RichLegendTileComponent, isStandalone: false, 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"] }] });
|
|
2309
2318
|
}
|
|
2310
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2319
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: RichLegendTileComponent, decorators: [{
|
|
2311
2320
|
type: Component,
|
|
2312
|
-
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"] }]
|
|
2321
|
+
args: [{ selector: "nui-rich-legend-tile", encapsulation: ViewEncapsulation.Emulated, standalone: false, 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"] }]
|
|
2313
2322
|
}], ctorParameters: () => [{ type: LegendSeriesComponent, decorators: [{
|
|
2314
2323
|
type: Host
|
|
2315
2324
|
}] }, { type: LegendComponent, decorators: [{
|
|
@@ -2354,6 +2363,33 @@ var ZoneBoundary;
|
|
|
2354
2363
|
ZoneBoundary["End"] = "end";
|
|
2355
2364
|
})(ZoneBoundary || (ZoneBoundary = {}));
|
|
2356
2365
|
|
|
2366
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
2367
|
+
//
|
|
2368
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
2369
|
+
// of this software and associated documentation files (the "Software"), to
|
|
2370
|
+
// deal in the Software without restriction, including without limitation the
|
|
2371
|
+
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
2372
|
+
// sell copies of the Software, and to permit persons to whom the Software is
|
|
2373
|
+
// furnished to do so, subject to the following conditions:
|
|
2374
|
+
//
|
|
2375
|
+
// The above copyright notice and this permission notice shall be included in
|
|
2376
|
+
// all copies or substantial portions of the Software.
|
|
2377
|
+
//
|
|
2378
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
2379
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
2380
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
2381
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
2382
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
2383
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
2384
|
+
// THE SOFTWARE.
|
|
2385
|
+
function getColorValueByName(colorVariable) {
|
|
2386
|
+
if (!startsWith(colorVariable, "var(")) {
|
|
2387
|
+
return colorVariable;
|
|
2388
|
+
}
|
|
2389
|
+
const colorName = trim(trimEnd(trimStart(colorVariable, "var("), ")"));
|
|
2390
|
+
return getComputedStyle(document.body).getPropertyValue(colorName);
|
|
2391
|
+
}
|
|
2392
|
+
|
|
2357
2393
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
2358
2394
|
//
|
|
2359
2395
|
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
@@ -2778,20 +2814,20 @@ const CHART_PALETTE_CS_S_EXTENDED = [
|
|
|
2778
2814
|
/* eslint-disable max-len */
|
|
2779
2815
|
/** Standard shapes for chart markers */
|
|
2780
2816
|
const regularShapes = [
|
|
2781
|
-
"m0 0m-4 0a4 4 0 1 0 8 0 4 4 0 1 0-8 0z",
|
|
2782
|
-
"m-4,-4l8,0l0,8l-8,0l0,-8z",
|
|
2783
|
-
"m0-4 4 8-8 0z",
|
|
2784
|
-
"m0-4.95 4.95 4.95-4.95 4.95-4.95-4.95 4.95-4.95z",
|
|
2785
|
-
"m0 4-4-8 8 0z",
|
|
2817
|
+
"m0 0m-4 0a4 4 0 1 0 8 0 4 4 0 1 0-8 0z", // circle
|
|
2818
|
+
"m-4,-4l8,0l0,8l-8,0l0,-8z", // square
|
|
2819
|
+
"m0-4 4 8-8 0z", // triangle up
|
|
2820
|
+
"m0-4.95 4.95 4.95-4.95 4.95-4.95-4.95 4.95-4.95z", // diamond
|
|
2821
|
+
"m0 4-4-8 8 0z", // triangle down
|
|
2786
2822
|
"m0-3.805 4.001 2.907-1.528 4.703-4.945 0-1.528-4.703z", // pentagon
|
|
2787
2823
|
];
|
|
2788
2824
|
/** Standard open shapes for chart markers */
|
|
2789
2825
|
const emptyShapes = [
|
|
2790
|
-
"m0 2c1.105 0 2-.895 2-2 0-1.105-.895-2-2-2-1.105 0-2 .895-2 2 0 1.105.895 2 2 2zm0 2c-2.209 0-4-1.791-4-4 0-2.209 1.791-4 4-4 2.209 0 4 1.791 4 4 0 2.209-1.791 4-4 4z",
|
|
2791
|
-
"m-2-2 0 4 4 0 0-4-4 0zm-2-2 8 0 0 8-8 0 0-8z",
|
|
2792
|
-
"m0-4-4 8 8.001 0-4.001-8zm0 3.354 1.573 3.146-3.145 0 1.572-3.146z",
|
|
2793
|
-
"m0-2.121-2.121 2.121 2.121 2.121 2.121-2.121-2.121-2.121zm0-2.828 4.95 4.95-4.95 4.95-4.95-4.95 4.95-4.95z",
|
|
2794
|
-
"m0 4-4-8 8.001 0-4.001 8zm0-3.354 1.573-3.146-3.145 0 1.572 3.146z",
|
|
2826
|
+
"m0 2c1.105 0 2-.895 2-2 0-1.105-.895-2-2-2-1.105 0-2 .895-2 2 0 1.105.895 2 2 2zm0 2c-2.209 0-4-1.791-4-4 0-2.209 1.791-4 4-4 2.209 0 4 1.791 4 4 0 2.209-1.791 4-4 4z", // circle empty
|
|
2827
|
+
"m-2-2 0 4 4 0 0-4-4 0zm-2-2 8 0 0 8-8 0 0-8z", // square empty
|
|
2828
|
+
"m0-4-4 8 8.001 0-4.001-8zm0 3.354 1.573 3.146-3.145 0 1.572-3.146z", // triangle up empty
|
|
2829
|
+
"m0-2.121-2.121 2.121 2.121 2.121 2.121-2.121-2.121-2.121zm0-2.828 4.95 4.95-4.95 4.95-4.95-4.95 4.95-4.95z", // diamond empty
|
|
2830
|
+
"m0 4-4-8 8.001 0-4.001 8zm0-3.354 1.573-3.146-3.145 0 1.572 3.146z", // triangle down empty
|
|
2795
2831
|
"m0-1.951-2.237 1.626.855 2.63 2.766 0 .855-2.63-2.237-1.626zm0-1.854 4.001 2.907-1.528 4.703-4.945 0-1.528-4.703 4.001-2.907z", // pentagon empty
|
|
2796
2832
|
];
|
|
2797
2833
|
/* eslint-enable max-len */
|
|
@@ -4752,10 +4788,10 @@ class ThresholdsService {
|
|
|
4752
4788
|
}
|
|
4753
4789
|
return sideIndicators;
|
|
4754
4790
|
}
|
|
4755
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4756
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4791
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: ThresholdsService, deps: [{ token: i1$2.LoggerService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4792
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: ThresholdsService });
|
|
4757
4793
|
}
|
|
4758
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4794
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: ThresholdsService, decorators: [{
|
|
4759
4795
|
type: Injectable
|
|
4760
4796
|
}], ctorParameters: () => [{ type: i1$2.LoggerService }] });
|
|
4761
4797
|
|
|
@@ -4779,8 +4815,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
4779
4815
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
4780
4816
|
// THE SOFTWARE.
|
|
4781
4817
|
class NuiChartsModule {
|
|
4782
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4783
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
4818
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: NuiChartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4819
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.7", ngImport: i0, type: NuiChartsModule, declarations: [LegendComponent,
|
|
4784
4820
|
LegendSeriesComponent,
|
|
4785
4821
|
BasicLegendTileComponent,
|
|
4786
4822
|
RichLegendTileComponent,
|
|
@@ -4803,9 +4839,9 @@ class NuiChartsModule {
|
|
|
4803
4839
|
ChartTooltipsComponent,
|
|
4804
4840
|
ChartTooltipComponent,
|
|
4805
4841
|
ChartTooltipDirective] });
|
|
4806
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
4842
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: NuiChartsModule, providers: [ChartCollectionService, ThresholdsService], imports: [NuiCommonModule, NuiIconModule, NuiPopoverModule, OverlayModule] });
|
|
4807
4843
|
}
|
|
4808
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4844
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: NuiChartsModule, decorators: [{
|
|
4809
4845
|
type: NgModule,
|
|
4810
4846
|
args: [{
|
|
4811
4847
|
imports: [NuiCommonModule, NuiIconModule, NuiPopoverModule, OverlayModule],
|
|
@@ -6640,6 +6676,7 @@ class Scale {
|
|
|
6640
6676
|
isDomainFixed;
|
|
6641
6677
|
scaleUnits;
|
|
6642
6678
|
isTimeseriesScale = false;
|
|
6679
|
+
__domainCalculatedWithTicks;
|
|
6643
6680
|
isReversed = false;
|
|
6644
6681
|
_fixDomainValues = [];
|
|
6645
6682
|
_d3Scale;
|
|
@@ -7669,7 +7706,7 @@ class Grid {
|
|
|
7669
7706
|
x1: 0,
|
|
7670
7707
|
y1: this.config().dimension.height() - borderMidpoint,
|
|
7671
7708
|
x2: this.config().dimension.width() +
|
|
7672
|
-
Grid.TICK_DIMENSION_CORRECTION,
|
|
7709
|
+
Grid.TICK_DIMENSION_CORRECTION, // to get nice alignment with ticks
|
|
7673
7710
|
y2: this.config().dimension.height() - borderMidpoint,
|
|
7674
7711
|
class: this._config.borders.bottom.className ||
|
|
7675
7712
|
Grid.DEFAULT_BORDER_CLASS_NAME,
|
|
@@ -7687,9 +7724,9 @@ class Grid {
|
|
|
7687
7724
|
select$1(this.borders.top)
|
|
7688
7725
|
.attrs({
|
|
7689
7726
|
x1: 0,
|
|
7690
|
-
y1: borderMidpoint,
|
|
7727
|
+
y1: borderMidpoint, // the line was outside of the viewport in some browser when set to 0
|
|
7691
7728
|
x2: this.config().dimension.width() +
|
|
7692
|
-
Grid.TICK_DIMENSION_CORRECTION,
|
|
7729
|
+
Grid.TICK_DIMENSION_CORRECTION, // to get nice alignment with ticks
|
|
7693
7730
|
y2: borderMidpoint,
|
|
7694
7731
|
})
|
|
7695
7732
|
.classed("hidden", !this._config.borders.top?.visible);
|
|
@@ -11724,10 +11761,10 @@ class TimeseriesZoomPluginsSyncService {
|
|
|
11724
11761
|
plugin.clearBrush();
|
|
11725
11762
|
});
|
|
11726
11763
|
}
|
|
11727
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11728
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
11764
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: TimeseriesZoomPluginsSyncService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
11765
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: TimeseriesZoomPluginsSyncService, providedIn: "root" });
|
|
11729
11766
|
}
|
|
11730
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11767
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: TimeseriesZoomPluginsSyncService, decorators: [{
|
|
11731
11768
|
type: Injectable,
|
|
11732
11769
|
args: [{ providedIn: "root" }]
|
|
11733
11770
|
}] });
|
|
@@ -13274,5 +13311,5 @@ function thresholdsTopGridConfig(c = new XYGridConfig()) {
|
|
|
13274
13311
|
* Generated bundle index. Do not edit.
|
|
13275
13312
|
*/
|
|
13276
13313
|
|
|
13277
|
-
export { AXES_STYLE_CHANGE_EVENT, AreaAccessors, AreaGridConfig, AreaRenderer, AxisConfig, BandScale, BarAccessors, BarGridConfig, BarHighlightStrategy, BarHighlightStrategyOutline, BarHorizontalGridConfig, BarRenderer, BarSeriesHighlightStrategy, BarStatusGridConfig, BarTooltipsPlugin, BasicLegendTileComponent, BorderConfig, CHART_COMPONENT, CHART_MARKERS, CHART_PALETTE_CS1, CHART_PALETTE_CS2, CHART_PALETTE_CS3, CHART_PALETTE_CS_S, CHART_PALETTE_CS_S_EXTENDED, CHART_VIEW_STATUS_EVENT, Chart, ChartAssist, ChartAssistEventType, ChartAssistRenderStateData, ChartCollection, ChartCollectionIdDirective, ChartCollectionService, ChartComponent, ChartDonutContentComponent, ChartDonutContentPlugin, ChartMarkerComponent, ChartPalette, ChartPlugin, ChartPopoverComponent, ChartPopoverPlugin, ChartTooltipComponent, ChartTooltipDirective, ChartTooltipsComponent, ChartTooltipsPlugin, CssFilterId, DATA_POINT_INTERACTION_RESET, DATA_POINT_NOT_FOUND, DEFAULT_DONUT_GAUGE_THRESHOLDS_RENDERER_CONFIG, DEFAULT_LINEAR_GAUGE_THRESHOLDS_RENDERER_CONFIG, DEFAULT_MARKER_INTERACTION_CONFIG, DEFAULT_RADIAL_RENDERER_CONFIG, DESTROY_EVENT, DONUT_GAUGE_LABEL_CLEARANCE_DEFAULT, DataManager, DataSeries, DimensionConfig, DonutGaugeLabelsPlugin, DonutGaugeRenderingUtil, DonutGaugeThresholdsRenderer, EMPTY_CONTINUOUS_DOMAIN, EventBus, GAUGE_LABELS_CONTAINER_CLASS, GAUGE_LABEL_FORMATTER_NAME_DEFAULT, GAUGE_QUANTITY_SERIES_ID, GAUGE_REMAINDER_SERIES_ID, GAUGE_THRESHOLD_LABEL_CLASS, GAUGE_THRESHOLD_MARKERS_SERIES_ID, GAUGE_THRESHOLD_MARKER_CLASS, GRAYSCALE_COLOR_MATRIX, GRAYSCALE_FILTER, GaugeMode, GaugeUtil, Grid, GridConfig, HIGHLIGHT_DATA_POINT_EVENT, HIGHLIGHT_SERIES_EVENT, HorizontalBarAccessors, IGNORE_INTERACTION_CLASS, INTERACTION_COORDINATES_EVENT, INTERACTION_DATA_POINTS_EVENT, INTERACTION_DATA_POINT_EVENT, INTERACTION_SERIES_EVENT, INTERACTION_VALUES_ACTIVE_EVENT, INTERACTION_VALUES_EVENT, InteractionLabelPlugin, InteractionLinePlugin, InteractionType, LEGEND_SERIES_CLASS_NAME, LINEAR_GAUGE_LABEL_CLEARANCE_DEFAULTS, Lasagna, LegendComponent, LegendInteractionAssist, LegendSeriesComponent, LineAccessors, LineRenderer, LineSelectSeriesInteractionStrategy, LinearGaugeLabelsPlugin, LinearGaugeThresholdsRenderer, LinearScale, MOUSE_ACTIVE_EVENT, MappedValueProvider, MissingDataLineRendererConfig, MouseInteractiveArea, MouseInteractiveAreaPlugin, NORMALIZED_DOMAIN, NoopAccessors, NoopRenderer, NoopScale, NuiChartsModule, PathMarker, PieRenderer, PointScale, ProcessedColorProvider, REFRESH_EVENT, RadialAccessors, RadialGrid, RadialPopoverPlugin, RadialRenderer, RadialTooltipsPlugin, RectangleAccessors, RenderEngine, RenderEnginePlugin, RenderLayerName, RenderState, Renderer, RichLegendTileComponent, SELECT_DATA_POINT_EVENT, SERIES_STATE_CHANGE_EVENT, SET_DOMAIN_EVENT, STANDARD_RENDER_LAYERS, Scale, SequentialChartMarkerProvider, SequentialColorProvider, SequentialValueProvider, SideIndicatorAccessors, SideIndicatorRenderer, SparkChartAssist, StandardGaugeColor, StandardGaugeThresholdId, StandardGaugeThresholdMarkerRadius, StandardLinearGaugeThickness, StatusAccessors, SvgMarker, THRESHOLDS_MAIN_CHART_RENDERER_CONFIG, THRESHOLDS_SUMMARY_RENDERER_CONFIG, TOOLTIP_POSITION_OFFSET, TextColorProvider, ThresholdsService, TimeIntervalScale, TimeScale, TimeseriesZoomPlugin, TimeseriesZoomPluginsSyncService, UtilityService, VerticalBarAccessors, XYAccessors, XYGrid, XYGridConfig, XYRenderer, ZoneBoundary, ZoomPlugin, applyStackMetadata, areaGrid, barAccessors, barGrid, barScales, borderMidpoint, calculateDomainValueCombinedTotals, calculateMissingData, convert, datetimeFormatter, defaultColorProvider, defaultMarkerProvider, defaultPalette, domainWithAuxiliarySeries, donutGaugeRendererConfig, getAutomaticDomain, getAutomaticDomainWithIncludedInterval, getAutomaticDomainWithTicks, getHorizontalSetup, getVerticalSetup, hasInnerScale, invert, isBandScale, isDaylightSavingTime, isDomainWithTicksCalculator, linearGaugeGridConfig, mergeDomains, radial, radialGrid, radialPreprocessor, radialScales, sparkChartGridConfig, stack, stackedArea, stackedAreaAccessors, stackedAreaPreprocessor, stackedPercentageArea, stackedPercentageAreaPreprocessor, stackedPreprocessor, statusAccessors, thresholdsSummaryGridConfig, thresholdsTopGridConfig };
|
|
13314
|
+
export { AXES_STYLE_CHANGE_EVENT, AreaAccessors, AreaGridConfig, AreaRenderer, AxisConfig, BandScale, BarAccessors, BarGridConfig, BarHighlightStrategy, BarHighlightStrategyOutline, BarHorizontalGridConfig, BarRenderer, BarSeriesHighlightStrategy, BarStatusGridConfig, BarTooltipsPlugin, BasicLegendTileComponent, BorderConfig, CHART_COMPONENT, CHART_MARKERS, CHART_PALETTE_CS1, CHART_PALETTE_CS2, CHART_PALETTE_CS3, CHART_PALETTE_CS_S, CHART_PALETTE_CS_S_EXTENDED, CHART_VIEW_STATUS_EVENT, Chart, ChartAssist, ChartAssistEventType, ChartAssistRenderStateData, ChartCollection, ChartCollectionIdDirective, ChartCollectionService, ChartComponent, ChartDonutContentComponent, ChartDonutContentPlugin, ChartMarkerComponent, ChartPalette, ChartPlugin, ChartPopoverComponent, ChartPopoverPlugin, ChartTooltipComponent, ChartTooltipDirective, ChartTooltipsComponent, ChartTooltipsPlugin, CssFilterId, DATA_POINT_INTERACTION_RESET, DATA_POINT_NOT_FOUND, DEFAULT_DONUT_GAUGE_THRESHOLDS_RENDERER_CONFIG, DEFAULT_LINEAR_GAUGE_THRESHOLDS_RENDERER_CONFIG, DEFAULT_MARKER_INTERACTION_CONFIG, DEFAULT_RADIAL_RENDERER_CONFIG, DESTROY_EVENT, DONUT_GAUGE_LABEL_CLEARANCE_DEFAULT, DataManager, DataSeries, DimensionConfig, DonutGaugeLabelsPlugin, DonutGaugeRenderingUtil, DonutGaugeThresholdsRenderer, EMPTY_CONTINUOUS_DOMAIN, EventBus, GAUGE_LABELS_CONTAINER_CLASS, GAUGE_LABEL_FORMATTER_NAME_DEFAULT, GAUGE_QUANTITY_SERIES_ID, GAUGE_REMAINDER_SERIES_ID, GAUGE_THRESHOLD_LABEL_CLASS, GAUGE_THRESHOLD_MARKERS_SERIES_ID, GAUGE_THRESHOLD_MARKER_CLASS, GRAYSCALE_COLOR_MATRIX, GRAYSCALE_FILTER, GaugeMode, GaugeUtil, Grid, GridConfig, HIGHLIGHT_DATA_POINT_EVENT, HIGHLIGHT_SERIES_EVENT, HorizontalBarAccessors, IGNORE_INTERACTION_CLASS, INTERACTION_COORDINATES_EVENT, INTERACTION_DATA_POINTS_EVENT, INTERACTION_DATA_POINT_EVENT, INTERACTION_SERIES_EVENT, INTERACTION_VALUES_ACTIVE_EVENT, INTERACTION_VALUES_EVENT, InteractionLabelPlugin, InteractionLinePlugin, InteractionType, LEGEND_SERIES_CLASS_NAME, LINEAR_GAUGE_LABEL_CLEARANCE_DEFAULTS, Lasagna, LegendComponent, LegendInteractionAssist, LegendSeriesComponent, LineAccessors, LineRenderer, LineSelectSeriesInteractionStrategy, LinearGaugeLabelsPlugin, LinearGaugeThresholdsRenderer, LinearScale, MOUSE_ACTIVE_EVENT, MappedValueProvider, MissingDataLineRendererConfig, MouseInteractiveArea, MouseInteractiveAreaPlugin, NORMALIZED_DOMAIN, NoopAccessors, NoopRenderer, NoopScale, NuiChartsModule, PathMarker, PieRenderer, PointScale, ProcessedColorProvider, REFRESH_EVENT, RadialAccessors, RadialGrid, RadialPopoverPlugin, RadialRenderer, RadialTooltipsPlugin, RectangleAccessors, RenderEngine, RenderEnginePlugin, RenderLayerName, RenderState, Renderer, RichLegendTileComponent, SELECT_DATA_POINT_EVENT, SERIES_STATE_CHANGE_EVENT, SET_DOMAIN_EVENT, STANDARD_RENDER_LAYERS, Scale, SequentialChartMarkerProvider, SequentialColorProvider, SequentialValueProvider, SideIndicatorAccessors, SideIndicatorRenderer, SparkChartAssist, StandardGaugeColor, StandardGaugeThresholdId, StandardGaugeThresholdMarkerRadius, StandardLinearGaugeThickness, StatusAccessors, SvgMarker, THRESHOLDS_MAIN_CHART_RENDERER_CONFIG, THRESHOLDS_SUMMARY_RENDERER_CONFIG, TOOLTIP_POSITION_OFFSET, TextColorProvider, ThresholdsService, TimeIntervalScale, TimeScale, TimeseriesZoomPlugin, TimeseriesZoomPluginsSyncService, UtilityService, VerticalBarAccessors, XYAccessors, XYGrid, XYGridConfig, XYRenderer, ZoneBoundary, ZoomPlugin, applyStackMetadata, areaGrid, barAccessors, barGrid, barScales, borderMidpoint, calculateDomainValueCombinedTotals, calculateMissingData, convert, datetimeFormatter, defaultColorProvider, defaultMarkerProvider, defaultPalette, domainWithAuxiliarySeries, donutGaugeRendererConfig, getAutomaticDomain, getAutomaticDomainWithIncludedInterval, getAutomaticDomainWithTicks, getColorValueByName, getHorizontalSetup, getVerticalSetup, hasInnerScale, invert, isBandScale, isDaylightSavingTime, isDomainWithTicksCalculator, linearGaugeGridConfig, mergeDomains, radial, radialGrid, radialPreprocessor, radialScales, sparkChartGridConfig, stack, stackedArea, stackedAreaAccessors, stackedAreaPreprocessor, stackedPercentageArea, stackedPercentageAreaPreprocessor, stackedPreprocessor, statusAccessors, thresholdsSummaryGridConfig, thresholdsTopGridConfig };
|
|
13278
13315
|
//# sourceMappingURL=nova-ui-charts.mjs.map
|