@arcgis/charts-components 5.2.0-next.132 → 5.2.0-next.135

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 (126) hide show
  1. package/dist/cdn/{IGFC74OK.js → 237DFICJ.js} +1 -1
  2. package/dist/cdn/{EJNWROC7.js → 2TH2NLKH.js} +1 -1
  3. package/dist/cdn/{35YCEIPG.js → 2WMXFFGK.js} +1 -1
  4. package/dist/cdn/{SNZ7YX4G.js → 4HRC4N36.js} +1 -1
  5. package/dist/cdn/{7HEDEKUK.js → 54MARFOX.js} +1 -1
  6. package/dist/cdn/{LDIHSUX2.js → 5FLFQNR7.js} +1 -1
  7. package/dist/cdn/{XJXSAYEK.js → 5J4YCXT7.js} +1 -1
  8. package/dist/cdn/{RAUY3KKA.js → 6XU3HVJF.js} +1 -1
  9. package/dist/cdn/{BTVIWRYJ.js → 7V464FLT.js} +1 -1
  10. package/dist/cdn/{RCD46RH5.js → 7ZIK7CXK.js} +1 -1
  11. package/dist/cdn/{QL2Y7MRB.js → AEKQA723.js} +1 -1
  12. package/dist/cdn/{LJO5VDUN.js → AXYWDXEL.js} +1 -1
  13. package/dist/cdn/{QKENGEGV.js → B2L54U6A.js} +1 -1
  14. package/dist/cdn/{H5DH4WNN.js → BGRTZDUX.js} +1 -1
  15. package/dist/cdn/{7LTSJSTM.js → BWHTYMQB.js} +1 -1
  16. package/dist/cdn/{U4GLRB5M.js → BZFXEB67.js} +1 -1
  17. package/dist/cdn/{7JOTYFCC.js → CIHQXJ22.js} +1 -1
  18. package/dist/cdn/{N7EBMOGD.js → D6AJNGRK.js} +1 -1
  19. package/dist/cdn/{5HNY3IAS.js → E4E2WV6B.js} +1 -1
  20. package/dist/cdn/{57HL3UWJ.js → EHWOAZN7.js} +1 -1
  21. package/dist/cdn/{G5R4DPDE.js → F2NO4I6W.js} +1 -1
  22. package/dist/cdn/{SYYWPV6X.js → F347H3VP.js} +1 -1
  23. package/dist/cdn/{OPIODPW3.js → F7AX7464.js} +1 -1
  24. package/dist/cdn/{EXL2B3BJ.js → FBSOJYSL.js} +1 -1
  25. package/dist/cdn/{GCIRVVIE.js → FF5R6NM4.js} +1 -1
  26. package/dist/cdn/{34XMANB5.js → FJNF77FI.js} +1 -1
  27. package/dist/cdn/{GWNC2RK3.js → GDMO4GD3.js} +1 -1
  28. package/dist/cdn/{4555T57S.js → HKJALKXI.js} +1 -1
  29. package/dist/cdn/{TGRE7VEP.js → IAZC7AQD.js} +1 -1
  30. package/dist/cdn/{SLMVIJZS.js → IRHBAPVI.js} +1 -1
  31. package/dist/cdn/{MEVS5PVK.js → J7FI5MUJ.js} +1 -1
  32. package/dist/cdn/{FB73CWAR.js → JM3JDVI3.js} +1 -1
  33. package/dist/cdn/{TOETRZXJ.js → JRBXQRR3.js} +1 -1
  34. package/dist/cdn/{E3GMOBBD.js → JRO7TCEJ.js} +1 -1
  35. package/dist/cdn/{ZJTFGMDB.js → KG5S3UIQ.js} +1 -1
  36. package/dist/cdn/{LOCELKGX.js → LPQNRUNB.js} +3 -3
  37. package/dist/cdn/{MJOSYJQM.js → LQLS3XBM.js} +1 -1
  38. package/dist/cdn/{FHSZFYWX.js → LWTFQAHK.js} +19 -19
  39. package/dist/cdn/{SY67MGEX.js → LYAWKYBD.js} +1 -1
  40. package/dist/cdn/{4TYYNWIM.js → MHTOZK7U.js} +1 -1
  41. package/dist/cdn/{PTXE3HWB.js → MVMW7ICK.js} +1 -1
  42. package/dist/cdn/{5MZ56C7R.js → NHMG5ROX.js} +1 -1
  43. package/dist/cdn/{HLHP2HHG.js → NSOVRPRE.js} +1 -1
  44. package/dist/cdn/{7RELPYIT.js → NWB2XYFC.js} +1 -1
  45. package/dist/cdn/{5HNG6KMX.js → PB5EMF72.js} +1 -1
  46. package/dist/cdn/{A7WJVI5D.js → Q7W6SXYC.js} +1 -1
  47. package/dist/cdn/{TTM5ZQFA.js → QAYSFUD7.js} +1 -1
  48. package/dist/cdn/{SJF6WAGB.js → QBWCTB6A.js} +1 -1
  49. package/dist/cdn/{HLNBRVRG.js → QDALL6M3.js} +1 -1
  50. package/dist/cdn/{ODTXJRD3.js → QWH37V5U.js} +1 -1
  51. package/dist/cdn/{SKJ3EY3H.js → R6IRQAQX.js} +1 -1
  52. package/dist/cdn/{HZBM265G.js → RLWLROKT.js} +1 -1
  53. package/dist/cdn/{A6ZHMVPA.js → RRLXLHLQ.js} +1 -1
  54. package/dist/cdn/{KFUYJAX4.js → SCGAGWRM.js} +1 -1
  55. package/dist/cdn/{TUEYIIMJ.js → SZZ5ARZP.js} +1 -1
  56. package/dist/cdn/{AE3Q3FDI.js → TG6R3HGR.js} +1 -1
  57. package/dist/cdn/{DDNS3GY4.js → THOUIYL5.js} +1 -1
  58. package/dist/cdn/{RSJPZSNN.js → TXLZGJBS.js} +1 -1
  59. package/dist/cdn/{ROY54SMC.js → UMM6WL6A.js} +1 -1
  60. package/dist/cdn/{IUFIYS7S.js → V5MTKOJP.js} +1 -1
  61. package/dist/cdn/{DJTFBHNQ.js → VBJ6455L.js} +1 -1
  62. package/dist/cdn/{ZL524IM5.js → VVXOD6FU.js} +1 -1
  63. package/dist/cdn/{UDTDIZNT.js → W5EEE7AO.js} +1 -1
  64. package/dist/cdn/{FKNSQZCW.js → WT5EQBFC.js} +1 -1
  65. package/dist/cdn/{PYRBEWFD.js → XGVPNZ4W.js} +1 -1
  66. package/dist/cdn/{FL6IYK2Q.js → XL73XJKZ.js} +1 -1
  67. package/dist/cdn/{EGROLWFL.js → XOUPCPXQ.js} +1 -1
  68. package/dist/cdn/{FEEYT3QQ.js → YVLG5MT3.js} +1 -1
  69. package/dist/cdn/{R35RZX3J.js → YZVWDBRN.js} +1 -1
  70. package/dist/cdn/{F4U6EDV7.js → Z4LTOPMQ.js} +1 -1
  71. package/dist/cdn/{TT4BXH4L.js → ZWDYQ77Q.js} +1 -1
  72. package/dist/cdn/index.js +1 -1
  73. package/dist/cdn/model/shared/setup-utils.js +1 -1
  74. package/dist/chart-rendering/common/interfaces.d.ts +6 -0
  75. package/dist/chunks/action-bar-utils.js +1 -1
  76. package/dist/chunks/bar-chart-model.js +1 -1
  77. package/dist/chunks/box-plot-data.js +7 -7
  78. package/dist/chunks/chart-model.js +9 -9
  79. package/dist/chunks/chart-ui-utils.js +7 -7
  80. package/dist/chunks/combo-bar-line-chart-model.js +1 -1
  81. package/dist/chunks/data.js +15 -15
  82. package/dist/chunks/gauge-model.js +41 -41
  83. package/dist/chunks/heat-chart-model.js +20 -20
  84. package/dist/chunks/index.js +93 -93
  85. package/dist/chunks/index4.js +1 -1
  86. package/dist/chunks/line-chart-model.js +1 -1
  87. package/dist/chunks/model-setter.js +1 -1
  88. package/dist/chunks/pie-chart-data.js +1 -1
  89. package/dist/chunks/pie-chart-model.js +1 -1
  90. package/dist/chunks/radar-chart-model.js +1 -1
  91. package/dist/chunks/serial-chart-data.js +47 -47
  92. package/dist/chunks/serial-chart-model.js +1 -1
  93. package/dist/chunks/series-length.js +3 -3
  94. package/dist/chunks/utils.js +15 -15
  95. package/dist/chunks/web-component-utils.js +1 -1
  96. package/dist/components/arcgis-chart/customElement.d.ts +21 -10
  97. package/dist/components/arcgis-chart/customElement.js +3360 -3322
  98. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  99. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
  100. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +5 -5
  101. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
  102. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
  103. package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
  104. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
  105. package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
  106. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
  107. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +1 -1
  108. package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
  109. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  110. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
  111. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
  112. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
  113. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
  114. package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
  115. package/dist/docs/api.json +1 -1
  116. package/dist/docs/docs.json +1 -1
  117. package/dist/docs/vscode.html-custom-data.json +1 -1
  118. package/dist/docs/web-types.json +1 -1
  119. package/dist/index.js +71 -71
  120. package/dist/loader.js +1 -1
  121. package/dist/types/lumina.d.ts +1 -1
  122. package/dist/types/preact.d.ts +1 -1
  123. package/dist/types/react.d.ts +1 -1
  124. package/dist/types/stencil.d.ts +1 -1
  125. package/dist/utils/chart-config/converter/index.js +88 -88
  126. package/package.json +4 -4
@@ -1,11 +1,11 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { substitute as M } from "@arcgis/core/intl.js";
3
- import { cloneDeep as te, memoize as Xe, isEmpty as He, isEqual as Ue } from "es-toolkit/compat";
3
+ import { cloneDeep as te, memoize as We, isEmpty as He, isEqual as Ue } from "es-toolkit/compat";
4
4
  import { S as ce } from "./common.js";
5
- import { Y as L, aP as W, bo as je, bW as Ke, bX as Ze, bL as Ne, f as _e, p as ie, W as Qe, V as ze, bY as Ge, O as ge, a$ as Je, bZ as et, N as tt, t as it, b_ as st, aQ as at, Q as rt, b$ as nt, _ as ot, bE as lt, c0 as ct, c1 as Se, c2 as ut, c3 as dt, c4 as yt, P as mt, c5 as Fe, c6 as Q, bN as gt, aR as k, a_ as z, M as pt, r as K, a1 as De, c7 as Y, bJ as j, c8 as ft, c9 as St, ca as O, cb as V, cc as he, bK as Te } from "./index.js";
5
+ import { Z as L, aP as X, bo as je, bW as Ze, bX as Ke, bL as Ne, g as _e, q as ie, X as Qe, W as ze, bY as Ge, P as ge, a$ as Je, bZ as et, O as tt, u as it, b_ as st, aQ as at, R as rt, b$ as nt, $ as ot, bE as lt, c0 as ct, c1 as Se, c2 as ut, c3 as dt, c4 as yt, Q as mt, c5 as Fe, c6 as Q, bN as gt, aR as k, a_ as z, N as pt, t as Z, a2 as De, c7 as Y, bJ as j, c8 as ft, c9 as St, ca as O, cb as V, cc as he, bK as Te } from "./index.js";
6
6
  import { u as $, s as Oe, g as pe, a as Ve, b as Ft, c as ht, d as G, e as xe } from "./utils.js";
7
7
  import { a as w, s as fe, g as se, b as Be, c as Tt } from "./data.js";
8
- import { a as x, d as I, f as xt, l as q, t as D, h as X, g as Bt, b as Ct, e as ue } from "./chart-object-literals.js";
8
+ import { a as x, d as I, f as xt, l as q, t as D, h as W, g as Bt, b as Ct, e as ue } from "./chart-object-literals.js";
9
9
  import { d as ke, b as bt } from "./rest-js-object-literals.js";
10
10
  import { i as ae } from "./index4.js";
11
11
  import { q as At, W as J, X as de, I as vt, Y as It, Z as Lt, _ as Nt, $ as Dt, k as Ot } from "./index3.js";
@@ -56,26 +56,26 @@ const qi = (i) => {
56
56
  e.series?.forEach((t) => {
57
57
  L(t) && (t.temporalBinning ??= {}, t.temporalBinning.trimIncompleteTimeInterval = i);
58
58
  });
59
- }, Wt = (i) => {
59
+ }, Xt = (i) => {
60
60
  Yt(0, i);
61
61
  };
62
- var Xt = Object.defineProperty, Ht = Object.getOwnPropertyDescriptor, Ut = (i, e, t, a) => {
62
+ var Wt = Object.defineProperty, Ht = Object.getOwnPropertyDescriptor, Ut = (i, e, t, a) => {
63
63
  for (var s = Ht(e, t), r = i.length - 1, n; r >= 0; r--)
64
64
  (n = i[r]) && (s = n(e, t, s) || s);
65
- return s && Xt(e, t, s), s;
65
+ return s && Wt(e, t, s), s;
66
66
  };
67
67
  const jt = (i) => {
68
68
  let e;
69
- return W(i) ? e = i.outTimeZone : i?.series.forEach((t) => {
69
+ return X(i) ? e = i.outTimeZone : i?.series.forEach((t) => {
70
70
  (t.type === x.BarSeries || t.type === x.RadarSeries || t.type === x.LineSeries) && t.temporalBinning && (e = t.temporalBinning.outTimeZone);
71
71
  }), e || (e = i?.axes?.[0]?.valueFormat.type === x.DateAxisFormat ? i.axes[0].valueFormat.intlOptions.timeZone : void 0), e;
72
72
  }, Re = (i, e) => {
73
73
  const t = je(i);
74
- W(e) ? i ? e.outTimeZone = t : delete e.outTimeZone : e?.series.forEach((a) => {
74
+ X(e) ? i ? e.outTimeZone = t : delete e.outTimeZone : e?.series.forEach((a) => {
75
75
  (a.type === x.BarSeries || a.type === x.RadarSeries || a.type === x.LineSeries) && (i ? (a.temporalBinning ??= {}, a.temporalBinning.outTimeZone = t) : a.temporalBinning && delete a.temporalBinning.outTimeZone);
76
76
  }), e?.axes?.[0]?.valueFormat.type === x.DateAxisFormat && (i ? e.axes[0].valueFormat.intlOptions.timeZone = t : delete e.axes[0].valueFormat.intlOptions.timeZone);
77
77
  };
78
- class Kt extends kt {
78
+ class Zt extends kt {
79
79
  /**
80
80
  * Gets the time zone for the chart.
81
81
  */
@@ -88,20 +88,20 @@ class Kt extends kt {
88
88
  }
89
89
  Ut([
90
90
  qt
91
- ], Kt.prototype, "timeZone");
91
+ ], Zt.prototype, "timeZone");
92
92
  function $i(i, e) {
93
93
  let t;
94
94
  return e !== void 0 && (t = { ...e }, t.legend !== void 0 && (t.legend.position = i)), t;
95
95
  }
96
- function Wi(i, e) {
96
+ function Xi(i, e) {
97
97
  let t;
98
98
  return e !== void 0 && (t = { ...e }, t.legend !== void 0 && (t.legend.visible = i)), t;
99
99
  }
100
- function Xi(i, e) {
100
+ function Wi(i, e) {
101
101
  let t;
102
102
  return e !== void 0 && (t = { ...e, rotated: i }), t;
103
103
  }
104
- function Zt(i) {
104
+ function Kt(i) {
105
105
  let e;
106
106
  return i !== void 0 && (e = { ...i }, delete e.axes?.[0]?.minimum, delete e.axes?.[0]?.maximum, delete e.axes?.[1]?.minimum, delete e.axes?.[1]?.maximum), e;
107
107
  }
@@ -111,7 +111,7 @@ function Hi(i, e) {
111
111
  async function Ui(i) {
112
112
  const { config: e, layer: t, abortSignal: a } = i;
113
113
  let s = !1;
114
- return ye(t) || Pt(e) ? e && ye(t) && (s = await Ze({ config: e, layer: t, abortSignal: a })) : s = !0, s;
114
+ return ye(t) || Pt(e) ? e && ye(t) && (s = await Ke({ config: e, layer: t, abortSignal: a })) : s = !0, s;
115
115
  }
116
116
  async function _t(i) {
117
117
  const {
@@ -335,7 +335,7 @@ async function ji(i) {
335
335
  returnFeaturesExtent: f,
336
336
  returnStatisticsAggregatedIds: p,
337
337
  chartLimits: u
338
- })), m = Ke(m, r), Re(d, m)), { alteredConfig: m, preFetchedQueryResponse: F };
338
+ })), m = Ze(m, r), Re(d, m)), { alteredConfig: m, preFetchedQueryResponse: F };
339
339
  }
340
340
  function ti(i, e) {
341
341
  let t = !1;
@@ -345,7 +345,7 @@ function ti(i, e) {
345
345
  }
346
346
  return t;
347
347
  }
348
- function Ki(i) {
348
+ function Zi(i) {
349
349
  const { data: e, config: t, showEmptySeries: a } = i, s = t.series.length, r = te(t);
350
350
  let n = !1;
351
351
  if (!a && s > 1 && e) {
@@ -394,7 +394,7 @@ function Ki(i) {
394
394
  }
395
395
  return { seriesFilteredOut: n, filteredConfig: r };
396
396
  }
397
- const Zi = (i) => i.hideEmptyRowsAndColumns, _i = (i, e) => {
397
+ const Ki = (i) => i.hideEmptyRowsAndColumns, _i = (i, e) => {
398
398
  i.hideEmptyRowsAndColumns = e;
399
399
  }, Qi = (i, e) => {
400
400
  const t = i.series[0];
@@ -405,7 +405,7 @@ const Zi = (i) => i.hideEmptyRowsAndColumns, _i = (i, e) => {
405
405
  }, Ji = (i) => i.series[0].gradientRules, es = (i) => {
406
406
  const { yField: e, config: t, layerInfo: a, commonStrings: s } = i, { layerFieldsInfo: r } = a, n = re(1, t), o = ii(t), l = ae(t), c = t.series[0];
407
407
  if (typeof e == "string" && o !== e && c) {
408
- if (c.y = e, Zt(t), o === n || l) {
408
+ if (c.y = e, Kt(t), o === n || l) {
409
409
  const g = R(r, e);
410
410
  $(t, 1, g);
411
411
  }
@@ -451,10 +451,10 @@ const Zi = (i) => i.hideEmptyRowsAndColumns, _i = (i, e) => {
451
451
  statisticType: I.Count
452
452
  }
453
453
  ]
454
- }, n && t.title && (t.title.content.text = Z(t, a, s));
454
+ }, n && t.title && (t.title.content.text = K(t, a, s));
455
455
  }, ds = (i) => i.series[0].query?.outStatistics?.[0].statisticType ?? I.Count, ys = (i) => {
456
456
  const { aggregationType: e, config: t, layerInfo: a, commonStrings: s } = i, r = t.series[0]?.query?.outStatistics?.[0], n = le(t, a, s);
457
- r && e !== I.NoAggregation && (r.statisticType = e, r.outStatisticFieldName = `${e}_${r.onStatisticField}`), (e === I.Count || e === I.Sum) && ni(X.Zero, t), n && t.title && (t.title.content.text = Z(t, a, s));
457
+ r && e !== I.NoAggregation && (r.statisticType = e, r.outStatisticFieldName = `${e}_${r.onStatisticField}`), (e === I.Count || e === I.Sum) && ni(W.Zero, t), n && t.title && (t.title.content.text = K(t, a, s));
458
458
  }, ms = (i) => i.nullPolicy, ni = (i, e) => {
459
459
  e.nullPolicy = i;
460
460
  }, gs = (i) => i.series[0].emptyCells, ps = (i, e) => {
@@ -605,7 +605,7 @@ function ui(i) {
605
605
  }), e.text || e.fillSymbol || e.markerSymbol ? e : void 0;
606
606
  }
607
607
  function ne(i) {
608
- const { seriesIndex: e, xAxisField: t, aggregationType: a, config: s, layerInfo: r, commonStrings: n } = i, o = K(r?.layer).idField;
608
+ const { seriesIndex: e, xAxisField: t, aggregationType: a, config: s, layerInfo: r, commonStrings: n } = i, o = Z(r?.layer).idField;
609
609
  let l;
610
610
  const c = s.series[e ?? 0];
611
611
  let g = !1, f = !1, p = !1;
@@ -666,8 +666,8 @@ function ne(i) {
666
666
  }
667
667
  return te(C);
668
668
  }
669
- function Z(i, e, t) {
670
- const { layerFieldsInfo: a } = e, { idField: s, isTraditionalTypeOID: r } = K(e.layer), n = w(i), o = U(i), l = oe(i), c = _(i), g = r && (o.length === 0 || o.includes(s)), f = vt(l, t), p = g ? "" : o.map((h) => R(a ?? [], h)).join(", "), u = R(a ?? [], n), d = R(a ?? [], c), y = i.series.some((h) => Y(h)), m = y ? "category" : "xAxisField", F = u;
669
+ function K(i, e, t) {
670
+ const { layerFieldsInfo: a } = e, { idField: s, isTraditionalTypeOID: r } = Z(e.layer), n = w(i), o = U(i), l = oe(i), c = _(i), g = r && (o.length === 0 || o.includes(s)), f = vt(l, t), p = g ? "" : o.map((h) => R(a ?? [], h)).join(", "), u = R(a ?? [], n), d = R(a ?? [], c), y = i.series.some((h) => Y(h)), m = y ? "category" : "xAxisField", F = u;
671
671
  let S = "";
672
672
  if (fe({
673
673
  fieldName: n,
@@ -731,7 +731,7 @@ const we = (i) => ge({
731
731
  where: i.query?.where,
732
732
  normalize: !1,
733
733
  escape: !1
734
- }) ?? "", oe = (i) => i?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? I.NoAggregation, _ = Xe(
734
+ }) ?? "", oe = (i) => i?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? I.NoAggregation, _ = We(
735
735
  (i) => {
736
736
  const e = i?.series?.[0]?.query?.where?.split("=")[0].trim() ?? "";
737
737
  return pt(i?.series?.[0]?.query?.where) ? "" : e;
@@ -751,7 +751,7 @@ const we = (i) => ge({
751
751
  return e.filter((t) => t !== "");
752
752
  };
753
753
  function Ee(i) {
754
- const { splitByField: e, numericFields: t, layer: a, seriesIndex: s } = i, r = K(a).idField ?? "";
754
+ const { splitByField: e, numericFields: t, layer: a, seriesIndex: s } = i, r = Z(a).idField ?? "";
755
755
  return e === "" ? t[s] ?? r : t[0] ?? r;
756
756
  }
757
757
  function di(i) {
@@ -773,7 +773,7 @@ function Me(i) {
773
773
  }
774
774
  const me = (i) => {
775
775
  let e;
776
- if (W(i)) {
776
+ if (X(i)) {
777
777
  const t = i.orderOptions?.data?.orderByX ?? [""], a = i.orderOptions?.data?.orderByY ?? [""], s = i.axes?.[0]?.valueFormat?.type === "category" ? D.Category : D.YValue, r = i.axes?.[1]?.valueFormat?.type === "category" ? D.Category : D.YValue;
778
778
  e = [Be(t, s), Be(a, r)];
779
779
  } else {
@@ -817,7 +817,7 @@ function yi(i) {
817
817
  return F.query = { outStatistics: S }, s.series.length === 1 && ((O(F) || V(F)) && $e(F, s.series[0]), Y(F) ? F.fillSymbol = s.series[0].fillSymbol : (O(F) || V(F)) && (F.lineSymbol = s.series[0].lineSymbol, F.markerSymbol = s.series[0].markerSymbol)), [F];
818
818
  }
819
819
  function Ye(i) {
820
- const { xAxisField: e, numericFields: t, aggregationType: a, config: s, layerInfo: r, commonStrings: n } = i, { layerFieldsInfo: o } = r, l = K(r.layer).idField, c = [];
820
+ const { xAxisField: e, numericFields: t, aggregationType: a, config: s, layerInfo: r, commonStrings: n } = i, { layerFieldsInfo: o } = r, l = Z(r.layer).idField, c = [];
821
821
  for (let d = 0; d < t.length; d += 1) {
822
822
  const y = ne({
823
823
  config: s,
@@ -859,7 +859,7 @@ function Ye(i) {
859
859
  return p.length === 1 && g.length === 1 && Y(p[0]) && Y(g[0]) && (g[0].fillSymbol = p[0].fillSymbol), u.length === 1 && f.length === 1 && ((O(u[0]) && O(f[0]) || V(u[0]) && V(f[0])) && $e(f[0], u[0]), (O(u[0]) && O(f[0]) || V(u[0]) && V(f[0])) && (f[0].lineSymbol = u[0].lineSymbol, f[0].markerSymbol = u[0].markerSymbol)), c;
860
860
  }
861
861
  function qs(i) {
862
- const { aggregationType: e, config: t, layerInfo: a, commonStrings: s } = i, { layerFieldsInfo: r, layer: n } = a, o = w(t), l = U(t), c = _(t), g = oe(t), f = le(t, a, s), p = We(t, a, s);
862
+ const { aggregationType: e, config: t, layerInfo: a, commonStrings: s } = i, { layerFieldsInfo: r, layer: n } = a, o = w(t), l = U(t), c = _(t), g = oe(t), f = le(t, a, s), p = Xe(t, a, s);
863
863
  if (t.series.forEach((u, d) => {
864
864
  const y = se({
865
865
  config: t,
@@ -889,8 +889,8 @@ function qs(i) {
889
889
  onStatisticField: F
890
890
  }
891
891
  ]
892
- }, "temporalBinning" in u && u.temporalBinning !== void 0 && (u.temporalBinning.nullPolicy = e === I.NoAggregation ? X.Interpolate : X.Null), e === I.NoAggregation && Wt(t);
893
- }), f && t.title && (t.title.content.text = Z(t, a, s)), p && t.series[0].type !== x.HeatSeries) {
892
+ }, "temporalBinning" in u && u.temporalBinning !== void 0 && (u.temporalBinning.nullPolicy = e === I.NoAggregation ? W.Interpolate : W.Null), e === I.NoAggregation && Xt(t);
893
+ }), f && t.title && (t.title.content.text = K(t, a, s)), p && t.series[0].type !== x.HeatSeries) {
894
894
  const u = pe({
895
895
  config: t,
896
896
  layerInfo: a,
@@ -986,7 +986,7 @@ const Rs = (i) => {
986
986
  layerInfo: n,
987
987
  commonStrings: o,
988
988
  splitByFieldInfos: l
989
- } = i, { layerFieldsInfo: c } = n ?? {}, g = te(r), f = wt(r), p = w(g), u = _(g), d = oe(g), y = c.find((B) => B.name === p), m = r.series[0]?.query === void 0, F = U(g), S = c.find((B) => B.name === e), h = le(g, n, o), b = We(g, n, o), C = gi({ config: g, layerInfo: n, commonStrings: o });
989
+ } = i, { layerFieldsInfo: c } = n ?? {}, g = te(r), f = wt(r), p = w(g), u = _(g), d = oe(g), y = c.find((B) => B.name === p), m = r.series[0]?.query === void 0, F = U(g), S = c.find((B) => B.name === e), h = le(g, n, o), b = Xe(g, n, o), C = gi({ config: g, layerInfo: n, commonStrings: o });
990
990
  let T = Ve(r);
991
991
  const A = g.series.some((B) => Y(B)), v = ft(g.series), E = St(g.series), N = k(y) || k(S);
992
992
  if (Q(S) ? T = de() : !z(y) && z(S) ? T = J() : !k(y) && k(S) ? T = J() : k(y) && !k(S) && (A ? T = de() : T = Ot()), T !== void 0 && ht(r, o, T), f === 0 && (r.series = [
@@ -1034,11 +1034,11 @@ const Rs = (i) => {
1034
1034
  });
1035
1035
  $(r, 1, B);
1036
1036
  }
1037
- if (h && r.title && (r.title.content.text = Z(r, n, o)), p === e && u === t && d === s && Ue(F, a) || Me(r), di({ numericFields: a, aggregationType: s, config: r, layerInfo: n }), (v || E) && (G({ config: r, value: null, axisIndex: 0, isMax: !1 }), G({ config: r, value: null, axisIndex: 0, isMax: !0 }), N && s !== I.NoAggregation && !W(g))) {
1038
- const B = k(S) ? X.Null : X.Interpolate;
1037
+ if (h && r.title && (r.title.content.text = K(r, n, o)), p === e && u === t && d === s && Ue(F, a) || Me(r), di({ numericFields: a, aggregationType: s, config: r, layerInfo: n }), (v || E) && (G({ config: r, value: null, axisIndex: 0, isMax: !1 }), G({ config: r, value: null, axisIndex: 0, isMax: !0 }), N && s !== I.NoAggregation && !X(g))) {
1038
+ const B = k(S) ? W.Null : W.Interpolate;
1039
1039
  $t(B, r);
1040
1040
  }
1041
- W(r) && Pe({ commonStrings: o, config: r, layerInfo: n }), r.series.forEach((B) => {
1041
+ X(r) && Pe({ commonStrings: o, config: r, layerInfo: n }), r.series.forEach((B) => {
1042
1042
  m && delete B.query, p !== e && L(B) && (S?.type === ke.TimeOnly ? B.binTemporalData = !1 : B.binTemporalData = B.type === x.LineSeries && k(S));
1043
1043
  });
1044
1044
  }, $e = (i, e) => {
@@ -1053,7 +1053,7 @@ const Rs = (i) => {
1053
1053
  o = s.axisLabels.values;
1054
1054
  else if (He(n)) {
1055
1055
  const c = r.query?.outStatistics?.[0]?.onStatisticField;
1056
- c !== void 0 && c !== K(a.layer).idField && (o = R(a.layerFieldsInfo, c));
1056
+ c !== void 0 && c !== Z(a.layer).idField && (o = R(a.layerFieldsInfo, c));
1057
1057
  } else {
1058
1058
  const c = String(we(r)).trim().replace(/'/gu, "");
1059
1059
  o = De({
@@ -1064,7 +1064,7 @@ const Rs = (i) => {
1064
1064
  }
1065
1065
  return o ?? r.id;
1066
1066
  }, ws = (i, e) => {
1067
- if (W(e))
1067
+ if (X(e))
1068
1068
  ri(i, e);
1069
1069
  else {
1070
1070
  e.orderOptions ??= {};
@@ -1085,10 +1085,10 @@ const Rs = (i) => {
1085
1085
  }))), l;
1086
1086
  };
1087
1087
  function le(i, e, t) {
1088
- const a = Z(i, e, t), s = Et(i), r = ae(i);
1088
+ const a = K(i, e, t), s = Et(i), r = ae(i);
1089
1089
  return a === s || r;
1090
1090
  }
1091
- function We(i, e, t) {
1091
+ function Xe(i, e, t) {
1092
1092
  const a = pe({
1093
1093
  config: i,
1094
1094
  layerInfo: e,
@@ -1112,7 +1112,7 @@ function Ys(i, e) {
1112
1112
  size: 0,
1113
1113
  timeAggregationType: Ct.Start,
1114
1114
  trimIncompleteTimeInterval: !0,
1115
- nullPolicy: X.Null
1115
+ nullPolicy: W.Null
1116
1116
  } : delete t.temporalBinning);
1117
1117
  });
1118
1118
  }
@@ -1123,7 +1123,7 @@ export {
1123
1123
  Rs as C,
1124
1124
  Ms as D,
1125
1125
  Ys as E,
1126
- Z as F,
1126
+ K as F,
1127
1127
  Pe as G,
1128
1128
  ii as H,
1129
1129
  es as I,
@@ -1140,9 +1140,9 @@ export {
1140
1140
  Ds as T,
1141
1141
  Os as U,
1142
1142
  Vs as V,
1143
- Kt as W,
1143
+ Zt as W,
1144
1144
  ks as X,
1145
- Zi as Y,
1145
+ Ki as Y,
1146
1146
  _i as Z,
1147
1147
  as as _,
1148
1148
  Hi as a,
@@ -1171,10 +1171,10 @@ export {
1171
1171
  Ts as am,
1172
1172
  xs as an,
1173
1173
  $i as b,
1174
- Wi as c,
1174
+ Xi as c,
1175
1175
  U as d,
1176
1176
  _ as e,
1177
- Ki as f,
1177
+ Zi as f,
1178
1178
  oe as g,
1179
1179
  Ps as h,
1180
1180
  Ui as i,
@@ -1186,13 +1186,13 @@ export {
1186
1186
  Mi as o,
1187
1187
  ji as p,
1188
1188
  Pi as q,
1189
- Zt as r,
1189
+ Kt as r,
1190
1190
  Re as s,
1191
1191
  Yi as t,
1192
- Xi as u,
1192
+ Wi as u,
1193
1193
  wi as v,
1194
1194
  $t as w,
1195
- Wt as x,
1195
+ Xt as x,
1196
1196
  qs as y,
1197
1197
  me as z
1198
1198
  };
@@ -1,7 +1,7 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { isEqual as u } from "es-toolkit/compat";
3
3
  import { a as S, c as b, d as f } from "./chart-object-literals.js";
4
- import { c7 as v, ca as L, bJ as p, r as M } from "./index.js";
4
+ import { c7 as v, ca as L, bJ as p, t as M } from "./index.js";
5
5
  import { i as P } from "./index4.js";
6
6
  import { m as o } from "./model-setter.js";
7
7
  import { S as V } from "./common.js";
@@ -1,7 +1,7 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { m as n, C as a } from "./model-setter.js";
3
3
  import { a0 as o, a1 as g, a2 as h } from "./index3.js";
4
- import { O as p } from "./index.js";
4
+ import { P as p } from "./index.js";
5
5
  var f = Object.defineProperty, c = Object.getOwnPropertyDescriptor, u = (t, e, i, _) => {
6
6
  for (var s = c(e, i), r = t.length - 1, l; r >= 0; r--)
7
7
  (l = t[r]) && (s = l(e, i, s) || s);
@@ -38,7 +38,7 @@ class C extends a {
38
38
  }
39
39
  }
40
40
  const T = (t) => t.series.length ?? 0;
41
- class O extends a {
41
+ class P extends a {
42
42
  /**
43
43
  * The length of the series array.
44
44
  */
@@ -50,7 +50,7 @@ export {
50
50
  m as W,
51
51
  v as a,
52
52
  T as b,
53
- O as c,
53
+ P as c,
54
54
  C as d,
55
55
  x as g
56
56
  };
@@ -1,11 +1,11 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { c as $, a as n, d as A, g as U } from "./chart-object-literals.js";
3
- import { r as B, aj as T, ck as X, cl as j, cm as D, cn as k, O as H, a1 as I } from "./index.js";
3
+ import { t as B, ak as T, ck as X, cl as k, cm as D, cn as j, P as H, a2 as I } from "./index.js";
4
4
  import { I as K, a0 as G, a1 as Q, X as Y, a7 as z, a2 as J, H as Z } from "./index3.js";
5
5
  import { i as q } from "./type-guards.js";
6
6
  import { f as _, b as N, i as ee, q as te } from "./index2.js";
7
7
  import { g as w } from "./series-types.js";
8
- import { substitute as O } from "@arcgis/core/intl.js";
8
+ import { substitute as C } from "@arcgis/core/intl.js";
9
9
  const de = (s) => {
10
10
  const { config: e, axisIndex: i, callback: t } = s;
11
11
  [i !== void 0 ? e.axes?.[i] : e.axes].flat().forEach((a, r) => {
@@ -37,11 +37,11 @@ function ge(s) {
37
37
  o = N(i.layerFieldsInfo, e.series[0].y);
38
38
  else if (a.length === 1) {
39
39
  const x = N(i.layerFieldsInfo, a[0]), l = B(i.layer).idField;
40
- r === A.NoAggregation ? o = x : r === A.Count && l !== void 0 && a[0] === l ? o = t.utilsStrings.statistics.count : o = O(t.axisLabels.aggregationOfFieldName, {
40
+ r === A.NoAggregation ? o = x : r === A.Count && l !== void 0 && a[0] === l ? o = t.utilsStrings.statistics.count : o = C(t.axisLabels.aggregationOfFieldName, {
41
41
  aggregation: f,
42
42
  fieldName: x
43
43
  });
44
- } else a.length > 1 && (r === A.NoAggregation ? o = t.axisLabels.values : o = O(t.axisLabels.aggregationOfValues, {
44
+ } else a.length > 1 && (r === A.NoAggregation ? o = t.axisLabels.values : o = C(t.axisLabels.aggregationOfValues, {
45
45
  aggregation: f
46
46
  }));
47
47
  }
@@ -54,7 +54,7 @@ const E = (s, e, i) => s.axes?.[e] ?? z(i, s.type)[e], M = (s) => {
54
54
  const { config: e, axisIndex: i, isMax: t } = s;
55
55
  let a = Number.NaN;
56
56
  return t ? a = e.axes?.[i]?.maximum : a = e.axes?.[i]?.minimum, a ?? Number.NaN;
57
- }, C = (s) => {
57
+ }, O = (s) => {
58
58
  const { config: e, value: i, axisIndex: t, isMax: a } = s, r = e?.axes?.[t];
59
59
  r !== void 0 && (a ? r.maximum = i : r.minimum = i);
60
60
  }, ye = (s) => s.axes?.[0]?.valueFormat ?? Y(), pe = (s, e, i) => {
@@ -98,7 +98,7 @@ const E = (s, e, i) => s.axes?.[e] ?? z(i, s.type)[e], M = (s) => {
98
98
  }
99
99
  }, he = (s, e) => s.axes?.[e]?.isLogarithmic ?? !1, be = (s) => {
100
100
  const { config: e, isLogarithmic: i, axisIndex: t } = s, a = e.axes?.[t];
101
- a && (a.isLogarithmic = i, C({ config: e, value: null, axisIndex: t, isMax: !0 }), C({ config: e, value: null, axisIndex: t, isMax: !1 }));
101
+ a && (a.isLogarithmic = i, O({ config: e, value: null, axisIndex: t, isMax: !0 }), O({ config: e, value: null, axisIndex: t, isMax: !1 }));
102
102
  }, ve = (s) => {
103
103
  const { config: e, scrollbar: i, axisIndex: t } = s;
104
104
  e.axes?.[t] !== void 0 && (e.axes[t].scrollbar = i);
@@ -115,7 +115,7 @@ async function Le(s) {
115
115
  chartLimits: f,
116
116
  errorStrings: x
117
117
  } = s, m = r.filter((S) => S.name === a)[0]?.type, c = d !== !0 ? `${a} IS NOT NULL` : "", p = t && d !== !0 ? `${t} IS NOT NULL` : "", h = w(e?.series), { where: P } = e?.dataFilters ?? {}, R = {
118
- where: j([P, c, p]),
118
+ where: k([P, c, p]),
119
119
  // excluding the null values from the list
120
120
  orderByFields: ee(a) ? [] : [`${a} ${U.Ascending}`],
121
121
  // default sorting ascending for split-by field
@@ -127,7 +127,7 @@ async function Le(s) {
127
127
  layer: i,
128
128
  category: e?.series[0].x ?? "",
129
129
  splitByField: a
130
- }) : await k({
130
+ }) : await j({
131
131
  queryObject: i,
132
132
  category: e?.series[0].x ?? "",
133
133
  splitByField: a,
@@ -173,7 +173,7 @@ function Ne(s, e) {
173
173
  }
174
174
  return t;
175
175
  }
176
- function Oe(s, e) {
176
+ function Ce(s, e) {
177
177
  e.forEach((i) => {
178
178
  Object.getOwnPropertyNames(i.prototype).forEach((t) => {
179
179
  Object.defineProperty(
@@ -184,9 +184,9 @@ function Oe(s, e) {
184
184
  });
185
185
  });
186
186
  }
187
- async function Ce(s) {
187
+ async function Oe(s) {
188
188
  const { layerInfo: e, config: i, category: t, errorStrings: a } = s, { layer: r } = e, { where: o } = i?.dataFilters ?? {}, { fetchNullValues: d } = i?.series?.[0]?.query ?? {}, f = d !== !0 ? `${t} IS NOT NULL` : "", x = {
189
- where: j([o, f]),
189
+ where: k([o, f]),
190
190
  // excluding the null values from the list
191
191
  orderByFields: [],
192
192
  geometry: i?.dataFilters?.geometry
@@ -204,7 +204,7 @@ async function Ce(s) {
204
204
  fieldValue: c
205
205
  }) ?? c;
206
206
  }) : l = // fetch unique category values asynchronously
207
- (await k({ queryObject: r, category: t, queryConfig: x, errorStrings: a })).map(
207
+ (await j({ queryObject: r, category: t, queryConfig: x, errorStrings: a })).map(
208
208
  (m) => {
209
209
  const c = String(m);
210
210
  return I({
@@ -220,13 +220,13 @@ function Ve(s) {
220
220
  }
221
221
  export {
222
222
  ye as a,
223
- Ce as b,
223
+ Oe as b,
224
224
  pe as c,
225
- C as d,
225
+ O as d,
226
226
  Fe as e,
227
227
  de as f,
228
228
  ge as g,
229
- Oe as h,
229
+ Ce as h,
230
230
  Ve as i,
231
231
  Ie as j,
232
232
  Ne as k,
@@ -7,7 +7,7 @@ import { g as me, a as de, b as ye } from "./pie-chart-data.js";
7
7
  import { a as ie } from "./series-length.js";
8
8
  import { g as re, d as le, e as ge } from "./serial-chart-data.js";
9
9
  import { g as z, a as pe } from "./data.js";
10
- import { p as U, r as be, q as xe, U as E, H as Fe, P, a1 as Ce, aR as De, bR as Se } from "./index.js";
10
+ import { q as U, t as be, r as xe, V as E, I as Fe, Q as P, a2 as Ce, aR as De, bR as Se } from "./index.js";
11
11
  import { i as Y, K as $, l as R, M as ve, N as Be, O as Q } from "./index3.js";
12
12
  import { i as K, a as g, C as A } from "./index2.js";
13
13
  import { g as he } from "./series-types.js";
@@ -21,19 +21,16 @@ import type { ErrorPolicy, LayerFieldsChangePolicy, LayerFilterChangePolicy, Lay
21
21
  import type { T9nMeta } from "@arcgis/lumina/controllers";
22
22
 
23
23
  /**
24
- * The ArcGIS Chart component renders a chart by setting a [model](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#model) object that defines the chart's configuration and data.
24
+ * The ArcGIS Chart component renders a chart from a [model](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#model) object that defines the chart's configuration and data.
25
25
  *
26
- * You can render a chart either by:
27
- * - Setting [layerItemId](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#layerItemId) and [chartIndex](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#chartIndex) to load a saved chart from a layer item.
28
- * - Create a new chart by using the [`createModel()`](/references/charts-components/model/shared/setup-utils/#createModel) function to create a chart model and set it to the [model](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#model) property.
29
- *
30
- * > [!IMPORTANT]
31
- * >
32
- * > See the [Introduction to charts](https://developers.arcgis.com/javascript/latest/charts-components-intro/) guide for detailed examples on how to render a chart using the above patterns.
33
- *
34
- * There are 10 supported chart types, each with its own model properties and methods. Refer to the [chart types documentation](https://developers.arcgis.com/javascript/latest/charts/chart-types/) for more information on each chart type.
26
+ * Depending on your use case, you can:
27
+ * - Load a saved chart from a layer item by setting [layerItemId](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#layerItemId) and [chartIndex](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#chartIndex).
28
+ * - Create a new model with [`createModel()`](/references/charts-components/model/shared/setup-utils/#createModel), then set it to the [model](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#model) property.
29
+ * - Load a saved chart from a layer item and customize it by calling [loadModel()](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#loadModel) before making changes to the model.
35
30
  *
36
31
  * ##### See also:
32
+ * - [Charts introduction page](https://developers.arcgis.com/javascript/latest/charts/): For an overview of charts and their capabilities.
33
+ * - [Chart types guide page](https://developers.arcgis.com/javascript/latest/charts/chart-types/): For a complete list of supported chart types and detailed guides.
37
34
  * - [Tutorial: Display a chart](https://developers.arcgis.com/javascript/latest/tutorials/display-a-chart/)
38
35
  * - [Tutorial: Chart and map interactions](https://developers.arcgis.com/javascript/latest/tutorials/chart-and-map-interactions/)
39
36
  *
@@ -1798,6 +1795,20 @@ export abstract class ArcgisChart extends LitElement {
1798
1795
  * **Note**: Not applicable to gauges.
1799
1796
  */
1800
1797
  accessor tooltipFormatter: TooltipFormatters | undefined;
1798
+ /**
1799
+ * When `true`, the chart title, subtitle, and footer are limited to two lines. Text that exceeds the available space is
1800
+ * truncated with an ellipsis, helping reserve more space for the chart itself. Axis titles are not affected.
1801
+ *
1802
+ * By default, these labels wrap according to the available space without a two-line limit.
1803
+ *
1804
+ * | With `truncateLongTitles` | Without `truncateLongTitles` |
1805
+ * | -------- | -------- |
1806
+ * | ![truncateLongTitles true](https://developers.arcgis.com/javascript/latest/assets/references/components/chart/truncateLongTitlesTrue.avif) | ![truncateLongTitles false](https://developers.arcgis.com/javascript/latest/assets/references/components/chart/truncateLongTitlesFalse.avif) |
1807
+ *
1808
+ * @default false
1809
+ * @since 5.2
1810
+ */
1811
+ accessor truncateLongTitles: boolean;
1801
1812
  /**
1802
1813
  * Whether to automatically add the missing series to cover the split-by values not referenced in the configuration.
1803
1814
  * - This property only applies to plain chart configuration object that's constructed following the [WebChart](https://developers.arcgis.com/javascript/latest/references/charts-components/spec/web-chart/#WebChart) specification.