@carbon/charts 1.13.8 → 1.13.10
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 +18 -0
- package/README.md +1 -1
- package/dist/{_baseEach-8433307e.mjs → _baseEach-_pb8o-nX.mjs} +4 -4
- package/dist/{_baseEach-8433307e.mjs.map → _baseEach-_pb8o-nX.mjs.map} +1 -1
- package/dist/{a11y-7bad4f48.mjs → a11y-SOU26cr5.mjs} +1 -1
- package/dist/{a11y-7bad4f48.mjs.map → a11y-SOU26cr5.mjs.map} +1 -1
- package/dist/{angle-utils-8034b0e5.mjs → angle-utils-lGS6958-.mjs} +5 -5
- package/dist/{angle-utils-8034b0e5.mjs.map → angle-utils-lGS6958-.mjs.map} +1 -1
- package/dist/{choropleth-d532597d.mjs → choropleth-OVZrVx-E.mjs} +431 -431
- package/dist/{choropleth-d532597d.mjs.map → choropleth-OVZrVx-E.mjs.map} +1 -1
- package/dist/{color-scale-utils-2eb80bd2.mjs → color-scale-utils-xGxEq2HZ.mjs} +73 -73
- package/dist/{color-scale-utils-2eb80bd2.mjs.map → color-scale-utils-xGxEq2HZ.mjs.map} +1 -1
- package/dist/components/index.mjs +10 -10
- package/dist/demo/index.mjs +225 -251
- package/dist/demo/index.mjs.map +1 -1
- package/dist/demo/styles.css +971 -1053
- package/dist/demo/styles.css.map +1 -1
- package/dist/{enums-a96ef472.mjs → enums-tMKLWMMm.mjs} +1 -1
- package/dist/{enums-a96ef472.mjs.map → enums-tMKLWMMm.mjs.map} +1 -1
- package/dist/{index-ec554115.mjs → index-Ez18Vgtt.mjs} +3 -3
- package/dist/index-Ez18Vgtt.mjs.map +1 -0
- package/dist/index.mjs +60 -60
- package/dist/interfaces/index.mjs +2 -2
- package/dist/model/index.mjs +21 -1111
- package/dist/model/index.mjs.map +1 -1
- package/dist/services/index.mjs +17 -17
- package/dist/styles.css +40 -0
- package/dist/styles.css.map +1 -1
- package/dist/styles.min.css +1 -1
- package/dist/styles.min.css.map +1 -1
- package/dist/umd/bundle.umd.js +14 -14
- package/dist/umd/bundle.umd.js.map +1 -1
- package/dist/wordcloud-R5RMMPUP.mjs +1108 -0
- package/dist/wordcloud-R5RMMPUP.mjs.map +1 -0
- package/dist/{index-e91144ae.mjs → zoom-WD9MTgCJ.mjs} +51 -51
- package/dist/zoom-WD9MTgCJ.mjs.map +1 -0
- package/package.json +13 -18
- package/scss/demos.scss +4 -5
- package/styles.css +40 -0
- package/styles.min.css +1 -1
- package/dist/index-e91144ae.mjs.map +0 -1
- package/dist/index-ec554115.mjs.map +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { t as dt, D as E, c as mt, G as Zt, a as Vn, p as Y, r as Xt, b as Bn } from "./angle-utils-8034b0e5.mjs";
|
|
1
|
+
import { C as Es, h as qs, o as Ss, a5 as Ks, p as xs, a4 as Js, a6 as Qs, a7 as en, a8 as tn, m as y, n as he, x as De, V as zt, B as Q, s as K, a9 as Ge, z as Ft, _ as de, X as sn, A as Os, t as nn, aa as ve, c as gt, b as mt, G as pe, ab as Be, ac as ge, H as fe, P as me, ad as an, I as ke, i as rn, R as Z, K as ce, ae as ie, af as on, a as ln, Q as se, M as Ve, L as Ue, ag as it, v as cn, ah as Wt, S as Ee } from "./color-scale-utils-xGxEq2HZ.mjs";
|
|
2
|
+
import { select as x, pointer as et, brushX as Ts, scaleTime as dn, extent as tt, area as Dt, line as _t, axisBottom as Pt, axisLeft as Ls, axisTop as hn, axisRight as un, scaleLinear as Oe, arc as Ne, easeLinear as pn, path as Vt, interpolateNumber as ws, quantize as gn, scaleBand as Bt, hierarchy as $t, pack as mn, pie as fn, interpolate as vn, interpolateRound as yn, min as ft, max as jt, lineRadial as bn, curveLinearClosed as En, cluster as Sn, tree as xn, linkHorizontal as On, treemap as Tn, hsl as Ms, color as As, geoPath as Ln, geoNaturalEarth1 as wn, geoMercator as Mn, geoEquirectangular as An, geoConicEquidistant as Cn, geoConicEqualArea as kn, geoAlbers as In, geoEqualEarth as Rn } from "d3";
|
|
3
|
+
import { t as rt, D as E, c as vt, G as Zt, a as Dn, p as Y, r as Xt, b as _n } from "./angle-utils-lGS6958-.mjs";
|
|
4
|
+
import { y as H, _ as f, K as ee, r as ye, q as Te, L as Pn, A as ue, m as $, s as Se, V as Ie, S as te, e as V, Z as Le, i as le, f as Yt, J as ot, d as Vn, F as ze, n as lt, H as ct, C as dt, p as Fe, b as qt, D as ht, Q as Bn, x as xe, $ as We, N as ut } from "./enums-tMKLWMMm.mjs";
|
|
6
5
|
import { sankey as $n, sankeyLinkHorizontal as Gn, sankeyJustify as Nn, sankeyLeft as Hn, sankeyRight as Un } from "d3-sankey";
|
|
7
|
-
import {
|
|
6
|
+
import { R as U } from "./a11y-SOU26cr5.mjs";
|
|
7
|
+
import { b as Cs } from "./_baseEach-_pb8o-nX.mjs";
|
|
8
8
|
import zn from "d3-cloud";
|
|
9
9
|
function Fn(o, e, t, s) {
|
|
10
10
|
var n = -1, a = o == null ? 0 : o.length;
|
|
@@ -224,14 +224,14 @@ var ia = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
|
|
|
224
224
|
function ra(o) {
|
|
225
225
|
return ia.test(o);
|
|
226
226
|
}
|
|
227
|
-
var
|
|
228
|
-
Ce + "?" +
|
|
229
|
-
xa + "+" +
|
|
230
|
-
Ce + "?" +
|
|
231
|
-
Ce + "+" +
|
|
227
|
+
var ks = "\\ud800-\\udfff", oa = "\\u0300-\\u036f", la = "\\ufe20-\\ufe2f", ca = "\\u20d0-\\u20ff", da = oa + la + ca, Is = "\\u2700-\\u27bf", Rs = "a-z\\xdf-\\xf6\\xf8-\\xff", ha = "\\xac\\xb1\\xd7\\xf7", ua = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", pa = "\\u2000-\\u206f", ga = " \\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", Ds = "A-Z\\xc0-\\xd6\\xd8-\\xde", ma = "\\ufe0e\\ufe0f", _s = ha + ua + pa + ga, Ps = "['’]", Kt = "[" + _s + "]", fa = "[" + da + "]", Vs = "\\d+", va = "[" + Is + "]", Bs = "[" + Rs + "]", $s = "[^" + ks + _s + Vs + Is + Rs + Ds + "]", ya = "\\ud83c[\\udffb-\\udfff]", ba = "(?:" + fa + "|" + ya + ")", Ea = "[^" + ks + "]", Gs = "(?:\\ud83c[\\udde6-\\uddff]){2}", Ns = "[\\ud800-\\udbff][\\udc00-\\udfff]", Ce = "[" + Ds + "]", Sa = "\\u200d", Jt = "(?:" + Bs + "|" + $s + ")", xa = "(?:" + Ce + "|" + $s + ")", Qt = "(?:" + Ps + "(?:d|ll|m|re|s|t|ve))?", es = "(?:" + Ps + "(?:D|LL|M|RE|S|T|VE))?", Hs = ba + "?", Us = "[" + ma + "]?", Oa = "(?:" + Sa + "(?:" + [Ea, Gs, Ns].join("|") + ")" + Us + Hs + ")*", Ta = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", La = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", wa = Us + Hs + Oa, Ma = "(?:" + [va, Gs, Ns].join("|") + ")" + wa, Aa = RegExp([
|
|
228
|
+
Ce + "?" + Bs + "+" + Qt + "(?=" + [Kt, Ce, "$"].join("|") + ")",
|
|
229
|
+
xa + "+" + es + "(?=" + [Kt, Ce + Jt, "$"].join("|") + ")",
|
|
230
|
+
Ce + "?" + Jt + "+" + Qt,
|
|
231
|
+
Ce + "+" + es,
|
|
232
232
|
La,
|
|
233
233
|
Ta,
|
|
234
|
-
|
|
234
|
+
Vs,
|
|
235
235
|
Ma
|
|
236
236
|
].join("|"), "g");
|
|
237
237
|
function Ca(o) {
|
|
@@ -249,25 +249,25 @@ function Da(o) {
|
|
|
249
249
|
function _a(o, e, t) {
|
|
250
250
|
return o === o && (t !== void 0 && (o = o <= t ? o : t), e !== void 0 && (o = o >= e ? o : e)), o;
|
|
251
251
|
}
|
|
252
|
-
function
|
|
253
|
-
return t === void 0 && (t = e, e = void 0), t !== void 0 && (t =
|
|
252
|
+
function zs(o, e, t) {
|
|
253
|
+
return t === void 0 && (t = e, e = void 0), t !== void 0 && (t = rt(t), t = t === t ? t : 0), e !== void 0 && (e = rt(e), e = e === e ? e : 0), _a(rt(o), e, t);
|
|
254
254
|
}
|
|
255
255
|
function Pa(o, e) {
|
|
256
|
-
var t = -1, s =
|
|
257
|
-
return
|
|
256
|
+
var t = -1, s = qs(o) ? Array(o.length) : [];
|
|
257
|
+
return Cs(o, function(n, a, i) {
|
|
258
258
|
s[++t] = e(n, a, i);
|
|
259
259
|
}), s;
|
|
260
260
|
}
|
|
261
261
|
function Va(o, e) {
|
|
262
|
-
var t = Ss(o) ?
|
|
262
|
+
var t = Ss(o) ? Ks : Pa;
|
|
263
263
|
return t(o, xs(e));
|
|
264
264
|
}
|
|
265
265
|
var Ba = 1 / 0;
|
|
266
266
|
function $a(o, e) {
|
|
267
|
-
return
|
|
267
|
+
return Js(Va(o, e), Ba);
|
|
268
268
|
}
|
|
269
|
-
function
|
|
270
|
-
return
|
|
269
|
+
function Fs(o, e) {
|
|
270
|
+
return Qs(o, e);
|
|
271
271
|
}
|
|
272
272
|
var Ga = Da(function(o, e, t) {
|
|
273
273
|
return o + (t ? "-" : "") + e.toLowerCase();
|
|
@@ -275,13 +275,13 @@ var Ga = Da(function(o, e, t) {
|
|
|
275
275
|
const we = Ga;
|
|
276
276
|
function Na(o, e) {
|
|
277
277
|
var t;
|
|
278
|
-
return
|
|
278
|
+
return Cs(o, function(s, n, a) {
|
|
279
279
|
return t = e(s, n, a), !t;
|
|
280
280
|
}), !!t;
|
|
281
281
|
}
|
|
282
282
|
function Ha(o, e, t) {
|
|
283
|
-
var s = Ss(o) ?
|
|
284
|
-
return t &&
|
|
283
|
+
var s = Ss(o) ? en : Na;
|
|
284
|
+
return t && tn(o, e, t) && (e = void 0), s(o, xs(e));
|
|
285
285
|
}
|
|
286
286
|
class z {
|
|
287
287
|
constructor(e, t, s) {
|
|
@@ -343,10 +343,10 @@ class z {
|
|
|
343
343
|
* component's config.options object.
|
|
344
344
|
*/
|
|
345
345
|
getOptions() {
|
|
346
|
-
return this.configs.options ?
|
|
346
|
+
return this.configs.options ? De({}, this.model.getOptions(), this.configs.options) : this.model.getOptions();
|
|
347
347
|
}
|
|
348
348
|
}
|
|
349
|
-
const
|
|
349
|
+
const Je = class Je extends z {
|
|
350
350
|
constructor() {
|
|
351
351
|
super(...arguments), this.type = "toolbar", this.renderType = H.HTML;
|
|
352
352
|
}
|
|
@@ -512,7 +512,7 @@ const Ns = class Hs extends z {
|
|
|
512
512
|
const e = y(this.getOptions(), "toolbar", "numberOfIcons") - 1, t = y(this.getOptions(), "toolbar", "controls"), s = [], n = [], a = [];
|
|
513
513
|
return t.forEach((i) => {
|
|
514
514
|
let r = null;
|
|
515
|
-
i.type === ee.CUSTOM ? (y(i, "id") === null && (i.id = `toolbar-button-${
|
|
515
|
+
i.type === ee.CUSTOM ? (y(i, "id") === null && (i.id = `toolbar-button-${Je.buttonID++}`), y(i, "shouldBeDisabled") === null && (i.shouldBeDisabled = () => !1), r = i) : r = this.getControlConfigByType(i.type), r && (r.text = i.text ? i.text : i.type, r.id.indexOf("toolbar-export") !== -1 ? s.push(r) : n.length < e ? y(r, "iconSVG", "content") === null ? a.push(r) : n.push(r) : a.push(r));
|
|
516
516
|
}), a.push(...s), a.length ? {
|
|
517
517
|
buttonList: n,
|
|
518
518
|
overflowMenuItemList: a
|
|
@@ -668,11 +668,11 @@ const Ns = class Hs extends z {
|
|
|
668
668
|
}
|
|
669
669
|
}
|
|
670
670
|
};
|
|
671
|
-
|
|
672
|
-
let
|
|
673
|
-
const
|
|
671
|
+
Je.buttonID = 0;
|
|
672
|
+
let ts = Je;
|
|
673
|
+
const Qe = class Qe extends z {
|
|
674
674
|
constructor(e, t, s, n) {
|
|
675
|
-
super(e, t, n), this.type = "layout", this.configs = n, this.children = s, this._instanceID =
|
|
675
|
+
super(e, t, n), this.type = "layout", this.configs = n, this.children = s, this._instanceID = Qe.instanceID++, this.init();
|
|
676
676
|
}
|
|
677
677
|
init() {
|
|
678
678
|
this.children.forEach((e) => {
|
|
@@ -709,7 +709,7 @@ const Us = class zs extends z {
|
|
|
709
709
|
this.configs.direction === Te.COLUMN_REVERSE
|
|
710
710
|
).classed(
|
|
711
711
|
`${he}--${i}--layout-alignitems-center`,
|
|
712
|
-
this.configs.alignItems ===
|
|
712
|
+
this.configs.alignItems === Pn.CENTER
|
|
713
713
|
).selectAll(`div.layout-child-${this._instanceID}`).data(this.children, (d) => d.id);
|
|
714
714
|
r.enter().append("div").merge(t.selectAll(`div.layout-child-${this._instanceID}`)).attr("class", (d) => `layout-child layout-child-${this._instanceID} ${d.id}`).each(function(d) {
|
|
715
715
|
d.components.forEach((p) => {
|
|
@@ -756,9 +756,9 @@ const Us = class zs extends z {
|
|
|
756
756
|
});
|
|
757
757
|
}
|
|
758
758
|
};
|
|
759
|
-
|
|
760
|
-
let
|
|
761
|
-
class
|
|
759
|
+
Qe.instanceID = Math.floor(Math.random() * 99999999999);
|
|
760
|
+
let ss = Qe;
|
|
761
|
+
class nc extends z {
|
|
762
762
|
constructor() {
|
|
763
763
|
super(...arguments), this.type = "spacer";
|
|
764
764
|
}
|
|
@@ -766,7 +766,7 @@ class ic extends z {
|
|
|
766
766
|
// @ts-ignore
|
|
767
767
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
768
768
|
render(e = !1) {
|
|
769
|
-
this.getComponentContainer().style("width", `${this.configs.size ||
|
|
769
|
+
this.getComponentContainer().style("width", `${this.configs.size || zt.default.size}px`).style("height", `${this.configs.size || zt.default.size}px`).attr("opacity", 0);
|
|
770
770
|
}
|
|
771
771
|
}
|
|
772
772
|
var Ua = {
|
|
@@ -783,15 +783,15 @@ var Ua = {
|
|
|
783
783
|
textarea:not([disabled]),
|
|
784
784
|
iframe, object, embed, *[tabindex], *[contenteditable=true]
|
|
785
785
|
`
|
|
786
|
-
},
|
|
787
|
-
function
|
|
786
|
+
}, pt = Ua;
|
|
787
|
+
function ns(o, 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(o, s.key, s);
|
|
791
791
|
}
|
|
792
792
|
}
|
|
793
793
|
function za(o, e, t) {
|
|
794
|
-
return e &&
|
|
794
|
+
return e && ns(o.prototype, e), t && ns(o, t), Object.defineProperty(o, "prototype", {
|
|
795
795
|
writable: !1
|
|
796
796
|
}), o;
|
|
797
797
|
}
|
|
@@ -809,12 +809,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
809
809
|
function Za(o, e) {
|
|
810
810
|
if (o) {
|
|
811
811
|
if (typeof o == "string")
|
|
812
|
-
return
|
|
812
|
+
return yt(o, e);
|
|
813
813
|
var t = Object.prototype.toString.call(o).slice(8, -1);
|
|
814
814
|
if (t === "Object" && o.constructor && (t = o.constructor.name), t === "Map" || t === "Set")
|
|
815
815
|
return Array.from(o);
|
|
816
816
|
if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))
|
|
817
|
-
return
|
|
817
|
+
return yt(o, e);
|
|
818
818
|
}
|
|
819
819
|
}
|
|
820
820
|
function Xa(o) {
|
|
@@ -823,23 +823,23 @@ function Xa(o) {
|
|
|
823
823
|
}
|
|
824
824
|
function Ya(o) {
|
|
825
825
|
if (Array.isArray(o))
|
|
826
|
-
return
|
|
826
|
+
return yt(o);
|
|
827
827
|
}
|
|
828
|
-
function
|
|
828
|
+
function yt(o, e) {
|
|
829
829
|
(e == null || e > o.length) && (e = o.length);
|
|
830
830
|
for (var t = 0, s = new Array(e); t < e; t++)
|
|
831
831
|
s[t] = o[t];
|
|
832
832
|
return s;
|
|
833
833
|
}
|
|
834
|
-
function
|
|
834
|
+
function Ws(o) {
|
|
835
835
|
return o.reduce(function(e, t) {
|
|
836
|
-
return Array.isArray(t) ? e.push.apply(e, Wa(
|
|
836
|
+
return Array.isArray(t) ? e.push.apply(e, Wa(Ws(t))) : e.push(t), e;
|
|
837
837
|
}, []);
|
|
838
838
|
}
|
|
839
839
|
function qa() {
|
|
840
840
|
for (var o = arguments.length, e = new Array(o), t = 0; t < o; t++)
|
|
841
841
|
e[t] = arguments[t];
|
|
842
|
-
return
|
|
842
|
+
return Ws(e).reduce(function(s, n) {
|
|
843
843
|
return n(s);
|
|
844
844
|
}, /* @__PURE__ */ function() {
|
|
845
845
|
function s() {
|
|
@@ -848,26 +848,26 @@ function qa() {
|
|
|
848
848
|
return za(s);
|
|
849
849
|
}());
|
|
850
850
|
}
|
|
851
|
-
function
|
|
851
|
+
function bt(o) {
|
|
852
852
|
"@babel/helpers - typeof";
|
|
853
|
-
return
|
|
853
|
+
return bt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
854
854
|
return typeof e;
|
|
855
855
|
} : function(e) {
|
|
856
856
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
857
|
-
},
|
|
857
|
+
}, bt(o);
|
|
858
858
|
}
|
|
859
859
|
function Ka(o, e) {
|
|
860
860
|
if (!(o instanceof e))
|
|
861
861
|
throw new TypeError("Cannot call a class as a function");
|
|
862
862
|
}
|
|
863
|
-
function
|
|
863
|
+
function as(o, e) {
|
|
864
864
|
for (var t = 0; t < e.length; t++) {
|
|
865
865
|
var s = e[t];
|
|
866
866
|
s.enumerable = s.enumerable || !1, s.configurable = !0, "value" in s && (s.writable = !0), Object.defineProperty(o, s.key, s);
|
|
867
867
|
}
|
|
868
868
|
}
|
|
869
869
|
function Ja(o, e, t) {
|
|
870
|
-
return e &&
|
|
870
|
+
return e && as(o.prototype, e), t && as(o, t), Object.defineProperty(o, "prototype", {
|
|
871
871
|
writable: !1
|
|
872
872
|
}), o;
|
|
873
873
|
}
|
|
@@ -882,12 +882,12 @@ function Qa(o, e) {
|
|
|
882
882
|
}
|
|
883
883
|
}), Object.defineProperty(o, "prototype", {
|
|
884
884
|
writable: !1
|
|
885
|
-
}), e &&
|
|
885
|
+
}), e && Et(o, e);
|
|
886
886
|
}
|
|
887
|
-
function
|
|
888
|
-
return
|
|
887
|
+
function Et(o, e) {
|
|
888
|
+
return Et = Object.setPrototypeOf || function(s, n) {
|
|
889
889
|
return s.__proto__ = n, s;
|
|
890
|
-
},
|
|
890
|
+
}, Et(o, e);
|
|
891
891
|
}
|
|
892
892
|
function ei(o) {
|
|
893
893
|
var e = si();
|
|
@@ -902,13 +902,13 @@ function ei(o) {
|
|
|
902
902
|
};
|
|
903
903
|
}
|
|
904
904
|
function ti(o, e) {
|
|
905
|
-
if (e && (
|
|
905
|
+
if (e && (bt(e) === "object" || typeof e == "function"))
|
|
906
906
|
return e;
|
|
907
907
|
if (e !== void 0)
|
|
908
908
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
909
|
-
return
|
|
909
|
+
return js(o);
|
|
910
910
|
}
|
|
911
|
-
function
|
|
911
|
+
function js(o) {
|
|
912
912
|
if (o === void 0)
|
|
913
913
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
914
914
|
return o;
|
|
@@ -938,7 +938,7 @@ function ni(o) {
|
|
|
938
938
|
var i, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
939
939
|
if (Ka(this, n), i = s.call(this, a, r), i.children = [], !a || a.nodeType !== Node.ELEMENT_NODE)
|
|
940
940
|
throw new TypeError("DOM element should be given to initialize this widget.");
|
|
941
|
-
return i.element = a, i.options = Object.assign(Object.create(i.constructor.options), r), i.constructor.components.set(i.element,
|
|
941
|
+
return i.element = a, i.options = Object.assign(Object.create(i.constructor.options), r), i.constructor.components.set(i.element, js(i)), i;
|
|
942
942
|
}
|
|
943
943
|
return Ja(n, [{
|
|
944
944
|
key: "release",
|
|
@@ -961,40 +961,40 @@ function ni(o) {
|
|
|
961
961
|
}(o);
|
|
962
962
|
return e;
|
|
963
963
|
}
|
|
964
|
-
function
|
|
964
|
+
function St(o) {
|
|
965
965
|
"@babel/helpers - typeof";
|
|
966
|
-
return
|
|
966
|
+
return St = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
967
967
|
return typeof e;
|
|
968
968
|
} : function(e) {
|
|
969
969
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
970
|
-
},
|
|
970
|
+
}, St(o);
|
|
971
971
|
}
|
|
972
972
|
function ai(o, e) {
|
|
973
973
|
if (!(o instanceof e))
|
|
974
974
|
throw new TypeError("Cannot call a class as a function");
|
|
975
975
|
}
|
|
976
|
-
function
|
|
976
|
+
function is(o, e) {
|
|
977
977
|
for (var t = 0; t < e.length; t++) {
|
|
978
978
|
var s = e[t];
|
|
979
979
|
s.enumerable = s.enumerable || !1, s.configurable = !0, "value" in s && (s.writable = !0), Object.defineProperty(o, s.key, s);
|
|
980
980
|
}
|
|
981
981
|
}
|
|
982
982
|
function ii(o, e, t) {
|
|
983
|
-
return e &&
|
|
983
|
+
return e && is(o.prototype, e), t && is(o, t), Object.defineProperty(o, "prototype", {
|
|
984
984
|
writable: !1
|
|
985
985
|
}), o;
|
|
986
986
|
}
|
|
987
|
-
function
|
|
988
|
-
return typeof Reflect < "u" && Reflect.get ?
|
|
987
|
+
function je() {
|
|
988
|
+
return typeof Reflect < "u" && Reflect.get ? je = Reflect.get : je = function(e, t, s) {
|
|
989
989
|
var n = ri(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
|
+
}, je.apply(this, arguments);
|
|
995
995
|
}
|
|
996
996
|
function ri(o, e) {
|
|
997
|
-
for (; !Object.prototype.hasOwnProperty.call(o, e) && (o =
|
|
997
|
+
for (; !Object.prototype.hasOwnProperty.call(o, e) && (o = _e(o), o !== null); )
|
|
998
998
|
;
|
|
999
999
|
return o;
|
|
1000
1000
|
}
|
|
@@ -1009,19 +1009,19 @@ function oi(o, e) {
|
|
|
1009
1009
|
}
|
|
1010
1010
|
}), Object.defineProperty(o, "prototype", {
|
|
1011
1011
|
writable: !1
|
|
1012
|
-
}), e &&
|
|
1012
|
+
}), e && xt(o, e);
|
|
1013
1013
|
}
|
|
1014
|
-
function
|
|
1015
|
-
return
|
|
1014
|
+
function xt(o, e) {
|
|
1015
|
+
return xt = Object.setPrototypeOf || function(s, n) {
|
|
1016
1016
|
return s.__proto__ = n, s;
|
|
1017
|
-
},
|
|
1017
|
+
}, xt(o, e);
|
|
1018
1018
|
}
|
|
1019
1019
|
function li(o) {
|
|
1020
1020
|
var e = hi();
|
|
1021
1021
|
return function() {
|
|
1022
|
-
var s =
|
|
1022
|
+
var s = _e(o), n;
|
|
1023
1023
|
if (e) {
|
|
1024
|
-
var a =
|
|
1024
|
+
var a = _e(this).constructor;
|
|
1025
1025
|
n = Reflect.construct(s, arguments, a);
|
|
1026
1026
|
} else
|
|
1027
1027
|
n = s.apply(this, arguments);
|
|
@@ -1029,7 +1029,7 @@ function li(o) {
|
|
|
1029
1029
|
};
|
|
1030
1030
|
}
|
|
1031
1031
|
function ci(o, e) {
|
|
1032
|
-
if (e && (
|
|
1032
|
+
if (e && (St(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");
|
|
@@ -1052,10 +1052,10 @@ function hi() {
|
|
|
1052
1052
|
return !1;
|
|
1053
1053
|
}
|
|
1054
1054
|
}
|
|
1055
|
-
function
|
|
1056
|
-
return
|
|
1055
|
+
function _e(o) {
|
|
1056
|
+
return _e = Object.setPrototypeOf ? Object.getPrototypeOf : function(t) {
|
|
1057
1057
|
return t.__proto__ || Object.getPrototypeOf(t);
|
|
1058
|
-
},
|
|
1058
|
+
}, _e(o);
|
|
1059
1059
|
}
|
|
1060
1060
|
function ui(o) {
|
|
1061
1061
|
var e = /* @__PURE__ */ function(t) {
|
|
@@ -1096,13 +1096,13 @@ function ui(o) {
|
|
|
1096
1096
|
var i = this;
|
|
1097
1097
|
return this.handles.forEach(function(r) {
|
|
1098
1098
|
r.release(), i.handles.delete(r);
|
|
1099
|
-
}),
|
|
1099
|
+
}), je(_e(n.prototype), "release", this).call(this);
|
|
1100
1100
|
}
|
|
1101
1101
|
}]), n;
|
|
1102
1102
|
}(o);
|
|
1103
1103
|
return e;
|
|
1104
1104
|
}
|
|
1105
|
-
function
|
|
1105
|
+
function $e(o) {
|
|
1106
1106
|
for (var e = arguments.length, t = new Array(e > 1 ? e - 1 : 0), s = 1; s < e; s++)
|
|
1107
1107
|
t[s - 1] = arguments[s];
|
|
1108
1108
|
return o.addEventListener.apply(o, t), {
|
|
@@ -1111,13 +1111,13 @@ function Be(o) {
|
|
|
1111
1111
|
}
|
|
1112
1112
|
};
|
|
1113
1113
|
}
|
|
1114
|
-
function
|
|
1114
|
+
function Ot(o) {
|
|
1115
1115
|
"@babel/helpers - typeof";
|
|
1116
|
-
return
|
|
1116
|
+
return Ot = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
1117
1117
|
return typeof e;
|
|
1118
1118
|
} : function(e) {
|
|
1119
1119
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
1120
|
-
},
|
|
1120
|
+
}, Ot(o);
|
|
1121
1121
|
}
|
|
1122
1122
|
function pi(o) {
|
|
1123
1123
|
return vi(o) || fi(o) || mi(o) || gi();
|
|
@@ -1129,12 +1129,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1129
1129
|
function mi(o, e) {
|
|
1130
1130
|
if (o) {
|
|
1131
1131
|
if (typeof o == "string")
|
|
1132
|
-
return
|
|
1132
|
+
return Tt(o, e);
|
|
1133
1133
|
var t = Object.prototype.toString.call(o).slice(8, -1);
|
|
1134
1134
|
if (t === "Object" && o.constructor && (t = o.constructor.name), t === "Map" || t === "Set")
|
|
1135
1135
|
return Array.from(o);
|
|
1136
1136
|
if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))
|
|
1137
|
-
return
|
|
1137
|
+
return Tt(o, e);
|
|
1138
1138
|
}
|
|
1139
1139
|
}
|
|
1140
1140
|
function fi(o) {
|
|
@@ -1143,9 +1143,9 @@ function fi(o) {
|
|
|
1143
1143
|
}
|
|
1144
1144
|
function vi(o) {
|
|
1145
1145
|
if (Array.isArray(o))
|
|
1146
|
-
return
|
|
1146
|
+
return Tt(o);
|
|
1147
1147
|
}
|
|
1148
|
-
function
|
|
1148
|
+
function Tt(o, e) {
|
|
1149
1149
|
(e == null || e > o.length) && (e = o.length);
|
|
1150
1150
|
for (var t = 0, s = new Array(e); t < e; t++)
|
|
1151
1151
|
s[t] = o[t];
|
|
@@ -1155,14 +1155,14 @@ function yi(o, e) {
|
|
|
1155
1155
|
if (!(o instanceof e))
|
|
1156
1156
|
throw new TypeError("Cannot call a class as a function");
|
|
1157
1157
|
}
|
|
1158
|
-
function
|
|
1158
|
+
function rs(o, e) {
|
|
1159
1159
|
for (var t = 0; t < e.length; t++) {
|
|
1160
1160
|
var s = e[t];
|
|
1161
1161
|
s.enumerable = s.enumerable || !1, s.configurable = !0, "value" in s && (s.writable = !0), Object.defineProperty(o, s.key, s);
|
|
1162
1162
|
}
|
|
1163
1163
|
}
|
|
1164
1164
|
function bi(o, e, t) {
|
|
1165
|
-
return e &&
|
|
1165
|
+
return e && rs(o.prototype, e), t && rs(o, t), Object.defineProperty(o, "prototype", {
|
|
1166
1166
|
writable: !1
|
|
1167
1167
|
}), o;
|
|
1168
1168
|
}
|
|
@@ -1177,12 +1177,12 @@ function Ei(o, e) {
|
|
|
1177
1177
|
}
|
|
1178
1178
|
}), Object.defineProperty(o, "prototype", {
|
|
1179
1179
|
writable: !1
|
|
1180
|
-
}), e &&
|
|
1180
|
+
}), e && Lt(o, e);
|
|
1181
1181
|
}
|
|
1182
|
-
function
|
|
1183
|
-
return
|
|
1182
|
+
function Lt(o, e) {
|
|
1183
|
+
return Lt = Object.setPrototypeOf || function(s, n) {
|
|
1184
1184
|
return s.__proto__ = n, s;
|
|
1185
|
-
},
|
|
1185
|
+
}, Lt(o, e);
|
|
1186
1186
|
}
|
|
1187
1187
|
function Si(o) {
|
|
1188
1188
|
var e = Ti();
|
|
@@ -1197,7 +1197,7 @@ function Si(o) {
|
|
|
1197
1197
|
};
|
|
1198
1198
|
}
|
|
1199
1199
|
function xi(o, e) {
|
|
1200
|
-
if (e && (
|
|
1200
|
+
if (e && (Ot(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");
|
|
@@ -1309,7 +1309,7 @@ function Li(o) {
|
|
|
1309
1309
|
}(o);
|
|
1310
1310
|
return e;
|
|
1311
1311
|
}
|
|
1312
|
-
function
|
|
1312
|
+
function wt(o, e) {
|
|
1313
1313
|
var t = o.target, s = o.currentTarget;
|
|
1314
1314
|
if (typeof t.matches == "function") {
|
|
1315
1315
|
if (t.matches(e))
|
|
@@ -1321,7 +1321,7 @@ function Tt(o, e) {
|
|
|
1321
1321
|
}
|
|
1322
1322
|
}
|
|
1323
1323
|
}
|
|
1324
|
-
function
|
|
1324
|
+
function os(o) {
|
|
1325
1325
|
if (!o || typeof o == "function")
|
|
1326
1326
|
return {
|
|
1327
1327
|
launchingElement: null,
|
|
@@ -1337,26 +1337,26 @@ function ns(o) {
|
|
|
1337
1337
|
launchingEvent: t
|
|
1338
1338
|
};
|
|
1339
1339
|
}
|
|
1340
|
-
function
|
|
1340
|
+
function Mt(o) {
|
|
1341
1341
|
"@babel/helpers - typeof";
|
|
1342
|
-
return
|
|
1342
|
+
return Mt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
1343
1343
|
return typeof e;
|
|
1344
1344
|
} : function(e) {
|
|
1345
1345
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
1346
|
-
},
|
|
1346
|
+
}, Mt(o);
|
|
1347
1347
|
}
|
|
1348
1348
|
function wi(o, e) {
|
|
1349
1349
|
if (!(o instanceof e))
|
|
1350
1350
|
throw new TypeError("Cannot call a class as a function");
|
|
1351
1351
|
}
|
|
1352
|
-
function
|
|
1352
|
+
function ls(o, e) {
|
|
1353
1353
|
for (var t = 0; t < e.length; t++) {
|
|
1354
1354
|
var s = e[t];
|
|
1355
1355
|
s.enumerable = s.enumerable || !1, s.configurable = !0, "value" in s && (s.writable = !0), Object.defineProperty(o, s.key, s);
|
|
1356
1356
|
}
|
|
1357
1357
|
}
|
|
1358
1358
|
function Mi(o, e, t) {
|
|
1359
|
-
return e &&
|
|
1359
|
+
return e && ls(o.prototype, e), t && ls(o, t), Object.defineProperty(o, "prototype", {
|
|
1360
1360
|
writable: !1
|
|
1361
1361
|
}), o;
|
|
1362
1362
|
}
|
|
@@ -1371,12 +1371,12 @@ function Ai(o, e) {
|
|
|
1371
1371
|
}
|
|
1372
1372
|
}), Object.defineProperty(o, "prototype", {
|
|
1373
1373
|
writable: !1
|
|
1374
|
-
}), e &&
|
|
1374
|
+
}), e && At(o, e);
|
|
1375
1375
|
}
|
|
1376
|
-
function
|
|
1377
|
-
return
|
|
1376
|
+
function At(o, e) {
|
|
1377
|
+
return At = Object.setPrototypeOf || function(s, n) {
|
|
1378
1378
|
return s.__proto__ = n, s;
|
|
1379
|
-
},
|
|
1379
|
+
}, At(o, e);
|
|
1380
1380
|
}
|
|
1381
1381
|
function Ci(o) {
|
|
1382
1382
|
var e = Ri();
|
|
@@ -1391,7 +1391,7 @@ function Ci(o) {
|
|
|
1391
1391
|
};
|
|
1392
1392
|
}
|
|
1393
1393
|
function ki(o, e) {
|
|
1394
|
-
if (e && (
|
|
1394
|
+
if (e && (Mt(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");
|
|
@@ -1437,7 +1437,7 @@ function Di(o) {
|
|
|
1437
1437
|
* @param {EventedState~changeStateCallback} [callback] The callback.
|
|
1438
1438
|
*/
|
|
1439
1439
|
function(i, r) {
|
|
1440
|
-
(!i || typeof i == "function") && (r = i), this.changeState("shown",
|
|
1440
|
+
(!i || typeof i == "function") && (r = i), this.changeState("shown", os(i), r);
|
|
1441
1441
|
}
|
|
1442
1442
|
)
|
|
1443
1443
|
/**
|
|
@@ -1448,7 +1448,7 @@ function Di(o) {
|
|
|
1448
1448
|
}, {
|
|
1449
1449
|
key: "hide",
|
|
1450
1450
|
value: function(i, r) {
|
|
1451
|
-
(!i || typeof i == "function") && (r = i), this.changeState("hidden",
|
|
1451
|
+
(!i || typeof i == "function") && (r = i), this.changeState("hidden", os(i), r);
|
|
1452
1452
|
}
|
|
1453
1453
|
}]), n;
|
|
1454
1454
|
}(o);
|
|
@@ -1459,9 +1459,9 @@ const Pi = _i;
|
|
|
1459
1459
|
function Vi(o) {
|
|
1460
1460
|
return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
|
|
1461
1461
|
}
|
|
1462
|
-
var
|
|
1462
|
+
var Zs = function() {
|
|
1463
1463
|
};
|
|
1464
|
-
process.env.NODE_ENV !== "production" && (
|
|
1464
|
+
process.env.NODE_ENV !== "production" && (Zs = function(o, e, t) {
|
|
1465
1465
|
var s = arguments.length;
|
|
1466
1466
|
t = new Array(s > 2 ? s - 2 : 0);
|
|
1467
1467
|
for (var n = 2; n < s; n++)
|
|
@@ -1485,28 +1485,28 @@ process.env.NODE_ENV !== "production" && (js = function(o, e, t) {
|
|
|
1485
1485
|
}
|
|
1486
1486
|
}
|
|
1487
1487
|
});
|
|
1488
|
-
var Bi =
|
|
1488
|
+
var Bi = Zs;
|
|
1489
1489
|
const $i = /* @__PURE__ */ Vi(Bi);
|
|
1490
|
-
function
|
|
1490
|
+
function Ct(o) {
|
|
1491
1491
|
"@babel/helpers - typeof";
|
|
1492
|
-
return
|
|
1492
|
+
return Ct = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
1493
1493
|
return typeof e;
|
|
1494
1494
|
} : function(e) {
|
|
1495
1495
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
1496
|
-
},
|
|
1496
|
+
}, Ct(o);
|
|
1497
1497
|
}
|
|
1498
1498
|
function Gi(o, e) {
|
|
1499
1499
|
if (!(o instanceof e))
|
|
1500
1500
|
throw new TypeError("Cannot call a class as a function");
|
|
1501
1501
|
}
|
|
1502
|
-
function
|
|
1502
|
+
function cs(o, e) {
|
|
1503
1503
|
for (var t = 0; t < e.length; t++) {
|
|
1504
1504
|
var s = e[t];
|
|
1505
1505
|
s.enumerable = s.enumerable || !1, s.configurable = !0, "value" in s && (s.writable = !0), Object.defineProperty(o, s.key, s);
|
|
1506
1506
|
}
|
|
1507
1507
|
}
|
|
1508
1508
|
function Ni(o, e, t) {
|
|
1509
|
-
return e &&
|
|
1509
|
+
return e && cs(o.prototype, e), t && cs(o, t), Object.defineProperty(o, "prototype", {
|
|
1510
1510
|
writable: !1
|
|
1511
1511
|
}), o;
|
|
1512
1512
|
}
|
|
@@ -1521,12 +1521,12 @@ function Hi(o, e) {
|
|
|
1521
1521
|
}
|
|
1522
1522
|
}), Object.defineProperty(o, "prototype", {
|
|
1523
1523
|
writable: !1
|
|
1524
|
-
}), e &&
|
|
1524
|
+
}), e && kt(o, e);
|
|
1525
1525
|
}
|
|
1526
|
-
function
|
|
1527
|
-
return
|
|
1526
|
+
function kt(o, e) {
|
|
1527
|
+
return kt = Object.setPrototypeOf || function(s, n) {
|
|
1528
1528
|
return s.__proto__ = n, s;
|
|
1529
|
-
},
|
|
1529
|
+
}, kt(o, e);
|
|
1530
1530
|
}
|
|
1531
1531
|
function Ui(o) {
|
|
1532
1532
|
var e = Wi();
|
|
@@ -1541,7 +1541,7 @@ function Ui(o) {
|
|
|
1541
1541
|
};
|
|
1542
1542
|
}
|
|
1543
1543
|
function zi(o, e) {
|
|
1544
|
-
if (e && (
|
|
1544
|
+
if (e && (Ct(e) === "object" || typeof e == "function"))
|
|
1545
1545
|
return e;
|
|
1546
1546
|
if (e !== void 0)
|
|
1547
1547
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
@@ -1602,8 +1602,8 @@ function ji(o) {
|
|
|
1602
1602
|
this.create(r, l);
|
|
1603
1603
|
else {
|
|
1604
1604
|
var d = c.initEventNames.map(function(p) {
|
|
1605
|
-
return
|
|
1606
|
-
var u =
|
|
1605
|
+
return $e(r, p, function(h) {
|
|
1606
|
+
var u = wt(h, "[".concat(c.attribInitTarget, "]"));
|
|
1607
1607
|
if (u) {
|
|
1608
1608
|
h.delegateTarget = u;
|
|
1609
1609
|
var g = u.ownerDocument.querySelectorAll(u.getAttribute(c.attribInitTarget));
|
|
@@ -1631,26 +1631,26 @@ function ji(o) {
|
|
|
1631
1631
|
}(o);
|
|
1632
1632
|
return e;
|
|
1633
1633
|
}
|
|
1634
|
-
function
|
|
1634
|
+
function It(o) {
|
|
1635
1635
|
"@babel/helpers - typeof";
|
|
1636
|
-
return
|
|
1636
|
+
return It = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
1637
1637
|
return typeof e;
|
|
1638
1638
|
} : function(e) {
|
|
1639
1639
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
1640
|
-
},
|
|
1640
|
+
}, It(o);
|
|
1641
1641
|
}
|
|
1642
1642
|
function Zi(o, e) {
|
|
1643
1643
|
if (!(o instanceof e))
|
|
1644
1644
|
throw new TypeError("Cannot call a class as a function");
|
|
1645
1645
|
}
|
|
1646
|
-
function
|
|
1646
|
+
function ds(o, e) {
|
|
1647
1647
|
for (var t = 0; t < e.length; t++) {
|
|
1648
1648
|
var s = e[t];
|
|
1649
1649
|
s.enumerable = s.enumerable || !1, s.configurable = !0, "value" in s && (s.writable = !0), Object.defineProperty(o, s.key, s);
|
|
1650
1650
|
}
|
|
1651
1651
|
}
|
|
1652
1652
|
function Xi(o, e, t) {
|
|
1653
|
-
return e &&
|
|
1653
|
+
return e && ds(o.prototype, e), t && ds(o, t), Object.defineProperty(o, "prototype", {
|
|
1654
1654
|
writable: !1
|
|
1655
1655
|
}), o;
|
|
1656
1656
|
}
|
|
@@ -1665,12 +1665,12 @@ function Yi(o, e) {
|
|
|
1665
1665
|
}
|
|
1666
1666
|
}), Object.defineProperty(o, "prototype", {
|
|
1667
1667
|
writable: !1
|
|
1668
|
-
}), e &&
|
|
1668
|
+
}), e && Rt(o, e);
|
|
1669
1669
|
}
|
|
1670
|
-
function
|
|
1671
|
-
return
|
|
1670
|
+
function Rt(o, e) {
|
|
1671
|
+
return Rt = Object.setPrototypeOf || function(s, n) {
|
|
1672
1672
|
return s.__proto__ = n, s;
|
|
1673
|
-
},
|
|
1673
|
+
}, Rt(o, e);
|
|
1674
1674
|
}
|
|
1675
1675
|
function qi(o) {
|
|
1676
1676
|
var e = Qi();
|
|
@@ -1685,7 +1685,7 @@ function qi(o) {
|
|
|
1685
1685
|
};
|
|
1686
1686
|
}
|
|
1687
1687
|
function Ki(o, e) {
|
|
1688
|
-
if (e && (
|
|
1688
|
+
if (e && (It(e) === "object" || typeof e == "function"))
|
|
1689
1689
|
return e;
|
|
1690
1690
|
if (e !== void 0)
|
|
1691
1691
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
@@ -1721,8 +1721,8 @@ var er = /* @__PURE__ */ function(o) {
|
|
|
1721
1721
|
return Zi(this, t), a = e.call(this, s, n), a._handleFocusinListener = void 0, a._handleKeydownListener = void 0, a._handleFocusin = function(i) {
|
|
1722
1722
|
var r = a.element.querySelector(a.options.selectorModalContainer) || a.element;
|
|
1723
1723
|
a.element.classList.contains(a.options.classVisible) && !r.contains(i.target) && a.options.selectorsFloatingMenus.every(function(l) {
|
|
1724
|
-
return !
|
|
1725
|
-
}) && a.element.querySelector(
|
|
1724
|
+
return !wt(i, l);
|
|
1725
|
+
}) && a.element.querySelector(pt.selectorTabbable).focus();
|
|
1726
1726
|
}, a._hookCloseActions(), a;
|
|
1727
1727
|
}
|
|
1728
1728
|
return Xi(t, [{
|
|
@@ -1759,25 +1759,25 @@ var er = /* @__PURE__ */ function(o) {
|
|
|
1759
1759
|
var r = this, l, c = function() {
|
|
1760
1760
|
if (l && (l = r.unmanage(l).release()), n === "shown" && r.element.offsetWidth > 0 && r.element.offsetHeight > 0) {
|
|
1761
1761
|
r.previouslyFocusedNode = r.element.ownerDocument.activeElement;
|
|
1762
|
-
var u = r.element.querySelector(r.options.selectorPrimaryFocus) || r.element.querySelector(
|
|
1762
|
+
var u = r.element.querySelector(r.options.selectorPrimaryFocus) || r.element.querySelector(pt.selectorTabbable);
|
|
1763
1763
|
u.focus(), process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "production" && $i(u, "Modals need to contain a focusable element by either using " + "`".concat(r.options.selectorPrimaryFocus, "` or settings.selectorTabbable."));
|
|
1764
1764
|
}
|
|
1765
1765
|
i();
|
|
1766
1766
|
};
|
|
1767
1767
|
if (this._handleFocusinListener && (this._handleFocusinListener = this.unmanage(this._handleFocusinListener).release()), n === "shown") {
|
|
1768
1768
|
var d = "onfocusin" in this.element.ownerDocument.defaultView, p = d ? "focusin" : "focus";
|
|
1769
|
-
this._handleFocusinListener = this.manage(
|
|
1769
|
+
this._handleFocusinListener = this.manage($e(this.element.ownerDocument, p, this._handleFocusin, !d));
|
|
1770
1770
|
}
|
|
1771
|
-
n === "hidden" ? (this.element.classList.toggle(this.options.classVisible, !1), this.element.ownerDocument.body.classList.toggle(this.options.classBody, !1), (this.options.selectorFocusOnClose || this.previouslyFocusedNode) && (this.element.ownerDocument.querySelector(this.options.selectorFocusOnClose) || this.previouslyFocusedNode).focus()) : n === "shown" && (this.element.classList.toggle(this.options.classVisible, !0), this.element.ownerDocument.body.classList.toggle(this.options.classBody, !0)), l = this.manage(
|
|
1771
|
+
n === "hidden" ? (this.element.classList.toggle(this.options.classVisible, !1), this.element.ownerDocument.body.classList.toggle(this.options.classBody, !1), (this.options.selectorFocusOnClose || this.previouslyFocusedNode) && (this.element.ownerDocument.querySelector(this.options.selectorFocusOnClose) || this.previouslyFocusedNode).focus()) : n === "shown" && (this.element.classList.toggle(this.options.classVisible, !0), this.element.ownerDocument.body.classList.toggle(this.options.classBody, !0)), l = this.manage($e(this.element, "transitionend", c));
|
|
1772
1772
|
}
|
|
1773
1773
|
}, {
|
|
1774
1774
|
key: "_hookCloseActions",
|
|
1775
1775
|
value: function() {
|
|
1776
1776
|
var n = this;
|
|
1777
|
-
this.manage(
|
|
1778
|
-
var i =
|
|
1777
|
+
this.manage($e(this.element, "click", function(a) {
|
|
1778
|
+
var i = wt(a, n.options.selectorModalClose);
|
|
1779
1779
|
i && (a.delegateTarget = i), (i || a.target === n.element) && n.hide(a);
|
|
1780
|
-
})), this._handleKeydownListener && (this._handleKeydownListener = this.unmanage(this._handleKeydownListener).release()), this._handleKeydownListener = this.manage(
|
|
1780
|
+
})), this._handleKeydownListener && (this._handleKeydownListener = this.unmanage(this._handleKeydownListener).release()), this._handleKeydownListener = this.manage($e(this.element.ownerDocument.body, "keydown", function(a) {
|
|
1781
1781
|
a.which === 27 && n.shouldStateBeChanged("hidden") && (a.stopPropagation(), n.hide(a));
|
|
1782
1782
|
}));
|
|
1783
1783
|
}
|
|
@@ -1822,7 +1822,7 @@ var er = /* @__PURE__ */ function(o) {
|
|
|
1822
1822
|
* without being canceled by the event handler named by `eventBeforeHidden` option (`modal-beinghidden`).
|
|
1823
1823
|
*/
|
|
1824
1824
|
function() {
|
|
1825
|
-
var n =
|
|
1825
|
+
var n = pt.prefix;
|
|
1826
1826
|
return {
|
|
1827
1827
|
selectorInit: "[data-modal]",
|
|
1828
1828
|
selectorModalClose: "[data-modal-close]",
|
|
@@ -1843,7 +1843,7 @@ var er = /* @__PURE__ */ function(o) {
|
|
|
1843
1843
|
}]), t.components = /* @__PURE__ */ new WeakMap(), t;
|
|
1844
1844
|
}(qa(ni, ji, Pi, ui));
|
|
1845
1845
|
const tr = er;
|
|
1846
|
-
class
|
|
1846
|
+
class ac extends z {
|
|
1847
1847
|
constructor(e, t, s) {
|
|
1848
1848
|
super(e, t, s), this.type = "modal", this.isEventListenerAdded = !1, this.handleShowModal = () => {
|
|
1849
1849
|
this.modal.attr("data-modal", !0).attr("class", "cds--modal").attr("role", "dialog").attr("aria-modal", !0).attr("aria-labelledby", "modal-title").attr("aria-describedby", "modal-description").attr("tabindex", -1), this.modal.html(this.getModalHTML()), this.modal.select("div.cds--modal-footer button.cds--btn").on("click", () => this.model.exportToCSV()), tr.create(this.modal.node()).show(), document.addEventListener("modal-hidden", this.handleHideModal);
|
|
@@ -2168,7 +2168,7 @@ class ar extends z {
|
|
|
2168
2168
|
i - a > 0 && c.attr("x", a).attr("y", l).attr("width", i - a).attr("height", r - l), this.chartClipPath.merge(c).lower();
|
|
2169
2169
|
}
|
|
2170
2170
|
}
|
|
2171
|
-
class
|
|
2171
|
+
class ic extends ar {
|
|
2172
2172
|
constructor() {
|
|
2173
2173
|
super(...arguments), this.type = "canvas-chart-clip", this.chartClipId = "canvas-chart-clip-id-" + Math.floor(Math.random() * 99999999999);
|
|
2174
2174
|
}
|
|
@@ -2188,7 +2188,7 @@ var Me, ne;
|
|
|
2188
2188
|
(function(o) {
|
|
2189
2189
|
o.LEFT = "left", o.RIGHT = "right", o.TOP = "top", o.BOTTOM = "bottom";
|
|
2190
2190
|
})(ne || (ne = {}));
|
|
2191
|
-
var
|
|
2191
|
+
var hs = (Me = {}, Me[ne.LEFT] = function(o, e, t) {
|
|
2192
2192
|
return {
|
|
2193
2193
|
top: o.top - Math.round(e.offsetHeight / 2) + Math.round(t.height / 2),
|
|
2194
2194
|
left: Math.round(o.left - e.offsetWidth)
|
|
@@ -2208,16 +2208,16 @@ var os = (Me = {}, Me[ne.LEFT] = function(o, e, t) {
|
|
|
2208
2208
|
top: Math.round(o.top + t.height),
|
|
2209
2209
|
left: o.left - Math.round(e.offsetWidth / 2) + Math.round(t.width / 2)
|
|
2210
2210
|
};
|
|
2211
|
-
}, Me),
|
|
2211
|
+
}, Me), us = typeof window < "u" ? window : {
|
|
2212
2212
|
innerHeight: 0,
|
|
2213
2213
|
scrollY: 0,
|
|
2214
2214
|
innerWidth: 0,
|
|
2215
2215
|
scrollX: 0
|
|
2216
|
-
},
|
|
2216
|
+
}, st = (
|
|
2217
2217
|
/** @class */
|
|
2218
2218
|
function() {
|
|
2219
2219
|
function o(e) {
|
|
2220
|
-
e === void 0 && (e = {}), this.positions =
|
|
2220
|
+
e === void 0 && (e = {}), this.positions = hs, this.positions = Object.assign({}, hs, e);
|
|
2221
2221
|
}
|
|
2222
2222
|
return o.prototype.getRelativeOffset = function(e) {
|
|
2223
2223
|
for (var t = {
|
|
@@ -2293,18 +2293,18 @@ var os = (Me = {}, Me[ne.LEFT] = function(o, e, t) {
|
|
|
2293
2293
|
// we go with window here, because that's going to be the simple/common case
|
|
2294
2294
|
top: 0,
|
|
2295
2295
|
left: 0,
|
|
2296
|
-
height:
|
|
2297
|
-
width:
|
|
2296
|
+
height: us.innerHeight,
|
|
2297
|
+
width: us.innerWidth
|
|
2298
2298
|
};
|
|
2299
2299
|
}, o.prototype.calculatePosition = function(e, t, s, n) {
|
|
2300
2300
|
return this.positions[n] ? this.positions[n](e, s, t) : (console.error("No function found for placement, defaulting to 0,0"), { left: 0, top: 0 });
|
|
2301
2301
|
}, o;
|
|
2302
2302
|
}()
|
|
2303
2303
|
);
|
|
2304
|
-
new
|
|
2304
|
+
new st();
|
|
2305
2305
|
class ir extends z {
|
|
2306
2306
|
constructor(e, t, s) {
|
|
2307
|
-
super(e, t, s), this.type = "tooltip", this.renderType = H.HTML, this.isEventListenerAdded = !1, this.positionService = new
|
|
2307
|
+
super(e, t, s), this.type = "tooltip", this.renderType = H.HTML, this.isEventListenerAdded = !1, this.positionService = new st(), this.handleShowTooltip = (n) => {
|
|
2308
2308
|
const a = n.detail.data || n.detail.items;
|
|
2309
2309
|
let i;
|
|
2310
2310
|
const r = this.formatItems(this.getItems(n));
|
|
@@ -2363,10 +2363,10 @@ class ir extends z {
|
|
|
2363
2363
|
if (n)
|
|
2364
2364
|
return n(e, t);
|
|
2365
2365
|
if (typeof e.getTime == "function")
|
|
2366
|
-
return
|
|
2366
|
+
return Ft(e, "MMM d, yyyy");
|
|
2367
2367
|
try {
|
|
2368
2368
|
if (typeof e == "string" && /\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z/.test(e))
|
|
2369
|
-
return
|
|
2369
|
+
return Ft(Date.parse(e), "MMM d, yyyy");
|
|
2370
2370
|
} catch {
|
|
2371
2371
|
}
|
|
2372
2372
|
return e.toLocaleString();
|
|
@@ -2386,7 +2386,7 @@ class ir extends z {
|
|
|
2386
2386
|
const t = this.services.domUtils.getHolder(), s = this.tooltip.node(), n = this.getOptions(), a = y(n, "zoomBar", "top", "enabled");
|
|
2387
2387
|
let i = y(e, "detail", "mousePosition");
|
|
2388
2388
|
if (!i)
|
|
2389
|
-
i =
|
|
2389
|
+
i = et(y(e, "detail", "event"), t);
|
|
2390
2390
|
else {
|
|
2391
2391
|
const h = y(n, "zoomBar", "top", "type"), u = de.height[h];
|
|
2392
2392
|
a && (i[1] += u + de.spacerHeight);
|
|
@@ -2409,7 +2409,7 @@ class ir extends z {
|
|
|
2409
2409
|
height: l
|
|
2410
2410
|
})
|
|
2411
2411
|
);
|
|
2412
|
-
let { horizontalOffset: d } =
|
|
2412
|
+
let { horizontalOffset: d } = sn;
|
|
2413
2413
|
c === ne.LEFT && (d *= -1);
|
|
2414
2414
|
const p = this.positionService.findPositionAt(
|
|
2415
2415
|
{
|
|
@@ -2422,7 +2422,7 @@ class ir extends z {
|
|
|
2422
2422
|
this.positionService.setElement(s, p);
|
|
2423
2423
|
}
|
|
2424
2424
|
}
|
|
2425
|
-
const
|
|
2425
|
+
const Re = class Re extends z {
|
|
2426
2426
|
constructor() {
|
|
2427
2427
|
super(...arguments), this.type = "grid-brush", this.renderType = H.SVG, this.selectionSelector = "rect.selection", this.frontSelectionSelector = "rect.frontSelection";
|
|
2428
2428
|
}
|
|
@@ -2445,15 +2445,15 @@ const Zs = class je extends z {
|
|
|
2445
2445
|
const m = (L) => {
|
|
2446
2446
|
const O = L[1] - L[0];
|
|
2447
2447
|
let k = "0," + O.toString();
|
|
2448
|
-
const I = Math.floor(l /
|
|
2448
|
+
const I = Math.floor(l / Re.DASH_LENGTH), F = I * Re.DASH_LENGTH;
|
|
2449
2449
|
for (let P = 0; P < I; P++)
|
|
2450
|
-
k += "," +
|
|
2450
|
+
k += "," + Re.DASH_LENGTH;
|
|
2451
2451
|
k += "," + (l - F), I % 2 === 1 && (k += ",0"), k += "," + O.toString(), k += "," + l.toString(), u.attr("stroke-dasharray", k);
|
|
2452
2452
|
}, b = (L) => {
|
|
2453
2453
|
const O = L.selection;
|
|
2454
2454
|
O === null || O[0] === O[1] || (u.attr("x", parseFloat(i.attr("x")) + parseFloat(n.attr("x"))).attr("y", i.attr("y")).attr("width", i.attr("width")).attr("height", i.attr("height")).style("cursor", "pointer").style("display", null), m(O));
|
|
2455
2455
|
}, v = (L, O) => {
|
|
2456
|
-
const k =
|
|
2456
|
+
const k = dn().range([0, r]).domain(g);
|
|
2457
2457
|
let I = [k.invert(L), k.invert(O)];
|
|
2458
2458
|
I[0].valueOf() === I[1].valueOf() && (I = this.services.zoom.getDefaultZoomBarDomain()), (g[0].valueOf() !== I[0].valueOf() || g[1].valueOf() !== I[1].valueOf()) && this.services.zoom.handleDomainChange(I);
|
|
2459
2459
|
};
|
|
@@ -2462,14 +2462,14 @@ const Zs = class je extends z {
|
|
|
2462
2462
|
const O = L.selection;
|
|
2463
2463
|
O !== null && (v(O[0], O[1]), a.call(S.move, null), u.style("display", "none"));
|
|
2464
2464
|
};
|
|
2465
|
-
l != 0 && r != 0 && (S =
|
|
2465
|
+
l != 0 && r != 0 && (S = Ts().extent([
|
|
2466
2466
|
[0, 0],
|
|
2467
2467
|
[r - 1, l]
|
|
2468
2468
|
]).on("start brush end", b).on("end.brushed", T), a.call(S));
|
|
2469
2469
|
const M = this.services.zoom.getZoomRatio();
|
|
2470
2470
|
n.on("click", function(L) {
|
|
2471
2471
|
if (L.shiftKey) {
|
|
2472
|
-
const O = this.services.domUtils.getHolder(), k =
|
|
2472
|
+
const O = this.services.domUtils.getHolder(), k = et(a.node(), O)[0];
|
|
2473
2473
|
let I = k - r * M / 2;
|
|
2474
2474
|
I < 0 && (I = 0);
|
|
2475
2475
|
let F = k + r * M / 2;
|
|
@@ -2479,11 +2479,11 @@ const Zs = class je extends z {
|
|
|
2479
2479
|
}
|
|
2480
2480
|
}
|
|
2481
2481
|
};
|
|
2482
|
-
|
|
2483
|
-
let
|
|
2484
|
-
class
|
|
2482
|
+
Re.DASH_LENGTH = 4;
|
|
2483
|
+
let ps = Re;
|
|
2484
|
+
class rc extends z {
|
|
2485
2485
|
constructor() {
|
|
2486
|
-
super(...arguments), this.type = "zoom-bar", this.renderType = H.SVG, this.MIN_SELECTION_DIFF = 9e-10, this.brushSelector = "g.zoom-bar-brush", this.clipId = "zoomBarClip-" + Math.floor(Math.random() * 99999999999), this.brush =
|
|
2486
|
+
super(...arguments), this.type = "zoom-bar", this.renderType = H.SVG, this.MIN_SELECTION_DIFF = 9e-10, this.brushSelector = "g.zoom-bar-brush", this.clipId = "zoomBarClip-" + Math.floor(Math.random() * 99999999999), this.brush = Ts(), this.highlightStrokeWidth = 1;
|
|
2487
2487
|
}
|
|
2488
2488
|
init() {
|
|
2489
2489
|
this.services.events.addEventListener(f.ZoomBar.UPDATE, this.render.bind(this));
|
|
@@ -2530,17 +2530,17 @@ class cc extends z {
|
|
|
2530
2530
|
T && T[0] && T[1] && (T[0] = new Date(T[0]), T[1] = new Date(T[1])), T && !(S && S[0].valueOf() === T[0].valueOf() && S[1].valueOf() === T[1].valueOf()) ? this.model.set(
|
|
2531
2531
|
{
|
|
2532
2532
|
// use a new object instead of newInitialZoomDomain
|
|
2533
|
-
initialZoomDomain:
|
|
2534
|
-
zoomDomain: T ?
|
|
2533
|
+
initialZoomDomain: De([], T),
|
|
2534
|
+
zoomDomain: T ? De([], T) : v
|
|
2535
2535
|
},
|
|
2536
2536
|
{ skipUpdate: !0 }
|
|
2537
2537
|
) : T === null && S !== null && this.model.set(
|
|
2538
2538
|
{
|
|
2539
2539
|
initialZoomDomain: null,
|
|
2540
|
-
zoomDomain:
|
|
2540
|
+
zoomDomain: De([], v)
|
|
2541
2541
|
},
|
|
2542
2542
|
{ skipUpdate: !0 }
|
|
2543
|
-
), this.xScale.range([c, l]).domain(v), this.maxSelectionRange = this.xScale.range(), this.yScale.range([0, r - 6]).domain(
|
|
2543
|
+
), this.xScale.range([c, l]).domain(v), this.maxSelectionRange = this.xScale.range(), this.yScale.range([0, r - 6]).domain(tt(b, (O) => O.value));
|
|
2544
2544
|
const M = this.model.get("zoomDomain");
|
|
2545
2545
|
if (a === Le.GRAPH_VIEW && (this.renderZoomBarArea(p, "path.zoom-graph-area-unselected", b, null), this.updateClipPath(t, this.clipId, 0, 0, 0, 0), this.renderZoomBarArea(p, "path.zoom-graph-area", b, this.clipId), this.renderZoomBarBaseline(p, c, l), i)) {
|
|
2546
2546
|
const O = i.highlightStartMapsTo, k = i.highlightEndMapsTo, I = i.color, F = i.labelMapsTo;
|
|
@@ -2631,7 +2631,7 @@ class cc extends z {
|
|
|
2631
2631
|
E.appendOrSelect(a, "rect.zoom-slider-selected-area").attr("x", e[0]).attr("y", s / 2 - 1).attr("width", e[1] - e[0]).attr("height", 2);
|
|
2632
2632
|
}
|
|
2633
2633
|
renderZoomBarArea(e, t, s, n) {
|
|
2634
|
-
const { cartesianScales: a } = this.services, i = a.getMainXAxisPosition(), r = a.getMainYAxisPosition(), l = a.getMainXScaleType(), c = a.getMainYScaleType(), d = (v, S, T) => (M) => a.getValueFromScale(v, S, T, M), p = d(this.xScale, l, i), h = d(this.yScale, c, r), u = y(this.getOptions(), "zoomBar", V.TOP, "type"), g = de.height[u], m =
|
|
2634
|
+
const { cartesianScales: a } = this.services, i = a.getMainXAxisPosition(), r = a.getMainYAxisPosition(), l = a.getMainXScaleType(), c = a.getMainYScaleType(), d = (v, S, T) => (M) => a.getValueFromScale(v, S, T, M), p = d(this.xScale, l, i), h = d(this.yScale, c, r), u = y(this.getOptions(), "zoomBar", V.TOP, "type"), g = de.height[u], m = Dt().x((v) => p(v)).y0(g).y1((v) => g - h(v)), b = E.appendOrSelect(e, t).datum(s).attr("d", m);
|
|
2635
2635
|
n && b.attr("clip-path", `url(#${n})`);
|
|
2636
2636
|
}
|
|
2637
2637
|
updateClipPath(e, t, s, n, a, i) {
|
|
@@ -2642,7 +2642,7 @@ class cc extends z {
|
|
|
2642
2642
|
compensateDataForDefaultDomain(e, t) {
|
|
2643
2643
|
if (!e || e.length < 2)
|
|
2644
2644
|
return;
|
|
2645
|
-
const s =
|
|
2645
|
+
const s = nn(e), n = this.services.cartesianScales.getDomainIdentifier(), a = this.services.cartesianScales.getRangeIdentifier();
|
|
2646
2646
|
if (Number(t[0]) < Number(s[0][n])) {
|
|
2647
2647
|
const i = {};
|
|
2648
2648
|
i[n] = t[0], i[a] = 0, s.unshift(i);
|
|
@@ -2659,7 +2659,7 @@ class cc extends z {
|
|
|
2659
2659
|
"zoomBar",
|
|
2660
2660
|
V.TOP,
|
|
2661
2661
|
"type"
|
|
2662
|
-
), i = de.height[a], r =
|
|
2662
|
+
), i = de.height[a], r = _t()([
|
|
2663
2663
|
[t, i],
|
|
2664
2664
|
[s, i]
|
|
2665
2665
|
]);
|
|
@@ -2675,9 +2675,9 @@ class cc extends z {
|
|
|
2675
2675
|
this.brush.on("start brush end", null), this.services.events.removeEventListener(f.ZoomBar.UPDATE, this.render.bind(this));
|
|
2676
2676
|
}
|
|
2677
2677
|
}
|
|
2678
|
-
class
|
|
2678
|
+
class oc extends z {
|
|
2679
2679
|
constructor(e, t) {
|
|
2680
|
-
super(e, t), this.type = "threshold", this.renderType = H.SVG, this.positionService = new
|
|
2680
|
+
super(e, t), this.type = "threshold", this.renderType = H.SVG, this.positionService = new st();
|
|
2681
2681
|
}
|
|
2682
2682
|
render(e = !1) {
|
|
2683
2683
|
const t = y(this.getOptions(), "axes"), s = [];
|
|
@@ -2748,11 +2748,11 @@ class dc extends z {
|
|
|
2748
2748
|
getFormattedValue(e) {
|
|
2749
2749
|
const { value: t, axisPosition: s } = e, n = this.getOptions();
|
|
2750
2750
|
if (this.services.cartesianScales.getScaleTypeByPosition(s) === te.TIME) {
|
|
2751
|
-
const i = [V.LEFT, V.RIGHT].includes(s), r = this.services.cartesianScales.getMainXScale(), l = this.services.cartesianScales.getMainYScale(), c = i ? l : r, d = y(n, "timeScale"), p =
|
|
2751
|
+
const i = [V.LEFT, V.RIGHT].includes(s), r = this.services.cartesianScales.getMainXScale(), l = this.services.cartesianScales.getMainYScale(), c = i ? l : r, d = y(n, "timeScale"), p = gt(
|
|
2752
2752
|
c.ticks(),
|
|
2753
2753
|
y(d, "timeInterval")
|
|
2754
2754
|
);
|
|
2755
|
-
return
|
|
2755
|
+
return mt(t, 0, c.ticks(), p, d);
|
|
2756
2756
|
}
|
|
2757
2757
|
return t.toLocaleString("en");
|
|
2758
2758
|
}
|
|
@@ -2764,7 +2764,7 @@ class dc extends z {
|
|
|
2764
2764
|
).classed("hidden", !0);
|
|
2765
2765
|
}
|
|
2766
2766
|
setThresholdLabelPosition({ event: e, datum: t }) {
|
|
2767
|
-
const s = this.services.domUtils.getHolder(), n =
|
|
2767
|
+
const s = this.services.domUtils.getHolder(), n = et(e, s), a = t.valueFormatter ? t.valueFormatter(t.value) : this.getFormattedValue(t);
|
|
2768
2768
|
this.label.html(`${t.label || "Threshold"}: ${a}`).style("background-color", t.fillColor);
|
|
2769
2769
|
const i = this.label.node(), r = this.positionService.findBestPlacementAt(
|
|
2770
2770
|
{
|
|
@@ -2813,9 +2813,9 @@ class dc extends z {
|
|
|
2813
2813
|
});
|
|
2814
2814
|
}
|
|
2815
2815
|
}
|
|
2816
|
-
class
|
|
2816
|
+
class lc extends z {
|
|
2817
2817
|
constructor(e, t) {
|
|
2818
|
-
super(e, t), this.type = "highlight", this.renderType = H.SVG, this.positionService = new
|
|
2818
|
+
super(e, t), this.type = "highlight", this.renderType = H.SVG, this.positionService = new st(), this.highlightStrokeWidth = 1;
|
|
2819
2819
|
}
|
|
2820
2820
|
render(e = !1) {
|
|
2821
2821
|
const t = y(this.getOptions(), "axes"), s = [];
|
|
@@ -2871,7 +2871,7 @@ class hc extends z {
|
|
|
2871
2871
|
});
|
|
2872
2872
|
}
|
|
2873
2873
|
}
|
|
2874
|
-
class
|
|
2874
|
+
class cc extends ir {
|
|
2875
2875
|
getItems(e) {
|
|
2876
2876
|
if (e.detail.items)
|
|
2877
2877
|
return e.detail.items;
|
|
@@ -2958,7 +2958,7 @@ class uc extends ir {
|
|
|
2958
2958
|
return p;
|
|
2959
2959
|
}
|
|
2960
2960
|
}
|
|
2961
|
-
class
|
|
2961
|
+
class dc extends z {
|
|
2962
2962
|
constructor() {
|
|
2963
2963
|
super(...arguments), this.type = "alluvial", this.renderType = H.SVG, this.gradient_id = "gradient-id-" + Math.floor(Math.random() * 99999999999);
|
|
2964
2964
|
}
|
|
@@ -3056,7 +3056,7 @@ class pc extends z {
|
|
|
3056
3056
|
}), this.addLineEventListener(), this.addNodeEventListener();
|
|
3057
3057
|
}
|
|
3058
3058
|
addLineEventListener() {
|
|
3059
|
-
const e = this.getOptions(), t = this, s =
|
|
3059
|
+
const e = this.getOptions(), t = this, s = vt((n, a = "mouseover") => {
|
|
3060
3060
|
const i = t.parent.selectAll("path.link").transition().call(
|
|
3061
3061
|
(r) => t.services.transitions.setupTransition({
|
|
3062
3062
|
transition: r,
|
|
@@ -3114,7 +3114,7 @@ class pc extends z {
|
|
|
3114
3114
|
});
|
|
3115
3115
|
}
|
|
3116
3116
|
addNodeEventListener() {
|
|
3117
|
-
const e = this, t =
|
|
3117
|
+
const e = this, t = vt((s = [], n = "mouseover") => {
|
|
3118
3118
|
if (n === "mouseout" || s.length === 0) {
|
|
3119
3119
|
e.parent.selectAll("path.link").classed("link-hovered", !1).data(this.graph.links, (i) => i.index).order().style("stroke-opacity", pe.opacity.default);
|
|
3120
3120
|
return;
|
|
@@ -3131,11 +3131,11 @@ class pc extends z {
|
|
|
3131
3131
|
e.parent.selectAll(".node-group").on("mouseover", function(s, n) {
|
|
3132
3132
|
const a = x(this), i = [];
|
|
3133
3133
|
if (e.traverse({ link: "sourceLinks", node: "target" }, n, i), e.traverse({ link: "targetLinks", node: "source" }, n, i), i.length) {
|
|
3134
|
-
const r =
|
|
3134
|
+
const r = Be(a.attr("transform"));
|
|
3135
3135
|
if (a.attr("transform", `translate(${r.x - 2}, ${r.y})`), a.classed("node-hovered", !0).selectAll("rect.node").attr("width", 8), n.x0 - 2 === 0) {
|
|
3136
3136
|
const c = e.services.domUtils.generateElementIDString(
|
|
3137
3137
|
`alluvial-node-title-${n.index}`
|
|
3138
|
-
), d = e.parent.select(`g#${c}`), p =
|
|
3138
|
+
), d = e.parent.select(`g#${c}`), p = Be(d.attr("transform"));
|
|
3139
3139
|
d.attr("transform", `translate(${p.x + 4},${p.y})`);
|
|
3140
3140
|
}
|
|
3141
3141
|
const l = e.services.domUtils.generateElementIDString(
|
|
@@ -3162,11 +3162,11 @@ class pc extends z {
|
|
|
3162
3162
|
datum: n
|
|
3163
3163
|
});
|
|
3164
3164
|
}).on("mouseout", function(s, n) {
|
|
3165
|
-
const a = x(this), i =
|
|
3165
|
+
const a = x(this), i = Be(a.attr("transform"));
|
|
3166
3166
|
if (a.classed("node-hovered", !1).attr("transform", `translate(${i.x + 2}, ${i.y})`).select("rect.node").attr("width", pe.nodeWidth), n.x0 - 2 === 0) {
|
|
3167
3167
|
const l = e.services.domUtils.generateElementIDString(
|
|
3168
3168
|
`alluvial-node-title-${n.index}`
|
|
3169
|
-
), c = e.parent.select(`g#${l}`), d =
|
|
3169
|
+
), c = e.parent.select(`g#${l}`), d = Be(c.attr("transform"));
|
|
3170
3170
|
c.attr("transform", `translate(${d.x - 4},${d.y})`);
|
|
3171
3171
|
}
|
|
3172
3172
|
const r = e.services.domUtils.generateElementIDString(
|
|
@@ -3197,7 +3197,7 @@ class pc extends z {
|
|
|
3197
3197
|
this.parent.selectAll("path.line,.node-group").on("mouseover", null).on("mousemove", null).on("click", null).on("mouseout", null);
|
|
3198
3198
|
}
|
|
3199
3199
|
}
|
|
3200
|
-
class
|
|
3200
|
+
class hc extends z {
|
|
3201
3201
|
constructor() {
|
|
3202
3202
|
super(...arguments), this.type = "grid", this.renderType = H.SVG;
|
|
3203
3203
|
}
|
|
@@ -3206,7 +3206,7 @@ class gc extends z {
|
|
|
3206
3206
|
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)));
|
|
3207
3207
|
}
|
|
3208
3208
|
drawXGrid(e) {
|
|
3209
|
-
const t = this.parent, s = this.backdrop.attr("height"), n = this.services.cartesianScales.getMainXScale(), a =
|
|
3209
|
+
const t = this.parent, s = this.backdrop.attr("height"), n = this.services.cartesianScales.getMainXScale(), a = Pt(n).tickSizeInner(-s).tickSizeOuter(0);
|
|
3210
3210
|
if (y(this.getOptions(), "grid", "x", "alignWithAxisTicks")) {
|
|
3211
3211
|
const l = this.services.cartesianScales.getDomainAxisPosition(), c = y(this.getOptions(), "axes", l, "ticks", "values");
|
|
3212
3212
|
c && a.tickValues(c);
|
|
@@ -3224,7 +3224,7 @@ class gc extends z {
|
|
|
3224
3224
|
).call(a) : r.call(a), this.cleanGrid(r);
|
|
3225
3225
|
}
|
|
3226
3226
|
drawYGrid(e) {
|
|
3227
|
-
const t = this.parent, s = this.backdrop.attr("width"), n = this.services.cartesianScales.getMainYScale(), a =
|
|
3227
|
+
const t = this.parent, s = this.backdrop.attr("width"), n = this.services.cartesianScales.getMainYScale(), a = Ls(n).tickSizeInner(-s).tickSizeOuter(0);
|
|
3228
3228
|
if (y(this.getOptions(), "grid", "y", "alignWithAxisTicks")) {
|
|
3229
3229
|
const l = this.services.cartesianScales.getRangeAxisPosition(), c = y(this.getOptions(), "axes", l, "ticks", "values");
|
|
3230
3230
|
c && a.tickValues(c);
|
|
@@ -3293,7 +3293,7 @@ class gc extends z {
|
|
|
3293
3293
|
e.selectAll("text").remove(), e.select(".domain").remove();
|
|
3294
3294
|
}
|
|
3295
3295
|
}
|
|
3296
|
-
class
|
|
3296
|
+
class uc extends z {
|
|
3297
3297
|
constructor() {
|
|
3298
3298
|
super(...arguments), this.type = "area", this.renderType = H.SVG, this.gradient_id = "gradient-id-" + Math.floor(Math.random() * 99999999999), this.handleLegendOnHover = (e) => {
|
|
3299
3299
|
const { hoveredElement: t } = e.detail;
|
|
@@ -3319,7 +3319,7 @@ class mc extends z {
|
|
|
3319
3319
|
render(e = !0) {
|
|
3320
3320
|
const t = this.getComponentContainer({ withinChartClip: !0 }), s = this.getOptions();
|
|
3321
3321
|
let n = [0, 0];
|
|
3322
|
-
const { cartesianScales: a } = this.services, i = a.getOrientation(), r =
|
|
3322
|
+
const { cartesianScales: a } = this.services, i = a.getOrientation(), r = Dt().curve(this.services.curves.getD3Curve()).defined((L) => {
|
|
3323
3323
|
const O = a.getRangeIdentifier(), k = L[O];
|
|
3324
3324
|
return k != null;
|
|
3325
3325
|
}), l = this.model.getGroupedData(this.configs.groups), c = y(s, "bounds"), d = c && l && l.length === 1;
|
|
@@ -3409,7 +3409,7 @@ class mc extends z {
|
|
|
3409
3409
|
e.removeEventListener(f.Legend.ITEM_HOVER, this.handleLegendOnHover), e.removeEventListener(f.Legend.ITEM_MOUSEOUT, this.handleLegendMouseOut);
|
|
3410
3410
|
}
|
|
3411
3411
|
}
|
|
3412
|
-
class
|
|
3412
|
+
class pc extends z {
|
|
3413
3413
|
constructor() {
|
|
3414
3414
|
super(...arguments), this.type = "line", this.renderType = H.SVG, this.handleLegendOnHover = (e) => {
|
|
3415
3415
|
const { hoveredElement: t } = e.detail;
|
|
@@ -3437,7 +3437,7 @@ class fc extends z {
|
|
|
3437
3437
|
a,
|
|
3438
3438
|
i,
|
|
3439
3439
|
s.getOrientation()
|
|
3440
|
-
), c = this.getOptions(), d =
|
|
3440
|
+
), c = this.getOptions(), d = _t().x(r).y(l).curve(n.getD3Curve()).defined((g) => {
|
|
3441
3441
|
const m = s.getRangeIdentifier(g), b = g[m];
|
|
3442
3442
|
return b != null;
|
|
3443
3443
|
});
|
|
@@ -3491,9 +3491,9 @@ class fc extends z {
|
|
|
3491
3491
|
e.removeEventListener(f.Legend.ITEM_HOVER, this.handleLegendOnHover), e.removeEventListener(f.Legend.ITEM_MOUSEOUT, this.handleLegendMouseOut);
|
|
3492
3492
|
}
|
|
3493
3493
|
}
|
|
3494
|
-
const
|
|
3494
|
+
const gs = 5;
|
|
3495
3495
|
function rr(o, e) {
|
|
3496
|
-
return o > e -
|
|
3496
|
+
return o > e - gs && o < e + gs;
|
|
3497
3497
|
}
|
|
3498
3498
|
class Xs extends z {
|
|
3499
3499
|
constructor() {
|
|
@@ -3541,7 +3541,7 @@ class Xs extends z {
|
|
|
3541
3541
|
const L = this.services.cartesianScales.getDomainValue(M);
|
|
3542
3542
|
return v.includes(L);
|
|
3543
3543
|
});
|
|
3544
|
-
this.elementsToHighlight && this.elementsToHighlight.size() > 0 && !
|
|
3544
|
+
this.elementsToHighlight && this.elementsToHighlight.size() > 0 && !Fs(this.elementsToHighlight, S) && this.hideRuler(), S.dispatch("mouseover"), this.elementsToHighlight = S, this.services.events.dispatchEvent(f.Tooltip.SHOW, {
|
|
3545
3545
|
mousePosition: [t, s],
|
|
3546
3546
|
hoveredElement: h,
|
|
3547
3547
|
data: this.formatTooltipData(b)
|
|
@@ -3562,12 +3562,12 @@ class Xs extends z {
|
|
|
3562
3562
|
this.isEventListenerAdded = !0;
|
|
3563
3563
|
const e = this, t = this.services.domUtils.getHolder(), s = this.model.getDisplayData();
|
|
3564
3564
|
let n = function(a) {
|
|
3565
|
-
const i =
|
|
3565
|
+
const i = et(a, e.parent.node());
|
|
3566
3566
|
e.showRuler(a, i);
|
|
3567
3567
|
};
|
|
3568
3568
|
if (s.length > 100) {
|
|
3569
3569
|
const a = s.length % 50 * 12.5;
|
|
3570
|
-
n =
|
|
3570
|
+
n = an(
|
|
3571
3571
|
function(i) {
|
|
3572
3572
|
const { mousePosition: r } = this;
|
|
3573
3573
|
e.showRuler(i, r);
|
|
@@ -3583,7 +3583,7 @@ class Xs extends z {
|
|
|
3583
3583
|
this.backdrop = E.appendOrSelect(e, "svg.chart-grid-backdrop");
|
|
3584
3584
|
}
|
|
3585
3585
|
}
|
|
3586
|
-
class
|
|
3586
|
+
class Gt extends z {
|
|
3587
3587
|
constructor() {
|
|
3588
3588
|
super(...arguments), this.type = "scatter", this.renderType = H.SVG, this.handleChartHolderOnHover = () => {
|
|
3589
3589
|
if (!this.parent)
|
|
@@ -3852,16 +3852,16 @@ class Ys extends z {
|
|
|
3852
3852
|
let h;
|
|
3853
3853
|
switch (t) {
|
|
3854
3854
|
case V.LEFT:
|
|
3855
|
-
h =
|
|
3855
|
+
h = Ls;
|
|
3856
3856
|
break;
|
|
3857
3857
|
case V.BOTTOM:
|
|
3858
|
-
h =
|
|
3858
|
+
h = Pt;
|
|
3859
3859
|
break;
|
|
3860
3860
|
case V.RIGHT:
|
|
3861
|
-
h =
|
|
3861
|
+
h = un;
|
|
3862
3862
|
break;
|
|
3863
3863
|
case V.TOP:
|
|
3864
|
-
h =
|
|
3864
|
+
h = hn;
|
|
3865
3865
|
break;
|
|
3866
3866
|
}
|
|
3867
3867
|
l.attr("aria-label", `${t} axis`);
|
|
@@ -3897,12 +3897,12 @@ class Ys extends z {
|
|
|
3897
3897
|
let N;
|
|
3898
3898
|
const ae = y(b, "ticks", "formatter");
|
|
3899
3899
|
if (v) {
|
|
3900
|
-
const B =
|
|
3900
|
+
const B = gt(
|
|
3901
3901
|
W.tickValues(),
|
|
3902
3902
|
y(s, "timeScale", "timeInterval")
|
|
3903
3903
|
);
|
|
3904
|
-
ae === null ? N = (j, q) =>
|
|
3905
|
-
const J =
|
|
3904
|
+
ae === null ? N = (j, q) => mt(j, q, W.tickValues(), B, w) : N = (j, q) => {
|
|
3905
|
+
const J = mt(
|
|
3906
3906
|
j,
|
|
3907
3907
|
q,
|
|
3908
3908
|
W.tickValues(),
|
|
@@ -3914,24 +3914,24 @@ class Ys extends z {
|
|
|
3914
3914
|
} else
|
|
3915
3915
|
ae === null ? re === te.LINEAR && (N = (B) => B.toLocaleString()) : N = ae;
|
|
3916
3916
|
W.tickFormat(N);
|
|
3917
|
-
const [
|
|
3918
|
-
let
|
|
3917
|
+
const [nt, at] = this.services.cartesianScales.getScaleByPosition(t).domain();
|
|
3918
|
+
let Pe;
|
|
3919
3919
|
if (k) {
|
|
3920
3920
|
if (v)
|
|
3921
3921
|
k.forEach((B, j) => {
|
|
3922
3922
|
B.getTime === void 0 && (k[j] = new Date(B));
|
|
3923
|
-
}),
|
|
3923
|
+
}), Pe = k.filter((B) => {
|
|
3924
3924
|
const j = B.getTime();
|
|
3925
|
-
return j >= new Date(
|
|
3925
|
+
return j >= new Date(nt).getTime() && j <= new Date(at).getTime();
|
|
3926
3926
|
});
|
|
3927
3927
|
else if (M === te.LABELS) {
|
|
3928
3928
|
const B = this.services.cartesianScales.getScaleByPosition(t).domain();
|
|
3929
|
-
|
|
3929
|
+
Pe = k.filter((j) => B.includes(j));
|
|
3930
3930
|
} else
|
|
3931
|
-
|
|
3932
|
-
(B) => B >=
|
|
3931
|
+
Pe = k.filter(
|
|
3932
|
+
(B) => B >= nt && B <= at
|
|
3933
3933
|
);
|
|
3934
|
-
W.tickValues(
|
|
3934
|
+
W.tickValues(Pe);
|
|
3935
3935
|
}
|
|
3936
3936
|
switch (t) {
|
|
3937
3937
|
case V.LEFT:
|
|
@@ -3947,15 +3947,15 @@ class Ys extends z {
|
|
|
3947
3947
|
g.attr("transform", `translate(0, ${this.margins.top})`);
|
|
3948
3948
|
break;
|
|
3949
3949
|
}
|
|
3950
|
-
const
|
|
3950
|
+
const Ut = this.model.isDataEmpty();
|
|
3951
3951
|
if (b.title) {
|
|
3952
3952
|
const B = E.appendOrSelect(l, "text.axis-title").html(
|
|
3953
|
-
|
|
3953
|
+
Ut || L ? "" : b.title
|
|
3954
3954
|
), j = y(b, "titleOrientation");
|
|
3955
3955
|
let q;
|
|
3956
3956
|
switch (t) {
|
|
3957
3957
|
case V.LEFT:
|
|
3958
|
-
j ===
|
|
3958
|
+
j === Yt.RIGHT ? B.attr("transform", "rotate(90)").attr("y", 0).attr("x", p.range()[0] / 2).attr("dy", "-0.5em").style("text-anchor", "middle") : B.attr("transform", "rotate(-90)").attr("y", 0).attr("x", -(p.range()[0] / 2)).attr("dy", "0.75em").style("text-anchor", "middle");
|
|
3959
3959
|
break;
|
|
3960
3960
|
case V.BOTTOM:
|
|
3961
3961
|
B.attr(
|
|
@@ -3964,7 +3964,7 @@ class Ys extends z {
|
|
|
3964
3964
|
).style("text-anchor", "middle");
|
|
3965
3965
|
break;
|
|
3966
3966
|
case V.RIGHT:
|
|
3967
|
-
j ===
|
|
3967
|
+
j === Yt.LEFT ? B.attr("transform", "rotate(-90)").attr("y", i).attr("x", -(p.range()[0] / 2)).style("text-anchor", "middle") : B.attr("transform", "rotate(90)").attr("y", -i).attr("x", p.range()[0] / 2).attr("dy", "0.75em").style("text-anchor", "middle");
|
|
3968
3968
|
break;
|
|
3969
3969
|
case V.TOP:
|
|
3970
3970
|
q = E.getSVGElementSize(B, {
|
|
@@ -3977,7 +3977,7 @@ class Ys extends z {
|
|
|
3977
3977
|
}
|
|
3978
3978
|
}
|
|
3979
3979
|
if (v) {
|
|
3980
|
-
const B =
|
|
3980
|
+
const B = gt(
|
|
3981
3981
|
W.tickValues(),
|
|
3982
3982
|
y(s, "timeScale", "timeInterval")
|
|
3983
3983
|
), j = w.showDayName, q = g;
|
|
@@ -3987,7 +3987,7 @@ class Ys extends z {
|
|
|
3987
3987
|
name: "axis-update",
|
|
3988
3988
|
animate: e
|
|
3989
3989
|
})
|
|
3990
|
-
)), g = g.call(W), q.selectAll(".tick").data(W.tickValues(), p).order().select("text").style("font-weight", (oe,
|
|
3990
|
+
)), g = g.call(W), q.selectAll(".tick").data(W.tickValues(), p).order().select("text").style("font-weight", (oe, He) => rn(oe, He, W.tickValues(), B, j) ? "bold" : "normal");
|
|
3991
3991
|
} else
|
|
3992
3992
|
!e || !u ? g = g.call(W) : g = g.transition().call(
|
|
3993
3993
|
(B) => this.services.transitions.setupTransition({
|
|
@@ -3999,11 +3999,11 @@ class Ys extends z {
|
|
|
3999
3999
|
if (m.call(W), t === V.BOTTOM || t === V.TOP) {
|
|
4000
4000
|
let B = !1;
|
|
4001
4001
|
const j = y(b, "ticks", "rotation");
|
|
4002
|
-
if (j ===
|
|
4002
|
+
if (j === ot.ALWAYS)
|
|
4003
4003
|
B = !0;
|
|
4004
|
-
else if (j ===
|
|
4004
|
+
else if (j === ot.NEVER)
|
|
4005
4005
|
B = !1;
|
|
4006
|
-
else if (!j || j ===
|
|
4006
|
+
else if (!j || j === ot.AUTO)
|
|
4007
4007
|
if (p.step)
|
|
4008
4008
|
B = m.selectAll("g.tick text").nodes().some(
|
|
4009
4009
|
(J) => E.getSVGElementSize(J, {
|
|
@@ -4017,8 +4017,8 @@ class Ys extends z {
|
|
|
4017
4017
|
}).width;
|
|
4018
4018
|
let oe;
|
|
4019
4019
|
m.selectAll("g.tick").each(function() {
|
|
4020
|
-
const
|
|
4021
|
-
C !== null && oe +
|
|
4020
|
+
const He = x(this), C = parseFloat(y(ge(this), "tx"));
|
|
4021
|
+
C !== null && oe + He.text().length * J * 0.8 >= C && (B = !0), oe = C;
|
|
4022
4022
|
}), q.remove();
|
|
4023
4023
|
}
|
|
4024
4024
|
B ? (A || (W.ticks(
|
|
@@ -4084,7 +4084,7 @@ class Ys extends z {
|
|
|
4084
4084
|
}
|
|
4085
4085
|
getNumberOfFittingTicks(e, t, s) {
|
|
4086
4086
|
const n = Math.floor(e / (t * s));
|
|
4087
|
-
return
|
|
4087
|
+
return zs(n, 2, ke.ticks.number);
|
|
4088
4088
|
}
|
|
4089
4089
|
destroy() {
|
|
4090
4090
|
const e = this.getComponentContainer(), { position: t } = this.configs;
|
|
@@ -4195,7 +4195,7 @@ class or extends Ys {
|
|
|
4195
4195
|
E.appendOrSelect(e, `g.axis.${t}`).selectAll("g.tick.tick-hover").on("mouseover", null).on("mousemove", null).on("mouseout", null).on("focus", null).on("blur", null);
|
|
4196
4196
|
}
|
|
4197
4197
|
}
|
|
4198
|
-
class
|
|
4198
|
+
class gc extends z {
|
|
4199
4199
|
constructor() {
|
|
4200
4200
|
super(...arguments), this.type = "2D-axes", this.renderType = H.SVG, this.children = {}, this.thresholds = [], this.margins = {
|
|
4201
4201
|
top: 0,
|
|
@@ -4215,7 +4215,7 @@ class vc extends z {
|
|
|
4215
4215
|
position: l,
|
|
4216
4216
|
axes: this.configs.axes,
|
|
4217
4217
|
margins: this.margins
|
|
4218
|
-
}, d = this.model.axisFlavor ===
|
|
4218
|
+
}, d = this.model.axisFlavor === Vn.DEFAULT ? new Ys(this.model, this.services, c) : new or(this.model, this.services, c);
|
|
4219
4219
|
d.setModel(this.model), d.setServices(this.services), d.setParent(this.parent), this.children[l] = d;
|
|
4220
4220
|
}
|
|
4221
4221
|
}), Object.keys(this.children).forEach((r) => {
|
|
@@ -4259,13 +4259,13 @@ class lr extends z {
|
|
|
4259
4259
|
t ? this.renderSkeleton(t) : this.removeSkeleton();
|
|
4260
4260
|
}
|
|
4261
4261
|
renderSkeleton(e) {
|
|
4262
|
-
if (this.configs.skeleton ===
|
|
4262
|
+
if (this.configs.skeleton === ze.GRID)
|
|
4263
4263
|
this.renderGridSkeleton(e);
|
|
4264
|
-
else if (this.configs.skeleton ===
|
|
4264
|
+
else if (this.configs.skeleton === ze.VERT_OR_HORIZ)
|
|
4265
4265
|
this.renderVertOrHorizSkeleton(e);
|
|
4266
|
-
else if (this.configs.skeleton ===
|
|
4266
|
+
else if (this.configs.skeleton === ze.PIE)
|
|
4267
4267
|
this.renderPieSkeleton(e);
|
|
4268
|
-
else if (this.configs.skeleton ===
|
|
4268
|
+
else if (this.configs.skeleton === ze.DONUT)
|
|
4269
4269
|
this.renderDonutSkeleton(e);
|
|
4270
4270
|
else
|
|
4271
4271
|
throw new Error(`"${this.configs.skeleton}" is not a valid Skeleton type.`);
|
|
@@ -4321,7 +4321,7 @@ class lr extends z {
|
|
|
4321
4321
|
useAttrs: !0
|
|
4322
4322
|
}), r = E.appendOrSelect(n, "svg.chart-skeleton").attr("width", a).attr("height", i), l = t === 0 ? "pie" : "donut", c = y(this.getOptions(), l, "alignment");
|
|
4323
4323
|
E.appendOrSelect(r, "rect.chart-skeleton-area-container").attr("width", a).attr("height", i).attr("fill", "none");
|
|
4324
|
-
const d =
|
|
4324
|
+
const d = Ne().innerRadius(t).outerRadius(e).startAngle(0).endAngle(Math.PI * 2), p = e + Math.abs(Z.radiusOffset), h = e + (Math.min(a, i) - e * 2) / 2, u = E.appendOrSelect(r, "path").attr("class", "skeleton-area-shape").attr("transform", `translate(${p}, ${h})`).attr("d", d).classed("shimmer-effect-areas", s).classed("empty-state-areas", !s).style(
|
|
4325
4325
|
"fill",
|
|
4326
4326
|
s ? `url(#${this.services.domUtils.generateElementIDString("shimmer-areas")})` : null
|
|
4327
4327
|
);
|
|
@@ -4351,14 +4351,14 @@ class lr extends z {
|
|
|
4351
4351
|
`;
|
|
4352
4352
|
h.html(u), g();
|
|
4353
4353
|
function g() {
|
|
4354
|
-
h.attr("gradientTransform", `translate(${c - 3 * 0.2 * l}, 0)`).transition().duration(2e3).delay(1e3).ease(
|
|
4354
|
+
h.attr("gradientTransform", `translate(${c - 3 * 0.2 * l}, 0)`).transition().duration(2e3).delay(1e3).ease(pn).attr("gradientTransform", `translate(${d + 3 * 0.2 * l}, 0)`).on("end", g);
|
|
4355
4355
|
}
|
|
4356
4356
|
}
|
|
4357
4357
|
removeSkeleton() {
|
|
4358
4358
|
this.parent.select(".chart-skeleton").remove();
|
|
4359
4359
|
}
|
|
4360
4360
|
}
|
|
4361
|
-
class
|
|
4361
|
+
class mc extends z {
|
|
4362
4362
|
constructor() {
|
|
4363
4363
|
super(...arguments), this.type = "boxplot", this.renderType = H.SVG;
|
|
4364
4364
|
}
|
|
@@ -4618,7 +4618,7 @@ class yc extends z {
|
|
|
4618
4618
|
});
|
|
4619
4619
|
}
|
|
4620
4620
|
}
|
|
4621
|
-
class
|
|
4621
|
+
class fc extends z {
|
|
4622
4622
|
constructor() {
|
|
4623
4623
|
super(...arguments), this.type = "zero-line", this.renderType = H.SVG;
|
|
4624
4624
|
}
|
|
@@ -4633,7 +4633,7 @@ class bc extends z {
|
|
|
4633
4633
|
const [l, c] = this.services.cartesianScales.getDomainScale().range();
|
|
4634
4634
|
let d = +s(0) + 0.5;
|
|
4635
4635
|
d || (d = s.range()[0]);
|
|
4636
|
-
const p =
|
|
4636
|
+
const p = on(
|
|
4637
4637
|
{
|
|
4638
4638
|
x0: l,
|
|
4639
4639
|
x1: c,
|
|
@@ -4651,12 +4651,12 @@ class bc extends z {
|
|
|
4651
4651
|
).attr("y1", p.y0).attr("y2", p.y1).attr("x1", p.x0).attr("x2", p.x1);
|
|
4652
4652
|
}
|
|
4653
4653
|
}
|
|
4654
|
-
class
|
|
4654
|
+
class vc extends Gt {
|
|
4655
4655
|
constructor() {
|
|
4656
4656
|
super(...arguments), this.type = "bubble", this.renderType = H.SVG;
|
|
4657
4657
|
}
|
|
4658
4658
|
getRadiusScale(e) {
|
|
4659
|
-
const t = this.getOptions(), { radiusMapsTo: s } = t.bubble, n = e.data(), a = n.map((c) => c[s]).filter((c) => c), i = E.getHTMLElementSize(this.services.domUtils.getMainContainer()), r = a.length > 0, l = r ?
|
|
4659
|
+
const t = this.getOptions(), { radiusMapsTo: s } = t.bubble, n = e.data(), a = n.map((c) => c[s]).filter((c) => c), i = E.getHTMLElementSize(this.services.domUtils.getMainContainer()), r = a.length > 0, l = r ? tt(a) : [1, 1];
|
|
4660
4660
|
return Oe().domain(l).range(r ? t.bubble.radiusRange(i, n) : [4, 4]);
|
|
4661
4661
|
}
|
|
4662
4662
|
styleCircles(e, t) {
|
|
@@ -4699,7 +4699,7 @@ class Ec extends Bt {
|
|
|
4699
4699
|
];
|
|
4700
4700
|
}
|
|
4701
4701
|
}
|
|
4702
|
-
class
|
|
4702
|
+
class yc extends z {
|
|
4703
4703
|
constructor() {
|
|
4704
4704
|
super(...arguments), this.type = "bullet", this.renderType = H.SVG, this.handleLegendOnHover = (e) => {
|
|
4705
4705
|
const { hoveredElement: t } = e.detail, { groupMapsTo: s } = this.getOptions().data;
|
|
@@ -4912,14 +4912,14 @@ function hr(o, e) {
|
|
|
4912
4912
|
}
|
|
4913
4913
|
function ur(o, e) {
|
|
4914
4914
|
return typeof e == "string" && (e = o.objects[e]), e.type === "GeometryCollection" ? { type: "FeatureCollection", features: e.geometries.map(function(t) {
|
|
4915
|
-
return
|
|
4916
|
-
}) } :
|
|
4915
|
+
return ms(o, t);
|
|
4916
|
+
}) } : ms(o, e);
|
|
4917
4917
|
}
|
|
4918
|
-
function
|
|
4919
|
-
var t = e.id, s = e.bbox, n = e.properties == null ? {} : e.properties, a =
|
|
4918
|
+
function ms(o, e) {
|
|
4919
|
+
var t = e.id, s = e.bbox, n = e.properties == null ? {} : e.properties, a = Nt(o, e);
|
|
4920
4920
|
return t == null && s == null ? { type: "Feature", properties: n, geometry: a } : s == null ? { type: "Feature", id: t, properties: n, geometry: a } : { type: "Feature", id: t, bbox: s, properties: n, geometry: a };
|
|
4921
4921
|
}
|
|
4922
|
-
function
|
|
4922
|
+
function Nt(o, e) {
|
|
4923
4923
|
var t = dr(o.transform), s = o.arcs;
|
|
4924
4924
|
function n(d, p) {
|
|
4925
4925
|
p.length && p.pop();
|
|
@@ -5021,7 +5021,7 @@ function gr(o) {
|
|
|
5021
5021
|
return Math.abs(a);
|
|
5022
5022
|
}
|
|
5023
5023
|
function mr(o) {
|
|
5024
|
-
return
|
|
5024
|
+
return Nt(o, fr.apply(this, arguments));
|
|
5025
5025
|
}
|
|
5026
5026
|
function fr(o, e) {
|
|
5027
5027
|
var t = {}, s = [], n = [];
|
|
@@ -5047,7 +5047,7 @@ function fr(o, e) {
|
|
|
5047
5047
|
}), s.push(l);
|
|
5048
5048
|
}
|
|
5049
5049
|
function r(l) {
|
|
5050
|
-
return gr(
|
|
5050
|
+
return gr(Nt(o, { type: "Polygon", arcs: [l] }).coordinates[0]);
|
|
5051
5051
|
}
|
|
5052
5052
|
return s.forEach(function(l) {
|
|
5053
5053
|
if (!l._) {
|
|
@@ -5082,7 +5082,7 @@ function fr(o, e) {
|
|
|
5082
5082
|
})
|
|
5083
5083
|
};
|
|
5084
5084
|
}
|
|
5085
|
-
class
|
|
5085
|
+
class bc extends Xs {
|
|
5086
5086
|
constructor() {
|
|
5087
5087
|
super(...arguments), this.type = "ruler-binned", this.renderType = H.SVG;
|
|
5088
5088
|
}
|
|
@@ -5097,7 +5097,7 @@ class xc extends Xs {
|
|
|
5097
5097
|
return !0;
|
|
5098
5098
|
});
|
|
5099
5099
|
if (b.size() > 0) {
|
|
5100
|
-
this.elementsToHighlight && this.elementsToHighlight.size() > 0 && !
|
|
5100
|
+
this.elementsToHighlight && this.elementsToHighlight.size() > 0 && !Fs(this.elementsToHighlight, b) && this.hideRuler(), b.dispatch("mouseover"), this.elementsToHighlight = b;
|
|
5101
5101
|
const v = x(b.nodes()[0]).datum(), S = parseFloat(Q(v, "data.x0")), T = parseFloat(Q(v, "data.x1")), M = this.model.getActiveDataGroupNames(), L = M.reverse().map((k) => ({
|
|
5102
5102
|
label: k,
|
|
5103
5103
|
value: Q(v, `data.${k}`),
|
|
@@ -5135,52 +5135,52 @@ class xc extends Xs {
|
|
|
5135
5135
|
this.hideRuler();
|
|
5136
5136
|
}
|
|
5137
5137
|
}
|
|
5138
|
-
class
|
|
5138
|
+
class Ec extends Xs {
|
|
5139
5139
|
formatTooltipData(e) {
|
|
5140
5140
|
return e.reverse();
|
|
5141
5141
|
}
|
|
5142
5142
|
}
|
|
5143
|
-
const
|
|
5144
|
-
const t = o.x, s = o.y, n = e.x, a = e.y, i =
|
|
5143
|
+
const Sc = (o, e) => {
|
|
5144
|
+
const t = o.x, s = o.y, n = e.x, a = e.y, i = Vt();
|
|
5145
5145
|
return i.moveTo(t, s), i.lineTo(n, a), i.toString();
|
|
5146
|
-
},
|
|
5147
|
-
const s = o.x, n = o.y, a = e.x, i = e.y, r =
|
|
5146
|
+
}, xc = (o, e, t = 0.5) => {
|
|
5147
|
+
const s = o.x, n = o.y, a = e.x, i = e.y, r = Vt();
|
|
5148
5148
|
return r.moveTo(s, n), r.lineTo(s + (a - s) * t, n), r.lineTo(s + (a - s) * t, i), r.lineTo(a, i), r.toString();
|
|
5149
|
-
},
|
|
5150
|
-
const i = o.x, r = o.y, l = e.x, c = e.y, d =
|
|
5149
|
+
}, Oc = (o, e, t, s, n, a) => {
|
|
5150
|
+
const i = o.x, r = o.y, l = e.x, c = e.y, d = Vt();
|
|
5151
5151
|
return d.moveTo(i, r), d.bezierCurveTo(t, s, n, a, l, c), d.toString();
|
|
5152
|
-
},
|
|
5152
|
+
}, Tc = {
|
|
5153
5153
|
d: "M7 0v8L0 4z",
|
|
5154
5154
|
height: 8,
|
|
5155
5155
|
width: 7.5,
|
|
5156
5156
|
id: "arrowLeft"
|
|
5157
|
-
},
|
|
5157
|
+
}, Lc = {
|
|
5158
5158
|
d: "M0 0v8l7-4z",
|
|
5159
5159
|
height: 8,
|
|
5160
5160
|
width: 7.5,
|
|
5161
5161
|
id: "arrowRight"
|
|
5162
|
-
},
|
|
5162
|
+
}, wc = {
|
|
5163
5163
|
d: "M5.32 9.513a4.75 4.75 0 100-9.5 4.75 4.75 0 000 9.5z",
|
|
5164
5164
|
height: 10,
|
|
5165
5165
|
width: 10,
|
|
5166
5166
|
id: "circle"
|
|
5167
|
-
},
|
|
5167
|
+
}, Mc = {
|
|
5168
5168
|
d: "M5.03517654-1e-7l4.99999996 5-4.99999996 5-5-5L2.4517844 2.58339204z",
|
|
5169
5169
|
height: 10,
|
|
5170
5170
|
width: 10,
|
|
5171
5171
|
id: "diamond"
|
|
5172
|
-
},
|
|
5172
|
+
}, Ac = {
|
|
5173
5173
|
d: "M0 .44974747h8v8H0v-3.6830331z",
|
|
5174
5174
|
height: 9,
|
|
5175
5175
|
width: 8,
|
|
5176
5176
|
id: "square"
|
|
5177
|
-
},
|
|
5177
|
+
}, Cc = {
|
|
5178
5178
|
d: "M0 0h1.5v8H0z",
|
|
5179
5179
|
height: 8,
|
|
5180
5180
|
width: 2,
|
|
5181
5181
|
id: "tee"
|
|
5182
5182
|
};
|
|
5183
|
-
class
|
|
5183
|
+
class kc extends nr {
|
|
5184
5184
|
constructor(e, t, s) {
|
|
5185
5185
|
super(e, t, s), this.type = "color-legend", this.renderType = H.SVG, this.gradient_id = `gradient-id-${Math.floor(Math.random() * 99999999999)}`, this.handleAxisCompleteEvent = () => {
|
|
5186
5186
|
const n = this.getComponentContainer(), { width: a } = E.getSVGElementSize(n, {
|
|
@@ -5223,7 +5223,7 @@ class Dc extends nr {
|
|
|
5223
5223
|
s.html("");
|
|
5224
5224
|
return;
|
|
5225
5225
|
}
|
|
5226
|
-
const d = !Os(a), p =
|
|
5226
|
+
const d = !Os(a), p = ln(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");
|
|
5227
5227
|
if (l) {
|
|
5228
5228
|
const I = E.appendOrSelect(s, "g.legend-title");
|
|
5229
5229
|
E.appendOrSelect(I, "text").text(l).attr("dy", "0.7em"), g.attr("transform", "translate(0, 16)");
|
|
@@ -5237,15 +5237,15 @@ class Dc extends nr {
|
|
|
5237
5237
|
else
|
|
5238
5238
|
for (let I = 1; I < S + 1; I++)
|
|
5239
5239
|
v.push(
|
|
5240
|
-
i ===
|
|
5240
|
+
i === lt.LINEAR ? `stop-color-${b}-${r}-${I}` : `fill-${b}-${r}-${I}`
|
|
5241
5241
|
);
|
|
5242
|
-
const T =
|
|
5242
|
+
const T = ws(p[0], p[1]), M = gn(T, 3), L = Oe().domain(p).range([0, u]), O = Pt(L).tickSize(0).tickValues(M);
|
|
5243
5243
|
let k;
|
|
5244
5244
|
switch (i) {
|
|
5245
|
-
case
|
|
5245
|
+
case lt.LINEAR:
|
|
5246
5246
|
this.drawLinear(v, g, u);
|
|
5247
5247
|
break;
|
|
5248
|
-
case
|
|
5248
|
+
case lt.QUANTIZE:
|
|
5249
5249
|
k = this.drawQuantize(
|
|
5250
5250
|
v,
|
|
5251
5251
|
b,
|
|
@@ -5273,7 +5273,7 @@ class Dc extends nr {
|
|
|
5273
5273
|
*/
|
|
5274
5274
|
drawQuantize(e, t, s, n, a) {
|
|
5275
5275
|
!s && t === "diverge" && e.splice(e.length / 2, 1);
|
|
5276
|
-
const i =
|
|
5276
|
+
const i = Bt().domain(e).range([0, a]);
|
|
5277
5277
|
return E.appendOrSelect(n, "g.quantized-rect").selectAll("rect").data(i.domain()).join("rect").attr("x", (l) => i(l)).attr("y", 0).attr("width", Math.max(0, i.bandwidth() - 1)).attr("height", K.color.barHeight).attr("class", (l) => l).attr("fill", (l) => l), (!s && t) === "mono" ? i.bandwidth() - 1 : 0;
|
|
5278
5278
|
}
|
|
5279
5279
|
destroy() {
|
|
@@ -5283,7 +5283,7 @@ class Dc extends nr {
|
|
|
5283
5283
|
);
|
|
5284
5284
|
}
|
|
5285
5285
|
}
|
|
5286
|
-
class
|
|
5286
|
+
class Ic extends sr {
|
|
5287
5287
|
constructor() {
|
|
5288
5288
|
super(...arguments), this.type = "meter-title", this.renderType = H.SVG;
|
|
5289
5289
|
}
|
|
@@ -5376,16 +5376,16 @@ class _c extends sr {
|
|
|
5376
5376
|
*/
|
|
5377
5377
|
getStatusIconPathString(e) {
|
|
5378
5378
|
switch (e) {
|
|
5379
|
-
case
|
|
5379
|
+
case ct.SUCCESS:
|
|
5380
5380
|
return "M6.875 11.3125 3.75 8.1875 4.74375 7.25 6.875 9.34375 11.50625 4.75 12.5 5.7375 Z";
|
|
5381
|
-
case
|
|
5381
|
+
case ct.DANGER:
|
|
5382
5382
|
return "M10.7 11.5 4.5 5.3 5.3 4.5 11.5 10.7 Z";
|
|
5383
|
-
case
|
|
5383
|
+
case ct.WARNING:
|
|
5384
5384
|
return "M7.9375,11.125 C7.41973305,11.125 7,11.544733 7,12.0625 C7,12.580267 7.41973305,13 7.9375,13 C8.45526695,13 8.875,12.580267 8.875,12.0625 C8.875,11.544733 8.45526695,11.125 7.9375,11.125 M7.3125, 3 8.5625, 3 8.5625, 9.875 7.3125, 9.875, 7.3125, 3 Z";
|
|
5385
5385
|
}
|
|
5386
5386
|
}
|
|
5387
5387
|
}
|
|
5388
|
-
class
|
|
5388
|
+
class Ht extends z {
|
|
5389
5389
|
// Gets the correct width for bars based on options & configurations
|
|
5390
5390
|
getBarWidth() {
|
|
5391
5391
|
const e = this.getOptions();
|
|
@@ -5411,7 +5411,7 @@ class Gt extends z {
|
|
|
5411
5411
|
return !1;
|
|
5412
5412
|
}
|
|
5413
5413
|
}
|
|
5414
|
-
class
|
|
5414
|
+
class Rc extends z {
|
|
5415
5415
|
constructor() {
|
|
5416
5416
|
super(...arguments), this.type = "circle-pack", this.renderType = H.SVG, this.handleLegendOnHover = (e) => {
|
|
5417
5417
|
const { hoveredElement: t } = e.detail;
|
|
@@ -5420,7 +5420,7 @@ class Pc extends z {
|
|
|
5420
5420
|
transition: s,
|
|
5421
5421
|
name: "legend-hover-circlepack"
|
|
5422
5422
|
})
|
|
5423
|
-
).attr("opacity", (s) => s.data.dataGroupName === t.datum().name ? 1 :
|
|
5423
|
+
).attr("opacity", (s) => s.data.dataGroupName === t.datum().name ? 1 : Ve.circles.fillOpacity);
|
|
5424
5424
|
}, this.handleLegendMouseOut = () => {
|
|
5425
5425
|
this.parent.selectAll("circle.node").transition("legend-mouseout-circlepack").call(
|
|
5426
5426
|
(e) => this.services.transitions.setupTransition({
|
|
@@ -5442,7 +5442,7 @@ class Pc extends z {
|
|
|
5442
5442
|
let a = this.model.getDisplayData();
|
|
5443
5443
|
const i = this.model.hasParentNode(), r = this.model.getHierarchyLevel(), l = this.getOptions(), c = y(l, "canvasZoom", "enabled");
|
|
5444
5444
|
i && y(a, 0, "children") && (a = y(a, 0, "children"));
|
|
5445
|
-
const d =
|
|
5445
|
+
const d = $t({ children: a }).sum((m) => m.value).sort((m, b) => b.value - m.value), h = mn().size([s, n]).padding((m) => m.depth >= 1 ? Ve.padding.children + 3 : Ve.padding.mainGroup + 3)(d).descendants().splice(1).filter((m) => m.depth <= r), u = t.selectAll("circle.node").data(h);
|
|
5446
5446
|
u.exit().attr("width", 0).attr("height", 0).remove();
|
|
5447
5447
|
const g = u.enter().append("circle").classed("node", !0);
|
|
5448
5448
|
g.merge(u).attr("class", (m) => {
|
|
@@ -5457,7 +5457,7 @@ class Pc extends z {
|
|
|
5457
5457
|
transition: m,
|
|
5458
5458
|
name: "circlepack-leaf-update-enter"
|
|
5459
5459
|
})
|
|
5460
|
-
).attr("r", (m) => m.r).attr("opacity", 1).attr("fill-opacity",
|
|
5460
|
+
).attr("r", (m) => m.r).attr("opacity", 1).attr("fill-opacity", Ve.circles.fillOpacity), c === !0 && this.focal && (this.services.canvasZoom.zoomIn(this.focal, g, Ue), this.setBackgroundListeners()), i || this.addLegendListeners(), this.addEventListeners();
|
|
5461
5461
|
}
|
|
5462
5462
|
// turn off the highlight class on children circles
|
|
5463
5463
|
unhighlightChildren(e) {
|
|
@@ -5467,7 +5467,7 @@ class Pc extends z {
|
|
|
5467
5467
|
// highlight the children circles with a stroke
|
|
5468
5468
|
highlightChildren(e) {
|
|
5469
5469
|
const t = e.map((s) => s.data);
|
|
5470
|
-
this.parent.selectAll("circle.node").filter((s) => t.some((n) => n === s.data) && s.depth > 1).style("stroke",
|
|
5470
|
+
this.parent.selectAll("circle.node").filter((s) => t.some((n) => n === s.data) && s.depth > 1).style("stroke", Ve.circles.hover.stroke);
|
|
5471
5471
|
}
|
|
5472
5472
|
getZoomClass(e) {
|
|
5473
5473
|
return this.model.getHierarchyLevel() === 3 && this.focal && (e.data === this.focal.data || this.focal.children.some((t) => t.data === e.data)) ? "focal" : "non-focal";
|
|
@@ -5482,7 +5482,7 @@ class Pc extends z {
|
|
|
5482
5482
|
setBackgroundListeners() {
|
|
5483
5483
|
const e = x(this.services.domUtils.getMainContainer()), t = this, s = this.parent.selectAll("circle.node");
|
|
5484
5484
|
e.on("click", () => {
|
|
5485
|
-
t.focal = null, t.model.updateHierarchyLevel(2), e.classed("zoomed-in", !1), t.services.canvasZoom.zoomOut(s,
|
|
5485
|
+
t.focal = null, t.model.updateHierarchyLevel(2), e.classed("zoomed-in", !1), t.services.canvasZoom.zoomOut(s, Ue);
|
|
5486
5486
|
});
|
|
5487
5487
|
}
|
|
5488
5488
|
// Zoom icon to be appended to the label in the tooltip
|
|
@@ -5568,10 +5568,10 @@ class Pc extends z {
|
|
|
5568
5568
|
const n = x(this), a = n.classed("non-focal"), i = y(e.model.getOptions(), "canvasZoom", "enabled");
|
|
5569
5569
|
if (i && e.model.getHierarchyLevel() > 2) {
|
|
5570
5570
|
const r = e.parent.selectAll("circle.node");
|
|
5571
|
-
x(e.services.domUtils.getMainContainer()).classed("zoomed-in", !1), e.focal = null, e.model.updateHierarchyLevel(2), e.services.canvasZoom.zoomOut(r,
|
|
5571
|
+
x(e.services.domUtils.getMainContainer()).classed("zoomed-in", !1), e.focal = null, e.model.updateHierarchyLevel(2), e.services.canvasZoom.zoomOut(r, Ue);
|
|
5572
5572
|
} else if (s.depth === 2 && s.children && !a && i) {
|
|
5573
5573
|
const r = e.parent.selectAll("circle.node");
|
|
5574
|
-
x(e.services.domUtils.getMainContainer()).classed("zoomed-in", !0), e.focal = s, e.model.updateHierarchyLevel(3), e.services.canvasZoom.zoomIn(s, r,
|
|
5574
|
+
x(e.services.domUtils.getMainContainer()).classed("zoomed-in", !0), e.focal = s, e.model.updateHierarchyLevel(3), e.services.canvasZoom.zoomIn(s, r, Ue), t.stopPropagation();
|
|
5575
5575
|
}
|
|
5576
5576
|
e.services.events.dispatchEvent(f.CirclePack.CIRCLE_CLICK, {
|
|
5577
5577
|
event: t,
|
|
@@ -5587,7 +5587,7 @@ class Pc extends z {
|
|
|
5587
5587
|
}
|
|
5588
5588
|
}
|
|
5589
5589
|
function vr(o, e) {
|
|
5590
|
-
const t =
|
|
5590
|
+
const t = vn(this._current, o);
|
|
5591
5591
|
return (s) => (this._current = t(s), e(this._current));
|
|
5592
5592
|
}
|
|
5593
5593
|
class yr extends z {
|
|
@@ -5621,8 +5621,8 @@ class yr extends z {
|
|
|
5621
5621
|
}
|
|
5622
5622
|
render(e = !0) {
|
|
5623
5623
|
const t = this, s = this.getComponentContainer(), n = this.getOptions(), { groupMapsTo: a } = n.data, { valueMapsTo: i } = n.pie, r = this.model.getDisplayData().filter((w) => w[i] > 0), l = this.computeRadius();
|
|
5624
|
-
this.arc =
|
|
5625
|
-
const d =
|
|
5624
|
+
this.arc = Ne().innerRadius(this.getInnerRadius()).outerRadius(l), this.hoverArc = Ne().innerRadius(this.getInnerRadius()).outerRadius(l + Z.hoverArc.outerRadiusOffset);
|
|
5625
|
+
const d = fn().value((w) => w[i]).sort(y(n, "pie", "sortFunction")).padAngle(Z.padAngle)(r), h = E.appendOrSelect(s, "g.slices").attr("role", U.GROUP).attr("data-name", "slices").selectAll("path.slice").data(d, (w) => w.data[a]);
|
|
5626
5626
|
h.exit().attr("opacity", 0).remove(), h.enter().append("path").classed("slice", !0).attr("opacity", 0).merge(h).attr(
|
|
5627
5627
|
"class",
|
|
5628
5628
|
(w) => this.model.getColorClassName({
|
|
@@ -5638,7 +5638,7 @@ class yr extends z {
|
|
|
5638
5638
|
})
|
|
5639
5639
|
).attr("opacity", 1).attr("role", U.GRAPHICS_SYMBOL).attr("aria-roledescription", "slice").attr(
|
|
5640
5640
|
"aria-label",
|
|
5641
|
-
(w) => `${w[i]}, ${
|
|
5641
|
+
(w) => `${w[i]}, ${it(w.data[i], r, i) + "%"}`
|
|
5642
5642
|
).attrTween("d", function(w) {
|
|
5643
5643
|
return vr.bind(this)(w, t.arc);
|
|
5644
5644
|
});
|
|
@@ -5647,20 +5647,20 @@ class yr extends z {
|
|
|
5647
5647
|
const T = S.enter().append("text").classed("pie-label", !0), M = [];
|
|
5648
5648
|
T.merge(S).style("text-anchor", "middle").text((w) => n.pie.labels.formatter ? n.pie.labels.formatter({
|
|
5649
5649
|
...w,
|
|
5650
|
-
percentageValue:
|
|
5650
|
+
percentageValue: it(
|
|
5651
5651
|
w.data[i],
|
|
5652
5652
|
r,
|
|
5653
5653
|
i,
|
|
5654
5654
|
!0
|
|
5655
5655
|
)
|
|
5656
|
-
}) :
|
|
5656
|
+
}) : it(w.data[i], r, i) + "%").datum(function(w) {
|
|
5657
5657
|
const G = l + 7, D = (w.endAngle - w.startAngle) / 2 + w.startAngle, X = D / Math.PI * 180, re = this.getComputedTextLength();
|
|
5658
5658
|
return w.textOffsetX = re / 2, w.textOffsetY = X > 90 && X < 270 ? 10 : 0, w.xPosition = (w.textOffsetX + G) * Math.sin(D), w.yPosition = (w.textOffsetY + G) * -Math.cos(D), w;
|
|
5659
5659
|
}).attr("transform", function(w, G) {
|
|
5660
5660
|
const D = b.length, X = (w.endAngle - w.startAngle) * (180 / Math.PI);
|
|
5661
5661
|
if (G >= D - 2 && X < Z.callout.minSliceDegree) {
|
|
5662
5662
|
let re, W;
|
|
5663
|
-
return w.index === D - 1 ? (re = w.xPosition + Z.callout.offsetX + Z.callout.textMargin + w.textOffsetX, W = w.yPosition - Z.callout.offsetY, w.direction =
|
|
5663
|
+
return w.index === D - 1 ? (re = w.xPosition + Z.callout.offsetX + Z.callout.textMargin + w.textOffsetX, W = w.yPosition - Z.callout.offsetY, w.direction = dt.RIGHT, M.push(w)) : (re = w.xPosition - Z.callout.offsetX - w.textOffsetX - Z.callout.textMargin, W = w.yPosition - Z.callout.offsetY, w.direction = dt.LEFT, M.push(w)), `translate(${re}, ${W})`;
|
|
5664
5664
|
}
|
|
5665
5665
|
return `translate(${w.xPosition}, ${w.yPosition})`;
|
|
5666
5666
|
}), this.renderCallouts(M);
|
|
@@ -5678,7 +5678,7 @@ class yr extends z {
|
|
|
5678
5678
|
const n = s.enter().append("g").classed("callout", !0).attr("role", U.GROUP).attr("aria-roledescription", "label callout");
|
|
5679
5679
|
n.merge(s).datum(function(r) {
|
|
5680
5680
|
const { xPosition: l, yPosition: c, direction: d } = r;
|
|
5681
|
-
return d ===
|
|
5681
|
+
return d === dt.RIGHT ? (r.startPos = {
|
|
5682
5682
|
x: l,
|
|
5683
5683
|
y: c + r.textOffsetY
|
|
5684
5684
|
}, r.endPos = {
|
|
@@ -5761,7 +5761,7 @@ class yr extends z {
|
|
|
5761
5761
|
return s.pie.labels.enabled ? n + Z.radiusOffset : n;
|
|
5762
5762
|
}
|
|
5763
5763
|
}
|
|
5764
|
-
class
|
|
5764
|
+
class Dc extends yr {
|
|
5765
5765
|
constructor() {
|
|
5766
5766
|
super(...arguments), this.type = "donut", this.renderType = H.SVG;
|
|
5767
5767
|
}
|
|
@@ -5792,7 +5792,7 @@ class Vc extends yr {
|
|
|
5792
5792
|
s === null && (s = this.model.getDisplayData().reduce((r, l) => r + l[t.pie.valueMapsTo], 0));
|
|
5793
5793
|
const n = parseInt(e.text().replace(/[, ]+/g, ""), 10) || 0;
|
|
5794
5794
|
let a;
|
|
5795
|
-
n % 1 === 0 && s % 1 === 0 ? a =
|
|
5795
|
+
n % 1 === 0 && s % 1 === 0 ? a = yn : a = ws;
|
|
5796
5796
|
const i = a(n, s);
|
|
5797
5797
|
return (r) => {
|
|
5798
5798
|
const { numberFormatter: l } = t.donut.center;
|
|
@@ -5800,8 +5800,8 @@ class Vc extends yr {
|
|
|
5800
5800
|
};
|
|
5801
5801
|
}
|
|
5802
5802
|
}
|
|
5803
|
-
const
|
|
5804
|
-
class
|
|
5803
|
+
const fs = "4,10 8,6 12,10", vs = "12,6 8,10 4,6";
|
|
5804
|
+
class _c extends z {
|
|
5805
5805
|
constructor() {
|
|
5806
5806
|
super(...arguments), this.type = "gauge", this.renderType = H.SVG;
|
|
5807
5807
|
}
|
|
@@ -5810,7 +5810,7 @@ class Bc extends z {
|
|
|
5810
5810
|
return ((s = this.model.getData().find((n) => n.group === "value")) == null ? void 0 : s.value) ?? null;
|
|
5811
5811
|
}
|
|
5812
5812
|
getValueRatio() {
|
|
5813
|
-
return
|
|
5813
|
+
return zs(this.getValue(), 0, 100) / 100;
|
|
5814
5814
|
}
|
|
5815
5815
|
getDelta() {
|
|
5816
5816
|
var s;
|
|
@@ -5818,7 +5818,7 @@ class Bc extends z {
|
|
|
5818
5818
|
}
|
|
5819
5819
|
getArcRatio() {
|
|
5820
5820
|
const e = this.getOptions();
|
|
5821
|
-
return y(e, "gauge", "type") ===
|
|
5821
|
+
return y(e, "gauge", "type") === Fe.FULL ? 1 : 0.5;
|
|
5822
5822
|
}
|
|
5823
5823
|
getArcSize() {
|
|
5824
5824
|
return this.getArcRatio() * Math.PI * 2;
|
|
@@ -5831,12 +5831,12 @@ class Bc extends z {
|
|
|
5831
5831
|
getArrow(e) {
|
|
5832
5832
|
const t = this.getOptions();
|
|
5833
5833
|
switch (y(t, "gauge", "deltaArrow", "direction")) {
|
|
5834
|
-
case
|
|
5835
|
-
return
|
|
5836
|
-
case
|
|
5837
|
-
return
|
|
5834
|
+
case qt.UP:
|
|
5835
|
+
return fs;
|
|
5836
|
+
case qt.DOWN:
|
|
5837
|
+
return vs;
|
|
5838
5838
|
default:
|
|
5839
|
-
return e > 0 ?
|
|
5839
|
+
return e > 0 ? fs : vs;
|
|
5840
5840
|
}
|
|
5841
5841
|
}
|
|
5842
5842
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -5844,7 +5844,7 @@ class Bc extends z {
|
|
|
5844
5844
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
5845
5845
|
render(e = !0) {
|
|
5846
5846
|
const t = this.getComponentContainer().attr("width", "100%").attr("height", "100%"), s = this.getOptions(), n = this.getValue(), a = this.getValueRatio(), i = this.getArcSize(), r = this.getStartAngle(), l = a * i, c = r + l, d = r + i, p = this.computeRadius(), h = this.getInnerRadius();
|
|
5847
|
-
this.backgroundArc =
|
|
5847
|
+
this.backgroundArc = Ne().innerRadius(h).outerRadius(p).startAngle(c).endAngle(d), this.arc = Ne().innerRadius(h).outerRadius(p).startAngle(r).endAngle(c), E.appendOrSelect(t, "path.arc-background").attr("d", this.backgroundArc);
|
|
5848
5848
|
const u = t.selectAll("path.arc-foreground").data([n]);
|
|
5849
5849
|
u.enter().append("path").merge(u).attr(
|
|
5850
5850
|
"class",
|
|
@@ -5866,7 +5866,7 @@ class Bc extends z {
|
|
|
5866
5866
|
drawValueNumber() {
|
|
5867
5867
|
const e = this.getComponentContainer(), t = this.getOptions(), s = y(t, "gauge", "type"), n = this.getValue(), a = this.getDelta(), i = this.computeRadius(), r = y(t, "gauge", "valueFontSize"), l = y(t, "gauge", "deltaFontSize"), c = y(t, "gauge", "numberSpacing"), d = y(t, "gauge", "showPercentageSymbol");
|
|
5868
5868
|
let p = 0;
|
|
5869
|
-
s ===
|
|
5869
|
+
s === Fe.FULL && !a ? p = l(i) : s === Fe.SEMI && a && (p = -(l(i) + c));
|
|
5870
5870
|
const h = E.appendOrSelect(e, "g.gauge-numbers").attr(
|
|
5871
5871
|
"transform",
|
|
5872
5872
|
`translate(0, ${p})`
|
|
@@ -5945,10 +5945,10 @@ class Bc extends z {
|
|
|
5945
5945
|
const e = this.getOptions(), t = y(e, "gauge", "type"), { width: s, height: n } = E.getSVGElementSize(this.parent, {
|
|
5946
5946
|
useAttrs: !0
|
|
5947
5947
|
});
|
|
5948
|
-
return t ===
|
|
5948
|
+
return t === Fe.SEMI ? Math.min(s / 2, n) : Math.min(s / 2, n / 2);
|
|
5949
5949
|
}
|
|
5950
5950
|
}
|
|
5951
|
-
class
|
|
5951
|
+
class Pc extends Ht {
|
|
5952
5952
|
constructor() {
|
|
5953
5953
|
super(...arguments), this.type = "grouped-bar", this.renderType = H.SVG, this.padding = 5, this.defaultStepFactor = 70, this.handleLegendOnHover = (e) => {
|
|
5954
5954
|
const { hoveredElement: t } = e.detail, { groupMapsTo: s } = this.getOptions().data;
|
|
@@ -5974,7 +5974,7 @@ class $c extends Gt {
|
|
|
5974
5974
|
render(e) {
|
|
5975
5975
|
const t = this.model.getDisplayData(this.configs.groups), s = this.getOptions(), { groupMapsTo: n } = s.data;
|
|
5976
5976
|
this.setGroupScale();
|
|
5977
|
-
const a = this.getComponentContainer({ withinChartClip: !0 }), i =
|
|
5977
|
+
const a = this.getComponentContainer({ withinChartClip: !0 }), i = cn(
|
|
5978
5978
|
t.map((h) => {
|
|
5979
5979
|
const u = this.services.cartesianScales.getDomainIdentifier(h);
|
|
5980
5980
|
return h[u] && typeof h[u].toString == "function" ? h[u].toString() : h[u];
|
|
@@ -6108,10 +6108,10 @@ class $c extends Gt {
|
|
|
6108
6108
|
}
|
|
6109
6109
|
setGroupScale() {
|
|
6110
6110
|
const e = this.model.getActiveDataGroupNames(this.configs.groups);
|
|
6111
|
-
this.groupScale =
|
|
6111
|
+
this.groupScale = Bt().domain(e).rangeRound([0, this.getGroupWidth()]);
|
|
6112
6112
|
}
|
|
6113
6113
|
}
|
|
6114
|
-
class
|
|
6114
|
+
class Vc extends z {
|
|
6115
6115
|
constructor() {
|
|
6116
6116
|
super(...arguments), this.type = "heatmap", this.renderType = H.SVG, this.matrix = {}, this.xBandwidth = 0, this.yBandwidth = 0, this.translationUnits = {
|
|
6117
6117
|
x: 0,
|
|
@@ -6137,7 +6137,7 @@ class Gc extends z {
|
|
|
6137
6137
|
}
|
|
6138
6138
|
p += m, h = m < h ? m : h, u = m > u ? m : u;
|
|
6139
6139
|
}
|
|
6140
|
-
})), l(s) !== void 0 ? this.parent.select("g.multi-cell.column-highlight").classed("highlighter-hidden", !1).attr("transform", `translate(${l(s)}, ${
|
|
6140
|
+
})), l(s) !== void 0 ? this.parent.select("g.multi-cell.column-highlight").classed("highlighter-hidden", !1).attr("transform", `translate(${l(s)}, ${ft(c.range())})`) : c(s) !== void 0 && this.parent.select("g.multi-cell.row-highlight").classed("highlighter-hidden", !1).attr("transform", `translate(${ft(l.range())},${c(s)})`), this.services.events.dispatchEvent(f.Tooltip.SHOW, {
|
|
6141
6141
|
event: t.event,
|
|
6142
6142
|
hoveredElement: x(e.detail.element),
|
|
6143
6143
|
items: [
|
|
@@ -6216,14 +6216,14 @@ class Gc extends z {
|
|
|
6216
6216
|
}
|
|
6217
6217
|
determineDividerStatus() {
|
|
6218
6218
|
const e = y(this.getOptions(), "heatmap", "divider", "state");
|
|
6219
|
-
return e !==
|
|
6219
|
+
return e !== ht.OFF && (e === ht.AUTO && Wt.minCellDividerDimension <= this.xBandwidth && Wt.minCellDividerDimension <= this.yBandwidth || e === ht.ON);
|
|
6220
6220
|
}
|
|
6221
6221
|
addEventListener() {
|
|
6222
6222
|
const e = this, { cartesianScales: t } = this.services, s = this.getOptions(), n = Q(s, "tooltip.totalLabel"), a = t.getDomainIdentifier(), i = t.getRangeIdentifier(), r = t.getDomainLabel(), l = t.getRangeLabel();
|
|
6223
6223
|
this.parent.selectAll("g.cell").on("mouseover", function(c, d) {
|
|
6224
6224
|
const p = x(this), h = p.select("rect.heat");
|
|
6225
6225
|
if (!h.classed("null-state")) {
|
|
6226
|
-
const g =
|
|
6226
|
+
const g = Be(p.attr("transform"));
|
|
6227
6227
|
e.parent.select("g.cell-highlight").attr(
|
|
6228
6228
|
"transform",
|
|
6229
6229
|
`translate(${g.x + e.translationUnits.x}, ${g.y + e.translationUnits.y})`
|
|
@@ -6283,7 +6283,7 @@ class Gc extends z {
|
|
|
6283
6283
|
e.removeEventListener(f.Legend.ITEM_HOVER, this.handleAxisOnHover), e.removeEventListener(f.Legend.ITEM_MOUSEOUT, this.handleAxisMouseOut);
|
|
6284
6284
|
}
|
|
6285
6285
|
}
|
|
6286
|
-
class
|
|
6286
|
+
class Bc extends z {
|
|
6287
6287
|
constructor() {
|
|
6288
6288
|
super(...arguments), this.type = "histogram", this.renderType = H.SVG, this.handleLegendOnHover = (e) => {
|
|
6289
6289
|
const { hoveredElement: t } = e.detail, s = this.getOptions(), { groupMapsTo: n } = s.data;
|
|
@@ -6377,7 +6377,7 @@ class Nc extends z {
|
|
|
6377
6377
|
e.removeEventListener(f.Legend.ITEM_HOVER, this.handleLegendOnHover), e.removeEventListener(f.Legend.ITEM_MOUSEOUT, this.handleLegendMouseOut);
|
|
6378
6378
|
}
|
|
6379
6379
|
}
|
|
6380
|
-
class
|
|
6380
|
+
class $c extends Gt {
|
|
6381
6381
|
constructor() {
|
|
6382
6382
|
super(...arguments), this.type = "lollipop", this.renderType = H.SVG, this.handleScatterOnHover = (e) => {
|
|
6383
6383
|
const t = e.detail, s = this.getOptions(), { groupMapsTo: n } = s.data;
|
|
@@ -6449,7 +6449,7 @@ class Hc extends Bt {
|
|
|
6449
6449
|
);
|
|
6450
6450
|
}
|
|
6451
6451
|
}
|
|
6452
|
-
class
|
|
6452
|
+
class Gc extends z {
|
|
6453
6453
|
constructor() {
|
|
6454
6454
|
super(...arguments), this.type = "meter", this.renderType = H.SVG;
|
|
6455
6455
|
}
|
|
@@ -6560,7 +6560,7 @@ class Uc extends z {
|
|
|
6560
6560
|
this.parent.selectAll("rect.value").on("mouseover", null).on("mousemove", null).on("mouseout", null).on("click", null);
|
|
6561
6561
|
}
|
|
6562
6562
|
}
|
|
6563
|
-
class
|
|
6563
|
+
class Nc extends z {
|
|
6564
6564
|
constructor() {
|
|
6565
6565
|
super(...arguments), this.type = "radar", this.renderType = H.SVG, this.getLabelDimensions = (e) => {
|
|
6566
6566
|
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 });
|
|
@@ -6573,7 +6573,7 @@ class zc extends z {
|
|
|
6573
6573
|
[n]: null
|
|
6574
6574
|
})))
|
|
6575
6575
|
);
|
|
6576
|
-
return
|
|
6576
|
+
return De(i, e);
|
|
6577
6577
|
}, this.normalizeGroupedData = (e) => {
|
|
6578
6578
|
const t = this.getOptions(), { angle: s, value: n } = y(t, "radar", "axes"), a = y(t, "data", "groupMapsTo");
|
|
6579
6579
|
return e.map(({ name: i, data: r }) => {
|
|
@@ -6582,7 +6582,7 @@ class zc extends z {
|
|
|
6582
6582
|
[s]: c,
|
|
6583
6583
|
[n]: null
|
|
6584
6584
|
}));
|
|
6585
|
-
return { name: i, data:
|
|
6585
|
+
return { name: i, data: De(l, r) };
|
|
6586
6586
|
});
|
|
6587
6587
|
}, this.handleLegendOnHover = (e) => {
|
|
6588
6588
|
const { hoveredElement: t } = e.detail;
|
|
@@ -6613,17 +6613,17 @@ class zc extends z {
|
|
|
6613
6613
|
const S = 2 * (this.getLabelDimensions(this.uniqueKeys[0]).height + u), L = (Math.min(s, n) - S) / 2;
|
|
6614
6614
|
if (L <= 0)
|
|
6615
6615
|
return;
|
|
6616
|
-
const O =
|
|
6616
|
+
const O = Bt().domain(this.fullDataNormalized.map((C) => C[d])).range([0, 2 * Math.PI].map((C) => C - Math.PI / 2)), k = ft(this.fullDataNormalized.map((C) => C[p])), I = Oe().domain([
|
|
6617
6617
|
k >= 0 ? 0 : k,
|
|
6618
|
-
|
|
6619
|
-
]).range([m, L]).nice(g), F = I.ticks(g), P = (C) => this.model.getFillColor(C), A =
|
|
6620
|
-
const R = this.getLabelDimensions(C).width, _ =
|
|
6618
|
+
jt(this.fullDataNormalized.map((C) => C[p]))
|
|
6619
|
+
]).range([m, L]).nice(g), F = I.ticks(g), P = (C) => this.model.getFillColor(C), A = bn().angle((C) => O(C[d]) + Math.PI / 2).radius((C) => I(C[p])).curve(En), w = this.uniqueKeys.map((C) => {
|
|
6620
|
+
const R = this.getLabelDimensions(C).width, _ = Dn(
|
|
6621
6621
|
O(C),
|
|
6622
6622
|
L
|
|
6623
6623
|
);
|
|
6624
6624
|
return R + _;
|
|
6625
6625
|
}), D = {
|
|
6626
|
-
x:
|
|
6626
|
+
x: jt(w) + h,
|
|
6627
6627
|
y: n / 2
|
|
6628
6628
|
}, re = E.appendOrSelect(t, "g.y-axes").attr("role", U.GROUP).selectAll("path").data(F, (C) => C), W = (C) => this.uniqueKeys.map((R) => ({ [d]: R, [p]: C }));
|
|
6629
6629
|
re.join(
|
|
@@ -6793,7 +6793,7 @@ class zc extends z {
|
|
|
6793
6793
|
(C) => C.append("rect"),
|
|
6794
6794
|
(C) => C,
|
|
6795
6795
|
(C) => C.remove()
|
|
6796
|
-
).attr("x", D.x).attr("y", D.y - b / 2).attr("width", I.range()[1]).attr("height", b).style("fill", "red").style("fill-opacity", 0).attr("transform", (C) => `rotate(${
|
|
6796
|
+
).attr("x", D.x).attr("y", D.y - b / 2).attr("width", I.range()[1]).attr("height", b).style("fill", "red").style("fill-opacity", 0).attr("transform", (C) => `rotate(${_n(O(C))}, ${D.x}, ${D.y})`), E.appendOrSelect(t, "g.y-labels").attr("role", U.GROUP).selectAll("text").data(tt(F)).join(
|
|
6797
6797
|
(C) => C.append("text").attr("opacity", 0).text((R) => R).attr(
|
|
6798
6798
|
"x",
|
|
6799
6799
|
(R) => Y(-Math.PI / 2, I(R), D).x + u
|
|
@@ -6900,7 +6900,7 @@ class zc extends z {
|
|
|
6900
6900
|
});
|
|
6901
6901
|
}
|
|
6902
6902
|
}
|
|
6903
|
-
class
|
|
6903
|
+
class Hc extends Ht {
|
|
6904
6904
|
constructor() {
|
|
6905
6905
|
super(...arguments), this.type = "simple-bar", this.renderType = H.SVG, this.handleLegendOnHover = (e) => {
|
|
6906
6906
|
const { hoveredElement: t } = e.detail, { groupMapsTo: s } = this.getOptions().data;
|
|
@@ -6996,7 +6996,7 @@ class Fc extends Gt {
|
|
|
6996
6996
|
e.removeEventListener(f.Legend.ITEM_HOVER, this.handleLegendOnHover), e.removeEventListener(f.Legend.ITEM_MOUSEOUT, this.handleLegendMouseOut);
|
|
6997
6997
|
}
|
|
6998
6998
|
}
|
|
6999
|
-
class
|
|
6999
|
+
class Uc extends lr {
|
|
7000
7000
|
constructor() {
|
|
7001
7001
|
super(...arguments), this.type = "skeleton-lines";
|
|
7002
7002
|
}
|
|
@@ -7022,7 +7022,7 @@ class Wc extends lr {
|
|
|
7022
7022
|
this.backdrop = E.appendOrSelect(e, "svg.chart-skeleton.DAII"), E.appendOrSelect(this.backdrop, "rect.chart-skeleton-backdrop").classed("shimmer-effect-lines", !1).classed("shimmer-effect-sparkline", !0).style("stroke", null);
|
|
7023
7023
|
}
|
|
7024
7024
|
}
|
|
7025
|
-
class
|
|
7025
|
+
class zc extends z {
|
|
7026
7026
|
constructor() {
|
|
7027
7027
|
super(...arguments), this.type = "area-stacked", this.renderType = H.SVG, this.handleLegendOnHover = (e) => {
|
|
7028
7028
|
const { hoveredElement: t } = e.detail, s = this.getOptions(), { groupMapsTo: n } = s.data;
|
|
@@ -7050,7 +7050,7 @@ class jc extends z {
|
|
|
7050
7050
|
percentage: i,
|
|
7051
7051
|
groups: this.configs.groups
|
|
7052
7052
|
}), l = y(r, 0, 0), c = this.services.cartesianScales.getDomainAxisPosition({ datum: l }), d = this.services.cartesianScales.getRangeAxisPosition({ datum: l }), p = this.services.cartesianScales.getScaleByPosition(d), h = t.selectAll("path.area").data(r, (g) => y(g, 0, a));
|
|
7053
|
-
this.areaGenerator =
|
|
7053
|
+
this.areaGenerator = Dt().x(
|
|
7054
7054
|
(g) => this.services.cartesianScales.getValueThroughAxisPosition(
|
|
7055
7055
|
c,
|
|
7056
7056
|
g.data.sharedStackKey
|
|
@@ -7071,7 +7071,7 @@ class jc extends z {
|
|
|
7071
7071
|
).attr("opacity", fe.opacity.selected).attr("d", this.areaGenerator);
|
|
7072
7072
|
}
|
|
7073
7073
|
}
|
|
7074
|
-
class
|
|
7074
|
+
class Fc extends Ht {
|
|
7075
7075
|
constructor() {
|
|
7076
7076
|
super(...arguments), this.type = "stacked-bar", this.renderType = H.SVG, this.handleLegendOnHover = (e) => {
|
|
7077
7077
|
const { hoveredElement: t } = e.detail, { groupMapsTo: s } = this.model.getOptions().data;
|
|
@@ -7199,7 +7199,7 @@ class Zc extends Gt {
|
|
|
7199
7199
|
e.removeEventListener(f.Legend.ITEM_HOVER, this.handleLegendOnHover), e.removeEventListener(f.Legend.ITEM_MOUSEOUT, this.handleLegendMouseOut);
|
|
7200
7200
|
}
|
|
7201
7201
|
}
|
|
7202
|
-
class
|
|
7202
|
+
class Wc extends Gt {
|
|
7203
7203
|
constructor() {
|
|
7204
7204
|
super(...arguments), this.type = "scatter-stacked", this.renderType = H.SVG;
|
|
7205
7205
|
}
|
|
@@ -7248,7 +7248,7 @@ class Xc extends Bt {
|
|
|
7248
7248
|
}
|
|
7249
7249
|
}
|
|
7250
7250
|
const Ae = 6;
|
|
7251
|
-
class
|
|
7251
|
+
class jc extends z {
|
|
7252
7252
|
constructor() {
|
|
7253
7253
|
super(...arguments), this.type = "tree", this.renderType = H.SVG;
|
|
7254
7254
|
}
|
|
@@ -7281,7 +7281,7 @@ class Yc extends z {
|
|
|
7281
7281
|
right: 0,
|
|
7282
7282
|
bottom: 0,
|
|
7283
7283
|
left: l > 0 ? l + Ae : 30 - Ae
|
|
7284
|
-
}, h =
|
|
7284
|
+
}, h = $t({
|
|
7285
7285
|
name: r,
|
|
7286
7286
|
children: i
|
|
7287
7287
|
}), u = 10, g = s / 6, m = (O) => {
|
|
@@ -7329,13 +7329,13 @@ class Yc extends z {
|
|
|
7329
7329
|
}), h.eachBefore((N) => {
|
|
7330
7330
|
N.x0 = N.x, N.y0 = N.y;
|
|
7331
7331
|
});
|
|
7332
|
-
}, b = h.descendants(), v = b[b.length - 1].depth, S = y(a, "tree", "type") ===
|
|
7332
|
+
}, b = h.descendants(), v = b[b.length - 1].depth, S = y(a, "tree", "type") === Bn.DENDROGRAM ? Sn().size([
|
|
7333
7333
|
n,
|
|
7334
7334
|
s - d - v * Ae - l
|
|
7335
|
-
]) :
|
|
7335
|
+
]) : xn().nodeSize([u, g]).size([
|
|
7336
7336
|
n,
|
|
7337
7337
|
s - d - v * Ae - l
|
|
7338
|
-
]), T =
|
|
7338
|
+
]), T = On().x((O) => O.y).y((O) => O.x);
|
|
7339
7339
|
h.x0 = g / 2, h.y0 = 0, h.descendants().forEach((O, k) => {
|
|
7340
7340
|
O.id = k, O._children = O.children;
|
|
7341
7341
|
}), S(h), t.attr("viewBox", [-p.left, -p.top, s, u]).style("user-select", "none");
|
|
@@ -7475,7 +7475,7 @@ var br = "#000000", Er = "#ffffff", Sr = "#fcf4d6", xr = "#fddc69", Or = "#f1c21
|
|
|
7475
7475
|
80: Ul,
|
|
7476
7476
|
90: zl,
|
|
7477
7477
|
100: Fl
|
|
7478
|
-
},
|
|
7478
|
+
}, ys = {
|
|
7479
7479
|
black: {
|
|
7480
7480
|
100: br
|
|
7481
7481
|
},
|
|
@@ -7498,26 +7498,26 @@ var br = "#000000", Er = "#ffffff", Sr = "#fcf4d6", xr = "#fddc69", Or = "#f1c21
|
|
|
7498
7498
|
const jl = (o) => {
|
|
7499
7499
|
if (!o)
|
|
7500
7500
|
return null;
|
|
7501
|
-
for (const e of Object.keys(
|
|
7502
|
-
const t =
|
|
7501
|
+
for (const e of Object.keys(ys)) {
|
|
7502
|
+
const t = ys[e];
|
|
7503
7503
|
for (const s of Object.keys(t))
|
|
7504
7504
|
if (t[+s] === o)
|
|
7505
7505
|
return s;
|
|
7506
7506
|
}
|
|
7507
7507
|
return null;
|
|
7508
|
-
},
|
|
7508
|
+
}, bs = function() {
|
|
7509
7509
|
const o = x(this.parentNode).select("rect.leaf"), e = getComputedStyle(o.node(), null).getPropertyValue(
|
|
7510
7510
|
"fill"
|
|
7511
|
-
), t =
|
|
7511
|
+
), t = As(e);
|
|
7512
7512
|
let s;
|
|
7513
7513
|
if (t && (s = jl(t ? t.hex() : null)), s == null) {
|
|
7514
|
-
const n =
|
|
7514
|
+
const n = Ms(t).l;
|
|
7515
7515
|
s = Math.abs(n * 100 - 100);
|
|
7516
7516
|
}
|
|
7517
7517
|
return s > 50 ? "white" : "black";
|
|
7518
7518
|
};
|
|
7519
7519
|
let Zl = 0;
|
|
7520
|
-
class
|
|
7520
|
+
class Zc extends z {
|
|
7521
7521
|
constructor() {
|
|
7522
7522
|
super(...arguments), this.type = "treemap", this.renderType = H.SVG, this.handleLegendOnHover = (e) => {
|
|
7523
7523
|
const { hoveredElement: t } = e.detail;
|
|
@@ -7548,10 +7548,10 @@ class qc extends z {
|
|
|
7548
7548
|
this.model.getData();
|
|
7549
7549
|
const s = this.model.getDisplayData(), n = this.model.getOptions(), a = y(window, "location"), { width: i, height: r } = E.getSVGElementSize(t, {
|
|
7550
7550
|
useAttrs: !0
|
|
7551
|
-
}), l =
|
|
7551
|
+
}), l = $t({
|
|
7552
7552
|
name: n.title || "Treemap",
|
|
7553
7553
|
children: s
|
|
7554
|
-
}).sum((m) => m.value).sort((m, b) => b.value - m.value), c =
|
|
7554
|
+
}).sum((m) => m.value).sort((m, b) => b.value - m.value), c = Tn().size([i, r]).paddingInner(1).paddingOuter(0).round(!0)(
|
|
7555
7555
|
l
|
|
7556
7556
|
), d = t.selectAll("g[data-name='leaf']").data(c.leaves(), (m) => m.data.name);
|
|
7557
7557
|
d.exit().attr("opacity", 0).remove();
|
|
@@ -7608,7 +7608,7 @@ class qc extends z {
|
|
|
7608
7608
|
let b = m;
|
|
7609
7609
|
for (; b.depth > 1; )
|
|
7610
7610
|
b = b.parent;
|
|
7611
|
-
const v =
|
|
7611
|
+
const v = Ms(this.model.getFillColor(b.data.name));
|
|
7612
7612
|
return [
|
|
7613
7613
|
{
|
|
7614
7614
|
text: m.data.name,
|
|
@@ -7619,13 +7619,13 @@ class qc extends z {
|
|
|
7619
7619
|
(m) => m
|
|
7620
7620
|
).join(
|
|
7621
7621
|
(m) => {
|
|
7622
|
-
const b = m.append("text").text((v) => v.text).style("fill",
|
|
7622
|
+
const b = m.append("text").text((v) => v.text).style("fill", bs).attr("x", 7).attr("y", 18);
|
|
7623
7623
|
return a && b.attr("clip-path", function() {
|
|
7624
7624
|
const v = x(this.parentNode).attr("data-uid"), S = `${n.style.prefix}-clip-${v}`;
|
|
7625
7625
|
return `url(${new URL(`#${S}`, a) + ""})`;
|
|
7626
7626
|
}), b;
|
|
7627
7627
|
},
|
|
7628
|
-
(m) => m.text((b) => b.text).style("fill",
|
|
7628
|
+
(m) => m.text((b) => b.text).style("fill", bs),
|
|
7629
7629
|
(m) => m.remove()
|
|
7630
7630
|
), this.addEventListeners();
|
|
7631
7631
|
}
|
|
@@ -7643,7 +7643,7 @@ class qc extends z {
|
|
|
7643
7643
|
})
|
|
7644
7644
|
).style("fill", (r) => {
|
|
7645
7645
|
const l = e.model.getFillColor(r.parent.data.name);
|
|
7646
|
-
return l && (a = l),
|
|
7646
|
+
return l && (a = l), As(a).darker(0.7).toString();
|
|
7647
7647
|
}), e.services.events.dispatchEvent(f.Tooltip.SHOW, {
|
|
7648
7648
|
event: t,
|
|
7649
7649
|
hoveredElement: n,
|
|
@@ -7699,7 +7699,7 @@ class qc extends z {
|
|
|
7699
7699
|
});
|
|
7700
7700
|
}
|
|
7701
7701
|
}
|
|
7702
|
-
class
|
|
7702
|
+
class Xc extends z {
|
|
7703
7703
|
constructor() {
|
|
7704
7704
|
super(...arguments), this.type = "wordcloud", this.renderType = H.SVG, this.handleLegendOnHover = (e) => {
|
|
7705
7705
|
const { hoveredElement: t } = e.detail, { groupMapsTo: s } = this.getOptions().data;
|
|
@@ -7768,11 +7768,11 @@ class Kc extends z {
|
|
|
7768
7768
|
this.addEventListeners();
|
|
7769
7769
|
}
|
|
7770
7770
|
getFontSizeScale(e) {
|
|
7771
|
-
const t = this.getOptions(), { fontSizeMapsTo: s } = t.wordCloud, n = e.map((l) => l[s]).filter((l) => l), a = E.getHTMLElementSize(this.services.domUtils.getMainContainer()), i = n.length > 0, r = i ?
|
|
7771
|
+
const t = this.getOptions(), { fontSizeMapsTo: s } = t.wordCloud, n = e.map((l) => l[s]).filter((l) => l), a = E.getHTMLElementSize(this.services.domUtils.getMainContainer()), i = n.length > 0, r = i ? tt(n) : [1, 1];
|
|
7772
7772
|
return Oe().domain(r).range(i ? t.wordCloud.fontSizeRange(a, e) : [4, 4]);
|
|
7773
7773
|
}
|
|
7774
7774
|
addEventListeners() {
|
|
7775
|
-
const e = this.getOptions(), { groupMapsTo: t } = e.data, s = this, n =
|
|
7775
|
+
const e = this.getOptions(), { groupMapsTo: t } = e.data, s = this, n = vt((a) => {
|
|
7776
7776
|
const i = s.parent.selectAll("text.word").transition("wordcloud-word-mouse-highlight").call(
|
|
7777
7777
|
(r) => s.services.transitions.setupTransition({
|
|
7778
7778
|
transition: r,
|
|
@@ -7855,12 +7855,12 @@ class Xl extends z {
|
|
|
7855
7855
|
// We need to specify that we are converting geometry collections
|
|
7856
7856
|
type: "GeometryCollection",
|
|
7857
7857
|
geometries: Object.values(r)
|
|
7858
|
-
}), p = n.fitSize([t, s], d), h =
|
|
7858
|
+
}), p = n.fitSize([t, s], d), h = Ln().projection(p);
|
|
7859
7859
|
E.appendOrSelect(e, "g.geo").selectAll("path").data(d.features).join("path").attr("d", h);
|
|
7860
7860
|
const g = this.services.domUtils.generateElementIDString("geo-pattern-stripes"), m = E.appendOrSelect(e, "defs");
|
|
7861
7861
|
E.appendOrSelect(m, "pattern").attr("id", g).attr("width", 5).attr("height", 10).attr("patternUnits", "userSpaceOnUse").attr("patternTransform", "rotate(45)").append("path").classed("pattern-fill", !0).attr(
|
|
7862
7862
|
"d",
|
|
7863
|
-
|
|
7863
|
+
_t()([
|
|
7864
7864
|
[0, 0],
|
|
7865
7865
|
[0, 10]
|
|
7866
7866
|
])
|
|
@@ -7880,25 +7880,25 @@ class Xl extends z {
|
|
|
7880
7880
|
let e = null;
|
|
7881
7881
|
switch (y(this.getOptions(), "thematic", "projection")) {
|
|
7882
7882
|
case xe.geoEqualEarth:
|
|
7883
|
-
e =
|
|
7883
|
+
e = Rn();
|
|
7884
7884
|
break;
|
|
7885
7885
|
case xe.geoAlbers:
|
|
7886
|
-
e =
|
|
7886
|
+
e = In();
|
|
7887
7887
|
break;
|
|
7888
7888
|
case xe.geoConicEqualArea:
|
|
7889
|
-
e =
|
|
7889
|
+
e = kn();
|
|
7890
7890
|
break;
|
|
7891
7891
|
case xe.geoConicEquidistant:
|
|
7892
|
-
e =
|
|
7892
|
+
e = Cn();
|
|
7893
7893
|
break;
|
|
7894
7894
|
case xe.geoEquirectangular:
|
|
7895
|
-
e =
|
|
7895
|
+
e = An();
|
|
7896
7896
|
break;
|
|
7897
7897
|
case xe.geoMercator:
|
|
7898
|
-
e =
|
|
7898
|
+
e = Mn();
|
|
7899
7899
|
break;
|
|
7900
7900
|
case xe.geoNaturalEarth1:
|
|
7901
|
-
e =
|
|
7901
|
+
e = wn();
|
|
7902
7902
|
break;
|
|
7903
7903
|
default:
|
|
7904
7904
|
throw new Error("Projection is not supported.");
|
|
@@ -7906,7 +7906,7 @@ class Xl extends z {
|
|
|
7906
7906
|
return e;
|
|
7907
7907
|
}
|
|
7908
7908
|
}
|
|
7909
|
-
class
|
|
7909
|
+
class Yc extends Xl {
|
|
7910
7910
|
constructor() {
|
|
7911
7911
|
super(...arguments), this.type = "choropleth";
|
|
7912
7912
|
}
|
|
@@ -7925,11 +7925,11 @@ class Jc extends Xl {
|
|
|
7925
7925
|
const e = this, t = this.model.getCombinedData();
|
|
7926
7926
|
this.parent.selectAll("path.border").on("mouseover", function(s, n) {
|
|
7927
7927
|
const a = x(this);
|
|
7928
|
-
e.services.events.dispatchEvent(
|
|
7928
|
+
e.services.events.dispatchEvent(We.CHOROPLETH_MOUSEOVER, {
|
|
7929
7929
|
event: s,
|
|
7930
7930
|
element: a,
|
|
7931
7931
|
datum: t[n.properties.NAME]
|
|
7932
|
-
}), e.services.events.dispatchEvent(
|
|
7932
|
+
}), e.services.events.dispatchEvent(ut.SHOW, {
|
|
7933
7933
|
event: s,
|
|
7934
7934
|
hoveredElement: a,
|
|
7935
7935
|
items: [
|
|
@@ -7940,26 +7940,26 @@ class Jc extends Xl {
|
|
|
7940
7940
|
]
|
|
7941
7941
|
});
|
|
7942
7942
|
}).on("mousemove", function(s, n) {
|
|
7943
|
-
e.services.events.dispatchEvent(
|
|
7943
|
+
e.services.events.dispatchEvent(We.CHOROPLETH_MOUSEMOVE, {
|
|
7944
7944
|
event: s,
|
|
7945
7945
|
element: x(this),
|
|
7946
7946
|
datum: t[n.properties.NAME]
|
|
7947
|
-
}), e.services.events.dispatchEvent(
|
|
7947
|
+
}), e.services.events.dispatchEvent(ut.MOVE, {
|
|
7948
7948
|
event: s
|
|
7949
7949
|
});
|
|
7950
7950
|
}).on("click", function(s, n) {
|
|
7951
|
-
e.services.events.dispatchEvent(
|
|
7951
|
+
e.services.events.dispatchEvent(We.CHOROPLETH_CLICK, {
|
|
7952
7952
|
event: s,
|
|
7953
7953
|
element: x(this),
|
|
7954
7954
|
datum: t[n.properties.NAME]
|
|
7955
7955
|
});
|
|
7956
7956
|
}).on("mouseout", function(s, n) {
|
|
7957
7957
|
const a = x(this);
|
|
7958
|
-
e.services.events.dispatchEvent(
|
|
7958
|
+
e.services.events.dispatchEvent(We.CHOROPLETH_MOUSEOUT, {
|
|
7959
7959
|
event: s,
|
|
7960
7960
|
element: a,
|
|
7961
7961
|
datum: t[n.properties.NAME]
|
|
7962
|
-
}), e.services.events.dispatchEvent(
|
|
7962
|
+
}), e.services.events.dispatchEvent(ut.HIDE, {
|
|
7963
7963
|
event: s,
|
|
7964
7964
|
hoveredElement: a
|
|
7965
7965
|
});
|
|
@@ -7967,69 +7967,69 @@ class Jc extends Xl {
|
|
|
7967
7967
|
}
|
|
7968
7968
|
}
|
|
7969
7969
|
export {
|
|
7970
|
-
|
|
7971
|
-
|
|
7972
|
-
|
|
7973
|
-
|
|
7974
|
-
|
|
7975
|
-
|
|
7976
|
-
|
|
7977
|
-
|
|
7978
|
-
|
|
7979
|
-
|
|
7980
|
-
|
|
7981
|
-
|
|
7970
|
+
Uc as $,
|
|
7971
|
+
Ys as A,
|
|
7972
|
+
bc as B,
|
|
7973
|
+
ar as C,
|
|
7974
|
+
yc as D,
|
|
7975
|
+
Yc as E,
|
|
7976
|
+
Rc as F,
|
|
7977
|
+
hc as G,
|
|
7978
|
+
or as H,
|
|
7979
|
+
Dc as I,
|
|
7980
|
+
_c as J,
|
|
7981
|
+
Pc as K,
|
|
7982
7982
|
nr as L,
|
|
7983
|
-
|
|
7984
|
-
|
|
7985
|
-
|
|
7986
|
-
|
|
7987
|
-
|
|
7983
|
+
Ic as M,
|
|
7984
|
+
Vc as N,
|
|
7985
|
+
Bc as O,
|
|
7986
|
+
pc as P,
|
|
7987
|
+
$c as Q,
|
|
7988
7988
|
Xs as R,
|
|
7989
|
-
|
|
7990
|
-
|
|
7991
|
-
|
|
7992
|
-
|
|
7993
|
-
|
|
7994
|
-
|
|
7995
|
-
|
|
7996
|
-
|
|
7997
|
-
|
|
7998
|
-
|
|
7999
|
-
|
|
8000
|
-
|
|
8001
|
-
|
|
8002
|
-
|
|
8003
|
-
|
|
8004
|
-
|
|
8005
|
-
|
|
8006
|
-
|
|
8007
|
-
|
|
8008
|
-
|
|
8009
|
-
|
|
8010
|
-
|
|
8011
|
-
|
|
8012
|
-
|
|
8013
|
-
|
|
8014
|
-
|
|
8015
|
-
|
|
8016
|
-
|
|
8017
|
-
|
|
8018
|
-
|
|
8019
|
-
|
|
8020
|
-
|
|
8021
|
-
|
|
8022
|
-
|
|
8023
|
-
|
|
8024
|
-
|
|
8025
|
-
|
|
8026
|
-
|
|
8027
|
-
|
|
8028
|
-
|
|
8029
|
-
|
|
8030
|
-
|
|
8031
|
-
|
|
8032
|
-
|
|
8033
|
-
|
|
7989
|
+
Ec as S,
|
|
7990
|
+
ts as T,
|
|
7991
|
+
Gc as U,
|
|
7992
|
+
yr as V,
|
|
7993
|
+
Nc as W,
|
|
7994
|
+
Gt as X,
|
|
7995
|
+
Hc as Y,
|
|
7996
|
+
fc as Z,
|
|
7997
|
+
lr as _,
|
|
7998
|
+
ps as a,
|
|
7999
|
+
zc as a0,
|
|
8000
|
+
Fc as a1,
|
|
8001
|
+
Wc as a2,
|
|
8002
|
+
jc as a3,
|
|
8003
|
+
Zc as a4,
|
|
8004
|
+
Xc as a5,
|
|
8005
|
+
ss as a6,
|
|
8006
|
+
nc as a7,
|
|
8007
|
+
z as a8,
|
|
8008
|
+
Da as a9,
|
|
8009
|
+
gc as b,
|
|
8010
|
+
rc as c,
|
|
8011
|
+
Tc as d,
|
|
8012
|
+
Lc as e,
|
|
8013
|
+
Oc as f,
|
|
8014
|
+
xc as g,
|
|
8015
|
+
Sc as h,
|
|
8016
|
+
wc as i,
|
|
8017
|
+
Mc as j,
|
|
8018
|
+
cc as k,
|
|
8019
|
+
ic as l,
|
|
8020
|
+
kc as m,
|
|
8021
|
+
Xl as n,
|
|
8022
|
+
lc as o,
|
|
8023
|
+
ac as p,
|
|
8024
|
+
oc as q,
|
|
8025
|
+
sr as r,
|
|
8026
|
+
Ac as s,
|
|
8027
|
+
Cc as t,
|
|
8028
|
+
ir as u,
|
|
8029
|
+
dc as v,
|
|
8030
|
+
uc as w,
|
|
8031
|
+
Ht as x,
|
|
8032
|
+
mc as y,
|
|
8033
|
+
vc as z
|
|
8034
8034
|
};
|
|
8035
|
-
//# sourceMappingURL=choropleth-
|
|
8035
|
+
//# sourceMappingURL=choropleth-OVZrVx-E.mjs.map
|