@dpuse/dpuse-tool-d3-visualiser 1.0.112 → 1.0.118

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 (37) hide show
  1. package/README.md +125 -124
  2. package/dist/{array-Cv4-2llb.js → array-CpxKKsZm.js} +2 -4
  3. package/dist/{array-Cv4-2llb.js.map → array-CpxKKsZm.js.map} +1 -1
  4. package/dist/{chordDiagram-BG0jW2g9.js → chordDiagram-Dbu2uT_s.js} +80 -155
  5. package/dist/{chordDiagram-BG0jW2g9.js.map → chordDiagram-Dbu2uT_s.js.map} +1 -1
  6. package/dist/dpuse-tool-d3-visualiser.es.js +7 -8
  7. package/dist/{erdDiagram-CHPY-zaP.js → erdDiagram-DKsqCN08.js} +78 -65
  8. package/dist/erdDiagram-DKsqCN08.js.map +1 -0
  9. package/dist/{hierarchy-CDFAetye.js → hierarchy-DU9LihDu.js} +14 -28
  10. package/dist/{hierarchy-CDFAetye.js.map → hierarchy-DU9LihDu.js.map} +1 -1
  11. package/dist/{linear-DytAYqu2.js → linear-CNetDix0.js} +37 -72
  12. package/dist/{linear-DytAYqu2.js.map → linear-CNetDix0.js.map} +1 -1
  13. package/dist/{link-BfoIl3p5.js → link-CAkrxHYd.js} +4 -6
  14. package/dist/{link-BfoIl3p5.js.map → link-CAkrxHYd.js.map} +1 -1
  15. package/dist/{networkDiagram-XI0c9kJR.js → networkDiagram-BiCPMNf8.js} +36 -70
  16. package/dist/{networkDiagram-XI0c9kJR.js.map → networkDiagram-BiCPMNf8.js.map} +1 -1
  17. package/dist/{palette-Ca7C6aNE.js → palette-D5DTPmuA.js} +2 -4
  18. package/dist/{palette-Ca7C6aNE.js.map → palette-D5DTPmuA.js.map} +1 -1
  19. package/dist/{point-DSPrfIZi.js → point-_U9MxSuk.js} +3 -6
  20. package/dist/{point-DSPrfIZi.js.map → point-_U9MxSuk.js.map} +1 -1
  21. package/dist/{sankeyDiagram-w2TGSqb7.js → sankeyDiagram-DcI-D1uh.js} +10 -17
  22. package/dist/sankeyDiagram-DcI-D1uh.js.map +1 -0
  23. package/dist/{select-Bs4oiNEZ.js → select-SZKizDc7.js} +48 -94
  24. package/dist/{select-Bs4oiNEZ.js.map → select-SZKizDc7.js.map} +1 -1
  25. package/dist/shipped-packages.json +2 -2
  26. package/dist/{src-Bo8my4B8.js → src-DAMkWOaT.js} +40 -78
  27. package/dist/{src-Bo8my4B8.js.map → src-DAMkWOaT.js.map} +1 -1
  28. package/dist/{string-iJh48M7Y.js → string-BzfQLSds.js} +7 -14
  29. package/dist/{string-iJh48M7Y.js.map → string-BzfQLSds.js.map} +1 -1
  30. package/dist/{tanStackCharts-LPqRQGD9.js → tanStackCharts-5HHGfe6p.js} +812 -879
  31. package/dist/tanStackCharts-5HHGfe6p.js.map +1 -0
  32. package/dist/{treeDiagram-C798R8hL.js → treeDiagram-fmrYqvXl.js} +5 -7
  33. package/dist/{treeDiagram-C798R8hL.js.map → treeDiagram-fmrYqvXl.js.map} +1 -1
  34. package/package.json +16 -15
  35. package/dist/erdDiagram-CHPY-zaP.js.map +0 -1
  36. package/dist/sankeyDiagram-w2TGSqb7.js.map +0 -1
  37. package/dist/tanStackCharts-LPqRQGD9.js.map +0 -1
@@ -5,8 +5,7 @@ var e = {
5
5
  xml: "http://www.w3.org/XML/1998/namespace",
6
6
  xmlns: "http://www.w3.org/2000/xmlns/"
7
7
  };
8
- //#endregion
9
- //#region node_modules/d3-selection/src/namespace.js
8
+ // node_modules/d3-selection/src/namespace.js
10
9
  function t(t) {
11
10
  var n = t += "", r = n.indexOf(":");
12
11
  return r >= 0 && (n = t.slice(0, r)) !== "xmlns" && (t = t.slice(r + 1)), e.hasOwnProperty(n) ? {
@@ -14,8 +13,7 @@ function t(t) {
14
13
  local: t
15
14
  } : t;
16
15
  }
17
- //#endregion
18
- //#region node_modules/d3-selection/src/creator.js
16
+ // node_modules/d3-selection/src/creator.js
19
17
  function n(e) {
20
18
  return function() {
21
19
  var t = this.ownerDocument, n = this.namespaceURI;
@@ -31,28 +29,24 @@ function i(e) {
31
29
  var i = t(e);
32
30
  return (i.local ? r : n)(i);
33
31
  }
34
- //#endregion
35
- //#region node_modules/d3-selection/src/selector.js
32
+ // node_modules/d3-selection/src/selector.js
36
33
  function a() {}
37
34
  function o(e) {
38
35
  return e == null ? a : function() {
39
36
  return this.querySelector(e);
40
37
  };
41
38
  }
42
- //#endregion
43
- //#region node_modules/d3-selection/src/selection/select.js
39
+ // node_modules/d3-selection/src/selection/select.js
44
40
  function s(e) {
45
41
  typeof e != "function" && (e = o(e));
46
42
  for (var t = this._groups, n = t.length, r = Array(n), i = 0; i < n; ++i) for (var a = t[i], s = a.length, c = r[i] = Array(s), l, u, d = 0; d < s; ++d) (l = a[d]) && (u = e.call(l, l.__data__, d, a)) && ("__data__" in l && (u.__data__ = l.__data__), c[d] = u);
47
43
  return new Q(r, this._parents);
48
44
  }
49
- //#endregion
50
- //#region node_modules/d3-selection/src/array.js
45
+ // node_modules/d3-selection/src/array.js
51
46
  function c(e) {
52
47
  return e == null ? [] : Array.isArray(e) ? e : Array.from(e);
53
48
  }
54
- //#endregion
55
- //#region node_modules/d3-selection/src/selectorAll.js
49
+ // node_modules/d3-selection/src/selectorAll.js
56
50
  function l() {
57
51
  return [];
58
52
  }
@@ -61,8 +55,7 @@ function u(e) {
61
55
  return this.querySelectorAll(e);
62
56
  };
63
57
  }
64
- //#endregion
65
- //#region node_modules/d3-selection/src/selection/selectAll.js
58
+ // node_modules/d3-selection/src/selection/selectAll.js
66
59
  function d(e) {
67
60
  return function() {
68
61
  return c(e.apply(this, arguments));
@@ -73,8 +66,7 @@ function f(e) {
73
66
  for (var t = this._groups, n = t.length, r = [], i = [], a = 0; a < n; ++a) for (var o = t[a], s = o.length, c, l = 0; l < s; ++l) (c = o[l]) && (r.push(e.call(c, c.__data__, l, o)), i.push(c));
74
67
  return new Q(r, i);
75
68
  }
76
- //#endregion
77
- //#region node_modules/d3-selection/src/matcher.js
69
+ // node_modules/d3-selection/src/matcher.js
78
70
  function p(e) {
79
71
  return function() {
80
72
  return this.matches(e);
@@ -85,8 +77,7 @@ function m(e) {
85
77
  return t.matches(e);
86
78
  };
87
79
  }
88
- //#endregion
89
- //#region node_modules/d3-selection/src/selection/selectChild.js
80
+ // node_modules/d3-selection/src/selection/selectChild.js
90
81
  var h = Array.prototype.find;
91
82
  function g(e) {
92
83
  return function() {
@@ -99,8 +90,7 @@ function _() {
99
90
  function v(e) {
100
91
  return this.select(e == null ? _ : g(typeof e == "function" ? e : m(e)));
101
92
  }
102
- //#endregion
103
- //#region node_modules/d3-selection/src/selection/selectChildren.js
93
+ // node_modules/d3-selection/src/selection/selectChildren.js
104
94
  var y = Array.prototype.filter;
105
95
  function b() {
106
96
  return Array.from(this.children);
@@ -113,20 +103,17 @@ function ee(e) {
113
103
  function te(e) {
114
104
  return this.selectAll(e == null ? b : ee(typeof e == "function" ? e : m(e)));
115
105
  }
116
- //#endregion
117
- //#region node_modules/d3-selection/src/selection/filter.js
106
+ // node_modules/d3-selection/src/selection/filter.js
118
107
  function x(e) {
119
108
  typeof e != "function" && (e = p(e));
120
109
  for (var t = this._groups, n = t.length, r = Array(n), i = 0; i < n; ++i) for (var a = t[i], o = a.length, s = r[i] = [], c, l = 0; l < o; ++l) (c = a[l]) && e.call(c, c.__data__, l, a) && s.push(c);
121
110
  return new Q(r, this._parents);
122
111
  }
123
- //#endregion
124
- //#region node_modules/d3-selection/src/selection/sparse.js
112
+ // node_modules/d3-selection/src/selection/sparse.js
125
113
  function S(e) {
126
114
  return Array(e.length);
127
115
  }
128
- //#endregion
129
- //#region node_modules/d3-selection/src/selection/enter.js
116
+ // node_modules/d3-selection/src/selection/enter.js
130
117
  function ne() {
131
118
  return new Q(this._enter || this._groups.map(S), this._parents);
132
119
  }
@@ -148,15 +135,13 @@ C.prototype = {
148
135
  return this._parent.querySelectorAll(e);
149
136
  }
150
137
  };
151
- //#endregion
152
- //#region node_modules/d3-selection/src/constant.js
138
+ // node_modules/d3-selection/src/constant.js
153
139
  function re(e) {
154
140
  return function() {
155
141
  return e;
156
142
  };
157
143
  }
158
- //#endregion
159
- //#region node_modules/d3-selection/src/selection/data.js
144
+ // node_modules/d3-selection/src/selection/data.js
160
145
  function ie(e, t, n, r, i, a) {
161
146
  for (var o = 0, s, c = t.length, l = a.length; o < l; ++o) (s = t[o]) ? (s.__data__ = a[o], r[o] = s) : n[o] = new C(e, a[o]);
162
147
  for (; o < c; ++o) (s = t[o]) && (i[o] = s);
@@ -187,32 +172,27 @@ function se(e, t) {
187
172
  function ce(e) {
188
173
  return typeof e == "object" && "length" in e ? e : Array.from(e);
189
174
  }
190
- //#endregion
191
- //#region node_modules/d3-selection/src/selection/exit.js
175
+ // node_modules/d3-selection/src/selection/exit.js
192
176
  function le() {
193
177
  return new Q(this._exit || this._groups.map(S), this._parents);
194
178
  }
195
- //#endregion
196
- //#region node_modules/d3-selection/src/selection/join.js
179
+ // node_modules/d3-selection/src/selection/join.js
197
180
  function ue(e, t, n) {
198
181
  var r = this.enter(), i = this, a = this.exit();
199
182
  return typeof e == "function" ? (r = e(r), r &&= r.selection()) : r = r.append(e + ""), t != null && (i = t(i), i &&= i.selection()), n == null ? a.remove() : n(a), r && i ? r.merge(i).order() : i;
200
183
  }
201
- //#endregion
202
- //#region node_modules/d3-selection/src/selection/merge.js
184
+ // node_modules/d3-selection/src/selection/merge.js
203
185
  function de(e) {
204
186
  for (var t = e.selection ? e.selection() : e, n = this._groups, r = t._groups, i = n.length, a = r.length, o = Math.min(i, a), s = Array(i), c = 0; c < o; ++c) for (var l = n[c], u = r[c], d = l.length, f = s[c] = Array(d), p, m = 0; m < d; ++m) (p = l[m] || u[m]) && (f[m] = p);
205
187
  for (; c < i; ++c) s[c] = n[c];
206
188
  return new Q(s, this._parents);
207
189
  }
208
- //#endregion
209
- //#region node_modules/d3-selection/src/selection/order.js
190
+ // node_modules/d3-selection/src/selection/order.js
210
191
  function w() {
211
192
  for (var e = this._groups, t = -1, n = e.length; ++t < n;) for (var r = e[t], i = r.length - 1, a = r[i], o; --i >= 0;) (o = r[i]) && (a && o.compareDocumentPosition(a) ^ 4 && a.parentNode.insertBefore(o, a), a = o);
212
193
  return this;
213
194
  }
214
- //#endregion
215
- //#region node_modules/d3-selection/src/selection/sort.js
195
+ // node_modules/d3-selection/src/selection/sort.js
216
196
  function T(e) {
217
197
  e ||= E;
218
198
  function t(t, n) {
@@ -227,19 +207,16 @@ function T(e) {
227
207
  function E(e, t) {
228
208
  return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;
229
209
  }
230
- //#endregion
231
- //#region node_modules/d3-selection/src/selection/call.js
210
+ // node_modules/d3-selection/src/selection/call.js
232
211
  function D() {
233
212
  var e = arguments[0];
234
213
  return arguments[0] = this, e.apply(null, arguments), this;
235
214
  }
236
- //#endregion
237
- //#region node_modules/d3-selection/src/selection/nodes.js
215
+ // node_modules/d3-selection/src/selection/nodes.js
238
216
  function O() {
239
217
  return Array.from(this);
240
218
  }
241
- //#endregion
242
- //#region node_modules/d3-selection/src/selection/node.js
219
+ // node_modules/d3-selection/src/selection/node.js
243
220
  function k() {
244
221
  for (var e = this._groups, t = 0, n = e.length; t < n; ++t) for (var r = e[t], i = 0, a = r.length; i < a; ++i) {
245
222
  var o = r[i];
@@ -247,26 +224,22 @@ function k() {
247
224
  }
248
225
  return null;
249
226
  }
250
- //#endregion
251
- //#region node_modules/d3-selection/src/selection/size.js
227
+ // node_modules/d3-selection/src/selection/size.js
252
228
  function A() {
253
229
  let e = 0;
254
230
  for (let t of this) ++e;
255
231
  return e;
256
232
  }
257
- //#endregion
258
- //#region node_modules/d3-selection/src/selection/empty.js
233
+ // node_modules/d3-selection/src/selection/empty.js
259
234
  function j() {
260
235
  return !this.node();
261
236
  }
262
- //#endregion
263
- //#region node_modules/d3-selection/src/selection/each.js
237
+ // node_modules/d3-selection/src/selection/each.js
264
238
  function M(e) {
265
239
  for (var t = this._groups, n = 0, r = t.length; n < r; ++n) for (var i = t[n], a = 0, o = i.length, s; a < o; ++a) (s = i[a]) && e.call(s, s.__data__, a, i);
266
240
  return this;
267
241
  }
268
- //#endregion
269
- //#region node_modules/d3-selection/src/selection/attr.js
242
+ // node_modules/d3-selection/src/selection/attr.js
270
243
  function N(e) {
271
244
  return function() {
272
245
  this.removeAttribute(e);
@@ -307,13 +280,11 @@ function z(e, n) {
307
280
  }
308
281
  return this.each((n == null ? r.local ? P : N : typeof n == "function" ? r.local ? R : L : r.local ? I : F)(r, n));
309
282
  }
310
- //#endregion
311
- //#region node_modules/d3-selection/src/window.js
283
+ // node_modules/d3-selection/src/window.js
312
284
  function B(e) {
313
285
  return e.ownerDocument && e.ownerDocument.defaultView || e.document && e || e.defaultView;
314
286
  }
315
- //#endregion
316
- //#region node_modules/d3-selection/src/selection/style.js
287
+ // node_modules/d3-selection/src/selection/style.js
317
288
  function V(e) {
318
289
  return function() {
319
290
  this.style.removeProperty(e);
@@ -336,8 +307,7 @@ function pe(e, t, n) {
336
307
  function U(e, t) {
337
308
  return e.style.getPropertyValue(t) || B(e).getComputedStyle(e, null).getPropertyValue(t);
338
309
  }
339
- //#endregion
340
- //#region node_modules/d3-selection/src/selection/property.js
310
+ // node_modules/d3-selection/src/selection/property.js
341
311
  function me(e) {
342
312
  return function() {
343
313
  delete this[e];
@@ -357,8 +327,7 @@ function ge(e, t) {
357
327
  function _e(e, t) {
358
328
  return arguments.length > 1 ? this.each((t == null ? me : typeof t == "function" ? ge : he)(e, t)) : this.node()[e];
359
329
  }
360
- //#endregion
361
- //#region node_modules/d3-selection/src/selection/classed.js
330
+ // node_modules/d3-selection/src/selection/classed.js
362
331
  function W(e) {
363
332
  return e.trim().split(/^|\s+/);
364
333
  }
@@ -409,8 +378,7 @@ function xe(e, t) {
409
378
  }
410
379
  return this.each((typeof t == "function" ? be : t ? ve : ye)(n, t));
411
380
  }
412
- //#endregion
413
- //#region node_modules/d3-selection/src/selection/text.js
381
+ // node_modules/d3-selection/src/selection/text.js
414
382
  function Se() {
415
383
  this.textContent = "";
416
384
  }
@@ -428,8 +396,7 @@ function we(e) {
428
396
  function Te(e) {
429
397
  return arguments.length ? this.each(e == null ? Se : (typeof e == "function" ? we : Ce)(e)) : this.node().textContent;
430
398
  }
431
- //#endregion
432
- //#region node_modules/d3-selection/src/selection/html.js
399
+ // node_modules/d3-selection/src/selection/html.js
433
400
  function Ee() {
434
401
  this.innerHTML = "";
435
402
  }
@@ -447,32 +414,28 @@ function Oe(e) {
447
414
  function ke(e) {
448
415
  return arguments.length ? this.each(e == null ? Ee : (typeof e == "function" ? Oe : De)(e)) : this.node().innerHTML;
449
416
  }
450
- //#endregion
451
- //#region node_modules/d3-selection/src/selection/raise.js
417
+ // node_modules/d3-selection/src/selection/raise.js
452
418
  function Ae() {
453
419
  this.nextSibling && this.parentNode.appendChild(this);
454
420
  }
455
421
  function je() {
456
422
  return this.each(Ae);
457
423
  }
458
- //#endregion
459
- //#region node_modules/d3-selection/src/selection/lower.js
424
+ // node_modules/d3-selection/src/selection/lower.js
460
425
  function Me() {
461
426
  this.previousSibling && this.parentNode.insertBefore(this, this.parentNode.firstChild);
462
427
  }
463
428
  function Ne() {
464
429
  return this.each(Me);
465
430
  }
466
- //#endregion
467
- //#region node_modules/d3-selection/src/selection/append.js
431
+ // node_modules/d3-selection/src/selection/append.js
468
432
  function Pe(e) {
469
433
  var t = typeof e == "function" ? e : i(e);
470
434
  return this.select(function() {
471
435
  return this.appendChild(t.apply(this, arguments));
472
436
  });
473
437
  }
474
- //#endregion
475
- //#region node_modules/d3-selection/src/selection/insert.js
438
+ // node_modules/d3-selection/src/selection/insert.js
476
439
  function Fe() {
477
440
  return null;
478
441
  }
@@ -482,8 +445,7 @@ function Ie(e, t) {
482
445
  return this.insertBefore(n.apply(this, arguments), r.apply(this, arguments) || null);
483
446
  });
484
447
  }
485
- //#endregion
486
- //#region node_modules/d3-selection/src/selection/remove.js
448
+ // node_modules/d3-selection/src/selection/remove.js
487
449
  function Le() {
488
450
  var e = this.parentNode;
489
451
  e && e.removeChild(this);
@@ -491,8 +453,7 @@ function Le() {
491
453
  function Re() {
492
454
  return this.each(Le);
493
455
  }
494
- //#endregion
495
- //#region node_modules/d3-selection/src/selection/clone.js
456
+ // node_modules/d3-selection/src/selection/clone.js
496
457
  function ze() {
497
458
  var e = this.cloneNode(!1), t = this.parentNode;
498
459
  return t ? t.insertBefore(e, this.nextSibling) : e;
@@ -504,13 +465,11 @@ function Be() {
504
465
  function Ve(e) {
505
466
  return this.select(e ? Be : ze);
506
467
  }
507
- //#endregion
508
- //#region node_modules/d3-selection/src/selection/datum.js
468
+ // node_modules/d3-selection/src/selection/datum.js
509
469
  function He(e) {
510
470
  return arguments.length ? this.property("__data__", e) : this.node().__data__;
511
471
  }
512
- //#endregion
513
- //#region node_modules/d3-selection/src/selection/on.js
472
+ // node_modules/d3-selection/src/selection/on.js
514
473
  function Ue(e) {
515
474
  return function(t) {
516
475
  e.call(this, t, this.__data__);
@@ -559,13 +518,12 @@ function Ke(e, t, n) {
559
518
  if (s) {
560
519
  for (var c = 0, l = s.length, u; c < l; ++c) for (i = 0, u = s[c]; i < a; ++i) if ((o = r[i]).type === u.type && o.name === u.name) return u.value;
561
520
  }
562
- return;
521
+ } else {
522
+ for (s = t ? Y : Ge, i = 0; i < a; ++i) this.each(s(r[i], t, n));
523
+ return this;
563
524
  }
564
- for (s = t ? Y : Ge, i = 0; i < a; ++i) this.each(s(r[i], t, n));
565
- return this;
566
525
  }
567
- //#endregion
568
- //#region node_modules/d3-selection/src/selection/dispatch.js
526
+ // node_modules/d3-selection/src/selection/dispatch.js
569
527
  function X(e, t, n) {
570
528
  var r = B(e), i = r.CustomEvent;
571
529
  typeof i == "function" ? i = new i(t, n) : (i = r.document.createEvent("Event"), n ? (i.initEvent(t, n.bubbles, n.cancelable), i.detail = n.detail) : i.initEvent(t, !1, !1)), e.dispatchEvent(i);
@@ -583,13 +541,11 @@ function Je(e, t) {
583
541
  function Ye(e, t) {
584
542
  return this.each((typeof t == "function" ? Je : qe)(e, t));
585
543
  }
586
- //#endregion
587
- //#region node_modules/d3-selection/src/selection/iterator.js
544
+ // node_modules/d3-selection/src/selection/iterator.js
588
545
  function* Xe() {
589
546
  for (var e = this._groups, t = 0, n = e.length; t < n; ++t) for (var r = e[t], i = 0, a = r.length, o; i < a; ++i) (o = r[i]) && (yield o);
590
547
  }
591
- //#endregion
592
- //#region node_modules/d3-selection/src/selection/index.js
548
+ // node_modules/d3-selection/src/selection/index.js
593
549
  var Z = [null];
594
550
  function Q(e, t) {
595
551
  this._groups = e, this._parents = t;
@@ -638,10 +594,8 @@ Q.prototype = $.prototype = {
638
594
  dispatch: Ye,
639
595
  [Symbol.iterator]: Xe
640
596
  };
641
- //#endregion
642
- //#region node_modules/d3-selection/src/select.js
597
+ // node_modules/d3-selection/src/select.js
643
598
  function Qe(e) {
644
599
  return typeof e == "string" ? new Q([[document.querySelector(e)]], [document.documentElement]) : new Q([[e]], Z);
645
600
  }
646
- //#endregion
647
601
  export { u as a, p as i, $ as n, o, U as r, t as s, Qe as t };