@arcgis/charts-components 5.2.0-next.0 → 5.2.0-next.2

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 (169) hide show
  1. package/dist/cdn/{H6NH46AS.js → 23YH7MTF.js} +1 -1
  2. package/dist/cdn/{LEK5TYY2.js → 24LTTBTF.js} +1 -1
  3. package/dist/cdn/{3HDCBEWA.js → 26FWESH3.js} +2 -2
  4. package/dist/cdn/{I6ILHZ4V.js → 2K4ODNJ4.js} +1 -1
  5. package/dist/cdn/{JJ2M4U57.js → 3DK6M5E7.js} +1 -1
  6. package/dist/cdn/{74GWGGKE.js → 3XHZ677O.js} +1 -1
  7. package/dist/cdn/{FKH3OVSJ.js → 3YT44D4Z.js} +1 -1
  8. package/dist/cdn/{ZIF2SLZ7.js → 5FMEOIBS.js} +2 -2
  9. package/dist/cdn/{XCBRFRLO.js → 5G7DSKI7.js} +1 -1
  10. package/dist/cdn/{H3VQJF7X.js → 5JML3JUR.js} +1 -1
  11. package/dist/cdn/{4ONG3Z7W.js → 5QO32XSX.js} +1 -1
  12. package/dist/cdn/{ZPMBL64I.js → 7ABIELGZ.js} +1 -1
  13. package/dist/cdn/{V7HFHWME.js → 7HIZH35G.js} +1 -1
  14. package/dist/cdn/{UUBMII4X.js → CCR46UHB.js} +1 -1
  15. package/dist/cdn/{M7DJDXCP.js → CJ4POAPM.js} +1 -1
  16. package/dist/cdn/{JN2ZWL6Y.js → CRFJ2GGS.js} +1 -1
  17. package/dist/cdn/{GGQP5JYM.js → E2N2S7BH.js} +1 -1
  18. package/dist/cdn/{LKLXYXQS.js → E43KEVHT.js} +1 -1
  19. package/dist/cdn/{ZVZ2XDVU.js → F7Y6EWWB.js} +1 -1
  20. package/dist/cdn/{6BUS62PQ.js → FDXE5JLT.js} +1 -1
  21. package/dist/cdn/{5MMDKA25.js → G5HVFOIO.js} +1 -1
  22. package/dist/cdn/{GKCSV5KX.js → G7TRU7JI.js} +1 -1
  23. package/dist/cdn/{3EOJXLYW.js → GES3HRXE.js} +1 -1
  24. package/dist/cdn/{HOX7NZNG.js → GL3IXVRN.js} +1 -1
  25. package/dist/cdn/{4MT26NON.js → HCMD362H.js} +1 -1
  26. package/dist/cdn/{XQN3IPCF.js → HCV34H6X.js} +1 -1
  27. package/dist/cdn/{IU3JHT4C.js → IHQ7R6L4.js} +1 -1
  28. package/dist/cdn/{VM7TU42Q.js → IUFXFWXH.js} +1 -1
  29. package/dist/cdn/{I6ZAHATO.js → JHYH555K.js} +1 -1
  30. package/dist/cdn/{P4T5TI3T.js → JVHJMPFE.js} +1 -1
  31. package/dist/cdn/{7JNA22OU.js → KI4HS3AM.js} +1 -1
  32. package/dist/cdn/{5PBHJCIL.js → KLC6NTPC.js} +1 -1
  33. package/dist/cdn/{I2AGE5R2.js → KOBNV5AQ.js} +1 -1
  34. package/dist/cdn/{2RU466XY.js → KVGEY3IQ.js} +1 -1
  35. package/dist/cdn/{ETLXX7MH.js → KXNZEPLT.js} +36 -36
  36. package/dist/cdn/{GJNWHFFY.js → LDPHZHSF.js} +1 -1
  37. package/dist/cdn/{O3YTMAQX.js → LONASKGH.js} +1 -1
  38. package/dist/cdn/{Z7EBST4A.js → LRNADJJG.js} +1 -1
  39. package/dist/cdn/{OBPXCFUE.js → LWODMEOP.js} +1 -1
  40. package/dist/cdn/{SOSPMFB6.js → LYZGRYQV.js} +1 -1
  41. package/dist/cdn/{BI4UYGSS.js → LZYN55O4.js} +1 -1
  42. package/dist/cdn/{JOI6WL3P.js → MF3FGXHI.js} +1 -1
  43. package/dist/cdn/{WBH5XG4U.js → MUPHTV55.js} +1 -1
  44. package/dist/cdn/{LDLY2SF3.js → N524VXQ2.js} +1 -1
  45. package/dist/cdn/{V7TM2WGV.js → N5ERJZPG.js} +1 -1
  46. package/dist/cdn/{PD433VW7.js → NGPMU4T3.js} +1 -1
  47. package/dist/cdn/{XMMHYOKG.js → NJCZ6UTM.js} +1 -1
  48. package/dist/cdn/{4WLT4SF2.js → NMB6TWC2.js} +1 -1
  49. package/dist/cdn/{Q3AILKYR.js → NNNTZU5J.js} +1 -1
  50. package/dist/cdn/{SSIG3VVL.js → NQQW4GKA.js} +1 -1
  51. package/dist/cdn/{IMK7WGD3.js → OE3UFORR.js} +1 -1
  52. package/dist/cdn/{BAIMTE2A.js → P2NPQAJ3.js} +1 -1
  53. package/dist/cdn/{QR5JSPMD.js → PC7IKOIB.js} +1 -1
  54. package/dist/cdn/{SOQJHUX7.js → PJUAU42S.js} +1 -1
  55. package/dist/cdn/{NI5ICKEY.js → PK5XIIZY.js} +1 -1
  56. package/dist/cdn/{MJCXQCOV.js → PSO5AURI.js} +1 -1
  57. package/dist/cdn/{ZSNIMQ53.js → PVJEBBA7.js} +1 -1
  58. package/dist/cdn/{2CKPKXNB.js → PY5Q3V6E.js} +1 -1
  59. package/dist/cdn/{BXXLVGNQ.js → PZGIXDMC.js} +1 -1
  60. package/dist/cdn/{C3ZSWQ3I.js → R45FWF7D.js} +1 -1
  61. package/dist/cdn/{ZCIQS5VL.js → RAQZUMC6.js} +1 -1
  62. package/dist/cdn/{RJN2Y6QR.js → RFQBUWOW.js} +1 -1
  63. package/dist/cdn/{QPZNCW73.js → RMYZGOBM.js} +1 -1
  64. package/dist/cdn/{UUO3C7JX.js → RX3RNE7F.js} +1 -1
  65. package/dist/cdn/{4DN22Z2T.js → TAI4RIWT.js} +1 -1
  66. package/dist/cdn/{DA7U5FLY.js → TNB3MBXR.js} +1 -1
  67. package/dist/cdn/{76ZTJWGM.js → TU3UF32Y.js} +1 -1
  68. package/dist/cdn/{L4RUPWN7.js → TYMKFCF4.js} +1 -1
  69. package/dist/cdn/{UQN6IMJJ.js → TZB57XD4.js} +1 -1
  70. package/dist/cdn/{AUFCZ2VI.js → U2LJZ4ML.js} +1 -1
  71. package/dist/cdn/{IFUSMYSL.js → U4XLNCOU.js} +1 -1
  72. package/dist/cdn/{E4SQHQBK.js → UAJGYF4S.js} +1 -1
  73. package/dist/cdn/{35COV7CA.js → UKDTXHZT.js} +1 -1
  74. package/dist/cdn/{F22N7RZE.js → UT6G7RV7.js} +1 -1
  75. package/dist/cdn/{ERSFBFQP.js → VDG54AIC.js} +1 -1
  76. package/dist/cdn/{MRSWVYMY.js → VEA5ZR5D.js} +1 -1
  77. package/dist/cdn/{ROIT25TY.js → VVKV5KKN.js} +1 -1
  78. package/dist/cdn/{G2RDPRW6.js → WEQBZOH7.js} +1 -1
  79. package/dist/cdn/WO6JBNMU.js +2 -0
  80. package/dist/cdn/{LKY2A3U6.js → WPPMMVD5.js} +1 -1
  81. package/dist/cdn/{AHXJHLWG.js → YRBE7MBU.js} +1 -1
  82. package/dist/cdn/{DPSPWVA2.js → ZRFHAQL6.js} +1 -1
  83. package/dist/cdn/{FJFVM6MK.js → ZRZEKOEF.js} +1 -1
  84. package/dist/cdn/index.js +1 -1
  85. package/dist/chunks/axis-lines-symbol.js +4 -4
  86. package/dist/chunks/bar-chart-model.js +13 -13
  87. package/dist/chunks/bar-chart-series.js +1 -1
  88. package/dist/chunks/box-plot-data.js +5 -5
  89. package/dist/chunks/box-plot-model.js +18 -18
  90. package/dist/chunks/chart-model.js +2 -2
  91. package/dist/chunks/chart-ui-utils2.js +13 -13
  92. package/dist/chunks/class-breaks.js +5 -5
  93. package/dist/chunks/combo-bar-line-chart-model.js +2 -2
  94. package/dist/chunks/data.js +21 -21
  95. package/dist/chunks/gauge-model.js +14 -14
  96. package/dist/chunks/generate-x-axis-title.js +4 -4
  97. package/dist/chunks/heat-chart-model.js +19 -19
  98. package/dist/chunks/histogram-data.js +2 -2
  99. package/dist/chunks/histogram-model.js +11 -11
  100. package/dist/chunks/index2.js +302 -297
  101. package/dist/chunks/index3.js +7 -7
  102. package/dist/chunks/index4.js +10755 -680
  103. package/dist/chunks/index5.js +87 -10782
  104. package/dist/chunks/index6.js +63 -100
  105. package/dist/chunks/interfaces.js +3 -3
  106. package/dist/chunks/line-chart-model.js +2 -2
  107. package/dist/chunks/model-setter.js +10 -10
  108. package/dist/chunks/model-with-x-guides.js +6 -6
  109. package/dist/chunks/model-with-y-guides.js +2 -2
  110. package/dist/chunks/negative-values-stacked-to-baseline.js +2 -2
  111. package/dist/chunks/pie-chart-data.js +2 -2
  112. package/dist/chunks/pie-chart-model.js +2 -2
  113. package/dist/chunks/radar-chart-model.js +2 -2
  114. package/dist/chunks/scatterplot-model.js +18 -18
  115. package/dist/chunks/serial-chart-data.js +171 -166
  116. package/dist/chunks/serial-chart-model.js +44 -44
  117. package/dist/chunks/series-length.js +2 -2
  118. package/dist/chunks/series.js +2 -2
  119. package/dist/chunks/store.js +5 -5
  120. package/dist/chunks/time-zone.js +1 -1
  121. package/dist/chunks/type-guards3.js +4 -4
  122. package/dist/chunks/utils.js +9 -9
  123. package/dist/chunks/web-component-utils.js +9 -9
  124. package/dist/chunks/x-bounds.js +4 -4
  125. package/dist/components/arcgis-chart/customElement.js +5365 -5482
  126. package/dist/components/arcgis-charts-action-bar/customElement.js +19 -19
  127. package/dist/components/arcgis-charts-config-axis/customElement.js +2 -2
  128. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  129. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +3 -3
  130. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
  131. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
  132. package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
  133. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +3 -3
  134. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
  135. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
  136. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  137. package/dist/components/arcgis-charts-config-create-flow/customElement.js +7 -7
  138. package/dist/components/arcgis-charts-config-format/customElement.js +3 -3
  139. package/dist/components/arcgis-charts-config-general/customElement.js +2 -2
  140. package/dist/components/arcgis-charts-config-guide/customElement.js +13 -13
  141. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
  142. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +4 -4
  143. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +1 -1
  144. package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
  145. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +7 -7
  146. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +14 -14
  147. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  148. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
  149. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
  150. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
  151. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
  152. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +4 -4
  153. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
  154. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
  155. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +2 -2
  156. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
  157. package/dist/docs/api.json +1 -1
  158. package/dist/docs/docs.json +1 -1
  159. package/dist/docs/web-types.json +1 -1
  160. package/dist/index.d.ts +13 -1
  161. package/dist/index.js +474 -471
  162. package/dist/{model.js → model/shared/setup-utils.js} +12 -12
  163. package/dist/utils/chart-config/converter/index.js +723 -0
  164. package/dist/utils/data/index.d.ts +2 -0
  165. package/package.json +5 -3
  166. package/dist/cdn/6LTWEPUM.js +0 -2
  167. package/dist/chunks/index7.js +0 -66
  168. /package/dist/cdn/{WVRBLV5L.js → IVLVCLDE.js} +0 -0
  169. /package/dist/cdn/{MHG42BA5.js → WNKDEOFZ.js} +0 -0
@@ -2,25 +2,25 @@
2
2
  import { substitute as P } from "@arcgis/core/intl.js";
3
3
  import { cloneDeep as ae, isEmpty as Ie, memoize as Le } from "lodash-es";
4
4
  import { S as J } from "./common.js";
5
- import { s as N, u as E, g as re, d as Fe, e as Ve, f as qe, j as ce } from "./utils.js";
6
- import { w as R, bW as Ne, bl as Re, x as ke, Y, c4 as Oe, c7 as De, p as we, aH as le, c0 as Pe, d as Ee, aG as Me, I as $e, a7 as We, bj as Ye, W as Xe, e as je, bm as He, c8 as Ke, v as Ue, c9 as de, bK as Qe, ca as ze, bG as Ge, B as _e, c5 as Ze, an as X, a6 as he, c3 as ne, b9 as Je, k as ee, bo as et, bs as ye, ba as H, bg as me } from "./index2.js";
7
- import { a as M, c as xe, g as Q, e as ge, f as tt } from "./data.js";
8
- import { g as Te } from "./series-types.js";
9
- import { u as v, r as V, k as st, n as q, m as K, p as it, t as at, s as te } from "./chart-object-literals.js";
5
+ import { s as N, u as E, g as re, a as Fe, b as qe, c as Ve, d as ce } from "./utils.js";
6
+ import { w as R, bW as Ne, bl as Re, x as ke, Y as W, cq as Oe, cp as De, p as we, aH as le, c0 as Pe, d as Ee, aG as Me, I as $e, a7 as Ye, bj as We, W as Xe, e as He, bm as je, cY as Ke, v as Ue, d2 as de, bK as Qe, d3 as ze, bG as Ge, B as _e, d0 as Ze, an as X, a6 as he, cR as ne, b9 as Je, k as ee, bo as et, bs as ye, ba as j, bg as me } from "./index2.js";
7
+ import { a as M, s as Te, g as Q, b as ge, c as tt } from "./data.js";
8
+ import { g as xe } from "./series-types.js";
9
+ import { u as v, r as q, k as st, n as V, m as K, p as it, t as at, s as te } from "./chart-object-literals.js";
10
10
  import { C as D, d as w, F as U } from "./index3.js";
11
- import { a as rt } from "./index4.js";
12
- import { h as Be, i as O, j as lt, n as nt, g as b, m as A, e as pe } from "./index6.js";
11
+ import { convertChartSpec as rt } from "../utils/chart-config/converter/index.js";
12
+ import { h as Be, i as O, j as lt, n as nt, g as b, m as A, e as pe } from "./index5.js";
13
13
  import { c as se, e as ot } from "./type-guards.js";
14
14
  import { az as ut, t as ct, Y as dt, a9 as yt, al as mt, x as gt, C as fe, H as Se, $ as pt } from "./index.js";
15
15
  import { g as oe } from "./utils2.js";
16
- import { b as ft, a as St } from "./series-length.js";
16
+ import { a as ft, b as St } from "./series-length.js";
17
17
  import { i as Ft, R as ht } from "./rest-js-object-literals.js";
18
- import { i as z } from "./index5.js";
18
+ import { i as z } from "./index4.js";
19
19
  const ts = (t) => {
20
20
  let e;
21
21
  const s = t.series[0];
22
22
  return R(s) && (e = s.temporalBinning?.size), e;
23
- }, xt = (t) => {
23
+ }, Tt = (t) => {
24
24
  let e;
25
25
  const s = t.series[0];
26
26
  return R(s) && (e = s.temporalBinning?.unit), e;
@@ -36,7 +36,7 @@ const ts = (t) => {
36
36
  let e;
37
37
  const s = t.series[0];
38
38
  return R(s) && (e = s.temporalBinning?.nullPolicy), e;
39
- }, Tt = (t, e) => {
39
+ }, xt = (t, e) => {
40
40
  e?.series?.forEach((s) => {
41
41
  R(s) && (s.temporalBinning ??= {}, s.temporalBinning.size = t);
42
42
  }), N({ config: e, value: null, axisIndex: 1, isMax: !1 }), N({ config: e, value: null, axisIndex: 1, isMax: !0 });
@@ -57,7 +57,7 @@ const ts = (t) => {
57
57
  R(s) && (s.temporalBinning ??= {}, s.temporalBinning.trimIncompleteTimeInterval = t);
58
58
  }), N({ config: e, value: null, axisIndex: 1, isMax: !1 }), N({ config: e, value: null, axisIndex: 1, isMax: !0 });
59
59
  }, os = (t) => {
60
- Tt(0, t);
60
+ xt(0, t);
61
61
  };
62
62
  function us(t, e) {
63
63
  let s;
@@ -97,13 +97,13 @@ async function bt(t) {
97
97
  chartLimits: F
98
98
  } = t;
99
99
  let l = [], g;
100
- const d = ae(s), y = d.series[0], u = je({
100
+ const d = ae(s), y = d.series[0], u = He({
101
101
  queryObject: e,
102
102
  chartConfig: d,
103
103
  runtimeDataFilters: n,
104
104
  ignoreViewExtent: o
105
105
  });
106
- if (u.outStatistics?.[0]?.outStatisticFieldName && (u.outStatistics[0].outStatisticFieldName = ut.outStatistics.outStatisticFieldName), R(y) && He({
106
+ if (u.outStatistics?.[0]?.outStatisticFieldName && (u.outStatistics[0].outStatisticFieldName = ut.outStatistics.outStatisticFieldName), R(y) && je({
107
107
  xAxisValueFormatType: Ke(d),
108
108
  setTimeBinningInfoWhenNotProvided: c,
109
109
  seriesConfig: y,
@@ -130,8 +130,8 @@ async function bt(t) {
130
130
  new Set(
131
131
  g.flatMap((f) => {
132
132
  const { stackedAttributes: k } = f;
133
- let x = [];
134
- return k && (x = k.map((S) => S[r]).filter((S) => S !== void 0)), x;
133
+ let T = [];
134
+ return k && (T = k.map((S) => S[r]).filter((S) => S !== void 0)), T;
135
135
  })
136
136
  ).values()
137
137
  );
@@ -178,7 +178,7 @@ function At(t, e) {
178
178
  escape: !1
179
179
  });
180
180
  e && a !== null && (a = Number(a));
181
- const i = Te([r]);
181
+ const i = xe([r]);
182
182
  i !== void 0 && s.set(i, [
183
183
  ...s.get(i) ?? [],
184
184
  a
@@ -229,9 +229,9 @@ async function Lt(t) {
229
229
  if (r && !se(r) && e !== void 0 && s !== void 0 && (s.series.length > 0 || l !== void 0) && e.addMissingSeries) {
230
230
  const d = s.series.length === 0;
231
231
  s.series.length === 0 && l !== void 0 && s.series.push(l);
232
- const y = Y(s.series);
232
+ const y = W(s.series);
233
233
  if (y === D.BoxPlotMonoFieldAndSplitBy || y === D.BoxPlotMultiFieldsAndSplitBy || y === D.BoxPlotMonoFieldAndCategoryAndSplitBy || y === D.BarAndLineSplitBy || y === D.BarAndLineSplitByNoAggregation) {
234
- const u = Me(s.series[0]?.query?.where), p = $e(r), B = We(u, p), C = B ? Ye(B) : !1, h = await bt({
234
+ const u = Me(s.series[0]?.query?.where), p = $e(r), B = Ye(u, p), C = B ? We(B) : !1, h = await bt({
235
235
  queryObject: r,
236
236
  chartConfig: s,
237
237
  splitByField: u,
@@ -244,13 +244,13 @@ async function Lt(t) {
244
244
  errorStrings: a
245
245
  }), { allValues: f } = h;
246
246
  if ({ preFetchedQueryResponse: g } = h, f.length > 0) {
247
- const k = At(s, C), x = vt({
247
+ const k = At(s, C), T = vt({
248
248
  allValues: f,
249
249
  configUniqueValuesPerSeriesType: k,
250
250
  initialConfigWasEmpty: d
251
251
  });
252
- Array.from(x.keys()).forEach((S) => {
253
- (x.get(S) ?? []).forEach((L) => {
252
+ Array.from(T.keys()).forEach((S) => {
253
+ (T.get(S) ?? []).forEach((L) => {
254
254
  s.series.push(
255
255
  It({
256
256
  chartConfig: s,
@@ -266,7 +266,7 @@ async function Lt(t) {
266
266
  }
267
267
  return g;
268
268
  }
269
- function Vt(t, e) {
269
+ function qt(t, e) {
270
270
  e && !Be(e) && (e = Ee({ chartConfig: e, queryObject: t }));
271
271
  }
272
272
  async function gs(t) {
@@ -286,7 +286,7 @@ async function gs(t) {
286
286
  errorStrings: d
287
287
  } = t;
288
288
  let y = e, u;
289
- return y && (Vt(s, y), y = await rt(y, s, void 0, o), r && n && (u = await Lt({
289
+ return y && (qt(s, y), y = await rt(y, s, void 0, o), r && n && (u = await Lt({
290
290
  updateSplitBySeries: a,
291
291
  config: y,
292
292
  queryObject: n,
@@ -299,7 +299,7 @@ async function gs(t) {
299
299
  chartLimits: g
300
300
  })), y = Ne(y, i)), { alteredConfig: y, preFetchedQueryResponse: u };
301
301
  }
302
- function qt(t, e) {
302
+ function Vt(t, e) {
303
303
  let s = !1;
304
304
  if (e !== void 0) {
305
305
  const r = Xe({ key: _e.Average, splitBy: e });
@@ -311,7 +311,7 @@ function ps(t) {
311
311
  const { data: e, config: s, showEmptySeries: r } = t, a = s.series.length, i = ae(s);
312
312
  let n = !1;
313
313
  if (!r && a > 1 && e) {
314
- const o = ke(e), c = Te(s?.series), m = Y(s?.series), F = /* @__PURE__ */ new Set();
314
+ const o = ke(e), c = xe(s?.series), m = W(s?.series), F = /* @__PURE__ */ new Set();
315
315
  switch (c) {
316
316
  case v.ComboLineAndBarSeries:
317
317
  case v.BarSeries:
@@ -321,7 +321,12 @@ function ps(t) {
321
321
  if (Array.isArray(o)) {
322
322
  let d = "";
323
323
  "y" in g && (d = Array.isArray(g.y) ? g.y[0] : g.y, m === D.BarAndLineSplitByNoAggregation && (d = `${d}_${le({ where: g.query?.where, keepSurroundingQuotes: !1, escape: !1 })}`), o.some(
324
- (u) => Pe({ dataItem: u, x: g.x, y: d })
324
+ (u) => Pe({
325
+ dataItem: u,
326
+ x: g.x,
327
+ y: d,
328
+ aggregationType: s.series[0].query?.outStatistics?.[0]?.statisticType
329
+ })
325
330
  ) && F.add(g));
326
331
  }
327
332
  });
@@ -339,7 +344,7 @@ function ps(t) {
339
344
  showOutliers: g
340
345
  })
341
346
  )) : d.type === v.LineSeries && (y = e.meanLines, u = y?.some(
342
- (p) => qt(p, d.query?.where)
347
+ (p) => Vt(p, d.query?.where)
343
348
  )), u && F.add(d);
344
349
  });
345
350
  }
@@ -356,10 +361,10 @@ const fs = (t) => t.hideEmptyRowsAndColumns, Ss = (t, e) => {
356
361
  }, Fs = (t, e) => {
357
362
  const s = t.series[0];
358
363
  s.heatRulesType = e;
359
- }, hs = (t) => t.series[0].heatRulesType, xs = (t, e) => {
364
+ }, hs = (t) => t.series[0].heatRulesType, Ts = (t, e) => {
360
365
  const s = t.series[0];
361
366
  s.gradientRules = e;
362
- }, Ts = (t) => t.series[0].gradientRules, Bs = (t) => {
367
+ }, xs = (t) => t.series[0].gradientRules, Bs = (t) => {
363
368
  const { yField: e, config: s, layerInfo: r } = t, { layerFieldsInfo: a } = r, i = oe(1, s), n = Nt(s), o = z(s), c = s.series[0];
364
369
  if (typeof e == "string" && n !== e && c && (c.y = e, Ct(s), n === i || o)) {
365
370
  const m = w(a, e);
@@ -379,18 +384,18 @@ const fs = (t) => t.hideEmptyRowsAndColumns, Ss = (t, e) => {
379
384
  }
380
385
  }, vs = (t) => t.series[0].yTemporalBinning, Rt = (t, e) => {
381
386
  e.orderOptions ??= {};
382
- const s = e.axes?.[0]?.valueFormat?.type === "category" ? q.Category : q.YValue, r = ie(e)[0], a = e.axes?.[1]?.valueFormat?.type === "category" ? q.Category : q.YValue, i = ie(e)[1], n = {
387
+ const s = e.axes?.[0]?.valueFormat?.type === "category" ? V.Category : V.YValue, r = ie(e)[0], a = e.axes?.[1]?.valueFormat?.type === "category" ? V.Category : V.YValue, i = ie(e)[1], n = {
383
388
  ...e.orderOptions.data ?? {},
384
- orderType: q.MultiAxes
389
+ orderType: V.MultiAxes
385
390
  };
386
- r === J.customSort && s === q.Category && (n.orderByX = [...t]), i === J.customSort && a === q.Category && (n.orderByY = [...t]), Object.keys(n).length > 1 && (e.orderOptions.data = n);
391
+ r === J.customSort && s === V.Category && (n.orderByX = [...t]), i === J.customSort && a === V.Category && (n.orderByY = [...t]), Object.keys(n).length > 1 && (e.orderOptions.data = n);
387
392
  }, Is = (t, e) => {
388
393
  const s = e.series[0];
389
394
  s.gridLine && (s.gridLine.width = t);
390
- }, Ls = (t) => t.series[0].gridLine?.width, Vs = (t, e) => {
395
+ }, Ls = (t) => t.series[0].gridLine?.width, qs = (t, e) => {
391
396
  const s = e.series[0], r = t?.length === 4 && t.every((a) => typeof a == "number");
392
397
  s.gridLine && r && (s.gridLine.color = t);
393
- }, qs = (t) => t.series[0].gridLine?.color, Ns = (t, e) => {
398
+ }, Vs = (t) => t.series[0].gridLine?.color, Ns = (t, e) => {
394
399
  const s = e.legend;
395
400
  s && (s.position = t);
396
401
  }, Rs = (t) => t.legend?.position ?? st.Bottom, ks = (t) => t.series[0].query?.outStatistics?.[0]?.onStatisticField, Os = (t) => {
@@ -399,23 +404,23 @@ const fs = (t) => t.hideEmptyRowsAndColumns, Ss = (t, e) => {
399
404
  outStatistics: [
400
405
  {
401
406
  onStatisticField: e,
402
- outStatisticFieldName: `${V.Count}_${e}`,
403
- statisticType: V.Count
407
+ outStatisticFieldName: `${q.Count}_${e}`,
408
+ statisticType: q.Count
404
409
  }
405
410
  ]
406
- }, n && s.title && (s.title.content.text = j(s, r, a));
407
- }, Ds = (t) => t.series[0].query?.outStatistics?.[0].statisticType ?? V.Count, ws = (t) => {
411
+ }, n && s.title && (s.title.content.text = H(s, r, a));
412
+ }, Ds = (t) => t.series[0].query?.outStatistics?.[0].statisticType ?? q.Count, ws = (t) => {
408
413
  const { aggregationType: e, config: s, layerInfo: r, commonStrings: a } = t, i = s.series[0]?.query?.outStatistics?.[0], n = _(s, r, a);
409
- i && e !== V.NoAggregation && (i.statisticType = e, i.outStatisticFieldName = `${e}_${i.onStatisticField}`), (e === V.Count || e === V.Sum) && kt(K.Zero, s), n && s.title && (s.title.content.text = j(s, r, a));
414
+ i && e !== q.NoAggregation && (i.statisticType = e, i.outStatisticFieldName = `${e}_${i.onStatisticField}`), (e === q.Count || e === q.Sum) && kt(K.Zero, s), n && s.title && (s.title.content.text = H(s, r, a));
410
415
  }, Ps = (t) => t.nullPolicy, kt = (t, e) => {
411
416
  e.nullPolicy = t;
412
417
  }, Es = (t) => t.series[0].emptyCells, Ms = (t, e) => {
413
418
  e.series[0].emptyCells = t;
414
- }, $s = (t) => t.series[0].emptyCells?.text, Ws = (t, e) => {
419
+ }, $s = (t) => t.series[0].emptyCells?.text, Ys = (t, e) => {
415
420
  e.series[0].emptyCells ? e.series[0].emptyCells.text = t : e.series[0].emptyCells = { text: t };
416
- }, Ys = (t) => t.includeLeapDay, Xs = (t, e) => {
421
+ }, Ws = (t) => t.includeLeapDay, Xs = (t, e) => {
417
422
  e.includeLeapDay = t;
418
- }, js = (t) => t.series[0].emptyCells?.symbol, Hs = (t, e) => {
423
+ }, Hs = (t) => t.series[0].emptyCells?.symbol, js = (t, e) => {
419
424
  e.series[0].emptyCells ? e.series[0].emptyCells.symbol = t : e.series[0].emptyCells = { symbol: t };
420
425
  };
421
426
  function Ks(t) {
@@ -509,7 +514,7 @@ function $(t) {
509
514
  };
510
515
  if (y.query = {
511
516
  groupByFieldsForStatistics: [s]
512
- }, r !== V.NoAggregation && o !== void 0) {
517
+ }, r !== q.NoAggregation && o !== void 0) {
513
518
  const u = `${r}_${o}_0`.toUpperCase();
514
519
  y.y = u, y.query.outStatistics = [
515
520
  {
@@ -521,8 +526,8 @@ function $(t) {
521
526
  }
522
527
  if (R(a.series[0]) && R(y)) {
523
528
  let u;
524
- if (a?.series?.[0] !== void 0 && (u = Y(a.series)), u !== D.BarAndLineNoAggregation && u !== D.BarAndLineSplitByNoAggregation) {
525
- let p = xt(a);
529
+ if (a?.series?.[0] !== void 0 && (u = W(a.series)), u !== D.BarAndLineNoAggregation && u !== D.BarAndLineSplitByNoAggregation) {
530
+ let p = Tt(a);
526
531
  p === te.Quarter && (p = te.Month), y.temporalBinning = {
527
532
  ...a.series[0]?.temporalBinning,
528
533
  unit: p
@@ -531,10 +536,10 @@ function $(t) {
531
536
  }
532
537
  return ae(y);
533
538
  }
534
- function j(t, e, s) {
539
+ function H(t, e, s) {
535
540
  const { layerFieldsInfo: r } = e, { idField: a, isTraditionalTypeOID: i } = X(e.layer), n = M(t), o = G(t), c = be(t), m = ue(t), F = i && (o.length === 0 || o.includes(a)), l = ct(c, s), g = F ? "" : o.map((h) => w(r ?? [], h)).join(", "), d = w(r ?? [], n), y = w(r ?? [], m), u = t.series.some((h) => O(h)), p = u ? "category" : "xAxisField", B = d;
536
541
  let C = "";
537
- if (xe({
542
+ if (Te({
538
543
  fieldName: n,
539
544
  numericFields: o,
540
545
  fieldList: r
@@ -543,7 +548,7 @@ function j(t, e, s) {
543
548
  aggregationType: l,
544
549
  aggregationFields: g
545
550
  });
546
- else if (c === V.NoAggregation) {
551
+ else if (c === q.NoAggregation) {
547
552
  const h = F ? a : g;
548
553
  if (m === "") {
549
554
  const f = u ? "aggrTypeCategory" : "aggrTypeXAxisField";
@@ -559,7 +564,7 @@ function j(t, e, s) {
559
564
  splitByField: y
560
565
  });
561
566
  }
562
- } else if (c === V.Count)
567
+ } else if (c === q.Count)
563
568
  if (m === "") {
564
569
  const h = u ? "aggrTypeCategory" : "aggrTypeXAxisField";
565
570
  C = P(s.titleLabels[h], {
@@ -596,7 +601,7 @@ const Ce = (t) => le({
596
601
  where: t.query?.where,
597
602
  normalize: !1,
598
603
  escape: !1
599
- }) ?? "", be = (t) => t?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? V.NoAggregation, ue = Le(
604
+ }) ?? "", be = (t) => t?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? q.NoAggregation, ue = Le(
600
605
  (t) => {
601
606
  const e = t?.series?.[0]?.query?.where?.split("=")[0].trim() ?? "";
602
607
  return Je(t?.series?.[0]?.query?.where) ? "" : e;
@@ -618,7 +623,7 @@ const Ce = (t) => le({
618
623
  function Ot(t) {
619
624
  const { numericFields: e, aggregationType: s, config: r, layerInfo: a } = t;
620
625
  let i = !1;
621
- s === V.Count ? i = !0 : s === V.NoAggregation && (i = e.every((c) => {
626
+ s === q.Count ? i = !0 : s === q.NoAggregation && (i = e.every((c) => {
622
627
  const m = a.layerFieldsInfo.find((F) => F.name === c);
623
628
  return m !== void 0 ? me(m) : !1;
624
629
  })), ce(r, 1, i);
@@ -631,10 +636,10 @@ function Ot(t) {
631
636
  const ie = (t) => {
632
637
  let e;
633
638
  if (ne(t)) {
634
- const s = t.orderOptions?.data?.orderByX ?? [""], r = t.orderOptions?.data?.orderByY ?? [""], a = t.axes?.[0]?.valueFormat?.type === "category" ? q.Category : q.YValue, i = t.axes?.[1]?.valueFormat?.type === "category" ? q.Category : q.YValue;
639
+ const s = t.orderOptions?.data?.orderByX ?? [""], r = t.orderOptions?.data?.orderByY ?? [""], a = t.axes?.[0]?.valueFormat?.type === "category" ? V.Category : V.YValue, i = t.axes?.[1]?.valueFormat?.type === "category" ? V.Category : V.YValue;
635
640
  e = [ge(s, a), ge(r, i)];
636
641
  } else {
637
- const s = t.orderOptions?.data?.orderType ?? q.Category, r = t.orderOptions?.data && "orderBy" in t.orderOptions.data ? t.orderOptions.data.orderBy : it.Ascending;
642
+ const s = t.orderOptions?.data?.orderType ?? V.Category, r = t.orderOptions?.data && "orderBy" in t.orderOptions.data ? t.orderOptions.data.orderBy : it.Ascending;
638
643
  e = [tt(r, s)];
639
644
  }
640
645
  return e;
@@ -671,7 +676,7 @@ function Dt(t) {
671
676
  });
672
677
  l.query = { outStatistics: g };
673
678
  const d = a.series[0];
674
- return d !== void 0 && (l.id = d.id, (b(l) && b(d) || A(l) && A(d)) && W(l, d), a.colorMatch || (O(d) && O(l) ? l.fillSymbol = d.fillSymbol : (b(l) && b(d) || A(l) && A(d)) && (l.lineSymbol = d.lineSymbol, l.markerSymbol = d.markerSymbol), c = !0), l.id = d.id, d.name !== m.name && (l.name = d.name)), a.series.length === 1 && ((b(l) || A(l)) && W(l, a.series[0]), a.colorMatch || (O(l) ? l.fillSymbol = a.series[0].fillSymbol : (b(l) || A(l)) && (l.lineSymbol = a.series[0].lineSymbol, l.markerSymbol = a.series[0].markerSymbol), c = !0)), a.colorMatch = !c, [l];
679
+ return d !== void 0 && (l.id = d.id, (b(l) && b(d) || A(l) && A(d)) && Y(l, d), a.colorMatch || (O(d) && O(l) ? l.fillSymbol = d.fillSymbol : (b(l) && b(d) || A(l) && A(d)) && (l.lineSymbol = d.lineSymbol, l.markerSymbol = d.markerSymbol), c = !0), l.id = d.id, d.name !== m.name && (l.name = d.name)), a.series.length === 1 && ((b(l) || A(l)) && Y(l, a.series[0]), a.colorMatch || (O(l) ? l.fillSymbol = a.series[0].fillSymbol : (b(l) || A(l)) && (l.lineSymbol = a.series[0].lineSymbol, l.markerSymbol = a.series[0].markerSymbol), c = !0)), a.colorMatch = !c, [l];
675
680
  }
676
681
  function Ae(t) {
677
682
  const { xAxisField: e, numericFields: s, aggregationType: r, config: a, layerInfo: i, commonStrings: n } = t, { layerFieldsInfo: o } = i, c = X(i.layer).idField, m = [];
@@ -705,7 +710,7 @@ function Ae(t) {
705
710
  name: w(o, h)
706
711
  });
707
712
  let k = h;
708
- f.query !== void 0 && (r !== V.NoAggregation ? (k = C, f.query.outStatistics = [
713
+ f.query !== void 0 && (r !== q.NoAggregation ? (k = C, f.query.outStatistics = [
709
714
  {
710
715
  ...p.query?.outStatistics?.[0] ?? {},
711
716
  onStatisticField: h,
@@ -713,11 +718,11 @@ function Ae(t) {
713
718
  statisticType: r
714
719
  }
715
720
  ]) : delete f.query.outStatistics), f.y = k;
716
- const x = a.series.find(
721
+ const T = a.series.find(
717
722
  (S) => S.query?.outStatistics?.[0]?.onStatisticField === h && S.query.where === void 0 || S.query?.outStatistics === void 0 && (S.y === h || S.x === h)
718
723
  );
719
- if (x !== void 0 && typeof x.y == "string" && x.y.trim() !== "") {
720
- (b(f) && b(x) || A(f) && A(x)) && W(f, x), a.colorMatch || (O(f) && O(x) ? f.fillSymbol = x.fillSymbol : (b(f) && b(x) || A(f) && A(x)) && (f.lineSymbol = x.lineSymbol, f.markerSymbol = x.markerSymbol), F = !0);
724
+ if (T !== void 0 && typeof T.y == "string" && T.y.trim() !== "") {
725
+ (b(f) && b(T) || A(f) && A(T)) && Y(f, T), a.colorMatch || (O(f) && O(T) ? f.fillSymbol = T.fillSymbol : (b(f) && b(T) || A(f) && A(T)) && (f.lineSymbol = T.lineSymbol, f.markerSymbol = T.markerSymbol), F = !0);
721
726
  const S = $({
722
727
  config: a,
723
728
  xAxisField: e,
@@ -726,7 +731,7 @@ function Ae(t) {
726
731
  seriesIndex: u,
727
732
  commonStrings: n
728
733
  });
729
- f.id = x.id, x.id !== S.id && x.name !== S.name && (f.id = x.id, f.name = x.name), f.assignToSecondValueAxis = x.assignToSecondValueAxis, f.type === v.HeatSeries && x.type === v.HeatSeries && (f.y = x.y, f.heatRulesType = x.heatRulesType);
734
+ f.id = T.id, T.id !== S.id && T.name !== S.name && (f.id = T.id, f.name = T.name), f.assignToSecondValueAxis = T.assignToSecondValueAxis, f.type === v.HeatSeries && T.type === v.HeatSeries && (f.y = T.y, f.heatRulesType = T.heatRulesType);
730
735
  }
731
736
  m.push(f);
732
737
  }
@@ -735,7 +740,7 @@ function Ae(t) {
735
740
  ), d = a.series.filter((u) => O(u)), y = a.series.filter(
736
741
  (u) => b(u) || A(u)
737
742
  );
738
- return d.length === 1 && l.length === 1 && !a.colorMatch && (O(d[0]) && O(l[0]) && (l[0].fillSymbol = d[0].fillSymbol), F = !0), y.length === 1 && g.length === 1 && ((b(y[0]) && b(g[0]) || A(y[0]) && A(g[0])) && W(g[0], y[0]), a.colorMatch || ((b(y[0]) && b(g[0]) || A(y[0]) && A(g[0])) && (g[0].lineSymbol = y[0].lineSymbol, g[0].markerSymbol = y[0].markerSymbol), F = !0)), a.colorMatch = !F, m;
743
+ return d.length === 1 && l.length === 1 && !a.colorMatch && (O(d[0]) && O(l[0]) && (l[0].fillSymbol = d[0].fillSymbol), F = !0), y.length === 1 && g.length === 1 && ((b(y[0]) && b(g[0]) || A(y[0]) && A(g[0])) && Y(g[0], y[0]), a.colorMatch || ((b(y[0]) && b(g[0]) || A(y[0]) && A(g[0])) && (g[0].lineSymbol = y[0].lineSymbol, g[0].markerSymbol = y[0].markerSymbol), F = !0)), a.colorMatch = !F, m;
739
744
  }
740
745
  function ai(t) {
741
746
  const { aggregationType: e, config: s, layerInfo: r, commonStrings: a } = t, { layerFieldsInfo: i, layer: n } = r, o = M(s), c = G(s), m = _(s, r, a), F = ve(s, r, a);
@@ -750,7 +755,7 @@ function ai(t) {
750
755
  numericFieldIndex: g,
751
756
  fieldList: i
752
757
  }).name;
753
- e !== V.NoAggregation ? (l.y = d, l.query = {
758
+ e !== q.NoAggregation ? (l.y = d, l.query = {
754
759
  ...l.query,
755
760
  outStatistics: [
756
761
  {
@@ -761,7 +766,7 @@ function ai(t) {
761
766
  }
762
767
  ]
763
768
  }) : (delete l.query?.outStatistics, l.y = c[g]);
764
- }), m && s.title && (s.title.content.text = j(s, r, a)), F && s.series[0].type !== v.HeatSeries) {
769
+ }), m && s.title && (s.title.content.text = H(s, r, a)), F && s.series[0].type !== v.HeatSeries) {
765
770
  const l = re({
766
771
  config: s,
767
772
  layerInfo: r,
@@ -825,7 +830,7 @@ function wt(t) {
825
830
  query: {
826
831
  ...h.query,
827
832
  where: `${e}=${g === ht.String && B !== null ? `'${B}'` : B}`,
828
- outStatistics: a !== V.NoAggregation ? [
833
+ outStatistics: a !== q.NoAggregation ? [
829
834
  {
830
835
  ...h.query?.outStatistics?.[0] ?? {},
831
836
  onStatisticField: d,
@@ -835,11 +840,11 @@ function wt(t) {
835
840
  ] : void 0
836
841
  }
837
842
  };
838
- a === V.NoAggregation && (S.query !== void 0 && (delete S.query.outStatistics, delete S.query.groupByFieldsForStatistics), S.y = d);
843
+ a === q.NoAggregation && (S.query !== void 0 && (delete S.query.outStatistics, delete S.query.groupByFieldsForStatistics), S.y = d);
839
844
  const I = i.series.find(
840
845
  (L) => String(Ce(L)).trim().replace(/'/gu, "") === k
841
846
  );
842
- I !== void 0 && ((b(S) && b(I) || A(S) && A(I)) && W(S, I), i.colorMatch || (O(S) && O(I) ? S.fillSymbol = I.fillSymbol : (b(S) && b(I) || A(S) && A(I)) && (S.lineSymbol = I.lineSymbol, S.markerSymbol = I.markerSymbol), u = !0), S.id = I.id, S.name = I.name, S.assignToSecondValueAxis = I.assignToSecondValueAxis), S.query && (S.query.fetchNullValues = i.series.some((L) => L.query?.fetchNullValues)), y.push(S);
847
+ I !== void 0 && ((b(S) && b(I) || A(S) && A(I)) && Y(S, I), i.colorMatch || (O(S) && O(I) ? S.fillSymbol = I.fillSymbol : (b(S) && b(I) || A(S) && A(I)) && (S.lineSymbol = I.lineSymbol, S.markerSymbol = I.markerSymbol), u = !0), S.id = I.id, S.name = I.name, S.assignToSecondValueAxis = I.assignToSecondValueAxis), S.query && (S.query.fetchNullValues = i.series.some((L) => L.query?.fetchNullValues)), y.push(S);
843
848
  }
844
849
  return i.colorMatch = !u, y;
845
850
  }
@@ -853,16 +858,16 @@ const ri = (t) => {
853
858
  layerInfo: n,
854
859
  commonStrings: o,
855
860
  splitByFieldInfos: c
856
- } = t, { layerFieldsInfo: m } = n ?? {}, F = ft(i), l = M(i), g = m.find((T) => T.name === l), d = i.series[0].query?.fetchNullValues, y = "nullCategory" in i.series?.[0] ? i.series[0].nullCategory : void 0, u = i.series[0]?.query === void 0, p = m.find((T) => T.name === e), B = _(i, n, o), C = ve(i, n, o), h = Pt(i, n);
861
+ } = t, { layerFieldsInfo: m } = n ?? {}, F = ft(i), l = M(i), g = m.find((x) => x.name === l), d = i.series[0].query?.fetchNullValues, y = "nullCategory" in i.series?.[0] ? i.series[0].nullCategory : void 0, u = i.series[0]?.query === void 0, p = m.find((x) => x.name === e), B = _(i, n, o), C = ve(i, n, o), h = Pt(i, n);
857
862
  let f = Fe(i);
858
- const k = i.series.some((T) => O(T)), x = lt(i.series), S = nt(i.series), I = ne(i), L = {};
863
+ const k = i.series.some((x) => O(x)), T = lt(i.series), S = nt(i.series), I = ne(i), L = {};
859
864
  I && (L.classBreaksRules = i.series[0]?.classBreaksRules, L.xTemporalBinning = i.series[0]?.xTemporalBinning, L.yTemporalBinning = i.series[0]?.yTemporalBinning, L.emptyCells = i.series[0]?.emptyCells, L.nullPolicy = i.nullPolicy);
860
865
  let Z = !1;
861
- if (et(p) ? f = fe() : !ye(g) && ye(p) ? f = Se() : !H(g) && H(p) ? (f = Se(), Z = !0) : H(g) && !H(p) && (k ? f = fe() : f = pt(), Z = !0), f !== void 0 && qe(i, o, f), F === 0 && (i.series = [
866
+ if (et(p) ? f = fe() : !ye(g) && ye(p) ? f = Se() : !j(g) && j(p) ? (f = Se(), Z = !0) : j(g) && !j(p) && (k ? f = fe() : f = pt(), Z = !0), f !== void 0 && Ve(i, o, f), F === 0 && (i.series = [
862
867
  $({ config: i, xAxisField: e, aggregationType: a, layerInfo: n, commonStrings: o })
863
- ]), i.series.forEach((T) => {
864
- T.x = e, T.query !== void 0 && (T.query.groupByFieldsForStatistics = [e]);
865
- }), s === "" || r.length > 1 ? xe({
868
+ ]), i.series.forEach((x) => {
869
+ x.x = e, x.query !== void 0 && (x.query.groupByFieldsForStatistics = [e]);
870
+ }), s === "" || r.length > 1 ? Te({
866
871
  fieldName: e,
867
872
  numericFields: r,
868
873
  fieldList: m
@@ -890,31 +895,31 @@ const ri = (t) => {
890
895
  commonStrings: o,
891
896
  splitByFieldInfos: c
892
897
  })), h && i.series[0].type !== v.HeatSeries) {
893
- const T = w(m, e);
894
- E(i, 0, T);
898
+ const x = w(m, e);
899
+ E(i, 0, x);
895
900
  }
896
901
  if (C && i.series[0].type !== v.HeatSeries) {
897
- const T = re({
902
+ const x = re({
898
903
  config: i,
899
904
  layerInfo: n,
900
905
  commonStrings: o,
901
906
  numericFields: r,
902
907
  aggregationType: a
903
908
  });
904
- E(i, 1, T);
909
+ E(i, 1, x);
905
910
  }
906
- if (B && i.title && (i.title.content.text = j(i, n, o)), N({ config: i, value: null, axisIndex: 1, isMax: !1 }), N({ config: i, value: null, axisIndex: 1, isMax: !0 }), Ot({ numericFields: r, aggregationType: a, config: i, layerInfo: n }), (x || S) && (N({ config: i, value: null, axisIndex: 0, isMax: !1 }), N({ config: i, value: null, axisIndex: 0, isMax: !0 }), Z)) {
907
- const T = f?.type === v.DateAxisFormat ? K.Null : K.Interpolate;
908
- Bt(T, i);
911
+ if (B && i.title && (i.title.content.text = H(i, n, o)), N({ config: i, value: null, axisIndex: 1, isMax: !1 }), N({ config: i, value: null, axisIndex: 1, isMax: !0 }), Ot({ numericFields: r, aggregationType: a, config: i, layerInfo: n }), (T || S) && (N({ config: i, value: null, axisIndex: 0, isMax: !1 }), N({ config: i, value: null, axisIndex: 0, isMax: !0 }), Z)) {
912
+ const x = f?.type === v.DateAxisFormat ? K.Null : K.Interpolate;
913
+ Bt(x, i);
909
914
  }
910
- I && (i.series[0].classBreaksRules = L.classBreaksRules, i.series[0].xTemporalBinning = L.xTemporalBinning, i.series[0].yTemporalBinning = L.yTemporalBinning, i.series[0].emptyCells = L.emptyCells, i.nullPolicy = L.nullPolicy), u ? i.series.forEach((T) => {
911
- delete T.query;
912
- }) : d && i.series.forEach((T) => {
913
- T.query && (T.query.fetchNullValues = d);
914
- }), y && i.series.forEach((T) => {
915
- (T.type === v.BarSeries || T.type === v.LineSeries || T.type === v.RadarSeries) && (T.nullCategory = y);
915
+ I && (i.series[0].classBreaksRules = L.classBreaksRules, i.series[0].xTemporalBinning = L.xTemporalBinning, i.series[0].yTemporalBinning = L.yTemporalBinning, i.series[0].emptyCells = L.emptyCells, i.nullPolicy = L.nullPolicy), u ? i.series.forEach((x) => {
916
+ delete x.query;
917
+ }) : d && i.series.forEach((x) => {
918
+ x.query && (x.query.fetchNullValues = d);
919
+ }), y && i.series.forEach((x) => {
920
+ (x.type === v.BarSeries || x.type === v.LineSeries || x.type === v.RadarSeries) && (x.nullCategory = y);
916
921
  });
917
- }, W = (t, e) => {
922
+ }, Y = (t, e) => {
918
923
  t.markerVisible = e.markerVisible, t.lineSmoothed = e.lineSmoothed, t.showArea = e.showArea, t.areaColor = e.areaColor, t.stackNegativeValuesToBaseline = e.stackNegativeValuesToBaseline, e.lineSymbol && (t.lineSymbol = { ...e.lineSymbol, color: t.lineSymbol?.color }), e.markerSymbol && (t.markerSymbol = {
919
924
  ...e.markerSymbol,
920
925
  color: t.markerSymbol?.color
@@ -922,7 +927,7 @@ const ri = (t) => {
922
927
  }, li = (t) => {
923
928
  const { config: e, seriesIndex: s, layerInfo: r, commonStrings: a } = t, i = e.series?.[s], n = ue(e);
924
929
  let o;
925
- if (Y(e.series) === D.BarAndLineFromFields)
930
+ if (W(e.series) === D.BarAndLineFromFields)
926
931
  o = a.axisLabels.values;
927
932
  else if (Ie(n)) {
928
933
  const m = i.query?.outStatistics?.[0]?.onStatisticField;
@@ -942,15 +947,15 @@ const ri = (t) => {
942
947
  else {
943
948
  e.orderOptions ??= {};
944
949
  const s = e.orderOptions?.data?.orderType;
945
- ie(e)[0] === J.customSort && s === q.Category && (e.orderOptions.data = {
946
- orderType: q.Category,
950
+ ie(e)[0] === J.customSort && s === V.Category && (e.orderOptions.data = {
951
+ orderType: V.Category,
947
952
  orderBy: [...t]
948
953
  });
949
954
  }
950
955
  }, oi = async (t) => {
951
- const { config: e, layerInfo: s, errorStrings: r } = t, a = M(e), i = Fe(e)?.type, n = G(e), o = Y(e.series);
956
+ const { config: e, layerInfo: s, errorStrings: r } = t, a = M(e), i = Fe(e)?.type, n = G(e), o = W(e.series);
952
957
  let c = [];
953
- return i === v.CategoryAxisFormat && (o === D.BarAndLineFromFields || a === ee ? c = n.map((m) => w(s?.layerFieldsInfo, m)) : a.trim() !== "" && a !== ee && s !== void 0 && (c = await Ve({
958
+ return i === v.CategoryAxisFormat && (o === D.BarAndLineFromFields || a === ee ? c = n.map((m) => w(s?.layerFieldsInfo, m)) : a.trim() !== "" && a !== ee && s !== void 0 && (c = await qe({
954
959
  layerInfo: s,
955
960
  config: e,
956
961
  category: a,
@@ -958,7 +963,7 @@ const ri = (t) => {
958
963
  }))), c;
959
964
  };
960
965
  function _(t, e, s) {
961
- const r = j(t, e, s), a = St(t), i = z(t);
966
+ const r = H(t, e, s), a = St(t), i = z(t);
962
967
  return r === a || i;
963
968
  }
964
969
  function ve(t, e, s) {
@@ -990,79 +995,79 @@ function ci(t, e) {
990
995
  });
991
996
  }
992
997
  export {
993
- rs as $,
994
- Vs as A,
995
- hs as B,
996
- Fs as C,
997
- Ts as D,
998
- xs as E,
999
- ks as F,
1000
- Os as G,
1001
- Ds as H,
1002
- ws as I,
1003
- Rs as J,
1004
- Ns as K,
1005
- Ps as L,
1006
- kt as M,
1007
- Es as N,
1008
- Ms as O,
1009
- ie as P,
1010
- $s as Q,
1011
- Ws as R,
1012
- Ys as S,
1013
- Xs as T,
1014
- Js as U,
1015
- Zs as V,
1016
- js as W,
1017
- Hs as X,
1018
- ts as Y,
1019
- Tt as Z,
1020
- xt as _,
1021
- G as a,
1022
- ss as a0,
1023
- ls as a1,
1024
- is as a2,
1025
- ns as a3,
1026
- as as a4,
1027
- Bt as a5,
1028
- os as a6,
1029
- ai as a7,
1030
- oi as a8,
1031
- ni as a9,
1032
- ri as aa,
1033
- ui as ab,
1034
- ci as ac,
1035
- gs as ad,
1036
- ms as ae,
1037
- ys as af,
1038
- ds as ag,
1039
- us as ah,
1040
- cs as ai,
1041
- Ct as aj,
1042
- ps as ak,
1043
- ue as b,
1044
- li as c,
1045
- j as d,
1046
- Nt as e,
1047
- Ks as f,
998
+ hs as $,
999
+ ni as A,
1000
+ ri as B,
1001
+ ui as C,
1002
+ ci as D,
1003
+ H as E,
1004
+ Nt as F,
1005
+ Bs as G,
1006
+ Ks as H,
1007
+ Us as I,
1008
+ bs as J,
1009
+ Cs as K,
1010
+ vs as L,
1011
+ As as M,
1012
+ Qs as N,
1013
+ zs as O,
1014
+ Gs as P,
1015
+ _s as Q,
1016
+ ei as R,
1017
+ ti as S,
1018
+ si as T,
1019
+ ii as U,
1020
+ fs as V,
1021
+ Ss as W,
1022
+ Ls as X,
1023
+ Is as Y,
1024
+ Vs as Z,
1025
+ qs as _,
1026
+ ys as a,
1027
+ Fs as a0,
1028
+ xs as a1,
1029
+ Ts as a2,
1030
+ ks as a3,
1031
+ Os as a4,
1032
+ Ds as a5,
1033
+ ws as a6,
1034
+ Rs as a7,
1035
+ Ns as a8,
1036
+ Ps as a9,
1037
+ kt as aa,
1038
+ Es as ab,
1039
+ Ms as ac,
1040
+ $s as ad,
1041
+ Ys as ae,
1042
+ Ws as af,
1043
+ Xs as ag,
1044
+ Js as ah,
1045
+ Zs as ai,
1046
+ Hs as aj,
1047
+ js as ak,
1048
+ us as b,
1049
+ cs as c,
1050
+ G as d,
1051
+ ue as e,
1052
+ ps as f,
1048
1053
  be as g,
1049
- Us as h,
1050
- bs as i,
1051
- Cs as j,
1052
- vs as k,
1053
- As as l,
1054
- Qs as m,
1055
- zs as n,
1056
- Gs as o,
1057
- _s as p,
1058
- ei as q,
1059
- ti as r,
1060
- Bs as s,
1061
- si as t,
1062
- ii as u,
1063
- fs as v,
1064
- Ss as w,
1065
- Ls as x,
1066
- Is as y,
1067
- qs as z
1054
+ li as h,
1055
+ ms as i,
1056
+ ts as j,
1057
+ Tt as k,
1058
+ rs as l,
1059
+ ss as m,
1060
+ ls as n,
1061
+ is as o,
1062
+ gs as p,
1063
+ ns as q,
1064
+ Ct as r,
1065
+ xt as s,
1066
+ as as t,
1067
+ ds as u,
1068
+ Bt as v,
1069
+ os as w,
1070
+ ai as x,
1071
+ ie as y,
1072
+ oi as z
1068
1073
  };