@unovis/angular 1.7.0-Phoenix.0 → 1.7.0-csp.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/README.md +4 -0
- package/dist/lib/README.md +4 -0
- package/dist/lib/fesm2022/unovis-angular.mjs +6639 -0
- package/dist/lib/fesm2022/unovis-angular.mjs.map +1 -0
- package/dist/lib/index.d.ts +3878 -0
- package/package.json +47 -40
- package/dist/lib/bundles/unovis-angular.umd.js +0 -3546
- package/dist/lib/bundles/unovis-angular.umd.js.map +0 -1
- package/dist/lib/components/annotations/annotations.component.d.ts +0 -73
- package/dist/lib/components/annotations/annotations.module.d.ts +0 -7
- package/dist/lib/components/area/area.component.d.ts +0 -96
- package/dist/lib/components/area/area.module.d.ts +0 -7
- package/dist/lib/components/axis/axis.component.d.ts +0 -123
- package/dist/lib/components/axis/axis.module.d.ts +0 -7
- package/dist/lib/components/brush/brush.component.d.ts +0 -83
- package/dist/lib/components/brush/brush.module.d.ts +0 -7
- package/dist/lib/components/chord-diagram/chord-diagram.component.d.ts +0 -91
- package/dist/lib/components/chord-diagram/chord-diagram.module.d.ts +0 -7
- package/dist/lib/components/crosshair/crosshair.component.d.ts +0 -124
- package/dist/lib/components/crosshair/crosshair.module.d.ts +0 -7
- package/dist/lib/components/donut/donut.component.d.ts +0 -99
- package/dist/lib/components/donut/donut.module.d.ts +0 -7
- package/dist/lib/components/free-brush/free-brush.component.d.ts +0 -85
- package/dist/lib/components/free-brush/free-brush.module.d.ts +0 -7
- package/dist/lib/components/graph/graph.component.d.ts +0 -296
- package/dist/lib/components/graph/graph.module.d.ts +0 -7
- package/dist/lib/components/grouped-bar/grouped-bar.component.d.ts +0 -101
- package/dist/lib/components/grouped-bar/grouped-bar.module.d.ts +0 -7
- package/dist/lib/components/line/line.component.d.ts +0 -102
- package/dist/lib/components/line/line.module.d.ts +0 -7
- package/dist/lib/components/nested-donut/nested-donut.component.d.ts +0 -107
- package/dist/lib/components/nested-donut/nested-donut.module.d.ts +0 -7
- package/dist/lib/components/plotband/plotband.component.d.ts +0 -81
- package/dist/lib/components/plotband/plotband.module.d.ts +0 -7
- package/dist/lib/components/plotline/plotline.component.d.ts +0 -87
- package/dist/lib/components/plotline/plotline.module.d.ts +0 -7
- package/dist/lib/components/sankey/sankey.component.d.ts +0 -167
- package/dist/lib/components/sankey/sankey.module.d.ts +0 -7
- package/dist/lib/components/scatter/scatter.component.d.ts +0 -110
- package/dist/lib/components/scatter/scatter.module.d.ts +0 -7
- package/dist/lib/components/stacked-bar/stacked-bar.component.d.ts +0 -103
- package/dist/lib/components/stacked-bar/stacked-bar.module.d.ts +0 -7
- package/dist/lib/components/timeline/timeline.component.d.ts +0 -153
- package/dist/lib/components/timeline/timeline.module.d.ts +0 -7
- package/dist/lib/components/tooltip/tooltip.component.d.ts +0 -73
- package/dist/lib/components/tooltip/tooltip.module.d.ts +0 -7
- package/dist/lib/components/topojson-map/topojson-map.component.d.ts +0 -125
- package/dist/lib/components/topojson-map/topojson-map.module.d.ts +0 -7
- package/dist/lib/components/xy-labels/xy-labels.component.d.ts +0 -107
- package/dist/lib/components/xy-labels/xy-labels.module.d.ts +0 -7
- package/dist/lib/components.d.ts +0 -51
- package/dist/lib/containers/single-container/single-container.component.d.ts +0 -46
- package/dist/lib/containers/single-container/single-container.module.d.ts +0 -7
- package/dist/lib/containers/xy-container/xy-container.component.d.ts +0 -101
- package/dist/lib/containers/xy-container/xy-container.module.d.ts +0 -7
- package/dist/lib/containers.d.ts +0 -4
- package/dist/lib/core/core-component.d.ts +0 -6
- package/dist/lib/core/generic-component.d.ts +0 -3
- package/dist/lib/core/index.d.ts +0 -3
- package/dist/lib/core/xy-component.d.ts +0 -6
- package/dist/lib/esm2015/components/annotations/annotations.component.js +0 -43
- package/dist/lib/esm2015/components/annotations/annotations.module.js +0 -18
- package/dist/lib/esm2015/components/area/area.component.js +0 -77
- package/dist/lib/esm2015/components/area/area.module.js +0 -18
- package/dist/lib/esm2015/components/axis/axis.component.js +0 -109
- package/dist/lib/esm2015/components/axis/axis.module.js +0 -18
- package/dist/lib/esm2015/components/brush/brush.component.js +0 -69
- package/dist/lib/esm2015/components/brush/brush.module.js +0 -18
- package/dist/lib/esm2015/components/chord-diagram/chord-diagram.component.js +0 -79
- package/dist/lib/esm2015/components/chord-diagram/chord-diagram.module.js +0 -18
- package/dist/lib/esm2015/components/crosshair/crosshair.component.js +0 -91
- package/dist/lib/esm2015/components/crosshair/crosshair.module.js +0 -18
- package/dist/lib/esm2015/components/donut/donut.component.js +0 -87
- package/dist/lib/esm2015/components/donut/donut.module.js +0 -18
- package/dist/lib/esm2015/components/free-brush/free-brush.component.js +0 -69
- package/dist/lib/esm2015/components/free-brush/free-brush.module.js +0 -18
- package/dist/lib/esm2015/components/graph/graph.component.js +0 -231
- package/dist/lib/esm2015/components/graph/graph.module.js +0 -18
- package/dist/lib/esm2015/components/grouped-bar/grouped-bar.component.js +0 -83
- package/dist/lib/esm2015/components/grouped-bar/grouped-bar.module.js +0 -18
- package/dist/lib/esm2015/components/line/line.component.js +0 -79
- package/dist/lib/esm2015/components/line/line.module.js +0 -18
- package/dist/lib/esm2015/components/nested-donut/nested-donut.component.js +0 -89
- package/dist/lib/esm2015/components/nested-donut/nested-donut.module.js +0 -18
- package/dist/lib/esm2015/components/plotband/plotband.component.js +0 -61
- package/dist/lib/esm2015/components/plotband/plotband.module.js +0 -18
- package/dist/lib/esm2015/components/plotline/plotline.component.js +0 -63
- package/dist/lib/esm2015/components/plotline/plotline.module.js +0 -18
- package/dist/lib/esm2015/components/sankey/sankey.component.js +0 -139
- package/dist/lib/esm2015/components/sankey/sankey.module.js +0 -18
- package/dist/lib/esm2015/components/scatter/scatter.component.js +0 -89
- package/dist/lib/esm2015/components/scatter/scatter.module.js +0 -18
- package/dist/lib/esm2015/components/stacked-bar/stacked-bar.component.js +0 -83
- package/dist/lib/esm2015/components/stacked-bar/stacked-bar.module.js +0 -18
- package/dist/lib/esm2015/components/timeline/timeline.component.js +0 -131
- package/dist/lib/esm2015/components/timeline/timeline.module.js +0 -18
- package/dist/lib/esm2015/components/tooltip/tooltip.component.js +0 -61
- package/dist/lib/esm2015/components/tooltip/tooltip.module.js +0 -18
- package/dist/lib/esm2015/components/topojson-map/topojson-map.component.js +0 -111
- package/dist/lib/esm2015/components/topojson-map/topojson-map.module.js +0 -18
- package/dist/lib/esm2015/components/xy-labels/xy-labels.component.js +0 -91
- package/dist/lib/esm2015/components/xy-labels/xy-labels.module.js +0 -18
- package/dist/lib/esm2015/components.js +0 -55
- package/dist/lib/esm2015/containers/single-container/single-container.component.js +0 -82
- package/dist/lib/esm2015/containers/single-container/single-container.module.js +0 -17
- package/dist/lib/esm2015/containers/xy-container/xy-container.component.js +0 -177
- package/dist/lib/esm2015/containers/xy-container/xy-container.module.js +0 -17
- package/dist/lib/esm2015/containers.js +0 -5
- package/dist/lib/esm2015/core/core-component.js +0 -4
- package/dist/lib/esm2015/core/generic-component.js +0 -3
- package/dist/lib/esm2015/core/index.js +0 -4
- package/dist/lib/esm2015/core/xy-component.js +0 -4
- package/dist/lib/esm2015/html-components/bullet-legend/bullet-legend.component.js +0 -56
- package/dist/lib/esm2015/html-components/bullet-legend/bullet-legend.module.js +0 -18
- package/dist/lib/esm2015/html-components/leaflet-flow-map/leaflet-flow-map.component.js +0 -170
- package/dist/lib/esm2015/html-components/leaflet-flow-map/leaflet-flow-map.module.js +0 -18
- package/dist/lib/esm2015/html-components/leaflet-map/leaflet-map.component.js +0 -144
- package/dist/lib/esm2015/html-components/leaflet-map/leaflet-map.module.js +0 -18
- package/dist/lib/esm2015/html-components/rolling-pin-legend/rolling-pin-legend.component.js +0 -48
- package/dist/lib/esm2015/html-components/rolling-pin-legend/rolling-pin-legend.module.js +0 -18
- package/dist/lib/esm2015/public-api.js +0 -3
- package/dist/lib/esm2015/unovis-angular.js +0 -5
- package/dist/lib/fesm2015/unovis-angular.js +0 -2922
- package/dist/lib/fesm2015/unovis-angular.js.map +0 -1
- package/dist/lib/html-components/bullet-legend/bullet-legend.component.d.ts +0 -42
- package/dist/lib/html-components/bullet-legend/bullet-legend.module.d.ts +0 -7
- package/dist/lib/html-components/leaflet-flow-map/leaflet-flow-map.component.d.ts +0 -212
- package/dist/lib/html-components/leaflet-flow-map/leaflet-flow-map.module.d.ts +0 -7
- package/dist/lib/html-components/leaflet-map/leaflet-map.component.d.ts +0 -183
- package/dist/lib/html-components/leaflet-map/leaflet-map.module.d.ts +0 -7
- package/dist/lib/html-components/rolling-pin-legend/rolling-pin-legend.component.d.ts +0 -24
- package/dist/lib/html-components/rolling-pin-legend/rolling-pin-legend.module.d.ts +0 -7
- package/dist/lib/package.json +0 -53
- package/dist/lib/public-api.d.ts +0 -2
- package/dist/lib/unovis-angular.d.ts +0 -5
|
@@ -1,2922 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, Input, ViewChild, ContentChildren, ContentChild, NgModule } from '@angular/core';
|
|
3
|
-
import { Tooltip, Annotations, Direction, XYContainer, Crosshair, Axis, SingleContainer, Area, Brush, ChordDiagram, Donut, FreeBrush, Graph, GroupedBar, Line, NestedDonut, Plotline, Sankey, Scatter, StackedBar, Timeline, XYLabels, TopoJSONMap, Plotband, LeafletMap, LeafletFlowMap, BulletLegend, RollingPinLegend } from '@unovis/ts';
|
|
4
|
-
|
|
5
|
-
class VisGenericComponent {
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
class VisCoreComponent extends VisGenericComponent {
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
class VisXYComponent extends VisCoreComponent {
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
15
|
-
class VisTooltipComponent {
|
|
16
|
-
ngAfterViewInit() {
|
|
17
|
-
this.component = new Tooltip(this.getConfig());
|
|
18
|
-
}
|
|
19
|
-
ngOnChanges(changes) {
|
|
20
|
-
var _a, _b;
|
|
21
|
-
(_a = this.component) === null || _a === void 0 ? void 0 : _a.setConfig(this.getConfig());
|
|
22
|
-
(_b = this.componentContainer) === null || _b === void 0 ? void 0 : _b.render();
|
|
23
|
-
}
|
|
24
|
-
getConfig() {
|
|
25
|
-
const { components, container, followCursor, allowHover, horizontalPlacement, horizontalShift, verticalPlacement, verticalShift, triggers, attributes, className, hideDelay, showDelay } = this;
|
|
26
|
-
const config = { components, container, followCursor, allowHover, horizontalPlacement, horizontalShift, verticalPlacement, verticalShift, triggers, attributes, className, hideDelay, showDelay };
|
|
27
|
-
const keys = Object.keys(config);
|
|
28
|
-
keys.forEach(key => { if (config[key] === undefined)
|
|
29
|
-
delete config[key]; });
|
|
30
|
-
return config;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
VisTooltipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisTooltipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
34
|
-
VisTooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisTooltipComponent, selector: "vis-tooltip", inputs: { components: "components", container: "container", followCursor: "followCursor", allowHover: "allowHover", horizontalPlacement: "horizontalPlacement", horizontalShift: "horizontalShift", verticalPlacement: "verticalPlacement", verticalShift: "verticalShift", triggers: "triggers", attributes: "attributes", className: "className", hideDelay: "hideDelay", showDelay: "showDelay" }, providers: [{ provide: VisGenericComponent, useExisting: VisTooltipComponent }], usesOnChanges: true, ngImport: i0, template: '', isInline: true });
|
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisTooltipComponent, decorators: [{
|
|
36
|
-
type: Component,
|
|
37
|
-
args: [{
|
|
38
|
-
selector: 'vis-tooltip',
|
|
39
|
-
template: '',
|
|
40
|
-
// eslint-disable-next-line no-use-before-define
|
|
41
|
-
providers: [{ provide: VisGenericComponent, useExisting: VisTooltipComponent }],
|
|
42
|
-
}]
|
|
43
|
-
}], propDecorators: { components: [{
|
|
44
|
-
type: Input
|
|
45
|
-
}], container: [{
|
|
46
|
-
type: Input
|
|
47
|
-
}], followCursor: [{
|
|
48
|
-
type: Input
|
|
49
|
-
}], allowHover: [{
|
|
50
|
-
type: Input
|
|
51
|
-
}], horizontalPlacement: [{
|
|
52
|
-
type: Input
|
|
53
|
-
}], horizontalShift: [{
|
|
54
|
-
type: Input
|
|
55
|
-
}], verticalPlacement: [{
|
|
56
|
-
type: Input
|
|
57
|
-
}], verticalShift: [{
|
|
58
|
-
type: Input
|
|
59
|
-
}], triggers: [{
|
|
60
|
-
type: Input
|
|
61
|
-
}], attributes: [{
|
|
62
|
-
type: Input
|
|
63
|
-
}], className: [{
|
|
64
|
-
type: Input
|
|
65
|
-
}], hideDelay: [{
|
|
66
|
-
type: Input
|
|
67
|
-
}], showDelay: [{
|
|
68
|
-
type: Input
|
|
69
|
-
}] } });
|
|
70
|
-
|
|
71
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
72
|
-
class VisAnnotationsComponent {
|
|
73
|
-
ngAfterViewInit() {
|
|
74
|
-
this.component = new Annotations(this.getConfig());
|
|
75
|
-
}
|
|
76
|
-
ngOnChanges(changes) {
|
|
77
|
-
var _a, _b;
|
|
78
|
-
(_a = this.component) === null || _a === void 0 ? void 0 : _a.setConfig(this.getConfig());
|
|
79
|
-
(_b = this.componentContainer) === null || _b === void 0 ? void 0 : _b.render();
|
|
80
|
-
}
|
|
81
|
-
getConfig() {
|
|
82
|
-
const { duration, events, attributes, items } = this;
|
|
83
|
-
const config = { duration, events, attributes, items };
|
|
84
|
-
const keys = Object.keys(config);
|
|
85
|
-
keys.forEach(key => { if (config[key] === undefined)
|
|
86
|
-
delete config[key]; });
|
|
87
|
-
return config;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
VisAnnotationsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisAnnotationsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
91
|
-
VisAnnotationsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisAnnotationsComponent, selector: "vis-annotations", inputs: { duration: "duration", events: "events", attributes: "attributes", items: "items" }, providers: [{ provide: VisGenericComponent, useExisting: VisAnnotationsComponent }], usesOnChanges: true, ngImport: i0, template: '', isInline: true });
|
|
92
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisAnnotationsComponent, decorators: [{
|
|
93
|
-
type: Component,
|
|
94
|
-
args: [{
|
|
95
|
-
selector: 'vis-annotations',
|
|
96
|
-
template: '',
|
|
97
|
-
// eslint-disable-next-line no-use-before-define
|
|
98
|
-
providers: [{ provide: VisGenericComponent, useExisting: VisAnnotationsComponent }],
|
|
99
|
-
}]
|
|
100
|
-
}], propDecorators: { duration: [{
|
|
101
|
-
type: Input
|
|
102
|
-
}], events: [{
|
|
103
|
-
type: Input
|
|
104
|
-
}], attributes: [{
|
|
105
|
-
type: Input
|
|
106
|
-
}], items: [{
|
|
107
|
-
type: Input
|
|
108
|
-
}] } });
|
|
109
|
-
|
|
110
|
-
class VisXYContainerComponent {
|
|
111
|
-
constructor() {
|
|
112
|
-
/** Constraint the minimum value of the Y scale domain.
|
|
113
|
-
* For example, imagine that you have a chart with dynamic data that has negative values. When values are small
|
|
114
|
-
* (let's say in the range of [-0.01, 0]), you might still want the chart to display some meaningful value range (e.g. [-1, 0]). That can
|
|
115
|
-
* be achieved by setting `yDomainMinConstraint` to `[undefined, -1]`. In addition to that, if you want to cut off the
|
|
116
|
-
* values that are too low (let's say lower than -100), you can set the constraint to `[-100, -1]`
|
|
117
|
-
* Default: `undefined` */
|
|
118
|
-
this.yDomainMinConstraint = undefined;
|
|
119
|
-
/** Y Axis direction. Default: `Direction.North` */
|
|
120
|
-
this.yDirection = Direction.North;
|
|
121
|
-
/** Prevents the chart domain from being empty (when domain's min and max values are equal).
|
|
122
|
-
* That usually happens when all the data values are the same or when there's no data.
|
|
123
|
-
* Setting to `true` will automatically extend the domain by `+1` when needed.
|
|
124
|
-
* Setting to `null` will extend the domain only when there's no data.
|
|
125
|
-
* Setting to `false` will keep the domain as is.
|
|
126
|
-
* Default: `null` */
|
|
127
|
-
this.preventEmptyDomain = null;
|
|
128
|
-
/** Animation duration of all the components within the container. Default: `undefined` */
|
|
129
|
-
this.duration = undefined;
|
|
130
|
-
/** Margins. Default: `{ top: 0, bottom: 0, left: 0, right: 0 }` */
|
|
131
|
-
this.margin = { top: 0, bottom: 0, left: 0, right: 0 };
|
|
132
|
-
/** Padding. Default: `{ top: 0, bottom: 0, left: 0, right: 0 }` */
|
|
133
|
-
this.padding = {};
|
|
134
|
-
/** Enables automatic calculation of chart margins based on the size of the axes. Default: `true` */
|
|
135
|
-
this.autoMargin = true;
|
|
136
|
-
/** Data to be passed to all child components. But if `data` is `undefined` it'll to be passed allowing components to
|
|
137
|
-
* have their individual data. Default: `undefined` */
|
|
138
|
-
this.data = undefined;
|
|
139
|
-
}
|
|
140
|
-
ngAfterViewInit() {
|
|
141
|
-
this.chart = new XYContainer(this.containerRef.nativeElement, this.getConfig(), this.data);
|
|
142
|
-
this.passContainerReferenceToChildren();
|
|
143
|
-
}
|
|
144
|
-
ngAfterContentInit() {
|
|
145
|
-
// QueryList does unsubscribe automatically when it gets destroyed
|
|
146
|
-
this.visComponents.changes.subscribe(() => {
|
|
147
|
-
var _a;
|
|
148
|
-
this.passContainerReferenceToChildren();
|
|
149
|
-
(_a = this.chart) === null || _a === void 0 ? void 0 : _a.updateContainer(this.getConfig());
|
|
150
|
-
});
|
|
151
|
-
}
|
|
152
|
-
ngOnChanges(changes) {
|
|
153
|
-
var _a, _b;
|
|
154
|
-
const preventRender = true;
|
|
155
|
-
// Set new Data without re-render
|
|
156
|
-
if (changes.data) {
|
|
157
|
-
(_a = this.chart) === null || _a === void 0 ? void 0 : _a.setData(this.data, preventRender);
|
|
158
|
-
delete changes.data;
|
|
159
|
-
}
|
|
160
|
-
// Update Container and render
|
|
161
|
-
(_b = this.chart) === null || _b === void 0 ? void 0 : _b.updateContainer(this.getConfig());
|
|
162
|
-
}
|
|
163
|
-
getConfig() {
|
|
164
|
-
var _a, _b;
|
|
165
|
-
const { duration, margin, padding, scaleByDomain, autoMargin, width, height, xScale, xDomain, xDomainMinConstraint, xDomainMaxConstraint, xRange, yScale, yDomain, yDomainMinConstraint, yDomainMaxConstraint, yRange, yDirection, ariaLabel, } = this;
|
|
166
|
-
const visComponents = this.visComponents.toArray().map(d => d.component);
|
|
167
|
-
const crosshair = visComponents.find(c => c instanceof Crosshair);
|
|
168
|
-
const tooltip = (_a = this.tooltipComponent) === null || _a === void 0 ? void 0 : _a.component;
|
|
169
|
-
const xAxis = visComponents.find(c => { var _a; return c instanceof Axis && ((_a = c === null || c === void 0 ? void 0 : c.config) === null || _a === void 0 ? void 0 : _a.type) === 'x'; });
|
|
170
|
-
const yAxis = visComponents.find(c => { var _a; return c instanceof Axis && ((_a = c === null || c === void 0 ? void 0 : c.config) === null || _a === void 0 ? void 0 : _a.type) === 'y'; });
|
|
171
|
-
const annotations = (_b = this.annotationsComponent) === null || _b === void 0 ? void 0 : _b.component;
|
|
172
|
-
const components = visComponents.filter(c => !(c instanceof Crosshair) && !(c instanceof Tooltip) && !(c instanceof Axis));
|
|
173
|
-
return {
|
|
174
|
-
components,
|
|
175
|
-
width,
|
|
176
|
-
height,
|
|
177
|
-
duration,
|
|
178
|
-
margin,
|
|
179
|
-
padding,
|
|
180
|
-
xAxis,
|
|
181
|
-
yAxis,
|
|
182
|
-
tooltip,
|
|
183
|
-
crosshair,
|
|
184
|
-
annotations,
|
|
185
|
-
scaleByDomain,
|
|
186
|
-
autoMargin,
|
|
187
|
-
xScale,
|
|
188
|
-
xDomain,
|
|
189
|
-
xDomainMinConstraint,
|
|
190
|
-
xDomainMaxConstraint,
|
|
191
|
-
xRange,
|
|
192
|
-
yScale,
|
|
193
|
-
yDomain,
|
|
194
|
-
yDomainMinConstraint,
|
|
195
|
-
yDomainMaxConstraint,
|
|
196
|
-
yRange,
|
|
197
|
-
yDirection,
|
|
198
|
-
ariaLabel,
|
|
199
|
-
};
|
|
200
|
-
}
|
|
201
|
-
passContainerReferenceToChildren() {
|
|
202
|
-
// We set the container for each vis component to trigger chart re-render if the data has changed
|
|
203
|
-
if (this.chart)
|
|
204
|
-
this.visComponents.toArray().forEach(c => { c.componentContainer = this.chart; });
|
|
205
|
-
}
|
|
206
|
-
ngOnDestroy() {
|
|
207
|
-
var _a;
|
|
208
|
-
(_a = this.chart) === null || _a === void 0 ? void 0 : _a.destroy();
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
VisXYContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisXYContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
212
|
-
VisXYContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisXYContainerComponent, selector: "vis-xy-container", inputs: { width: "width", height: "height", xScale: "xScale", xDomain: "xDomain", xDomainMinConstraint: "xDomainMinConstraint", xDomainMaxConstraint: "xDomainMaxConstraint", xRange: "xRange", yScale: "yScale", yDomain: "yDomain", yDomainMinConstraint: "yDomainMinConstraint", yDomainMaxConstraint: "yDomainMaxConstraint", yRange: "yRange", yDirection: "yDirection", preventEmptyDomain: "preventEmptyDomain", duration: "duration", margin: "margin", padding: "padding", scaleByDomain: "scaleByDomain", autoMargin: "autoMargin", ariaLabel: "ariaLabel", data: "data" }, queries: [{ propertyName: "tooltipComponent", first: true, predicate: VisTooltipComponent, descendants: true }, { propertyName: "annotationsComponent", first: true, predicate: VisAnnotationsComponent, descendants: true }, { propertyName: "visComponents", predicate: VisXYComponent }], viewQueries: [{ propertyName: "containerRef", first: true, predicate: ["container"], descendants: true }], usesOnChanges: true, ngImport: i0, template: `<div #container class="unovis-xy-container">
|
|
213
|
-
<ng-content></ng-content>
|
|
214
|
-
</div>`, isInline: true, styles: [".unovis-xy-container { width: 100%; height: 100%; position: relative; }"] });
|
|
215
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisXYContainerComponent, decorators: [{
|
|
216
|
-
type: Component,
|
|
217
|
-
args: [{
|
|
218
|
-
selector: 'vis-xy-container',
|
|
219
|
-
template: `<div #container class="unovis-xy-container">
|
|
220
|
-
<ng-content></ng-content>
|
|
221
|
-
</div>`,
|
|
222
|
-
styles: ['.unovis-xy-container { width: 100%; height: 100%; position: relative; }'],
|
|
223
|
-
}]
|
|
224
|
-
}], propDecorators: { containerRef: [{
|
|
225
|
-
type: ViewChild,
|
|
226
|
-
args: ['container', { static: false }]
|
|
227
|
-
}], visComponents: [{
|
|
228
|
-
type: ContentChildren,
|
|
229
|
-
args: [VisXYComponent]
|
|
230
|
-
}], tooltipComponent: [{
|
|
231
|
-
type: ContentChild,
|
|
232
|
-
args: [VisTooltipComponent]
|
|
233
|
-
}], annotationsComponent: [{
|
|
234
|
-
type: ContentChild,
|
|
235
|
-
args: [VisAnnotationsComponent]
|
|
236
|
-
}], width: [{
|
|
237
|
-
type: Input
|
|
238
|
-
}], height: [{
|
|
239
|
-
type: Input
|
|
240
|
-
}], xScale: [{
|
|
241
|
-
type: Input
|
|
242
|
-
}], xDomain: [{
|
|
243
|
-
type: Input
|
|
244
|
-
}], xDomainMinConstraint: [{
|
|
245
|
-
type: Input
|
|
246
|
-
}], xDomainMaxConstraint: [{
|
|
247
|
-
type: Input
|
|
248
|
-
}], xRange: [{
|
|
249
|
-
type: Input
|
|
250
|
-
}], yScale: [{
|
|
251
|
-
type: Input
|
|
252
|
-
}], yDomain: [{
|
|
253
|
-
type: Input
|
|
254
|
-
}], yDomainMinConstraint: [{
|
|
255
|
-
type: Input
|
|
256
|
-
}], yDomainMaxConstraint: [{
|
|
257
|
-
type: Input
|
|
258
|
-
}], yRange: [{
|
|
259
|
-
type: Input
|
|
260
|
-
}], yDirection: [{
|
|
261
|
-
type: Input
|
|
262
|
-
}], preventEmptyDomain: [{
|
|
263
|
-
type: Input
|
|
264
|
-
}], duration: [{
|
|
265
|
-
type: Input
|
|
266
|
-
}], margin: [{
|
|
267
|
-
type: Input
|
|
268
|
-
}], padding: [{
|
|
269
|
-
type: Input
|
|
270
|
-
}], scaleByDomain: [{
|
|
271
|
-
type: Input
|
|
272
|
-
}], autoMargin: [{
|
|
273
|
-
type: Input
|
|
274
|
-
}], ariaLabel: [{
|
|
275
|
-
type: Input
|
|
276
|
-
}], data: [{
|
|
277
|
-
type: Input
|
|
278
|
-
}] } });
|
|
279
|
-
|
|
280
|
-
class VisXYContainerModule {
|
|
281
|
-
}
|
|
282
|
-
VisXYContainerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisXYContainerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
283
|
-
VisXYContainerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisXYContainerModule, declarations: [VisXYContainerComponent], exports: [VisXYContainerComponent] });
|
|
284
|
-
VisXYContainerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisXYContainerModule, imports: [[]] });
|
|
285
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisXYContainerModule, decorators: [{
|
|
286
|
-
type: NgModule,
|
|
287
|
-
args: [{
|
|
288
|
-
imports: [],
|
|
289
|
-
declarations: [VisXYContainerComponent],
|
|
290
|
-
exports: [VisXYContainerComponent],
|
|
291
|
-
}]
|
|
292
|
-
}] });
|
|
293
|
-
|
|
294
|
-
class VisSingleContainerComponent {
|
|
295
|
-
constructor() {
|
|
296
|
-
/** Margins. Default: `{ top: 0, bottom: 0, left: 0, right: 0 }` */
|
|
297
|
-
this.margin = { top: 0, bottom: 0, left: 0, right: 0 };
|
|
298
|
-
}
|
|
299
|
-
ngAfterViewInit() {
|
|
300
|
-
this.chart = new SingleContainer(this.containerRef.nativeElement, this.getConfig(), this.data);
|
|
301
|
-
// We pass the container for the component to trigger re-render if the data has changed
|
|
302
|
-
this.visComponent.componentContainer = this.chart;
|
|
303
|
-
}
|
|
304
|
-
ngOnChanges(changes) {
|
|
305
|
-
var _a, _b;
|
|
306
|
-
// Set new Data without re-render
|
|
307
|
-
if (changes.data) {
|
|
308
|
-
(_a = this.chart) === null || _a === void 0 ? void 0 : _a.setData(this.data, true);
|
|
309
|
-
delete changes.data;
|
|
310
|
-
}
|
|
311
|
-
// Update Container and render
|
|
312
|
-
(_b = this.chart) === null || _b === void 0 ? void 0 : _b.updateContainer(this.getConfig());
|
|
313
|
-
}
|
|
314
|
-
getConfig() {
|
|
315
|
-
var _a, _b, _c;
|
|
316
|
-
const { width, height, duration, margin, ariaLabel, svgDefs, sizing } = this;
|
|
317
|
-
const component = (_a = this.visComponent) === null || _a === void 0 ? void 0 : _a.component;
|
|
318
|
-
const tooltip = (_b = this.tooltipComponent) === null || _b === void 0 ? void 0 : _b.component;
|
|
319
|
-
const annotations = (_c = this.annotationsComponent) === null || _c === void 0 ? void 0 : _c.component;
|
|
320
|
-
return { width, height, duration, margin, component, tooltip, ariaLabel, annotations, svgDefs, sizing };
|
|
321
|
-
}
|
|
322
|
-
ngOnDestroy() {
|
|
323
|
-
this.chart.destroy();
|
|
324
|
-
}
|
|
325
|
-
}
|
|
326
|
-
VisSingleContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisSingleContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
327
|
-
VisSingleContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisSingleContainerComponent, selector: "vis-single-container", inputs: { width: "width", height: "height", margin: "margin", duration: "duration", ariaLabel: "ariaLabel", svgDefs: "svgDefs", sizing: "sizing", data: "data" }, queries: [{ propertyName: "visComponent", first: true, predicate: VisCoreComponent, descendants: true }, { propertyName: "tooltipComponent", first: true, predicate: VisTooltipComponent, descendants: true }, { propertyName: "annotationsComponent", first: true, predicate: VisAnnotationsComponent, descendants: true }], viewQueries: [{ propertyName: "containerRef", first: true, predicate: ["container"], descendants: true }], usesOnChanges: true, ngImport: i0, template: `<div #container class="unovis-single-container">
|
|
328
|
-
<ng-content></ng-content>
|
|
329
|
-
</div>`, isInline: true, styles: [".unovis-single-container { width: 100%; height: 100%; position: relative; }"] });
|
|
330
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisSingleContainerComponent, decorators: [{
|
|
331
|
-
type: Component,
|
|
332
|
-
args: [{
|
|
333
|
-
selector: 'vis-single-container',
|
|
334
|
-
template: `<div #container class="unovis-single-container">
|
|
335
|
-
<ng-content></ng-content>
|
|
336
|
-
</div>`,
|
|
337
|
-
styles: ['.unovis-single-container { width: 100%; height: 100%; position: relative; }'],
|
|
338
|
-
}]
|
|
339
|
-
}], propDecorators: { containerRef: [{
|
|
340
|
-
type: ViewChild,
|
|
341
|
-
args: ['container', { static: false }]
|
|
342
|
-
}], visComponent: [{
|
|
343
|
-
type: ContentChild,
|
|
344
|
-
args: [VisCoreComponent]
|
|
345
|
-
}], tooltipComponent: [{
|
|
346
|
-
type: ContentChild,
|
|
347
|
-
args: [VisTooltipComponent]
|
|
348
|
-
}], annotationsComponent: [{
|
|
349
|
-
type: ContentChild,
|
|
350
|
-
args: [VisAnnotationsComponent]
|
|
351
|
-
}], width: [{
|
|
352
|
-
type: Input
|
|
353
|
-
}], height: [{
|
|
354
|
-
type: Input
|
|
355
|
-
}], margin: [{
|
|
356
|
-
type: Input
|
|
357
|
-
}], duration: [{
|
|
358
|
-
type: Input
|
|
359
|
-
}], ariaLabel: [{
|
|
360
|
-
type: Input
|
|
361
|
-
}], svgDefs: [{
|
|
362
|
-
type: Input
|
|
363
|
-
}], sizing: [{
|
|
364
|
-
type: Input
|
|
365
|
-
}], data: [{
|
|
366
|
-
type: Input
|
|
367
|
-
}] } });
|
|
368
|
-
|
|
369
|
-
class VisSingleContainerModule {
|
|
370
|
-
}
|
|
371
|
-
VisSingleContainerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisSingleContainerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
372
|
-
VisSingleContainerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisSingleContainerModule, declarations: [VisSingleContainerComponent], exports: [VisSingleContainerComponent] });
|
|
373
|
-
VisSingleContainerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisSingleContainerModule, imports: [[]] });
|
|
374
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisSingleContainerModule, decorators: [{
|
|
375
|
-
type: NgModule,
|
|
376
|
-
args: [{
|
|
377
|
-
imports: [],
|
|
378
|
-
declarations: [VisSingleContainerComponent],
|
|
379
|
-
exports: [VisSingleContainerComponent],
|
|
380
|
-
}]
|
|
381
|
-
}] });
|
|
382
|
-
|
|
383
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
384
|
-
class VisAreaComponent {
|
|
385
|
-
ngAfterViewInit() {
|
|
386
|
-
var _a;
|
|
387
|
-
this.component = new Area(this.getConfig());
|
|
388
|
-
if (this.data) {
|
|
389
|
-
this.component.setData(this.data);
|
|
390
|
-
(_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
|
|
391
|
-
}
|
|
392
|
-
}
|
|
393
|
-
ngOnChanges(changes) {
|
|
394
|
-
var _a, _b, _c;
|
|
395
|
-
if (changes.data) {
|
|
396
|
-
(_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
|
|
397
|
-
}
|
|
398
|
-
(_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
|
|
399
|
-
(_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
|
|
400
|
-
}
|
|
401
|
-
getConfig() {
|
|
402
|
-
const { duration, events, attributes, x, y, id, color, xScale, yScale, excludeFromDomainCalculation, curveType, baseline, opacity, cursor, minHeight1Px, minHeight } = this;
|
|
403
|
-
const config = { duration, events, attributes, x, y, id, color, xScale, yScale, excludeFromDomainCalculation, curveType, baseline, opacity, cursor, minHeight1Px, minHeight };
|
|
404
|
-
const keys = Object.keys(config);
|
|
405
|
-
keys.forEach(key => { if (config[key] === undefined)
|
|
406
|
-
delete config[key]; });
|
|
407
|
-
return config;
|
|
408
|
-
}
|
|
409
|
-
}
|
|
410
|
-
VisAreaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisAreaComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
411
|
-
VisAreaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisAreaComponent, selector: "vis-area", inputs: { duration: "duration", events: "events", attributes: "attributes", x: "x", y: "y", id: "id", color: "color", xScale: "xScale", yScale: "yScale", excludeFromDomainCalculation: "excludeFromDomainCalculation", curveType: "curveType", baseline: "baseline", opacity: "opacity", cursor: "cursor", minHeight1Px: "minHeight1Px", minHeight: "minHeight", data: "data" }, providers: [{ provide: VisXYComponent, useExisting: VisAreaComponent }], usesOnChanges: true, ngImport: i0, template: '', isInline: true });
|
|
412
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisAreaComponent, decorators: [{
|
|
413
|
-
type: Component,
|
|
414
|
-
args: [{
|
|
415
|
-
selector: 'vis-area',
|
|
416
|
-
template: '',
|
|
417
|
-
// eslint-disable-next-line no-use-before-define
|
|
418
|
-
providers: [{ provide: VisXYComponent, useExisting: VisAreaComponent }],
|
|
419
|
-
}]
|
|
420
|
-
}], propDecorators: { duration: [{
|
|
421
|
-
type: Input
|
|
422
|
-
}], events: [{
|
|
423
|
-
type: Input
|
|
424
|
-
}], attributes: [{
|
|
425
|
-
type: Input
|
|
426
|
-
}], x: [{
|
|
427
|
-
type: Input
|
|
428
|
-
}], y: [{
|
|
429
|
-
type: Input
|
|
430
|
-
}], id: [{
|
|
431
|
-
type: Input
|
|
432
|
-
}], color: [{
|
|
433
|
-
type: Input
|
|
434
|
-
}], xScale: [{
|
|
435
|
-
type: Input
|
|
436
|
-
}], yScale: [{
|
|
437
|
-
type: Input
|
|
438
|
-
}], excludeFromDomainCalculation: [{
|
|
439
|
-
type: Input
|
|
440
|
-
}], curveType: [{
|
|
441
|
-
type: Input
|
|
442
|
-
}], baseline: [{
|
|
443
|
-
type: Input
|
|
444
|
-
}], opacity: [{
|
|
445
|
-
type: Input
|
|
446
|
-
}], cursor: [{
|
|
447
|
-
type: Input
|
|
448
|
-
}], minHeight1Px: [{
|
|
449
|
-
type: Input
|
|
450
|
-
}], minHeight: [{
|
|
451
|
-
type: Input
|
|
452
|
-
}], data: [{
|
|
453
|
-
type: Input
|
|
454
|
-
}] } });
|
|
455
|
-
|
|
456
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
457
|
-
class VisAreaModule {
|
|
458
|
-
}
|
|
459
|
-
VisAreaModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisAreaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
460
|
-
VisAreaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisAreaModule, declarations: [VisAreaComponent], exports: [VisAreaComponent] });
|
|
461
|
-
VisAreaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisAreaModule, imports: [[]] });
|
|
462
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisAreaModule, decorators: [{
|
|
463
|
-
type: NgModule,
|
|
464
|
-
args: [{
|
|
465
|
-
imports: [],
|
|
466
|
-
declarations: [VisAreaComponent],
|
|
467
|
-
exports: [VisAreaComponent],
|
|
468
|
-
}]
|
|
469
|
-
}] });
|
|
470
|
-
|
|
471
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
472
|
-
class VisAnnotationsModule {
|
|
473
|
-
}
|
|
474
|
-
VisAnnotationsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisAnnotationsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
475
|
-
VisAnnotationsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisAnnotationsModule, declarations: [VisAnnotationsComponent], exports: [VisAnnotationsComponent] });
|
|
476
|
-
VisAnnotationsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisAnnotationsModule, imports: [[]] });
|
|
477
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisAnnotationsModule, decorators: [{
|
|
478
|
-
type: NgModule,
|
|
479
|
-
args: [{
|
|
480
|
-
imports: [],
|
|
481
|
-
declarations: [VisAnnotationsComponent],
|
|
482
|
-
exports: [VisAnnotationsComponent],
|
|
483
|
-
}]
|
|
484
|
-
}] });
|
|
485
|
-
|
|
486
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
487
|
-
class VisAxisComponent {
|
|
488
|
-
ngAfterViewInit() {
|
|
489
|
-
var _a;
|
|
490
|
-
this.component = new Axis(this.getConfig());
|
|
491
|
-
if (this.data) {
|
|
492
|
-
this.component.setData(this.data);
|
|
493
|
-
(_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
|
|
494
|
-
}
|
|
495
|
-
}
|
|
496
|
-
ngOnChanges(changes) {
|
|
497
|
-
var _a, _b, _c;
|
|
498
|
-
if (changes.data) {
|
|
499
|
-
(_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
|
|
500
|
-
}
|
|
501
|
-
(_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
|
|
502
|
-
(_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
|
|
503
|
-
}
|
|
504
|
-
getConfig() {
|
|
505
|
-
const { duration, events, attributes, position, type, fullSize, label, labelFontSize, labelMargin, labelTextFitMode, labelTextTrimType, labelColor, gridLine, tickLine, domainLine, minMaxTicksOnly, minMaxTicksOnlyShowGridLines, minMaxTicksOnlyWhenWidthIsLess, tickFormat, tickValues, numTicks, tickTextFitMode, tickTextWidth, tickTextSeparator, tickTextForceWordBreak, tickTextTrimType, tickTextFontSize, tickTextAlign, tickTextColor, tickTextAngle, tickTextHideOverlapping, tickPadding } = this;
|
|
506
|
-
const config = { duration, events, attributes, position, type, fullSize, label, labelFontSize, labelMargin, labelTextFitMode, labelTextTrimType, labelColor, gridLine, tickLine, domainLine, minMaxTicksOnly, minMaxTicksOnlyShowGridLines, minMaxTicksOnlyWhenWidthIsLess, tickFormat, tickValues, numTicks, tickTextFitMode, tickTextWidth, tickTextSeparator, tickTextForceWordBreak, tickTextTrimType, tickTextFontSize, tickTextAlign, tickTextColor, tickTextAngle, tickTextHideOverlapping, tickPadding };
|
|
507
|
-
const keys = Object.keys(config);
|
|
508
|
-
keys.forEach(key => { if (config[key] === undefined)
|
|
509
|
-
delete config[key]; });
|
|
510
|
-
return config;
|
|
511
|
-
}
|
|
512
|
-
}
|
|
513
|
-
VisAxisComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisAxisComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
514
|
-
VisAxisComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisAxisComponent, selector: "vis-axis", inputs: { duration: "duration", events: "events", attributes: "attributes", position: "position", type: "type", fullSize: "fullSize", label: "label", labelFontSize: "labelFontSize", labelMargin: "labelMargin", labelTextFitMode: "labelTextFitMode", labelTextTrimType: "labelTextTrimType", labelColor: "labelColor", gridLine: "gridLine", tickLine: "tickLine", domainLine: "domainLine", minMaxTicksOnly: "minMaxTicksOnly", minMaxTicksOnlyShowGridLines: "minMaxTicksOnlyShowGridLines", minMaxTicksOnlyWhenWidthIsLess: "minMaxTicksOnlyWhenWidthIsLess", tickFormat: "tickFormat", tickValues: "tickValues", numTicks: "numTicks", tickTextFitMode: "tickTextFitMode", tickTextWidth: "tickTextWidth", tickTextSeparator: "tickTextSeparator", tickTextForceWordBreak: "tickTextForceWordBreak", tickTextTrimType: "tickTextTrimType", tickTextFontSize: "tickTextFontSize", tickTextAlign: "tickTextAlign", tickTextColor: "tickTextColor", tickTextAngle: "tickTextAngle", tickTextHideOverlapping: "tickTextHideOverlapping", tickPadding: "tickPadding", data: "data" }, providers: [{ provide: VisXYComponent, useExisting: VisAxisComponent }], usesOnChanges: true, ngImport: i0, template: '', isInline: true });
|
|
515
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisAxisComponent, decorators: [{
|
|
516
|
-
type: Component,
|
|
517
|
-
args: [{
|
|
518
|
-
selector: 'vis-axis',
|
|
519
|
-
template: '',
|
|
520
|
-
// eslint-disable-next-line no-use-before-define
|
|
521
|
-
providers: [{ provide: VisXYComponent, useExisting: VisAxisComponent }],
|
|
522
|
-
}]
|
|
523
|
-
}], propDecorators: { duration: [{
|
|
524
|
-
type: Input
|
|
525
|
-
}], events: [{
|
|
526
|
-
type: Input
|
|
527
|
-
}], attributes: [{
|
|
528
|
-
type: Input
|
|
529
|
-
}], position: [{
|
|
530
|
-
type: Input
|
|
531
|
-
}], type: [{
|
|
532
|
-
type: Input
|
|
533
|
-
}], fullSize: [{
|
|
534
|
-
type: Input
|
|
535
|
-
}], label: [{
|
|
536
|
-
type: Input
|
|
537
|
-
}], labelFontSize: [{
|
|
538
|
-
type: Input
|
|
539
|
-
}], labelMargin: [{
|
|
540
|
-
type: Input
|
|
541
|
-
}], labelTextFitMode: [{
|
|
542
|
-
type: Input
|
|
543
|
-
}], labelTextTrimType: [{
|
|
544
|
-
type: Input
|
|
545
|
-
}], labelColor: [{
|
|
546
|
-
type: Input
|
|
547
|
-
}], gridLine: [{
|
|
548
|
-
type: Input
|
|
549
|
-
}], tickLine: [{
|
|
550
|
-
type: Input
|
|
551
|
-
}], domainLine: [{
|
|
552
|
-
type: Input
|
|
553
|
-
}], minMaxTicksOnly: [{
|
|
554
|
-
type: Input
|
|
555
|
-
}], minMaxTicksOnlyShowGridLines: [{
|
|
556
|
-
type: Input
|
|
557
|
-
}], minMaxTicksOnlyWhenWidthIsLess: [{
|
|
558
|
-
type: Input
|
|
559
|
-
}], tickFormat: [{
|
|
560
|
-
type: Input
|
|
561
|
-
}], tickValues: [{
|
|
562
|
-
type: Input
|
|
563
|
-
}], numTicks: [{
|
|
564
|
-
type: Input
|
|
565
|
-
}], tickTextFitMode: [{
|
|
566
|
-
type: Input
|
|
567
|
-
}], tickTextWidth: [{
|
|
568
|
-
type: Input
|
|
569
|
-
}], tickTextSeparator: [{
|
|
570
|
-
type: Input
|
|
571
|
-
}], tickTextForceWordBreak: [{
|
|
572
|
-
type: Input
|
|
573
|
-
}], tickTextTrimType: [{
|
|
574
|
-
type: Input
|
|
575
|
-
}], tickTextFontSize: [{
|
|
576
|
-
type: Input
|
|
577
|
-
}], tickTextAlign: [{
|
|
578
|
-
type: Input
|
|
579
|
-
}], tickTextColor: [{
|
|
580
|
-
type: Input
|
|
581
|
-
}], tickTextAngle: [{
|
|
582
|
-
type: Input
|
|
583
|
-
}], tickTextHideOverlapping: [{
|
|
584
|
-
type: Input
|
|
585
|
-
}], tickPadding: [{
|
|
586
|
-
type: Input
|
|
587
|
-
}], data: [{
|
|
588
|
-
type: Input
|
|
589
|
-
}] } });
|
|
590
|
-
|
|
591
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
592
|
-
class VisAxisModule {
|
|
593
|
-
}
|
|
594
|
-
VisAxisModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisAxisModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
595
|
-
VisAxisModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisAxisModule, declarations: [VisAxisComponent], exports: [VisAxisComponent] });
|
|
596
|
-
VisAxisModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisAxisModule, imports: [[]] });
|
|
597
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisAxisModule, decorators: [{
|
|
598
|
-
type: NgModule,
|
|
599
|
-
args: [{
|
|
600
|
-
imports: [],
|
|
601
|
-
declarations: [VisAxisComponent],
|
|
602
|
-
exports: [VisAxisComponent],
|
|
603
|
-
}]
|
|
604
|
-
}] });
|
|
605
|
-
|
|
606
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
607
|
-
class VisBrushComponent {
|
|
608
|
-
ngAfterViewInit() {
|
|
609
|
-
var _a;
|
|
610
|
-
this.component = new Brush(this.getConfig());
|
|
611
|
-
if (this.data) {
|
|
612
|
-
this.component.setData(this.data);
|
|
613
|
-
(_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
|
|
614
|
-
}
|
|
615
|
-
}
|
|
616
|
-
ngOnChanges(changes) {
|
|
617
|
-
var _a, _b, _c;
|
|
618
|
-
if (changes.data) {
|
|
619
|
-
(_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
|
|
620
|
-
}
|
|
621
|
-
(_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
|
|
622
|
-
(_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
|
|
623
|
-
}
|
|
624
|
-
getConfig() {
|
|
625
|
-
const { duration, events, attributes, onBrush, onBrushStart, onBrushMove, onBrushEnd, handleWidth, selection, draggable, handlePosition, selectionMinLength } = this;
|
|
626
|
-
const config = { duration, events, attributes, onBrush, onBrushStart, onBrushMove, onBrushEnd, handleWidth, selection, draggable, handlePosition, selectionMinLength };
|
|
627
|
-
const keys = Object.keys(config);
|
|
628
|
-
keys.forEach(key => { if (config[key] === undefined)
|
|
629
|
-
delete config[key]; });
|
|
630
|
-
return config;
|
|
631
|
-
}
|
|
632
|
-
}
|
|
633
|
-
VisBrushComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisBrushComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
634
|
-
VisBrushComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisBrushComponent, selector: "vis-brush", inputs: { duration: "duration", events: "events", attributes: "attributes", onBrush: "onBrush", onBrushStart: "onBrushStart", onBrushMove: "onBrushMove", onBrushEnd: "onBrushEnd", handleWidth: "handleWidth", selection: "selection", draggable: "draggable", handlePosition: "handlePosition", selectionMinLength: "selectionMinLength", data: "data" }, providers: [{ provide: VisXYComponent, useExisting: VisBrushComponent }], usesOnChanges: true, ngImport: i0, template: '', isInline: true });
|
|
635
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisBrushComponent, decorators: [{
|
|
636
|
-
type: Component,
|
|
637
|
-
args: [{
|
|
638
|
-
selector: 'vis-brush',
|
|
639
|
-
template: '',
|
|
640
|
-
// eslint-disable-next-line no-use-before-define
|
|
641
|
-
providers: [{ provide: VisXYComponent, useExisting: VisBrushComponent }],
|
|
642
|
-
}]
|
|
643
|
-
}], propDecorators: { duration: [{
|
|
644
|
-
type: Input
|
|
645
|
-
}], events: [{
|
|
646
|
-
type: Input
|
|
647
|
-
}], attributes: [{
|
|
648
|
-
type: Input
|
|
649
|
-
}], onBrush: [{
|
|
650
|
-
type: Input
|
|
651
|
-
}], onBrushStart: [{
|
|
652
|
-
type: Input
|
|
653
|
-
}], onBrushMove: [{
|
|
654
|
-
type: Input
|
|
655
|
-
}], onBrushEnd: [{
|
|
656
|
-
type: Input
|
|
657
|
-
}], handleWidth: [{
|
|
658
|
-
type: Input
|
|
659
|
-
}], selection: [{
|
|
660
|
-
type: Input
|
|
661
|
-
}], draggable: [{
|
|
662
|
-
type: Input
|
|
663
|
-
}], handlePosition: [{
|
|
664
|
-
type: Input
|
|
665
|
-
}], selectionMinLength: [{
|
|
666
|
-
type: Input
|
|
667
|
-
}], data: [{
|
|
668
|
-
type: Input
|
|
669
|
-
}] } });
|
|
670
|
-
|
|
671
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
672
|
-
class VisBrushModule {
|
|
673
|
-
}
|
|
674
|
-
VisBrushModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisBrushModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
675
|
-
VisBrushModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisBrushModule, declarations: [VisBrushComponent], exports: [VisBrushComponent] });
|
|
676
|
-
VisBrushModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisBrushModule, imports: [[]] });
|
|
677
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisBrushModule, decorators: [{
|
|
678
|
-
type: NgModule,
|
|
679
|
-
args: [{
|
|
680
|
-
imports: [],
|
|
681
|
-
declarations: [VisBrushComponent],
|
|
682
|
-
exports: [VisBrushComponent],
|
|
683
|
-
}]
|
|
684
|
-
}] });
|
|
685
|
-
|
|
686
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
687
|
-
class VisChordDiagramComponent {
|
|
688
|
-
ngAfterViewInit() {
|
|
689
|
-
var _a;
|
|
690
|
-
this.component = new ChordDiagram(this.getConfig());
|
|
691
|
-
if (this.data) {
|
|
692
|
-
this.component.setData(this.data);
|
|
693
|
-
(_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
|
|
694
|
-
}
|
|
695
|
-
}
|
|
696
|
-
ngOnChanges(changes) {
|
|
697
|
-
var _a, _b, _c;
|
|
698
|
-
if (changes.data) {
|
|
699
|
-
(_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
|
|
700
|
-
}
|
|
701
|
-
(_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
|
|
702
|
-
(_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
|
|
703
|
-
}
|
|
704
|
-
getConfig() {
|
|
705
|
-
const { duration, events, attributes, angleRange, cornerRadius, highlightedNodeId, highlightedLinkIds, linkColor, linkValue, nodeLevels, nodeWidth, nodeColor, nodeLabel, nodeLabelColor, nodeLabelAlignment, padAngle, radiusScaleExponent } = this;
|
|
706
|
-
const config = { duration, events, attributes, angleRange, cornerRadius, highlightedNodeId, highlightedLinkIds, linkColor, linkValue, nodeLevels, nodeWidth, nodeColor, nodeLabel, nodeLabelColor, nodeLabelAlignment, padAngle, radiusScaleExponent };
|
|
707
|
-
const keys = Object.keys(config);
|
|
708
|
-
keys.forEach(key => { if (config[key] === undefined)
|
|
709
|
-
delete config[key]; });
|
|
710
|
-
return config;
|
|
711
|
-
}
|
|
712
|
-
}
|
|
713
|
-
VisChordDiagramComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisChordDiagramComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
714
|
-
VisChordDiagramComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisChordDiagramComponent, selector: "vis-chord-diagram", inputs: { duration: "duration", events: "events", attributes: "attributes", angleRange: "angleRange", cornerRadius: "cornerRadius", highlightedNodeId: "highlightedNodeId", highlightedLinkIds: "highlightedLinkIds", linkColor: "linkColor", linkValue: "linkValue", nodeLevels: "nodeLevels", nodeWidth: "nodeWidth", nodeColor: "nodeColor", nodeLabel: "nodeLabel", nodeLabelColor: "nodeLabelColor", nodeLabelAlignment: "nodeLabelAlignment", padAngle: "padAngle", radiusScaleExponent: "radiusScaleExponent", data: "data" }, providers: [{ provide: VisCoreComponent, useExisting: VisChordDiagramComponent }], usesOnChanges: true, ngImport: i0, template: '', isInline: true });
|
|
715
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisChordDiagramComponent, decorators: [{
|
|
716
|
-
type: Component,
|
|
717
|
-
args: [{
|
|
718
|
-
selector: 'vis-chord-diagram',
|
|
719
|
-
template: '',
|
|
720
|
-
// eslint-disable-next-line no-use-before-define
|
|
721
|
-
providers: [{ provide: VisCoreComponent, useExisting: VisChordDiagramComponent }],
|
|
722
|
-
}]
|
|
723
|
-
}], propDecorators: { duration: [{
|
|
724
|
-
type: Input
|
|
725
|
-
}], events: [{
|
|
726
|
-
type: Input
|
|
727
|
-
}], attributes: [{
|
|
728
|
-
type: Input
|
|
729
|
-
}], angleRange: [{
|
|
730
|
-
type: Input
|
|
731
|
-
}], cornerRadius: [{
|
|
732
|
-
type: Input
|
|
733
|
-
}], highlightedNodeId: [{
|
|
734
|
-
type: Input
|
|
735
|
-
}], highlightedLinkIds: [{
|
|
736
|
-
type: Input
|
|
737
|
-
}], linkColor: [{
|
|
738
|
-
type: Input
|
|
739
|
-
}], linkValue: [{
|
|
740
|
-
type: Input
|
|
741
|
-
}], nodeLevels: [{
|
|
742
|
-
type: Input
|
|
743
|
-
}], nodeWidth: [{
|
|
744
|
-
type: Input
|
|
745
|
-
}], nodeColor: [{
|
|
746
|
-
type: Input
|
|
747
|
-
}], nodeLabel: [{
|
|
748
|
-
type: Input
|
|
749
|
-
}], nodeLabelColor: [{
|
|
750
|
-
type: Input
|
|
751
|
-
}], nodeLabelAlignment: [{
|
|
752
|
-
type: Input
|
|
753
|
-
}], padAngle: [{
|
|
754
|
-
type: Input
|
|
755
|
-
}], radiusScaleExponent: [{
|
|
756
|
-
type: Input
|
|
757
|
-
}], data: [{
|
|
758
|
-
type: Input
|
|
759
|
-
}] } });
|
|
760
|
-
|
|
761
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
762
|
-
class VisChordDiagramModule {
|
|
763
|
-
}
|
|
764
|
-
VisChordDiagramModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisChordDiagramModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
765
|
-
VisChordDiagramModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisChordDiagramModule, declarations: [VisChordDiagramComponent], exports: [VisChordDiagramComponent] });
|
|
766
|
-
VisChordDiagramModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisChordDiagramModule, imports: [[]] });
|
|
767
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisChordDiagramModule, decorators: [{
|
|
768
|
-
type: NgModule,
|
|
769
|
-
args: [{
|
|
770
|
-
imports: [],
|
|
771
|
-
declarations: [VisChordDiagramComponent],
|
|
772
|
-
exports: [VisChordDiagramComponent],
|
|
773
|
-
}]
|
|
774
|
-
}] });
|
|
775
|
-
|
|
776
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
777
|
-
class VisCrosshairComponent {
|
|
778
|
-
ngAfterViewInit() {
|
|
779
|
-
var _a;
|
|
780
|
-
this.component = new Crosshair(this.getConfig());
|
|
781
|
-
if (this.data) {
|
|
782
|
-
this.component.setData(this.data);
|
|
783
|
-
(_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
|
|
784
|
-
}
|
|
785
|
-
}
|
|
786
|
-
ngOnChanges(changes) {
|
|
787
|
-
var _a, _b, _c;
|
|
788
|
-
if (changes.data) {
|
|
789
|
-
(_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
|
|
790
|
-
}
|
|
791
|
-
(_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
|
|
792
|
-
(_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
|
|
793
|
-
}
|
|
794
|
-
getConfig() {
|
|
795
|
-
const { duration, events, attributes, x, y, id, color, xScale, yScale, excludeFromDomainCalculation, strokeColor, strokeWidth, yStacked, baseline, tooltip, template, hideWhenFarFromPointer, hideWhenFarFromPointerDistance, snapToData, getCircles, onCrosshairMove, forceShowAt, skipRangeCheck } = this;
|
|
796
|
-
const config = { duration, events, attributes, x, y, id, color, xScale, yScale, excludeFromDomainCalculation, strokeColor, strokeWidth, yStacked, baseline, tooltip, template, hideWhenFarFromPointer, hideWhenFarFromPointerDistance, snapToData, getCircles, onCrosshairMove, forceShowAt, skipRangeCheck };
|
|
797
|
-
const keys = Object.keys(config);
|
|
798
|
-
keys.forEach(key => { if (config[key] === undefined)
|
|
799
|
-
delete config[key]; });
|
|
800
|
-
return config;
|
|
801
|
-
}
|
|
802
|
-
}
|
|
803
|
-
VisCrosshairComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisCrosshairComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
804
|
-
VisCrosshairComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisCrosshairComponent, selector: "vis-crosshair", inputs: { duration: "duration", events: "events", attributes: "attributes", x: "x", y: "y", id: "id", color: "color", xScale: "xScale", yScale: "yScale", excludeFromDomainCalculation: "excludeFromDomainCalculation", strokeColor: "strokeColor", strokeWidth: "strokeWidth", yStacked: "yStacked", baseline: "baseline", tooltip: "tooltip", template: "template", hideWhenFarFromPointer: "hideWhenFarFromPointer", hideWhenFarFromPointerDistance: "hideWhenFarFromPointerDistance", snapToData: "snapToData", getCircles: "getCircles", onCrosshairMove: "onCrosshairMove", forceShowAt: "forceShowAt", skipRangeCheck: "skipRangeCheck", data: "data" }, providers: [{ provide: VisXYComponent, useExisting: VisCrosshairComponent }], usesOnChanges: true, ngImport: i0, template: '', isInline: true });
|
|
805
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisCrosshairComponent, decorators: [{
|
|
806
|
-
type: Component,
|
|
807
|
-
args: [{
|
|
808
|
-
selector: 'vis-crosshair',
|
|
809
|
-
template: '',
|
|
810
|
-
// eslint-disable-next-line no-use-before-define
|
|
811
|
-
providers: [{ provide: VisXYComponent, useExisting: VisCrosshairComponent }],
|
|
812
|
-
}]
|
|
813
|
-
}], propDecorators: { duration: [{
|
|
814
|
-
type: Input
|
|
815
|
-
}], events: [{
|
|
816
|
-
type: Input
|
|
817
|
-
}], attributes: [{
|
|
818
|
-
type: Input
|
|
819
|
-
}], x: [{
|
|
820
|
-
type: Input
|
|
821
|
-
}], y: [{
|
|
822
|
-
type: Input
|
|
823
|
-
}], id: [{
|
|
824
|
-
type: Input
|
|
825
|
-
}], color: [{
|
|
826
|
-
type: Input
|
|
827
|
-
}], xScale: [{
|
|
828
|
-
type: Input
|
|
829
|
-
}], yScale: [{
|
|
830
|
-
type: Input
|
|
831
|
-
}], excludeFromDomainCalculation: [{
|
|
832
|
-
type: Input
|
|
833
|
-
}], strokeColor: [{
|
|
834
|
-
type: Input
|
|
835
|
-
}], strokeWidth: [{
|
|
836
|
-
type: Input
|
|
837
|
-
}], yStacked: [{
|
|
838
|
-
type: Input
|
|
839
|
-
}], baseline: [{
|
|
840
|
-
type: Input
|
|
841
|
-
}], tooltip: [{
|
|
842
|
-
type: Input
|
|
843
|
-
}], template: [{
|
|
844
|
-
type: Input
|
|
845
|
-
}], hideWhenFarFromPointer: [{
|
|
846
|
-
type: Input
|
|
847
|
-
}], hideWhenFarFromPointerDistance: [{
|
|
848
|
-
type: Input
|
|
849
|
-
}], snapToData: [{
|
|
850
|
-
type: Input
|
|
851
|
-
}], getCircles: [{
|
|
852
|
-
type: Input
|
|
853
|
-
}], onCrosshairMove: [{
|
|
854
|
-
type: Input
|
|
855
|
-
}], forceShowAt: [{
|
|
856
|
-
type: Input
|
|
857
|
-
}], skipRangeCheck: [{
|
|
858
|
-
type: Input
|
|
859
|
-
}], data: [{
|
|
860
|
-
type: Input
|
|
861
|
-
}] } });
|
|
862
|
-
|
|
863
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
864
|
-
class VisCrosshairModule {
|
|
865
|
-
}
|
|
866
|
-
VisCrosshairModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisCrosshairModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
867
|
-
VisCrosshairModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisCrosshairModule, declarations: [VisCrosshairComponent], exports: [VisCrosshairComponent] });
|
|
868
|
-
VisCrosshairModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisCrosshairModule, imports: [[]] });
|
|
869
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisCrosshairModule, decorators: [{
|
|
870
|
-
type: NgModule,
|
|
871
|
-
args: [{
|
|
872
|
-
imports: [],
|
|
873
|
-
declarations: [VisCrosshairComponent],
|
|
874
|
-
exports: [VisCrosshairComponent],
|
|
875
|
-
}]
|
|
876
|
-
}] });
|
|
877
|
-
|
|
878
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
879
|
-
class VisDonutComponent {
|
|
880
|
-
ngAfterViewInit() {
|
|
881
|
-
var _a;
|
|
882
|
-
this.component = new Donut(this.getConfig());
|
|
883
|
-
if (this.data) {
|
|
884
|
-
this.component.setData(this.data);
|
|
885
|
-
(_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
|
|
886
|
-
}
|
|
887
|
-
}
|
|
888
|
-
ngOnChanges(changes) {
|
|
889
|
-
var _a, _b, _c;
|
|
890
|
-
if (changes.data) {
|
|
891
|
-
(_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
|
|
892
|
-
}
|
|
893
|
-
(_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
|
|
894
|
-
(_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
|
|
895
|
-
}
|
|
896
|
-
getConfig() {
|
|
897
|
-
const { duration, events, attributes, id, value, angleRange, padAngle, sortFunction, cornerRadius, color, radius, arcWidth, centralLabel, centralSubLabel, centralSubLabelWrap, showEmptySegments, emptySegmentAngle, showBackground, backgroundAngleRange, centralLabelOffsetX, centralLabelOffsetY } = this;
|
|
898
|
-
const config = { duration, events, attributes, id, value, angleRange, padAngle, sortFunction, cornerRadius, color, radius, arcWidth, centralLabel, centralSubLabel, centralSubLabelWrap, showEmptySegments, emptySegmentAngle, showBackground, backgroundAngleRange, centralLabelOffsetX, centralLabelOffsetY };
|
|
899
|
-
const keys = Object.keys(config);
|
|
900
|
-
keys.forEach(key => { if (config[key] === undefined)
|
|
901
|
-
delete config[key]; });
|
|
902
|
-
return config;
|
|
903
|
-
}
|
|
904
|
-
}
|
|
905
|
-
VisDonutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisDonutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
906
|
-
VisDonutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisDonutComponent, selector: "vis-donut", inputs: { duration: "duration", events: "events", attributes: "attributes", id: "id", value: "value", angleRange: "angleRange", padAngle: "padAngle", sortFunction: "sortFunction", cornerRadius: "cornerRadius", color: "color", radius: "radius", arcWidth: "arcWidth", centralLabel: "centralLabel", centralSubLabel: "centralSubLabel", centralSubLabelWrap: "centralSubLabelWrap", showEmptySegments: "showEmptySegments", emptySegmentAngle: "emptySegmentAngle", showBackground: "showBackground", backgroundAngleRange: "backgroundAngleRange", centralLabelOffsetX: "centralLabelOffsetX", centralLabelOffsetY: "centralLabelOffsetY", data: "data" }, providers: [{ provide: VisCoreComponent, useExisting: VisDonutComponent }], usesOnChanges: true, ngImport: i0, template: '', isInline: true });
|
|
907
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisDonutComponent, decorators: [{
|
|
908
|
-
type: Component,
|
|
909
|
-
args: [{
|
|
910
|
-
selector: 'vis-donut',
|
|
911
|
-
template: '',
|
|
912
|
-
// eslint-disable-next-line no-use-before-define
|
|
913
|
-
providers: [{ provide: VisCoreComponent, useExisting: VisDonutComponent }],
|
|
914
|
-
}]
|
|
915
|
-
}], propDecorators: { duration: [{
|
|
916
|
-
type: Input
|
|
917
|
-
}], events: [{
|
|
918
|
-
type: Input
|
|
919
|
-
}], attributes: [{
|
|
920
|
-
type: Input
|
|
921
|
-
}], id: [{
|
|
922
|
-
type: Input
|
|
923
|
-
}], value: [{
|
|
924
|
-
type: Input
|
|
925
|
-
}], angleRange: [{
|
|
926
|
-
type: Input
|
|
927
|
-
}], padAngle: [{
|
|
928
|
-
type: Input
|
|
929
|
-
}], sortFunction: [{
|
|
930
|
-
type: Input
|
|
931
|
-
}], cornerRadius: [{
|
|
932
|
-
type: Input
|
|
933
|
-
}], color: [{
|
|
934
|
-
type: Input
|
|
935
|
-
}], radius: [{
|
|
936
|
-
type: Input
|
|
937
|
-
}], arcWidth: [{
|
|
938
|
-
type: Input
|
|
939
|
-
}], centralLabel: [{
|
|
940
|
-
type: Input
|
|
941
|
-
}], centralSubLabel: [{
|
|
942
|
-
type: Input
|
|
943
|
-
}], centralSubLabelWrap: [{
|
|
944
|
-
type: Input
|
|
945
|
-
}], showEmptySegments: [{
|
|
946
|
-
type: Input
|
|
947
|
-
}], emptySegmentAngle: [{
|
|
948
|
-
type: Input
|
|
949
|
-
}], showBackground: [{
|
|
950
|
-
type: Input
|
|
951
|
-
}], backgroundAngleRange: [{
|
|
952
|
-
type: Input
|
|
953
|
-
}], centralLabelOffsetX: [{
|
|
954
|
-
type: Input
|
|
955
|
-
}], centralLabelOffsetY: [{
|
|
956
|
-
type: Input
|
|
957
|
-
}], data: [{
|
|
958
|
-
type: Input
|
|
959
|
-
}] } });
|
|
960
|
-
|
|
961
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
962
|
-
class VisDonutModule {
|
|
963
|
-
}
|
|
964
|
-
VisDonutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisDonutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
965
|
-
VisDonutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisDonutModule, declarations: [VisDonutComponent], exports: [VisDonutComponent] });
|
|
966
|
-
VisDonutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisDonutModule, imports: [[]] });
|
|
967
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisDonutModule, decorators: [{
|
|
968
|
-
type: NgModule,
|
|
969
|
-
args: [{
|
|
970
|
-
imports: [],
|
|
971
|
-
declarations: [VisDonutComponent],
|
|
972
|
-
exports: [VisDonutComponent],
|
|
973
|
-
}]
|
|
974
|
-
}] });
|
|
975
|
-
|
|
976
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
977
|
-
class VisFreeBrushComponent {
|
|
978
|
-
ngAfterViewInit() {
|
|
979
|
-
var _a;
|
|
980
|
-
this.component = new FreeBrush(this.getConfig());
|
|
981
|
-
if (this.data) {
|
|
982
|
-
this.component.setData(this.data);
|
|
983
|
-
(_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
|
|
984
|
-
}
|
|
985
|
-
}
|
|
986
|
-
ngOnChanges(changes) {
|
|
987
|
-
var _a, _b, _c;
|
|
988
|
-
if (changes.data) {
|
|
989
|
-
(_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
|
|
990
|
-
}
|
|
991
|
-
(_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
|
|
992
|
-
(_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
|
|
993
|
-
}
|
|
994
|
-
getConfig() {
|
|
995
|
-
const { duration, events, attributes, mode, onBrush, onBrushStart, onBrushMove, onBrushEnd, handleWidth, selection, selectionMinLength, autoHide } = this;
|
|
996
|
-
const config = { duration, events, attributes, mode, onBrush, onBrushStart, onBrushMove, onBrushEnd, handleWidth, selection, selectionMinLength, autoHide };
|
|
997
|
-
const keys = Object.keys(config);
|
|
998
|
-
keys.forEach(key => { if (config[key] === undefined)
|
|
999
|
-
delete config[key]; });
|
|
1000
|
-
return config;
|
|
1001
|
-
}
|
|
1002
|
-
}
|
|
1003
|
-
VisFreeBrushComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisFreeBrushComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1004
|
-
VisFreeBrushComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisFreeBrushComponent, selector: "vis-free-brush", inputs: { duration: "duration", events: "events", attributes: "attributes", mode: "mode", onBrush: "onBrush", onBrushStart: "onBrushStart", onBrushMove: "onBrushMove", onBrushEnd: "onBrushEnd", handleWidth: "handleWidth", selection: "selection", selectionMinLength: "selectionMinLength", autoHide: "autoHide", data: "data" }, providers: [{ provide: VisXYComponent, useExisting: VisFreeBrushComponent }], usesOnChanges: true, ngImport: i0, template: '', isInline: true });
|
|
1005
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisFreeBrushComponent, decorators: [{
|
|
1006
|
-
type: Component,
|
|
1007
|
-
args: [{
|
|
1008
|
-
selector: 'vis-free-brush',
|
|
1009
|
-
template: '',
|
|
1010
|
-
// eslint-disable-next-line no-use-before-define
|
|
1011
|
-
providers: [{ provide: VisXYComponent, useExisting: VisFreeBrushComponent }],
|
|
1012
|
-
}]
|
|
1013
|
-
}], propDecorators: { duration: [{
|
|
1014
|
-
type: Input
|
|
1015
|
-
}], events: [{
|
|
1016
|
-
type: Input
|
|
1017
|
-
}], attributes: [{
|
|
1018
|
-
type: Input
|
|
1019
|
-
}], mode: [{
|
|
1020
|
-
type: Input
|
|
1021
|
-
}], onBrush: [{
|
|
1022
|
-
type: Input
|
|
1023
|
-
}], onBrushStart: [{
|
|
1024
|
-
type: Input
|
|
1025
|
-
}], onBrushMove: [{
|
|
1026
|
-
type: Input
|
|
1027
|
-
}], onBrushEnd: [{
|
|
1028
|
-
type: Input
|
|
1029
|
-
}], handleWidth: [{
|
|
1030
|
-
type: Input
|
|
1031
|
-
}], selection: [{
|
|
1032
|
-
type: Input
|
|
1033
|
-
}], selectionMinLength: [{
|
|
1034
|
-
type: Input
|
|
1035
|
-
}], autoHide: [{
|
|
1036
|
-
type: Input
|
|
1037
|
-
}], data: [{
|
|
1038
|
-
type: Input
|
|
1039
|
-
}] } });
|
|
1040
|
-
|
|
1041
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
1042
|
-
class VisFreeBrushModule {
|
|
1043
|
-
}
|
|
1044
|
-
VisFreeBrushModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisFreeBrushModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1045
|
-
VisFreeBrushModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisFreeBrushModule, declarations: [VisFreeBrushComponent], exports: [VisFreeBrushComponent] });
|
|
1046
|
-
VisFreeBrushModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisFreeBrushModule, imports: [[]] });
|
|
1047
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisFreeBrushModule, decorators: [{
|
|
1048
|
-
type: NgModule,
|
|
1049
|
-
args: [{
|
|
1050
|
-
imports: [],
|
|
1051
|
-
declarations: [VisFreeBrushComponent],
|
|
1052
|
-
exports: [VisFreeBrushComponent],
|
|
1053
|
-
}]
|
|
1054
|
-
}] });
|
|
1055
|
-
|
|
1056
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
1057
|
-
class VisGraphComponent {
|
|
1058
|
-
ngAfterViewInit() {
|
|
1059
|
-
var _a;
|
|
1060
|
-
this.component = new Graph(this.getConfig());
|
|
1061
|
-
if (this.data) {
|
|
1062
|
-
this.component.setData(this.data);
|
|
1063
|
-
(_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
|
|
1064
|
-
}
|
|
1065
|
-
}
|
|
1066
|
-
ngOnChanges(changes) {
|
|
1067
|
-
var _a, _b, _c;
|
|
1068
|
-
if (changes.data) {
|
|
1069
|
-
(_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
|
|
1070
|
-
}
|
|
1071
|
-
(_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
|
|
1072
|
-
(_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
|
|
1073
|
-
}
|
|
1074
|
-
getConfig() {
|
|
1075
|
-
const { duration, events, attributes, zoomScaleExtent, disableZoom, zoomEventFilter, disableDrag, disableBrush, zoomThrottledUpdateNodeThreshold, fitViewPadding, fitViewAlign, layoutType, layoutAutofit, layoutAutofitTolerance, layoutNonConnectedAside, layoutNodeGroup, layoutGroupOrder, layoutParallelNodesPerColumn, layoutParallelNodeSubGroup, layoutParallelSubGroupsPerRow, layoutParallelNodeSpacing, layoutParallelSubGroupSpacing, layoutParallelGroupSpacing, layoutParallelSortConnectionsByGroup, forceLayoutSettings, dagreLayoutSettings, layoutElkSettings, layoutElkNodeGroups, layoutElkGetNodeShape, linkWidth, linkStyle, linkBandWidth, linkArrow, linkStroke, linkDisabled, linkFlow, linkFlowAnimDuration, linkFlowParticleSize, linkFlowParticleSpeed, linkLabel, linkLabelShiftFromCenter, linkNeighborSpacing, linkCurvature, linkHighlightOnHover, linkSourcePointOffset, linkTargetPointOffset, selectedLinkId, nodeSize, nodeStrokeWidth, nodeShape, nodeGaugeValue, nodeGaugeFill, nodeGaugeAnimDuration, nodeIcon, nodeIconSize, nodeLabel, nodeLabelTrim, nodeLabelTrimMode, nodeLabelTrimLength, nodeSubLabel, nodeSubLabelTrim, nodeSubLabelTrimMode, nodeSubLabelTrimLength, nodeSideLabels, nodeBottomIcon, nodeDisabled, nodeFill, nodeStroke, nodeSort, nodeEnterPosition, nodeEnterScale, nodeExitPosition, nodeExitScale, nodeEnterCustomRenderFunction, nodeUpdateCustomRenderFunction, nodePartialUpdateCustomRenderFunction, nodeExitCustomRenderFunction, nodeOnZoomCustomRenderFunction, nodeSelectionHighlightMode, selectedNodeId, selectedNodeIds, panels, onNodeDragStart, onNodeDrag, onNodeDragEnd, onZoom, onZoomStart, onZoomEnd, onLayoutCalculated, onNodeSelectionBrush, onNodeSelectionDrag, onRenderComplete, shouldDataUpdate } = this;
|
|
1076
|
-
const config = { duration, events, attributes, zoomScaleExtent, disableZoom, zoomEventFilter, disableDrag, disableBrush, zoomThrottledUpdateNodeThreshold, fitViewPadding, fitViewAlign, layoutType, layoutAutofit, layoutAutofitTolerance, layoutNonConnectedAside, layoutNodeGroup, layoutGroupOrder, layoutParallelNodesPerColumn, layoutParallelNodeSubGroup, layoutParallelSubGroupsPerRow, layoutParallelNodeSpacing, layoutParallelSubGroupSpacing, layoutParallelGroupSpacing, layoutParallelSortConnectionsByGroup, forceLayoutSettings, dagreLayoutSettings, layoutElkSettings, layoutElkNodeGroups, layoutElkGetNodeShape, linkWidth, linkStyle, linkBandWidth, linkArrow, linkStroke, linkDisabled, linkFlow, linkFlowAnimDuration, linkFlowParticleSize, linkFlowParticleSpeed, linkLabel, linkLabelShiftFromCenter, linkNeighborSpacing, linkCurvature, linkHighlightOnHover, linkSourcePointOffset, linkTargetPointOffset, selectedLinkId, nodeSize, nodeStrokeWidth, nodeShape, nodeGaugeValue, nodeGaugeFill, nodeGaugeAnimDuration, nodeIcon, nodeIconSize, nodeLabel, nodeLabelTrim, nodeLabelTrimMode, nodeLabelTrimLength, nodeSubLabel, nodeSubLabelTrim, nodeSubLabelTrimMode, nodeSubLabelTrimLength, nodeSideLabels, nodeBottomIcon, nodeDisabled, nodeFill, nodeStroke, nodeSort, nodeEnterPosition, nodeEnterScale, nodeExitPosition, nodeExitScale, nodeEnterCustomRenderFunction, nodeUpdateCustomRenderFunction, nodePartialUpdateCustomRenderFunction, nodeExitCustomRenderFunction, nodeOnZoomCustomRenderFunction, nodeSelectionHighlightMode, selectedNodeId, selectedNodeIds, panels, onNodeDragStart, onNodeDrag, onNodeDragEnd, onZoom, onZoomStart, onZoomEnd, onLayoutCalculated, onNodeSelectionBrush, onNodeSelectionDrag, onRenderComplete, shouldDataUpdate };
|
|
1077
|
-
const keys = Object.keys(config);
|
|
1078
|
-
keys.forEach(key => { if (config[key] === undefined)
|
|
1079
|
-
delete config[key]; });
|
|
1080
|
-
return config;
|
|
1081
|
-
}
|
|
1082
|
-
}
|
|
1083
|
-
VisGraphComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisGraphComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1084
|
-
VisGraphComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisGraphComponent, selector: "vis-graph", inputs: { duration: "duration", events: "events", attributes: "attributes", zoomScaleExtent: "zoomScaleExtent", disableZoom: "disableZoom", zoomEventFilter: "zoomEventFilter", disableDrag: "disableDrag", disableBrush: "disableBrush", zoomThrottledUpdateNodeThreshold: "zoomThrottledUpdateNodeThreshold", fitViewPadding: "fitViewPadding", fitViewAlign: "fitViewAlign", layoutType: "layoutType", layoutAutofit: "layoutAutofit", layoutAutofitTolerance: "layoutAutofitTolerance", layoutNonConnectedAside: "layoutNonConnectedAside", layoutNodeGroup: "layoutNodeGroup", layoutGroupOrder: "layoutGroupOrder", layoutParallelNodesPerColumn: "layoutParallelNodesPerColumn", layoutParallelNodeSubGroup: "layoutParallelNodeSubGroup", layoutParallelSubGroupsPerRow: "layoutParallelSubGroupsPerRow", layoutParallelNodeSpacing: "layoutParallelNodeSpacing", layoutParallelSubGroupSpacing: "layoutParallelSubGroupSpacing", layoutParallelGroupSpacing: "layoutParallelGroupSpacing", layoutParallelSortConnectionsByGroup: "layoutParallelSortConnectionsByGroup", forceLayoutSettings: "forceLayoutSettings", dagreLayoutSettings: "dagreLayoutSettings", layoutElkSettings: "layoutElkSettings", layoutElkNodeGroups: "layoutElkNodeGroups", layoutElkGetNodeShape: "layoutElkGetNodeShape", linkWidth: "linkWidth", linkStyle: "linkStyle", linkBandWidth: "linkBandWidth", linkArrow: "linkArrow", linkStroke: "linkStroke", linkDisabled: "linkDisabled", linkFlow: "linkFlow", linkFlowAnimDuration: "linkFlowAnimDuration", linkFlowParticleSize: "linkFlowParticleSize", linkFlowParticleSpeed: "linkFlowParticleSpeed", linkLabel: "linkLabel", linkLabelShiftFromCenter: "linkLabelShiftFromCenter", linkNeighborSpacing: "linkNeighborSpacing", linkCurvature: "linkCurvature", linkHighlightOnHover: "linkHighlightOnHover", linkSourcePointOffset: "linkSourcePointOffset", linkTargetPointOffset: "linkTargetPointOffset", selectedLinkId: "selectedLinkId", nodeSize: "nodeSize", nodeStrokeWidth: "nodeStrokeWidth", nodeShape: "nodeShape", nodeGaugeValue: "nodeGaugeValue", nodeGaugeFill: "nodeGaugeFill", nodeGaugeAnimDuration: "nodeGaugeAnimDuration", nodeIcon: "nodeIcon", nodeIconSize: "nodeIconSize", nodeLabel: "nodeLabel", nodeLabelTrim: "nodeLabelTrim", nodeLabelTrimMode: "nodeLabelTrimMode", nodeLabelTrimLength: "nodeLabelTrimLength", nodeSubLabel: "nodeSubLabel", nodeSubLabelTrim: "nodeSubLabelTrim", nodeSubLabelTrimMode: "nodeSubLabelTrimMode", nodeSubLabelTrimLength: "nodeSubLabelTrimLength", nodeSideLabels: "nodeSideLabels", nodeBottomIcon: "nodeBottomIcon", nodeDisabled: "nodeDisabled", nodeFill: "nodeFill", nodeStroke: "nodeStroke", nodeSort: "nodeSort", nodeEnterPosition: "nodeEnterPosition", nodeEnterScale: "nodeEnterScale", nodeExitPosition: "nodeExitPosition", nodeExitScale: "nodeExitScale", nodeEnterCustomRenderFunction: "nodeEnterCustomRenderFunction", nodeUpdateCustomRenderFunction: "nodeUpdateCustomRenderFunction", nodePartialUpdateCustomRenderFunction: "nodePartialUpdateCustomRenderFunction", nodeExitCustomRenderFunction: "nodeExitCustomRenderFunction", nodeOnZoomCustomRenderFunction: "nodeOnZoomCustomRenderFunction", nodeSelectionHighlightMode: "nodeSelectionHighlightMode", selectedNodeId: "selectedNodeId", selectedNodeIds: "selectedNodeIds", panels: "panels", onNodeDragStart: "onNodeDragStart", onNodeDrag: "onNodeDrag", onNodeDragEnd: "onNodeDragEnd", onZoom: "onZoom", onZoomStart: "onZoomStart", onZoomEnd: "onZoomEnd", onLayoutCalculated: "onLayoutCalculated", onNodeSelectionBrush: "onNodeSelectionBrush", onNodeSelectionDrag: "onNodeSelectionDrag", onRenderComplete: "onRenderComplete", shouldDataUpdate: "shouldDataUpdate", data: "data" }, providers: [{ provide: VisCoreComponent, useExisting: VisGraphComponent }], usesOnChanges: true, ngImport: i0, template: '', isInline: true });
|
|
1085
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisGraphComponent, decorators: [{
|
|
1086
|
-
type: Component,
|
|
1087
|
-
args: [{
|
|
1088
|
-
selector: 'vis-graph',
|
|
1089
|
-
template: '',
|
|
1090
|
-
// eslint-disable-next-line no-use-before-define
|
|
1091
|
-
providers: [{ provide: VisCoreComponent, useExisting: VisGraphComponent }],
|
|
1092
|
-
}]
|
|
1093
|
-
}], propDecorators: { duration: [{
|
|
1094
|
-
type: Input
|
|
1095
|
-
}], events: [{
|
|
1096
|
-
type: Input
|
|
1097
|
-
}], attributes: [{
|
|
1098
|
-
type: Input
|
|
1099
|
-
}], zoomScaleExtent: [{
|
|
1100
|
-
type: Input
|
|
1101
|
-
}], disableZoom: [{
|
|
1102
|
-
type: Input
|
|
1103
|
-
}], zoomEventFilter: [{
|
|
1104
|
-
type: Input
|
|
1105
|
-
}], disableDrag: [{
|
|
1106
|
-
type: Input
|
|
1107
|
-
}], disableBrush: [{
|
|
1108
|
-
type: Input
|
|
1109
|
-
}], zoomThrottledUpdateNodeThreshold: [{
|
|
1110
|
-
type: Input
|
|
1111
|
-
}], fitViewPadding: [{
|
|
1112
|
-
type: Input
|
|
1113
|
-
}], fitViewAlign: [{
|
|
1114
|
-
type: Input
|
|
1115
|
-
}], layoutType: [{
|
|
1116
|
-
type: Input
|
|
1117
|
-
}], layoutAutofit: [{
|
|
1118
|
-
type: Input
|
|
1119
|
-
}], layoutAutofitTolerance: [{
|
|
1120
|
-
type: Input
|
|
1121
|
-
}], layoutNonConnectedAside: [{
|
|
1122
|
-
type: Input
|
|
1123
|
-
}], layoutNodeGroup: [{
|
|
1124
|
-
type: Input
|
|
1125
|
-
}], layoutGroupOrder: [{
|
|
1126
|
-
type: Input
|
|
1127
|
-
}], layoutParallelNodesPerColumn: [{
|
|
1128
|
-
type: Input
|
|
1129
|
-
}], layoutParallelNodeSubGroup: [{
|
|
1130
|
-
type: Input
|
|
1131
|
-
}], layoutParallelSubGroupsPerRow: [{
|
|
1132
|
-
type: Input
|
|
1133
|
-
}], layoutParallelNodeSpacing: [{
|
|
1134
|
-
type: Input
|
|
1135
|
-
}], layoutParallelSubGroupSpacing: [{
|
|
1136
|
-
type: Input
|
|
1137
|
-
}], layoutParallelGroupSpacing: [{
|
|
1138
|
-
type: Input
|
|
1139
|
-
}], layoutParallelSortConnectionsByGroup: [{
|
|
1140
|
-
type: Input
|
|
1141
|
-
}], forceLayoutSettings: [{
|
|
1142
|
-
type: Input
|
|
1143
|
-
}], dagreLayoutSettings: [{
|
|
1144
|
-
type: Input
|
|
1145
|
-
}], layoutElkSettings: [{
|
|
1146
|
-
type: Input
|
|
1147
|
-
}], layoutElkNodeGroups: [{
|
|
1148
|
-
type: Input
|
|
1149
|
-
}], layoutElkGetNodeShape: [{
|
|
1150
|
-
type: Input
|
|
1151
|
-
}], linkWidth: [{
|
|
1152
|
-
type: Input
|
|
1153
|
-
}], linkStyle: [{
|
|
1154
|
-
type: Input
|
|
1155
|
-
}], linkBandWidth: [{
|
|
1156
|
-
type: Input
|
|
1157
|
-
}], linkArrow: [{
|
|
1158
|
-
type: Input
|
|
1159
|
-
}], linkStroke: [{
|
|
1160
|
-
type: Input
|
|
1161
|
-
}], linkDisabled: [{
|
|
1162
|
-
type: Input
|
|
1163
|
-
}], linkFlow: [{
|
|
1164
|
-
type: Input
|
|
1165
|
-
}], linkFlowAnimDuration: [{
|
|
1166
|
-
type: Input
|
|
1167
|
-
}], linkFlowParticleSize: [{
|
|
1168
|
-
type: Input
|
|
1169
|
-
}], linkFlowParticleSpeed: [{
|
|
1170
|
-
type: Input
|
|
1171
|
-
}], linkLabel: [{
|
|
1172
|
-
type: Input
|
|
1173
|
-
}], linkLabelShiftFromCenter: [{
|
|
1174
|
-
type: Input
|
|
1175
|
-
}], linkNeighborSpacing: [{
|
|
1176
|
-
type: Input
|
|
1177
|
-
}], linkCurvature: [{
|
|
1178
|
-
type: Input
|
|
1179
|
-
}], linkHighlightOnHover: [{
|
|
1180
|
-
type: Input
|
|
1181
|
-
}], linkSourcePointOffset: [{
|
|
1182
|
-
type: Input
|
|
1183
|
-
}], linkTargetPointOffset: [{
|
|
1184
|
-
type: Input
|
|
1185
|
-
}], selectedLinkId: [{
|
|
1186
|
-
type: Input
|
|
1187
|
-
}], nodeSize: [{
|
|
1188
|
-
type: Input
|
|
1189
|
-
}], nodeStrokeWidth: [{
|
|
1190
|
-
type: Input
|
|
1191
|
-
}], nodeShape: [{
|
|
1192
|
-
type: Input
|
|
1193
|
-
}], nodeGaugeValue: [{
|
|
1194
|
-
type: Input
|
|
1195
|
-
}], nodeGaugeFill: [{
|
|
1196
|
-
type: Input
|
|
1197
|
-
}], nodeGaugeAnimDuration: [{
|
|
1198
|
-
type: Input
|
|
1199
|
-
}], nodeIcon: [{
|
|
1200
|
-
type: Input
|
|
1201
|
-
}], nodeIconSize: [{
|
|
1202
|
-
type: Input
|
|
1203
|
-
}], nodeLabel: [{
|
|
1204
|
-
type: Input
|
|
1205
|
-
}], nodeLabelTrim: [{
|
|
1206
|
-
type: Input
|
|
1207
|
-
}], nodeLabelTrimMode: [{
|
|
1208
|
-
type: Input
|
|
1209
|
-
}], nodeLabelTrimLength: [{
|
|
1210
|
-
type: Input
|
|
1211
|
-
}], nodeSubLabel: [{
|
|
1212
|
-
type: Input
|
|
1213
|
-
}], nodeSubLabelTrim: [{
|
|
1214
|
-
type: Input
|
|
1215
|
-
}], nodeSubLabelTrimMode: [{
|
|
1216
|
-
type: Input
|
|
1217
|
-
}], nodeSubLabelTrimLength: [{
|
|
1218
|
-
type: Input
|
|
1219
|
-
}], nodeSideLabels: [{
|
|
1220
|
-
type: Input
|
|
1221
|
-
}], nodeBottomIcon: [{
|
|
1222
|
-
type: Input
|
|
1223
|
-
}], nodeDisabled: [{
|
|
1224
|
-
type: Input
|
|
1225
|
-
}], nodeFill: [{
|
|
1226
|
-
type: Input
|
|
1227
|
-
}], nodeStroke: [{
|
|
1228
|
-
type: Input
|
|
1229
|
-
}], nodeSort: [{
|
|
1230
|
-
type: Input
|
|
1231
|
-
}], nodeEnterPosition: [{
|
|
1232
|
-
type: Input
|
|
1233
|
-
}], nodeEnterScale: [{
|
|
1234
|
-
type: Input
|
|
1235
|
-
}], nodeExitPosition: [{
|
|
1236
|
-
type: Input
|
|
1237
|
-
}], nodeExitScale: [{
|
|
1238
|
-
type: Input
|
|
1239
|
-
}], nodeEnterCustomRenderFunction: [{
|
|
1240
|
-
type: Input
|
|
1241
|
-
}], nodeUpdateCustomRenderFunction: [{
|
|
1242
|
-
type: Input
|
|
1243
|
-
}], nodePartialUpdateCustomRenderFunction: [{
|
|
1244
|
-
type: Input
|
|
1245
|
-
}], nodeExitCustomRenderFunction: [{
|
|
1246
|
-
type: Input
|
|
1247
|
-
}], nodeOnZoomCustomRenderFunction: [{
|
|
1248
|
-
type: Input
|
|
1249
|
-
}], nodeSelectionHighlightMode: [{
|
|
1250
|
-
type: Input
|
|
1251
|
-
}], selectedNodeId: [{
|
|
1252
|
-
type: Input
|
|
1253
|
-
}], selectedNodeIds: [{
|
|
1254
|
-
type: Input
|
|
1255
|
-
}], panels: [{
|
|
1256
|
-
type: Input
|
|
1257
|
-
}], onNodeDragStart: [{
|
|
1258
|
-
type: Input
|
|
1259
|
-
}], onNodeDrag: [{
|
|
1260
|
-
type: Input
|
|
1261
|
-
}], onNodeDragEnd: [{
|
|
1262
|
-
type: Input
|
|
1263
|
-
}], onZoom: [{
|
|
1264
|
-
type: Input
|
|
1265
|
-
}], onZoomStart: [{
|
|
1266
|
-
type: Input
|
|
1267
|
-
}], onZoomEnd: [{
|
|
1268
|
-
type: Input
|
|
1269
|
-
}], onLayoutCalculated: [{
|
|
1270
|
-
type: Input
|
|
1271
|
-
}], onNodeSelectionBrush: [{
|
|
1272
|
-
type: Input
|
|
1273
|
-
}], onNodeSelectionDrag: [{
|
|
1274
|
-
type: Input
|
|
1275
|
-
}], onRenderComplete: [{
|
|
1276
|
-
type: Input
|
|
1277
|
-
}], shouldDataUpdate: [{
|
|
1278
|
-
type: Input
|
|
1279
|
-
}], data: [{
|
|
1280
|
-
type: Input
|
|
1281
|
-
}] } });
|
|
1282
|
-
|
|
1283
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
1284
|
-
class VisGraphModule {
|
|
1285
|
-
}
|
|
1286
|
-
VisGraphModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisGraphModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1287
|
-
VisGraphModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisGraphModule, declarations: [VisGraphComponent], exports: [VisGraphComponent] });
|
|
1288
|
-
VisGraphModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisGraphModule, imports: [[]] });
|
|
1289
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisGraphModule, decorators: [{
|
|
1290
|
-
type: NgModule,
|
|
1291
|
-
args: [{
|
|
1292
|
-
imports: [],
|
|
1293
|
-
declarations: [VisGraphComponent],
|
|
1294
|
-
exports: [VisGraphComponent],
|
|
1295
|
-
}]
|
|
1296
|
-
}] });
|
|
1297
|
-
|
|
1298
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
1299
|
-
class VisGroupedBarComponent {
|
|
1300
|
-
ngAfterViewInit() {
|
|
1301
|
-
var _a;
|
|
1302
|
-
this.component = new GroupedBar(this.getConfig());
|
|
1303
|
-
if (this.data) {
|
|
1304
|
-
this.component.setData(this.data);
|
|
1305
|
-
(_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
|
|
1306
|
-
}
|
|
1307
|
-
}
|
|
1308
|
-
ngOnChanges(changes) {
|
|
1309
|
-
var _a, _b, _c;
|
|
1310
|
-
if (changes.data) {
|
|
1311
|
-
(_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
|
|
1312
|
-
}
|
|
1313
|
-
(_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
|
|
1314
|
-
(_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
|
|
1315
|
-
}
|
|
1316
|
-
getConfig() {
|
|
1317
|
-
const { duration, events, attributes, x, y, id, color, xScale, yScale, excludeFromDomainCalculation, groupWidth, groupMaxWidth, dataStep, groupPadding, barPadding, roundedCorners, barMinHeight, cursor, orientation } = this;
|
|
1318
|
-
const config = { duration, events, attributes, x, y, id, color, xScale, yScale, excludeFromDomainCalculation, groupWidth, groupMaxWidth, dataStep, groupPadding, barPadding, roundedCorners, barMinHeight, cursor, orientation };
|
|
1319
|
-
const keys = Object.keys(config);
|
|
1320
|
-
keys.forEach(key => { if (config[key] === undefined)
|
|
1321
|
-
delete config[key]; });
|
|
1322
|
-
return config;
|
|
1323
|
-
}
|
|
1324
|
-
}
|
|
1325
|
-
VisGroupedBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisGroupedBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1326
|
-
VisGroupedBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisGroupedBarComponent, selector: "vis-grouped-bar", inputs: { duration: "duration", events: "events", attributes: "attributes", x: "x", y: "y", id: "id", color: "color", xScale: "xScale", yScale: "yScale", excludeFromDomainCalculation: "excludeFromDomainCalculation", groupWidth: "groupWidth", groupMaxWidth: "groupMaxWidth", dataStep: "dataStep", groupPadding: "groupPadding", barPadding: "barPadding", roundedCorners: "roundedCorners", barMinHeight: "barMinHeight", cursor: "cursor", orientation: "orientation", data: "data" }, providers: [{ provide: VisXYComponent, useExisting: VisGroupedBarComponent }], usesOnChanges: true, ngImport: i0, template: '', isInline: true });
|
|
1327
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisGroupedBarComponent, decorators: [{
|
|
1328
|
-
type: Component,
|
|
1329
|
-
args: [{
|
|
1330
|
-
selector: 'vis-grouped-bar',
|
|
1331
|
-
template: '',
|
|
1332
|
-
// eslint-disable-next-line no-use-before-define
|
|
1333
|
-
providers: [{ provide: VisXYComponent, useExisting: VisGroupedBarComponent }],
|
|
1334
|
-
}]
|
|
1335
|
-
}], propDecorators: { duration: [{
|
|
1336
|
-
type: Input
|
|
1337
|
-
}], events: [{
|
|
1338
|
-
type: Input
|
|
1339
|
-
}], attributes: [{
|
|
1340
|
-
type: Input
|
|
1341
|
-
}], x: [{
|
|
1342
|
-
type: Input
|
|
1343
|
-
}], y: [{
|
|
1344
|
-
type: Input
|
|
1345
|
-
}], id: [{
|
|
1346
|
-
type: Input
|
|
1347
|
-
}], color: [{
|
|
1348
|
-
type: Input
|
|
1349
|
-
}], xScale: [{
|
|
1350
|
-
type: Input
|
|
1351
|
-
}], yScale: [{
|
|
1352
|
-
type: Input
|
|
1353
|
-
}], excludeFromDomainCalculation: [{
|
|
1354
|
-
type: Input
|
|
1355
|
-
}], groupWidth: [{
|
|
1356
|
-
type: Input
|
|
1357
|
-
}], groupMaxWidth: [{
|
|
1358
|
-
type: Input
|
|
1359
|
-
}], dataStep: [{
|
|
1360
|
-
type: Input
|
|
1361
|
-
}], groupPadding: [{
|
|
1362
|
-
type: Input
|
|
1363
|
-
}], barPadding: [{
|
|
1364
|
-
type: Input
|
|
1365
|
-
}], roundedCorners: [{
|
|
1366
|
-
type: Input
|
|
1367
|
-
}], barMinHeight: [{
|
|
1368
|
-
type: Input
|
|
1369
|
-
}], cursor: [{
|
|
1370
|
-
type: Input
|
|
1371
|
-
}], orientation: [{
|
|
1372
|
-
type: Input
|
|
1373
|
-
}], data: [{
|
|
1374
|
-
type: Input
|
|
1375
|
-
}] } });
|
|
1376
|
-
|
|
1377
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
1378
|
-
class VisGroupedBarModule {
|
|
1379
|
-
}
|
|
1380
|
-
VisGroupedBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisGroupedBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1381
|
-
VisGroupedBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisGroupedBarModule, declarations: [VisGroupedBarComponent], exports: [VisGroupedBarComponent] });
|
|
1382
|
-
VisGroupedBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisGroupedBarModule, imports: [[]] });
|
|
1383
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisGroupedBarModule, decorators: [{
|
|
1384
|
-
type: NgModule,
|
|
1385
|
-
args: [{
|
|
1386
|
-
imports: [],
|
|
1387
|
-
declarations: [VisGroupedBarComponent],
|
|
1388
|
-
exports: [VisGroupedBarComponent],
|
|
1389
|
-
}]
|
|
1390
|
-
}] });
|
|
1391
|
-
|
|
1392
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
1393
|
-
class VisLineComponent {
|
|
1394
|
-
ngAfterViewInit() {
|
|
1395
|
-
var _a;
|
|
1396
|
-
this.component = new Line(this.getConfig());
|
|
1397
|
-
if (this.data) {
|
|
1398
|
-
this.component.setData(this.data);
|
|
1399
|
-
(_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
|
|
1400
|
-
}
|
|
1401
|
-
}
|
|
1402
|
-
ngOnChanges(changes) {
|
|
1403
|
-
var _a, _b, _c;
|
|
1404
|
-
if (changes.data) {
|
|
1405
|
-
(_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
|
|
1406
|
-
}
|
|
1407
|
-
(_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
|
|
1408
|
-
(_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
|
|
1409
|
-
}
|
|
1410
|
-
getConfig() {
|
|
1411
|
-
const { duration, events, attributes, x, y, id, color, xScale, yScale, excludeFromDomainCalculation, curveType, lineWidth, lineDashArray, fallbackValue, highlightOnHover, cursor, interpolateMissingData } = this;
|
|
1412
|
-
const config = { duration, events, attributes, x, y, id, color, xScale, yScale, excludeFromDomainCalculation, curveType, lineWidth, lineDashArray, fallbackValue, highlightOnHover, cursor, interpolateMissingData };
|
|
1413
|
-
const keys = Object.keys(config);
|
|
1414
|
-
keys.forEach(key => { if (config[key] === undefined)
|
|
1415
|
-
delete config[key]; });
|
|
1416
|
-
return config;
|
|
1417
|
-
}
|
|
1418
|
-
}
|
|
1419
|
-
VisLineComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisLineComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1420
|
-
VisLineComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisLineComponent, selector: "vis-line", inputs: { duration: "duration", events: "events", attributes: "attributes", x: "x", y: "y", id: "id", color: "color", xScale: "xScale", yScale: "yScale", excludeFromDomainCalculation: "excludeFromDomainCalculation", curveType: "curveType", lineWidth: "lineWidth", lineDashArray: "lineDashArray", fallbackValue: "fallbackValue", highlightOnHover: "highlightOnHover", cursor: "cursor", interpolateMissingData: "interpolateMissingData", data: "data" }, providers: [{ provide: VisXYComponent, useExisting: VisLineComponent }], usesOnChanges: true, ngImport: i0, template: '', isInline: true });
|
|
1421
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisLineComponent, decorators: [{
|
|
1422
|
-
type: Component,
|
|
1423
|
-
args: [{
|
|
1424
|
-
selector: 'vis-line',
|
|
1425
|
-
template: '',
|
|
1426
|
-
// eslint-disable-next-line no-use-before-define
|
|
1427
|
-
providers: [{ provide: VisXYComponent, useExisting: VisLineComponent }],
|
|
1428
|
-
}]
|
|
1429
|
-
}], propDecorators: { duration: [{
|
|
1430
|
-
type: Input
|
|
1431
|
-
}], events: [{
|
|
1432
|
-
type: Input
|
|
1433
|
-
}], attributes: [{
|
|
1434
|
-
type: Input
|
|
1435
|
-
}], x: [{
|
|
1436
|
-
type: Input
|
|
1437
|
-
}], y: [{
|
|
1438
|
-
type: Input
|
|
1439
|
-
}], id: [{
|
|
1440
|
-
type: Input
|
|
1441
|
-
}], color: [{
|
|
1442
|
-
type: Input
|
|
1443
|
-
}], xScale: [{
|
|
1444
|
-
type: Input
|
|
1445
|
-
}], yScale: [{
|
|
1446
|
-
type: Input
|
|
1447
|
-
}], excludeFromDomainCalculation: [{
|
|
1448
|
-
type: Input
|
|
1449
|
-
}], curveType: [{
|
|
1450
|
-
type: Input
|
|
1451
|
-
}], lineWidth: [{
|
|
1452
|
-
type: Input
|
|
1453
|
-
}], lineDashArray: [{
|
|
1454
|
-
type: Input
|
|
1455
|
-
}], fallbackValue: [{
|
|
1456
|
-
type: Input
|
|
1457
|
-
}], highlightOnHover: [{
|
|
1458
|
-
type: Input
|
|
1459
|
-
}], cursor: [{
|
|
1460
|
-
type: Input
|
|
1461
|
-
}], interpolateMissingData: [{
|
|
1462
|
-
type: Input
|
|
1463
|
-
}], data: [{
|
|
1464
|
-
type: Input
|
|
1465
|
-
}] } });
|
|
1466
|
-
|
|
1467
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
1468
|
-
class VisLineModule {
|
|
1469
|
-
}
|
|
1470
|
-
VisLineModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisLineModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1471
|
-
VisLineModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisLineModule, declarations: [VisLineComponent], exports: [VisLineComponent] });
|
|
1472
|
-
VisLineModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisLineModule, imports: [[]] });
|
|
1473
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisLineModule, decorators: [{
|
|
1474
|
-
type: NgModule,
|
|
1475
|
-
args: [{
|
|
1476
|
-
imports: [],
|
|
1477
|
-
declarations: [VisLineComponent],
|
|
1478
|
-
exports: [VisLineComponent],
|
|
1479
|
-
}]
|
|
1480
|
-
}] });
|
|
1481
|
-
|
|
1482
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
1483
|
-
class VisNestedDonutComponent {
|
|
1484
|
-
ngAfterViewInit() {
|
|
1485
|
-
var _a;
|
|
1486
|
-
this.component = new NestedDonut(this.getConfig());
|
|
1487
|
-
if (this.data) {
|
|
1488
|
-
this.component.setData(this.data);
|
|
1489
|
-
(_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
|
|
1490
|
-
}
|
|
1491
|
-
}
|
|
1492
|
-
ngOnChanges(changes) {
|
|
1493
|
-
var _a, _b, _c;
|
|
1494
|
-
if (changes.data) {
|
|
1495
|
-
(_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
|
|
1496
|
-
}
|
|
1497
|
-
(_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
|
|
1498
|
-
(_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
|
|
1499
|
-
}
|
|
1500
|
-
getConfig() {
|
|
1501
|
-
const { duration, events, attributes, angleRange, direction, value, centralLabel, centralSubLabel, centralSubLabelWrap, showBackground, sort, layers, layerSettings, layerPadding, cornerRadius, emptySegmentAngle, hideOverflowingSegmentLabels, segmentColor, segmentLabel, segmentLabelColor, showEmptySegments, showSegmentLabels } = this;
|
|
1502
|
-
const config = { duration, events, attributes, angleRange, direction, value, centralLabel, centralSubLabel, centralSubLabelWrap, showBackground, sort, layers, layerSettings, layerPadding, cornerRadius, emptySegmentAngle, hideOverflowingSegmentLabels, segmentColor, segmentLabel, segmentLabelColor, showEmptySegments, showSegmentLabels };
|
|
1503
|
-
const keys = Object.keys(config);
|
|
1504
|
-
keys.forEach(key => { if (config[key] === undefined)
|
|
1505
|
-
delete config[key]; });
|
|
1506
|
-
return config;
|
|
1507
|
-
}
|
|
1508
|
-
}
|
|
1509
|
-
VisNestedDonutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisNestedDonutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1510
|
-
VisNestedDonutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisNestedDonutComponent, selector: "vis-nested-donut", inputs: { duration: "duration", events: "events", attributes: "attributes", angleRange: "angleRange", direction: "direction", value: "value", centralLabel: "centralLabel", centralSubLabel: "centralSubLabel", centralSubLabelWrap: "centralSubLabelWrap", showBackground: "showBackground", sort: "sort", layers: "layers", layerSettings: "layerSettings", layerPadding: "layerPadding", cornerRadius: "cornerRadius", emptySegmentAngle: "emptySegmentAngle", hideOverflowingSegmentLabels: "hideOverflowingSegmentLabels", segmentColor: "segmentColor", segmentLabel: "segmentLabel", segmentLabelColor: "segmentLabelColor", showEmptySegments: "showEmptySegments", showSegmentLabels: "showSegmentLabels", data: "data" }, providers: [{ provide: VisCoreComponent, useExisting: VisNestedDonutComponent }], usesOnChanges: true, ngImport: i0, template: '', isInline: true });
|
|
1511
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisNestedDonutComponent, decorators: [{
|
|
1512
|
-
type: Component,
|
|
1513
|
-
args: [{
|
|
1514
|
-
selector: 'vis-nested-donut',
|
|
1515
|
-
template: '',
|
|
1516
|
-
// eslint-disable-next-line no-use-before-define
|
|
1517
|
-
providers: [{ provide: VisCoreComponent, useExisting: VisNestedDonutComponent }],
|
|
1518
|
-
}]
|
|
1519
|
-
}], propDecorators: { duration: [{
|
|
1520
|
-
type: Input
|
|
1521
|
-
}], events: [{
|
|
1522
|
-
type: Input
|
|
1523
|
-
}], attributes: [{
|
|
1524
|
-
type: Input
|
|
1525
|
-
}], angleRange: [{
|
|
1526
|
-
type: Input
|
|
1527
|
-
}], direction: [{
|
|
1528
|
-
type: Input
|
|
1529
|
-
}], value: [{
|
|
1530
|
-
type: Input
|
|
1531
|
-
}], centralLabel: [{
|
|
1532
|
-
type: Input
|
|
1533
|
-
}], centralSubLabel: [{
|
|
1534
|
-
type: Input
|
|
1535
|
-
}], centralSubLabelWrap: [{
|
|
1536
|
-
type: Input
|
|
1537
|
-
}], showBackground: [{
|
|
1538
|
-
type: Input
|
|
1539
|
-
}], sort: [{
|
|
1540
|
-
type: Input
|
|
1541
|
-
}], layers: [{
|
|
1542
|
-
type: Input
|
|
1543
|
-
}], layerSettings: [{
|
|
1544
|
-
type: Input
|
|
1545
|
-
}], layerPadding: [{
|
|
1546
|
-
type: Input
|
|
1547
|
-
}], cornerRadius: [{
|
|
1548
|
-
type: Input
|
|
1549
|
-
}], emptySegmentAngle: [{
|
|
1550
|
-
type: Input
|
|
1551
|
-
}], hideOverflowingSegmentLabels: [{
|
|
1552
|
-
type: Input
|
|
1553
|
-
}], segmentColor: [{
|
|
1554
|
-
type: Input
|
|
1555
|
-
}], segmentLabel: [{
|
|
1556
|
-
type: Input
|
|
1557
|
-
}], segmentLabelColor: [{
|
|
1558
|
-
type: Input
|
|
1559
|
-
}], showEmptySegments: [{
|
|
1560
|
-
type: Input
|
|
1561
|
-
}], showSegmentLabels: [{
|
|
1562
|
-
type: Input
|
|
1563
|
-
}], data: [{
|
|
1564
|
-
type: Input
|
|
1565
|
-
}] } });
|
|
1566
|
-
|
|
1567
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
1568
|
-
class VisNestedDonutModule {
|
|
1569
|
-
}
|
|
1570
|
-
VisNestedDonutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisNestedDonutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1571
|
-
VisNestedDonutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisNestedDonutModule, declarations: [VisNestedDonutComponent], exports: [VisNestedDonutComponent] });
|
|
1572
|
-
VisNestedDonutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisNestedDonutModule, imports: [[]] });
|
|
1573
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisNestedDonutModule, decorators: [{
|
|
1574
|
-
type: NgModule,
|
|
1575
|
-
args: [{
|
|
1576
|
-
imports: [],
|
|
1577
|
-
declarations: [VisNestedDonutComponent],
|
|
1578
|
-
exports: [VisNestedDonutComponent],
|
|
1579
|
-
}]
|
|
1580
|
-
}] });
|
|
1581
|
-
|
|
1582
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
1583
|
-
class VisPlotlineComponent {
|
|
1584
|
-
ngAfterViewInit() {
|
|
1585
|
-
this.component = new Plotline(this.getConfig());
|
|
1586
|
-
}
|
|
1587
|
-
ngOnChanges(changes) {
|
|
1588
|
-
var _a, _b;
|
|
1589
|
-
(_a = this.component) === null || _a === void 0 ? void 0 : _a.setConfig(this.getConfig());
|
|
1590
|
-
(_b = this.componentContainer) === null || _b === void 0 ? void 0 : _b.render();
|
|
1591
|
-
}
|
|
1592
|
-
getConfig() {
|
|
1593
|
-
const { duration, events, attributes, lineWidth, axis, value, lineStyle, labelText, labelPosition, labelOffsetX, labelOffsetY, labelOrientation, labelColor, labelSize } = this;
|
|
1594
|
-
const config = { duration, events, attributes, lineWidth, axis, value, lineStyle, labelText, labelPosition, labelOffsetX, labelOffsetY, labelOrientation, labelColor, labelSize };
|
|
1595
|
-
const keys = Object.keys(config);
|
|
1596
|
-
keys.forEach(key => { if (config[key] === undefined)
|
|
1597
|
-
delete config[key]; });
|
|
1598
|
-
return config;
|
|
1599
|
-
}
|
|
1600
|
-
}
|
|
1601
|
-
VisPlotlineComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisPlotlineComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1602
|
-
VisPlotlineComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisPlotlineComponent, selector: "vis-plotline", inputs: { duration: "duration", events: "events", attributes: "attributes", lineWidth: "lineWidth", axis: "axis", value: "value", lineStyle: "lineStyle", labelText: "labelText", labelPosition: "labelPosition", labelOffsetX: "labelOffsetX", labelOffsetY: "labelOffsetY", labelOrientation: "labelOrientation", labelColor: "labelColor", labelSize: "labelSize" }, providers: [{ provide: VisXYComponent, useExisting: VisPlotlineComponent }], usesOnChanges: true, ngImport: i0, template: '', isInline: true });
|
|
1603
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisPlotlineComponent, decorators: [{
|
|
1604
|
-
type: Component,
|
|
1605
|
-
args: [{
|
|
1606
|
-
selector: 'vis-plotline',
|
|
1607
|
-
template: '',
|
|
1608
|
-
// eslint-disable-next-line no-use-before-define
|
|
1609
|
-
providers: [{ provide: VisXYComponent, useExisting: VisPlotlineComponent }],
|
|
1610
|
-
}]
|
|
1611
|
-
}], propDecorators: { duration: [{
|
|
1612
|
-
type: Input
|
|
1613
|
-
}], events: [{
|
|
1614
|
-
type: Input
|
|
1615
|
-
}], attributes: [{
|
|
1616
|
-
type: Input
|
|
1617
|
-
}], lineWidth: [{
|
|
1618
|
-
type: Input
|
|
1619
|
-
}], axis: [{
|
|
1620
|
-
type: Input
|
|
1621
|
-
}], value: [{
|
|
1622
|
-
type: Input
|
|
1623
|
-
}], lineStyle: [{
|
|
1624
|
-
type: Input
|
|
1625
|
-
}], labelText: [{
|
|
1626
|
-
type: Input
|
|
1627
|
-
}], labelPosition: [{
|
|
1628
|
-
type: Input
|
|
1629
|
-
}], labelOffsetX: [{
|
|
1630
|
-
type: Input
|
|
1631
|
-
}], labelOffsetY: [{
|
|
1632
|
-
type: Input
|
|
1633
|
-
}], labelOrientation: [{
|
|
1634
|
-
type: Input
|
|
1635
|
-
}], labelColor: [{
|
|
1636
|
-
type: Input
|
|
1637
|
-
}], labelSize: [{
|
|
1638
|
-
type: Input
|
|
1639
|
-
}] } });
|
|
1640
|
-
|
|
1641
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
1642
|
-
class VisPlotlineModule {
|
|
1643
|
-
}
|
|
1644
|
-
VisPlotlineModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisPlotlineModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1645
|
-
VisPlotlineModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisPlotlineModule, declarations: [VisPlotlineComponent], exports: [VisPlotlineComponent] });
|
|
1646
|
-
VisPlotlineModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisPlotlineModule, imports: [[]] });
|
|
1647
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisPlotlineModule, decorators: [{
|
|
1648
|
-
type: NgModule,
|
|
1649
|
-
args: [{
|
|
1650
|
-
imports: [],
|
|
1651
|
-
declarations: [VisPlotlineComponent],
|
|
1652
|
-
exports: [VisPlotlineComponent],
|
|
1653
|
-
}]
|
|
1654
|
-
}] });
|
|
1655
|
-
|
|
1656
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
1657
|
-
class VisSankeyComponent {
|
|
1658
|
-
ngAfterViewInit() {
|
|
1659
|
-
var _a;
|
|
1660
|
-
this.component = new Sankey(this.getConfig());
|
|
1661
|
-
if (this.data) {
|
|
1662
|
-
this.component.setData(this.data);
|
|
1663
|
-
(_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
|
|
1664
|
-
}
|
|
1665
|
-
}
|
|
1666
|
-
ngOnChanges(changes) {
|
|
1667
|
-
var _a, _b, _c;
|
|
1668
|
-
if (changes.data) {
|
|
1669
|
-
(_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
|
|
1670
|
-
}
|
|
1671
|
-
(_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
|
|
1672
|
-
(_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
|
|
1673
|
-
}
|
|
1674
|
-
getConfig() {
|
|
1675
|
-
const { duration, events, attributes, id, heightNormalizationCoeff, exitTransitionType, enterTransitionType, highlightSubtreeOnHover, highlightDuration, highlightDelay, iterations, nodeSort, linkSort, nodeWidth, nodeAlign, nodeHorizontalSpacing, nodeMinHeight, nodeMaxHeight, nodePadding, showSingleNode, nodeCursor, nodeIcon, nodeColor, nodeFixedValue, nodeIconColor, linkColor, linkValue, linkCursor, label, subLabel, labelPosition, labelVerticalAlign, labelBackground, labelFit, labelMaxWidth, labelExpandTrimmedOnHover, labelTrimMode, labelFontSize, labelTextSeparator, labelForceWordBreak, labelColor, labelCursor, labelVisibility, subLabelFontSize, subLabelColor, subLabelPlacement, subLabelToLabelInlineWidthRatio } = this;
|
|
1676
|
-
const config = { duration, events, attributes, id, heightNormalizationCoeff, exitTransitionType, enterTransitionType, highlightSubtreeOnHover, highlightDuration, highlightDelay, iterations, nodeSort, linkSort, nodeWidth, nodeAlign, nodeHorizontalSpacing, nodeMinHeight, nodeMaxHeight, nodePadding, showSingleNode, nodeCursor, nodeIcon, nodeColor, nodeFixedValue, nodeIconColor, linkColor, linkValue, linkCursor, label, subLabel, labelPosition, labelVerticalAlign, labelBackground, labelFit, labelMaxWidth, labelExpandTrimmedOnHover, labelTrimMode, labelFontSize, labelTextSeparator, labelForceWordBreak, labelColor, labelCursor, labelVisibility, subLabelFontSize, subLabelColor, subLabelPlacement, subLabelToLabelInlineWidthRatio };
|
|
1677
|
-
const keys = Object.keys(config);
|
|
1678
|
-
keys.forEach(key => { if (config[key] === undefined)
|
|
1679
|
-
delete config[key]; });
|
|
1680
|
-
return config;
|
|
1681
|
-
}
|
|
1682
|
-
}
|
|
1683
|
-
VisSankeyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisSankeyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1684
|
-
VisSankeyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisSankeyComponent, selector: "vis-sankey", inputs: { duration: "duration", events: "events", attributes: "attributes", id: "id", heightNormalizationCoeff: "heightNormalizationCoeff", exitTransitionType: "exitTransitionType", enterTransitionType: "enterTransitionType", highlightSubtreeOnHover: "highlightSubtreeOnHover", highlightDuration: "highlightDuration", highlightDelay: "highlightDelay", iterations: "iterations", nodeSort: "nodeSort", linkSort: "linkSort", nodeWidth: "nodeWidth", nodeAlign: "nodeAlign", nodeHorizontalSpacing: "nodeHorizontalSpacing", nodeMinHeight: "nodeMinHeight", nodeMaxHeight: "nodeMaxHeight", nodePadding: "nodePadding", showSingleNode: "showSingleNode", nodeCursor: "nodeCursor", nodeIcon: "nodeIcon", nodeColor: "nodeColor", nodeFixedValue: "nodeFixedValue", nodeIconColor: "nodeIconColor", linkColor: "linkColor", linkValue: "linkValue", linkCursor: "linkCursor", label: "label", subLabel: "subLabel", labelPosition: "labelPosition", labelVerticalAlign: "labelVerticalAlign", labelBackground: "labelBackground", labelFit: "labelFit", labelMaxWidth: "labelMaxWidth", labelExpandTrimmedOnHover: "labelExpandTrimmedOnHover", labelTrimMode: "labelTrimMode", labelFontSize: "labelFontSize", labelTextSeparator: "labelTextSeparator", labelForceWordBreak: "labelForceWordBreak", labelColor: "labelColor", labelCursor: "labelCursor", labelVisibility: "labelVisibility", subLabelFontSize: "subLabelFontSize", subLabelColor: "subLabelColor", subLabelPlacement: "subLabelPlacement", subLabelToLabelInlineWidthRatio: "subLabelToLabelInlineWidthRatio", data: "data" }, providers: [{ provide: VisCoreComponent, useExisting: VisSankeyComponent }], usesOnChanges: true, ngImport: i0, template: '', isInline: true });
|
|
1685
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisSankeyComponent, decorators: [{
|
|
1686
|
-
type: Component,
|
|
1687
|
-
args: [{
|
|
1688
|
-
selector: 'vis-sankey',
|
|
1689
|
-
template: '',
|
|
1690
|
-
// eslint-disable-next-line no-use-before-define
|
|
1691
|
-
providers: [{ provide: VisCoreComponent, useExisting: VisSankeyComponent }],
|
|
1692
|
-
}]
|
|
1693
|
-
}], propDecorators: { duration: [{
|
|
1694
|
-
type: Input
|
|
1695
|
-
}], events: [{
|
|
1696
|
-
type: Input
|
|
1697
|
-
}], attributes: [{
|
|
1698
|
-
type: Input
|
|
1699
|
-
}], id: [{
|
|
1700
|
-
type: Input
|
|
1701
|
-
}], heightNormalizationCoeff: [{
|
|
1702
|
-
type: Input
|
|
1703
|
-
}], exitTransitionType: [{
|
|
1704
|
-
type: Input
|
|
1705
|
-
}], enterTransitionType: [{
|
|
1706
|
-
type: Input
|
|
1707
|
-
}], highlightSubtreeOnHover: [{
|
|
1708
|
-
type: Input
|
|
1709
|
-
}], highlightDuration: [{
|
|
1710
|
-
type: Input
|
|
1711
|
-
}], highlightDelay: [{
|
|
1712
|
-
type: Input
|
|
1713
|
-
}], iterations: [{
|
|
1714
|
-
type: Input
|
|
1715
|
-
}], nodeSort: [{
|
|
1716
|
-
type: Input
|
|
1717
|
-
}], linkSort: [{
|
|
1718
|
-
type: Input
|
|
1719
|
-
}], nodeWidth: [{
|
|
1720
|
-
type: Input
|
|
1721
|
-
}], nodeAlign: [{
|
|
1722
|
-
type: Input
|
|
1723
|
-
}], nodeHorizontalSpacing: [{
|
|
1724
|
-
type: Input
|
|
1725
|
-
}], nodeMinHeight: [{
|
|
1726
|
-
type: Input
|
|
1727
|
-
}], nodeMaxHeight: [{
|
|
1728
|
-
type: Input
|
|
1729
|
-
}], nodePadding: [{
|
|
1730
|
-
type: Input
|
|
1731
|
-
}], showSingleNode: [{
|
|
1732
|
-
type: Input
|
|
1733
|
-
}], nodeCursor: [{
|
|
1734
|
-
type: Input
|
|
1735
|
-
}], nodeIcon: [{
|
|
1736
|
-
type: Input
|
|
1737
|
-
}], nodeColor: [{
|
|
1738
|
-
type: Input
|
|
1739
|
-
}], nodeFixedValue: [{
|
|
1740
|
-
type: Input
|
|
1741
|
-
}], nodeIconColor: [{
|
|
1742
|
-
type: Input
|
|
1743
|
-
}], linkColor: [{
|
|
1744
|
-
type: Input
|
|
1745
|
-
}], linkValue: [{
|
|
1746
|
-
type: Input
|
|
1747
|
-
}], linkCursor: [{
|
|
1748
|
-
type: Input
|
|
1749
|
-
}], label: [{
|
|
1750
|
-
type: Input
|
|
1751
|
-
}], subLabel: [{
|
|
1752
|
-
type: Input
|
|
1753
|
-
}], labelPosition: [{
|
|
1754
|
-
type: Input
|
|
1755
|
-
}], labelVerticalAlign: [{
|
|
1756
|
-
type: Input
|
|
1757
|
-
}], labelBackground: [{
|
|
1758
|
-
type: Input
|
|
1759
|
-
}], labelFit: [{
|
|
1760
|
-
type: Input
|
|
1761
|
-
}], labelMaxWidth: [{
|
|
1762
|
-
type: Input
|
|
1763
|
-
}], labelExpandTrimmedOnHover: [{
|
|
1764
|
-
type: Input
|
|
1765
|
-
}], labelTrimMode: [{
|
|
1766
|
-
type: Input
|
|
1767
|
-
}], labelFontSize: [{
|
|
1768
|
-
type: Input
|
|
1769
|
-
}], labelTextSeparator: [{
|
|
1770
|
-
type: Input
|
|
1771
|
-
}], labelForceWordBreak: [{
|
|
1772
|
-
type: Input
|
|
1773
|
-
}], labelColor: [{
|
|
1774
|
-
type: Input
|
|
1775
|
-
}], labelCursor: [{
|
|
1776
|
-
type: Input
|
|
1777
|
-
}], labelVisibility: [{
|
|
1778
|
-
type: Input
|
|
1779
|
-
}], subLabelFontSize: [{
|
|
1780
|
-
type: Input
|
|
1781
|
-
}], subLabelColor: [{
|
|
1782
|
-
type: Input
|
|
1783
|
-
}], subLabelPlacement: [{
|
|
1784
|
-
type: Input
|
|
1785
|
-
}], subLabelToLabelInlineWidthRatio: [{
|
|
1786
|
-
type: Input
|
|
1787
|
-
}], data: [{
|
|
1788
|
-
type: Input
|
|
1789
|
-
}] } });
|
|
1790
|
-
|
|
1791
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
1792
|
-
class VisSankeyModule {
|
|
1793
|
-
}
|
|
1794
|
-
VisSankeyModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisSankeyModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1795
|
-
VisSankeyModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisSankeyModule, declarations: [VisSankeyComponent], exports: [VisSankeyComponent] });
|
|
1796
|
-
VisSankeyModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisSankeyModule, imports: [[]] });
|
|
1797
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisSankeyModule, decorators: [{
|
|
1798
|
-
type: NgModule,
|
|
1799
|
-
args: [{
|
|
1800
|
-
imports: [],
|
|
1801
|
-
declarations: [VisSankeyComponent],
|
|
1802
|
-
exports: [VisSankeyComponent],
|
|
1803
|
-
}]
|
|
1804
|
-
}] });
|
|
1805
|
-
|
|
1806
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
1807
|
-
class VisScatterComponent {
|
|
1808
|
-
ngAfterViewInit() {
|
|
1809
|
-
var _a;
|
|
1810
|
-
this.component = new Scatter(this.getConfig());
|
|
1811
|
-
if (this.data) {
|
|
1812
|
-
this.component.setData(this.data);
|
|
1813
|
-
(_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
|
|
1814
|
-
}
|
|
1815
|
-
}
|
|
1816
|
-
ngOnChanges(changes) {
|
|
1817
|
-
var _a, _b, _c;
|
|
1818
|
-
if (changes.data) {
|
|
1819
|
-
(_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
|
|
1820
|
-
}
|
|
1821
|
-
(_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
|
|
1822
|
-
(_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
|
|
1823
|
-
}
|
|
1824
|
-
getConfig() {
|
|
1825
|
-
const { duration, events, attributes, x, y, id, color, xScale, yScale, excludeFromDomainCalculation, size, sizeScale, sizeRange, shape, label, labelColor, labelHideOverlapping, cursor, labelTextBrightnessRatio, labelPosition, strokeColor, strokeWidth } = this;
|
|
1826
|
-
const config = { duration, events, attributes, x, y, id, color, xScale, yScale, excludeFromDomainCalculation, size, sizeScale, sizeRange, shape, label, labelColor, labelHideOverlapping, cursor, labelTextBrightnessRatio, labelPosition, strokeColor, strokeWidth };
|
|
1827
|
-
const keys = Object.keys(config);
|
|
1828
|
-
keys.forEach(key => { if (config[key] === undefined)
|
|
1829
|
-
delete config[key]; });
|
|
1830
|
-
return config;
|
|
1831
|
-
}
|
|
1832
|
-
}
|
|
1833
|
-
VisScatterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisScatterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1834
|
-
VisScatterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisScatterComponent, selector: "vis-scatter", inputs: { duration: "duration", events: "events", attributes: "attributes", x: "x", y: "y", id: "id", color: "color", xScale: "xScale", yScale: "yScale", excludeFromDomainCalculation: "excludeFromDomainCalculation", size: "size", sizeScale: "sizeScale", sizeRange: "sizeRange", shape: "shape", label: "label", labelColor: "labelColor", labelHideOverlapping: "labelHideOverlapping", cursor: "cursor", labelTextBrightnessRatio: "labelTextBrightnessRatio", labelPosition: "labelPosition", strokeColor: "strokeColor", strokeWidth: "strokeWidth", data: "data" }, providers: [{ provide: VisXYComponent, useExisting: VisScatterComponent }], usesOnChanges: true, ngImport: i0, template: '', isInline: true });
|
|
1835
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisScatterComponent, decorators: [{
|
|
1836
|
-
type: Component,
|
|
1837
|
-
args: [{
|
|
1838
|
-
selector: 'vis-scatter',
|
|
1839
|
-
template: '',
|
|
1840
|
-
// eslint-disable-next-line no-use-before-define
|
|
1841
|
-
providers: [{ provide: VisXYComponent, useExisting: VisScatterComponent }],
|
|
1842
|
-
}]
|
|
1843
|
-
}], propDecorators: { duration: [{
|
|
1844
|
-
type: Input
|
|
1845
|
-
}], events: [{
|
|
1846
|
-
type: Input
|
|
1847
|
-
}], attributes: [{
|
|
1848
|
-
type: Input
|
|
1849
|
-
}], x: [{
|
|
1850
|
-
type: Input
|
|
1851
|
-
}], y: [{
|
|
1852
|
-
type: Input
|
|
1853
|
-
}], id: [{
|
|
1854
|
-
type: Input
|
|
1855
|
-
}], color: [{
|
|
1856
|
-
type: Input
|
|
1857
|
-
}], xScale: [{
|
|
1858
|
-
type: Input
|
|
1859
|
-
}], yScale: [{
|
|
1860
|
-
type: Input
|
|
1861
|
-
}], excludeFromDomainCalculation: [{
|
|
1862
|
-
type: Input
|
|
1863
|
-
}], size: [{
|
|
1864
|
-
type: Input
|
|
1865
|
-
}], sizeScale: [{
|
|
1866
|
-
type: Input
|
|
1867
|
-
}], sizeRange: [{
|
|
1868
|
-
type: Input
|
|
1869
|
-
}], shape: [{
|
|
1870
|
-
type: Input
|
|
1871
|
-
}], label: [{
|
|
1872
|
-
type: Input
|
|
1873
|
-
}], labelColor: [{
|
|
1874
|
-
type: Input
|
|
1875
|
-
}], labelHideOverlapping: [{
|
|
1876
|
-
type: Input
|
|
1877
|
-
}], cursor: [{
|
|
1878
|
-
type: Input
|
|
1879
|
-
}], labelTextBrightnessRatio: [{
|
|
1880
|
-
type: Input
|
|
1881
|
-
}], labelPosition: [{
|
|
1882
|
-
type: Input
|
|
1883
|
-
}], strokeColor: [{
|
|
1884
|
-
type: Input
|
|
1885
|
-
}], strokeWidth: [{
|
|
1886
|
-
type: Input
|
|
1887
|
-
}], data: [{
|
|
1888
|
-
type: Input
|
|
1889
|
-
}] } });
|
|
1890
|
-
|
|
1891
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
1892
|
-
class VisScatterModule {
|
|
1893
|
-
}
|
|
1894
|
-
VisScatterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisScatterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1895
|
-
VisScatterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisScatterModule, declarations: [VisScatterComponent], exports: [VisScatterComponent] });
|
|
1896
|
-
VisScatterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisScatterModule, imports: [[]] });
|
|
1897
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisScatterModule, decorators: [{
|
|
1898
|
-
type: NgModule,
|
|
1899
|
-
args: [{
|
|
1900
|
-
imports: [],
|
|
1901
|
-
declarations: [VisScatterComponent],
|
|
1902
|
-
exports: [VisScatterComponent],
|
|
1903
|
-
}]
|
|
1904
|
-
}] });
|
|
1905
|
-
|
|
1906
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
1907
|
-
class VisStackedBarComponent {
|
|
1908
|
-
ngAfterViewInit() {
|
|
1909
|
-
var _a;
|
|
1910
|
-
this.component = new StackedBar(this.getConfig());
|
|
1911
|
-
if (this.data) {
|
|
1912
|
-
this.component.setData(this.data);
|
|
1913
|
-
(_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
|
|
1914
|
-
}
|
|
1915
|
-
}
|
|
1916
|
-
ngOnChanges(changes) {
|
|
1917
|
-
var _a, _b, _c;
|
|
1918
|
-
if (changes.data) {
|
|
1919
|
-
(_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
|
|
1920
|
-
}
|
|
1921
|
-
(_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
|
|
1922
|
-
(_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
|
|
1923
|
-
}
|
|
1924
|
-
getConfig() {
|
|
1925
|
-
const { duration, events, attributes, x, y, id, color, xScale, yScale, excludeFromDomainCalculation, barWidth, barMaxWidth, dataStep, barPadding, roundedCorners, cursor, barMinHeight1Px, barMinHeightZeroValue, orientation } = this;
|
|
1926
|
-
const config = { duration, events, attributes, x, y, id, color, xScale, yScale, excludeFromDomainCalculation, barWidth, barMaxWidth, dataStep, barPadding, roundedCorners, cursor, barMinHeight1Px, barMinHeightZeroValue, orientation };
|
|
1927
|
-
const keys = Object.keys(config);
|
|
1928
|
-
keys.forEach(key => { if (config[key] === undefined)
|
|
1929
|
-
delete config[key]; });
|
|
1930
|
-
return config;
|
|
1931
|
-
}
|
|
1932
|
-
}
|
|
1933
|
-
VisStackedBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisStackedBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1934
|
-
VisStackedBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisStackedBarComponent, selector: "vis-stacked-bar", inputs: { duration: "duration", events: "events", attributes: "attributes", x: "x", y: "y", id: "id", color: "color", xScale: "xScale", yScale: "yScale", excludeFromDomainCalculation: "excludeFromDomainCalculation", barWidth: "barWidth", barMaxWidth: "barMaxWidth", dataStep: "dataStep", barPadding: "barPadding", roundedCorners: "roundedCorners", cursor: "cursor", barMinHeight1Px: "barMinHeight1Px", barMinHeightZeroValue: "barMinHeightZeroValue", orientation: "orientation", data: "data" }, providers: [{ provide: VisXYComponent, useExisting: VisStackedBarComponent }], usesOnChanges: true, ngImport: i0, template: '', isInline: true });
|
|
1935
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisStackedBarComponent, decorators: [{
|
|
1936
|
-
type: Component,
|
|
1937
|
-
args: [{
|
|
1938
|
-
selector: 'vis-stacked-bar',
|
|
1939
|
-
template: '',
|
|
1940
|
-
// eslint-disable-next-line no-use-before-define
|
|
1941
|
-
providers: [{ provide: VisXYComponent, useExisting: VisStackedBarComponent }],
|
|
1942
|
-
}]
|
|
1943
|
-
}], propDecorators: { duration: [{
|
|
1944
|
-
type: Input
|
|
1945
|
-
}], events: [{
|
|
1946
|
-
type: Input
|
|
1947
|
-
}], attributes: [{
|
|
1948
|
-
type: Input
|
|
1949
|
-
}], x: [{
|
|
1950
|
-
type: Input
|
|
1951
|
-
}], y: [{
|
|
1952
|
-
type: Input
|
|
1953
|
-
}], id: [{
|
|
1954
|
-
type: Input
|
|
1955
|
-
}], color: [{
|
|
1956
|
-
type: Input
|
|
1957
|
-
}], xScale: [{
|
|
1958
|
-
type: Input
|
|
1959
|
-
}], yScale: [{
|
|
1960
|
-
type: Input
|
|
1961
|
-
}], excludeFromDomainCalculation: [{
|
|
1962
|
-
type: Input
|
|
1963
|
-
}], barWidth: [{
|
|
1964
|
-
type: Input
|
|
1965
|
-
}], barMaxWidth: [{
|
|
1966
|
-
type: Input
|
|
1967
|
-
}], dataStep: [{
|
|
1968
|
-
type: Input
|
|
1969
|
-
}], barPadding: [{
|
|
1970
|
-
type: Input
|
|
1971
|
-
}], roundedCorners: [{
|
|
1972
|
-
type: Input
|
|
1973
|
-
}], cursor: [{
|
|
1974
|
-
type: Input
|
|
1975
|
-
}], barMinHeight1Px: [{
|
|
1976
|
-
type: Input
|
|
1977
|
-
}], barMinHeightZeroValue: [{
|
|
1978
|
-
type: Input
|
|
1979
|
-
}], orientation: [{
|
|
1980
|
-
type: Input
|
|
1981
|
-
}], data: [{
|
|
1982
|
-
type: Input
|
|
1983
|
-
}] } });
|
|
1984
|
-
|
|
1985
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
1986
|
-
class VisStackedBarModule {
|
|
1987
|
-
}
|
|
1988
|
-
VisStackedBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisStackedBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1989
|
-
VisStackedBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisStackedBarModule, declarations: [VisStackedBarComponent], exports: [VisStackedBarComponent] });
|
|
1990
|
-
VisStackedBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisStackedBarModule, imports: [[]] });
|
|
1991
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisStackedBarModule, decorators: [{
|
|
1992
|
-
type: NgModule,
|
|
1993
|
-
args: [{
|
|
1994
|
-
imports: [],
|
|
1995
|
-
declarations: [VisStackedBarComponent],
|
|
1996
|
-
exports: [VisStackedBarComponent],
|
|
1997
|
-
}]
|
|
1998
|
-
}] });
|
|
1999
|
-
|
|
2000
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
2001
|
-
class VisTimelineComponent {
|
|
2002
|
-
ngAfterViewInit() {
|
|
2003
|
-
var _a;
|
|
2004
|
-
this.component = new Timeline(this.getConfig());
|
|
2005
|
-
if (this.data) {
|
|
2006
|
-
this.component.setData(this.data);
|
|
2007
|
-
(_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
|
|
2008
|
-
}
|
|
2009
|
-
}
|
|
2010
|
-
ngOnChanges(changes) {
|
|
2011
|
-
var _a, _b, _c;
|
|
2012
|
-
if (changes.data) {
|
|
2013
|
-
(_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
|
|
2014
|
-
}
|
|
2015
|
-
(_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
|
|
2016
|
-
(_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
|
|
2017
|
-
}
|
|
2018
|
-
getConfig() {
|
|
2019
|
-
const { duration, events, attributes, x, id, color, xScale, yScale, excludeFromDomainCalculation, type, length, cursor, lineRow, lineDuration, lineWidth, lineCap, lineStartIcon, lineStartIconColor, lineStartIconSize, lineStartIconArrangement, lineEndIcon, lineEndIconColor, lineEndIconSize, lineEndIconArrangement, lineCursor, showEmptySegments, showEmptySegmentsCorrectPosition, rowHeight, alternatingRowColors, showLabels, labelWidth, maxLabelWidth, showRowLabels, rowLabelStyle, rowLabelFormatter, rowIcon, rowLabelWidth, rowMaxLabelWidth, rowLabelTextAlign, arrows, animationLineEnterPosition, animationLineExitPosition, onScroll } = this;
|
|
2020
|
-
const config = { duration, events, attributes, x, id, color, xScale, yScale, excludeFromDomainCalculation, type, length, cursor, lineRow, lineDuration, lineWidth, lineCap, lineStartIcon, lineStartIconColor, lineStartIconSize, lineStartIconArrangement, lineEndIcon, lineEndIconColor, lineEndIconSize, lineEndIconArrangement, lineCursor, showEmptySegments, showEmptySegmentsCorrectPosition, rowHeight, alternatingRowColors, showLabels, labelWidth, maxLabelWidth, showRowLabels, rowLabelStyle, rowLabelFormatter, rowIcon, rowLabelWidth, rowMaxLabelWidth, rowLabelTextAlign, arrows, animationLineEnterPosition, animationLineExitPosition, onScroll };
|
|
2021
|
-
const keys = Object.keys(config);
|
|
2022
|
-
keys.forEach(key => { if (config[key] === undefined)
|
|
2023
|
-
delete config[key]; });
|
|
2024
|
-
return config;
|
|
2025
|
-
}
|
|
2026
|
-
}
|
|
2027
|
-
VisTimelineComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisTimelineComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2028
|
-
VisTimelineComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisTimelineComponent, selector: "vis-timeline", inputs: { duration: "duration", events: "events", attributes: "attributes", x: "x", id: "id", color: "color", xScale: "xScale", yScale: "yScale", excludeFromDomainCalculation: "excludeFromDomainCalculation", type: "type", length: "length", cursor: "cursor", lineRow: "lineRow", lineDuration: "lineDuration", lineWidth: "lineWidth", lineCap: "lineCap", lineStartIcon: "lineStartIcon", lineStartIconColor: "lineStartIconColor", lineStartIconSize: "lineStartIconSize", lineStartIconArrangement: "lineStartIconArrangement", lineEndIcon: "lineEndIcon", lineEndIconColor: "lineEndIconColor", lineEndIconSize: "lineEndIconSize", lineEndIconArrangement: "lineEndIconArrangement", lineCursor: "lineCursor", showEmptySegments: "showEmptySegments", showEmptySegmentsCorrectPosition: "showEmptySegmentsCorrectPosition", rowHeight: "rowHeight", alternatingRowColors: "alternatingRowColors", showLabels: "showLabels", labelWidth: "labelWidth", maxLabelWidth: "maxLabelWidth", showRowLabels: "showRowLabels", rowLabelStyle: "rowLabelStyle", rowLabelFormatter: "rowLabelFormatter", rowIcon: "rowIcon", rowLabelWidth: "rowLabelWidth", rowMaxLabelWidth: "rowMaxLabelWidth", rowLabelTextAlign: "rowLabelTextAlign", arrows: "arrows", animationLineEnterPosition: "animationLineEnterPosition", animationLineExitPosition: "animationLineExitPosition", onScroll: "onScroll", data: "data" }, providers: [{ provide: VisXYComponent, useExisting: VisTimelineComponent }], usesOnChanges: true, ngImport: i0, template: '', isInline: true });
|
|
2029
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisTimelineComponent, decorators: [{
|
|
2030
|
-
type: Component,
|
|
2031
|
-
args: [{
|
|
2032
|
-
selector: 'vis-timeline',
|
|
2033
|
-
template: '',
|
|
2034
|
-
// eslint-disable-next-line no-use-before-define
|
|
2035
|
-
providers: [{ provide: VisXYComponent, useExisting: VisTimelineComponent }],
|
|
2036
|
-
}]
|
|
2037
|
-
}], propDecorators: { duration: [{
|
|
2038
|
-
type: Input
|
|
2039
|
-
}], events: [{
|
|
2040
|
-
type: Input
|
|
2041
|
-
}], attributes: [{
|
|
2042
|
-
type: Input
|
|
2043
|
-
}], x: [{
|
|
2044
|
-
type: Input
|
|
2045
|
-
}], id: [{
|
|
2046
|
-
type: Input
|
|
2047
|
-
}], color: [{
|
|
2048
|
-
type: Input
|
|
2049
|
-
}], xScale: [{
|
|
2050
|
-
type: Input
|
|
2051
|
-
}], yScale: [{
|
|
2052
|
-
type: Input
|
|
2053
|
-
}], excludeFromDomainCalculation: [{
|
|
2054
|
-
type: Input
|
|
2055
|
-
}], type: [{
|
|
2056
|
-
type: Input
|
|
2057
|
-
}], length: [{
|
|
2058
|
-
type: Input
|
|
2059
|
-
}], cursor: [{
|
|
2060
|
-
type: Input
|
|
2061
|
-
}], lineRow: [{
|
|
2062
|
-
type: Input
|
|
2063
|
-
}], lineDuration: [{
|
|
2064
|
-
type: Input
|
|
2065
|
-
}], lineWidth: [{
|
|
2066
|
-
type: Input
|
|
2067
|
-
}], lineCap: [{
|
|
2068
|
-
type: Input
|
|
2069
|
-
}], lineStartIcon: [{
|
|
2070
|
-
type: Input
|
|
2071
|
-
}], lineStartIconColor: [{
|
|
2072
|
-
type: Input
|
|
2073
|
-
}], lineStartIconSize: [{
|
|
2074
|
-
type: Input
|
|
2075
|
-
}], lineStartIconArrangement: [{
|
|
2076
|
-
type: Input
|
|
2077
|
-
}], lineEndIcon: [{
|
|
2078
|
-
type: Input
|
|
2079
|
-
}], lineEndIconColor: [{
|
|
2080
|
-
type: Input
|
|
2081
|
-
}], lineEndIconSize: [{
|
|
2082
|
-
type: Input
|
|
2083
|
-
}], lineEndIconArrangement: [{
|
|
2084
|
-
type: Input
|
|
2085
|
-
}], lineCursor: [{
|
|
2086
|
-
type: Input
|
|
2087
|
-
}], showEmptySegments: [{
|
|
2088
|
-
type: Input
|
|
2089
|
-
}], showEmptySegmentsCorrectPosition: [{
|
|
2090
|
-
type: Input
|
|
2091
|
-
}], rowHeight: [{
|
|
2092
|
-
type: Input
|
|
2093
|
-
}], alternatingRowColors: [{
|
|
2094
|
-
type: Input
|
|
2095
|
-
}], showLabels: [{
|
|
2096
|
-
type: Input
|
|
2097
|
-
}], labelWidth: [{
|
|
2098
|
-
type: Input
|
|
2099
|
-
}], maxLabelWidth: [{
|
|
2100
|
-
type: Input
|
|
2101
|
-
}], showRowLabels: [{
|
|
2102
|
-
type: Input
|
|
2103
|
-
}], rowLabelStyle: [{
|
|
2104
|
-
type: Input
|
|
2105
|
-
}], rowLabelFormatter: [{
|
|
2106
|
-
type: Input
|
|
2107
|
-
}], rowIcon: [{
|
|
2108
|
-
type: Input
|
|
2109
|
-
}], rowLabelWidth: [{
|
|
2110
|
-
type: Input
|
|
2111
|
-
}], rowMaxLabelWidth: [{
|
|
2112
|
-
type: Input
|
|
2113
|
-
}], rowLabelTextAlign: [{
|
|
2114
|
-
type: Input
|
|
2115
|
-
}], arrows: [{
|
|
2116
|
-
type: Input
|
|
2117
|
-
}], animationLineEnterPosition: [{
|
|
2118
|
-
type: Input
|
|
2119
|
-
}], animationLineExitPosition: [{
|
|
2120
|
-
type: Input
|
|
2121
|
-
}], onScroll: [{
|
|
2122
|
-
type: Input
|
|
2123
|
-
}], data: [{
|
|
2124
|
-
type: Input
|
|
2125
|
-
}] } });
|
|
2126
|
-
|
|
2127
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
2128
|
-
class VisTimelineModule {
|
|
2129
|
-
}
|
|
2130
|
-
VisTimelineModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisTimelineModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2131
|
-
VisTimelineModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisTimelineModule, declarations: [VisTimelineComponent], exports: [VisTimelineComponent] });
|
|
2132
|
-
VisTimelineModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisTimelineModule, imports: [[]] });
|
|
2133
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisTimelineModule, decorators: [{
|
|
2134
|
-
type: NgModule,
|
|
2135
|
-
args: [{
|
|
2136
|
-
imports: [],
|
|
2137
|
-
declarations: [VisTimelineComponent],
|
|
2138
|
-
exports: [VisTimelineComponent],
|
|
2139
|
-
}]
|
|
2140
|
-
}] });
|
|
2141
|
-
|
|
2142
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
2143
|
-
class VisXYLabelsComponent {
|
|
2144
|
-
ngAfterViewInit() {
|
|
2145
|
-
var _a;
|
|
2146
|
-
this.component = new XYLabels(this.getConfig());
|
|
2147
|
-
if (this.data) {
|
|
2148
|
-
this.component.setData(this.data);
|
|
2149
|
-
(_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
|
|
2150
|
-
}
|
|
2151
|
-
}
|
|
2152
|
-
ngOnChanges(changes) {
|
|
2153
|
-
var _a, _b, _c;
|
|
2154
|
-
if (changes.data) {
|
|
2155
|
-
(_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
|
|
2156
|
-
}
|
|
2157
|
-
(_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
|
|
2158
|
-
(_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
|
|
2159
|
-
}
|
|
2160
|
-
getConfig() {
|
|
2161
|
-
const { duration, events, attributes, x, y, id, color, xScale, yScale, excludeFromDomainCalculation, xPositioning, yPositioning, labelFontSize, label, backgroundColor, cursor, labelTextBrightnessRatio, clustering, clusterLabel, clusterFontSize, clusterBackgroundColor, clusterCursor, clusterLabelColor } = this;
|
|
2162
|
-
const config = { duration, events, attributes, x, y, id, color, xScale, yScale, excludeFromDomainCalculation, xPositioning, yPositioning, labelFontSize, label, backgroundColor, cursor, labelTextBrightnessRatio, clustering, clusterLabel, clusterFontSize, clusterBackgroundColor, clusterCursor, clusterLabelColor };
|
|
2163
|
-
const keys = Object.keys(config);
|
|
2164
|
-
keys.forEach(key => { if (config[key] === undefined)
|
|
2165
|
-
delete config[key]; });
|
|
2166
|
-
return config;
|
|
2167
|
-
}
|
|
2168
|
-
}
|
|
2169
|
-
VisXYLabelsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisXYLabelsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2170
|
-
VisXYLabelsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisXYLabelsComponent, selector: "vis-xy-labels", inputs: { duration: "duration", events: "events", attributes: "attributes", x: "x", y: "y", id: "id", color: "color", xScale: "xScale", yScale: "yScale", excludeFromDomainCalculation: "excludeFromDomainCalculation", xPositioning: "xPositioning", yPositioning: "yPositioning", labelFontSize: "labelFontSize", label: "label", backgroundColor: "backgroundColor", cursor: "cursor", labelTextBrightnessRatio: "labelTextBrightnessRatio", clustering: "clustering", clusterLabel: "clusterLabel", clusterFontSize: "clusterFontSize", clusterBackgroundColor: "clusterBackgroundColor", clusterCursor: "clusterCursor", clusterLabelColor: "clusterLabelColor", data: "data" }, providers: [{ provide: VisXYComponent, useExisting: VisXYLabelsComponent }], usesOnChanges: true, ngImport: i0, template: '', isInline: true });
|
|
2171
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisXYLabelsComponent, decorators: [{
|
|
2172
|
-
type: Component,
|
|
2173
|
-
args: [{
|
|
2174
|
-
selector: 'vis-xy-labels',
|
|
2175
|
-
template: '',
|
|
2176
|
-
// eslint-disable-next-line no-use-before-define
|
|
2177
|
-
providers: [{ provide: VisXYComponent, useExisting: VisXYLabelsComponent }],
|
|
2178
|
-
}]
|
|
2179
|
-
}], propDecorators: { duration: [{
|
|
2180
|
-
type: Input
|
|
2181
|
-
}], events: [{
|
|
2182
|
-
type: Input
|
|
2183
|
-
}], attributes: [{
|
|
2184
|
-
type: Input
|
|
2185
|
-
}], x: [{
|
|
2186
|
-
type: Input
|
|
2187
|
-
}], y: [{
|
|
2188
|
-
type: Input
|
|
2189
|
-
}], id: [{
|
|
2190
|
-
type: Input
|
|
2191
|
-
}], color: [{
|
|
2192
|
-
type: Input
|
|
2193
|
-
}], xScale: [{
|
|
2194
|
-
type: Input
|
|
2195
|
-
}], yScale: [{
|
|
2196
|
-
type: Input
|
|
2197
|
-
}], excludeFromDomainCalculation: [{
|
|
2198
|
-
type: Input
|
|
2199
|
-
}], xPositioning: [{
|
|
2200
|
-
type: Input
|
|
2201
|
-
}], yPositioning: [{
|
|
2202
|
-
type: Input
|
|
2203
|
-
}], labelFontSize: [{
|
|
2204
|
-
type: Input
|
|
2205
|
-
}], label: [{
|
|
2206
|
-
type: Input
|
|
2207
|
-
}], backgroundColor: [{
|
|
2208
|
-
type: Input
|
|
2209
|
-
}], cursor: [{
|
|
2210
|
-
type: Input
|
|
2211
|
-
}], labelTextBrightnessRatio: [{
|
|
2212
|
-
type: Input
|
|
2213
|
-
}], clustering: [{
|
|
2214
|
-
type: Input
|
|
2215
|
-
}], clusterLabel: [{
|
|
2216
|
-
type: Input
|
|
2217
|
-
}], clusterFontSize: [{
|
|
2218
|
-
type: Input
|
|
2219
|
-
}], clusterBackgroundColor: [{
|
|
2220
|
-
type: Input
|
|
2221
|
-
}], clusterCursor: [{
|
|
2222
|
-
type: Input
|
|
2223
|
-
}], clusterLabelColor: [{
|
|
2224
|
-
type: Input
|
|
2225
|
-
}], data: [{
|
|
2226
|
-
type: Input
|
|
2227
|
-
}] } });
|
|
2228
|
-
|
|
2229
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
2230
|
-
class VisXYLabelsModule {
|
|
2231
|
-
}
|
|
2232
|
-
VisXYLabelsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisXYLabelsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2233
|
-
VisXYLabelsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisXYLabelsModule, declarations: [VisXYLabelsComponent], exports: [VisXYLabelsComponent] });
|
|
2234
|
-
VisXYLabelsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisXYLabelsModule, imports: [[]] });
|
|
2235
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisXYLabelsModule, decorators: [{
|
|
2236
|
-
type: NgModule,
|
|
2237
|
-
args: [{
|
|
2238
|
-
imports: [],
|
|
2239
|
-
declarations: [VisXYLabelsComponent],
|
|
2240
|
-
exports: [VisXYLabelsComponent],
|
|
2241
|
-
}]
|
|
2242
|
-
}] });
|
|
2243
|
-
|
|
2244
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
2245
|
-
class VisTopoJSONMapComponent {
|
|
2246
|
-
ngAfterViewInit() {
|
|
2247
|
-
var _a;
|
|
2248
|
-
this.component = new TopoJSONMap(this.getConfig());
|
|
2249
|
-
if (this.data) {
|
|
2250
|
-
this.component.setData(this.data);
|
|
2251
|
-
(_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
|
|
2252
|
-
}
|
|
2253
|
-
}
|
|
2254
|
-
ngOnChanges(changes) {
|
|
2255
|
-
var _a, _b, _c;
|
|
2256
|
-
if (changes.data) {
|
|
2257
|
-
(_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
|
|
2258
|
-
}
|
|
2259
|
-
(_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
|
|
2260
|
-
(_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
|
|
2261
|
-
}
|
|
2262
|
-
getConfig() {
|
|
2263
|
-
const { duration, events, attributes, projection, topojson, mapFeatureName, mapFitToPoints, zoomFactor, disableZoom, zoomExtent, zoomDuration, linkWidth, linkColor, linkCursor, linkId, linkSource, linkTarget, areaId, areaColor, areaCursor, pointColor, pointRadius, pointStrokeWidth, pointCursor, longitude, latitude, pointLabel, pointLabelPosition, pointLabelTextBrightnessRatio, pointId, heatmapMode, heatmapModeBlurStdDeviation, heatmapModeZoomLevelThreshold } = this;
|
|
2264
|
-
const config = { duration, events, attributes, projection, topojson, mapFeatureName, mapFitToPoints, zoomFactor, disableZoom, zoomExtent, zoomDuration, linkWidth, linkColor, linkCursor, linkId, linkSource, linkTarget, areaId, areaColor, areaCursor, pointColor, pointRadius, pointStrokeWidth, pointCursor, longitude, latitude, pointLabel, pointLabelPosition, pointLabelTextBrightnessRatio, pointId, heatmapMode, heatmapModeBlurStdDeviation, heatmapModeZoomLevelThreshold };
|
|
2265
|
-
const keys = Object.keys(config);
|
|
2266
|
-
keys.forEach(key => { if (config[key] === undefined)
|
|
2267
|
-
delete config[key]; });
|
|
2268
|
-
return config;
|
|
2269
|
-
}
|
|
2270
|
-
}
|
|
2271
|
-
VisTopoJSONMapComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisTopoJSONMapComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2272
|
-
VisTopoJSONMapComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisTopoJSONMapComponent, selector: "vis-topojson-map", inputs: { duration: "duration", events: "events", attributes: "attributes", projection: "projection", topojson: "topojson", mapFeatureName: "mapFeatureName", mapFitToPoints: "mapFitToPoints", zoomFactor: "zoomFactor", disableZoom: "disableZoom", zoomExtent: "zoomExtent", zoomDuration: "zoomDuration", linkWidth: "linkWidth", linkColor: "linkColor", linkCursor: "linkCursor", linkId: "linkId", linkSource: "linkSource", linkTarget: "linkTarget", areaId: "areaId", areaColor: "areaColor", areaCursor: "areaCursor", pointColor: "pointColor", pointRadius: "pointRadius", pointStrokeWidth: "pointStrokeWidth", pointCursor: "pointCursor", longitude: "longitude", latitude: "latitude", pointLabel: "pointLabel", pointLabelPosition: "pointLabelPosition", pointLabelTextBrightnessRatio: "pointLabelTextBrightnessRatio", pointId: "pointId", heatmapMode: "heatmapMode", heatmapModeBlurStdDeviation: "heatmapModeBlurStdDeviation", heatmapModeZoomLevelThreshold: "heatmapModeZoomLevelThreshold", data: "data" }, providers: [{ provide: VisCoreComponent, useExisting: VisTopoJSONMapComponent }], usesOnChanges: true, ngImport: i0, template: '', isInline: true });
|
|
2273
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisTopoJSONMapComponent, decorators: [{
|
|
2274
|
-
type: Component,
|
|
2275
|
-
args: [{
|
|
2276
|
-
selector: 'vis-topojson-map',
|
|
2277
|
-
template: '',
|
|
2278
|
-
// eslint-disable-next-line no-use-before-define
|
|
2279
|
-
providers: [{ provide: VisCoreComponent, useExisting: VisTopoJSONMapComponent }],
|
|
2280
|
-
}]
|
|
2281
|
-
}], propDecorators: { duration: [{
|
|
2282
|
-
type: Input
|
|
2283
|
-
}], events: [{
|
|
2284
|
-
type: Input
|
|
2285
|
-
}], attributes: [{
|
|
2286
|
-
type: Input
|
|
2287
|
-
}], projection: [{
|
|
2288
|
-
type: Input
|
|
2289
|
-
}], topojson: [{
|
|
2290
|
-
type: Input
|
|
2291
|
-
}], mapFeatureName: [{
|
|
2292
|
-
type: Input
|
|
2293
|
-
}], mapFitToPoints: [{
|
|
2294
|
-
type: Input
|
|
2295
|
-
}], zoomFactor: [{
|
|
2296
|
-
type: Input
|
|
2297
|
-
}], disableZoom: [{
|
|
2298
|
-
type: Input
|
|
2299
|
-
}], zoomExtent: [{
|
|
2300
|
-
type: Input
|
|
2301
|
-
}], zoomDuration: [{
|
|
2302
|
-
type: Input
|
|
2303
|
-
}], linkWidth: [{
|
|
2304
|
-
type: Input
|
|
2305
|
-
}], linkColor: [{
|
|
2306
|
-
type: Input
|
|
2307
|
-
}], linkCursor: [{
|
|
2308
|
-
type: Input
|
|
2309
|
-
}], linkId: [{
|
|
2310
|
-
type: Input
|
|
2311
|
-
}], linkSource: [{
|
|
2312
|
-
type: Input
|
|
2313
|
-
}], linkTarget: [{
|
|
2314
|
-
type: Input
|
|
2315
|
-
}], areaId: [{
|
|
2316
|
-
type: Input
|
|
2317
|
-
}], areaColor: [{
|
|
2318
|
-
type: Input
|
|
2319
|
-
}], areaCursor: [{
|
|
2320
|
-
type: Input
|
|
2321
|
-
}], pointColor: [{
|
|
2322
|
-
type: Input
|
|
2323
|
-
}], pointRadius: [{
|
|
2324
|
-
type: Input
|
|
2325
|
-
}], pointStrokeWidth: [{
|
|
2326
|
-
type: Input
|
|
2327
|
-
}], pointCursor: [{
|
|
2328
|
-
type: Input
|
|
2329
|
-
}], longitude: [{
|
|
2330
|
-
type: Input
|
|
2331
|
-
}], latitude: [{
|
|
2332
|
-
type: Input
|
|
2333
|
-
}], pointLabel: [{
|
|
2334
|
-
type: Input
|
|
2335
|
-
}], pointLabelPosition: [{
|
|
2336
|
-
type: Input
|
|
2337
|
-
}], pointLabelTextBrightnessRatio: [{
|
|
2338
|
-
type: Input
|
|
2339
|
-
}], pointId: [{
|
|
2340
|
-
type: Input
|
|
2341
|
-
}], heatmapMode: [{
|
|
2342
|
-
type: Input
|
|
2343
|
-
}], heatmapModeBlurStdDeviation: [{
|
|
2344
|
-
type: Input
|
|
2345
|
-
}], heatmapModeZoomLevelThreshold: [{
|
|
2346
|
-
type: Input
|
|
2347
|
-
}], data: [{
|
|
2348
|
-
type: Input
|
|
2349
|
-
}] } });
|
|
2350
|
-
|
|
2351
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
2352
|
-
class VisTopoJSONMapModule {
|
|
2353
|
-
}
|
|
2354
|
-
VisTopoJSONMapModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisTopoJSONMapModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2355
|
-
VisTopoJSONMapModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisTopoJSONMapModule, declarations: [VisTopoJSONMapComponent], exports: [VisTopoJSONMapComponent] });
|
|
2356
|
-
VisTopoJSONMapModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisTopoJSONMapModule, imports: [[]] });
|
|
2357
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisTopoJSONMapModule, decorators: [{
|
|
2358
|
-
type: NgModule,
|
|
2359
|
-
args: [{
|
|
2360
|
-
imports: [],
|
|
2361
|
-
declarations: [VisTopoJSONMapComponent],
|
|
2362
|
-
exports: [VisTopoJSONMapComponent],
|
|
2363
|
-
}]
|
|
2364
|
-
}] });
|
|
2365
|
-
|
|
2366
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
2367
|
-
class VisPlotbandComponent {
|
|
2368
|
-
ngAfterViewInit() {
|
|
2369
|
-
this.component = new Plotband(this.getConfig());
|
|
2370
|
-
}
|
|
2371
|
-
ngOnChanges(changes) {
|
|
2372
|
-
var _a, _b;
|
|
2373
|
-
(_a = this.component) === null || _a === void 0 ? void 0 : _a.setConfig(this.getConfig());
|
|
2374
|
-
(_b = this.componentContainer) === null || _b === void 0 ? void 0 : _b.render();
|
|
2375
|
-
}
|
|
2376
|
-
getConfig() {
|
|
2377
|
-
const { duration, events, attributes, axis, from, to, labelText, labelPosition, labelOffsetX, labelOffsetY, labelOrientation, labelColor, labelSize } = this;
|
|
2378
|
-
const config = { duration, events, attributes, axis, from, to, labelText, labelPosition, labelOffsetX, labelOffsetY, labelOrientation, labelColor, labelSize };
|
|
2379
|
-
const keys = Object.keys(config);
|
|
2380
|
-
keys.forEach(key => { if (config[key] === undefined)
|
|
2381
|
-
delete config[key]; });
|
|
2382
|
-
return config;
|
|
2383
|
-
}
|
|
2384
|
-
}
|
|
2385
|
-
VisPlotbandComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisPlotbandComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2386
|
-
VisPlotbandComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisPlotbandComponent, selector: "vis-plotband", inputs: { duration: "duration", events: "events", attributes: "attributes", axis: "axis", from: "from", to: "to", labelText: "labelText", labelPosition: "labelPosition", labelOffsetX: "labelOffsetX", labelOffsetY: "labelOffsetY", labelOrientation: "labelOrientation", labelColor: "labelColor", labelSize: "labelSize" }, providers: [{ provide: VisXYComponent, useExisting: VisPlotbandComponent }], usesOnChanges: true, ngImport: i0, template: '', isInline: true });
|
|
2387
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisPlotbandComponent, decorators: [{
|
|
2388
|
-
type: Component,
|
|
2389
|
-
args: [{
|
|
2390
|
-
selector: 'vis-plotband',
|
|
2391
|
-
template: '',
|
|
2392
|
-
// eslint-disable-next-line no-use-before-define
|
|
2393
|
-
providers: [{ provide: VisXYComponent, useExisting: VisPlotbandComponent }],
|
|
2394
|
-
}]
|
|
2395
|
-
}], propDecorators: { duration: [{
|
|
2396
|
-
type: Input
|
|
2397
|
-
}], events: [{
|
|
2398
|
-
type: Input
|
|
2399
|
-
}], attributes: [{
|
|
2400
|
-
type: Input
|
|
2401
|
-
}], axis: [{
|
|
2402
|
-
type: Input
|
|
2403
|
-
}], from: [{
|
|
2404
|
-
type: Input
|
|
2405
|
-
}], to: [{
|
|
2406
|
-
type: Input
|
|
2407
|
-
}], labelText: [{
|
|
2408
|
-
type: Input
|
|
2409
|
-
}], labelPosition: [{
|
|
2410
|
-
type: Input
|
|
2411
|
-
}], labelOffsetX: [{
|
|
2412
|
-
type: Input
|
|
2413
|
-
}], labelOffsetY: [{
|
|
2414
|
-
type: Input
|
|
2415
|
-
}], labelOrientation: [{
|
|
2416
|
-
type: Input
|
|
2417
|
-
}], labelColor: [{
|
|
2418
|
-
type: Input
|
|
2419
|
-
}], labelSize: [{
|
|
2420
|
-
type: Input
|
|
2421
|
-
}] } });
|
|
2422
|
-
|
|
2423
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
2424
|
-
class VisPlotbandModule {
|
|
2425
|
-
}
|
|
2426
|
-
VisPlotbandModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisPlotbandModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2427
|
-
VisPlotbandModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisPlotbandModule, declarations: [VisPlotbandComponent], exports: [VisPlotbandComponent] });
|
|
2428
|
-
VisPlotbandModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisPlotbandModule, imports: [[]] });
|
|
2429
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisPlotbandModule, decorators: [{
|
|
2430
|
-
type: NgModule,
|
|
2431
|
-
args: [{
|
|
2432
|
-
imports: [],
|
|
2433
|
-
declarations: [VisPlotbandComponent],
|
|
2434
|
-
exports: [VisPlotbandComponent],
|
|
2435
|
-
}]
|
|
2436
|
-
}] });
|
|
2437
|
-
|
|
2438
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
2439
|
-
class VisLeafletMapComponent {
|
|
2440
|
-
ngAfterViewInit() {
|
|
2441
|
-
this.component = new LeafletMap(this.containerRef.nativeElement, this.getConfig(), this.data);
|
|
2442
|
-
if (this.data) {
|
|
2443
|
-
this.component.setData(this.data);
|
|
2444
|
-
}
|
|
2445
|
-
}
|
|
2446
|
-
ngOnChanges(changes) {
|
|
2447
|
-
var _a, _b;
|
|
2448
|
-
if (changes.data) {
|
|
2449
|
-
(_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
|
|
2450
|
-
}
|
|
2451
|
-
(_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
|
|
2452
|
-
}
|
|
2453
|
-
getConfig() {
|
|
2454
|
-
const { duration, events, attributes, width, height, flyToDuration, fitViewPadding, zoomDuration, initialBounds, fitBoundsOnUpdate, fitViewOnInit, fitViewOnUpdate, style, styleDarkTheme, accessToken, attribution, renderer, onMapInitialized, onMapMoveZoom, onMapMoveStart, onMapMoveEnd, onMapZoomStart, onMapZoomEnd, onMapClick, pointLongitude, pointLatitude, pointId, pointShape, pointColor, pointRadius, pointLabel, pointLabelColor, pointBottomLabel, pointCursor, pointRingWidth, selectedPointId, clusterColor, clusterRadius, clusterLabel, clusterLabelColor, clusterBottomLabel, clusterRingWidth, clusterBackground, clusterExpandOnClick, clusteringDistance, colorMap, topoJSONLayer, tooltip, ariaLabel } = this;
|
|
2455
|
-
const config = { duration, events, attributes, width, height, flyToDuration, fitViewPadding, zoomDuration, initialBounds, fitBoundsOnUpdate, fitViewOnInit, fitViewOnUpdate, style, styleDarkTheme, accessToken, attribution, renderer, onMapInitialized, onMapMoveZoom, onMapMoveStart, onMapMoveEnd, onMapZoomStart, onMapZoomEnd, onMapClick, pointLongitude, pointLatitude, pointId, pointShape, pointColor, pointRadius, pointLabel, pointLabelColor, pointBottomLabel, pointCursor, pointRingWidth, selectedPointId, clusterColor, clusterRadius, clusterLabel, clusterLabelColor, clusterBottomLabel, clusterRingWidth, clusterBackground, clusterExpandOnClick, clusteringDistance, colorMap, topoJSONLayer, tooltip, ariaLabel };
|
|
2456
|
-
const keys = Object.keys(config);
|
|
2457
|
-
keys.forEach(key => { if (config[key] === undefined)
|
|
2458
|
-
delete config[key]; });
|
|
2459
|
-
return config;
|
|
2460
|
-
}
|
|
2461
|
-
}
|
|
2462
|
-
VisLeafletMapComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisLeafletMapComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2463
|
-
VisLeafletMapComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisLeafletMapComponent, selector: "vis-leaflet-map", inputs: { duration: "duration", events: "events", attributes: "attributes", width: "width", height: "height", flyToDuration: "flyToDuration", fitViewPadding: "fitViewPadding", zoomDuration: "zoomDuration", initialBounds: "initialBounds", fitBoundsOnUpdate: "fitBoundsOnUpdate", fitViewOnInit: "fitViewOnInit", fitViewOnUpdate: "fitViewOnUpdate", style: "style", styleDarkTheme: "styleDarkTheme", accessToken: "accessToken", attribution: "attribution", renderer: "renderer", onMapInitialized: "onMapInitialized", onMapMoveZoom: "onMapMoveZoom", onMapMoveStart: "onMapMoveStart", onMapMoveEnd: "onMapMoveEnd", onMapZoomStart: "onMapZoomStart", onMapZoomEnd: "onMapZoomEnd", onMapClick: "onMapClick", pointLongitude: "pointLongitude", pointLatitude: "pointLatitude", pointId: "pointId", pointShape: "pointShape", pointColor: "pointColor", pointRadius: "pointRadius", pointLabel: "pointLabel", pointLabelColor: "pointLabelColor", pointBottomLabel: "pointBottomLabel", pointCursor: "pointCursor", pointRingWidth: "pointRingWidth", selectedPointId: "selectedPointId", clusterColor: "clusterColor", clusterRadius: "clusterRadius", clusterLabel: "clusterLabel", clusterLabelColor: "clusterLabelColor", clusterBottomLabel: "clusterBottomLabel", clusterRingWidth: "clusterRingWidth", clusterBackground: "clusterBackground", clusterExpandOnClick: "clusterExpandOnClick", clusteringDistance: "clusteringDistance", colorMap: "colorMap", topoJSONLayer: "topoJSONLayer", tooltip: "tooltip", ariaLabel: "ariaLabel", data: "data" }, providers: [{ provide: VisCoreComponent, useExisting: VisLeafletMapComponent }], viewQueries: [{ propertyName: "containerRef", first: true, predicate: ["container"], descendants: true }], usesOnChanges: true, ngImport: i0, template: '<div #container class="leaflet-map-container"></div>', isInline: true, styles: [".leaflet-map-container { width: 100%; height: 100%; position: relative }"] });
|
|
2464
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisLeafletMapComponent, decorators: [{
|
|
2465
|
-
type: Component,
|
|
2466
|
-
args: [{
|
|
2467
|
-
selector: 'vis-leaflet-map',
|
|
2468
|
-
template: '<div #container class="leaflet-map-container"></div>',
|
|
2469
|
-
styles: ['.leaflet-map-container { width: 100%; height: 100%; position: relative }'],
|
|
2470
|
-
// eslint-disable-next-line no-use-before-define
|
|
2471
|
-
providers: [{ provide: VisCoreComponent, useExisting: VisLeafletMapComponent }],
|
|
2472
|
-
}]
|
|
2473
|
-
}], propDecorators: { containerRef: [{
|
|
2474
|
-
type: ViewChild,
|
|
2475
|
-
args: ['container', { static: false }]
|
|
2476
|
-
}], duration: [{
|
|
2477
|
-
type: Input
|
|
2478
|
-
}], events: [{
|
|
2479
|
-
type: Input
|
|
2480
|
-
}], attributes: [{
|
|
2481
|
-
type: Input
|
|
2482
|
-
}], width: [{
|
|
2483
|
-
type: Input
|
|
2484
|
-
}], height: [{
|
|
2485
|
-
type: Input
|
|
2486
|
-
}], flyToDuration: [{
|
|
2487
|
-
type: Input
|
|
2488
|
-
}], fitViewPadding: [{
|
|
2489
|
-
type: Input
|
|
2490
|
-
}], zoomDuration: [{
|
|
2491
|
-
type: Input
|
|
2492
|
-
}], initialBounds: [{
|
|
2493
|
-
type: Input
|
|
2494
|
-
}], fitBoundsOnUpdate: [{
|
|
2495
|
-
type: Input
|
|
2496
|
-
}], fitViewOnInit: [{
|
|
2497
|
-
type: Input
|
|
2498
|
-
}], fitViewOnUpdate: [{
|
|
2499
|
-
type: Input
|
|
2500
|
-
}], style: [{
|
|
2501
|
-
type: Input
|
|
2502
|
-
}], styleDarkTheme: [{
|
|
2503
|
-
type: Input
|
|
2504
|
-
}], accessToken: [{
|
|
2505
|
-
type: Input
|
|
2506
|
-
}], attribution: [{
|
|
2507
|
-
type: Input
|
|
2508
|
-
}], renderer: [{
|
|
2509
|
-
type: Input
|
|
2510
|
-
}], onMapInitialized: [{
|
|
2511
|
-
type: Input
|
|
2512
|
-
}], onMapMoveZoom: [{
|
|
2513
|
-
type: Input
|
|
2514
|
-
}], onMapMoveStart: [{
|
|
2515
|
-
type: Input
|
|
2516
|
-
}], onMapMoveEnd: [{
|
|
2517
|
-
type: Input
|
|
2518
|
-
}], onMapZoomStart: [{
|
|
2519
|
-
type: Input
|
|
2520
|
-
}], onMapZoomEnd: [{
|
|
2521
|
-
type: Input
|
|
2522
|
-
}], onMapClick: [{
|
|
2523
|
-
type: Input
|
|
2524
|
-
}], pointLongitude: [{
|
|
2525
|
-
type: Input
|
|
2526
|
-
}], pointLatitude: [{
|
|
2527
|
-
type: Input
|
|
2528
|
-
}], pointId: [{
|
|
2529
|
-
type: Input
|
|
2530
|
-
}], pointShape: [{
|
|
2531
|
-
type: Input
|
|
2532
|
-
}], pointColor: [{
|
|
2533
|
-
type: Input
|
|
2534
|
-
}], pointRadius: [{
|
|
2535
|
-
type: Input
|
|
2536
|
-
}], pointLabel: [{
|
|
2537
|
-
type: Input
|
|
2538
|
-
}], pointLabelColor: [{
|
|
2539
|
-
type: Input
|
|
2540
|
-
}], pointBottomLabel: [{
|
|
2541
|
-
type: Input
|
|
2542
|
-
}], pointCursor: [{
|
|
2543
|
-
type: Input
|
|
2544
|
-
}], pointRingWidth: [{
|
|
2545
|
-
type: Input
|
|
2546
|
-
}], selectedPointId: [{
|
|
2547
|
-
type: Input
|
|
2548
|
-
}], clusterColor: [{
|
|
2549
|
-
type: Input
|
|
2550
|
-
}], clusterRadius: [{
|
|
2551
|
-
type: Input
|
|
2552
|
-
}], clusterLabel: [{
|
|
2553
|
-
type: Input
|
|
2554
|
-
}], clusterLabelColor: [{
|
|
2555
|
-
type: Input
|
|
2556
|
-
}], clusterBottomLabel: [{
|
|
2557
|
-
type: Input
|
|
2558
|
-
}], clusterRingWidth: [{
|
|
2559
|
-
type: Input
|
|
2560
|
-
}], clusterBackground: [{
|
|
2561
|
-
type: Input
|
|
2562
|
-
}], clusterExpandOnClick: [{
|
|
2563
|
-
type: Input
|
|
2564
|
-
}], clusteringDistance: [{
|
|
2565
|
-
type: Input
|
|
2566
|
-
}], colorMap: [{
|
|
2567
|
-
type: Input
|
|
2568
|
-
}], topoJSONLayer: [{
|
|
2569
|
-
type: Input
|
|
2570
|
-
}], tooltip: [{
|
|
2571
|
-
type: Input
|
|
2572
|
-
}], ariaLabel: [{
|
|
2573
|
-
type: Input
|
|
2574
|
-
}], data: [{
|
|
2575
|
-
type: Input
|
|
2576
|
-
}] } });
|
|
2577
|
-
|
|
2578
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
2579
|
-
class VisLeafletMapModule {
|
|
2580
|
-
}
|
|
2581
|
-
VisLeafletMapModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisLeafletMapModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2582
|
-
VisLeafletMapModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisLeafletMapModule, declarations: [VisLeafletMapComponent], exports: [VisLeafletMapComponent] });
|
|
2583
|
-
VisLeafletMapModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisLeafletMapModule, imports: [[]] });
|
|
2584
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisLeafletMapModule, decorators: [{
|
|
2585
|
-
type: NgModule,
|
|
2586
|
-
args: [{
|
|
2587
|
-
imports: [],
|
|
2588
|
-
declarations: [VisLeafletMapComponent],
|
|
2589
|
-
exports: [VisLeafletMapComponent],
|
|
2590
|
-
}]
|
|
2591
|
-
}] });
|
|
2592
|
-
|
|
2593
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
2594
|
-
class VisLeafletFlowMapComponent {
|
|
2595
|
-
ngAfterViewInit() {
|
|
2596
|
-
this.component = new LeafletFlowMap(this.containerRef.nativeElement, this.getConfig(), this.data);
|
|
2597
|
-
if (this.data) {
|
|
2598
|
-
this.component.setData(this.data);
|
|
2599
|
-
}
|
|
2600
|
-
}
|
|
2601
|
-
ngOnChanges(changes) {
|
|
2602
|
-
var _a, _b;
|
|
2603
|
-
if (changes.data) {
|
|
2604
|
-
(_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
|
|
2605
|
-
}
|
|
2606
|
-
(_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
|
|
2607
|
-
}
|
|
2608
|
-
getConfig() {
|
|
2609
|
-
const { duration, events, attributes, width, height, flyToDuration, fitViewPadding, zoomDuration, initialBounds, fitBoundsOnUpdate, fitViewOnInit, fitViewOnUpdate, style, styleDarkTheme, accessToken, attribution, renderer, onMapInitialized, onMapMoveZoom, onMapMoveStart, onMapMoveEnd, onMapZoomStart, onMapZoomEnd, onMapClick, pointLongitude, pointLatitude, pointId, pointShape, pointColor, pointRadius, pointLabel, pointLabelColor, pointBottomLabel, pointCursor, pointRingWidth, selectedPointId, clusterColor, clusterRadius, clusterLabel, clusterLabelColor, clusterBottomLabel, clusterRingWidth, clusterBackground, clusterExpandOnClick, clusteringDistance, colorMap, topoJSONLayer, tooltip, ariaLabel, sourceLongitude, sourceLatitude, targetLongitude, targetLatitude, sourcePointRadius, sourcePointColor, flowParticleColor, flowParticleRadius, flowParticleSpeed, flowParticleDensity, onSourcePointClick, onSourcePointMouseEnter, onSourcePointMouseLeave } = this;
|
|
2610
|
-
const config = { duration, events, attributes, width, height, flyToDuration, fitViewPadding, zoomDuration, initialBounds, fitBoundsOnUpdate, fitViewOnInit, fitViewOnUpdate, style, styleDarkTheme, accessToken, attribution, renderer, onMapInitialized, onMapMoveZoom, onMapMoveStart, onMapMoveEnd, onMapZoomStart, onMapZoomEnd, onMapClick, pointLongitude, pointLatitude, pointId, pointShape, pointColor, pointRadius, pointLabel, pointLabelColor, pointBottomLabel, pointCursor, pointRingWidth, selectedPointId, clusterColor, clusterRadius, clusterLabel, clusterLabelColor, clusterBottomLabel, clusterRingWidth, clusterBackground, clusterExpandOnClick, clusteringDistance, colorMap, topoJSONLayer, tooltip, ariaLabel, sourceLongitude, sourceLatitude, targetLongitude, targetLatitude, sourcePointRadius, sourcePointColor, flowParticleColor, flowParticleRadius, flowParticleSpeed, flowParticleDensity, onSourcePointClick, onSourcePointMouseEnter, onSourcePointMouseLeave };
|
|
2611
|
-
const keys = Object.keys(config);
|
|
2612
|
-
keys.forEach(key => { if (config[key] === undefined)
|
|
2613
|
-
delete config[key]; });
|
|
2614
|
-
return config;
|
|
2615
|
-
}
|
|
2616
|
-
}
|
|
2617
|
-
VisLeafletFlowMapComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisLeafletFlowMapComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2618
|
-
VisLeafletFlowMapComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisLeafletFlowMapComponent, selector: "vis-leaflet-flow-map", inputs: { duration: "duration", events: "events", attributes: "attributes", width: "width", height: "height", flyToDuration: "flyToDuration", fitViewPadding: "fitViewPadding", zoomDuration: "zoomDuration", initialBounds: "initialBounds", fitBoundsOnUpdate: "fitBoundsOnUpdate", fitViewOnInit: "fitViewOnInit", fitViewOnUpdate: "fitViewOnUpdate", style: "style", styleDarkTheme: "styleDarkTheme", accessToken: "accessToken", attribution: "attribution", renderer: "renderer", onMapInitialized: "onMapInitialized", onMapMoveZoom: "onMapMoveZoom", onMapMoveStart: "onMapMoveStart", onMapMoveEnd: "onMapMoveEnd", onMapZoomStart: "onMapZoomStart", onMapZoomEnd: "onMapZoomEnd", onMapClick: "onMapClick", pointLongitude: "pointLongitude", pointLatitude: "pointLatitude", pointId: "pointId", pointShape: "pointShape", pointColor: "pointColor", pointRadius: "pointRadius", pointLabel: "pointLabel", pointLabelColor: "pointLabelColor", pointBottomLabel: "pointBottomLabel", pointCursor: "pointCursor", pointRingWidth: "pointRingWidth", selectedPointId: "selectedPointId", clusterColor: "clusterColor", clusterRadius: "clusterRadius", clusterLabel: "clusterLabel", clusterLabelColor: "clusterLabelColor", clusterBottomLabel: "clusterBottomLabel", clusterRingWidth: "clusterRingWidth", clusterBackground: "clusterBackground", clusterExpandOnClick: "clusterExpandOnClick", clusteringDistance: "clusteringDistance", colorMap: "colorMap", topoJSONLayer: "topoJSONLayer", tooltip: "tooltip", ariaLabel: "ariaLabel", sourceLongitude: "sourceLongitude", sourceLatitude: "sourceLatitude", targetLongitude: "targetLongitude", targetLatitude: "targetLatitude", sourcePointRadius: "sourcePointRadius", sourcePointColor: "sourcePointColor", flowParticleColor: "flowParticleColor", flowParticleRadius: "flowParticleRadius", flowParticleSpeed: "flowParticleSpeed", flowParticleDensity: "flowParticleDensity", onSourcePointClick: "onSourcePointClick", onSourcePointMouseEnter: "onSourcePointMouseEnter", onSourcePointMouseLeave: "onSourcePointMouseLeave", data: "data" }, providers: [{ provide: VisCoreComponent, useExisting: VisLeafletFlowMapComponent }], viewQueries: [{ propertyName: "containerRef", first: true, predicate: ["container"], descendants: true }], usesOnChanges: true, ngImport: i0, template: '<div #container class="leaflet-flow-map-container"></div>', isInline: true, styles: [".leaflet-flow-map-container { width: 100%; height: 100%; position: relative }"] });
|
|
2619
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisLeafletFlowMapComponent, decorators: [{
|
|
2620
|
-
type: Component,
|
|
2621
|
-
args: [{
|
|
2622
|
-
selector: 'vis-leaflet-flow-map',
|
|
2623
|
-
template: '<div #container class="leaflet-flow-map-container"></div>',
|
|
2624
|
-
styles: ['.leaflet-flow-map-container { width: 100%; height: 100%; position: relative }'],
|
|
2625
|
-
// eslint-disable-next-line no-use-before-define
|
|
2626
|
-
providers: [{ provide: VisCoreComponent, useExisting: VisLeafletFlowMapComponent }],
|
|
2627
|
-
}]
|
|
2628
|
-
}], propDecorators: { containerRef: [{
|
|
2629
|
-
type: ViewChild,
|
|
2630
|
-
args: ['container', { static: false }]
|
|
2631
|
-
}], duration: [{
|
|
2632
|
-
type: Input
|
|
2633
|
-
}], events: [{
|
|
2634
|
-
type: Input
|
|
2635
|
-
}], attributes: [{
|
|
2636
|
-
type: Input
|
|
2637
|
-
}], width: [{
|
|
2638
|
-
type: Input
|
|
2639
|
-
}], height: [{
|
|
2640
|
-
type: Input
|
|
2641
|
-
}], flyToDuration: [{
|
|
2642
|
-
type: Input
|
|
2643
|
-
}], fitViewPadding: [{
|
|
2644
|
-
type: Input
|
|
2645
|
-
}], zoomDuration: [{
|
|
2646
|
-
type: Input
|
|
2647
|
-
}], initialBounds: [{
|
|
2648
|
-
type: Input
|
|
2649
|
-
}], fitBoundsOnUpdate: [{
|
|
2650
|
-
type: Input
|
|
2651
|
-
}], fitViewOnInit: [{
|
|
2652
|
-
type: Input
|
|
2653
|
-
}], fitViewOnUpdate: [{
|
|
2654
|
-
type: Input
|
|
2655
|
-
}], style: [{
|
|
2656
|
-
type: Input
|
|
2657
|
-
}], styleDarkTheme: [{
|
|
2658
|
-
type: Input
|
|
2659
|
-
}], accessToken: [{
|
|
2660
|
-
type: Input
|
|
2661
|
-
}], attribution: [{
|
|
2662
|
-
type: Input
|
|
2663
|
-
}], renderer: [{
|
|
2664
|
-
type: Input
|
|
2665
|
-
}], onMapInitialized: [{
|
|
2666
|
-
type: Input
|
|
2667
|
-
}], onMapMoveZoom: [{
|
|
2668
|
-
type: Input
|
|
2669
|
-
}], onMapMoveStart: [{
|
|
2670
|
-
type: Input
|
|
2671
|
-
}], onMapMoveEnd: [{
|
|
2672
|
-
type: Input
|
|
2673
|
-
}], onMapZoomStart: [{
|
|
2674
|
-
type: Input
|
|
2675
|
-
}], onMapZoomEnd: [{
|
|
2676
|
-
type: Input
|
|
2677
|
-
}], onMapClick: [{
|
|
2678
|
-
type: Input
|
|
2679
|
-
}], pointLongitude: [{
|
|
2680
|
-
type: Input
|
|
2681
|
-
}], pointLatitude: [{
|
|
2682
|
-
type: Input
|
|
2683
|
-
}], pointId: [{
|
|
2684
|
-
type: Input
|
|
2685
|
-
}], pointShape: [{
|
|
2686
|
-
type: Input
|
|
2687
|
-
}], pointColor: [{
|
|
2688
|
-
type: Input
|
|
2689
|
-
}], pointRadius: [{
|
|
2690
|
-
type: Input
|
|
2691
|
-
}], pointLabel: [{
|
|
2692
|
-
type: Input
|
|
2693
|
-
}], pointLabelColor: [{
|
|
2694
|
-
type: Input
|
|
2695
|
-
}], pointBottomLabel: [{
|
|
2696
|
-
type: Input
|
|
2697
|
-
}], pointCursor: [{
|
|
2698
|
-
type: Input
|
|
2699
|
-
}], pointRingWidth: [{
|
|
2700
|
-
type: Input
|
|
2701
|
-
}], selectedPointId: [{
|
|
2702
|
-
type: Input
|
|
2703
|
-
}], clusterColor: [{
|
|
2704
|
-
type: Input
|
|
2705
|
-
}], clusterRadius: [{
|
|
2706
|
-
type: Input
|
|
2707
|
-
}], clusterLabel: [{
|
|
2708
|
-
type: Input
|
|
2709
|
-
}], clusterLabelColor: [{
|
|
2710
|
-
type: Input
|
|
2711
|
-
}], clusterBottomLabel: [{
|
|
2712
|
-
type: Input
|
|
2713
|
-
}], clusterRingWidth: [{
|
|
2714
|
-
type: Input
|
|
2715
|
-
}], clusterBackground: [{
|
|
2716
|
-
type: Input
|
|
2717
|
-
}], clusterExpandOnClick: [{
|
|
2718
|
-
type: Input
|
|
2719
|
-
}], clusteringDistance: [{
|
|
2720
|
-
type: Input
|
|
2721
|
-
}], colorMap: [{
|
|
2722
|
-
type: Input
|
|
2723
|
-
}], topoJSONLayer: [{
|
|
2724
|
-
type: Input
|
|
2725
|
-
}], tooltip: [{
|
|
2726
|
-
type: Input
|
|
2727
|
-
}], ariaLabel: [{
|
|
2728
|
-
type: Input
|
|
2729
|
-
}], sourceLongitude: [{
|
|
2730
|
-
type: Input
|
|
2731
|
-
}], sourceLatitude: [{
|
|
2732
|
-
type: Input
|
|
2733
|
-
}], targetLongitude: [{
|
|
2734
|
-
type: Input
|
|
2735
|
-
}], targetLatitude: [{
|
|
2736
|
-
type: Input
|
|
2737
|
-
}], sourcePointRadius: [{
|
|
2738
|
-
type: Input
|
|
2739
|
-
}], sourcePointColor: [{
|
|
2740
|
-
type: Input
|
|
2741
|
-
}], flowParticleColor: [{
|
|
2742
|
-
type: Input
|
|
2743
|
-
}], flowParticleRadius: [{
|
|
2744
|
-
type: Input
|
|
2745
|
-
}], flowParticleSpeed: [{
|
|
2746
|
-
type: Input
|
|
2747
|
-
}], flowParticleDensity: [{
|
|
2748
|
-
type: Input
|
|
2749
|
-
}], onSourcePointClick: [{
|
|
2750
|
-
type: Input
|
|
2751
|
-
}], onSourcePointMouseEnter: [{
|
|
2752
|
-
type: Input
|
|
2753
|
-
}], onSourcePointMouseLeave: [{
|
|
2754
|
-
type: Input
|
|
2755
|
-
}], data: [{
|
|
2756
|
-
type: Input
|
|
2757
|
-
}] } });
|
|
2758
|
-
|
|
2759
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
2760
|
-
class VisLeafletFlowMapModule {
|
|
2761
|
-
}
|
|
2762
|
-
VisLeafletFlowMapModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisLeafletFlowMapModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2763
|
-
VisLeafletFlowMapModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisLeafletFlowMapModule, declarations: [VisLeafletFlowMapComponent], exports: [VisLeafletFlowMapComponent] });
|
|
2764
|
-
VisLeafletFlowMapModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisLeafletFlowMapModule, imports: [[]] });
|
|
2765
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisLeafletFlowMapModule, decorators: [{
|
|
2766
|
-
type: NgModule,
|
|
2767
|
-
args: [{
|
|
2768
|
-
imports: [],
|
|
2769
|
-
declarations: [VisLeafletFlowMapComponent],
|
|
2770
|
-
exports: [VisLeafletFlowMapComponent],
|
|
2771
|
-
}]
|
|
2772
|
-
}] });
|
|
2773
|
-
|
|
2774
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
2775
|
-
class VisBulletLegendComponent {
|
|
2776
|
-
ngAfterViewInit() {
|
|
2777
|
-
this.component = new BulletLegend(this.containerRef.nativeElement, Object.assign(Object.assign({}, this.getConfig()), { renderIntoProvidedDomNode: true }));
|
|
2778
|
-
}
|
|
2779
|
-
ngOnChanges(changes) {
|
|
2780
|
-
var _a;
|
|
2781
|
-
(_a = this.component) === null || _a === void 0 ? void 0 : _a.update(this.getConfig());
|
|
2782
|
-
}
|
|
2783
|
-
getConfig() {
|
|
2784
|
-
const { items, labelClassName, onLegendItemClick, labelFontSize, labelMaxWidth, bulletSize, bulletSpacing, bulletShape, orientation } = this;
|
|
2785
|
-
const config = { items, labelClassName, onLegendItemClick, labelFontSize, labelMaxWidth, bulletSize, bulletSpacing, bulletShape, orientation };
|
|
2786
|
-
const keys = Object.keys(config);
|
|
2787
|
-
keys.forEach(key => { if (config[key] === undefined)
|
|
2788
|
-
delete config[key]; });
|
|
2789
|
-
return config;
|
|
2790
|
-
}
|
|
2791
|
-
}
|
|
2792
|
-
VisBulletLegendComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisBulletLegendComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2793
|
-
VisBulletLegendComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisBulletLegendComponent, selector: "vis-bullet-legend", inputs: { items: "items", labelClassName: "labelClassName", onLegendItemClick: "onLegendItemClick", labelFontSize: "labelFontSize", labelMaxWidth: "labelMaxWidth", bulletSize: "bulletSize", bulletSpacing: "bulletSpacing", bulletShape: "bulletShape", orientation: "orientation" }, providers: [{ provide: VisGenericComponent, useExisting: VisBulletLegendComponent }], viewQueries: [{ propertyName: "containerRef", first: true, predicate: ["container"], descendants: true }], usesOnChanges: true, ngImport: i0, template: '<div #container class="bullet-legend-container"></div>', isInline: true, styles: [".bullet-legend-container { }"] });
|
|
2794
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisBulletLegendComponent, decorators: [{
|
|
2795
|
-
type: Component,
|
|
2796
|
-
args: [{
|
|
2797
|
-
selector: 'vis-bullet-legend',
|
|
2798
|
-
template: '<div #container class="bullet-legend-container"></div>',
|
|
2799
|
-
styles: ['.bullet-legend-container { }'],
|
|
2800
|
-
// eslint-disable-next-line no-use-before-define
|
|
2801
|
-
providers: [{ provide: VisGenericComponent, useExisting: VisBulletLegendComponent }],
|
|
2802
|
-
}]
|
|
2803
|
-
}], propDecorators: { containerRef: [{
|
|
2804
|
-
type: ViewChild,
|
|
2805
|
-
args: ['container', { static: false }]
|
|
2806
|
-
}], items: [{
|
|
2807
|
-
type: Input
|
|
2808
|
-
}], labelClassName: [{
|
|
2809
|
-
type: Input
|
|
2810
|
-
}], onLegendItemClick: [{
|
|
2811
|
-
type: Input
|
|
2812
|
-
}], labelFontSize: [{
|
|
2813
|
-
type: Input
|
|
2814
|
-
}], labelMaxWidth: [{
|
|
2815
|
-
type: Input
|
|
2816
|
-
}], bulletSize: [{
|
|
2817
|
-
type: Input
|
|
2818
|
-
}], bulletSpacing: [{
|
|
2819
|
-
type: Input
|
|
2820
|
-
}], bulletShape: [{
|
|
2821
|
-
type: Input
|
|
2822
|
-
}], orientation: [{
|
|
2823
|
-
type: Input
|
|
2824
|
-
}] } });
|
|
2825
|
-
|
|
2826
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
2827
|
-
class VisBulletLegendModule {
|
|
2828
|
-
}
|
|
2829
|
-
VisBulletLegendModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisBulletLegendModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2830
|
-
VisBulletLegendModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisBulletLegendModule, declarations: [VisBulletLegendComponent], exports: [VisBulletLegendComponent] });
|
|
2831
|
-
VisBulletLegendModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisBulletLegendModule, imports: [[]] });
|
|
2832
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisBulletLegendModule, decorators: [{
|
|
2833
|
-
type: NgModule,
|
|
2834
|
-
args: [{
|
|
2835
|
-
imports: [],
|
|
2836
|
-
declarations: [VisBulletLegendComponent],
|
|
2837
|
-
exports: [VisBulletLegendComponent],
|
|
2838
|
-
}]
|
|
2839
|
-
}] });
|
|
2840
|
-
|
|
2841
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
2842
|
-
class VisRollingPinLegendComponent {
|
|
2843
|
-
ngAfterViewInit() {
|
|
2844
|
-
this.component = new RollingPinLegend(this.containerRef.nativeElement, this.getConfig());
|
|
2845
|
-
}
|
|
2846
|
-
ngOnChanges(changes) {
|
|
2847
|
-
var _a;
|
|
2848
|
-
(_a = this.component) === null || _a === void 0 ? void 0 : _a.setConfig(this.getConfig());
|
|
2849
|
-
}
|
|
2850
|
-
getConfig() {
|
|
2851
|
-
const { rects, leftLabelText, rightLabelText, labelClassName, labelFontSize } = this;
|
|
2852
|
-
const config = { rects, leftLabelText, rightLabelText, labelClassName, labelFontSize };
|
|
2853
|
-
const keys = Object.keys(config);
|
|
2854
|
-
keys.forEach(key => { if (config[key] === undefined)
|
|
2855
|
-
delete config[key]; });
|
|
2856
|
-
return config;
|
|
2857
|
-
}
|
|
2858
|
-
}
|
|
2859
|
-
VisRollingPinLegendComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisRollingPinLegendComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2860
|
-
VisRollingPinLegendComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisRollingPinLegendComponent, selector: "vis-rolling-pin-legend", inputs: { rects: "rects", leftLabelText: "leftLabelText", rightLabelText: "rightLabelText", labelClassName: "labelClassName", labelFontSize: "labelFontSize" }, providers: [{ provide: VisGenericComponent, useExisting: VisRollingPinLegendComponent }], viewQueries: [{ propertyName: "containerRef", first: true, predicate: ["container"], descendants: true }], usesOnChanges: true, ngImport: i0, template: '<div #container class="rolling-pin-legend-container"></div>', isInline: true, styles: [".rolling-pin-legend-container { }"] });
|
|
2861
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisRollingPinLegendComponent, decorators: [{
|
|
2862
|
-
type: Component,
|
|
2863
|
-
args: [{
|
|
2864
|
-
selector: 'vis-rolling-pin-legend',
|
|
2865
|
-
template: '<div #container class="rolling-pin-legend-container"></div>',
|
|
2866
|
-
styles: ['.rolling-pin-legend-container { }'],
|
|
2867
|
-
// eslint-disable-next-line no-use-before-define
|
|
2868
|
-
providers: [{ provide: VisGenericComponent, useExisting: VisRollingPinLegendComponent }],
|
|
2869
|
-
}]
|
|
2870
|
-
}], propDecorators: { containerRef: [{
|
|
2871
|
-
type: ViewChild,
|
|
2872
|
-
args: ['container', { static: false }]
|
|
2873
|
-
}], rects: [{
|
|
2874
|
-
type: Input
|
|
2875
|
-
}], leftLabelText: [{
|
|
2876
|
-
type: Input
|
|
2877
|
-
}], rightLabelText: [{
|
|
2878
|
-
type: Input
|
|
2879
|
-
}], labelClassName: [{
|
|
2880
|
-
type: Input
|
|
2881
|
-
}], labelFontSize: [{
|
|
2882
|
-
type: Input
|
|
2883
|
-
}] } });
|
|
2884
|
-
|
|
2885
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
2886
|
-
class VisRollingPinLegendModule {
|
|
2887
|
-
}
|
|
2888
|
-
VisRollingPinLegendModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisRollingPinLegendModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2889
|
-
VisRollingPinLegendModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisRollingPinLegendModule, declarations: [VisRollingPinLegendComponent], exports: [VisRollingPinLegendComponent] });
|
|
2890
|
-
VisRollingPinLegendModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisRollingPinLegendModule, imports: [[]] });
|
|
2891
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisRollingPinLegendModule, decorators: [{
|
|
2892
|
-
type: NgModule,
|
|
2893
|
-
args: [{
|
|
2894
|
-
imports: [],
|
|
2895
|
-
declarations: [VisRollingPinLegendComponent],
|
|
2896
|
-
exports: [VisRollingPinLegendComponent],
|
|
2897
|
-
}]
|
|
2898
|
-
}] });
|
|
2899
|
-
|
|
2900
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
2901
|
-
class VisTooltipModule {
|
|
2902
|
-
}
|
|
2903
|
-
VisTooltipModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisTooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2904
|
-
VisTooltipModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisTooltipModule, declarations: [VisTooltipComponent], exports: [VisTooltipComponent] });
|
|
2905
|
-
VisTooltipModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisTooltipModule, imports: [[]] });
|
|
2906
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisTooltipModule, decorators: [{
|
|
2907
|
-
type: NgModule,
|
|
2908
|
-
args: [{
|
|
2909
|
-
imports: [],
|
|
2910
|
-
declarations: [VisTooltipComponent],
|
|
2911
|
-
exports: [VisTooltipComponent],
|
|
2912
|
-
}]
|
|
2913
|
-
}] });
|
|
2914
|
-
|
|
2915
|
-
// Core
|
|
2916
|
-
|
|
2917
|
-
/**
|
|
2918
|
-
* Generated bundle index. Do not edit.
|
|
2919
|
-
*/
|
|
2920
|
-
|
|
2921
|
-
export { VisAnnotationsComponent, VisAnnotationsModule, VisAreaComponent, VisAreaModule, VisAxisComponent, VisAxisModule, VisBrushComponent, VisBrushModule, VisBulletLegendComponent, VisBulletLegendModule, VisChordDiagramComponent, VisChordDiagramModule, VisCoreComponent, VisCrosshairComponent, VisCrosshairModule, VisDonutComponent, VisDonutModule, VisFreeBrushComponent, VisFreeBrushModule, VisGenericComponent, VisGraphComponent, VisGraphModule, VisGroupedBarComponent, VisGroupedBarModule, VisLeafletFlowMapComponent, VisLeafletFlowMapModule, VisLeafletMapComponent, VisLeafletMapModule, VisLineComponent, VisLineModule, VisNestedDonutComponent, VisNestedDonutModule, VisPlotbandComponent, VisPlotbandModule, VisPlotlineComponent, VisPlotlineModule, VisRollingPinLegendComponent, VisRollingPinLegendModule, VisSankeyComponent, VisSankeyModule, VisScatterComponent, VisScatterModule, VisSingleContainerComponent, VisSingleContainerModule, VisStackedBarComponent, VisStackedBarModule, VisTimelineComponent, VisTimelineModule, VisTooltipComponent, VisTooltipModule, VisTopoJSONMapComponent, VisTopoJSONMapModule, VisXYComponent, VisXYContainerComponent, VisXYContainerModule, VisXYLabelsComponent, VisXYLabelsModule };
|
|
2922
|
-
//# sourceMappingURL=unovis-angular.js.map
|