@arcgis/charts-components 5.2.0-next.118 → 5.2.0-next.119

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 (134) hide show
  1. package/dist/cdn/{ACUQ3GSY.js → 2FT66YGB.js} +1 -1
  2. package/dist/cdn/{PLXQMAKJ.js → 3FB4VL4V.js} +1 -1
  3. package/dist/cdn/{LIRYT77W.js → 3IQDYASN.js} +1 -1
  4. package/dist/cdn/{VKWBVDPR.js → 4DQNFHA4.js} +1 -1
  5. package/dist/cdn/{4THGJRO7.js → 4E34FLKY.js} +1 -1
  6. package/dist/cdn/4GT67VUK.js +3 -0
  7. package/dist/cdn/{4DUZ3DBV.js → 4OJBV64G.js} +1 -1
  8. package/dist/cdn/{Z5XFBQIU.js → 54FEODDO.js} +1 -1
  9. package/dist/cdn/{SB3KBW5O.js → 57NA55CF.js} +1 -1
  10. package/dist/cdn/{FGHHEJ7Q.js → 5ZFQZ42H.js} +1 -1
  11. package/dist/cdn/{J2BDF3BA.js → 6M7E3THQ.js} +1 -1
  12. package/dist/cdn/{ZVGVGFQF.js → 6NJAJVK7.js} +1 -1
  13. package/dist/cdn/{VRIFEBAE.js → 6WJOSZSP.js} +1 -1
  14. package/dist/cdn/{QJ4KUKW4.js → 7B7BSHUY.js} +1 -1
  15. package/dist/cdn/{Z7RM6IBM.js → 7DQL3RAS.js} +1 -1
  16. package/dist/cdn/{HHEWJXPN.js → 7PYIBZ33.js} +1 -1
  17. package/dist/cdn/{6U7WMM3T.js → 7UMPX2LQ.js} +1 -1
  18. package/dist/cdn/{DPJFM4NP.js → BK2RYOSA.js} +2 -2
  19. package/dist/cdn/{SAGUQ6EW.js → BXZFICFB.js} +1 -1
  20. package/dist/cdn/{S23Y4TVC.js → CBRWW752.js} +1 -1
  21. package/dist/cdn/{A6C5ZSQX.js → CEBD3FDQ.js} +1 -1
  22. package/dist/cdn/{GFVDFWRY.js → CWVNLMZX.js} +1 -1
  23. package/dist/cdn/{XCSKZALR.js → DMQBOIFP.js} +1 -1
  24. package/dist/cdn/{Y2BKQMV4.js → E4NQOCML.js} +1 -1
  25. package/dist/cdn/{4XSVNPEK.js → EFNGBCII.js} +1 -1
  26. package/dist/cdn/{R3ZPVVUQ.js → EO7T3USZ.js} +22 -22
  27. package/dist/cdn/{QJ5FZEFC.js → GNQMXAHH.js} +1 -1
  28. package/dist/cdn/{PGFXIMQZ.js → GWEJGUQW.js} +1 -1
  29. package/dist/cdn/{QDMQERJE.js → I4OUQANJ.js} +1 -1
  30. package/dist/cdn/{NDWWMTS4.js → IK6MY2HE.js} +1 -1
  31. package/dist/cdn/{6EHQBSWA.js → ILETGW72.js} +1 -1
  32. package/dist/cdn/{PAMROVVE.js → JFR5JVI4.js} +1 -1
  33. package/dist/cdn/{PBPYRFS3.js → JTMG4KRE.js} +1 -1
  34. package/dist/cdn/{WG5YXJ2C.js → KQE3QJXP.js} +1 -1
  35. package/dist/cdn/{QTT3SC3J.js → LLDSFQI7.js} +1 -1
  36. package/dist/cdn/{ANYYYIRI.js → LSF3Q5BI.js} +1 -1
  37. package/dist/cdn/{53SSVK7N.js → LU5W5OGX.js} +1 -1
  38. package/dist/cdn/{7V6X72KT.js → MCN2YAVQ.js} +1 -1
  39. package/dist/cdn/{FY3TBFIV.js → ME2KXZR6.js} +1 -1
  40. package/dist/cdn/{7UJEERMJ.js → MM5DWG4Z.js} +1 -1
  41. package/dist/cdn/{WBFUQWNV.js → MQ7D32MU.js} +1 -1
  42. package/dist/cdn/{NI7A233E.js → MWRN4NMP.js} +1 -1
  43. package/dist/cdn/{PXCDE2VI.js → N6LRLTXP.js} +1 -1
  44. package/dist/cdn/{HOGVXO5U.js → NFNBC6UE.js} +1 -1
  45. package/dist/cdn/{53UMBR7N.js → NKN5XA65.js} +1 -1
  46. package/dist/cdn/{NGKSADMN.js → NSBQKGDJ.js} +1 -1
  47. package/dist/cdn/{UEP6ZQXG.js → NT6PULFX.js} +1 -1
  48. package/dist/cdn/{HJ5VB5VO.js → O7B23KPW.js} +1 -1
  49. package/dist/cdn/{LF6C4WDO.js → OXS3BUVP.js} +1 -1
  50. package/dist/cdn/{TNEQKLQT.js → PA4HXFQK.js} +1 -1
  51. package/dist/cdn/{ZKLOHQPH.js → PBXZMEVT.js} +1 -1
  52. package/dist/cdn/{P3J77G25.js → PFP7IW2P.js} +1 -1
  53. package/dist/cdn/{SP6T2Q5J.js → PMDOO6MT.js} +1 -1
  54. package/dist/cdn/{ICISCYJS.js → PR2Q6DG2.js} +1 -1
  55. package/dist/cdn/{XN3NVCAC.js → PVEQBJJK.js} +1 -1
  56. package/dist/cdn/{4A37DTZX.js → QDZAPDWO.js} +1 -1
  57. package/dist/cdn/{S56ZKFQJ.js → RAWLJTGB.js} +1 -1
  58. package/dist/cdn/{4FIQZ7ML.js → SDIXQEHK.js} +1 -1
  59. package/dist/cdn/{E2JOOTO5.js → SG5JZOJ4.js} +1 -1
  60. package/dist/cdn/{HEWIZKQY.js → T2H5CAKE.js} +1 -1
  61. package/dist/cdn/{7IHXUP3W.js → T6PAF3J4.js} +1 -1
  62. package/dist/cdn/{3ENZSG27.js → TMWU4SXC.js} +1 -1
  63. package/dist/cdn/{QBMK6EE3.js → TOMROR3N.js} +1 -1
  64. package/dist/cdn/{X7UW6GQP.js → TSXJ54LN.js} +1 -1
  65. package/dist/cdn/{QN4LSFXZ.js → TT5NFCCN.js} +1 -1
  66. package/dist/cdn/{3O67VAST.js → TTM72ER2.js} +1 -1
  67. package/dist/cdn/{SO6TB4XB.js → TUB6DD6P.js} +1 -1
  68. package/dist/cdn/V6MYWJ43.js +2 -0
  69. package/dist/cdn/{QOTBD6G3.js → VCE423TR.js} +1 -1
  70. package/dist/cdn/{ADYMQ4Y2.js → VLKYXLGM.js} +1 -1
  71. package/dist/cdn/{URFJXFHP.js → VNVHYLZL.js} +1 -1
  72. package/dist/cdn/{PHOEIZRB.js → VRUHRMTR.js} +1 -1
  73. package/dist/cdn/{IX25OK5T.js → VZJ3P6H4.js} +1 -1
  74. package/dist/cdn/{ST6NXHRA.js → W4FQX5MZ.js} +1 -1
  75. package/dist/cdn/{7CLOBWEI.js → WIIKUAWF.js} +2 -2
  76. package/dist/cdn/{W6FBDRM6.js → WKDCLXKD.js} +1 -1
  77. package/dist/cdn/{J5OL3IK4.js → XFVY54OH.js} +1 -1
  78. package/dist/cdn/{QUWAZG3L.js → XTBDGM2C.js} +1 -1
  79. package/dist/cdn/{DY7JRVSH.js → XUUBAZXM.js} +1 -1
  80. package/dist/cdn/{5HDOHGI4.js → YCEGV32W.js} +1 -1
  81. package/dist/cdn/{C5ZJ4DRI.js → ZFETT6QS.js} +1 -1
  82. package/dist/cdn/{RDBHOXAJ.js → ZLBGJEXZ.js} +1 -1
  83. package/dist/cdn/{NZIHTLRS.js → ZMOIBU57.js} +1 -1
  84. package/dist/cdn/{MBQT7SKP.js → ZMV4LQYC.js} +1 -1
  85. package/dist/cdn/index.js +1 -1
  86. package/dist/cdn/model/shared/setup-utils.js +1 -1
  87. package/dist/chunks/box-plot-data.js +1 -1
  88. package/dist/chunks/box-plot-model.js +1 -1
  89. package/dist/chunks/chart-ui-utils.js +11 -11
  90. package/dist/chunks/class-breaks.js +1 -1
  91. package/dist/chunks/combo-bar-line-chart-model.js +4 -4
  92. package/dist/chunks/data.js +19 -19
  93. package/dist/chunks/index.js +549 -524
  94. package/dist/chunks/index2.js +26 -25
  95. package/dist/chunks/index4.js +7 -7
  96. package/dist/chunks/model-setter.js +1 -1
  97. package/dist/chunks/negative-values-stacked-to-baseline.js +1 -1
  98. package/dist/chunks/rounded-corners.js +3 -3
  99. package/dist/chunks/scatterplot-model.js +9 -9
  100. package/dist/chunks/serial-chart-data.js +81 -81
  101. package/dist/chunks/serial-chart-model.js +14 -14
  102. package/dist/chunks/utils.js +8 -8
  103. package/dist/chunks/web-component-utils.js +19 -19
  104. package/dist/chunks/x-bounds.js +13 -13
  105. package/dist/components/arcgis-chart/customElement.js +3484 -3423
  106. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  107. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +4 -4
  108. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +12 -12
  109. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
  110. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
  111. package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
  112. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
  113. package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
  114. package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
  115. package/dist/components/arcgis-charts-config-guide/customElement.js +10 -10
  116. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
  117. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +1 -1
  118. package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
  119. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
  120. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  121. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
  122. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
  123. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +4 -4
  124. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
  125. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
  126. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
  127. package/dist/docs/api.json +1 -1
  128. package/dist/docs/docs.json +1 -1
  129. package/dist/docs/web-types.json +1 -1
  130. package/dist/index.js +85 -85
  131. package/dist/utils/chart-config/converter/index.js +20 -20
  132. package/package.json +4 -4
  133. package/dist/cdn/JT2V74UY.js +0 -2
  134. package/dist/cdn/MKT2I7XP.js +0 -3
@@ -1,26 +1,26 @@
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 J, memoize as Ye, isEmpty as $e } from "lodash-es";
3
+ import { cloneDeep as J, memoize as Ye, isEmpty as Xe } from "lodash-es";
4
4
  import { S as oe } from "./common.js";
5
- import { s as D, u as Y, a as Ie, g as ye, b as Le, c as Xe, d as He, e as pe } from "./utils.js";
6
- import { Y as L, aM as $, bi as Ue, bN as je, bO as Ze, bC as Ne, f as Ke, p as ee, W as _e, V as Qe, bP as ze, O as me, aW as Ge, bQ as Je, N as et, t as tt, bR as st, aN as it, Q as at, bS as rt, _ as nt, bw as ot, bT as lt, bU as fe, bV as ct, bW as ut, bX as dt, P as yt, bY as Se, bZ as _, bE as mt, aO as q, aV as Q, M as gt, r as j, a1 as Oe, b_ as W, bA as U, b$ as pt, c0 as ft, c1 as V, c2 as k, c3 as Fe, bB as xe } from "./index.js";
5
+ import { s as N, u as Y, a as Ie, g as ye, b as Le, c as $e, d as He, e as pe } from "./utils.js";
6
+ import { Y as L, aO as X, bj as Ue, bO as je, bP as Ze, bD as De, f as Ke, p as ee, W as _e, V as Qe, bQ as ze, O as me, aX as Ge, bR as Je, N as et, t as tt, bS as st, aP as it, Q as at, bT as rt, _ as nt, bx as ot, bU as lt, bV as fe, bW as ct, bX as ut, bY as dt, P as yt, bZ as Se, b_ as _, bF as mt, aQ as q, aW as Q, M as gt, r as j, a1 as Oe, b$ as W, bB as U, c0 as pt, c1 as ft, c2 as V, c3 as k, c4 as Fe, bC as xe } from "./index.js";
7
7
  import { a as E, s as ge, g as te, b as he, c as St } from "./data.js";
8
- import { a as T, d as I, f as Ft, l as R, t as N, h as X, g as xt, b as ht, e as le } from "./chart-object-literals.js";
9
- import { d as De, b as Tt } from "./rest-js-object-literals.js";
8
+ import { a as T, d as I, f as Ft, l as R, t as D, h as $, g as xt, b as ht, e as le } from "./chart-object-literals.js";
9
+ import { d as Ne, b as Tt } from "./rest-js-object-literals.js";
10
10
  import { i as se } from "./index4.js";
11
11
  import { q as Bt, W as z, X as ce, H as Ct, Y as bt, Z as At, _ as vt, $ as It, j as Lt } from "./index3.js";
12
- import { a as P, C as H, b as w } from "./index2.js";
13
- import { g as Ve, s as Nt } from "./series-types.js";
14
- import { C as Ot, m as Dt } from "./model-setter.js";
12
+ import { a as w, C as H, b as P } from "./index2.js";
13
+ import { g as Ve, s as Dt } from "./series-types.js";
14
+ import { C as Ot, m as Nt } from "./model-setter.js";
15
15
  import { convertChartSpec as Vt } from "../utils/chart-config/converter/index.js";
16
16
  import { i as ue, h as kt } from "./type-guards.js";
17
17
  import { g as ie } from "./utils2.js";
18
18
  import { b as qt, g as Rt } from "./series-length.js";
19
- const Ns = (s) => {
19
+ const Ds = (s) => {
20
20
  let e;
21
21
  const t = s.series[0];
22
22
  return L(t) && (e = t.temporalBinning?.size), e;
23
- }, wt = (s) => {
23
+ }, Pt = (s) => {
24
24
  let e;
25
25
  const t = s.series[0];
26
26
  return L(t) && (e = t.temporalBinning?.unit), e;
@@ -28,7 +28,7 @@ const Ns = (s) => {
28
28
  let e;
29
29
  const t = s.series[0];
30
30
  return L(t) && (e = t.temporalBinning?.timeAggregationType), e;
31
- }, Ds = (s) => {
31
+ }, Ns = (s) => {
32
32
  let e;
33
33
  const t = s.series[0];
34
34
  return L(t) && (e = t.temporalBinning?.trimIncompleteTimeInterval), e;
@@ -36,42 +36,42 @@ const Ns = (s) => {
36
36
  let e;
37
37
  const t = s.series[0];
38
38
  return L(t) && (e = t.temporalBinning?.nullPolicy), e;
39
- }, Pt = (s, e) => {
39
+ }, wt = (s, e) => {
40
40
  e?.series?.forEach((t) => {
41
41
  L(t) && (t.temporalBinning ??= {}, t.temporalBinning.size = s);
42
42
  });
43
43
  }, Et = (s, e) => {
44
44
  e?.series?.forEach((t) => {
45
45
  L(t) && (t.temporalBinning ??= {}, t.temporalBinning.nullPolicy = s);
46
- }), D({ config: e, value: null, axisIndex: 1, isMax: !1 }), D({ config: e, value: null, axisIndex: 1, isMax: !0 });
46
+ }), N({ config: e, value: null, axisIndex: 1, isMax: !1 }), N({ config: e, value: null, axisIndex: 1, isMax: !0 });
47
47
  }, ks = (s, e) => {
48
48
  e.series?.forEach((t) => {
49
49
  L(t) && (t.temporalBinning ??= {}, t.temporalBinning.unit = s);
50
- }), D({ config: e, value: null, axisIndex: 1, isMax: !1 }), D({ config: e, value: null, axisIndex: 1, isMax: !0 });
50
+ }), N({ config: e, value: null, axisIndex: 1, isMax: !1 }), N({ config: e, value: null, axisIndex: 1, isMax: !0 });
51
51
  }, qs = (s, e) => {
52
52
  e.series?.forEach((t) => {
53
53
  L(t) && (t.temporalBinning ??= {}, t.temporalBinning.timeAggregationType = s);
54
- }), D({ config: e, value: null, axisIndex: 1, isMax: !1 }), D({ config: e, value: null, axisIndex: 1, isMax: !0 });
54
+ }), N({ config: e, value: null, axisIndex: 1, isMax: !1 }), N({ config: e, value: null, axisIndex: 1, isMax: !0 });
55
55
  }, Rs = (s, e) => {
56
56
  e.series?.forEach((t) => {
57
57
  L(t) && (t.temporalBinning ??= {}, t.temporalBinning.trimIncompleteTimeInterval = s);
58
- }), D({ config: e, value: null, axisIndex: 1, isMax: !1 }), D({ config: e, value: null, axisIndex: 1, isMax: !0 });
58
+ }), N({ config: e, value: null, axisIndex: 1, isMax: !1 }), N({ config: e, value: null, axisIndex: 1, isMax: !0 });
59
59
  }, Mt = (s) => {
60
- Pt(0, s);
60
+ wt(0, s);
61
61
  };
62
- var Wt = Object.defineProperty, Yt = Object.getOwnPropertyDescriptor, $t = (s, e, t, r) => {
62
+ var Wt = Object.defineProperty, Yt = Object.getOwnPropertyDescriptor, Xt = (s, e, t, r) => {
63
63
  for (var i = Yt(e, t), a = s.length - 1, n; a >= 0; a--)
64
64
  (n = s[a]) && (i = n(e, t, i) || i);
65
65
  return i && Wt(e, t, i), i;
66
66
  };
67
- const Xt = (s) => {
67
+ const $t = (s) => {
68
68
  let e;
69
- return $(s) ? e = s.outTimeZone : s?.series.forEach((t) => {
69
+ return X(s) ? e = s.outTimeZone : s?.series.forEach((t) => {
70
70
  (t.type === T.BarSeries || t.type === T.RadarSeries || t.type === T.LineSeries) && t.temporalBinning && (e = t.temporalBinning.outTimeZone);
71
71
  }), e || (e = s?.axes?.[0]?.valueFormat.type === T.DateAxisFormat ? s.axes[0].valueFormat.intlOptions.timeZone : void 0), e;
72
72
  }, ke = (s, e) => {
73
73
  const t = Ue(s);
74
- $(e) ? s ? e.outTimeZone = t : delete e.outTimeZone : e?.series.forEach((r) => {
74
+ X(e) ? s ? e.outTimeZone = t : delete e.outTimeZone : e?.series.forEach((r) => {
75
75
  (r.type === T.BarSeries || r.type === T.RadarSeries || r.type === T.LineSeries) && (s ? (r.temporalBinning ??= {}, r.temporalBinning.outTimeZone = t) : r.temporalBinning && delete r.temporalBinning.outTimeZone);
76
76
  }), e?.axes?.[0]?.valueFormat.type === T.DateAxisFormat && (s ? e.axes[0].valueFormat.intlOptions.timeZone = t : delete e.axes[0].valueFormat.intlOptions.timeZone);
77
77
  };
@@ -80,20 +80,20 @@ class Ht extends Ot {
80
80
  * Gets the time zone for the chart.
81
81
  */
82
82
  get timeZone() {
83
- return Xt(this._config);
83
+ return $t(this._config);
84
84
  }
85
85
  set timeZone(e) {
86
86
  ke(e, this._config), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"));
87
87
  }
88
88
  }
89
- $t([
90
- Dt
89
+ Xt([
90
+ Nt
91
91
  ], Ht.prototype, "timeZone");
92
- function ws(s, e) {
92
+ function Ps(s, e) {
93
93
  let t;
94
94
  return e !== void 0 && (t = { ...e }, t.legend !== void 0 && (t.legend.position = s)), t;
95
95
  }
96
- function Ps(s, e) {
96
+ function ws(s, e) {
97
97
  let t;
98
98
  return e !== void 0 && (t = { ...e }, t.legend !== void 0 && (t.legend.visible = s)), t;
99
99
  }
@@ -106,7 +106,7 @@ function Ut(s) {
106
106
  return s !== void 0 && (e = { ...s }, delete e.axes?.[0]?.minimum, delete e.axes?.[0]?.maximum, delete e.axes?.[1]?.minimum, delete e.axes?.[1]?.maximum), e;
107
107
  }
108
108
  function Ms(s, e) {
109
- return e != null || Ne(s);
109
+ return e != null || De(s);
110
110
  }
111
111
  async function Ws(s) {
112
112
  const { config: e, layer: t, abortSignal: r } = s;
@@ -264,7 +264,7 @@ async function Qt(s) {
264
264
  const d = t.series.length === 0;
265
265
  t.series.length === 0 && u !== void 0 && t.series.push(u);
266
266
  const y = ee(t.series);
267
- if (y === P.BoxPlotC5MonoFieldAndSplitBy || y === P.BoxPlotC6MultiFieldsAndSplitBy || y === P.BoxPlotC7MonoFieldAndCategoryAndSplitBy || y === P.BarAndLineSplitBy || y === P.BarAndLineSplitByNoAggregation) {
267
+ if (y === w.BoxPlotC5MonoFieldAndSplitBy || y === w.BoxPlotC6MultiFieldsAndSplitBy || y === w.BoxPlotC7MonoFieldAndCategoryAndSplitBy || y === w.BarAndLineSplitBy || y === w.BarAndLineSplitByNoAggregation) {
268
268
  const g = et(t.series[0]?.query?.where), F = tt(r), x = st(g, F), S = x ? it(x) : !1, A = await jt({
269
269
  queryObject: r,
270
270
  chartConfig: t,
@@ -302,7 +302,7 @@ async function Qt(s) {
302
302
  return m;
303
303
  }
304
304
  function zt(s, e) {
305
- e && !Ne(e) && (e = Je({ chartConfig: e, queryObject: s }));
305
+ e && !De(e) && (e = Je({ chartConfig: e, queryObject: s }));
306
306
  }
307
307
  async function Ys(s) {
308
308
  const {
@@ -345,7 +345,7 @@ function Gt(s, e) {
345
345
  }
346
346
  return t;
347
347
  }
348
- function $s(s) {
348
+ function Xs(s) {
349
349
  const { data: e, config: t, showEmptySeries: r } = s, i = t.series.length, a = J(t);
350
350
  let n = !1;
351
351
  if (!r && i > 1 && e) {
@@ -358,7 +358,7 @@ function $s(s) {
358
358
  a.series.forEach((u) => {
359
359
  if (Array.isArray(o)) {
360
360
  let m = "";
361
- "y" in u && (m = Array.isArray(u.y) ? u.y[0] : u.y, c === P.BarAndLineSplitByNoAggregation && (m = `${m}_${me({ where: u.query?.where, keepSurroundingQuotes: !1, escape: !1 })}`), o.some(
361
+ "y" in u && (m = Array.isArray(u.y) ? u.y[0] : u.y, c === w.BarAndLineSplitByNoAggregation && (m = `${m}_${me({ where: u.query?.where, keepSurroundingQuotes: !1, escape: !1 })}`), o.some(
362
362
  (y) => Ge({
363
363
  dataItem: y,
364
364
  x: u.x,
@@ -394,7 +394,7 @@ function $s(s) {
394
394
  }
395
395
  return { seriesFilteredOut: n, filteredConfig: a };
396
396
  }
397
- const Xs = (s) => s.hideEmptyRowsAndColumns, Hs = (s, e) => {
397
+ const $s = (s) => s.hideEmptyRowsAndColumns, Hs = (s, e) => {
398
398
  s.hideEmptyRowsAndColumns = e;
399
399
  }, Us = (s, e) => {
400
400
  const t = s.series[0];
@@ -406,7 +406,7 @@ const Xs = (s) => s.hideEmptyRowsAndColumns, Hs = (s, e) => {
406
406
  const { yField: e, config: t, layerInfo: r, commonStrings: i } = s, { layerFieldsInfo: a } = r, n = ie(1, t), o = Jt(t), l = se(t), c = t.series[0];
407
407
  if (typeof e == "string" && o !== e && c) {
408
408
  if (c.y = e, Ut(t), o === n || l) {
409
- const p = w(a, e);
409
+ const p = P(a, e);
410
410
  Y(t, 1, p);
411
411
  }
412
412
  qe({ commonStrings: i, config: t, layerInfo: r });
@@ -427,11 +427,11 @@ const Xs = (s) => s.hideEmptyRowsAndColumns, Hs = (s, e) => {
427
427
  G({ axisIndex: 1, commonStrings: r, config: t });
428
428
  }, ts = (s) => s.series[0].yTemporalBinning, ss = (s, e) => {
429
429
  e.orderOptions ??= {};
430
- const t = e.axes?.[0]?.valueFormat?.type === "category" ? N.Category : N.YValue, r = de(e)[0], i = e.axes?.[1]?.valueFormat?.type === "category" ? N.Category : N.YValue, a = de(e)[1], n = {
430
+ const t = e.axes?.[0]?.valueFormat?.type === "category" ? D.Category : D.YValue, r = de(e)[0], i = e.axes?.[1]?.valueFormat?.type === "category" ? D.Category : D.YValue, a = de(e)[1], n = {
431
431
  ...e.orderOptions.data ?? {},
432
- orderType: N.MultiAxes
432
+ orderType: D.MultiAxes
433
433
  };
434
- r === oe.customSort && t === N.Category && (n.orderByX = [...s]), a === oe.customSort && i === N.Category && (n.orderByY = [...s]), Object.keys(n).length > 1 && (e.orderOptions.data = n);
434
+ r === oe.customSort && t === D.Category && (n.orderByX = [...s]), a === oe.customSort && i === D.Category && (n.orderByY = [...s]), Object.keys(n).length > 1 && (e.orderOptions.data = n);
435
435
  }, Gs = (s, e) => {
436
436
  const t = e.series[0];
437
437
  t.gridLine && (t.gridLine.width = s);
@@ -454,7 +454,7 @@ const Xs = (s) => s.hideEmptyRowsAndColumns, Hs = (s, e) => {
454
454
  }, n && t.title && (t.title.content.text = Z(t, r, i));
455
455
  }, ni = (s) => s.series[0].query?.outStatistics?.[0].statisticType ?? I.Count, oi = (s) => {
456
456
  const { aggregationType: e, config: t, layerInfo: r, commonStrings: i } = s, a = t.series[0]?.query?.outStatistics?.[0], n = ne(t, r, i);
457
- a && e !== I.NoAggregation && (a.statisticType = e, a.outStatisticFieldName = `${e}_${a.onStatisticField}`), (e === I.Count || e === I.Sum) && is(X.Zero, t), n && t.title && (t.title.content.text = Z(t, r, i));
457
+ a && e !== I.NoAggregation && (a.statisticType = e, a.outStatisticFieldName = `${e}_${a.onStatisticField}`), (e === I.Count || e === I.Sum) && is($.Zero, t), n && t.title && (t.title.content.text = Z(t, r, i));
458
458
  }, li = (s) => s.nullPolicy, is = (s, e) => {
459
459
  e.nullPolicy = s;
460
460
  }, ci = (s) => s.series[0].emptyCells, ui = (s, e) => {
@@ -563,7 +563,7 @@ const as = [
563
563
  intlOptions: e
564
564
  };
565
565
  }, ve = (s) => {
566
- const { axisIndex: e, binning: t, commonStrings: r, config: i, fieldName: a, layerInfo: n } = s, o = i.series[0], l = ie(e, i), c = w(n.layerFieldsInfo, a);
566
+ const { axisIndex: e, binning: t, commonStrings: r, config: i, fieldName: a, layerInfo: n } = s, o = i.series[0], l = ie(e, i), c = P(n.layerFieldsInfo, a);
567
567
  e === 0 ? o.xTemporalBinning = t : e === 1 && (o.yTemporalBinning = t), t !== void 0 && (l === "" || l === c || l === be(r, t.unit) || l === r.xAxis) && Y(i, e, be(r, t.unit));
568
568
  }, G = (s) => {
569
569
  const { axisIndex: e, commonStrings: t, config: r } = s, i = rs(r, e), a = i ? ns(i) : void 0;
@@ -601,7 +601,7 @@ const as = [
601
601
  function os(s) {
602
602
  const e = {};
603
603
  return s.series.forEach((t) => {
604
- Nt(t) && "nullCategory" in t && t.nullCategory !== void 0 && (e.text ??= t.nullCategory.text, t.type === T.BarSeries ? e.fillSymbol ??= t.nullCategory.fillSymbol : e.markerSymbol ??= t.nullCategory.markerSymbol);
604
+ Dt(t) && "nullCategory" in t && t.nullCategory !== void 0 && (e.text ??= t.nullCategory.text, t.type === T.BarSeries ? e.fillSymbol ??= t.nullCategory.fillSymbol : e.markerSymbol ??= t.nullCategory.markerSymbol);
605
605
  }), e.text || e.fillSymbol || e.markerSymbol ? e : void 0;
606
606
  }
607
607
  function ae(s) {
@@ -658,7 +658,7 @@ function ae(s) {
658
658
  ];
659
659
  }
660
660
  if (L(i.series[0]) && L(C)) {
661
- let B = wt(i);
661
+ let B = Pt(i);
662
662
  B === le.Quarter && (B = le.Month), C.temporalBinning = {
663
663
  ...i.series[0]?.temporalBinning,
664
664
  unit: B
@@ -667,7 +667,7 @@ function ae(s) {
667
667
  return J(C);
668
668
  }
669
669
  function Z(s, e, t) {
670
- const { layerFieldsInfo: r } = e, { idField: i, isTraditionalTypeOID: a } = j(e.layer), n = E(s), o = K(s), l = we(s), c = re(s), p = a && (o.length === 0 || o.includes(i)), f = Ct(l, t), u = p ? "" : o.map((S) => w(r ?? [], S)).join(", "), m = w(r ?? [], n), d = w(r ?? [], c), y = s.series.some((S) => W(S)), g = y ? "category" : "xAxisField", F = m;
670
+ const { layerFieldsInfo: r } = e, { idField: i, isTraditionalTypeOID: a } = j(e.layer), n = E(s), o = K(s), l = Pe(s), c = re(s), p = a && (o.length === 0 || o.includes(i)), f = Ct(l, t), u = p ? "" : o.map((S) => P(r ?? [], S)).join(", "), m = P(r ?? [], n), d = P(r ?? [], c), y = s.series.some((S) => W(S)), g = y ? "category" : "xAxisField", F = m;
671
671
  let x = "";
672
672
  if (ge({
673
673
  fieldName: n,
@@ -731,7 +731,7 @@ const Re = (s) => me({
731
731
  where: s.query?.where,
732
732
  normalize: !1,
733
733
  escape: !1
734
- }) ?? "", we = (s) => s?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? I.NoAggregation, re = Ye(
734
+ }) ?? "", Pe = (s) => s?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? I.NoAggregation, re = Ye(
735
735
  (s) => {
736
736
  const e = s?.series?.[0]?.query?.where?.split("=")[0].trim() ?? "";
737
737
  return gt(s?.series?.[0]?.query?.where) ? "" : e;
@@ -750,7 +750,7 @@ const Re = (s) => me({
750
750
  }
751
751
  return e.filter((t) => t !== "");
752
752
  };
753
- function Pe(s) {
753
+ function we(s) {
754
754
  const { splitByField: e, numericFields: t, layer: r, seriesIndex: i } = s, a = j(r).idField ?? "";
755
755
  return e === "" ? t[i] ?? a : t[0] ?? a;
756
756
  }
@@ -769,11 +769,11 @@ function ls(s) {
769
769
  }
770
770
  const de = (s) => {
771
771
  let e;
772
- if ($(s)) {
773
- const t = s.orderOptions?.data?.orderByX ?? [""], r = s.orderOptions?.data?.orderByY ?? [""], i = s.axes?.[0]?.valueFormat?.type === "category" ? N.Category : N.YValue, a = s.axes?.[1]?.valueFormat?.type === "category" ? N.Category : N.YValue;
772
+ if (X(s)) {
773
+ const t = s.orderOptions?.data?.orderByX ?? [""], r = s.orderOptions?.data?.orderByY ?? [""], i = s.axes?.[0]?.valueFormat?.type === "category" ? D.Category : D.YValue, a = s.axes?.[1]?.valueFormat?.type === "category" ? D.Category : D.YValue;
774
774
  e = [he(t, i), he(r, a)];
775
775
  } else {
776
- const t = s.orderOptions?.data?.orderType ?? N.Category, r = s.orderOptions?.data && "orderBy" in s.orderOptions.data ? s.orderOptions.data.orderBy : xt.Ascending;
776
+ const t = s.orderOptions?.data?.orderType ?? D.Category, r = s.orderOptions?.data && "orderBy" in s.orderOptions.data ? s.orderOptions.data.orderBy : xt.Ascending;
777
777
  e = [St(r, t)];
778
778
  }
779
779
  return e;
@@ -832,7 +832,7 @@ function Ee(s) {
832
832
  fieldList: o
833
833
  }).name, x = t[d], S = i.series.find(
834
834
  (O) => O.query?.where === void 0 && (O.query?.outStatistics?.length === 1 && O.query?.outStatistics?.[0]?.onStatisticField === x || O.query?.outStatistics === void 0 && (O.y === x || O.x === x))
835
- ), A = x !== l ? x : y.id, C = S?.id ?? A, B = S?.name ?? w(o, x) ?? C, v = S ?? y, b = {
835
+ ), A = x !== l ? x : y.id, C = S?.id ?? A, B = S?.name ?? P(o, x) ?? C, v = S ?? y, b = {
836
836
  ...v,
837
837
  id: C,
838
838
  name: B
@@ -854,7 +854,7 @@ function Ee(s) {
854
854
  );
855
855
  return u.length === 1 && p.length === 1 && W(u[0]) && W(p[0]) && (p[0].fillSymbol = u[0].fillSymbol), m.length === 1 && f.length === 1 && ((V(m[0]) && V(f[0]) || k(m[0]) && k(f[0])) && Me(f[0], m[0]), (V(m[0]) && V(f[0]) || k(m[0]) && k(f[0])) && (f[0].lineSymbol = m[0].lineSymbol, f[0].markerSymbol = m[0].markerSymbol)), c;
856
856
  }
857
- function Ni(s) {
857
+ function Di(s) {
858
858
  const { aggregationType: e, config: t, layerInfo: r, commonStrings: i } = s, { layerFieldsInfo: a, layer: n } = r, o = E(t), l = K(t), c = re(t), p = ne(t, r, i), f = We(t, r, i);
859
859
  if (t.series.forEach((u, m) => {
860
860
  const d = te({
@@ -869,7 +869,7 @@ function Ni(s) {
869
869
  fieldList: a
870
870
  }).name;
871
871
  u.y = d;
872
- const y = Pe({
872
+ const y = we({
873
873
  splitByField: c,
874
874
  numericFields: l,
875
875
  layer: n,
@@ -885,7 +885,7 @@ function Ni(s) {
885
885
  onStatisticField: g
886
886
  }
887
887
  ]
888
- }, "temporalBinning" in u && u.temporalBinning !== void 0 && (u.temporalBinning.nullPolicy = e === I.NoAggregation ? X.Interpolate : X.Null), e === I.NoAggregation && Mt(t);
888
+ }, "temporalBinning" in u && u.temporalBinning !== void 0 && (u.temporalBinning.nullPolicy = e === I.NoAggregation ? $.Interpolate : $.Null), e === I.NoAggregation && Mt(t);
889
889
  }), p && t.title && (t.title.content.text = Z(t, r, i)), f && t.series[0].type !== T.HeatSeries) {
890
890
  const u = ye({
891
891
  config: t,
@@ -907,7 +907,7 @@ function us(s) {
907
907
  layerInfo: n,
908
908
  commonStrings: o,
909
909
  splitByFieldInfos: l
910
- } = s, { layer: c, layerFieldsInfo: p } = n, { categoriesArray: f, splitByFieldType: u } = l, m = Pe({
910
+ } = s, { layer: c, layerFieldsInfo: p } = n, { categoriesArray: f, splitByFieldType: u } = l, m = we({
911
911
  splitByField: e,
912
912
  numericFields: r,
913
913
  layer: c,
@@ -956,7 +956,7 @@ function us(s) {
956
956
  y: F,
957
957
  query: {
958
958
  ...b.query,
959
- where: `${e}=${u === De.String && g !== null ? `'${g}'` : g}`,
959
+ where: `${e}=${u === Ne.String && g !== null ? `'${g}'` : g}`,
960
960
  outStatistics: i !== I.NoAggregation ? [
961
961
  {
962
962
  ...b.query?.outStatistics?.[0] ?? {},
@@ -1016,7 +1016,7 @@ const Oi = (s) => {
1016
1016
  commonStrings: o,
1017
1017
  splitByFieldInfos: l
1018
1018
  })), x && e !== U && a.series[0].type !== T.HeatSeries) {
1019
- const h = w(c, e);
1019
+ const h = P(c, e);
1020
1020
  Y(a, 0, h);
1021
1021
  }
1022
1022
  if (F && a.series[0].type !== T.HeatSeries) {
@@ -1031,36 +1031,36 @@ const Oi = (s) => {
1031
1031
  }
1032
1032
  g && a.title && (a.title.content.text = Z(a, n, o));
1033
1033
  const b = u === e;
1034
- if (D({
1034
+ if (N({
1035
1035
  config: a,
1036
1036
  value: b ? a.axes?.[1]?.minimum ?? null : null,
1037
1037
  axisIndex: 1,
1038
1038
  isMax: !1
1039
- }), D({
1039
+ }), N({
1040
1040
  config: a,
1041
1041
  value: b ? a.axes?.[1]?.maximum ?? null : null,
1042
1042
  axisIndex: 1,
1043
1043
  isMax: !0
1044
- }), ls({ numericFields: r, aggregationType: i, config: a, layerInfo: n }), (C || B) && (D({ config: a, value: null, axisIndex: 0, isMax: !1 }), D({ config: a, value: null, axisIndex: 0, isMax: !0 }), v && i !== I.NoAggregation && !$(p))) {
1045
- const h = q(y) ? X.Null : X.Interpolate;
1044
+ }), ls({ numericFields: r, aggregationType: i, config: a, layerInfo: n }), (C || B) && (N({ config: a, value: null, axisIndex: 0, isMax: !1 }), N({ config: a, value: null, axisIndex: 0, isMax: !0 }), v && i !== I.NoAggregation && !X(p))) {
1045
+ const h = q(y) ? $.Null : $.Interpolate;
1046
1046
  Et(h, a);
1047
1047
  }
1048
- $(a) && qe({ commonStrings: o, config: a, layerInfo: n }), a.series.forEach((h) => {
1049
- d && delete h.query, u !== e && L(h) && (y?.type === De.TimeOnly ? h.binTemporalData = !1 : h.binTemporalData = h.type === T.LineSeries && q(y));
1048
+ X(a) && qe({ commonStrings: o, config: a, layerInfo: n }), a.series.forEach((h) => {
1049
+ d && delete h.query, u !== e && L(h) && (y?.type === Ne.TimeOnly ? h.binTemporalData = !1 : h.binTemporalData = h.type === T.LineSeries && q(y));
1050
1050
  });
1051
1051
  }, Me = (s, e) => {
1052
1052
  s.markerVisible = e.markerVisible, s.lineSmoothed = e.lineSmoothed, s.showArea = e.showArea, s.areaColor = e.areaColor, s.stackNegativeValuesToBaseline = e.stackNegativeValuesToBaseline, e.lineSymbol && (s.lineSymbol = { ...e.lineSymbol, color: s.lineSymbol?.color }), e.markerSymbol && (s.markerSymbol = {
1053
1053
  ...e.markerSymbol,
1054
1054
  color: s.markerSymbol?.color
1055
1055
  });
1056
- }, Di = (s) => {
1056
+ }, Ni = (s) => {
1057
1057
  const { config: e, seriesIndex: t, layerInfo: r, commonStrings: i } = s, a = e.series?.[t], n = re(e);
1058
1058
  let o;
1059
- if (ee(e.series) === P.BarAndLineFromFields)
1059
+ if (ee(e.series) === w.BarAndLineFromFields)
1060
1060
  o = i.axisLabels.values;
1061
- else if ($e(n)) {
1061
+ else if (Xe(n)) {
1062
1062
  const c = a.query?.outStatistics?.[0]?.onStatisticField;
1063
- c !== void 0 && c !== j(r.layer).idField && (o = w(r.layerFieldsInfo, c));
1063
+ c !== void 0 && c !== j(r.layer).idField && (o = P(r.layerFieldsInfo, c));
1064
1064
  } else {
1065
1065
  const c = String(Re(a)).trim().replace(/'/gu, "");
1066
1066
  o = Oe({
@@ -1071,20 +1071,20 @@ const Oi = (s) => {
1071
1071
  }
1072
1072
  return o ?? a.id;
1073
1073
  }, Vi = (s, e) => {
1074
- if ($(e))
1074
+ if (X(e))
1075
1075
  ss(s, e);
1076
1076
  else {
1077
1077
  e.orderOptions ??= {};
1078
1078
  const t = e.orderOptions?.data?.orderType;
1079
- de(e)[0] === oe.customSort && t === N.Category && (e.orderOptions.data = {
1080
- orderType: N.Category,
1079
+ de(e)[0] === oe.customSort && t === D.Category && (e.orderOptions.data = {
1080
+ orderType: D.Category,
1081
1081
  orderBy: [...s]
1082
1082
  });
1083
1083
  }
1084
1084
  }, ki = async (s) => {
1085
1085
  const { config: e, layerInfo: t, errorStrings: r } = s, i = E(e), a = Le(e)?.type, n = K(e), o = ee(e.series);
1086
1086
  let l = [];
1087
- return a === T.CategoryAxisFormat && (o === P.BarAndLineFromFields || i === U ? l = n.map((c) => w(t?.layerFieldsInfo, c)) : i.trim() !== "" && i !== U && t !== void 0 && (l = await Xe({
1087
+ return a === T.CategoryAxisFormat && (o === w.BarAndLineFromFields || i === U ? l = n.map((c) => P(t?.layerFieldsInfo, c)) : i.trim() !== "" && i !== U && t !== void 0 && (l = await $e({
1088
1088
  layerInfo: t,
1089
1089
  config: e,
1090
1090
  category: i,
@@ -1101,12 +1101,12 @@ function We(s, e, t) {
1101
1101
  layerInfo: e,
1102
1102
  commonStrings: t,
1103
1103
  numericFields: K(s),
1104
- aggregationType: we(s)
1104
+ aggregationType: Pe(s)
1105
1105
  }), i = ie(1, s), a = se(s);
1106
1106
  return r === i || a;
1107
1107
  }
1108
1108
  function ds(s) {
1109
- const { config: e, layerInfo: t, commonStrings: r } = s, i = w(t.layerFieldsInfo, E(e)), a = ie(0, e), n = se(e), o = E(e) === U && (a === "" || a === r.xAxis);
1109
+ const { config: e, layerInfo: t, commonStrings: r } = s, i = P(t.layerFieldsInfo, E(e)), a = ie(0, e), n = se(e), o = E(e) === U && (a === "" || a === r.xAxis);
1110
1110
  return i === a || n || o;
1111
1111
  }
1112
1112
  function qi(s) {
@@ -1119,7 +1119,7 @@ function Ri(s, e) {
1119
1119
  size: 0,
1120
1120
  timeAggregationType: ht.Start,
1121
1121
  trimIncompleteTimeInterval: !0,
1122
- nullPolicy: X.Null
1122
+ nullPolicy: $.Null
1123
1123
  } : delete t.temporalBinning);
1124
1124
  });
1125
1125
  }
@@ -1149,7 +1149,7 @@ export {
1149
1149
  Ii as V,
1150
1150
  Ht as W,
1151
1151
  Li as X,
1152
- Xs as Y,
1152
+ $s as Y,
1153
1153
  Hs as Z,
1154
1154
  Js as _,
1155
1155
  Ms as a,
@@ -1177,22 +1177,22 @@ export {
1177
1177
  Ci as al,
1178
1178
  pi as am,
1179
1179
  fi as an,
1180
- ws as b,
1181
- Ps as c,
1180
+ Ps as b,
1181
+ ws as c,
1182
1182
  K as d,
1183
1183
  re as e,
1184
- $s as f,
1185
- we as g,
1186
- Di as h,
1184
+ Xs as f,
1185
+ Pe as g,
1186
+ Ni as h,
1187
1187
  Ws as i,
1188
- Ns as j,
1189
- Pt as k,
1190
- wt as l,
1188
+ Ds as j,
1189
+ wt as k,
1190
+ Pt as l,
1191
1191
  ks as m,
1192
1192
  Os as n,
1193
1193
  qs as o,
1194
1194
  Ys as p,
1195
- Ds as q,
1195
+ Ns as q,
1196
1196
  Ut as r,
1197
1197
  ke as s,
1198
1198
  Rs as t,
@@ -1200,6 +1200,6 @@ export {
1200
1200
  Vs as v,
1201
1201
  Et as w,
1202
1202
  Mt as x,
1203
- Ni as y,
1203
+ Di as y,
1204
1204
  de as z
1205
1205
  };
@@ -1,14 +1,14 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { isEqual as D } from "lodash-es";
3
3
  import { a as u, c as b, d as h } from "./chart-object-literals.js";
4
- import { b_ as I, c1 as v, bA as p, r as M } from "./index.js";
4
+ import { b$ as I, c2 as v, bB as p, r as M } from "./index.js";
5
5
  import { i as P } from "./index4.js";
6
6
  import { C as O } from "./chart-model.js";
7
7
  import { m as o } from "./model-setter.js";
8
8
  import { S as V } from "./common.js";
9
9
  import { M as N, a as k, W as E, b as U } from "./data-labels-visibility.js";
10
10
  import { M as j, a as X } from "./model-with-y-guides.js";
11
- import { g as d, d as y, j as Y, k as w, l as z, m as R, n as K, o as q, q as G, t as $, v as Z, w as H, x as J, y as Q, z as S, A as _, B as x, C as m, D as ee, E as ie, e as te, F as se, W as re } from "./serial-chart-data.js";
11
+ import { g as d, d as y, j as Y, k as w, l as z, m as R, n as K, o as $, q, t as G, v as Z, w as H, x as J, y as Q, z as S, A as _, B as x, C as m, D as ee, E as ie, e as te, F as se, W as re } from "./serial-chart-data.js";
12
12
  import { M as oe } from "./model-with-x-guides.js";
13
13
  import { W as ne, c as ae, d as le } from "./axis-lines-symbol.js";
14
14
  import { W as ge, c as ce, d as fe } from "./generate-x-axis-title.js";
@@ -16,12 +16,12 @@ import { W as he, a as pe } from "./x-bounds.js";
16
16
  import { W as me } from "./data-labels-symbol.js";
17
17
  import { W as de } from "./rotated-state.js";
18
18
  import { g as W, u as ye, s as T, j as ue, k as Se, l as _e, h as xe } from "./utils.js";
19
- import { d as F, e as C, a as Te } from "./data.js";
20
- import { u as Fe, m as Ce, a7 as Be, k as Ae, j as be } from "./index3.js";
19
+ import { d as F, e as B, a as Te } from "./data.js";
20
+ import { u as Fe, m as Be, a7 as Ce, k as Ae, j as be } from "./index3.js";
21
21
  import { s as L } from "./series-types.js";
22
- const B = (s, e) => e.series?.[s].assignToSecondValueAxis ?? !1, A = (s) => {
22
+ const C = (s, e) => e.series?.[s].assignToSecondValueAxis ?? !1, A = (s) => {
23
23
  const { assign: e, seriesIndex: i, config: t, commonStrings: r } = s;
24
- e && t.axes !== void 0 && !t.axes?.[2] && (t.axes[2] = Be(r, u.BarSeries)[1]), t.series && t.series.forEach((a, g) => {
24
+ e && t.axes !== void 0 && !t.axes?.[2] && (t.axes[2] = Ce(r, u.BarSeries)[1]), t.series && t.series.forEach((a, g) => {
25
25
  g === i ? a.assignToSecondValueAxis = e : g !== i && a?.assignToSecondValueAxis !== !0 && (a.assignToSecondValueAxis = !1);
26
26
  }), t.axes?.[2] && !t.series.some((a) => a.assignToSecondValueAxis) && t.axes.splice(2, 1);
27
27
  }, Ie = (s, e) => e.series?.[s]?.name, ve = (s, e, i) => {
@@ -37,7 +37,7 @@ const B = (s, e) => e.series?.[s].assignToSecondValueAxis ?? !1, A = (s) => {
37
37
  ...t.fillSymbol,
38
38
  color: s
39
39
  } : v(t) && (t.lineSymbol = {
40
- ...Ce(e),
40
+ ...Be(e),
41
41
  ...t.lineSymbol,
42
42
  color: s
43
43
  }));
@@ -99,16 +99,16 @@ class c extends O {
99
99
  return K(this._config);
100
100
  }
101
101
  set timeAggregationType(e) {
102
- q(e, this._config);
102
+ $(e, this._config);
103
103
  }
104
104
  /**
105
105
  * Whether to trim incomplete time intervals for a temporal bar chart or line chart.
106
106
  */
107
107
  get trimIncompleteTimeInterval() {
108
- return G(this._config);
108
+ return q(this._config);
109
109
  }
110
110
  set trimIncompleteTimeInterval(e) {
111
- $(e, this._config);
111
+ G(e, this._config);
112
112
  }
113
113
  /**
114
114
  * Policy which tells the chart how to handle null values.
@@ -217,7 +217,7 @@ class n extends O {
217
217
  * @deprecated since 5.2. Use {@link model/serial-chart-model/serial-chart-model#getSeriesToSecondaryYAxis getSeriesToSecondaryYAxis} instead.
218
218
  */
219
219
  getAssignToSecondValueAxis(e) {
220
- return B(e, this._config);
220
+ return C(e, this._config);
221
221
  }
222
222
  setAssignToSecondValueAxis(e, i) {
223
223
  A({ assign: e, seriesIndex: i, config: this._config, commonStrings: this.commonStrings });
@@ -228,7 +228,7 @@ class n extends O {
228
228
  * @param seriesIndex - The index of the series.
229
229
  */
230
230
  getSeriesToSecondaryYAxis(e) {
231
- return B(e, this._config);
231
+ return C(e, this._config);
232
232
  }
233
233
  setSeriesToSecondaryYAxis(e, i) {
234
234
  A({ assign: e, seriesIndex: i, config: this._config, commonStrings: this.commonStrings });
@@ -270,7 +270,7 @@ class n extends O {
270
270
  * The list of values for custom sort.
271
271
  */
272
272
  get orderByList() {
273
- return C(this._config);
273
+ return B(this._config);
274
274
  }
275
275
  set orderByList(e) {
276
276
  !P(this._config) && x(e, this._config);
@@ -358,7 +358,7 @@ class n extends O {
358
358
  t.splice(i, 0, r), this.setOrderOfSeries(t);
359
359
  }
360
360
  moveCustomSortValuesInOrderByList(e, i) {
361
- const t = C(this._config), [r] = t.splice(e, 1);
361
+ const t = B(this._config), [r] = t.splice(e, 1);
362
362
  t.splice(i, 0, r), x(t, this._config);
363
363
  }
364
364
  /**
@@ -1,6 +1,6 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { c as q, a as d, d as A, g as w } from "./chart-object-literals.js";
3
- import { r as I, ah as O, cb as k, cc as V, cd as L, ce as B, O as E, a1 as b } from "./index.js";
3
+ import { r as I, aj as O, cc as k, cd as V, ce as L, cf as B, O as E, a1 as b } from "./index.js";
4
4
  import { i as T } from "./type-guards.js";
5
5
  import { f as M, b as S, i as W, q as $ } from "./index2.js";
6
6
  import { substitute as h } from "@arcgis/core/intl.js";
@@ -47,7 +47,7 @@ function oe(s) {
47
47
  }
48
48
  return o;
49
49
  }
50
- const C = (s, e, i) => s.axes?.[e] ?? P(i, s.type)[e], D = (s) => {
50
+ const j = (s, e, i) => s.axes?.[e] ?? P(i, s.type)[e], C = (s) => {
51
51
  const { config: e, axis: i, axisIndex: t } = s;
52
52
  e.axes !== void 0 && (e.axes[t] = i);
53
53
  }, ne = (s) => {
@@ -58,13 +58,13 @@ const C = (s, e, i) => s.axes?.[e] ?? P(i, s.type)[e], D = (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
  }, le = (s) => s.axes?.[0]?.valueFormat ?? K(), ce = (s, e, i) => {
61
- const t = C(s, 0, e);
61
+ const t = j(s, 0, e);
62
62
  if (t !== void 0 && i !== void 0) {
63
63
  const a = {
64
64
  ...t,
65
65
  valueFormat: i
66
66
  };
67
- D({ config: s, axis: a, axisIndex: 0 });
67
+ C({ config: s, axis: a, axisIndex: 0 });
68
68
  }
69
69
  }, ue = (s, e, i) => {
70
70
  const t = s.axes?.[e];
@@ -84,13 +84,13 @@ const C = (s, e, i) => s.axes?.[e] ?? P(i, s.type)[e], D = (s) => {
84
84
  const t = e.axes?.[s]?.valueFormat;
85
85
  return (s === 0 || s >= 1 && O(t)) && (i = t), i;
86
86
  }, de = (s) => {
87
- const { config: e, commonStrings: i, valueFormat: t, axisIndex: a = 0 } = s, r = C(e, a, i);
87
+ const { config: e, commonStrings: i, valueFormat: t, axisIndex: a = 0 } = s, r = j(e, a, i);
88
88
  if (r !== void 0 && t !== void 0) {
89
89
  const o = {
90
90
  ...r,
91
91
  valueFormat: t
92
92
  };
93
- D({
93
+ C({
94
94
  config: e,
95
95
  axis: o,
96
96
  axisIndex: a
@@ -104,7 +104,7 @@ const C = (s, e, i) => s.axes?.[e] ?? P(i, s.type)[e], D = (s) => {
104
104
  e.axes?.[t] !== void 0 && (e.axes[t].scrollbar = i);
105
105
  };
106
106
  async function me(s) {
107
- const { config: e, layer: i, xAxisField: t, splitByField: a, layerFieldsInfo: r, aggregationFields: o, fetchNullValues: u, errorStrings: f } = s, n = r.filter((F) => F.name === a)[0]?.type, x = u !== !0 ? `${a} IS NOT NULL` : "", l = t && u !== !0 ? `${t} IS NOT NULL` : "", { where: m } = e?.dataFilters ?? {}, j = {
107
+ const { config: e, layer: i, xAxisField: t, splitByField: a, layerFieldsInfo: r, aggregationFields: o, fetchNullValues: u, errorStrings: f } = s, n = r.filter((F) => F.name === a)[0]?.type, x = u !== !0 ? `${a} IS NOT NULL` : "", l = t && u !== !0 ? `${t} IS NOT NULL` : "", { where: m } = e?.dataFilters ?? {}, D = {
108
108
  where: V([m, x, l]),
109
109
  // excluding the null values from the list
110
110
  orderByFields: W(a) ? [] : [`${a} ${w.Ascending}`],
@@ -121,7 +121,7 @@ async function me(s) {
121
121
  queryObject: i,
122
122
  category: e?.series[0].x ?? "",
123
123
  splitByField: a,
124
- queryConfig: j,
124
+ queryConfig: D,
125
125
  errorStrings: f
126
126
  }) : [];
127
127
  if (y = y.slice(0, 500), e) {