@unovis/angular 1.7.0-Phoenix.0 → 1.7.0-csp.0

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