@arcgis/charts-components 5.2.0-next.160 → 5.2.0-next.161
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/{MMRG4Q5Q.js → 25TMILMW.js} +1 -1
- package/dist/cdn/{DQLO4ITR.js → 2EVGCHLU.js} +1 -1
- package/dist/cdn/{K4WZTS5W.js → 2IKWOLN3.js} +1 -1
- package/dist/cdn/{QXNM2F6D.js → 2ML7QPKF.js} +1 -1
- package/dist/cdn/{SEBELUXK.js → 2VJHMRVH.js} +1 -1
- package/dist/cdn/{NDECGMQR.js → 35NEE76D.js} +1 -1
- package/dist/cdn/{JMC5FR6G.js → 465VYGYI.js} +1 -1
- package/dist/cdn/{AWZYMQFF.js → 4IKEKWOE.js} +1 -1
- package/dist/cdn/{4T5L3BLL.js → 5E3TO5VL.js} +1 -1
- package/dist/cdn/{TWACT53N.js → 5MSLKMMC.js} +1 -1
- package/dist/cdn/{6QEBTDLJ.js → 6C6WSW7H.js} +1 -1
- package/dist/cdn/{YFVUQYKO.js → 6OQ3ZDVR.js} +1 -1
- package/dist/cdn/{MZAJOKMM.js → 7UP7WEAU.js} +1 -1
- package/dist/cdn/{UG74S4GG.js → AF73AYAM.js} +1 -1
- package/dist/cdn/{TQUFEFBE.js → B4TPP6RZ.js} +1 -1
- package/dist/cdn/{2LV6GDYK.js → BHKK6FLW.js} +1 -1
- package/dist/cdn/BYTEHOE7.js +2 -0
- package/dist/cdn/{ETSSSFIS.js → C33ISW4F.js} +1 -1
- package/dist/cdn/{RW56D36T.js → CAMGJEUR.js} +1 -1
- package/dist/cdn/{HOYAL4U2.js → CHKXXWE6.js} +1 -1
- package/dist/cdn/{GRQ3RAS2.js → D4OB7XLF.js} +1 -1
- package/dist/cdn/{GCGZ4SRD.js → EA2ASB3H.js} +1 -1
- package/dist/cdn/{6IEIR3IJ.js → EMWEY7ZI.js} +1 -1
- package/dist/cdn/{G37DEPFO.js → EWJBDML4.js} +1 -1
- package/dist/cdn/{P6XYFLVZ.js → F52ELKRO.js} +1 -1
- package/dist/cdn/{2USDPS2L.js → FUQSPTZN.js} +1 -1
- package/dist/cdn/{PMMT66SN.js → FVSFPYCR.js} +1 -1
- package/dist/cdn/{YNOSBB23.js → G3WQCZSG.js} +1 -1
- package/dist/cdn/{54WTBBPU.js → GSYIK4QQ.js} +1 -1
- package/dist/cdn/{R5VDLCQN.js → H32JHNE3.js} +1 -1
- package/dist/cdn/{QSCUSBOE.js → HICJD6DS.js} +1 -1
- package/dist/cdn/{DNS4RWBT.js → HNNCAYBK.js} +1 -1
- package/dist/cdn/{PNELR4NS.js → HPRC3P7F.js} +1 -1
- package/dist/cdn/HQIRZSK7.js +2 -0
- package/dist/cdn/{75J7S444.js → HS7MWTLI.js} +1 -1
- package/dist/cdn/{KND6442A.js → I7NIEVUL.js} +1 -1
- package/dist/cdn/{L3C4LMLQ.js → IAAXYB7Z.js} +1 -1
- package/dist/cdn/{JX5JAG7D.js → IDJIOIPJ.js} +1 -1
- package/dist/cdn/{C5HTXSZS.js → IHV2PSBX.js} +1 -1
- package/dist/cdn/{D4E2DTYE.js → J2FKQWZT.js} +1 -1
- package/dist/cdn/{3GGD7KLV.js → JFIKB6TE.js} +1 -1
- package/dist/cdn/{RKYMPBR5.js → JJFAGT6G.js} +1 -1
- package/dist/cdn/{Y5W5WINS.js → JN3U4Y5T.js} +1 -1
- package/dist/cdn/{DDNBFHKN.js → JXF4ULHX.js} +1 -1
- package/dist/cdn/JZPIPSYO.js +4 -0
- package/dist/cdn/{DLX6ZNYG.js → KKPMX525.js} +1 -1
- package/dist/cdn/{GT7N5NKM.js → KMDY2BNL.js} +1 -1
- package/dist/cdn/{WAESGWAL.js → LLF5VNA5.js} +1 -1
- package/dist/cdn/{VWS73BFY.js → LQIVBCUD.js} +1 -1
- package/dist/cdn/{Q44XXOXV.js → MNSF7JJM.js} +1 -1
- package/dist/cdn/{Q6DXB7DT.js → MOVPKC7L.js} +1 -1
- package/dist/cdn/{A5UWEHLX.js → MYDY7Q6P.js} +1 -1
- package/dist/cdn/{B7NGZOWD.js → N3LZODVA.js} +1 -1
- package/dist/cdn/{5HKCWI3P.js → O636LI34.js} +1 -1
- package/dist/cdn/{O7SBBJIT.js → OL3ACZEB.js} +1 -1
- package/dist/cdn/{C24TOQMU.js → OMV6OE2Z.js} +11 -11
- package/dist/cdn/{KTDX5Z2G.js → P3O6GZSZ.js} +1 -1
- package/dist/cdn/{7NDAZIXV.js → PATB6UOF.js} +1 -1
- package/dist/cdn/{EBMUNX44.js → Q55Q7RXW.js} +1 -1
- package/dist/cdn/{VTXTISBO.js → QNGJ2NXH.js} +1 -1
- package/dist/cdn/{FF4LQHDS.js → R5FERWLW.js} +1 -1
- package/dist/cdn/{GPHCD6G4.js → R6FIMVWO.js} +1 -1
- package/dist/cdn/{ECFOVMA2.js → RWP5ZFPV.js} +1 -1
- package/dist/cdn/{62FK6ANF.js → S2VVOYYV.js} +1 -1
- package/dist/cdn/{OIRY7UKP.js → SQTZHFKM.js} +1 -1
- package/dist/cdn/{R623PW73.js → TB3TYVK2.js} +1 -1
- package/dist/cdn/{25EQGAJY.js → TFS2FLYV.js} +1 -1
- package/dist/cdn/{FS6K3PGA.js → VEFQ3ZKG.js} +1 -1
- package/dist/cdn/{EI6JNZL7.js → VFOEFPOW.js} +1 -1
- package/dist/cdn/{TR3X4GPJ.js → VLY2KRJ2.js} +1 -1
- package/dist/cdn/{WGKZDY7Y.js → VPCS6ZXS.js} +1 -1
- package/dist/cdn/{SZHT3SPH.js → W3AWWIGN.js} +1 -1
- package/dist/cdn/{YWKT5FUP.js → WKBTCETV.js} +1 -1
- package/dist/cdn/{JHUXUZ3V.js → X6NJXMTE.js} +1 -1
- package/dist/cdn/{NAFHJZYK.js → X73TC36H.js} +1 -1
- package/dist/cdn/{LGUGOYL5.js → X7H4RWYS.js} +1 -1
- package/dist/cdn/{J3AUMK36.js → XB6HEB2Y.js} +1 -1
- package/dist/cdn/{7ULLR4CN.js → XFBS7TR6.js} +1 -1
- package/dist/cdn/{NTDBPHHL.js → XFTBNWPR.js} +1 -1
- package/dist/cdn/{6UOV5TES.js → YGEZCMV7.js} +1 -1
- package/dist/cdn/{MHIL7RCM.js → YKWJEWAX.js} +1 -1
- package/dist/cdn/{ZBHRRQNP.js → ZTYYTE3O.js} +1 -1
- package/dist/cdn/{XDTACW3D.js → ZVGMC5LQ.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chunks/bar-chart-model.js +3 -3
- package/dist/chunks/box-plot-model.js +6 -6
- package/dist/chunks/chart-model.js +19 -19
- package/dist/chunks/combo-bar-line-chart-model.js +8 -8
- package/dist/chunks/gauge-model.js +16 -16
- package/dist/chunks/histogram-model.js +5 -5
- package/dist/chunks/index.js +1502 -1481
- package/dist/chunks/line-chart-model.js +5 -5
- package/dist/chunks/model-with-x-guides.js +1 -1
- package/dist/chunks/model-with-y-guides.js +10 -10
- package/dist/chunks/pie-chart-model.js +6 -6
- package/dist/chunks/radar-chart-model.js +1 -1
- package/dist/chunks/scatterplot-model.js +12 -12
- package/dist/chunks/serial-chart-model.js +1 -1
- package/dist/chunks/x-bounds.js +17 -17
- package/dist/components/arcgis-chart/customElement.js +90 -85
- package/dist/components/arcgis-charts-config-scatter-plot-aoi/customElement.js +20 -24
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +78 -76
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +214 -213
- package/dist/loader.js +1 -1
- package/package.json +4 -4
- package/dist/cdn/DGXBF4BH.js +0 -4
- package/dist/cdn/EX7GAUGC.js +0 -2
- package/dist/cdn/GAFCUST3.js +0 -2
|
@@ -10,16 +10,16 @@ import { getElementLocale as Pa } from "@arcgis/toolkit/intl/dom";
|
|
|
10
10
|
import { log as Xm } from "@arcgis/toolkit/log";
|
|
11
11
|
import { Task as ii, shallowArrayEquals as Ym, TaskStatus as Cl } from "@lit/task";
|
|
12
12
|
import { snapdom as Um } from "@zumer/snapdom";
|
|
13
|
-
import { debounce as yt, cloneDeep as
|
|
13
|
+
import { debounce as yt, cloneDeep as Ae, isEqual as mt, isEmpty as ya } from "es-toolkit/compat";
|
|
14
14
|
import jm from "jszip";
|
|
15
15
|
import { html as to, css as qm } from "lit";
|
|
16
16
|
import { createRef as Zm, ref as xl } from "lit/directives/ref.js";
|
|
17
17
|
import { H as Bt } from "../../chunks/resources.js";
|
|
18
|
-
import { XYChart as ue, PieChart as Me, AxisFill as Km, AxisFillCircular as Qm, GaugeChart as Tt, DateAxis as Ve, ValueAxis as
|
|
18
|
+
import { XYChart as ue, PieChart as Me, AxisFill as Km, AxisFillCircular as Qm, GaugeChart as Tt, DateAxis as Ve, ValueAxis as ke, CategoryAxis as lt, CategoryAxisDataItem as Aa, DateAxisDataItem as hn, LineSeries as be, ColumnSeries as ct, PieSeries as Wt, XYCursor as _c, XYSeries as yi, SerialChart as Ks, Cursor as Jm, AxisLabel as Qs, ColumnSeriesDataItem as Js, LineSeriesDataItem as Va, CandlestickSeries as He, StepLineSeries as Lt, LegendDataItem as oa, Series as Gc, CandlestickSeriesDataItem as eg, PieSeriesDataItem as Si, Legend as tg, AxisRendererX as Ft, AxisRendererCircular as pn, AxisLabelCircular as er, ValueAxisDataItem as tr, AxisRendererY as Wa, ClockHand as ig, Chart as Xc } from "@amcharts/amcharts4/charts.js";
|
|
19
19
|
import { Color as Go, percent as gt, LinePattern as Yc, RectPattern as Uc, color as bn, DateFormatter as jc, NumberFormatter as qc, Group as ag, MouseCursorStyle as qt, Label as Xo, DropShadowFilter as og, Sprite as ir, utils as Zc, Tooltip as Kc, Container as ng, RoundedRectangle as sg, Percent as Yo, Slice as rg, options as io, useTheme as lg, unuseTheme as cg, create as ar } from "@amcharts/amcharts4/core.js";
|
|
20
20
|
import vl from "@amcharts/amcharts4/themes/animated.js";
|
|
21
21
|
import { W as xe, a as y, b as ss, c as te, S as Qc, d as Ut, e as Ue, f as H, g as yn, h as Jc, i as Ll, j as Sa, k as Fl, l as rs, m as Al, n as Ca, o as dg } from "../../chunks/chart-object-literals.js";
|
|
22
|
-
import { C as _, f as ed, e as po, i as no, a as Uo, b as td, m as id, c as Sn, d as ad, g as jt, h as od, j as nd, k as or, s as nr, l as Ee, n as sd, o as rd, p as jo, q as ug, r as Z, t as it, u as na, v as vt, w as _i, x as V, y as Et, z as sr, A as ai, B as $e, D as ls, E as xa, F as hi, G as pi, H as bt, I as De, J as bo, K as Ea, L as Xe, M as Ci, N as rr, O as
|
|
22
|
+
import { C as _, f as ed, e as po, i as no, a as Uo, b as td, m as id, c as Sn, d as ad, g as jt, h as od, j as nd, k as or, s as nr, l as Ee, n as sd, o as rd, p as jo, q as ug, r as Z, t as it, u as na, v as vt, w as _i, x as V, y as Et, z as sr, A as ai, B as $e, D as ls, E as xa, F as hi, G as pi, H as bt, I as De, J as bo, K as Ea, L as Xe, M as Ci, N as rr, O as Te, P as oi, Q as Ta, R as Cn, S as ni, T as lr, U as cs, V as J, W as St, X as cr, Y as Qt, Z as Ti, _ as ie, $ as Ce, a0 as fg, a1 as Qe, a2 as xn, a3 as nt, a4 as Vi, a5 as di, a6 as ki, a7 as ge, a8 as Wi, a9 as dr, aa as za, ab as Mt, ac as ld, ad as ur, ae as fr, af as cd, ag as mr, ah as gr, ai as Gt, aj as yo, ak as so, al as hr, am as Ha, an as dd, ao as ud, ap as xi, aq as fd, ar as md, as as vn, at as pr, au as Ln, av as br, aw as yr, ax as gd, ay as hd, az as pd, aA as Sr, aB as bd, aC as Tl, aD as Fn, aE as yd, aF as Cr, aG as xr, aH as qo, aI as si, aJ as mg, aK as Sd, aL as Cd, aM as ao, aN as An, aO as xd, aP as vd, aQ as gg, aR as hg, aS as Zo, aT as pg, aU as bg, aV as Ld, aW as Fd, aX as yg, aY as Sg, aZ as Cg, a_ as Tn, a$ as xg, b0 as F, b1 as vg, b2 as Ad, b3 as Lg, b4 as Fg, b5 as Ag, b6 as zt, b7 as Eo, b8 as Ie, b9 as kn, ba as Ki, bb as ro, bc as Td, bd as kd, be as Id, bf as Tg, bg as kg, bh as Ig, bi as Rg, bj as wg, bk as ds, bl as Dg, bm as Og, bn as Rd, bo as Mg, bp as $g, bq as Bg, br as Ng, bs as Pg, bt as Vg, bu as Wg, bv as Eg, bw as zg, bx as zo, by as wd, bz as Ls, bA as kl, bB as Hg, bC as _g, bD as Gg, bE as Xg, bF as us, bG as Yg, bH as gi, bI as Ug, bJ as jg, bK as qg, bL as Zg, bM as Kg, bN as Il, bO as Qg, bP as Jg, bQ as eh, bR as th, bS as ih, bT as ah, bU as Rl, bV as oh, bW as nh, bX as sh, bY as rh, bZ as lh, b_ as ch, b$ as dh, c0 as uh, c1 as fh } from "../../chunks/index.js";
|
|
23
23
|
import "@amcharts/amcharts4/.internal/charts/axes/Axis.js";
|
|
24
24
|
import { R as Ye, a as tt, b as K, c as fs, d as In, e as Ko } from "../../chunks/rest-js-object-literals.js";
|
|
25
25
|
import { g as ea, r as vr, f as So, a as wl, p as Pt, b as ka, c as Fs, d as mh, e as gh, h as hh, q as bi, i as Re, j as Rn, k as Lr, l as Fr, m as Ar, n as Dd, o as Ia, s as Od, t as wn, u as Md, v as Tr, w as $d, x as ph, y as Bd, z as Co, A as bh, B as yh, C as Sh, D as Ch, E as Ra, F as Dl, G as xh, H as vh, L as Lh, I as Ol } from "../../chunks/index2.js";
|
|
@@ -596,7 +596,7 @@ function _p(t) {
|
|
|
596
596
|
} = t, c = o ? {
|
|
597
597
|
..._.pieChart.sliceGrouping.fillSymbol,
|
|
598
598
|
...i.sliceGrouping?.fillSymbol
|
|
599
|
-
} :
|
|
599
|
+
} : Ae(n?.fillSymbol ?? i.fillSymbol), u = Et({
|
|
600
600
|
dataItem: e,
|
|
601
601
|
seriesConfig: i,
|
|
602
602
|
chartSubType: l,
|
|
@@ -734,9 +734,9 @@ async function Gp(t) {
|
|
|
734
734
|
popupTemplateFieldInfosEnabled: u,
|
|
735
735
|
utilsStrings: d
|
|
736
736
|
} = t, { slices: f } = r ?? {}, g = W(n.series);
|
|
737
|
-
let h = !1, b = n, p =
|
|
737
|
+
let h = !1, b = n, p = Ae(r), S, C;
|
|
738
738
|
if (c && (g === y.PieSeries || g === y.GaugeSeries)) {
|
|
739
|
-
h = !0, b =
|
|
739
|
+
h = !0, b = Ae(n);
|
|
740
740
|
const x = nr({
|
|
741
741
|
data: a,
|
|
742
742
|
seriesConfig: n.series
|
|
@@ -940,7 +940,7 @@ function $r(t) {
|
|
|
940
940
|
const s = e[_.pieChart.technicalFieldSliceId], r = i?.slices?.find(
|
|
941
941
|
(l) => l.sliceId === s
|
|
942
942
|
);
|
|
943
|
-
o =
|
|
943
|
+
o = Ae(r?.fillSymbol ?? a.fillSymbol ?? Fs());
|
|
944
944
|
}
|
|
945
945
|
return o;
|
|
946
946
|
}
|
|
@@ -1117,13 +1117,13 @@ function Os(t) {
|
|
|
1117
1117
|
isXAxis: !0,
|
|
1118
1118
|
chartType: a,
|
|
1119
1119
|
valueFormat: i
|
|
1120
|
-
}), n = bt(i) && e instanceof Ve, s = De(i) && e instanceof
|
|
1120
|
+
}), n = bt(i) && e instanceof Ve, s = De(i) && e instanceof ke && !(e instanceof Ve), r = o && e instanceof lt;
|
|
1121
1121
|
return !n && !s && !r;
|
|
1122
1122
|
}
|
|
1123
1123
|
function Qd(t, e) {
|
|
1124
1124
|
let i = typeof e == "number" ? `${e}` : e;
|
|
1125
1125
|
const a = ot(t.uid, "numberFormatter");
|
|
1126
|
-
return a !== void 0 && (i = a(e)),
|
|
1126
|
+
return a !== void 0 && (i = a(e)), Te(i) && (i = A.htmlEmptyContent), Xe(i);
|
|
1127
1127
|
}
|
|
1128
1128
|
function fb(t) {
|
|
1129
1129
|
t.renderer.labels.template.html = A.htmlEmptyContent, t.renderer.labels.template.adapter.add(
|
|
@@ -1161,7 +1161,7 @@ function Jd(t) {
|
|
|
1161
1161
|
f === void 0 && (f = u), o = n(u, f);
|
|
1162
1162
|
}
|
|
1163
1163
|
}
|
|
1164
|
-
return
|
|
1164
|
+
return Te(o) && (o = A.htmlEmptyContent), Xe(o);
|
|
1165
1165
|
}
|
|
1166
1166
|
function mb(t) {
|
|
1167
1167
|
t.renderer.labels.template.html = A.htmlEmptyContent, t.renderer.labels.template.adapter.add(
|
|
@@ -1178,7 +1178,7 @@ function gb(t) {
|
|
|
1178
1178
|
const { axis: e, defaultOutput: i, dataItem: a } = t;
|
|
1179
1179
|
let o = i;
|
|
1180
1180
|
const n = ot(e.uid, "dateFormatter");
|
|
1181
|
-
return n !== void 0 && a instanceof hn && (o = n(a.value ?? i)),
|
|
1181
|
+
return n !== void 0 && a instanceof hn && (o = n(a.value ?? i)), Te(o) && (o = A.htmlEmptyContent), Xe(o);
|
|
1182
1182
|
}
|
|
1183
1183
|
function hb(t) {
|
|
1184
1184
|
t.renderer.labels.template.adapter.add(
|
|
@@ -1203,7 +1203,7 @@ function pb(t) {
|
|
|
1203
1203
|
);
|
|
1204
1204
|
}
|
|
1205
1205
|
function bb(t) {
|
|
1206
|
-
t instanceof
|
|
1206
|
+
t instanceof ke && !(t instanceof Ve) ? fb(t) : t instanceof lt ? mb(t) : t instanceof Ve && hb(t), pb(t);
|
|
1207
1207
|
}
|
|
1208
1208
|
function yb(t) {
|
|
1209
1209
|
const { axis: e, formatOptions: i, dateAxisFormatter: a, isTimeOnlyField: o, setTimeZone: n, outTimeZone: s } = t;
|
|
@@ -1786,7 +1786,7 @@ function Fi(t) {
|
|
|
1786
1786
|
dataContext: i,
|
|
1787
1787
|
keepNullValues: !0
|
|
1788
1788
|
});
|
|
1789
|
-
u[n] = d, !
|
|
1789
|
+
u[n] = d, !Te(s) && !cr(s) && (u[Qt(s)] = Ti({ where: s, escape: !1 }));
|
|
1790
1790
|
} else if (r === y.BoxPlotSeries) {
|
|
1791
1791
|
u = { [n]: i[n] }, [
|
|
1792
1792
|
// TODO: add `${queryDefaults.uniqueIds}_${feature.attributes[splitByField]}` ?
|
|
@@ -3127,7 +3127,7 @@ function fy(t) {
|
|
|
3127
3127
|
})
|
|
3128
3128
|
);
|
|
3129
3129
|
}
|
|
3130
|
-
|
|
3130
|
+
Te(b) || I.push(
|
|
3131
3131
|
Mi({
|
|
3132
3132
|
label: b,
|
|
3133
3133
|
strongColon: x,
|
|
@@ -3166,7 +3166,7 @@ function fy(t) {
|
|
|
3166
3166
|
strongColon: x,
|
|
3167
3167
|
value: R
|
|
3168
3168
|
})
|
|
3169
|
-
),
|
|
3169
|
+
), Te(b) || I.push(
|
|
3170
3170
|
Mi({
|
|
3171
3171
|
label: b,
|
|
3172
3172
|
strongColon: x,
|
|
@@ -3522,7 +3522,7 @@ function vy(t) {
|
|
|
3522
3522
|
if (o !== void 0 && (a = o(
|
|
3523
3523
|
i.dataItem?.values?.value?.value ?? 0,
|
|
3524
3524
|
i.dataItem?.values?.value?.percent ?? 0
|
|
3525
|
-
)),
|
|
3525
|
+
)), Te(a) && (a = A.htmlEmptyContent), t.baseSprite instanceof Ks) {
|
|
3526
3526
|
const n = O(t.baseSprite.uid, "config");
|
|
3527
3527
|
n?.legend?.body !== void 0 && (a = da({
|
|
3528
3528
|
textSymbol: { ...n.legend.body, text: a },
|
|
@@ -3693,7 +3693,7 @@ function Iy(t) {
|
|
|
3693
3693
|
}
|
|
3694
3694
|
const u = o ? e.yAxes.getIndex(0) : e.xAxes.getIndex(0);
|
|
3695
3695
|
let d;
|
|
3696
|
-
u instanceof Ve ? d = m.DateAxis : u instanceof
|
|
3696
|
+
u instanceof Ve ? d = m.DateAxis : u instanceof ke ? d = m.ValueAxis : d = m.CategoryAxis;
|
|
3697
3697
|
const g = (a?.orderOptions?.data && "orderBy" in a.orderOptions.data ? a.orderOptions.data.orderBy === yn.Descending : !1) ? m.OrderByFieldsDESC : m.OrderByFieldsASC;
|
|
3698
3698
|
i = `${n}-${l}-${r}-${c}-${d}-${g}`;
|
|
3699
3699
|
}
|
|
@@ -3838,7 +3838,7 @@ function Ny(t) {
|
|
|
3838
3838
|
typeof d == "string" ? n = d : d && typeof d != "object" && (n = d.toString());
|
|
3839
3839
|
} else a.dataItem?.component instanceof Gc && (n = a.dataItem.component.name);
|
|
3840
3840
|
}
|
|
3841
|
-
return (n !== void 0 && !
|
|
3841
|
+
return (n !== void 0 && !Te(n) ? po(n) : n) ?? o;
|
|
3842
3842
|
}), t.valueLabels.template.adapter.add("maxWidth", (i) => {
|
|
3843
3843
|
let a = i, o;
|
|
3844
3844
|
return t.baseSprite instanceof Me && (o = O(t.baseSprite.uid, "config")?.legend?.valueLabelMaxWidth), t.position === H.Right || t.position === H.Left ? a = o ?? A.legendProperties.valueLabels.maxWidth : a = o ?? Number.NaN, a;
|
|
@@ -5319,14 +5319,14 @@ function wS(t, e) {
|
|
|
5319
5319
|
}), v = c?.axes?.[0]?.valueFormat?.intlOptions;
|
|
5320
5320
|
}
|
|
5321
5321
|
b = L.format(o, v), n !== void 0 && (p = L.format(n, v));
|
|
5322
|
-
} else if (t instanceof
|
|
5322
|
+
} else if (t instanceof ke && !(o instanceof Date) && !(n instanceof Date)) {
|
|
5323
5323
|
const { start: L, end: v } = Xr(t, h?.[s]);
|
|
5324
5324
|
Number.isFinite(L) && (b = L), Number.isFinite(v) && (p = v);
|
|
5325
5325
|
const T = ot(t.uid, "numberFormatter") ?? ((k) => new qc().format(k));
|
|
5326
5326
|
b = T(b), p !== void 0 && (p = T(p));
|
|
5327
5327
|
} else t instanceof lt && (b = o, p = n);
|
|
5328
5328
|
const S = b.toString(), C = p?.toString() ?? "";
|
|
5329
|
-
!
|
|
5329
|
+
!Te(C) && S !== C ? l = Qi(e.guideTooltipLabel, {
|
|
5330
5330
|
guideStart: S,
|
|
5331
5331
|
guideEnd: C
|
|
5332
5332
|
}) : l = S;
|
|
@@ -5370,7 +5370,7 @@ function Xr(t, e) {
|
|
|
5370
5370
|
const { start: i, end: a } = e ?? {};
|
|
5371
5371
|
let o;
|
|
5372
5372
|
if (e !== void 0 && i !== void 0 && i !== null) {
|
|
5373
|
-
const n = OS(t), s = t instanceof
|
|
5373
|
+
const n = OS(t), s = t instanceof ke ? t.min : void 0, r = t instanceof ke ? t.max : void 0, l = sc({
|
|
5374
5374
|
inputValue: i,
|
|
5375
5375
|
axisType: n,
|
|
5376
5376
|
axisMin: s,
|
|
@@ -5567,7 +5567,7 @@ function YS(t) {
|
|
|
5567
5567
|
s = n;
|
|
5568
5568
|
else if (e.renderer instanceof pn)
|
|
5569
5569
|
s = A.gauge.gaugeMinGridDistance;
|
|
5570
|
-
else if (e instanceof
|
|
5570
|
+
else if (e instanceof ke)
|
|
5571
5571
|
s = e.renderer instanceof Ft ? A.xAxisMinGridDistance : A.yAxisMinGridDistance;
|
|
5572
5572
|
else if (e.renderer instanceof Ft)
|
|
5573
5573
|
if (o === !0)
|
|
@@ -5803,7 +5803,7 @@ function cC(t) {
|
|
|
5803
5803
|
const e = t.tooltip;
|
|
5804
5804
|
e !== void 0 && !(t instanceof Ve) && (e.label.adapter.add("html", (i, a) => {
|
|
5805
5805
|
let o = i ?? "";
|
|
5806
|
-
return t instanceof
|
|
5806
|
+
return t instanceof ke ? o = Qd(t, a.properties?.text ?? i ?? "") : t instanceof lt && (o = Jd({
|
|
5807
5807
|
axis: t,
|
|
5808
5808
|
defaultOutput: i ?? "",
|
|
5809
5809
|
dataItem: e.dataItem
|
|
@@ -5889,7 +5889,7 @@ function fC(t) {
|
|
|
5889
5889
|
function mC(t) {
|
|
5890
5890
|
const e = t.target, i = O(e.chart.uid, "isRotated");
|
|
5891
5891
|
let a = [];
|
|
5892
|
-
if (e instanceof
|
|
5892
|
+
if (e instanceof ke) {
|
|
5893
5893
|
if (e.renderer instanceof pn)
|
|
5894
5894
|
a.push({
|
|
5895
5895
|
isXAxis: !0,
|
|
@@ -5907,10 +5907,10 @@ function mC(t) {
|
|
|
5907
5907
|
},
|
|
5908
5908
|
{
|
|
5909
5909
|
isXAxis: !0,
|
|
5910
|
-
minimum: s instanceof
|
|
5911
|
-
maximum: s instanceof
|
|
5910
|
+
minimum: s instanceof ke ? s.min : void 0,
|
|
5911
|
+
maximum: s instanceof ke ? s.max : void 0
|
|
5912
5912
|
}
|
|
5913
|
-
], r instanceof
|
|
5913
|
+
], r instanceof ke && a.push({
|
|
5914
5914
|
isXAxis: !1,
|
|
5915
5915
|
isSecondValueAxis: !0,
|
|
5916
5916
|
minimum: r.min,
|
|
@@ -5945,7 +5945,7 @@ function hC(t) {
|
|
|
5945
5945
|
function dc(t) {
|
|
5946
5946
|
const { axis: e, axisMinimum: i, axisMaximum: a } = t;
|
|
5947
5947
|
let o;
|
|
5948
|
-
if (e instanceof
|
|
5948
|
+
if (e instanceof ke && a !== void 0 && i !== void 0) {
|
|
5949
5949
|
const n = e.axisRanges.values, s = O(e.chart.uid, "config"), r = O(e.chart.uid, "isRotated"), c = !Ao(e.renderer, r) ? 1 : 0, d = s?.axes?.[c]?.guides;
|
|
5950
5950
|
for (let f = 0; f < n.length; f += 1) {
|
|
5951
5951
|
const g = n[f], { value: h, endValue: b, axisFill: p, grid: S, label: C } = g;
|
|
@@ -5960,7 +5960,7 @@ function dc(t) {
|
|
|
5960
5960
|
}
|
|
5961
5961
|
}
|
|
5962
5962
|
function pC(t) {
|
|
5963
|
-
t instanceof
|
|
5963
|
+
t instanceof ke ? (t.adapter.add("min", (e) => (dc({
|
|
5964
5964
|
axis: t,
|
|
5965
5965
|
axisMinimum: e,
|
|
5966
5966
|
axisMaximum: t.max
|
|
@@ -5981,7 +5981,7 @@ function oo(t) {
|
|
|
5981
5981
|
else if (bt(o))
|
|
5982
5982
|
r = e.push(new Ve());
|
|
5983
5983
|
else if (De(o)) {
|
|
5984
|
-
r = e.push(new
|
|
5984
|
+
r = e.push(new ke());
|
|
5985
5985
|
const l = O(r.chart.uid, "formatLocale");
|
|
5986
5986
|
r.numberFormatter = ri({
|
|
5987
5987
|
type: y.NumberAxisFormat,
|
|
@@ -6023,16 +6023,16 @@ function zu(t) {
|
|
|
6023
6023
|
}
|
|
6024
6024
|
function bC(t) {
|
|
6025
6025
|
const { axis: e, isLogarithmic: i, axisConfigIndex: a } = t, o = O(e.chart.uid, "config"), n = i === !0 && Sr({ chartConfig: o, chartData: e.chart.data, axisConfigIndex: a });
|
|
6026
|
-
(e instanceof Ve || e instanceof
|
|
6026
|
+
(e instanceof Ve || e instanceof ke) && (e.logarithmic = n, e.treatZeroAs = n ? A.treatZeroValueAs : 0);
|
|
6027
6027
|
}
|
|
6028
6028
|
function yC(t, e) {
|
|
6029
6029
|
const { minimum: i, maximum: a, isLogarithmic: o } = e ?? {};
|
|
6030
6030
|
let { buffer: n } = e ?? {};
|
|
6031
|
-
return n ??= A.buffer, t instanceof
|
|
6031
|
+
return n ??= A.buffer, t instanceof ke && !(t instanceof Ve) && !n && (o !== !0 || a != null || i != null);
|
|
6032
6032
|
}
|
|
6033
6033
|
function SC(t, e) {
|
|
6034
6034
|
let i = !1;
|
|
6035
|
-
return t instanceof
|
|
6035
|
+
return t instanceof ke && !(t instanceof Ve) && (i = yC(t, e), t.strictMinMax = i), i;
|
|
6036
6036
|
}
|
|
6037
6037
|
function CC(t) {
|
|
6038
6038
|
const { axis: e, axisConfig: i, chartType: a, isSecondaryYAxis: o } = t, n = i?.minimum, s = i?.maximum, r = i?.isLogarithmic ?? !1;
|
|
@@ -6070,7 +6070,7 @@ function CC(t) {
|
|
|
6070
6070
|
}
|
|
6071
6071
|
function Hu(t) {
|
|
6072
6072
|
const { axis: e, axisConfig: i, chartType: a, isSecondaryYAxis: o } = t, { minimum: n, maximum: s, isLogarithmic: r } = i ?? {};
|
|
6073
|
-
if (e instanceof
|
|
6073
|
+
if (e instanceof ke || e instanceof Ve)
|
|
6074
6074
|
if (SC(e, i)) {
|
|
6075
6075
|
let c = n, u = s;
|
|
6076
6076
|
if (tu({ minimumFromConfig: n, maximumFromConfig: s, isLogarithmic: r })) {
|
|
@@ -6149,7 +6149,7 @@ function vC(t) {
|
|
|
6149
6149
|
}
|
|
6150
6150
|
}
|
|
6151
6151
|
function LC(t, e) {
|
|
6152
|
-
t instanceof
|
|
6152
|
+
t instanceof ke && (t.renderer.baseGrid.disabled = e !== !0);
|
|
6153
6153
|
}
|
|
6154
6154
|
function FC(t, e) {
|
|
6155
6155
|
t.cursorTooltipEnabled = e === !0;
|
|
@@ -6205,7 +6205,7 @@ function _u(t) {
|
|
|
6205
6205
|
t.events.once(N.Validated, e);
|
|
6206
6206
|
}
|
|
6207
6207
|
function kC(t, e) {
|
|
6208
|
-
if (t instanceof
|
|
6208
|
+
if (t instanceof ke) {
|
|
6209
6209
|
const { integerOnlyValues: i, valueFormat: a } = e, o = pd(a) ? a.intlOptions.maximumFractionDigits : void 0;
|
|
6210
6210
|
t.maxPrecision = i === !0 || o === 0 ? 0 : Number.NaN;
|
|
6211
6211
|
}
|
|
@@ -6432,7 +6432,7 @@ function wC(t) {
|
|
|
6432
6432
|
k && C instanceof Ve && (I = !I), v.inversed = I;
|
|
6433
6433
|
}
|
|
6434
6434
|
const x = n === !0 ? e.xAxes.getIndex(0) : e.yAxes.getIndex(0), L = n === !0 ? e.xAxes.getIndex(1) : e.yAxes.getIndex(1);
|
|
6435
|
-
S === te.Stacked100 ? (x instanceof
|
|
6435
|
+
S === te.Stacked100 ? (x instanceof ke && (x.calculateTotals = !0), L instanceof ke && (L.calculateTotals = !0)) : (x instanceof ke && (x.calculateTotals = !1), L instanceof ke && (L.calculateTotals = !1));
|
|
6436
6436
|
}
|
|
6437
6437
|
function Vs(t) {
|
|
6438
6438
|
return t != null && t !== 0;
|
|
@@ -6812,7 +6812,7 @@ function jC(t, e) {
|
|
|
6812
6812
|
}
|
|
6813
6813
|
}
|
|
6814
6814
|
function qC(t, e) {
|
|
6815
|
-
if (t instanceof
|
|
6815
|
+
if (t instanceof ke && t.chart instanceof Tt) {
|
|
6816
6816
|
const i = At(t, Fe.GaugeTicksWithLabels);
|
|
6817
6817
|
if (zn(i)) {
|
|
6818
6818
|
const { onlyShowFirstAndLastLabels: a, labels: o } = e, n = (o?.visible ?? !0) && a !== !0;
|
|
@@ -6865,7 +6865,7 @@ function QC(t) {
|
|
|
6865
6865
|
const { chart: e, valueFormat: i, errorStrings: a } = t;
|
|
6866
6866
|
e.xAxes.clear(), oo({ isXAxis: !0, axes: e.xAxes, valueFormat: i, errorStrings: a });
|
|
6867
6867
|
const o = e.xAxes.getIndex(0);
|
|
6868
|
-
o instanceof
|
|
6868
|
+
o instanceof ke && (o.renderer.labels.template.disabled = !0, o.renderer.ticks.template.disabled = !0, Yu(e), HC(e), WC(e), o.maxZoomFactor = 1);
|
|
6869
6869
|
}
|
|
6870
6870
|
function JC(t) {
|
|
6871
6871
|
const { valueFormat: e, iLocale: i, formatLocale: a, innerLabelConfigContent: o, gaugeValue: n, gaugeInnerLabelFormatter: s } = t;
|
|
@@ -7335,7 +7335,7 @@ function yx(t) {
|
|
|
7335
7335
|
}
|
|
7336
7336
|
}
|
|
7337
7337
|
}
|
|
7338
|
-
return
|
|
7338
|
+
return Te(o) && (o = A.htmlEmptyContent), Xe(o);
|
|
7339
7339
|
});
|
|
7340
7340
|
}
|
|
7341
7341
|
function Sx(t) {
|
|
@@ -7371,7 +7371,7 @@ function Cx(t, e) {
|
|
|
7371
7371
|
}), g = rr(d), h = Mt(t.rtl, " ");
|
|
7372
7372
|
return (b, p, S) => {
|
|
7373
7373
|
const C = f(b, p, S), L = o ?? A.pieChart.displayCategoryOnDataLabel ? g(b) : "";
|
|
7374
|
-
let v =
|
|
7374
|
+
let v = Te(L) ? "" : `${L}${h}`;
|
|
7375
7375
|
return v = `${v}${C}`, e.dataLabels?.content !== void 0 && (v = da({
|
|
7376
7376
|
textSymbol: { ...e.dataLabels.content, text: v },
|
|
7377
7377
|
format: "html",
|
|
@@ -7426,8 +7426,8 @@ function vx(t, e) {
|
|
|
7426
7426
|
valueSuffix: d,
|
|
7427
7427
|
percentagePrefix: f,
|
|
7428
7428
|
percentageSuffix: g
|
|
7429
|
-
})("", b, p), L = !
|
|
7430
|
-
if (L && (S = `<b>${h}</b>`), !
|
|
7429
|
+
})("", b, p), L = !Te(h) && (r ?? A.pieChart.displayCategoryOnTooltip);
|
|
7430
|
+
if (L && (S = `<b>${h}</b>`), !Te(x)) {
|
|
7431
7431
|
const v = po(x);
|
|
7432
7432
|
S = L ? `${S}<br />${v}` : v;
|
|
7433
7433
|
}
|
|
@@ -8194,7 +8194,7 @@ function Wx(t) {
|
|
|
8194
8194
|
errorStrings: c,
|
|
8195
8195
|
dataInfo: n
|
|
8196
8196
|
});
|
|
8197
|
-
return ae(f.uid, { config:
|
|
8197
|
+
return ae(f.uid, { config: Ae(i) }), af(f), Zb(f, c), Kb(f, c), { chart: f, chartElements: C };
|
|
8198
8198
|
}
|
|
8199
8199
|
function Ex(t) {
|
|
8200
8200
|
const {
|
|
@@ -8224,7 +8224,7 @@ function Ex(t) {
|
|
|
8224
8224
|
errorStrings: r
|
|
8225
8225
|
});
|
|
8226
8226
|
return ae(f.uid, {
|
|
8227
|
-
config:
|
|
8227
|
+
config: Ae(i),
|
|
8228
8228
|
queryObject: a,
|
|
8229
8229
|
filterBySelection: u?.filterBySelection
|
|
8230
8230
|
}), Ox(f, r), { chart: f, chartElements: h };
|
|
@@ -8254,7 +8254,7 @@ function zx(t) {
|
|
|
8254
8254
|
utilsStrings: s,
|
|
8255
8255
|
errorStrings: n
|
|
8256
8256
|
});
|
|
8257
|
-
return ae(u.uid, { config:
|
|
8257
|
+
return ae(u.uid, { config: Ae(i), queryObject: a }), af(u), e?.ownerDocument.addEventListener("visibilitychange", () => {
|
|
8258
8258
|
const S = e.ownerDocument.hidden;
|
|
8259
8259
|
u && !S && MC(i?.axes?.[0]) && (u.svgContainer?.measure(), u.invalidateData());
|
|
8260
8260
|
}), { chart: u, chartElements: p };
|
|
@@ -8273,7 +8273,7 @@ function Hx(t) {
|
|
|
8273
8273
|
utilsStrings: d,
|
|
8274
8274
|
errorStrings: f
|
|
8275
8275
|
} = t, { guideTooltipFormatter: g } = r ?? {}, h = O(i.uid, "config"), b = h?.series, p = e.series, S = W(p), C = wt({ config: e });
|
|
8276
|
-
ae(i.uid, { config:
|
|
8276
|
+
ae(i.uid, { config: Ae(e), isRotated: C }), ae(i.uid, { filterBySelection: r?.filterBySelection }), Xn({ chart: i, actionMode: r?.actionMode, cursorRange: r?.cursorRange });
|
|
8277
8277
|
const { xOrYChanged: x, layerChanged: L } = n?.common ?? {};
|
|
8278
8278
|
let { numberOfSeriesChanged: v } = n?.common ?? {};
|
|
8279
8279
|
const T = xd(h, e), k = vd(h, e), I = gg(h, e), R = hg(h, e), D = JSON.stringify(Zo(b)) !== JSON.stringify(Zo(p));
|
|
@@ -8388,7 +8388,7 @@ function _x(t) {
|
|
|
8388
8388
|
utilsStrings: c,
|
|
8389
8389
|
errorStrings: u
|
|
8390
8390
|
} = t, d = O(e.uid, "config"), f = d?.series, g = o?.series, h = An({ oldConfig: d, newConfig: o, dataWasUpdated: a }), b = Mr(f, g), { count: p, data: S, queryConfig: C } = l ?? {}, x = jt(S);
|
|
8391
|
-
ae(e.uid, { filterBySelection: r?.filterBySelection, config:
|
|
8391
|
+
ae(e.uid, { filterBySelection: r?.filterBySelection, config: Ae(o) });
|
|
8392
8392
|
const L = x !== void 0 && (e.data.length !== x.length || Kd(e.data, x));
|
|
8393
8393
|
L && (ae(e.uid, { elementCount: p, queryConfig: C }), e.data = x), (h || b) && e.validateData(), Gt({
|
|
8394
8394
|
data: n,
|
|
@@ -8456,7 +8456,7 @@ function Gx(t) {
|
|
|
8456
8456
|
e.innerRadius = gt(S), e.startAngle = C, e.endAngle = x, _n(i.headerElements, {
|
|
8457
8457
|
title: a.title,
|
|
8458
8458
|
subtitle: a.subtitle
|
|
8459
|
-
}), Gn(i.footerElements, a.footer), Hn(e, a.background), ae(e.uid, { config:
|
|
8459
|
+
}), Gn(i.footerElements, a.footer), Hn(e, a.background), ae(e.uid, { config: Ae(a) });
|
|
8460
8460
|
}
|
|
8461
8461
|
function Xx(t) {
|
|
8462
8462
|
const {
|
|
@@ -9387,7 +9387,7 @@ function xv(t) {
|
|
|
9387
9387
|
let s;
|
|
9388
9388
|
const { chart: r } = a, l = r?.uid !== void 0 ? w(r.uid, "rtl") : !1, c = Mt(l ?? !1);
|
|
9389
9389
|
return n === !1 ? s = (u, d, f, g) => "" : s = (u, d, f, g) => {
|
|
9390
|
-
const h = $e(o, i.x), b =
|
|
9390
|
+
const h = $e(o, i.x), b = Te(e?.[0].title?.content?.text) ? h : e?.[0].title?.content?.text, p = $e(o, i.y), S = Te(e?.[1]?.title?.content?.text) ? p : e?.[1]?.title?.content?.text, C = re(
|
|
9391
9391
|
a.uid,
|
|
9392
9392
|
"tooltipValueXNumberFormatCallback"
|
|
9393
9393
|
), x = C ? C(u) : u, L = re(
|
|
@@ -9774,8 +9774,8 @@ function $v(t, e) {
|
|
|
9774
9774
|
valueSuffix: d,
|
|
9775
9775
|
percentagePrefix: f,
|
|
9776
9776
|
percentageSuffix: g
|
|
9777
|
-
})("", b, p), v = !
|
|
9778
|
-
if (v && (S = `[bold]${h}[/]`), !
|
|
9777
|
+
})("", b, p), v = !Te(h) && (r ?? F.pieChart.displayCategoryOnTooltip);
|
|
9778
|
+
if (v && (S = `[bold]${h}[/]`), !Te(L)) {
|
|
9779
9779
|
const T = po(L);
|
|
9780
9780
|
S = v ? `${S}
|
|
9781
9781
|
${T}` : T;
|
|
@@ -9871,7 +9871,7 @@ function Vv(t) {
|
|
|
9871
9871
|
unit: i.xTemporalBinning.unit,
|
|
9872
9872
|
utilsStrings: a
|
|
9873
9873
|
});
|
|
9874
|
-
!
|
|
9874
|
+
!Te(L) && !Te(v) && (C = { label: L, value: v });
|
|
9875
9875
|
}
|
|
9876
9876
|
if (i.yTemporalBinning !== void 0) {
|
|
9877
9877
|
const { label: L, value: v } = Nl({
|
|
@@ -9881,9 +9881,9 @@ function Vv(t) {
|
|
|
9881
9881
|
unit: i.yTemporalBinning.unit,
|
|
9882
9882
|
utilsStrings: a
|
|
9883
9883
|
});
|
|
9884
|
-
!
|
|
9884
|
+
!Te(L) && !Te(v) && (x = { label: L, value: v });
|
|
9885
9885
|
}
|
|
9886
|
-
|
|
9886
|
+
Te(c) && (c = `[bold]${C.label}${g} [/]${C.value}
|
|
9887
9887
|
[bold]${x.label}${g} [/]${x.value}
|
|
9888
9888
|
[bold]${p}${g}[/] ${u} [/]]`);
|
|
9889
9889
|
}
|
|
@@ -12367,7 +12367,7 @@ function a0(t) {
|
|
|
12367
12367
|
s = $e(g, s);
|
|
12368
12368
|
}
|
|
12369
12369
|
const { characterLimit: f } = i;
|
|
12370
|
-
r = s?.toString() ?? "", !
|
|
12370
|
+
r = s?.toString() ?? "", !Te(r) && r !== F.htmlEmptyContent && (r = Id({ stringToTruncate: r, characterLimit: f }));
|
|
12371
12371
|
}
|
|
12372
12372
|
return r.toString();
|
|
12373
12373
|
};
|
|
@@ -12413,7 +12413,7 @@ function o0(t) {
|
|
|
12413
12413
|
intlOptions: a.intlOptions,
|
|
12414
12414
|
formatLocale: l
|
|
12415
12415
|
}).format(r, a.intlOptions);
|
|
12416
|
-
else if (a.type === y.CategoryAxisFormat && (r = s?.toString() ?? "", !
|
|
12416
|
+
else if (a.type === y.CategoryAxisFormat && (r = s?.toString() ?? "", !Te(r) && r !== F.htmlEmptyContent)) {
|
|
12417
12417
|
const { characterLimit: d } = a;
|
|
12418
12418
|
r = Id({ stringToTruncate: r, characterLimit: d });
|
|
12419
12419
|
}
|
|
@@ -12445,7 +12445,7 @@ function n0(t) {
|
|
|
12445
12445
|
o && e.root.timezone?.name !== f.name && (e.root.timezone = f), delete s.timeZone;
|
|
12446
12446
|
for (let g = 0; g < r.length; g += 1) {
|
|
12447
12447
|
const h = r[g], b = g === 0 ? h : r[g - 1], p = i?.formatPerDateTimeUnit?.[h] ?? s, S = i?.formatPerDateTimeUnit?.[b];
|
|
12448
|
-
p && Object.values(p).find((C) => C !== void 0 && (typeof C != "string" || !
|
|
12448
|
+
p && Object.values(p).find((C) => C !== void 0 && (typeof C != "string" || !Te(C))) && (u[h] = p, d[h] = S ?? p);
|
|
12449
12449
|
}
|
|
12450
12450
|
Object.keys(u).length > 0 && e.set("dateFormats", u), Object.keys(d).length > 0 && e.set("periodChangeDateFormats", d);
|
|
12451
12451
|
}
|
|
@@ -13087,7 +13087,7 @@ function D0(t, e) {
|
|
|
13087
13087
|
b = I(b), p !== void 0 && (p = I(p));
|
|
13088
13088
|
} else t instanceof ze && (b = o, p = n);
|
|
13089
13089
|
const S = b.toString(), C = p?.toString() ?? "";
|
|
13090
|
-
!
|
|
13090
|
+
!Te(C) && S !== C ? l = Qi(e.guideTooltipLabel, {
|
|
13091
13091
|
guideStart: S,
|
|
13092
13092
|
guideEnd: C
|
|
13093
13093
|
}) : l = S;
|
|
@@ -14343,14 +14343,14 @@ function TF(t) {
|
|
|
14343
14343
|
if (n === Ca.Renderer) {
|
|
14344
14344
|
const B = I?.[_.rendererSymbolField];
|
|
14345
14345
|
if (no(B)) {
|
|
14346
|
-
$ =
|
|
14346
|
+
$ = Ae(B);
|
|
14347
14347
|
const { outlineSymbol: P } = mn(s);
|
|
14348
14348
|
$.outline = P;
|
|
14349
14349
|
} else
|
|
14350
14350
|
M = !0;
|
|
14351
14351
|
}
|
|
14352
14352
|
if ((!Number.isFinite(k) || M) && r) {
|
|
14353
|
-
$ =
|
|
14353
|
+
$ = Ae(r);
|
|
14354
14354
|
const { outlineSymbol: B } = mn(s);
|
|
14355
14355
|
$.outline = B;
|
|
14356
14356
|
}
|
|
@@ -16649,7 +16649,7 @@ function Bm(t) {
|
|
|
16649
16649
|
lineSymbol: b,
|
|
16650
16650
|
markerSymbol: p
|
|
16651
16651
|
}), c.size === o && (Gt({
|
|
16652
|
-
data:
|
|
16652
|
+
data: Ae(c),
|
|
16653
16653
|
htmlContainer: f.dom,
|
|
16654
16654
|
chartId: e.chart?.get("id"),
|
|
16655
16655
|
colorMatchApplied: Za(d)
|
|
@@ -16900,7 +16900,7 @@ function fT(t, e) {
|
|
|
16900
16900
|
);
|
|
16901
16901
|
g = (S, C, x) => {
|
|
16902
16902
|
const L = h(S, C, x), T = n ?? F.pieChart.displayCategoryOnDataLabel ? b(S) : "";
|
|
16903
|
-
let k =
|
|
16903
|
+
let k = Te(T) ? "" : `${T}${p}`;
|
|
16904
16904
|
return k = `${k}${L}`, k;
|
|
16905
16905
|
};
|
|
16906
16906
|
}
|
|
@@ -17821,7 +17821,7 @@ function zT(t) {
|
|
|
17821
17821
|
v ??= o;
|
|
17822
17822
|
const T = Z(o.series), k = Qe(o);
|
|
17823
17823
|
pt(e.uid, {
|
|
17824
|
-
config:
|
|
17824
|
+
config: Ae(o),
|
|
17825
17825
|
options: n,
|
|
17826
17826
|
isNonAggregatedChart: !Tn(T),
|
|
17827
17827
|
isRotated: k,
|
|
@@ -18113,7 +18113,7 @@ class vs extends EventTarget {
|
|
|
18113
18113
|
return this._config;
|
|
18114
18114
|
}
|
|
18115
18115
|
set config(e) {
|
|
18116
|
-
this._config = e, this._revision += 1, this._configHistory.push(
|
|
18116
|
+
this._config = e, this._revision += 1, this._configHistory.push(Ae(this._config)), this._configHistory.length > jh && this._configHistory.shift(), this.dispatchEvent(
|
|
18117
18117
|
new CustomEvent("arcgisChartsModelConfigChange", {
|
|
18118
18118
|
detail: { config: this._config, setterName: "config" }
|
|
18119
18119
|
})
|
|
@@ -18252,7 +18252,7 @@ function tk(t) {
|
|
|
18252
18252
|
});
|
|
18253
18253
|
}
|
|
18254
18254
|
function ik(t, e) {
|
|
18255
|
-
const i =
|
|
18255
|
+
const i = Ae(t), a = {
|
|
18256
18256
|
config: i,
|
|
18257
18257
|
themeColors: e
|
|
18258
18258
|
};
|
|
@@ -18845,7 +18845,7 @@ class Fk extends _m {
|
|
|
18845
18845
|
},
|
|
18846
18846
|
task: ([e, i, a, o, n, s, r, l, c]) => {
|
|
18847
18847
|
if (c) {
|
|
18848
|
-
const u = this.internalModel?.config, d = vt(c, a), f = this._lastRenderedProps?.options?.selectionData?.selectionOIDs, g = this._lastRenderedProps?.dataUpdateNeededProps, h = this._lastRenderedProps?.extraProps?.layer, b = this._lastRenderedProps?.extraProps?.filterBySelection;
|
|
18848
|
+
const u = this.internalModel?.config, d = vt(c, a), f = this._lastRenderedProps?.options?.selectionData?.selectionOIDs, g = this._lastDataUpdateNeededProps ?? this._lastRenderedProps?.dataUpdateNeededProps, h = this._lastRenderedProps?.extraProps?.layer, b = this._lastRenderedProps?.extraProps?.filterBySelection;
|
|
18849
18849
|
let p = e, S;
|
|
18850
18850
|
g && Object.keys(g).forEach((v) => {
|
|
18851
18851
|
const T = g ? g[v] : void 0, k = this[v];
|
|
@@ -19384,7 +19384,7 @@ class Fk extends _m {
|
|
|
19384
19384
|
}
|
|
19385
19385
|
_handleLegendItemVisibilityChanged(e) {
|
|
19386
19386
|
if (this.internalModel) {
|
|
19387
|
-
const a =
|
|
19387
|
+
const a = Ae(this.internalModel?.config);
|
|
19388
19388
|
Jg(e, a), this.internalModel.config = a;
|
|
19389
19389
|
}
|
|
19390
19390
|
const i = ft(this.internalModel) ? this.internalModel : void 0;
|
|
@@ -19433,7 +19433,7 @@ class Fk extends _m {
|
|
|
19433
19433
|
const i = { ...e.detail };
|
|
19434
19434
|
this._unsanitizedSelectionItems = i.selectionItems;
|
|
19435
19435
|
const a = { ...i };
|
|
19436
|
-
let o =
|
|
19436
|
+
let o = Ae(i.selectionItems);
|
|
19437
19437
|
if (o) {
|
|
19438
19438
|
const n = this.internalModel?.config;
|
|
19439
19439
|
o = th(o, n?.series), o = o.map(ih), o = ah(o, n?.series), a.selectionItems = o;
|
|
@@ -19482,26 +19482,26 @@ class Fk extends _m {
|
|
|
19482
19482
|
}
|
|
19483
19483
|
_rotatedChange(e) {
|
|
19484
19484
|
if (e !== void 0 && this.internalModel) {
|
|
19485
|
-
const i = Jh(e,
|
|
19485
|
+
const i = Jh(e, Ae(this.internalModel.config));
|
|
19486
19486
|
this.internalModel.config = i;
|
|
19487
19487
|
}
|
|
19488
19488
|
}
|
|
19489
19489
|
_legendPositionChange(e) {
|
|
19490
19490
|
if (e !== void 0 && this.internalModel) {
|
|
19491
|
-
const i = ep(e,
|
|
19491
|
+
const i = ep(e, Ae(this.internalModel.config));
|
|
19492
19492
|
this.internalModel.config = i;
|
|
19493
19493
|
}
|
|
19494
19494
|
}
|
|
19495
19495
|
_legendVisibilityChange(e) {
|
|
19496
19496
|
if (e !== void 0 && this.internalModel) {
|
|
19497
|
-
const i = tp(e,
|
|
19497
|
+
const i = tp(e, Ae(this.internalModel.config));
|
|
19498
19498
|
this.internalModel.config = i;
|
|
19499
19499
|
}
|
|
19500
19500
|
}
|
|
19501
19501
|
_filterBySelectionChanged() {
|
|
19502
19502
|
if (this.internalModel) {
|
|
19503
19503
|
this.setTimeBinningInfoWhenNotProvided && _l(this.internalModel) && this.internalModel.resetTimeInterval();
|
|
19504
|
-
const e = ip(
|
|
19504
|
+
const e = ip(Ae(this.internalModel.config));
|
|
19505
19505
|
this.internalModel.config = e;
|
|
19506
19506
|
}
|
|
19507
19507
|
}
|
|
@@ -19578,6 +19578,15 @@ class Fk extends _m {
|
|
|
19578
19578
|
animationsEnabled: this.animationsEnabled || this.animationEnabled || this.useAnimatedCharts
|
|
19579
19579
|
};
|
|
19580
19580
|
}
|
|
19581
|
+
_getDataUpdateNeededProps() {
|
|
19582
|
+
return Ae({
|
|
19583
|
+
forceDataUpdateTick: this.forceDataUpdateTick,
|
|
19584
|
+
runtimeDataFilters: this.runtimeDataFilters,
|
|
19585
|
+
returnFeaturesExtent: this.returnFeaturesExtent,
|
|
19586
|
+
chartLimits: this.chartLimits,
|
|
19587
|
+
updateSplitBySeries: this.updateSplitBySeries
|
|
19588
|
+
});
|
|
19589
|
+
}
|
|
19581
19590
|
_addMutationObserverForCalciteTheme() {
|
|
19582
19591
|
yl(this.el, ["class"], () => {
|
|
19583
19592
|
const e = Sl(this.el);
|
|
@@ -19773,7 +19782,7 @@ class Fk extends _m {
|
|
|
19773
19782
|
_notifyDataFetchComplete(e) {
|
|
19774
19783
|
const i = this.internalModel?.config;
|
|
19775
19784
|
if (e && "dataItems" in e && i && W(i?.series) === y.PieSeries) {
|
|
19776
|
-
const a =
|
|
19785
|
+
const a = Ae(e);
|
|
19777
19786
|
a.dataItems = tb(a.dataItems, i), this.arcgisDataFetchComplete.emit(a);
|
|
19778
19787
|
}
|
|
19779
19788
|
}
|
|
@@ -19801,7 +19810,9 @@ class Fk extends _m {
|
|
|
19801
19810
|
this._processInvalidConfigStatus(g, d);
|
|
19802
19811
|
else if (d) {
|
|
19803
19812
|
await this._loadLayerView.taskComplete;
|
|
19804
|
-
const h = await this._getData.taskComplete
|
|
19813
|
+
const h = await this._getData.taskComplete;
|
|
19814
|
+
h.dataInfo?.data && (this._lastDataUpdateNeededProps = this._getDataUpdateNeededProps());
|
|
19815
|
+
const b = h.dataInfo ?? {
|
|
19805
19816
|
valid: !0,
|
|
19806
19817
|
data: this._processedChartData ?? this._sanitizedChartData
|
|
19807
19818
|
};
|
|
@@ -19836,7 +19847,7 @@ class Fk extends _m {
|
|
|
19836
19847
|
p = p || L;
|
|
19837
19848
|
}
|
|
19838
19849
|
let C;
|
|
19839
|
-
const x =
|
|
19850
|
+
const x = Ae(d);
|
|
19840
19851
|
if ({ filteredConfig: d, seriesFilteredOut: C } = ap({
|
|
19841
19852
|
showEmptySeries: this.showEmptySeries ?? this.hideEmptySeries === !1,
|
|
19842
19853
|
config: d,
|
|
@@ -19844,7 +19855,7 @@ class Fk extends _m {
|
|
|
19844
19855
|
}), this._getData.status === Cl.COMPLETE) {
|
|
19845
19856
|
const L = this._raiseNoDataWarning({ dataInfo: b, config: d, queryObject: o });
|
|
19846
19857
|
if (L)
|
|
19847
|
-
this._processedChartData =
|
|
19858
|
+
this._processedChartData = Ae(b.data), this._lastRenderedRevision = i ?? 0;
|
|
19848
19859
|
else if (!L && this._raiseLogScaleNotCompatibleWarning(o, b)) {
|
|
19849
19860
|
const T = An({
|
|
19850
19861
|
oldConfig: C ? x : f,
|
|
@@ -19901,7 +19912,7 @@ class Fk extends _m {
|
|
|
19901
19912
|
newChartConfig: d,
|
|
19902
19913
|
pieSlicesSymbols: M,
|
|
19903
19914
|
fieldList: s
|
|
19904
|
-
}), this._processedChartData =
|
|
19915
|
+
}), this._processedChartData = Ae(b.data), !g.valid)
|
|
19905
19916
|
this._processInvalidConfigStatus(g, d);
|
|
19906
19917
|
else if ((c || T) && (this._notifyDataProcessComplete(b.data), this._notifyDataFetchComplete(b.data)), !S) {
|
|
19907
19918
|
await this._completeChartOptionsWithSelectionInfo({
|
|
@@ -19937,13 +19948,7 @@ class Fk extends _m {
|
|
|
19937
19948
|
utilsStrings: this._commonStrings?.utilsStrings,
|
|
19938
19949
|
amChartsStrings: P
|
|
19939
19950
|
},
|
|
19940
|
-
dataUpdateNeededProps:
|
|
19941
|
-
forceDataUpdateTick: this.forceDataUpdateTick,
|
|
19942
|
-
runtimeDataFilters: this.runtimeDataFilters,
|
|
19943
|
-
returnFeaturesExtent: this.returnFeaturesExtent,
|
|
19944
|
-
chartLimits: this.chartLimits,
|
|
19945
|
-
updateSplitBySeries: this.updateSplitBySeries
|
|
19946
|
-
}
|
|
19951
|
+
dataUpdateNeededProps: this._getDataUpdateNeededProps()
|
|
19947
19952
|
},
|
|
19948
19953
|
extraProps: {
|
|
19949
19954
|
layer: this.queryObject,
|