@performant-software/visualize 3.0.6-beta.5 → 3.0.6-beta.6
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/dist/index.cjs183.js +1 -1
- package/dist/index.cjs185.js +1 -1
- package/dist/index.cjs187.js +1 -1
- package/dist/index.cjs188.js +1 -1
- package/dist/index.cjs188.js.map +1 -1
- package/dist/index.cjs189.js +1 -1
- package/dist/index.cjs189.js.map +1 -1
- package/dist/index.cjs190.js +1 -1
- package/dist/index.cjs190.js.map +1 -1
- package/dist/index.cjs191.js +2 -1
- package/dist/index.cjs191.js.map +1 -1
- package/dist/index.cjs192.js +1 -1
- package/dist/index.cjs192.js.map +1 -1
- package/dist/index.cjs193.js +1 -2
- package/dist/index.cjs193.js.map +1 -1
- package/dist/index.cjs194.js +1 -1
- package/dist/index.cjs194.js.map +1 -1
- package/dist/index.cjs195.js +1 -1
- package/dist/index.cjs195.js.map +1 -1
- package/dist/index.cjs196.js +1 -3
- package/dist/index.cjs196.js.map +1 -1
- package/dist/index.cjs197.js +1 -1
- package/dist/index.cjs197.js.map +1 -1
- package/dist/index.cjs198.js +1 -1
- package/dist/index.cjs198.js.map +1 -1
- package/dist/index.cjs199.js +1 -1
- package/dist/index.cjs199.js.map +1 -1
- package/dist/index.cjs200.js +1 -1
- package/dist/index.cjs200.js.map +1 -1
- package/dist/index.cjs201.js +1 -1
- package/dist/index.cjs201.js.map +1 -1
- package/dist/index.cjs202.js +1 -1
- package/dist/index.cjs202.js.map +1 -1
- package/dist/index.cjs203.js +1 -1
- package/dist/index.cjs203.js.map +1 -1
- package/dist/index.cjs204.js +1 -1
- package/dist/index.cjs204.js.map +1 -1
- package/dist/index.cjs205.js +1 -1
- package/dist/index.cjs205.js.map +1 -1
- package/dist/index.cjs206.js +1 -1
- package/dist/index.cjs206.js.map +1 -1
- package/dist/index.cjs207.js +3 -1
- package/dist/index.cjs207.js.map +1 -1
- package/dist/index.cjs208.js +1 -1
- package/dist/index.cjs208.js.map +1 -1
- package/dist/index.cjs211.js +1 -1
- package/dist/index.cjs212.js +1 -1
- package/dist/index.cjs213.js +1 -1
- package/dist/index.cjs231.js +1 -1
- package/dist/index.cjs236.js +1 -1
- package/dist/index.cjs240.js +1 -1
- package/dist/index.cjs252.js +1 -1
- package/dist/index.cjs252.js.map +1 -1
- package/dist/index.cjs253.js +1 -1
- package/dist/index.cjs253.js.map +1 -1
- package/dist/index.cjs254.js +1 -1
- package/dist/index.cjs254.js.map +1 -1
- package/dist/index.cjs255.js +1 -1
- package/dist/index.cjs255.js.map +1 -1
- package/dist/index.cjs256.js +1 -1
- package/dist/index.cjs256.js.map +1 -1
- package/dist/index.cjs257.js +1 -1
- package/dist/index.cjs257.js.map +1 -1
- package/dist/index.cjs258.js +1 -1
- package/dist/index.cjs258.js.map +1 -1
- package/dist/index.cjs259.js +1 -1
- package/dist/index.cjs259.js.map +1 -1
- package/dist/index.cjs260.js +1 -1
- package/dist/index.cjs260.js.map +1 -1
- package/dist/index.cjs261.js +1 -1
- package/dist/index.cjs262.js +1 -1
- package/dist/index.cjs263.js +1 -1
- package/dist/index.cjs264.js +1 -1
- package/dist/index.cjs272.js +1 -1
- package/dist/index.cjs272.js.map +1 -1
- package/dist/index.cjs273.js +1 -1
- package/dist/index.cjs273.js.map +1 -1
- package/dist/index.cjs274.js +1 -1
- package/dist/index.cjs274.js.map +1 -1
- package/dist/index.cjs275.js +1 -1
- package/dist/index.cjs275.js.map +1 -1
- package/dist/index.cjs276.js +1 -1
- package/dist/index.cjs276.js.map +1 -1
- package/dist/index.cjs277.js +1 -1
- package/dist/index.cjs277.js.map +1 -1
- package/dist/index.cjs278.js +1 -1
- package/dist/index.cjs278.js.map +1 -1
- package/dist/index.cjs279.js +1 -1
- package/dist/index.cjs279.js.map +1 -1
- package/dist/index.cjs280.js +1 -1
- package/dist/index.cjs280.js.map +1 -1
- package/dist/index.cjs281.js +1 -1
- package/dist/index.cjs281.js.map +1 -1
- package/dist/index.cjs282.js +1 -1
- package/dist/index.cjs282.js.map +1 -1
- package/dist/index.cjs283.js +1 -1
- package/dist/index.cjs283.js.map +1 -1
- package/dist/index.cjs284.js +1 -1
- package/dist/index.cjs284.js.map +1 -1
- package/dist/index.cjs285.js +1 -1
- package/dist/index.cjs285.js.map +1 -1
- package/dist/index.cjs286.js +1 -1
- package/dist/index.cjs286.js.map +1 -1
- package/dist/index.cjs287.js +1 -1
- package/dist/index.cjs287.js.map +1 -1
- package/dist/index.cjs288.js +1 -1
- package/dist/index.cjs289.js +1 -1
- package/dist/index.cjs291.js +1 -1
- package/dist/index.cjs292.js +1 -1
- package/dist/index.cjs34.js +1 -1
- package/dist/index.cjs35.js +1 -1
- package/dist/index.cjs36.js +1 -1
- package/dist/index.cjs37.js +1 -1
- package/dist/index.cjs38.js +1 -1
- package/dist/index.cjs39.js +1 -1
- package/dist/index.cjs40.js +1 -1
- package/dist/index.cjs41.js +1 -1
- package/dist/index.cjs42.js +1 -1
- package/dist/index.cjs43.js +1 -1
- package/dist/index.cjs44.js +1 -1
- package/dist/index.cjs45.js +1 -1
- package/dist/index.cjs46.js +1 -1
- package/dist/index.cjs47.js +1 -1
- package/dist/index.cjs48.js +1 -1
- package/dist/index.cjs49.js +1 -1
- package/dist/index.cjs53.js +1 -1
- package/dist/index.cjs54.js +1 -1
- package/dist/index.cjs58.js +1 -1
- package/dist/index.cjs62.js +1 -1
- package/dist/index.cjs62.js.map +1 -1
- package/dist/index.cjs63.js +1 -1
- package/dist/index.cjs63.js.map +1 -1
- package/dist/index.cjs64.js +1 -1
- package/dist/index.cjs64.js.map +1 -1
- package/dist/index.cjs65.js +1 -1
- package/dist/index.cjs65.js.map +1 -1
- package/dist/index.cjs66.js +1 -1
- package/dist/index.cjs66.js.map +1 -1
- package/dist/index.cjs67.js +5 -1
- package/dist/index.cjs67.js.map +1 -1
- package/dist/index.cjs68.js +1 -1
- package/dist/index.cjs68.js.map +1 -1
- package/dist/index.cjs69.js +1 -1
- package/dist/index.cjs69.js.map +1 -1
- package/dist/index.cjs70.js +1 -1
- package/dist/index.cjs70.js.map +1 -1
- package/dist/index.cjs71.js +1 -1
- package/dist/index.cjs71.js.map +1 -1
- package/dist/index.cjs72.js +1 -1
- package/dist/index.cjs72.js.map +1 -1
- package/dist/index.cjs73.js +1 -1
- package/dist/index.cjs73.js.map +1 -1
- package/dist/index.cjs74.js +1 -1
- package/dist/index.cjs74.js.map +1 -1
- package/dist/index.cjs75.js +1 -1
- package/dist/index.cjs75.js.map +1 -1
- package/dist/index.cjs76.js +1 -5
- package/dist/index.cjs76.js.map +1 -1
- package/dist/index.cjs77.js +1 -1
- package/dist/index.cjs77.js.map +1 -1
- package/dist/index.cjs78.js +1 -1
- package/dist/index.cjs78.js.map +1 -1
- package/dist/index.cjs79.js +1 -1
- package/dist/index.cjs79.js.map +1 -1
- package/dist/index.cjs8.js +1 -1
- package/dist/index.es183.js +4 -4
- package/dist/index.es185.js +1 -1
- package/dist/index.es187.js +3 -3
- package/dist/index.es188.js +5 -34
- package/dist/index.es188.js.map +1 -1
- package/dist/index.es189.js +2 -16
- package/dist/index.es189.js.map +1 -1
- package/dist/index.es190.js +7 -5
- package/dist/index.es190.js.map +1 -1
- package/dist/index.es191.js +328 -2
- package/dist/index.es191.js.map +1 -1
- package/dist/index.es192.js +50 -7
- package/dist/index.es192.js.map +1 -1
- package/dist/index.es193.js +2 -328
- package/dist/index.es193.js.map +1 -1
- package/dist/index.es194.js +32 -48
- package/dist/index.es194.js.map +1 -1
- package/dist/index.es195.js +16 -2
- package/dist/index.es195.js.map +1 -1
- package/dist/index.es196.js +12 -239
- package/dist/index.es196.js.map +1 -1
- package/dist/index.es197.js +10 -1017
- package/dist/index.es197.js.map +1 -1
- package/dist/index.es198.js +7 -12
- package/dist/index.es198.js.map +1 -1
- package/dist/index.es199.js +8 -9
- package/dist/index.es199.js.map +1 -1
- package/dist/index.es200.js +7 -7
- package/dist/index.es200.js.map +1 -1
- package/dist/index.es201.js +5 -9
- package/dist/index.es201.js.map +1 -1
- package/dist/index.es202.js +15 -7
- package/dist/index.es202.js.map +1 -1
- package/dist/index.es203.js +4 -4
- package/dist/index.es203.js.map +1 -1
- package/dist/index.es204.js +6 -15
- package/dist/index.es204.js.map +1 -1
- package/dist/index.es205.js +6 -5
- package/dist/index.es205.js.map +1 -1
- package/dist/index.es206.js +5 -5
- package/dist/index.es206.js.map +1 -1
- package/dist/index.es207.js +239 -6
- package/dist/index.es207.js.map +1 -1
- package/dist/index.es208.js +1017 -6
- package/dist/index.es208.js.map +1 -1
- package/dist/index.es211.js +1 -1
- package/dist/index.es212.js +1 -1
- package/dist/index.es213.js +1 -1
- package/dist/index.es231.js +1 -1
- package/dist/index.es236.js +2 -2
- package/dist/index.es240.js +1 -1
- package/dist/index.es252.js +3 -6
- package/dist/index.es252.js.map +1 -1
- package/dist/index.es253.js +8 -3
- package/dist/index.es253.js.map +1 -1
- package/dist/index.es254.js +4 -6
- package/dist/index.es254.js.map +1 -1
- package/dist/index.es255.js +3 -13
- package/dist/index.es255.js.map +1 -1
- package/dist/index.es256.js +2 -7
- package/dist/index.es256.js.map +1 -1
- package/dist/index.es257.js +5 -3
- package/dist/index.es257.js.map +1 -1
- package/dist/index.es258.js +8 -2
- package/dist/index.es258.js.map +1 -1
- package/dist/index.es259.js +13 -5
- package/dist/index.es259.js.map +1 -1
- package/dist/index.es260.js +6 -7
- package/dist/index.es260.js.map +1 -1
- package/dist/index.es261.js +1 -1
- package/dist/index.es262.js +1 -1
- package/dist/index.es263.js +2 -2
- package/dist/index.es264.js +4 -4
- package/dist/index.es272.js +3 -8
- package/dist/index.es272.js.map +1 -1
- package/dist/index.es273.js +68 -9
- package/dist/index.es273.js.map +1 -1
- package/dist/index.es274.js +18 -5
- package/dist/index.es274.js.map +1 -1
- package/dist/index.es275.js +7 -3
- package/dist/index.es275.js.map +1 -1
- package/dist/index.es276.js +2 -68
- package/dist/index.es276.js.map +1 -1
- package/dist/index.es277.js +5 -18
- package/dist/index.es277.js.map +1 -1
- package/dist/index.es278.js +11 -5
- package/dist/index.es278.js.map +1 -1
- package/dist/index.es279.js +2 -2
- package/dist/index.es279.js.map +1 -1
- package/dist/index.es280.js +8 -5
- package/dist/index.es280.js.map +1 -1
- package/dist/index.es281.js +9 -13
- package/dist/index.es281.js.map +1 -1
- package/dist/index.es282.js +5 -2
- package/dist/index.es282.js.map +1 -1
- package/dist/index.es283.js +12 -3
- package/dist/index.es283.js.map +1 -1
- package/dist/index.es284.js +7 -14
- package/dist/index.es284.js.map +1 -1
- package/dist/index.es285.js +3 -6
- package/dist/index.es285.js.map +1 -1
- package/dist/index.es286.js +14 -12
- package/dist/index.es286.js.map +1 -1
- package/dist/index.es287.js +6 -7
- package/dist/index.es287.js.map +1 -1
- package/dist/index.es288.js +1 -1
- package/dist/index.es289.js +1 -1
- package/dist/index.es291.js +1 -1
- package/dist/index.es292.js +1 -1
- package/dist/index.es34.js +1 -1
- package/dist/index.es35.js +2 -2
- package/dist/index.es36.js +5 -5
- package/dist/index.es37.js +11 -11
- package/dist/index.es38.js +1 -1
- package/dist/index.es39.js +1 -1
- package/dist/index.es40.js +1 -1
- package/dist/index.es41.js +1 -1
- package/dist/index.es42.js +1 -1
- package/dist/index.es43.js +1 -1
- package/dist/index.es44.js +1 -1
- package/dist/index.es45.js +1 -1
- package/dist/index.es46.js +1 -1
- package/dist/index.es47.js +1 -1
- package/dist/index.es48.js +1 -1
- package/dist/index.es49.js +1 -1
- package/dist/index.es53.js +2 -2
- package/dist/index.es54.js +3 -3
- package/dist/index.es58.js +9 -9
- package/dist/index.es62.js +13 -21
- package/dist/index.es62.js.map +1 -1
- package/dist/index.es63.js +30 -25
- package/dist/index.es63.js.map +1 -1
- package/dist/index.es64.js +95 -13
- package/dist/index.es64.js.map +1 -1
- package/dist/index.es65.js +20 -32
- package/dist/index.es65.js.map +1 -1
- package/dist/index.es66.js +21 -88
- package/dist/index.es66.js.map +1 -1
- package/dist/index.es67.js +40 -9
- package/dist/index.es67.js.map +1 -1
- package/dist/index.es68.js +36 -4
- package/dist/index.es68.js.map +1 -1
- package/dist/index.es69.js +22 -12
- package/dist/index.es69.js.map +1 -1
- package/dist/index.es70.js +84 -5
- package/dist/index.es70.js.map +1 -1
- package/dist/index.es71.js +8 -14
- package/dist/index.es71.js.map +1 -1
- package/dist/index.es72.js +4 -9
- package/dist/index.es72.js.map +1 -1
- package/dist/index.es73.js +12 -5
- package/dist/index.es73.js.map +1 -1
- package/dist/index.es74.js +5 -9
- package/dist/index.es74.js.map +1 -1
- package/dist/index.es75.js +14 -7
- package/dist/index.es75.js.map +1 -1
- package/dist/index.es76.js +10 -40
- package/dist/index.es76.js.map +1 -1
- package/dist/index.es77.js +5 -36
- package/dist/index.es77.js.map +1 -1
- package/dist/index.es78.js +9 -22
- package/dist/index.es78.js.map +1 -1
- package/dist/index.es79.js +7 -84
- package/dist/index.es79.js.map +1 -1
- package/dist/index.es8.js +1 -1
- package/package.json +1 -1
package/dist/index.es66.js
CHANGED
|
@@ -1,98 +1,31 @@
|
|
|
1
|
-
function
|
|
2
|
-
return
|
|
3
|
-
scaleX: 1,
|
|
4
|
-
scaleY: 1,
|
|
5
|
-
translateX: 0,
|
|
6
|
-
translateY: 0,
|
|
7
|
-
skewX: 0,
|
|
8
|
-
skewY: 0
|
|
9
|
-
};
|
|
1
|
+
function t(n) {
|
|
2
|
+
return !!n && n instanceof Element;
|
|
10
3
|
}
|
|
11
|
-
function
|
|
12
|
-
|
|
13
|
-
return {
|
|
14
|
-
scaleX: a,
|
|
15
|
-
scaleY: r,
|
|
16
|
-
translateX: c,
|
|
17
|
-
translateY: u,
|
|
18
|
-
skewX: k,
|
|
19
|
-
skewY: v
|
|
20
|
-
};
|
|
4
|
+
function i(n) {
|
|
5
|
+
return !!n && (n instanceof SVGElement || "ownerSVGElement" in n);
|
|
21
6
|
}
|
|
22
|
-
function
|
|
23
|
-
|
|
24
|
-
return {
|
|
25
|
-
scaleX: a / l,
|
|
26
|
-
scaleY: s / l,
|
|
27
|
-
translateX: (a * n - t * r) / -l,
|
|
28
|
-
translateY: (c * n - s * r) / l,
|
|
29
|
-
skewX: t / -l,
|
|
30
|
-
skewY: c / -l
|
|
31
|
-
};
|
|
7
|
+
function e(n) {
|
|
8
|
+
return !!n && "createSVGPoint" in n;
|
|
32
9
|
}
|
|
33
|
-
function
|
|
34
|
-
|
|
35
|
-
return {
|
|
36
|
-
x: e.scaleX * a + e.skewX * n + e.translateX,
|
|
37
|
-
y: e.skewY * a + e.scaleY * n + e.translateY
|
|
38
|
-
};
|
|
10
|
+
function r(n) {
|
|
11
|
+
return !!n && "getScreenCTM" in n;
|
|
39
12
|
}
|
|
40
|
-
function
|
|
41
|
-
|
|
42
|
-
return p(d(e), {
|
|
43
|
-
x: a,
|
|
44
|
-
y: n
|
|
45
|
-
});
|
|
13
|
+
function c(n) {
|
|
14
|
+
return !!n && "changedTouches" in n;
|
|
46
15
|
}
|
|
47
|
-
function
|
|
48
|
-
|
|
49
|
-
var a = s || e;
|
|
50
|
-
return w({
|
|
51
|
-
scaleX: e,
|
|
52
|
-
scaleY: a
|
|
53
|
-
});
|
|
16
|
+
function o(n) {
|
|
17
|
+
return !!n && "clientX" in n;
|
|
54
18
|
}
|
|
55
|
-
function
|
|
56
|
-
return
|
|
57
|
-
translateX: e,
|
|
58
|
-
translateY: s
|
|
59
|
-
});
|
|
60
|
-
}
|
|
61
|
-
function o(e, s) {
|
|
62
|
-
return {
|
|
63
|
-
scaleX: e.scaleX * s.scaleX + e.skewX * s.skewY,
|
|
64
|
-
scaleY: e.skewY * s.skewX + e.scaleY * s.scaleY,
|
|
65
|
-
translateX: e.scaleX * s.translateX + e.skewX * s.translateY + e.translateX,
|
|
66
|
-
translateY: e.skewY * s.translateX + e.scaleY * s.translateY + e.translateY,
|
|
67
|
-
skewX: e.scaleX * s.skewX + e.skewX * s.scaleY,
|
|
68
|
-
skewY: e.skewY * s.scaleX + e.scaleY * s.skewY
|
|
69
|
-
};
|
|
70
|
-
}
|
|
71
|
-
function M() {
|
|
72
|
-
for (var e = arguments.length, s = new Array(e), a = 0; a < e; a++)
|
|
73
|
-
s[a] = arguments[a];
|
|
74
|
-
switch (s.length) {
|
|
75
|
-
case 0:
|
|
76
|
-
throw new Error("composeMatrices() requires arguments: was called with no args");
|
|
77
|
-
case 1:
|
|
78
|
-
return s[0];
|
|
79
|
-
case 2:
|
|
80
|
-
return o(s[0], s[1]);
|
|
81
|
-
default: {
|
|
82
|
-
var n = s[0], r = s[1], t = s.slice(2), c = o(n, r);
|
|
83
|
-
return M.apply(void 0, [c].concat(t));
|
|
84
|
-
}
|
|
85
|
-
}
|
|
19
|
+
function u(n) {
|
|
20
|
+
return !!n && (n instanceof Event || "nativeEvent" in n && n.nativeEvent instanceof Event);
|
|
86
21
|
}
|
|
87
22
|
export {
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
y as scaleMatrix,
|
|
96
|
-
$ as translateMatrix
|
|
23
|
+
t as isElement,
|
|
24
|
+
u as isEvent,
|
|
25
|
+
o as isMouseEvent,
|
|
26
|
+
i as isSVGElement,
|
|
27
|
+
r as isSVGGraphicsElement,
|
|
28
|
+
e as isSVGSVGElement,
|
|
29
|
+
c as isTouchEvent
|
|
97
30
|
};
|
|
98
31
|
//# sourceMappingURL=index.es66.js.map
|
package/dist/index.es66.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es66.js","sources":["../../../node_modules/@visx/
|
|
1
|
+
{"version":3,"file":"index.es66.js","sources":["../../../node_modules/@visx/event/esm/typeGuards.js"],"sourcesContent":["export function isElement(elem) {\n return !!elem && elem instanceof Element;\n}\n\n// functional definition of isSVGElement. Note that SVGSVGElements are HTMLElements\nexport function isSVGElement(elem) {\n return !!elem && (elem instanceof SVGElement || 'ownerSVGElement' in elem);\n}\n\n// functional definition of SVGGElement\nexport function isSVGSVGElement(elem) {\n return !!elem && 'createSVGPoint' in elem;\n}\nexport function isSVGGraphicsElement(elem) {\n return !!elem && 'getScreenCTM' in elem;\n}\n\n// functional definition of TouchEvent\nexport function isTouchEvent(event) {\n return !!event && 'changedTouches' in event;\n}\n\n// functional definition of MouseEvent\nexport function isMouseEvent(event) {\n return !!event && 'clientX' in event;\n}\n\n// functional definition of event\nexport function isEvent(event) {\n return !!event && (event instanceof Event || 'nativeEvent' in event && event.nativeEvent instanceof Event);\n}"],"names":["isElement","elem","isSVGElement","isSVGSVGElement","isSVGGraphicsElement","isTouchEvent","event","isMouseEvent","isEvent"],"mappings":"AAAO,SAASA,EAAUC,GAAM;AACvB,SAAA,CAAC,CAACA,KAAQA,aAAgB;AACnC;AAGO,SAASC,EAAaD,GAAM;AACjC,SAAO,CAAC,CAACA,MAASA,aAAgB,cAAc,qBAAqBA;AACvE;AAGO,SAASE,EAAgBF,GAAM;AAC7B,SAAA,CAAC,CAACA,KAAQ,oBAAoBA;AACvC;AACO,SAASG,EAAqBH,GAAM;AAClC,SAAA,CAAC,CAACA,KAAQ,kBAAkBA;AACrC;AAGO,SAASI,EAAaC,GAAO;AAC3B,SAAA,CAAC,CAACA,KAAS,oBAAoBA;AACxC;AAGO,SAASC,EAAaD,GAAO;AAC3B,SAAA,CAAC,CAACA,KAAS,aAAaA;AACjC;AAGO,SAASE,EAAQF,GAAO;AACtB,SAAA,CAAC,CAACA,MAAUA,aAAiB,SAAS,iBAAiBA,KAASA,EAAM,uBAAuB;AACtG;","x_google_ignoreList":[0]}
|
package/dist/index.es67.js
CHANGED
|
@@ -1,12 +1,43 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { getDefaultExportFromCjs as p } from "./index.es188.js";
|
|
2
|
+
import { __module as i } from "./index.es193.js";
|
|
3
|
+
/*!
|
|
4
|
+
Copyright (c) 2018 Jed Watson.
|
|
5
|
+
Licensed under the MIT License (MIT), see
|
|
6
|
+
http://jedwatson.github.io/classnames
|
|
7
|
+
*/
|
|
8
|
+
(function(o) {
|
|
9
|
+
(function() {
|
|
10
|
+
var f = {}.hasOwnProperty;
|
|
11
|
+
function e() {
|
|
12
|
+
for (var t = "", r = 0; r < arguments.length; r++) {
|
|
13
|
+
var n = arguments[r];
|
|
14
|
+
n && (t = s(t, u(n)));
|
|
15
|
+
}
|
|
16
|
+
return t;
|
|
17
|
+
}
|
|
18
|
+
function u(t) {
|
|
19
|
+
if (typeof t == "string" || typeof t == "number")
|
|
20
|
+
return t;
|
|
21
|
+
if (typeof t != "object")
|
|
22
|
+
return "";
|
|
23
|
+
if (Array.isArray(t))
|
|
24
|
+
return e.apply(null, t);
|
|
25
|
+
if (t.toString !== Object.prototype.toString && !t.toString.toString().includes("[native code]"))
|
|
26
|
+
return t.toString();
|
|
27
|
+
var r = "";
|
|
28
|
+
for (var n in t)
|
|
29
|
+
f.call(t, n) && t[n] && (r = s(r, n));
|
|
30
|
+
return r;
|
|
31
|
+
}
|
|
32
|
+
function s(t, r) {
|
|
33
|
+
return r ? t ? t + " " + r : t + r : t;
|
|
34
|
+
}
|
|
35
|
+
o.exports ? (e.default = e, o.exports = e) : window.classNames = e;
|
|
36
|
+
})();
|
|
37
|
+
})(i);
|
|
38
|
+
var a = i.exports;
|
|
39
|
+
const m = /* @__PURE__ */ p(a);
|
|
9
40
|
export {
|
|
10
|
-
|
|
41
|
+
m as default
|
|
11
42
|
};
|
|
12
43
|
//# sourceMappingURL=index.es67.js.map
|
package/dist/index.es67.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es67.js","sources":["../../../node_modules
|
|
1
|
+
{"version":3,"file":"index.es67.js","sources":["../../../node_modules/classnames/index.js"],"sourcesContent":["/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = '';\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (arg) {\n\t\t\t\tclasses = appendClass(classes, parseValue(arg));\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction parseValue (arg) {\n\t\tif (typeof arg === 'string' || typeof arg === 'number') {\n\t\t\treturn arg;\n\t\t}\n\n\t\tif (typeof arg !== 'object') {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (Array.isArray(arg)) {\n\t\t\treturn classNames.apply(null, arg);\n\t\t}\n\n\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\treturn arg.toString();\n\t\t}\n\n\t\tvar classes = '';\n\n\t\tfor (var key in arg) {\n\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\tclasses = appendClass(classes, key);\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction appendClass (value, newClass) {\n\t\tif (!newClass) {\n\t\t\treturn value;\n\t\t}\n\t\n\t\tif (value) {\n\t\t\treturn value + ' ' + newClass;\n\t\t}\n\t\n\t\treturn value + newClass;\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n"],"names":["hasOwn","classNames","classes","i","arg","appendClass","parseValue","key","value","newClass","module"],"mappings":";;;;;;;;AAAA,GAOC,WAAY;AAGR,QAAAA,IAAS,CAAG,EAAA;AAEhB,aAASC,IAAc;AAGtB,eAFIC,IAAU,IAELC,IAAI,GAAGA,IAAI,UAAU,QAAQA,KAAK;AACtC,YAAAC,IAAM,UAAUD,CAAC;AACrB,QAAIC,MACHF,IAAUG,EAAYH,GAASI,EAAWF,CAAG,CAAC;AAAA,MAEhD;AAEO,aAAAF;AAAA,IACR;AAEA,aAASI,EAAYF,GAAK;AACzB,UAAI,OAAOA,KAAQ,YAAY,OAAOA,KAAQ;AACtC,eAAAA;AAGJ,UAAA,OAAOA,KAAQ;AACX,eAAA;AAGJ,UAAA,MAAM,QAAQA,CAAG;AACb,eAAAH,EAAW,MAAM,MAAMG,CAAG;AAGlC,UAAIA,EAAI,aAAa,OAAO,UAAU,YAAY,CAACA,EAAI,SAAS,SAAS,EAAE,SAAS,eAAe;AAClG,eAAOA,EAAI;AAGZ,UAAIF,IAAU;AAEd,eAASK,KAAOH;AACf,QAAIJ,EAAO,KAAKI,GAAKG,CAAG,KAAKH,EAAIG,CAAG,MACzBL,IAAAG,EAAYH,GAASK,CAAG;AAI7B,aAAAL;AAAA,IACR;AAES,aAAAG,EAAaG,GAAOC,GAAU;AACtC,aAAKA,IAIDD,IACIA,IAAQ,MAAMC,IAGfD,IAAQC,IAPPD;AAAA,IAQT;AAEA,IAAqCE,EAAO,WAC3CT,EAAW,UAAUA,GACrBS,EAAA,UAAiBT,KAOjB,OAAO,aAAaA;AAAA,EAEtB;;;;","x_google_ignoreList":[0]}
|
package/dist/index.es68.js
CHANGED
|
@@ -1,8 +1,40 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import e from "./index.es62.js";
|
|
2
|
+
import s from "react";
|
|
3
|
+
var u = {
|
|
4
|
+
source: {
|
|
5
|
+
x: 0,
|
|
6
|
+
y: 0
|
|
7
|
+
},
|
|
8
|
+
target: {
|
|
9
|
+
x: 0,
|
|
10
|
+
y: 0
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
function a(t) {
|
|
14
|
+
var i = t.link, r = i === void 0 ? u : i;
|
|
15
|
+
return /* @__PURE__ */ s.createElement("line", {
|
|
16
|
+
x1: r.source.x,
|
|
17
|
+
y1: r.source.y,
|
|
18
|
+
x2: r.target.x,
|
|
19
|
+
y2: r.target.y,
|
|
20
|
+
strokeWidth: 2,
|
|
21
|
+
stroke: "#999",
|
|
22
|
+
strokeOpacity: 0.6
|
|
23
|
+
});
|
|
4
24
|
}
|
|
25
|
+
a.propTypes = {
|
|
26
|
+
link: e.shape({
|
|
27
|
+
source: e.shape({
|
|
28
|
+
x: e.number.isRequired,
|
|
29
|
+
y: e.number.isRequired
|
|
30
|
+
}).isRequired,
|
|
31
|
+
target: e.shape({
|
|
32
|
+
x: e.number.isRequired,
|
|
33
|
+
y: e.number.isRequired
|
|
34
|
+
}).isRequired
|
|
35
|
+
})
|
|
36
|
+
};
|
|
5
37
|
export {
|
|
6
|
-
|
|
38
|
+
a as default
|
|
7
39
|
};
|
|
8
40
|
//# sourceMappingURL=index.es68.js.map
|
package/dist/index.es68.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es68.js","sources":["../../../node_modules/@
|
|
1
|
+
{"version":3,"file":"index.es68.js","sources":["../../../node_modules/@visx/hierarchy/esm/HierarchyDefaultLink.js"],"sourcesContent":["import _pt from \"prop-types\";\nimport React from 'react';\nvar DEFAULT_LINK = {\n source: {\n x: 0,\n y: 0\n },\n target: {\n x: 0,\n y: 0\n }\n};\nexport default function HierarchyDefaultLink(_ref) {\n var _ref$link = _ref.link,\n link = _ref$link === void 0 ? DEFAULT_LINK : _ref$link;\n return /*#__PURE__*/React.createElement(\"line\", {\n x1: link.source.x,\n y1: link.source.y,\n x2: link.target.x,\n y2: link.target.y,\n strokeWidth: 2,\n stroke: \"#999\",\n strokeOpacity: 0.6\n });\n}\nHierarchyDefaultLink.propTypes = {\n link: _pt.shape({\n source: _pt.shape({\n x: _pt.number.isRequired,\n y: _pt.number.isRequired\n }).isRequired,\n target: _pt.shape({\n x: _pt.number.isRequired,\n y: _pt.number.isRequired\n }).isRequired\n })\n};"],"names":["DEFAULT_LINK","HierarchyDefaultLink","_ref","_ref$link","link","React","_pt"],"mappings":";;AAEA,IAAIA,IAAe;AAAA,EACjB,QAAQ;AAAA,IACN,GAAG;AAAA,IACH,GAAG;AAAA,EACL;AAAA,EACA,QAAQ;AAAA,IACN,GAAG;AAAA,IACH,GAAG;AAAA,EACL;AACF;AACA,SAAwBC,EAAqBC,GAAM;AACjD,MAAIC,IAAYD,EAAK,MACnBE,IAAOD,MAAc,SAASH,IAAeG;AAC3B,SAAA,gBAAAE,EAAM,cAAc,QAAQ;AAAA,IAC9C,IAAID,EAAK,OAAO;AAAA,IAChB,IAAIA,EAAK,OAAO;AAAA,IAChB,IAAIA,EAAK,OAAO;AAAA,IAChB,IAAIA,EAAK,OAAO;AAAA,IAChB,aAAa;AAAA,IACb,QAAQ;AAAA,IACR,eAAe;AAAA,EAAA,CAChB;AACH;AACAH,EAAqB,YAAY;AAAA,EAC/B,MAAMK,EAAI,MAAM;AAAA,IACd,QAAQA,EAAI,MAAM;AAAA,MAChB,GAAGA,EAAI,OAAO;AAAA,MACd,GAAGA,EAAI,OAAO;AAAA,IACf,CAAA,EAAE;AAAA,IACH,QAAQA,EAAI,MAAM;AAAA,MAChB,GAAGA,EAAI,OAAO;AAAA,MACd,GAAGA,EAAI,OAAO;AAAA,IACf,CAAA,EAAE;AAAA,EAAA,CACJ;AACH;","x_google_ignoreList":[0]}
|
package/dist/index.es69.js
CHANGED
|
@@ -1,16 +1,26 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
return
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import e from "./index.es62.js";
|
|
2
|
+
import n from "react";
|
|
3
|
+
function t(i) {
|
|
4
|
+
var o = i.node, r = o === void 0 ? {
|
|
5
|
+
x: 0,
|
|
6
|
+
y: 0,
|
|
7
|
+
r: 15
|
|
8
|
+
} : o;
|
|
9
|
+
return /* @__PURE__ */ n.createElement("circle", {
|
|
10
|
+
cx: r.x,
|
|
11
|
+
cy: r.y,
|
|
12
|
+
r: r.r || 15,
|
|
13
|
+
fill: "#21D4FD"
|
|
14
|
+
});
|
|
12
15
|
}
|
|
16
|
+
t.propTypes = {
|
|
17
|
+
node: e.shape({
|
|
18
|
+
x: e.number.isRequired,
|
|
19
|
+
y: e.number.isRequired,
|
|
20
|
+
r: e.number
|
|
21
|
+
})
|
|
22
|
+
};
|
|
13
23
|
export {
|
|
14
|
-
|
|
24
|
+
t as default
|
|
15
25
|
};
|
|
16
26
|
//# sourceMappingURL=index.es69.js.map
|
package/dist/index.es69.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es69.js","sources":["../../../node_modules/@
|
|
1
|
+
{"version":3,"file":"index.es69.js","sources":["../../../node_modules/@visx/hierarchy/esm/HierarchyDefaultNode.js"],"sourcesContent":["import _pt from \"prop-types\";\nimport React from 'react';\nexport default function HierarchyDefaultNode(_ref) {\n var _ref$node = _ref.node,\n node = _ref$node === void 0 ? {\n x: 0,\n y: 0,\n r: 15\n } : _ref$node;\n return /*#__PURE__*/React.createElement(\"circle\", {\n cx: node.x,\n cy: node.y,\n r: node.r || 15,\n fill: \"#21D4FD\"\n });\n}\nHierarchyDefaultNode.propTypes = {\n node: _pt.shape({\n x: _pt.number.isRequired,\n y: _pt.number.isRequired,\n r: _pt.number\n })\n};"],"names":["HierarchyDefaultNode","_ref","_ref$node","node","React","_pt"],"mappings":";;AAEA,SAAwBA,EAAqBC,GAAM;AACjD,MAAIC,IAAYD,EAAK,MACnBE,IAAOD,MAAc,SAAS;AAAA,IAC5B,GAAG;AAAA,IACH,GAAG;AAAA,IACH,GAAG;AAAA,EACD,IAAAA;AACc,SAAA,gBAAAE,EAAM,cAAc,UAAU;AAAA,IAChD,IAAID,EAAK;AAAA,IACT,IAAIA,EAAK;AAAA,IACT,GAAGA,EAAK,KAAK;AAAA,IACb,MAAM;AAAA,EAAA,CACP;AACH;AACAH,EAAqB,YAAY;AAAA,EAC/B,MAAMK,EAAI,MAAM;AAAA,IACd,GAAGA,EAAI,OAAO;AAAA,IACd,GAAGA,EAAI,OAAO;AAAA,IACd,GAAGA,EAAI;AAAA,EAAA,CACR;AACH;","x_google_ignoreList":[0]}
|
package/dist/index.es70.js
CHANGED
|
@@ -1,9 +1,88 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { Node as k } from "./index.es37.js";
|
|
2
|
+
function o(r, n) {
|
|
3
|
+
return r.parent === n.parent ? 1 : 2;
|
|
4
|
+
}
|
|
5
|
+
function S(r) {
|
|
6
|
+
var n = r.children;
|
|
7
|
+
return n ? n[0] : r.t;
|
|
8
|
+
}
|
|
9
|
+
function B(r) {
|
|
10
|
+
var n = r.children;
|
|
11
|
+
return n ? n[n.length - 1] : r.t;
|
|
12
|
+
}
|
|
13
|
+
function R(r, n, a) {
|
|
14
|
+
var i = a / (n.i - r.i);
|
|
15
|
+
n.c -= i, n.s += a, r.c += i, n.z += a, n.m += a;
|
|
16
|
+
}
|
|
17
|
+
function W(r) {
|
|
18
|
+
for (var n = 0, a = 0, i = r.children, u = i.length, z; --u >= 0; )
|
|
19
|
+
z = i[u], z.z += n, z.m += n, n += z.s + (a += z.c);
|
|
20
|
+
}
|
|
21
|
+
function b(r, n, a) {
|
|
22
|
+
return r.a.parent === n.parent ? r.a : a;
|
|
23
|
+
}
|
|
24
|
+
function A(r, n) {
|
|
25
|
+
this._ = r, this.parent = null, this.children = null, this.A = null, this.a = this, this.z = 0, this.m = 0, this.c = 0, this.s = 0, this.t = null, this.i = n;
|
|
26
|
+
}
|
|
27
|
+
A.prototype = Object.create(k.prototype);
|
|
28
|
+
function j(r) {
|
|
29
|
+
for (var n = new A(r, 0), a, i = [n], u, z, x, y; a = i.pop(); )
|
|
30
|
+
if (z = a._.children)
|
|
31
|
+
for (a.children = new Array(y = z.length), x = y - 1; x >= 0; --x)
|
|
32
|
+
i.push(u = a.children[x] = new A(z[x], x)), u.parent = a;
|
|
33
|
+
return (n.parent = new A(null, 0)).children = [n], n;
|
|
34
|
+
}
|
|
35
|
+
function L() {
|
|
36
|
+
var r = o, n = 1, a = 1, i = null;
|
|
37
|
+
function u(e) {
|
|
38
|
+
var f = j(e);
|
|
39
|
+
if (f.eachAfter(z), f.parent.m = -f.z, f.eachBefore(x), i)
|
|
40
|
+
e.eachBefore(N);
|
|
41
|
+
else {
|
|
42
|
+
var d = e, t = e, c = e;
|
|
43
|
+
e.eachBefore(function(l) {
|
|
44
|
+
l.x < d.x && (d = l), l.x > t.x && (t = l), l.depth > c.depth && (c = l);
|
|
45
|
+
});
|
|
46
|
+
var h = d === t ? 1 : r(d, t) / 2, s = h - d.x, g = n / (t.x + h + s), _ = a / (c.depth || 1);
|
|
47
|
+
e.eachBefore(function(l) {
|
|
48
|
+
l.x = (l.x + s) * g, l.y = l.depth * _;
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
return e;
|
|
52
|
+
}
|
|
53
|
+
function z(e) {
|
|
54
|
+
var f = e.children, d = e.parent.children, t = e.i ? d[e.i - 1] : null;
|
|
55
|
+
if (f) {
|
|
56
|
+
W(e);
|
|
57
|
+
var c = (f[0].z + f[f.length - 1].z) / 2;
|
|
58
|
+
t ? (e.z = t.z + r(e._, t._), e.m = e.z - c) : e.z = c;
|
|
59
|
+
} else
|
|
60
|
+
t && (e.z = t.z + r(e._, t._));
|
|
61
|
+
e.parent.A = y(e, t, e.parent.A || d[0]);
|
|
62
|
+
}
|
|
63
|
+
function x(e) {
|
|
64
|
+
e._.x = e.z + e.parent.m, e.m += e.parent.m;
|
|
65
|
+
}
|
|
66
|
+
function y(e, f, d) {
|
|
67
|
+
if (f) {
|
|
68
|
+
for (var t = e, c = e, h = f, s = t.parent.children[0], g = t.m, _ = c.m, l = h.m, w = s.m, p; h = B(h), t = S(t), h && t; )
|
|
69
|
+
s = S(s), c = B(c), c.a = e, p = h.z + l - t.z - g + r(h._, t._), p > 0 && (R(b(h, e, d), e, p), g += p, _ += p), l += h.m, g += t.m, w += s.m, _ += c.m;
|
|
70
|
+
h && !B(c) && (c.t = h, c.m += l - _), t && !S(s) && (s.t = t, s.m += g - w, d = e);
|
|
71
|
+
}
|
|
72
|
+
return d;
|
|
73
|
+
}
|
|
74
|
+
function N(e) {
|
|
75
|
+
e.x *= n, e.y = e.depth * a;
|
|
76
|
+
}
|
|
77
|
+
return u.separation = function(e) {
|
|
78
|
+
return arguments.length ? (r = e, u) : r;
|
|
79
|
+
}, u.size = function(e) {
|
|
80
|
+
return arguments.length ? (i = !1, n = +e[0], a = +e[1], u) : i ? null : [n, a];
|
|
81
|
+
}, u.nodeSize = function(e) {
|
|
82
|
+
return arguments.length ? (i = !0, n = +e[0], a = +e[1], u) : i ? [n, a] : null;
|
|
83
|
+
}, u;
|
|
5
84
|
}
|
|
6
85
|
export {
|
|
7
|
-
|
|
86
|
+
L as default
|
|
8
87
|
};
|
|
9
88
|
//# sourceMappingURL=index.es70.js.map
|
package/dist/index.es70.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es70.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js"],"sourcesContent":["export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}"],"names":["_assertThisInitialized","self"],"mappings":"AAAA,SAAwBA,EAAuBC,GAAM;AACnD,MAAIA,MAAS;AACL,UAAA,IAAI,eAAe,2DAA2D;AAE/E,SAAAA;AACT;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index.es70.js","sources":["../../../node_modules/d3-hierarchy/src/tree.js"],"sourcesContent":["import {Node} from \"./hierarchy/index.js\";\n\nfunction defaultSeparation(a, b) {\n return a.parent === b.parent ? 1 : 2;\n}\n\n// function radialSeparation(a, b) {\n// return (a.parent === b.parent ? 1 : 2) / a.depth;\n// }\n\n// This function is used to traverse the left contour of a subtree (or\n// subforest). It returns the successor of v on this contour. This successor is\n// either given by the leftmost child of v or by the thread of v. The function\n// returns null if and only if v is on the highest level of its subtree.\nfunction nextLeft(v) {\n var children = v.children;\n return children ? children[0] : v.t;\n}\n\n// This function works analogously to nextLeft.\nfunction nextRight(v) {\n var children = v.children;\n return children ? children[children.length - 1] : v.t;\n}\n\n// Shifts the current subtree rooted at w+. This is done by increasing\n// prelim(w+) and mod(w+) by shift.\nfunction moveSubtree(wm, wp, shift) {\n var change = shift / (wp.i - wm.i);\n wp.c -= change;\n wp.s += shift;\n wm.c += change;\n wp.z += shift;\n wp.m += shift;\n}\n\n// All other shifts, applied to the smaller subtrees between w- and w+, are\n// performed by this function. To prepare the shifts, we have to adjust\n// change(w+), shift(w+), and change(w-).\nfunction executeShifts(v) {\n var shift = 0,\n change = 0,\n children = v.children,\n i = children.length,\n w;\n while (--i >= 0) {\n w = children[i];\n w.z += shift;\n w.m += shift;\n shift += w.s + (change += w.c);\n }\n}\n\n// If vi-’s ancestor is a sibling of v, returns vi-’s ancestor. Otherwise,\n// returns the specified (default) ancestor.\nfunction nextAncestor(vim, v, ancestor) {\n return vim.a.parent === v.parent ? vim.a : ancestor;\n}\n\nfunction TreeNode(node, i) {\n this._ = node;\n this.parent = null;\n this.children = null;\n this.A = null; // default ancestor\n this.a = this; // ancestor\n this.z = 0; // prelim\n this.m = 0; // mod\n this.c = 0; // change\n this.s = 0; // shift\n this.t = null; // thread\n this.i = i; // number\n}\n\nTreeNode.prototype = Object.create(Node.prototype);\n\nfunction treeRoot(root) {\n var tree = new TreeNode(root, 0),\n node,\n nodes = [tree],\n child,\n children,\n i,\n n;\n\n while (node = nodes.pop()) {\n if (children = node._.children) {\n node.children = new Array(n = children.length);\n for (i = n - 1; i >= 0; --i) {\n nodes.push(child = node.children[i] = new TreeNode(children[i], i));\n child.parent = node;\n }\n }\n }\n\n (tree.parent = new TreeNode(null, 0)).children = [tree];\n return tree;\n}\n\n// Node-link tree diagram using the Reingold-Tilford \"tidy\" algorithm\nexport default function() {\n var separation = defaultSeparation,\n dx = 1,\n dy = 1,\n nodeSize = null;\n\n function tree(root) {\n var t = treeRoot(root);\n\n // Compute the layout using Buchheim et al.’s algorithm.\n t.eachAfter(firstWalk), t.parent.m = -t.z;\n t.eachBefore(secondWalk);\n\n // If a fixed node size is specified, scale x and y.\n if (nodeSize) root.eachBefore(sizeNode);\n\n // If a fixed tree size is specified, scale x and y based on the extent.\n // Compute the left-most, right-most, and depth-most nodes for extents.\n else {\n var left = root,\n right = root,\n bottom = root;\n root.eachBefore(function(node) {\n if (node.x < left.x) left = node;\n if (node.x > right.x) right = node;\n if (node.depth > bottom.depth) bottom = node;\n });\n var s = left === right ? 1 : separation(left, right) / 2,\n tx = s - left.x,\n kx = dx / (right.x + s + tx),\n ky = dy / (bottom.depth || 1);\n root.eachBefore(function(node) {\n node.x = (node.x + tx) * kx;\n node.y = node.depth * ky;\n });\n }\n\n return root;\n }\n\n // Computes a preliminary x-coordinate for v. Before that, FIRST WALK is\n // applied recursively to the children of v, as well as the function\n // APPORTION. After spacing out the children by calling EXECUTE SHIFTS, the\n // node v is placed to the midpoint of its outermost children.\n function firstWalk(v) {\n var children = v.children,\n siblings = v.parent.children,\n w = v.i ? siblings[v.i - 1] : null;\n if (children) {\n executeShifts(v);\n var midpoint = (children[0].z + children[children.length - 1].z) / 2;\n if (w) {\n v.z = w.z + separation(v._, w._);\n v.m = v.z - midpoint;\n } else {\n v.z = midpoint;\n }\n } else if (w) {\n v.z = w.z + separation(v._, w._);\n }\n v.parent.A = apportion(v, w, v.parent.A || siblings[0]);\n }\n\n // Computes all real x-coordinates by summing up the modifiers recursively.\n function secondWalk(v) {\n v._.x = v.z + v.parent.m;\n v.m += v.parent.m;\n }\n\n // The core of the algorithm. Here, a new subtree is combined with the\n // previous subtrees. Threads are used to traverse the inside and outside\n // contours of the left and right subtree up to the highest common level. The\n // vertices used for the traversals are vi+, vi-, vo-, and vo+, where the\n // superscript o means outside and i means inside, the subscript - means left\n // subtree and + means right subtree. For summing up the modifiers along the\n // contour, we use respective variables si+, si-, so-, and so+. Whenever two\n // nodes of the inside contours conflict, we compute the left one of the\n // greatest uncommon ancestors using the function ANCESTOR and call MOVE\n // SUBTREE to shift the subtree and prepare the shifts of smaller subtrees.\n // Finally, we add a new thread (if necessary).\n function apportion(v, w, ancestor) {\n if (w) {\n var vip = v,\n vop = v,\n vim = w,\n vom = vip.parent.children[0],\n sip = vip.m,\n sop = vop.m,\n sim = vim.m,\n som = vom.m,\n shift;\n while (vim = nextRight(vim), vip = nextLeft(vip), vim && vip) {\n vom = nextLeft(vom);\n vop = nextRight(vop);\n vop.a = v;\n shift = vim.z + sim - vip.z - sip + separation(vim._, vip._);\n if (shift > 0) {\n moveSubtree(nextAncestor(vim, v, ancestor), v, shift);\n sip += shift;\n sop += shift;\n }\n sim += vim.m;\n sip += vip.m;\n som += vom.m;\n sop += vop.m;\n }\n if (vim && !nextRight(vop)) {\n vop.t = vim;\n vop.m += sim - sop;\n }\n if (vip && !nextLeft(vom)) {\n vom.t = vip;\n vom.m += sip - som;\n ancestor = v;\n }\n }\n return ancestor;\n }\n\n function sizeNode(node) {\n node.x *= dx;\n node.y = node.depth * dy;\n }\n\n tree.separation = function(x) {\n return arguments.length ? (separation = x, tree) : separation;\n };\n\n tree.size = function(x) {\n return arguments.length ? (nodeSize = false, dx = +x[0], dy = +x[1], tree) : (nodeSize ? null : [dx, dy]);\n };\n\n tree.nodeSize = function(x) {\n return arguments.length ? (nodeSize = true, dx = +x[0], dy = +x[1], tree) : (nodeSize ? [dx, dy] : null);\n };\n\n return tree;\n}\n"],"names":["defaultSeparation","a","b","nextLeft","v","children","nextRight","moveSubtree","wm","wp","shift","change","executeShifts","i","w","nextAncestor","vim","ancestor","TreeNode","node","Node","treeRoot","root","tree","nodes","child","n","d3tree","separation","dx","dy","nodeSize","t","firstWalk","secondWalk","sizeNode","left","right","bottom","s","tx","kx","ky","siblings","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-
|
|
8
|
-
writable: !0,
|
|
9
|
-
configurable: !0
|
|
10
|
-
}
|
|
11
|
-
}), Object.defineProperty(e, "prototype", {
|
|
12
|
-
writable: !1
|
|
13
|
-
}), t && o(e, t);
|
|
1
|
+
function o(e) {
|
|
2
|
+
"@babel/helpers - typeof";
|
|
3
|
+
return o = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
4
|
+
return typeof t;
|
|
5
|
+
} : function(t) {
|
|
6
|
+
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
7
|
+
}, o(e);
|
|
14
8
|
}
|
|
15
9
|
export {
|
|
16
|
-
|
|
10
|
+
o as default
|
|
17
11
|
};
|
|
18
12
|
//# sourceMappingURL=index.es71.js.map
|
package/dist/index.es71.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es71.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/
|
|
1
|
+
{"version":3,"file":"index.es71.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/typeof.js"],"sourcesContent":["export default function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, _typeof(o);\n}"],"names":["_typeof","o"],"mappings":"AAAA,SAAwBA,EAAQC,GAAG;AACjC;AAEO,SAAAD,IAAwB,OAAO,UAArB,cAA2C,OAAO,OAAO,YAA1B,WAAqC,SAAUC,GAAG;AAChG,WAAO,OAAOA;AAAAA,EAChB,IAAI,SAAUA,GAAG;AACRA,WAAAA,KAAmB,OAAO,UAArB,cAA+BA,EAAE,gBAAgB,UAAUA,MAAM,OAAO,YAAY,WAAW,OAAOA;AAAAA,EAAA,GACjHD,EAAQC,CAAC;AACd;","x_google_ignoreList":[0]}
|
package/dist/index.es72.js
CHANGED
|
@@ -1,13 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
if (r && (o(r) === "object" || typeof r == "function"))
|
|
5
|
-
return r;
|
|
6
|
-
if (r !== void 0)
|
|
7
|
-
throw new TypeError("Derived constructors may only return object or undefined");
|
|
8
|
-
return t(e);
|
|
1
|
+
function c(a, n) {
|
|
2
|
+
if (!(a instanceof n))
|
|
3
|
+
throw new TypeError("Cannot call a class as a function");
|
|
9
4
|
}
|
|
10
5
|
export {
|
|
11
|
-
|
|
6
|
+
c as default
|
|
12
7
|
};
|
|
13
8
|
//# sourceMappingURL=index.es72.js.map
|
package/dist/index.es72.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es72.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/
|
|
1
|
+
{"version":3,"file":"index.es72.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/classCallCheck.js"],"sourcesContent":["export default function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}"],"names":["_classCallCheck","instance","Constructor"],"mappings":"AAAwB,SAAAA,EAAgBC,GAAUC,GAAa;AACzD,MAAA,EAAED,aAAoBC;AAClB,UAAA,IAAI,UAAU,mCAAmC;AAE3D;","x_google_ignoreList":[0]}
|
package/dist/index.es73.js
CHANGED
|
@@ -1,9 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import t from "./index.es236.js";
|
|
2
|
+
function n(f, l) {
|
|
3
|
+
for (var a = 0; a < l.length; a++) {
|
|
4
|
+
var e = l[a];
|
|
5
|
+
e.enumerable = e.enumerable || !1, e.configurable = !0, "value" in e && (e.writable = !0), Object.defineProperty(f, t(e.key), e);
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
function u(f, l, a) {
|
|
9
|
+
return l && n(f.prototype, l), a && n(f, a), Object.defineProperty(f, "prototype", {
|
|
10
|
+
writable: !1
|
|
11
|
+
}), f;
|
|
5
12
|
}
|
|
6
13
|
export {
|
|
7
|
-
|
|
14
|
+
u as default
|
|
8
15
|
};
|
|
9
16
|
//# sourceMappingURL=index.es73.js.map
|
package/dist/index.es73.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es73.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/
|
|
1
|
+
{"version":3,"file":"index.es73.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/createClass.js"],"sourcesContent":["import toPropertyKey from \"./toPropertyKey.js\";\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);\n }\n}\nexport default function _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}"],"names":["_defineProperties","target","props","i","descriptor","toPropertyKey","_createClass","Constructor","protoProps","staticProps"],"mappings":";AACA,SAASA,EAAkBC,GAAQC,GAAO;AACxC,WAASC,IAAI,GAAGA,IAAID,EAAM,QAAQC,KAAK;AACjC,QAAAC,IAAaF,EAAMC,CAAC;AACb,IAAAC,EAAA,aAAaA,EAAW,cAAc,IACjDA,EAAW,eAAe,IACtB,WAAWA,MAAYA,EAAW,WAAW,KACjD,OAAO,eAAeH,GAAQI,EAAcD,EAAW,GAAG,GAAGA,CAAU;AAAA,EACzE;AACF;AACwB,SAAAE,EAAaC,GAAaC,GAAYC,GAAa;AACrE,SAAAD,KAA8BR,EAAAO,EAAY,WAAWC,CAAU,GAC/DC,KAAaT,EAAkBO,GAAaE,CAAW,GACpD,OAAA,eAAeF,GAAa,aAAa;AAAA,IAC9C,UAAU;AAAA,EAAA,CACX,GACMA;AACT;","x_google_ignoreList":[0]}
|
package/dist/index.es74.js
CHANGED
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
enumerable: !0,
|
|
6
|
-
configurable: !0,
|
|
7
|
-
writable: !0
|
|
8
|
-
}) : r[e] = t, r;
|
|
1
|
+
function i(e) {
|
|
2
|
+
if (e === void 0)
|
|
3
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
|
+
return e;
|
|
9
5
|
}
|
|
10
6
|
export {
|
|
11
|
-
|
|
7
|
+
i as default
|
|
12
8
|
};
|
|
13
9
|
//# sourceMappingURL=index.es74.js.map
|
package/dist/index.es74.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es74.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/
|
|
1
|
+
{"version":3,"file":"index.es74.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js"],"sourcesContent":["export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}"],"names":["_assertThisInitialized","self"],"mappings":"AAAA,SAAwBA,EAAuBC,GAAM;AACnD,MAAIA,MAAS;AACL,UAAA,IAAI,eAAe,2DAA2D;AAE/E,SAAAA;AACT;","x_google_ignoreList":[0]}
|
package/dist/index.es75.js
CHANGED
|
@@ -1,11 +1,18 @@
|
|
|
1
|
-
import o from "./index.
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import o from "./index.es237.js";
|
|
2
|
+
function i(e, t) {
|
|
3
|
+
if (typeof t != "function" && t !== null)
|
|
4
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
5
|
+
e.prototype = Object.create(t && t.prototype, {
|
|
6
|
+
constructor: {
|
|
7
|
+
value: e,
|
|
8
|
+
writable: !0,
|
|
9
|
+
configurable: !0
|
|
10
|
+
}
|
|
11
|
+
}), Object.defineProperty(e, "prototype", {
|
|
12
|
+
writable: !1
|
|
13
|
+
}), t && o(e, t);
|
|
7
14
|
}
|
|
8
15
|
export {
|
|
9
|
-
|
|
16
|
+
i as default
|
|
10
17
|
};
|
|
11
18
|
//# sourceMappingURL=index.es75.js.map
|
package/dist/index.es75.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es75.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/
|
|
1
|
+
{"version":3,"file":"index.es75.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/inherits.js"],"sourcesContent":["import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}"],"names":["_inherits","subClass","superClass","setPrototypeOf"],"mappings":";AACwB,SAAAA,EAAUC,GAAUC,GAAY;AACtD,MAAI,OAAOA,KAAe,cAAcA,MAAe;AAC/C,UAAA,IAAI,UAAU,oDAAoD;AAE1E,EAAAD,EAAS,YAAY,OAAO,OAAOC,KAAcA,EAAW,WAAW;AAAA,IACrE,aAAa;AAAA,MACX,OAAOD;AAAA,MACP,UAAU;AAAA,MACV,cAAc;AAAA,IAChB;AAAA,EAAA,CACD,GACM,OAAA,eAAeA,GAAU,aAAa;AAAA,IAC3C,UAAU;AAAA,EAAA,CACX,GACGC,KAAYC,EAAeF,GAAUC,CAAU;AACrD;","x_google_ignoreList":[0]}
|