@carbon/charts 1.11.3 → 1.11.4
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/CHANGELOG.md +13 -0
- package/dist/{_baseEach-477c04db.js → _baseEach-326db134.js} +2 -2
- package/dist/{_baseEach-477c04db.js.map → _baseEach-326db134.js.map} +1 -1
- package/dist/{_baseEach-05847c57.mjs → _baseEach-9b6a12fa.mjs} +2 -2
- package/dist/{_baseEach-05847c57.mjs.map → _baseEach-9b6a12fa.mjs.map} +1 -1
- package/dist/angle-utils-264ed176.mjs +840 -0
- package/dist/angle-utils-264ed176.mjs.map +1 -0
- package/dist/angle-utils-ccc0d890.js +3 -0
- package/dist/angle-utils-ccc0d890.js.map +1 -0
- package/dist/{choropleth-449cf25e.mjs → choropleth-141685a0.mjs} +271 -268
- package/dist/{choropleth-449cf25e.mjs.map → choropleth-141685a0.mjs.map} +1 -1
- package/dist/{choropleth-db3ae9eb.js → choropleth-b1a3729f.js} +8 -8
- package/dist/{choropleth-db3ae9eb.js.map → choropleth-b1a3729f.js.map} +1 -1
- package/dist/color-scale-utils-2cd523be.js +2 -0
- package/dist/color-scale-utils-2cd523be.js.map +1 -0
- package/dist/color-scale-utils-b9604b2c.mjs +3335 -0
- package/dist/color-scale-utils-b9604b2c.mjs.map +1 -0
- package/dist/components/index.js +1 -1
- package/dist/components/index.mjs +4 -4
- package/dist/demo/index.js +1 -1
- package/dist/demo/index.js.map +1 -1
- package/dist/demo/index.mjs +6 -6
- package/dist/{index-e425a7b5.mjs → index-4b5d1e49.mjs} +3 -3
- package/dist/{index-e425a7b5.mjs.map → index-4b5d1e49.mjs.map} +1 -1
- package/dist/{index-4203ca23.js → index-eace9da9.js} +2 -2
- package/dist/{index-4203ca23.js.map → index-eace9da9.js.map} +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +38 -38
- package/dist/model/index.js +1 -1
- package/dist/model/index.mjs +34 -34
- package/dist/services/index.js +1 -1
- package/dist/services/index.mjs +10 -10
- package/package.json +3 -3
- package/dist/angle-utils-512bc5cd.js +0 -2
- package/dist/angle-utils-512bc5cd.js.map +0 -1
- package/dist/angle-utils-7255d1d9.mjs +0 -387
- package/dist/angle-utils-7255d1d9.mjs.map +0 -1
- package/dist/color-scale-utils-222feda6.mjs +0 -3815
- package/dist/color-scale-utils-222feda6.mjs.map +0 -1
- package/dist/color-scale-utils-79786095.js +0 -3
- package/dist/color-scale-utils-79786095.js.map +0 -1
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { select as x, pointer as Je, brushX as ms, scaleTime as Zs, extent as Qe, area as kt, line as It, axisBottom as
|
|
2
|
-
import { t as Es, i as vn,
|
|
3
|
-
import { y as H, _ as f, K as ee, r as ye, q as Te, L as
|
|
1
|
+
import { select as x, pointer as Je, brushX as ms, scaleTime as Zs, extent as Qe, area as kt, line as It, axisBottom as Rt, axisLeft as fs, axisTop as Xs, axisRight as Ys, scaleLinear as Oe, arc as $e, easeLinear as qs, path as Dt, interpolateNumber as vs, quantize as Ks, scaleBand as _t, hierarchy as Pt, pack as Js, pie as Qs, interpolate as en, interpolateRound as tn, min as ht, max as Nt, lineRadial as sn, curveLinearClosed as nn, cluster as an, tree as rn, linkHorizontal as on, treemap as ln, hsl as ys, color as bs, geoPath as cn, geoNaturalEarth1 as dn, geoMercator as hn, geoEquirectangular as un, geoConicEquidistant as pn, geoConicEqualArea as gn, geoAlbers as mn, geoEqualEarth as fn } from "d3";
|
|
2
|
+
import { t as Es, i as vn, S as Ss, U as yn, V as xs, W as bn, X as En, Y as Sn, Z as xn, g as y, d as he, f as Re, F as Ht, _ as Q, z as K, $ as Ge, a0 as Ut, K as de, H as On, a1 as Os, e as Tn, a2 as ve, L as ut, N as pt, j as pe, a3 as Ve, a4 as ge, l as fe, A as me, a5 as Ln, n as ke, R as wn, C as Z, q as ce, a6 as ie, a7 as Mn, P as An, B as se, u as Pe, s as He, a8 as zt, a9 as Cn, aa as Ft, D as Ee } from "./color-scale-utils-b9604b2c.mjs";
|
|
3
|
+
import { y as H, _ as f, K as ee, r as ye, q as Te, L as kn, A as ue, m as $, s as Se, V as Ie, S as te, e as P, Z as Le, i as le, f as Wt, J as nt, d as In, F as Ue, n as at, H as it, C as rt, p as ze, b as jt, D as ot, Q as Rn, x as xe, $ as Fe, N as lt } from "./enums-a96ef472.mjs";
|
|
4
4
|
import { R as U } from "./a11y-7bad4f48.mjs";
|
|
5
|
-
import { t as ct, D as E, c as gt, G as Zt, a as
|
|
6
|
-
import { sankey as
|
|
7
|
-
import { b as Ts } from "./_baseEach-
|
|
8
|
-
import
|
|
9
|
-
function
|
|
5
|
+
import { t as ct, D as E, c as gt, G as Zt, a as Dn, p as Y, r as Xt, b as _n } from "./angle-utils-264ed176.mjs";
|
|
6
|
+
import { sankey as Pn, sankeyLinkHorizontal as Vn, sankeyJustify as Bn, sankeyLeft as $n, sankeyRight as Gn } from "d3-sankey";
|
|
7
|
+
import { b as Ts } from "./_baseEach-9b6a12fa.mjs";
|
|
8
|
+
import Nn from "d3-cloud";
|
|
9
|
+
function Hn(r, e, t, s) {
|
|
10
10
|
var n = -1, a = r == null ? 0 : r.length;
|
|
11
11
|
for (s && a && (t = r[++n]); ++n < a; )
|
|
12
12
|
t = e(t, r[n], n, r);
|
|
13
13
|
return t;
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function Un(r) {
|
|
16
16
|
return function(e) {
|
|
17
17
|
return r == null ? void 0 : r[e];
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
|
-
var
|
|
20
|
+
var zn = {
|
|
21
21
|
// Latin-1 Supplement block.
|
|
22
22
|
À: "A",
|
|
23
23
|
Á: "A",
|
|
@@ -210,47 +210,47 @@ var Fn = {
|
|
|
210
210
|
œ: "oe",
|
|
211
211
|
ʼn: "'n",
|
|
212
212
|
ſ: "s"
|
|
213
|
-
},
|
|
214
|
-
const
|
|
215
|
-
var
|
|
216
|
-
function
|
|
217
|
-
return r = Es(r), r && r.replace(
|
|
218
|
-
}
|
|
219
|
-
var
|
|
220
|
-
function
|
|
221
|
-
return r.match(
|
|
222
|
-
}
|
|
223
|
-
var
|
|
224
|
-
function
|
|
225
|
-
return
|
|
226
|
-
}
|
|
227
|
-
var Ls = "\\ud800-\\udfff",
|
|
228
|
-
Ce + "?" +
|
|
229
|
-
|
|
213
|
+
}, Fn = Un(zn);
|
|
214
|
+
const Wn = Fn;
|
|
215
|
+
var jn = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Zn = "\\u0300-\\u036f", Xn = "\\ufe20-\\ufe2f", Yn = "\\u20d0-\\u20ff", qn = Zn + Xn + Yn, Kn = "[" + qn + "]", Jn = RegExp(Kn, "g");
|
|
216
|
+
function Qn(r) {
|
|
217
|
+
return r = Es(r), r && r.replace(jn, Wn).replace(Jn, "");
|
|
218
|
+
}
|
|
219
|
+
var ea = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
|
|
220
|
+
function ta(r) {
|
|
221
|
+
return r.match(ea) || [];
|
|
222
|
+
}
|
|
223
|
+
var sa = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
|
|
224
|
+
function na(r) {
|
|
225
|
+
return sa.test(r);
|
|
226
|
+
}
|
|
227
|
+
var Ls = "\\ud800-\\udfff", aa = "\\u0300-\\u036f", ia = "\\ufe20-\\ufe2f", ra = "\\u20d0-\\u20ff", oa = aa + ia + ra, ws = "\\u2700-\\u27bf", Ms = "a-z\\xdf-\\xf6\\xf8-\\xff", la = "\\xac\\xb1\\xd7\\xf7", ca = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", da = "\\u2000-\\u206f", ha = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", As = "A-Z\\xc0-\\xd6\\xd8-\\xde", ua = "\\ufe0e\\ufe0f", Cs = la + ca + da + ha, ks = "['’]", Yt = "[" + Cs + "]", pa = "[" + oa + "]", Is = "\\d+", ga = "[" + ws + "]", Rs = "[" + Ms + "]", Ds = "[^" + Ls + Cs + Is + ws + Ms + As + "]", ma = "\\ud83c[\\udffb-\\udfff]", fa = "(?:" + pa + "|" + ma + ")", va = "[^" + Ls + "]", _s = "(?:\\ud83c[\\udde6-\\uddff]){2}", Ps = "[\\ud800-\\udbff][\\udc00-\\udfff]", Ce = "[" + As + "]", ya = "\\u200d", qt = "(?:" + Rs + "|" + Ds + ")", ba = "(?:" + Ce + "|" + Ds + ")", Kt = "(?:" + ks + "(?:d|ll|m|re|s|t|ve))?", Jt = "(?:" + ks + "(?:D|LL|M|RE|S|T|VE))?", Vs = fa + "?", Bs = "[" + ua + "]?", Ea = "(?:" + ya + "(?:" + [va, _s, Ps].join("|") + ")" + Bs + Vs + ")*", Sa = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", xa = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Oa = Bs + Vs + Ea, Ta = "(?:" + [ga, _s, Ps].join("|") + ")" + Oa, La = RegExp([
|
|
228
|
+
Ce + "?" + Rs + "+" + Kt + "(?=" + [Yt, Ce, "$"].join("|") + ")",
|
|
229
|
+
ba + "+" + Jt + "(?=" + [Yt, Ce + qt, "$"].join("|") + ")",
|
|
230
230
|
Ce + "?" + qt + "+" + Kt,
|
|
231
231
|
Ce + "+" + Jt,
|
|
232
|
-
Oa,
|
|
233
232
|
xa,
|
|
233
|
+
Sa,
|
|
234
234
|
Is,
|
|
235
|
-
|
|
235
|
+
Ta
|
|
236
236
|
].join("|"), "g");
|
|
237
|
-
function
|
|
238
|
-
return r.match(
|
|
237
|
+
function wa(r) {
|
|
238
|
+
return r.match(La) || [];
|
|
239
239
|
}
|
|
240
|
-
function
|
|
241
|
-
return r = Es(r), e = t ? void 0 : e, e === void 0 ?
|
|
240
|
+
function Ma(r, e, t) {
|
|
241
|
+
return r = Es(r), e = t ? void 0 : e, e === void 0 ? na(r) ? wa(r) : ta(r) : r.match(e) || [];
|
|
242
242
|
}
|
|
243
|
-
var
|
|
244
|
-
function
|
|
243
|
+
var Aa = "['’]", Ca = RegExp(Aa, "g");
|
|
244
|
+
function ka(r) {
|
|
245
245
|
return function(e) {
|
|
246
|
-
return
|
|
246
|
+
return Hn(Ma(Qn(e).replace(Ca, "")), r, "");
|
|
247
247
|
};
|
|
248
248
|
}
|
|
249
|
-
function
|
|
249
|
+
function Ia(r, e, t) {
|
|
250
250
|
return r === r && (t !== void 0 && (r = r <= t ? r : t), e !== void 0 && (r = r >= e ? r : e)), r;
|
|
251
251
|
}
|
|
252
252
|
function $s(r, e, t) {
|
|
253
|
-
return t === void 0 && (t = e, e = void 0), t !== void 0 && (t = ct(t), t = t === t ? t : 0), e !== void 0 && (e = ct(e), e = e === e ? e : 0),
|
|
253
|
+
return t === void 0 && (t = e, e = void 0), t !== void 0 && (t = ct(t), t = t === t ? t : 0), e !== void 0 && (e = ct(e), e = e === e ? e : 0), Ia(ct(r), e, t);
|
|
254
254
|
}
|
|
255
255
|
function Ra(r, e) {
|
|
256
256
|
var t = -1, s = vn(r) ? Array(r.length) : [];
|
|
@@ -258,29 +258,29 @@ function Ra(r, e) {
|
|
|
258
258
|
s[++t] = e(n, a, i);
|
|
259
259
|
}), s;
|
|
260
260
|
}
|
|
261
|
-
function
|
|
261
|
+
function Da(r, e) {
|
|
262
262
|
var t = Ss(r) ? yn : Ra;
|
|
263
263
|
return t(r, xs(e));
|
|
264
264
|
}
|
|
265
|
-
var
|
|
266
|
-
function
|
|
267
|
-
return bn(
|
|
265
|
+
var _a = 1 / 0;
|
|
266
|
+
function Pa(r, e) {
|
|
267
|
+
return bn(Da(r, e), _a);
|
|
268
268
|
}
|
|
269
269
|
function Gs(r, e) {
|
|
270
270
|
return En(r, e);
|
|
271
271
|
}
|
|
272
|
-
var
|
|
272
|
+
var Va = ka(function(r, e, t) {
|
|
273
273
|
return r + (t ? "-" : "") + e.toLowerCase();
|
|
274
274
|
});
|
|
275
|
-
const we =
|
|
276
|
-
function
|
|
275
|
+
const we = Va;
|
|
276
|
+
function Ba(r, e) {
|
|
277
277
|
var t;
|
|
278
278
|
return Ts(r, function(s, n, a) {
|
|
279
279
|
return t = e(s, n, a), !t;
|
|
280
280
|
}), !!t;
|
|
281
281
|
}
|
|
282
|
-
function
|
|
283
|
-
var s = Ss(r) ? Sn :
|
|
282
|
+
function $a(r, e, t) {
|
|
283
|
+
var s = Ss(r) ? Sn : Ba;
|
|
284
284
|
return t && xn(r, e, t) && (e = void 0), s(r, xs(e));
|
|
285
285
|
}
|
|
286
286
|
class z {
|
|
@@ -343,7 +343,7 @@ class z {
|
|
|
343
343
|
* component's config.options object.
|
|
344
344
|
*/
|
|
345
345
|
getOptions() {
|
|
346
|
-
return this.configs.options ?
|
|
346
|
+
return this.configs.options ? Re({}, this.model.getOptions(), this.configs.options) : this.model.getOptions();
|
|
347
347
|
}
|
|
348
348
|
}
|
|
349
349
|
const Ns = class extends z {
|
|
@@ -668,8 +668,8 @@ const Ns = class extends z {
|
|
|
668
668
|
}
|
|
669
669
|
}
|
|
670
670
|
};
|
|
671
|
-
let
|
|
672
|
-
|
|
671
|
+
let Ga = Ns;
|
|
672
|
+
Ga.buttonID = 0;
|
|
673
673
|
const Hs = class extends z {
|
|
674
674
|
constructor(r, e, t, s) {
|
|
675
675
|
super(r, e, s), this.type = "layout", this.configs = s, this.children = t, this._instanceID = Hs.instanceID++, this.init();
|
|
@@ -709,7 +709,7 @@ const Hs = class extends z {
|
|
|
709
709
|
this.configs.direction === Te.COLUMN_REVERSE
|
|
710
710
|
).classed(
|
|
711
711
|
`${he}--${a}--layout-alignitems-center`,
|
|
712
|
-
this.configs.alignItems ===
|
|
712
|
+
this.configs.alignItems === kn.CENTER
|
|
713
713
|
).selectAll(`div.layout-child-${this._instanceID}`).data(this.children, (c) => c.id);
|
|
714
714
|
i.enter().append("div").merge(e.selectAll(`div.layout-child-${this._instanceID}`)).attr("class", (c) => `layout-child layout-child-${this._instanceID} ${c.id}`).each(function(c) {
|
|
715
715
|
c.components.forEach((d) => {
|
|
@@ -756,8 +756,8 @@ const Hs = class extends z {
|
|
|
756
756
|
});
|
|
757
757
|
}
|
|
758
758
|
};
|
|
759
|
-
let
|
|
760
|
-
|
|
759
|
+
let Na = Hs;
|
|
760
|
+
Na.instanceID = Math.floor(Math.random() * 99999999999);
|
|
761
761
|
class nc extends z {
|
|
762
762
|
constructor() {
|
|
763
763
|
super(...arguments), this.type = "spacer";
|
|
@@ -769,7 +769,7 @@ class nc extends z {
|
|
|
769
769
|
this.getComponentContainer().style("width", `${this.configs.size || Ht.default.size}px`).style("height", `${this.configs.size || Ht.default.size}px`).attr("opacity", 0);
|
|
770
770
|
}
|
|
771
771
|
}
|
|
772
|
-
var
|
|
772
|
+
var Ha = {
|
|
773
773
|
prefix: "bx",
|
|
774
774
|
selectorTabbable: `
|
|
775
775
|
a[href], area[href], input:not([disabled]):not([tabindex='-1']),
|
|
@@ -783,30 +783,30 @@ var Ua = {
|
|
|
783
783
|
textarea:not([disabled]),
|
|
784
784
|
iframe, object, embed, *[tabindex], *[contenteditable=true]
|
|
785
785
|
`
|
|
786
|
-
}, dt =
|
|
786
|
+
}, dt = Ha;
|
|
787
787
|
function Qt(r, e) {
|
|
788
788
|
for (var t = 0; t < e.length; t++) {
|
|
789
789
|
var s = e[t];
|
|
790
790
|
s.enumerable = s.enumerable || !1, s.configurable = !0, "value" in s && (s.writable = !0), Object.defineProperty(r, s.key, s);
|
|
791
791
|
}
|
|
792
792
|
}
|
|
793
|
-
function
|
|
793
|
+
function Ua(r, e, t) {
|
|
794
794
|
return e && Qt(r.prototype, e), t && Qt(r, t), Object.defineProperty(r, "prototype", {
|
|
795
795
|
writable: !1
|
|
796
796
|
}), r;
|
|
797
797
|
}
|
|
798
|
-
function
|
|
798
|
+
function za(r, e) {
|
|
799
799
|
if (!(r instanceof e))
|
|
800
800
|
throw new TypeError("Cannot call a class as a function");
|
|
801
801
|
}
|
|
802
|
-
function
|
|
803
|
-
return
|
|
802
|
+
function Fa(r) {
|
|
803
|
+
return Xa(r) || Za(r) || ja(r) || Wa();
|
|
804
804
|
}
|
|
805
|
-
function
|
|
805
|
+
function Wa() {
|
|
806
806
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
807
807
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
808
808
|
}
|
|
809
|
-
function
|
|
809
|
+
function ja(r, e) {
|
|
810
810
|
if (r) {
|
|
811
811
|
if (typeof r == "string")
|
|
812
812
|
return mt(r, e);
|
|
@@ -817,11 +817,11 @@ function Za(r, e) {
|
|
|
817
817
|
return mt(r, e);
|
|
818
818
|
}
|
|
819
819
|
}
|
|
820
|
-
function
|
|
820
|
+
function Za(r) {
|
|
821
821
|
if (typeof Symbol < "u" && r[Symbol.iterator] != null || r["@@iterator"] != null)
|
|
822
822
|
return Array.from(r);
|
|
823
823
|
}
|
|
824
|
-
function
|
|
824
|
+
function Xa(r) {
|
|
825
825
|
if (Array.isArray(r))
|
|
826
826
|
return mt(r);
|
|
827
827
|
}
|
|
@@ -833,19 +833,19 @@ function mt(r, e) {
|
|
|
833
833
|
}
|
|
834
834
|
function Us(r) {
|
|
835
835
|
return r.reduce(function(e, t) {
|
|
836
|
-
return Array.isArray(t) ? e.push.apply(e,
|
|
836
|
+
return Array.isArray(t) ? e.push.apply(e, Fa(Us(t))) : e.push(t), e;
|
|
837
837
|
}, []);
|
|
838
838
|
}
|
|
839
|
-
function
|
|
839
|
+
function Ya() {
|
|
840
840
|
for (var r = arguments.length, e = new Array(r), t = 0; t < r; t++)
|
|
841
841
|
e[t] = arguments[t];
|
|
842
842
|
return Us(e).reduce(function(s, n) {
|
|
843
843
|
return n(s);
|
|
844
844
|
}, /* @__PURE__ */ function() {
|
|
845
845
|
function s() {
|
|
846
|
-
|
|
846
|
+
za(this, s);
|
|
847
847
|
}
|
|
848
|
-
return
|
|
848
|
+
return Ua(s);
|
|
849
849
|
}());
|
|
850
850
|
}
|
|
851
851
|
function ft(r) {
|
|
@@ -856,7 +856,7 @@ function ft(r) {
|
|
|
856
856
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
857
857
|
}, ft(r);
|
|
858
858
|
}
|
|
859
|
-
function
|
|
859
|
+
function qa(r, e) {
|
|
860
860
|
if (!(r instanceof e))
|
|
861
861
|
throw new TypeError("Cannot call a class as a function");
|
|
862
862
|
}
|
|
@@ -866,12 +866,12 @@ function es(r, e) {
|
|
|
866
866
|
s.enumerable = s.enumerable || !1, s.configurable = !0, "value" in s && (s.writable = !0), Object.defineProperty(r, s.key, s);
|
|
867
867
|
}
|
|
868
868
|
}
|
|
869
|
-
function
|
|
869
|
+
function Ka(r, e, t) {
|
|
870
870
|
return e && es(r.prototype, e), t && es(r, t), Object.defineProperty(r, "prototype", {
|
|
871
871
|
writable: !1
|
|
872
872
|
}), r;
|
|
873
873
|
}
|
|
874
|
-
function
|
|
874
|
+
function Ja(r, e) {
|
|
875
875
|
if (typeof e != "function" && e !== null)
|
|
876
876
|
throw new TypeError("Super expression must either be null or a function");
|
|
877
877
|
r.prototype = Object.create(e && e.prototype, {
|
|
@@ -889,8 +889,8 @@ function vt(r, e) {
|
|
|
889
889
|
return s.__proto__ = n, s;
|
|
890
890
|
}, vt(r, e);
|
|
891
891
|
}
|
|
892
|
-
function
|
|
893
|
-
var e =
|
|
892
|
+
function Qa(r) {
|
|
893
|
+
var e = ti();
|
|
894
894
|
return function() {
|
|
895
895
|
var s = Ze(r), n;
|
|
896
896
|
if (e) {
|
|
@@ -898,10 +898,10 @@ function ei(r) {
|
|
|
898
898
|
n = Reflect.construct(s, arguments, a);
|
|
899
899
|
} else
|
|
900
900
|
n = s.apply(this, arguments);
|
|
901
|
-
return
|
|
901
|
+
return ei(this, n);
|
|
902
902
|
};
|
|
903
903
|
}
|
|
904
|
-
function
|
|
904
|
+
function ei(r, e) {
|
|
905
905
|
if (e && (ft(e) === "object" || typeof e == "function"))
|
|
906
906
|
return e;
|
|
907
907
|
if (e !== void 0)
|
|
@@ -913,7 +913,7 @@ function zs(r) {
|
|
|
913
913
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
914
914
|
return r;
|
|
915
915
|
}
|
|
916
|
-
function
|
|
916
|
+
function ti() {
|
|
917
917
|
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
|
|
918
918
|
return !1;
|
|
919
919
|
if (typeof Proxy == "function")
|
|
@@ -930,17 +930,17 @@ function Ze(r) {
|
|
|
930
930
|
return t.__proto__ || Object.getPrototypeOf(t);
|
|
931
931
|
}, Ze(r);
|
|
932
932
|
}
|
|
933
|
-
function
|
|
933
|
+
function si(r) {
|
|
934
934
|
var e = /* @__PURE__ */ function(t) {
|
|
935
|
-
|
|
936
|
-
var s =
|
|
935
|
+
Ja(n, t);
|
|
936
|
+
var s = Qa(n);
|
|
937
937
|
function n(a) {
|
|
938
938
|
var i, o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
939
|
-
if (
|
|
939
|
+
if (qa(this, n), i = s.call(this, a, o), i.children = [], !a || a.nodeType !== Node.ELEMENT_NODE)
|
|
940
940
|
throw new TypeError("DOM element should be given to initialize this widget.");
|
|
941
941
|
return i.element = a, i.options = Object.assign(Object.create(i.constructor.options), o), i.constructor.components.set(i.element, zs(i)), i;
|
|
942
942
|
}
|
|
943
|
-
return
|
|
943
|
+
return Ka(n, [{
|
|
944
944
|
key: "release",
|
|
945
945
|
value: (
|
|
946
946
|
/**
|
|
@@ -969,7 +969,7 @@ function yt(r) {
|
|
|
969
969
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
970
970
|
}, yt(r);
|
|
971
971
|
}
|
|
972
|
-
function
|
|
972
|
+
function ni(r, e) {
|
|
973
973
|
if (!(r instanceof e))
|
|
974
974
|
throw new TypeError("Cannot call a class as a function");
|
|
975
975
|
}
|
|
@@ -979,26 +979,26 @@ function ts(r, e) {
|
|
|
979
979
|
s.enumerable = s.enumerable || !1, s.configurable = !0, "value" in s && (s.writable = !0), Object.defineProperty(r, s.key, s);
|
|
980
980
|
}
|
|
981
981
|
}
|
|
982
|
-
function
|
|
982
|
+
function ai(r, e, t) {
|
|
983
983
|
return e && ts(r.prototype, e), t && ts(r, t), Object.defineProperty(r, "prototype", {
|
|
984
984
|
writable: !1
|
|
985
985
|
}), r;
|
|
986
986
|
}
|
|
987
987
|
function We() {
|
|
988
988
|
return typeof Reflect < "u" && Reflect.get ? We = Reflect.get : We = function(e, t, s) {
|
|
989
|
-
var n =
|
|
989
|
+
var n = ii(e, t);
|
|
990
990
|
if (n) {
|
|
991
991
|
var a = Object.getOwnPropertyDescriptor(n, t);
|
|
992
992
|
return a.get ? a.get.call(arguments.length < 3 ? e : s) : a.value;
|
|
993
993
|
}
|
|
994
994
|
}, We.apply(this, arguments);
|
|
995
995
|
}
|
|
996
|
-
function
|
|
997
|
-
for (; !Object.prototype.hasOwnProperty.call(r, e) && (r =
|
|
996
|
+
function ii(r, e) {
|
|
997
|
+
for (; !Object.prototype.hasOwnProperty.call(r, e) && (r = De(r), r !== null); )
|
|
998
998
|
;
|
|
999
999
|
return r;
|
|
1000
1000
|
}
|
|
1001
|
-
function
|
|
1001
|
+
function ri(r, e) {
|
|
1002
1002
|
if (typeof e != "function" && e !== null)
|
|
1003
1003
|
throw new TypeError("Super expression must either be null or a function");
|
|
1004
1004
|
r.prototype = Object.create(e && e.prototype, {
|
|
@@ -1016,31 +1016,31 @@ function bt(r, e) {
|
|
|
1016
1016
|
return s.__proto__ = n, s;
|
|
1017
1017
|
}, bt(r, e);
|
|
1018
1018
|
}
|
|
1019
|
-
function
|
|
1020
|
-
var e =
|
|
1019
|
+
function oi(r) {
|
|
1020
|
+
var e = di();
|
|
1021
1021
|
return function() {
|
|
1022
|
-
var s =
|
|
1022
|
+
var s = De(r), n;
|
|
1023
1023
|
if (e) {
|
|
1024
|
-
var a =
|
|
1024
|
+
var a = De(this).constructor;
|
|
1025
1025
|
n = Reflect.construct(s, arguments, a);
|
|
1026
1026
|
} else
|
|
1027
1027
|
n = s.apply(this, arguments);
|
|
1028
|
-
return
|
|
1028
|
+
return li(this, n);
|
|
1029
1029
|
};
|
|
1030
1030
|
}
|
|
1031
|
-
function
|
|
1031
|
+
function li(r, e) {
|
|
1032
1032
|
if (e && (yt(e) === "object" || typeof e == "function"))
|
|
1033
1033
|
return e;
|
|
1034
1034
|
if (e !== void 0)
|
|
1035
1035
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
1036
|
-
return
|
|
1036
|
+
return ci(r);
|
|
1037
1037
|
}
|
|
1038
|
-
function
|
|
1038
|
+
function ci(r) {
|
|
1039
1039
|
if (r === void 0)
|
|
1040
1040
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1041
1041
|
return r;
|
|
1042
1042
|
}
|
|
1043
|
-
function
|
|
1043
|
+
function di() {
|
|
1044
1044
|
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
|
|
1045
1045
|
return !1;
|
|
1046
1046
|
if (typeof Proxy == "function")
|
|
@@ -1052,23 +1052,23 @@ function hi() {
|
|
|
1052
1052
|
return !1;
|
|
1053
1053
|
}
|
|
1054
1054
|
}
|
|
1055
|
-
function
|
|
1056
|
-
return
|
|
1055
|
+
function De(r) {
|
|
1056
|
+
return De = Object.setPrototypeOf ? Object.getPrototypeOf : function(t) {
|
|
1057
1057
|
return t.__proto__ || Object.getPrototypeOf(t);
|
|
1058
|
-
},
|
|
1058
|
+
}, De(r);
|
|
1059
1059
|
}
|
|
1060
|
-
function
|
|
1060
|
+
function hi(r) {
|
|
1061
1061
|
var e = /* @__PURE__ */ function(t) {
|
|
1062
|
-
|
|
1063
|
-
var s =
|
|
1062
|
+
ri(n, t);
|
|
1063
|
+
var s = oi(n);
|
|
1064
1064
|
function n() {
|
|
1065
1065
|
var a;
|
|
1066
|
-
|
|
1066
|
+
ni(this, n);
|
|
1067
1067
|
for (var i = arguments.length, o = new Array(i), l = 0; l < i; l++)
|
|
1068
1068
|
o[l] = arguments[l];
|
|
1069
1069
|
return a = s.call.apply(s, [this].concat(o)), a.handles = /* @__PURE__ */ new Set(), a;
|
|
1070
1070
|
}
|
|
1071
|
-
return
|
|
1071
|
+
return ai(n, [{
|
|
1072
1072
|
key: "manage",
|
|
1073
1073
|
value: (
|
|
1074
1074
|
/**
|
|
@@ -1096,7 +1096,7 @@ function ui(r) {
|
|
|
1096
1096
|
var i = this;
|
|
1097
1097
|
return this.handles.forEach(function(o) {
|
|
1098
1098
|
o.release(), i.handles.delete(o);
|
|
1099
|
-
}), We(
|
|
1099
|
+
}), We(De(n.prototype), "release", this).call(this);
|
|
1100
1100
|
}
|
|
1101
1101
|
}]), n;
|
|
1102
1102
|
}(r);
|
|
@@ -1119,14 +1119,14 @@ function Et(r) {
|
|
|
1119
1119
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
1120
1120
|
}, Et(r);
|
|
1121
1121
|
}
|
|
1122
|
-
function
|
|
1123
|
-
return
|
|
1122
|
+
function ui(r) {
|
|
1123
|
+
return fi(r) || mi(r) || gi(r) || pi();
|
|
1124
1124
|
}
|
|
1125
|
-
function
|
|
1125
|
+
function pi() {
|
|
1126
1126
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1127
1127
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1128
1128
|
}
|
|
1129
|
-
function
|
|
1129
|
+
function gi(r, e) {
|
|
1130
1130
|
if (r) {
|
|
1131
1131
|
if (typeof r == "string")
|
|
1132
1132
|
return St(r, e);
|
|
@@ -1137,11 +1137,11 @@ function mi(r, e) {
|
|
|
1137
1137
|
return St(r, e);
|
|
1138
1138
|
}
|
|
1139
1139
|
}
|
|
1140
|
-
function
|
|
1140
|
+
function mi(r) {
|
|
1141
1141
|
if (typeof Symbol < "u" && r[Symbol.iterator] != null || r["@@iterator"] != null)
|
|
1142
1142
|
return Array.from(r);
|
|
1143
1143
|
}
|
|
1144
|
-
function
|
|
1144
|
+
function fi(r) {
|
|
1145
1145
|
if (Array.isArray(r))
|
|
1146
1146
|
return St(r);
|
|
1147
1147
|
}
|
|
@@ -1151,7 +1151,7 @@ function St(r, e) {
|
|
|
1151
1151
|
s[t] = r[t];
|
|
1152
1152
|
return s;
|
|
1153
1153
|
}
|
|
1154
|
-
function
|
|
1154
|
+
function vi(r, e) {
|
|
1155
1155
|
if (!(r instanceof e))
|
|
1156
1156
|
throw new TypeError("Cannot call a class as a function");
|
|
1157
1157
|
}
|
|
@@ -1161,12 +1161,12 @@ function ss(r, e) {
|
|
|
1161
1161
|
s.enumerable = s.enumerable || !1, s.configurable = !0, "value" in s && (s.writable = !0), Object.defineProperty(r, s.key, s);
|
|
1162
1162
|
}
|
|
1163
1163
|
}
|
|
1164
|
-
function
|
|
1164
|
+
function yi(r, e, t) {
|
|
1165
1165
|
return e && ss(r.prototype, e), t && ss(r, t), Object.defineProperty(r, "prototype", {
|
|
1166
1166
|
writable: !1
|
|
1167
1167
|
}), r;
|
|
1168
1168
|
}
|
|
1169
|
-
function
|
|
1169
|
+
function bi(r, e) {
|
|
1170
1170
|
if (typeof e != "function" && e !== null)
|
|
1171
1171
|
throw new TypeError("Super expression must either be null or a function");
|
|
1172
1172
|
r.prototype = Object.create(e && e.prototype, {
|
|
@@ -1184,8 +1184,8 @@ function xt(r, e) {
|
|
|
1184
1184
|
return s.__proto__ = n, s;
|
|
1185
1185
|
}, xt(r, e);
|
|
1186
1186
|
}
|
|
1187
|
-
function
|
|
1188
|
-
var e =
|
|
1187
|
+
function Ei(r) {
|
|
1188
|
+
var e = Oi();
|
|
1189
1189
|
return function() {
|
|
1190
1190
|
var s = Xe(r), n;
|
|
1191
1191
|
if (e) {
|
|
@@ -1193,22 +1193,22 @@ function Si(r) {
|
|
|
1193
1193
|
n = Reflect.construct(s, arguments, a);
|
|
1194
1194
|
} else
|
|
1195
1195
|
n = s.apply(this, arguments);
|
|
1196
|
-
return
|
|
1196
|
+
return Si(this, n);
|
|
1197
1197
|
};
|
|
1198
1198
|
}
|
|
1199
|
-
function
|
|
1199
|
+
function Si(r, e) {
|
|
1200
1200
|
if (e && (Et(e) === "object" || typeof e == "function"))
|
|
1201
1201
|
return e;
|
|
1202
1202
|
if (e !== void 0)
|
|
1203
1203
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
1204
|
-
return
|
|
1204
|
+
return xi(r);
|
|
1205
1205
|
}
|
|
1206
|
-
function
|
|
1206
|
+
function xi(r) {
|
|
1207
1207
|
if (r === void 0)
|
|
1208
1208
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1209
1209
|
return r;
|
|
1210
1210
|
}
|
|
1211
|
-
function
|
|
1211
|
+
function Oi() {
|
|
1212
1212
|
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
|
|
1213
1213
|
return !1;
|
|
1214
1214
|
if (typeof Proxy == "function")
|
|
@@ -1225,14 +1225,14 @@ function Xe(r) {
|
|
|
1225
1225
|
return t.__proto__ || Object.getPrototypeOf(t);
|
|
1226
1226
|
}, Xe(r);
|
|
1227
1227
|
}
|
|
1228
|
-
function
|
|
1228
|
+
function Ti(r) {
|
|
1229
1229
|
var e = /* @__PURE__ */ function(t) {
|
|
1230
|
-
|
|
1231
|
-
var s =
|
|
1230
|
+
bi(n, t);
|
|
1231
|
+
var s = Ei(n);
|
|
1232
1232
|
function n() {
|
|
1233
|
-
return
|
|
1233
|
+
return vi(this, n), s.apply(this, arguments);
|
|
1234
1234
|
}
|
|
1235
|
-
return
|
|
1235
|
+
return yi(n, [{
|
|
1236
1236
|
key: "_changeState",
|
|
1237
1237
|
value: (
|
|
1238
1238
|
/* eslint-disable jsdoc/check-param-names */
|
|
@@ -1284,7 +1284,7 @@ function Li(r) {
|
|
|
1284
1284
|
}
|
|
1285
1285
|
} else {
|
|
1286
1286
|
var O = [d, p].filter(Boolean);
|
|
1287
|
-
this._changeState.apply(this,
|
|
1287
|
+
this._changeState.apply(this, ui(O).concat([function() {
|
|
1288
1288
|
b.dispatchEvent(new CustomEvent(i.options["eventAfter".concat(g)], {
|
|
1289
1289
|
bubbles: !0,
|
|
1290
1290
|
cancelable: !0,
|
|
@@ -1345,7 +1345,7 @@ function Tt(r) {
|
|
|
1345
1345
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
1346
1346
|
}, Tt(r);
|
|
1347
1347
|
}
|
|
1348
|
-
function
|
|
1348
|
+
function Li(r, e) {
|
|
1349
1349
|
if (!(r instanceof e))
|
|
1350
1350
|
throw new TypeError("Cannot call a class as a function");
|
|
1351
1351
|
}
|
|
@@ -1355,12 +1355,12 @@ function as(r, e) {
|
|
|
1355
1355
|
s.enumerable = s.enumerable || !1, s.configurable = !0, "value" in s && (s.writable = !0), Object.defineProperty(r, s.key, s);
|
|
1356
1356
|
}
|
|
1357
1357
|
}
|
|
1358
|
-
function
|
|
1358
|
+
function wi(r, e, t) {
|
|
1359
1359
|
return e && as(r.prototype, e), t && as(r, t), Object.defineProperty(r, "prototype", {
|
|
1360
1360
|
writable: !1
|
|
1361
1361
|
}), r;
|
|
1362
1362
|
}
|
|
1363
|
-
function
|
|
1363
|
+
function Mi(r, e) {
|
|
1364
1364
|
if (typeof e != "function" && e !== null)
|
|
1365
1365
|
throw new TypeError("Super expression must either be null or a function");
|
|
1366
1366
|
r.prototype = Object.create(e && e.prototype, {
|
|
@@ -1378,8 +1378,8 @@ function Lt(r, e) {
|
|
|
1378
1378
|
return s.__proto__ = n, s;
|
|
1379
1379
|
}, Lt(r, e);
|
|
1380
1380
|
}
|
|
1381
|
-
function
|
|
1382
|
-
var e =
|
|
1381
|
+
function Ai(r) {
|
|
1382
|
+
var e = Ii();
|
|
1383
1383
|
return function() {
|
|
1384
1384
|
var s = Ye(r), n;
|
|
1385
1385
|
if (e) {
|
|
@@ -1387,22 +1387,22 @@ function Ci(r) {
|
|
|
1387
1387
|
n = Reflect.construct(s, arguments, a);
|
|
1388
1388
|
} else
|
|
1389
1389
|
n = s.apply(this, arguments);
|
|
1390
|
-
return
|
|
1390
|
+
return Ci(this, n);
|
|
1391
1391
|
};
|
|
1392
1392
|
}
|
|
1393
|
-
function
|
|
1393
|
+
function Ci(r, e) {
|
|
1394
1394
|
if (e && (Tt(e) === "object" || typeof e == "function"))
|
|
1395
1395
|
return e;
|
|
1396
1396
|
if (e !== void 0)
|
|
1397
1397
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
1398
|
-
return
|
|
1398
|
+
return ki(r);
|
|
1399
1399
|
}
|
|
1400
|
-
function
|
|
1400
|
+
function ki(r) {
|
|
1401
1401
|
if (r === void 0)
|
|
1402
1402
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1403
1403
|
return r;
|
|
1404
1404
|
}
|
|
1405
|
-
function
|
|
1405
|
+
function Ii() {
|
|
1406
1406
|
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
|
|
1407
1407
|
return !1;
|
|
1408
1408
|
if (typeof Proxy == "function")
|
|
@@ -1421,12 +1421,12 @@ function Ye(r) {
|
|
|
1421
1421
|
}
|
|
1422
1422
|
function Ri(r) {
|
|
1423
1423
|
var e = /* @__PURE__ */ function(t) {
|
|
1424
|
-
|
|
1425
|
-
var s =
|
|
1424
|
+
Mi(n, t);
|
|
1425
|
+
var s = Ai(n);
|
|
1426
1426
|
function n() {
|
|
1427
|
-
return
|
|
1427
|
+
return Li(this, n), s.apply(this, arguments);
|
|
1428
1428
|
}
|
|
1429
|
-
return
|
|
1429
|
+
return wi(n, [{
|
|
1430
1430
|
key: "show",
|
|
1431
1431
|
value: (
|
|
1432
1432
|
/**
|
|
@@ -1454,8 +1454,11 @@ function Ri(r) {
|
|
|
1454
1454
|
}(r);
|
|
1455
1455
|
return e;
|
|
1456
1456
|
}
|
|
1457
|
-
var
|
|
1458
|
-
const
|
|
1457
|
+
var Di = [Ti, Ri];
|
|
1458
|
+
const _i = Di;
|
|
1459
|
+
function Pi(r) {
|
|
1460
|
+
return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
|
|
1461
|
+
}
|
|
1459
1462
|
var Fs = function() {
|
|
1460
1463
|
};
|
|
1461
1464
|
process.env.NODE_ENV !== "production" && (Fs = function(r, e, t) {
|
|
@@ -1483,7 +1486,7 @@ process.env.NODE_ENV !== "production" && (Fs = function(r, e, t) {
|
|
|
1483
1486
|
}
|
|
1484
1487
|
});
|
|
1485
1488
|
var Vi = Fs;
|
|
1486
|
-
const Bi = /* @__PURE__ */
|
|
1489
|
+
const Bi = /* @__PURE__ */ Pi(Vi);
|
|
1487
1490
|
function wt(r) {
|
|
1488
1491
|
"@babel/helpers - typeof";
|
|
1489
1492
|
return wt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
@@ -1838,7 +1841,7 @@ var Qi = /* @__PURE__ */ function(r) {
|
|
|
1838
1841
|
}
|
|
1839
1842
|
)
|
|
1840
1843
|
}]), t.components = /* @__PURE__ */ new WeakMap(), t;
|
|
1841
|
-
}(
|
|
1844
|
+
}(Ya(si, Wi, _i, hi));
|
|
1842
1845
|
const er = Qi;
|
|
1843
1846
|
class ac extends z {
|
|
1844
1847
|
constructor(e, t, s) {
|
|
@@ -2404,7 +2407,7 @@ class ar extends z {
|
|
|
2404
2407
|
height: l
|
|
2405
2408
|
})
|
|
2406
2409
|
);
|
|
2407
|
-
let { horizontalOffset: d } =
|
|
2410
|
+
let { horizontalOffset: d } = On;
|
|
2408
2411
|
c === ne.LEFT && (d *= -1);
|
|
2409
2412
|
const p = this.positionService.findPositionAt(
|
|
2410
2413
|
{
|
|
@@ -2525,14 +2528,14 @@ class rc extends z {
|
|
|
2525
2528
|
O && O[0] && O[1] && (O[0] = new Date(O[0]), O[1] = new Date(O[1])), O && !(S && S[0].valueOf() === O[0].valueOf() && S[1].valueOf() === O[1].valueOf()) ? this.model.set(
|
|
2526
2529
|
{
|
|
2527
2530
|
// use a new object instead of newInitialZoomDomain
|
|
2528
|
-
initialZoomDomain:
|
|
2529
|
-
zoomDomain: O ?
|
|
2531
|
+
initialZoomDomain: Re([], O),
|
|
2532
|
+
zoomDomain: O ? Re([], O) : v
|
|
2530
2533
|
},
|
|
2531
2534
|
{ skipUpdate: !0 }
|
|
2532
2535
|
) : O === null && S !== null && this.model.set(
|
|
2533
2536
|
{
|
|
2534
2537
|
initialZoomDomain: null,
|
|
2535
|
-
zoomDomain:
|
|
2538
|
+
zoomDomain: Re([], v)
|
|
2536
2539
|
},
|
|
2537
2540
|
{ skipUpdate: !0 }
|
|
2538
2541
|
), this.xScale.range([c, l]).domain(v), this.maxSelectionRange = this.xScale.range(), this.yScale.range([0, o - 6]).domain(Qe(b, (T) => T.value));
|
|
@@ -2637,7 +2640,7 @@ class rc extends z {
|
|
|
2637
2640
|
compensateDataForDefaultDomain(e, t) {
|
|
2638
2641
|
if (!e || e.length < 2)
|
|
2639
2642
|
return;
|
|
2640
|
-
const s =
|
|
2643
|
+
const s = Tn(e), n = this.services.cartesianScales.getDomainIdentifier(), a = this.services.cartesianScales.getRangeIdentifier();
|
|
2641
2644
|
if (Number(t[0]) < Number(s[0][n])) {
|
|
2642
2645
|
const i = {};
|
|
2643
2646
|
i[n] = t[0], i[a] = 0, s.unshift(i);
|
|
@@ -2977,9 +2980,9 @@ class dc extends z {
|
|
|
2977
2980
|
let l = pe.minNodePadding;
|
|
2978
2981
|
a.alluvial.nodePadding > pe.minNodePadding && (l = a.alluvial.nodePadding);
|
|
2979
2982
|
const c = y(a, "alluvial", "nodeAlignment");
|
|
2980
|
-
let d =
|
|
2981
|
-
c === ue.LEFT ? d =
|
|
2982
|
-
const p =
|
|
2983
|
+
let d = Bn;
|
|
2984
|
+
c === ue.LEFT ? d = $n : c === ue.RIGHT && (d = Gn);
|
|
2985
|
+
const p = Pn().nodeId((v) => v.name).nodeWidth(pe.nodeWidth).nodePadding(l).nodeAlign(d).extent([
|
|
2983
2986
|
[2, 30],
|
|
2984
2987
|
[s - 2, n]
|
|
2985
2988
|
]);
|
|
@@ -3010,7 +3013,7 @@ class dc extends z {
|
|
|
3010
3013
|
(S) => S.append("stop").attr("offset", "100%").attr("stop-color", (O) => v[O.target.name])
|
|
3011
3014
|
), g.exit().remove();
|
|
3012
3015
|
}
|
|
3013
|
-
g.enter().append("path").classed("link", !0).attr("d",
|
|
3016
|
+
g.enter().append("path").classed("link", !0).attr("d", Vn()).attr(
|
|
3014
3017
|
"id",
|
|
3015
3018
|
(v) => this.services.domUtils.generateElementIDString(`alluvial-line-${v.index}`)
|
|
3016
3019
|
).attr("class", (v) => a.alluvial.monochrome ? this.model.getColorClassName({
|
|
@@ -3201,7 +3204,7 @@ class hc extends z {
|
|
|
3201
3204
|
this.drawBackdrop(t, s), !(!t && !s) && (t && (E.appendOrSelect(this.backdrop, "g.x.grid"), this.drawXGrid(e)), s && (E.appendOrSelect(this.backdrop, "g.y.grid"), this.drawYGrid(e)));
|
|
3202
3205
|
}
|
|
3203
3206
|
drawXGrid(e) {
|
|
3204
|
-
const t = this.parent, s = this.backdrop.attr("height"), n = this.services.cartesianScales.getMainXScale(), a =
|
|
3207
|
+
const t = this.parent, s = this.backdrop.attr("height"), n = this.services.cartesianScales.getMainXScale(), a = Rt(n).tickSizeInner(-s).tickSizeOuter(0);
|
|
3205
3208
|
if (y(this.getOptions(), "grid", "x", "alignWithAxisTicks")) {
|
|
3206
3209
|
const l = this.services.cartesianScales.getDomainAxisPosition(), c = y(this.getOptions(), "axes", l, "ticks", "values");
|
|
3207
3210
|
c && a.tickValues(c);
|
|
@@ -3451,7 +3454,7 @@ class pc extends z {
|
|
|
3451
3454
|
[m]: L[m],
|
|
3452
3455
|
[O]: L[1]
|
|
3453
3456
|
})),
|
|
3454
|
-
hidden:
|
|
3457
|
+
hidden: !$a(v, (L) => L[0] !== L[1])
|
|
3455
3458
|
};
|
|
3456
3459
|
});
|
|
3457
3460
|
} else
|
|
@@ -3562,7 +3565,7 @@ class Ws extends z {
|
|
|
3562
3565
|
};
|
|
3563
3566
|
if (s.length > 100) {
|
|
3564
3567
|
const a = s.length % 50 * 12.5;
|
|
3565
|
-
n =
|
|
3568
|
+
n = Ln(
|
|
3566
3569
|
function(i) {
|
|
3567
3570
|
const { mousePosition: o } = this;
|
|
3568
3571
|
e.showRuler(i, o);
|
|
@@ -3850,7 +3853,7 @@ class js extends z {
|
|
|
3850
3853
|
h = fs;
|
|
3851
3854
|
break;
|
|
3852
3855
|
case P.BOTTOM:
|
|
3853
|
-
h =
|
|
3856
|
+
h = Rt;
|
|
3854
3857
|
break;
|
|
3855
3858
|
case P.RIGHT:
|
|
3856
3859
|
h = Ys;
|
|
@@ -3868,7 +3871,7 @@ class js extends z {
|
|
|
3868
3871
|
g.attr("aria-hidden", !0);
|
|
3869
3872
|
return;
|
|
3870
3873
|
}
|
|
3871
|
-
const L = y(b, "scaleType"), w = y(s, "data", "loading"), T = y(b, "ticks", "number"), k = y(b, "ticks", "values"), _ = y(b, "truncation", "type"), F = y(b, "truncation", "threshold"), V = y(b, "truncation", "numCharacter"), A = T !== null, M = y(s, "timeScale"), G = E.appendOrSelect(m, "g.tick"),
|
|
3874
|
+
const L = y(b, "scaleType"), w = y(s, "data", "loading"), T = y(b, "ticks", "number"), k = y(b, "ticks", "values"), _ = y(b, "truncation", "type"), F = y(b, "truncation", "threshold"), V = y(b, "truncation", "numCharacter"), A = T !== null, M = y(s, "timeScale"), G = E.appendOrSelect(m, "g.tick"), R = E.appendOrSelect(G, "text").text("0"), X = E.getSVGElementSize(R.node(), {
|
|
3872
3875
|
useBBox: !0
|
|
3873
3876
|
}).height;
|
|
3874
3877
|
G.remove();
|
|
@@ -3982,7 +3985,7 @@ class js extends z {
|
|
|
3982
3985
|
name: "axis-update",
|
|
3983
3986
|
animate: e
|
|
3984
3987
|
})
|
|
3985
|
-
)), g = g.call(W), q.selectAll(".tick").data(W.tickValues(), p).order().select("text").style("font-weight", (oe, Ne) =>
|
|
3988
|
+
)), g = g.call(W), q.selectAll(".tick").data(W.tickValues(), p).order().select("text").style("font-weight", (oe, Ne) => wn(oe, Ne, W.tickValues(), B, j) ? "bold" : "normal");
|
|
3986
3989
|
} else
|
|
3987
3990
|
!e || !u ? g = g.call(W) : g = g.transition().call(
|
|
3988
3991
|
(B) => this.services.transitions.setupTransition({
|
|
@@ -4210,7 +4213,7 @@ class gc extends z {
|
|
|
4210
4213
|
position: l,
|
|
4211
4214
|
axes: this.configs.axes,
|
|
4212
4215
|
margins: this.margins
|
|
4213
|
-
}, d = this.model.axisFlavor ===
|
|
4216
|
+
}, d = this.model.axisFlavor === In.DEFAULT ? new js(this.model, this.services, c) : new or(this.model, this.services, c);
|
|
4214
4217
|
d.setModel(this.model), d.setServices(this.services), d.setParent(this.parent), this.children[l] = d;
|
|
4215
4218
|
}
|
|
4216
4219
|
}), Object.keys(this.children).forEach((o) => {
|
|
@@ -4381,8 +4384,8 @@ class mc extends z {
|
|
|
4381
4384
|
animate: e
|
|
4382
4385
|
})
|
|
4383
4386
|
).attr("d", (A) => {
|
|
4384
|
-
const M = g.getDomainValue(A[n]), G = M,
|
|
4385
|
-
return ie({ x0: M, x1: G, y0:
|
|
4387
|
+
const M = g.getDomainValue(A[n]), G = M, R = g.getRangeValue(A.whiskers.min), X = g.getRangeValue(A.quartiles.q_25);
|
|
4388
|
+
return ie({ x0: M, x1: G, y0: R, y1: X }, m);
|
|
4386
4389
|
}), k.append("path").merge(T.select("path.vertical-line.end")).attr(
|
|
4387
4390
|
"class",
|
|
4388
4391
|
() => this.model.getColorClassName({
|
|
@@ -4396,8 +4399,8 @@ class mc extends z {
|
|
|
4396
4399
|
animate: e
|
|
4397
4400
|
})
|
|
4398
4401
|
).attr("d", (A) => {
|
|
4399
|
-
const M = g.getDomainValue(A[n]), G = M,
|
|
4400
|
-
return ie({ x0: M, x1: G, y0:
|
|
4402
|
+
const M = g.getDomainValue(A[n]), G = M, R = g.getRangeValue(A.whiskers.max), X = g.getRangeValue(A.quartiles.q_75);
|
|
4403
|
+
return ie({ x0: M, x1: G, y0: R, y1: X }, m);
|
|
4401
4404
|
}), k.append("path").merge(T.select("path.box")).attr(
|
|
4402
4405
|
"class",
|
|
4403
4406
|
() => this.model.getColorClassName({
|
|
@@ -4411,15 +4414,15 @@ class mc extends z {
|
|
|
4411
4414
|
animate: e
|
|
4412
4415
|
})
|
|
4413
4416
|
).attr("d", (A) => {
|
|
4414
|
-
const M = g.getDomainValue(A[n]) - L / 2, G = M + L,
|
|
4417
|
+
const M = g.getDomainValue(A[n]) - L / 2, G = M + L, R = g.getRangeValue(
|
|
4415
4418
|
Math[b ? "max" : "min"](A.quartiles.q_75, A.quartiles.q_25)
|
|
4416
|
-
), X =
|
|
4419
|
+
), X = R + Math.abs(
|
|
4417
4420
|
g.getRangeValue(A.quartiles.q_75) - g.getRangeValue(A.quartiles.q_25)
|
|
4418
4421
|
);
|
|
4419
|
-
return ie({ x0: M, x1: G, y0:
|
|
4422
|
+
return ie({ x0: M, x1: G, y0: R, y1: X }, m);
|
|
4420
4423
|
}), k.append("path").merge(T.select("path.highlight-area")).attr("class", "highlight-area").attr("opacity", 0).attr("d", (A) => {
|
|
4421
|
-
const M = g.getDomainValue(A[n]) - L / 2, G = M + L,
|
|
4422
|
-
return ie({ x0: M, x1: G, y0:
|
|
4424
|
+
const M = g.getDomainValue(A[n]) - L / 2, G = M + L, R = g.getRangeValue(A.whiskers.min), X = g.getRangeValue(A.whiskers.max);
|
|
4425
|
+
return ie({ x0: M, x1: G, y0: R, y1: X }, m);
|
|
4423
4426
|
}), k.append("path").merge(T.select("path.whisker.start")).attr(
|
|
4424
4427
|
"class",
|
|
4425
4428
|
() => this.model.getColorClassName({
|
|
@@ -4433,8 +4436,8 @@ class mc extends z {
|
|
|
4433
4436
|
animate: e
|
|
4434
4437
|
})
|
|
4435
4438
|
).attr("d", (A) => {
|
|
4436
|
-
const M = g.getDomainValue(A[n]) - L / 4, G = M + L / 2,
|
|
4437
|
-
return ie({ x0: M, x1: G, y0:
|
|
4439
|
+
const M = g.getDomainValue(A[n]) - L / 4, G = M + L / 2, R = g.getRangeValue(A.whiskers.min), X = g.getRangeValue(A.whiskers.min);
|
|
4440
|
+
return ie({ x0: M, x1: G, y0: R, y1: X }, m);
|
|
4438
4441
|
}), k.append("path").merge(T.select("path.median")).attr("fill", "none").attr(
|
|
4439
4442
|
"class",
|
|
4440
4443
|
() => this.model.getColorClassName({
|
|
@@ -4448,8 +4451,8 @@ class mc extends z {
|
|
|
4448
4451
|
animate: e
|
|
4449
4452
|
})
|
|
4450
4453
|
).attr("d", (A) => {
|
|
4451
|
-
const M = g.getDomainValue(A[n]) - L / 2, G = M + L,
|
|
4452
|
-
return ie({ x0: M, x1: G, y0:
|
|
4454
|
+
const M = g.getDomainValue(A[n]) - L / 2, G = M + L, R = g.getRangeValue(A.quartiles.q_50);
|
|
4455
|
+
return ie({ x0: M, x1: G, y0: R, y1: R }, m);
|
|
4453
4456
|
}), k.append("path").merge(T.select("path.whisker.end")).attr(
|
|
4454
4457
|
"class",
|
|
4455
4458
|
() => this.model.getColorClassName({
|
|
@@ -4463,8 +4466,8 @@ class mc extends z {
|
|
|
4463
4466
|
animate: e
|
|
4464
4467
|
})
|
|
4465
4468
|
).attr("d", (A) => {
|
|
4466
|
-
const M = g.getDomainValue(A[n]) - L / 4, G = M + L / 2,
|
|
4467
|
-
return ie({ x0: M, x1: G, y0:
|
|
4469
|
+
const M = g.getDomainValue(A[n]) - L / 4, G = M + L / 2, R = g.getRangeValue(A.whiskers.max), X = g.getRangeValue(A.whiskers.max);
|
|
4470
|
+
return ie({ x0: M, x1: G, y0: R, y1: X }, m);
|
|
4468
4471
|
});
|
|
4469
4472
|
const F = _.selectAll("circle.outlier").data(
|
|
4470
4473
|
(A) => A.outliers.map((M) => ({
|
|
@@ -4628,7 +4631,7 @@ class fc extends z {
|
|
|
4628
4631
|
const [l, c] = this.services.cartesianScales.getDomainScale().range();
|
|
4629
4632
|
let d = +s(0) + 0.5;
|
|
4630
4633
|
d || (d = s.range()[0]);
|
|
4631
|
-
const p =
|
|
4634
|
+
const p = Mn(
|
|
4632
4635
|
{
|
|
4633
4636
|
x0: l,
|
|
4634
4637
|
x1: c,
|
|
@@ -5136,13 +5139,13 @@ class Ec extends Ws {
|
|
|
5136
5139
|
}
|
|
5137
5140
|
}
|
|
5138
5141
|
const Sc = (r, e) => {
|
|
5139
|
-
const t = r.x, s = r.y, n = e.x, a = e.y, i =
|
|
5142
|
+
const t = r.x, s = r.y, n = e.x, a = e.y, i = Dt();
|
|
5140
5143
|
return i.moveTo(t, s), i.lineTo(n, a), i.toString();
|
|
5141
5144
|
}, xc = (r, e, t = 0.5) => {
|
|
5142
|
-
const s = r.x, n = r.y, a = e.x, i = e.y, o =
|
|
5145
|
+
const s = r.x, n = r.y, a = e.x, i = e.y, o = Dt();
|
|
5143
5146
|
return o.moveTo(s, n), o.lineTo(s + (a - s) * t, n), o.lineTo(s + (a - s) * t, i), o.lineTo(a, i), o.toString();
|
|
5144
5147
|
}, Oc = (r, e, t, s, n, a) => {
|
|
5145
|
-
const i = r.x, o = r.y, l = e.x, c = e.y, d =
|
|
5148
|
+
const i = r.x, o = r.y, l = e.x, c = e.y, d = Dt();
|
|
5146
5149
|
return d.moveTo(i, o), d.bezierCurveTo(t, s, n, a, l, c), d.toString();
|
|
5147
5150
|
}, Tc = {
|
|
5148
5151
|
d: "M7 0v8L0 4z",
|
|
@@ -5218,7 +5221,7 @@ class kc extends sr {
|
|
|
5218
5221
|
s.html("");
|
|
5219
5222
|
return;
|
|
5220
5223
|
}
|
|
5221
|
-
const d = !Os(a), p =
|
|
5224
|
+
const d = !Os(a), p = An(this.model.getDisplayData()), h = !(n <= K.color.barWidth), u = h ? K.color.barWidth : n, g = E.appendOrSelect(s, "g.legend"), m = E.appendOrSelect(g, "g.legend-axis");
|
|
5222
5225
|
if (l) {
|
|
5223
5226
|
const _ = E.appendOrSelect(s, "g.legend-title");
|
|
5224
5227
|
E.appendOrSelect(_, "text").text(l).attr("dy", "0.7em"), g.attr("transform", "translate(0, 16)");
|
|
@@ -5234,7 +5237,7 @@ class kc extends sr {
|
|
|
5234
5237
|
v.push(
|
|
5235
5238
|
i === at.LINEAR ? `stop-color-${b}-${o}-${_}` : `fill-${b}-${o}-${_}`
|
|
5236
5239
|
);
|
|
5237
|
-
const O = vs(p[0], p[1]), L = Ks(O, 3), w = Oe().domain(p).range([0, u]), T =
|
|
5240
|
+
const O = vs(p[0], p[1]), L = Ks(O, 3), w = Oe().domain(p).range([0, u]), T = Rt(w).tickSize(0).tickValues(L);
|
|
5238
5241
|
let k;
|
|
5239
5242
|
switch (i) {
|
|
5240
5243
|
case at.LINEAR:
|
|
@@ -5406,7 +5409,7 @@ class $t extends z {
|
|
|
5406
5409
|
return !1;
|
|
5407
5410
|
}
|
|
5408
5411
|
}
|
|
5409
|
-
class
|
|
5412
|
+
class Rc extends z {
|
|
5410
5413
|
constructor() {
|
|
5411
5414
|
super(...arguments), this.type = "circle-pack", this.renderType = H.SVG, this.handleLegendOnHover = (e) => {
|
|
5412
5415
|
const { hoveredElement: t } = e.detail;
|
|
@@ -5641,13 +5644,13 @@ class yr extends z {
|
|
|
5641
5644
|
S.exit().attr("opacity", 0).remove();
|
|
5642
5645
|
const O = S.enter().append("text").classed("pie-label", !0), L = [];
|
|
5643
5646
|
O.merge(S).style("text-anchor", "middle").text((M) => n.pie.labels.formatter ? n.pie.labels.formatter(M) : zt(M.data[i], o, i) + "%").datum(function(M) {
|
|
5644
|
-
const G = l + 7,
|
|
5645
|
-
return M.textOffsetX = re / 2, M.textOffsetY = X > 90 && X < 270 ? 10 : 0, M.xPosition = (M.textOffsetX + G) * Math.sin(
|
|
5647
|
+
const G = l + 7, R = (M.endAngle - M.startAngle) / 2 + M.startAngle, X = R / Math.PI * 180, re = this.getComputedTextLength();
|
|
5648
|
+
return M.textOffsetX = re / 2, M.textOffsetY = X > 90 && X < 270 ? 10 : 0, M.xPosition = (M.textOffsetX + G) * Math.sin(R), M.yPosition = (M.textOffsetY + G) * -Math.cos(R), M;
|
|
5646
5649
|
}).attr("transform", function(M, G) {
|
|
5647
|
-
const
|
|
5648
|
-
if (G >=
|
|
5650
|
+
const R = b.length, X = (M.endAngle - M.startAngle) * (180 / Math.PI);
|
|
5651
|
+
if (G >= R - 2 && X < Z.callout.minSliceDegree) {
|
|
5649
5652
|
let re, W;
|
|
5650
|
-
return M.index ===
|
|
5653
|
+
return M.index === R - 1 ? (re = M.xPosition + Z.callout.offsetX + Z.callout.textMargin + M.textOffsetX, W = M.yPosition - Z.callout.offsetY, M.direction = rt.RIGHT, L.push(M)) : (re = M.xPosition - Z.callout.offsetX - M.textOffsetX - Z.callout.textMargin, W = M.yPosition - Z.callout.offsetY, M.direction = rt.LEFT, L.push(M)), `translate(${re}, ${W})`;
|
|
5651
5654
|
}
|
|
5652
5655
|
return `translate(${M.xPosition}, ${M.yPosition})`;
|
|
5653
5656
|
}), this.renderCallouts(L);
|
|
@@ -5748,7 +5751,7 @@ class yr extends z {
|
|
|
5748
5751
|
return s.pie.labels.enabled ? n + Z.radiusOffset : n;
|
|
5749
5752
|
}
|
|
5750
5753
|
}
|
|
5751
|
-
class
|
|
5754
|
+
class Dc extends yr {
|
|
5752
5755
|
constructor() {
|
|
5753
5756
|
super(...arguments), this.type = "donut", this.renderType = H.SVG;
|
|
5754
5757
|
}
|
|
@@ -5961,7 +5964,7 @@ class Pc extends $t {
|
|
|
5961
5964
|
render(e) {
|
|
5962
5965
|
const t = this.model.getDisplayData(this.configs.groups), s = this.getOptions(), { groupMapsTo: n } = s.data;
|
|
5963
5966
|
this.setGroupScale();
|
|
5964
|
-
const a = this.getComponentContainer({ withinChartClip: !0 }), i =
|
|
5967
|
+
const a = this.getComponentContainer({ withinChartClip: !0 }), i = Cn(
|
|
5965
5968
|
t.map((h) => {
|
|
5966
5969
|
const u = this.services.cartesianScales.getDomainIdentifier(h);
|
|
5967
5970
|
return h[u] && typeof h[u].toString == "function" ? h[u].toString() : h[u];
|
|
@@ -6553,14 +6556,14 @@ class Nc extends z {
|
|
|
6553
6556
|
const t = E.appendOrSelect(this.getComponentContainer(), "g.tmp-tick"), s = E.appendOrSelect(t, "text").text(e), { width: n, height: a } = E.getSVGElementSize(s.node(), { useBBox: !0 });
|
|
6554
6557
|
return t.remove(), { width: n, height: a };
|
|
6555
6558
|
}, this.normalizeFlatData = (e) => {
|
|
6556
|
-
const t = this.getOptions(), { angle: s, value: n } = y(t, "radar", "axes"), a = y(t, "data", "groupMapsTo"), i =
|
|
6559
|
+
const t = this.getOptions(), { angle: s, value: n } = y(t, "radar", "axes"), a = y(t, "data", "groupMapsTo"), i = Pa(
|
|
6557
6560
|
this.uniqueKeys.map((o) => this.uniqueGroups.map((l) => ({
|
|
6558
6561
|
[s]: o,
|
|
6559
6562
|
[a]: l,
|
|
6560
6563
|
[n]: null
|
|
6561
6564
|
})))
|
|
6562
6565
|
);
|
|
6563
|
-
return
|
|
6566
|
+
return Re(i, e);
|
|
6564
6567
|
}, this.normalizeGroupedData = (e) => {
|
|
6565
6568
|
const t = this.getOptions(), { angle: s, value: n } = y(t, "radar", "axes"), a = y(t, "data", "groupMapsTo");
|
|
6566
6569
|
return e.map(({ name: i, data: o }) => {
|
|
@@ -6569,7 +6572,7 @@ class Nc extends z {
|
|
|
6569
6572
|
[s]: c,
|
|
6570
6573
|
[n]: null
|
|
6571
6574
|
}));
|
|
6572
|
-
return { name: i, data:
|
|
6575
|
+
return { name: i, data: Re(l, o) };
|
|
6573
6576
|
});
|
|
6574
6577
|
}, this.handleLegendOnHover = (e) => {
|
|
6575
6578
|
const { hoveredElement: t } = e.detail;
|
|
@@ -6604,66 +6607,66 @@ class Nc extends z {
|
|
|
6604
6607
|
k >= 0 ? 0 : k,
|
|
6605
6608
|
Nt(this.fullDataNormalized.map((C) => C[p]))
|
|
6606
6609
|
]).range([m, w]).nice(g), F = _.ticks(g), V = (C) => this.model.getFillColor(C), A = sn().angle((C) => T(C[d]) + Math.PI / 2).radius((C) => _(C[p])).curve(nn), M = this.uniqueKeys.map((C) => {
|
|
6607
|
-
const I = this.getLabelDimensions(C).width,
|
|
6610
|
+
const I = this.getLabelDimensions(C).width, D = Dn(
|
|
6608
6611
|
T(C),
|
|
6609
6612
|
w
|
|
6610
6613
|
);
|
|
6611
|
-
return I +
|
|
6612
|
-
}),
|
|
6614
|
+
return I + D;
|
|
6615
|
+
}), R = {
|
|
6613
6616
|
x: Nt(M) + h,
|
|
6614
6617
|
y: n / 2
|
|
6615
6618
|
}, re = E.appendOrSelect(t, "g.y-axes").attr("role", U.GROUP).selectAll("path").data(F, (C) => C), W = (C) => this.uniqueKeys.map((I) => ({ [d]: I, [p]: C }));
|
|
6616
6619
|
re.join(
|
|
6617
|
-
(C) => C.append("path").attr("opacity", 0).attr("transform", `translate(${
|
|
6620
|
+
(C) => C.append("path").attr("opacity", 0).attr("transform", `translate(${R.x}, ${R.y})`).attr("fill", "none").call(
|
|
6618
6621
|
(I) => I.transition().call(
|
|
6619
|
-
(
|
|
6620
|
-
transition:
|
|
6622
|
+
(D) => this.services.transitions.setupTransition({
|
|
6623
|
+
transition: D,
|
|
6621
6624
|
name: "radar_y_axes_enter",
|
|
6622
6625
|
animate: e
|
|
6623
6626
|
})
|
|
6624
|
-
).attr("opacity", 1).attr("d", (
|
|
6627
|
+
).attr("opacity", 1).attr("d", (D) => A(W(D)))
|
|
6625
6628
|
),
|
|
6626
6629
|
(C) => C.call(
|
|
6627
6630
|
(I) => I.transition().call(
|
|
6628
|
-
(
|
|
6629
|
-
transition:
|
|
6631
|
+
(D) => this.services.transitions.setupTransition({
|
|
6632
|
+
transition: D,
|
|
6630
6633
|
name: "radar_y_axes_update",
|
|
6631
6634
|
animate: e
|
|
6632
6635
|
})
|
|
6633
|
-
).attr("opacity", 1).attr("transform", `translate(${
|
|
6636
|
+
).attr("opacity", 1).attr("transform", `translate(${R.x}, ${R.y})`).attr("d", (D) => A(W(D)))
|
|
6634
6637
|
),
|
|
6635
6638
|
(C) => C.call(
|
|
6636
6639
|
(I) => I.transition().call(
|
|
6637
|
-
(
|
|
6638
|
-
transition:
|
|
6640
|
+
(D) => this.services.transitions.setupTransition({
|
|
6641
|
+
transition: D,
|
|
6639
6642
|
name: "radar_y_axes_exit",
|
|
6640
6643
|
animate: e
|
|
6641
6644
|
})
|
|
6642
|
-
).attr("d", (
|
|
6645
|
+
).attr("d", (D) => A(W(D))).attr("opacity", 0).remove()
|
|
6643
6646
|
)
|
|
6644
6647
|
), E.appendOrSelect(t, "g.x-axes").attr("role", U.GROUP).selectAll("line").data(this.uniqueKeys, (C) => C).join(
|
|
6645
|
-
(C) => C.append("line").attr("opacity", 0).attr("class", (I) => `x-axis-${we(I)}`).attr("stroke-dasharray", "0").attr("x1", (I) => Y(T(I), 0,
|
|
6648
|
+
(C) => C.append("line").attr("opacity", 0).attr("class", (I) => `x-axis-${we(I)}`).attr("stroke-dasharray", "0").attr("x1", (I) => Y(T(I), 0, R).x).attr("y1", (I) => Y(T(I), 0, R).y).attr("x2", (I) => Y(T(I), 0, R).x).attr("y2", (I) => Y(T(I), 0, R).y).call(
|
|
6646
6649
|
(I) => I.transition().call(
|
|
6647
|
-
(
|
|
6648
|
-
transition:
|
|
6650
|
+
(D) => this.services.transitions.setupTransition({
|
|
6651
|
+
transition: D,
|
|
6649
6652
|
name: "radar_x_axes_enter",
|
|
6650
6653
|
animate: e
|
|
6651
6654
|
})
|
|
6652
|
-
).attr("opacity", 1).attr("x1", (
|
|
6655
|
+
).attr("opacity", 1).attr("x1", (D) => Y(T(D), _.range()[0], R).x).attr("y1", (D) => Y(T(D), _.range()[0], R).y).attr("x2", (D) => Y(T(D), _.range()[1], R).x).attr("y2", (D) => Y(T(D), _.range()[1], R).y)
|
|
6653
6656
|
),
|
|
6654
6657
|
(C) => C.call(
|
|
6655
6658
|
(I) => I.transition().call(
|
|
6656
|
-
(
|
|
6657
|
-
transition:
|
|
6659
|
+
(D) => this.services.transitions.setupTransition({
|
|
6660
|
+
transition: D,
|
|
6658
6661
|
name: "radar_x_axes_update",
|
|
6659
6662
|
animate: e
|
|
6660
6663
|
})
|
|
6661
|
-
).attr("opacity", 1).attr("x1", (
|
|
6664
|
+
).attr("opacity", 1).attr("x1", (D) => Y(T(D), _.range()[0], R).x).attr("y1", (D) => Y(T(D), _.range()[0], R).y).attr("x2", (D) => Y(T(D), _.range()[1], R).x).attr("y2", (D) => Y(T(D), _.range()[1], R).y)
|
|
6662
6665
|
),
|
|
6663
6666
|
(C) => C.call(
|
|
6664
6667
|
(I) => I.transition().call(
|
|
6665
|
-
(
|
|
6666
|
-
transition:
|
|
6668
|
+
(D) => this.services.transitions.setupTransition({
|
|
6669
|
+
transition: D,
|
|
6667
6670
|
name: "radar_x_axes_exit",
|
|
6668
6671
|
animate: e
|
|
6669
6672
|
})
|
|
@@ -6672,17 +6675,17 @@ class Nc extends z {
|
|
|
6672
6675
|
), E.appendOrSelect(t, "g.x-labels").attr("role", U.GROUP).selectAll("text").data(this.uniqueKeys).join(
|
|
6673
6676
|
(C) => C.append("text").text((I) => I).attr("opacity", 0).attr(
|
|
6674
6677
|
"x",
|
|
6675
|
-
(I) => Y(T(I), _.range()[1] + h,
|
|
6678
|
+
(I) => Y(T(I), _.range()[1] + h, R).x
|
|
6676
6679
|
).attr(
|
|
6677
6680
|
"y",
|
|
6678
|
-
(I) => Y(T(I), _.range()[1] + h,
|
|
6681
|
+
(I) => Y(T(I), _.range()[1] + h, R).y
|
|
6679
6682
|
).style("text-anchor", (I) => Xt(T(I)).textAnchor).style(
|
|
6680
6683
|
"dominant-baseline",
|
|
6681
6684
|
(I) => Xt(T(I)).dominantBaseline
|
|
6682
6685
|
).call(
|
|
6683
6686
|
(I) => I.transition().call(
|
|
6684
|
-
(
|
|
6685
|
-
transition:
|
|
6687
|
+
(D) => this.services.transitions.setupTransition({
|
|
6688
|
+
transition: D,
|
|
6686
6689
|
name: "radar_x_labels_enter",
|
|
6687
6690
|
animate: e
|
|
6688
6691
|
})
|
|
@@ -6690,26 +6693,26 @@ class Nc extends z {
|
|
|
6690
6693
|
),
|
|
6691
6694
|
(C) => C.call(
|
|
6692
6695
|
(I) => I.transition().call(
|
|
6693
|
-
(
|
|
6694
|
-
transition:
|
|
6696
|
+
(D) => this.services.transitions.setupTransition({
|
|
6697
|
+
transition: D,
|
|
6695
6698
|
name: "radar_x_labels_update",
|
|
6696
6699
|
animate: e
|
|
6697
6700
|
})
|
|
6698
6701
|
).attr("opacity", 1).attr(
|
|
6699
6702
|
"x",
|
|
6700
|
-
(
|
|
6703
|
+
(D) => Y(T(D), _.range()[1] + h, R).x
|
|
6701
6704
|
).attr(
|
|
6702
6705
|
"y",
|
|
6703
|
-
(
|
|
6706
|
+
(D) => Y(T(D), _.range()[1] + h, R).y
|
|
6704
6707
|
).end().finally(() => {
|
|
6705
|
-
const
|
|
6708
|
+
const D = y(o, "radar", "alignment"), be = this.getAlignmentXOffset(D, t, this.getParent());
|
|
6706
6709
|
t.attr("x", be);
|
|
6707
6710
|
})
|
|
6708
6711
|
),
|
|
6709
6712
|
(C) => C.call(
|
|
6710
6713
|
(I) => I.transition().call(
|
|
6711
|
-
(
|
|
6712
|
-
transition:
|
|
6714
|
+
(D) => this.services.transitions.setupTransition({
|
|
6715
|
+
transition: D,
|
|
6713
6716
|
name: "radar_x_labels_exit",
|
|
6714
6717
|
animate: e
|
|
6715
6718
|
})
|
|
@@ -6725,16 +6728,16 @@ class Nc extends z {
|
|
|
6725
6728
|
})
|
|
6726
6729
|
).attr("role", U.GRAPHICS_SYMBOL).attr("aria-label", (I) => I.name).attr("opacity", 0).attr(
|
|
6727
6730
|
"transform",
|
|
6728
|
-
e ? () => `translate(${
|
|
6731
|
+
e ? () => `translate(${R.x}, ${R.y}) scale(${1 + Math.random() * 0.35})` : `translate(${R.x}, ${R.y})`
|
|
6729
6732
|
).style("fill", (I) => V(I.name)).style("fill-opacity", Ee.opacity.selected).style("stroke", (I) => V(I.name)).call((I) => {
|
|
6730
|
-
const
|
|
6733
|
+
const D = I.transition().call(
|
|
6731
6734
|
(be) => this.services.transitions.setupTransition({
|
|
6732
6735
|
transition: be,
|
|
6733
6736
|
name: "radar_blobs_enter",
|
|
6734
6737
|
animate: e
|
|
6735
6738
|
})
|
|
6736
6739
|
);
|
|
6737
|
-
e &&
|
|
6740
|
+
e && D.delay(() => Math.random() * 30).attr("transform", `translate(${R.x}, ${R.y})`), D.attr("opacity", 1).attr("d", (be) => A(be.data));
|
|
6738
6741
|
}),
|
|
6739
6742
|
(C) => (C.attr(
|
|
6740
6743
|
"class",
|
|
@@ -6745,25 +6748,25 @@ class Nc extends z {
|
|
|
6745
6748
|
})
|
|
6746
6749
|
).style("fill", (I) => V(I.name)).style("stroke", (I) => V(I.name)), C.call(
|
|
6747
6750
|
(I) => I.transition().call(
|
|
6748
|
-
(
|
|
6749
|
-
transition:
|
|
6751
|
+
(D) => this.services.transitions.setupTransition({
|
|
6752
|
+
transition: D,
|
|
6750
6753
|
name: "radar_blobs_update",
|
|
6751
6754
|
animate: e
|
|
6752
6755
|
})
|
|
6753
|
-
).attr("opacity", 1).attr("transform", `translate(${
|
|
6756
|
+
).attr("opacity", 1).attr("transform", `translate(${R.x}, ${R.y})`).attr("d", (D) => A(D.data))
|
|
6754
6757
|
), C),
|
|
6755
6758
|
(C) => C.call((I) => {
|
|
6756
|
-
const
|
|
6759
|
+
const D = I.transition().call(
|
|
6757
6760
|
(be) => this.services.transitions.setupTransition({
|
|
6758
6761
|
transition: be,
|
|
6759
6762
|
name: "radar_blobs_exit",
|
|
6760
6763
|
animate: e
|
|
6761
6764
|
})
|
|
6762
6765
|
);
|
|
6763
|
-
e &&
|
|
6766
|
+
e && D.delay(() => Math.random() * 30).attr(
|
|
6764
6767
|
"transform",
|
|
6765
|
-
() => `translate(${
|
|
6766
|
-
),
|
|
6768
|
+
() => `translate(${R.x}, ${R.y}) scale(${1 + Math.random() * 0.35})`
|
|
6769
|
+
), D.attr("opacity", 0).remove();
|
|
6767
6770
|
})
|
|
6768
6771
|
), E.appendOrSelect(t, "g.dots").attr("role", U.GROUP).selectAll("circle").data(this.fullDataNormalized.filter((C) => y(C, p) !== null)).join(
|
|
6769
6772
|
(C) => C.append("circle").attr("role", U.GRAPHICS_SYMBOL).attr("aria-label", (I) => I[c]),
|
|
@@ -6776,18 +6779,18 @@ class Nc extends z {
|
|
|
6776
6779
|
dataGroupName: C[l],
|
|
6777
6780
|
originalClassName: we(C[d])
|
|
6778
6781
|
})
|
|
6779
|
-
).attr("cx", (C) => Y(T(C[d]), _(C[p]),
|
|
6782
|
+
).attr("cx", (C) => Y(T(C[d]), _(C[p]), R).x).attr("cy", (C) => Y(T(C[d]), _(C[p]), R).y).attr("r", 0).attr("opacity", 0).style("fill", (C) => V(C[l])), E.appendOrSelect(t, "g.x-axes-rect").attr("role", U.GROUP).selectAll("rect").data(this.uniqueKeys).join(
|
|
6780
6783
|
(C) => C.append("rect"),
|
|
6781
6784
|
(C) => C,
|
|
6782
6785
|
(C) => C.remove()
|
|
6783
|
-
).attr("x",
|
|
6786
|
+
).attr("x", R.x).attr("y", R.y - b / 2).attr("width", _.range()[1]).attr("height", b).style("fill", "red").style("fill-opacity", 0).attr("transform", (C) => `rotate(${_n(T(C))}, ${R.x}, ${R.y})`), E.appendOrSelect(t, "g.y-labels").attr("role", U.GROUP).selectAll("text").data(Qe(F)).join(
|
|
6784
6787
|
(C) => C.append("text").attr("opacity", 0).text((I) => I).attr(
|
|
6785
6788
|
"x",
|
|
6786
|
-
(I) => Y(-Math.PI / 2, _(I),
|
|
6787
|
-
).attr("y", (I) => Y(-Math.PI / 2, _(I),
|
|
6789
|
+
(I) => Y(-Math.PI / 2, _(I), R).x + u
|
|
6790
|
+
).attr("y", (I) => Y(-Math.PI / 2, _(I), R).y).style("text-anchor", "start").style("dominant-baseline", "middle").call(
|
|
6788
6791
|
(I) => I.transition().call(
|
|
6789
|
-
(
|
|
6790
|
-
transition:
|
|
6792
|
+
(D) => this.services.transitions.setupTransition({
|
|
6793
|
+
transition: D,
|
|
6791
6794
|
name: "radar_y_labels_enter",
|
|
6792
6795
|
animate: e
|
|
6793
6796
|
})
|
|
@@ -6795,20 +6798,20 @@ class Nc extends z {
|
|
|
6795
6798
|
),
|
|
6796
6799
|
(C) => C.call(
|
|
6797
6800
|
(I) => I.transition().call(
|
|
6798
|
-
(
|
|
6799
|
-
transition:
|
|
6801
|
+
(D) => this.services.transitions.setupTransition({
|
|
6802
|
+
transition: D,
|
|
6800
6803
|
name: "radar_y_labels_update",
|
|
6801
6804
|
animate: e
|
|
6802
6805
|
})
|
|
6803
|
-
).text((
|
|
6806
|
+
).text((D) => D).attr("opacity", 1).attr(
|
|
6804
6807
|
"x",
|
|
6805
|
-
(
|
|
6806
|
-
).attr("y", (
|
|
6808
|
+
(D) => Y(-Math.PI / 2, _(D), R).x + u
|
|
6809
|
+
).attr("y", (D) => Y(-Math.PI / 2, _(D), R).y)
|
|
6807
6810
|
),
|
|
6808
6811
|
(C) => C.call(
|
|
6809
6812
|
(I) => I.transition().call(
|
|
6810
|
-
(
|
|
6811
|
-
transition:
|
|
6813
|
+
(D) => this.services.transitions.setupTransition({
|
|
6814
|
+
transition: D,
|
|
6812
6815
|
name: "radar_y_labels_exit",
|
|
6813
6816
|
animate: e
|
|
6814
6817
|
})
|
|
@@ -7283,23 +7286,23 @@ class jc extends z {
|
|
|
7283
7286
|
name: "tree-update-viewbox",
|
|
7284
7287
|
animate: !0
|
|
7285
7288
|
})
|
|
7286
|
-
).attr("viewBox", [-p.left, F.x, s, A].join(" ")), G = w.selectAll("g").data(k, (N) => N.id),
|
|
7289
|
+
).attr("viewBox", [-p.left, F.x, s, A].join(" ")), G = w.selectAll("g").data(k, (N) => N.id), R = this, X = G.enter().append("g").attr("transform", () => `translate(${T.y0},${T.x0})`).attr(
|
|
7287
7290
|
"class",
|
|
7288
7291
|
(N) => N.depth !== 0 && N.children && N.children.length > 0 ? "clickable" : null
|
|
7289
7292
|
).on("mouseover", function(N, ae) {
|
|
7290
|
-
|
|
7293
|
+
R.services.events.dispatchEvent(f.Tree.NODE_MOUSEOVER, {
|
|
7291
7294
|
event: N,
|
|
7292
7295
|
element: x(this),
|
|
7293
7296
|
datum: ae
|
|
7294
7297
|
});
|
|
7295
7298
|
}).on("click", function(N, ae) {
|
|
7296
|
-
ae.depth !== 0 && (ae.children = ae.children ? null : ae._children, m(ae)),
|
|
7299
|
+
ae.depth !== 0 && (ae.children = ae.children ? null : ae._children, m(ae)), R.services.events.dispatchEvent(f.Tree.NODE_CLICK, {
|
|
7297
7300
|
event: N,
|
|
7298
7301
|
element: x(this),
|
|
7299
7302
|
datum: ae
|
|
7300
7303
|
});
|
|
7301
7304
|
}).on("mouseout", function(N, ae) {
|
|
7302
|
-
|
|
7305
|
+
R.services.events.dispatchEvent(f.Tree.NODE_MOUSEOUT, {
|
|
7303
7306
|
event: N,
|
|
7304
7307
|
element: x(this),
|
|
7305
7308
|
datum: ae
|
|
@@ -7341,9 +7344,9 @@ var br = "#000000", Er = "#ffffff", Sr = "#fcf4d6", xr = "#fddc69", Or = "#f1c21
|
|
|
7341
7344
|
80: Ar,
|
|
7342
7345
|
90: Cr,
|
|
7343
7346
|
100: kr
|
|
7344
|
-
},
|
|
7345
|
-
10:
|
|
7346
|
-
20:
|
|
7347
|
+
}, Rr = "#fff2e8", Dr = "#ffd9be", _r = "#ffb784", Pr = "#ff832b", Vr = "#eb6200", Br = "#ba4e00", $r = "#8a3800", Gr = "#5e2900", Nr = "#3e1a00", Hr = "#231000", Ur = {
|
|
7348
|
+
10: Rr,
|
|
7349
|
+
20: Dr,
|
|
7347
7350
|
30: _r,
|
|
7348
7351
|
40: Pr,
|
|
7349
7352
|
50: Vr,
|
|
@@ -7385,7 +7388,7 @@ var br = "#000000", Er = "#ffffff", Sr = "#fcf4d6", xr = "#fddc69", Or = "#f1c21
|
|
|
7385
7388
|
80: bo,
|
|
7386
7389
|
90: Eo,
|
|
7387
7390
|
100: So
|
|
7388
|
-
}, Oo = "#edf5ff", To = "#d0e2ff", Lo = "#a6c8ff", wo = "#78a9ff", Mo = "#4589ff", Ao = "#0f62fe", Co = "#0043ce", ko = "#002d9c", Io = "#001d6c",
|
|
7391
|
+
}, Oo = "#edf5ff", To = "#d0e2ff", Lo = "#a6c8ff", wo = "#78a9ff", Mo = "#4589ff", Ao = "#0f62fe", Co = "#0043ce", ko = "#002d9c", Io = "#001d6c", Ro = "#001141", Do = {
|
|
7389
7392
|
10: Oo,
|
|
7390
7393
|
20: To,
|
|
7391
7394
|
30: Lo,
|
|
@@ -7395,7 +7398,7 @@ var br = "#000000", Er = "#ffffff", Sr = "#fcf4d6", xr = "#fddc69", Or = "#f1c21
|
|
|
7395
7398
|
70: Co,
|
|
7396
7399
|
80: ko,
|
|
7397
7400
|
90: Io,
|
|
7398
|
-
100:
|
|
7401
|
+
100: Ro
|
|
7399
7402
|
}, _o = "#e5f6ff", Po = "#bae6ff", Vo = "#82cfff", Bo = "#33b1ff", $o = "#1192e8", Go = "#0072c3", No = "#00539a", Ho = "#003a6d", Uo = "#012749", zo = "#061727", Fo = {
|
|
7400
7403
|
10: _o,
|
|
7401
7404
|
20: Po,
|
|
@@ -7440,7 +7443,7 @@ var br = "#000000", Er = "#ffffff", Sr = "#fcf4d6", xr = "#fddc69", Or = "#f1c21
|
|
|
7440
7443
|
80: El,
|
|
7441
7444
|
90: Sl,
|
|
7442
7445
|
100: xl
|
|
7443
|
-
}, Tl = "#f4f4f4", Ll = "#e0e0e0", wl = "#c6c6c6", Ml = "#a8a8a8", Al = "#8d8d8d", Cl = "#6f6f6f", kl = "#525252", Il = "#393939",
|
|
7446
|
+
}, Tl = "#f4f4f4", Ll = "#e0e0e0", wl = "#c6c6c6", Ml = "#a8a8a8", Al = "#8d8d8d", Cl = "#6f6f6f", kl = "#525252", Il = "#393939", Rl = "#262626", Dl = "#161616", _l = {
|
|
7444
7447
|
10: Tl,
|
|
7445
7448
|
20: Ll,
|
|
7446
7449
|
30: wl,
|
|
@@ -7449,8 +7452,8 @@ var br = "#000000", Er = "#ffffff", Sr = "#fcf4d6", xr = "#fddc69", Or = "#f1c21
|
|
|
7449
7452
|
60: Cl,
|
|
7450
7453
|
70: kl,
|
|
7451
7454
|
80: Il,
|
|
7452
|
-
90:
|
|
7453
|
-
100:
|
|
7455
|
+
90: Rl,
|
|
7456
|
+
100: Dl
|
|
7454
7457
|
}, Pl = "#f7f3f2", Vl = "#e5e0df", Bl = "#cac5c4", $l = "#ada8a8", Gl = "#8f8b8b", Nl = "#726e6e", Hl = "#565151", Ul = "#3c3838", zl = "#272525", Fl = "#171414", Wl = {
|
|
7455
7458
|
10: Pl,
|
|
7456
7459
|
20: Vl,
|
|
@@ -7466,7 +7469,7 @@ var br = "#000000", Er = "#ffffff", Sr = "#fcf4d6", xr = "#fddc69", Or = "#f1c21
|
|
|
7466
7469
|
black: {
|
|
7467
7470
|
100: br
|
|
7468
7471
|
},
|
|
7469
|
-
blue:
|
|
7472
|
+
blue: Do,
|
|
7470
7473
|
coolGray: Ol,
|
|
7471
7474
|
cyan: Fo,
|
|
7472
7475
|
gray: _l,
|
|
@@ -7715,7 +7718,7 @@ class Xc extends z {
|
|
|
7715
7718
|
});
|
|
7716
7719
|
if (d === 0 || p === 0)
|
|
7717
7720
|
return;
|
|
7718
|
-
const h =
|
|
7721
|
+
const h = Nn().size([d, p]).words(
|
|
7719
7722
|
n.map(function(g) {
|
|
7720
7723
|
const m = g[o];
|
|
7721
7724
|
if (typeof g[o] != "number")
|
|
@@ -7958,7 +7961,7 @@ export {
|
|
|
7958
7961
|
cc as A,
|
|
7959
7962
|
mc as B,
|
|
7960
7963
|
ic as C,
|
|
7961
|
-
|
|
7964
|
+
Dc as D,
|
|
7962
7965
|
Vc as E,
|
|
7963
7966
|
bc as F,
|
|
7964
7967
|
hc as G,
|
|
@@ -7982,7 +7985,7 @@ export {
|
|
|
7982
7985
|
or as Y,
|
|
7983
7986
|
rc as Z,
|
|
7984
7987
|
Tc as _,
|
|
7985
|
-
|
|
7988
|
+
Ga as a,
|
|
7986
7989
|
Oc as a0,
|
|
7987
7990
|
xc as a1,
|
|
7988
7991
|
Sc as a2,
|
|
@@ -7993,8 +7996,8 @@ export {
|
|
|
7993
7996
|
Xl as a7,
|
|
7994
7997
|
$t as a8,
|
|
7995
7998
|
z as a9,
|
|
7996
|
-
|
|
7997
|
-
|
|
7999
|
+
Na as b,
|
|
8000
|
+
ka as c,
|
|
7998
8001
|
ar as d,
|
|
7999
8002
|
nr as e,
|
|
8000
8003
|
ir as f,
|
|
@@ -8010,7 +8013,7 @@ export {
|
|
|
8010
8013
|
yc as p,
|
|
8011
8014
|
kc as q,
|
|
8012
8015
|
Yc as r,
|
|
8013
|
-
|
|
8016
|
+
Rc as s,
|
|
8014
8017
|
zc as t,
|
|
8015
8018
|
Wc as u,
|
|
8016
8019
|
Ec as v,
|
|
@@ -8019,4 +8022,4 @@ export {
|
|
|
8019
8022
|
Fc as y,
|
|
8020
8023
|
_c as z
|
|
8021
8024
|
};
|
|
8022
|
-
//# sourceMappingURL=choropleth-
|
|
8025
|
+
//# sourceMappingURL=choropleth-141685a0.mjs.map
|