@unovis/angular 1.0.0-beta.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.
Files changed (108) hide show
  1. package/LICENSE +193 -0
  2. package/dist/lib/LICENSE +193 -0
  3. package/dist/lib/bundles/unovis-angular.umd.js +2833 -0
  4. package/dist/lib/bundles/unovis-angular.umd.js.map +1 -0
  5. package/dist/lib/components/area/area.component.d.ts +94 -0
  6. package/dist/lib/components/area/area.module.d.ts +7 -0
  7. package/dist/lib/components/axis/axis.component.d.ts +125 -0
  8. package/dist/lib/components/axis/axis.module.d.ts +7 -0
  9. package/dist/lib/components/brush/brush.component.d.ts +104 -0
  10. package/dist/lib/components/brush/brush.module.d.ts +7 -0
  11. package/dist/lib/components/crosshair/crosshair.component.d.ts +104 -0
  12. package/dist/lib/components/crosshair/crosshair.module.d.ts +7 -0
  13. package/dist/lib/components/donut/donut.component.d.ts +86 -0
  14. package/dist/lib/components/donut/donut.module.d.ts +7 -0
  15. package/dist/lib/components/free-brush/free-brush.component.d.ts +106 -0
  16. package/dist/lib/components/free-brush/free-brush.module.d.ts +7 -0
  17. package/dist/lib/components/graph/graph.component.d.ts +190 -0
  18. package/dist/lib/components/graph/graph.module.d.ts +7 -0
  19. package/dist/lib/components/grouped-bar/grouped-bar.component.d.ts +101 -0
  20. package/dist/lib/components/grouped-bar/grouped-bar.module.d.ts +7 -0
  21. package/dist/lib/components/line/line.component.d.ts +97 -0
  22. package/dist/lib/components/line/line.module.d.ts +7 -0
  23. package/dist/lib/components/sankey/sankey.component.d.ts +164 -0
  24. package/dist/lib/components/sankey/sankey.module.d.ts +7 -0
  25. package/dist/lib/components/scatter/scatter.component.d.ts +104 -0
  26. package/dist/lib/components/scatter/scatter.module.d.ts +7 -0
  27. package/dist/lib/components/stacked-bar/stacked-bar.component.d.ts +103 -0
  28. package/dist/lib/components/stacked-bar/stacked-bar.module.d.ts +7 -0
  29. package/dist/lib/components/timeline/timeline.component.d.ts +105 -0
  30. package/dist/lib/components/timeline/timeline.module.d.ts +7 -0
  31. package/dist/lib/components/tooltip/tooltip.component.d.ts +41 -0
  32. package/dist/lib/components/tooltip/tooltip.module.d.ts +7 -0
  33. package/dist/lib/components/topojson-map/topojson-map.component.d.ts +125 -0
  34. package/dist/lib/components/topojson-map/topojson-map.module.d.ts +7 -0
  35. package/dist/lib/components/xy-labels/xy-labels.component.d.ts +107 -0
  36. package/dist/lib/components/xy-labels/xy-labels.module.d.ts +7 -0
  37. package/dist/lib/components.d.ts +39 -0
  38. package/dist/lib/containers/single-container/single-container.component.d.ts +26 -0
  39. package/dist/lib/containers/single-container/single-container.module.d.ts +7 -0
  40. package/dist/lib/containers/xy-container/xy-container.component.d.ts +80 -0
  41. package/dist/lib/containers/xy-container/xy-container.module.d.ts +7 -0
  42. package/dist/lib/containers.d.ts +4 -0
  43. package/dist/lib/core/core-component.d.ts +6 -0
  44. package/dist/lib/core/generic-component.d.ts +3 -0
  45. package/dist/lib/core/index.d.ts +3 -0
  46. package/dist/lib/core/xy-component.d.ts +6 -0
  47. package/dist/lib/esm2015/components/area/area.component.js +75 -0
  48. package/dist/lib/esm2015/components/area/area.module.js +18 -0
  49. package/dist/lib/esm2015/components/axis/axis.component.js +109 -0
  50. package/dist/lib/esm2015/components/axis/axis.module.js +18 -0
  51. package/dist/lib/esm2015/components/brush/brush.component.js +83 -0
  52. package/dist/lib/esm2015/components/brush/brush.module.js +18 -0
  53. package/dist/lib/esm2015/components/crosshair/crosshair.component.js +81 -0
  54. package/dist/lib/esm2015/components/crosshair/crosshair.module.js +18 -0
  55. package/dist/lib/esm2015/components/donut/donut.component.js +77 -0
  56. package/dist/lib/esm2015/components/donut/donut.module.js +18 -0
  57. package/dist/lib/esm2015/components/free-brush/free-brush.component.js +83 -0
  58. package/dist/lib/esm2015/components/free-brush/free-brush.module.js +18 -0
  59. package/dist/lib/esm2015/components/graph/graph.component.js +157 -0
  60. package/dist/lib/esm2015/components/graph/graph.module.js +18 -0
  61. package/dist/lib/esm2015/components/grouped-bar/grouped-bar.component.js +83 -0
  62. package/dist/lib/esm2015/components/grouped-bar/grouped-bar.module.js +18 -0
  63. package/dist/lib/esm2015/components/line/line.component.js +77 -0
  64. package/dist/lib/esm2015/components/line/line.module.js +18 -0
  65. package/dist/lib/esm2015/components/sankey/sankey.component.js +139 -0
  66. package/dist/lib/esm2015/components/sankey/sankey.module.js +18 -0
  67. package/dist/lib/esm2015/components/scatter/scatter.component.js +83 -0
  68. package/dist/lib/esm2015/components/scatter/scatter.module.js +18 -0
  69. package/dist/lib/esm2015/components/stacked-bar/stacked-bar.component.js +83 -0
  70. package/dist/lib/esm2015/components/stacked-bar/stacked-bar.module.js +18 -0
  71. package/dist/lib/esm2015/components/timeline/timeline.component.js +87 -0
  72. package/dist/lib/esm2015/components/timeline/timeline.module.js +18 -0
  73. package/dist/lib/esm2015/components/tooltip/tooltip.component.js +49 -0
  74. package/dist/lib/esm2015/components/tooltip/tooltip.module.js +18 -0
  75. package/dist/lib/esm2015/components/topojson-map/topojson-map.component.js +111 -0
  76. package/dist/lib/esm2015/components/topojson-map/topojson-map.module.js +18 -0
  77. package/dist/lib/esm2015/components/xy-labels/xy-labels.component.js +91 -0
  78. package/dist/lib/esm2015/components/xy-labels/xy-labels.module.js +18 -0
  79. package/dist/lib/esm2015/components.js +43 -0
  80. package/dist/lib/esm2015/containers/single-container/single-container.component.js +71 -0
  81. package/dist/lib/esm2015/containers/single-container/single-container.module.js +17 -0
  82. package/dist/lib/esm2015/containers/xy-container/xy-container.component.js +159 -0
  83. package/dist/lib/esm2015/containers/xy-container/xy-container.module.js +17 -0
  84. package/dist/lib/esm2015/containers.js +5 -0
  85. package/dist/lib/esm2015/core/core-component.js +4 -0
  86. package/dist/lib/esm2015/core/generic-component.js +3 -0
  87. package/dist/lib/esm2015/core/index.js +4 -0
  88. package/dist/lib/esm2015/core/xy-component.js +4 -0
  89. package/dist/lib/esm2015/html-components/bullet-legend/bullet-legend.component.js +48 -0
  90. package/dist/lib/esm2015/html-components/bullet-legend/bullet-legend.module.js +18 -0
  91. package/dist/lib/esm2015/html-components/leaflet-flow-map/leaflet-flow-map.component.js +157 -0
  92. package/dist/lib/esm2015/html-components/leaflet-flow-map/leaflet-flow-map.module.js +17 -0
  93. package/dist/lib/esm2015/html-components/leaflet-map/leaflet-map.component.js +131 -0
  94. package/dist/lib/esm2015/html-components/leaflet-map/leaflet-map.module.js +17 -0
  95. package/dist/lib/esm2015/public-api.js +3 -0
  96. package/dist/lib/esm2015/unovis-angular.js +5 -0
  97. package/dist/lib/fesm2015/unovis-angular.js +2278 -0
  98. package/dist/lib/fesm2015/unovis-angular.js.map +1 -0
  99. package/dist/lib/html-components/bullet-legend/bullet-legend.component.d.ts +24 -0
  100. package/dist/lib/html-components/bullet-legend/bullet-legend.module.d.ts +7 -0
  101. package/dist/lib/html-components/leaflet-flow-map/leaflet-flow-map.component.d.ts +197 -0
  102. package/dist/lib/html-components/leaflet-flow-map/leaflet-flow-map.module.d.ts +7 -0
  103. package/dist/lib/html-components/leaflet-map/leaflet-map.component.d.ts +168 -0
  104. package/dist/lib/html-components/leaflet-map/leaflet-map.module.d.ts +7 -0
  105. package/dist/lib/package.json +24 -0
  106. package/dist/lib/public-api.d.ts +2 -0
  107. package/dist/lib/unovis-angular.d.ts +5 -0
  108. package/package.json +44 -0
@@ -0,0 +1,2278 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Component, Input, ViewChild, ContentChildren, ContentChild, NgModule } from '@angular/core';
3
+ import { Tooltip, Direction, XYContainer, Crosshair, Axis, SingleContainer, Line, Area, Brush, FreeBrush, Donut, GroupedBar, Scatter, StackedBar, Timeline, XYLabels, TopoJSONMap, Sankey, Graph, LeafletMap, LeafletFlowMap, BulletLegend } 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, horizontalPlacement, horizontalShift, verticalPlacement, verticalShift, triggers } = this;
26
+ const config = { components, container, horizontalPlacement, horizontalShift, verticalPlacement, verticalShift, triggers };
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.0.5", ngImport: i0, type: VisTooltipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
34
+ VisTooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.5", type: VisTooltipComponent, selector: "vis-tooltip", inputs: { components: "components", container: "container", horizontalPlacement: "horizontalPlacement", horizontalShift: "horizontalShift", verticalPlacement: "verticalPlacement", verticalShift: "verticalShift", triggers: "triggers" }, providers: [{ provide: VisGenericComponent, useExisting: VisTooltipComponent }], usesOnChanges: true, ngImport: i0, template: '', isInline: true });
35
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", 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
+ }], horizontalPlacement: [{
48
+ type: Input
49
+ }], horizontalShift: [{
50
+ type: Input
51
+ }], verticalPlacement: [{
52
+ type: Input
53
+ }], verticalShift: [{
54
+ type: Input
55
+ }], triggers: [{
56
+ type: Input
57
+ }] } });
58
+
59
+ class VisXYContainerComponent {
60
+ constructor() {
61
+ /** Constraint the minimum value of the Y scale domain.
62
+ * For example, imagine that you have a chart with dynamic data that has negative values. When values are small
63
+ * (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
64
+ * be achieved by setting `yDomainMinConstraint` to `[undefined, -1]`. In addition to that, if you want to cut off the
65
+ * values that are too low (let's say lower than -100), you can set the constraint to `[-100, -1]`
66
+ * Default: `undefined` */
67
+ this.yDomainMinConstraint = undefined;
68
+ /** Y Axis direction. Default: `Direction.North` */
69
+ this.yDirection = Direction.North;
70
+ /** Animation duration of all the components within the container. Default: `undefined` */
71
+ this.duration = undefined;
72
+ /** Margins. Default: `{ top: 0, bottom: 0, left: 0, right: 0 }` */
73
+ this.margin = { top: 10, bottom: 10, left: 10, right: 10 };
74
+ /** Padding. Default: `{ top: 0, bottom: 0, left: 0, right: 0 }` */
75
+ this.padding = {};
76
+ /** Enables automatic calculation of chart margins based on the size of the axes. Default: `true` */
77
+ this.autoMargin = true;
78
+ /** Data to be passed to all child components. But if `data` is `undefined` it'll to be passed allowing components to
79
+ * have their individual data. Default: `undefined` */
80
+ this.data = undefined;
81
+ }
82
+ ngAfterViewInit() {
83
+ this.chart = new XYContainer(this.containerRef.nativeElement, this.getConfig(), this.data);
84
+ this.passContainerReferenceToChildren();
85
+ }
86
+ ngAfterContentInit() {
87
+ // QueryList does unsubscribe automatically when it gets destroyed
88
+ this.visComponents.changes.subscribe(() => {
89
+ var _a;
90
+ this.passContainerReferenceToChildren();
91
+ (_a = this.chart) === null || _a === void 0 ? void 0 : _a.updateContainer(this.getConfig());
92
+ });
93
+ }
94
+ ngOnChanges(changes) {
95
+ var _a, _b;
96
+ const preventRender = true;
97
+ // Set new Data without re-render
98
+ if (changes.data) {
99
+ (_a = this.chart) === null || _a === void 0 ? void 0 : _a.setData(this.data, preventRender);
100
+ delete changes.data;
101
+ }
102
+ // Update Container and render
103
+ (_b = this.chart) === null || _b === void 0 ? void 0 : _b.updateContainer(this.getConfig());
104
+ }
105
+ getConfig() {
106
+ var _a;
107
+ const { duration, margin, padding, scaleByDomain, autoMargin, width, height, xScale, xDomain, xDomainMinConstraint, xDomainMaxConstraint, xRange, yScale, yDomain, yDomainMinConstraint, yDomainMaxConstraint, yRange, yDirection, } = this;
108
+ const visComponents = this.visComponents.toArray().map(d => d.component);
109
+ const crosshair = visComponents.find(c => c instanceof Crosshair);
110
+ const tooltip = (_a = this.tooltipComponent) === null || _a === void 0 ? void 0 : _a.component;
111
+ 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'; });
112
+ 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'; });
113
+ const components = visComponents.filter(c => !(c instanceof Crosshair) && !(c instanceof Tooltip) && !(c instanceof Axis));
114
+ return {
115
+ components,
116
+ width,
117
+ height,
118
+ duration,
119
+ margin,
120
+ padding,
121
+ xAxis,
122
+ yAxis,
123
+ tooltip,
124
+ crosshair,
125
+ scaleByDomain,
126
+ autoMargin,
127
+ xScale,
128
+ xDomain,
129
+ xDomainMinConstraint,
130
+ xDomainMaxConstraint,
131
+ xRange,
132
+ yScale,
133
+ yDomain,
134
+ yDomainMinConstraint,
135
+ yDomainMaxConstraint,
136
+ yRange,
137
+ yDirection,
138
+ };
139
+ }
140
+ passContainerReferenceToChildren() {
141
+ // We set the container for each vis component to trigger chart re-render if the data has changed
142
+ if (this.chart)
143
+ this.visComponents.toArray().forEach(c => { c.componentContainer = this.chart; });
144
+ }
145
+ ngOnDestroy() {
146
+ var _a;
147
+ (_a = this.chart) === null || _a === void 0 ? void 0 : _a.destroy();
148
+ }
149
+ }
150
+ VisXYContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisXYContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
151
+ VisXYContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.5", 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", duration: "duration", margin: "margin", padding: "padding", scaleByDomain: "scaleByDomain", autoMargin: "autoMargin", data: "data" }, queries: [{ propertyName: "tooltipComponent", first: true, predicate: VisTooltipComponent, 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">
152
+ <ng-content></ng-content>
153
+ </div>`, isInline: true, styles: [".unovis-xy-container { width: 100%; height: 100%; position: relative; }"] });
154
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisXYContainerComponent, decorators: [{
155
+ type: Component,
156
+ args: [{
157
+ selector: 'vis-xy-container',
158
+ template: `<div #container class="unovis-xy-container">
159
+ <ng-content></ng-content>
160
+ </div>`,
161
+ styles: ['.unovis-xy-container { width: 100%; height: 100%; position: relative; }'],
162
+ }]
163
+ }], propDecorators: { containerRef: [{
164
+ type: ViewChild,
165
+ args: ['container', { static: false }]
166
+ }], visComponents: [{
167
+ type: ContentChildren,
168
+ args: [VisXYComponent]
169
+ }], tooltipComponent: [{
170
+ type: ContentChild,
171
+ args: [VisTooltipComponent]
172
+ }], width: [{
173
+ type: Input
174
+ }], height: [{
175
+ type: Input
176
+ }], xScale: [{
177
+ type: Input
178
+ }], xDomain: [{
179
+ type: Input
180
+ }], xDomainMinConstraint: [{
181
+ type: Input
182
+ }], xDomainMaxConstraint: [{
183
+ type: Input
184
+ }], xRange: [{
185
+ type: Input
186
+ }], yScale: [{
187
+ type: Input
188
+ }], yDomain: [{
189
+ type: Input
190
+ }], yDomainMinConstraint: [{
191
+ type: Input
192
+ }], yDomainMaxConstraint: [{
193
+ type: Input
194
+ }], yRange: [{
195
+ type: Input
196
+ }], yDirection: [{
197
+ type: Input
198
+ }], duration: [{
199
+ type: Input
200
+ }], margin: [{
201
+ type: Input
202
+ }], padding: [{
203
+ type: Input
204
+ }], scaleByDomain: [{
205
+ type: Input
206
+ }], autoMargin: [{
207
+ type: Input
208
+ }], data: [{
209
+ type: Input
210
+ }] } });
211
+
212
+ class VisXYContainerModule {
213
+ }
214
+ VisXYContainerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisXYContainerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
215
+ VisXYContainerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisXYContainerModule, declarations: [VisXYContainerComponent], exports: [VisXYContainerComponent] });
216
+ VisXYContainerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisXYContainerModule, imports: [[]] });
217
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisXYContainerModule, decorators: [{
218
+ type: NgModule,
219
+ args: [{
220
+ imports: [],
221
+ declarations: [VisXYContainerComponent],
222
+ exports: [VisXYContainerComponent],
223
+ }]
224
+ }] });
225
+
226
+ class VisSingleContainerComponent {
227
+ constructor() {
228
+ /** Margins. Default: `{ top: 0, bottom: 0, left: 0, right: 0 }` */
229
+ this.margin = { top: 10, bottom: 10, left: 10, right: 10 };
230
+ }
231
+ ngAfterViewInit() {
232
+ this.chart = new SingleContainer(this.containerRef.nativeElement, this.getConfig(), this.data);
233
+ // We pass the container for the component to trigger re-render if the data has changed
234
+ this.visComponent.componentContainer = this.chart;
235
+ }
236
+ ngOnChanges(changes) {
237
+ var _a, _b;
238
+ // Set new Data without re-render
239
+ if (changes.data) {
240
+ (_a = this.chart) === null || _a === void 0 ? void 0 : _a.setData(this.data, true);
241
+ delete changes.data;
242
+ }
243
+ // Update Container and render
244
+ (_b = this.chart) === null || _b === void 0 ? void 0 : _b.updateContainer(this.getConfig());
245
+ }
246
+ getConfig() {
247
+ var _a, _b;
248
+ const { width, height, duration, margin } = this;
249
+ const component = (_a = this.visComponent) === null || _a === void 0 ? void 0 : _a.component;
250
+ const tooltip = (_b = this.tooltipComponent) === null || _b === void 0 ? void 0 : _b.component;
251
+ return { width, height, duration, margin, component, tooltip };
252
+ }
253
+ ngOnDestroy() {
254
+ this.chart.destroy();
255
+ }
256
+ }
257
+ VisSingleContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisSingleContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
258
+ VisSingleContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.5", type: VisSingleContainerComponent, selector: "vis-single-container", inputs: { width: "width", height: "height", margin: "margin", duration: "duration", data: "data" }, queries: [{ propertyName: "visComponent", first: true, predicate: VisCoreComponent, descendants: true }, { propertyName: "tooltipComponent", first: true, predicate: VisTooltipComponent, descendants: true }], viewQueries: [{ propertyName: "containerRef", first: true, predicate: ["container"], descendants: true }], usesOnChanges: true, ngImport: i0, template: `<div #container class="unovis-single-container">
259
+ <ng-content></ng-content>
260
+ </div>`, isInline: true, styles: [".unovis-single-container { width: 100%; height: 100%; position: relative; }"] });
261
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisSingleContainerComponent, decorators: [{
262
+ type: Component,
263
+ args: [{
264
+ selector: 'vis-single-container',
265
+ template: `<div #container class="unovis-single-container">
266
+ <ng-content></ng-content>
267
+ </div>`,
268
+ styles: ['.unovis-single-container { width: 100%; height: 100%; position: relative; }'],
269
+ }]
270
+ }], propDecorators: { containerRef: [{
271
+ type: ViewChild,
272
+ args: ['container', { static: false }]
273
+ }], visComponent: [{
274
+ type: ContentChild,
275
+ args: [VisCoreComponent]
276
+ }], tooltipComponent: [{
277
+ type: ContentChild,
278
+ args: [VisTooltipComponent]
279
+ }], width: [{
280
+ type: Input
281
+ }], height: [{
282
+ type: Input
283
+ }], margin: [{
284
+ type: Input
285
+ }], duration: [{
286
+ type: Input
287
+ }], data: [{
288
+ type: Input
289
+ }] } });
290
+
291
+ class VisSingleContainerModule {
292
+ }
293
+ VisSingleContainerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisSingleContainerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
294
+ VisSingleContainerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisSingleContainerModule, declarations: [VisSingleContainerComponent], exports: [VisSingleContainerComponent] });
295
+ VisSingleContainerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisSingleContainerModule, imports: [[]] });
296
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisSingleContainerModule, decorators: [{
297
+ type: NgModule,
298
+ args: [{
299
+ imports: [],
300
+ declarations: [VisSingleContainerComponent],
301
+ exports: [VisSingleContainerComponent],
302
+ }]
303
+ }] });
304
+
305
+ // !!! This code was automatically generated. You should not change it !!!
306
+ class VisLineComponent {
307
+ ngAfterViewInit() {
308
+ var _a;
309
+ this.component = new Line(this.getConfig());
310
+ if (this.data) {
311
+ this.component.setData(this.data);
312
+ (_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
313
+ }
314
+ }
315
+ ngOnChanges(changes) {
316
+ var _a, _b, _c;
317
+ if (changes.data) {
318
+ (_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
319
+ }
320
+ (_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
321
+ (_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
322
+ }
323
+ getConfig() {
324
+ const { duration, events, attributes, x, y, id, color, xScale, yScale, excludeFromDomainCalculation, curveType, lineWidth, lineDashArray, fallbackValue, highlightOnHover, cursor } = this;
325
+ const config = { duration, events, attributes, x, y, id, color, xScale, yScale, excludeFromDomainCalculation, curveType, lineWidth, lineDashArray, fallbackValue, highlightOnHover, cursor };
326
+ const keys = Object.keys(config);
327
+ keys.forEach(key => { if (config[key] === undefined)
328
+ delete config[key]; });
329
+ return config;
330
+ }
331
+ }
332
+ VisLineComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisLineComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
333
+ VisLineComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.5", 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", data: "data" }, providers: [{ provide: VisXYComponent, useExisting: VisLineComponent }], usesOnChanges: true, ngImport: i0, template: '', isInline: true });
334
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisLineComponent, decorators: [{
335
+ type: Component,
336
+ args: [{
337
+ selector: 'vis-line',
338
+ template: '',
339
+ // eslint-disable-next-line no-use-before-define
340
+ providers: [{ provide: VisXYComponent, useExisting: VisLineComponent }],
341
+ }]
342
+ }], propDecorators: { duration: [{
343
+ type: Input
344
+ }], events: [{
345
+ type: Input
346
+ }], attributes: [{
347
+ type: Input
348
+ }], x: [{
349
+ type: Input
350
+ }], y: [{
351
+ type: Input
352
+ }], id: [{
353
+ type: Input
354
+ }], color: [{
355
+ type: Input
356
+ }], xScale: [{
357
+ type: Input
358
+ }], yScale: [{
359
+ type: Input
360
+ }], excludeFromDomainCalculation: [{
361
+ type: Input
362
+ }], curveType: [{
363
+ type: Input
364
+ }], lineWidth: [{
365
+ type: Input
366
+ }], lineDashArray: [{
367
+ type: Input
368
+ }], fallbackValue: [{
369
+ type: Input
370
+ }], highlightOnHover: [{
371
+ type: Input
372
+ }], cursor: [{
373
+ type: Input
374
+ }], data: [{
375
+ type: Input
376
+ }] } });
377
+
378
+ // !!! This code was automatically generated. You should not change it !!!
379
+ class VisLineModule {
380
+ }
381
+ VisLineModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisLineModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
382
+ VisLineModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisLineModule, declarations: [VisLineComponent], exports: [VisLineComponent] });
383
+ VisLineModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisLineModule, imports: [[]] });
384
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisLineModule, decorators: [{
385
+ type: NgModule,
386
+ args: [{
387
+ imports: [],
388
+ declarations: [VisLineComponent],
389
+ exports: [VisLineComponent],
390
+ }]
391
+ }] });
392
+
393
+ // !!! This code was automatically generated. You should not change it !!!
394
+ class VisAreaComponent {
395
+ ngAfterViewInit() {
396
+ var _a;
397
+ this.component = new Area(this.getConfig());
398
+ if (this.data) {
399
+ this.component.setData(this.data);
400
+ (_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
401
+ }
402
+ }
403
+ ngOnChanges(changes) {
404
+ var _a, _b, _c;
405
+ if (changes.data) {
406
+ (_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
407
+ }
408
+ (_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
409
+ (_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
410
+ }
411
+ getConfig() {
412
+ const { duration, events, attributes, x, y, id, color, xScale, yScale, excludeFromDomainCalculation, curveType, baseline, opacity, cursor, minHeight1Px } = this;
413
+ const config = { duration, events, attributes, x, y, id, color, xScale, yScale, excludeFromDomainCalculation, curveType, baseline, opacity, cursor, minHeight1Px };
414
+ const keys = Object.keys(config);
415
+ keys.forEach(key => { if (config[key] === undefined)
416
+ delete config[key]; });
417
+ return config;
418
+ }
419
+ }
420
+ VisAreaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisAreaComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
421
+ VisAreaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.5", 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", data: "data" }, providers: [{ provide: VisXYComponent, useExisting: VisAreaComponent }], usesOnChanges: true, ngImport: i0, template: '', isInline: true });
422
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisAreaComponent, decorators: [{
423
+ type: Component,
424
+ args: [{
425
+ selector: 'vis-area',
426
+ template: '',
427
+ // eslint-disable-next-line no-use-before-define
428
+ providers: [{ provide: VisXYComponent, useExisting: VisAreaComponent }],
429
+ }]
430
+ }], propDecorators: { duration: [{
431
+ type: Input
432
+ }], events: [{
433
+ type: Input
434
+ }], attributes: [{
435
+ type: Input
436
+ }], x: [{
437
+ type: Input
438
+ }], y: [{
439
+ type: Input
440
+ }], id: [{
441
+ type: Input
442
+ }], color: [{
443
+ type: Input
444
+ }], xScale: [{
445
+ type: Input
446
+ }], yScale: [{
447
+ type: Input
448
+ }], excludeFromDomainCalculation: [{
449
+ type: Input
450
+ }], curveType: [{
451
+ type: Input
452
+ }], baseline: [{
453
+ type: Input
454
+ }], opacity: [{
455
+ type: Input
456
+ }], cursor: [{
457
+ type: Input
458
+ }], minHeight1Px: [{
459
+ type: Input
460
+ }], data: [{
461
+ type: Input
462
+ }] } });
463
+
464
+ // !!! This code was automatically generated. You should not change it !!!
465
+ class VisAreaModule {
466
+ }
467
+ VisAreaModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisAreaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
468
+ VisAreaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisAreaModule, declarations: [VisAreaComponent], exports: [VisAreaComponent] });
469
+ VisAreaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisAreaModule, imports: [[]] });
470
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisAreaModule, decorators: [{
471
+ type: NgModule,
472
+ args: [{
473
+ imports: [],
474
+ declarations: [VisAreaComponent],
475
+ exports: [VisAreaComponent],
476
+ }]
477
+ }] });
478
+
479
+ // !!! This code was automatically generated. You should not change it !!!
480
+ class VisAxisComponent {
481
+ ngAfterViewInit() {
482
+ var _a;
483
+ this.component = new Axis(this.getConfig());
484
+ if (this.data) {
485
+ this.component.setData(this.data);
486
+ (_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
487
+ }
488
+ }
489
+ ngOnChanges(changes) {
490
+ var _a, _b, _c;
491
+ if (changes.data) {
492
+ (_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
493
+ }
494
+ (_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
495
+ (_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
496
+ }
497
+ getConfig() {
498
+ const { duration, events, attributes, x, y, id, color, xScale, yScale, excludeFromDomainCalculation, position, type, fullSize, label, labelFontSize, labelMargin, gridLine, tickLine, domainLine, minMaxTicksOnly, tickFormat, tickValues, numTicks, tickTextFitMode, tickTextLength, tickTextWidth, tickTextSeparator, tickTextForceWordBreak, tickTextTrimType, tickTextFontSize, tickTextAlign, tickPadding } = this;
499
+ const config = { duration, events, attributes, x, y, id, color, xScale, yScale, excludeFromDomainCalculation, position, type, fullSize, label, labelFontSize, labelMargin, gridLine, tickLine, domainLine, minMaxTicksOnly, tickFormat, tickValues, numTicks, tickTextFitMode, tickTextLength, tickTextWidth, tickTextSeparator, tickTextForceWordBreak, tickTextTrimType, tickTextFontSize, tickTextAlign, tickPadding };
500
+ const keys = Object.keys(config);
501
+ keys.forEach(key => { if (config[key] === undefined)
502
+ delete config[key]; });
503
+ return config;
504
+ }
505
+ }
506
+ VisAxisComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisAxisComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
507
+ VisAxisComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.5", type: VisAxisComponent, selector: "vis-axis", inputs: { duration: "duration", events: "events", attributes: "attributes", x: "x", y: "y", id: "id", color: "color", xScale: "xScale", yScale: "yScale", excludeFromDomainCalculation: "excludeFromDomainCalculation", position: "position", type: "type", fullSize: "fullSize", label: "label", labelFontSize: "labelFontSize", labelMargin: "labelMargin", gridLine: "gridLine", tickLine: "tickLine", domainLine: "domainLine", minMaxTicksOnly: "minMaxTicksOnly", tickFormat: "tickFormat", tickValues: "tickValues", numTicks: "numTicks", tickTextFitMode: "tickTextFitMode", tickTextLength: "tickTextLength", tickTextWidth: "tickTextWidth", tickTextSeparator: "tickTextSeparator", tickTextForceWordBreak: "tickTextForceWordBreak", tickTextTrimType: "tickTextTrimType", tickTextFontSize: "tickTextFontSize", tickTextAlign: "tickTextAlign", tickPadding: "tickPadding", data: "data" }, providers: [{ provide: VisXYComponent, useExisting: VisAxisComponent }], usesOnChanges: true, ngImport: i0, template: '', isInline: true });
508
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisAxisComponent, decorators: [{
509
+ type: Component,
510
+ args: [{
511
+ selector: 'vis-axis',
512
+ template: '',
513
+ // eslint-disable-next-line no-use-before-define
514
+ providers: [{ provide: VisXYComponent, useExisting: VisAxisComponent }],
515
+ }]
516
+ }], propDecorators: { duration: [{
517
+ type: Input
518
+ }], events: [{
519
+ type: Input
520
+ }], attributes: [{
521
+ type: Input
522
+ }], x: [{
523
+ type: Input
524
+ }], y: [{
525
+ type: Input
526
+ }], id: [{
527
+ type: Input
528
+ }], color: [{
529
+ type: Input
530
+ }], xScale: [{
531
+ type: Input
532
+ }], yScale: [{
533
+ type: Input
534
+ }], excludeFromDomainCalculation: [{
535
+ type: Input
536
+ }], position: [{
537
+ type: Input
538
+ }], type: [{
539
+ type: Input
540
+ }], fullSize: [{
541
+ type: Input
542
+ }], label: [{
543
+ type: Input
544
+ }], labelFontSize: [{
545
+ type: Input
546
+ }], labelMargin: [{
547
+ type: Input
548
+ }], gridLine: [{
549
+ type: Input
550
+ }], tickLine: [{
551
+ type: Input
552
+ }], domainLine: [{
553
+ type: Input
554
+ }], minMaxTicksOnly: [{
555
+ type: Input
556
+ }], tickFormat: [{
557
+ type: Input
558
+ }], tickValues: [{
559
+ type: Input
560
+ }], numTicks: [{
561
+ type: Input
562
+ }], tickTextFitMode: [{
563
+ type: Input
564
+ }], tickTextLength: [{
565
+ type: Input
566
+ }], tickTextWidth: [{
567
+ type: Input
568
+ }], tickTextSeparator: [{
569
+ type: Input
570
+ }], tickTextForceWordBreak: [{
571
+ type: Input
572
+ }], tickTextTrimType: [{
573
+ type: Input
574
+ }], tickTextFontSize: [{
575
+ type: Input
576
+ }], tickTextAlign: [{
577
+ type: Input
578
+ }], tickPadding: [{
579
+ type: Input
580
+ }], data: [{
581
+ type: Input
582
+ }] } });
583
+
584
+ // !!! This code was automatically generated. You should not change it !!!
585
+ class VisAxisModule {
586
+ }
587
+ VisAxisModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisAxisModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
588
+ VisAxisModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisAxisModule, declarations: [VisAxisComponent], exports: [VisAxisComponent] });
589
+ VisAxisModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisAxisModule, imports: [[]] });
590
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisAxisModule, decorators: [{
591
+ type: NgModule,
592
+ args: [{
593
+ imports: [],
594
+ declarations: [VisAxisComponent],
595
+ exports: [VisAxisComponent],
596
+ }]
597
+ }] });
598
+
599
+ // !!! This code was automatically generated. You should not change it !!!
600
+ class VisBrushComponent {
601
+ ngAfterViewInit() {
602
+ var _a;
603
+ this.component = new Brush(this.getConfig());
604
+ if (this.data) {
605
+ this.component.setData(this.data);
606
+ (_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
607
+ }
608
+ }
609
+ ngOnChanges(changes) {
610
+ var _a, _b, _c;
611
+ if (changes.data) {
612
+ (_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
613
+ }
614
+ (_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
615
+ (_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
616
+ }
617
+ getConfig() {
618
+ const { duration, events, attributes, x, y, id, color, xScale, yScale, excludeFromDomainCalculation, onBrush, onBrushStart, onBrushMove, onBrushEnd, handleWidth, selection, draggable, handlePosition, selectionMinLength } = this;
619
+ const config = { duration, events, attributes, x, y, id, color, xScale, yScale, excludeFromDomainCalculation, onBrush, onBrushStart, onBrushMove, onBrushEnd, handleWidth, selection, draggable, handlePosition, selectionMinLength };
620
+ const keys = Object.keys(config);
621
+ keys.forEach(key => { if (config[key] === undefined)
622
+ delete config[key]; });
623
+ return config;
624
+ }
625
+ }
626
+ VisBrushComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisBrushComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
627
+ VisBrushComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.5", type: VisBrushComponent, selector: "vis-brush", inputs: { duration: "duration", events: "events", attributes: "attributes", x: "x", y: "y", id: "id", color: "color", xScale: "xScale", yScale: "yScale", excludeFromDomainCalculation: "excludeFromDomainCalculation", 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 });
628
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisBrushComponent, decorators: [{
629
+ type: Component,
630
+ args: [{
631
+ selector: 'vis-brush',
632
+ template: '',
633
+ // eslint-disable-next-line no-use-before-define
634
+ providers: [{ provide: VisXYComponent, useExisting: VisBrushComponent }],
635
+ }]
636
+ }], propDecorators: { duration: [{
637
+ type: Input
638
+ }], events: [{
639
+ type: Input
640
+ }], attributes: [{
641
+ type: Input
642
+ }], x: [{
643
+ type: Input
644
+ }], y: [{
645
+ type: Input
646
+ }], id: [{
647
+ type: Input
648
+ }], color: [{
649
+ type: Input
650
+ }], xScale: [{
651
+ type: Input
652
+ }], yScale: [{
653
+ type: Input
654
+ }], excludeFromDomainCalculation: [{
655
+ type: Input
656
+ }], onBrush: [{
657
+ type: Input
658
+ }], onBrushStart: [{
659
+ type: Input
660
+ }], onBrushMove: [{
661
+ type: Input
662
+ }], onBrushEnd: [{
663
+ type: Input
664
+ }], handleWidth: [{
665
+ type: Input
666
+ }], selection: [{
667
+ type: Input
668
+ }], draggable: [{
669
+ type: Input
670
+ }], handlePosition: [{
671
+ type: Input
672
+ }], selectionMinLength: [{
673
+ type: Input
674
+ }], data: [{
675
+ type: Input
676
+ }] } });
677
+
678
+ // !!! This code was automatically generated. You should not change it !!!
679
+ class VisBrushModule {
680
+ }
681
+ VisBrushModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisBrushModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
682
+ VisBrushModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisBrushModule, declarations: [VisBrushComponent], exports: [VisBrushComponent] });
683
+ VisBrushModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisBrushModule, imports: [[]] });
684
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisBrushModule, decorators: [{
685
+ type: NgModule,
686
+ args: [{
687
+ imports: [],
688
+ declarations: [VisBrushComponent],
689
+ exports: [VisBrushComponent],
690
+ }]
691
+ }] });
692
+
693
+ // !!! This code was automatically generated. You should not change it !!!
694
+ class VisFreeBrushComponent {
695
+ ngAfterViewInit() {
696
+ var _a;
697
+ this.component = new FreeBrush(this.getConfig());
698
+ if (this.data) {
699
+ this.component.setData(this.data);
700
+ (_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
701
+ }
702
+ }
703
+ ngOnChanges(changes) {
704
+ var _a, _b, _c;
705
+ if (changes.data) {
706
+ (_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
707
+ }
708
+ (_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
709
+ (_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
710
+ }
711
+ getConfig() {
712
+ const { duration, events, attributes, x, y, id, color, xScale, yScale, excludeFromDomainCalculation, mode, onBrush, onBrushStart, onBrushMove, onBrushEnd, handleWidth, selection, selectionMinLength, autoHide } = this;
713
+ const config = { duration, events, attributes, x, y, id, color, xScale, yScale, excludeFromDomainCalculation, mode, onBrush, onBrushStart, onBrushMove, onBrushEnd, handleWidth, selection, selectionMinLength, autoHide };
714
+ const keys = Object.keys(config);
715
+ keys.forEach(key => { if (config[key] === undefined)
716
+ delete config[key]; });
717
+ return config;
718
+ }
719
+ }
720
+ VisFreeBrushComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisFreeBrushComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
721
+ VisFreeBrushComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.5", type: VisFreeBrushComponent, selector: "vis-free-brush", inputs: { duration: "duration", events: "events", attributes: "attributes", x: "x", y: "y", id: "id", color: "color", xScale: "xScale", yScale: "yScale", excludeFromDomainCalculation: "excludeFromDomainCalculation", 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 });
722
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisFreeBrushComponent, decorators: [{
723
+ type: Component,
724
+ args: [{
725
+ selector: 'vis-free-brush',
726
+ template: '',
727
+ // eslint-disable-next-line no-use-before-define
728
+ providers: [{ provide: VisXYComponent, useExisting: VisFreeBrushComponent }],
729
+ }]
730
+ }], propDecorators: { duration: [{
731
+ type: Input
732
+ }], events: [{
733
+ type: Input
734
+ }], attributes: [{
735
+ type: Input
736
+ }], x: [{
737
+ type: Input
738
+ }], y: [{
739
+ type: Input
740
+ }], id: [{
741
+ type: Input
742
+ }], color: [{
743
+ type: Input
744
+ }], xScale: [{
745
+ type: Input
746
+ }], yScale: [{
747
+ type: Input
748
+ }], excludeFromDomainCalculation: [{
749
+ type: Input
750
+ }], mode: [{
751
+ type: Input
752
+ }], onBrush: [{
753
+ type: Input
754
+ }], onBrushStart: [{
755
+ type: Input
756
+ }], onBrushMove: [{
757
+ type: Input
758
+ }], onBrushEnd: [{
759
+ type: Input
760
+ }], handleWidth: [{
761
+ type: Input
762
+ }], selection: [{
763
+ type: Input
764
+ }], selectionMinLength: [{
765
+ type: Input
766
+ }], autoHide: [{
767
+ type: Input
768
+ }], data: [{
769
+ type: Input
770
+ }] } });
771
+
772
+ // !!! This code was automatically generated. You should not change it !!!
773
+ class VisFreeBrushModule {
774
+ }
775
+ VisFreeBrushModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisFreeBrushModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
776
+ VisFreeBrushModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisFreeBrushModule, declarations: [VisFreeBrushComponent], exports: [VisFreeBrushComponent] });
777
+ VisFreeBrushModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisFreeBrushModule, imports: [[]] });
778
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisFreeBrushModule, decorators: [{
779
+ type: NgModule,
780
+ args: [{
781
+ imports: [],
782
+ declarations: [VisFreeBrushComponent],
783
+ exports: [VisFreeBrushComponent],
784
+ }]
785
+ }] });
786
+
787
+ // !!! This code was automatically generated. You should not change it !!!
788
+ class VisCrosshairComponent {
789
+ ngAfterViewInit() {
790
+ var _a;
791
+ this.component = new Crosshair(this.getConfig());
792
+ if (this.data) {
793
+ this.component.setData(this.data);
794
+ (_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
795
+ }
796
+ }
797
+ ngOnChanges(changes) {
798
+ var _a, _b, _c;
799
+ if (changes.data) {
800
+ (_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
801
+ }
802
+ (_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
803
+ (_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
804
+ }
805
+ getConfig() {
806
+ const { duration, events, attributes, x, y, id, color, xScale, yScale, excludeFromDomainCalculation, yStacked, baseline, tooltip, template, hideWhenFarFromPointer, hideWhenFarFromPointerDistance, snapToData, getCircles } = this;
807
+ const config = { duration, events, attributes, x, y, id, color, xScale, yScale, excludeFromDomainCalculation, yStacked, baseline, tooltip, template, hideWhenFarFromPointer, hideWhenFarFromPointerDistance, snapToData, getCircles };
808
+ const keys = Object.keys(config);
809
+ keys.forEach(key => { if (config[key] === undefined)
810
+ delete config[key]; });
811
+ return config;
812
+ }
813
+ }
814
+ VisCrosshairComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisCrosshairComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
815
+ VisCrosshairComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.5", 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", yStacked: "yStacked", baseline: "baseline", tooltip: "tooltip", template: "template", hideWhenFarFromPointer: "hideWhenFarFromPointer", hideWhenFarFromPointerDistance: "hideWhenFarFromPointerDistance", snapToData: "snapToData", getCircles: "getCircles", data: "data" }, providers: [{ provide: VisXYComponent, useExisting: VisCrosshairComponent }], usesOnChanges: true, ngImport: i0, template: '', isInline: true });
816
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisCrosshairComponent, decorators: [{
817
+ type: Component,
818
+ args: [{
819
+ selector: 'vis-crosshair',
820
+ template: '',
821
+ // eslint-disable-next-line no-use-before-define
822
+ providers: [{ provide: VisXYComponent, useExisting: VisCrosshairComponent }],
823
+ }]
824
+ }], propDecorators: { duration: [{
825
+ type: Input
826
+ }], events: [{
827
+ type: Input
828
+ }], attributes: [{
829
+ type: Input
830
+ }], x: [{
831
+ type: Input
832
+ }], y: [{
833
+ type: Input
834
+ }], id: [{
835
+ type: Input
836
+ }], color: [{
837
+ type: Input
838
+ }], xScale: [{
839
+ type: Input
840
+ }], yScale: [{
841
+ type: Input
842
+ }], excludeFromDomainCalculation: [{
843
+ type: Input
844
+ }], yStacked: [{
845
+ type: Input
846
+ }], baseline: [{
847
+ type: Input
848
+ }], tooltip: [{
849
+ type: Input
850
+ }], template: [{
851
+ type: Input
852
+ }], hideWhenFarFromPointer: [{
853
+ type: Input
854
+ }], hideWhenFarFromPointerDistance: [{
855
+ type: Input
856
+ }], snapToData: [{
857
+ type: Input
858
+ }], getCircles: [{
859
+ type: Input
860
+ }], data: [{
861
+ type: Input
862
+ }] } });
863
+
864
+ // !!! This code was automatically generated. You should not change it !!!
865
+ class VisCrosshairModule {
866
+ }
867
+ VisCrosshairModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisCrosshairModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
868
+ VisCrosshairModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisCrosshairModule, declarations: [VisCrosshairComponent], exports: [VisCrosshairComponent] });
869
+ VisCrosshairModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisCrosshairModule, imports: [[]] });
870
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisCrosshairModule, decorators: [{
871
+ type: NgModule,
872
+ args: [{
873
+ imports: [],
874
+ declarations: [VisCrosshairComponent],
875
+ exports: [VisCrosshairComponent],
876
+ }]
877
+ }] });
878
+
879
+ // !!! This code was automatically generated. You should not change it !!!
880
+ class VisDonutComponent {
881
+ ngAfterViewInit() {
882
+ var _a;
883
+ this.component = new Donut(this.getConfig());
884
+ if (this.data) {
885
+ this.component.setData(this.data);
886
+ (_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
887
+ }
888
+ }
889
+ ngOnChanges(changes) {
890
+ var _a, _b, _c;
891
+ if (changes.data) {
892
+ (_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
893
+ }
894
+ (_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
895
+ (_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
896
+ }
897
+ getConfig() {
898
+ const { duration, events, attributes, id, value, angleRange, padAngle, sortFunction, cornerRadius, color, radius, arcWidth, centralLabel, centralSubLabel, centralSubLabelWrap, preventEmptySegments } = this;
899
+ const config = { duration, events, attributes, id, value, angleRange, padAngle, sortFunction, cornerRadius, color, radius, arcWidth, centralLabel, centralSubLabel, centralSubLabelWrap, preventEmptySegments };
900
+ const keys = Object.keys(config);
901
+ keys.forEach(key => { if (config[key] === undefined)
902
+ delete config[key]; });
903
+ return config;
904
+ }
905
+ }
906
+ VisDonutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisDonutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
907
+ VisDonutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.5", 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", preventEmptySegments: "preventEmptySegments", data: "data" }, providers: [{ provide: VisCoreComponent, useExisting: VisDonutComponent }], usesOnChanges: true, ngImport: i0, template: '', isInline: true });
908
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisDonutComponent, decorators: [{
909
+ type: Component,
910
+ args: [{
911
+ selector: 'vis-donut',
912
+ template: '',
913
+ // eslint-disable-next-line no-use-before-define
914
+ providers: [{ provide: VisCoreComponent, useExisting: VisDonutComponent }],
915
+ }]
916
+ }], propDecorators: { duration: [{
917
+ type: Input
918
+ }], events: [{
919
+ type: Input
920
+ }], attributes: [{
921
+ type: Input
922
+ }], id: [{
923
+ type: Input
924
+ }], value: [{
925
+ type: Input
926
+ }], angleRange: [{
927
+ type: Input
928
+ }], padAngle: [{
929
+ type: Input
930
+ }], sortFunction: [{
931
+ type: Input
932
+ }], cornerRadius: [{
933
+ type: Input
934
+ }], color: [{
935
+ type: Input
936
+ }], radius: [{
937
+ type: Input
938
+ }], arcWidth: [{
939
+ type: Input
940
+ }], centralLabel: [{
941
+ type: Input
942
+ }], centralSubLabel: [{
943
+ type: Input
944
+ }], centralSubLabelWrap: [{
945
+ type: Input
946
+ }], preventEmptySegments: [{
947
+ type: Input
948
+ }], data: [{
949
+ type: Input
950
+ }] } });
951
+
952
+ // !!! This code was automatically generated. You should not change it !!!
953
+ class VisDonutModule {
954
+ }
955
+ VisDonutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisDonutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
956
+ VisDonutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisDonutModule, declarations: [VisDonutComponent], exports: [VisDonutComponent] });
957
+ VisDonutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisDonutModule, imports: [[]] });
958
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisDonutModule, decorators: [{
959
+ type: NgModule,
960
+ args: [{
961
+ imports: [],
962
+ declarations: [VisDonutComponent],
963
+ exports: [VisDonutComponent],
964
+ }]
965
+ }] });
966
+
967
+ // !!! This code was automatically generated. You should not change it !!!
968
+ class VisGroupedBarComponent {
969
+ ngAfterViewInit() {
970
+ var _a;
971
+ this.component = new GroupedBar(this.getConfig());
972
+ if (this.data) {
973
+ this.component.setData(this.data);
974
+ (_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
975
+ }
976
+ }
977
+ ngOnChanges(changes) {
978
+ var _a, _b, _c;
979
+ if (changes.data) {
980
+ (_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
981
+ }
982
+ (_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
983
+ (_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
984
+ }
985
+ getConfig() {
986
+ const { duration, events, attributes, x, y, id, color, xScale, yScale, excludeFromDomainCalculation, groupWidth, groupMaxWidth, dataStep, groupPadding, barPadding, roundedCorners, barMinHeight, cursor, orientation } = this;
987
+ const config = { duration, events, attributes, x, y, id, color, xScale, yScale, excludeFromDomainCalculation, groupWidth, groupMaxWidth, dataStep, groupPadding, barPadding, roundedCorners, barMinHeight, cursor, orientation };
988
+ const keys = Object.keys(config);
989
+ keys.forEach(key => { if (config[key] === undefined)
990
+ delete config[key]; });
991
+ return config;
992
+ }
993
+ }
994
+ VisGroupedBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisGroupedBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
995
+ VisGroupedBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.5", 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 });
996
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisGroupedBarComponent, decorators: [{
997
+ type: Component,
998
+ args: [{
999
+ selector: 'vis-grouped-bar',
1000
+ template: '',
1001
+ // eslint-disable-next-line no-use-before-define
1002
+ providers: [{ provide: VisXYComponent, useExisting: VisGroupedBarComponent }],
1003
+ }]
1004
+ }], propDecorators: { duration: [{
1005
+ type: Input
1006
+ }], events: [{
1007
+ type: Input
1008
+ }], attributes: [{
1009
+ type: Input
1010
+ }], x: [{
1011
+ type: Input
1012
+ }], y: [{
1013
+ type: Input
1014
+ }], id: [{
1015
+ type: Input
1016
+ }], color: [{
1017
+ type: Input
1018
+ }], xScale: [{
1019
+ type: Input
1020
+ }], yScale: [{
1021
+ type: Input
1022
+ }], excludeFromDomainCalculation: [{
1023
+ type: Input
1024
+ }], groupWidth: [{
1025
+ type: Input
1026
+ }], groupMaxWidth: [{
1027
+ type: Input
1028
+ }], dataStep: [{
1029
+ type: Input
1030
+ }], groupPadding: [{
1031
+ type: Input
1032
+ }], barPadding: [{
1033
+ type: Input
1034
+ }], roundedCorners: [{
1035
+ type: Input
1036
+ }], barMinHeight: [{
1037
+ type: Input
1038
+ }], cursor: [{
1039
+ type: Input
1040
+ }], orientation: [{
1041
+ type: Input
1042
+ }], data: [{
1043
+ type: Input
1044
+ }] } });
1045
+
1046
+ // !!! This code was automatically generated. You should not change it !!!
1047
+ class VisGroupedBarModule {
1048
+ }
1049
+ VisGroupedBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisGroupedBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1050
+ VisGroupedBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisGroupedBarModule, declarations: [VisGroupedBarComponent], exports: [VisGroupedBarComponent] });
1051
+ VisGroupedBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisGroupedBarModule, imports: [[]] });
1052
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisGroupedBarModule, decorators: [{
1053
+ type: NgModule,
1054
+ args: [{
1055
+ imports: [],
1056
+ declarations: [VisGroupedBarComponent],
1057
+ exports: [VisGroupedBarComponent],
1058
+ }]
1059
+ }] });
1060
+
1061
+ // !!! This code was automatically generated. You should not change it !!!
1062
+ class VisScatterComponent {
1063
+ ngAfterViewInit() {
1064
+ var _a;
1065
+ this.component = new Scatter(this.getConfig());
1066
+ if (this.data) {
1067
+ this.component.setData(this.data);
1068
+ (_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
1069
+ }
1070
+ }
1071
+ ngOnChanges(changes) {
1072
+ var _a, _b, _c;
1073
+ if (changes.data) {
1074
+ (_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
1075
+ }
1076
+ (_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
1077
+ (_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
1078
+ }
1079
+ getConfig() {
1080
+ const { duration, events, attributes, x, y, id, color, xScale, yScale, excludeFromDomainCalculation, size, sizeScale, sizeRange, shape, label, labelColor, cursor, labelTextBrightnessRatio, labelPosition } = this;
1081
+ const config = { duration, events, attributes, x, y, id, color, xScale, yScale, excludeFromDomainCalculation, size, sizeScale, sizeRange, shape, label, labelColor, cursor, labelTextBrightnessRatio, labelPosition };
1082
+ const keys = Object.keys(config);
1083
+ keys.forEach(key => { if (config[key] === undefined)
1084
+ delete config[key]; });
1085
+ return config;
1086
+ }
1087
+ }
1088
+ VisScatterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisScatterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1089
+ VisScatterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.5", 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", cursor: "cursor", labelTextBrightnessRatio: "labelTextBrightnessRatio", labelPosition: "labelPosition", data: "data" }, providers: [{ provide: VisXYComponent, useExisting: VisScatterComponent }], usesOnChanges: true, ngImport: i0, template: '', isInline: true });
1090
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisScatterComponent, decorators: [{
1091
+ type: Component,
1092
+ args: [{
1093
+ selector: 'vis-scatter',
1094
+ template: '',
1095
+ // eslint-disable-next-line no-use-before-define
1096
+ providers: [{ provide: VisXYComponent, useExisting: VisScatterComponent }],
1097
+ }]
1098
+ }], propDecorators: { duration: [{
1099
+ type: Input
1100
+ }], events: [{
1101
+ type: Input
1102
+ }], attributes: [{
1103
+ type: Input
1104
+ }], x: [{
1105
+ type: Input
1106
+ }], y: [{
1107
+ type: Input
1108
+ }], id: [{
1109
+ type: Input
1110
+ }], color: [{
1111
+ type: Input
1112
+ }], xScale: [{
1113
+ type: Input
1114
+ }], yScale: [{
1115
+ type: Input
1116
+ }], excludeFromDomainCalculation: [{
1117
+ type: Input
1118
+ }], size: [{
1119
+ type: Input
1120
+ }], sizeScale: [{
1121
+ type: Input
1122
+ }], sizeRange: [{
1123
+ type: Input
1124
+ }], shape: [{
1125
+ type: Input
1126
+ }], label: [{
1127
+ type: Input
1128
+ }], labelColor: [{
1129
+ type: Input
1130
+ }], cursor: [{
1131
+ type: Input
1132
+ }], labelTextBrightnessRatio: [{
1133
+ type: Input
1134
+ }], labelPosition: [{
1135
+ type: Input
1136
+ }], data: [{
1137
+ type: Input
1138
+ }] } });
1139
+
1140
+ // !!! This code was automatically generated. You should not change it !!!
1141
+ class VisScatterModule {
1142
+ }
1143
+ VisScatterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisScatterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1144
+ VisScatterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisScatterModule, declarations: [VisScatterComponent], exports: [VisScatterComponent] });
1145
+ VisScatterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisScatterModule, imports: [[]] });
1146
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisScatterModule, decorators: [{
1147
+ type: NgModule,
1148
+ args: [{
1149
+ imports: [],
1150
+ declarations: [VisScatterComponent],
1151
+ exports: [VisScatterComponent],
1152
+ }]
1153
+ }] });
1154
+
1155
+ // !!! This code was automatically generated. You should not change it !!!
1156
+ class VisStackedBarComponent {
1157
+ ngAfterViewInit() {
1158
+ var _a;
1159
+ this.component = new StackedBar(this.getConfig());
1160
+ if (this.data) {
1161
+ this.component.setData(this.data);
1162
+ (_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
1163
+ }
1164
+ }
1165
+ ngOnChanges(changes) {
1166
+ var _a, _b, _c;
1167
+ if (changes.data) {
1168
+ (_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
1169
+ }
1170
+ (_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
1171
+ (_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
1172
+ }
1173
+ getConfig() {
1174
+ const { duration, events, attributes, x, y, id, color, xScale, yScale, excludeFromDomainCalculation, barWidth, barMaxWidth, dataStep, barPadding, roundedCorners, cursor, barMinHeight1Px, barMinHeightZeroValue, orientation } = this;
1175
+ const config = { duration, events, attributes, x, y, id, color, xScale, yScale, excludeFromDomainCalculation, barWidth, barMaxWidth, dataStep, barPadding, roundedCorners, cursor, barMinHeight1Px, barMinHeightZeroValue, orientation };
1176
+ const keys = Object.keys(config);
1177
+ keys.forEach(key => { if (config[key] === undefined)
1178
+ delete config[key]; });
1179
+ return config;
1180
+ }
1181
+ }
1182
+ VisStackedBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisStackedBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1183
+ VisStackedBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.5", 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 });
1184
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisStackedBarComponent, decorators: [{
1185
+ type: Component,
1186
+ args: [{
1187
+ selector: 'vis-stacked-bar',
1188
+ template: '',
1189
+ // eslint-disable-next-line no-use-before-define
1190
+ providers: [{ provide: VisXYComponent, useExisting: VisStackedBarComponent }],
1191
+ }]
1192
+ }], propDecorators: { duration: [{
1193
+ type: Input
1194
+ }], events: [{
1195
+ type: Input
1196
+ }], attributes: [{
1197
+ type: Input
1198
+ }], x: [{
1199
+ type: Input
1200
+ }], y: [{
1201
+ type: Input
1202
+ }], id: [{
1203
+ type: Input
1204
+ }], color: [{
1205
+ type: Input
1206
+ }], xScale: [{
1207
+ type: Input
1208
+ }], yScale: [{
1209
+ type: Input
1210
+ }], excludeFromDomainCalculation: [{
1211
+ type: Input
1212
+ }], barWidth: [{
1213
+ type: Input
1214
+ }], barMaxWidth: [{
1215
+ type: Input
1216
+ }], dataStep: [{
1217
+ type: Input
1218
+ }], barPadding: [{
1219
+ type: Input
1220
+ }], roundedCorners: [{
1221
+ type: Input
1222
+ }], cursor: [{
1223
+ type: Input
1224
+ }], barMinHeight1Px: [{
1225
+ type: Input
1226
+ }], barMinHeightZeroValue: [{
1227
+ type: Input
1228
+ }], orientation: [{
1229
+ type: Input
1230
+ }], data: [{
1231
+ type: Input
1232
+ }] } });
1233
+
1234
+ // !!! This code was automatically generated. You should not change it !!!
1235
+ class VisStackedBarModule {
1236
+ }
1237
+ VisStackedBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisStackedBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1238
+ VisStackedBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisStackedBarModule, declarations: [VisStackedBarComponent], exports: [VisStackedBarComponent] });
1239
+ VisStackedBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisStackedBarModule, imports: [[]] });
1240
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisStackedBarModule, decorators: [{
1241
+ type: NgModule,
1242
+ args: [{
1243
+ imports: [],
1244
+ declarations: [VisStackedBarComponent],
1245
+ exports: [VisStackedBarComponent],
1246
+ }]
1247
+ }] });
1248
+
1249
+ // !!! This code was automatically generated. You should not change it !!!
1250
+ class VisTimelineComponent {
1251
+ ngAfterViewInit() {
1252
+ var _a;
1253
+ this.component = new Timeline(this.getConfig());
1254
+ if (this.data) {
1255
+ this.component.setData(this.data);
1256
+ (_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
1257
+ }
1258
+ }
1259
+ ngOnChanges(changes) {
1260
+ var _a, _b, _c;
1261
+ if (changes.data) {
1262
+ (_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
1263
+ }
1264
+ (_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
1265
+ (_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
1266
+ }
1267
+ getConfig() {
1268
+ const { duration, events, attributes, x, y, id, color, xScale, yScale, excludeFromDomainCalculation, lineWidth, lineCap, rowHeight, length, type, cursor, showLabels, labelWidth, maxLabelWidth, alternatingRowColors, onScroll } = this;
1269
+ const config = { duration, events, attributes, x, y, id, color, xScale, yScale, excludeFromDomainCalculation, lineWidth, lineCap, rowHeight, length, type, cursor, showLabels, labelWidth, maxLabelWidth, alternatingRowColors, onScroll };
1270
+ const keys = Object.keys(config);
1271
+ keys.forEach(key => { if (config[key] === undefined)
1272
+ delete config[key]; });
1273
+ return config;
1274
+ }
1275
+ }
1276
+ VisTimelineComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisTimelineComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1277
+ VisTimelineComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.5", type: VisTimelineComponent, selector: "vis-timeline", inputs: { duration: "duration", events: "events", attributes: "attributes", x: "x", y: "y", id: "id", color: "color", xScale: "xScale", yScale: "yScale", excludeFromDomainCalculation: "excludeFromDomainCalculation", lineWidth: "lineWidth", lineCap: "lineCap", rowHeight: "rowHeight", length: "length", type: "type", cursor: "cursor", showLabels: "showLabels", labelWidth: "labelWidth", maxLabelWidth: "maxLabelWidth", alternatingRowColors: "alternatingRowColors", onScroll: "onScroll", data: "data" }, providers: [{ provide: VisXYComponent, useExisting: VisTimelineComponent }], usesOnChanges: true, ngImport: i0, template: '', isInline: true });
1278
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisTimelineComponent, decorators: [{
1279
+ type: Component,
1280
+ args: [{
1281
+ selector: 'vis-timeline',
1282
+ template: '',
1283
+ // eslint-disable-next-line no-use-before-define
1284
+ providers: [{ provide: VisXYComponent, useExisting: VisTimelineComponent }],
1285
+ }]
1286
+ }], propDecorators: { duration: [{
1287
+ type: Input
1288
+ }], events: [{
1289
+ type: Input
1290
+ }], attributes: [{
1291
+ type: Input
1292
+ }], x: [{
1293
+ type: Input
1294
+ }], y: [{
1295
+ type: Input
1296
+ }], id: [{
1297
+ type: Input
1298
+ }], color: [{
1299
+ type: Input
1300
+ }], xScale: [{
1301
+ type: Input
1302
+ }], yScale: [{
1303
+ type: Input
1304
+ }], excludeFromDomainCalculation: [{
1305
+ type: Input
1306
+ }], lineWidth: [{
1307
+ type: Input
1308
+ }], lineCap: [{
1309
+ type: Input
1310
+ }], rowHeight: [{
1311
+ type: Input
1312
+ }], length: [{
1313
+ type: Input
1314
+ }], type: [{
1315
+ type: Input
1316
+ }], cursor: [{
1317
+ type: Input
1318
+ }], showLabels: [{
1319
+ type: Input
1320
+ }], labelWidth: [{
1321
+ type: Input
1322
+ }], maxLabelWidth: [{
1323
+ type: Input
1324
+ }], alternatingRowColors: [{
1325
+ type: Input
1326
+ }], onScroll: [{
1327
+ type: Input
1328
+ }], data: [{
1329
+ type: Input
1330
+ }] } });
1331
+
1332
+ // !!! This code was automatically generated. You should not change it !!!
1333
+ class VisTimelineModule {
1334
+ }
1335
+ VisTimelineModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisTimelineModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1336
+ VisTimelineModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisTimelineModule, declarations: [VisTimelineComponent], exports: [VisTimelineComponent] });
1337
+ VisTimelineModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisTimelineModule, imports: [[]] });
1338
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisTimelineModule, decorators: [{
1339
+ type: NgModule,
1340
+ args: [{
1341
+ imports: [],
1342
+ declarations: [VisTimelineComponent],
1343
+ exports: [VisTimelineComponent],
1344
+ }]
1345
+ }] });
1346
+
1347
+ // !!! This code was automatically generated. You should not change it !!!
1348
+ class VisXYLabelsComponent {
1349
+ ngAfterViewInit() {
1350
+ var _a;
1351
+ this.component = new XYLabels(this.getConfig());
1352
+ if (this.data) {
1353
+ this.component.setData(this.data);
1354
+ (_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
1355
+ }
1356
+ }
1357
+ ngOnChanges(changes) {
1358
+ var _a, _b, _c;
1359
+ if (changes.data) {
1360
+ (_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
1361
+ }
1362
+ (_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
1363
+ (_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
1364
+ }
1365
+ getConfig() {
1366
+ 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;
1367
+ 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 };
1368
+ const keys = Object.keys(config);
1369
+ keys.forEach(key => { if (config[key] === undefined)
1370
+ delete config[key]; });
1371
+ return config;
1372
+ }
1373
+ }
1374
+ VisXYLabelsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisXYLabelsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1375
+ VisXYLabelsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.5", 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 });
1376
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisXYLabelsComponent, decorators: [{
1377
+ type: Component,
1378
+ args: [{
1379
+ selector: 'vis-xy-labels',
1380
+ template: '',
1381
+ // eslint-disable-next-line no-use-before-define
1382
+ providers: [{ provide: VisXYComponent, useExisting: VisXYLabelsComponent }],
1383
+ }]
1384
+ }], propDecorators: { duration: [{
1385
+ type: Input
1386
+ }], events: [{
1387
+ type: Input
1388
+ }], attributes: [{
1389
+ type: Input
1390
+ }], x: [{
1391
+ type: Input
1392
+ }], y: [{
1393
+ type: Input
1394
+ }], id: [{
1395
+ type: Input
1396
+ }], color: [{
1397
+ type: Input
1398
+ }], xScale: [{
1399
+ type: Input
1400
+ }], yScale: [{
1401
+ type: Input
1402
+ }], excludeFromDomainCalculation: [{
1403
+ type: Input
1404
+ }], xPositioning: [{
1405
+ type: Input
1406
+ }], yPositioning: [{
1407
+ type: Input
1408
+ }], labelFontSize: [{
1409
+ type: Input
1410
+ }], label: [{
1411
+ type: Input
1412
+ }], backgroundColor: [{
1413
+ type: Input
1414
+ }], cursor: [{
1415
+ type: Input
1416
+ }], labelTextBrightnessRatio: [{
1417
+ type: Input
1418
+ }], clustering: [{
1419
+ type: Input
1420
+ }], clusterLabel: [{
1421
+ type: Input
1422
+ }], clusterFontSize: [{
1423
+ type: Input
1424
+ }], clusterBackgroundColor: [{
1425
+ type: Input
1426
+ }], clusterCursor: [{
1427
+ type: Input
1428
+ }], clusterLabelColor: [{
1429
+ type: Input
1430
+ }], data: [{
1431
+ type: Input
1432
+ }] } });
1433
+
1434
+ // !!! This code was automatically generated. You should not change it !!!
1435
+ class VisXYLabelsModule {
1436
+ }
1437
+ VisXYLabelsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisXYLabelsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1438
+ VisXYLabelsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisXYLabelsModule, declarations: [VisXYLabelsComponent], exports: [VisXYLabelsComponent] });
1439
+ VisXYLabelsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisXYLabelsModule, imports: [[]] });
1440
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisXYLabelsModule, decorators: [{
1441
+ type: NgModule,
1442
+ args: [{
1443
+ imports: [],
1444
+ declarations: [VisXYLabelsComponent],
1445
+ exports: [VisXYLabelsComponent],
1446
+ }]
1447
+ }] });
1448
+
1449
+ // !!! This code was automatically generated. You should not change it !!!
1450
+ class VisTopoJSONMapComponent {
1451
+ ngAfterViewInit() {
1452
+ var _a;
1453
+ this.component = new TopoJSONMap(this.getConfig());
1454
+ if (this.data) {
1455
+ this.component.setData(this.data);
1456
+ (_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
1457
+ }
1458
+ }
1459
+ ngOnChanges(changes) {
1460
+ var _a, _b, _c;
1461
+ if (changes.data) {
1462
+ (_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
1463
+ }
1464
+ (_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
1465
+ (_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
1466
+ }
1467
+ getConfig() {
1468
+ 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;
1469
+ 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 };
1470
+ const keys = Object.keys(config);
1471
+ keys.forEach(key => { if (config[key] === undefined)
1472
+ delete config[key]; });
1473
+ return config;
1474
+ }
1475
+ }
1476
+ VisTopoJSONMapComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisTopoJSONMapComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1477
+ VisTopoJSONMapComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.5", 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 });
1478
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisTopoJSONMapComponent, decorators: [{
1479
+ type: Component,
1480
+ args: [{
1481
+ selector: 'vis-topojson-map',
1482
+ template: '',
1483
+ // eslint-disable-next-line no-use-before-define
1484
+ providers: [{ provide: VisCoreComponent, useExisting: VisTopoJSONMapComponent }],
1485
+ }]
1486
+ }], propDecorators: { duration: [{
1487
+ type: Input
1488
+ }], events: [{
1489
+ type: Input
1490
+ }], attributes: [{
1491
+ type: Input
1492
+ }], projection: [{
1493
+ type: Input
1494
+ }], topojson: [{
1495
+ type: Input
1496
+ }], mapFeatureName: [{
1497
+ type: Input
1498
+ }], mapFitToPoints: [{
1499
+ type: Input
1500
+ }], zoomFactor: [{
1501
+ type: Input
1502
+ }], disableZoom: [{
1503
+ type: Input
1504
+ }], zoomExtent: [{
1505
+ type: Input
1506
+ }], zoomDuration: [{
1507
+ type: Input
1508
+ }], linkWidth: [{
1509
+ type: Input
1510
+ }], linkColor: [{
1511
+ type: Input
1512
+ }], linkCursor: [{
1513
+ type: Input
1514
+ }], linkId: [{
1515
+ type: Input
1516
+ }], linkSource: [{
1517
+ type: Input
1518
+ }], linkTarget: [{
1519
+ type: Input
1520
+ }], areaId: [{
1521
+ type: Input
1522
+ }], areaColor: [{
1523
+ type: Input
1524
+ }], areaCursor: [{
1525
+ type: Input
1526
+ }], pointColor: [{
1527
+ type: Input
1528
+ }], pointRadius: [{
1529
+ type: Input
1530
+ }], pointStrokeWidth: [{
1531
+ type: Input
1532
+ }], pointCursor: [{
1533
+ type: Input
1534
+ }], longitude: [{
1535
+ type: Input
1536
+ }], latitude: [{
1537
+ type: Input
1538
+ }], pointLabel: [{
1539
+ type: Input
1540
+ }], pointLabelPosition: [{
1541
+ type: Input
1542
+ }], pointLabelTextBrightnessRatio: [{
1543
+ type: Input
1544
+ }], pointId: [{
1545
+ type: Input
1546
+ }], heatmapMode: [{
1547
+ type: Input
1548
+ }], heatmapModeBlurStdDeviation: [{
1549
+ type: Input
1550
+ }], heatmapModeZoomLevelThreshold: [{
1551
+ type: Input
1552
+ }], data: [{
1553
+ type: Input
1554
+ }] } });
1555
+
1556
+ // !!! This code was automatically generated. You should not change it !!!
1557
+ class VisTopoJSONMapModule {
1558
+ }
1559
+ VisTopoJSONMapModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisTopoJSONMapModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1560
+ VisTopoJSONMapModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisTopoJSONMapModule, declarations: [VisTopoJSONMapComponent], exports: [VisTopoJSONMapComponent] });
1561
+ VisTopoJSONMapModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisTopoJSONMapModule, imports: [[]] });
1562
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisTopoJSONMapModule, decorators: [{
1563
+ type: NgModule,
1564
+ args: [{
1565
+ imports: [],
1566
+ declarations: [VisTopoJSONMapComponent],
1567
+ exports: [VisTopoJSONMapComponent],
1568
+ }]
1569
+ }] });
1570
+
1571
+ // !!! This code was automatically generated. You should not change it !!!
1572
+ class VisSankeyComponent {
1573
+ ngAfterViewInit() {
1574
+ var _a;
1575
+ this.component = new Sankey(this.getConfig());
1576
+ if (this.data) {
1577
+ this.component.setData(this.data);
1578
+ (_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
1579
+ }
1580
+ }
1581
+ ngOnChanges(changes) {
1582
+ var _a, _b, _c;
1583
+ if (changes.data) {
1584
+ (_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
1585
+ }
1586
+ (_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
1587
+ (_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
1588
+ }
1589
+ getConfig() {
1590
+ 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;
1591
+ 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 };
1592
+ const keys = Object.keys(config);
1593
+ keys.forEach(key => { if (config[key] === undefined)
1594
+ delete config[key]; });
1595
+ return config;
1596
+ }
1597
+ }
1598
+ VisSankeyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisSankeyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1599
+ VisSankeyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.5", 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 });
1600
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisSankeyComponent, decorators: [{
1601
+ type: Component,
1602
+ args: [{
1603
+ selector: 'vis-sankey',
1604
+ template: '',
1605
+ // eslint-disable-next-line no-use-before-define
1606
+ providers: [{ provide: VisCoreComponent, useExisting: VisSankeyComponent }],
1607
+ }]
1608
+ }], propDecorators: { duration: [{
1609
+ type: Input
1610
+ }], events: [{
1611
+ type: Input
1612
+ }], attributes: [{
1613
+ type: Input
1614
+ }], id: [{
1615
+ type: Input
1616
+ }], heightNormalizationCoeff: [{
1617
+ type: Input
1618
+ }], exitTransitionType: [{
1619
+ type: Input
1620
+ }], enterTransitionType: [{
1621
+ type: Input
1622
+ }], highlightSubtreeOnHover: [{
1623
+ type: Input
1624
+ }], highlightDuration: [{
1625
+ type: Input
1626
+ }], highlightDelay: [{
1627
+ type: Input
1628
+ }], iterations: [{
1629
+ type: Input
1630
+ }], nodeSort: [{
1631
+ type: Input
1632
+ }], linkSort: [{
1633
+ type: Input
1634
+ }], nodeWidth: [{
1635
+ type: Input
1636
+ }], nodeAlign: [{
1637
+ type: Input
1638
+ }], nodeHorizontalSpacing: [{
1639
+ type: Input
1640
+ }], nodeMinHeight: [{
1641
+ type: Input
1642
+ }], nodeMaxHeight: [{
1643
+ type: Input
1644
+ }], nodePadding: [{
1645
+ type: Input
1646
+ }], showSingleNode: [{
1647
+ type: Input
1648
+ }], nodeCursor: [{
1649
+ type: Input
1650
+ }], nodeIcon: [{
1651
+ type: Input
1652
+ }], nodeColor: [{
1653
+ type: Input
1654
+ }], nodeFixedValue: [{
1655
+ type: Input
1656
+ }], nodeIconColor: [{
1657
+ type: Input
1658
+ }], linkColor: [{
1659
+ type: Input
1660
+ }], linkValue: [{
1661
+ type: Input
1662
+ }], linkCursor: [{
1663
+ type: Input
1664
+ }], label: [{
1665
+ type: Input
1666
+ }], subLabel: [{
1667
+ type: Input
1668
+ }], labelPosition: [{
1669
+ type: Input
1670
+ }], labelVerticalAlign: [{
1671
+ type: Input
1672
+ }], labelBackground: [{
1673
+ type: Input
1674
+ }], labelFit: [{
1675
+ type: Input
1676
+ }], labelMaxWidth: [{
1677
+ type: Input
1678
+ }], labelExpandTrimmedOnHover: [{
1679
+ type: Input
1680
+ }], labelTrimMode: [{
1681
+ type: Input
1682
+ }], labelFontSize: [{
1683
+ type: Input
1684
+ }], labelTextSeparator: [{
1685
+ type: Input
1686
+ }], labelForceWordBreak: [{
1687
+ type: Input
1688
+ }], labelColor: [{
1689
+ type: Input
1690
+ }], labelCursor: [{
1691
+ type: Input
1692
+ }], labelVisibility: [{
1693
+ type: Input
1694
+ }], subLabelFontSize: [{
1695
+ type: Input
1696
+ }], subLabelColor: [{
1697
+ type: Input
1698
+ }], subLabelPlacement: [{
1699
+ type: Input
1700
+ }], subLabelToLabelInlineWidthRatio: [{
1701
+ type: Input
1702
+ }], data: [{
1703
+ type: Input
1704
+ }] } });
1705
+
1706
+ // !!! This code was automatically generated. You should not change it !!!
1707
+ class VisSankeyModule {
1708
+ }
1709
+ VisSankeyModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisSankeyModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1710
+ VisSankeyModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisSankeyModule, declarations: [VisSankeyComponent], exports: [VisSankeyComponent] });
1711
+ VisSankeyModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisSankeyModule, imports: [[]] });
1712
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisSankeyModule, decorators: [{
1713
+ type: NgModule,
1714
+ args: [{
1715
+ imports: [],
1716
+ declarations: [VisSankeyComponent],
1717
+ exports: [VisSankeyComponent],
1718
+ }]
1719
+ }] });
1720
+
1721
+ // !!! This code was automatically generated. You should not change it !!!
1722
+ class VisGraphComponent {
1723
+ ngAfterViewInit() {
1724
+ var _a;
1725
+ this.component = new Graph(this.getConfig());
1726
+ if (this.data) {
1727
+ this.component.setData(this.data);
1728
+ (_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
1729
+ }
1730
+ }
1731
+ ngOnChanges(changes) {
1732
+ var _a, _b, _c;
1733
+ if (changes.data) {
1734
+ (_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
1735
+ }
1736
+ (_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
1737
+ (_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
1738
+ }
1739
+ getConfig() {
1740
+ const { duration, events, attributes, zoomScaleExtent, disableZoom, disableDrag, zoomThrottledUpdateNodeThreshold, onZoom, layoutType, layoutAutofit, layoutAutofitTolerance, layoutNonConnectedAside, layoutNodeGroup, layoutGroupOrder, layoutParallelNodesPerColumn, layoutParallelNodeSubGroup, layoutParallelSubGroupsPerRow, layoutParallelGroupSpacing, layoutParallelSortConnectionsByGroup, forceLayoutSettings, dagreLayoutSettings, linkWidth, linkStyle, linkBandWidth, linkArrow, linkStroke, linkDisabled, linkFlow, linkFlowAnimDuration, linkFlowParticleSize, linkLabel, linkLabelShiftFromCenter, linkNeighborSpacing, selectedLinkId, nodeSize, nodeStrokeWidth, nodeShape, nodeGaugeValue, nodeGaugeFill, nodeGaugeAnimDuration, nodeIcon, nodeIconSize, nodeLabel, nodeSubLabel, nodeSideLabels, nodeBottomIcon, nodeDisabled, nodeFill, nodeStroke, nodeSort, nodeEnterPosition, nodeEnterScale, nodeExitPosition, nodeExitScale, selectedNodeId, panels } = this;
1741
+ const config = { duration, events, attributes, zoomScaleExtent, disableZoom, disableDrag, zoomThrottledUpdateNodeThreshold, onZoom, layoutType, layoutAutofit, layoutAutofitTolerance, layoutNonConnectedAside, layoutNodeGroup, layoutGroupOrder, layoutParallelNodesPerColumn, layoutParallelNodeSubGroup, layoutParallelSubGroupsPerRow, layoutParallelGroupSpacing, layoutParallelSortConnectionsByGroup, forceLayoutSettings, dagreLayoutSettings, linkWidth, linkStyle, linkBandWidth, linkArrow, linkStroke, linkDisabled, linkFlow, linkFlowAnimDuration, linkFlowParticleSize, linkLabel, linkLabelShiftFromCenter, linkNeighborSpacing, selectedLinkId, nodeSize, nodeStrokeWidth, nodeShape, nodeGaugeValue, nodeGaugeFill, nodeGaugeAnimDuration, nodeIcon, nodeIconSize, nodeLabel, nodeSubLabel, nodeSideLabels, nodeBottomIcon, nodeDisabled, nodeFill, nodeStroke, nodeSort, nodeEnterPosition, nodeEnterScale, nodeExitPosition, nodeExitScale, selectedNodeId, panels };
1742
+ const keys = Object.keys(config);
1743
+ keys.forEach(key => { if (config[key] === undefined)
1744
+ delete config[key]; });
1745
+ return config;
1746
+ }
1747
+ }
1748
+ VisGraphComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisGraphComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1749
+ VisGraphComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.5", type: VisGraphComponent, selector: "vis-graph", inputs: { duration: "duration", events: "events", attributes: "attributes", zoomScaleExtent: "zoomScaleExtent", disableZoom: "disableZoom", disableDrag: "disableDrag", zoomThrottledUpdateNodeThreshold: "zoomThrottledUpdateNodeThreshold", onZoom: "onZoom", layoutType: "layoutType", layoutAutofit: "layoutAutofit", layoutAutofitTolerance: "layoutAutofitTolerance", layoutNonConnectedAside: "layoutNonConnectedAside", layoutNodeGroup: "layoutNodeGroup", layoutGroupOrder: "layoutGroupOrder", layoutParallelNodesPerColumn: "layoutParallelNodesPerColumn", layoutParallelNodeSubGroup: "layoutParallelNodeSubGroup", layoutParallelSubGroupsPerRow: "layoutParallelSubGroupsPerRow", layoutParallelGroupSpacing: "layoutParallelGroupSpacing", layoutParallelSortConnectionsByGroup: "layoutParallelSortConnectionsByGroup", forceLayoutSettings: "forceLayoutSettings", dagreLayoutSettings: "dagreLayoutSettings", linkWidth: "linkWidth", linkStyle: "linkStyle", linkBandWidth: "linkBandWidth", linkArrow: "linkArrow", linkStroke: "linkStroke", linkDisabled: "linkDisabled", linkFlow: "linkFlow", linkFlowAnimDuration: "linkFlowAnimDuration", linkFlowParticleSize: "linkFlowParticleSize", linkLabel: "linkLabel", linkLabelShiftFromCenter: "linkLabelShiftFromCenter", linkNeighborSpacing: "linkNeighborSpacing", selectedLinkId: "selectedLinkId", nodeSize: "nodeSize", nodeStrokeWidth: "nodeStrokeWidth", nodeShape: "nodeShape", nodeGaugeValue: "nodeGaugeValue", nodeGaugeFill: "nodeGaugeFill", nodeGaugeAnimDuration: "nodeGaugeAnimDuration", nodeIcon: "nodeIcon", nodeIconSize: "nodeIconSize", nodeLabel: "nodeLabel", nodeSubLabel: "nodeSubLabel", nodeSideLabels: "nodeSideLabels", nodeBottomIcon: "nodeBottomIcon", nodeDisabled: "nodeDisabled", nodeFill: "nodeFill", nodeStroke: "nodeStroke", nodeSort: "nodeSort", nodeEnterPosition: "nodeEnterPosition", nodeEnterScale: "nodeEnterScale", nodeExitPosition: "nodeExitPosition", nodeExitScale: "nodeExitScale", selectedNodeId: "selectedNodeId", panels: "panels", data: "data" }, providers: [{ provide: VisCoreComponent, useExisting: VisGraphComponent }], usesOnChanges: true, ngImport: i0, template: '', isInline: true });
1750
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisGraphComponent, decorators: [{
1751
+ type: Component,
1752
+ args: [{
1753
+ selector: 'vis-graph',
1754
+ template: '',
1755
+ // eslint-disable-next-line no-use-before-define
1756
+ providers: [{ provide: VisCoreComponent, useExisting: VisGraphComponent }],
1757
+ }]
1758
+ }], propDecorators: { duration: [{
1759
+ type: Input
1760
+ }], events: [{
1761
+ type: Input
1762
+ }], attributes: [{
1763
+ type: Input
1764
+ }], zoomScaleExtent: [{
1765
+ type: Input
1766
+ }], disableZoom: [{
1767
+ type: Input
1768
+ }], disableDrag: [{
1769
+ type: Input
1770
+ }], zoomThrottledUpdateNodeThreshold: [{
1771
+ type: Input
1772
+ }], onZoom: [{
1773
+ type: Input
1774
+ }], layoutType: [{
1775
+ type: Input
1776
+ }], layoutAutofit: [{
1777
+ type: Input
1778
+ }], layoutAutofitTolerance: [{
1779
+ type: Input
1780
+ }], layoutNonConnectedAside: [{
1781
+ type: Input
1782
+ }], layoutNodeGroup: [{
1783
+ type: Input
1784
+ }], layoutGroupOrder: [{
1785
+ type: Input
1786
+ }], layoutParallelNodesPerColumn: [{
1787
+ type: Input
1788
+ }], layoutParallelNodeSubGroup: [{
1789
+ type: Input
1790
+ }], layoutParallelSubGroupsPerRow: [{
1791
+ type: Input
1792
+ }], layoutParallelGroupSpacing: [{
1793
+ type: Input
1794
+ }], layoutParallelSortConnectionsByGroup: [{
1795
+ type: Input
1796
+ }], forceLayoutSettings: [{
1797
+ type: Input
1798
+ }], dagreLayoutSettings: [{
1799
+ type: Input
1800
+ }], linkWidth: [{
1801
+ type: Input
1802
+ }], linkStyle: [{
1803
+ type: Input
1804
+ }], linkBandWidth: [{
1805
+ type: Input
1806
+ }], linkArrow: [{
1807
+ type: Input
1808
+ }], linkStroke: [{
1809
+ type: Input
1810
+ }], linkDisabled: [{
1811
+ type: Input
1812
+ }], linkFlow: [{
1813
+ type: Input
1814
+ }], linkFlowAnimDuration: [{
1815
+ type: Input
1816
+ }], linkFlowParticleSize: [{
1817
+ type: Input
1818
+ }], linkLabel: [{
1819
+ type: Input
1820
+ }], linkLabelShiftFromCenter: [{
1821
+ type: Input
1822
+ }], linkNeighborSpacing: [{
1823
+ type: Input
1824
+ }], selectedLinkId: [{
1825
+ type: Input
1826
+ }], nodeSize: [{
1827
+ type: Input
1828
+ }], nodeStrokeWidth: [{
1829
+ type: Input
1830
+ }], nodeShape: [{
1831
+ type: Input
1832
+ }], nodeGaugeValue: [{
1833
+ type: Input
1834
+ }], nodeGaugeFill: [{
1835
+ type: Input
1836
+ }], nodeGaugeAnimDuration: [{
1837
+ type: Input
1838
+ }], nodeIcon: [{
1839
+ type: Input
1840
+ }], nodeIconSize: [{
1841
+ type: Input
1842
+ }], nodeLabel: [{
1843
+ type: Input
1844
+ }], nodeSubLabel: [{
1845
+ type: Input
1846
+ }], nodeSideLabels: [{
1847
+ type: Input
1848
+ }], nodeBottomIcon: [{
1849
+ type: Input
1850
+ }], nodeDisabled: [{
1851
+ type: Input
1852
+ }], nodeFill: [{
1853
+ type: Input
1854
+ }], nodeStroke: [{
1855
+ type: Input
1856
+ }], nodeSort: [{
1857
+ type: Input
1858
+ }], nodeEnterPosition: [{
1859
+ type: Input
1860
+ }], nodeEnterScale: [{
1861
+ type: Input
1862
+ }], nodeExitPosition: [{
1863
+ type: Input
1864
+ }], nodeExitScale: [{
1865
+ type: Input
1866
+ }], selectedNodeId: [{
1867
+ type: Input
1868
+ }], panels: [{
1869
+ type: Input
1870
+ }], data: [{
1871
+ type: Input
1872
+ }] } });
1873
+
1874
+ // !!! This code was automatically generated. You should not change it !!!
1875
+ class VisGraphModule {
1876
+ }
1877
+ VisGraphModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisGraphModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1878
+ VisGraphModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisGraphModule, declarations: [VisGraphComponent], exports: [VisGraphComponent] });
1879
+ VisGraphModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisGraphModule, imports: [[]] });
1880
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisGraphModule, decorators: [{
1881
+ type: NgModule,
1882
+ args: [{
1883
+ imports: [],
1884
+ declarations: [VisGraphComponent],
1885
+ exports: [VisGraphComponent],
1886
+ }]
1887
+ }] });
1888
+
1889
+ class VisLeafletMapComponent {
1890
+ ngAfterViewInit() {
1891
+ const config = this.getConfig();
1892
+ this.component = new LeafletMap(this.containerRef.nativeElement, config, this.data);
1893
+ }
1894
+ ngOnChanges(changes) {
1895
+ var _a, _b;
1896
+ if (changes.data) {
1897
+ (_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
1898
+ }
1899
+ (_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
1900
+ }
1901
+ getConfig() {
1902
+ const { width, height, duration, events, attributes, flyToDuration, fitViewPadding, zoomDuration, initialBounds, fitBoundsOnUpdate, fitViewOnInit, fitViewOnUpdate, accessToken, style, styleDarkTheme, attribution, onMapInitialized, onMapMoveZoom, onMapMoveStart, onMapMoveEnd, onMapZoomStart, onMapZoomEnd, onMapClick, pointLongitude, pointLatitude, pointId, pointShape, pointColor, pointRadius, pointLabel, pointBottomLabel, pointCursor, selectedPointId, clusterColor, clusterRadius, clusterLabel, clusterBottomLabel, clusterRingWidth, clusterBackground, clusterExpandOnClick, clusteringDistance, colorMap, topoJSONLayer, tooltip } = this;
1903
+ const config = { width, height, duration, events, attributes, flyToDuration, fitViewPadding, zoomDuration, initialBounds, fitBoundsOnUpdate, fitViewOnInit, fitViewOnUpdate, accessToken, style, styleDarkTheme, attribution, onMapInitialized, onMapMoveZoom, onMapMoveStart, onMapMoveEnd, onMapZoomStart, onMapZoomEnd, onMapClick, pointLongitude, pointLatitude, pointId, pointShape, pointColor, pointRadius, pointLabel, pointBottomLabel, pointCursor, selectedPointId, clusterColor, clusterRadius, clusterLabel, clusterBottomLabel, clusterRingWidth, clusterBackground, clusterExpandOnClick, clusteringDistance, colorMap, topoJSONLayer, tooltip };
1904
+ const keys = Object.keys(config);
1905
+ keys.forEach(key => { if (config[key] === undefined)
1906
+ delete config[key]; });
1907
+ return config;
1908
+ }
1909
+ }
1910
+ VisLeafletMapComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisLeafletMapComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1911
+ VisLeafletMapComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.5", type: VisLeafletMapComponent, selector: "vis-leaflet-map", inputs: { width: "width", height: "height", duration: "duration", events: "events", attributes: "attributes", flyToDuration: "flyToDuration", fitViewPadding: "fitViewPadding", zoomDuration: "zoomDuration", initialBounds: "initialBounds", fitBoundsOnUpdate: "fitBoundsOnUpdate", fitViewOnInit: "fitViewOnInit", fitViewOnUpdate: "fitViewOnUpdate", style: "style", styleDarkTheme: "styleDarkTheme", accessToken: "accessToken", attribution: "attribution", 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", pointBottomLabel: "pointBottomLabel", pointCursor: "pointCursor", selectedPointId: "selectedPointId", clusterColor: "clusterColor", clusterRadius: "clusterRadius", clusterLabel: "clusterLabel", clusterBottomLabel: "clusterBottomLabel", clusterRingWidth: "clusterRingWidth", clusterBackground: "clusterBackground", clusterExpandOnClick: "clusterExpandOnClick", clusteringDistance: "clusteringDistance", colorMap: "colorMap", topoJSONLayer: "topoJSONLayer", tooltip: "tooltip", data: "data" }, providers: [{ provide: VisCoreComponent, useExisting: VisLeafletMapComponent }], viewQueries: [{ propertyName: "containerRef", first: true, predicate: ["container"], descendants: true }], usesOnChanges: true, ngImport: i0, template: '<div #container class="unovis-leaflet-map-container"></div>', isInline: true, styles: [".unovis-leaflet-map-container { width: 100%; height: 100%; position: relative; }"] });
1912
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisLeafletMapComponent, decorators: [{
1913
+ type: Component,
1914
+ args: [{
1915
+ selector: 'vis-leaflet-map',
1916
+ template: '<div #container class="unovis-leaflet-map-container"></div>',
1917
+ styles: ['.unovis-leaflet-map-container { width: 100%; height: 100%; position: relative; }'],
1918
+ // eslint-disable-next-line no-use-before-define
1919
+ providers: [{ provide: VisCoreComponent, useExisting: VisLeafletMapComponent }],
1920
+ }]
1921
+ }], propDecorators: { containerRef: [{
1922
+ type: ViewChild,
1923
+ args: ['container', { static: false }]
1924
+ }], width: [{
1925
+ type: Input
1926
+ }], height: [{
1927
+ type: Input
1928
+ }], duration: [{
1929
+ type: Input
1930
+ }], events: [{
1931
+ type: Input
1932
+ }], attributes: [{
1933
+ type: Input
1934
+ }], flyToDuration: [{
1935
+ type: Input
1936
+ }], fitViewPadding: [{
1937
+ type: Input
1938
+ }], zoomDuration: [{
1939
+ type: Input
1940
+ }], initialBounds: [{
1941
+ type: Input
1942
+ }], fitBoundsOnUpdate: [{
1943
+ type: Input
1944
+ }], fitViewOnInit: [{
1945
+ type: Input
1946
+ }], fitViewOnUpdate: [{
1947
+ type: Input
1948
+ }], style: [{
1949
+ type: Input
1950
+ }], styleDarkTheme: [{
1951
+ type: Input
1952
+ }], accessToken: [{
1953
+ type: Input
1954
+ }], attribution: [{
1955
+ type: Input
1956
+ }], onMapInitialized: [{
1957
+ type: Input
1958
+ }], onMapMoveZoom: [{
1959
+ type: Input
1960
+ }], onMapMoveStart: [{
1961
+ type: Input
1962
+ }], onMapMoveEnd: [{
1963
+ type: Input
1964
+ }], onMapZoomStart: [{
1965
+ type: Input
1966
+ }], onMapZoomEnd: [{
1967
+ type: Input
1968
+ }], onMapClick: [{
1969
+ type: Input
1970
+ }], pointLongitude: [{
1971
+ type: Input
1972
+ }], pointLatitude: [{
1973
+ type: Input
1974
+ }], pointId: [{
1975
+ type: Input
1976
+ }], pointShape: [{
1977
+ type: Input
1978
+ }], pointColor: [{
1979
+ type: Input
1980
+ }], pointRadius: [{
1981
+ type: Input
1982
+ }], pointLabel: [{
1983
+ type: Input
1984
+ }], pointBottomLabel: [{
1985
+ type: Input
1986
+ }], pointCursor: [{
1987
+ type: Input
1988
+ }], selectedPointId: [{
1989
+ type: Input
1990
+ }], clusterColor: [{
1991
+ type: Input
1992
+ }], clusterRadius: [{
1993
+ type: Input
1994
+ }], clusterLabel: [{
1995
+ type: Input
1996
+ }], clusterBottomLabel: [{
1997
+ type: Input
1998
+ }], clusterRingWidth: [{
1999
+ type: Input
2000
+ }], clusterBackground: [{
2001
+ type: Input
2002
+ }], clusterExpandOnClick: [{
2003
+ type: Input
2004
+ }], clusteringDistance: [{
2005
+ type: Input
2006
+ }], colorMap: [{
2007
+ type: Input
2008
+ }], topoJSONLayer: [{
2009
+ type: Input
2010
+ }], tooltip: [{
2011
+ type: Input
2012
+ }], data: [{
2013
+ type: Input
2014
+ }] } });
2015
+
2016
+ class VisLeafletMapModule {
2017
+ }
2018
+ VisLeafletMapModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisLeafletMapModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2019
+ VisLeafletMapModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisLeafletMapModule, declarations: [VisLeafletMapComponent], exports: [VisLeafletMapComponent] });
2020
+ VisLeafletMapModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisLeafletMapModule, imports: [[]] });
2021
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisLeafletMapModule, decorators: [{
2022
+ type: NgModule,
2023
+ args: [{
2024
+ imports: [],
2025
+ declarations: [VisLeafletMapComponent],
2026
+ exports: [VisLeafletMapComponent],
2027
+ }]
2028
+ }] });
2029
+
2030
+ class VisLeafletFlowMapComponent {
2031
+ ngAfterViewInit() {
2032
+ const config = this.getConfig();
2033
+ this.component = new LeafletFlowMap(this.containerRef.nativeElement, config, this.data);
2034
+ }
2035
+ ngOnChanges(changes) {
2036
+ var _a, _b;
2037
+ if (changes.data) {
2038
+ (_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
2039
+ }
2040
+ (_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
2041
+ }
2042
+ getConfig() {
2043
+ const { width, height, duration, events, attributes, flyToDuration, fitViewPadding, zoomDuration, initialBounds, fitBoundsOnUpdate, fitViewOnInit, fitViewOnUpdate, accessToken, style, styleDarkTheme, attribution, onMapInitialized, onMapMoveZoom, onMapMoveStart, onMapMoveEnd, onMapZoomStart, onMapZoomEnd, onMapClick, pointLongitude, pointLatitude, pointId, pointShape, pointColor, pointRadius, pointLabel, pointBottomLabel, pointCursor, selectedPointId, clusterColor, clusterRadius, clusterLabel, clusterBottomLabel, clusterRingWidth, clusterBackground, clusterExpandOnClick, clusteringDistance, valuesMap, topoJSONLayer, tooltip, sourceLongitude, sourceLatitude, targetLongitude, targetLatitude, sourcePointRadius, sourcePointColor, flowParticleColor, flowParticleRadius, flowParticleSpeed, flowParticleDensity, onSourcePointClick, onSourcePointMouseEnter, onSourcePointMouseLeave } = this;
2044
+ const config = { width, height, duration, events, attributes, flyToDuration, fitViewPadding, zoomDuration, initialBounds, fitBoundsOnUpdate, fitViewOnInit, fitViewOnUpdate, accessToken, style, styleDarkTheme, attribution, onMapInitialized, onMapMoveZoom, onMapMoveStart, onMapMoveEnd, onMapZoomStart, onMapZoomEnd, onMapClick, pointLongitude, pointLatitude, pointId, pointShape, pointColor, pointRadius, pointLabel, pointBottomLabel, pointCursor, selectedPointId, clusterColor, clusterRadius, clusterLabel, clusterBottomLabel, clusterRingWidth, clusterBackground, clusterExpandOnClick, clusteringDistance, valuesMap, topoJSONLayer, tooltip, sourceLongitude, sourceLatitude, targetLongitude, targetLatitude, sourcePointRadius, sourcePointColor, flowParticleColor, flowParticleRadius, flowParticleSpeed, flowParticleDensity, onSourcePointClick, onSourcePointMouseEnter, onSourcePointMouseLeave };
2045
+ const keys = Object.keys(config);
2046
+ keys.forEach(key => { if (config[key] === undefined)
2047
+ delete config[key]; });
2048
+ return config;
2049
+ }
2050
+ }
2051
+ VisLeafletFlowMapComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisLeafletFlowMapComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2052
+ VisLeafletFlowMapComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.5", type: VisLeafletFlowMapComponent, selector: "vis-leaflet-flow-map", inputs: { width: "width", height: "height", duration: "duration", events: "events", attributes: "attributes", flyToDuration: "flyToDuration", fitViewPadding: "fitViewPadding", zoomDuration: "zoomDuration", initialBounds: "initialBounds", fitBoundsOnUpdate: "fitBoundsOnUpdate", fitViewOnInit: "fitViewOnInit", fitViewOnUpdate: "fitViewOnUpdate", style: "style", styleDarkTheme: "styleDarkTheme", accessToken: "accessToken", attribution: "attribution", 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", pointBottomLabel: "pointBottomLabel", pointCursor: "pointCursor", selectedPointId: "selectedPointId", clusterColor: "clusterColor", clusterRadius: "clusterRadius", clusterLabel: "clusterLabel", clusterBottomLabel: "clusterBottomLabel", clusterRingWidth: "clusterRingWidth", clusterBackground: "clusterBackground", clusterExpandOnClick: "clusterExpandOnClick", clusteringDistance: "clusteringDistance", valuesMap: "valuesMap", topoJSONLayer: "topoJSONLayer", tooltip: "tooltip", 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="unovis-leaflet-flow-map-container"></div>', isInline: true, styles: [".unovis-leaflet-flow-map-container { width: 100%; height: 100%; position: relative; }"] });
2053
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisLeafletFlowMapComponent, decorators: [{
2054
+ type: Component,
2055
+ args: [{
2056
+ selector: 'vis-leaflet-flow-map',
2057
+ template: '<div #container class="unovis-leaflet-flow-map-container"></div>',
2058
+ styles: ['.unovis-leaflet-flow-map-container { width: 100%; height: 100%; position: relative; }'],
2059
+ // eslint-disable-next-line no-use-before-define
2060
+ providers: [{ provide: VisCoreComponent, useExisting: VisLeafletFlowMapComponent }],
2061
+ }]
2062
+ }], propDecorators: { containerRef: [{
2063
+ type: ViewChild,
2064
+ args: ['container', { static: false }]
2065
+ }], width: [{
2066
+ type: Input
2067
+ }], height: [{
2068
+ type: Input
2069
+ }], duration: [{
2070
+ type: Input
2071
+ }], events: [{
2072
+ type: Input
2073
+ }], attributes: [{
2074
+ type: Input
2075
+ }], flyToDuration: [{
2076
+ type: Input
2077
+ }], fitViewPadding: [{
2078
+ type: Input
2079
+ }], zoomDuration: [{
2080
+ type: Input
2081
+ }], initialBounds: [{
2082
+ type: Input
2083
+ }], fitBoundsOnUpdate: [{
2084
+ type: Input
2085
+ }], fitViewOnInit: [{
2086
+ type: Input
2087
+ }], fitViewOnUpdate: [{
2088
+ type: Input
2089
+ }], style: [{
2090
+ type: Input
2091
+ }], styleDarkTheme: [{
2092
+ type: Input
2093
+ }], accessToken: [{
2094
+ type: Input
2095
+ }], attribution: [{
2096
+ type: Input
2097
+ }], onMapInitialized: [{
2098
+ type: Input
2099
+ }], onMapMoveZoom: [{
2100
+ type: Input
2101
+ }], onMapMoveStart: [{
2102
+ type: Input
2103
+ }], onMapMoveEnd: [{
2104
+ type: Input
2105
+ }], onMapZoomStart: [{
2106
+ type: Input
2107
+ }], onMapZoomEnd: [{
2108
+ type: Input
2109
+ }], onMapClick: [{
2110
+ type: Input
2111
+ }], pointLongitude: [{
2112
+ type: Input
2113
+ }], pointLatitude: [{
2114
+ type: Input
2115
+ }], pointId: [{
2116
+ type: Input
2117
+ }], pointShape: [{
2118
+ type: Input
2119
+ }], pointColor: [{
2120
+ type: Input
2121
+ }], pointRadius: [{
2122
+ type: Input
2123
+ }], pointLabel: [{
2124
+ type: Input
2125
+ }], pointBottomLabel: [{
2126
+ type: Input
2127
+ }], pointCursor: [{
2128
+ type: Input
2129
+ }], selectedPointId: [{
2130
+ type: Input
2131
+ }], clusterColor: [{
2132
+ type: Input
2133
+ }], clusterRadius: [{
2134
+ type: Input
2135
+ }], clusterLabel: [{
2136
+ type: Input
2137
+ }], clusterBottomLabel: [{
2138
+ type: Input
2139
+ }], clusterRingWidth: [{
2140
+ type: Input
2141
+ }], clusterBackground: [{
2142
+ type: Input
2143
+ }], clusterExpandOnClick: [{
2144
+ type: Input
2145
+ }], clusteringDistance: [{
2146
+ type: Input
2147
+ }], valuesMap: [{
2148
+ type: Input
2149
+ }], topoJSONLayer: [{
2150
+ type: Input
2151
+ }], tooltip: [{
2152
+ type: Input
2153
+ }], sourceLongitude: [{
2154
+ type: Input
2155
+ }], sourceLatitude: [{
2156
+ type: Input
2157
+ }], targetLongitude: [{
2158
+ type: Input
2159
+ }], targetLatitude: [{
2160
+ type: Input
2161
+ }], sourcePointRadius: [{
2162
+ type: Input
2163
+ }], sourcePointColor: [{
2164
+ type: Input
2165
+ }], flowParticleColor: [{
2166
+ type: Input
2167
+ }], flowParticleRadius: [{
2168
+ type: Input
2169
+ }], flowParticleSpeed: [{
2170
+ type: Input
2171
+ }], flowParticleDensity: [{
2172
+ type: Input
2173
+ }], onSourcePointClick: [{
2174
+ type: Input
2175
+ }], onSourcePointMouseEnter: [{
2176
+ type: Input
2177
+ }], onSourcePointMouseLeave: [{
2178
+ type: Input
2179
+ }], data: [{
2180
+ type: Input
2181
+ }] } });
2182
+
2183
+ class VisLeafletFlowMapModule {
2184
+ }
2185
+ VisLeafletFlowMapModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisLeafletFlowMapModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2186
+ VisLeafletFlowMapModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisLeafletFlowMapModule, declarations: [VisLeafletFlowMapComponent], exports: [VisLeafletFlowMapComponent] });
2187
+ VisLeafletFlowMapModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisLeafletFlowMapModule, imports: [[]] });
2188
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisLeafletFlowMapModule, decorators: [{
2189
+ type: NgModule,
2190
+ args: [{
2191
+ imports: [],
2192
+ declarations: [VisLeafletFlowMapComponent],
2193
+ exports: [VisLeafletFlowMapComponent],
2194
+ }]
2195
+ }] });
2196
+
2197
+ class VisBulletLegendComponent {
2198
+ ngAfterViewInit() {
2199
+ this.component = new BulletLegend(this.containerRef.nativeElement, this.getConfig());
2200
+ }
2201
+ ngOnChanges(changes) {
2202
+ var _a;
2203
+ (_a = this.component) === null || _a === void 0 ? void 0 : _a.update(this.getConfig());
2204
+ }
2205
+ getConfig() {
2206
+ const { items, labelClassName, onLegendItemClick, labelFontSize, labelMaxWidth, bulletSize } = this;
2207
+ const config = { items, labelClassName, onLegendItemClick, labelFontSize, labelMaxWidth, bulletSize };
2208
+ const keys = Object.keys(config);
2209
+ keys.forEach(key => { if (config[key] === undefined)
2210
+ delete config[key]; });
2211
+ return config;
2212
+ }
2213
+ }
2214
+ VisBulletLegendComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisBulletLegendComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2215
+ VisBulletLegendComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.5", type: VisBulletLegendComponent, selector: "vis-bullet-legend", inputs: { items: "items", labelClassName: "labelClassName", onLegendItemClick: "onLegendItemClick", labelFontSize: "labelFontSize", labelMaxWidth: "labelMaxWidth", bulletSize: "bulletSize" }, 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 });
2216
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisBulletLegendComponent, decorators: [{
2217
+ type: Component,
2218
+ args: [{
2219
+ selector: 'vis-bullet-legend',
2220
+ template: '<div #container class="bullet-legend-container"></div>',
2221
+ // eslint-disable-next-line no-use-before-define
2222
+ providers: [{ provide: VisGenericComponent, useExisting: VisBulletLegendComponent }],
2223
+ }]
2224
+ }], propDecorators: { containerRef: [{
2225
+ type: ViewChild,
2226
+ args: ['container', { static: false }]
2227
+ }], items: [{
2228
+ type: Input
2229
+ }], labelClassName: [{
2230
+ type: Input
2231
+ }], onLegendItemClick: [{
2232
+ type: Input
2233
+ }], labelFontSize: [{
2234
+ type: Input
2235
+ }], labelMaxWidth: [{
2236
+ type: Input
2237
+ }], bulletSize: [{
2238
+ type: Input
2239
+ }] } });
2240
+
2241
+ // !!! This code was automatically generated. You should not change it !!!
2242
+ class VisBulletLegendModule {
2243
+ }
2244
+ VisBulletLegendModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisBulletLegendModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2245
+ VisBulletLegendModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisBulletLegendModule, declarations: [VisBulletLegendComponent], exports: [VisBulletLegendComponent] });
2246
+ VisBulletLegendModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisBulletLegendModule, imports: [[]] });
2247
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisBulletLegendModule, decorators: [{
2248
+ type: NgModule,
2249
+ args: [{
2250
+ imports: [],
2251
+ declarations: [VisBulletLegendComponent],
2252
+ exports: [VisBulletLegendComponent],
2253
+ }]
2254
+ }] });
2255
+
2256
+ // !!! This code was automatically generated. You should not change it !!!
2257
+ class VisTooltipModule {
2258
+ }
2259
+ VisTooltipModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisTooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2260
+ VisTooltipModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisTooltipModule, declarations: [VisTooltipComponent], exports: [VisTooltipComponent] });
2261
+ VisTooltipModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisTooltipModule, imports: [[]] });
2262
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: VisTooltipModule, decorators: [{
2263
+ type: NgModule,
2264
+ args: [{
2265
+ imports: [],
2266
+ declarations: [VisTooltipComponent],
2267
+ exports: [VisTooltipComponent],
2268
+ }]
2269
+ }] });
2270
+
2271
+ // Core
2272
+
2273
+ /**
2274
+ * Generated bundle index. Do not edit.
2275
+ */
2276
+
2277
+ export { VisAreaComponent, VisAreaModule, VisAxisComponent, VisAxisModule, VisBrushComponent, VisBrushModule, VisBulletLegendComponent, VisBulletLegendModule, VisCoreComponent, VisCrosshairComponent, VisCrosshairModule, VisDonutComponent, VisDonutModule, VisFreeBrushComponent, VisFreeBrushModule, VisGenericComponent, VisGraphComponent, VisGraphModule, VisGroupedBarComponent, VisGroupedBarModule, VisLeafletFlowMapComponent, VisLeafletFlowMapModule, VisLeafletMapComponent, VisLeafletMapModule, VisLineComponent, VisLineModule, VisSankeyComponent, VisSankeyModule, VisScatterComponent, VisScatterModule, VisSingleContainerComponent, VisSingleContainerModule, VisStackedBarComponent, VisStackedBarModule, VisTimelineComponent, VisTimelineModule, VisTooltipComponent, VisTooltipModule, VisTopoJSONMapComponent, VisTopoJSONMapModule, VisXYComponent, VisXYContainerComponent, VisXYContainerModule, VisXYLabelsComponent, VisXYLabelsModule };
2278
+ //# sourceMappingURL=unovis-angular.js.map