@dpuse/dpuse-tool-d3-visualiser 1.0.112 → 1.0.121
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.
- package/README.md +203 -240
- package/dist/chordDiagram-Cm91Tmgo.js +1729 -0
- package/dist/d3-hierarchy-Dtx4jD78.js +269 -0
- package/dist/{linear-DytAYqu2.js → d3-scale-BYykLEPO.js} +271 -245
- package/dist/{select-Bs4oiNEZ.js → d3-selection-CL8c_tE2.js} +233 -281
- package/dist/d3-shape-gf8U18pS.js +1133 -0
- package/dist/dpuse-tool-d3-visualiser.es.js +7 -8
- package/dist/{erdDiagram-CHPY-zaP.js → erdDiagram-DmYSx8Dh.js} +78 -65
- package/dist/networkDiagram-p5z5B_vZ.js +1005 -0
- package/dist/{palette-Ca7C6aNE.js → palette-D5DTPmuA.js} +2 -4
- package/dist/{sankeyDiagram-w2TGSqb7.js → sankeyDiagram-Dbl1-v5p.js} +38 -45
- package/dist/shipped-packages.json +12 -21
- package/dist/{src-Bo8my4B8.js → src-YHHReglY.js} +71 -109
- package/dist/{string-iJh48M7Y.js → string-BzfQLSds.js} +7 -14
- package/dist/{tanStackCharts-LPqRQGD9.js → tanStackCharts-DEINbmRi.js} +1228 -1350
- package/dist/treeDiagram-t0oFwi1c.js +49 -0
- package/dist/types/src/networkDiagram.d.ts +4 -0
- package/package.json +28 -25
- package/dist/array-Cv4-2llb.js +0 -14
- package/dist/array-Cv4-2llb.js.map +0 -1
- package/dist/chordDiagram-BG0jW2g9.js +0 -3663
- package/dist/chordDiagram-BG0jW2g9.js.map +0 -1
- package/dist/dpuse-tool-d3-visualiser.es.js.map +0 -1
- package/dist/erdDiagram-CHPY-zaP.js.map +0 -1
- package/dist/hierarchy-CDFAetye.js +0 -149
- package/dist/hierarchy-CDFAetye.js.map +0 -1
- package/dist/linear-DytAYqu2.js.map +0 -1
- package/dist/link-BfoIl3p5.js +0 -64
- package/dist/link-BfoIl3p5.js.map +0 -1
- package/dist/networkDiagram-XI0c9kJR.js +0 -1029
- package/dist/networkDiagram-XI0c9kJR.js.map +0 -1
- package/dist/palette-Ca7C6aNE.js.map +0 -1
- package/dist/point-DSPrfIZi.js +0 -88
- package/dist/point-DSPrfIZi.js.map +0 -1
- package/dist/sankeyDiagram-w2TGSqb7.js.map +0 -1
- package/dist/select-Bs4oiNEZ.js.map +0 -1
- package/dist/src-Bo8my4B8.js.map +0 -1
- package/dist/string-iJh48M7Y.js.map +0 -1
- package/dist/tanStackCharts-LPqRQGD9.js.map +0 -1
- package/dist/treeDiagram-C798R8hL.js +0 -128
- package/dist/treeDiagram-C798R8hL.js.map +0 -1
|
@@ -1,140 +1,115 @@
|
|
|
1
|
-
|
|
1
|
+
// node_modules/d3-selection/dist/d3-selection.mjs
|
|
2
|
+
var e = "http://www.w3.org/1999/xhtml", t = {
|
|
2
3
|
svg: "http://www.w3.org/2000/svg",
|
|
3
|
-
xhtml:
|
|
4
|
+
xhtml: e,
|
|
4
5
|
xlink: "http://www.w3.org/1999/xlink",
|
|
5
6
|
xml: "http://www.w3.org/XML/1998/namespace",
|
|
6
7
|
xmlns: "http://www.w3.org/2000/xmlns/"
|
|
7
8
|
};
|
|
8
|
-
//#endregion
|
|
9
|
-
//#region node_modules/d3-selection/src/namespace.js
|
|
10
|
-
function t(t) {
|
|
11
|
-
var n = t += "", r = n.indexOf(":");
|
|
12
|
-
return r >= 0 && (n = t.slice(0, r)) !== "xmlns" && (t = t.slice(r + 1)), e.hasOwnProperty(n) ? {
|
|
13
|
-
space: e[n],
|
|
14
|
-
local: t
|
|
15
|
-
} : t;
|
|
16
|
-
}
|
|
17
|
-
//#endregion
|
|
18
|
-
//#region node_modules/d3-selection/src/creator.js
|
|
19
9
|
function n(e) {
|
|
10
|
+
var n = e += "", r = n.indexOf(":");
|
|
11
|
+
return r >= 0 && (n = e.slice(0, r)) !== "xmlns" && (e = e.slice(r + 1)), t.hasOwnProperty(n) ? {
|
|
12
|
+
space: t[n],
|
|
13
|
+
local: e
|
|
14
|
+
} : e;
|
|
15
|
+
}
|
|
16
|
+
function r(t) {
|
|
20
17
|
return function() {
|
|
21
|
-
var
|
|
22
|
-
return
|
|
18
|
+
var n = this.ownerDocument, r = this.namespaceURI;
|
|
19
|
+
return r === e && n.documentElement.namespaceURI === e ? n.createElement(t) : n.createElementNS(r, t);
|
|
23
20
|
};
|
|
24
21
|
}
|
|
25
|
-
function
|
|
22
|
+
function i(e) {
|
|
26
23
|
return function() {
|
|
27
24
|
return this.ownerDocument.createElementNS(e.space, e.local);
|
|
28
25
|
};
|
|
29
26
|
}
|
|
30
|
-
function
|
|
31
|
-
var
|
|
32
|
-
return (
|
|
33
|
-
}
|
|
34
|
-
//#endregion
|
|
35
|
-
//#region node_modules/d3-selection/src/selector.js
|
|
36
|
-
function a() {}
|
|
37
|
-
function o(e) {
|
|
38
|
-
return e == null ? a : function() {
|
|
39
|
-
return this.querySelector(e);
|
|
40
|
-
};
|
|
27
|
+
function a(e) {
|
|
28
|
+
var t = n(e);
|
|
29
|
+
return (t.local ? i : r)(t);
|
|
41
30
|
}
|
|
42
|
-
|
|
43
|
-
//#region node_modules/d3-selection/src/selection/select.js
|
|
31
|
+
function o() {}
|
|
44
32
|
function s(e) {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
33
|
+
return e == null ? o : function() {
|
|
34
|
+
return this.querySelector(e);
|
|
35
|
+
};
|
|
48
36
|
}
|
|
49
|
-
//#endregion
|
|
50
|
-
//#region node_modules/d3-selection/src/array.js
|
|
51
37
|
function c(e) {
|
|
38
|
+
typeof e != "function" && (e = s(e));
|
|
39
|
+
for (var t = this._groups, n = t.length, r = Array(n), i = 0; i < n; ++i) for (var a = t[i], o = a.length, c = r[i] = Array(o), l, u, d = 0; d < o; ++d) (l = a[d]) && (u = e.call(l, l.__data__, d, a)) && ("__data__" in l && (u.__data__ = l.__data__), c[d] = u);
|
|
40
|
+
return new Z(r, this._parents);
|
|
41
|
+
}
|
|
42
|
+
function l(e) {
|
|
52
43
|
return e == null ? [] : Array.isArray(e) ? e : Array.from(e);
|
|
53
44
|
}
|
|
54
|
-
|
|
55
|
-
//#region node_modules/d3-selection/src/selectorAll.js
|
|
56
|
-
function l() {
|
|
45
|
+
function u() {
|
|
57
46
|
return [];
|
|
58
47
|
}
|
|
59
|
-
function
|
|
60
|
-
return e == null ?
|
|
48
|
+
function d(e) {
|
|
49
|
+
return e == null ? u : function() {
|
|
61
50
|
return this.querySelectorAll(e);
|
|
62
51
|
};
|
|
63
52
|
}
|
|
64
|
-
|
|
65
|
-
//#region node_modules/d3-selection/src/selection/selectAll.js
|
|
66
|
-
function d(e) {
|
|
53
|
+
function f(e) {
|
|
67
54
|
return function() {
|
|
68
|
-
return
|
|
55
|
+
return l(e.apply(this, arguments));
|
|
69
56
|
};
|
|
70
57
|
}
|
|
71
|
-
function
|
|
72
|
-
e = typeof e == "function" ?
|
|
58
|
+
function p(e) {
|
|
59
|
+
e = typeof e == "function" ? f(e) : d(e);
|
|
73
60
|
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
|
-
return new
|
|
61
|
+
return new Z(r, i);
|
|
75
62
|
}
|
|
76
|
-
|
|
77
|
-
//#region node_modules/d3-selection/src/matcher.js
|
|
78
|
-
function p(e) {
|
|
63
|
+
function m(e) {
|
|
79
64
|
return function() {
|
|
80
65
|
return this.matches(e);
|
|
81
66
|
};
|
|
82
67
|
}
|
|
83
|
-
function
|
|
68
|
+
function h(e) {
|
|
84
69
|
return function(t) {
|
|
85
70
|
return t.matches(e);
|
|
86
71
|
};
|
|
87
72
|
}
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
var h = Array.prototype.find;
|
|
91
|
-
function g(e) {
|
|
73
|
+
var g = Array.prototype.find;
|
|
74
|
+
function _(e) {
|
|
92
75
|
return function() {
|
|
93
|
-
return
|
|
76
|
+
return g.call(this.children, e);
|
|
94
77
|
};
|
|
95
78
|
}
|
|
96
|
-
function
|
|
79
|
+
function v() {
|
|
97
80
|
return this.firstElementChild;
|
|
98
81
|
}
|
|
99
|
-
function
|
|
100
|
-
return this.select(e == null ?
|
|
82
|
+
function y(e) {
|
|
83
|
+
return this.select(e == null ? v : _(typeof e == "function" ? e : h(e)));
|
|
101
84
|
}
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
var y = Array.prototype.filter;
|
|
105
|
-
function b() {
|
|
85
|
+
var b = Array.prototype.filter;
|
|
86
|
+
function ee() {
|
|
106
87
|
return Array.from(this.children);
|
|
107
88
|
}
|
|
108
|
-
function
|
|
89
|
+
function te(e) {
|
|
109
90
|
return function() {
|
|
110
|
-
return
|
|
91
|
+
return b.call(this.children, e);
|
|
111
92
|
};
|
|
112
93
|
}
|
|
113
|
-
function
|
|
114
|
-
return this.selectAll(e == null ?
|
|
94
|
+
function ne(e) {
|
|
95
|
+
return this.selectAll(e == null ? ee : te(typeof e == "function" ? e : h(e)));
|
|
115
96
|
}
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
function x(e) {
|
|
119
|
-
typeof e != "function" && (e = p(e));
|
|
97
|
+
function re(e) {
|
|
98
|
+
typeof e != "function" && (e = m(e));
|
|
120
99
|
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
|
-
return new
|
|
100
|
+
return new Z(r, this._parents);
|
|
122
101
|
}
|
|
123
|
-
|
|
124
|
-
//#region node_modules/d3-selection/src/selection/sparse.js
|
|
125
|
-
function S(e) {
|
|
102
|
+
function x(e) {
|
|
126
103
|
return Array(e.length);
|
|
127
104
|
}
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
function ne() {
|
|
131
|
-
return new Q(this._enter || this._groups.map(S), this._parents);
|
|
105
|
+
function ie() {
|
|
106
|
+
return new Z(this._enter || this._groups.map(x), this._parents);
|
|
132
107
|
}
|
|
133
|
-
function
|
|
108
|
+
function S(e, t) {
|
|
134
109
|
this.ownerDocument = e.ownerDocument, this.namespaceURI = e.namespaceURI, this._next = null, this._parent = e, this.__data__ = t;
|
|
135
110
|
}
|
|
136
|
-
|
|
137
|
-
constructor:
|
|
111
|
+
S.prototype = {
|
|
112
|
+
constructor: S,
|
|
138
113
|
appendChild: function(e) {
|
|
139
114
|
return this._parent.insertBefore(e, this._next);
|
|
140
115
|
},
|
|
@@ -148,71 +123,57 @@ C.prototype = {
|
|
|
148
123
|
return this._parent.querySelectorAll(e);
|
|
149
124
|
}
|
|
150
125
|
};
|
|
151
|
-
|
|
152
|
-
//#region node_modules/d3-selection/src/constant.js
|
|
153
|
-
function re(e) {
|
|
126
|
+
function C(e) {
|
|
154
127
|
return function() {
|
|
155
128
|
return e;
|
|
156
129
|
};
|
|
157
130
|
}
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
function ie(e, t, n, r, i, a) {
|
|
161
|
-
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]);
|
|
131
|
+
function ae(e, t, n, r, i, a) {
|
|
132
|
+
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 S(e, a[o]);
|
|
162
133
|
for (; o < c; ++o) (s = t[o]) && (i[o] = s);
|
|
163
134
|
}
|
|
164
|
-
function
|
|
135
|
+
function oe(e, t, n, r, i, a, o) {
|
|
165
136
|
var s, c, l = /* @__PURE__ */ new Map(), u = t.length, d = a.length, f = Array(u), p;
|
|
166
137
|
for (s = 0; s < u; ++s) (c = t[s]) && (f[s] = p = o.call(c, c.__data__, s, t) + "", l.has(p) ? i[s] = c : l.set(p, c));
|
|
167
|
-
for (s = 0; s < d; ++s) p = o.call(e, a[s], s, a) + "", (c = l.get(p)) ? (r[s] = c, c.__data__ = a[s], l.delete(p)) : n[s] = new
|
|
138
|
+
for (s = 0; s < d; ++s) p = o.call(e, a[s], s, a) + "", (c = l.get(p)) ? (r[s] = c, c.__data__ = a[s], l.delete(p)) : n[s] = new S(e, a[s]);
|
|
168
139
|
for (s = 0; s < u; ++s) (c = t[s]) && l.get(f[s]) === c && (i[s] = c);
|
|
169
140
|
}
|
|
170
|
-
function
|
|
141
|
+
function se(e) {
|
|
171
142
|
return e.__data__;
|
|
172
143
|
}
|
|
173
|
-
function
|
|
174
|
-
if (!arguments.length) return Array.from(this,
|
|
175
|
-
var n = t ?
|
|
176
|
-
typeof e != "function" && (e =
|
|
144
|
+
function ce(e, t) {
|
|
145
|
+
if (!arguments.length) return Array.from(this, se);
|
|
146
|
+
var n = t ? oe : ae, r = this._parents, i = this._groups;
|
|
147
|
+
typeof e != "function" && (e = C(e));
|
|
177
148
|
for (var a = i.length, o = Array(a), s = Array(a), c = Array(a), l = 0; l < a; ++l) {
|
|
178
|
-
var u = r[l], d = i[l], f = d.length, p =
|
|
149
|
+
var u = r[l], d = i[l], f = d.length, p = le(e.call(u, u && u.__data__, l, r)), m = p.length, h = s[l] = Array(m), g = o[l] = Array(m);
|
|
179
150
|
n(u, d, h, g, c[l] = Array(f), p, t);
|
|
180
151
|
for (var _ = 0, v = 0, y, b; _ < m; ++_) if (y = h[_]) {
|
|
181
152
|
for (_ >= v && (v = _ + 1); !(b = g[v]) && ++v < m;);
|
|
182
153
|
y._next = b || null;
|
|
183
154
|
}
|
|
184
155
|
}
|
|
185
|
-
return o = new
|
|
156
|
+
return o = new Z(o, r), o._enter = s, o._exit = c, o;
|
|
186
157
|
}
|
|
187
|
-
function
|
|
158
|
+
function le(e) {
|
|
188
159
|
return typeof e == "object" && "length" in e ? e : Array.from(e);
|
|
189
160
|
}
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
function le() {
|
|
193
|
-
return new Q(this._exit || this._groups.map(S), this._parents);
|
|
161
|
+
function ue() {
|
|
162
|
+
return new Z(this._exit || this._groups.map(x), this._parents);
|
|
194
163
|
}
|
|
195
|
-
|
|
196
|
-
//#region node_modules/d3-selection/src/selection/join.js
|
|
197
|
-
function ue(e, t, n) {
|
|
164
|
+
function de(e, t, n) {
|
|
198
165
|
var r = this.enter(), i = this, a = this.exit();
|
|
199
166
|
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
167
|
}
|
|
201
|
-
|
|
202
|
-
//#region node_modules/d3-selection/src/selection/merge.js
|
|
203
|
-
function de(e) {
|
|
168
|
+
function fe(e) {
|
|
204
169
|
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
170
|
for (; c < i; ++c) s[c] = n[c];
|
|
206
|
-
return new
|
|
171
|
+
return new Z(s, this._parents);
|
|
207
172
|
}
|
|
208
|
-
//#endregion
|
|
209
|
-
//#region node_modules/d3-selection/src/selection/order.js
|
|
210
173
|
function w() {
|
|
211
174
|
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
175
|
return this;
|
|
213
176
|
}
|
|
214
|
-
//#endregion
|
|
215
|
-
//#region node_modules/d3-selection/src/selection/sort.js
|
|
216
177
|
function T(e) {
|
|
217
178
|
e ||= E;
|
|
218
179
|
function t(t, n) {
|
|
@@ -222,24 +183,18 @@ function T(e) {
|
|
|
222
183
|
for (var o = n[a], s = o.length, c = i[a] = Array(s), l, u = 0; u < s; ++u) (l = o[u]) && (c[u] = l);
|
|
223
184
|
c.sort(t);
|
|
224
185
|
}
|
|
225
|
-
return new
|
|
186
|
+
return new Z(i, this._parents).order();
|
|
226
187
|
}
|
|
227
188
|
function E(e, t) {
|
|
228
189
|
return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;
|
|
229
190
|
}
|
|
230
|
-
//#endregion
|
|
231
|
-
//#region node_modules/d3-selection/src/selection/call.js
|
|
232
191
|
function D() {
|
|
233
192
|
var e = arguments[0];
|
|
234
193
|
return arguments[0] = this, e.apply(null, arguments), this;
|
|
235
194
|
}
|
|
236
|
-
//#endregion
|
|
237
|
-
//#region node_modules/d3-selection/src/selection/nodes.js
|
|
238
195
|
function O() {
|
|
239
196
|
return Array.from(this);
|
|
240
197
|
}
|
|
241
|
-
//#endregion
|
|
242
|
-
//#region node_modules/d3-selection/src/selection/node.js
|
|
243
198
|
function k() {
|
|
244
199
|
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
200
|
var o = r[i];
|
|
@@ -247,26 +202,18 @@ function k() {
|
|
|
247
202
|
}
|
|
248
203
|
return null;
|
|
249
204
|
}
|
|
250
|
-
//#endregion
|
|
251
|
-
//#region node_modules/d3-selection/src/selection/size.js
|
|
252
205
|
function A() {
|
|
253
206
|
let e = 0;
|
|
254
207
|
for (let t of this) ++e;
|
|
255
208
|
return e;
|
|
256
209
|
}
|
|
257
|
-
//#endregion
|
|
258
|
-
//#region node_modules/d3-selection/src/selection/empty.js
|
|
259
210
|
function j() {
|
|
260
211
|
return !this.node();
|
|
261
212
|
}
|
|
262
|
-
//#endregion
|
|
263
|
-
//#region node_modules/d3-selection/src/selection/each.js
|
|
264
213
|
function M(e) {
|
|
265
214
|
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
215
|
return this;
|
|
267
216
|
}
|
|
268
|
-
//#endregion
|
|
269
|
-
//#region node_modules/d3-selection/src/selection/attr.js
|
|
270
217
|
function N(e) {
|
|
271
218
|
return function() {
|
|
272
219
|
this.removeAttribute(e);
|
|
@@ -299,76 +246,68 @@ function R(e, t) {
|
|
|
299
246
|
n == null ? this.removeAttributeNS(e.space, e.local) : this.setAttributeNS(e.space, e.local, n);
|
|
300
247
|
};
|
|
301
248
|
}
|
|
302
|
-
function z(e,
|
|
303
|
-
var r =
|
|
249
|
+
function z(e, t) {
|
|
250
|
+
var r = n(e);
|
|
304
251
|
if (arguments.length < 2) {
|
|
305
252
|
var i = this.node();
|
|
306
253
|
return r.local ? i.getAttributeNS(r.space, r.local) : i.getAttribute(r);
|
|
307
254
|
}
|
|
308
|
-
return this.each((
|
|
255
|
+
return this.each((t == null ? r.local ? P : N : typeof t == "function" ? r.local ? R : L : r.local ? I : F)(r, t));
|
|
309
256
|
}
|
|
310
|
-
//#endregion
|
|
311
|
-
//#region node_modules/d3-selection/src/window.js
|
|
312
257
|
function B(e) {
|
|
313
258
|
return e.ownerDocument && e.ownerDocument.defaultView || e.document && e || e.defaultView;
|
|
314
259
|
}
|
|
315
|
-
//#endregion
|
|
316
|
-
//#region node_modules/d3-selection/src/selection/style.js
|
|
317
260
|
function V(e) {
|
|
318
261
|
return function() {
|
|
319
262
|
this.style.removeProperty(e);
|
|
320
263
|
};
|
|
321
264
|
}
|
|
322
|
-
function
|
|
265
|
+
function pe(e, t, n) {
|
|
323
266
|
return function() {
|
|
324
267
|
this.style.setProperty(e, t, n);
|
|
325
268
|
};
|
|
326
269
|
}
|
|
327
|
-
function
|
|
270
|
+
function me(e, t, n) {
|
|
328
271
|
return function() {
|
|
329
272
|
var r = t.apply(this, arguments);
|
|
330
273
|
r == null ? this.style.removeProperty(e) : this.style.setProperty(e, r, n);
|
|
331
274
|
};
|
|
332
275
|
}
|
|
333
|
-
function
|
|
334
|
-
return arguments.length > 1 ? this.each((t == null ? V : typeof t == "function" ?
|
|
276
|
+
function he(e, t, n) {
|
|
277
|
+
return arguments.length > 1 ? this.each((t == null ? V : typeof t == "function" ? me : pe)(e, t, n ?? "")) : H(this.node(), e);
|
|
335
278
|
}
|
|
336
|
-
function
|
|
279
|
+
function H(e, t) {
|
|
337
280
|
return e.style.getPropertyValue(t) || B(e).getComputedStyle(e, null).getPropertyValue(t);
|
|
338
281
|
}
|
|
339
|
-
|
|
340
|
-
//#region node_modules/d3-selection/src/selection/property.js
|
|
341
|
-
function me(e) {
|
|
282
|
+
function ge(e) {
|
|
342
283
|
return function() {
|
|
343
284
|
delete this[e];
|
|
344
285
|
};
|
|
345
286
|
}
|
|
346
|
-
function
|
|
287
|
+
function _e(e, t) {
|
|
347
288
|
return function() {
|
|
348
289
|
this[e] = t;
|
|
349
290
|
};
|
|
350
291
|
}
|
|
351
|
-
function
|
|
292
|
+
function ve(e, t) {
|
|
352
293
|
return function() {
|
|
353
294
|
var n = t.apply(this, arguments);
|
|
354
295
|
n == null ? delete this[e] : this[e] = n;
|
|
355
296
|
};
|
|
356
297
|
}
|
|
357
|
-
function
|
|
358
|
-
return arguments.length > 1 ? this.each((t == null ?
|
|
298
|
+
function ye(e, t) {
|
|
299
|
+
return arguments.length > 1 ? this.each((t == null ? ge : typeof t == "function" ? ve : _e)(e, t)) : this.node()[e];
|
|
359
300
|
}
|
|
360
|
-
|
|
361
|
-
//#region node_modules/d3-selection/src/selection/classed.js
|
|
362
|
-
function W(e) {
|
|
301
|
+
function U(e) {
|
|
363
302
|
return e.trim().split(/^|\s+/);
|
|
364
303
|
}
|
|
365
|
-
function
|
|
366
|
-
return e.classList || new
|
|
304
|
+
function W(e) {
|
|
305
|
+
return e.classList || new G(e);
|
|
367
306
|
}
|
|
368
|
-
function
|
|
369
|
-
this._node = e, this._names =
|
|
307
|
+
function G(e) {
|
|
308
|
+
this._node = e, this._names = U(e.getAttribute("class") || "");
|
|
370
309
|
}
|
|
371
|
-
|
|
310
|
+
G.prototype = {
|
|
372
311
|
add: function(e) {
|
|
373
312
|
this._names.indexOf(e) < 0 && (this._names.push(e), this._node.setAttribute("class", this._names.join(" ")));
|
|
374
313
|
},
|
|
@@ -380,143 +319,123 @@ K.prototype = {
|
|
|
380
319
|
return this._names.indexOf(e) >= 0;
|
|
381
320
|
}
|
|
382
321
|
};
|
|
383
|
-
function
|
|
384
|
-
for (var n =
|
|
322
|
+
function K(e, t) {
|
|
323
|
+
for (var n = W(e), r = -1, i = t.length; ++r < i;) n.add(t[r]);
|
|
385
324
|
}
|
|
386
|
-
function
|
|
387
|
-
for (var n =
|
|
325
|
+
function q(e, t) {
|
|
326
|
+
for (var n = W(e), r = -1, i = t.length; ++r < i;) n.remove(t[r]);
|
|
388
327
|
}
|
|
389
|
-
function
|
|
328
|
+
function be(e) {
|
|
390
329
|
return function() {
|
|
391
|
-
|
|
330
|
+
K(this, e);
|
|
392
331
|
};
|
|
393
332
|
}
|
|
394
|
-
function
|
|
333
|
+
function xe(e) {
|
|
395
334
|
return function() {
|
|
396
|
-
|
|
335
|
+
q(this, e);
|
|
397
336
|
};
|
|
398
337
|
}
|
|
399
|
-
function
|
|
338
|
+
function Se(e, t) {
|
|
400
339
|
return function() {
|
|
401
|
-
(t.apply(this, arguments) ?
|
|
340
|
+
(t.apply(this, arguments) ? K : q)(this, e);
|
|
402
341
|
};
|
|
403
342
|
}
|
|
404
|
-
function
|
|
405
|
-
var n =
|
|
343
|
+
function Ce(e, t) {
|
|
344
|
+
var n = U(e + "");
|
|
406
345
|
if (arguments.length < 2) {
|
|
407
|
-
for (var r =
|
|
346
|
+
for (var r = W(this.node()), i = -1, a = n.length; ++i < a;) if (!r.contains(n[i])) return !1;
|
|
408
347
|
return !0;
|
|
409
348
|
}
|
|
410
|
-
return this.each((typeof t == "function" ?
|
|
349
|
+
return this.each((typeof t == "function" ? Se : t ? be : xe)(n, t));
|
|
411
350
|
}
|
|
412
|
-
|
|
413
|
-
//#region node_modules/d3-selection/src/selection/text.js
|
|
414
|
-
function Se() {
|
|
351
|
+
function we() {
|
|
415
352
|
this.textContent = "";
|
|
416
353
|
}
|
|
417
|
-
function
|
|
354
|
+
function J(e) {
|
|
418
355
|
return function() {
|
|
419
356
|
this.textContent = e;
|
|
420
357
|
};
|
|
421
358
|
}
|
|
422
|
-
function
|
|
359
|
+
function Te(e) {
|
|
423
360
|
return function() {
|
|
424
361
|
var t = e.apply(this, arguments);
|
|
425
362
|
this.textContent = t ?? "";
|
|
426
363
|
};
|
|
427
364
|
}
|
|
428
|
-
function
|
|
429
|
-
return arguments.length ? this.each(e == null ?
|
|
365
|
+
function Ee(e) {
|
|
366
|
+
return arguments.length ? this.each(e == null ? we : (typeof e == "function" ? Te : J)(e)) : this.node().textContent;
|
|
430
367
|
}
|
|
431
|
-
|
|
432
|
-
//#region node_modules/d3-selection/src/selection/html.js
|
|
433
|
-
function Ee() {
|
|
368
|
+
function De() {
|
|
434
369
|
this.innerHTML = "";
|
|
435
370
|
}
|
|
436
|
-
function
|
|
371
|
+
function Oe(e) {
|
|
437
372
|
return function() {
|
|
438
373
|
this.innerHTML = e;
|
|
439
374
|
};
|
|
440
375
|
}
|
|
441
|
-
function
|
|
376
|
+
function ke(e) {
|
|
442
377
|
return function() {
|
|
443
378
|
var t = e.apply(this, arguments);
|
|
444
379
|
this.innerHTML = t ?? "";
|
|
445
380
|
};
|
|
446
381
|
}
|
|
447
|
-
function
|
|
448
|
-
return arguments.length ? this.each(e == null ?
|
|
449
|
-
}
|
|
450
|
-
//#endregion
|
|
451
|
-
//#region node_modules/d3-selection/src/selection/raise.js
|
|
452
|
-
function Ae() {
|
|
453
|
-
this.nextSibling && this.parentNode.appendChild(this);
|
|
382
|
+
function Ae(e) {
|
|
383
|
+
return arguments.length ? this.each(e == null ? De : (typeof e == "function" ? ke : Oe)(e)) : this.node().innerHTML;
|
|
454
384
|
}
|
|
455
385
|
function je() {
|
|
456
|
-
|
|
386
|
+
this.nextSibling && this.parentNode.appendChild(this);
|
|
457
387
|
}
|
|
458
|
-
//#endregion
|
|
459
|
-
//#region node_modules/d3-selection/src/selection/lower.js
|
|
460
388
|
function Me() {
|
|
461
|
-
|
|
389
|
+
return this.each(je);
|
|
462
390
|
}
|
|
463
391
|
function Ne() {
|
|
464
|
-
|
|
392
|
+
this.previousSibling && this.parentNode.insertBefore(this, this.parentNode.firstChild);
|
|
393
|
+
}
|
|
394
|
+
function Pe() {
|
|
395
|
+
return this.each(Ne);
|
|
465
396
|
}
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
function Pe(e) {
|
|
469
|
-
var t = typeof e == "function" ? e : i(e);
|
|
397
|
+
function Fe(e) {
|
|
398
|
+
var t = typeof e == "function" ? e : a(e);
|
|
470
399
|
return this.select(function() {
|
|
471
400
|
return this.appendChild(t.apply(this, arguments));
|
|
472
401
|
});
|
|
473
402
|
}
|
|
474
|
-
|
|
475
|
-
//#region node_modules/d3-selection/src/selection/insert.js
|
|
476
|
-
function Fe() {
|
|
403
|
+
function Ie() {
|
|
477
404
|
return null;
|
|
478
405
|
}
|
|
479
|
-
function
|
|
480
|
-
var n = typeof e == "function" ? e :
|
|
406
|
+
function Le(e, t) {
|
|
407
|
+
var n = typeof e == "function" ? e : a(e), r = t == null ? Ie : typeof t == "function" ? t : s(t);
|
|
481
408
|
return this.select(function() {
|
|
482
409
|
return this.insertBefore(n.apply(this, arguments), r.apply(this, arguments) || null);
|
|
483
410
|
});
|
|
484
411
|
}
|
|
485
|
-
|
|
486
|
-
//#region node_modules/d3-selection/src/selection/remove.js
|
|
487
|
-
function Le() {
|
|
412
|
+
function Re() {
|
|
488
413
|
var e = this.parentNode;
|
|
489
414
|
e && e.removeChild(this);
|
|
490
415
|
}
|
|
491
|
-
function Re() {
|
|
492
|
-
return this.each(Le);
|
|
493
|
-
}
|
|
494
|
-
//#endregion
|
|
495
|
-
//#region node_modules/d3-selection/src/selection/clone.js
|
|
496
416
|
function ze() {
|
|
417
|
+
return this.each(Re);
|
|
418
|
+
}
|
|
419
|
+
function Be() {
|
|
497
420
|
var e = this.cloneNode(!1), t = this.parentNode;
|
|
498
421
|
return t ? t.insertBefore(e, this.nextSibling) : e;
|
|
499
422
|
}
|
|
500
|
-
function
|
|
423
|
+
function Ve() {
|
|
501
424
|
var e = this.cloneNode(!0), t = this.parentNode;
|
|
502
425
|
return t ? t.insertBefore(e, this.nextSibling) : e;
|
|
503
426
|
}
|
|
504
|
-
function Ve(e) {
|
|
505
|
-
return this.select(e ? Be : ze);
|
|
506
|
-
}
|
|
507
|
-
//#endregion
|
|
508
|
-
//#region node_modules/d3-selection/src/selection/datum.js
|
|
509
427
|
function He(e) {
|
|
510
|
-
return
|
|
428
|
+
return this.select(e ? Ve : Be);
|
|
511
429
|
}
|
|
512
|
-
//#endregion
|
|
513
|
-
//#region node_modules/d3-selection/src/selection/on.js
|
|
514
430
|
function Ue(e) {
|
|
431
|
+
return arguments.length ? this.property("__data__", e) : this.node().__data__;
|
|
432
|
+
}
|
|
433
|
+
function We(e) {
|
|
515
434
|
return function(t) {
|
|
516
435
|
e.call(this, t, this.__data__);
|
|
517
436
|
};
|
|
518
437
|
}
|
|
519
|
-
function
|
|
438
|
+
function Ge(e) {
|
|
520
439
|
return e.trim().split(/^|\s+/).map(function(e) {
|
|
521
440
|
var t = "", n = e.indexOf(".");
|
|
522
441
|
return n >= 0 && (t = e.slice(n + 1), e = e.slice(0, n)), {
|
|
@@ -525,7 +444,7 @@ function We(e) {
|
|
|
525
444
|
};
|
|
526
445
|
});
|
|
527
446
|
}
|
|
528
|
-
function
|
|
447
|
+
function Ke(e) {
|
|
529
448
|
return function() {
|
|
530
449
|
var t = this.__on;
|
|
531
450
|
if (t) {
|
|
@@ -534,9 +453,9 @@ function Ge(e) {
|
|
|
534
453
|
}
|
|
535
454
|
};
|
|
536
455
|
}
|
|
537
|
-
function
|
|
456
|
+
function qe(e, t, n) {
|
|
538
457
|
return function() {
|
|
539
|
-
var r = this.__on, i, a =
|
|
458
|
+
var r = this.__on, i, a = We(t);
|
|
540
459
|
if (r) {
|
|
541
460
|
for (var o = 0, s = r.length; o < s; ++o) if ((i = r[o]).type === e.type && i.name === e.name) {
|
|
542
461
|
this.removeEventListener(i.type, i.listener, i.options), this.addEventListener(i.type, i.listener = a, i.options = n), i.value = t;
|
|
@@ -552,67 +471,61 @@ function Y(e, t, n) {
|
|
|
552
471
|
}, r ? r.push(i) : this.__on = [i];
|
|
553
472
|
};
|
|
554
473
|
}
|
|
555
|
-
function
|
|
556
|
-
var r =
|
|
474
|
+
function Je(e, t, n) {
|
|
475
|
+
var r = Ge(e + ""), i, a = r.length, o;
|
|
557
476
|
if (arguments.length < 2) {
|
|
558
477
|
var s = this.node().__on;
|
|
559
478
|
if (s) {
|
|
560
479
|
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
480
|
}
|
|
562
|
-
|
|
481
|
+
} else {
|
|
482
|
+
for (s = t ? qe : Ke, i = 0; i < a; ++i) this.each(s(r[i], t, n));
|
|
483
|
+
return this;
|
|
563
484
|
}
|
|
564
|
-
for (s = t ? Y : Ge, i = 0; i < a; ++i) this.each(s(r[i], t, n));
|
|
565
|
-
return this;
|
|
566
485
|
}
|
|
567
|
-
|
|
568
|
-
//#region node_modules/d3-selection/src/selection/dispatch.js
|
|
569
|
-
function X(e, t, n) {
|
|
486
|
+
function Y(e, t, n) {
|
|
570
487
|
var r = B(e), i = r.CustomEvent;
|
|
571
488
|
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);
|
|
572
489
|
}
|
|
573
|
-
function
|
|
490
|
+
function Ye(e, t) {
|
|
574
491
|
return function() {
|
|
575
|
-
return
|
|
492
|
+
return Y(this, e, t);
|
|
576
493
|
};
|
|
577
494
|
}
|
|
578
|
-
function
|
|
495
|
+
function Xe(e, t) {
|
|
579
496
|
return function() {
|
|
580
|
-
return
|
|
497
|
+
return Y(this, e, t.apply(this, arguments));
|
|
581
498
|
};
|
|
582
499
|
}
|
|
583
|
-
function
|
|
584
|
-
return this.each((typeof t == "function" ?
|
|
500
|
+
function Ze(e, t) {
|
|
501
|
+
return this.each((typeof t == "function" ? Xe : Ye)(e, t));
|
|
585
502
|
}
|
|
586
|
-
|
|
587
|
-
//#region node_modules/d3-selection/src/selection/iterator.js
|
|
588
|
-
function* Xe() {
|
|
503
|
+
function* Qe() {
|
|
589
504
|
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
505
|
}
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
var Z = [null];
|
|
594
|
-
function Q(e, t) {
|
|
506
|
+
var X = [null];
|
|
507
|
+
function Z(e, t) {
|
|
595
508
|
this._groups = e, this._parents = t;
|
|
596
509
|
}
|
|
597
|
-
function
|
|
598
|
-
return new
|
|
510
|
+
function Q() {
|
|
511
|
+
return new Z([[document.documentElement]], X);
|
|
599
512
|
}
|
|
600
|
-
function
|
|
513
|
+
function $e() {
|
|
601
514
|
return this;
|
|
602
515
|
}
|
|
603
|
-
|
|
604
|
-
constructor:
|
|
605
|
-
select:
|
|
606
|
-
selectAll:
|
|
607
|
-
selectChild:
|
|
608
|
-
selectChildren:
|
|
609
|
-
filter:
|
|
610
|
-
data:
|
|
611
|
-
enter:
|
|
612
|
-
exit:
|
|
613
|
-
join:
|
|
614
|
-
merge:
|
|
615
|
-
selection:
|
|
516
|
+
Z.prototype = Q.prototype = {
|
|
517
|
+
constructor: Z,
|
|
518
|
+
select: c,
|
|
519
|
+
selectAll: p,
|
|
520
|
+
selectChild: y,
|
|
521
|
+
selectChildren: ne,
|
|
522
|
+
filter: re,
|
|
523
|
+
data: ce,
|
|
524
|
+
enter: ie,
|
|
525
|
+
exit: ue,
|
|
526
|
+
join: de,
|
|
527
|
+
merge: fe,
|
|
528
|
+
selection: $e,
|
|
616
529
|
order: w,
|
|
617
530
|
sort: T,
|
|
618
531
|
call: D,
|
|
@@ -622,26 +535,65 @@ Q.prototype = $.prototype = {
|
|
|
622
535
|
empty: j,
|
|
623
536
|
each: M,
|
|
624
537
|
attr: z,
|
|
625
|
-
style:
|
|
626
|
-
property:
|
|
627
|
-
classed:
|
|
628
|
-
text:
|
|
629
|
-
html:
|
|
630
|
-
raise:
|
|
631
|
-
lower:
|
|
632
|
-
append:
|
|
633
|
-
insert:
|
|
634
|
-
remove:
|
|
635
|
-
clone:
|
|
636
|
-
datum:
|
|
637
|
-
on:
|
|
638
|
-
dispatch:
|
|
639
|
-
[Symbol.iterator]:
|
|
538
|
+
style: he,
|
|
539
|
+
property: ye,
|
|
540
|
+
classed: Ce,
|
|
541
|
+
text: Ee,
|
|
542
|
+
html: Ae,
|
|
543
|
+
raise: Me,
|
|
544
|
+
lower: Pe,
|
|
545
|
+
append: Fe,
|
|
546
|
+
insert: Le,
|
|
547
|
+
remove: ze,
|
|
548
|
+
clone: He,
|
|
549
|
+
datum: Ue,
|
|
550
|
+
on: Je,
|
|
551
|
+
dispatch: Ze,
|
|
552
|
+
[Symbol.iterator]: Qe
|
|
553
|
+
};
|
|
554
|
+
function et(e) {
|
|
555
|
+
return typeof e == "string" ? new Z([[document.querySelector(e)]], [document.documentElement]) : new Z([[e]], X);
|
|
556
|
+
}
|
|
557
|
+
var tt = 0;
|
|
558
|
+
function nt() {
|
|
559
|
+
return new $();
|
|
560
|
+
}
|
|
561
|
+
function $() {
|
|
562
|
+
this._ = "@" + (++tt).toString(36);
|
|
563
|
+
}
|
|
564
|
+
$.prototype = nt.prototype = {
|
|
565
|
+
constructor: $,
|
|
566
|
+
get: function(e) {
|
|
567
|
+
for (var t = this._; !(t in e);) if (!(e = e.parentNode)) return;
|
|
568
|
+
return e[t];
|
|
569
|
+
},
|
|
570
|
+
set: function(e, t) {
|
|
571
|
+
return e[this._] = t;
|
|
572
|
+
},
|
|
573
|
+
remove: function(e) {
|
|
574
|
+
return this._ in e && delete e[this._];
|
|
575
|
+
},
|
|
576
|
+
toString: function() {
|
|
577
|
+
return this._;
|
|
578
|
+
}
|
|
640
579
|
};
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
return
|
|
580
|
+
function rt(e) {
|
|
581
|
+
let t;
|
|
582
|
+
for (; t = e.sourceEvent;) e = t;
|
|
583
|
+
return e;
|
|
584
|
+
}
|
|
585
|
+
function it(e, t) {
|
|
586
|
+
if (e = rt(e), t === void 0 && (t = e.currentTarget), t) {
|
|
587
|
+
var n = t.ownerSVGElement || t;
|
|
588
|
+
if (n.createSVGPoint) {
|
|
589
|
+
var r = n.createSVGPoint();
|
|
590
|
+
return r.x = e.clientX, r.y = e.clientY, r = r.matrixTransform(t.getScreenCTM().inverse()), [r.x, r.y];
|
|
591
|
+
}
|
|
592
|
+
if (t.getBoundingClientRect) {
|
|
593
|
+
var i = t.getBoundingClientRect();
|
|
594
|
+
return [e.clientX - i.left - t.clientLeft, e.clientY - i.top - t.clientTop];
|
|
595
|
+
}
|
|
596
|
+
}
|
|
597
|
+
return [e.pageX, e.pageY];
|
|
645
598
|
}
|
|
646
|
-
|
|
647
|
-
export { u as a, p as i, $ as n, o, U as r, t as s, Qe as t };
|
|
599
|
+
export { Q as a, H as c, et as i, n, s as o, it as r, d as s, m as t };
|