@arcgis/charts-components 5.2.0-next.46 → 5.2.0-next.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/DE2ZKH4C.js +2 -0
- package/dist/cdn/{PDIPSQV3.js → UFFXU3Y6.js} +11 -11
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/components/arcgis-chart/customElement.js +104 -103
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +57 -26
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/package.json +3 -3
- package/dist/cdn/S7AL3YYR.js +0 -2
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { g as Uf, c as jf } from "../../chunks/runtime.js";
|
|
3
3
|
import * as Pt from "@arcgis/core/core/reactiveUtils.js";
|
|
4
4
|
import { substitute as Ki } from "@arcgis/core/intl.js";
|
|
5
|
-
import { LitElement as qf, createEvent as
|
|
5
|
+
import { LitElement as qf, createEvent as ut, safeClassMap as Hn } from "@arcgis/lumina";
|
|
6
6
|
import { unsafeGetElementDirection as Ls, observeAncestorsMutation as Zf, unsafeGetCalciteModeName as Ur } from "@arcgis/toolkit/dom";
|
|
7
7
|
import { getElementLocale as Na } from "@arcgis/toolkit/intl/dom";
|
|
8
8
|
import { log as Kf } from "@arcgis/toolkit/log";
|
|
@@ -11,14 +11,14 @@ import { snapdom as Qf } from "@zumer/snapdom";
|
|
|
11
11
|
import Jf from "jszip";
|
|
12
12
|
import { html as Ja, css as em } from "lit";
|
|
13
13
|
import { createRef as tm, ref as qr } from "lit/directives/ref.js";
|
|
14
|
-
import { cloneDeep as Ie, isEqual as Mt, isEmpty as ba, debounce as
|
|
14
|
+
import { cloneDeep as Ie, isEqual as Mt, isEmpty as ba, debounce as ht } from "lodash-es";
|
|
15
15
|
import { H as $t } from "../../chunks/resources.js";
|
|
16
16
|
import { XYChart as de, PieChart as we, AxisFill as im, AxisFillCircular as am, DateAxis as Pe, ValueAxis as Le, CategoryAxis as st, CategoryAxisDataItem as Aa, DateAxisDataItem as tn, LineSeries as ve, ColumnSeries as rt, PieSeries as Vt, GaugeChart as Ft, XYCursor as lc, XYSeries as mi, SerialChart as cc, Cursor as om, AxisLabel as Fs, ColumnSeriesDataItem as As, LineSeriesDataItem as Pa, CandlestickSeries as He, StepLineSeries as kt, LegendDataItem as aa, Series as dc, CandlestickSeriesDataItem as nm, PieSeriesDataItem as gi, Legend as sm, AxisRendererX as Ct, AxisRendererCircular as an, AxisLabelCircular as Ts, ValueAxisDataItem as ks, AxisRendererY as Va, ClockHand as rm, Chart as uc } from "@amcharts/amcharts4/charts.js";
|
|
17
|
-
import { Color as No, percent as
|
|
17
|
+
import { Color as No, percent as ft, LinePattern as fc, RectPattern as mc, color as on, DateFormatter as gc, NumberFormatter as hc, Group as lm, MouseCursorStyle as jt, Label as Po, DropShadowFilter as cm, Sprite as Is, utils as pc, Tooltip as bc, Container as dm, RoundedRectangle as um, Percent as Vo, Slice as fm, options as eo, useTheme as mm, unuseTheme as gm, create as Ds } from "@amcharts/amcharts4/core.js";
|
|
18
18
|
import Zr from "@amcharts/amcharts4/themes/animated.js";
|
|
19
19
|
import { u as y, q as le, a as yc, r as Yt, s as ye, k as G, p as nn, m as Sc, l as Kr, W as Sa, j as Se, h as Ca, S as Qr, d as _n, o as Jr, v as hm } from "../../chunks/chart-object-literals.js";
|
|
20
|
-
import { c7 as At, c8 as Cc, c9 as xc, x as Ut, b4 as vc, aP as Lc, aO as Os, bZ as ws, ca as Fc, cb as Ac, ba as pm, Y as q, af as
|
|
21
|
-
import { F as X, g as _i, C as E, d as Be, B as _e, q as fe, b as un, a as Gn, A as Z, o as je, l as
|
|
20
|
+
import { c7 as At, c8 as Cc, c9 as xc, x as Ut, b4 as vc, aP as Lc, aO as Os, bZ as ws, ca as Fc, cb as Ac, ba as pm, Y as q, af as mt, an as oa, I as St, cc as Wt, cd as Rs, m as ti, n as xa, a2 as po, ce as $s, cf as ci, cg as xt, ch as bo, ci as Bs, cj as hi, ck as Ms, cl as ii, cm as Ta, cn as ai, by as Tc, co as bt, h as es, bT as bm, b9 as Ns, aG as Kt, aH as na, B as ee, W as pe, bn as ym, cp as sn, cq as $i, aK as Si, cr as Ci, cs as Bi, ct as wt, bo as Ps, w as sa, bG as rn, cu as Vs, cv as kc, cw as Ws, a6 as Es, cx as _t, bi as ao, cy as zs, cz as Wa, c as Ic, cA as Dc, bd as pi, cB as Oc, cC as ln, ay as Hs, A as Ii, cD as wc, cE as _s, R as Gs, _ as Rc, c6 as Xs, cF as $c, bg as va, cG as el, cH as Ea, cI as ka, cJ as Ys, b as Sm, aj as Bc, cK as Mc, E as to, bj as cn, b8 as Nc, b1 as Pc, aS as Cm, b2 as xm, b0 as vm, b7 as Lm, cL as Vc, cM as Wc, a$ as Fm, b5 as Am, cN as Hi, cO as Tm, cP as dn, cQ as L, cR as Ec, cS as km, cT as Im, cU as oi, bk as Dm, bb as Om, cV as oo, c4 as wm, bf as ya, ak as Us, cW as Rm, cX as zc, $ as $m, bu as Bm, aN as Mm, b6 as Nm, aZ as Pm, b3 as Vm, o as Wm, aY as Em, aX as zm, aW as Hm, aT as _m, aU as Gm, ar as Xm, P as Ym, bx as tl, bt as Um, q as jm, cY as qm, ae as Zm, aQ as Km, i as Qm, aC as Jm, cZ as eg, c_ as tg, a as ig, bW as ag, bV as og, bX as ng, Z as sg, D as Ti, bc as rg, c$ as lg, d0 as cg, a_ as dg, d1 as ug, aE as fg, e as mg, d2 as gg } from "../../chunks/index2.js";
|
|
21
|
+
import { F as X, g as _i, C as E, d as Be, B as _e, q as fe, b as un, a as Gn, A as Z, o as je, l as dt, S as Re, z as Hc, c as _c, k as Wo, p as $o, O as ke, j as Gc, E as hg } from "../../chunks/index3.js";
|
|
22
22
|
import "@amcharts/amcharts4/.internal/charts/axes/Axis.js";
|
|
23
23
|
import { g as Ge, f as Ze, i as J, e as Xn, R as fn, h as Eo } from "../../chunks/rest-js-object-literals.js";
|
|
24
24
|
import { an as Ji, aC as js, q as yo, ay as Nt, a5 as ts, aB as pg, t as bg, aA as Ia, k as De, a0 as qs, a2 as Zs, g as Ks, X as Xc, Y as Yc, B as Qs, ae as Uc, _ as mn, a8 as yg, a7 as Sg, z as jc, o as Js, e as Cg, as as xg, S as vg, af as qc, ac as Zc, ad as Lg, w as Fg, G as Da, j as il, f as Ag } from "../../chunks/index.js";
|
|
@@ -79,7 +79,7 @@ function R(t, e) {
|
|
|
79
79
|
function te(t, e) {
|
|
80
80
|
la(t, e);
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function ct(t, e) {
|
|
83
83
|
return ca(t, e);
|
|
84
84
|
}
|
|
85
85
|
function Gt(t, e) {
|
|
@@ -167,7 +167,7 @@ function hl(t) {
|
|
|
167
167
|
e = t;
|
|
168
168
|
else if (t.includes("%")) {
|
|
169
169
|
const i = Number.parseFloat(t.trim().replace("%", "").trim());
|
|
170
|
-
Number.isFinite(i) && (e =
|
|
170
|
+
Number.isFinite(i) && (e = ft(i));
|
|
171
171
|
}
|
|
172
172
|
return e;
|
|
173
173
|
}
|
|
@@ -455,7 +455,7 @@ function os(t) {
|
|
|
455
455
|
return `${t[0]},${t[1]},${t[2]}`;
|
|
456
456
|
}
|
|
457
457
|
function Wh(t) {
|
|
458
|
-
const { chartConfig: e, queryObject: i, popupTemplateFieldInfosEnabled: a, labelUpdateNeeded: o, utilsStrings: n } = t, { series: s } = e, r = s[0], { x: l } = r, c = !pm({ chartConfig: e }), d = q([r]), u = d === E.PieFromFields, f =
|
|
458
|
+
const { chartConfig: e, queryObject: i, popupTemplateFieldInfosEnabled: a, labelUpdateNeeded: o, utilsStrings: n } = t, { series: s } = e, r = s[0], { x: l } = r, c = !pm({ chartConfig: e }), d = q([r]), u = d === E.PieFromFields, f = mt(i), g = oa(f).idField, h = St(i, a);
|
|
459
459
|
return {
|
|
460
460
|
x: l,
|
|
461
461
|
isNonAggregatedChart: c,
|
|
@@ -1170,7 +1170,7 @@ function dp(t) {
|
|
|
1170
1170
|
let r = n;
|
|
1171
1171
|
if (s instanceof ve) {
|
|
1172
1172
|
const l = Me(s);
|
|
1173
|
-
l !== void 0 && (a &&
|
|
1173
|
+
l !== void 0 && (a && ct(s.uid, "isBoxPlotOutliersSeries") && (r = jt.default), l.cursorOverStyle = r, l.clones.each((c) => {
|
|
1174
1174
|
c.cursorOverStyle = r;
|
|
1175
1175
|
}));
|
|
1176
1176
|
} else
|
|
@@ -1723,12 +1723,12 @@ function ds(t, e) {
|
|
|
1723
1723
|
let o = i;
|
|
1724
1724
|
const { dataItem: n } = a;
|
|
1725
1725
|
if (co(t) && (e instanceof rt && n instanceof As || e instanceof ve && n instanceof Pa)) {
|
|
1726
|
-
const s =
|
|
1726
|
+
const s = ct(
|
|
1727
1727
|
e.uid,
|
|
1728
1728
|
e instanceof rt ? "barSeriesDataLabelFormatter" : "lineSeriesDataLabelFormatter"
|
|
1729
1729
|
);
|
|
1730
1730
|
if (s !== void 0) {
|
|
1731
|
-
const r = R(e.chart.uid, "isRotated"), l = R(e.chart.uid, "config"), c =
|
|
1731
|
+
const r = R(e.chart.uid, "isRotated"), l = R(e.chart.uid, "config"), c = dt(l), d = r === !0 ? n.valueX : n.valueY, u = r === !0 ? n.values?.valueX?.totalPercent : n.values?.valueY?.totalPercent, f = r === !0 ? (n.component?.xAxis).min : (n.component?.yAxis).min;
|
|
1732
1732
|
o = Ap({
|
|
1733
1733
|
dataValue: d,
|
|
1734
1734
|
series: e,
|
|
@@ -1853,7 +1853,7 @@ function kp(t) {
|
|
|
1853
1853
|
const { chart: e, series: i, seriesType: a, marker: o, numberOfChartSeries: n, ignoreSmoothRenderingLimit: s } = t;
|
|
1854
1854
|
let r = Tp({ marker: o, chart: e });
|
|
1855
1855
|
const l = n ?? 1, c = e.data.length * l + l;
|
|
1856
|
-
s !== !0 && c > A.elementLimitForSmoothRendering && (r =
|
|
1856
|
+
s !== !0 && c > A.elementLimitForSmoothRendering && (r = ht(r, A.debounceTime)), e.xAxes.getIndex(0)?.events.on(P.Validated, r), e.yAxes.getIndex(0)?.events.on(P.Validated, r), a === y.LineSeries && (e.xAxes.getIndex(0)?.events.on(P.Validated, () => {
|
|
1857
1857
|
ls(i);
|
|
1858
1858
|
}), e.yAxes.getIndex(0)?.events.on(P.Validated, () => {
|
|
1859
1859
|
ls(i);
|
|
@@ -1861,7 +1861,7 @@ function kp(t) {
|
|
|
1861
1861
|
}
|
|
1862
1862
|
function $d(t, e) {
|
|
1863
1863
|
t.series.each((i) => {
|
|
1864
|
-
const a =
|
|
1864
|
+
const a = ct(i.uid, e);
|
|
1865
1865
|
a !== void 0 && !a.isDisposed() && a.dispose();
|
|
1866
1866
|
});
|
|
1867
1867
|
}
|
|
@@ -1915,7 +1915,7 @@ function xl() {
|
|
|
1915
1915
|
const f = Me(u);
|
|
1916
1916
|
if (f !== void 0 && !f.disabled) {
|
|
1917
1917
|
const g = f.clones.values.filter((h) => !(h.dataItem instanceof aa))?.length ?? 0;
|
|
1918
|
-
if (
|
|
1918
|
+
if (ct(u.uid, "isBoxPlotMeanLineSeries") === !0) {
|
|
1919
1919
|
r += g;
|
|
1920
1920
|
const h = u.data.filter(
|
|
1921
1921
|
(p) => Number.isFinite(p[u.dataFields.valueX ?? u.dataFields.valueY ?? ""])
|
|
@@ -1983,11 +1983,11 @@ function Op(t, e) {
|
|
|
1983
1983
|
return i;
|
|
1984
1984
|
}
|
|
1985
1985
|
function Bd(t) {
|
|
1986
|
-
const { series: e, callbackInfo: i, seriesConfig: a } = t, { type: o } = i, n = z([a]), s =
|
|
1986
|
+
const { series: e, callbackInfo: i, seriesConfig: a } = t, { type: o } = i, n = z([a]), s = ct(e.uid, "isBoxPlotMeanLineSeries"), r = o === "style" ? "updateStyleCallbackDisposer" : "updateSelectionCallbackDisposer", l = (f) => {
|
|
1987
1987
|
const { type: g } = f;
|
|
1988
1988
|
g === "selection" ? cy(f.callbackProps) : f.styleCallback !== void 0 && (se(e, a.visible), f.styleCallback());
|
|
1989
1989
|
};
|
|
1990
|
-
e.chart.events.once(P.Ready, () => l(i)), e.events.once(P.Ready, () => l(i)),
|
|
1990
|
+
e.chart.events.once(P.Ready, () => l(i)), e.events.once(P.Ready, () => l(i)), ct(e.uid, r)?.dispose();
|
|
1991
1991
|
const c = Op(n, s), u = (n === y.PieSeries ? e.chart : e).events.on(P.Validated, () => {
|
|
1992
1992
|
c !== void 0 && c(e, a) && (u !== void 0 && u.dispose(), l(i));
|
|
1993
1993
|
});
|
|
@@ -2187,13 +2187,13 @@ function Mp(t) {
|
|
|
2187
2187
|
(l) => l instanceof He && l.isHover
|
|
2188
2188
|
);
|
|
2189
2189
|
r === void 0 ? n.forEach((l) => {
|
|
2190
|
-
l instanceof ve && (l.id.includes(ce.Outliers) && l.tooltip?.visible === !0 ||
|
|
2190
|
+
l instanceof ve && (l.id.includes(ce.Outliers) && l.tooltip?.visible === !0 || ct(l.uid, "isBoxPlotMeanLineSeries")) && s.add(l);
|
|
2191
2191
|
}) : s.add(r), n = Array.from(s);
|
|
2192
2192
|
}
|
|
2193
2193
|
} else
|
|
2194
2194
|
n = e.series.values;
|
|
2195
2195
|
return n = n.filter(
|
|
2196
|
-
(s) => s.visible && (!o || !(s instanceof He ||
|
|
2196
|
+
(s) => s.visible && (!o || !(s instanceof He || ct(s.uid, "isBoxPlotOutliersSeries")))
|
|
2197
2197
|
), n;
|
|
2198
2198
|
}
|
|
2199
2199
|
async function Nd(t) {
|
|
@@ -2437,7 +2437,7 @@ function Wd(t, e) {
|
|
|
2437
2437
|
}
|
|
2438
2438
|
function vn(t, e) {
|
|
2439
2439
|
if (t.tooltip) {
|
|
2440
|
-
const i = e.dataTooltipFontSize ?? A.tooltipFontSize, o =
|
|
2440
|
+
const i = e.dataTooltipFontSize ?? A.tooltipFontSize, o = ct(t.uid, "tooltipFontSize") !== i;
|
|
2441
2441
|
t.tooltip.label.fontSize = i, o && !t.tooltip.visible && (t.tooltip.label.html = ""), t.tooltip.label.invalidate(), Gt(t.uid, { tooltipFontSize: i });
|
|
2442
2442
|
}
|
|
2443
2443
|
}
|
|
@@ -2467,7 +2467,7 @@ function Ed(t, e) {
|
|
|
2467
2467
|
if (r === !1)
|
|
2468
2468
|
o = "";
|
|
2469
2469
|
else {
|
|
2470
|
-
const l =
|
|
2470
|
+
const l = ct(
|
|
2471
2471
|
e.uid,
|
|
2472
2472
|
"barAndLineTooltipFormatter"
|
|
2473
2473
|
);
|
|
@@ -2630,7 +2630,7 @@ function Gp(t) {
|
|
|
2630
2630
|
if (h === !1 || p === !1)
|
|
2631
2631
|
u = () => "";
|
|
2632
2632
|
else {
|
|
2633
|
-
const b = g.axes, S = b[0].valueFormat, C = b[1].valueFormat, x = q(g.series), v = i?.find((B) => B.name === s.x)?.type === fn.TimeOnly, F =
|
|
2633
|
+
const b = g.axes, S = b[0].valueFormat, C = b[1].valueFormat, x = q(g.series), v = i?.find((B) => B.name === s.x)?.type === fn.TimeOnly, F = dt(g) === le.Stacked100, T = oa(mt(a)).idField, k = Be(i, s.x), I = Ra(k, b[0].title?.content.text), O = Vd({
|
|
2634
2634
|
config: g,
|
|
2635
2635
|
fieldList: i,
|
|
2636
2636
|
objectIdField: T,
|
|
@@ -2712,7 +2712,7 @@ function mr(t) {
|
|
|
2712
2712
|
if (u === !1)
|
|
2713
2713
|
r = "";
|
|
2714
2714
|
else {
|
|
2715
|
-
const f =
|
|
2715
|
+
const f = ct(
|
|
2716
2716
|
l.uid,
|
|
2717
2717
|
"boxPlotTooltipFormatter"
|
|
2718
2718
|
);
|
|
@@ -3484,7 +3484,7 @@ function hb(t) {
|
|
|
3484
3484
|
const e = t.baseSprite;
|
|
3485
3485
|
let i = "";
|
|
3486
3486
|
if (e instanceof de) {
|
|
3487
|
-
const a = R(e.uid, "config"), o = je(a), n = o ? m.Rotated : m.NonRotated, s =
|
|
3487
|
+
const a = R(e.uid, "config"), o = je(a), n = o ? m.Rotated : m.NonRotated, s = dt(a);
|
|
3488
3488
|
let r = m.SideBySide;
|
|
3489
3489
|
s === le.Stacked ? r = m.Stacked : s === le.Stacked100 && (r = m.Stacked100);
|
|
3490
3490
|
const l = e.rtl ? m.RTL : m.LTR;
|
|
@@ -3713,7 +3713,7 @@ function kb(t) {
|
|
|
3713
3713
|
function Ib(t, e) {
|
|
3714
3714
|
e.chartContainer.events.on(
|
|
3715
3715
|
P.SizeChanged,
|
|
3716
|
-
|
|
3716
|
+
ht(() => {
|
|
3717
3717
|
let a = R(e.uid, "config")?.legend?.maxHeight ?? Number.NaN;
|
|
3718
3718
|
Number.isFinite(a) || (t.position === G.Top || t.position === G.Bottom ? a = A.legendProperties.maxHeight : a = e instanceof we ? e.chartContainer.measuredHeight : e.seriesContainer.measuredHeight), t.maxHeight = a, t.invalidateLayout();
|
|
3719
3719
|
}),
|
|
@@ -3784,7 +3784,7 @@ function $b(t) {
|
|
|
3784
3784
|
b.dataFields[O] = A.xAxisField;
|
|
3785
3785
|
}
|
|
3786
3786
|
b.dataFields.customValue = u?.query?.where;
|
|
3787
|
-
const k =
|
|
3787
|
+
const k = mt(n);
|
|
3788
3788
|
Zd({
|
|
3789
3789
|
series: b,
|
|
3790
3790
|
seriesConfig: u,
|
|
@@ -4558,8 +4558,8 @@ function ay(t) {
|
|
|
4558
4558
|
function oy(t) {
|
|
4559
4559
|
const { chart: e, chartType: i, showMean: a } = t;
|
|
4560
4560
|
return e.series.values.filter(
|
|
4561
|
-
(n) => i !== y.BoxPlotSeries || !a && n instanceof He || a &&
|
|
4562
|
-
).every((n) =>
|
|
4561
|
+
(n) => i !== y.BoxPlotSeries || !a && n instanceof He || a && ct(n.uid, "isBoxPlotMeanLineSeries")
|
|
4562
|
+
).every((n) => ct(n.uid, "isSelectionApplied") === !0);
|
|
4563
4563
|
}
|
|
4564
4564
|
function ny(t) {
|
|
4565
4565
|
t.series.each((e) => Gt(e.uid, { isSelectionApplied: void 0 }));
|
|
@@ -4724,7 +4724,7 @@ function ly(t) {
|
|
|
4724
4724
|
const s = Me(n);
|
|
4725
4725
|
s !== void 0 && o.push(...s.clones.values);
|
|
4726
4726
|
}
|
|
4727
|
-
} else if (a === !0 && e instanceof ve &&
|
|
4727
|
+
} else if (a === !0 && e instanceof ve && ct(e.uid, "isBoxPlotMeanLineSeries")) {
|
|
4728
4728
|
const n = Me(e);
|
|
4729
4729
|
n !== void 0 && (o = n.clones.values);
|
|
4730
4730
|
}
|
|
@@ -4751,7 +4751,7 @@ function cy(t) {
|
|
|
4751
4751
|
series: e,
|
|
4752
4752
|
chartType: F,
|
|
4753
4753
|
showMean: v
|
|
4754
|
-
}), k = q(S?.series), I =
|
|
4754
|
+
}), k = q(S?.series), I = mt(a), O = oa(I).idField, w = R(
|
|
4755
4755
|
b.uid,
|
|
4756
4756
|
"currentSelectionDataItems"
|
|
4757
4757
|
);
|
|
@@ -4921,7 +4921,7 @@ async function vo(t) {
|
|
|
4921
4921
|
else
|
|
4922
4922
|
try {
|
|
4923
4923
|
$d(e, "updateSelectionCallbackDisposer");
|
|
4924
|
-
const c =
|
|
4924
|
+
const c = mt(o), d = "objectIdField" in c ? c.objectIdField : void 0, u = Ci(r), f = [];
|
|
4925
4925
|
let g = [], h = [];
|
|
4926
4926
|
const p = /* @__PURE__ */ new Map(), { xAxisField: b } = i[0] ?? {}, S = z(r?.series), C = q(r?.series), x = Si(r?.series ?? []), F = St(o).find((k) => k.name === b)?.type;
|
|
4927
4927
|
if (i.forEach((k) => {
|
|
@@ -5114,13 +5114,13 @@ function Pi(t) {
|
|
|
5114
5114
|
function go(t) {
|
|
5115
5115
|
const { chart: e, labelType: i } = t;
|
|
5116
5116
|
Pi(t);
|
|
5117
|
-
const a = i === K.YAxisTitle ? 1 : 0, o =
|
|
5117
|
+
const a = i === K.YAxisTitle ? 1 : 0, o = ht(() => Pi(t), A.debounceTime);
|
|
5118
5118
|
e.events.on(P.Validated, o, a), (i === K.YAxisTitle || i === K.XAxisTitle) && e instanceof de && e.seriesContainer.events.on(P.SizeChanged, o, a);
|
|
5119
5119
|
}
|
|
5120
5120
|
function qo(t, e) {
|
|
5121
5121
|
t.events.on(
|
|
5122
5122
|
P.Validated,
|
|
5123
|
-
|
|
5123
|
+
ht(() => {
|
|
5124
5124
|
e.visible = t.measuredWidth !== 0;
|
|
5125
5125
|
}, A.debounceTime)
|
|
5126
5126
|
);
|
|
@@ -5449,7 +5449,7 @@ function By(t) {
|
|
|
5449
5449
|
const r = i.content.font?.size ?? A.generalFontSize, l = e instanceof st ? A.categoryAxisLabelPadding : A.axisLabelPadding;
|
|
5450
5450
|
s = r * l;
|
|
5451
5451
|
} else if (a === Se.Wrap) {
|
|
5452
|
-
const r =
|
|
5452
|
+
const r = ht(
|
|
5453
5453
|
$y,
|
|
5454
5454
|
A.debounceTime
|
|
5455
5455
|
);
|
|
@@ -5565,21 +5565,21 @@ function _y(t) {
|
|
|
5565
5565
|
}
|
|
5566
5566
|
function kl(t) {
|
|
5567
5567
|
My(t), t.renderer.labels.template.paddingLeft = 0, t.renderer.labels.template.paddingRight = 0, t.renderer.labels.template.maxWidth = Number.NaN;
|
|
5568
|
-
const e =
|
|
5568
|
+
const e = ht(Ny, A.debounceTime, {
|
|
5569
5569
|
leading: !0
|
|
5570
5570
|
});
|
|
5571
5571
|
Ue(t.uid, { debouncedAxisLabelRotationCallback: e }), t.events.on(P.Validated, e), t.dispatchImmediately(P.Validated);
|
|
5572
5572
|
}
|
|
5573
5573
|
function Il(t, e = 1) {
|
|
5574
5574
|
t.renderer.labels.template.wrap = !0, t.renderer.labels.template.paddingLeft = 0.5, t.renderer.labels.template.paddingRight = 0.5, t.renderer.labels.template.textAlign = "middle";
|
|
5575
|
-
const i =
|
|
5575
|
+
const i = ht((a) => Py(a, e), A.debounceTime);
|
|
5576
5576
|
Ue(t.uid, { debouncedAxisLabelWrapCallback: i }), t.events.on(P.DataRangeChanged, i);
|
|
5577
5577
|
}
|
|
5578
5578
|
function Gy(t) {
|
|
5579
5579
|
t.renderer.labels.template.maxWidth = A.yAxisLabelMaxWidth, t.renderer.labels.template.wrap = !0, t.renderer.labels.template.textAlign = "end";
|
|
5580
5580
|
}
|
|
5581
5581
|
function Xy(t) {
|
|
5582
|
-
const e =
|
|
5582
|
+
const e = ht(Vy, A.debounceTime);
|
|
5583
5583
|
Ue(t.uid, { debouncedAxisLabelStaggerCallback: e }), t.events.on(P.DataRangeChanged, e);
|
|
5584
5584
|
}
|
|
5585
5585
|
function Yy(t) {
|
|
@@ -5650,7 +5650,7 @@ function qy(t, e) {
|
|
|
5650
5650
|
const n = ri(A.dataLabelInitialize, t.columns.template);
|
|
5651
5651
|
return Ni(n.uid, { isDataLabel: !0 }), ds(n, t), ds(o, t), t.events.on(
|
|
5652
5652
|
P.Validated,
|
|
5653
|
-
|
|
5653
|
+
ht(() => {
|
|
5654
5654
|
co(n) && n.clones.each((s) => {
|
|
5655
5655
|
co(s) && s.validate();
|
|
5656
5656
|
});
|
|
@@ -5745,7 +5745,7 @@ function eS(t) {
|
|
|
5745
5745
|
labelType: e.renderer instanceof Ct ? K.XAxisTitle : K.YAxisTitle
|
|
5746
5746
|
}), Qy(e), e.renderer instanceof Ct && (e.events.on(
|
|
5747
5747
|
P.SizeChanged,
|
|
5748
|
-
|
|
5748
|
+
ht(() => {
|
|
5749
5749
|
Pi({
|
|
5750
5750
|
chart: e.chart,
|
|
5751
5751
|
label: e.title,
|
|
@@ -5754,7 +5754,7 @@ function eS(t) {
|
|
|
5754
5754
|
}, A.debounceTime)
|
|
5755
5755
|
), e.events.on(
|
|
5756
5756
|
P.Validated,
|
|
5757
|
-
|
|
5757
|
+
ht(() => {
|
|
5758
5758
|
Ry({ axis: e, restoreLabelsVisibility: !0 });
|
|
5759
5759
|
}, A.debounceTime)
|
|
5760
5760
|
));
|
|
@@ -5794,7 +5794,7 @@ function tS(t) {
|
|
|
5794
5794
|
}
|
|
5795
5795
|
}
|
|
5796
5796
|
function iS(t) {
|
|
5797
|
-
t.events.on(P.Validated,
|
|
5797
|
+
t.events.on(P.Validated, ht(tS, A.debounceTime));
|
|
5798
5798
|
}
|
|
5799
5799
|
function aS(t) {
|
|
5800
5800
|
const { axis: e, isNonAggregatedChart: i } = t;
|
|
@@ -5917,7 +5917,7 @@ function lS(t) {
|
|
|
5917
5917
|
const { chart: d } = e, u = R(d.uid, "isRotated"), f = R(d.uid, "config");
|
|
5918
5918
|
let g = 0;
|
|
5919
5919
|
if (d instanceof de && f !== void 0) {
|
|
5920
|
-
const h =
|
|
5920
|
+
const h = dt(f), p = Lo(e.renderer, u), b = Ip(d), S = Gs({
|
|
5921
5921
|
chartConfig: f,
|
|
5922
5922
|
isSecondaryYAxis: o,
|
|
5923
5923
|
seriesIds: b
|
|
@@ -6012,12 +6012,12 @@ function mS(t, e) {
|
|
|
6012
6012
|
return e === y.BoxPlotSeries && (i = t instanceof He), i;
|
|
6013
6013
|
}
|
|
6014
6014
|
function nu(t) {
|
|
6015
|
-
const e =
|
|
6015
|
+
const e = ht(() => {
|
|
6016
6016
|
const { chart: i } = t, a = R(i.uid, "config");
|
|
6017
6017
|
if (i !== void 0 && a !== void 0) {
|
|
6018
6018
|
const o = z(a?.series);
|
|
6019
6019
|
if (mS(t, o)) {
|
|
6020
|
-
const n = R(i.uid, "isRotated"), s =
|
|
6020
|
+
const n = R(i.uid, "isRotated"), s = dt(a);
|
|
6021
6021
|
s === le.Stacked100 && !t.visible && se(t, !1);
|
|
6022
6022
|
const l = i.xAxes.getIndex(0), c = i.yAxes.getIndex(0), d = i.yAxes.getIndex(1), u = n === !0 ? 1 : 0, f = a.axes?.[u], g = n === !0 ? 0 : 1, h = a.axes?.[g], p = a.axes?.[2];
|
|
6023
6023
|
[
|
|
@@ -6151,7 +6151,7 @@ function hS(t) {
|
|
|
6151
6151
|
queryObject: h
|
|
6152
6152
|
} = t;
|
|
6153
6153
|
let { axisLabelsBehaviorChanged: p } = t;
|
|
6154
|
-
const b = R(e.uid, "config"), S = b.axes, { horizontalAxisLabelsBehavior: C, verticalAxisLabelsBehavior: x } = b, v = z(b.series), F =
|
|
6154
|
+
const b = R(e.uid, "config"), S = b.axes, { horizontalAxisLabelsBehavior: C, verticalAxisLabelsBehavior: x } = b, v = z(b.series), F = dt(b), k = R(e.uid, "fieldList")?.some((Fe) => Fe.name === b.series[0].x && Fe.type === fn.TimeOnly) ?? !1, I = rn({ chartConfig: b, queryObject: h, options: u }), O = sa(b.series[0]) ? b.series[0].temporalBinning?.outTimeZone : void 0, w = a === !0 ? 1 : 0, B = a === !0 ? 0 : 1, M = S?.[w], $ = S?.[B];
|
|
6155
6155
|
let N = e.xAxes.getIndex(0);
|
|
6156
6156
|
su({
|
|
6157
6157
|
chart: e,
|
|
@@ -6247,7 +6247,7 @@ function bS(t) {
|
|
|
6247
6247
|
utilsStrings: h,
|
|
6248
6248
|
errorStrings: p,
|
|
6249
6249
|
queryObject: b
|
|
6250
|
-
} = t, S =
|
|
6250
|
+
} = t, S = dt(i);
|
|
6251
6251
|
hS({
|
|
6252
6252
|
chart: e,
|
|
6253
6253
|
rotationChanged: a,
|
|
@@ -6600,12 +6600,12 @@ function IS(t) {
|
|
|
6600
6600
|
const e = t.xAxes.getIndex(0);
|
|
6601
6601
|
e !== void 0 && (e.events.on(P.SizeChanged, () => gs(t)), e.events.on(
|
|
6602
6602
|
P.Validated,
|
|
6603
|
-
|
|
6603
|
+
ht(() => gs(t), A.debounceTime)
|
|
6604
6604
|
));
|
|
6605
6605
|
}
|
|
6606
6606
|
function cu(t) {
|
|
6607
6607
|
const e = t.hands.push(new rm()), i = A.gaugeNeedle, { startWidth: a, endWidth: o, innerRadius: n } = i;
|
|
6608
|
-
e.pin.disabled = !0, e.startWidth = a ?? Number.NaN, e.endWidth = o ?? Number.NaN, e.innerRadius =
|
|
6608
|
+
e.pin.disabled = !0, e.startWidth = a ?? Number.NaN, e.endWidth = o ?? Number.NaN, e.innerRadius = ft(n ?? Number.NaN);
|
|
6609
6609
|
const s = t.xAxes.getIndex(0);
|
|
6610
6610
|
return s !== void 0 && (e.axis = s), e;
|
|
6611
6611
|
}
|
|
@@ -6638,7 +6638,7 @@ function wS(t) {
|
|
|
6638
6638
|
if (o !== void 0) {
|
|
6639
6639
|
uo({ element: o, fillSymbol: i?.symbol });
|
|
6640
6640
|
const { startWidth: n, endWidth: s, innerRadius: r } = A.gaugeNeedle;
|
|
6641
|
-
o.value = OS(e, a), o.pin.disabled = i?.displayPin !== !0, o.visible = i?.visible ?? !0, o.startWidth = i?.startWidth ?? n, o.endWidth = i?.endWidth ?? s, o.innerRadius =
|
|
6641
|
+
o.value = OS(e, a), o.pin.disabled = i?.displayPin !== !0, o.visible = i?.visible ?? !0, o.startWidth = i?.startWidth ?? n, o.endWidth = i?.endWidth ?? s, o.innerRadius = ft(i?.innerRadius ?? r);
|
|
6642
6642
|
}
|
|
6643
6643
|
}
|
|
6644
6644
|
function RS(t) {
|
|
@@ -7250,7 +7250,7 @@ function mu(t) {
|
|
|
7250
7250
|
}
|
|
7251
7251
|
function cC(t) {
|
|
7252
7252
|
t.events.on(P.Validated, () => {
|
|
7253
|
-
const e =
|
|
7253
|
+
const e = ct(
|
|
7254
7254
|
t.uid,
|
|
7255
7255
|
"barSeriesLastUpdate"
|
|
7256
7256
|
);
|
|
@@ -7278,7 +7278,7 @@ function dC(t) {
|
|
|
7278
7278
|
rotationChanged: !1,
|
|
7279
7279
|
stackedType: i.stackedType,
|
|
7280
7280
|
isRotated: p
|
|
7281
|
-
}), f.dataFields.customValue = c?.query?.where, Ed(f.columns.template, f), f.columns.template.width =
|
|
7281
|
+
}), f.dataFields.customValue = c?.query?.where, Ed(f.columns.template, f), f.columns.template.width = ft(100), nC(f), ua({
|
|
7282
7282
|
element: f.columns.template,
|
|
7283
7283
|
customSelectionTheme: n
|
|
7284
7284
|
}), Co({ chart: e, element: f.columns.template, queryObject: s, errorStrings: r }), hr(f), cC(f), da(f), f;
|
|
@@ -7315,7 +7315,7 @@ function uC(t) {
|
|
|
7315
7315
|
}
|
|
7316
7316
|
function fC(t) {
|
|
7317
7317
|
t.labels.template.adapter.add("html", (e, i) => {
|
|
7318
|
-
const a =
|
|
7318
|
+
const a = ct(
|
|
7319
7319
|
t.uid,
|
|
7320
7320
|
"pieChartDataLabelFormatter"
|
|
7321
7321
|
);
|
|
@@ -7394,7 +7394,7 @@ function hC(t) {
|
|
|
7394
7394
|
skipSettingText: !0
|
|
7395
7395
|
}), e.alignLabels = !s && (i.alignDataLabels ?? A.pieChart.alignDataLabels);
|
|
7396
7396
|
const r = e.labels.template.radius;
|
|
7397
|
-
e.chart.invalidateData(), (s && r !==
|
|
7397
|
+
e.chart.invalidateData(), (s && r !== ft(-40) || !s && r === ft(-40) || n !== void 0 && Number.isFinite(n) && r !== n) && (e.labels.template.radius = s ? ft(-40) : n, e.invalidate());
|
|
7398
7398
|
}
|
|
7399
7399
|
function pC(t, e) {
|
|
7400
7400
|
let i = (h, p, b) => A.htmlEmptyContent;
|
|
@@ -7448,7 +7448,7 @@ function yC(t) {
|
|
|
7448
7448
|
if (r === !1)
|
|
7449
7449
|
a.tooltip.disabled = !0;
|
|
7450
7450
|
else {
|
|
7451
|
-
const l =
|
|
7451
|
+
const l = ct(
|
|
7452
7452
|
t.uid,
|
|
7453
7453
|
"pieChartTooltipFormatter"
|
|
7454
7454
|
);
|
|
@@ -7548,7 +7548,7 @@ function AC(t) {
|
|
|
7548
7548
|
const h = q([i]), p = A.pieChart;
|
|
7549
7549
|
a.dataFields.value = h !== E.PieFromFields ? c : xa, a.dataFields.category = h !== E.PieFromFields ? l : ti;
|
|
7550
7550
|
const b = e.radius instanceof Vo ? e.radius.value : e.radius;
|
|
7551
|
-
e.innerRadius =
|
|
7551
|
+
e.innerRadius = ft((u ?? p.innerRadius) * b), a.startAngle = f ?? p.min, a.endAngle = g ?? 360 + a.startAngle, hC({
|
|
7552
7552
|
pieSeries: a,
|
|
7553
7553
|
seriesConfig: i,
|
|
7554
7554
|
dataLabelFormatter: r
|
|
@@ -7675,7 +7675,7 @@ function IC(t, e) {
|
|
|
7675
7675
|
function Zo(t) {
|
|
7676
7676
|
const e = R(t.uid, "config");
|
|
7677
7677
|
if (e !== void 0) {
|
|
7678
|
-
const i =
|
|
7678
|
+
const i = ft(
|
|
7679
7679
|
R(t.uid, "pieChartRadius") ?? A.pieChart.chartOptimizedRadius
|
|
7680
7680
|
);
|
|
7681
7681
|
let a = i;
|
|
@@ -7695,10 +7695,10 @@ function Zo(t) {
|
|
|
7695
7695
|
// case 2: the container width is at or more than the radiusContainerWidthBreakpoint - ramp up radius to the max radius
|
|
7696
7696
|
Math.min(F ** C * S, h)
|
|
7697
7697
|
);
|
|
7698
|
-
a =
|
|
7698
|
+
a = ft(T * 100);
|
|
7699
7699
|
} else
|
|
7700
|
-
a =
|
|
7701
|
-
i.value.toFixed(1) !== a.value.toFixed(1) && (te(t.uid, { pieChartRadius: a.percent }), t.radius = a, t.innerRadius =
|
|
7700
|
+
a = ft(A.pieChart.chartRadius);
|
|
7701
|
+
i.value.toFixed(1) !== a.value.toFixed(1) && (te(t.uid, { pieChartRadius: a.percent }), t.radius = a, t.innerRadius = ft((n ?? A.pieChart.innerRadius) * a.value));
|
|
7702
7702
|
const f = t.series?.values?.[0];
|
|
7703
7703
|
f instanceof Vt && (f.labels.template.maxWidth = DC(
|
|
7704
7704
|
e?.series[0],
|
|
@@ -7709,7 +7709,7 @@ function Zo(t) {
|
|
|
7709
7709
|
function gu(t) {
|
|
7710
7710
|
Rt(t) && t.events.on(
|
|
7711
7711
|
P.SizeChanged,
|
|
7712
|
-
|
|
7712
|
+
ht(() => Zo(t), A.debounceTime)
|
|
7713
7713
|
);
|
|
7714
7714
|
}
|
|
7715
7715
|
function DC(t, e) {
|
|
@@ -7989,7 +7989,7 @@ function Ar(t) {
|
|
|
7989
7989
|
seriesWereReinitialized: C,
|
|
7990
7990
|
utilsStrings: x,
|
|
7991
7991
|
errorStrings: v
|
|
7992
|
-
} = t, F = e.series.values, T = /* @__PURE__ */ new Map(), k = i.series.length, I = _i(i), O =
|
|
7992
|
+
} = t, F = e.series.values, T = /* @__PURE__ */ new Map(), k = i.series.length, I = _i(i), O = dt(i), w = St(f, g?.popupTemplateFieldInfosEnabled), B = mt(f), M = Ws(n, qe(B) ? void 0 : B?.renderer);
|
|
7993
7993
|
for (const [$, N] of a.entries()) {
|
|
7994
7994
|
const V = z([N]), W = F[$], H = {
|
|
7995
7995
|
numberOfSeries: k,
|
|
@@ -8212,7 +8212,7 @@ function BC(t) {
|
|
|
8212
8212
|
} = t, f = Ds(e, we);
|
|
8213
8213
|
f.id = i?.id ?? f.uid;
|
|
8214
8214
|
const g = Bc(f.htmlContainer);
|
|
8215
|
-
Lr({ chart: f, localeInfo: g, chartLocale: c }), f.radius =
|
|
8215
|
+
Lr({ chart: f, localeInfo: g, chartLocale: c }), f.radius = ft(A.pieChart.chartRadius);
|
|
8216
8216
|
const h = Tr({
|
|
8217
8217
|
chartConfig: i,
|
|
8218
8218
|
chart: f,
|
|
@@ -8241,7 +8241,7 @@ function MC(t) {
|
|
|
8241
8241
|
const u = Bc(d.htmlContainer);
|
|
8242
8242
|
Lr({ chart: d, localeInfo: u, chartLocale: r }), d.maskBullets = !1;
|
|
8243
8243
|
const f = A.gauge, g = Number.isFinite(i?.innerRadius) ? i?.innerRadius : f.innerRadius, h = Number.isFinite(i?.startAngle) ? i?.startAngle : f.startAngle, p = Number.isFinite(i?.endAngle) ? i?.endAngle : f.endAngle;
|
|
8244
|
-
d.radius =
|
|
8244
|
+
d.radius = ft(f.radius), typeof g == "number" && (d.innerRadius = ft(g)), typeof h == "number" && (d.startAngle = h), typeof p == "number" && (d.endAngle = p);
|
|
8245
8245
|
const b = Tr({
|
|
8246
8246
|
chartConfig: i,
|
|
8247
8247
|
chart: d,
|
|
@@ -8451,7 +8451,7 @@ function VC(t) {
|
|
|
8451
8451
|
gaugeMinMaxFromData: d
|
|
8452
8452
|
});
|
|
8453
8453
|
const S = A.gauge, C = Number.isFinite(a?.innerRadius) ? a.innerRadius : S.innerRadius, x = Number.isFinite(a?.startAngle) ? a.startAngle : S.startAngle, v = Number.isFinite(a?.endAngle) ? a.endAngle : S.endAngle;
|
|
8454
|
-
e.innerRadius =
|
|
8454
|
+
e.innerRadius = ft(C), e.startAngle = x, e.endAngle = v, kn(i.headerElements, {
|
|
8455
8455
|
title: a.title,
|
|
8456
8456
|
subtitle: a.subtitle
|
|
8457
8457
|
}), In(i.footerElements, a.footer), Tn(e, a.background), te(e.uid, { config: Ie(a) });
|
|
@@ -9584,10 +9584,10 @@ function $u(t) {
|
|
|
9584
9584
|
forceHidden: u
|
|
9585
9585
|
});
|
|
9586
9586
|
}
|
|
9587
|
-
}, n =
|
|
9587
|
+
}, n = (s, r) => {
|
|
9588
9588
|
r && o(r);
|
|
9589
|
-
}
|
|
9590
|
-
e.
|
|
9589
|
+
};
|
|
9590
|
+
e.onDebounced("x", n, L.debounceTime), e.onDebounced("y", n, L.debounceTime);
|
|
9591
9591
|
}
|
|
9592
9592
|
function Sx(t) {
|
|
9593
9593
|
const { series: e, label: i, isHeatChart: a } = t;
|
|
@@ -9707,7 +9707,7 @@ function vx(t) {
|
|
|
9707
9707
|
if (c !== void 0 && i.chart && l) {
|
|
9708
9708
|
const d = D(i.chart.uid, "config"), u = je(d), f = u ? l.get("valueX") : l.get("valueY"), g = u ? l.get("valueXTotalPercent") : l.get("valueYTotalPercent");
|
|
9709
9709
|
r = c(
|
|
9710
|
-
|
|
9710
|
+
dt(d) === le.Stacked100 ? g : f
|
|
9711
9711
|
);
|
|
9712
9712
|
}
|
|
9713
9713
|
return o === "html" ? _e(r) : r;
|
|
@@ -9730,7 +9730,7 @@ function On(t) {
|
|
|
9730
9730
|
let u = c;
|
|
9731
9731
|
const f = n?.content ?? { type: J.TS }, g = d ? D(d.uid, "config") : void 0;
|
|
9732
9732
|
if (d && c === void 0 && l !== void 0 && g?.axes?.[1]?.valueFormat?.type === y.NumberAxisFormat) {
|
|
9733
|
-
const C = D(d.uid, "formatLocale"), x = r === y.HeatSeries ? { type: y.NumberAxisFormat, intlOptions: {} } : g?.axes?.[1]?.valueFormat, v =
|
|
9733
|
+
const C = D(d.uid, "formatLocale"), x = r === y.HeatSeries ? { type: y.NumberAxisFormat, intlOptions: {} } : g?.axes?.[1]?.valueFormat, v = dt(g), F = v === le.Stacked100 ? {
|
|
9734
9734
|
...Zs().intlOptions,
|
|
9735
9735
|
...x.intlOptions,
|
|
9736
9736
|
style: "percent"
|
|
@@ -10094,7 +10094,7 @@ function wx(t) {
|
|
|
10094
10094
|
type: "number",
|
|
10095
10095
|
intlOptions: {}
|
|
10096
10096
|
}).format(s)) : d = f.series[0].emptyCells?.text ?? L.heatChart.emptyCells?.text ?? "";
|
|
10097
|
-
const g = wt(u ?? !1), h = i.query?.outStatistics?.[0].onStatisticField, p =
|
|
10097
|
+
const g = wt(u ?? !1), h = i.query?.outStatistics?.[0].onStatisticField, p = mt(n);
|
|
10098
10098
|
let b = a.statistics.count;
|
|
10099
10099
|
h !== oa(p).idField && (b = fr({
|
|
10100
10100
|
config: f,
|
|
@@ -10552,7 +10552,7 @@ function Xx(t) {
|
|
|
10552
10552
|
if (g !== void 0) {
|
|
10553
10553
|
const { dataTooltipVisible: h } = n, p = o instanceof me ? n.markerVisible : void 0;
|
|
10554
10554
|
if (h !== !1 && p !== !1) {
|
|
10555
|
-
const b = g.axes, S = b[0].valueFormat, C = b[1].valueFormat, x = i?.find(($) => $.name === n.x)?.type === fn.TimeOnly, v = q(g.series), F =
|
|
10555
|
+
const b = g.axes, S = b[0].valueFormat, C = b[1].valueFormat, x = i?.find(($) => $.name === n.x)?.type === fn.TimeOnly, v = q(g.series), F = dt(g) === le.Stacked100, T = mt(a), k = oa(T).idField, I = Be(i, n.x), O = Ra(I, b[0].title?.content.text), w = Vd({
|
|
10556
10556
|
config: g,
|
|
10557
10557
|
fieldList: i,
|
|
10558
10558
|
objectIdField: k,
|
|
@@ -11301,7 +11301,7 @@ function pv(t) {
|
|
|
11301
11301
|
function Uu(t) {
|
|
11302
11302
|
const { queryObject: e, chartConfig: i, forLegend: a, series: o } = t;
|
|
11303
11303
|
let n;
|
|
11304
|
-
const s =
|
|
11304
|
+
const s = mt(e), r = i.series?.[0], l = i.chartRenderer ?? s?.renderer?.toJSON(), { outlineColor: c, outlineOpacity: d } = Jo(r?.gridLine);
|
|
11305
11305
|
if ((l?.type === "classBreaks" || l?.type === "class-breaks") && "classBreakInfos" in l) {
|
|
11306
11306
|
const u = o?.data.values, f = o?.get("valueField") ?? De.valueField, g = l.classBreakInfos?.[0], h = g ? g.classMinValue === g.classMaxValue : !1;
|
|
11307
11307
|
n = l.classBreakInfos.map((p, b) => {
|
|
@@ -11320,7 +11320,7 @@ function Uu(t) {
|
|
|
11320
11320
|
}
|
|
11321
11321
|
return n;
|
|
11322
11322
|
}
|
|
11323
|
-
const Rn = "arcgis_charts_title_container", $r = "arcgis_charts_subtitle_container", $n = "arcgis_charts_footer_container", ju = "arcgis_charts_title", qu = "arcgis_charts_subtitle", Zu = "arcgis_charts_footer",
|
|
11323
|
+
const Rn = "arcgis_charts_title_container", $r = "arcgis_charts_subtitle_container", $n = "arcgis_charts_footer_container", ju = "arcgis_charts_title", qu = "arcgis_charts_subtitle", Zu = "arcgis_charts_footer", gt = "arcgis_charts_legend_container", Xt = "arcgis_charts_legend_title", ps = "arcgis_charts_axis_title_id";
|
|
11324
11324
|
function bv(t) {
|
|
11325
11325
|
const e = t.yAxes.getIndex(0);
|
|
11326
11326
|
if (e) {
|
|
@@ -11384,7 +11384,7 @@ function Wl(t, e) {
|
|
|
11384
11384
|
function Qu(t) {
|
|
11385
11385
|
const e = D(t.uid, "config");
|
|
11386
11386
|
if (e?.series?.[0]?.type === y.HeatSeries && e?.legend?.visible !== !1) {
|
|
11387
|
-
const i = L.heatChart.legend, a = e?.legend?.position ?? i.position, o = et(
|
|
11387
|
+
const i = L.heatChart.legend, a = e?.legend?.position ?? i.position, o = et(gt, t.uid);
|
|
11388
11388
|
let n, s = !1;
|
|
11389
11389
|
switch (a) {
|
|
11390
11390
|
case G.Top:
|
|
@@ -11603,7 +11603,7 @@ function nf(t, e) {
|
|
|
11603
11603
|
}
|
|
11604
11604
|
}
|
|
11605
11605
|
function Br(t) {
|
|
11606
|
-
const e = et(
|
|
11606
|
+
const e = et(gt, t.uid);
|
|
11607
11607
|
[t.bottomAxesContainer, t.rightAxesContainer, t.leftAxesContainer, t.topAxesContainer].forEach(
|
|
11608
11608
|
(i) => {
|
|
11609
11609
|
const a = oe({
|
|
@@ -11631,7 +11631,7 @@ function Mr(t, e) {
|
|
|
11631
11631
|
}), i;
|
|
11632
11632
|
}
|
|
11633
11633
|
function bs(t) {
|
|
11634
|
-
const { chart: e, legendConfig: i, container: a } = t, o = et(
|
|
11634
|
+
const { chart: e, legendConfig: i, container: a } = t, o = et(gt, e.uid);
|
|
11635
11635
|
let n = a;
|
|
11636
11636
|
if (n || [e.bottomAxesContainer, e.rightAxesContainer, e.leftAxesContainer, e.topAxesContainer].forEach(
|
|
11637
11637
|
(s) => {
|
|
@@ -11667,7 +11667,7 @@ function Cv(t, e) {
|
|
|
11667
11667
|
const { root: i } = t, a = D(t.uid, "config"), o = a?.legend, n = t.series.values[0];
|
|
11668
11668
|
Br(t);
|
|
11669
11669
|
const s = Ku(t, a ?? e), r = fi.new(i, {
|
|
11670
|
-
id: et(
|
|
11670
|
+
id: et(gt, t.uid),
|
|
11671
11671
|
layout: i.verticalLayout
|
|
11672
11672
|
});
|
|
11673
11673
|
return r.children.push(s), Mr(t, r), bs({ chart: t, legendConfig: o, container: r }), af({ series: n, legend: s, chart: t }), o !== void 0 && o.visible !== !1 && (Ju({ chart: t, legend: s, legendContainer: r }), ys({
|
|
@@ -11705,7 +11705,7 @@ function xv(t) {
|
|
|
11705
11705
|
}
|
|
11706
11706
|
function vv(t) {
|
|
11707
11707
|
let e;
|
|
11708
|
-
const i = et(
|
|
11708
|
+
const i = et(gt, t.uid);
|
|
11709
11709
|
return [t.bottomAxesContainer, t.rightAxesContainer, t.leftAxesContainer, t.topAxesContainer].forEach(
|
|
11710
11710
|
(a) => {
|
|
11711
11711
|
const o = oe({
|
|
@@ -11733,7 +11733,7 @@ function Lv(t) {
|
|
|
11733
11733
|
if (a || o)
|
|
11734
11734
|
Br(e), s && r instanceof Oe && Wi(() => {
|
|
11735
11735
|
const l = Ku(e), c = fi.new(e.root, {
|
|
11736
|
-
id: et(
|
|
11736
|
+
id: et(gt, e.uid),
|
|
11737
11737
|
layout: e.root.verticalLayout
|
|
11738
11738
|
});
|
|
11739
11739
|
c.children.push(l), Mr(e, c), bs({ chart: e, legendConfig: n, container: c }), Wl(e, l), Ju({ chart: e, legend: l, legendContainer: c }), af({ series: r, legend: l, chart: e }), ys({
|
|
@@ -11747,7 +11747,7 @@ function Lv(t) {
|
|
|
11747
11747
|
if (l) {
|
|
11748
11748
|
Wl(e, l), bs({ chart: e, legendConfig: n }), nf(l, n);
|
|
11749
11749
|
const c = l.parent;
|
|
11750
|
-
c?.get("id") === et(
|
|
11750
|
+
c?.get("id") === et(gt, e.uid) && ne(c, s), ne(l, s), Sv(l, e), c && ys({
|
|
11751
11751
|
legend: l,
|
|
11752
11752
|
chart: e,
|
|
11753
11753
|
legendContainer: c
|
|
@@ -11928,7 +11928,7 @@ function uf(t) {
|
|
|
11928
11928
|
if (a) {
|
|
11929
11929
|
const { chart: o } = a;
|
|
11930
11930
|
if (o instanceof ea) {
|
|
11931
|
-
const n = oe({ childId:
|
|
11931
|
+
const n = oe({ childId: gt, parent: o });
|
|
11932
11932
|
n !== void 0 && n.dataItems?.forEach((s) => {
|
|
11933
11933
|
s.get("id") === e && n.set("opacity", i ? 1 : L.legendProperties.legendLabelReducedOpacity);
|
|
11934
11934
|
});
|
|
@@ -12076,9 +12076,9 @@ function Hl(t) {
|
|
|
12076
12076
|
}), Math.ceil(e);
|
|
12077
12077
|
}
|
|
12078
12078
|
function Zi(t, e) {
|
|
12079
|
-
const { root: i } = t, a = oe({ childId:
|
|
12079
|
+
const { root: i } = t, a = oe({ childId: gt, parent: t });
|
|
12080
12080
|
if (a !== void 0) {
|
|
12081
|
-
const o = D(t.uid, "config"), n = D(t.uid, "rtl"), s = je(o), r = z(o?.series), l =
|
|
12081
|
+
const o = D(t.uid, "config"), n = D(t.uid, "rtl"), s = je(o), r = z(o?.series), l = dt(o), c = o?.series?.some((at) => at.dataLabels && at.dataLabels?.visible !== !1) ?? !1, d = o?.title ? o.title.visible ?? !0 : !1, u = o?.subtitle ? o.subtitle.visible ?? !0 : !1, f = o?.footer ? o.footer.visible ?? !0 : !1, g = o?.legend ? o.legend.visible ?? !0 : !1, h = o?.legend?.title ? o.legend.title.visible ?? !0 : !1, p = oe({ childId: Rn, parent: t }), b = p instanceof fi && d ? p.height() : 0, S = oe({ childId: $r, parent: t }), C = S instanceof fi && u ? S.height() : 0, x = oe({ childId: $n, parent: t }), v = x instanceof fi && f ? x.height() : 0, F = oe({ childId: Xt, parent: a }), T = F instanceof lt && g && h ? F?.height() : 0, k = o?.legend?.position ?? L.legendProperties.position;
|
|
12082
12082
|
let I;
|
|
12083
12083
|
const O = e.get("verticalScrollbar");
|
|
12084
12084
|
let w = Ae, B = Ae, M = i.verticalLayout, $ = Ae, N = Ae, V = Ae, W = Ae, H = 0, U;
|
|
@@ -12195,7 +12195,7 @@ function Nv(t, e) {
|
|
|
12195
12195
|
function Pv(t, e) {
|
|
12196
12196
|
e.seriesContainer.onPrivate("height", (i) => {
|
|
12197
12197
|
let a = 0;
|
|
12198
|
-
const o = D(e.uid, "config"), n = o?.legend, s = oe({ childId:
|
|
12198
|
+
const o = D(e.uid, "config"), n = o?.legend, s = oe({ childId: gt, parent: e });
|
|
12199
12199
|
if (s !== void 0) {
|
|
12200
12200
|
const l = oe({ childId: Xt, parent: s });
|
|
12201
12201
|
l !== void 0 && n?.visible !== !1 && n?.title?.visible !== !1 && (a = l.height());
|
|
@@ -12220,7 +12220,7 @@ function Wv(t) {
|
|
|
12220
12220
|
function Ev(t) {
|
|
12221
12221
|
let e = "";
|
|
12222
12222
|
if (t instanceof Ce) {
|
|
12223
|
-
const i = D(t.uid, "config"), a = je(i), o = a ? m.Rotated : m.NonRotated, n =
|
|
12223
|
+
const i = D(t.uid, "config"), a = je(i), o = a ? m.Rotated : m.NonRotated, n = dt(i);
|
|
12224
12224
|
let s = m.SideBySide;
|
|
12225
12225
|
n === le.Stacked ? s = m.Stacked : n === le.Stacked100 && (s = m.Stacked100);
|
|
12226
12226
|
const r = D(t.uid, "rtl") ? m.RTL : m.LTR;
|
|
@@ -12267,7 +12267,7 @@ function mf(t, e, i) {
|
|
|
12267
12267
|
}
|
|
12268
12268
|
}
|
|
12269
12269
|
function Hv(t, e) {
|
|
12270
|
-
const i = oe({ childId:
|
|
12270
|
+
const i = oe({ childId: gt, parent: t });
|
|
12271
12271
|
if (i !== void 0) {
|
|
12272
12272
|
const a = oe({ childId: Xt, parent: i }) ?? ff(t, i);
|
|
12273
12273
|
if (e !== void 0) {
|
|
@@ -12307,7 +12307,7 @@ function Gv(t) {
|
|
|
12307
12307
|
}
|
|
12308
12308
|
};
|
|
12309
12309
|
if (a === y.PieSeries) {
|
|
12310
|
-
const r = oe({ childId:
|
|
12310
|
+
const r = oe({ childId: gt, parent: n });
|
|
12311
12311
|
r !== void 0 && oe({ childId: Xt, parent: r }) !== void 0 && rf({
|
|
12312
12312
|
legend: e,
|
|
12313
12313
|
seriesConfig: o,
|
|
@@ -12337,7 +12337,7 @@ function _l(t, e) {
|
|
|
12337
12337
|
a = Cv(t, e);
|
|
12338
12338
|
else {
|
|
12339
12339
|
const o = fi.new(i, {
|
|
12340
|
-
id: et(
|
|
12340
|
+
id: et(gt, t.uid),
|
|
12341
12341
|
layout: i.verticalLayout
|
|
12342
12342
|
}), n = e?.series?.[0].type === y.HeatSeries ? {
|
|
12343
12343
|
nameField: Xe.nameField,
|
|
@@ -12368,13 +12368,13 @@ function Uv(t) {
|
|
|
12368
12368
|
return n;
|
|
12369
12369
|
}
|
|
12370
12370
|
function Gl(t) {
|
|
12371
|
-
const { chart: e, legend: i, showLegend: a } = t, o = oe({ childId:
|
|
12371
|
+
const { chart: e, legend: i, showLegend: a } = t, o = oe({ childId: gt, parent: e });
|
|
12372
12372
|
o && (ne(o, a), ne(i, a));
|
|
12373
12373
|
}
|
|
12374
12374
|
function Xl(t) {
|
|
12375
12375
|
const { chart: e, showLegend: i, legendConfig: a } = t;
|
|
12376
12376
|
if (a) {
|
|
12377
|
-
const { title: o, visible: n } = a, s = o !== void 0 && n !== !1 && o.visible !== !1, r = oe({ childId:
|
|
12377
|
+
const { title: o, visible: n } = a, s = o !== void 0 && n !== !1 && o.visible !== !1, r = oe({ childId: gt, parent: e });
|
|
12378
12378
|
if (r) {
|
|
12379
12379
|
const l = oe({ childId: Xt, parent: r });
|
|
12380
12380
|
l && (o ? ne(l, s) : ne(l, i));
|
|
@@ -12400,7 +12400,7 @@ function gf(t) {
|
|
|
12400
12400
|
heatLegendPositionChanged: c,
|
|
12401
12401
|
heatRulesTypeChanged: l
|
|
12402
12402
|
});
|
|
12403
|
-
else if (a instanceof er && (s?.[0].type === y.HeatSeries && Br(e), oe({ childId:
|
|
12403
|
+
else if (a instanceof er && (s?.[0].type === y.HeatSeries && Br(e), oe({ childId: gt, parent: e }) !== void 0)) {
|
|
12404
12404
|
const g = _c(u) && d !== void 0 && d.visible !== !1;
|
|
12405
12405
|
if (Gl({ chart: e, legend: a, showLegend: g }), Xl({ chart: e, showLegend: g, legendConfig: d }), g) {
|
|
12406
12406
|
_v(a, d?.roundMarkers), Gv({
|
|
@@ -12844,7 +12844,7 @@ function dL(t) {
|
|
|
12844
12844
|
if (u instanceof ea) {
|
|
12845
12845
|
const f = D(u.uid, "options"), { filterBySelection: g, selectionData: h, returnSelectionIndexes: p, returnSelectionOIDs: b } = f ?? {}, { selectionIndexes: S } = h ?? {}, C = D(u.uid, "config"), x = bt(C), v = z(C?.series), F = q(C?.series), T = rL(e);
|
|
12846
12846
|
if (g !== !0 && C !== void 0) {
|
|
12847
|
-
const k =
|
|
12847
|
+
const k = mt(a), I = oa(k).idField, O = D(
|
|
12848
12848
|
u.uid,
|
|
12849
12849
|
"currentSelectionDataItems"
|
|
12850
12850
|
);
|
|
@@ -12966,10 +12966,10 @@ function uL(t) {
|
|
|
12966
12966
|
async function Nr(t) {
|
|
12967
12967
|
const { chart: e, selectionSource: i, queryObject: a, errorStrings: o } = t, n = D(e.uid, "config"), s = qe(a);
|
|
12968
12968
|
if (n) {
|
|
12969
|
-
const r = D(e.uid, "options"), l = z(n.series), c = q(n.series), d = Ci(n), u = Si(n.series), f = n.series[0].x, g = ya(a), h = s ? void 0 : Us(
|
|
12969
|
+
const r = D(e.uid, "options"), l = z(n.series), c = q(n.series), d = Ci(n), u = Si(n.series), f = n.series[0].x, g = ya(a), h = s ? void 0 : Us(mt(a))?.dateFieldsTimeZone;
|
|
12970
12970
|
let p;
|
|
12971
12971
|
oi(n) ? p = n.outTimeZone : sa(n.series[0]) && (p = n.series[0].temporalBinning?.outTimeZone);
|
|
12972
|
-
const b =
|
|
12972
|
+
const b = mt(a), S = "objectIdField" in b ? b.objectIdField : void 0, x = St(a).find((v) => v.name === f)?.type;
|
|
12973
12973
|
try {
|
|
12974
12974
|
const v = /* @__PURE__ */ new Set();
|
|
12975
12975
|
let F = [];
|
|
@@ -13284,7 +13284,7 @@ function Cf(t) {
|
|
|
13284
13284
|
return t && t.series.length > 0 && (e = t.series.values.map((i) => i.get("visible") !== !1 ? `${i.get("id")}` : "").filter((i) => i !== "")), e;
|
|
13285
13285
|
}
|
|
13286
13286
|
function Pr(t) {
|
|
13287
|
-
const { series: e, chartConfig: i, isRotated: a } = t, o =
|
|
13287
|
+
const { series: e, chartConfig: i, isRotated: a } = t, o = dt(i), n = i.series[0], s = e.chart?.xAxes.getIndex(0), r = e.chart?.yAxes.getIndex(0), l = a && (o === le.Stacked || o === le.Stacked100) ? r : s;
|
|
13288
13288
|
switch (o) {
|
|
13289
13289
|
case le.Stacked: {
|
|
13290
13290
|
e.setAll({
|
|
@@ -13890,7 +13890,7 @@ function _L(t) {
|
|
|
13890
13890
|
if (c) {
|
|
13891
13891
|
const d = D(c.uid, "config");
|
|
13892
13892
|
if (c instanceof Ce && d) {
|
|
13893
|
-
const u = z(d.series), f =
|
|
13893
|
+
const u = z(d.series), f = dt(d) ?? le.Side, g = Cf(c), h = Gs({ chartConfig: d, isSecondaryYAxis: a, seriesIds: g }), p = Ut(o), b = Rc({
|
|
13894
13894
|
chartConfig: d,
|
|
13895
13895
|
// using either the provided data (at creation or after a data update) or the current series data
|
|
13896
13896
|
chartData: p ?? c.series.getIndex(0)?.data.values ?? [],
|
|
@@ -13952,7 +13952,7 @@ function en(t, e) {
|
|
|
13952
13952
|
if (t !== void 0) {
|
|
13953
13953
|
const i = D(t.uid, "config");
|
|
13954
13954
|
if (i !== void 0) {
|
|
13955
|
-
const a = z(i?.series), o =
|
|
13955
|
+
const a = z(i?.series), o = dt(i) ?? le.Side, n = je(i), s = t.xAxes.getIndex(0), r = i.axes?.[0], l = i.axes?.[1], c = i.axes?.[2], d = t.yAxes.getIndex(0), u = t.xAxes.getIndex(1) ?? t.yAxes.getIndex(1);
|
|
13956
13956
|
[
|
|
13957
13957
|
{ axis: s, axisConfig: r },
|
|
13958
13958
|
{ axis: d, axisConfig: l },
|
|
@@ -14540,9 +14540,10 @@ function g0(t) {
|
|
|
14540
14540
|
const { axis: e, isHorizontalAxis: i, label: a } = t, { chart: o } = e;
|
|
14541
14541
|
if (o) {
|
|
14542
14542
|
const n = i ? "width" : "height", s = i ? K.XAxisTitle : K.YAxisTitle;
|
|
14543
|
-
li({ chart: o, label: a, labelType: s }), e.
|
|
14543
|
+
li({ chart: o, label: a, labelType: s }), e.onPrivateDebounced(
|
|
14544
14544
|
n,
|
|
14545
|
-
|
|
14545
|
+
() => li({ chart: o, label: a, labelType: s }),
|
|
14546
|
+
L.debounceTime
|
|
14546
14547
|
);
|
|
14547
14548
|
}
|
|
14548
14549
|
}
|
|
@@ -14902,7 +14903,7 @@ function Hr(t) {
|
|
|
14902
14903
|
guides: V,
|
|
14903
14904
|
tickSpacing: W,
|
|
14904
14905
|
dateBaseInterval: H
|
|
14905
|
-
} = r, { root: U } = e, _ = z(b.series), j =
|
|
14906
|
+
} = r, { root: U } = e, _ = z(b.series), j = dt(b), ae = je(b), { chart: Y } = e, he = Y ? D(Y.uid, "config") : void 0, Fe = Y ? D(Y.uid, "options") : void 0, be = mt(F), at = St(be).find((Yr) => Yr.name === he?.series?.[0]?.x), ei = Bm(at), Ui = rn({ chartConfig: b, queryObject: F, options: Fe }), Wn = sa(b.series[0]) ? b.series[0].temporalBinning?.outTimeZone : void 0, ha = e.get("renderer");
|
|
14906
14907
|
Ga(e.uid, {
|
|
14907
14908
|
zeroGridLine: { displayZeroLine: $, strokeWidth: B?.width ?? L.lineWidth, visible: B !== void 0 }
|
|
14908
14909
|
}), ML({ axis: e, isLogarithmic: w, axisConfigIndex: l }), RL({
|
|
@@ -17029,7 +17030,7 @@ function Vn(t) {
|
|
|
17029
17030
|
errorStrings: C,
|
|
17030
17031
|
groupOfSlicesUpdateNeeded: x,
|
|
17031
17032
|
labelUpdateNeeded: v
|
|
17032
|
-
} = t, { chartRenderer: F } = i, { root: T } = e, { series: k } = i, I = z(i.series), O = q(i.series), w = e.series.values, B = _i(i), M = i.series.length, $ = /* @__PURE__ */ new Map(), N = St(b, a?.popupTemplateFieldInfosEnabled), V =
|
|
17033
|
+
} = t, { chartRenderer: F } = i, { root: T } = e, { series: k } = i, I = z(i.series), O = q(i.series), w = e.series.values, B = _i(i), M = i.series.length, $ = /* @__PURE__ */ new Map(), N = St(b, a?.popupTemplateFieldInfosEnabled), V = mt(b), W = qe(V) ? void 0 : Ws(F, V.renderer), H = l || s || r || c || u, U = {
|
|
17033
17034
|
root: T,
|
|
17034
17035
|
chartConfig: i,
|
|
17035
17036
|
queryObject: b,
|
|
@@ -18301,7 +18302,7 @@ class _A extends qf {
|
|
|
18301
18302
|
}
|
|
18302
18303
|
} else
|
|
18303
18304
|
await l?.update(), d = l?.layer;
|
|
18304
|
-
const u =
|
|
18305
|
+
const u = mt(d);
|
|
18305
18306
|
return u && await tl(u, c), this._watchHandlersController.addLayerWatchHandlers(u), d;
|
|
18306
18307
|
},
|
|
18307
18308
|
onComplete: () => {
|
|
@@ -18537,7 +18538,7 @@ class _A extends qf {
|
|
|
18537
18538
|
line: "--calcite-color-border-1",
|
|
18538
18539
|
secondaryLine: "--calcite-color-text-3",
|
|
18539
18540
|
spinner: "--calcite-color-brand-hover"
|
|
18540
|
-
}, this.allowUsingObjectIdStat = !1, this.nullAsValid = !1, this.hideUIMessages = !1, this.showEmptySeries = !1, this.autoInverseDataLabelTextColor = !1, this.hideZeroCountCategories = !1, this.ignoreSmoothRenderingLimit = !1, this.returnSelectionIndexes = !1, this.returnFeaturesExtent = !1, this.filterBySelection = !1, this.filterByExtent = !1, this.filterByViewExtent = !1, this.disableInteractions = !1, this.interactionsDisabled = !1, this.skipChartCreationQueue = !1, this.useAnimatedCharts = !1, this.showLicenseWatermark = !1, this.enableResponsiveFeatures = !1, this.autoDisposeChart = !1, this.setTimeBinningInfoWhenNotProvided = !1, this.errorPolicy = Io.Throw, this.disableTogglingLegendItems = !1, this.hideLoaderAnimation = !1, this.usePopupTemplateFieldsInfo = !1, this.syncViewTimeZoneInclusionList = [y.HeatSeries], this.syncViewTimeZone = !1, this.layerFilterChangePolicy = id.Refresh, this.viewTimeExtentChangePolicy = nd.Ignore, this.syncViewTimeExtent = !1, this.layerRendererChangePolicy = ad.Refresh, this.layerFieldsChangePolicy = od.Refresh, this.syncSelectionsBetweenChartAndLayerViewPolicy = Qa.Disabled, this.syncViewSelection = !1, this.syncSelection = !1, this.syncChartsSelection = !1, this.ignoreViewExtent = !1, this.autoDestroyDisabled = !1, this.arcgisAxesMinMaxChange =
|
|
18541
|
+
}, this.allowUsingObjectIdStat = !1, this.nullAsValid = !1, this.hideUIMessages = !1, this.showEmptySeries = !1, this.autoInverseDataLabelTextColor = !1, this.hideZeroCountCategories = !1, this.ignoreSmoothRenderingLimit = !1, this.returnSelectionIndexes = !1, this.returnFeaturesExtent = !1, this.filterBySelection = !1, this.filterByExtent = !1, this.filterByViewExtent = !1, this.disableInteractions = !1, this.interactionsDisabled = !1, this.skipChartCreationQueue = !1, this.useAnimatedCharts = !1, this.showLicenseWatermark = !1, this.enableResponsiveFeatures = !1, this.autoDisposeChart = !1, this.setTimeBinningInfoWhenNotProvided = !1, this.errorPolicy = Io.Throw, this.disableTogglingLegendItems = !1, this.hideLoaderAnimation = !1, this.usePopupTemplateFieldsInfo = !1, this.syncViewTimeZoneInclusionList = [y.HeatSeries], this.syncViewTimeZone = !1, this.layerFilterChangePolicy = id.Refresh, this.viewTimeExtentChangePolicy = nd.Ignore, this.syncViewTimeExtent = !1, this.layerRendererChangePolicy = ad.Refresh, this.layerFieldsChangePolicy = od.Refresh, this.syncSelectionsBetweenChartAndLayerViewPolicy = Qa.Disabled, this.syncViewSelection = !1, this.syncSelection = !1, this.syncChartsSelection = !1, this.ignoreViewExtent = !1, this.autoDestroyDisabled = !1, this.arcgisAxesMinMaxChange = ut(), this.arcgisBadDataWarningRaise = ut(), this.arcgisChartNotFoundWarning = ut(), this.arcgisConfigChange = ut(), this.arcgisDataFetchComplete = ut(), this.arcgisDataProcessComplete = ut(), this.arcgisDataProcessError = ut(), this.arcgisInvalidConfigWarningRaise = ut(), this.arcgisLegendItemVisibilityChange = ut(), this.arcgisNoRenderPropChange = ut(), this.arcgisRenderingComplete = ut(), this.arcgisRuntimeError = ut(), this.arcgisSelectionComplete = ut(), this.arcgisSeriesColorChange = ut(), this.arcgisSeriesOrder = ut(), this.arcgisUpdateComplete = ut(), this.listen("arcgisChartsJSLegendItemVisibilityChange", this._handleLegendItemVisibilityChanged), this.listen("arcgisChartsJSInvalidConfigWarningRaise", this._handleInvalidConfigWarningRaise), this.listen("arcgisChartsJSSeriesColorChange", this._handleSeriesColorsChange), this.listen("arcgisChartsJSSelectionComplete", this._handleSelection), this.listen("arcgisChartsJSTooManySelectedElements", this._handleTooManySelectedElements), this.listen("calciteAlertClose", this._handleAlertClosed), this.listen("arcgisChartsJSAxesMinMaxChange", this._handleAxesMinMaxChange), this.listen("arcgisChartsJSSeriesOrder", this._handleSeriesOrder), this.listen("arcgisChartsJSRenderingComplete", this._handleRenderingComplete), this._addConfigListeners(), this.listenOn(document, "arcgisSelectionComplete", this._handleExternalSelection);
|
|
18541
18542
|
}
|
|
18542
18543
|
static {
|
|
18543
18544
|
this.properties = { alteredConfig: 16, forceDataUpdateTick: 16, taskCompletionTick: 16, infoModalMessage: 16, notifyMessage: 16, showLoader: 16, config: 16, enableBetaFeatures: 5, model: 0, enableConfiguration: 5, configurationEnabled: 5, calciteThemingCSSVariables: 0, rotation: [5, { hasChanged: () => !1 }], rotated: [5, { hasChanged: () => !1 }], actionMode: 1, cursorRange: 1, legendPosition: [1, { hasChanged: () => !1 }], legendVisibility: [5, { hasChanged: () => !1 }], allowUsingObjectIdStat: 5, nullAsValid: 5, showUIMessages: 5, hideUIMessages: 5, hideEmptySeries: 5, showEmptySeries: 5, autoInverseDataLabelTextColor: 5, replaceNoValueCategoryWithZero: 5, hideZeroCountCategories: 5, ignoreSmoothRenderingLimit: 5, chartWillRender: 0, legendValueLabelFormatter: 0, timeZone: 1, view: [0, { hasChanged: () => !1 }], layer: 0, layerItemId: 1, chartIndex: 9, selectionData: 0, returnSelectionOIDs: 5, returnSelectionIndexes: 5, returnFeaturesExtent: 5, filterBySelection: 5, filterByExtent: 5, filterByViewExtent: 5, disableInteractions: 5, interactionsDisabled: 5, queueChartCreation: 5, skipChartCreationQueue: 5, useAnimatedCharts: 5, animationEnabled: 5, hideLicenseWatermark: 5, showLicenseWatermark: 5, enableResponsiveFeatures: 5, autoDisposeChart: 5, featureIndex: [9, { hasChanged: () => !1 }], placeholder: 1, selectionTheme: 0, setTimeBinningInfoWhenNotProvided: 5, chartLimits: 0, aria: 0, tooltipFormatter: 0, dataLabelFormatter: 0, guideTooltipFormatter: 0, xAxisLabelFormatter: 0, yAxisLabelFormatter: 0, secondaryYAxisLabelFormatter: 0, gaugeInnerLabelFormatter: 0, errorPolicy: 1, disableTogglingLegendItems: 5, togglingLegendItemsDisabled: 5, hideLoaderAnimation: 5, loaderColors: 0, runtimeDataFilters: 0, usePopupTemplateFieldsInfo: 5, syncViewTimeZoneInclusionList: 0, syncViewTimeZone: 5, popupTemplateFieldInfosEnabled: 5, layerFilterChangePolicy: 1, viewTimeExtentChangePolicy: 1, syncViewTimeExtent: 5, layerRendererChangePolicy: 1, layerFieldsChangePolicy: 1, syncSelectionsBetweenChartAndLayerViewPolicy: 1, syncViewSelection: 5, syncSelection: 5, syncChartsSelection: 5, ignoreViewExtent: 5, updateSplitBySeries: 0, messageOverrides: 0, autoDestroyDisabled: 5, selectionManager: 0 };
|
|
@@ -18630,7 +18631,7 @@ class _A extends qf {
|
|
|
18630
18631
|
secondaryYAxisLabelFormatter: this.secondaryYAxisLabelFormatter
|
|
18631
18632
|
};
|
|
18632
18633
|
if (this._sanitizedChartData) {
|
|
18633
|
-
const n = await this._loadQueryObject.taskComplete, s = n ? St(n, this.usePopupTemplateFieldsInfo || this.popupTemplateFieldInfosEnabled) : void 0, r = this._model?.config ?? this.config, l = Qm(this.getEffectiveTimeZone(r)), c = this._processedChartData ?? this._sanitizedChartData, d = await Jm(
|
|
18634
|
+
const n = await this._loadQueryObject.taskComplete, s = n ? St(n, this.usePopupTemplateFieldsInfo || this.popupTemplateFieldInfosEnabled) : void 0, r = this._model?.config ?? this.config, l = Qm(this.getEffectiveTimeZone(r)), c = this._processedChartData ?? this._sanitizedChartData, d = await Jm(mt(n)), u = r?.chartRenderer ? eg(r.chartRenderer) : [], f = [.../* @__PURE__ */ new Set([...d, ...u])], g = Ta(r, f), h = ui(this.model) ? this.model.titleText : this.config?.title?.content?.text ?? this._commonStrings.utilsStrings.chartType.chart;
|
|
18634
18635
|
if (Object.values(c).filter((b) => Array.isArray(b) && b.length > 0).length > 1) {
|
|
18635
18636
|
const b = new Jf();
|
|
18636
18637
|
Object.entries(c).forEach(([C, x]) => {
|