@arcgis/charts-components 5.2.0-next.5 → 5.2.0-next.6
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/{UT6G7RV7.js → 24RLLXS6.js} +1 -1
- package/dist/cdn/{5XTB2INB.js → 2N4MK6FQ.js} +1 -1
- package/dist/cdn/{NMB6TWC2.js → 32FR66QO.js} +1 -1
- package/dist/cdn/{CXQOEN77.js → 3EIVHDDK.js} +1 -1
- package/dist/cdn/{NJCZ6UTM.js → 3NUNWPAR.js} +1 -1
- package/dist/cdn/{KLC6NTPC.js → 43ZHPVBB.js} +1 -1
- package/dist/cdn/{64ZMYZ2S.js → 4LPXOEML.js} +1 -1
- package/dist/cdn/{3DK6M5E7.js → 6AF2OTL6.js} +1 -1
- package/dist/cdn/{G7TRU7JI.js → 6CFIKYKR.js} +1 -1
- package/dist/cdn/{PK5XIIZY.js → 6GLTSMOR.js} +1 -1
- package/dist/cdn/{7CN6J33C.js → 7EMCHGGV.js} +1 -1
- package/dist/cdn/{PVJEBBA7.js → 7HGVEE7A.js} +1 -1
- package/dist/cdn/{PC7IKOIB.js → 7OF2IANH.js} +1 -1
- package/dist/cdn/{PJUAU42S.js → 7VN3A7S2.js} +1 -1
- package/dist/cdn/{MF3FGXHI.js → 7YWZG3ZS.js} +1 -1
- package/dist/cdn/{LRNADJJG.js → ADGMA3ST.js} +1 -1
- package/dist/cdn/{NQQW4GKA.js → ADPDJISV.js} +1 -1
- package/dist/cdn/{F7Y6EWWB.js → B4KAJRUJ.js} +1 -1
- package/dist/cdn/{TZB57XD4.js → BBUPTHPL.js} +1 -1
- package/dist/cdn/{OLV642SY.js → BLZODYE2.js} +1 -1
- package/dist/cdn/{R45FWF7D.js → BO62KSB5.js} +1 -1
- package/dist/cdn/{TYMKFCF4.js → C2FOUUEM.js} +1 -1
- package/dist/cdn/{G5HVFOIO.js → CVU3UPPF.js} +1 -1
- package/dist/cdn/{TXSWWAOF.js → CZ5XRXCE.js} +1 -1
- package/dist/cdn/{IUFXFWXH.js → D73VV2AZ.js} +1 -1
- package/dist/cdn/{A5YDJIMZ.js → DAB5R2BN.js} +1 -1
- package/dist/cdn/{23YH7MTF.js → DJACBOFO.js} +1 -1
- package/dist/cdn/{NNNTZU5J.js → DPNTYHTH.js} +1 -1
- package/dist/cdn/{SVLEJ3HK.js → DZ72EIRH.js} +1 -1
- package/dist/cdn/{LONASKGH.js → EGISZTGB.js} +1 -1
- package/dist/cdn/{E43KEVHT.js → EP34TF4L.js} +1 -1
- package/dist/cdn/{DYC3Q36R.js → EZD3FBJU.js} +1 -1
- package/dist/cdn/{K5MXTTSL.js → FQT7V7QG.js} +1 -1
- package/dist/cdn/{MUPHTV55.js → G72TNKCS.js} +1 -1
- package/dist/cdn/{U4XLNCOU.js → GDQBQQUP.js} +1 -1
- package/dist/cdn/{5QO32XSX.js → GQ5QBLRO.js} +1 -1
- package/dist/cdn/{N5ERJZPG.js → HWJGWDU3.js} +1 -1
- package/dist/cdn/{EXTKNE2L.js → HZR4NSZV.js} +1 -1
- package/dist/cdn/{NPXBPNXE.js → ICFKKJWQ.js} +1 -1
- package/dist/cdn/{GL3IXVRN.js → IWX5L226.js} +1 -1
- package/dist/cdn/{7HIZH35G.js → JNG6V7XC.js} +1 -1
- package/dist/cdn/{VDG54AIC.js → JRHMUFED.js} +1 -1
- package/dist/cdn/{VVKV5KKN.js → JS2KOBA2.js} +1 -1
- package/dist/cdn/{CRFJ2GGS.js → JTTJ455Y.js} +1 -1
- package/dist/cdn/{JVHJMPFE.js → JWO5WVTZ.js} +1 -1
- package/dist/cdn/{PY5Q3V6E.js → K4WI2SGM.js} +1 -1
- package/dist/cdn/{7ABIELGZ.js → KCMZSNBL.js} +1 -1
- package/dist/cdn/{2K4ODNJ4.js → KLHZFPYK.js} +1 -1
- package/dist/cdn/{RMYZGOBM.js → KO7HQLGV.js} +1 -1
- package/dist/cdn/{GLJWUZHK.js → L5AQ4I5T.js} +1 -1
- package/dist/cdn/{TAI4RIWT.js → LC6CY2HW.js} +1 -1
- package/dist/cdn/{KVGEY3IQ.js → MBVTB42G.js} +1 -1
- package/dist/cdn/{26FWESH3.js → MGEW6X3Y.js} +1 -1
- package/dist/cdn/{CJ4POAPM.js → ML3A3MYV.js} +1 -1
- package/dist/cdn/{WEQBZOH7.js → MVHQR4FJ.js} +1 -1
- package/dist/cdn/{YRBE7MBU.js → NSOZIR5F.js} +1 -1
- package/dist/cdn/{LWODMEOP.js → NTSTL3FK.js} +1 -1
- package/dist/cdn/{VEA5ZR5D.js → O5A25X5K.js} +1 -1
- package/dist/cdn/{HCMD362H.js → OAAJ6CIN.js} +1 -1
- package/dist/cdn/{KOBNV5AQ.js → OGYY2Y22.js} +1 -1
- package/dist/cdn/{JHYH555K.js → PRGFNLY7.js} +1 -1
- package/dist/cdn/{KI4HS3AM.js → PROSIXIF.js} +1 -1
- package/dist/cdn/{PZGIXDMC.js → Q5JDSPJA.js} +1 -1
- package/dist/cdn/{FDXE5JLT.js → QFEZPP3R.js} +1 -1
- package/dist/cdn/{74JAZF7U.js → QJC3FDWG.js} +1 -1
- package/dist/cdn/{Z2CVF7CH.js → QRLILSSI.js} +1 -1
- package/dist/cdn/{3YT44D4Z.js → QY53LXP2.js} +1 -1
- package/dist/cdn/{TNB3MBXR.js → R75MHIRF.js} +1 -1
- package/dist/cdn/{CCR46UHB.js → RDA5NV6M.js} +1 -1
- package/dist/cdn/{3XHZ677O.js → RG3DO2OE.js} +1 -1
- package/dist/cdn/{UAJGYF4S.js → RPNZL6AC.js} +1 -1
- package/dist/cdn/{P2NPQAJ3.js → S32NLOJ5.js} +1 -1
- package/dist/cdn/{5G7DSKI7.js → S5UDCCRH.js} +1 -1
- package/dist/cdn/{PSO5AURI.js → SCAZDS2G.js} +1 -1
- package/dist/cdn/{YRFZPSCC.js → SJGYHEMZ.js} +1 -1
- package/dist/cdn/{YF7MNTCU.js → STU55UIS.js} +19 -19
- package/dist/cdn/{HCV34H6X.js → TCTQ4LMU.js} +1 -1
- package/dist/cdn/{NGPMU4T3.js → TDHHWIIC.js} +1 -1
- package/dist/cdn/{ZRZEKOEF.js → TJMPLGQI.js} +1 -1
- package/dist/cdn/TJMTF45U.js +3 -0
- package/dist/cdn/{U2LJZ4ML.js → TW5DX7YP.js} +1 -1
- package/dist/cdn/{5JML3JUR.js → UZEMSOA2.js} +1 -1
- package/dist/cdn/{LDPHZHSF.js → VBHQFV2H.js} +1 -1
- package/dist/cdn/{LZYN55O4.js → VFREVEVA.js} +1 -1
- package/dist/cdn/{LYZGRYQV.js → VZTLODMQ.js} +1 -1
- package/dist/cdn/{RFQBUWOW.js → XCUXUZXY.js} +1 -1
- package/dist/cdn/{RAQZUMC6.js → XG3WW5GG.js} +1 -1
- package/dist/cdn/{NS3THLCD.js → YEZL5KRS.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +2 -0
- package/dist/chunks/index2.js +1398 -1394
- package/dist/chunks/index3.js +12 -11
- package/dist/components/arcgis-chart/customElement.js +432 -436
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +5 -4
- package/dist/index.js +2 -2
- package/package.json +4 -4
- package/dist/cdn/5FMEOIBS.js +0 -3
|
@@ -15,24 +15,24 @@ import { html as Qa, css as Qf } from "lit";
|
|
|
15
15
|
import { createRef as Jf, ref as Xr } from "lit/directives/ref.js";
|
|
16
16
|
import { cloneDeep as we, isEqual as Bt, isEmpty as Sa, debounce as lt } from "lodash-es";
|
|
17
17
|
import { H as ei } from "../../chunks/resources.js";
|
|
18
|
-
import { XYChart as fe, PieChart as Re, AxisFill as em, AxisFillCircular as tm, DateAxis as Pe, ValueAxis as Le, CategoryAxis as nt, CategoryAxisDataItem as Aa, DateAxisDataItem as
|
|
19
|
-
import { Color as
|
|
18
|
+
import { XYChart as fe, PieChart as Re, AxisFill as em, AxisFillCircular as tm, DateAxis as Pe, ValueAxis as Le, CategoryAxis as nt, CategoryAxisDataItem as Aa, DateAxisDataItem as an, LineSeries as xe, ColumnSeries as st, PieSeries as Pt, GaugeChart as Ft, XYCursor as oc, XYSeries as mi, SerialChart as nc, Cursor as im, AxisLabel as Fs, ColumnSeriesDataItem as As, LineSeriesDataItem as Na, CandlestickSeries as Ge, StepLineSeries as kt, LegendDataItem as na, Series as sc, CandlestickSeriesDataItem as am, PieSeriesDataItem as gi, Legend as om, AxisRendererX as Ct, AxisRendererCircular as on, AxisLabelCircular as Ts, ValueAxisDataItem as ks, AxisRendererY as Pa, ClockHand as nm, Chart as rc } from "@amcharts/amcharts4/charts.js";
|
|
19
|
+
import { Color as Po, percent as ut, LinePattern as lc, RectPattern as cc, color as nn, DateFormatter as dc, NumberFormatter as uc, Group as sm, MouseCursorStyle as jt, Label as Vo, DropShadowFilter as rm, Sprite as Is, utils as fc, Tooltip as mc, Container as lm, RoundedRectangle as cm, Percent as Wo, Slice as dm, options as Ja, useTheme as um, unuseTheme as fm, create as Ds } from "@amcharts/amcharts4/core.js";
|
|
20
20
|
import Yr from "@amcharts/amcharts4/themes/animated.js";
|
|
21
|
-
import { u as y, q as de, a as gc, r as Ut, s as be, k as G, p as
|
|
22
|
-
import { c3 as At, c4 as pc, c5 as bc, x as _t, b4 as yc, aP as Sc, aO as Os, bV as ws, c6 as Cc, c7 as xc, c8 as gm, Y as U, af as gt, an as sa, I as St, c9 as Vt, ca as $s, m as ti, n as va, a2 as
|
|
23
|
-
import { F as X, g as Hi, C as W, d as Me, B as Xe, q as ge, b as un, a as Xn, A as q, o as Ze, l as ct, S as $e, z as Ec, c as zc, k as
|
|
21
|
+
import { u as y, q as de, a as gc, r as Ut, s as be, k as G, p as sn, m as hc, l as Ur, W as Ca, j as ye, h as xa, S as _r, d as Hn, o as jr, v as mm } from "../../chunks/chart-object-literals.js";
|
|
22
|
+
import { c3 as At, c4 as pc, c5 as bc, x as _t, b4 as yc, aP as Sc, aO as Os, bV as ws, c6 as Cc, c7 as xc, c8 as gm, Y as U, af as gt, an as sa, I as St, c9 as Vt, ca as $s, m as ti, n as va, a2 as po, cb as Rs, cc as ci, cd as xt, ce as bo, cf as Bs, cg as hi, ch as Ms, ci as ii, cj as io, ck as ai, bv as vc, cl as bt, h as es, bP as hm, b9 as pm, aG as Si, aH as ra, B as ee, W as he, cm as bm, cn as rn, co as Eo, aK as Ci, cp as xi, cq as Bi, cr as Ji, cs as wt, bm as Ns, w as la, bD as ln, ct as Ps, cu as Lc, cv as Vs, a6 as Ws, cw as Ht, bh as ao, cx as Es, cy as Va, c as Fc, cz as Ac, bc as pi, cA as Tc, A as Di, cB as kc, cC as Ic, cD as zs, R as Hs, _ as Dc, c2 as Gs, cE as Oc, bf as oo, cF as qr, cG as Wa, b as ym, aj as wc, cH as $c, E as eo, bi as cn, b8 as Rc, b1 as Bc, aS as Sm, b2 as Cm, b0 as xm, b7 as vm, cI as Mc, cJ as Nc, a$ as Lm, b5 as Fm, cK as zi, cL as Am, cM as dn, cN as L, cO as Pc, cP as Tm, cQ as km, bj as Im, ba as Dm, cR as oi, c0 as Om, cS as no, be as Zi, ak as Xs, ay as wm, cT as Vc, $ as $m, bs as Rm, cU as Bm, aN as Mm, b6 as Nm, aZ as Pm, b3 as Vm, o as Wm, aY as Em, aX as zm, aW as Hm, aT as Gm, aU as Xm, ar as Wc, cV as Ym, ae as ya, bu as Gn, P as Zr, br as Um, q as _m, cW as jm, aQ as qm, cX as Zm, a as Km, bS as Qm, bR as Jm, bT as eg, Z as tg, D as _i, bb as ig, cY as ag, cZ as og, a_ as ng, c_ as sg, aE as rg, c$ as lg } from "../../chunks/index2.js";
|
|
23
|
+
import { F as X, g as Hi, C as W, d as Me, B as Xe, q as ge, b as un, a as Xn, A as q, o as Ze, l as ct, S as $e, z as Ec, c as zc, k as zo, p as Ro, O as Te, j as Hc, E as cg } from "../../chunks/index3.js";
|
|
24
24
|
import "@amcharts/amcharts4/.internal/charts/axes/Axis.js";
|
|
25
|
-
import { g as Ue, f as Qe, i as Q, e as Yn, R as fn, h as
|
|
26
|
-
import { am as ea, aB as Ys, p as
|
|
27
|
-
import { p as
|
|
28
|
-
import { c as Ke, a as
|
|
25
|
+
import { g as Ue, f as Qe, i as Q, e as Yn, R as fn, h as Ho } from "../../chunks/rest-js-object-literals.js";
|
|
26
|
+
import { am as ea, aB as Ys, p as yo, ax as Nt, a4 as ts, aA as dg, s as ug, az as Ta, j as Ie, $ as Us, a1 as _s, g as js, V as Gc, X as Xc, A as qs, ad as Yc, Z as mn, a7 as fg, a6 as mg, y as Uc, n as Zs, e as gg, ar as hg, ab as _c, ac as pg, ae as jc, R as bg, v as yg, F as ka, i as Kr, f as Sg } from "../../chunks/index.js";
|
|
27
|
+
import { p as so, r as Go, q as qc, l as Un, k as Zc, t as gn, u as _n, w as Cg, v as xg } from "../../chunks/index5.js";
|
|
28
|
+
import { c as Ke, a as ni, e as vg } from "../../chunks/type-guards.js";
|
|
29
29
|
import { g as z, a as Lg } from "../../chunks/series-types.js";
|
|
30
30
|
import { isLight as Fg } from "@amcharts/amcharts4/.internal/core/utils/Colors.js";
|
|
31
31
|
import { Scrollbar as Qr } from "@amcharts/amcharts4/.internal/core/elements/Scrollbar.js";
|
|
32
|
-
import { color as
|
|
32
|
+
import { color as ro, Series as Ia, SerialChart as ta, percent as Je, LinePattern as Kc, RectanglePattern as Ag, p50 as Fe, p0 as ze, p100 as Ae, Label as rt, Rectangle as Xo, DateFormatter as Tg, NumberFormatter as Qc, Bullet as vi, Tooltip as Gi, Template as ca, Graphics as Wt, Color as kg, Container as fi, HeatLegend as Yo, LinearGradient as Ig, Legend as Ks, Scrollbar as is, time as Dg, RoundedRectangle as lo, Slice as co, Timezone as Og, DataItem as wg, addLicense as $g, registry as Rg, Root as Bg } from "@amcharts/amcharts5";
|
|
33
33
|
import { PieSeries as ht, PieChart as Zt } from "@amcharts/amcharts5/percent.js";
|
|
34
34
|
import { AxisRendererCircular as Kt, RadarCursor as Qs, ClockHand as as, RadarChart as Mi, AxisRendererRadial as Mg, RadarLineSeries as Js } from "@amcharts/amcharts5/radar.js";
|
|
35
|
-
import { AxisRendererY as
|
|
35
|
+
import { AxisRendererY as bi, XYSeries as er, StepLineSeries as hn, LineSeries as pe, ColumnSeries as De, XYChart as Se, AxisRendererX as vt, XYCursor as Jc, CategoryAxis as et, CandlestickSeries as Xi, DateAxis as Ve, ValueAxis as ve, AxisBullet as Ng } from "@amcharts/amcharts5/xy.js";
|
|
36
36
|
import Pg from "@amcharts/amcharts5/themes/Animated.js";
|
|
37
37
|
import Vg from "@amcharts/amcharts5/themes/Responsive.js";
|
|
38
38
|
import { Exporting as Wg } from "@amcharts/amcharts5/plugins/exporting.js";
|
|
@@ -42,27 +42,27 @@ import { u as al } from "../../chunks/useT9n.js";
|
|
|
42
42
|
import { b as jg } from "../../chunks/interfaces.js";
|
|
43
43
|
import { s as qg } from "../../chunks/time-zone.js";
|
|
44
44
|
import { createModel as Zg } from "../../model/shared/setup-utils.js";
|
|
45
|
-
import { b as
|
|
45
|
+
import { b as ui, n as Kg, e as ol, i as Qg, g as Jg, c as nl, t as eh } from "../../chunks/type-guards2.js";
|
|
46
46
|
import { s as th, a as ih } from "../../chunks/store.js";
|
|
47
47
|
import { v as sl, i as ji } from "../../chunks/index4.js";
|
|
48
|
-
import { i as
|
|
48
|
+
import { i as Bo, u as ah, o as oh } from "../../chunks/type-guards3.js";
|
|
49
49
|
import { d as rl } from "../../chunks/chart-ui-utils2.js";
|
|
50
50
|
import { p as nh, i as sh, a as ll, u as rh, b as lh, c as ch, r as dh, f as uh } from "../../chunks/serial-chart-data.js";
|
|
51
51
|
import { d as cl } from "../../chunks/default.js";
|
|
52
|
-
import { b as ed, c as td, L as id, V as ad, S as Ka, a as dl, E as
|
|
52
|
+
import { b as ed, c as td, L as id, V as ad, S as Ka, a as dl, E as Io } from "../../chunks/index6.js";
|
|
53
53
|
import { g as fh, d as mh } from "../../chunks/class-breaks.js";
|
|
54
54
|
import gh from "@arcgis/core/layers/Layer.js";
|
|
55
55
|
import hh from "@arcgis/core/portal/PortalItem.js";
|
|
56
|
-
const
|
|
56
|
+
const Uo = /* @__PURE__ */ new Map();
|
|
57
57
|
function Rt(t) {
|
|
58
|
-
t !== void 0 &&
|
|
58
|
+
t !== void 0 && Uo.delete(t);
|
|
59
59
|
}
|
|
60
60
|
function da(t, e) {
|
|
61
|
-
const i =
|
|
62
|
-
|
|
61
|
+
const i = Uo.get(t) ?? {};
|
|
62
|
+
Uo.set(t, { ...i, ...e });
|
|
63
63
|
}
|
|
64
64
|
function ua(t, e) {
|
|
65
|
-
return
|
|
65
|
+
return Uo.get(t)?.[e];
|
|
66
66
|
}
|
|
67
67
|
function ph(t, e) {
|
|
68
68
|
return ua(t, e);
|
|
@@ -128,7 +128,7 @@ function od(t, e) {
|
|
|
128
128
|
}
|
|
129
129
|
function ia(t) {
|
|
130
130
|
const e = t ?? [0, 0, 0, 255];
|
|
131
|
-
return new
|
|
131
|
+
return new Po({
|
|
132
132
|
a: e[3] / 255,
|
|
133
133
|
b: e[2],
|
|
134
134
|
g: e[1],
|
|
@@ -143,7 +143,7 @@ function Ne(t) {
|
|
|
143
143
|
function Gt(t) {
|
|
144
144
|
return t != null && !t.isDisposed();
|
|
145
145
|
}
|
|
146
|
-
function
|
|
146
|
+
function uo(t) {
|
|
147
147
|
return (t.isShowing || t.visible) && !t.isHidden && !t.isHiding && !t.disabled && !t.__disabled;
|
|
148
148
|
}
|
|
149
149
|
function nd(t, e) {
|
|
@@ -209,10 +209,10 @@ function Th(t) {
|
|
|
209
209
|
function Tt(t, e) {
|
|
210
210
|
let i;
|
|
211
211
|
e !== void 0 && (i = ia(e));
|
|
212
|
-
let a = i ?? new
|
|
212
|
+
let a = i ?? new Po({ r: 0, g: 0, b: 0, a: 0 });
|
|
213
213
|
if (t != null) {
|
|
214
214
|
const [o, n, s, r] = t;
|
|
215
|
-
a = new
|
|
215
|
+
a = new Po({ r: o, g: n, b: s, a: r / 255 });
|
|
216
216
|
}
|
|
217
217
|
return a;
|
|
218
218
|
}
|
|
@@ -298,7 +298,7 @@ function cd(t, e) {
|
|
|
298
298
|
strokeWidth: F.lineWidth,
|
|
299
299
|
strokeDasharray: "",
|
|
300
300
|
strokeLinecap: e !== !0 ? "round" : "square",
|
|
301
|
-
strokeOpacity:
|
|
301
|
+
strokeOpacity: yo
|
|
302
302
|
};
|
|
303
303
|
return t != null && (i.stroke = Tt(t.color), i.strokeOpacity = 1, t.width !== void 0 && (i.strokeWidth = t.width), t.style !== void 0 && t.style !== Ue.Null && (i.strokeDasharray = Dh(t.style, i.strokeWidth), i.strokeLinecap = kh(t.style, e))), i;
|
|
304
304
|
}
|
|
@@ -330,15 +330,15 @@ function ir(t) {
|
|
|
330
330
|
const { symbol: e, defaultToColorFromRamp: i, colorRampIndex: a, isChartFillSymbol: o = !1, chartBackgroundColor: n } = t;
|
|
331
331
|
let s;
|
|
332
332
|
if (i === !0) {
|
|
333
|
-
const r = o ? Ys :
|
|
334
|
-
if (e.color = e.color ?? ea({ colorIndex: a, opacity: r }),
|
|
333
|
+
const r = o ? Ys : yo;
|
|
334
|
+
if (e.color = e.color ?? ea({ colorIndex: a, opacity: r }), so(e) || Go(e)) {
|
|
335
335
|
const { outline: l } = e;
|
|
336
336
|
l !== void 0 && (l.color = l?.color ?? ea({ colorIndex: a }), e.outline = { ...l });
|
|
337
337
|
}
|
|
338
338
|
}
|
|
339
|
-
return qc(e) ? s = cd(e, !0) :
|
|
339
|
+
return qc(e) ? s = cd(e, !0) : Go(e) ? (e.style ??= F.lineSeries.marker.markerStyle, e.size ??= F.lineSeries.marker.markerBigSize, s = wh(e)) : so(e) && (s = Oh(e, n)), s;
|
|
340
340
|
}
|
|
341
|
-
function
|
|
341
|
+
function _o(t, e, i) {
|
|
342
342
|
const a = tr(t.horizontalAlignment, i?.horizontalCenter), o = rd(t.horizontalAlignment, i?.align), n = ld(t.verticalAlignment, i?.verticalCenter), s = Ih(t.verticalAlignment, i?.valign);
|
|
343
343
|
return {
|
|
344
344
|
fill: Tt(t.color, F.color),
|
|
@@ -365,12 +365,12 @@ function Uo(t, e, i) {
|
|
|
365
365
|
};
|
|
366
366
|
}
|
|
367
367
|
function ud(t, e, i) {
|
|
368
|
-
i !== void 0 && t.tooltip !== void 0 && (t.tooltip.getFillFromObject = !1, t.tooltip.background.fill = e), t.fill = i ?? e, t.fillOpacity =
|
|
368
|
+
i !== void 0 && t.tooltip !== void 0 && (t.tooltip.getFillFromObject = !1, t.tooltip.background.fill = e), t.fill = i ?? e, t.fillOpacity = nn(t.fill.toString()).alpha === 0 ? 0 : 1;
|
|
369
369
|
}
|
|
370
370
|
function La(t, e) {
|
|
371
371
|
t.stroke = e.stroke, t.strokeOpacity = e.stroke.alpha === 0 ? 0 : 1, t.strokeDasharray = e.strokeDasharray, t.strokeLinecap = e.strokeLinecap, t.strokeWidth = e.strokeWidth;
|
|
372
372
|
}
|
|
373
|
-
function
|
|
373
|
+
function jo(t) {
|
|
374
374
|
const { element: e, markerSymbol: i, visible: a, defaultToColorFromRamp: o, colorRampIndex: n } = t;
|
|
375
375
|
let s;
|
|
376
376
|
return i !== void 0 ? (s = ir({
|
|
@@ -388,7 +388,7 @@ function Qi(t) {
|
|
|
388
388
|
colorRampIndex: n
|
|
389
389
|
}), s !== void 0 && La(e, s), le(e, a)) : le(e, !1), s;
|
|
390
390
|
}
|
|
391
|
-
function
|
|
391
|
+
function fo(t) {
|
|
392
392
|
const { element: e, fillSymbol: i, visible: a, defaultToColorFromRamp: o, colorRampIndex: n, isChartFillSymbol: s } = t;
|
|
393
393
|
let r, l;
|
|
394
394
|
if (i !== void 0) {
|
|
@@ -429,14 +429,14 @@ function wi(t) {
|
|
|
429
429
|
});
|
|
430
430
|
break;
|
|
431
431
|
case Q.SFS:
|
|
432
|
-
c =
|
|
432
|
+
c = fo({
|
|
433
433
|
...d,
|
|
434
434
|
fillSymbol: u,
|
|
435
435
|
isChartFillSymbol: n
|
|
436
436
|
});
|
|
437
437
|
break;
|
|
438
438
|
case Q.SMS:
|
|
439
|
-
c =
|
|
439
|
+
c = jo({
|
|
440
440
|
...d,
|
|
441
441
|
markerSymbol: u
|
|
442
442
|
});
|
|
@@ -447,7 +447,7 @@ function wi(t) {
|
|
|
447
447
|
function fl(t, e) {
|
|
448
448
|
if (e !== void 0) {
|
|
449
449
|
const i = t.properties, { elementColor: a, elementOutlineColor: o, elementOutlineWidth: n, rotation: s, transformation: r } = e, { opacity: l, scale: c } = r ?? {};
|
|
450
|
-
a !== void 0 && (i.fill = ia(a), i.fillOpacity =
|
|
450
|
+
a !== void 0 && (i.fill = ia(a), i.fillOpacity = nn(i.fill.toString()).alpha === 0 ? 0 : 1), o !== void 0 && (i.stroke = ia(o)), n !== void 0 && (i.strokeWidth = n), s !== void 0 && (i.rotation = s), c !== void 0 && (i.scale = c), l !== void 0 && (i.fillOpacity = (i.fillOpacity ?? 1) * l, i.strokeOpacity = (i.strokeOpacity ?? 1) * l);
|
|
451
451
|
}
|
|
452
452
|
}
|
|
453
453
|
function $h(t, e, i) {
|
|
@@ -717,7 +717,7 @@ function Wh(t) {
|
|
|
717
717
|
function ar(t, e) {
|
|
718
718
|
return t?.[0]?.sliceGrouping?.percentageThreshold !== e?.[0]?.sliceGrouping?.percentageThreshold;
|
|
719
719
|
}
|
|
720
|
-
function
|
|
720
|
+
function So(t) {
|
|
721
721
|
const { groupOfSlicesDataContext: e, chartData: i } = t;
|
|
722
722
|
return (e ?? i?.find((n) => n[Nt.defaultGroupOfSlicesId] === !0))?.[X.pieChart.technicalFieldGroupedSlices];
|
|
723
723
|
}
|
|
@@ -831,8 +831,8 @@ const ce = {
|
|
|
831
831
|
Median: "median",
|
|
832
832
|
Outliers: "outliers"
|
|
833
833
|
};
|
|
834
|
-
function
|
|
835
|
-
const { type: e, iLocale: i, formatLocale: a =
|
|
834
|
+
function si(t) {
|
|
835
|
+
const { type: e, iLocale: i, formatLocale: a = po(document.documentElement) } = t;
|
|
836
836
|
let o;
|
|
837
837
|
switch (e) {
|
|
838
838
|
case y.NumberAxisFormat: {
|
|
@@ -851,7 +851,7 @@ function ss(t) {
|
|
|
851
851
|
isXAxis: !0,
|
|
852
852
|
chartType: a,
|
|
853
853
|
valueFormat: i
|
|
854
|
-
}), n =
|
|
854
|
+
}), n = ci(i) && e instanceof Pe, s = xt(i) && e instanceof Le && !(e instanceof Pe), r = o && e instanceof nt;
|
|
855
855
|
return !n && !s && !r;
|
|
856
856
|
}
|
|
857
857
|
function gd(t, e) {
|
|
@@ -872,11 +872,10 @@ function hd(t) {
|
|
|
872
872
|
const n = tt(e.uid, "categoryFormatter"), s = tt(e.uid, "numberFormatter");
|
|
873
873
|
if ((s !== void 0 || n !== void 0) && a instanceof Aa) {
|
|
874
874
|
const r = $(e.chart.uid, "config"), l = U(r?.series), c = $(e.chart.uid, "rendererFieldNames");
|
|
875
|
-
let d =
|
|
876
|
-
value:
|
|
875
|
+
let d = ii({
|
|
876
|
+
value: un(l, r?.series?.[0]),
|
|
877
877
|
dataContext: a.dataContext,
|
|
878
|
-
useRendererLabel:
|
|
879
|
-
specificField: un(l, r?.series?.[0]),
|
|
878
|
+
useRendererLabel: io(r, c),
|
|
880
879
|
config: r
|
|
881
880
|
});
|
|
882
881
|
if (typeof d == "number" && s !== void 0)
|
|
@@ -892,7 +891,7 @@ function hd(t) {
|
|
|
892
891
|
const g = $(e.chart.uid, "fieldList");
|
|
893
892
|
d = Me(g, d);
|
|
894
893
|
}
|
|
895
|
-
let m =
|
|
894
|
+
let m = ai(a.dataContext);
|
|
896
895
|
m === void 0 && (m = d), o = n(d, m);
|
|
897
896
|
}
|
|
898
897
|
}
|
|
@@ -913,7 +912,7 @@ function Uh(t) {
|
|
|
913
912
|
const { axis: e, defaultOutput: i, dataItem: a } = t;
|
|
914
913
|
let o = i;
|
|
915
914
|
const n = tt(e.uid, "dateFormatter");
|
|
916
|
-
return n !== void 0 && a instanceof
|
|
915
|
+
return n !== void 0 && a instanceof an && (o = n(a.value ?? i)), ge(o) && (o = F.htmlEmptyContent), Xe(o);
|
|
917
916
|
}
|
|
918
917
|
function _h(t) {
|
|
919
918
|
t.renderer.labels.template.adapter.add(
|
|
@@ -947,7 +946,7 @@ function Zh(t) {
|
|
|
947
946
|
d.element instanceof sm && d.element.removeChildren();
|
|
948
947
|
}));
|
|
949
948
|
let r = {
|
|
950
|
-
...
|
|
949
|
+
...hi(i)
|
|
951
950
|
};
|
|
952
951
|
o && (r = {
|
|
953
952
|
hour: o ? "numeric" : void 0,
|
|
@@ -975,7 +974,7 @@ function Zh(t) {
|
|
|
975
974
|
e.renderer.labels.template.html = F.htmlEmptyContent, e.renderer.labels.template.adapter.enableKey("htmlOutput");
|
|
976
975
|
}
|
|
977
976
|
function Kh(t, e, i, a) {
|
|
978
|
-
const o =
|
|
977
|
+
const o = si({
|
|
979
978
|
type: y.NumberAxisFormat,
|
|
980
979
|
iLocale: e,
|
|
981
980
|
formatLocale: i
|
|
@@ -986,7 +985,7 @@ function Kh(t, e, i, a) {
|
|
|
986
985
|
};
|
|
987
986
|
}
|
|
988
987
|
function hl(t) {
|
|
989
|
-
const { axis: e, formatOptions: i, overridePercentMultiplication: a, valueAxisFormatter: o } = t, n =
|
|
988
|
+
const { axis: e, formatOptions: i, overridePercentMultiplication: a, valueAxisFormatter: o } = t, n = hi(i), s = $(e.chart.uid, "formatLocale");
|
|
990
989
|
qe(e.uid, {
|
|
991
990
|
numberFormatter: o ?? Kh(
|
|
992
991
|
n,
|
|
@@ -1042,14 +1041,14 @@ function ep(t) {
|
|
|
1042
1041
|
formatOptions: a,
|
|
1043
1042
|
overridePercentMultiplication: n,
|
|
1044
1043
|
valueAxisFormatter: r
|
|
1045
|
-
}) : e instanceof Pe &&
|
|
1044
|
+
}) : e instanceof Pe && ci(a) ? Zh({
|
|
1046
1045
|
axis: e,
|
|
1047
1046
|
formatOptions: a,
|
|
1048
1047
|
dateAxisFormatter: r,
|
|
1049
1048
|
isTimeOnlyField: l,
|
|
1050
1049
|
setTimeZone: c,
|
|
1051
1050
|
outTimeZone: d
|
|
1052
|
-
}) : e instanceof nt ?
|
|
1051
|
+
}) : e instanceof nt ? bo(a) || m ? (Qh({
|
|
1053
1052
|
axis: e,
|
|
1054
1053
|
formatOptions: a,
|
|
1055
1054
|
categoryAxisFormatter: r
|
|
@@ -1181,7 +1180,7 @@ function op(t) {
|
|
|
1181
1180
|
}
|
|
1182
1181
|
}
|
|
1183
1182
|
function np(t) {
|
|
1184
|
-
const { chart: e, actionMode: i, cursorRange: a } = t, o = $(e.uid, "isRotated"), n = $(e.uid, "config"), s = bt(n), r = z(n?.series), l = r === y.LineSeries && xt(n?.axes?.[0]?.valueFormat), c = r === y.LineSeries &&
|
|
1183
|
+
const { chart: e, actionMode: i, cursorRange: a } = t, o = $(e.uid, "isRotated"), n = $(e.uid, "config"), s = bt(n), r = z(n?.series), l = r === y.LineSeries && xt(n?.axes?.[0]?.valueFormat), c = r === y.LineSeries && bo(n?.axes?.[0]?.valueFormat), d = r === y.LineSeries && ci(n?.axes?.[0]?.valueFormat);
|
|
1185
1184
|
let u, m = !1;
|
|
1186
1185
|
const g = i ?? $(e.uid, "actionMode") ?? F.actionMode;
|
|
1187
1186
|
if ($(e.uid, "filterBySelection") === !0)
|
|
@@ -1208,11 +1207,11 @@ function np(t) {
|
|
|
1208
1207
|
}
|
|
1209
1208
|
function Cd(t) {
|
|
1210
1209
|
let e = "";
|
|
1211
|
-
return t instanceof
|
|
1210
|
+
return t instanceof mi ? e = t.dataFields?.categoryX ?? t.dataFields?.dateX ?? t.dataFields?.valueX ?? "" : t instanceof Pt && (e = t.dataFields?.category ?? ""), e;
|
|
1212
1211
|
}
|
|
1213
1212
|
function xd(t) {
|
|
1214
1213
|
let e = "";
|
|
1215
|
-
return t instanceof
|
|
1214
|
+
return t instanceof mi ? e = t.dataFields?.categoryY ?? t.dataFields?.dateY ?? t.dataFields?.valueY ?? "" : t instanceof Pt && (e = t.dataFields?.value ?? ""), e;
|
|
1216
1215
|
}
|
|
1217
1216
|
function vd(t) {
|
|
1218
1217
|
return $(t.chart.uid, "isRotated") === !0 ? xd(t) : Cd(t);
|
|
@@ -1415,7 +1414,7 @@ function nr(t) {
|
|
|
1415
1414
|
}
|
|
1416
1415
|
return n;
|
|
1417
1416
|
}
|
|
1418
|
-
function
|
|
1417
|
+
function Do(t) {
|
|
1419
1418
|
const { dataContext: e, specificField: i, xOrY: a } = t;
|
|
1420
1419
|
let o = e[a === "x" ? X.originalCategoryValue : X.originalYCategoryValue];
|
|
1421
1420
|
return o === void 0 && i && (o = e[i]), o === void 0 && (o = e[a === "x" ? Ie.xField : Ie.yField]), o;
|
|
@@ -1436,21 +1435,21 @@ function bn(t) {
|
|
|
1436
1435
|
if (i !== void 0 && a !== void 0)
|
|
1437
1436
|
switch (r) {
|
|
1438
1437
|
case y.HeatSeries:
|
|
1439
|
-
const m = i, g =
|
|
1438
|
+
const m = i, g = Do({
|
|
1440
1439
|
dataContext: m,
|
|
1441
1440
|
specificField: n,
|
|
1442
1441
|
xOrY: "x"
|
|
1443
|
-
}), h =
|
|
1442
|
+
}), h = Do({
|
|
1444
1443
|
dataContext: m,
|
|
1445
1444
|
specificField: s,
|
|
1446
1445
|
xOrY: "y"
|
|
1447
1446
|
});
|
|
1448
1447
|
u = (p) => {
|
|
1449
|
-
const b =
|
|
1448
|
+
const b = Do({
|
|
1450
1449
|
dataContext: p,
|
|
1451
1450
|
specificField: n,
|
|
1452
1451
|
xOrY: "x"
|
|
1453
|
-
}), S =
|
|
1452
|
+
}), S = Do({
|
|
1454
1453
|
dataContext: p,
|
|
1455
1454
|
specificField: s,
|
|
1456
1455
|
xOrY: "y"
|
|
@@ -1531,7 +1530,7 @@ function bn(t) {
|
|
|
1531
1530
|
case y.PieSeries:
|
|
1532
1531
|
n !== void 0 && (u = (p) => {
|
|
1533
1532
|
const b = i, S = Li(b), C = [b];
|
|
1534
|
-
return S && C.push(...
|
|
1533
|
+
return S && C.push(...So({ groupOfSlicesDataContext: b }) ?? []), C.some(
|
|
1535
1534
|
(v) => nr({
|
|
1536
1535
|
sliceDataContext: v,
|
|
1537
1536
|
selectionDataContext: p,
|
|
@@ -1544,7 +1543,7 @@ function bn(t) {
|
|
|
1544
1543
|
}
|
|
1545
1544
|
return u !== void 0 && (d = a.some(u)), d;
|
|
1546
1545
|
}
|
|
1547
|
-
function
|
|
1546
|
+
function yi(t) {
|
|
1548
1547
|
const {
|
|
1549
1548
|
isFeatureCollectionLayer: e,
|
|
1550
1549
|
dataContext: i,
|
|
@@ -1562,7 +1561,7 @@ function bi(t) {
|
|
|
1562
1561
|
r !== y.PieSeries && (e || l !== W.BarAndLineNoAggregation && l !== W.BarAndLineSplitByNoAggregation) && o.forEach((m) => {
|
|
1563
1562
|
m !== a && delete d[m];
|
|
1564
1563
|
});
|
|
1565
|
-
const u =
|
|
1564
|
+
const u = ii({
|
|
1566
1565
|
value: i[n],
|
|
1567
1566
|
dataContext: i,
|
|
1568
1567
|
keepNullValues: !0
|
|
@@ -1609,15 +1608,15 @@ function Ad(t, e = 512) {
|
|
|
1609
1608
|
}
|
|
1610
1609
|
return new Blob(o, { type: i });
|
|
1611
1610
|
}
|
|
1612
|
-
function
|
|
1611
|
+
function mo(t) {
|
|
1613
1612
|
const { value: e, valueFormat: i, iLocale: a, formatLocale: o } = t;
|
|
1614
1613
|
let n = e?.toString();
|
|
1615
|
-
const s =
|
|
1614
|
+
const s = si({
|
|
1616
1615
|
type: i.type,
|
|
1617
1616
|
iLocale: a,
|
|
1618
1617
|
formatLocale: o
|
|
1619
1618
|
});
|
|
1620
|
-
return typeof e == "number" && i.type === y.NumberAxisFormat ? n = s.format(e,
|
|
1619
|
+
return typeof e == "number" && i.type === y.NumberAxisFormat ? n = s.format(e, hi(i)) : (typeof e == "number" || e instanceof Date) && i.type === y.DateAxisFormat && (n = s.format(e, hi(i))), n;
|
|
1621
1620
|
}
|
|
1622
1621
|
function It(t) {
|
|
1623
1622
|
const { chart: e, config: i } = t;
|
|
@@ -1643,7 +1642,7 @@ function pp(t) {
|
|
|
1643
1642
|
Rt(e.uid);
|
|
1644
1643
|
}), "cursor" in t && t.cursor instanceof im && Rt(t.cursor?.uid), "legend" in t && t.legend !== void 0 && (Rt(t.legend.uid), Rt(t.legend.valueLabels?.template?.uid)), Rt(t.uid);
|
|
1645
1644
|
}
|
|
1646
|
-
function
|
|
1645
|
+
function Oo(t) {
|
|
1647
1646
|
return typeof t == "number" ? t : t.value;
|
|
1648
1647
|
}
|
|
1649
1648
|
async function bp(t) {
|
|
@@ -1656,8 +1655,8 @@ async function bp(t) {
|
|
|
1656
1655
|
function yn(t, e) {
|
|
1657
1656
|
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 = ld(e.verticalCenter)), e.horizontalCenter !== void 0 && (t.horizontalCenter = tr(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));
|
|
1658
1657
|
}
|
|
1659
|
-
function
|
|
1660
|
-
const i = e?.createChild(
|
|
1658
|
+
function ri(t, e) {
|
|
1659
|
+
const i = e?.createChild(Vo) ?? new Vo();
|
|
1661
1660
|
return yn(i, t), i;
|
|
1662
1661
|
}
|
|
1663
1662
|
function yp(t) {
|
|
@@ -1692,7 +1691,7 @@ function pl(t) {
|
|
|
1692
1691
|
function Dt(t) {
|
|
1693
1692
|
const { label: e, labelConfig: i, defaults: a, skipSettingText: o } = t;
|
|
1694
1693
|
if (i !== void 0) {
|
|
1695
|
-
const n =
|
|
1694
|
+
const n = _o(i.content, e.rtl, a);
|
|
1696
1695
|
e.fill = n.fill, e.fontFamily = n.fontFamily, e.fontWeight = n.fontWeight, e.fontSize = n.fontSize, e.textDecoration = n.textDecoration, e.align = n.align, e.valign = n.valign, e.verticalCenter = n.verticalCenter, e.horizontalCenter = n.horizontalCenter, e.background.fill = n.backgroundFill, e.background.stroke = n.borderFill, e.background.strokeWidth = n.borderWidth, e.rotation = n.angle, pl({ label: e, offset: n.xOffset, offsetProperty: "dx" }), pl({ label: e, offset: n.yOffset, offsetProperty: "dy" }), e.rtl = n.rtl, e.wrap = n.wrap, e instanceof Fs || (e.maxWidth = n.maxWidth), o || (e.text = n.text), Sp(e.filters, n.haloSize, n.haloColor);
|
|
1697
1696
|
const s = Cp(e, i);
|
|
1698
1697
|
e.disabled = s, le(e, i.visible !== !1 && !s);
|
|
@@ -1735,7 +1734,7 @@ function ds(t, e) {
|
|
|
1735
1734
|
(i, a) => {
|
|
1736
1735
|
let o = i;
|
|
1737
1736
|
const { dataItem: n } = a;
|
|
1738
|
-
if (
|
|
1737
|
+
if (uo(t) && (e instanceof st && n instanceof As || e instanceof xe && n instanceof Na)) {
|
|
1739
1738
|
const s = ft(
|
|
1740
1739
|
e.uid,
|
|
1741
1740
|
e instanceof st ? "barSeriesDataLabelFormatter" : "lineSeriesDataLabelFormatter"
|
|
@@ -1790,7 +1789,7 @@ function Od(t) {
|
|
|
1790
1789
|
let u = d;
|
|
1791
1790
|
const m = n?.content ?? { type: Q.TS };
|
|
1792
1791
|
if (d === void 0 && c !== void 0 && s?.type === y.NumberAxisFormat) {
|
|
1793
|
-
const h = $(e.chart.uid, "formatLocale"), p =
|
|
1792
|
+
const h = $(e.chart.uid, "formatLocale"), p = si({
|
|
1794
1793
|
type: s.type,
|
|
1795
1794
|
iLocale: e.chart.language.locale,
|
|
1796
1795
|
formatLocale: h
|
|
@@ -1918,7 +1917,7 @@ function bl() {
|
|
|
1918
1917
|
return (t) => {
|
|
1919
1918
|
const e = $(t.chart.uid, "config");
|
|
1920
1919
|
let i = !1;
|
|
1921
|
-
if (e !== void 0 && t instanceof
|
|
1920
|
+
if (e !== void 0 && t instanceof mi) {
|
|
1922
1921
|
const a = Ap(t.chart, e);
|
|
1923
1922
|
let o = 0, n = 0, s = 0, r = 0, l = 0;
|
|
1924
1923
|
t.chart.series.values.forEach((u) => {
|
|
@@ -1954,18 +1953,19 @@ function Tp(t, e) {
|
|
|
1954
1953
|
switch (t) {
|
|
1955
1954
|
case y.BarSeries:
|
|
1956
1955
|
i = (a, o) => {
|
|
1956
|
+
let n = !1;
|
|
1957
1957
|
if (a instanceof st) {
|
|
1958
|
-
const
|
|
1959
|
-
let
|
|
1958
|
+
const s = It({ chart: a.chart });
|
|
1959
|
+
let r = 0;
|
|
1960
1960
|
if (o.type === y.BarSeries) {
|
|
1961
|
-
const
|
|
1962
|
-
|
|
1963
|
-
(
|
|
1961
|
+
const l = (s ? a.dataFields.valueX : a.dataFields.valueY) ?? o.y;
|
|
1962
|
+
r = a.chart?.data?.filter(
|
|
1963
|
+
(c) => Number.isFinite(c[l])
|
|
1964
1964
|
).length;
|
|
1965
1965
|
}
|
|
1966
|
-
|
|
1966
|
+
n = a.chart.isReady() && a.columns.length === r;
|
|
1967
1967
|
}
|
|
1968
|
-
return
|
|
1968
|
+
return n;
|
|
1969
1969
|
};
|
|
1970
1970
|
break;
|
|
1971
1971
|
case y.LineSeries:
|
|
@@ -2024,8 +2024,8 @@ function kp(t) {
|
|
|
2024
2024
|
}
|
|
2025
2025
|
function fa(t) {
|
|
2026
2026
|
const { defaultChartItemRole: e } = F.aria;
|
|
2027
|
-
t instanceof Ge || t instanceof st ? (t.columns.template.properties.role = e, t.columns.template.focusable = !0, t.columns.template.hoverOnFocus = !0, t.itemReaderText =
|
|
2028
|
-
i.focusable = !0, i.properties.role = e, i.readerTitle =
|
|
2027
|
+
t instanceof Ge || t instanceof st ? (t.columns.template.properties.role = e, t.columns.template.focusable = !0, t.columns.template.hoverOnFocus = !0, t.itemReaderText = Eo()) : t instanceof kt ? t.segments.template.properties.role = e : t instanceof xe ? t.bullets.values.forEach((i) => {
|
|
2028
|
+
i.focusable = !0, i.properties.role = e, i.readerTitle = Eo(), i.hoverOnFocus = !0;
|
|
2029
2029
|
}) : t instanceof Pt && (t.slices.template.properties.role = e, t.slices.template.hoverOnFocus = !0, t.itemReaderText = "{category} {value.formatNumber('#.#')} {value.percent.formatNumber('#.#')}%");
|
|
2030
2030
|
}
|
|
2031
2031
|
function Ip(t) {
|
|
@@ -2050,7 +2050,7 @@ const at = {
|
|
|
2050
2050
|
};
|
|
2051
2051
|
function Dp(t, e) {
|
|
2052
2052
|
let i = !1;
|
|
2053
|
-
if (e !== void 0 &&
|
|
2053
|
+
if (e !== void 0 && uo(t)) {
|
|
2054
2054
|
const a = fc.spriteRectToSvg(t.bbox, t), o = e.x, n = e.y, s = e.x + e.width, r = e.y + e.height, l = a.x, c = a.y, d = a.x + a.width, u = a.y + a.height;
|
|
2055
2055
|
i = !(l > s || d < o || c > r || u < n);
|
|
2056
2056
|
}
|
|
@@ -2171,7 +2171,7 @@ function Op(t) {
|
|
|
2171
2171
|
e = lr(t.slices, i).map(
|
|
2172
2172
|
(l) => {
|
|
2173
2173
|
const c = l.dataItem?.dataContext ?? {};
|
|
2174
|
-
return Li(c) && (r =
|
|
2174
|
+
return Li(c) && (r = So({
|
|
2175
2175
|
groupOfSlicesDataContext: c
|
|
2176
2176
|
})), {
|
|
2177
2177
|
...s,
|
|
@@ -2220,7 +2220,7 @@ async function Md(t) {
|
|
|
2220
2220
|
chartConfig: l
|
|
2221
2221
|
}).forEach((h, p) => {
|
|
2222
2222
|
const b = xn(h, l);
|
|
2223
|
-
if (l && h.visible && h instanceof
|
|
2223
|
+
if (l && h.visible && h instanceof mi) {
|
|
2224
2224
|
const C = pn(h, p) === y.BoxPlotSeries ? b?.y : Yi(h), x = h.dataFields?.customValue ?? "", v = {
|
|
2225
2225
|
element: {},
|
|
2226
2226
|
yAxisField: C,
|
|
@@ -2244,7 +2244,7 @@ async function Md(t) {
|
|
|
2244
2244
|
}
|
|
2245
2245
|
}));
|
|
2246
2246
|
}
|
|
2247
|
-
}), m && (d = []), await
|
|
2247
|
+
}), m && (d = []), await vo({
|
|
2248
2248
|
chart: e,
|
|
2249
2249
|
listSelectedElements: d,
|
|
2250
2250
|
selectionSource: o,
|
|
@@ -2289,7 +2289,7 @@ function $p(t) {
|
|
|
2289
2289
|
}
|
|
2290
2290
|
});
|
|
2291
2291
|
}
|
|
2292
|
-
async function
|
|
2292
|
+
async function qo(t) {
|
|
2293
2293
|
const { hitEvent: e, chart: i, queryObject: a, errorStrings: o } = t, { target: n } = e, s = $(i.uid, "actionMode");
|
|
2294
2294
|
if (i !== void 0 && Bd(i) && s !== q.None && s !== q.Zoom && (n instanceof fe || e.point === void 0)) {
|
|
2295
2295
|
const r = e.svgPoint ? { x: e.svgPoint.x, y: e.svgPoint.y, width: 0, height: 0 } : void 0, l = vn(e, i);
|
|
@@ -2308,20 +2308,20 @@ function Rp(t) {
|
|
|
2308
2308
|
const { chart: e, queryObject: i, errorStrings: a } = t;
|
|
2309
2309
|
Gt(e) && (e.zoomOutButton.hoverable = !0, e.events.on(
|
|
2310
2310
|
P.Hit,
|
|
2311
|
-
async (o) => await
|
|
2311
|
+
async (o) => await qo({ hitEvent: o, chart: e, queryObject: i, errorStrings: a })
|
|
2312
2312
|
), e.events.on(
|
|
2313
2313
|
P.DoubleHit,
|
|
2314
|
-
async (o) => await
|
|
2314
|
+
async (o) => await qo({ hitEvent: o, chart: e, queryObject: i, errorStrings: a })
|
|
2315
2315
|
));
|
|
2316
2316
|
}
|
|
2317
|
-
function
|
|
2317
|
+
function Co(t) {
|
|
2318
2318
|
const { chart: e, element: i, queryObject: a, errorStrings: o } = t;
|
|
2319
2319
|
i.events.on(
|
|
2320
2320
|
P.Hit,
|
|
2321
|
-
async (n) => await
|
|
2321
|
+
async (n) => await qo({ hitEvent: n, chart: e, queryObject: a, errorStrings: o })
|
|
2322
2322
|
), i.events.on(
|
|
2323
2323
|
P.DoubleHit,
|
|
2324
|
-
async (n) => await
|
|
2324
|
+
async (n) => await qo({ hitEvent: n, chart: e, queryObject: a, errorStrings: o })
|
|
2325
2325
|
);
|
|
2326
2326
|
}
|
|
2327
2327
|
async function Bp(t) {
|
|
@@ -2338,7 +2338,7 @@ async function Bp(t) {
|
|
|
2338
2338
|
return d;
|
|
2339
2339
|
}
|
|
2340
2340
|
).flat();
|
|
2341
|
-
await
|
|
2341
|
+
await vo({
|
|
2342
2342
|
chart: e,
|
|
2343
2343
|
listSelectedElements: r,
|
|
2344
2344
|
selectionSource: $e.ProgrammaticSelection,
|
|
@@ -2352,20 +2352,20 @@ function qn(t) {
|
|
|
2352
2352
|
if (t.events.disableType(P.Hit), t.events.disableType(P.DoubleHit), t instanceof Re) {
|
|
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
|
-
} else t instanceof fe && (t.xAxes.each((e) =>
|
|
2355
|
+
} else t instanceof fe && (t.xAxes.each((e) => Zo(e, !0)), t.yAxes.each((e) => Zo(e, !0)), t.events.disableType(P.Up));
|
|
2356
2356
|
}
|
|
2357
2357
|
function Mp(t) {
|
|
2358
2358
|
if (Gt(t))
|
|
2359
2359
|
if (t.events.enableType(P.Hit), t.events.enableType(P.DoubleHit), t instanceof Re) {
|
|
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
|
-
} else t instanceof fe && (t.xAxes.each((e) =>
|
|
2362
|
+
} else t instanceof fe && (t.xAxes.each((e) => Zo(e, !1)), t.yAxes.each((e) => Zo(e, !1)), t.events.enableType(P.Up));
|
|
2363
2363
|
}
|
|
2364
2364
|
function Da(t) {
|
|
2365
2365
|
const { element: e, stylingInfo: i, stateKey: a = "default" } = t;
|
|
2366
2366
|
if (e !== void 0 && i !== void 0) {
|
|
2367
2367
|
const o = e.states.getKey(a)?.properties ?? e.defaultState.properties;
|
|
2368
|
-
if (o.fill = i.pattern ?? i.fill, o.fillOpacity =
|
|
2368
|
+
if (o.fill = i.pattern ?? i.fill, o.fillOpacity = nn(o.fill.toString()).alpha === 0 ? 0 : 1, i.outline !== void 0) {
|
|
2369
2369
|
const { outline: n } = i;
|
|
2370
2370
|
o.stroke = n.stroke, o.strokeOpacity = n.stroke.alpha === 0 ? 0 : 1, o.strokeDasharray = n.strokeDasharray, o.strokeLinecap = n.strokeLinecap, o.strokeWidth = n.strokeWidth;
|
|
2371
2371
|
}
|
|
@@ -2492,13 +2492,13 @@ function Wd(t, e) {
|
|
|
2492
2492
|
if (d !== void 0) {
|
|
2493
2493
|
const u = It({ config: s }), m = u ? c.valueX : c.valueY, g = (u ? c.values.valueX.totalPercent : c.values.valueY.totalPercent) / 100, h = c.dataContext ?? {};
|
|
2494
2494
|
if (h !== void 0) {
|
|
2495
|
-
const p = $(n.uid, "rendererFieldNames"), b =
|
|
2496
|
-
value:
|
|
2495
|
+
const p = $(n.uid, "rendererFieldNames"), b = ii({
|
|
2496
|
+
value: un(U([d]), d),
|
|
2497
2497
|
dataContext: h,
|
|
2498
|
-
useRendererLabel:
|
|
2499
|
-
|
|
2498
|
+
useRendererLabel: io(s, p),
|
|
2499
|
+
config: s
|
|
2500
2500
|
});
|
|
2501
|
-
let S =
|
|
2501
|
+
let S = ai(h);
|
|
2502
2502
|
S === void 0 && (S = b);
|
|
2503
2503
|
const C = h[F.dateBinningRange];
|
|
2504
2504
|
o = l({
|
|
@@ -2530,7 +2530,7 @@ function Vp(t) {
|
|
|
2530
2530
|
} = t;
|
|
2531
2531
|
let l = s;
|
|
2532
2532
|
l === void 0 && (xt(n) && n ? (l = n, e && (l.intlOptions.style = "decimal")) : l = Us());
|
|
2533
|
-
const c = $(i.chart.uid, "formatLocale"), d = a !== void 0 ?
|
|
2533
|
+
const c = $(i.chart.uid, "formatLocale"), d = a !== void 0 ? mo({
|
|
2534
2534
|
value: a,
|
|
2535
2535
|
valueFormat: l,
|
|
2536
2536
|
iLocale: i.chart.language.locale,
|
|
@@ -2539,7 +2539,7 @@ function Vp(t) {
|
|
|
2539
2539
|
let u = "";
|
|
2540
2540
|
if (e && o !== void 0) {
|
|
2541
2541
|
let m = r;
|
|
2542
|
-
m === void 0 && (m = _s(), m.intlOptions.minimumFractionDigits = 2, m.intlOptions.maximumFractionDigits = 2), u =
|
|
2542
|
+
m === void 0 && (m = _s(), m.intlOptions.minimumFractionDigits = 2, m.intlOptions.maximumFractionDigits = 2), u = mo({
|
|
2543
2543
|
value: o,
|
|
2544
2544
|
valueFormat: m,
|
|
2545
2545
|
iLocale: i.chart.language.locale,
|
|
@@ -2597,7 +2597,7 @@ function Wp(t) {
|
|
|
2597
2597
|
ln({ chartConfig: r, queryObject: c, options: l }) && (u.timeZone = d ?? a.intlOptions.timeZone);
|
|
2598
2598
|
const m = new Date(i[0]), g = new Date(i[1]);
|
|
2599
2599
|
if (!Number.isNaN(m.valueOf())) {
|
|
2600
|
-
const h = $(e.chart.uid, "formatLocale"), p =
|
|
2600
|
+
const h = $(e.chart.uid, "formatLocale"), p = si({
|
|
2601
2601
|
type: y.DateAxisFormat,
|
|
2602
2602
|
iLocale: e.chart.language.locale,
|
|
2603
2603
|
formatLocale: h
|
|
@@ -2634,12 +2634,12 @@ function Ed(t) {
|
|
|
2634
2634
|
series: s,
|
|
2635
2635
|
dateRange: l,
|
|
2636
2636
|
xAxisValueFormat: i
|
|
2637
|
-
}) :
|
|
2637
|
+
}) : ci(i) ? c && typeof r == "number" ? u = new Date(r).toLocaleTimeString(m) : (r instanceof Date || typeof r == "number" && Number.isFinite(r)) && (u = mo({
|
|
2638
2638
|
value: r,
|
|
2639
2639
|
valueFormat: n ?? i,
|
|
2640
2640
|
iLocale: s.chart.language.locale,
|
|
2641
2641
|
formatLocale: m
|
|
2642
|
-
})) : typeof r == "number" && xt(i) ? u =
|
|
2642
|
+
})) : typeof r == "number" && xt(i) ? u = mo({
|
|
2643
2643
|
value: r,
|
|
2644
2644
|
valueFormat: o ?? i,
|
|
2645
2645
|
iLocale: s.chart.language.locale,
|
|
@@ -2767,13 +2767,13 @@ function zp(t) {
|
|
|
2767
2767
|
if (c !== void 0) {
|
|
2768
2768
|
const d = l?.dataContext ?? {};
|
|
2769
2769
|
if (d !== void 0) {
|
|
2770
|
-
const u =
|
|
2770
|
+
const u = ii({
|
|
2771
2771
|
value: d[c.x],
|
|
2772
2772
|
dataContext: d,
|
|
2773
2773
|
useRendererLabel: Hi(a),
|
|
2774
2774
|
specificField: X.xAxisField
|
|
2775
2775
|
});
|
|
2776
|
-
let m =
|
|
2776
|
+
let m = ai(d);
|
|
2777
2777
|
m === void 0 && (m = u), r = s({
|
|
2778
2778
|
seriesName: n.name,
|
|
2779
2779
|
xValue: u,
|
|
@@ -2797,13 +2797,13 @@ function Hp(t) {
|
|
|
2797
2797
|
if (l !== void 0) {
|
|
2798
2798
|
const c = r.dataContext ?? {};
|
|
2799
2799
|
if (c !== void 0) {
|
|
2800
|
-
const d =
|
|
2800
|
+
const d = ii({
|
|
2801
2801
|
value: c[l.x],
|
|
2802
2802
|
dataContext: c,
|
|
2803
2803
|
useRendererLabel: Hi(a),
|
|
2804
2804
|
specificField: X.xAxisField
|
|
2805
2805
|
});
|
|
2806
|
-
let u =
|
|
2806
|
+
let u = ai(c);
|
|
2807
2807
|
u === void 0 && (u = d), s = n({
|
|
2808
2808
|
seriesName: o.name,
|
|
2809
2809
|
xValue: d,
|
|
@@ -2828,13 +2828,13 @@ function Gp(t) {
|
|
|
2828
2828
|
if (l !== void 0) {
|
|
2829
2829
|
const c = r.dataContext ?? {};
|
|
2830
2830
|
if (c !== void 0) {
|
|
2831
|
-
const d =
|
|
2831
|
+
const d = ii({
|
|
2832
2832
|
value: c[l.x],
|
|
2833
2833
|
dataContext: c,
|
|
2834
2834
|
useRendererLabel: Hi(a),
|
|
2835
2835
|
specificField: X.xAxisField
|
|
2836
2836
|
});
|
|
2837
|
-
let u =
|
|
2837
|
+
let u = ai(c);
|
|
2838
2838
|
u === void 0 && (u = d), s = n({
|
|
2839
2839
|
seriesName: o.name,
|
|
2840
2840
|
xValue: d,
|
|
@@ -2892,7 +2892,7 @@ function _p(t) {
|
|
|
2892
2892
|
return c.forEach((m) => {
|
|
2893
2893
|
const g = he({ key: m, y: o, splitBy: n }), h = e[g];
|
|
2894
2894
|
if (h != null && typeof h == "number") {
|
|
2895
|
-
const p = $(i.chart.uid, "formatLocale"), b =
|
|
2895
|
+
const p = $(i.chart.uid, "formatLocale"), b = mo({
|
|
2896
2896
|
value: h,
|
|
2897
2897
|
valueFormat: l,
|
|
2898
2898
|
iLocale: i.chart.language.locale,
|
|
@@ -3041,7 +3041,7 @@ function qp(t) {
|
|
|
3041
3041
|
});
|
|
3042
3042
|
}
|
|
3043
3043
|
function Zp(t) {
|
|
3044
|
-
const e =
|
|
3044
|
+
const e = ri(F.dataLabelInitialize);
|
|
3045
3045
|
return Ni(e.uid, { isDataLabel: !0 }), t.bullets.push(e), Dd(e), Td(y.LineSeries, e), kd(y.LineSeries, e), ds(e, t), e.html = "{valueX}", e;
|
|
3046
3046
|
}
|
|
3047
3047
|
function Kp(t) {
|
|
@@ -3311,11 +3311,11 @@ function fr(t) {
|
|
|
3311
3311
|
valueSuffix: l,
|
|
3312
3312
|
percentagePrefix: c,
|
|
3313
3313
|
percentageSuffix: d
|
|
3314
|
-
} = t, u = $(i.uid, "formatLocale"), m =
|
|
3314
|
+
} = t, u = $(i.uid, "formatLocale"), m = si({
|
|
3315
3315
|
type: y.NumberAxisFormat,
|
|
3316
3316
|
iLocale: e,
|
|
3317
3317
|
formatLocale: u
|
|
3318
|
-
}), g =
|
|
3318
|
+
}), g = si({
|
|
3319
3319
|
type: y.NumberAxisFormat,
|
|
3320
3320
|
iLocale: e,
|
|
3321
3321
|
formatLocale: u
|
|
@@ -3427,7 +3427,7 @@ function sb(t) {
|
|
|
3427
3427
|
}
|
|
3428
3428
|
function rb(t) {
|
|
3429
3429
|
const { dataContext: e } = t.target.dataItem ?? {};
|
|
3430
|
-
if (e instanceof
|
|
3430
|
+
if (e instanceof gi) {
|
|
3431
3431
|
const { component: i } = e;
|
|
3432
3432
|
i instanceof Pt && i.showTooltip();
|
|
3433
3433
|
}
|
|
@@ -3534,7 +3534,7 @@ function ub(t) {
|
|
|
3534
3534
|
const d = o ? e.yAxes.getIndex(0) : e.xAxes.getIndex(0);
|
|
3535
3535
|
let u;
|
|
3536
3536
|
d instanceof Pe ? u = f.DateAxis : d instanceof Le ? u = f.ValueAxis : u = f.CategoryAxis;
|
|
3537
|
-
const g = (a?.orderOptions?.data && "orderBy" in a.orderOptions.data ? a.orderOptions.data.orderBy ===
|
|
3537
|
+
const g = (a?.orderOptions?.data && "orderBy" in a.orderOptions.data ? a.orderOptions.data.orderBy === sn.Descending : !1) ? f.OrderByFieldsDESC : f.OrderByFieldsASC;
|
|
3538
3538
|
i = `${n}-${l}-${r}-${c}-${u}-${g}`;
|
|
3539
3539
|
}
|
|
3540
3540
|
return i;
|
|
@@ -3573,10 +3573,10 @@ function gb(t, e) {
|
|
|
3573
3573
|
const i = t.target.dataItem, a = t.target.isActive;
|
|
3574
3574
|
if (i?.dataContext !== void 0) {
|
|
3575
3575
|
const { dataContext: o } = i, n = { visible: a };
|
|
3576
|
-
if (o instanceof
|
|
3576
|
+
if (o instanceof gi)
|
|
3577
3577
|
$(e.uid, "isNonAggregatedChart") === !0 ? n.sliceData = o.dataContext : n.sliceId = o.category;
|
|
3578
3578
|
else if (o instanceof Ge) {
|
|
3579
|
-
const r = o.id, l =
|
|
3579
|
+
const r = o.id, l = xo(e, r);
|
|
3580
3580
|
if (l !== void 0) {
|
|
3581
3581
|
const m = $(e.uid, "config"), g = hr(m?.showOutliers, a), h = Ne(l);
|
|
3582
3582
|
h !== void 0 && (h.disabled = !g), le(l, g);
|
|
@@ -3588,9 +3588,9 @@ function gb(t, e) {
|
|
|
3588
3588
|
c !== void 0 && le(c, a), d !== void 0 && le(d, a), u !== void 0 && le(u, a), n.seriesId = o.id;
|
|
3589
3589
|
} else
|
|
3590
3590
|
n.seriesId = o.id;
|
|
3591
|
-
const s = o instanceof
|
|
3592
|
-
(s instanceof
|
|
3593
|
-
s instanceof
|
|
3591
|
+
const s = o instanceof gi ? o.component : o;
|
|
3592
|
+
(s instanceof mi || s instanceof Pt) && s.events.once(P.Validated, () => {
|
|
3593
|
+
s instanceof mi && (ou(s), s.events.dispatchImmediately(P.Validated, {
|
|
3594
3594
|
type: P.Validated,
|
|
3595
3595
|
target: s
|
|
3596
3596
|
}));
|
|
@@ -3622,7 +3622,7 @@ function pb(t) {
|
|
|
3622
3622
|
t.scrollable = !0;
|
|
3623
3623
|
}
|
|
3624
3624
|
function bb(t) {
|
|
3625
|
-
const e =
|
|
3625
|
+
const e = ri(void 0, t);
|
|
3626
3626
|
return e.adapter.add("paddingTop", (i) => {
|
|
3627
3627
|
let a = i;
|
|
3628
3628
|
const o = e.bbox.height;
|
|
@@ -3657,7 +3657,7 @@ function yb(t) {
|
|
|
3657
3657
|
}
|
|
3658
3658
|
function Sb(t) {
|
|
3659
3659
|
const e = F.legendProperties;
|
|
3660
|
-
t.labels.template =
|
|
3660
|
+
t.labels.template = ri(e.legendLabels), t.valueLabels.template = ri(e.legendLabels), t.markers.template.width = e.legendMarkersSize, t.markers.template.height = e.legendMarkersSize, t.labels.template.adapter.add("wrap", () => !0), t.labels.template.adapter.add("maxWidth", (i) => {
|
|
3661
3661
|
let a = i, o;
|
|
3662
3662
|
if (t.baseSprite instanceof Re && (o = $(t.baseSprite.uid, "config")?.legend?.labelMaxWidth), t.position === G.Right || t.position === G.Left)
|
|
3663
3663
|
a = o ?? F.legendProperties.legendLabels.maxWidth;
|
|
@@ -3693,12 +3693,12 @@ function Cb(t, e) {
|
|
|
3693
3693
|
function xb(t) {
|
|
3694
3694
|
t.itemContainers.template.reverseOrder = t.rtl;
|
|
3695
3695
|
}
|
|
3696
|
-
function
|
|
3696
|
+
function wo(t, e) {
|
|
3697
3697
|
t.adapter.keys().includes(e) || t.adapter.add(e, (i) => {
|
|
3698
3698
|
let a = i;
|
|
3699
3699
|
const o = t.dataItem?.dataContext;
|
|
3700
3700
|
if (o !== void 0) {
|
|
3701
|
-
const n = o instanceof
|
|
3701
|
+
const n = o instanceof gi ? o.component?.chart : o.chart;
|
|
3702
3702
|
if (n !== void 0) {
|
|
3703
3703
|
const s = $(n.uid, "config"), { rectangleMarkerRadius: r, roundedMarkerRadius: l } = F.legendProperties;
|
|
3704
3704
|
a = s?.legend?.roundMarkers === !0 ? l : r;
|
|
@@ -3710,7 +3710,7 @@ function Oo(t, e) {
|
|
|
3710
3710
|
function xl(t) {
|
|
3711
3711
|
t.markers.each((e) => {
|
|
3712
3712
|
const i = e.children.getIndex(0);
|
|
3713
|
-
i instanceof cm && (
|
|
3713
|
+
i instanceof cm && (wo(i, "cornerRadiusBottomLeft"), wo(i, "cornerRadiusBottomRight"), wo(i, "cornerRadiusTopLeft"), wo(i, "cornerRadiusTopRight"), i.validate());
|
|
3714
3714
|
});
|
|
3715
3715
|
}
|
|
3716
3716
|
function vb(t) {
|
|
@@ -3822,7 +3822,7 @@ function Db(t) {
|
|
|
3822
3822
|
rendererType: Vs(i.chartRenderer, I?.renderer)
|
|
3823
3823
|
}), Zd(m, S);
|
|
3824
3824
|
const D = sr({ chart: e, lineSeries: S, applyPropertiesToClones: !1 });
|
|
3825
|
-
return Wd(D, S), Zp(S), ma({ element: D, customSelectionTheme: r }),
|
|
3825
|
+
return Wd(D, S), Zp(S), ma({ element: D, customSelectionTheme: r }), Co({ chart: e, element: D, queryObject: n, errorStrings: c }), Lp({
|
|
3826
3826
|
chart: e,
|
|
3827
3827
|
numberOfChartSeries: d,
|
|
3828
3828
|
series: S,
|
|
@@ -3840,9 +3840,9 @@ function Ob(t) {
|
|
|
3840
3840
|
u === void 0 && (u = Xc(), u.color = s), n ? u.color = s : u.color ??= s;
|
|
3841
3841
|
const m = /* @__PURE__ */ new Set();
|
|
3842
3842
|
let g;
|
|
3843
|
-
|
|
3843
|
+
jo({ element: l, markerSymbol: u }), l.clones.each((h) => {
|
|
3844
3844
|
if (h.dataItem instanceof na)
|
|
3845
|
-
|
|
3845
|
+
jo({ element: h, markerSymbol: u }), h.states.getKey(at.CustomActive)?.reset(), h.states.getKey(at.CustomInactive)?.reset();
|
|
3846
3846
|
else {
|
|
3847
3847
|
const p = h.dataItem?.dataContext, b = Vt({
|
|
3848
3848
|
seriesConfig: o,
|
|
@@ -3897,7 +3897,7 @@ function qd(t) {
|
|
|
3897
3897
|
return le(r, a.visible), c.symbolWithColorInfo;
|
|
3898
3898
|
}
|
|
3899
3899
|
function Zd(t, e) {
|
|
3900
|
-
t.showArea === !0 ? t.areaColor !== void 0 ? (e.fill = Tt(t.areaColor), e.fillOpacity = e.fill.alpha === 0 ? 0 : 1) : (e.fill =
|
|
3900
|
+
t.showArea === !0 ? t.areaColor !== void 0 ? (e.fill = Tt(t.areaColor), e.fillOpacity = e.fill.alpha === 0 ? 0 : 1) : (e.fill = nn(e.stroke.hex, 1), e.fillOpacity = F.lineSeries.areaOpacity) : e.fillOpacity = 0;
|
|
3901
3901
|
}
|
|
3902
3902
|
function Kd(t) {
|
|
3903
3903
|
const { series: e, seriesIndexMapper: i, seriesSymbolMapForEvent: a, seriesIndex: o, colorMatch: n, rendererType: s } = t, r = t.seriesConfig, l = $(e.chart.uid, "config"), c = l?.series.length ?? 0, d = U(l?.series);
|
|
@@ -3990,7 +3990,7 @@ function Ln(t, e) {
|
|
|
3990
3990
|
);
|
|
3991
3991
|
return { topStepLineSeries: i, medianStepLineSeries: a, bottomStepLineSeries: o };
|
|
3992
3992
|
}
|
|
3993
|
-
function
|
|
3993
|
+
function xo(t, e) {
|
|
3994
3994
|
return t.series.values.find((i) => i.id === `${e}_${ue.Outliers}`);
|
|
3995
3995
|
}
|
|
3996
3996
|
function hr(t, e) {
|
|
@@ -4010,7 +4010,7 @@ function Bb(t) {
|
|
|
4010
4010
|
return g.hoverable = !0, ga(g, n), c || (ma({
|
|
4011
4011
|
element: g.columns.template,
|
|
4012
4012
|
customSelectionTheme: s
|
|
4013
|
-
}),
|
|
4013
|
+
}), Co({ chart: e, element: g.columns.template, queryObject: r, errorStrings: l })), g.id = d.id, u !== void 0 && (g.xAxis = u), m !== void 0 && (g.yAxis = m), g.simplifiedProcessing = !0, g.columns.template.applyOnClones = !0, g.riseFromOpenState.reset(), g.riseFromPreviousState.reset(), g.dropFromOpenState.reset(), g.dropFromPreviousState.reset(), Ea(g, d.name), fa(g), g;
|
|
4014
4014
|
}
|
|
4015
4015
|
function Zn(t) {
|
|
4016
4016
|
const { axisList: e = [], chartConfig: i, seriesIndex: a, type: o, hideLoaderHandle: n, selectionTheme: s } = t, r = i.series[a], [l, c] = e, d = new kt();
|
|
@@ -4035,7 +4035,7 @@ function Mb(t) {
|
|
|
4035
4035
|
return d || (ma({
|
|
4036
4036
|
element: h,
|
|
4037
4037
|
customSelectionTheme: s
|
|
4038
|
-
}),
|
|
4038
|
+
}), Co({ chart: e, element: h, queryObject: r, errorStrings: l })), fa(g), g;
|
|
4039
4039
|
}
|
|
4040
4040
|
function za(t) {
|
|
4041
4041
|
const {
|
|
@@ -4060,7 +4060,7 @@ function za(t) {
|
|
|
4060
4060
|
chartSubType: R,
|
|
4061
4061
|
splitBy: M,
|
|
4062
4062
|
showOutliers: x,
|
|
4063
|
-
standardizeValues:
|
|
4063
|
+
standardizeValues: ao(R) ? v : !1,
|
|
4064
4064
|
key: ee.Average
|
|
4065
4065
|
});
|
|
4066
4066
|
k ? (a.dataFields.valueX = N, a.dataFields.categoryY = g) : (a.dataFields.valueY = N, a.dataFields.categoryX = g), a.dataFields.customValue = M;
|
|
@@ -4070,7 +4070,7 @@ function za(t) {
|
|
|
4070
4070
|
chartSubType: I,
|
|
4071
4071
|
splitBy: D,
|
|
4072
4072
|
showOutliers: x,
|
|
4073
|
-
standardizeValues:
|
|
4073
|
+
standardizeValues: ao(I) ? v : !1
|
|
4074
4074
|
};
|
|
4075
4075
|
if (b) {
|
|
4076
4076
|
if (o instanceof Ge) {
|
|
@@ -4127,7 +4127,7 @@ function Nb(t) {
|
|
|
4127
4127
|
} = t, c = a.series[n], [d, u] = i, m = new xe();
|
|
4128
4128
|
Qt(m.uid, { isBoxPlotMeanLineSeries: !0 }), ga(m, o), m.id = c.id, d !== void 0 && (m.xAxis = d), u !== void 0 && (m.yAxis = u), m.simplifiedProcessing = !0;
|
|
4129
4129
|
const g = sr({ chart: e, lineSeries: m });
|
|
4130
|
-
return ma({ element: g, customSelectionTheme: s }),
|
|
4130
|
+
return ma({ element: g, customSelectionTheme: s }), Co({ chart: e, element: g, queryObject: r, errorStrings: l }), fa(m), Up(m), za({
|
|
4131
4131
|
chartConfig: a,
|
|
4132
4132
|
seriesConfig: c,
|
|
4133
4133
|
meanLineSeries: m,
|
|
@@ -4193,13 +4193,13 @@ function Vb(t) {
|
|
|
4193
4193
|
function Wb(t) {
|
|
4194
4194
|
const { candleStickSeries: e, seriesConfig: i, showOutliers: a, seriesSymbol: o } = t;
|
|
4195
4195
|
if (o !== void 0) {
|
|
4196
|
-
const n =
|
|
4196
|
+
const n = xo(e.chart, e.id);
|
|
4197
4197
|
if (n !== void 0) {
|
|
4198
4198
|
const s = Ne(n);
|
|
4199
4199
|
if (s !== void 0) {
|
|
4200
4200
|
const r = hr(a, i.visible), l = {
|
|
4201
4201
|
type: Q.SMS,
|
|
4202
|
-
style:
|
|
4202
|
+
style: Ho.Circle,
|
|
4203
4203
|
color: o.color,
|
|
4204
4204
|
size: F.boxPlot.boxPlotOutliersSize
|
|
4205
4205
|
};
|
|
@@ -4207,7 +4207,7 @@ function Wb(t) {
|
|
|
4207
4207
|
const d = e.dataItems.values.find(
|
|
4208
4208
|
(u) => (u.categories.categoryX ?? u.categories.categoryY) === (c.dataItem?.categories.categoryX ?? c.dataItem?.categories.categoryY)
|
|
4209
4209
|
)?.column?.fill;
|
|
4210
|
-
|
|
4210
|
+
jo({
|
|
4211
4211
|
element: c,
|
|
4212
4212
|
markerSymbol: {
|
|
4213
4213
|
...l,
|
|
@@ -4330,7 +4330,7 @@ function Hb(t) {
|
|
|
4330
4330
|
d.id
|
|
4331
4331
|
);
|
|
4332
4332
|
h !== void 0 && (h.startLocation = m, h.endLocation = g), p !== void 0 && (p.startLocation = m, p.endLocation = g), b !== void 0 && (b.startLocation = m, b.endLocation = g);
|
|
4333
|
-
const S =
|
|
4333
|
+
const S = xo(i, d.id);
|
|
4334
4334
|
if (S !== void 0) {
|
|
4335
4335
|
const C = (m + g) / 2;
|
|
4336
4336
|
o ? S.dataItems.template.locations.categoryY = C : S.dataItems.template.locations.categoryX = C;
|
|
@@ -4368,7 +4368,7 @@ function Yb(t) {
|
|
|
4368
4368
|
outliersVisibilityChanged: d,
|
|
4369
4369
|
standardizeValuesVisibilityChanged: u,
|
|
4370
4370
|
seriesWereReinitialized: m
|
|
4371
|
-
} = t, g =
|
|
4371
|
+
} = t, g = xo(e, n);
|
|
4372
4372
|
if (g !== void 0) {
|
|
4373
4373
|
const h = Ne(g);
|
|
4374
4374
|
if (h !== void 0) {
|
|
@@ -4650,11 +4650,11 @@ function ty(t) {
|
|
|
4650
4650
|
xAxisField: l,
|
|
4651
4651
|
yAxisField: c,
|
|
4652
4652
|
queryObject: d
|
|
4653
|
-
} = t, u = z(i.series), m = U(i.series), g = xi(i), h = [], p = [], b = [], S = Ci(i.series), C = a instanceof
|
|
4653
|
+
} = t, u = z(i.series), m = U(i.series), g = xi(i), h = [], p = [], b = [], S = Ci(i.series), C = a instanceof mi ? a.dataFields?.customValue ?? "" : "";
|
|
4654
4654
|
return n.forEach((x) => {
|
|
4655
4655
|
if (!(x instanceof na)) {
|
|
4656
4656
|
let v = x.dataItem?.dataContext;
|
|
4657
|
-
if (v !== void 0 && (u === y.BoxPlotSeries && v[F.boxPlot.boxPlotOutlierId] !== !0 || m === W.BarAndLineMultiFields) && (v =
|
|
4657
|
+
if (v !== void 0 && (u === y.BoxPlotSeries && v[F.boxPlot.boxPlotOutlierId] !== !0 || m === W.BarAndLineMultiFields) && (v = yi({
|
|
4658
4658
|
dataContext: v,
|
|
4659
4659
|
yAxisField: c,
|
|
4660
4660
|
yList: S,
|
|
@@ -4663,7 +4663,7 @@ function ty(t) {
|
|
|
4663
4663
|
chartType: u,
|
|
4664
4664
|
chartSubType: m,
|
|
4665
4665
|
showOutliers: g,
|
|
4666
|
-
isFeatureCollectionLayer:
|
|
4666
|
+
isFeatureCollectionLayer: pi(d)
|
|
4667
4667
|
})), bn({
|
|
4668
4668
|
elementDataContext: v,
|
|
4669
4669
|
options: o,
|
|
@@ -4680,7 +4680,7 @@ function ty(t) {
|
|
|
4680
4680
|
b.push(v);
|
|
4681
4681
|
else {
|
|
4682
4682
|
const k = /* @__PURE__ */ new Set();
|
|
4683
|
-
u === y.PieSeries && Li(v) ? (
|
|
4683
|
+
u === y.PieSeries && Li(v) ? (So({
|
|
4684
4684
|
groupOfSlicesDataContext: v
|
|
4685
4685
|
}) ?? []).forEach((I) => {
|
|
4686
4686
|
s.forEach((D) => {
|
|
@@ -4692,7 +4692,7 @@ function ty(t) {
|
|
|
4692
4692
|
}) && k.add(I);
|
|
4693
4693
|
});
|
|
4694
4694
|
}) : k.add(v), Array.from(k)?.forEach((T) => {
|
|
4695
|
-
const I =
|
|
4695
|
+
const I = yi({
|
|
4696
4696
|
dataContext: T,
|
|
4697
4697
|
yAxisField: c,
|
|
4698
4698
|
yList: S,
|
|
@@ -4701,7 +4701,7 @@ function ty(t) {
|
|
|
4701
4701
|
chartType: u,
|
|
4702
4702
|
chartSubType: m,
|
|
4703
4703
|
showOutliers: g,
|
|
4704
|
-
isFeatureCollectionLayer:
|
|
4704
|
+
isFeatureCollectionLayer: pi(d)
|
|
4705
4705
|
});
|
|
4706
4706
|
I !== void 0 && b.push(I);
|
|
4707
4707
|
});
|
|
@@ -4719,7 +4719,7 @@ function iy(t) {
|
|
|
4719
4719
|
const { chart: e, selectionIndexes: i, queryObject: a } = t, o = [], n = [], s = $(e.uid, "config"), r = xi(s), l = Ci(s?.series ?? []), c = U(s?.series);
|
|
4720
4720
|
return e.series.each((d, u) => {
|
|
4721
4721
|
if (s && d.visible) {
|
|
4722
|
-
const m = s.series[0].x, g = Yi(d), h = d instanceof
|
|
4722
|
+
const m = s.series[0].x, g = Yi(d), h = d instanceof mi ? d.dataFields?.customValue ?? "" : "", p = pn(d, u), b = i.get(u);
|
|
4723
4723
|
if (b !== void 0) {
|
|
4724
4724
|
let S;
|
|
4725
4725
|
if (d instanceof st ? S = d.columns : d instanceof Pt ? S = d.slices : S = Ne(d)?.clones, S !== void 0) {
|
|
@@ -4727,7 +4727,7 @@ function iy(t) {
|
|
|
4727
4727
|
S.each((x, v) => {
|
|
4728
4728
|
if (x && (C === void 0 || C.includes(v))) {
|
|
4729
4729
|
let A;
|
|
4730
|
-
p === y.BoxPlotSeries && x.dataItem instanceof Na ? A = x.dataItem.dataContext : x.dataItem instanceof na || (A =
|
|
4730
|
+
p === y.BoxPlotSeries && x.dataItem instanceof Na ? A = x.dataItem.dataContext : x.dataItem instanceof na || (A = yi({
|
|
4731
4731
|
dataContext: x.dataItem?.dataContext,
|
|
4732
4732
|
yList: l,
|
|
4733
4733
|
yAxisField: g,
|
|
@@ -4736,7 +4736,7 @@ function iy(t) {
|
|
|
4736
4736
|
chartType: p,
|
|
4737
4737
|
chartSubType: c,
|
|
4738
4738
|
showOutliers: r,
|
|
4739
|
-
isFeatureCollectionLayer:
|
|
4739
|
+
isFeatureCollectionLayer: pi(a)
|
|
4740
4740
|
})), A !== void 0 && o.push(A), n.push(x);
|
|
4741
4741
|
} else
|
|
4742
4742
|
Et({
|
|
@@ -4778,7 +4778,7 @@ function ay(t) {
|
|
|
4778
4778
|
if (e.chart instanceof fe) {
|
|
4779
4779
|
if (e instanceof Ge && a !== !0) {
|
|
4780
4780
|
o = [...e.columns.values];
|
|
4781
|
-
const n =
|
|
4781
|
+
const n = xo(e.chart, e.id);
|
|
4782
4782
|
if (n !== void 0 && n.visible) {
|
|
4783
4783
|
const s = Ne(n);
|
|
4784
4784
|
s !== void 0 && o.push(...s.clones.values);
|
|
@@ -4867,9 +4867,9 @@ function oy(t) {
|
|
|
4867
4867
|
} else if (p !== void 0 && B)
|
|
4868
4868
|
R = iy({ chart: b, selectionIndexes: p, queryObject: a });
|
|
4869
4869
|
else {
|
|
4870
|
-
const N = R === void 0 || R.length === 0, E = e instanceof
|
|
4870
|
+
const N = R === void 0 || R.length === 0, E = e instanceof mi ? e.dataFields?.customValue ?? "" : "", V = (H) => {
|
|
4871
4871
|
let Y = H.dataItem?.dataContext;
|
|
4872
|
-
return Y !== void 0 && v === y.BoxPlotSeries && Y[F.boxPlot.boxPlotOutlierId] !== !0 && (Y =
|
|
4872
|
+
return Y !== void 0 && v === y.BoxPlotSeries && Y[F.boxPlot.boxPlotOutlierId] !== !0 && (Y = yi({
|
|
4873
4873
|
dataContext: Y,
|
|
4874
4874
|
yAxisField: c,
|
|
4875
4875
|
yList: Ci(S.series),
|
|
@@ -4878,7 +4878,7 @@ function oy(t) {
|
|
|
4878
4878
|
chartType: v,
|
|
4879
4879
|
chartSubType: k,
|
|
4880
4880
|
showOutliers: C,
|
|
4881
|
-
isFeatureCollectionLayer:
|
|
4881
|
+
isFeatureCollectionLayer: pi(a)
|
|
4882
4882
|
})), bn({
|
|
4883
4883
|
elementDataContext: Y,
|
|
4884
4884
|
options: o,
|
|
@@ -4963,7 +4963,7 @@ function ny(t) {
|
|
|
4963
4963
|
}
|
|
4964
4964
|
}
|
|
4965
4965
|
}
|
|
4966
|
-
async function
|
|
4966
|
+
async function vo(t) {
|
|
4967
4967
|
const { chart: e, listSelectedElements: i, selectionSource: a, queryObject: o, errorStrings: n } = t, s = $(e.uid, "options"), r = $(e.uid, "config"), l = Ke(o);
|
|
4968
4968
|
if (r)
|
|
4969
4969
|
if (i.length === 0)
|
|
@@ -4980,7 +4980,7 @@ async function xo(t) {
|
|
|
4980
4980
|
let m = [];
|
|
4981
4981
|
const g = /* @__PURE__ */ new Map(), { xAxisField: h } = i[0] ?? {}, p = z(r?.series), b = U(r?.series), S = Ci(r?.series ?? []), x = St(o).find((A) => A.name === h)?.type;
|
|
4982
4982
|
if (i.forEach((A) => {
|
|
4983
|
-
const { elementDataContext: k, yAxisField: T, splitBy: I } = A, D =
|
|
4983
|
+
const { elementDataContext: k, yAxisField: T, splitBy: I } = A, D = yi({
|
|
4984
4984
|
dataContext: k,
|
|
4985
4985
|
yAxisField: T,
|
|
4986
4986
|
yList: S,
|
|
@@ -4989,7 +4989,7 @@ async function xo(t) {
|
|
|
4989
4989
|
chartType: p,
|
|
4990
4990
|
chartSubType: b,
|
|
4991
4991
|
showOutliers: c,
|
|
4992
|
-
isFeatureCollectionLayer:
|
|
4992
|
+
isFeatureCollectionLayer: pi(o)
|
|
4993
4993
|
});
|
|
4994
4994
|
D !== void 0 && u.push(D);
|
|
4995
4995
|
const { seriesIndex: w, elementIndex: B } = A;
|
|
@@ -5068,7 +5068,7 @@ async function ry(t, e, i) {
|
|
|
5068
5068
|
if (h instanceof As)
|
|
5069
5069
|
s.push(h.column);
|
|
5070
5070
|
else {
|
|
5071
|
-
const p = h.sprites.find((b) => !(b instanceof
|
|
5071
|
+
const p = h.sprites.find((b) => !(b instanceof Vo));
|
|
5072
5072
|
p !== void 0 && s.push(p);
|
|
5073
5073
|
}
|
|
5074
5074
|
}
|
|
@@ -5099,7 +5099,7 @@ async function ry(t, e, i) {
|
|
|
5099
5099
|
});
|
|
5100
5100
|
});
|
|
5101
5101
|
}
|
|
5102
|
-
}), await
|
|
5102
|
+
}), await vo({
|
|
5103
5103
|
chart: n,
|
|
5104
5104
|
listSelectedElements: d,
|
|
5105
5105
|
selectionSource: $e.SelectionByClick,
|
|
@@ -5118,7 +5118,7 @@ function ly(t) {
|
|
|
5118
5118
|
rs(e, n);
|
|
5119
5119
|
}
|
|
5120
5120
|
}
|
|
5121
|
-
function
|
|
5121
|
+
function Zo(t, e) {
|
|
5122
5122
|
if (Gt(t?.renderer?.labels?.template) && (t instanceof nt || t instanceof Pe))
|
|
5123
5123
|
if (e)
|
|
5124
5124
|
t.renderer.labels.template.events.disableType(P.Hit), rs(t, jt.default);
|
|
@@ -5155,13 +5155,13 @@ function Pi(t) {
|
|
|
5155
5155
|
}
|
|
5156
5156
|
o > 0 && (i.maxWidth = o, e.invalidateLabels(), e instanceof fe && (e.xAxes.getIndex(0)?.invalidateLabels(), e.xAxes.getIndex(1)?.invalidateLabels(), e.yAxes.getIndex(0)?.invalidateLabels(), e.yAxes.getIndex(1)?.invalidateLabels()));
|
|
5157
5157
|
}
|
|
5158
|
-
function
|
|
5158
|
+
function go(t) {
|
|
5159
5159
|
const { chart: e, labelType: i } = t;
|
|
5160
5160
|
Pi(t);
|
|
5161
5161
|
const a = i === Z.YAxisTitle ? 1 : 0, o = lt(() => Pi(t), F.debounceTime);
|
|
5162
5162
|
e.events.on(P.Validated, o, a), (i === Z.YAxisTitle || i === Z.XAxisTitle) && e instanceof fe && e.seriesContainer.events.on(P.SizeChanged, o, a);
|
|
5163
5163
|
}
|
|
5164
|
-
function
|
|
5164
|
+
function Ko(t, e) {
|
|
5165
5165
|
t.events.on(
|
|
5166
5166
|
P.Validated,
|
|
5167
5167
|
lt(() => {
|
|
@@ -5176,8 +5176,8 @@ function cy(t, e) {
|
|
|
5176
5176
|
}), e.padding(0, 10, 0, 10));
|
|
5177
5177
|
}
|
|
5178
5178
|
function dy(t, e) {
|
|
5179
|
-
const i = t.renderer instanceof
|
|
5180
|
-
return i.disabled = !0, i.axis = t, yn(i), Ni(i.uid, { isGuide: e }),
|
|
5179
|
+
const i = t.renderer instanceof on ? new Ts() : new Fs();
|
|
5180
|
+
return i.disabled = !0, i.axis = t, yn(i), Ni(i.uid, { isGuide: e }), go({ chart: t.chart, label: i, labelType: Z.GuideLabel }), cy(t, i), i;
|
|
5181
5181
|
}
|
|
5182
5182
|
function uy(t) {
|
|
5183
5183
|
const { label: e, labelConfig: i, guideType: a } = t, o = e.axis.renderer instanceof Ct;
|
|
@@ -5194,14 +5194,14 @@ function fy(t, e, i) {
|
|
|
5194
5194
|
), t.axisFill.tooltip.boundingContainer = a.chartAndLegendContainer, t.axisFill.adapter.add("tooltipHTML", (o, n) => {
|
|
5195
5195
|
let s = o;
|
|
5196
5196
|
const { dataItem: r, axis: l } = n;
|
|
5197
|
-
if (!(l.renderer instanceof
|
|
5197
|
+
if (!(l.renderer instanceof on)) {
|
|
5198
5198
|
const c = tt(
|
|
5199
5199
|
l.uid,
|
|
5200
5200
|
"guideTooltipFormatter"
|
|
5201
5201
|
);
|
|
5202
5202
|
if (c !== void 0) {
|
|
5203
5203
|
let d = "", u;
|
|
5204
|
-
r instanceof ks ? (d = r.value, u = r.endValue) : r instanceof Aa ? (d = r.category, u = r.endCategory) : r instanceof
|
|
5204
|
+
r instanceof ks ? (d = r.value, u = r.endValue) : r instanceof Aa ? (d = r.category, u = r.endCategory) : r instanceof an && (d = r.date, u = r.endDate), s = c({
|
|
5205
5205
|
guideName: r.id ?? "",
|
|
5206
5206
|
start: d,
|
|
5207
5207
|
end: u,
|
|
@@ -5213,7 +5213,7 @@ function fy(t, e, i) {
|
|
|
5213
5213
|
}), t.axisFill.tooltip.events.on(P.Shown, (o) => {
|
|
5214
5214
|
const n = $(t.axisFill.axis.chart.uid, "config");
|
|
5215
5215
|
if (n !== void 0) {
|
|
5216
|
-
const s = $(t.axisFill.axis.chart.uid, "isRotated"), l = !
|
|
5216
|
+
const s = $(t.axisFill.axis.chart.uid, "isRotated"), l = !Lo(t.axisFill.axis.renderer, s) ? 1 : 0, d = n.axes?.[l]?.guides, { tooltipReverseColor: u } = d?.[e] ?? {};
|
|
5217
5217
|
Vd(o.target, u);
|
|
5218
5218
|
}
|
|
5219
5219
|
});
|
|
@@ -5223,13 +5223,13 @@ function my(t, e) {
|
|
|
5223
5223
|
const { guideName: a, start: o, end: n, guideIndex: s } = i, { chart: r } = t;
|
|
5224
5224
|
let l = "";
|
|
5225
5225
|
if (r !== void 0) {
|
|
5226
|
-
const c = $(r.uid, "config"), d = $(r.uid, "isRotated"), m = !
|
|
5226
|
+
const c = $(r.uid, "config"), d = $(r.uid, "isRotated"), m = !Lo(t.renderer, d) ? 1 : 0, h = c?.axes?.[m]?.guides;
|
|
5227
5227
|
let p = o, b = n;
|
|
5228
5228
|
if (t instanceof Pe) {
|
|
5229
5229
|
let v = new dc(), A;
|
|
5230
5230
|
if (r !== void 0) {
|
|
5231
5231
|
const k = $(t.chart.uid, "formatLocale");
|
|
5232
|
-
v =
|
|
5232
|
+
v = si({
|
|
5233
5233
|
type: y.DateAxisFormat,
|
|
5234
5234
|
iLocale: r.language.locale,
|
|
5235
5235
|
formatLocale: k
|
|
@@ -5347,7 +5347,7 @@ function by(t, e) {
|
|
|
5347
5347
|
o !== -1 && (i = o);
|
|
5348
5348
|
}
|
|
5349
5349
|
let a;
|
|
5350
|
-
return t instanceof nt ? a = new Aa() : t instanceof Pe ? a = new
|
|
5350
|
+
return t instanceof nt ? a = new Aa() : t instanceof Pe ? a = new an() : a = new ks(), t.axisRanges.insertIndex(i, a), a.label = dy(t, e), a.axisFill.fillOpacity = 1, a.axisFill.disabled = !0, a.grid.strokeOpacity = 1, a;
|
|
5351
5351
|
}
|
|
5352
5352
|
function yy(t, e) {
|
|
5353
5353
|
const i = by(t, !0);
|
|
@@ -5382,7 +5382,7 @@ function Cy(t, e) {
|
|
|
5382
5382
|
};
|
|
5383
5383
|
} else
|
|
5384
5384
|
n = pr(t.axisFill.axis, e);
|
|
5385
|
-
n.isValidGuide && (t instanceof Aa ? (t.category = `${n.start?.toString()}`, t.endCategory = `${n.end?.toString()}`) : t instanceof
|
|
5385
|
+
n.isValidGuide && (t instanceof Aa ? (t.category = `${n.start?.toString()}`, t.endCategory = `${n.end?.toString()}`) : t instanceof an ? (t.date = n.start, t.endDate = n.end) : (t.value = n.start, t.endValue = n.end));
|
|
5386
5386
|
}
|
|
5387
5387
|
}
|
|
5388
5388
|
function xy(t, e) {
|
|
@@ -5391,7 +5391,7 @@ function xy(t, e) {
|
|
|
5391
5391
|
function vy(t, e) {
|
|
5392
5392
|
const { axisFill: i, label: a } = t;
|
|
5393
5393
|
if (e !== void 0) {
|
|
5394
|
-
if (t.id = e.name, t.visible = e.visible !== void 0 ? e.visible : t.visible, Cy(t, e), e.style.type === Q.SLS ?
|
|
5394
|
+
if (t.id = e.name, t.visible = e.visible !== void 0 ? e.visible : t.visible, Cy(t, e), e.style.type === Q.SLS ? fo({
|
|
5395
5395
|
element: i,
|
|
5396
5396
|
fillSymbol: {
|
|
5397
5397
|
type: Q.SFS,
|
|
@@ -5399,7 +5399,7 @@ function vy(t, e) {
|
|
|
5399
5399
|
outline: e.style
|
|
5400
5400
|
},
|
|
5401
5401
|
visible: e.visible
|
|
5402
|
-
}) : e.style.type === Q.SFS &&
|
|
5402
|
+
}) : e.style.type === Q.SFS && fo({
|
|
5403
5403
|
element: i,
|
|
5404
5404
|
fillSymbol: e.style,
|
|
5405
5405
|
visible: e.visible
|
|
@@ -5454,7 +5454,7 @@ function Ty(t) {
|
|
|
5454
5454
|
function ky(t) {
|
|
5455
5455
|
const { axis: e, labels: i, restoreLabelsVisibility: a = !0 } = t;
|
|
5456
5456
|
(i ?? e.renderer.labels.values).forEach((o) => {
|
|
5457
|
-
o.x instanceof
|
|
5457
|
+
o.x instanceof Wo ? o.x.value : o.x, a && le(o, !0);
|
|
5458
5458
|
});
|
|
5459
5459
|
}
|
|
5460
5460
|
function Jd(t) {
|
|
@@ -5482,7 +5482,7 @@ function Dy(t) {
|
|
|
5482
5482
|
let s = e.renderer.minGridDistance;
|
|
5483
5483
|
if (typeof n == "number" && Number.isFinite(n))
|
|
5484
5484
|
s = n;
|
|
5485
|
-
else if (e.renderer instanceof
|
|
5485
|
+
else if (e.renderer instanceof on)
|
|
5486
5486
|
s = F.gauge.gaugeMinGridDistance;
|
|
5487
5487
|
else if (e instanceof Le)
|
|
5488
5488
|
s = e.renderer instanceof Ct ? F.xAxisMinGridDistance : F.yAxisMinGridDistance;
|
|
@@ -5537,7 +5537,7 @@ function wy(t) {
|
|
|
5537
5537
|
});
|
|
5538
5538
|
const s = tt(e.uid, "labelsSymbol")?.angle ?? 0, l = Jd(e) >= n + 5;
|
|
5539
5539
|
if (!l && s === 0 || l && s === F.rotatedAxisLabel.rotation) {
|
|
5540
|
-
const c = l ?
|
|
5540
|
+
const c = l ? _o(a.content, e.rtl, F.axisLabel) : _o({ type: Q.TS }, e.rtl, F.rotatedAxisLabel);
|
|
5541
5541
|
qe(e.uid, { labelsSymbol: c }), e.renderer.invalidateLabels();
|
|
5542
5542
|
}
|
|
5543
5543
|
}
|
|
@@ -5572,7 +5572,7 @@ function By(t) {
|
|
|
5572
5572
|
})), e !== void 0) {
|
|
5573
5573
|
const o = $(e.uid, "config")?.axes?.[0].labels;
|
|
5574
5574
|
if (o !== void 0) {
|
|
5575
|
-
const n =
|
|
5575
|
+
const n = _o(o.content, e.rtl, F.axisLabel), s = t.renderer.labels.template;
|
|
5576
5576
|
s.rotation = n.angle, s.verticalCenter = n.verticalCenter, s.horizontalCenter = n.horizontalCenter, Number.isFinite(n.yOffset) && (s.dy = n.yOffset);
|
|
5577
5577
|
}
|
|
5578
5578
|
qe(t.uid, { labelsSymbol: void 0 });
|
|
@@ -5689,14 +5689,14 @@ function Gy(t, e = !0) {
|
|
|
5689
5689
|
}
|
|
5690
5690
|
function Xy(t, e) {
|
|
5691
5691
|
let i, a;
|
|
5692
|
-
const o =
|
|
5692
|
+
const o = ri(F.dataLabelInitialize);
|
|
5693
5693
|
Ni(o.uid, { isDataLabel: !0 }), t.bullets.push(o);
|
|
5694
|
-
const n =
|
|
5694
|
+
const n = ri(F.dataLabelInitialize, t.columns.template);
|
|
5695
5695
|
return Ni(n.uid, { isDataLabel: !0 }), ds(n, t), ds(o, t), t.events.on(
|
|
5696
5696
|
P.Validated,
|
|
5697
5697
|
lt(() => {
|
|
5698
|
-
|
|
5699
|
-
|
|
5698
|
+
uo(n) && n.clones.each((s) => {
|
|
5699
|
+
uo(s) && s.validate();
|
|
5700
5700
|
});
|
|
5701
5701
|
}, F.debounceTime)
|
|
5702
5702
|
), n.html = "{valueX}", o.html = "{valueX}", Dd(o), br(e) ? (i = o, a = n) : (i = n, a = o), Td(y.BarSeries, o), kd(y.BarSeries, i), { newLabelToRender: i, newLabelToHide: a };
|
|
@@ -5755,7 +5755,7 @@ function Tl(t) {
|
|
|
5755
5755
|
function Fn(t) {
|
|
5756
5756
|
t !== void 0 && (t.xAxes !== void 0 && t.xAxes.each((e) => us({ axis: e })), t.yAxes !== void 0 && t.yAxes.each((e) => us({ axis: e })), Tl(t.scrollbarX), Tl(t.scrollbarY), le(t.zoomOutButton, !1));
|
|
5757
5757
|
}
|
|
5758
|
-
function
|
|
5758
|
+
function Lo(t, e) {
|
|
5759
5759
|
return t instanceof Ct && e !== !0 || t instanceof Pa && e === !0;
|
|
5760
5760
|
}
|
|
5761
5761
|
function jy(t) {
|
|
@@ -5769,7 +5769,7 @@ function jy(t) {
|
|
|
5769
5769
|
}
|
|
5770
5770
|
function qy(t) {
|
|
5771
5771
|
const { axis: e, valueFormat: i, axisRenderer: a, queryObject: o, errorStrings: n } = t;
|
|
5772
|
-
a.grid.template.applyOnClones = !0, a.ticks.template.applyOnClones = !0, a.labels.template.applyOnClones = !0, a.hoverable = !0, a.line.strokeOpacity = 1, a.grid.template.strokeOpacity = 1, a.ticks.template.strokeOpacity = 1, yn(a.labels.template, F.axisLabel), a.ticks.template.disabled = !1, a.labels.template.disabled = !0, Uy(e),
|
|
5772
|
+
a.grid.template.applyOnClones = !0, a.ticks.template.applyOnClones = !0, a.labels.template.applyOnClones = !0, a.hoverable = !0, a.line.strokeOpacity = 1, a.grid.template.strokeOpacity = 1, a.ticks.template.strokeOpacity = 1, yn(a.labels.template, F.axisLabel), a.ticks.template.disabled = !1, a.labels.template.disabled = !0, Uy(e), bo(i) && (jy(a), ly({ axis: e, queryObject: o, errorStrings: n })), Ko(e.chart, e.title), go({
|
|
5773
5773
|
chart: e.chart,
|
|
5774
5774
|
label: e.title,
|
|
5775
5775
|
labelType: e.renderer instanceof Ct ? Z.XAxisTitle : Z.YAxisTitle
|
|
@@ -5793,7 +5793,7 @@ function Zy(t) {
|
|
|
5793
5793
|
const e = t.target, i = $(e.chart.uid, "isRotated");
|
|
5794
5794
|
let a = [];
|
|
5795
5795
|
if (e instanceof Le) {
|
|
5796
|
-
if (e.renderer instanceof
|
|
5796
|
+
if (e.renderer instanceof on)
|
|
5797
5797
|
a.push({
|
|
5798
5798
|
isXAxis: !0,
|
|
5799
5799
|
minimum: e.min,
|
|
@@ -5837,7 +5837,7 @@ function Qy(t) {
|
|
|
5837
5837
|
if (c instanceof Aa && c.visible)
|
|
5838
5838
|
for (let p = 0; p < s.length; p += 1) {
|
|
5839
5839
|
let b;
|
|
5840
|
-
i === !0 ? b =
|
|
5840
|
+
i === !0 ? b = ii({
|
|
5841
5841
|
value: s[p].category,
|
|
5842
5842
|
dataContext: s[p].dataContext
|
|
5843
5843
|
}) : b = s[p].category.toString(), d === b && (o = !0), u === b && (n = !0);
|
|
@@ -5849,7 +5849,7 @@ function kl(t) {
|
|
|
5849
5849
|
const { axis: e, axisMinimum: i, axisMaximum: a } = t;
|
|
5850
5850
|
let o;
|
|
5851
5851
|
if (e instanceof Le && a !== void 0 && i !== void 0) {
|
|
5852
|
-
const n = e.axisRanges.values, s = $(e.chart.uid, "config"), r = $(e.chart.uid, "isRotated"), c = !
|
|
5852
|
+
const n = e.axisRanges.values, s = $(e.chart.uid, "config"), r = $(e.chart.uid, "isRotated"), c = !Lo(e.renderer, r) ? 1 : 0, u = s?.axes?.[c]?.guides;
|
|
5853
5853
|
for (let m = 0; m < n.length; m += 1) {
|
|
5854
5854
|
const g = n[m], { value: h, endValue: p, axisFill: b, grid: S, label: C } = g;
|
|
5855
5855
|
if (He(C?.uid, "isGuide") === !0) {
|
|
@@ -5881,12 +5881,12 @@ function to(t) {
|
|
|
5881
5881
|
let l;
|
|
5882
5882
|
if (Rs({ isXAxis: a, chartType: n, valueFormat: o }) && !i)
|
|
5883
5883
|
l = e.push(new nt());
|
|
5884
|
-
else if (
|
|
5884
|
+
else if (ci(o))
|
|
5885
5885
|
l = e.push(new Pe());
|
|
5886
5886
|
else if (xt(o)) {
|
|
5887
5887
|
l = e.push(new Le());
|
|
5888
5888
|
const c = $(l.chart.uid, "formatLocale");
|
|
5889
|
-
l.numberFormatter =
|
|
5889
|
+
l.numberFormatter = si({
|
|
5890
5890
|
type: y.NumberAxisFormat,
|
|
5891
5891
|
iLocale: l.chart.language.locale,
|
|
5892
5892
|
formatLocale: c
|
|
@@ -5947,7 +5947,7 @@ function aS(t) {
|
|
|
5947
5947
|
const { chart: d } = e, u = $(d.uid, "isRotated"), m = $(d.uid, "config");
|
|
5948
5948
|
let g = 0;
|
|
5949
5949
|
if (d instanceof fe && m !== void 0) {
|
|
5950
|
-
const h = ct(m), p =
|
|
5950
|
+
const h = ct(m), p = Lo(e.renderer, u), b = Fp(d), S = Hs({
|
|
5951
5951
|
chartConfig: m,
|
|
5952
5952
|
isSecondValueAxis: o,
|
|
5953
5953
|
seriesIds: b
|
|
@@ -6082,7 +6082,7 @@ function cS(t, e) {
|
|
|
6082
6082
|
t.maxPrecision = i === !0 || o === 0 ? 0 : Number.NaN;
|
|
6083
6083
|
}
|
|
6084
6084
|
}
|
|
6085
|
-
function
|
|
6085
|
+
function Mo(t) {
|
|
6086
6086
|
const {
|
|
6087
6087
|
axis: e,
|
|
6088
6088
|
axisConfig: i,
|
|
@@ -6146,7 +6146,7 @@ function Bo(t) {
|
|
|
6146
6146
|
tickSpacing: M
|
|
6147
6147
|
}), ep({
|
|
6148
6148
|
axis: e,
|
|
6149
|
-
isXAxis:
|
|
6149
|
+
isXAxis: Lo(e.renderer, g),
|
|
6150
6150
|
chartType: n,
|
|
6151
6151
|
labelsTextSymbol: i.labels.content,
|
|
6152
6152
|
formatOptions: w,
|
|
@@ -6211,21 +6211,21 @@ function dS(t) {
|
|
|
6211
6211
|
utilsStrings: m,
|
|
6212
6212
|
errorStrings: g
|
|
6213
6213
|
};
|
|
6214
|
-
N !== void 0 && R !== void 0 &&
|
|
6214
|
+
N !== void 0 && R !== void 0 && Mo({
|
|
6215
6215
|
..._,
|
|
6216
6216
|
axis: N,
|
|
6217
6217
|
axisConfig: R,
|
|
6218
6218
|
axisConfigIndex: w,
|
|
6219
6219
|
axisValueFormatter: w === 0 ? l : c,
|
|
6220
6220
|
isTimeOnlyField: T
|
|
6221
|
-
}), E !== void 0 && M !== void 0 &&
|
|
6221
|
+
}), E !== void 0 && M !== void 0 && Mo({
|
|
6222
6222
|
..._,
|
|
6223
6223
|
axis: E,
|
|
6224
6224
|
axisConfig: M,
|
|
6225
6225
|
axisConfigIndex: B,
|
|
6226
6226
|
axisValueFormatter: B === 1 ? c : l,
|
|
6227
6227
|
isTimeOnlyField: T
|
|
6228
|
-
}), V !== void 0 && S?.[2] !== void 0 &&
|
|
6228
|
+
}), V !== void 0 && S?.[2] !== void 0 && Mo({
|
|
6229
6229
|
..._,
|
|
6230
6230
|
axis: V,
|
|
6231
6231
|
axisConfig: S[2],
|
|
@@ -6300,14 +6300,14 @@ function fS(t) {
|
|
|
6300
6300
|
C instanceof nt && (C.dataFields.category = zs(i));
|
|
6301
6301
|
const A = C.renderer, k = A.grid.template;
|
|
6302
6302
|
k.location = 0, A.cellStartLocation = 0.1, A.cellEndLocation = 0.9;
|
|
6303
|
-
const T = i.orderOptions?.data && "orderBy" in i.orderOptions.data && i.orderOptions.data.orderBy ===
|
|
6303
|
+
const T = i.orderOptions?.data && "orderBy" in i.orderOptions.data && i.orderOptions.data.orderBy === sn.Descending;
|
|
6304
6304
|
let I = n === !0;
|
|
6305
6305
|
T && C instanceof Pe && (I = !I), A.inversed = I;
|
|
6306
6306
|
}
|
|
6307
6307
|
const x = n === !0 ? e.xAxes.getIndex(0) : e.yAxes.getIndex(0), v = n === !0 ? e.xAxes.getIndex(1) : e.yAxes.getIndex(1);
|
|
6308
6308
|
S === de.Stacked100 ? (x instanceof Le && (x.calculateTotals = !0), v instanceof Le && (v.calculateTotals = !0)) : (x instanceof Le && (x.calculateTotals = !1), v instanceof Le && (v.calculateTotals = !1));
|
|
6309
6309
|
}
|
|
6310
|
-
function
|
|
6310
|
+
function ho(t) {
|
|
6311
6311
|
const { value: e, axisMin: i, axisMax: a } = t;
|
|
6312
6312
|
let o = Number.NaN;
|
|
6313
6313
|
const n = a - i;
|
|
@@ -6346,7 +6346,7 @@ function ru(t) {
|
|
|
6346
6346
|
const { axisConfig: e, axisMin: i, axisMax: a } = t;
|
|
6347
6347
|
typeof i == "number" && typeof a == "number" && a - i !== 0 && e.guides?.forEach((n) => {
|
|
6348
6348
|
const { start: s, end: r } = n;
|
|
6349
|
-
typeof s == "number" && (n.start =
|
|
6349
|
+
typeof s == "number" && (n.start = ho({ value: s, axisMin: i, axisMax: a })), typeof r == "number" && (n.end = ho({ value: r, axisMin: i, axisMax: a }));
|
|
6350
6350
|
});
|
|
6351
6351
|
}
|
|
6352
6352
|
function mS(t) {
|
|
@@ -6368,7 +6368,7 @@ function gS(t) {
|
|
|
6368
6368
|
return o;
|
|
6369
6369
|
}
|
|
6370
6370
|
function yr(t) {
|
|
6371
|
-
const { featureIndex: e = 0, chartData: i, queryConfig: a, chartConfig: o, gaugeMinMaxFromData: n } = t, { axes: s, series: r } = o, l =
|
|
6371
|
+
const { featureIndex: e = 0, chartData: i, queryConfig: a, chartConfig: o, gaugeMinMaxFromData: n } = t, { axes: s, series: r } = o, l = oo(o), { minimum: c, maximum: d } = s?.[0] ?? {}, { x: u } = r?.[0] ?? {}, m = X.gauge;
|
|
6372
6372
|
let g, h;
|
|
6373
6373
|
l ? { minimumFromData: g, maximumFromData: h } = mS({
|
|
6374
6374
|
featureIndex: e,
|
|
@@ -6586,7 +6586,7 @@ function gs(t, e) {
|
|
|
6586
6586
|
if (i !== void 0) {
|
|
6587
6587
|
const a = e ?? $(t.uid, "config"), { onlyShowFirstAndLastLabels: o } = a?.axes?.[0] ?? {};
|
|
6588
6588
|
if (!i.renderer.labels.template.visible || o === !0)
|
|
6589
|
-
t.radius = new
|
|
6589
|
+
t.radius = new Wo(F.gauge.radius);
|
|
6590
6590
|
else {
|
|
6591
6591
|
const n = Lt(i, Ce.GaugeTicksWithLabels), { furthestLabelX: s, furthestLabelY: r } = n.reduce(
|
|
6592
6592
|
({ furthestLabelX: l, furthestLabelY: c, furthestPixelX: d, furthestPixelY: u }, { label: m }) => {
|
|
@@ -6617,11 +6617,11 @@ function gs(t, e) {
|
|
|
6617
6617
|
}
|
|
6618
6618
|
);
|
|
6619
6619
|
if (s !== void 0 && r !== void 0) {
|
|
6620
|
-
const c = (s.bbox.width + 5) * s.scale, d = (r.bbox.height + 5) * r.scale, u = typeof i.renderer.labels.template.radius == "number" ? i.renderer.labels.template.radius : i.renderer.labels.template.radius.value, m = (c + u) * 2 + t.radarContainer.measuredWidth +
|
|
6620
|
+
const c = (s.bbox.width + 5) * s.scale, d = (r.bbox.height + 5) * r.scale, u = typeof i.renderer.labels.template.radius == "number" ? i.renderer.labels.template.radius : i.renderer.labels.template.radius.value, m = (c + u) * 2 + t.radarContainer.measuredWidth + Oo(t.paddingLeft) + Oo(t.paddingRight), g = 80, h = 170, p = t.htmlContainer?.clientHeight ?? 0, b = Math.max(
|
|
6621
6621
|
0,
|
|
6622
6622
|
Math.min(1, (p - g) / (h - g))
|
|
6623
|
-
), S = t.radarContainer.measuredHeight + (d + u * b) * 2 +
|
|
6624
|
-
Number.isFinite(M) && M >= 10 && M <= F.gauge.radius && (N < 0.98 || N > 1.02) && (t.radius = new
|
|
6623
|
+
), S = t.radarContainer.measuredHeight + (d + u * b) * 2 + Oo(t.paddingTop) + Oo(t.paddingBottom), C = t.measuredWidth, x = t.measuredHeight, v = C / m, A = x / S, k = (typeof t.radius == "number" ? t.radius : t.radius.value) * 100, T = Number((k * v).toFixed(2)), I = Number((k * A).toFixed(2)), D = T / k, w = I / k, B = t.radarContainer.measuredWidth * D, R = t.radarContainer.measuredWidth * w, [M, N] = B < R ? [T, D] : [I, w];
|
|
6624
|
+
Number.isFinite(M) && M >= 10 && M <= F.gauge.radius && (N < 0.98 || N > 1.02) && (t.radius = new Wo(M));
|
|
6625
6625
|
}
|
|
6626
6626
|
}
|
|
6627
6627
|
}
|
|
@@ -6649,7 +6649,7 @@ function FS(t) {
|
|
|
6649
6649
|
const l = $(a.uid, "gaugeData");
|
|
6650
6650
|
Number.isFinite(l) && (r = l);
|
|
6651
6651
|
}
|
|
6652
|
-
return Wa(o) && n !== void 0 && s !== void 0 && n !== null && s !== null && r !== null && s - n !== 0 && (r =
|
|
6652
|
+
return Wa(o) && n !== void 0 && s !== void 0 && n !== null && s !== null && r !== null && s - n !== 0 && (r = ho({
|
|
6653
6653
|
value: r,
|
|
6654
6654
|
axisMin: n,
|
|
6655
6655
|
axisMax: s
|
|
@@ -6666,13 +6666,13 @@ function AS(t, e) {
|
|
|
6666
6666
|
function TS(t) {
|
|
6667
6667
|
const { chart: e, needle: i, gaugeValue: a } = t, o = e.hands.getIndex(0) ?? lu(e);
|
|
6668
6668
|
if (o !== void 0) {
|
|
6669
|
-
|
|
6669
|
+
fo({ element: o, fillSymbol: i?.symbol });
|
|
6670
6670
|
const { startWidth: n, endWidth: s, innerRadius: r } = F.gaugeNeedle;
|
|
6671
6671
|
o.value = AS(e, a), o.pin.disabled = i?.displayPin !== !0, o.visible = i?.visible ?? !0, o.startWidth = i?.startWidth ?? n, o.endWidth = i?.endWidth ?? s, o.innerRadius = ut(i?.innerRadius ?? r);
|
|
6672
6672
|
}
|
|
6673
6673
|
}
|
|
6674
6674
|
function kS(t) {
|
|
6675
|
-
const e =
|
|
6675
|
+
const e = ri(void 0, t.radarContainer);
|
|
6676
6676
|
e.isMeasured = !1, Ni(e.uid, { isGaugeAxisInnerLabel: !0 }), CS(t, e);
|
|
6677
6677
|
}
|
|
6678
6678
|
function IS(t) {
|
|
@@ -6713,7 +6713,7 @@ function wS(t) {
|
|
|
6713
6713
|
const d = F.gauge.numberOfTicksBetweenTwoLabels + 1, u = n * d + 1;
|
|
6714
6714
|
for (let m = 0; m < u; m += 1) {
|
|
6715
6715
|
const g = m === u - 1, h = DS(e), p = g ? a : i + m / d * o;
|
|
6716
|
-
h.value = r ?
|
|
6716
|
+
h.value = r ? ho({ value: p, axisMin: i, axisMax: a }) : p, m % d === 0 && (h.label = OS(e), h.label.text = String(p), h.grid.disabled = !0, Number.isFinite(l) && (h.label.scale = l));
|
|
6717
6717
|
}
|
|
6718
6718
|
}
|
|
6719
6719
|
function $S(t) {
|
|
@@ -6833,7 +6833,7 @@ function WS(t) {
|
|
|
6833
6833
|
if (s !== void 0)
|
|
6834
6834
|
r = s(n);
|
|
6835
6835
|
else {
|
|
6836
|
-
const l =
|
|
6836
|
+
const l = hi(e), c = si({
|
|
6837
6837
|
type: y.NumberAxisFormat,
|
|
6838
6838
|
iLocale: i,
|
|
6839
6839
|
formatLocale: a
|
|
@@ -6856,7 +6856,7 @@ function cu(t) {
|
|
|
6856
6856
|
if (s !== void 0)
|
|
6857
6857
|
r = s(n);
|
|
6858
6858
|
else {
|
|
6859
|
-
const l =
|
|
6859
|
+
const l = hi(e), c = si({
|
|
6860
6860
|
type: y.NumberAxisFormat,
|
|
6861
6861
|
iLocale: i,
|
|
6862
6862
|
formatLocale: a
|
|
@@ -6917,7 +6917,7 @@ function HS(t) {
|
|
|
6917
6917
|
utilsStrings: r,
|
|
6918
6918
|
errorStrings: l,
|
|
6919
6919
|
gaugeMinMaxFromData: c
|
|
6920
|
-
} = t, { axes: d, series: u } = i, m =
|
|
6920
|
+
} = t, { axes: d, series: u } = i, m = oo(i), g = z(i.series), { featureIndex: h, x: p } = u[0], b = d?.[0], S = e.xAxes.getIndex(0), C = { ...b };
|
|
6921
6921
|
if (S !== void 0 && C !== void 0) {
|
|
6922
6922
|
const { valueFormat: x, needle: v, innerLabel: A, onlyShowFirstAndLastLabels: k } = C;
|
|
6923
6923
|
ss({ axis: S, valueFormat: x, chartType: g }) && to({ isXAxis: !0, axes: e.xAxes, valueFormat: x, queryObject: o, errorStrings: l });
|
|
@@ -6964,7 +6964,7 @@ function HS(t) {
|
|
|
6964
6964
|
axis: S,
|
|
6965
6965
|
axisConfig: M,
|
|
6966
6966
|
gaugeValue: N ?? Number.NaN
|
|
6967
|
-
}), MS(M),
|
|
6967
|
+
}), MS(M), Mo({
|
|
6968
6968
|
axis: S,
|
|
6969
6969
|
axisConfig: M,
|
|
6970
6970
|
axisConfigIndex: 0,
|
|
@@ -7016,8 +7016,8 @@ function Tn(t, e) {
|
|
|
7016
7016
|
t.background.fill = Tt(e ?? F.backgroundColor);
|
|
7017
7017
|
}
|
|
7018
7018
|
function XS(t) {
|
|
7019
|
-
const e = Gd(F.headerContainer, t), i =
|
|
7020
|
-
return t instanceof rc && (
|
|
7019
|
+
const e = Gd(F.headerContainer, t), i = ri(F.title, e), a = ri(F.subtitle, e);
|
|
7020
|
+
return t instanceof rc && (Ko(t, i), Ko(t, a), go({ chart: t, label: i, labelType: Z.ChartTitle }), go({ chart: t, label: a, labelType: Z.ChartSubTitle })), eb(e), { headerContainer: e, title: i, subtitle: a };
|
|
7021
7021
|
}
|
|
7022
7022
|
function kn(t, e) {
|
|
7023
7023
|
const { title: i, subtitle: a, headerContainer: o } = t;
|
|
@@ -7032,8 +7032,8 @@ function kn(t, e) {
|
|
|
7032
7032
|
});
|
|
7033
7033
|
}
|
|
7034
7034
|
function YS(t) {
|
|
7035
|
-
const e = Gd(F.footerContainer, t), i =
|
|
7036
|
-
return t instanceof rc && (
|
|
7035
|
+
const e = Gd(F.footerContainer, t), i = ri(F.footer, e);
|
|
7036
|
+
return t instanceof rc && (Ko(t, i), go({ chart: t, label: i, labelType: Z.ChartFooter })), { footerContainer: e, footer: i };
|
|
7037
7037
|
}
|
|
7038
7038
|
function In(t, e) {
|
|
7039
7039
|
const { footer: i, footerContainer: a } = t;
|
|
@@ -7252,7 +7252,7 @@ function tC(t) {
|
|
|
7252
7252
|
}), g.dataFields.customValue = d?.query?.where, Wd(g.columns.template, g), g.columns.template.width = ut(100), ma({
|
|
7253
7253
|
element: g.columns.template,
|
|
7254
7254
|
customSelectionTheme: s
|
|
7255
|
-
}),
|
|
7255
|
+
}), Co({ chart: e, element: g.columns.template, queryObject: r, errorStrings: l }), mr(g), eC(g), fa(g), g;
|
|
7256
7256
|
}
|
|
7257
7257
|
function iC(t) {
|
|
7258
7258
|
const { seriesConfig: e, series: i, seriesIndex: a, axes: o, utilsStrings: n, fieldList: s, queryObject: r, stackedType: l, options: c } = t;
|
|
@@ -7292,9 +7292,9 @@ function aC(t) {
|
|
|
7292
7292
|
);
|
|
7293
7293
|
let o = e ?? "";
|
|
7294
7294
|
const { dataItem: n } = i;
|
|
7295
|
-
if (n instanceof
|
|
7295
|
+
if (n instanceof gi) {
|
|
7296
7296
|
const { slice: s } = n;
|
|
7297
|
-
if (s !== void 0 && !
|
|
7297
|
+
if (s !== void 0 && !uo(s))
|
|
7298
7298
|
o = "";
|
|
7299
7299
|
else if (a !== void 0) {
|
|
7300
7300
|
const { value: r, percent: l } = n.values?.value ?? {};
|
|
@@ -7311,7 +7311,7 @@ function oC(t) {
|
|
|
7311
7311
|
const e = t.labels.template;
|
|
7312
7312
|
e.maxWidth = F.pieChart.dataLabels.maxWidth ?? Number.NaN, e.wrap = F.pieChart.dataLabels.wrap ?? !0, e.events.on(P.Over, (i) => {
|
|
7313
7313
|
const { dataItem: a } = i.target ?? {};
|
|
7314
|
-
a instanceof
|
|
7314
|
+
a instanceof gi && a.slice.showTooltip();
|
|
7315
7315
|
}), aC(t);
|
|
7316
7316
|
}
|
|
7317
7317
|
function nC(t, e) {
|
|
@@ -7425,9 +7425,9 @@ function cC(t) {
|
|
|
7425
7425
|
);
|
|
7426
7426
|
if (l !== void 0) {
|
|
7427
7427
|
const { dataItem: c } = a;
|
|
7428
|
-
if (c instanceof
|
|
7428
|
+
if (c instanceof gi) {
|
|
7429
7429
|
const d = c.properties.category ?? "", u = c.dataContext;
|
|
7430
|
-
let m =
|
|
7430
|
+
let m = ai(u);
|
|
7431
7431
|
m === void 0 && (m = d);
|
|
7432
7432
|
const g = c.values?.value?.value, h = c.values?.value?.percent;
|
|
7433
7433
|
typeof g == "number" && g !== 0 && s?.series?.[0]?.dataTooltipVisible !== !1 ? (a.tooltip.disabled = !1, lC(a), o = l(`${d}`, g, h, m)) : a.tooltip.disabled = !0;
|
|
@@ -7489,7 +7489,7 @@ function gC(t) {
|
|
|
7489
7489
|
dataContext: r,
|
|
7490
7490
|
pieSlicesSymbols: i,
|
|
7491
7491
|
seriesConfig: a
|
|
7492
|
-
}), c =
|
|
7492
|
+
}), c = fo({
|
|
7493
7493
|
element: n,
|
|
7494
7494
|
fillSymbol: l,
|
|
7495
7495
|
defaultToColorFromRamp: !0,
|
|
@@ -7518,7 +7518,7 @@ function pC(t) {
|
|
|
7518
7518
|
a.id = m;
|
|
7519
7519
|
const b = U([i]), S = F.pieChart;
|
|
7520
7520
|
a.dataFields.value = b !== W.PieFromFields ? u : va, a.dataFields.category = b !== W.PieFromFields ? d : ti;
|
|
7521
|
-
const C = e.radius instanceof
|
|
7521
|
+
const C = e.radius instanceof Wo ? e.radius.value : e.radius;
|
|
7522
7522
|
e.innerRadius = ut((g ?? S.innerRadius) * C), a.startAngle = h ?? S.min, a.endAngle = p ?? 360 + a.startAngle, sC({
|
|
7523
7523
|
pieSeries: a,
|
|
7524
7524
|
seriesConfig: i,
|
|
@@ -7551,7 +7551,7 @@ async function Il(t) {
|
|
|
7551
7551
|
chartConfig: r
|
|
7552
7552
|
};
|
|
7553
7553
|
l.slices.each((m, g) => {
|
|
7554
|
-
m.isActive && (m === i || a || m.dataItem instanceof
|
|
7554
|
+
m.isActive && (m === i || a || m.dataItem instanceof gi && m.dataItem.label.isHover) ? Li(m.dataItem?.dataContext) ? (So({
|
|
7555
7555
|
groupOfSlicesDataContext: m.dataItem?.dataContext
|
|
7556
7556
|
}) ?? []).forEach((S) => {
|
|
7557
7557
|
s.push({
|
|
@@ -7576,7 +7576,7 @@ async function Il(t) {
|
|
|
7576
7576
|
selected: !0,
|
|
7577
7577
|
useNativeState: !0
|
|
7578
7578
|
});
|
|
7579
|
-
}), await
|
|
7579
|
+
}), await vo({
|
|
7580
7580
|
chart: e,
|
|
7581
7581
|
listSelectedElements: s,
|
|
7582
7582
|
selectionSource: $e.SelectionByClick,
|
|
@@ -7593,13 +7593,13 @@ function bC(t, e, i) {
|
|
|
7593
7593
|
const l = vn(s, t);
|
|
7594
7594
|
if (r instanceof dm)
|
|
7595
7595
|
await Il({ chart: t, multiSelect: l, hitSlice: r, queryObject: e, errorStrings: i });
|
|
7596
|
-
else if (r instanceof
|
|
7596
|
+
else if (r instanceof Vo) {
|
|
7597
7597
|
const c = r.dataItem;
|
|
7598
|
-
if (c instanceof
|
|
7598
|
+
if (c instanceof gi) {
|
|
7599
7599
|
const { slice: d } = c;
|
|
7600
7600
|
d.isActive = !d.isActive, await Il({ chart: t, multiSelect: l, hitSlice: d, queryObject: e, errorStrings: i });
|
|
7601
7601
|
}
|
|
7602
|
-
} else r === t.background && await
|
|
7602
|
+
} else r === t.background && await vo({
|
|
7603
7603
|
chart: t,
|
|
7604
7604
|
listSelectedElements: [],
|
|
7605
7605
|
selectionSource: $e.SelectionByClick,
|
|
@@ -7798,7 +7798,7 @@ function LC(t) {
|
|
|
7798
7798
|
const { chart: e, axesConfig: i, chartType: a, isRotated: o, errorStrings: n, queryObject: s } = t;
|
|
7799
7799
|
switch (zi({ chartType: a, axesConfig: i, errorStrings: n }), a) {
|
|
7800
7800
|
case y.GaugeSeries: {
|
|
7801
|
-
|
|
7801
|
+
ni(s), e instanceof Ft && i?.[0]?.valueFormat !== void 0 && VS({ chart: e, valueFormat: i[0].valueFormat, queryObject: s, errorStrings: n });
|
|
7802
7802
|
break;
|
|
7803
7803
|
}
|
|
7804
7804
|
case y.BarSeries:
|
|
@@ -7866,7 +7866,7 @@ function xr(t) {
|
|
|
7866
7866
|
break;
|
|
7867
7867
|
}
|
|
7868
7868
|
case y.GaugeSeries: {
|
|
7869
|
-
e instanceof Ft && (
|
|
7869
|
+
e instanceof Ft && (ni(u), HS({
|
|
7870
7870
|
chart: e,
|
|
7871
7871
|
chartConfig: i,
|
|
7872
7872
|
data: (d ?? e.data).dataItems,
|
|
@@ -7913,7 +7913,7 @@ function hu(t) {
|
|
|
7913
7913
|
break;
|
|
7914
7914
|
}
|
|
7915
7915
|
case y.LineSeries: {
|
|
7916
|
-
|
|
7916
|
+
ni(r), d = Db({
|
|
7917
7917
|
...p,
|
|
7918
7918
|
chart: e,
|
|
7919
7919
|
chartConfig: i,
|
|
@@ -7930,7 +7930,7 @@ function hu(t) {
|
|
|
7930
7930
|
const b = Am({ chartConfig: i, queryObject: r, chartData: e.data });
|
|
7931
7931
|
b.length > 0 && (e.colors.list = b.map((S) => {
|
|
7932
7932
|
const [C, x, v, A] = S;
|
|
7933
|
-
return new
|
|
7933
|
+
return new Po({ r: C, g: x, b: v, a: A });
|
|
7934
7934
|
})), m.length > 0 && e.series.pushAll(m), Pp(e);
|
|
7935
7935
|
}
|
|
7936
7936
|
function vr(t) {
|
|
@@ -8135,7 +8135,7 @@ function Lr(t) {
|
|
|
8135
8135
|
scrollbarXConfig: e.axes?.[0]?.scrollbar,
|
|
8136
8136
|
scrollbarYConfig: e.axes?.[1]?.scrollbar
|
|
8137
8137
|
}), yd(i), Sd(i, e?.cursorCrosshair), Dn({ chart: i, actionMode: h, cursorRange: g });
|
|
8138
|
-
const me =
|
|
8138
|
+
const me = po(i.htmlContainer ?? document.documentElement);
|
|
8139
8139
|
return i.dateFormatter.intlLocales = me, vC(i, o?.enableResponsiveFeatures), (i instanceof Ft || cr(i.series)) && Ji(i.htmlContainer), gu(i), w !== void 0 && B !== void 0 && R !== void 0 ? { headerElements: w, footerElements: B, legendElements: R } : void 0;
|
|
8140
8140
|
}
|
|
8141
8141
|
function pu(t) {
|
|
@@ -8158,7 +8158,7 @@ function FC(t) {
|
|
|
8158
8158
|
loaderHandle: c
|
|
8159
8159
|
} = t, { errorStrings: d, utilsStrings: u, amChartsStrings: m } = s, g = Ds(e, fe);
|
|
8160
8160
|
g.id = i?.id ?? g.uid, te(g.uid, { queryObject: a });
|
|
8161
|
-
const { t9nLocale: h } = Ma(g.htmlContainer ?? document.documentElement), p =
|
|
8161
|
+
const { t9nLocale: h } = Ma(g.htmlContainer ?? document.documentElement), p = po(g.htmlContainer ?? document.documentElement), b = Ls(g.htmlContainer ?? document.documentElement) === "rtl";
|
|
8162
8162
|
Cr({ chart: g, localeInfo: { locale: h, formatLocale: p, rtl: b }, chartLocale: m }), g.events.on(P.Inited, () => g.zoomOutButton.deepInvalidate());
|
|
8163
8163
|
const C = z(i?.series);
|
|
8164
8164
|
g instanceof fe && C !== y.BoxPlotSeries && (g.maskBullets = !1);
|
|
@@ -8257,7 +8257,7 @@ function kC(t) {
|
|
|
8257
8257
|
te(i.uid, { config: we(e), isRotated: v }), te(i.uid, { filterBySelection: r?.filterBySelection }), Dn({ chart: i, actionMode: r?.actionMode, cursorRange: r?.cursorRange });
|
|
8258
8258
|
const { xOrYChanged: A, layerChanged: k } = n?.common ?? {};
|
|
8259
8259
|
let { numberOfSeriesChanged: T } = n?.common ?? {};
|
|
8260
|
-
const I = Rc(b, e), D = Bc(b, e), w = Sm(b, e), B = Cm(b, e), R = JSON.stringify(
|
|
8260
|
+
const I = Rc(b, e), D = Bc(b, e), w = Sm(b, e), B = Cm(b, e), R = JSON.stringify(zo(S)) !== JSON.stringify(zo(C));
|
|
8261
8261
|
let M = !1, N = !1;
|
|
8262
8262
|
Bi(e) && Bi(b) && (M = xm(b, e), N = vm(b, e));
|
|
8263
8263
|
const E = cn({
|
|
@@ -8457,7 +8457,7 @@ function OC(t) {
|
|
|
8457
8457
|
let u;
|
|
8458
8458
|
switch (z(i?.series)) {
|
|
8459
8459
|
case y.PieSeries:
|
|
8460
|
-
|
|
8460
|
+
ni(n), u = AC({
|
|
8461
8461
|
chartContainer: e,
|
|
8462
8462
|
chartConfig: i,
|
|
8463
8463
|
queryObject: n,
|
|
@@ -8471,7 +8471,7 @@ function OC(t) {
|
|
|
8471
8471
|
});
|
|
8472
8472
|
break;
|
|
8473
8473
|
case y.GaugeSeries:
|
|
8474
|
-
|
|
8474
|
+
ni(n), u = TC({
|
|
8475
8475
|
chartContainer: e,
|
|
8476
8476
|
chartConfig: i,
|
|
8477
8477
|
queryObject: n,
|
|
@@ -8573,7 +8573,7 @@ function wC(t) {
|
|
|
8573
8573
|
});
|
|
8574
8574
|
break;
|
|
8575
8575
|
case y.PieSeries:
|
|
8576
|
-
|
|
8576
|
+
ni(R), IC({
|
|
8577
8577
|
chart: S,
|
|
8578
8578
|
chartElements: C,
|
|
8579
8579
|
queryObject: R,
|
|
@@ -8587,7 +8587,7 @@ function wC(t) {
|
|
|
8587
8587
|
});
|
|
8588
8588
|
break;
|
|
8589
8589
|
case y.GaugeSeries:
|
|
8590
|
-
|
|
8590
|
+
ni(R), DC({
|
|
8591
8591
|
chart: S,
|
|
8592
8592
|
chartElements: C,
|
|
8593
8593
|
newConfig: D,
|
|
@@ -8698,7 +8698,7 @@ function Vi(t, e) {
|
|
|
8698
8698
|
function Ga(t, e) {
|
|
8699
8699
|
ha(t, e);
|
|
8700
8700
|
}
|
|
8701
|
-
function
|
|
8701
|
+
function di(t, e) {
|
|
8702
8702
|
return pa(t, e);
|
|
8703
8703
|
}
|
|
8704
8704
|
function MC(t, e) {
|
|
@@ -8724,7 +8724,7 @@ function VC(t) {
|
|
|
8724
8724
|
}
|
|
8725
8725
|
}
|
|
8726
8726
|
function WC(t) {
|
|
8727
|
-
return t.get("renderer") instanceof
|
|
8727
|
+
return t.get("renderer") instanceof bi ? Ie.yField : Ie.xField;
|
|
8728
8728
|
}
|
|
8729
8729
|
function EC(t) {
|
|
8730
8730
|
let e = "";
|
|
@@ -8734,7 +8734,7 @@ function zC(t) {
|
|
|
8734
8734
|
let e = "";
|
|
8735
8735
|
return t instanceof er ? e = t.get("categoryYField") ?? t.get("valueYField") ?? "" : t instanceof ht && (e = t.get("categoryField") ?? ""), e;
|
|
8736
8736
|
}
|
|
8737
|
-
function
|
|
8737
|
+
function Fo(t) {
|
|
8738
8738
|
let e = "";
|
|
8739
8739
|
const { chart: i } = t;
|
|
8740
8740
|
return i !== void 0 && (e = O(i.uid, "isRotated") === !0 ? EC(t) : zC(t)), e;
|
|
@@ -8767,7 +8767,7 @@ function bu(t) {
|
|
|
8767
8767
|
return e;
|
|
8768
8768
|
}
|
|
8769
8769
|
function yu(t) {
|
|
8770
|
-
const e =
|
|
8770
|
+
const e = ro(t), { r: i, g: a, b: o } = e;
|
|
8771
8771
|
return { r: i, g: a, b: o };
|
|
8772
8772
|
}
|
|
8773
8773
|
function GC(t, e) {
|
|
@@ -8777,10 +8777,10 @@ function XC(t, e) {
|
|
|
8777
8777
|
e === !0 && t.setThemes([Pg.new(t)]);
|
|
8778
8778
|
}
|
|
8779
8779
|
function K(t) {
|
|
8780
|
-
let e =
|
|
8780
|
+
let e = ro("#000000"), i = yo;
|
|
8781
8781
|
if (t != null) {
|
|
8782
8782
|
const [a, o, n, s] = t;
|
|
8783
|
-
i = s / 255, e =
|
|
8783
|
+
i = s / 255, e = ro(`rgba(${a}, ${o}, ${n}, ${i})`);
|
|
8784
8784
|
}
|
|
8785
8785
|
return { color: e, opacity: i };
|
|
8786
8786
|
}
|
|
@@ -8813,7 +8813,7 @@ function Su(t) {
|
|
|
8813
8813
|
s = l.entities.length === e.data.length && e.dataItems[e.dataItems.length - 1]?.bullets?.[0]?.get("sprite") !== void 0;
|
|
8814
8814
|
else {
|
|
8815
8815
|
r = !0;
|
|
8816
|
-
const c =
|
|
8816
|
+
const c = Fo(e) ?? "", d = i?.series[0]?.x ?? "";
|
|
8817
8817
|
s = e.dataItems.filter((u) => {
|
|
8818
8818
|
const m = u.dataContext;
|
|
8819
8819
|
return c in m && d in m && m[d] !== void 0;
|
|
@@ -8946,7 +8946,7 @@ function vu(t, e) {
|
|
|
8946
8946
|
strokeWidth: L.lineWidth,
|
|
8947
8947
|
strokeDasharray: [],
|
|
8948
8948
|
linecap: e !== !0 ? "round" : "square",
|
|
8949
|
-
strokeOpacity:
|
|
8949
|
+
strokeOpacity: yo
|
|
8950
8950
|
};
|
|
8951
8951
|
if (t != null) {
|
|
8952
8952
|
const a = K(t.color);
|
|
@@ -8972,7 +8972,7 @@ function qC(t, e, i) {
|
|
|
8972
8972
|
function ZC(t) {
|
|
8973
8973
|
const { color: e, style: i, size: a, outline: o, xoffset: n, yoffset: s, angle: r } = t, l = xu(r), c = K(e);
|
|
8974
8974
|
let d = o;
|
|
8975
|
-
const u = i !==
|
|
8975
|
+
const u = i !== Ho.Cross && i !== Ho.X && a !== void 0 && a < L.lineSeries.marker.markerSizeThresholdForTooltipDisplay && (o?.width === void 0 || o.width === 0);
|
|
8976
8976
|
let m = a;
|
|
8977
8977
|
return u && (d = {
|
|
8978
8978
|
type: Q.SLS,
|
|
@@ -9045,13 +9045,13 @@ function Tr(t) {
|
|
|
9045
9045
|
} = t;
|
|
9046
9046
|
let r;
|
|
9047
9047
|
if (a === !0) {
|
|
9048
|
-
const l = n ? Ys :
|
|
9049
|
-
if (i.color = i.color ?? ea({ colorIndex: o, opacity: l }),
|
|
9048
|
+
const l = n ? Ys : yo;
|
|
9049
|
+
if (i.color = i.color ?? ea({ colorIndex: o, opacity: l }), so(i) || Go(i)) {
|
|
9050
9050
|
const { outline: c } = i;
|
|
9051
9051
|
c !== void 0 && (c.color = c?.color ?? ea({ colorIndex: o }), i.outline = { ...c });
|
|
9052
9052
|
}
|
|
9053
9053
|
}
|
|
9054
|
-
return qc(i) ? r = vu(i, !0) :
|
|
9054
|
+
return qc(i) ? r = vu(i, !0) : Go(i) ? (i.style ??= L.lineSeries.marker.markerStyle, i.size ??= L.lineSeries.marker.markerBigSize, r = ZC(i)) : so(i) && (r = qC(i, e, s)), r;
|
|
9055
9055
|
}
|
|
9056
9056
|
function ex(t) {
|
|
9057
9057
|
const { root: e, input: i, isGuideLabel: a, defaults: o } = t, n = xu(i.angle, o?.rotation), s = Fu(i.horizontalAlignment, o?.horizontalCenter), r = Au(i.verticalAlignment, o?.verticalCenter), { align: l, valign: c, horizontalCenter: d, verticalCenter: u } = JC({
|
|
@@ -9091,7 +9091,7 @@ function wa(t) {
|
|
|
9091
9091
|
const { root: e, parent: i, defaults: a, index: o, id: n } = t, s = rt.new(e, {
|
|
9092
9092
|
text: "",
|
|
9093
9093
|
textAlign: "center",
|
|
9094
|
-
background:
|
|
9094
|
+
background: Xo.new(e, {}),
|
|
9095
9095
|
paddingBottom: 0,
|
|
9096
9096
|
paddingTop: 0,
|
|
9097
9097
|
paddingLeft: 0,
|
|
@@ -9147,7 +9147,7 @@ function Ot(t) {
|
|
|
9147
9147
|
});
|
|
9148
9148
|
}
|
|
9149
9149
|
}
|
|
9150
|
-
function
|
|
9150
|
+
function li(t) {
|
|
9151
9151
|
const { chart: e, label: i, labelType: a } = t, { legendTitle: o } = L.legendProperties, n = O(e.uid, "config");
|
|
9152
9152
|
let s = o.maxWidth ?? Number.NaN;
|
|
9153
9153
|
switch (a) {
|
|
@@ -9193,13 +9193,13 @@ function ri(t) {
|
|
|
9193
9193
|
}
|
|
9194
9194
|
function aa(t) {
|
|
9195
9195
|
const { chart: e } = t;
|
|
9196
|
-
|
|
9196
|
+
li(t), e.events.onDebounced(
|
|
9197
9197
|
ae.BoundsChanged,
|
|
9198
|
-
() =>
|
|
9198
|
+
() => li(t),
|
|
9199
9199
|
L.debounceTime
|
|
9200
9200
|
);
|
|
9201
9201
|
}
|
|
9202
|
-
function
|
|
9202
|
+
function Qo(t, e) {
|
|
9203
9203
|
const i = e.get("axisFill"), a = e.get("label");
|
|
9204
9204
|
if (i !== void 0 && a !== void 0) {
|
|
9205
9205
|
const o = pt(a.uid, "guideLabelConfig"), n = t.get("renderer") instanceof vt, s = Math.round(i.width()), r = Math.round(i.height()), l = Math.round(a.height()), c = Math.round(a.width()), { horizontalAlignment: d, verticalAlignment: u } = o ?? {};
|
|
@@ -9265,11 +9265,11 @@ function tx(t) {
|
|
|
9265
9265
|
const n = e.get("renderer") instanceof vt ? o.yAxes.getIndex(0) : o.xAxes.getIndex(0);
|
|
9266
9266
|
n && (n.events.onDebounced(
|
|
9267
9267
|
ae.BoundsChanged,
|
|
9268
|
-
() =>
|
|
9268
|
+
() => Qo(e, i),
|
|
9269
9269
|
L.debounceTime
|
|
9270
9270
|
), e.events.onDebounced(
|
|
9271
9271
|
ae.BoundsChanged,
|
|
9272
|
-
() =>
|
|
9272
|
+
() => Qo(e, i),
|
|
9273
9273
|
L.debounceTime
|
|
9274
9274
|
));
|
|
9275
9275
|
}
|
|
@@ -9314,8 +9314,8 @@ function ax(t) {
|
|
|
9314
9314
|
}
|
|
9315
9315
|
};
|
|
9316
9316
|
Ot({ label: n, labelConfig: l, defaults: r }), n.events.once(ae.BoundsChanged, () => {
|
|
9317
|
-
|
|
9318
|
-
}),
|
|
9317
|
+
Qo(e, i);
|
|
9318
|
+
}), Qo(e, i);
|
|
9319
9319
|
} else
|
|
9320
9320
|
re(n, !1);
|
|
9321
9321
|
}
|
|
@@ -9335,7 +9335,7 @@ function ku(t) {
|
|
|
9335
9335
|
l.set("fill", i), l.remove("fillPattern"), l.set("fillOpacity", a);
|
|
9336
9336
|
s !== void 0 && s.set("getFillFromSprite", r);
|
|
9337
9337
|
}
|
|
9338
|
-
function
|
|
9338
|
+
function Jo(t, e) {
|
|
9339
9339
|
t.setAll({
|
|
9340
9340
|
stroke: e.stroke,
|
|
9341
9341
|
strokeDasharray: e.strokeDasharray,
|
|
@@ -9360,7 +9360,7 @@ function Iu(t) {
|
|
|
9360
9360
|
element: e,
|
|
9361
9361
|
fill: s.fill,
|
|
9362
9362
|
fillOpacity: s.fillOpacity
|
|
9363
|
-
}),
|
|
9363
|
+
}), Jo(e, s.outline)), re(e, a)), s;
|
|
9364
9364
|
}
|
|
9365
9365
|
function Ei(t) {
|
|
9366
9366
|
const {
|
|
@@ -9391,7 +9391,7 @@ function Ei(t) {
|
|
|
9391
9391
|
fillOpacity: g.fillOpacity,
|
|
9392
9392
|
pattern: g.pattern,
|
|
9393
9393
|
chartBackgroundFill: h
|
|
9394
|
-
}),
|
|
9394
|
+
}), Jo(i, g.outline);
|
|
9395
9395
|
}
|
|
9396
9396
|
l || re(i, o);
|
|
9397
9397
|
}
|
|
@@ -9404,7 +9404,7 @@ function qt(t) {
|
|
|
9404
9404
|
symbol: i,
|
|
9405
9405
|
defaultToColorFromRamp: o,
|
|
9406
9406
|
colorRampIndex: n
|
|
9407
|
-
}), s !== void 0 && (
|
|
9407
|
+
}), s !== void 0 && (Jo(e, s), e instanceof pe && Jo(e.strokes.template, s))), re(e, a)), s;
|
|
9408
9408
|
}
|
|
9409
9409
|
function yt(t) {
|
|
9410
9410
|
const {
|
|
@@ -9513,7 +9513,7 @@ function ot(t) {
|
|
|
9513
9513
|
const { element: e, selected: i, multiSelect: a, isDateOrCategoryAxis: o, backToDefaultState: n } = t;
|
|
9514
9514
|
let s = !1;
|
|
9515
9515
|
if (e !== void 0) {
|
|
9516
|
-
const r =
|
|
9516
|
+
const r = di(e.uid, "selected") ?? !1;
|
|
9517
9517
|
s = r, a !== !0 ? o === !0 ? s = r ? !1 : r !== i : s = i : s = r !== i;
|
|
9518
9518
|
const l = n === !0 ? at.Default : at.CustomInactive;
|
|
9519
9519
|
e.states.apply(at.Default), e.states.apply(s ? at.CustomActive : l), s !== r && (MC(e.uid, { selected: s }), s && (e.toFront(), e.dataItem?.component instanceof Ia && e.dataItem.component.toFront()));
|
|
@@ -9537,7 +9537,7 @@ function $a(t) {
|
|
|
9537
9537
|
formatLocale: a,
|
|
9538
9538
|
root: o
|
|
9539
9539
|
});
|
|
9540
|
-
return typeof e == "number" && i.type === y.NumberAxisFormat ? n = s.format(e,
|
|
9540
|
+
return typeof e == "number" && i.type === y.NumberAxisFormat ? n = s.format(e, hi(i)) : (typeof e == "number" || e instanceof Date) && i.type === y.DateAxisFormat && (n = s.format(e, hi(i))), n;
|
|
9541
9541
|
}
|
|
9542
9542
|
async function cx(t) {
|
|
9543
9543
|
const { root: e, exportOptions: i } = t, { format: a, quality: o = 1, ...n } = i, s = o < 0 || o > 1 ? 1 : o, l = await Wg.new(e, {}).exportImage(a, {
|
|
@@ -9682,12 +9682,12 @@ function kr(t, e = 1) {
|
|
|
9682
9682
|
function $u(t) {
|
|
9683
9683
|
const { textBackgroundColor: e, chartBackgroundColor: i, fillOpacity: a } = t;
|
|
9684
9684
|
let o;
|
|
9685
|
-
return
|
|
9685
|
+
return Ro({ r: e.r, g: e.g, b: e.b, a }) ? o = Ro({
|
|
9686
9686
|
r: i.r,
|
|
9687
9687
|
g: i.g,
|
|
9688
9688
|
b: i.b,
|
|
9689
9689
|
a
|
|
9690
|
-
}) ? K(gg).color : i : o =
|
|
9690
|
+
}) ? K(gg).color : i : o = Ro({
|
|
9691
9691
|
r: i.r,
|
|
9692
9692
|
g: i.g,
|
|
9693
9693
|
b: i.b,
|
|
@@ -9928,7 +9928,7 @@ const _e = {
|
|
|
9928
9928
|
strokeOpacityField: "strokeOpacity"
|
|
9929
9929
|
};
|
|
9930
9930
|
function Mu(t, e) {
|
|
9931
|
-
const i =
|
|
9931
|
+
const i = Ao(t);
|
|
9932
9932
|
t.columns.template.set("tooltip", i);
|
|
9933
9933
|
const a = e !== void 0 ? "tooltipHTML" : "tooltipText";
|
|
9934
9934
|
t.columns.template.setAll({
|
|
@@ -10000,7 +10000,7 @@ function xx(t) {
|
|
|
10000
10000
|
return "";
|
|
10001
10001
|
}
|
|
10002
10002
|
function Pu(t, e) {
|
|
10003
|
-
const i =
|
|
10003
|
+
const i = Ao(t);
|
|
10004
10004
|
t.columns.template.set("tooltip", i);
|
|
10005
10005
|
const a = e !== void 0 ? "tooltipHTML" : "tooltipText";
|
|
10006
10006
|
t.columns.template.setAll({
|
|
@@ -10112,7 +10112,7 @@ function Ax(t) {
|
|
|
10112
10112
|
const l = i.dataItem;
|
|
10113
10113
|
if (l !== void 0) {
|
|
10114
10114
|
const c = l, d = c.get("category") ?? "", u = l.dataContext;
|
|
10115
|
-
let m =
|
|
10115
|
+
let m = ai(u);
|
|
10116
10116
|
m === void 0 && (m = d);
|
|
10117
10117
|
const g = c.get("value"), h = c.get("valuePercentTotal");
|
|
10118
10118
|
typeof g == "number" && g !== 0 && n?.series?.[0]?.dataTooltipVisible !== !1 ? (i.set("disabled", !1), Fx(c.get("slice")), a = r(d, g, h, m)) : i.set("disabled", !0);
|
|
@@ -10124,7 +10124,7 @@ function Ax(t) {
|
|
|
10124
10124
|
return a;
|
|
10125
10125
|
}
|
|
10126
10126
|
function Vu(t, e) {
|
|
10127
|
-
const i = t.slices.template, a =
|
|
10127
|
+
const i = t.slices.template, a = Ao(t), o = e !== void 0 ? "tooltipHTML" : "tooltipText";
|
|
10128
10128
|
i.setAll({
|
|
10129
10129
|
tooltip: a,
|
|
10130
10130
|
tooltipText: " ",
|
|
@@ -10217,7 +10217,7 @@ function Bl(t, e) {
|
|
|
10217
10217
|
if (e !== void 0) {
|
|
10218
10218
|
const i = yu(e);
|
|
10219
10219
|
i !== void 0 && t.label.setAll({
|
|
10220
|
-
fill:
|
|
10220
|
+
fill: Ro({ r: i.r, g: i.g, b: i.b, a: 1 }) ? ro("#000000") : ro("#ffffff")
|
|
10221
10221
|
});
|
|
10222
10222
|
}
|
|
10223
10223
|
}
|
|
@@ -10266,7 +10266,7 @@ function Ox(t) {
|
|
|
10266
10266
|
return a;
|
|
10267
10267
|
});
|
|
10268
10268
|
}
|
|
10269
|
-
function
|
|
10269
|
+
function Ao(t) {
|
|
10270
10270
|
const { root: e, chart: i } = t, a = Gi.new(e, {});
|
|
10271
10271
|
return a.label.setAll({
|
|
10272
10272
|
oversizedBehavior: "wrap",
|
|
@@ -10276,7 +10276,7 @@ function Fo(t) {
|
|
|
10276
10276
|
function wn(t) {
|
|
10277
10277
|
const { series: e, element: i, tooltipFormatter: a } = t;
|
|
10278
10278
|
let o;
|
|
10279
|
-
const n =
|
|
10279
|
+
const n = Ao(e);
|
|
10280
10280
|
i && i.get("tooltip") === void 0 ? (o = i, i.setAll({
|
|
10281
10281
|
tooltip: n,
|
|
10282
10282
|
tooltipPosition: L.markerTooltipPosition
|
|
@@ -10320,13 +10320,13 @@ function Rx(t) {
|
|
|
10320
10320
|
const r = s.get("valueX"), l = s.get("valueY"), c = s.get("valueXTotalPercent"), d = s.get("valueYTotalPercent"), u = o ? r : l;
|
|
10321
10321
|
let m;
|
|
10322
10322
|
o && typeof c == "number" ? m = c : !o && typeof d == "number" && (m = d), m && (m /= 100);
|
|
10323
|
-
const g = s.dataContext ?? {}, h = O(i.chart?.uid ?? 0, "config"), p = O(i.chart?.uid ?? 0, "rendererFieldNames"), b =
|
|
10324
|
-
value:
|
|
10323
|
+
const g = s.dataContext ?? {}, h = O(i.chart?.uid ?? 0, "config"), p = O(i.chart?.uid ?? 0, "rendererFieldNames"), b = ii({
|
|
10324
|
+
value: un(U([e]), e),
|
|
10325
10325
|
dataContext: g,
|
|
10326
|
-
useRendererLabel:
|
|
10327
|
-
|
|
10326
|
+
useRendererLabel: io(h, p),
|
|
10327
|
+
config: h
|
|
10328
10328
|
});
|
|
10329
|
-
let S =
|
|
10329
|
+
let S = ai(g);
|
|
10330
10330
|
S === void 0 && (S = b);
|
|
10331
10331
|
const C = g[L.dateBinningRange];
|
|
10332
10332
|
if (S !== void 0 || u !== void 0 || m !== void 0 || C !== void 0)
|
|
@@ -10487,7 +10487,7 @@ function Mx(t) {
|
|
|
10487
10487
|
series: s,
|
|
10488
10488
|
dateRange: l,
|
|
10489
10489
|
xAxisValueFormat: i
|
|
10490
|
-
}) :
|
|
10490
|
+
}) : ci(i) ? c && typeof r == "number" ? m = new Date(r).toLocaleTimeString(g) : (r instanceof Date || typeof r == "number" && Number.isFinite(r)) && (m = $a({
|
|
10491
10491
|
root: u,
|
|
10492
10492
|
value: r,
|
|
10493
10493
|
valueFormat: n ?? i,
|
|
@@ -10650,7 +10650,7 @@ function Wx(t) {
|
|
|
10650
10650
|
return (s, r, l) => {
|
|
10651
10651
|
let c = "", d = s;
|
|
10652
10652
|
const u = O(e.chart?.uid ?? 0, "rtl"), m = O(e.chart?.uid ?? 0, "config");
|
|
10653
|
-
if (
|
|
10653
|
+
if (oi(m)) {
|
|
10654
10654
|
d !== null ? e.chart && (d = zt({
|
|
10655
10655
|
root: e.chart.root,
|
|
10656
10656
|
type: "number",
|
|
@@ -10719,7 +10719,7 @@ function Ex(t) {
|
|
|
10719
10719
|
return Xe(a);
|
|
10720
10720
|
}
|
|
10721
10721
|
function zu(t, e) {
|
|
10722
|
-
const i =
|
|
10722
|
+
const i = Ao(t);
|
|
10723
10723
|
t.columns.template.set("tooltip", i);
|
|
10724
10724
|
const a = e !== void 0 ? "tooltipHTML" : "tooltipText";
|
|
10725
10725
|
t.columns.template.setAll({
|
|
@@ -10741,7 +10741,7 @@ function zx(t) {
|
|
|
10741
10741
|
})
|
|
10742
10742
|
});
|
|
10743
10743
|
}
|
|
10744
|
-
function
|
|
10744
|
+
function en(t) {
|
|
10745
10745
|
const e = {
|
|
10746
10746
|
type: Q.SLS,
|
|
10747
10747
|
color: [0, 0, 0, 0],
|
|
@@ -10791,16 +10791,16 @@ function Xx(t) {
|
|
|
10791
10791
|
let D, w, B, R = !1;
|
|
10792
10792
|
if (n === xa.Renderer) {
|
|
10793
10793
|
const M = I?.[X.rendererSymbolField];
|
|
10794
|
-
if (
|
|
10794
|
+
if (so(M)) {
|
|
10795
10795
|
B = we(M);
|
|
10796
|
-
const { outlineSymbol: N } =
|
|
10796
|
+
const { outlineSymbol: N } = en(s);
|
|
10797
10797
|
B.outline = N;
|
|
10798
10798
|
} else
|
|
10799
10799
|
R = !0;
|
|
10800
10800
|
}
|
|
10801
10801
|
if ((!Number.isFinite(T) || R) && r) {
|
|
10802
10802
|
B = we(r);
|
|
10803
|
-
const { outlineSymbol: M } =
|
|
10803
|
+
const { outlineSymbol: M } = en(s);
|
|
10804
10804
|
B.outline = M;
|
|
10805
10805
|
}
|
|
10806
10806
|
if (B) {
|
|
@@ -10934,7 +10934,7 @@ function qx(t) {
|
|
|
10934
10934
|
function Gu(t) {
|
|
10935
10935
|
const { queryObject: e, chartConfig: i, forLegend: a, series: o } = t;
|
|
10936
10936
|
let n;
|
|
10937
|
-
const s = gt(e), r = i.series?.[0], l = i.chartRenderer ?? s?.renderer?.toJSON(), { outlineColor: c, outlineOpacity: d } =
|
|
10937
|
+
const s = gt(e), r = i.series?.[0], l = i.chartRenderer ?? s?.renderer?.toJSON(), { outlineColor: c, outlineOpacity: d } = en(r?.gridLine);
|
|
10938
10938
|
if ((l?.type === "classBreaks" || l?.type === "class-breaks") && "classBreakInfos" in l) {
|
|
10939
10939
|
const u = o?.data.values, m = o?.get("valueField") ?? Ie.valueField, g = l.classBreakInfos?.[0], h = g ? g.classMinValue === g.classMaxValue : !1;
|
|
10940
10940
|
n = l.classBreakInfos.map((p, b) => {
|
|
@@ -10974,7 +10974,7 @@ function Kx(t, e) {
|
|
|
10974
10974
|
}
|
|
10975
10975
|
function _u(t, e) {
|
|
10976
10976
|
const { root: i } = t, a = O(t.uid, "rtl") ?? !1, o = O(t.uid, "config") ?? e, n = o?.series[0], { start: s, end: r } = Bn(a, n), l = o?.legend?.position ?? L.heatChart.legend.position, c = l === G.Top || l === G.Bottom;
|
|
10977
|
-
return
|
|
10977
|
+
return Yo.new(i, {
|
|
10978
10978
|
orientation: c ? "horizontal" : "vertical",
|
|
10979
10979
|
startColor: s.color,
|
|
10980
10980
|
endColor: r.color,
|
|
@@ -11091,7 +11091,7 @@ function qu(t) {
|
|
|
11091
11091
|
paddingBottom: s.legendPadding + p
|
|
11092
11092
|
});
|
|
11093
11093
|
const S = se({ childId: Rn, parent: e });
|
|
11094
|
-
S instanceof
|
|
11094
|
+
S instanceof fi && S.set("paddingBottom", s.chartPadding + p), l = e.bottomAxesContainer;
|
|
11095
11095
|
}
|
|
11096
11096
|
break;
|
|
11097
11097
|
}
|
|
@@ -11180,7 +11180,7 @@ function Ju(t) {
|
|
|
11180
11180
|
const T = () => {
|
|
11181
11181
|
let I;
|
|
11182
11182
|
if (e.markerContainer.children.length > 0 && e.markerContainer.children.each((D) => {
|
|
11183
|
-
D instanceof
|
|
11183
|
+
D instanceof Xo && (I = D);
|
|
11184
11184
|
}), I) {
|
|
11185
11185
|
let D = 0;
|
|
11186
11186
|
e.get("orientation") === "vertical" && (D = 90), I.set(
|
|
@@ -11205,7 +11205,7 @@ function Ju(t) {
|
|
|
11205
11205
|
if (e.get("orientation") === "vertical") {
|
|
11206
11206
|
let r;
|
|
11207
11207
|
e.markerContainer.children.length > 0 && e.markerContainer.children.each((l) => {
|
|
11208
|
-
l instanceof
|
|
11208
|
+
l instanceof Xo && (r = l);
|
|
11209
11209
|
}), r && r.set("rotation", 180);
|
|
11210
11210
|
}
|
|
11211
11211
|
};
|
|
@@ -11244,7 +11244,7 @@ function wr(t) {
|
|
|
11244
11244
|
parent: i,
|
|
11245
11245
|
useChildId: !0
|
|
11246
11246
|
});
|
|
11247
|
-
a && (a.children.values.filter((n) => n instanceof
|
|
11247
|
+
a && (a.children.values.filter((n) => n instanceof Yo).forEach((n) => {
|
|
11248
11248
|
n.dispose();
|
|
11249
11249
|
}), i.children.removeValue(a), a.dispose()), i.markDirty();
|
|
11250
11250
|
}
|
|
@@ -11286,7 +11286,7 @@ function bs(t) {
|
|
|
11286
11286
|
defaults: { ...c, verticalCenter: "top" }
|
|
11287
11287
|
});
|
|
11288
11288
|
const u = O(e.uid, "config")?.legend?.position ?? L.heatChart.legend.position;
|
|
11289
|
-
u === G.Left || u === G.Right ? (s.set("maxWidth", 250),
|
|
11289
|
+
u === G.Left || u === G.Right ? (s.set("maxWidth", 250), li({
|
|
11290
11290
|
chart: e,
|
|
11291
11291
|
label: s,
|
|
11292
11292
|
labelType: Z.LegendTitle
|
|
@@ -11299,7 +11299,7 @@ function bs(t) {
|
|
|
11299
11299
|
function Jx(t, e) {
|
|
11300
11300
|
const { root: i } = t, a = O(t.uid, "config"), o = a?.legend, n = t.series.values[0];
|
|
11301
11301
|
wr(t);
|
|
11302
|
-
const s = _u(t, a ?? e), r =
|
|
11302
|
+
const s = _u(t, a ?? e), r = fi.new(i, {
|
|
11303
11303
|
id: it(mt, t.uid),
|
|
11304
11304
|
layout: i.verticalLayout
|
|
11305
11305
|
});
|
|
@@ -11334,7 +11334,7 @@ function tf(t) {
|
|
|
11334
11334
|
}
|
|
11335
11335
|
function ev(t) {
|
|
11336
11336
|
const e = se({ childId: $n, parent: t });
|
|
11337
|
-
e instanceof
|
|
11337
|
+
e instanceof fi && e.set("marginTop", 0);
|
|
11338
11338
|
}
|
|
11339
11339
|
function tv(t) {
|
|
11340
11340
|
let e;
|
|
@@ -11347,13 +11347,13 @@ function tv(t) {
|
|
|
11347
11347
|
useChildId: !0
|
|
11348
11348
|
});
|
|
11349
11349
|
if (o) {
|
|
11350
|
-
const s = o.children.values.find((r) => r instanceof
|
|
11350
|
+
const s = o.children.values.find((r) => r instanceof Yo);
|
|
11351
11351
|
if (s) {
|
|
11352
11352
|
e = s;
|
|
11353
11353
|
return;
|
|
11354
11354
|
}
|
|
11355
11355
|
}
|
|
11356
|
-
const n = a.children.values.find((s) => s instanceof
|
|
11356
|
+
const n = a.children.values.find((s) => s instanceof Yo);
|
|
11357
11357
|
if (n) {
|
|
11358
11358
|
e = n;
|
|
11359
11359
|
return;
|
|
@@ -11365,7 +11365,7 @@ function iv(t) {
|
|
|
11365
11365
|
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];
|
|
11366
11366
|
if (a || o)
|
|
11367
11367
|
wr(e), s && r instanceof De && Wi(() => {
|
|
11368
|
-
const l = _u(e), c =
|
|
11368
|
+
const l = _u(e), c = fi.new(e.root, {
|
|
11369
11369
|
id: it(mt, e.uid),
|
|
11370
11370
|
layout: e.root.verticalLayout
|
|
11371
11371
|
});
|
|
@@ -11575,7 +11575,7 @@ function dv(t) {
|
|
|
11575
11575
|
const { dataContext: i } = e, a = typeof i == "object" && i !== null && "component" in i ? i.component : i;
|
|
11576
11576
|
if (a instanceof Ia) {
|
|
11577
11577
|
const n = { visible: !a.get("visible") };
|
|
11578
|
-
Fi(a) ||
|
|
11578
|
+
Fi(a) || To(a) ? n.overlayType = oe(a.uid, "type") : n.seriesId = a.get("id"), Lc(n, a.root.dom);
|
|
11579
11579
|
}
|
|
11580
11580
|
}
|
|
11581
11581
|
}
|
|
@@ -11660,7 +11660,7 @@ function mv(t) {
|
|
|
11660
11660
|
}
|
|
11661
11661
|
case y.HeatSeries: {
|
|
11662
11662
|
const c = e.series.getIndex(0);
|
|
11663
|
-
if (c instanceof De &&
|
|
11663
|
+
if (c instanceof De && oi(a) && !Ke(n)) {
|
|
11664
11664
|
const d = Gu({
|
|
11665
11665
|
queryObject: n,
|
|
11666
11666
|
chartConfig: a,
|
|
@@ -11711,7 +11711,7 @@ function Wl(t) {
|
|
|
11711
11711
|
function qi(t, e) {
|
|
11712
11712
|
const { root: i } = t, a = se({ childId: mt, parent: t });
|
|
11713
11713
|
if (a !== void 0) {
|
|
11714
|
-
const o = O(t.uid, "config"), n = O(t.uid, "rtl"), s = Ze(o), r = z(o?.series), l = ct(o), c = o?.series?.some((Ye) => Ye.dataLabels?.visible !== !1) ?? !1, d = o?.title ? o.title.visible ?? !0 : !1, u = o?.subtitle ? o.subtitle.visible ?? !0 : !1, m = o?.footer ? o.footer.visible ?? !0 : !1, g = o?.legend ? o.legend.visible ?? !0 : !1, h = o?.legend?.title ? o.legend.title.visible ?? !0 : !1, p = se({ childId: $n, parent: t }), b = p instanceof
|
|
11714
|
+
const o = O(t.uid, "config"), n = O(t.uid, "rtl"), s = Ze(o), r = z(o?.series), l = ct(o), c = o?.series?.some((Ye) => Ye.dataLabels?.visible !== !1) ?? !1, d = o?.title ? o.title.visible ?? !0 : !1, u = o?.subtitle ? o.subtitle.visible ?? !0 : !1, m = o?.footer ? o.footer.visible ?? !0 : !1, g = o?.legend ? o.legend.visible ?? !0 : !1, h = o?.legend?.title ? o.legend.title.visible ?? !0 : !1, p = se({ childId: $n, parent: t }), b = p instanceof fi && d ? p.height() : 0, S = se({ childId: Or, parent: t }), C = S instanceof fi && u ? S.height() : 0, x = se({ childId: Rn, parent: t }), v = x instanceof fi && m ? x.height() : 0, A = se({ childId: Xt, parent: a }), k = A instanceof rt && g && h ? A?.height() : 0, T = o?.legend?.position ?? L.legendProperties.position;
|
|
11715
11715
|
let I;
|
|
11716
11716
|
const D = e.get("verticalScrollbar");
|
|
11717
11717
|
let w = Fe, B = Fe, R = i.verticalLayout, M = Fe, N = Fe, E = Fe, V = Fe, H = 0, Y;
|
|
@@ -11876,7 +11876,7 @@ function Sv(t) {
|
|
|
11876
11876
|
const c = a ? t.yAxes.getIndex(0) : t.xAxes.getIndex(0);
|
|
11877
11877
|
let d;
|
|
11878
11878
|
c instanceof Ve ? d = f.DateAxis : c instanceof ve ? d = f.ValueAxis : d = f.CategoryAxis;
|
|
11879
|
-
const m = (i?.orderOptions?.data && "orderBy" in i.orderOptions.data ? i.orderOptions.data.orderBy ===
|
|
11879
|
+
const m = (i?.orderOptions?.data && "orderBy" in i.orderOptions.data ? i.orderOptions.data.orderBy === sn.Descending : !1) ? f.OrderByFieldsDESC : f.OrderByFieldsASC;
|
|
11880
11880
|
e = `${o}-${r}-${s}-${l}-${d}-${m}`;
|
|
11881
11881
|
}
|
|
11882
11882
|
return e;
|
|
@@ -11909,7 +11909,7 @@ function xv(t, e) {
|
|
|
11909
11909
|
label: a,
|
|
11910
11910
|
labelConfig: { ...o, visible: n !== !1 && o.visible !== !1 },
|
|
11911
11911
|
defaults: { ...s, verticalCenter: "top" }
|
|
11912
|
-
}),
|
|
11912
|
+
}), li({
|
|
11913
11913
|
chart: t,
|
|
11914
11914
|
label: a,
|
|
11915
11915
|
labelType: Z.LegendTitle
|
|
@@ -11969,7 +11969,7 @@ function El(t, e) {
|
|
|
11969
11969
|
if (sf(e?.series))
|
|
11970
11970
|
a = Jx(t, e);
|
|
11971
11971
|
else {
|
|
11972
|
-
const o =
|
|
11972
|
+
const o = fi.new(i, {
|
|
11973
11973
|
id: it(mt, t.uid),
|
|
11974
11974
|
layout: i.verticalLayout
|
|
11975
11975
|
}), n = e?.series?.[0].type === y.HeatSeries ? {
|
|
@@ -11989,7 +11989,7 @@ function Tv(t) {
|
|
|
11989
11989
|
);
|
|
11990
11990
|
let n;
|
|
11991
11991
|
if (o) {
|
|
11992
|
-
const s = e?.series[0].emptyCells, r = s?.symbol?.color ?? L.heatChart.emptyCells?.symbol?.color, { outlineColor: l, outlineOpacity: c } =
|
|
11992
|
+
const s = e?.series[0].emptyCells, r = s?.symbol?.color ?? L.heatChart.emptyCells?.symbol?.color, { outlineColor: l, outlineOpacity: c } = en(e?.series[0].gridLine);
|
|
11993
11993
|
n = {
|
|
11994
11994
|
[_e.nameField]: s?.text ?? L.heatChart.emptyCells?.text ?? "",
|
|
11995
11995
|
[_e.fillField]: K(r).color,
|
|
@@ -12329,7 +12329,7 @@ function Jt(t) {
|
|
|
12329
12329
|
const d = n.target, u = lx(n, i);
|
|
12330
12330
|
ot({
|
|
12331
12331
|
element: d,
|
|
12332
|
-
selected:
|
|
12332
|
+
selected: di(d.uid, "selected") !== !0
|
|
12333
12333
|
// switching the bullet state,
|
|
12334
12334
|
}), u && s.series.each((m) => {
|
|
12335
12335
|
m instanceof pe ? m.dataItems.forEach((g) => {
|
|
@@ -12391,7 +12391,7 @@ function Vv(t) {
|
|
|
12391
12391
|
const p = m.top;
|
|
12392
12392
|
m.top = m.bottom, m.bottom = p;
|
|
12393
12393
|
}
|
|
12394
|
-
const h = !(m.left > i.right || m.right < i.left || m.top > i.bottom || m.bottom < i.top) || a &&
|
|
12394
|
+
const h = !(m.left > i.right || m.right < i.left || m.top > i.bottom || m.bottom < i.top) || a && di(s.uid, "selected") === !0;
|
|
12395
12395
|
ot({ element: s, selected: h });
|
|
12396
12396
|
}
|
|
12397
12397
|
});
|
|
@@ -12401,7 +12401,7 @@ function Wv(t) {
|
|
|
12401
12401
|
e.dataItems.forEach((o) => {
|
|
12402
12402
|
const n = o.bullets?.[0]?.get("sprite");
|
|
12403
12403
|
if (n) {
|
|
12404
|
-
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 &&
|
|
12404
|
+
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 && di(n.uid, "selected") === !0;
|
|
12405
12405
|
ot({ element: n, selected: c });
|
|
12406
12406
|
}
|
|
12407
12407
|
});
|
|
@@ -12418,7 +12418,7 @@ function Ev(t) {
|
|
|
12418
12418
|
const g = r?.[L.xAxisField];
|
|
12419
12419
|
typeof g == "string" && (l = e.categoryToIndex(g));
|
|
12420
12420
|
}
|
|
12421
|
-
const d = typeof l == "number" && l >= a.left && l <= a.right, u = typeof c == "number" && c >= a.top && c <= a.bottom, m = d && u || o &&
|
|
12421
|
+
const d = typeof l == "number" && l >= a.left && l <= a.right, u = typeof c == "number" && c >= a.top && c <= a.bottom, m = d && u || o && di(s.uid, "selected") === !0;
|
|
12422
12422
|
ot({ element: s, selected: m });
|
|
12423
12423
|
}
|
|
12424
12424
|
});
|
|
@@ -12441,7 +12441,7 @@ function Hv(t) {
|
|
|
12441
12441
|
if (r && l) {
|
|
12442
12442
|
const c = O(e.uid, "config"), d = z(c?.series), u = e.get("cursor"), m = zv({ cursor: u, xAxis: r, yAxis: l }), g = Du(n);
|
|
12443
12443
|
e.series.each((h) => {
|
|
12444
|
-
!Fi(h) && !
|
|
12444
|
+
!Fi(h) && !To(h) && (h instanceof De ? Vv({ series: h, cursorBounds: m, multiSelect: g }) : h instanceof pe && (d === y.RadarSeries ? Ev({ xAxis: r, series: h, cursorBounds: m, multiSelect: g }) : Wv({ series: h, cursorBounds: m, multiSelect: g })));
|
|
12445
12445
|
}), re(u.selection, !1), await Rr({
|
|
12446
12446
|
chart: e,
|
|
12447
12447
|
selectionSource: $e.SelectionByRange,
|
|
@@ -12530,7 +12530,7 @@ function gf(t) {
|
|
|
12530
12530
|
const { series: e, dataLabelsConfig: i } = t, a = i?.visible, o = e.bullets.hasIndex(0);
|
|
12531
12531
|
a !== !0 ? o && kr(e, 0) : (o || Gv(t), Yv(t));
|
|
12532
12532
|
}
|
|
12533
|
-
function
|
|
12533
|
+
function To(t) {
|
|
12534
12534
|
return [
|
|
12535
12535
|
L.overlayId.histogramMean,
|
|
12536
12536
|
L.overlayId.histogramMedian,
|
|
@@ -12584,7 +12584,7 @@ function jv(t) {
|
|
|
12584
12584
|
n.hideLoader();
|
|
12585
12585
|
}), e.data.setAll(i.bins));
|
|
12586
12586
|
}
|
|
12587
|
-
function
|
|
12587
|
+
function $o(t) {
|
|
12588
12588
|
const { root: e, xAxis: i, yAxis: a, type: o, utilsStrings: n } = t, s = pe.new(e, {
|
|
12589
12589
|
id: Uv(o),
|
|
12590
12590
|
valueXField: "x",
|
|
@@ -12601,8 +12601,8 @@ function qv(t) {
|
|
|
12601
12601
|
name: d,
|
|
12602
12602
|
xAxis: a,
|
|
12603
12603
|
yAxis: o,
|
|
12604
|
-
categoryXField:
|
|
12605
|
-
valueYField:
|
|
12604
|
+
categoryXField: no.Start,
|
|
12605
|
+
valueYField: no.Count,
|
|
12606
12606
|
maskBullets: !1
|
|
12607
12607
|
});
|
|
12608
12608
|
return Ee(u.columns.template, n?.selectionTheme), Jt({ element: u.columns.template, series: u, queryObject: r, errorStrings: l }), u.columns.template.setAll({
|
|
@@ -12638,7 +12638,7 @@ function Zv(t) {
|
|
|
12638
12638
|
errorStrings: d
|
|
12639
12639
|
});
|
|
12640
12640
|
return u.push(m), Pu(m, r?.tooltipFormatter), o && (u.push(
|
|
12641
|
-
|
|
12641
|
+
$o({
|
|
12642
12642
|
root: e,
|
|
12643
12643
|
xAxis: o,
|
|
12644
12644
|
yAxis: n,
|
|
@@ -12646,7 +12646,7 @@ function Zv(t) {
|
|
|
12646
12646
|
utilsStrings: s
|
|
12647
12647
|
})
|
|
12648
12648
|
), u.push(
|
|
12649
|
-
|
|
12649
|
+
$o({
|
|
12650
12650
|
root: e,
|
|
12651
12651
|
xAxis: o,
|
|
12652
12652
|
yAxis: n,
|
|
@@ -12654,7 +12654,7 @@ function Zv(t) {
|
|
|
12654
12654
|
utilsStrings: s
|
|
12655
12655
|
})
|
|
12656
12656
|
), u.push(
|
|
12657
|
-
|
|
12657
|
+
$o({
|
|
12658
12658
|
root: e,
|
|
12659
12659
|
xAxis: o,
|
|
12660
12660
|
yAxis: n,
|
|
@@ -12662,7 +12662,7 @@ function Zv(t) {
|
|
|
12662
12662
|
utilsStrings: s
|
|
12663
12663
|
})
|
|
12664
12664
|
), u.push(
|
|
12665
|
-
|
|
12665
|
+
$o({
|
|
12666
12666
|
root: e,
|
|
12667
12667
|
xAxis: o,
|
|
12668
12668
|
yAxis: n,
|
|
@@ -12852,7 +12852,7 @@ function iL(t) {
|
|
|
12852
12852
|
const { chart: e, chartType: i, showMean: a } = t;
|
|
12853
12853
|
return e.series.values.filter((n) => {
|
|
12854
12854
|
let s = !0;
|
|
12855
|
-
return Fi(n) ||
|
|
12855
|
+
return Fi(n) || To(n) || oe(n.uid, "isOverlay") === !0 ? s = !1 : i === y.BoxPlotSeries && (a ? s = oe(n.uid, "isBoxPlotMeanLineSeries") === !0 : s = n instanceof Xi), s;
|
|
12856
12856
|
}).every((n) => oe(n.uid, "isSelectionApplied") === !0);
|
|
12857
12857
|
}
|
|
12858
12858
|
function aL(t) {
|
|
@@ -12860,7 +12860,7 @@ function aL(t) {
|
|
|
12860
12860
|
}
|
|
12861
12861
|
function oL(t) {
|
|
12862
12862
|
let e = [];
|
|
12863
|
-
if (!Fi(t) && !
|
|
12863
|
+
if (!Fi(t) && !To(t))
|
|
12864
12864
|
switch (!0) {
|
|
12865
12865
|
case t instanceof ht:
|
|
12866
12866
|
e = t.slices.values;
|
|
@@ -12872,7 +12872,7 @@ function oL(t) {
|
|
|
12872
12872
|
if (a) {
|
|
12873
12873
|
const o = z(a?.series);
|
|
12874
12874
|
let n = [];
|
|
12875
|
-
o === y.HistogramSeries ? n = [
|
|
12875
|
+
o === y.HistogramSeries ? n = [no.Count] : o === y.HeatSeries ? n = [Ie.valueField] : n = Ci(a?.series, [t.get("id") ?? ""]), e = t.columns.values.filter((s) => {
|
|
12876
12876
|
let r = !1;
|
|
12877
12877
|
const l = s.dataItem?.dataContext;
|
|
12878
12878
|
return l && (r = o === y.HeatSeries || n.some((c) => c in l && Number.isFinite(l[c]))), r;
|
|
@@ -12896,14 +12896,14 @@ function nL(t) {
|
|
|
12896
12896
|
const { chart: e, selectionIndexes: i, queryObject: a } = t, o = [], n = [], s = O(e.uid, "config"), r = xi(s), l = Ci(s?.series ?? []), c = U(s?.series), d = z(s?.series);
|
|
12897
12897
|
return e.series.each((u, m) => {
|
|
12898
12898
|
if (s && u.get("visible") === !0 && u.get("id") !== L.overlayId.scatterplotTrendLine) {
|
|
12899
|
-
const g = s.series[0].x, h =
|
|
12899
|
+
const g = s.series[0].x, h = Fo(u), p = i.get(m);
|
|
12900
12900
|
if (p !== void 0) {
|
|
12901
12901
|
let b;
|
|
12902
12902
|
if (u instanceof pe && (b = u.dataItems.map((S) => S?.bullets?.[0]?.get("sprite")).filter((S) => S !== void 0)), b !== void 0) {
|
|
12903
12903
|
const { indexesToSelect: S } = p;
|
|
12904
12904
|
b.forEach((C, x) => {
|
|
12905
12905
|
if (S === void 0 || S.includes(x)) {
|
|
12906
|
-
const v =
|
|
12906
|
+
const v = yi({
|
|
12907
12907
|
dataContext: C.dataItem?.dataContext,
|
|
12908
12908
|
yList: l,
|
|
12909
12909
|
yAxisField: h,
|
|
@@ -12911,7 +12911,7 @@ function nL(t) {
|
|
|
12911
12911
|
chartType: d,
|
|
12912
12912
|
chartSubType: c,
|
|
12913
12913
|
showOutliers: r,
|
|
12914
|
-
isFeatureCollectionLayer:
|
|
12914
|
+
isFeatureCollectionLayer: pi(a)
|
|
12915
12915
|
});
|
|
12916
12916
|
v !== void 0 && o.push(v), n.push(C);
|
|
12917
12917
|
} else
|
|
@@ -12936,10 +12936,10 @@ function sL(t) {
|
|
|
12936
12936
|
queryObject: d
|
|
12937
12937
|
} = t, u = z(i.series), m = U(i.series), g = xi(i), h = [], p = [], b = [], S = Ci(i.series);
|
|
12938
12938
|
return o.forEach((C, x) => {
|
|
12939
|
-
const v = C instanceof
|
|
12939
|
+
const v = C instanceof lo || C instanceof co ? C : C.bullets?.[0]?.get("sprite");
|
|
12940
12940
|
if (v !== void 0) {
|
|
12941
|
-
let A = C instanceof
|
|
12942
|
-
if (A !== void 0 && u === y.BoxPlotSeries && A[L.boxPlot.boxPlotOutlierId] !== !0 && (A =
|
|
12941
|
+
let A = C instanceof lo || C instanceof co ? v.dataItem?.dataContext : C.dataContext;
|
|
12942
|
+
if (A !== void 0 && u === y.BoxPlotSeries && A[L.boxPlot.boxPlotOutlierId] !== !0 && (A = yi({
|
|
12943
12943
|
dataContext: A,
|
|
12944
12944
|
yAxisField: l,
|
|
12945
12945
|
yList: S,
|
|
@@ -12948,7 +12948,7 @@ function sL(t) {
|
|
|
12948
12948
|
chartType: u,
|
|
12949
12949
|
chartSubType: m,
|
|
12950
12950
|
showOutliers: g,
|
|
12951
|
-
isFeatureCollectionLayer:
|
|
12951
|
+
isFeatureCollectionLayer: pi(d)
|
|
12952
12952
|
})), bn({
|
|
12953
12953
|
elementDataContext: A,
|
|
12954
12954
|
options: a,
|
|
@@ -12965,7 +12965,7 @@ function sL(t) {
|
|
|
12965
12965
|
b.push(A);
|
|
12966
12966
|
else {
|
|
12967
12967
|
const T = /* @__PURE__ */ new Set();
|
|
12968
|
-
u === y.PieSeries && Li(A) ? (
|
|
12968
|
+
u === y.PieSeries && Li(A) ? (So({
|
|
12969
12969
|
groupOfSlicesDataContext: A
|
|
12970
12970
|
}) ?? []).forEach((D) => {
|
|
12971
12971
|
n.forEach((w) => {
|
|
@@ -12977,7 +12977,7 @@ function sL(t) {
|
|
|
12977
12977
|
}) && T.add(D);
|
|
12978
12978
|
});
|
|
12979
12979
|
}) : T.add(A), Array.from(T)?.forEach((I) => {
|
|
12980
|
-
const D =
|
|
12980
|
+
const D = yi({
|
|
12981
12981
|
dataContext: I,
|
|
12982
12982
|
yAxisField: l,
|
|
12983
12983
|
yList: S,
|
|
@@ -12986,7 +12986,7 @@ function sL(t) {
|
|
|
12986
12986
|
chartType: u,
|
|
12987
12987
|
chartSubType: m,
|
|
12988
12988
|
showOutliers: g,
|
|
12989
|
-
isFeatureCollectionLayer:
|
|
12989
|
+
isFeatureCollectionLayer: pi(d)
|
|
12990
12990
|
});
|
|
12991
12991
|
D !== void 0 && b.push(D);
|
|
12992
12992
|
});
|
|
@@ -13085,10 +13085,10 @@ function rL(t) {
|
|
|
13085
13085
|
});
|
|
13086
13086
|
};
|
|
13087
13087
|
k.forEach((E) => {
|
|
13088
|
-
const V = E instanceof
|
|
13088
|
+
const V = E instanceof lo || E instanceof co ? E : E.bullets?.[0]?.get("sprite");
|
|
13089
13089
|
V !== void 0 && ot({
|
|
13090
13090
|
element: V,
|
|
13091
|
-
selected:
|
|
13091
|
+
selected: di(V.uid, "selected") === !0 || N(V),
|
|
13092
13092
|
backToDefaultState: R === void 0 || R.length === 0
|
|
13093
13093
|
});
|
|
13094
13094
|
});
|
|
@@ -13119,10 +13119,10 @@ function rL(t) {
|
|
|
13119
13119
|
}
|
|
13120
13120
|
function lL(t) {
|
|
13121
13121
|
const { chart: e, chartConfig: i, queryObject: a } = t;
|
|
13122
|
-
!O(e.uid, "filterBySelection") && !Ke(a) && e.series.values.filter((n) => !Fi(n) && !
|
|
13122
|
+
!O(e.uid, "filterBySelection") && !Ke(a) && e.series.values.filter((n) => !Fi(n) && !To(n)).forEach((n) => {
|
|
13123
13123
|
const { seriesConfig: s, seriesIndex: r } = Mn(n, i);
|
|
13124
13124
|
if (s) {
|
|
13125
|
-
const l = s.x, c = s.type === y.BoxPlotSeries || s.type === y.HeatSeries ? s.y.toString() :
|
|
13125
|
+
const l = s.x, c = s.type === y.BoxPlotSeries || s.type === y.HeatSeries ? s.y.toString() : Fo(n), d = s.query?.where ?? "";
|
|
13126
13126
|
cL({
|
|
13127
13127
|
callbackProps: { ...t, series: n, seriesIndex: r, xAxisField: l, yAxisField: c, splitBy: d },
|
|
13128
13128
|
series: n,
|
|
@@ -13136,21 +13136,21 @@ async function Rr(t) {
|
|
|
13136
13136
|
if (n) {
|
|
13137
13137
|
const r = O(e.uid, "options"), l = z(n.series), c = U(n.series), d = xi(n), u = Ci(n.series), m = n.series[0].x, g = Zi(a), h = s ? void 0 : Xs(gt(a))?.dateFieldsTimeZone;
|
|
13138
13138
|
let p;
|
|
13139
|
-
|
|
13139
|
+
oi(n) ? p = n.outTimeZone : la(n.series[0]) && (p = n.series[0].temporalBinning?.outTimeZone);
|
|
13140
13140
|
const S = St(a).find((C) => C.name === m)?.type;
|
|
13141
13141
|
try {
|
|
13142
13142
|
const C = /* @__PURE__ */ new Set(), x = [], v = /* @__PURE__ */ new Map(), A = [];
|
|
13143
13143
|
let k = [], T = 0;
|
|
13144
13144
|
if (e.series.each((I, D) => {
|
|
13145
|
-
const { seriesConfig: w } = Mn(I, n), B = w?.query?.where ?? "", R = w?.type === y.BoxPlotSeries ? w.y.toString() :
|
|
13145
|
+
const { seriesConfig: w } = Mn(I, n), B = w?.query?.where ?? "", R = w?.type === y.BoxPlotSeries ? w.y.toString() : Fo(I);
|
|
13146
13146
|
let M;
|
|
13147
13147
|
I instanceof pe ? M = I.dataItems : I instanceof De ? M = I.columns.values : I instanceof ht && (M = I.slices.values), M?.forEach((N, E) => {
|
|
13148
|
-
const V = N instanceof
|
|
13149
|
-
if (V !== void 0 &&
|
|
13148
|
+
const V = N instanceof lo || N instanceof co ? N : N.bullets?.[0]?.get("sprite");
|
|
13149
|
+
if (V !== void 0 && di(V.uid, "selected") === !0) {
|
|
13150
13150
|
T += 1;
|
|
13151
|
-
let H = N instanceof
|
|
13151
|
+
let H = N instanceof lo || N instanceof co ? N.dataItem?.dataContext : N.dataContext;
|
|
13152
13152
|
if (H !== void 0) {
|
|
13153
|
-
if (H =
|
|
13153
|
+
if (H = yi({
|
|
13154
13154
|
dataContext: H,
|
|
13155
13155
|
yAxisField: R,
|
|
13156
13156
|
yList: u,
|
|
@@ -13159,7 +13159,7 @@ async function Rr(t) {
|
|
|
13159
13159
|
chartType: l,
|
|
13160
13160
|
chartSubType: c,
|
|
13161
13161
|
showOutliers: d,
|
|
13162
|
-
isFeatureCollectionLayer:
|
|
13162
|
+
isFeatureCollectionLayer: pi(a)
|
|
13163
13163
|
}), C.has(JSON.stringify(H)) || (C.add(JSON.stringify(H)), x.push(H)), E !== void 0) {
|
|
13164
13164
|
const j = v.get(D)?.indexesToSelect ?? [];
|
|
13165
13165
|
j.push(E), v.set(D, {
|
|
@@ -13338,7 +13338,7 @@ function dL(t) {
|
|
|
13338
13338
|
}
|
|
13339
13339
|
function Ua(t, e) {
|
|
13340
13340
|
const { series: i } = e, a = z(i);
|
|
13341
|
-
!0 === t instanceof De && (t.columns.template.setAll({ hoverOnFocus: !0 }), a === y.HeatSeries ? t.columns.template.set("ariaLabel", mL()) : t.columns.template.set("ariaLabel",
|
|
13341
|
+
!0 === t instanceof De && (t.columns.template.setAll({ hoverOnFocus: !0 }), a === y.HeatSeries ? t.columns.template.set("ariaLabel", mL()) : t.columns.template.set("ariaLabel", Eo()));
|
|
13342
13342
|
}
|
|
13343
13343
|
function Ui(t, e) {
|
|
13344
13344
|
t && t.set("focusable", (e ?? 0) < L.focusableThreshold);
|
|
@@ -13485,7 +13485,7 @@ function pL(t) {
|
|
|
13485
13485
|
return (s) => {
|
|
13486
13486
|
let r = s ?? "";
|
|
13487
13487
|
const l = O(e.uid, "formatLocale"), c = O(e.uid, "config");
|
|
13488
|
-
if (
|
|
13488
|
+
if (oi(c)) {
|
|
13489
13489
|
const d = Lg(c.series[0], i);
|
|
13490
13490
|
if (d && s !== void 0 && s !== "") {
|
|
13491
13491
|
if (a.type === y.DateAxisFormat && a.intlOptions)
|
|
@@ -13531,7 +13531,7 @@ function pL(t) {
|
|
|
13531
13531
|
};
|
|
13532
13532
|
}
|
|
13533
13533
|
function bL(t) {
|
|
13534
|
-
const { axis: e, formatOptions: i, isTimeOnlyField: a, setTimeZone: o, outTimeZone: n } = t, s = { ...
|
|
13534
|
+
const { axis: e, formatOptions: i, isTimeOnlyField: a, setTimeZone: o, outTimeZone: n } = t, s = { ...hi(i) }, r = [
|
|
13535
13535
|
"year",
|
|
13536
13536
|
"month",
|
|
13537
13537
|
"day",
|
|
@@ -13560,28 +13560,24 @@ function Xl(t) {
|
|
|
13560
13560
|
isXAxis: !0,
|
|
13561
13561
|
chartType: a,
|
|
13562
13562
|
valueFormat: i
|
|
13563
|
-
}), n =
|
|
13563
|
+
}), n = ci(i) && e instanceof Ve, s = xt(i) && e instanceof ve && !(e instanceof Ve), r = o && e instanceof et;
|
|
13564
13564
|
return !n && !s && !r;
|
|
13565
13565
|
}
|
|
13566
13566
|
function Cf(t) {
|
|
13567
13567
|
const { dataContext: e, defaultValue: i, chartUID: a } = t;
|
|
13568
|
-
let o =
|
|
13568
|
+
let o = ai(e);
|
|
13569
13569
|
const n = O(a, "config"), s = O(a, "rendererFieldNames"), r = z(n?.series), l = U(n?.series);
|
|
13570
|
-
|
|
13571
|
-
|
|
13572
|
-
|
|
13573
|
-
|
|
13574
|
-
|
|
13575
|
-
|
|
13576
|
-
|
|
13577
|
-
|
|
13578
|
-
|
|
13579
|
-
|
|
13580
|
-
|
|
13581
|
-
useRendererLabel: sn(n, s),
|
|
13582
|
-
specificField: X.xAxisField
|
|
13583
|
-
});
|
|
13584
|
-
return { labelValue: o, originalLabelValue: ii(e) };
|
|
13570
|
+
return r === y.BoxPlotSeries && (l === W.BoxPlotMonoField || l === W.BoxPlotMultiFields || l === W.BoxPlotMonoFieldAndSplitBy || l === W.BoxPlotMultiFieldsAndSplitBy) ? o = e?.[js] : r === y.HistogramSeries ? o = e?.[no.Start] : (r === y.BarSeries || r === y.LineSeries || r === y.RadarSeries || r === y.ComboLineAndBarSeries) && n !== void 0 ? o = ii({
|
|
13571
|
+
value: un(l, n?.series?.[0]),
|
|
13572
|
+
dataContext: e,
|
|
13573
|
+
useRendererLabel: io(n, s),
|
|
13574
|
+
config: n
|
|
13575
|
+
}) : o = ii({
|
|
13576
|
+
value: i ?? "",
|
|
13577
|
+
dataContext: e,
|
|
13578
|
+
useRendererLabel: io(n, s),
|
|
13579
|
+
specificField: X.xAxisField
|
|
13580
|
+
}), { labelValue: o, originalLabelValue: ai(e) };
|
|
13585
13581
|
}
|
|
13586
13582
|
function yL(t, e) {
|
|
13587
13583
|
const { chart: i } = t;
|
|
@@ -13644,7 +13640,7 @@ function yL(t, e) {
|
|
|
13644
13640
|
function SL(t) {
|
|
13645
13641
|
const { axis: e, isRotated: i, chartConfig: a } = t;
|
|
13646
13642
|
if (e instanceof et || e instanceof Ve) {
|
|
13647
|
-
const o = a.orderOptions?.data && "orderBy" in a.orderOptions.data ? a.orderOptions.data.orderBy ===
|
|
13643
|
+
const o = a.orderOptions?.data && "orderBy" in a.orderOptions.data ? a.orderOptions.data.orderBy === sn.Descending : !1;
|
|
13648
13644
|
let n = i === !0;
|
|
13649
13645
|
o && e instanceof Ve && (n = !n), e.get("renderer").set("inversed", n);
|
|
13650
13646
|
}
|
|
@@ -13668,7 +13664,7 @@ function CL(t) {
|
|
|
13668
13664
|
isXAxis: i,
|
|
13669
13665
|
chartType: a,
|
|
13670
13666
|
valueFormat: o
|
|
13671
|
-
}), h = e instanceof ve && !(e instanceof Ve) && xt(o), p = e instanceof Ve &&
|
|
13667
|
+
}), h = e instanceof ve && !(e instanceof Ve) && xt(o), p = e instanceof Ve && ci(o), b = e instanceof et && g;
|
|
13672
13668
|
if (!(h || p || b))
|
|
13673
13669
|
Bs("mismatchAxisAndValueFormat", u);
|
|
13674
13670
|
else {
|
|
@@ -13712,13 +13708,13 @@ function xL(t) {
|
|
|
13712
13708
|
return s || n?.[0] || n?.[1] || p || b;
|
|
13713
13709
|
}
|
|
13714
13710
|
function oa(t, e) {
|
|
13715
|
-
return t instanceof vt && !e || t instanceof
|
|
13711
|
+
return t instanceof vt && !e || t instanceof bi && e || t instanceof Kt;
|
|
13716
13712
|
}
|
|
13717
13713
|
function Nn(t) {
|
|
13718
13714
|
return t instanceof vt;
|
|
13719
13715
|
}
|
|
13720
13716
|
function vL(t) {
|
|
13721
|
-
return t instanceof
|
|
13717
|
+
return t instanceof bi;
|
|
13722
13718
|
}
|
|
13723
13719
|
function LL(t) {
|
|
13724
13720
|
const { axis: e, isLogarithmic: i, axisConfigIndex: a } = t, o = O(e.chart?.uid ?? Number.NaN, "config"), n = i === !0 && Gs({
|
|
@@ -13908,7 +13904,7 @@ function $L(t) {
|
|
|
13908
13904
|
} else
|
|
13909
13905
|
e.setAll({ min: Number.NaN, max: Number.NaN });
|
|
13910
13906
|
}
|
|
13911
|
-
function
|
|
13907
|
+
function tn(t, e) {
|
|
13912
13908
|
if (t !== void 0) {
|
|
13913
13909
|
const i = O(t.uid, "config");
|
|
13914
13910
|
if (i !== void 0) {
|
|
@@ -13966,9 +13962,9 @@ function RL(t) {
|
|
|
13966
13962
|
}
|
|
13967
13963
|
function Nr(t) {
|
|
13968
13964
|
t.on("visible", () => {
|
|
13969
|
-
t.chart instanceof Se &&
|
|
13965
|
+
t.chart instanceof Se && tn(t.chart);
|
|
13970
13966
|
}), t.events.on(ae.DataValidated, () => {
|
|
13971
|
-
t.chart instanceof Se &&
|
|
13967
|
+
t.chart instanceof Se && tn(t.chart);
|
|
13972
13968
|
});
|
|
13973
13969
|
}
|
|
13974
13970
|
function BL(t) {
|
|
@@ -14500,9 +14496,9 @@ function i0(t) {
|
|
|
14500
14496
|
const { axis: e, isHorizontalAxis: i, label: a } = t, { chart: o } = e;
|
|
14501
14497
|
if (o) {
|
|
14502
14498
|
const n = i ? "width" : "height", s = i ? Z.XAxisTitle : Z.YAxisTitle;
|
|
14503
|
-
|
|
14499
|
+
li({ chart: o, label: a, labelType: s }), e.onPrivate(
|
|
14504
14500
|
n,
|
|
14505
|
-
lt(() =>
|
|
14501
|
+
lt(() => li({ chart: o, label: a, labelType: s }), L.debounceTime)
|
|
14506
14502
|
);
|
|
14507
14503
|
}
|
|
14508
14504
|
}
|
|
@@ -14516,7 +14512,7 @@ function a0(t) {
|
|
|
14516
14512
|
const l = O(a.uid, "gaugeData");
|
|
14517
14513
|
Number.isFinite(l) && (r = l);
|
|
14518
14514
|
}
|
|
14519
|
-
return Wa(o) && n !== void 0 && s !== void 0 && n !== null && s !== null && r !== null && s - n !== 0 && (r =
|
|
14515
|
+
return Wa(o) && n !== void 0 && s !== void 0 && n !== null && s !== null && r !== null && s - n !== 0 && (r = ho({
|
|
14520
14516
|
value: r,
|
|
14521
14517
|
axisMin: n,
|
|
14522
14518
|
axisMax: s
|
|
@@ -14573,7 +14569,7 @@ function c0(t) {
|
|
|
14573
14569
|
utilsStrings: s,
|
|
14574
14570
|
errorStrings: r,
|
|
14575
14571
|
gaugeMinMaxFromData: l
|
|
14576
|
-
} = t, { axes: c, series: d } = i, u =
|
|
14572
|
+
} = t, { axes: c, series: d } = i, u = oo(i), { featureIndex: m, x: g } = d[0], h = c?.[0], p = e.xAxes.getIndex(0), b = { ...h };
|
|
14577
14573
|
if (p instanceof ve && p.get("renderer") instanceof Kt && b !== void 0 && a && "dataItems" in a) {
|
|
14578
14574
|
const { valueFormat: S, needle: C } = b;
|
|
14579
14575
|
r0(e, i), l0(e, i);
|
|
@@ -14671,7 +14667,7 @@ function u0(t) {
|
|
|
14671
14667
|
errorStrings: m,
|
|
14672
14668
|
queryObject: g
|
|
14673
14669
|
});
|
|
14674
|
-
}),
|
|
14670
|
+
}), tn(e, n);
|
|
14675
14671
|
}
|
|
14676
14672
|
function f0(t) {
|
|
14677
14673
|
const { chart: e, axesConfig: i, x: a, errorStrings: o } = t, { root: n } = e, s = y.HistogramSeries;
|
|
@@ -14698,7 +14694,7 @@ function f0(t) {
|
|
|
14698
14694
|
...r,
|
|
14699
14695
|
axes: e.yAxes,
|
|
14700
14696
|
valueFormat: c,
|
|
14701
|
-
axisRenderer:
|
|
14697
|
+
axisRenderer: bi.new(n, {}),
|
|
14702
14698
|
isXAxis: !1,
|
|
14703
14699
|
x: a
|
|
14704
14700
|
}), d && (d.get("renderer").grid.template.set("location", 0), d.get("renderer").ticks.template.set("location", 0), d.get("renderer").labels.template.set("location", 0)), u && (u.set("visible", !1), u.get("renderer").grid.template.set("visible", !1), u.get("renderer").ticks.template.set("visible", !1), u.get("renderer").labels.template.set("visible", !1));
|
|
@@ -14706,7 +14702,7 @@ function f0(t) {
|
|
|
14706
14702
|
}
|
|
14707
14703
|
function Vr(t) {
|
|
14708
14704
|
const { isXAxis: e, chartType: i, valueFormat: a, isAxisForHistogramOverlaySeries: o } = t;
|
|
14709
|
-
return i === y.HeatSeries || e && (
|
|
14705
|
+
return i === y.HeatSeries || e && (bo(a) || i === y.HistogramSeries && !o || i === y.BarSeries && xt(a));
|
|
14710
14706
|
}
|
|
14711
14707
|
function Af(t, e) {
|
|
14712
14708
|
return e ? `${ps}_x_${t.uid}` : `${ps}_y_${t.uid}`;
|
|
@@ -14730,7 +14726,7 @@ function m0(t) {
|
|
|
14730
14726
|
}
|
|
14731
14727
|
function g0(t) {
|
|
14732
14728
|
const { axis: e, isHorizontalAxis: i, isSecondValueAxis: a } = t, { root: o } = e, n = i ? { ...L.xAxisTitleLabel, verticalCenter: "top" } : L.yAxisTitleLabel, s = wa({ root: o, id: Af(e, i), defaults: n });
|
|
14733
|
-
return e.get("renderer") instanceof
|
|
14729
|
+
return e.get("renderer") instanceof bi && a !== !0 || e.get("renderer") instanceof vt && a === !0 ? e.children.unshift(s) : e.children.push(s), i && a !== !0 && (e.events.onDebounced(
|
|
14734
14730
|
ae.BoundsChanged,
|
|
14735
14731
|
() => Ss(e, s),
|
|
14736
14732
|
L.debounceTime
|
|
@@ -14764,7 +14760,7 @@ function Ri(t) {
|
|
|
14764
14760
|
u = a ? Ie.xField : Ie.yField;
|
|
14765
14761
|
break;
|
|
14766
14762
|
case y.HistogramSeries:
|
|
14767
|
-
u =
|
|
14763
|
+
u = no.Start;
|
|
14768
14764
|
break;
|
|
14769
14765
|
case y.BoxPlotSeries:
|
|
14770
14766
|
u = l;
|
|
@@ -14774,7 +14770,7 @@ function Ri(t) {
|
|
|
14774
14770
|
break;
|
|
14775
14771
|
}
|
|
14776
14772
|
u && (d = i.push(et.new(e, { categoryField: u, renderer: n })));
|
|
14777
|
-
} else if (
|
|
14773
|
+
} else if (ci(o))
|
|
14778
14774
|
d = i.push(Ve.new(e, { strictMinMax: !0, baseInterval: { timeUnit: "day", count: 1 }, renderer: n }));
|
|
14779
14775
|
else if (xt(o) && (d = i.push(ve.new(e, { strictMinMax: !0, renderer: n })), s && d instanceof ve)) {
|
|
14780
14776
|
const u = i.getIndex(0);
|
|
@@ -14783,10 +14779,10 @@ function Ri(t) {
|
|
|
14783
14779
|
if (d !== void 0 && !c) {
|
|
14784
14780
|
RL(d), xf(e, d);
|
|
14785
14781
|
const u = r === y.HistogramSeries || r === y.HeatSeries ? 0 : 0.1, m = r === y.HistogramSeries || r === y.HeatSeries ? 1 : 0.9;
|
|
14786
|
-
d.get("renderer").setAll({ cellStartLocation: u, cellEndLocation: m }), r === y.HeatSeries && (n instanceof vt || n instanceof
|
|
14782
|
+
d.get("renderer").setAll({ cellStartLocation: u, cellEndLocation: m }), r === y.HeatSeries && (n instanceof vt || n instanceof bi) && n.setAll({ layer: L.zIndexes.axisLineLayer }), vf(d), m0(d), Nn(d.get("renderer")) ? d.get("renderer").labels.template.set(
|
|
14787
14783
|
s ? "paddingBottom" : "paddingTop",
|
|
14788
14784
|
L.axisLabelSpacing.horizontalAxisLabelPaddingTop
|
|
14789
|
-
) : n instanceof
|
|
14785
|
+
) : n instanceof bi && d.get("renderer").labels.template.set(
|
|
14790
14786
|
s ? "paddingLeft" : "paddingRight",
|
|
14791
14787
|
L.axisLabelSpacing.verticalAxisLabelSidePadding
|
|
14792
14788
|
);
|
|
@@ -14805,7 +14801,7 @@ function h0(t) {
|
|
|
14805
14801
|
} = t;
|
|
14806
14802
|
if (i && (o || n || s || r)) {
|
|
14807
14803
|
const l = _t(i);
|
|
14808
|
-
if (
|
|
14804
|
+
if (oi(a)) {
|
|
14809
14805
|
const c = WC(e), d = i?.heatChartAxesData, u = c === Ie.xField ? d?.xAxisData : d?.yAxisData;
|
|
14810
14806
|
e.data.setAll(u ?? []);
|
|
14811
14807
|
} else
|
|
@@ -14822,7 +14818,7 @@ function p0(t) {
|
|
|
14822
14818
|
label: r,
|
|
14823
14819
|
labelType: s ? Z.XAxisTitle : Z.YAxisTitle
|
|
14824
14820
|
};
|
|
14825
|
-
|
|
14821
|
+
li(c);
|
|
14826
14822
|
}
|
|
14827
14823
|
}
|
|
14828
14824
|
}
|
|
@@ -14862,7 +14858,7 @@ function Wr(t) {
|
|
|
14862
14858
|
guides: E,
|
|
14863
14859
|
tickSpacing: V,
|
|
14864
14860
|
dateBaseInterval: H
|
|
14865
|
-
} = r, { root: Y } = e, j = z(b.series), J = ct(b), ne = Ze(b), { chart: ie } = e, _ = ie ? O(ie.uid, "config") : void 0, me = ie ? O(ie.uid, "options") : void 0, ke = gt(A), Ye = St(ke).find((
|
|
14861
|
+
} = r, { root: Y } = e, j = z(b.series), J = ct(b), ne = Ze(b), { chart: ie } = e, _ = ie ? O(ie.uid, "config") : void 0, me = ie ? O(ie.uid, "options") : void 0, ke = gt(A), Ye = St(ke).find((ko) => ko.name === _?.series?.[0]?.x), $t = Rm(Ye), Yt = ln({ chartConfig: b, queryObject: A, options: me }), Wn = la(b.series[0]) ? b.series[0].temporalBinning?.outTimeZone : void 0, ja = e.get("renderer");
|
|
14866
14862
|
Ga(e.uid, {
|
|
14867
14863
|
zeroGridLine: { displayZeroLine: M, strokeWidth: B?.width ?? L.lineWidth, visible: B !== void 0 }
|
|
14868
14864
|
}), LL({ axis: e, isLogarithmic: w, axisConfigIndex: l }), CL({
|
|
@@ -14922,11 +14918,11 @@ function b0(t) {
|
|
|
14922
14918
|
...c,
|
|
14923
14919
|
axes: e.yAxes,
|
|
14924
14920
|
valueFormat: g,
|
|
14925
|
-
axisRenderer:
|
|
14921
|
+
axisRenderer: bi.new(a, {}),
|
|
14926
14922
|
isXAxis: s,
|
|
14927
14923
|
x: n
|
|
14928
14924
|
}), r?.[2] !== void 0)) {
|
|
14929
|
-
const h = s ? vt :
|
|
14925
|
+
const h = s ? vt : bi;
|
|
14930
14926
|
Ri({
|
|
14931
14927
|
...c,
|
|
14932
14928
|
axes: s ? e.xAxes : e.yAxes,
|
|
@@ -15049,7 +15045,7 @@ function S0(t) {
|
|
|
15049
15045
|
errorStrings: b,
|
|
15050
15046
|
queryObject: S
|
|
15051
15047
|
});
|
|
15052
|
-
}),
|
|
15048
|
+
}), tn(e, s);
|
|
15053
15049
|
}
|
|
15054
15050
|
function kf(t) {
|
|
15055
15051
|
const { chart: e, chartConfig: i } = t, a = z(i.series);
|
|
@@ -15059,7 +15055,7 @@ function C0(t, e) {
|
|
|
15059
15055
|
const i = K(L.backgroundColor);
|
|
15060
15056
|
e.set(
|
|
15061
15057
|
"background",
|
|
15062
|
-
|
|
15058
|
+
Xo.new(t, {
|
|
15063
15059
|
fill: i.color,
|
|
15064
15060
|
fillOpacity: i.opacity
|
|
15065
15061
|
})
|
|
@@ -15122,7 +15118,7 @@ function v0(t) {
|
|
|
15122
15118
|
});
|
|
15123
15119
|
}
|
|
15124
15120
|
function L0(t) {
|
|
15125
|
-
const { chart: e, actionMode: i, cursorRange: a } = t, o = O(e.uid, "isRotated"), n = O(e.uid, "config"), s = z(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) &&
|
|
15121
|
+
const { chart: e, actionMode: i, cursorRange: a } = t, o = O(e.uid, "isRotated"), n = O(e.uid, "config"), s = z(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) && bo(n?.axes?.[0]?.valueFormat), d = (s === y.LineSeries || s === y.RadarSeries) && ci(n?.axes?.[0]?.valueFormat);
|
|
15126
15122
|
let u, m = !1;
|
|
15127
15123
|
const g = i ?? O(e.uid, "actionMode") ?? L.actionMode;
|
|
15128
15124
|
if (O(e.uid, "filterBySelection") === !0)
|
|
@@ -15151,7 +15147,7 @@ function F0(t, e) {
|
|
|
15151
15147
|
e !== void 0 && (e.width !== void 0 && t.set("width", wl(e.width)), e.height !== void 0 && t.set("height", wl(e.height)), e.paddingTop !== void 0 && t.set("paddingTop", e.paddingTop), e.paddingBottom !== void 0 && t.set("paddingBottom", e.paddingBottom));
|
|
15152
15148
|
}
|
|
15153
15149
|
function Cs(t) {
|
|
15154
|
-
const { root: e, defaults: i, parent: a, id: o, index: n } = t, s =
|
|
15150
|
+
const { root: e, defaults: i, parent: a, id: o, index: n } = t, s = fi.new(e, {});
|
|
15155
15151
|
return F0(s, i), a !== void 0 && a.children.insertIndex(n ?? a.children.length, s), o !== void 0 && s.set("id", o), s;
|
|
15156
15152
|
}
|
|
15157
15153
|
function xs(t, e) {
|
|
@@ -15200,7 +15196,7 @@ function $f(t, e) {
|
|
|
15200
15196
|
label: c,
|
|
15201
15197
|
labelConfig: i,
|
|
15202
15198
|
defaults: L.titleLabel
|
|
15203
|
-
}),
|
|
15199
|
+
}), li({
|
|
15204
15200
|
chart: t,
|
|
15205
15201
|
label: c,
|
|
15206
15202
|
labelType: Z.ChartTitle
|
|
@@ -15214,7 +15210,7 @@ function $f(t, e) {
|
|
|
15214
15210
|
label: c,
|
|
15215
15211
|
labelConfig: a,
|
|
15216
15212
|
defaults: L.subtitleLabel
|
|
15217
|
-
}),
|
|
15213
|
+
}), li({
|
|
15218
15214
|
chart: t,
|
|
15219
15215
|
label: c,
|
|
15220
15216
|
labelType: Z.ChartSubTitle
|
|
@@ -15249,7 +15245,7 @@ function Rf(t, e) {
|
|
|
15249
15245
|
label: a,
|
|
15250
15246
|
labelConfig: e,
|
|
15251
15247
|
defaults: L.footer
|
|
15252
|
-
}),
|
|
15248
|
+
}), li({
|
|
15253
15249
|
chart: t,
|
|
15254
15250
|
label: a,
|
|
15255
15251
|
labelType: Z.ChartFooter
|
|
@@ -15364,7 +15360,7 @@ function $0(t) {
|
|
|
15364
15360
|
}), b.columns.template.set("width", Je(100)), Nr(b), Mu(b, s?.tooltipFormatter), rf(b), Ua(b, i), b.appear(), b;
|
|
15365
15361
|
}
|
|
15366
15362
|
function R0(t) {
|
|
15367
|
-
const { series: e, seriesConfig: i, seriesIndex: a, numberOfSeries: o, chartSubType: n, colorMatch: s, rendererType: r } = t, l = e.root, c =
|
|
15363
|
+
const { series: e, seriesConfig: i, seriesIndex: a, numberOfSeries: o, chartSubType: n, colorMatch: s, rendererType: r } = t, l = e.root, c = Fo(e), d = /* @__PURE__ */ new Set();
|
|
15368
15364
|
let u, m;
|
|
15369
15365
|
const g = i.fillSymbol, h = {
|
|
15370
15366
|
root: l,
|
|
@@ -15578,7 +15574,7 @@ function P0(t) {
|
|
|
15578
15574
|
chartSubType: c,
|
|
15579
15575
|
splitBy: d,
|
|
15580
15576
|
showOutliers: o,
|
|
15581
|
-
standardizeValues:
|
|
15577
|
+
standardizeValues: ao(c) ? n : !1
|
|
15582
15578
|
}, m = Pn({
|
|
15583
15579
|
chartConfig: e,
|
|
15584
15580
|
seriesConfig: i,
|
|
@@ -15699,7 +15695,7 @@ function H0(t) {
|
|
|
15699
15695
|
chartSubType: a,
|
|
15700
15696
|
splitBy: r,
|
|
15701
15697
|
showOutliers: o,
|
|
15702
|
-
standardizeValues:
|
|
15698
|
+
standardizeValues: ao(a) ? n : !1,
|
|
15703
15699
|
key: ee.Average
|
|
15704
15700
|
});
|
|
15705
15701
|
return c.properties.value = d, c;
|
|
@@ -15773,7 +15769,7 @@ function Z0(t) {
|
|
|
15773
15769
|
if (oe(e.uid, "bulletTemplate") && a.type === y.BoxPlotSeries) {
|
|
15774
15770
|
const l = a.fillSymbol, c = {
|
|
15775
15771
|
type: Q.SMS,
|
|
15776
|
-
style:
|
|
15772
|
+
style: Ho.Circle,
|
|
15777
15773
|
color: l?.color,
|
|
15778
15774
|
size: L.boxPlot.boxPlotOutliersSize
|
|
15779
15775
|
};
|
|
@@ -15937,7 +15933,7 @@ function Pn(t) {
|
|
|
15937
15933
|
chartSubType: l,
|
|
15938
15934
|
splitBy: u,
|
|
15939
15935
|
showOutliers: n,
|
|
15940
|
-
standardizeValues:
|
|
15936
|
+
standardizeValues: ao(l) ? s : !1
|
|
15941
15937
|
}, g = l === W.BoxPlotMonoField || l === W.BoxPlotMultiFields || l === W.BoxPlotMonoFieldAndSplitBy || l === W.BoxPlotMultiFieldsAndSplitBy ? js : c;
|
|
15942
15938
|
return {
|
|
15943
15939
|
dataFields: {
|
|
@@ -16248,7 +16244,7 @@ function mF(t) {
|
|
|
16248
16244
|
{
|
|
16249
16245
|
role: L.aria.defaultChartItemRole,
|
|
16250
16246
|
// assigning role to bullets
|
|
16251
|
-
ariaLabel:
|
|
16247
|
+
ariaLabel: Eo(),
|
|
16252
16248
|
// adding aria label to bullets
|
|
16253
16249
|
hoverOnFocus: !0,
|
|
16254
16250
|
// necessary for tooltip to show on focus
|
|
@@ -16825,7 +16821,7 @@ function zr(t) {
|
|
|
16825
16821
|
const g = i.series[m], { assignToSecondValueAxis: h, type: p } = g, b = e instanceof Se ? dL({ chart: e, chartType: c, rotated: r, assignToSecondValueAxis: h }) : void 0, { xAxis: S, xAxisForHistogramOverlaySeries: C, yAxis: x } = b ?? {};
|
|
16826
16822
|
switch (!0) {
|
|
16827
16823
|
case p === y.HeatSeries: {
|
|
16828
|
-
|
|
16824
|
+
ni(n), S && x && u.push(
|
|
16829
16825
|
Hx({
|
|
16830
16826
|
...d,
|
|
16831
16827
|
queryObject: n,
|
|
@@ -16972,7 +16968,7 @@ function Vn(t) {
|
|
|
16972
16968
|
const me = ie.type;
|
|
16973
16969
|
switch (!0) {
|
|
16974
16970
|
case D === y.HeatSeries: {
|
|
16975
|
-
_ instanceof De && e instanceof Se &&
|
|
16971
|
+
_ instanceof De && e instanceof Se && oi(i) && Ux({
|
|
16976
16972
|
...J,
|
|
16977
16973
|
series: _,
|
|
16978
16974
|
data: o,
|
|
@@ -17077,20 +17073,20 @@ function PF(t) {
|
|
|
17077
17073
|
Fi(t) || t.dataItems.forEach((e) => {
|
|
17078
17074
|
const i = e.bullets?.[0];
|
|
17079
17075
|
if (i) {
|
|
17080
|
-
const a = i.get("sprite"), o =
|
|
17076
|
+
const a = i.get("sprite"), o = di(a.uid, "selected") !== !0;
|
|
17081
17077
|
ot({ element: a, selected: o });
|
|
17082
17078
|
}
|
|
17083
17079
|
});
|
|
17084
17080
|
}
|
|
17085
17081
|
function VF(t) {
|
|
17086
17082
|
t.columns.each((e) => {
|
|
17087
|
-
const i =
|
|
17083
|
+
const i = di(e.uid, "selected") !== !0;
|
|
17088
17084
|
ot({ element: e, selected: i });
|
|
17089
17085
|
});
|
|
17090
17086
|
}
|
|
17091
17087
|
function WF(t) {
|
|
17092
17088
|
t.slices.each((e) => {
|
|
17093
|
-
const i =
|
|
17089
|
+
const i = di(e.uid, "selected") !== !0;
|
|
17094
17090
|
ot({ element: e, selected: i });
|
|
17095
17091
|
});
|
|
17096
17092
|
}
|
|
@@ -17175,7 +17171,7 @@ function GF(t) {
|
|
|
17175
17171
|
t.dispose();
|
|
17176
17172
|
}
|
|
17177
17173
|
function XF(t) {
|
|
17178
|
-
const { chart: e, chartContainer: i, chartLocale: a } = t, { root: o } = e, { t9nLocale: n } = Ma(i ?? document.documentElement), s =
|
|
17174
|
+
const { chart: e, chartContainer: i, chartLocale: a } = t, { root: o } = e, { t9nLocale: n } = Ma(i ?? document.documentElement), s = po(i ?? document.documentElement);
|
|
17179
17175
|
o.locale = a, Be(e.uid, {
|
|
17180
17176
|
locale: n,
|
|
17181
17177
|
formatLocale: s,
|
|
@@ -17380,13 +17376,13 @@ function qF(t) {
|
|
|
17380
17376
|
colorMatchApplied: m,
|
|
17381
17377
|
rendererFieldNames: g
|
|
17382
17378
|
});
|
|
17383
|
-
const w = St(b, k), B = Mm(T, s), R = Bc(T, s), M = Sc(T, s), N = Nm(T, s), E = zF(T, s), V = JSON.stringify(
|
|
17379
|
+
const w = St(b, k), B = Mm(T, s), R = Bc(T, s), M = Sc(T, s), N = Nm(T, s), E = zF(T, s), V = JSON.stringify(zo(T.series)) !== JSON.stringify(zo(s.series)), H = Os(T, s), Y = Pm(T, s), j = Rc(T, s), J = Vm(T, s), ne = Wm(T, s), ie = cn({
|
|
17384
17380
|
oldConfig: d ? h : T,
|
|
17385
17381
|
newConfig: s,
|
|
17386
17382
|
dataWasUpdated: l
|
|
17387
17383
|
});
|
|
17388
17384
|
let _ = !1, me = !1, ke = !1, Oe = !1;
|
|
17389
|
-
|
|
17385
|
+
oi(T) && oi(s) && (_ = Em(T, s), me = zm(T, s), ke = Hm(T, s) || Gm(T, s) || _, Oe = Xm(T, s));
|
|
17390
17386
|
const Ye = Mc({
|
|
17391
17387
|
oldConfig: T,
|
|
17392
17388
|
newConfig: s,
|
|
@@ -17405,9 +17401,9 @@ function qF(t) {
|
|
|
17405
17401
|
const Wn = e instanceof Zt ? ar(
|
|
17406
17402
|
$t,
|
|
17407
17403
|
Yt
|
|
17408
|
-
) : !1, ja = yc({ oldConfig: T, newConfig: s }),
|
|
17404
|
+
) : !1, ja = yc({ oldConfig: T, newConfig: s }), ko = /* @__PURE__ */ new Map();
|
|
17409
17405
|
switch ((h ?? s).series.forEach((En, zn) => {
|
|
17410
|
-
|
|
17406
|
+
ko.set(En.id, zn);
|
|
17411
17407
|
}), If(e, s.background), $f(e, { title: s.title, subtitle: s.subtitle }), Rf(e, s.footer), wf({
|
|
17412
17408
|
root: A,
|
|
17413
17409
|
chart: e,
|
|
@@ -17417,7 +17413,7 @@ function qF(t) {
|
|
|
17417
17413
|
errorStrings: v
|
|
17418
17414
|
}), z(s.series)) {
|
|
17419
17415
|
case y.PieSeries: {
|
|
17420
|
-
e instanceof Zt && (
|
|
17416
|
+
e instanceof Zt && (ni(b), _F({
|
|
17421
17417
|
chart: e,
|
|
17422
17418
|
chartConfig: s,
|
|
17423
17419
|
options: r,
|
|
@@ -17452,7 +17448,7 @@ function qF(t) {
|
|
|
17452
17448
|
options: r,
|
|
17453
17449
|
data: C,
|
|
17454
17450
|
dataWasUpdated: l,
|
|
17455
|
-
seriesIndexMapper:
|
|
17451
|
+
seriesIndexMapper: ko,
|
|
17456
17452
|
dataUpdateDetails: c,
|
|
17457
17453
|
seriesFilteredOut: d,
|
|
17458
17454
|
heatChartHideEmptyRowsAndColumnsChanged: Oe,
|
|
@@ -17619,7 +17615,7 @@ function QF(t) {
|
|
|
17619
17615
|
utilsStrings: g,
|
|
17620
17616
|
errorStrings: m,
|
|
17621
17617
|
gaugeMinMaxFromData: C
|
|
17622
|
-
}) : v instanceof Zt && p && "dataItems" in p && (
|
|
17618
|
+
}) : v instanceof Zt && p && "dataItems" in p && (ni(c), ZF({
|
|
17623
17619
|
chart: v,
|
|
17624
17620
|
data: p,
|
|
17625
17621
|
chartConfig: i,
|
|
@@ -17759,7 +17755,7 @@ function rA(t) {
|
|
|
17759
17755
|
}
|
|
17760
17756
|
function lA(t) {
|
|
17761
17757
|
const { config: e, themeColors: i } = t;
|
|
17762
|
-
if (
|
|
17758
|
+
if (Bo(e) && i.textColor) {
|
|
17763
17759
|
const a = ka().toString();
|
|
17764
17760
|
e.axes?.forEach((o) => {
|
|
17765
17761
|
o.innerLabel?.content && (!o.innerLabel.content.color || o.innerLabel.content.color.toString() === a) && (o.innerLabel.content.color = i.textColor), o.needle?.symbol && (!o.needle.symbol.color || o.needle.symbol.color.toString() === a) && (o.needle.symbol.color = i.textColor);
|
|
@@ -17768,7 +17764,7 @@ function lA(t) {
|
|
|
17768
17764
|
}
|
|
17769
17765
|
function cA(t) {
|
|
17770
17766
|
const { config: e, themeColors: i } = t;
|
|
17771
|
-
|
|
17767
|
+
oi(e) && i.lineColor && e.series.forEach((a) => {
|
|
17772
17768
|
a.gridLine && !a.gridLine.color && (a.gridLine.color = i.lineColor);
|
|
17773
17769
|
});
|
|
17774
17770
|
}
|
|
@@ -17801,7 +17797,7 @@ function mA(t) {
|
|
|
17801
17797
|
i = Mt.watch(
|
|
17802
17798
|
() => a.renderer,
|
|
17803
17799
|
() => {
|
|
17804
|
-
const { model: o } = t, n =
|
|
17800
|
+
const { model: o } = t, n = ui(o) ? o.config : o;
|
|
17805
17801
|
if (Hi(n) && t.layerRendererChangePolicy === td.Refresh) {
|
|
17806
17802
|
const s = uA();
|
|
17807
17803
|
t.refresh({ updateData: s });
|
|
@@ -17812,7 +17808,7 @@ function mA(t) {
|
|
|
17812
17808
|
return i;
|
|
17813
17809
|
}
|
|
17814
17810
|
async function gA(t) {
|
|
17815
|
-
const { view: e, layer: i, model: a, filterByExtent: o, filterByViewExtent: n } = t, s =
|
|
17811
|
+
const { view: e, layer: i, model: a, filterByExtent: o, filterByViewExtent: n } = t, s = ui(a) ? a.config : a;
|
|
17816
17812
|
let r;
|
|
17817
17813
|
if (e && s) {
|
|
17818
17814
|
const l = await Wc({
|
|
@@ -17838,14 +17834,14 @@ function hA(t) {
|
|
|
17838
17834
|
return e && (i = Mt.watch(
|
|
17839
17835
|
() => e.timeExtent,
|
|
17840
17836
|
() => {
|
|
17841
|
-
const { model: a } = t, o =
|
|
17837
|
+
const { model: a } = t, o = ui(a) ? a.config : a, n = z(o?.series);
|
|
17842
17838
|
(t.viewTimeExtentChangePolicy === ad.Refresh || t.syncViewTimeExtent) && n !== y.HistogramSeries && t.refresh({ updateData: !0 });
|
|
17843
17839
|
}
|
|
17844
17840
|
)), i;
|
|
17845
17841
|
}
|
|
17846
|
-
function
|
|
17842
|
+
function No(t) {
|
|
17847
17843
|
const { syncViewTimeZone: e, syncViewTimeZoneInclusionList: i, chartConfig: a } = t, o = z(a?.series);
|
|
17848
|
-
return (e || (o && i.includes(o)) === !0) && (
|
|
17844
|
+
return (e || (o && i.includes(o)) === !0) && (oi(a) || la(a?.series[0]) && a.axes?.[0].valueFormat?.type === y.DateAxisFormat);
|
|
17849
17845
|
}
|
|
17850
17846
|
function pA(t) {
|
|
17851
17847
|
const { view: e, syncViewTimeZone: i, syncViewTimeZoneInclusionList: a } = t;
|
|
@@ -17853,8 +17849,8 @@ function pA(t) {
|
|
|
17853
17849
|
return e && "timeZone" in e && (o = Mt.watch(
|
|
17854
17850
|
() => e.timeZone,
|
|
17855
17851
|
() => {
|
|
17856
|
-
const { model: n } = t, s =
|
|
17857
|
-
|
|
17852
|
+
const { model: n } = t, s = ui(n) ? n.config : n;
|
|
17853
|
+
No({ syncViewTimeZone: i, syncViewTimeZoneInclusionList: a, chartConfig: s }) && (t.timeZone = e.timeZone, t.refresh({ updateData: !0 }));
|
|
17858
17854
|
}
|
|
17859
17855
|
)), o;
|
|
17860
17856
|
}
|
|
@@ -18329,7 +18325,7 @@ class TA extends Xf {
|
|
|
18329
18325
|
chartLimits: m,
|
|
18330
18326
|
errorStrings: g
|
|
18331
18327
|
});
|
|
18332
|
-
return this._alteredConfig = k, this.model && k && !
|
|
18328
|
+
return JSON.stringify(this._alteredConfig) !== JSON.stringify(k) && (this._alteredConfig = k, this.model && k && !ui(this.model) && (this.model.series = k.series)), T;
|
|
18333
18329
|
},
|
|
18334
18330
|
onComplete: () => {
|
|
18335
18331
|
this.taskCompletionTick++;
|
|
@@ -18394,7 +18390,7 @@ class TA extends Xf {
|
|
|
18394
18390
|
let k;
|
|
18395
18391
|
const { dataUpdateNeeded: T, dataUpdateDetails: I } = v ?? {};
|
|
18396
18392
|
if (T && e && C && !ji(e)) {
|
|
18397
|
-
const D = St(C, o || n), w =
|
|
18393
|
+
const D = St(C, o || n), w = No({
|
|
18398
18394
|
syncViewTimeZone: b,
|
|
18399
18395
|
syncViewTimeZoneInclusionList: S,
|
|
18400
18396
|
chartConfig: e
|
|
@@ -18436,7 +18432,7 @@ class TA extends Xf {
|
|
|
18436
18432
|
line: "--calcite-color-border-1",
|
|
18437
18433
|
secondaryLine: "--calcite-color-text-3",
|
|
18438
18434
|
spinner: "--calcite-color-brand-hover"
|
|
18439
|
-
}, this.allowUsingObjectIdStat = !1, this.nullAsValid = !1, this.hideUIMessages = !1, this.showEmptySeries = !1, this.autoInverseDataLabelTextColor = !1, this.hideZeroCountCategories = !1, this.ignoreSmoothRenderingLimit = !1, this.returnSelectionIndexes = !1, this.returnFeaturesExtent = !1, this.filterBySelection = !1, this.skipChartCreationQueue = !1, this.useAnimatedCharts = !1, this.showLicenseWatermark = !1, this.enableResponsiveFeatures = !1, this.autoDisposeChart = !1, this.setTimeBinningInfoWhenNotProvided = !1, this.errorPolicy =
|
|
18435
|
+
}, this.allowUsingObjectIdStat = !1, this.nullAsValid = !1, this.hideUIMessages = !1, this.showEmptySeries = !1, this.autoInverseDataLabelTextColor = !1, this.hideZeroCountCategories = !1, this.ignoreSmoothRenderingLimit = !1, this.returnSelectionIndexes = !1, this.returnFeaturesExtent = !1, this.filterBySelection = !1, this.skipChartCreationQueue = !1, this.useAnimatedCharts = !1, this.showLicenseWatermark = !1, this.enableResponsiveFeatures = !1, this.autoDisposeChart = !1, this.setTimeBinningInfoWhenNotProvided = !1, this.errorPolicy = Io.Throw, this.disableTogglingLegendItems = !1, this.hideLoaderAnimation = !1, this.usePopupTemplateFieldsInfo = !1, this.syncViewTimeZoneInclusionList = [y.HeatSeries], this.syncViewTimeZone = !1, this.layerFilterChangePolicy = ed.Refresh, this.viewTimeExtentChangePolicy = ad.Ignore, this.syncViewTimeExtent = !1, this.layerRendererChangePolicy = td.Refresh, this.layerFieldsChangePolicy = id.Refresh, this.syncSelectionsBetweenChartAndLayerViewPolicy = Ka.Disabled, this.syncViewSelection = !1, this.syncSelection = !1, this.syncChartsSelection = !1, this.ignoreViewExtent = !1, this.autoDestroyDisabled = !1, this.arcgisAxesMinMaxChange = dt(), this.arcgisBadDataWarningRaise = dt(), this.arcgisChartNotFoundWarning = dt(), this.arcgisConfigChange = dt(), this.arcgisDataFetchComplete = dt(), this.arcgisDataProcessComplete = dt(), this.arcgisDataProcessError = dt(), this.arcgisInvalidConfigWarningRaise = dt(), this.arcgisLegendItemVisibilityChange = dt(), this.arcgisNoRenderPropChange = dt(), this.arcgisRenderingComplete = dt(), this.arcgisRuntimeError = dt(), this.arcgisSelectionComplete = dt(), this.arcgisSeriesColorChange = dt(), this.arcgisSeriesOrder = dt(), this.arcgisUpdateComplete = dt(), this.listen("arcgisChartsJSLegendItemVisibilityChange", this.handleLegendItemVisibilityChanged), this.listen("arcgisChartsJSInvalidConfigWarningRaise", this.handleInvalidConfigWarningRaise), this.listen("arcgisChartsJSSeriesColorChange", this.handleSeriesColorsChange), this.listen("arcgisChartsJSSelectionComplete", this.handleSelection), this.listen("arcgisChartsJSTooManySelectedElements", this.handleTooManySelectedElements), this.listen("calciteAlertClose", this.handleAlertClosed), this.listen("arcgisChartsJSAxesMinMaxChange", this.handleAxesMinMaxChange), this.listen("arcgisChartsJSSeriesOrder", this.handleSeriesOrder), this.listen("arcgisChartsJSRenderingComplete", this.handleRenderingComplete), this.addConfigListeners(), this.listenOn(document, "arcgisSelectionComplete", this.handleExternalSelection);
|
|
18440
18436
|
}
|
|
18441
18437
|
static {
|
|
18442
18438
|
this.properties = { _alteredConfig: 16, forceDataUpdateTick: 16, taskCompletionTick: 16, infoModalMessage: 16, notifyMessage: 16, showLoader: 16, config: 16, enableBetaFeatures: 5, model: 0, enableConfiguration: 5, configurationEnabled: 5, calciteThemingCSSVariables: 0, rotation: [5, { hasChanged: () => !1 }], rotated: [5, { hasChanged: () => !1 }], actionMode: 1, cursorRange: 1, legendPosition: [1, { hasChanged: () => !1 }], legendVisibility: [5, { hasChanged: () => !1 }], allowUsingObjectIdStat: 5, nullAsValid: 5, showUIMessages: 5, hideUIMessages: 5, hideEmptySeries: 5, showEmptySeries: 5, autoInverseDataLabelTextColor: 5, replaceNoValueCategoryWithZero: 5, hideZeroCountCategories: 5, ignoreSmoothRenderingLimit: 5, chartWillRender: 0, legendValueLabelFormatter: 0, timeZone: 1, view: [0, { hasChanged: () => !1 }], layer: 0, layerItemId: 1, chartIndex: 9, selectionData: 0, returnSelectionOIDs: 5, returnSelectionIndexes: 5, returnFeaturesExtent: 5, filterBySelection: 5, filterByExtent: [5, { hasChanged: () => !1 }], filterByViewExtent: [5, { hasChanged: () => !1 }], disableInteractions: [5, { hasChanged: () => !1 }], interactionsDisabled: [5, { hasChanged: () => !1 }], queueChartCreation: 5, skipChartCreationQueue: 5, useAnimatedCharts: 5, animationEnabled: 5, hideLicenseWatermark: 5, showLicenseWatermark: 5, enableResponsiveFeatures: 5, autoDisposeChart: 5, featureIndex: [9, { hasChanged: () => !1 }], placeholder: 1, selectionTheme: 0, setTimeBinningInfoWhenNotProvided: 5, chartLimits: 0, aria: 0, tooltipFormatter: 0, dataLabelFormatter: 0, guideTooltipFormatter: 0, xAxisLabelFormatter: 0, yAxisLabelFormatter: 0, secondaryYAxisLabelFormatter: 0, gaugeInnerLabelFormatter: 0, errorPolicy: 1, disableTogglingLegendItems: 5, togglingLegendItemsDisabled: 5, hideLoaderAnimation: 5, loaderColors: 0, runtimeDataFilters: 0, usePopupTemplateFieldsInfo: 5, syncViewTimeZoneInclusionList: 0, syncViewTimeZone: 5, popupTemplateFieldInfosEnabled: 5, layerFilterChangePolicy: 1, viewTimeExtentChangePolicy: 1, syncViewTimeExtent: 5, layerRendererChangePolicy: 1, layerFieldsChangePolicy: 1, syncSelectionsBetweenChartAndLayerViewPolicy: 1, syncViewSelection: 5, syncSelection: 5, syncChartsSelection: 5, ignoreViewExtent: 5, updateSplitBySeries: 0, messageOverrides: 0, autoDestroyDisabled: 5, selectionManager: 0 };
|
|
@@ -18520,7 +18516,7 @@ class TA extends Xf {
|
|
|
18520
18516
|
this.chart?.dispose();
|
|
18521
18517
|
}
|
|
18522
18518
|
async errorAlert(e) {
|
|
18523
|
-
this.errorPolicy ===
|
|
18519
|
+
this.errorPolicy === Io.Throw && (this.actionBarElement && (this.actionBarElement.forceDisableActions = !0), this.notify(e, this.commonStrings?.errorStrings.errorHeading));
|
|
18524
18520
|
}
|
|
18525
18521
|
async exportAsCSV(e) {
|
|
18526
18522
|
const i = vg(this.config) || Ke(this.layer);
|
|
@@ -18531,7 +18527,7 @@ class TA extends Xf {
|
|
|
18531
18527
|
secondaryYAxisLabelFormatter: this.secondaryYAxisLabelFormatter
|
|
18532
18528
|
};
|
|
18533
18529
|
if (this.sanitizedChartData && !i) {
|
|
18534
|
-
const s = await this._loadQueryObject.taskComplete, r = s ? St(s, this.usePopupTemplateFieldsInfo || this.popupTemplateFieldInfosEnabled) : void 0, l =
|
|
18530
|
+
const s = await this._loadQueryObject.taskComplete, r = s ? St(s, this.usePopupTemplateFieldsInfo || this.popupTemplateFieldInfosEnabled) : void 0, l = ui(this.model) ? this.model.titleText : this.config?.title?.content?.text ?? this.commonStrings.utilsStrings.chartType.chart;
|
|
18535
18531
|
if (Object.values(this.sanitizedChartData).filter((d) => Array.isArray(d) && d.length > 0).length > 1) {
|
|
18536
18532
|
const d = new Kf();
|
|
18537
18533
|
Object.entries(this.sanitizedChartData).forEach(([m, g]) => {
|
|
@@ -18629,7 +18625,7 @@ class TA extends Xf {
|
|
|
18629
18625
|
}
|
|
18630
18626
|
}
|
|
18631
18627
|
synchronizeModelConfig() {
|
|
18632
|
-
this._config && (
|
|
18628
|
+
this._config && (ui(this.model) ? this.model.config = we(this._config) : JSON.stringify(this._config) !== JSON.stringify(this.model) && (this.model = we(this._config)));
|
|
18633
18629
|
}
|
|
18634
18630
|
isAnyTaskPending() {
|
|
18635
18631
|
return [
|
|
@@ -18747,7 +18743,7 @@ class TA extends Xf {
|
|
|
18747
18743
|
o && (o = Qm(o, this.config?.series), o = o.map(Jm), o = eg(o, this.config?.series), a.selectionItems = o), Bt(a, this.selectionData) || (this.selectionData = a, this.arcgisSelectionComplete.emit({ selectionData: a, model: this._model }));
|
|
18748
18744
|
}
|
|
18749
18745
|
handleTooManySelectedElements() {
|
|
18750
|
-
this.errorPolicy ===
|
|
18746
|
+
this.errorPolicy === Io.Throw && (this.infoModalHeading = this.commonStrings?.errorStrings.tooManySelectedElements?.title, this.infoModalMessage = this.commonStrings?.errorStrings.tooManySelectedElements?.message, this.notifyOptions = {
|
|
18751
18747
|
kind: "warning",
|
|
18752
18748
|
autoClose: !0,
|
|
18753
18749
|
duration: "fast",
|
|
@@ -18764,7 +18760,7 @@ class TA extends Xf {
|
|
|
18764
18760
|
this.arcgisSeriesOrder.emit(e.detail);
|
|
18765
18761
|
}
|
|
18766
18762
|
modelChange() {
|
|
18767
|
-
if (
|
|
18763
|
+
if (ui(this.model)) {
|
|
18768
18764
|
this._model = this.model, this.config = we(this._model?.config);
|
|
18769
18765
|
const e = this._model?.layer;
|
|
18770
18766
|
!this.layerItemId && e && (this.layer = e), this.addModelListeners(), this._model.asyncUpdatesPromise.then(() => {
|
|
@@ -18916,7 +18912,7 @@ class TA extends Xf {
|
|
|
18916
18912
|
}
|
|
18917
18913
|
checkForIncompatibleChartVersion() {
|
|
18918
18914
|
const e = this.config?.version;
|
|
18919
|
-
this.errorPolicy ===
|
|
18915
|
+
this.errorPolicy === Io.Throw && tg(e).versionStatus === mm.Newer && (this.notifyHeading = this.commonStrings?.errorStrings.incompatibleChartVersion?.title, this.notifyMessage = this.commonStrings?.errorStrings.incompatibleChartVersion?.message ? Ki(this.commonStrings?.errorStrings.incompatibleChartVersion?.message, {
|
|
18920
18916
|
chartVersion: e ?? ""
|
|
18921
18917
|
}) : "", this.notifyOptions = {
|
|
18922
18918
|
kind: "warning",
|
|
@@ -18956,7 +18952,7 @@ class TA extends Xf {
|
|
|
18956
18952
|
syncViewTimeExtent: this.syncViewTimeExtent
|
|
18957
18953
|
}), a = this.filterByExtent || this.filterByViewExtent;
|
|
18958
18954
|
let o;
|
|
18959
|
-
const n =
|
|
18955
|
+
const n = ui(this.model) ? this.model.config : this.model;
|
|
18960
18956
|
if (Ke(this.layer))
|
|
18961
18957
|
o = a ? this.view : void 0;
|
|
18962
18958
|
else {
|
|
@@ -18999,7 +18995,7 @@ class TA extends Xf {
|
|
|
18999
18995
|
ignoreSmoothRenderingLimit: this.ignoreSmoothRenderingLimit,
|
|
19000
18996
|
chartWillRender: this.chartWillRender,
|
|
19001
18997
|
pieChartLegendValueLabelFormatter: this.legendValueLabelFormatter,
|
|
19002
|
-
syncViewTimeZone:
|
|
18998
|
+
syncViewTimeZone: No({
|
|
19003
18999
|
syncViewTimeZone: this.syncViewTimeZone,
|
|
19004
19000
|
syncViewTimeZoneInclusionList: this.syncViewTimeZoneInclusionList,
|
|
19005
19001
|
chartConfig: n
|
|
@@ -19037,14 +19033,14 @@ class TA extends Xf {
|
|
|
19037
19033
|
seriesConfig: this.config.series[0],
|
|
19038
19034
|
xAxisValueFormatType: ag(this.config),
|
|
19039
19035
|
queryObject: a
|
|
19040
|
-
}), s =
|
|
19036
|
+
}), s = Bo(this.config) && oo(this.config), r = og({
|
|
19041
19037
|
invalidType: e,
|
|
19042
19038
|
elementCount: i,
|
|
19043
19039
|
seriesCount: this.config?.series?.length,
|
|
19044
19040
|
chartLimits: o?.chartLimits,
|
|
19045
19041
|
filterBySelection: o?.filterBySelection,
|
|
19046
19042
|
queryObject: a,
|
|
19047
|
-
formatLocale:
|
|
19043
|
+
formatLocale: po(this.el),
|
|
19048
19044
|
isTemporalChart: n,
|
|
19049
19045
|
isGaugeChartByFeature: s,
|
|
19050
19046
|
errorStrings: this.commonStrings?.errorStrings
|
|
@@ -19097,7 +19093,7 @@ class TA extends Xf {
|
|
|
19097
19093
|
if (i || e.size > 0) {
|
|
19098
19094
|
if (this.checkForInvalidContainer(), i) {
|
|
19099
19095
|
const o = this.view && "timeZone" in this.view && this.view.timeZone ? this.view.timeZone : void 0;
|
|
19100
|
-
(this.timeZone ||
|
|
19096
|
+
(this.timeZone || No({
|
|
19101
19097
|
syncViewTimeZone: this.syncViewTimeZone,
|
|
19102
19098
|
syncViewTimeZoneInclusionList: this.syncViewTimeZoneInclusionList,
|
|
19103
19099
|
chartConfig: this._config
|
|
@@ -19241,7 +19237,7 @@ class TA extends Xf {
|
|
|
19241
19237
|
}
|
|
19242
19238
|
this.hideInfoModal();
|
|
19243
19239
|
const { t9nLocale: R } = Ma(this.chartRef.value ?? document.documentElement), M = await LA(R, this.useAmCharts5()), N = c.series?.[0]?.query;
|
|
19244
|
-
|
|
19240
|
+
Bo(c) && N && (h.gaugeMinMaxFromData = await lg({
|
|
19245
19241
|
queryObject: a,
|
|
19246
19242
|
chartConfig: c,
|
|
19247
19243
|
queryConfig: N,
|
|
@@ -19289,7 +19285,7 @@ class TA extends Xf {
|
|
|
19289
19285
|
this.chart = H(V);
|
|
19290
19286
|
} else
|
|
19291
19287
|
this.chart?.update(V), this.handleUpdateCompleted(u);
|
|
19292
|
-
if (
|
|
19288
|
+
if (Bo(c) && oo(c) && c.series[0].type === y.GaugeSeries) {
|
|
19293
19289
|
const H = h?.data && "dataItems" in h.data ? h.data.dataItems : [], Y = yr({
|
|
19294
19290
|
featureIndex: c.series[0].featureIndex,
|
|
19295
19291
|
chartData: H,
|