@arcgis/charts-components 5.2.0-next.127 → 5.2.0-next.128
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/{RCUNGWMS.js → 252LEJ7U.js} +1 -1
- package/dist/cdn/{IYWKTFGB.js → 26WEYDNB.js} +1 -1
- package/dist/cdn/{TAH7RJAD.js → 2ISGHAUI.js} +1 -1
- package/dist/cdn/{J2QFNFBN.js → 2ISUP2EC.js} +1 -1
- package/dist/cdn/{UUI4JRAP.js → 2ZAC3R6J.js} +1 -1
- package/dist/cdn/{A7F727QE.js → 4KJXVTKT.js} +1 -1
- package/dist/cdn/{7O2ABH2O.js → 4NRY2KO2.js} +1 -1
- package/dist/cdn/{IMB2RGHX.js → 56CO5V5Y.js} +1 -1
- package/dist/cdn/{I45GQK3M.js → 5A75STHJ.js} +1 -1
- package/dist/cdn/{CFR5LTRT.js → 5DI4FWSJ.js} +1 -1
- package/dist/cdn/{O6FFCCEN.js → 5J5N5EH4.js} +1 -1
- package/dist/cdn/{RKUYNM5K.js → 5Z5C5L7O.js} +1 -1
- package/dist/cdn/{ZOXCNZCT.js → 6AUVDB2X.js} +1 -1
- package/dist/cdn/{K56BTXNK.js → 6K25LYBM.js} +1 -1
- package/dist/cdn/{5SHZ5RBA.js → 6SLQ6E2L.js} +1 -1
- package/dist/cdn/{V2D3WUU5.js → 6WUMG4P2.js} +1 -1
- package/dist/cdn/{OQJS4S7W.js → A6IGTXFA.js} +1 -1
- package/dist/cdn/{KVKWGTCH.js → AA7OBKIP.js} +1 -1
- package/dist/cdn/{Y62HYU6W.js → C7BCDEO7.js} +1 -1
- package/dist/cdn/{YWPZICTG.js → CDTABNYS.js} +1 -1
- package/dist/cdn/{EWO4KNLN.js → CFDZTXBV.js} +1 -1
- package/dist/cdn/{A4BJ3NJD.js → CHMEYQRU.js} +1 -1
- package/dist/cdn/{CSDFCGJY.js → CTV66EX6.js} +1 -1
- package/dist/cdn/{CLA5QG6H.js → CYEBSDUO.js} +1 -1
- package/dist/cdn/{YIG6OTNW.js → E2M4D7OW.js} +1 -1
- package/dist/cdn/{FZNCVGVR.js → E346UZ4Y.js} +1 -1
- package/dist/cdn/{7TPUUEPX.js → E4HQCLE5.js} +1 -1
- package/dist/cdn/{T4455CTF.js → EYH2BIAD.js} +1 -1
- package/dist/cdn/{AIXWFRR4.js → FCA7RGLN.js} +18 -18
- package/dist/cdn/{EYU2FEWB.js → G5YKCSBP.js} +1 -1
- package/dist/cdn/{DA2DRI66.js → G65D4QU4.js} +1 -1
- package/dist/cdn/{LFYVQQCR.js → GOTXZDTB.js} +1 -1
- package/dist/cdn/{BTIQHZCI.js → GQRUVGUK.js} +1 -1
- package/dist/cdn/{DJI3JWXH.js → H56BSQEW.js} +1 -1
- package/dist/cdn/{AGQVZOVL.js → HJE3XLSD.js} +1 -1
- package/dist/cdn/{664RSE7L.js → HTZY6BFK.js} +1 -1
- package/dist/cdn/{PPRYBWCL.js → IL2XQ7JA.js} +1 -1
- package/dist/cdn/JRLMTZJ6.js +3 -0
- package/dist/cdn/{E7IR37BS.js → JTLT34BE.js} +1 -1
- package/dist/cdn/{Y2C4JNPJ.js → KFTX2TQU.js} +1 -1
- package/dist/cdn/{FSP2N2BP.js → KVNHQH7O.js} +1 -1
- package/dist/cdn/{L4NJDPAN.js → KYQPEMTU.js} +1 -1
- package/dist/cdn/{YPPTTXOS.js → LHIWT7XJ.js} +1 -1
- package/dist/cdn/{DKHJVESD.js → LKYUP362.js} +1 -1
- package/dist/cdn/{O4XG2WHA.js → LZXH65ES.js} +1 -1
- package/dist/cdn/{2IGXLFRI.js → MDNFAO3M.js} +1 -1
- package/dist/cdn/{375FEZQ5.js → MLR6CWHN.js} +1 -1
- package/dist/cdn/{TYA3HM4I.js → NFRZPT5W.js} +1 -1
- package/dist/cdn/{BFY23RQL.js → NKSGWA4X.js} +1 -1
- package/dist/cdn/{X5IJFDLG.js → NLCAS2S3.js} +1 -1
- package/dist/cdn/{RQ3JFQIF.js → NPSI5JGI.js} +1 -1
- package/dist/cdn/{2YBRQEHS.js → NUM2NK7X.js} +1 -1
- package/dist/cdn/{4ZEVGEUR.js → OOB4AL5B.js} +1 -1
- package/dist/cdn/{ZISTDZXP.js → PE74EWN6.js} +1 -1
- package/dist/cdn/{7LEWHR3Q.js → PUGPG7TG.js} +1 -1
- package/dist/cdn/{JTKDMKW6.js → QSQ4WWNZ.js} +1 -1
- package/dist/cdn/{P5QBGJ75.js → RLBQSLCM.js} +1 -1
- package/dist/cdn/{5MPUVSSI.js → RYFKSZCM.js} +1 -1
- package/dist/cdn/{ZZHMWOE6.js → RYPF3XVE.js} +1 -1
- package/dist/cdn/{QXTIAJBT.js → SCMJVUZF.js} +1 -1
- package/dist/cdn/{EQN5SLMX.js → TB7TL34T.js} +1 -1
- package/dist/cdn/{T4I6RQBL.js → TBWNZHUY.js} +1 -1
- package/dist/cdn/{XSKN27NO.js → TCKL6CRO.js} +1 -1
- package/dist/cdn/{O3QNNSPD.js → TFEXNOQT.js} +1 -1
- package/dist/cdn/{M4JMQVOW.js → TGVSWL53.js} +1 -1
- package/dist/cdn/{ZAHELPTS.js → TVN5AANS.js} +1 -1
- package/dist/cdn/{V6IB4JKW.js → UKGGXTFF.js} +1 -1
- package/dist/cdn/{53DLKKX7.js → UUIPQQJC.js} +1 -1
- package/dist/cdn/{7LFTV63Q.js → UXUJZXY6.js} +1 -1
- package/dist/cdn/{O6UAGUCM.js → V5BQ7JEF.js} +1 -1
- package/dist/cdn/{376GFRZL.js → V6QPNC6H.js} +1 -1
- package/dist/cdn/{BJDMP3WZ.js → VQV4WP3Q.js} +1 -1
- package/dist/cdn/{M2ZKATSW.js → VRAKXFLS.js} +1 -1
- package/dist/cdn/{BQPKHSH4.js → VTEYNOVM.js} +1 -1
- package/dist/cdn/{2FX7HMA2.js → W5RIMXON.js} +1 -1
- package/dist/cdn/{X4IUQKA3.js → W6ZTJ5F4.js} +1 -1
- package/dist/cdn/{EHPRMIGU.js → WYKOFBBC.js} +1 -1
- package/dist/cdn/{FHOUXGMO.js → XNTW3FJJ.js} +1 -1
- package/dist/cdn/{W55DHSL2.js → Y343Z32K.js} +1 -1
- package/dist/cdn/{OXNIW3Q4.js → Y5OM2HDA.js} +1 -1
- package/dist/cdn/{UY6H4LX7.js → YRQUJSIP.js} +1 -1
- package/dist/cdn/{3RDYU4CX.js → YWEEKBTH.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chunks/index.js +2110 -2074
- package/dist/components/arcgis-chart/customElement.js +541 -538
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/package.json +4 -4
- package/dist/cdn/CQADACRW.js +0 -3
|
@@ -4,33 +4,33 @@ import * as vt from "@arcgis/core/core/reactiveUtils.js";
|
|
|
4
4
|
import { substitute as Qi } from "@arcgis/core/intl.js";
|
|
5
5
|
import Mm from "@arcgis/core/layers/Layer.js";
|
|
6
6
|
import Bm from "@arcgis/core/portal/PortalItem.js";
|
|
7
|
-
import { LitElement as Nm, createEvent as ft, safeClassMap as
|
|
7
|
+
import { LitElement as Nm, createEvent as ft, safeClassMap as is } from "@arcgis/lumina";
|
|
8
8
|
import { unsafeGetElementDirection as Xs, observeAncestorsMutation as Pm, unsafeGetCalciteModeName as fl } from "@arcgis/toolkit/dom";
|
|
9
9
|
import { getElementLocale as ea } from "@arcgis/toolkit/intl/dom";
|
|
10
10
|
import { log as Vm } from "@arcgis/toolkit/log";
|
|
11
11
|
import { Task as mi, shallowArrayEquals as Wm, TaskStatus as ml } from "@lit/task";
|
|
12
12
|
import { snapdom as Em } from "@zumer/snapdom";
|
|
13
13
|
import zm from "jszip";
|
|
14
|
-
import { html as
|
|
14
|
+
import { html as eo, css as Hm } from "lit";
|
|
15
15
|
import { createRef as _m, ref as gl } from "lit/directives/ref.js";
|
|
16
16
|
import { debounce as yt, cloneDeep as ke, isEqual as pt, isEmpty as Sa } from "es-toolkit/compat";
|
|
17
17
|
import { H as Bt } from "../../chunks/resources.js";
|
|
18
|
-
import { XYChart as fe, PieChart as Oe, AxisFill as Gm, AxisFillCircular as Xm, GaugeChart as kt, DateAxis as Ne, ValueAxis as Ae, CategoryAxis as lt, CategoryAxisDataItem as Aa, DateAxisDataItem as
|
|
19
|
-
import { Color as
|
|
18
|
+
import { XYChart as fe, PieChart as Oe, AxisFill as Gm, AxisFillCircular as Xm, GaugeChart as kt, DateAxis as Ne, ValueAxis as Ae, CategoryAxis as lt, CategoryAxisDataItem as Aa, DateAxisDataItem as fn, LineSeries as Ce, ColumnSeries as ct, PieSeries as Wt, XYCursor as Vc, XYSeries as bi, SerialChart as Ys, Cursor as Ym, AxisLabel as Us, ColumnSeriesDataItem as js, LineSeriesDataItem as Pa, CandlestickSeries as We, StepLineSeries as Ft, LegendDataItem as na, Series as Wc, CandlestickSeriesDataItem as Um, PieSeriesDataItem as yi, Legend as jm, AxisRendererX as At, AxisRendererCircular as mn, AxisLabelCircular as qs, ValueAxisDataItem as Zs, AxisRendererY as Va, ClockHand as qm, Chart as Ec } from "@amcharts/amcharts4/charts.js";
|
|
19
|
+
import { Color as Ho, percent as gt, LinePattern as zc, RectPattern as Hc, color as gn, DateFormatter as _c, NumberFormatter as Gc, Group as Zm, MouseCursorStyle as qt, Label as _o, DropShadowFilter as Km, Sprite as Ks, utils as Xc, Tooltip as Yc, Container as Qm, RoundedRectangle as Jm, Percent as Go, Slice as eg, options as to, useTheme as tg, unuseTheme as ig, create as Qs } from "@amcharts/amcharts4/core.js";
|
|
20
20
|
import hl from "@amcharts/amcharts4/themes/animated.js";
|
|
21
|
-
import { W as Se, a as y, b as
|
|
22
|
-
import { e as
|
|
23
|
-
import { C as E, g as _i, a as V, b as Me, s as _e, i as Fe, c as
|
|
21
|
+
import { W as Se, a as y, b as as, c as ie, S as Uc, d as Ut, e as Xe, f as H, g as hn, h as jc, i as pl, j as Ca, k as bl, l as os, m as yl, n as xa, o as ag } from "../../chunks/chart-object-literals.js";
|
|
22
|
+
import { e as ho, i as oo, a as Xo, b as qc, m as Zc, c as pn, d as Kc, f as jt, h as Qc, g as Jc, j as Js, s as er, k as ed, l as td, n as Yo, o as og, p as j, q as et, r as sa, t as Lt, u as Et, v as tr, w as ii, x as ns, y as va, A as gi, z as hi, B as bt, C as De, D as po, E as Wa, F as Si, G as ir, H as ai, I as Ta, J as oi, K as ar, L as Ct, M as or, N as Qt, O as Li, P as ee, Q as ye, R as ng, S as bn, T as Ni, U as ui, V as Fi, W as Pi, X as nr, Y as Ea, Z as $t, _ as sr, $ as id, a0 as rr, a1 as lr, a2 as _t, a3 as bo, a4 as no, a5 as cr, a6 as za, a7 as ad, a8 as od, a9 as Ci, aa as nd, ab as sd, ac as yn, ad as dr, ae as Sn, af as ur, ag as fr, ah as rd, ai as ld, aj as cd, ak as mr, al as dd, am as Sl, an as Cn, ao as ud, ap as gr, aq as hr, ar as Uo, as as sg, at as fd, au as md, av as io, aw as xn, ax as gd, ay as hd, az as rg, aA as lg, aB as cg, aC as dg, aD as pd, aE as bd, aF as ug, aG as fg, aH as mg, aI as vn, aJ as F, aK as gg, aL as yd, aM as hg, aN as pg, aO as Sd, aP as ni, aQ as bg, aR as yg, aS as so, aT as Ln, aU as Ki, aV as Sg, aW as Cd, aX as Cg, aY as xg, aZ as vg, a_ as Lg, a$ as Fg, b0 as ss, b1 as Ag, b2 as Tg, b3 as xd, b4 as kg, b5 as Ig, b6 as wg, b7 as Rg, b8 as Og, b9 as Dg, ba as $g, bb as Mg, bc as Bg, bd as Vo, be as vd, bf as Ld, bg as Cl, bh as Ng, bi as Pg, bj as Vg, bk as Wg, bl as rs, bm as Eg, bn as Ri, bo as zg, bp as Hg, bq as _g, br as Gg, bs as Xg, bt as Yg, bu as Ug, bv as jg, bw as qg, bx as xl, by as Zg, bz as Kg, bA as Qg, bB as Jg, bC as eh, bD as th, bE as ih, bF as ah, bG as oh } from "../../chunks/index.js";
|
|
23
|
+
import { C as E, g as _i, a as V, b as Me, s as _e, i as Fe, c as Fn, d as ls, A as Q, e as Ke, f as nt, S as ge, n as Fd, h as Ad, j as jo, k as Wo, O as Ie, l as Td, u as nh } from "../../chunks/index2.js";
|
|
24
24
|
import "@amcharts/amcharts4/.internal/charts/axes/Axis.js";
|
|
25
|
-
import { R as Ge, a as Je, b as Z, c as
|
|
26
|
-
import { g as ta, r as pr, f as
|
|
25
|
+
import { R as Ge, a as Je, b as Z, c as cs, d as An, e as qo } from "../../chunks/rest-js-object-literals.js";
|
|
26
|
+
import { g as ta, r as pr, f as yo, a as vl, p as Pt, b as ka, c as ys, d as sh, e as rh, h as lh, q as $i, i as we, j as Tn, k as br, l as yr, m as Sr, n as kd, o as Ia, s as Id, t as kn, u as wd, v as Cr, w as ch, x as dh, y as uh, z as Rd, A as Od, B as fh, C as So, D as mh, E as wa, F as Ll, G as gh, H as hh, L as ph } from "../../chunks/index3.js";
|
|
27
27
|
import { i as mt, a as si } from "../../chunks/type-guards.js";
|
|
28
28
|
import { g as W, a as bh } from "../../chunks/series-types.js";
|
|
29
29
|
import { isLight as yh } from "@amcharts/amcharts4/.internal/core/utils/Colors.js";
|
|
30
30
|
import { Scrollbar as Fl } from "@amcharts/amcharts4/.internal/core/elements/Scrollbar.js";
|
|
31
|
-
import { color as
|
|
31
|
+
import { color as ro, Series as Ra, percent as tt, LinePattern as Dd, RectanglePattern as Sh, p50 as de, p0 as $e, p100 as he, Graphics as wt, SerialChart as lo, Label as ot, Rectangle as Oa, DateFormatter as Ch, NumberFormatter as $d, Bullet as Ai, Tooltip as Gi, Template as ra, RoundedRectangle as Ss, Slice as Al, time as xh, Timezone as vh, DataItem as xr, Container as pi, Color as Lh, HeatLegend as Zo, LinearGradient as Fh, Legend as Md, Scrollbar as Cs, addLicense as Ah, registry as Th, Root as kh } from "@amcharts/amcharts5";
|
|
32
32
|
import { PieSeries as Qe, PieChart as Kt } from "@amcharts/amcharts5/percent.js";
|
|
33
|
-
import { RadarCursor as vr, AxisRendererCircular as Jt, ClockHand as
|
|
33
|
+
import { RadarCursor as vr, AxisRendererCircular as Jt, ClockHand as xs, RadarChart as Vi, AxisRendererRadial as Ih, RadarLineSeries as Lr } from "@amcharts/amcharts5/radar.js";
|
|
34
34
|
import { AxisRendererY as xi, LineSeries as ne, ColumnSeries as xe, CategoryAxis as Ve, XYCursor as Bd, XYChart as pe, CandlestickSeries as Ti, StepLineSeries as la, XYSeries as Fr, AxisRendererX as dt, DateAxis as Be, ValueAxis as be, AxisBullet as wh, AxisLabel as Tl } from "@amcharts/amcharts5/xy.js";
|
|
35
35
|
import Rh from "@amcharts/amcharts5/themes/Animated.js";
|
|
36
36
|
import Oh from "@amcharts/amcharts5/themes/Responsive.js";
|
|
@@ -42,25 +42,25 @@ import { M as zh, r as Hh } from "../../chunks/model-setter.js";
|
|
|
42
42
|
import { s as _h, p as Gh, i as Xh, a as Dl, u as Yh, b as Uh, c as jh, r as qh, f as Zh } from "../../chunks/serial-chart-data.js";
|
|
43
43
|
import { g as $l } from "../../chunks/series-length.js";
|
|
44
44
|
import { createModel as Kh } from "../../model/shared/setup-utils.js";
|
|
45
|
-
import { i as st, a as
|
|
45
|
+
import { i as st, a as ds, b as us, c as Ml, d as Bl, e as Qh, f as Jh, g as Nl, h as ep } from "../../chunks/type-guards2.js";
|
|
46
46
|
import { s as tp, a as ip } from "../../chunks/store.js";
|
|
47
47
|
import { f as Pl, i as Zi, v as Vl, a as ap } from "../../chunks/index4.js";
|
|
48
48
|
import { u as op, o as np } from "../../chunks/action-bar-utils.js";
|
|
49
49
|
import { d as sp } from "../../chunks/chart-ui-utils.js";
|
|
50
50
|
import { d as Wl } from "../../chunks/default.js";
|
|
51
|
-
import { L as Nd, a as Pd, b as Vd, V as Wd, S as
|
|
51
|
+
import { L as Nd, a as Pd, b as Vd, V as Wd, S as vs, E as Do, A as El } from "../../chunks/index5.js";
|
|
52
52
|
import { g as rp, a as lp } from "../../chunks/class-breaks.js";
|
|
53
53
|
import { GenericController as cp } from "@arcgis/lumina/controllers";
|
|
54
|
-
const
|
|
54
|
+
const Ko = /* @__PURE__ */ new Map();
|
|
55
55
|
function Nt(t) {
|
|
56
|
-
t !== void 0 &&
|
|
56
|
+
t !== void 0 && Ko.delete(t);
|
|
57
57
|
}
|
|
58
58
|
function ca(t, e) {
|
|
59
|
-
const i =
|
|
60
|
-
|
|
59
|
+
const i = Ko.get(t) ?? {};
|
|
60
|
+
Ko.set(t, { ...i, ...e });
|
|
61
61
|
}
|
|
62
62
|
function da(t, e) {
|
|
63
|
-
return
|
|
63
|
+
return Ko.get(t)?.[e];
|
|
64
64
|
}
|
|
65
65
|
function dp(t, e) {
|
|
66
66
|
return da(t, e);
|
|
@@ -126,7 +126,7 @@ function Ed(t, e) {
|
|
|
126
126
|
}
|
|
127
127
|
function ia(t) {
|
|
128
128
|
const e = t ?? [0, 0, 0, 255];
|
|
129
|
-
return new
|
|
129
|
+
return new Ho({
|
|
130
130
|
a: e[3] / 255,
|
|
131
131
|
b: e[2],
|
|
132
132
|
g: e[1],
|
|
@@ -141,7 +141,7 @@ function Pe(t) {
|
|
|
141
141
|
function Mt(t) {
|
|
142
142
|
return t != null && !t.isDisposed();
|
|
143
143
|
}
|
|
144
|
-
function
|
|
144
|
+
function co(t) {
|
|
145
145
|
return (t.isShowing || t.visible) && !t.isHidden && !t.isHiding && !t.disabled && !t.__disabled;
|
|
146
146
|
}
|
|
147
147
|
function zd(t, e) {
|
|
@@ -207,10 +207,10 @@ function Cp(t) {
|
|
|
207
207
|
function It(t, e) {
|
|
208
208
|
let i;
|
|
209
209
|
e !== void 0 && (i = ia(e));
|
|
210
|
-
let a = i ?? new
|
|
210
|
+
let a = i ?? new Ho({ r: 0, g: 0, b: 0, a: 0 });
|
|
211
211
|
if (t != null) {
|
|
212
212
|
const [o, n, s, r] = t;
|
|
213
|
-
a = new
|
|
213
|
+
a = new Ho({ r: o, g: n, b: s, a: r / 255 });
|
|
214
214
|
}
|
|
215
215
|
return a;
|
|
216
216
|
}
|
|
@@ -336,13 +336,13 @@ function Ei(t) {
|
|
|
336
336
|
}
|
|
337
337
|
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()));
|
|
338
338
|
}
|
|
339
|
-
function
|
|
339
|
+
function uo(t) {
|
|
340
340
|
const { chart: e, labelType: i } = t;
|
|
341
341
|
Ei(t);
|
|
342
342
|
const a = i === J.YAxisTitle ? 1 : 0, o = yt(() => Ei(t), A.debounceTime);
|
|
343
343
|
e.events.on(N.Validated, o, a), (i === J.YAxisTitle || i === J.XAxisTitle) && e instanceof fe && e.seriesContainer.events.on(N.SizeChanged, o, a);
|
|
344
344
|
}
|
|
345
|
-
function
|
|
345
|
+
function Qo(t, e) {
|
|
346
346
|
t.events.on(
|
|
347
347
|
N.Validated,
|
|
348
348
|
yt(() => {
|
|
@@ -367,7 +367,7 @@ function ua(t) {
|
|
|
367
367
|
const u = c === !0 && Number.isFinite(d) ? `max-width: ${d}px; word-break: break-word;` : "";
|
|
368
368
|
l = `<p style="margin:0;${s}${r}${u}">${l}</p>`;
|
|
369
369
|
} else
|
|
370
|
-
l =
|
|
370
|
+
l = ho(l), (s !== "" || r !== "") && (l = `[${s}${r}]${l}[/]`);
|
|
371
371
|
return l;
|
|
372
372
|
}
|
|
373
373
|
function Gd(t, e) {
|
|
@@ -376,7 +376,7 @@ function Gd(t, e) {
|
|
|
376
376
|
strokeWidth: A.lineWidth,
|
|
377
377
|
strokeDasharray: "",
|
|
378
378
|
strokeLinecap: e !== !0 ? "round" : "square",
|
|
379
|
-
strokeOpacity:
|
|
379
|
+
strokeOpacity: yo
|
|
380
380
|
};
|
|
381
381
|
return t != null && (i.stroke = It(t.color), i.strokeOpacity = 1, t.width !== void 0 && (i.strokeWidth = t.width), t.style !== void 0 && t.style !== Ge.Null && (i.strokeDasharray = Lp(t.style, i.strokeWidth), i.strokeLinecap = xp(t.style, e))), i;
|
|
382
382
|
}
|
|
@@ -394,7 +394,7 @@ function Tp(t, e) {
|
|
|
394
394
|
};
|
|
395
395
|
}
|
|
396
396
|
function kp(t) {
|
|
397
|
-
const { color: e, outline: i, xoffset: a, yoffset: o, style: n, size: s, angle: r } = t, l = n !== void 0 ? Zc(n, s) : "", c =
|
|
397
|
+
const { color: e, outline: i, xoffset: a, yoffset: o, style: n, size: s, angle: r } = t, l = n !== void 0 ? Zc(n, s) : "", c = pn(r);
|
|
398
398
|
return {
|
|
399
399
|
path: l,
|
|
400
400
|
fill: It(e),
|
|
@@ -408,15 +408,15 @@ function Tr(t) {
|
|
|
408
408
|
const { symbol: e, defaultToColorFromRamp: i, colorRampIndex: a, isChartFillSymbol: o = !1, chartBackgroundColor: n } = t;
|
|
409
409
|
let s;
|
|
410
410
|
if (i === !0) {
|
|
411
|
-
const r = o ? pr :
|
|
412
|
-
if (e.color = e.color ?? ta({ colorIndex: a, opacity: r }),
|
|
411
|
+
const r = o ? pr : yo;
|
|
412
|
+
if (e.color = e.color ?? ta({ colorIndex: a, opacity: r }), oo(e) || Xo(e)) {
|
|
413
413
|
const { outline: l } = e;
|
|
414
414
|
l !== void 0 && (l.color = l?.color ?? ta({ colorIndex: a }), e.outline = { ...l });
|
|
415
415
|
}
|
|
416
416
|
}
|
|
417
|
-
return qc(e) ? s = Gd(e, !0) :
|
|
417
|
+
return qc(e) ? s = Gd(e, !0) : Xo(e) ? (e.style ??= A.lineSeries.marker.markerStyle, e.size ??= A.lineSeries.marker.markerBigSize, s = kp(e)) : oo(e) && (s = Tp(e, n)), s;
|
|
418
418
|
}
|
|
419
|
-
function
|
|
419
|
+
function Jo(t, e, i) {
|
|
420
420
|
const a = Ar(t.horizontalAlignment, i?.horizontalCenter), o = Hd(t.horizontalAlignment, i?.align), n = _d(t.verticalAlignment, i?.verticalCenter), s = vp(t.verticalAlignment, i?.valign);
|
|
421
421
|
return {
|
|
422
422
|
fill: It(t.color, A.color),
|
|
@@ -429,7 +429,7 @@ function en(t, e, i) {
|
|
|
429
429
|
verticalCenter: n,
|
|
430
430
|
horizontalCenter: a,
|
|
431
431
|
text: ua({ textSymbol: t, format: "text" }),
|
|
432
|
-
angle:
|
|
432
|
+
angle: pn(t.angle, i?.rotation),
|
|
433
433
|
xOffset: t.xoffset ?? i?.dx ?? 0,
|
|
434
434
|
yOffset: t.yoffset ?? i?.dy ?? 0,
|
|
435
435
|
backgroundFill: It(t.backgroundColor),
|
|
@@ -443,12 +443,12 @@ function en(t, e, i) {
|
|
|
443
443
|
};
|
|
444
444
|
}
|
|
445
445
|
function Yd(t, e, i) {
|
|
446
|
-
i !== void 0 && t.tooltip !== void 0 && (t.tooltip.getFillFromObject = !1, t.tooltip.background.fill = e), t.fill = i ?? e, t.fillOpacity =
|
|
446
|
+
i !== void 0 && t.tooltip !== void 0 && (t.tooltip.getFillFromObject = !1, t.tooltip.background.fill = e), t.fill = i ?? e, t.fillOpacity = gn(t.fill.toString()).alpha === 0 ? 0 : 1;
|
|
447
447
|
}
|
|
448
448
|
function La(t, e) {
|
|
449
449
|
t.stroke = e.stroke, t.strokeOpacity = e.stroke.alpha === 0 ? 0 : 1, t.strokeDasharray = e.strokeDasharray, t.strokeLinecap = e.strokeLinecap, t.strokeWidth = e.strokeWidth;
|
|
450
450
|
}
|
|
451
|
-
function
|
|
451
|
+
function en(t) {
|
|
452
452
|
const { element: e, markerSymbol: i, visible: a, defaultToColorFromRamp: o, colorRampIndex: n } = t;
|
|
453
453
|
let s;
|
|
454
454
|
return i !== void 0 ? (s = Tr({
|
|
@@ -466,7 +466,7 @@ function Ji(t) {
|
|
|
466
466
|
colorRampIndex: n
|
|
467
467
|
}), s !== void 0 && La(e, s), ce(e, a)) : ce(e, !1), s;
|
|
468
468
|
}
|
|
469
|
-
function
|
|
469
|
+
function fo(t) {
|
|
470
470
|
const { element: e, fillSymbol: i, visible: a, defaultToColorFromRamp: o, colorRampIndex: n, isChartFillSymbol: s } = t;
|
|
471
471
|
let r, l;
|
|
472
472
|
if (i !== void 0) {
|
|
@@ -507,14 +507,14 @@ function Vt(t) {
|
|
|
507
507
|
});
|
|
508
508
|
break;
|
|
509
509
|
case Z.SFS:
|
|
510
|
-
c =
|
|
510
|
+
c = fo({
|
|
511
511
|
...d,
|
|
512
512
|
fillSymbol: u,
|
|
513
513
|
isChartFillSymbol: n
|
|
514
514
|
});
|
|
515
515
|
break;
|
|
516
516
|
case Z.SMS:
|
|
517
|
-
c =
|
|
517
|
+
c = en({
|
|
518
518
|
...d,
|
|
519
519
|
markerSymbol: u
|
|
520
520
|
});
|
|
@@ -525,7 +525,7 @@ function Vt(t) {
|
|
|
525
525
|
function Hl(t, e) {
|
|
526
526
|
if (e !== void 0) {
|
|
527
527
|
const i = t.properties, { elementColor: a, elementOutlineColor: o, elementOutlineWidth: n, rotation: s, transformation: r } = e, { opacity: l, scale: c } = r ?? {};
|
|
528
|
-
a !== void 0 && (i.fill = ia(a), i.fillOpacity =
|
|
528
|
+
a !== void 0 && (i.fill = ia(a), i.fillOpacity = gn(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);
|
|
529
529
|
}
|
|
530
530
|
}
|
|
531
531
|
function Ip(t, e, i) {
|
|
@@ -579,7 +579,7 @@ function Rp(t) {
|
|
|
579
579
|
element: f,
|
|
580
580
|
seriesConfig: i,
|
|
581
581
|
y: i.y,
|
|
582
|
-
seriesSymbol: c ??
|
|
582
|
+
seriesSymbol: c ?? ys(),
|
|
583
583
|
seriesIndex: u,
|
|
584
584
|
rendererSymbol: d,
|
|
585
585
|
colorMatch: r,
|
|
@@ -807,11 +807,11 @@ function Bp(t) {
|
|
|
807
807
|
const s = e.axes[0];
|
|
808
808
|
if (s) {
|
|
809
809
|
const { valueFormat: r } = s;
|
|
810
|
-
|
|
810
|
+
Yo(r) && n !== void 0 && n !== null && a !== void 0 && o !== void 0 && o - a !== 0 && (n = tn({
|
|
811
811
|
value: n,
|
|
812
812
|
axisMin: a,
|
|
813
813
|
axisMax: o
|
|
814
|
-
})),
|
|
814
|
+
})), Yo(r) && (s.minimum = 0, s.maximum = 1, Np({
|
|
815
815
|
axisConfig: s,
|
|
816
816
|
axisMin: s.minimum,
|
|
817
817
|
axisMax: s.maximum
|
|
@@ -821,7 +821,7 @@ function Bp(t) {
|
|
|
821
821
|
}), Dp(s);
|
|
822
822
|
}
|
|
823
823
|
}
|
|
824
|
-
function
|
|
824
|
+
function tn(t) {
|
|
825
825
|
const { value: e, axisMin: i, axisMax: a } = t;
|
|
826
826
|
let o = Number.NaN;
|
|
827
827
|
const n = a - i;
|
|
@@ -831,7 +831,7 @@ function Np(t) {
|
|
|
831
831
|
const { axisConfig: e, axisMin: i, axisMax: a } = t;
|
|
832
832
|
typeof i == "number" && typeof a == "number" && a - i !== 0 && e.guides?.forEach((n) => {
|
|
833
833
|
const { start: s, end: r } = n;
|
|
834
|
-
typeof s == "number" && (n.start =
|
|
834
|
+
typeof s == "number" && (n.start = tn({ value: s, axisMin: i, axisMax: a })), typeof r == "number" && (n.end = tn({ value: r, axisMin: i, axisMax: a }));
|
|
835
835
|
});
|
|
836
836
|
}
|
|
837
837
|
function Pp(t) {
|
|
@@ -891,13 +891,13 @@ function Ep(t) {
|
|
|
891
891
|
function kr(t, e) {
|
|
892
892
|
return t?.[0]?.sliceGrouping?.percentageThreshold !== e?.[0]?.sliceGrouping?.percentageThreshold;
|
|
893
893
|
}
|
|
894
|
-
function
|
|
894
|
+
function Co(t) {
|
|
895
895
|
const { groupOfSlicesDataContext: e, chartData: i } = t;
|
|
896
896
|
return (e ?? i?.find((n) => n[Pt.defaultGroupOfSlicesId] === !0))?.[E.pieChart.technicalFieldGroupedSlices];
|
|
897
897
|
}
|
|
898
898
|
function Ir(t) {
|
|
899
899
|
const { dataContext: e, pieSlicesSymbols: i, seriesConfig: a } = t;
|
|
900
|
-
let o = a.fillSymbol ? { ...a.fillSymbol } :
|
|
900
|
+
let o = a.fillSymbol ? { ...a.fillSymbol } : ys();
|
|
901
901
|
if (ki(e))
|
|
902
902
|
o = {
|
|
903
903
|
...E.pieChart.sliceGrouping.fillSymbol,
|
|
@@ -907,7 +907,7 @@ function Ir(t) {
|
|
|
907
907
|
const s = e[E.pieChart.technicalFieldSliceId], r = i?.slices?.find(
|
|
908
908
|
(l) => l.sliceId === s
|
|
909
909
|
);
|
|
910
|
-
o = ke(r?.fillSymbol ?? a.fillSymbol ??
|
|
910
|
+
o = ke(r?.fillSymbol ?? a.fillSymbol ?? ys());
|
|
911
911
|
}
|
|
912
912
|
return o;
|
|
913
913
|
}
|
|
@@ -942,8 +942,8 @@ function zp(t) {
|
|
|
942
942
|
function Gl(t) {
|
|
943
943
|
const { creation: e, previousConfig: i, newConfig: a, dataInfo: o, dataUpdateNeeded: n, utilsStrings: s } = t;
|
|
944
944
|
let r = !1;
|
|
945
|
-
if (o.data && "dataItems" in o.data && (e || i &&
|
|
946
|
-
const l = e || i &&
|
|
945
|
+
if (o.data && "dataItems" in o.data && (e || i && ns(i.series)) && a && ns(a.series)) {
|
|
946
|
+
const l = e || i && ns(i.series) && kr(i.series, a.series);
|
|
947
947
|
(n || l) && (o.data.dataItems = zp({
|
|
948
948
|
data: o.data.dataItems,
|
|
949
949
|
seriesConfig: a.series,
|
|
@@ -991,7 +991,7 @@ function Gp(t) {
|
|
|
991
991
|
_p({ dataContext: r, x: s, newLabel: d });
|
|
992
992
|
}), Vp({ chartConfig: i, chartData: e, fieldList: o });
|
|
993
993
|
}
|
|
994
|
-
function
|
|
994
|
+
function In(t, e) {
|
|
995
995
|
const i = e.errors[t];
|
|
996
996
|
throw new gi(e.modalHeaders.error, i ?? e.errors.simpleError);
|
|
997
997
|
}
|
|
@@ -1048,7 +1048,7 @@ function Xi(t) {
|
|
|
1048
1048
|
o = jp, n = "invalidValueFormatForHeatChart";
|
|
1049
1049
|
break;
|
|
1050
1050
|
}
|
|
1051
|
-
o !== void 0 && n !== void 0 && (o(i) ||
|
|
1051
|
+
o !== void 0 && n !== void 0 && (o(i) || In(n, a));
|
|
1052
1052
|
}
|
|
1053
1053
|
const ue = {
|
|
1054
1054
|
SelectXY: "selectXY",
|
|
@@ -1065,7 +1065,7 @@ const ue = {
|
|
|
1065
1065
|
Outliers: "outliers"
|
|
1066
1066
|
};
|
|
1067
1067
|
function ri(t) {
|
|
1068
|
-
const { type: e, iLocale: i, formatLocale: a =
|
|
1068
|
+
const { type: e, iLocale: i, formatLocale: a = po(document.documentElement) } = t;
|
|
1069
1069
|
let o;
|
|
1070
1070
|
switch (e) {
|
|
1071
1071
|
case y.NumberAxisFormat: {
|
|
@@ -1106,7 +1106,7 @@ function Zd(t) {
|
|
|
1106
1106
|
if ((s !== void 0 || n !== void 0) && a instanceof Aa && a.dataContext) {
|
|
1107
1107
|
const r = D(e.chart.uid, "config"), l = j(r?.series), c = D(e.chart.uid, "rendererFieldNames");
|
|
1108
1108
|
let d = ai({
|
|
1109
|
-
value:
|
|
1109
|
+
value: Fn(l, r?.series?.[0]),
|
|
1110
1110
|
dataContext: a.dataContext,
|
|
1111
1111
|
useRendererLabel: Ta(r, c),
|
|
1112
1112
|
config: r
|
|
@@ -1145,7 +1145,7 @@ function tb(t) {
|
|
|
1145
1145
|
const { axis: e, defaultOutput: i, dataItem: a } = t;
|
|
1146
1146
|
let o = i;
|
|
1147
1147
|
const n = it(e.uid, "dateFormatter");
|
|
1148
|
-
return n !== void 0 && a instanceof
|
|
1148
|
+
return n !== void 0 && a instanceof fn && (o = n(a.value ?? i)), Fe(o) && (o = A.htmlEmptyContent), _e(o);
|
|
1149
1149
|
}
|
|
1150
1150
|
function ib(t) {
|
|
1151
1151
|
t.renderer.labels.template.adapter.add(
|
|
@@ -1303,7 +1303,7 @@ function cb(t) {
|
|
|
1303
1303
|
formatOptions: a,
|
|
1304
1304
|
overridePercentMultiplication: n,
|
|
1305
1305
|
valueAxisFormatter: r
|
|
1306
|
-
}), Ze(e.uid, { categoryFormatter: void 0 })) : g = !0 : g = !0, g &&
|
|
1306
|
+
}), Ze(e.uid, { categoryFormatter: void 0 })) : g = !0 : g = !0, g && In("mismatchAxisAndValueFormat", u), lb({ axis: e, labelsTextSymbol: o, axisValueFormatter: r }), e.invalidateLabels();
|
|
1307
1307
|
}
|
|
1308
1308
|
function Kd(t) {
|
|
1309
1309
|
let e = t;
|
|
@@ -1317,13 +1317,13 @@ function Jd(t) {
|
|
|
1317
1317
|
const { actionMode: e, cursorRange: i, isRotated: a } = t;
|
|
1318
1318
|
let o = ue.None;
|
|
1319
1319
|
switch (i) {
|
|
1320
|
-
case
|
|
1320
|
+
case ls.MultiAxes:
|
|
1321
1321
|
e === Q.MultiSelectionWithCtrlKey || e === Q.MultiSelection ? o = ue.SelectXY : e === Q.Zoom && (o = ue.ZoomXY);
|
|
1322
1322
|
break;
|
|
1323
|
-
case
|
|
1323
|
+
case ls.XAxis:
|
|
1324
1324
|
e === Q.MultiSelectionWithCtrlKey || e === Q.MultiSelection ? o = a === !0 ? ue.SelectY : ue.SelectX : e === Q.Zoom && (o = a === !0 ? ue.ZoomY : ue.ZoomX);
|
|
1325
1325
|
break;
|
|
1326
|
-
case
|
|
1326
|
+
case ls.YAxis:
|
|
1327
1327
|
e === Q.MultiSelectionWithCtrlKey || e === Q.MultiSelection ? o = a === !0 ? ue.SelectX : ue.SelectY : e === Q.Zoom && (o = a === !0 ? ue.ZoomX : ue.ZoomY);
|
|
1328
1328
|
break;
|
|
1329
1329
|
}
|
|
@@ -1437,7 +1437,7 @@ function ou(t) {
|
|
|
1437
1437
|
function Yi(t) {
|
|
1438
1438
|
return D(t.chart.uid, "isRotated") === !0 ? iu(t) : au(t);
|
|
1439
1439
|
}
|
|
1440
|
-
function
|
|
1440
|
+
function wn(t, e = 0) {
|
|
1441
1441
|
const i = D(t.chart.uid, "config");
|
|
1442
1442
|
return W(i?.series, e);
|
|
1443
1443
|
}
|
|
@@ -1600,12 +1600,12 @@ function wr(t) {
|
|
|
1600
1600
|
}
|
|
1601
1601
|
return n;
|
|
1602
1602
|
}
|
|
1603
|
-
function
|
|
1603
|
+
function $o(t) {
|
|
1604
1604
|
const { dataContext: e, specificField: i, xOrY: a } = t;
|
|
1605
1605
|
let o = e[a === "x" ? E.originalXValue : E.originalYCategoryValue];
|
|
1606
1606
|
return o === void 0 && i && (o = e[i]), o === void 0 && (o = e[a === "x" ? we.xField : we.yField]), o;
|
|
1607
1607
|
}
|
|
1608
|
-
function
|
|
1608
|
+
function Rn(t) {
|
|
1609
1609
|
const {
|
|
1610
1610
|
options: e,
|
|
1611
1611
|
elementDataContext: i,
|
|
@@ -1616,27 +1616,27 @@ function On(t) {
|
|
|
1616
1616
|
chartType: r,
|
|
1617
1617
|
splitBy: l,
|
|
1618
1618
|
chartSubType: c,
|
|
1619
|
-
timeAggregationType: d =
|
|
1619
|
+
timeAggregationType: d = as.Start
|
|
1620
1620
|
} = t;
|
|
1621
1621
|
let u = !1, f;
|
|
1622
1622
|
if (i !== void 0 && a !== void 0)
|
|
1623
1623
|
switch (r) {
|
|
1624
1624
|
case y.HeatSeries:
|
|
1625
|
-
const g = i, h =
|
|
1625
|
+
const g = i, h = $o({
|
|
1626
1626
|
dataContext: g,
|
|
1627
1627
|
specificField: n,
|
|
1628
1628
|
xOrY: "x"
|
|
1629
|
-
}), b =
|
|
1629
|
+
}), b = $o({
|
|
1630
1630
|
dataContext: g,
|
|
1631
1631
|
specificField: s,
|
|
1632
1632
|
xOrY: "y"
|
|
1633
1633
|
});
|
|
1634
1634
|
f = (p) => {
|
|
1635
|
-
const S =
|
|
1635
|
+
const S = $o({
|
|
1636
1636
|
dataContext: p,
|
|
1637
1637
|
specificField: n,
|
|
1638
1638
|
xOrY: "x"
|
|
1639
|
-
}), C =
|
|
1639
|
+
}), C = $o({
|
|
1640
1640
|
dataContext: p,
|
|
1641
1641
|
specificField: s,
|
|
1642
1642
|
xOrY: "y"
|
|
@@ -1661,7 +1661,7 @@ function On(t) {
|
|
|
1661
1661
|
else if (x !== void 0 && x in S && x in p)
|
|
1662
1662
|
C = S[x] === p[x];
|
|
1663
1663
|
else if (E.dateBinningRange in p && typeof S[n] == "number") {
|
|
1664
|
-
const L = S[n], v = S[E.dateBinningRange], T = Array.isArray(v) && Number.isFinite(v[0]) && Number.isFinite(v[1]), [k, w] = T ? v : [0, 0], [I, O] = p[E.dateBinningRange], $ = d ===
|
|
1664
|
+
const L = S[n], v = S[E.dateBinningRange], T = Array.isArray(v) && Number.isFinite(v[0]) && Number.isFinite(v[1]), [k, w] = T ? v : [0, 0], [I, O] = p[E.dateBinningRange], $ = d === as.Start || p[E.firstTemporalBin] === !0 ? L >= I : L > I, B = d === as.End || p[E.lastTemporalBin] === !0 ? L <= O : L < O;
|
|
1665
1665
|
C = (T ? k < O && I < w : $ && B) && s in S && Number.isFinite(S[s]);
|
|
1666
1666
|
} else {
|
|
1667
1667
|
const L = (k) => {
|
|
@@ -1717,7 +1717,7 @@ function On(t) {
|
|
|
1717
1717
|
case y.PieSeries:
|
|
1718
1718
|
n !== void 0 && (f = (p) => {
|
|
1719
1719
|
const S = i, C = ki(S), x = [S];
|
|
1720
|
-
return C && x.push(...
|
|
1720
|
+
return C && x.push(...Co({ groupOfSlicesDataContext: S }) ?? []), x.some(
|
|
1721
1721
|
(v) => wr({
|
|
1722
1722
|
sliceDataContext: v,
|
|
1723
1723
|
selectionDataContext: p,
|
|
@@ -1776,11 +1776,11 @@ function vi(t) {
|
|
|
1776
1776
|
}
|
|
1777
1777
|
function nu(t) {
|
|
1778
1778
|
const { data: e, colorMatch: i, chartSubType: a, rendererType: o } = t;
|
|
1779
|
-
return e !== void 0 && i && o !== void 0 && (a === V.BoxPlotC2MultiFields && (o ===
|
|
1779
|
+
return e !== void 0 && i && o !== void 0 && (a === V.BoxPlotC2MultiFields && (o === cs.UniqueValue || o === cs.PieChart) || a === V.BoxPlotC3MonoFieldAndCategory && o === cs.UniqueValue) && e.some(
|
|
1780
1780
|
(n) => Object.keys(n).some((s) => s.includes(E.rendererSymbolField))
|
|
1781
1781
|
);
|
|
1782
1782
|
}
|
|
1783
|
-
function
|
|
1783
|
+
function mo(t) {
|
|
1784
1784
|
const { value: e, valueFormat: i, iLocale: a, formatLocale: o } = t;
|
|
1785
1785
|
let n = e?.toString();
|
|
1786
1786
|
const s = ri({
|
|
@@ -1814,15 +1814,15 @@ function vb(t) {
|
|
|
1814
1814
|
Nt(e.uid);
|
|
1815
1815
|
}), "cursor" in t && t.cursor instanceof Ym && Nt(t.cursor?.uid), "legend" in t && t.legend !== void 0 && (Nt(t.legend.uid), Nt(t.legend.valueLabels?.template?.uid)), Nt(t.uid);
|
|
1816
1816
|
}
|
|
1817
|
-
function
|
|
1817
|
+
function Mo(t) {
|
|
1818
1818
|
return typeof t == "number" ? t : t.value;
|
|
1819
1819
|
}
|
|
1820
|
-
function
|
|
1820
|
+
function On(t, e) {
|
|
1821
1821
|
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 = _d(e.verticalCenter)), e.horizontalCenter !== void 0 && (t.horizontalCenter = Ar(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));
|
|
1822
1822
|
}
|
|
1823
1823
|
function li(t, e) {
|
|
1824
|
-
const i = e?.createChild(
|
|
1825
|
-
return
|
|
1824
|
+
const i = e?.createChild(_o) ?? new _o();
|
|
1825
|
+
return On(i, t), i;
|
|
1826
1826
|
}
|
|
1827
1827
|
function Lb(t) {
|
|
1828
1828
|
const e = t.push(new Km());
|
|
@@ -1844,7 +1844,7 @@ function Ab(t, e) {
|
|
|
1844
1844
|
function Yl(t) {
|
|
1845
1845
|
const { label: e, offset: i, offsetProperty: a } = t, o = 99;
|
|
1846
1846
|
if (e.adapter.remove(a, o), typeof i == "string" && !Number.isFinite(Number(i))) {
|
|
1847
|
-
let n =
|
|
1847
|
+
let n = bn(i);
|
|
1848
1848
|
n !== void 0 && (n /= 100, e.adapter.add(
|
|
1849
1849
|
a,
|
|
1850
1850
|
() => (e.parent?.[a === "dx" ? "measuredWidth" : "measuredHeight"] ?? 0) * n,
|
|
@@ -1856,7 +1856,7 @@ function Yl(t) {
|
|
|
1856
1856
|
function Ot(t) {
|
|
1857
1857
|
const { label: e, labelConfig: i, defaults: a, skipSettingText: o } = t;
|
|
1858
1858
|
if (i !== void 0) {
|
|
1859
|
-
const n =
|
|
1859
|
+
const n = Jo(i.content, e.rtl, a);
|
|
1860
1860
|
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, Yl({ label: e, offset: n.xOffset, offsetProperty: "dx" }), Yl({ label: e, offset: n.yOffset, offsetProperty: "dy" }), e.rtl = n.rtl, e.wrap = n.wrap, e instanceof Us || (e.maxWidth = n.maxWidth), o || (e.text = n.text), Fb(e.filters, n.haloSize, n.haloColor);
|
|
1861
1861
|
const s = Ab(e, i);
|
|
1862
1862
|
e.disabled = s, ce(e, i.visible !== !1 && !s);
|
|
@@ -1899,7 +1899,7 @@ function ws(t, e) {
|
|
|
1899
1899
|
(i, a) => {
|
|
1900
1900
|
let o = i;
|
|
1901
1901
|
const { dataItem: n } = a;
|
|
1902
|
-
if (
|
|
1902
|
+
if (co(t) && (e instanceof ct && n instanceof js || e instanceof Ce && n instanceof Pa)) {
|
|
1903
1903
|
const s = qe(
|
|
1904
1904
|
e.uid,
|
|
1905
1905
|
e instanceof ct ? "barSeriesDataLabelFormatter" : "lineSeriesDataLabelFormatter"
|
|
@@ -1960,7 +1960,7 @@ function du(t) {
|
|
|
1960
1960
|
formatLocale: b
|
|
1961
1961
|
});
|
|
1962
1962
|
p.numberFormat = r === ie.Stacked100 ? {
|
|
1963
|
-
...
|
|
1963
|
+
...Tn().intlOptions,
|
|
1964
1964
|
...f,
|
|
1965
1965
|
style: "percent"
|
|
1966
1966
|
} : { ...f }, u = c({
|
|
@@ -1987,7 +1987,7 @@ function du(t) {
|
|
|
1987
1987
|
}), ks(e);
|
|
1988
1988
|
}
|
|
1989
1989
|
}
|
|
1990
|
-
function
|
|
1990
|
+
function Dn(t, e) {
|
|
1991
1991
|
let i = e;
|
|
1992
1992
|
i === void 0 && (i = D(t.uid, "config"));
|
|
1993
1993
|
const a = D(t.uid, "colorMatchApplied") ?? !1;
|
|
@@ -2050,7 +2050,7 @@ function wb(t) {
|
|
|
2050
2050
|
let e;
|
|
2051
2051
|
return t !== void 0 && t.series.length > 0 && (e = t.series.values.map((i) => i.visible ? i.id : "").filter((i) => i !== "")), e;
|
|
2052
2052
|
}
|
|
2053
|
-
function
|
|
2053
|
+
function fs(t) {
|
|
2054
2054
|
const { dataItem: e, y: i, splitBy: a, showOutliers: o } = t, n = ye({ key: ee.Min, y: i, splitBy: a, showOutliers: o }), s = ye({ key: ee.Max, y: i, splitBy: a, showOutliers: o }), r = ye({ key: ee.FirstQuartile, y: i, splitBy: a, showOutliers: o }), l = ye({ key: ee.ThirdQuartile, y: i, splitBy: a, showOutliers: o });
|
|
2055
2055
|
return Number.isFinite(e[n]) && Number.isFinite(e[s]) && Number.isFinite(e[r]) && Number.isFinite(e[l]);
|
|
2056
2056
|
}
|
|
@@ -2063,18 +2063,18 @@ function Rb(t, e) {
|
|
|
2063
2063
|
case V.BoxPlotC1MonoField:
|
|
2064
2064
|
case V.BoxPlotC2MultiFields:
|
|
2065
2065
|
case V.BoxPlotC3MonoFieldAndCategory:
|
|
2066
|
-
|
|
2066
|
+
fs({ dataItem: s, showOutliers: n }) && (i += 1);
|
|
2067
2067
|
break;
|
|
2068
2068
|
case V.BoxPlotC4MultiFieldsAndCategory:
|
|
2069
2069
|
a.forEach((r) => {
|
|
2070
|
-
|
|
2070
|
+
fs({ dataItem: s, y: r, showOutliers: n }) && (i += 1);
|
|
2071
2071
|
});
|
|
2072
2072
|
break;
|
|
2073
2073
|
case V.BoxPlotC5MonoFieldAndSplitBy:
|
|
2074
2074
|
case V.BoxPlotC6MultiFieldsAndSplitBy:
|
|
2075
2075
|
case V.BoxPlotC7MonoFieldAndCategoryAndSplitBy:
|
|
2076
2076
|
e.series.forEach((r) => {
|
|
2077
|
-
|
|
2077
|
+
fs({ dataItem: s, splitBy: r.query?.where, showOutliers: n }) && (i += 1);
|
|
2078
2078
|
});
|
|
2079
2079
|
break;
|
|
2080
2080
|
}
|
|
@@ -2174,7 +2174,7 @@ function mu(t) {
|
|
|
2174
2174
|
});
|
|
2175
2175
|
e.dispatchImmediately(N.Validated), Gt(e.uid, { [r]: u });
|
|
2176
2176
|
}
|
|
2177
|
-
function
|
|
2177
|
+
function $n(t) {
|
|
2178
2178
|
const { series: e, styleCallback: i, seriesConfig: a } = t;
|
|
2179
2179
|
mu({
|
|
2180
2180
|
callbackInfo: { styleCallback: i, type: "style" },
|
|
@@ -2218,7 +2218,7 @@ const rt = {
|
|
|
2218
2218
|
};
|
|
2219
2219
|
function Mb(t, e) {
|
|
2220
2220
|
let i = !1;
|
|
2221
|
-
if (e !== void 0 &&
|
|
2221
|
+
if (e !== void 0 && co(t)) {
|
|
2222
2222
|
const a = Xc.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;
|
|
2223
2223
|
i = !(l > s || d < o || c > r || u < n);
|
|
2224
2224
|
}
|
|
@@ -2238,7 +2238,7 @@ function zt(t) {
|
|
|
2238
2238
|
}
|
|
2239
2239
|
return e?.isActive ?? !1;
|
|
2240
2240
|
}
|
|
2241
|
-
function
|
|
2241
|
+
function Mn(t, e) {
|
|
2242
2242
|
let i = !1;
|
|
2243
2243
|
if (e instanceof fe || e instanceof Oe) {
|
|
2244
2244
|
const a = D(e.uid, "actionMode");
|
|
@@ -2276,7 +2276,7 @@ function jl(t, e) {
|
|
|
2276
2276
|
let i = [];
|
|
2277
2277
|
const { columns: a, chart: o } = t, n = D(o.uid, "config");
|
|
2278
2278
|
if (n && a !== void 0 && t.visible) {
|
|
2279
|
-
const s = n?.series[0].x, r = t?.dataFields?.customValue ?? "", l =
|
|
2279
|
+
const s = n?.series[0].x, r = t?.dataFields?.customValue ?? "", l = wn(t, e), c = aa(t, n), d = l === y.BoxPlotSeries ? c?.y : Yi(t), u = {
|
|
2280
2280
|
element: {},
|
|
2281
2281
|
yAxisField: d,
|
|
2282
2282
|
xAxisField: s,
|
|
@@ -2339,7 +2339,7 @@ function Bb(t) {
|
|
|
2339
2339
|
e = Dr(t.slices, i).map(
|
|
2340
2340
|
(l) => {
|
|
2341
2341
|
const c = l.dataItem?.dataContext ?? {};
|
|
2342
|
-
return ki(c) && (r =
|
|
2342
|
+
return ki(c) && (r = Co({
|
|
2343
2343
|
groupOfSlicesDataContext: c
|
|
2344
2344
|
})), {
|
|
2345
2345
|
...s,
|
|
@@ -2389,7 +2389,7 @@ async function hu(t) {
|
|
|
2389
2389
|
}).forEach((h, b) => {
|
|
2390
2390
|
const p = aa(h, l);
|
|
2391
2391
|
if (l && h.visible && h instanceof bi) {
|
|
2392
|
-
const C =
|
|
2392
|
+
const C = wn(h, b) === y.BoxPlotSeries ? p?.y : Yi(h), x = h.dataFields?.customValue ?? "", L = {
|
|
2393
2393
|
element: {},
|
|
2394
2394
|
yAxisField: C,
|
|
2395
2395
|
xAxisField: c,
|
|
@@ -2412,7 +2412,7 @@ async function hu(t) {
|
|
|
2412
2412
|
}
|
|
2413
2413
|
}));
|
|
2414
2414
|
}
|
|
2415
|
-
}), f && (d = []), await
|
|
2415
|
+
}), f && (d = []), await Lo({
|
|
2416
2416
|
chart: e,
|
|
2417
2417
|
listSelectedElements: d,
|
|
2418
2418
|
selectionSource: o,
|
|
@@ -2430,7 +2430,7 @@ function Pb(t) {
|
|
|
2430
2430
|
s.selection
|
|
2431
2431
|
);
|
|
2432
2432
|
if (s.selection.hide(), r.width > 0 || r.height > 0) {
|
|
2433
|
-
const l =
|
|
2433
|
+
const l = Mn(n, e);
|
|
2434
2434
|
await hu({
|
|
2435
2435
|
chart: e,
|
|
2436
2436
|
cursorSelectionRectangle: r,
|
|
@@ -2457,10 +2457,10 @@ function Pb(t) {
|
|
|
2457
2457
|
}
|
|
2458
2458
|
});
|
|
2459
2459
|
}
|
|
2460
|
-
async function
|
|
2460
|
+
async function an(t) {
|
|
2461
2461
|
const { hitEvent: e, chart: i, queryObject: a, errorStrings: o } = t, { target: n } = e, s = D(i.uid, "actionMode");
|
|
2462
2462
|
if (i !== void 0 && gu(i) && s !== Q.None && s !== Q.Zoom && (n instanceof fe || e.point === void 0)) {
|
|
2463
|
-
const r = e.svgPoint ? { x: e.svgPoint.x, y: e.svgPoint.y, width: 0, height: 0 } : void 0, l =
|
|
2463
|
+
const r = e.svgPoint ? { x: e.svgPoint.x, y: e.svgPoint.y, width: 0, height: 0 } : void 0, l = Mn(e, i);
|
|
2464
2464
|
await hu({
|
|
2465
2465
|
chart: i,
|
|
2466
2466
|
cursorSelectionRectangle: r,
|
|
@@ -2476,20 +2476,20 @@ function Vb(t) {
|
|
|
2476
2476
|
const { chart: e, queryObject: i, errorStrings: a } = t;
|
|
2477
2477
|
Mt(e) && (e.zoomOutButton.hoverable = !0, e.events.on(
|
|
2478
2478
|
N.Hit,
|
|
2479
|
-
async (o) => await
|
|
2479
|
+
async (o) => await an({ hitEvent: o, chart: e, queryObject: i, errorStrings: a })
|
|
2480
2480
|
), e.events.on(
|
|
2481
2481
|
N.DoubleHit,
|
|
2482
|
-
async (o) => await
|
|
2482
|
+
async (o) => await an({ hitEvent: o, chart: e, queryObject: i, errorStrings: a })
|
|
2483
2483
|
));
|
|
2484
2484
|
}
|
|
2485
|
-
function
|
|
2485
|
+
function xo(t) {
|
|
2486
2486
|
const { chart: e, element: i, queryObject: a, errorStrings: o } = t;
|
|
2487
2487
|
i.events.on(
|
|
2488
2488
|
N.Hit,
|
|
2489
|
-
async (n) => await
|
|
2489
|
+
async (n) => await an({ hitEvent: n, chart: e, queryObject: a, errorStrings: o })
|
|
2490
2490
|
), i.events.on(
|
|
2491
2491
|
N.DoubleHit,
|
|
2492
|
-
async (n) => await
|
|
2492
|
+
async (n) => await an({ hitEvent: n, chart: e, queryObject: a, errorStrings: o })
|
|
2493
2493
|
);
|
|
2494
2494
|
}
|
|
2495
2495
|
async function Wb(t) {
|
|
@@ -2506,7 +2506,7 @@ async function Wb(t) {
|
|
|
2506
2506
|
return d;
|
|
2507
2507
|
}
|
|
2508
2508
|
).flat();
|
|
2509
|
-
await
|
|
2509
|
+
await Lo({
|
|
2510
2510
|
chart: e,
|
|
2511
2511
|
listSelectedElements: r,
|
|
2512
2512
|
selectionSource: ge.ProgrammaticSelection,
|
|
@@ -2515,25 +2515,25 @@ async function Wb(t) {
|
|
|
2515
2515
|
}), e instanceof Oe && e.feedLegend();
|
|
2516
2516
|
}
|
|
2517
2517
|
}
|
|
2518
|
-
function
|
|
2518
|
+
function ms(t) {
|
|
2519
2519
|
if (Mt(t))
|
|
2520
2520
|
if (t.events.disableType(N.Hit), t.events.disableType(N.DoubleHit), t instanceof Oe) {
|
|
2521
2521
|
const e = t.series.getIndex(0);
|
|
2522
2522
|
e !== void 0 && (e.slices.template.clickable = !1, e.slices.template.togglable = !1, e.slices.template.events.disableType(N.Hit), e.slices.template.events.disableType(N.DoubleHit), e.labels.template.clickable = !1, e.labels.template.togglable = !1, e.labels.template.events.disableType(N.Hit), e.labels.template.events.disableType(N.DoubleHit));
|
|
2523
|
-
} else t instanceof fe && (t.xAxes.each((e) =>
|
|
2523
|
+
} else t instanceof fe && (t.xAxes.each((e) => on(e, !0)), t.yAxes.each((e) => on(e, !0)), t.events.disableType(N.Up));
|
|
2524
2524
|
}
|
|
2525
2525
|
function Eb(t) {
|
|
2526
2526
|
if (Mt(t))
|
|
2527
2527
|
if (t.events.enableType(N.Hit), t.events.enableType(N.DoubleHit), t instanceof Oe) {
|
|
2528
2528
|
const e = t.series.getIndex(0);
|
|
2529
2529
|
e !== void 0 && (e.slices.template.clickable = !0, e.slices.template.togglable = !0, e.slices.template.events.enableType(N.Hit), e.slices.template.events.enableType(N.DoubleHit), e.labels.template.clickable = !0, e.labels.template.togglable = !0, e.labels.template.events.enableType(N.Hit), e.labels.template.events.enableType(N.DoubleHit));
|
|
2530
|
-
} else t instanceof fe && (t.xAxes.each((e) =>
|
|
2530
|
+
} else t instanceof fe && (t.xAxes.each((e) => on(e, !1)), t.yAxes.each((e) => on(e, !1)), t.events.enableType(N.Up));
|
|
2531
2531
|
}
|
|
2532
2532
|
function Da(t) {
|
|
2533
2533
|
const { element: e, stylingInfo: i, stateKey: a = "default" } = t;
|
|
2534
2534
|
if (e !== void 0 && i !== void 0) {
|
|
2535
2535
|
const o = e.states.getKey(a)?.properties ?? e.defaultState.properties;
|
|
2536
|
-
if (o.fill = i.pattern ?? i.fill, o.fillOpacity =
|
|
2536
|
+
if (o.fill = i.pattern ?? i.fill, o.fillOpacity = gn(o.fill.toString()).alpha === 0 ? 0 : 1, i.outline !== void 0) {
|
|
2537
2537
|
const { outline: n } = i;
|
|
2538
2538
|
o.stroke = n.stroke, o.strokeOpacity = n.stroke.alpha === 0 ? 0 : 1, o.strokeDasharray = n.strokeDasharray, o.strokeLinecap = n.strokeLinecap, o.strokeWidth = n.strokeWidth;
|
|
2539
2539
|
}
|
|
@@ -2628,7 +2628,7 @@ function Su(t, e) {
|
|
|
2628
2628
|
} else
|
|
2629
2629
|
t.getStrokeFromObject = !0, t.getFillFromObject = !0, t.background.strokeWidth = i?.outline?.width ?? Number.NaN, t.background.stroke = It(i?.outline?.color);
|
|
2630
2630
|
}
|
|
2631
|
-
function
|
|
2631
|
+
function Bn(t, e) {
|
|
2632
2632
|
if (t.tooltip) {
|
|
2633
2633
|
const i = e.dataTooltipFontSize ?? A.tooltipFontSize, o = qe(t.uid, "tooltipFontSize") !== i;
|
|
2634
2634
|
t.tooltip.label.fontSize = i, o && !t.tooltip.visible && (t.tooltip.label.html = ""), t.tooltip.label.invalidate(), Gt(t.uid, { tooltipFontSize: i });
|
|
@@ -2638,7 +2638,7 @@ function zb(t) {
|
|
|
2638
2638
|
const e = t.tooltip ?? new Yc();
|
|
2639
2639
|
e.pointerOrientation = "vertical", t instanceof We || t instanceof Ft ? e.label.maxWidth = A.boxPlot.boxPlotTooltipLabelWidth : e.label.maxWidth = A.tooltipWidth, e.label.wrap = !0;
|
|
2640
2640
|
const i = D(t.chart?.uid, "config"), a = i ? aa(t, i) : void 0;
|
|
2641
|
-
a !== void 0 &&
|
|
2641
|
+
a !== void 0 && Bn(t, a), e.events.on(N.Shown, (o) => {
|
|
2642
2642
|
const n = D(t.chart.uid, "config");
|
|
2643
2643
|
if (n !== void 0) {
|
|
2644
2644
|
const s = aa(t, n), { dataTooltipReverseColor: r } = s ?? {};
|
|
@@ -2670,7 +2670,7 @@ function Cu(t, e) {
|
|
|
2670
2670
|
const d = Rt({ config: s }), u = d ? c.valueX : c.valueY, f = (d ? c.values.valueX.totalPercent : c.values.valueY.totalPercent) / 100, g = c.dataContext ?? {};
|
|
2671
2671
|
if (g !== void 0) {
|
|
2672
2672
|
const h = D(n.uid, "rendererFieldNames"), b = ai({
|
|
2673
|
-
value:
|
|
2673
|
+
value: Fn(j([r]), r),
|
|
2674
2674
|
dataContext: g,
|
|
2675
2675
|
useRendererLabel: Ta(s, h),
|
|
2676
2676
|
config: s
|
|
@@ -2706,7 +2706,7 @@ function _b(t) {
|
|
|
2706
2706
|
} = t;
|
|
2707
2707
|
let l = s;
|
|
2708
2708
|
l === void 0 && (De(n) && n ? (l = n, e && (l.intlOptions.style = "decimal")) : l = br());
|
|
2709
|
-
const c = D(i.chart.uid, "formatLocale"), d = a !== void 0 ?
|
|
2709
|
+
const c = D(i.chart.uid, "formatLocale"), d = a !== void 0 ? mo({
|
|
2710
2710
|
value: a,
|
|
2711
2711
|
valueFormat: l,
|
|
2712
2712
|
iLocale: i.chart.language.locale,
|
|
@@ -2715,7 +2715,7 @@ function _b(t) {
|
|
|
2715
2715
|
let u = "";
|
|
2716
2716
|
if (e && o !== void 0) {
|
|
2717
2717
|
let f = r;
|
|
2718
|
-
f === void 0 && (f =
|
|
2718
|
+
f === void 0 && (f = Tn(), f.intlOptions.minimumFractionDigits = 2, f.intlOptions.maximumFractionDigits = 2), u = mo({
|
|
2719
2719
|
value: o,
|
|
2720
2720
|
valueFormat: f,
|
|
2721
2721
|
iLocale: i.chart.language.locale,
|
|
@@ -2775,12 +2775,12 @@ function xu(t) {
|
|
|
2775
2775
|
dateRange: l,
|
|
2776
2776
|
xAxisValueFormat: i,
|
|
2777
2777
|
isTimeOnlyField: c
|
|
2778
|
-
}) : bt(i) ? c && typeof r == "number" ? u = new Date(r).toLocaleTimeString(f) : (r instanceof Date || typeof r == "number" && Number.isFinite(r)) && (u =
|
|
2778
|
+
}) : bt(i) ? c && typeof r == "number" ? u = new Date(r).toLocaleTimeString(f) : (r instanceof Date || typeof r == "number" && Number.isFinite(r)) && (u = mo({
|
|
2779
2779
|
value: r,
|
|
2780
2780
|
valueFormat: n ?? i,
|
|
2781
2781
|
iLocale: s.chart.language.locale,
|
|
2782
2782
|
formatLocale: f
|
|
2783
|
-
})) : typeof r == "number" && De(i) ? u =
|
|
2783
|
+
})) : typeof r == "number" && De(i) ? u = mo({
|
|
2784
2784
|
value: r,
|
|
2785
2785
|
valueFormat: o ?? i,
|
|
2786
2786
|
iLocale: s.chart.language.locale,
|
|
@@ -2798,7 +2798,7 @@ function Xb(t) {
|
|
|
2798
2798
|
if (h === !1 || b === !1)
|
|
2799
2799
|
u = () => "";
|
|
2800
2800
|
else {
|
|
2801
|
-
const p = g.axes, S = p[0].valueFormat, C = p[1].valueFormat, x = j(g.series), L = i?.find(($) => $.name === s.x)?.type ===
|
|
2801
|
+
const p = g.axes, S = p[0].valueFormat, C = p[1].valueFormat, x = j(g.series), L = i?.find(($) => $.name === s.x)?.type === An.TimeOnly, v = nt(g) === ie.Stacked100, T = sa(et(a)).idField, k = Me(i, s.x), w = $a(k, p[0].title?.content.text), I = bu({
|
|
2802
2802
|
config: g,
|
|
2803
2803
|
fieldList: i,
|
|
2804
2804
|
objectIdField: T,
|
|
@@ -2867,7 +2867,7 @@ function vu(t) {
|
|
|
2867
2867
|
const { series: e, seriesConfig: i, tooltipFormatter: a } = t;
|
|
2868
2868
|
Gt(e.uid, {
|
|
2869
2869
|
barAndLineTooltipFormatter: a ?? Xb(t)
|
|
2870
|
-
}),
|
|
2870
|
+
}), Bn(e, i);
|
|
2871
2871
|
}
|
|
2872
2872
|
function Mr(t) {
|
|
2873
2873
|
const { target: e, defaultTooltipHTML: i, candleStickSeries: a, meanLineSeries: o, outliersSeries: n, tooltipCallback: s } = t;
|
|
@@ -3033,7 +3033,7 @@ function Qb(t) {
|
|
|
3033
3033
|
return c.forEach((f) => {
|
|
3034
3034
|
const g = ye({ key: f, y: o, splitBy: n }), h = e[g];
|
|
3035
3035
|
if (h != null && typeof h == "number") {
|
|
3036
|
-
const b = D(i.chart.uid, "formatLocale"), p =
|
|
3036
|
+
const b = D(i.chart.uid, "formatLocale"), p = mo({
|
|
3037
3037
|
value: h,
|
|
3038
3038
|
valueFormat: l,
|
|
3039
3039
|
iLocale: i.chart.language.locale,
|
|
@@ -3179,7 +3179,7 @@ function ey(t) {
|
|
|
3179
3179
|
const { series: e, seriesConfig: i, tooltipFormatter: a } = t;
|
|
3180
3180
|
Gt(e.uid, {
|
|
3181
3181
|
boxPlotTooltipFormatter: a ?? Jb(t)
|
|
3182
|
-
}),
|
|
3182
|
+
}), Bn(e, i);
|
|
3183
3183
|
}
|
|
3184
3184
|
function ty(t) {
|
|
3185
3185
|
const e = li(A.dataLabelInitialize);
|
|
@@ -3675,7 +3675,7 @@ function py(t) {
|
|
|
3675
3675
|
const d = o ? e.yAxes.getIndex(0) : e.xAxes.getIndex(0);
|
|
3676
3676
|
let u;
|
|
3677
3677
|
d instanceof Ne ? u = m.DateAxis : d instanceof Ae ? u = m.ValueAxis : u = m.CategoryAxis;
|
|
3678
|
-
const g = (a?.orderOptions?.data && "orderBy" in a.orderOptions.data ? a.orderOptions.data.orderBy ===
|
|
3678
|
+
const g = (a?.orderOptions?.data && "orderBy" in a.orderOptions.data ? a.orderOptions.data.orderBy === hn.Descending : !1) ? m.OrderByFieldsDESC : m.OrderByFieldsASC;
|
|
3679
3679
|
i = `${n}-${l}-${r}-${c}-${u}-${g}`;
|
|
3680
3680
|
}
|
|
3681
3681
|
return i;
|
|
@@ -3717,12 +3717,12 @@ function Sy(t, e) {
|
|
|
3717
3717
|
if (o instanceof yi)
|
|
3718
3718
|
D(e.uid, "isNonAggregatedChart") === !0 ? n.sliceData = o.dataContext : n.sliceId = o.category;
|
|
3719
3719
|
else if (o instanceof We) {
|
|
3720
|
-
const r = o.id, l =
|
|
3720
|
+
const r = o.id, l = vo(e, r);
|
|
3721
3721
|
if (l !== void 0) {
|
|
3722
3722
|
const f = D(e.uid, "config"), g = Vr(f?.showOutliers, a), h = Pe(l);
|
|
3723
3723
|
h !== void 0 && (h.disabled = !g), ce(l, g);
|
|
3724
3724
|
}
|
|
3725
|
-
const { topStepLineSeries: c, medianStepLineSeries: d, bottomStepLineSeries: u } =
|
|
3725
|
+
const { topStepLineSeries: c, medianStepLineSeries: d, bottomStepLineSeries: u } = Nn(
|
|
3726
3726
|
e,
|
|
3727
3727
|
r
|
|
3728
3728
|
);
|
|
@@ -3819,7 +3819,7 @@ function Fy(t) {
|
|
|
3819
3819
|
typeof u == "string" ? n = u : u && typeof u != "object" && (n = u.toString());
|
|
3820
3820
|
} else a.dataItem?.component instanceof Wc && (n = a.dataItem.component.name);
|
|
3821
3821
|
}
|
|
3822
|
-
return (n !== void 0 && !Fe(n) ?
|
|
3822
|
+
return (n !== void 0 && !Fe(n) ? ho(n) : n) ?? o;
|
|
3823
3823
|
}), t.valueLabels.template.adapter.add("maxWidth", (i) => {
|
|
3824
3824
|
let a = i, o;
|
|
3825
3825
|
return t.baseSprite instanceof Oe && (o = D(t.baseSprite.uid, "config")?.legend?.valueLabelMaxWidth), t.position === H.Right || t.position === H.Left ? a = o ?? A.legendProperties.valueLabels.maxWidth : a = o ?? Number.NaN, a;
|
|
@@ -3831,7 +3831,7 @@ function Ay(t, e) {
|
|
|
3831
3831
|
function Ty(t) {
|
|
3832
3832
|
t.itemContainers.template.reverseOrder = t.rtl;
|
|
3833
3833
|
}
|
|
3834
|
-
function
|
|
3834
|
+
function Bo(t, e) {
|
|
3835
3835
|
t.adapter.keys().includes(e) || t.adapter.add(e, (i) => {
|
|
3836
3836
|
let a = i;
|
|
3837
3837
|
const o = t.dataItem?.dataContext;
|
|
@@ -3848,7 +3848,7 @@ function No(t, e) {
|
|
|
3848
3848
|
function Kl(t) {
|
|
3849
3849
|
t.markers.each((e) => {
|
|
3850
3850
|
const i = e.children.getIndex(0);
|
|
3851
|
-
i instanceof Jm && (
|
|
3851
|
+
i instanceof Jm && (Bo(i, "cornerRadiusBottomLeft"), Bo(i, "cornerRadiusBottomRight"), Bo(i, "cornerRadiusTopLeft"), Bo(i, "cornerRadiusTopRight"), i.validate());
|
|
3852
3852
|
});
|
|
3853
3853
|
}
|
|
3854
3854
|
function ky(t) {
|
|
@@ -3959,7 +3959,7 @@ function My(t) {
|
|
|
3959
3959
|
rendererType: rr(i.chartRenderer, k?.renderer)
|
|
3960
3960
|
}), Ou(u, p);
|
|
3961
3961
|
const w = Rr({ chart: e, lineSeries: p, applyPropertiesToClones: !1 });
|
|
3962
|
-
return Cu(w, p), ty(p), ma({ element: w, customSelectionTheme: s }),
|
|
3962
|
+
return Cu(w, p), ty(p), ma({ element: w, customSelectionTheme: s }), xo({ chart: e, element: w, queryObject: n, errorStrings: l }), Ib({
|
|
3963
3963
|
chart: e,
|
|
3964
3964
|
numberOfChartSeries: c,
|
|
3965
3965
|
series: p,
|
|
@@ -3977,9 +3977,9 @@ function By(t) {
|
|
|
3977
3977
|
f === void 0 && (f = kd(), f.color = s), n ? f.color = s : f.color ??= s;
|
|
3978
3978
|
const g = /* @__PURE__ */ new Set();
|
|
3979
3979
|
let h, b;
|
|
3980
|
-
|
|
3980
|
+
en({ element: l, markerSymbol: f }), l.clones.each((p) => {
|
|
3981
3981
|
if (p.dataItem instanceof na)
|
|
3982
|
-
|
|
3982
|
+
en({ element: p, markerSymbol: f }), p.states.getKey(rt.CustomActive)?.reset(), p.states.getKey(rt.CustomInactive)?.reset();
|
|
3983
3983
|
else {
|
|
3984
3984
|
const S = p.dataItem?.dataContext, C = S?.[A.xAxisField] === A.nullValue, x = Et({
|
|
3985
3985
|
seriesConfig: o,
|
|
@@ -4034,7 +4034,7 @@ function Ru(t) {
|
|
|
4034
4034
|
return ce(r, a.visible), c.symbolWithColorInfo;
|
|
4035
4035
|
}
|
|
4036
4036
|
function Ou(t, e) {
|
|
4037
|
-
t.showArea === !0 ? t.areaColor !== void 0 ? (e.fill = It(t.areaColor), e.fillOpacity = e.fill.alpha === 0 ? 0 : 1) : (e.fill =
|
|
4037
|
+
t.showArea === !0 ? t.areaColor !== void 0 ? (e.fill = It(t.areaColor), e.fillOpacity = e.fill.alpha === 0 ? 0 : 1) : (e.fill = gn(e.stroke.hex, 1), e.fillOpacity = A.lineSeries.areaOpacity) : e.fillOpacity = 0;
|
|
4038
4038
|
}
|
|
4039
4039
|
function Du(t) {
|
|
4040
4040
|
const { series: e, seriesIndexMapper: i, seriesSymbolMapForEvent: a, seriesIndex: o, colorMatch: n, rendererType: s } = t, r = t.seriesConfig, l = D(e.chart.uid, "config"), c = l?.series.length ?? 0, d = j(l?.series);
|
|
@@ -4062,7 +4062,7 @@ function Du(t) {
|
|
|
4062
4062
|
data: a,
|
|
4063
4063
|
htmlContainer: e.chart.htmlContainer,
|
|
4064
4064
|
chartId: e.chart.id,
|
|
4065
|
-
colorMatchApplied:
|
|
4065
|
+
colorMatchApplied: Dn(e.chart)
|
|
4066
4066
|
}), e.chart.feedLegend());
|
|
4067
4067
|
}
|
|
4068
4068
|
function Py(t) {
|
|
@@ -4093,7 +4093,7 @@ function Wy(t) {
|
|
|
4093
4093
|
queryObject: l,
|
|
4094
4094
|
fieldName: Qt(C),
|
|
4095
4095
|
fieldValue: S
|
|
4096
|
-
}) ?? S), Ha(i, S), Or({ series: i, seriesConfig: e, rotationChanged: o, stackedType: r, isRotated: b }), Vy(i, e),
|
|
4096
|
+
}) ?? S), Ha(i, S), Or({ series: i, seriesConfig: e, rotationChanged: o, stackedType: r, isRotated: b }), Vy(i, e), $n({
|
|
4097
4097
|
styleCallback: () => Du(t),
|
|
4098
4098
|
series: i,
|
|
4099
4099
|
seriesConfig: e
|
|
@@ -4115,7 +4115,7 @@ function Wy(t) {
|
|
|
4115
4115
|
customDataLabelFormatter: c?.dataLabelFormatter
|
|
4116
4116
|
});
|
|
4117
4117
|
}
|
|
4118
|
-
function
|
|
4118
|
+
function Nn(t, e) {
|
|
4119
4119
|
const i = t.series.values.find(
|
|
4120
4120
|
(n) => n.id === `${e}_${me.Top}`
|
|
4121
4121
|
), a = t.series.values.find(
|
|
@@ -4125,7 +4125,7 @@ function Pn(t, e) {
|
|
|
4125
4125
|
);
|
|
4126
4126
|
return { topStepLineSeries: i, medianStepLineSeries: a, bottomStepLineSeries: o };
|
|
4127
4127
|
}
|
|
4128
|
-
function
|
|
4128
|
+
function vo(t, e) {
|
|
4129
4129
|
return t.series.values.find((i) => i.id === `${e}_${me.Outliers}`);
|
|
4130
4130
|
}
|
|
4131
4131
|
function Vr(t, e) {
|
|
@@ -4148,7 +4148,7 @@ function Ey(t, e) {
|
|
|
4148
4148
|
}
|
|
4149
4149
|
if (o) {
|
|
4150
4150
|
const n = aa(a, i);
|
|
4151
|
-
n && (a.data =
|
|
4151
|
+
n && (a.data = bo({ chartConfig: i, data: e, seriesConfig: n, seriesType: o }));
|
|
4152
4152
|
}
|
|
4153
4153
|
});
|
|
4154
4154
|
}
|
|
@@ -4157,7 +4157,7 @@ function zy(t) {
|
|
|
4157
4157
|
return f.hoverable = !0, l || (ma({
|
|
4158
4158
|
element: f.columns.template,
|
|
4159
4159
|
customSelectionTheme: n
|
|
4160
|
-
}),
|
|
4160
|
+
}), xo({ chart: e, element: f.columns.template, queryObject: s, errorStrings: r })), f.id = c.id, d !== void 0 && (f.xAxis = d), u !== void 0 && (f.yAxis = u), f.simplifiedProcessing = !0, f.columns.template.applyOnClones = !0, f.riseFromOpenState.reset(), f.riseFromPreviousState.reset(), f.dropFromOpenState.reset(), f.dropFromPreviousState.reset(), Ha(f, c.name), Vt({
|
|
4161
4161
|
seriesConfig: c,
|
|
4162
4162
|
seriesIndex: o,
|
|
4163
4163
|
seriesSymbol: c.fillSymbol ?? Ia(o),
|
|
@@ -4173,7 +4173,7 @@ function zy(t) {
|
|
|
4173
4173
|
isChartFillSymbol: !0
|
|
4174
4174
|
}), fa(f), f;
|
|
4175
4175
|
}
|
|
4176
|
-
function
|
|
4176
|
+
function gs(t) {
|
|
4177
4177
|
const { axisList: e = [], chartConfig: i, seriesIndex: a, type: o, selectionTheme: n } = t, s = i.series[a], [r, l] = e, c = new Ft();
|
|
4178
4178
|
c.hoverable = !0, c.id = `${s.id}_${o}`, r !== void 0 && (c.xAxis = r), l !== void 0 && (c.yAxis = l), c.noRisers = !0, c.simplifiedProcessing = !0, ma({
|
|
4179
4179
|
element: c.segments.template,
|
|
@@ -4199,7 +4199,7 @@ function Hy(t) {
|
|
|
4199
4199
|
return c || (ma({
|
|
4200
4200
|
element: g,
|
|
4201
4201
|
customSelectionTheme: n
|
|
4202
|
-
}),
|
|
4202
|
+
}), xo({ chart: e, element: g, queryObject: s, errorStrings: r })), fa(f), f;
|
|
4203
4203
|
}
|
|
4204
4204
|
function _a(t) {
|
|
4205
4205
|
const {
|
|
@@ -4224,7 +4224,7 @@ function _a(t) {
|
|
|
4224
4224
|
chartSubType: B,
|
|
4225
4225
|
splitBy: M,
|
|
4226
4226
|
showOutliers: x,
|
|
4227
|
-
standardizeValues:
|
|
4227
|
+
standardizeValues: no(B) ? L : !1,
|
|
4228
4228
|
key: ee.Average
|
|
4229
4229
|
});
|
|
4230
4230
|
T ? (a.dataFields.valueX = P, a.dataFields.categoryY = g) : (a.dataFields.valueY = P, a.dataFields.categoryX = g), a.dataFields.customValue = M;
|
|
@@ -4234,7 +4234,7 @@ function _a(t) {
|
|
|
4234
4234
|
chartSubType: w,
|
|
4235
4235
|
splitBy: I,
|
|
4236
4236
|
showOutliers: x,
|
|
4237
|
-
standardizeValues:
|
|
4237
|
+
standardizeValues: no(w) ? L : !1
|
|
4238
4238
|
};
|
|
4239
4239
|
if (p) {
|
|
4240
4240
|
if (o instanceof We) {
|
|
@@ -4282,7 +4282,7 @@ function _y(t) {
|
|
|
4282
4282
|
const { chart: e, axisList: i = [], chartConfig: a, seriesIndex: o, selectionTheme: n, queryObject: s, errorStrings: r } = t, l = a.series[o], [c, d] = i, u = new Ce();
|
|
4283
4283
|
Gt(u.uid, { isBoxPlotMeanLineSeries: !0 }), u.id = l.id, c !== void 0 && (u.xAxis = c), d !== void 0 && (u.yAxis = d), u.simplifiedProcessing = !0;
|
|
4284
4284
|
const f = Rr({ chart: e, lineSeries: u });
|
|
4285
|
-
return ma({ element: f, customSelectionTheme: n }),
|
|
4285
|
+
return ma({ element: f, customSelectionTheme: n }), xo({ chart: e, element: f, queryObject: s, errorStrings: r }), Vt({
|
|
4286
4286
|
seriesConfig: l,
|
|
4287
4287
|
seriesIndex: o,
|
|
4288
4288
|
seriesSymbol: l.lineSymbol ?? Sr(o),
|
|
@@ -4298,13 +4298,13 @@ function _y(t) {
|
|
|
4298
4298
|
function Gy(t) {
|
|
4299
4299
|
const { chartConfig: e, seriesIndex: i } = t, a = e.series[i], o = W([a]), n = [];
|
|
4300
4300
|
if (o === y.BoxPlotSeries) {
|
|
4301
|
-
const s = zy(t), r =
|
|
4301
|
+
const s = zy(t), r = gs({
|
|
4302
4302
|
...t,
|
|
4303
4303
|
type: me.Top
|
|
4304
|
-
}), l =
|
|
4304
|
+
}), l = gs({
|
|
4305
4305
|
...t,
|
|
4306
4306
|
type: me.Median
|
|
4307
|
-
}), c =
|
|
4307
|
+
}), c = gs({
|
|
4308
4308
|
...t,
|
|
4309
4309
|
type: me.Bottom
|
|
4310
4310
|
}), d = Hy(t);
|
|
@@ -4340,7 +4340,7 @@ function Xy(t) {
|
|
|
4340
4340
|
rendererType: s
|
|
4341
4341
|
});
|
|
4342
4342
|
a?.outline !== void 0 && l && (r.outline.stroke = ia(A.boxPlot.boxPlotWhiskersColor));
|
|
4343
|
-
const { topStepLineSeries: c, medianStepLineSeries: d, bottomStepLineSeries: u } =
|
|
4343
|
+
const { topStepLineSeries: c, medianStepLineSeries: d, bottomStepLineSeries: u } = Nn(
|
|
4344
4344
|
e.chart,
|
|
4345
4345
|
e.id
|
|
4346
4346
|
);
|
|
@@ -4354,13 +4354,13 @@ function Xy(t) {
|
|
|
4354
4354
|
function Yy(t) {
|
|
4355
4355
|
const { candleStickSeries: e, seriesConfig: i, showOutliers: a, seriesSymbol: o } = t;
|
|
4356
4356
|
if (o !== void 0) {
|
|
4357
|
-
const n =
|
|
4357
|
+
const n = vo(e.chart, e.id);
|
|
4358
4358
|
if (n !== void 0) {
|
|
4359
4359
|
const s = Pe(n);
|
|
4360
4360
|
if (s !== void 0) {
|
|
4361
4361
|
const r = Vr(a, i.visible), l = {
|
|
4362
4362
|
type: Z.SMS,
|
|
4363
|
-
style:
|
|
4363
|
+
style: qo.Circle,
|
|
4364
4364
|
color: o.color,
|
|
4365
4365
|
size: A.boxPlot.boxPlotOutliersSize
|
|
4366
4366
|
};
|
|
@@ -4368,7 +4368,7 @@ function Yy(t) {
|
|
|
4368
4368
|
const d = e.dataItems.values.find(
|
|
4369
4369
|
(u) => (u.categories.categoryX ?? u.categories.categoryY) === (c.dataItem?.categories.categoryX ?? c.dataItem?.categories.categoryY)
|
|
4370
4370
|
)?.column?.fill;
|
|
4371
|
-
|
|
4371
|
+
en({
|
|
4372
4372
|
element: c,
|
|
4373
4373
|
markerSymbol: {
|
|
4374
4374
|
...l,
|
|
@@ -4478,7 +4478,7 @@ function jy(t) {
|
|
|
4478
4478
|
data: s,
|
|
4479
4479
|
htmlContainer: e.chart.htmlContainer,
|
|
4480
4480
|
chartId: e.chart.id,
|
|
4481
|
-
colorMatchApplied:
|
|
4481
|
+
colorMatchApplied: Dn(e.chart)
|
|
4482
4482
|
});
|
|
4483
4483
|
}
|
|
4484
4484
|
function qy(t) {
|
|
@@ -4486,12 +4486,12 @@ function qy(t) {
|
|
|
4486
4486
|
if (n !== void 0) {
|
|
4487
4487
|
const { cellStartLocation: s, cellEndLocation: r } = n, l = s / (a === !0 ? 1 : e), c = i.series.values.filter((d) => d instanceof We);
|
|
4488
4488
|
c.forEach((d, u) => {
|
|
4489
|
-
const f = s + u / c.length * (r - s) + l, g = s + (u + 1) / c.length * (r - s) - l, { topStepLineSeries: h, medianStepLineSeries: b, bottomStepLineSeries: p } =
|
|
4489
|
+
const f = s + u / c.length * (r - s) + l, g = s + (u + 1) / c.length * (r - s) - l, { topStepLineSeries: h, medianStepLineSeries: b, bottomStepLineSeries: p } = Nn(
|
|
4490
4490
|
i,
|
|
4491
4491
|
d.id
|
|
4492
4492
|
);
|
|
4493
4493
|
h !== void 0 && (h.startLocation = f, h.endLocation = g), b !== void 0 && (b.startLocation = f, b.endLocation = g), p !== void 0 && (p.startLocation = f, p.endLocation = g);
|
|
4494
|
-
const S =
|
|
4494
|
+
const S = vo(i, d.id);
|
|
4495
4495
|
if (S !== void 0) {
|
|
4496
4496
|
const C = (f + g) / 2;
|
|
4497
4497
|
o ? S.dataItems.template.locations.categoryY = C : S.dataItems.template.locations.categoryX = C;
|
|
@@ -4509,7 +4509,7 @@ function Zy(t) {
|
|
|
4509
4509
|
rotationChanged: s,
|
|
4510
4510
|
outliersVisibilityChanged: r,
|
|
4511
4511
|
standardizeValuesVisibilityChanged: l
|
|
4512
|
-
} = t, c =
|
|
4512
|
+
} = t, c = vo(e, o);
|
|
4513
4513
|
if (c !== void 0) {
|
|
4514
4514
|
const d = Pe(c);
|
|
4515
4515
|
if (d !== void 0) {
|
|
@@ -4571,7 +4571,7 @@ function Jy(t) {
|
|
|
4571
4571
|
outliersVisibilityChanged: n,
|
|
4572
4572
|
standardizeValuesVisibilityChanged: s,
|
|
4573
4573
|
rotationChanged: r
|
|
4574
|
-
} = t, l = a.visible !== !1, { topStepLineSeries: c, medianStepLineSeries: d, bottomStepLineSeries: u } =
|
|
4574
|
+
} = t, l = a.visible !== !1, { topStepLineSeries: c, medianStepLineSeries: d, bottomStepLineSeries: u } = Nn(
|
|
4575
4575
|
e,
|
|
4576
4576
|
o
|
|
4577
4577
|
);
|
|
@@ -4643,7 +4643,7 @@ function eS(t) {
|
|
|
4643
4643
|
outliersVisibilityChanged: n,
|
|
4644
4644
|
standardizeValuesVisibilityChanged: c
|
|
4645
4645
|
});
|
|
4646
|
-
|
|
4646
|
+
$n({
|
|
4647
4647
|
styleCallback: () => jy(t),
|
|
4648
4648
|
series: i,
|
|
4649
4649
|
seriesConfig: r
|
|
@@ -4674,7 +4674,7 @@ function iS(t, e = !0) {
|
|
|
4674
4674
|
let i;
|
|
4675
4675
|
t.series.each((a, o) => {
|
|
4676
4676
|
if (!e || a.visible) {
|
|
4677
|
-
i =
|
|
4677
|
+
i = wn(a, o);
|
|
4678
4678
|
let n = [];
|
|
4679
4679
|
if (i === y.BarSeries)
|
|
4680
4680
|
n = a.columns?.values;
|
|
@@ -4752,7 +4752,7 @@ function sS(t) {
|
|
|
4752
4752
|
xAxisField: l,
|
|
4753
4753
|
yAxisField: c,
|
|
4754
4754
|
queryObject: d
|
|
4755
|
-
} = t, u = W(i.series), f = j(i.series), g = Fi(i), h =
|
|
4755
|
+
} = t, u = W(i.series), f = j(i.series), g = Fi(i), h = Sn(i), b = [], p = [], S = [], C = ui(i.series), x = a instanceof bi ? a.dataFields?.customValue ?? "" : "";
|
|
4756
4756
|
return n.forEach((L) => {
|
|
4757
4757
|
if (!(L instanceof na)) {
|
|
4758
4758
|
let v = L.dataItem?.dataContext;
|
|
@@ -4766,7 +4766,7 @@ function sS(t) {
|
|
|
4766
4766
|
chartSubType: f,
|
|
4767
4767
|
showOutliers: g,
|
|
4768
4768
|
isFeatureCollectionLayer: Ci(d)
|
|
4769
|
-
})),
|
|
4769
|
+
})), Rn({
|
|
4770
4770
|
elementDataContext: v,
|
|
4771
4771
|
options: o,
|
|
4772
4772
|
selectionItems: s,
|
|
@@ -4783,7 +4783,7 @@ function sS(t) {
|
|
|
4783
4783
|
S.push(v);
|
|
4784
4784
|
else {
|
|
4785
4785
|
const k = /* @__PURE__ */ new Set();
|
|
4786
|
-
u === y.PieSeries && ki(v) ? (
|
|
4786
|
+
u === y.PieSeries && ki(v) ? (Co({
|
|
4787
4787
|
groupOfSlicesDataContext: v
|
|
4788
4788
|
}) ?? []).forEach((I) => {
|
|
4789
4789
|
s.forEach((O) => {
|
|
@@ -4822,7 +4822,7 @@ function rS(t) {
|
|
|
4822
4822
|
const { chart: e, selectionIndexes: i, queryObject: a } = t, o = [], n = [], s = D(e.uid, "config"), r = Fi(s), l = ui(s?.series ?? []), c = j(s?.series);
|
|
4823
4823
|
return e.series.each((d, u) => {
|
|
4824
4824
|
if (s && d.visible) {
|
|
4825
|
-
const f = s.series[0].x, g = Yi(d), h = d instanceof bi ? d.dataFields?.customValue ?? "" : "", b =
|
|
4825
|
+
const f = s.series[0].x, g = Yi(d), h = d instanceof bi ? d.dataFields?.customValue ?? "" : "", b = wn(d, u), p = i.get(u);
|
|
4826
4826
|
if (p !== void 0) {
|
|
4827
4827
|
let S;
|
|
4828
4828
|
if (d instanceof ct ? S = d.columns : d instanceof Wt ? S = d.slices : S = Pe(d)?.clones, S !== void 0) {
|
|
@@ -4881,7 +4881,7 @@ function lS(t) {
|
|
|
4881
4881
|
if (e.chart instanceof fe) {
|
|
4882
4882
|
if (e instanceof We && a !== !0) {
|
|
4883
4883
|
o = [...e.columns.values];
|
|
4884
|
-
const n =
|
|
4884
|
+
const n = vo(e.chart, e.id);
|
|
4885
4885
|
if (n !== void 0 && n.visible) {
|
|
4886
4886
|
const s = Pe(n);
|
|
4887
4887
|
s !== void 0 && o.push(...s.clones.values);
|
|
@@ -4914,7 +4914,7 @@ function cS(t) {
|
|
|
4914
4914
|
returnSelectionOIDs: h,
|
|
4915
4915
|
selectionByIndexesChanged: b = !1,
|
|
4916
4916
|
selectionByItemsChanged: p = !1
|
|
4917
|
-
} = o ?? {}, { selectionIndexes: S, selectionFilters: C } = f ?? {}, { chart: x } = e, L = D(x.uid, "config"), v = mt(a), T = Fi(L), k =
|
|
4917
|
+
} = o ?? {}, { selectionIndexes: S, selectionFilters: C } = f ?? {}, { chart: x } = e, L = D(x.uid, "config"), v = mt(a), T = Fi(L), k = Sn(L), w = Ct(L), I = W(L?.series);
|
|
4918
4918
|
if (u !== !0 && L !== void 0) {
|
|
4919
4919
|
const O = lS({
|
|
4920
4920
|
series: e,
|
|
@@ -4945,7 +4945,7 @@ function cS(t) {
|
|
|
4945
4945
|
yAxisField: c
|
|
4946
4946
|
});
|
|
4947
4947
|
let X = D(x.uid, "computedSelectionItems") ?? [];
|
|
4948
|
-
if (X.push(...q), L.series.length > 1 && $ !== V.BarAndLineNoAggregation && $ !== V.BarAndLineSplitByNoAggregation && (X =
|
|
4948
|
+
if (X.push(...q), L.series.length > 1 && $ !== V.BarAndLineNoAggregation && $ !== V.BarAndLineSplitByNoAggregation && (X = yn({
|
|
4949
4949
|
data: X,
|
|
4950
4950
|
x: L.series[0].x,
|
|
4951
4951
|
splitByField: Qt(L.series[0].query?.where)
|
|
@@ -4974,7 +4974,7 @@ function cS(t) {
|
|
|
4974
4974
|
chartSubType: $,
|
|
4975
4975
|
showOutliers: T,
|
|
4976
4976
|
isFeatureCollectionLayer: Ci(a)
|
|
4977
|
-
})),
|
|
4977
|
+
})), Rn({
|
|
4978
4978
|
elementDataContext: z,
|
|
4979
4979
|
options: o,
|
|
4980
4980
|
selectionItems: _ ?? [],
|
|
@@ -5057,7 +5057,7 @@ function dS(t) {
|
|
|
5057
5057
|
}
|
|
5058
5058
|
}
|
|
5059
5059
|
}
|
|
5060
|
-
async function
|
|
5060
|
+
async function Lo(t) {
|
|
5061
5061
|
const { chart: e, listSelectedElements: i, selectionSource: a, queryObject: o, errorStrings: n } = t, s = D(e.uid, "options"), r = D(e.uid, "config"), l = mt(o);
|
|
5062
5062
|
if (r)
|
|
5063
5063
|
if (i.length === 0)
|
|
@@ -5127,7 +5127,7 @@ async function Fo(t) {
|
|
|
5127
5127
|
for (let $ = 0; $ < O.length; $ += 1)
|
|
5128
5128
|
b.push(O[$]);
|
|
5129
5129
|
}
|
|
5130
|
-
r.series.length > 1 && x !== V.BarAndLineNoAggregation && x !== V.BarAndLineSplitByNoAggregation && (h =
|
|
5130
|
+
r.series.length > 1 && x !== V.BarAndLineNoAggregation && x !== V.BarAndLineSplitByNoAggregation && (h = yn({
|
|
5131
5131
|
data: h,
|
|
5132
5132
|
x: r.series[0].x,
|
|
5133
5133
|
splitByField: Qt(r.series[0].query?.where)
|
|
@@ -5167,12 +5167,12 @@ async function fS(t, e, i) {
|
|
|
5167
5167
|
if (h instanceof js)
|
|
5168
5168
|
s.push(h.column);
|
|
5169
5169
|
else {
|
|
5170
|
-
const b = h.sprites.find((p) => !(p instanceof
|
|
5170
|
+
const b = h.sprites.find((p) => !(p instanceof _o));
|
|
5171
5171
|
b !== void 0 && s.push(b);
|
|
5172
5172
|
}
|
|
5173
5173
|
}
|
|
5174
5174
|
});
|
|
5175
|
-
const l =
|
|
5175
|
+
const l = Mn(t, n), c = o instanceof Ne || o instanceof lt, d = [], u = D(n.uid, "config");
|
|
5176
5176
|
if (u) {
|
|
5177
5177
|
const f = u.series[0].x ?? "";
|
|
5178
5178
|
n.series.each((g, h) => {
|
|
@@ -5198,7 +5198,7 @@ async function fS(t, e, i) {
|
|
|
5198
5198
|
});
|
|
5199
5199
|
});
|
|
5200
5200
|
}
|
|
5201
|
-
}), await
|
|
5201
|
+
}), await Lo({
|
|
5202
5202
|
chart: n,
|
|
5203
5203
|
listSelectedElements: d,
|
|
5204
5204
|
selectionSource: ge.SelectionByClick,
|
|
@@ -5217,7 +5217,7 @@ function mS(t) {
|
|
|
5217
5217
|
Ts(e, n);
|
|
5218
5218
|
}
|
|
5219
5219
|
}
|
|
5220
|
-
function
|
|
5220
|
+
function on(t, e) {
|
|
5221
5221
|
if (Mt(t?.renderer?.labels?.template) && (t instanceof lt || t instanceof Ne))
|
|
5222
5222
|
if (e)
|
|
5223
5223
|
t.renderer.labels.template.events.disableType(N.Hit), Ts(t, qt.default);
|
|
@@ -5244,8 +5244,8 @@ function gS(t, e) {
|
|
|
5244
5244
|
}
|
|
5245
5245
|
}
|
|
5246
5246
|
function hS(t, e) {
|
|
5247
|
-
const i = t.renderer instanceof
|
|
5248
|
-
return i.disabled = !0, i.axis = t,
|
|
5247
|
+
const i = t.renderer instanceof mn ? new qs() : new Us();
|
|
5248
|
+
return i.disabled = !0, i.axis = t, On(i), Wi(i.uid, { isGuide: e }), uo({ chart: t.chart, label: i, labelType: J.GuideLabel }), gS(t, i), i;
|
|
5249
5249
|
}
|
|
5250
5250
|
function pS(t) {
|
|
5251
5251
|
const { label: e, labelConfig: i, guideType: a } = t, o = e.axis.renderer instanceof At;
|
|
@@ -5262,14 +5262,14 @@ function bS(t, e, i) {
|
|
|
5262
5262
|
), t.axisFill.tooltip.boundingContainer = a.chartAndLegendContainer, t.axisFill.adapter.add("tooltipHTML", (o, n) => {
|
|
5263
5263
|
let s = o;
|
|
5264
5264
|
const { dataItem: r, axis: l } = n;
|
|
5265
|
-
if (!(l.renderer instanceof
|
|
5265
|
+
if (!(l.renderer instanceof mn)) {
|
|
5266
5266
|
const c = it(
|
|
5267
5267
|
l.uid,
|
|
5268
5268
|
"guideTooltipFormatter"
|
|
5269
5269
|
);
|
|
5270
5270
|
if (c !== void 0) {
|
|
5271
5271
|
let d = "", u;
|
|
5272
|
-
r instanceof Zs ? (d = r.value, u = r.endValue) : r instanceof Aa ? (d = r.category, u = r.endCategory) : r instanceof
|
|
5272
|
+
r instanceof Zs ? (d = r.value, u = r.endValue) : r instanceof Aa ? (d = r.category, u = r.endCategory) : r instanceof fn && (d = r.date, u = r.endDate), s = c({
|
|
5273
5273
|
guideName: r.id ?? "",
|
|
5274
5274
|
start: d,
|
|
5275
5275
|
end: u,
|
|
@@ -5281,7 +5281,7 @@ function bS(t, e, i) {
|
|
|
5281
5281
|
}), t.axisFill.tooltip.events.on(N.Shown, (o) => {
|
|
5282
5282
|
const n = D(t.axisFill.axis.chart.uid, "config");
|
|
5283
5283
|
if (n !== void 0) {
|
|
5284
|
-
const s = D(t.axisFill.axis.chart.uid, "isRotated"), l = !
|
|
5284
|
+
const s = D(t.axisFill.axis.chart.uid, "isRotated"), l = !Fo(t.axisFill.axis.renderer, s) ? 1 : 0, d = n.axes?.[l]?.guides, { tooltipReverseColor: u } = d?.[e] ?? {};
|
|
5285
5285
|
Su(o.target, u);
|
|
5286
5286
|
}
|
|
5287
5287
|
});
|
|
@@ -5291,7 +5291,7 @@ function yS(t, e) {
|
|
|
5291
5291
|
const { guideName: a, start: o, end: n, guideIndex: s } = i, { chart: r } = t;
|
|
5292
5292
|
let l = "";
|
|
5293
5293
|
if (r !== void 0) {
|
|
5294
|
-
const c = D(r.uid, "config"), d = D(r.uid, "isRotated"), f = !
|
|
5294
|
+
const c = D(r.uid, "config"), d = D(r.uid, "isRotated"), f = !Fo(t.renderer, d) ? 1 : 0, h = c?.axes?.[f]?.guides;
|
|
5295
5295
|
let b = o, p = n;
|
|
5296
5296
|
if (t instanceof Ne) {
|
|
5297
5297
|
let L = new _c(), v;
|
|
@@ -5344,7 +5344,7 @@ function Ql(t) {
|
|
|
5344
5344
|
break;
|
|
5345
5345
|
case Ca.Value:
|
|
5346
5346
|
if (typeof e != "number") {
|
|
5347
|
-
const s = e.toString().trim(), r =
|
|
5347
|
+
const s = e.toString().trim(), r = bn(s);
|
|
5348
5348
|
r !== void 0 ? a !== void 0 && o !== void 0 ? n = r / 100 * (o - a) + a : n = null : n = Number.parseFloat(s);
|
|
5349
5349
|
}
|
|
5350
5350
|
break;
|
|
@@ -5415,7 +5415,7 @@ function vS(t, e) {
|
|
|
5415
5415
|
o !== -1 && (i = o);
|
|
5416
5416
|
}
|
|
5417
5417
|
let a;
|
|
5418
|
-
return t instanceof lt ? a = new Aa() : t instanceof Ne ? a = new
|
|
5418
|
+
return t instanceof lt ? a = new Aa() : t instanceof Ne ? a = new fn() : a = new Zs(), t.axisRanges.insertIndex(i, a), a.label = hS(t, e), a.axisFill.fillOpacity = 1, a.axisFill.disabled = !0, a.grid.strokeOpacity = 1, a;
|
|
5419
5419
|
}
|
|
5420
5420
|
function LS(t, e) {
|
|
5421
5421
|
const i = vS(t, !0);
|
|
@@ -5450,7 +5450,7 @@ function AS(t, e) {
|
|
|
5450
5450
|
};
|
|
5451
5451
|
} else
|
|
5452
5452
|
n = Wr(t.axisFill.axis, e);
|
|
5453
|
-
n.isValidGuide && (t instanceof Aa ? (t.category = `${n.start?.toString()}`, t.endCategory = `${n.end?.toString()}`) : t instanceof
|
|
5453
|
+
n.isValidGuide && (t instanceof Aa ? (t.category = `${n.start?.toString()}`, t.endCategory = `${n.end?.toString()}`) : t instanceof fn ? (t.date = n.start, t.endDate = n.end) : (t.value = n.start, t.endValue = n.end));
|
|
5454
5454
|
}
|
|
5455
5455
|
}
|
|
5456
5456
|
function TS(t, e) {
|
|
@@ -5459,7 +5459,7 @@ function TS(t, e) {
|
|
|
5459
5459
|
function kS(t, e) {
|
|
5460
5460
|
const { axisFill: i, label: a } = t;
|
|
5461
5461
|
if (e !== void 0) {
|
|
5462
|
-
if (t.id = e.name, t.visible = e.visible !== void 0 ? e.visible : t.visible, AS(t, e), e.style.type === Z.SLS ?
|
|
5462
|
+
if (t.id = e.name, t.visible = e.visible !== void 0 ? e.visible : t.visible, AS(t, e), e.style.type === Z.SLS ? fo({
|
|
5463
5463
|
element: i,
|
|
5464
5464
|
fillSymbol: {
|
|
5465
5465
|
type: Z.SFS,
|
|
@@ -5467,7 +5467,7 @@ function kS(t, e) {
|
|
|
5467
5467
|
outline: e.style
|
|
5468
5468
|
},
|
|
5469
5469
|
visible: e.visible
|
|
5470
|
-
}) : e.style.type === Z.SFS &&
|
|
5470
|
+
}) : e.style.type === Z.SFS && fo({
|
|
5471
5471
|
element: i,
|
|
5472
5472
|
fillSymbol: e.style,
|
|
5473
5473
|
visible: e.visible
|
|
@@ -5522,7 +5522,7 @@ function OS(t) {
|
|
|
5522
5522
|
function DS(t) {
|
|
5523
5523
|
const { axis: e, labels: i, restoreLabelsVisibility: a = !0 } = t;
|
|
5524
5524
|
(i ?? e.renderer.labels.values).forEach((o) => {
|
|
5525
|
-
o.x instanceof
|
|
5525
|
+
o.x instanceof Go ? o.x.value : o.x, a && ce(o, !0);
|
|
5526
5526
|
});
|
|
5527
5527
|
}
|
|
5528
5528
|
function Mu(t) {
|
|
@@ -5550,7 +5550,7 @@ function MS(t) {
|
|
|
5550
5550
|
let s = e.renderer.minGridDistance;
|
|
5551
5551
|
if (typeof n == "number" && Number.isFinite(n))
|
|
5552
5552
|
s = n;
|
|
5553
|
-
else if (e.renderer instanceof
|
|
5553
|
+
else if (e.renderer instanceof mn)
|
|
5554
5554
|
s = A.gauge.gaugeMinGridDistance;
|
|
5555
5555
|
else if (e instanceof Ae)
|
|
5556
5556
|
s = e.renderer instanceof At ? A.xAxisMinGridDistance : A.yAxisMinGridDistance;
|
|
@@ -5605,7 +5605,7 @@ function NS(t) {
|
|
|
5605
5605
|
});
|
|
5606
5606
|
const s = it(e.uid, "labelsSymbol")?.angle ?? 0, l = Mu(e) >= n + 5;
|
|
5607
5607
|
if (!l && s === 0 || l && s === A.rotatedAxisLabel.rotation) {
|
|
5608
|
-
const c = l ?
|
|
5608
|
+
const c = l ? Jo(a.content, e.rtl, A.axisLabel) : Jo({ type: Z.TS }, e.rtl, A.rotatedAxisLabel);
|
|
5609
5609
|
Ze(e.uid, { labelsSymbol: c }), e.renderer.invalidateLabels();
|
|
5610
5610
|
}
|
|
5611
5611
|
}
|
|
@@ -5640,7 +5640,7 @@ function WS(t) {
|
|
|
5640
5640
|
})), e !== void 0) {
|
|
5641
5641
|
const o = D(e.uid, "config")?.axes?.[0].labels;
|
|
5642
5642
|
if (o !== void 0) {
|
|
5643
|
-
const n =
|
|
5643
|
+
const n = Jo(o.content, e.rtl, A.axisLabel), s = t.renderer.labels.template;
|
|
5644
5644
|
s.rotation = n.angle, s.verticalCenter = n.verticalCenter, s.horizontalCenter = n.horizontalCenter, Number.isFinite(n.yOffset) && (s.dy = n.yOffset);
|
|
5645
5645
|
}
|
|
5646
5646
|
Ze(t.uid, { labelsSymbol: void 0 });
|
|
@@ -5763,8 +5763,8 @@ function qS(t, e) {
|
|
|
5763
5763
|
return Wi(n.uid, { isDataLabel: !0 }), ws(n, t), ws(o, t), t.events.on(
|
|
5764
5764
|
N.Validated,
|
|
5765
5765
|
yt(() => {
|
|
5766
|
-
|
|
5767
|
-
|
|
5766
|
+
co(n) && n.clones.each((s) => {
|
|
5767
|
+
co(s) && s.validate();
|
|
5768
5768
|
});
|
|
5769
5769
|
}, A.debounceTime)
|
|
5770
5770
|
), n.html = "{valueX}", o.html = "{valueX}", cu(o), Er(e) ? (i = o, a = n) : (i = n, a = o), su(y.BarSeries, o), ru(y.BarSeries, i), { newLabelToRender: i, newLabelToHide: a };
|
|
@@ -5834,10 +5834,10 @@ function Rs(t) {
|
|
|
5834
5834
|
function tc(t) {
|
|
5835
5835
|
t !== void 0 && (t.start = 0, t.end = 1);
|
|
5836
5836
|
}
|
|
5837
|
-
function
|
|
5837
|
+
function Pn(t) {
|
|
5838
5838
|
t !== void 0 && (t.xAxes !== void 0 && t.xAxes.each((e) => Rs({ axis: e })), t.yAxes !== void 0 && t.yAxes.each((e) => Rs({ axis: e })), tc(t.scrollbarX), tc(t.scrollbarY), ce(t.zoomOutButton, !1));
|
|
5839
5839
|
}
|
|
5840
|
-
function
|
|
5840
|
+
function Fo(t, e) {
|
|
5841
5841
|
return t instanceof At && e !== !0 || t instanceof Va && e === !0;
|
|
5842
5842
|
}
|
|
5843
5843
|
function JS(t) {
|
|
@@ -5851,7 +5851,7 @@ function JS(t) {
|
|
|
5851
5851
|
}
|
|
5852
5852
|
function eC(t) {
|
|
5853
5853
|
const { axis: e, valueFormat: i, axisRenderer: a, queryObject: o, errorStrings: n } = t;
|
|
5854
|
-
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,
|
|
5854
|
+
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, On(a.labels.template, A.axisLabel), a.ticks.template.disabled = !1, a.labels.template.disabled = !0, KS(e), hi(i) && (JS(a), mS({ axis: e, queryObject: o, errorStrings: n })), Qo(e.chart, e.title), uo({
|
|
5855
5855
|
chart: e.chart,
|
|
5856
5856
|
label: e.title,
|
|
5857
5857
|
labelType: e.renderer instanceof At ? J.XAxisTitle : J.YAxisTitle
|
|
@@ -5875,7 +5875,7 @@ function tC(t) {
|
|
|
5875
5875
|
const e = t.target, i = D(e.chart.uid, "isRotated");
|
|
5876
5876
|
let a = [];
|
|
5877
5877
|
if (e instanceof Ae) {
|
|
5878
|
-
if (e.renderer instanceof
|
|
5878
|
+
if (e.renderer instanceof mn)
|
|
5879
5879
|
a.push({
|
|
5880
5880
|
isXAxis: !0,
|
|
5881
5881
|
minimum: e.min,
|
|
@@ -5931,7 +5931,7 @@ function ic(t) {
|
|
|
5931
5931
|
const { axis: e, axisMinimum: i, axisMaximum: a } = t;
|
|
5932
5932
|
let o;
|
|
5933
5933
|
if (e instanceof Ae && a !== void 0 && i !== void 0) {
|
|
5934
|
-
const n = e.axisRanges.values, s = D(e.chart.uid, "config"), r = D(e.chart.uid, "isRotated"), c = !
|
|
5934
|
+
const n = e.axisRanges.values, s = D(e.chart.uid, "config"), r = D(e.chart.uid, "isRotated"), c = !Fo(e.renderer, r) ? 1 : 0, u = s?.axes?.[c]?.guides;
|
|
5935
5935
|
for (let f = 0; f < n.length; f += 1) {
|
|
5936
5936
|
const g = n[f], { value: h, endValue: b, axisFill: p, grid: S, label: C } = g;
|
|
5937
5937
|
if (ze(C?.uid, "isGuide") === !0) {
|
|
@@ -5958,7 +5958,7 @@ function oC(t) {
|
|
|
5958
5958
|
aC({ axis: t, isNonAggregatedChart: e });
|
|
5959
5959
|
});
|
|
5960
5960
|
}
|
|
5961
|
-
function
|
|
5961
|
+
function ao(t) {
|
|
5962
5962
|
const { axes: e, isSecondaryYAxis: i = !1, isXAxis: a, valueFormat: o, chartType: n, queryObject: s, errorStrings: r } = t;
|
|
5963
5963
|
let l;
|
|
5964
5964
|
if (Wa({ isXAxis: a, chartType: n, valueFormat: o }) && !i)
|
|
@@ -5986,21 +5986,21 @@ function Pu(t) {
|
|
|
5986
5986
|
const { chart: e, axesConfig: i, isRotated: a, chartType: o, queryObject: n, errorStrings: s } = t;
|
|
5987
5987
|
ae(e.uid, { isRotated: a === !0 });
|
|
5988
5988
|
const r = a === !0 ? i?.[1] : i?.[0], l = a === !0 ? i?.[0] : i?.[1], c = r?.valueFormat, d = l?.valueFormat;
|
|
5989
|
-
c !== void 0 && d !== void 0 && (e.xAxes.clear(), e.yAxes.clear(),
|
|
5989
|
+
c !== void 0 && d !== void 0 && (e.xAxes.clear(), e.yAxes.clear(), ao({
|
|
5990
5990
|
chartType: o,
|
|
5991
5991
|
isXAxis: a !== !0,
|
|
5992
5992
|
axes: e.xAxes,
|
|
5993
5993
|
valueFormat: c,
|
|
5994
5994
|
queryObject: n,
|
|
5995
5995
|
errorStrings: s
|
|
5996
|
-
}),
|
|
5996
|
+
}), ao({
|
|
5997
5997
|
chartType: o,
|
|
5998
5998
|
isXAxis: a === !0,
|
|
5999
5999
|
axes: e.yAxes,
|
|
6000
6000
|
valueFormat: d,
|
|
6001
6001
|
queryObject: n,
|
|
6002
6002
|
errorStrings: s
|
|
6003
|
-
}), i?.[2] !== void 0 &&
|
|
6003
|
+
}), i?.[2] !== void 0 && ao({
|
|
6004
6004
|
chartType: o,
|
|
6005
6005
|
isXAxis: a === !0,
|
|
6006
6006
|
axes: a === !0 ? e.xAxes : e.yAxes,
|
|
@@ -6029,7 +6029,7 @@ function lC(t) {
|
|
|
6029
6029
|
const { chart: d } = e, u = D(d.uid, "config");
|
|
6030
6030
|
let f = 0;
|
|
6031
6031
|
if (!(Number.isFinite(n) && Number.isFinite(s) && s > n && (!r || n > 0)) && d instanceof fe && u !== void 0) {
|
|
6032
|
-
const h = D(d.uid, "isRotated"), b = nt(u), p =
|
|
6032
|
+
const h = D(d.uid, "isRotated"), b = nt(u), p = Fo(e.renderer, h), S = wb(d), C = fr({
|
|
6033
6033
|
chartConfig: u,
|
|
6034
6034
|
isSecondaryYAxis: o,
|
|
6035
6035
|
seriesIds: S
|
|
@@ -6199,7 +6199,7 @@ function hC(t, e) {
|
|
|
6199
6199
|
t.maxPrecision = i === !0 || o === 0 ? 0 : Number.NaN;
|
|
6200
6200
|
}
|
|
6201
6201
|
}
|
|
6202
|
-
function
|
|
6202
|
+
function Eo(t) {
|
|
6203
6203
|
const {
|
|
6204
6204
|
axis: e,
|
|
6205
6205
|
axisConfig: i,
|
|
@@ -6241,7 +6241,7 @@ function zo(t) {
|
|
|
6241
6241
|
element: e.renderer.line,
|
|
6242
6242
|
lineSymbol: {
|
|
6243
6243
|
color: [...A.color],
|
|
6244
|
-
...k ??
|
|
6244
|
+
...k ?? kn()
|
|
6245
6245
|
},
|
|
6246
6246
|
visible: x
|
|
6247
6247
|
}), Ji({
|
|
@@ -6263,7 +6263,7 @@ function zo(t) {
|
|
|
6263
6263
|
tickSpacing: M
|
|
6264
6264
|
}), cb({
|
|
6265
6265
|
axis: e,
|
|
6266
|
-
isXAxis:
|
|
6266
|
+
isXAxis: Fo(e.renderer, g),
|
|
6267
6267
|
chartType: n,
|
|
6268
6268
|
labelsTextSymbol: i.labels.content,
|
|
6269
6269
|
formatOptions: O,
|
|
@@ -6298,7 +6298,7 @@ function pC(t) {
|
|
|
6298
6298
|
queryObject: h
|
|
6299
6299
|
} = t;
|
|
6300
6300
|
let { axisLabelsBehaviorChanged: b } = t;
|
|
6301
|
-
const p = D(e.uid, "config"), S = p.axes, { horizontalAxisLabelsBehavior: C, verticalAxisLabelsBehavior: x } = p, L = W(p.series), v = nt(p), k = D(e.uid, "fieldList")?.some((Le) => Le.name === p.series[0].x && Le.type ===
|
|
6301
|
+
const p = D(e.uid, "config"), S = p.axes, { horizontalAxisLabelsBehavior: C, verticalAxisLabelsBehavior: x } = p, L = W(p.series), v = nt(p), k = D(e.uid, "fieldList")?.some((Le) => Le.name === p.series[0].x && Le.type === An.TimeOnly) ?? !1, w = nr({ chartConfig: p, queryObject: h, options: u }), I = Ea(p.series[0]) ? p.series[0].temporalBinning?.outTimeZone : void 0, O = a === !0 ? 1 : 0, $ = a === !0 ? 0 : 1, B = S?.[O], M = S?.[$];
|
|
6302
6302
|
let P = e.xAxes.getIndex(0);
|
|
6303
6303
|
Eu({
|
|
6304
6304
|
chart: e,
|
|
@@ -6328,21 +6328,21 @@ function pC(t) {
|
|
|
6328
6328
|
utilsStrings: f,
|
|
6329
6329
|
errorStrings: g
|
|
6330
6330
|
};
|
|
6331
|
-
P !== void 0 && B !== void 0 &&
|
|
6331
|
+
P !== void 0 && B !== void 0 && Eo({
|
|
6332
6332
|
...Te,
|
|
6333
6333
|
axis: P,
|
|
6334
6334
|
axisConfig: B,
|
|
6335
6335
|
axisConfigIndex: O,
|
|
6336
6336
|
axisValueFormatter: O === 0 ? l : c,
|
|
6337
6337
|
isTimeOnlyField: k
|
|
6338
|
-
}), G !== void 0 && M !== void 0 &&
|
|
6338
|
+
}), G !== void 0 && M !== void 0 && Eo({
|
|
6339
6339
|
...Te,
|
|
6340
6340
|
axis: G,
|
|
6341
6341
|
axisConfig: M,
|
|
6342
6342
|
axisConfigIndex: $,
|
|
6343
6343
|
axisValueFormatter: $ === 1 ? c : l,
|
|
6344
6344
|
isTimeOnlyField: k
|
|
6345
|
-
}), _ !== void 0 && S?.[2] !== void 0 &&
|
|
6345
|
+
}), _ !== void 0 && S?.[2] !== void 0 && Eo({
|
|
6346
6346
|
...Te,
|
|
6347
6347
|
axis: _,
|
|
6348
6348
|
axisConfig: S[2],
|
|
@@ -6417,7 +6417,7 @@ function yC(t) {
|
|
|
6417
6417
|
C instanceof lt && (C.dataFields.category = ur(i));
|
|
6418
6418
|
const v = C.renderer, T = v.grid.template;
|
|
6419
6419
|
T.location = 0, v.cellStartLocation = 0.1, v.cellEndLocation = 0.9;
|
|
6420
|
-
const k = i.orderOptions?.data && "orderBy" in i.orderOptions.data && i.orderOptions.data.orderBy ===
|
|
6420
|
+
const k = i.orderOptions?.data && "orderBy" in i.orderOptions.data && i.orderOptions.data.orderBy === hn.Descending;
|
|
6421
6421
|
let w = n === !0;
|
|
6422
6422
|
k && C instanceof Ne && (w = !w), v.inversed = w;
|
|
6423
6423
|
}
|
|
@@ -6454,7 +6454,7 @@ function zu(t) {
|
|
|
6454
6454
|
};
|
|
6455
6455
|
}
|
|
6456
6456
|
function SC(t) {
|
|
6457
|
-
const { oldConfig: e, axisMax: i, min: a, max: o, labelsIncrement: n, numberOfIntervals: s, valueFormat: r, minimumFromField: l } = t, c =
|
|
6457
|
+
const { oldConfig: e, axisMax: i, min: a, max: o, labelsIncrement: n, numberOfIntervals: s, valueFormat: r, minimumFromField: l } = t, c = Yo(r);
|
|
6458
6458
|
let d = !0;
|
|
6459
6459
|
if (e !== void 0) {
|
|
6460
6460
|
const {
|
|
@@ -6548,8 +6548,8 @@ function zr(t) {
|
|
|
6548
6548
|
function xC(t) {
|
|
6549
6549
|
return t?.labels.content.font?.size === void 0 || t?.innerLabel?.visible !== !1 && t?.innerLabel?.content?.font?.size === void 0;
|
|
6550
6550
|
}
|
|
6551
|
-
function
|
|
6552
|
-
return t.some((i) =>
|
|
6551
|
+
function Vn(t) {
|
|
6552
|
+
return t.some((i) => Cn(i) && i.value !== void 0);
|
|
6553
6553
|
}
|
|
6554
6554
|
function vC(t) {
|
|
6555
6555
|
const { chart: e, axisConfig: i, axis: a } = t;
|
|
@@ -6558,7 +6558,7 @@ function vC(t) {
|
|
|
6558
6558
|
const o = () => {
|
|
6559
6559
|
a.events.once(N.Validated, () => {
|
|
6560
6560
|
const s = Tt(a, ve.GaugeTicksWithLabels);
|
|
6561
|
-
if (
|
|
6561
|
+
if (Vn(s)) {
|
|
6562
6562
|
const r = s.map((f) => f.label), l = r[0].scale, c = r[0].fontSize, d = zr({
|
|
6563
6563
|
chart: e,
|
|
6564
6564
|
type: Ue.AxisLabels,
|
|
@@ -6619,7 +6619,7 @@ function Ds(t) {
|
|
|
6619
6619
|
}
|
|
6620
6620
|
function AC(t) {
|
|
6621
6621
|
const e = t.chart, i = D(e.uid, "config")?.axes?.[0], a = Tt(t, ve.GaugeFirstAndLastGuides);
|
|
6622
|
-
if (
|
|
6622
|
+
if (Vn(a)) {
|
|
6623
6623
|
const o = a.map((l) => l.label), n = o[0].scale, s = o[0].fontSize, r = zr({
|
|
6624
6624
|
chart: e,
|
|
6625
6625
|
type: Ue.FirstAndLastLabels,
|
|
@@ -6661,7 +6661,7 @@ function $s(t, e) {
|
|
|
6661
6661
|
if (i !== void 0) {
|
|
6662
6662
|
const a = e ?? D(t.uid, "config"), { onlyShowFirstAndLastLabels: o } = a?.axes?.[0] ?? {};
|
|
6663
6663
|
if (!i.renderer.labels.template.visible || o === !0)
|
|
6664
|
-
t.radius = new
|
|
6664
|
+
t.radius = new Go(A.gauge.radius);
|
|
6665
6665
|
else {
|
|
6666
6666
|
const n = Tt(i, ve.GaugeTicksWithLabels), { furthestLabelX: s, furthestLabelY: r } = n.reduce(
|
|
6667
6667
|
({ furthestLabelX: l, furthestLabelY: c, furthestPixelX: d, furthestPixelY: u }, { label: f }) => {
|
|
@@ -6692,11 +6692,11 @@ function $s(t, e) {
|
|
|
6692
6692
|
}
|
|
6693
6693
|
);
|
|
6694
6694
|
if (s !== void 0 && r !== void 0) {
|
|
6695
|
-
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, f = (c + u) * 2 + t.radarContainer.measuredWidth +
|
|
6695
|
+
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, f = (c + u) * 2 + t.radarContainer.measuredWidth + Mo(t.paddingLeft) + Mo(t.paddingRight), g = 80, h = 170, b = t.htmlContainer?.clientHeight ?? 0, p = Math.max(
|
|
6696
6696
|
0,
|
|
6697
6697
|
Math.min(1, (b - g) / (h - g))
|
|
6698
|
-
), S = t.radarContainer.measuredHeight + (d + u * p) * 2 +
|
|
6699
|
-
Number.isFinite(M) && M >= 10 && M <= A.gauge.radius && (P < 0.98 || P > 1.02) && (t.radius = new
|
|
6698
|
+
), S = t.radarContainer.measuredHeight + (d + u * p) * 2 + Mo(t.paddingTop) + Mo(t.paddingBottom), C = t.measuredWidth, x = t.measuredHeight, L = C / f, v = x / S, T = (typeof t.radius == "number" ? t.radius : t.radius.value) * 100, k = Number((T * L).toFixed(2)), w = Number((T * v).toFixed(2)), I = k / T, O = w / T, $ = t.radarContainer.measuredWidth * I, B = t.radarContainer.measuredWidth * O, [M, P] = $ < B ? [k, I] : [w, O];
|
|
6699
|
+
Number.isFinite(M) && M >= 10 && M <= A.gauge.radius && (P < 0.98 || P > 1.02) && (t.radius = new Go(M));
|
|
6700
6700
|
}
|
|
6701
6701
|
}
|
|
6702
6702
|
}
|
|
@@ -6725,7 +6725,7 @@ function IC(t, e) {
|
|
|
6725
6725
|
function wC(t) {
|
|
6726
6726
|
const { chart: e, needle: i, gaugeValue: a } = t, o = e.hands.getIndex(0) ?? Hu(e);
|
|
6727
6727
|
if (o !== void 0) {
|
|
6728
|
-
|
|
6728
|
+
fo({ element: o, fillSymbol: i?.symbol });
|
|
6729
6729
|
const { startWidth: n, endWidth: s, innerRadius: r } = A.gaugeNeedle;
|
|
6730
6730
|
o.value = IC(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 = gt(i?.innerRadius ?? r);
|
|
6731
6731
|
}
|
|
@@ -6757,14 +6757,14 @@ function DC(t) {
|
|
|
6757
6757
|
}
|
|
6758
6758
|
function $C(t) {
|
|
6759
6759
|
const e = new qs();
|
|
6760
|
-
return e.disabled = !0, e.axis = t,
|
|
6760
|
+
return e.disabled = !0, e.axis = t, On(e), e.padding(10, 10, 10, 10), Wi(e.uid, { isGaugeAxisLabel: !0 }), e;
|
|
6761
6761
|
}
|
|
6762
6762
|
function MC(t) {
|
|
6763
|
-
const { axis: e, min: i, max: a, labelsIncrement: o, numberOfIntervals: n, valueFormat: s } = t, r =
|
|
6763
|
+
const { axis: e, min: i, max: a, labelsIncrement: o, numberOfIntervals: n, valueFormat: s } = t, r = Yo(s);
|
|
6764
6764
|
let l = 1;
|
|
6765
6765
|
const c = Tt(e, ve.Ticks);
|
|
6766
6766
|
c.length > 0 && (l = c[0].label?.scale, c.forEach((f) => {
|
|
6767
|
-
if (
|
|
6767
|
+
if (Cn(f)) {
|
|
6768
6768
|
const g = e.axisRanges.values.indexOf(f);
|
|
6769
6769
|
g >= 0 && e.axisRanges.removeIndex(g);
|
|
6770
6770
|
}
|
|
@@ -6772,17 +6772,17 @@ function MC(t) {
|
|
|
6772
6772
|
const d = A.gauge.numberOfTicksBetweenTwoLabels + 1, u = n * d + 1;
|
|
6773
6773
|
for (let f = 0; f < u; f += 1) {
|
|
6774
6774
|
const g = f === u - 1, h = DC(e), b = g ? a : i + f / d * o;
|
|
6775
|
-
h.value = r ?
|
|
6775
|
+
h.value = r ? tn({ value: b, axisMin: i, axisMax: a }) : b, f % d === 0 && (h.label = $C(e), h.label.text = String(b), h.grid.disabled = !0, Number.isFinite(l) && (h.label.scale = l));
|
|
6776
6776
|
}
|
|
6777
6777
|
}
|
|
6778
6778
|
function BC(t) {
|
|
6779
6779
|
const { chart: e, axis: i, onlyShowFirstAndLastLabels: a, valueFormat: o, axisLabelConfigContent: n, axisValueFormatter: s } = t;
|
|
6780
6780
|
if (!a) {
|
|
6781
6781
|
const r = Tt(i, ve.GaugeTicksWithLabels);
|
|
6782
|
-
if (
|
|
6782
|
+
if (Vn(r)) {
|
|
6783
6783
|
const l = D(e.uid, "formatLocale");
|
|
6784
6784
|
r.forEach((c) => {
|
|
6785
|
-
Ot({ label: c.label, labelConfig: n }),
|
|
6785
|
+
Ot({ label: c.label, labelConfig: n }), Cn(c) && (c.label.html = _u({
|
|
6786
6786
|
valueFormat: o,
|
|
6787
6787
|
iLocale: e.language.locale,
|
|
6788
6788
|
formatLocale: l,
|
|
@@ -6804,7 +6804,7 @@ function NC(t, e) {
|
|
|
6804
6804
|
function PC(t, e) {
|
|
6805
6805
|
if (t instanceof Ae && t.chart instanceof kt) {
|
|
6806
6806
|
const i = Tt(t, ve.GaugeTicksWithLabels);
|
|
6807
|
-
if (
|
|
6807
|
+
if (Vn(i)) {
|
|
6808
6808
|
const { onlyShowFirstAndLastLabels: a, labels: o } = e, n = (o?.visible ?? !0) && a !== !0;
|
|
6809
6809
|
i.forEach((s) => {
|
|
6810
6810
|
ce(s.label, n);
|
|
@@ -6840,7 +6840,7 @@ function WC(t) {
|
|
|
6840
6840
|
if (a) {
|
|
6841
6841
|
const r = Tt(i, ve.GaugeFirstAndLastGuides), l = D(e.uid, "formatLocale");
|
|
6842
6842
|
r.forEach((c) => {
|
|
6843
|
-
c?.label !== void 0 &&
|
|
6843
|
+
c?.label !== void 0 && Cn(c) && (c.label.html = _u({
|
|
6844
6844
|
valueFormat: o,
|
|
6845
6845
|
iLocale: e.language.locale,
|
|
6846
6846
|
formatLocale: l,
|
|
@@ -6853,7 +6853,7 @@ function WC(t) {
|
|
|
6853
6853
|
}
|
|
6854
6854
|
function EC(t) {
|
|
6855
6855
|
const { chart: e, valueFormat: i, queryObject: a, errorStrings: o } = t;
|
|
6856
|
-
e.xAxes.clear(),
|
|
6856
|
+
e.xAxes.clear(), ao({ isXAxis: !0, axes: e.xAxes, valueFormat: i, queryObject: a, errorStrings: o });
|
|
6857
6857
|
const n = e.xAxes.getIndex(0);
|
|
6858
6858
|
n instanceof Ae && (n.renderer.labels.template.disabled = !0, n.renderer.ticks.template.disabled = !0, Hu(e), RC(e), kC(e), n.maxZoomFactor = 1);
|
|
6859
6859
|
}
|
|
@@ -6916,7 +6916,7 @@ function HC(t) {
|
|
|
6916
6916
|
} = t, { axes: c } = i, d = W(i.series), u = c?.[0], f = e.xAxes.getIndex(0);
|
|
6917
6917
|
if (f !== void 0 && u !== void 0) {
|
|
6918
6918
|
const { valueFormat: g, needle: h, innerLabel: b, onlyShowFirstAndLastLabels: p } = u;
|
|
6919
|
-
As({ axis: f, valueFormat: g, chartType: d }) &&
|
|
6919
|
+
As({ axis: f, valueFormat: g, chartType: d }) && ao({ isXAxis: !0, axes: e.xAxes, valueFormat: g, queryObject: a, errorStrings: l });
|
|
6920
6920
|
const { min: S, max: C, labelsIncrement: x, numberOfIntervals: L } = zu(u);
|
|
6921
6921
|
SC({
|
|
6922
6922
|
oldConfig: D(f.chart.uid, "config"),
|
|
@@ -6933,7 +6933,7 @@ function HC(t) {
|
|
|
6933
6933
|
labelsIncrement: x,
|
|
6934
6934
|
numberOfIntervals: L,
|
|
6935
6935
|
valueFormat: g
|
|
6936
|
-
}),
|
|
6936
|
+
}), Eo({
|
|
6937
6937
|
axis: f,
|
|
6938
6938
|
axisConfig: u,
|
|
6939
6939
|
axisConfigIndex: 0,
|
|
@@ -6983,14 +6983,14 @@ function HC(t) {
|
|
|
6983
6983
|
function _C(t) {
|
|
6984
6984
|
t.background.fill = It(A.backgroundColor);
|
|
6985
6985
|
}
|
|
6986
|
-
function
|
|
6986
|
+
function Wn(t, e) {
|
|
6987
6987
|
t.background.fill = It(e ?? A.backgroundColor);
|
|
6988
6988
|
}
|
|
6989
6989
|
function GC(t) {
|
|
6990
6990
|
const e = Fu(A.headerContainer, t), i = li(A.title, e), a = li(A.subtitle, e);
|
|
6991
|
-
return t instanceof Ec && (
|
|
6991
|
+
return t instanceof Ec && (Qo(t, i), Qo(t, a), uo({ chart: t, label: i, labelType: J.ChartTitle }), uo({ chart: t, label: a, labelType: J.ChartSubTitle })), ny(e), { headerContainer: e, title: i, subtitle: a };
|
|
6992
6992
|
}
|
|
6993
|
-
function
|
|
6993
|
+
function En(t, e) {
|
|
6994
6994
|
const { title: i, subtitle: a, headerContainer: o } = t;
|
|
6995
6995
|
Ot({ label: i, labelConfig: e?.title, defaults: A.titleLabel }), Ot({ label: a, labelConfig: e?.subtitle, defaults: A.titleLabel }), Au(o, i.disabled && a.disabled), Ei({
|
|
6996
6996
|
chart: i.parent,
|
|
@@ -7004,9 +7004,9 @@ function zn(t, e) {
|
|
|
7004
7004
|
}
|
|
7005
7005
|
function XC(t) {
|
|
7006
7006
|
const e = Fu(A.footerContainer, t), i = li(A.footer, e);
|
|
7007
|
-
return t instanceof Ec && (
|
|
7007
|
+
return t instanceof Ec && (Qo(t, i), uo({ chart: t, label: i, labelType: J.ChartFooter })), { footerContainer: e, footer: i };
|
|
7008
7008
|
}
|
|
7009
|
-
function
|
|
7009
|
+
function zn(t, e) {
|
|
7010
7010
|
const { footer: i, footerContainer: a } = t;
|
|
7011
7011
|
Ot({ label: i, labelConfig: e, defaults: A.footer }), Au(a, i.disabled || e?.content.text === ""), Ei({
|
|
7012
7012
|
chart: i.parent,
|
|
@@ -7205,7 +7205,7 @@ function ix(t) {
|
|
|
7205
7205
|
data: i,
|
|
7206
7206
|
htmlContainer: e.chart.htmlContainer,
|
|
7207
7207
|
chartId: e.chart.id,
|
|
7208
|
-
colorMatchApplied:
|
|
7208
|
+
colorMatchApplied: Dn(e.chart)
|
|
7209
7209
|
}), e.chart.feedLegend());
|
|
7210
7210
|
}
|
|
7211
7211
|
function Yu(t) {
|
|
@@ -7282,7 +7282,7 @@ function ox(t) {
|
|
|
7282
7282
|
}), f.dataFields.customValue = c?.query?.where, Cu(f.columns.template, f), f.columns.template.width = gt(100), JC(f), ma({
|
|
7283
7283
|
element: f.columns.template,
|
|
7284
7284
|
customSelectionTheme: n
|
|
7285
|
-
}),
|
|
7285
|
+
}), xo({ chart: e, element: f.columns.template, queryObject: s, errorStrings: r }), Nr(f), ax(f), fa(f), f;
|
|
7286
7286
|
}
|
|
7287
7287
|
function nx(t) {
|
|
7288
7288
|
const { seriesConfig: e, series: i, seriesIndex: a, axes: o, utilsStrings: n, fieldList: s, queryObject: r, stackedType: l, options: c } = t;
|
|
@@ -7298,7 +7298,7 @@ function nx(t) {
|
|
|
7298
7298
|
dataLabelsConfig: e.dataLabels,
|
|
7299
7299
|
yAxisValueFormat: o[1].valueFormat,
|
|
7300
7300
|
customDataLabelFormatter: c?.dataLabelFormatter
|
|
7301
|
-
}),
|
|
7301
|
+
}), $n({
|
|
7302
7302
|
styleCallback: () => {
|
|
7303
7303
|
Yu(t), ex(i);
|
|
7304
7304
|
},
|
|
@@ -7324,7 +7324,7 @@ function sx(t) {
|
|
|
7324
7324
|
const { dataItem: n } = i;
|
|
7325
7325
|
if (n instanceof yi) {
|
|
7326
7326
|
const { slice: s } = n;
|
|
7327
|
-
if (s !== void 0 && !
|
|
7327
|
+
if (s !== void 0 && !co(s))
|
|
7328
7328
|
o = "";
|
|
7329
7329
|
else if (a !== void 0) {
|
|
7330
7330
|
const { value: r, percent: l } = n.values?.value ?? {};
|
|
@@ -7427,7 +7427,7 @@ function dx(t, e) {
|
|
|
7427
7427
|
percentageSuffix: g
|
|
7428
7428
|
})("", b, p), L = !Fe(h) && (r ?? A.pieChart.displayCategoryOnTooltip);
|
|
7429
7429
|
if (L && (S = `<b>${h}</b>`), !Fe(x)) {
|
|
7430
|
-
const v =
|
|
7430
|
+
const v = ho(x);
|
|
7431
7431
|
S = L ? `${S}<br />${v}` : v;
|
|
7432
7432
|
}
|
|
7433
7433
|
return S;
|
|
@@ -7472,7 +7472,7 @@ function mx(t) {
|
|
|
7472
7472
|
const { series: e, seriesConfig: i, tooltipFormatter: a } = t;
|
|
7473
7473
|
Gt(e.uid, {
|
|
7474
7474
|
pieChartTooltipFormatter: a ?? dx(e, i)
|
|
7475
|
-
}),
|
|
7475
|
+
}), Bn(e, i);
|
|
7476
7476
|
}
|
|
7477
7477
|
function gx(t) {
|
|
7478
7478
|
t.ticks.template.adapter.add("disabled", (e, i) => i.dataItem?.values?.value?.value === 0 || !Number.isFinite(i.dataItem?.values?.value?.value) || e === !0);
|
|
@@ -7519,7 +7519,7 @@ function bx(t) {
|
|
|
7519
7519
|
dataContext: r,
|
|
7520
7520
|
pieSlicesSymbols: i,
|
|
7521
7521
|
seriesConfig: a
|
|
7522
|
-
}), c =
|
|
7522
|
+
}), c = fo({
|
|
7523
7523
|
element: n,
|
|
7524
7524
|
fillSymbol: l,
|
|
7525
7525
|
defaultToColorFromRamp: !0,
|
|
@@ -7536,7 +7536,7 @@ function bx(t) {
|
|
|
7536
7536
|
function yx(t, e) {
|
|
7537
7537
|
const { ticks: i } = e, a = i?.visible === !1 || e.dataLabelsInside === !0 || e.dataLabels === void 0 || e.dataLabels?.visible === !1 || e.dataLabelsOffset !== void 0 && e.dataLabelsOffset <= 0;
|
|
7538
7538
|
t.ticks.template.disabled = a, t.ticks.template.strokeOpacity = A.pieChart.ticksOpacity;
|
|
7539
|
-
const o = i?.lineSymbol ??
|
|
7539
|
+
const o = i?.lineSymbol ?? kn({ color: Cr });
|
|
7540
7540
|
a && (o.width = 0), Ji({
|
|
7541
7541
|
element: t.ticks.template,
|
|
7542
7542
|
lineSymbol: o,
|
|
@@ -7548,7 +7548,7 @@ function Sx(t) {
|
|
|
7548
7548
|
a.id = d;
|
|
7549
7549
|
const h = j([i]), b = A.pieChart;
|
|
7550
7550
|
a.dataFields.value = h !== V.PieFromFields ? c : va, a.dataFields.category = h !== V.PieFromFields ? l : ii;
|
|
7551
|
-
const p = e.radius instanceof
|
|
7551
|
+
const p = e.radius instanceof Go ? e.radius.value : e.radius;
|
|
7552
7552
|
e.innerRadius = gt((u ?? b.innerRadius) * p), a.startAngle = f ?? b.min, a.endAngle = g ?? 360 + a.startAngle, cx({
|
|
7553
7553
|
pieSeries: a,
|
|
7554
7554
|
seriesConfig: i,
|
|
@@ -7558,7 +7558,7 @@ function Sx(t) {
|
|
|
7558
7558
|
pieSeries: a,
|
|
7559
7559
|
pieSlicesSymbols: o,
|
|
7560
7560
|
seriesConfig: i
|
|
7561
|
-
}),
|
|
7561
|
+
}), $n({
|
|
7562
7562
|
styleCallback: () => bx(t),
|
|
7563
7563
|
series: a,
|
|
7564
7564
|
seriesConfig: i
|
|
@@ -7572,9 +7572,9 @@ function Uu(t) {
|
|
|
7572
7572
|
return t.values.every((e) => e.isReady());
|
|
7573
7573
|
}
|
|
7574
7574
|
function oc(t) {
|
|
7575
|
-
t instanceof kt ?
|
|
7575
|
+
t instanceof kt ? Uo(t.htmlContainer) : t instanceof Ys && t.series.each((e) => {
|
|
7576
7576
|
const i = e.events.on(N.Validated, () => {
|
|
7577
|
-
t && Uu(t.series) && !D(t.uid, "renderingCompleteNotified") && (ae(t.uid, { renderingCompleteNotified: !0 }), $b(t),
|
|
7577
|
+
t && Uu(t.series) && !D(t.uid, "renderingCompleteNotified") && (ae(t.uid, { renderingCompleteNotified: !0 }), $b(t), Uo(t.htmlContainer), i.dispose());
|
|
7578
7578
|
});
|
|
7579
7579
|
});
|
|
7580
7580
|
}
|
|
@@ -7589,7 +7589,7 @@ async function nc(t) {
|
|
|
7589
7589
|
chartConfig: r
|
|
7590
7590
|
};
|
|
7591
7591
|
l.slices.each((f, g) => {
|
|
7592
|
-
f.isActive && (f === i || a || f.dataItem instanceof yi && f.dataItem.label.isHover) ? ki(f.dataItem?.dataContext) ? (
|
|
7592
|
+
f.isActive && (f === i || a || f.dataItem instanceof yi && f.dataItem.label.isHover) ? ki(f.dataItem?.dataContext) ? (Co({
|
|
7593
7593
|
groupOfSlicesDataContext: f.dataItem?.dataContext
|
|
7594
7594
|
}) ?? []).forEach((S) => {
|
|
7595
7595
|
s.push({
|
|
@@ -7614,7 +7614,7 @@ async function nc(t) {
|
|
|
7614
7614
|
selected: !0,
|
|
7615
7615
|
useNativeState: !0
|
|
7616
7616
|
});
|
|
7617
|
-
}), await
|
|
7617
|
+
}), await Lo({
|
|
7618
7618
|
chart: e,
|
|
7619
7619
|
listSelectedElements: s,
|
|
7620
7620
|
selectionSource: ge.SelectionByClick,
|
|
@@ -7628,16 +7628,16 @@ function Cx(t, e, i) {
|
|
|
7628
7628
|
const a = async (s) => {
|
|
7629
7629
|
const { target: r } = s;
|
|
7630
7630
|
if (gu(t) && t.series.getIndex(0)?.slices.template.togglable) {
|
|
7631
|
-
const l =
|
|
7631
|
+
const l = Mn(s, t);
|
|
7632
7632
|
if (r instanceof eg)
|
|
7633
7633
|
await nc({ chart: t, multiSelect: l, hitSlice: r, queryObject: e, errorStrings: i });
|
|
7634
|
-
else if (r instanceof
|
|
7634
|
+
else if (r instanceof _o) {
|
|
7635
7635
|
const c = r.dataItem;
|
|
7636
7636
|
if (c instanceof yi) {
|
|
7637
7637
|
const { slice: d } = c;
|
|
7638
7638
|
d.isActive = !d.isActive, await nc({ chart: t, multiSelect: l, hitSlice: d, queryObject: e, errorStrings: i });
|
|
7639
7639
|
}
|
|
7640
|
-
} else r === t.background && await
|
|
7640
|
+
} else r === t.background && await Lo({
|
|
7641
7641
|
chart: t,
|
|
7642
7642
|
listSelectedElements: [],
|
|
7643
7643
|
selectionSource: ge.SelectionByClick,
|
|
@@ -7669,11 +7669,11 @@ function vx(t, e) {
|
|
|
7669
7669
|
t !== void 0 && e !== void 0 && window.IntersectionObserver !== void 0 && new IntersectionObserver(
|
|
7670
7670
|
(a) => {
|
|
7671
7671
|
a[0].intersectionRatio > 0 && (D(t.uid, "chartWasCreatedWhileHidden") === !0 ? (t instanceof Oe && t.events.once(N.Validated, () => {
|
|
7672
|
-
t.isDisposed() ||
|
|
7673
|
-
}), t.reinit(), t instanceof fe &&
|
|
7672
|
+
t.isDisposed() || nn(t), t.reinit();
|
|
7673
|
+
}), t.reinit(), t instanceof fe && Pn(t), ae(t.uid, {
|
|
7674
7674
|
chartWasCreatedWhileHidden: !1
|
|
7675
7675
|
})) : D(t.uid, "chartWasUpdatedWhileHidden") === !0 && (t instanceof Oe && t.events.once(N.Validated, () => {
|
|
7676
|
-
t.isDisposed() ||
|
|
7676
|
+
t.isDisposed() || nn(t), t.reinit();
|
|
7677
7677
|
}), t.reinit(), ae(t.uid, {
|
|
7678
7678
|
chartWasUpdatedWhileHidden: !1
|
|
7679
7679
|
})));
|
|
@@ -7683,7 +7683,7 @@ function vx(t, e) {
|
|
|
7683
7683
|
}
|
|
7684
7684
|
).observe(e);
|
|
7685
7685
|
}
|
|
7686
|
-
function
|
|
7686
|
+
function nn(t) {
|
|
7687
7687
|
const e = D(t.uid, "config");
|
|
7688
7688
|
if (e !== void 0) {
|
|
7689
7689
|
const i = gt(
|
|
@@ -7720,7 +7720,7 @@ function sn(t) {
|
|
|
7720
7720
|
function ju(t) {
|
|
7721
7721
|
Mt(t) && t.events.on(
|
|
7722
7722
|
N.SizeChanged,
|
|
7723
|
-
yt(() =>
|
|
7723
|
+
yt(() => nn(t), A.debounceTime)
|
|
7724
7724
|
);
|
|
7725
7725
|
}
|
|
7726
7726
|
function Lx(t, e) {
|
|
@@ -7753,7 +7753,7 @@ function Lx(t, e) {
|
|
|
7753
7753
|
function qu(t) {
|
|
7754
7754
|
if (Mt(t)) {
|
|
7755
7755
|
const e = typeof t.radius == "number" ? t.radius : t.radius.percent;
|
|
7756
|
-
ae(t.uid, { pieChartRadius: e }),
|
|
7756
|
+
ae(t.uid, { pieChartRadius: e }), nn(t), t.validate();
|
|
7757
7757
|
}
|
|
7758
7758
|
}
|
|
7759
7759
|
function Zu(t) {
|
|
@@ -7803,12 +7803,12 @@ function Zu(t) {
|
|
|
7803
7803
|
function Fx(t, e) {
|
|
7804
7804
|
t.adapter.add("criticalError", (i) => (i.message = e.errors.simpleError, i));
|
|
7805
7805
|
}
|
|
7806
|
-
|
|
7806
|
+
to.classNamePrefix = "arcgis-charts-";
|
|
7807
7807
|
function Hr(t) {
|
|
7808
7808
|
const { chart: e, localeInfo: i, chartLocale: a } = t;
|
|
7809
|
-
|
|
7809
|
+
to.defaultLocale = a, e.language.locale = a, ae(e.uid, { formatLocale: i.formatLocale }), e.rtl = i.rtl;
|
|
7810
7810
|
}
|
|
7811
|
-
function
|
|
7811
|
+
function Hn(t) {
|
|
7812
7812
|
const { chart: e, actionMode: i, cursorRange: a } = t;
|
|
7813
7813
|
if (Mt(e)) {
|
|
7814
7814
|
const o = i ?? D(e.uid, "actionMode") ?? A.actionMode;
|
|
@@ -7818,10 +7818,10 @@ function _n(t) {
|
|
|
7818
7818
|
case Q.MonoSelection:
|
|
7819
7819
|
case Q.MultiSelection:
|
|
7820
7820
|
case Q.MultiSelectionWithCtrlKey:
|
|
7821
|
-
n !== !0 ? Eb(e) :
|
|
7821
|
+
n !== !0 ? Eb(e) : ms(e);
|
|
7822
7822
|
break;
|
|
7823
7823
|
case Q.Zoom:
|
|
7824
|
-
|
|
7824
|
+
ms(e);
|
|
7825
7825
|
break;
|
|
7826
7826
|
case Q.None:
|
|
7827
7827
|
Ga({
|
|
@@ -7829,7 +7829,7 @@ function _n(t) {
|
|
|
7829
7829
|
selectionSource: ge.ClearSelection,
|
|
7830
7830
|
clearOnlyVisibleSeries: !1,
|
|
7831
7831
|
disposeStyleAndSelection: !1
|
|
7832
|
-
}),
|
|
7832
|
+
}), ms(e);
|
|
7833
7833
|
break;
|
|
7834
7834
|
}
|
|
7835
7835
|
mb({ chart: e, actionMode: o, cursorRange: a });
|
|
@@ -7972,7 +7972,7 @@ function Ku(t) {
|
|
|
7972
7972
|
const b = mg({ chartConfig: i, queryObject: s, chartData: e.data });
|
|
7973
7973
|
b.length > 0 && (e.colors.list = b.map((p) => {
|
|
7974
7974
|
const [S, C, x, L] = p;
|
|
7975
|
-
return new
|
|
7975
|
+
return new Ho({ r: S, g: C, b: x, a: L });
|
|
7976
7976
|
})), u.length > 0 && e.series.pushAll(u), Hb(e);
|
|
7977
7977
|
}
|
|
7978
7978
|
function Gr(t) {
|
|
@@ -8115,16 +8115,16 @@ function Xr(t) {
|
|
|
8115
8115
|
colorMatchApplied: n === !0
|
|
8116
8116
|
});
|
|
8117
8117
|
const { title: M, subtitle: P, footer: G, series: _, background: U } = e, q = GC(i);
|
|
8118
|
-
|
|
8118
|
+
En(q, { title: M, subtitle: P });
|
|
8119
8119
|
const X = XC(i);
|
|
8120
|
-
|
|
8120
|
+
zn(X, G);
|
|
8121
8121
|
const Y = $y(i, _);
|
|
8122
8122
|
sy(i);
|
|
8123
8123
|
const z = Rt({ config: e });
|
|
8124
8124
|
ae(i.uid, {
|
|
8125
8125
|
config: e,
|
|
8126
8126
|
isRotated: z,
|
|
8127
|
-
isNonAggregatedChart: !
|
|
8127
|
+
isNonAggregatedChart: !vn(B)
|
|
8128
8128
|
}), e.axes !== void 0 && (Tx({ chart: i, axesConfig: e.axes, chartType: w, isRotated: z, errorStrings: c, queryObject: r }), _r({
|
|
8129
8129
|
chart: i,
|
|
8130
8130
|
chartConfig: e,
|
|
@@ -8166,25 +8166,25 @@ function Xr(t) {
|
|
|
8166
8166
|
seriesConfig: _,
|
|
8167
8167
|
webChartLegend: e.legend,
|
|
8168
8168
|
pieChartLegendValueLabelFormatter: h
|
|
8169
|
-
}), Gu(i), _C(i),
|
|
8169
|
+
}), Gu(i), _C(i), Wn(i, U), Xu({
|
|
8170
8170
|
chart: i,
|
|
8171
8171
|
scrollbarXConfig: e.axes?.[0]?.scrollbar,
|
|
8172
8172
|
scrollbarYConfig: e.axes?.[1]?.scrollbar
|
|
8173
|
-
}), eu(i), tu(i, e?.cursorCrosshair),
|
|
8174
|
-
const te =
|
|
8173
|
+
}), eu(i), tu(i, e?.cursorCrosshair), Hn({ chart: i, actionMode: g, cursorRange: f });
|
|
8174
|
+
const te = po(i.htmlContainer ?? document.documentElement);
|
|
8175
8175
|
return i.dateFormatter.intlLocales = te, Ax(i, o?.enableResponsiveFeatures), Zu(i), { headerElements: q, footerElements: X, legendElements: Y };
|
|
8176
8176
|
}
|
|
8177
8177
|
function Qu(t) {
|
|
8178
8178
|
t.series.each((e) => {
|
|
8179
8179
|
e.events.on(N.Ready, () => {
|
|
8180
|
-
Uu(t.series) &&
|
|
8180
|
+
Uu(t.series) && Pn(t);
|
|
8181
8181
|
});
|
|
8182
8182
|
});
|
|
8183
8183
|
}
|
|
8184
8184
|
function kx(t) {
|
|
8185
8185
|
const { chartContainer: e, chartConfig: i, queryObject: a, colorMatchApplied: o, dataInfo: n, t9nStrings: s, options: r, globalOptions: l } = t, { errorStrings: c, utilsStrings: d, amChartsStrings: u } = s, f = Qs(e, fe);
|
|
8186
8186
|
f.id = i?.id ?? f.uid, ae(f.uid, { queryObject: a });
|
|
8187
|
-
const { t9nLocale: g } = ea(f.htmlContainer ?? document.documentElement), h =
|
|
8187
|
+
const { t9nLocale: g } = ea(f.htmlContainer ?? document.documentElement), h = po(f.htmlContainer ?? document.documentElement), b = Xs(f.htmlContainer ?? document.documentElement) === "rtl";
|
|
8188
8188
|
Hr({ chart: f, localeInfo: { locale: g, formatLocale: h, rtl: b }, chartLocale: u }), f.events.on(N.Inited, () => f.zoomOutButton.deepInvalidate());
|
|
8189
8189
|
const S = W(i?.series);
|
|
8190
8190
|
f instanceof fe && S !== y.BoxPlotSeries && (f.maskBullets = !1);
|
|
@@ -8274,13 +8274,13 @@ function Rx(t) {
|
|
|
8274
8274
|
utilsStrings: u,
|
|
8275
8275
|
errorStrings: f
|
|
8276
8276
|
} = t, { guideTooltipFormatter: g } = r ?? {}, h = D(i.uid, "config"), b = h?.series, p = e.series, S = W(p), C = Rt({ config: e });
|
|
8277
|
-
ae(i.uid, { config: ke(e), isRotated: C }), ae(i.uid, { filterBySelection: r?.filterBySelection }),
|
|
8277
|
+
ae(i.uid, { config: ke(e), isRotated: C }), ae(i.uid, { filterBySelection: r?.filterBySelection }), Hn({ chart: i, actionMode: r?.actionMode, cursorRange: r?.cursorRange });
|
|
8278
8278
|
const { xOrYChanged: x, layerChanged: L } = n?.common ?? {};
|
|
8279
8279
|
let { numberOfSeriesChanged: v } = n?.common ?? {};
|
|
8280
|
-
const T = gd(h, e), k = hd(h, e), w = rg(h, e), I = lg(h, e), O = JSON.stringify(
|
|
8280
|
+
const T = gd(h, e), k = hd(h, e), w = rg(h, e), I = lg(h, e), O = JSON.stringify(jo(b)) !== JSON.stringify(jo(p));
|
|
8281
8281
|
let $ = !1, B = !1;
|
|
8282
8282
|
Pi(e) && Pi(h) && ($ = cg(h, e), B = dg(h, e));
|
|
8283
|
-
const M =
|
|
8283
|
+
const M = xn({
|
|
8284
8284
|
oldConfig: c ? l : h,
|
|
8285
8285
|
newConfig: e,
|
|
8286
8286
|
dataWasUpdated: o
|
|
@@ -8297,7 +8297,7 @@ function Rx(t) {
|
|
|
8297
8297
|
});
|
|
8298
8298
|
let _ = !1;
|
|
8299
8299
|
const U = jt(s?.data), q = j(p);
|
|
8300
|
-
if (ae(i.uid, { isNonAggregatedChart: !
|
|
8300
|
+
if (ae(i.uid, { isNonAggregatedChart: !vn(q) }), o) {
|
|
8301
8301
|
const { count: Le, data: ut, queryConfig: ti } = s ?? {};
|
|
8302
8302
|
ae(i.uid, {
|
|
8303
8303
|
elementCount: Le,
|
|
@@ -8363,18 +8363,18 @@ function Rx(t) {
|
|
|
8363
8363
|
errorStrings: f
|
|
8364
8364
|
}), X && (i.validateData(), S === y.BoxPlotSeries && i.series.each((Le) => {
|
|
8365
8365
|
Le instanceof Ce && !(Le instanceof Ft) && Le.id.includes(me.Outliers) && Le.validateData();
|
|
8366
|
-
})),
|
|
8366
|
+
})), En(a.headerElements, { title: e.title, subtitle: e.subtitle }), zn(a.footerElements, e.footer), Pr({
|
|
8367
8367
|
legendElements: a.legendElements,
|
|
8368
8368
|
seriesConfig: e.series,
|
|
8369
8369
|
webChartLegend: e.legend,
|
|
8370
8370
|
legendInteractionsDisabled: r?.legendInteractionsDisabled
|
|
8371
|
-
}),
|
|
8371
|
+
}), Wn(i, e.background), Xu({
|
|
8372
8372
|
chart: i,
|
|
8373
8373
|
scrollbarXConfig: e.axes?.[0]?.scrollbar,
|
|
8374
8374
|
scrollbarYConfig: e.axes?.[1]?.scrollbar
|
|
8375
8375
|
}), tu(i, e?.cursorCrosshair);
|
|
8376
8376
|
const Te = ub(i);
|
|
8377
|
-
(Te.behavior === ue.SelectX || Te.behavior === ue.SelectXY || Te.behavior === ue.SelectY || Te.behavior === ue.None) && i.scrollbarX.start === 0 && i.scrollbarX.end === 1 && i.scrollbarY.start === 0 && i.scrollbarY.end === 1 &&
|
|
8377
|
+
(Te.behavior === ue.SelectX || Te.behavior === ue.SelectXY || Te.behavior === ue.SelectY || Te.behavior === ue.None) && i.scrollbarX.start === 0 && i.scrollbarX.end === 1 && i.scrollbarY.start === 0 && i.scrollbarY.end === 1 && Pn(i), Zu(i), Wu(i.series.values[0]);
|
|
8378
8378
|
}
|
|
8379
8379
|
function Ox(t) {
|
|
8380
8380
|
const {
|
|
@@ -8388,14 +8388,14 @@ function Ox(t) {
|
|
|
8388
8388
|
dataInfo: l,
|
|
8389
8389
|
utilsStrings: c,
|
|
8390
8390
|
errorStrings: d
|
|
8391
|
-
} = t, u = D(e.uid, "config"), f = u?.series, g = o?.series, h =
|
|
8391
|
+
} = t, u = D(e.uid, "config"), f = u?.series, g = o?.series, h = xn({ oldConfig: u, newConfig: o, dataWasUpdated: a }), b = kr(f, g), { count: p, data: S, queryConfig: C } = l ?? {}, x = jt(S);
|
|
8392
8392
|
ae(e.uid, { filterBySelection: r?.filterBySelection, config: ke(o) });
|
|
8393
8393
|
const L = x !== void 0 && (e.data.length !== x.length || jd(e.data, x));
|
|
8394
8394
|
L && (ae(e.uid, { elementCount: p, queryConfig: C }), e.data = x), (h || b) && e.validateData(), _t({
|
|
8395
8395
|
data: n,
|
|
8396
8396
|
htmlContainer: e.htmlContainer,
|
|
8397
8397
|
chartId: e.id,
|
|
8398
|
-
colorMatchApplied:
|
|
8398
|
+
colorMatchApplied: Dn(e, o)
|
|
8399
8399
|
}), Gr({
|
|
8400
8400
|
chart: e,
|
|
8401
8401
|
queryObject: s,
|
|
@@ -8411,16 +8411,16 @@ function Ox(t) {
|
|
|
8411
8411
|
seriesWereReinitialized: !1,
|
|
8412
8412
|
utilsStrings: c,
|
|
8413
8413
|
errorStrings: d
|
|
8414
|
-
}),
|
|
8414
|
+
}), En(i.headerElements, {
|
|
8415
8415
|
title: o.title,
|
|
8416
8416
|
subtitle: o.subtitle
|
|
8417
|
-
}),
|
|
8417
|
+
}), zn(i.footerElements, o.footer), Pr({
|
|
8418
8418
|
legendElements: i.legendElements,
|
|
8419
8419
|
seriesConfig: o.series,
|
|
8420
8420
|
webChartLegend: o.legend,
|
|
8421
8421
|
legendInteractionsDisabled: r?.legendInteractionsDisabled,
|
|
8422
8422
|
pieChartLegendValueLabelFormatter: r?.pieChartLegendValueLabelFormatter
|
|
8423
|
-
}),
|
|
8423
|
+
}), Wn(e, o.background), Hn({ chart: e, actionMode: r?.actionMode, cursorRange: r?.cursorRange }), ju(e), qu(e);
|
|
8424
8424
|
}
|
|
8425
8425
|
function Dx(t) {
|
|
8426
8426
|
const {
|
|
@@ -8452,10 +8452,10 @@ function Dx(t) {
|
|
|
8452
8452
|
errorStrings: c
|
|
8453
8453
|
});
|
|
8454
8454
|
const p = A.gauge, S = Number.isFinite(a?.innerRadius) ? a.innerRadius : p.innerRadius, C = Number.isFinite(a?.startAngle) ? a.startAngle : p.startAngle, x = Number.isFinite(a?.endAngle) ? a.endAngle : p.endAngle;
|
|
8455
|
-
e.innerRadius = gt(S), e.startAngle = C, e.endAngle = x,
|
|
8455
|
+
e.innerRadius = gt(S), e.startAngle = C, e.endAngle = x, En(i.headerElements, {
|
|
8456
8456
|
title: a.title,
|
|
8457
8457
|
subtitle: a.subtitle
|
|
8458
|
-
}),
|
|
8458
|
+
}), zn(i.footerElements, a.footer), Wn(e, a.background), ae(e.uid, { config: ke(a) });
|
|
8459
8459
|
}
|
|
8460
8460
|
function $x(t) {
|
|
8461
8461
|
const {
|
|
@@ -8469,7 +8469,7 @@ function $x(t) {
|
|
|
8469
8469
|
options: l,
|
|
8470
8470
|
globalOptions: c
|
|
8471
8471
|
} = t;
|
|
8472
|
-
|
|
8472
|
+
to.commercialLicense = !(c?.showLicenseWatermark ?? c?.hideLicenseWatermark === !1), to.queue = c?.queueChartCreation !== !1, to.autoDispose = c?.autoDisposeChart === !0, c?.animationEnabled ? tg(hl) : ig(hl);
|
|
8473
8473
|
let d;
|
|
8474
8474
|
switch (W(i?.series)) {
|
|
8475
8475
|
case y.PieSeries:
|
|
@@ -8560,7 +8560,7 @@ function Mx(t) {
|
|
|
8560
8560
|
dataInfo: U
|
|
8561
8561
|
} = k, q = D(p.uid, "config"), X = w?.series, Y = X !== void 0 ? W(X) : void 0;
|
|
8562
8562
|
if (p.isDisposed() || S === void 0 || !md(q, w))
|
|
8563
|
-
throw new gi(
|
|
8563
|
+
throw new gi(io.ChartDisposed);
|
|
8564
8564
|
switch (Y) {
|
|
8565
8565
|
case y.BoxPlotSeries:
|
|
8566
8566
|
case y.BarSeries:
|
|
@@ -8655,7 +8655,7 @@ function Mx(t) {
|
|
|
8655
8655
|
}
|
|
8656
8656
|
}
|
|
8657
8657
|
function T() {
|
|
8658
|
-
|
|
8658
|
+
Pn(p);
|
|
8659
8659
|
}
|
|
8660
8660
|
return {
|
|
8661
8661
|
update: L,
|
|
@@ -8663,7 +8663,7 @@ function Mx(t) {
|
|
|
8663
8663
|
resetZoom: T,
|
|
8664
8664
|
clearSelection: () => Ga({ chart: p }),
|
|
8665
8665
|
switchSelection: async (k) => await v(k, a.errorStrings),
|
|
8666
|
-
setActionMode: (k, w) =>
|
|
8666
|
+
setActionMode: (k, w) => Hn({ chart: p, actionMode: k, cursorRange: w })
|
|
8667
8667
|
};
|
|
8668
8668
|
}
|
|
8669
8669
|
const Bx = "AM5C241025748", oe = {
|
|
@@ -8764,11 +8764,11 @@ function Ju(t) {
|
|
|
8764
8764
|
return e;
|
|
8765
8765
|
}
|
|
8766
8766
|
function ef(t) {
|
|
8767
|
-
const e =
|
|
8767
|
+
const e = ro(t), { r: i, g: a, b: o } = e;
|
|
8768
8768
|
return { r: i, g: a, b: o };
|
|
8769
8769
|
}
|
|
8770
8770
|
function Xx(t) {
|
|
8771
|
-
const { style: e, hasOutlineColor: i, outlineSameColorAsFill: a, outlineWidth: o, outlineOpacity: n } = t, s = e !== void 0 && e !==
|
|
8771
|
+
const { style: e, hasOutlineColor: i, outlineSameColorAsFill: a, outlineWidth: o, outlineOpacity: n } = t, s = e !== void 0 && e !== qo.Cross && e !== qo.X, r = (o ?? 0) <= 0 || !i || n === 0 || a;
|
|
8772
8772
|
return s && r;
|
|
8773
8773
|
}
|
|
8774
8774
|
function lc(t) {
|
|
@@ -8867,7 +8867,7 @@ function tf(t, e) {
|
|
|
8867
8867
|
strokeWidth: F.lineWidth,
|
|
8868
8868
|
strokeDasharray: [],
|
|
8869
8869
|
linecap: e !== !0 ? "round" : "square",
|
|
8870
|
-
strokeOpacity:
|
|
8870
|
+
strokeOpacity: yo
|
|
8871
8871
|
};
|
|
8872
8872
|
if (t != null) {
|
|
8873
8873
|
const a = K(t.color);
|
|
@@ -8891,7 +8891,7 @@ function Zx(t, e, i) {
|
|
|
8891
8891
|
};
|
|
8892
8892
|
}
|
|
8893
8893
|
function Kx(t) {
|
|
8894
|
-
const { input: e, element: i, colorMatch: a } = t, { color: o, style: n, size: s, outline: r, xoffset: l, yoffset: c, angle: d } = e, { color: u, width: f } = r ?? {}, g =
|
|
8894
|
+
const { input: e, element: i, colorMatch: a } = t, { color: o, style: n, size: s, outline: r, xoffset: l, yoffset: c, angle: d } = e, { color: u, width: f } = r ?? {}, g = pn(d), h = K(o);
|
|
8895
8895
|
let b = r, p = s;
|
|
8896
8896
|
const S = u !== void 0 && !a && gg(u, o), C = Xx({
|
|
8897
8897
|
style: n,
|
|
@@ -8973,20 +8973,20 @@ function jr(t) {
|
|
|
8973
8973
|
} = t;
|
|
8974
8974
|
let c;
|
|
8975
8975
|
if (o === !0) {
|
|
8976
|
-
const d = s ? pr :
|
|
8977
|
-
if (i.color = i.color ?? ta({ colorIndex: n, opacity: d }),
|
|
8976
|
+
const d = s ? pr : yo;
|
|
8977
|
+
if (i.color = i.color ?? ta({ colorIndex: n, opacity: d }), oo(i) || Xo(i)) {
|
|
8978
8978
|
const { outline: u } = i;
|
|
8979
8979
|
u !== void 0 && (u.color = u?.color ?? ta({ colorIndex: n }), i.outline = { ...u });
|
|
8980
8980
|
}
|
|
8981
8981
|
}
|
|
8982
|
-
return qc(i) ? c = tf(i, !0) :
|
|
8982
|
+
return qc(i) ? c = tf(i, !0) : Xo(i) ? (i.style ??= F.lineSeries.marker.markerStyle, i.size ??= F.lineSeries.marker.markerBigSize, c = Kx({
|
|
8983
8983
|
input: i,
|
|
8984
8984
|
element: a,
|
|
8985
8985
|
colorMatch: r
|
|
8986
|
-
})) :
|
|
8986
|
+
})) : oo(i) && (c = Zx(i, e, l)), c;
|
|
8987
8987
|
}
|
|
8988
8988
|
function tv(t) {
|
|
8989
|
-
const { root: e, input: i, isGuideLabel: a, defaults: o } = t, n =
|
|
8989
|
+
const { root: e, input: i, isGuideLabel: a, defaults: o } = t, n = pn(i.angle, o?.rotation), s = of(i.horizontalAlignment, o?.horizontalCenter), r = nf(i.verticalAlignment, o?.verticalCenter), { align: l, valign: c, horizontalCenter: d, verticalCenter: u } = ev({
|
|
8990
8990
|
angle: n,
|
|
8991
8991
|
mappedHAlignment: s,
|
|
8992
8992
|
mappedVAlignment: r,
|
|
@@ -9003,7 +9003,7 @@ function tv(t) {
|
|
|
9003
9003
|
valign: c,
|
|
9004
9004
|
verticalCenter: u,
|
|
9005
9005
|
horizontalCenter: d,
|
|
9006
|
-
text:
|
|
9006
|
+
text: ho(i.text ?? ""),
|
|
9007
9007
|
angle: n,
|
|
9008
9008
|
xOffset: i.xoffset ?? o?.dx ?? 0,
|
|
9009
9009
|
yOffset: i.yoffset ?? o?.dy ?? 0,
|
|
@@ -9033,7 +9033,7 @@ function sf(t) {
|
|
|
9033
9033
|
l.set("fill", i), l.remove("fillPattern"), l.set("fillOpacity", a);
|
|
9034
9034
|
s !== void 0 && s.set("getFillFromSprite", r);
|
|
9035
9035
|
}
|
|
9036
|
-
function
|
|
9036
|
+
function sn(t, e) {
|
|
9037
9037
|
t.setAll({
|
|
9038
9038
|
stroke: e.stroke,
|
|
9039
9039
|
strokeDasharray: e.strokeDasharray,
|
|
@@ -9060,7 +9060,7 @@ function rf(t) {
|
|
|
9060
9060
|
element: e,
|
|
9061
9061
|
fill: r.fill,
|
|
9062
9062
|
fillOpacity: r.fillOpacity
|
|
9063
|
-
}),
|
|
9063
|
+
}), sn(e, r.outline)), re(e, a)), r;
|
|
9064
9064
|
}
|
|
9065
9065
|
function Hi(t) {
|
|
9066
9066
|
const {
|
|
@@ -9091,7 +9091,7 @@ function Hi(t) {
|
|
|
9091
9091
|
fillOpacity: g.fillOpacity,
|
|
9092
9092
|
pattern: g.pattern,
|
|
9093
9093
|
chartBackgroundFill: h
|
|
9094
|
-
}),
|
|
9094
|
+
}), sn(i, g.outline);
|
|
9095
9095
|
}
|
|
9096
9096
|
l || re(i, o);
|
|
9097
9097
|
}
|
|
@@ -9104,7 +9104,7 @@ function Zt(t) {
|
|
|
9104
9104
|
symbol: i,
|
|
9105
9105
|
defaultToColorFromRamp: o,
|
|
9106
9106
|
colorRampIndex: n
|
|
9107
|
-
}), s !== void 0 && (
|
|
9107
|
+
}), s !== void 0 && (sn(e, s), e instanceof ne && sn(e.strokes.template, s))), re(e, a)), s;
|
|
9108
9108
|
}
|
|
9109
9109
|
function xt(t) {
|
|
9110
9110
|
const {
|
|
@@ -9162,7 +9162,7 @@ function cc(t, e) {
|
|
|
9162
9162
|
i !== void 0 && t.setAll({ fill: K(i).color, fillOpacity: 1 }), a !== void 0 && t.setAll({ stroke: K(a).color, strokeOpacity: 1 }), o !== void 0 && t.setAll({ strokeWidth: o }), n !== void 0 && t.setAll({ rotation: n }), l !== void 0 && t.setAll({ scale: l }), r !== void 0 && t.setAll({ fillOpacity: r, strokeOpacity: r });
|
|
9163
9163
|
}
|
|
9164
9164
|
}
|
|
9165
|
-
function
|
|
9165
|
+
function Ao(t) {
|
|
9166
9166
|
const { chart: e } = t, i = R(e?.uid ?? Number.NaN, "config"), a = Ct(i);
|
|
9167
9167
|
return se(t.uid, "isOverlay") !== !0 && t.get("id") !== F.overlayId.scatterplotTrendLine && (!(t instanceof Ti) || !a) && !(t instanceof la);
|
|
9168
9168
|
}
|
|
@@ -9219,10 +9219,10 @@ function sv(t, e) {
|
|
|
9219
9219
|
e === !0 && t.setThemes([Rh.new(t)]);
|
|
9220
9220
|
}
|
|
9221
9221
|
function K(t) {
|
|
9222
|
-
let e =
|
|
9222
|
+
let e = ro("#000000"), i = yo;
|
|
9223
9223
|
if (t != null) {
|
|
9224
9224
|
const [a, o, n, s] = t;
|
|
9225
|
-
i = s / 255, e =
|
|
9225
|
+
i = s / 255, e = ro(`rgba(${a}, ${o}, ${n}, ${i})`);
|
|
9226
9226
|
}
|
|
9227
9227
|
return { color: e, opacity: i };
|
|
9228
9228
|
}
|
|
@@ -9278,7 +9278,7 @@ function rv(t) {
|
|
|
9278
9278
|
function uf(t) {
|
|
9279
9279
|
const { chart: e, chartConfig: i, whenReadyCallback: a } = t, o = W(i.series), n = e.root.events.on(oe.FrameEnded, () => {
|
|
9280
9280
|
e.series.values.every(
|
|
9281
|
-
(r) => !
|
|
9281
|
+
(r) => !Ao(r) || df(i, r)
|
|
9282
9282
|
) && (n.dispose(), a(), o !== y.ScatterSeries && e.series.each((r) => {
|
|
9283
9283
|
!(r instanceof la) && r instanceof ne && r.markDirtySize();
|
|
9284
9284
|
}));
|
|
@@ -9286,12 +9286,12 @@ function uf(t) {
|
|
|
9286
9286
|
}
|
|
9287
9287
|
function ff(t) {
|
|
9288
9288
|
const { chart: e, chartConfig: i, delayCallback: a } = t, { root: o } = e;
|
|
9289
|
-
W(i.series) === y.GaugeSeries || !a ?
|
|
9289
|
+
W(i.series) === y.GaugeSeries || !a ? Uo(o.dom) : e instanceof lo && a && uf({
|
|
9290
9290
|
chart: e,
|
|
9291
9291
|
chartConfig: i,
|
|
9292
9292
|
whenReadyCallback: () => {
|
|
9293
9293
|
o.events.once(oe.FrameEnded, () => {
|
|
9294
|
-
|
|
9294
|
+
Uo(o.dom);
|
|
9295
9295
|
});
|
|
9296
9296
|
}
|
|
9297
9297
|
});
|
|
@@ -9315,7 +9315,7 @@ function dc(t) {
|
|
|
9315
9315
|
const { label: e, offset: i, offsetProperty: a } = t;
|
|
9316
9316
|
e.adapters.remove(a), (e instanceof ot ? [e] : e.entities).forEach((n) => {
|
|
9317
9317
|
if (typeof i == "string" && !Number.isFinite(Number(i))) {
|
|
9318
|
-
let s =
|
|
9318
|
+
let s = bn(i);
|
|
9319
9319
|
typeof s == "number" && (s /= 100, n.adapters.add(a, () => (a === "dx" ? n.width() : n.height()) * (s ?? 0)));
|
|
9320
9320
|
} else {
|
|
9321
9321
|
const s = Number(i);
|
|
@@ -9648,18 +9648,18 @@ function Ba(t) {
|
|
|
9648
9648
|
});
|
|
9649
9649
|
return typeof e == "number" && i.type === y.NumberAxisFormat ? n = s.format(e, Si(i)) : (typeof e == "number" || e instanceof Date) && i.type === y.DateAxisFormat && (n = s.format(e, Si(i))), n;
|
|
9650
9650
|
}
|
|
9651
|
-
function
|
|
9651
|
+
function rn(t) {
|
|
9652
9652
|
if (t !== void 0)
|
|
9653
9653
|
if (t.isDisposed())
|
|
9654
|
-
t.root.events.off(oe.FrameEnded, () =>
|
|
9654
|
+
t.root.events.off(oe.FrameEnded, () => rn(t));
|
|
9655
9655
|
else {
|
|
9656
9656
|
const e = R(t.uid, "config"), i = Sd(e) && Ke(e) && yf(e) && t.series.length > 0, a = i ? bf(t) : 0;
|
|
9657
|
-
(!i || a > 0) && (t.root.events.off(oe.FrameEnded, () =>
|
|
9657
|
+
(!i || a > 0) && (t.root.events.off(oe.FrameEnded, () => rn(t)), Zr(t));
|
|
9658
9658
|
}
|
|
9659
9659
|
}
|
|
9660
9660
|
function hv(t) {
|
|
9661
|
-
if (!t.root.events.has(oe.FrameEnded, () =>
|
|
9662
|
-
const e = t.root.events.on(oe.FrameEnded, () =>
|
|
9661
|
+
if (!t.root.events.has(oe.FrameEnded, () => rn(t))) {
|
|
9662
|
+
const e = t.root.events.on(oe.FrameEnded, () => rn(t));
|
|
9663
9663
|
t.addDisposer(e);
|
|
9664
9664
|
}
|
|
9665
9665
|
}
|
|
@@ -9805,12 +9805,12 @@ function qr(t, e = 1) {
|
|
|
9805
9805
|
function pf(t) {
|
|
9806
9806
|
const { textBackgroundColor: e, chartBackgroundColor: i, fillOpacity: a } = t;
|
|
9807
9807
|
let o;
|
|
9808
|
-
return
|
|
9808
|
+
return Wo({ r: e.r, g: e.g, b: e.b, a }) ? o = Wo({
|
|
9809
9809
|
r: i.r,
|
|
9810
9810
|
g: i.g,
|
|
9811
9811
|
b: i.b,
|
|
9812
9812
|
a
|
|
9813
|
-
}) ? K(ch).color : i : o =
|
|
9813
|
+
}) ? K(ch).color : i : o = Wo({
|
|
9814
9814
|
r: i.r,
|
|
9815
9815
|
g: i.g,
|
|
9816
9816
|
b: i.b,
|
|
@@ -9852,7 +9852,7 @@ function vv(t) {
|
|
|
9852
9852
|
return o === "html" ? _e(r) : r;
|
|
9853
9853
|
});
|
|
9854
9854
|
}
|
|
9855
|
-
function
|
|
9855
|
+
function _n(t) {
|
|
9856
9856
|
const {
|
|
9857
9857
|
series: e,
|
|
9858
9858
|
seriesConfig: i,
|
|
@@ -9870,7 +9870,7 @@ function Gn(t) {
|
|
|
9870
9870
|
const f = n?.content ?? { type: Z.TS }, g = d ? R(d.uid, "config") : void 0;
|
|
9871
9871
|
if (d && c === void 0 && l !== void 0 && g?.axes?.[1]?.valueFormat?.type === y.NumberAxisFormat) {
|
|
9872
9872
|
const L = R(d.uid, "formatLocale"), v = r === y.HeatSeries ? { type: y.NumberAxisFormat, intlOptions: {} } : g?.axes?.[1]?.valueFormat, T = nt(g), k = T === ie.Stacked100 ? {
|
|
9873
|
-
...
|
|
9873
|
+
...Tn().intlOptions,
|
|
9874
9874
|
...v.intlOptions,
|
|
9875
9875
|
style: "percent"
|
|
9876
9876
|
} : { ...v.intlOptions }, w = Ht({
|
|
@@ -9938,7 +9938,7 @@ function Lv(t) {
|
|
|
9938
9938
|
if (c) {
|
|
9939
9939
|
r || (c.set("locationY", !s && !o ? 1 : void 0), c.set("locationX", !s && o ? 1 : void 0));
|
|
9940
9940
|
const d = c.get("sprite");
|
|
9941
|
-
d instanceof ot &&
|
|
9941
|
+
d instanceof ot && _n({
|
|
9942
9942
|
...t,
|
|
9943
9943
|
dataLabel: d,
|
|
9944
9944
|
labelDefaults: i,
|
|
@@ -10008,7 +10008,7 @@ function Sf(t) {
|
|
|
10008
10008
|
dataLabel: r,
|
|
10009
10009
|
dataLabelFormatter: l
|
|
10010
10010
|
} = t;
|
|
10011
|
-
r && (e.chart && i && i?.visible !== !1 && hf({ label: r, chart: e.chart, seriesType: s }), Sv({ series: e, label: r, seriesType: s }),
|
|
10011
|
+
r && (e.chart && i && i?.visible !== !1 && hf({ label: r, chart: e.chart, seriesType: s }), Sv({ series: e, label: r, seriesType: s }), _n({
|
|
10012
10012
|
...t,
|
|
10013
10013
|
dataLabel: r,
|
|
10014
10014
|
labelDefaults: n,
|
|
@@ -10049,7 +10049,7 @@ function Av(t) {
|
|
|
10049
10049
|
dataLabel: l,
|
|
10050
10050
|
series: e,
|
|
10051
10051
|
externalDataLabelFormatter: a
|
|
10052
|
-
}), e.chart && s && s?.visible !== !1 && hf({ label: l, chart: e.chart, seriesType: o }),
|
|
10052
|
+
}), e.chart && s && s?.visible !== !1 && hf({ label: l, chart: e.chart, seriesType: o }), _n({
|
|
10053
10053
|
...t,
|
|
10054
10054
|
dataLabel: l,
|
|
10055
10055
|
dataLabelsConfig: s,
|
|
@@ -10085,7 +10085,7 @@ function kv(t) {
|
|
|
10085
10085
|
const n = o.bullets?.[0];
|
|
10086
10086
|
if (n) {
|
|
10087
10087
|
const s = n.get("sprite");
|
|
10088
|
-
s &&
|
|
10088
|
+
s && _n({
|
|
10089
10089
|
...t,
|
|
10090
10090
|
dataLabel: s,
|
|
10091
10091
|
labelDefaults: i,
|
|
@@ -10128,14 +10128,14 @@ function Lf(t) {
|
|
|
10128
10128
|
}
|
|
10129
10129
|
}
|
|
10130
10130
|
function Ff(t, e) {
|
|
10131
|
-
const i =
|
|
10131
|
+
const i = To(t);
|
|
10132
10132
|
t.columns.template.set("tooltip", i);
|
|
10133
10133
|
const a = e !== void 0 ? "tooltipHTML" : "tooltipText";
|
|
10134
10134
|
t.columns.template.setAll({
|
|
10135
10135
|
tooltipPosition: F.columnTooltipPosition
|
|
10136
10136
|
}), t.columns.template.adapters.remove(a), t.columns.template.adapters.add(
|
|
10137
10137
|
a,
|
|
10138
|
-
(o, n) =>
|
|
10138
|
+
(o, n) => ko({ element: n, series: t, isHTML: e !== void 0 })
|
|
10139
10139
|
);
|
|
10140
10140
|
}
|
|
10141
10141
|
function Kr(t) {
|
|
@@ -10200,7 +10200,7 @@ function Iv(t, e) {
|
|
|
10200
10200
|
percentageSuffix: g
|
|
10201
10201
|
})("", b, p), v = !Fe(h) && (r ?? F.pieChart.displayCategoryOnTooltip);
|
|
10202
10202
|
if (v && (S = `[bold]${h}[/]`), !Fe(L)) {
|
|
10203
|
-
const T =
|
|
10203
|
+
const T = ho(L);
|
|
10204
10204
|
S = v ? `${S}
|
|
10205
10205
|
${T}` : T;
|
|
10206
10206
|
}
|
|
@@ -10242,7 +10242,7 @@ function Rv(t) {
|
|
|
10242
10242
|
return a;
|
|
10243
10243
|
}
|
|
10244
10244
|
function Af(t, e) {
|
|
10245
|
-
const i = t.slices.template, a =
|
|
10245
|
+
const i = t.slices.template, a = To(t), o = e !== void 0 ? "tooltipHTML" : "tooltipText";
|
|
10246
10246
|
i.setAll({
|
|
10247
10247
|
tooltip: a,
|
|
10248
10248
|
tooltipText: " ",
|
|
@@ -10251,7 +10251,7 @@ function Af(t, e) {
|
|
|
10251
10251
|
let r = " ";
|
|
10252
10252
|
try {
|
|
10253
10253
|
const l = s.get("tooltip");
|
|
10254
|
-
l && (l.dataItem = s.dataItem, r =
|
|
10254
|
+
l && (l.dataItem = s.dataItem, r = ko({
|
|
10255
10255
|
element: l,
|
|
10256
10256
|
series: t,
|
|
10257
10257
|
isHTML: e !== void 0
|
|
@@ -10341,14 +10341,14 @@ function $v(t) {
|
|
|
10341
10341
|
return _e(a);
|
|
10342
10342
|
}
|
|
10343
10343
|
function Tf(t, e) {
|
|
10344
|
-
const i =
|
|
10344
|
+
const i = To(t);
|
|
10345
10345
|
t.columns.template.set("tooltip", i);
|
|
10346
10346
|
const a = e !== void 0 ? "tooltipHTML" : "tooltipText";
|
|
10347
10347
|
t.columns.template.setAll({
|
|
10348
10348
|
tooltipPosition: F.columnTooltipPosition
|
|
10349
10349
|
}), t.columns.template.adapters.remove(a), t.columns.template.adapters.add(
|
|
10350
10350
|
a,
|
|
10351
|
-
(o, n) =>
|
|
10351
|
+
(o, n) => ko({ element: n, series: t, isHTML: e !== void 0 })
|
|
10352
10352
|
);
|
|
10353
10353
|
}
|
|
10354
10354
|
function Mv(t) {
|
|
@@ -10391,7 +10391,7 @@ function Bv(t) {
|
|
|
10391
10391
|
else if (yg(I)) {
|
|
10392
10392
|
const B = new Date(O), M = r ? R(r.uid, "formatLocale") : void 0;
|
|
10393
10393
|
$ = new Intl.DateTimeFormat(M, {}).format(B);
|
|
10394
|
-
} else I.type ===
|
|
10394
|
+
} else I.type === An.String && typeof O == "string" && ($ = O);
|
|
10395
10395
|
T += l ? `
|
|
10396
10396
|
${$}[bold]${w}${c} [/]` : `
|
|
10397
10397
|
[bold]${w}${c} [/]${$}`;
|
|
@@ -10431,7 +10431,7 @@ function fc(t, e) {
|
|
|
10431
10431
|
if (e !== void 0) {
|
|
10432
10432
|
const i = ef(e);
|
|
10433
10433
|
i !== void 0 && t.label.setAll({
|
|
10434
|
-
fill:
|
|
10434
|
+
fill: Wo({ r: i.r, g: i.g, b: i.b, a: 1 }) ? ro("#000000") : ro("#ffffff")
|
|
10435
10435
|
});
|
|
10436
10436
|
}
|
|
10437
10437
|
}
|
|
@@ -10486,22 +10486,22 @@ function mc(t, e) {
|
|
|
10486
10486
|
const i = R(e.chart?.uid ?? Number.NaN, "config"), { seriesConfig: a } = i ? ja(e, i) : { seriesConfig: void 0 }, o = a?.dataTooltipFontSize ?? F.tooltipFontSize;
|
|
10487
10487
|
t.label.get("fontSize") !== o && t.label.set("fontSize", o);
|
|
10488
10488
|
}
|
|
10489
|
-
function
|
|
10489
|
+
function To(t) {
|
|
10490
10490
|
const { root: e, chart: i } = t, a = Gi.new(e, { autoTextColor: !1 });
|
|
10491
10491
|
return a.label.setAll({
|
|
10492
10492
|
oversizedBehavior: "wrap",
|
|
10493
10493
|
maxWidth: F.tooltipWidth
|
|
10494
10494
|
}), a.adapters.add("visible", (o, n) => (o && (mc(n, t), Ev(n, t)), o)), Vv(a), Wv(a, i), mc(a, t), He(t.uid, { tooltipTemplate: a }), a;
|
|
10495
10495
|
}
|
|
10496
|
-
function
|
|
10496
|
+
function Gn(t) {
|
|
10497
10497
|
const { series: e, element: i, tooltipFormatter: a } = t;
|
|
10498
10498
|
let o;
|
|
10499
|
-
const n =
|
|
10499
|
+
const n = To(e);
|
|
10500
10500
|
i && i.get("tooltip") === void 0 ? (o = i, i.setAll({
|
|
10501
10501
|
tooltip: n,
|
|
10502
10502
|
tooltipPosition: F.markerTooltipPosition
|
|
10503
10503
|
})) : o = n;
|
|
10504
|
-
const s = a !== void 0 ? "tooltipHTML" : "tooltipText", r = (l, c) =>
|
|
10504
|
+
const s = a !== void 0 ? "tooltipHTML" : "tooltipText", r = (l, c) => ko({ element: c, series: e, isHTML: a !== void 0 });
|
|
10505
10505
|
return (o instanceof Gi || o instanceof ra) && (o.adapters.remove(s), o.adapters.add(s, r)), n;
|
|
10506
10506
|
}
|
|
10507
10507
|
function Wv(t, e) {
|
|
@@ -10535,7 +10535,7 @@ function zv(t) {
|
|
|
10535
10535
|
let f;
|
|
10536
10536
|
o && typeof c == "number" ? f = c : !o && typeof d == "number" && (f = d), f && (f /= 100);
|
|
10537
10537
|
const g = s.dataContext ?? {}, h = R(i.chart?.uid ?? 0, "config"), b = R(i.chart?.uid ?? 0, "rendererFieldNames"), p = ai({
|
|
10538
|
-
value:
|
|
10538
|
+
value: Fn(j([e]), e),
|
|
10539
10539
|
dataContext: g,
|
|
10540
10540
|
useRendererLabel: Ta(h, b),
|
|
10541
10541
|
config: h
|
|
@@ -10563,7 +10563,7 @@ function gc(t, e) {
|
|
|
10563
10563
|
i && i.set("forceHidden", e);
|
|
10564
10564
|
}
|
|
10565
10565
|
}
|
|
10566
|
-
function
|
|
10566
|
+
function ko(t) {
|
|
10567
10567
|
const { element: e, series: i, isHTML: a } = t;
|
|
10568
10568
|
let o;
|
|
10569
10569
|
const { chart: n } = i;
|
|
@@ -10699,7 +10699,7 @@ function Gv(t) {
|
|
|
10699
10699
|
let g = "";
|
|
10700
10700
|
if (e && o !== void 0 && c !== void 0) {
|
|
10701
10701
|
let h = r;
|
|
10702
|
-
h === void 0 && (h =
|
|
10702
|
+
h === void 0 && (h = Tn(), h.intlOptions.minimumFractionDigits = 2, h.intlOptions.maximumFractionDigits = 2), g = Ba({
|
|
10703
10703
|
root: c,
|
|
10704
10704
|
value: o,
|
|
10705
10705
|
valueFormat: h,
|
|
@@ -10716,7 +10716,7 @@ function Xv(t) {
|
|
|
10716
10716
|
if (g !== void 0) {
|
|
10717
10717
|
const { dataTooltipVisible: h } = n, b = o instanceof ne ? n.markerVisible : void 0;
|
|
10718
10718
|
if (h !== !1 && b !== !1) {
|
|
10719
|
-
const p = g.axes, S = p[0].valueFormat, C = p[1].valueFormat, x = i?.find((M) => M.name === n.x)?.type ===
|
|
10719
|
+
const p = g.axes, S = p[0].valueFormat, C = p[1].valueFormat, x = i?.find((M) => M.name === n.x)?.type === An.TimeOnly, L = j(g.series), v = nt(g) === ie.Stacked100, T = et(a), k = sa(T).idField, w = Me(i, n.x), I = $a(w, p[0].title?.content.text), O = bu({
|
|
10720
10720
|
config: g,
|
|
10721
10721
|
fieldList: i,
|
|
10722
10722
|
objectIdField: k,
|
|
@@ -10815,7 +10815,7 @@ function Yv(t) {
|
|
|
10815
10815
|
}
|
|
10816
10816
|
case (i instanceof ne && (e === y.ComboLineAndBarSeries || e === y.LineSeries || e === y.RadarSeries || e === y.ScatterSeries)): {
|
|
10817
10817
|
const o = se(i.uid, "bulletTemplate");
|
|
10818
|
-
o &&
|
|
10818
|
+
o && Gn({
|
|
10819
10819
|
series: i,
|
|
10820
10820
|
element: o,
|
|
10821
10821
|
tooltipFormatter: a
|
|
@@ -10858,14 +10858,14 @@ function jv(t) {
|
|
|
10858
10858
|
return "";
|
|
10859
10859
|
}
|
|
10860
10860
|
function wf(t, e) {
|
|
10861
|
-
const i =
|
|
10861
|
+
const i = To(t);
|
|
10862
10862
|
t.columns.template.set("tooltip", i);
|
|
10863
10863
|
const a = e !== void 0 ? "tooltipHTML" : "tooltipText";
|
|
10864
10864
|
t.columns.template.setAll({
|
|
10865
10865
|
tooltipPosition: F.columnTooltipPosition
|
|
10866
10866
|
}), t.columns.template.adapters.remove(a), t.columns.template.adapters.add(
|
|
10867
10867
|
a,
|
|
10868
|
-
(o, n) =>
|
|
10868
|
+
(o, n) => ko({ element: n, series: t, isHTML: e !== void 0 })
|
|
10869
10869
|
);
|
|
10870
10870
|
}
|
|
10871
10871
|
function qv(t) {
|
|
@@ -10878,7 +10878,7 @@ function qv(t) {
|
|
|
10878
10878
|
histogramTooltipFormatter: i ?? Uv(t)
|
|
10879
10879
|
});
|
|
10880
10880
|
}
|
|
10881
|
-
function
|
|
10881
|
+
function Xn(t) {
|
|
10882
10882
|
return [
|
|
10883
10883
|
F.overlayId.histogramMean,
|
|
10884
10884
|
F.overlayId.histogramMedian,
|
|
@@ -10930,7 +10930,7 @@ function Qv(t) {
|
|
|
10930
10930
|
const { series: e, data: i, dataWasUpdated: a, seriesWereReinitialized: o } = t;
|
|
10931
10931
|
i && (a === !0 || o === !0) && e.data.setAll(i.bins);
|
|
10932
10932
|
}
|
|
10933
|
-
function
|
|
10933
|
+
function No(t) {
|
|
10934
10934
|
const { root: e, xAxis: i, yAxis: a, type: o, utilsStrings: n } = t, s = ne.new(e, {
|
|
10935
10935
|
id: Zv(o),
|
|
10936
10936
|
valueXField: "x",
|
|
@@ -10947,8 +10947,8 @@ function Jv(t) {
|
|
|
10947
10947
|
name: d,
|
|
10948
10948
|
xAxis: a,
|
|
10949
10949
|
yAxis: o,
|
|
10950
|
-
categoryXField:
|
|
10951
|
-
valueYField:
|
|
10950
|
+
categoryXField: so.Start,
|
|
10951
|
+
valueYField: so.Count,
|
|
10952
10952
|
maskBullets: !1
|
|
10953
10953
|
});
|
|
10954
10954
|
return Ee(u.columns.template, n?.selectionTheme), ei({ element: u.columns.template, series: u, queryObject: r, errorStrings: l }), u.columns.template.setAll({
|
|
@@ -10959,7 +10959,7 @@ function Jv(t) {
|
|
|
10959
10959
|
seriesType: y.HistogramSeries,
|
|
10960
10960
|
dataLabelsConfig: i.dataLabels,
|
|
10961
10961
|
externalDataLabelFormatter: n?.dataLabelFormatter
|
|
10962
|
-
}),
|
|
10962
|
+
}), Un(u, s), u.appear(), u;
|
|
10963
10963
|
}
|
|
10964
10964
|
function eL(t) {
|
|
10965
10965
|
const {
|
|
@@ -10984,7 +10984,7 @@ function eL(t) {
|
|
|
10984
10984
|
errorStrings: d
|
|
10985
10985
|
});
|
|
10986
10986
|
return u.push(f), wf(f, r?.tooltipFormatter), o && (u.push(
|
|
10987
|
-
|
|
10987
|
+
No({
|
|
10988
10988
|
root: e,
|
|
10989
10989
|
xAxis: o,
|
|
10990
10990
|
yAxis: n,
|
|
@@ -10992,7 +10992,7 @@ function eL(t) {
|
|
|
10992
10992
|
utilsStrings: s
|
|
10993
10993
|
})
|
|
10994
10994
|
), u.push(
|
|
10995
|
-
|
|
10995
|
+
No({
|
|
10996
10996
|
root: e,
|
|
10997
10997
|
xAxis: o,
|
|
10998
10998
|
yAxis: n,
|
|
@@ -11000,7 +11000,7 @@ function eL(t) {
|
|
|
11000
11000
|
utilsStrings: s
|
|
11001
11001
|
})
|
|
11002
11002
|
), u.push(
|
|
11003
|
-
|
|
11003
|
+
No({
|
|
11004
11004
|
root: e,
|
|
11005
11005
|
xAxis: o,
|
|
11006
11006
|
yAxis: n,
|
|
@@ -11008,7 +11008,7 @@ function eL(t) {
|
|
|
11008
11008
|
utilsStrings: s
|
|
11009
11009
|
})
|
|
11010
11010
|
), u.push(
|
|
11011
|
-
|
|
11011
|
+
No({
|
|
11012
11012
|
root: e,
|
|
11013
11013
|
xAxis: o,
|
|
11014
11014
|
yAxis: n,
|
|
@@ -11190,7 +11190,7 @@ function oL(t) {
|
|
|
11190
11190
|
}));
|
|
11191
11191
|
}
|
|
11192
11192
|
}
|
|
11193
|
-
function
|
|
11193
|
+
function go(t, e) {
|
|
11194
11194
|
if (t !== void 0 && e !== void 0 && (t.states.lookup("default")?.setAll({
|
|
11195
11195
|
fill: e.fill,
|
|
11196
11196
|
// stylingInfo.pattern ?? stylingInfo.fill,
|
|
@@ -11267,7 +11267,7 @@ function lL(t) {
|
|
|
11267
11267
|
// show tooltip when the marker receives keyboard focus
|
|
11268
11268
|
nonScalingStroke: !0,
|
|
11269
11269
|
// this avoids the border to scale with the marker when using heat rules (bubble plot), which was leading to an opacity glitch (see https://help.amcharts.com/hc/en-us/requests/99558)
|
|
11270
|
-
tooltip:
|
|
11270
|
+
tooltip: Gn({ series: e, tooltipFormatter: i?.tooltipFormatter }),
|
|
11271
11271
|
layer: F.zIndexes.customLayer5
|
|
11272
11272
|
},
|
|
11273
11273
|
n
|
|
@@ -11353,7 +11353,7 @@ function uL(t) {
|
|
|
11353
11353
|
rendererSymbol: h,
|
|
11354
11354
|
colorMatch: s
|
|
11355
11355
|
});
|
|
11356
|
-
r = b.symbolWithColorInfo, l = b.stylingInfo,
|
|
11356
|
+
r = b.symbolWithColorInfo, l = b.stylingInfo, go(g, l), d.add(JSON.stringify(l));
|
|
11357
11357
|
}
|
|
11358
11358
|
}), r = d.size > 1 ? void 0 : r;
|
|
11359
11359
|
const u = /* @__PURE__ */ new Map();
|
|
@@ -11465,7 +11465,7 @@ function hL(t) {
|
|
|
11465
11465
|
}
|
|
11466
11466
|
function Jr(t) {
|
|
11467
11467
|
let e = [];
|
|
11468
|
-
if (
|
|
11468
|
+
if (Ao(t))
|
|
11469
11469
|
switch (!0) {
|
|
11470
11470
|
case t instanceof Ti:
|
|
11471
11471
|
e = t.columns.values;
|
|
@@ -11480,7 +11480,7 @@ function Jr(t) {
|
|
|
11480
11480
|
if (a) {
|
|
11481
11481
|
const o = W(a?.series);
|
|
11482
11482
|
let n = [];
|
|
11483
|
-
o === y.HistogramSeries ? n = [
|
|
11483
|
+
o === y.HistogramSeries ? n = [so.Count] : o === y.HeatSeries ? n = [we.valueField] : n = ui(a?.series, [t.get("id") ?? ""]), e = t.columns.values.filter((s) => {
|
|
11484
11484
|
let r = !1;
|
|
11485
11485
|
const l = s.dataItem?.dataContext;
|
|
11486
11486
|
return l && (r = o === y.HeatSeries || n.some((c) => c in l && Number.isFinite(l[c]))), r;
|
|
@@ -11503,7 +11503,7 @@ function Of(t, e) {
|
|
|
11503
11503
|
function pL(t) {
|
|
11504
11504
|
const { chart: e, selectionIndexes: i, queryObject: a } = t, o = [], n = [], s = R(e.uid, "config"), r = Fi(s), l = ui(s?.series ?? []), c = j(s?.series), d = W(s?.series);
|
|
11505
11505
|
return e.series.each((u, f) => {
|
|
11506
|
-
if (s && i &&
|
|
11506
|
+
if (s && i && Ao(u) && u.get("visible") === !0) {
|
|
11507
11507
|
const g = s.series[0].x, h = pa(u), b = i.get(f);
|
|
11508
11508
|
if (b !== void 0) {
|
|
11509
11509
|
const p = Jr(u);
|
|
@@ -11531,9 +11531,9 @@ function pL(t) {
|
|
|
11531
11531
|
}), Of(e, n), o;
|
|
11532
11532
|
}
|
|
11533
11533
|
function bL(t) {
|
|
11534
|
-
const { chart: e, chartConfig: i, selectionItems: a = [], options: o, layerOidField: n } = t, s = j(i.series), r = W(i.series), l =
|
|
11534
|
+
const { chart: e, chartConfig: i, selectionItems: a = [], options: o, layerOidField: n } = t, s = j(i.series), r = W(i.series), l = Sn(i), c = (d) => {
|
|
11535
11535
|
const { element: u, xAxisField: f, yAxisField: g, splitBy: h } = d, b = u.dataItem?.dataContext;
|
|
11536
|
-
return
|
|
11536
|
+
return Rn({
|
|
11537
11537
|
elementDataContext: b,
|
|
11538
11538
|
options: o,
|
|
11539
11539
|
selectionItems: a,
|
|
@@ -11547,7 +11547,7 @@ function bL(t) {
|
|
|
11547
11547
|
});
|
|
11548
11548
|
};
|
|
11549
11549
|
e.series.each((d) => {
|
|
11550
|
-
if (
|
|
11550
|
+
if (Ao(d)) {
|
|
11551
11551
|
const { seriesConfig: u } = ja(d, i);
|
|
11552
11552
|
if (u) {
|
|
11553
11553
|
const f = u.query?.where ?? "", g = u.x, h = u.type === y.BoxPlotSeries || u.type === y.HeatSeries ? u.y.toString() : pa(d);
|
|
@@ -11563,11 +11563,11 @@ function bL(t) {
|
|
|
11563
11563
|
});
|
|
11564
11564
|
}
|
|
11565
11565
|
function yL(t) {
|
|
11566
|
-
const { chart: e, chartConfig: i, options: a, selectionItems: o, layerOidField: n, queryObject: s } = t, r = W(i.series), l = j(i.series), c = Fi(i), d =
|
|
11566
|
+
const { chart: e, chartConfig: i, options: a, selectionItems: o, layerOidField: n, queryObject: s } = t, r = W(i.series), l = j(i.series), c = Fi(i), d = Sn(i), u = [];
|
|
11567
11567
|
let f = [];
|
|
11568
11568
|
const g = /* @__PURE__ */ new Map(), h = ui(i.series);
|
|
11569
11569
|
return e.series.each((b, p) => {
|
|
11570
|
-
if (
|
|
11570
|
+
if (Ao(b)) {
|
|
11571
11571
|
const { seriesConfig: S } = ja(b, i);
|
|
11572
11572
|
if (S) {
|
|
11573
11573
|
const C = [], x = S.query?.where ?? "", L = S.x, v = S.type === y.BoxPlotSeries || S.type === y.HeatSeries ? S.y.toString() : pa(b), T = Jr(b);
|
|
@@ -11585,7 +11585,7 @@ function yL(t) {
|
|
|
11585
11585
|
chartSubType: l,
|
|
11586
11586
|
showOutliers: c,
|
|
11587
11587
|
isFeatureCollectionLayer: Ci(s)
|
|
11588
|
-
})),
|
|
11588
|
+
})), Rn({
|
|
11589
11589
|
elementDataContext: O,
|
|
11590
11590
|
options: a,
|
|
11591
11591
|
selectionItems: o,
|
|
@@ -11602,7 +11602,7 @@ function yL(t) {
|
|
|
11602
11602
|
f.push(O);
|
|
11603
11603
|
else {
|
|
11604
11604
|
const B = /* @__PURE__ */ new Set();
|
|
11605
|
-
r === y.PieSeries && ki(O) ? (
|
|
11605
|
+
r === y.PieSeries && ki(O) ? (Co({
|
|
11606
11606
|
groupOfSlicesDataContext: O
|
|
11607
11607
|
}) ?? []).forEach((P) => {
|
|
11608
11608
|
o.forEach((G) => {
|
|
@@ -11636,7 +11636,7 @@ function yL(t) {
|
|
|
11636
11636
|
k.length === T.length ? g.set(p, {}) : g.set(p, { indexesToSelect: k });
|
|
11637
11637
|
}
|
|
11638
11638
|
}
|
|
11639
|
-
}), i.series.length > 1 && l !== V.BarAndLineNoAggregation && l !== V.BarAndLineSplitByNoAggregation && (f =
|
|
11639
|
+
}), i.series.length > 1 && l !== V.BarAndLineNoAggregation && l !== V.BarAndLineSplitByNoAggregation && (f = yn({
|
|
11640
11640
|
data: f,
|
|
11641
11641
|
x: i.series[0].x,
|
|
11642
11642
|
splitByField: Qt(i.series[0].query?.where)
|
|
@@ -11657,7 +11657,7 @@ function CL(t) {
|
|
|
11657
11657
|
} = t;
|
|
11658
11658
|
return (e !== !0 && i !== void 0 && i.length > 0 && (a === !0 || o === !0 || n === !0 || i !== void 0 && s)) === !0;
|
|
11659
11659
|
}
|
|
11660
|
-
function
|
|
11660
|
+
function Yn(t) {
|
|
11661
11661
|
const { chart: e, chartConfig: i, queryObject: a, dataWasUpdated: o, sortChanged: n, groupOfSlicesWasUpdated: s, options: r } = t, {
|
|
11662
11662
|
filterBySelection: l,
|
|
11663
11663
|
selectionData: c,
|
|
@@ -11712,10 +11712,10 @@ function Un(t) {
|
|
|
11712
11712
|
}
|
|
11713
11713
|
});
|
|
11714
11714
|
}
|
|
11715
|
-
async function
|
|
11715
|
+
async function Io(t) {
|
|
11716
11716
|
const { chart: e, selectionSource: i, queryObject: a, errorStrings: o } = t, n = R(e.uid, "config"), s = mt(a);
|
|
11717
11717
|
if (n) {
|
|
11718
|
-
const r = R(e.uid, "options"), l = W(n.series), c = j(n.series), d = Fi(n), u = ui(n.series), f = n.series[0].x, g = Ki(a), h = s ? void 0 :
|
|
11718
|
+
const r = R(e.uid, "options"), l = W(n.series), c = j(n.series), d = Fi(n), u = ui(n.series), f = n.series[0].x, g = Ki(a), h = s ? void 0 : Ln(et(a))?.dateFieldsTimeZone;
|
|
11719
11719
|
let b;
|
|
11720
11720
|
ni(n) ? b = n.outTimeZone : Ea(n.series[0]) && (b = n.series[0].temporalBinning?.outTimeZone);
|
|
11721
11721
|
const p = et(a), S = "objectIdField" in p ? p.objectIdField : void 0, x = Lt(a).find((L) => L.name === f)?.type;
|
|
@@ -11728,10 +11728,10 @@ async function wo(t) {
|
|
|
11728
11728
|
const { seriesConfig: M } = ja($, n), P = M?.query?.where ?? "", G = M?.type === y.BoxPlotSeries ? M.y.toString() : pa($);
|
|
11729
11729
|
let _;
|
|
11730
11730
|
$ instanceof ne ? _ = $.dataItems : $ instanceof xe ? _ = $.columns.values : $ instanceof Qe && (_ = $.slices.values), _?.forEach((U, q) => {
|
|
11731
|
-
const X = U instanceof
|
|
11731
|
+
const X = U instanceof Ss || U instanceof Al ? U : U.bullets?.[0]?.get("sprite");
|
|
11732
11732
|
if (X !== void 0 && Xt(X.uid, "selected") === !0) {
|
|
11733
11733
|
O += 1;
|
|
11734
|
-
let Y = U instanceof
|
|
11734
|
+
let Y = U instanceof Ss || U instanceof Al ? U.dataItem?.dataContext : U.dataContext;
|
|
11735
11735
|
if (!s && Y !== void 0 && (Y = vi({
|
|
11736
11736
|
dataContext: Y,
|
|
11737
11737
|
yAxisField: G,
|
|
@@ -11790,7 +11790,7 @@ async function wo(t) {
|
|
|
11790
11790
|
for (let G = 0; G < P.length; G += 1)
|
|
11791
11791
|
I.push(P[G]);
|
|
11792
11792
|
}
|
|
11793
|
-
I = Array.from(new Set(I)), n.series.length > 1 && c !== V.BarAndLineNoAggregation && c !== V.BarAndLineSplitByNoAggregation && (v =
|
|
11793
|
+
I = Array.from(new Set(I)), n.series.length > 1 && c !== V.BarAndLineNoAggregation && c !== V.BarAndLineSplitByNoAggregation && (v = yn({
|
|
11794
11794
|
data: v,
|
|
11795
11795
|
x: n.series[0].x,
|
|
11796
11796
|
splitByField: Qt(n.series[0].query?.where)
|
|
@@ -11837,7 +11837,7 @@ async function hc(t) {
|
|
|
11837
11837
|
const s = n instanceof pe ? n.get("cursor") : void 0;
|
|
11838
11838
|
if (!Df(s) && el(n.uid)) {
|
|
11839
11839
|
const r = e.target, l = cf(e, i);
|
|
11840
|
-
r.dataItem?.dataContext?.[
|
|
11840
|
+
r.dataItem?.dataContext?.[So] ? ji({ chart: n, selectionSource: ge.SelectionByClick }) : (Re({
|
|
11841
11841
|
element: r,
|
|
11842
11842
|
selected: Xt(r.uid, "selected") !== !0
|
|
11843
11843
|
// switching the bullet state,
|
|
@@ -11850,7 +11850,7 @@ async function hc(t) {
|
|
|
11850
11850
|
}) : c instanceof Qe && c.slices.each((d) => {
|
|
11851
11851
|
d !== r && Re({ element: d, selected: !1 });
|
|
11852
11852
|
});
|
|
11853
|
-
}), await
|
|
11853
|
+
}), await Io({
|
|
11854
11854
|
chart: n,
|
|
11855
11855
|
selectionSource: ge.SelectionByClick,
|
|
11856
11856
|
queryObject: a,
|
|
@@ -11895,7 +11895,7 @@ function xL(t) {
|
|
|
11895
11895
|
function vL(t) {
|
|
11896
11896
|
const { series: e, cursorBounds: i, multiSelect: a } = t, o = R(e.chart?.uid ?? NaN, "config"), n = W(o?.series);
|
|
11897
11897
|
e.columns.each((s) => {
|
|
11898
|
-
if (!s.dataItem?.dataContext?.[
|
|
11898
|
+
if (!s.dataItem?.dataContext?.[So]) {
|
|
11899
11899
|
const r = s.get("x"), l = s.get("y"), c = s.height() < 0 && n !== y.HeatSeries, d = c ? Math.abs(s.height()) : s.height();
|
|
11900
11900
|
if (typeof r == "number" && typeof l == "number") {
|
|
11901
11901
|
const u = c ? l - d : l, f = {
|
|
@@ -11959,8 +11959,8 @@ function TL(t) {
|
|
|
11959
11959
|
if (r && l) {
|
|
11960
11960
|
const c = R(e.uid, "config"), d = W(c?.series), u = e.get("cursor"), f = AL({ cursor: u, xAxis: r, yAxis: l }), g = lf(n);
|
|
11961
11961
|
e.series.each((h) => {
|
|
11962
|
-
!Ui(h) && !
|
|
11963
|
-
}), re(u.selection, !1), await
|
|
11962
|
+
!Ui(h) && !Xn(h) && (h instanceof xe ? vL({ series: h, cursorBounds: f, multiSelect: g }) : h instanceof ne && (d === y.RadarSeries ? FL({ xAxis: r, series: h, cursorBounds: f, multiSelect: g }) : LL({ series: h, cursorBounds: f, multiSelect: g })));
|
|
11963
|
+
}), re(u.selection, !1), await Io({
|
|
11964
11964
|
chart: e,
|
|
11965
11965
|
selectionSource: ge.SelectionByRange,
|
|
11966
11966
|
queryObject: i,
|
|
@@ -12057,7 +12057,7 @@ function kL(t) {
|
|
|
12057
12057
|
yAxis: c
|
|
12058
12058
|
};
|
|
12059
12059
|
}
|
|
12060
|
-
function
|
|
12060
|
+
function Un(t, e) {
|
|
12061
12061
|
const { series: i } = e, a = W(i);
|
|
12062
12062
|
switch (!0) {
|
|
12063
12063
|
case t instanceof xe:
|
|
@@ -12271,7 +12271,7 @@ function PL(t) {
|
|
|
12271
12271
|
if (d && s !== void 0 && s !== "") {
|
|
12272
12272
|
if (a.type === y.DateAxisFormat && a.intlOptions)
|
|
12273
12273
|
switch (d.unit) {
|
|
12274
|
-
case
|
|
12274
|
+
case os.DayOfWeek:
|
|
12275
12275
|
r = Mh({
|
|
12276
12276
|
weekdayNumber: Number(s),
|
|
12277
12277
|
format: a.intlOptions,
|
|
@@ -12279,14 +12279,14 @@ function PL(t) {
|
|
|
12279
12279
|
locale: l
|
|
12280
12280
|
});
|
|
12281
12281
|
break;
|
|
12282
|
-
case
|
|
12282
|
+
case os.MonthOfYear:
|
|
12283
12283
|
r = $h({
|
|
12284
12284
|
monthNumber: Number(s),
|
|
12285
12285
|
format: a.intlOptions,
|
|
12286
12286
|
locale: l
|
|
12287
12287
|
});
|
|
12288
12288
|
break;
|
|
12289
|
-
case
|
|
12289
|
+
case os.HourOfDay:
|
|
12290
12290
|
r = Dh({
|
|
12291
12291
|
hour: Number(s),
|
|
12292
12292
|
format: a.intlOptions,
|
|
@@ -12354,8 +12354,8 @@ function Vf(t) {
|
|
|
12354
12354
|
if (l === V.BarAndLineFromFields && typeof o == "string") {
|
|
12355
12355
|
const d = R(a, "fieldList");
|
|
12356
12356
|
o = Me(d, o);
|
|
12357
|
-
} else r === y.BoxPlotSeries && (l === V.BoxPlotC1MonoField || l === V.BoxPlotC2MultiFields || l === V.BoxPlotC5MonoFieldAndSplitBy || l === V.BoxPlotC6MultiFieldsAndSplitBy) ? o = e?.[yr] : r === y.HistogramSeries ? o = e?.[
|
|
12358
|
-
value:
|
|
12357
|
+
} else r === y.BoxPlotSeries && (l === V.BoxPlotC1MonoField || l === V.BoxPlotC2MultiFields || l === V.BoxPlotC5MonoFieldAndSplitBy || l === V.BoxPlotC6MultiFieldsAndSplitBy) ? o = e?.[yr] : r === y.HistogramSeries ? o = e?.[so.Start] : (r === y.BarSeries || r === y.LineSeries || r === y.RadarSeries || r === y.ComboLineAndBarSeries) && n !== void 0 ? o = ai({
|
|
12358
|
+
value: Fn(l, n?.series?.[0]),
|
|
12359
12359
|
dataContext: e,
|
|
12360
12360
|
useRendererLabel: Ta(n, s),
|
|
12361
12361
|
config: n
|
|
@@ -12415,7 +12415,7 @@ function EL(t) {
|
|
|
12415
12415
|
return;
|
|
12416
12416
|
const n = e instanceof Ve || e instanceof Be, s = e instanceof be && !(e instanceof Be) && i === !0 && qi(o, i);
|
|
12417
12417
|
if (n || s) {
|
|
12418
|
-
const r = a.orderOptions?.data && "orderBy" in a.orderOptions.data ? a.orderOptions.data.orderBy ===
|
|
12418
|
+
const r = a.orderOptions?.data && "orderBy" in a.orderOptions.data ? a.orderOptions.data.orderBy === hn.Descending : !1;
|
|
12419
12419
|
let l = i === !0;
|
|
12420
12420
|
r && e instanceof Be && (l = !l), o.set("inversed", l);
|
|
12421
12421
|
}
|
|
@@ -12441,7 +12441,7 @@ function zL(t) {
|
|
|
12441
12441
|
valueFormat: o
|
|
12442
12442
|
}), h = e instanceof be && !(e instanceof Be) && De(o), b = e instanceof Be && bt(o), p = e instanceof Ve && g;
|
|
12443
12443
|
if (!(h || b || p))
|
|
12444
|
-
|
|
12444
|
+
In("mismatchAxisAndValueFormat", u);
|
|
12445
12445
|
else {
|
|
12446
12446
|
WL(e, r);
|
|
12447
12447
|
let C = r;
|
|
@@ -12485,7 +12485,7 @@ function HL(t) {
|
|
|
12485
12485
|
function qi(t, e) {
|
|
12486
12486
|
return t instanceof dt && !e || t instanceof xi && e || t instanceof Jt;
|
|
12487
12487
|
}
|
|
12488
|
-
function
|
|
12488
|
+
function jn(t) {
|
|
12489
12489
|
return t instanceof dt;
|
|
12490
12490
|
}
|
|
12491
12491
|
function _L(t) {
|
|
@@ -12682,7 +12682,7 @@ function Ef(t) {
|
|
|
12682
12682
|
}
|
|
12683
12683
|
return { min: l, max: c };
|
|
12684
12684
|
}
|
|
12685
|
-
function
|
|
12685
|
+
function zo(t) {
|
|
12686
12686
|
const { axis: e, min: i, max: a } = t, o = i ?? Number.NaN, n = a ?? Number.NaN;
|
|
12687
12687
|
o >= n ? e.setAll({ min: Number.NaN, max: Number.NaN }) : e.setAll({ min: o, max: n });
|
|
12688
12688
|
}
|
|
@@ -12708,7 +12708,7 @@ function a0(t) {
|
|
|
12708
12708
|
});
|
|
12709
12709
|
u = g.min, f = g.max;
|
|
12710
12710
|
} else l === ie.Stacked100 && (u = 0, f = 100);
|
|
12711
|
-
|
|
12711
|
+
zo({ axis: e, min: u, max: f });
|
|
12712
12712
|
}
|
|
12713
12713
|
function o0(t) {
|
|
12714
12714
|
const {
|
|
@@ -12733,7 +12733,7 @@ function o0(t) {
|
|
|
12733
12733
|
axis: f,
|
|
12734
12734
|
xAxis: g
|
|
12735
12735
|
}))
|
|
12736
|
-
|
|
12736
|
+
zo({ axis: f, min: a ?? 0, max: o ?? 100 });
|
|
12737
12737
|
else if (Qd({ minimumFromConfig: a, maximumFromConfig: o, isLogarithmic: n })) {
|
|
12738
12738
|
const b = Ef({
|
|
12739
12739
|
axis: f,
|
|
@@ -12745,10 +12745,10 @@ function o0(t) {
|
|
|
12745
12745
|
isLogarithmic: n
|
|
12746
12746
|
});
|
|
12747
12747
|
let p = b.min;
|
|
12748
|
-
n && !(f instanceof Be) && p !== void 0 && p !== null && ((Number.isNaN(p) || p <= 0) && (p = F.treatZeroValueAs), f.set("treatZeroAs", Sc(p))),
|
|
12748
|
+
n && !(f instanceof Be) && p !== void 0 && p !== null && ((Number.isNaN(p) || p <= 0) && (p = F.treatZeroValueAs), f.set("treatZeroAs", Sc(p))), zo({ axis: f, min: p, max: b.max });
|
|
12749
12749
|
} else {
|
|
12750
12750
|
let b = a;
|
|
12751
|
-
n && !(f instanceof Be) && b !== void 0 && b !== null && ((Number.isNaN(b) || b <= 0) && (b = F.treatZeroValueAs), f.set("treatZeroAs", Sc(b))),
|
|
12751
|
+
n && !(f instanceof Be) && b !== void 0 && b !== null && ((Number.isNaN(b) || b <= 0) && (b = F.treatZeroValueAs), f.set("treatZeroAs", Sc(b))), zo({ axis: f, min: b, max: o });
|
|
12752
12752
|
}
|
|
12753
12753
|
else
|
|
12754
12754
|
a0({
|
|
@@ -12763,7 +12763,7 @@ function o0(t) {
|
|
|
12763
12763
|
});
|
|
12764
12764
|
}
|
|
12765
12765
|
}
|
|
12766
|
-
function
|
|
12766
|
+
function ln(t, e) {
|
|
12767
12767
|
if (t !== void 0) {
|
|
12768
12768
|
const i = R(t.uid, "config");
|
|
12769
12769
|
if (i !== void 0) {
|
|
@@ -12821,9 +12821,9 @@ function n0(t) {
|
|
|
12821
12821
|
}
|
|
12822
12822
|
function al(t) {
|
|
12823
12823
|
t.on("visible", () => {
|
|
12824
|
-
t.chart instanceof pe &&
|
|
12824
|
+
t.chart instanceof pe && ln(t.chart);
|
|
12825
12825
|
}), t.events.on(oe.DataValidated, () => {
|
|
12826
|
-
t.chart instanceof pe &&
|
|
12826
|
+
t.chart instanceof pe && ln(t.chart);
|
|
12827
12827
|
});
|
|
12828
12828
|
}
|
|
12829
12829
|
function s0(t) {
|
|
@@ -12987,7 +12987,7 @@ function Lc(t) {
|
|
|
12987
12987
|
break;
|
|
12988
12988
|
case i instanceof be:
|
|
12989
12989
|
if (typeof e != "number") {
|
|
12990
|
-
const s = e.toString().trim(), r =
|
|
12990
|
+
const s = e.toString().trim(), r = bn(s);
|
|
12991
12991
|
r !== void 0 ? a !== void 0 && o !== void 0 ? n = r / 100 * (o - a) + a : n = null : n = Number.parseFloat(s);
|
|
12992
12992
|
}
|
|
12993
12993
|
break;
|
|
@@ -13235,7 +13235,7 @@ function v0(t) {
|
|
|
13235
13235
|
return e.set("centerX", o === 0 ? de : he), o;
|
|
13236
13236
|
});
|
|
13237
13237
|
}
|
|
13238
|
-
function
|
|
13238
|
+
function hs(t) {
|
|
13239
13239
|
if (t?.chart !== void 0) {
|
|
13240
13240
|
const e = t.get("renderer");
|
|
13241
13241
|
if (R(t.chart.uid, "config")?.axes?.[0].labels !== void 0 && e.labels.length > 1) {
|
|
@@ -13266,7 +13266,7 @@ function kc(t) {
|
|
|
13266
13266
|
const e = t.get("renderer");
|
|
13267
13267
|
v0(t), e.labels.template.setAll({ oversizedBehavior: "hide" }), t instanceof Be || (e.labels.template.setAll({ multiLocation: 0.5 }), e.ticks.template.setAll({
|
|
13268
13268
|
multiLocation: 0.5
|
|
13269
|
-
})), t.events.on(oe.BoundsChanged, () =>
|
|
13269
|
+
})), t.events.on(oe.BoundsChanged, () => hs(t)), t.events.on(oe.DataValidated, () => hs(t)), hs();
|
|
13270
13270
|
}
|
|
13271
13271
|
function Ic(t) {
|
|
13272
13272
|
if (t && R(t.chart?.uid ?? Number.NaN, "config")?.axes?.[0].labels?.visible !== !1) {
|
|
@@ -13303,7 +13303,7 @@ function A0(t) {
|
|
|
13303
13303
|
chartType: s
|
|
13304
13304
|
} = t, r = e.get("renderer");
|
|
13305
13305
|
if (!(r instanceof Jt))
|
|
13306
|
-
if (
|
|
13306
|
+
if (jn(r) && o?.[0] === !0)
|
|
13307
13307
|
switch (s === y.HistogramSeries && i === void 0 ? Se.Hide : i) {
|
|
13308
13308
|
case Se.Hide:
|
|
13309
13309
|
break;
|
|
@@ -13344,7 +13344,7 @@ function k0(t) {
|
|
|
13344
13344
|
axisLabelsBehaviorChanged: n,
|
|
13345
13345
|
chartType: s
|
|
13346
13346
|
} = t, r = { ...i }, l = e.get("renderer"), c = l?.get("opposite");
|
|
13347
|
-
|
|
13347
|
+
jn(l) ? (r.content.horizontalAlignment = "center", r.content.verticalAlignment = c ? "bottom" : "top") : (r.content.horizontalAlignment = c ? "left" : "right", r.content.verticalAlignment = "middle"), l instanceof Jt ? T0({ renderer: l, axisConfig: t.axisConfig, labelConfig: i }) : r.content.angle = r.content.angle ?? l.labels.template.get("rotation"), Dt({
|
|
13348
13348
|
label: l.labels.template,
|
|
13349
13349
|
labelConfig: r
|
|
13350
13350
|
}), A0({
|
|
@@ -13367,7 +13367,7 @@ function I0(t) {
|
|
|
13367
13367
|
);
|
|
13368
13368
|
}
|
|
13369
13369
|
}
|
|
13370
|
-
const
|
|
13370
|
+
const qn = "arcgis_charts_title_container", nl = "arcgis_charts_subtitle_container", Zn = "arcgis_charts_footer_container", Gf = "arcgis_charts_title", Xf = "arcgis_charts_subtitle", Yf = "arcgis_charts_footer", St = "arcgis_charts_legend_container", Yt = "arcgis_charts_legend_title", Ps = "arcgis_charts_axis_title_id";
|
|
13371
13371
|
function w0(t, e) {
|
|
13372
13372
|
let i = e ?? null;
|
|
13373
13373
|
if (e != null) {
|
|
@@ -13377,7 +13377,7 @@ function w0(t, e) {
|
|
|
13377
13377
|
return i ?? void 0;
|
|
13378
13378
|
}
|
|
13379
13379
|
function R0(t) {
|
|
13380
|
-
const { root: e } = t, i =
|
|
13380
|
+
const { root: e } = t, i = xs.new(e, {
|
|
13381
13381
|
radius: tt(100)
|
|
13382
13382
|
}), a = t.makeDataItem({
|
|
13383
13383
|
value: 0,
|
|
@@ -13389,9 +13389,9 @@ function R0(t) {
|
|
|
13389
13389
|
}
|
|
13390
13390
|
function O0(t) {
|
|
13391
13391
|
const { chart: e, axis: i, needleConfig: a, gaugeValue: o } = t, n = i.axisRanges.values.find(
|
|
13392
|
-
(r) => r.get("bullet")?.get("sprite") instanceof
|
|
13392
|
+
(r) => r.get("bullet")?.get("sprite") instanceof xs
|
|
13393
13393
|
), s = n?.get("bullet")?.get("sprite");
|
|
13394
|
-
if (n && s instanceof
|
|
13394
|
+
if (n && s instanceof xs) {
|
|
13395
13395
|
const { startWidth: r, endWidth: l, innerRadius: c } = F.gaugeNeedle;
|
|
13396
13396
|
Hi({ root: i.root, element: s.hand, fillSymbol: a?.symbol }), Hi({ root: i.root, element: s.pin, fillSymbol: a?.symbol }), n.set("value", w0(e, o)), s.pin.set("visible", a?.displayPin === !0), s.setAll({
|
|
13397
13397
|
visible: a?.visible ?? !0,
|
|
@@ -13490,7 +13490,7 @@ function N0(t) {
|
|
|
13490
13490
|
errorStrings: f,
|
|
13491
13491
|
queryObject: g
|
|
13492
13492
|
});
|
|
13493
|
-
}),
|
|
13493
|
+
}), ln(e, n);
|
|
13494
13494
|
}
|
|
13495
13495
|
function P0(t) {
|
|
13496
13496
|
const { chart: e, axesConfig: i, x: a, errorStrings: o, queryObject: n } = t, { root: s } = e, r = y.HistogramSeries;
|
|
@@ -13529,7 +13529,7 @@ function V0(t) {
|
|
|
13529
13529
|
function Uf(t) {
|
|
13530
13530
|
return t.component instanceof ne || t.component instanceof xe;
|
|
13531
13531
|
}
|
|
13532
|
-
function
|
|
13532
|
+
function cn(t, e) {
|
|
13533
13533
|
return t === e || t != null && e != null && String(t) === String(e);
|
|
13534
13534
|
}
|
|
13535
13535
|
function W0(t) {
|
|
@@ -13540,35 +13540,35 @@ function E0(t) {
|
|
|
13540
13540
|
const { originalEvent: e } = t, i = "ctrlKey" in e ? e.ctrlKey : !1, a = "metaKey" in e ? e.metaKey : !1;
|
|
13541
13541
|
return !!(i || a);
|
|
13542
13542
|
}
|
|
13543
|
-
function
|
|
13543
|
+
function dn(t, e) {
|
|
13544
13544
|
return t.get(e);
|
|
13545
13545
|
}
|
|
13546
13546
|
function jf(t) {
|
|
13547
13547
|
const e = t.get("graphics");
|
|
13548
|
-
return e instanceof
|
|
13548
|
+
return e instanceof Ss ? e : void 0;
|
|
13549
13549
|
}
|
|
13550
13550
|
function z0(t) {
|
|
13551
13551
|
const { dataContext: e } = t.dataItem ?? {};
|
|
13552
13552
|
return e != null && typeof e == "object" ? e : void 0;
|
|
13553
13553
|
}
|
|
13554
|
-
function
|
|
13554
|
+
function Po(t) {
|
|
13555
13555
|
return t !== void 0 && (Xt(t.uid, "selected") ?? !1);
|
|
13556
13556
|
}
|
|
13557
13557
|
function qf(t) {
|
|
13558
|
-
return z0(t)?.[
|
|
13558
|
+
return z0(t)?.[So] === !0;
|
|
13559
13559
|
}
|
|
13560
13560
|
function H0(t) {
|
|
13561
13561
|
const { chart: e, selectionField: i, selectionKey: a } = t;
|
|
13562
13562
|
let o = !1, n = !0, s = !1;
|
|
13563
13563
|
return e.series.each((r) => {
|
|
13564
|
-
!r.isHidden() && !
|
|
13564
|
+
!r.isHidden() && !Xn(r) && !Ui(r) && (r instanceof ne ? r.dataItems.forEach((l) => {
|
|
13565
13565
|
if (Uf(l)) {
|
|
13566
|
-
const c = dn(
|
|
13567
|
-
c ? (o = !0,
|
|
13566
|
+
const c = cn(dn(l, i), a), d = l.bullets?.[0]?.get("sprite");
|
|
13567
|
+
c ? (o = !0, Po(d) || (n = !1)) : Po(d) && (s = !0);
|
|
13568
13568
|
}
|
|
13569
13569
|
}) : r instanceof xe && r.dataItems.forEach((l) => {
|
|
13570
13570
|
const c = jf(l);
|
|
13571
|
-
c !== void 0 && !qf(c) && (dn(
|
|
13571
|
+
c !== void 0 && !qf(c) && (cn(dn(l, i), a) ? (o = !0, Po(c) || (n = !1)) : Po(c) && (s = !0));
|
|
13572
13572
|
}));
|
|
13573
13573
|
}), { hasMatching: o, allMatchingSelected: n, hasNonMatchingSelected: s };
|
|
13574
13574
|
}
|
|
@@ -13604,9 +13604,9 @@ function Y0(t) {
|
|
|
13604
13604
|
if (c !== void 0 && d !== void 0 && r instanceof pe && el(r.uid)) {
|
|
13605
13605
|
const u = E0(s), f = H0({ chart: r, selectionField: c, selectionKey: d }), g = f.hasMatching && f.allMatchingSelected, h = !u && g && !f.hasNonMatchingSelected;
|
|
13606
13606
|
r.series.each((b) => {
|
|
13607
|
-
!b.isHidden() && !
|
|
13607
|
+
!b.isHidden() && !Xn(b) && !Ui(b) && (b instanceof ne ? b.dataItems.forEach((p) => {
|
|
13608
13608
|
if (Uf(p)) {
|
|
13609
|
-
const S = dn(
|
|
13609
|
+
const S = cn(dn(p, c), d), C = p.bullets?.[0]?.get("sprite");
|
|
13610
13610
|
u ? S && Re({
|
|
13611
13611
|
element: C,
|
|
13612
13612
|
selected: !g
|
|
@@ -13615,14 +13615,14 @@ function Y0(t) {
|
|
|
13615
13615
|
}) : b instanceof xe && b.dataItems.forEach((p) => {
|
|
13616
13616
|
const S = jf(p);
|
|
13617
13617
|
if (S !== void 0 && !qf(S)) {
|
|
13618
|
-
const C = dn(
|
|
13618
|
+
const C = cn(dn(p, c), d);
|
|
13619
13619
|
u ? C && Re({
|
|
13620
13620
|
element: S,
|
|
13621
13621
|
selected: !g
|
|
13622
13622
|
}) : Re(h ? { element: S, selected: !1 } : { element: S, selected: C });
|
|
13623
13623
|
}
|
|
13624
13624
|
}));
|
|
13625
|
-
}), _0(r.get("cursor")),
|
|
13625
|
+
}), _0(r.get("cursor")), Io({
|
|
13626
13626
|
chart: r,
|
|
13627
13627
|
selectionSource: ge.SelectionByClick,
|
|
13628
13628
|
queryObject: i,
|
|
@@ -13689,7 +13689,7 @@ function Bi(t) {
|
|
|
13689
13689
|
g = a ? we.xField : we.yField;
|
|
13690
13690
|
break;
|
|
13691
13691
|
case y.HistogramSeries:
|
|
13692
|
-
g =
|
|
13692
|
+
g = so.Start;
|
|
13693
13693
|
break;
|
|
13694
13694
|
case y.BoxPlotSeries:
|
|
13695
13695
|
g = l;
|
|
@@ -13708,7 +13708,7 @@ function Bi(t) {
|
|
|
13708
13708
|
if (f !== void 0 && !c) {
|
|
13709
13709
|
n0(f), Wf(e, f);
|
|
13710
13710
|
const g = r === y.HistogramSeries || r === y.HeatSeries ? 0 : 0.1, h = r === y.HistogramSeries || r === y.HeatSeries ? 1 : 0.9;
|
|
13711
|
-
f.get("renderer").setAll({ cellStartLocation: g, cellEndLocation: h }), r === y.HeatSeries && (n instanceof dt || n instanceof xi) && n.setAll({ layer: F.zIndexes.defaultLayer30 }), zf(f), U0(f),
|
|
13711
|
+
f.get("renderer").setAll({ cellStartLocation: g, cellEndLocation: h }), r === y.HeatSeries && (n instanceof dt || n instanceof xi) && n.setAll({ layer: F.zIndexes.defaultLayer30 }), zf(f), U0(f), jn(f.get("renderer")) ? f.get("renderer").labels.template.set(
|
|
13712
13712
|
s ? "paddingBottom" : "paddingTop",
|
|
13713
13713
|
F.axisLabelSpacing.horizontalAxisLabelPaddingTop
|
|
13714
13714
|
) : n instanceof xi && f.get("renderer").labels.template.set(
|
|
@@ -13744,7 +13744,7 @@ function q0(t) {
|
|
|
13744
13744
|
}
|
|
13745
13745
|
}
|
|
13746
13746
|
function Z0(t) {
|
|
13747
|
-
const { axis: e, axisTitleConfig: i, isSecondaryYAxis: a } = t, o = e.get("renderer"), { chart: n } = e, s =
|
|
13747
|
+
const { axis: e, axisTitleConfig: i, isSecondaryYAxis: a } = t, o = e.get("renderer"), { chart: n } = e, s = jn(o), r = le({ childId: Zf(e, s), parent: e, useChildId: !0 }) ?? j0({ axis: e, isHorizontalAxis: s, isSecondaryYAxis: a });
|
|
13748
13748
|
if (r instanceof ot) {
|
|
13749
13749
|
const l = s ? { ...F.xAxisTitleLabel, verticalCenter: "top" } : F.yAxisTitleLabel;
|
|
13750
13750
|
if (Dt({ label: r, labelConfig: i, defaults: l }), s && a !== !0 && Vs(e, r), n) {
|
|
@@ -13793,7 +13793,7 @@ function sl(t) {
|
|
|
13793
13793
|
guides: G,
|
|
13794
13794
|
tickSpacing: _,
|
|
13795
13795
|
dateBaseInterval: U
|
|
13796
|
-
} = r, { root: q } = e, X = W(p.series), Y = nt(p), z = Ke(p), { chart: te } = e, Te = te ? R(te.uid, "config") : void 0, Le = te ? R(te.uid, "options") : void 0, ut = et(v), fi = Lt(ut).find((
|
|
13796
|
+
} = r, { root: q } = e, X = W(p.series), Y = nt(p), z = Ke(p), { chart: te } = e, Te = te ? R(te.uid, "config") : void 0, Le = te ? R(te.uid, "options") : void 0, ut = et(v), fi = Lt(ut).find((Oo) => Oo.name === Te?.series?.[0]?.x), wo = Lg(fi), es = nr({ chartConfig: p, queryObject: v, options: Le }), Ro = Ea(p.series[0]) ? p.series[0].temporalBinning?.outTimeZone : void 0, Za = e.get("renderer");
|
|
13797
13797
|
Xa(e.uid, {
|
|
13798
13798
|
zeroGridLine: { displayZeroLine: M, strokeWidth: $?.width ?? F.lineWidth, visible: $ !== void 0 }
|
|
13799
13799
|
}), GL({ axis: e, isLogarithmic: O, axisConfigIndex: l }), zL({
|
|
@@ -13804,13 +13804,13 @@ function sl(t) {
|
|
|
13804
13804
|
isNonAggregatedChart: h,
|
|
13805
13805
|
overridePercentMultiplication: Y === ie.Stacked100,
|
|
13806
13806
|
externalAxisLabelFormatter: S,
|
|
13807
|
-
isTimeOnlyField:
|
|
13808
|
-
setTimeZone:
|
|
13809
|
-
outTimeZone:
|
|
13807
|
+
isTimeOnlyField: wo,
|
|
13808
|
+
setTimeZone: es,
|
|
13809
|
+
outTimeZone: Ro,
|
|
13810
13810
|
errorStrings: L
|
|
13811
|
-
}), EL({ axis: e, isRotated: z, chartConfig: p }), UL({ axis: e, timeIntervalInfo: c, dateBaseInterval: U, xFieldIsTimeOnly:
|
|
13811
|
+
}), EL({ axis: e, isRotated: z, chartConfig: p }), UL({ axis: e, timeIntervalInfo: c, dateBaseInterval: U, xFieldIsTimeOnly: wo }), Zt({
|
|
13812
13812
|
element: Za,
|
|
13813
|
-
lineSymbol: { color: [...F.color], ...k ??
|
|
13813
|
+
lineSymbol: { color: [...F.color], ...k ?? kn() },
|
|
13814
13814
|
visible: T
|
|
13815
13815
|
}), Zt({ element: Za.ticks.template, lineSymbol: k, visible: T }), Zt({ element: Za.grid.template, lineSymbol: $, visible: T }), $ === void 0 && (e.get("renderer").grid.template.set("strokeWidth", F.lineWidth), e.markDirtyValues()), k0({
|
|
13816
13816
|
axis: e,
|
|
@@ -13980,7 +13980,7 @@ function J0(t) {
|
|
|
13980
13980
|
errorStrings: p,
|
|
13981
13981
|
queryObject: S
|
|
13982
13982
|
});
|
|
13983
|
-
}),
|
|
13983
|
+
}), ln(e, s);
|
|
13984
13984
|
}
|
|
13985
13985
|
function Qf(t) {
|
|
13986
13986
|
const { chart: e, chartConfig: i } = t, a = W(i.series);
|
|
@@ -14033,7 +14033,7 @@ function im(t) {
|
|
|
14033
14033
|
}
|
|
14034
14034
|
function iF(t) {
|
|
14035
14035
|
const { chart: e, enabled: i } = t, a = i ? "pointer" : "default";
|
|
14036
|
-
e instanceof
|
|
14036
|
+
e instanceof lo && e.series.each((o) => {
|
|
14037
14037
|
switch (!0) {
|
|
14038
14038
|
case o instanceof xe:
|
|
14039
14039
|
o.columns.template.set("cursorOverStyle", a);
|
|
@@ -14089,7 +14089,7 @@ function nF(t, e) {
|
|
|
14089
14089
|
root: t,
|
|
14090
14090
|
defaults: F.headerContainer,
|
|
14091
14091
|
parent: e,
|
|
14092
|
-
id: at(
|
|
14092
|
+
id: at(qn, e.uid),
|
|
14093
14093
|
index: 0
|
|
14094
14094
|
}), a = Ws({
|
|
14095
14095
|
root: t,
|
|
@@ -14119,7 +14119,7 @@ function nF(t, e) {
|
|
|
14119
14119
|
});
|
|
14120
14120
|
}
|
|
14121
14121
|
function am(t, e) {
|
|
14122
|
-
const { title: i, subtitle: a } = e ?? {}, o = R(t.uid, "config"), s = o?.legend?.visible !== !1 && o?.legend?.position === H.Top ? 0 : F.headerContainer.paddingBottom ?? 0, r = le({ childId:
|
|
14122
|
+
const { title: i, subtitle: a } = e ?? {}, o = R(t.uid, "config"), s = o?.legend?.visible !== !1 && o?.legend?.position === H.Top ? 0 : F.headerContainer.paddingBottom ?? 0, r = le({ childId: qn, parent: t });
|
|
14123
14123
|
if (r !== void 0) {
|
|
14124
14124
|
r.set("paddingBottom", s);
|
|
14125
14125
|
const c = le({ childId: Gf, parent: r });
|
|
@@ -14156,7 +14156,7 @@ function sF(t) {
|
|
|
14156
14156
|
root: e,
|
|
14157
14157
|
defaults: F.footerContainer,
|
|
14158
14158
|
parent: t,
|
|
14159
|
-
id: at(
|
|
14159
|
+
id: at(Zn, t.uid)
|
|
14160
14160
|
}), a = Ma({
|
|
14161
14161
|
root: e,
|
|
14162
14162
|
parent: i,
|
|
@@ -14169,7 +14169,7 @@ function sF(t) {
|
|
|
14169
14169
|
});
|
|
14170
14170
|
}
|
|
14171
14171
|
function om(t, e) {
|
|
14172
|
-
const i = le({ childId:
|
|
14172
|
+
const i = le({ childId: Zn, parent: t });
|
|
14173
14173
|
if (i !== void 0) {
|
|
14174
14174
|
const a = le({ childId: Yf, parent: i });
|
|
14175
14175
|
a !== void 0 && (Dt({
|
|
@@ -14253,7 +14253,7 @@ const Ye = {
|
|
|
14253
14253
|
fillOpacityField: "fillOpacity",
|
|
14254
14254
|
strokeOpacityField: "strokeOpacity"
|
|
14255
14255
|
};
|
|
14256
|
-
function
|
|
14256
|
+
function un(t) {
|
|
14257
14257
|
const e = {
|
|
14258
14258
|
type: Z.SLS,
|
|
14259
14259
|
color: [0, 0, 0, 0],
|
|
@@ -14284,8 +14284,8 @@ Value: {${we.valueField}}`,
|
|
|
14284
14284
|
height: he
|
|
14285
14285
|
}), l.columns.template.adapters.add(
|
|
14286
14286
|
"cursorOverStyle",
|
|
14287
|
-
(c, d) => d.dataItem?.dataContext?.[
|
|
14288
|
-
), Tf(l, o?.tooltipFormatter),
|
|
14287
|
+
(c, d) => d.dataItem?.dataContext?.[So] ? "auto" : c
|
|
14288
|
+
), Tf(l, o?.tooltipFormatter), Un(l, n), Ee(l.columns.template, o?.selectionTheme), ei({ element: l.columns.template, series: l, queryObject: s, errorStrings: r }), l;
|
|
14289
14289
|
}
|
|
14290
14290
|
function fF(t, e) {
|
|
14291
14291
|
e?.dataItems && t.data.setAll(e.dataItems);
|
|
@@ -14303,16 +14303,16 @@ function mF(t) {
|
|
|
14303
14303
|
let I, O, $, B = !1;
|
|
14304
14304
|
if (n === xa.Renderer) {
|
|
14305
14305
|
const M = w?.[E.rendererSymbolField];
|
|
14306
|
-
if (
|
|
14306
|
+
if (oo(M)) {
|
|
14307
14307
|
$ = ke(M);
|
|
14308
|
-
const { outlineSymbol: P } =
|
|
14308
|
+
const { outlineSymbol: P } = un(s);
|
|
14309
14309
|
$.outline = P;
|
|
14310
14310
|
} else
|
|
14311
14311
|
B = !0;
|
|
14312
14312
|
}
|
|
14313
14313
|
if ((!Number.isFinite(k) || B) && r) {
|
|
14314
14314
|
$ = ke(r);
|
|
14315
|
-
const { outlineSymbol: M } =
|
|
14315
|
+
const { outlineSymbol: M } = un(s);
|
|
14316
14316
|
$.outline = M;
|
|
14317
14317
|
}
|
|
14318
14318
|
if ($) {
|
|
@@ -14321,7 +14321,7 @@ function mF(t) {
|
|
|
14321
14321
|
element: L,
|
|
14322
14322
|
fillSymbol: $
|
|
14323
14323
|
});
|
|
14324
|
-
|
|
14324
|
+
go(L, M);
|
|
14325
14325
|
} else
|
|
14326
14326
|
typeof f == "number" && k < f ? { color: I, opacity: O } = C : typeof g == "number" && k > g ? { color: I, opacity: O } = x : v === T ? (I = h, O = b) : (I = Lh.interpolate((k - v) / (T - v), h, p, "rgb"), O = b + (k - v) / (T - v) * (S - b)), I && L.set("fill", I), O !== void 0 && L.set("fillOpacity", O);
|
|
14327
14327
|
}
|
|
@@ -14441,7 +14441,7 @@ function yF(t) {
|
|
|
14441
14441
|
function sm(t) {
|
|
14442
14442
|
const { queryObject: e, chartConfig: i, forLegend: a, series: o } = t;
|
|
14443
14443
|
let n;
|
|
14444
|
-
const s = et(e), r = i.series?.[0], l = i.chartRenderer ?? s?.renderer?.toJSON(), { outlineColor: c, outlineOpacity: d } =
|
|
14444
|
+
const s = et(e), r = i.series?.[0], l = i.chartRenderer ?? s?.renderer?.toJSON(), { outlineColor: c, outlineOpacity: d } = un(r?.gridLine);
|
|
14445
14445
|
if ((l?.type === "classBreaks" || l?.type === "class-breaks") && "classBreakInfos" in l) {
|
|
14446
14446
|
const u = o?.data.values, f = o?.get("valueField") ?? we.valueField, g = l.classBreakInfos?.[0], h = g ? g.classMinValue === g.classMaxValue : !1;
|
|
14447
14447
|
n = l.classBreakInfos.map((b, p) => {
|
|
@@ -14479,8 +14479,8 @@ function CF(t, e) {
|
|
|
14479
14479
|
o instanceof Ve && o.set("paddingLeft", i);
|
|
14480
14480
|
}
|
|
14481
14481
|
function rm(t, e) {
|
|
14482
|
-
const { root: i } = t, a = R(t.uid, "rtl") ?? !1, o = R(t.uid, "config") ?? e, n = o?.series[0], { start: s, end: r } =
|
|
14483
|
-
return
|
|
14482
|
+
const { root: i } = t, a = R(t.uid, "rtl") ?? !1, o = R(t.uid, "config") ?? e, n = o?.series[0], { start: s, end: r } = Kn(a, n), l = o?.legend?.position ?? F.heatChart.legend.position, c = l === H.Top || l === H.Bottom;
|
|
14483
|
+
return Zo.new(i, {
|
|
14484
14484
|
orientation: c ? "horizontal" : "vertical",
|
|
14485
14485
|
startColor: s.color,
|
|
14486
14486
|
endColor: r.color,
|
|
@@ -14492,7 +14492,7 @@ function rm(t, e) {
|
|
|
14492
14492
|
function xF(t, e) {
|
|
14493
14493
|
const i = R(e.uid, "rtl") ?? !1, a = R(e.uid, "config");
|
|
14494
14494
|
if (a?.series[0].type === y.HeatSeries) {
|
|
14495
|
-
const o = a?.series[0], { start: n, end: s } =
|
|
14495
|
+
const o = a?.series[0], { start: n, end: s } = Kn(i, o);
|
|
14496
14496
|
t.setAll({
|
|
14497
14497
|
startColor: n.color,
|
|
14498
14498
|
endColor: s.color,
|
|
@@ -14501,7 +14501,7 @@ function xF(t, e) {
|
|
|
14501
14501
|
});
|
|
14502
14502
|
}
|
|
14503
14503
|
}
|
|
14504
|
-
function
|
|
14504
|
+
function Kn(t = !1, e) {
|
|
14505
14505
|
const i = F.heatChart.gradientHeatRules, a = e.gradientRules?.colorList ?? [
|
|
14506
14506
|
...t ? [i.maxColor, i.minColor] : [i.minColor, i.maxColor]
|
|
14507
14507
|
], { color: o, opacity: n } = K(a[0]), { color: s, opacity: r } = K(a[1]);
|
|
@@ -14517,7 +14517,7 @@ function Qn(t = !1, e) {
|
|
|
14517
14517
|
};
|
|
14518
14518
|
}
|
|
14519
14519
|
function wc(t, e) {
|
|
14520
|
-
const i = R(t.uid, "rtl") ?? !1, o = R(t.uid, "config")?.series[0], { start: n, end: s } =
|
|
14520
|
+
const i = R(t.uid, "rtl") ?? !1, o = R(t.uid, "config")?.series[0], { start: n, end: s } = Kn(i, o);
|
|
14521
14521
|
e.setAll({ startColor: n.color, endColor: s.color });
|
|
14522
14522
|
}
|
|
14523
14523
|
function lm(t) {
|
|
@@ -14596,7 +14596,7 @@ function cm(t) {
|
|
|
14596
14596
|
}), e.bottomAxesContainer.setAll({
|
|
14597
14597
|
paddingBottom: s.legendPadding + b
|
|
14598
14598
|
});
|
|
14599
|
-
const S = le({ childId:
|
|
14599
|
+
const S = le({ childId: Zn, parent: e });
|
|
14600
14600
|
S instanceof pi && S.set("paddingBottom", s.chartPadding + b), l = e.bottomAxesContainer;
|
|
14601
14601
|
}
|
|
14602
14602
|
break;
|
|
@@ -14640,7 +14640,7 @@ function mm(t) {
|
|
|
14640
14640
|
const l = s, c = r, d = c - l, u = n.minValue ?? l, f = n.maxValue ?? c;
|
|
14641
14641
|
let g = (u - l) / d, h = (f - l) / d;
|
|
14642
14642
|
g = Math.max(0, Math.min(1, g)), h = Math.max(0, Math.min(1, h));
|
|
14643
|
-
const { start: b, end: p } =
|
|
14643
|
+
const { start: b, end: p } = Kn(!1, o), { color: S, opacity: C } = K(
|
|
14644
14644
|
n.outsideRangeLowerColor ?? F.heatChart.gradientHeatRules.outsideRangeLowerColor
|
|
14645
14645
|
), { color: x, opacity: L } = K(
|
|
14646
14646
|
n.outsideRangeUpperColor ?? F.heatChart.gradientHeatRules.outsideRangeUpperColor
|
|
@@ -14750,7 +14750,7 @@ function rl(t) {
|
|
|
14750
14750
|
parent: i,
|
|
14751
14751
|
useChildId: !0
|
|
14752
14752
|
});
|
|
14753
|
-
a && (a.children.values.filter((n) => n instanceof
|
|
14753
|
+
a && (a.children.values.filter((n) => n instanceof Zo).forEach((n) => {
|
|
14754
14754
|
n.dispose();
|
|
14755
14755
|
}), i.children.removeValue(a), a.dispose()), i.markDirty();
|
|
14756
14756
|
}
|
|
@@ -14839,7 +14839,7 @@ function hm(t) {
|
|
|
14839
14839
|
e.set("width", o.width);
|
|
14840
14840
|
}
|
|
14841
14841
|
function LF(t) {
|
|
14842
|
-
const e = le({ childId:
|
|
14842
|
+
const e = le({ childId: qn, parent: t });
|
|
14843
14843
|
e instanceof pi && e.set("marginTop", 0);
|
|
14844
14844
|
}
|
|
14845
14845
|
function FF(t) {
|
|
@@ -14853,13 +14853,13 @@ function FF(t) {
|
|
|
14853
14853
|
useChildId: !0
|
|
14854
14854
|
});
|
|
14855
14855
|
if (o) {
|
|
14856
|
-
const s = o.children.values.find((r) => r instanceof
|
|
14856
|
+
const s = o.children.values.find((r) => r instanceof Zo);
|
|
14857
14857
|
if (s) {
|
|
14858
14858
|
e = s;
|
|
14859
14859
|
return;
|
|
14860
14860
|
}
|
|
14861
14861
|
}
|
|
14862
|
-
const n = a.children.values.find((s) => s instanceof
|
|
14862
|
+
const n = a.children.values.find((s) => s instanceof Zo);
|
|
14863
14863
|
if (n) {
|
|
14864
14864
|
e = n;
|
|
14865
14865
|
return;
|
|
@@ -15067,7 +15067,7 @@ function $F(t) {
|
|
|
15067
15067
|
const { dataContext: i } = e, a = typeof i == "object" && i !== null && "component" in i ? i.component : i;
|
|
15068
15068
|
if (a instanceof Ra) {
|
|
15069
15069
|
const n = { visible: !a.get("visible") };
|
|
15070
|
-
Ui(a) ||
|
|
15070
|
+
Ui(a) || Xn(a) ? n.overlayType = se(a.uid, "type") : n.seriesId = a.get("id"), id(n, a.root.dom);
|
|
15071
15071
|
}
|
|
15072
15072
|
}
|
|
15073
15073
|
}
|
|
@@ -15181,7 +15181,7 @@ function Rc(t) {
|
|
|
15181
15181
|
function ya(t, e) {
|
|
15182
15182
|
const { root: i } = t, a = le({ childId: St, parent: t });
|
|
15183
15183
|
if (a !== void 0) {
|
|
15184
|
-
const o = R(t.uid, "config"), n = R(t.uid, "rtl"), s = o?.title ? o.title.visible ?? !0 : !1, r = o?.subtitle ? o.subtitle.visible ?? !0 : !1, l = o?.footer ? o.footer.visible ?? !0 : !1, c = o?.legend ? o.legend.visible ?? !0 : !1, d = o?.legend?.title ? o.legend.title.visible ?? !0 : !1, u = le({ childId:
|
|
15184
|
+
const o = R(t.uid, "config"), n = R(t.uid, "rtl"), s = o?.title ? o.title.visible ?? !0 : !1, r = o?.subtitle ? o.subtitle.visible ?? !0 : !1, l = o?.footer ? o.footer.visible ?? !0 : !1, c = o?.legend ? o.legend.visible ?? !0 : !1, d = o?.legend?.title ? o.legend.title.visible ?? !0 : !1, u = le({ childId: qn, parent: t }), f = u instanceof pi && s ? u.height() : 0, g = le({ childId: nl, parent: t }), h = g instanceof pi && r ? g.height() : 0, b = le({ childId: Zn, parent: t }), p = b instanceof pi && l ? b.height() : 0, S = le({ childId: Yt, parent: a }), C = S instanceof ot && c && d ? S?.height() : 0, x = o?.legend?.position ?? F.legendProperties.position;
|
|
15185
15185
|
let L;
|
|
15186
15186
|
const v = e.get("verticalScrollbar");
|
|
15187
15187
|
let T = de, k = de, w = i.verticalLayout, I = de, O = de, $ = de, B = de, M = 0, P;
|
|
@@ -15331,7 +15331,7 @@ function HF(t) {
|
|
|
15331
15331
|
const c = a ? t.yAxes.getIndex(0) : t.xAxes.getIndex(0);
|
|
15332
15332
|
let d;
|
|
15333
15333
|
c instanceof Be ? d = m.DateAxis : c instanceof be ? d = m.ValueAxis : d = m.CategoryAxis;
|
|
15334
|
-
const f = (i?.orderOptions?.data && "orderBy" in i.orderOptions.data ? i.orderOptions.data.orderBy ===
|
|
15334
|
+
const f = (i?.orderOptions?.data && "orderBy" in i.orderOptions.data ? i.orderOptions.data.orderBy === hn.Descending : !1) ? m.OrderByFieldsDESC : m.OrderByFieldsASC;
|
|
15335
15335
|
e = `${o}-${r}-${s}-${l}-${d}-${f}`;
|
|
15336
15336
|
}
|
|
15337
15337
|
return e;
|
|
@@ -15434,7 +15434,7 @@ function Oc(t, e) {
|
|
|
15434
15434
|
fillOpacityField: Ye.fillOpacityField,
|
|
15435
15435
|
strokeOpacityField: Ye.strokeOpacityField
|
|
15436
15436
|
} : {};
|
|
15437
|
-
a = Md.new(i, { ...n, verticalScrollbar:
|
|
15437
|
+
a = Md.new(i, { ...n, verticalScrollbar: Cs.new(i, { orientation: "vertical" }) }), t instanceof Kt ? IF(a) : a.valueLabels.template.setAll({ forceHidden: !0, textAlign: "left" }), VF(t, a), Cm(t, o), MF(a), BF(a, t), PF({ chart: t, legend: a, legendContainer: o }), WF(a, t), EF(a, t, W(e?.series)), jF({ legend: a, chart: t, seriesConfig: e?.series }), o.children.push(a), t.children.push(o);
|
|
15438
15438
|
}
|
|
15439
15439
|
return a;
|
|
15440
15440
|
}
|
|
@@ -15444,7 +15444,7 @@ function qF(t) {
|
|
|
15444
15444
|
);
|
|
15445
15445
|
let n;
|
|
15446
15446
|
if (o) {
|
|
15447
|
-
const s = e?.series[0].emptyCells, r = s?.symbol?.color ?? F.heatChart.emptyCells?.symbol?.color, { outlineColor: l, outlineOpacity: c } =
|
|
15447
|
+
const s = e?.series[0].emptyCells, r = s?.symbol?.color ?? F.heatChart.emptyCells?.symbol?.color, { outlineColor: l, outlineOpacity: c } = un(e?.series[0].gridLine);
|
|
15448
15448
|
n = {
|
|
15449
15449
|
[Ye.nameField]: s?.text ?? F.heatChart.emptyCells?.text ?? "",
|
|
15450
15450
|
[Ye.fillField]: K(r).color,
|
|
@@ -15505,11 +15505,11 @@ function vm(t) {
|
|
|
15505
15505
|
}
|
|
15506
15506
|
function Lm(t) {
|
|
15507
15507
|
if (!(t instanceof Vi) && t instanceof pe) {
|
|
15508
|
-
const { root: e } = t, i =
|
|
15508
|
+
const { root: e } = t, i = Cs.new(e, {
|
|
15509
15509
|
orientation: "horizontal",
|
|
15510
15510
|
visible: !1,
|
|
15511
15511
|
marginTop: 0
|
|
15512
|
-
}), a =
|
|
15512
|
+
}), a = Cs.new(e, {
|
|
15513
15513
|
orientation: "vertical",
|
|
15514
15514
|
visible: !1
|
|
15515
15515
|
});
|
|
@@ -15659,7 +15659,7 @@ function oA(t) {
|
|
|
15659
15659
|
return Ai.new(C, {
|
|
15660
15660
|
sprite: x
|
|
15661
15661
|
});
|
|
15662
|
-
}), p.columns.template.set("width", tt(100)), aA(p), al(p), Ff(p, s?.tooltipFormatter),
|
|
15662
|
+
}), p.columns.template.set("width", tt(100)), aA(p), al(p), Ff(p, s?.tooltipFormatter), Un(p, i), p.appear(), p;
|
|
15663
15663
|
}
|
|
15664
15664
|
function nA(t) {
|
|
15665
15665
|
const { series: e, seriesConfig: i, seriesIndex: a, numberOfSeries: o, chartSubType: n, colorMatch: s, rendererType: r } = t, l = e.root, c = pa(e), d = /* @__PURE__ */ new Set();
|
|
@@ -15705,7 +15705,7 @@ function nA(t) {
|
|
|
15705
15705
|
element: x,
|
|
15706
15706
|
colorMatch: s,
|
|
15707
15707
|
rendererSymbol: f
|
|
15708
|
-
}),
|
|
15708
|
+
}), go(x, b.stylingInfo), v || (d.add(JSON.stringify(b.symbolWithColorInfo)), p = b);
|
|
15709
15709
|
}
|
|
15710
15710
|
}), o > 1) {
|
|
15711
15711
|
const x = e.get("legendDataItem")?.get("marker").children.getIndex(0);
|
|
@@ -15715,7 +15715,7 @@ function nA(t) {
|
|
|
15715
15715
|
element: x,
|
|
15716
15716
|
colorMatch: s,
|
|
15717
15717
|
rendererSymbol: f
|
|
15718
|
-
}),
|
|
15718
|
+
}), go(x, p.stylingInfo), x.states.apply(e.isVisible() ? "default" : "disabled")), xt({
|
|
15719
15719
|
...h,
|
|
15720
15720
|
seriesSymbol: p.symbolWithColorInfo ?? g ?? S,
|
|
15721
15721
|
element: e,
|
|
@@ -15868,8 +15868,8 @@ function cA(t) {
|
|
|
15868
15868
|
chartSubType: c,
|
|
15869
15869
|
splitBy: d,
|
|
15870
15870
|
showOutliers: o,
|
|
15871
|
-
standardizeValues:
|
|
15872
|
-
}, f =
|
|
15871
|
+
standardizeValues: no(c) ? n : !1
|
|
15872
|
+
}, f = Qn({
|
|
15873
15873
|
chartConfig: e,
|
|
15874
15874
|
seriesConfig: i,
|
|
15875
15875
|
key: ee.ThirdQuartile
|
|
@@ -15909,7 +15909,7 @@ function dA(t) {
|
|
|
15909
15909
|
dataWasUpdated: r,
|
|
15910
15910
|
seriesWereReinitialized: l
|
|
15911
15911
|
} = t;
|
|
15912
|
-
(n === !0 || r === !0 || s === !0 || l === !0) && a.data.setAll(
|
|
15912
|
+
(n === !0 || r === !0 || s === !0 || l === !0) && a.data.setAll(bo({ chartConfig: e, seriesConfig: i, data: o, seriesType: "candleStick" }));
|
|
15913
15913
|
}
|
|
15914
15914
|
function uA(t) {
|
|
15915
15915
|
const { candleStickSeries: e, seriesConfig: i, seriesIndex: a, chartSubType: o, colorMatch: n, showMean: s, rendererType: r, options: l } = t, { root: c } = e, d = i.fillSymbol ?? Ia(a);
|
|
@@ -15979,7 +15979,7 @@ function mA(t) {
|
|
|
15979
15979
|
return d;
|
|
15980
15980
|
}
|
|
15981
15981
|
function gA(t) {
|
|
15982
|
-
const { chartConfig: e, seriesConfig: i } = t, a = j(e.series), { showOutliers: o, standardizeValues: n } = e, { y: s } = i, r = i?.query?.where, l = cr(e), c =
|
|
15982
|
+
const { chartConfig: e, seriesConfig: i } = t, a = j(e.series), { showOutliers: o, standardizeValues: n } = e, { y: s } = i, r = i?.query?.where, l = cr(e), c = Qn({
|
|
15983
15983
|
chartConfig: l,
|
|
15984
15984
|
seriesConfig: i,
|
|
15985
15985
|
key: ee.Average
|
|
@@ -15988,7 +15988,7 @@ function gA(t) {
|
|
|
15988
15988
|
chartSubType: a,
|
|
15989
15989
|
splitBy: r,
|
|
15990
15990
|
showOutliers: o,
|
|
15991
|
-
standardizeValues:
|
|
15991
|
+
standardizeValues: no(a) ? n : !1,
|
|
15992
15992
|
key: ee.Average
|
|
15993
15993
|
});
|
|
15994
15994
|
return c.properties.value = d, c;
|
|
@@ -16004,7 +16004,7 @@ function hA(t) {
|
|
|
16004
16004
|
dataWasUpdated: r,
|
|
16005
16005
|
seriesWereReinitialized: l
|
|
16006
16006
|
} = t;
|
|
16007
|
-
(n === !0 || r === !0 || s === !0 || l === !0) && a.data.setAll(
|
|
16007
|
+
(n === !0 || r === !0 || s === !0 || l === !0) && a.data.setAll(bo({ chartConfig: e, seriesConfig: i, data: o, seriesType: "meanLines" }));
|
|
16008
16008
|
}
|
|
16009
16009
|
function pA(t) {
|
|
16010
16010
|
const {
|
|
@@ -16066,7 +16066,7 @@ function yA(t, e) {
|
|
|
16066
16066
|
}
|
|
16067
16067
|
function SA(t) {
|
|
16068
16068
|
const { chartConfig: e, seriesConfig: i } = t;
|
|
16069
|
-
return
|
|
16069
|
+
return Qn({
|
|
16070
16070
|
chartConfig: e,
|
|
16071
16071
|
seriesConfig: i,
|
|
16072
16072
|
key: ee.Outlier
|
|
@@ -16083,7 +16083,7 @@ function CA(t) {
|
|
|
16083
16083
|
seriesWereReinitialized: r,
|
|
16084
16084
|
seriesConfig: l
|
|
16085
16085
|
} = t;
|
|
16086
|
-
(o === !0 || s === !0 || n === !0 || r === !0) && i.data.setAll(
|
|
16086
|
+
(o === !0 || s === !0 || n === !0 || r === !0) && i.data.setAll(bo({ chartConfig: e, seriesConfig: l, data: a, seriesType: "outliers" }));
|
|
16087
16087
|
}
|
|
16088
16088
|
function xA(t, e) {
|
|
16089
16089
|
return (t ?? F.boxPlot.boxPlotOutliersVisibility) && e !== !1;
|
|
@@ -16093,7 +16093,7 @@ function vA(t) {
|
|
|
16093
16093
|
if (se(e.uid, "bulletTemplate") && a.type === y.BoxPlotSeries) {
|
|
16094
16094
|
const s = a.fillSymbol, r = {
|
|
16095
16095
|
type: Z.SMS,
|
|
16096
|
-
style:
|
|
16096
|
+
style: qo.Circle,
|
|
16097
16097
|
color: s?.color,
|
|
16098
16098
|
size: F.boxPlot.boxPlotOutliersSize
|
|
16099
16099
|
};
|
|
@@ -16196,7 +16196,7 @@ function AA(t) {
|
|
|
16196
16196
|
o = ee.Min;
|
|
16197
16197
|
break;
|
|
16198
16198
|
}
|
|
16199
|
-
return
|
|
16199
|
+
return Qn({
|
|
16200
16200
|
chartConfig: e,
|
|
16201
16201
|
seriesConfig: i,
|
|
16202
16202
|
key: o
|
|
@@ -16213,7 +16213,7 @@ function TA(t) {
|
|
|
16213
16213
|
seriesWereReinitialized: r,
|
|
16214
16214
|
seriesConfig: l
|
|
16215
16215
|
} = t;
|
|
16216
|
-
(o === !0 || s === !0 || n === !0 || r === !0) && i.data.setAll(
|
|
16216
|
+
(o === !0 || s === !0 || n === !0 || r === !0) && i.data.setAll(bo({ chartConfig: e, seriesConfig: l, data: a, seriesType: "stepLine" }));
|
|
16217
16217
|
}
|
|
16218
16218
|
function kA(t) {
|
|
16219
16219
|
const { stepLineSeries: e, data: i, seriesConfig: a, seriesIndex: o, colorMatch: n, chartSubType: s, rendererType: r } = t;
|
|
@@ -16263,7 +16263,7 @@ function IA(t) {
|
|
|
16263
16263
|
seriesConfig: o
|
|
16264
16264
|
}));
|
|
16265
16265
|
}
|
|
16266
|
-
function
|
|
16266
|
+
function ps(t) {
|
|
16267
16267
|
const { root: e, xAxis: i, yAxis: a, chartConfig: o, seriesIndex: n, type: s, options: r, queryObject: l, errorStrings: c } = t, d = o.series[n];
|
|
16268
16268
|
let u;
|
|
16269
16269
|
if (d.type === y.BoxPlotSeries) {
|
|
@@ -16284,13 +16284,13 @@ function bs(t) {
|
|
|
16284
16284
|
}
|
|
16285
16285
|
return u;
|
|
16286
16286
|
}
|
|
16287
|
-
function
|
|
16287
|
+
function Qn(t) {
|
|
16288
16288
|
const { chartConfig: e, seriesConfig: i, key: a } = t, o = Ke(e), n = e.showOutliers, s = e.standardizeValues, r = Ct(e), l = j(e.series), { x: c, y: d } = i, u = r ? void 0 : i?.query?.where, f = {
|
|
16289
16289
|
y: l === V.BoxPlotC4MultiFieldsAndCategory && typeof d == "string" ? d : void 0,
|
|
16290
16290
|
chartSubType: l,
|
|
16291
16291
|
splitBy: u,
|
|
16292
16292
|
showOutliers: n,
|
|
16293
|
-
standardizeValues:
|
|
16293
|
+
standardizeValues: no(l) ? s : !1
|
|
16294
16294
|
}, g = l === V.BoxPlotC1MonoField || l === V.BoxPlotC2MultiFields || l === V.BoxPlotC5MonoFieldAndSplitBy || l === V.BoxPlotC6MultiFieldsAndSplitBy ? yr : c;
|
|
16295
16295
|
return {
|
|
16296
16296
|
dataFields: {
|
|
@@ -16393,15 +16393,15 @@ function DA(t) {
|
|
|
16393
16393
|
if (o === y.BoxPlotSeries)
|
|
16394
16394
|
[
|
|
16395
16395
|
mA(t),
|
|
16396
|
-
|
|
16396
|
+
ps({
|
|
16397
16397
|
...t,
|
|
16398
16398
|
type: me.Top
|
|
16399
16399
|
}),
|
|
16400
|
-
|
|
16400
|
+
ps({
|
|
16401
16401
|
...t,
|
|
16402
16402
|
type: me.Median
|
|
16403
16403
|
}),
|
|
16404
|
-
|
|
16404
|
+
ps({
|
|
16405
16405
|
...t,
|
|
16406
16406
|
type: me.Bottom
|
|
16407
16407
|
}),
|
|
@@ -16515,7 +16515,7 @@ function PA(t) {
|
|
|
16515
16515
|
colorMatch: n,
|
|
16516
16516
|
rendererSymbol: v
|
|
16517
16517
|
});
|
|
16518
|
-
l = T.symbolWithColorInfo, h = T.stylingInfo,
|
|
16518
|
+
l = T.symbolWithColorInfo, h = T.stylingInfo, go(p, h), C || (g.add(JSON.stringify(h)), c = T.symbolWithColorInfo);
|
|
16519
16519
|
}
|
|
16520
16520
|
}), r = g.size > 1, l = c ?? l;
|
|
16521
16521
|
}
|
|
@@ -16603,7 +16603,7 @@ function WA(t) {
|
|
|
16603
16603
|
ariaLabel: Ni(),
|
|
16604
16604
|
hoverOnFocus: !0,
|
|
16605
16605
|
// show tooltip when the marker receives keyboard focus
|
|
16606
|
-
tooltip:
|
|
16606
|
+
tooltip: Gn({ series: b, tooltipFormatter: s?.tooltipFormatter }),
|
|
16607
16607
|
// omit layer for legend markers only — layers break scrollable legends
|
|
16608
16608
|
...L ? {} : { layer: F.zIndexes.customLayer5 }
|
|
16609
16609
|
},
|
|
@@ -16734,7 +16734,7 @@ function XA(t) {
|
|
|
16734
16734
|
selected: Xt(c.uid, "selected") !== !0
|
|
16735
16735
|
}), d && e.slices.each((u) => {
|
|
16736
16736
|
u !== c && Re({ element: u, selected: !1 });
|
|
16737
|
-
}),
|
|
16737
|
+
}), Io({
|
|
16738
16738
|
chart: s,
|
|
16739
16739
|
selectionSource: ge.SelectionByClick,
|
|
16740
16740
|
queryObject: i,
|
|
@@ -16852,7 +16852,7 @@ function ZA(t) {
|
|
|
16852
16852
|
textType: "regular"
|
|
16853
16853
|
}) : !s && !c && !l && (e.labels.template.setAll({ baseRadius: he, textType: "adjusted" }), n !== void 0 && Number.isFinite(n) && d !== n && e.labels.template.set("radius", n));
|
|
16854
16854
|
}
|
|
16855
|
-
let
|
|
16855
|
+
let bs;
|
|
16856
16856
|
function KA(t, e) {
|
|
16857
16857
|
const { ticks: i } = e, a = i?.visible === !1 || e.dataLabelsInside === !0 || e.dataLabels === void 0 || e.dataLabels?.visible === !1 || e.dataLabelsOffset !== void 0 && e.dataLabelsOffset <= 0;
|
|
16858
16858
|
t.ticks.template.setAll({
|
|
@@ -16861,7 +16861,7 @@ function KA(t, e) {
|
|
|
16861
16861
|
// see: https://www.amcharts.com/docs/v5/reference/tick/#crisp_setting
|
|
16862
16862
|
crisp: !1
|
|
16863
16863
|
});
|
|
16864
|
-
const o = i?.lineSymbol ??
|
|
16864
|
+
const o = i?.lineSymbol ?? kn({ color: Cr });
|
|
16865
16865
|
a && (o.width = 0), Zt({
|
|
16866
16866
|
element: t.ticks.template,
|
|
16867
16867
|
lineSymbol: o,
|
|
@@ -16949,7 +16949,7 @@ function aT(t) {
|
|
|
16949
16949
|
// Prevent scaling on hover
|
|
16950
16950
|
stateAnimationDuration: 0
|
|
16951
16951
|
// Remove animation
|
|
16952
|
-
}), Ee(g.slices.template, a?.selectionTheme), ei({ element: g.slices.template, series: g, queryObject: s, errorStrings: r }),
|
|
16952
|
+
}), Ee(g.slices.template, a?.selectionTheme), ei({ element: g.slices.template, series: g, queryObject: s, errorStrings: r }), Un(g, n), g.appear(), o instanceof Kt && Rm(o, g), g;
|
|
16953
16953
|
}
|
|
16954
16954
|
function oT(t) {
|
|
16955
16955
|
const {
|
|
@@ -17015,7 +17015,7 @@ function wm(t, e) {
|
|
|
17015
17015
|
a = tt(w * 100);
|
|
17016
17016
|
} else
|
|
17017
17017
|
a = tt(F.pieChart.chartRadius);
|
|
17018
|
-
i.value.toFixed(1) !== a.value.toFixed(1) && (ht(t.uid, { pieChartRadius: a.percent }),
|
|
17018
|
+
i.value.toFixed(1) !== a.value.toFixed(1) && (ht(t.uid, { pieChartRadius: a.percent }), bs && clearTimeout(bs), bs = ci(() => {
|
|
17019
17019
|
const b = t.chartContainer.height();
|
|
17020
17020
|
if (t.chartContainer.set("height", b + 0.1), t.set("radius", a), l && !Number.isNaN(l) && l > 0) {
|
|
17021
17021
|
const p = (l ?? F.pieChart.innerRadius) * a.value;
|
|
@@ -17095,7 +17095,7 @@ function lT(t) {
|
|
|
17095
17095
|
ariaLabel: Ni(),
|
|
17096
17096
|
hoverOnFocus: !0,
|
|
17097
17097
|
// show tooltip when the marker receives keyboard focus
|
|
17098
|
-
tooltip:
|
|
17098
|
+
tooltip: Gn({
|
|
17099
17099
|
series: b,
|
|
17100
17100
|
tooltipFormatter: s?.tooltipFormatter
|
|
17101
17101
|
}),
|
|
@@ -17290,7 +17290,7 @@ function ul(t) {
|
|
|
17290
17290
|
f instanceof ne && f.get("maskBullets") === !1 && OL(f, e);
|
|
17291
17291
|
});
|
|
17292
17292
|
}
|
|
17293
|
-
function
|
|
17293
|
+
function Jn(t) {
|
|
17294
17294
|
const {
|
|
17295
17295
|
chart: e,
|
|
17296
17296
|
chartConfig: i,
|
|
@@ -17381,7 +17381,7 @@ function es(t) {
|
|
|
17381
17381
|
break;
|
|
17382
17382
|
}
|
|
17383
17383
|
case te === y.PieSeries: {
|
|
17384
|
-
z instanceof Qe && e instanceof Kt &&
|
|
17384
|
+
z instanceof Qe && e instanceof Kt && ss(o) && oT({
|
|
17385
17385
|
...U,
|
|
17386
17386
|
series: z,
|
|
17387
17387
|
seriesConfig: Y,
|
|
@@ -17395,7 +17395,7 @@ function es(t) {
|
|
|
17395
17395
|
break;
|
|
17396
17396
|
}
|
|
17397
17397
|
case (k === y.ComboLineAndBarSeries || k === y.BarSeries || k === y.LineSeries):
|
|
17398
|
-
e instanceof pe &&
|
|
17398
|
+
e instanceof pe && ss(o) && (te === y.BarSeries && z instanceof xe ? lA({
|
|
17399
17399
|
...q,
|
|
17400
17400
|
series: z,
|
|
17401
17401
|
data: o,
|
|
@@ -17422,7 +17422,7 @@ function es(t) {
|
|
|
17422
17422
|
break;
|
|
17423
17423
|
}
|
|
17424
17424
|
case te === y.RadarSeries: {
|
|
17425
|
-
z instanceof Lr && e instanceof Vi &&
|
|
17425
|
+
z instanceof Lr && e instanceof Vi && ss(o) && uT({
|
|
17426
17426
|
...q,
|
|
17427
17427
|
series: z,
|
|
17428
17428
|
data: o,
|
|
@@ -17447,7 +17447,7 @@ function fT(t) {
|
|
|
17447
17447
|
}
|
|
17448
17448
|
function mT(t) {
|
|
17449
17449
|
t.columns.each((e) => {
|
|
17450
|
-
if (!e.dataItem?.dataContext?.[
|
|
17450
|
+
if (!e.dataItem?.dataContext?.[So]) {
|
|
17451
17451
|
const i = Xt(e.uid, "selected") !== !0;
|
|
17452
17452
|
Re({ element: e, selected: i });
|
|
17453
17453
|
}
|
|
@@ -17475,7 +17475,7 @@ async function hT(t) {
|
|
|
17475
17475
|
gT(n);
|
|
17476
17476
|
break;
|
|
17477
17477
|
}
|
|
17478
|
-
}), await
|
|
17478
|
+
}), await Io({
|
|
17479
17479
|
chart: e,
|
|
17480
17480
|
selectionSource: ge.ProgrammaticSelection,
|
|
17481
17481
|
queryObject: i,
|
|
@@ -17546,7 +17546,7 @@ function yT(t) {
|
|
|
17546
17546
|
t.dispose();
|
|
17547
17547
|
}
|
|
17548
17548
|
function ST(t) {
|
|
17549
|
-
const { chart: e, chartContainer: i, chartLocale: a } = t, { root: o } = e, { t9nLocale: n } = ea(i ?? document.documentElement), s =
|
|
17549
|
+
const { chart: e, chartContainer: i, chartLocale: a } = t, { root: o } = e, { t9nLocale: n } = ea(i ?? document.documentElement), s = po(i ?? document.documentElement);
|
|
17550
17550
|
o.locale = a, ht(e.uid, {
|
|
17551
17551
|
locale: n,
|
|
17552
17552
|
formatLocale: s,
|
|
@@ -17607,7 +17607,7 @@ function vT(t) {
|
|
|
17607
17607
|
groupOfSlicesUpdateNeeded: g,
|
|
17608
17608
|
seriesStyleChanged: h
|
|
17609
17609
|
} = t;
|
|
17610
|
-
|
|
17610
|
+
Jn({
|
|
17611
17611
|
chart: e,
|
|
17612
17612
|
chartConfig: i,
|
|
17613
17613
|
options: d,
|
|
@@ -17621,7 +17621,7 @@ function vT(t) {
|
|
|
17621
17621
|
seriesStyleChanged: h,
|
|
17622
17622
|
colorMatchChanged: l,
|
|
17623
17623
|
labelUpdateNeeded: o || s || r || l
|
|
17624
|
-
}),
|
|
17624
|
+
}), Yn({
|
|
17625
17625
|
chart: e,
|
|
17626
17626
|
options: d,
|
|
17627
17627
|
dataWasUpdated: o,
|
|
@@ -17694,7 +17694,7 @@ function LT(t) {
|
|
|
17694
17694
|
gaugeInnerLabelFormatter: d?.gaugeInnerLabelFormatter,
|
|
17695
17695
|
utilsStrings: T,
|
|
17696
17696
|
errorStrings: k
|
|
17697
|
-
}),
|
|
17697
|
+
}), Jn({
|
|
17698
17698
|
chart: e,
|
|
17699
17699
|
chartConfig: i,
|
|
17700
17700
|
options: d,
|
|
@@ -17711,7 +17711,7 @@ function LT(t) {
|
|
|
17711
17711
|
sizePolicyChanged: L,
|
|
17712
17712
|
queryObject: u,
|
|
17713
17713
|
utilsStrings: T
|
|
17714
|
-
}),
|
|
17714
|
+
}), Yn({
|
|
17715
17715
|
chart: e,
|
|
17716
17716
|
options: d,
|
|
17717
17717
|
dataWasUpdated: n,
|
|
@@ -17742,19 +17742,19 @@ function FT(t) {
|
|
|
17742
17742
|
throw new Error();
|
|
17743
17743
|
let v = R(e.uid, "config");
|
|
17744
17744
|
if (e.isDisposed() || !md(v, o))
|
|
17745
|
-
throw new gi(
|
|
17745
|
+
throw new gi(io.ChartDisposed);
|
|
17746
17746
|
v ??= o, ht(e.uid, { queryObject: h });
|
|
17747
17747
|
const T = j(o.series), k = Ke(o);
|
|
17748
17748
|
ht(e.uid, {
|
|
17749
17749
|
config: ke(o),
|
|
17750
17750
|
options: n,
|
|
17751
|
-
isNonAggregatedChart: !
|
|
17751
|
+
isNonAggregatedChart: !vn(T),
|
|
17752
17752
|
isRotated: k,
|
|
17753
17753
|
filterBySelection: n?.filterBySelection,
|
|
17754
17754
|
colorMatchApplied: d,
|
|
17755
17755
|
rendererFieldNames: u
|
|
17756
17756
|
});
|
|
17757
|
-
const w = Lt(h, L), I = kg(v, o), O = hd(v, o), $ = Jc(v, o), B = Ig(v, o), M = pT(v, o), P = JSON.stringify(
|
|
17757
|
+
const w = Lt(h, L), I = kg(v, o), O = hd(v, o), $ = Jc(v, o), B = Ig(v, o), M = pT(v, o), P = JSON.stringify(jo(v.series)) !== JSON.stringify(jo(o.series)), G = Js(v, o), _ = wg(v, o), U = gd(v, o), q = xd(v, o), X = Rg(v, o), Y = xn({
|
|
17758
17758
|
oldConfig: l ? f : v,
|
|
17759
17759
|
newConfig: o,
|
|
17760
17760
|
dataWasUpdated: s
|
|
@@ -17767,21 +17767,21 @@ function FT(t) {
|
|
|
17767
17767
|
rotationChanged: O
|
|
17768
17768
|
}), ti = v.series, fi = o.series;
|
|
17769
17769
|
if (s) {
|
|
17770
|
-
const { queryConfig: ba, count:
|
|
17770
|
+
const { queryConfig: ba, count: ts } = b ?? {};
|
|
17771
17771
|
ht(e.uid, {
|
|
17772
17772
|
fieldList: w,
|
|
17773
17773
|
queryConfig: ba,
|
|
17774
|
-
elementCount:
|
|
17774
|
+
elementCount: ts,
|
|
17775
17775
|
timeIntervalInfo: p !== void 0 && "timeIntervalInfo" in p ? p.timeIntervalInfo : void 0
|
|
17776
17776
|
});
|
|
17777
17777
|
}
|
|
17778
|
-
e instanceof
|
|
17779
|
-
const
|
|
17778
|
+
e instanceof lo && zx({ chartSeries: e.series, oldSeries: ti, newSeries: fi });
|
|
17779
|
+
const wo = e instanceof Kt ? kr(
|
|
17780
17780
|
ti,
|
|
17781
17781
|
fi
|
|
17782
|
-
) : !1,
|
|
17783
|
-
(f ?? o).series.forEach((ba,
|
|
17784
|
-
|
|
17782
|
+
) : !1, es = Qc({ oldConfig: v, newConfig: o }), Ro = /* @__PURE__ */ new Map();
|
|
17783
|
+
(f ?? o).series.forEach((ba, ts) => {
|
|
17784
|
+
Ro.set(ba.id, ts);
|
|
17785
17785
|
}), Jf(e, o.background), am(e, { title: o.title, subtitle: o.subtitle }), om(e, o.footer), im({
|
|
17786
17786
|
root: x,
|
|
17787
17787
|
chart: e,
|
|
@@ -17791,7 +17791,7 @@ function FT(t) {
|
|
|
17791
17791
|
errorStrings: C
|
|
17792
17792
|
});
|
|
17793
17793
|
const Za = W(o.series);
|
|
17794
|
-
let
|
|
17794
|
+
let Oo = !1;
|
|
17795
17795
|
switch (Za) {
|
|
17796
17796
|
case y.PieSeries: {
|
|
17797
17797
|
e instanceof Kt && (si(h), vT({
|
|
@@ -17800,14 +17800,14 @@ function FT(t) {
|
|
|
17800
17800
|
options: n,
|
|
17801
17801
|
data: p,
|
|
17802
17802
|
dataWasUpdated: s,
|
|
17803
|
-
slicesConfigChangedSinceLastUpdate:
|
|
17803
|
+
slicesConfigChangedSinceLastUpdate: es,
|
|
17804
17804
|
pieSlicesSymbols: c,
|
|
17805
17805
|
chartRendererChanged: G,
|
|
17806
17806
|
sortChanged: Y,
|
|
17807
17807
|
queryObject: h,
|
|
17808
17808
|
colorMatchChanged: $,
|
|
17809
17809
|
utilsStrings: S,
|
|
17810
|
-
groupOfSlicesUpdateNeeded:
|
|
17810
|
+
groupOfSlicesUpdateNeeded: wo,
|
|
17811
17811
|
seriesStyleChanged: M
|
|
17812
17812
|
}));
|
|
17813
17813
|
break;
|
|
@@ -17821,13 +17821,13 @@ function FT(t) {
|
|
|
17821
17821
|
case y.GaugeSeries:
|
|
17822
17822
|
case y.HistogramSeries:
|
|
17823
17823
|
case y.BoxPlotSeries:
|
|
17824
|
-
e instanceof pe && (
|
|
17824
|
+
e instanceof pe && (Oo = LT({
|
|
17825
17825
|
chart: e,
|
|
17826
17826
|
chartConfig: o,
|
|
17827
17827
|
options: n,
|
|
17828
17828
|
data: p,
|
|
17829
17829
|
dataWasUpdated: s,
|
|
17830
|
-
seriesIndexMapper:
|
|
17830
|
+
seriesIndexMapper: Ro,
|
|
17831
17831
|
dataUpdateDetails: r,
|
|
17832
17832
|
seriesFilteredOut: l,
|
|
17833
17833
|
heatChartHideEmptyRowsAndColumnsChanged: Le,
|
|
@@ -17849,7 +17849,7 @@ function FT(t) {
|
|
|
17849
17849
|
}));
|
|
17850
17850
|
break;
|
|
17851
17851
|
}
|
|
17852
|
-
if (e instanceof
|
|
17852
|
+
if (e instanceof lo) {
|
|
17853
17853
|
const ba = () => {
|
|
17854
17854
|
vm({
|
|
17855
17855
|
chart: e,
|
|
@@ -17863,13 +17863,13 @@ function FT(t) {
|
|
|
17863
17863
|
queryObject: h
|
|
17864
17864
|
});
|
|
17865
17865
|
};
|
|
17866
|
-
|
|
17866
|
+
Oo ? ci(ba) : ba();
|
|
17867
17867
|
}
|
|
17868
17868
|
_s({ chart: e, actionMode: n?.actionMode, cursorRange: n?.cursorRange }), Bf(e), ff({ chart: e, chartConfig: o, delayCallback: s });
|
|
17869
17869
|
}
|
|
17870
17870
|
function AT(t) {
|
|
17871
17871
|
const { chart: e, data: i, chartConfig: a, pieSlicesSymbols: o, options: n, queryObject: s, utilsStrings: r, errorStrings: l } = t;
|
|
17872
|
-
nT(e), ul({ chart: e, chartConfig: a, options: n, utilsStrings: r, queryObject: s, errorStrings: l }),
|
|
17872
|
+
nT(e), ul({ chart: e, chartConfig: a, options: n, utilsStrings: r, queryObject: s, errorStrings: l }), Jn({
|
|
17873
17873
|
chart: e,
|
|
17874
17874
|
chartConfig: a,
|
|
17875
17875
|
options: n,
|
|
@@ -17878,7 +17878,7 @@ function AT(t) {
|
|
|
17878
17878
|
pieSlicesSymbols: o,
|
|
17879
17879
|
queryObject: s,
|
|
17880
17880
|
utilsStrings: r
|
|
17881
|
-
}),
|
|
17881
|
+
}), Yn({
|
|
17882
17882
|
chart: e,
|
|
17883
17883
|
options: n,
|
|
17884
17884
|
dataWasUpdated: !0,
|
|
@@ -17912,7 +17912,7 @@ function TT(t) {
|
|
|
17912
17912
|
gaugeInnerLabelFormatter: o?.gaugeInnerLabelFormatter,
|
|
17913
17913
|
utilsStrings: r,
|
|
17914
17914
|
errorStrings: l
|
|
17915
|
-
}), ul({ chart: e, chartConfig: a, options: o, utilsStrings: r, queryObject: n, errorStrings: l }), e.gridContainer?.toBack?.(),
|
|
17915
|
+
}), ul({ chart: e, chartConfig: a, options: o, utilsStrings: r, queryObject: n, errorStrings: l }), e.gridContainer?.toBack?.(), Jn({
|
|
17916
17916
|
chart: e,
|
|
17917
17917
|
chartConfig: a,
|
|
17918
17918
|
seriesIndexMapper: s,
|
|
@@ -17922,7 +17922,7 @@ function TT(t) {
|
|
|
17922
17922
|
timeZoneChanged: !0,
|
|
17923
17923
|
queryObject: n,
|
|
17924
17924
|
utilsStrings: r
|
|
17925
|
-
}),
|
|
17925
|
+
}), Yn({
|
|
17926
17926
|
chart: e,
|
|
17927
17927
|
options: o,
|
|
17928
17928
|
dataWasUpdated: !0,
|
|
@@ -17956,7 +17956,7 @@ function kT(t) {
|
|
|
17956
17956
|
filterBySelection: a?.filterBySelection,
|
|
17957
17957
|
config: i,
|
|
17958
17958
|
queryObject: c,
|
|
17959
|
-
isNonAggregatedChart: !
|
|
17959
|
+
isNonAggregatedChart: !vn(v),
|
|
17960
17960
|
isRotated: T,
|
|
17961
17961
|
colorMatchApplied: o,
|
|
17962
17962
|
rendererFieldNames: n
|
|
@@ -18000,7 +18000,7 @@ function kT(t) {
|
|
|
18000
18000
|
queryObject: c,
|
|
18001
18001
|
utilsStrings: f,
|
|
18002
18002
|
errorStrings: u
|
|
18003
|
-
})), C instanceof
|
|
18003
|
+
})), C instanceof lo && (x = Oc(C, i), vm({
|
|
18004
18004
|
chart: C,
|
|
18005
18005
|
chartConfig: i,
|
|
18006
18006
|
legend: x,
|
|
@@ -18175,7 +18175,7 @@ function PT(t) {
|
|
|
18175
18175
|
}
|
|
18176
18176
|
function VT(t) {
|
|
18177
18177
|
const { config: e, themeColors: i } = t;
|
|
18178
|
-
if (
|
|
18178
|
+
if (Vo(e) && i.textColor) {
|
|
18179
18179
|
const a = wa().toString();
|
|
18180
18180
|
e.axes?.forEach((o) => {
|
|
18181
18181
|
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);
|
|
@@ -18200,7 +18200,7 @@ function zT() {
|
|
|
18200
18200
|
}
|
|
18201
18201
|
function HT(t, e) {
|
|
18202
18202
|
let i;
|
|
18203
|
-
const a =
|
|
18203
|
+
const a = Ln(e);
|
|
18204
18204
|
return a !== void 0 && "definitionExpression" in a && t.layerFilterChangePolicy === Nd.Refresh && (i = vt.watch(
|
|
18205
18205
|
() => a.definitionExpression,
|
|
18206
18206
|
() => {
|
|
@@ -18260,7 +18260,7 @@ function YT(t) {
|
|
|
18260
18260
|
}
|
|
18261
18261
|
function UT(t, e) {
|
|
18262
18262
|
let i;
|
|
18263
|
-
const a =
|
|
18263
|
+
const a = Ln(e);
|
|
18264
18264
|
return a !== void 0 && "fields" in a && (i = vt.watch(
|
|
18265
18265
|
/**
|
|
18266
18266
|
* array objects need to be passed in as an array to watch. it's a requirement from the watch function's design.
|
|
@@ -18290,7 +18290,7 @@ function Om(t, e) {
|
|
|
18290
18290
|
return vt.watch(
|
|
18291
18291
|
() => e.selections,
|
|
18292
18292
|
() => {
|
|
18293
|
-
(t.syncViewSelection || t.syncSelectionsBetweenChartAndLayerViewPolicy ===
|
|
18293
|
+
(t.selectionManager === e || t.selectionManager === void 0 && t.view?.selectionManager === e && (t.syncViewSelection || t.syncSelectionsBetweenChartAndLayerViewPolicy === vs.Enabled)) && t.applySelectionFromSelectionManager();
|
|
18294
18294
|
}
|
|
18295
18295
|
);
|
|
18296
18296
|
}
|
|
@@ -18557,7 +18557,7 @@ async function Pc(t = ea(document.documentElement).t9nLocale, e) {
|
|
|
18557
18557
|
const i = e ? await JT(t) : await QT(t), a = (await KT(t)).customAmchartsStrings;
|
|
18558
18558
|
return { ...i, ...a };
|
|
18559
18559
|
}
|
|
18560
|
-
const ek = ({ message: t, heading: e, options: i }) =>
|
|
18560
|
+
const ek = ({ message: t, heading: e, options: i }) => eo`<calcite-alert .icon=${i?.icon ?? "exclamationMarkTriangle"} .open=${i?.active === !0} .autoClose=${i?.autoClose ?? !1} .autoCloseDuration=${i?.duration ?? "medium"} scale=m .kind=${i?.kind ?? "danger"} .ariaHidden=${i?.active !== !0} dir=ltr role=alertdialog label="arcgis charts notify panel">${e !== void 0 ? eo`<div slot=title>${e}</div>` : null}${t !== void 0 ? eo`<div slot=message>${t}</div>` : null}</calcite-alert>`, tk = Hm`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.chart{flex-grow:1}.chart>div{justify-content:center;align-items:center}.chart{overflow-y:hidden}:host{width:var(--chart-width, var(--arcgis-charts-default-width));height:var(--chart-height, var(--arcgis-charts-default-height));display:flex;flex-direction:row;position:relative;overflow:hidden}.chart-wrapper{position:relative;width:100%}.chart-container{height:100%;overflow:hidden}`;
|
|
18561
18561
|
class ik extends cp {
|
|
18562
18562
|
constructor(e) {
|
|
18563
18563
|
super(e);
|
|
@@ -18634,7 +18634,7 @@ class ak extends Nm {
|
|
|
18634
18634
|
this.filterByViewExtent || this.filterByExtent
|
|
18635
18635
|
],
|
|
18636
18636
|
task: async ([e, i, a], { signal: o }) => {
|
|
18637
|
-
const n = et(e), s =
|
|
18637
|
+
const n = et(e), s = Ln(n), r = mt(s);
|
|
18638
18638
|
if (a && i && !r && s && !s.isTable) {
|
|
18639
18639
|
s.outFields = ["*"];
|
|
18640
18640
|
const d = await i.whenLayerView(s);
|
|
@@ -18901,7 +18901,7 @@ class ak extends Nm {
|
|
|
18901
18901
|
syncViewTimeZoneInclusionList: C,
|
|
18902
18902
|
chartConfig: T
|
|
18903
18903
|
});
|
|
18904
|
-
(
|
|
18904
|
+
(ds(v) || us(v)) && v.splitBySeriesLimitReached && hh(f).behaviorAfterLimit === ph.Reject ? (I = { valid: !1, seriesCount: v.splitBySeriesCount }, Vg({
|
|
18905
18905
|
dataInfo: I,
|
|
18906
18906
|
chartType: W(T.series)
|
|
18907
18907
|
})) : (I = await Wg({
|
|
@@ -18929,7 +18929,7 @@ class ak extends Nm {
|
|
|
18929
18929
|
errorStrings: i,
|
|
18930
18930
|
abortSignal: w
|
|
18931
18931
|
}), Ml(v) && tp(ip, I.data));
|
|
18932
|
-
} else if (B.valid &&
|
|
18932
|
+
} else if (B.valid && rs(T) && T.series[0].type === y.GaugeSeries && T.series[0].featureIndex !== void 0 && this._processedChartData) {
|
|
18933
18933
|
const M = "dataItems" in this._processedChartData ? this._processedChartData.dataItems : [], P = Eg({
|
|
18934
18934
|
featureIndex: T.series[0].featureIndex,
|
|
18935
18935
|
chartData: M,
|
|
@@ -18964,7 +18964,7 @@ class ak extends Nm {
|
|
|
18964
18964
|
line: "--calcite-color-border-1",
|
|
18965
18965
|
secondaryLine: "--calcite-color-text-3",
|
|
18966
18966
|
spinner: "--calcite-color-brand-hover"
|
|
18967
|
-
}, this.allowUsingObjectIdStat = !1, this.nullAsValid = !1, this.zeroCountAsValid = !1, this.hideUIMessages = !1, this.showEmptySeries = !1, this.autoInverseDataLabelTextColor = !1, this.hideZeroCountCategories = !1, this.ignoreSmoothRenderingLimit = !1, this.returnSelectionIndexes = !1, this.returnFeaturesExtent = !1, this.filterBySelection = !1, this.filterByExtent = !1, this.filterByViewExtent = !1, this.disableInteractions = !1, this.interactionsDisabled = !1, this.skipChartCreationQueue = !1, this.useAnimatedCharts = !1, this.showLicenseWatermark = !1, this.enableResponsiveFeatures = !1, this.autoDisposeChart = !1, this.setTimeBinningInfoWhenNotProvided = !1, this.errorPolicy =
|
|
18967
|
+
}, this.allowUsingObjectIdStat = !1, this.nullAsValid = !1, this.zeroCountAsValid = !1, this.hideUIMessages = !1, this.showEmptySeries = !1, this.autoInverseDataLabelTextColor = !1, this.hideZeroCountCategories = !1, this.ignoreSmoothRenderingLimit = !1, this.returnSelectionIndexes = !1, this.returnFeaturesExtent = !1, this.filterBySelection = !1, this.filterByExtent = !1, this.filterByViewExtent = !1, this.disableInteractions = !1, this.interactionsDisabled = !1, this.skipChartCreationQueue = !1, this.useAnimatedCharts = !1, this.showLicenseWatermark = !1, this.enableResponsiveFeatures = !1, this.autoDisposeChart = !1, this.setTimeBinningInfoWhenNotProvided = !1, this.errorPolicy = Do.Throw, this.disableTogglingLegendItems = !1, this.legendInteractionsDisabled = !1, this.hideLoaderAnimation = !1, this.usePopupTemplateFieldsInfo = !1, this.syncViewTimeZoneInclusionList = [y.HeatSeries], this.syncViewTimeZone = !1, this.layerFilterChangePolicy = Nd.Refresh, this.viewTimeExtentChangePolicy = Wd.Ignore, this.syncViewTimeExtent = !1, this.layerRendererChangePolicy = Pd.Refresh, this.layerFieldsChangePolicy = Vd.Refresh, this.syncSelectionsBetweenChartAndLayerViewPolicy = vs.Disabled, this.syncViewSelection = !1, this.syncSelection = !1, this.syncChartsSelection = !1, this.ignoreViewExtent = !1, this.autoDestroyDisabled = !1, this.arcgisAxesMinMaxChange = ft(), this.arcgisBadDataWarningRaise = ft(), this.arcgisChartNotFoundWarning = ft(), this.arcgisConfigChange = ft(), this.arcgisDataFetchComplete = ft(), this.arcgisDataProcessComplete = ft(), this.arcgisDataProcessError = ft(), this.arcgisInvalidConfigWarningRaise = ft(), this.arcgisLegendItemVisibilityChange = ft(), this.arcgisNoRenderPropChange = ft(), this.arcgisRenderingComplete = ft(), this.arcgisRuntimeError = ft(), this.arcgisSelectionComplete = ft(), this.arcgisSeriesColorChange = ft(), this.arcgisSeriesOrder = ft(), this.arcgisUpdateComplete = ft(), 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);
|
|
18968
18968
|
}
|
|
18969
18969
|
static {
|
|
18970
18970
|
this.properties = { layerFromPortalItem: 16, layerLoadError: 16, layerView: 16, queryObject: 16, internalModel: 16, forceDataUpdateTick: 16, taskCompletionTick: 16, infoModalMessage: 16, notifyMessage: 16, showLoader: 16, modelRevision: 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, zeroCountAsValid: 5, showUIMessages: 5, hideUIMessages: 5, hideEmptySeries: 5, showEmptySeries: 5, autoInverseDataLabelTextColor: 5, replaceNoValueCategoryWithZero: 5, hideZeroCountCategories: 5, ignoreSmoothRenderingLimit: 5, chartWillRender: 0, legendValueLabelFormatter: 0, timeZone: 1, view: [0, { hasChanged: () => !1 }], layer: 0, layerItemId: 1, chartIndex: 9, selectionData: 0, returnSelectionOIDs: 5, returnSelectionIndexes: 5, returnFeaturesExtent: 5, filterBySelection: 5, filterByExtent: 5, filterByViewExtent: 5, disableInteractions: 5, interactionsDisabled: 5, queueChartCreation: 5, skipChartCreationQueue: 5, useAnimatedCharts: 5, animationEnabled: 5, hideLicenseWatermark: 5, showLicenseWatermark: 5, enableResponsiveFeatures: 5, autoDisposeChart: 5, featureIndex: [9, { hasChanged: () => !1 }], placeholder: 1, selectionTheme: 0, setTimeBinningInfoWhenNotProvided: 5, chartLimits: 0, aria: 0, tooltipFormatter: 0, dataLabelFormatter: 0, guideTooltipFormatter: 0, xAxisLabelFormatter: 0, yAxisLabelFormatter: 0, secondaryYAxisLabelFormatter: 0, gaugeInnerLabelFormatter: 0, errorPolicy: 1, disableTogglingLegendItems: 5, togglingLegendItemsDisabled: 5, legendInteractionsDisabled: 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 };
|
|
@@ -18972,6 +18972,9 @@ class ak extends Nm {
|
|
|
18972
18972
|
static {
|
|
18973
18973
|
this.styles = tk;
|
|
18974
18974
|
}
|
|
18975
|
+
get _isSelectionManagerEnabled() {
|
|
18976
|
+
return this.selectionManager !== void 0 || this.view?.selectionManager !== void 0 && (this.syncViewSelection || this.syncSelectionsBetweenChartAndLayerViewPolicy === vs.Enabled);
|
|
18977
|
+
}
|
|
18975
18978
|
get loadedLayer() {
|
|
18976
18979
|
return this.queryObject ? vd(this.queryObject) : void 0;
|
|
18977
18980
|
}
|
|
@@ -19046,7 +19049,7 @@ class ak extends Nm {
|
|
|
19046
19049
|
this._chart?.dispose();
|
|
19047
19050
|
}
|
|
19048
19051
|
async errorAlert(e) {
|
|
19049
|
-
this.errorPolicy ===
|
|
19052
|
+
this.errorPolicy === Do.Throw && (this._actionBarElement && (this._actionBarElement.forceDisableActions = !0), this.notify(e, this._commonStrings?.errorStrings.errorHeading));
|
|
19050
19053
|
}
|
|
19051
19054
|
async exportAsCSV(e) {
|
|
19052
19055
|
let i, a;
|
|
@@ -19136,7 +19139,7 @@ class ak extends Nm {
|
|
|
19136
19139
|
})), (e.has("layerView") || e.has("filterByViewExtent") || e.has("filterByExtent")) && (this.filterByViewExtent || this.filterByExtent ? this._watchHandlersController.setViewExtentChangeWatchHandler(this.filterByViewExtent, this.layerView) : (this._watchHandlersController.removeViewExtentChangeWatchHandlers(), this.refresh({
|
|
19137
19140
|
updateData: !0,
|
|
19138
19141
|
resetAxesBounds: !0
|
|
19139
|
-
}))), e.has("internalModel") && this._internalModelChange(), e.has("chartLimits") && (
|
|
19142
|
+
}))), e.has("internalModel") && this._internalModelChange(), e.has("chartLimits") && (ds(this.internalModel) || us(this.internalModel)) && (this.internalModel.chartLimits = this.chartLimits), e.has("layerItemId") && (this.internalModel = void 0), e.has("selectionData") && !pt(e.get("selectionData")?.selectionOIDs, this.selectionData?.selectionOIDs) && this._selectionDataChange(), e.has("filterBySelection") && e.get("filterBySelection") !== void 0 && this._filterBySelectionChanged(), e.has("selectionManager") && (this._setSelectionManagerChangeWatchHandler(), this.applySelectionFromSelectionManager());
|
|
19140
19143
|
}
|
|
19141
19144
|
updated(e) {
|
|
19142
19145
|
Array.from(e.keys()).filter((a) => !this._noRenderingUpdateProps.includes(a)).length > 0 && this._updatedAsync(), this._actionBarElement !== void 0 && op({
|
|
@@ -19153,7 +19156,7 @@ class ak extends Nm {
|
|
|
19153
19156
|
this.applySelectionFromSelectionManager();
|
|
19154
19157
|
}
|
|
19155
19158
|
applySelectionFromSelectionManager() {
|
|
19156
|
-
if (this.
|
|
19159
|
+
if (this._isSelectionManagerEnabled) {
|
|
19157
19160
|
const e = this._getSelectionFromSelectionManager();
|
|
19158
19161
|
pt(e, this.selectionData?.selectionOIDs) || (this.selectionData = {
|
|
19159
19162
|
selectionOIDs: e,
|
|
@@ -19162,7 +19165,7 @@ class ak extends Nm {
|
|
|
19162
19165
|
}
|
|
19163
19166
|
}
|
|
19164
19167
|
_handleRuntimeError(e) {
|
|
19165
|
-
if (e instanceof gi && e.name ===
|
|
19168
|
+
if (e instanceof gi && e.name === io.QueryFeaturesError ? this.arcgisDataProcessError.emit(e.details) : e instanceof gi && this.arcgisRuntimeError.emit(e.details ?? e), typeof e == "object" && e && "message" in e) {
|
|
19166
19169
|
const i = e instanceof gi ? e.message : this._commonStrings?.errorStrings.errors.simpleError;
|
|
19167
19170
|
this.notify(i, this._commonStrings?.errorStrings.errorHeading);
|
|
19168
19171
|
}
|
|
@@ -19210,7 +19213,7 @@ class ak extends Nm {
|
|
|
19210
19213
|
try {
|
|
19211
19214
|
(!e && !this.loadedLayer || Dl(e, this.loadedLayer) && !Zi(e) && await this._isChartSupportedByDataSource.taskComplete) && await this._renderChart();
|
|
19212
19215
|
} catch (i) {
|
|
19213
|
-
this._chartRef.value !== void 0 && (i instanceof gi && i.name ===
|
|
19216
|
+
this._chartRef.value !== void 0 && (i instanceof gi && i.name === io.ChartDisposed ? (this._chart?.dispose(), this._chart = void 0, this._chartRef.value.innerHTML = "", await this._createChartInstance(!1)) : this._handleRuntimeError(i));
|
|
19214
19217
|
}
|
|
19215
19218
|
else this._chart === void 0 && await this._createChartInstance();
|
|
19216
19219
|
this.placeholder !== void 0 ? await this.notify(this.placeholder) : (this.enableConfiguration || this.configurationEnabled) && Zi(e) && this._applyPlaceholderForPartialConfig(e);
|
|
@@ -19259,7 +19262,7 @@ class ak extends Nm {
|
|
|
19259
19262
|
this._actionBarElement = e && "assignedElements" in e ? e.assignedElements().find((i) => i.tagName.toLowerCase() === "arcgis-charts-action-bar") : void 0;
|
|
19260
19263
|
}
|
|
19261
19264
|
_checkForInvalidContainer() {
|
|
19262
|
-
this._chartRef.value ||
|
|
19265
|
+
this._chartRef.value || In("divNode", this._commonStrings?.errorStrings);
|
|
19263
19266
|
}
|
|
19264
19267
|
_handleRenderingComplete(e) {
|
|
19265
19268
|
this.arcgisRenderingComplete.emit(e.detail), this.showLoader = !1;
|
|
@@ -19280,7 +19283,7 @@ class ak extends Nm {
|
|
|
19280
19283
|
if (e.schemaErrors.length > 0 && !Zi(a))
|
|
19281
19284
|
this.notify(i?.invalidConfig, void 0);
|
|
19282
19285
|
else if (e.customErrors.length > 0 && !Zi(a)) {
|
|
19283
|
-
const o = e.customErrors.find((n) => n.keyword ===
|
|
19286
|
+
const o = e.customErrors.find((n) => n.keyword === io.LayerFieldsNotFound);
|
|
19284
19287
|
if (o)
|
|
19285
19288
|
if (mt(this.loadedLayer)) {
|
|
19286
19289
|
const n = Qi(i?.invalidConfigForRaster ?? "", {
|
|
@@ -19327,7 +19330,7 @@ class ak extends Nm {
|
|
|
19327
19330
|
}
|
|
19328
19331
|
}
|
|
19329
19332
|
_handleTooManySelectedElements() {
|
|
19330
|
-
this.errorPolicy ===
|
|
19333
|
+
this.errorPolicy === Do.Throw && (this._infoModalHeading = this._commonStrings?.errorStrings.tooManySelectedElements?.title, this.infoModalMessage = this._commonStrings?.errorStrings.tooManySelectedElements?.message, this._notifyOptions = {
|
|
19331
19334
|
kind: "warning",
|
|
19332
19335
|
autoClose: !0,
|
|
19333
19336
|
duration: "fast",
|
|
@@ -19345,7 +19348,7 @@ class ak extends Nm {
|
|
|
19345
19348
|
this.arcgisSeriesOrder.emit(e.detail);
|
|
19346
19349
|
}
|
|
19347
19350
|
_internalModelChange() {
|
|
19348
|
-
if (this._addModelListeners(), this.chartLimits !== void 0 && (
|
|
19351
|
+
if (this._addModelListeners(), this.chartLimits !== void 0 && (ds(this.internalModel) || us(this.internalModel)) && (this.internalModel.chartLimits = this.chartLimits), this.enableBetaFeatures === void 0) {
|
|
19349
19352
|
const e = W(this.internalModel?.config?.series);
|
|
19350
19353
|
this.enableBetaFeatures = e === y.ScatterSeries || e === y.HistogramSeries;
|
|
19351
19354
|
}
|
|
@@ -19354,7 +19357,7 @@ class ak extends Nm {
|
|
|
19354
19357
|
});
|
|
19355
19358
|
}
|
|
19356
19359
|
_selectionDataChange() {
|
|
19357
|
-
this.
|
|
19360
|
+
this._setSelectionInSelectionManager();
|
|
19358
19361
|
}
|
|
19359
19362
|
async _viewChange(e, i) {
|
|
19360
19363
|
this._setLayerReplacementWatchHandler(), this._setViewTimeExtentChangeWatchHandler(), this._setViewTimeZoneWatchHandler(), i !== void 0 && e === void 0 && await this.refresh(), this.view ? this._setViewSelectionsChangeWatchHandler() : this._removeViewSelectionsChangeWatchHandler();
|
|
@@ -19397,7 +19400,7 @@ class ak extends Nm {
|
|
|
19397
19400
|
}
|
|
19398
19401
|
_setSelectionInSelectionManager() {
|
|
19399
19402
|
const e = this.selectionManager ?? this.view?.selectionManager;
|
|
19400
|
-
if (this.loadedLayer && e && xl(this.loadedLayer) &&
|
|
19403
|
+
if (this.loadedLayer && e && xl(this.loadedLayer) && this._isSelectionManagerEnabled) {
|
|
19401
19404
|
const i = this.selectionData?.selectionOIDs?.length === 0 || this.selectionData?.selectionOIDs === void 0 || this.selectionData?.selectionSource === ge.ClearSelection, a = (this.selectionData?.selectionOIDs?.length ?? 0) > 0;
|
|
19402
19405
|
i ? e.clear() : a && this.selectionData?.selectionOIDs && e.replace(this.loadedLayer, this.selectionData.selectionOIDs);
|
|
19403
19406
|
}
|
|
@@ -19438,7 +19441,7 @@ class ak extends Nm {
|
|
|
19438
19441
|
}
|
|
19439
19442
|
_checkForIncompatibleChartVersion() {
|
|
19440
19443
|
const e = this.internalModel?.config?.version;
|
|
19441
|
-
this.errorPolicy ===
|
|
19444
|
+
this.errorPolicy === Do.Throw && Zg(e).versionStatus === ag.Newer && (this._notifyHeading = this._commonStrings?.errorStrings.incompatibleChartVersion?.title, this.notifyMessage = this._commonStrings?.errorStrings.incompatibleChartVersion?.message ? Qi(this._commonStrings?.errorStrings.incompatibleChartVersion?.message, {
|
|
19442
19445
|
chartVersion: e ?? ""
|
|
19443
19446
|
}) : "", this._notifyOptions = {
|
|
19444
19447
|
kind: "warning",
|
|
@@ -19572,7 +19575,7 @@ class ak extends Nm {
|
|
|
19572
19575
|
nullAsValid: this.nullAsValid,
|
|
19573
19576
|
zeroCountAsValid: this.zeroCountAsValid,
|
|
19574
19577
|
dataSet: s
|
|
19575
|
-
}) && (
|
|
19578
|
+
}) && (Vo(this.internalModel?.config) && rs(this.internalModel?.config) && i.count && i.count > 0 && (r = Ri.NoValue), n = !0, this.showLoader = !1, this._raiseInvalidDataWarning({ invalidType: r, elementCount: i.count, queryObject: o }));
|
|
19576
19579
|
}
|
|
19577
19580
|
return n;
|
|
19578
19581
|
}
|
|
@@ -19581,14 +19584,14 @@ class ak extends Nm {
|
|
|
19581
19584
|
seriesConfig: s.series[0],
|
|
19582
19585
|
xAxisValueFormatType: eh(s),
|
|
19583
19586
|
queryObject: n
|
|
19584
|
-
}), l =
|
|
19587
|
+
}), l = Vo(s) && rs(s), c = th({
|
|
19585
19588
|
invalidType: i,
|
|
19586
19589
|
elementCount: o,
|
|
19587
19590
|
seriesCount: a ?? s?.series?.length,
|
|
19588
19591
|
chartLimits: this.chartLimits,
|
|
19589
19592
|
filterBySelection: this.filterBySelection,
|
|
19590
19593
|
queryObject: n,
|
|
19591
|
-
formatLocale:
|
|
19594
|
+
formatLocale: po(this.el),
|
|
19592
19595
|
isTemporalChart: r,
|
|
19593
19596
|
isByFeatureGauge: l,
|
|
19594
19597
|
errorStrings: this._commonStrings?.errorStrings
|
|
@@ -19709,7 +19712,7 @@ class ak extends Nm {
|
|
|
19709
19712
|
if (C)
|
|
19710
19713
|
this._processedChartData = ke(h.data);
|
|
19711
19714
|
else if (!C && this._raiseLogScaleNotCompatibleWarning(a, h)) {
|
|
19712
|
-
const L =
|
|
19715
|
+
const L = xn({
|
|
19713
19716
|
oldConfig: p ? S : u,
|
|
19714
19717
|
newConfig: d,
|
|
19715
19718
|
dataWasUpdated: b
|
|
@@ -19775,7 +19778,7 @@ class ak extends Nm {
|
|
|
19775
19778
|
dataUpdateDetails: r
|
|
19776
19779
|
}), this._hideInfoModal();
|
|
19777
19780
|
const { t9nLocale: B } = ea(this._chartRef.value ?? document.documentElement), M = await Pc(B, this._useAmCharts5());
|
|
19778
|
-
|
|
19781
|
+
Vo(d) && Bp({
|
|
19779
19782
|
chartConfig: d,
|
|
19780
19783
|
chartData: h.data
|
|
19781
19784
|
});
|
|
@@ -19844,9 +19847,9 @@ class ak extends Nm {
|
|
|
19844
19847
|
[Bt.Chart]: !a,
|
|
19845
19848
|
[Bt.DisableInteractions]: this.interactionsDisabled || this.disableInteractions
|
|
19846
19849
|
}, s = this.notifyMessage !== void 0 ? { [Bt.NotifyPanel]: !0, [Bt.Show]: !0 } : { [Bt.Hide]: !0 };
|
|
19847
|
-
return
|
|
19850
|
+
return eo`<slot name=${Eh.actionBar} @slotchange=${(r) => {
|
|
19848
19851
|
this._actionBarElement = np(r, this.el, this.internalModel?.config);
|
|
19849
|
-
}} ${gl(this._actionBarSlotRef)}></slot>${i ?
|
|
19852
|
+
}} ${gl(this._actionBarSlotRef)}></slot>${i ? eo`<arcgis-charts-info-modal .heading=${this._infoModalHeading} .message=${this.infoModalMessage} .showLoader=${this.showLoader} .loaderColors=${this.loaderColors} .calciteThemeColors=${this._calciteThemeColors}></arcgis-charts-info-modal>` : null}<div class=${is(o)}><div class=${is(n)} ${gl(this._chartRef)}></div></div><div class=${is(s)}>${e}</div>`;
|
|
19850
19853
|
}
|
|
19851
19854
|
}
|
|
19852
19855
|
$m("arcgis-chart", ak);
|