@dpuse/dpuse-tool-d3-visualiser 1.0.106 → 1.0.107
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 +85 -201
- package/dist/chordDiagram-BG0jW2g9.js +3663 -0
- package/dist/chordDiagram-BG0jW2g9.js.map +1 -0
- package/dist/dpuse-tool-d3-visualiser.es.js +6 -35
- package/dist/dpuse-tool-d3-visualiser.es.js.map +1 -1
- package/dist/{erdDiagram-CtPeCq0f.js → erdDiagram-CHPY-zaP.js} +1 -1
- package/dist/{erdDiagram-CtPeCq0f.js.map → erdDiagram-CHPY-zaP.js.map} +1 -1
- package/dist/{linear-q6e-7JBm.js → linear-DytAYqu2.js} +152 -106
- package/dist/linear-DytAYqu2.js.map +1 -0
- package/dist/{link-DRDgTeij.js → link-BfoIl3p5.js} +1 -1
- package/dist/{link-DRDgTeij.js.map → link-BfoIl3p5.js.map} +1 -1
- package/dist/networkDiagram-XI0c9kJR.js +1029 -0
- package/dist/networkDiagram-XI0c9kJR.js.map +1 -0
- package/dist/{palette-BuTjISrV.js → palette-Ca7C6aNE.js} +17 -6
- package/dist/palette-Ca7C6aNE.js.map +1 -0
- package/dist/{path-BoJ8LMXE.js → point-DSPrfIZi.js} +23 -3
- package/dist/point-DSPrfIZi.js.map +1 -0
- package/dist/{sankeyDiagram-DOF6arSJ.js → sankeyDiagram-w2TGSqb7.js} +72 -52
- package/dist/sankeyDiagram-w2TGSqb7.js.map +1 -0
- package/dist/{select-BIuoFcZG.js → select-Bs4oiNEZ.js} +1 -1
- package/dist/{select-BIuoFcZG.js.map → select-Bs4oiNEZ.js.map} +1 -1
- package/dist/shipped-packages.json +1 -11
- package/dist/{src-kLpf-6r0.js → src-Bo8my4B8.js} +185 -188
- package/dist/{src-kLpf-6r0.js.map → src-Bo8my4B8.js.map} +1 -1
- package/dist/{string-BOhFwaZD.js → string-iJh48M7Y.js} +22 -48
- package/dist/string-iJh48M7Y.js.map +1 -0
- package/dist/{tanStackCharts-DuJwwUCO.js → tanStackCharts-LPqRQGD9.js} +1228 -1176
- package/dist/tanStackCharts-LPqRQGD9.js.map +1 -0
- package/dist/{treeDiagram-FUVkkblR.js → treeDiagram-C798R8hL.js} +2 -2
- package/dist/{treeDiagram-FUVkkblR.js.map → treeDiagram-C798R8hL.js.map} +1 -1
- package/dist/types/src/index.d.ts +2 -12
- package/dist/types/src/tanStackCharts.d.ts +8 -2
- package/package.json +7 -11
- package/dist/axis-EpX3kBPs.js +0 -67
- package/dist/axis-EpX3kBPs.js.map +0 -1
- package/dist/band-p1VbTxZM.js +0 -56
- package/dist/band-p1VbTxZM.js.map +0 -1
- package/dist/billboardJs-CIT1-a2_.js +0 -6996
- package/dist/billboardJs-CIT1-a2_.js.map +0 -1
- package/dist/chordDiagram-B1_nfC1m.js +0 -2925
- package/dist/chordDiagram-B1_nfC1m.js.map +0 -1
- package/dist/d3BarChart-BC05DvRv.js +0 -48
- package/dist/d3BarChart-BC05DvRv.js.map +0 -1
- package/dist/dpuse-tool-d3-visualiser.css +0 -11
- package/dist/drag-Ieen6R0z.js +0 -168
- package/dist/drag-Ieen6R0z.js.map +0 -1
- package/dist/linear-q6e-7JBm.js.map +0 -1
- package/dist/math-C5EhTgJw.js +0 -10
- package/dist/math-C5EhTgJw.js.map +0 -1
- package/dist/max-CPVNm4tn.js +0 -12
- package/dist/max-CPVNm4tn.js.map +0 -1
- package/dist/networkDiagram-DZwLfY_R.js +0 -493
- package/dist/networkDiagram-DZwLfY_R.js.map +0 -1
- package/dist/nodrag-Dq2tlBbe.js +0 -49
- package/dist/nodrag-Dq2tlBbe.js.map +0 -1
- package/dist/observablePlot-Bk7j7AUD.js +0 -6919
- package/dist/observablePlot-Bk7j7AUD.js.map +0 -1
- package/dist/ordinal-BtWaYSDN.js +0 -81
- package/dist/ordinal-BtWaYSDN.js.map +0 -1
- package/dist/palette-BuTjISrV.js.map +0 -1
- package/dist/path-BoJ8LMXE.js.map +0 -1
- package/dist/point-GXxVI808.js +0 -25
- package/dist/point-GXxVI808.js.map +0 -1
- package/dist/pow-Bp6eSqVs.js +0 -76
- package/dist/pow-Bp6eSqVs.js.map +0 -1
- package/dist/sankeyDiagram-DOF6arSJ.js.map +0 -1
- package/dist/src-Clugeype.js +0 -331
- package/dist/src-Clugeype.js.map +0 -1
- package/dist/step-C2rRFtYO.js +0 -670
- package/dist/step-C2rRFtYO.js.map +0 -1
- package/dist/string-BOhFwaZD.js.map +0 -1
- package/dist/sum-CNP0Xric.js +0 -23
- package/dist/sum-CNP0Xric.js.map +0 -1
- package/dist/tanStackCharts-DuJwwUCO.js.map +0 -1
- package/dist/types/src/billboardJs.d.ts +0 -15
- package/dist/types/src/d3BarChart.d.ts +0 -7
- package/dist/types/src/observablePlot.d.ts +0 -8
- package/dist/utcTime-DLfrQXna.js +0 -957
- package/dist/utcTime-DLfrQXna.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as e,
|
|
2
|
-
import {
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i, s as a } from "./select-Bs4oiNEZ.js";
|
|
2
|
+
import { a as o, n as s, r as c, t as l } from "./string-iJh48M7Y.js";
|
|
3
3
|
//#region node_modules/d3-dispatch/src/dispatch.js
|
|
4
4
|
var u = { value: () => {} };
|
|
5
5
|
function d() {
|
|
@@ -147,74 +147,74 @@ function F(e, t, n, r, i, a) {
|
|
|
147
147
|
//#endregion
|
|
148
148
|
//#region node_modules/d3-interpolate/src/transform/parse.js
|
|
149
149
|
var I;
|
|
150
|
-
function
|
|
150
|
+
function L(e) {
|
|
151
151
|
let t = new (typeof DOMMatrix == "function" ? DOMMatrix : WebKitCSSMatrix)(e + "");
|
|
152
152
|
return t.isIdentity ? P : F(t.a, t.b, t.c, t.d, t.e, t.f);
|
|
153
153
|
}
|
|
154
|
-
function
|
|
154
|
+
function R(e) {
|
|
155
155
|
return e == null || (I ||= document.createElementNS("http://www.w3.org/2000/svg", "g"), I.setAttribute("transform", e), !(e = I.transform.baseVal.consolidate())) ? P : (e = e.matrix, F(e.a, e.b, e.c, e.d, e.e, e.f));
|
|
156
156
|
}
|
|
157
157
|
//#endregion
|
|
158
158
|
//#region node_modules/d3-interpolate/src/transform/index.js
|
|
159
|
-
function
|
|
159
|
+
function z(e, t, n, r) {
|
|
160
160
|
function i(e) {
|
|
161
161
|
return e.length ? e.pop() + " " : "";
|
|
162
162
|
}
|
|
163
|
-
function a(e, r, i, a, o,
|
|
163
|
+
function a(e, r, i, a, o, c) {
|
|
164
164
|
if (e !== i || r !== a) {
|
|
165
165
|
var l = o.push("translate(", null, t, null, n);
|
|
166
|
-
|
|
166
|
+
c.push({
|
|
167
167
|
i: l - 4,
|
|
168
|
-
x:
|
|
168
|
+
x: s(e, i)
|
|
169
169
|
}, {
|
|
170
170
|
i: l - 2,
|
|
171
|
-
x:
|
|
171
|
+
x: s(r, a)
|
|
172
172
|
});
|
|
173
173
|
} else (i || a) && o.push("translate(" + i + t + a + n);
|
|
174
174
|
}
|
|
175
175
|
function o(e, t, n, a) {
|
|
176
176
|
e === t ? t && n.push(i(n) + "rotate(" + t + r) : (e - t > 180 ? t += 360 : t - e > 180 && (e += 360), a.push({
|
|
177
177
|
i: n.push(i(n) + "rotate(", null, r) - 2,
|
|
178
|
-
x:
|
|
178
|
+
x: s(e, t)
|
|
179
179
|
}));
|
|
180
180
|
}
|
|
181
|
-
function
|
|
181
|
+
function c(e, t, n, a) {
|
|
182
182
|
e === t ? t && n.push(i(n) + "skewX(" + t + r) : a.push({
|
|
183
183
|
i: n.push(i(n) + "skewX(", null, r) - 2,
|
|
184
|
-
x:
|
|
184
|
+
x: s(e, t)
|
|
185
185
|
});
|
|
186
186
|
}
|
|
187
187
|
function l(e, t, n, r, a, o) {
|
|
188
188
|
if (e !== n || t !== r) {
|
|
189
|
-
var
|
|
189
|
+
var c = a.push(i(a) + "scale(", null, ",", null, ")");
|
|
190
190
|
o.push({
|
|
191
|
-
i:
|
|
192
|
-
x:
|
|
191
|
+
i: c - 4,
|
|
192
|
+
x: s(e, n)
|
|
193
193
|
}, {
|
|
194
|
-
i:
|
|
195
|
-
x:
|
|
194
|
+
i: c - 2,
|
|
195
|
+
x: s(t, r)
|
|
196
196
|
});
|
|
197
197
|
} else (n !== 1 || r !== 1) && a.push(i(a) + "scale(" + n + "," + r + ")");
|
|
198
198
|
}
|
|
199
199
|
return function(t, n) {
|
|
200
200
|
var r = [], i = [];
|
|
201
|
-
return t = e(t), n = e(n), a(t.translateX, t.translateY, n.translateX, n.translateY, r, i), o(t.rotate, n.rotate, r, i),
|
|
201
|
+
return t = e(t), n = e(n), a(t.translateX, t.translateY, n.translateX, n.translateY, r, i), o(t.rotate, n.rotate, r, i), c(t.skewX, n.skewX, r, i), l(t.scaleX, t.scaleY, n.scaleX, n.scaleY, r, i), t = n = null, function(e) {
|
|
202
202
|
for (var t = -1, n = i.length, a; ++t < n;) r[(a = i[t]).i] = a.x(e);
|
|
203
203
|
return r.join("");
|
|
204
204
|
};
|
|
205
205
|
};
|
|
206
206
|
}
|
|
207
|
-
var
|
|
208
|
-
function
|
|
207
|
+
var ie = z(L, "px, ", "px)", "deg)"), ae = z(R, ", ", ")", ")"), oe = d("start", "end", "cancel", "interrupt"), se = [];
|
|
208
|
+
function B(e, t, n, r, i, a) {
|
|
209
209
|
var o = e.__transition;
|
|
210
210
|
if (!o) e.__transition = {};
|
|
211
211
|
else if (n in o) return;
|
|
212
|
-
|
|
212
|
+
W(e, n, {
|
|
213
213
|
name: t,
|
|
214
214
|
index: r,
|
|
215
215
|
group: i,
|
|
216
|
-
on:
|
|
217
|
-
tween:
|
|
216
|
+
on: oe,
|
|
217
|
+
tween: se,
|
|
218
218
|
time: a.time,
|
|
219
219
|
delay: a.delay,
|
|
220
220
|
duration: a.duration,
|
|
@@ -223,22 +223,22 @@ function z(e, t, n, r, i, a) {
|
|
|
223
223
|
state: 0
|
|
224
224
|
});
|
|
225
225
|
}
|
|
226
|
-
function
|
|
227
|
-
var n =
|
|
226
|
+
function V(e, t) {
|
|
227
|
+
var n = U(e, t);
|
|
228
228
|
if (n.state > 0) throw Error("too late; already scheduled");
|
|
229
229
|
return n;
|
|
230
230
|
}
|
|
231
|
-
function
|
|
232
|
-
var n =
|
|
231
|
+
function H(e, t) {
|
|
232
|
+
var n = U(e, t);
|
|
233
233
|
if (n.state > 3) throw Error("too late; already running");
|
|
234
234
|
return n;
|
|
235
235
|
}
|
|
236
|
-
function
|
|
236
|
+
function U(e, t) {
|
|
237
237
|
var n = e.__transition;
|
|
238
238
|
if (!n || !(n = n[t])) throw Error("transition not found");
|
|
239
239
|
return n;
|
|
240
240
|
}
|
|
241
|
-
function
|
|
241
|
+
function W(e, t, n) {
|
|
242
242
|
var r = e.__transition, i;
|
|
243
243
|
r[t] = n, n.timer = k(a, 0, n.time);
|
|
244
244
|
function a(e) {
|
|
@@ -269,7 +269,7 @@ function U(e, t, n) {
|
|
|
269
269
|
}
|
|
270
270
|
//#endregion
|
|
271
271
|
//#region node_modules/d3-transition/src/interrupt.js
|
|
272
|
-
function
|
|
272
|
+
function G(e, t) {
|
|
273
273
|
var n = e.__transition, r, i, a = !0, o;
|
|
274
274
|
if (n) {
|
|
275
275
|
for (o in t = t == null ? null : t + "", n) {
|
|
@@ -284,17 +284,17 @@ function W(e, t) {
|
|
|
284
284
|
}
|
|
285
285
|
//#endregion
|
|
286
286
|
//#region node_modules/d3-transition/src/selection/interrupt.js
|
|
287
|
-
function
|
|
287
|
+
function K(e) {
|
|
288
288
|
return this.each(function() {
|
|
289
|
-
|
|
289
|
+
G(this, e);
|
|
290
290
|
});
|
|
291
291
|
}
|
|
292
292
|
//#endregion
|
|
293
293
|
//#region node_modules/d3-transition/src/transition/tween.js
|
|
294
|
-
function
|
|
294
|
+
function ce(e, t) {
|
|
295
295
|
var n, r;
|
|
296
296
|
return function() {
|
|
297
|
-
var i =
|
|
297
|
+
var i = H(this, e), a = i.tween;
|
|
298
298
|
if (a !== n) {
|
|
299
299
|
r = n = a;
|
|
300
300
|
for (var o = 0, s = r.length; o < s; ++o) if (r[o].name === t) {
|
|
@@ -305,11 +305,11 @@ function le(e, t) {
|
|
|
305
305
|
i.tween = r;
|
|
306
306
|
};
|
|
307
307
|
}
|
|
308
|
-
function
|
|
308
|
+
function le(e, t, n) {
|
|
309
309
|
var r, i;
|
|
310
310
|
if (typeof n != "function") throw Error();
|
|
311
311
|
return function() {
|
|
312
|
-
var a =
|
|
312
|
+
var a = H(this, e), o = a.tween;
|
|
313
313
|
if (o !== r) {
|
|
314
314
|
i = (r = o).slice();
|
|
315
315
|
for (var s = {
|
|
@@ -324,432 +324,429 @@ function ue(e, t, n) {
|
|
|
324
324
|
a.tween = i;
|
|
325
325
|
};
|
|
326
326
|
}
|
|
327
|
-
function
|
|
327
|
+
function ue(e, t) {
|
|
328
328
|
var n = this._id;
|
|
329
329
|
if (e += "", arguments.length < 2) {
|
|
330
|
-
for (var r =
|
|
330
|
+
for (var r = U(this.node(), n).tween, i = 0, a = r.length, o; i < a; ++i) if ((o = r[i]).name === e) return o.value;
|
|
331
331
|
return null;
|
|
332
332
|
}
|
|
333
|
-
return this.each((t == null ?
|
|
333
|
+
return this.each((t == null ? ce : le)(n, e, t));
|
|
334
334
|
}
|
|
335
|
-
function
|
|
335
|
+
function q(e, t, n) {
|
|
336
336
|
var r = e._id;
|
|
337
337
|
return e.each(function() {
|
|
338
|
-
var e =
|
|
338
|
+
var e = H(this, r);
|
|
339
339
|
(e.value ||= {})[t] = n.apply(this, arguments);
|
|
340
340
|
}), function(e) {
|
|
341
|
-
return
|
|
341
|
+
return U(e, r).value[t];
|
|
342
342
|
};
|
|
343
343
|
}
|
|
344
344
|
//#endregion
|
|
345
345
|
//#region node_modules/d3-transition/src/transition/interpolate.js
|
|
346
|
-
function
|
|
346
|
+
function J(e, t) {
|
|
347
347
|
var n;
|
|
348
|
-
return (typeof t == "number" ?
|
|
348
|
+
return (typeof t == "number" ? s : t instanceof o ? c : (n = o(t)) ? (t = n, c) : l)(e, t);
|
|
349
349
|
}
|
|
350
350
|
//#endregion
|
|
351
351
|
//#region node_modules/d3-transition/src/transition/attr.js
|
|
352
|
-
function
|
|
352
|
+
function de(e) {
|
|
353
353
|
return function() {
|
|
354
354
|
this.removeAttribute(e);
|
|
355
355
|
};
|
|
356
356
|
}
|
|
357
|
-
function
|
|
357
|
+
function fe(e) {
|
|
358
358
|
return function() {
|
|
359
359
|
this.removeAttributeNS(e.space, e.local);
|
|
360
360
|
};
|
|
361
361
|
}
|
|
362
|
-
function
|
|
362
|
+
function pe(e, t, n) {
|
|
363
363
|
var r, i = n + "", a;
|
|
364
364
|
return function() {
|
|
365
365
|
var o = this.getAttribute(e);
|
|
366
366
|
return o === i ? null : o === r ? a : a = t(r = o, n);
|
|
367
367
|
};
|
|
368
368
|
}
|
|
369
|
-
function
|
|
369
|
+
function me(e, t, n) {
|
|
370
370
|
var r, i = n + "", a;
|
|
371
371
|
return function() {
|
|
372
372
|
var o = this.getAttributeNS(e.space, e.local);
|
|
373
373
|
return o === i ? null : o === r ? a : a = t(r = o, n);
|
|
374
374
|
};
|
|
375
375
|
}
|
|
376
|
-
function
|
|
376
|
+
function he(e, t, n) {
|
|
377
377
|
var r, i, a;
|
|
378
378
|
return function() {
|
|
379
379
|
var o, s = n(this), c;
|
|
380
380
|
return s == null ? void this.removeAttribute(e) : (o = this.getAttribute(e), c = s + "", o === c ? null : o === r && c === i ? a : (i = c, a = t(r = o, s)));
|
|
381
381
|
};
|
|
382
382
|
}
|
|
383
|
-
function
|
|
383
|
+
function ge(e, t, n) {
|
|
384
384
|
var r, i, a;
|
|
385
385
|
return function() {
|
|
386
386
|
var o, s = n(this), c;
|
|
387
387
|
return s == null ? void this.removeAttributeNS(e.space, e.local) : (o = this.getAttributeNS(e.space, e.local), c = s + "", o === c ? null : o === r && c === i ? a : (i = c, a = t(r = o, s)));
|
|
388
388
|
};
|
|
389
389
|
}
|
|
390
|
-
function
|
|
391
|
-
var
|
|
392
|
-
return this.attrTween(e, typeof
|
|
390
|
+
function _e(e, t) {
|
|
391
|
+
var n = a(e), r = n === "transform" ? ae : J;
|
|
392
|
+
return this.attrTween(e, typeof t == "function" ? (n.local ? ge : he)(n, r, q(this, "attr." + e, t)) : t == null ? (n.local ? fe : de)(n) : (n.local ? me : pe)(n, r, t));
|
|
393
393
|
}
|
|
394
394
|
//#endregion
|
|
395
395
|
//#region node_modules/d3-transition/src/transition/attrTween.js
|
|
396
|
-
function
|
|
396
|
+
function ve(e, t) {
|
|
397
397
|
return function(n) {
|
|
398
398
|
this.setAttribute(e, t.call(this, n));
|
|
399
399
|
};
|
|
400
400
|
}
|
|
401
|
-
function
|
|
401
|
+
function ye(e, t) {
|
|
402
402
|
return function(n) {
|
|
403
403
|
this.setAttributeNS(e.space, e.local, t.call(this, n));
|
|
404
404
|
};
|
|
405
405
|
}
|
|
406
|
-
function
|
|
406
|
+
function be(e, t) {
|
|
407
407
|
var n, r;
|
|
408
408
|
function i() {
|
|
409
409
|
var i = t.apply(this, arguments);
|
|
410
|
-
return i !== r && (n = (r = i) &&
|
|
410
|
+
return i !== r && (n = (r = i) && ye(e, i)), n;
|
|
411
411
|
}
|
|
412
412
|
return i._value = t, i;
|
|
413
413
|
}
|
|
414
|
-
function
|
|
414
|
+
function xe(e, t) {
|
|
415
415
|
var n, r;
|
|
416
416
|
function i() {
|
|
417
417
|
var i = t.apply(this, arguments);
|
|
418
|
-
return i !== r && (n = (r = i) &&
|
|
418
|
+
return i !== r && (n = (r = i) && ve(e, i)), n;
|
|
419
419
|
}
|
|
420
420
|
return i._value = t, i;
|
|
421
421
|
}
|
|
422
|
-
function
|
|
423
|
-
var
|
|
424
|
-
if (arguments.length < 2) return (
|
|
425
|
-
if (
|
|
426
|
-
if (typeof
|
|
427
|
-
var
|
|
428
|
-
return this.tween(
|
|
422
|
+
function Se(e, t) {
|
|
423
|
+
var n = "attr." + e;
|
|
424
|
+
if (arguments.length < 2) return (n = this.tween(n)) && n._value;
|
|
425
|
+
if (t == null) return this.tween(n, null);
|
|
426
|
+
if (typeof t != "function") throw Error();
|
|
427
|
+
var r = a(e);
|
|
428
|
+
return this.tween(n, (r.local ? be : xe)(r, t));
|
|
429
429
|
}
|
|
430
430
|
//#endregion
|
|
431
431
|
//#region node_modules/d3-transition/src/transition/delay.js
|
|
432
|
-
function
|
|
432
|
+
function Ce(e, t) {
|
|
433
433
|
return function() {
|
|
434
|
-
|
|
434
|
+
V(this, e).delay = +t.apply(this, arguments);
|
|
435
435
|
};
|
|
436
436
|
}
|
|
437
|
-
function
|
|
437
|
+
function we(e, t) {
|
|
438
438
|
return t = +t, function() {
|
|
439
|
-
|
|
439
|
+
V(this, e).delay = t;
|
|
440
440
|
};
|
|
441
441
|
}
|
|
442
|
-
function
|
|
442
|
+
function Te(e) {
|
|
443
443
|
var t = this._id;
|
|
444
|
-
return arguments.length ? this.each((typeof e == "function" ?
|
|
444
|
+
return arguments.length ? this.each((typeof e == "function" ? Ce : we)(t, e)) : U(this.node(), t).delay;
|
|
445
445
|
}
|
|
446
446
|
//#endregion
|
|
447
447
|
//#region node_modules/d3-transition/src/transition/duration.js
|
|
448
|
-
function
|
|
448
|
+
function Ee(e, t) {
|
|
449
449
|
return function() {
|
|
450
|
-
|
|
450
|
+
H(this, e).duration = +t.apply(this, arguments);
|
|
451
451
|
};
|
|
452
452
|
}
|
|
453
|
-
function
|
|
453
|
+
function De(e, t) {
|
|
454
454
|
return t = +t, function() {
|
|
455
|
-
|
|
455
|
+
H(this, e).duration = t;
|
|
456
456
|
};
|
|
457
457
|
}
|
|
458
|
-
function
|
|
458
|
+
function Oe(e) {
|
|
459
459
|
var t = this._id;
|
|
460
|
-
return arguments.length ? this.each((typeof e == "function" ?
|
|
460
|
+
return arguments.length ? this.each((typeof e == "function" ? Ee : De)(t, e)) : U(this.node(), t).duration;
|
|
461
461
|
}
|
|
462
462
|
//#endregion
|
|
463
463
|
//#region node_modules/d3-transition/src/transition/ease.js
|
|
464
|
-
function
|
|
464
|
+
function ke(e, t) {
|
|
465
465
|
if (typeof t != "function") throw Error();
|
|
466
466
|
return function() {
|
|
467
|
-
|
|
467
|
+
H(this, e).ease = t;
|
|
468
468
|
};
|
|
469
469
|
}
|
|
470
|
-
function
|
|
470
|
+
function Ae(e) {
|
|
471
471
|
var t = this._id;
|
|
472
|
-
return arguments.length ? this.each(
|
|
472
|
+
return arguments.length ? this.each(ke(t, e)) : U(this.node(), t).ease;
|
|
473
473
|
}
|
|
474
474
|
//#endregion
|
|
475
475
|
//#region node_modules/d3-transition/src/transition/easeVarying.js
|
|
476
|
-
function
|
|
476
|
+
function je(e, t) {
|
|
477
477
|
return function() {
|
|
478
478
|
var n = t.apply(this, arguments);
|
|
479
479
|
if (typeof n != "function") throw Error();
|
|
480
|
-
|
|
480
|
+
H(this, e).ease = n;
|
|
481
481
|
};
|
|
482
482
|
}
|
|
483
|
-
function
|
|
483
|
+
function Me(e) {
|
|
484
484
|
if (typeof e != "function") throw Error();
|
|
485
|
-
return this.each(
|
|
485
|
+
return this.each(je(this._id, e));
|
|
486
486
|
}
|
|
487
487
|
//#endregion
|
|
488
488
|
//#region node_modules/d3-transition/src/transition/filter.js
|
|
489
|
-
function
|
|
490
|
-
typeof e != "function" && (e =
|
|
491
|
-
for (var
|
|
492
|
-
return new
|
|
489
|
+
function Ne(e) {
|
|
490
|
+
typeof e != "function" && (e = t(e));
|
|
491
|
+
for (var n = this._groups, r = n.length, i = Array(r), a = 0; a < r; ++a) for (var o = n[a], s = o.length, c = i[a] = [], l, u = 0; u < s; ++u) (l = o[u]) && e.call(l, l.__data__, u, o) && c.push(l);
|
|
492
|
+
return new Z(i, this._parents, this._name, this._id);
|
|
493
493
|
}
|
|
494
494
|
//#endregion
|
|
495
495
|
//#region node_modules/d3-transition/src/transition/merge.js
|
|
496
|
-
function
|
|
496
|
+
function Pe(e) {
|
|
497
497
|
if (e._id !== this._id) throw Error();
|
|
498
498
|
for (var t = this._groups, n = e._groups, r = t.length, i = n.length, a = Math.min(r, i), o = Array(r), s = 0; s < a; ++s) for (var c = t[s], l = n[s], u = c.length, d = o[s] = Array(u), f, p = 0; p < u; ++p) (f = c[p] || l[p]) && (d[p] = f);
|
|
499
499
|
for (; s < r; ++s) o[s] = t[s];
|
|
500
|
-
return new
|
|
500
|
+
return new Z(o, this._parents, this._name, this._id);
|
|
501
501
|
}
|
|
502
502
|
//#endregion
|
|
503
503
|
//#region node_modules/d3-transition/src/transition/on.js
|
|
504
|
-
function
|
|
504
|
+
function Fe(e) {
|
|
505
505
|
return (e + "").trim().split(/^|\s+/).every(function(e) {
|
|
506
506
|
var t = e.indexOf(".");
|
|
507
507
|
return t >= 0 && (e = e.slice(0, t)), !e || e === "start";
|
|
508
508
|
});
|
|
509
509
|
}
|
|
510
|
-
function
|
|
511
|
-
var r, i, a =
|
|
510
|
+
function Ie(e, t, n) {
|
|
511
|
+
var r, i, a = Fe(t) ? V : H;
|
|
512
512
|
return function() {
|
|
513
513
|
var o = a(this, e), s = o.on;
|
|
514
514
|
s !== r && (i = (r = s).copy()).on(t, n), o.on = i;
|
|
515
515
|
};
|
|
516
516
|
}
|
|
517
|
-
function
|
|
517
|
+
function Le(e, t) {
|
|
518
518
|
var n = this._id;
|
|
519
|
-
return arguments.length < 2 ?
|
|
519
|
+
return arguments.length < 2 ? U(this.node(), n).on.on(e) : this.each(Ie(n, e, t));
|
|
520
520
|
}
|
|
521
521
|
//#endregion
|
|
522
522
|
//#region node_modules/d3-transition/src/transition/remove.js
|
|
523
|
-
function
|
|
523
|
+
function Re(e) {
|
|
524
524
|
return function() {
|
|
525
525
|
var t = this.parentNode;
|
|
526
526
|
for (var n in this.__transition) if (+n !== e) return;
|
|
527
527
|
t && t.removeChild(this);
|
|
528
528
|
};
|
|
529
529
|
}
|
|
530
|
-
function
|
|
531
|
-
return this.on("end.remove",
|
|
530
|
+
function ze() {
|
|
531
|
+
return this.on("end.remove", Re(this._id));
|
|
532
532
|
}
|
|
533
533
|
//#endregion
|
|
534
534
|
//#region node_modules/d3-transition/src/transition/select.js
|
|
535
|
-
function
|
|
535
|
+
function Be(e) {
|
|
536
536
|
var t = this._name, n = this._id;
|
|
537
537
|
typeof e != "function" && (e = r(e));
|
|
538
|
-
for (var i = this._groups, a = i.length, o = Array(a), s = 0; s < a; ++s) for (var c = i[s], l = c.length, u = o[s] = Array(l), d, f, p = 0; p < l; ++p) (d = c[p]) && (f = e.call(d, d.__data__, p, c)) && ("__data__" in d && (f.__data__ = d.__data__), u[p] = f,
|
|
539
|
-
return new
|
|
538
|
+
for (var i = this._groups, a = i.length, o = Array(a), s = 0; s < a; ++s) for (var c = i[s], l = c.length, u = o[s] = Array(l), d, f, p = 0; p < l; ++p) (d = c[p]) && (f = e.call(d, d.__data__, p, c)) && ("__data__" in d && (f.__data__ = d.__data__), u[p] = f, B(u[p], t, n, p, u, U(d, n)));
|
|
539
|
+
return new Z(o, this._parents, t, n);
|
|
540
540
|
}
|
|
541
541
|
//#endregion
|
|
542
542
|
//#region node_modules/d3-transition/src/transition/selectAll.js
|
|
543
|
-
function
|
|
544
|
-
var
|
|
545
|
-
typeof
|
|
546
|
-
for (var
|
|
547
|
-
for (var p =
|
|
543
|
+
function Ve(t) {
|
|
544
|
+
var n = this._name, r = this._id;
|
|
545
|
+
typeof t != "function" && (t = e(t));
|
|
546
|
+
for (var i = this._groups, a = i.length, o = [], s = [], c = 0; c < a; ++c) for (var l = i[c], u = l.length, d, f = 0; f < u; ++f) if (d = l[f]) {
|
|
547
|
+
for (var p = t.call(d, d.__data__, f, l), m, h = U(d, r), g = 0, _ = p.length; g < _; ++g) (m = p[g]) && B(m, n, r, g, p, h);
|
|
548
548
|
o.push(p), s.push(d);
|
|
549
549
|
}
|
|
550
|
-
return new
|
|
550
|
+
return new Z(o, s, n, r);
|
|
551
551
|
}
|
|
552
552
|
//#endregion
|
|
553
553
|
//#region node_modules/d3-transition/src/transition/selection.js
|
|
554
|
-
var
|
|
555
|
-
function
|
|
556
|
-
return new
|
|
554
|
+
var He = n.prototype.constructor;
|
|
555
|
+
function Ue() {
|
|
556
|
+
return new He(this._groups, this._parents);
|
|
557
557
|
}
|
|
558
558
|
//#endregion
|
|
559
559
|
//#region node_modules/d3-transition/src/transition/style.js
|
|
560
|
-
function
|
|
561
|
-
var
|
|
560
|
+
function We(e, t) {
|
|
561
|
+
var n, r, a;
|
|
562
562
|
return function() {
|
|
563
|
-
var o =
|
|
564
|
-
return o === s ? null : o ===
|
|
563
|
+
var o = i(this, e), s = (this.style.removeProperty(e), i(this, e));
|
|
564
|
+
return o === s ? null : o === n && s === r ? a : a = t(n = o, r = s);
|
|
565
565
|
};
|
|
566
566
|
}
|
|
567
|
-
function
|
|
567
|
+
function Y(e) {
|
|
568
568
|
return function() {
|
|
569
569
|
this.style.removeProperty(e);
|
|
570
570
|
};
|
|
571
571
|
}
|
|
572
|
-
function
|
|
573
|
-
var
|
|
572
|
+
function Ge(e, t, n) {
|
|
573
|
+
var r, a = n + "", o;
|
|
574
574
|
return function() {
|
|
575
|
-
var s =
|
|
576
|
-
return s === a ? null : s ===
|
|
575
|
+
var s = i(this, e);
|
|
576
|
+
return s === a ? null : s === r ? o : o = t(r = s, n);
|
|
577
577
|
};
|
|
578
578
|
}
|
|
579
|
-
function
|
|
580
|
-
var
|
|
579
|
+
function Ke(e, t, n) {
|
|
580
|
+
var r, a, o;
|
|
581
581
|
return function() {
|
|
582
|
-
var s =
|
|
583
|
-
return c ?? (l = c = (this.style.removeProperty(
|
|
582
|
+
var s = i(this, e), c = n(this), l = c + "";
|
|
583
|
+
return c ?? (l = c = (this.style.removeProperty(e), i(this, e))), s === l ? null : s === r && l === a ? o : (a = l, o = t(r = s, c));
|
|
584
584
|
};
|
|
585
585
|
}
|
|
586
|
-
function
|
|
586
|
+
function qe(e, t) {
|
|
587
587
|
var n, r, i, a = "style." + t, o = "end." + a, s;
|
|
588
588
|
return function() {
|
|
589
|
-
var c =
|
|
589
|
+
var c = H(this, e), l = c.on, u = c.value[a] == null ? s ||= Y(t) : void 0;
|
|
590
590
|
(l !== n || i !== u) && (r = (n = l).copy()).on(o, i = u), c.on = r;
|
|
591
591
|
};
|
|
592
592
|
}
|
|
593
|
-
function
|
|
594
|
-
var r = (e += "") == "transform" ?
|
|
595
|
-
return t == null ? this.styleTween(e,
|
|
593
|
+
function Je(e, t, n) {
|
|
594
|
+
var r = (e += "") == "transform" ? ie : J;
|
|
595
|
+
return t == null ? this.styleTween(e, We(e, r)).on("end.style." + e, Y(e)) : typeof t == "function" ? this.styleTween(e, Ke(e, r, q(this, "style." + e, t))).each(qe(this._id, e)) : this.styleTween(e, Ge(e, r, t), n).on("end.style." + e, null);
|
|
596
596
|
}
|
|
597
597
|
//#endregion
|
|
598
598
|
//#region node_modules/d3-transition/src/transition/styleTween.js
|
|
599
|
-
function
|
|
599
|
+
function Ye(e, t, n) {
|
|
600
600
|
return function(r) {
|
|
601
601
|
this.style.setProperty(e, t.call(this, r), n);
|
|
602
602
|
};
|
|
603
603
|
}
|
|
604
|
-
function
|
|
604
|
+
function Xe(e, t, n) {
|
|
605
605
|
var r, i;
|
|
606
606
|
function a() {
|
|
607
607
|
var a = t.apply(this, arguments);
|
|
608
|
-
return a !== i && (r = (i = a) &&
|
|
608
|
+
return a !== i && (r = (i = a) && Ye(e, a, n)), r;
|
|
609
609
|
}
|
|
610
610
|
return a._value = t, a;
|
|
611
611
|
}
|
|
612
|
-
function
|
|
612
|
+
function Ze(e, t, n) {
|
|
613
613
|
var r = "style." + (e += "");
|
|
614
614
|
if (arguments.length < 2) return (r = this.tween(r)) && r._value;
|
|
615
615
|
if (t == null) return this.tween(r, null);
|
|
616
616
|
if (typeof t != "function") throw Error();
|
|
617
|
-
return this.tween(r,
|
|
617
|
+
return this.tween(r, Xe(e, t, n ?? ""));
|
|
618
618
|
}
|
|
619
619
|
//#endregion
|
|
620
620
|
//#region node_modules/d3-transition/src/transition/text.js
|
|
621
|
-
function
|
|
621
|
+
function X(e) {
|
|
622
622
|
return function() {
|
|
623
623
|
this.textContent = e;
|
|
624
624
|
};
|
|
625
625
|
}
|
|
626
|
-
function
|
|
626
|
+
function Qe(e) {
|
|
627
627
|
return function() {
|
|
628
628
|
var t = e(this);
|
|
629
629
|
this.textContent = t ?? "";
|
|
630
630
|
};
|
|
631
631
|
}
|
|
632
|
-
function
|
|
633
|
-
return this.tween("text", typeof e == "function" ?
|
|
632
|
+
function $e(e) {
|
|
633
|
+
return this.tween("text", typeof e == "function" ? Qe(q(this, "text", e)) : X(e == null ? "" : e + ""));
|
|
634
634
|
}
|
|
635
635
|
//#endregion
|
|
636
636
|
//#region node_modules/d3-transition/src/transition/textTween.js
|
|
637
|
-
function
|
|
637
|
+
function et(e) {
|
|
638
638
|
return function(t) {
|
|
639
639
|
this.textContent = e.call(this, t);
|
|
640
640
|
};
|
|
641
641
|
}
|
|
642
|
-
function
|
|
642
|
+
function tt(e) {
|
|
643
643
|
var t, n;
|
|
644
644
|
function r() {
|
|
645
645
|
var r = e.apply(this, arguments);
|
|
646
|
-
return r !== n && (t = (n = r) &&
|
|
646
|
+
return r !== n && (t = (n = r) && et(r)), t;
|
|
647
647
|
}
|
|
648
648
|
return r._value = e, r;
|
|
649
649
|
}
|
|
650
|
-
function
|
|
650
|
+
function nt(e) {
|
|
651
651
|
var t = "text";
|
|
652
652
|
if (arguments.length < 1) return (t = this.tween(t)) && t._value;
|
|
653
653
|
if (e == null) return this.tween(t, null);
|
|
654
654
|
if (typeof e != "function") throw Error();
|
|
655
|
-
return this.tween(t,
|
|
655
|
+
return this.tween(t, tt(e));
|
|
656
656
|
}
|
|
657
657
|
//#endregion
|
|
658
658
|
//#region node_modules/d3-transition/src/transition/transition.js
|
|
659
|
-
function
|
|
659
|
+
function rt() {
|
|
660
660
|
for (var e = this._name, t = this._id, n = Q(), r = this._groups, i = r.length, a = 0; a < i; ++a) for (var o = r[a], s = o.length, c, l = 0; l < s; ++l) if (c = o[l]) {
|
|
661
|
-
var u =
|
|
662
|
-
|
|
661
|
+
var u = U(c, t);
|
|
662
|
+
B(c, e, n, l, o, {
|
|
663
663
|
time: u.time + u.delay + u.duration,
|
|
664
664
|
delay: 0,
|
|
665
665
|
duration: u.duration,
|
|
666
666
|
ease: u.ease
|
|
667
667
|
});
|
|
668
668
|
}
|
|
669
|
-
return new
|
|
669
|
+
return new Z(r, this._parents, e, n);
|
|
670
670
|
}
|
|
671
671
|
//#endregion
|
|
672
672
|
//#region node_modules/d3-transition/src/transition/end.js
|
|
673
|
-
function
|
|
673
|
+
function it() {
|
|
674
674
|
var e, t, n = this, r = n._id, i = n.size();
|
|
675
675
|
return new Promise(function(a, o) {
|
|
676
676
|
var s = { value: o }, c = { value: function() {
|
|
677
677
|
--i === 0 && a();
|
|
678
678
|
} };
|
|
679
679
|
n.each(function() {
|
|
680
|
-
var n =
|
|
680
|
+
var n = H(this, r), i = n.on;
|
|
681
681
|
i !== e && (t = (e = i).copy(), t._.cancel.push(s), t._.interrupt.push(s), t._.end.push(c)), n.on = t;
|
|
682
682
|
}), i === 0 && a();
|
|
683
683
|
});
|
|
684
684
|
}
|
|
685
685
|
//#endregion
|
|
686
686
|
//#region node_modules/d3-transition/src/transition/index.js
|
|
687
|
-
var
|
|
688
|
-
function
|
|
687
|
+
var at = 0;
|
|
688
|
+
function Z(e, t, n, r) {
|
|
689
689
|
this._groups = e, this._parents = t, this._name = n, this._id = r;
|
|
690
690
|
}
|
|
691
|
-
function Z(e) {
|
|
692
|
-
return n().transition(e);
|
|
693
|
-
}
|
|
694
691
|
function Q() {
|
|
695
|
-
return ++
|
|
692
|
+
return ++at;
|
|
696
693
|
}
|
|
697
694
|
var $ = n.prototype;
|
|
698
|
-
|
|
699
|
-
constructor:
|
|
700
|
-
select:
|
|
701
|
-
selectAll:
|
|
695
|
+
Z.prototype = {
|
|
696
|
+
constructor: Z,
|
|
697
|
+
select: Be,
|
|
698
|
+
selectAll: Ve,
|
|
702
699
|
selectChild: $.selectChild,
|
|
703
700
|
selectChildren: $.selectChildren,
|
|
704
|
-
filter:
|
|
705
|
-
merge:
|
|
706
|
-
selection:
|
|
707
|
-
transition:
|
|
701
|
+
filter: Ne,
|
|
702
|
+
merge: Pe,
|
|
703
|
+
selection: Ue,
|
|
704
|
+
transition: rt,
|
|
708
705
|
call: $.call,
|
|
709
706
|
nodes: $.nodes,
|
|
710
707
|
node: $.node,
|
|
711
708
|
size: $.size,
|
|
712
709
|
empty: $.empty,
|
|
713
710
|
each: $.each,
|
|
714
|
-
on:
|
|
715
|
-
attr:
|
|
716
|
-
attrTween:
|
|
717
|
-
style:
|
|
718
|
-
styleTween:
|
|
719
|
-
text:
|
|
720
|
-
textTween:
|
|
721
|
-
remove:
|
|
722
|
-
tween:
|
|
723
|
-
delay:
|
|
724
|
-
duration:
|
|
725
|
-
ease:
|
|
726
|
-
easeVarying:
|
|
727
|
-
end:
|
|
711
|
+
on: Le,
|
|
712
|
+
attr: _e,
|
|
713
|
+
attrTween: Se,
|
|
714
|
+
style: Je,
|
|
715
|
+
styleTween: Ze,
|
|
716
|
+
text: $e,
|
|
717
|
+
textTween: nt,
|
|
718
|
+
remove: ze,
|
|
719
|
+
tween: ue,
|
|
720
|
+
delay: Te,
|
|
721
|
+
duration: Oe,
|
|
722
|
+
ease: Ae,
|
|
723
|
+
easeVarying: Me,
|
|
724
|
+
end: it,
|
|
728
725
|
[Symbol.iterator]: $[Symbol.iterator]
|
|
729
726
|
};
|
|
730
727
|
//#endregion
|
|
731
728
|
//#region node_modules/d3-ease/src/cubic.js
|
|
732
|
-
function
|
|
729
|
+
function ot(e) {
|
|
733
730
|
return ((e *= 2) <= 1 ? e * e * e : (e -= 2) * e * e + 2) / 2;
|
|
734
731
|
}
|
|
735
732
|
//#endregion
|
|
736
733
|
//#region node_modules/d3-transition/src/selection/transition.js
|
|
737
|
-
var
|
|
734
|
+
var st = {
|
|
738
735
|
time: null,
|
|
739
736
|
delay: 0,
|
|
740
737
|
duration: 250,
|
|
741
|
-
ease:
|
|
738
|
+
ease: ot
|
|
742
739
|
};
|
|
743
|
-
function
|
|
740
|
+
function ct(e, t) {
|
|
744
741
|
for (var n; !(n = e.__transition) || !(n = n[t]);) if (!(e = e.parentNode)) throw Error(`transition ${t} not found`);
|
|
745
742
|
return n;
|
|
746
743
|
}
|
|
747
|
-
function
|
|
744
|
+
function lt(e) {
|
|
748
745
|
var t, n;
|
|
749
|
-
e instanceof
|
|
750
|
-
for (var r = this._groups, i = r.length, a = 0; a < i; ++a) for (var o = r[a], s = o.length, c, l = 0; l < s; ++l) (c = o[l]) &&
|
|
751
|
-
return new
|
|
746
|
+
e instanceof Z ? (t = e._id, e = e._name) : (t = Q(), (n = st).time = D(), e = e == null ? null : e + "");
|
|
747
|
+
for (var r = this._groups, i = r.length, a = 0; a < i; ++a) for (var o = r[a], s = o.length, c, l = 0; l < s; ++l) (c = o[l]) && B(c, e, t, l, o, n || ct(c, t));
|
|
748
|
+
return new Z(r, this._parents, e, t);
|
|
752
749
|
}
|
|
753
|
-
n.prototype.interrupt =
|
|
750
|
+
n.prototype.interrupt = K, n.prototype.transition = lt;
|
|
754
751
|
//#endregion
|
|
755
|
-
export {
|
|
752
|
+
export { k as n, d as r, G as t };
|