@carbon/charts 1.14.4 → 1.14.5
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 +9 -0
- package/dist/{_baseEach-HjwFcKjQ.mjs → _baseEach-OI3ptUEq.mjs} +2 -2
- package/dist/{_baseEach-HjwFcKjQ.mjs.map → _baseEach-OI3ptUEq.mjs.map} +1 -1
- package/dist/{angle-utils-rnwiyNO5.mjs → angle-utils-0zbAbkd9.mjs} +2 -2
- package/dist/{angle-utils-rnwiyNO5.mjs.map → angle-utils-0zbAbkd9.mjs.map} +1 -1
- package/dist/{choropleth-8ZwwWcHd.mjs → choropleth-o0OXZNlE.mjs} +232 -227
- package/dist/{choropleth-8ZwwWcHd.mjs.map → choropleth-o0OXZNlE.mjs.map} +1 -1
- package/dist/{color-scale-utils-TUTedgAJ.mjs → color-scale-utils-XZIkoI99.mjs} +2 -3
- package/dist/color-scale-utils-XZIkoI99.mjs.map +1 -0
- package/dist/components/index.mjs +1 -1
- package/dist/demo/index.mjs +4 -4
- package/dist/index.mjs +8 -8
- package/dist/model/index.mjs +1 -1
- package/dist/services/index.mjs +3 -3
- package/dist/umd/bundle.umd.js +2 -2
- package/dist/umd/bundle.umd.js.map +1 -1
- package/dist/{wordcloud-83FL_PLL.mjs → wordcloud-zimgwsA4.mjs} +3 -3
- package/dist/{wordcloud-83FL_PLL.mjs.map → wordcloud-zimgwsA4.mjs.map} +1 -1
- package/dist/{zoom-yHLHYPra.mjs → zoom-I8iYRlbb.mjs} +3 -3
- package/dist/{zoom-yHLHYPra.mjs.map → zoom-I8iYRlbb.mjs.map} +1 -1
- package/package.json +2 -2
- package/dist/color-scale-utils-TUTedgAJ.mjs.map +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { L as Ys, h as Ba, o as qs, a4 as Ha, p as Ks, B as $a, a5 as Ua, a6 as za, a7 as Fa, m as v, n as
|
|
1
|
+
import { L as Ys, h as Ba, o as qs, a4 as Ha, p as Ks, B as $a, a5 as Ua, a6 as za, a7 as Fa, m as v, n as we, x as dt, a0 as us, A as ne, s as de, a8 as Ot, K as Me, a2 as Wa, z as Js, t as ja, a9 as He, c as gn, b as mn, P as Re, aa as bt, ab as Ve, Q as Be, X as Ge, ac as Xa, J as ot, i as Za, Z as te, S as Ae, ad as ye, ae as Ya, a as qa, Y as pe, U as ft, C as Mt, af as Qt, v as Ka, ag as ps, _ as Fe } from "./color-scale-utils-XZIkoI99.mjs";
|
|
2
2
|
import { select as x, pointer as Ft, brushX as Qs, scaleTime as Ja, extent as Wt, area as Nn, line as Pn, axisBottom as Vn, axisLeft as ea, axisTop as Qa, axisRight as ei, scaleLinear as Ze, arc as xt, easeLinear as ti, path as Gn, interpolateNumber as ta, quantize as ni, scaleBand as Bn, hierarchy as Hn, pack as si, pie as ai, interpolate as ii, interpolateRound as ri, min as fn, max as gs, lineRadial as oi, curveLinearClosed as li, cluster as ci, tree as di, linkHorizontal as hi, treemap as ui, hsl as na, color as sa, geoPath as pi, geoNaturalEarth1 as gi, geoMercator as mi, geoEquirectangular as fi, geoConicEquidistant as vi, geoConicEqualArea as yi, geoAlbers as Ei, geoEqualEarth as bi } from "d3";
|
|
3
|
-
import { t as en, D as S, c as vn, G as ms, a as Si, p as oe, r as fs, b as Oi } from "./angle-utils-
|
|
4
|
-
import { y as W, _ as f, K as ie, r as $e, q as tt, L as xi, A as Ce, m as F, s as We, V as lt, S as ue, e as G, Z as nt, i as xe, f as vs, J as tn, d as Ti, F as
|
|
5
|
-
import { sankey as Ai, sankeyLinkHorizontal as
|
|
3
|
+
import { t as en, D as S, c as vn, G as ms, a as Si, p as oe, r as fs, b as Oi } from "./angle-utils-0zbAbkd9.mjs";
|
|
4
|
+
import { y as W, _ as f, K as ie, r as $e, q as tt, L as xi, A as Ce, m as F, s as We, V as lt, S as ue, e as G, Z as nt, i as xe, f as vs, J as tn, d as Ti, F as wt, n as nn, H as sn, C as an, p as Ct, b as ys, D as rn, Q as Li, x as je, $ as _t, N as on } from "./enums-lWSDG4ik.mjs";
|
|
5
|
+
import { sankey as Ai, sankeyLinkHorizontal as Mi, sankeyJustify as wi, sankeyLeft as Ci, sankeyRight as _i } from "d3-sankey";
|
|
6
6
|
import { R as X } from "./a11y-SOU26cr5.mjs";
|
|
7
|
-
import { b as aa } from "./_baseEach-
|
|
7
|
+
import { b as aa } from "./_baseEach-OI3ptUEq.mjs";
|
|
8
8
|
import Ii from "d3-cloud";
|
|
9
9
|
function Ri(o, e, t, n) {
|
|
10
10
|
var s = -1, a = o == null ? 0 : o.length;
|
|
@@ -269,18 +269,18 @@ function Ar(o, e) {
|
|
|
269
269
|
function Ea(o, e) {
|
|
270
270
|
return Ua(o, e);
|
|
271
271
|
}
|
|
272
|
-
var
|
|
272
|
+
var Mr = Sr(function(o, e, t) {
|
|
273
273
|
return o + (t ? "-" : "") + e.toLowerCase();
|
|
274
274
|
});
|
|
275
|
-
const st =
|
|
276
|
-
function
|
|
275
|
+
const st = Mr;
|
|
276
|
+
function wr(o, e) {
|
|
277
277
|
var t;
|
|
278
278
|
return aa(o, function(n, s, a) {
|
|
279
279
|
return t = e(n, s, a), !t;
|
|
280
280
|
}), !!t;
|
|
281
281
|
}
|
|
282
282
|
function Cr(o, e, t) {
|
|
283
|
-
var n = qs(o) ? za :
|
|
283
|
+
var n = qs(o) ? za : wr;
|
|
284
284
|
return t && Fa(o, e, t) && (e = void 0), n(o, Ks(e));
|
|
285
285
|
}
|
|
286
286
|
class q {
|
|
@@ -318,7 +318,7 @@ class q {
|
|
|
318
318
|
const t = this.parent;
|
|
319
319
|
if (this.parent = e, !(t && t.node() === e.node()) && this.type) {
|
|
320
320
|
const s = v(this.model.getOptions(), "style", "prefix");
|
|
321
|
-
(n = this.parent) == null || n.classed(`${
|
|
321
|
+
(n = this.parent) == null || n.classed(`${we}--${s}--${this.type}`, !0), t && t.classed(`${we}--${s}--${this.type}`, !1);
|
|
322
322
|
}
|
|
323
323
|
}
|
|
324
324
|
getParent() {
|
|
@@ -328,7 +328,7 @@ class q {
|
|
|
328
328
|
if (this.type) {
|
|
329
329
|
const t = v(this.model.getOptions(), "style", "prefix"), n = this.id ? `#${this.id}` : "", s = S.appendOrSelect(
|
|
330
330
|
this.parent,
|
|
331
|
-
`${this.renderType === W.SVG ? "svg" : "div"}${n}.${
|
|
331
|
+
`${this.renderType === W.SVG ? "svg" : "div"}${n}.${we}--${t}--${this.type}`
|
|
332
332
|
);
|
|
333
333
|
if (e.withinChartClip) {
|
|
334
334
|
const a = this.model.get("chartClipId");
|
|
@@ -434,7 +434,7 @@ function Rt(o, e) {
|
|
|
434
434
|
}
|
|
435
435
|
return t;
|
|
436
436
|
}
|
|
437
|
-
const Ls = Ee(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), cn = Ee(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), dn = Ee(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Vr = Ee(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), hn = Ee(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), Gr = Ee(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), As = Ee(["#text"]),
|
|
437
|
+
const Ls = Ee(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), cn = Ee(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), dn = Ee(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Vr = Ee(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), hn = Ee(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), Gr = Ee(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), As = Ee(["#text"]), Ms = Ee(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "xmlns", "slot"]), un = Ee(["accent-height", "accumulate", "additive", "alignment-baseline", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), ws = Ee(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), kt = Ee(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Br = ke(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Hr = ke(/<%[\w\W]*|[\w\W]*%>/gm), $r = ke(/\${[\w\W]*}/gm), Ur = ke(/^data-[\-\w.\u00B7-\uFFFF]/), zr = ke(/^aria-[\-\w]+$/), Oa = ke(
|
|
438
438
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
439
439
|
// eslint-disable-line no-useless-escape
|
|
440
440
|
), Fr = ke(/^(?:\w+script|data):/i), Wr = ke(
|
|
@@ -500,7 +500,7 @@ function Ta() {
|
|
|
500
500
|
}
|
|
501
501
|
let y, A = "";
|
|
502
502
|
const {
|
|
503
|
-
implementation:
|
|
503
|
+
implementation: M,
|
|
504
504
|
createNodeIterator: L,
|
|
505
505
|
createDocumentFragment: I,
|
|
506
506
|
getElementsByTagName: D
|
|
@@ -508,12 +508,12 @@ function Ta() {
|
|
|
508
508
|
importNode: j
|
|
509
509
|
} = n;
|
|
510
510
|
let k = {};
|
|
511
|
-
e.isSupported = typeof ba == "function" && typeof T == "function" &&
|
|
511
|
+
e.isSupported = typeof ba == "function" && typeof T == "function" && M && M.createHTMLDocument !== void 0;
|
|
512
512
|
const {
|
|
513
513
|
MUSTACHE_EXPR: C,
|
|
514
514
|
ERB_EXPR: V,
|
|
515
515
|
TMPLIT_EXPR: z,
|
|
516
|
-
DATA_ATTR:
|
|
516
|
+
DATA_ATTR: w,
|
|
517
517
|
ARIA_ATTR: Q,
|
|
518
518
|
IS_SCRIPT_OR_DATA: me,
|
|
519
519
|
ATTR_WHITESPACE: K
|
|
@@ -523,7 +523,7 @@ function Ta() {
|
|
|
523
523
|
} = Cs, Z = null;
|
|
524
524
|
const ut = Y({}, [...Ls, ...cn, ...dn, ...hn, ...As]);
|
|
525
525
|
let le = null;
|
|
526
|
-
const Ye = Y({}, [...
|
|
526
|
+
const Ye = Y({}, [...Ms, ...un, ...ws, ...kt]);
|
|
527
527
|
let se = Object.seal(Sa(null, {
|
|
528
528
|
tagNameCheck: {
|
|
529
529
|
writable: !0,
|
|
@@ -576,7 +576,7 @@ function Ta() {
|
|
|
576
576
|
// eslint-disable-line indent
|
|
577
577
|
he
|
|
578
578
|
// eslint-disable-line indent
|
|
579
|
-
) : qn, Je = "FORBID_CONTENTS" in b ? Y({}, b.FORBID_CONTENTS, he) : Zn, Ie = "FORBID_TAGS" in b ? Y({}, b.FORBID_TAGS, he) : {}, qe = "FORBID_ATTR" in b ? Y({}, b.FORBID_ATTR, he) : {}, Ke = "USE_PROFILES" in b ? b.USE_PROFILES : !1, U = b.ALLOW_ARIA_ATTR !== !1, J = b.ALLOW_DATA_ATTR !== !1, ae = b.ALLOW_UNKNOWN_PROTOCOLS || !1, re = b.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ce = b.SAFE_FOR_TEMPLATES || !1, Te = b.WHOLE_DOCUMENT || !1, P = b.RETURN_DOM || !1, Le = b.RETURN_DOM_FRAGMENT || !1, Tt = b.RETURN_TRUSTED_TYPE || !1, N = b.FORCE_BODY || !1, jn = b.SANITIZE_DOM !== !1, Xn = b.SANITIZE_NAMED_PROPS || !1, Xt = b.KEEP_CONTENT !== !1, pt = b.IN_PLACE || !1, H = b.ALLOWED_URI_REGEXP || Oa, Qe = b.NAMESPACE || Ne, se = b.CUSTOM_ELEMENT_HANDLING || {}, b.CUSTOM_ELEMENT_HANDLING && Jn(b.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (se.tagNameCheck = b.CUSTOM_ELEMENT_HANDLING.tagNameCheck), b.CUSTOM_ELEMENT_HANDLING && Jn(b.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (se.attributeNameCheck = b.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), b.CUSTOM_ELEMENT_HANDLING && typeof b.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (se.allowCustomizedBuiltInElements = b.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), ce && (J = !1), Le && (P = !0), Ke && (Z = Y({}, As), le = [], Ke.html === !0 && (Y(Z, Ls), Y(le,
|
|
579
|
+
) : qn, Je = "FORBID_CONTENTS" in b ? Y({}, b.FORBID_CONTENTS, he) : Zn, Ie = "FORBID_TAGS" in b ? Y({}, b.FORBID_TAGS, he) : {}, qe = "FORBID_ATTR" in b ? Y({}, b.FORBID_ATTR, he) : {}, Ke = "USE_PROFILES" in b ? b.USE_PROFILES : !1, U = b.ALLOW_ARIA_ATTR !== !1, J = b.ALLOW_DATA_ATTR !== !1, ae = b.ALLOW_UNKNOWN_PROTOCOLS || !1, re = b.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ce = b.SAFE_FOR_TEMPLATES || !1, Te = b.WHOLE_DOCUMENT || !1, P = b.RETURN_DOM || !1, Le = b.RETURN_DOM_FRAGMENT || !1, Tt = b.RETURN_TRUSTED_TYPE || !1, N = b.FORCE_BODY || !1, jn = b.SANITIZE_DOM !== !1, Xn = b.SANITIZE_NAMED_PROPS || !1, Xt = b.KEEP_CONTENT !== !1, pt = b.IN_PLACE || !1, H = b.ALLOWED_URI_REGEXP || Oa, Qe = b.NAMESPACE || Ne, se = b.CUSTOM_ELEMENT_HANDLING || {}, b.CUSTOM_ELEMENT_HANDLING && Jn(b.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (se.tagNameCheck = b.CUSTOM_ELEMENT_HANDLING.tagNameCheck), b.CUSTOM_ELEMENT_HANDLING && Jn(b.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (se.attributeNameCheck = b.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), b.CUSTOM_ELEMENT_HANDLING && typeof b.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (se.allowCustomizedBuiltInElements = b.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), ce && (J = !1), Le && (P = !0), Ke && (Z = Y({}, As), le = [], Ke.html === !0 && (Y(Z, Ls), Y(le, Ms)), Ke.svg === !0 && (Y(Z, cn), Y(le, un), Y(le, kt)), Ke.svgFilters === !0 && (Y(Z, dn), Y(le, un), Y(le, kt)), Ke.mathMl === !0 && (Y(Z, hn), Y(le, ws), Y(le, kt))), b.ADD_TAGS && (Z === ut && (Z = Xe(Z)), Y(Z, b.ADD_TAGS, he)), b.ADD_ATTR && (le === Ye && (le = Xe(le)), Y(le, b.ADD_ATTR, he)), b.ADD_URI_SAFE_ATTR && Y(Zt, b.ADD_URI_SAFE_ATTR, he), b.FORBID_CONTENTS && (Je === Zn && (Je = Xe(Je)), Y(Je, b.FORBID_CONTENTS, he)), Xt && (Z["#text"] = !0), Te && Y(Z, ["html", "head", "body"]), Z.table && (Y(Z, ["tbody"]), delete Ie.tbody), b.TRUSTED_TYPES_POLICY) {
|
|
580
580
|
if (typeof b.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
581
581
|
throw Et('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
582
582
|
if (typeof b.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -642,7 +642,7 @@ function Ta() {
|
|
|
642
642
|
} catch {
|
|
643
643
|
}
|
|
644
644
|
if (!R || !R.documentElement) {
|
|
645
|
-
R =
|
|
645
|
+
R = M.createDocument(Qe, "template", null);
|
|
646
646
|
try {
|
|
647
647
|
R.documentElement.innerHTML = Yt ? A : ee;
|
|
648
648
|
} catch {
|
|
@@ -697,7 +697,7 @@ function Ta() {
|
|
|
697
697
|
}, os = function(b, R, B) {
|
|
698
698
|
if (jn && (R === "id" || R === "name") && (B in t || B in Da))
|
|
699
699
|
return !1;
|
|
700
|
-
if (!(J && !qe[R] && Oe(
|
|
700
|
+
if (!(J && !qe[R] && Oe(w, R))) {
|
|
701
701
|
if (!(U && Oe(Q, R))) {
|
|
702
702
|
if (!le[R] || qe[R]) {
|
|
703
703
|
if (
|
|
@@ -1235,19 +1235,19 @@ const zt = class zt extends q {
|
|
|
1235
1235
|
}
|
|
1236
1236
|
render(e = !0) {
|
|
1237
1237
|
const t = this.parent, { width: n, height: s } = S.getHTMLElementSize(t.node()), a = this.configs.direction === tt.ROW || this.configs.direction === tt.ROW_REVERSE, i = v(this.model.getOptions(), "style", "prefix"), r = t.classed(
|
|
1238
|
-
`${
|
|
1238
|
+
`${we}--${i}--layout-row`,
|
|
1239
1239
|
this.configs.direction === tt.ROW
|
|
1240
1240
|
).classed(
|
|
1241
|
-
`${
|
|
1241
|
+
`${we}--${i}--layout-row-reverse`,
|
|
1242
1242
|
this.configs.direction === tt.ROW_REVERSE
|
|
1243
1243
|
).classed(
|
|
1244
|
-
`${
|
|
1244
|
+
`${we}--${i}--layout-column`,
|
|
1245
1245
|
this.configs.direction === tt.COLUMN
|
|
1246
1246
|
).classed(
|
|
1247
|
-
`${
|
|
1247
|
+
`${we}--${i}--layout-column-reverse`,
|
|
1248
1248
|
this.configs.direction === tt.COLUMN_REVERSE
|
|
1249
1249
|
).classed(
|
|
1250
|
-
`${
|
|
1250
|
+
`${we}--${i}--layout-alignitems-center`,
|
|
1251
1251
|
this.configs.alignItems === xi.CENTER
|
|
1252
1252
|
).selectAll(`div.layout-child-${this._instanceID}`).data(this.children, (d) => d.id);
|
|
1253
1253
|
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) {
|
|
@@ -1700,12 +1700,12 @@ function Ns(o, e) {
|
|
|
1700
1700
|
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(o, n.key, n);
|
|
1701
1701
|
}
|
|
1702
1702
|
}
|
|
1703
|
-
function
|
|
1703
|
+
function Mo(o, e, t) {
|
|
1704
1704
|
return e && Ns(o.prototype, e), t && Ns(o, t), Object.defineProperty(o, "prototype", {
|
|
1705
1705
|
writable: !1
|
|
1706
1706
|
}), o;
|
|
1707
1707
|
}
|
|
1708
|
-
function
|
|
1708
|
+
function wo(o, e) {
|
|
1709
1709
|
if (typeof e != "function" && e !== null)
|
|
1710
1710
|
throw new TypeError("Super expression must either be null or a function");
|
|
1711
1711
|
o.prototype = Object.create(e && e.prototype, {
|
|
@@ -1716,12 +1716,12 @@ function Mo(o, e) {
|
|
|
1716
1716
|
}
|
|
1717
1717
|
}), Object.defineProperty(o, "prototype", {
|
|
1718
1718
|
writable: !1
|
|
1719
|
-
}), e &&
|
|
1719
|
+
}), e && Mn(o, e);
|
|
1720
1720
|
}
|
|
1721
|
-
function
|
|
1722
|
-
return
|
|
1721
|
+
function Mn(o, e) {
|
|
1722
|
+
return Mn = Object.setPrototypeOf || function(n, s) {
|
|
1723
1723
|
return n.__proto__ = s, n;
|
|
1724
|
-
},
|
|
1724
|
+
}, Mn(o, e);
|
|
1725
1725
|
}
|
|
1726
1726
|
function Co(o) {
|
|
1727
1727
|
var e = Ro();
|
|
@@ -1766,12 +1766,12 @@ function Gt(o) {
|
|
|
1766
1766
|
}
|
|
1767
1767
|
function ko(o) {
|
|
1768
1768
|
var e = /* @__PURE__ */ function(t) {
|
|
1769
|
-
|
|
1769
|
+
wo(s, t);
|
|
1770
1770
|
var n = Co(s);
|
|
1771
1771
|
function s() {
|
|
1772
1772
|
return Ao(this, s), n.apply(this, arguments);
|
|
1773
1773
|
}
|
|
1774
|
-
return
|
|
1774
|
+
return Mo(s, [{
|
|
1775
1775
|
key: "_changeState",
|
|
1776
1776
|
value: (
|
|
1777
1777
|
/* eslint-disable jsdoc/check-param-names */
|
|
@@ -1848,7 +1848,7 @@ function ko(o) {
|
|
|
1848
1848
|
}(o);
|
|
1849
1849
|
return e;
|
|
1850
1850
|
}
|
|
1851
|
-
function
|
|
1851
|
+
function wn(o, e) {
|
|
1852
1852
|
var t = o.target, n = o.currentTarget;
|
|
1853
1853
|
if (typeof t.matches == "function") {
|
|
1854
1854
|
if (t.matches(e))
|
|
@@ -1998,9 +1998,9 @@ const zo = Uo;
|
|
|
1998
1998
|
function Fo(o) {
|
|
1999
1999
|
return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
|
|
2000
2000
|
}
|
|
2001
|
-
var
|
|
2001
|
+
var Ma = function() {
|
|
2002
2002
|
};
|
|
2003
|
-
process.env.NODE_ENV !== "production" && (
|
|
2003
|
+
process.env.NODE_ENV !== "production" && (Ma = function(o, e, t) {
|
|
2004
2004
|
var n = arguments.length;
|
|
2005
2005
|
t = new Array(n > 2 ? n - 2 : 0);
|
|
2006
2006
|
for (var s = 2; s < n; s++)
|
|
@@ -2024,7 +2024,7 @@ process.env.NODE_ENV !== "production" && (wa = function(o, e, t) {
|
|
|
2024
2024
|
}
|
|
2025
2025
|
}
|
|
2026
2026
|
});
|
|
2027
|
-
var Wo =
|
|
2027
|
+
var Wo = Ma;
|
|
2028
2028
|
const jo = /* @__PURE__ */ Fo(Wo);
|
|
2029
2029
|
function In(o) {
|
|
2030
2030
|
"@babel/helpers - typeof";
|
|
@@ -2142,7 +2142,7 @@ function el(o) {
|
|
|
2142
2142
|
else {
|
|
2143
2143
|
var d = c.initEventNames.map(function(p) {
|
|
2144
2144
|
return St(r, p, function(h) {
|
|
2145
|
-
var u =
|
|
2145
|
+
var u = wn(h, "[".concat(c.attribInitTarget, "]"));
|
|
2146
2146
|
if (u) {
|
|
2147
2147
|
h.delegateTarget = u;
|
|
2148
2148
|
var g = u.ownerDocument.querySelectorAll(u.getAttribute(c.attribInitTarget));
|
|
@@ -2260,7 +2260,7 @@ var ll = /* @__PURE__ */ function(o) {
|
|
|
2260
2260
|
return tl(this, t), a = e.call(this, n, s), a._handleFocusinListener = void 0, a._handleKeydownListener = void 0, a._handleFocusin = function(i) {
|
|
2261
2261
|
var r = a.element.querySelector(a.options.selectorModalContainer) || a.element;
|
|
2262
2262
|
a.element.classList.contains(a.options.classVisible) && !r.contains(i.target) && a.options.selectorsFloatingMenus.every(function(l) {
|
|
2263
|
-
return !
|
|
2263
|
+
return !wn(i, l);
|
|
2264
2264
|
}) && a.element.querySelector(pn.selectorTabbable).focus();
|
|
2265
2265
|
}, a._hookCloseActions(), a;
|
|
2266
2266
|
}
|
|
@@ -2314,7 +2314,7 @@ var ll = /* @__PURE__ */ function(o) {
|
|
|
2314
2314
|
value: function() {
|
|
2315
2315
|
var s = this;
|
|
2316
2316
|
this.manage(St(this.element, "click", function(a) {
|
|
2317
|
-
var i =
|
|
2317
|
+
var i = wn(a, s.options.selectorModalClose);
|
|
2318
2318
|
i && (a.delegateTarget = i), (i || a.target === s.element) && s.hide(a);
|
|
2319
2319
|
})), this._handleKeydownListener && (this._handleKeydownListener = this.unmanage(this._handleKeydownListener).release()), this._handleKeydownListener = this.manage(St(this.element.ownerDocument.body, "keydown", function(a) {
|
|
2320
2320
|
a.which === 27 && s.shouldStateBeChanged("hidden") && (a.stopPropagation(), s.hide(a));
|
|
@@ -2439,7 +2439,7 @@ class hh extends q {
|
|
|
2439
2439
|
</div>
|
|
2440
2440
|
|
|
2441
2441
|
<div class="cds--modal-footer cds--modal-footer">
|
|
2442
|
-
<div class="${
|
|
2442
|
+
<div class="${we}--${a}-modal-footer-spacer"></div>
|
|
2443
2443
|
<button class="cds--btn cds--btn--primary cds--btn cds--btn--primary" type="button" data-modal-primary-focus>${s}</button>
|
|
2444
2444
|
</div>
|
|
2445
2445
|
</div>`;
|
|
@@ -2451,7 +2451,7 @@ class hh extends q {
|
|
|
2451
2451
|
const t = this.model.getOptions();
|
|
2452
2452
|
if (!this.isEventListenerAdded) {
|
|
2453
2453
|
const n = x(this.services.domUtils.getHolder()), s = v(t, "style", "prefix");
|
|
2454
|
-
this.modal = S.appendOrSelect(n, `div.${
|
|
2454
|
+
this.modal = S.appendOrSelect(n, `div.${we}--${s}--modal`), this.addEventListeners(), this.isEventListenerAdded = !0;
|
|
2455
2455
|
}
|
|
2456
2456
|
}
|
|
2457
2457
|
destroy() {
|
|
@@ -2581,10 +2581,10 @@ class hl extends q {
|
|
|
2581
2581
|
)
|
|
2582
2582
|
);
|
|
2583
2583
|
A.selectAll("*").remove();
|
|
2584
|
-
let
|
|
2584
|
+
let M, L = 1;
|
|
2585
2585
|
A.append("svg").classed("icon", !0).each(function(I) {
|
|
2586
2586
|
const D = x(this);
|
|
2587
|
-
!
|
|
2587
|
+
!M || M != I.type ? (M = I.type, L = 1) : L++, T.addAdditionalItem(D, I, L);
|
|
2588
2588
|
}), A.append("p").merge(A.select("p")), this.truncateLegendText();
|
|
2589
2589
|
}
|
|
2590
2590
|
p.exit().on("mouseover", null).on("click", null).on("mouseout", null).remove(), u && h.size() > 1 && this.addEventListeners();
|
|
@@ -2938,7 +2938,7 @@ class pl extends q {
|
|
|
2938
2938
|
const t = this.getOptions(), n = v(t, "tooltip", "enabled");
|
|
2939
2939
|
if (n) {
|
|
2940
2940
|
const s = x(this.services.domUtils.getHolder()), a = v(t, "style", "prefix");
|
|
2941
|
-
this.tooltip = S.appendOrSelect(s, `div.${
|
|
2941
|
+
this.tooltip = S.appendOrSelect(s, `div.${we}--${a}--tooltip`), this.tooltip.style("max-width", null).attr("role", "tooltip"), this.isEventListenerAdded || (this.addTooltipEventListener(), this.isEventListenerAdded = !0), this.tooltip.classed("hidden", !0);
|
|
2942
2942
|
} else
|
|
2943
2943
|
!n && this.isEventListenerAdded && (this.removeTooltipEventListener(), this.isEventListenerAdded = !1);
|
|
2944
2944
|
}
|
|
@@ -2948,8 +2948,8 @@ class pl extends q {
|
|
|
2948
2948
|
if (!i)
|
|
2949
2949
|
i = Ft(v(e, "detail", "event"), t);
|
|
2950
2950
|
else {
|
|
2951
|
-
const h = v(s, "zoomBar", "top", "type"), u =
|
|
2952
|
-
a && (i[1] += u +
|
|
2951
|
+
const h = v(s, "zoomBar", "top", "type"), u = Me.height[h];
|
|
2952
|
+
a && (i[1] += u + Me.spacerHeight);
|
|
2953
2953
|
}
|
|
2954
2954
|
const r = t.offsetWidth, l = t.offsetHeight;
|
|
2955
2955
|
let c;
|
|
@@ -3005,24 +3005,24 @@ const ct = class ct extends q {
|
|
|
3005
3005
|
if (p && d === ue.TIME) {
|
|
3006
3006
|
let g = this.model.get("zoomDomain");
|
|
3007
3007
|
g === void 0 && (g = this.services.zoom.getDefaultZoomBarDomain(), g && this.model.set({ zoomDomain: g }, { animate: !1 }));
|
|
3008
|
-
const m = (
|
|
3009
|
-
const L =
|
|
3008
|
+
const m = (M) => {
|
|
3009
|
+
const L = M[1] - M[0];
|
|
3010
3010
|
let I = "0," + L.toString();
|
|
3011
3011
|
const D = Math.floor(l / ct.DASH_LENGTH), j = D * ct.DASH_LENGTH;
|
|
3012
3012
|
for (let k = 0; k < D; k++)
|
|
3013
3013
|
I += "," + ct.DASH_LENGTH;
|
|
3014
3014
|
I += "," + (l - j), D % 2 === 1 && (I += ",0"), I += "," + L.toString(), I += "," + l.toString(), u.attr("stroke-dasharray", I);
|
|
3015
|
-
}, E = (
|
|
3016
|
-
const L =
|
|
3015
|
+
}, E = (M) => {
|
|
3016
|
+
const L = M.selection;
|
|
3017
3017
|
L === null || L[0] === L[1] || (u.attr("x", parseFloat(i.attr("x")) + parseFloat(s.attr("x"))).attr("y", i.attr("y")).attr("width", i.attr("width")).attr("height", i.attr("height")).style("cursor", "pointer").style("display", null), m(L));
|
|
3018
|
-
}, O = (
|
|
3018
|
+
}, O = (M, L) => {
|
|
3019
3019
|
const I = Ja().range([0, r]).domain(g);
|
|
3020
|
-
let D = [I.invert(
|
|
3020
|
+
let D = [I.invert(M), I.invert(L)];
|
|
3021
3021
|
D[0].valueOf() === D[1].valueOf() && (D = this.services.zoom.getDefaultZoomBarDomain()), (g[0].valueOf() !== D[0].valueOf() || g[1].valueOf() !== D[1].valueOf()) && this.services.zoom.handleDomainChange(D);
|
|
3022
3022
|
};
|
|
3023
3023
|
let T;
|
|
3024
|
-
const y = (
|
|
3025
|
-
const L =
|
|
3024
|
+
const y = (M) => {
|
|
3025
|
+
const L = M.selection;
|
|
3026
3026
|
L !== null && (O(L[0], L[1]), a.call(T.move, null), u.style("display", "none"));
|
|
3027
3027
|
};
|
|
3028
3028
|
l != 0 && r != 0 && (T = Qs().extent([
|
|
@@ -3030,8 +3030,8 @@ const ct = class ct extends q {
|
|
|
3030
3030
|
[r - 1, l]
|
|
3031
3031
|
]).on("start brush end", E).on("end.brushed", y), a.call(T));
|
|
3032
3032
|
const A = this.services.zoom.getZoomRatio();
|
|
3033
|
-
s.on("click", function(
|
|
3034
|
-
if (
|
|
3033
|
+
s.on("click", function(M) {
|
|
3034
|
+
if (M.shiftKey) {
|
|
3035
3035
|
const L = this.services.domUtils.getHolder(), I = Ft(a.node(), L)[0];
|
|
3036
3036
|
let D = I - r * A / 2;
|
|
3037
3037
|
D < 0 && (D = 0);
|
|
@@ -3057,7 +3057,7 @@ class ph extends q {
|
|
|
3057
3057
|
// @ts-ignore
|
|
3058
3058
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
3059
3059
|
render(e = !0) {
|
|
3060
|
-
const t = this.getComponentContainer(), n = this.services.zoom.isZoomBarLoading(G.TOP), s = this.services.zoom.isZoomBarLocked(G.TOP), a = v(this.getOptions(), "zoomBar", G.TOP, "type"), i = v(this.getOptions(), "axes", G.BOTTOM, "highlights"), r =
|
|
3060
|
+
const t = this.getComponentContainer(), n = this.services.zoom.isZoomBarLoading(G.TOP), s = this.services.zoom.isZoomBarLocked(G.TOP), a = v(this.getOptions(), "zoomBar", G.TOP, "type"), i = v(this.getOptions(), "axes", G.BOTTOM, "highlights"), r = Me.height[a], { width: l } = S.getSVGElementSize(this.parent, {
|
|
3061
3061
|
useAttrs: !0
|
|
3062
3062
|
});
|
|
3063
3063
|
if (l === 0)
|
|
@@ -3066,7 +3066,7 @@ class ph extends q {
|
|
|
3066
3066
|
const d = this.model.get("axesMargins");
|
|
3067
3067
|
d && d.left && (c = d.left);
|
|
3068
3068
|
const p = S.appendOrSelect(t, "svg.zoom-container").attr("width", "100%").attr("height", r).attr("opacity", 1);
|
|
3069
|
-
if (S.appendOrSelect(t, "rect.zoom-spacer").attr("x", 0).attr("y", r).attr("width", "100%").attr("height",
|
|
3069
|
+
if (S.appendOrSelect(t, "rect.zoom-spacer").attr("x", 0).attr("y", r).attr("width", "100%").attr("height", Me.spacerHeight).attr("opacity", 1).attr("fill", "none"), a === nt.GRAPH_VIEW ? S.appendOrSelect(p, "rect.zoom-bg").attr("x", c).attr("y", 0).attr("width", l - c).attr("height", "100%").classed("zoom-bg-skeleton", n).style(
|
|
3070
3070
|
"stroke",
|
|
3071
3071
|
n ? `url(#${this.services.domUtils.generateElementIDString("shimmer-lines")})` : null
|
|
3072
3072
|
) : a === nt.SLIDER_VIEW && S.appendOrSelect(p, "rect.zoom-slider-bg").attr("x", c).attr("y", r / 2 - 1).attr("width", l - c).attr("height", 2).classed("zoom-slider-bg-skeleton", n).style(
|
|
@@ -3121,22 +3121,22 @@ class ph extends q {
|
|
|
3121
3121
|
});
|
|
3122
3122
|
}
|
|
3123
3123
|
this.addBrushEventListener(A, c, l);
|
|
3124
|
-
const
|
|
3124
|
+
const M = S.appendOrSelect(t, this.brushSelector).call(this.brush);
|
|
3125
3125
|
if (A !== void 0)
|
|
3126
3126
|
if (A[0].valueOf() === A[1].valueOf())
|
|
3127
|
-
|
|
3127
|
+
M.call(this.brush.move, this.xScale.range()), this.updateBrushHandle(this.getComponentContainer(), this.xScale.range());
|
|
3128
3128
|
else {
|
|
3129
3129
|
const L = A.map((I) => this.xScale(I));
|
|
3130
|
-
L[1] - L[0] < this.MIN_SELECTION_DIFF || (
|
|
3130
|
+
L[1] - L[0] < this.MIN_SELECTION_DIFF || (M.call(this.brush.move, L), this.updateBrushHandle(this.getComponentContainer(), L));
|
|
3131
3131
|
}
|
|
3132
|
-
s && (this.brush.filter(() => !1),
|
|
3132
|
+
s && (this.brush.filter(() => !1), M.selectAll("rect").attr("cursor", "auto"));
|
|
3133
3133
|
}
|
|
3134
3134
|
}
|
|
3135
3135
|
addBrushEventListener(e, t, n) {
|
|
3136
3136
|
const s = (r) => {
|
|
3137
3137
|
const l = r.selection;
|
|
3138
3138
|
l === null ? this.handleBrushedEvent(r, e, this.xScale, this.xScale.range()) : l[0] === l[1] || this.handleBrushedEvent(r, e, this.xScale, l);
|
|
3139
|
-
}, a = v(this.getOptions(), "zoomBar", G.TOP, "type"), i =
|
|
3139
|
+
}, a = v(this.getOptions(), "zoomBar", G.TOP, "type"), i = Me.height[a];
|
|
3140
3140
|
this.brush.extent([
|
|
3141
3141
|
[t, 0],
|
|
3142
3142
|
[n, i]
|
|
@@ -3159,7 +3159,7 @@ class ph extends q {
|
|
|
3159
3159
|
}
|
|
3160
3160
|
}
|
|
3161
3161
|
updateBrushHandle(e, t) {
|
|
3162
|
-
const n = this, s =
|
|
3162
|
+
const n = this, s = Me.handleWidth, a = v(this.getOptions(), "zoomBar", G.TOP, "type"), i = Me.height[a], r = -s / 2, l = Me.handleBarWidth, c = a === nt.GRAPH_VIEW ? Me.handleBarHeight : 6, d = -l / 2, p = (i - c) / 2;
|
|
3163
3163
|
e.select(this.brushSelector).selectAll("rect.handle").data([{ type: "w" }, { type: "e" }]).attr("x", function(u) {
|
|
3164
3164
|
if (u.type === "w")
|
|
3165
3165
|
return Math.max(t[0] + r, n.maxSelectionRange[0]);
|
|
@@ -3190,11 +3190,11 @@ class ph extends q {
|
|
|
3190
3190
|
);
|
|
3191
3191
|
}
|
|
3192
3192
|
updateSliderSelectedArea(e) {
|
|
3193
|
-
const t = v(this.getOptions(), "zoomBar", G.TOP, "type"), n =
|
|
3193
|
+
const t = v(this.getOptions(), "zoomBar", G.TOP, "type"), n = Me.height[t], a = this.getComponentContainer().select("svg.zoom-container");
|
|
3194
3194
|
S.appendOrSelect(a, "rect.zoom-slider-selected-area").attr("x", e[0]).attr("y", n / 2 - 1).attr("width", e[1] - e[0]).attr("height", 2);
|
|
3195
3195
|
}
|
|
3196
3196
|
renderZoomBarArea(e, t, n, s) {
|
|
3197
|
-
const { cartesianScales: a } = this.services, i = a.getMainXAxisPosition(), r = a.getMainYAxisPosition(), l = a.getMainXScaleType(), c = a.getMainYScaleType(), d = (O, T, y) => (A) => a.getValueFromScale(O, T, y, A), p = d(this.xScale, l, i), h = d(this.yScale, c, r), u = v(this.getOptions(), "zoomBar", G.TOP, "type"), g =
|
|
3197
|
+
const { cartesianScales: a } = this.services, i = a.getMainXAxisPosition(), r = a.getMainYAxisPosition(), l = a.getMainXScaleType(), c = a.getMainYScaleType(), d = (O, T, y) => (A) => a.getValueFromScale(O, T, y, A), p = d(this.xScale, l, i), h = d(this.yScale, c, r), u = v(this.getOptions(), "zoomBar", G.TOP, "type"), g = Me.height[u], m = Nn().x((O) => p(O)).y0(g).y1((O) => g - h(O)), E = S.appendOrSelect(e, t).datum(n).attr("d", m);
|
|
3198
3198
|
s && E.attr("clip-path", `url(#${s})`);
|
|
3199
3199
|
}
|
|
3200
3200
|
updateClipPath(e, t, n, s, a, i) {
|
|
@@ -3222,7 +3222,7 @@ class ph extends q {
|
|
|
3222
3222
|
"zoomBar",
|
|
3223
3223
|
G.TOP,
|
|
3224
3224
|
"type"
|
|
3225
|
-
), i =
|
|
3225
|
+
), i = Me.height[a], r = Pn()([
|
|
3226
3226
|
[t, i],
|
|
3227
3227
|
[n, i]
|
|
3228
3228
|
]);
|
|
@@ -3272,7 +3272,7 @@ class gh extends q {
|
|
|
3272
3272
|
), g = p.services.cartesianScales.getScaleTypeByPosition(h);
|
|
3273
3273
|
let m = null, E = null;
|
|
3274
3274
|
h === G.LEFT || h === G.RIGHT ? (E = u, m = p.services.cartesianScales.getMainXScale()) : (m = u, E = p.services.cartesianScales.getMainYScale());
|
|
3275
|
-
const O = g === ue.LABELS, [T, y] = m.range(), [A,
|
|
3275
|
+
const O = g === ue.LABELS, [T, y] = m.range(), [A, M] = E.range(), { cartesianScales: L } = p.services, I = L.getOrientation(), D = (z) => L.getDomainValue(z), j = (z) => L.getRangeValue(z), [k, C] = He(
|
|
3276
3276
|
D,
|
|
3277
3277
|
j,
|
|
3278
3278
|
I
|
|
@@ -3283,13 +3283,13 @@ class gh extends q {
|
|
|
3283
3283
|
name: "threshold-line-update",
|
|
3284
3284
|
animate: e
|
|
3285
3285
|
})
|
|
3286
|
-
).attr("y1",
|
|
3286
|
+
).attr("y1", M).attr("y2", A).attr(
|
|
3287
3287
|
"x1",
|
|
3288
3288
|
({ datum: z }) => k(z) + (O ? u.step() / 2 : 0)
|
|
3289
3289
|
).attr(
|
|
3290
3290
|
"x2",
|
|
3291
3291
|
({ datum: z }) => k(z) + (O ? u.step() / 2 : 0)
|
|
3292
|
-
).style("stroke", ({ fillColor: z }) => z), V.selectAll("rect.threshold-hoverable-area").attr("x", 0).attr("y", ({ datum: z }) => -k(z)).attr("width", Math.abs(A -
|
|
3292
|
+
).style("stroke", ({ fillColor: z }) => z), V.selectAll("rect.threshold-hoverable-area").attr("x", 0).attr("y", ({ datum: z }) => -k(z)).attr("width", Math.abs(A - M)).classed("rotate", !0)) : (V.selectAll("line.threshold-line").transition().call(
|
|
3293
3293
|
(z) => p.services.transitions.setupTransition({
|
|
3294
3294
|
transition: z,
|
|
3295
3295
|
name: "threshold-line-update",
|
|
@@ -3323,7 +3323,7 @@ class gh extends q {
|
|
|
3323
3323
|
const e = x(this.services.domUtils.getHolder()), t = v(this.getOptions(), "style", "prefix");
|
|
3324
3324
|
this.label = S.appendOrSelect(
|
|
3325
3325
|
e,
|
|
3326
|
-
`div.${
|
|
3326
|
+
`div.${we}--${t}--threshold--label`
|
|
3327
3327
|
).classed("hidden", !0);
|
|
3328
3328
|
}
|
|
3329
3329
|
setThresholdLabelPosition({ event: e, datum: t }) {
|
|
@@ -3407,8 +3407,8 @@ class mh extends q {
|
|
|
3407
3407
|
c.append("rect").attr("class", "highlight-bar"), c.append("line").attr("class", "highlight-line"), c.merge(l).attr("class", "highlight-group");
|
|
3408
3408
|
const p = this;
|
|
3409
3409
|
r.each(function({ axisPosition: h }) {
|
|
3410
|
-
const u = p.services.cartesianScales.getMainXScale(), g = p.services.cartesianScales.getMainYScale(), [m, E] = u.range(), [O, T] = g.range(), { cartesianScales: y } = p.services, A = y.getOrientation(),
|
|
3411
|
-
|
|
3410
|
+
const u = p.services.cartesianScales.getMainXScale(), g = p.services.cartesianScales.getMainYScale(), [m, E] = u.range(), [O, T] = g.range(), { cartesianScales: y } = p.services, A = y.getOrientation(), M = (k) => y.getDomainValue(k), L = (k) => y.getRangeValue(k), [I, D] = He(
|
|
3411
|
+
M,
|
|
3412
3412
|
L,
|
|
3413
3413
|
A
|
|
3414
3414
|
), j = x(this);
|
|
@@ -3545,7 +3545,7 @@ class vh extends q {
|
|
|
3545
3545
|
let l = Re.minNodePadding;
|
|
3546
3546
|
a.alluvial.nodePadding > Re.minNodePadding && (l = a.alluvial.nodePadding);
|
|
3547
3547
|
const c = v(a, "alluvial", "nodeAlignment");
|
|
3548
|
-
let d =
|
|
3548
|
+
let d = wi;
|
|
3549
3549
|
c === Ce.LEFT ? d = Ci : c === Ce.RIGHT && (d = _i);
|
|
3550
3550
|
const p = Ai().nodeId((y) => y.name).nodeWidth(Re.nodeWidth).nodePadding(l).nodeAlign(d).extent([
|
|
3551
3551
|
[2, 30],
|
|
@@ -3563,9 +3563,9 @@ class vh extends q {
|
|
|
3563
3563
|
"id",
|
|
3564
3564
|
(y, A) => this.services.domUtils.generateElementIDString(`alluvial-category-${A}`)
|
|
3565
3565
|
).style("font-size", "14px").text((y) => h[y] ? h[y] : "").attr("y", 20).attr("x", (y, A) => {
|
|
3566
|
-
const
|
|
3566
|
+
const M = this.services.domUtils.generateElementIDString(
|
|
3567
3567
|
`alluvial-category-${A}`
|
|
3568
|
-
), { width: L } = S.getSVGElementSize(x(`text#${
|
|
3568
|
+
), { width: L } = S.getSVGElementSize(x(`text#${M}`), {
|
|
3569
3569
|
useBBox: !0
|
|
3570
3570
|
});
|
|
3571
3571
|
let I = 0;
|
|
@@ -3575,12 +3575,12 @@ class vh extends q {
|
|
|
3575
3575
|
if (g.exit().remove(), r) {
|
|
3576
3576
|
const y = v(this.getOptions(), "color", "scale");
|
|
3577
3577
|
y && g.enter().append("linearGradient").attr("id", (A) => `${this.gradient_id}-link-${A.index}`).attr("gradientUnits", "userSpaceOnUse").call(
|
|
3578
|
-
(A) => A.append("stop").attr("offset", "0%").attr("stop-color", (
|
|
3578
|
+
(A) => A.append("stop").attr("offset", "0%").attr("stop-color", (M) => y[M.source.name])
|
|
3579
3579
|
).call(
|
|
3580
|
-
(A) => A.append("stop").attr("offset", "100%").attr("stop-color", (
|
|
3580
|
+
(A) => A.append("stop").attr("offset", "100%").attr("stop-color", (M) => y[M.target.name])
|
|
3581
3581
|
), g.exit().remove();
|
|
3582
3582
|
}
|
|
3583
|
-
g.enter().append("path").classed("link", !0).attr("d",
|
|
3583
|
+
g.enter().append("path").classed("link", !0).attr("d", Mi()).attr(
|
|
3584
3584
|
"id",
|
|
3585
3585
|
(y) => this.services.domUtils.generateElementIDString(`alluvial-line-${y.index}`)
|
|
3586
3586
|
).attr("class", (y) => a.alluvial.monochrome ? this.model.getColorClassName({
|
|
@@ -3608,16 +3608,16 @@ class vh extends q {
|
|
|
3608
3608
|
"id",
|
|
3609
3609
|
(y) => this.services.domUtils.generateElementIDString(`alluvial-node-text-${y.index}`)
|
|
3610
3610
|
).attr("class", "node-text").style("font-size", "12px").attr("text-anchor", "start").attr("fill", "white").attr("x", 4).attr("dy", 13).text((y) => `${y.name} (${T(y.value, O)})`).attr("aria-label", (y) => `${y.name} (${y.value})`), E.append("rect").classed("node-text-bg", !0).attr("width", (y, A) => {
|
|
3611
|
-
const
|
|
3611
|
+
const M = this.services.domUtils.generateElementIDString(
|
|
3612
3612
|
`alluvial-node-text-${A}`
|
|
3613
|
-
), { width: L } = S.getSVGElementSize(x(`text#${
|
|
3613
|
+
), { width: L } = S.getSVGElementSize(x(`text#${M}`), {
|
|
3614
3614
|
useBBox: !0
|
|
3615
3615
|
});
|
|
3616
3616
|
return L + 8;
|
|
3617
3617
|
}).attr("height", 18).attr("stroke-width", 2).lower(), E.attr("transform", (y, A) => {
|
|
3618
|
-
const
|
|
3618
|
+
const M = this.services.domUtils.generateElementIDString(
|
|
3619
3619
|
`alluvial-node-text-${A}`
|
|
3620
|
-
), { width: L } = S.getSVGElementSize(x(`text#${
|
|
3620
|
+
), { width: L } = S.getSVGElementSize(x(`text#${M}`), {
|
|
3621
3621
|
useBBox: !0
|
|
3622
3622
|
}), I = (y.y1 - y.y0) / 2 - 9;
|
|
3623
3623
|
let D = y.x1 - y.x0;
|
|
@@ -3888,33 +3888,33 @@ class Eh extends q {
|
|
|
3888
3888
|
render(e = !0) {
|
|
3889
3889
|
const t = this.getComponentContainer({ withinChartClip: !0 }), n = this.getOptions();
|
|
3890
3890
|
let s = [0, 0];
|
|
3891
|
-
const { cartesianScales: a } = this.services, i = a.getOrientation(), r = Nn().curve(this.services.curves.getD3Curve()).defined((
|
|
3892
|
-
const L = a.getRangeIdentifier(), I =
|
|
3891
|
+
const { cartesianScales: a } = this.services, i = a.getOrientation(), r = Nn().curve(this.services.curves.getD3Curve()).defined((M) => {
|
|
3892
|
+
const L = a.getRangeIdentifier(), I = M[L];
|
|
3893
3893
|
return I != null;
|
|
3894
3894
|
}), l = this.model.getGroupedData(this.configs.groups), c = v(n, "bounds"), d = c && l && l.length === 1;
|
|
3895
3895
|
!d && c && console.warn(
|
|
3896
3896
|
`Bounds can only be shown when having 1 single datagroup, you've supplied ${l.length}`
|
|
3897
3897
|
);
|
|
3898
3898
|
let p = 0;
|
|
3899
|
-
const h = (
|
|
3900
|
-
v(n, "axes",
|
|
3901
|
-
}, u = (
|
|
3902
|
-
i === xe.VERTICAL ? (s = a.getMainYScale().domain(), h(a.getMainYAxisPosition(), s), r.x((
|
|
3899
|
+
const h = (M, L) => {
|
|
3900
|
+
v(n, "axes", M, "includeZero") === !1 && L[0] > 0 && L[1] > 0 && (p = L[0]);
|
|
3901
|
+
}, u = (M) => d ? a.getBoundedScaledValues(M)[0] : a.getRangeValue(p), g = (M) => d ? a.getBoundedScaledValues(M)[1] : a.getRangeValue(M);
|
|
3902
|
+
i === xe.VERTICAL ? (s = a.getMainYScale().domain(), h(a.getMainYAxisPosition(), s), r.x((M) => a.getDomainValue(M)).y0((M) => u(M)).y1((M) => g(M))) : (s = a.getMainXScale().domain(), h(a.getMainXAxisPosition(), s), r.x0((M) => u(M)).x1((M) => g(M)).y((M) => a.getDomainValue(M)));
|
|
3903
3903
|
const m = v(n, "color", "gradient", "enabled"), E = l && l.length === 1 && m;
|
|
3904
3904
|
l.length > 1 && m && console.error("Gradients can only be enabled when having 1 single dataset");
|
|
3905
|
-
const O = t.selectAll("path.area").data(l, (
|
|
3905
|
+
const O = t.selectAll("path.area").data(l, (M) => M.name), T = x(this.services.domUtils.getMainContainer());
|
|
3906
3906
|
if (O.exit().attr("opacity", 0).remove(), !l.length)
|
|
3907
3907
|
return;
|
|
3908
3908
|
if (E) {
|
|
3909
|
-
const
|
|
3909
|
+
const M = T.select(
|
|
3910
3910
|
`path.${this.model.getColorClassName({
|
|
3911
3911
|
classNameTypes: [F.STROKE],
|
|
3912
3912
|
dataGroupName: l[0].name
|
|
3913
3913
|
})}`
|
|
3914
3914
|
).node();
|
|
3915
3915
|
let L;
|
|
3916
|
-
if (
|
|
3917
|
-
L = getComputedStyle(
|
|
3916
|
+
if (M)
|
|
3917
|
+
L = getComputedStyle(M, null).getPropertyValue(
|
|
3918
3918
|
"stroke"
|
|
3919
3919
|
);
|
|
3920
3920
|
else {
|
|
@@ -3942,36 +3942,36 @@ class Eh extends q {
|
|
|
3942
3942
|
const y = this, A = O.enter().append("path");
|
|
3943
3943
|
E ? A.merge(O).style(
|
|
3944
3944
|
"fill",
|
|
3945
|
-
(
|
|
3946
|
-
`${
|
|
3945
|
+
(M) => `url(#${this.services.domUtils.generateElementIDString(
|
|
3946
|
+
`${M.name.replace(" ", "")}_${this.gradient_id}`
|
|
3947
3947
|
)})`
|
|
3948
3948
|
).attr("class", "area").attr(
|
|
3949
3949
|
"class",
|
|
3950
|
-
(
|
|
3950
|
+
(M) => this.model.getColorClassName({
|
|
3951
3951
|
classNameTypes: [F.FILL],
|
|
3952
|
-
dataGroupName:
|
|
3952
|
+
dataGroupName: M.name,
|
|
3953
3953
|
originalClassName: "area"
|
|
3954
3954
|
})
|
|
3955
|
-
).attr("d", (
|
|
3956
|
-
const { data: L } =
|
|
3955
|
+
).attr("d", (M) => {
|
|
3956
|
+
const { data: L } = M;
|
|
3957
3957
|
return r(L);
|
|
3958
3958
|
}) : (A.attr("opacity", 0).merge(O).attr("class", "area").attr(
|
|
3959
3959
|
"class",
|
|
3960
|
-
(
|
|
3960
|
+
(M) => this.model.getColorClassName({
|
|
3961
3961
|
classNameTypes: [F.FILL, F.STROKE],
|
|
3962
|
-
dataGroupName:
|
|
3962
|
+
dataGroupName: M.name,
|
|
3963
3963
|
originalClassName: "area"
|
|
3964
3964
|
})
|
|
3965
|
-
).style("fill", (
|
|
3966
|
-
(
|
|
3967
|
-
transition:
|
|
3965
|
+
).style("fill", (M) => y.model.getFillColor(M.name)).transition().call(
|
|
3966
|
+
(M) => this.services.transitions.setupTransition({
|
|
3967
|
+
transition: M,
|
|
3968
3968
|
name: "area-update-enter",
|
|
3969
3969
|
animate: e
|
|
3970
3970
|
})
|
|
3971
|
-
).attr("opacity", d ? 1 : Be.opacity.selected).attr("d", (
|
|
3972
|
-
const { data: L } =
|
|
3971
|
+
).attr("opacity", d ? 1 : Be.opacity.selected).attr("d", (M) => {
|
|
3972
|
+
const { data: L } = M;
|
|
3973
3973
|
return r(L);
|
|
3974
|
-
}), d && A.attr("fill-opacity", Be.opacity.selected).style("stroke", (
|
|
3974
|
+
}), d && A.attr("fill-opacity", Be.opacity.selected).style("stroke", (M) => y.model.getStrokeColor(M.name)).style("stroke-dasharray", "2, 2").attr("stroke-width", 0.7 + "px"));
|
|
3975
3975
|
}
|
|
3976
3976
|
destroy() {
|
|
3977
3977
|
const e = this.services.events;
|
|
@@ -4064,7 +4064,7 @@ const zs = 5;
|
|
|
4064
4064
|
function gl(o, e) {
|
|
4065
4065
|
return o > e - zs && o < e + zs;
|
|
4066
4066
|
}
|
|
4067
|
-
class
|
|
4067
|
+
class wa extends q {
|
|
4068
4068
|
constructor() {
|
|
4069
4069
|
super(...arguments), this.type = "ruler", this.renderType = W.SVG, this.isXGridEnabled = v(this.getOptions(), "grid", "x", "enabled"), this.isYGridEnabled = v(this.getOptions(), "grid", "y", "enabled"), this.isEventListenerAdded = !1;
|
|
4070
4070
|
}
|
|
@@ -4102,13 +4102,13 @@ class Ma extends q {
|
|
|
4102
4102
|
}, []);
|
|
4103
4103
|
if (m.length > 0) {
|
|
4104
4104
|
const E = m.map((A) => A.originalData).filter((A) => {
|
|
4105
|
-
const
|
|
4105
|
+
const M = this.services.cartesianScales.getRangeIdentifier(A), L = A[M];
|
|
4106
4106
|
return L != null;
|
|
4107
4107
|
}), O = m.map(
|
|
4108
4108
|
(A) => A.domainValue
|
|
4109
4109
|
), T = u.filter((A) => {
|
|
4110
|
-
const
|
|
4111
|
-
return O.includes(
|
|
4110
|
+
const M = this.services.cartesianScales.getDomainValue(A);
|
|
4111
|
+
return O.includes(M);
|
|
4112
4112
|
});
|
|
4113
4113
|
this.elementsToHighlight && this.elementsToHighlight.size() > 0 && !Ea(this.elementsToHighlight, T) && this.hideRuler(), T.dispatch("mouseover"), this.elementsToHighlight = T, this.services.events.dispatchEvent(f.Tooltip.SHOW, {
|
|
4114
4114
|
mousePosition: [t, n],
|
|
@@ -4448,7 +4448,7 @@ class Ca extends q {
|
|
|
4448
4448
|
g.attr("aria-hidden", !0);
|
|
4449
4449
|
return;
|
|
4450
4450
|
}
|
|
4451
|
-
const A = v(E, "scaleType"),
|
|
4451
|
+
const A = v(E, "scaleType"), M = v(n, "data", "loading"), L = v(E, "ticks", "number"), I = v(E, "ticks", "values"), D = v(E, "truncation", "type"), j = v(E, "truncation", "threshold"), k = v(E, "truncation", "numCharacter"), C = L !== null, V = v(n, "timeScale"), z = S.appendOrSelect(m, "g.tick"), w = S.appendOrSelect(z, "text").text("0"), Q = S.getSVGElementSize(w.node(), {
|
|
4452
4452
|
useBBox: !0
|
|
4453
4453
|
}).height;
|
|
4454
4454
|
z.remove();
|
|
@@ -4526,7 +4526,7 @@ class Ca extends q {
|
|
|
4526
4526
|
const qe = this.model.isDataEmpty();
|
|
4527
4527
|
if (E.title) {
|
|
4528
4528
|
const U = S.appendOrSelect(l, "text.axis-title").html(
|
|
4529
|
-
qe ||
|
|
4529
|
+
qe || M ? "" : De(E.title)
|
|
4530
4530
|
), J = v(E, "titleOrientation");
|
|
4531
4531
|
let ae;
|
|
4532
4532
|
switch (t) {
|
|
@@ -4601,7 +4601,7 @@ class Ca extends q {
|
|
|
4601
4601
|
this.getNumberOfFittingTicks(i, Q, ot.ticks.horizontalSpaceRatio)
|
|
4602
4602
|
), m.call(K), g.call(K)), l.selectAll("g.ticks g.tick text").attr("transform", "rotate(-45)").attr("text-anchor", t === G.TOP ? "start" : "end")) : l.selectAll("g.ticks g.tick text").attr("transform", null).attr("text-anchor", null);
|
|
4603
4603
|
}
|
|
4604
|
-
if (
|
|
4604
|
+
if (M ? l.attr("opacity", 0) : l.attr("opacity", 1), g.selectAll("g.tick").attr("aria-label", (U) => U), m.selectAll("g.tick").attr("aria-label", (U) => U), D !== lt.NONE && A === ue.LABELS && !I) {
|
|
4605
4605
|
const U = this.services.cartesianScales.getScaleDomain(t);
|
|
4606
4606
|
if (U.length > 0) {
|
|
4607
4607
|
const J = a.select(`g.axis.${t} g.ticks g.tick`).html();
|
|
@@ -4837,13 +4837,13 @@ class fl extends q {
|
|
|
4837
4837
|
t ? this.renderSkeleton(t) : this.removeSkeleton();
|
|
4838
4838
|
}
|
|
4839
4839
|
renderSkeleton(e) {
|
|
4840
|
-
if (this.configs.skeleton ===
|
|
4840
|
+
if (this.configs.skeleton === wt.GRID)
|
|
4841
4841
|
this.renderGridSkeleton(e);
|
|
4842
|
-
else if (this.configs.skeleton ===
|
|
4842
|
+
else if (this.configs.skeleton === wt.VERT_OR_HORIZ)
|
|
4843
4843
|
this.renderVertOrHorizSkeleton(e);
|
|
4844
|
-
else if (this.configs.skeleton ===
|
|
4844
|
+
else if (this.configs.skeleton === wt.PIE)
|
|
4845
4845
|
this.renderPieSkeleton(e);
|
|
4846
|
-
else if (this.configs.skeleton ===
|
|
4846
|
+
else if (this.configs.skeleton === wt.DONUT)
|
|
4847
4847
|
this.renderDonutSkeleton(e);
|
|
4848
4848
|
else
|
|
4849
4849
|
throw new Error(`"${this.configs.skeleton}" is not a valid Skeleton type.`);
|
|
@@ -4948,7 +4948,7 @@ class Oh extends q {
|
|
|
4948
4948
|
(C) => this.services.cartesianScales.getDomainValue(C),
|
|
4949
4949
|
(C) => this.services.cartesianScales.getRangeValue(C),
|
|
4950
4950
|
m
|
|
4951
|
-
), y = Math.floor((E ? h : u) / a.length), A = Math.min(y / 2, 16),
|
|
4951
|
+
), y = Math.floor((E ? h : u) / a.length), A = Math.min(y / 2, 16), M = this.model.getBoxplotData(), L = t.selectAll(".box-group").data(M);
|
|
4952
4952
|
L.exit().remove();
|
|
4953
4953
|
const I = L.enter().append("g").attr("class", "box-group"), D = L.merge(I);
|
|
4954
4954
|
I.append("path").merge(L.select("path.vertical-line.start")).attr(
|
|
@@ -4964,8 +4964,8 @@ class Oh extends q {
|
|
|
4964
4964
|
animate: e
|
|
4965
4965
|
})
|
|
4966
4966
|
).attr("d", (C) => {
|
|
4967
|
-
const V = g.getDomainValue(C[s]), z = V,
|
|
4968
|
-
return ye({ x0: V, x1: z, y0:
|
|
4967
|
+
const V = g.getDomainValue(C[s]), z = V, w = g.getRangeValue(C.whiskers.min), Q = g.getRangeValue(C.quartiles.q_25);
|
|
4968
|
+
return ye({ x0: V, x1: z, y0: w, y1: Q }, m);
|
|
4969
4969
|
}), I.append("path").merge(L.select("path.vertical-line.end")).attr(
|
|
4970
4970
|
"class",
|
|
4971
4971
|
() => this.model.getColorClassName({
|
|
@@ -4979,8 +4979,8 @@ class Oh extends q {
|
|
|
4979
4979
|
animate: e
|
|
4980
4980
|
})
|
|
4981
4981
|
).attr("d", (C) => {
|
|
4982
|
-
const V = g.getDomainValue(C[s]), z = V,
|
|
4983
|
-
return ye({ x0: V, x1: z, y0:
|
|
4982
|
+
const V = g.getDomainValue(C[s]), z = V, w = g.getRangeValue(C.whiskers.max), Q = g.getRangeValue(C.quartiles.q_75);
|
|
4983
|
+
return ye({ x0: V, x1: z, y0: w, y1: Q }, m);
|
|
4984
4984
|
}), I.append("path").merge(L.select("path.box")).attr(
|
|
4985
4985
|
"class",
|
|
4986
4986
|
() => this.model.getColorClassName({
|
|
@@ -4994,15 +4994,15 @@ class Oh extends q {
|
|
|
4994
4994
|
animate: e
|
|
4995
4995
|
})
|
|
4996
4996
|
).attr("d", (C) => {
|
|
4997
|
-
const V = g.getDomainValue(C[s]) - A / 2, z = V + A,
|
|
4997
|
+
const V = g.getDomainValue(C[s]) - A / 2, z = V + A, w = g.getRangeValue(
|
|
4998
4998
|
Math[E ? "max" : "min"](C.quartiles.q_75, C.quartiles.q_25)
|
|
4999
|
-
), Q =
|
|
4999
|
+
), Q = w + Math.abs(
|
|
5000
5000
|
g.getRangeValue(C.quartiles.q_75) - g.getRangeValue(C.quartiles.q_25)
|
|
5001
5001
|
);
|
|
5002
|
-
return ye({ x0: V, x1: z, y0:
|
|
5002
|
+
return ye({ x0: V, x1: z, y0: w, y1: Q }, m);
|
|
5003
5003
|
}), I.append("path").merge(L.select("path.highlight-area")).attr("class", "highlight-area").attr("opacity", 0).attr("d", (C) => {
|
|
5004
|
-
const V = g.getDomainValue(C[s]) - A / 2, z = V + A,
|
|
5005
|
-
return ye({ x0: V, x1: z, y0:
|
|
5004
|
+
const V = g.getDomainValue(C[s]) - A / 2, z = V + A, w = g.getRangeValue(C.whiskers.min), Q = g.getRangeValue(C.whiskers.max);
|
|
5005
|
+
return ye({ x0: V, x1: z, y0: w, y1: Q }, m);
|
|
5006
5006
|
}), I.append("path").merge(L.select("path.whisker.start")).attr(
|
|
5007
5007
|
"class",
|
|
5008
5008
|
() => this.model.getColorClassName({
|
|
@@ -5016,8 +5016,8 @@ class Oh extends q {
|
|
|
5016
5016
|
animate: e
|
|
5017
5017
|
})
|
|
5018
5018
|
).attr("d", (C) => {
|
|
5019
|
-
const V = g.getDomainValue(C[s]) - A / 4, z = V + A / 2,
|
|
5020
|
-
return ye({ x0: V, x1: z, y0:
|
|
5019
|
+
const V = g.getDomainValue(C[s]) - A / 4, z = V + A / 2, w = g.getRangeValue(C.whiskers.min), Q = g.getRangeValue(C.whiskers.min);
|
|
5020
|
+
return ye({ x0: V, x1: z, y0: w, y1: Q }, m);
|
|
5021
5021
|
}), I.append("path").merge(L.select("path.median")).attr("fill", "none").attr(
|
|
5022
5022
|
"class",
|
|
5023
5023
|
() => this.model.getColorClassName({
|
|
@@ -5031,8 +5031,8 @@ class Oh extends q {
|
|
|
5031
5031
|
animate: e
|
|
5032
5032
|
})
|
|
5033
5033
|
).attr("d", (C) => {
|
|
5034
|
-
const V = g.getDomainValue(C[s]) - A / 2, z = V + A,
|
|
5035
|
-
return ye({ x0: V, x1: z, y0:
|
|
5034
|
+
const V = g.getDomainValue(C[s]) - A / 2, z = V + A, w = g.getRangeValue(C.quartiles.q_50);
|
|
5035
|
+
return ye({ x0: V, x1: z, y0: w, y1: w }, m);
|
|
5036
5036
|
}), I.append("path").merge(L.select("path.whisker.end")).attr(
|
|
5037
5037
|
"class",
|
|
5038
5038
|
() => this.model.getColorClassName({
|
|
@@ -5046,8 +5046,8 @@ class Oh extends q {
|
|
|
5046
5046
|
animate: e
|
|
5047
5047
|
})
|
|
5048
5048
|
).attr("d", (C) => {
|
|
5049
|
-
const V = g.getDomainValue(C[s]) - A / 4, z = V + A / 2,
|
|
5050
|
-
return ye({ x0: V, x1: z, y0:
|
|
5049
|
+
const V = g.getDomainValue(C[s]) - A / 4, z = V + A / 2, w = g.getRangeValue(C.whiskers.max), Q = g.getRangeValue(C.whiskers.max);
|
|
5050
|
+
return ye({ x0: V, x1: z, y0: w, y1: Q }, m);
|
|
5051
5051
|
});
|
|
5052
5052
|
const j = D.selectAll("circle.outlier").data(
|
|
5053
5053
|
(C) => C.outliers.map((V) => ({
|
|
@@ -5323,9 +5323,9 @@ class Lh extends q {
|
|
|
5323
5323
|
animate: e
|
|
5324
5324
|
})
|
|
5325
5325
|
).attr("d", (T) => {
|
|
5326
|
-
let A,
|
|
5327
|
-
return T.order === 1 ? (A = this.services.cartesianScales.getDomainValue(T.datum) - 16 / 2,
|
|
5328
|
-
{ x0: A, x1:
|
|
5326
|
+
let A, M, L, I;
|
|
5327
|
+
return T.order === 1 ? (A = this.services.cartesianScales.getDomainValue(T.datum) - 16 / 2, M = A + 16, L = c - 2, I = l + 1) : (A = this.services.cartesianScales.getDomainValue(T.datum) - 16 / 2, M = A + 16, L = this.services.cartesianScales.getRangeValue(T.value), I = c), ye(
|
|
5328
|
+
{ x0: A, x1: M, y0: L, y1: I },
|
|
5329
5329
|
this.services.cartesianScales.getOrientation()
|
|
5330
5330
|
);
|
|
5331
5331
|
}).attr("opacity", 1);
|
|
@@ -5345,9 +5345,9 @@ class Lh extends q {
|
|
|
5345
5345
|
originalClassName: "bar"
|
|
5346
5346
|
})
|
|
5347
5347
|
).style("fill", (O) => this.model.getFillColor(O[n])).attr("d", (O) => {
|
|
5348
|
-
const y = this.services.cartesianScales.getDomainValue(O) - 4, A = y + 8,
|
|
5348
|
+
const y = this.services.cartesianScales.getDomainValue(O) - 4, A = y + 8, M = this.services.cartesianScales.getRangeValue(0) + 1, L = this.services.cartesianScales.getRangeValue(O);
|
|
5349
5349
|
return ye(
|
|
5350
|
-
{ x0: y, x1: A, y0:
|
|
5350
|
+
{ x0: y, x1: A, y0: M, y1: L },
|
|
5351
5351
|
this.services.cartesianScales.getOrientation()
|
|
5352
5352
|
);
|
|
5353
5353
|
}).attr("opacity", 1).attr("role", X.GRAPHICS_SYMBOL).attr("aria-roledescription", "bar").attr("aria-label", (O) => O.value);
|
|
@@ -5363,9 +5363,9 @@ class Lh extends q {
|
|
|
5363
5363
|
animate: e
|
|
5364
5364
|
})
|
|
5365
5365
|
).attr("d", (O) => {
|
|
5366
|
-
const y = this.services.cartesianScales.getDomainValue(O) - 12, A = y + 24,
|
|
5366
|
+
const y = this.services.cartesianScales.getDomainValue(O) - 12, A = y + 24, M = this.services.cartesianScales.getRangeValue(O.marker);
|
|
5367
5367
|
return ye(
|
|
5368
|
-
{ x0: y, x1: A, y0:
|
|
5368
|
+
{ x0: y, x1: A, y0: M, y1: M },
|
|
5369
5369
|
this.services.cartesianScales.getOrientation()
|
|
5370
5370
|
);
|
|
5371
5371
|
}).attr("opacity", 1);
|
|
@@ -5389,9 +5389,9 @@ class Lh extends q {
|
|
|
5389
5389
|
).attr("d", ({ datum: T, value: y }) => {
|
|
5390
5390
|
let A = 4;
|
|
5391
5391
|
T.ranges && T.ranges.indexOf(y) !== -1 && (A = 8);
|
|
5392
|
-
const
|
|
5392
|
+
const M = this.services.cartesianScales.getDomainValue(T) - A / 2, L = M + A, I = this.services.cartesianScales.getRangeValue(y);
|
|
5393
5393
|
return ye(
|
|
5394
|
-
{ x0:
|
|
5394
|
+
{ x0: M, x1: L, y0: I, y1: I },
|
|
5395
5395
|
this.services.cartesianScales.getOrientation()
|
|
5396
5396
|
);
|
|
5397
5397
|
}).attr("opacity", 1);
|
|
@@ -5660,7 +5660,7 @@ function Tl(o, e) {
|
|
|
5660
5660
|
})
|
|
5661
5661
|
};
|
|
5662
5662
|
}
|
|
5663
|
-
class Ah extends
|
|
5663
|
+
class Ah extends wa {
|
|
5664
5664
|
constructor() {
|
|
5665
5665
|
super(...arguments), this.type = "ruler-binned", this.renderType = W.SVG;
|
|
5666
5666
|
}
|
|
@@ -5676,7 +5676,7 @@ class Ah extends Ma {
|
|
|
5676
5676
|
});
|
|
5677
5677
|
if (E.size() > 0) {
|
|
5678
5678
|
this.elementsToHighlight && this.elementsToHighlight.size() > 0 && !Ea(this.elementsToHighlight, E) && this.hideRuler(), E.dispatch("mouseover"), this.elementsToHighlight = E;
|
|
5679
|
-
const O = x(E.nodes()[0]).datum(), T = parseFloat(ne(O, "data.x0")), y = parseFloat(ne(O, "data.x1")), A = this.model.getActiveDataGroupNames(),
|
|
5679
|
+
const O = x(E.nodes()[0]).datum(), T = parseFloat(ne(O, "data.x0")), y = parseFloat(ne(O, "data.x1")), A = this.model.getActiveDataGroupNames(), M = A.reverse().map((I) => ({
|
|
5680
5680
|
label: I,
|
|
5681
5681
|
value: ne(O, `data.${I}`),
|
|
5682
5682
|
class: this.model.getColorClassName({
|
|
@@ -5684,7 +5684,7 @@ class Ah extends Ma {
|
|
|
5684
5684
|
dataGroupName: I
|
|
5685
5685
|
})
|
|
5686
5686
|
})).filter((I) => I.value !== 0);
|
|
5687
|
-
if (
|
|
5687
|
+
if (M.length > 0) {
|
|
5688
5688
|
this.services.events.dispatchEvent(f.Tooltip.SHOW, {
|
|
5689
5689
|
mousePosition: [t, n],
|
|
5690
5690
|
hoveredElement: g,
|
|
@@ -5693,7 +5693,7 @@ class Ah extends Ma {
|
|
|
5693
5693
|
label: ne(a, "bins.rangeLabel") || "Range",
|
|
5694
5694
|
value: `${T} – ${y}`
|
|
5695
5695
|
},
|
|
5696
|
-
...
|
|
5696
|
+
...M,
|
|
5697
5697
|
...v(a, "tooltip", "showTotal") === !0 ? [
|
|
5698
5698
|
{
|
|
5699
5699
|
label: ne(a, "locale.translations.total") || ne(a, "tooltip.totalLabel") || "Total",
|
|
@@ -5713,12 +5713,12 @@ class Ah extends Ma {
|
|
|
5713
5713
|
this.hideRuler();
|
|
5714
5714
|
}
|
|
5715
5715
|
}
|
|
5716
|
-
class
|
|
5716
|
+
class Mh extends wa {
|
|
5717
5717
|
formatTooltipData(e) {
|
|
5718
5718
|
return e.reverse();
|
|
5719
5719
|
}
|
|
5720
5720
|
}
|
|
5721
|
-
const
|
|
5721
|
+
const wh = (o, e) => {
|
|
5722
5722
|
const t = o.x, n = o.y, s = e.x, a = e.y, i = Gn();
|
|
5723
5723
|
return i.moveTo(t, n), i.lineTo(s, a), i.toString();
|
|
5724
5724
|
}, Ch = (o, e, t = 0.5) => {
|
|
@@ -5809,7 +5809,7 @@ class Vh extends hl {
|
|
|
5809
5809
|
O.push(
|
|
5810
5810
|
i === nn.LINEAR ? `stop-color-${E}-${r}-${k}` : `fill-${E}-${r}-${k}`
|
|
5811
5811
|
);
|
|
5812
|
-
const y = ta(p[0], p[1]), A = ni(y, 3),
|
|
5812
|
+
const y = ta(p[0], p[1]), A = ni(y, 3), M = Ze().domain(p).range([0, u]), L = Vn(M).tickSize(0).tickValues(A), { code: I, number: D } = v(t, "locale");
|
|
5813
5813
|
L.tickFormat((k) => D(k, I));
|
|
5814
5814
|
let j;
|
|
5815
5815
|
switch (i) {
|
|
@@ -5823,7 +5823,7 @@ class Vh extends hl {
|
|
|
5823
5823
|
d,
|
|
5824
5824
|
g,
|
|
5825
5825
|
u
|
|
5826
|
-
),
|
|
5826
|
+
), M.range([j, u]);
|
|
5827
5827
|
break;
|
|
5828
5828
|
default:
|
|
5829
5829
|
throw Error("Entered color legend type is not supported.");
|
|
@@ -6027,7 +6027,7 @@ class Bh extends q {
|
|
|
6027
6027
|
transition: m,
|
|
6028
6028
|
name: "circlepack-leaf-update-enter"
|
|
6029
6029
|
})
|
|
6030
|
-
).attr("r", (m) => m.r).attr("opacity", 1).attr("fill-opacity", ft.circles.fillOpacity), c === !0 && this.focal && (this.services.canvasZoom.zoomIn(this.focal, g,
|
|
6030
|
+
).attr("r", (m) => m.r).attr("opacity", 1).attr("fill-opacity", ft.circles.fillOpacity), c === !0 && this.focal && (this.services.canvasZoom.zoomIn(this.focal, g, Mt), this.setBackgroundListeners()), i || this.addLegendListeners(), this.addEventListeners();
|
|
6031
6031
|
}
|
|
6032
6032
|
// turn off the highlight class on children circles
|
|
6033
6033
|
unhighlightChildren(e) {
|
|
@@ -6052,7 +6052,7 @@ class Bh extends q {
|
|
|
6052
6052
|
setBackgroundListeners() {
|
|
6053
6053
|
const e = x(this.services.domUtils.getMainContainer()), t = this, n = this.parent.selectAll("circle.node");
|
|
6054
6054
|
e.on("click", () => {
|
|
6055
|
-
t.focal = null, t.model.updateHierarchyLevel(2), e.classed("zoomed-in", !1), t.services.canvasZoom.zoomOut(n,
|
|
6055
|
+
t.focal = null, t.model.updateHierarchyLevel(2), e.classed("zoomed-in", !1), t.services.canvasZoom.zoomOut(n, Mt);
|
|
6056
6056
|
});
|
|
6057
6057
|
}
|
|
6058
6058
|
// Zoom icon to be appended to the label in the tooltip
|
|
@@ -6138,10 +6138,10 @@ class Bh extends q {
|
|
|
6138
6138
|
const s = x(this), a = s.classed("non-focal"), i = v(e.model.getOptions(), "canvasZoom", "enabled");
|
|
6139
6139
|
if (i && e.model.getHierarchyLevel() > 2) {
|
|
6140
6140
|
const r = e.parent.selectAll("circle.node");
|
|
6141
|
-
x(e.services.domUtils.getMainContainer()).classed("zoomed-in", !1), e.focal = null, e.model.updateHierarchyLevel(2), e.services.canvasZoom.zoomOut(r,
|
|
6141
|
+
x(e.services.domUtils.getMainContainer()).classed("zoomed-in", !1), e.focal = null, e.model.updateHierarchyLevel(2), e.services.canvasZoom.zoomOut(r, Mt);
|
|
6142
6142
|
} else if (n.depth === 2 && n.children && !a && i) {
|
|
6143
6143
|
const r = e.parent.selectAll("circle.node");
|
|
6144
|
-
x(e.services.domUtils.getMainContainer()).classed("zoomed-in", !0), e.focal = n, e.model.updateHierarchyLevel(3), e.services.canvasZoom.zoomIn(n, r,
|
|
6144
|
+
x(e.services.domUtils.getMainContainer()).classed("zoomed-in", !0), e.focal = n, e.model.updateHierarchyLevel(3), e.services.canvasZoom.zoomIn(n, r, Mt), t.stopPropagation();
|
|
6145
6145
|
}
|
|
6146
6146
|
e.services.events.dispatchEvent(f.CirclePack.CIRCLE_CLICK, {
|
|
6147
6147
|
event: t,
|
|
@@ -6190,52 +6190,52 @@ class Al extends q {
|
|
|
6190
6190
|
return te.innerRadius;
|
|
6191
6191
|
}
|
|
6192
6192
|
render(e = !0) {
|
|
6193
|
-
const t = this, n = this.getComponentContainer(), s = this.getOptions(), { groupMapsTo: a } = s.data, { valueMapsTo: i } = s.pie, r = this.model.getDisplayData().filter((
|
|
6193
|
+
const t = this, n = this.getComponentContainer(), s = this.getOptions(), { groupMapsTo: a } = s.data, { valueMapsTo: i } = s.pie, r = this.model.getDisplayData().filter((w) => w[i] > 0), l = this.computeRadius();
|
|
6194
6194
|
this.arc = xt().innerRadius(this.getInnerRadius()).outerRadius(l), this.hoverArc = xt().innerRadius(this.getInnerRadius()).outerRadius(l + te.hoverArc.outerRadiusOffset);
|
|
6195
|
-
const d = ai().value((
|
|
6195
|
+
const d = ai().value((w) => w[i]).sort(v(s, "pie", "sortFunction")).padAngle(te.padAngle)(r), h = S.appendOrSelect(n, "g.slices").attr("role", X.GROUP).attr("data-name", "slices").selectAll("path.slice").data(d, (w) => w.data[a]);
|
|
6196
6196
|
h.exit().attr("opacity", 0).remove(), h.enter().append("path").classed("slice", !0).attr("opacity", 0).merge(h).attr(
|
|
6197
6197
|
"class",
|
|
6198
|
-
(
|
|
6198
|
+
(w) => this.model.getColorClassName({
|
|
6199
6199
|
classNameTypes: [F.FILL],
|
|
6200
|
-
dataGroupName:
|
|
6200
|
+
dataGroupName: w.data[a],
|
|
6201
6201
|
originalClassName: "slice"
|
|
6202
6202
|
})
|
|
6203
|
-
).style("fill", (
|
|
6204
|
-
(
|
|
6205
|
-
transition:
|
|
6203
|
+
).style("fill", (w) => t.model.getFillColor(w.data[a])).attr("d", this.arc).transition().call(
|
|
6204
|
+
(w) => this.services.transitions.setupTransition({
|
|
6205
|
+
transition: w,
|
|
6206
6206
|
name: "pie_slice_enter_update",
|
|
6207
6207
|
animate: e
|
|
6208
6208
|
})
|
|
6209
6209
|
).attr("opacity", 1).attr("role", X.GRAPHICS_SYMBOL).attr("aria-roledescription", "slice").attr(
|
|
6210
6210
|
"aria-label",
|
|
6211
|
-
(
|
|
6212
|
-
).attrTween("d", function(
|
|
6213
|
-
return Ll.bind(this)(
|
|
6211
|
+
(w) => `${w[i]}, ${Qt(w.data[i], r, i) + "%"}`
|
|
6212
|
+
).attrTween("d", function(w) {
|
|
6213
|
+
return Ll.bind(this)(w, t.arc);
|
|
6214
6214
|
});
|
|
6215
|
-
const { code: m, number: E } = v(s, "locale"), O = s.pie.labels.enabled, T = O ? d.filter((
|
|
6215
|
+
const { code: m, number: E } = v(s, "locale"), O = s.pie.labels.enabled, T = O ? d.filter((w) => w.data[i] > 0) : [], A = S.appendOrSelect(n, "g.labels").attr("role", X.GROUP).attr("data-name", "labels").selectAll("text.pie-label").data(T, (w) => w.data[a]);
|
|
6216
6216
|
A.exit().attr("opacity", 0).remove();
|
|
6217
|
-
const
|
|
6218
|
-
|
|
6219
|
-
...
|
|
6217
|
+
const M = A.enter().append("text").classed("pie-label", !0), L = [];
|
|
6218
|
+
M.merge(A).style("text-anchor", "middle").text((w) => s.pie.labels.formatter ? s.pie.labels.formatter({
|
|
6219
|
+
...w,
|
|
6220
6220
|
percentageValue: Qt(
|
|
6221
|
-
|
|
6221
|
+
w.data[i],
|
|
6222
6222
|
r,
|
|
6223
6223
|
i,
|
|
6224
6224
|
!0
|
|
6225
6225
|
)
|
|
6226
6226
|
}) : E(
|
|
6227
|
-
Qt(
|
|
6227
|
+
Qt(w.data[i], r, i),
|
|
6228
6228
|
m
|
|
6229
|
-
) + "%").datum(function(
|
|
6230
|
-
const Q = l + 7, me = (
|
|
6231
|
-
return
|
|
6232
|
-
}).attr("transform", function(
|
|
6233
|
-
const me = T.length, K = (
|
|
6229
|
+
) + "%").datum(function(w) {
|
|
6230
|
+
const Q = l + 7, me = (w.endAngle - w.startAngle) / 2 + w.startAngle, K = me / Math.PI * 180, H = this.getComputedTextLength();
|
|
6231
|
+
return w.textOffsetX = H / 2, w.textOffsetY = K > 90 && K < 270 ? 10 : 0, w.xPosition = (w.textOffsetX + Q) * Math.sin(me), w.yPosition = (w.textOffsetY + Q) * -Math.cos(me), w;
|
|
6232
|
+
}).attr("transform", function(w, Q) {
|
|
6233
|
+
const me = T.length, K = (w.endAngle - w.startAngle) * (180 / Math.PI);
|
|
6234
6234
|
if (Q >= me - 2 && K < te.callout.minSliceDegree) {
|
|
6235
6235
|
let H, Z;
|
|
6236
|
-
return
|
|
6236
|
+
return w.index === me - 1 ? (H = w.xPosition + te.callout.offsetX + te.callout.textMargin + w.textOffsetX, Z = w.yPosition - te.callout.offsetY, w.direction = an.RIGHT, L.push(w)) : (H = w.xPosition - te.callout.offsetX - w.textOffsetX - te.callout.textMargin, Z = w.yPosition - te.callout.offsetY, w.direction = an.LEFT, L.push(w)), `translate(${H}, ${Z})`;
|
|
6237
6237
|
}
|
|
6238
|
-
return `translate(${
|
|
6238
|
+
return `translate(${w.xPosition}, ${w.yPosition})`;
|
|
6239
6239
|
}), this.renderCallouts(L);
|
|
6240
6240
|
const I = v(s, "donut") ? "donut" : "pie", D = v(s, I, "alignment"), { width: j } = S.getSVGElementSize(this.getParent(), {
|
|
6241
6241
|
useAttrs: !0
|
|
@@ -6368,8 +6368,13 @@ class Hh extends Al {
|
|
|
6368
6368
|
s % 1 === 0 && n % 1 === 0 ? a = ri : a = ta;
|
|
6369
6369
|
const i = a(s, n);
|
|
6370
6370
|
return (r) => {
|
|
6371
|
-
const {
|
|
6372
|
-
|
|
6371
|
+
const { numberFormatter: l } = t.donut.center;
|
|
6372
|
+
if (l)
|
|
6373
|
+
e.text(l(i(r)));
|
|
6374
|
+
else {
|
|
6375
|
+
const { code: c, number: d } = v(t, "locale");
|
|
6376
|
+
e.text(d(Math.floor(i(r)), c));
|
|
6377
|
+
}
|
|
6373
6378
|
};
|
|
6374
6379
|
}
|
|
6375
6380
|
}
|
|
@@ -6448,7 +6453,7 @@ class $h extends q {
|
|
|
6448
6453
|
const { width: y } = S.getSVGElementSize(
|
|
6449
6454
|
S.appendOrSelect(e, "text.gauge-value-number"),
|
|
6450
6455
|
{ useBBox: !0 }
|
|
6451
|
-
), A = u / 2,
|
|
6456
|
+
), A = u / 2, M = d ? "%" : "", L = S.appendOrSelect(g, "text.gauge-value-symbol").style("font-size", `${A}px`).attr("x", y / 2).text(M), { width: I, height: D } = S.getSVGElementSize(L, {
|
|
6452
6457
|
useBBox: !0
|
|
6453
6458
|
});
|
|
6454
6459
|
L.attr("y", `-${D / 2}px`), g.attr("transform", `translate(-${I / 2}, 0)`);
|
|
@@ -6473,8 +6478,8 @@ class $h extends q {
|
|
|
6473
6478
|
y.enter().append("svg").merge(y).attr("class", "gauge-delta-arrow").attr("x", -d(r) - O / 2).attr("y", -d(r) / 2 - l(r) * 0.35).attr("width", d(r)).attr("height", d(r)).attr("viewBox", "0 0 16 16").each(function() {
|
|
6474
6479
|
const A = x(this);
|
|
6475
6480
|
S.appendOrSelect(A, "rect.gauge-delta-arrow-backdrop").attr("width", "16").attr("height", "16").attr("fill", "none");
|
|
6476
|
-
const
|
|
6477
|
-
S.appendOrSelect(A, "polygon.gauge-delta-arrow").attr("class",
|
|
6481
|
+
const M = v(n, "gauge", "status");
|
|
6482
|
+
S.appendOrSelect(A, "polygon.gauge-delta-arrow").attr("class", M !== null ? `gauge-delta-arrow status--${M}` : "").attr("points", e.getArrow(s));
|
|
6478
6483
|
}), y.exit().remove(), m.exit().remove();
|
|
6479
6484
|
} else {
|
|
6480
6485
|
const r = t.select("g.gauge-delta");
|
|
@@ -6585,8 +6590,8 @@ class Uh extends Wn {
|
|
|
6585
6590
|
originalClassName: "bar"
|
|
6586
6591
|
})
|
|
6587
6592
|
).style("fill", (h) => this.model.getFillColor(h[s])).attr("d", (h) => {
|
|
6588
|
-
const u = this.groupScale(h[s]), g = this.getBarWidth(), m = u, E = u + g, O = this.services.cartesianScales.getRangeAxisPosition({ datum: h }), T = this.services.cartesianScales.getValueThroughAxisPosition(O, 0), y = this.services.cartesianScales.getRangeValue(h), A = this.services.cartesianScales.getDomainValue(h) - g / 2,
|
|
6589
|
-
if (!this.isOutsideZoomedDomain(A,
|
|
6593
|
+
const u = this.groupScale(h[s]), g = this.getBarWidth(), m = u, E = u + g, O = this.services.cartesianScales.getRangeAxisPosition({ datum: h }), T = this.services.cartesianScales.getValueThroughAxisPosition(O, 0), y = this.services.cartesianScales.getRangeValue(h), A = this.services.cartesianScales.getDomainValue(h) - g / 2, M = A + g;
|
|
6594
|
+
if (!this.isOutsideZoomedDomain(A, M))
|
|
6590
6595
|
return ye(
|
|
6591
6596
|
{ x0: m, x1: E, y0: T, y1: y },
|
|
6592
6597
|
this.services.cartesianScales.getOrientation()
|
|
@@ -7185,24 +7190,24 @@ class Xh extends q {
|
|
|
7185
7190
|
useAttrs: !0
|
|
7186
7191
|
}), a = this.model.getData(), i = this.model.getGroupedData(), r = this.getOptions(), l = v(r, "data", "groupMapsTo"), c = v(r, "radar", "axes", "value"), { angle: d, value: p } = v(r, "radar", "axes"), { xLabelPadding: h, yLabelPadding: u, yTicksNumber: g, minRange: m, xAxisRectHeight: E } = Fe;
|
|
7187
7192
|
this.uniqueKeys = Array.from(new Set(a.map((_) => _[d]))), this.uniqueGroups = Array.from(new Set(a.map((_) => _[l]))), this.fullDataNormalized = this.normalizeFlatData(a), this.groupedDataNormalized = this.normalizeGroupedData(i);
|
|
7188
|
-
const T = 2 * (this.getLabelDimensions(this.uniqueKeys[0]).height + u),
|
|
7189
|
-
if (
|
|
7193
|
+
const T = 2 * (this.getLabelDimensions(this.uniqueKeys[0]).height + u), M = (Math.min(n, s) - T) / 2;
|
|
7194
|
+
if (M <= 0)
|
|
7190
7195
|
return;
|
|
7191
7196
|
const L = Bn().domain(this.fullDataNormalized.map((_) => _[d])).range([0, 2 * Math.PI].map((_) => _ - Math.PI / 2)), I = fn(this.fullDataNormalized.map((_) => _[p])), D = Ze().domain([
|
|
7192
7197
|
I >= 0 ? 0 : I,
|
|
7193
7198
|
gs(this.fullDataNormalized.map((_) => _[p]))
|
|
7194
|
-
]).range([m,
|
|
7199
|
+
]).range([m, M]).nice(g), j = D.ticks(g), k = (_) => this.model.getFillColor(_), C = oi().angle((_) => L(_[d]) + Math.PI / 2).radius((_) => D(_[p])).curve(li), V = this.uniqueKeys.map((_) => {
|
|
7195
7200
|
const N = this.getLabelDimensions(_).width, P = Si(
|
|
7196
7201
|
L(_),
|
|
7197
|
-
|
|
7202
|
+
M
|
|
7198
7203
|
);
|
|
7199
7204
|
return N + P;
|
|
7200
|
-
}),
|
|
7205
|
+
}), w = {
|
|
7201
7206
|
x: gs(V) + h,
|
|
7202
7207
|
y: s / 2
|
|
7203
7208
|
}, me = S.appendOrSelect(t, "g.y-axes").attr("role", X.GROUP).selectAll("path").data(j, (_) => _), K = (_) => this.uniqueKeys.map((N) => ({ [d]: N, [p]: _ }));
|
|
7204
7209
|
me.join(
|
|
7205
|
-
(_) => _.append("path").attr("opacity", 0).attr("transform", `translate(${
|
|
7210
|
+
(_) => _.append("path").attr("opacity", 0).attr("transform", `translate(${w.x}, ${w.y})`).attr("fill", "none").call(
|
|
7206
7211
|
(N) => N.transition().call(
|
|
7207
7212
|
(P) => this.services.transitions.setupTransition({
|
|
7208
7213
|
transition: P,
|
|
@@ -7218,7 +7223,7 @@ class Xh extends q {
|
|
|
7218
7223
|
name: "radar_y_axes_update",
|
|
7219
7224
|
animate: e
|
|
7220
7225
|
})
|
|
7221
|
-
).attr("opacity", 1).attr("transform", `translate(${
|
|
7226
|
+
).attr("opacity", 1).attr("transform", `translate(${w.x}, ${w.y})`).attr("d", (P) => C(K(P)))
|
|
7222
7227
|
),
|
|
7223
7228
|
(_) => _.call(
|
|
7224
7229
|
(N) => N.transition().call(
|
|
@@ -7230,14 +7235,14 @@ class Xh extends q {
|
|
|
7230
7235
|
).attr("d", (P) => C(K(P))).attr("opacity", 0).remove()
|
|
7231
7236
|
)
|
|
7232
7237
|
), S.appendOrSelect(t, "g.x-axes").attr("role", X.GROUP).selectAll("line").data(this.uniqueKeys, (_) => _).join(
|
|
7233
|
-
(_) => _.append("line").attr("opacity", 0).attr("class", (N) => `x-axis-${st(N)}`).attr("stroke-dasharray", "0").attr("x1", (N) => oe(L(N), 0,
|
|
7238
|
+
(_) => _.append("line").attr("opacity", 0).attr("class", (N) => `x-axis-${st(N)}`).attr("stroke-dasharray", "0").attr("x1", (N) => oe(L(N), 0, w).x).attr("y1", (N) => oe(L(N), 0, w).y).attr("x2", (N) => oe(L(N), 0, w).x).attr("y2", (N) => oe(L(N), 0, w).y).call(
|
|
7234
7239
|
(N) => N.transition().call(
|
|
7235
7240
|
(P) => this.services.transitions.setupTransition({
|
|
7236
7241
|
transition: P,
|
|
7237
7242
|
name: "radar_x_axes_enter",
|
|
7238
7243
|
animate: e
|
|
7239
7244
|
})
|
|
7240
|
-
).attr("opacity", 1).attr("x1", (P) => oe(L(P), D.range()[0],
|
|
7245
|
+
).attr("opacity", 1).attr("x1", (P) => oe(L(P), D.range()[0], w).x).attr("y1", (P) => oe(L(P), D.range()[0], w).y).attr("x2", (P) => oe(L(P), D.range()[1], w).x).attr("y2", (P) => oe(L(P), D.range()[1], w).y)
|
|
7241
7246
|
),
|
|
7242
7247
|
(_) => _.call(
|
|
7243
7248
|
(N) => N.transition().call(
|
|
@@ -7246,7 +7251,7 @@ class Xh extends q {
|
|
|
7246
7251
|
name: "radar_x_axes_update",
|
|
7247
7252
|
animate: e
|
|
7248
7253
|
})
|
|
7249
|
-
).attr("opacity", 1).attr("x1", (P) => oe(L(P), D.range()[0],
|
|
7254
|
+
).attr("opacity", 1).attr("x1", (P) => oe(L(P), D.range()[0], w).x).attr("y1", (P) => oe(L(P), D.range()[0], w).y).attr("x2", (P) => oe(L(P), D.range()[1], w).x).attr("y2", (P) => oe(L(P), D.range()[1], w).y)
|
|
7250
7255
|
),
|
|
7251
7256
|
(_) => _.call(
|
|
7252
7257
|
(N) => N.transition().call(
|
|
@@ -7260,10 +7265,10 @@ class Xh extends q {
|
|
|
7260
7265
|
), S.appendOrSelect(t, "g.x-labels").attr("role", X.GROUP).selectAll("text").data(this.uniqueKeys).join(
|
|
7261
7266
|
(_) => _.append("text").text((N) => N).attr("opacity", 0).attr(
|
|
7262
7267
|
"x",
|
|
7263
|
-
(N) => oe(L(N), D.range()[1] + h,
|
|
7268
|
+
(N) => oe(L(N), D.range()[1] + h, w).x
|
|
7264
7269
|
).attr(
|
|
7265
7270
|
"y",
|
|
7266
|
-
(N) => oe(L(N), D.range()[1] + h,
|
|
7271
|
+
(N) => oe(L(N), D.range()[1] + h, w).y
|
|
7267
7272
|
).style("text-anchor", (N) => fs(L(N)).textAnchor).style(
|
|
7268
7273
|
"dominant-baseline",
|
|
7269
7274
|
(N) => fs(L(N)).dominantBaseline
|
|
@@ -7285,10 +7290,10 @@ class Xh extends q {
|
|
|
7285
7290
|
})
|
|
7286
7291
|
).attr("opacity", 1).attr(
|
|
7287
7292
|
"x",
|
|
7288
|
-
(P) => oe(L(P), D.range()[1] + h,
|
|
7293
|
+
(P) => oe(L(P), D.range()[1] + h, w).x
|
|
7289
7294
|
).attr(
|
|
7290
7295
|
"y",
|
|
7291
|
-
(P) => oe(L(P), D.range()[1] + h,
|
|
7296
|
+
(P) => oe(L(P), D.range()[1] + h, w).y
|
|
7292
7297
|
).end().finally(() => {
|
|
7293
7298
|
const P = v(r, "radar", "alignment"), Le = this.getAlignmentXOffset(P, t, this.getParent());
|
|
7294
7299
|
t.attr("x", Le);
|
|
@@ -7313,7 +7318,7 @@ class Xh extends q {
|
|
|
7313
7318
|
})
|
|
7314
7319
|
).attr("role", X.GRAPHICS_SYMBOL).attr("aria-label", (N) => N.name).attr("opacity", 0).attr(
|
|
7315
7320
|
"transform",
|
|
7316
|
-
e ? () => `translate(${
|
|
7321
|
+
e ? () => `translate(${w.x}, ${w.y}) scale(${1 + Math.random() * 0.35})` : `translate(${w.x}, ${w.y})`
|
|
7317
7322
|
).style("fill", (N) => k(N.name)).style("fill-opacity", Fe.opacity.selected).style("stroke", (N) => k(N.name)).call((N) => {
|
|
7318
7323
|
const P = N.transition().call(
|
|
7319
7324
|
(Le) => this.services.transitions.setupTransition({
|
|
@@ -7322,7 +7327,7 @@ class Xh extends q {
|
|
|
7322
7327
|
animate: e
|
|
7323
7328
|
})
|
|
7324
7329
|
);
|
|
7325
|
-
e && P.delay(() => Math.random() * 30).attr("transform", `translate(${
|
|
7330
|
+
e && P.delay(() => Math.random() * 30).attr("transform", `translate(${w.x}, ${w.y})`), P.attr("opacity", 1).attr("d", (Le) => C(Le.data));
|
|
7326
7331
|
}),
|
|
7327
7332
|
(_) => (_.attr(
|
|
7328
7333
|
"class",
|
|
@@ -7338,7 +7343,7 @@ class Xh extends q {
|
|
|
7338
7343
|
name: "radar_blobs_update",
|
|
7339
7344
|
animate: e
|
|
7340
7345
|
})
|
|
7341
|
-
).attr("opacity", 1).attr("transform", `translate(${
|
|
7346
|
+
).attr("opacity", 1).attr("transform", `translate(${w.x}, ${w.y})`).attr("d", (P) => C(P.data))
|
|
7342
7347
|
), _),
|
|
7343
7348
|
(_) => _.call((N) => {
|
|
7344
7349
|
const P = N.transition().call(
|
|
@@ -7350,7 +7355,7 @@ class Xh extends q {
|
|
|
7350
7355
|
);
|
|
7351
7356
|
e && P.delay(() => Math.random() * 30).attr(
|
|
7352
7357
|
"transform",
|
|
7353
|
-
() => `translate(${
|
|
7358
|
+
() => `translate(${w.x}, ${w.y}) scale(${1 + Math.random() * 0.35})`
|
|
7354
7359
|
), P.attr("opacity", 0).remove();
|
|
7355
7360
|
})
|
|
7356
7361
|
), S.appendOrSelect(t, "g.dots").attr("role", X.GROUP).selectAll("circle").data(this.fullDataNormalized.filter((_) => v(_, p) !== null)).join(
|
|
@@ -7364,17 +7369,17 @@ class Xh extends q {
|
|
|
7364
7369
|
dataGroupName: _[l],
|
|
7365
7370
|
originalClassName: st(_[d])
|
|
7366
7371
|
})
|
|
7367
|
-
).attr("cx", (_) => oe(L(_[d]), D(_[p]),
|
|
7372
|
+
).attr("cx", (_) => oe(L(_[d]), D(_[p]), w).x).attr("cy", (_) => oe(L(_[d]), D(_[p]), w).y).attr("r", 0).attr("opacity", 0).style("fill", (_) => k(_[l])), S.appendOrSelect(t, "g.x-axes-rect").attr("role", X.GROUP).selectAll("rect").data(this.uniqueKeys).join(
|
|
7368
7373
|
(_) => _.append("rect"),
|
|
7369
7374
|
(_) => _,
|
|
7370
7375
|
(_) => _.remove()
|
|
7371
|
-
).attr("x",
|
|
7376
|
+
).attr("x", w.x).attr("y", w.y - E / 2).attr("width", D.range()[1]).attr("height", E).style("fill", "red").style("fill-opacity", 0).attr("transform", (_) => `rotate(${Oi(L(_))}, ${w.x}, ${w.y})`);
|
|
7372
7377
|
const { code: ae, number: re } = v(r, "locale");
|
|
7373
7378
|
S.appendOrSelect(t, "g.y-labels").attr("role", X.GROUP).selectAll("text").data(Wt(j)).join(
|
|
7374
7379
|
(_) => _.append("text").attr("opacity", 0).text((N) => re(N, ae)).attr(
|
|
7375
7380
|
"x",
|
|
7376
|
-
(N) => oe(-Math.PI / 2, D(N),
|
|
7377
|
-
).attr("y", (N) => oe(-Math.PI / 2, D(N),
|
|
7381
|
+
(N) => oe(-Math.PI / 2, D(N), w).x + u
|
|
7382
|
+
).attr("y", (N) => oe(-Math.PI / 2, D(N), w).y).style("text-anchor", "start").style("dominant-baseline", "middle").call(
|
|
7378
7383
|
(N) => N.transition().call(
|
|
7379
7384
|
(P) => this.services.transitions.setupTransition({
|
|
7380
7385
|
transition: P,
|
|
@@ -7392,8 +7397,8 @@ class Xh extends q {
|
|
|
7392
7397
|
})
|
|
7393
7398
|
).text((P) => P).attr("opacity", 1).attr(
|
|
7394
7399
|
"x",
|
|
7395
|
-
(P) => oe(-Math.PI / 2, D(P),
|
|
7396
|
-
).attr("y", (P) => oe(-Math.PI / 2, D(P),
|
|
7400
|
+
(P) => oe(-Math.PI / 2, D(P), w).x + u
|
|
7401
|
+
).attr("y", (P) => oe(-Math.PI / 2, D(P), w).y)
|
|
7397
7402
|
),
|
|
7398
7403
|
(_) => _.call(
|
|
7399
7404
|
(N) => N.transition().call(
|
|
@@ -7873,23 +7878,23 @@ class Qh extends q {
|
|
|
7873
7878
|
name: "tree-update-viewbox",
|
|
7874
7879
|
animate: !0
|
|
7875
7880
|
})
|
|
7876
|
-
).attr("viewBox", [-p.left, j.x, n, C].join(" ")), z =
|
|
7881
|
+
).attr("viewBox", [-p.left, j.x, n, C].join(" ")), z = M.selectAll("g").data(I, (H) => H.id), w = this, Q = z.enter().append("g").attr("transform", () => `translate(${L.y0},${L.x0})`).attr(
|
|
7877
7882
|
"class",
|
|
7878
7883
|
(H) => H.depth !== 0 && H.children && H.children.length > 0 ? "clickable" : null
|
|
7879
7884
|
).on("mouseover", function(H, Z) {
|
|
7880
|
-
|
|
7885
|
+
w.services.events.dispatchEvent(f.Tree.NODE_MOUSEOVER, {
|
|
7881
7886
|
event: H,
|
|
7882
7887
|
element: x(this),
|
|
7883
7888
|
datum: Z
|
|
7884
7889
|
});
|
|
7885
7890
|
}).on("click", function(H, Z) {
|
|
7886
|
-
Z.depth !== 0 && (Z.children = Z.children ? null : Z._children, m(Z)),
|
|
7891
|
+
Z.depth !== 0 && (Z.children = Z.children ? null : Z._children, m(Z)), w.services.events.dispatchEvent(f.Tree.NODE_CLICK, {
|
|
7887
7892
|
event: H,
|
|
7888
7893
|
element: x(this),
|
|
7889
7894
|
datum: Z
|
|
7890
7895
|
});
|
|
7891
7896
|
}).on("mouseout", function(H, Z) {
|
|
7892
|
-
|
|
7897
|
+
w.services.events.dispatchEvent(f.Tree.NODE_MOUSEOUT, {
|
|
7893
7898
|
event: H,
|
|
7894
7899
|
element: x(this),
|
|
7895
7900
|
datum: Z
|
|
@@ -7916,11 +7921,11 @@ class Qh extends q {
|
|
|
7916
7921
|
h.x0 = g / 2, h.y0 = 0, h.descendants().forEach((L, I) => {
|
|
7917
7922
|
L.id = I, L._children = L.children;
|
|
7918
7923
|
}), T(h), t.attr("viewBox", [-p.left, -p.top, n, u]).style("user-select", "none");
|
|
7919
|
-
const A = t.append("g").attr("class", "links"),
|
|
7924
|
+
const A = t.append("g").attr("class", "links"), M = t.append("g").attr("class", "nodes");
|
|
7920
7925
|
m(h);
|
|
7921
7926
|
}
|
|
7922
7927
|
}
|
|
7923
|
-
var
|
|
7928
|
+
var Ml = "#000000", wl = "#ffffff", Cl = "#fcf4d6", _l = "#fddc69", Il = "#f1c21b", Rl = "#d2a106", kl = "#b28600", Dl = "#8e6a00", Nl = "#684e00", Pl = "#483700", Vl = "#302400", Gl = "#1c1500", Bl = {
|
|
7924
7929
|
10: Cl,
|
|
7925
7930
|
20: _l,
|
|
7926
7931
|
30: Il,
|
|
@@ -7964,7 +7969,7 @@ var wl = "#000000", Ml = "#ffffff", Cl = "#fcf4d6", _l = "#fddc69", Il = "#f1c21
|
|
|
7964
7969
|
80: mc,
|
|
7965
7970
|
90: fc,
|
|
7966
7971
|
100: vc
|
|
7967
|
-
}, Ec = "#f6f2ff", bc = "#e8daff", Sc = "#d4bbff", Oc = "#be95ff", xc = "#a56eff", Tc = "#8a3ffc", Lc = "#6929c4", Ac = "#491d8b",
|
|
7972
|
+
}, Ec = "#f6f2ff", bc = "#e8daff", Sc = "#d4bbff", Oc = "#be95ff", xc = "#a56eff", Tc = "#8a3ffc", Lc = "#6929c4", Ac = "#491d8b", Mc = "#31135e", wc = "#1c0f30", Cc = {
|
|
7968
7973
|
10: Ec,
|
|
7969
7974
|
20: bc,
|
|
7970
7975
|
30: Sc,
|
|
@@ -7973,8 +7978,8 @@ var wl = "#000000", Ml = "#ffffff", Cl = "#fcf4d6", _l = "#fddc69", Il = "#f1c21
|
|
|
7973
7978
|
60: Tc,
|
|
7974
7979
|
70: Lc,
|
|
7975
7980
|
80: Ac,
|
|
7976
|
-
90:
|
|
7977
|
-
100:
|
|
7981
|
+
90: Mc,
|
|
7982
|
+
100: wc
|
|
7978
7983
|
}, _c = "#edf5ff", Ic = "#d0e2ff", Rc = "#a6c8ff", kc = "#78a9ff", Dc = "#4589ff", Nc = "#0f62fe", Pc = "#0043ce", Vc = "#002d9c", Gc = "#001d6c", Bc = "#001141", Hc = {
|
|
7979
7984
|
10: _c,
|
|
7980
7985
|
20: Ic,
|
|
@@ -8019,7 +8024,7 @@ var wl = "#000000", Ml = "#ffffff", Cl = "#fcf4d6", _l = "#fddc69", Il = "#f1c21
|
|
|
8019
8024
|
80: fd,
|
|
8020
8025
|
90: vd,
|
|
8021
8026
|
100: yd
|
|
8022
|
-
}, bd = "#f2f4f8", Sd = "#dde1e6", Od = "#c1c7cd", xd = "#a2a9b0", Td = "#878d96", Ld = "#697077", Ad = "#4d5358",
|
|
8027
|
+
}, bd = "#f2f4f8", Sd = "#dde1e6", Od = "#c1c7cd", xd = "#a2a9b0", Td = "#878d96", Ld = "#697077", Ad = "#4d5358", Md = "#343a3f", wd = "#21272a", Cd = "#121619", _d = {
|
|
8023
8028
|
10: bd,
|
|
8024
8029
|
20: Sd,
|
|
8025
8030
|
30: Od,
|
|
@@ -8027,8 +8032,8 @@ var wl = "#000000", Ml = "#ffffff", Cl = "#fcf4d6", _l = "#fddc69", Il = "#f1c21
|
|
|
8027
8032
|
50: Td,
|
|
8028
8033
|
60: Ld,
|
|
8029
8034
|
70: Ad,
|
|
8030
|
-
80:
|
|
8031
|
-
90:
|
|
8035
|
+
80: Md,
|
|
8036
|
+
90: wd,
|
|
8032
8037
|
100: Cd
|
|
8033
8038
|
}, Id = "#f4f4f4", Rd = "#e0e0e0", kd = "#c6c6c6", Dd = "#a8a8a8", Nd = "#8d8d8d", Pd = "#6f6f6f", Vd = "#525252", Gd = "#393939", Bd = "#262626", Hd = "#161616", $d = {
|
|
8034
8039
|
10: Id,
|
|
@@ -8054,7 +8059,7 @@ var wl = "#000000", Ml = "#ffffff", Cl = "#fcf4d6", _l = "#fddc69", Il = "#f1c21
|
|
|
8054
8059
|
100: Kd
|
|
8055
8060
|
}, Xs = {
|
|
8056
8061
|
black: {
|
|
8057
|
-
100:
|
|
8062
|
+
100: Ml
|
|
8058
8063
|
},
|
|
8059
8064
|
blue: Hc,
|
|
8060
8065
|
coolGray: _d,
|
|
@@ -8068,7 +8073,7 @@ var wl = "#000000", Ml = "#ffffff", Cl = "#fcf4d6", _l = "#fddc69", Il = "#f1c21
|
|
|
8068
8073
|
teal: ld,
|
|
8069
8074
|
warmGray: Jd,
|
|
8070
8075
|
white: {
|
|
8071
|
-
0:
|
|
8076
|
+
0: wl
|
|
8072
8077
|
},
|
|
8073
8078
|
yellow: Bl
|
|
8074
8079
|
};
|
|
@@ -8562,8 +8567,8 @@ export {
|
|
|
8562
8567
|
Fh as O,
|
|
8563
8568
|
bh as P,
|
|
8564
8569
|
Wh as Q,
|
|
8565
|
-
|
|
8566
|
-
|
|
8570
|
+
wa as R,
|
|
8571
|
+
Mh as S,
|
|
8567
8572
|
_s as T,
|
|
8568
8573
|
jh as U,
|
|
8569
8574
|
Al as V,
|
|
@@ -8589,7 +8594,7 @@ export {
|
|
|
8589
8594
|
Rh as e,
|
|
8590
8595
|
_h as f,
|
|
8591
8596
|
Ch as g,
|
|
8592
|
-
|
|
8597
|
+
wh as h,
|
|
8593
8598
|
kh as i,
|
|
8594
8599
|
Dh as j,
|
|
8595
8600
|
fh as k,
|
|
@@ -8609,4 +8614,4 @@ export {
|
|
|
8609
8614
|
Oh as y,
|
|
8610
8615
|
Th as z
|
|
8611
8616
|
};
|
|
8612
|
-
//# sourceMappingURL=choropleth-
|
|
8617
|
+
//# sourceMappingURL=choropleth-o0OXZNlE.mjs.map
|