@arcgis/charts-components 5.2.5 → 5.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{ES4YBG5J.js → 23NEE3DV.js} +1 -1
- package/dist/cdn/{4HXCSWFW.js → 3U5IWWDS.js} +1 -1
- package/dist/cdn/{5PW4GYCQ.js → 3VZN4GZR.js} +1 -1
- package/dist/cdn/{A7TCEMYA.js → 4COWKSPL.js} +1 -1
- package/dist/cdn/{EWG2EF2Z.js → 4KRFLAIG.js} +1 -1
- package/dist/cdn/{PMR2IBGO.js → 4PGSEPRC.js} +1 -1
- package/dist/cdn/{A63ZBLBQ.js → 4QSXSJTV.js} +1 -1
- package/dist/cdn/{UCB2BAAC.js → 4XAMU4XQ.js} +1 -1
- package/dist/cdn/{E4PHGP2D.js → 5G5XUC44.js} +1 -1
- package/dist/cdn/{6NKPJKJZ.js → 5PY2VTSP.js} +1 -1
- package/dist/cdn/{ZAGZ5BI4.js → 5UFCB6NW.js} +1 -1
- package/dist/cdn/{KSTCNHA2.js → 65HF554G.js} +1 -1
- package/dist/cdn/{EHL5S6MD.js → 6J3WRJWE.js} +1 -1
- package/dist/cdn/{SS7GGYHT.js → 6PI2IQF2.js} +1 -1
- package/dist/cdn/{NAFR5NQW.js → 7BJCPLAZ.js} +1 -1
- package/dist/cdn/{TN36JLAZ.js → AM7LLJ5J.js} +1 -1
- package/dist/cdn/{C3JQWRBV.js → AVT3WVHK.js} +1 -1
- package/dist/cdn/{26LD3JDE.js → BDLUZVRJ.js} +1 -1
- package/dist/cdn/{FDSPMHM2.js → BMCGUKTK.js} +1 -1
- package/dist/cdn/{GS3E5GJJ.js → BTTY2OYG.js} +1 -1
- package/dist/cdn/{DUOJT67J.js → BVI4A56M.js} +1 -1
- package/dist/cdn/{6QBVLG2I.js → C45OPHBA.js} +1 -1
- package/dist/cdn/{TNYROJYG.js → CLBM4N7L.js} +1 -1
- package/dist/cdn/{FDZYFCPS.js → CWP5WPEU.js} +1 -1
- package/dist/cdn/{LEYLW7KZ.js → CWSM52Q3.js} +1 -1
- package/dist/cdn/{K7MPLY6I.js → DV7D26QL.js} +1 -1
- package/dist/cdn/{UMCC77N4.js → DVU7LBTG.js} +1 -1
- package/dist/cdn/{FKL4VDVU.js → E4DBNUUD.js} +1 -1
- package/dist/cdn/{JDTF4G67.js → EJ7LRYR6.js} +1 -1
- package/dist/cdn/{XIITX6LZ.js → F2SMPE4A.js} +1 -1
- package/dist/cdn/{NLI6JDBZ.js → FWIBBADY.js} +1 -1
- package/dist/cdn/{KFJ2NIK7.js → H7U7GHG5.js} +1 -1
- package/dist/cdn/{ZPHKQU77.js → HGH7YMDZ.js} +1 -1
- package/dist/cdn/{EKQKUKY6.js → HIDPL5RM.js} +1 -1
- package/dist/cdn/{7AMD4YN6.js → HVFWYDHK.js} +1 -1
- package/dist/cdn/{XT3G7EDM.js → IB37FQGY.js} +1 -1
- package/dist/cdn/{UE7EIFB3.js → IGSGQWM5.js} +1 -1
- package/dist/cdn/{3ZJ6LPKN.js → JBWDVXK4.js} +1 -1
- package/dist/cdn/{44Z3FQLY.js → JGP4WVZ4.js} +1 -1
- package/dist/cdn/{P5QUAH6M.js → JIVB2KYI.js} +1 -1
- package/dist/cdn/{KFOQPBDA.js → JQ7ZS2HQ.js} +1 -1
- package/dist/cdn/{QEDGL5JC.js → JUF4RZHH.js} +1 -1
- package/dist/cdn/{7BNWTGZF.js → KFN52ILS.js} +1 -1
- package/dist/cdn/{H4GN7TDZ.js → KKZAD7CP.js} +1 -1
- package/dist/cdn/{G7WKKRGY.js → LIQQHUHN.js} +1 -1
- package/dist/cdn/{WLXVOKTG.js → LKVQB47F.js} +1 -1
- package/dist/cdn/{XDHCY3VP.js → LL3ZQ2KC.js} +1 -1
- package/dist/cdn/{EA2QTPDF.js → LL6OXBUT.js} +1 -1
- package/dist/cdn/{TPIAUZXB.js → MBXHWXWG.js} +1 -1
- package/dist/cdn/{SF2ORJF7.js → MD2IRKDA.js} +1 -1
- package/dist/cdn/{ZCYSBI3V.js → MP7PKLFI.js} +1 -1
- package/dist/cdn/{TX2VRZUB.js → MPCR6YH7.js} +1 -1
- package/dist/cdn/{GX5XKLFE.js → NOPXXCK2.js} +1 -1
- package/dist/cdn/{7BHQ4WZG.js → NQCQXD2C.js} +1 -1
- package/dist/cdn/{TLUMTYZB.js → NRKTZSF2.js} +1 -1
- package/dist/cdn/{PZKLLW46.js → NSMW2MPU.js} +1 -1
- package/dist/cdn/{DKMC6A3E.js → NUTGEAEF.js} +1 -1
- package/dist/cdn/{XHRMPF3Q.js → O3HNC6AC.js} +1 -1
- package/dist/cdn/{FG6MPOF7.js → O775XGWC.js} +1 -1
- package/dist/cdn/{KMXPTRVD.js → OBQIOZX6.js} +1 -1
- package/dist/cdn/{644ZYZSU.js → OQAHTNDC.js} +1 -1
- package/dist/cdn/{XJMA365C.js → OQWNLHOZ.js} +1 -1
- package/dist/cdn/{7YHWGOAD.js → PA4666VB.js} +1 -1
- package/dist/cdn/{MAGKESKX.js → PCGL3XBR.js} +1 -1
- package/dist/cdn/{7YKEPQPV.js → PJSNNHTY.js} +1 -1
- package/dist/cdn/{46GFREHY.js → PSQIDDF3.js} +1 -1
- package/dist/cdn/{VH6VQ37J.js → PWKGBHZK.js} +1 -1
- package/dist/cdn/{44PYM2TJ.js → QJ6TABQF.js} +1 -1
- package/dist/cdn/{4LTBO3OH.js → QQW6WVF5.js} +1 -1
- package/dist/cdn/{R3GFDLUB.js → QS6MCZVE.js} +1 -1
- package/dist/cdn/{HMP2CHBB.js → R5Y6XX6J.js} +1 -1
- package/dist/cdn/{GK3LWYI2.js → RNUFQWAU.js} +18 -18
- package/dist/cdn/{FFYXLNXZ.js → S2VXWGW2.js} +1 -1
- package/dist/cdn/{VU4U6YMJ.js → S3CCBRVF.js} +1 -1
- package/dist/cdn/{ZKML6BIS.js → SAUF5FGZ.js} +1 -1
- package/dist/cdn/{JZHNQWPY.js → SLB5S6NZ.js} +1 -1
- package/dist/cdn/{SNIBCBGO.js → SQIAHIRK.js} +1 -1
- package/dist/cdn/{HHXU2JWX.js → SXLILK5L.js} +1 -1
- package/dist/cdn/{7U7GWGJK.js → TBPE7YA3.js} +1 -1
- package/dist/cdn/{XXLHI5DE.js → TOMRQFG4.js} +1 -1
- package/dist/cdn/{KT6AEWCK.js → TRQYITC5.js} +1 -1
- package/dist/cdn/{JR7ZVPCH.js → TYZAK2KW.js} +1 -1
- package/dist/cdn/{KUDV2WGH.js → UT4RYXVY.js} +1 -1
- package/dist/cdn/{UEAY5SKM.js → V5J53OZR.js} +1 -1
- package/dist/cdn/{JXRE2WQR.js → WBJTJZ76.js} +1 -1
- package/dist/cdn/{Q7WV4V3K.js → WF2NQ66W.js} +1 -1
- package/dist/cdn/{7BRKP3WF.js → WKHQJPBS.js} +1 -1
- package/dist/cdn/{STMML4MI.js → WTAKOJDZ.js} +1 -1
- package/dist/cdn/{2SRLYXXC.js → WTFEFMAZ.js} +1 -1
- package/dist/cdn/{STGQXZRH.js → WUWR6COI.js} +1 -1
- package/dist/cdn/{DV4E5BS7.js → X6XYD72B.js} +1 -1
- package/dist/cdn/{MA2C2A3Z.js → XJYYYWZ4.js} +1 -1
- package/dist/cdn/{DZBOEW4R.js → XMO3LRQ3.js} +1 -1
- package/dist/cdn/{VZPZKB24.js → Y53HDTVA.js} +1 -1
- package/dist/cdn/{NNMZZZUF.js → YGI2EJ5A.js} +1 -1
- package/dist/cdn/{6ABL27JK.js → ZCQSUCR6.js} +1 -1
- package/dist/cdn/{V4KN7OD4.js → ZY5USHZ7.js} +1 -1
- package/dist/cdn/{MNOE2KFI.js → ZYQIUNQT.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/components/arcgis-chart/customElement.js +385 -381
- 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
|
@@ -6,27 +6,27 @@ import Qm from "@arcgis/core/layers/Layer.js";
|
|
|
6
6
|
import Jm from "@arcgis/core/portal/PortalItem.js";
|
|
7
7
|
import { LitElement as eg, createEvent as ft, safeClassMap as ds } from "@arcgis/lumina";
|
|
8
8
|
import { unsafeGetElementDirection as or, getClosestElement as tg, observeAncestorsMutation as Tl, unsafeGetCalciteModeName as kl } from "@arcgis/toolkit/dom";
|
|
9
|
-
import { getElementLocale as
|
|
9
|
+
import { getElementLocale as Ea } from "@arcgis/toolkit/intl/dom";
|
|
10
10
|
import { log as ig } from "@arcgis/toolkit/log";
|
|
11
11
|
import { Task as ii, shallowArrayEquals as ag, TaskStatus as Il } from "@lit/task";
|
|
12
12
|
import { snapdom as og } from "@zumer/snapdom";
|
|
13
13
|
import { debounce as yt, cloneDeep as Fe, isEqual as gt, isEmpty as Ca } from "es-toolkit/compat";
|
|
14
14
|
import ng from "jszip";
|
|
15
|
-
import { html as
|
|
15
|
+
import { html as ao, css as sg } from "lit";
|
|
16
16
|
import { createRef as rg, ref as Rl } from "lit/directives/ref.js";
|
|
17
17
|
import { H as Nt } from "../../chunks/resources.js";
|
|
18
|
-
import { XYChart as me, PieChart as Ne, AxisFill as lg, AxisFillCircular as cg, GaugeChart as kt, DateAxis as Ve, ValueAxis as ke, CategoryAxis as ct, CategoryAxisDataItem as
|
|
19
|
-
import { Color as Uo, percent as ht, LinePattern as ad, RectPattern as od, color as Sn, DateFormatter as nd, NumberFormatter as sd, Group as gg, MouseCursorStyle as qt, Label as jo, DropShadowFilter as hg, Sprite as dr, utils as rd, Tooltip as ld, Container as pg, RoundedRectangle as bg, Percent as qo, Slice as yg, options as
|
|
18
|
+
import { XYChart as me, PieChart as Ne, AxisFill as lg, AxisFillCircular as cg, GaugeChart as kt, DateAxis as Ve, ValueAxis as ke, CategoryAxis as ct, CategoryAxisDataItem as Ia, DateAxisDataItem as bn, LineSeries as ye, ColumnSeries as dt, PieSeries as Et, XYCursor as ed, XYSeries as Si, SerialChart as nr, Cursor as dg, AxisLabel as sr, ColumnSeriesDataItem as rr, LineSeriesDataItem as Ha, CandlestickSeries as He, StepLineSeries as Ft, LegendDataItem as oa, Series as td, CandlestickSeriesDataItem as ug, PieSeriesDataItem as Ci, Legend as fg, AxisRendererX as At, AxisRendererCircular as yn, AxisLabelCircular as lr, ValueAxisDataItem as cr, AxisRendererY as za, ClockHand as mg, Chart as id } from "@amcharts/amcharts4/charts.js";
|
|
19
|
+
import { Color as Uo, percent as ht, LinePattern as ad, RectPattern as od, color as Sn, DateFormatter as nd, NumberFormatter as sd, Group as gg, MouseCursorStyle as qt, Label as jo, DropShadowFilter as hg, Sprite as dr, utils as rd, Tooltip as ld, Container as pg, RoundedRectangle as bg, Percent as qo, Slice as yg, options as oo, useTheme as Sg, unuseTheme as Cg, create as ur } from "@amcharts/amcharts4/core.js";
|
|
20
20
|
import wl from "@amcharts/amcharts4/themes/animated.js";
|
|
21
21
|
import { W as ve, a as y, b as us, c as te, S as cd, d as Ut, e as je, f as z, g as Cn, h as dd, i as Dl, j as xa, k as Ol, l as fs, m as Ml, n as va, o as xg } from "../../chunks/chart-object-literals.js";
|
|
22
|
-
import { C as H, f as ud, e as yo, i as so, a as Zo, b as fd, m as md, c as xn, d as gd, g as jt, h as hd, j as pd, k as fr, s as mr, l as _e, n as bd, o as yd, p as Ko, q as vg, r as Z, t as it, u as na, v as Lt, w as _i, x as $e, y as V, z as Ht, A as gr, B as
|
|
22
|
+
import { C as H, f as ud, e as yo, i as so, a as Zo, b as fd, m as md, c as xn, d as gd, g as jt, h as hd, j as pd, k as fr, s as mr, l as _e, n as bd, o as yd, p as Ko, q as vg, r as Z, t as it, u as na, v as Lt, w as _i, x as $e, y as V, z as Ht, A as gr, B as ni, D as ms, E as La, F as oi, G as bi, H as bt, I as Oe, J as So, K as _a, L as Xe, M as xi, N as hr, O as Te, P as si, Q as Ra, R as vn, S as ri, T as Lg, U as pr, V as gs, W as J, X as Ct, Y as br, Z as Jt, _ as Ti, $ as ie, a0 as xe, a1 as Fg, a2 as Je, a3 as Ln, a4 as st, a5 as Vi, a6 as fi, a7 as ki, a8 as pe, a9 as Wi, aa as yr, ab as Ga, ac as $t, ad as Sd, ae as Sr, af as Cr, ag as Cd, ah as xr, ai as vr, aj as Gt, ak as Co, al as ro, am as Lr, an as Xa, ao as xd, ap as vd, aq as vi, ar as Ld, as as Fd, at as Fn, au as Fr, av as An, aw as Ar, ax as Tr, ay as Ad, az as Td, aA as kd, aB as kr, aC as Id, aD as $l, aE as Tn, aF as Rd, aG as Ir, aH as Rr, aI as Qo, aJ as li, aK as Ag, aL as wd, aM as Dd, aN as Fa, aO as kn, aP as Od, aQ as Md, aR as Tg, aS as kg, aT as Jo, aU as Ig, aV as Rg, aW as $d, aX as Bd, aY as wg, aZ as Dg, a_ as Og, a$ as In, b0 as Mg, b1 as L, b2 as $g, b3 as Nd, b4 as Bg, b5 as Ng, b6 as Pg, b7 as Rt, b8 as zo, b9 as Ie, ba as Rn, bb as Ki, bc as lo, bd as Pd, be as Vd, bf as Wd, bg as Vg, bh as Wg, bi as Eg, bj as Hg, bk as zg, bl as hs, bm as _g, bn as Gg, bo as Ed, bp as Xg, bq as Yg, br as Ug, bs as jg, bt as qg, bu as Zg, bv as Kg, bw as Qg, bx as Jg, by as _o, bz as Hd, bA as Ts, bB as Bl, bC as eh, bD as th, bE as ih, bF as ah, bG as $o, bH as Nl, bI as ai, bJ as oh, bK as nh, bL as sh, bM as rh, bN as lh, bO as Pl, bP as ch, bQ as dh, bR as uh, bS as fh, bT as mh, bU as gh, bV as Vl, bW as hh, bX as ph, bY as bh, bZ as yh, b_ as Sh, b$ as Ch, c0 as xh, c1 as vh, c2 as Lh } from "../../chunks/index.js";
|
|
23
23
|
import "@amcharts/amcharts4/.internal/charts/axes/Axis.js";
|
|
24
24
|
import { R as Ue, a as tt, b as K, c as ps, d as wn, e as en } from "../../chunks/rest-js-object-literals.js";
|
|
25
|
-
import { g as ea, r as wr, f as xo, a as Wl, p as Vt, b as
|
|
25
|
+
import { g as ea, r as wr, f as xo, a as Wl, p as Vt, b as wa, c as ks, d as Fh, e as Ah, h as Th, q as yi, i as Re, j as Dn, k as Dr, l as Or, m as Mr, n as zd, o as Da, s as _d, t as On, u as Gd, v as $r, w as Xd, x as kh, y as Yd, z as vo, A as Ih, B as Rh, C as wh, D as Dh, E as Oa, F as El, G as Oh, H as Mh, L as $h, I as Hl } from "../../chunks/index2.js";
|
|
26
26
|
import { g as W, a as Bh } from "../../chunks/series-types.js";
|
|
27
27
|
import { isLight as Nh } from "@amcharts/amcharts4/.internal/core/utils/Colors.js";
|
|
28
28
|
import { Scrollbar as zl } from "@amcharts/amcharts4/.internal/core/elements/Scrollbar.js";
|
|
29
|
-
import { color as co, Series as
|
|
29
|
+
import { color as co, Series as Ma, SerialChart as uo, percent as at, LinePattern as Ud, RectanglePattern as Ph, p50 as de, p0 as Me, p100 as be, Graphics as wt, DateFormatter as Vh, NumberFormatter as jd, Tooltip as Gi, Template as sa, Bullet as Ii, RoundedRectangle as Is, Slice as _l, time as Wh, Label as nt, Rectangle as Lo, DataItem as Br, Timezone as Eh, Container as Bi, Color as Hh, HeatLegend as $a, LinearGradient as zh, Legend as Rs, Scrollbar as ws, addLicense as _h, registry as Gh, Root as Xh } from "@amcharts/amcharts5";
|
|
30
30
|
import { PieSeries as et, PieChart as Qt } from "@amcharts/amcharts5/percent.js";
|
|
31
31
|
import { RadarCursor as Nr, AxisRendererCircular as ei, ClockHand as Ds, RadarChart as Ei, AxisRendererRadial as Yh, RadarLineSeries as Pr } from "@amcharts/amcharts5/radar.js";
|
|
32
32
|
import { XYSeries as Vr, StepLineSeries as ra, LineSeries as se, ColumnSeries as Se, CategoryAxis as Ee, XYCursor as qd, XYChart as le, CandlestickSeries as Ri, ValueAxis as he, DateAxis as De, AxisRendererX as ut, AxisLabel as Gl, AxisRendererY as Li, AxisBullet as Uh } from "@amcharts/amcharts5/xy.js";
|
|
@@ -45,7 +45,7 @@ import { s as Sp, a as Cp } from "../../chunks/store.js";
|
|
|
45
45
|
import { f as ec, i as Zi, v as tc, a as xp } from "../../chunks/index3.js";
|
|
46
46
|
import { u as vp, o as Lp } from "../../chunks/action-bar-utils.js";
|
|
47
47
|
import { d as Fp } from "../../chunks/chart-ui-utils.js";
|
|
48
|
-
import { getCssColor as
|
|
48
|
+
import { getCssColor as eo } from "@arcgis/toolkit/dom/color";
|
|
49
49
|
import { d as ic } from "../../chunks/default.js";
|
|
50
50
|
import { L as Zd, a as Kd, b as Qd, V as Jd, S as Os, E as No, A as ac } from "../../chunks/index4.js";
|
|
51
51
|
import { g as Ap, a as Tp } from "../../chunks/class-breaks.js";
|
|
@@ -478,7 +478,7 @@ function on(t, e, i) {
|
|
|
478
478
|
function nu(t, e, i) {
|
|
479
479
|
i !== void 0 && t.tooltip !== void 0 && (t.tooltip.getFillFromObject = !1, t.tooltip.background.fill = e), t.fill = i ?? e, t.fillOpacity = Sn(t.fill.toString()).alpha === 0 ? 0 : 1;
|
|
480
480
|
}
|
|
481
|
-
function
|
|
481
|
+
function Aa(t, e) {
|
|
482
482
|
t.stroke = e.stroke, t.strokeOpacity = e.stroke.alpha === 0 ? 0 : 1, t.strokeDasharray = e.strokeDasharray, t.strokeLinecap = e.strokeLinecap, t.strokeWidth = e.strokeWidth;
|
|
483
483
|
}
|
|
484
484
|
function nn(t) {
|
|
@@ -488,7 +488,7 @@ function nn(t) {
|
|
|
488
488
|
symbol: i,
|
|
489
489
|
defaultToColorFromRamp: o,
|
|
490
490
|
colorRampIndex: n
|
|
491
|
-
}), s !== void 0 && (e.path = s.path, e.rotation = s.angle, e.dx = s.xOffset, e.dy = s.yOffset, nu(e, s.fill),
|
|
491
|
+
}), s !== void 0 && (e.path = s.path, e.rotation = s.angle, e.dx = s.xOffset, e.dy = s.yOffset, nu(e, s.fill), Aa(e, s.outline)), ce(e, a), e.disabled = a === !1) : e.disabled = !0, s;
|
|
492
492
|
}
|
|
493
493
|
function Ji(t) {
|
|
494
494
|
const { element: e, lineSymbol: i, visible: a, defaultToColorFromRamp: o, colorRampIndex: n } = t;
|
|
@@ -497,7 +497,7 @@ function Ji(t) {
|
|
|
497
497
|
symbol: i,
|
|
498
498
|
defaultToColorFromRamp: o,
|
|
499
499
|
colorRampIndex: n
|
|
500
|
-
}), s !== void 0 &&
|
|
500
|
+
}), s !== void 0 && Aa(e, s), ce(e, a)) : ce(e, !1), s;
|
|
501
501
|
}
|
|
502
502
|
function go(t) {
|
|
503
503
|
const { element: e, fillSymbol: i, visible: a, defaultToColorFromRamp: o, colorRampIndex: n, isChartFillSymbol: s } = t;
|
|
@@ -513,7 +513,7 @@ function go(t) {
|
|
|
513
513
|
colorRampIndex: n,
|
|
514
514
|
isChartFillSymbol: s,
|
|
515
515
|
chartBackgroundColor: l
|
|
516
|
-
}), r !== void 0 && (nu(e, r.fill, r.pattern),
|
|
516
|
+
}), r !== void 0 && (nu(e, r.fill, r.pattern), Aa(e, r.outline)), e.disabled = a === !1;
|
|
517
517
|
} else
|
|
518
518
|
e.disabled = !0;
|
|
519
519
|
return r;
|
|
@@ -800,13 +800,13 @@ function ab(t) {
|
|
|
800
800
|
{
|
|
801
801
|
...n,
|
|
802
802
|
start: t.minimum ?? Number.NaN,
|
|
803
|
-
name:
|
|
803
|
+
name: wa.gaugeFirstLabelId,
|
|
804
804
|
label: { ...e.content, text: `${t.minimum}` }
|
|
805
805
|
},
|
|
806
806
|
{
|
|
807
807
|
...n,
|
|
808
808
|
start: t.maximum ?? Number.NaN,
|
|
809
|
-
name:
|
|
809
|
+
name: wa.gaugeLastLabelId,
|
|
810
810
|
label: { ...e.content, text: `${t.maximum}` }
|
|
811
811
|
}
|
|
812
812
|
);
|
|
@@ -910,7 +910,7 @@ function Bs(t, e) {
|
|
|
910
910
|
function db(t) {
|
|
911
911
|
const { dataContext: e, isNonAggregatedChart: i, x: a, dataIndex: o, objectIdField: n, isPieFromFields: s } = t;
|
|
912
912
|
let r = "";
|
|
913
|
-
return s === !0 ? r = e[H.originalXValue] ?? e[
|
|
913
|
+
return s === !0 ? r = e[H.originalXValue] ?? e[ni] : i ? r = lb({
|
|
914
914
|
dataContext: e,
|
|
915
915
|
dataIndex: o,
|
|
916
916
|
objectIdField: n
|
|
@@ -932,7 +932,7 @@ function rc(t) {
|
|
|
932
932
|
utilsStrings: c
|
|
933
933
|
} = t, { sliceGrouping: u } = o;
|
|
934
934
|
let { x: d } = o;
|
|
935
|
-
s && (d =
|
|
935
|
+
s && (d = ni);
|
|
936
936
|
const f = e[d] ?? e[H.originalXValue], g = e[H.originalXValue] ?? f;
|
|
937
937
|
let h = f;
|
|
938
938
|
if (r) {
|
|
@@ -988,7 +988,7 @@ function ub(t) {
|
|
|
988
988
|
const g = c / n * 100, h = Z(i) === V.PieFromFields, b = {
|
|
989
989
|
...l,
|
|
990
990
|
[Vt.defaultGroupOfSlicesId]: !0,
|
|
991
|
-
[h ?
|
|
991
|
+
[h ? ni : o.x]: o.sliceGrouping?.label ?? a?.pieChart.defaultSliceGroupingLabel,
|
|
992
992
|
[h ? La : o.y]: c,
|
|
993
993
|
[H.pieChart.technicalFieldSlicePercent]: g,
|
|
994
994
|
[H.pieChart.technicalFieldGroupedSlices]: r
|
|
@@ -1043,7 +1043,7 @@ function mb(t) {
|
|
|
1043
1043
|
i === void 0 ? e[H.originalXValue] !== void 0 && (e[a] = e[H.originalXValue]) : e[a] !== i && (e[H.originalXValue] === void 0 && (e[H.originalXValue] = e[a]), e[a] = i);
|
|
1044
1044
|
}
|
|
1045
1045
|
function gb(t) {
|
|
1046
|
-
const { data: e, newChartConfig: i, pieSlicesSymbols: a, fieldList: o } = t, n = i.series[0], s = Z(i.series) === V.PieFromFields ?
|
|
1046
|
+
const { data: e, newChartConfig: i, pieSlicesSymbols: a, fieldList: o } = t, n = i.series[0], s = Z(i.series) === V.PieFromFields ? ni : n.x;
|
|
1047
1047
|
e.forEach((r) => {
|
|
1048
1048
|
const l = wi(r), c = r[H.pieChart.technicalFieldSliceId], u = l ? n.sliceGrouping?.label : Bs(a?.slices, c)?.label;
|
|
1049
1049
|
mb({ dataContext: r, x: s, newLabel: u });
|
|
@@ -1053,7 +1053,7 @@ function gb(t) {
|
|
|
1053
1053
|
}
|
|
1054
1054
|
function Mn(t, e) {
|
|
1055
1055
|
const i = e.errors[t];
|
|
1056
|
-
throw new
|
|
1056
|
+
throw new oi(e.modalHeaders.error, i ?? e.errors.simpleError);
|
|
1057
1057
|
}
|
|
1058
1058
|
function hb(t) {
|
|
1059
1059
|
return Oe(t?.[1]?.valueFormat) && (t?.[2]?.valueFormat === void 0 || Oe(t[2].valueFormat));
|
|
@@ -1124,7 +1124,7 @@ const ue = {
|
|
|
1124
1124
|
Median: "median",
|
|
1125
1125
|
Outliers: "outliers"
|
|
1126
1126
|
};
|
|
1127
|
-
function
|
|
1127
|
+
function ci(t) {
|
|
1128
1128
|
const { type: e, iLocale: i, formatLocale: a = So(document.documentElement) } = t;
|
|
1129
1129
|
let o;
|
|
1130
1130
|
switch (e) {
|
|
@@ -1140,7 +1140,7 @@ function li(t) {
|
|
|
1140
1140
|
return o;
|
|
1141
1141
|
}
|
|
1142
1142
|
function Ns(t) {
|
|
1143
|
-
const { axis: e, valueFormat: i, chartType: a } = t, o =
|
|
1143
|
+
const { axis: e, valueFormat: i, chartType: a } = t, o = _a({
|
|
1144
1144
|
isXAxis: !0,
|
|
1145
1145
|
chartType: a,
|
|
1146
1146
|
valueFormat: i
|
|
@@ -1163,12 +1163,12 @@ function du(t) {
|
|
|
1163
1163
|
const { axis: e, defaultOutput: i, dataItem: a } = t;
|
|
1164
1164
|
let o = i;
|
|
1165
1165
|
const n = ot(e.uid, "categoryFormatter"), s = ot(e.uid, "numberFormatter");
|
|
1166
|
-
if ((s !== void 0 || n !== void 0) && a instanceof
|
|
1166
|
+
if ((s !== void 0 || n !== void 0) && a instanceof Ia && a.dataContext) {
|
|
1167
1167
|
const r = O(e.chart.uid, "config"), l = Z(r?.series), c = O(e.chart.uid, "rendererFieldNames");
|
|
1168
|
-
let u =
|
|
1168
|
+
let u = si({
|
|
1169
1169
|
value: vn(l, r?.series?.[0]),
|
|
1170
1170
|
dataContext: a.dataContext,
|
|
1171
|
-
useRendererLabel:
|
|
1171
|
+
useRendererLabel: Ra(r, c),
|
|
1172
1172
|
config: r
|
|
1173
1173
|
});
|
|
1174
1174
|
if (typeof u == "number" && s !== void 0)
|
|
@@ -1185,7 +1185,7 @@ function du(t) {
|
|
|
1185
1185
|
const h = O(e.chart.uid, "fieldList");
|
|
1186
1186
|
u = $e(h, u);
|
|
1187
1187
|
}
|
|
1188
|
-
let g =
|
|
1188
|
+
let g = ri(a.dataContext);
|
|
1189
1189
|
g === void 0 && (g = r !== void 0 && Lg(r) ? d : u), o = n(u, g);
|
|
1190
1190
|
}
|
|
1191
1191
|
}
|
|
@@ -1281,7 +1281,7 @@ function Rb(t) {
|
|
|
1281
1281
|
e.renderer.labels.template.html = A.htmlEmptyContent, e.renderer.labels.template.adapter.enableKey("htmlOutput");
|
|
1282
1282
|
}
|
|
1283
1283
|
function wb(t, e, i, a) {
|
|
1284
|
-
const o =
|
|
1284
|
+
const o = ci({
|
|
1285
1285
|
type: y.NumberAxisFormat,
|
|
1286
1286
|
iLocale: e,
|
|
1287
1287
|
formatLocale: i
|
|
@@ -1337,7 +1337,7 @@ function Mb(t) {
|
|
|
1337
1337
|
setTimeZone: c,
|
|
1338
1338
|
outTimeZone: u,
|
|
1339
1339
|
errorStrings: d
|
|
1340
|
-
} = t, f =
|
|
1340
|
+
} = t, f = _a({
|
|
1341
1341
|
isXAxis: i,
|
|
1342
1342
|
chartType: s,
|
|
1343
1343
|
valueFormat: a
|
|
@@ -1655,9 +1655,9 @@ function _r(t) {
|
|
|
1655
1655
|
n = a[e]?.toString() === i[e]?.toString();
|
|
1656
1656
|
else {
|
|
1657
1657
|
let s = i[H.originalXValue];
|
|
1658
|
-
s === void 0 && (s = i[o]), s === void 0 && (s = i[
|
|
1658
|
+
s === void 0 && (s = i[o]), s === void 0 && (s = i[ni]);
|
|
1659
1659
|
let r = a[H.originalXValue];
|
|
1660
|
-
r === void 0 && (r = a[o]), r === void 0 && (r = a[
|
|
1660
|
+
r === void 0 && (r = a[o]), r === void 0 && (r = a[ni]), n = s !== void 0 && r !== void 0 && s === r;
|
|
1661
1661
|
}
|
|
1662
1662
|
return n;
|
|
1663
1663
|
}
|
|
@@ -1809,7 +1809,7 @@ function Ai(t) {
|
|
|
1809
1809
|
r !== y.PieSeries && (e || l !== V.BarAndLineNoAggregation && l !== V.BarAndLineSplitByNoAggregation) && o.forEach((f) => {
|
|
1810
1810
|
f !== a && (delete u[f], delete u[`${yi.uniqueIds}_${f}`], delete u[`${H.rendererSymbolField}_${f}`]);
|
|
1811
1811
|
});
|
|
1812
|
-
const d =
|
|
1812
|
+
const d = si({
|
|
1813
1813
|
value: i[n],
|
|
1814
1814
|
dataContext: i,
|
|
1815
1815
|
keepNullValues: !0
|
|
@@ -1844,7 +1844,7 @@ function Su(t) {
|
|
|
1844
1844
|
function ho(t) {
|
|
1845
1845
|
const { value: e, valueFormat: i, iLocale: a, formatLocale: o } = t;
|
|
1846
1846
|
let n = e?.toString();
|
|
1847
|
-
const s =
|
|
1847
|
+
const s = ci({
|
|
1848
1848
|
type: i.type,
|
|
1849
1849
|
iLocale: a,
|
|
1850
1850
|
formatLocale: o
|
|
@@ -1881,7 +1881,7 @@ function Vo(t) {
|
|
|
1881
1881
|
function Nn(t, e) {
|
|
1882
1882
|
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 = iu(e.verticalCenter)), e.horizontalCenter !== void 0 && (t.horizontalCenter = Wr(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));
|
|
1883
1883
|
}
|
|
1884
|
-
function
|
|
1884
|
+
function di(t, e) {
|
|
1885
1885
|
const i = e?.createChild(jo) ?? new jo();
|
|
1886
1886
|
return Nn(i, t), i;
|
|
1887
1887
|
}
|
|
@@ -1960,7 +1960,7 @@ function Es(t, e) {
|
|
|
1960
1960
|
(i, a) => {
|
|
1961
1961
|
let o = i;
|
|
1962
1962
|
const { dataItem: n } = a;
|
|
1963
|
-
if (fo(t) && (e instanceof dt && n instanceof rr || e instanceof ye && n instanceof
|
|
1963
|
+
if (fo(t) && (e instanceof dt && n instanceof rr || e instanceof ye && n instanceof Ha)) {
|
|
1964
1964
|
const s = Ke(
|
|
1965
1965
|
e.uid,
|
|
1966
1966
|
e instanceof dt ? "barSeriesDataLabelFormatter" : "lineSeriesDataLabelFormatter"
|
|
@@ -2015,7 +2015,7 @@ function Fu(t) {
|
|
|
2015
2015
|
let d = u;
|
|
2016
2016
|
const f = s?.type === y.NumberAxisFormat ? s.intlOptions : void 0, g = n?.content ?? { type: K.TS };
|
|
2017
2017
|
if (u === void 0 && c !== void 0 && f !== void 0) {
|
|
2018
|
-
const b = O(e.chart.uid, "formatLocale"), p =
|
|
2018
|
+
const b = O(e.chart.uid, "formatLocale"), p = ci({
|
|
2019
2019
|
type: y.NumberAxisFormat,
|
|
2020
2020
|
iLocale: e.chart.language.locale,
|
|
2021
2021
|
formatLocale: b
|
|
@@ -2058,7 +2058,7 @@ function Au(t, e) {
|
|
|
2058
2058
|
let i;
|
|
2059
2059
|
return t instanceof Ve ? i = e === !0 ? "dateY" : "dateX" : t instanceof ct ? i = e === !0 ? "categoryY" : "categoryX" : i = e === !0 ? "valueY" : "valueX", i;
|
|
2060
2060
|
}
|
|
2061
|
-
function
|
|
2061
|
+
function Ya(t, e) {
|
|
2062
2062
|
t.name = e;
|
|
2063
2063
|
}
|
|
2064
2064
|
function Gr(t) {
|
|
@@ -2122,7 +2122,7 @@ function Ss(t) {
|
|
|
2122
2122
|
function ey(t, e) {
|
|
2123
2123
|
let i = 0;
|
|
2124
2124
|
if (t !== void 0 && e !== void 0) {
|
|
2125
|
-
const a =
|
|
2125
|
+
const a = fi(e.series), o = Z(e.series), n = ki(e);
|
|
2126
2126
|
t.data.forEach((s) => {
|
|
2127
2127
|
switch (o) {
|
|
2128
2128
|
case V.BoxPlotC1MonoField:
|
|
@@ -2574,7 +2574,7 @@ function dy(t) {
|
|
|
2574
2574
|
e !== void 0 && (e.slices.template.clickable = !0, e.slices.template.togglable = !0, e.slices.template.events.enableType(B.Hit), e.slices.template.events.enableType(B.DoubleHit), e.labels.template.clickable = !0, e.labels.template.togglable = !0, e.labels.template.events.enableType(B.Hit), e.labels.template.events.enableType(B.DoubleHit));
|
|
2575
2575
|
} else t instanceof me && (t.xAxes.each((e) => ln(e, !1)), t.yAxes.each((e) => ln(e, !1)), t.events.enableType(B.Up));
|
|
2576
2576
|
}
|
|
2577
|
-
function
|
|
2577
|
+
function Ba(t) {
|
|
2578
2578
|
const { element: e, stylingInfo: i, stateKey: a = "default" } = t;
|
|
2579
2579
|
if (e !== void 0 && i !== void 0) {
|
|
2580
2580
|
const o = e.states.getKey(a)?.properties ?? e.defaultState.properties;
|
|
@@ -2584,7 +2584,7 @@ function $a(t) {
|
|
|
2584
2584
|
}
|
|
2585
2585
|
}
|
|
2586
2586
|
}
|
|
2587
|
-
function
|
|
2587
|
+
function Na(t, e) {
|
|
2588
2588
|
return e != null && e !== "" ? e : t;
|
|
2589
2589
|
}
|
|
2590
2590
|
function wu(t, e) {
|
|
@@ -2644,7 +2644,7 @@ function Du(t) {
|
|
|
2644
2644
|
return f === V.BarAndLineNoAggregation ? r = l ?? $e(i, u) : f === V.BarAndLineSplitByNoAggregation ? r = $e(i, u) : (r = p === Ut.Count && h === g ? s.statistics.count : Qi(s.statistics.aggregation, {
|
|
2645
2645
|
statistics: S,
|
|
2646
2646
|
fieldName: b ?? l
|
|
2647
|
-
}), f === V.BarAndLineMonoField && !n && (r =
|
|
2647
|
+
}), f === V.BarAndLineMonoField && !n && (r = Na(r, d[1].title?.content?.text))), r;
|
|
2648
2648
|
}
|
|
2649
2649
|
function Ou(t) {
|
|
2650
2650
|
const { xAxisValueFormat: e, isTimeOnlyField: i, timeIntervalInfo: a, chartConfig: o, options: n, queryObject: s } = t;
|
|
@@ -2653,7 +2653,7 @@ function Ou(t) {
|
|
|
2653
2653
|
hour: "numeric",
|
|
2654
2654
|
minute: "numeric"
|
|
2655
2655
|
}, i || (r = { ...r, month: "numeric", day: "numeric", year: "numeric" }, a?.unit === je.Second && (r = { ...r, second: "numeric" }))), yr({ chartConfig: o, queryObject: s, options: n })) {
|
|
2656
|
-
const l = o &&
|
|
2656
|
+
const l = o && Ga(o.series[0]) ? o.series[0].temporalBinning?.outTimeZone : void 0;
|
|
2657
2657
|
r.timeZone = l ?? e.intlOptions.timeZone;
|
|
2658
2658
|
}
|
|
2659
2659
|
return r;
|
|
@@ -2711,16 +2711,16 @@ function $u(t, e) {
|
|
|
2711
2711
|
);
|
|
2712
2712
|
if (l !== void 0 && e.isReady()) {
|
|
2713
2713
|
const { dataItem: c } = a;
|
|
2714
|
-
if ((c instanceof rr || c instanceof
|
|
2714
|
+
if ((c instanceof rr || c instanceof Ha) && r !== void 0) {
|
|
2715
2715
|
const u = Dt({ config: s }), d = u ? c.valueX : c.valueY, f = (u ? c.values.valueX.totalPercent : c.values.valueY.totalPercent) / 100, g = c.dataContext ?? {};
|
|
2716
2716
|
if (g !== void 0) {
|
|
2717
|
-
const h = O(n.uid, "rendererFieldNames"), b =
|
|
2717
|
+
const h = O(n.uid, "rendererFieldNames"), b = si({
|
|
2718
2718
|
value: vn(Z([r]), r),
|
|
2719
2719
|
dataContext: g,
|
|
2720
|
-
useRendererLabel:
|
|
2720
|
+
useRendererLabel: Ra(s, h),
|
|
2721
2721
|
config: s
|
|
2722
2722
|
});
|
|
2723
|
-
let p =
|
|
2723
|
+
let p = ri(g);
|
|
2724
2724
|
p === void 0 && (p = b);
|
|
2725
2725
|
const S = g[A.dateBinningRange];
|
|
2726
2726
|
o = l({
|
|
@@ -2782,7 +2782,7 @@ function gy(t) {
|
|
|
2782
2782
|
queryObject: u
|
|
2783
2783
|
}), f = new Date(i[0]), g = new Date(i[1]);
|
|
2784
2784
|
if (!Number.isNaN(f.valueOf())) {
|
|
2785
|
-
const h = O(e.chart.uid, "formatLocale"), b =
|
|
2785
|
+
const h = O(e.chart.uid, "formatLocale"), b = ci({
|
|
2786
2786
|
type: y.DateAxisFormat,
|
|
2787
2787
|
iLocale: e.chart.language.locale,
|
|
2788
2788
|
formatLocale: h
|
|
@@ -2843,7 +2843,7 @@ function hy(t) {
|
|
|
2843
2843
|
if (h === !1 || b === !1)
|
|
2844
2844
|
d = () => "";
|
|
2845
2845
|
else {
|
|
2846
|
-
const p = g.axes, S = p[0].valueFormat, C = p[1].valueFormat, x = Z(g.series), v = i?.find(($) => $.name === s.x)?.type === wn.TimeOnly, F = st(g) === te.Stacked100, T = na(it(a)).idField, k = $e(i, s.x), I =
|
|
2846
|
+
const p = g.axes, S = p[0].valueFormat, C = p[1].valueFormat, x = Z(g.series), v = i?.find(($) => $.name === s.x)?.type === wn.TimeOnly, F = st(g) === te.Stacked100, T = na(it(a)).idField, k = $e(i, s.x), I = Na(k, p[0].title?.content.text), D = Du({
|
|
2847
2847
|
config: g,
|
|
2848
2848
|
fieldList: i,
|
|
2849
2849
|
objectIdField: T,
|
|
@@ -2951,13 +2951,13 @@ function py(t) {
|
|
|
2951
2951
|
if (c !== void 0) {
|
|
2952
2952
|
const u = l?.dataContext ?? {};
|
|
2953
2953
|
if (u !== void 0) {
|
|
2954
|
-
const d =
|
|
2954
|
+
const d = si({
|
|
2955
2955
|
value: u[c.x],
|
|
2956
2956
|
dataContext: u,
|
|
2957
2957
|
useRendererLabel: _i(a),
|
|
2958
2958
|
specificField: H.xAxisField
|
|
2959
2959
|
});
|
|
2960
|
-
let f =
|
|
2960
|
+
let f = ri(u);
|
|
2961
2961
|
f === void 0 && (f = d), r = s({
|
|
2962
2962
|
seriesName: n.name,
|
|
2963
2963
|
xValue: d,
|
|
@@ -2976,18 +2976,18 @@ function by(t) {
|
|
|
2976
2976
|
const r = o.dataItems.values.find(
|
|
2977
2977
|
(l) => (l.categories.categoryX ?? l.categories.categoryY) === (e.dataItem?.categories.categoryX ?? e.dataItem?.categories.categoryY)
|
|
2978
2978
|
);
|
|
2979
|
-
if (r instanceof
|
|
2979
|
+
if (r instanceof Ha) {
|
|
2980
2980
|
const l = a.series.find((c) => c.id === o.id);
|
|
2981
2981
|
if (l !== void 0) {
|
|
2982
2982
|
const c = r.dataContext ?? {};
|
|
2983
2983
|
if (c !== void 0) {
|
|
2984
|
-
const u =
|
|
2984
|
+
const u = si({
|
|
2985
2985
|
value: c[l.x],
|
|
2986
2986
|
dataContext: c,
|
|
2987
2987
|
useRendererLabel: _i(a),
|
|
2988
2988
|
specificField: H.xAxisField
|
|
2989
2989
|
});
|
|
2990
|
-
let d =
|
|
2990
|
+
let d = ri(c);
|
|
2991
2991
|
d === void 0 && (d = u), s = n({
|
|
2992
2992
|
seriesName: o.name,
|
|
2993
2993
|
xValue: u,
|
|
@@ -3012,13 +3012,13 @@ function yy(t) {
|
|
|
3012
3012
|
if (l !== void 0) {
|
|
3013
3013
|
const c = r.dataContext ?? {};
|
|
3014
3014
|
if (c !== void 0) {
|
|
3015
|
-
const u =
|
|
3015
|
+
const u = si({
|
|
3016
3016
|
value: c[l.x],
|
|
3017
3017
|
dataContext: c,
|
|
3018
3018
|
useRendererLabel: _i(a),
|
|
3019
3019
|
specificField: H.xAxisField
|
|
3020
3020
|
});
|
|
3021
|
-
let d =
|
|
3021
|
+
let d = ri(c);
|
|
3022
3022
|
d === void 0 && (d = u), s = n({
|
|
3023
3023
|
seriesName: o.name,
|
|
3024
3024
|
xValue: u,
|
|
@@ -3130,7 +3130,7 @@ function Ly(t) {
|
|
|
3130
3130
|
escape: !1
|
|
3131
3131
|
}), S = $e(i, a.x);
|
|
3132
3132
|
let C;
|
|
3133
|
-
a.x !== Or && (C =
|
|
3133
|
+
a.x !== Or && (C = Na(S, u?.[0].title?.content.text));
|
|
3134
3134
|
const x = $t(l.rtl);
|
|
3135
3135
|
r = (v) => {
|
|
3136
3136
|
const { dataContext: F, xValue: T } = v, k = Bu({
|
|
@@ -3225,7 +3225,7 @@ function Fy(t) {
|
|
|
3225
3225
|
}), En(e, i);
|
|
3226
3226
|
}
|
|
3227
3227
|
function Ay(t) {
|
|
3228
|
-
const e =
|
|
3228
|
+
const e = di(A.dataLabelInitialize);
|
|
3229
3229
|
return Fi(e.uid, { isDataLabel: !0 }), t.bullets.push(e), Lu(e), Cu(y.LineSeries, e), xu(y.LineSeries, e), Es(e, t), e.html = "{valueX}", e;
|
|
3230
3230
|
}
|
|
3231
3231
|
function Ty(t) {
|
|
@@ -3495,11 +3495,11 @@ function qr(t) {
|
|
|
3495
3495
|
valueSuffix: l,
|
|
3496
3496
|
percentagePrefix: c,
|
|
3497
3497
|
percentageSuffix: u
|
|
3498
|
-
} = t, d = O(i.uid, "formatLocale"), f =
|
|
3498
|
+
} = t, d = O(i.uid, "formatLocale"), f = ci({
|
|
3499
3499
|
type: y.NumberAxisFormat,
|
|
3500
3500
|
iLocale: e,
|
|
3501
3501
|
formatLocale: d
|
|
3502
|
-
}), g =
|
|
3502
|
+
}), g = ci({
|
|
3503
3503
|
type: y.NumberAxisFormat,
|
|
3504
3504
|
iLocale: e,
|
|
3505
3505
|
formatLocale: d
|
|
@@ -3641,7 +3641,7 @@ function gc(t, e) {
|
|
|
3641
3641
|
const { legendLabelReducedOpacity: i } = A.legendProperties;
|
|
3642
3642
|
t !== void 0 && (t.fillOpacity = e === !1 ? i : 1);
|
|
3643
3643
|
}
|
|
3644
|
-
function
|
|
3644
|
+
function to(t) {
|
|
3645
3645
|
const { labels: e, seriesId: i, sliceCategory: a } = t;
|
|
3646
3646
|
e.each((o) => {
|
|
3647
3647
|
a !== void 0 ? a === o.dataItem.category && gc(o, o.dataItem.slice.visible ?? !0) : i === o.dataItem?.component?.id && gc(o, o.dataItem?.component?.visible ?? !0);
|
|
@@ -3650,25 +3650,25 @@ function eo(t) {
|
|
|
3650
3650
|
function Zr(t) {
|
|
3651
3651
|
t instanceof Et ? (t.slices.template.events.on(B.Shown, (e) => {
|
|
3652
3652
|
const i = e.target.dataItem.category;
|
|
3653
|
-
|
|
3653
|
+
to({
|
|
3654
3654
|
labels: t.chart?.legend?.labels,
|
|
3655
3655
|
sliceCategory: i
|
|
3656
|
-
}),
|
|
3656
|
+
}), to({
|
|
3657
3657
|
labels: t.chart?.legend?.valueLabels,
|
|
3658
3658
|
sliceCategory: i
|
|
3659
3659
|
});
|
|
3660
3660
|
}), t.slices.template.events.on(B.Hidden, (e) => {
|
|
3661
3661
|
const i = e.target.dataItem.category;
|
|
3662
|
-
|
|
3662
|
+
to({
|
|
3663
3663
|
labels: t.chart?.legend?.labels,
|
|
3664
3664
|
sliceCategory: i
|
|
3665
|
-
}),
|
|
3665
|
+
}), to({
|
|
3666
3666
|
labels: t.chart?.legend?.valueLabels,
|
|
3667
3667
|
sliceCategory: i
|
|
3668
3668
|
});
|
|
3669
3669
|
})) : t.events.on(B.VisibilityChanged, (e) => {
|
|
3670
3670
|
const i = e.target.id;
|
|
3671
|
-
|
|
3671
|
+
to({ labels: t.chart?.legend?.labels, seriesId: i });
|
|
3672
3672
|
});
|
|
3673
3673
|
}
|
|
3674
3674
|
function zu(t) {
|
|
@@ -3807,7 +3807,7 @@ function Gy(t) {
|
|
|
3807
3807
|
t.scrollable = !0;
|
|
3808
3808
|
}
|
|
3809
3809
|
function Xy(t) {
|
|
3810
|
-
const e =
|
|
3810
|
+
const e = di(void 0, t);
|
|
3811
3811
|
return e.adapter.add("paddingTop", (i) => {
|
|
3812
3812
|
let a = i;
|
|
3813
3813
|
const o = e.bbox.height;
|
|
@@ -3842,7 +3842,7 @@ function Yy(t) {
|
|
|
3842
3842
|
}
|
|
3843
3843
|
function Uy(t) {
|
|
3844
3844
|
const e = A.legendProperties;
|
|
3845
|
-
t.labels.template =
|
|
3845
|
+
t.labels.template = di(e.legendLabels), t.valueLabels.template = di(e.legendLabels), t.markers.template.width = e.legendMarkersSize, t.markers.template.height = e.legendMarkersSize, t.labels.template.adapter.add("wrap", () => !0), t.labels.template.adapter.add("maxWidth", (i) => {
|
|
3846
3846
|
let a = i, o;
|
|
3847
3847
|
if (t.baseSprite instanceof Ne && (o = O(t.baseSprite.uid, "config")?.legend?.labelMaxWidth), t.position === z.Right || t.position === z.Left)
|
|
3848
3848
|
a = o ?? A.legendProperties.legendLabels.maxWidth;
|
|
@@ -3862,7 +3862,7 @@ function Uy(t) {
|
|
|
3862
3862
|
if (s !== void 0) {
|
|
3863
3863
|
const { series: l } = s;
|
|
3864
3864
|
if (W(l) === y.PieSeries) {
|
|
3865
|
-
const u = Z(l) === V.PieFromFields ?
|
|
3865
|
+
const u = Z(l) === V.PieFromFields ? ni : l[0].x, d = a.dataItem?.dataContext?.[u];
|
|
3866
3866
|
typeof d == "string" ? n = d : d && typeof d != "object" && (n = d.toString());
|
|
3867
3867
|
} else a.dataItem?.component instanceof td && (n = a.dataItem.component.name);
|
|
3868
3868
|
}
|
|
@@ -3985,7 +3985,7 @@ function aS(t) {
|
|
|
3985
3985
|
ignoreSmoothRenderingLimit: r,
|
|
3986
3986
|
errorStrings: l
|
|
3987
3987
|
} = t, c = i.series.length, { rotated: u } = i, d = i.series[a], { y: f, name: g, id: h, assignToSecondValueAxis: b } = d, p = new ye();
|
|
3988
|
-
p.id = h,
|
|
3988
|
+
p.id = h, Ya(p, g);
|
|
3989
3989
|
let S, C;
|
|
3990
3990
|
u !== !0 ? (S = o[0], C = b === !0 && o[2] ? o[2] : o[1]) : (S = b === !0 && o[2] ? o[2] : o[0], C = o[1]), S !== void 0 && (p.xAxis = S), C !== void 0 && (p.yAxis = C);
|
|
3991
3991
|
const x = Dt({ chart: e }), v = Z(i.series), F = v === V.BarAndLineSplitByNoAggregation ? `${f.toString()}_${Ti({ where: d.query?.where, keepSurroundingQuotes: !1, escape: !1 })}` : [f].flat()[0];
|
|
@@ -4042,9 +4042,9 @@ function oS(t) {
|
|
|
4042
4042
|
colorMatch: n,
|
|
4043
4043
|
rendererSymbol: x
|
|
4044
4044
|
});
|
|
4045
|
-
u = T.symbolWithColorInfo, h = T.stylingInfo,
|
|
4045
|
+
u = T.symbolWithColorInfo, h = T.stylingInfo, Ba({ element: p, stylingInfo: h }), C || (g.add(JSON.stringify(h)), d = T.symbolWithColorInfo, b = h);
|
|
4046
4046
|
}
|
|
4047
|
-
}), c = g.size > 1, u = d ?? u, c ||
|
|
4047
|
+
}), c = g.size > 1, u = d ?? u, c || Ba({ element: l, stylingInfo: b ?? h });
|
|
4048
4048
|
}
|
|
4049
4049
|
return c ? void 0 : u;
|
|
4050
4050
|
}
|
|
@@ -4140,7 +4140,7 @@ function lS(t) {
|
|
|
4140
4140
|
queryObject: l,
|
|
4141
4141
|
fieldName: Jt(C),
|
|
4142
4142
|
fieldValue: S
|
|
4143
|
-
}) ?? S),
|
|
4143
|
+
}) ?? S), Ya(i, S), Xr({ series: i, seriesConfig: e, rotationChanged: o, stackedType: r, isRotated: b }), rS(i, e), Vn({
|
|
4144
4144
|
styleCallback: () => Uu(t),
|
|
4145
4145
|
series: i,
|
|
4146
4146
|
seriesConfig: e
|
|
@@ -4204,17 +4204,17 @@ function dS(t) {
|
|
|
4204
4204
|
return d.hoverable = !0, r || (fa({
|
|
4205
4205
|
element: d.columns.template,
|
|
4206
4206
|
customSelectionTheme: n
|
|
4207
|
-
}), Ao({ chart: e, element: d.columns.template, errorStrings: s })), d.id = l.id, c !== void 0 && (d.xAxis = c), u !== void 0 && (d.yAxis = u), d.simplifiedProcessing = !0, d.columns.template.applyOnClones = !0, d.riseFromOpenState.reset(), d.riseFromPreviousState.reset(), d.dropFromOpenState.reset(), d.dropFromPreviousState.reset(),
|
|
4207
|
+
}), Ao({ chart: e, element: d.columns.template, errorStrings: s })), d.id = l.id, c !== void 0 && (d.xAxis = c), u !== void 0 && (d.yAxis = u), d.simplifiedProcessing = !0, d.columns.template.applyOnClones = !0, d.riseFromOpenState.reset(), d.riseFromPreviousState.reset(), d.dropFromOpenState.reset(), d.dropFromPreviousState.reset(), Ya(d, l.name), Wt({
|
|
4208
4208
|
seriesConfig: l,
|
|
4209
4209
|
seriesIndex: o,
|
|
4210
|
-
seriesSymbol: l.fillSymbol ??
|
|
4210
|
+
seriesSymbol: l.fillSymbol ?? Da(o),
|
|
4211
4211
|
element: d,
|
|
4212
4212
|
colorMatch: !1,
|
|
4213
4213
|
isChartFillSymbol: !0
|
|
4214
4214
|
}), Wt({
|
|
4215
4215
|
seriesConfig: l,
|
|
4216
4216
|
seriesIndex: o,
|
|
4217
|
-
seriesSymbol: l.fillSymbol ??
|
|
4217
|
+
seriesSymbol: l.fillSymbol ?? Da(o),
|
|
4218
4218
|
element: d.columns.template,
|
|
4219
4219
|
colorMatch: !1,
|
|
4220
4220
|
isChartFillSymbol: !0
|
|
@@ -4226,7 +4226,7 @@ function xs(t) {
|
|
|
4226
4226
|
element: c.segments.template,
|
|
4227
4227
|
customSelectionTheme: n
|
|
4228
4228
|
});
|
|
4229
|
-
const u = s.fillSymbol ??
|
|
4229
|
+
const u = s.fillSymbol ?? Da(a);
|
|
4230
4230
|
return Wt({
|
|
4231
4231
|
seriesConfig: s,
|
|
4232
4232
|
seriesIndex: a,
|
|
@@ -4248,7 +4248,7 @@ function uS(t) {
|
|
|
4248
4248
|
customSelectionTheme: n
|
|
4249
4249
|
}), Ao({ chart: e, element: f, errorStrings: s })), ua(d), d;
|
|
4250
4250
|
}
|
|
4251
|
-
function
|
|
4251
|
+
function Ua(t) {
|
|
4252
4252
|
const {
|
|
4253
4253
|
chartConfig: e,
|
|
4254
4254
|
seriesConfig: i,
|
|
@@ -4335,7 +4335,7 @@ function fS(t) {
|
|
|
4335
4335
|
seriesSymbol: r.lineSymbol ?? Mr(o),
|
|
4336
4336
|
element: u,
|
|
4337
4337
|
colorMatch: !1
|
|
4338
|
-
}), ua(u), xy(u),
|
|
4338
|
+
}), ua(u), xy(u), Ua({
|
|
4339
4339
|
chartConfig: a,
|
|
4340
4340
|
seriesConfig: r,
|
|
4341
4341
|
meanLineSeries: u,
|
|
@@ -4355,7 +4355,7 @@ function mS(t) {
|
|
|
4355
4355
|
...t,
|
|
4356
4356
|
type: ge.Bottom
|
|
4357
4357
|
}), u = uS(t);
|
|
4358
|
-
Sy(s), Cy(u, s),
|
|
4358
|
+
Sy(s), Cy(u, s), Ua({
|
|
4359
4359
|
chartConfig: e,
|
|
4360
4360
|
seriesConfig: a,
|
|
4361
4361
|
candleStickSeries: s,
|
|
@@ -4392,7 +4392,7 @@ function gS(t) {
|
|
|
4392
4392
|
e.id
|
|
4393
4393
|
);
|
|
4394
4394
|
if (c !== void 0 && u !== void 0 && d !== void 0 && r.outline !== void 0) {
|
|
4395
|
-
r.outline.strokeWidth = A.boxPlot.boxPlotLineWidth,
|
|
4395
|
+
r.outline.strokeWidth = A.boxPlot.boxPlotLineWidth, Aa(c, r.outline), Aa(u, r.outline), Aa(d, r.outline);
|
|
4396
4396
|
const f = i.visible !== !1;
|
|
4397
4397
|
ce(c, f), ce(u, f), ce(d, f);
|
|
4398
4398
|
}
|
|
@@ -4433,7 +4433,7 @@ function pS(t) {
|
|
|
4433
4433
|
let c, u, d;
|
|
4434
4434
|
const f = /* @__PURE__ */ new Set();
|
|
4435
4435
|
let g = !1;
|
|
4436
|
-
const h = i.fillSymbol ??
|
|
4436
|
+
const h = i.fillSymbol ?? Da(a);
|
|
4437
4437
|
if (e.columns.length === 0 ? (d = Wt({
|
|
4438
4438
|
seriesConfig: i,
|
|
4439
4439
|
seriesIndex: a,
|
|
@@ -4459,8 +4459,8 @@ function pS(t) {
|
|
|
4459
4459
|
}), c = d.symbolWithColorInfo, u = d.stylingInfo, f.add(JSON.stringify(c));
|
|
4460
4460
|
}), g = f.size > 1, o > 1) {
|
|
4461
4461
|
const b = e.legendDataItem?.marker.children.getIndex(0);
|
|
4462
|
-
b !== void 0 ?
|
|
4463
|
-
|
|
4462
|
+
b !== void 0 ? Ba({ element: b, stylingInfo: u }) : e.chart.legend.events.once(B.Validated, () => {
|
|
4463
|
+
Ba({
|
|
4464
4464
|
element: e.legendDataItem?.marker.children.getIndex(0),
|
|
4465
4465
|
stylingInfo: u
|
|
4466
4466
|
}), e.chart.legend.invalidate();
|
|
@@ -4563,7 +4563,7 @@ function SS(t) {
|
|
|
4563
4563
|
const d = Qr(n, a.visible);
|
|
4564
4564
|
u.disabled = !d;
|
|
4565
4565
|
}
|
|
4566
|
-
|
|
4566
|
+
Ua({
|
|
4567
4567
|
chartConfig: i,
|
|
4568
4568
|
seriesConfig: a,
|
|
4569
4569
|
outliersVisibilityChanged: r,
|
|
@@ -4582,7 +4582,7 @@ function CS(t) {
|
|
|
4582
4582
|
outliersVisibilityChanged: n,
|
|
4583
4583
|
standardizeValuesVisibilityChanged: s
|
|
4584
4584
|
} = t;
|
|
4585
|
-
|
|
4585
|
+
Ya(e, i?.name), Ua({
|
|
4586
4586
|
chartConfig: o,
|
|
4587
4587
|
seriesConfig: i,
|
|
4588
4588
|
meanLineSeries: e,
|
|
@@ -4600,7 +4600,7 @@ function xS(t) {
|
|
|
4600
4600
|
outliersVisibilityChanged: n,
|
|
4601
4601
|
standardizeValuesVisibilityChanged: s
|
|
4602
4602
|
} = t;
|
|
4603
|
-
|
|
4603
|
+
Ya(e, a?.name), e.hiddenInLegend = Ct(i), Ua({
|
|
4604
4604
|
chartConfig: i,
|
|
4605
4605
|
seriesConfig: a,
|
|
4606
4606
|
candleStickSeries: e,
|
|
@@ -4622,7 +4622,7 @@ function vS(t) {
|
|
|
4622
4622
|
e,
|
|
4623
4623
|
o
|
|
4624
4624
|
);
|
|
4625
|
-
c !== void 0 && ce(c, l), u !== void 0 && ce(u, l), d !== void 0 && ce(d, l),
|
|
4625
|
+
c !== void 0 && ce(c, l), u !== void 0 && ce(u, l), d !== void 0 && ce(d, l), Ua({
|
|
4626
4626
|
chartConfig: i,
|
|
4627
4627
|
seriesConfig: a,
|
|
4628
4628
|
outliersVisibilityChanged: n,
|
|
@@ -4744,13 +4744,13 @@ function AS(t, e = !0) {
|
|
|
4744
4744
|
}
|
|
4745
4745
|
});
|
|
4746
4746
|
}
|
|
4747
|
-
function
|
|
4747
|
+
function ja(t) {
|
|
4748
4748
|
const { chart: e, selectionSource: i, clearOnlyVisibleSeries: a, disposeStyleAndSelection: o } = t;
|
|
4749
4749
|
o !== !1 && Tu(e, "updateSelectionCallbackDisposer"), ae(e.uid, {
|
|
4750
4750
|
computedSelectionItems: void 0,
|
|
4751
4751
|
computedSelectionIndexes: void 0,
|
|
4752
4752
|
pendingSelectionQueries: !1
|
|
4753
|
-
}), Bt(e) && (e instanceof me ? AS(e, a ?? !0) : e instanceof Ne && FS(e)), O(e.uid, "options")?.selectionData?.selectionItems?.[0] &&
|
|
4753
|
+
}), Bt(e) && (e instanceof me ? AS(e, a ?? !0) : e instanceof Ne && FS(e)), O(e.uid, "options")?.selectionData?.selectionItems?.[0] && Xa({
|
|
4754
4754
|
data: {
|
|
4755
4755
|
selectionSource: i ?? pe.ClearSelection
|
|
4756
4756
|
},
|
|
@@ -4758,7 +4758,7 @@ function Ua(t) {
|
|
|
4758
4758
|
});
|
|
4759
4759
|
}
|
|
4760
4760
|
function TS(t) {
|
|
4761
|
-
xd(), vd(t.htmlContainer),
|
|
4761
|
+
xd(), vd(t.htmlContainer), ja({ chart: t });
|
|
4762
4762
|
}
|
|
4763
4763
|
function kS(t) {
|
|
4764
4764
|
const { chart: e, chartType: i, showMean: a } = t;
|
|
@@ -4772,7 +4772,7 @@ function IS(t) {
|
|
|
4772
4772
|
function ju(t, e) {
|
|
4773
4773
|
const i = O(t.uid, "actionMode");
|
|
4774
4774
|
if ((i === J.MonoSelection || i === J.None) && e.length > 1)
|
|
4775
|
-
|
|
4775
|
+
ja({ chart: t });
|
|
4776
4776
|
else {
|
|
4777
4777
|
const o = t instanceof Ne;
|
|
4778
4778
|
e.forEach((n) => {
|
|
@@ -4796,7 +4796,7 @@ function RS(t) {
|
|
|
4796
4796
|
xAxisField: l,
|
|
4797
4797
|
yAxisField: c,
|
|
4798
4798
|
queryObject: u
|
|
4799
|
-
} = t, d = W(i.series), f = Z(i.series), g = ki(i), h = An(i), b = [], p = [], S = [], C =
|
|
4799
|
+
} = t, d = W(i.series), f = Z(i.series), g = ki(i), h = An(i), b = [], p = [], S = [], C = fi(i.series), x = a instanceof Si ? a.dataFields?.customValue ?? "" : "";
|
|
4800
4800
|
return n.forEach((v) => {
|
|
4801
4801
|
if (!(v instanceof oa)) {
|
|
4802
4802
|
let F = v.dataItem?.dataContext;
|
|
@@ -4823,7 +4823,7 @@ function RS(t) {
|
|
|
4823
4823
|
showOutliers: g,
|
|
4824
4824
|
timeAggregationType: h
|
|
4825
4825
|
}))
|
|
4826
|
-
if (b.push(v), v.dataItem !== void 0 && p.push(v.dataItem.index), d === y.BoxPlotSeries && v?.dataItem instanceof
|
|
4826
|
+
if (b.push(v), v.dataItem !== void 0 && p.push(v.dataItem.index), d === y.BoxPlotSeries && v?.dataItem instanceof Ha && F !== void 0)
|
|
4827
4827
|
S.push(F);
|
|
4828
4828
|
else {
|
|
4829
4829
|
const k = /* @__PURE__ */ new Set();
|
|
@@ -4863,7 +4863,7 @@ function RS(t) {
|
|
|
4863
4863
|
}), ju(e, b), { selectedIndexes: p, newSelectionItems: S };
|
|
4864
4864
|
}
|
|
4865
4865
|
function wS(t) {
|
|
4866
|
-
const { chart: e, selectionIndexes: i, queryObject: a } = t, o = [], n = [], s = O(e.uid, "config"), r = ki(s), l =
|
|
4866
|
+
const { chart: e, selectionIndexes: i, queryObject: a } = t, o = [], n = [], s = O(e.uid, "config"), r = ki(s), l = fi(s?.series ?? []), c = Z(s?.series);
|
|
4867
4867
|
return e.series.each((u, d) => {
|
|
4868
4868
|
if (s && u.visible) {
|
|
4869
4869
|
const f = s.series[0].x, g = Yi(u), h = u instanceof Si ? u.dataFields?.customValue ?? "" : "", b = $n(u, d), p = i.get(d);
|
|
@@ -4874,7 +4874,7 @@ function wS(t) {
|
|
|
4874
4874
|
S.each((x, v) => {
|
|
4875
4875
|
if (x && (C === void 0 || C.includes(v))) {
|
|
4876
4876
|
let F;
|
|
4877
|
-
b === y.BoxPlotSeries && x.dataItem instanceof
|
|
4877
|
+
b === y.BoxPlotSeries && x.dataItem instanceof Ha ? F = x.dataItem.dataContext : x.dataItem instanceof oa || (F = Ai({
|
|
4878
4878
|
dataContext: x.dataItem?.dataContext,
|
|
4879
4879
|
yList: l,
|
|
4880
4880
|
yAxisField: g,
|
|
@@ -5011,7 +5011,7 @@ function OS(t) {
|
|
|
5011
5011
|
return E !== void 0 && D === y.BoxPlotSeries && E[A.boxPlot.boxPlotOutlierId] !== !0 && (E = Ai({
|
|
5012
5012
|
dataContext: E,
|
|
5013
5013
|
yAxisField: c,
|
|
5014
|
-
yList:
|
|
5014
|
+
yList: fi(v.series),
|
|
5015
5015
|
xAxisField: l,
|
|
5016
5016
|
splitBy: U,
|
|
5017
5017
|
chartType: D,
|
|
@@ -5050,7 +5050,7 @@ function OS(t) {
|
|
|
5050
5050
|
);
|
|
5051
5051
|
let U;
|
|
5052
5052
|
if (g === !0 && (U = O(x.uid, "computedSelectionIndexes") ?? S), Y === void 0 || Y.length === 0)
|
|
5053
|
-
|
|
5053
|
+
ja({
|
|
5054
5054
|
chart: x,
|
|
5055
5055
|
selectionSource: pe.ProgrammaticSelection
|
|
5056
5056
|
});
|
|
@@ -5063,7 +5063,7 @@ function OS(t) {
|
|
|
5063
5063
|
chartConfig: v,
|
|
5064
5064
|
layer: a,
|
|
5065
5065
|
selectionItems: Y
|
|
5066
|
-
})),
|
|
5066
|
+
})), Xa({
|
|
5067
5067
|
data: _,
|
|
5068
5068
|
htmlContainer: x.htmlContainer
|
|
5069
5069
|
});
|
|
@@ -5105,7 +5105,7 @@ async function ko(t) {
|
|
|
5105
5105
|
const { chart: e, listSelectedElements: i, selectionSource: a, errorStrings: o } = t, n = O(e.uid, "options"), s = O(e.uid, "config"), r = O(e.uid, "queryObject"), l = _e(r);
|
|
5106
5106
|
if (s && r)
|
|
5107
5107
|
if (i.length === 0)
|
|
5108
|
-
|
|
5108
|
+
ja({
|
|
5109
5109
|
chart: e,
|
|
5110
5110
|
selectionSource: a,
|
|
5111
5111
|
clearOnlyVisibleSeries: !1,
|
|
@@ -5116,7 +5116,7 @@ async function ko(t) {
|
|
|
5116
5116
|
Tu(e, "updateSelectionCallbackDisposer");
|
|
5117
5117
|
const c = it(r), u = "objectIdField" in c ? c.objectIdField : void 0, d = ki(s), f = [], g = [];
|
|
5118
5118
|
let h = [], b = [];
|
|
5119
|
-
const p = /* @__PURE__ */ new Map(), { xAxisField: S } = i[0] ?? {}, C = W(s?.series), x = Z(s?.series), v =
|
|
5119
|
+
const p = /* @__PURE__ */ new Map(), { xAxisField: S } = i[0] ?? {}, C = W(s?.series), x = Z(s?.series), v = fi(s?.series ?? []), F = Lt(r), T = F.find((D) => D.name === S)?.type, k = F.find((D) => D.name === v[0])?.type;
|
|
5120
5120
|
if (i.forEach((D) => {
|
|
5121
5121
|
const { elementDataContext: R, yAxisField: $, splitBy: M } = D, N = Ai({
|
|
5122
5122
|
dataContext: R,
|
|
@@ -5185,14 +5185,14 @@ async function ko(t) {
|
|
|
5185
5185
|
chartConfig: s,
|
|
5186
5186
|
layer: r,
|
|
5187
5187
|
selectionItems: h
|
|
5188
|
-
})),
|
|
5188
|
+
})), Xa({
|
|
5189
5189
|
data: I,
|
|
5190
5190
|
htmlContainer: e.htmlContainer
|
|
5191
5191
|
});
|
|
5192
5192
|
} catch (c) {
|
|
5193
5193
|
ae(e.uid, { pendingSelectionQueries: !1 });
|
|
5194
5194
|
let u = -1;
|
|
5195
|
-
if (c && typeof c == "object" && "details" in c && ({ httpStatus: u } = c instanceof
|
|
5195
|
+
if (c && typeof c == "object" && "details" in c && ({ httpStatus: u } = c instanceof oi ? c.details.details : c.details ?? {}), u === 429)
|
|
5196
5196
|
TS(e);
|
|
5197
5197
|
else
|
|
5198
5198
|
throw c;
|
|
@@ -5312,7 +5312,7 @@ function ES(t, e, i) {
|
|
|
5312
5312
|
);
|
|
5313
5313
|
if (c !== void 0) {
|
|
5314
5314
|
let u = "", d;
|
|
5315
|
-
r instanceof cr ? (u = r.value, d = r.endValue) : r instanceof
|
|
5315
|
+
r instanceof cr ? (u = r.value, d = r.endValue) : r instanceof Ia ? (u = r.category, d = r.endCategory) : r instanceof bn && (u = r.date, d = r.endDate), s = c({
|
|
5316
5316
|
guideName: r.id ?? "",
|
|
5317
5317
|
start: u,
|
|
5318
5318
|
end: d,
|
|
@@ -5340,7 +5340,7 @@ function HS(t, e) {
|
|
|
5340
5340
|
let v = new nd(), F;
|
|
5341
5341
|
if (r !== void 0) {
|
|
5342
5342
|
const T = O(t.chart.uid, "formatLocale");
|
|
5343
|
-
v =
|
|
5343
|
+
v = ci({
|
|
5344
5344
|
type: y.DateAxisFormat,
|
|
5345
5345
|
iLocale: r.language.locale,
|
|
5346
5346
|
formatLocale: T
|
|
@@ -5443,7 +5443,7 @@ function Tt(t, e) {
|
|
|
5443
5443
|
s = n === !0 && a.value !== void 0;
|
|
5444
5444
|
break;
|
|
5445
5445
|
case Ae.GaugeFirstAndLastGuides:
|
|
5446
|
-
s = o === !0 && (a.id ===
|
|
5446
|
+
s = o === !0 && (a.id === wa.gaugeFirstLabelId || a.id === wa.gaugeLastLabelId);
|
|
5447
5447
|
break;
|
|
5448
5448
|
}
|
|
5449
5449
|
return s;
|
|
@@ -5453,12 +5453,12 @@ function XS(t, e) {
|
|
|
5453
5453
|
let i = t.axisRanges.length;
|
|
5454
5454
|
{
|
|
5455
5455
|
const o = t.axisRanges.values.findIndex(
|
|
5456
|
-
(n) => n.id ===
|
|
5456
|
+
(n) => n.id === wa.gaugeFirstLabelId
|
|
5457
5457
|
);
|
|
5458
5458
|
o !== -1 && (i = o);
|
|
5459
5459
|
}
|
|
5460
5460
|
let a;
|
|
5461
|
-
return t instanceof ct ? a = new
|
|
5461
|
+
return t instanceof ct ? a = new Ia() : t instanceof Ve ? a = new bn() : a = new cr(), t.axisRanges.insertIndex(i, a), a.label = VS(t, e), a.axisFill.fillOpacity = 1, a.axisFill.disabled = !0, a.grid.strokeOpacity = 1, a;
|
|
5462
5462
|
}
|
|
5463
5463
|
function YS(t, e) {
|
|
5464
5464
|
const i = XS(t, !0);
|
|
@@ -5484,7 +5484,7 @@ function jS(t, e) {
|
|
|
5484
5484
|
if (i !== void 0) {
|
|
5485
5485
|
const { chart: o } = t?.component ?? {};
|
|
5486
5486
|
let n;
|
|
5487
|
-
if (t instanceof
|
|
5487
|
+
if (t instanceof Ia && o instanceof me && O(o.uid, "isNonAggregatedChart") === !0) {
|
|
5488
5488
|
const { modifiedStart: s, modifiedEnd: r } = US(o, e);
|
|
5489
5489
|
n = {
|
|
5490
5490
|
isValidGuide: !0,
|
|
@@ -5493,7 +5493,7 @@ function jS(t, e) {
|
|
|
5493
5493
|
};
|
|
5494
5494
|
} else
|
|
5495
5495
|
n = Jr(t.axisFill.axis, e);
|
|
5496
|
-
n.isValidGuide && (t instanceof
|
|
5496
|
+
n.isValidGuide && (t instanceof Ia ? (t.category = `${n.start?.toString()}`, t.endCategory = `${n.end?.toString()}`) : t instanceof bn ? (t.date = n.start, t.endDate = n.end) : (t.value = n.start, t.endValue = n.end));
|
|
5497
5497
|
}
|
|
5498
5498
|
}
|
|
5499
5499
|
function qS(t, e) {
|
|
@@ -5764,7 +5764,7 @@ function hC(t) {
|
|
|
5764
5764
|
o.content.angle !== null && o.content.angle === void 0 && bc(e);
|
|
5765
5765
|
break;
|
|
5766
5766
|
}
|
|
5767
|
-
} else e.renderer instanceof
|
|
5767
|
+
} else e.renderer instanceof za && (a !== ve.Hide ? mC(e) : dC(e));
|
|
5768
5768
|
}
|
|
5769
5769
|
function pC(t) {
|
|
5770
5770
|
const {
|
|
@@ -5778,7 +5778,7 @@ function pC(t) {
|
|
|
5778
5778
|
r.axis = e;
|
|
5779
5779
|
const { labels: l } = i, c = e.renderer instanceof At && r.rotation === A.rotatedAxisLabel.rotation, u = l;
|
|
5780
5780
|
let d;
|
|
5781
|
-
c ? (u.content.angle = void 0, u.content.horizontalAlignment = void 0, u.content.verticalAlignment = void 0, u.content.yoffset = void 0, d = A.rotatedAxisLabel) : e.renderer instanceof At && (a === ve.Stagger || a === ve.Wrap) && (d = { wrap: !0, dy: A.axisLabel.dy }), e.renderer instanceof
|
|
5781
|
+
c ? (u.content.angle = void 0, u.content.horizontalAlignment = void 0, u.content.verticalAlignment = void 0, u.content.yoffset = void 0, d = A.rotatedAxisLabel) : e.renderer instanceof At && (a === ve.Stagger || a === ve.Wrap) && (d = { wrap: !0, dy: A.axisLabel.dy }), e.renderer instanceof za && o !== ve.Hide && (d = { wrap: !0 }), Ot({ label: r, labelConfig: u, defaults: d }), e.renderer.labels.template.paddingTop = e.renderer instanceof At ? 0 : A.axisLabel.dy, r.align = "none", r.valign = "none", hC({
|
|
5782
5782
|
axis: e,
|
|
5783
5783
|
horizontalAxisLabelsBehavior: a,
|
|
5784
5784
|
verticalAxisLabelsBehavior: o,
|
|
@@ -5800,9 +5800,9 @@ function bC(t, e = !0) {
|
|
|
5800
5800
|
}
|
|
5801
5801
|
function yC(t, e) {
|
|
5802
5802
|
let i, a;
|
|
5803
|
-
const o =
|
|
5803
|
+
const o = di(A.dataLabelInitialize);
|
|
5804
5804
|
Fi(o.uid, { isDataLabel: !0 }), t.bullets.push(o);
|
|
5805
|
-
const n =
|
|
5805
|
+
const n = di(A.dataLabelInitialize, t.columns.template);
|
|
5806
5806
|
return Fi(n.uid, { isDataLabel: !0 }), Es(n, t), Es(o, t), t.events.on(
|
|
5807
5807
|
B.Validated,
|
|
5808
5808
|
yt(() => {
|
|
@@ -5840,7 +5840,7 @@ function CC(t) {
|
|
|
5840
5840
|
}
|
|
5841
5841
|
function xC(t) {
|
|
5842
5842
|
const e = t.title, i = 98;
|
|
5843
|
-
if (t.renderer instanceof
|
|
5843
|
+
if (t.renderer instanceof za)
|
|
5844
5844
|
e.adapter.add(
|
|
5845
5845
|
"y",
|
|
5846
5846
|
(a) => {
|
|
@@ -5881,7 +5881,7 @@ function zn(t) {
|
|
|
5881
5881
|
t !== void 0 && (t.xAxes !== void 0 && t.xAxes.each((e) => Hs({ axis: e })), t.yAxes !== void 0 && t.yAxes.each((e) => Hs({ axis: e })), Sc(t.scrollbarX), Sc(t.scrollbarY), ce(t.zoomOutButton, !1));
|
|
5882
5882
|
}
|
|
5883
5883
|
function Io(t, e) {
|
|
5884
|
-
return t instanceof At && e !== !0 || t instanceof
|
|
5884
|
+
return t instanceof At && e !== !0 || t instanceof za && e === !0;
|
|
5885
5885
|
}
|
|
5886
5886
|
function vC(t) {
|
|
5887
5887
|
Bt(t.labels.template) && (t.labels.template.events.on(B.Over, (e) => {
|
|
@@ -5924,7 +5924,7 @@ function FC(t) {
|
|
|
5924
5924
|
minimum: e.min,
|
|
5925
5925
|
maximum: e.max
|
|
5926
5926
|
});
|
|
5927
|
-
else if (e.renderer instanceof (i !== !0 ?
|
|
5927
|
+
else if (e.renderer instanceof (i !== !0 ? za : At)) {
|
|
5928
5928
|
e.maxZoomFactor = 1;
|
|
5929
5929
|
const o = t.target, n = o.chart, s = i !== !0 ? n.xAxes.getIndex(0) : n.yAxes.getIndex(0), r = n.yAxes.getIndex(1) ?? n.xAxes.getIndex(1);
|
|
5930
5930
|
a = [
|
|
@@ -5959,10 +5959,10 @@ function TC(t) {
|
|
|
5959
5959
|
for (let l = 0; l < r.length; l += 1) {
|
|
5960
5960
|
a = !1, o = !1, n = !1;
|
|
5961
5961
|
const c = r[l], { category: u, endCategory: d, axisFill: f, grid: g, label: h } = c;
|
|
5962
|
-
if (c instanceof
|
|
5962
|
+
if (c instanceof Ia && c.visible)
|
|
5963
5963
|
for (let b = 0; b < s.length; b += 1) {
|
|
5964
5964
|
let p;
|
|
5965
|
-
i === !0 ? p =
|
|
5965
|
+
i === !0 ? p = si({
|
|
5966
5966
|
value: s[b].category,
|
|
5967
5967
|
dataContext: s[b].dataContext
|
|
5968
5968
|
}) : p = s[b].category.toString(), u === p && (o = !0), d === p && (n = !0);
|
|
@@ -6004,14 +6004,14 @@ function kC(t) {
|
|
|
6004
6004
|
function no(t) {
|
|
6005
6005
|
const { axes: e, isSecondaryYAxis: i = !1, isXAxis: a, valueFormat: o, chartType: n, errorStrings: s } = t;
|
|
6006
6006
|
let r;
|
|
6007
|
-
if (
|
|
6007
|
+
if (_a({ isXAxis: a, chartType: n, valueFormat: o }) && !i)
|
|
6008
6008
|
r = e.push(new ct());
|
|
6009
6009
|
else if (bt(o))
|
|
6010
6010
|
r = e.push(new Ve());
|
|
6011
6011
|
else if (Oe(o)) {
|
|
6012
6012
|
r = e.push(new ke());
|
|
6013
6013
|
const l = O(r.chart.uid, "formatLocale");
|
|
6014
|
-
r.numberFormatter =
|
|
6014
|
+
r.numberFormatter = ci({
|
|
6015
6015
|
type: y.NumberAxisFormat,
|
|
6016
6016
|
iLocale: r.chart.language.locale,
|
|
6017
6017
|
formatLocale: l
|
|
@@ -6185,7 +6185,7 @@ function BC(t, e) {
|
|
|
6185
6185
|
function NC(t, e) {
|
|
6186
6186
|
const i = t.renderer instanceof At;
|
|
6187
6187
|
t.events.once(B.Validated, () => {
|
|
6188
|
-
let a = t.renderer instanceof
|
|
6188
|
+
let a = t.renderer instanceof za ? A.yAxisTitleLabel : A.xAxisTitleLabel;
|
|
6189
6189
|
i && (a = { ...a, dy: a.dy ?? 0 }), Ot({ label: t.title, labelConfig: e, defaults: a }), Hi({
|
|
6190
6190
|
chart: t.chart,
|
|
6191
6191
|
label: t.title,
|
|
@@ -6337,7 +6337,7 @@ function WC(t) {
|
|
|
6337
6337
|
queryObject: h
|
|
6338
6338
|
} = t;
|
|
6339
6339
|
let { axisLabelsBehaviorChanged: b } = t;
|
|
6340
|
-
const p = O(e.uid, "config"), S = p.axes, { horizontalAxisLabelsBehavior: C, verticalAxisLabelsBehavior: x } = p, v = W(p.series), F = st(p), k = O(e.uid, "fieldList")?.some((Ce) => Ce.name === p.series[0].x && Ce.type === wn.TimeOnly) ?? !1, I = yr({ chartConfig: p, queryObject: h, options: d }), D =
|
|
6340
|
+
const p = O(e.uid, "config"), S = p.axes, { horizontalAxisLabelsBehavior: C, verticalAxisLabelsBehavior: x } = p, v = W(p.series), F = st(p), k = O(e.uid, "fieldList")?.some((Ce) => Ce.name === p.series[0].x && Ce.type === wn.TimeOnly) ?? !1, I = yr({ chartConfig: p, queryObject: h, options: d }), D = Ga(p.series[0]) ? p.series[0].temporalBinning?.outTimeZone : void 0, R = a === !0 ? 1 : 0, $ = a === !0 ? 0 : 1, M = S?.[R], N = S?.[$];
|
|
6341
6341
|
let P = e.xAxes.getIndex(0);
|
|
6342
6342
|
tf({
|
|
6343
6343
|
chart: e,
|
|
@@ -6393,9 +6393,9 @@ function WC(t) {
|
|
|
6393
6393
|
{ axis: X, start: _, end: j },
|
|
6394
6394
|
{ axis: G, start: E, end: ee }
|
|
6395
6395
|
].forEach((Ce) => {
|
|
6396
|
-
const { axis: Ye, start:
|
|
6396
|
+
const { axis: Ye, start: hi, end: pi } = Ce;
|
|
6397
6397
|
Ye !== void 0 && Ye.events.once(B.Validated, () => {
|
|
6398
|
-
Hs({ axis: Ye, start:
|
|
6398
|
+
Hs({ axis: Ye, start: hi, end: pi });
|
|
6399
6399
|
});
|
|
6400
6400
|
}), P !== void 0 && P.ghostLabel.setPropertyValue("disabled", !0), X !== void 0 && X.ghostLabel.setPropertyValue("disabled", !0), G !== void 0 && G.ghostLabel.setPropertyValue("disabled", !0);
|
|
6401
6401
|
}
|
|
@@ -6769,7 +6769,7 @@ function QC(t) {
|
|
|
6769
6769
|
}
|
|
6770
6770
|
}
|
|
6771
6771
|
function JC(t) {
|
|
6772
|
-
const e =
|
|
6772
|
+
const e = di(void 0, t.radarContainer);
|
|
6773
6773
|
e.isMeasured = !1, Fi(e.uid, { isGaugeAxisInnerLabel: !0 }), UC(t, e);
|
|
6774
6774
|
}
|
|
6775
6775
|
function ex(t) {
|
|
@@ -6858,7 +6858,7 @@ function rx(t) {
|
|
|
6858
6858
|
const n = O(t.chart.uid, "config")?.axes?.[0], s = Pe(i.label.uid, "originalWidth"), r = _s(n) && s !== void 0 && s === i.label.measuredWidth && i.label.scale !== 1;
|
|
6859
6859
|
o = Math.round(
|
|
6860
6860
|
(r ? s * i.label.scale : i.label.measuredWidth) / 2
|
|
6861
|
-
), i.id ===
|
|
6861
|
+
), i.id === wa.gaugeLastLabelId && (o *= -1);
|
|
6862
6862
|
}
|
|
6863
6863
|
return o;
|
|
6864
6864
|
}), i.label.adapter.keys().includes("dy") || i.label.adapter.add("dy", (a) => {
|
|
@@ -6902,7 +6902,7 @@ function dx(t) {
|
|
|
6902
6902
|
if (s !== void 0)
|
|
6903
6903
|
r = s(n);
|
|
6904
6904
|
else {
|
|
6905
|
-
const l = xi(e), c =
|
|
6905
|
+
const l = xi(e), c = ci({
|
|
6906
6906
|
type: y.NumberAxisFormat,
|
|
6907
6907
|
iLocale: i,
|
|
6908
6908
|
formatLocale: a
|
|
@@ -6925,7 +6925,7 @@ function nf(t) {
|
|
|
6925
6925
|
if (s !== void 0)
|
|
6926
6926
|
r = s(n);
|
|
6927
6927
|
else {
|
|
6928
|
-
const l = xi(e), c =
|
|
6928
|
+
const l = xi(e), c = ci({
|
|
6929
6929
|
type: y.NumberAxisFormat,
|
|
6930
6930
|
iLocale: i,
|
|
6931
6931
|
formatLocale: a
|
|
@@ -7016,7 +7016,7 @@ function Gn(t, e) {
|
|
|
7016
7016
|
t.background.fill = It(e ?? A.backgroundColor);
|
|
7017
7017
|
}
|
|
7018
7018
|
function mx(t) {
|
|
7019
|
-
const e = Vu(A.headerContainer, t), i =
|
|
7019
|
+
const e = Vu(A.headerContainer, t), i = di(A.title, e), a = di(A.subtitle, e);
|
|
7020
7020
|
return t instanceof id && (an(t, i), an(t, a), mo({ chart: t, label: i, labelType: q.ChartTitle }), mo({ chart: t, label: a, labelType: q.ChartSubTitle })), Ry(e), { headerContainer: e, title: i, subtitle: a };
|
|
7021
7021
|
}
|
|
7022
7022
|
function Xn(t, e) {
|
|
@@ -7032,7 +7032,7 @@ function Xn(t, e) {
|
|
|
7032
7032
|
});
|
|
7033
7033
|
}
|
|
7034
7034
|
function gx(t) {
|
|
7035
|
-
const e = Vu(A.footerContainer, t), i =
|
|
7035
|
+
const e = Vu(A.footerContainer, t), i = di(A.footer, e);
|
|
7036
7036
|
return t instanceof id && (an(t, i), mo({ chart: t, label: i, labelType: q.ChartFooter })), { footerContainer: e, footer: i };
|
|
7037
7037
|
}
|
|
7038
7038
|
function Yn(t, e) {
|
|
@@ -7208,7 +7208,7 @@ function Fx(t) {
|
|
|
7208
7208
|
seriesSymbol: (x && v !== void 0 ? v : d) ?? b,
|
|
7209
7209
|
element: p,
|
|
7210
7210
|
rendererSymbol: C
|
|
7211
|
-
}),
|
|
7211
|
+
}), Ba({ element: p, stylingInfo: g.stylingInfo }), x || (c.add(JSON.stringify(g.symbolWithColorInfo)), h = g);
|
|
7212
7212
|
}
|
|
7213
7213
|
}), o > 1) {
|
|
7214
7214
|
const p = h.symbolWithColorInfo ?? d ?? b;
|
|
@@ -7257,7 +7257,7 @@ function lf(t) {
|
|
|
7257
7257
|
queryObject: u,
|
|
7258
7258
|
fieldName: Jt(p),
|
|
7259
7259
|
fieldValue: b
|
|
7260
|
-
}) ?? b),
|
|
7260
|
+
}) ?? b), Ya(i, b), Xr({
|
|
7261
7261
|
series: i,
|
|
7262
7262
|
seriesConfig: e,
|
|
7263
7263
|
rotationChanged: o,
|
|
@@ -7486,7 +7486,7 @@ function Bx(t) {
|
|
|
7486
7486
|
const { dataItem: c } = a;
|
|
7487
7487
|
if (c instanceof Ci) {
|
|
7488
7488
|
const u = c.properties.category ?? "", d = c.dataContext;
|
|
7489
|
-
let f =
|
|
7489
|
+
let f = ri(d);
|
|
7490
7490
|
f === void 0 && (f = u);
|
|
7491
7491
|
const g = c.values?.value?.value, h = c.values?.value?.percent;
|
|
7492
7492
|
typeof g == "number" && g !== 0 && s?.series?.[0]?.dataTooltipVisible !== !1 ? (a.tooltip.disabled = !1, $x(a), o = l(`${u}`, g, h, f)) : a.tooltip.disabled = !0;
|
|
@@ -7555,7 +7555,7 @@ function Ex(t) {
|
|
|
7555
7555
|
colorRampIndex: s,
|
|
7556
7556
|
isChartFillSymbol: !0
|
|
7557
7557
|
});
|
|
7558
|
-
o !== void 0 && o.selectedElementsTheme === void 0 &&
|
|
7558
|
+
o !== void 0 && o.selectedElementsTheme === void 0 && Ba({
|
|
7559
7559
|
element: n,
|
|
7560
7560
|
stylingInfo: c,
|
|
7561
7561
|
stateKey: rt.Active
|
|
@@ -7576,7 +7576,7 @@ function zx(t) {
|
|
|
7576
7576
|
const { chart: e, seriesConfig: i, series: a, pieSlicesSymbols: o, options: n } = t, { tooltipFormatter: s, dataLabelFormatter: r } = n ?? {}, { x: l, y: c, id: u, innerRadius: d, startAngle: f, endAngle: g } = i;
|
|
7577
7577
|
a.id = u;
|
|
7578
7578
|
const h = Z([i]), b = A.pieChart;
|
|
7579
|
-
a.dataFields.value = h !== V.PieFromFields ? c : La, a.dataFields.category = h !== V.PieFromFields ? l :
|
|
7579
|
+
a.dataFields.value = h !== V.PieFromFields ? c : La, a.dataFields.category = h !== V.PieFromFields ? l : ni;
|
|
7580
7580
|
const p = e.radius instanceof qo ? e.radius.value : e.radius;
|
|
7581
7581
|
e.innerRadius = ht((d ?? b.innerRadius) * p), a.startAngle = f ?? b.min, a.endAngle = g ?? 360 + a.startAngle, Ox({
|
|
7582
7582
|
pieSeries: a,
|
|
@@ -7829,10 +7829,10 @@ function ff(t) {
|
|
|
7829
7829
|
function Ux(t, e) {
|
|
7830
7830
|
t.adapter.add("criticalError", (i) => (i.message = e.errors.simpleError, i));
|
|
7831
7831
|
}
|
|
7832
|
-
|
|
7832
|
+
oo.classNamePrefix = "arcgis-charts-";
|
|
7833
7833
|
function il(t) {
|
|
7834
7834
|
const { chart: e, localeInfo: i, chartLocale: a } = t;
|
|
7835
|
-
|
|
7835
|
+
oo.defaultLocale = a, e.language.locale = a, ae(e.uid, { formatLocale: i.formatLocale }), e.rtl = i.rtl;
|
|
7836
7836
|
}
|
|
7837
7837
|
function Un(t) {
|
|
7838
7838
|
const { chart: e, actionMode: i, cursorRange: a } = t;
|
|
@@ -7850,7 +7850,7 @@ function Un(t) {
|
|
|
7850
7850
|
Cs(e);
|
|
7851
7851
|
break;
|
|
7852
7852
|
case J.None:
|
|
7853
|
-
|
|
7853
|
+
ja({
|
|
7854
7854
|
chart: e,
|
|
7855
7855
|
selectionSource: pe.ClearSelection,
|
|
7856
7856
|
clearOnlyVisibleSeries: !1,
|
|
@@ -7868,7 +7868,7 @@ function qx(t) {
|
|
|
7868
7868
|
const { chart: e, axesConfig: i, chartType: a, isRotated: o, errorStrings: n, queryObject: s } = t;
|
|
7869
7869
|
switch (Xi({ chartType: a, axesConfig: i, errorStrings: n }), a) {
|
|
7870
7870
|
case y.GaugeSeries: {
|
|
7871
|
-
|
|
7871
|
+
li(s), e instanceof kt && i?.[0]?.valueFormat !== void 0 && cx({ chart: e, valueFormat: i[0].valueFormat, errorStrings: n });
|
|
7872
7872
|
break;
|
|
7873
7873
|
}
|
|
7874
7874
|
case y.BarSeries:
|
|
@@ -7934,7 +7934,7 @@ function al(t) {
|
|
|
7934
7934
|
break;
|
|
7935
7935
|
}
|
|
7936
7936
|
case y.GaugeSeries: {
|
|
7937
|
-
e instanceof kt && (
|
|
7937
|
+
e instanceof kt && (li(d), ux({
|
|
7938
7938
|
chart: e,
|
|
7939
7939
|
chartConfig: i,
|
|
7940
7940
|
data: u?.dataItems ?? [],
|
|
@@ -7978,7 +7978,7 @@ function mf(t) {
|
|
|
7978
7978
|
break;
|
|
7979
7979
|
}
|
|
7980
7980
|
case y.LineSeries: {
|
|
7981
|
-
|
|
7981
|
+
li(s), c = aS({
|
|
7982
7982
|
...h,
|
|
7983
7983
|
chart: e,
|
|
7984
7984
|
chartConfig: i,
|
|
@@ -8207,7 +8207,7 @@ function gf(t) {
|
|
|
8207
8207
|
function Zx(t) {
|
|
8208
8208
|
const { chartContainer: e, chartConfig: i, queryObject: a, colorMatchApplied: o, dataInfo: n, t9nStrings: s, options: r, globalOptions: l } = t, { errorStrings: c, utilsStrings: u, amChartsStrings: d } = s, f = ur(e, me);
|
|
8209
8209
|
f.id = i?.id ?? f.uid, ae(f.uid, { queryObject: a });
|
|
8210
|
-
const { t9nLocale: g } =
|
|
8210
|
+
const { t9nLocale: g } = Ea(f.htmlContainer ?? document.documentElement), h = So(f.htmlContainer ?? document.documentElement), b = or(f.htmlContainer ?? document.documentElement) === "rtl";
|
|
8211
8211
|
il({ chart: f, localeInfo: { locale: g, formatLocale: h, rtl: b }, chartLocale: d }), f.events.on(B.Inited, () => f.zoomOutButton.deepInvalidate());
|
|
8212
8212
|
const S = W(i?.series);
|
|
8213
8213
|
f instanceof me && S !== y.BoxPlotSeries && (f.maskBullets = !1);
|
|
@@ -8325,18 +8325,18 @@ function Jx(t) {
|
|
|
8325
8325
|
let G = !1;
|
|
8326
8326
|
const Y = jt(s?.data), U = Z(p);
|
|
8327
8327
|
if (ae(i.uid, { isNonAggregatedChart: !In(U) }), o) {
|
|
8328
|
-
const { count: Ce, data: Ye, queryConfig:
|
|
8328
|
+
const { count: Ce, data: Ye, queryConfig: hi } = s ?? {};
|
|
8329
8329
|
ae(i.uid, {
|
|
8330
8330
|
elementCount: Ce,
|
|
8331
|
-
queryConfig:
|
|
8331
|
+
queryConfig: hi,
|
|
8332
8332
|
timeIntervalInfo: Ye?.timeIntervalInfo,
|
|
8333
8333
|
serverLimitReached: Ye?.serverLimitReached
|
|
8334
8334
|
});
|
|
8335
8335
|
} else if (S === y.BarSeries || S === y.LineSeries || S === y.RadarSeries || S === y.ComboLineAndBarSeries || S === y.BoxPlotSeries) {
|
|
8336
8336
|
const Ce = Bd(b, p);
|
|
8337
|
-
if (Ce.length > 0 && (Wp(i.series, Ce), i.feedLegend(), G = !0),
|
|
8338
|
-
const { binTemporalData: Ye } = p[0], { unit:
|
|
8339
|
-
Ye === !1 &&
|
|
8337
|
+
if (Ce.length > 0 && (Wp(i.series, Ce), i.feedLegend(), G = !0), Ga(p[0])) {
|
|
8338
|
+
const { binTemporalData: Ye } = p[0], { unit: hi, size: pi } = p[0].temporalBinning ?? {};
|
|
8339
|
+
Ye === !1 && hi !== void 0 && pi !== void 0 && ae(i.uid, { timeIntervalInfo: { unit: hi, size: pi } });
|
|
8340
8340
|
}
|
|
8341
8341
|
}
|
|
8342
8342
|
const _ = N && !o, j = /* @__PURE__ */ new Map();
|
|
@@ -8498,11 +8498,11 @@ function iv(t) {
|
|
|
8498
8498
|
options: l,
|
|
8499
8499
|
globalOptions: c
|
|
8500
8500
|
} = t;
|
|
8501
|
-
|
|
8501
|
+
oo.commercialLicense = !(c?.showLicenseWatermark ?? c?.hideLicenseWatermark === !1), oo.queue = c?.queueChartCreation !== !1, oo.autoDispose = c?.autoDisposeChart === !0, c?.animationsEnabled || c?.animationEnabled || c?.useAnimatedCharts ? Sg(wl) : Cg(wl);
|
|
8502
8502
|
let u;
|
|
8503
8503
|
switch (W(i?.series)) {
|
|
8504
8504
|
case y.PieSeries:
|
|
8505
|
-
|
|
8505
|
+
li(n), u = Kx({
|
|
8506
8506
|
chartContainer: e,
|
|
8507
8507
|
chartConfig: i,
|
|
8508
8508
|
queryObject: n,
|
|
@@ -8515,7 +8515,7 @@ function iv(t) {
|
|
|
8515
8515
|
});
|
|
8516
8516
|
break;
|
|
8517
8517
|
case y.GaugeSeries:
|
|
8518
|
-
|
|
8518
|
+
li(n), u = Qx({
|
|
8519
8519
|
chartContainer: e,
|
|
8520
8520
|
chartConfig: i,
|
|
8521
8521
|
queryObject: n,
|
|
@@ -8589,7 +8589,7 @@ function av(t) {
|
|
|
8589
8589
|
dataInfo: Y
|
|
8590
8590
|
} = k, U = O(p.uid, "config"), _ = I?.series, j = _ !== void 0 ? W(_) : void 0;
|
|
8591
8591
|
if (p.isDisposed() || S === void 0 || !Dd(U, I))
|
|
8592
|
-
throw new
|
|
8592
|
+
throw new oi(Fa.ChartDisposed);
|
|
8593
8593
|
switch (j) {
|
|
8594
8594
|
case y.BoxPlotSeries:
|
|
8595
8595
|
case y.BarSeries:
|
|
@@ -8611,7 +8611,7 @@ function av(t) {
|
|
|
8611
8611
|
});
|
|
8612
8612
|
break;
|
|
8613
8613
|
case y.PieSeries:
|
|
8614
|
-
|
|
8614
|
+
li($), ev({
|
|
8615
8615
|
chart: p,
|
|
8616
8616
|
chartElements: S,
|
|
8617
8617
|
queryObject: $,
|
|
@@ -8625,7 +8625,7 @@ function av(t) {
|
|
|
8625
8625
|
});
|
|
8626
8626
|
break;
|
|
8627
8627
|
case y.GaugeSeries:
|
|
8628
|
-
|
|
8628
|
+
li($), tv({
|
|
8629
8629
|
chart: p,
|
|
8630
8630
|
chartElements: S,
|
|
8631
8631
|
newConfig: I,
|
|
@@ -8690,7 +8690,7 @@ function av(t) {
|
|
|
8690
8690
|
update: v,
|
|
8691
8691
|
dispose: C,
|
|
8692
8692
|
resetZoom: T,
|
|
8693
|
-
clearSelection: () =>
|
|
8693
|
+
clearSelection: () => ja({ chart: p }),
|
|
8694
8694
|
switchSelection: async () => await F(a.errorStrings),
|
|
8695
8695
|
setActionMode: (k, I) => Un({ chart: p, actionMode: k, cursorRange: I })
|
|
8696
8696
|
};
|
|
@@ -8737,11 +8737,11 @@ function cv(t) {
|
|
|
8737
8737
|
let e;
|
|
8738
8738
|
if (t != null) {
|
|
8739
8739
|
const i = t;
|
|
8740
|
-
if (i instanceof
|
|
8740
|
+
if (i instanceof Ma)
|
|
8741
8741
|
e = i.chart;
|
|
8742
8742
|
else {
|
|
8743
8743
|
const a = i.dataItem?.component;
|
|
8744
|
-
a instanceof
|
|
8744
|
+
a instanceof Ma && (e = a.chart);
|
|
8745
8745
|
}
|
|
8746
8746
|
}
|
|
8747
8747
|
return e;
|
|
@@ -8802,7 +8802,7 @@ function fv(t, e) {
|
|
|
8802
8802
|
function Be(t, e) {
|
|
8803
8803
|
return ga(t, e);
|
|
8804
8804
|
}
|
|
8805
|
-
function
|
|
8805
|
+
function Ta(t, e) {
|
|
8806
8806
|
ma(t, e);
|
|
8807
8807
|
}
|
|
8808
8808
|
function mv(t, e) {
|
|
@@ -8852,7 +8852,7 @@ function fe(t) {
|
|
|
8852
8852
|
function lt(t, e) {
|
|
8853
8853
|
return `${t}${e}`;
|
|
8854
8854
|
}
|
|
8855
|
-
function
|
|
8855
|
+
function mi(t, e = 100) {
|
|
8856
8856
|
return setTimeout(() => t(), e);
|
|
8857
8857
|
}
|
|
8858
8858
|
function bf(t, e) {
|
|
@@ -9309,7 +9309,7 @@ function Ro(t) {
|
|
|
9309
9309
|
}
|
|
9310
9310
|
function Tf(t) {
|
|
9311
9311
|
let e = !1, i;
|
|
9312
|
-
if (t.target.dataItem?.component instanceof
|
|
9312
|
+
if (t.target.dataItem?.component instanceof Ma ? { chart: i } = t.target.dataItem.component : t.target.dataItem?.component instanceof Ee ? i = t.target.dataItem.component.chart : (t.target instanceof qd || t.target instanceof Nr) && ({ chart: i } = t.target), i instanceof le || i instanceof Qt) {
|
|
9313
9313
|
const a = w(i.uid, "actionMode");
|
|
9314
9314
|
if (a !== void 0) {
|
|
9315
9315
|
const { originalEvent: o } = t;
|
|
@@ -9325,7 +9325,7 @@ function we(t) {
|
|
|
9325
9325
|
const r = Yt(e.uid, "selected") ?? !1;
|
|
9326
9326
|
s = r, a !== !0 ? o === !0 ? s = r ? !1 : r !== i : s = i : s = r !== i;
|
|
9327
9327
|
const l = n === !0 ? rt.Default : rt.CustomInactive;
|
|
9328
|
-
if (e.states.apply(rt.Default), e.states.apply(s ? rt.CustomActive : l), s !== r && (fv(e.uid, { selected: s }), s && (e.toFront(), e.dataItem?.component instanceof
|
|
9328
|
+
if (e.states.apply(rt.Default), e.states.apply(s ? rt.CustomActive : l), s !== r && (fv(e.uid, { selected: s }), s && (e.toFront(), e.dataItem?.component instanceof Ma))) {
|
|
9329
9329
|
const c = e.dataItem.component, u = c.chart;
|
|
9330
9330
|
(u ? w(u.uid, "config") : void 0)?.series[0]?.type !== y.HistogramSeries && c.toFront(), c instanceof se && c.bulletsContainer.toFront();
|
|
9331
9331
|
}
|
|
@@ -9355,7 +9355,7 @@ function _t(t) {
|
|
|
9355
9355
|
}
|
|
9356
9356
|
return n;
|
|
9357
9357
|
}
|
|
9358
|
-
function
|
|
9358
|
+
function Pa(t) {
|
|
9359
9359
|
const { value: e, valueFormat: i, formatLocale: a, root: o } = t;
|
|
9360
9360
|
let n = e?.toString();
|
|
9361
9361
|
const s = _t({
|
|
@@ -9474,7 +9474,7 @@ function $v(t) {
|
|
|
9474
9474
|
scatterplotTooltipFormatter: o ?? Ov(t)
|
|
9475
9475
|
});
|
|
9476
9476
|
}
|
|
9477
|
-
function
|
|
9477
|
+
function qa(t, e) {
|
|
9478
9478
|
const { y: i, query: a } = e, n = Z(t.series) === V.BarAndLineSplitByNoAggregation ? `${i.toString()}_${Ti({ where: a?.where, keepSurroundingQuotes: !1, escape: !1 })}` : [i].flat()[0], s = L.xAxisField, r = t.rotated === !0 ? "categoryYField" : "categoryXField", l = t.rotated === !0 ? "valueYField" : "valueXField", c = t.axes?.[0]?.valueFormat?.type === y.CategoryAxisFormat ? r : l, u = t.rotated === !0 ? "valueXField" : "valueYField";
|
|
9479
9479
|
return { xField: s, yField: n, xAxisField: c, yAxisField: u };
|
|
9480
9480
|
}
|
|
@@ -9547,7 +9547,7 @@ function ll(t) {
|
|
|
9547
9547
|
}
|
|
9548
9548
|
}
|
|
9549
9549
|
}
|
|
9550
|
-
function
|
|
9550
|
+
function Za(t, e) {
|
|
9551
9551
|
t.set("name", e);
|
|
9552
9552
|
}
|
|
9553
9553
|
function Bv(t) {
|
|
@@ -9631,10 +9631,10 @@ function cl(t) {
|
|
|
9631
9631
|
const l = Jt(n.query?.where);
|
|
9632
9632
|
r = vr({ queryObject: o, fieldName: l, fieldValue: r }) ?? r;
|
|
9633
9633
|
}
|
|
9634
|
-
|
|
9634
|
+
Za(i, r);
|
|
9635
9635
|
}
|
|
9636
9636
|
}
|
|
9637
|
-
function
|
|
9637
|
+
function Ka(t, e) {
|
|
9638
9638
|
const i = W(e?.series);
|
|
9639
9639
|
let a, o;
|
|
9640
9640
|
return e?.series.forEach((n, s) => {
|
|
@@ -9664,13 +9664,13 @@ function Df(t, e) {
|
|
|
9664
9664
|
};
|
|
9665
9665
|
t.on("x", i), t.on("y", i);
|
|
9666
9666
|
}
|
|
9667
|
-
function
|
|
9667
|
+
function Qa(t, e) {
|
|
9668
9668
|
let i = e;
|
|
9669
9669
|
i === void 0 && (i = w(t.uid, "config"));
|
|
9670
9670
|
const a = w(t.uid, "colorMatchApplied") ?? !1;
|
|
9671
9671
|
return (i?.colorMatch ?? !1) && a;
|
|
9672
9672
|
}
|
|
9673
|
-
function
|
|
9673
|
+
function Va(t, e) {
|
|
9674
9674
|
t.set("turboMode", e === !0);
|
|
9675
9675
|
}
|
|
9676
9676
|
function Hv() {
|
|
@@ -9692,7 +9692,7 @@ function zv(t) {
|
|
|
9692
9692
|
let r;
|
|
9693
9693
|
const l = w(a.chart?.uid ?? 0, "rtl") ?? !1, c = $t(l);
|
|
9694
9694
|
return s === !1 ? r = (u, d, f) => "" : r = (u, d, f) => {
|
|
9695
|
-
const g = $e(o, i.x), h =
|
|
9695
|
+
const g = $e(o, i.x), h = Na(g, e?.[0].title?.content?.text), b = Na(n?.statistics.count ?? "", e?.[1]?.title?.content?.text ?? ""), p = re(
|
|
9696
9696
|
a.uid,
|
|
9697
9697
|
"tooltipValueXNumberFormatCallback"
|
|
9698
9698
|
), S = re(
|
|
@@ -9834,7 +9834,7 @@ function Uv(t) {
|
|
|
9834
9834
|
const l = i.dataItem;
|
|
9835
9835
|
if (l !== void 0) {
|
|
9836
9836
|
const c = l, u = c.get("category") ?? "", d = l.dataContext;
|
|
9837
|
-
let f =
|
|
9837
|
+
let f = ri(d);
|
|
9838
9838
|
f === void 0 && (f = u);
|
|
9839
9839
|
const g = c.get("value"), h = c.get("valuePercentTotal");
|
|
9840
9840
|
typeof g == "number" && g !== 0 && n?.series?.[0]?.dataTooltipVisible !== !1 ? (i.set("disabled", !1), Yv(c.get("slice")), a = r(u, g, h, f)) : i.set("disabled", !0);
|
|
@@ -10023,7 +10023,7 @@ function Qv(t) {
|
|
|
10023
10023
|
});
|
|
10024
10024
|
}
|
|
10025
10025
|
function wc(t, e) {
|
|
10026
|
-
const i = w(e.chart?.uid ?? Number.NaN, "config"), { seriesConfig: a } = i ?
|
|
10026
|
+
const i = w(e.chart?.uid ?? Number.NaN, "config"), { seriesConfig: a } = i ? Ka(e, i) : { seriesConfig: void 0 }, o = a?.dataTooltipFontSize ?? L.tooltipFontSize;
|
|
10027
10027
|
t.label.get("fontSize") !== o && t.label.set("fontSize", o);
|
|
10028
10028
|
}
|
|
10029
10029
|
function wo(t) {
|
|
@@ -10055,7 +10055,7 @@ function eL(t, e) {
|
|
|
10055
10055
|
if (i && t) {
|
|
10056
10056
|
const a = w(i.uid, "config");
|
|
10057
10057
|
if (a) {
|
|
10058
|
-
const { seriesConfig: o } =
|
|
10058
|
+
const { seriesConfig: o } = Ka(e, a);
|
|
10059
10059
|
if (o) {
|
|
10060
10060
|
const { dataTooltipReverseColor: n } = o;
|
|
10061
10061
|
Pf(t, n);
|
|
@@ -10074,13 +10074,13 @@ function tL(t) {
|
|
|
10074
10074
|
const r = s.get("valueX"), l = s.get("valueY"), c = s.get("valueXTotalPercent"), u = s.get("valueYTotalPercent"), d = o ? r : l;
|
|
10075
10075
|
let f;
|
|
10076
10076
|
o && typeof c == "number" ? f = c : !o && typeof u == "number" && (f = u), f && (f /= 100);
|
|
10077
|
-
const g = s.dataContext ?? {}, h = w(i.chart?.uid ?? 0, "config"), b = w(i.chart?.uid ?? 0, "rendererFieldNames"), p =
|
|
10077
|
+
const g = s.dataContext ?? {}, h = w(i.chart?.uid ?? 0, "config"), b = w(i.chart?.uid ?? 0, "rendererFieldNames"), p = si({
|
|
10078
10078
|
value: vn(Z([e]), e),
|
|
10079
10079
|
dataContext: g,
|
|
10080
|
-
useRendererLabel:
|
|
10080
|
+
useRendererLabel: Ra(h, b),
|
|
10081
10081
|
config: h
|
|
10082
10082
|
});
|
|
10083
|
-
let S =
|
|
10083
|
+
let S = ri(g);
|
|
10084
10084
|
S === void 0 && (S = p);
|
|
10085
10085
|
const C = g[L.dateBinningRange];
|
|
10086
10086
|
if (S !== void 0 || d !== void 0 || f !== void 0 || C !== void 0)
|
|
@@ -10108,7 +10108,7 @@ function Do(t) {
|
|
|
10108
10108
|
let o;
|
|
10109
10109
|
const { chart: n } = i;
|
|
10110
10110
|
if (n !== void 0) {
|
|
10111
|
-
const r = w(n.uid, "config"), { seriesConfig: l } =
|
|
10111
|
+
const r = w(n.uid, "config"), { seriesConfig: l } = Ka(i, r), { dataTooltipVisible: c } = l ?? {};
|
|
10112
10112
|
if (c === !1 || !l || !lv(i))
|
|
10113
10113
|
o = "", Dc(e, !0);
|
|
10114
10114
|
else
|
|
@@ -10206,12 +10206,12 @@ function aL(t) {
|
|
|
10206
10206
|
dateRange: l,
|
|
10207
10207
|
xAxisValueFormat: i,
|
|
10208
10208
|
isTimeOnlyField: c
|
|
10209
|
-
}) : bt(i) ? c && typeof r == "number" ? f = new Date(r).toLocaleTimeString(g) : (r instanceof Date || typeof r == "number" && Number.isFinite(r)) && (f =
|
|
10209
|
+
}) : bt(i) ? c && typeof r == "number" ? f = new Date(r).toLocaleTimeString(g) : (r instanceof Date || typeof r == "number" && Number.isFinite(r)) && (f = Pa({
|
|
10210
10210
|
root: d,
|
|
10211
10211
|
value: r,
|
|
10212
10212
|
valueFormat: n ?? i,
|
|
10213
10213
|
formatLocale: g
|
|
10214
|
-
})) : typeof r == "number" && Oe(i) ? f =
|
|
10214
|
+
})) : typeof r == "number" && Oe(i) ? f = Pa({
|
|
10215
10215
|
root: d,
|
|
10216
10216
|
value: r,
|
|
10217
10217
|
valueFormat: o ?? i,
|
|
@@ -10230,7 +10230,7 @@ function oL(t) {
|
|
|
10230
10230
|
} = t, l = i.chart?.uid ?? 0, { root: c } = i;
|
|
10231
10231
|
let u = s;
|
|
10232
10232
|
u === void 0 && (Oe(n) && n ? (u = n, e && (u.intlOptions.style = "decimal")) : u = Dr());
|
|
10233
|
-
const d = w(l, "formatLocale"), f = a !== void 0 ?
|
|
10233
|
+
const d = w(l, "formatLocale"), f = a !== void 0 ? Pa({
|
|
10234
10234
|
root: c,
|
|
10235
10235
|
value: a,
|
|
10236
10236
|
valueFormat: u,
|
|
@@ -10239,7 +10239,7 @@ function oL(t) {
|
|
|
10239
10239
|
let g = "";
|
|
10240
10240
|
if (e && o !== void 0 && c !== void 0) {
|
|
10241
10241
|
let h = r;
|
|
10242
|
-
h === void 0 && (h = Dn(), h.intlOptions.minimumFractionDigits = 2, h.intlOptions.maximumFractionDigits = 2), g =
|
|
10242
|
+
h === void 0 && (h = Dn(), h.intlOptions.minimumFractionDigits = 2, h.intlOptions.maximumFractionDigits = 2), g = Pa({
|
|
10243
10243
|
root: c,
|
|
10244
10244
|
value: o,
|
|
10245
10245
|
valueFormat: h,
|
|
@@ -10256,7 +10256,7 @@ function nL(t) {
|
|
|
10256
10256
|
if (g !== void 0) {
|
|
10257
10257
|
const { dataTooltipVisible: h } = n, b = o instanceof se ? n.markerVisible : void 0;
|
|
10258
10258
|
if (h !== !1 && b !== !1) {
|
|
10259
|
-
const p = g.axes, S = p[0].valueFormat, C = p[1].valueFormat, x = i?.find((N) => N.name === n.x)?.type === wn.TimeOnly, v = Z(g.series), F = st(g) === te.Stacked100, T = it(a), k = na(T).idField, I = $e(i, n.x), D =
|
|
10259
|
+
const p = g.axes, S = p[0].valueFormat, C = p[1].valueFormat, x = i?.find((N) => N.name === n.x)?.type === wn.TimeOnly, v = Z(g.series), F = st(g) === te.Stacked100, T = it(a), k = na(T).idField, I = $e(i, n.x), D = Na(I, p[0].title?.content.text), R = Du({
|
|
10260
10260
|
config: g,
|
|
10261
10261
|
fieldList: i,
|
|
10262
10262
|
objectIdField: k,
|
|
@@ -10473,7 +10473,7 @@ function fL(t) {
|
|
|
10473
10473
|
valueXField: p,
|
|
10474
10474
|
valueYField: S
|
|
10475
10475
|
}), i.data.setAll(a.trendLinePoints ?? L.scatterplotSeries.trendLinePoints);
|
|
10476
|
-
const C = Number.isFinite(a.r2) ?
|
|
10476
|
+
const C = Number.isFinite(a.r2) ? Pa({
|
|
10477
10477
|
root: e,
|
|
10478
10478
|
value: a.r2 ?? h.r2,
|
|
10479
10479
|
valueFormat: s,
|
|
@@ -10516,7 +10516,7 @@ function mL(t) {
|
|
|
10516
10516
|
data: d,
|
|
10517
10517
|
htmlContainer: e.dom,
|
|
10518
10518
|
chartId: a.chart?.get("id"),
|
|
10519
|
-
colorMatchApplied:
|
|
10519
|
+
colorMatchApplied: Qa(o)
|
|
10520
10520
|
});
|
|
10521
10521
|
}
|
|
10522
10522
|
}
|
|
@@ -10608,7 +10608,7 @@ function ji(t) {
|
|
|
10608
10608
|
const { chart: e, selectionSource: i } = t;
|
|
10609
10609
|
pt(e.uid, {
|
|
10610
10610
|
pendingSelectionQueries: !1
|
|
10611
|
-
}), sl(e) && pL(e), w(e.uid, "options")?.selectionData?.selectionItems?.[0] &&
|
|
10611
|
+
}), sl(e) && pL(e), w(e.uid, "options")?.selectionData?.selectionItems?.[0] && Xa({
|
|
10612
10612
|
data: {
|
|
10613
10613
|
selectionSource: i ?? pe.ClearSelection
|
|
10614
10614
|
},
|
|
@@ -10635,7 +10635,7 @@ function fl(t) {
|
|
|
10635
10635
|
if (a) {
|
|
10636
10636
|
const o = W(a?.series);
|
|
10637
10637
|
let n = [];
|
|
10638
|
-
o === y.HistogramSeries ? n = [lo.Count] : o === y.HeatSeries ? n = [Re.valueField] : n =
|
|
10638
|
+
o === y.HistogramSeries ? n = [lo.Count] : o === y.HeatSeries ? n = [Re.valueField] : n = fi(a?.series, [t.get("id") ?? ""]), e = t.columns.values.filter((s) => {
|
|
10639
10639
|
let r = !1;
|
|
10640
10640
|
const l = s.dataItem?.dataContext;
|
|
10641
10641
|
return l && (r = o === y.HeatSeries || n.some((c) => c in l && Number.isFinite(l[c]))), r;
|
|
@@ -10656,7 +10656,7 @@ function Wf(t, e) {
|
|
|
10656
10656
|
});
|
|
10657
10657
|
}
|
|
10658
10658
|
function yL(t) {
|
|
10659
|
-
const { chart: e, selectionIndexes: i, queryObject: a } = t, o = [], n = [], s = w(e.uid, "config"), r = ki(s), l =
|
|
10659
|
+
const { chart: e, selectionIndexes: i, queryObject: a } = t, o = [], n = [], s = w(e.uid, "config"), r = ki(s), l = fi(s?.series ?? []), c = Z(s?.series), u = W(s?.series);
|
|
10660
10660
|
return e.series.each((d, f) => {
|
|
10661
10661
|
if (s && i && Ro(d) && d.get("visible") === !0) {
|
|
10662
10662
|
const g = s.series[0].x, h = pa(d), b = i.get(f);
|
|
@@ -10703,7 +10703,7 @@ function SL(t) {
|
|
|
10703
10703
|
};
|
|
10704
10704
|
e.series.each((u) => {
|
|
10705
10705
|
if (Ro(u)) {
|
|
10706
|
-
const { seriesConfig: d } =
|
|
10706
|
+
const { seriesConfig: d } = Ka(u, i);
|
|
10707
10707
|
if (d) {
|
|
10708
10708
|
const f = d.query?.where ?? "", g = d.x, h = d.type === y.BoxPlotSeries || d.type === y.HeatSeries ? d.y.toString() : pa(u);
|
|
10709
10709
|
fl(u).forEach((p) => {
|
|
@@ -10720,10 +10720,10 @@ function SL(t) {
|
|
|
10720
10720
|
function CL(t) {
|
|
10721
10721
|
const { chart: e, chartConfig: i, options: a, selectionItems: o, layerOidField: n, queryObject: s } = t, r = W(i.series), l = Z(i.series), c = ki(i), u = An(i), d = [];
|
|
10722
10722
|
let f = [];
|
|
10723
|
-
const g = /* @__PURE__ */ new Map(), h =
|
|
10723
|
+
const g = /* @__PURE__ */ new Map(), h = fi(i.series);
|
|
10724
10724
|
return e.series.each((b, p) => {
|
|
10725
10725
|
if (Ro(b)) {
|
|
10726
|
-
const { seriesConfig: S } =
|
|
10726
|
+
const { seriesConfig: S } = Ka(b, i);
|
|
10727
10727
|
if (S) {
|
|
10728
10728
|
const C = [], x = S.query?.where ?? "", v = S.x, F = S.type === y.BoxPlotSeries || S.type === y.HeatSeries ? S.y.toString() : pa(b), T = fl(b);
|
|
10729
10729
|
T.forEach((I, D) => {
|
|
@@ -10753,7 +10753,7 @@ function CL(t) {
|
|
|
10753
10753
|
showOutliers: c,
|
|
10754
10754
|
timeAggregationType: u
|
|
10755
10755
|
}))
|
|
10756
|
-
if (d.push(I), C.push(D), r === y.BoxPlotSeries && I?.dataItem instanceof
|
|
10756
|
+
if (d.push(I), C.push(D), r === y.BoxPlotSeries && I?.dataItem instanceof Ha)
|
|
10757
10757
|
f.push(R);
|
|
10758
10758
|
else {
|
|
10759
10759
|
const M = /* @__PURE__ */ new Set();
|
|
@@ -10859,7 +10859,7 @@ function Zn(t) {
|
|
|
10859
10859
|
selectionItems: T,
|
|
10860
10860
|
selectionSource: pe.ProgrammaticSelection
|
|
10861
10861
|
};
|
|
10862
|
-
u === !0 && k && (R.selectionIndexes = k), d !== !1 && C && (R.selectionOIDs = C), x?.[0] && (R.selectionFilters = x),
|
|
10862
|
+
u === !0 && k && (R.selectionIndexes = k), d !== !1 && C && (R.selectionOIDs = C), x?.[0] && (R.selectionFilters = x), Xa({
|
|
10863
10863
|
data: R,
|
|
10864
10864
|
htmlContainer: e.root.dom
|
|
10865
10865
|
});
|
|
@@ -10870,9 +10870,9 @@ function Zn(t) {
|
|
|
10870
10870
|
async function Oo(t) {
|
|
10871
10871
|
const { chart: e, selectionSource: i, errorStrings: a } = t, o = w(e.uid, "config"), n = w(e.uid, "queryObject"), s = _e(n);
|
|
10872
10872
|
if (o && n) {
|
|
10873
|
-
const r = w(e.uid, "options"), l = W(o.series), c = Z(o.series), u = ki(o), d =
|
|
10873
|
+
const r = w(e.uid, "options"), l = W(o.series), c = Z(o.series), u = ki(o), d = fi(o.series), f = o.series[0].x, g = Ki(n), h = s ? void 0 : Rn(it(n))?.dateFieldsTimeZone;
|
|
10874
10874
|
let b;
|
|
10875
|
-
Rt(o) ? b = o.outTimeZone :
|
|
10875
|
+
Rt(o) ? b = o.outTimeZone : Ga(o.series[0]) && (b = o.series[0].temporalBinning?.outTimeZone);
|
|
10876
10876
|
const p = it(n), S = "objectIdField" in p ? p.objectIdField : void 0, C = Lt(n), x = C.find((F) => F.name === f)?.type, v = C.find((F) => F.name === d[0])?.type;
|
|
10877
10877
|
try {
|
|
10878
10878
|
const F = /* @__PURE__ */ new Set();
|
|
@@ -10880,7 +10880,7 @@ async function Oo(t) {
|
|
|
10880
10880
|
const k = /* @__PURE__ */ new Map(), I = [], D = [];
|
|
10881
10881
|
let R = [], $ = 0;
|
|
10882
10882
|
if (e.series.each((M, N) => {
|
|
10883
|
-
const { seriesConfig: P } =
|
|
10883
|
+
const { seriesConfig: P } = Ka(M, o), X = P?.query?.where ?? "", G = P?.type === y.BoxPlotSeries ? P.y.toString() : pa(M);
|
|
10884
10884
|
let Y;
|
|
10885
10885
|
M instanceof se ? Y = M.dataItems : M instanceof Se ? Y = M.columns.values : M instanceof et && (Y = M.slices.values), Y?.forEach((U, _) => {
|
|
10886
10886
|
const j = U instanceof Is || U instanceof _l ? U : U.bullets?.[0]?.get("sprite");
|
|
@@ -10959,14 +10959,14 @@ async function Oo(t) {
|
|
|
10959
10959
|
chartConfig: o,
|
|
10960
10960
|
layer: n,
|
|
10961
10961
|
selectionItems: T
|
|
10962
|
-
})),
|
|
10962
|
+
})), Xa({
|
|
10963
10963
|
data: M,
|
|
10964
10964
|
htmlContainer: e.root.dom
|
|
10965
10965
|
});
|
|
10966
10966
|
}
|
|
10967
10967
|
} catch (F) {
|
|
10968
10968
|
pt(e.uid, { pendingSelectionQueries: !1 });
|
|
10969
|
-
const { httpStatus: T } = F instanceof
|
|
10969
|
+
const { httpStatus: T } = F instanceof oi ? F.details.details : F.details ?? {};
|
|
10970
10970
|
if (T === 429)
|
|
10971
10971
|
bL(e);
|
|
10972
10972
|
else
|
|
@@ -11133,7 +11133,7 @@ function IL(t, e) {
|
|
|
11133
11133
|
function _f(t, e) {
|
|
11134
11134
|
e !== void 0 && (e.marginBottom !== void 0 && t.set("marginBottom", e.marginBottom), e.marginTop !== void 0 && t.set("marginTop", e.marginTop), e.marginRight !== void 0 && t.set("marginRight", e.marginRight), e.marginLeft !== void 0 && t.set("marginLeft", e.marginLeft), e.verticalCenter !== void 0 && t.set("y", Lf(e.verticalCenter)), e.horizontalCenter !== void 0 && t.set("x", vf(e.horizontalCenter)), e.strokeWidth !== void 0 && t.get("background")?.set("strokeWidth", e.strokeWidth), e.paddingBottom !== void 0 && t.set("paddingBottom", e.paddingBottom), e.paddingTop !== void 0 && t.set("paddingTop", e.paddingTop), e.paddingLeft !== void 0 && t.set("paddingLeft", e.paddingLeft), e.paddingRight !== void 0 && t.set("paddingRight", e.paddingRight), e.maxWidth !== void 0 && t.set("maxWidth", e.maxWidth));
|
|
11135
11135
|
}
|
|
11136
|
-
function
|
|
11136
|
+
function Wa(t) {
|
|
11137
11137
|
const { root: e, parent: i, defaults: a, index: o, id: n } = t, s = nt.new(e, {
|
|
11138
11138
|
text: "",
|
|
11139
11139
|
textAlign: "center",
|
|
@@ -11534,7 +11534,7 @@ function hl(t, e) {
|
|
|
11534
11534
|
}
|
|
11535
11535
|
}
|
|
11536
11536
|
function VL(t) {
|
|
11537
|
-
t !== void 0 &&
|
|
11537
|
+
t !== void 0 && mi(() => {
|
|
11538
11538
|
hl(t);
|
|
11539
11539
|
});
|
|
11540
11540
|
}
|
|
@@ -11685,7 +11685,7 @@ function _L(t) {
|
|
|
11685
11685
|
data: u,
|
|
11686
11686
|
htmlContainer: n.dom,
|
|
11687
11687
|
chartId: s.get("id"),
|
|
11688
|
-
colorMatchApplied:
|
|
11688
|
+
colorMatchApplied: Qa(s)
|
|
11689
11689
|
});
|
|
11690
11690
|
}
|
|
11691
11691
|
}
|
|
@@ -11703,7 +11703,7 @@ function Eo(t) {
|
|
|
11703
11703
|
yAxis: a,
|
|
11704
11704
|
visible: !1
|
|
11705
11705
|
});
|
|
11706
|
-
return o === Ie.Normal &&
|
|
11706
|
+
return o === Ie.Normal && Za(s, n.overlays.normal), Ge(s.uid, { isOverlay: !0, type: o }), s.set("connect", !1), s;
|
|
11707
11707
|
}
|
|
11708
11708
|
function XL(t) {
|
|
11709
11709
|
const { root: e, seriesConfig: i, xAxis: a, yAxis: o, options: n, chartConfig: s, errorStrings: r } = t, { id: l, name: c } = i, u = Se.new(e, {
|
|
@@ -11825,13 +11825,13 @@ function UL(t) {
|
|
|
11825
11825
|
f = o.overlays.stdDev;
|
|
11826
11826
|
break;
|
|
11827
11827
|
}
|
|
11828
|
-
const g = w(e.chart?.uid ?? Number.NaN, "formatLocale"), h =
|
|
11828
|
+
const g = w(e.chart?.uid ?? Number.NaN, "formatLocale"), h = Pa({
|
|
11829
11829
|
root: e.root,
|
|
11830
11830
|
value: d,
|
|
11831
11831
|
valueFormat: Yd(),
|
|
11832
11832
|
formatLocale: g
|
|
11833
11833
|
}), b = `${f}: ${h}`;
|
|
11834
|
-
|
|
11834
|
+
Za(e, b);
|
|
11835
11835
|
}
|
|
11836
11836
|
}
|
|
11837
11837
|
}
|
|
@@ -11870,7 +11870,7 @@ function jL(t) {
|
|
|
11870
11870
|
}
|
|
11871
11871
|
function qL(t) {
|
|
11872
11872
|
const { series: e, seriesConfig: i, seriesWereReinitialized: a, dataWasUpdated: o, data: n, options: s } = t;
|
|
11873
|
-
e.set("id", i.id), oe(e, i.visible), ze(e.columns.template, s?.selectionTheme),
|
|
11873
|
+
e.set("id", i.id), oe(e, i.visible), ze(e.columns.template, s?.selectionTheme), Za(e, i.name);
|
|
11874
11874
|
const r = n?.bins.find((l) => "symbol" in l)?.symbol;
|
|
11875
11875
|
Di(t) && Oi({
|
|
11876
11876
|
styleCallback: () => _L({ ...t, rendererSymbol: r }),
|
|
@@ -12059,7 +12059,7 @@ function s0(t) {
|
|
|
12059
12059
|
function r0(t) {
|
|
12060
12060
|
return t.get("renderer") instanceof Li ? Re.yField : Re.xField;
|
|
12061
12061
|
}
|
|
12062
|
-
function
|
|
12062
|
+
function ui(t) {
|
|
12063
12063
|
const { chart: e, label: i, labelType: a } = t, { legendTitle: o } = L.legendProperties, n = w(e.uid, "config");
|
|
12064
12064
|
let s = o.maxWidth ?? Number.NaN;
|
|
12065
12065
|
switch (a) {
|
|
@@ -12088,7 +12088,7 @@ function di(t) {
|
|
|
12088
12088
|
const r = w(e.uid, "options")?.truncateLongTitles === !0 && (a === q.ChartTitle || a === q.ChartSubTitle || a === q.ChartFooter);
|
|
12089
12089
|
if (r || a === q.YAxisTitle) {
|
|
12090
12090
|
const l = Number(i.get("fontSize")) || L.generalFontSize, c = l * 2.4, u = Math.max(1, Math.floor(s / Math.max(l * 0.5, 1)));
|
|
12091
|
-
if (
|
|
12091
|
+
if (Ta(i.uid, { textTruncationCharsPerLine: u }), Be(i.uid, "textTruncationAdapterDisposer") === void 0) {
|
|
12092
12092
|
const d = i.adapters.add(
|
|
12093
12093
|
"text",
|
|
12094
12094
|
(f) => ud({
|
|
@@ -12096,7 +12096,7 @@ function di(t) {
|
|
|
12096
12096
|
charsPerLine: Be(i.uid, "textTruncationCharsPerLine") ?? u
|
|
12097
12097
|
})
|
|
12098
12098
|
);
|
|
12099
|
-
|
|
12099
|
+
Ta(i.uid, { textTruncationAdapterDisposer: d });
|
|
12100
12100
|
}
|
|
12101
12101
|
i.setAll({
|
|
12102
12102
|
// Chart text uses a vertical cap independent of its horizontal width; the rotated y-axis title keeps its available-length cap.
|
|
@@ -12106,7 +12106,7 @@ function di(t) {
|
|
|
12106
12106
|
oversizedBehavior: "none"
|
|
12107
12107
|
});
|
|
12108
12108
|
} else
|
|
12109
|
-
(a === q.ChartTitle || a === q.ChartSubTitle || a === q.ChartFooter) && (Be(i.uid, "textTruncationAdapterDisposer")?.dispose(),
|
|
12109
|
+
(a === q.ChartTitle || a === q.ChartSubTitle || a === q.ChartFooter) && (Be(i.uid, "textTruncationAdapterDisposer")?.dispose(), Ta(i.uid, {
|
|
12110
12110
|
textTruncationAdapterDisposer: void 0,
|
|
12111
12111
|
textTruncationCharsPerLine: void 0
|
|
12112
12112
|
}), i.setAll({ maxHeight: void 0, breakWords: void 0 })), i.setAll({
|
|
@@ -12117,9 +12117,9 @@ function di(t) {
|
|
|
12117
12117
|
}
|
|
12118
12118
|
function aa(t) {
|
|
12119
12119
|
const { chart: e } = t;
|
|
12120
|
-
|
|
12120
|
+
ui(t), e.events.onDebounced(
|
|
12121
12121
|
ne.BoundsChanged,
|
|
12122
|
-
() =>
|
|
12122
|
+
() => ui(t),
|
|
12123
12123
|
L.debounceTime
|
|
12124
12124
|
);
|
|
12125
12125
|
}
|
|
@@ -12192,7 +12192,7 @@ function Ys(t) {
|
|
|
12192
12192
|
const p = n > 0 && s > 0 && (e ? o > 0 : a > 0);
|
|
12193
12193
|
return { location: d, centerX: f, centerY: g, dx: h, dy: b, offsetsReady: p };
|
|
12194
12194
|
}
|
|
12195
|
-
function
|
|
12195
|
+
function ka(t, e) {
|
|
12196
12196
|
const i = e.get("axisFill"), a = e.get("label");
|
|
12197
12197
|
if (i !== void 0 && a !== void 0) {
|
|
12198
12198
|
const o = Be(a.uid, "guideLabelConfig"), n = Be(a.uid, "guideType"), s = t.get("renderer") instanceof ut, r = n === K.SFS, l = Math.round(i.width()), c = Math.round(i.height()), u = Math.round(a.height()), d = Math.round(a.width()), { horizontalAlignment: f, verticalAlignment: g, xoffset: h, yoffset: b } = o ?? {}, { location: p, centerX: S, centerY: C, dx: x, dy: v, offsetsReady: F } = Ys({
|
|
@@ -12258,24 +12258,24 @@ function c0(t) {
|
|
|
12258
12258
|
const s = e.get("renderer") instanceof ut ? o.yAxes.getIndex(0) : o.xAxes.getIndex(0);
|
|
12259
12259
|
s && (s.events.onDebounced(
|
|
12260
12260
|
ne.BoundsChanged,
|
|
12261
|
-
() =>
|
|
12261
|
+
() => ka(e, i),
|
|
12262
12262
|
L.debounceTime
|
|
12263
12263
|
), e.events.onDebounced(
|
|
12264
12264
|
ne.BoundsChanged,
|
|
12265
|
-
() =>
|
|
12265
|
+
() => ka(e, i),
|
|
12266
12266
|
L.debounceTime
|
|
12267
12267
|
));
|
|
12268
12268
|
}
|
|
12269
12269
|
i.get("axisFill")?.events.onDebounced(
|
|
12270
12270
|
ne.BoundsChanged,
|
|
12271
|
-
() =>
|
|
12271
|
+
() => ka(e, i),
|
|
12272
12272
|
L.debounceTime
|
|
12273
12273
|
), a.setAll(L.guideLabelPadding);
|
|
12274
12274
|
}
|
|
12275
12275
|
function d0(t) {
|
|
12276
12276
|
const { guide: e, axis: i, guideLabelConfig: a, guideType: o } = t, n = e.get("label");
|
|
12277
12277
|
if (n !== void 0) {
|
|
12278
|
-
_f(n), n.set("layer", L.zIndexes.defaultLayer30),
|
|
12278
|
+
_f(n), n.set("layer", L.zIndexes.defaultLayer30), Ta(n.uid, { isGuide: !0, guideLabelConfig: a, guideType: o });
|
|
12279
12279
|
const { chart: s } = i;
|
|
12280
12280
|
s !== void 0 && aa({
|
|
12281
12281
|
chart: s,
|
|
@@ -12290,7 +12290,7 @@ function u0(t) {
|
|
|
12290
12290
|
if (a.label !== void 0) {
|
|
12291
12291
|
const s = e.get("renderer") instanceof ut;
|
|
12292
12292
|
let r;
|
|
12293
|
-
e instanceof ei || (s ? o === K.SFS ? r = L.verticalSurfaceGuideLabels : r = L.verticalLineGuideLabels : o === K.SFS ? r = L.horizontalSurfaceGuideLabels : r = L.horizontalLineGuideLabels),
|
|
12293
|
+
e instanceof ei || (s ? o === K.SFS ? r = L.verticalSurfaceGuideLabels : r = L.verticalLineGuideLabels : o === K.SFS ? r = L.horizontalSurfaceGuideLabels : r = L.horizontalLineGuideLabels), Ta(n.uid, { guideLabelConfig: a.label, guideType: o });
|
|
12294
12294
|
const l = {
|
|
12295
12295
|
type: y.Text,
|
|
12296
12296
|
visible: a.visible,
|
|
@@ -12306,10 +12306,10 @@ function u0(t) {
|
|
|
12306
12306
|
rightToLeft: n.get("direction") === "rtl"
|
|
12307
12307
|
}
|
|
12308
12308
|
};
|
|
12309
|
-
Mt({ label: n, labelConfig: l, defaults: r, skipSettingAbsoluteXY: !0 }),
|
|
12310
|
-
|
|
12309
|
+
Mt({ label: n, labelConfig: l, defaults: r, skipSettingAbsoluteXY: !0 }), ka(e, i), n.events.once(ne.BoundsChanged, () => {
|
|
12310
|
+
ka(e, i);
|
|
12311
12311
|
}), e.root.events.once(ne.FrameEnded, () => {
|
|
12312
|
-
|
|
12312
|
+
ka(e, i);
|
|
12313
12313
|
});
|
|
12314
12314
|
} else
|
|
12315
12315
|
oe(n, !1);
|
|
@@ -12482,7 +12482,7 @@ function p0(t) {
|
|
|
12482
12482
|
}
|
|
12483
12483
|
}
|
|
12484
12484
|
function Nc(t) {
|
|
12485
|
-
const { axis: e, valueFormat: i, chartType: a } = t, o =
|
|
12485
|
+
const { axis: e, valueFormat: i, chartType: a } = t, o = _a({
|
|
12486
12486
|
isXAxis: !0,
|
|
12487
12487
|
chartType: a,
|
|
12488
12488
|
valueFormat: i
|
|
@@ -12491,20 +12491,20 @@ function Nc(t) {
|
|
|
12491
12491
|
}
|
|
12492
12492
|
function am(t) {
|
|
12493
12493
|
const { dataContext: e, defaultValue: i, chartUID: a } = t;
|
|
12494
|
-
let o =
|
|
12495
|
-
const n = w(a, "config"), s = w(a, "rendererFieldNames"), r = W(n?.series), l = Z(n?.series), c =
|
|
12494
|
+
let o = ri(e);
|
|
12495
|
+
const n = w(a, "config"), s = w(a, "rendererFieldNames"), r = W(n?.series), l = Z(n?.series), c = ri(e) ?? o;
|
|
12496
12496
|
if (l === V.BarAndLineFromFields && typeof o == "string") {
|
|
12497
12497
|
const u = w(a, "fieldList");
|
|
12498
12498
|
o = $e(u, o);
|
|
12499
|
-
} else r === y.BoxPlotSeries && (l === V.BoxPlotC1MonoField || l === V.BoxPlotC2MultiFields || l === V.BoxPlotC5MonoFieldAndSplitBy || l === V.BoxPlotC6MultiFieldsAndSplitBy) ? o = e?.[Or] : r === y.HistogramSeries ? o = e?.[lo.Start] : (r === y.BarSeries || r === y.LineSeries || r === y.RadarSeries || r === y.ComboLineAndBarSeries) && n !== void 0 ? o =
|
|
12499
|
+
} else r === y.BoxPlotSeries && (l === V.BoxPlotC1MonoField || l === V.BoxPlotC2MultiFields || l === V.BoxPlotC5MonoFieldAndSplitBy || l === V.BoxPlotC6MultiFieldsAndSplitBy) ? o = e?.[Or] : r === y.HistogramSeries ? o = e?.[lo.Start] : (r === y.BarSeries || r === y.LineSeries || r === y.RadarSeries || r === y.ComboLineAndBarSeries) && n !== void 0 ? o = si({
|
|
12500
12500
|
value: vn(l, n?.series?.[0]),
|
|
12501
12501
|
dataContext: e,
|
|
12502
|
-
useRendererLabel:
|
|
12502
|
+
useRendererLabel: Ra(n, s),
|
|
12503
12503
|
config: n
|
|
12504
|
-
}) : o =
|
|
12504
|
+
}) : o = si({
|
|
12505
12505
|
value: i ?? "",
|
|
12506
12506
|
dataContext: e,
|
|
12507
|
-
useRendererLabel:
|
|
12507
|
+
useRendererLabel: Ra(n, s),
|
|
12508
12508
|
specificField: H.xAxisField
|
|
12509
12509
|
});
|
|
12510
12510
|
return {
|
|
@@ -12597,7 +12597,7 @@ function C0(t) {
|
|
|
12597
12597
|
errorStrings: d
|
|
12598
12598
|
} = t, { chart: f } = e;
|
|
12599
12599
|
if (f !== void 0) {
|
|
12600
|
-
const g =
|
|
12600
|
+
const g = _a({
|
|
12601
12601
|
isXAxis: i,
|
|
12602
12602
|
chartType: a,
|
|
12603
12603
|
valueFormat: o
|
|
@@ -12760,7 +12760,7 @@ function Pc(t) {
|
|
|
12760
12760
|
function R0(t) {
|
|
12761
12761
|
const { dataItems: e, seriesConfig: i, filteredSeriesIds: a, isXAxis: o } = t;
|
|
12762
12762
|
let n = [];
|
|
12763
|
-
return o && i[0] !== void 0 ? n = [i[0].x] : o || (n =
|
|
12763
|
+
return o && i[0] !== void 0 ? n = [i[0].x] : o || (n = fi(i, a)), Eg(e, n);
|
|
12764
12764
|
}
|
|
12765
12765
|
function w0(t) {
|
|
12766
12766
|
const { rawDataMin: e, dataItems: i, seriesConfig: a, filteredSeriesIds: o, isXAxis: n, stackedType: s } = t;
|
|
@@ -13530,14 +13530,14 @@ function rF(t) {
|
|
|
13530
13530
|
const { axis: e, isHorizontalAxis: i, label: a } = t, { chart: o } = e;
|
|
13531
13531
|
if (o) {
|
|
13532
13532
|
const n = i ? "width" : "height", s = i ? q.XAxisTitle : q.YAxisTitle;
|
|
13533
|
-
|
|
13533
|
+
ui({ chart: o, label: a, labelType: s }), e.onPrivateDebounced(
|
|
13534
13534
|
n,
|
|
13535
|
-
() =>
|
|
13535
|
+
() => ui({ chart: o, label: a, labelType: s }),
|
|
13536
13536
|
L.debounceTime
|
|
13537
13537
|
);
|
|
13538
13538
|
}
|
|
13539
13539
|
}
|
|
13540
|
-
const es = "arcgis_charts_title_container", yl = "arcgis_charts_subtitle_container", ts = "arcgis_charts_footer_container", cm = "arcgis_charts_title", dm = "arcgis_charts_subtitle", um = "arcgis_charts_footer", St = "arcgis_charts_legend_container",
|
|
13540
|
+
const es = "arcgis_charts_title_container", yl = "arcgis_charts_subtitle_container", ts = "arcgis_charts_footer_container", cm = "arcgis_charts_title", dm = "arcgis_charts_subtitle", um = "arcgis_charts_footer", St = "arcgis_charts_legend_container", gi = "arcgis_charts_legend_title", js = "arcgis_charts_axis_title_id";
|
|
13541
13541
|
function lF(t, e) {
|
|
13542
13542
|
let i = e ?? null;
|
|
13543
13543
|
if (e != null) {
|
|
@@ -13714,7 +13714,7 @@ function bF(t) {
|
|
|
13714
13714
|
t instanceof he && (t.onPrivate("min", Vc), t.onPrivate("max", Vc));
|
|
13715
13715
|
}
|
|
13716
13716
|
function yF(t) {
|
|
13717
|
-
const { axis: e, isHorizontalAxis: i, isSecondaryYAxis: a } = t, { root: o } = e, n = i ? { ...L.xAxisTitleLabel, verticalCenter: "top" } : L.yAxisTitleLabel, s =
|
|
13717
|
+
const { axis: e, isHorizontalAxis: i, isSecondaryYAxis: a } = t, { root: o } = e, n = i ? { ...L.xAxisTitleLabel, verticalCenter: "top" } : L.yAxisTitleLabel, s = Wa({ root: o, id: fm(e, i), defaults: n });
|
|
13718
13718
|
return e.get("renderer") instanceof Li && a !== !0 || e.get("renderer") instanceof ut && a === !0 ? e.children.unshift(s) : e.children.push(s), i && a !== !0 && (e.events.onDebounced(
|
|
13719
13719
|
ne.BoundsChanged,
|
|
13720
13720
|
() => qs(e, s),
|
|
@@ -13743,7 +13743,7 @@ function Pi(t) {
|
|
|
13743
13743
|
errorStrings: u
|
|
13744
13744
|
} = t;
|
|
13745
13745
|
let d;
|
|
13746
|
-
if (
|
|
13746
|
+
if (_a({ isXAxis: a, chartType: r, valueFormat: o, isAxisForHistogramOverlaySeries: c }) && !s) {
|
|
13747
13747
|
let f;
|
|
13748
13748
|
switch (r) {
|
|
13749
13749
|
case y.HeatSeries:
|
|
@@ -13833,7 +13833,7 @@ function CF(t) {
|
|
|
13833
13833
|
label: r,
|
|
13834
13834
|
labelType: s ? q.XAxisTitle : q.YAxisTitle
|
|
13835
13835
|
};
|
|
13836
|
-
|
|
13836
|
+
ui(c);
|
|
13837
13837
|
}
|
|
13838
13838
|
}
|
|
13839
13839
|
}
|
|
@@ -13873,7 +13873,7 @@ function Sl(t) {
|
|
|
13873
13873
|
guides: X,
|
|
13874
13874
|
tickSpacing: G,
|
|
13875
13875
|
dateBaseInterval: Y
|
|
13876
|
-
} = r, { root: U } = e, _ = W(p.series), j = st(p), E = Je(p), { chart: ee } = e, Le = ee ? w(ee.uid, "config") : void 0, Ce = ee ? w(ee.uid, "options") : void 0, Ye = it(F),
|
|
13876
|
+
} = r, { root: U } = e, _ = W(p.series), j = st(p), E = Je(p), { chart: ee } = e, Le = ee ? w(ee.uid, "config") : void 0, Ce = ee ? w(ee.uid, "options") : void 0, Ye = it(F), pi = Lt(Ye).find((ls) => ls.name === Le?.series?.[0]?.x), Ja = Hg(pi), ss = yr({ chartConfig: p, queryObject: F, options: Ce }), rs = Ga(p.series[0]) ? p.series[0].temporalBinning?.outTimeZone : void 0, ba = e.get("renderer");
|
|
13877
13877
|
ha(e.uid, {
|
|
13878
13878
|
zeroGridLine: { displayZeroLine: N, strokeWidth: $?.width ?? L.lineWidth, visible: $ !== void 0 }
|
|
13879
13879
|
}), L0({ axis: e, isLogarithmic: R, axisConfigIndex: l }), C0({
|
|
@@ -13884,11 +13884,11 @@ function Sl(t) {
|
|
|
13884
13884
|
isNonAggregatedChart: h,
|
|
13885
13885
|
overridePercentMultiplication: j === te.Stacked100,
|
|
13886
13886
|
externalAxisLabelFormatter: S,
|
|
13887
|
-
isTimeOnlyField:
|
|
13887
|
+
isTimeOnlyField: Ja,
|
|
13888
13888
|
setTimeZone: ss,
|
|
13889
13889
|
outTimeZone: rs,
|
|
13890
13890
|
errorStrings: v
|
|
13891
|
-
}), S0({ axis: e, isRotated: E, chartConfig: p }), T0({ axis: e, timeIntervalInfo: c, dateBaseInterval: Y, xFieldIsTimeOnly:
|
|
13891
|
+
}), S0({ axis: e, isRotated: E, chartConfig: p }), T0({ axis: e, timeIntervalInfo: c, dateBaseInterval: Y, xFieldIsTimeOnly: Ja }), Kt({
|
|
13892
13892
|
element: ba,
|
|
13893
13893
|
lineSymbol: { color: [...L.color], ...k ?? On() },
|
|
13894
13894
|
visible: T
|
|
@@ -14177,12 +14177,12 @@ function RF(t, e) {
|
|
|
14177
14177
|
parent: e,
|
|
14178
14178
|
id: lt(yl, e.uid),
|
|
14179
14179
|
index: 1
|
|
14180
|
-
}), o =
|
|
14180
|
+
}), o = Wa({
|
|
14181
14181
|
root: t,
|
|
14182
14182
|
parent: i,
|
|
14183
14183
|
defaults: L.titleLabel,
|
|
14184
14184
|
id: lt(cm, i.uid)
|
|
14185
|
-
}), n =
|
|
14185
|
+
}), n = Wa({
|
|
14186
14186
|
root: t,
|
|
14187
14187
|
parent: a,
|
|
14188
14188
|
defaults: L.subtitleLabel,
|
|
@@ -14207,7 +14207,7 @@ function Sm(t, e) {
|
|
|
14207
14207
|
label: c,
|
|
14208
14208
|
labelConfig: i,
|
|
14209
14209
|
defaults: L.titleLabel
|
|
14210
|
-
}),
|
|
14210
|
+
}), ui({
|
|
14211
14211
|
chart: t,
|
|
14212
14212
|
label: c,
|
|
14213
14213
|
labelType: q.ChartTitle
|
|
@@ -14221,7 +14221,7 @@ function Sm(t, e) {
|
|
|
14221
14221
|
label: c,
|
|
14222
14222
|
labelConfig: a,
|
|
14223
14223
|
defaults: L.subtitleLabel
|
|
14224
|
-
}),
|
|
14224
|
+
}), ui({
|
|
14225
14225
|
chart: t,
|
|
14226
14226
|
label: c,
|
|
14227
14227
|
labelType: q.ChartSubTitle
|
|
@@ -14237,7 +14237,7 @@ function wF(t) {
|
|
|
14237
14237
|
defaults: L.footerContainer,
|
|
14238
14238
|
parent: t,
|
|
14239
14239
|
id: lt(ts, t.uid)
|
|
14240
|
-
}), a =
|
|
14240
|
+
}), a = Wa({
|
|
14241
14241
|
root: e,
|
|
14242
14242
|
parent: i,
|
|
14243
14243
|
id: lt(um, i.uid)
|
|
@@ -14256,7 +14256,7 @@ function Cm(t, e) {
|
|
|
14256
14256
|
label: a,
|
|
14257
14257
|
labelConfig: e,
|
|
14258
14258
|
defaults: L.footer
|
|
14259
|
-
}),
|
|
14259
|
+
}), ui({
|
|
14260
14260
|
chart: t,
|
|
14261
14261
|
label: a,
|
|
14262
14262
|
labelType: q.ChartFooter
|
|
@@ -14429,7 +14429,7 @@ function WF(t) {
|
|
|
14429
14429
|
queryObject: u,
|
|
14430
14430
|
chartConfig: d
|
|
14431
14431
|
} = t, f = a === !0 || o === !0 || n || s === !0;
|
|
14432
|
-
e.set("id", r.id), oe(e, r.visible),
|
|
14432
|
+
e.set("id", r.id), oe(e, r.visible), Va(e, !1), ze(e.columns.template, c?.selectionTheme), Kv(t), VF(e, r.gridLine), PF({
|
|
14433
14433
|
columnSeries: e,
|
|
14434
14434
|
seriesConfig: r
|
|
14435
14435
|
}), f && NF(e, i), $F({
|
|
@@ -14441,7 +14441,7 @@ function WF(t) {
|
|
|
14441
14441
|
externalDataLabelFormatter: c?.dataLabelFormatter
|
|
14442
14442
|
});
|
|
14443
14443
|
const { chart: g } = e;
|
|
14444
|
-
g && EF({ seriesConfig: r, queryObject: u, chartConfig: d, chart: g }), c?.interactionsDisabled &&
|
|
14444
|
+
g && EF({ seriesConfig: r, queryObject: u, chartConfig: d, chart: g }), c?.interactionsDisabled && Va(e, !0);
|
|
14445
14445
|
}
|
|
14446
14446
|
function EF(t) {
|
|
14447
14447
|
const { seriesConfig: e, queryObject: i, chartConfig: a, chart: o } = t;
|
|
@@ -14560,7 +14560,7 @@ function GF(t, e) {
|
|
|
14560
14560
|
}
|
|
14561
14561
|
function XF(t, e) {
|
|
14562
14562
|
const { root: i } = t, a = w(t.uid, "rtl") ?? !1, o = w(t.uid, "config") ?? e, n = o?.series[0], { start: s, end: r } = is(a, n), l = o?.legend?.position ?? L.heatChart.legend.position, c = l === z.Top || l === z.Bottom;
|
|
14563
|
-
return
|
|
14563
|
+
return $a.new(i, {
|
|
14564
14564
|
orientation: c ? "horizontal" : "vertical",
|
|
14565
14565
|
startColor: s.color,
|
|
14566
14566
|
endColor: r.color,
|
|
@@ -14688,7 +14688,7 @@ function Am(t) {
|
|
|
14688
14688
|
chartPaddingBottom: c,
|
|
14689
14689
|
chartPaddingLeft: c,
|
|
14690
14690
|
chartPaddingRight: c
|
|
14691
|
-
}),
|
|
14691
|
+
}), mi(() => {
|
|
14692
14692
|
l && (l.children.indexOf(a) !== -1 || (u ? l.children.unshift(a) : l.children.push(a)), e.markDirty(), i.markDirty(), l.markDirty());
|
|
14693
14693
|
});
|
|
14694
14694
|
}
|
|
@@ -14723,7 +14723,7 @@ function Tm(t, e) {
|
|
|
14723
14723
|
function jF(t) {
|
|
14724
14724
|
const { series: e, legend: i, chart: a } = t, o = w(a.uid, "config"), n = (s) => {
|
|
14725
14725
|
const r = s.getPrivate("valueLow"), l = s.getPrivate("valueHigh");
|
|
14726
|
-
r !== void 0 && l !== void 0 && (i.get("orientation") === "vertical" ? (i.set("startValue", l), i.set("endValue", r)) : (i.set("startValue", r), i.set("endValue", l))),
|
|
14726
|
+
r !== void 0 && l !== void 0 && (i.get("orientation") === "vertical" ? (i.set("startValue", l), i.set("endValue", r)) : (i.set("startValue", r), i.set("endValue", l))), mi(() => {
|
|
14727
14727
|
Tm(i, () => {
|
|
14728
14728
|
const c = w(a.uid, "config");
|
|
14729
14729
|
Rm({ legend: i, series: s, chartConfig: c });
|
|
@@ -14882,18 +14882,18 @@ function bo(t) {
|
|
|
14882
14882
|
parent: i,
|
|
14883
14883
|
useChildId: !0
|
|
14884
14884
|
});
|
|
14885
|
-
a && (a.children.values.filter((n) => n instanceof
|
|
14885
|
+
a && (a.children.values.filter((n) => n instanceof $a).forEach((n) => {
|
|
14886
14886
|
n.dispose();
|
|
14887
14887
|
}), i.children.removeValue(a), a.dispose()), i.markDirty();
|
|
14888
14888
|
}
|
|
14889
14889
|
), Cl(t, {}), xl(t), eA(t);
|
|
14890
14890
|
}
|
|
14891
14891
|
function Dm(t, e) {
|
|
14892
|
-
const i =
|
|
14892
|
+
const i = Wa({
|
|
14893
14893
|
root: e.root,
|
|
14894
14894
|
parent: e,
|
|
14895
14895
|
index: 0,
|
|
14896
|
-
id: lt(
|
|
14896
|
+
id: lt(gi, e.uid)
|
|
14897
14897
|
});
|
|
14898
14898
|
return i.set("paddingTop", L.heatChart.legend.titlePadding), aa({
|
|
14899
14899
|
chart: t,
|
|
@@ -14914,7 +14914,7 @@ function Om(t) {
|
|
|
14914
14914
|
r && (n = r);
|
|
14915
14915
|
}
|
|
14916
14916
|
), n !== void 0) {
|
|
14917
|
-
const s = fe({ childId:
|
|
14917
|
+
const s = fe({ childId: gi, parent: n }) ?? Dm(e, n);
|
|
14918
14918
|
if (i !== void 0) {
|
|
14919
14919
|
const { title: r, visible: l } = i, { legendTitle: c } = L.legendProperties;
|
|
14920
14920
|
if (r !== void 0) {
|
|
@@ -14924,7 +14924,7 @@ function Om(t) {
|
|
|
14924
14924
|
defaults: { ...c, verticalCenter: "top" }
|
|
14925
14925
|
});
|
|
14926
14926
|
const d = w(e.uid, "config")?.legend?.position ?? L.heatChart.legend.position;
|
|
14927
|
-
d === z.Left || d === z.Right ? (s.set("maxWidth", 250),
|
|
14927
|
+
d === z.Left || d === z.Right ? (s.set("maxWidth", 250), ui({
|
|
14928
14928
|
chart: e,
|
|
14929
14929
|
label: s,
|
|
14930
14930
|
labelType: q.LegendTitle
|
|
@@ -14979,7 +14979,7 @@ function $m(t) {
|
|
|
14979
14979
|
const { legendContainer: e, chart: i } = t, a = w(i.uid, "config"), o = L.heatChart.legend, n = a?.legend?.position ?? o.position;
|
|
14980
14980
|
if (n !== z.Left && n !== z.Right)
|
|
14981
14981
|
return;
|
|
14982
|
-
const s = fe({ childId:
|
|
14982
|
+
const s = fe({ childId: gi, parent: e }), r = a?.legend?.title ? a.legend.title.visible ?? !0 : !1;
|
|
14983
14983
|
if (s instanceof nt && r) {
|
|
14984
14984
|
const l = () => {
|
|
14985
14985
|
const c = s.width(), u = o.width, d = Math.max(c + o.legendPadding * 2, u);
|
|
@@ -15004,13 +15004,13 @@ function tA(t) {
|
|
|
15004
15004
|
useChildId: !0
|
|
15005
15005
|
});
|
|
15006
15006
|
if (o) {
|
|
15007
|
-
const s = o.children.values.find((r) => r instanceof
|
|
15007
|
+
const s = o.children.values.find((r) => r instanceof $a);
|
|
15008
15008
|
if (s) {
|
|
15009
15009
|
e = s;
|
|
15010
15010
|
return;
|
|
15011
15011
|
}
|
|
15012
15012
|
}
|
|
15013
|
-
const n = a.children.values.find((s) => s instanceof
|
|
15013
|
+
const n = a.children.values.find((s) => s instanceof $a);
|
|
15014
15014
|
if (n) {
|
|
15015
15015
|
e = n;
|
|
15016
15016
|
return;
|
|
@@ -15026,7 +15026,7 @@ function iA(t) {
|
|
|
15026
15026
|
return s.children.push(n), Dm(e, s), Om({ chart: e, legendConfig: a, container: s }), jF({ series: i, legend: n, chart: e }), { legend: n, legendContainer: s };
|
|
15027
15027
|
}
|
|
15028
15028
|
function jc(t) {
|
|
15029
|
-
|
|
15029
|
+
mi(() => {
|
|
15030
15030
|
const e = as(t);
|
|
15031
15031
|
Lm(t, e);
|
|
15032
15032
|
});
|
|
@@ -15051,7 +15051,7 @@ function aA(t) {
|
|
|
15051
15051
|
legend: d,
|
|
15052
15052
|
chart: e,
|
|
15053
15053
|
legendContainer: g
|
|
15054
|
-
})) : (g && (oe(g, !1), JF({ chart: e, legend: d, legendContainer: g })), oe(d, !1)), YF(d, e),
|
|
15054
|
+
})) : (g && (oe(g, !1), JF({ chart: e, legend: d, legendContainer: g })), oe(d, !1)), YF(d, e), mi(() => {
|
|
15055
15055
|
Tm(d, () => {
|
|
15056
15056
|
const h = w(e.uid, "config");
|
|
15057
15057
|
Rm({ legend: d, series: c, chartConfig: h ?? i });
|
|
@@ -15079,7 +15079,7 @@ function nA(t) {
|
|
|
15079
15079
|
)), e;
|
|
15080
15080
|
}
|
|
15081
15081
|
function sA(t) {
|
|
15082
|
-
|
|
15082
|
+
Ta(t.uid, { isLegendValueLabel: !0 }), t.valueLabels.template.adapters.add("text", (e, i) => {
|
|
15083
15083
|
let a = e ?? "";
|
|
15084
15084
|
const o = dv(
|
|
15085
15085
|
t.uid,
|
|
@@ -15192,7 +15192,7 @@ function cA(t, e) {
|
|
|
15192
15192
|
return Math.ceil(i) + L.legendPadding;
|
|
15193
15193
|
}
|
|
15194
15194
|
function Pm(t, e) {
|
|
15195
|
-
|
|
15195
|
+
mi(() => {
|
|
15196
15196
|
const i = nA(t), a = e === z.Right || e === z.Left || !i;
|
|
15197
15197
|
lA(
|
|
15198
15198
|
t,
|
|
@@ -15206,7 +15206,7 @@ function dA(t) {
|
|
|
15206
15206
|
forceHidden: s === !1,
|
|
15207
15207
|
direction: r ? "rtl" : "ltr",
|
|
15208
15208
|
oversizedBehavior: o?.labelMaxWidth !== void 0 && !Number.isNaN(o.labelMaxWidth) ? "wrap" : "none"
|
|
15209
|
-
}),
|
|
15209
|
+
}), mi(() => {
|
|
15210
15210
|
const l = Nm(e, o?.labelMaxWidth), c = cA(e, l);
|
|
15211
15211
|
e.itemContainers.template.setAll({
|
|
15212
15212
|
width: c,
|
|
@@ -15228,7 +15228,7 @@ function uA(t) {
|
|
|
15228
15228
|
const e = t.target.dataItem;
|
|
15229
15229
|
if (e?.dataContext !== void 0) {
|
|
15230
15230
|
const { dataContext: i } = e, a = typeof i == "object" && i !== null && "component" in i ? i.component : i;
|
|
15231
|
-
if (a instanceof
|
|
15231
|
+
if (a instanceof Ma) {
|
|
15232
15232
|
const n = { visible: !a.get("visible") };
|
|
15233
15233
|
Ui(a) || Qn(a) ? n.overlayType = re(a.uid, "type") : n.seriesId = a.get("id"), Cd(n, a.root.dom);
|
|
15234
15234
|
}
|
|
@@ -15344,7 +15344,7 @@ function qc(t) {
|
|
|
15344
15344
|
function Sa(t, e) {
|
|
15345
15345
|
const { root: i } = t, a = fe({ childId: St, parent: t });
|
|
15346
15346
|
if (a !== void 0) {
|
|
15347
|
-
const o = w(t.uid, "config"), n = w(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, u = o?.legend?.title ? o.legend.title.visible ?? !0 : !1, d = fe({ childId: es, parent: t }), f = d instanceof Bi && s ? d.height() : 0, g = fe({ childId: yl, parent: t }), h = g instanceof Bi && r ? g.height() : 0, b = fe({ childId: ts, parent: t }), p = b instanceof Bi && l ? b.height() : 0, S = fe({ childId:
|
|
15347
|
+
const o = w(t.uid, "config"), n = w(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, u = o?.legend?.title ? o.legend.title.visible ?? !0 : !1, d = fe({ childId: es, parent: t }), f = d instanceof Bi && s ? d.height() : 0, g = fe({ childId: yl, parent: t }), h = g instanceof Bi && r ? g.height() : 0, b = fe({ childId: ts, parent: t }), p = b instanceof Bi && l ? b.height() : 0, S = fe({ childId: gi, parent: a }), C = S instanceof nt && c && u ? S?.height() : 0, x = o?.legend?.position ?? L.legendProperties.position;
|
|
15348
15348
|
let v;
|
|
15349
15349
|
const F = e.get("verticalScrollbar");
|
|
15350
15350
|
let T = de, k = de, I = i.verticalLayout, D = de, R = de, $ = de, M = de, N = 0, P;
|
|
@@ -15384,7 +15384,7 @@ function Sa(t, e) {
|
|
|
15384
15384
|
}
|
|
15385
15385
|
}
|
|
15386
15386
|
function hA(t) {
|
|
15387
|
-
const { chart: e, legend: i, legendContainer: a } = t, o = fe({ childId:
|
|
15387
|
+
const { chart: e, legend: i, legendContainer: a } = t, o = fe({ childId: gi, parent: a });
|
|
15388
15388
|
o && o.on("visible", () => {
|
|
15389
15389
|
i.root.events.once(ne.FrameEnded, () => {
|
|
15390
15390
|
Sa(e, i);
|
|
@@ -15402,11 +15402,11 @@ function hA(t) {
|
|
|
15402
15402
|
});
|
|
15403
15403
|
}
|
|
15404
15404
|
function Vm(t, e) {
|
|
15405
|
-
const i =
|
|
15405
|
+
const i = Wa({
|
|
15406
15406
|
root: e.root,
|
|
15407
15407
|
parent: e,
|
|
15408
15408
|
index: 0,
|
|
15409
|
-
id: lt(
|
|
15409
|
+
id: lt(gi, e.uid)
|
|
15410
15410
|
});
|
|
15411
15411
|
return i.set("paddingTop", 10), aa({
|
|
15412
15412
|
chart: t,
|
|
@@ -15438,7 +15438,7 @@ function pA(t, e) {
|
|
|
15438
15438
|
if (r instanceof et) {
|
|
15439
15439
|
const l = r.get("categoryField") ?? "", c = a.dataItem, u = c?.get("category"), d = c?.dataContext;
|
|
15440
15440
|
o = u ?? (d?.[l] ?? i)?.toString();
|
|
15441
|
-
} else r instanceof
|
|
15441
|
+
} else r instanceof Ma && (o = r.get("name"));
|
|
15442
15442
|
}
|
|
15443
15443
|
return o;
|
|
15444
15444
|
});
|
|
@@ -15448,7 +15448,7 @@ function bA(t, e) {
|
|
|
15448
15448
|
let a = 0;
|
|
15449
15449
|
const o = w(e.uid, "config"), n = o?.legend, s = fe({ childId: St, parent: e });
|
|
15450
15450
|
if (s !== void 0) {
|
|
15451
|
-
const l = fe({ childId:
|
|
15451
|
+
const l = fe({ childId: gi, parent: s });
|
|
15452
15452
|
l !== void 0 && n?.visible !== !1 && n?.title?.visible !== !1 && (a = l.height());
|
|
15453
15453
|
}
|
|
15454
15454
|
let r = o?.legend?.maxHeight ?? Number.NaN;
|
|
@@ -15520,14 +15520,14 @@ function Wm(t, e, i) {
|
|
|
15520
15520
|
function vA(t, e) {
|
|
15521
15521
|
const i = fe({ childId: St, parent: t });
|
|
15522
15522
|
if (i !== void 0) {
|
|
15523
|
-
const a = fe({ childId:
|
|
15523
|
+
const a = fe({ childId: gi, parent: i }) ?? Vm(t, i);
|
|
15524
15524
|
if (e !== void 0) {
|
|
15525
15525
|
const { title: o, visible: n } = e, { legendTitle: s } = L.legendProperties;
|
|
15526
15526
|
o !== void 0 ? (Mt({
|
|
15527
15527
|
label: a,
|
|
15528
15528
|
labelConfig: { ...o, visible: n !== !1 && o.visible !== !1 },
|
|
15529
15529
|
defaults: { ...s, verticalCenter: "top" }
|
|
15530
|
-
}),
|
|
15530
|
+
}), ui({
|
|
15531
15531
|
chart: t,
|
|
15532
15532
|
label: a,
|
|
15533
15533
|
labelType: q.LegendTitle
|
|
@@ -15559,7 +15559,7 @@ function FA(t) {
|
|
|
15559
15559
|
};
|
|
15560
15560
|
if (a === y.PieSeries) {
|
|
15561
15561
|
const r = fe({ childId: St, parent: n });
|
|
15562
|
-
r !== void 0 && fe({ childId:
|
|
15562
|
+
r !== void 0 && fe({ childId: gi, parent: r }) !== void 0 && Bm({
|
|
15563
15563
|
legend: e,
|
|
15564
15564
|
seriesConfig: o,
|
|
15565
15565
|
webChartLegend: i,
|
|
@@ -15627,7 +15627,7 @@ function Kc(t) {
|
|
|
15627
15627
|
if (a) {
|
|
15628
15628
|
const { title: o, visible: n } = a, s = o !== void 0 && n !== !1 && o.visible !== !1, r = fe({ childId: St, parent: e });
|
|
15629
15629
|
if (r) {
|
|
15630
|
-
const l = fe({ childId:
|
|
15630
|
+
const l = fe({ childId: gi, parent: r });
|
|
15631
15631
|
l && (o ? oe(l, s) : oe(l, i));
|
|
15632
15632
|
}
|
|
15633
15633
|
}
|
|
@@ -15648,12 +15648,12 @@ function Em(t) {
|
|
|
15648
15648
|
if (Yo(n) && f instanceof Rs && e instanceof le) {
|
|
15649
15649
|
const h = fe({ childId: St, parent: e });
|
|
15650
15650
|
h && (e.children.removeValue(h), h.dispose()), f = as(e, i), g = !0;
|
|
15651
|
-
} else !Yo(n) && f instanceof
|
|
15651
|
+
} else !Yo(n) && f instanceof $a && e instanceof le && (bo(e), f = tr(e, i));
|
|
15652
15652
|
if (!g && Yo(n) && a && e instanceof le)
|
|
15653
15653
|
r && f && (Zc({ chart: e, legend: f, showLegend: !1 }), Kc({ chart: e, showLegend: !1, legendConfig: u })), f = aA({
|
|
15654
15654
|
chart: e,
|
|
15655
15655
|
chartConfig: i,
|
|
15656
|
-
legend: f instanceof
|
|
15656
|
+
legend: f instanceof $a ? f : void 0,
|
|
15657
15657
|
heatLegendPositionChanged: l,
|
|
15658
15658
|
heatRulesTypeChanged: r,
|
|
15659
15659
|
seriesWereReinitialized: c
|
|
@@ -15811,7 +15811,7 @@ function BA(t) {
|
|
|
15811
15811
|
});
|
|
15812
15812
|
}
|
|
15813
15813
|
function NA(t) {
|
|
15814
|
-
const { root: e, chartConfig: i, seriesConfig: a, xAxis: o, yAxis: n, options: s, errorStrings: r } = t, { id: l, name: c } = a, { xField: u, yField: d, xAxisField: f, yAxisField: g } =
|
|
15814
|
+
const { root: e, chartConfig: i, seriesConfig: a, xAxis: o, yAxis: n, options: s, errorStrings: r } = t, { id: l, name: c } = a, { xField: u, yField: d, xAxisField: f, yAxisField: g } = qa(i, a), h = Ir(i), b = Se.new(e, {
|
|
15815
15815
|
id: l,
|
|
15816
15816
|
name: c,
|
|
15817
15817
|
stacked: h,
|
|
@@ -15917,7 +15917,7 @@ function VA(t) {
|
|
|
15917
15917
|
} = t, c = e.chart;
|
|
15918
15918
|
if (c !== void 0) {
|
|
15919
15919
|
const u = w(c.uid, "config"), d = u?.series.length ?? 0, f = Z(u?.series);
|
|
15920
|
-
|
|
15920
|
+
Va(e, !1);
|
|
15921
15921
|
const g = PA({
|
|
15922
15922
|
series: e,
|
|
15923
15923
|
seriesConfig: i,
|
|
@@ -15927,11 +15927,11 @@ function VA(t) {
|
|
|
15927
15927
|
colorMatch: s,
|
|
15928
15928
|
rendererType: r
|
|
15929
15929
|
});
|
|
15930
|
-
l &&
|
|
15930
|
+
l && Va(e, !0), a.set(o?.get(i.id) ?? n, g), a.size === d && Gt({
|
|
15931
15931
|
data: a,
|
|
15932
15932
|
htmlContainer: e.root.dom,
|
|
15933
15933
|
chartId: c.get("id"),
|
|
15934
|
-
colorMatchApplied:
|
|
15934
|
+
colorMatchApplied: Qa(c)
|
|
15935
15935
|
});
|
|
15936
15936
|
}
|
|
15937
15937
|
}
|
|
@@ -15949,7 +15949,7 @@ function WA(t) {
|
|
|
15949
15949
|
sortChanged: u
|
|
15950
15950
|
} = t, d = o.series[a];
|
|
15951
15951
|
if (i && d?.type === y.BarSeries && (r === !0 || n === !0 || u === !0 || l === !0 || c || s === !0)) {
|
|
15952
|
-
const { xField: f, yField: g, xAxisField: h, yAxisField: b } =
|
|
15952
|
+
const { xField: f, yField: g, xAxisField: h, yAxisField: b } = qa(o, d);
|
|
15953
15953
|
e.setAll({
|
|
15954
15954
|
[h]: f,
|
|
15955
15955
|
[b]: g
|
|
@@ -16083,7 +16083,7 @@ function zA(t) {
|
|
|
16083
16083
|
(n === !0 || r === !0 || s === !0 || l === !0) && a.data.setAll(Co({ chartConfig: e, seriesConfig: i, data: o, seriesType: "candleStick" }));
|
|
16084
16084
|
}
|
|
16085
16085
|
function _A(t) {
|
|
16086
|
-
const { candleStickSeries: e, seriesConfig: i, seriesIndex: a, chartSubType: o, colorMatch: n, showMean: s, rendererType: r, options: l } = t, { root: c } = e, u = i.fillSymbol ??
|
|
16086
|
+
const { candleStickSeries: e, seriesConfig: i, seriesIndex: a, chartSubType: o, colorMatch: n, showMean: s, rendererType: r, options: l } = t, { root: c } = e, u = i.fillSymbol ?? Da(a);
|
|
16087
16087
|
let d = {};
|
|
16088
16088
|
const f = {
|
|
16089
16089
|
root: c,
|
|
@@ -16092,7 +16092,7 @@ function _A(t) {
|
|
|
16092
16092
|
colorMatch: n,
|
|
16093
16093
|
isChartFillSymbol: !0
|
|
16094
16094
|
};
|
|
16095
|
-
|
|
16095
|
+
Va(e, !1), e.columns.length === 0 ? d = xt({
|
|
16096
16096
|
...f,
|
|
16097
16097
|
seriesSymbol: u,
|
|
16098
16098
|
element: wt.new(c, {})
|
|
@@ -16114,11 +16114,11 @@ function _A(t) {
|
|
|
16114
16114
|
seriesSymbol: d?.symbolWithColorInfo ?? u,
|
|
16115
16115
|
element: e.columns.template,
|
|
16116
16116
|
colorMatch: n
|
|
16117
|
-
}), l?.interactionsDisabled &&
|
|
16117
|
+
}), l?.interactionsDisabled && Va(e, !0);
|
|
16118
16118
|
}
|
|
16119
16119
|
function GA(t) {
|
|
16120
16120
|
const { candleStickSeries: e, seriesConfig: i, options: a } = t;
|
|
16121
|
-
ze(e.columns.template, a?.selectionTheme),
|
|
16121
|
+
ze(e.columns.template, a?.selectionTheme), Za(e, i.name), zA(t), Di(t) && Oi({
|
|
16122
16122
|
styleCallback: () => _A(t),
|
|
16123
16123
|
series: e,
|
|
16124
16124
|
seriesConfig: i
|
|
@@ -16188,7 +16188,7 @@ function jA(t) {
|
|
|
16188
16188
|
seriesWereReinitialized: l,
|
|
16189
16189
|
options: c
|
|
16190
16190
|
} = t, u = re(e.uid, "bulletTemplate");
|
|
16191
|
-
u && ze(u, c?.selectionTheme),
|
|
16191
|
+
u && ze(u, c?.selectionTheme), Za(e, a?.name), UA({
|
|
16192
16192
|
chartConfig: i,
|
|
16193
16193
|
meanLineSeries: e,
|
|
16194
16194
|
data: o,
|
|
@@ -16393,7 +16393,7 @@ function nT(t) {
|
|
|
16393
16393
|
colorMatch: n,
|
|
16394
16394
|
chartSubType: s,
|
|
16395
16395
|
rendererType: r
|
|
16396
|
-
}), u = (a.fillSymbol ??
|
|
16396
|
+
}), u = (a.fillSymbol ?? Da(o)).color, d = {
|
|
16397
16397
|
type: K.SLS,
|
|
16398
16398
|
width: L.boxPlot.boxPlotLineWidth,
|
|
16399
16399
|
color: c ? L.boxPlot.boxPlotWhiskersColor : u
|
|
@@ -16741,12 +16741,12 @@ function Ym(t) {
|
|
|
16741
16741
|
data: Fe(c),
|
|
16742
16742
|
htmlContainer: f.dom,
|
|
16743
16743
|
chartId: e.chart?.get("id"),
|
|
16744
|
-
colorMatchApplied:
|
|
16744
|
+
colorMatchApplied: Qa(d)
|
|
16745
16745
|
}), c.clear());
|
|
16746
16746
|
}
|
|
16747
16747
|
}
|
|
16748
16748
|
function bT(t) {
|
|
16749
|
-
const { root: e, chartConfig: i, xAxis: a, yAxis: o, seriesConfig: n, options: s, errorStrings: r } = t, { id: l, name: c } = n, { xField: u, yField: d, xAxisField: f, yAxisField: g } =
|
|
16749
|
+
const { root: e, chartConfig: i, xAxis: a, yAxis: o, seriesConfig: n, options: s, errorStrings: r } = t, { id: l, name: c } = n, { xField: u, yField: d, xAxisField: f, yAxisField: g } = qa(i, n), h = se.new(e, {
|
|
16750
16750
|
id: l,
|
|
16751
16751
|
name: c,
|
|
16752
16752
|
xAxis: a,
|
|
@@ -16795,7 +16795,7 @@ function yT(t) {
|
|
|
16795
16795
|
sortChanged: u
|
|
16796
16796
|
} = t, d = o.series[a];
|
|
16797
16797
|
if (i !== void 0 && a >= 0 && a < o.series.length && d.type === y.LineSeries && (r === !0 || n === !0 || l === !0 || c || s === !0 || u === !0)) {
|
|
16798
|
-
const { xField: f, yField: g, xAxisField: h, yAxisField: b } =
|
|
16798
|
+
const { xField: f, yField: g, xAxisField: h, yAxisField: b } = qa(o, d);
|
|
16799
16799
|
e.setAll({ [h]: f, [b]: g }), e.data.setAll(i.dataItems);
|
|
16800
16800
|
}
|
|
16801
16801
|
}
|
|
@@ -17064,7 +17064,7 @@ function DT(t) {
|
|
|
17064
17064
|
seriesWereReinitialized: s,
|
|
17065
17065
|
labelUpdateNeeded: r,
|
|
17066
17066
|
groupOfSlicesUpdateNeeded: l
|
|
17067
|
-
} = t, { x: c, y: u } = a, d = Z([a]), f = d === V.PieFromFields ?
|
|
17067
|
+
} = t, { x: c, y: u } = a, d = Z([a]), f = d === V.PieFromFields ? ni : c;
|
|
17068
17068
|
if (i && (o === !0 || s === !0 || n === !0 || l === !0))
|
|
17069
17069
|
e.setAll({
|
|
17070
17070
|
categoryField: f,
|
|
@@ -17100,7 +17100,7 @@ function $T(t) {
|
|
|
17100
17100
|
const { root: e, seriesConfig: i, options: a, chart: o, chartConfig: n, errorStrings: s } = t, { id: r, name: l, x: c, y: u } = i, d = Z([i]), f = et.new(e, {
|
|
17101
17101
|
id: r,
|
|
17102
17102
|
name: l,
|
|
17103
|
-
categoryField: d === V.PieFromFields ?
|
|
17103
|
+
categoryField: d === V.PieFromFields ? ni : c,
|
|
17104
17104
|
valueField: d === V.PieFromFields ? La : u
|
|
17105
17105
|
});
|
|
17106
17106
|
return TT({
|
|
@@ -17178,7 +17178,7 @@ function Um(t, e) {
|
|
|
17178
17178
|
a = at(I * 100);
|
|
17179
17179
|
} else
|
|
17180
17180
|
a = at(L.pieChart.chartRadius);
|
|
17181
|
-
i.value.toFixed(1) !== a.value.toFixed(1) && (pt(t.uid, { pieChartRadius: a.percent }), Fs && clearTimeout(Fs), Fs =
|
|
17181
|
+
i.value.toFixed(1) !== a.value.toFixed(1) && (pt(t.uid, { pieChartRadius: a.percent }), Fs && clearTimeout(Fs), Fs = mi(() => {
|
|
17182
17182
|
const b = t.chartContainer.height();
|
|
17183
17183
|
if (t.chartContainer.set("height", b + 0.1), t.set("radius", a), l && !Number.isNaN(l) && l > 0) {
|
|
17184
17184
|
const p = (l ?? L.pieChart.innerRadius) * a.value;
|
|
@@ -17208,7 +17208,7 @@ function jm(t, e) {
|
|
|
17208
17208
|
}
|
|
17209
17209
|
}
|
|
17210
17210
|
function PT(t) {
|
|
17211
|
-
|
|
17211
|
+
mi(() => {
|
|
17212
17212
|
t.chartContainer.set("height", at(100)), t.root.resize();
|
|
17213
17213
|
});
|
|
17214
17214
|
}
|
|
@@ -17233,7 +17233,7 @@ function VT(t) {
|
|
|
17233
17233
|
return o;
|
|
17234
17234
|
}
|
|
17235
17235
|
function WT(t) {
|
|
17236
|
-
const { root: e, chartConfig: i, xAxis: a, yAxis: o, seriesConfig: n, options: s, errorStrings: r } = t, { id: l, name: c } = n, { xField: u, yField: d, xAxisField: f, yAxisField: g } =
|
|
17236
|
+
const { root: e, chartConfig: i, xAxis: a, yAxis: o, seriesConfig: n, options: s, errorStrings: r } = t, { id: l, name: c } = n, { xField: u, yField: d, xAxisField: f, yAxisField: g } = qa(i, n), h = Pr.new(e, {
|
|
17237
17237
|
id: l,
|
|
17238
17238
|
name: c,
|
|
17239
17239
|
xAxis: a,
|
|
@@ -17282,7 +17282,7 @@ function ET(t) {
|
|
|
17282
17282
|
timeZoneChanged: l
|
|
17283
17283
|
} = t, c = o.series[a];
|
|
17284
17284
|
if (i !== void 0 && c?.type === y.RadarSeries && (n || l || s || r)) {
|
|
17285
|
-
const { xField: u, yField: d, xAxisField: f, yAxisField: g } =
|
|
17285
|
+
const { xField: u, yField: d, xAxisField: f, yAxisField: g } = qa(o, c);
|
|
17286
17286
|
e.setAll({ [f]: u, [g]: d }), e.data.setAll(i.dataItems);
|
|
17287
17287
|
}
|
|
17288
17288
|
}
|
|
@@ -17361,7 +17361,7 @@ function Fl(t) {
|
|
|
17361
17361
|
const g = i.series[f], { assignToSecondValueAxis: h, type: b } = g, p = e instanceof le ? Bv({ chart: e, chartType: c, rotated: r, assignToSecondValueAxis: h }) : void 0, { xAxis: S, xAxisForHistogramOverlaySeries: C, yAxis: x } = p ?? {};
|
|
17362
17362
|
switch (!0) {
|
|
17363
17363
|
case b === y.HeatSeries: {
|
|
17364
|
-
|
|
17364
|
+
li(n), S && x && d.push(
|
|
17365
17365
|
BF({
|
|
17366
17366
|
...u,
|
|
17367
17367
|
xAxis: S,
|
|
@@ -17706,7 +17706,7 @@ function qT(t) {
|
|
|
17706
17706
|
t.dispose();
|
|
17707
17707
|
}
|
|
17708
17708
|
function ZT(t) {
|
|
17709
|
-
const { chart: e, chartContainer: i, chartLocale: a } = t, { root: o } = e, { t9nLocale: n } =
|
|
17709
|
+
const { chart: e, chartContainer: i, chartLocale: a } = t, { root: o } = e, { t9nLocale: n } = Ea(i ?? document.documentElement), s = So(i ?? document.documentElement);
|
|
17710
17710
|
o.locale = a, pt(e.uid, {
|
|
17711
17711
|
locale: n,
|
|
17712
17712
|
formatLocale: s,
|
|
@@ -17791,7 +17791,7 @@ function JT(t) {
|
|
|
17791
17791
|
data: c,
|
|
17792
17792
|
htmlContainer: e.root.dom,
|
|
17793
17793
|
chartId: e.get("id"),
|
|
17794
|
-
colorMatchApplied:
|
|
17794
|
+
colorMatchApplied: Qa(e)
|
|
17795
17795
|
});
|
|
17796
17796
|
}
|
|
17797
17797
|
function ek(t) {
|
|
@@ -17902,7 +17902,7 @@ function tk(t) {
|
|
|
17902
17902
|
throw new Error();
|
|
17903
17903
|
let T = w(e.uid, "config");
|
|
17904
17904
|
if (e.isDisposed() || !Dd(T, n))
|
|
17905
|
-
throw new
|
|
17905
|
+
throw new oi(Fa.ChartDisposed);
|
|
17906
17906
|
T ??= n;
|
|
17907
17907
|
const k = Z(n.series), I = Je(n);
|
|
17908
17908
|
pt(e.uid, {
|
|
@@ -17922,11 +17922,11 @@ function tk(t) {
|
|
|
17922
17922
|
});
|
|
17923
17923
|
let ee = !1, Le = !1, Ce = !1, Ye = !1;
|
|
17924
17924
|
Rt(T) && Rt(n) && (ee = qg(T, n), Le = Zg(T, n), Ce = Kg(T, n) || Qg(T, n) || ee, Ye = Jg(T, n));
|
|
17925
|
-
const
|
|
17925
|
+
const hi = $d({
|
|
17926
17926
|
oldConfig: T,
|
|
17927
17927
|
newConfig: n,
|
|
17928
17928
|
rotationChanged: $
|
|
17929
|
-
}),
|
|
17929
|
+
}), pi = T.series, Ja = n.series;
|
|
17930
17930
|
if (r) {
|
|
17931
17931
|
const { queryConfig: ya, count: cs } = p ?? {};
|
|
17932
17932
|
pt(e.uid, {
|
|
@@ -17936,10 +17936,10 @@ function tk(t) {
|
|
|
17936
17936
|
timeIntervalInfo: S !== void 0 && "timeIntervalInfo" in S ? S.timeIntervalInfo : void 0
|
|
17937
17937
|
});
|
|
17938
17938
|
}
|
|
17939
|
-
e instanceof uo && s0({ chartSeries: e.series, oldSeries:
|
|
17939
|
+
e instanceof uo && s0({ chartSeries: e.series, oldSeries: pi, newSeries: Ja });
|
|
17940
17940
|
const ss = e instanceof Qt ? Hr(
|
|
17941
|
-
|
|
17942
|
-
|
|
17941
|
+
pi,
|
|
17942
|
+
Ja
|
|
17943
17943
|
) : !1, rs = hd({ oldConfig: T, newConfig: n }), ba = /* @__PURE__ */ new Map();
|
|
17944
17944
|
(g ?? n).series.forEach((ya, cs) => {
|
|
17945
17945
|
ba.set(ya.id, cs);
|
|
@@ -17954,7 +17954,7 @@ function tk(t) {
|
|
|
17954
17954
|
let Mo = !1;
|
|
17955
17955
|
switch (ls) {
|
|
17956
17956
|
case y.PieSeries: {
|
|
17957
|
-
e instanceof Qt && (
|
|
17957
|
+
e instanceof Qt && (li(b), JT({
|
|
17958
17958
|
chart: e,
|
|
17959
17959
|
chartConfig: n,
|
|
17960
17960
|
options: s,
|
|
@@ -17992,7 +17992,7 @@ function tk(t) {
|
|
|
17992
17992
|
seriesFilteredOut: c,
|
|
17993
17993
|
heatChartHideEmptyRowsAndColumnsChanged: Ye,
|
|
17994
17994
|
sortChanged: E,
|
|
17995
|
-
axisLabelsBehaviorChanged:
|
|
17995
|
+
axisLabelsBehaviorChanged: hi,
|
|
17996
17996
|
anyGuideAboveChanged: R,
|
|
17997
17997
|
rotationChanged: $,
|
|
17998
17998
|
colorMatchChanged: M,
|
|
@@ -18026,7 +18026,7 @@ function tk(t) {
|
|
|
18026
18026
|
})
|
|
18027
18027
|
);
|
|
18028
18028
|
};
|
|
18029
|
-
Mo ?
|
|
18029
|
+
Mo ? mi(ya) : ya();
|
|
18030
18030
|
}
|
|
18031
18031
|
ir({ chart: e, actionMode: s?.actionMode, cursorRange: s?.cursorRange }), wf(e), Sf({ chart: e, chartConfig: n, delayCallback: r });
|
|
18032
18032
|
}
|
|
@@ -18051,7 +18051,7 @@ function ik(t) {
|
|
|
18051
18051
|
data: o,
|
|
18052
18052
|
htmlContainer: e.root.dom,
|
|
18053
18053
|
chartId: e.get("id"),
|
|
18054
|
-
colorMatchApplied:
|
|
18054
|
+
colorMatchApplied: Qa(e)
|
|
18055
18055
|
});
|
|
18056
18056
|
}
|
|
18057
18057
|
function ak(t) {
|
|
@@ -18156,7 +18156,7 @@ function ok(t) {
|
|
|
18156
18156
|
queryObject: c,
|
|
18157
18157
|
utilsStrings: f,
|
|
18158
18158
|
errorStrings: d
|
|
18159
|
-
}) : C instanceof Qt && h && "dataItems" in h && (
|
|
18159
|
+
}) : C instanceof Qt && h && "dataItems" in h && (li(c), ik({
|
|
18160
18160
|
chart: C,
|
|
18161
18161
|
data: h,
|
|
18162
18162
|
chartConfig: i,
|
|
@@ -18229,6 +18229,10 @@ class As extends EventTarget {
|
|
|
18229
18229
|
return sp(this._revision, this._config, this._configHistory, e);
|
|
18230
18230
|
}
|
|
18231
18231
|
}
|
|
18232
|
+
function nk(t, e) {
|
|
18233
|
+
const i = t instanceof oi ? t.message : e?.errors.simpleError, a = t instanceof oi && t.name === Fa.QueryFeaturesError ? t.details : void 0, o = typeof a == "object" && a !== null && "name" in a && a.name === "parquet:cannot-execute-query" ? e?.modalHeaders.tooManyFeatures : e?.errorHeading;
|
|
18234
|
+
return { message: i, heading: o };
|
|
18235
|
+
}
|
|
18232
18236
|
function Jc(t) {
|
|
18233
18237
|
let e = "";
|
|
18234
18238
|
for (let a = 0; a < t.length; a += 1) {
|
|
@@ -18241,12 +18245,12 @@ function Jc(t) {
|
|
|
18241
18245
|
const i = t.length > 1 ? "ol" : "div";
|
|
18242
18246
|
return `<${i}>${e}</${i}>`;
|
|
18243
18247
|
}
|
|
18244
|
-
function
|
|
18248
|
+
function sk(t) {
|
|
18245
18249
|
const { chartConfig: e, createMessage: i, status: a, errorStrings: o } = t, { schemaErrors: n, customErrors: s, warnings: r } = a;
|
|
18246
18250
|
let l = "", c = "";
|
|
18247
18251
|
return e === void 0 ? (c = i === void 0 ? o.modalHeaders.newChart : "", l = i ?? o.errors.newChartRequest) : n.length > 0 ? (c = o.modalHeaders.error, l = o.errors.simpleError) : s.length > 0 ? (c = o.modalHeaders.error, l = Jc(s)) : r.length > 0 && (c = o.modalHeaders.warning, l = `<p>${o.errors.warningRequest}</p>${Jc(r)}`), { title: c, message: l };
|
|
18248
18252
|
}
|
|
18249
|
-
function
|
|
18253
|
+
function rk(t, e) {
|
|
18250
18254
|
let i;
|
|
18251
18255
|
switch (t) {
|
|
18252
18256
|
case y.PieSeries:
|
|
@@ -18282,7 +18286,7 @@ function sk(t, e) {
|
|
|
18282
18286
|
}
|
|
18283
18287
|
return i;
|
|
18284
18288
|
}
|
|
18285
|
-
function
|
|
18289
|
+
function io(t) {
|
|
18286
18290
|
let e;
|
|
18287
18291
|
if (t) {
|
|
18288
18292
|
const i = pf(t);
|
|
@@ -18290,73 +18294,73 @@ function to(t) {
|
|
|
18290
18294
|
}
|
|
18291
18295
|
return e;
|
|
18292
18296
|
}
|
|
18293
|
-
function
|
|
18297
|
+
function lk(t, e) {
|
|
18294
18298
|
return {
|
|
18295
|
-
backgroundColor:
|
|
18296
|
-
textColor:
|
|
18297
|
-
lineColor:
|
|
18298
|
-
secondaryLineColor:
|
|
18299
|
-
spinnerColor:
|
|
18299
|
+
backgroundColor: io(eo(t, e.background)),
|
|
18300
|
+
textColor: io(eo(t, e.text)),
|
|
18301
|
+
lineColor: io(eo(t, e.line)),
|
|
18302
|
+
secondaryLineColor: io(eo(t, e.secondaryLine)),
|
|
18303
|
+
spinnerColor: io(eo(t, e.spinner))
|
|
18300
18304
|
};
|
|
18301
18305
|
}
|
|
18302
|
-
function
|
|
18303
|
-
const { config: e, themeColors: i } = t, a =
|
|
18306
|
+
function ck(t) {
|
|
18307
|
+
const { config: e, themeColors: i } = t, a = Oa().toString();
|
|
18304
18308
|
e?.axes?.forEach((o) => {
|
|
18305
18309
|
i.textColor && (o?.title?.content && (!o.title.content.color || o.title.content.color.toString() === a) && (o.title.content.color = i.textColor), o?.labels?.content && (!o.labels.content.color || o.labels.content.color.toString() === a) && (o.labels.content.color = i.textColor));
|
|
18306
|
-
const n =
|
|
18310
|
+
const n = Oa();
|
|
18307
18311
|
n[3] = El, o?.grid && i.secondaryLineColor && (!o.grid.color || o.grid.color.toString() === n.toString()) && (o.grid.color = i.secondaryLineColor, o.grid.color[3] = El), o?.lineSymbol && i.lineColor && (!o.lineSymbol.color || o.lineSymbol.color.toString() === Oh.toString()) && (o.lineSymbol.color = i.lineColor), o?.guides?.forEach((s) => {
|
|
18308
18312
|
s.label && i.textColor && (!s.label.color || s.label.color.toString() === a) && (s.label.color = i.textColor), i.lineColor && (s.style?.type === K.SLS && (!s.style.color || s.style.color.toString() === ic.style.color?.toString()) ? s.style.color = i.lineColor : s.style?.type === K.SFS && s.style?.outline && (!s.style.outline.color || s.style.outline.color.toString() === ic.style.color?.toString()) && (s.style.outline.color = i.lineColor));
|
|
18309
18313
|
});
|
|
18310
18314
|
});
|
|
18311
18315
|
}
|
|
18312
|
-
function
|
|
18316
|
+
function dk(t) {
|
|
18313
18317
|
const { config: e, themeColors: i } = t;
|
|
18314
18318
|
e && i.backgroundColor && (!e.background || e.background.toString() === Dh().toString()) && (e.background = i.backgroundColor);
|
|
18315
18319
|
}
|
|
18316
|
-
function
|
|
18317
|
-
const { config: e, themeColors: i } = t, a =
|
|
18320
|
+
function uk(t) {
|
|
18321
|
+
const { config: e, themeColors: i } = t, a = Oa().toString();
|
|
18318
18322
|
i.textColor && (e?.title?.content && (!e.title.content.color || e.title.content.color.toString() === a) && (e.title.content.color = i.textColor), e?.subtitle?.content && (!e.subtitle.content.color || e.subtitle.content.color.toString() === a) && (e.subtitle.content.color = i.textColor), e?.footer?.content && (!e.footer.content.color || e.footer.content.color.toString() === a) && (e.footer.content.color = i.textColor));
|
|
18319
18323
|
}
|
|
18320
|
-
function
|
|
18324
|
+
function fk(t) {
|
|
18321
18325
|
const { config: e, themeColors: i } = t;
|
|
18322
18326
|
e && i.textColor && e.series.forEach((a) => {
|
|
18323
|
-
a.dataLabels?.content && (!a.dataLabels.content.color || a.dataLabels.content.color.toString() ===
|
|
18327
|
+
a.dataLabels?.content && (!a.dataLabels.content.color || a.dataLabels.content.color.toString() === Oa().toString()) && (a.dataLabels.content.color = i.textColor);
|
|
18324
18328
|
});
|
|
18325
18329
|
}
|
|
18326
|
-
function
|
|
18330
|
+
function mk(t) {
|
|
18327
18331
|
const { config: e, themeColors: i } = t, a = e?.series[0];
|
|
18328
18332
|
a?.type === y.PieSeries && a.ticks?.lineSymbol && i.secondaryLineColor && (!a.ticks.lineSymbol.color || a.ticks.lineSymbol.color.toString() === $r.toString()) && (a.ticks.lineSymbol.color = i.secondaryLineColor);
|
|
18329
18333
|
}
|
|
18330
|
-
function
|
|
18331
|
-
const { config: e, themeColors: i } = t, a =
|
|
18334
|
+
function gk(t) {
|
|
18335
|
+
const { config: e, themeColors: i } = t, a = Oa().toString();
|
|
18332
18336
|
e?.legend && i.textColor && (e.legend.title?.content && (!e.legend.title.content.color || e.legend.title.content.color.toString() === a) && (e.legend.title.content.color = i.textColor), e.legend.body && (!e.legend.body.color || e.legend.body.color.toString() === a) && (e.legend.body.color = i.textColor));
|
|
18333
18337
|
}
|
|
18334
|
-
function
|
|
18338
|
+
function hk(t) {
|
|
18335
18339
|
const { config: e, themeColors: i } = t;
|
|
18336
18340
|
if (_o(e) && i.textColor) {
|
|
18337
|
-
const a =
|
|
18341
|
+
const a = Oa().toString();
|
|
18338
18342
|
e.axes?.forEach((o) => {
|
|
18339
18343
|
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);
|
|
18340
18344
|
});
|
|
18341
18345
|
}
|
|
18342
18346
|
}
|
|
18343
|
-
function
|
|
18347
|
+
function pk(t) {
|
|
18344
18348
|
const { config: e, themeColors: i } = t;
|
|
18345
18349
|
Rt(e) && i.lineColor && e.series.forEach((a) => {
|
|
18346
18350
|
a.gridLine && !a.gridLine.color && (a.gridLine.color = i.lineColor);
|
|
18347
18351
|
});
|
|
18348
18352
|
}
|
|
18349
|
-
function
|
|
18353
|
+
function bk(t, e) {
|
|
18350
18354
|
const i = Fe(t), a = {
|
|
18351
18355
|
config: i,
|
|
18352
18356
|
themeColors: e
|
|
18353
18357
|
};
|
|
18354
|
-
return
|
|
18358
|
+
return dk(a), uk(a), ck(a), fk(a), gk(a), hk(a), mk(a), pk(a), i;
|
|
18355
18359
|
}
|
|
18356
|
-
function
|
|
18360
|
+
function yk() {
|
|
18357
18361
|
return !0;
|
|
18358
18362
|
}
|
|
18359
|
-
function
|
|
18363
|
+
function Sk(t, e) {
|
|
18360
18364
|
let i;
|
|
18361
18365
|
const a = Rn(e);
|
|
18362
18366
|
return a !== void 0 && "definitionExpression" in a && t.layerFilterChangePolicy === Zd.Refresh && (i = vt.watch(
|
|
@@ -18366,20 +18370,20 @@ function yk(t, e) {
|
|
|
18366
18370
|
}
|
|
18367
18371
|
)), i;
|
|
18368
18372
|
}
|
|
18369
|
-
function
|
|
18373
|
+
function Ck(t, e) {
|
|
18370
18374
|
let i;
|
|
18371
18375
|
return e && (i = vt.watch(
|
|
18372
18376
|
() => e.renderer,
|
|
18373
18377
|
() => {
|
|
18374
18378
|
const { model: a } = t, o = mt(a) ? a.config : a;
|
|
18375
18379
|
if (_i(o) && t.layerRendererChangePolicy === Kd.Refresh) {
|
|
18376
|
-
const n =
|
|
18380
|
+
const n = yk();
|
|
18377
18381
|
t.refresh({ updateData: n });
|
|
18378
18382
|
}
|
|
18379
18383
|
}
|
|
18380
18384
|
)), i;
|
|
18381
18385
|
}
|
|
18382
|
-
function
|
|
18386
|
+
function xk(t, e) {
|
|
18383
18387
|
const { view: i } = t;
|
|
18384
18388
|
let a;
|
|
18385
18389
|
if (i && e) {
|
|
@@ -18390,7 +18394,7 @@ function Ck(t, e) {
|
|
|
18390
18394
|
}
|
|
18391
18395
|
return a;
|
|
18392
18396
|
}
|
|
18393
|
-
function
|
|
18397
|
+
function vk(t) {
|
|
18394
18398
|
const { view: e } = t;
|
|
18395
18399
|
let i;
|
|
18396
18400
|
return e && (i = vt.watch(
|
|
@@ -18403,9 +18407,9 @@ function xk(t) {
|
|
|
18403
18407
|
}
|
|
18404
18408
|
function ar(t) {
|
|
18405
18409
|
const { syncViewTimeZone: e, syncViewTimeZoneInclusionList: i, chartConfig: a } = t, o = W(a?.series);
|
|
18406
|
-
return (e || (o && i.includes(o)) === !0) && (Rt(a) ||
|
|
18410
|
+
return (e || (o && i.includes(o)) === !0) && (Rt(a) || Ga(a?.series[0]) && a.axes?.[0].valueFormat?.type === y.DateAxisFormat);
|
|
18407
18411
|
}
|
|
18408
|
-
function
|
|
18412
|
+
function Lk(t) {
|
|
18409
18413
|
const { view: e, syncViewTimeZone: i, syncViewTimeZoneInclusionList: a } = t;
|
|
18410
18414
|
let o;
|
|
18411
18415
|
return e && "timeZone" in e && (o = vt.watch(
|
|
@@ -18416,7 +18420,7 @@ function vk(t) {
|
|
|
18416
18420
|
}
|
|
18417
18421
|
)), o;
|
|
18418
18422
|
}
|
|
18419
|
-
function
|
|
18423
|
+
function Fk(t, e) {
|
|
18420
18424
|
let i;
|
|
18421
18425
|
const a = Rn(e);
|
|
18422
18426
|
return a !== void 0 && "fields" in a && (i = vt.watch(
|
|
@@ -18430,7 +18434,7 @@ function Lk(t, e) {
|
|
|
18430
18434
|
}
|
|
18431
18435
|
)), i;
|
|
18432
18436
|
}
|
|
18433
|
-
function
|
|
18437
|
+
function Ak(t) {
|
|
18434
18438
|
const { view: e } = t, i = e?.map;
|
|
18435
18439
|
return i ? vt.watch(
|
|
18436
18440
|
// observe initialization changes so unsupported clones can be retried after loading.
|
|
@@ -18452,23 +18456,23 @@ function qm(t, e) {
|
|
|
18452
18456
|
}
|
|
18453
18457
|
);
|
|
18454
18458
|
}
|
|
18455
|
-
function
|
|
18459
|
+
function Tk(t) {
|
|
18456
18460
|
const { view: e } = t;
|
|
18457
18461
|
let i;
|
|
18458
18462
|
return e?.selectionManager && (i = qm(t, e.selectionManager)), i;
|
|
18459
18463
|
}
|
|
18460
|
-
function
|
|
18464
|
+
function kk(t) {
|
|
18461
18465
|
const { selectionManager: e } = t;
|
|
18462
18466
|
let i;
|
|
18463
18467
|
return e && (i = qm(t, e)), i;
|
|
18464
18468
|
}
|
|
18465
|
-
async function
|
|
18469
|
+
async function Ik(t) {
|
|
18466
18470
|
const e = Zm(`assets/common/t9n/messages.${t}.json`), i = await fetch(e);
|
|
18467
18471
|
if (!i.ok)
|
|
18468
18472
|
throw new Error(`Failed to load t9n file: ${e}`);
|
|
18469
18473
|
return await i.json();
|
|
18470
18474
|
}
|
|
18471
|
-
async function
|
|
18475
|
+
async function Rk(t = Ea(document.documentElement).t9nLocale) {
|
|
18472
18476
|
let e = (await import("@amcharts/amcharts4/lang/en_US.js")).default;
|
|
18473
18477
|
switch (t) {
|
|
18474
18478
|
case "ar":
|
|
@@ -18588,7 +18592,7 @@ async function Ik(t = Wa(document.documentElement).t9nLocale) {
|
|
|
18588
18592
|
}
|
|
18589
18593
|
return e;
|
|
18590
18594
|
}
|
|
18591
|
-
async function
|
|
18595
|
+
async function wk(t = Ea(document.documentElement).t9nLocale) {
|
|
18592
18596
|
let e = (await import("@amcharts/amcharts5/locales/en_US.js")).default;
|
|
18593
18597
|
switch (t) {
|
|
18594
18598
|
case "ar":
|
|
@@ -18711,35 +18715,35 @@ async function Rk(t = Wa(document.documentElement).t9nLocale) {
|
|
|
18711
18715
|
}
|
|
18712
18716
|
return e;
|
|
18713
18717
|
}
|
|
18714
|
-
async function
|
|
18715
|
-
const i = e ? await
|
|
18718
|
+
async function Dk(t = Ea(document.documentElement).t9nLocale, e) {
|
|
18719
|
+
const i = e ? await wk(t) : await Rk(t), a = (await Ik(t)).customAmchartsStrings;
|
|
18716
18720
|
return { ...i, ...a };
|
|
18717
18721
|
}
|
|
18718
|
-
const
|
|
18719
|
-
class
|
|
18722
|
+
const Ok = ({ message: t, heading: e, options: i }) => ao`<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 ? ao`<div slot=title>${e}</div>` : null}${t !== void 0 ? ao`<div slot=message>${t}</div>` : null}</calcite-alert>`, Mk = sg`.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}`;
|
|
18723
|
+
class $k extends kp {
|
|
18720
18724
|
constructor(e) {
|
|
18721
18725
|
super(e);
|
|
18722
18726
|
}
|
|
18723
18727
|
addLayerWatchHandlers(e) {
|
|
18724
|
-
this.removeLayerWatchHandlers(), this.layerFilterWatchHandler =
|
|
18728
|
+
this.removeLayerWatchHandlers(), this.layerFilterWatchHandler = Sk(this.component, e), this.layerRendererWatchHandler = Ck(this.component, e), this.layerFieldsWatchHandler = Fk(this.component, e);
|
|
18725
18729
|
}
|
|
18726
18730
|
setViewExtentChangeWatchHandler(e, i) {
|
|
18727
|
-
(e ?? (this.component.filterByExtent || this.component.filterByViewExtent)) && (this.removeViewExtentChangeWatchHandlers(), this.viewExtentChangeWatchHandlers =
|
|
18731
|
+
(e ?? (this.component.filterByExtent || this.component.filterByViewExtent)) && (this.removeViewExtentChangeWatchHandlers(), this.viewExtentChangeWatchHandlers = xk(this.component, i));
|
|
18728
18732
|
}
|
|
18729
18733
|
setLayerReplacementWatchHandler() {
|
|
18730
|
-
this.removeLayerReplacementWatchHandler(), this.layerReplacementWatchHandler =
|
|
18734
|
+
this.removeLayerReplacementWatchHandler(), this.layerReplacementWatchHandler = Ak(this.component);
|
|
18731
18735
|
}
|
|
18732
18736
|
setViewTimeZoneWatchHandler() {
|
|
18733
|
-
this.removeViewTimeZoneChangeWatchHandler(), this.viewTimeZoneChangeWatchHandler =
|
|
18737
|
+
this.removeViewTimeZoneChangeWatchHandler(), this.viewTimeZoneChangeWatchHandler = Lk(this.component);
|
|
18734
18738
|
}
|
|
18735
18739
|
setViewTimeExtentChangeWatchHandler() {
|
|
18736
|
-
this.removeViewTimeExtentChangeWatchHandler(), this.viewTimeExtentChangeWatchHandler =
|
|
18740
|
+
this.removeViewTimeExtentChangeWatchHandler(), this.viewTimeExtentChangeWatchHandler = vk(this.component);
|
|
18737
18741
|
}
|
|
18738
18742
|
setViewSelectionsChangeWatchHandler() {
|
|
18739
|
-
this.removeViewSelectionsChangeWatchHandler(), this.viewSelectionsChangeWatchHandler =
|
|
18743
|
+
this.removeViewSelectionsChangeWatchHandler(), this.viewSelectionsChangeWatchHandler = Tk(this.component);
|
|
18740
18744
|
}
|
|
18741
18745
|
setSelectionManagerChangeWatchHandler() {
|
|
18742
|
-
this.removeSelectionManagerChangeWatchHandler(), this.selectionManagerChangeWatchHandler =
|
|
18746
|
+
this.removeSelectionManagerChangeWatchHandler(), this.selectionManagerChangeWatchHandler = kk(this.component);
|
|
18743
18747
|
}
|
|
18744
18748
|
removeLayerWatchHandlers() {
|
|
18745
18749
|
this.removeLayerFilterWatchHandler(), this.removeLayerRendererWatchHandler(), this.removeLayerFieldsWatchHandler();
|
|
@@ -18775,24 +18779,24 @@ class Mk extends kp {
|
|
|
18775
18779
|
this.viewTimeExtentChangeWatchHandler?.remove(), this.component.runtimeDataFilters?.timeExtent && delete this.component.runtimeDataFilters.timeExtent;
|
|
18776
18780
|
}
|
|
18777
18781
|
}
|
|
18778
|
-
function $k(t) {
|
|
18779
|
-
return Bk(t) || Nk(t) || Pk(t);
|
|
18780
|
-
}
|
|
18781
18782
|
function Bk(t) {
|
|
18782
|
-
return
|
|
18783
|
+
return Nk(t) || Pk(t) || Vk(t);
|
|
18783
18784
|
}
|
|
18784
18785
|
function Nk(t) {
|
|
18785
|
-
return Al(t) && t.localName === "arcgis-
|
|
18786
|
+
return Al(t) && t.localName === "arcgis-map";
|
|
18786
18787
|
}
|
|
18787
18788
|
function Pk(t) {
|
|
18789
|
+
return Al(t) && t.localName === "arcgis-scene";
|
|
18790
|
+
}
|
|
18791
|
+
function Vk(t) {
|
|
18788
18792
|
return Al(t) && t.localName === "arcgis-link-chart";
|
|
18789
18793
|
}
|
|
18790
18794
|
function Al(t) {
|
|
18791
18795
|
return t !== void 0 && "componentOnReady" in t && typeof t.componentOnReady == "function";
|
|
18792
18796
|
}
|
|
18793
|
-
class
|
|
18797
|
+
class Wk extends eg {
|
|
18794
18798
|
constructor() {
|
|
18795
|
-
super(), this._messages = ql(), this._chartRef = rg(), this._commonStrings = ql({ name: "common", blocking: !0 }), this._watchHandlersController = new
|
|
18799
|
+
super(), this._messages = ql(), this._chartRef = rg(), this._commonStrings = ql({ name: "common", blocking: !0 }), this._watchHandlersController = new $k(this), this._rotated = !1, this._legendVisibility = !1, this._showLoader = !1, this._lastRenderedRevision = 0, this._noRenderingUpdateProps = [
|
|
18796
18800
|
"_messages",
|
|
18797
18801
|
"showLoader",
|
|
18798
18802
|
"infoModalMessage",
|
|
@@ -18803,7 +18807,7 @@ class Vk extends eg {
|
|
|
18803
18807
|
args: () => [this.referenceElement],
|
|
18804
18808
|
task: async ([e]) => {
|
|
18805
18809
|
const i = e ? Ip(this, e) : tg(this.el, "arcgis-map,arcgis-scene,arcgis-link-chart");
|
|
18806
|
-
if (
|
|
18810
|
+
if (Bk(i))
|
|
18807
18811
|
return await i?.componentOnReady(), i;
|
|
18808
18812
|
},
|
|
18809
18813
|
onComplete: (e) => {
|
|
@@ -19143,10 +19147,10 @@ class Vk extends eg {
|
|
|
19143
19147
|
}
|
|
19144
19148
|
}), this._fetchAmChartsStrings = new ii(this, {
|
|
19145
19149
|
args: () => [
|
|
19146
|
-
|
|
19150
|
+
Ea(this._chartRef.value ?? document.documentElement).t9nLocale,
|
|
19147
19151
|
this._useAmCharts5()
|
|
19148
19152
|
],
|
|
19149
|
-
task: async ([e, i]) => await
|
|
19153
|
+
task: async ([e, i]) => await Dk(e, i),
|
|
19150
19154
|
onComplete: () => {
|
|
19151
19155
|
this.taskCompletionTick++;
|
|
19152
19156
|
},
|
|
@@ -19165,7 +19169,7 @@ class Vk extends eg {
|
|
|
19165
19169
|
this.properties = { layerFromPortalItem: 16, layerLoadError: 16, layerView: 16, queryObject: 16, internalModel: 16, forceDataUpdateTick: 16, taskCompletionTick: 16, infoModalMessage: 16, notifyMessage: 16, showLoader: 16, modelRevision: 16, internalView: 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, truncateLongTitles: 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, animationsEnabled: 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, referenceElement: 1, mapLayerId: 1 };
|
|
19166
19170
|
}
|
|
19167
19171
|
static {
|
|
19168
|
-
this.styles =
|
|
19172
|
+
this.styles = Mk;
|
|
19169
19173
|
}
|
|
19170
19174
|
get _isSelectionManagerEnabled() {
|
|
19171
19175
|
return this.selectionManager !== void 0 || this.view?.selectionManager !== void 0 && (this.syncViewSelection || this.syncSelectionsBetweenChartAndLayerViewPolicy === Os.Enabled);
|
|
@@ -19255,7 +19259,7 @@ class Vk extends eg {
|
|
|
19255
19259
|
};
|
|
19256
19260
|
if (this._sanitizedChartData) {
|
|
19257
19261
|
await this._loadQueryObject.taskComplete;
|
|
19258
|
-
const n = this.queryObject, s = n ? Lt(n, this.usePopupTemplateFieldsInfo || this.popupTemplateFieldInfosEnabled) : void 0, r = this.internalModel?.config, l = oh(this.getEffectiveTimeZone(r)), c = this._processedChartData ?? this._sanitizedChartData, u = await nh(it(n)), d = r?.chartRenderer ? sh(r.chartRenderer) : [], f = [.../* @__PURE__ */ new Set([...u, ...d])], g =
|
|
19262
|
+
const n = this.queryObject, s = n ? Lt(n, this.usePopupTemplateFieldsInfo || this.popupTemplateFieldInfosEnabled) : void 0, r = this.internalModel?.config, l = oh(this.getEffectiveTimeZone(r)), c = this._processedChartData ?? this._sanitizedChartData, u = await nh(it(n)), d = r?.chartRenderer ? sh(r.chartRenderer) : [], f = [.../* @__PURE__ */ new Set([...u, ...d])], g = Ra(r, f), h = mt(this.internalModel) ? this.internalModel?.titleText : this.internalModel?.config ? Kl(this.internalModel.config) : this._commonStrings.utilsStrings.chartType.chart;
|
|
19259
19263
|
if (Object.values(c).filter((p) => Array.isArray(p) && p.length > 0).length > 1) {
|
|
19260
19264
|
const p = new ng();
|
|
19261
19265
|
Object.entries(c).forEach(([C, x]) => {
|
|
@@ -19371,9 +19375,9 @@ class Vk extends eg {
|
|
|
19371
19375
|
}
|
|
19372
19376
|
}
|
|
19373
19377
|
_handleRuntimeError(e) {
|
|
19374
|
-
if (e instanceof
|
|
19375
|
-
const i
|
|
19376
|
-
this.notify(i,
|
|
19378
|
+
if (e instanceof oi && e.name === Fa.QueryFeaturesError ? this.arcgisDataProcessError.emit(e.details) : e instanceof oi && this.arcgisRuntimeError.emit(e.details ?? e), typeof e == "object" && e && "message" in e && !Op(e)) {
|
|
19379
|
+
const { message: i, heading: a } = nk(e, this._commonStrings?.errorStrings);
|
|
19380
|
+
this.notify(i, a);
|
|
19377
19381
|
}
|
|
19378
19382
|
}
|
|
19379
19383
|
getEffectiveTimeZone(e, i) {
|
|
@@ -19421,7 +19425,7 @@ class Vk extends eg {
|
|
|
19421
19425
|
try {
|
|
19422
19426
|
(!e && !this.loadedLayer || Zl(e, this.loadedLayer) && !Zi(e) && await this._isChartSupportedByDataSource.taskComplete) && await this._renderChart();
|
|
19423
19427
|
} catch (i) {
|
|
19424
|
-
this._chartRef.value !== void 0 && (i instanceof
|
|
19428
|
+
this._chartRef.value !== void 0 && (i instanceof oi && i.name === Fa.ChartDisposed ? (this._chart?.dispose(), this._chart = void 0, this._chartRef.value.innerHTML = "", await this._createChartInstance(!1)) : this._handleRuntimeError(i));
|
|
19425
19429
|
}
|
|
19426
19430
|
else this._chart === void 0 && await this._createChartInstance();
|
|
19427
19431
|
this.placeholder !== void 0 ? await this.notify(this.placeholder) : (this.enableConfiguration || this.configurationEnabled) && Zi(e) && this._applyPlaceholderForPartialConfig(e);
|
|
@@ -19494,7 +19498,7 @@ class Vk extends eg {
|
|
|
19494
19498
|
if (e.schemaErrors.length > 0 && !Zi(a))
|
|
19495
19499
|
this.notify(i?.invalidConfig, void 0);
|
|
19496
19500
|
else if (e.customErrors.length > 0 && !Zi(a)) {
|
|
19497
|
-
const o = e.customErrors.find((n) => n.keyword ===
|
|
19501
|
+
const o = e.customErrors.find((n) => n.keyword === Fa.LayerFieldsNotFound);
|
|
19498
19502
|
if (o)
|
|
19499
19503
|
if (_e(this.loadedLayer)) {
|
|
19500
19504
|
const n = Qi(i?.invalidConfigForRaster ?? "", {
|
|
@@ -19647,7 +19651,7 @@ class Vk extends eg {
|
|
|
19647
19651
|
this._watchHandlersController.removeSelectionManagerChangeWatchHandler();
|
|
19648
19652
|
}
|
|
19649
19653
|
_applyPlaceholderForPartialConfig(e) {
|
|
19650
|
-
const i = Jl(this.internalModel) ? y.ComboLineAndBarSeries : W(e?.series), a =
|
|
19654
|
+
const i = Jl(this.internalModel) ? y.ComboLineAndBarSeries : W(e?.series), a = rk(i, this._commonStrings?.errorStrings);
|
|
19651
19655
|
this.notify(a);
|
|
19652
19656
|
}
|
|
19653
19657
|
_checkForIncompatibleChartVersion() {
|
|
@@ -19844,7 +19848,7 @@ class Vk extends eg {
|
|
|
19844
19848
|
this._handleUpdateCompleted(e);
|
|
19845
19849
|
else {
|
|
19846
19850
|
this.showLoader = !1;
|
|
19847
|
-
const { title: a, message: o } =
|
|
19851
|
+
const { title: a, message: o } = sk({
|
|
19848
19852
|
chartConfig: i,
|
|
19849
19853
|
createMessage: this.placeholder,
|
|
19850
19854
|
status: e,
|
|
@@ -19972,7 +19976,7 @@ class Vk extends eg {
|
|
|
19972
19976
|
queryObject: o,
|
|
19973
19977
|
chartConfig: d,
|
|
19974
19978
|
allowColorMatch: yd({ chartConfig: d, queryObject: o })
|
|
19975
|
-
})), this._calciteThemeColors && (d =
|
|
19979
|
+
})), this._calciteThemeColors && (d = bk(d, this._calciteThemeColors), this._calciteThemeApplied = kl(this.el));
|
|
19976
19980
|
let $ = !1, M;
|
|
19977
19981
|
if (d.series[0].type === y.PieSeries) {
|
|
19978
19982
|
const P = jt(this._processedChartData), X = jt(b.data);
|
|
@@ -20083,8 +20087,8 @@ class Vk extends eg {
|
|
|
20083
20087
|
}
|
|
20084
20088
|
}
|
|
20085
20089
|
render() {
|
|
20086
|
-
this._calciteThemeColors =
|
|
20087
|
-
const e = this.notifyMessage ?
|
|
20090
|
+
this._calciteThemeColors = lk(this.el, this.calciteThemingCSSVariables);
|
|
20091
|
+
const e = this.notifyMessage ? Ok({ heading: this._notifyHeading, message: this.notifyMessage, options: this._notifyOptions }) : null, i = this.infoModalMessage !== void 0 && this.showUIMessages !== !1 && !this.hideUIMessages || this.showLoader, a = this.notifyMessage && this._notifyOptions?.kind === "danger" || i, o = {
|
|
20088
20092
|
[Nt.ChartWrapper]: !0,
|
|
20089
20093
|
[Nt.Hide]: a,
|
|
20090
20094
|
[Nt.Show]: !a,
|
|
@@ -20096,12 +20100,12 @@ class Vk extends eg {
|
|
|
20096
20100
|
[Nt.Chart]: !a,
|
|
20097
20101
|
[Nt.DisableInteractions]: this.interactionsDisabled || this.disableInteractions
|
|
20098
20102
|
}, s = this.notifyMessage !== void 0 ? { [Nt.NotifyPanel]: !0, [Nt.Show]: !0 } : { [Nt.Hide]: !0 };
|
|
20099
|
-
return
|
|
20103
|
+
return ao`<slot name=${op.actionBar} @slotchange=${(r) => {
|
|
20100
20104
|
this._actionBarElement = Lp(r, this.el, this.internalModel?.config);
|
|
20101
|
-
}} ${Rl(this._actionBarSlotRef)}></slot>${i ?
|
|
20105
|
+
}} ${Rl(this._actionBarSlotRef)}></slot>${i ? ao`<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=${ds(o)}><div class=${ds(n)} ${Rl(this._chartRef)}></div></div><div class=${ds(s)}>${e}</div>`;
|
|
20102
20106
|
}
|
|
20103
20107
|
}
|
|
20104
|
-
Km("arcgis-chart",
|
|
20108
|
+
Km("arcgis-chart", Wk);
|
|
20105
20109
|
export {
|
|
20106
|
-
|
|
20110
|
+
Wk as ArcgisChart
|
|
20107
20111
|
};
|