@arcgis/charts-components 5.1.11 → 5.1.13
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/{24SINXG2.js → 2A2PEIKR.js} +1 -1
- package/dist/cdn/{67OK2UNU.js → 2SS5PNXC.js} +1 -1
- package/dist/cdn/{FIBEKFB3.js → 2Y2HUFGN.js} +1 -1
- package/dist/cdn/{JCCYOC5Z.js → 2YSVQRMZ.js} +1 -1
- package/dist/cdn/{PPX7YGRM.js → 2ZD245HE.js} +1 -1
- package/dist/cdn/{K2IIS6ZX.js → 35NEW2SV.js} +1 -1
- package/dist/cdn/{TIENUKCR.js → 3GZ4SR7T.js} +1 -1
- package/dist/cdn/{ZKC4S2QS.js → 3JL355YY.js} +1 -1
- package/dist/cdn/{G4GLZ43S.js → 3WN4UJLG.js} +1 -1
- package/dist/cdn/{SYWYHPGA.js → 44BT4NNU.js} +1 -1
- package/dist/cdn/{O5RRNA4S.js → 4EXP7Z6F.js} +1 -1
- package/dist/cdn/{KGVGVM5E.js → 4OMVOVDV.js} +1 -1
- package/dist/cdn/{DDMBZXEJ.js → 4QHJHXUJ.js} +1 -1
- package/dist/cdn/{U34TGS7L.js → 4SKA26DI.js} +1 -1
- package/dist/cdn/{EXPV2XA3.js → 57YPAOXZ.js} +1 -1
- package/dist/cdn/{SJESVVC3.js → 5AHQSZT3.js} +1 -1
- package/dist/cdn/{G3SETFZ7.js → 5AV3RDAJ.js} +1 -1
- package/dist/cdn/{XEUVQHLN.js → 5CJ6AS2R.js} +1 -1
- package/dist/cdn/{NBJVH2LW.js → 5LVMNHMJ.js} +1 -1
- package/dist/cdn/{KTOMRIXE.js → 5YR2XYLL.js} +1 -1
- package/dist/cdn/{5B63QTM7.js → 63KPEHDF.js} +1 -1
- package/dist/cdn/{WCC4Q4TD.js → 6QKQZIYH.js} +1 -1
- package/dist/cdn/{64EP4M7R.js → 722MPRC2.js} +1 -1
- package/dist/cdn/{YZCKHHHN.js → 77ZFLSUR.js} +1 -1
- package/dist/cdn/{OP4I226S.js → 7CCXHGYD.js} +1 -1
- package/dist/cdn/{3UAQO4DI.js → 7HJB4SI2.js} +1 -1
- package/dist/cdn/{Q7SYOGCN.js → 7QQ5NS6Z.js} +1 -1
- package/dist/cdn/{IHC346ZX.js → ANOEILQF.js} +1 -1
- package/dist/cdn/{QCFUPVNH.js → ASZMVYJM.js} +1 -1
- package/dist/cdn/{NQAPPISU.js → AUECIKS7.js} +1 -1
- package/dist/cdn/{PNALVVWZ.js → AXQCTXPE.js} +1 -1
- package/dist/cdn/{WSFTRWJH.js → BHCHUWOR.js} +1 -1
- package/dist/cdn/{AIAYQOOX.js → CL3K37UD.js} +1 -1
- package/dist/cdn/{2NIN6LTO.js → CRNAD7BG.js} +1 -1
- package/dist/cdn/{PPBXXZQB.js → CXNIATF6.js} +1 -1
- package/dist/cdn/{FWEP2GP7.js → D2UNGJWY.js} +1 -1
- package/dist/cdn/{E7LURL7O.js → D5LSTM2B.js} +1 -1
- package/dist/cdn/{2KIMXID3.js → DAOSCUBJ.js} +1 -1
- package/dist/cdn/{CTQKF2XU.js → E6N6SOBG.js} +1 -1
- package/dist/cdn/{YSTSSQLV.js → EIH5J7ZW.js} +1 -1
- package/dist/cdn/{YLAUAKE2.js → ELZKWU4H.js} +1 -1
- package/dist/cdn/{ZIVDEA45.js → EPLJTNS7.js} +1 -1
- package/dist/cdn/{37LWTLUJ.js → EQUME3DG.js} +1 -1
- package/dist/cdn/{FCWLP6J4.js → FL3GSWYB.js} +1 -1
- package/dist/cdn/{OLF2DEYM.js → G2QZEFJL.js} +1 -1
- package/dist/cdn/{HGAWR2EE.js → G2VPQGYM.js} +1 -1
- package/dist/cdn/{Q2GCIWMP.js → GBGH6JDU.js} +1 -1
- package/dist/cdn/{WFC5WYFO.js → GOIX2QZV.js} +1 -1
- package/dist/cdn/{GLMSU4LL.js → GPIB5XFN.js} +1 -1
- package/dist/cdn/{DCKCDN7T.js → GPYBLZSR.js} +1 -1
- package/dist/cdn/{25EPQWFN.js → GZPKSGXO.js} +1 -1
- package/dist/cdn/{IIQROCPH.js → HPIGYIO3.js} +1 -1
- package/dist/cdn/{VU5J4PFF.js → HQTOAYUF.js} +1 -1
- package/dist/cdn/{GGXRRAVF.js → I3HA7LXL.js} +1 -1
- package/dist/cdn/{V3ZGYXHF.js → I5MQ7UYV.js} +18 -18
- package/dist/cdn/{6JI4NDJ6.js → IQAKPU7N.js} +1 -1
- package/dist/cdn/{O6TJ3UGQ.js → JTJA3MJK.js} +1 -1
- package/dist/cdn/{3BNPSLUD.js → K247XYMA.js} +1 -1
- package/dist/cdn/{HDXX3BTC.js → KEF2JUNX.js} +1 -1
- package/dist/cdn/{GNJ6IYID.js → KGPMYLWS.js} +1 -1
- package/dist/cdn/{HDGK3VRO.js → KGZRYE7N.js} +1 -1
- package/dist/cdn/{WWOPQCTK.js → KKNTJKRV.js} +1 -1
- package/dist/cdn/{BXR4OHIJ.js → KN2G6OHX.js} +1 -1
- package/dist/cdn/{QQ7ZIJEF.js → KPDRGTU3.js} +1 -1
- package/dist/cdn/{NN4OJYKD.js → KQRR3MRL.js} +1 -1
- package/dist/cdn/{OWJVIL2L.js → KYRQMTBT.js} +1 -1
- package/dist/cdn/{M7MRHYDW.js → LGULOFN4.js} +1 -1
- package/dist/cdn/{2DWAEL56.js → LIIIFRTS.js} +1 -1
- package/dist/cdn/{QVPUNQ7S.js → LTCV3NTL.js} +1 -1
- package/dist/cdn/{AX63OJ2H.js → MPFUJBRT.js} +1 -1
- package/dist/cdn/{JK43D34K.js → MTIAR5R3.js} +1 -1
- package/dist/cdn/{WQKKOW6A.js → NK6LNLAC.js} +1 -1
- package/dist/cdn/{6PLFBBBG.js → OH2HGF6U.js} +1 -1
- package/dist/cdn/{BBTMDFU6.js → OX3NDAHH.js} +1 -1
- package/dist/cdn/{NB7C4JAA.js → PFVFVRZI.js} +1 -1
- package/dist/cdn/{CV32NU4G.js → PVN5MMI4.js} +1 -1
- package/dist/cdn/{TX42NY5W.js → Q4KS2PC7.js} +1 -1
- package/dist/cdn/{X2EQW27E.js → QBIRDXQK.js} +1 -1
- package/dist/cdn/{63QO3U5W.js → QNPRVZIU.js} +1 -1
- package/dist/cdn/{EZMB7G5E.js → QU3INUFM.js} +1 -1
- package/dist/cdn/{MM26T2GP.js → QY53MNPK.js} +1 -1
- package/dist/cdn/{5HFG6K7B.js → RLQJRXUT.js} +1 -1
- package/dist/cdn/{QJDLVGLR.js → RNQS53SS.js} +1 -1
- package/dist/cdn/{HBNHKVCF.js → S4HW5TCY.js} +1 -1
- package/dist/cdn/{WEFKBLQC.js → SKMK6PPJ.js} +1 -1
- package/dist/cdn/{AC46HDUW.js → SYEQGCCV.js} +1 -1
- package/dist/cdn/{P5XJTTU3.js → TA5LVOWS.js} +1 -1
- package/dist/cdn/{VVE7GG7T.js → UEJ4SPWO.js} +1 -1
- package/dist/cdn/{Y7NSG5YQ.js → UGLSCQYJ.js} +1 -1
- package/dist/cdn/{3IJKP3BW.js → UHEOPSRY.js} +1 -1
- package/dist/cdn/{UIBSZEOY.js → UHYGKM62.js} +1 -1
- package/dist/cdn/{56DWUYTD.js → V25QIG2L.js} +1 -1
- package/dist/cdn/{QEIM56K2.js → VI5N27A2.js} +1 -1
- package/dist/cdn/{E6ICXDNS.js → W4JY5J3V.js} +1 -1
- package/dist/cdn/{UBKEVNXE.js → WCW2QQXA.js} +1 -1
- package/dist/cdn/{6ICHWTQ6.js → WLOH24BT.js} +1 -1
- package/dist/cdn/{6QYFUFZY.js → WNEA6NPB.js} +1 -1
- package/dist/cdn/{IQLYPXDR.js → XVF4ROM7.js} +1 -1
- package/dist/cdn/{TYHMNABU.js → YEBNFH7A.js} +1 -1
- package/dist/cdn/{YU5UEXEL.js → YVO6WJSM.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/runtime.js +1 -1
- package/dist/components/arcgis-chart/customElement.js +309 -305
- 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
|
@@ -15,24 +15,24 @@ import { html as to, css as sm } from "lit";
|
|
|
15
15
|
import { createRef as rm, ref as el } from "lit/directives/ref.js";
|
|
16
16
|
import { cloneDeep as Ie, isEqual as Mt, isEmpty as Ca, debounce as rt } from "lodash-es";
|
|
17
17
|
import { H as Rt } from "../../chunks/resources.js";
|
|
18
|
-
import { XYChart as ce, PieChart as
|
|
19
|
-
import { Color as Wo, percent as mt, LinePattern as yc, RectPattern as Sc, color as cn, DateFormatter as Cc, NumberFormatter as xc, Group as gm, MouseCursorStyle as
|
|
18
|
+
import { XYChart as ce, PieChart as $e, AxisFill as lm, AxisFillCircular as cm, DateAxis as Ne, ValueAxis as ve, CategoryAxis as nt, CategoryAxisDataItem as ka, DateAxisDataItem as rn, LineSeries as Ce, ColumnSeries as st, PieSeries as Vt, GaugeChart as Ft, XYCursor as gc, XYSeries as gi, SerialChart as hc, Cursor as dm, AxisLabel as Is, ColumnSeriesDataItem as Ds, LineSeriesDataItem as Ea, CandlestickSeries as Ge, StepLineSeries as kt, LegendDataItem as ra, Series as pc, CandlestickSeriesDataItem as um, PieSeriesDataItem as hi, Legend as fm, AxisRendererX as Ct, AxisRendererCircular as ln, AxisLabelCircular as ws, ValueAxisDataItem as Os, AxisRendererY as Wa, ClockHand as mm, Chart as bc } from "@amcharts/amcharts4/charts.js";
|
|
19
|
+
import { Color as Wo, percent as mt, LinePattern as yc, RectPattern as Sc, color as cn, DateFormatter as Cc, NumberFormatter as xc, Group as gm, MouseCursorStyle as qt, Label as zo, DropShadowFilter as hm, Sprite as $s, utils as vc, Tooltip as Lc, Container as pm, RoundedRectangle as bm, Percent as Ho, Slice as ym, options as io, useTheme as Sm, unuseTheme as Cm, create as Rs } from "@amcharts/amcharts4/core.js";
|
|
20
20
|
import tl from "@amcharts/amcharts4/themes/animated.js";
|
|
21
21
|
import { u as y, q as re, a as Fc, r as Ut, s as be, k as G, p as dn, m as Ac, l as il, W as xa, j as ye, h as va, S as al, d as Un, o as ol, v as xm } from "../../chunks/chart-object-literals.js";
|
|
22
|
-
import { c5 as At, c6 as Tc, c7 as kc, x as
|
|
23
|
-
import { F as X, g as Yi, C as V, d as Be, B as Ve, q as ue, b as pn, a as jn, A as Z, o as je, l as dt, S as
|
|
22
|
+
import { c5 as At, c6 as Tc, c7 as kc, x as jt, b4 as Ic, aP as Dc, aO as Bs, bX as Ms, c8 as wc, c9 as Oc, ba as vm, Y as j, af as lt, an as la, I as St, ca as Et, cb as Ns, m as ii, n as La, a2 as So, cc as Ps, cd as ui, ce as xt, cf as Co, cg as Vs, ch as pi, ci as Es, cj as ai, ck as Ia, cl as oi, bx as $c, cm as bt, h as os, bR as Lm, b9 as Fm, aG as Qt, aH as ca, B as te, W as he, bn as Am, cn as un, co as Go, aK as vi, cp as Li, cq as Pi, cr as Ot, bo as Ws, w as da, bF as fn, cs as zs, ct as Rc, cu as Hs, a6 as Gs, cv as Gt, bi as no, cw as Xs, cx as za, c as Bc, cy as Mc, bd as bi, cz as Nc, cA as mn, ay as Ys, A as $i, cB as Pc, cC as Us, R as _s, _ as Vc, c4 as js, cD as Ec, bg as Fa, cE as nl, cF as Ha, cG as Da, b as Tm, aj as Wc, cH as zc, E as ao, bj as gn, b8 as Hc, b1 as Gc, aS as km, b2 as Im, b0 as Dm, b7 as wm, cI as Xc, cJ as Yc, a$ as Om, b5 as $m, cK as Xi, cL as Rm, cM as hn, cN as v, cO as Uc, cP as Bm, cQ as Mm, bk as Nm, bb as Pm, cR as ni, c2 as Vm, cS as so, bf as Ji, ak as qs, cT as _c, $ as Em, bu as Wm, cU as zm, aN as Hm, b6 as Gm, aZ as Xm, b3 as Ym, o as Um, aY as _m, aX as jm, aW as qm, aT as Zm, aU as Km, ar as jc, cV as Qm, ae as Sa, bw as _n, P as sl, bt as Jm, q as eg, cW as tg, aQ as ig, i as ag, aC as og, cX as ng, cY as sg, a as rg, bU as lg, bT as cg, bV as dg, Z as ug, D as wi, bc as fg, cZ as mg, c_ as gg, a_ as hg, c$ as pg, aE as bg, e as yg, d0 as Sg } from "../../chunks/index2.js";
|
|
23
|
+
import { F as X, g as Yi, C as V, d as Be, B as Ve, q as ue, b as pn, a as jn, A as Z, o as je, l as dt, S as De, z as qc, c as Zc, k as Xo, p as Po, O as ke, j as Kc, E as rl } from "../../chunks/index3.js";
|
|
24
24
|
import "@amcharts/amcharts4/.internal/charts/axes/Axis.js";
|
|
25
25
|
import { g as Xe, f as Ze, i as J, e as qn, R as bn, h as Yo } from "../../chunks/rest-js-object-literals.js";
|
|
26
|
-
import { am as ia, aB as Zs, p as xo, ax as Pt, a4 as ns, aA as Cg, s as xg, az as wa, j as
|
|
26
|
+
import { am as ia, aB as Zs, p as xo, ax as Pt, a4 as ns, aA as Cg, s as xg, az as wa, j as we, $ as Ks, a1 as Qs, g as Js, V as Qc, X as Jc, A as er, ad as ed, Z as yn, a7 as vg, a6 as Lg, y as td, n as tr, e as Fg, ar as Ag, ab as id, ac as Tg, ae as ad, R as kg, v as Ig, F as Oa, i as ll, f as Dg } from "../../chunks/index.js";
|
|
27
27
|
import { p as ro, r as Uo, q as od, l as Zn, k as nd, t as Sn, u as Kn, w as wg, v as Og } from "../../chunks/index5.js";
|
|
28
|
-
import { c as qe, a as
|
|
28
|
+
import { c as qe, a as si } from "../../chunks/type-guards.js";
|
|
29
29
|
import { g as H, a as $g } from "../../chunks/series-types.js";
|
|
30
30
|
import { isLight as Rg } from "@amcharts/amcharts4/.internal/core/utils/Colors.js";
|
|
31
31
|
import { Scrollbar as cl } from "@amcharts/amcharts4/.internal/core/elements/Scrollbar.js";
|
|
32
|
-
import { color as lo, Series as $a, SerialChart as aa, percent as Ke, LinePattern as sd, RectanglePattern as Bg, p50 as Ae, p0 as ze, p100 as Te, Label as tt, Rectangle as _o, DateFormatter as Mg, NumberFormatter as rd, Bullet as Fi, Tooltip as
|
|
33
|
-
import { PieSeries as ht, PieChart as
|
|
34
|
-
import { AxisRendererCircular as
|
|
35
|
-
import { AxisRendererY as yi, XYSeries as nr, StepLineSeries as Cn, LineSeries as fe, ColumnSeries as
|
|
32
|
+
import { color as lo, Series as $a, SerialChart as aa, percent as Ke, LinePattern as sd, RectanglePattern as Bg, p50 as Ae, p0 as ze, p100 as Te, Label as tt, Rectangle as _o, DateFormatter as Mg, NumberFormatter as rd, Bullet as Fi, Tooltip as ri, Template as Ui, Sprite as Ng, Graphics as Wt, Color as Pg, Container as mi, HeatLegend as jo, LinearGradient as Vg, Legend as ir, Scrollbar as ss, time as Eg, RoundedRectangle as co, Slice as uo, Timezone as Wg, DataItem as zg, addLicense as Hg, registry as Gg, Root as Xg } from "@amcharts/amcharts5";
|
|
33
|
+
import { PieSeries as ht, PieChart as Kt } from "@amcharts/amcharts5/percent.js";
|
|
34
|
+
import { AxisRendererCircular as Jt, RadarCursor as ar, ClockHand as rs, RadarChart as Vi, AxisRendererRadial as Yg, RadarLineSeries as or } from "@amcharts/amcharts5/radar.js";
|
|
35
|
+
import { AxisRendererY as yi, XYSeries as nr, StepLineSeries as Cn, LineSeries as fe, ColumnSeries as Oe, XYChart as Le, AxisRendererX as vt, XYCursor as ld, CategoryAxis as Qe, CandlestickSeries as _i, DateAxis as Ee, ValueAxis as xe, AxisBullet as Ug } from "@amcharts/amcharts5/xy.js";
|
|
36
36
|
import _g from "@amcharts/amcharts5/themes/Animated.js";
|
|
37
37
|
import jg from "@amcharts/amcharts5/themes/Responsive.js";
|
|
38
38
|
import { Exporting as qg } from "@amcharts/amcharts5/plugins/exporting.js";
|
|
@@ -41,7 +41,7 @@ import { curveLinearClosed as Jg, curveLinear as eh, curveCardinal as th, curveB
|
|
|
41
41
|
import { u as gl } from "../../chunks/useT9n.js";
|
|
42
42
|
import { b as oh } from "../../chunks/interfaces.js";
|
|
43
43
|
import { createModel as nh } from "../../model/shared/setup-utils.js";
|
|
44
|
-
import { b as
|
|
44
|
+
import { b as _t, n as sh, e as hl, i as rh, g as lh, c as pl, t as ch } from "../../chunks/type-guards2.js";
|
|
45
45
|
import { s as dh, a as uh } from "../../chunks/store.js";
|
|
46
46
|
import { v as bl, i as Ki } from "../../chunks/index4.js";
|
|
47
47
|
import { i as Ja, u as fh, o as mh } from "../../chunks/type-guards3.js";
|
|
@@ -150,7 +150,7 @@ function gd(t, e) {
|
|
|
150
150
|
}
|
|
151
151
|
function Rh(t) {
|
|
152
152
|
let e;
|
|
153
|
-
return t.baseSprite instanceof ce || t.baseSprite instanceof
|
|
153
|
+
return t.baseSprite instanceof ce || t.baseSprite instanceof $e ? e = t.baseSprite : (t instanceof lm || t instanceof cm) && (e = t.axis.chart), e;
|
|
154
154
|
}
|
|
155
155
|
function Bh(t) {
|
|
156
156
|
return md(t.background.fill);
|
|
@@ -584,7 +584,7 @@ function xd(t) {
|
|
|
584
584
|
} = t;
|
|
585
585
|
let c;
|
|
586
586
|
if (o.series[0].type === y.PieSeries) {
|
|
587
|
-
const d =
|
|
587
|
+
const d = jt(i.data), u = Ic({
|
|
588
588
|
oldConfig: n,
|
|
589
589
|
newConfig: o
|
|
590
590
|
}), f = Dc(n, o), g = Bs(n, o), p = Gh({
|
|
@@ -689,7 +689,7 @@ function cs(t, e) {
|
|
|
689
689
|
function jh(t) {
|
|
690
690
|
const { dataContext: e, isNonAggregatedChart: i, x: a, dataIndex: o, objectIdField: n, isPieFromFields: s } = t;
|
|
691
691
|
let r = "";
|
|
692
|
-
return s === !0 ? r = e[X.originalCategoryValue] ?? e[
|
|
692
|
+
return s === !0 ? r = e[X.originalCategoryValue] ?? e[ii] : i ? r = Uh({
|
|
693
693
|
dataContext: e,
|
|
694
694
|
dataIndex: o,
|
|
695
695
|
objectIdField: n
|
|
@@ -708,7 +708,7 @@ function qh(t) {
|
|
|
708
708
|
utilsStrings: c
|
|
709
709
|
} = t, { sliceGrouping: d } = o;
|
|
710
710
|
let { x: u } = o;
|
|
711
|
-
s && (u =
|
|
711
|
+
s && (u = ii);
|
|
712
712
|
const f = e[u] ?? e[X.originalCategoryValue], g = e[X.originalCategoryValue] ?? f;
|
|
713
713
|
let h = f;
|
|
714
714
|
return r && (a ? h = d?.label ?? d?.originalLabel?.toString() ?? c.pieChart.defaultSliceGroupingLabel : l && e[X.rendererSymbolField]?.label !== void 0 ? h = e[X.rendererSymbolField].label : i !== void 0 || n !== void 0 ? (i?.label && i.label !== i?.sliceId && (h = i?.label), h === g && g !== void 0 && g !== null && (h = Be(n, g))) : i === void 0 && (h = g), h === X.nullValue ? h = "null" : h != null && (h = h.toString())), h;
|
|
@@ -755,7 +755,7 @@ function Zh(t) {
|
|
|
755
755
|
const g = c / n * 100, h = j(i) === V.PieFromFields, p = {
|
|
756
756
|
...l,
|
|
757
757
|
[Pt.defaultGroupOfSlicesId]: !0,
|
|
758
|
-
[h ?
|
|
758
|
+
[h ? ii : o.x]: o.sliceGrouping?.label ?? a?.pieChart.defaultSliceGroupingLabel,
|
|
759
759
|
[h ? La : o.y]: c,
|
|
760
760
|
[X.pieChart.technicalFieldSlicePercent]: g,
|
|
761
761
|
[X.pieChart.technicalFieldGroupedSlices]: r
|
|
@@ -810,7 +810,7 @@ function Qh(t) {
|
|
|
810
810
|
i === void 0 ? e[X.originalCategoryValue] !== void 0 && (e[a] = e[X.originalCategoryValue]) : e[a] !== i && (e[X.originalCategoryValue] === void 0 && (e[X.originalCategoryValue] = e[a]), e[a] = i);
|
|
811
811
|
}
|
|
812
812
|
function Jh(t) {
|
|
813
|
-
const { data: e, newChartConfig: i, pieSlicesSymbols: a, fieldList: o } = t, n = i.series[0], s = j(i.series) === V.PieFromFields ?
|
|
813
|
+
const { data: e, newChartConfig: i, pieSlicesSymbols: a, fieldList: o } = t, n = i.series[0], s = j(i.series) === V.PieFromFields ? ii : n.x;
|
|
814
814
|
e.forEach((r) => {
|
|
815
815
|
const l = Ai(r), c = r[X.pieChart.technicalFieldSliceId], d = l ? n.sliceGrouping?.label : cs(a?.slices, c)?.label;
|
|
816
816
|
Qh({ dataContext: r, x: s, newLabel: d });
|
|
@@ -830,7 +830,7 @@ const se = {
|
|
|
830
830
|
Median: "median",
|
|
831
831
|
Outliers: "outliers"
|
|
832
832
|
};
|
|
833
|
-
function
|
|
833
|
+
function li(t) {
|
|
834
834
|
const { type: e, iLocale: i, formatLocale: a = So(document.documentElement) } = t;
|
|
835
835
|
let o;
|
|
836
836
|
switch (e) {
|
|
@@ -850,7 +850,7 @@ function ds(t) {
|
|
|
850
850
|
isXAxis: !0,
|
|
851
851
|
chartType: a,
|
|
852
852
|
valueFormat: i
|
|
853
|
-
}), n =
|
|
853
|
+
}), n = ui(i) && e instanceof Ne, s = xt(i) && e instanceof ve && !(e instanceof Ne), r = o && e instanceof nt;
|
|
854
854
|
return !n && !s && !r;
|
|
855
855
|
}
|
|
856
856
|
function Ld(t, e) {
|
|
@@ -871,7 +871,7 @@ function Fd(t) {
|
|
|
871
871
|
const n = Je(e.uid, "categoryFormatter"), s = Je(e.uid, "numberFormatter");
|
|
872
872
|
if ((s !== void 0 || n !== void 0) && a instanceof ka && a.dataContext) {
|
|
873
873
|
const r = O(e.chart.uid, "config"), l = j(r?.series), c = O(e.chart.uid, "rendererFieldNames");
|
|
874
|
-
let d =
|
|
874
|
+
let d = ai({
|
|
875
875
|
value: pn(l, r?.series?.[0]),
|
|
876
876
|
dataContext: a.dataContext,
|
|
877
877
|
useRendererLabel: Ia(r, c),
|
|
@@ -890,7 +890,7 @@ function Fd(t) {
|
|
|
890
890
|
const g = O(e.chart.uid, "fieldList");
|
|
891
891
|
d = Be(g, d);
|
|
892
892
|
}
|
|
893
|
-
let f =
|
|
893
|
+
let f = oi(a.dataContext);
|
|
894
894
|
f === void 0 && (f = d), o = n(d, f);
|
|
895
895
|
}
|
|
896
896
|
}
|
|
@@ -973,7 +973,7 @@ function sp(t) {
|
|
|
973
973
|
e.renderer.labels.template.html = F.htmlEmptyContent, e.renderer.labels.template.adapter.enableKey("htmlOutput");
|
|
974
974
|
}
|
|
975
975
|
function rp(t, e, i, a) {
|
|
976
|
-
const o =
|
|
976
|
+
const o = li({
|
|
977
977
|
type: y.NumberAxisFormat,
|
|
978
978
|
iLocale: e,
|
|
979
979
|
formatLocale: i
|
|
@@ -1040,7 +1040,7 @@ function dp(t) {
|
|
|
1040
1040
|
formatOptions: a,
|
|
1041
1041
|
overridePercentMultiplication: n,
|
|
1042
1042
|
valueAxisFormatter: r
|
|
1043
|
-
}) : e instanceof Ne &&
|
|
1043
|
+
}) : e instanceof Ne && ui(a) ? sp({
|
|
1044
1044
|
axis: e,
|
|
1045
1045
|
formatOptions: a,
|
|
1046
1046
|
dateAxisFormatter: r,
|
|
@@ -1120,14 +1120,14 @@ function fp(t, e) {
|
|
|
1120
1120
|
ta({ element: t.cursor.lineX, lineSymbol: a }), ta({ element: t.cursor.lineY, lineSymbol: a });
|
|
1121
1121
|
}
|
|
1122
1122
|
function kd(t) {
|
|
1123
|
-
if (!(t instanceof Ft) && !(t instanceof
|
|
1123
|
+
if (!(t instanceof Ft) && !(t instanceof $e)) {
|
|
1124
1124
|
t.cursor = new gc();
|
|
1125
1125
|
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);
|
|
1126
1126
|
t.cursor.hideSeriesTooltipsOnSelection = !e;
|
|
1127
1127
|
}
|
|
1128
1128
|
}
|
|
1129
1129
|
function Id(t, e) {
|
|
1130
|
-
if (!(t instanceof Ft) && !(t instanceof
|
|
1130
|
+
if (!(t instanceof Ft) && !(t instanceof $e)) {
|
|
1131
1131
|
const i = t, a = i.cursor ?? new gc();
|
|
1132
1132
|
e?.style !== void 0 && fp(i, e.style);
|
|
1133
1133
|
const o = F.cursorCrosshair;
|
|
@@ -1144,7 +1144,7 @@ function us(t, e) {
|
|
|
1144
1144
|
});
|
|
1145
1145
|
}
|
|
1146
1146
|
function gp(t) {
|
|
1147
|
-
const { chart: e, chartType: i, showMean: a, enabled: o } = t, n = o ?
|
|
1147
|
+
const { chart: e, chartType: i, showMean: a, enabled: o } = t, n = o ? qt.pointer : qt.default;
|
|
1148
1148
|
switch (i) {
|
|
1149
1149
|
case y.ComboLineAndBarSeries:
|
|
1150
1150
|
// CT: for combo, we won't have a line with value x-axis
|
|
@@ -1159,11 +1159,11 @@ function gp(t) {
|
|
|
1159
1159
|
let r = n;
|
|
1160
1160
|
if (s instanceof Ce) {
|
|
1161
1161
|
const l = Me(s);
|
|
1162
|
-
l !== void 0 && (a && ct(s.uid, "isBoxPlotOutliersSeries") && (r =
|
|
1162
|
+
l !== void 0 && (a && ct(s.uid, "isBoxPlotOutliersSeries") && (r = qt.default), l.cursorOverStyle = r, l.clones.each((c) => {
|
|
1163
1163
|
c.cursorOverStyle = r;
|
|
1164
1164
|
}));
|
|
1165
1165
|
} else
|
|
1166
|
-
s.cursorOverStyle = a ?
|
|
1166
|
+
s.cursorOverStyle = a ? qt.default : n;
|
|
1167
1167
|
});
|
|
1168
1168
|
break;
|
|
1169
1169
|
case y.LineSeries:
|
|
@@ -1179,7 +1179,7 @@ function gp(t) {
|
|
|
1179
1179
|
}
|
|
1180
1180
|
}
|
|
1181
1181
|
function hp(t) {
|
|
1182
|
-
const { chart: e, actionMode: i, cursorRange: a } = t, o = O(e.uid, "isRotated"), n = O(e.uid, "config"), s = bt(n), r = H(n?.series), l = r === y.LineSeries && xt(n?.axes?.[0]?.valueFormat), c = r === y.LineSeries && Co(n?.axes?.[0]?.valueFormat), d = r === y.LineSeries &&
|
|
1182
|
+
const { chart: e, actionMode: i, cursorRange: a } = t, o = O(e.uid, "isRotated"), n = O(e.uid, "config"), s = bt(n), r = H(n?.series), l = r === y.LineSeries && xt(n?.axes?.[0]?.valueFormat), c = r === y.LineSeries && Co(n?.axes?.[0]?.valueFormat), d = r === y.LineSeries && ui(n?.axes?.[0]?.valueFormat);
|
|
1183
1183
|
let u, f = !1;
|
|
1184
1184
|
const g = i ?? O(e.uid, "actionMode") ?? F.actionMode;
|
|
1185
1185
|
if (O(e.uid, "filterBySelection") === !0)
|
|
@@ -1407,16 +1407,16 @@ function dr(t) {
|
|
|
1407
1407
|
n = a[e]?.toString() === i[e]?.toString();
|
|
1408
1408
|
else {
|
|
1409
1409
|
let s = i[X.originalCategoryValue];
|
|
1410
|
-
s === void 0 && (s = i[o]), s === void 0 && (s = i[
|
|
1410
|
+
s === void 0 && (s = i[o]), s === void 0 && (s = i[ii]);
|
|
1411
1411
|
let r = a[X.originalCategoryValue];
|
|
1412
|
-
r === void 0 && (r = a[o]), r === void 0 && (r = a[
|
|
1412
|
+
r === void 0 && (r = a[o]), r === void 0 && (r = a[ii]), n = s !== void 0 && r !== void 0 && s === r;
|
|
1413
1413
|
}
|
|
1414
1414
|
return n;
|
|
1415
1415
|
}
|
|
1416
1416
|
function Ro(t) {
|
|
1417
1417
|
const { dataContext: e, specificField: i, xOrY: a } = t;
|
|
1418
1418
|
let o = e[a === "x" ? X.originalCategoryValue : X.originalYCategoryValue];
|
|
1419
|
-
return o === void 0 && i && (o = e[i]), o === void 0 && (o = e[a === "x" ?
|
|
1419
|
+
return o === void 0 && i && (o = e[i]), o === void 0 && (o = e[a === "x" ? we.xField : we.yField]), o;
|
|
1420
1420
|
}
|
|
1421
1421
|
function vn(t) {
|
|
1422
1422
|
const {
|
|
@@ -1560,12 +1560,12 @@ function Si(t) {
|
|
|
1560
1560
|
r !== y.PieSeries && (e || l !== V.BarAndLineNoAggregation && l !== V.BarAndLineSplitByNoAggregation) && o.forEach((f) => {
|
|
1561
1561
|
f !== a && delete d[f];
|
|
1562
1562
|
});
|
|
1563
|
-
const u =
|
|
1563
|
+
const u = ai({
|
|
1564
1564
|
value: i[n],
|
|
1565
1565
|
dataContext: i,
|
|
1566
1566
|
keepNullValues: !0
|
|
1567
1567
|
});
|
|
1568
|
-
d[n] = u, !ue(s) && !Fm(s) && (d[
|
|
1568
|
+
d[n] = u, !ue(s) && !Fm(s) && (d[Qt(s)] = ca({ where: s, escape: !1 }));
|
|
1569
1569
|
} else if (r === y.BoxPlotSeries) {
|
|
1570
1570
|
d = { [n]: i[n] }, [
|
|
1571
1571
|
wa.uniqueIdsName,
|
|
@@ -1610,7 +1610,7 @@ function Bd(t, e = 512) {
|
|
|
1610
1610
|
function go(t) {
|
|
1611
1611
|
const { value: e, valueFormat: i, iLocale: a, formatLocale: o } = t;
|
|
1612
1612
|
let n = e?.toString();
|
|
1613
|
-
const s =
|
|
1613
|
+
const s = li({
|
|
1614
1614
|
type: i.type,
|
|
1615
1615
|
iLocale: a,
|
|
1616
1616
|
formatLocale: o
|
|
@@ -1637,7 +1637,7 @@ function Tp(t) {
|
|
|
1637
1637
|
}
|
|
1638
1638
|
), t instanceof Ft && t.radarContainer.children.each((e) => {
|
|
1639
1639
|
Bt(e.uid);
|
|
1640
|
-
}), t instanceof
|
|
1640
|
+
}), t instanceof $e && t.series.getIndex(0)?.slices.each((e) => {
|
|
1641
1641
|
Bt(e.uid);
|
|
1642
1642
|
}), "cursor" in t && t.cursor instanceof dm && Bt(t.cursor?.uid), "legend" in t && t.legend !== void 0 && (Bt(t.legend.uid), Bt(t.legend.valueLabels?.template?.uid)), Bt(t.uid);
|
|
1643
1643
|
}
|
|
@@ -1654,7 +1654,7 @@ async function kp(t) {
|
|
|
1654
1654
|
function Ln(t, e) {
|
|
1655
1655
|
e !== void 0 && (e.marginBottom !== void 0 && (t.marginBottom = e.marginBottom), e.marginTop !== void 0 && (t.marginTop = e.marginTop), e.marginRight !== void 0 && (t.marginRight = e.marginRight), e.marginLeft !== void 0 && (t.marginLeft = e.marginLeft), e.verticalCenter !== void 0 && (t.verticalCenter = bd(e.verticalCenter)), e.horizontalCenter !== void 0 && (t.horizontalCenter = sr(e.horizontalCenter)), e.strokeWidth !== void 0 && (t.strokeWidth = e.strokeWidth), e.wrap !== void 0 && (t.wrap = e.wrap), e.truncate !== void 0 && (t.truncate = e.truncate), e.maxWidth !== void 0 && (t.maxWidth = e.maxWidth), e.applyOnClones !== void 0 && (t.applyOnClones = e.applyOnClones, t.background.applyOnClones = e.applyOnClones));
|
|
1656
1656
|
}
|
|
1657
|
-
function
|
|
1657
|
+
function ci(t, e) {
|
|
1658
1658
|
const i = e?.createChild(zo) ?? new zo();
|
|
1659
1659
|
return Ln(i, t), i;
|
|
1660
1660
|
}
|
|
@@ -1788,7 +1788,7 @@ function Ed(t) {
|
|
|
1788
1788
|
let u = d;
|
|
1789
1789
|
const f = n?.content ?? { type: J.TS };
|
|
1790
1790
|
if (d === void 0 && c !== void 0 && s?.type === y.NumberAxisFormat) {
|
|
1791
|
-
const h = O(e.chart.uid, "formatLocale"), p =
|
|
1791
|
+
const h = O(e.chart.uid, "formatLocale"), p = li({
|
|
1792
1792
|
type: s.type,
|
|
1793
1793
|
iLocale: e.chart.language.locale,
|
|
1794
1794
|
formatLocale: h
|
|
@@ -2072,7 +2072,7 @@ function zt(t) {
|
|
|
2072
2072
|
}
|
|
2073
2073
|
function Tn(t, e) {
|
|
2074
2074
|
let i = !1;
|
|
2075
|
-
if (e instanceof ce || e instanceof
|
|
2075
|
+
if (e instanceof ce || e instanceof $e) {
|
|
2076
2076
|
const a = O(e.uid, "actionMode");
|
|
2077
2077
|
a !== void 0 && (i = a === Z.MultiSelection || a === Z.MultiSelectionWithCtrlKey && (t?.event?.ctrlKey || t?.event?.metaKey));
|
|
2078
2078
|
}
|
|
@@ -2195,7 +2195,7 @@ function zp(t) {
|
|
|
2195
2195
|
const { chart: e, selectionSource: i, chartConfig: a } = t;
|
|
2196
2196
|
let o = !1, n = [];
|
|
2197
2197
|
if (Pi(a)) {
|
|
2198
|
-
if (o = bt(a), n = e.series.values.filter((s) => !(s instanceof kt)), i ===
|
|
2198
|
+
if (o = bt(a), n = e.series.values.filter((s) => !(s instanceof kt)), i === De.SelectionByClick) {
|
|
2199
2199
|
const s = /* @__PURE__ */ new Set(), r = n.find(
|
|
2200
2200
|
(l) => l instanceof Ge && l.isHover
|
|
2201
2201
|
);
|
|
@@ -2235,7 +2235,7 @@ async function Xd(t) {
|
|
|
2235
2235
|
const I = T.isActive, w = T === n || Ep(T, i);
|
|
2236
2236
|
w && (f = !1);
|
|
2237
2237
|
let $ = !1;
|
|
2238
|
-
I ? w ? $ = o !==
|
|
2238
|
+
I ? w ? $ = o !== De.SelectionByClick : $ = a === !0 : $ = w, $ && d.push({
|
|
2239
2239
|
...L,
|
|
2240
2240
|
element: T,
|
|
2241
2241
|
elementDataContext: T.dataItem?.dataContext,
|
|
@@ -2267,7 +2267,7 @@ function Hp(t) {
|
|
|
2267
2267
|
chart: e,
|
|
2268
2268
|
cursorSelectionRectangle: r,
|
|
2269
2269
|
multiSelect: l,
|
|
2270
|
-
selectionSource:
|
|
2270
|
+
selectionSource: De.SelectionByRange,
|
|
2271
2271
|
queryObject: i,
|
|
2272
2272
|
errorStrings: a
|
|
2273
2273
|
});
|
|
@@ -2297,7 +2297,7 @@ async function Qo(t) {
|
|
|
2297
2297
|
chart: i,
|
|
2298
2298
|
cursorSelectionRectangle: r,
|
|
2299
2299
|
multiSelect: l,
|
|
2300
|
-
selectionSource:
|
|
2300
|
+
selectionSource: De.SelectionByClick,
|
|
2301
2301
|
hitElement: n,
|
|
2302
2302
|
queryObject: a,
|
|
2303
2303
|
errorStrings: o
|
|
@@ -2341,22 +2341,22 @@ async function Xp(t) {
|
|
|
2341
2341
|
await Ao({
|
|
2342
2342
|
chart: e,
|
|
2343
2343
|
listSelectedElements: r,
|
|
2344
|
-
selectionSource:
|
|
2344
|
+
selectionSource: De.ProgrammaticSelection,
|
|
2345
2345
|
queryObject: i,
|
|
2346
2346
|
errorStrings: a
|
|
2347
|
-
}), e instanceof
|
|
2347
|
+
}), e instanceof $e && e.feedLegend();
|
|
2348
2348
|
}
|
|
2349
2349
|
}
|
|
2350
2350
|
function Jn(t) {
|
|
2351
2351
|
if ($t(t))
|
|
2352
|
-
if (t.events.disableType(P.Hit), t.events.disableType(P.DoubleHit), t instanceof
|
|
2352
|
+
if (t.events.disableType(P.Hit), t.events.disableType(P.DoubleHit), t instanceof $e) {
|
|
2353
2353
|
const e = t.series.getIndex(0);
|
|
2354
2354
|
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));
|
|
2355
2355
|
} else t instanceof ce && (t.xAxes.each((e) => Jo(e, !0)), t.yAxes.each((e) => Jo(e, !0)), t.events.disableType(P.Up));
|
|
2356
2356
|
}
|
|
2357
2357
|
function Yp(t) {
|
|
2358
2358
|
if ($t(t))
|
|
2359
|
-
if (t.events.enableType(P.Hit), t.events.enableType(P.DoubleHit), t instanceof
|
|
2359
|
+
if (t.events.enableType(P.Hit), t.events.enableType(P.DoubleHit), t instanceof $e) {
|
|
2360
2360
|
const e = t.series.getIndex(0);
|
|
2361
2361
|
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));
|
|
2362
2362
|
} else t instanceof ce && (t.xAxes.each((e) => Jo(e, !1)), t.yAxes.each((e) => Jo(e, !1)), t.events.enableType(P.Up));
|
|
@@ -2491,13 +2491,13 @@ function jd(t, e) {
|
|
|
2491
2491
|
if (d !== void 0) {
|
|
2492
2492
|
const u = It({ config: s }), f = u ? c.valueX : c.valueY, g = (u ? c.values.valueX.totalPercent : c.values.valueY.totalPercent) / 100, h = c.dataContext ?? {};
|
|
2493
2493
|
if (h !== void 0) {
|
|
2494
|
-
const p = O(n.uid, "rendererFieldNames"), b =
|
|
2494
|
+
const p = O(n.uid, "rendererFieldNames"), b = ai({
|
|
2495
2495
|
value: pn(j([d]), d),
|
|
2496
2496
|
dataContext: h,
|
|
2497
2497
|
useRendererLabel: Ia(s, p),
|
|
2498
2498
|
config: s
|
|
2499
2499
|
});
|
|
2500
|
-
let S =
|
|
2500
|
+
let S = oi(h);
|
|
2501
2501
|
S === void 0 && (S = b);
|
|
2502
2502
|
const C = h[F.dateBinningRange];
|
|
2503
2503
|
o = l({
|
|
@@ -2596,7 +2596,7 @@ function qp(t) {
|
|
|
2596
2596
|
fn({ chartConfig: r, queryObject: c, options: l }) && (u.timeZone = d ?? a.intlOptions.timeZone);
|
|
2597
2597
|
const f = new Date(i[0]), g = new Date(i[1]);
|
|
2598
2598
|
if (!Number.isNaN(f.valueOf())) {
|
|
2599
|
-
const h = O(e.chart.uid, "formatLocale"), p =
|
|
2599
|
+
const h = O(e.chart.uid, "formatLocale"), p = li({
|
|
2600
2600
|
type: y.DateAxisFormat,
|
|
2601
2601
|
iLocale: e.chart.language.locale,
|
|
2602
2602
|
formatLocale: h
|
|
@@ -2633,7 +2633,7 @@ function qd(t) {
|
|
|
2633
2633
|
series: s,
|
|
2634
2634
|
dateRange: l,
|
|
2635
2635
|
xAxisValueFormat: i
|
|
2636
|
-
}) :
|
|
2636
|
+
}) : ui(i) ? c && typeof r == "number" ? u = new Date(r).toLocaleTimeString(f) : (r instanceof Date || typeof r == "number" && Number.isFinite(r)) && (u = go({
|
|
2637
2637
|
value: r,
|
|
2638
2638
|
valueFormat: n ?? i,
|
|
2639
2639
|
iLocale: s.chart.language.locale,
|
|
@@ -2704,7 +2704,7 @@ function Zp(t) {
|
|
|
2704
2704
|
case V.BarAndLineSplitByNoAggregation:
|
|
2705
2705
|
case V.BarAndLineSplitBy:
|
|
2706
2706
|
{
|
|
2707
|
-
const ee =
|
|
2707
|
+
const ee = Qt(s.query?.where, !1), de = qc({
|
|
2708
2708
|
value: Be(i, ee),
|
|
2709
2709
|
escape: !0
|
|
2710
2710
|
});
|
|
@@ -2766,13 +2766,13 @@ function Kp(t) {
|
|
|
2766
2766
|
if (c !== void 0) {
|
|
2767
2767
|
const d = l?.dataContext ?? {};
|
|
2768
2768
|
if (d !== void 0) {
|
|
2769
|
-
const u =
|
|
2769
|
+
const u = ai({
|
|
2770
2770
|
value: d[c.x],
|
|
2771
2771
|
dataContext: d,
|
|
2772
2772
|
useRendererLabel: Yi(a),
|
|
2773
2773
|
specificField: X.xAxisField
|
|
2774
2774
|
});
|
|
2775
|
-
let f =
|
|
2775
|
+
let f = oi(d);
|
|
2776
2776
|
f === void 0 && (f = u), r = s({
|
|
2777
2777
|
seriesName: n.name,
|
|
2778
2778
|
xValue: u,
|
|
@@ -2796,13 +2796,13 @@ function Qp(t) {
|
|
|
2796
2796
|
if (l !== void 0) {
|
|
2797
2797
|
const c = r.dataContext ?? {};
|
|
2798
2798
|
if (c !== void 0) {
|
|
2799
|
-
const d =
|
|
2799
|
+
const d = ai({
|
|
2800
2800
|
value: c[l.x],
|
|
2801
2801
|
dataContext: c,
|
|
2802
2802
|
useRendererLabel: Yi(a),
|
|
2803
2803
|
specificField: X.xAxisField
|
|
2804
2804
|
});
|
|
2805
|
-
let u =
|
|
2805
|
+
let u = oi(c);
|
|
2806
2806
|
u === void 0 && (u = d), s = n({
|
|
2807
2807
|
seriesName: o.name,
|
|
2808
2808
|
xValue: d,
|
|
@@ -2827,13 +2827,13 @@ function Jp(t) {
|
|
|
2827
2827
|
if (l !== void 0) {
|
|
2828
2828
|
const c = r.dataContext ?? {};
|
|
2829
2829
|
if (c !== void 0) {
|
|
2830
|
-
const d =
|
|
2830
|
+
const d = ai({
|
|
2831
2831
|
value: c[l.x],
|
|
2832
2832
|
dataContext: c,
|
|
2833
2833
|
useRendererLabel: Yi(a),
|
|
2834
2834
|
specificField: X.xAxisField
|
|
2835
2835
|
});
|
|
2836
|
-
let u =
|
|
2836
|
+
let u = oi(c);
|
|
2837
2837
|
u === void 0 && (u = d), s = n({
|
|
2838
2838
|
seriesName: o.name,
|
|
2839
2839
|
xValue: d,
|
|
@@ -2940,7 +2940,7 @@ function ob(t) {
|
|
|
2940
2940
|
if (l !== void 0) {
|
|
2941
2941
|
const c = O(l.uid, "config");
|
|
2942
2942
|
if (c !== void 0) {
|
|
2943
|
-
const d = c.axes, u = d?.[0].valueFormat, { showMean: f } = c, g = j(c.series), h =
|
|
2943
|
+
const d = c.axes, u = d?.[0].valueFormat, { showMean: f } = c, g = j(c.series), h = Qt(a.query?.where), p = Be(i, h), b = ca({
|
|
2944
2944
|
where: a.query?.where,
|
|
2945
2945
|
escape: !1
|
|
2946
2946
|
}), S = Be(i, a.x);
|
|
@@ -3040,7 +3040,7 @@ function nb(t) {
|
|
|
3040
3040
|
}), kn(e, i);
|
|
3041
3041
|
}
|
|
3042
3042
|
function sb(t) {
|
|
3043
|
-
const e =
|
|
3043
|
+
const e = ci(F.dataLabelInitialize);
|
|
3044
3044
|
return Ei(e.uid, { isDataLabel: !0 }), t.bullets.push(e), Vd(e), Md(y.LineSeries, e), Nd(y.LineSeries, e), gs(e, t), e.html = "{valueX}", e;
|
|
3045
3045
|
}
|
|
3046
3046
|
function rb(t) {
|
|
@@ -3310,11 +3310,11 @@ function pr(t) {
|
|
|
3310
3310
|
valueSuffix: l,
|
|
3311
3311
|
percentagePrefix: c,
|
|
3312
3312
|
percentageSuffix: d
|
|
3313
|
-
} = t, u = O(i.uid, "formatLocale"), f =
|
|
3313
|
+
} = t, u = O(i.uid, "formatLocale"), f = li({
|
|
3314
3314
|
type: y.NumberAxisFormat,
|
|
3315
3315
|
iLocale: e,
|
|
3316
3316
|
formatLocale: u
|
|
3317
|
-
}), g =
|
|
3317
|
+
}), g = li({
|
|
3318
3318
|
type: y.NumberAxisFormat,
|
|
3319
3319
|
iLocale: e,
|
|
3320
3320
|
formatLocale: u
|
|
@@ -3492,7 +3492,7 @@ function Sb(t, e) {
|
|
|
3492
3492
|
t.marginTop = i.marginTop ?? 0, t.marginBottom = 0, t.dy = 0;
|
|
3493
3493
|
else if (t.position === G.Top)
|
|
3494
3494
|
t.marginBottom = i.marginBottom ?? 0, t.marginTop = 0, t.dy = 0;
|
|
3495
|
-
else if (t.marginTop = 0, t.marginBottom = 0, !(t.baseSprite instanceof
|
|
3495
|
+
else if (t.marginTop = 0, t.marginBottom = 0, !(t.baseSprite instanceof $e)) {
|
|
3496
3496
|
const a = tu(e), o = e.title?.content?.font?.size ?? F.generalFontSize;
|
|
3497
3497
|
t.dy = -(a ? o : 15);
|
|
3498
3498
|
}
|
|
@@ -3621,7 +3621,7 @@ function Tb(t) {
|
|
|
3621
3621
|
t.scrollable = !0;
|
|
3622
3622
|
}
|
|
3623
3623
|
function kb(t) {
|
|
3624
|
-
const e =
|
|
3624
|
+
const e = ci(void 0, t);
|
|
3625
3625
|
return e.adapter.add("paddingTop", (i) => {
|
|
3626
3626
|
let a = i;
|
|
3627
3627
|
const o = e.bbox.height;
|
|
@@ -3656,9 +3656,9 @@ function Ib(t) {
|
|
|
3656
3656
|
}
|
|
3657
3657
|
function Db(t) {
|
|
3658
3658
|
const e = F.legendProperties;
|
|
3659
|
-
t.labels.template =
|
|
3659
|
+
t.labels.template = ci(e.legendLabels), t.valueLabels.template = ci(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) => {
|
|
3660
3660
|
let a = i, o;
|
|
3661
|
-
if (t.baseSprite instanceof
|
|
3661
|
+
if (t.baseSprite instanceof $e && (o = O(t.baseSprite.uid, "config")?.legend?.labelMaxWidth), t.position === G.Right || t.position === G.Left)
|
|
3662
3662
|
a = o ?? F.legendProperties.legendLabels.maxWidth;
|
|
3663
3663
|
else if (o !== void 0)
|
|
3664
3664
|
a = o;
|
|
@@ -3676,18 +3676,18 @@ function Db(t) {
|
|
|
3676
3676
|
if (s !== void 0) {
|
|
3677
3677
|
const { series: l } = s;
|
|
3678
3678
|
if (H(l) === y.PieSeries) {
|
|
3679
|
-
const d = j(l) === V.PieFromFields ?
|
|
3679
|
+
const d = j(l) === V.PieFromFields ? ii : l[0].x, u = a.dataItem?.dataContext?.[d];
|
|
3680
3680
|
typeof u == "string" ? n = u : u && typeof u != "object" && (n = u.toString());
|
|
3681
3681
|
} else a.dataItem?.component instanceof pc && (n = a.dataItem.component.name);
|
|
3682
3682
|
}
|
|
3683
3683
|
return (n !== void 0 && !ue(n) ? zs(n) : n) ?? o;
|
|
3684
3684
|
}), t.valueLabels.template.adapter.add("maxWidth", (i) => {
|
|
3685
3685
|
let a = i, o;
|
|
3686
|
-
return t.baseSprite instanceof
|
|
3686
|
+
return t.baseSprite instanceof $e && (o = O(t.baseSprite.uid, "config")?.legend?.valueLabelMaxWidth), t.position === G.Right || t.position === G.Left ? a = o ?? F.legendProperties.valueLabels.maxWidth : a = o ?? Number.NaN, a;
|
|
3687
3687
|
});
|
|
3688
3688
|
}
|
|
3689
3689
|
function wb(t, e) {
|
|
3690
|
-
t.itemContainers.template.events.on(P.Hit, (i) => Fb(i, e)), e instanceof
|
|
3690
|
+
t.itemContainers.template.events.on(P.Hit, (i) => Fb(i, e)), e instanceof $e && t.itemContainers.template.events.on(P.Over, (i) => bb(i));
|
|
3691
3691
|
}
|
|
3692
3692
|
function Ob(t) {
|
|
3693
3693
|
t.itemContainers.template.reverseOrder = t.rtl;
|
|
@@ -3741,7 +3741,7 @@ function Bb(t, e) {
|
|
|
3741
3741
|
P.SizeChanged,
|
|
3742
3742
|
rt(() => {
|
|
3743
3743
|
let a = O(e.uid, "config")?.legend?.maxHeight ?? Number.NaN;
|
|
3744
|
-
Number.isFinite(a) || (t.position === G.Top || t.position === G.Bottom ? a = F.legendProperties.maxHeight : a = e instanceof
|
|
3744
|
+
Number.isFinite(a) || (t.position === G.Top || t.position === G.Bottom ? a = F.legendProperties.maxHeight : a = e instanceof $e ? e.chartContainer.measuredHeight : e.seriesContainer.measuredHeight), t.maxHeight = a, t.invalidateLayout();
|
|
3745
3745
|
}),
|
|
3746
3746
|
F.debounceTime
|
|
3747
3747
|
);
|
|
@@ -3760,8 +3760,8 @@ function Pb(t, e) {
|
|
|
3760
3760
|
e === G.Right || e === G.Left ? t.width = Number.NaN : t.maxWidth = Number.MAX_SAFE_INTEGER;
|
|
3761
3761
|
}
|
|
3762
3762
|
function au(t, e) {
|
|
3763
|
-
let i =
|
|
3764
|
-
e === !0 ? (t.itemContainers.template.clickable = !1, t.itemContainers.template.focusable = !1, i =
|
|
3763
|
+
let i = qt.pointer;
|
|
3764
|
+
e === !0 ? (t.itemContainers.template.clickable = !1, t.itemContainers.template.focusable = !1, i = qt.default) : (t.itemContainers.template.clickable = !0, t.itemContainers.template.focusable = !0), t.itemContainers.values.forEach((a) => {
|
|
3765
3765
|
a.cursorOverStyle = i;
|
|
3766
3766
|
});
|
|
3767
3767
|
}
|
|
@@ -3952,7 +3952,7 @@ function Xb(t) {
|
|
|
3952
3952
|
const C = i.dataFields?.customValue ?? "";
|
|
3953
3953
|
(b === V.BarAndLineSplitBy || b === V.BarAndLineSplitByNoAggregation) && (S = Gs({
|
|
3954
3954
|
queryObject: l,
|
|
3955
|
-
fieldName:
|
|
3955
|
+
fieldName: Qt(C),
|
|
3956
3956
|
fieldValue: S
|
|
3957
3957
|
}) ?? S), Ga(i, S), fr({ series: i, seriesConfig: e, rotationChanged: o, stackedType: r, isRotated: p }), Gb(i, e), An({
|
|
3958
3958
|
// TODO: Remove the type assertion and correct the typings
|
|
@@ -4575,9 +4575,9 @@ function Ya(t) {
|
|
|
4575
4575
|
computedSelectionDataItems: void 0,
|
|
4576
4576
|
computedSelectionIndexes: void 0,
|
|
4577
4577
|
pendingSelectionQueries: !1
|
|
4578
|
-
}), $t(e) && (e instanceof ce ? ly(e, a ?? !0) : e instanceof
|
|
4578
|
+
}), $t(e) && (e instanceof ce ? ly(e, a ?? !0) : e instanceof $e && ry(e)), n && za({
|
|
4579
4579
|
data: {
|
|
4580
|
-
selectionSource: i ??
|
|
4580
|
+
selectionSource: i ?? De.ClearSelection
|
|
4581
4581
|
},
|
|
4582
4582
|
htmlContainer: e.htmlContainer
|
|
4583
4583
|
});
|
|
@@ -4599,7 +4599,7 @@ function ru(t, e) {
|
|
|
4599
4599
|
if ((i === Z.MonoSelection || i === Z.None) && e.length > 1)
|
|
4600
4600
|
Ya({ chart: t });
|
|
4601
4601
|
else {
|
|
4602
|
-
const o = t instanceof
|
|
4602
|
+
const o = t instanceof $e;
|
|
4603
4603
|
e.forEach((n) => {
|
|
4604
4604
|
zt({
|
|
4605
4605
|
element: n,
|
|
@@ -4680,7 +4680,7 @@ function fy(t) {
|
|
|
4680
4680
|
else
|
|
4681
4681
|
zt({
|
|
4682
4682
|
element: x,
|
|
4683
|
-
useNativeState: e instanceof
|
|
4683
|
+
useNativeState: e instanceof $e,
|
|
4684
4684
|
selected: !1
|
|
4685
4685
|
});
|
|
4686
4686
|
}
|
|
@@ -4712,7 +4712,7 @@ function my(t) {
|
|
|
4712
4712
|
} else
|
|
4713
4713
|
zt({
|
|
4714
4714
|
element: x,
|
|
4715
|
-
useNativeState: e instanceof
|
|
4715
|
+
useNativeState: e instanceof $e,
|
|
4716
4716
|
selected: !1
|
|
4717
4717
|
});
|
|
4718
4718
|
});
|
|
@@ -4824,7 +4824,7 @@ function hy(t) {
|
|
|
4824
4824
|
if (W.push(...E), S.series.length > 1 && k !== V.BarAndLineNoAggregation && k !== V.BarAndLineSplitByNoAggregation && (W = mn({
|
|
4825
4825
|
data: W,
|
|
4826
4826
|
x: S.series[0].x,
|
|
4827
|
-
splitByField:
|
|
4827
|
+
splitByField: Qt(S.series[0].query?.where)
|
|
4828
4828
|
})), ie(b.uid, { computedSelectionDataItems: W }), g === !0) {
|
|
4829
4829
|
const U = Array.from(new Set(z));
|
|
4830
4830
|
let Y = O(
|
|
@@ -4868,7 +4868,7 @@ function hy(t) {
|
|
|
4868
4868
|
zt({
|
|
4869
4869
|
element: U,
|
|
4870
4870
|
selected: Y,
|
|
4871
|
-
useNativeState: b instanceof
|
|
4871
|
+
useNativeState: b instanceof $e,
|
|
4872
4872
|
backToDefaultState: z
|
|
4873
4873
|
});
|
|
4874
4874
|
});
|
|
@@ -4889,12 +4889,12 @@ function hy(t) {
|
|
|
4889
4889
|
})), z === void 0 || z.length === 0)
|
|
4890
4890
|
Ya({
|
|
4891
4891
|
chart: b,
|
|
4892
|
-
selectionSource:
|
|
4892
|
+
selectionSource: De.ProgrammaticSelection
|
|
4893
4893
|
});
|
|
4894
4894
|
else {
|
|
4895
4895
|
const W = {
|
|
4896
4896
|
selectionItems: z,
|
|
4897
|
-
selectionSource:
|
|
4897
|
+
selectionSource: De.ProgrammaticSelection
|
|
4898
4898
|
};
|
|
4899
4899
|
g === !0 && (W.selectionIndexes = E), h !== !1 && (W.selectionOIDs = f?.selectionOIDs ?? O(b.uid, "currentSelectionOIDs")), C && (W.selectionPixelTarget = Ys({
|
|
4900
4900
|
chartConfig: S,
|
|
@@ -5010,7 +5010,7 @@ async function Ao(t) {
|
|
|
5010
5010
|
r.series.length > 1 && b !== V.BarAndLineNoAggregation && b !== V.BarAndLineSplitByNoAggregation && (u = mn({
|
|
5011
5011
|
data: u,
|
|
5012
5012
|
x: r.series[0].x,
|
|
5013
|
-
splitByField:
|
|
5013
|
+
splitByField: Qt(r.series[0].query?.where)
|
|
5014
5014
|
})), ie(e.uid, {
|
|
5015
5015
|
currentSelectionDataItems: u,
|
|
5016
5016
|
currentSelectionOIDs: f,
|
|
@@ -5085,7 +5085,7 @@ async function yy(t, e, i) {
|
|
|
5085
5085
|
}), await Ao({
|
|
5086
5086
|
chart: n,
|
|
5087
5087
|
listSelectedElements: d,
|
|
5088
|
-
selectionSource:
|
|
5088
|
+
selectionSource: De.SelectionByClick,
|
|
5089
5089
|
queryObject: e,
|
|
5090
5090
|
errorStrings: i
|
|
5091
5091
|
});
|
|
@@ -5097,17 +5097,17 @@ function Sy(t) {
|
|
|
5097
5097
|
e.renderer.labels.template.events.on(P.Hit, async (s) => {
|
|
5098
5098
|
e.renderer.labels.template.events.isEnabled(P.Hit) && await yy(s, i, a);
|
|
5099
5099
|
});
|
|
5100
|
-
const n = O(e.chart.uid, "filterBySelection") === !0 ?
|
|
5100
|
+
const n = O(e.chart.uid, "filterBySelection") === !0 ? qt.default : qt.pointer;
|
|
5101
5101
|
us(e, n);
|
|
5102
5102
|
}
|
|
5103
5103
|
}
|
|
5104
5104
|
function Jo(t, e) {
|
|
5105
5105
|
if ($t(t?.renderer?.labels?.template) && (t instanceof nt || t instanceof Ne))
|
|
5106
5106
|
if (e)
|
|
5107
|
-
t.renderer.labels.template.events.disableType(P.Hit), us(t,
|
|
5107
|
+
t.renderer.labels.template.events.disableType(P.Hit), us(t, qt.default);
|
|
5108
5108
|
else {
|
|
5109
5109
|
t.renderer.labels.template.events.enableType(P.Hit);
|
|
5110
|
-
const a = O(t.chart.uid, "filterBySelection") === !0 ?
|
|
5110
|
+
const a = O(t.chart.uid, "filterBySelection") === !0 ? qt.default : qt.pointer;
|
|
5111
5111
|
us(t, a);
|
|
5112
5112
|
}
|
|
5113
5113
|
}
|
|
@@ -5212,7 +5212,7 @@ function Fy(t, e) {
|
|
|
5212
5212
|
let L = new Cc(), A;
|
|
5213
5213
|
if (r !== void 0) {
|
|
5214
5214
|
const T = O(t.chart.uid, "formatLocale");
|
|
5215
|
-
L =
|
|
5215
|
+
L = li({
|
|
5216
5216
|
type: y.DateAxisFormat,
|
|
5217
5217
|
iLocale: r.language.locale,
|
|
5218
5218
|
formatLocale: T
|
|
@@ -5672,9 +5672,9 @@ function eS(t, e = !0) {
|
|
|
5672
5672
|
}
|
|
5673
5673
|
function tS(t, e) {
|
|
5674
5674
|
let i, a;
|
|
5675
|
-
const o =
|
|
5675
|
+
const o = ci(F.dataLabelInitialize);
|
|
5676
5676
|
Ei(o.uid, { isDataLabel: !0 }), t.bullets.push(o);
|
|
5677
|
-
const n =
|
|
5677
|
+
const n = ci(F.dataLabelInitialize, t.columns.template);
|
|
5678
5678
|
return Ei(n.uid, { isDataLabel: !0 }), gs(n, t), gs(o, t), t.events.on(
|
|
5679
5679
|
P.Validated,
|
|
5680
5680
|
rt(() => {
|
|
@@ -5834,7 +5834,7 @@ function cS(t) {
|
|
|
5834
5834
|
if (c instanceof ka && c.visible)
|
|
5835
5835
|
for (let p = 0; p < s.length; p += 1) {
|
|
5836
5836
|
let b;
|
|
5837
|
-
i === !0 ? b =
|
|
5837
|
+
i === !0 ? b = ai({
|
|
5838
5838
|
value: s[p].category,
|
|
5839
5839
|
dataContext: s[p].dataContext
|
|
5840
5840
|
}) : b = s[p].category.toString(), d === b && (o = !0), u === b && (n = !0);
|
|
@@ -5878,12 +5878,12 @@ function oo(t) {
|
|
|
5878
5878
|
let l;
|
|
5879
5879
|
if (Ps({ isXAxis: a, chartType: n, valueFormat: o }) && !i)
|
|
5880
5880
|
l = e.push(new nt());
|
|
5881
|
-
else if (
|
|
5881
|
+
else if (ui(o))
|
|
5882
5882
|
l = e.push(new Ne());
|
|
5883
5883
|
else if (xt(o)) {
|
|
5884
5884
|
l = e.push(new ve());
|
|
5885
5885
|
const c = O(l.chart.uid, "formatLocale");
|
|
5886
|
-
l.numberFormatter =
|
|
5886
|
+
l.numberFormatter = li({
|
|
5887
5887
|
type: y.NumberAxisFormat,
|
|
5888
5888
|
iLocale: l.chart.language.locale,
|
|
5889
5889
|
formatLocale: c
|
|
@@ -6669,7 +6669,7 @@ function PS(t) {
|
|
|
6669
6669
|
}
|
|
6670
6670
|
}
|
|
6671
6671
|
function VS(t) {
|
|
6672
|
-
const e =
|
|
6672
|
+
const e = ci(void 0, t.radarContainer);
|
|
6673
6673
|
e.isMeasured = !1, Ei(e.uid, { isGaugeAxisInnerLabel: !0 }), OS(t, e);
|
|
6674
6674
|
}
|
|
6675
6675
|
function ES(t) {
|
|
@@ -6830,7 +6830,7 @@ function ZS(t) {
|
|
|
6830
6830
|
if (s !== void 0)
|
|
6831
6831
|
r = s(n);
|
|
6832
6832
|
else {
|
|
6833
|
-
const l = pi(e), c =
|
|
6833
|
+
const l = pi(e), c = li({
|
|
6834
6834
|
type: y.NumberAxisFormat,
|
|
6835
6835
|
iLocale: i,
|
|
6836
6836
|
formatLocale: a
|
|
@@ -6853,7 +6853,7 @@ function yu(t) {
|
|
|
6853
6853
|
if (s !== void 0)
|
|
6854
6854
|
r = s(n);
|
|
6855
6855
|
else {
|
|
6856
|
-
const l = pi(e), c =
|
|
6856
|
+
const l = pi(e), c = li({
|
|
6857
6857
|
type: y.NumberAxisFormat,
|
|
6858
6858
|
iLocale: i,
|
|
6859
6859
|
formatLocale: a
|
|
@@ -7013,7 +7013,7 @@ function On(t, e) {
|
|
|
7013
7013
|
t.background.fill = Tt(e ?? F.backgroundColor);
|
|
7014
7014
|
}
|
|
7015
7015
|
function tC(t) {
|
|
7016
|
-
const e = Qd(F.headerContainer, t), i =
|
|
7016
|
+
const e = Qd(F.headerContainer, t), i = ci(F.title, e), a = ci(F.subtitle, e);
|
|
7017
7017
|
return t instanceof bc && (en(t, i), en(t, a), po({ chart: t, label: i, labelType: K.ChartTitle }), po({ chart: t, label: a, labelType: K.ChartSubTitle })), db(e), { headerContainer: e, title: i, subtitle: a };
|
|
7018
7018
|
}
|
|
7019
7019
|
function $n(t, e) {
|
|
@@ -7029,7 +7029,7 @@ function $n(t, e) {
|
|
|
7029
7029
|
});
|
|
7030
7030
|
}
|
|
7031
7031
|
function iC(t) {
|
|
7032
|
-
const e = Qd(F.footerContainer, t), i =
|
|
7032
|
+
const e = Qd(F.footerContainer, t), i = ci(F.footer, e);
|
|
7033
7033
|
return t instanceof bc && (en(t, i), po({ chart: t, label: i, labelType: K.ChartFooter })), { footerContainer: e, footer: i };
|
|
7034
7034
|
}
|
|
7035
7035
|
function Rn(t, e) {
|
|
@@ -7193,7 +7193,7 @@ function xu(t) {
|
|
|
7193
7193
|
const b = i.dataFields?.customValue ?? "";
|
|
7194
7194
|
(h === V.BarAndLineSplitBy || h === V.BarAndLineSplitByNoAggregation) && (p = Gs({
|
|
7195
7195
|
queryObject: d,
|
|
7196
|
-
fieldName:
|
|
7196
|
+
fieldName: Qt(b),
|
|
7197
7197
|
fieldValue: p
|
|
7198
7198
|
}) ?? p), Ga(i, p), fr({
|
|
7199
7199
|
series: i,
|
|
@@ -7424,7 +7424,7 @@ function xC(t) {
|
|
|
7424
7424
|
const { dataItem: c } = a;
|
|
7425
7425
|
if (c instanceof hi) {
|
|
7426
7426
|
const d = c.properties.category ?? "", u = c.dataContext;
|
|
7427
|
-
let f =
|
|
7427
|
+
let f = oi(u);
|
|
7428
7428
|
f === void 0 && (f = d);
|
|
7429
7429
|
const g = c.values?.value?.value, h = c.values?.value?.percent;
|
|
7430
7430
|
typeof g == "number" && g !== 0 && s?.series?.[0]?.dataTooltipVisible !== !1 ? (a.tooltip.disabled = !1, CC(a), o = l(`${d}`, g, h, f)) : a.tooltip.disabled = !0;
|
|
@@ -7514,7 +7514,7 @@ function IC(t) {
|
|
|
7514
7514
|
const { chart: e, seriesConfig: i, series: a, pieSlicesSymbols: o, options: n, utilsStrings: s, queryObject: r } = t, { tooltipFormatter: l, dataLabelFormatter: c } = n ?? {}, { x: d, y: u, id: f, innerRadius: g, startAngle: h, endAngle: p } = i;
|
|
7515
7515
|
a.id = f;
|
|
7516
7516
|
const b = j([i]), S = F.pieChart;
|
|
7517
|
-
a.dataFields.value = b !== V.PieFromFields ? u : La, a.dataFields.category = b !== V.PieFromFields ? d :
|
|
7517
|
+
a.dataFields.value = b !== V.PieFromFields ? u : La, a.dataFields.category = b !== V.PieFromFields ? d : ii;
|
|
7518
7518
|
const C = e.radius instanceof Ho ? e.radius.value : e.radius;
|
|
7519
7519
|
e.innerRadius = mt((g ?? S.innerRadius) * C), a.startAngle = h ?? S.min, a.endAngle = p ?? 360 + a.startAngle, yC({
|
|
7520
7520
|
pieSeries: a,
|
|
@@ -7576,7 +7576,7 @@ async function Vl(t) {
|
|
|
7576
7576
|
}), await Ao({
|
|
7577
7577
|
chart: e,
|
|
7578
7578
|
listSelectedElements: s,
|
|
7579
|
-
selectionSource:
|
|
7579
|
+
selectionSource: De.SelectionByClick,
|
|
7580
7580
|
queryObject: o,
|
|
7581
7581
|
errorStrings: n
|
|
7582
7582
|
});
|
|
@@ -7599,7 +7599,7 @@ function DC(t, e, i) {
|
|
|
7599
7599
|
} else r === t.background && await Ao({
|
|
7600
7600
|
chart: t,
|
|
7601
7601
|
listSelectedElements: [],
|
|
7602
|
-
selectionSource:
|
|
7602
|
+
selectionSource: De.SelectionByClick,
|
|
7603
7603
|
queryObject: e,
|
|
7604
7604
|
errorStrings: i
|
|
7605
7605
|
});
|
|
@@ -7627,11 +7627,11 @@ function Wl(t) {
|
|
|
7627
7627
|
function OC(t, e) {
|
|
7628
7628
|
t !== void 0 && e !== void 0 && window.IntersectionObserver !== void 0 && new IntersectionObserver(
|
|
7629
7629
|
(a) => {
|
|
7630
|
-
a[0].intersectionRatio > 0 && (O(t.uid, "chartWasCreatedWhileHidden") === !0 ? (t instanceof
|
|
7630
|
+
a[0].intersectionRatio > 0 && (O(t.uid, "chartWasCreatedWhileHidden") === !0 ? (t instanceof $e && t.events.once(P.Validated, () => {
|
|
7631
7631
|
t.isDisposed() || tn(t), t.reinit();
|
|
7632
7632
|
}), t.reinit(), t instanceof ce && Dn(t), ie(t.uid, {
|
|
7633
7633
|
chartWasCreatedWhileHidden: !1
|
|
7634
|
-
})) : O(t.uid, "chartWasUpdatedWhileHidden") === !0 && (t instanceof
|
|
7634
|
+
})) : O(t.uid, "chartWasUpdatedWhileHidden") === !0 && (t instanceof $e && t.events.once(P.Validated, () => {
|
|
7635
7635
|
t.isDisposed() || tn(t), t.reinit();
|
|
7636
7636
|
}), t.reinit(), ie(t.uid, {
|
|
7637
7637
|
chartWasUpdatedWhileHidden: !1
|
|
@@ -7716,7 +7716,7 @@ function Lu(t) {
|
|
|
7716
7716
|
}
|
|
7717
7717
|
}
|
|
7718
7718
|
function Fu(t) {
|
|
7719
|
-
if (t instanceof
|
|
7719
|
+
if (t instanceof $e)
|
|
7720
7720
|
vu(t), Lu(t);
|
|
7721
7721
|
else if (!(t instanceof Ft)) {
|
|
7722
7722
|
const e = () => {
|
|
@@ -7785,7 +7785,7 @@ function Bn(t) {
|
|
|
7785
7785
|
case Z.None:
|
|
7786
7786
|
Ya({
|
|
7787
7787
|
chart: e,
|
|
7788
|
-
selectionSource:
|
|
7788
|
+
selectionSource: De.ClearSelection,
|
|
7789
7789
|
clearOnlyVisibleSeries: !1,
|
|
7790
7790
|
disposeStyleAndSelection: !1
|
|
7791
7791
|
}), Jn(e);
|
|
@@ -7801,7 +7801,7 @@ function MC(t) {
|
|
|
7801
7801
|
const { chart: e, axesConfig: i, chartType: a, isRotated: o, errorStrings: n, queryObject: s } = t;
|
|
7802
7802
|
switch (Xi({ chartType: a, axesConfig: i, errorStrings: n }), a) {
|
|
7803
7803
|
case y.GaugeSeries: {
|
|
7804
|
-
|
|
7804
|
+
si(s), e instanceof Ft && i?.[0]?.valueFormat !== void 0 && qS({ chart: e, valueFormat: i[0].valueFormat, queryObject: s, errorStrings: n });
|
|
7805
7805
|
break;
|
|
7806
7806
|
}
|
|
7807
7807
|
case y.BarSeries:
|
|
@@ -7869,7 +7869,7 @@ function Tr(t) {
|
|
|
7869
7869
|
break;
|
|
7870
7870
|
}
|
|
7871
7871
|
case y.GaugeSeries: {
|
|
7872
|
-
e instanceof Ft && (
|
|
7872
|
+
e instanceof Ft && (si(u), JS({
|
|
7873
7873
|
chart: e,
|
|
7874
7874
|
chartConfig: i,
|
|
7875
7875
|
data: (d ?? e.data).dataItems,
|
|
@@ -7916,7 +7916,7 @@ function Au(t) {
|
|
|
7916
7916
|
break;
|
|
7917
7917
|
}
|
|
7918
7918
|
case y.LineSeries: {
|
|
7919
|
-
|
|
7919
|
+
si(s), c = Eb({
|
|
7920
7920
|
...h,
|
|
7921
7921
|
chart: e,
|
|
7922
7922
|
chartConfig: i,
|
|
@@ -7929,7 +7929,7 @@ function Au(t) {
|
|
|
7929
7929
|
}
|
|
7930
7930
|
}
|
|
7931
7931
|
}
|
|
7932
|
-
else e instanceof
|
|
7932
|
+
else e instanceof $e && i.series[0].type === y.PieSeries && (c = AC({ ...g, seriesConfig: i.series[0] }), u.push(c));
|
|
7933
7933
|
u.forEach((b) => {
|
|
7934
7934
|
aC(b);
|
|
7935
7935
|
});
|
|
@@ -8076,10 +8076,10 @@ function Ir(t) {
|
|
|
8076
8076
|
e.series.forEach((pe, it) => {
|
|
8077
8077
|
N.set(pe.id, it);
|
|
8078
8078
|
});
|
|
8079
|
-
const z =
|
|
8079
|
+
const z = jt(A);
|
|
8080
8080
|
z !== void 0 && (i.data = z);
|
|
8081
8081
|
const E = j(e.series);
|
|
8082
|
-
i instanceof
|
|
8082
|
+
i instanceof $e && Gt({
|
|
8083
8083
|
data: s,
|
|
8084
8084
|
htmlContainer: i.htmlContainer,
|
|
8085
8085
|
chartId: i.id,
|
|
@@ -8180,7 +8180,7 @@ function PC(t) {
|
|
|
8180
8180
|
t9nStrings: { errorStrings: r, utilsStrings: l, amChartsStrings: c },
|
|
8181
8181
|
options: d,
|
|
8182
8182
|
globalOptions: u
|
|
8183
|
-
} = t, f = Rs(e,
|
|
8183
|
+
} = t, f = Rs(e, $e);
|
|
8184
8184
|
f.id = i?.id ?? f.uid;
|
|
8185
8185
|
const g = Wc(f.htmlContainer);
|
|
8186
8186
|
Ar({ chart: f, localeInfo: g, chartLocale: c }), f.radius = mt(F.pieChart.chartRadius);
|
|
@@ -8264,7 +8264,7 @@ function EC(t) {
|
|
|
8264
8264
|
axisLabelsBehaviorChanged: z
|
|
8265
8265
|
});
|
|
8266
8266
|
let W = !1;
|
|
8267
|
-
const U =
|
|
8267
|
+
const U = jt(s?.data), Y = j(S);
|
|
8268
8268
|
if (ie(i.uid, { isNonAggregatedChart: !hn(Y) }), o) {
|
|
8269
8269
|
const { count: pe, data: it, queryConfig: ut } = s ?? {};
|
|
8270
8270
|
ie(i.uid, {
|
|
@@ -8276,8 +8276,8 @@ function EC(t) {
|
|
|
8276
8276
|
} else if (C === y.BarSeries || C === y.LineSeries || C === y.RadarSeries || C === y.ComboLineAndBarSeries || C === y.BoxPlotSeries) {
|
|
8277
8277
|
const pe = Yc(b, S);
|
|
8278
8278
|
if (pe.length > 0 && ($h(i.series, pe), i.feedLegend(), W = !0), da(S[0])) {
|
|
8279
|
-
const { binTemporalData: it } = S[0], { unit: ut, size:
|
|
8280
|
-
it === !1 && ut !== void 0 &&
|
|
8279
|
+
const { binTemporalData: it } = S[0], { unit: ut, size: ti } = S[0].temporalBinning ?? {};
|
|
8280
|
+
it === !1 && ut !== void 0 && ti !== void 0 && ie(i.uid, { timeIntervalInfo: { unit: ut, size: ti } });
|
|
8281
8281
|
}
|
|
8282
8282
|
}
|
|
8283
8283
|
const ee = N && !o, de = /* @__PURE__ */ new Map();
|
|
@@ -8356,7 +8356,7 @@ function WC(t) {
|
|
|
8356
8356
|
dataInfo: l,
|
|
8357
8357
|
utilsStrings: c,
|
|
8358
8358
|
errorStrings: d
|
|
8359
|
-
} = t, u = O(e.uid, "config"), f = u?.series, g = o?.series, h = gn({ oldConfig: u, newConfig: o, dataWasUpdated: a }), p = lr(f, g), { count: b, data: S, queryConfig: C } = l ?? {}, x =
|
|
8359
|
+
} = t, u = O(e.uid, "config"), f = u?.series, g = o?.series, h = gn({ oldConfig: u, newConfig: o, dataWasUpdated: a }), p = lr(f, g), { count: b, data: S, queryConfig: C } = l ?? {}, x = jt(S);
|
|
8360
8360
|
ie(e.uid, { filterBySelection: r?.filterBySelection, config: Ie(o) });
|
|
8361
8361
|
const L = x !== void 0 && (e.data.length !== x.length || vd(e.data, x));
|
|
8362
8362
|
L && (ie(e.uid, { elementCount: b, queryConfig: C }), e.data = x, Da(e.htmlContainer)), (h || p) && e.validateData(), Gt({
|
|
@@ -8443,7 +8443,7 @@ function HC(t) {
|
|
|
8443
8443
|
let d;
|
|
8444
8444
|
switch (H(i?.series)) {
|
|
8445
8445
|
case y.PieSeries:
|
|
8446
|
-
|
|
8446
|
+
si(n), d = PC({
|
|
8447
8447
|
chartContainer: e,
|
|
8448
8448
|
chartConfig: i,
|
|
8449
8449
|
queryObject: n,
|
|
@@ -8456,7 +8456,7 @@ function HC(t) {
|
|
|
8456
8456
|
});
|
|
8457
8457
|
break;
|
|
8458
8458
|
case y.GaugeSeries:
|
|
8459
|
-
|
|
8459
|
+
si(n), d = VC({
|
|
8460
8460
|
chartContainer: e,
|
|
8461
8461
|
chartConfig: i,
|
|
8462
8462
|
queryObject: n,
|
|
@@ -8552,7 +8552,7 @@ function GC(t) {
|
|
|
8552
8552
|
});
|
|
8553
8553
|
break;
|
|
8554
8554
|
case y.PieSeries:
|
|
8555
|
-
|
|
8555
|
+
si(R), WC({
|
|
8556
8556
|
chart: b,
|
|
8557
8557
|
chartElements: S,
|
|
8558
8558
|
queryObject: R,
|
|
@@ -8566,7 +8566,7 @@ function GC(t) {
|
|
|
8566
8566
|
});
|
|
8567
8567
|
break;
|
|
8568
8568
|
case y.GaugeSeries:
|
|
8569
|
-
|
|
8569
|
+
si(R), zC({
|
|
8570
8570
|
chart: b,
|
|
8571
8571
|
chartElements: S,
|
|
8572
8572
|
newConfig: I,
|
|
@@ -8617,7 +8617,7 @@ function GC(t) {
|
|
|
8617
8617
|
});
|
|
8618
8618
|
}
|
|
8619
8619
|
async function A(k, I) {
|
|
8620
|
-
if ($t(b) && (b instanceof ce || b instanceof
|
|
8620
|
+
if ($t(b) && (b instanceof ce || b instanceof $e)) {
|
|
8621
8621
|
const w = O(b.uid, "actionMode");
|
|
8622
8622
|
w !== Z.MonoSelection && w !== Z.None && await Xp({ chart: b, queryObject: k, errorStrings: I });
|
|
8623
8623
|
}
|
|
@@ -8674,7 +8674,7 @@ function zi(t, e) {
|
|
|
8674
8674
|
function Ua(t, e) {
|
|
8675
8675
|
ha(t, e);
|
|
8676
8676
|
}
|
|
8677
|
-
function
|
|
8677
|
+
function fi(t, e) {
|
|
8678
8678
|
return pa(t, e);
|
|
8679
8679
|
}
|
|
8680
8680
|
function _C(t, e) {
|
|
@@ -8700,7 +8700,7 @@ function ZC(t) {
|
|
|
8700
8700
|
}
|
|
8701
8701
|
}
|
|
8702
8702
|
function KC(t) {
|
|
8703
|
-
return t.get("renderer") instanceof yi ?
|
|
8703
|
+
return t.get("renderer") instanceof yi ? we.yField : we.xField;
|
|
8704
8704
|
}
|
|
8705
8705
|
function QC(t) {
|
|
8706
8706
|
let e = "";
|
|
@@ -8779,7 +8779,7 @@ function Du(t) {
|
|
|
8779
8779
|
const n = e.root.events.on(me.FrameEnded, () => {
|
|
8780
8780
|
let s = !1, r = !1;
|
|
8781
8781
|
switch (!0) {
|
|
8782
|
-
case e instanceof
|
|
8782
|
+
case e instanceof Oe:
|
|
8783
8783
|
s = e.columns.length === e.dataItems.length;
|
|
8784
8784
|
break;
|
|
8785
8785
|
case (!(e instanceof Cn) && e instanceof fe):
|
|
@@ -9123,7 +9123,7 @@ function wt(t) {
|
|
|
9123
9123
|
});
|
|
9124
9124
|
}
|
|
9125
9125
|
}
|
|
9126
|
-
function
|
|
9126
|
+
function di(t) {
|
|
9127
9127
|
const { chart: e, label: i, labelType: a } = t, { legendTitle: o } = v.legendProperties, n = D(e.uid, "config");
|
|
9128
9128
|
let s = o.maxWidth ?? Number.NaN;
|
|
9129
9129
|
switch (a) {
|
|
@@ -9169,9 +9169,9 @@ function ci(t) {
|
|
|
9169
9169
|
}
|
|
9170
9170
|
function na(t) {
|
|
9171
9171
|
const { chart: e } = t;
|
|
9172
|
-
|
|
9172
|
+
di(t), e.events.onDebounced(
|
|
9173
9173
|
me.BoundsChanged,
|
|
9174
|
-
() =>
|
|
9174
|
+
() => di(t),
|
|
9175
9175
|
v.debounceTime
|
|
9176
9176
|
);
|
|
9177
9177
|
}
|
|
@@ -9274,7 +9274,7 @@ function hx(t) {
|
|
|
9274
9274
|
if (a.label !== void 0) {
|
|
9275
9275
|
const s = e.get("renderer") instanceof vt;
|
|
9276
9276
|
let r;
|
|
9277
|
-
e instanceof
|
|
9277
|
+
e instanceof Jt || (s ? o === J.SFS ? r = v.verticalSurfaceGuideLabels : r = v.verticalLineGuideLabels : o === J.SFS ? r = v.horizontalSurfaceGuideLabels : r = v.horizontalLineGuideLabels), Dr(n.uid, { guideLabelConfig: a.label });
|
|
9278
9278
|
const l = {
|
|
9279
9279
|
type: y.Text,
|
|
9280
9280
|
visible: a.visible,
|
|
@@ -9299,7 +9299,7 @@ function hx(t) {
|
|
|
9299
9299
|
}
|
|
9300
9300
|
function px(t) {
|
|
9301
9301
|
const e = t.dataItem?.component;
|
|
9302
|
-
e instanceof fe ? (e.uid !== void 0 ? q(e.uid, "bulletTemplate") : void 0)?.adapters?.remove?.("fill") : e instanceof
|
|
9302
|
+
e instanceof fe ? (e.uid !== void 0 ? q(e.uid, "bulletTemplate") : void 0)?.adapters?.remove?.("fill") : e instanceof Oe ? e.columns?.template?.adapters?.remove?.("fill") : e instanceof ht && e.slices?.template?.adapters?.remove?.("fill");
|
|
9303
9303
|
}
|
|
9304
9304
|
function Pu(t) {
|
|
9305
9305
|
const { element: e, fill: i, fillOpacity: a, pattern: o, chartBackgroundFill: n } = t, s = e.get("tooltip");
|
|
@@ -9375,7 +9375,7 @@ function Gi(t) {
|
|
|
9375
9375
|
}
|
|
9376
9376
|
return g;
|
|
9377
9377
|
}
|
|
9378
|
-
function
|
|
9378
|
+
function Zt(t) {
|
|
9379
9379
|
const { element: e, lineSymbol: i, visible: a, defaultToColorFromRamp: o, colorRampIndex: n } = t;
|
|
9380
9380
|
let s;
|
|
9381
9381
|
return e !== void 0 && !e.isDisposed() && (i !== void 0 && (s = Or({
|
|
@@ -9410,7 +9410,7 @@ function yt(t) {
|
|
|
9410
9410
|
}, g = d ?? { ...o };
|
|
9411
9411
|
switch (o.type) {
|
|
9412
9412
|
case J.SLS:
|
|
9413
|
-
u =
|
|
9413
|
+
u = Zt({
|
|
9414
9414
|
...f,
|
|
9415
9415
|
lineSymbol: g,
|
|
9416
9416
|
visible: c
|
|
@@ -9480,7 +9480,7 @@ function Sx(t) {
|
|
|
9480
9480
|
}
|
|
9481
9481
|
function Eu(t) {
|
|
9482
9482
|
let e = !1, i;
|
|
9483
|
-
if (t.target.dataItem?.component instanceof $a ? { chart: i } = t.target.dataItem.component : (t.target instanceof ld || t.target instanceof ar) && ({ chart: i } = t.target), i instanceof Le || i instanceof
|
|
9483
|
+
if (t.target.dataItem?.component instanceof $a ? { chart: i } = t.target.dataItem.component : (t.target instanceof ld || t.target instanceof ar) && ({ chart: i } = t.target), i instanceof Le || i instanceof Kt) {
|
|
9484
9484
|
const a = D(i.uid, "actionMode");
|
|
9485
9485
|
if (a !== void 0) {
|
|
9486
9486
|
const { originalEvent: o } = t;
|
|
@@ -9493,7 +9493,7 @@ function ot(t) {
|
|
|
9493
9493
|
const { element: e, selected: i, multiSelect: a, isDateOrCategoryAxis: o, backToDefaultState: n } = t;
|
|
9494
9494
|
let s = !1;
|
|
9495
9495
|
if (e !== void 0) {
|
|
9496
|
-
const r =
|
|
9496
|
+
const r = fi(e.uid, "selected") ?? !1;
|
|
9497
9497
|
s = r, a !== !0 ? o === !0 ? s = r ? !1 : r !== i : s = i : s = r !== i;
|
|
9498
9498
|
const l = n === !0 ? at.Default : at.CustomInactive;
|
|
9499
9499
|
e.states.apply(at.Default), e.states.apply(s ? at.CustomActive : l), s !== r && (_C(e.uid, { selected: s }), s && (e.toFront(), e.dataItem?.component instanceof $a && e.dataItem.component.toFront()));
|
|
@@ -9698,7 +9698,7 @@ function Gu(t) {
|
|
|
9698
9698
|
let r = n ?? "";
|
|
9699
9699
|
const l = s.dataItem, c = q(
|
|
9700
9700
|
i.uid,
|
|
9701
|
-
i instanceof
|
|
9701
|
+
i instanceof Oe ? "barSeriesDataLabelFormatter" : "lineSeriesDataLabelFormatter"
|
|
9702
9702
|
);
|
|
9703
9703
|
if (c !== void 0 && i.chart && l) {
|
|
9704
9704
|
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");
|
|
@@ -10111,7 +10111,7 @@ function Nx(t) {
|
|
|
10111
10111
|
const l = i.dataItem;
|
|
10112
10112
|
if (l !== void 0) {
|
|
10113
10113
|
const c = l, d = c.get("category") ?? "", u = l.dataContext;
|
|
10114
|
-
let f =
|
|
10114
|
+
let f = oi(u);
|
|
10115
10115
|
f === void 0 && (f = d);
|
|
10116
10116
|
const g = c.get("value"), h = c.get("valuePercentTotal");
|
|
10117
10117
|
typeof g == "number" && g !== 0 && n?.series?.[0]?.dataTooltipVisible !== !1 ? (i.set("disabled", !1), Mx(c.get("slice")), a = r(d, g, h, f)) : i.set("disabled", !0);
|
|
@@ -10253,7 +10253,7 @@ function ju(t, e) {
|
|
|
10253
10253
|
strokeWidth: i.outline?.width ?? Number.NaN
|
|
10254
10254
|
});
|
|
10255
10255
|
const n = t.get("background");
|
|
10256
|
-
if (n instanceof Wt && n.parent instanceof
|
|
10256
|
+
if (n instanceof Wt && n.parent instanceof ri) {
|
|
10257
10257
|
const s = n.parent.get("tooltipTarget");
|
|
10258
10258
|
n.set(
|
|
10259
10259
|
"strokeOpacity",
|
|
@@ -10273,7 +10273,7 @@ function ju(t, e) {
|
|
|
10273
10273
|
function zx(t) {
|
|
10274
10274
|
t.get("background")?.adapters.add("fillOpacity", (e, i) => {
|
|
10275
10275
|
let a = e;
|
|
10276
|
-
if (i.parent instanceof
|
|
10276
|
+
if (i.parent instanceof ri) {
|
|
10277
10277
|
const o = i.parent.get("tooltipTarget");
|
|
10278
10278
|
a = o instanceof Wt ? o.get("fillOpacity") : a;
|
|
10279
10279
|
}
|
|
@@ -10285,7 +10285,7 @@ function Hx(t, e) {
|
|
|
10285
10285
|
t.label.set("fontSize", o);
|
|
10286
10286
|
}
|
|
10287
10287
|
function Io(t) {
|
|
10288
|
-
const { root: e, chart: i } = t, a =
|
|
10288
|
+
const { root: e, chart: i } = t, a = ri.new(e, {});
|
|
10289
10289
|
return a.label.setAll({
|
|
10290
10290
|
oversizedBehavior: "wrap",
|
|
10291
10291
|
maxWidth: v.tooltipWidth
|
|
@@ -10302,11 +10302,11 @@ function Do(t) {
|
|
|
10302
10302
|
const s = a !== void 0 || q(e.uid, "hasExternalTooltipFormatter") === !0, r = s ? "tooltipHTML" : "tooltipText";
|
|
10303
10303
|
Ci({ element: o, labelOutputProp: r });
|
|
10304
10304
|
const l = (c, d) => xi({ element: d, series: e, isHTML: s });
|
|
10305
|
-
return (o instanceof
|
|
10305
|
+
return (o instanceof ri || o instanceof Ui) && (o.adapters.remove("tooltipText"), o.adapters.remove("tooltipHTML"), o.adapters.add(r, l)), n;
|
|
10306
10306
|
}
|
|
10307
10307
|
function Ci(t) {
|
|
10308
10308
|
const { element: e, labelOutputProp: i } = t, a = i === "tooltipHTML";
|
|
10309
|
-
if (e instanceof
|
|
10309
|
+
if (e instanceof ri)
|
|
10310
10310
|
a ? (e.label.set("html", v.htmlEmptyContent), e.label.set("text", "")) : e.label.set("html", void 0);
|
|
10311
10311
|
else if (e instanceof Ng) {
|
|
10312
10312
|
const o = e.get("tooltip");
|
|
@@ -10343,13 +10343,13 @@ function Yx(t) {
|
|
|
10343
10343
|
const r = s.get("valueX"), l = s.get("valueY"), c = s.get("valueXTotalPercent"), d = s.get("valueYTotalPercent"), u = o ? r : l;
|
|
10344
10344
|
let f;
|
|
10345
10345
|
o && typeof c == "number" ? f = c : !o && typeof d == "number" && (f = d), f && (f /= 100);
|
|
10346
|
-
const g = s.dataContext ?? {}, h = D(i.chart?.uid ?? 0, "config"), p = D(i.chart?.uid ?? 0, "rendererFieldNames"), b =
|
|
10346
|
+
const g = s.dataContext ?? {}, h = D(i.chart?.uid ?? 0, "config"), p = D(i.chart?.uid ?? 0, "rendererFieldNames"), b = ai({
|
|
10347
10347
|
value: pn(j([e]), e),
|
|
10348
10348
|
dataContext: g,
|
|
10349
10349
|
useRendererLabel: Ia(h, p),
|
|
10350
10350
|
config: h
|
|
10351
10351
|
});
|
|
10352
|
-
let S =
|
|
10352
|
+
let S = oi(g);
|
|
10353
10353
|
S === void 0 && (S = b);
|
|
10354
10354
|
const C = g[v.dateBinningRange];
|
|
10355
10355
|
if (S !== void 0 || u !== void 0 || f !== void 0 || C !== void 0)
|
|
@@ -10365,7 +10365,7 @@ function Yx(t) {
|
|
|
10365
10365
|
}
|
|
10366
10366
|
}
|
|
10367
10367
|
function Yl(t, e) {
|
|
10368
|
-
if (t instanceof
|
|
10368
|
+
if (t instanceof ri)
|
|
10369
10369
|
t.set("forceHidden", e);
|
|
10370
10370
|
else {
|
|
10371
10371
|
const i = t.get("tooltip");
|
|
@@ -10413,7 +10413,7 @@ function xi(t) {
|
|
|
10413
10413
|
});
|
|
10414
10414
|
break;
|
|
10415
10415
|
case y.PieSeries:
|
|
10416
|
-
i instanceof ht && e instanceof
|
|
10416
|
+
i instanceof ht && e instanceof ri && (o = Nx({
|
|
10417
10417
|
pieSeries: i,
|
|
10418
10418
|
tooltip: e
|
|
10419
10419
|
}));
|
|
@@ -10422,7 +10422,7 @@ function xi(t) {
|
|
|
10422
10422
|
}
|
|
10423
10423
|
const s = o ?? "";
|
|
10424
10424
|
if (a) {
|
|
10425
|
-
const r = Ve(s), l = e instanceof
|
|
10425
|
+
const r = Ve(s), l = e instanceof ri ? e : e.get("tooltip");
|
|
10426
10426
|
return l && l.label.setAll({
|
|
10427
10427
|
html: r,
|
|
10428
10428
|
text: ""
|
|
@@ -10517,7 +10517,7 @@ function _x(t) {
|
|
|
10517
10517
|
series: s,
|
|
10518
10518
|
dateRange: l,
|
|
10519
10519
|
xAxisValueFormat: i
|
|
10520
|
-
}) :
|
|
10520
|
+
}) : ui(i) ? c && typeof r == "number" ? f = new Date(r).toLocaleTimeString(g) : (r instanceof Date || typeof r == "number" && Number.isFinite(r)) && (f = Na({
|
|
10521
10521
|
root: u,
|
|
10522
10522
|
value: r,
|
|
10523
10523
|
valueFormat: n ?? i,
|
|
@@ -10615,7 +10615,7 @@ function qx(t) {
|
|
|
10615
10615
|
case V.BarAndLineSplitByNoAggregation:
|
|
10616
10616
|
case V.BarAndLineSplitBy:
|
|
10617
10617
|
{
|
|
10618
|
-
const ge =
|
|
10618
|
+
const ge = Qt(n.query?.where, !1), Fe = qc({
|
|
10619
10619
|
value: Be(i, ge),
|
|
10620
10620
|
escape: !0
|
|
10621
10621
|
});
|
|
@@ -10642,7 +10642,7 @@ function Pr(t) {
|
|
|
10642
10642
|
}), o !== n)
|
|
10643
10643
|
switch (a.type) {
|
|
10644
10644
|
case y.BarSeries: {
|
|
10645
|
-
e instanceof
|
|
10645
|
+
e instanceof Oe && Rr(e, i);
|
|
10646
10646
|
break;
|
|
10647
10647
|
}
|
|
10648
10648
|
case y.LineSeries:
|
|
@@ -10658,7 +10658,7 @@ function Pr(t) {
|
|
|
10658
10658
|
function Zx(t) {
|
|
10659
10659
|
const { chartType: e, series: i, tooltipFormatter: a } = t;
|
|
10660
10660
|
switch (!0) {
|
|
10661
|
-
case (e === y.HistogramSeries && i instanceof
|
|
10661
|
+
case (e === y.HistogramSeries && i instanceof Oe): {
|
|
10662
10662
|
Br(i, a);
|
|
10663
10663
|
break;
|
|
10664
10664
|
}
|
|
@@ -10671,11 +10671,11 @@ function Zx(t) {
|
|
|
10671
10671
|
Pe(i.uid, { tooltipCallback: n });
|
|
10672
10672
|
break;
|
|
10673
10673
|
}
|
|
10674
|
-
case (e === y.HeatSeries && i instanceof
|
|
10674
|
+
case (e === y.HeatSeries && i instanceof Oe): {
|
|
10675
10675
|
Vr(i, a);
|
|
10676
10676
|
break;
|
|
10677
10677
|
}
|
|
10678
|
-
case ((e === y.ComboLineAndBarSeries || e === y.BarSeries) && i instanceof
|
|
10678
|
+
case ((e === y.ComboLineAndBarSeries || e === y.BarSeries) && i instanceof Oe): {
|
|
10679
10679
|
Rr(i, a);
|
|
10680
10680
|
break;
|
|
10681
10681
|
}
|
|
@@ -10695,7 +10695,7 @@ function Kx(t) {
|
|
|
10695
10695
|
return (s, r, l) => {
|
|
10696
10696
|
let c = "", d = s;
|
|
10697
10697
|
const u = D(e.chart?.uid ?? 0, "rtl"), f = D(e.chart?.uid ?? 0, "config");
|
|
10698
|
-
if (
|
|
10698
|
+
if (ni(f)) {
|
|
10699
10699
|
d !== null ? e.chart && (d = Ht({
|
|
10700
10700
|
root: e.chart.root,
|
|
10701
10701
|
type: "number",
|
|
@@ -10753,7 +10753,7 @@ function Qx(t) {
|
|
|
10753
10753
|
if (l !== void 0) {
|
|
10754
10754
|
const c = l.dataContext;
|
|
10755
10755
|
if (n?.series?.[0]?.dataTooltipVisible !== !1) {
|
|
10756
|
-
const d = c?.[
|
|
10756
|
+
const d = c?.[we.valueField] ?? null, u = c?.[we.xField], f = c?.[we.yField];
|
|
10757
10757
|
a = r(d, u, f);
|
|
10758
10758
|
}
|
|
10759
10759
|
}
|
|
@@ -10801,7 +10801,7 @@ function nn(t) {
|
|
|
10801
10801
|
return { outlineSymbol: i, outlineColor: a, outlineOpacity: o };
|
|
10802
10802
|
}
|
|
10803
10803
|
function ev(t) {
|
|
10804
|
-
const { root: e, xAxis: i, yAxis: a, options: o, chartConfig: n, queryObject: s, errorStrings: r } = t, l =
|
|
10804
|
+
const { root: e, xAxis: i, yAxis: a, options: o, chartConfig: n, queryObject: s, errorStrings: r } = t, l = Oe.new(e, {
|
|
10805
10805
|
calculateAggregates: !0,
|
|
10806
10806
|
stroke: Q(v.backgroundColor).color,
|
|
10807
10807
|
clustered: !1,
|
|
@@ -10809,19 +10809,19 @@ function ev(t) {
|
|
|
10809
10809
|
// we enable the turbo mode at initialization to improve the performance; it will be reset properly during the update.
|
|
10810
10810
|
xAxis: i,
|
|
10811
10811
|
yAxis: a,
|
|
10812
|
-
categoryXField:
|
|
10812
|
+
categoryXField: we.xField,
|
|
10813
10813
|
// TODO: see fetchFinishedHeatChartData() - should we make those fields dynamic based on the config?
|
|
10814
|
-
categoryYField:
|
|
10814
|
+
categoryYField: we.yField,
|
|
10815
10815
|
// TODO: see fetchFinishedHeatChartData() - should we make those fields dynamic based on the config?
|
|
10816
|
-
valueField:
|
|
10816
|
+
valueField: we.valueField
|
|
10817
10817
|
});
|
|
10818
10818
|
return l.columns.template.setAll({
|
|
10819
|
-
tooltipText: `x: {${
|
|
10820
|
-
y: {${
|
|
10821
|
-
Value: {${
|
|
10819
|
+
tooltipText: `x: {${we.xField}}
|
|
10820
|
+
y: {${we.yField}}
|
|
10821
|
+
Value: {${we.valueField}}`,
|
|
10822
10822
|
width: Te,
|
|
10823
10823
|
height: Te
|
|
10824
|
-
}), Vr(l, o?.tooltipFormatter), qa(l, n), We(l.columns.template, o?.selectionTheme),
|
|
10824
|
+
}), Vr(l, o?.tooltipFormatter), qa(l, n), We(l.columns.template, o?.selectionTheme), ei({ element: l.columns.template, series: l, queryObject: s, errorStrings: r }), l;
|
|
10825
10825
|
}
|
|
10826
10826
|
function tv(t, e) {
|
|
10827
10827
|
e?.dataItems && t.data.setAll(e.dataItems);
|
|
@@ -10866,7 +10866,7 @@ function iv(t) {
|
|
|
10866
10866
|
]);
|
|
10867
10867
|
}
|
|
10868
10868
|
function av(t, e) {
|
|
10869
|
-
e?.color ?
|
|
10869
|
+
e?.color ? Zt({ element: t.columns.template, lineSymbol: e }) : t.columns.template.setAll({
|
|
10870
10870
|
strokeOpacity: 0,
|
|
10871
10871
|
strokeWidth: 0
|
|
10872
10872
|
});
|
|
@@ -10979,7 +10979,7 @@ function Zu(t) {
|
|
|
10979
10979
|
let n;
|
|
10980
10980
|
const s = lt(e), r = i.series?.[0], l = i.chartRenderer ?? s?.renderer?.toJSON(), { outlineColor: c, outlineOpacity: d } = nn(r?.gridLine);
|
|
10981
10981
|
if ((l?.type === "classBreaks" || l?.type === "class-breaks") && "classBreakInfos" in l) {
|
|
10982
|
-
const u = o?.data.values, f = o?.get("valueField") ??
|
|
10982
|
+
const u = o?.data.values, f = o?.get("valueField") ?? we.valueField, g = l.classBreakInfos?.[0], h = g ? g.classMinValue === g.classMaxValue : !1;
|
|
10983
10983
|
n = l.classBreakInfos.map((p, b) => {
|
|
10984
10984
|
let S;
|
|
10985
10985
|
return a ? S = sv({
|
|
@@ -11329,7 +11329,7 @@ function xs(t) {
|
|
|
11329
11329
|
defaults: { ...c, verticalCenter: "top" }
|
|
11330
11330
|
});
|
|
11331
11331
|
const u = D(e.uid, "config")?.legend?.position ?? v.heatChart.legend.position;
|
|
11332
|
-
u === G.Left || u === G.Right ? (s.set("maxWidth", 250),
|
|
11332
|
+
u === G.Left || u === G.Right ? (s.set("maxWidth", 250), di({
|
|
11333
11333
|
chart: e,
|
|
11334
11334
|
label: s,
|
|
11335
11335
|
labelType: K.LegendTitle
|
|
@@ -11407,7 +11407,7 @@ function mv(t) {
|
|
|
11407
11407
|
function gv(t) {
|
|
11408
11408
|
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];
|
|
11409
11409
|
if (a || o)
|
|
11410
|
-
Wr(e), s && r instanceof
|
|
11410
|
+
Wr(e), s && r instanceof Oe && Hi(() => {
|
|
11411
11411
|
const l = ef(e), c = mi.new(e.root, {
|
|
11412
11412
|
id: et(gt, e.uid),
|
|
11413
11413
|
layout: e.root.verticalLayout
|
|
@@ -11418,7 +11418,7 @@ function gv(t) {
|
|
|
11418
11418
|
legendContainer: c
|
|
11419
11419
|
});
|
|
11420
11420
|
});
|
|
11421
|
-
else if (r instanceof
|
|
11421
|
+
else if (r instanceof Oe) {
|
|
11422
11422
|
const l = mv(e);
|
|
11423
11423
|
if (l) {
|
|
11424
11424
|
Ul(e, l), xs({ chart: e, legendConfig: n }), lf(l, n);
|
|
@@ -11703,7 +11703,7 @@ function Av(t) {
|
|
|
11703
11703
|
}
|
|
11704
11704
|
case y.HeatSeries: {
|
|
11705
11705
|
const c = e.series.getIndex(0);
|
|
11706
|
-
if (c instanceof
|
|
11706
|
+
if (c instanceof Oe && ni(a) && !qe(n)) {
|
|
11707
11707
|
const d = Zu({
|
|
11708
11708
|
queryObject: n,
|
|
11709
11709
|
chartConfig: a,
|
|
@@ -11779,9 +11779,9 @@ function Qi(t, e) {
|
|
|
11779
11779
|
if (ut > 0)
|
|
11780
11780
|
_ += ut;
|
|
11781
11781
|
else if (t.series.length > 0) {
|
|
11782
|
-
const
|
|
11782
|
+
const ti = e.root.events.on(me.FrameEnded, () => {
|
|
11783
11783
|
const Zi = ql(t);
|
|
11784
|
-
Zi > 0 && (n ? de += Zi : _ += Zi,
|
|
11784
|
+
Zi > 0 && (n ? de += Zi : _ += Zi, ti.dispose(), Qi(t, e));
|
|
11785
11785
|
});
|
|
11786
11786
|
}
|
|
11787
11787
|
}
|
|
@@ -11801,7 +11801,7 @@ function Qi(t, e) {
|
|
|
11801
11801
|
paddingTop: ge,
|
|
11802
11802
|
paddingLeft: de,
|
|
11803
11803
|
paddingRight: _
|
|
11804
|
-
}), U === void 0 && (a.setPrivate("width", void 0), a.markDirty()), t instanceof
|
|
11804
|
+
}), U === void 0 && (a.setPrivate("width", void 0), a.markDirty()), t instanceof Kt && ff(e, k);
|
|
11805
11805
|
}
|
|
11806
11806
|
}
|
|
11807
11807
|
function Tv(t) {
|
|
@@ -11952,7 +11952,7 @@ function Rv(t, e) {
|
|
|
11952
11952
|
label: a,
|
|
11953
11953
|
labelConfig: { ...o, visible: n !== !1 && o.visible !== !1 },
|
|
11954
11954
|
defaults: { ...s, verticalCenter: "top" }
|
|
11955
|
-
}),
|
|
11955
|
+
}), di({
|
|
11956
11956
|
chart: t,
|
|
11957
11957
|
label: a,
|
|
11958
11958
|
labelType: K.LegendTitle
|
|
@@ -12022,13 +12022,13 @@ function Zl(t, e) {
|
|
|
12022
12022
|
fillOpacityField: Ye.fillOpacityField,
|
|
12023
12023
|
strokeOpacityField: Ye.strokeOpacityField
|
|
12024
12024
|
} : {};
|
|
12025
|
-
a = ir.new(i, { ...n, verticalScrollbar: ss.new(i, { orientation: "vertical" }) }), t instanceof
|
|
12025
|
+
a = ir.new(i, { ...n, verticalScrollbar: ss.new(i, { orientation: "vertical" }) }), t instanceof Kt ? bv(a) : a.valueLabels.template.setAll({ forceHidden: !0, textAlign: "left" }), kv(t, a), hf(t, o), Lv(a), Fv(a, t), Tv({ chart: t, legend: a, legendContainer: o }), Iv(a, t), Dv(a, t, H(e?.series)), Pv({ legend: a, chart: t, seriesConfig: e?.series }), o.children.push(a), t.children.push(o);
|
|
12026
12026
|
}
|
|
12027
12027
|
return a;
|
|
12028
12028
|
}
|
|
12029
12029
|
function Vv(t) {
|
|
12030
12030
|
const e = D(t.uid ?? NaN, "config"), i = e?.series[0].heatRulesType === va.Renderer, o = t.series.values[0].data.values.some(
|
|
12031
|
-
(s) => s[
|
|
12031
|
+
(s) => s[we.valueField] === null || i && !s[X.rendererSymbolField]
|
|
12032
12032
|
);
|
|
12033
12033
|
let n;
|
|
12034
12034
|
if (o) {
|
|
@@ -12087,7 +12087,7 @@ function bf(t) {
|
|
|
12087
12087
|
chart: e
|
|
12088
12088
|
}), pf(a, e, H(u)), Av({ chart: e, legend: a, chartConfig: i, showEmptySeries: n, queryObject: r }), Rv(e, d), Qi(e, a);
|
|
12089
12089
|
const h = D(e.uid, "options");
|
|
12090
|
-
Nv(a, h?.togglingLegendItemsDisabled), e instanceof
|
|
12090
|
+
Nv(a, h?.togglingLegendItemsDisabled), e instanceof Kt && xv({ legend: a, chart: e, seriesConfig: s, legendConfig: d });
|
|
12091
12091
|
}
|
|
12092
12092
|
}
|
|
12093
12093
|
}
|
|
@@ -12151,7 +12151,7 @@ function Hv(t) {
|
|
|
12151
12151
|
},
|
|
12152
12152
|
n
|
|
12153
12153
|
);
|
|
12154
|
-
return
|
|
12154
|
+
return ei({ element: r, series: e, queryObject: a, errorStrings: o }), Tf(r, e), Fi.new(s, {
|
|
12155
12155
|
sprite: r
|
|
12156
12156
|
});
|
|
12157
12157
|
});
|
|
@@ -12207,7 +12207,7 @@ function Xv(t) {
|
|
|
12207
12207
|
}) : void 0, x = C !== void 0 ? `R² = ${C}` : r;
|
|
12208
12208
|
i.set("name", x);
|
|
12209
12209
|
}
|
|
12210
|
-
f.color === void 0 && (f.color = ia({ colorIndex: 1 })),
|
|
12210
|
+
f.color === void 0 && (f.color = ia({ colorIndex: 1 })), Zt({
|
|
12211
12211
|
element: i,
|
|
12212
12212
|
lineSymbol: f,
|
|
12213
12213
|
visible: g
|
|
@@ -12315,7 +12315,7 @@ function jv(t) {
|
|
|
12315
12315
|
selected: !1,
|
|
12316
12316
|
backToDefaultState: !0
|
|
12317
12317
|
});
|
|
12318
|
-
}) : e instanceof
|
|
12318
|
+
}) : e instanceof Oe ? e.columns.each((i) => {
|
|
12319
12319
|
ot({
|
|
12320
12320
|
element: i,
|
|
12321
12321
|
selected: !1,
|
|
@@ -12344,7 +12344,7 @@ function ba(t) {
|
|
|
12344
12344
|
pendingSelectionQueries: !1
|
|
12345
12345
|
}), wr(e) && jv(e), a && za({
|
|
12346
12346
|
data: {
|
|
12347
|
-
selectionSource: i ??
|
|
12347
|
+
selectionSource: i ?? De.ClearSelection
|
|
12348
12348
|
},
|
|
12349
12349
|
htmlContainer: e.root.dom
|
|
12350
12350
|
});
|
|
@@ -12353,7 +12353,7 @@ function Sf(t) {
|
|
|
12353
12353
|
const e = t?.selection.width();
|
|
12354
12354
|
return e !== void 0 && e > 0 && e !== 2e7;
|
|
12355
12355
|
}
|
|
12356
|
-
function
|
|
12356
|
+
function ei(t) {
|
|
12357
12357
|
const { element: e, series: i, queryObject: a, errorStrings: o } = t;
|
|
12358
12358
|
e.events.on(me.PointerUp, async (n) => {
|
|
12359
12359
|
const { chart: s } = i;
|
|
@@ -12368,20 +12368,20 @@ function Jt(t) {
|
|
|
12368
12368
|
const d = n.target, u = Cx(n, i);
|
|
12369
12369
|
ot({
|
|
12370
12370
|
element: d,
|
|
12371
|
-
selected:
|
|
12371
|
+
selected: fi(d.uid, "selected") !== !0
|
|
12372
12372
|
// switching the bullet state,
|
|
12373
12373
|
}), u && s.series.each((f) => {
|
|
12374
12374
|
f instanceof fe ? f.dataItems.forEach((g) => {
|
|
12375
12375
|
const h = g.bullets?.[0]?.get("sprite");
|
|
12376
12376
|
h !== d && ot({ element: h, selected: !1 });
|
|
12377
|
-
}) : f instanceof
|
|
12377
|
+
}) : f instanceof Oe ? f.columns.each((g) => {
|
|
12378
12378
|
g !== d && ot({ element: g, selected: !1 });
|
|
12379
12379
|
}) : f instanceof ht && f.slices.each((g) => {
|
|
12380
12380
|
g !== d && ot({ element: g, selected: !1 });
|
|
12381
12381
|
});
|
|
12382
12382
|
}), await Hr({
|
|
12383
12383
|
chart: s,
|
|
12384
|
-
selectionSource:
|
|
12384
|
+
selectionSource: De.SelectionByClick,
|
|
12385
12385
|
queryObject: a,
|
|
12386
12386
|
errorStrings: o
|
|
12387
12387
|
});
|
|
@@ -12393,7 +12393,7 @@ function Jt(t) {
|
|
|
12393
12393
|
function Jl(t, e) {
|
|
12394
12394
|
let i = Number.NaN, a = Number.NaN;
|
|
12395
12395
|
if (t instanceof ar) {
|
|
12396
|
-
const o = e.get("renderer") instanceof
|
|
12396
|
+
const o = e.get("renderer") instanceof Jt, n = t.getPrivate(o ? "downPositionX" : "downPositionY"), s = t.getPrivate(o ? "positionX" : "positionY");
|
|
12397
12397
|
if (n !== void 0 && s !== void 0)
|
|
12398
12398
|
if (e instanceof Qe)
|
|
12399
12399
|
i = e.axisPositionToIndex(e.toAxisPosition(n)), a = e.axisPositionToIndex(e.toAxisPosition(s));
|
|
@@ -12430,7 +12430,7 @@ function Zv(t) {
|
|
|
12430
12430
|
const p = f.top;
|
|
12431
12431
|
f.top = f.bottom, f.bottom = p;
|
|
12432
12432
|
}
|
|
12433
|
-
const h = !(f.left > i.right || f.right < i.left || f.top > i.bottom || f.bottom < i.top) || a &&
|
|
12433
|
+
const h = !(f.left > i.right || f.right < i.left || f.top > i.bottom || f.bottom < i.top) || a && fi(s.uid, "selected") === !0;
|
|
12434
12434
|
ot({ element: s, selected: h });
|
|
12435
12435
|
}
|
|
12436
12436
|
});
|
|
@@ -12440,7 +12440,7 @@ function Kv(t) {
|
|
|
12440
12440
|
e.dataItems.forEach((o) => {
|
|
12441
12441
|
const n = o.bullets?.[0]?.get("sprite");
|
|
12442
12442
|
if (n) {
|
|
12443
|
-
const s = o.bullets?.[0]?.get("sprite").get("x"), r = o.bullets?.[0]?.get("sprite").get("y"), c = typeof s == "number" && typeof r == "number" && s >= i.left && s <= i.right && r >= i.top && r <= i.bottom || a &&
|
|
12443
|
+
const s = o.bullets?.[0]?.get("sprite").get("x"), r = o.bullets?.[0]?.get("sprite").get("y"), c = typeof s == "number" && typeof r == "number" && s >= i.left && s <= i.right && r >= i.top && r <= i.bottom || a && fi(n.uid, "selected") === !0;
|
|
12444
12444
|
ot({ element: n, selected: c });
|
|
12445
12445
|
}
|
|
12446
12446
|
});
|
|
@@ -12457,7 +12457,7 @@ function Qv(t) {
|
|
|
12457
12457
|
const g = r?.[v.xAxisField];
|
|
12458
12458
|
typeof g == "string" && (l = e.categoryToIndex(g));
|
|
12459
12459
|
}
|
|
12460
|
-
const d = typeof l == "number" && l >= a.left && l <= a.right, u = typeof c == "number" && c >= a.top && c <= a.bottom, f = d && u || o &&
|
|
12460
|
+
const d = typeof l == "number" && l >= a.left && l <= a.right, u = typeof c == "number" && c >= a.top && c <= a.bottom, f = d && u || o && fi(s.uid, "selected") === !0;
|
|
12461
12461
|
ot({ element: s, selected: f });
|
|
12462
12462
|
}
|
|
12463
12463
|
});
|
|
@@ -12480,10 +12480,10 @@ function eL(t) {
|
|
|
12480
12480
|
if (r && l) {
|
|
12481
12481
|
const c = D(e.uid, "config"), d = H(c?.series), u = e.get("cursor"), f = Jv({ cursor: u, xAxis: r, yAxis: l }), g = Eu(n);
|
|
12482
12482
|
e.series.each((h) => {
|
|
12483
|
-
!Ti(h) && !wo(h) && (h instanceof
|
|
12483
|
+
!Ti(h) && !wo(h) && (h instanceof Oe ? Zv({ series: h, cursorBounds: f, multiSelect: g }) : h instanceof fe && (d === y.RadarSeries ? Qv({ xAxis: r, series: h, cursorBounds: f, multiSelect: g }) : Kv({ series: h, cursorBounds: f, multiSelect: g })));
|
|
12484
12484
|
}), ae(u.selection, !1), await Hr({
|
|
12485
12485
|
chart: e,
|
|
12486
|
-
selectionSource:
|
|
12486
|
+
selectionSource: De.SelectionByRange,
|
|
12487
12487
|
queryObject: i,
|
|
12488
12488
|
errorStrings: a
|
|
12489
12489
|
});
|
|
@@ -12637,7 +12637,7 @@ function No(t) {
|
|
|
12637
12637
|
return o === ke.Normal && ja(s, n.overlays.normal), Pe(s.uid, { isOverlay: !0, type: o }), s.set("connect", !1), s.appear(), s;
|
|
12638
12638
|
}
|
|
12639
12639
|
function sL(t) {
|
|
12640
|
-
const { root: e, seriesConfig: i, xAxis: a, yAxis: o, options: n, chartConfig: s, queryObject: r, errorStrings: l } = t, { id: c, name: d } = i, u =
|
|
12640
|
+
const { root: e, seriesConfig: i, xAxis: a, yAxis: o, options: n, chartConfig: s, queryObject: r, errorStrings: l } = t, { id: c, name: d } = i, u = Oe.new(e, {
|
|
12641
12641
|
id: c,
|
|
12642
12642
|
name: d,
|
|
12643
12643
|
xAxis: a,
|
|
@@ -12646,7 +12646,7 @@ function sL(t) {
|
|
|
12646
12646
|
valueYField: so.Count,
|
|
12647
12647
|
maskBullets: !1
|
|
12648
12648
|
});
|
|
12649
|
-
return We(u.columns.template, n?.selectionTheme),
|
|
12649
|
+
return We(u.columns.template, n?.selectionTheme), ei({ element: u.columns.template, series: u, queryObject: r, errorStrings: l }), u.columns.template.setAll({
|
|
12650
12650
|
width: Te
|
|
12651
12651
|
}), vf({
|
|
12652
12652
|
series: u,
|
|
@@ -12721,7 +12721,7 @@ function lL(t) {
|
|
|
12721
12721
|
if (ae(e, d), i.symbol?.color === void 0 && (c.color = ia({
|
|
12722
12722
|
colorIndex: Kc(l),
|
|
12723
12723
|
histogramOverlays: !0
|
|
12724
|
-
})),
|
|
12724
|
+
})), Zt({
|
|
12725
12725
|
element: e,
|
|
12726
12726
|
lineSymbol: c,
|
|
12727
12727
|
visible: d
|
|
@@ -12787,7 +12787,7 @@ function cL(t) {
|
|
|
12787
12787
|
if (ae(e, c), i?.symbol?.color === void 0 && (l.color = ia({
|
|
12788
12788
|
colorIndex: Kc(ke.Normal),
|
|
12789
12789
|
histogramOverlays: !0
|
|
12790
|
-
})),
|
|
12790
|
+
})), Zt({
|
|
12791
12791
|
element: e,
|
|
12792
12792
|
lineSymbol: l,
|
|
12793
12793
|
visible: c
|
|
@@ -12868,7 +12868,7 @@ function uL(t) {
|
|
|
12868
12868
|
utilsStrings: o
|
|
12869
12869
|
});
|
|
12870
12870
|
}
|
|
12871
|
-
} else f instanceof
|
|
12871
|
+
} else f instanceof Oe && (dL({ ...t, series: f }), vf({
|
|
12872
12872
|
series: f,
|
|
12873
12873
|
seriesConfig: i,
|
|
12874
12874
|
seriesType: y.HistogramSeries,
|
|
@@ -12905,14 +12905,14 @@ function hL(t) {
|
|
|
12905
12905
|
case t instanceof ht:
|
|
12906
12906
|
e = t.slices.values;
|
|
12907
12907
|
break;
|
|
12908
|
-
case t instanceof
|
|
12908
|
+
case t instanceof Oe:
|
|
12909
12909
|
const { chart: i } = t;
|
|
12910
12910
|
if (i) {
|
|
12911
12911
|
const a = D(i.uid, "config");
|
|
12912
12912
|
if (a) {
|
|
12913
12913
|
const o = H(a?.series);
|
|
12914
12914
|
let n = [];
|
|
12915
|
-
o === y.HistogramSeries ? n = [so.Count] : o === y.HeatSeries ? n = [
|
|
12915
|
+
o === y.HistogramSeries ? n = [so.Count] : o === y.HeatSeries ? n = [we.valueField] : n = vi(a?.series, [t.get("id") ?? ""]), e = t.columns.values.filter((s) => {
|
|
12916
12916
|
let r = !1;
|
|
12917
12917
|
const l = s.dataItem?.dataContext;
|
|
12918
12918
|
return l && (r = o === y.HeatSeries || n.some((c) => c in l && Number.isFinite(l[c]))), r;
|
|
@@ -13098,7 +13098,7 @@ function yL(t) {
|
|
|
13098
13098
|
if (E.push(...z), C.series.length > 1 && A !== V.BarAndLineNoAggregation && A !== V.BarAndLineSplitByNoAggregation && (E = mn({
|
|
13099
13099
|
data: E,
|
|
13100
13100
|
x: C.series[0].x,
|
|
13101
|
-
splitByField:
|
|
13101
|
+
splitByField: Qt(C.series[0].query?.where)
|
|
13102
13102
|
})), Re(u.uid, { computedSelectionDataItems: E }), p === !0) {
|
|
13103
13103
|
const W = Array.from(new Set(N));
|
|
13104
13104
|
let U = D(
|
|
@@ -13128,7 +13128,7 @@ function yL(t) {
|
|
|
13128
13128
|
const E = z instanceof co || z instanceof uo ? z : z.bullets?.[0]?.get("sprite");
|
|
13129
13129
|
E !== void 0 && ot({
|
|
13130
13130
|
element: E,
|
|
13131
|
-
selected:
|
|
13131
|
+
selected: fi(E.uid, "selected") === !0 || N(E),
|
|
13132
13132
|
backToDefaultState: M === void 0 || M.length === 0
|
|
13133
13133
|
});
|
|
13134
13134
|
});
|
|
@@ -13141,11 +13141,11 @@ function yL(t) {
|
|
|
13141
13141
|
).map((E) => JSON.parse(E)), M !== void 0 && Re(u.uid, { currentSelectionDataItems: N }), h?.selectionOIDs !== void 0 && Re(u.uid, { currentSelectionOIDs: h.selectionOIDs });
|
|
13142
13142
|
let z;
|
|
13143
13143
|
if (p === !0 && (z = D(u.uid, "computedSelectionIndexes") ?? S, z !== void 0 && Re(u.uid, { currentSelectionIndexes: z })), N === void 0 || N.length === 0)
|
|
13144
|
-
ba({ chart: u, selectionSource:
|
|
13144
|
+
ba({ chart: u, selectionSource: De.ProgrammaticSelection });
|
|
13145
13145
|
else {
|
|
13146
13146
|
const E = {
|
|
13147
13147
|
selectionItems: N,
|
|
13148
|
-
selectionSource:
|
|
13148
|
+
selectionSource: De.ProgrammaticSelection
|
|
13149
13149
|
};
|
|
13150
13150
|
p === !0 && (E.selectionIndexes = z), b !== !1 && (E.selectionOIDs = h?.selectionOIDs ?? D(u.uid, "currentSelectionOIDs")), za({
|
|
13151
13151
|
data: E,
|
|
@@ -13176,7 +13176,7 @@ async function Hr(t) {
|
|
|
13176
13176
|
if (n) {
|
|
13177
13177
|
const r = D(e.uid, "options"), l = H(n.series), c = j(n.series), d = Li(n), u = vi(n.series), f = n.series[0].x, g = Ji(a), h = s ? void 0 : qs(lt(a))?.dateFieldsTimeZone;
|
|
13178
13178
|
let p;
|
|
13179
|
-
|
|
13179
|
+
ni(n) ? p = n.outTimeZone : da(n.series[0]) && (p = n.series[0].temporalBinning?.outTimeZone);
|
|
13180
13180
|
const S = St(a).find((C) => C.name === f)?.type;
|
|
13181
13181
|
try {
|
|
13182
13182
|
const C = /* @__PURE__ */ new Set();
|
|
@@ -13186,9 +13186,9 @@ async function Hr(t) {
|
|
|
13186
13186
|
if (e.series.each((I, w) => {
|
|
13187
13187
|
const { seriesConfig: $ } = Oo(I, n), R = $?.query?.where ?? "", M = $?.type === y.BoxPlotSeries ? $.y.toString() : ko(I);
|
|
13188
13188
|
let B;
|
|
13189
|
-
I instanceof fe ? B = I.dataItems : I instanceof
|
|
13189
|
+
I instanceof fe ? B = I.dataItems : I instanceof Oe ? B = I.columns.values : I instanceof ht && (B = I.slices.values), B?.forEach((N, z) => {
|
|
13190
13190
|
const E = N instanceof co || N instanceof uo ? N : N.bullets?.[0]?.get("sprite");
|
|
13191
|
-
if (E !== void 0 &&
|
|
13191
|
+
if (E !== void 0 && fi(E.uid, "selected") === !0) {
|
|
13192
13192
|
k += 1;
|
|
13193
13193
|
let W = N instanceof co || N instanceof uo ? N.dataItem?.dataContext : N.dataContext;
|
|
13194
13194
|
if (W !== void 0) {
|
|
@@ -13251,7 +13251,7 @@ async function Hr(t) {
|
|
|
13251
13251
|
T = Array.from(new Set(T)), n.series.length > 1 && c !== V.BarAndLineNoAggregation && c !== V.BarAndLineSplitByNoAggregation && (x = mn({
|
|
13252
13252
|
data: x,
|
|
13253
13253
|
x: n.series[0].x,
|
|
13254
|
-
splitByField:
|
|
13254
|
+
splitByField: Qt(n.series[0].query?.where)
|
|
13255
13255
|
})), Re(e.uid, {
|
|
13256
13256
|
currentSelectionDataItems: x,
|
|
13257
13257
|
currentSelectionOIDs: T,
|
|
@@ -13384,7 +13384,7 @@ function xL(t) {
|
|
|
13384
13384
|
}
|
|
13385
13385
|
function qa(t, e) {
|
|
13386
13386
|
const { series: i } = e, a = H(i);
|
|
13387
|
-
!0 === t instanceof
|
|
13387
|
+
!0 === t instanceof Oe && (t.columns.template.setAll({ hoverOnFocus: !0 }), a === y.HeatSeries ? t.columns.template.set("ariaLabel", FL()) : t.columns.template.set("ariaLabel", Go()));
|
|
13388
13388
|
}
|
|
13389
13389
|
function qi(t, e) {
|
|
13390
13390
|
t && t.set("focusable", (e ?? 0) < v.focusableThreshold);
|
|
@@ -13421,7 +13421,7 @@ function Xr(t) {
|
|
|
13421
13421
|
const s = j(e.series);
|
|
13422
13422
|
let r = n.name;
|
|
13423
13423
|
if (s === V.BarAndLineSplitBy || s === V.BarAndLineSplitByNoAggregation) {
|
|
13424
|
-
const l =
|
|
13424
|
+
const l = Qt(n.query?.where);
|
|
13425
13425
|
r = Gs({ queryObject: o, fieldName: l, fieldValue: r }) ?? r;
|
|
13426
13426
|
}
|
|
13427
13427
|
ja(i, r);
|
|
@@ -13461,7 +13461,7 @@ function Pa(t, e) {
|
|
|
13461
13461
|
t.set("turboMode", e === !0);
|
|
13462
13462
|
}
|
|
13463
13463
|
function FL() {
|
|
13464
|
-
return `{${
|
|
13464
|
+
return `{${we.xField}} {${we.yField}} {${we.valueField}}`;
|
|
13465
13465
|
}
|
|
13466
13466
|
function kf(t) {
|
|
13467
13467
|
const { root: e, intlOptions: i, formatLocale: a, overridePercentMultiplication: o } = t, n = Ht({
|
|
@@ -13531,7 +13531,7 @@ function kL(t) {
|
|
|
13531
13531
|
return (s) => {
|
|
13532
13532
|
let r = s ?? "";
|
|
13533
13533
|
const l = D(e.uid, "formatLocale"), c = D(e.uid, "config");
|
|
13534
|
-
if (
|
|
13534
|
+
if (ni(c)) {
|
|
13535
13535
|
const d = $g(c.series[0], i);
|
|
13536
13536
|
if (d && s !== void 0 && s !== "") {
|
|
13537
13537
|
if (a.type === y.DateAxisFormat && a.intlOptions)
|
|
@@ -13606,24 +13606,24 @@ function ec(t) {
|
|
|
13606
13606
|
isXAxis: !0,
|
|
13607
13607
|
chartType: a,
|
|
13608
13608
|
valueFormat: i
|
|
13609
|
-
}), n =
|
|
13609
|
+
}), n = ui(i) && e instanceof Ee, s = xt(i) && e instanceof xe && !(e instanceof Ee), r = o && e instanceof Qe;
|
|
13610
13610
|
return !n && !s && !r;
|
|
13611
13611
|
}
|
|
13612
13612
|
function If(t) {
|
|
13613
13613
|
const { dataContext: e, defaultValue: i, chartUID: a } = t;
|
|
13614
|
-
let o =
|
|
13614
|
+
let o = oi(e);
|
|
13615
13615
|
const n = D(a, "config"), s = D(a, "rendererFieldNames"), r = H(n?.series), l = j(n?.series);
|
|
13616
|
-
return r === y.BoxPlotSeries && (l === V.BoxPlotMonoField || l === V.BoxPlotMultiFields || l === V.BoxPlotMonoFieldAndSplitBy || l === V.BoxPlotMultiFieldsAndSplitBy) ? o = e?.[Js] : r === y.HistogramSeries ? o = e?.[so.Start] : (r === y.BarSeries || r === y.LineSeries || r === y.RadarSeries || r === y.ComboLineAndBarSeries) && n !== void 0 ? o =
|
|
13616
|
+
return r === y.BoxPlotSeries && (l === V.BoxPlotMonoField || l === V.BoxPlotMultiFields || l === V.BoxPlotMonoFieldAndSplitBy || l === V.BoxPlotMultiFieldsAndSplitBy) ? o = e?.[Js] : r === y.HistogramSeries ? o = e?.[so.Start] : (r === y.BarSeries || r === y.LineSeries || r === y.RadarSeries || r === y.ComboLineAndBarSeries) && n !== void 0 ? o = ai({
|
|
13617
13617
|
value: pn(l, n?.series?.[0]),
|
|
13618
13618
|
dataContext: e,
|
|
13619
13619
|
useRendererLabel: Ia(n, s),
|
|
13620
13620
|
config: n
|
|
13621
|
-
}) : o =
|
|
13621
|
+
}) : o = ai({
|
|
13622
13622
|
value: i ?? "",
|
|
13623
13623
|
dataContext: e,
|
|
13624
13624
|
useRendererLabel: Ia(n, s),
|
|
13625
13625
|
specificField: X.xAxisField
|
|
13626
|
-
}), { labelValue: o, originalLabelValue:
|
|
13626
|
+
}), { labelValue: o, originalLabelValue: oi(e) };
|
|
13627
13627
|
}
|
|
13628
13628
|
function DL(t, e) {
|
|
13629
13629
|
const { chart: i } = t;
|
|
@@ -13646,7 +13646,7 @@ function DL(t, e) {
|
|
|
13646
13646
|
let f = n;
|
|
13647
13647
|
const g = s.dataItem?.dataContext, h = D(t.chart?.uid ?? Number.NaN, "config");
|
|
13648
13648
|
if (H(h?.series) === y.HeatSeries) {
|
|
13649
|
-
const C = sa(t.get("renderer")) ? g?.[
|
|
13649
|
+
const C = sa(t.get("renderer")) ? g?.[we.xField] : g?.[we.yField];
|
|
13650
13650
|
typeof C == "string" && (f = C);
|
|
13651
13651
|
}
|
|
13652
13652
|
const b = If({
|
|
@@ -13710,7 +13710,7 @@ function OL(t) {
|
|
|
13710
13710
|
isXAxis: i,
|
|
13711
13711
|
chartType: a,
|
|
13712
13712
|
valueFormat: o
|
|
13713
|
-
}), h = e instanceof xe && !(e instanceof Ee) && xt(o), p = e instanceof Ee &&
|
|
13713
|
+
}), h = e instanceof xe && !(e instanceof Ee) && xt(o), p = e instanceof Ee && ui(o), b = e instanceof Qe && g;
|
|
13714
13714
|
if (!(h || p || b))
|
|
13715
13715
|
Vs("mismatchAxisAndValueFormat", u);
|
|
13716
13716
|
else {
|
|
@@ -13754,7 +13754,7 @@ function $L(t) {
|
|
|
13754
13754
|
return s || n?.[0] || n?.[1] || p || b;
|
|
13755
13755
|
}
|
|
13756
13756
|
function sa(t, e) {
|
|
13757
|
-
return t instanceof vt && !e || t instanceof yi && e || t instanceof
|
|
13757
|
+
return t instanceof vt && !e || t instanceof yi && e || t instanceof Jt;
|
|
13758
13758
|
}
|
|
13759
13759
|
function En(t) {
|
|
13760
13760
|
return t instanceof vt;
|
|
@@ -13784,7 +13784,7 @@ function ML(t, e) {
|
|
|
13784
13784
|
}
|
|
13785
13785
|
}
|
|
13786
13786
|
function Df(t, e) {
|
|
13787
|
-
const { chart: i } = e, a =
|
|
13787
|
+
const { chart: i } = e, a = ri.new(t, { forceHidden: !0 });
|
|
13788
13788
|
return e.set("tooltip", a), a.adapters.add("labelText", (o, n) => {
|
|
13789
13789
|
let s = o ?? "";
|
|
13790
13790
|
const r = zi(e.uid, "labelFormatter");
|
|
@@ -13892,7 +13892,7 @@ function HL(t) {
|
|
|
13892
13892
|
if (c) {
|
|
13893
13893
|
const d = D(c.uid, "config");
|
|
13894
13894
|
if (c instanceof Le && d) {
|
|
13895
|
-
const u = H(d.series), f = dt(d) ?? re.Side, g = Af(c), h = _s({ chartConfig: d, isSecondValueAxis: a, seriesIds: g }), p =
|
|
13895
|
+
const u = H(d.series), f = dt(d) ?? re.Side, g = Af(c), h = _s({ chartConfig: d, isSecondValueAxis: a, seriesIds: g }), p = jt(o), b = Vc({
|
|
13896
13896
|
chartConfig: d,
|
|
13897
13897
|
// using either the provided data (at creation or after a data update) or the current series data
|
|
13898
13898
|
chartData: p ?? c.series.getIndex(0)?.data.values ?? [],
|
|
@@ -14026,7 +14026,7 @@ function ic(t, e) {
|
|
|
14026
14026
|
if (i) {
|
|
14027
14027
|
const a = D(i.uid, "isRotated"), o = D(i.uid, "config"), n = H(o?.series), s = [], r = (l, c) => {
|
|
14028
14028
|
if (l instanceof xe) {
|
|
14029
|
-
const d = l.get("renderer") instanceof
|
|
14029
|
+
const d = l.get("renderer") instanceof Jt;
|
|
14030
14030
|
s.push({
|
|
14031
14031
|
isXAxis: sa(l.get("renderer"), a),
|
|
14032
14032
|
isSecondValueAxis: c === 1 && n !== y.HistogramSeries,
|
|
@@ -14055,7 +14055,7 @@ function UL(t) {
|
|
|
14055
14055
|
}
|
|
14056
14056
|
function _L(t) {
|
|
14057
14057
|
const { axis: e, guide: i, guideIndex: a } = t, { root: o, chart: n } = e, s = i.get("axisFill");
|
|
14058
|
-
s?.set("tooltip",
|
|
14058
|
+
s?.set("tooltip", ri.new(o, { autoTextColor: !1 }));
|
|
14059
14059
|
const r = s?.get("tooltip");
|
|
14060
14060
|
if (r !== void 0 && n !== void 0) {
|
|
14061
14061
|
r.label.setAll({
|
|
@@ -14075,7 +14075,7 @@ function _L(t) {
|
|
|
14075
14075
|
}), s.adapters.add("tooltipHTML", (c, d) => {
|
|
14076
14076
|
let u = c;
|
|
14077
14077
|
const { dataItem: f } = d;
|
|
14078
|
-
if (!(e.get("renderer") instanceof
|
|
14078
|
+
if (!(e.get("renderer") instanceof Jt)) {
|
|
14079
14079
|
const g = zi(
|
|
14080
14080
|
e.uid,
|
|
14081
14081
|
"guideTooltipFormatter"
|
|
@@ -14368,7 +14368,7 @@ function s0(t) {
|
|
|
14368
14368
|
if (typeof n == "number" && Number.isFinite(n))
|
|
14369
14369
|
l = n;
|
|
14370
14370
|
else if (i !== y.RadarSeries)
|
|
14371
|
-
if (r instanceof
|
|
14371
|
+
if (r instanceof Jt)
|
|
14372
14372
|
l = v.gauge.gaugeMinGridDistance;
|
|
14373
14373
|
else if (e instanceof xe)
|
|
14374
14374
|
l = r instanceof vt ? v.xAxisMinGridDistance : v.yAxisMinGridDistance;
|
|
@@ -14486,7 +14486,7 @@ function d0(t) {
|
|
|
14486
14486
|
labelConfig: n,
|
|
14487
14487
|
chartType: s
|
|
14488
14488
|
} = t, r = e.get("renderer");
|
|
14489
|
-
if (!(r instanceof
|
|
14489
|
+
if (!(r instanceof Jt))
|
|
14490
14490
|
if (En(r) && o?.[0] === !0)
|
|
14491
14491
|
switch (s === y.HistogramSeries && i === void 0 ? ye.Hide : i) {
|
|
14492
14492
|
case ye.Hide:
|
|
@@ -14528,7 +14528,7 @@ function f0(t) {
|
|
|
14528
14528
|
axisLabelsBehaviorChanged: n,
|
|
14529
14529
|
chartType: s
|
|
14530
14530
|
} = t, r = { ...i }, l = e.get("renderer"), c = l?.get("opposite");
|
|
14531
|
-
En(l) ? (r.content.horizontalAlignment = "center", r.content.verticalAlignment = c ? "bottom" : "top") : (r.content.horizontalAlignment = c ? "left" : "right", r.content.verticalAlignment = "middle"), l instanceof
|
|
14531
|
+
En(l) ? (r.content.horizontalAlignment = "center", r.content.verticalAlignment = c ? "bottom" : "top") : (r.content.horizontalAlignment = c ? "left" : "right", r.content.verticalAlignment = "middle"), l instanceof Jt ? u0({ renderer: l, axisConfig: t.axisConfig, labelConfig: i }) : r.content.angle = r.content.angle ?? l.labels.template.get("rotation"), wt({
|
|
14532
14532
|
label: l.labels.template,
|
|
14533
14533
|
labelConfig: r
|
|
14534
14534
|
}), d0({
|
|
@@ -14544,9 +14544,9 @@ function m0(t) {
|
|
|
14544
14544
|
const { axis: e, isHorizontalAxis: i, label: a } = t, { chart: o } = e;
|
|
14545
14545
|
if (o) {
|
|
14546
14546
|
const n = i ? "width" : "height", s = i ? K.XAxisTitle : K.YAxisTitle;
|
|
14547
|
-
|
|
14547
|
+
di({ chart: o, label: a, labelType: s }), e.onPrivate(
|
|
14548
14548
|
n,
|
|
14549
|
-
rt(() =>
|
|
14549
|
+
rt(() => di({ chart: o, label: a, labelType: s }), v.debounceTime)
|
|
14550
14550
|
);
|
|
14551
14551
|
}
|
|
14552
14552
|
}
|
|
@@ -14618,7 +14618,7 @@ function C0(t) {
|
|
|
14618
14618
|
errorStrings: r,
|
|
14619
14619
|
gaugeMinMaxFromData: l
|
|
14620
14620
|
} = t, { axes: c, series: d } = i, u = Fa(i), { featureIndex: f, x: g } = d[0], h = c?.[0], p = e.xAxes.getIndex(0), b = { ...h };
|
|
14621
|
-
if (p instanceof xe && p.get("renderer") instanceof
|
|
14621
|
+
if (p instanceof xe && p.get("renderer") instanceof Jt && b !== void 0 && a && "dataItems" in a) {
|
|
14622
14622
|
const { valueFormat: S, needle: C } = b;
|
|
14623
14623
|
y0(e, i), S0(e, i);
|
|
14624
14624
|
const x = vr({
|
|
@@ -14667,7 +14667,7 @@ function x0(t) {
|
|
|
14667
14667
|
xe.new(o, {
|
|
14668
14668
|
min: 0,
|
|
14669
14669
|
max: 100,
|
|
14670
|
-
renderer:
|
|
14670
|
+
renderer: Jt.new(o, {})
|
|
14671
14671
|
})
|
|
14672
14672
|
);
|
|
14673
14673
|
p0(n), wf(n);
|
|
@@ -14805,7 +14805,7 @@ function Ni(t) {
|
|
|
14805
14805
|
let u;
|
|
14806
14806
|
switch (r) {
|
|
14807
14807
|
case y.HeatSeries:
|
|
14808
|
-
u = a ?
|
|
14808
|
+
u = a ? we.xField : we.yField;
|
|
14809
14809
|
break;
|
|
14810
14810
|
case y.HistogramSeries:
|
|
14811
14811
|
u = so.Start;
|
|
@@ -14818,7 +14818,7 @@ function Ni(t) {
|
|
|
14818
14818
|
break;
|
|
14819
14819
|
}
|
|
14820
14820
|
u && (d = i.push(Qe.new(e, { categoryField: u, renderer: n })));
|
|
14821
|
-
} else if (
|
|
14821
|
+
} else if (ui(o))
|
|
14822
14822
|
d = i.push(Ee.new(e, { strictMinMax: !0, baseInterval: { timeUnit: "day", count: 1 }, renderer: n }));
|
|
14823
14823
|
else if (xt(o) && (d = i.push(xe.new(e, { strictMinMax: !0, renderer: n })), s && d instanceof xe)) {
|
|
14824
14824
|
const u = i.getIndex(0);
|
|
@@ -14848,9 +14848,9 @@ function T0(t) {
|
|
|
14848
14848
|
heatChartHideEmptyRowsAndColumnsChanged: r
|
|
14849
14849
|
} = t;
|
|
14850
14850
|
if (i && (o || n || s || r)) {
|
|
14851
|
-
const l =
|
|
14852
|
-
if (
|
|
14853
|
-
const c = KC(e), d = i?.heatChartAxesData, u = c ===
|
|
14851
|
+
const l = jt(i);
|
|
14852
|
+
if (ni(a)) {
|
|
14853
|
+
const c = KC(e), d = i?.heatChartAxesData, u = c === we.xField ? d?.xAxisData : d?.yAxisData;
|
|
14854
14854
|
e.data.setAll(u ?? []);
|
|
14855
14855
|
} else
|
|
14856
14856
|
e.data.setAll(l ?? []);
|
|
@@ -14866,7 +14866,7 @@ function k0(t) {
|
|
|
14866
14866
|
label: r,
|
|
14867
14867
|
labelType: s ? K.XAxisTitle : K.YAxisTitle
|
|
14868
14868
|
};
|
|
14869
|
-
|
|
14869
|
+
di(c);
|
|
14870
14870
|
}
|
|
14871
14871
|
}
|
|
14872
14872
|
}
|
|
@@ -14906,7 +14906,7 @@ function jr(t) {
|
|
|
14906
14906
|
guides: z,
|
|
14907
14907
|
tickSpacing: E,
|
|
14908
14908
|
dateBaseInterval: W
|
|
14909
|
-
} = r, { root: U } = e, Y = H(b.series), ee = dt(b), de = je(b), { chart: _ } = e, ge = _ ? D(_.uid, "config") : void 0, Fe = _ ? D(_.uid, "options") : void 0, pe = lt(A), ut = St(pe).find((Kr) => Kr.name === ge?.series?.[0]?.x),
|
|
14909
|
+
} = r, { root: U } = e, Y = H(b.series), ee = dt(b), de = je(b), { chart: _ } = e, ge = _ ? D(_.uid, "config") : void 0, Fe = _ ? D(_.uid, "options") : void 0, pe = lt(A), ut = St(pe).find((Kr) => Kr.name === ge?.series?.[0]?.x), ti = Wm(ut), Zi = fn({ chartConfig: b, queryObject: A, options: Fe }), Hn = da(b.series[0]) ? b.series[0].temporalBinning?.outTimeZone : void 0, ya = e.get("renderer");
|
|
14910
14910
|
Ua(e.uid, {
|
|
14911
14911
|
zeroGridLine: { displayZeroLine: B, strokeWidth: R?.width ?? v.lineWidth, visible: R !== void 0 }
|
|
14912
14912
|
}), BL({ axis: e, isLogarithmic: $, axisConfigIndex: l }), OL({
|
|
@@ -14917,15 +14917,15 @@ function jr(t) {
|
|
|
14917
14917
|
isNonAggregatedChart: h,
|
|
14918
14918
|
overridePercentMultiplication: ee === re.Stacked100,
|
|
14919
14919
|
externalAxisLabelFormatter: S,
|
|
14920
|
-
isTimeOnlyField:
|
|
14920
|
+
isTimeOnlyField: ti,
|
|
14921
14921
|
setTimeZone: Zi,
|
|
14922
14922
|
outTimeZone: Hn,
|
|
14923
14923
|
errorStrings: L
|
|
14924
|
-
}), wL({ axis: e, isRotated: de, chartConfig: b }), PL({ axis: e, timeIntervalInfo: c, dateBaseInterval: W, xFieldIsTimeOnly:
|
|
14924
|
+
}), wL({ axis: e, isRotated: de, chartConfig: b }), PL({ axis: e, timeIntervalInfo: c, dateBaseInterval: W, xFieldIsTimeOnly: ti }), Zt({
|
|
14925
14925
|
element: ya,
|
|
14926
14926
|
lineSymbol: { color: [...v.color], ...k ?? yn() },
|
|
14927
14927
|
visible: T
|
|
14928
|
-
}),
|
|
14928
|
+
}), Zt({ element: ya.ticks.template, lineSymbol: k, visible: T }), Zt({ element: ya.grid.template, lineSymbol: R, visible: T }), R === void 0 && (e.get("renderer").grid.template.set("strokeWidth", v.lineWidth), e.markDirtyValues()), f0({
|
|
14929
14929
|
axis: e,
|
|
14930
14930
|
axisConfig: r,
|
|
14931
14931
|
chartType: Y,
|
|
@@ -14991,7 +14991,7 @@ function D0(t) {
|
|
|
14991
14991
|
...c,
|
|
14992
14992
|
axes: e.xAxes,
|
|
14993
14993
|
valueFormat: r.valueFormat,
|
|
14994
|
-
axisRenderer:
|
|
14994
|
+
axisRenderer: Jt.new(s, {}),
|
|
14995
14995
|
isXAxis: !0,
|
|
14996
14996
|
x: o
|
|
14997
14997
|
}), Ni({
|
|
@@ -15124,7 +15124,7 @@ function $0(t, e) {
|
|
|
15124
15124
|
color: e?.color ?? i.color,
|
|
15125
15125
|
width: e?.width ?? i.width
|
|
15126
15126
|
}, o = t.get("cursor")?.lineX, n = t.get("cursor")?.lineY;
|
|
15127
|
-
|
|
15127
|
+
Zt({ element: o, lineSymbol: a }), Zt({ element: n, lineSymbol: a });
|
|
15128
15128
|
}
|
|
15129
15129
|
function Vf(t) {
|
|
15130
15130
|
const { root: e, chart: i, config: a, queryObject: o, errorStrings: n } = t;
|
|
@@ -15152,7 +15152,7 @@ function R0(t) {
|
|
|
15152
15152
|
const { chart: e, enabled: i } = t, a = i ? "pointer" : "default";
|
|
15153
15153
|
e instanceof aa && e.series.each((o) => {
|
|
15154
15154
|
switch (!0) {
|
|
15155
|
-
case o instanceof
|
|
15155
|
+
case o instanceof Oe:
|
|
15156
15156
|
o.columns.template.set("cursorOverStyle", a);
|
|
15157
15157
|
break;
|
|
15158
15158
|
case o instanceof fe:
|
|
@@ -15166,7 +15166,7 @@ function R0(t) {
|
|
|
15166
15166
|
});
|
|
15167
15167
|
}
|
|
15168
15168
|
function B0(t) {
|
|
15169
|
-
const { chart: e, actionMode: i, cursorRange: a } = t, o = D(e.uid, "isRotated"), n = D(e.uid, "config"), s = H(n?.series), r = s === y.ScatterSeries, l = (s === y.LineSeries || s === y.RadarSeries) && xt(n?.axes?.[0]?.valueFormat), c = (s === y.LineSeries || s === y.RadarSeries) && Co(n?.axes?.[0]?.valueFormat), d = (s === y.LineSeries || s === y.RadarSeries) &&
|
|
15169
|
+
const { chart: e, actionMode: i, cursorRange: a } = t, o = D(e.uid, "isRotated"), n = D(e.uid, "config"), s = H(n?.series), r = s === y.ScatterSeries, l = (s === y.LineSeries || s === y.RadarSeries) && xt(n?.axes?.[0]?.valueFormat), c = (s === y.LineSeries || s === y.RadarSeries) && Co(n?.axes?.[0]?.valueFormat), d = (s === y.LineSeries || s === y.RadarSeries) && ui(n?.axes?.[0]?.valueFormat);
|
|
15170
15170
|
let u, f = !1;
|
|
15171
15171
|
const g = i ?? D(e.uid, "actionMode") ?? v.actionMode;
|
|
15172
15172
|
if (D(e.uid, "filterBySelection") === !0)
|
|
@@ -15244,7 +15244,7 @@ function Wf(t, e) {
|
|
|
15244
15244
|
label: c,
|
|
15245
15245
|
labelConfig: i,
|
|
15246
15246
|
defaults: v.titleLabel
|
|
15247
|
-
}),
|
|
15247
|
+
}), di({
|
|
15248
15248
|
chart: t,
|
|
15249
15249
|
label: c,
|
|
15250
15250
|
labelType: K.ChartTitle
|
|
@@ -15258,7 +15258,7 @@ function Wf(t, e) {
|
|
|
15258
15258
|
label: c,
|
|
15259
15259
|
labelConfig: a,
|
|
15260
15260
|
defaults: v.subtitleLabel
|
|
15261
|
-
}),
|
|
15261
|
+
}), di({
|
|
15262
15262
|
chart: t,
|
|
15263
15263
|
label: c,
|
|
15264
15264
|
labelType: K.ChartSubTitle
|
|
@@ -15293,7 +15293,7 @@ function zf(t, e) {
|
|
|
15293
15293
|
label: a,
|
|
15294
15294
|
labelConfig: e,
|
|
15295
15295
|
defaults: v.footer
|
|
15296
|
-
}),
|
|
15296
|
+
}), di({
|
|
15297
15297
|
chart: t,
|
|
15298
15298
|
label: a,
|
|
15299
15299
|
labelType: K.ChartFooter
|
|
@@ -15386,7 +15386,7 @@ function H0(t, e) {
|
|
|
15386
15386
|
});
|
|
15387
15387
|
}
|
|
15388
15388
|
function G0(t) {
|
|
15389
|
-
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 } = _a(i, a), p = zm(i), b =
|
|
15389
|
+
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 } = _a(i, a), p = zm(i), b = Oe.new(e, {
|
|
15390
15390
|
id: c,
|
|
15391
15391
|
name: d,
|
|
15392
15392
|
stacked: p,
|
|
@@ -15400,7 +15400,7 @@ function G0(t) {
|
|
|
15400
15400
|
});
|
|
15401
15401
|
We(b.columns.template, s?.selectionTheme);
|
|
15402
15402
|
const S = Ui.new({});
|
|
15403
|
-
return Pe(b.uid, { bulletTemplate: S }),
|
|
15403
|
+
return Pe(b.uid, { bulletTemplate: S }), ei({ element: b.columns.template, series: b, queryObject: r, errorStrings: l }), b.bullets.push((C) => {
|
|
15404
15404
|
const x = Wt.new(C, {}, S);
|
|
15405
15405
|
return Fi.new(C, {
|
|
15406
15406
|
sprite: x
|
|
@@ -15709,7 +15709,7 @@ function Q0(t) {
|
|
|
15709
15709
|
[u.dataFields.high]: u.properties.high,
|
|
15710
15710
|
[u.dataFields.value]: u.properties.value,
|
|
15711
15711
|
[u.dataFields.category]: u.properties.category
|
|
15712
|
-
}), d.columns.template.setAll({ themeTags: [], width: Ke(80) }), We(d.columns.template, s?.selectionTheme),
|
|
15712
|
+
}), d.columns.template.setAll({ themeTags: [], width: Ke(80) }), We(d.columns.template, s?.selectionTheme), ei({
|
|
15713
15713
|
element: d.columns.template,
|
|
15714
15714
|
series: d,
|
|
15715
15715
|
queryObject: r,
|
|
@@ -15774,7 +15774,7 @@ function iF(t) {
|
|
|
15774
15774
|
const h = Wt.new(g, {}, f), p = Fi.new(g, {
|
|
15775
15775
|
sprite: h
|
|
15776
15776
|
});
|
|
15777
|
-
return d &&
|
|
15777
|
+
return d && ei({ element: h, series: d, queryObject: r, errorStrings: l }), p;
|
|
15778
15778
|
}), d.strokes.template.set("lineJoin", v.lineJoin);
|
|
15779
15779
|
}
|
|
15780
15780
|
return d;
|
|
@@ -15872,7 +15872,7 @@ function cF(t) {
|
|
|
15872
15872
|
const h = Wt.new(g, {}, f), p = Fi.new(g, {
|
|
15873
15873
|
sprite: h
|
|
15874
15874
|
});
|
|
15875
|
-
return d &&
|
|
15875
|
+
return d && ei({ element: h, series: d, queryObject: r, errorStrings: l }), hF({ outlierSeries: d, bullet: p, seriesConfigId: c.id }), p;
|
|
15876
15876
|
}), d.appear();
|
|
15877
15877
|
}
|
|
15878
15878
|
return d;
|
|
@@ -15951,7 +15951,7 @@ function is(t) {
|
|
|
15951
15951
|
noRisers: !0,
|
|
15952
15952
|
[f.dataFields.value]: f.properties.value,
|
|
15953
15953
|
[f.dataFields.category]: f.properties.category
|
|
15954
|
-
}), We(u.strokes.template, r?.selectionTheme),
|
|
15954
|
+
}), We(u.strokes.template, r?.selectionTheme), ei({
|
|
15955
15955
|
element: u.strokes.template,
|
|
15956
15956
|
series: u,
|
|
15957
15957
|
queryObject: l,
|
|
@@ -16288,7 +16288,7 @@ function FF(t) {
|
|
|
16288
16288
|
},
|
|
16289
16289
|
b
|
|
16290
16290
|
);
|
|
16291
|
-
return
|
|
16291
|
+
return ei({ element: C, series: p, queryObject: r, errorStrings: l }), Tf(C, p), Fi.new(S, { sprite: C });
|
|
16292
16292
|
}), p.strokes.template.set("lineJoin", v.lineJoin), Yr(p), qa(p, i), p;
|
|
16293
16293
|
}
|
|
16294
16294
|
function AF(t) {
|
|
@@ -16521,7 +16521,7 @@ function RF(t, e) {
|
|
|
16521
16521
|
crisp: !1
|
|
16522
16522
|
});
|
|
16523
16523
|
const o = i?.lineSymbol ?? yn({ color: tr });
|
|
16524
|
-
a && (o.width = 0),
|
|
16524
|
+
a && (o.width = 0), Zt({
|
|
16525
16525
|
element: t.ticks.template,
|
|
16526
16526
|
lineSymbol: o,
|
|
16527
16527
|
visible: !a
|
|
@@ -16561,7 +16561,7 @@ function NF(t) {
|
|
|
16561
16561
|
seriesWereReinitialized: s,
|
|
16562
16562
|
labelUpdateNeeded: r,
|
|
16563
16563
|
groupOfSlicesUpdateNeeded: l
|
|
16564
|
-
} = t, { x: c, y: d } = a, u = j([a]), f = u === V.PieFromFields ?
|
|
16564
|
+
} = t, { x: c, y: d } = a, u = j([a]), f = u === V.PieFromFields ? ii : c;
|
|
16565
16565
|
if (i && (o === !0 || s === !0 || n === !0 || l === !0))
|
|
16566
16566
|
e.setAll({
|
|
16567
16567
|
categoryField: f,
|
|
@@ -16595,7 +16595,7 @@ function EF(t) {
|
|
|
16595
16595
|
const { root: e, seriesConfig: i, options: a, chart: o, queryObject: n, errorStrings: s } = t, { id: r, name: l, x: c, y: d } = i, u = j([i]), f = ht.new(e, {
|
|
16596
16596
|
id: r,
|
|
16597
16597
|
name: l,
|
|
16598
|
-
categoryField: u === V.PieFromFields ?
|
|
16598
|
+
categoryField: u === V.PieFromFields ? ii : c,
|
|
16599
16599
|
valueField: u === V.PieFromFields ? La : d
|
|
16600
16600
|
});
|
|
16601
16601
|
return wF(f, a?.dataLabelFormatter), Nr(f, a?.tooltipFormatter), f.slices.template.states.create("hover", {
|
|
@@ -16603,7 +16603,7 @@ function EF(t) {
|
|
|
16603
16603
|
// Prevent scaling on hover
|
|
16604
16604
|
stateAnimationDuration: 0
|
|
16605
16605
|
// Remove animation
|
|
16606
|
-
}), We(f.slices.template, a?.selectionTheme),
|
|
16606
|
+
}), We(f.slices.template, a?.selectionTheme), ei({ element: f.slices.template, series: f, queryObject: n, errorStrings: s }), f.appear(), o instanceof Kt && qf(o, f), f;
|
|
16607
16607
|
}
|
|
16608
16608
|
function WF(t) {
|
|
16609
16609
|
const {
|
|
@@ -16641,7 +16641,7 @@ function WF(t) {
|
|
|
16641
16641
|
tooltipFormatter: f
|
|
16642
16642
|
});
|
|
16643
16643
|
const { chart: g } = e;
|
|
16644
|
-
g instanceof
|
|
16644
|
+
g instanceof Kt && qf(g, e);
|
|
16645
16645
|
}
|
|
16646
16646
|
function qf(t, e) {
|
|
16647
16647
|
if (!t.isDisposed()) {
|
|
@@ -16750,7 +16750,7 @@ function GF(t) {
|
|
|
16750
16750
|
},
|
|
16751
16751
|
b
|
|
16752
16752
|
);
|
|
16753
|
-
return
|
|
16753
|
+
return ei({ element: C, series: p, queryObject: r, errorStrings: l }), Fi.new(S, { sprite: C });
|
|
16754
16754
|
}), p.strokes.template.set("lineJoin", v.lineJoin), Yr(p), qa(p, i), p;
|
|
16755
16755
|
}
|
|
16756
16756
|
function XF(t) {
|
|
@@ -16844,7 +16844,7 @@ function Zr(t) {
|
|
|
16844
16844
|
const g = i.series[f], { assignToSecondValueAxis: h, type: p } = g, b = e instanceof Le ? xL({ chart: e, chartType: c, rotated: r, assignToSecondValueAxis: h }) : void 0, { xAxis: S, xAxisForHistogramOverlaySeries: C, yAxis: x } = b ?? {};
|
|
16845
16845
|
switch (!0) {
|
|
16846
16846
|
case p === y.HeatSeries: {
|
|
16847
|
-
|
|
16847
|
+
si(n), S && x && u.push(
|
|
16848
16848
|
ev({
|
|
16849
16849
|
...d,
|
|
16850
16850
|
queryObject: n,
|
|
@@ -16989,7 +16989,7 @@ function zn(t) {
|
|
|
16989
16989
|
const ge = de.type;
|
|
16990
16990
|
switch (!0) {
|
|
16991
16991
|
case I === y.HeatSeries: {
|
|
16992
|
-
_ instanceof
|
|
16992
|
+
_ instanceof Oe && e instanceof Le && ni(i) && ov({
|
|
16993
16993
|
...Y,
|
|
16994
16994
|
series: _,
|
|
16995
16995
|
data: o,
|
|
@@ -17014,7 +17014,7 @@ function zn(t) {
|
|
|
17014
17014
|
break;
|
|
17015
17015
|
}
|
|
17016
17016
|
case ge === y.HistogramSeries: {
|
|
17017
|
-
_ instanceof
|
|
17017
|
+
_ instanceof Oe && e instanceof Le && Og(o) && uL({
|
|
17018
17018
|
...Y,
|
|
17019
17019
|
series: _,
|
|
17020
17020
|
allChartSeries: $,
|
|
@@ -17026,7 +17026,7 @@ function zn(t) {
|
|
|
17026
17026
|
break;
|
|
17027
17027
|
}
|
|
17028
17028
|
case ge === y.PieSeries: {
|
|
17029
|
-
_ instanceof ht && e instanceof
|
|
17029
|
+
_ instanceof ht && e instanceof Kt && Kn(o) && WF({
|
|
17030
17030
|
...U,
|
|
17031
17031
|
series: _,
|
|
17032
17032
|
seriesConfig: de,
|
|
@@ -17040,7 +17040,7 @@ function zn(t) {
|
|
|
17040
17040
|
break;
|
|
17041
17041
|
}
|
|
17042
17042
|
case (I === y.ComboLineAndBarSeries || I === y.BarSeries || I === y.LineSeries):
|
|
17043
|
-
e instanceof Le && Kn(o) && (ge === y.BarSeries && _ instanceof
|
|
17043
|
+
e instanceof Le && Kn(o) && (ge === y.BarSeries && _ instanceof Oe ? _0({
|
|
17044
17044
|
...Y,
|
|
17045
17045
|
series: _,
|
|
17046
17046
|
data: o,
|
|
@@ -17094,20 +17094,20 @@ function _F(t) {
|
|
|
17094
17094
|
Ti(t) || t.dataItems.forEach((e) => {
|
|
17095
17095
|
const i = e.bullets?.[0];
|
|
17096
17096
|
if (i) {
|
|
17097
|
-
const a = i.get("sprite"), o =
|
|
17097
|
+
const a = i.get("sprite"), o = fi(a.uid, "selected") !== !0;
|
|
17098
17098
|
ot({ element: a, selected: o });
|
|
17099
17099
|
}
|
|
17100
17100
|
});
|
|
17101
17101
|
}
|
|
17102
17102
|
function jF(t) {
|
|
17103
17103
|
t.columns.each((e) => {
|
|
17104
|
-
const i =
|
|
17104
|
+
const i = fi(e.uid, "selected") !== !0;
|
|
17105
17105
|
ot({ element: e, selected: i });
|
|
17106
17106
|
});
|
|
17107
17107
|
}
|
|
17108
17108
|
function qF(t) {
|
|
17109
17109
|
t.slices.each((e) => {
|
|
17110
|
-
const i =
|
|
17110
|
+
const i = fi(e.uid, "selected") !== !0;
|
|
17111
17111
|
ot({ element: e, selected: i });
|
|
17112
17112
|
});
|
|
17113
17113
|
}
|
|
@@ -17117,7 +17117,7 @@ async function ZF(t) {
|
|
|
17117
17117
|
const o = D(e.uid, "actionMode");
|
|
17118
17118
|
o !== Z.MonoSelection && o !== Z.None && (e.series.each((n) => {
|
|
17119
17119
|
switch (!0) {
|
|
17120
|
-
case n instanceof
|
|
17120
|
+
case n instanceof Oe:
|
|
17121
17121
|
jF(n);
|
|
17122
17122
|
break;
|
|
17123
17123
|
case n instanceof fe:
|
|
@@ -17129,7 +17129,7 @@ async function ZF(t) {
|
|
|
17129
17129
|
}
|
|
17130
17130
|
}), await Hr({
|
|
17131
17131
|
chart: e,
|
|
17132
|
-
selectionSource:
|
|
17132
|
+
selectionSource: De.ProgrammaticSelection,
|
|
17133
17133
|
queryObject: i,
|
|
17134
17134
|
errorStrings: a
|
|
17135
17135
|
}));
|
|
@@ -17203,7 +17203,7 @@ function Ts(t) {
|
|
|
17203
17203
|
const { chart: e, actionMode: i, cursorRange: a } = t;
|
|
17204
17204
|
if (wr(e)) {
|
|
17205
17205
|
const o = i ?? D(e.uid, "actionMode") ?? v.actionMode;
|
|
17206
|
-
Re(e.uid, { actionMode: o }), o === Z.None && ba({ chart: e, selectionSource:
|
|
17206
|
+
Re(e.uid, { actionMode: o }), o === Z.None && ba({ chart: e, selectionSource: De.ClearSelection }), B0({ chart: e, actionMode: o, cursorRange: a });
|
|
17207
17207
|
}
|
|
17208
17208
|
}
|
|
17209
17209
|
function tA(t) {
|
|
@@ -17219,7 +17219,7 @@ function iA(t, e) {
|
|
|
17219
17219
|
a = Vi;
|
|
17220
17220
|
break;
|
|
17221
17221
|
case y.PieSeries:
|
|
17222
|
-
a =
|
|
17222
|
+
a = Kt;
|
|
17223
17223
|
break;
|
|
17224
17224
|
default:
|
|
17225
17225
|
a = Le;
|
|
@@ -17399,12 +17399,12 @@ function nA(t) {
|
|
|
17399
17399
|
dataWasUpdated: r
|
|
17400
17400
|
});
|
|
17401
17401
|
let _ = !1, ge = !1, Fe = !1, pe = !1;
|
|
17402
|
-
|
|
17402
|
+
ni(T) && ni(n) && (_ = _m(T, n), ge = jm(T, n), Fe = qm(T, n) || Zm(T, n) || _, pe = Km(T, n));
|
|
17403
17403
|
const it = Xc({
|
|
17404
17404
|
oldConfig: T,
|
|
17405
17405
|
newConfig: n,
|
|
17406
17406
|
rotationChanged: R
|
|
17407
|
-
}), ut = T.series,
|
|
17407
|
+
}), ut = T.series, ti = n.series;
|
|
17408
17408
|
if (r) {
|
|
17409
17409
|
const { queryConfig: Gn, count: Xn } = b ?? {};
|
|
17410
17410
|
Re(e.uid, {
|
|
@@ -17414,10 +17414,10 @@ function nA(t) {
|
|
|
17414
17414
|
timeIntervalInfo: S !== void 0 && "timeIntervalInfo" in S ? S.timeIntervalInfo : void 0
|
|
17415
17415
|
});
|
|
17416
17416
|
}
|
|
17417
|
-
e instanceof aa && ZC({ chartSeries: e.series, oldSeries: ut, newSeries:
|
|
17418
|
-
const Zi = e instanceof
|
|
17417
|
+
e instanceof aa && ZC({ chartSeries: e.series, oldSeries: ut, newSeries: ti });
|
|
17418
|
+
const Zi = e instanceof Kt ? lr(
|
|
17419
17419
|
ut,
|
|
17420
|
-
|
|
17420
|
+
ti
|
|
17421
17421
|
) : !1, Hn = Ic({ oldConfig: T, newConfig: n }), ya = /* @__PURE__ */ new Map();
|
|
17422
17422
|
switch ((g ?? n).series.forEach((Gn, Xn) => {
|
|
17423
17423
|
ya.set(Gn.id, Xn);
|
|
@@ -17430,7 +17430,7 @@ function nA(t) {
|
|
|
17430
17430
|
errorStrings: x
|
|
17431
17431
|
}), H(n.series)) {
|
|
17432
17432
|
case y.PieSeries: {
|
|
17433
|
-
e instanceof
|
|
17433
|
+
e instanceof Kt && (si(p), aA({
|
|
17434
17434
|
chart: e,
|
|
17435
17435
|
chartConfig: n,
|
|
17436
17436
|
options: s,
|
|
@@ -17625,7 +17625,7 @@ function lA(t) {
|
|
|
17625
17625
|
utilsStrings: f,
|
|
17626
17626
|
errorStrings: u,
|
|
17627
17627
|
gaugeMinMaxFromData: S
|
|
17628
|
-
}) : x instanceof
|
|
17628
|
+
}) : x instanceof Kt && h && "dataItems" in h && (si(c), sA({
|
|
17629
17629
|
chart: x,
|
|
17630
17630
|
data: h,
|
|
17631
17631
|
chartConfig: i,
|
|
@@ -17772,7 +17772,7 @@ function yA(t) {
|
|
|
17772
17772
|
}
|
|
17773
17773
|
function SA(t) {
|
|
17774
17774
|
const { config: e, themeColors: i } = t;
|
|
17775
|
-
|
|
17775
|
+
ni(e) && i.lineColor && e.series.forEach((a) => {
|
|
17776
17776
|
a.gridLine && !a.gridLine.color && (a.gridLine.color = i.lineColor);
|
|
17777
17777
|
});
|
|
17778
17778
|
}
|
|
@@ -17805,7 +17805,7 @@ function LA(t) {
|
|
|
17805
17805
|
i = Nt.watch(
|
|
17806
17806
|
() => a.renderer,
|
|
17807
17807
|
() => {
|
|
17808
|
-
const { model: o } = t, n =
|
|
17808
|
+
const { model: o } = t, n = _t(o) ? o.config : o;
|
|
17809
17809
|
if (Yi(n) && t.layerRendererChangePolicy === dd.Refresh) {
|
|
17810
17810
|
const s = xA();
|
|
17811
17811
|
t.refresh({ updateData: s });
|
|
@@ -17816,7 +17816,7 @@ function LA(t) {
|
|
|
17816
17816
|
return i;
|
|
17817
17817
|
}
|
|
17818
17818
|
async function FA(t) {
|
|
17819
|
-
const { view: e, layer: i, model: a, filterByExtent: o, filterByViewExtent: n } = t, s =
|
|
17819
|
+
const { view: e, layer: i, model: a, filterByExtent: o, filterByViewExtent: n } = t, s = _t(a) ? a.config : a;
|
|
17820
17820
|
let r;
|
|
17821
17821
|
if (e && s) {
|
|
17822
17822
|
const l = await jc({
|
|
@@ -17842,14 +17842,14 @@ function AA(t) {
|
|
|
17842
17842
|
return e && (i = Nt.watch(
|
|
17843
17843
|
() => e.timeExtent,
|
|
17844
17844
|
() => {
|
|
17845
|
-
const { model: a } = t, o =
|
|
17845
|
+
const { model: a } = t, o = _t(a) ? a.config : a, n = H(o?.series);
|
|
17846
17846
|
(t.viewTimeExtentChangePolicy === fd.Refresh || t.syncViewTimeExtent) && n !== y.HistogramSeries && t.refresh({ updateData: !0 });
|
|
17847
17847
|
}
|
|
17848
17848
|
)), i;
|
|
17849
17849
|
}
|
|
17850
17850
|
function Eo(t) {
|
|
17851
17851
|
const { syncViewTimeZone: e, syncViewTimeZoneInclusionList: i, chartConfig: a } = t, o = H(a?.series);
|
|
17852
|
-
return (e || (o && i.includes(o)) === !0) && (
|
|
17852
|
+
return (e || (o && i.includes(o)) === !0) && (ni(a) || da(a?.series[0]) && a.axes?.[0].valueFormat?.type === y.DateAxisFormat);
|
|
17853
17853
|
}
|
|
17854
17854
|
function TA(t) {
|
|
17855
17855
|
const { view: e, syncViewTimeZone: i, syncViewTimeZoneInclusionList: a } = t;
|
|
@@ -17857,7 +17857,7 @@ function TA(t) {
|
|
|
17857
17857
|
return e && "timeZone" in e && (o = Nt.watch(
|
|
17858
17858
|
() => e.timeZone,
|
|
17859
17859
|
() => {
|
|
17860
|
-
const { model: n } = t, s =
|
|
17860
|
+
const { model: n } = t, s = _t(n) ? n.config : n;
|
|
17861
17861
|
Eo({ syncViewTimeZone: i, syncViewTimeZoneInclusionList: a, chartConfig: s }) && (t.timeZone = e.timeZone, t.refresh({ updateData: !0 }));
|
|
17862
17862
|
}
|
|
17863
17863
|
)), o;
|
|
@@ -18171,7 +18171,7 @@ class NA extends Jf {
|
|
|
18171
18171
|
const i = e, { selectionData: a, model: o } = i.detail, n = this.layer && o?.layer?.id === Sa(this.layer).id;
|
|
18172
18172
|
(this.syncSelection || this.syncChartsSelection) && n && e.target !== this.el && !Mt(a.selectionOIDs, this.selectionData?.selectionOIDs) && (a.selectionOIDs ? (this.selectionData = {
|
|
18173
18173
|
selectionOIDs: a.selectionOIDs,
|
|
18174
|
-
selectionSource:
|
|
18174
|
+
selectionSource: De.ProgrammaticSelection
|
|
18175
18175
|
}, this.arcgisSelectionComplete.emit({ selectionData: this.selectionData, model: this._model })) : this.clearSelection());
|
|
18176
18176
|
}
|
|
18177
18177
|
}, this.configPanelNumberChange = (e) => {
|
|
@@ -18268,13 +18268,15 @@ class NA extends Jf {
|
|
|
18268
18268
|
if (d) {
|
|
18269
18269
|
const u = e === void 0, f = St(d, a), g = this.lastRenderedProps?.chartConfig, h = this.lastRenderedProps?.options?.selectionData?.selectionOIDs, p = this.lastRenderedProps?.dataUpdateNeededProps, b = this.lastRenderedProps?.extraProps?.layer, S = this.lastRenderedProps?.extraProps?.filterBySelection;
|
|
18270
18270
|
let C = u, x;
|
|
18271
|
-
p && Object.keys(p).forEach((
|
|
18272
|
-
const
|
|
18273
|
-
C = C || !Mt(
|
|
18271
|
+
p && Object.keys(p).forEach((T) => {
|
|
18272
|
+
const k = p ? p[T] : void 0, I = this[T];
|
|
18273
|
+
C = C || !Mt(k, I);
|
|
18274
18274
|
});
|
|
18275
18275
|
const L = Ji(b) !== Ji(o);
|
|
18276
|
-
|
|
18277
|
-
|
|
18276
|
+
C = C || L, x = { common: { layerChanged: L } };
|
|
18277
|
+
const A = Ie(_t(this.model) ? i : this.model);
|
|
18278
|
+
if (A && g) {
|
|
18279
|
+
const T = this.getEffectiveTimeZone(A, c);
|
|
18278
18280
|
gh(T, A);
|
|
18279
18281
|
const k = eg({
|
|
18280
18282
|
previousConfig: g,
|
|
@@ -18330,7 +18332,9 @@ class NA extends Jf {
|
|
|
18330
18332
|
viewTimeExtentChangePolicy: r,
|
|
18331
18333
|
syncViewTimeExtent: l
|
|
18332
18334
|
}), k = this.getEffectiveTimeZone(e, h), { alteredConfig: I, preFetchedQueryResponse: w } = await hh({
|
|
18333
|
-
|
|
18335
|
+
// Picking this.model when it's a WebChart as its series might be more up to date than the config.series because the previous call to _prepareConfigForRendering altering
|
|
18336
|
+
// the model series after calling prepareConfigForRendering()
|
|
18337
|
+
configToAlter: _t(this.model) ? e : this.model,
|
|
18334
18338
|
updateSplitBySeries: a,
|
|
18335
18339
|
addMissingSeries: A,
|
|
18336
18340
|
chartContainer: this.el,
|
|
@@ -18345,7 +18349,7 @@ class NA extends Jf {
|
|
|
18345
18349
|
chartLimits: f,
|
|
18346
18350
|
errorStrings: g
|
|
18347
18351
|
});
|
|
18348
|
-
return JSON.stringify(this._alteredConfig) !== JSON.stringify(I) && (this._alteredConfig = I, this.model && I && !
|
|
18352
|
+
return JSON.stringify(this._alteredConfig) !== JSON.stringify(I) && (this._alteredConfig = I, this.model && I && !_t(this.model) && (this.model.series = I.series)), w;
|
|
18349
18353
|
},
|
|
18350
18354
|
onComplete: () => {
|
|
18351
18355
|
this.taskCompletionTick++;
|
|
@@ -18536,7 +18540,7 @@ class NA extends Jf {
|
|
|
18536
18540
|
secondaryYAxisLabelFormatter: this.secondaryYAxisLabelFormatter
|
|
18537
18541
|
};
|
|
18538
18542
|
if (this.sanitizedChartData) {
|
|
18539
|
-
const n = await this._loadQueryObject.taskComplete, s = n ? St(n, this.usePopupTemplateFieldsInfo || this.popupTemplateFieldInfosEnabled) : void 0, r = this._model?.config ?? this.config, l = ag(this.getEffectiveTimeZone(r)), c = this.processedChartData ?? this.sanitizedChartData, d = await og(lt(n)), u = r?.chartRenderer ? ng(r.chartRenderer) : [], f = [.../* @__PURE__ */ new Set([...d, ...u])], g = Ia(r, f), h =
|
|
18543
|
+
const n = await this._loadQueryObject.taskComplete, s = n ? St(n, this.usePopupTemplateFieldsInfo || this.popupTemplateFieldInfosEnabled) : void 0, r = this._model?.config ?? this.config, l = ag(this.getEffectiveTimeZone(r)), c = this.processedChartData ?? this.sanitizedChartData, d = await og(lt(n)), u = r?.chartRenderer ? ng(r.chartRenderer) : [], f = [.../* @__PURE__ */ new Set([...d, ...u])], g = Ia(r, f), h = _t(this.model) ? this.model.titleText : this.config?.title?.content?.text ?? this.commonStrings.utilsStrings.chartType.chart;
|
|
18540
18544
|
if (Object.values(c).filter((b) => Array.isArray(b) && b.length > 0).length > 1) {
|
|
18541
18545
|
const b = new nm();
|
|
18542
18546
|
Object.entries(c).forEach(([C, x]) => {
|
|
@@ -18613,7 +18617,7 @@ class NA extends Jf {
|
|
|
18613
18617
|
const e = this.getSelectionFromSelectionManager();
|
|
18614
18618
|
e && (this.selectionData = {
|
|
18615
18619
|
selectionOIDs: e,
|
|
18616
|
-
selectionSource:
|
|
18620
|
+
selectionSource: De.ProgrammaticSelection
|
|
18617
18621
|
});
|
|
18618
18622
|
}
|
|
18619
18623
|
}
|
|
@@ -18638,7 +18642,7 @@ class NA extends Jf {
|
|
|
18638
18642
|
}
|
|
18639
18643
|
}
|
|
18640
18644
|
synchronizeModelConfig() {
|
|
18641
|
-
this._config && (
|
|
18645
|
+
this._config && (_t(this.model) ? this.model.config = Ie(this._config) : JSON.stringify(this._config) !== JSON.stringify(this.model) && (this.model = Ie(this._config)));
|
|
18642
18646
|
}
|
|
18643
18647
|
getEffectiveTimeZone(e, i) {
|
|
18644
18648
|
const a = this.view && "timeZone" in this.view && this.view.timeZone ? this.view.timeZone : void 0, o = Eo({
|
|
@@ -18682,7 +18686,7 @@ class NA extends Jf {
|
|
|
18682
18686
|
classBreakInfos: i,
|
|
18683
18687
|
type: "classBreaks",
|
|
18684
18688
|
// TODO (heat-chart) use the correct type
|
|
18685
|
-
field:
|
|
18689
|
+
field: we.valueField
|
|
18686
18690
|
});
|
|
18687
18691
|
}
|
|
18688
18692
|
}
|
|
@@ -18714,7 +18718,7 @@ class NA extends Jf {
|
|
|
18714
18718
|
const e = this.getSelectionFromSelectionManager();
|
|
18715
18719
|
e && !Mt(e, this.selectionData?.selectionOIDs) && (this.selectionData = {
|
|
18716
18720
|
selectionOIDs: e,
|
|
18717
|
-
selectionSource:
|
|
18721
|
+
selectionSource: De.ProgrammaticSelection
|
|
18718
18722
|
}, this.arcgisSelectionComplete.emit({ selectionData: this.selectionData, model: this._model }));
|
|
18719
18723
|
}
|
|
18720
18724
|
applySelectionFromView() {
|
|
@@ -18781,7 +18785,7 @@ class NA extends Jf {
|
|
|
18781
18785
|
this.arcgisSeriesOrder.emit(e.detail);
|
|
18782
18786
|
}
|
|
18783
18787
|
modelChange() {
|
|
18784
|
-
if (
|
|
18788
|
+
if (_t(this.model)) {
|
|
18785
18789
|
this._model = this.model, this.config = Ie(this._model?.config);
|
|
18786
18790
|
const e = this._model?.layer;
|
|
18787
18791
|
!this.layerItemId && e && (this.layer = e), this.addModelListeners(), this._model.asyncUpdatesPromise.then(() => {
|
|
@@ -18846,7 +18850,7 @@ class NA extends Jf {
|
|
|
18846
18850
|
const e = this.selectionManager ?? this.view?.selectionManager;
|
|
18847
18851
|
if (this.layer && e && !qe(this.layer) && (this.syncViewSelection || this.syncSelectionsBetweenChartAndLayerViewPolicy === eo.Enabled)) {
|
|
18848
18852
|
let i;
|
|
18849
|
-
const a = this.selectionData?.selectionOIDs?.length === 0 || this.selectionData?.selectionOIDs === void 0 || this.selectionData?.selectionSource ===
|
|
18853
|
+
const a = this.selectionData?.selectionOIDs?.length === 0 || this.selectionData?.selectionOIDs === void 0 || this.selectionData?.selectionSource === De.ClearSelection, o = (this.selectionData?.selectionOIDs?.length ?? 0) > 0;
|
|
18850
18854
|
a ? i = [] : o && this.selectionData && (i = this.selectionData.selectionOIDs), i && e.replace(Sa(this.layer), i);
|
|
18851
18855
|
}
|
|
18852
18856
|
}
|
|
@@ -18964,7 +18968,7 @@ class NA extends Jf {
|
|
|
18964
18968
|
syncViewTimeExtent: this.syncViewTimeExtent
|
|
18965
18969
|
}), a = this.filterByExtent || this.filterByViewExtent;
|
|
18966
18970
|
let o;
|
|
18967
|
-
const n =
|
|
18971
|
+
const n = _t(this.model) ? this.model.config : this.model;
|
|
18968
18972
|
if (qe(this.layer))
|
|
18969
18973
|
o = a ? this.view : void 0;
|
|
18970
18974
|
else {
|
|
@@ -19024,14 +19028,14 @@ class NA extends Jf {
|
|
|
19024
19028
|
js({
|
|
19025
19029
|
chartConfig: this.config,
|
|
19026
19030
|
axisConfigIndex: o,
|
|
19027
|
-
chartData:
|
|
19031
|
+
chartData: jt(e?.data ?? this.sanitizedChartData)
|
|
19028
19032
|
}) || (i = !1, this.raiseInvalidDataWarning(o === 0 ? wi.NegativeValueInXAxisLogScale : wi.NegativeValueInYAxisLogScale));
|
|
19029
19033
|
}), i;
|
|
19030
19034
|
}
|
|
19031
19035
|
raiseNoDataWarning(e, i) {
|
|
19032
19036
|
let a = !1;
|
|
19033
19037
|
if (e?.data) {
|
|
19034
|
-
const o =
|
|
19038
|
+
const o = jt(e.data);
|
|
19035
19039
|
let n = wi.EmptyDataSet;
|
|
19036
19040
|
fg({
|
|
19037
19041
|
chartConfig: i,
|
|
@@ -19166,7 +19170,7 @@ class NA extends Jf {
|
|
|
19166
19170
|
options: o,
|
|
19167
19171
|
queryObject: a
|
|
19168
19172
|
}), Bs(d, c) && (p = !0);
|
|
19169
|
-
const T = Pi(c) ? c.showMean : void 0, k = h?.data ?? this.sanitizedChartData, I = k && T && "meanLines" in k ? k.meanLines :
|
|
19173
|
+
const T = Pi(c) ? c.showMean : void 0, k = h?.data ?? this.sanitizedChartData, I = k && T && "meanLines" in k ? k.meanLines : jt(k);
|
|
19170
19174
|
I && (i || p) && ({
|
|
19171
19175
|
colorMatchApplied: this._colorMatchApplied,
|
|
19172
19176
|
rendererFieldNames: this._rendererFieldNames
|
|
@@ -19178,7 +19182,7 @@ class NA extends Jf {
|
|
|
19178
19182
|
})), this.calciteThemeColors && (c = CA(c, this.calciteThemeColors), this.calciteThemeApplied = Jr(this.el));
|
|
19179
19183
|
let w = !1, $;
|
|
19180
19184
|
if (c.series[0].type === y.PieSeries) {
|
|
19181
|
-
const M =
|
|
19185
|
+
const M = jt(this.processedChartData), B = jt(h.data);
|
|
19182
19186
|
w = vd(M, B), $ = xd({
|
|
19183
19187
|
creation: i,
|
|
19184
19188
|
dataInfo: h,
|
|
@@ -19215,7 +19219,7 @@ class NA extends Jf {
|
|
|
19215
19219
|
this.processInvalidConfigStatus(u, c);
|
|
19216
19220
|
else {
|
|
19217
19221
|
if ((l || L) && (this.notifyDataProcessComplete(h.data), this.notifyDataFetchComplete(h.data)), !this.filterBySelection && !qe(a)) {
|
|
19218
|
-
const W = this.lastRenderedProps?.options?.selectionData, U = !Mt(W?.selectionOIDs, this.selectionData?.selectionOIDs), Y = await bg({
|
|
19222
|
+
const W = this.lastRenderedProps?.options?.selectionData, U = this.selectionData?.selectionSource !== De.SelectionByClick && this.selectionData?.selectionSource !== De.SelectionByRange && !Mt(W?.selectionOIDs, this.selectionData?.selectionOIDs), Y = await bg({
|
|
19219
19223
|
chartConfig: c,
|
|
19220
19224
|
chartData: this.processedChartData,
|
|
19221
19225
|
// TODO: modify to `this.processedChartDataBeforeFBS` after PR https://devtopia.esri.com/WebGIS/arcgis-web-components/pull/14078 gets merged
|