@arcgis/charts-components 5.2.0-next.111 → 5.2.0-next.113
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/{ZYHMZQ7E.js → 2HOC2K2G.js} +1 -1
- package/dist/cdn/{GQLSM5Q7.js → 2KONYHWP.js} +1 -1
- package/dist/cdn/{5O2Y7SWC.js → 2PTVL4CD.js} +1 -1
- package/dist/cdn/{2YDNWOWT.js → 3LEJV2CC.js} +1 -1
- package/dist/cdn/{UVLCXTG4.js → 3YLAS5LP.js} +1 -1
- package/dist/cdn/{IBUI4UOV.js → 4DHM47TE.js} +1 -1
- package/dist/cdn/{YJURFFSP.js → 4PLBZKSO.js} +1 -1
- package/dist/cdn/{7CP5MYX6.js → 4RGJW7QM.js} +1 -1
- package/dist/cdn/{EEKAD6DT.js → 4VIKN2DI.js} +1 -1
- package/dist/cdn/{3ECXJYBU.js → 5MCUSUHK.js} +1 -1
- package/dist/cdn/{FBS4RBSA.js → 5S5FI5VM.js} +1 -1
- package/dist/cdn/{VZ7OCBNK.js → 5VPT6YPC.js} +1 -1
- package/dist/cdn/{XIBI3WA6.js → 6A2PSHTX.js} +1 -1
- package/dist/cdn/{HW7O5QZ4.js → 6E7XC7SF.js} +1 -1
- package/dist/cdn/{XZVJMTU2.js → 6WI56V3O.js} +1 -1
- package/dist/cdn/{VQU2TVX7.js → AYA7WEUX.js} +2 -2
- package/dist/cdn/{FZHZIZUN.js → B2ORCBF2.js} +1 -1
- package/dist/cdn/{CLL7X6DF.js → C3BQVSNQ.js} +1 -1
- package/dist/cdn/{CREJLRJS.js → CZBQKSWG.js} +1 -1
- package/dist/cdn/{MRSEZPVC.js → DLN3QGAY.js} +1 -1
- package/dist/cdn/{PDDYOVQM.js → DORZB3CO.js} +1 -1
- package/dist/cdn/{4NIKYLE5.js → DUPBITZX.js} +1 -1
- package/dist/cdn/{VSN5E7Y4.js → DXK2F7IC.js} +1 -1
- package/dist/cdn/{IHOTDAKI.js → E6MCRDEU.js} +1 -1
- package/dist/cdn/{3NXCG3O2.js → ELSCO7RQ.js} +1 -1
- package/dist/cdn/{J5JKYZZW.js → EOD7FLMU.js} +1 -1
- package/dist/cdn/{5HJSLXLN.js → ERNVZRGN.js} +1 -1
- package/dist/cdn/{ZHFQTE2B.js → ETDV5MZZ.js} +1 -1
- package/dist/cdn/{5SXFY4KT.js → EWWMTC3C.js} +1 -1
- package/dist/cdn/{3CIO2C6J.js → EY4ALBSW.js} +1 -1
- package/dist/cdn/{JJJRAQMT.js → FLDXN76G.js} +1 -1
- package/dist/cdn/{OIBX62RU.js → GCZP2NNE.js} +1 -1
- package/dist/cdn/{56242OEE.js → GTGCFMOM.js} +1 -1
- package/dist/cdn/{NITHPHM6.js → HTUZP5ET.js} +1 -1
- package/dist/cdn/{RZJQJ43Y.js → HZIDKKII.js} +1 -1
- package/dist/cdn/IBSZEYTA.js +2 -0
- package/dist/cdn/{G22GCRXH.js → ICA2YKMH.js} +1 -1
- package/dist/cdn/{JV4CEAY2.js → IJ42AM6S.js} +1 -1
- package/dist/cdn/{EHUV23QJ.js → IPM7HASK.js} +1 -1
- package/dist/cdn/{YFU2NPYA.js → K6ZOSX22.js} +1 -1
- package/dist/cdn/{OIQ76HQC.js → KMRW2FOQ.js} +1 -1
- package/dist/cdn/{N2Y3TMUH.js → KW5FFPKZ.js} +1 -1
- package/dist/cdn/{3S6ZGK3H.js → MAHQA5GL.js} +1 -1
- package/dist/cdn/{3A6N7WAM.js → MGXNXWVO.js} +1 -1
- package/dist/cdn/{FCWOV4NW.js → N7MGJM2Y.js} +1 -1
- package/dist/cdn/{DAQT4YNQ.js → NE6XMJNA.js} +1 -1
- package/dist/cdn/{EY3OIDVL.js → NHJGPR7T.js} +1 -1
- package/dist/cdn/{EWNXVZMV.js → NN7VM75G.js} +1 -1
- package/dist/cdn/{M624HH3K.js → NP4ZKUVK.js} +1 -1
- package/dist/cdn/{VQHPI3CU.js → NQA5LVMY.js} +1 -1
- package/dist/cdn/{H7K6D57Z.js → OGXDBGRX.js} +1 -1
- package/dist/cdn/OMX3FEUO.js +2 -0
- package/dist/cdn/{ADKPM4DW.js → OQ7PZJV6.js} +1 -1
- package/dist/cdn/{NT7D3WEH.js → P7JFMF66.js} +1 -1
- package/dist/cdn/{AEC7S556.js → PDAI3TM2.js} +1 -1
- package/dist/cdn/{MQYMM7JO.js → PHT3QKS6.js} +1 -1
- package/dist/cdn/Q4JNBW33.js +3 -0
- package/dist/cdn/{724I3SBO.js → QK2VTRRB.js} +1 -1
- package/dist/cdn/{WJQHEITU.js → QLKFXAHY.js} +1 -1
- package/dist/cdn/{FY7T4YLN.js → QYBVMICG.js} +1 -1
- package/dist/cdn/{GU4EQDNJ.js → RXREAXJS.js} +1 -1
- package/dist/cdn/{I4RZDDUM.js → SRBLDVCV.js} +1 -1
- package/dist/cdn/{WDDGKBBJ.js → T7JGMOPN.js} +1 -1
- package/dist/cdn/{EWPEPYH7.js → TD4DW6P7.js} +1 -1
- package/dist/cdn/{TK4E37D6.js → TE5UBTRT.js} +1 -1
- package/dist/cdn/{MSU36MJR.js → TN6P4DOU.js} +1 -1
- package/dist/cdn/{U7NEGO4Z.js → TUJPREQD.js} +1 -1
- package/dist/cdn/{L76QTUHW.js → TZ4QIVTR.js} +1 -1
- package/dist/cdn/{KYVBQUIS.js → U47QIWXK.js} +1 -1
- package/dist/cdn/{73R5I52R.js → U7RB6WCB.js} +1 -1
- package/dist/cdn/{YHON6N45.js → UC2TRV7Y.js} +1 -1
- package/dist/cdn/{QKUFLZC3.js → UGLK7BBG.js} +1 -1
- package/dist/cdn/{OKKEWHMB.js → UO5TMG7I.js} +1 -1
- package/dist/cdn/{M7NERHZY.js → UQ3NNWEM.js} +1 -1
- package/dist/cdn/{5QBKM6NC.js → UZOMM2XD.js} +1 -1
- package/dist/cdn/{LMXFW6NW.js → VH5EZWUP.js} +1 -1
- package/dist/cdn/{7UUCZOKN.js → WAN2K6TS.js} +1 -1
- package/dist/cdn/{UNRHPYXW.js → WCSLV2JM.js} +11 -11
- package/dist/cdn/{EMOJZ4XR.js → WELTTZAK.js} +1 -1
- package/dist/cdn/{AHOCGFB7.js → WH4W6K35.js} +1 -1
- package/dist/cdn/WTB2CFTX.js +2 -0
- package/dist/cdn/{FTVVGZ4Z.js → X26W3CYZ.js} +1 -1
- package/dist/cdn/{VQRSXCKD.js → XPFEIWMS.js} +1 -1
- package/dist/cdn/{T7Z4DZ7V.js → XY5U4M2J.js} +1 -1
- package/dist/cdn/{JTP6IREK.js → YEMNXS4U.js} +1 -1
- package/dist/cdn/{VYD2S5WA.js → YJJOHKGU.js} +1 -1
- package/dist/cdn/{QXLY4SFY.js → Z6FRC562.js} +1 -1
- package/dist/cdn/{62GSQDTE.js → ZTVR6KBG.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chart-rendering/common/interfaces.d.ts +2 -3
- package/dist/chunks/action-bar-utils.js +50 -50
- package/dist/chunks/box-plot-data.js +3 -3
- package/dist/chunks/box-plot-model.js +1 -1
- package/dist/chunks/data.js +8 -8
- package/dist/chunks/index.js +10 -7
- package/dist/chunks/index2.js +1 -1
- package/dist/chunks/index3.js +14 -14
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/utils.js +5 -5
- package/dist/components/arcgis-chart/customElement.d.ts +3 -4
- package/dist/components/arcgis-chart/customElement.js +118 -114
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +198 -13
- package/dist/components/arcgis-charts-action-bar/customElement.js +70 -58
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +28 -27
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +9 -9
- package/dist/interfaces.d.ts +16 -1
- package/dist/loader.js +3 -3
- package/dist/model/interfaces/chart-interfaces.d.ts +2 -2
- package/dist/model/interfaces/common.d.ts +2 -2
- package/dist/model/shared/setup-utils.d.ts +3 -3
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/dist/utils/chart-config/converter/index.d.ts +2 -3
- package/dist/utils/defaults/index.d.ts +2 -2
- package/dist/utils/layer/index.d.ts +1 -2
- package/dist/utils/layer/interfaces.d.ts +2 -3
- package/dist/utils/layer/utils/index.d.ts +5 -5
- package/package.json +5 -5
- package/dist/cdn/2PWEWSG6.js +0 -2
- package/dist/cdn/E2YQ7BBF.js +0 -2
- package/dist/cdn/MIA4DLUH.js +0 -3
- package/dist/cdn/YK5VKE7I.js +0 -2
|
@@ -18,12 +18,12 @@ import { H as Nt } from "../../chunks/resources.js";
|
|
|
18
18
|
import { XYChart as fe, PieChart as Re, AxisFill as Im, AxisFillCircular as Om, GaugeChart as kt, DateAxis as Be, ValueAxis as Ae, CategoryAxis as lt, CategoryAxisDataItem as Aa, DateAxisDataItem as dn, LineSeries as ve, ColumnSeries as ct, PieSeries as Et, XYCursor as kc, XYSeries as gi, SerialChart as Ps, Cursor as wm, AxisLabel as Vs, ColumnSeriesDataItem as Ws, LineSeriesDataItem as Na, CandlestickSeries as He, StepLineSeries as Ot, LegendDataItem as sa, Series as Ic, CandlestickSeriesDataItem as Rm, PieSeriesDataItem as hi, Legend as Dm, AxisRendererX as Ft, AxisRendererCircular as un, AxisLabelCircular as Es, ValueAxisDataItem as zs, AxisRendererY as Pa, ClockHand as $m, Chart as Oc } from "@amcharts/amcharts4/charts.js";
|
|
19
19
|
import { Color as Eo, percent as ft, LinePattern as wc, RectPattern as Rc, color as fn, DateFormatter as Dc, NumberFormatter as $c, Group as Bm, MouseCursorStyle as Zt, Label as zo, DropShadowFilter as Mm, Sprite as Hs, utils as Bc, Tooltip as Mc, Container as Nm, RoundedRectangle as Pm, Percent as Ho, Slice as Vm, options as eo, useTheme as Wm, unuseTheme as Em, create as _s } from "@amcharts/amcharts4/core.js";
|
|
20
20
|
import nl from "@amcharts/amcharts4/themes/animated.js";
|
|
21
|
-
import { W as be, a as y, b as Jn, c as
|
|
22
|
-
import { e as ho, i as ao, a as _o, b as Vc, m as Wc, c as gn, d as Ec, f as qt, h as zc, g as Hc, j as Gs, s as Xs, k as _c, l as Gc, n as Go, o as Hm, p as q, q as Qe, r as ra, t as vt, u as zt, v as Ys, w as ii, x as ts, y as La, A as ui, z as fi, B as ht, C as De, D as po, E as Va, F as pi, G as Us, H as ai, I as Ta, J as oi, K as Xc, L as St, M as js, N as Jt, O as xi, P as te, Q as pe, R as _m, S as hn, T as Ni, U as vi, V as Li, W as Pi, X as qs, Y as Wa, Z as Bt, _ as Zs, $ as Yc, a0 as Ks, a1 as Qs, a2 as Gt, a3 as oo, a4 as Js, a5 as Ea, a6 as Uc, a7 as jc, a8 as bi, a9 as qc, aa as Zc, ab as pn, ac as er, ad as bn, ae as tr, af as ir, ag as Kc, ah as Qc, ai as ar, aj as Jc, ak as cl, al as yn, am as ed, an as or, ao as nr, ap as Xo, aq as Gm, ar as td, as as id, at as to, au as Sn, av as ad, aw as od, ax as Xm, ay as Ym, az as Um, aA as jm, aB as nd, aC as sd, aD as qm, aE as Zm, aF as Km, aG as Cn, aH as F, aI as Qm, aJ as rd, aK as Jm, aL as eg, aM as ni, aN as tg, aO as ig, aP as no, aQ as
|
|
21
|
+
import { W as be, a as y, b as Jn, c as ie, S as Nc, d as jt, e as Ye, f as G, g as mn, h as Pc, i as sl, j as xa, k as rl, l as es, m as ll, n as va, o as zm } from "../../chunks/chart-object-literals.js";
|
|
22
|
+
import { e as ho, i as ao, a as _o, b as Vc, m as Wc, c as gn, d as Ec, f as qt, h as zc, g as Hc, j as Gs, s as Xs, k as _c, l as Gc, n as Go, o as Hm, p as q, q as Qe, r as ra, t as vt, u as zt, v as Ys, w as ii, x as ts, y as La, A as ui, z as fi, B as ht, C as De, D as po, E as Va, F as pi, G as Us, H as ai, I as Ta, J as oi, K as Xc, L as St, M as js, N as Jt, O as xi, P as te, Q as pe, R as _m, S as hn, T as Ni, U as vi, V as Li, W as Pi, X as qs, Y as Wa, Z as Bt, _ as Zs, $ as Yc, a0 as Ks, a1 as Qs, a2 as Gt, a3 as oo, a4 as Js, a5 as Ea, a6 as Uc, a7 as jc, a8 as bi, a9 as qc, aa as Zc, ab as pn, ac as er, ad as bn, ae as tr, af as ir, ag as Kc, ah as Qc, ai as ar, aj as Jc, ak as cl, al as yn, am as ed, an as or, ao as nr, ap as Xo, aq as Gm, ar as td, as as id, at as to, au as Sn, av as ad, aw as od, ax as Xm, ay as Ym, az as Um, aA as jm, aB as nd, aC as sd, aD as qm, aE as Zm, aF as Km, aG as Cn, aH as F, aI as Qm, aJ as rd, aK as Jm, aL as eg, aM as ni, aN as tg, aO as ig, aP as no, aQ as xn, aR as Qi, aS as ag, aT as ld, aU as og, aV as ng, aW as sg, aX as is, aY as rg, aZ as lg, a_ as cd, a$ as cg, b0 as dg, b1 as ug, b2 as fg, b3 as mg, b4 as gg, b5 as hg, b6 as pg, b7 as bg, b8 as No, b9 as dl, ba as yg, bb as Sg, bc as Cg, bd as xg, be as as, bf as vg, bg as Oi, bh as Lg, bi as Fg, bj as Ag, bk as Tg, bl as kg, bm as Ig, bn as Og, bo as wg, bp as Rg, bq as Dg, br as ul, bs as $g, bt as Bg, bu as Mg, bv as Ng, bw as Pg, bx as Vg, by as Wg, bz as Eg } from "../../chunks/index.js";
|
|
23
23
|
import { C as E, g as _i, a as P, b as $e, s as Ge, i as Fe, c as vn, d as os, A as K, e as nt, f as ot, S as me, n as dd, h as ud, j as Yo, k as Po, O as Ie, l as fd, u as zg } from "../../chunks/index2.js";
|
|
24
24
|
import "@amcharts/amcharts4/.internal/charts/axes/Axis.js";
|
|
25
25
|
import { R as Xe, a as Ke, b as J, c as ns, d as Ln, e as Uo } from "../../chunks/rest-js-object-literals.js";
|
|
26
|
-
import { g as aa, r as sr, f as bo, a as fl, p as Vt, b as ka, c as fs, d as Hg, e as _g, h as Gg, q as Di, i as Oe, j as rr, k as lr, l as cr, m as md, n as gd, o as dr, s as hd, t as Fn, u as pd, v as ur, w as Xg, x as Yg, y as Ug, z as bd, A as yd, B as jg, C as yo, D as qg, E as
|
|
26
|
+
import { g as aa, r as sr, f as bo, a as fl, p as Vt, b as ka, c as fs, d as Hg, e as _g, h as Gg, q as Di, i as Oe, j as rr, k as lr, l as cr, m as md, n as gd, o as dr, s as hd, t as Fn, u as pd, v as ur, w as Xg, x as Yg, y as Ug, z as bd, A as yd, B as jg, C as yo, D as qg, E as Ia, F as ml, G as Zg } from "../../chunks/index3.js";
|
|
27
27
|
import { i as ut, a as si } from "../../chunks/type-guards.js";
|
|
28
28
|
import { g as W, a as Kg } from "../../chunks/series-types.js";
|
|
29
29
|
import { isLight as Qg } from "@amcharts/amcharts4/.internal/core/utils/Colors.js";
|
|
@@ -77,7 +77,7 @@ function jh(t, e) {
|
|
|
77
77
|
function $(t, e) {
|
|
78
78
|
return ua(t, e);
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function ae(t, e) {
|
|
81
81
|
da(t, e);
|
|
82
82
|
}
|
|
83
83
|
function at(t, e) {
|
|
@@ -1886,7 +1886,7 @@ function Cs(t) {
|
|
|
1886
1886
|
function lb(t) {
|
|
1887
1887
|
const { dataValue: e, series: i, seriesType: a, stackedType: o, axisMin: n } = t;
|
|
1888
1888
|
let s = e === void 0;
|
|
1889
|
-
return e !== void 0 && (n !== void 0 && e < n ? s = !0 : i instanceof ct && (a === y.BarSeries || a === y.ComboLineAndBarSeries) && (s = e === 0 && o !== void 0 && o !==
|
|
1889
|
+
return e !== void 0 && (n !== void 0 && e < n ? s = !0 : i instanceof ct && (a === y.BarSeries || a === y.ComboLineAndBarSeries) && (s = e === 0 && o !== void 0 && o !== ie.Side)), s;
|
|
1890
1890
|
}
|
|
1891
1891
|
function xs(t, e) {
|
|
1892
1892
|
let i;
|
|
@@ -1905,9 +1905,9 @@ function vs(t, e) {
|
|
|
1905
1905
|
e instanceof ct ? "barSeriesDataLabelFormatter" : "lineSeriesDataLabelFormatter"
|
|
1906
1906
|
);
|
|
1907
1907
|
if (s !== void 0) {
|
|
1908
|
-
const r = $(e.chart.uid, "isRotated"), l = $(e.chart.uid, "config"), c = ot(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;
|
|
1908
|
+
const r = $(e.chart.uid, "isRotated"), l = $(e.chart.uid, "config"), c = ot(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, g = c === ie.Stacked100 ? u : d;
|
|
1909
1909
|
o = lb({
|
|
1910
|
-
dataValue:
|
|
1910
|
+
dataValue: g,
|
|
1911
1911
|
series: e,
|
|
1912
1912
|
seriesType: e instanceof ct ? y.BarSeries : y.LineSeries,
|
|
1913
1913
|
stackedType: c,
|
|
@@ -1924,7 +1924,7 @@ function vs(t, e) {
|
|
|
1924
1924
|
function jd(t) {
|
|
1925
1925
|
const { numberFormatter: e, dataLabelsConfigContent: i, stackedType: a } = t;
|
|
1926
1926
|
return (o, n) => {
|
|
1927
|
-
let s = a ===
|
|
1927
|
+
let s = a === ie.Stacked100 && n !== void 0 ? n : o;
|
|
1928
1928
|
return e.numberFormat.style === "percent" && (s /= 100), fa({
|
|
1929
1929
|
textSymbol: {
|
|
1930
1930
|
...i,
|
|
@@ -1952,30 +1952,30 @@ function Zd(t) {
|
|
|
1952
1952
|
} = t;
|
|
1953
1953
|
if (a !== void 0) {
|
|
1954
1954
|
let u = d;
|
|
1955
|
-
const f = n?.content ?? { type: J.TS };
|
|
1956
|
-
if (d === void 0 && c !== void 0 &&
|
|
1957
|
-
const
|
|
1958
|
-
type:
|
|
1955
|
+
const f = s?.type === y.NumberAxisFormat ? s.intlOptions : void 0, g = n?.content ?? { type: J.TS };
|
|
1956
|
+
if (d === void 0 && c !== void 0 && f !== void 0) {
|
|
1957
|
+
const b = $(e.chart.uid, "formatLocale"), p = ri({
|
|
1958
|
+
type: y.NumberAxisFormat,
|
|
1959
1959
|
iLocale: e.chart.language.locale,
|
|
1960
|
-
formatLocale:
|
|
1960
|
+
formatLocale: b
|
|
1961
1961
|
});
|
|
1962
|
-
|
|
1963
|
-
numberFormatter:
|
|
1964
|
-
dataLabelsConfigContent:
|
|
1962
|
+
p.numberFormat = f, r === ie.Stacked100 && (p.numberFormat.style = "percent"), u = c({
|
|
1963
|
+
numberFormatter: p,
|
|
1964
|
+
dataLabelsConfigContent: g,
|
|
1965
1965
|
stackedType: r
|
|
1966
1966
|
});
|
|
1967
1967
|
}
|
|
1968
|
-
let
|
|
1968
|
+
let h;
|
|
1969
1969
|
switch (i) {
|
|
1970
1970
|
case y.BarSeries:
|
|
1971
|
-
|
|
1971
|
+
h = "barSeriesDataLabelFormatter";
|
|
1972
1972
|
break;
|
|
1973
1973
|
case y.LineSeries:
|
|
1974
|
-
|
|
1974
|
+
h = "lineSeriesDataLabelFormatter";
|
|
1975
1975
|
break;
|
|
1976
1976
|
}
|
|
1977
|
-
|
|
1978
|
-
[
|
|
1977
|
+
h !== void 0 && Xt(e.uid, {
|
|
1978
|
+
[h]: u
|
|
1979
1979
|
}), n !== void 0 && (n.content.text = l === !0 ? "{valueX}" : "{valueY}", n.visible = n.visible !== !1), Dt({
|
|
1980
1980
|
label: a,
|
|
1981
1981
|
labelConfig: n,
|
|
@@ -2003,15 +2003,15 @@ function xr(t) {
|
|
|
2003
2003
|
function vr(t) {
|
|
2004
2004
|
const { series: e, seriesConfig: i, rotationChanged: a, stackedType: o, isRotated: n } = t;
|
|
2005
2005
|
switch (o) {
|
|
2006
|
-
case
|
|
2006
|
+
case ie.Stacked: {
|
|
2007
2007
|
e.stacked = !0, e instanceof ve && (e.stackToNegative = i.stackNegativeValuesToBaseline ?? A.lineSeries.stackNegativeValuesToBaseline), a === n ? e.dataFields.valueYShow = void 0 : e.dataFields.valueXShow = void 0, e.updateStacking();
|
|
2008
2008
|
break;
|
|
2009
2009
|
}
|
|
2010
|
-
case
|
|
2010
|
+
case ie.Stacked100: {
|
|
2011
2011
|
e.stacked = !0, n ? e.dataFields.valueXShow = "totalPercent" : e.dataFields.valueYShow = "totalPercent", e.updateStacking();
|
|
2012
2012
|
break;
|
|
2013
2013
|
}
|
|
2014
|
-
case
|
|
2014
|
+
case ie.Side:
|
|
2015
2015
|
default: {
|
|
2016
2016
|
e.stacked = !1, a === n ? e.dataFields.valueYShow = void 0 : e.dataFields.valueXShow = void 0;
|
|
2017
2017
|
break;
|
|
@@ -2376,7 +2376,7 @@ function yb(t) {
|
|
|
2376
2376
|
async function tu(t) {
|
|
2377
2377
|
const { chart: e, cursorSelectionRectangle: i, multiSelect: a, selectionSource: o, hitElement: n, queryObject: s, errorStrings: r } = t, l = $(e.uid, "config"), c = l?.series[0]?.x ?? "";
|
|
2378
2378
|
let d = [];
|
|
2379
|
-
|
|
2379
|
+
ae(e.uid, { pendingSelectionQueries: !0 });
|
|
2380
2380
|
let u = [], f = !0;
|
|
2381
2381
|
yb({
|
|
2382
2382
|
chart: e,
|
|
@@ -2491,7 +2491,7 @@ function Co(t) {
|
|
|
2491
2491
|
async function xb(t) {
|
|
2492
2492
|
const { chart: e, queryObject: i, errorStrings: a } = t, { series: o } = e;
|
|
2493
2493
|
if (o.length > 0) {
|
|
2494
|
-
|
|
2494
|
+
ae(e.uid, { pendingSelectionQueries: !0 });
|
|
2495
2495
|
const n = $(e.uid, "config"), r = o.values.map(
|
|
2496
2496
|
(l, c) => {
|
|
2497
2497
|
let d = [];
|
|
@@ -2797,7 +2797,7 @@ function kb(t) {
|
|
|
2797
2797
|
if (h === !1 || b === !1)
|
|
2798
2798
|
u = () => "";
|
|
2799
2799
|
else {
|
|
2800
|
-
const p = g.axes, S = p[0].valueFormat, C = p[1].valueFormat, x = q(g.series), L = i?.find((D) => D.name === s.x)?.type === Ln.TimeOnly, v = ot(g) ===
|
|
2800
|
+
const p = g.axes, S = p[0].valueFormat, C = p[1].valueFormat, x = q(g.series), L = i?.find((D) => D.name === s.x)?.type === Ln.TimeOnly, v = ot(g) === ie.Stacked100, T = ra(Qe(a)).idField, k = $e(i, s.x), I = Da(k, p[0].title?.content.text), O = au({
|
|
2801
2801
|
config: g,
|
|
2802
2802
|
fieldList: i,
|
|
2803
2803
|
objectIdField: T,
|
|
@@ -3653,7 +3653,7 @@ function Qb(t) {
|
|
|
3653
3653
|
if (e instanceof fe) {
|
|
3654
3654
|
const a = $(e.uid, "config"), o = nt(a), n = o ? m.Rotated : m.NonRotated, s = ot(a);
|
|
3655
3655
|
let r = m.SideBySide;
|
|
3656
|
-
s ===
|
|
3656
|
+
s === ie.Stacked ? r = m.Stacked : s === ie.Stacked100 && (r = m.Stacked100);
|
|
3657
3657
|
const l = e.rtl ? m.RTL : m.LTR;
|
|
3658
3658
|
let c;
|
|
3659
3659
|
switch (a?.legend?.position) {
|
|
@@ -4699,7 +4699,7 @@ function Wy(t, e = !0) {
|
|
|
4699
4699
|
}
|
|
4700
4700
|
function _a(t) {
|
|
4701
4701
|
const { chart: e, selectionSource: i, clearOnlyVisibleSeries: a, disposeStyleAndSelection: o } = t;
|
|
4702
|
-
o !== !1 && Qd(e, "updateSelectionCallbackDisposer"),
|
|
4702
|
+
o !== !1 && Qd(e, "updateSelectionCallbackDisposer"), ae(e.uid, {
|
|
4703
4703
|
computedSelectionItems: void 0,
|
|
4704
4704
|
computedSelectionIndexes: void 0,
|
|
4705
4705
|
pendingSelectionQueries: !1
|
|
@@ -4946,7 +4946,7 @@ function Yy(t) {
|
|
|
4946
4946
|
data: X,
|
|
4947
4947
|
x: L.series[0].x,
|
|
4948
4948
|
splitByField: Jt(L.series[0].query?.where)
|
|
4949
|
-
})),
|
|
4949
|
+
})), ae(x.uid, { computedSelectionItems: X }), g === !0) {
|
|
4950
4950
|
const Y = Array.from(new Set(H));
|
|
4951
4951
|
let U = $(
|
|
4952
4952
|
x.uid,
|
|
@@ -4954,7 +4954,7 @@ function Yy(t) {
|
|
|
4954
4954
|
);
|
|
4955
4955
|
U === void 0 && (U = /* @__PURE__ */ new Map()), Y.length === R.length ? U.set(i ?? 0, {}) : U.set(i ?? 0, {
|
|
4956
4956
|
indexesToSelect: Y
|
|
4957
|
-
}),
|
|
4957
|
+
}), ae(x.uid, { computedSelectionIndexes: U });
|
|
4958
4958
|
}
|
|
4959
4959
|
} else if (S !== void 0 && z)
|
|
4960
4960
|
_ = Gy({ chart: x, selectionIndexes: S, queryObject: a });
|
|
@@ -5021,7 +5021,7 @@ function Yy(t) {
|
|
|
5021
5021
|
htmlContainer: x.htmlContainer
|
|
5022
5022
|
});
|
|
5023
5023
|
}
|
|
5024
|
-
|
|
5024
|
+
ae(x.uid, {
|
|
5025
5025
|
computedSelectionIndexes: void 0,
|
|
5026
5026
|
computedSelectionItems: void 0
|
|
5027
5027
|
});
|
|
@@ -5139,14 +5139,14 @@ async function vo(t) {
|
|
|
5139
5139
|
htmlContainer: e.htmlContainer
|
|
5140
5140
|
});
|
|
5141
5141
|
} catch (c) {
|
|
5142
|
-
|
|
5142
|
+
ae(e.uid, { pendingSelectionQueries: !1 });
|
|
5143
5143
|
let d = -1;
|
|
5144
5144
|
if (c && typeof c == "object" && "details" in c && ({ httpStatus: d } = c instanceof ui ? c.details.details : c.details ?? {}), d === 429)
|
|
5145
5145
|
Ey(e);
|
|
5146
5146
|
else
|
|
5147
5147
|
throw c;
|
|
5148
5148
|
}
|
|
5149
|
-
|
|
5149
|
+
ae(e.uid, { pendingSelectionQueries: !1 });
|
|
5150
5150
|
}
|
|
5151
5151
|
function jy(t) {
|
|
5152
5152
|
const { axis: e } = t, i = e.chart;
|
|
@@ -5735,7 +5735,7 @@ function wS(t) {
|
|
|
5735
5735
|
}), r.axis.invalidateLabels();
|
|
5736
5736
|
}
|
|
5737
5737
|
function Rr(t) {
|
|
5738
|
-
return (t ?? hd()) ===
|
|
5738
|
+
return (t ?? hd()) === ie.Side;
|
|
5739
5739
|
}
|
|
5740
5740
|
function vu(t, e) {
|
|
5741
5741
|
let i, a;
|
|
@@ -5974,7 +5974,7 @@ function io(t) {
|
|
|
5974
5974
|
}
|
|
5975
5975
|
function Lu(t) {
|
|
5976
5976
|
const { chart: e, axesConfig: i, isRotated: a, chartType: o, queryObject: n, errorStrings: s } = t;
|
|
5977
|
-
|
|
5977
|
+
ae(e.uid, { isRotated: a === !0 });
|
|
5978
5978
|
const r = a === !0 ? i?.[1] : i?.[0], l = a === !0 ? i?.[0] : i?.[1], c = r?.valueFormat, d = l?.valueFormat;
|
|
5979
5979
|
c !== void 0 && d !== void 0 && (e.xAxes.clear(), e.yAxes.clear(), io({
|
|
5980
5980
|
chartType: o,
|
|
@@ -6028,11 +6028,11 @@ function XS(t) {
|
|
|
6028
6028
|
chartData: d.data,
|
|
6029
6029
|
filteredSeriesIds: S
|
|
6030
6030
|
});
|
|
6031
|
-
if (h ===
|
|
6031
|
+
if (h === ie.Stacked100 && !b)
|
|
6032
6032
|
l = Number.NaN, c = s ?? 100;
|
|
6033
6033
|
else {
|
|
6034
6034
|
const { minX: x, maxX: L, minY: v, maxY: T } = C, [k, I] = b ? [x ?? Number.NaN, L ?? Number.NaN] : [v, T];
|
|
6035
|
-
g = k, a === y.BarSeries || a === y.ComboLineAndBarSeries || a === y.LineSeries && h ===
|
|
6035
|
+
g = k, a === y.BarSeries || a === y.ComboLineAndBarSeries || a === y.LineSeries && h === ie.Stacked && !b ? (l = Math.min(k, 0), c = Math.max(I, 0)) : (l = k, c = I);
|
|
6036
6036
|
}
|
|
6037
6037
|
l = n ?? l, c = s ?? c;
|
|
6038
6038
|
}
|
|
@@ -6146,7 +6146,7 @@ function Au(t) {
|
|
|
6146
6146
|
const o = W(a?.series);
|
|
6147
6147
|
if (KS(t, o)) {
|
|
6148
6148
|
const n = $(i.uid, "isRotated"), s = ot(a);
|
|
6149
|
-
s ===
|
|
6149
|
+
s === ie.Stacked100 && !t.visible && le(t, !1);
|
|
6150
6150
|
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], b = a.axes?.[2];
|
|
6151
6151
|
[
|
|
6152
6152
|
{ axis: l, axisConfig: f, updateLabels: !1 },
|
|
@@ -6248,7 +6248,7 @@ function Vo(t) {
|
|
|
6248
6248
|
chartType: n,
|
|
6249
6249
|
labelsTextSymbol: i.labels.content,
|
|
6250
6250
|
formatOptions: R,
|
|
6251
|
-
overridePercentMultiplication: d ===
|
|
6251
|
+
overridePercentMultiplication: d === ie.Stacked100,
|
|
6252
6252
|
axisValueFormatter: u,
|
|
6253
6253
|
isTimeOnlyField: h,
|
|
6254
6254
|
setTimeZone: b,
|
|
@@ -6403,7 +6403,7 @@ function tC(t) {
|
|
|
6403
6403
|
k && C instanceof Be && (I = !I), v.inversed = I;
|
|
6404
6404
|
}
|
|
6405
6405
|
const x = n === !0 ? e.xAxes.getIndex(0) : e.yAxes.getIndex(0), L = n === !0 ? e.xAxes.getIndex(1) : e.yAxes.getIndex(1);
|
|
6406
|
-
S ===
|
|
6406
|
+
S === ie.Stacked100 ? (x instanceof Ae && (x.calculateTotals = !0), L instanceof Ae && (L.calculateTotals = !0)) : (x instanceof Ae && (x.calculateTotals = !1), L instanceof Ae && (L.calculateTotals = !1));
|
|
6407
6407
|
}
|
|
6408
6408
|
function Fs(t) {
|
|
6409
6409
|
return t != null && t !== 0;
|
|
@@ -6472,7 +6472,7 @@ function Bi(t, e) {
|
|
|
6472
6472
|
}
|
|
6473
6473
|
if (i !== void 0) {
|
|
6474
6474
|
let a = $(t.uid, i);
|
|
6475
|
-
a !== void 0 && (a.dispose(), a = void 0,
|
|
6475
|
+
a !== void 0 && (a.dispose(), a = void 0, ae(t.uid, { [i]: void 0 }));
|
|
6476
6476
|
}
|
|
6477
6477
|
}
|
|
6478
6478
|
function aC(t) {
|
|
@@ -6556,7 +6556,7 @@ function nC(t) {
|
|
|
6556
6556
|
};
|
|
6557
6557
|
e.events.once(N.Validated, o);
|
|
6558
6558
|
const n = e.events.on(N.SizeChanged, o);
|
|
6559
|
-
|
|
6559
|
+
ae(e.uid, { gaugeAutoResizeAxisLabelsDisposer: n }), o();
|
|
6560
6560
|
} else {
|
|
6561
6561
|
Bi(e, je.AxisLabels);
|
|
6562
6562
|
const o = At(a, xe.GaugeTicksWithLabels);
|
|
@@ -6590,7 +6590,7 @@ function rC(t, e) {
|
|
|
6590
6590
|
sC(t, e);
|
|
6591
6591
|
});
|
|
6592
6592
|
}, o = t.events.on(N.Validated, a), n = t.events.on(N.SizeChanged, a);
|
|
6593
|
-
|
|
6593
|
+
ae(t.uid, {
|
|
6594
6594
|
gaugeAutoResizeInnerLabelFirstDisposer: n,
|
|
6595
6595
|
gaugeAutoResizeInnerLabelSecondDisposer: o
|
|
6596
6596
|
}), a();
|
|
@@ -6629,7 +6629,7 @@ function cC(t) {
|
|
|
6629
6629
|
N.SizeChanged,
|
|
6630
6630
|
o
|
|
6631
6631
|
);
|
|
6632
|
-
|
|
6632
|
+
ae(e.uid, { gaugeAutoResizeFirstAndLastLabelsDisposer: n }), o();
|
|
6633
6633
|
} else
|
|
6634
6634
|
Bi(e, je.FirstAndLastLabels), At(a, xe.GaugeFirstAndLastGuides).map(
|
|
6635
6635
|
(n) => n.label
|
|
@@ -7555,7 +7555,7 @@ function $u(t) {
|
|
|
7555
7555
|
function Ul(t) {
|
|
7556
7556
|
t instanceof kt ? Xo(t.htmlContainer) : t instanceof Ps && t.series.each((e) => {
|
|
7557
7557
|
const i = e.events.on(N.Validated, () => {
|
|
7558
|
-
t && $u(t.series) && !$(t.uid, "renderingCompleteNotified") && (
|
|
7558
|
+
t && $u(t.series) && !$(t.uid, "renderingCompleteNotified") && (ae(t.uid, { renderingCompleteNotified: !0 }), hb(t), Xo(t.htmlContainer), i.dispose());
|
|
7559
7559
|
});
|
|
7560
7560
|
});
|
|
7561
7561
|
}
|
|
@@ -7651,11 +7651,11 @@ function nx(t, e) {
|
|
|
7651
7651
|
(a) => {
|
|
7652
7652
|
a[0].intersectionRatio > 0 && ($(t.uid, "chartWasCreatedWhileHidden") === !0 ? (t instanceof Re && t.events.once(N.Validated, () => {
|
|
7653
7653
|
t.isDisposed() || an(t), t.reinit();
|
|
7654
|
-
}), t.reinit(), t instanceof fe && Bn(t),
|
|
7654
|
+
}), t.reinit(), t instanceof fe && Bn(t), ae(t.uid, {
|
|
7655
7655
|
chartWasCreatedWhileHidden: !1
|
|
7656
7656
|
})) : $(t.uid, "chartWasUpdatedWhileHidden") === !0 && (t instanceof Re && t.events.once(N.Validated, () => {
|
|
7657
7657
|
t.isDisposed() || an(t), t.reinit();
|
|
7658
|
-
}), t.reinit(),
|
|
7658
|
+
}), t.reinit(), ae(t.uid, {
|
|
7659
7659
|
chartWasUpdatedWhileHidden: !1
|
|
7660
7660
|
})));
|
|
7661
7661
|
},
|
|
@@ -7690,7 +7690,7 @@ function an(t) {
|
|
|
7690
7690
|
a = ft(T * 100);
|
|
7691
7691
|
} else
|
|
7692
7692
|
a = ft(A.pieChart.chartRadius);
|
|
7693
|
-
i.value.toFixed(1) !== a.value.toFixed(1) && (
|
|
7693
|
+
i.value.toFixed(1) !== a.value.toFixed(1) && (ae(t.uid, { pieChartRadius: a.percent }), t.radius = a, t.innerRadius = ft((n ?? A.pieChart.innerRadius) * a.value));
|
|
7694
7694
|
const f = t.series?.values?.[0];
|
|
7695
7695
|
f instanceof Et && (f.labels.template.maxWidth = sx(
|
|
7696
7696
|
e?.series[0],
|
|
@@ -7734,7 +7734,7 @@ function sx(t, e) {
|
|
|
7734
7734
|
function Mu(t) {
|
|
7735
7735
|
if (Mt(t)) {
|
|
7736
7736
|
const e = typeof t.radius == "number" ? t.radius : t.radius.percent;
|
|
7737
|
-
|
|
7737
|
+
ae(t.uid, { pieChartRadius: e }), an(t), t.validate();
|
|
7738
7738
|
}
|
|
7739
7739
|
}
|
|
7740
7740
|
function Nu(t) {
|
|
@@ -7749,7 +7749,7 @@ function Nu(t) {
|
|
|
7749
7749
|
chartContainer: r
|
|
7750
7750
|
} = A, l = a?.series, c = W(l), d = Rt({ config: a }), u = l?.[0]?.dataLabels?.visible ?? !0;
|
|
7751
7751
|
let f = A.chartDefaultPaddingRight;
|
|
7752
|
-
if (d && u && (c === y.LineSeries || c === y.ComboLineAndBarSeries || c === y.BarSeries && (a?.stackedType ?? hd()) ===
|
|
7752
|
+
if (d && u && (c === y.LineSeries || c === y.ComboLineAndBarSeries || c === y.BarSeries && (a?.stackedType ?? hd()) === ie.Side)) {
|
|
7753
7753
|
let h = 0;
|
|
7754
7754
|
const b = (p) => ze(p.uid, "isDataLabel") ?? !1;
|
|
7755
7755
|
t.series.each((p) => {
|
|
@@ -7787,13 +7787,13 @@ function rx(t, e) {
|
|
|
7787
7787
|
eo.classNamePrefix = "arcgis-charts-";
|
|
7788
7788
|
function $r(t) {
|
|
7789
7789
|
const { chart: e, localeInfo: i, chartLocale: a } = t;
|
|
7790
|
-
eo.defaultLocale = a, e.language.locale = a,
|
|
7790
|
+
eo.defaultLocale = a, e.language.locale = a, ae(e.uid, { formatLocale: i.formatLocale }), e.rtl = i.rtl;
|
|
7791
7791
|
}
|
|
7792
7792
|
function Wn(t) {
|
|
7793
7793
|
const { chart: e, actionMode: i, cursorRange: a } = t;
|
|
7794
7794
|
if (Mt(e)) {
|
|
7795
7795
|
const o = i ?? $(e.uid, "actionMode") ?? A.actionMode;
|
|
7796
|
-
|
|
7796
|
+
ae(e.uid, { actionMode: o });
|
|
7797
7797
|
const n = $(e.uid, "filterBySelection");
|
|
7798
7798
|
switch (o) {
|
|
7799
7799
|
case K.MonoSelection:
|
|
@@ -8078,7 +8078,7 @@ function Nr(t) {
|
|
|
8078
8078
|
gaugeInnerLabelFormatter: x,
|
|
8079
8079
|
popupTemplateFieldInfosEnabled: L
|
|
8080
8080
|
} = a ?? {}, { data: v, count: T, queryConfig: k } = d ?? {}, I = W(e.series), O = vt(r, L);
|
|
8081
|
-
|
|
8081
|
+
ae(i.uid, {
|
|
8082
8082
|
fieldList: O,
|
|
8083
8083
|
options: a,
|
|
8084
8084
|
elementCount: T,
|
|
@@ -8106,7 +8106,7 @@ function Nr(t) {
|
|
|
8106
8106
|
const Y = hy(i, _);
|
|
8107
8107
|
Hb(i);
|
|
8108
8108
|
const U = Rt({ config: e });
|
|
8109
|
-
|
|
8109
|
+
ae(i.uid, {
|
|
8110
8110
|
config: e,
|
|
8111
8111
|
isRotated: U,
|
|
8112
8112
|
isNonAggregatedChart: !Cn(M)
|
|
@@ -8168,7 +8168,7 @@ function Vu(t) {
|
|
|
8168
8168
|
}
|
|
8169
8169
|
function dx(t) {
|
|
8170
8170
|
const { chartContainer: e, chartConfig: i, queryObject: a, colorMatchApplied: o, dataInfo: n, t9nStrings: s, options: r, globalOptions: l } = t, { errorStrings: c, utilsStrings: d, amChartsStrings: u } = s, f = _s(e, fe);
|
|
8171
|
-
f.id = i?.id ?? f.uid,
|
|
8171
|
+
f.id = i?.id ?? f.uid, ae(f.uid, { queryObject: a });
|
|
8172
8172
|
const { t9nLocale: g } = ia(f.htmlContainer ?? document.documentElement), h = po(f.htmlContainer ?? document.documentElement), b = Ns(f.htmlContainer ?? document.documentElement) === "rtl";
|
|
8173
8173
|
$r({ chart: f, localeInfo: { locale: g, formatLocale: h, rtl: b }, chartLocale: u }), f.events.on(N.Inited, () => f.zoomOutButton.deepInvalidate());
|
|
8174
8174
|
const S = W(i?.series);
|
|
@@ -8184,7 +8184,7 @@ function dx(t) {
|
|
|
8184
8184
|
errorStrings: c,
|
|
8185
8185
|
dataInfo: n
|
|
8186
8186
|
});
|
|
8187
|
-
return
|
|
8187
|
+
return ae(f.uid, { config: Te(i) }), Vu(f), Sb({ chart: f, queryObject: a, errorStrings: c }), Cb({ chart: f, queryObject: a, errorStrings: c }), { chart: f, chartElements: C };
|
|
8188
8188
|
}
|
|
8189
8189
|
function ux(t) {
|
|
8190
8190
|
const {
|
|
@@ -8213,7 +8213,7 @@ function ux(t) {
|
|
|
8213
8213
|
utilsStrings: l,
|
|
8214
8214
|
errorStrings: r
|
|
8215
8215
|
});
|
|
8216
|
-
return
|
|
8216
|
+
return ae(f.uid, { config: Te(i), filterBySelection: d?.filterBySelection }), ax(f, a, r), { chart: f, chartElements: h };
|
|
8217
8217
|
}
|
|
8218
8218
|
function fx(t) {
|
|
8219
8219
|
const {
|
|
@@ -8240,7 +8240,7 @@ function fx(t) {
|
|
|
8240
8240
|
utilsStrings: s,
|
|
8241
8241
|
errorStrings: n
|
|
8242
8242
|
});
|
|
8243
|
-
return
|
|
8243
|
+
return ae(d.uid, { config: Te(i) }), Vu(d), e?.ownerDocument.addEventListener("visibilitychange", () => {
|
|
8244
8244
|
const S = e.ownerDocument.hidden;
|
|
8245
8245
|
d && !S && oC(i?.axes?.[0]) && (d.svgContainer?.measure(), d.invalidateData());
|
|
8246
8246
|
}), { chart: d, chartElements: p };
|
|
@@ -8259,7 +8259,7 @@ function mx(t) {
|
|
|
8259
8259
|
utilsStrings: u,
|
|
8260
8260
|
errorStrings: f
|
|
8261
8261
|
} = t, { guideTooltipFormatter: g } = r ?? {}, h = $(i.uid, "config"), b = h?.series, p = e.series, S = W(p), C = Rt({ config: e });
|
|
8262
|
-
|
|
8262
|
+
ae(i.uid, { config: Te(e), isRotated: C }), ae(i.uid, { filterBySelection: r?.filterBySelection }), Wn({ chart: i, actionMode: r?.actionMode, cursorRange: r?.cursorRange });
|
|
8263
8263
|
const { xOrYChanged: x, layerChanged: L } = n?.common ?? {};
|
|
8264
8264
|
let { numberOfSeriesChanged: v } = n?.common ?? {};
|
|
8265
8265
|
const T = ad(h, e), k = od(h, e), I = Xm(h, e), O = Ym(h, e), R = JSON.stringify(Yo(b)) !== JSON.stringify(Yo(p));
|
|
@@ -8282,9 +8282,9 @@ function mx(t) {
|
|
|
8282
8282
|
});
|
|
8283
8283
|
let _ = !1;
|
|
8284
8284
|
const H = qt(s?.data), j = q(p);
|
|
8285
|
-
if (
|
|
8285
|
+
if (ae(i.uid, { isNonAggregatedChart: !Cn(j) }), o) {
|
|
8286
8286
|
const { count: he, data: Me, queryConfig: Ct } = s ?? {};
|
|
8287
|
-
|
|
8287
|
+
ae(i.uid, {
|
|
8288
8288
|
elementCount: he,
|
|
8289
8289
|
queryConfig: Ct,
|
|
8290
8290
|
timeIntervalInfo: Me?.timeIntervalInfo,
|
|
@@ -8294,7 +8294,7 @@ function mx(t) {
|
|
|
8294
8294
|
const he = sd(b, p);
|
|
8295
8295
|
if (he.length > 0 && (Kh(i.series, he), i.feedLegend(), _ = !0), Wa(p[0])) {
|
|
8296
8296
|
const { binTemporalData: Me } = p[0], { unit: Ct, size: mt } = p[0].temporalBinning ?? {};
|
|
8297
|
-
Me === !1 && Ct !== void 0 && mt !== void 0 &&
|
|
8297
|
+
Me === !1 && Ct !== void 0 && mt !== void 0 && ae(i.uid, { timeIntervalInfo: { unit: Ct, size: mt } });
|
|
8298
8298
|
}
|
|
8299
8299
|
}
|
|
8300
8300
|
const X = B && !o, Y = /* @__PURE__ */ new Map();
|
|
@@ -8374,9 +8374,9 @@ function gx(t) {
|
|
|
8374
8374
|
utilsStrings: c,
|
|
8375
8375
|
errorStrings: d
|
|
8376
8376
|
} = t, u = $(e.uid, "config"), f = u?.series, g = o?.series, h = Sn({ oldConfig: u, newConfig: o, dataWasUpdated: a }), b = yr(f, g), { count: p, data: S, queryConfig: C } = l ?? {}, x = qt(S);
|
|
8377
|
-
|
|
8377
|
+
ae(e.uid, { filterBySelection: r?.filterBySelection, config: Te(o) });
|
|
8378
8378
|
const L = x !== void 0 && (e.data.length !== x.length || Md(e.data, x));
|
|
8379
|
-
L && (
|
|
8379
|
+
L && (ae(e.uid, { elementCount: p, queryConfig: C }), e.data = x), (h || b) && e.validateData(), Gt({
|
|
8380
8380
|
data: n,
|
|
8381
8381
|
htmlContainer: e.htmlContainer,
|
|
8382
8382
|
chartId: e.id,
|
|
@@ -8421,7 +8421,7 @@ function hx(t) {
|
|
|
8421
8421
|
} = t, { xAxisLabelFormatter: d, gaugeInnerLabelFormatter: u, guideTooltipFormatter: f } = r ?? {}, g = a.series, h = W(g), b = n?.data;
|
|
8422
8422
|
if (s) {
|
|
8423
8423
|
const { count: L, queryConfig: v } = n ?? {};
|
|
8424
|
-
b?.dataItems !== void 0 && (e.data = b.dataItems),
|
|
8424
|
+
b?.dataItems !== void 0 && (e.data = b.dataItems), ae(e.uid, { elementCount: L, queryConfig: v });
|
|
8425
8425
|
}
|
|
8426
8426
|
a.axes !== void 0 && Br({
|
|
8427
8427
|
chart: e,
|
|
@@ -8440,7 +8440,7 @@ function hx(t) {
|
|
|
8440
8440
|
e.innerRadius = ft(S), e.startAngle = C, e.endAngle = x, Pn(i.headerElements, {
|
|
8441
8441
|
title: a.title,
|
|
8442
8442
|
subtitle: a.subtitle
|
|
8443
|
-
}), Vn(i.footerElements, a.footer), Nn(e, a.background),
|
|
8443
|
+
}), Vn(i.footerElements, a.footer), Nn(e, a.background), ae(e.uid, { config: Te(a) });
|
|
8444
8444
|
}
|
|
8445
8445
|
function px(t) {
|
|
8446
8446
|
const {
|
|
@@ -8520,7 +8520,7 @@ function bx(t) {
|
|
|
8520
8520
|
options: n,
|
|
8521
8521
|
globalOptions: c
|
|
8522
8522
|
}), { chart: p, chartElements: S } = b;
|
|
8523
|
-
|
|
8523
|
+
ae(p.uid, {
|
|
8524
8524
|
chartWasCreatedWhileHidden: g,
|
|
8525
8525
|
queryObject: o,
|
|
8526
8526
|
filterBySelection: n?.filterBySelection,
|
|
@@ -8611,9 +8611,9 @@ function bx(t) {
|
|
|
8611
8611
|
queryObject: X,
|
|
8612
8612
|
dataInfo: Y
|
|
8613
8613
|
} = k;
|
|
8614
|
-
|
|
8614
|
+
ae(p.uid, { renderingCompleteNotified: !1 });
|
|
8615
8615
|
const U = !Zl(e), ee = vt(X, O?.popupTemplateFieldInfosEnabled);
|
|
8616
|
-
|
|
8616
|
+
ae(p.uid, {
|
|
8617
8617
|
chartWasUpdatedWhileHidden: U,
|
|
8618
8618
|
options: O,
|
|
8619
8619
|
fieldList: ee,
|
|
@@ -9580,7 +9580,7 @@ function Qx(t) {
|
|
|
9580
9580
|
function Ju(t) {
|
|
9581
9581
|
const { numberFormatter: e, stackedType: i } = t;
|
|
9582
9582
|
return (a, o) => {
|
|
9583
|
-
let n = i ===
|
|
9583
|
+
let n = i === ie.Stacked100 && o !== void 0 ? o : a;
|
|
9584
9584
|
return e.get("numberFormat").style === "percent" && (n /= 100), e.format(n);
|
|
9585
9585
|
};
|
|
9586
9586
|
}
|
|
@@ -9744,8 +9744,8 @@ function av(t) {
|
|
|
9744
9744
|
);
|
|
9745
9745
|
if (c !== void 0 && i.chart && l) {
|
|
9746
9746
|
const d = w(i.chart.uid, "config"), u = nt(d), f = u ? l.get("valueX") : l.get("valueY"), g = u ? l.get("valueXTotalPercent") : l.get("valueYTotalPercent"), h = ot(d);
|
|
9747
|
-
i instanceof Se && h !==
|
|
9748
|
-
ot(d) ===
|
|
9747
|
+
i instanceof Se && h !== ie.Side && Number(f) === 0 ? r = "" : r = c(
|
|
9748
|
+
ot(d) === ie.Stacked100 ? g : f
|
|
9749
9749
|
);
|
|
9750
9750
|
}
|
|
9751
9751
|
return o === "html" ? Ge(r) : r;
|
|
@@ -9768,7 +9768,7 @@ function En(t) {
|
|
|
9768
9768
|
let u = c;
|
|
9769
9769
|
const f = n?.content ?? { type: J.TS }, g = d ? w(d.uid, "config") : void 0;
|
|
9770
9770
|
if (d && c === void 0 && l !== void 0 && g?.axes?.[1]?.valueFormat?.type === y.NumberAxisFormat) {
|
|
9771
|
-
const L = w(d.uid, "formatLocale"), v = r === y.HeatSeries ? { type: y.NumberAxisFormat, intlOptions: {} } : g?.axes?.[1]?.valueFormat, T = ot(g), k = T ===
|
|
9771
|
+
const L = w(d.uid, "formatLocale"), v = r === y.HeatSeries ? { type: y.NumberAxisFormat, intlOptions: {} } : g?.axes?.[1]?.valueFormat, T = ot(g), k = T === ie.Stacked100 ? {
|
|
9772
9772
|
...lr().intlOptions,
|
|
9773
9773
|
...v.intlOptions,
|
|
9774
9774
|
style: "percent"
|
|
@@ -10566,7 +10566,7 @@ function Av(t) {
|
|
|
10566
10566
|
if (g !== void 0) {
|
|
10567
10567
|
const { dataTooltipVisible: h } = n, b = o instanceof oe ? n.markerVisible : void 0;
|
|
10568
10568
|
if (h !== !1 && b !== !1) {
|
|
10569
|
-
const p = g.axes, S = p[0].valueFormat, C = p[1].valueFormat, x = i?.find((B) => B.name === n.x)?.type === Ln.TimeOnly, L = q(g.series), v = ot(g) ===
|
|
10569
|
+
const p = g.axes, S = p[0].valueFormat, C = p[1].valueFormat, x = i?.find((B) => B.name === n.x)?.type === Ln.TimeOnly, L = q(g.series), v = ot(g) === ie.Stacked100, T = Qe(a), k = ra(T).idField, I = $e(i, n.x), O = Da(I, p[0].title?.content.text), R = au({
|
|
10570
10570
|
config: g,
|
|
10571
10571
|
fieldList: i,
|
|
10572
10572
|
objectIdField: k,
|
|
@@ -11840,6 +11840,9 @@ function ki(t) {
|
|
|
11840
11840
|
case y.PieSeries:
|
|
11841
11841
|
f = !!(r || s);
|
|
11842
11842
|
break;
|
|
11843
|
+
case y.BoxPlotSeries:
|
|
11844
|
+
f = !!s;
|
|
11845
|
+
break;
|
|
11843
11846
|
}
|
|
11844
11847
|
return u || f;
|
|
11845
11848
|
}
|
|
@@ -11858,9 +11861,9 @@ function yf(t) {
|
|
|
11858
11861
|
return t && t.series.length > 0 && (e = t.series.values.map((i) => i.get("visible") !== !1 ? `${i.get("id")}` : "").filter((i) => i !== "")), e;
|
|
11859
11862
|
}
|
|
11860
11863
|
function Xr(t) {
|
|
11861
|
-
const { series: e, chartConfig: i, isRotated: a } = t, o = ot(i), n = i.series[0], s = e.chart?.xAxes.getIndex(0), r = e.chart?.yAxes.getIndex(0), l = a && (o ===
|
|
11864
|
+
const { series: e, chartConfig: i, isRotated: a } = t, o = ot(i), n = i.series[0], s = e.chart?.xAxes.getIndex(0), r = e.chart?.yAxes.getIndex(0), l = a && (o === ie.Stacked || o === ie.Stacked100) ? r : s;
|
|
11862
11865
|
switch (o) {
|
|
11863
|
-
case
|
|
11866
|
+
case ie.Stacked: {
|
|
11864
11867
|
e.setAll({
|
|
11865
11868
|
stacked: !0,
|
|
11866
11869
|
valueYShow: "valueYWorking",
|
|
@@ -11872,11 +11875,11 @@ function Xr(t) {
|
|
|
11872
11875
|
);
|
|
11873
11876
|
break;
|
|
11874
11877
|
}
|
|
11875
|
-
case
|
|
11878
|
+
case ie.Stacked100: {
|
|
11876
11879
|
e.setAll({ stacked: !0, baseAxis: l }), a === !0 ? (e.setAll({ valueXShow: "valueXTotalPercent" }), s instanceof Ce && s.set("calculateTotals", !0)) : (e.setAll({ valueYShow: "valueYTotalPercent" }), r instanceof Ce && r.set("calculateTotals", !0));
|
|
11877
11880
|
break;
|
|
11878
11881
|
}
|
|
11879
|
-
case
|
|
11882
|
+
case ie.Side:
|
|
11880
11883
|
default: {
|
|
11881
11884
|
e.setAll({
|
|
11882
11885
|
stacked: !1,
|
|
@@ -12409,7 +12412,7 @@ function OL(t) {
|
|
|
12409
12412
|
y.LineSeries,
|
|
12410
12413
|
y.RadarSeries
|
|
12411
12414
|
];
|
|
12412
|
-
if (o !== void 0 && l.includes(o) && n ===
|
|
12415
|
+
if (o !== void 0 && l.includes(o) && n === ie.Stacked100 && !s && e instanceof Ce && !i) {
|
|
12413
12416
|
const c = w(e.chart?.uid ?? Number.NaN, "config"), d = e.chart?.series.getIndex(0)?.data.values;
|
|
12414
12417
|
if (c && d) {
|
|
12415
12418
|
const u = yf(e.chart), f = ir({ chartConfig: c, isSecondaryYAxis: a, seriesIds: u });
|
|
@@ -12425,7 +12428,7 @@ function OL(t) {
|
|
|
12425
12428
|
function wL(t) {
|
|
12426
12429
|
const { dataMinMax: e, chartType: i, stackedType: a, isXAxis: o, minimumFromConfig: n, maximumFromConfig: s, isLogarithmic: r } = t, { minX: l, maxX: c, minY: d, maxY: u } = e, [f, g] = o ? [l ?? Number.NaN, c ?? Number.NaN] : [d, u];
|
|
12427
12430
|
let h = f, b = g;
|
|
12428
|
-
return a ===
|
|
12431
|
+
return a === ie.Stacked100 ? (h = Number.NaN, b = Number.NaN) : ((i === y.BarSeries || i === y.ComboLineAndBarSeries || i === y.HistogramSeries && !o || (i === y.LineSeries || i === y.RadarSeries) && a === ie.Stacked && !o) && (h = Math.min(f, 0), b = Math.max(g, 0)), h = n ?? h, b = s ?? b), r === !0 && (h = Number.isFinite(h) ? rc(h, !1) : h, b = Number.isFinite(b) ? rc(b, !0) : b), { min: h ?? Number.NaN, max: b ?? Number.NaN };
|
|
12429
12432
|
}
|
|
12430
12433
|
function Ff(t) {
|
|
12431
12434
|
const { axis: e, xAxis: i, isSecondaryYAxis: a, data: o, minimumFromConfig: n, maximumFromConfig: s } = t;
|
|
@@ -12434,7 +12437,7 @@ function Ff(t) {
|
|
|
12434
12437
|
if (c) {
|
|
12435
12438
|
const d = w(c.uid, "config");
|
|
12436
12439
|
if (c instanceof ye && d) {
|
|
12437
|
-
const u = W(d.series), f = ot(d) ??
|
|
12440
|
+
const u = W(d.series), f = ot(d) ?? ie.Side, g = yf(c), h = ir({ chartConfig: d, isSecondaryYAxis: a, seriesIds: g }), b = qt(o), p = Kc({
|
|
12438
12441
|
chartConfig: d,
|
|
12439
12442
|
// using either the provided data (at creation or after a data update) or the current series data
|
|
12440
12443
|
chartData: b ?? c.series.getIndex(0)?.data.values ?? [],
|
|
@@ -12458,7 +12461,7 @@ function Wo(t) {
|
|
|
12458
12461
|
}
|
|
12459
12462
|
function RL(t) {
|
|
12460
12463
|
const { isXAxis: e, chartType: i, stackedType: a } = t;
|
|
12461
|
-
return !e && (i === y.HistogramSeries || a ===
|
|
12464
|
+
return !e && (i === y.HistogramSeries || a === ie.Stacked);
|
|
12462
12465
|
}
|
|
12463
12466
|
function DL(t) {
|
|
12464
12467
|
const { axis: e, data: i, minimumFromConfig: a, maximumFromConfig: o, isSecondaryYAxis: n, isRotated: s, chartType: r, stackedType: l } = t, c = qi(e.get("renderer"), s), d = RL({
|
|
@@ -12477,7 +12480,7 @@ function DL(t) {
|
|
|
12477
12480
|
isSecondaryYAxis: n
|
|
12478
12481
|
});
|
|
12479
12482
|
u = g.min, f = g.max;
|
|
12480
|
-
} else l ===
|
|
12483
|
+
} else l === ie.Stacked100 && (u = 0, f = 100);
|
|
12481
12484
|
Wo({ axis: e, min: u, max: f });
|
|
12482
12485
|
}
|
|
12483
12486
|
function $L(t) {
|
|
@@ -12533,7 +12536,7 @@ function sn(t, e) {
|
|
|
12533
12536
|
if (t !== void 0) {
|
|
12534
12537
|
const i = w(t.uid, "config");
|
|
12535
12538
|
if (i !== void 0) {
|
|
12536
|
-
const a = W(i?.series), o = ot(i) ??
|
|
12539
|
+
const a = W(i?.series), o = ot(i) ?? ie.Side, n = nt(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);
|
|
12537
12540
|
[
|
|
12538
12541
|
{ axis: s, axisConfig: r },
|
|
12539
12542
|
{ axis: d, axisConfig: l },
|
|
@@ -13563,7 +13566,7 @@ function Zr(t) {
|
|
|
13563
13566
|
chartType: X,
|
|
13564
13567
|
formatOptions: V,
|
|
13565
13568
|
isNonAggregatedChart: h,
|
|
13566
|
-
overridePercentMultiplication: Y ===
|
|
13569
|
+
overridePercentMultiplication: Y === ie.Stacked100,
|
|
13567
13570
|
externalAxisLabelFormatter: S,
|
|
13568
13571
|
isTimeOnlyField: ya,
|
|
13569
13572
|
setTimeZone: Zi,
|
|
@@ -14984,7 +14987,7 @@ function Ji(t, e) {
|
|
|
14984
14987
|
M = i.gridLayout, B = Le, z = Le, V = ke, _ = ke, j = ke, R = Le, D = Le, he = Y, H = -he - L, I = void 0, n && (Me = void 0);
|
|
14985
14988
|
break;
|
|
14986
14989
|
}
|
|
14987
|
-
if (s && c && (r === y.LineSeries || r === y.ComboLineAndBarSeries || r === y.BarSeries && l ===
|
|
14990
|
+
if (s && c && (r === y.LineSeries || r === y.ComboLineAndBarSeries || r === y.BarSeries && l === ie.Side)) {
|
|
14988
14991
|
const mt = Cc(t);
|
|
14989
14992
|
if (mt > 0)
|
|
14990
14993
|
ee += mt;
|
|
@@ -15104,7 +15107,7 @@ function bF(t) {
|
|
|
15104
15107
|
if (t instanceof ye) {
|
|
15105
15108
|
const i = w(t.uid, "config"), a = nt(i), o = a ? m.Rotated : m.NonRotated, n = ot(i);
|
|
15106
15109
|
let s = m.SideBySide;
|
|
15107
|
-
n ===
|
|
15110
|
+
n === ie.Stacked ? s = m.Stacked : n === ie.Stacked100 && (s = m.Stacked100);
|
|
15108
15111
|
const r = w(t.uid, "rtl") ? m.RTL : m.LTR;
|
|
15109
15112
|
let l;
|
|
15110
15113
|
switch (i?.legend?.position) {
|
|
@@ -15853,57 +15856,58 @@ function ZF(t, e) {
|
|
|
15853
15856
|
return (t ?? F.boxPlot.boxPlotOutliersVisibility) && e !== !1;
|
|
15854
15857
|
}
|
|
15855
15858
|
function KF(t) {
|
|
15856
|
-
const { outlierSeries: e, chartSubType: i, seriesConfig: a, colorMatch: o
|
|
15859
|
+
const { outlierSeries: e, chartSubType: i, seriesConfig: a, colorMatch: o } = t;
|
|
15857
15860
|
if (ne(e.uid, "bulletTemplate") && a.type === y.BoxPlotSeries) {
|
|
15858
|
-
const
|
|
15861
|
+
const s = a.fillSymbol, r = {
|
|
15859
15862
|
type: J.SMS,
|
|
15860
15863
|
style: Uo.Circle,
|
|
15861
|
-
color:
|
|
15864
|
+
color: s?.color,
|
|
15862
15865
|
size: F.boxPlot.boxPlotOutliersSize
|
|
15863
15866
|
};
|
|
15864
|
-
e.dataItems.forEach((
|
|
15865
|
-
const
|
|
15866
|
-
if (
|
|
15867
|
-
const
|
|
15868
|
-
dataItem:
|
|
15867
|
+
e.dataItems.forEach((l) => {
|
|
15868
|
+
const c = l.bullets?.[0]?.get("sprite");
|
|
15869
|
+
if (c !== void 0) {
|
|
15870
|
+
const d = zt({
|
|
15871
|
+
dataItem: l.dataContext,
|
|
15869
15872
|
seriesConfig: a,
|
|
15870
15873
|
chartSubType: i,
|
|
15871
15874
|
colorMatch: o
|
|
15872
15875
|
});
|
|
15873
15876
|
xt({
|
|
15874
15877
|
root: e.root,
|
|
15875
|
-
seriesSymbol:
|
|
15876
|
-
element:
|
|
15878
|
+
seriesSymbol: r,
|
|
15879
|
+
element: c,
|
|
15877
15880
|
colorMatch: o,
|
|
15878
|
-
rendererSymbol:
|
|
15881
|
+
rendererSymbol: d
|
|
15879
15882
|
});
|
|
15880
15883
|
}
|
|
15881
15884
|
});
|
|
15882
15885
|
}
|
|
15883
|
-
const r = ZF(n, a.visible);
|
|
15884
|
-
se(e, r);
|
|
15885
15886
|
}
|
|
15886
15887
|
function QF(t) {
|
|
15887
15888
|
const {
|
|
15888
15889
|
outlierSeries: e,
|
|
15889
15890
|
data: i,
|
|
15890
15891
|
seriesConfig: a,
|
|
15891
|
-
|
|
15892
|
-
|
|
15893
|
-
|
|
15894
|
-
|
|
15895
|
-
|
|
15892
|
+
showOutliers: o,
|
|
15893
|
+
sortChanged: n,
|
|
15894
|
+
dataWasUpdated: s,
|
|
15895
|
+
rotationChanged: r,
|
|
15896
|
+
seriesWereReinitialized: l,
|
|
15897
|
+
options: c
|
|
15896
15898
|
} = t;
|
|
15897
15899
|
if (e && a.type === y.BoxPlotSeries) {
|
|
15898
|
-
const
|
|
15899
|
-
|
|
15900
|
+
const d = ne(e.uid, "bulletTemplate");
|
|
15901
|
+
d && We(d, c?.selectionTheme), qF({
|
|
15900
15902
|
outlierSeries: e,
|
|
15901
15903
|
data: i,
|
|
15902
|
-
rotationChanged:
|
|
15903
|
-
sortChanged:
|
|
15904
|
-
dataWasUpdated:
|
|
15905
|
-
seriesWereReinitialized:
|
|
15906
|
-
})
|
|
15904
|
+
rotationChanged: r,
|
|
15905
|
+
sortChanged: n,
|
|
15906
|
+
dataWasUpdated: s,
|
|
15907
|
+
seriesWereReinitialized: l
|
|
15908
|
+
});
|
|
15909
|
+
const u = ZF(o, a.visible);
|
|
15910
|
+
se(e, u), ki(t) && Ii({
|
|
15907
15911
|
styleCallback: () => KF(t),
|
|
15908
15912
|
series: e,
|
|
15909
15913
|
seriesConfig: a
|
|
@@ -18937,7 +18941,7 @@ class RT extends Cm {
|
|
|
18937
18941
|
}
|
|
18938
18942
|
_configPanelNumberChange(e) {
|
|
18939
18943
|
const i = e, { panelNumber: a, modelList: o } = i.detail;
|
|
18940
|
-
this._actionBarElement && (this.enableConfiguration || this.configurationEnabled) && this._ourModelExistsIn(o) && (this._actionBarElement.editChartToggle = a === 1 ? Ol.Active : Ol.Inactive);
|
|
18944
|
+
this._actionBarElement && (this.enableConfiguration || this.configurationEnabled) && this._ourModelExistsIn(o) && (this._actionBarElement.editChartToggle = a === 1 ? Ol.Active : Ol.Inactive, this._actionBarElement.editChartActive = a === 1);
|
|
18941
18945
|
}
|
|
18942
18946
|
_configDataChangeError(e) {
|
|
18943
18947
|
const i = e, { error: a, model: o } = i.detail;
|