@arcgis/charts-components 5.2.0-next.47 → 5.2.0-next.49
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/{EAXAXRX2.js → 2EEGLP4N.js} +1 -1
- package/dist/cdn/{YXLIRMQJ.js → 2UMW7TY6.js} +1 -1
- package/dist/cdn/{J6QR3W3U.js → 356JWED3.js} +1 -1
- package/dist/cdn/{GP3V6A7V.js → 3GAUDUOD.js} +1 -1
- package/dist/cdn/{J5GAGVHY.js → 4C3N36J3.js} +1 -1
- package/dist/cdn/{5VWMLMZC.js → 4PEJNBSG.js} +1 -1
- package/dist/cdn/53HYBRJO.js +2 -0
- package/dist/cdn/5CIY3LRQ.js +2 -0
- package/dist/cdn/{KHLGXKN5.js → 5E27ED2B.js} +1 -1
- package/dist/cdn/5IOIRPSB.js +2 -0
- package/dist/cdn/{HXETEKIP.js → 5JY7HY6L.js} +1 -1
- package/dist/cdn/{FYZANAJZ.js → 5XW2VK3A.js} +1 -1
- package/dist/cdn/67P25QZA.js +2 -0
- package/dist/cdn/6HU62XEQ.js +2 -0
- package/dist/cdn/{5HGLV4YJ.js → 6RPBMFL2.js} +1 -1
- package/dist/cdn/7FSMC2TG.js +2 -0
- package/dist/cdn/{CGQSP57T.js → A67PKDYM.js} +1 -1
- package/dist/cdn/{3PYGT3KV.js → AALLRICA.js} +1 -1
- package/dist/cdn/{57T6CQMF.js → AJ4RZPOJ.js} +1 -1
- package/dist/cdn/{DEIEWNZ5.js → AM27TYIA.js} +2 -2
- package/dist/cdn/{Y32ROR3O.js → APATJCOK.js} +1 -1
- package/dist/cdn/{YKEAQMIM.js → B6BI3FPN.js} +1 -1
- package/dist/cdn/{PZQ5KWM5.js → BBMN3YU4.js} +1 -1
- package/dist/cdn/{DZSZKZKR.js → BYU72SMZ.js} +1 -1
- package/dist/cdn/{6NIWXTIP.js → CK2HC7UZ.js} +2 -2
- package/dist/cdn/{LLYZIGQ5.js → CO2YXCVJ.js} +1 -1
- package/dist/cdn/{J7CXSB6I.js → CRUHZMGY.js} +1 -1
- package/dist/cdn/{D272NRZP.js → CUPAZHZI.js} +1 -1
- package/dist/cdn/{SMG4WPTH.js → DGU55EVX.js} +1 -1
- package/dist/cdn/{LAZLV7CS.js → DT5VZTKL.js} +1 -1
- package/dist/cdn/{VKHUZKK4.js → DWWFJ4K4.js} +1 -1
- package/dist/cdn/{P2UP7IKV.js → E7YVOSTR.js} +1 -1
- package/dist/cdn/{5DQUV2BS.js → EKHD7EQL.js} +1 -1
- package/dist/cdn/{RECQ5RQK.js → G6XSNG2U.js} +1 -1
- package/dist/cdn/{LIEXZQ4F.js → GT6KWFXM.js} +1 -1
- package/dist/cdn/HGG2Y5XW.js +2 -0
- package/dist/cdn/{NZMYUW2H.js → HQHYGZW7.js} +1 -1
- package/dist/cdn/{RU6NQOOO.js → IB6KNSJY.js} +1 -1
- package/dist/cdn/{XJM2JNPK.js → INECCYD7.js} +1 -1
- package/dist/cdn/{IIJVPJDY.js → ISY2BKFT.js} +1 -1
- package/dist/cdn/J6YHKP6I.js +2 -0
- package/dist/cdn/{AYCZ7QYH.js → JDAJB45A.js} +1 -1
- package/dist/cdn/{F5P4Z43T.js → JPGRB2JX.js} +1 -1
- package/dist/cdn/{QYLOKGLW.js → JRJXFHCK.js} +1 -1
- package/dist/cdn/{2RIV7YP7.js → K5FLBEYI.js} +1 -1
- package/dist/cdn/{653NB5BN.js → KITNG4RO.js} +1 -1
- package/dist/cdn/{K4GZRWKH.js → LGTEA66L.js} +1 -1
- package/dist/cdn/{ERDMQ4DD.js → LQMU7V5C.js} +1 -1
- package/dist/cdn/{5CFFXTAD.js → MIJTHCPZ.js} +1 -1
- package/dist/cdn/NEOAI7Q7.js +3 -0
- package/dist/cdn/{44JRT6JL.js → NMITBWC4.js} +1 -1
- package/dist/cdn/{EQCJAWHV.js → NPRV25FK.js} +1 -1
- package/dist/cdn/{WEMJBEUF.js → OAFJADKA.js} +1 -1
- package/dist/cdn/{SZCMJ25W.js → OWLVHHFH.js} +1 -1
- package/dist/cdn/{HAMYMGH7.js → PDPZBGTU.js} +1 -1
- package/dist/cdn/{CGO3WESB.js → PFR6MB2U.js} +1 -1
- package/dist/cdn/{AIIZRKYB.js → PO2S3EAI.js} +1 -1
- package/dist/cdn/{HFSRQDTF.js → PTS74ZAY.js} +1 -1
- package/dist/cdn/{LJLL37FG.js → PV2PO4IS.js} +1 -1
- package/dist/cdn/{7T4W77V3.js → QLJQK4ET.js} +1 -1
- package/dist/cdn/R53ISOLY.js +2 -0
- package/dist/cdn/{6OZDGXFC.js → RFXODD7V.js} +1 -1
- package/dist/cdn/{OJV25NTM.js → RREO2RVL.js} +1 -1
- package/dist/cdn/{BCV3U4I6.js → RXFVSKL4.js} +1 -1
- package/dist/cdn/{OZWY2X4J.js → T5QBJ7O3.js} +1 -1
- package/dist/cdn/{IMW6IZV2.js → TGGLZGJB.js} +1 -1
- package/dist/cdn/{UFFXU3Y6.js → THYUOV7H.js} +12 -12
- package/dist/cdn/{DHPNZ3EU.js → TIRQ7FKE.js} +1 -1
- package/dist/cdn/{AWQD3H3L.js → TJZPVPM6.js} +1 -1
- package/dist/cdn/{B3723WJJ.js → TNNXIIY2.js} +1 -1
- package/dist/cdn/{BFCWZUD5.js → TWULSSGK.js} +1 -1
- package/dist/cdn/TXQMUOMN.js +2 -0
- package/dist/cdn/{TX6LSTKD.js → TZBDO2TG.js} +1 -1
- package/dist/cdn/{V66PG4NP.js → UBG7XLVS.js} +1 -1
- package/dist/cdn/{GW2FFQSO.js → UBZEWFXF.js} +1 -1
- package/dist/cdn/{4ZL7RZYY.js → UDDRI2Q2.js} +1 -1
- package/dist/cdn/{5BWFAIIH.js → VMJSBE4T.js} +1 -1
- package/dist/cdn/{VV3BWL3P.js → VQJKVJS7.js} +1 -1
- package/dist/cdn/{FWW34CP5.js → VX6SWJJ6.js} +1 -1
- package/dist/cdn/VZNG7PQX.js +2 -0
- package/dist/cdn/W2QTMTLL.js +2 -0
- package/dist/cdn/XKOKJQQD.js +2 -0
- package/dist/cdn/{4ZJHIYGJ.js → XMV5A2VE.js} +1 -1
- package/dist/cdn/XUL3AOTB.js +2 -0
- package/dist/cdn/{62SM3LKG.js → Y6KFUUWA.js} +1 -1
- package/dist/cdn/{36GW74FC.js → YEGRLOUM.js} +1 -1
- package/dist/cdn/{MCT4U7MC.js → YEK7BIRE.js} +1 -1
- package/dist/cdn/{JWD4Y2L6.js → ZALJA7E5.js} +1 -1
- package/dist/cdn/{FZKGRO5W.js → ZUIZRQUG.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/index2.js +4174 -4162
- package/dist/chunks/model-setter.js +5 -5
- package/dist/components/arcgis-chart/customElement.js +95 -95
- 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/3T2IDHNE.js +0 -2
- package/dist/cdn/5IZ7GQA3.js +0 -2
- package/dist/cdn/CYVUWE2J.js +0 -2
- package/dist/cdn/DE2ZKH4C.js +0 -2
- package/dist/cdn/FDPEMHDL.js +0 -2
- package/dist/cdn/GAOCEPQ4.js +0 -2
- package/dist/cdn/KRPNWB7M.js +0 -3
- package/dist/cdn/P3UDBIPN.js +0 -2
- package/dist/cdn/QI5LKIKB.js +0 -2
- package/dist/cdn/RRTFXPN4.js +0 -2
- package/dist/cdn/U3POGYXF.js +0 -2
- package/dist/cdn/VWLHSMF2.js +0 -2
- package/dist/cdn/W7EHW5TQ.js +0 -2
- package/dist/cdn/XL6DRPCS.js +0 -2
- package/dist/cdn/XZ3QQVHQ.js +0 -2
|
@@ -13,15 +13,15 @@ import { html as Ja, css as em } from "lit";
|
|
|
13
13
|
import { createRef as tm, ref as qr } from "lit/directives/ref.js";
|
|
14
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
|
-
import { XYChart as de, PieChart as
|
|
16
|
+
import { XYChart as de, PieChart as Re, 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
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
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
|
|
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 De, 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
|
-
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
|
|
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 Oe, 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";
|
|
25
25
|
import { p as no, r as zo, q as Kc, l as Yn, k as Qc, t as gn, u as Un, w as Tg, v as kg } from "../../chunks/index5.js";
|
|
26
26
|
import { d as qe, a as ni } from "../../chunks/type-guards.js";
|
|
27
27
|
import { g as z, a as Ig } from "../../chunks/series-types.js";
|
|
@@ -30,7 +30,7 @@ import { Scrollbar as al } from "@amcharts/amcharts4/.internal/core/elements/Scr
|
|
|
30
30
|
import { SerialChart as ea, color as so, percent as Ke, LinePattern as Jc, RectanglePattern as Og, p50 as Ae, p0 as Ee, p100 as Te, Label as lt, Rectangle as Ho, Series as Oa, DateFormatter as wg, NumberFormatter as ed, Bullet as xi, Tooltip as Gi, Template as ra, Graphics as Et, Color as Rg, Container as fi, HeatLegend as _o, LinearGradient as $g, Legend as er, Scrollbar as is, RoundedRectangle as ro, Slice as lo, time as Bg, Timezone as Mg, DataItem as Ng, addLicense as Pg, registry as Vg, Root as Wg } from "@amcharts/amcharts5";
|
|
31
31
|
import { PieSeries as tt, PieChart as Zt } from "@amcharts/amcharts5/percent.js";
|
|
32
32
|
import { AxisRendererCircular as Qt, RadarCursor as tr, ClockHand as as, RadarChart as Mi, AxisRendererRadial as Eg, RadarLineSeries as ir } from "@amcharts/amcharts5/radar.js";
|
|
33
|
-
import { AxisRendererY as bi, XYSeries as ar, StepLineSeries as hn, LineSeries as me, ColumnSeries as
|
|
33
|
+
import { AxisRendererY as bi, XYSeries as ar, StepLineSeries as hn, LineSeries as me, ColumnSeries as we, XYChart as Ce, AxisRendererX as vt, XYCursor as td, CategoryAxis as Qe, CandlestickSeries as Xi, DateAxis as Ne, ValueAxis as ge, AxisBullet as zg } from "@amcharts/amcharts5/xy.js";
|
|
34
34
|
import Hg from "@amcharts/amcharts5/themes/Animated.js";
|
|
35
35
|
import _g from "@amcharts/amcharts5/themes/Responsive.js";
|
|
36
36
|
import { g as ol, a as Gg, b as Xg, c as Yg, d as nl, t as sl, e as rl } from "../../chunks/web-component-utils.js";
|
|
@@ -148,7 +148,7 @@ function rd(t, e) {
|
|
|
148
148
|
}
|
|
149
149
|
function Dh(t) {
|
|
150
150
|
let e;
|
|
151
|
-
return t.baseSprite instanceof de || t.baseSprite instanceof
|
|
151
|
+
return t.baseSprite instanceof de || t.baseSprite instanceof Re ? e = t.baseSprite : (t instanceof im || t instanceof am) && (e = t.axis.chart), e;
|
|
152
152
|
}
|
|
153
153
|
function Oh(t) {
|
|
154
154
|
return sd(t.background.fill);
|
|
@@ -1131,14 +1131,14 @@ function lp(t, e) {
|
|
|
1131
1131
|
Qi({ element: t.cursor.lineX, lineSymbol: a }), Qi({ element: t.cursor.lineY, lineSymbol: a });
|
|
1132
1132
|
}
|
|
1133
1133
|
function Cd(t) {
|
|
1134
|
-
if (!(t instanceof Ft) && !(t instanceof
|
|
1134
|
+
if (!(t instanceof Ft) && !(t instanceof Re)) {
|
|
1135
1135
|
t.cursor = new lc();
|
|
1136
1136
|
const e = "userAgentData" in navigator && navigator.userAgentData && typeof navigator.userAgentData == "object" && "mobile" in navigator.userAgentData && navigator.userAgentData.mobile === !0 || /Mobi|Android/iu.test(navigator.userAgent);
|
|
1137
1137
|
t.cursor.hideSeriesTooltipsOnSelection = !e;
|
|
1138
1138
|
}
|
|
1139
1139
|
}
|
|
1140
1140
|
function xd(t, e) {
|
|
1141
|
-
if (!(t instanceof Ft) && !(t instanceof
|
|
1141
|
+
if (!(t instanceof Ft) && !(t instanceof Re)) {
|
|
1142
1142
|
const i = t, a = i.cursor ?? new lc();
|
|
1143
1143
|
e?.style !== void 0 && lp(i, e.style);
|
|
1144
1144
|
const o = A.cursorCrosshair;
|
|
@@ -1427,7 +1427,7 @@ function lr(t) {
|
|
|
1427
1427
|
function Do(t) {
|
|
1428
1428
|
const { dataContext: e, specificField: i, xOrY: a } = t;
|
|
1429
1429
|
let o = e[a === "x" ? X.originalCategoryValue : X.originalYCategoryValue];
|
|
1430
|
-
return o === void 0 && i && (o = e[i]), o === void 0 && (o = e[a === "x" ?
|
|
1430
|
+
return o === void 0 && i && (o = e[i]), o === void 0 && (o = e[a === "x" ? Oe.xField : Oe.yField]), o;
|
|
1431
1431
|
}
|
|
1432
1432
|
function bn(t) {
|
|
1433
1433
|
const {
|
|
@@ -1633,7 +1633,7 @@ function xp(t) {
|
|
|
1633
1633
|
}
|
|
1634
1634
|
), t instanceof Ft && t.radarContainer.children.each((e) => {
|
|
1635
1635
|
Bt(e.uid);
|
|
1636
|
-
}), t instanceof
|
|
1636
|
+
}), t instanceof Re && t.series.getIndex(0)?.slices.each((e) => {
|
|
1637
1637
|
Bt(e.uid);
|
|
1638
1638
|
}), "cursor" in t && t.cursor instanceof om && Bt(t.cursor?.uid), "legend" in t && t.legend !== void 0 && (Bt(t.legend.uid), Bt(t.legend.valueLabels?.template?.uid)), Bt(t.uid);
|
|
1639
1639
|
}
|
|
@@ -2059,7 +2059,7 @@ function zt(t) {
|
|
|
2059
2059
|
}
|
|
2060
2060
|
function xn(t, e) {
|
|
2061
2061
|
let i = !1;
|
|
2062
|
-
if (e instanceof de || e instanceof
|
|
2062
|
+
if (e instanceof de || e instanceof Re) {
|
|
2063
2063
|
const a = R(e.uid, "actionMode");
|
|
2064
2064
|
a !== void 0 && (i = a === Z.MultiSelection || a === Z.MultiSelectionWithCtrlKey && (t?.event?.ctrlKey || t?.event?.metaKey));
|
|
2065
2065
|
}
|
|
@@ -2182,7 +2182,7 @@ function Mp(t) {
|
|
|
2182
2182
|
const { chart: e, selectionSource: i, chartConfig: a } = t;
|
|
2183
2183
|
let o = !1, n = [];
|
|
2184
2184
|
if (Bi(a)) {
|
|
2185
|
-
if (o = bt(a), n = e.series.values.filter((s) => !(s instanceof kt)), i ===
|
|
2185
|
+
if (o = bt(a), n = e.series.values.filter((s) => !(s instanceof kt)), i === De.SelectionByClick) {
|
|
2186
2186
|
const s = /* @__PURE__ */ new Set(), r = n.find(
|
|
2187
2187
|
(l) => l instanceof He && l.isHover
|
|
2188
2188
|
);
|
|
@@ -2222,7 +2222,7 @@ async function Nd(t) {
|
|
|
2222
2222
|
const I = T.isActive, O = T === n || $p(T, i);
|
|
2223
2223
|
O && (f = !1);
|
|
2224
2224
|
let w = !1;
|
|
2225
|
-
I ? O ? w = o !==
|
|
2225
|
+
I ? O ? w = o !== De.SelectionByClick : w = a === !0 : w = O, w && d.push({
|
|
2226
2226
|
...v,
|
|
2227
2227
|
element: T,
|
|
2228
2228
|
elementDataContext: T.dataItem?.dataContext,
|
|
@@ -2254,7 +2254,7 @@ function Np(t) {
|
|
|
2254
2254
|
chart: e,
|
|
2255
2255
|
cursorSelectionRectangle: r,
|
|
2256
2256
|
multiSelect: l,
|
|
2257
|
-
selectionSource:
|
|
2257
|
+
selectionSource: De.SelectionByRange,
|
|
2258
2258
|
queryObject: i,
|
|
2259
2259
|
errorStrings: a
|
|
2260
2260
|
});
|
|
@@ -2284,7 +2284,7 @@ async function Uo(t) {
|
|
|
2284
2284
|
chart: i,
|
|
2285
2285
|
cursorSelectionRectangle: r,
|
|
2286
2286
|
multiSelect: l,
|
|
2287
|
-
selectionSource:
|
|
2287
|
+
selectionSource: De.SelectionByClick,
|
|
2288
2288
|
hitElement: n,
|
|
2289
2289
|
queryObject: a,
|
|
2290
2290
|
errorStrings: o
|
|
@@ -2328,22 +2328,22 @@ async function Vp(t) {
|
|
|
2328
2328
|
await vo({
|
|
2329
2329
|
chart: e,
|
|
2330
2330
|
listSelectedElements: r,
|
|
2331
|
-
selectionSource:
|
|
2331
|
+
selectionSource: De.ProgrammaticSelection,
|
|
2332
2332
|
queryObject: i,
|
|
2333
2333
|
errorStrings: a
|
|
2334
|
-
}), e instanceof
|
|
2334
|
+
}), e instanceof Re && e.feedLegend();
|
|
2335
2335
|
}
|
|
2336
2336
|
}
|
|
2337
2337
|
function qn(t) {
|
|
2338
2338
|
if (Rt(t))
|
|
2339
|
-
if (t.events.disableType(P.Hit), t.events.disableType(P.DoubleHit), t instanceof
|
|
2339
|
+
if (t.events.disableType(P.Hit), t.events.disableType(P.DoubleHit), t instanceof Re) {
|
|
2340
2340
|
const e = t.series.getIndex(0);
|
|
2341
2341
|
e !== void 0 && (e.slices.template.clickable = !1, e.slices.template.togglable = !1, e.slices.template.events.disableType(P.Hit), e.slices.template.events.disableType(P.DoubleHit), e.labels.template.clickable = !1, e.labels.template.togglable = !1, e.labels.template.events.disableType(P.Hit), e.labels.template.events.disableType(P.DoubleHit));
|
|
2342
2342
|
} else t instanceof de && (t.xAxes.each((e) => jo(e, !0)), t.yAxes.each((e) => jo(e, !0)), t.events.disableType(P.Up));
|
|
2343
2343
|
}
|
|
2344
2344
|
function Wp(t) {
|
|
2345
2345
|
if (Rt(t))
|
|
2346
|
-
if (t.events.enableType(P.Hit), t.events.enableType(P.DoubleHit), t instanceof
|
|
2346
|
+
if (t.events.enableType(P.Hit), t.events.enableType(P.DoubleHit), t instanceof Re) {
|
|
2347
2347
|
const e = t.series.getIndex(0);
|
|
2348
2348
|
e !== void 0 && (e.slices.template.clickable = !0, e.slices.template.togglable = !0, e.slices.template.events.enableType(P.Hit), e.slices.template.events.enableType(P.DoubleHit), e.labels.template.clickable = !0, e.labels.template.togglable = !0, e.labels.template.events.enableType(P.Hit), e.labels.template.events.enableType(P.DoubleHit));
|
|
2349
2349
|
} else t instanceof de && (t.xAxes.each((e) => jo(e, !1)), t.yAxes.each((e) => jo(e, !1)), t.events.enableType(P.Up));
|
|
@@ -3466,7 +3466,7 @@ function mb(t, e) {
|
|
|
3466
3466
|
t.marginTop = i.marginTop ?? 0, t.marginBottom = 0, t.dy = 0;
|
|
3467
3467
|
else if (t.position === G.Top)
|
|
3468
3468
|
t.marginBottom = i.marginBottom ?? 0, t.marginTop = 0, t.dy = 0;
|
|
3469
|
-
else if (t.marginTop = 0, t.marginBottom = 0, !(t.baseSprite instanceof
|
|
3469
|
+
else if (t.marginTop = 0, t.marginBottom = 0, !(t.baseSprite instanceof Re)) {
|
|
3470
3470
|
const a = Ud(e), o = e.title?.content?.font?.size ?? A.generalFontSize;
|
|
3471
3471
|
t.dy = -(a ? o : 15);
|
|
3472
3472
|
}
|
|
@@ -3632,7 +3632,7 @@ function Lb(t) {
|
|
|
3632
3632
|
const e = A.legendProperties;
|
|
3633
3633
|
t.labels.template = ri(e.legendLabels), t.valueLabels.template = ri(e.legendLabels), t.markers.template.width = e.legendMarkersSize, t.markers.template.height = e.legendMarkersSize, t.labels.template.adapter.add("wrap", () => !0), t.labels.template.adapter.add("maxWidth", (i) => {
|
|
3634
3634
|
let a = i, o;
|
|
3635
|
-
if (t.baseSprite instanceof
|
|
3635
|
+
if (t.baseSprite instanceof Re && (o = R(t.baseSprite.uid, "config")?.legend?.labelMaxWidth), t.position === G.Right || t.position === G.Left)
|
|
3636
3636
|
a = o ?? A.legendProperties.legendLabels.maxWidth;
|
|
3637
3637
|
else if (o !== void 0)
|
|
3638
3638
|
a = o;
|
|
@@ -3657,11 +3657,11 @@ function Lb(t) {
|
|
|
3657
3657
|
return (n !== void 0 && !fe(n) ? Vs(n) : n) ?? o;
|
|
3658
3658
|
}), t.valueLabels.template.adapter.add("maxWidth", (i) => {
|
|
3659
3659
|
let a = i, o;
|
|
3660
|
-
return t.baseSprite instanceof
|
|
3660
|
+
return t.baseSprite instanceof Re && (o = R(t.baseSprite.uid, "config")?.legend?.valueLabelMaxWidth), t.position === G.Right || t.position === G.Left ? a = o ?? A.legendProperties.valueLabels.maxWidth : a = o ?? Number.NaN, a;
|
|
3661
3661
|
});
|
|
3662
3662
|
}
|
|
3663
3663
|
function Fb(t, e) {
|
|
3664
|
-
t.itemContainers.template.events.on(P.Hit, (i) => yb(i, e)), e instanceof
|
|
3664
|
+
t.itemContainers.template.events.on(P.Hit, (i) => yb(i, e)), e instanceof Re && t.itemContainers.template.events.on(P.Over, (i) => ub(i));
|
|
3665
3665
|
}
|
|
3666
3666
|
function Ab(t) {
|
|
3667
3667
|
t.itemContainers.template.reverseOrder = t.rtl;
|
|
@@ -3715,7 +3715,7 @@ function Ib(t, e) {
|
|
|
3715
3715
|
P.SizeChanged,
|
|
3716
3716
|
ht(() => {
|
|
3717
3717
|
let a = R(e.uid, "config")?.legend?.maxHeight ?? Number.NaN;
|
|
3718
|
-
Number.isFinite(a) || (t.position === G.Top || t.position === G.Bottom ? a = A.legendProperties.maxHeight : a = e instanceof
|
|
3718
|
+
Number.isFinite(a) || (t.position === G.Top || t.position === G.Bottom ? a = A.legendProperties.maxHeight : a = e instanceof Re ? e.chartContainer.measuredHeight : e.seriesContainer.measuredHeight), t.maxHeight = a, t.invalidateLayout();
|
|
3719
3719
|
}),
|
|
3720
3720
|
A.debounceTime
|
|
3721
3721
|
);
|
|
@@ -4545,9 +4545,9 @@ function _a(t) {
|
|
|
4545
4545
|
computedSelectionDataItems: void 0,
|
|
4546
4546
|
computedSelectionIndexes: void 0,
|
|
4547
4547
|
pendingSelectionQueries: !1
|
|
4548
|
-
}), Rt(e) && (e instanceof de ? iy(e, a ?? !0) : e instanceof
|
|
4548
|
+
}), Rt(e) && (e instanceof de ? iy(e, a ?? !0) : e instanceof Re && ty(e)), n && Wa({
|
|
4549
4549
|
data: {
|
|
4550
|
-
selectionSource: i ??
|
|
4550
|
+
selectionSource: i ?? De.ClearSelection
|
|
4551
4551
|
},
|
|
4552
4552
|
htmlContainer: e.htmlContainer
|
|
4553
4553
|
});
|
|
@@ -4569,7 +4569,7 @@ function Jd(t, e) {
|
|
|
4569
4569
|
if ((i === Z.MonoSelection || i === Z.None) && e.length > 1)
|
|
4570
4570
|
_a({ chart: t });
|
|
4571
4571
|
else {
|
|
4572
|
-
const o = t instanceof
|
|
4572
|
+
const o = t instanceof Re;
|
|
4573
4573
|
e.forEach((n) => {
|
|
4574
4574
|
zt({
|
|
4575
4575
|
element: n,
|
|
@@ -4650,7 +4650,7 @@ function sy(t) {
|
|
|
4650
4650
|
else
|
|
4651
4651
|
zt({
|
|
4652
4652
|
element: x,
|
|
4653
|
-
useNativeState: e instanceof
|
|
4653
|
+
useNativeState: e instanceof Re,
|
|
4654
4654
|
selected: !1
|
|
4655
4655
|
});
|
|
4656
4656
|
}
|
|
@@ -4682,7 +4682,7 @@ function ry(t) {
|
|
|
4682
4682
|
} else
|
|
4683
4683
|
zt({
|
|
4684
4684
|
element: x,
|
|
4685
|
-
useNativeState: e instanceof
|
|
4685
|
+
useNativeState: e instanceof Re,
|
|
4686
4686
|
selected: !1
|
|
4687
4687
|
});
|
|
4688
4688
|
});
|
|
@@ -4838,7 +4838,7 @@ function cy(t) {
|
|
|
4838
4838
|
zt({
|
|
4839
4839
|
element: U,
|
|
4840
4840
|
selected: _,
|
|
4841
|
-
useNativeState: b instanceof
|
|
4841
|
+
useNativeState: b instanceof Re,
|
|
4842
4842
|
backToDefaultState: V
|
|
4843
4843
|
});
|
|
4844
4844
|
});
|
|
@@ -4859,12 +4859,12 @@ function cy(t) {
|
|
|
4859
4859
|
})), V === void 0 || V.length === 0)
|
|
4860
4860
|
_a({
|
|
4861
4861
|
chart: b,
|
|
4862
|
-
selectionSource:
|
|
4862
|
+
selectionSource: De.ProgrammaticSelection
|
|
4863
4863
|
});
|
|
4864
4864
|
else {
|
|
4865
4865
|
const H = {
|
|
4866
4866
|
selectionItems: V,
|
|
4867
|
-
selectionSource:
|
|
4867
|
+
selectionSource: De.ProgrammaticSelection
|
|
4868
4868
|
};
|
|
4869
4869
|
g === !0 && (H.selectionIndexes = W), h !== !1 && (H.selectionOIDs = f?.selectionOIDs ?? R(b.uid, "currentSelectionOIDs")), C && (H.selectionPixelTarget = Hs({
|
|
4870
4870
|
chartConfig: S,
|
|
@@ -5058,7 +5058,7 @@ async function fy(t, e, i) {
|
|
|
5058
5058
|
}), await vo({
|
|
5059
5059
|
chart: n,
|
|
5060
5060
|
listSelectedElements: d,
|
|
5061
|
-
selectionSource:
|
|
5061
|
+
selectionSource: De.SelectionByClick,
|
|
5062
5062
|
queryObject: e,
|
|
5063
5063
|
errorStrings: i
|
|
5064
5064
|
});
|
|
@@ -7606,7 +7606,7 @@ async function wl(t) {
|
|
|
7606
7606
|
}), await vo({
|
|
7607
7607
|
chart: e,
|
|
7608
7608
|
listSelectedElements: s,
|
|
7609
|
-
selectionSource:
|
|
7609
|
+
selectionSource: De.SelectionByClick,
|
|
7610
7610
|
queryObject: o,
|
|
7611
7611
|
errorStrings: n
|
|
7612
7612
|
});
|
|
@@ -7629,7 +7629,7 @@ function TC(t, e, i) {
|
|
|
7629
7629
|
} else r === t.background && await vo({
|
|
7630
7630
|
chart: t,
|
|
7631
7631
|
listSelectedElements: [],
|
|
7632
|
-
selectionSource:
|
|
7632
|
+
selectionSource: De.SelectionByClick,
|
|
7633
7633
|
queryObject: e,
|
|
7634
7634
|
errorStrings: i
|
|
7635
7635
|
});
|
|
@@ -7657,11 +7657,11 @@ function $l(t) {
|
|
|
7657
7657
|
function IC(t, e) {
|
|
7658
7658
|
t !== void 0 && e !== void 0 && window.IntersectionObserver !== void 0 && new IntersectionObserver(
|
|
7659
7659
|
(a) => {
|
|
7660
|
-
a[0].intersectionRatio > 0 && (R(t.uid, "chartWasCreatedWhileHidden") === !0 ? (t instanceof
|
|
7660
|
+
a[0].intersectionRatio > 0 && (R(t.uid, "chartWasCreatedWhileHidden") === !0 ? (t instanceof Re && t.events.once(P.Validated, () => {
|
|
7661
7661
|
t.isDisposed() || Zo(t), t.reinit();
|
|
7662
7662
|
}), t.reinit(), t instanceof de && Fn(t), te(t.uid, {
|
|
7663
7663
|
chartWasCreatedWhileHidden: !1
|
|
7664
|
-
})) : R(t.uid, "chartWasUpdatedWhileHidden") === !0 && (t instanceof
|
|
7664
|
+
})) : R(t.uid, "chartWasUpdatedWhileHidden") === !0 && (t instanceof Re && t.events.once(P.Validated, () => {
|
|
7665
7665
|
t.isDisposed() || Zo(t), t.reinit();
|
|
7666
7666
|
}), t.reinit(), te(t.uid, {
|
|
7667
7667
|
chartWasUpdatedWhileHidden: !1
|
|
@@ -7746,7 +7746,7 @@ function hu(t) {
|
|
|
7746
7746
|
}
|
|
7747
7747
|
}
|
|
7748
7748
|
function pu(t) {
|
|
7749
|
-
if (t instanceof
|
|
7749
|
+
if (t instanceof Re)
|
|
7750
7750
|
gu(t), hu(t);
|
|
7751
7751
|
else if (!(t instanceof Ft)) {
|
|
7752
7752
|
const e = () => {
|
|
@@ -7815,7 +7815,7 @@ function Dn(t) {
|
|
|
7815
7815
|
case Z.None:
|
|
7816
7816
|
_a({
|
|
7817
7817
|
chart: e,
|
|
7818
|
-
selectionSource:
|
|
7818
|
+
selectionSource: De.ClearSelection,
|
|
7819
7819
|
clearOnlyVisibleSeries: !1,
|
|
7820
7820
|
disposeStyleAndSelection: !1
|
|
7821
7821
|
}), qn(e);
|
|
@@ -7959,7 +7959,7 @@ function bu(t) {
|
|
|
7959
7959
|
}
|
|
7960
7960
|
}
|
|
7961
7961
|
}
|
|
7962
|
-
else e instanceof
|
|
7962
|
+
else e instanceof Re && i.series[0].type === y.PieSeries && (c = vC({ ...g, seriesConfig: i.series[0] }), u.push(c));
|
|
7963
7963
|
u.forEach((b) => {
|
|
7964
7964
|
KS(b);
|
|
7965
7965
|
});
|
|
@@ -8108,7 +8108,7 @@ function Tr(t) {
|
|
|
8108
8108
|
const V = Ut(F);
|
|
8109
8109
|
V !== void 0 && (i.data = V);
|
|
8110
8110
|
const W = q(e.series);
|
|
8111
|
-
i instanceof
|
|
8111
|
+
i instanceof Re && _t({
|
|
8112
8112
|
data: s,
|
|
8113
8113
|
htmlContainer: i.htmlContainer,
|
|
8114
8114
|
chartId: i.id,
|
|
@@ -8209,7 +8209,7 @@ function BC(t) {
|
|
|
8209
8209
|
t9nStrings: { errorStrings: r, utilsStrings: l, amChartsStrings: c },
|
|
8210
8210
|
options: d,
|
|
8211
8211
|
globalOptions: u
|
|
8212
|
-
} = t, f = Ds(e,
|
|
8212
|
+
} = t, f = Ds(e, Re);
|
|
8213
8213
|
f.id = i?.id ?? f.uid;
|
|
8214
8214
|
const g = Bc(f.htmlContainer);
|
|
8215
8215
|
Lr({ chart: f, localeInfo: g, chartLocale: c }), f.radius = ft(A.pieChart.chartRadius);
|
|
@@ -8646,7 +8646,7 @@ function EC(t) {
|
|
|
8646
8646
|
});
|
|
8647
8647
|
}
|
|
8648
8648
|
async function F(k, I) {
|
|
8649
|
-
if (Rt(b) && (b instanceof de || b instanceof
|
|
8649
|
+
if (Rt(b) && (b instanceof de || b instanceof Re)) {
|
|
8650
8650
|
const O = R(b.uid, "actionMode");
|
|
8651
8651
|
O !== Z.MonoSelection && O !== Z.None && await Vp({ chart: b, queryObject: k, errorStrings: I });
|
|
8652
8652
|
}
|
|
@@ -8728,7 +8728,7 @@ function UC(t) {
|
|
|
8728
8728
|
}
|
|
8729
8729
|
}
|
|
8730
8730
|
function jC(t) {
|
|
8731
|
-
return t.get("renderer") instanceof bi ?
|
|
8731
|
+
return t.get("renderer") instanceof bi ? Oe.yField : Oe.xField;
|
|
8732
8732
|
}
|
|
8733
8733
|
function qC(t) {
|
|
8734
8734
|
let e = "";
|
|
@@ -8776,7 +8776,7 @@ function Su(t) {
|
|
|
8776
8776
|
const n = e.root.events.on(ue.FrameEnded, () => {
|
|
8777
8777
|
let s = !1, r = !1;
|
|
8778
8778
|
switch (!0) {
|
|
8779
|
-
case e instanceof
|
|
8779
|
+
case e instanceof we:
|
|
8780
8780
|
s = e.columns.length === e.dataItems.length;
|
|
8781
8781
|
break;
|
|
8782
8782
|
case (!(e instanceof hn) && e instanceof me):
|
|
@@ -9325,7 +9325,7 @@ function Iu(t) {
|
|
|
9325
9325
|
}
|
|
9326
9326
|
function mx(t) {
|
|
9327
9327
|
const e = t.dataItem?.component;
|
|
9328
|
-
e instanceof me ? (e.uid !== void 0 ? ie(e.uid, "bulletTemplate") : void 0)?.adapters?.remove?.("fill") : e instanceof
|
|
9328
|
+
e instanceof me ? (e.uid !== void 0 ? ie(e.uid, "bulletTemplate") : void 0)?.adapters?.remove?.("fill") : e instanceof we ? e.columns?.template?.adapters?.remove?.("fill") : e instanceof tt && e.slices?.template?.adapters?.remove?.("fill");
|
|
9329
9329
|
}
|
|
9330
9330
|
function Du(t) {
|
|
9331
9331
|
const { element: e, fill: i, fillOpacity: a, pattern: o, chartBackgroundFill: n } = t, s = e.get("tooltip");
|
|
@@ -9702,7 +9702,7 @@ function vx(t) {
|
|
|
9702
9702
|
let r = n ?? "";
|
|
9703
9703
|
const l = s.dataItem, c = ie(
|
|
9704
9704
|
i.uid,
|
|
9705
|
-
i instanceof
|
|
9705
|
+
i instanceof we ? "barSeriesDataLabelFormatter" : "lineSeriesDataLabelFormatter"
|
|
9706
9706
|
);
|
|
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");
|
|
@@ -10146,7 +10146,7 @@ function Rx(t) {
|
|
|
10146
10146
|
if (l !== void 0) {
|
|
10147
10147
|
const c = l.dataContext;
|
|
10148
10148
|
if (n?.series?.[0]?.dataTooltipVisible !== !1) {
|
|
10149
|
-
const d = c?.[
|
|
10149
|
+
const d = c?.[Oe.valueField] ?? null, u = c?.[Oe.xField], f = c?.[Oe.yField];
|
|
10150
10150
|
a = r(d, u, f);
|
|
10151
10151
|
}
|
|
10152
10152
|
}
|
|
@@ -10628,7 +10628,7 @@ function Rr(t) {
|
|
|
10628
10628
|
function Yx(t) {
|
|
10629
10629
|
const { chartType: e, series: i, tooltipFormatter: a } = t;
|
|
10630
10630
|
switch (!0) {
|
|
10631
|
-
case (e === y.HistogramSeries && i instanceof
|
|
10631
|
+
case (e === y.HistogramSeries && i instanceof we): {
|
|
10632
10632
|
Xu(i, a);
|
|
10633
10633
|
break;
|
|
10634
10634
|
}
|
|
@@ -10641,11 +10641,11 @@ function Yx(t) {
|
|
|
10641
10641
|
Ve(i.uid, { tooltipCallback: n });
|
|
10642
10642
|
break;
|
|
10643
10643
|
}
|
|
10644
|
-
case (e === y.HeatSeries && i instanceof
|
|
10644
|
+
case (e === y.HeatSeries && i instanceof we): {
|
|
10645
10645
|
Hu(i, a);
|
|
10646
10646
|
break;
|
|
10647
10647
|
}
|
|
10648
|
-
case ((e === y.ComboLineAndBarSeries || e === y.BarSeries) && i instanceof
|
|
10648
|
+
case ((e === y.ComboLineAndBarSeries || e === y.BarSeries) && i instanceof we): {
|
|
10649
10649
|
Eu(i, a);
|
|
10650
10650
|
break;
|
|
10651
10651
|
}
|
|
@@ -10778,7 +10778,7 @@ function Ro(t) {
|
|
|
10778
10778
|
return o === ke.Normal && Ua(s, n.overlays.normal), Ve(s.uid, { isOverlay: !0, type: o }), s.set("connect", !1), s.appear(), s;
|
|
10779
10779
|
}
|
|
10780
10780
|
function Jx(t) {
|
|
10781
|
-
const { root: e, seriesConfig: i, xAxis: a, yAxis: o, options: n, chartConfig: s, queryObject: r, errorStrings: l } = t, { id: c, name: d } = i, u =
|
|
10781
|
+
const { root: e, seriesConfig: i, xAxis: a, yAxis: o, options: n, chartConfig: s, queryObject: r, errorStrings: l } = t, { id: c, name: d } = i, u = we.new(e, {
|
|
10782
10782
|
id: c,
|
|
10783
10783
|
name: d,
|
|
10784
10784
|
xAxis: a,
|
|
@@ -11009,7 +11009,7 @@ function ov(t) {
|
|
|
11009
11009
|
utilsStrings: o
|
|
11010
11010
|
});
|
|
11011
11011
|
}
|
|
11012
|
-
} else f instanceof
|
|
11012
|
+
} else f instanceof we && (av({ ...t, series: f }), Vu({
|
|
11013
11013
|
series: f,
|
|
11014
11014
|
seriesConfig: i,
|
|
11015
11015
|
seriesType: y.HistogramSeries,
|
|
@@ -11125,7 +11125,7 @@ function Jo(t) {
|
|
|
11125
11125
|
return { outlineSymbol: i, outlineColor: a, outlineOpacity: o };
|
|
11126
11126
|
}
|
|
11127
11127
|
function cv(t) {
|
|
11128
|
-
const { root: e, xAxis: i, yAxis: a, options: o, chartConfig: n, queryObject: s, errorStrings: r } = t, l =
|
|
11128
|
+
const { root: e, xAxis: i, yAxis: a, options: o, chartConfig: n, queryObject: s, errorStrings: r } = t, l = we.new(e, {
|
|
11129
11129
|
calculateAggregates: !0,
|
|
11130
11130
|
stroke: Q(L.backgroundColor).color,
|
|
11131
11131
|
clustered: !1,
|
|
@@ -11133,16 +11133,16 @@ function cv(t) {
|
|
|
11133
11133
|
// we enable the turbo mode at initialization to improve the performance; it will be reset properly during the update.
|
|
11134
11134
|
xAxis: i,
|
|
11135
11135
|
yAxis: a,
|
|
11136
|
-
categoryXField:
|
|
11136
|
+
categoryXField: Oe.xField,
|
|
11137
11137
|
// TODO: see fetchFinishedHeatChartData() - should we make those fields dynamic based on the config?
|
|
11138
|
-
categoryYField:
|
|
11138
|
+
categoryYField: Oe.yField,
|
|
11139
11139
|
// TODO: see fetchFinishedHeatChartData() - should we make those fields dynamic based on the config?
|
|
11140
|
-
valueField:
|
|
11140
|
+
valueField: Oe.valueField
|
|
11141
11141
|
});
|
|
11142
11142
|
return l.columns.template.setAll({
|
|
11143
|
-
tooltipText: `x: {${
|
|
11144
|
-
y: {${
|
|
11145
|
-
Value: {${
|
|
11143
|
+
tooltipText: `x: {${Oe.xField}}
|
|
11144
|
+
y: {${Oe.yField}}
|
|
11145
|
+
Value: {${Oe.valueField}}`,
|
|
11146
11146
|
width: Te,
|
|
11147
11147
|
height: Te
|
|
11148
11148
|
}), Hu(l, o?.tooltipFormatter), Mn(l, n), We(l.columns.template, o?.selectionTheme), Jt({ element: l.columns.template, series: l, queryObject: s, errorStrings: r }), l;
|
|
@@ -11303,7 +11303,7 @@ function Uu(t) {
|
|
|
11303
11303
|
let n;
|
|
11304
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
|
-
const u = o?.data.values, f = o?.get("valueField") ??
|
|
11306
|
+
const u = o?.data.values, f = o?.get("valueField") ?? Oe.valueField, g = l.classBreakInfos?.[0], h = g ? g.classMinValue === g.classMaxValue : !1;
|
|
11307
11307
|
n = l.classBreakInfos.map((p, b) => {
|
|
11308
11308
|
let S;
|
|
11309
11309
|
return a ? S = hv({
|
|
@@ -11731,7 +11731,7 @@ function vv(t) {
|
|
|
11731
11731
|
function Lv(t) {
|
|
11732
11732
|
const { chart: e, chartConfig: i, heatLegendPositionChanged: a, heatRulesTypeChanged: o } = t, { legend: n } = i, s = n !== void 0 && n.visible !== !1, r = e.series.values[0];
|
|
11733
11733
|
if (a || o)
|
|
11734
|
-
Br(e), s && r instanceof
|
|
11734
|
+
Br(e), s && r instanceof we && Wi(() => {
|
|
11735
11735
|
const l = Ku(e), c = fi.new(e.root, {
|
|
11736
11736
|
id: et(gt, e.uid),
|
|
11737
11737
|
layout: e.root.verticalLayout
|
|
@@ -11742,7 +11742,7 @@ function Lv(t) {
|
|
|
11742
11742
|
legendContainer: c
|
|
11743
11743
|
});
|
|
11744
11744
|
});
|
|
11745
|
-
else if (r instanceof
|
|
11745
|
+
else if (r instanceof we) {
|
|
11746
11746
|
const l = vv(e);
|
|
11747
11747
|
if (l) {
|
|
11748
11748
|
Wl(e, l), bs({ chart: e, legendConfig: n }), nf(l, n);
|
|
@@ -12027,7 +12027,7 @@ function Bv(t) {
|
|
|
12027
12027
|
}
|
|
12028
12028
|
case y.HeatSeries: {
|
|
12029
12029
|
const c = e.series.getIndex(0);
|
|
12030
|
-
if (c instanceof
|
|
12030
|
+
if (c instanceof we && oi(a) && !qe(n)) {
|
|
12031
12031
|
const d = Uu({
|
|
12032
12032
|
queryObject: n,
|
|
12033
12033
|
chartConfig: a,
|
|
@@ -12352,7 +12352,7 @@ function _l(t, e) {
|
|
|
12352
12352
|
}
|
|
12353
12353
|
function Uv(t) {
|
|
12354
12354
|
const e = D(t.uid ?? NaN, "config"), i = e?.series[0].heatRulesType === Ca.Renderer, o = t.series.values[0].data.values.some(
|
|
12355
|
-
(s) => s[
|
|
12355
|
+
(s) => s[Oe.valueField] === null || i && !s[X.rendererSymbolField]
|
|
12356
12356
|
);
|
|
12357
12357
|
let n;
|
|
12358
12358
|
if (o) {
|
|
@@ -12643,7 +12643,7 @@ function aL(t) {
|
|
|
12643
12643
|
selected: !1,
|
|
12644
12644
|
backToDefaultState: !0
|
|
12645
12645
|
});
|
|
12646
|
-
}) : e instanceof
|
|
12646
|
+
}) : e instanceof we ? e.columns.each((i) => {
|
|
12647
12647
|
nt({
|
|
12648
12648
|
element: i,
|
|
12649
12649
|
selected: !1,
|
|
@@ -12672,7 +12672,7 @@ function ga(t) {
|
|
|
12672
12672
|
pendingSelectionQueries: !1
|
|
12673
12673
|
}), Dr(e) && aL(e), a && Wa({
|
|
12674
12674
|
data: {
|
|
12675
|
-
selectionSource: i ??
|
|
12675
|
+
selectionSource: i ?? De.ClearSelection
|
|
12676
12676
|
},
|
|
12677
12677
|
htmlContainer: e.root.dom
|
|
12678
12678
|
});
|
|
@@ -12697,14 +12697,14 @@ function rL(t) {
|
|
|
12697
12697
|
case t instanceof tt:
|
|
12698
12698
|
e = t.slices.values;
|
|
12699
12699
|
break;
|
|
12700
|
-
case t instanceof
|
|
12700
|
+
case t instanceof we:
|
|
12701
12701
|
const { chart: i } = t;
|
|
12702
12702
|
if (i) {
|
|
12703
12703
|
const a = D(i.uid, "config");
|
|
12704
12704
|
if (a) {
|
|
12705
12705
|
const o = z(a?.series);
|
|
12706
12706
|
let n = [];
|
|
12707
|
-
o === y.HistogramSeries ? n = [oo.Count] : o === y.HeatSeries ? n = [
|
|
12707
|
+
o === y.HistogramSeries ? n = [oo.Count] : o === y.HeatSeries ? n = [Oe.valueField] : n = Si(a?.series, [t.get("id") ?? ""]), e = t.columns.values.filter((s) => {
|
|
12708
12708
|
let r = !1;
|
|
12709
12709
|
const l = s.dataItem?.dataContext;
|
|
12710
12710
|
return l && (r = o === y.HeatSeries || n.some((c) => c in l && Number.isFinite(l[c]))), r;
|
|
@@ -12933,11 +12933,11 @@ function dL(t) {
|
|
|
12933
12933
|
).map((W) => JSON.parse(W)), M !== void 0 && $e(u.uid, { currentSelectionDataItems: N }), h?.selectionOIDs !== void 0 && $e(u.uid, { currentSelectionOIDs: h.selectionOIDs });
|
|
12934
12934
|
let V;
|
|
12935
12935
|
if (p === !0 && (V = D(u.uid, "computedSelectionIndexes") ?? S, V !== void 0 && $e(u.uid, { currentSelectionIndexes: V })), N === void 0 || N.length === 0)
|
|
12936
|
-
ga({ chart: u, selectionSource:
|
|
12936
|
+
ga({ chart: u, selectionSource: De.ProgrammaticSelection });
|
|
12937
12937
|
else {
|
|
12938
12938
|
const W = {
|
|
12939
12939
|
selectionItems: N,
|
|
12940
|
-
selectionSource:
|
|
12940
|
+
selectionSource: De.ProgrammaticSelection
|
|
12941
12941
|
};
|
|
12942
12942
|
p === !0 && (W.selectionIndexes = V), b !== !1 && (W.selectionOIDs = h?.selectionOIDs ?? D(u.uid, "currentSelectionOIDs")), Wa({
|
|
12943
12943
|
data: W,
|
|
@@ -12978,7 +12978,7 @@ async function Nr(t) {
|
|
|
12978
12978
|
if (e.series.each((w, B) => {
|
|
12979
12979
|
const { seriesConfig: M } = ko(w, n), $ = M?.query?.where ?? "", N = M?.type === y.BoxPlotSeries ? M.y.toString() : Xa(w);
|
|
12980
12980
|
let V;
|
|
12981
|
-
w instanceof me ? V = w.dataItems : w instanceof
|
|
12981
|
+
w instanceof me ? V = w.dataItems : w instanceof we ? V = w.columns.values : w instanceof tt && (V = w.slices.values), V?.forEach((W, H) => {
|
|
12982
12982
|
const U = W instanceof ro || W instanceof lo ? W : W.bullets?.[0]?.get("sprite");
|
|
12983
12983
|
if (U !== void 0 && di(U.uid, "selected") === !0) {
|
|
12984
12984
|
O += 1;
|
|
@@ -13103,14 +13103,14 @@ async function Yl(t) {
|
|
|
13103
13103
|
c instanceof me ? c.dataItems.forEach((d) => {
|
|
13104
13104
|
const u = d.bullets?.[0]?.get("sprite");
|
|
13105
13105
|
u !== r && nt({ element: u, selected: !1 });
|
|
13106
|
-
}) : c instanceof
|
|
13106
|
+
}) : c instanceof we ? c.columns.each((d) => {
|
|
13107
13107
|
d !== r && nt({ element: d, selected: !1 });
|
|
13108
13108
|
}) : c instanceof tt && c.slices.each((d) => {
|
|
13109
13109
|
d !== r && nt({ element: d, selected: !1 });
|
|
13110
13110
|
});
|
|
13111
13111
|
}), await Nr({
|
|
13112
13112
|
chart: n,
|
|
13113
|
-
selectionSource:
|
|
13113
|
+
selectionSource: De.SelectionByClick,
|
|
13114
13114
|
queryObject: a,
|
|
13115
13115
|
errorStrings: o
|
|
13116
13116
|
});
|
|
@@ -13215,10 +13215,10 @@ function yL(t) {
|
|
|
13215
13215
|
if (r && l) {
|
|
13216
13216
|
const c = D(e.uid, "config"), d = z(c?.series), u = e.get("cursor"), f = bL({ cursor: u, xAxis: r, yAxis: l }), g = wu(n);
|
|
13217
13217
|
e.series.each((h) => {
|
|
13218
|
-
!Li(h) && !To(h) && (h instanceof
|
|
13218
|
+
!Li(h) && !To(h) && (h instanceof we ? gL({ series: h, cursorBounds: f, multiSelect: g }) : h instanceof me && (d === y.RadarSeries ? pL({ xAxis: r, series: h, cursorBounds: f, multiSelect: g }) : hL({ series: h, cursorBounds: f, multiSelect: g })));
|
|
13219
13219
|
}), ne(u.selection, !1), await Nr({
|
|
13220
13220
|
chart: e,
|
|
13221
|
-
selectionSource:
|
|
13221
|
+
selectionSource: De.SelectionByRange,
|
|
13222
13222
|
queryObject: i,
|
|
13223
13223
|
errorStrings: a
|
|
13224
13224
|
});
|
|
@@ -13330,7 +13330,7 @@ function CL(t) {
|
|
|
13330
13330
|
function Mn(t, e) {
|
|
13331
13331
|
const { series: i } = e, a = z(i);
|
|
13332
13332
|
switch (!0) {
|
|
13333
|
-
case t instanceof
|
|
13333
|
+
case t instanceof we:
|
|
13334
13334
|
t.columns.template.setAll({ hoverOnFocus: !0 }), a === y.HeatSeries ? t.columns.template.set("ariaLabel", AL()) : t.columns.template.set("ariaLabel", $i());
|
|
13335
13335
|
break;
|
|
13336
13336
|
case t instanceof tt:
|
|
@@ -13354,7 +13354,7 @@ function xL(t) {
|
|
|
13354
13354
|
function xf(t) {
|
|
13355
13355
|
t.series.each((e) => {
|
|
13356
13356
|
let i;
|
|
13357
|
-
e instanceof
|
|
13357
|
+
e instanceof we ? i = e.columns.template : e instanceof me ? i = ie(e.uid, "bulletTemplate") : e instanceof tt && (i = e.slices.template), i && xL({ element: i, numberOfItems: e.dataItems.length, chartUid: t.uid });
|
|
13358
13358
|
});
|
|
13359
13359
|
}
|
|
13360
13360
|
function vL(t) {
|
|
@@ -13453,7 +13453,7 @@ function Ma(t, e) {
|
|
|
13453
13453
|
t.set("turboMode", e === !0);
|
|
13454
13454
|
}
|
|
13455
13455
|
function AL() {
|
|
13456
|
-
return `{${
|
|
13456
|
+
return `{${Oe.xField}} {${Oe.yField}} {${Oe.valueField}}`;
|
|
13457
13457
|
}
|
|
13458
13458
|
function Lf(t) {
|
|
13459
13459
|
const { root: e, intlOptions: i, formatLocale: a, overridePercentMultiplication: o } = t, n = Ht({
|
|
@@ -13641,7 +13641,7 @@ function OL(t, e) {
|
|
|
13641
13641
|
let f = n;
|
|
13642
13642
|
const g = s.dataItem?.dataContext, h = D(t.chart?.uid ?? Number.NaN, "config");
|
|
13643
13643
|
if (z(h?.series) === y.HeatSeries) {
|
|
13644
|
-
const C = zi(t.get("renderer")) ? g?.[
|
|
13644
|
+
const C = zi(t.get("renderer")) ? g?.[Oe.xField] : g?.[Oe.yField];
|
|
13645
13645
|
typeof C == "string" && (f = C);
|
|
13646
13646
|
}
|
|
13647
13647
|
const b = Ff({
|
|
@@ -14802,7 +14802,7 @@ function Ri(t) {
|
|
|
14802
14802
|
let u;
|
|
14803
14803
|
switch (r) {
|
|
14804
14804
|
case y.HeatSeries:
|
|
14805
|
-
u = a ?
|
|
14805
|
+
u = a ? Oe.xField : Oe.yField;
|
|
14806
14806
|
break;
|
|
14807
14807
|
case y.HistogramSeries:
|
|
14808
14808
|
u = oo.Start;
|
|
@@ -14847,7 +14847,7 @@ function k0(t) {
|
|
|
14847
14847
|
if (i && (o || n || s || r)) {
|
|
14848
14848
|
const l = Ut(i);
|
|
14849
14849
|
if (oi(a)) {
|
|
14850
|
-
const c = jC(e), d = i?.heatChartAxesData, u = c ===
|
|
14850
|
+
const c = jC(e), d = i?.heatChartAxesData, u = c === Oe.xField ? d?.xAxisData : d?.yAxisData;
|
|
14851
14851
|
e.data.setAll(u ?? []);
|
|
14852
14852
|
} else
|
|
14853
14853
|
e.data.setAll(l ?? []);
|
|
@@ -15149,7 +15149,7 @@ function B0(t) {
|
|
|
15149
15149
|
const { chart: e, enabled: i } = t, a = i ? "pointer" : "default";
|
|
15150
15150
|
e instanceof ea && e.series.each((o) => {
|
|
15151
15151
|
switch (!0) {
|
|
15152
|
-
case o instanceof
|
|
15152
|
+
case o instanceof we:
|
|
15153
15153
|
o.columns.template.set("cursorOverStyle", a);
|
|
15154
15154
|
break;
|
|
15155
15155
|
case o instanceof me:
|
|
@@ -15435,7 +15435,7 @@ function Y0(t) {
|
|
|
15435
15435
|
});
|
|
15436
15436
|
}
|
|
15437
15437
|
function U0(t) {
|
|
15438
|
-
const { root: e, chartConfig: i, seriesConfig: a, xAxis: o, yAxis: n, options: s, queryObject: r, errorStrings: l } = t, { id: c, name: d } = a, { xField: u, yField: f, xAxisField: g, yAxisField: h } = Ya(i, a), p = Ys(i), b =
|
|
15438
|
+
const { root: e, chartConfig: i, seriesConfig: a, xAxis: o, yAxis: n, options: s, queryObject: r, errorStrings: l } = t, { id: c, name: d } = a, { xField: u, yField: f, xAxisField: g, yAxisField: h } = Ya(i, a), p = Ys(i), b = we.new(e, {
|
|
15439
15439
|
id: c,
|
|
15440
15440
|
name: d,
|
|
15441
15441
|
stacked: p,
|
|
@@ -17063,7 +17063,7 @@ function Vn(t) {
|
|
|
17063
17063
|
const he = ae.type;
|
|
17064
17064
|
switch (!0) {
|
|
17065
17065
|
case I === y.HeatSeries: {
|
|
17066
|
-
Y instanceof
|
|
17066
|
+
Y instanceof we && e instanceof Ce && oi(i) && mv({
|
|
17067
17067
|
..._,
|
|
17068
17068
|
series: Y,
|
|
17069
17069
|
data: o,
|
|
@@ -17088,7 +17088,7 @@ function Vn(t) {
|
|
|
17088
17088
|
break;
|
|
17089
17089
|
}
|
|
17090
17090
|
case he === y.HistogramSeries: {
|
|
17091
|
-
Y instanceof
|
|
17091
|
+
Y instanceof we && e instanceof Ce && kg(o) && ov({
|
|
17092
17092
|
..._,
|
|
17093
17093
|
series: Y,
|
|
17094
17094
|
allChartSeries: w,
|
|
@@ -17114,7 +17114,7 @@ function Vn(t) {
|
|
|
17114
17114
|
break;
|
|
17115
17115
|
}
|
|
17116
17116
|
case (I === y.ComboLineAndBarSeries || I === y.BarSeries || I === y.LineSeries):
|
|
17117
|
-
e instanceof Ce && Un(o) && (he === y.BarSeries && Y instanceof
|
|
17117
|
+
e instanceof Ce && Un(o) && (he === y.BarSeries && Y instanceof we ? K0({
|
|
17118
17118
|
..._,
|
|
17119
17119
|
series: Y,
|
|
17120
17120
|
data: o,
|
|
@@ -17191,7 +17191,7 @@ async function iA(t) {
|
|
|
17191
17191
|
const o = D(e.uid, "actionMode");
|
|
17192
17192
|
o !== Z.MonoSelection && o !== Z.None && (e.series.each((n) => {
|
|
17193
17193
|
switch (!0) {
|
|
17194
|
-
case n instanceof
|
|
17194
|
+
case n instanceof we:
|
|
17195
17195
|
eA(n);
|
|
17196
17196
|
break;
|
|
17197
17197
|
case n instanceof me:
|
|
@@ -17203,7 +17203,7 @@ async function iA(t) {
|
|
|
17203
17203
|
}
|
|
17204
17204
|
}), await Nr({
|
|
17205
17205
|
chart: e,
|
|
17206
|
-
selectionSource:
|
|
17206
|
+
selectionSource: De.ProgrammaticSelection,
|
|
17207
17207
|
queryObject: i,
|
|
17208
17208
|
errorStrings: a
|
|
17209
17209
|
}));
|
|
@@ -17280,7 +17280,7 @@ function vs(t) {
|
|
|
17280
17280
|
const { chart: e, actionMode: i, cursorRange: a } = t;
|
|
17281
17281
|
if (Dr(e)) {
|
|
17282
17282
|
const o = D(e.uid, "actionMode"), n = i ?? o ?? L.actionMode;
|
|
17283
|
-
$e(e.uid, { actionMode: n }), n === Z.None && ga({ chart: e, selectionSource:
|
|
17283
|
+
$e(e.uid, { actionMode: n }), n === Z.None && ga({ chart: e, selectionSource: De.ClearSelection }), o !== n && xf(e), M0({ chart: e, actionMode: n, cursorRange: a });
|
|
17284
17284
|
}
|
|
17285
17285
|
}
|
|
17286
17286
|
function rA(t) {
|
|
@@ -18704,7 +18704,7 @@ class _A extends qf {
|
|
|
18704
18704
|
const e = this._getSelectionFromSelectionManager();
|
|
18705
18705
|
e && (this.selectionData = {
|
|
18706
18706
|
selectionOIDs: e,
|
|
18707
|
-
selectionSource:
|
|
18707
|
+
selectionSource: De.ProgrammaticSelection
|
|
18708
18708
|
});
|
|
18709
18709
|
}
|
|
18710
18710
|
}
|
|
@@ -18729,7 +18729,7 @@ class _A extends qf {
|
|
|
18729
18729
|
const e = this._getSelectionFromSelectionManager();
|
|
18730
18730
|
e && !Mt(e, this.selectionData?.selectionOIDs) && (this.selectionData = {
|
|
18731
18731
|
selectionOIDs: e,
|
|
18732
|
-
selectionSource:
|
|
18732
|
+
selectionSource: De.ProgrammaticSelection
|
|
18733
18733
|
}, this.arcgisSelectionComplete.emit({ selectionData: this.selectionData, model: this._model }));
|
|
18734
18734
|
}
|
|
18735
18735
|
_handleRuntimeError(e) {
|
|
@@ -18771,7 +18771,7 @@ class _A extends qf {
|
|
|
18771
18771
|
classBreakInfos: i,
|
|
18772
18772
|
type: "classBreaks",
|
|
18773
18773
|
// TODO (heat-chart) use the correct type
|
|
18774
|
-
field:
|
|
18774
|
+
field: Oe.valueField
|
|
18775
18775
|
});
|
|
18776
18776
|
}
|
|
18777
18777
|
}
|
|
@@ -18805,7 +18805,7 @@ class _A extends qf {
|
|
|
18805
18805
|
const i = e, { selectionData: a, model: o } = i.detail, n = this.loadedLayer && o?.layer?.id === this.loadedLayer.id;
|
|
18806
18806
|
(this.syncSelection || this.syncChartsSelection) && n && e.target !== this.el && !Mt(a.selectionOIDs, this.selectionData?.selectionOIDs) && (a.selectionOIDs ? (this.selectionData = {
|
|
18807
18807
|
selectionOIDs: a.selectionOIDs,
|
|
18808
|
-
selectionSource:
|
|
18808
|
+
selectionSource: De.ProgrammaticSelection
|
|
18809
18809
|
}, this.arcgisSelectionComplete.emit({ selectionData: this.selectionData, model: this._model })) : this.clearSelection());
|
|
18810
18810
|
}
|
|
18811
18811
|
}
|
|
@@ -18935,7 +18935,7 @@ class _A extends qf {
|
|
|
18935
18935
|
const e = this.selectionManager ?? this.view?.selectionManager;
|
|
18936
18936
|
if (this.loadedLayer && e && !qe(this.loadedLayer) && (this.syncViewSelection || this.syncSelectionsBetweenChartAndLayerViewPolicy === Qa.Enabled)) {
|
|
18937
18937
|
let i;
|
|
18938
|
-
const a = this.selectionData?.selectionOIDs?.length === 0 || this.selectionData?.selectionOIDs === void 0 || this.selectionData?.selectionSource ===
|
|
18938
|
+
const a = this.selectionData?.selectionOIDs?.length === 0 || this.selectionData?.selectionOIDs === void 0 || this.selectionData?.selectionSource === De.ClearSelection, o = (this.selectionData?.selectionOIDs?.length ?? 0) > 0;
|
|
18939
18939
|
a ? i = [] : o && this.selectionData && (i = this.selectionData.selectionOIDs), i && e.replace(this.loadedLayer, i);
|
|
18940
18940
|
}
|
|
18941
18941
|
}
|
|
@@ -19281,7 +19281,7 @@ class _A extends qf {
|
|
|
19281
19281
|
this._processInvalidConfigStatus(d, l);
|
|
19282
19282
|
else {
|
|
19283
19283
|
if ((r || C) && (this._notifyDataProcessComplete(f.data), this._notifyDataFetchComplete(f.data)), !this.filterBySelection && !qe(i)) {
|
|
19284
|
-
const V = this._lastRenderedProps?.options?.selectionData, W = !Mt(V?.selectionOIDs, this.selectionData?.selectionOIDs), H = await fg({
|
|
19284
|
+
const V = this._lastRenderedProps?.options?.selectionData, W = this.selectionData?.selectionSource !== De.SelectionByClick && this.selectionData?.selectionSource !== De.SelectionByRange && !Mt(V?.selectionOIDs, this.selectionData?.selectionOIDs), H = await fg({
|
|
19285
19285
|
chartConfig: l,
|
|
19286
19286
|
chartData: this._processedChartData,
|
|
19287
19287
|
dataWasUpdated: r,
|