@unovis/angular 1.0.0-alpha.4

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