@arcgis/charts-components 5.2.0-next.104 → 5.2.0-next.106

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.
Files changed (114) hide show
  1. package/dist/cdn/{FHSOGQIM.js → 2BGHBNJR.js} +1 -1
  2. package/dist/cdn/2DW7DIXF.js +2 -0
  3. package/dist/cdn/{GW3DBKAB.js → 2LB76NS6.js} +4 -4
  4. package/dist/cdn/{WP4MTZZ4.js → 4INX2G3Q.js} +1 -1
  5. package/dist/cdn/4MUAQ5B5.js +2 -0
  6. package/dist/cdn/{RODCWBRR.js → 4OGNJHCC.js} +1 -1
  7. package/dist/cdn/56WSP7OU.js +2 -0
  8. package/dist/cdn/{NUPNG565.js → 5AG5HEJZ.js} +1 -1
  9. package/dist/cdn/{MA2W3LRP.js → 5XWDINLX.js} +1 -1
  10. package/dist/cdn/62QMWHS5.js +2 -0
  11. package/dist/cdn/6QSUWRYL.js +2 -0
  12. package/dist/cdn/{CUFMJAOH.js → 7WA5HGTF.js} +1 -1
  13. package/dist/cdn/{TLXWSOHC.js → AGBAER7I.js} +1 -1
  14. package/dist/cdn/{DIA75CKV.js → C5RPVPL3.js} +1 -1
  15. package/dist/cdn/DJSBCERV.js +2 -0
  16. package/dist/cdn/{BQIVBJC6.js → DPW6WDUS.js} +1 -1
  17. package/dist/cdn/{UUVUD77I.js → E2GZPXA7.js} +1 -1
  18. package/dist/cdn/{PKOUMDEH.js → EFLW5TIU.js} +1 -1
  19. package/dist/cdn/EGACYY5M.js +2 -0
  20. package/dist/cdn/EJD6DN4F.js +2 -0
  21. package/dist/cdn/{NVWUW2QZ.js → F2GL6TNL.js} +1 -1
  22. package/dist/cdn/{A32OUH5N.js → FY2QCHZI.js} +1 -1
  23. package/dist/cdn/{JIFGUAST.js → G5MSOPGH.js} +1 -1
  24. package/dist/cdn/{YNSSLWJT.js → GI7GNXRE.js} +1 -1
  25. package/dist/cdn/HE7XU44N.js +2 -0
  26. package/dist/cdn/{6IX32XNU.js → HJD7UOQ5.js} +1 -1
  27. package/dist/cdn/HLQ2CNM3.js +2 -0
  28. package/dist/cdn/{P72U7INS.js → HT5BW23V.js} +1 -1
  29. package/dist/cdn/{GTBMCBRY.js → JTZ3RZ4S.js} +1 -1
  30. package/dist/cdn/{O4PD2PGE.js → JWQRYKTY.js} +1 -1
  31. package/dist/cdn/{MJPN22Y4.js → JY6LCMBR.js} +1 -1
  32. package/dist/cdn/{ADHDTBG4.js → KMXRCG6Z.js} +1 -1
  33. package/dist/cdn/KRCT56OY.js +2 -0
  34. package/dist/cdn/{RCRWMQ26.js → KZBGGWMD.js} +1 -1
  35. package/dist/cdn/{6I4QCKNB.js → L4FZSJ6R.js} +1 -1
  36. package/dist/cdn/{2D4RIU3R.js → LTWZDHJW.js} +1 -1
  37. package/dist/cdn/MA3MMSOX.js +2 -0
  38. package/dist/cdn/MNXVSHZ7.js +2 -0
  39. package/dist/cdn/MQXTDYOZ.js +2 -0
  40. package/dist/cdn/{AR42YXOQ.js → OIJ2CF62.js} +1 -1
  41. package/dist/cdn/{5E4DFHD2.js → OVEDTDHX.js} +1 -1
  42. package/dist/cdn/OYFD6FQQ.js +2 -0
  43. package/dist/cdn/P4N6FLFI.js +2 -0
  44. package/dist/cdn/P5KPN2M7.js +2 -0
  45. package/dist/cdn/QAKREKNC.js +2 -0
  46. package/dist/cdn/{I2N7DZC6.js → QEG6Y27C.js} +1 -1
  47. package/dist/cdn/QJ5B6PUR.js +2 -0
  48. package/dist/cdn/RHN3QMSR.js +2 -0
  49. package/dist/cdn/{R6QBA2OM.js → TGPO6WYY.js} +1 -1
  50. package/dist/cdn/{KJRFPLJU.js → TIG4E3EM.js} +1 -1
  51. package/dist/cdn/U3BNFQQK.js +2 -0
  52. package/dist/cdn/{ZFDAOSJJ.js → UFFXRD7K.js} +1 -1
  53. package/dist/cdn/{2E6PIVZ3.js → UJDDDBXM.js} +1 -1
  54. package/dist/cdn/{4AV26VPX.js → V6OKA45H.js} +1 -1
  55. package/dist/cdn/VMVEEBUO.js +2 -0
  56. package/dist/cdn/{TFISDVHR.js → W4G4IP5B.js} +1 -1
  57. package/dist/cdn/{HFIBFLMU.js → WRISK5ZQ.js} +1 -1
  58. package/dist/cdn/{N66TGPHC.js → XCMVEVEM.js} +1 -1
  59. package/dist/cdn/XN5TYGE4.js +2 -0
  60. package/dist/cdn/{GNFP2CXI.js → ZTZYNW4S.js} +1 -1
  61. package/dist/cdn/{6P5RUNL4.js → ZXLDEDFO.js} +1 -1
  62. package/dist/cdn/ZYGG7EGH.js +2 -0
  63. package/dist/cdn/index.js +1 -1
  64. package/dist/cdn/model/shared/setup-utils.js +1 -1
  65. package/dist/chunks/bar-chart-model.js +1 -1
  66. package/dist/chunks/box-plot-model.js +1 -1
  67. package/dist/chunks/chart-model.js +1 -1
  68. package/dist/chunks/combo-bar-line-chart-model.js +8 -8
  69. package/dist/chunks/gauge-model.js +1 -1
  70. package/dist/chunks/generate-x-axis-title.js +17 -13
  71. package/dist/chunks/histogram-model.js +1 -1
  72. package/dist/chunks/line-chart-model.js +1 -1
  73. package/dist/chunks/model-with-x-guides.js +5 -5
  74. package/dist/chunks/model-with-y-guides.js +218 -223
  75. package/dist/chunks/pie-chart-model.js +13 -13
  76. package/dist/chunks/radar-chart-model.js +1 -1
  77. package/dist/chunks/scatterplot-model.js +11 -11
  78. package/dist/chunks/serial-chart-data.js +24 -24
  79. package/dist/chunks/serial-chart-model.js +1 -1
  80. package/dist/chunks/utils.js +81 -68
  81. package/dist/chunks/utils2.js +55 -38
  82. package/dist/chunks/x-bounds.js +13 -9
  83. package/dist/components/arcgis-chart/customElement.js +182 -175
  84. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +14 -14
  85. package/dist/docs/api.json +1 -1
  86. package/dist/docs/docs.json +1 -1
  87. package/dist/docs/web-types.json +1 -1
  88. package/dist/model/box-plot-model/box-plot-model.d.ts +2 -2
  89. package/dist/model/mixins/model-with-multi-axes.d.ts +14 -14
  90. package/package.json +4 -4
  91. package/dist/cdn/25IIAVUC.js +0 -2
  92. package/dist/cdn/3ZKNY2GI.js +0 -2
  93. package/dist/cdn/56YB7O3M.js +0 -2
  94. package/dist/cdn/AIAPONGU.js +0 -2
  95. package/dist/cdn/APB46III.js +0 -2
  96. package/dist/cdn/ASI3OTVS.js +0 -2
  97. package/dist/cdn/ASWFZXWR.js +0 -2
  98. package/dist/cdn/BPHPASCX.js +0 -2
  99. package/dist/cdn/C6YOQVOB.js +0 -2
  100. package/dist/cdn/DDPCQLH7.js +0 -2
  101. package/dist/cdn/E4NCL4M4.js +0 -2
  102. package/dist/cdn/GJCCH4ZB.js +0 -2
  103. package/dist/cdn/IEWOWYUS.js +0 -2
  104. package/dist/cdn/KZFSBW6I.js +0 -2
  105. package/dist/cdn/L4DH3UPO.js +0 -2
  106. package/dist/cdn/LROOQ7ZG.js +0 -2
  107. package/dist/cdn/MIIK4YRO.js +0 -2
  108. package/dist/cdn/R7ZATTXB.js +0 -2
  109. package/dist/cdn/T2PEASLR.js +0 -2
  110. package/dist/cdn/UDQWJ62J.js +0 -2
  111. package/dist/cdn/W5TZDZZJ.js +0 -2
  112. package/dist/cdn/WQ3R3KT4.js +0 -2
  113. package/dist/cdn/XCGSICB5.js +0 -2
  114. package/dist/cdn/ZM5TS7H5.js +0 -2
@@ -13,14 +13,14 @@ import { snapdom as Fm } from "@zumer/snapdom";
13
13
  import Am from "jszip";
14
14
  import { html as Ja, css as Tm } from "lit";
15
15
  import { createRef as km, ref as ol } from "lit/directives/ref.js";
16
- import { debounce as pt, cloneDeep as Ie, isEqual as gt, isEmpty as Ca } from "lodash-es";
16
+ import { debounce as pt, cloneDeep as Te, isEqual as gt, isEmpty as Ca } from "lodash-es";
17
17
  import { H as Nt } from "../../chunks/resources.js";
18
18
  import { XYChart as fe, PieChart as Re, AxisFill as Im, AxisFillCircular as Om, GaugeChart as kt, DateAxis as Be, ValueAxis as Fe, CategoryAxis as rt, CategoryAxisDataItem as Aa, DateAxisDataItem as dn, LineSeries as ve, ColumnSeries as lt, PieSeries as Et, XYCursor as kc, XYSeries as gi, SerialChart as Ps, Cursor as wm, AxisLabel as Vs, ColumnSeriesDataItem as Ws, LineSeriesDataItem as Na, CandlestickSeries as He, StepLineSeries as Ot, LegendDataItem as sa, Series as Ic, CandlestickSeriesDataItem as Rm, PieSeriesDataItem as hi, Legend as Dm, AxisRendererX as Ft, AxisRendererCircular as un, AxisLabelCircular as Es, ValueAxisDataItem as zs, AxisRendererY as Pa, ClockHand as $m, Chart as Oc } from "@amcharts/amcharts4/charts.js";
19
19
  import { Color as Eo, percent as ft, LinePattern as wc, RectPattern as Rc, color as fn, DateFormatter as Dc, NumberFormatter as $c, Group as Bm, MouseCursorStyle as Zt, Label as zo, DropShadowFilter as Mm, Sprite as Hs, utils as Bc, Tooltip as Mc, Container as Nm, RoundedRectangle as Pm, Percent as Ho, Slice as Vm, options as eo, useTheme as Wm, unuseTheme as Em, create as _s } from "@amcharts/amcharts4/core.js";
20
20
  import nl from "@amcharts/amcharts4/themes/animated.js";
21
21
  import { W as be, a as y, b as Jn, c as ae, S as Nc, d as jt, e as Ye, f as G, g as mn, h as Pc, i as sl, j as xa, k as rl, l as es, m as ll, n as va, o as zm } from "../../chunks/chart-object-literals.js";
22
22
  import { e as ho, i as ao, a as _o, b as Vc, m as Wc, c as gn, d as Ec, f as qt, h as zc, g as Hc, j as Gs, s as Xs, k as _c, l as Gc, n as Go, o as Hm, p as q, q as Qe, r as ra, t as vt, u as zt, v as Ys, w as ii, x as ts, y as La, A as ui, z as fi, B as ht, C as De, D as po, E as Va, F as pi, G as Us, H as ai, I as Ta, J as oi, K as Xc, L as St, M as js, N as Jt, O as xi, P as te, Q as pe, R as _m, S as hn, T as Ni, U as vi, V as Li, W as Pi, X as qs, Y as Wa, Z as Bt, _ as Zs, $ as Yc, a0 as Ks, a1 as Qs, a2 as Gt, a3 as oo, a4 as Js, a5 as Ea, a6 as Uc, a7 as jc, a8 as bi, a9 as qc, aa as Zc, ab as pn, ac as er, ad as bn, ae as tr, af as ir, ag as Kc, ah as Qc, ai as ar, aj as Jc, ak as cl, al as yn, am as ed, an as or, ao as nr, ap as Xo, aq as Gm, ar as td, as as id, at as to, au as Sn, av as ad, aw as od, ax as Xm, ay as Ym, az as Um, aA as jm, aB as nd, aC as sd, aD as qm, aE as Zm, aF as Km, aG as Cn, aH as F, aI as Qm, aJ as rd, aK as Jm, aL as eg, aM as ni, aN as tg, aO as ig, aP as no, aQ as Qi, aR as xn, aS as ag, aT as ld, aU as og, aV as ng, aW as sg, aX as is, aY as rg, aZ as lg, a_ as cd, a$ as cg, b0 as dg, b1 as ug, b2 as fg, b3 as mg, b4 as gg, b5 as hg, b6 as pg, b7 as bg, b8 as No, b9 as dl, ba as yg, bb as Sg, bc as Cg, bd as xg, be as as, bf as vg, bg as Oi, bh as Lg, bi as Fg, bj as Ag, bk as Tg, bl as kg, bm as Ig, bn as Og, bo as wg, bp as Rg, bq as Dg, br as ul, bs as $g, bt as Bg, bu as Mg, bv as Ng, bw as Pg, bx as Vg, by as Wg, bz as Eg } from "../../chunks/index.js";
23
- import { C as E, g as _i, a as P, b as $e, s as Ge, i as Le, c as vn, d as os, A as K, e as ot, f as at, S as me, n as dd, h as ud, j as Yo, k as Po, O as ke, l as fd, u as zg } from "../../chunks/index2.js";
23
+ import { C as E, g as _i, a as P, b as $e, s as Ge, i as Le, c as vn, d as os, A as K, e as ot, f as at, S as me, n as dd, h as ud, j as Yo, k as Po, O as Ie, l as fd, u as zg } from "../../chunks/index2.js";
24
24
  import "@amcharts/amcharts4/.internal/charts/axes/Axis.js";
25
25
  import { R as Xe, a as Ke, b as J, c as ns, d as Ln, e as Uo } from "../../chunks/rest-js-object-literals.js";
26
26
  import { g as aa, r as sr, f as bo, a as fl, p as Vt, b as ka, c as fs, d as Hg, e as _g, h as Gg, q as Di, i as Oe, j as rr, k as lr, l as cr, m as md, n as gd, o as dr, s as hd, t as Fn, u as pd, v as ur, w as Xg, x as Yg, y as Ug, z as bd, A as yd, B as jg, C as yo, D as qg, E as ml, F as Zg, G as Ia } from "../../chunks/index3.js";
@@ -28,7 +28,7 @@ import { i as ut, a as si } from "../../chunks/type-guards.js";
28
28
  import { g as W, a as Kg } from "../../chunks/series-types.js";
29
29
  import { isLight as Qg } from "@amcharts/amcharts4/.internal/core/utils/Colors.js";
30
30
  import { Scrollbar as gl } from "@amcharts/amcharts4/.internal/core/elements/Scrollbar.js";
31
- import { color as so, Series as Oa, percent as Je, LinePattern as Sd, RectanglePattern as Jg, p50 as Ae, p0 as Ee, p100 as Te, Graphics as wt, SerialChart as ro, Label as ct, Rectangle as wa, DateFormatter as eh, NumberFormatter as Cd, Bullet as Fi, Tooltip as Gi, Template as la, RoundedRectangle as ms, Slice as hl, time as th, Timezone as ih, DataItem as fr, Container as mi, Color as ah, HeatLegend as jo, LinearGradient as oh, Legend as xd, Scrollbar as gs, addLicense as nh, registry as sh, Root as rh } from "@amcharts/amcharts5";
31
+ import { color as so, Series as Oa, percent as Je, LinePattern as Sd, RectanglePattern as Jg, p50 as Ae, p0 as Ee, p100 as ke, Graphics as wt, SerialChart as ro, Label as ct, Rectangle as wa, DateFormatter as eh, NumberFormatter as Cd, Bullet as Fi, Tooltip as Gi, Template as la, RoundedRectangle as ms, Slice as hl, time as th, Timezone as ih, DataItem as fr, Container as mi, Color as ah, HeatLegend as jo, LinearGradient as oh, Legend as xd, Scrollbar as gs, addLicense as nh, registry as sh, Root as rh } from "@amcharts/amcharts5";
32
32
  import { PieSeries as Ze, PieChart as Qt } from "@amcharts/amcharts5/percent.js";
33
33
  import { RadarCursor as mr, AxisRendererCircular as ei, ClockHand as hs, RadarChart as Vi, AxisRendererRadial as lh, RadarLineSeries as gr } from "@amcharts/amcharts5/radar.js";
34
34
  import { AxisRendererY as yi, LineSeries as oe, ColumnSeries as Se, CategoryAxis as Pe, XYCursor as vd, XYChart as ye, CandlestickSeries as Ai, StepLineSeries as ca, XYSeries as hr, AxisRendererX as bt, DateAxis as Ve, ValueAxis as Ce, AxisBullet as ch, AxisLabel as pl } from "@amcharts/amcharts5/xy.js";
@@ -563,7 +563,7 @@ function up(t) {
563
563
  } = t, c = o ? {
564
564
  ...E.pieChart.sliceGrouping.fillSymbol,
565
565
  ...i.sliceGrouping?.fillSymbol
566
- } : Ie(n?.fillSymbol ?? i.fillSymbol), d = zt({
566
+ } : Te(n?.fillSymbol ?? i.fillSymbol), d = zt({
567
567
  dataItem: e,
568
568
  seriesConfig: i,
569
569
  chartSubType: l,
@@ -701,9 +701,9 @@ async function fp(t) {
701
701
  popupTemplateFieldInfosEnabled: d,
702
702
  utilsStrings: u
703
703
  } = t, { slices: f } = r ?? {}, g = W(n.series);
704
- let h = !1, b = n, p = Ie(r), S, C;
704
+ let h = !1, b = n, p = Te(r), S, C;
705
705
  if (c && (g === y.PieSeries || g === y.GaugeSeries)) {
706
- h = !0, b = Ie(n);
706
+ h = !0, b = Te(n);
707
707
  const x = Xs({
708
708
  data: a,
709
709
  seriesConfig: n.series
@@ -907,7 +907,7 @@ function Sr(t) {
907
907
  const s = e[E.pieChart.technicalFieldSliceId], r = i?.slices?.find(
908
908
  (l) => l.sliceId === s
909
909
  );
910
- o = Ie(r?.fillSymbol ?? a.fillSymbol ?? fs());
910
+ o = Te(r?.fillSymbol ?? a.fillSymbol ?? fs());
911
911
  }
912
912
  return o;
913
913
  }
@@ -8184,7 +8184,7 @@ function dx(t) {
8184
8184
  errorStrings: c,
8185
8185
  dataInfo: n
8186
8186
  });
8187
- return ie(f.uid, { config: Ie(i) }), Vu(f), Sb({ chart: f, queryObject: a, errorStrings: c }), Cb({ chart: f, queryObject: a, errorStrings: c }), { chart: f, chartElements: C };
8187
+ return ie(f.uid, { config: Te(i) }), Vu(f), Sb({ chart: f, queryObject: a, errorStrings: c }), Cb({ chart: f, queryObject: a, errorStrings: c }), { chart: f, chartElements: C };
8188
8188
  }
8189
8189
  function ux(t) {
8190
8190
  const {
@@ -8213,7 +8213,7 @@ function ux(t) {
8213
8213
  utilsStrings: l,
8214
8214
  errorStrings: r
8215
8215
  });
8216
- return ie(f.uid, { config: Ie(i), filterBySelection: d?.filterBySelection }), ax(f, a, r), { chart: f, chartElements: h };
8216
+ return ie(f.uid, { config: Te(i), filterBySelection: d?.filterBySelection }), ax(f, a, r), { chart: f, chartElements: h };
8217
8217
  }
8218
8218
  function fx(t) {
8219
8219
  const {
@@ -8240,7 +8240,7 @@ function fx(t) {
8240
8240
  utilsStrings: s,
8241
8241
  errorStrings: n
8242
8242
  });
8243
- return ie(d.uid, { config: Ie(i) }), Vu(d), e?.ownerDocument.addEventListener("visibilitychange", () => {
8243
+ return ie(d.uid, { config: Te(i) }), Vu(d), e?.ownerDocument.addEventListener("visibilitychange", () => {
8244
8244
  const S = e.ownerDocument.hidden;
8245
8245
  d && !S && oC(i?.axes?.[0]) && (d.svgContainer?.measure(), d.invalidateData());
8246
8246
  }), { chart: d, chartElements: p };
@@ -8259,7 +8259,7 @@ function mx(t) {
8259
8259
  utilsStrings: u,
8260
8260
  errorStrings: f
8261
8261
  } = t, { guideTooltipFormatter: g } = r ?? {}, h = $(i.uid, "config"), b = h?.series, p = e.series, S = W(p), C = Rt({ config: e });
8262
- ie(i.uid, { config: Ie(e), isRotated: C }), ie(i.uid, { filterBySelection: r?.filterBySelection }), Wn({ chart: i, actionMode: r?.actionMode, cursorRange: r?.cursorRange });
8262
+ ie(i.uid, { config: Te(e), isRotated: C }), ie(i.uid, { filterBySelection: r?.filterBySelection }), Wn({ chart: i, actionMode: r?.actionMode, cursorRange: r?.cursorRange });
8263
8263
  const { xOrYChanged: x, layerChanged: L } = n?.common ?? {};
8264
8264
  let { numberOfSeriesChanged: v } = n?.common ?? {};
8265
8265
  const T = ad(h, e), k = od(h, e), I = Xm(h, e), O = Ym(h, e), R = JSON.stringify(Yo(b)) !== JSON.stringify(Yo(p));
@@ -8374,7 +8374,7 @@ function gx(t) {
8374
8374
  utilsStrings: c,
8375
8375
  errorStrings: d
8376
8376
  } = t, u = $(e.uid, "config"), f = u?.series, g = o?.series, h = Sn({ oldConfig: u, newConfig: o, dataWasUpdated: a }), b = yr(f, g), { count: p, data: S, queryConfig: C } = l ?? {}, x = qt(S);
8377
- ie(e.uid, { filterBySelection: r?.filterBySelection, config: Ie(o) });
8377
+ ie(e.uid, { filterBySelection: r?.filterBySelection, config: Te(o) });
8378
8378
  const L = x !== void 0 && (e.data.length !== x.length || Md(e.data, x));
8379
8379
  L && (ie(e.uid, { elementCount: p, queryConfig: C }), e.data = x), (h || b) && e.validateData(), Gt({
8380
8380
  data: n,
@@ -8440,7 +8440,7 @@ function hx(t) {
8440
8440
  e.innerRadius = ft(S), e.startAngle = C, e.endAngle = x, Pn(i.headerElements, {
8441
8441
  title: a.title,
8442
8442
  subtitle: a.subtitle
8443
- }), Vn(i.footerElements, a.footer), Nn(e, a.background), ie(e.uid, { config: Ie(a) });
8443
+ }), Vn(i.footerElements, a.footer), Nn(e, a.background), ie(e.uid, { config: Te(a) });
8444
8444
  }
8445
8445
  function px(t) {
8446
8446
  const {
@@ -8919,7 +8919,7 @@ function _u(t, e) {
8919
8919
  let i = Ae;
8920
8920
  switch (t ?? e) {
8921
8921
  case "right":
8922
- i = Te;
8922
+ i = ke;
8923
8923
  break;
8924
8924
  case "left":
8925
8925
  i = Ee;
@@ -8934,7 +8934,7 @@ function Gu(t, e) {
8934
8934
  i = Ee;
8935
8935
  break;
8936
8936
  case "bottom":
8937
- i = Te;
8937
+ i = ke;
8938
8938
  break;
8939
8939
  }
8940
8940
  return i;
@@ -8943,7 +8943,7 @@ function Px(t) {
8943
8943
  const { angle: e, mappedHAlignment: i, mappedVAlignment: a, isGuideLabel: o } = t;
8944
8944
  let n = i, s = a, r = i;
8945
8945
  const l = a;
8946
- return (Math.abs(e) === 270 || Math.abs(e) === 90) && (o || (r = void 0, s = void 0), l === Ee ? n = Te : l === Te ? n = Ee : l === Ae && (n = Ae)), { align: n, valign: s, horizontalCenter: r, verticalCenter: l };
8946
+ return (Math.abs(e) === 270 || Math.abs(e) === 90) && (o || (r = void 0, s = void 0), l === Ee ? n = ke : l === ke ? n = Ee : l === Ae && (n = Ae)), { align: n, valign: s, horizontalCenter: r, verticalCenter: l };
8947
8947
  }
8948
8948
  function Wr(t) {
8949
8949
  const {
@@ -9651,7 +9651,7 @@ function Jx(t) {
9651
9651
  sprite: ct.new(e.root, {
9652
9652
  text: s ? "{valueX}" : "{valueY}",
9653
9653
  populateText: !0,
9654
- centerY: Te,
9654
+ centerY: ke,
9655
9655
  centerX: Ee,
9656
9656
  // remove padding so if they fit in the label, it shows
9657
9657
  paddingBottom: 0,
@@ -9865,7 +9865,7 @@ function av(t) {
9865
9865
  sprite: ct.new(e.root, {
9866
9866
  populateText: !0,
9867
9867
  oversizedBehavior: "hide",
9868
- centerY: Te,
9868
+ centerY: ke,
9869
9869
  centerX: Ae,
9870
9870
  paddingBottom: 0,
9871
9871
  paddingTop: 0,
@@ -10719,16 +10719,16 @@ function Hn(t) {
10719
10719
  function Iv(t) {
10720
10720
  let e = "";
10721
10721
  switch (t) {
10722
- case ke.Mean:
10722
+ case Ie.Mean:
10723
10723
  e = F.overlayId.histogramMean;
10724
10724
  break;
10725
- case ke.Median:
10725
+ case Ie.Median:
10726
10726
  e = F.overlayId.histogramMedian;
10727
10727
  break;
10728
- case ke.StdDev:
10728
+ case Ie.StdDev:
10729
10729
  e = F.overlayId.histogramStdDev;
10730
10730
  break;
10731
- case ke.Normal:
10731
+ case Ie.Normal:
10732
10732
  e = F.overlayId.histogramNormalDistribution;
10733
10733
  break;
10734
10734
  }
@@ -10769,7 +10769,7 @@ function Bo(t) {
10769
10769
  yAxis: a,
10770
10770
  visible: !1
10771
10771
  });
10772
- return o === ke.Normal && Ya(s, n.overlays.normal), _e(s.uid, { isOverlay: !0, type: o }), s.set("connect", !1), s.appear(), s;
10772
+ return o === Ie.Normal && Ya(s, n.overlays.normal), _e(s.uid, { isOverlay: !0, type: o }), s.set("connect", !1), s.appear(), s;
10773
10773
  }
10774
10774
  function Rv(t) {
10775
10775
  const { root: e, seriesConfig: i, xAxis: a, yAxis: o, options: n, chartConfig: s, queryObject: r, errorStrings: l } = t, { id: c, name: d } = i, u = Se.new(e, {
@@ -10782,7 +10782,7 @@ function Rv(t) {
10782
10782
  maskBullets: !1
10783
10783
  });
10784
10784
  return We(u.columns.template, n?.selectionTheme), ti({ element: u.columns.template, series: u, queryObject: r, errorStrings: l }), u.columns.template.setAll({
10785
- width: Te
10785
+ width: ke
10786
10786
  }), sf({
10787
10787
  series: u,
10788
10788
  seriesConfig: i,
@@ -10818,7 +10818,7 @@ function Dv(t) {
10818
10818
  root: e,
10819
10819
  xAxis: o,
10820
10820
  yAxis: n,
10821
- type: ke.Mean,
10821
+ type: Ie.Mean,
10822
10822
  utilsStrings: s
10823
10823
  })
10824
10824
  ), u.push(
@@ -10826,7 +10826,7 @@ function Dv(t) {
10826
10826
  root: e,
10827
10827
  xAxis: o,
10828
10828
  yAxis: n,
10829
- type: ke.Median,
10829
+ type: Ie.Median,
10830
10830
  utilsStrings: s
10831
10831
  })
10832
10832
  ), u.push(
@@ -10834,7 +10834,7 @@ function Dv(t) {
10834
10834
  root: e,
10835
10835
  xAxis: o,
10836
10836
  yAxis: n,
10837
- type: ke.StdDev,
10837
+ type: Ie.StdDev,
10838
10838
  utilsStrings: s
10839
10839
  })
10840
10840
  ), u.push(
@@ -10842,7 +10842,7 @@ function Dv(t) {
10842
10842
  root: e,
10843
10843
  xAxis: o,
10844
10844
  yAxis: n,
10845
- type: ke.Normal,
10845
+ type: Ie.Normal,
10846
10846
  utilsStrings: s
10847
10847
  })
10848
10848
  )), u;
@@ -10864,19 +10864,19 @@ function $v(t) {
10864
10864
  const f = a.bins.map((L) => L.count), g = Math.max(...f), { mean: h, stddev: b, median: p } = a, S = h - b, C = h + b;
10865
10865
  let x = [];
10866
10866
  switch (l) {
10867
- case ke.Mean:
10867
+ case Ie.Mean:
10868
10868
  x = [
10869
10869
  { x: h, y: 0 },
10870
10870
  { x: h, y: g }
10871
10871
  ];
10872
10872
  break;
10873
- case ke.Median:
10873
+ case Ie.Median:
10874
10874
  x = [
10875
10875
  { x: p, y: 0 },
10876
10876
  { x: p, y: g }
10877
10877
  ];
10878
10878
  break;
10879
- case ke.StdDev:
10879
+ case Ie.StdDev:
10880
10880
  x = [
10881
10881
  { x: S, y: 0 },
10882
10882
  { x: S, y: g },
@@ -10890,16 +10890,16 @@ function $v(t) {
10890
10890
  e.data.setAll(x);
10891
10891
  }
10892
10892
  let u = e.data.getIndex(0)?.x;
10893
- if (l === ke.StdDev && (u = a?.stddev ?? ne(e.uid, "stddev"), _e(e.uid, { stddev: u })), typeof u == "number") {
10893
+ if (l === Ie.StdDev && (u = a?.stddev ?? ne(e.uid, "stddev"), _e(e.uid, { stddev: u })), typeof u == "number") {
10894
10894
  let f = l;
10895
10895
  switch (l) {
10896
- case ke.Mean:
10896
+ case Ie.Mean:
10897
10897
  f = o.overlays.mean;
10898
10898
  break;
10899
- case ke.Median:
10899
+ case Ie.Median:
10900
10900
  f = o.overlays.median;
10901
10901
  break;
10902
- case ke.StdDev:
10902
+ case Ie.StdDev:
10903
10903
  f = o.overlays.stdDev;
10904
10904
  break;
10905
10905
  }
@@ -10920,7 +10920,7 @@ function Bv(t) {
10920
10920
  else {
10921
10921
  const { symbol: n, created: s, visible: r } = i, l = n ?? { type: J.SLS }, c = s === !0 && r !== !1;
10922
10922
  if (se(e, c), i?.symbol?.color === void 0 && (l.color = aa({
10923
- colorIndex: fd(ke.Normal),
10923
+ colorIndex: fd(Ie.Normal),
10924
10924
  histogramOverlays: !0
10925
10925
  })), Kt({
10926
10926
  element: e,
@@ -10977,7 +10977,7 @@ function Nv(t) {
10977
10977
  const f = e[u];
10978
10978
  if (f instanceof oe && ne(f.uid, "isOverlay")) {
10979
10979
  const g = ne(f.uid, "type");
10980
- if (g === ke.Normal)
10980
+ if (g === Ie.Normal)
10981
10981
  Bv({
10982
10982
  lineSeries: f,
10983
10983
  overlayConfig: i.overlays?.comparisonDistribution,
@@ -10986,13 +10986,13 @@ function Nv(t) {
10986
10986
  else {
10987
10987
  let h;
10988
10988
  switch (g) {
10989
- case ke.Mean:
10989
+ case Ie.Mean:
10990
10990
  h = i.overlays?.mean;
10991
10991
  break;
10992
- case ke.Median:
10992
+ case Ie.Median:
10993
10993
  h = i.overlays?.median;
10994
10994
  break;
10995
- case ke.StdDev:
10995
+ case Ie.StdDev:
10996
10996
  h = i.overlays?.standardDeviation;
10997
10997
  break;
10998
10998
  }
@@ -11081,7 +11081,7 @@ function Wv(t) {
11081
11081
  // ensure the trend line is above the markers
11082
11082
  });
11083
11083
  return r.set("id", F.overlayId.scatterplotTrendLine), _e(r.uid, {
11084
- type: ke.Trendline
11084
+ type: Ie.Trendline
11085
11085
  }), r;
11086
11086
  }
11087
11087
  function Ev(t) {
@@ -12973,7 +12973,7 @@ function qL(t) {
12973
12973
  const e = t.get("renderer").labels.template;
12974
12974
  e.adapters.add("rotation", (i, a) => {
12975
12975
  const o = Tt(a.uid, "isGuide") !== !0 ? zi(t.uid, "rotation") ?? 0 : i ?? 0;
12976
- return e.set("centerX", o === 0 ? Ae : Te), o;
12976
+ return e.set("centerX", o === 0 ? Ae : ke), o;
12977
12977
  });
12978
12978
  }
12979
12979
  function cs(t) {
@@ -12993,7 +12993,7 @@ function cs(t) {
12993
12993
  const l = r ? F.axisLabel.rotation : F.rotatedAxisLabel.rotation;
12994
12994
  e.labels.template.setAll({
12995
12995
  rotation: l,
12996
- centerX: r ? Ae : Te,
12996
+ centerX: r ? Ae : ke,
12997
12997
  centerY: Ee,
12998
12998
  paddingTop: r ? F.axisLabel.paddingTop : F.rotatedAxisLabel.paddingTop,
12999
12999
  paddingLeft: r ? F.axisLabel.paddingLeft : F.rotatedAxisLabel.paddingLeft,
@@ -13955,7 +13955,7 @@ function N0(t) {
13955
13955
  sprite: ct.new(e.root, {
13956
13956
  text: "{value}",
13957
13957
  populateText: !0,
13958
- centerY: Te,
13958
+ centerY: ke,
13959
13959
  centerX: Ee,
13960
13960
  // remove padding so if they fit in the label, it shows
13961
13961
  paddingBottom: 0,
@@ -14022,8 +14022,8 @@ function V0(t) {
14022
14022
  tooltipText: `x: {${Oe.xField}}
14023
14023
  y: {${Oe.yField}}
14024
14024
  Value: {${Oe.valueField}}`,
14025
- width: Te,
14026
- height: Te
14025
+ width: ke,
14026
+ height: ke
14027
14027
  }), l.columns.template.adapters.add(
14028
14028
  "cursorOverStyle",
14029
14029
  (c, d) => d.dataItem?.dataContext?.[yo] ? "auto" : c
@@ -14046,14 +14046,14 @@ function E0(t) {
14046
14046
  if (n === va.Renderer) {
14047
14047
  const B = I?.[E.rendererSymbolField];
14048
14048
  if (ao(B)) {
14049
- D = Ie(B);
14049
+ D = Te(B);
14050
14050
  const { outlineSymbol: V } = cn(s);
14051
14051
  D.outline = V;
14052
14052
  } else
14053
14053
  M = !0;
14054
14054
  }
14055
14055
  if ((!Number.isFinite(k) || M) && r) {
14056
- D = Ie(r);
14056
+ D = Te(r);
14057
14057
  const { outlineSymbol: B } = cn(s);
14058
14058
  D.outline = B;
14059
14059
  }
@@ -14302,7 +14302,7 @@ function Uf(t) {
14302
14302
  const u = r === G.Left || r === G.Top, f = re({ childId: Ut, parent: a }), g = n?.legend ? n.legend.visible ?? !0 : !1, h = n?.legend?.title ? n.legend.title.visible ?? !0 : !1, b = f instanceof ct && g && h ? f.height() > 0 ? f.height() : s.titleHeight : 0, p = r === G.Left || r === G.Right;
14303
14303
  switch (i.setAll({
14304
14304
  orientation: p ? "vertical" : "horizontal",
14305
- width: Te
14305
+ width: ke
14306
14306
  }), r) {
14307
14307
  case G.Left:
14308
14308
  a.setAll({
@@ -14326,7 +14326,7 @@ function Uf(t) {
14326
14326
  layout: o.verticalLayout,
14327
14327
  paddingBottom: s.legendPadding,
14328
14328
  paddingTop: s.legendPadding,
14329
- width: Te
14329
+ width: ke
14330
14330
  }), l = e.topAxesContainer;
14331
14331
  break;
14332
14332
  case G.Bottom:
@@ -14334,7 +14334,7 @@ function Uf(t) {
14334
14334
  c = s.chartPadding, a.setAll({
14335
14335
  layout: o.verticalLayout,
14336
14336
  paddingTop: s.legendPadding,
14337
- width: Te
14337
+ width: ke
14338
14338
  }), e.bottomAxesContainer.setAll({
14339
14339
  paddingBottom: s.legendPadding + b
14340
14340
  });
@@ -14560,7 +14560,7 @@ function q0(t, e) {
14560
14560
  function $s(t) {
14561
14561
  const { legend: e, chart: i, legendContainer: a } = t, o = w(i.uid, "config"), n = F.heatChart.legend, s = o?.legend?.position ?? n.position;
14562
14562
  if (s === G.Left || s === G.Right)
14563
- e.set("height", Te), a.set("height", Te), Jf({ legendContainer: a, chart: i });
14563
+ e.set("height", ke), a.set("height", ke), Jf({ legendContainer: a, chart: i });
14564
14564
  else {
14565
14565
  const r = re({ childId: Ut, parent: a }), l = o?.legend ? o.legend.visible ?? !0 : !1, c = o?.legend?.title ? o.legend.title.visible ?? !0 : !1, d = r instanceof ct && l && c ? r.height() > 0 ? r.height() : n.titleHeight + n.titlePadding : 0, u = s === G.Top ? n.topHeight : n.bottomHeight;
14566
14566
  e.set("height", u), a.set("height", u + d + 20);
@@ -14841,16 +14841,16 @@ function cF(t) {
14841
14841
  const u = a.series[0].type === y.HistogramSeries ? a.series[0].overlays : void 0, f = ne(c.uid, "type");
14842
14842
  let g;
14843
14843
  switch (f) {
14844
- case ke.Mean:
14844
+ case Ie.Mean:
14845
14845
  g = u?.mean?.created;
14846
14846
  break;
14847
- case ke.Median:
14847
+ case Ie.Median:
14848
14848
  g = u?.median?.created;
14849
14849
  break;
14850
- case ke.Normal:
14850
+ case Ie.Normal:
14851
14851
  g = u?.comparisonDistribution?.created;
14852
14852
  break;
14853
- case ke.StdDev:
14853
+ case Ie.StdDev:
14854
14854
  g = u?.standardDeviation?.created;
14855
14855
  break;
14856
14856
  }
@@ -14953,16 +14953,16 @@ function Ji(t, e) {
14953
14953
  let U = 0, ee = 0, ge = c && !s ? F.chartContainer.paddingTop ?? 0 : 0, he = 0, Me, Ct;
14954
14954
  switch (k) {
14955
14955
  case G.Left:
14956
- M = i.verticalLayout, B = Ee, z = Ee, V = Ee, _ = Ee, j = void 0, R = Ee, D = Ee, U = a.width(), H = p + C, Y < t.seriesContainer.height() && (H += t.seriesContainer.height() / 2 - Y / 2), e.setPrivate("width", void 0), I = yc(e), O?.width() !== void 0 && I && O.isVisible() && (I += O.width() + F.scrollbarPadding), n && (Me = Te, Ct = I);
14956
+ M = i.verticalLayout, B = Ee, z = Ee, V = Ee, _ = Ee, j = void 0, R = Ee, D = Ee, U = a.width(), H = p + C, Y < t.seriesContainer.height() && (H += t.seriesContainer.height() / 2 - Y / 2), e.setPrivate("width", void 0), I = yc(e), O?.width() !== void 0 && I && O.isVisible() && (I += O.width() + F.scrollbarPadding), n && (Me = ke, Ct = I);
14957
14957
  break;
14958
14958
  case G.Right:
14959
- M = i.verticalLayout, B = Te, z = Te, V = Ee, _ = Ee, j = void 0, R = Ee, D = Ee, ee = a.width(), H = p + C, Y < t.seriesContainer.height() && (H += t.seriesContainer.height() / 2 - Y / 2), e.setPrivate("width", void 0), I = yc(e), O?.width() !== void 0 && I && O.isVisible() && (I += O.width() + F.scrollbarPadding), n && (Me = Te, Ct = I);
14959
+ M = i.verticalLayout, B = ke, z = ke, V = Ee, _ = Ee, j = void 0, R = Ee, D = Ee, ee = a.width(), H = p + C, Y < t.seriesContainer.height() && (H += t.seriesContainer.height() / 2 - Y / 2), e.setPrivate("width", void 0), I = yc(e), O?.width() !== void 0 && I && O.isVisible() && (I += O.width() + F.scrollbarPadding), n && (Me = ke, Ct = I);
14960
14960
  break;
14961
14961
  case G.Top:
14962
- M = i.gridLayout, B = Ae, z = Ae, V = Ee, _ = Ee, j = Te, R = Ae, D = Ae, ge += Y, H += p + C, I = void 0, n && (Me = void 0);
14962
+ M = i.gridLayout, B = Ae, z = Ae, V = Ee, _ = Ee, j = ke, R = Ae, D = Ae, ge += Y, H += p + C, I = void 0, n && (Me = void 0);
14963
14963
  break;
14964
14964
  case G.Bottom:
14965
- M = i.gridLayout, B = Ae, z = Ae, V = Te, _ = Te, j = Te, R = Ae, D = Ae, he = Y, H = -he - L, I = void 0, n && (Me = void 0);
14965
+ M = i.gridLayout, B = Ae, z = Ae, V = ke, _ = ke, j = ke, R = Ae, D = Ae, he = Y, H = -he - L, I = void 0, n && (Me = void 0);
14966
14966
  break;
14967
14967
  }
14968
14968
  if (s && c && (r === y.LineSeries || r === y.ComboLineAndBarSeries || r === y.BarSeries && l === ae.Side)) {
@@ -16290,7 +16290,7 @@ function fm(t) {
16290
16290
  lineSymbol: b,
16291
16291
  markerSymbol: p
16292
16292
  }), c.size === o && (Gt({
16293
- data: Ie(c),
16293
+ data: Te(c),
16294
16294
  htmlContainer: f.dom,
16295
16295
  chartId: e.chart?.get("id"),
16296
16296
  colorMatchApplied: ja(u)
@@ -16571,7 +16571,7 @@ function LA(t) {
16571
16571
  radius: void 0,
16572
16572
  baseRadius: Je(60),
16573
16573
  textType: "regular"
16574
- }) : !s && !c && !l && (e.labels.template.setAll({ baseRadius: Te, textType: "adjusted" }), n !== void 0 && Number.isFinite(n) && d !== n && e.labels.template.set("radius", n));
16574
+ }) : !s && !c && !l && (e.labels.template.setAll({ baseRadius: ke, textType: "adjusted" }), n !== void 0 && Number.isFinite(n) && d !== n && e.labels.template.set("radius", n));
16575
16575
  }
16576
16576
  let us;
16577
16577
  function FA(t, e) {
@@ -17467,7 +17467,7 @@ function KA(t) {
17467
17467
  v ??= o, Lt(e.uid, { queryObject: h });
17468
17468
  const T = q(o.series), k = ot(o);
17469
17469
  Lt(e.uid, {
17470
- config: Ie(o),
17470
+ config: Te(o),
17471
17471
  options: n,
17472
17472
  isNonAggregatedChart: !Cn(T),
17473
17473
  isRotated: k,
@@ -17757,7 +17757,7 @@ class tT extends EventTarget {
17757
17757
  return this._config;
17758
17758
  }
17759
17759
  set config(e) {
17760
- this._config = e, this._revision += 1, this._configHistory.push(Ie(this._config)), this._configHistory.length > xh && this._configHistory.shift(), this.dispatchEvent(
17760
+ this._config = e, this._revision += 1, this._configHistory.push(Te(this._config)), this._configHistory.length > xh && this._configHistory.shift(), this.dispatchEvent(
17761
17761
  new CustomEvent("arcgisChartsModelConfigChange", {
17762
17762
  detail: { config: this._config, setterName: "config" }
17763
17763
  })
@@ -17897,7 +17897,7 @@ function fT(t) {
17897
17897
  });
17898
17898
  }
17899
17899
  function mT(t, e) {
17900
- const i = Ie(t), a = {
17900
+ const i = Te(t), a = {
17901
17901
  config: i,
17902
17902
  themeColors: e
17903
17903
  };
@@ -18942,7 +18942,7 @@ class OT extends Cm {
18942
18942
  }
18943
18943
  _handleLegendItemVisibilityChanged(e) {
18944
18944
  if (this.internalModel) {
18945
- const a = Ie(this.internalModel?.config);
18945
+ const a = Te(this.internalModel?.config);
18946
18946
  zg(e, a), this.internalModel.config = a;
18947
18947
  }
18948
18948
  const i = nt(this.internalModel) ? this.internalModel : void 0;
@@ -18988,7 +18988,7 @@ class OT extends Cm {
18988
18988
  const i = { ...e.detail };
18989
18989
  this._unsanitizedSelectionItems = i.selectionItems;
18990
18990
  const a = { ...i };
18991
- let o = Ie(i.selectionItems);
18991
+ let o = Te(i.selectionItems);
18992
18992
  if (o) {
18993
18993
  const n = this.internalModel?.config;
18994
18994
  o = wg(o, n?.series), o = o.map(Rg), o = Dg(o, n?.series), a.selectionItems = o;
@@ -19037,26 +19037,26 @@ class OT extends Cm {
19037
19037
  }
19038
19038
  _rotatedChange(e) {
19039
19039
  if (e !== void 0 && this.internalModel) {
19040
- const i = Th(e, Ie(this.internalModel.config));
19040
+ const i = Th(e, Te(this.internalModel.config));
19041
19041
  this.internalModel.config = i;
19042
19042
  }
19043
19043
  }
19044
19044
  _legendPositionChange(e) {
19045
19045
  if (e !== void 0 && this.internalModel) {
19046
- const i = kh(e, Ie(this.internalModel.config));
19046
+ const i = kh(e, Te(this.internalModel.config));
19047
19047
  this.internalModel.config = i;
19048
19048
  }
19049
19049
  }
19050
19050
  _legendVisibilityChange(e) {
19051
19051
  if (e !== void 0 && this.internalModel) {
19052
- const i = Ih(e, Ie(this.internalModel.config));
19052
+ const i = Ih(e, Te(this.internalModel.config));
19053
19053
  this.internalModel.config = i;
19054
19054
  }
19055
19055
  }
19056
19056
  _filterBySelectionChanged() {
19057
19057
  if (this.internalModel) {
19058
19058
  this.setTimeBinningInfoWhenNotProvided && Al(this.internalModel) && this.internalModel.resetTimeInterval();
19059
- const e = Oh(Ie(this.internalModel.config));
19059
+ const e = Oh(Te(this.internalModel.config));
19060
19060
  this.internalModel.config = e;
19061
19061
  }
19062
19062
  }
@@ -19205,6 +19205,7 @@ class OT extends Cm {
19205
19205
  setTimeBinningInfoWhenNotProvided: this.setTimeBinningInfoWhenNotProvided,
19206
19206
  returnSelectionOIDs: ut(this.loadedLayer) ? !1 : this.returnSelectionOIDs,
19207
19207
  returnSelectionIndexes: this.returnSelectionIndexes,
19208
+ returnFeaturesExtent: this.returnFeaturesExtent,
19208
19209
  hideEmptySeries: this.hideEmptySeries,
19209
19210
  autoInverseDataLabelTextColor: this.autoInverseDataLabelTextColor,
19210
19211
  replaceNoValueCategoryWithZero: this.replaceNoValueCategoryWithZero,
@@ -19214,7 +19215,8 @@ class OT extends Cm {
19214
19215
  // the properties below have been renamed in 5.1 To simplify the logic on the rendering side, only the new properties are set
19215
19216
  interactionsDisabled: this.interactionsDisabled || this.disableInteractions,
19216
19217
  legendInteractionsDisabled: this.legendInteractionsDisabled || this.togglingLegendItemsDisabled || this.disableTogglingLegendItems,
19217
- popupTemplateFieldInfosEnabled: this.usePopupTemplateFieldsInfo || this.popupTemplateFieldInfosEnabled
19218
+ popupTemplateFieldInfosEnabled: this.usePopupTemplateFieldsInfo || this.popupTemplateFieldInfosEnabled,
19219
+ showEmptySeries: this.showEmptySeries ?? this.hideEmptySeries === !1
19218
19220
  };
19219
19221
  }
19220
19222
  _raiseLogScaleNotCompatibleWarning(e, i) {
@@ -19304,7 +19306,7 @@ class OT extends Cm {
19304
19306
  _notifyDataFetchComplete(e) {
19305
19307
  const i = this.internalModel?.config;
19306
19308
  if (e && "dataItems" in e && i && W(i?.series) === y.PieSeries) {
19307
- const a = Ie(e);
19309
+ const a = Te(e);
19308
19310
  a.dataItems = Lp(a.dataItems, i), this.arcgisDataFetchComplete.emit(a);
19309
19311
  }
19310
19312
  }
@@ -19367,124 +19369,129 @@ class OT extends Cm {
19367
19369
  b = b || C;
19368
19370
  }
19369
19371
  let p;
19370
- const S = Ie(d);
19372
+ const S = Te(d);
19371
19373
  if ({ filteredConfig: d, seriesFilteredOut: p } = wh({
19372
19374
  showEmptySeries: this.showEmptySeries ?? this.hideEmptySeries === !1,
19373
19375
  config: d,
19374
19376
  data: h?.data
19375
- }), this._getData.status === al.COMPLETE && !this._raiseNoDataWarning({ dataInfo: h, config: d, queryObject: a }) && this._raiseLogScaleNotCompatibleWarning(a, h)) {
19376
- const L = Sn({
19377
- oldConfig: p ? S : u,
19378
- newConfig: d,
19379
- dataWasUpdated: b
19380
- });
19381
- L && Eg({
19382
- alteredConfig: d,
19383
- dataInfo: h,
19384
- fieldList: n,
19385
- options: o,
19386
- queryObject: a
19387
- }), Gs(u, d) && (b = !0);
19388
- const T = Pi(d) ? d.showMean : void 0, k = h?.data ?? this._sanitizedChartData, I = k && T && "meanLines" in k ? k.meanLines : qt(k);
19389
- I && (i || b) && ({ colorMatchApplied: this._colorMatchApplied, rendererFieldNames: this._rendererFieldNames } = await _c({
19390
- data: I,
19391
- queryObject: a,
19392
- chartConfig: d,
19393
- allowColorMatch: Gc({ chartConfig: d, queryObject: a })
19394
- })), this._calciteThemeColors && (d = mT(d, this._calciteThemeColors), this._calciteThemeApplied = il(this.el));
19395
- let O = !1, R;
19396
- if (d.series[0].type === y.PieSeries) {
19397
- const M = qt(this._processedChartData), B = qt(h.data);
19398
- O = Md(M, B), R = Bd({
19377
+ }), this._getData.status === al.COMPLETE) {
19378
+ const C = this._raiseNoDataWarning({ dataInfo: h, config: d, queryObject: a });
19379
+ if (C)
19380
+ this._processedChartData = Te(h.data);
19381
+ else if (!C && this._raiseLogScaleNotCompatibleWarning(a, h)) {
19382
+ const L = Sn({
19383
+ oldConfig: p ? S : u,
19384
+ newConfig: d,
19385
+ dataWasUpdated: b
19386
+ });
19387
+ L && Eg({
19388
+ alteredConfig: d,
19389
+ dataInfo: h,
19390
+ fieldList: n,
19391
+ options: o,
19392
+ queryObject: a
19393
+ }), Gs(u, d) && (b = !0);
19394
+ const T = Pi(d) ? d.showMean : void 0, k = h?.data ?? this._sanitizedChartData, I = k && T && "meanLines" in k ? k.meanLines : qt(k);
19395
+ I && (i || b) && ({ colorMatchApplied: this._colorMatchApplied, rendererFieldNames: this._rendererFieldNames } = await _c({
19396
+ data: I,
19397
+ queryObject: a,
19398
+ chartConfig: d,
19399
+ allowColorMatch: Gc({ chartConfig: d, queryObject: a })
19400
+ })), this._calciteThemeColors && (d = mT(d, this._calciteThemeColors), this._calciteThemeApplied = il(this.el));
19401
+ let O = !1, R;
19402
+ if (d.series[0].type === y.PieSeries) {
19403
+ const M = qt(this._processedChartData), B = qt(h.data);
19404
+ O = Md(M, B), R = Bd({
19405
+ creation: i,
19406
+ dataInfo: h,
19407
+ pieChartDataActuallyChanged: O,
19408
+ chartConfig: d,
19409
+ previousConfig: u,
19410
+ queryObject: a,
19411
+ popupTemplateFieldInfosEnabled: this.usePopupTemplateFieldsInfo || this.popupTemplateFieldInfosEnabled,
19412
+ utilsStrings: this._commonStrings.utilsStrings
19413
+ });
19414
+ }
19415
+ const D = await fp({
19399
19416
  creation: i,
19400
19417
  dataInfo: h,
19401
19418
  pieChartDataActuallyChanged: O,
19402
19419
  chartConfig: d,
19403
19420
  previousConfig: u,
19421
+ pieSlicesSymbols: R,
19404
19422
  queryObject: a,
19405
- popupTemplateFieldInfosEnabled: this.usePopupTemplateFieldsInfo || this.popupTemplateFieldInfosEnabled,
19406
- utilsStrings: this._commonStrings.utilsStrings
19423
+ chartWillRenderCallback: this.chartWillRender,
19424
+ popupTemplateFieldInfosEnabled: this.popupTemplateFieldInfosEnabled,
19425
+ utilsStrings: this._commonStrings?.utilsStrings
19407
19426
  });
19408
- }
19409
- const D = await fp({
19410
- creation: i,
19411
- dataInfo: h,
19412
- pieChartDataActuallyChanged: O,
19413
- chartConfig: d,
19414
- previousConfig: u,
19415
- pieSlicesSymbols: R,
19416
- queryObject: a,
19417
- chartWillRenderCallback: this.chartWillRender,
19418
- popupTemplateFieldInfosEnabled: this.popupTemplateFieldInfosEnabled,
19419
- utilsStrings: this._commonStrings?.utilsStrings
19420
- });
19421
- if (D?.changesApplied && (f = await Vh({
19422
- input: D?.alteredConfig,
19423
- queryObject: a,
19424
- allowUsingObjectIdStat: this.allowUsingObjectIdStat,
19425
- errorStrings: this._commonStrings?.errorStrings
19426
- }), f.valid && (d = D.alteredConfig, R = D.alteredPieSlicesSymbols, this._colorMatchApplied = D.colorMatchApplied, this._rendererFieldNames = D.rendererFieldNames)), d.series[0]?.type === y.PieSeries && h.data && "dataItems" in h.data && Ap({
19427
- data: h.data.dataItems,
19428
- newChartConfig: d,
19429
- pieSlicesSymbols: R,
19430
- fieldList: n
19431
- }), this._processedChartData = Ie(h.data), !f.valid)
19432
- this._processInvalidConfigStatus(f, d);
19433
- else {
19434
- (l || L) && (this._notifyDataProcessComplete(h.data), this._notifyDataFetchComplete(h.data)), await this._completeChartOptionsWithSelectionInfo({
19435
- options: o,
19436
- alteredConfig: d,
19427
+ if (D?.changesApplied && (f = await Vh({
19428
+ input: D?.alteredConfig,
19437
19429
  queryObject: a,
19438
- dataUpdateNeeded: l,
19439
- dataUpdateDetails: r
19440
- }), this._hideInfoModal();
19441
- const { t9nLocale: M } = ia(this._chartRef.value ?? document.documentElement), B = await Tc(M, this._useAmCharts5());
19442
- No(d) && pp({
19443
- chartConfig: d,
19444
- chartData: h.data
19445
- });
19446
- const z = {
19447
- ...{
19448
- chartConfig: d,
19430
+ allowUsingObjectIdStat: this.allowUsingObjectIdStat,
19431
+ errorStrings: this._commonStrings?.errorStrings
19432
+ }), f.valid && (d = D.alteredConfig, R = D.alteredPieSlicesSymbols, this._colorMatchApplied = D.colorMatchApplied, this._rendererFieldNames = D.rendererFieldNames)), d.series[0]?.type === y.PieSeries && h.data && "dataItems" in h.data && Ap({
19433
+ data: h.data.dataItems,
19434
+ newChartConfig: d,
19435
+ pieSlicesSymbols: R,
19436
+ fieldList: n
19437
+ }), this._processedChartData = Te(h.data), !f.valid)
19438
+ this._processInvalidConfigStatus(f, d);
19439
+ else {
19440
+ (l || L) && (this._notifyDataProcessComplete(h.data), this._notifyDataFetchComplete(h.data)), await this._completeChartOptionsWithSelectionInfo({
19449
19441
  options: o,
19450
- globalOptions: this._gatherComponentGlobalOptions(),
19451
- dataUpdateDetails: r,
19452
- configWithAllSeries: S,
19453
- dataWasUpdated: b,
19454
- chartContainer: this._chartRef.value,
19442
+ alteredConfig: d,
19455
19443
  queryObject: a,
19456
- dataInfo: h,
19457
- colorMatchApplied: this._colorMatchApplied,
19458
- rendererFieldNames: this._rendererFieldNames,
19459
- pieSlicesSymbols: R,
19460
- hasSeriesFilteredOut: p,
19461
- uniqueInternalID: this.el.id,
19462
- t9nStrings: {
19463
- errorStrings: this._commonStrings?.errorStrings,
19464
- utilsStrings: this._commonStrings?.utilsStrings,
19465
- amChartsStrings: B
19444
+ dataUpdateNeeded: l,
19445
+ dataUpdateDetails: r
19446
+ }), this._hideInfoModal();
19447
+ const { t9nLocale: M } = ia(this._chartRef.value ?? document.documentElement), B = await Tc(M, this._useAmCharts5());
19448
+ No(d) && pp({
19449
+ chartConfig: d,
19450
+ chartData: h.data
19451
+ });
19452
+ const z = {
19453
+ ...{
19454
+ chartConfig: d,
19455
+ options: o,
19456
+ globalOptions: this._gatherComponentGlobalOptions(),
19457
+ dataUpdateDetails: r,
19458
+ configWithAllSeries: S,
19459
+ dataWasUpdated: b,
19460
+ chartContainer: this._chartRef.value,
19461
+ queryObject: a,
19462
+ dataInfo: h,
19463
+ colorMatchApplied: this._colorMatchApplied,
19464
+ rendererFieldNames: this._rendererFieldNames,
19465
+ pieSlicesSymbols: R,
19466
+ hasSeriesFilteredOut: p,
19467
+ uniqueInternalID: this.el.id,
19468
+ t9nStrings: {
19469
+ errorStrings: this._commonStrings?.errorStrings,
19470
+ utilsStrings: this._commonStrings?.utilsStrings,
19471
+ amChartsStrings: B
19472
+ },
19473
+ dataUpdateNeededProps: {
19474
+ forceDataUpdateTick: this.forceDataUpdateTick,
19475
+ runtimeDataFilters: this.runtimeDataFilters,
19476
+ returnFeaturesExtent: this.returnFeaturesExtent,
19477
+ chartLimits: this.chartLimits,
19478
+ updateSplitBySeries: this.updateSplitBySeries
19479
+ }
19466
19480
  },
19467
- dataUpdateNeededProps: {
19468
- forceDataUpdateTick: this.forceDataUpdateTick,
19469
- runtimeDataFilters: this.runtimeDataFilters,
19470
- returnFeaturesExtent: this.returnFeaturesExtent,
19471
- chartLimits: this.chartLimits,
19472
- updateSplitBySeries: this.updateSplitBySeries
19481
+ extraProps: {
19482
+ layer: this.queryObject,
19483
+ filterBySelection: this.filterBySelection,
19484
+ filterByExtent: this.filterByExtent,
19485
+ filterByViewExtent: this.filterByViewExtent
19473
19486
  }
19474
- },
19475
- extraProps: {
19476
- layer: this.queryObject,
19477
- filterBySelection: this.filterBySelection,
19478
- filterByExtent: this.filterByExtent,
19479
- filterByViewExtent: this.filterByViewExtent
19480
- }
19481
- };
19482
- if (this.showLoader || (this.showLoader = !0), i) {
19483
- const _ = this._useAmCharts5() ? eT : bx;
19484
- this._chart = _(z);
19485
- } else
19486
- this._chart?.update(z), this._handleUpdateCompleted(f);
19487
- this._lastRenderedProps = z, await this._generateHeatChartClassBreaks(h);
19487
+ };
19488
+ if (this.showLoader || (this.showLoader = !0), i) {
19489
+ const _ = this._useAmCharts5() ? eT : bx;
19490
+ this._chart = _(z);
19491
+ } else
19492
+ this._chart?.update(z), this._handleUpdateCompleted(f);
19493
+ this._lastRenderedProps = z, await this._generateHeatChartClassBreaks(h);
19494
+ }
19488
19495
  }
19489
19496
  }
19490
19497
  }