@unovis/angular 1.6.8-stellar-beta.0 → 1.7.0-csp.0

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