@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,3928 +0,0 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@unovis/ts')) :
3
- typeof define === 'function' && define.amd ? define('@unovis/angular', ['exports', '@angular/core', '@unovis/ts'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.unovis = global.unovis || {}, global.unovis.angular = {}), global.ng.core, global.ts));
5
- })(this, (function (exports, i0, ts) { 'use strict';
6
-
7
- function _interopNamespace(e) {
8
- if (e && e.__esModule) return e;
9
- var n = Object.create(null);
10
- if (e) {
11
- Object.keys(e).forEach(function (k) {
12
- if (k !== 'default') {
13
- var d = Object.getOwnPropertyDescriptor(e, k);
14
- Object.defineProperty(n, k, d.get ? d : {
15
- enumerable: true,
16
- get: function () { return e[k]; }
17
- });
18
- }
19
- });
20
- }
21
- n["default"] = e;
22
- return Object.freeze(n);
23
- }
24
-
25
- var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
26
-
27
- var VisGenericComponent = /** @class */ (function () {
28
- function VisGenericComponent() {
29
- }
30
- return VisGenericComponent;
31
- }());
32
-
33
- /******************************************************************************
34
- Copyright (c) Microsoft Corporation.
35
-
36
- Permission to use, copy, modify, and/or distribute this software for any
37
- purpose with or without fee is hereby granted.
38
-
39
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
40
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
41
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
42
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
43
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
44
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
45
- PERFORMANCE OF THIS SOFTWARE.
46
- ***************************************************************************** */
47
- /* global Reflect, Promise, SuppressedError, Symbol, Iterator */
48
- var extendStatics = function (d, b) {
49
- extendStatics = Object.setPrototypeOf ||
50
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
51
- function (d, b) { for (var p in b)
52
- if (Object.prototype.hasOwnProperty.call(b, p))
53
- d[p] = b[p]; };
54
- return extendStatics(d, b);
55
- };
56
- function __extends(d, b) {
57
- if (typeof b !== "function" && b !== null)
58
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
59
- extendStatics(d, b);
60
- function __() { this.constructor = d; }
61
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
62
- }
63
- var __assign = function () {
64
- __assign = Object.assign || function __assign(t) {
65
- for (var s, i = 1, n = arguments.length; i < n; i++) {
66
- s = arguments[i];
67
- for (var p in s)
68
- if (Object.prototype.hasOwnProperty.call(s, p))
69
- t[p] = s[p];
70
- }
71
- return t;
72
- };
73
- return __assign.apply(this, arguments);
74
- };
75
- function __rest(s, e) {
76
- var t = {};
77
- for (var p in s)
78
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
79
- t[p] = s[p];
80
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
81
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
82
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
83
- t[p[i]] = s[p[i]];
84
- }
85
- return t;
86
- }
87
- function __decorate(decorators, target, key, desc) {
88
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
89
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
90
- r = Reflect.decorate(decorators, target, key, desc);
91
- else
92
- for (var i = decorators.length - 1; i >= 0; i--)
93
- if (d = decorators[i])
94
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
95
- return c > 3 && r && Object.defineProperty(target, key, r), r;
96
- }
97
- function __param(paramIndex, decorator) {
98
- return function (target, key) { decorator(target, key, paramIndex); };
99
- }
100
- function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
101
- function accept(f) { if (f !== void 0 && typeof f !== "function")
102
- throw new TypeError("Function expected"); return f; }
103
- var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
104
- var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
105
- var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
106
- var _, done = false;
107
- for (var i = decorators.length - 1; i >= 0; i--) {
108
- var context = {};
109
- for (var p in contextIn)
110
- context[p] = p === "access" ? {} : contextIn[p];
111
- for (var p in contextIn.access)
112
- context.access[p] = contextIn.access[p];
113
- context.addInitializer = function (f) { if (done)
114
- throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
115
- var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
116
- if (kind === "accessor") {
117
- if (result === void 0)
118
- continue;
119
- if (result === null || typeof result !== "object")
120
- throw new TypeError("Object expected");
121
- if (_ = accept(result.get))
122
- descriptor.get = _;
123
- if (_ = accept(result.set))
124
- descriptor.set = _;
125
- if (_ = accept(result.init))
126
- initializers.unshift(_);
127
- }
128
- else if (_ = accept(result)) {
129
- if (kind === "field")
130
- initializers.unshift(_);
131
- else
132
- descriptor[key] = _;
133
- }
134
- }
135
- if (target)
136
- Object.defineProperty(target, contextIn.name, descriptor);
137
- done = true;
138
- }
139
- ;
140
- function __runInitializers(thisArg, initializers, value) {
141
- var useValue = arguments.length > 2;
142
- for (var i = 0; i < initializers.length; i++) {
143
- value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
144
- }
145
- return useValue ? value : void 0;
146
- }
147
- ;
148
- function __propKey(x) {
149
- return typeof x === "symbol" ? x : "".concat(x);
150
- }
151
- ;
152
- function __setFunctionName(f, name, prefix) {
153
- if (typeof name === "symbol")
154
- name = name.description ? "[".concat(name.description, "]") : "";
155
- return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
156
- }
157
- ;
158
- function __metadata(metadataKey, metadataValue) {
159
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
160
- return Reflect.metadata(metadataKey, metadataValue);
161
- }
162
- function __awaiter(thisArg, _arguments, P, generator) {
163
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
164
- return new (P || (P = Promise))(function (resolve, reject) {
165
- function fulfilled(value) { try {
166
- step(generator.next(value));
167
- }
168
- catch (e) {
169
- reject(e);
170
- } }
171
- function rejected(value) { try {
172
- step(generator["throw"](value));
173
- }
174
- catch (e) {
175
- reject(e);
176
- } }
177
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
178
- step((generator = generator.apply(thisArg, _arguments || [])).next());
179
- });
180
- }
181
- function __generator(thisArg, body) {
182
- var _ = { label: 0, sent: function () { if (t[0] & 1)
183
- throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
184
- return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
185
- function verb(n) { return function (v) { return step([n, v]); }; }
186
- function step(op) {
187
- if (f)
188
- throw new TypeError("Generator is already executing.");
189
- while (g && (g = 0, op[0] && (_ = 0)), _)
190
- try {
191
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
192
- return t;
193
- if (y = 0, t)
194
- op = [op[0] & 2, t.value];
195
- switch (op[0]) {
196
- case 0:
197
- case 1:
198
- t = op;
199
- break;
200
- case 4:
201
- _.label++;
202
- return { value: op[1], done: false };
203
- case 5:
204
- _.label++;
205
- y = op[1];
206
- op = [0];
207
- continue;
208
- case 7:
209
- op = _.ops.pop();
210
- _.trys.pop();
211
- continue;
212
- default:
213
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
214
- _ = 0;
215
- continue;
216
- }
217
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
218
- _.label = op[1];
219
- break;
220
- }
221
- if (op[0] === 6 && _.label < t[1]) {
222
- _.label = t[1];
223
- t = op;
224
- break;
225
- }
226
- if (t && _.label < t[2]) {
227
- _.label = t[2];
228
- _.ops.push(op);
229
- break;
230
- }
231
- if (t[2])
232
- _.ops.pop();
233
- _.trys.pop();
234
- continue;
235
- }
236
- op = body.call(thisArg, _);
237
- }
238
- catch (e) {
239
- op = [6, e];
240
- y = 0;
241
- }
242
- finally {
243
- f = t = 0;
244
- }
245
- if (op[0] & 5)
246
- throw op[1];
247
- return { value: op[0] ? op[1] : void 0, done: true };
248
- }
249
- }
250
- var __createBinding = Object.create ? (function (o, m, k, k2) {
251
- if (k2 === undefined)
252
- k2 = k;
253
- var desc = Object.getOwnPropertyDescriptor(m, k);
254
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
255
- desc = { enumerable: true, get: function () { return m[k]; } };
256
- }
257
- Object.defineProperty(o, k2, desc);
258
- }) : (function (o, m, k, k2) {
259
- if (k2 === undefined)
260
- k2 = k;
261
- o[k2] = m[k];
262
- });
263
- function __exportStar(m, o) {
264
- for (var p in m)
265
- if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
266
- __createBinding(o, m, p);
267
- }
268
- function __values(o) {
269
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
270
- if (m)
271
- return m.call(o);
272
- if (o && typeof o.length === "number")
273
- return {
274
- next: function () {
275
- if (o && i >= o.length)
276
- o = void 0;
277
- return { value: o && o[i++], done: !o };
278
- }
279
- };
280
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
281
- }
282
- function __read(o, n) {
283
- var m = typeof Symbol === "function" && o[Symbol.iterator];
284
- if (!m)
285
- return o;
286
- var i = m.call(o), r, ar = [], e;
287
- try {
288
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
289
- ar.push(r.value);
290
- }
291
- catch (error) {
292
- e = { error: error };
293
- }
294
- finally {
295
- try {
296
- if (r && !r.done && (m = i["return"]))
297
- m.call(i);
298
- }
299
- finally {
300
- if (e)
301
- throw e.error;
302
- }
303
- }
304
- return ar;
305
- }
306
- /** @deprecated */
307
- function __spread() {
308
- for (var ar = [], i = 0; i < arguments.length; i++)
309
- ar = ar.concat(__read(arguments[i]));
310
- return ar;
311
- }
312
- /** @deprecated */
313
- function __spreadArrays() {
314
- for (var s = 0, i = 0, il = arguments.length; i < il; i++)
315
- s += arguments[i].length;
316
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
317
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
318
- r[k] = a[j];
319
- return r;
320
- }
321
- function __spreadArray(to, from, pack) {
322
- if (pack || arguments.length === 2)
323
- for (var i = 0, l = from.length, ar; i < l; i++) {
324
- if (ar || !(i in from)) {
325
- if (!ar)
326
- ar = Array.prototype.slice.call(from, 0, i);
327
- ar[i] = from[i];
328
- }
329
- }
330
- return to.concat(ar || Array.prototype.slice.call(from));
331
- }
332
- function __await(v) {
333
- return this instanceof __await ? (this.v = v, this) : new __await(v);
334
- }
335
- function __asyncGenerator(thisArg, _arguments, generator) {
336
- if (!Symbol.asyncIterator)
337
- throw new TypeError("Symbol.asyncIterator is not defined.");
338
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
339
- return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;
340
- function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }
341
- function verb(n, f) { if (g[n]) {
342
- i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); };
343
- if (f)
344
- i[n] = f(i[n]);
345
- } }
346
- function resume(n, v) { try {
347
- step(g[n](v));
348
- }
349
- catch (e) {
350
- settle(q[0][3], e);
351
- } }
352
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
353
- function fulfill(value) { resume("next", value); }
354
- function reject(value) { resume("throw", value); }
355
- function settle(f, v) { if (f(v), q.shift(), q.length)
356
- resume(q[0][0], q[0][1]); }
357
- }
358
- function __asyncDelegator(o) {
359
- var i, p;
360
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
361
- function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }
362
- }
363
- function __asyncValues(o) {
364
- if (!Symbol.asyncIterator)
365
- throw new TypeError("Symbol.asyncIterator is not defined.");
366
- var m = o[Symbol.asyncIterator], i;
367
- return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
368
- function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
369
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
370
- }
371
- function __makeTemplateObject(cooked, raw) {
372
- if (Object.defineProperty) {
373
- Object.defineProperty(cooked, "raw", { value: raw });
374
- }
375
- else {
376
- cooked.raw = raw;
377
- }
378
- return cooked;
379
- }
380
- ;
381
- var __setModuleDefault = Object.create ? (function (o, v) {
382
- Object.defineProperty(o, "default", { enumerable: true, value: v });
383
- }) : function (o, v) {
384
- o["default"] = v;
385
- };
386
- var ownKeys = function (o) {
387
- ownKeys = Object.getOwnPropertyNames || function (o) {
388
- var ar = [];
389
- for (var k in o)
390
- if (Object.prototype.hasOwnProperty.call(o, k))
391
- ar[ar.length] = k;
392
- return ar;
393
- };
394
- return ownKeys(o);
395
- };
396
- function __importStar(mod) {
397
- if (mod && mod.__esModule)
398
- return mod;
399
- var result = {};
400
- if (mod != null)
401
- for (var k = ownKeys(mod), i = 0; i < k.length; i++)
402
- if (k[i] !== "default")
403
- __createBinding(result, mod, k[i]);
404
- __setModuleDefault(result, mod);
405
- return result;
406
- }
407
- function __importDefault(mod) {
408
- return (mod && mod.__esModule) ? mod : { default: mod };
409
- }
410
- function __classPrivateFieldGet(receiver, state, kind, f) {
411
- if (kind === "a" && !f)
412
- throw new TypeError("Private accessor was defined without a getter");
413
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
414
- throw new TypeError("Cannot read private member from an object whose class did not declare it");
415
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
416
- }
417
- function __classPrivateFieldSet(receiver, state, value, kind, f) {
418
- if (kind === "m")
419
- throw new TypeError("Private method is not writable");
420
- if (kind === "a" && !f)
421
- throw new TypeError("Private accessor was defined without a setter");
422
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
423
- throw new TypeError("Cannot write private member to an object whose class did not declare it");
424
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
425
- }
426
- function __classPrivateFieldIn(state, receiver) {
427
- if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function"))
428
- throw new TypeError("Cannot use 'in' operator on non-object");
429
- return typeof state === "function" ? receiver === state : state.has(receiver);
430
- }
431
- function __addDisposableResource(env, value, async) {
432
- if (value !== null && value !== void 0) {
433
- if (typeof value !== "object" && typeof value !== "function")
434
- throw new TypeError("Object expected.");
435
- var dispose, inner;
436
- if (async) {
437
- if (!Symbol.asyncDispose)
438
- throw new TypeError("Symbol.asyncDispose is not defined.");
439
- dispose = value[Symbol.asyncDispose];
440
- }
441
- if (dispose === void 0) {
442
- if (!Symbol.dispose)
443
- throw new TypeError("Symbol.dispose is not defined.");
444
- dispose = value[Symbol.dispose];
445
- if (async)
446
- inner = dispose;
447
- }
448
- if (typeof dispose !== "function")
449
- throw new TypeError("Object not disposable.");
450
- if (inner)
451
- dispose = function () { try {
452
- inner.call(this);
453
- }
454
- catch (e) {
455
- return Promise.reject(e);
456
- } };
457
- env.stack.push({ value: value, dispose: dispose, async: async });
458
- }
459
- else if (async) {
460
- env.stack.push({ async: true });
461
- }
462
- return value;
463
- }
464
- var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
465
- var e = new Error(message);
466
- return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
467
- };
468
- function __disposeResources(env) {
469
- function fail(e) {
470
- env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
471
- env.hasError = true;
472
- }
473
- var r, s = 0;
474
- function next() {
475
- while (r = env.stack.pop()) {
476
- try {
477
- if (!r.async && s === 1)
478
- return s = 0, env.stack.push(r), Promise.resolve().then(next);
479
- if (r.dispose) {
480
- var result = r.dispose.call(r.value);
481
- if (r.async)
482
- return s |= 2, Promise.resolve(result).then(next, function (e) { fail(e); return next(); });
483
- }
484
- else
485
- s |= 1;
486
- }
487
- catch (e) {
488
- fail(e);
489
- }
490
- }
491
- if (s === 1)
492
- return env.hasError ? Promise.reject(env.error) : Promise.resolve();
493
- if (env.hasError)
494
- throw env.error;
495
- }
496
- return next();
497
- }
498
- function __rewriteRelativeImportExtension(path, preserveJsx) {
499
- if (typeof path === "string" && /^\.\.?\//.test(path)) {
500
- return path.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {
501
- return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext || !cm) ? m : (d + ext + "." + cm.toLowerCase() + "js");
502
- });
503
- }
504
- return path;
505
- }
506
- var tslib_es6 = {
507
- __extends: __extends,
508
- __assign: __assign,
509
- __rest: __rest,
510
- __decorate: __decorate,
511
- __param: __param,
512
- __esDecorate: __esDecorate,
513
- __runInitializers: __runInitializers,
514
- __propKey: __propKey,
515
- __setFunctionName: __setFunctionName,
516
- __metadata: __metadata,
517
- __awaiter: __awaiter,
518
- __generator: __generator,
519
- __createBinding: __createBinding,
520
- __exportStar: __exportStar,
521
- __values: __values,
522
- __read: __read,
523
- __spread: __spread,
524
- __spreadArrays: __spreadArrays,
525
- __spreadArray: __spreadArray,
526
- __await: __await,
527
- __asyncGenerator: __asyncGenerator,
528
- __asyncDelegator: __asyncDelegator,
529
- __asyncValues: __asyncValues,
530
- __makeTemplateObject: __makeTemplateObject,
531
- __importStar: __importStar,
532
- __importDefault: __importDefault,
533
- __classPrivateFieldGet: __classPrivateFieldGet,
534
- __classPrivateFieldSet: __classPrivateFieldSet,
535
- __classPrivateFieldIn: __classPrivateFieldIn,
536
- __addDisposableResource: __addDisposableResource,
537
- __disposeResources: __disposeResources,
538
- __rewriteRelativeImportExtension: __rewriteRelativeImportExtension,
539
- };
540
-
541
- var VisCoreComponent = /** @class */ (function (_super) {
542
- __extends(VisCoreComponent, _super);
543
- function VisCoreComponent() {
544
- return _super !== null && _super.apply(this, arguments) || this;
545
- }
546
- return VisCoreComponent;
547
- }(VisGenericComponent));
548
-
549
- var VisXYComponent = /** @class */ (function (_super) {
550
- __extends(VisXYComponent, _super);
551
- function VisXYComponent() {
552
- return _super !== null && _super.apply(this, arguments) || this;
553
- }
554
- return VisXYComponent;
555
- }(VisCoreComponent));
556
-
557
- // !!! This code was automatically generated. You should not change it !!!
558
- var VisTooltipComponent = /** @class */ (function () {
559
- function VisTooltipComponent() {
560
- }
561
- VisTooltipComponent.prototype.ngAfterViewInit = function () {
562
- this.component = new ts.Tooltip(this.getConfig());
563
- };
564
- VisTooltipComponent.prototype.ngOnChanges = function (changes) {
565
- var _a, _b;
566
- (_a = this.component) === null || _a === void 0 ? void 0 : _a.setConfig(this.getConfig());
567
- (_b = this.componentContainer) === null || _b === void 0 ? void 0 : _b.render();
568
- };
569
- VisTooltipComponent.prototype.getConfig = function () {
570
- var _c = this, components = _c.components, container = _c.container, followCursor = _c.followCursor, allowHover = _c.allowHover, horizontalPlacement = _c.horizontalPlacement, horizontalShift = _c.horizontalShift, verticalPlacement = _c.verticalPlacement, verticalShift = _c.verticalShift, triggers = _c.triggers, attributes = _c.attributes, className = _c.className, hideDelay = _c.hideDelay, showDelay = _c.showDelay;
571
- var config = { 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 };
572
- var keys = Object.keys(config);
573
- keys.forEach(function (key) {
574
- if (config[key] === undefined)
575
- delete config[key];
576
- });
577
- return config;
578
- };
579
- return VisTooltipComponent;
580
- }());
581
- VisTooltipComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisTooltipComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
582
- VisTooltipComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, template: '', isInline: true });
583
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisTooltipComponent, decorators: [{
584
- type: i0.Component,
585
- args: [{
586
- selector: 'vis-tooltip',
587
- template: '',
588
- // eslint-disable-next-line no-use-before-define
589
- providers: [{ provide: VisGenericComponent, useExisting: VisTooltipComponent }],
590
- }]
591
- }], propDecorators: { components: [{
592
- type: i0.Input
593
- }], container: [{
594
- type: i0.Input
595
- }], followCursor: [{
596
- type: i0.Input
597
- }], allowHover: [{
598
- type: i0.Input
599
- }], horizontalPlacement: [{
600
- type: i0.Input
601
- }], horizontalShift: [{
602
- type: i0.Input
603
- }], verticalPlacement: [{
604
- type: i0.Input
605
- }], verticalShift: [{
606
- type: i0.Input
607
- }], triggers: [{
608
- type: i0.Input
609
- }], attributes: [{
610
- type: i0.Input
611
- }], className: [{
612
- type: i0.Input
613
- }], hideDelay: [{
614
- type: i0.Input
615
- }], showDelay: [{
616
- type: i0.Input
617
- }] } });
618
-
619
- // !!! This code was automatically generated. You should not change it !!!
620
- var VisAnnotationsComponent = /** @class */ (function () {
621
- function VisAnnotationsComponent() {
622
- }
623
- VisAnnotationsComponent.prototype.ngAfterViewInit = function () {
624
- this.component = new ts.Annotations(this.getConfig());
625
- };
626
- VisAnnotationsComponent.prototype.ngOnChanges = function (changes) {
627
- var _a, _b;
628
- (_a = this.component) === null || _a === void 0 ? void 0 : _a.setConfig(this.getConfig());
629
- (_b = this.componentContainer) === null || _b === void 0 ? void 0 : _b.render();
630
- };
631
- VisAnnotationsComponent.prototype.getConfig = function () {
632
- var _c = this, duration = _c.duration, events = _c.events, attributes = _c.attributes, items = _c.items, renderTextBoundingBoxes = _c.renderTextBoundingBoxes;
633
- var config = { duration: duration, events: events, attributes: attributes, items: items, renderTextBoundingBoxes: renderTextBoundingBoxes };
634
- var keys = Object.keys(config);
635
- keys.forEach(function (key) {
636
- if (config[key] === undefined)
637
- delete config[key];
638
- });
639
- return config;
640
- };
641
- return VisAnnotationsComponent;
642
- }());
643
- VisAnnotationsComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisAnnotationsComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
644
- VisAnnotationsComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, template: '', isInline: true });
645
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisAnnotationsComponent, decorators: [{
646
- type: i0.Component,
647
- args: [{
648
- selector: 'vis-annotations',
649
- template: '',
650
- // eslint-disable-next-line no-use-before-define
651
- providers: [{ provide: VisGenericComponent, useExisting: VisAnnotationsComponent }],
652
- }]
653
- }], propDecorators: { duration: [{
654
- type: i0.Input
655
- }], events: [{
656
- type: i0.Input
657
- }], attributes: [{
658
- type: i0.Input
659
- }], items: [{
660
- type: i0.Input
661
- }], renderTextBoundingBoxes: [{
662
- type: i0.Input
663
- }] } });
664
-
665
- var VisXYContainerComponent = /** @class */ (function () {
666
- function VisXYContainerComponent() {
667
- /** Constraint the minimum value of the Y scale domain.
668
- * For example, imagine that you have a chart with dynamic data that has negative values. When values are small
669
- * (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
670
- * be achieved by setting `yDomainMinConstraint` to `[undefined, -1]`. In addition to that, if you want to cut off the
671
- * values that are too low (let's say lower than -100), you can set the constraint to `[-100, -1]`
672
- * Default: `undefined` */
673
- this.yDomainMinConstraint = undefined;
674
- /** Y Axis direction. Default: `Direction.North` */
675
- this.yDirection = ts.Direction.North;
676
- /** Prevents the chart domain from being empty (when domain's min and max values are equal).
677
- * That usually happens when all the data values are the same or when there's no data.
678
- * Setting to `true` will automatically extend the domain by `+1` when needed.
679
- * Setting to `null` will extend the domain only when there's no data.
680
- * Setting to `false` will keep the domain as is.
681
- * Default: `null` */
682
- this.preventEmptyDomain = null;
683
- /** Animation duration of all the components within the container. Default: `undefined` */
684
- this.duration = undefined;
685
- /** Margins. Default: `{ top: 0, bottom: 0, left: 0, right: 0 }` */
686
- this.margin = { top: 0, bottom: 0, left: 0, right: 0 };
687
- /** Padding. Default: `{ top: 0, bottom: 0, left: 0, right: 0 }` */
688
- this.padding = {};
689
- /** Enables automatic calculation of chart margins based on the size of the axes. Default: `true` */
690
- this.autoMargin = true;
691
- /** Data to be passed to all child components. But if `data` is `undefined` it'll to be passed allowing components to
692
- * have their individual data. Default: `undefined` */
693
- this.data = undefined;
694
- }
695
- VisXYContainerComponent.prototype.ngAfterViewInit = function () {
696
- this.chart = new ts.XYContainer(this.containerRef.nativeElement, this.getConfig(), this.data);
697
- this.passContainerReferenceToChildren();
698
- };
699
- VisXYContainerComponent.prototype.ngAfterContentInit = function () {
700
- var _this = this;
701
- // QueryList does unsubscribe automatically when it gets destroyed
702
- this.visComponents.changes.subscribe(function () {
703
- var _a;
704
- _this.passContainerReferenceToChildren();
705
- (_a = _this.chart) === null || _a === void 0 ? void 0 : _a.updateContainer(_this.getConfig());
706
- });
707
- };
708
- VisXYContainerComponent.prototype.ngOnChanges = function (changes) {
709
- var _a, _b;
710
- var preventRender = true;
711
- // Set new Data without re-render
712
- if (changes.data) {
713
- (_a = this.chart) === null || _a === void 0 ? void 0 : _a.setData(this.data, preventRender);
714
- delete changes.data;
715
- }
716
- // Update Container and render
717
- (_b = this.chart) === null || _b === void 0 ? void 0 : _b.updateContainer(this.getConfig());
718
- };
719
- VisXYContainerComponent.prototype.getConfig = function () {
720
- var _a, _b;
721
- var _c = this, duration = _c.duration, margin = _c.margin, padding = _c.padding, scaleByDomain = _c.scaleByDomain, autoMargin = _c.autoMargin, width = _c.width, height = _c.height, xScale = _c.xScale, xDomain = _c.xDomain, xDomainMinConstraint = _c.xDomainMinConstraint, xDomainMaxConstraint = _c.xDomainMaxConstraint, xRange = _c.xRange, yScale = _c.yScale, yDomain = _c.yDomain, yDomainMinConstraint = _c.yDomainMinConstraint, yDomainMaxConstraint = _c.yDomainMaxConstraint, yRange = _c.yRange, yDirection = _c.yDirection, ariaLabel = _c.ariaLabel;
722
- var visComponents = this.visComponents.toArray().map(function (d) { return d.component; });
723
- var crosshair = visComponents.find(function (c) { return c instanceof ts.Crosshair; });
724
- var tooltip = (_a = this.tooltipComponent) === null || _a === void 0 ? void 0 : _a.component;
725
- var xAxis = visComponents.find(function (c) { var _a; return c instanceof ts.Axis && ((_a = c === null || c === void 0 ? void 0 : c.config) === null || _a === void 0 ? void 0 : _a.type) === 'x'; });
726
- var yAxis = visComponents.find(function (c) { var _a; return c instanceof ts.Axis && ((_a = c === null || c === void 0 ? void 0 : c.config) === null || _a === void 0 ? void 0 : _a.type) === 'y'; });
727
- var annotations = (_b = this.annotationsComponent) === null || _b === void 0 ? void 0 : _b.component;
728
- var components = visComponents.filter(function (c) { return !(c instanceof ts.Crosshair) && !(c instanceof ts.Tooltip) && !(c instanceof ts.Axis); });
729
- return {
730
- components: components,
731
- width: width,
732
- height: height,
733
- duration: duration,
734
- margin: margin,
735
- padding: padding,
736
- xAxis: xAxis,
737
- yAxis: yAxis,
738
- tooltip: tooltip,
739
- crosshair: crosshair,
740
- annotations: annotations,
741
- scaleByDomain: scaleByDomain,
742
- autoMargin: autoMargin,
743
- xScale: xScale,
744
- xDomain: xDomain,
745
- xDomainMinConstraint: xDomainMinConstraint,
746
- xDomainMaxConstraint: xDomainMaxConstraint,
747
- xRange: xRange,
748
- yScale: yScale,
749
- yDomain: yDomain,
750
- yDomainMinConstraint: yDomainMinConstraint,
751
- yDomainMaxConstraint: yDomainMaxConstraint,
752
- yRange: yRange,
753
- yDirection: yDirection,
754
- ariaLabel: ariaLabel,
755
- };
756
- };
757
- VisXYContainerComponent.prototype.passContainerReferenceToChildren = function () {
758
- var _this = this;
759
- // We set the container for each vis component to trigger chart re-render if the data has changed
760
- if (this.chart)
761
- this.visComponents.toArray().forEach(function (c) { c.componentContainer = _this.chart; });
762
- };
763
- VisXYContainerComponent.prototype.ngOnDestroy = function () {
764
- var _a;
765
- (_a = this.chart) === null || _a === void 0 ? void 0 : _a.destroy();
766
- };
767
- return VisXYContainerComponent;
768
- }());
769
- VisXYContainerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisXYContainerComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
770
- VisXYContainerComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, template: "<div #container class=\"unovis-xy-container\">\n <ng-content></ng-content>\n </div>", isInline: true, styles: [".unovis-xy-container { width: 100%; height: 100%; position: relative; }"] });
771
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisXYContainerComponent, decorators: [{
772
- type: i0.Component,
773
- args: [{
774
- selector: 'vis-xy-container',
775
- template: "<div #container class=\"unovis-xy-container\">\n <ng-content></ng-content>\n </div>",
776
- styles: ['.unovis-xy-container { width: 100%; height: 100%; position: relative; }'],
777
- }]
778
- }], propDecorators: { containerRef: [{
779
- type: i0.ViewChild,
780
- args: ['container', { static: false }]
781
- }], visComponents: [{
782
- type: i0.ContentChildren,
783
- args: [VisXYComponent]
784
- }], tooltipComponent: [{
785
- type: i0.ContentChild,
786
- args: [VisTooltipComponent]
787
- }], annotationsComponent: [{
788
- type: i0.ContentChild,
789
- args: [VisAnnotationsComponent]
790
- }], width: [{
791
- type: i0.Input
792
- }], height: [{
793
- type: i0.Input
794
- }], xScale: [{
795
- type: i0.Input
796
- }], xDomain: [{
797
- type: i0.Input
798
- }], xDomainMinConstraint: [{
799
- type: i0.Input
800
- }], xDomainMaxConstraint: [{
801
- type: i0.Input
802
- }], xRange: [{
803
- type: i0.Input
804
- }], yScale: [{
805
- type: i0.Input
806
- }], yDomain: [{
807
- type: i0.Input
808
- }], yDomainMinConstraint: [{
809
- type: i0.Input
810
- }], yDomainMaxConstraint: [{
811
- type: i0.Input
812
- }], yRange: [{
813
- type: i0.Input
814
- }], yDirection: [{
815
- type: i0.Input
816
- }], preventEmptyDomain: [{
817
- type: i0.Input
818
- }], duration: [{
819
- type: i0.Input
820
- }], margin: [{
821
- type: i0.Input
822
- }], padding: [{
823
- type: i0.Input
824
- }], scaleByDomain: [{
825
- type: i0.Input
826
- }], autoMargin: [{
827
- type: i0.Input
828
- }], ariaLabel: [{
829
- type: i0.Input
830
- }], data: [{
831
- type: i0.Input
832
- }] } });
833
-
834
- var VisXYContainerModule = /** @class */ (function () {
835
- function VisXYContainerModule() {
836
- }
837
- return VisXYContainerModule;
838
- }());
839
- VisXYContainerModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisXYContainerModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
840
- VisXYContainerModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisXYContainerModule, declarations: [VisXYContainerComponent], exports: [VisXYContainerComponent] });
841
- VisXYContainerModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisXYContainerModule, imports: [[]] });
842
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisXYContainerModule, decorators: [{
843
- type: i0.NgModule,
844
- args: [{
845
- imports: [],
846
- declarations: [VisXYContainerComponent],
847
- exports: [VisXYContainerComponent],
848
- }]
849
- }] });
850
-
851
- var VisSingleContainerComponent = /** @class */ (function () {
852
- function VisSingleContainerComponent() {
853
- /** Margins. Default: `{ top: 0, bottom: 0, left: 0, right: 0 }` */
854
- this.margin = { top: 0, bottom: 0, left: 0, right: 0 };
855
- }
856
- VisSingleContainerComponent.prototype.ngAfterViewInit = function () {
857
- this.chart = new ts.SingleContainer(this.containerRef.nativeElement, this.getConfig(), this.data);
858
- // We pass the container for the component to trigger re-render if the data has changed
859
- this.visComponent.componentContainer = this.chart;
860
- };
861
- VisSingleContainerComponent.prototype.ngOnChanges = function (changes) {
862
- var _a, _b;
863
- // Set new Data without re-render
864
- if (changes.data) {
865
- (_a = this.chart) === null || _a === void 0 ? void 0 : _a.setData(this.data, true);
866
- delete changes.data;
867
- }
868
- // Update Container and render
869
- (_b = this.chart) === null || _b === void 0 ? void 0 : _b.updateContainer(this.getConfig());
870
- };
871
- VisSingleContainerComponent.prototype.getConfig = function () {
872
- var _a, _b, _c;
873
- var _d = this, width = _d.width, height = _d.height, duration = _d.duration, margin = _d.margin, ariaLabel = _d.ariaLabel, svgDefs = _d.svgDefs, sizing = _d.sizing;
874
- var component = (_a = this.visComponent) === null || _a === void 0 ? void 0 : _a.component;
875
- var tooltip = (_b = this.tooltipComponent) === null || _b === void 0 ? void 0 : _b.component;
876
- var annotations = (_c = this.annotationsComponent) === null || _c === void 0 ? void 0 : _c.component;
877
- return { width: width, height: height, duration: duration, margin: margin, component: component, tooltip: tooltip, ariaLabel: ariaLabel, annotations: annotations, svgDefs: svgDefs, sizing: sizing };
878
- };
879
- VisSingleContainerComponent.prototype.ngOnDestroy = function () {
880
- this.chart.destroy();
881
- };
882
- return VisSingleContainerComponent;
883
- }());
884
- VisSingleContainerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisSingleContainerComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
885
- VisSingleContainerComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, template: "<div #container class=\"unovis-single-container\">\n <ng-content></ng-content>\n </div>", isInline: true, styles: [".unovis-single-container { width: 100%; height: 100%; position: relative; }"] });
886
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisSingleContainerComponent, decorators: [{
887
- type: i0.Component,
888
- args: [{
889
- selector: 'vis-single-container',
890
- template: "<div #container class=\"unovis-single-container\">\n <ng-content></ng-content>\n </div>",
891
- styles: ['.unovis-single-container { width: 100%; height: 100%; position: relative; }'],
892
- }]
893
- }], propDecorators: { containerRef: [{
894
- type: i0.ViewChild,
895
- args: ['container', { static: false }]
896
- }], visComponent: [{
897
- type: i0.ContentChild,
898
- args: [VisCoreComponent]
899
- }], tooltipComponent: [{
900
- type: i0.ContentChild,
901
- args: [VisTooltipComponent]
902
- }], annotationsComponent: [{
903
- type: i0.ContentChild,
904
- args: [VisAnnotationsComponent]
905
- }], width: [{
906
- type: i0.Input
907
- }], height: [{
908
- type: i0.Input
909
- }], margin: [{
910
- type: i0.Input
911
- }], duration: [{
912
- type: i0.Input
913
- }], ariaLabel: [{
914
- type: i0.Input
915
- }], svgDefs: [{
916
- type: i0.Input
917
- }], sizing: [{
918
- type: i0.Input
919
- }], data: [{
920
- type: i0.Input
921
- }] } });
922
-
923
- var VisSingleContainerModule = /** @class */ (function () {
924
- function VisSingleContainerModule() {
925
- }
926
- return VisSingleContainerModule;
927
- }());
928
- VisSingleContainerModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisSingleContainerModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
929
- VisSingleContainerModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisSingleContainerModule, declarations: [VisSingleContainerComponent], exports: [VisSingleContainerComponent] });
930
- VisSingleContainerModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisSingleContainerModule, imports: [[]] });
931
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisSingleContainerModule, decorators: [{
932
- type: i0.NgModule,
933
- args: [{
934
- imports: [],
935
- declarations: [VisSingleContainerComponent],
936
- exports: [VisSingleContainerComponent],
937
- }]
938
- }] });
939
-
940
- // !!! This code was automatically generated. You should not change it !!!
941
- var VisAreaComponent = /** @class */ (function () {
942
- function VisAreaComponent() {
943
- }
944
- VisAreaComponent.prototype.ngAfterViewInit = function () {
945
- var _a;
946
- this.component = new ts.Area(this.getConfig());
947
- if (this.data) {
948
- this.component.setData(this.data);
949
- (_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
950
- }
951
- };
952
- VisAreaComponent.prototype.ngOnChanges = function (changes) {
953
- var _a, _b, _c;
954
- if (changes.data) {
955
- (_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
956
- }
957
- (_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
958
- (_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
959
- };
960
- VisAreaComponent.prototype.getConfig = function () {
961
- var _d = this, duration = _d.duration, events = _d.events, attributes = _d.attributes, x = _d.x, y = _d.y, id = _d.id, color = _d.color, xScale = _d.xScale, yScale = _d.yScale, excludeFromDomainCalculation = _d.excludeFromDomainCalculation, curveType = _d.curveType, baseline = _d.baseline, opacity = _d.opacity, cursor = _d.cursor, line = _d.line, lineColor = _d.lineColor, lineWidth = _d.lineWidth, lineDashArray = _d.lineDashArray, minHeight1Px = _d.minHeight1Px, minHeight = _d.minHeight, stackMinHeight = _d.stackMinHeight;
962
- var config = { 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 };
963
- var keys = Object.keys(config);
964
- keys.forEach(function (key) {
965
- if (config[key] === undefined)
966
- delete config[key];
967
- });
968
- return config;
969
- };
970
- return VisAreaComponent;
971
- }());
972
- VisAreaComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisAreaComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
973
- VisAreaComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, template: '', isInline: true });
974
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisAreaComponent, decorators: [{
975
- type: i0.Component,
976
- args: [{
977
- selector: 'vis-area',
978
- template: '',
979
- // eslint-disable-next-line no-use-before-define
980
- providers: [{ provide: VisXYComponent, useExisting: VisAreaComponent }],
981
- }]
982
- }], propDecorators: { duration: [{
983
- type: i0.Input
984
- }], events: [{
985
- type: i0.Input
986
- }], attributes: [{
987
- type: i0.Input
988
- }], x: [{
989
- type: i0.Input
990
- }], y: [{
991
- type: i0.Input
992
- }], id: [{
993
- type: i0.Input
994
- }], color: [{
995
- type: i0.Input
996
- }], xScale: [{
997
- type: i0.Input
998
- }], yScale: [{
999
- type: i0.Input
1000
- }], excludeFromDomainCalculation: [{
1001
- type: i0.Input
1002
- }], curveType: [{
1003
- type: i0.Input
1004
- }], baseline: [{
1005
- type: i0.Input
1006
- }], opacity: [{
1007
- type: i0.Input
1008
- }], cursor: [{
1009
- type: i0.Input
1010
- }], line: [{
1011
- type: i0.Input
1012
- }], lineColor: [{
1013
- type: i0.Input
1014
- }], lineWidth: [{
1015
- type: i0.Input
1016
- }], lineDashArray: [{
1017
- type: i0.Input
1018
- }], minHeight1Px: [{
1019
- type: i0.Input
1020
- }], minHeight: [{
1021
- type: i0.Input
1022
- }], stackMinHeight: [{
1023
- type: i0.Input
1024
- }], data: [{
1025
- type: i0.Input
1026
- }] } });
1027
-
1028
- // !!! This code was automatically generated. You should not change it !!!
1029
- var VisAreaModule = /** @class */ (function () {
1030
- function VisAreaModule() {
1031
- }
1032
- return VisAreaModule;
1033
- }());
1034
- VisAreaModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisAreaModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
1035
- VisAreaModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisAreaModule, declarations: [VisAreaComponent], exports: [VisAreaComponent] });
1036
- VisAreaModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisAreaModule, imports: [[]] });
1037
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisAreaModule, decorators: [{
1038
- type: i0.NgModule,
1039
- args: [{
1040
- imports: [],
1041
- declarations: [VisAreaComponent],
1042
- exports: [VisAreaComponent],
1043
- }]
1044
- }] });
1045
-
1046
- // !!! This code was automatically generated. You should not change it !!!
1047
- var VisAnnotationsModule = /** @class */ (function () {
1048
- function VisAnnotationsModule() {
1049
- }
1050
- return VisAnnotationsModule;
1051
- }());
1052
- VisAnnotationsModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisAnnotationsModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
1053
- VisAnnotationsModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisAnnotationsModule, declarations: [VisAnnotationsComponent], exports: [VisAnnotationsComponent] });
1054
- VisAnnotationsModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisAnnotationsModule, imports: [[]] });
1055
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisAnnotationsModule, decorators: [{
1056
- type: i0.NgModule,
1057
- args: [{
1058
- imports: [],
1059
- declarations: [VisAnnotationsComponent],
1060
- exports: [VisAnnotationsComponent],
1061
- }]
1062
- }] });
1063
-
1064
- // !!! This code was automatically generated. You should not change it !!!
1065
- var VisAxisComponent = /** @class */ (function () {
1066
- function VisAxisComponent() {
1067
- }
1068
- VisAxisComponent.prototype.ngAfterViewInit = function () {
1069
- var _a;
1070
- this.component = new ts.Axis(this.getConfig());
1071
- if (this.data) {
1072
- this.component.setData(this.data);
1073
- (_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
1074
- }
1075
- };
1076
- VisAxisComponent.prototype.ngOnChanges = function (changes) {
1077
- var _a, _b, _c;
1078
- if (changes.data) {
1079
- (_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
1080
- }
1081
- (_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
1082
- (_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
1083
- };
1084
- VisAxisComponent.prototype.getConfig = function () {
1085
- var _d = this, duration = _d.duration, events = _d.events, attributes = _d.attributes, position = _d.position, type = _d.type, fullSize = _d.fullSize, label = _d.label, labelFontSize = _d.labelFontSize, labelMargin = _d.labelMargin, labelTextFitMode = _d.labelTextFitMode, labelTextTrimType = _d.labelTextTrimType, labelColor = _d.labelColor, gridLine = _d.gridLine, tickLine = _d.tickLine, domainLine = _d.domainLine, minMaxTicksOnly = _d.minMaxTicksOnly, minMaxTicksOnlyShowGridLines = _d.minMaxTicksOnlyShowGridLines, minMaxTicksOnlyWhenWidthIsLess = _d.minMaxTicksOnlyWhenWidthIsLess, tickFormat = _d.tickFormat, tickValues = _d.tickValues, numTicks = _d.numTicks, tickTextFitMode = _d.tickTextFitMode, tickTextWidth = _d.tickTextWidth, tickTextSeparator = _d.tickTextSeparator, tickTextForceWordBreak = _d.tickTextForceWordBreak, tickTextTrimType = _d.tickTextTrimType, tickTextFontSize = _d.tickTextFontSize, tickTextAlign = _d.tickTextAlign, tickTextColor = _d.tickTextColor, tickTextAngle = _d.tickTextAngle, tickTextHideOverlapping = _d.tickTextHideOverlapping, tickPadding = _d.tickPadding, tickSize = _d.tickSize;
1086
- var config = { 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 };
1087
- var keys = Object.keys(config);
1088
- keys.forEach(function (key) {
1089
- if (config[key] === undefined)
1090
- delete config[key];
1091
- });
1092
- return config;
1093
- };
1094
- return VisAxisComponent;
1095
- }());
1096
- VisAxisComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisAxisComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
1097
- VisAxisComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, template: '', isInline: true });
1098
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisAxisComponent, decorators: [{
1099
- type: i0.Component,
1100
- args: [{
1101
- selector: 'vis-axis',
1102
- template: '',
1103
- // eslint-disable-next-line no-use-before-define
1104
- providers: [{ provide: VisXYComponent, useExisting: VisAxisComponent }],
1105
- }]
1106
- }], propDecorators: { duration: [{
1107
- type: i0.Input
1108
- }], events: [{
1109
- type: i0.Input
1110
- }], attributes: [{
1111
- type: i0.Input
1112
- }], position: [{
1113
- type: i0.Input
1114
- }], type: [{
1115
- type: i0.Input
1116
- }], fullSize: [{
1117
- type: i0.Input
1118
- }], label: [{
1119
- type: i0.Input
1120
- }], labelFontSize: [{
1121
- type: i0.Input
1122
- }], labelMargin: [{
1123
- type: i0.Input
1124
- }], labelTextFitMode: [{
1125
- type: i0.Input
1126
- }], labelTextTrimType: [{
1127
- type: i0.Input
1128
- }], labelColor: [{
1129
- type: i0.Input
1130
- }], gridLine: [{
1131
- type: i0.Input
1132
- }], tickLine: [{
1133
- type: i0.Input
1134
- }], domainLine: [{
1135
- type: i0.Input
1136
- }], minMaxTicksOnly: [{
1137
- type: i0.Input
1138
- }], minMaxTicksOnlyShowGridLines: [{
1139
- type: i0.Input
1140
- }], minMaxTicksOnlyWhenWidthIsLess: [{
1141
- type: i0.Input
1142
- }], tickFormat: [{
1143
- type: i0.Input
1144
- }], tickValues: [{
1145
- type: i0.Input
1146
- }], numTicks: [{
1147
- type: i0.Input
1148
- }], tickTextFitMode: [{
1149
- type: i0.Input
1150
- }], tickTextWidth: [{
1151
- type: i0.Input
1152
- }], tickTextSeparator: [{
1153
- type: i0.Input
1154
- }], tickTextForceWordBreak: [{
1155
- type: i0.Input
1156
- }], tickTextTrimType: [{
1157
- type: i0.Input
1158
- }], tickTextFontSize: [{
1159
- type: i0.Input
1160
- }], tickTextAlign: [{
1161
- type: i0.Input
1162
- }], tickTextColor: [{
1163
- type: i0.Input
1164
- }], tickTextAngle: [{
1165
- type: i0.Input
1166
- }], tickTextHideOverlapping: [{
1167
- type: i0.Input
1168
- }], tickPadding: [{
1169
- type: i0.Input
1170
- }], tickSize: [{
1171
- type: i0.Input
1172
- }], data: [{
1173
- type: i0.Input
1174
- }] } });
1175
-
1176
- // !!! This code was automatically generated. You should not change it !!!
1177
- var VisAxisModule = /** @class */ (function () {
1178
- function VisAxisModule() {
1179
- }
1180
- return VisAxisModule;
1181
- }());
1182
- VisAxisModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisAxisModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
1183
- VisAxisModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisAxisModule, declarations: [VisAxisComponent], exports: [VisAxisComponent] });
1184
- VisAxisModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisAxisModule, imports: [[]] });
1185
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisAxisModule, decorators: [{
1186
- type: i0.NgModule,
1187
- args: [{
1188
- imports: [],
1189
- declarations: [VisAxisComponent],
1190
- exports: [VisAxisComponent],
1191
- }]
1192
- }] });
1193
-
1194
- // !!! This code was automatically generated. You should not change it !!!
1195
- var VisBrushComponent = /** @class */ (function () {
1196
- function VisBrushComponent() {
1197
- }
1198
- VisBrushComponent.prototype.ngAfterViewInit = function () {
1199
- var _a;
1200
- this.component = new ts.Brush(this.getConfig());
1201
- if (this.data) {
1202
- this.component.setData(this.data);
1203
- (_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
1204
- }
1205
- };
1206
- VisBrushComponent.prototype.ngOnChanges = function (changes) {
1207
- var _a, _b, _c;
1208
- if (changes.data) {
1209
- (_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
1210
- }
1211
- (_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
1212
- (_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
1213
- };
1214
- VisBrushComponent.prototype.getConfig = function () {
1215
- var _d = this, duration = _d.duration, events = _d.events, attributes = _d.attributes, onBrush = _d.onBrush, onBrushStart = _d.onBrushStart, onBrushMove = _d.onBrushMove, onBrushEnd = _d.onBrushEnd, handleWidth = _d.handleWidth, selection = _d.selection, draggable = _d.draggable, handlePosition = _d.handlePosition, selectionMinLength = _d.selectionMinLength, brushHeightExtend = _d.brushHeightExtend;
1216
- var config = { 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 };
1217
- var keys = Object.keys(config);
1218
- keys.forEach(function (key) {
1219
- if (config[key] === undefined)
1220
- delete config[key];
1221
- });
1222
- return config;
1223
- };
1224
- return VisBrushComponent;
1225
- }());
1226
- VisBrushComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisBrushComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
1227
- VisBrushComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, template: '', isInline: true });
1228
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisBrushComponent, decorators: [{
1229
- type: i0.Component,
1230
- args: [{
1231
- selector: 'vis-brush',
1232
- template: '',
1233
- // eslint-disable-next-line no-use-before-define
1234
- providers: [{ provide: VisXYComponent, useExisting: VisBrushComponent }],
1235
- }]
1236
- }], propDecorators: { duration: [{
1237
- type: i0.Input
1238
- }], events: [{
1239
- type: i0.Input
1240
- }], attributes: [{
1241
- type: i0.Input
1242
- }], onBrush: [{
1243
- type: i0.Input
1244
- }], onBrushStart: [{
1245
- type: i0.Input
1246
- }], onBrushMove: [{
1247
- type: i0.Input
1248
- }], onBrushEnd: [{
1249
- type: i0.Input
1250
- }], handleWidth: [{
1251
- type: i0.Input
1252
- }], selection: [{
1253
- type: i0.Input
1254
- }], draggable: [{
1255
- type: i0.Input
1256
- }], handlePosition: [{
1257
- type: i0.Input
1258
- }], selectionMinLength: [{
1259
- type: i0.Input
1260
- }], brushHeightExtend: [{
1261
- type: i0.Input
1262
- }], data: [{
1263
- type: i0.Input
1264
- }] } });
1265
-
1266
- // !!! This code was automatically generated. You should not change it !!!
1267
- var VisBrushModule = /** @class */ (function () {
1268
- function VisBrushModule() {
1269
- }
1270
- return VisBrushModule;
1271
- }());
1272
- VisBrushModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisBrushModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
1273
- VisBrushModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisBrushModule, declarations: [VisBrushComponent], exports: [VisBrushComponent] });
1274
- VisBrushModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisBrushModule, imports: [[]] });
1275
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisBrushModule, decorators: [{
1276
- type: i0.NgModule,
1277
- args: [{
1278
- imports: [],
1279
- declarations: [VisBrushComponent],
1280
- exports: [VisBrushComponent],
1281
- }]
1282
- }] });
1283
-
1284
- // !!! This code was automatically generated. You should not change it !!!
1285
- var VisChordDiagramComponent = /** @class */ (function () {
1286
- function VisChordDiagramComponent() {
1287
- }
1288
- VisChordDiagramComponent.prototype.ngAfterViewInit = function () {
1289
- var _a;
1290
- this.component = new ts.ChordDiagram(this.getConfig());
1291
- if (this.data) {
1292
- this.component.setData(this.data);
1293
- (_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
1294
- }
1295
- };
1296
- VisChordDiagramComponent.prototype.ngOnChanges = function (changes) {
1297
- var _a, _b, _c;
1298
- if (changes.data) {
1299
- (_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
1300
- }
1301
- (_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
1302
- (_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
1303
- };
1304
- VisChordDiagramComponent.prototype.getConfig = function () {
1305
- var _d = this, duration = _d.duration, events = _d.events, attributes = _d.attributes, angleRange = _d.angleRange, cornerRadius = _d.cornerRadius, highlightedNodeId = _d.highlightedNodeId, highlightedLinkIds = _d.highlightedLinkIds, linkColor = _d.linkColor, linkValue = _d.linkValue, nodeLevels = _d.nodeLevels, nodeWidth = _d.nodeWidth, nodeColor = _d.nodeColor, nodeLabel = _d.nodeLabel, nodeLabelColor = _d.nodeLabelColor, nodeLabelAlignment = _d.nodeLabelAlignment, padAngle = _d.padAngle, radiusScaleExponent = _d.radiusScaleExponent;
1306
- var config = { 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 };
1307
- var keys = Object.keys(config);
1308
- keys.forEach(function (key) {
1309
- if (config[key] === undefined)
1310
- delete config[key];
1311
- });
1312
- return config;
1313
- };
1314
- return VisChordDiagramComponent;
1315
- }());
1316
- VisChordDiagramComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisChordDiagramComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
1317
- VisChordDiagramComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, template: '', isInline: true });
1318
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisChordDiagramComponent, decorators: [{
1319
- type: i0.Component,
1320
- args: [{
1321
- selector: 'vis-chord-diagram',
1322
- template: '',
1323
- // eslint-disable-next-line no-use-before-define
1324
- providers: [{ provide: VisCoreComponent, useExisting: VisChordDiagramComponent }],
1325
- }]
1326
- }], propDecorators: { duration: [{
1327
- type: i0.Input
1328
- }], events: [{
1329
- type: i0.Input
1330
- }], attributes: [{
1331
- type: i0.Input
1332
- }], angleRange: [{
1333
- type: i0.Input
1334
- }], cornerRadius: [{
1335
- type: i0.Input
1336
- }], highlightedNodeId: [{
1337
- type: i0.Input
1338
- }], highlightedLinkIds: [{
1339
- type: i0.Input
1340
- }], linkColor: [{
1341
- type: i0.Input
1342
- }], linkValue: [{
1343
- type: i0.Input
1344
- }], nodeLevels: [{
1345
- type: i0.Input
1346
- }], nodeWidth: [{
1347
- type: i0.Input
1348
- }], nodeColor: [{
1349
- type: i0.Input
1350
- }], nodeLabel: [{
1351
- type: i0.Input
1352
- }], nodeLabelColor: [{
1353
- type: i0.Input
1354
- }], nodeLabelAlignment: [{
1355
- type: i0.Input
1356
- }], padAngle: [{
1357
- type: i0.Input
1358
- }], radiusScaleExponent: [{
1359
- type: i0.Input
1360
- }], data: [{
1361
- type: i0.Input
1362
- }] } });
1363
-
1364
- // !!! This code was automatically generated. You should not change it !!!
1365
- var VisChordDiagramModule = /** @class */ (function () {
1366
- function VisChordDiagramModule() {
1367
- }
1368
- return VisChordDiagramModule;
1369
- }());
1370
- VisChordDiagramModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisChordDiagramModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
1371
- VisChordDiagramModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisChordDiagramModule, declarations: [VisChordDiagramComponent], exports: [VisChordDiagramComponent] });
1372
- VisChordDiagramModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisChordDiagramModule, imports: [[]] });
1373
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisChordDiagramModule, decorators: [{
1374
- type: i0.NgModule,
1375
- args: [{
1376
- imports: [],
1377
- declarations: [VisChordDiagramComponent],
1378
- exports: [VisChordDiagramComponent],
1379
- }]
1380
- }] });
1381
-
1382
- // !!! This code was automatically generated. You should not change it !!!
1383
- var VisCrosshairComponent = /** @class */ (function () {
1384
- function VisCrosshairComponent() {
1385
- }
1386
- VisCrosshairComponent.prototype.ngAfterViewInit = function () {
1387
- var _a;
1388
- this.component = new ts.Crosshair(this.getConfig());
1389
- if (this.data) {
1390
- this.component.setData(this.data);
1391
- (_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
1392
- }
1393
- };
1394
- VisCrosshairComponent.prototype.ngOnChanges = function (changes) {
1395
- var _a, _b, _c;
1396
- if (changes.data) {
1397
- (_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
1398
- }
1399
- (_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
1400
- (_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
1401
- };
1402
- VisCrosshairComponent.prototype.getConfig = function () {
1403
- var _d = this, duration = _d.duration, events = _d.events, attributes = _d.attributes, x = _d.x, y = _d.y, id = _d.id, color = _d.color, xScale = _d.xScale, yScale = _d.yScale, excludeFromDomainCalculation = _d.excludeFromDomainCalculation, strokeColor = _d.strokeColor, strokeWidth = _d.strokeWidth, circleRadius = _d.circleRadius, yStacked = _d.yStacked, baseline = _d.baseline, tooltip = _d.tooltip, template = _d.template, hideWhenFarFromPointer = _d.hideWhenFarFromPointer, hideWhenFarFromPointerDistance = _d.hideWhenFarFromPointerDistance, snapToData = _d.snapToData, getCircles = _d.getCircles, onCrosshairMove = _d.onCrosshairMove, forceShowAt = _d.forceShowAt, skipRangeCheck = _d.skipRangeCheck, visibilityThreshold = _d.visibilityThreshold;
1404
- var config = { 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 };
1405
- var keys = Object.keys(config);
1406
- keys.forEach(function (key) {
1407
- if (config[key] === undefined)
1408
- delete config[key];
1409
- });
1410
- return config;
1411
- };
1412
- return VisCrosshairComponent;
1413
- }());
1414
- VisCrosshairComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisCrosshairComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
1415
- VisCrosshairComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, template: '', isInline: true });
1416
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisCrosshairComponent, decorators: [{
1417
- type: i0.Component,
1418
- args: [{
1419
- selector: 'vis-crosshair',
1420
- template: '',
1421
- // eslint-disable-next-line no-use-before-define
1422
- providers: [{ provide: VisXYComponent, useExisting: VisCrosshairComponent }],
1423
- }]
1424
- }], propDecorators: { duration: [{
1425
- type: i0.Input
1426
- }], events: [{
1427
- type: i0.Input
1428
- }], attributes: [{
1429
- type: i0.Input
1430
- }], x: [{
1431
- type: i0.Input
1432
- }], y: [{
1433
- type: i0.Input
1434
- }], id: [{
1435
- type: i0.Input
1436
- }], color: [{
1437
- type: i0.Input
1438
- }], xScale: [{
1439
- type: i0.Input
1440
- }], yScale: [{
1441
- type: i0.Input
1442
- }], excludeFromDomainCalculation: [{
1443
- type: i0.Input
1444
- }], strokeColor: [{
1445
- type: i0.Input
1446
- }], strokeWidth: [{
1447
- type: i0.Input
1448
- }], circleRadius: [{
1449
- type: i0.Input
1450
- }], yStacked: [{
1451
- type: i0.Input
1452
- }], baseline: [{
1453
- type: i0.Input
1454
- }], tooltip: [{
1455
- type: i0.Input
1456
- }], template: [{
1457
- type: i0.Input
1458
- }], hideWhenFarFromPointer: [{
1459
- type: i0.Input
1460
- }], hideWhenFarFromPointerDistance: [{
1461
- type: i0.Input
1462
- }], snapToData: [{
1463
- type: i0.Input
1464
- }], getCircles: [{
1465
- type: i0.Input
1466
- }], onCrosshairMove: [{
1467
- type: i0.Input
1468
- }], forceShowAt: [{
1469
- type: i0.Input
1470
- }], skipRangeCheck: [{
1471
- type: i0.Input
1472
- }], visibilityThreshold: [{
1473
- type: i0.Input
1474
- }], data: [{
1475
- type: i0.Input
1476
- }] } });
1477
-
1478
- // !!! This code was automatically generated. You should not change it !!!
1479
- var VisCrosshairModule = /** @class */ (function () {
1480
- function VisCrosshairModule() {
1481
- }
1482
- return VisCrosshairModule;
1483
- }());
1484
- VisCrosshairModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisCrosshairModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
1485
- VisCrosshairModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisCrosshairModule, declarations: [VisCrosshairComponent], exports: [VisCrosshairComponent] });
1486
- VisCrosshairModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisCrosshairModule, imports: [[]] });
1487
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisCrosshairModule, decorators: [{
1488
- type: i0.NgModule,
1489
- args: [{
1490
- imports: [],
1491
- declarations: [VisCrosshairComponent],
1492
- exports: [VisCrosshairComponent],
1493
- }]
1494
- }] });
1495
-
1496
- // !!! This code was automatically generated. You should not change it !!!
1497
- var VisDonutComponent = /** @class */ (function () {
1498
- function VisDonutComponent() {
1499
- }
1500
- VisDonutComponent.prototype.ngAfterViewInit = function () {
1501
- var _a;
1502
- this.component = new ts.Donut(this.getConfig());
1503
- if (this.data) {
1504
- this.component.setData(this.data);
1505
- (_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
1506
- }
1507
- };
1508
- VisDonutComponent.prototype.ngOnChanges = function (changes) {
1509
- var _a, _b, _c;
1510
- if (changes.data) {
1511
- (_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
1512
- }
1513
- (_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
1514
- (_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
1515
- };
1516
- VisDonutComponent.prototype.getConfig = function () {
1517
- var _d = this, duration = _d.duration, events = _d.events, attributes = _d.attributes, id = _d.id, value = _d.value, angleRange = _d.angleRange, padAngle = _d.padAngle, sortFunction = _d.sortFunction, cornerRadius = _d.cornerRadius, color = _d.color, radius = _d.radius, arcWidth = _d.arcWidth, centralLabel = _d.centralLabel, centralSubLabel = _d.centralSubLabel, centralSubLabelWrap = _d.centralSubLabelWrap, showEmptySegments = _d.showEmptySegments, emptySegmentAngle = _d.emptySegmentAngle, showBackground = _d.showBackground, backgroundAngleRange = _d.backgroundAngleRange, centralLabelOffsetX = _d.centralLabelOffsetX, centralLabelOffsetY = _d.centralLabelOffsetY;
1518
- var config = { 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 };
1519
- var keys = Object.keys(config);
1520
- keys.forEach(function (key) {
1521
- if (config[key] === undefined)
1522
- delete config[key];
1523
- });
1524
- return config;
1525
- };
1526
- return VisDonutComponent;
1527
- }());
1528
- VisDonutComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisDonutComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
1529
- VisDonutComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, template: '', isInline: true });
1530
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisDonutComponent, decorators: [{
1531
- type: i0.Component,
1532
- args: [{
1533
- selector: 'vis-donut',
1534
- template: '',
1535
- // eslint-disable-next-line no-use-before-define
1536
- providers: [{ provide: VisCoreComponent, useExisting: VisDonutComponent }],
1537
- }]
1538
- }], propDecorators: { duration: [{
1539
- type: i0.Input
1540
- }], events: [{
1541
- type: i0.Input
1542
- }], attributes: [{
1543
- type: i0.Input
1544
- }], id: [{
1545
- type: i0.Input
1546
- }], value: [{
1547
- type: i0.Input
1548
- }], angleRange: [{
1549
- type: i0.Input
1550
- }], padAngle: [{
1551
- type: i0.Input
1552
- }], sortFunction: [{
1553
- type: i0.Input
1554
- }], cornerRadius: [{
1555
- type: i0.Input
1556
- }], color: [{
1557
- type: i0.Input
1558
- }], radius: [{
1559
- type: i0.Input
1560
- }], arcWidth: [{
1561
- type: i0.Input
1562
- }], centralLabel: [{
1563
- type: i0.Input
1564
- }], centralSubLabel: [{
1565
- type: i0.Input
1566
- }], centralSubLabelWrap: [{
1567
- type: i0.Input
1568
- }], showEmptySegments: [{
1569
- type: i0.Input
1570
- }], emptySegmentAngle: [{
1571
- type: i0.Input
1572
- }], showBackground: [{
1573
- type: i0.Input
1574
- }], backgroundAngleRange: [{
1575
- type: i0.Input
1576
- }], centralLabelOffsetX: [{
1577
- type: i0.Input
1578
- }], centralLabelOffsetY: [{
1579
- type: i0.Input
1580
- }], data: [{
1581
- type: i0.Input
1582
- }] } });
1583
-
1584
- // !!! This code was automatically generated. You should not change it !!!
1585
- var VisDonutModule = /** @class */ (function () {
1586
- function VisDonutModule() {
1587
- }
1588
- return VisDonutModule;
1589
- }());
1590
- VisDonutModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisDonutModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
1591
- VisDonutModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisDonutModule, declarations: [VisDonutComponent], exports: [VisDonutComponent] });
1592
- VisDonutModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisDonutModule, imports: [[]] });
1593
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisDonutModule, decorators: [{
1594
- type: i0.NgModule,
1595
- args: [{
1596
- imports: [],
1597
- declarations: [VisDonutComponent],
1598
- exports: [VisDonutComponent],
1599
- }]
1600
- }] });
1601
-
1602
- // !!! This code was automatically generated. You should not change it !!!
1603
- var VisFreeBrushComponent = /** @class */ (function () {
1604
- function VisFreeBrushComponent() {
1605
- }
1606
- VisFreeBrushComponent.prototype.ngAfterViewInit = function () {
1607
- var _a;
1608
- this.component = new ts.FreeBrush(this.getConfig());
1609
- if (this.data) {
1610
- this.component.setData(this.data);
1611
- (_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
1612
- }
1613
- };
1614
- VisFreeBrushComponent.prototype.ngOnChanges = function (changes) {
1615
- var _a, _b, _c;
1616
- if (changes.data) {
1617
- (_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
1618
- }
1619
- (_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
1620
- (_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
1621
- };
1622
- VisFreeBrushComponent.prototype.getConfig = function () {
1623
- var _d = this, duration = _d.duration, events = _d.events, attributes = _d.attributes, mode = _d.mode, onBrush = _d.onBrush, onBrushStart = _d.onBrushStart, onBrushMove = _d.onBrushMove, onBrushEnd = _d.onBrushEnd, handleWidth = _d.handleWidth, selection = _d.selection, selectionMinLength = _d.selectionMinLength, autoHide = _d.autoHide;
1624
- var config = { duration: duration, events: events, attributes: attributes, mode: mode, onBrush: onBrush, onBrushStart: onBrushStart, onBrushMove: onBrushMove, onBrushEnd: onBrushEnd, handleWidth: handleWidth, selection: selection, selectionMinLength: selectionMinLength, autoHide: autoHide };
1625
- var keys = Object.keys(config);
1626
- keys.forEach(function (key) {
1627
- if (config[key] === undefined)
1628
- delete config[key];
1629
- });
1630
- return config;
1631
- };
1632
- return VisFreeBrushComponent;
1633
- }());
1634
- VisFreeBrushComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisFreeBrushComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
1635
- VisFreeBrushComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, template: '', isInline: true });
1636
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisFreeBrushComponent, decorators: [{
1637
- type: i0.Component,
1638
- args: [{
1639
- selector: 'vis-free-brush',
1640
- template: '',
1641
- // eslint-disable-next-line no-use-before-define
1642
- providers: [{ provide: VisXYComponent, useExisting: VisFreeBrushComponent }],
1643
- }]
1644
- }], propDecorators: { duration: [{
1645
- type: i0.Input
1646
- }], events: [{
1647
- type: i0.Input
1648
- }], attributes: [{
1649
- type: i0.Input
1650
- }], mode: [{
1651
- type: i0.Input
1652
- }], onBrush: [{
1653
- type: i0.Input
1654
- }], onBrushStart: [{
1655
- type: i0.Input
1656
- }], onBrushMove: [{
1657
- type: i0.Input
1658
- }], onBrushEnd: [{
1659
- type: i0.Input
1660
- }], handleWidth: [{
1661
- type: i0.Input
1662
- }], selection: [{
1663
- type: i0.Input
1664
- }], selectionMinLength: [{
1665
- type: i0.Input
1666
- }], autoHide: [{
1667
- type: i0.Input
1668
- }], data: [{
1669
- type: i0.Input
1670
- }] } });
1671
-
1672
- // !!! This code was automatically generated. You should not change it !!!
1673
- var VisFreeBrushModule = /** @class */ (function () {
1674
- function VisFreeBrushModule() {
1675
- }
1676
- return VisFreeBrushModule;
1677
- }());
1678
- VisFreeBrushModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisFreeBrushModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
1679
- VisFreeBrushModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisFreeBrushModule, declarations: [VisFreeBrushComponent], exports: [VisFreeBrushComponent] });
1680
- VisFreeBrushModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisFreeBrushModule, imports: [[]] });
1681
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisFreeBrushModule, decorators: [{
1682
- type: i0.NgModule,
1683
- args: [{
1684
- imports: [],
1685
- declarations: [VisFreeBrushComponent],
1686
- exports: [VisFreeBrushComponent],
1687
- }]
1688
- }] });
1689
-
1690
- // !!! This code was automatically generated. You should not change it !!!
1691
- var VisGraphComponent = /** @class */ (function () {
1692
- function VisGraphComponent() {
1693
- }
1694
- VisGraphComponent.prototype.ngAfterViewInit = function () {
1695
- var _a;
1696
- this.component = new ts.Graph(this.getConfig());
1697
- if (this.data) {
1698
- this.component.setData(this.data);
1699
- (_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
1700
- }
1701
- };
1702
- VisGraphComponent.prototype.ngOnChanges = function (changes) {
1703
- var _a, _b, _c;
1704
- if (changes.data) {
1705
- (_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
1706
- }
1707
- (_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
1708
- (_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
1709
- };
1710
- VisGraphComponent.prototype.getConfig = function () {
1711
- var _d = this, duration = _d.duration, events = _d.events, attributes = _d.attributes, zoomScaleExtent = _d.zoomScaleExtent, disableZoom = _d.disableZoom, zoomEventFilter = _d.zoomEventFilter, disableDrag = _d.disableDrag, disableBrush = _d.disableBrush, zoomThrottledUpdateNodeThreshold = _d.zoomThrottledUpdateNodeThreshold, fitViewPadding = _d.fitViewPadding, fitViewAlign = _d.fitViewAlign, layoutType = _d.layoutType, layoutAutofit = _d.layoutAutofit, layoutAutofitTolerance = _d.layoutAutofitTolerance, layoutNonConnectedAside = _d.layoutNonConnectedAside, layoutNodeGroup = _d.layoutNodeGroup, layoutGroupOrder = _d.layoutGroupOrder, layoutParallelNodesPerColumn = _d.layoutParallelNodesPerColumn, layoutParallelNodeSubGroup = _d.layoutParallelNodeSubGroup, layoutParallelSubGroupsPerRow = _d.layoutParallelSubGroupsPerRow, layoutParallelNodeSpacing = _d.layoutParallelNodeSpacing, layoutParallelSubGroupSpacing = _d.layoutParallelSubGroupSpacing, layoutParallelGroupSpacing = _d.layoutParallelGroupSpacing, layoutParallelSortConnectionsByGroup = _d.layoutParallelSortConnectionsByGroup, forceLayoutSettings = _d.forceLayoutSettings, dagreLayoutSettings = _d.dagreLayoutSettings, layoutElkSettings = _d.layoutElkSettings, layoutElkNodeGroups = _d.layoutElkNodeGroups, layoutElkGetNodeShape = _d.layoutElkGetNodeShape, linkWidth = _d.linkWidth, linkStyle = _d.linkStyle, linkBandWidth = _d.linkBandWidth, linkArrow = _d.linkArrow, linkStroke = _d.linkStroke, linkDisabled = _d.linkDisabled, linkFlow = _d.linkFlow, linkFlowAnimDuration = _d.linkFlowAnimDuration, linkFlowParticleSize = _d.linkFlowParticleSize, linkFlowParticleSpeed = _d.linkFlowParticleSpeed, linkLabel = _d.linkLabel, linkLabelShiftFromCenter = _d.linkLabelShiftFromCenter, linkNeighborSpacing = _d.linkNeighborSpacing, linkCurvature = _d.linkCurvature, linkHighlightOnHover = _d.linkHighlightOnHover, linkSourcePointOffset = _d.linkSourcePointOffset, linkTargetPointOffset = _d.linkTargetPointOffset, selectedLinkId = _d.selectedLinkId, nodeSize = _d.nodeSize, nodeStrokeWidth = _d.nodeStrokeWidth, nodeShape = _d.nodeShape, nodeGaugeValue = _d.nodeGaugeValue, nodeGaugeFill = _d.nodeGaugeFill, nodeGaugeAnimDuration = _d.nodeGaugeAnimDuration, nodeIcon = _d.nodeIcon, nodeIconSize = _d.nodeIconSize, nodeLabel = _d.nodeLabel, nodeLabelTrim = _d.nodeLabelTrim, nodeLabelTrimMode = _d.nodeLabelTrimMode, nodeLabelTrimLength = _d.nodeLabelTrimLength, nodeSubLabel = _d.nodeSubLabel, nodeSubLabelTrim = _d.nodeSubLabelTrim, nodeSubLabelTrimMode = _d.nodeSubLabelTrimMode, nodeSubLabelTrimLength = _d.nodeSubLabelTrimLength, nodeSideLabels = _d.nodeSideLabels, nodeBottomIcon = _d.nodeBottomIcon, nodeDisabled = _d.nodeDisabled, nodeFill = _d.nodeFill, nodeStroke = _d.nodeStroke, nodeSort = _d.nodeSort, nodeEnterPosition = _d.nodeEnterPosition, nodeEnterScale = _d.nodeEnterScale, nodeExitPosition = _d.nodeExitPosition, nodeExitScale = _d.nodeExitScale, nodeEnterCustomRenderFunction = _d.nodeEnterCustomRenderFunction, nodeUpdateCustomRenderFunction = _d.nodeUpdateCustomRenderFunction, nodePartialUpdateCustomRenderFunction = _d.nodePartialUpdateCustomRenderFunction, nodeExitCustomRenderFunction = _d.nodeExitCustomRenderFunction, nodeOnZoomCustomRenderFunction = _d.nodeOnZoomCustomRenderFunction, nodeSelectionHighlightMode = _d.nodeSelectionHighlightMode, selectedNodeId = _d.selectedNodeId, selectedNodeIds = _d.selectedNodeIds, nodeExpandable = _d.nodeExpandable, nodeChildren = _d.nodeChildren, onNodeExpand = _d.onNodeExpand, panels = _d.panels, onNodeDragStart = _d.onNodeDragStart, onNodeDrag = _d.onNodeDrag, onNodeDragEnd = _d.onNodeDragEnd, onZoom = _d.onZoom, onZoomStart = _d.onZoomStart, onZoomEnd = _d.onZoomEnd, onLayoutCalculated = _d.onLayoutCalculated, onNodeSelectionBrush = _d.onNodeSelectionBrush, onNodeSelectionDrag = _d.onNodeSelectionDrag, onRenderComplete = _d.onRenderComplete, shouldDataUpdate = _d.shouldDataUpdate;
1712
- var config = { 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 };
1713
- var keys = Object.keys(config);
1714
- keys.forEach(function (key) {
1715
- if (config[key] === undefined)
1716
- delete config[key];
1717
- });
1718
- return config;
1719
- };
1720
- return VisGraphComponent;
1721
- }());
1722
- VisGraphComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisGraphComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
1723
- VisGraphComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, template: '', isInline: true });
1724
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisGraphComponent, decorators: [{
1725
- type: i0.Component,
1726
- args: [{
1727
- selector: 'vis-graph',
1728
- template: '',
1729
- // eslint-disable-next-line no-use-before-define
1730
- providers: [{ provide: VisCoreComponent, useExisting: VisGraphComponent }],
1731
- }]
1732
- }], propDecorators: { duration: [{
1733
- type: i0.Input
1734
- }], events: [{
1735
- type: i0.Input
1736
- }], attributes: [{
1737
- type: i0.Input
1738
- }], zoomScaleExtent: [{
1739
- type: i0.Input
1740
- }], disableZoom: [{
1741
- type: i0.Input
1742
- }], zoomEventFilter: [{
1743
- type: i0.Input
1744
- }], disableDrag: [{
1745
- type: i0.Input
1746
- }], disableBrush: [{
1747
- type: i0.Input
1748
- }], zoomThrottledUpdateNodeThreshold: [{
1749
- type: i0.Input
1750
- }], fitViewPadding: [{
1751
- type: i0.Input
1752
- }], fitViewAlign: [{
1753
- type: i0.Input
1754
- }], layoutType: [{
1755
- type: i0.Input
1756
- }], layoutAutofit: [{
1757
- type: i0.Input
1758
- }], layoutAutofitTolerance: [{
1759
- type: i0.Input
1760
- }], layoutNonConnectedAside: [{
1761
- type: i0.Input
1762
- }], layoutNodeGroup: [{
1763
- type: i0.Input
1764
- }], layoutGroupOrder: [{
1765
- type: i0.Input
1766
- }], layoutParallelNodesPerColumn: [{
1767
- type: i0.Input
1768
- }], layoutParallelNodeSubGroup: [{
1769
- type: i0.Input
1770
- }], layoutParallelSubGroupsPerRow: [{
1771
- type: i0.Input
1772
- }], layoutParallelNodeSpacing: [{
1773
- type: i0.Input
1774
- }], layoutParallelSubGroupSpacing: [{
1775
- type: i0.Input
1776
- }], layoutParallelGroupSpacing: [{
1777
- type: i0.Input
1778
- }], layoutParallelSortConnectionsByGroup: [{
1779
- type: i0.Input
1780
- }], forceLayoutSettings: [{
1781
- type: i0.Input
1782
- }], dagreLayoutSettings: [{
1783
- type: i0.Input
1784
- }], layoutElkSettings: [{
1785
- type: i0.Input
1786
- }], layoutElkNodeGroups: [{
1787
- type: i0.Input
1788
- }], layoutElkGetNodeShape: [{
1789
- type: i0.Input
1790
- }], linkWidth: [{
1791
- type: i0.Input
1792
- }], linkStyle: [{
1793
- type: i0.Input
1794
- }], linkBandWidth: [{
1795
- type: i0.Input
1796
- }], linkArrow: [{
1797
- type: i0.Input
1798
- }], linkStroke: [{
1799
- type: i0.Input
1800
- }], linkDisabled: [{
1801
- type: i0.Input
1802
- }], linkFlow: [{
1803
- type: i0.Input
1804
- }], linkFlowAnimDuration: [{
1805
- type: i0.Input
1806
- }], linkFlowParticleSize: [{
1807
- type: i0.Input
1808
- }], linkFlowParticleSpeed: [{
1809
- type: i0.Input
1810
- }], linkLabel: [{
1811
- type: i0.Input
1812
- }], linkLabelShiftFromCenter: [{
1813
- type: i0.Input
1814
- }], linkNeighborSpacing: [{
1815
- type: i0.Input
1816
- }], linkCurvature: [{
1817
- type: i0.Input
1818
- }], linkHighlightOnHover: [{
1819
- type: i0.Input
1820
- }], linkSourcePointOffset: [{
1821
- type: i0.Input
1822
- }], linkTargetPointOffset: [{
1823
- type: i0.Input
1824
- }], selectedLinkId: [{
1825
- type: i0.Input
1826
- }], nodeSize: [{
1827
- type: i0.Input
1828
- }], nodeStrokeWidth: [{
1829
- type: i0.Input
1830
- }], nodeShape: [{
1831
- type: i0.Input
1832
- }], nodeGaugeValue: [{
1833
- type: i0.Input
1834
- }], nodeGaugeFill: [{
1835
- type: i0.Input
1836
- }], nodeGaugeAnimDuration: [{
1837
- type: i0.Input
1838
- }], nodeIcon: [{
1839
- type: i0.Input
1840
- }], nodeIconSize: [{
1841
- type: i0.Input
1842
- }], nodeLabel: [{
1843
- type: i0.Input
1844
- }], nodeLabelTrim: [{
1845
- type: i0.Input
1846
- }], nodeLabelTrimMode: [{
1847
- type: i0.Input
1848
- }], nodeLabelTrimLength: [{
1849
- type: i0.Input
1850
- }], nodeSubLabel: [{
1851
- type: i0.Input
1852
- }], nodeSubLabelTrim: [{
1853
- type: i0.Input
1854
- }], nodeSubLabelTrimMode: [{
1855
- type: i0.Input
1856
- }], nodeSubLabelTrimLength: [{
1857
- type: i0.Input
1858
- }], nodeSideLabels: [{
1859
- type: i0.Input
1860
- }], nodeBottomIcon: [{
1861
- type: i0.Input
1862
- }], nodeDisabled: [{
1863
- type: i0.Input
1864
- }], nodeFill: [{
1865
- type: i0.Input
1866
- }], nodeStroke: [{
1867
- type: i0.Input
1868
- }], nodeSort: [{
1869
- type: i0.Input
1870
- }], nodeEnterPosition: [{
1871
- type: i0.Input
1872
- }], nodeEnterScale: [{
1873
- type: i0.Input
1874
- }], nodeExitPosition: [{
1875
- type: i0.Input
1876
- }], nodeExitScale: [{
1877
- type: i0.Input
1878
- }], nodeEnterCustomRenderFunction: [{
1879
- type: i0.Input
1880
- }], nodeUpdateCustomRenderFunction: [{
1881
- type: i0.Input
1882
- }], nodePartialUpdateCustomRenderFunction: [{
1883
- type: i0.Input
1884
- }], nodeExitCustomRenderFunction: [{
1885
- type: i0.Input
1886
- }], nodeOnZoomCustomRenderFunction: [{
1887
- type: i0.Input
1888
- }], nodeSelectionHighlightMode: [{
1889
- type: i0.Input
1890
- }], selectedNodeId: [{
1891
- type: i0.Input
1892
- }], selectedNodeIds: [{
1893
- type: i0.Input
1894
- }], nodeExpandable: [{
1895
- type: i0.Input
1896
- }], nodeChildren: [{
1897
- type: i0.Input
1898
- }], onNodeExpand: [{
1899
- type: i0.Input
1900
- }], panels: [{
1901
- type: i0.Input
1902
- }], onNodeDragStart: [{
1903
- type: i0.Input
1904
- }], onNodeDrag: [{
1905
- type: i0.Input
1906
- }], onNodeDragEnd: [{
1907
- type: i0.Input
1908
- }], onZoom: [{
1909
- type: i0.Input
1910
- }], onZoomStart: [{
1911
- type: i0.Input
1912
- }], onZoomEnd: [{
1913
- type: i0.Input
1914
- }], onLayoutCalculated: [{
1915
- type: i0.Input
1916
- }], onNodeSelectionBrush: [{
1917
- type: i0.Input
1918
- }], onNodeSelectionDrag: [{
1919
- type: i0.Input
1920
- }], onRenderComplete: [{
1921
- type: i0.Input
1922
- }], shouldDataUpdate: [{
1923
- type: i0.Input
1924
- }], data: [{
1925
- type: i0.Input
1926
- }] } });
1927
-
1928
- // !!! This code was automatically generated. You should not change it !!!
1929
- var VisGraphModule = /** @class */ (function () {
1930
- function VisGraphModule() {
1931
- }
1932
- return VisGraphModule;
1933
- }());
1934
- VisGraphModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisGraphModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
1935
- VisGraphModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisGraphModule, declarations: [VisGraphComponent], exports: [VisGraphComponent] });
1936
- VisGraphModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisGraphModule, imports: [[]] });
1937
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisGraphModule, decorators: [{
1938
- type: i0.NgModule,
1939
- args: [{
1940
- imports: [],
1941
- declarations: [VisGraphComponent],
1942
- exports: [VisGraphComponent],
1943
- }]
1944
- }] });
1945
-
1946
- // !!! This code was automatically generated. You should not change it !!!
1947
- var VisGroupedBarComponent = /** @class */ (function () {
1948
- function VisGroupedBarComponent() {
1949
- }
1950
- VisGroupedBarComponent.prototype.ngAfterViewInit = function () {
1951
- var _a;
1952
- this.component = new ts.GroupedBar(this.getConfig());
1953
- if (this.data) {
1954
- this.component.setData(this.data);
1955
- (_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
1956
- }
1957
- };
1958
- VisGroupedBarComponent.prototype.ngOnChanges = function (changes) {
1959
- var _a, _b, _c;
1960
- if (changes.data) {
1961
- (_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
1962
- }
1963
- (_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
1964
- (_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
1965
- };
1966
- VisGroupedBarComponent.prototype.getConfig = function () {
1967
- var _d = this, duration = _d.duration, events = _d.events, attributes = _d.attributes, x = _d.x, y = _d.y, id = _d.id, color = _d.color, xScale = _d.xScale, yScale = _d.yScale, excludeFromDomainCalculation = _d.excludeFromDomainCalculation, groupWidth = _d.groupWidth, groupMaxWidth = _d.groupMaxWidth, dataStep = _d.dataStep, groupPadding = _d.groupPadding, barPadding = _d.barPadding, roundedCorners = _d.roundedCorners, barMinHeight = _d.barMinHeight, cursor = _d.cursor, orientation = _d.orientation;
1968
- var config = { 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 };
1969
- var keys = Object.keys(config);
1970
- keys.forEach(function (key) {
1971
- if (config[key] === undefined)
1972
- delete config[key];
1973
- });
1974
- return config;
1975
- };
1976
- return VisGroupedBarComponent;
1977
- }());
1978
- VisGroupedBarComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisGroupedBarComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
1979
- VisGroupedBarComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, template: '', isInline: true });
1980
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisGroupedBarComponent, decorators: [{
1981
- type: i0.Component,
1982
- args: [{
1983
- selector: 'vis-grouped-bar',
1984
- template: '',
1985
- // eslint-disable-next-line no-use-before-define
1986
- providers: [{ provide: VisXYComponent, useExisting: VisGroupedBarComponent }],
1987
- }]
1988
- }], propDecorators: { duration: [{
1989
- type: i0.Input
1990
- }], events: [{
1991
- type: i0.Input
1992
- }], attributes: [{
1993
- type: i0.Input
1994
- }], x: [{
1995
- type: i0.Input
1996
- }], y: [{
1997
- type: i0.Input
1998
- }], id: [{
1999
- type: i0.Input
2000
- }], color: [{
2001
- type: i0.Input
2002
- }], xScale: [{
2003
- type: i0.Input
2004
- }], yScale: [{
2005
- type: i0.Input
2006
- }], excludeFromDomainCalculation: [{
2007
- type: i0.Input
2008
- }], groupWidth: [{
2009
- type: i0.Input
2010
- }], groupMaxWidth: [{
2011
- type: i0.Input
2012
- }], dataStep: [{
2013
- type: i0.Input
2014
- }], groupPadding: [{
2015
- type: i0.Input
2016
- }], barPadding: [{
2017
- type: i0.Input
2018
- }], roundedCorners: [{
2019
- type: i0.Input
2020
- }], barMinHeight: [{
2021
- type: i0.Input
2022
- }], cursor: [{
2023
- type: i0.Input
2024
- }], orientation: [{
2025
- type: i0.Input
2026
- }], data: [{
2027
- type: i0.Input
2028
- }] } });
2029
-
2030
- // !!! This code was automatically generated. You should not change it !!!
2031
- var VisGroupedBarModule = /** @class */ (function () {
2032
- function VisGroupedBarModule() {
2033
- }
2034
- return VisGroupedBarModule;
2035
- }());
2036
- VisGroupedBarModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisGroupedBarModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
2037
- VisGroupedBarModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisGroupedBarModule, declarations: [VisGroupedBarComponent], exports: [VisGroupedBarComponent] });
2038
- VisGroupedBarModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisGroupedBarModule, imports: [[]] });
2039
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisGroupedBarModule, decorators: [{
2040
- type: i0.NgModule,
2041
- args: [{
2042
- imports: [],
2043
- declarations: [VisGroupedBarComponent],
2044
- exports: [VisGroupedBarComponent],
2045
- }]
2046
- }] });
2047
-
2048
- // !!! This code was automatically generated. You should not change it !!!
2049
- var VisLineComponent = /** @class */ (function () {
2050
- function VisLineComponent() {
2051
- }
2052
- VisLineComponent.prototype.ngAfterViewInit = function () {
2053
- var _a;
2054
- this.component = new ts.Line(this.getConfig());
2055
- if (this.data) {
2056
- this.component.setData(this.data);
2057
- (_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
2058
- }
2059
- };
2060
- VisLineComponent.prototype.ngOnChanges = function (changes) {
2061
- var _a, _b, _c;
2062
- if (changes.data) {
2063
- (_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
2064
- }
2065
- (_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
2066
- (_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
2067
- };
2068
- VisLineComponent.prototype.getConfig = function () {
2069
- var _d = this, duration = _d.duration, events = _d.events, attributes = _d.attributes, x = _d.x, y = _d.y, id = _d.id, color = _d.color, xScale = _d.xScale, yScale = _d.yScale, excludeFromDomainCalculation = _d.excludeFromDomainCalculation, curveType = _d.curveType, lineWidth = _d.lineWidth, lineDashArray = _d.lineDashArray, fallbackValue = _d.fallbackValue, highlightOnHover = _d.highlightOnHover, cursor = _d.cursor, interpolateMissingData = _d.interpolateMissingData;
2070
- var config = { 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 };
2071
- var keys = Object.keys(config);
2072
- keys.forEach(function (key) {
2073
- if (config[key] === undefined)
2074
- delete config[key];
2075
- });
2076
- return config;
2077
- };
2078
- return VisLineComponent;
2079
- }());
2080
- VisLineComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisLineComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
2081
- VisLineComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, template: '', isInline: true });
2082
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisLineComponent, decorators: [{
2083
- type: i0.Component,
2084
- args: [{
2085
- selector: 'vis-line',
2086
- template: '',
2087
- // eslint-disable-next-line no-use-before-define
2088
- providers: [{ provide: VisXYComponent, useExisting: VisLineComponent }],
2089
- }]
2090
- }], propDecorators: { duration: [{
2091
- type: i0.Input
2092
- }], events: [{
2093
- type: i0.Input
2094
- }], attributes: [{
2095
- type: i0.Input
2096
- }], x: [{
2097
- type: i0.Input
2098
- }], y: [{
2099
- type: i0.Input
2100
- }], id: [{
2101
- type: i0.Input
2102
- }], color: [{
2103
- type: i0.Input
2104
- }], xScale: [{
2105
- type: i0.Input
2106
- }], yScale: [{
2107
- type: i0.Input
2108
- }], excludeFromDomainCalculation: [{
2109
- type: i0.Input
2110
- }], curveType: [{
2111
- type: i0.Input
2112
- }], lineWidth: [{
2113
- type: i0.Input
2114
- }], lineDashArray: [{
2115
- type: i0.Input
2116
- }], fallbackValue: [{
2117
- type: i0.Input
2118
- }], highlightOnHover: [{
2119
- type: i0.Input
2120
- }], cursor: [{
2121
- type: i0.Input
2122
- }], interpolateMissingData: [{
2123
- type: i0.Input
2124
- }], data: [{
2125
- type: i0.Input
2126
- }] } });
2127
-
2128
- // !!! This code was automatically generated. You should not change it !!!
2129
- var VisLineModule = /** @class */ (function () {
2130
- function VisLineModule() {
2131
- }
2132
- return VisLineModule;
2133
- }());
2134
- VisLineModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisLineModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
2135
- VisLineModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisLineModule, declarations: [VisLineComponent], exports: [VisLineComponent] });
2136
- VisLineModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisLineModule, imports: [[]] });
2137
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisLineModule, decorators: [{
2138
- type: i0.NgModule,
2139
- args: [{
2140
- imports: [],
2141
- declarations: [VisLineComponent],
2142
- exports: [VisLineComponent],
2143
- }]
2144
- }] });
2145
-
2146
- // !!! This code was automatically generated. You should not change it !!!
2147
- var VisNestedDonutComponent = /** @class */ (function () {
2148
- function VisNestedDonutComponent() {
2149
- }
2150
- VisNestedDonutComponent.prototype.ngAfterViewInit = function () {
2151
- var _a;
2152
- this.component = new ts.NestedDonut(this.getConfig());
2153
- if (this.data) {
2154
- this.component.setData(this.data);
2155
- (_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
2156
- }
2157
- };
2158
- VisNestedDonutComponent.prototype.ngOnChanges = function (changes) {
2159
- var _a, _b, _c;
2160
- if (changes.data) {
2161
- (_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
2162
- }
2163
- (_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
2164
- (_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
2165
- };
2166
- VisNestedDonutComponent.prototype.getConfig = function () {
2167
- var _d = this, duration = _d.duration, events = _d.events, attributes = _d.attributes, angleRange = _d.angleRange, direction = _d.direction, value = _d.value, centralLabel = _d.centralLabel, centralSubLabel = _d.centralSubLabel, centralSubLabelWrap = _d.centralSubLabelWrap, showBackground = _d.showBackground, sort = _d.sort, layers = _d.layers, layerSettings = _d.layerSettings, layerPadding = _d.layerPadding, cornerRadius = _d.cornerRadius, emptySegmentAngle = _d.emptySegmentAngle, hideOverflowingSegmentLabels = _d.hideOverflowingSegmentLabels, segmentColor = _d.segmentColor, segmentLabel = _d.segmentLabel, segmentLabelColor = _d.segmentLabelColor, showEmptySegments = _d.showEmptySegments, showSegmentLabels = _d.showSegmentLabels;
2168
- var config = { 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 };
2169
- var keys = Object.keys(config);
2170
- keys.forEach(function (key) {
2171
- if (config[key] === undefined)
2172
- delete config[key];
2173
- });
2174
- return config;
2175
- };
2176
- return VisNestedDonutComponent;
2177
- }());
2178
- VisNestedDonutComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisNestedDonutComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
2179
- VisNestedDonutComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, template: '', isInline: true });
2180
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisNestedDonutComponent, decorators: [{
2181
- type: i0.Component,
2182
- args: [{
2183
- selector: 'vis-nested-donut',
2184
- template: '',
2185
- // eslint-disable-next-line no-use-before-define
2186
- providers: [{ provide: VisCoreComponent, useExisting: VisNestedDonutComponent }],
2187
- }]
2188
- }], propDecorators: { duration: [{
2189
- type: i0.Input
2190
- }], events: [{
2191
- type: i0.Input
2192
- }], attributes: [{
2193
- type: i0.Input
2194
- }], angleRange: [{
2195
- type: i0.Input
2196
- }], direction: [{
2197
- type: i0.Input
2198
- }], value: [{
2199
- type: i0.Input
2200
- }], centralLabel: [{
2201
- type: i0.Input
2202
- }], centralSubLabel: [{
2203
- type: i0.Input
2204
- }], centralSubLabelWrap: [{
2205
- type: i0.Input
2206
- }], showBackground: [{
2207
- type: i0.Input
2208
- }], sort: [{
2209
- type: i0.Input
2210
- }], layers: [{
2211
- type: i0.Input
2212
- }], layerSettings: [{
2213
- type: i0.Input
2214
- }], layerPadding: [{
2215
- type: i0.Input
2216
- }], cornerRadius: [{
2217
- type: i0.Input
2218
- }], emptySegmentAngle: [{
2219
- type: i0.Input
2220
- }], hideOverflowingSegmentLabels: [{
2221
- type: i0.Input
2222
- }], segmentColor: [{
2223
- type: i0.Input
2224
- }], segmentLabel: [{
2225
- type: i0.Input
2226
- }], segmentLabelColor: [{
2227
- type: i0.Input
2228
- }], showEmptySegments: [{
2229
- type: i0.Input
2230
- }], showSegmentLabels: [{
2231
- type: i0.Input
2232
- }], data: [{
2233
- type: i0.Input
2234
- }] } });
2235
-
2236
- // !!! This code was automatically generated. You should not change it !!!
2237
- var VisNestedDonutModule = /** @class */ (function () {
2238
- function VisNestedDonutModule() {
2239
- }
2240
- return VisNestedDonutModule;
2241
- }());
2242
- VisNestedDonutModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisNestedDonutModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
2243
- VisNestedDonutModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisNestedDonutModule, declarations: [VisNestedDonutComponent], exports: [VisNestedDonutComponent] });
2244
- VisNestedDonutModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisNestedDonutModule, imports: [[]] });
2245
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisNestedDonutModule, decorators: [{
2246
- type: i0.NgModule,
2247
- args: [{
2248
- imports: [],
2249
- declarations: [VisNestedDonutComponent],
2250
- exports: [VisNestedDonutComponent],
2251
- }]
2252
- }] });
2253
-
2254
- // !!! This code was automatically generated. You should not change it !!!
2255
- var VisPlotlineComponent = /** @class */ (function () {
2256
- function VisPlotlineComponent() {
2257
- }
2258
- VisPlotlineComponent.prototype.ngAfterViewInit = function () {
2259
- this.component = new ts.Plotline(this.getConfig());
2260
- };
2261
- VisPlotlineComponent.prototype.ngOnChanges = function (changes) {
2262
- var _a, _b;
2263
- (_a = this.component) === null || _a === void 0 ? void 0 : _a.setConfig(this.getConfig());
2264
- (_b = this.componentContainer) === null || _b === void 0 ? void 0 : _b.render();
2265
- };
2266
- VisPlotlineComponent.prototype.getConfig = function () {
2267
- var _c = this, duration = _c.duration, events = _c.events, attributes = _c.attributes, lineWidth = _c.lineWidth, axis = _c.axis, value = _c.value, lineStyle = _c.lineStyle, labelText = _c.labelText, labelPosition = _c.labelPosition, labelOffsetX = _c.labelOffsetX, labelOffsetY = _c.labelOffsetY, labelOrientation = _c.labelOrientation, labelColor = _c.labelColor, labelSize = _c.labelSize;
2268
- var config = { 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 };
2269
- var keys = Object.keys(config);
2270
- keys.forEach(function (key) {
2271
- if (config[key] === undefined)
2272
- delete config[key];
2273
- });
2274
- return config;
2275
- };
2276
- return VisPlotlineComponent;
2277
- }());
2278
- VisPlotlineComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisPlotlineComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
2279
- VisPlotlineComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, template: '', isInline: true });
2280
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisPlotlineComponent, decorators: [{
2281
- type: i0.Component,
2282
- args: [{
2283
- selector: 'vis-plotline',
2284
- template: '',
2285
- // eslint-disable-next-line no-use-before-define
2286
- providers: [{ provide: VisXYComponent, useExisting: VisPlotlineComponent }],
2287
- }]
2288
- }], propDecorators: { duration: [{
2289
- type: i0.Input
2290
- }], events: [{
2291
- type: i0.Input
2292
- }], attributes: [{
2293
- type: i0.Input
2294
- }], lineWidth: [{
2295
- type: i0.Input
2296
- }], axis: [{
2297
- type: i0.Input
2298
- }], value: [{
2299
- type: i0.Input
2300
- }], lineStyle: [{
2301
- type: i0.Input
2302
- }], labelText: [{
2303
- type: i0.Input
2304
- }], labelPosition: [{
2305
- type: i0.Input
2306
- }], labelOffsetX: [{
2307
- type: i0.Input
2308
- }], labelOffsetY: [{
2309
- type: i0.Input
2310
- }], labelOrientation: [{
2311
- type: i0.Input
2312
- }], labelColor: [{
2313
- type: i0.Input
2314
- }], labelSize: [{
2315
- type: i0.Input
2316
- }] } });
2317
-
2318
- // !!! This code was automatically generated. You should not change it !!!
2319
- var VisPlotlineModule = /** @class */ (function () {
2320
- function VisPlotlineModule() {
2321
- }
2322
- return VisPlotlineModule;
2323
- }());
2324
- VisPlotlineModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisPlotlineModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
2325
- VisPlotlineModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisPlotlineModule, declarations: [VisPlotlineComponent], exports: [VisPlotlineComponent] });
2326
- VisPlotlineModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisPlotlineModule, imports: [[]] });
2327
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisPlotlineModule, decorators: [{
2328
- type: i0.NgModule,
2329
- args: [{
2330
- imports: [],
2331
- declarations: [VisPlotlineComponent],
2332
- exports: [VisPlotlineComponent],
2333
- }]
2334
- }] });
2335
-
2336
- // !!! This code was automatically generated. You should not change it !!!
2337
- var VisSankeyComponent = /** @class */ (function () {
2338
- function VisSankeyComponent() {
2339
- }
2340
- VisSankeyComponent.prototype.ngAfterViewInit = function () {
2341
- var _a;
2342
- this.component = new ts.Sankey(this.getConfig());
2343
- if (this.data) {
2344
- this.component.setData(this.data);
2345
- (_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
2346
- }
2347
- };
2348
- VisSankeyComponent.prototype.ngOnChanges = function (changes) {
2349
- var _a, _b, _c;
2350
- if (changes.data) {
2351
- (_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
2352
- }
2353
- (_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
2354
- (_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
2355
- };
2356
- VisSankeyComponent.prototype.getConfig = function () {
2357
- var _d = this, duration = _d.duration, events = _d.events, attributes = _d.attributes, id = _d.id, heightNormalizationCoeff = _d.heightNormalizationCoeff, zoomScale = _d.zoomScale, zoomPan = _d.zoomPan, enableZoom = _d.enableZoom, zoomExtent = _d.zoomExtent, zoomMode = _d.zoomMode, disableZoomModifierKeys = _d.disableZoomModifierKeys, exitTransitionType = _d.exitTransitionType, enterTransitionType = _d.enterTransitionType, highlightSubtreeOnHover = _d.highlightSubtreeOnHover, highlightDuration = _d.highlightDuration, highlightDelay = _d.highlightDelay, iterations = _d.iterations, nodeSort = _d.nodeSort, linkSort = _d.linkSort, nodeWidth = _d.nodeWidth, nodeAlign = _d.nodeAlign, nodeHorizontalSpacing = _d.nodeHorizontalSpacing, nodeMinHeight = _d.nodeMinHeight, nodeMaxHeight = _d.nodeMaxHeight, nodePadding = _d.nodePadding, showSingleNode = _d.showSingleNode, nodeCursor = _d.nodeCursor, nodeIcon = _d.nodeIcon, nodeColor = _d.nodeColor, nodeFixedValue = _d.nodeFixedValue, nodeIconColor = _d.nodeIconColor, linkColor = _d.linkColor, linkValue = _d.linkValue, linkCursor = _d.linkCursor, label = _d.label, subLabel = _d.subLabel, labelPosition = _d.labelPosition, labelVerticalAlign = _d.labelVerticalAlign, labelBackground = _d.labelBackground, labelFit = _d.labelFit, labelMaxWidth = _d.labelMaxWidth, labelMaxWidthTakeAvailableSpace = _d.labelMaxWidthTakeAvailableSpace, labelMaxWidthTakeAvailableSpaceTolerance = _d.labelMaxWidthTakeAvailableSpaceTolerance, labelExpandTrimmedOnHover = _d.labelExpandTrimmedOnHover, labelTrimMode = _d.labelTrimMode, labelFontSize = _d.labelFontSize, labelTextSeparator = _d.labelTextSeparator, labelTextDecoration = _d.labelTextDecoration, labelForceWordBreak = _d.labelForceWordBreak, labelColor = _d.labelColor, labelCursor = _d.labelCursor, labelVisibility = _d.labelVisibility, subLabelFontSize = _d.subLabelFontSize, subLabelColor = _d.subLabelColor, subLabelPlacement = _d.subLabelPlacement, subLabelTextDecoration = _d.subLabelTextDecoration, subLabelToLabelInlineWidthRatio = _d.subLabelToLabelInlineWidthRatio, onZoom = _d.onZoom, onLayoutCalculated = _d.onLayoutCalculated, selectedNodeIds = _d.selectedNodeIds;
2358
- var config = { 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 };
2359
- var keys = Object.keys(config);
2360
- keys.forEach(function (key) {
2361
- if (config[key] === undefined)
2362
- delete config[key];
2363
- });
2364
- return config;
2365
- };
2366
- return VisSankeyComponent;
2367
- }());
2368
- VisSankeyComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisSankeyComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
2369
- VisSankeyComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, template: '', isInline: true });
2370
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisSankeyComponent, decorators: [{
2371
- type: i0.Component,
2372
- args: [{
2373
- selector: 'vis-sankey',
2374
- template: '',
2375
- // eslint-disable-next-line no-use-before-define
2376
- providers: [{ provide: VisCoreComponent, useExisting: VisSankeyComponent }],
2377
- }]
2378
- }], propDecorators: { duration: [{
2379
- type: i0.Input
2380
- }], events: [{
2381
- type: i0.Input
2382
- }], attributes: [{
2383
- type: i0.Input
2384
- }], id: [{
2385
- type: i0.Input
2386
- }], heightNormalizationCoeff: [{
2387
- type: i0.Input
2388
- }], zoomScale: [{
2389
- type: i0.Input
2390
- }], zoomPan: [{
2391
- type: i0.Input
2392
- }], enableZoom: [{
2393
- type: i0.Input
2394
- }], zoomExtent: [{
2395
- type: i0.Input
2396
- }], zoomMode: [{
2397
- type: i0.Input
2398
- }], disableZoomModifierKeys: [{
2399
- type: i0.Input
2400
- }], exitTransitionType: [{
2401
- type: i0.Input
2402
- }], enterTransitionType: [{
2403
- type: i0.Input
2404
- }], highlightSubtreeOnHover: [{
2405
- type: i0.Input
2406
- }], highlightDuration: [{
2407
- type: i0.Input
2408
- }], highlightDelay: [{
2409
- type: i0.Input
2410
- }], iterations: [{
2411
- type: i0.Input
2412
- }], nodeSort: [{
2413
- type: i0.Input
2414
- }], linkSort: [{
2415
- type: i0.Input
2416
- }], nodeWidth: [{
2417
- type: i0.Input
2418
- }], nodeAlign: [{
2419
- type: i0.Input
2420
- }], nodeHorizontalSpacing: [{
2421
- type: i0.Input
2422
- }], nodeMinHeight: [{
2423
- type: i0.Input
2424
- }], nodeMaxHeight: [{
2425
- type: i0.Input
2426
- }], nodePadding: [{
2427
- type: i0.Input
2428
- }], showSingleNode: [{
2429
- type: i0.Input
2430
- }], nodeCursor: [{
2431
- type: i0.Input
2432
- }], nodeIcon: [{
2433
- type: i0.Input
2434
- }], nodeColor: [{
2435
- type: i0.Input
2436
- }], nodeFixedValue: [{
2437
- type: i0.Input
2438
- }], nodeIconColor: [{
2439
- type: i0.Input
2440
- }], linkColor: [{
2441
- type: i0.Input
2442
- }], linkValue: [{
2443
- type: i0.Input
2444
- }], linkCursor: [{
2445
- type: i0.Input
2446
- }], label: [{
2447
- type: i0.Input
2448
- }], subLabel: [{
2449
- type: i0.Input
2450
- }], labelPosition: [{
2451
- type: i0.Input
2452
- }], labelVerticalAlign: [{
2453
- type: i0.Input
2454
- }], labelBackground: [{
2455
- type: i0.Input
2456
- }], labelFit: [{
2457
- type: i0.Input
2458
- }], labelMaxWidth: [{
2459
- type: i0.Input
2460
- }], labelMaxWidthTakeAvailableSpace: [{
2461
- type: i0.Input
2462
- }], labelMaxWidthTakeAvailableSpaceTolerance: [{
2463
- type: i0.Input
2464
- }], labelExpandTrimmedOnHover: [{
2465
- type: i0.Input
2466
- }], labelTrimMode: [{
2467
- type: i0.Input
2468
- }], labelFontSize: [{
2469
- type: i0.Input
2470
- }], labelTextSeparator: [{
2471
- type: i0.Input
2472
- }], labelTextDecoration: [{
2473
- type: i0.Input
2474
- }], labelForceWordBreak: [{
2475
- type: i0.Input
2476
- }], labelColor: [{
2477
- type: i0.Input
2478
- }], labelCursor: [{
2479
- type: i0.Input
2480
- }], labelVisibility: [{
2481
- type: i0.Input
2482
- }], subLabelFontSize: [{
2483
- type: i0.Input
2484
- }], subLabelColor: [{
2485
- type: i0.Input
2486
- }], subLabelPlacement: [{
2487
- type: i0.Input
2488
- }], subLabelTextDecoration: [{
2489
- type: i0.Input
2490
- }], subLabelToLabelInlineWidthRatio: [{
2491
- type: i0.Input
2492
- }], onZoom: [{
2493
- type: i0.Input
2494
- }], onLayoutCalculated: [{
2495
- type: i0.Input
2496
- }], selectedNodeIds: [{
2497
- type: i0.Input
2498
- }], data: [{
2499
- type: i0.Input
2500
- }] } });
2501
-
2502
- // !!! This code was automatically generated. You should not change it !!!
2503
- var VisSankeyModule = /** @class */ (function () {
2504
- function VisSankeyModule() {
2505
- }
2506
- return VisSankeyModule;
2507
- }());
2508
- VisSankeyModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisSankeyModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
2509
- VisSankeyModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisSankeyModule, declarations: [VisSankeyComponent], exports: [VisSankeyComponent] });
2510
- VisSankeyModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisSankeyModule, imports: [[]] });
2511
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisSankeyModule, decorators: [{
2512
- type: i0.NgModule,
2513
- args: [{
2514
- imports: [],
2515
- declarations: [VisSankeyComponent],
2516
- exports: [VisSankeyComponent],
2517
- }]
2518
- }] });
2519
-
2520
- // !!! This code was automatically generated. You should not change it !!!
2521
- var VisScatterComponent = /** @class */ (function () {
2522
- function VisScatterComponent() {
2523
- }
2524
- VisScatterComponent.prototype.ngAfterViewInit = function () {
2525
- var _a;
2526
- this.component = new ts.Scatter(this.getConfig());
2527
- if (this.data) {
2528
- this.component.setData(this.data);
2529
- (_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
2530
- }
2531
- };
2532
- VisScatterComponent.prototype.ngOnChanges = function (changes) {
2533
- var _a, _b, _c;
2534
- if (changes.data) {
2535
- (_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
2536
- }
2537
- (_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
2538
- (_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
2539
- };
2540
- VisScatterComponent.prototype.getConfig = function () {
2541
- var _d = this, duration = _d.duration, events = _d.events, attributes = _d.attributes, x = _d.x, y = _d.y, id = _d.id, color = _d.color, xScale = _d.xScale, yScale = _d.yScale, excludeFromDomainCalculation = _d.excludeFromDomainCalculation, size = _d.size, sizeScale = _d.sizeScale, sizeRange = _d.sizeRange, shape = _d.shape, label = _d.label, labelColor = _d.labelColor, labelHideOverlapping = _d.labelHideOverlapping, cursor = _d.cursor, labelTextBrightnessRatio = _d.labelTextBrightnessRatio, labelPosition = _d.labelPosition, strokeColor = _d.strokeColor, strokeWidth = _d.strokeWidth;
2542
- var config = { 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 };
2543
- var keys = Object.keys(config);
2544
- keys.forEach(function (key) {
2545
- if (config[key] === undefined)
2546
- delete config[key];
2547
- });
2548
- return config;
2549
- };
2550
- return VisScatterComponent;
2551
- }());
2552
- VisScatterComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisScatterComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
2553
- VisScatterComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, template: '', isInline: true });
2554
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisScatterComponent, decorators: [{
2555
- type: i0.Component,
2556
- args: [{
2557
- selector: 'vis-scatter',
2558
- template: '',
2559
- // eslint-disable-next-line no-use-before-define
2560
- providers: [{ provide: VisXYComponent, useExisting: VisScatterComponent }],
2561
- }]
2562
- }], propDecorators: { duration: [{
2563
- type: i0.Input
2564
- }], events: [{
2565
- type: i0.Input
2566
- }], attributes: [{
2567
- type: i0.Input
2568
- }], x: [{
2569
- type: i0.Input
2570
- }], y: [{
2571
- type: i0.Input
2572
- }], id: [{
2573
- type: i0.Input
2574
- }], color: [{
2575
- type: i0.Input
2576
- }], xScale: [{
2577
- type: i0.Input
2578
- }], yScale: [{
2579
- type: i0.Input
2580
- }], excludeFromDomainCalculation: [{
2581
- type: i0.Input
2582
- }], size: [{
2583
- type: i0.Input
2584
- }], sizeScale: [{
2585
- type: i0.Input
2586
- }], sizeRange: [{
2587
- type: i0.Input
2588
- }], shape: [{
2589
- type: i0.Input
2590
- }], label: [{
2591
- type: i0.Input
2592
- }], labelColor: [{
2593
- type: i0.Input
2594
- }], labelHideOverlapping: [{
2595
- type: i0.Input
2596
- }], cursor: [{
2597
- type: i0.Input
2598
- }], labelTextBrightnessRatio: [{
2599
- type: i0.Input
2600
- }], labelPosition: [{
2601
- type: i0.Input
2602
- }], strokeColor: [{
2603
- type: i0.Input
2604
- }], strokeWidth: [{
2605
- type: i0.Input
2606
- }], data: [{
2607
- type: i0.Input
2608
- }] } });
2609
-
2610
- // !!! This code was automatically generated. You should not change it !!!
2611
- var VisScatterModule = /** @class */ (function () {
2612
- function VisScatterModule() {
2613
- }
2614
- return VisScatterModule;
2615
- }());
2616
- VisScatterModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisScatterModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
2617
- VisScatterModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisScatterModule, declarations: [VisScatterComponent], exports: [VisScatterComponent] });
2618
- VisScatterModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisScatterModule, imports: [[]] });
2619
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisScatterModule, decorators: [{
2620
- type: i0.NgModule,
2621
- args: [{
2622
- imports: [],
2623
- declarations: [VisScatterComponent],
2624
- exports: [VisScatterComponent],
2625
- }]
2626
- }] });
2627
-
2628
- // !!! This code was automatically generated. You should not change it !!!
2629
- var VisStackedBarComponent = /** @class */ (function () {
2630
- function VisStackedBarComponent() {
2631
- }
2632
- VisStackedBarComponent.prototype.ngAfterViewInit = function () {
2633
- var _a;
2634
- this.component = new ts.StackedBar(this.getConfig());
2635
- if (this.data) {
2636
- this.component.setData(this.data);
2637
- (_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
2638
- }
2639
- };
2640
- VisStackedBarComponent.prototype.ngOnChanges = function (changes) {
2641
- var _a, _b, _c;
2642
- if (changes.data) {
2643
- (_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
2644
- }
2645
- (_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
2646
- (_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
2647
- };
2648
- VisStackedBarComponent.prototype.getConfig = function () {
2649
- var _d = this, duration = _d.duration, events = _d.events, attributes = _d.attributes, x = _d.x, y = _d.y, id = _d.id, color = _d.color, xScale = _d.xScale, yScale = _d.yScale, excludeFromDomainCalculation = _d.excludeFromDomainCalculation, barWidth = _d.barWidth, barMaxWidth = _d.barMaxWidth, dataStep = _d.dataStep, barPadding = _d.barPadding, roundedCorners = _d.roundedCorners, cursor = _d.cursor, barMinHeight1Px = _d.barMinHeight1Px, barMinHeightZeroValue = _d.barMinHeightZeroValue, orientation = _d.orientation;
2650
- var config = { 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 };
2651
- var keys = Object.keys(config);
2652
- keys.forEach(function (key) {
2653
- if (config[key] === undefined)
2654
- delete config[key];
2655
- });
2656
- return config;
2657
- };
2658
- return VisStackedBarComponent;
2659
- }());
2660
- VisStackedBarComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisStackedBarComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
2661
- VisStackedBarComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, template: '', isInline: true });
2662
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisStackedBarComponent, decorators: [{
2663
- type: i0.Component,
2664
- args: [{
2665
- selector: 'vis-stacked-bar',
2666
- template: '',
2667
- // eslint-disable-next-line no-use-before-define
2668
- providers: [{ provide: VisXYComponent, useExisting: VisStackedBarComponent }],
2669
- }]
2670
- }], propDecorators: { duration: [{
2671
- type: i0.Input
2672
- }], events: [{
2673
- type: i0.Input
2674
- }], attributes: [{
2675
- type: i0.Input
2676
- }], x: [{
2677
- type: i0.Input
2678
- }], y: [{
2679
- type: i0.Input
2680
- }], id: [{
2681
- type: i0.Input
2682
- }], color: [{
2683
- type: i0.Input
2684
- }], xScale: [{
2685
- type: i0.Input
2686
- }], yScale: [{
2687
- type: i0.Input
2688
- }], excludeFromDomainCalculation: [{
2689
- type: i0.Input
2690
- }], barWidth: [{
2691
- type: i0.Input
2692
- }], barMaxWidth: [{
2693
- type: i0.Input
2694
- }], dataStep: [{
2695
- type: i0.Input
2696
- }], barPadding: [{
2697
- type: i0.Input
2698
- }], roundedCorners: [{
2699
- type: i0.Input
2700
- }], cursor: [{
2701
- type: i0.Input
2702
- }], barMinHeight1Px: [{
2703
- type: i0.Input
2704
- }], barMinHeightZeroValue: [{
2705
- type: i0.Input
2706
- }], orientation: [{
2707
- type: i0.Input
2708
- }], data: [{
2709
- type: i0.Input
2710
- }] } });
2711
-
2712
- // !!! This code was automatically generated. You should not change it !!!
2713
- var VisStackedBarModule = /** @class */ (function () {
2714
- function VisStackedBarModule() {
2715
- }
2716
- return VisStackedBarModule;
2717
- }());
2718
- VisStackedBarModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisStackedBarModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
2719
- VisStackedBarModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisStackedBarModule, declarations: [VisStackedBarComponent], exports: [VisStackedBarComponent] });
2720
- VisStackedBarModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisStackedBarModule, imports: [[]] });
2721
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisStackedBarModule, decorators: [{
2722
- type: i0.NgModule,
2723
- args: [{
2724
- imports: [],
2725
- declarations: [VisStackedBarComponent],
2726
- exports: [VisStackedBarComponent],
2727
- }]
2728
- }] });
2729
-
2730
- // !!! This code was automatically generated. You should not change it !!!
2731
- var VisTimelineComponent = /** @class */ (function () {
2732
- function VisTimelineComponent() {
2733
- }
2734
- VisTimelineComponent.prototype.ngAfterViewInit = function () {
2735
- var _a;
2736
- this.component = new ts.Timeline(this.getConfig());
2737
- if (this.data) {
2738
- this.component.setData(this.data);
2739
- (_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
2740
- }
2741
- };
2742
- VisTimelineComponent.prototype.ngOnChanges = function (changes) {
2743
- var _a, _b, _c;
2744
- if (changes.data) {
2745
- (_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
2746
- }
2747
- (_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
2748
- (_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
2749
- };
2750
- VisTimelineComponent.prototype.getConfig = function () {
2751
- var _d = this, duration = _d.duration, events = _d.events, attributes = _d.attributes, x = _d.x, id = _d.id, color = _d.color, xScale = _d.xScale, yScale = _d.yScale, excludeFromDomainCalculation = _d.excludeFromDomainCalculation, type = _d.type, length = _d.length, cursor = _d.cursor, lineRow = _d.lineRow, lineDuration = _d.lineDuration, lineWidth = _d.lineWidth, lineCap = _d.lineCap, lineStartIcon = _d.lineStartIcon, lineStartIconColor = _d.lineStartIconColor, lineStartIconSize = _d.lineStartIconSize, lineStartIconArrangement = _d.lineStartIconArrangement, lineEndIcon = _d.lineEndIcon, lineEndIconColor = _d.lineEndIconColor, lineEndIconSize = _d.lineEndIconSize, lineEndIconArrangement = _d.lineEndIconArrangement, lineCursor = _d.lineCursor, showEmptySegments = _d.showEmptySegments, showEmptySegmentsCorrectPosition = _d.showEmptySegmentsCorrectPosition, rowHeight = _d.rowHeight, alternatingRowColors = _d.alternatingRowColors, showLabels = _d.showLabels, labelWidth = _d.labelWidth, maxLabelWidth = _d.maxLabelWidth, showRowLabels = _d.showRowLabels, rowLabelStyle = _d.rowLabelStyle, rowLabelFormatter = _d.rowLabelFormatter, rowIcon = _d.rowIcon, rowLabelWidth = _d.rowLabelWidth, rowMaxLabelWidth = _d.rowMaxLabelWidth, rowLabelTextAlign = _d.rowLabelTextAlign, rowLabelTrimMode = _d.rowLabelTrimMode, rowLabelMargin = _d.rowLabelMargin, rowFillEmptySpace = _d.rowFillEmptySpace, arrows = _d.arrows, animationLineEnterPosition = _d.animationLineEnterPosition, animationLineExitPosition = _d.animationLineExitPosition, onScroll = _d.onScroll;
2752
- var config = { 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 };
2753
- var keys = Object.keys(config);
2754
- keys.forEach(function (key) {
2755
- if (config[key] === undefined)
2756
- delete config[key];
2757
- });
2758
- return config;
2759
- };
2760
- return VisTimelineComponent;
2761
- }());
2762
- VisTimelineComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisTimelineComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
2763
- VisTimelineComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, template: '', isInline: true });
2764
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisTimelineComponent, decorators: [{
2765
- type: i0.Component,
2766
- args: [{
2767
- selector: 'vis-timeline',
2768
- template: '',
2769
- // eslint-disable-next-line no-use-before-define
2770
- providers: [{ provide: VisXYComponent, useExisting: VisTimelineComponent }],
2771
- }]
2772
- }], propDecorators: { duration: [{
2773
- type: i0.Input
2774
- }], events: [{
2775
- type: i0.Input
2776
- }], attributes: [{
2777
- type: i0.Input
2778
- }], x: [{
2779
- type: i0.Input
2780
- }], id: [{
2781
- type: i0.Input
2782
- }], color: [{
2783
- type: i0.Input
2784
- }], xScale: [{
2785
- type: i0.Input
2786
- }], yScale: [{
2787
- type: i0.Input
2788
- }], excludeFromDomainCalculation: [{
2789
- type: i0.Input
2790
- }], type: [{
2791
- type: i0.Input
2792
- }], length: [{
2793
- type: i0.Input
2794
- }], cursor: [{
2795
- type: i0.Input
2796
- }], lineRow: [{
2797
- type: i0.Input
2798
- }], lineDuration: [{
2799
- type: i0.Input
2800
- }], lineWidth: [{
2801
- type: i0.Input
2802
- }], lineCap: [{
2803
- type: i0.Input
2804
- }], lineStartIcon: [{
2805
- type: i0.Input
2806
- }], lineStartIconColor: [{
2807
- type: i0.Input
2808
- }], lineStartIconSize: [{
2809
- type: i0.Input
2810
- }], lineStartIconArrangement: [{
2811
- type: i0.Input
2812
- }], lineEndIcon: [{
2813
- type: i0.Input
2814
- }], lineEndIconColor: [{
2815
- type: i0.Input
2816
- }], lineEndIconSize: [{
2817
- type: i0.Input
2818
- }], lineEndIconArrangement: [{
2819
- type: i0.Input
2820
- }], lineCursor: [{
2821
- type: i0.Input
2822
- }], showEmptySegments: [{
2823
- type: i0.Input
2824
- }], showEmptySegmentsCorrectPosition: [{
2825
- type: i0.Input
2826
- }], rowHeight: [{
2827
- type: i0.Input
2828
- }], alternatingRowColors: [{
2829
- type: i0.Input
2830
- }], showLabels: [{
2831
- type: i0.Input
2832
- }], labelWidth: [{
2833
- type: i0.Input
2834
- }], maxLabelWidth: [{
2835
- type: i0.Input
2836
- }], showRowLabels: [{
2837
- type: i0.Input
2838
- }], rowLabelStyle: [{
2839
- type: i0.Input
2840
- }], rowLabelFormatter: [{
2841
- type: i0.Input
2842
- }], rowIcon: [{
2843
- type: i0.Input
2844
- }], rowLabelWidth: [{
2845
- type: i0.Input
2846
- }], rowMaxLabelWidth: [{
2847
- type: i0.Input
2848
- }], rowLabelTextAlign: [{
2849
- type: i0.Input
2850
- }], rowLabelTrimMode: [{
2851
- type: i0.Input
2852
- }], rowLabelMargin: [{
2853
- type: i0.Input
2854
- }], rowFillEmptySpace: [{
2855
- type: i0.Input
2856
- }], arrows: [{
2857
- type: i0.Input
2858
- }], animationLineEnterPosition: [{
2859
- type: i0.Input
2860
- }], animationLineExitPosition: [{
2861
- type: i0.Input
2862
- }], onScroll: [{
2863
- type: i0.Input
2864
- }], data: [{
2865
- type: i0.Input
2866
- }] } });
2867
-
2868
- // !!! This code was automatically generated. You should not change it !!!
2869
- var VisTimelineModule = /** @class */ (function () {
2870
- function VisTimelineModule() {
2871
- }
2872
- return VisTimelineModule;
2873
- }());
2874
- VisTimelineModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisTimelineModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
2875
- VisTimelineModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisTimelineModule, declarations: [VisTimelineComponent], exports: [VisTimelineComponent] });
2876
- VisTimelineModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisTimelineModule, imports: [[]] });
2877
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisTimelineModule, decorators: [{
2878
- type: i0.NgModule,
2879
- args: [{
2880
- imports: [],
2881
- declarations: [VisTimelineComponent],
2882
- exports: [VisTimelineComponent],
2883
- }]
2884
- }] });
2885
-
2886
- // !!! This code was automatically generated. You should not change it !!!
2887
- var VisXYLabelsComponent = /** @class */ (function () {
2888
- function VisXYLabelsComponent() {
2889
- }
2890
- VisXYLabelsComponent.prototype.ngAfterViewInit = function () {
2891
- var _a;
2892
- this.component = new ts.XYLabels(this.getConfig());
2893
- if (this.data) {
2894
- this.component.setData(this.data);
2895
- (_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
2896
- }
2897
- };
2898
- VisXYLabelsComponent.prototype.ngOnChanges = function (changes) {
2899
- var _a, _b, _c;
2900
- if (changes.data) {
2901
- (_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
2902
- }
2903
- (_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
2904
- (_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
2905
- };
2906
- VisXYLabelsComponent.prototype.getConfig = function () {
2907
- var _d = this, duration = _d.duration, events = _d.events, attributes = _d.attributes, x = _d.x, y = _d.y, id = _d.id, color = _d.color, xScale = _d.xScale, yScale = _d.yScale, excludeFromDomainCalculation = _d.excludeFromDomainCalculation, xPositioning = _d.xPositioning, yPositioning = _d.yPositioning, labelFontSize = _d.labelFontSize, label = _d.label, backgroundColor = _d.backgroundColor, cursor = _d.cursor, labelTextBrightnessRatio = _d.labelTextBrightnessRatio, clustering = _d.clustering, clusterLabel = _d.clusterLabel, clusterFontSize = _d.clusterFontSize, clusterBackgroundColor = _d.clusterBackgroundColor, clusterCursor = _d.clusterCursor, clusterLabelColor = _d.clusterLabelColor;
2908
- var config = { 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 };
2909
- var keys = Object.keys(config);
2910
- keys.forEach(function (key) {
2911
- if (config[key] === undefined)
2912
- delete config[key];
2913
- });
2914
- return config;
2915
- };
2916
- return VisXYLabelsComponent;
2917
- }());
2918
- VisXYLabelsComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisXYLabelsComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
2919
- VisXYLabelsComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, template: '', isInline: true });
2920
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisXYLabelsComponent, decorators: [{
2921
- type: i0.Component,
2922
- args: [{
2923
- selector: 'vis-xy-labels',
2924
- template: '',
2925
- // eslint-disable-next-line no-use-before-define
2926
- providers: [{ provide: VisXYComponent, useExisting: VisXYLabelsComponent }],
2927
- }]
2928
- }], propDecorators: { duration: [{
2929
- type: i0.Input
2930
- }], events: [{
2931
- type: i0.Input
2932
- }], attributes: [{
2933
- type: i0.Input
2934
- }], x: [{
2935
- type: i0.Input
2936
- }], y: [{
2937
- type: i0.Input
2938
- }], id: [{
2939
- type: i0.Input
2940
- }], color: [{
2941
- type: i0.Input
2942
- }], xScale: [{
2943
- type: i0.Input
2944
- }], yScale: [{
2945
- type: i0.Input
2946
- }], excludeFromDomainCalculation: [{
2947
- type: i0.Input
2948
- }], xPositioning: [{
2949
- type: i0.Input
2950
- }], yPositioning: [{
2951
- type: i0.Input
2952
- }], labelFontSize: [{
2953
- type: i0.Input
2954
- }], label: [{
2955
- type: i0.Input
2956
- }], backgroundColor: [{
2957
- type: i0.Input
2958
- }], cursor: [{
2959
- type: i0.Input
2960
- }], labelTextBrightnessRatio: [{
2961
- type: i0.Input
2962
- }], clustering: [{
2963
- type: i0.Input
2964
- }], clusterLabel: [{
2965
- type: i0.Input
2966
- }], clusterFontSize: [{
2967
- type: i0.Input
2968
- }], clusterBackgroundColor: [{
2969
- type: i0.Input
2970
- }], clusterCursor: [{
2971
- type: i0.Input
2972
- }], clusterLabelColor: [{
2973
- type: i0.Input
2974
- }], data: [{
2975
- type: i0.Input
2976
- }] } });
2977
-
2978
- // !!! This code was automatically generated. You should not change it !!!
2979
- var VisXYLabelsModule = /** @class */ (function () {
2980
- function VisXYLabelsModule() {
2981
- }
2982
- return VisXYLabelsModule;
2983
- }());
2984
- VisXYLabelsModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisXYLabelsModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
2985
- VisXYLabelsModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisXYLabelsModule, declarations: [VisXYLabelsComponent], exports: [VisXYLabelsComponent] });
2986
- VisXYLabelsModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisXYLabelsModule, imports: [[]] });
2987
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisXYLabelsModule, decorators: [{
2988
- type: i0.NgModule,
2989
- args: [{
2990
- imports: [],
2991
- declarations: [VisXYLabelsComponent],
2992
- exports: [VisXYLabelsComponent],
2993
- }]
2994
- }] });
2995
-
2996
- // !!! This code was automatically generated. You should not change it !!!
2997
- var VisTopoJSONMapComponent = /** @class */ (function () {
2998
- function VisTopoJSONMapComponent() {
2999
- }
3000
- VisTopoJSONMapComponent.prototype.ngAfterViewInit = function () {
3001
- var _a;
3002
- this.component = new ts.TopoJSONMap(this.getConfig());
3003
- if (this.data) {
3004
- this.component.setData(this.data);
3005
- (_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
3006
- }
3007
- };
3008
- VisTopoJSONMapComponent.prototype.ngOnChanges = function (changes) {
3009
- var _a, _b, _c;
3010
- if (changes.data) {
3011
- (_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
3012
- }
3013
- (_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
3014
- (_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
3015
- };
3016
- VisTopoJSONMapComponent.prototype.getConfig = function () {
3017
- var _d = this, duration = _d.duration, events = _d.events, attributes = _d.attributes, projection = _d.projection, topojson = _d.topojson, mapFeatureName = _d.mapFeatureName, mapFitToPoints = _d.mapFitToPoints, zoomFactor = _d.zoomFactor, zoomToLocation = _d.zoomToLocation, disableZoom = _d.disableZoom, zoomExtent = _d.zoomExtent, zoomDuration = _d.zoomDuration, linkWidth = _d.linkWidth, linkColor = _d.linkColor, linkCursor = _d.linkCursor, linkId = _d.linkId, linkSource = _d.linkSource, linkTarget = _d.linkTarget, sourceLongitude = _d.sourceLongitude, sourceLatitude = _d.sourceLatitude, targetLongitude = _d.targetLongitude, targetLatitude = _d.targetLatitude, sourcePointRadius = _d.sourcePointRadius, sourcePointColor = _d.sourcePointColor, flowParticleColor = _d.flowParticleColor, flowParticleRadius = _d.flowParticleRadius, flowParticleSpeed = _d.flowParticleSpeed, flowParticleDensity = _d.flowParticleDensity, enableFlowAnimation = _d.enableFlowAnimation, onSourcePointClick = _d.onSourcePointClick, onSourcePointMouseEnter = _d.onSourcePointMouseEnter, onSourcePointMouseLeave = _d.onSourcePointMouseLeave, areaId = _d.areaId, areaColor = _d.areaColor, areaCursor = _d.areaCursor, areaLabel = _d.areaLabel, pointColor = _d.pointColor, pointRadius = _d.pointRadius, pointStrokeWidth = _d.pointStrokeWidth, pointShape = _d.pointShape, pointRingWidth = _d.pointRingWidth, pointCursor = _d.pointCursor, longitude = _d.longitude, latitude = _d.latitude, pointLabel = _d.pointLabel, pointLabelColor = _d.pointLabelColor, pointLabelPosition = _d.pointLabelPosition, pointBottomLabel = _d.pointBottomLabel, pointLabelTextBrightnessRatio = _d.pointLabelTextBrightnessRatio, pointId = _d.pointId, clusterColor = _d.clusterColor, clusterRadius = _d.clusterRadius, clusterLabel = _d.clusterLabel, clusterLabelColor = _d.clusterLabelColor, clusterBottomLabel = _d.clusterBottomLabel, clusterRingWidth = _d.clusterRingWidth, clusterBackground = _d.clusterBackground, clusterExpandOnClick = _d.clusterExpandOnClick, clusteringDistance = _d.clusteringDistance, clustering = _d.clustering, heatmapMode = _d.heatmapMode, heatmapModeBlurStdDeviation = _d.heatmapModeBlurStdDeviation, heatmapModeZoomLevelThreshold = _d.heatmapModeZoomLevelThreshold, colorMap = _d.colorMap;
3018
- var config = { 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 };
3019
- var keys = Object.keys(config);
3020
- keys.forEach(function (key) {
3021
- if (config[key] === undefined)
3022
- delete config[key];
3023
- });
3024
- return config;
3025
- };
3026
- return VisTopoJSONMapComponent;
3027
- }());
3028
- VisTopoJSONMapComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisTopoJSONMapComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
3029
- VisTopoJSONMapComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, template: '', isInline: true });
3030
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisTopoJSONMapComponent, decorators: [{
3031
- type: i0.Component,
3032
- args: [{
3033
- selector: 'vis-topojson-map',
3034
- template: '',
3035
- // eslint-disable-next-line no-use-before-define
3036
- providers: [{ provide: VisCoreComponent, useExisting: VisTopoJSONMapComponent }],
3037
- }]
3038
- }], propDecorators: { duration: [{
3039
- type: i0.Input
3040
- }], events: [{
3041
- type: i0.Input
3042
- }], attributes: [{
3043
- type: i0.Input
3044
- }], projection: [{
3045
- type: i0.Input
3046
- }], topojson: [{
3047
- type: i0.Input
3048
- }], mapFeatureName: [{
3049
- type: i0.Input
3050
- }], mapFitToPoints: [{
3051
- type: i0.Input
3052
- }], zoomFactor: [{
3053
- type: i0.Input
3054
- }], zoomToLocation: [{
3055
- type: i0.Input
3056
- }], disableZoom: [{
3057
- type: i0.Input
3058
- }], zoomExtent: [{
3059
- type: i0.Input
3060
- }], zoomDuration: [{
3061
- type: i0.Input
3062
- }], linkWidth: [{
3063
- type: i0.Input
3064
- }], linkColor: [{
3065
- type: i0.Input
3066
- }], linkCursor: [{
3067
- type: i0.Input
3068
- }], linkId: [{
3069
- type: i0.Input
3070
- }], linkSource: [{
3071
- type: i0.Input
3072
- }], linkTarget: [{
3073
- type: i0.Input
3074
- }], sourceLongitude: [{
3075
- type: i0.Input
3076
- }], sourceLatitude: [{
3077
- type: i0.Input
3078
- }], targetLongitude: [{
3079
- type: i0.Input
3080
- }], targetLatitude: [{
3081
- type: i0.Input
3082
- }], sourcePointRadius: [{
3083
- type: i0.Input
3084
- }], sourcePointColor: [{
3085
- type: i0.Input
3086
- }], flowParticleColor: [{
3087
- type: i0.Input
3088
- }], flowParticleRadius: [{
3089
- type: i0.Input
3090
- }], flowParticleSpeed: [{
3091
- type: i0.Input
3092
- }], flowParticleDensity: [{
3093
- type: i0.Input
3094
- }], enableFlowAnimation: [{
3095
- type: i0.Input
3096
- }], onSourcePointClick: [{
3097
- type: i0.Input
3098
- }], onSourcePointMouseEnter: [{
3099
- type: i0.Input
3100
- }], onSourcePointMouseLeave: [{
3101
- type: i0.Input
3102
- }], areaId: [{
3103
- type: i0.Input
3104
- }], areaColor: [{
3105
- type: i0.Input
3106
- }], areaCursor: [{
3107
- type: i0.Input
3108
- }], areaLabel: [{
3109
- type: i0.Input
3110
- }], pointColor: [{
3111
- type: i0.Input
3112
- }], pointRadius: [{
3113
- type: i0.Input
3114
- }], pointStrokeWidth: [{
3115
- type: i0.Input
3116
- }], pointShape: [{
3117
- type: i0.Input
3118
- }], pointRingWidth: [{
3119
- type: i0.Input
3120
- }], pointCursor: [{
3121
- type: i0.Input
3122
- }], longitude: [{
3123
- type: i0.Input
3124
- }], latitude: [{
3125
- type: i0.Input
3126
- }], pointLabel: [{
3127
- type: i0.Input
3128
- }], pointLabelColor: [{
3129
- type: i0.Input
3130
- }], pointLabelPosition: [{
3131
- type: i0.Input
3132
- }], pointBottomLabel: [{
3133
- type: i0.Input
3134
- }], pointLabelTextBrightnessRatio: [{
3135
- type: i0.Input
3136
- }], pointId: [{
3137
- type: i0.Input
3138
- }], clusterColor: [{
3139
- type: i0.Input
3140
- }], clusterRadius: [{
3141
- type: i0.Input
3142
- }], clusterLabel: [{
3143
- type: i0.Input
3144
- }], clusterLabelColor: [{
3145
- type: i0.Input
3146
- }], clusterBottomLabel: [{
3147
- type: i0.Input
3148
- }], clusterRingWidth: [{
3149
- type: i0.Input
3150
- }], clusterBackground: [{
3151
- type: i0.Input
3152
- }], clusterExpandOnClick: [{
3153
- type: i0.Input
3154
- }], clusteringDistance: [{
3155
- type: i0.Input
3156
- }], clustering: [{
3157
- type: i0.Input
3158
- }], heatmapMode: [{
3159
- type: i0.Input
3160
- }], heatmapModeBlurStdDeviation: [{
3161
- type: i0.Input
3162
- }], heatmapModeZoomLevelThreshold: [{
3163
- type: i0.Input
3164
- }], colorMap: [{
3165
- type: i0.Input
3166
- }], data: [{
3167
- type: i0.Input
3168
- }] } });
3169
-
3170
- // !!! This code was automatically generated. You should not change it !!!
3171
- var VisTopoJSONMapModule = /** @class */ (function () {
3172
- function VisTopoJSONMapModule() {
3173
- }
3174
- return VisTopoJSONMapModule;
3175
- }());
3176
- VisTopoJSONMapModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisTopoJSONMapModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
3177
- VisTopoJSONMapModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisTopoJSONMapModule, declarations: [VisTopoJSONMapComponent], exports: [VisTopoJSONMapComponent] });
3178
- VisTopoJSONMapModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisTopoJSONMapModule, imports: [[]] });
3179
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisTopoJSONMapModule, decorators: [{
3180
- type: i0.NgModule,
3181
- args: [{
3182
- imports: [],
3183
- declarations: [VisTopoJSONMapComponent],
3184
- exports: [VisTopoJSONMapComponent],
3185
- }]
3186
- }] });
3187
-
3188
- // !!! This code was automatically generated. You should not change it !!!
3189
- var VisPlotbandComponent = /** @class */ (function () {
3190
- function VisPlotbandComponent() {
3191
- }
3192
- VisPlotbandComponent.prototype.ngAfterViewInit = function () {
3193
- this.component = new ts.Plotband(this.getConfig());
3194
- };
3195
- VisPlotbandComponent.prototype.ngOnChanges = function (changes) {
3196
- var _a, _b;
3197
- (_a = this.component) === null || _a === void 0 ? void 0 : _a.setConfig(this.getConfig());
3198
- (_b = this.componentContainer) === null || _b === void 0 ? void 0 : _b.render();
3199
- };
3200
- VisPlotbandComponent.prototype.getConfig = function () {
3201
- var _c = this, duration = _c.duration, events = _c.events, attributes = _c.attributes, axis = _c.axis, from = _c.from, to = _c.to, labelText = _c.labelText, labelPosition = _c.labelPosition, labelOffsetX = _c.labelOffsetX, labelOffsetY = _c.labelOffsetY, labelOrientation = _c.labelOrientation, labelColor = _c.labelColor, labelSize = _c.labelSize;
3202
- var config = { 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 };
3203
- var keys = Object.keys(config);
3204
- keys.forEach(function (key) {
3205
- if (config[key] === undefined)
3206
- delete config[key];
3207
- });
3208
- return config;
3209
- };
3210
- return VisPlotbandComponent;
3211
- }());
3212
- VisPlotbandComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisPlotbandComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
3213
- VisPlotbandComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, template: '', isInline: true });
3214
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisPlotbandComponent, decorators: [{
3215
- type: i0.Component,
3216
- args: [{
3217
- selector: 'vis-plotband',
3218
- template: '',
3219
- // eslint-disable-next-line no-use-before-define
3220
- providers: [{ provide: VisXYComponent, useExisting: VisPlotbandComponent }],
3221
- }]
3222
- }], propDecorators: { duration: [{
3223
- type: i0.Input
3224
- }], events: [{
3225
- type: i0.Input
3226
- }], attributes: [{
3227
- type: i0.Input
3228
- }], axis: [{
3229
- type: i0.Input
3230
- }], from: [{
3231
- type: i0.Input
3232
- }], to: [{
3233
- type: i0.Input
3234
- }], labelText: [{
3235
- type: i0.Input
3236
- }], labelPosition: [{
3237
- type: i0.Input
3238
- }], labelOffsetX: [{
3239
- type: i0.Input
3240
- }], labelOffsetY: [{
3241
- type: i0.Input
3242
- }], labelOrientation: [{
3243
- type: i0.Input
3244
- }], labelColor: [{
3245
- type: i0.Input
3246
- }], labelSize: [{
3247
- type: i0.Input
3248
- }] } });
3249
-
3250
- // !!! This code was automatically generated. You should not change it !!!
3251
- var VisPlotbandModule = /** @class */ (function () {
3252
- function VisPlotbandModule() {
3253
- }
3254
- return VisPlotbandModule;
3255
- }());
3256
- VisPlotbandModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisPlotbandModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
3257
- VisPlotbandModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisPlotbandModule, declarations: [VisPlotbandComponent], exports: [VisPlotbandComponent] });
3258
- VisPlotbandModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisPlotbandModule, imports: [[]] });
3259
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisPlotbandModule, decorators: [{
3260
- type: i0.NgModule,
3261
- args: [{
3262
- imports: [],
3263
- declarations: [VisPlotbandComponent],
3264
- exports: [VisPlotbandComponent],
3265
- }]
3266
- }] });
3267
-
3268
- // !!! This code was automatically generated. You should not change it !!!
3269
- var VisLeafletMapComponent = /** @class */ (function () {
3270
- function VisLeafletMapComponent() {
3271
- }
3272
- VisLeafletMapComponent.prototype.ngAfterViewInit = function () {
3273
- this.component = new ts.LeafletMap(this.containerRef.nativeElement, this.getConfig(), this.data);
3274
- if (this.data) {
3275
- this.component.setData(this.data);
3276
- }
3277
- };
3278
- VisLeafletMapComponent.prototype.ngOnChanges = function (changes) {
3279
- var _a, _b;
3280
- if (changes.data) {
3281
- (_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
3282
- }
3283
- (_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
3284
- };
3285
- VisLeafletMapComponent.prototype.getConfig = function () {
3286
- var _c = this, duration = _c.duration, events = _c.events, attributes = _c.attributes, width = _c.width, height = _c.height, flyToDuration = _c.flyToDuration, fitViewPadding = _c.fitViewPadding, zoomDuration = _c.zoomDuration, initialBounds = _c.initialBounds, fitBoundsOnUpdate = _c.fitBoundsOnUpdate, fitViewOnInit = _c.fitViewOnInit, fitViewOnUpdate = _c.fitViewOnUpdate, style = _c.style, styleDarkTheme = _c.styleDarkTheme, accessToken = _c.accessToken, attribution = _c.attribution, renderer = _c.renderer, onMapInitialized = _c.onMapInitialized, onMapMoveZoom = _c.onMapMoveZoom, onMapMoveStart = _c.onMapMoveStart, onMapMoveEnd = _c.onMapMoveEnd, onMapZoomStart = _c.onMapZoomStart, onMapZoomEnd = _c.onMapZoomEnd, onMapClick = _c.onMapClick, pointLongitude = _c.pointLongitude, pointLatitude = _c.pointLatitude, pointId = _c.pointId, pointShape = _c.pointShape, pointColor = _c.pointColor, pointRadius = _c.pointRadius, pointLabel = _c.pointLabel, pointLabelColor = _c.pointLabelColor, pointBottomLabel = _c.pointBottomLabel, pointCursor = _c.pointCursor, pointRingWidth = _c.pointRingWidth, selectedPointId = _c.selectedPointId, clusterColor = _c.clusterColor, clusterRadius = _c.clusterRadius, clusterLabel = _c.clusterLabel, clusterLabelColor = _c.clusterLabelColor, clusterBottomLabel = _c.clusterBottomLabel, clusterRingWidth = _c.clusterRingWidth, clusterBackground = _c.clusterBackground, clusterExpandOnClick = _c.clusterExpandOnClick, clusteringDistance = _c.clusteringDistance, colorMap = _c.colorMap, topoJSONLayer = _c.topoJSONLayer, tooltip = _c.tooltip, ariaLabel = _c.ariaLabel;
3287
- var config = { 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 };
3288
- var keys = Object.keys(config);
3289
- keys.forEach(function (key) {
3290
- if (config[key] === undefined)
3291
- delete config[key];
3292
- });
3293
- return config;
3294
- };
3295
- return VisLeafletMapComponent;
3296
- }());
3297
- VisLeafletMapComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisLeafletMapComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
3298
- VisLeafletMapComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, template: '<div #container class="leaflet-map-container"></div>', isInline: true, styles: [".leaflet-map-container { width: 100%; height: 100%; position: relative }"] });
3299
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisLeafletMapComponent, decorators: [{
3300
- type: i0.Component,
3301
- args: [{
3302
- selector: 'vis-leaflet-map',
3303
- template: '<div #container class="leaflet-map-container"></div>',
3304
- styles: ['.leaflet-map-container { width: 100%; height: 100%; position: relative }'],
3305
- // eslint-disable-next-line no-use-before-define
3306
- providers: [{ provide: VisCoreComponent, useExisting: VisLeafletMapComponent }],
3307
- }]
3308
- }], propDecorators: { containerRef: [{
3309
- type: i0.ViewChild,
3310
- args: ['container', { static: false }]
3311
- }], duration: [{
3312
- type: i0.Input
3313
- }], events: [{
3314
- type: i0.Input
3315
- }], attributes: [{
3316
- type: i0.Input
3317
- }], width: [{
3318
- type: i0.Input
3319
- }], height: [{
3320
- type: i0.Input
3321
- }], flyToDuration: [{
3322
- type: i0.Input
3323
- }], fitViewPadding: [{
3324
- type: i0.Input
3325
- }], zoomDuration: [{
3326
- type: i0.Input
3327
- }], initialBounds: [{
3328
- type: i0.Input
3329
- }], fitBoundsOnUpdate: [{
3330
- type: i0.Input
3331
- }], fitViewOnInit: [{
3332
- type: i0.Input
3333
- }], fitViewOnUpdate: [{
3334
- type: i0.Input
3335
- }], style: [{
3336
- type: i0.Input
3337
- }], styleDarkTheme: [{
3338
- type: i0.Input
3339
- }], accessToken: [{
3340
- type: i0.Input
3341
- }], attribution: [{
3342
- type: i0.Input
3343
- }], renderer: [{
3344
- type: i0.Input
3345
- }], onMapInitialized: [{
3346
- type: i0.Input
3347
- }], onMapMoveZoom: [{
3348
- type: i0.Input
3349
- }], onMapMoveStart: [{
3350
- type: i0.Input
3351
- }], onMapMoveEnd: [{
3352
- type: i0.Input
3353
- }], onMapZoomStart: [{
3354
- type: i0.Input
3355
- }], onMapZoomEnd: [{
3356
- type: i0.Input
3357
- }], onMapClick: [{
3358
- type: i0.Input
3359
- }], pointLongitude: [{
3360
- type: i0.Input
3361
- }], pointLatitude: [{
3362
- type: i0.Input
3363
- }], pointId: [{
3364
- type: i0.Input
3365
- }], pointShape: [{
3366
- type: i0.Input
3367
- }], pointColor: [{
3368
- type: i0.Input
3369
- }], pointRadius: [{
3370
- type: i0.Input
3371
- }], pointLabel: [{
3372
- type: i0.Input
3373
- }], pointLabelColor: [{
3374
- type: i0.Input
3375
- }], pointBottomLabel: [{
3376
- type: i0.Input
3377
- }], pointCursor: [{
3378
- type: i0.Input
3379
- }], pointRingWidth: [{
3380
- type: i0.Input
3381
- }], selectedPointId: [{
3382
- type: i0.Input
3383
- }], clusterColor: [{
3384
- type: i0.Input
3385
- }], clusterRadius: [{
3386
- type: i0.Input
3387
- }], clusterLabel: [{
3388
- type: i0.Input
3389
- }], clusterLabelColor: [{
3390
- type: i0.Input
3391
- }], clusterBottomLabel: [{
3392
- type: i0.Input
3393
- }], clusterRingWidth: [{
3394
- type: i0.Input
3395
- }], clusterBackground: [{
3396
- type: i0.Input
3397
- }], clusterExpandOnClick: [{
3398
- type: i0.Input
3399
- }], clusteringDistance: [{
3400
- type: i0.Input
3401
- }], colorMap: [{
3402
- type: i0.Input
3403
- }], topoJSONLayer: [{
3404
- type: i0.Input
3405
- }], tooltip: [{
3406
- type: i0.Input
3407
- }], ariaLabel: [{
3408
- type: i0.Input
3409
- }], data: [{
3410
- type: i0.Input
3411
- }] } });
3412
-
3413
- // !!! This code was automatically generated. You should not change it !!!
3414
- var VisLeafletMapModule = /** @class */ (function () {
3415
- function VisLeafletMapModule() {
3416
- }
3417
- return VisLeafletMapModule;
3418
- }());
3419
- VisLeafletMapModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisLeafletMapModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
3420
- VisLeafletMapModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisLeafletMapModule, declarations: [VisLeafletMapComponent], exports: [VisLeafletMapComponent] });
3421
- VisLeafletMapModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisLeafletMapModule, imports: [[]] });
3422
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisLeafletMapModule, decorators: [{
3423
- type: i0.NgModule,
3424
- args: [{
3425
- imports: [],
3426
- declarations: [VisLeafletMapComponent],
3427
- exports: [VisLeafletMapComponent],
3428
- }]
3429
- }] });
3430
-
3431
- // !!! This code was automatically generated. You should not change it !!!
3432
- var VisLeafletFlowMapComponent = /** @class */ (function () {
3433
- function VisLeafletFlowMapComponent() {
3434
- }
3435
- VisLeafletFlowMapComponent.prototype.ngAfterViewInit = function () {
3436
- this.component = new ts.LeafletFlowMap(this.containerRef.nativeElement, this.getConfig(), this.data);
3437
- if (this.data) {
3438
- this.component.setData(this.data);
3439
- }
3440
- };
3441
- VisLeafletFlowMapComponent.prototype.ngOnChanges = function (changes) {
3442
- var _a, _b;
3443
- if (changes.data) {
3444
- (_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
3445
- }
3446
- (_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
3447
- };
3448
- VisLeafletFlowMapComponent.prototype.getConfig = function () {
3449
- var _c = this, duration = _c.duration, events = _c.events, attributes = _c.attributes, width = _c.width, height = _c.height, flyToDuration = _c.flyToDuration, fitViewPadding = _c.fitViewPadding, zoomDuration = _c.zoomDuration, initialBounds = _c.initialBounds, fitBoundsOnUpdate = _c.fitBoundsOnUpdate, fitViewOnInit = _c.fitViewOnInit, fitViewOnUpdate = _c.fitViewOnUpdate, style = _c.style, styleDarkTheme = _c.styleDarkTheme, accessToken = _c.accessToken, attribution = _c.attribution, renderer = _c.renderer, onMapInitialized = _c.onMapInitialized, onMapMoveZoom = _c.onMapMoveZoom, onMapMoveStart = _c.onMapMoveStart, onMapMoveEnd = _c.onMapMoveEnd, onMapZoomStart = _c.onMapZoomStart, onMapZoomEnd = _c.onMapZoomEnd, onMapClick = _c.onMapClick, pointLongitude = _c.pointLongitude, pointLatitude = _c.pointLatitude, pointId = _c.pointId, pointShape = _c.pointShape, pointColor = _c.pointColor, pointRadius = _c.pointRadius, pointLabel = _c.pointLabel, pointLabelColor = _c.pointLabelColor, pointBottomLabel = _c.pointBottomLabel, pointCursor = _c.pointCursor, pointRingWidth = _c.pointRingWidth, selectedPointId = _c.selectedPointId, clusterColor = _c.clusterColor, clusterRadius = _c.clusterRadius, clusterLabel = _c.clusterLabel, clusterLabelColor = _c.clusterLabelColor, clusterBottomLabel = _c.clusterBottomLabel, clusterRingWidth = _c.clusterRingWidth, clusterBackground = _c.clusterBackground, clusterExpandOnClick = _c.clusterExpandOnClick, clusteringDistance = _c.clusteringDistance, colorMap = _c.colorMap, topoJSONLayer = _c.topoJSONLayer, tooltip = _c.tooltip, ariaLabel = _c.ariaLabel, sourceLongitude = _c.sourceLongitude, sourceLatitude = _c.sourceLatitude, targetLongitude = _c.targetLongitude, targetLatitude = _c.targetLatitude, sourcePointRadius = _c.sourcePointRadius, sourcePointColor = _c.sourcePointColor, flowParticleColor = _c.flowParticleColor, flowParticleRadius = _c.flowParticleRadius, flowParticleSpeed = _c.flowParticleSpeed, flowParticleDensity = _c.flowParticleDensity, onSourcePointClick = _c.onSourcePointClick, onSourcePointMouseEnter = _c.onSourcePointMouseEnter, onSourcePointMouseLeave = _c.onSourcePointMouseLeave;
3450
- var config = { 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 };
3451
- var keys = Object.keys(config);
3452
- keys.forEach(function (key) {
3453
- if (config[key] === undefined)
3454
- delete config[key];
3455
- });
3456
- return config;
3457
- };
3458
- return VisLeafletFlowMapComponent;
3459
- }());
3460
- VisLeafletFlowMapComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisLeafletFlowMapComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
3461
- VisLeafletFlowMapComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, template: '<div #container class="leaflet-flow-map-container"></div>', isInline: true, styles: [".leaflet-flow-map-container { width: 100%; height: 100%; position: relative }"] });
3462
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisLeafletFlowMapComponent, decorators: [{
3463
- type: i0.Component,
3464
- args: [{
3465
- selector: 'vis-leaflet-flow-map',
3466
- template: '<div #container class="leaflet-flow-map-container"></div>',
3467
- styles: ['.leaflet-flow-map-container { width: 100%; height: 100%; position: relative }'],
3468
- // eslint-disable-next-line no-use-before-define
3469
- providers: [{ provide: VisCoreComponent, useExisting: VisLeafletFlowMapComponent }],
3470
- }]
3471
- }], propDecorators: { containerRef: [{
3472
- type: i0.ViewChild,
3473
- args: ['container', { static: false }]
3474
- }], duration: [{
3475
- type: i0.Input
3476
- }], events: [{
3477
- type: i0.Input
3478
- }], attributes: [{
3479
- type: i0.Input
3480
- }], width: [{
3481
- type: i0.Input
3482
- }], height: [{
3483
- type: i0.Input
3484
- }], flyToDuration: [{
3485
- type: i0.Input
3486
- }], fitViewPadding: [{
3487
- type: i0.Input
3488
- }], zoomDuration: [{
3489
- type: i0.Input
3490
- }], initialBounds: [{
3491
- type: i0.Input
3492
- }], fitBoundsOnUpdate: [{
3493
- type: i0.Input
3494
- }], fitViewOnInit: [{
3495
- type: i0.Input
3496
- }], fitViewOnUpdate: [{
3497
- type: i0.Input
3498
- }], style: [{
3499
- type: i0.Input
3500
- }], styleDarkTheme: [{
3501
- type: i0.Input
3502
- }], accessToken: [{
3503
- type: i0.Input
3504
- }], attribution: [{
3505
- type: i0.Input
3506
- }], renderer: [{
3507
- type: i0.Input
3508
- }], onMapInitialized: [{
3509
- type: i0.Input
3510
- }], onMapMoveZoom: [{
3511
- type: i0.Input
3512
- }], onMapMoveStart: [{
3513
- type: i0.Input
3514
- }], onMapMoveEnd: [{
3515
- type: i0.Input
3516
- }], onMapZoomStart: [{
3517
- type: i0.Input
3518
- }], onMapZoomEnd: [{
3519
- type: i0.Input
3520
- }], onMapClick: [{
3521
- type: i0.Input
3522
- }], pointLongitude: [{
3523
- type: i0.Input
3524
- }], pointLatitude: [{
3525
- type: i0.Input
3526
- }], pointId: [{
3527
- type: i0.Input
3528
- }], pointShape: [{
3529
- type: i0.Input
3530
- }], pointColor: [{
3531
- type: i0.Input
3532
- }], pointRadius: [{
3533
- type: i0.Input
3534
- }], pointLabel: [{
3535
- type: i0.Input
3536
- }], pointLabelColor: [{
3537
- type: i0.Input
3538
- }], pointBottomLabel: [{
3539
- type: i0.Input
3540
- }], pointCursor: [{
3541
- type: i0.Input
3542
- }], pointRingWidth: [{
3543
- type: i0.Input
3544
- }], selectedPointId: [{
3545
- type: i0.Input
3546
- }], clusterColor: [{
3547
- type: i0.Input
3548
- }], clusterRadius: [{
3549
- type: i0.Input
3550
- }], clusterLabel: [{
3551
- type: i0.Input
3552
- }], clusterLabelColor: [{
3553
- type: i0.Input
3554
- }], clusterBottomLabel: [{
3555
- type: i0.Input
3556
- }], clusterRingWidth: [{
3557
- type: i0.Input
3558
- }], clusterBackground: [{
3559
- type: i0.Input
3560
- }], clusterExpandOnClick: [{
3561
- type: i0.Input
3562
- }], clusteringDistance: [{
3563
- type: i0.Input
3564
- }], colorMap: [{
3565
- type: i0.Input
3566
- }], topoJSONLayer: [{
3567
- type: i0.Input
3568
- }], tooltip: [{
3569
- type: i0.Input
3570
- }], ariaLabel: [{
3571
- type: i0.Input
3572
- }], sourceLongitude: [{
3573
- type: i0.Input
3574
- }], sourceLatitude: [{
3575
- type: i0.Input
3576
- }], targetLongitude: [{
3577
- type: i0.Input
3578
- }], targetLatitude: [{
3579
- type: i0.Input
3580
- }], sourcePointRadius: [{
3581
- type: i0.Input
3582
- }], sourcePointColor: [{
3583
- type: i0.Input
3584
- }], flowParticleColor: [{
3585
- type: i0.Input
3586
- }], flowParticleRadius: [{
3587
- type: i0.Input
3588
- }], flowParticleSpeed: [{
3589
- type: i0.Input
3590
- }], flowParticleDensity: [{
3591
- type: i0.Input
3592
- }], onSourcePointClick: [{
3593
- type: i0.Input
3594
- }], onSourcePointMouseEnter: [{
3595
- type: i0.Input
3596
- }], onSourcePointMouseLeave: [{
3597
- type: i0.Input
3598
- }], data: [{
3599
- type: i0.Input
3600
- }] } });
3601
-
3602
- // !!! This code was automatically generated. You should not change it !!!
3603
- var VisLeafletFlowMapModule = /** @class */ (function () {
3604
- function VisLeafletFlowMapModule() {
3605
- }
3606
- return VisLeafletFlowMapModule;
3607
- }());
3608
- VisLeafletFlowMapModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisLeafletFlowMapModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
3609
- VisLeafletFlowMapModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisLeafletFlowMapModule, declarations: [VisLeafletFlowMapComponent], exports: [VisLeafletFlowMapComponent] });
3610
- VisLeafletFlowMapModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisLeafletFlowMapModule, imports: [[]] });
3611
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisLeafletFlowMapModule, decorators: [{
3612
- type: i0.NgModule,
3613
- args: [{
3614
- imports: [],
3615
- declarations: [VisLeafletFlowMapComponent],
3616
- exports: [VisLeafletFlowMapComponent],
3617
- }]
3618
- }] });
3619
-
3620
- // !!! This code was automatically generated. You should not change it !!!
3621
- var VisBulletLegendComponent = /** @class */ (function () {
3622
- function VisBulletLegendComponent() {
3623
- }
3624
- VisBulletLegendComponent.prototype.ngAfterViewInit = function () {
3625
- this.component = new ts.BulletLegend(this.containerRef.nativeElement, Object.assign(Object.assign({}, this.getConfig()), { renderIntoProvidedDomNode: true }));
3626
- };
3627
- VisBulletLegendComponent.prototype.ngOnChanges = function (changes) {
3628
- var _a;
3629
- (_a = this.component) === null || _a === void 0 ? void 0 : _a.setConfig(this.getConfig());
3630
- };
3631
- VisBulletLegendComponent.prototype.getConfig = function () {
3632
- var _b = this, items = _b.items, labelClassName = _b.labelClassName, onLegendItemClick = _b.onLegendItemClick, labelFontSize = _b.labelFontSize, labelMaxWidth = _b.labelMaxWidth, bulletSize = _b.bulletSize, bulletSpacing = _b.bulletSpacing, bulletShape = _b.bulletShape, orientation = _b.orientation;
3633
- var config = { items: items, labelClassName: labelClassName, onLegendItemClick: onLegendItemClick, labelFontSize: labelFontSize, labelMaxWidth: labelMaxWidth, bulletSize: bulletSize, bulletSpacing: bulletSpacing, bulletShape: bulletShape, orientation: orientation };
3634
- var keys = Object.keys(config);
3635
- keys.forEach(function (key) {
3636
- if (config[key] === undefined)
3637
- delete config[key];
3638
- });
3639
- return config;
3640
- };
3641
- return VisBulletLegendComponent;
3642
- }());
3643
- VisBulletLegendComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisBulletLegendComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
3644
- VisBulletLegendComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, template: '<div #container class="bullet-legend-container"></div>', isInline: true, styles: [".bullet-legend-container { }"] });
3645
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisBulletLegendComponent, decorators: [{
3646
- type: i0.Component,
3647
- args: [{
3648
- selector: 'vis-bullet-legend',
3649
- template: '<div #container class="bullet-legend-container"></div>',
3650
- styles: ['.bullet-legend-container { }'],
3651
- // eslint-disable-next-line no-use-before-define
3652
- providers: [{ provide: VisGenericComponent, useExisting: VisBulletLegendComponent }],
3653
- }]
3654
- }], propDecorators: { containerRef: [{
3655
- type: i0.ViewChild,
3656
- args: ['container', { static: false }]
3657
- }], items: [{
3658
- type: i0.Input
3659
- }], labelClassName: [{
3660
- type: i0.Input
3661
- }], onLegendItemClick: [{
3662
- type: i0.Input
3663
- }], labelFontSize: [{
3664
- type: i0.Input
3665
- }], labelMaxWidth: [{
3666
- type: i0.Input
3667
- }], bulletSize: [{
3668
- type: i0.Input
3669
- }], bulletSpacing: [{
3670
- type: i0.Input
3671
- }], bulletShape: [{
3672
- type: i0.Input
3673
- }], orientation: [{
3674
- type: i0.Input
3675
- }] } });
3676
-
3677
- // !!! This code was automatically generated. You should not change it !!!
3678
- var VisBulletLegendModule = /** @class */ (function () {
3679
- function VisBulletLegendModule() {
3680
- }
3681
- return VisBulletLegendModule;
3682
- }());
3683
- VisBulletLegendModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisBulletLegendModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
3684
- VisBulletLegendModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisBulletLegendModule, declarations: [VisBulletLegendComponent], exports: [VisBulletLegendComponent] });
3685
- VisBulletLegendModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisBulletLegendModule, imports: [[]] });
3686
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisBulletLegendModule, decorators: [{
3687
- type: i0.NgModule,
3688
- args: [{
3689
- imports: [],
3690
- declarations: [VisBulletLegendComponent],
3691
- exports: [VisBulletLegendComponent],
3692
- }]
3693
- }] });
3694
-
3695
- // !!! This code was automatically generated. You should not change it !!!
3696
- var VisFlowLegendComponent = /** @class */ (function () {
3697
- function VisFlowLegendComponent() {
3698
- }
3699
- VisFlowLegendComponent.prototype.ngAfterViewInit = function () {
3700
- this.component = new ts.FlowLegend(this.containerRef.nativeElement, Object.assign(Object.assign({}, this.getConfig()), { renderIntoProvidedDomNode: true }));
3701
- };
3702
- VisFlowLegendComponent.prototype.ngOnChanges = function (changes) {
3703
- var _a;
3704
- (_a = this.component) === null || _a === void 0 ? void 0 : _a.setConfig(this.getConfig());
3705
- };
3706
- VisFlowLegendComponent.prototype.getConfig = function () {
3707
- var _b = this, margin = _b.margin, customWidth = _b.customWidth, items = _b.items, spacing = _b.spacing, lineColor = _b.lineColor, labelColor = _b.labelColor, labelFontSize = _b.labelFontSize, arrowSymbol = _b.arrowSymbol, arrowColor = _b.arrowColor, arrowSymbolYOffset = _b.arrowSymbolYOffset, onLegendItemClick = _b.onLegendItemClick;
3708
- var config = { margin: margin, customWidth: customWidth, items: items, spacing: spacing, lineColor: lineColor, labelColor: labelColor, labelFontSize: labelFontSize, arrowSymbol: arrowSymbol, arrowColor: arrowColor, arrowSymbolYOffset: arrowSymbolYOffset, onLegendItemClick: onLegendItemClick };
3709
- var keys = Object.keys(config);
3710
- keys.forEach(function (key) {
3711
- if (config[key] === undefined)
3712
- delete config[key];
3713
- });
3714
- return config;
3715
- };
3716
- return VisFlowLegendComponent;
3717
- }());
3718
- VisFlowLegendComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisFlowLegendComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
3719
- VisFlowLegendComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, template: '<div #container class="flow-legend-container"></div>', isInline: true, styles: [".flow-legend-container { }"] });
3720
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisFlowLegendComponent, decorators: [{
3721
- type: i0.Component,
3722
- args: [{
3723
- selector: 'vis-flow-legend',
3724
- template: '<div #container class="flow-legend-container"></div>',
3725
- styles: ['.flow-legend-container { }'],
3726
- // eslint-disable-next-line no-use-before-define
3727
- providers: [{ provide: VisGenericComponent, useExisting: VisFlowLegendComponent }],
3728
- }]
3729
- }], propDecorators: { containerRef: [{
3730
- type: i0.ViewChild,
3731
- args: ['container', { static: false }]
3732
- }], margin: [{
3733
- type: i0.Input
3734
- }], customWidth: [{
3735
- type: i0.Input
3736
- }], items: [{
3737
- type: i0.Input
3738
- }], spacing: [{
3739
- type: i0.Input
3740
- }], lineColor: [{
3741
- type: i0.Input
3742
- }], labelColor: [{
3743
- type: i0.Input
3744
- }], labelFontSize: [{
3745
- type: i0.Input
3746
- }], arrowSymbol: [{
3747
- type: i0.Input
3748
- }], arrowColor: [{
3749
- type: i0.Input
3750
- }], arrowSymbolYOffset: [{
3751
- type: i0.Input
3752
- }], onLegendItemClick: [{
3753
- type: i0.Input
3754
- }] } });
3755
-
3756
- // !!! This code was automatically generated. You should not change it !!!
3757
- var VisFlowLegendModule = /** @class */ (function () {
3758
- function VisFlowLegendModule() {
3759
- }
3760
- return VisFlowLegendModule;
3761
- }());
3762
- VisFlowLegendModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisFlowLegendModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
3763
- VisFlowLegendModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisFlowLegendModule, declarations: [VisFlowLegendComponent], exports: [VisFlowLegendComponent] });
3764
- VisFlowLegendModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisFlowLegendModule, imports: [[]] });
3765
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisFlowLegendModule, decorators: [{
3766
- type: i0.NgModule,
3767
- args: [{
3768
- imports: [],
3769
- declarations: [VisFlowLegendComponent],
3770
- exports: [VisFlowLegendComponent],
3771
- }]
3772
- }] });
3773
-
3774
- // !!! This code was automatically generated. You should not change it !!!
3775
- var VisRollingPinLegendComponent = /** @class */ (function () {
3776
- function VisRollingPinLegendComponent() {
3777
- }
3778
- VisRollingPinLegendComponent.prototype.ngAfterViewInit = function () {
3779
- this.component = new ts.RollingPinLegend(this.containerRef.nativeElement, this.getConfig());
3780
- };
3781
- VisRollingPinLegendComponent.prototype.ngOnChanges = function (changes) {
3782
- var _a;
3783
- (_a = this.component) === null || _a === void 0 ? void 0 : _a.setConfig(this.getConfig());
3784
- };
3785
- VisRollingPinLegendComponent.prototype.getConfig = function () {
3786
- var _b = this, rects = _b.rects, leftLabelText = _b.leftLabelText, rightLabelText = _b.rightLabelText, labelClassName = _b.labelClassName, labelFontSize = _b.labelFontSize;
3787
- var config = { rects: rects, leftLabelText: leftLabelText, rightLabelText: rightLabelText, labelClassName: labelClassName, labelFontSize: labelFontSize };
3788
- var keys = Object.keys(config);
3789
- keys.forEach(function (key) {
3790
- if (config[key] === undefined)
3791
- delete config[key];
3792
- });
3793
- return config;
3794
- };
3795
- return VisRollingPinLegendComponent;
3796
- }());
3797
- VisRollingPinLegendComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisRollingPinLegendComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
3798
- VisRollingPinLegendComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, template: '<div #container class="rolling-pin-legend-container"></div>', isInline: true, styles: [".rolling-pin-legend-container { }"] });
3799
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisRollingPinLegendComponent, decorators: [{
3800
- type: i0.Component,
3801
- args: [{
3802
- selector: 'vis-rolling-pin-legend',
3803
- template: '<div #container class="rolling-pin-legend-container"></div>',
3804
- styles: ['.rolling-pin-legend-container { }'],
3805
- // eslint-disable-next-line no-use-before-define
3806
- providers: [{ provide: VisGenericComponent, useExisting: VisRollingPinLegendComponent }],
3807
- }]
3808
- }], propDecorators: { containerRef: [{
3809
- type: i0.ViewChild,
3810
- args: ['container', { static: false }]
3811
- }], rects: [{
3812
- type: i0.Input
3813
- }], leftLabelText: [{
3814
- type: i0.Input
3815
- }], rightLabelText: [{
3816
- type: i0.Input
3817
- }], labelClassName: [{
3818
- type: i0.Input
3819
- }], labelFontSize: [{
3820
- type: i0.Input
3821
- }] } });
3822
-
3823
- // !!! This code was automatically generated. You should not change it !!!
3824
- var VisRollingPinLegendModule = /** @class */ (function () {
3825
- function VisRollingPinLegendModule() {
3826
- }
3827
- return VisRollingPinLegendModule;
3828
- }());
3829
- VisRollingPinLegendModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisRollingPinLegendModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
3830
- VisRollingPinLegendModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisRollingPinLegendModule, declarations: [VisRollingPinLegendComponent], exports: [VisRollingPinLegendComponent] });
3831
- VisRollingPinLegendModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisRollingPinLegendModule, imports: [[]] });
3832
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisRollingPinLegendModule, decorators: [{
3833
- type: i0.NgModule,
3834
- args: [{
3835
- imports: [],
3836
- declarations: [VisRollingPinLegendComponent],
3837
- exports: [VisRollingPinLegendComponent],
3838
- }]
3839
- }] });
3840
-
3841
- // !!! This code was automatically generated. You should not change it !!!
3842
- var VisTooltipModule = /** @class */ (function () {
3843
- function VisTooltipModule() {
3844
- }
3845
- return VisTooltipModule;
3846
- }());
3847
- VisTooltipModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisTooltipModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
3848
- VisTooltipModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisTooltipModule, declarations: [VisTooltipComponent], exports: [VisTooltipComponent] });
3849
- VisTooltipModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisTooltipModule, imports: [[]] });
3850
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisTooltipModule, decorators: [{
3851
- type: i0.NgModule,
3852
- args: [{
3853
- imports: [],
3854
- declarations: [VisTooltipComponent],
3855
- exports: [VisTooltipComponent],
3856
- }]
3857
- }] });
3858
-
3859
- // Core
3860
-
3861
- /**
3862
- * Generated bundle index. Do not edit.
3863
- */
3864
-
3865
- exports.VisAnnotationsComponent = VisAnnotationsComponent;
3866
- exports.VisAnnotationsModule = VisAnnotationsModule;
3867
- exports.VisAreaComponent = VisAreaComponent;
3868
- exports.VisAreaModule = VisAreaModule;
3869
- exports.VisAxisComponent = VisAxisComponent;
3870
- exports.VisAxisModule = VisAxisModule;
3871
- exports.VisBrushComponent = VisBrushComponent;
3872
- exports.VisBrushModule = VisBrushModule;
3873
- exports.VisBulletLegendComponent = VisBulletLegendComponent;
3874
- exports.VisBulletLegendModule = VisBulletLegendModule;
3875
- exports.VisChordDiagramComponent = VisChordDiagramComponent;
3876
- exports.VisChordDiagramModule = VisChordDiagramModule;
3877
- exports.VisCoreComponent = VisCoreComponent;
3878
- exports.VisCrosshairComponent = VisCrosshairComponent;
3879
- exports.VisCrosshairModule = VisCrosshairModule;
3880
- exports.VisDonutComponent = VisDonutComponent;
3881
- exports.VisDonutModule = VisDonutModule;
3882
- exports.VisFlowLegendComponent = VisFlowLegendComponent;
3883
- exports.VisFlowLegendModule = VisFlowLegendModule;
3884
- exports.VisFreeBrushComponent = VisFreeBrushComponent;
3885
- exports.VisFreeBrushModule = VisFreeBrushModule;
3886
- exports.VisGenericComponent = VisGenericComponent;
3887
- exports.VisGraphComponent = VisGraphComponent;
3888
- exports.VisGraphModule = VisGraphModule;
3889
- exports.VisGroupedBarComponent = VisGroupedBarComponent;
3890
- exports.VisGroupedBarModule = VisGroupedBarModule;
3891
- exports.VisLeafletFlowMapComponent = VisLeafletFlowMapComponent;
3892
- exports.VisLeafletFlowMapModule = VisLeafletFlowMapModule;
3893
- exports.VisLeafletMapComponent = VisLeafletMapComponent;
3894
- exports.VisLeafletMapModule = VisLeafletMapModule;
3895
- exports.VisLineComponent = VisLineComponent;
3896
- exports.VisLineModule = VisLineModule;
3897
- exports.VisNestedDonutComponent = VisNestedDonutComponent;
3898
- exports.VisNestedDonutModule = VisNestedDonutModule;
3899
- exports.VisPlotbandComponent = VisPlotbandComponent;
3900
- exports.VisPlotbandModule = VisPlotbandModule;
3901
- exports.VisPlotlineComponent = VisPlotlineComponent;
3902
- exports.VisPlotlineModule = VisPlotlineModule;
3903
- exports.VisRollingPinLegendComponent = VisRollingPinLegendComponent;
3904
- exports.VisRollingPinLegendModule = VisRollingPinLegendModule;
3905
- exports.VisSankeyComponent = VisSankeyComponent;
3906
- exports.VisSankeyModule = VisSankeyModule;
3907
- exports.VisScatterComponent = VisScatterComponent;
3908
- exports.VisScatterModule = VisScatterModule;
3909
- exports.VisSingleContainerComponent = VisSingleContainerComponent;
3910
- exports.VisSingleContainerModule = VisSingleContainerModule;
3911
- exports.VisStackedBarComponent = VisStackedBarComponent;
3912
- exports.VisStackedBarModule = VisStackedBarModule;
3913
- exports.VisTimelineComponent = VisTimelineComponent;
3914
- exports.VisTimelineModule = VisTimelineModule;
3915
- exports.VisTooltipComponent = VisTooltipComponent;
3916
- exports.VisTooltipModule = VisTooltipModule;
3917
- exports.VisTopoJSONMapComponent = VisTopoJSONMapComponent;
3918
- exports.VisTopoJSONMapModule = VisTopoJSONMapModule;
3919
- exports.VisXYComponent = VisXYComponent;
3920
- exports.VisXYContainerComponent = VisXYContainerComponent;
3921
- exports.VisXYContainerModule = VisXYContainerModule;
3922
- exports.VisXYLabelsComponent = VisXYLabelsComponent;
3923
- exports.VisXYLabelsModule = VisXYLabelsModule;
3924
-
3925
- Object.defineProperty(exports, '__esModule', { value: true });
3926
-
3927
- }));
3928
- //# sourceMappingURL=unovis-angular.umd.js.map