@arcgis/charts-components 5.2.0-next.148 → 5.2.0-next.149
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/{D5O7HIVJ.js → 257PEDYJ.js} +1 -1
- package/dist/cdn/{JGJ5XQ6Y.js → 25NUJ5YH.js} +1 -1
- package/dist/cdn/{CKFW4CY5.js → 3E7JBKUK.js} +1 -1
- package/dist/cdn/{V6RF4BJF.js → 4I2I5IVQ.js} +1 -1
- package/dist/cdn/{T22GTUEX.js → 4P7L6R6R.js} +1 -1
- package/dist/cdn/{UHU7OS4M.js → 4QXXXWA6.js} +1 -1
- package/dist/cdn/{CGEPLEGC.js → 5FHRHVMR.js} +1 -1
- package/dist/cdn/{ZOIQ5767.js → 5KS2PX57.js} +1 -1
- package/dist/cdn/{H6F77GU7.js → 5TXHUDP4.js} +1 -1
- package/dist/cdn/{JLWJLLY7.js → 5U44JITQ.js} +1 -1
- package/dist/cdn/{WFPA2JR5.js → 6IOXNE24.js} +1 -1
- package/dist/cdn/{JGOIM3OP.js → 6IYV7IV4.js} +1 -1
- package/dist/cdn/{4TYM6UJJ.js → 6OLJQWVE.js} +1 -1
- package/dist/cdn/{NVEJVRCO.js → 72UQY733.js} +1 -1
- package/dist/cdn/{OJQPF4K5.js → 73GS7B7G.js} +1 -1
- package/dist/cdn/7Q7ES4BZ.js +2 -0
- package/dist/cdn/{X6X7AGPV.js → 7TMJU2RX.js} +1 -1
- package/dist/cdn/{KJBDJD4J.js → ACXDPMZD.js} +1 -1
- package/dist/cdn/{IQ43MGK7.js → AGKYRKW5.js} +1 -1
- package/dist/cdn/{YJZZYJED.js → AKOQC2SC.js} +1 -1
- package/dist/cdn/{PF2AFMBH.js → B2LCOSXO.js} +1 -1
- package/dist/cdn/{LLMWLM4W.js → BH2DGNXG.js} +1 -1
- package/dist/cdn/{YFQA2Y6D.js → BTDPI3AR.js} +1 -1
- package/dist/cdn/{BZUAVD2H.js → E2IXXH5R.js} +1 -1
- package/dist/cdn/{35WMHYT2.js → F7VQ6K7S.js} +1 -1
- package/dist/cdn/{NYD3P7GP.js → FAFM7HRN.js} +1 -1
- package/dist/cdn/{KFKVTC4L.js → G63T5MU4.js} +1 -1
- package/dist/cdn/{3NJBY7D5.js → GHAC6H6F.js} +1 -1
- package/dist/cdn/{DMHX7CSV.js → GJUNAKKB.js} +1 -1
- package/dist/cdn/{ABJACEKY.js → GQ5T4JIV.js} +1 -1
- package/dist/cdn/H4HQBS46.js +4 -0
- package/dist/cdn/{SNSOLJLT.js → HL3H6U7M.js} +1 -1
- package/dist/cdn/IIYJJRMN.js +2 -0
- package/dist/cdn/{LVQL474B.js → IRYTXVTM.js} +1 -1
- package/dist/cdn/{MHIEGJCV.js → ITTVEYZH.js} +1 -1
- package/dist/cdn/{A5JDSY3V.js → IVUICF2P.js} +1 -1
- package/dist/cdn/{PLF3BIUU.js → JASVY2S5.js} +1 -1
- package/dist/cdn/{NJE5NWZ4.js → JIANMLCP.js} +1 -1
- package/dist/cdn/{Q2T7GR6G.js → JX7NTVFL.js} +1 -1
- package/dist/cdn/{NFHBIEJB.js → KJFL57RE.js} +1 -1
- package/dist/cdn/{FK2MTZ63.js → LBMIXS7P.js} +1 -1
- package/dist/cdn/{Z4TLRJ5S.js → LJ3IPYWK.js} +1 -1
- package/dist/cdn/{MJFCB72A.js → M3EQKFST.js} +1 -1
- package/dist/cdn/{FUT5S2CP.js → MCY2C5IV.js} +1 -1
- package/dist/cdn/{TC2XSGBD.js → MMPVO6UX.js} +9 -9
- package/dist/cdn/{GF6F65KI.js → MOSYGTYS.js} +1 -1
- package/dist/cdn/{A4DM7LOB.js → MSFQI34M.js} +1 -1
- package/dist/cdn/{KVDHFW4K.js → NDBNHEEZ.js} +1 -1
- package/dist/cdn/{LQBPMG3M.js → NVPRRSLO.js} +1 -1
- package/dist/cdn/{OALE2XRP.js → OKB4GB4J.js} +1 -1
- package/dist/cdn/{VR6WXH3R.js → OPLY5TWI.js} +1 -1
- package/dist/cdn/{HYJTLRAJ.js → PFAQRCVD.js} +1 -1
- package/dist/cdn/{LVPWHLNP.js → PFIVTH6Z.js} +1 -1
- package/dist/cdn/{7LSI4QET.js → QAN2SQN2.js} +1 -1
- package/dist/cdn/{EORA4L3F.js → QBP5QHM5.js} +1 -1
- package/dist/cdn/{QVSANSKQ.js → QGHGUVWE.js} +1 -1
- package/dist/cdn/{ZWPNPYLR.js → QJJRZHVE.js} +1 -1
- package/dist/cdn/{5Y4JJWPN.js → QYMY2RNU.js} +1 -1
- package/dist/cdn/{3TS66XWA.js → R2R6S5K6.js} +1 -1
- package/dist/cdn/{TV7WXMZ6.js → SDMBKMSY.js} +1 -1
- package/dist/cdn/{6CAD6LP6.js → SHG5B5EO.js} +1 -1
- package/dist/cdn/{ZBVTU5KN.js → SKN5OMXV.js} +1 -1
- package/dist/cdn/{HBDGQ2GB.js → SLH66QHH.js} +1 -1
- package/dist/cdn/{TKKTDSAY.js → TLCAHGNK.js} +1 -1
- package/dist/cdn/{XGN2V6RQ.js → TQW7WM4O.js} +1 -1
- package/dist/cdn/{EATST6SH.js → TRI6WAGM.js} +1 -1
- package/dist/cdn/{MCJHBGZ6.js → UK2ILVTG.js} +1 -1
- package/dist/cdn/{MDF5XBMX.js → VCKFHB4U.js} +1 -1
- package/dist/cdn/{LUPSJ7TV.js → VRVLAPPS.js} +1 -1
- package/dist/cdn/{LMCUWQTD.js → VSRAB3LY.js} +1 -1
- package/dist/cdn/{DLYWE3OX.js → VVHVHDWG.js} +1 -1
- package/dist/cdn/W2XIAHGG.js +2 -0
- package/dist/cdn/{H4U4Q4JS.js → WQQUCFW5.js} +1 -1
- package/dist/cdn/{LKXOL2CB.js → WZIPMTG5.js} +1 -1
- package/dist/cdn/{HJDQEV6B.js → XKKO432P.js} +1 -1
- package/dist/cdn/{AM4O5CBY.js → XOZZXRKR.js} +1 -1
- package/dist/cdn/{DVQCKJK3.js → XWYYPCI6.js} +1 -1
- package/dist/cdn/YOAS5HJU.js +2 -0
- package/dist/cdn/{SUV74KD4.js → YR2QJZ5S.js} +1 -1
- package/dist/cdn/{6XWQN42N.js → YRHDWCLS.js} +1 -1
- package/dist/cdn/{BQZ7X2RU.js → ZP2Y7KD7.js} +1 -1
- package/dist/cdn/{JL4AMZV6.js → ZUMDTFHS.js} +1 -1
- package/dist/cdn/{XACO7HBN.js → ZY2X4X6T.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chunks/box-plot-data.js +68 -67
- package/dist/chunks/box-plot-model.js +4 -1
- package/dist/chunks/index.js +941 -934
- package/dist/chunks/pie-chart-model.js +9 -6
- package/dist/chunks/serial-chart-data.js +283 -282
- package/dist/chunks/serial-chart-model.js +4 -1
- package/dist/components/arcgis-chart/customElement.js +104 -104
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +54 -52
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +105 -103
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/model/box-plot-model/box-plot-model.d.ts +6 -2
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +6 -2
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +6 -2
- package/dist/utils/data/categorical-data/index.d.ts +1 -0
- package/package.json +4 -4
- package/dist/cdn/MJHHTTJ4.js +0 -2
- package/dist/cdn/NOJAWNLN.js +0 -2
- package/dist/cdn/PRN7A6WN.js +0 -2
- package/dist/cdn/VOIQ4WGO.js +0 -4
- package/dist/cdn/YZC55QBU.js +0 -2
|
@@ -4,7 +4,7 @@ import * as xt from "@arcgis/core/core/reactiveUtils.js";
|
|
|
4
4
|
import { substitute as Qi } from "@arcgis/core/intl.js";
|
|
5
5
|
import zm from "@arcgis/core/layers/Layer.js";
|
|
6
6
|
import Hm from "@arcgis/core/portal/PortalItem.js";
|
|
7
|
-
import { LitElement as _m, createEvent as
|
|
7
|
+
import { LitElement as _m, createEvent as ut, safeClassMap as ns } from "@arcgis/lumina";
|
|
8
8
|
import { unsafeGetElementDirection as Zs, getClosestElement as Gm, observeAncestorsMutation as yl, unsafeGetCalciteModeName as Sl } from "@arcgis/toolkit/dom";
|
|
9
9
|
import { getElementLocale as ea } from "@arcgis/toolkit/intl/dom";
|
|
10
10
|
import { log as Xm } from "@arcgis/toolkit/log";
|
|
@@ -15,7 +15,7 @@ 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 Te, CategoryAxis as
|
|
18
|
+
import { XYChart as ue, PieChart as Me, AxisFill as Km, AxisFillCircular as Qm, GaugeChart as Tt, DateAxis as Ve, ValueAxis as Te, CategoryAxis as lt, CategoryAxisDataItem as Ta, DateAxisDataItem as hn, LineSeries as be, ColumnSeries as ct, PieSeries as Wt, XYCursor as Gc, XYSeries as bi, SerialChart as Ks, Cursor as Jm, AxisLabel as Qs, ColumnSeriesDataItem as Js, LineSeriesDataItem as Va, CandlestickSeries as ze, StepLineSeries as Lt, LegendDataItem as na, Series as Xc, CandlestickSeriesDataItem as eg, PieSeriesDataItem as yi, Legend as tg, AxisRendererX as Ft, AxisRendererCircular as pn, AxisLabelCircular as er, ValueAxisDataItem as tr, AxisRendererY as Wa, ClockHand as ig, Chart as Yc } from "@amcharts/amcharts4/charts.js";
|
|
19
19
|
import { Color as Go, percent as gt, LinePattern as Uc, RectPattern as jc, color as bn, DateFormatter as qc, NumberFormatter as Zc, Group as ag, MouseCursorStyle as qt, Label as Xo, DropShadowFilter as og, Sprite as ir, utils as Kc, Tooltip as Qc, 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 Jc, d as Ut, e as Ue, f as H, g as yn, h as ed, i as Ll, j as Ca, k as Fl, l as rs, m as Al, n as xa, o as dg } from "../../chunks/chart-object-literals.js";
|
|
@@ -29,7 +29,7 @@ import { Scrollbar as Ml } from "@amcharts/amcharts4/.internal/core/elements/Scr
|
|
|
29
29
|
import { color as lo, Series as Oa, SerialChart as co, percent as at, LinePattern as Pd, RectanglePattern as Th, p50 as ce, p0 as De, p100 as he, Graphics as Rt, DateFormatter as kh, NumberFormatter as Vd, Tooltip as Gi, Template as ra, Bullet as ki, RoundedRectangle as As, Slice as $l, time as Ih, Label as ht, Rectangle as Da, DataItem as kr, Timezone as Rh, Container as Bi, Color as wh, HeatLegend as Qo, LinearGradient as Oh, Legend as Wd, Scrollbar as Ts, addLicense as Dh, registry as Mh, Root as $h } from "@amcharts/amcharts5";
|
|
30
30
|
import { PieSeries as Je, PieChart as Kt } from "@amcharts/amcharts5/percent.js";
|
|
31
31
|
import { RadarCursor as Ir, AxisRendererCircular as Jt, ClockHand as ks, RadarChart as Ei, AxisRendererRadial as Bh, RadarLineSeries as Rr } from "@amcharts/amcharts5/radar.js";
|
|
32
|
-
import { XYSeries as wr, StepLineSeries as la, LineSeries as se, ColumnSeries as ye, CategoryAxis as Ee, XYCursor as Ed, XYChart as pe, CandlestickSeries as Ii, ValueAxis as Se, DateAxis as Pe, AxisRendererX as
|
|
32
|
+
import { XYSeries as wr, StepLineSeries as la, LineSeries as se, ColumnSeries as ye, CategoryAxis as Ee, XYCursor as Ed, XYChart as pe, CandlestickSeries as Ii, ValueAxis as Se, DateAxis as Pe, AxisRendererX as dt, AxisLabel as Bl, AxisRendererY as xi, AxisBullet as Nh } from "@amcharts/amcharts5/xy.js";
|
|
33
33
|
import Ph from "@amcharts/amcharts5/themes/Animated.js";
|
|
34
34
|
import Vh from "@amcharts/amcharts5/themes/Responsive.js";
|
|
35
35
|
import { g as Nl, a as Wh, b as Eh, c as zh, d as Pl, t as Vl, e as Wl } from "../../chunks/web-component-utils.js";
|
|
@@ -40,7 +40,7 @@ import { M as jh, r as qh } from "../../chunks/model-setter.js";
|
|
|
40
40
|
import { s as Zh, p as Kh, i as Qh, a as zl, u as Jh, b as ep, c as tp, r as ip, f as ap } from "../../chunks/serial-chart-data.js";
|
|
41
41
|
import { g as Hl } from "../../chunks/series-length.js";
|
|
42
42
|
import { createModel as op } from "../../model/shared/setup-utils.js";
|
|
43
|
-
import { i as
|
|
43
|
+
import { i as ft, a as ms, b as gs, c as Mo, d as _l, e as np, f as sp, g as Gl, h as rp } from "../../chunks/type-guards.js";
|
|
44
44
|
import { s as lp, a as cp } from "../../chunks/store.js";
|
|
45
45
|
import { f as Xl, i as Zi, v as Yl, a as dp } from "../../chunks/index3.js";
|
|
46
46
|
import { u as up, o as fp } from "../../chunks/action-bar-utils.js";
|
|
@@ -1117,7 +1117,7 @@ function Ds(t) {
|
|
|
1117
1117
|
isXAxis: !0,
|
|
1118
1118
|
chartType: a,
|
|
1119
1119
|
valueFormat: i
|
|
1120
|
-
}), n = bt(i) && e instanceof Ve, s = Oe(i) && e instanceof Te && !(e instanceof Ve), r = o && e instanceof
|
|
1120
|
+
}), n = bt(i) && e instanceof Ve, s = Oe(i) && e instanceof Te && !(e instanceof Ve), r = o && e instanceof lt;
|
|
1121
1121
|
return !n && !s && !r;
|
|
1122
1122
|
}
|
|
1123
1123
|
function Jd(t, e) {
|
|
@@ -1203,7 +1203,7 @@ function pb(t) {
|
|
|
1203
1203
|
);
|
|
1204
1204
|
}
|
|
1205
1205
|
function bb(t) {
|
|
1206
|
-
t instanceof Te && !(t instanceof Ve) ? fb(t) : t instanceof
|
|
1206
|
+
t instanceof Te && !(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;
|
|
@@ -1327,7 +1327,7 @@ function vb(t) {
|
|
|
1327
1327
|
isTimeOnlyField: l,
|
|
1328
1328
|
setTimeZone: c,
|
|
1329
1329
|
outTimeZone: u
|
|
1330
|
-
}) : e instanceof
|
|
1330
|
+
}) : e instanceof lt ? hi(a) || f ? (Cb({
|
|
1331
1331
|
axis: e,
|
|
1332
1332
|
formatOptions: a,
|
|
1333
1333
|
categoryAxisFormatter: r
|
|
@@ -1403,7 +1403,7 @@ function Ab(t) {
|
|
|
1403
1403
|
case y.BarSeries:
|
|
1404
1404
|
case y.PieSeries:
|
|
1405
1405
|
e.series.each((s) => {
|
|
1406
|
-
(s instanceof
|
|
1406
|
+
(s instanceof ct || s instanceof Wt) && (s.cursorOverStyle = n);
|
|
1407
1407
|
});
|
|
1408
1408
|
break;
|
|
1409
1409
|
case y.BoxPlotSeries:
|
|
@@ -1832,7 +1832,7 @@ function Bb(t) {
|
|
|
1832
1832
|
t instanceof Ks && t.series.each((e) => {
|
|
1833
1833
|
Nt(e.uid), e instanceof be && Nt(We(e)?.uid), e.bullets.each((i) => {
|
|
1834
1834
|
Nt(i.uid);
|
|
1835
|
-
}), e instanceof
|
|
1835
|
+
}), e instanceof ct && e.columns.template.children.each((i) => {
|
|
1836
1836
|
Nt(i.uid);
|
|
1837
1837
|
});
|
|
1838
1838
|
}), t instanceof ue && [t.xAxes.getIndex(0), t.xAxes.getIndex(1), t.yAxes.getIndex(0), t.yAxes.getIndex(1)].forEach(
|
|
@@ -1914,17 +1914,17 @@ function uu(t, e) {
|
|
|
1914
1914
|
}));
|
|
1915
1915
|
}
|
|
1916
1916
|
function $s(t) {
|
|
1917
|
-
t.bulletsContainer.invalidateLabels(), t instanceof
|
|
1917
|
+
t.bulletsContainer.invalidateLabels(), t instanceof ct && t.columns?.template.invalidateLabels();
|
|
1918
1918
|
}
|
|
1919
1919
|
function Wb(t) {
|
|
1920
1920
|
const { dataValue: e, series: i, seriesType: a, stackedType: o, axisMin: n } = t;
|
|
1921
1921
|
let s = e === void 0;
|
|
1922
|
-
return e !== void 0 && (n !== void 0 && e < n ? s = !0 : i instanceof
|
|
1922
|
+
return e !== void 0 && (n !== void 0 && e < n ? s = !0 : i instanceof ct && (a === y.BarSeries || a === y.ComboLineAndBarSeries) && (s = e === 0 && o !== void 0 && o !== te.Side)), s;
|
|
1923
1923
|
}
|
|
1924
1924
|
function Bs(t, e) {
|
|
1925
1925
|
let i;
|
|
1926
1926
|
const a = (o) => Be(o.uid, "isDataLabel") ?? !1;
|
|
1927
|
-
return e === "bullets" ? i = t.bullets.values.find(a) : t instanceof
|
|
1927
|
+
return e === "bullets" ? i = t.bullets.values.find(a) : t instanceof ct && (i = t.columns.template.children.values.find(a)), i;
|
|
1928
1928
|
}
|
|
1929
1929
|
function Ns(t, e) {
|
|
1930
1930
|
t.adapter.add(
|
|
@@ -1932,17 +1932,17 @@ function Ns(t, e) {
|
|
|
1932
1932
|
(i, a) => {
|
|
1933
1933
|
let o = i;
|
|
1934
1934
|
const { dataItem: n } = a;
|
|
1935
|
-
if (uo(t) && (e instanceof
|
|
1935
|
+
if (uo(t) && (e instanceof ct && n instanceof Js || e instanceof be && n instanceof Va)) {
|
|
1936
1936
|
const s = Ze(
|
|
1937
1937
|
e.uid,
|
|
1938
|
-
e instanceof
|
|
1938
|
+
e instanceof ct ? "barSeriesDataLabelFormatter" : "lineSeriesDataLabelFormatter"
|
|
1939
1939
|
);
|
|
1940
1940
|
if (s !== void 0) {
|
|
1941
1941
|
const r = D(e.chart.uid, "isRotated"), l = D(e.chart.uid, "config"), c = nt(l), u = r === !0 ? n.valueX : n.valueY, d = r === !0 ? n.values?.valueX?.totalPercent : n.values?.valueY?.totalPercent, f = r === !0 ? (n.component?.xAxis).min : (n.component?.yAxis).min, g = c === te.Stacked100 ? d : u;
|
|
1942
1942
|
o = Wb({
|
|
1943
1943
|
dataValue: g,
|
|
1944
1944
|
series: e,
|
|
1945
|
-
seriesType: e instanceof
|
|
1945
|
+
seriesType: e instanceof ct ? y.BarSeries : y.LineSeries,
|
|
1946
1946
|
stackedType: c,
|
|
1947
1947
|
axisMin: f
|
|
1948
1948
|
}) ? "" : s(u, d);
|
|
@@ -2028,7 +2028,7 @@ function Bn(t, e) {
|
|
|
2028
2028
|
}
|
|
2029
2029
|
function hu(t, e) {
|
|
2030
2030
|
let i;
|
|
2031
|
-
return t instanceof Ve ? i = e === !0 ? "dateY" : "dateX" : t instanceof
|
|
2031
|
+
return t instanceof Ve ? i = e === !0 ? "dateY" : "dateX" : t instanceof lt ? i = e === !0 ? "categoryY" : "categoryX" : i = e === !0 ? "valueY" : "valueX", i;
|
|
2032
2032
|
}
|
|
2033
2033
|
function _a(t, e) {
|
|
2034
2034
|
t.name = e;
|
|
@@ -2160,7 +2160,7 @@ function Gb(t, e) {
|
|
|
2160
2160
|
case y.BarSeries:
|
|
2161
2161
|
i = (a, o) => {
|
|
2162
2162
|
let n = !1;
|
|
2163
|
-
if (a instanceof
|
|
2163
|
+
if (a instanceof ct) {
|
|
2164
2164
|
const s = wt({ chart: a.chart });
|
|
2165
2165
|
let r = 0;
|
|
2166
2166
|
if (o.type === y.BarSeries) {
|
|
@@ -2229,7 +2229,7 @@ function Xb(t) {
|
|
|
2229
2229
|
}
|
|
2230
2230
|
function fa(t) {
|
|
2231
2231
|
const { defaultChartItemRole: e } = A.aria;
|
|
2232
|
-
t instanceof ze || t instanceof
|
|
2232
|
+
t instanceof ze || t instanceof ct ? (t.columns.template.properties.role = e, t.columns.template.focusable = !0, t.columns.template.hoverOnFocus = !0, t.itemReaderText = Vi()) : t instanceof Lt ? t.segments.template.properties.role = e : t instanceof be ? t.bullets.values.forEach((i) => {
|
|
2233
2233
|
i.focusable = !0, i.properties.role = e, i.readerTitle = Vi(), i.hoverOnFocus = !0;
|
|
2234
2234
|
}) : t instanceof Wt && (t.slices.template.properties.role = e, t.slices.template.hoverOnFocus = !0, t.itemReaderText = "{category} {value.formatNumber('#.#')} {value.percent.formatNumber('#.#')}%");
|
|
2235
2235
|
}
|
|
@@ -2247,7 +2247,7 @@ function aa(t, e) {
|
|
|
2247
2247
|
return i !== y.BoxPlotSeries || t instanceof ze ? o = t.id === a.id : t instanceof Lt ? o = t.id.replace(`_${fe.Top}`, "") === a.id || t.id.replace(`_${fe.Median}`, "") === a.id || t.id.replace(`_${fe.Bottom}`, "") === a.id : t instanceof be && (o = t.id.replace(`_${fe.Outliers}`, "") === a.id), o;
|
|
2248
2248
|
});
|
|
2249
2249
|
}
|
|
2250
|
-
const
|
|
2250
|
+
const st = {
|
|
2251
2251
|
CustomActive: "custom-active",
|
|
2252
2252
|
CustomInactive: "custom-inactive",
|
|
2253
2253
|
Default: "default",
|
|
@@ -2262,7 +2262,7 @@ function Ub(t, e) {
|
|
|
2262
2262
|
return i;
|
|
2263
2263
|
}
|
|
2264
2264
|
function ma(t) {
|
|
2265
|
-
const { element: e, customSelectionTheme: i, useNativeState: a } = t, o = a === !0 ?
|
|
2265
|
+
const { element: e, customSelectionTheme: i, useNativeState: a } = t, o = a === !0 ? st.Active : st.CustomActive, n = e.states.getKey(o) ?? e.states.create(o), s = e.states.getKey(st.CustomInactive) ?? e.states.create(st.CustomInactive), { selectedElementsTheme: r, nonSelectedElementsTheme: l } = i ?? A.selectionTheme ?? {};
|
|
2266
2266
|
Zl(n, r), Zl(s, l);
|
|
2267
2267
|
}
|
|
2268
2268
|
function Ht(t) {
|
|
@@ -2270,7 +2270,7 @@ function Ht(t) {
|
|
|
2270
2270
|
if (e !== void 0) {
|
|
2271
2271
|
let r = e.isActive;
|
|
2272
2272
|
a !== !0 ? o === !0 ? r = e.isActive ? !1 : e.isActive !== i : r = i : r = e.isActive !== i, r !== e.isActive && (e.isActive = r);
|
|
2273
|
-
const l = n === !0 ?
|
|
2273
|
+
const l = n === !0 ? st.Active : st.CustomActive, c = s === !0 ? st.Default : st.CustomInactive;
|
|
2274
2274
|
e.setState(e.isActive ? l : c, 0), e.isActive && (e.toFront(), e.dataItem?.component instanceof Xc && e.dataItem.component.toFront());
|
|
2275
2275
|
}
|
|
2276
2276
|
return e?.isActive ?? !1;
|
|
@@ -2432,7 +2432,7 @@ async function Su(t) {
|
|
|
2432
2432
|
chartConfig: r
|
|
2433
2433
|
};
|
|
2434
2434
|
let L;
|
|
2435
|
-
g instanceof
|
|
2435
|
+
g instanceof ct || g instanceof ze ? L = g.columns?.values : g instanceof Lt ? L = g.segments.values : g instanceof be && (L = We(g)?.clones?.values, x.uniqueFeature = !0), L !== void 0 && (u = [...u, ...L], L.forEach((v, T) => {
|
|
2436
2436
|
if (!(v.dataItem instanceof na)) {
|
|
2437
2437
|
const k = v.isActive, I = v === n || Ub(v, i);
|
|
2438
2438
|
I && (d = !1);
|
|
@@ -3756,7 +3756,7 @@ function Oy(t, e) {
|
|
|
3756
3756
|
}));
|
|
3757
3757
|
const r = s instanceof Wt, l = D(e.uid, "options")?.selectionData?.selectionItems, c = l !== void 0 && l.length > 0, u = D(e.uid, "actionMode") ?? A.actionMode;
|
|
3758
3758
|
let d;
|
|
3759
|
-
s instanceof
|
|
3759
|
+
s instanceof ct ? d = s.columns : r ? d = s.slices : s instanceof be && (wy(s), d = We(s)?.clones), d?.each((f) => {
|
|
3760
3760
|
f.dataItem instanceof na || (Ht({
|
|
3761
3761
|
element: f,
|
|
3762
3762
|
selected: f.isActive,
|
|
@@ -3998,7 +3998,7 @@ function Uy(t) {
|
|
|
3998
3998
|
let h, b;
|
|
3999
3999
|
an({ element: l, markerSymbol: f }), l.clones.each((p) => {
|
|
4000
4000
|
if (p.dataItem instanceof na)
|
|
4001
|
-
an({ element: p, markerSymbol: f }), p.states.getKey(
|
|
4001
|
+
an({ element: p, markerSymbol: f }), p.states.getKey(st.CustomActive)?.reset(), p.states.getKey(st.CustomInactive)?.reset();
|
|
4002
4002
|
else {
|
|
4003
4003
|
const S = p.dataItem?.dataContext, C = S?.[A.xAxisField] === A.nullValue, x = Et({
|
|
4004
4004
|
seriesConfig: o,
|
|
@@ -4841,7 +4841,7 @@ function SS(t) {
|
|
|
4841
4841
|
const f = s.series[0].x, g = Yi(u), h = u instanceof bi ? u.dataFields?.customValue ?? "" : "", b = Dn(u, d), p = i.get(d);
|
|
4842
4842
|
if (p !== void 0) {
|
|
4843
4843
|
let S;
|
|
4844
|
-
if (u instanceof
|
|
4844
|
+
if (u instanceof ct ? S = u.columns : u instanceof Wt ? S = u.slices : S = We(u)?.clones, S !== void 0) {
|
|
4845
4845
|
const { indexesToSelect: C } = p;
|
|
4846
4846
|
S.each((x, L) => {
|
|
4847
4847
|
if (x && (C === void 0 || C.includes(L))) {
|
|
@@ -4874,7 +4874,7 @@ function CS(t) {
|
|
|
4874
4874
|
let o;
|
|
4875
4875
|
switch (i) {
|
|
4876
4876
|
case y.ComboLineAndBarSeries:
|
|
4877
|
-
if (e instanceof
|
|
4877
|
+
if (e instanceof ct)
|
|
4878
4878
|
o = e.columns.values;
|
|
4879
4879
|
else if (e instanceof be) {
|
|
4880
4880
|
const n = We(e);
|
|
@@ -4882,7 +4882,7 @@ function CS(t) {
|
|
|
4882
4882
|
}
|
|
4883
4883
|
break;
|
|
4884
4884
|
case y.BarSeries:
|
|
4885
|
-
e instanceof
|
|
4885
|
+
e instanceof ct && (o = e.columns.values);
|
|
4886
4886
|
break;
|
|
4887
4887
|
case y.LineSeries:
|
|
4888
4888
|
if (e instanceof be) {
|
|
@@ -5189,12 +5189,12 @@ async function FS(t, e) {
|
|
|
5189
5189
|
}
|
|
5190
5190
|
}
|
|
5191
5191
|
});
|
|
5192
|
-
const r = Pn(t, o), l = a instanceof Ve || a instanceof
|
|
5192
|
+
const r = Pn(t, o), l = a instanceof Ve || a instanceof lt, c = [], u = D(o.uid, "config");
|
|
5193
5193
|
if (u) {
|
|
5194
5194
|
const d = u.series[0].x ?? "";
|
|
5195
5195
|
o.series.each((f, g) => {
|
|
5196
5196
|
let h;
|
|
5197
|
-
if (f instanceof
|
|
5197
|
+
if (f instanceof ct ? h = f.columns : h = We(f)?.clones, f.visible) {
|
|
5198
5198
|
const b = Yi(f), p = f.dataFields?.customValue ?? "";
|
|
5199
5199
|
h?.each((S, C) => {
|
|
5200
5200
|
const x = n.includes(S);
|
|
@@ -5233,7 +5233,7 @@ function AS(t, e) {
|
|
|
5233
5233
|
}
|
|
5234
5234
|
}
|
|
5235
5235
|
function sn(t, e) {
|
|
5236
|
-
if ($t(t?.renderer?.labels?.template) && (t instanceof
|
|
5236
|
+
if ($t(t?.renderer?.labels?.template) && (t instanceof lt || t instanceof Ve))
|
|
5237
5237
|
if (e)
|
|
5238
5238
|
t.renderer.labels.template.events.disableType(N.Hit), Ms(t, qt.default);
|
|
5239
5239
|
else {
|
|
@@ -5324,7 +5324,7 @@ function wS(t, e) {
|
|
|
5324
5324
|
Number.isFinite(L) && (b = L), Number.isFinite(v) && (p = v);
|
|
5325
5325
|
const T = ot(t.uid, "numberFormatter") ?? ((k) => new Zc().format(k));
|
|
5326
5326
|
b = T(b), p !== void 0 && (p = T(p));
|
|
5327
|
-
} else t instanceof
|
|
5327
|
+
} else t instanceof lt && (b = o, p = n);
|
|
5328
5328
|
const S = b.toString(), C = p?.toString() ?? "";
|
|
5329
5329
|
!Ae(C) && S !== C ? l = Qi(e.guideTooltipLabel, {
|
|
5330
5330
|
guideStart: S,
|
|
@@ -5344,7 +5344,7 @@ function OS(t) {
|
|
|
5344
5344
|
}
|
|
5345
5345
|
function DS(t) {
|
|
5346
5346
|
let e = Ca.Value;
|
|
5347
|
-
return t instanceof Ve ? e = Ca.Date : t instanceof
|
|
5347
|
+
return t instanceof Ve ? e = Ca.Date : t instanceof lt && (e = Ca.Category), e;
|
|
5348
5348
|
}
|
|
5349
5349
|
function sc(t) {
|
|
5350
5350
|
const { inputValue: e, axisType: i, axisMin: a, axisMax: o } = t;
|
|
@@ -5430,7 +5430,7 @@ function $S(t, e) {
|
|
|
5430
5430
|
o !== -1 && (i = o);
|
|
5431
5431
|
}
|
|
5432
5432
|
let a;
|
|
5433
|
-
return t instanceof
|
|
5433
|
+
return t instanceof lt ? a = new Ta() : t instanceof Ve ? a = new hn() : a = new tr(), t.axisRanges.insertIndex(i, a), a.label = kS(t, e), a.axisFill.fillOpacity = 1, a.axisFill.disabled = !0, a.grid.strokeOpacity = 1, a;
|
|
5434
5434
|
}
|
|
5435
5435
|
function BS(t, e) {
|
|
5436
5436
|
const i = $S(t, !0);
|
|
@@ -5573,7 +5573,7 @@ function YS(t) {
|
|
|
5573
5573
|
if (o === !0)
|
|
5574
5574
|
s = A.secondRotatedValueAxisMinGridDistance;
|
|
5575
5575
|
else if (a === void 0 || a === xe.Rotate) {
|
|
5576
|
-
const r = i.content.font?.size ?? A.generalFontSize, l = e instanceof
|
|
5576
|
+
const r = i.content.font?.size ?? A.generalFontSize, l = e instanceof lt ? A.categoryAxisLabelPadding : A.axisLabelPadding;
|
|
5577
5577
|
s = r * l;
|
|
5578
5578
|
} else if (a === xe.Wrap) {
|
|
5579
5579
|
const r = yt(
|
|
@@ -5583,9 +5583,9 @@ function YS(t) {
|
|
|
5583
5583
|
Ke(e.uid, {
|
|
5584
5584
|
debouncedUpdateMinGridDistanceForWrapBehavior: r
|
|
5585
5585
|
}), e.events.on(N.SizeChanged, r), e.dispatchImmediately(N.SizeChanged);
|
|
5586
|
-
} else a === xe.Stagger ? s = A.staggerMinGridDistance : s = e instanceof
|
|
5586
|
+
} else a === xe.Stagger ? s = A.staggerMinGridDistance : s = e instanceof lt ? A.xCategoryAxisMinGridDistance : A.xAxisMinGridDistance;
|
|
5587
5587
|
else
|
|
5588
|
-
s = e instanceof
|
|
5588
|
+
s = e instanceof lt ? A.yCategoryAxisMinGridDistance : A.yAxisMinGridDistance;
|
|
5589
5589
|
e.renderer.minGridDistance = s;
|
|
5590
5590
|
}
|
|
5591
5591
|
function US(t) {
|
|
@@ -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 Te ? o = Jd(t, a.properties?.text ?? i ?? "") : t instanceof
|
|
5806
|
+
return t instanceof Te ? o = Jd(t, a.properties?.text ?? i ?? "") : t instanceof lt && (o = eu({
|
|
5807
5807
|
axis: t,
|
|
5808
5808
|
defaultOutput: i ?? "",
|
|
5809
5809
|
dataItem: e.dataItem
|
|
@@ -5927,7 +5927,7 @@ function hC(t) {
|
|
|
5927
5927
|
const { axis: e, isNonAggregatedChart: i } = t;
|
|
5928
5928
|
let a, o, n;
|
|
5929
5929
|
const s = e.dataItems.values, r = e.axisRanges.values;
|
|
5930
|
-
if (e instanceof
|
|
5930
|
+
if (e instanceof lt)
|
|
5931
5931
|
for (let l = 0; l < r.length; l += 1) {
|
|
5932
5932
|
a = !1, o = !1, n = !1;
|
|
5933
5933
|
const c = r[l], { category: u, endCategory: d, axisFill: f, grid: g, label: h } = c;
|
|
@@ -5968,7 +5968,7 @@ function pC(t) {
|
|
|
5968
5968
|
axis: t,
|
|
5969
5969
|
axisMinimum: t.min,
|
|
5970
5970
|
axisMaximum: e
|
|
5971
|
-
}), e))) : t instanceof
|
|
5971
|
+
}), e))) : t instanceof lt && t.events.on(N.Validated, () => {
|
|
5972
5972
|
const e = D(t.chart.uid, "isNonAggregatedChart");
|
|
5973
5973
|
hC({ axis: t, isNonAggregatedChart: e });
|
|
5974
5974
|
});
|
|
@@ -5977,7 +5977,7 @@ function oo(t) {
|
|
|
5977
5977
|
const { axes: e, isSecondaryYAxis: i = !1, isXAxis: a, valueFormat: o, chartType: n, errorStrings: s } = t;
|
|
5978
5978
|
let r;
|
|
5979
5979
|
if (Ea({ isXAxis: a, chartType: n, valueFormat: o }) && !i)
|
|
5980
|
-
r = e.push(new
|
|
5980
|
+
r = e.push(new lt());
|
|
5981
5981
|
else if (bt(o))
|
|
5982
5982
|
r = e.push(new Ve());
|
|
5983
5983
|
else if (Oe(o)) {
|
|
@@ -6424,7 +6424,7 @@ function wC(t) {
|
|
|
6424
6424
|
});
|
|
6425
6425
|
const C = n === !0 ? e.yAxes.getIndex(0) : e.xAxes.getIndex(0);
|
|
6426
6426
|
if (C !== void 0) {
|
|
6427
|
-
C instanceof
|
|
6427
|
+
C instanceof lt && (C.dataFields.category = br(i));
|
|
6428
6428
|
const v = C.renderer, T = v.grid.template;
|
|
6429
6429
|
T.location = 0, v.cellStartLocation = 0.1, v.cellEndLocation = 0.9;
|
|
6430
6430
|
const k = i.orderOptions?.data && "orderBy" in i.orderOptions.data && i.orderOptions.data.orderBy === yn.Descending;
|
|
@@ -7263,7 +7263,7 @@ function hx(t) {
|
|
|
7263
7263
|
});
|
|
7264
7264
|
}
|
|
7265
7265
|
function px(t) {
|
|
7266
|
-
const { chart: e, chartConfig: i, seriesIndex: a, axisList: o = [], selectionTheme: n, errorStrings: s } = t, { rotated: r } = i, l = i.series[a], { y: c, assignToSecondValueAxis: u } = l, d = new
|
|
7266
|
+
const { chart: e, chartConfig: i, seriesIndex: a, axisList: o = [], selectionTheme: n, errorStrings: s } = t, { rotated: r } = i, l = i.series[a], { y: c, assignToSecondValueAxis: u } = l, d = new ct();
|
|
7267
7267
|
d.id = l.id;
|
|
7268
7268
|
let f, g;
|
|
7269
7269
|
r !== !0 ? (f = o[0], g = u === !0 && o[2] ? o[2] : o[1]) : (f = u === !0 && o[2] ? o[2] : o[0], g = o[1]), f !== void 0 && (d.xAxis = f), g !== void 0 && (d.yAxis = g);
|
|
@@ -7530,7 +7530,7 @@ function Rx(t) {
|
|
|
7530
7530
|
o !== void 0 && o.selectedElementsTheme === void 0 && Ma({
|
|
7531
7531
|
element: n,
|
|
7532
7532
|
stylingInfo: c,
|
|
7533
|
-
stateKey:
|
|
7533
|
+
stateKey: st.Active
|
|
7534
7534
|
});
|
|
7535
7535
|
});
|
|
7536
7536
|
}
|
|
@@ -8818,10 +8818,10 @@ function oe(t, e) {
|
|
|
8818
8818
|
e === !1 && (!("isHiding" in t) || !t.isHiding()) ? (t.set("visible", !1), "hide" in t && t.hide()) : e !== !1 && (!("isShowing" in t) || !t.isShowing()) && (t.set("visible", !0), "show" in t && t.show());
|
|
8819
8819
|
}
|
|
8820
8820
|
function me(t) {
|
|
8821
|
-
const { childId: e, parent: i, useChildId: a } = t, o = a ? e :
|
|
8821
|
+
const { childId: e, parent: i, useChildId: a } = t, o = a ? e : rt(e, i.uid);
|
|
8822
8822
|
return i.children.values.find((n) => n.get("id") === o);
|
|
8823
8823
|
}
|
|
8824
|
-
function
|
|
8824
|
+
function rt(t, e) {
|
|
8825
8825
|
return `${t}${e}`;
|
|
8826
8826
|
}
|
|
8827
8827
|
function ui(t, e = 100) {
|
|
@@ -9296,8 +9296,8 @@ function we(t) {
|
|
|
9296
9296
|
if (e !== void 0) {
|
|
9297
9297
|
const r = Yt(e.uid, "selected") ?? !1;
|
|
9298
9298
|
s = r, a !== !0 ? o === !0 ? s = r ? !1 : r !== i : s = i : s = r !== i;
|
|
9299
|
-
const l = n === !0 ?
|
|
9300
|
-
if (e.states.apply(
|
|
9299
|
+
const l = n === !0 ? st.Default : st.CustomInactive;
|
|
9300
|
+
if (e.states.apply(st.Default), e.states.apply(s ? st.CustomActive : l), s !== r && (tv(e.uid, { selected: s }), s && (e.toFront(), e.dataItem?.component instanceof Oa))) {
|
|
9301
9301
|
const c = e.dataItem.component;
|
|
9302
9302
|
c.toFront(), c instanceof se && c.bulletsContainer.toFront();
|
|
9303
9303
|
}
|
|
@@ -9309,7 +9309,7 @@ function bf(t, e) {
|
|
|
9309
9309
|
return i === J.MonoSelection || i === J.MultiSelectionWithCtrlKey && !a;
|
|
9310
9310
|
}
|
|
9311
9311
|
function He(t, e) {
|
|
9312
|
-
const { selectedElementsTheme: i, nonSelectedElementsTheme: a } = e ?? F.selectionTheme ?? {}, o = t.states.create(
|
|
9312
|
+
const { selectedElementsTheme: i, nonSelectedElementsTheme: a } = e ?? F.selectionTheme ?? {}, o = t.states.create(st.CustomActive, {}), n = t.states.create(st.CustomInactive, {});
|
|
9313
9313
|
bc(o, i), bc(n, a);
|
|
9314
9314
|
}
|
|
9315
9315
|
function _t(t) {
|
|
@@ -11007,7 +11007,7 @@ function Lc(t, e) {
|
|
|
11007
11007
|
i -= l, a -= l;
|
|
11008
11008
|
} else e instanceof Se && (i = e.positionToValue(e.toAxisPosition(n)), a = e.positionToValue(e.toAxisPosition(s)));
|
|
11009
11009
|
} else {
|
|
11010
|
-
const o = e.get("renderer") instanceof
|
|
11010
|
+
const o = e.get("renderer") instanceof dt, n = t.getPrivate(o ? "downPositionX" : "downPositionY"), s = t.getPrivate(o ? "positionX" : "positionY");
|
|
11011
11011
|
n !== void 0 && s !== void 0 && (i = n * (o ? e.width() : e.height()), a = s * (o ? e.width() : e.height()));
|
|
11012
11012
|
}
|
|
11013
11013
|
return { value1: i, value2: a };
|
|
@@ -11983,7 +11983,7 @@ function jL(t, e) {
|
|
|
11983
11983
|
let r, l;
|
|
11984
11984
|
if (s?.dataItem instanceof kr && EL(s.dataItem)) {
|
|
11985
11985
|
const c = s.dataItem.get("category");
|
|
11986
|
-
c !== void 0 && (r = i instanceof
|
|
11986
|
+
c !== void 0 && (r = i instanceof dt ? "categoryX" : "categoryY", l = c);
|
|
11987
11987
|
}
|
|
11988
11988
|
if (r !== void 0 && l !== void 0 && n instanceof pe && nl(n.uid)) {
|
|
11989
11989
|
const c = HL(o), u = GL({ chart: n, selectionField: r, selectionKey: l }), d = u.hasMatching && u.allMatchingSelected, f = !c && d && !u.hasNonMatchingSelected;
|
|
@@ -12160,7 +12160,7 @@ function Hs(t) {
|
|
|
12160
12160
|
function Aa(t, e) {
|
|
12161
12161
|
const i = e.get("axisFill"), a = e.get("label");
|
|
12162
12162
|
if (i !== void 0 && a !== void 0) {
|
|
12163
|
-
const o = Ne(a.uid, "guideLabelConfig"), n = Ne(a.uid, "guideType"), s = t.get("renderer") instanceof
|
|
12163
|
+
const o = Ne(a.uid, "guideLabelConfig"), n = Ne(a.uid, "guideType"), s = t.get("renderer") instanceof dt, 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: L, offsetsReady: v } = Hs({
|
|
12164
12164
|
isHorizontalAxis: s,
|
|
12165
12165
|
isSurfaceGuide: r,
|
|
12166
12166
|
horizontalAlignment: f,
|
|
@@ -12181,7 +12181,7 @@ function KL(t) {
|
|
|
12181
12181
|
const n = i.get("axisFill");
|
|
12182
12182
|
let s = o;
|
|
12183
12183
|
if (n !== void 0) {
|
|
12184
|
-
const r = Ne(a.uid, "guideLabelConfig"), l = Ne(a.uid, "guideType"), c = e.get("renderer") instanceof
|
|
12184
|
+
const r = Ne(a.uid, "guideLabelConfig"), l = Ne(a.uid, "guideType"), c = e.get("renderer") instanceof dt, u = Hs({
|
|
12185
12185
|
isHorizontalAxis: c,
|
|
12186
12186
|
isSurfaceGuide: l === K.SFS,
|
|
12187
12187
|
horizontalAlignment: r?.horizontalAlignment,
|
|
@@ -12200,7 +12200,7 @@ function KL(t) {
|
|
|
12200
12200
|
const n = i.get("axisFill");
|
|
12201
12201
|
let s = o;
|
|
12202
12202
|
if (n !== void 0) {
|
|
12203
|
-
const r = Ne(a.uid, "guideLabelConfig"), l = Ne(a.uid, "guideType"), c = e.get("renderer") instanceof
|
|
12203
|
+
const r = Ne(a.uid, "guideLabelConfig"), l = Ne(a.uid, "guideType"), c = e.get("renderer") instanceof dt, u = Hs({
|
|
12204
12204
|
isHorizontalAxis: c,
|
|
12205
12205
|
isSurfaceGuide: l === K.SFS,
|
|
12206
12206
|
horizontalAlignment: r?.horizontalAlignment,
|
|
@@ -12220,7 +12220,7 @@ function KL(t) {
|
|
|
12220
12220
|
function QL(t) {
|
|
12221
12221
|
const { axis: e, guide: i, label: a } = t, { chart: o } = e;
|
|
12222
12222
|
if (KL({ axis: e, guide: i, label: a }), o) {
|
|
12223
|
-
const s = e.get("renderer") instanceof
|
|
12223
|
+
const s = e.get("renderer") instanceof dt ? o.yAxes.getIndex(0) : o.xAxes.getIndex(0);
|
|
12224
12224
|
s && (s.events.onDebounced(
|
|
12225
12225
|
ne.BoundsChanged,
|
|
12226
12226
|
() => Aa(e, i),
|
|
@@ -12253,7 +12253,7 @@ function e0(t) {
|
|
|
12253
12253
|
const { axis: e, guide: i, guideConfig: a, guideType: o } = t, n = i?.get("label");
|
|
12254
12254
|
if (n !== void 0)
|
|
12255
12255
|
if (a.label !== void 0) {
|
|
12256
|
-
const s = e.get("renderer") instanceof
|
|
12256
|
+
const s = e.get("renderer") instanceof dt;
|
|
12257
12257
|
let r;
|
|
12258
12258
|
e instanceof Jt || (s ? o === K.SFS ? r = F.verticalSurfaceGuideLabels : r = F.verticalLineGuideLabels : o === K.SFS ? r = F.horizontalSurfaceGuideLabels : r = F.horizontalLineGuideLabels), Fa(n.uid, { guideLabelConfig: a.label, guideType: o });
|
|
12259
12259
|
const l = {
|
|
@@ -12608,10 +12608,10 @@ function d0(t) {
|
|
|
12608
12608
|
return s || n?.[0] || n?.[1] || b || p;
|
|
12609
12609
|
}
|
|
12610
12610
|
function qi(t, e) {
|
|
12611
|
-
return t instanceof
|
|
12611
|
+
return t instanceof dt && !e || t instanceof xi && e || t instanceof Jt;
|
|
12612
12612
|
}
|
|
12613
12613
|
function Kn(t) {
|
|
12614
|
-
return t instanceof
|
|
12614
|
+
return t instanceof dt;
|
|
12615
12615
|
}
|
|
12616
12616
|
function u0(t) {
|
|
12617
12617
|
return t instanceof xi;
|
|
@@ -13312,8 +13312,8 @@ function _0(t) {
|
|
|
13312
13312
|
if (r instanceof Jt)
|
|
13313
13313
|
l = F.gauge.gaugeMinGridDistance;
|
|
13314
13314
|
else if (e instanceof Se)
|
|
13315
|
-
l = r instanceof
|
|
13316
|
-
else if (r instanceof
|
|
13315
|
+
l = r instanceof dt ? F.xAxisMinGridDistance : F.yAxisMinGridDistance;
|
|
13316
|
+
else if (r instanceof dt)
|
|
13317
13317
|
if (o === !0)
|
|
13318
13318
|
l = F.secondRotatedValueAxisMinGridDistance;
|
|
13319
13319
|
else if (s === xe.Rotate) {
|
|
@@ -13626,14 +13626,14 @@ function nF(t) {
|
|
|
13626
13626
|
...r,
|
|
13627
13627
|
axes: e.xAxes,
|
|
13628
13628
|
valueFormat: l,
|
|
13629
|
-
axisRenderer:
|
|
13629
|
+
axisRenderer: dt.new(n, {}),
|
|
13630
13630
|
isXAxis: !0,
|
|
13631
13631
|
x: a
|
|
13632
13632
|
}), d = Pi({
|
|
13633
13633
|
...r,
|
|
13634
13634
|
axes: e.xAxes,
|
|
13635
13635
|
valueFormat: l,
|
|
13636
|
-
axisRenderer:
|
|
13636
|
+
axisRenderer: dt.new(n, {}),
|
|
13637
13637
|
isAxisForHistogramOverlaySeries: !0,
|
|
13638
13638
|
isXAxis: !0,
|
|
13639
13639
|
x: a
|
|
@@ -13670,7 +13670,7 @@ function sF(t) {
|
|
|
13670
13670
|
}
|
|
13671
13671
|
function rF(t) {
|
|
13672
13672
|
const { axis: e, isHorizontalAxis: i, isSecondaryYAxis: a } = t, { root: o } = e, n = i ? { ...F.xAxisTitleLabel, verticalCenter: "top" } : F.yAxisTitleLabel, s = Pa({ root: o, id: tm(e, i), defaults: n });
|
|
13673
|
-
return e.get("renderer") instanceof xi && a !== !0 || e.get("renderer") instanceof
|
|
13673
|
+
return e.get("renderer") instanceof xi && a !== !0 || e.get("renderer") instanceof dt && a === !0 ? e.children.unshift(s) : e.children.push(s), i && a !== !0 && (e.events.onDebounced(
|
|
13674
13674
|
ne.BoundsChanged,
|
|
13675
13675
|
() => Xs(e, s),
|
|
13676
13676
|
F.debounceTime
|
|
@@ -13734,7 +13734,7 @@ function Pi(t) {
|
|
|
13734
13734
|
if (d !== void 0 && !c) {
|
|
13735
13735
|
k0(d), Uf(e, d);
|
|
13736
13736
|
const f = r === y.HistogramSeries || r === y.HeatSeries ? 0 : 0.1, g = r === y.HistogramSeries || r === y.HeatSeries ? 1 : 0.9;
|
|
13737
|
-
d.get("renderer").setAll({ cellStartLocation: f, cellEndLocation: g }), r === y.HeatSeries && (n instanceof
|
|
13737
|
+
d.get("renderer").setAll({ cellStartLocation: f, cellEndLocation: g }), r === y.HeatSeries && (n instanceof dt || n instanceof xi) && n.setAll({ layer: F.zIndexes.defaultLayer30 }), qf(d), sF(d), Kn(d.get("renderer")) ? d.get("renderer").labels.template.set(
|
|
13738
13738
|
s ? "paddingBottom" : "paddingTop",
|
|
13739
13739
|
F.axisLabelSpacing.horizontalAxisLabelPaddingTop
|
|
13740
13740
|
) : n instanceof xi && d.get("renderer").labels.template.set(
|
|
@@ -13881,7 +13881,7 @@ function dF(t, e) {
|
|
|
13881
13881
|
...l,
|
|
13882
13882
|
axes: t.xAxes,
|
|
13883
13883
|
valueFormat: d,
|
|
13884
|
-
axisRenderer:
|
|
13884
|
+
axisRenderer: dt.new(i, {}),
|
|
13885
13885
|
isXAxis: !n,
|
|
13886
13886
|
x: o
|
|
13887
13887
|
}), Pi({
|
|
@@ -13892,7 +13892,7 @@ function dF(t, e) {
|
|
|
13892
13892
|
isXAxis: n,
|
|
13893
13893
|
x: o
|
|
13894
13894
|
}), s?.[2] !== void 0)) {
|
|
13895
|
-
const g = n ?
|
|
13895
|
+
const g = n ? dt : xi;
|
|
13896
13896
|
Pi({
|
|
13897
13897
|
...l,
|
|
13898
13898
|
axes: n ? t.xAxes : t.yAxes,
|
|
@@ -14124,24 +14124,24 @@ function yF(t, e) {
|
|
|
14124
14124
|
root: t,
|
|
14125
14125
|
defaults: F.headerContainer,
|
|
14126
14126
|
parent: e,
|
|
14127
|
-
id:
|
|
14127
|
+
id: rt(Qn, e.uid),
|
|
14128
14128
|
index: 0
|
|
14129
14129
|
}), a = Ys({
|
|
14130
14130
|
root: t,
|
|
14131
14131
|
defaults: F.headerContainer,
|
|
14132
14132
|
parent: e,
|
|
14133
|
-
id:
|
|
14133
|
+
id: rt(dl, e.uid),
|
|
14134
14134
|
index: 1
|
|
14135
14135
|
}), o = Pa({
|
|
14136
14136
|
root: t,
|
|
14137
14137
|
parent: i,
|
|
14138
14138
|
defaults: F.titleLabel,
|
|
14139
|
-
id:
|
|
14139
|
+
id: rt(Qf, i.uid)
|
|
14140
14140
|
}), n = Pa({
|
|
14141
14141
|
root: t,
|
|
14142
14142
|
parent: a,
|
|
14143
14143
|
defaults: F.subtitleLabel,
|
|
14144
|
-
id:
|
|
14144
|
+
id: rt(Jf, a.uid)
|
|
14145
14145
|
});
|
|
14146
14146
|
oa({
|
|
14147
14147
|
chart: e,
|
|
@@ -14191,11 +14191,11 @@ function SF(t) {
|
|
|
14191
14191
|
root: e,
|
|
14192
14192
|
defaults: F.footerContainer,
|
|
14193
14193
|
parent: t,
|
|
14194
|
-
id:
|
|
14194
|
+
id: rt(Jn, t.uid)
|
|
14195
14195
|
}), a = Pa({
|
|
14196
14196
|
root: e,
|
|
14197
14197
|
parent: i,
|
|
14198
|
-
id:
|
|
14198
|
+
id: rt(em, i.uid)
|
|
14199
14199
|
});
|
|
14200
14200
|
oa({
|
|
14201
14201
|
chart: t,
|
|
@@ -14558,7 +14558,7 @@ function fm(t, e) {
|
|
|
14558
14558
|
function mm(t) {
|
|
14559
14559
|
const e = w(t.uid, "config");
|
|
14560
14560
|
if (e?.series?.[0]?.type === y.HeatSeries && e?.legend?.visible !== !1) {
|
|
14561
|
-
const i = F.heatChart.legend, a = e?.legend?.position ?? i.position, o =
|
|
14561
|
+
const i = F.heatChart.legend, a = e?.legend?.position ?? i.position, o = rt(kt, t.uid);
|
|
14562
14562
|
let n, s = !1;
|
|
14563
14563
|
switch (a) {
|
|
14564
14564
|
case H.Top:
|
|
@@ -14708,7 +14708,7 @@ function pm(t) {
|
|
|
14708
14708
|
{ color: x, opacity: L, offset: h },
|
|
14709
14709
|
{ color: x, opacity: L, offset: 1 }
|
|
14710
14710
|
], T = (I, R, O) => {
|
|
14711
|
-
const $ =
|
|
14711
|
+
const $ = rt(`heatLegendLabel${O}`, e.uid), M = e.markerContainer.children.values.find(
|
|
14712
14712
|
(Y) => Y instanceof ht && Y.get("id") === $
|
|
14713
14713
|
);
|
|
14714
14714
|
let B = M && !M.isDisposed() ? M : void 0;
|
|
@@ -14798,7 +14798,7 @@ function bm(t, e) {
|
|
|
14798
14798
|
}
|
|
14799
14799
|
}
|
|
14800
14800
|
function gn(t) {
|
|
14801
|
-
const e =
|
|
14801
|
+
const e = rt(kt, t.uid);
|
|
14802
14802
|
[t.bottomAxesContainer, t.rightAxesContainer, t.leftAxesContainer, t.topAxesContainer].forEach(
|
|
14803
14803
|
(i) => {
|
|
14804
14804
|
const a = me({
|
|
@@ -14817,7 +14817,7 @@ function ym(t, e) {
|
|
|
14817
14817
|
root: e.root,
|
|
14818
14818
|
parent: e,
|
|
14819
14819
|
index: 0,
|
|
14820
|
-
id:
|
|
14820
|
+
id: rt(fi, e.uid)
|
|
14821
14821
|
});
|
|
14822
14822
|
return i.set("paddingTop", F.heatChart.legend.titlePadding), oa({
|
|
14823
14823
|
chart: t,
|
|
@@ -14826,7 +14826,7 @@ function ym(t, e) {
|
|
|
14826
14826
|
}), i;
|
|
14827
14827
|
}
|
|
14828
14828
|
function Sm(t) {
|
|
14829
|
-
const { chart: e, legendConfig: i, container: a } = t, o =
|
|
14829
|
+
const { chart: e, legendConfig: i, container: a } = t, o = rt(kt, e.uid);
|
|
14830
14830
|
let n = a;
|
|
14831
14831
|
if (n || [e.bottomAxesContainer, e.rightAxesContainer, e.leftAxesContainer, e.topAxesContainer].forEach(
|
|
14832
14832
|
(s) => {
|
|
@@ -14919,7 +14919,7 @@ function WF(t) {
|
|
|
14919
14919
|
}
|
|
14920
14920
|
function EF(t) {
|
|
14921
14921
|
let e;
|
|
14922
|
-
const i =
|
|
14922
|
+
const i = rt(kt, t.uid);
|
|
14923
14923
|
return [t.bottomAxesContainer, t.rightAxesContainer, t.leftAxesContainer, t.topAxesContainer].forEach(
|
|
14924
14924
|
(a) => {
|
|
14925
14925
|
const o = me({
|
|
@@ -14944,7 +14944,7 @@ function EF(t) {
|
|
|
14944
14944
|
}
|
|
14945
14945
|
function zF(t) {
|
|
14946
14946
|
const { chart: e, series: i, legendConfig: a, fallbackConfig: o } = t, n = $F(e, o), s = Bi.new(e.root, {
|
|
14947
|
-
id:
|
|
14947
|
+
id: rt(kt, e.uid),
|
|
14948
14948
|
layout: e.root.verticalLayout
|
|
14949
14949
|
});
|
|
14950
14950
|
return s.children.push(n), ym(e, s), Sm({ chart: e, legendConfig: a, container: s }), PF({ series: i, legend: n, chart: e }), { legend: n, legendContainer: s };
|
|
@@ -14962,7 +14962,7 @@ function HF(t) {
|
|
|
14962
14962
|
else if (l instanceof ye) {
|
|
14963
14963
|
const c = EF(e) ?? (a !== void 0 && !a.isDisposed() ? a : void 0);
|
|
14964
14964
|
if (c) {
|
|
14965
|
-
const u = c.parent, d = u?.get("id") ===
|
|
14965
|
+
const u = c.parent, d = u?.get("id") === rt(kt, e.uid) ? u : void 0;
|
|
14966
14966
|
r && !d ? (gn(e), c.isDisposed() || c.dispose(), Ss(e)) : (fm(e, c), Sm({ chart: e, legendConfig: s, container: d }), bm(c, s), r && d ? (oe(d, !0), oe(c, !0), gm({ chart: e, legend: c, legendContainer: d }), xm({
|
|
14967
14967
|
legend: c,
|
|
14968
14968
|
chart: e,
|
|
@@ -15320,7 +15320,7 @@ function km(t, e) {
|
|
|
15320
15320
|
root: e.root,
|
|
15321
15321
|
parent: e,
|
|
15322
15322
|
index: 0,
|
|
15323
|
-
id:
|
|
15323
|
+
id: rt(fi, e.uid)
|
|
15324
15324
|
});
|
|
15325
15325
|
return i.set("paddingTop", 10), oa({
|
|
15326
15326
|
chart: t,
|
|
@@ -15502,7 +15502,7 @@ function Vc(t, e) {
|
|
|
15502
15502
|
a = Cm(t, e);
|
|
15503
15503
|
else {
|
|
15504
15504
|
const o = Bi.new(i, {
|
|
15505
|
-
id:
|
|
15505
|
+
id: rt(kt, t.uid),
|
|
15506
15506
|
layout: i.verticalLayout
|
|
15507
15507
|
}), n = e?.series?.[0].type === y.HeatSeries ? {
|
|
15508
15508
|
nameField: je.nameField,
|
|
@@ -18269,7 +18269,7 @@ function nk(t, e) {
|
|
|
18269
18269
|
return e && (i = xt.watch(
|
|
18270
18270
|
() => e.renderer,
|
|
18271
18271
|
() => {
|
|
18272
|
-
const { model: a } = t, o =
|
|
18272
|
+
const { model: a } = t, o = ft(a) ? a.config : a;
|
|
18273
18273
|
if (_i(o) && t.layerRendererChangePolicy === Hd.Refresh) {
|
|
18274
18274
|
const n = ak();
|
|
18275
18275
|
t.refresh({ updateData: n });
|
|
@@ -18278,15 +18278,15 @@ function nk(t, e) {
|
|
|
18278
18278
|
)), i;
|
|
18279
18279
|
}
|
|
18280
18280
|
function sk(t, e) {
|
|
18281
|
-
const { view: i
|
|
18282
|
-
let
|
|
18283
|
-
if (i &&
|
|
18284
|
-
const
|
|
18281
|
+
const { view: i } = t;
|
|
18282
|
+
let a;
|
|
18283
|
+
if (i && e) {
|
|
18284
|
+
const o = async () => {
|
|
18285
18285
|
(t.filterByExtent || t.filterByViewExtent) && i.stationary && (e.updating && await xt.whenOnce(() => !e.updating), await t.refresh({ updateData: !0, resetAxesBounds: !0 }));
|
|
18286
18286
|
};
|
|
18287
|
-
|
|
18287
|
+
a = [], Ki(e) ? (a.push(xt.when(() => i.stationary, o)), a.push(xt.when(() => !e.dataUpdating, o))) : a.push(xt.when(() => i.stationary, o)), o();
|
|
18288
18288
|
}
|
|
18289
|
-
return
|
|
18289
|
+
return a;
|
|
18290
18290
|
}
|
|
18291
18291
|
function rk(t) {
|
|
18292
18292
|
const { view: e } = t;
|
|
@@ -18294,7 +18294,7 @@ function rk(t) {
|
|
|
18294
18294
|
return e && (i = xt.watch(
|
|
18295
18295
|
() => e.timeExtent,
|
|
18296
18296
|
() => {
|
|
18297
|
-
const { model: a } = t, o =
|
|
18297
|
+
const { model: a } = t, o = ft(a) ? a.config : a, n = W(o?.series);
|
|
18298
18298
|
(t.viewTimeExtentChangePolicy === Gd.Refresh || t.syncViewTimeExtent) && n !== y.HistogramSeries && t.refresh({ updateData: !0 });
|
|
18299
18299
|
}
|
|
18300
18300
|
)), i;
|
|
@@ -18309,7 +18309,7 @@ function lk(t) {
|
|
|
18309
18309
|
return e && "timeZone" in e && (o = xt.watch(
|
|
18310
18310
|
() => e.timeZone,
|
|
18311
18311
|
() => {
|
|
18312
|
-
const { model: n } = t, s =
|
|
18312
|
+
const { model: n } = t, s = ft(n) ? n.config : n;
|
|
18313
18313
|
qs({ syncViewTimeZone: i, syncViewTimeZoneInclusionList: a, chartConfig: s }) && (t.timeZone = e.timeZone, t.refresh({ updateData: !0 }));
|
|
18314
18314
|
}
|
|
18315
18315
|
)), o;
|
|
@@ -19056,7 +19056,7 @@ class Lk extends _m {
|
|
|
19056
19056
|
line: "--calcite-color-border-1",
|
|
19057
19057
|
secondaryLine: "--calcite-color-text-3",
|
|
19058
19058
|
spinner: "--calcite-color-brand-hover"
|
|
19059
|
-
}, this.allowUsingObjectIdStat = !1, this.nullAsValid = !1, this.zeroCountAsValid = !1, this.hideUIMessages = !1, this.showEmptySeries = !1, this.truncateLongTitles = !1, this.autoInverseDataLabelTextColor = !1, this.hideZeroCountCategories = !1, this.ignoreSmoothRenderingLimit = !1, this.returnSelectionIndexes = !1, this.returnFeaturesExtent = !1, this.filterBySelection = !1, this.filterByExtent = !1, this.filterByViewExtent = !1, this.disableInteractions = !1, this.interactionsDisabled = !1, this.skipChartCreationQueue = !1, this.useAnimatedCharts = !1, this.showLicenseWatermark = !1, this.enableResponsiveFeatures = !1, this.autoDisposeChart = !1, this.setTimeBinningInfoWhenNotProvided = !1, this.errorPolicy = $o.Throw, this.disableTogglingLegendItems = !1, this.legendInteractionsDisabled = !1, this.hideLoaderAnimation = !1, this.usePopupTemplateFieldsInfo = !1, this.syncViewTimeZoneInclusionList = [y.HeatSeries], this.syncViewTimeZone = !1, this.layerFilterChangePolicy = zd.Refresh, this.viewTimeExtentChangePolicy = Gd.Ignore, this.syncViewTimeExtent = !1, this.layerRendererChangePolicy = Hd.Refresh, this.layerFieldsChangePolicy = _d.Refresh, this.syncSelectionsBetweenChartAndLayerViewPolicy = Is.Disabled, this.syncViewSelection = !1, this.syncSelection = !1, this.syncChartsSelection = !1, this.ignoreViewExtent = !1, this.autoDestroyDisabled = !1, this.arcgisAxesMinMaxChange =
|
|
19059
|
+
}, this.allowUsingObjectIdStat = !1, this.nullAsValid = !1, this.zeroCountAsValid = !1, this.hideUIMessages = !1, this.showEmptySeries = !1, this.truncateLongTitles = !1, this.autoInverseDataLabelTextColor = !1, this.hideZeroCountCategories = !1, this.ignoreSmoothRenderingLimit = !1, this.returnSelectionIndexes = !1, this.returnFeaturesExtent = !1, this.filterBySelection = !1, this.filterByExtent = !1, this.filterByViewExtent = !1, this.disableInteractions = !1, this.interactionsDisabled = !1, this.skipChartCreationQueue = !1, this.useAnimatedCharts = !1, this.showLicenseWatermark = !1, this.enableResponsiveFeatures = !1, this.autoDisposeChart = !1, this.setTimeBinningInfoWhenNotProvided = !1, this.errorPolicy = $o.Throw, this.disableTogglingLegendItems = !1, this.legendInteractionsDisabled = !1, this.hideLoaderAnimation = !1, this.usePopupTemplateFieldsInfo = !1, this.syncViewTimeZoneInclusionList = [y.HeatSeries], this.syncViewTimeZone = !1, this.layerFilterChangePolicy = zd.Refresh, this.viewTimeExtentChangePolicy = Gd.Ignore, this.syncViewTimeExtent = !1, this.layerRendererChangePolicy = Hd.Refresh, this.layerFieldsChangePolicy = _d.Refresh, this.syncSelectionsBetweenChartAndLayerViewPolicy = Is.Disabled, this.syncViewSelection = !1, this.syncSelection = !1, this.syncChartsSelection = !1, this.ignoreViewExtent = !1, this.autoDestroyDisabled = !1, this.arcgisAxesMinMaxChange = ut(), this.arcgisBadDataWarningRaise = ut(), this.arcgisChartNotFoundWarning = ut(), this.arcgisConfigChange = ut(), this.arcgisDataFetchComplete = ut(), this.arcgisDataProcessComplete = ut(), this.arcgisDataProcessError = ut(), this.arcgisInvalidConfigWarningRaise = ut(), this.arcgisLegendItemVisibilityChange = ut(), this.arcgisNoRenderPropChange = ut(), this.arcgisRenderingComplete = ut(), this.arcgisRuntimeError = ut(), this.arcgisSelectionComplete = ut(), this.arcgisSeriesColorChange = ut(), this.arcgisSeriesOrder = ut(), this.arcgisUpdateComplete = ut(), this.listen("arcgisChartsJSLegendItemVisibilityChange", this._handleLegendItemVisibilityChanged), this.listen("arcgisChartsJSInvalidConfigWarningRaise", this._handleInvalidConfigWarningRaise), this.listen("arcgisChartsJSSeriesColorChange", this._handleSeriesColorsChange), this.listen("arcgisChartsJSSelectionComplete", this._handleSelection), this.listen("arcgisChartsJSTooManySelectedElements", this._handleTooManySelectedElements), this.listen("calciteAlertClose", this._handleAlertClosed), this.listen("arcgisChartsJSAxesMinMaxChange", this._handleAxesMinMaxChange), this.listen("arcgisChartsJSSeriesOrder", this._handleSeriesOrder), this.listen("arcgisChartsJSRenderingComplete", this._handleRenderingComplete), this._addConfigListeners(), this.listenOn(document, "arcgisSelectionComplete", this._handleExternalSelection);
|
|
19060
19060
|
}
|
|
19061
19061
|
static {
|
|
19062
19062
|
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, 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 };
|
|
@@ -19092,10 +19092,10 @@ class Lk extends _m {
|
|
|
19092
19092
|
}
|
|
19093
19093
|
get model() {
|
|
19094
19094
|
let e = this._model;
|
|
19095
|
-
return e || (
|
|
19095
|
+
return e || (ft(this.internalModel) ? e = this.internalModel : e = this.internalModel?.config), e;
|
|
19096
19096
|
}
|
|
19097
19097
|
set model(e) {
|
|
19098
|
-
this._model = e,
|
|
19098
|
+
this._model = e, ft(e) ? this.internalModel = e : this.internalModel instanceof vs ? this.internalModel.config = e : this.internalModel = new vs(e);
|
|
19099
19099
|
}
|
|
19100
19100
|
get rotation() {
|
|
19101
19101
|
return this._rotated;
|
|
@@ -19152,7 +19152,7 @@ class Lk extends _m {
|
|
|
19152
19152
|
};
|
|
19153
19153
|
if (this._sanitizedChartData) {
|
|
19154
19154
|
await this._loadQueryObject.taskComplete;
|
|
19155
|
-
const n = this.queryObject, s = n ? vt(n, this.usePopupTemplateFieldsInfo || this.popupTemplateFieldInfosEnabled) : void 0, r = this.internalModel?.config, l = Ug(this.getEffectiveTimeZone(r)), c = this._processedChartData ?? this._sanitizedChartData, u = await jg(it(n)), d = r?.chartRenderer ? qg(r.chartRenderer) : [], f = [.../* @__PURE__ */ new Set([...u, ...d])], g = ka(r, f), h =
|
|
19155
|
+
const n = this.queryObject, s = n ? vt(n, this.usePopupTemplateFieldsInfo || this.popupTemplateFieldInfosEnabled) : void 0, r = this.internalModel?.config, l = Ug(this.getEffectiveTimeZone(r)), c = this._processedChartData ?? this._sanitizedChartData, u = await jg(it(n)), d = r?.chartRenderer ? qg(r.chartRenderer) : [], f = [.../* @__PURE__ */ new Set([...u, ...d])], g = ka(r, f), h = ft(this.internalModel) ? this.internalModel?.titleText : this.internalModel?.config ? Hl(this.internalModel.config) : this._commonStrings.utilsStrings.chartType.chart;
|
|
19156
19156
|
if (Object.values(c).filter((p) => Array.isArray(p) && p.length > 0).length > 1) {
|
|
19157
19157
|
const p = new jm();
|
|
19158
19158
|
Object.entries(c).forEach(([C, x]) => {
|
|
@@ -19196,7 +19196,7 @@ class Lk extends _m {
|
|
|
19196
19196
|
async exportAsImage(e = Zg.PNG) {
|
|
19197
19197
|
const i = this._chartRef.value;
|
|
19198
19198
|
if (i) {
|
|
19199
|
-
const a = await Um(i, { scale: 2 }), n = `${
|
|
19199
|
+
const a = await Um(i, { scale: 2 }), n = `${ft(this.internalModel) ? this.internalModel.titleText : this.internalModel?.config ? Hl(this.internalModel.config) : this._commonStrings.utilsStrings.chartType.chart}.${e}`;
|
|
19200
19200
|
await a.download({ format: e, filename: n });
|
|
19201
19201
|
} else
|
|
19202
19202
|
this.notify(this._commonStrings?.errorStrings.errors.exportImageChartNotReady);
|
|
@@ -19329,7 +19329,7 @@ class Lk extends _m {
|
|
|
19329
19329
|
return this.enableBetaFeatures || e === y.ScatterSeries || e === y.HistogramSeries || e === y.RadarSeries || e === y.HeatSeries;
|
|
19330
19330
|
}
|
|
19331
19331
|
_handleNoRenderPropChange(e, i) {
|
|
19332
|
-
const a =
|
|
19332
|
+
const a = ft(this.internalModel) ? this.internalModel : void 0;
|
|
19333
19333
|
this.arcgisNoRenderPropChange.emit({
|
|
19334
19334
|
propName: e,
|
|
19335
19335
|
value: i,
|
|
@@ -19342,7 +19342,7 @@ class Lk extends _m {
|
|
|
19342
19342
|
if ((this.syncSelection || this.syncChartsSelection) && n && e.target !== this.el && (!mt(a.selectionOIDs, this.selectionData?.selectionOIDs) || !mt(a.selectionFilters, this.selectionData?.selectionFilters)))
|
|
19343
19343
|
if (a.selectionOIDs || a.selectionFilters?.[0]) {
|
|
19344
19344
|
this.selectionData = { ...a, selectionSource: ge.ProgrammaticSelection };
|
|
19345
|
-
const s =
|
|
19345
|
+
const s = ft(this.internalModel) ? this.internalModel : void 0;
|
|
19346
19346
|
this.arcgisSelectionComplete.emit({ selectionData: this.selectionData, model: s });
|
|
19347
19347
|
} else
|
|
19348
19348
|
this.clearSelection();
|
|
@@ -19354,7 +19354,7 @@ class Lk extends _m {
|
|
|
19354
19354
|
}
|
|
19355
19355
|
_configDataChangeError(e) {
|
|
19356
19356
|
const i = e, { error: a, model: o } = i.detail;
|
|
19357
|
-
(this.enableConfiguration || this.configurationEnabled) &&
|
|
19357
|
+
(this.enableConfiguration || this.configurationEnabled) && ft(this.internalModel) && o?.isSameChartAs(this.internalModel) && this.notify(a.message);
|
|
19358
19358
|
}
|
|
19359
19359
|
_modelConfigChange(e) {
|
|
19360
19360
|
const i = e, { config: a, setterName: o } = i.detail, n = this.internalModel?.recall();
|
|
@@ -19377,7 +19377,7 @@ class Lk extends _m {
|
|
|
19377
19377
|
const a = ke(this.internalModel?.config);
|
|
19378
19378
|
Jg(e, a), this.internalModel.config = a;
|
|
19379
19379
|
}
|
|
19380
|
-
const i =
|
|
19380
|
+
const i = ft(this.internalModel) ? this.internalModel : void 0;
|
|
19381
19381
|
this.arcgisLegendItemVisibilityChange.emit({ legendItemVisibility: e.detail, model: i });
|
|
19382
19382
|
}
|
|
19383
19383
|
_handleUpdateCompleted(e) {
|
|
@@ -19412,7 +19412,7 @@ class Lk extends _m {
|
|
|
19412
19412
|
this.arcgisInvalidConfigWarningRaise.emit(e.detail), this.notify(e.detail.message, e.detail.header);
|
|
19413
19413
|
}
|
|
19414
19414
|
_handleSeriesColorsChange(e) {
|
|
19415
|
-
const i =
|
|
19415
|
+
const i = ft(this.internalModel) ? this.internalModel : void 0;
|
|
19416
19416
|
this.arcgisSeriesColorChange.emit({
|
|
19417
19417
|
data: e.detail.data,
|
|
19418
19418
|
colorMatchApplied: e.detail.colorMatchApplied,
|
|
@@ -19430,7 +19430,7 @@ class Lk extends _m {
|
|
|
19430
19430
|
}
|
|
19431
19431
|
if (!mt({ ...a, SelectionSource: void 0 }, { ...this.selectionData, SelectionSource: void 0 })) {
|
|
19432
19432
|
this.selectionData = a;
|
|
19433
|
-
const n =
|
|
19433
|
+
const n = ft(this.internalModel) ? this.internalModel : void 0;
|
|
19434
19434
|
this.arcgisSelectionComplete.emit({ selectionData: a, model: n });
|
|
19435
19435
|
}
|
|
19436
19436
|
}
|
|
@@ -19446,7 +19446,7 @@ class Lk extends _m {
|
|
|
19446
19446
|
e.target === this.el && (this._notifyHeading = void 0, this.notifyMessage = void 0);
|
|
19447
19447
|
}
|
|
19448
19448
|
_handleAxesMinMaxChange(e) {
|
|
19449
|
-
const i =
|
|
19449
|
+
const i = ft(this.internalModel) ? this.internalModel : void 0;
|
|
19450
19450
|
this.arcgisAxesMinMaxChange.emit({ bounds: e.detail, model: i });
|
|
19451
19451
|
}
|
|
19452
19452
|
_handleSeriesOrder(e) {
|
|
@@ -19555,7 +19555,7 @@ class Lk extends _m {
|
|
|
19555
19555
|
});
|
|
19556
19556
|
}
|
|
19557
19557
|
_ourModelExistsIn(e) {
|
|
19558
|
-
return e.some((i) =>
|
|
19558
|
+
return e.some((i) => ft(this.internalModel) && this.internalModel?.isSameChartAs(i));
|
|
19559
19559
|
}
|
|
19560
19560
|
_gatherComponentGlobalOptions() {
|
|
19561
19561
|
return {
|
|
@@ -19756,7 +19756,7 @@ class Lk extends _m {
|
|
|
19756
19756
|
const a = nr({ data: e, seriesConfig: i.series });
|
|
19757
19757
|
if (a) {
|
|
19758
19758
|
this._sanitizedChartData = a;
|
|
19759
|
-
const o =
|
|
19759
|
+
const o = ft(this.internalModel) ? this.internalModel : void 0;
|
|
19760
19760
|
this.arcgisDataProcessComplete.emit({ chartData: a, model: o });
|
|
19761
19761
|
}
|
|
19762
19762
|
}
|