@arcgis/charts-components 5.2.0-next.148 → 5.2.0-next.149

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/dist/cdn/{D5O7HIVJ.js → 257PEDYJ.js} +1 -1
  2. package/dist/cdn/{JGJ5XQ6Y.js → 25NUJ5YH.js} +1 -1
  3. package/dist/cdn/{CKFW4CY5.js → 3E7JBKUK.js} +1 -1
  4. package/dist/cdn/{V6RF4BJF.js → 4I2I5IVQ.js} +1 -1
  5. package/dist/cdn/{T22GTUEX.js → 4P7L6R6R.js} +1 -1
  6. package/dist/cdn/{UHU7OS4M.js → 4QXXXWA6.js} +1 -1
  7. package/dist/cdn/{CGEPLEGC.js → 5FHRHVMR.js} +1 -1
  8. package/dist/cdn/{ZOIQ5767.js → 5KS2PX57.js} +1 -1
  9. package/dist/cdn/{H6F77GU7.js → 5TXHUDP4.js} +1 -1
  10. package/dist/cdn/{JLWJLLY7.js → 5U44JITQ.js} +1 -1
  11. package/dist/cdn/{WFPA2JR5.js → 6IOXNE24.js} +1 -1
  12. package/dist/cdn/{JGOIM3OP.js → 6IYV7IV4.js} +1 -1
  13. package/dist/cdn/{4TYM6UJJ.js → 6OLJQWVE.js} +1 -1
  14. package/dist/cdn/{NVEJVRCO.js → 72UQY733.js} +1 -1
  15. package/dist/cdn/{OJQPF4K5.js → 73GS7B7G.js} +1 -1
  16. package/dist/cdn/7Q7ES4BZ.js +2 -0
  17. package/dist/cdn/{X6X7AGPV.js → 7TMJU2RX.js} +1 -1
  18. package/dist/cdn/{KJBDJD4J.js → ACXDPMZD.js} +1 -1
  19. package/dist/cdn/{IQ43MGK7.js → AGKYRKW5.js} +1 -1
  20. package/dist/cdn/{YJZZYJED.js → AKOQC2SC.js} +1 -1
  21. package/dist/cdn/{PF2AFMBH.js → B2LCOSXO.js} +1 -1
  22. package/dist/cdn/{LLMWLM4W.js → BH2DGNXG.js} +1 -1
  23. package/dist/cdn/{YFQA2Y6D.js → BTDPI3AR.js} +1 -1
  24. package/dist/cdn/{BZUAVD2H.js → E2IXXH5R.js} +1 -1
  25. package/dist/cdn/{35WMHYT2.js → F7VQ6K7S.js} +1 -1
  26. package/dist/cdn/{NYD3P7GP.js → FAFM7HRN.js} +1 -1
  27. package/dist/cdn/{KFKVTC4L.js → G63T5MU4.js} +1 -1
  28. package/dist/cdn/{3NJBY7D5.js → GHAC6H6F.js} +1 -1
  29. package/dist/cdn/{DMHX7CSV.js → GJUNAKKB.js} +1 -1
  30. package/dist/cdn/{ABJACEKY.js → GQ5T4JIV.js} +1 -1
  31. package/dist/cdn/H4HQBS46.js +4 -0
  32. package/dist/cdn/{SNSOLJLT.js → HL3H6U7M.js} +1 -1
  33. package/dist/cdn/IIYJJRMN.js +2 -0
  34. package/dist/cdn/{LVQL474B.js → IRYTXVTM.js} +1 -1
  35. package/dist/cdn/{MHIEGJCV.js → ITTVEYZH.js} +1 -1
  36. package/dist/cdn/{A5JDSY3V.js → IVUICF2P.js} +1 -1
  37. package/dist/cdn/{PLF3BIUU.js → JASVY2S5.js} +1 -1
  38. package/dist/cdn/{NJE5NWZ4.js → JIANMLCP.js} +1 -1
  39. package/dist/cdn/{Q2T7GR6G.js → JX7NTVFL.js} +1 -1
  40. package/dist/cdn/{NFHBIEJB.js → KJFL57RE.js} +1 -1
  41. package/dist/cdn/{FK2MTZ63.js → LBMIXS7P.js} +1 -1
  42. package/dist/cdn/{Z4TLRJ5S.js → LJ3IPYWK.js} +1 -1
  43. package/dist/cdn/{MJFCB72A.js → M3EQKFST.js} +1 -1
  44. package/dist/cdn/{FUT5S2CP.js → MCY2C5IV.js} +1 -1
  45. package/dist/cdn/{TC2XSGBD.js → MMPVO6UX.js} +9 -9
  46. package/dist/cdn/{GF6F65KI.js → MOSYGTYS.js} +1 -1
  47. package/dist/cdn/{A4DM7LOB.js → MSFQI34M.js} +1 -1
  48. package/dist/cdn/{KVDHFW4K.js → NDBNHEEZ.js} +1 -1
  49. package/dist/cdn/{LQBPMG3M.js → NVPRRSLO.js} +1 -1
  50. package/dist/cdn/{OALE2XRP.js → OKB4GB4J.js} +1 -1
  51. package/dist/cdn/{VR6WXH3R.js → OPLY5TWI.js} +1 -1
  52. package/dist/cdn/{HYJTLRAJ.js → PFAQRCVD.js} +1 -1
  53. package/dist/cdn/{LVPWHLNP.js → PFIVTH6Z.js} +1 -1
  54. package/dist/cdn/{7LSI4QET.js → QAN2SQN2.js} +1 -1
  55. package/dist/cdn/{EORA4L3F.js → QBP5QHM5.js} +1 -1
  56. package/dist/cdn/{QVSANSKQ.js → QGHGUVWE.js} +1 -1
  57. package/dist/cdn/{ZWPNPYLR.js → QJJRZHVE.js} +1 -1
  58. package/dist/cdn/{5Y4JJWPN.js → QYMY2RNU.js} +1 -1
  59. package/dist/cdn/{3TS66XWA.js → R2R6S5K6.js} +1 -1
  60. package/dist/cdn/{TV7WXMZ6.js → SDMBKMSY.js} +1 -1
  61. package/dist/cdn/{6CAD6LP6.js → SHG5B5EO.js} +1 -1
  62. package/dist/cdn/{ZBVTU5KN.js → SKN5OMXV.js} +1 -1
  63. package/dist/cdn/{HBDGQ2GB.js → SLH66QHH.js} +1 -1
  64. package/dist/cdn/{TKKTDSAY.js → TLCAHGNK.js} +1 -1
  65. package/dist/cdn/{XGN2V6RQ.js → TQW7WM4O.js} +1 -1
  66. package/dist/cdn/{EATST6SH.js → TRI6WAGM.js} +1 -1
  67. package/dist/cdn/{MCJHBGZ6.js → UK2ILVTG.js} +1 -1
  68. package/dist/cdn/{MDF5XBMX.js → VCKFHB4U.js} +1 -1
  69. package/dist/cdn/{LUPSJ7TV.js → VRVLAPPS.js} +1 -1
  70. package/dist/cdn/{LMCUWQTD.js → VSRAB3LY.js} +1 -1
  71. package/dist/cdn/{DLYWE3OX.js → VVHVHDWG.js} +1 -1
  72. package/dist/cdn/W2XIAHGG.js +2 -0
  73. package/dist/cdn/{H4U4Q4JS.js → WQQUCFW5.js} +1 -1
  74. package/dist/cdn/{LKXOL2CB.js → WZIPMTG5.js} +1 -1
  75. package/dist/cdn/{HJDQEV6B.js → XKKO432P.js} +1 -1
  76. package/dist/cdn/{AM4O5CBY.js → XOZZXRKR.js} +1 -1
  77. package/dist/cdn/{DVQCKJK3.js → XWYYPCI6.js} +1 -1
  78. package/dist/cdn/YOAS5HJU.js +2 -0
  79. package/dist/cdn/{SUV74KD4.js → YR2QJZ5S.js} +1 -1
  80. package/dist/cdn/{6XWQN42N.js → YRHDWCLS.js} +1 -1
  81. package/dist/cdn/{BQZ7X2RU.js → ZP2Y7KD7.js} +1 -1
  82. package/dist/cdn/{JL4AMZV6.js → ZUMDTFHS.js} +1 -1
  83. package/dist/cdn/{XACO7HBN.js → ZY2X4X6T.js} +1 -1
  84. package/dist/cdn/index.js +1 -1
  85. package/dist/cdn/model/shared/setup-utils.js +1 -1
  86. package/dist/chunks/box-plot-data.js +68 -67
  87. package/dist/chunks/box-plot-model.js +4 -1
  88. package/dist/chunks/index.js +941 -934
  89. package/dist/chunks/pie-chart-model.js +9 -6
  90. package/dist/chunks/serial-chart-data.js +283 -282
  91. package/dist/chunks/serial-chart-model.js +4 -1
  92. package/dist/components/arcgis-chart/customElement.js +104 -104
  93. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +54 -52
  94. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +105 -103
  95. package/dist/docs/api.json +1 -1
  96. package/dist/docs/docs.json +1 -1
  97. package/dist/model/box-plot-model/box-plot-model.d.ts +6 -2
  98. package/dist/model/pie-chart-model/pie-chart-model.d.ts +6 -2
  99. package/dist/model/serial-chart-model/serial-chart-model.d.ts +6 -2
  100. package/dist/utils/data/categorical-data/index.d.ts +1 -0
  101. package/package.json +4 -4
  102. package/dist/cdn/MJHHTTJ4.js +0 -2
  103. package/dist/cdn/NOJAWNLN.js +0 -2
  104. package/dist/cdn/PRN7A6WN.js +0 -2
  105. package/dist/cdn/VOIQ4WGO.js +0 -4
  106. package/dist/cdn/YZC55QBU.js +0 -2
@@ -56,9 +56,9 @@ const Vi = (i) => {
56
56
  }, Ht = (i) => {
57
57
  $t(0, i);
58
58
  };
59
- var Wt = Object.defineProperty, Ut = Object.getOwnPropertyDescriptor, jt = (i, e, t, a) => {
60
- for (var s = Ut(e, t), r = i.length - 1, n; r >= 0; r--)
61
- (n = i[r]) && (s = n(e, t, s) || s);
59
+ var Wt = Object.defineProperty, Ut = Object.getOwnPropertyDescriptor, jt = (i, e, t, r) => {
60
+ for (var s = Ut(e, t), a = i.length - 1, n; a >= 0; a--)
61
+ (n = i[a]) && (s = n(e, t, s) || s);
62
62
  return s && Wt(e, t, s), s;
63
63
  };
64
64
  const Zt = (i) => {
@@ -68,8 +68,8 @@ const Zt = (i) => {
68
68
  }), e || (e = i?.axes?.[0]?.valueFormat.type === x.DateAxisFormat ? i.axes[0].valueFormat.intlOptions.timeZone : void 0), e;
69
69
  }, we = (i, e) => {
70
70
  const t = Ze(i);
71
- X(e) ? i ? e.outTimeZone = t : delete e.outTimeZone : e?.series.forEach((a) => {
72
- (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);
71
+ X(e) ? i ? e.outTimeZone = t : delete e.outTimeZone : e?.series.forEach((r) => {
72
+ (r.type === x.BarSeries || r.type === x.RadarSeries || r.type === x.LineSeries) && (i ? (r.temporalBinning ??= {}, r.temporalBinning.outTimeZone = t) : r.temporalBinning && delete r.temporalBinning.outTimeZone);
73
73
  }), e?.axes?.[0]?.valueFormat.type === x.DateAxisFormat && (i ? e.axes[0].valueFormat.intlOptions.timeZone = t : delete e.axes[0].valueFormat.intlOptions.timeZone);
74
74
  };
75
75
  class Kt extends kt {
@@ -106,61 +106,61 @@ function Xi(i, e) {
106
106
  return e != null || Ne(i);
107
107
  }
108
108
  async function Hi(i) {
109
- const { config: e, layer: t, abortSignal: a } = i;
109
+ const { config: e, layer: t, abortSignal: r } = i;
110
110
  let s = !1;
111
- return ue(t) || _e(e) ? e && ue(t) && (s = await Qe({ config: e, layer: t, abortSignal: a })) : s = !0, s;
111
+ return ue(t) || _e(e) ? e && ue(t) && (s = await Qe({ config: e, layer: t, abortSignal: r })) : s = !0, s;
112
112
  }
113
113
  async function Qt(i) {
114
114
  const {
115
115
  queryObject: e,
116
116
  chartConfig: t,
117
- splitByField: a,
117
+ splitByField: r,
118
118
  errorStrings: s,
119
- abortSignal: r,
119
+ abortSignal: a,
120
120
  runtimeDataFilters: n,
121
121
  ignoreViewExtent: o,
122
- setTimeBinningInfoWhenNotProvided: l,
123
- returnFeaturesExtent: c,
124
- returnStatisticsAggregatedIds: g,
122
+ setTimeBinningInfoWhenNotProvided: c,
123
+ returnFeaturesExtent: l,
124
+ returnStatisticsAggregatedIds: m,
125
125
  chartLimits: f
126
126
  } = i;
127
127
  let p = [], u;
128
- const d = te(t), y = d.series[0], m = lt({
128
+ const d = te(t), y = d.series[0], g = lt({
129
129
  queryObject: e,
130
130
  chartConfig: d,
131
131
  runtimeDataFilters: n,
132
132
  ignoreViewExtent: o
133
133
  });
134
- if (m.outStatistics?.[0]?.outStatisticFieldName && (m.outStatistics[0].outStatisticFieldName = It.outStatistics.outStatisticFieldName), L(y) && ct({
134
+ if (g.outStatistics?.[0]?.outStatisticFieldName && (g.outStatistics[0].outStatisticFieldName = It.outStatistics.outStatisticFieldName), L(y) && ct({
135
135
  xAxisValueFormatType: ut(d),
136
- setTimeBinningInfoWhenNotProvided: l,
136
+ setTimeBinningInfoWhenNotProvided: c,
137
137
  seriesConfig: y,
138
138
  queryObject: e
139
- }) && dt(a, e)) {
139
+ }) && dt(r, e)) {
140
140
  const { temporalBinning: F, x: S } = y, { uniqueQuery: h } = Se({
141
141
  chartConfig: d,
142
- queryConfig: m,
142
+ queryConfig: g,
143
143
  queryObject: e,
144
- setTimeBinningInfoWhenNotProvided: l,
145
- returnFeaturesExtent: c,
144
+ setTimeBinningInfoWhenNotProvided: c,
145
+ returnFeaturesExtent: l,
146
146
  chartLimits: f
147
147
  }), A = t.axes?.[0].valueFormat.type === x.DateAxisFormat ? t.axes[0].valueFormat.intlOptions.timeZone : void 0;
148
148
  u = await yt({
149
149
  queryObject: e,
150
150
  dateField: S,
151
- splitByField: a,
151
+ splitByField: r,
152
152
  queryConfig: h,
153
153
  axisTimeZone: A,
154
154
  temporalBinning: F,
155
- returnStatisticsAggregatedIds: g,
155
+ returnStatisticsAggregatedIds: m,
156
156
  errorStrings: s,
157
- abortSignal: r
157
+ abortSignal: a
158
158
  }), p = Array.from(
159
159
  new Set(
160
160
  u.flatMap((C) => {
161
161
  const { stackedAttributes: T } = C;
162
162
  let b = [];
163
- return T && (b = T.map((v) => v[a]).filter((v) => v !== void 0)), b;
163
+ return T && (b = T.map((v) => v[r]).filter((v) => v !== void 0)), b;
164
164
  })
165
165
  ).values()
166
166
  );
@@ -168,28 +168,28 @@ async function Qt(i) {
168
168
  const { uniqueQuery: F } = Se({
169
169
  chartConfig: d,
170
170
  queryObject: e,
171
- queryConfig: m,
172
- setTimeBinningInfoWhenNotProvided: l,
173
- returnFeaturesExtent: c,
171
+ queryConfig: g,
172
+ setTimeBinningInfoWhenNotProvided: c,
173
+ returnFeaturesExtent: l,
174
174
  chartLimits: f
175
175
  }), { elementCount: S } = await mt({
176
176
  chartConfig: d,
177
177
  queryObject: e,
178
- queryConfig: m,
178
+ queryConfig: g,
179
179
  behaviorAfterLimit: f?.behaviorAfterLimit,
180
180
  numberMaxOfFeaturesToFetch: F.num,
181
- abortSignal: r
181
+ abortSignal: a
182
182
  });
183
183
  u = await gt({
184
184
  queryObject: e,
185
185
  queryConfig: F,
186
186
  featureCount: S,
187
- returnStatisticsAggregatedIds: g,
187
+ returnStatisticsAggregatedIds: m,
188
188
  errorStrings: s,
189
- abortSignal: r
189
+ abortSignal: a
190
190
  }), p = Array.from(
191
191
  new Set(
192
- u.map((h) => h.attributes[a]).filter((h) => h !== void 0)
192
+ u.map((h) => h.attributes[r]).filter((h) => h !== void 0)
193
193
  ).values()
194
194
  );
195
195
  }
@@ -197,9 +197,9 @@ async function Qt(i) {
197
197
  }
198
198
  function zt(i, e) {
199
199
  const t = /* @__PURE__ */ new Map();
200
- return i.series.forEach((a) => {
200
+ return i.series.forEach((r) => {
201
201
  let s = ge({
202
- where: a.query?.where,
202
+ where: r.query?.where,
203
203
  // normalize the value so it matches what we get from getAllValues()
204
204
  // Refer to https://devtopia.esri.com/WebGIS/arcgis-charts/issues/8127
205
205
  normalize: !0,
@@ -208,70 +208,70 @@ function zt(i, e) {
208
208
  escape: !1
209
209
  });
210
210
  e && s !== null && (s = Number(s));
211
- const r = ke([a]);
212
- r !== void 0 && t.set(r, [
213
- ...t.get(r) ?? [],
211
+ const a = ke([r]);
212
+ a !== void 0 && t.set(a, [
213
+ ...t.get(a) ?? [],
214
214
  s
215
215
  ]);
216
216
  }), t;
217
217
  }
218
218
  function Gt(i) {
219
- const { allValues: e, configUniqueValuesPerSeriesType: t, initialConfigWasEmpty: a } = i, s = /* @__PURE__ */ new Map();
220
- return Array.from(t.keys()).forEach((r) => {
221
- const n = t.get(r) ?? [];
219
+ const { allValues: e, configUniqueValuesPerSeriesType: t, initialConfigWasEmpty: r } = i, s = /* @__PURE__ */ new Map();
220
+ return Array.from(t.keys()).forEach((a) => {
221
+ const n = t.get(a) ?? [];
222
222
  let o = [];
223
- a ? o = e : e.forEach((l) => {
224
- n.includes(l) || o.push(l);
225
- }), s.set(r, o);
223
+ r ? o = e : e.forEach((c) => {
224
+ n.includes(c) || o.push(c);
225
+ }), s.set(a, o);
226
226
  }), s;
227
227
  }
228
228
  function Jt(i) {
229
- const { chartConfig: e, missingValue: t, splitByField: a, seriesTemplate: s } = i, r = JSON.parse(
229
+ const { chartConfig: e, missingValue: t, splitByField: r, seriesTemplate: s } = i, a = JSON.parse(
230
230
  JSON.stringify({
231
231
  ...e.series[0],
232
232
  ...s
233
233
  })
234
234
  );
235
- if (r.query) {
236
- if (t === null ? r.id = Fe.nullValue : t === "" ? r.id = Fe.emptyStringValue : r.id = `${t}`, r.name = `${t}`, r.query.outStatistics?.[0] !== void 0) {
237
- const o = r.id;
238
- r.query.outStatistics[0].outStatisticFieldName = o, "y" in r && (r.y = o);
235
+ if (a.query) {
236
+ if (t === null ? a.id = Fe.nullValue : t === "" ? a.id = Fe.emptyStringValue : a.id = `${t}`, a.name = `${t}`, a.query.outStatistics?.[0] !== void 0) {
237
+ const o = a.id;
238
+ a.query.outStatistics[0].outStatisticFieldName = o, "y" in a && (a.y = o);
239
239
  }
240
240
  const n = typeof t == "number" || t === null ? t : `'${t}'`;
241
- r.query.where = `${a}=${n}`;
241
+ a.query.where = `${r}=${n}`;
242
242
  }
243
- return r;
243
+ return a;
244
244
  }
245
245
  async function ei(i) {
246
246
  const {
247
247
  updateSplitBySeries: e,
248
248
  config: t,
249
- queryObject: a,
249
+ queryObject: r,
250
250
  errorStrings: s,
251
- abortSignal: r,
251
+ abortSignal: a,
252
252
  runtimeDataFilters: n,
253
253
  ignoreViewExtent: o,
254
- setTimeBinningInfoWhenNotProvided: l,
255
- returnFeaturesExtent: c,
256
- returnStatisticsAggregatedIds: g,
254
+ setTimeBinningInfoWhenNotProvided: c,
255
+ returnFeaturesExtent: l,
256
+ returnStatisticsAggregatedIds: m,
257
257
  chartLimits: f
258
258
  } = i, { seriesTemplate: p } = e ?? {};
259
259
  let u;
260
- if (a && !ue(a) && e !== void 0 && t !== void 0 && (t.series.length > 0 || p !== void 0) && e.addMissingSeries) {
260
+ if (r && !ue(r) && e !== void 0 && t !== void 0 && (t.series.length > 0 || p !== void 0) && e.addMissingSeries) {
261
261
  const d = t.series.length === 0;
262
262
  t.series.length === 0 && p !== void 0 && t.series.push(p);
263
263
  const y = ie(t.series);
264
264
  if (y === w.BoxPlotC5MonoFieldAndSplitBy || y === w.BoxPlotC6MultiFieldsAndSplitBy || y === w.BoxPlotC7MonoFieldAndCategoryAndSplitBy || y === w.BarAndLineSplitBy || y === w.BarAndLineSplitByNoAggregation) {
265
- const m = st(t.series[0]?.query?.where), F = at(a), S = rt(m, F), h = S ? nt(S) : !1, A = await Qt({
266
- queryObject: a,
265
+ const g = st(t.series[0]?.query?.where), F = at(r), S = rt(g, F), h = S ? nt(S) : !1, A = await Qt({
266
+ queryObject: r,
267
267
  chartConfig: t,
268
- splitByField: m,
269
- abortSignal: r,
268
+ splitByField: g,
269
+ abortSignal: a,
270
270
  runtimeDataFilters: n,
271
271
  ignoreViewExtent: o,
272
- setTimeBinningInfoWhenNotProvided: l,
273
- returnFeaturesExtent: c,
274
- returnStatisticsAggregatedIds: g,
272
+ setTimeBinningInfoWhenNotProvided: c,
273
+ returnFeaturesExtent: l,
274
+ returnStatisticsAggregatedIds: m,
275
275
  chartLimits: f,
276
276
  errorStrings: s
277
277
  }), { allValues: C } = A;
@@ -288,7 +288,7 @@ async function ei(i) {
288
288
  chartConfig: t,
289
289
  seriesTemplate: p,
290
290
  missingValue: D,
291
- splitByField: m
291
+ splitByField: g
292
292
  })
293
293
  );
294
294
  }), d && t.series.shift();
@@ -305,64 +305,64 @@ async function Wi(i) {
305
305
  const {
306
306
  configToAlter: e,
307
307
  layer: t,
308
- addMissingSeries: a,
308
+ addMissingSeries: r,
309
309
  updateSplitBySeries: s,
310
- chartContainer: r,
310
+ chartContainer: a,
311
311
  queryObject: n,
312
312
  abortSignal: o,
313
- runtimeDataFilters: l,
314
- ignoreViewExtent: c,
315
- setTimeBinningInfoWhenNotProvided: g,
313
+ runtimeDataFilters: c,
314
+ ignoreViewExtent: l,
315
+ setTimeBinningInfoWhenNotProvided: m,
316
316
  returnFeaturesExtent: f,
317
317
  returnStatisticsAggregatedIds: p,
318
318
  chartLimits: u,
319
319
  timeZone: d,
320
320
  errorStrings: y
321
321
  } = i;
322
- let m = e, F;
323
- return m && (ti(t, m), m = await Pt(m, t, void 0, o), a && n && (F = await ei({
322
+ let g = e, F;
323
+ return g && (ti(t, g), g = await Pt(g, t, void 0, o), r && n && (F = await ei({
324
324
  updateSplitBySeries: s,
325
- config: m,
325
+ config: g,
326
326
  queryObject: n,
327
327
  errorStrings: y,
328
328
  abortSignal: o,
329
- runtimeDataFilters: l,
330
- ignoreViewExtent: c,
331
- setTimeBinningInfoWhenNotProvided: g,
329
+ runtimeDataFilters: c,
330
+ ignoreViewExtent: l,
331
+ setTimeBinningInfoWhenNotProvided: m,
332
332
  returnFeaturesExtent: f,
333
333
  returnStatisticsAggregatedIds: p,
334
334
  chartLimits: u
335
- })), m = Ke(m, r), we(d, m)), { alteredConfig: m, preFetchedQueryResponse: F };
335
+ })), g = Ke(g, a), we(d, g)), { alteredConfig: g, preFetchedQueryResponse: F };
336
336
  }
337
337
  function ii(i, e) {
338
338
  let t = !1;
339
339
  if (e !== void 0) {
340
- const a = ot({ key: pt.Average, splitBy: e });
341
- t = Number.isFinite(i[a]);
340
+ const r = ot({ key: pt.Average, splitBy: e });
341
+ t = Number.isFinite(i[r]);
342
342
  }
343
343
  return t;
344
344
  }
345
345
  function Ui(i) {
346
- const { data: e, config: t, showEmptySeries: a } = i, s = t.series.length, r = te(t);
346
+ const { data: e, config: t, showEmptySeries: r } = i, s = t.series.length, a = te(t);
347
347
  let n = !1;
348
- if (!a && s > 1 && e) {
349
- const o = ze(e), l = ke(t?.series), c = ie(t?.series), g = /* @__PURE__ */ new Set();
350
- switch (l) {
348
+ if (!r && s > 1 && e) {
349
+ const o = ze(e), c = ke(t?.series), l = ie(t?.series), m = /* @__PURE__ */ new Set();
350
+ switch (c) {
351
351
  case x.ComboLineAndBarSeries:
352
352
  case x.BarSeries:
353
353
  case x.RadarSeries:
354
354
  case x.LineSeries: {
355
- r.series.forEach((p) => {
355
+ a.series.forEach((p) => {
356
356
  if (Array.isArray(o)) {
357
357
  let u = "";
358
- "y" in p && (u = Array.isArray(p.y) ? p.y[0] : p.y, c === w.BarAndLineSplitByNoAggregation && (u = `${u}_${ge({ where: p.query?.where, keepSurroundingQuotes: !1, escape: !1 })}`), o.some(
358
+ "y" in p && (u = Array.isArray(p.y) ? p.y[0] : p.y, l === w.BarAndLineSplitByNoAggregation && (u = `${u}_${ge({ where: p.query?.where, keepSurroundingQuotes: !1, escape: !1 })}`), o.some(
359
359
  (y) => tt({
360
360
  dataItem: y,
361
361
  x: p.x,
362
362
  y: u,
363
363
  aggregationType: t.series[0].query?.outStatistics?.[0]?.statisticType
364
364
  })
365
- ) && g.add(p));
365
+ ) && m.add(p));
366
366
  }
367
367
  });
368
368
  break;
@@ -373,23 +373,23 @@ function Ui(i) {
373
373
  t.series.forEach((u) => {
374
374
  let d, y;
375
375
  u.type === x.BoxPlotSeries ? (d = e.dataItems, y = d?.some(
376
- (m) => et({
377
- dataItem: m,
376
+ (g) => et({
377
+ dataItem: g,
378
378
  splitBy: u.query?.where,
379
379
  showOutliers: p
380
380
  })
381
381
  )) : u.type === x.LineSeries && (d = e.meanLines, y = d?.some(
382
- (m) => ii(m, u.query?.where)
383
- )), y && g.add(u);
382
+ (g) => ii(g, u.query?.where)
383
+ )), y && m.add(u);
384
384
  });
385
385
  }
386
386
  break;
387
387
  }
388
388
  }
389
- const f = Array.from(g.values());
390
- n = f.length > 0 && f.length < s, n && (r.series = f);
389
+ const f = Array.from(m.values());
390
+ n = f.length > 0 && f.length < s, n && (a.series = f);
391
391
  }
392
- return { seriesFilteredOut: n, filteredConfig: r };
392
+ return { seriesFilteredOut: n, filteredConfig: a };
393
393
  }
394
394
  const ji = (i) => i.hideEmptyRowsAndColumns, Zi = (i, e) => {
395
395
  i.hideEmptyRowsAndColumns = e;
@@ -400,47 +400,47 @@ const ji = (i) => i.hideEmptyRowsAndColumns, Zi = (i, e) => {
400
400
  const t = i.series[0];
401
401
  t.gradientRules = e;
402
402
  }, zi = (i) => i.series[0].gradientRules, Gi = (i) => {
403
- const { yField: e, config: t, layerInfo: a, commonStrings: s } = i, { layerFieldsInfo: r } = a, n = se(1, t), o = si(t), l = re(t), c = t.series[0];
404
- if (typeof e == "string" && o !== e && c) {
405
- if (c.y = e, _t(t), o === n || l) {
406
- const g = k(r, e);
407
- $(t, 1, g);
403
+ const { yField: e, config: t, layerInfo: r, commonStrings: s } = i, { layerFieldsInfo: a } = r, n = se(1, t), o = si(t), c = re(t), l = t.series[0];
404
+ if (typeof e == "string" && o !== e && l) {
405
+ if (l.y = e, _t(t), o === n || c) {
406
+ const m = k(a, e);
407
+ $(t, 1, m);
408
408
  }
409
- Pe({ commonStrings: s, config: t, layerInfo: a });
409
+ Pe({ commonStrings: s, config: t, layerInfo: r });
410
410
  }
411
411
  }, si = (i) => i.series[0].y ?? "", Ji = (i) => {
412
- const { binning: e, config: t, commonStrings: a } = i, s = t.series[0];
413
- if (s.xTemporalBinning = e, e?.unit !== void 0 && e.unit in a.utilsStrings.heatChartCalendarDatePartsUnits) {
414
- const r = a.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
415
- $(t, 0, r);
412
+ const { binning: e, config: t, commonStrings: r } = i, s = t.series[0];
413
+ if (s.xTemporalBinning = e, e?.unit !== void 0 && e.unit in r.utilsStrings.heatChartCalendarDatePartsUnits) {
414
+ const a = r.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
415
+ $(t, 0, a);
416
416
  }
417
- ee({ axisIndex: 0, commonStrings: a, config: t });
417
+ ee({ axisIndex: 0, commonStrings: r, config: t });
418
418
  }, ai = (i) => i.series[0].xTemporalBinning, es = (i) => {
419
- const { binning: e, config: t, commonStrings: a } = i, s = t.series[0];
420
- if (s.yTemporalBinning = e, e?.unit !== void 0 && e.unit in a.utilsStrings.heatChartCalendarDatePartsUnits) {
421
- const r = a.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
422
- $(t, 1, r);
419
+ const { binning: e, config: t, commonStrings: r } = i, s = t.series[0];
420
+ if (s.yTemporalBinning = e, e?.unit !== void 0 && e.unit in r.utilsStrings.heatChartCalendarDatePartsUnits) {
421
+ const a = r.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
422
+ $(t, 1, a);
423
423
  }
424
- ee({ axisIndex: 1, commonStrings: a, config: t });
424
+ ee({ axisIndex: 1, commonStrings: r, config: t });
425
425
  }, ri = (i) => i.series[0].yTemporalBinning, ni = (i, e) => {
426
426
  e.orderOptions ??= {};
427
- const t = e.axes?.[0]?.valueFormat?.type === "category" ? N.Category : N.YValue, a = me(e)[0], s = e.axes?.[1]?.valueFormat?.type === "category" ? N.Category : N.YValue, r = me(e)[1], n = {
427
+ const t = e.axes?.[0]?.valueFormat?.type === "category" ? N.Category : N.YValue, r = me(e)[0], s = e.axes?.[1]?.valueFormat?.type === "category" ? N.Category : N.YValue, a = me(e)[1], n = {
428
428
  ...e.orderOptions.data ?? {},
429
429
  orderType: N.MultiAxes
430
430
  };
431
- a === ce.customSort && t === N.Category && (n.orderByX = [...i]), r === ce.customSort && s === N.Category && (n.orderByY = [...i]), Object.keys(n).length > 1 && (e.orderOptions.data = n);
431
+ r === ce.customSort && t === N.Category && (n.orderByX = [...i]), a === ce.customSort && s === N.Category && (n.orderByY = [...i]), Object.keys(n).length > 1 && (e.orderOptions.data = n);
432
432
  }, ts = (i, e) => {
433
433
  const t = e.series[0];
434
434
  t.gridLine && (t.gridLine.width = i);
435
435
  }, is = (i) => i.series[0].gridLine?.width, ss = (i, e) => {
436
- const t = e.series[0], a = i?.length === 4 && i.every((s) => typeof s == "number");
437
- t.gridLine && a && (t.gridLine.color = i);
436
+ const t = e.series[0], r = i?.length === 4 && i.every((s) => typeof s == "number");
437
+ t.gridLine && r && (t.gridLine.color = i);
438
438
  }, as = (i) => i.series[0].gridLine?.color, rs = (i, e) => {
439
439
  const t = e.legend;
440
440
  t && (t.position = i);
441
441
  }, ns = (i) => i.legend?.position ?? Ct.Bottom, os = (i) => i.series[0].query?.outStatistics?.[0]?.onStatisticField, ls = (i) => {
442
- const { field: e, config: t, layerInfo: a, commonStrings: s } = i, r = t.series[0].query?.outStatistics?.[0], n = le(t, a, s);
443
- r ? (r.onStatisticField = e, r.outStatisticFieldName = `${r.statisticType}_${e}`) : t.series[0].query = {
442
+ const { field: e, config: t, layerInfo: r, commonStrings: s } = i, a = t.series[0].query?.outStatistics?.[0], n = le(t, r, s);
443
+ a ? (a.onStatisticField = e, a.outStatisticFieldName = `${a.statisticType}_${e}`) : t.series[0].query = {
444
444
  outStatistics: [
445
445
  {
446
446
  onStatisticField: e,
@@ -448,10 +448,10 @@ const ji = (i) => i.hideEmptyRowsAndColumns, Zi = (i, e) => {
448
448
  statisticType: I.Count
449
449
  }
450
450
  ]
451
- }, n && t.title && (t.title.content.text = Z(t, a, s));
451
+ }, n && t.title && (t.title.content.text = Z(t, r, s));
452
452
  }, cs = (i) => i.series[0].query?.outStatistics?.[0].statisticType ?? I.Count, us = (i) => {
453
- const { aggregationType: e, config: t, layerInfo: a, commonStrings: s } = i, r = t.series[0]?.query?.outStatistics?.[0], n = le(t, a, s);
454
- r && e !== I.NoAggregation && (r.statisticType = e, r.outStatisticFieldName = `${e}_${r.onStatisticField}`), (e === I.Count || e === I.Sum) && oi(H.Zero, t), n && t.title && (t.title.content.text = Z(t, a, s));
453
+ const { aggregationType: e, config: t, layerInfo: r, commonStrings: s } = i, a = t.series[0]?.query?.outStatistics?.[0], n = le(t, r, s);
454
+ a && e !== I.NoAggregation && (a.statisticType = e, a.outStatisticFieldName = `${e}_${a.onStatisticField}`), (e === I.Count || e === I.Sum) && oi(H.Zero, t), n && t.title && (t.title.content.text = Z(t, r, s));
455
455
  }, ds = (i) => i.nullPolicy, oi = (i, e) => {
456
456
  e.nullPolicy = i;
457
457
  }, ys = (i) => i.series[0].emptyCells, ms = (i, e) => {
@@ -525,8 +525,8 @@ const li = [
525
525
  let e;
526
526
  return _(i) ? e = ye() : (q(i) || Q(i)) && (e = J()), e;
527
527
  }, be = (i) => q(i) || Q(i), ve = (i) => {
528
- const { axisIndex: e, commonStrings: t, config: a, valueFormat: s } = i, r = a.axes?.[e]?.valueFormat;
529
- s !== void 0 && r?.type !== s.type && Ve({ config: a, commonStrings: t, valueFormat: s, axisIndex: e });
528
+ const { axisIndex: e, commonStrings: t, config: r, valueFormat: s } = i, a = r.axes?.[e]?.valueFormat;
529
+ s !== void 0 && a?.type !== s.type && Ve({ config: r, commonStrings: t, valueFormat: s, axisIndex: e });
530
530
  }, ci = (i, e) => {
531
531
  let t;
532
532
  return e === 0 ? t = i.series[0]?.xTemporalBinning : e === 1 && (t = i.series[0]?.yTemporalBinning), t;
@@ -560,14 +560,14 @@ const li = [
560
560
  intlOptions: e
561
561
  };
562
562
  }, De = (i) => {
563
- const { axisIndex: e, binning: t, commonStrings: a, config: s, fieldName: r, layerInfo: n } = i, o = s.series[0], l = se(e, s), c = k(n.layerFieldsInfo, r);
564
- e === 0 ? o.xTemporalBinning = t : e === 1 && (o.yTemporalBinning = t), t !== void 0 && (l === "" || l === c || l === Ie(a, t.unit) || l === a.xAxis) && $(s, e, Ie(a, t.unit));
563
+ const { axisIndex: e, binning: t, commonStrings: r, config: s, fieldName: a, layerInfo: n } = i, o = s.series[0], c = se(e, s), l = k(n.layerFieldsInfo, a);
564
+ e === 0 ? o.xTemporalBinning = t : e === 1 && (o.yTemporalBinning = t), t !== void 0 && (c === "" || c === l || c === Ie(r, t.unit) || c === r.xAxis) && $(s, e, Ie(r, t.unit));
565
565
  }, ee = (i) => {
566
- const { axisIndex: e, commonStrings: t, config: a } = i, s = ci(a, e), r = s ? ui(s) : void 0;
567
- Ve({ config: a, commonStrings: t, valueFormat: r, axisIndex: e });
566
+ const { axisIndex: e, commonStrings: t, config: r } = i, s = ci(r, e), a = s ? ui(s) : void 0;
567
+ Ve({ config: r, commonStrings: t, valueFormat: a, axisIndex: e });
568
568
  }, Pe = (i) => {
569
- const { commonStrings: e, config: t, layerInfo: a } = i, s = t.series[0]?.x ?? "", r = t.series[0]?.y ?? "", n = he(a.layerFieldsInfo, s), o = he(a.layerFieldsInfo, r), l = Ae(n), c = Ae(o), g = be(n) && be(o), f = _(n) && _(o);
570
- if (ve({ axisIndex: 0, commonStrings: e, config: t, valueFormat: l }), ve({ axisIndex: 1, commonStrings: e, config: t, valueFormat: c }), g) {
569
+ const { commonStrings: e, config: t, layerInfo: r } = i, s = t.series[0]?.x ?? "", a = t.series[0]?.y ?? "", n = he(r.layerFieldsInfo, s), o = he(r.layerFieldsInfo, a), c = Ae(n), l = Ae(o), m = be(n) && be(o), f = _(n) && _(o);
570
+ if (ve({ axisIndex: 0, commonStrings: e, config: t, valueFormat: c }), ve({ axisIndex: 1, commonStrings: e, config: t, valueFormat: l }), m) {
571
571
  const p = ai(t) === void 0, u = ri(t) === void 0;
572
572
  p && (De({
573
573
  axisIndex: 0,
@@ -575,7 +575,7 @@ const li = [
575
575
  commonStrings: e,
576
576
  config: t,
577
577
  fieldName: s,
578
- layerInfo: a
578
+ layerInfo: r
579
579
  }), ee({
580
580
  axisIndex: 0,
581
581
  commonStrings: e,
@@ -585,8 +585,8 @@ const li = [
585
585
  binning: Le(1, t.series[0].xTemporalBinning),
586
586
  commonStrings: e,
587
587
  config: t,
588
- fieldName: r,
589
- layerInfo: a
588
+ fieldName: a,
589
+ layerInfo: r
590
590
  }), ee({
591
591
  axisIndex: 1,
592
592
  commonStrings: e,
@@ -602,41 +602,41 @@ function di(i) {
602
602
  }), e.text || e.fillSymbol || e.markerSymbol ? e : void 0;
603
603
  }
604
604
  function ne(i) {
605
- const { seriesIndex: e, xAxisField: t, aggregationType: a, config: s, layerInfo: r, commonStrings: n } = i, o = j(r?.layer).idField;
606
- let l;
607
- const c = s.series[e ?? 0];
608
- let g = !1, f = !1, p = !1;
609
- if (c === void 0) {
605
+ const { seriesIndex: e, xAxisField: t, aggregationType: r, config: s, layerInfo: a, commonStrings: n } = i, o = j(a?.layer).idField;
606
+ let c;
607
+ const l = s.series[e ?? 0];
608
+ let m = !1, f = !1, p = !1;
609
+ if (l === void 0) {
610
610
  const T = s.series;
611
- g = T.slice(0, e).every((b) => O(b)), f = T.slice(0, e).every((b) => V(b)), p = T.slice(0, e).every((b) => Te(b));
611
+ m = T.slice(0, e).every((b) => O(b)), f = T.slice(0, e).every((b) => V(b)), p = T.slice(0, e).every((b) => Te(b));
612
612
  } else
613
- g = O(c), f = V(c), p = Te(c);
614
- g ? l = Dt({
613
+ m = O(l), f = V(l), p = Te(l);
614
+ m ? c = Dt({
615
615
  commonStrings: n,
616
616
  seriesIndex: e,
617
617
  objectIDField: o
618
- }) : f ? l = Nt({
618
+ }) : f ? c = Nt({
619
619
  commonStrings: n,
620
620
  seriesIndex: e,
621
621
  objectIDField: o
622
- }) : p ? l = Ot(n, o) : l = Vt({
622
+ }) : p ? c = Ot(n, o) : c = Vt({
623
623
  seriesIndex: e,
624
624
  objectIDField: o,
625
625
  commonStrings: n
626
626
  });
627
- const u = s.series[0]?.dataLabels, d = "nullCategory" in s.series[0] ? di(s) : void 0, y = "binTemporalData" in s.series[0] ? s.series[0].binTemporalData : void 0, m = "classBreakRules" in s.series[0] ? s.series[0].classBreakRules : void 0, F = "xTemporalBinning" in s.series[0] ? s.series[0].xTemporalBinning : void 0, S = "yTemporalBinning" in s.series[0] ? s.series[0].yTemporalBinning : void 0, h = "emptyCells" in s.series[0] ? s.series[0].emptyCells : void 0, A = s.series[0].query && "fetchNullValues" in s.series[0].query ? s.series[0].query?.fetchNullValues : void 0, C = {
628
- ...l,
627
+ const u = s.series[0]?.dataLabels, d = "nullCategory" in s.series[0] ? di(s) : void 0, y = "binTemporalData" in s.series[0] ? s.series[0].binTemporalData : void 0, g = "classBreakRules" in s.series[0] ? s.series[0].classBreakRules : void 0, F = "xTemporalBinning" in s.series[0] ? s.series[0].xTemporalBinning : void 0, S = "yTemporalBinning" in s.series[0] ? s.series[0].yTemporalBinning : void 0, h = "emptyCells" in s.series[0] ? s.series[0].emptyCells : void 0, A = s.series[0].query && "fetchNullValues" in s.series[0].query ? s.series[0].query?.fetchNullValues : void 0, C = {
628
+ ...c,
629
629
  x: t,
630
630
  y: "",
631
631
  dataLabels: {
632
- ...l.dataLabels,
633
- type: l.dataLabels?.type ?? x.Text,
634
- content: { ...l.dataLabels?.content, ...u?.content, type: vt.TS },
632
+ ...c.dataLabels,
633
+ type: c.dataLabels?.type ?? x.Text,
634
+ content: { ...c.dataLabels?.content, ...u?.content, type: vt.TS },
635
635
  visible: u?.visible ?? !1
636
636
  },
637
637
  ...d !== void 0 ? { nullCategory: d } : {},
638
638
  ...y !== void 0 ? { binTemporalData: y } : {},
639
- ...m !== void 0 ? { classBreakRules: m } : {},
639
+ ...g !== void 0 ? { classBreakRules: g } : {},
640
640
  ...F !== void 0 ? { xTemporalBinning: F } : {},
641
641
  ...S !== void 0 ? { yTemporalBinning: S } : {},
642
642
  ...h !== void 0 ? { emptyCells: h } : {}
@@ -644,11 +644,11 @@ function ne(i) {
644
644
  if (C.query = {
645
645
  groupByFieldsForStatistics: [t],
646
646
  ...A !== void 0 ? { fetchNullValues: A } : {}
647
- }, a !== I.NoAggregation && o !== void 0) {
648
- const T = `${a}_${o}_0`.toUpperCase();
647
+ }, r !== I.NoAggregation && o !== void 0) {
648
+ const T = `${r}_${o}_0`.toUpperCase();
649
649
  C.y = T, C.query.outStatistics = [
650
650
  {
651
- statisticType: a,
651
+ statisticType: r,
652
652
  onStatisticField: o,
653
653
  outStatisticFieldName: T
654
654
  }
@@ -664,54 +664,54 @@ function ne(i) {
664
664
  return te(C);
665
665
  }
666
666
  function Z(i, e, t) {
667
- const { layerFieldsInfo: a } = e, { idField: s, isTraditionalTypeOID: r } = j(e.layer), n = P(i), o = W(i), l = oe(i), c = K(i), g = r && (o.length === 0 || o.includes(s)), f = Lt(l, t), p = g ? "" : o.map((h) => k(a ?? [], h)).join(", "), u = k(a ?? [], n), d = k(a ?? [], c), y = i.series.some((h) => Y(h)), m = y ? "category" : "xAxisField", F = u;
667
+ const { layerFieldsInfo: r } = e, { idField: s, isTraditionalTypeOID: a } = j(e.layer), n = P(i), o = W(i), c = oe(i), l = K(i), m = a && (o.length === 0 || o.includes(s)), f = Lt(c, t), p = m ? "" : o.map((h) => k(r ?? [], h)).join(", "), u = k(r ?? [], n), d = k(r ?? [], l), y = i.series.some((h) => Y(h)), g = y ? "category" : "xAxisField", F = u;
668
668
  let S = "";
669
669
  if (fe({
670
670
  fieldName: n,
671
671
  numericFields: o,
672
- fieldList: a
672
+ fieldList: r
673
673
  }))
674
674
  S = M(t.titleLabels.aggrTypeOfAggrFields, {
675
675
  aggregationType: f,
676
676
  aggregationFields: p
677
677
  });
678
- else if (l === I.NoAggregation) {
679
- const h = g ? s : p;
680
- if (c === "") {
678
+ else if (c === I.NoAggregation) {
679
+ const h = m ? s : p;
680
+ if (l === "") {
681
681
  const A = y ? "aggrTypeCategory" : "aggrTypeXAxisField";
682
682
  S = M(t.titleLabels[A], {
683
683
  aggregationType: h,
684
- [m]: F
684
+ [g]: F
685
685
  });
686
686
  } else {
687
687
  const A = y ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
688
688
  S = M(t.titleLabels[A], {
689
689
  aggregationType: h,
690
- [m]: F,
690
+ [g]: F,
691
691
  splitByField: d
692
692
  });
693
693
  }
694
- } else if (l === I.Count)
695
- if (c === "") {
694
+ } else if (c === I.Count)
695
+ if (l === "") {
696
696
  const h = y ? "aggrTypeCategory" : "aggrTypeXAxisField";
697
697
  S = M(t.titleLabels[h], {
698
698
  aggregationType: f,
699
- [m]: F
699
+ [g]: F
700
700
  });
701
701
  } else {
702
702
  const h = y ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
703
703
  S = M(t.titleLabels[h], {
704
704
  aggregationType: f,
705
- [m]: F,
705
+ [g]: F,
706
706
  splitByField: d
707
707
  });
708
708
  }
709
- else if (c !== "") {
709
+ else if (l !== "") {
710
710
  const h = y ? "aggrTypeOfAggrFieldByCategoryBySplitByField" : "aggrTypeOfAggrFieldByXAxisFieldBySplitByField";
711
711
  S = M(t.titleLabels[h], {
712
712
  aggregationType: f,
713
713
  aggregationField: p,
714
- [m]: F,
714
+ [g]: F,
715
715
  splitByField: d
716
716
  });
717
717
  } else if (o.length > 0) {
@@ -719,7 +719,7 @@ function Z(i, e, t) {
719
719
  S = M(t.titleLabels[h], {
720
720
  aggregationType: f,
721
721
  aggregationFields: p,
722
- [m]: F
722
+ [g]: F
723
723
  });
724
724
  }
725
725
  return S;
@@ -738,30 +738,30 @@ const Ee = (i) => ge({
738
738
  let e = [];
739
739
  if (K(i) === "")
740
740
  e = i?.series.map((t) => {
741
- const a = t.query?.outStatistics?.map((s) => s.onStatisticField) ?? [];
742
- return a?.length > 0 ? a : t.y;
741
+ const r = t.query?.outStatistics?.map((s) => s.onStatisticField) ?? [];
742
+ return r?.length > 0 ? r : t.y;
743
743
  }).flat() ?? [];
744
744
  else {
745
- const t = i?.series?.[0], a = t?.query?.outStatistics?.[0]?.onStatisticField ?? [t?.y].flat()[0];
746
- e = a !== void 0 ? [a] : [];
745
+ const t = i?.series?.[0], r = t?.query?.outStatistics?.[0]?.onStatisticField ?? [t?.y].flat()[0];
746
+ e = r !== void 0 ? [r] : [];
747
747
  }
748
748
  return e.filter((t) => t !== "");
749
749
  };
750
750
  function Me(i) {
751
- const { splitByField: e, numericFields: t, layer: a, seriesIndex: s } = i, r = j(a).idField ?? "";
752
- return e === "" ? t[s] ?? r : t[0] ?? r;
751
+ const { splitByField: e, numericFields: t, layer: r, seriesIndex: s } = i, a = j(r).idField ?? "";
752
+ return e === "" ? t[s] ?? a : t[0] ?? a;
753
753
  }
754
754
  function yi(i) {
755
- const { numericFields: e, aggregationType: t, config: a, layerInfo: s } = i;
756
- let r = !1;
757
- t === I.Count ? r = !0 : t === I.NoAggregation && (r = e.every((l) => {
758
- const c = s.layerFieldsInfo.find((g) => g.name === l);
759
- return c !== void 0 ? xe(c) : !1;
760
- })), Be(a, 1, r);
761
- const n = a.series.some((l) => O(l)), o = a.series.some((l) => V(l));
755
+ const { numericFields: e, aggregationType: t, config: r, layerInfo: s } = i;
756
+ let a = !1;
757
+ t === I.Count ? a = !0 : t === I.NoAggregation && (a = e.every((c) => {
758
+ const l = s.layerFieldsInfo.find((m) => m.name === c);
759
+ return l !== void 0 ? xe(l) : !1;
760
+ })), Be(r, 1, a);
761
+ const n = r.series.some((c) => O(c)), o = r.series.some((c) => V(c));
762
762
  if (n || o) {
763
- const l = P(a), c = s.layerFieldsInfo.find((f) => f.name === l), g = c !== void 0 && xe(c);
764
- Be(a, 0, g);
763
+ const c = P(r), l = s.layerFieldsInfo.find((f) => f.name === c), m = l !== void 0 && xe(l);
764
+ Be(r, 0, m);
765
765
  }
766
766
  }
767
767
  function Ye(i) {
@@ -771,111 +771,111 @@ function Ye(i) {
771
771
  const me = (i) => {
772
772
  let e;
773
773
  if (X(i)) {
774
- const t = i.orderOptions?.data?.orderByX ?? [""], a = i.orderOptions?.data?.orderByY ?? [""], s = i.axes?.[0]?.valueFormat?.type === "category" ? N.Category : N.YValue, r = i.axes?.[1]?.valueFormat?.type === "category" ? N.Category : N.YValue;
775
- e = [Ce(t, s), Ce(a, r)];
774
+ const t = i.orderOptions?.data?.orderByX ?? [""], r = i.orderOptions?.data?.orderByY ?? [""], s = i.axes?.[0]?.valueFormat?.type === "category" ? N.Category : N.YValue, a = i.axes?.[1]?.valueFormat?.type === "category" ? N.Category : N.YValue;
775
+ e = [Ce(t, s), Ce(r, a)];
776
776
  } else {
777
- const t = i.orderOptions?.data?.orderType ?? N.Category, a = i.orderOptions?.data && "orderBy" in i.orderOptions.data ? i.orderOptions.data.orderBy : At.Ascending;
778
- e = [Bt(a, t)];
777
+ const t = i.orderOptions?.data?.orderType ?? N.Category, r = i.orderOptions?.data && "orderBy" in i.orderOptions.data ? i.orderOptions.data.orderBy : At.Ascending;
778
+ e = [Bt(r, t)];
779
779
  }
780
780
  return e;
781
781
  };
782
782
  function mi(i) {
783
- const { xAxisField: e, numericFields: t, aggregationType: a, config: s, layerInfo: r, commonStrings: n } = i, { layerFieldsInfo: o } = r, l = ne({
783
+ const { xAxisField: e, numericFields: t, aggregationType: r, config: s, layerInfo: a, commonStrings: n } = i, { layerFieldsInfo: o } = a, c = ne({
784
784
  config: s,
785
785
  xAxisField: e,
786
- aggregationType: a,
787
- layerInfo: r,
786
+ aggregationType: r,
787
+ layerInfo: a,
788
788
  seriesIndex: 0,
789
789
  commonStrings: n
790
- }), c = ae({
790
+ }), l = ae({
791
791
  config: s,
792
792
  xAxisField: e,
793
793
  numericFields: t,
794
- aggregationType: a,
795
- layer: r.layer,
794
+ aggregationType: r,
795
+ layer: a.layer,
796
796
  fieldList: o
797
- }).name, g = P(s), f = W(s), p = fe({
798
- fieldName: g,
797
+ }).name, m = P(s), f = W(s), p = fe({
798
+ fieldName: m,
799
799
  numericFields: f,
800
800
  fieldList: o
801
801
  }) ? s.series[0] : void 0, u = `series_${Date.now()}`, d = p?.id ?? u, y = p?.name ?? n.axisLabels.values, F = {
802
- ...p ?? l,
802
+ ...p ?? c,
803
803
  id: d,
804
804
  name: y,
805
805
  x: U,
806
- y: c
806
+ y: l
807
807
  }, S = [];
808
808
  for (const h of t)
809
809
  S.push({
810
810
  onStatisticField: h,
811
811
  outStatisticFieldName: `${h}_0`.toUpperCase(),
812
- statisticType: a
812
+ statisticType: r
813
813
  });
814
814
  return F.query = { outStatistics: S }, s.series.length === 1 && ((O(F) || V(F)) && Xe(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];
815
815
  }
816
816
  function $e(i) {
817
- const { xAxisField: e, numericFields: t, aggregationType: a, config: s, layerInfo: r, commonStrings: n } = i, { layerFieldsInfo: o } = r, l = j(r.layer).idField, c = [];
817
+ const { xAxisField: e, numericFields: t, aggregationType: r, config: s, layerInfo: a, commonStrings: n } = i, { layerFieldsInfo: o } = a, c = j(a.layer).idField, l = [];
818
818
  for (let d = 0; d < t.length; d += 1) {
819
819
  const y = ne({
820
820
  config: s,
821
821
  xAxisField: e,
822
- aggregationType: a,
823
- layerInfo: r,
822
+ aggregationType: r,
823
+ layerInfo: a,
824
824
  seriesIndex: d,
825
825
  commonStrings: n
826
- }), m = s.series[d]?.y, F = typeof m == "string" && m.trim() !== "" && !o.find((D) => D.name === m) ? m : ae({
826
+ }), g = s.series[d]?.y, F = typeof g == "string" && g.trim() !== "" && !o.find((D) => D.name === g) ? g : ae({
827
827
  config: s,
828
828
  xAxisField: e,
829
829
  numericFields: t,
830
- aggregationType: a,
831
- layer: r.layer,
830
+ aggregationType: r,
831
+ layer: a.layer,
832
832
  numericFieldIndex: d,
833
833
  fieldList: o
834
834
  }).name, S = t[d], h = s.series.find(
835
835
  (D) => D.query?.where === void 0 && (D.query?.outStatistics?.length === 1 && D.query?.outStatistics?.[0]?.onStatisticField === S || D.query?.outStatistics === void 0 && (D.y === S || D.x === S))
836
- ), A = S !== l ? S : y.id, C = h?.id ?? A, T = h?.name ?? k(o, S) ?? C, b = h ?? y, v = {
836
+ ), A = S !== c ? S : y.id, C = h?.id ?? A, T = h?.name ?? k(o, S) ?? C, b = h ?? y, v = {
837
837
  ...b,
838
838
  id: C,
839
839
  name: T
840
840
  };
841
841
  let E = S;
842
- v.query !== void 0 && (a !== I.NoAggregation ? (E = v.type === x.HeatSeries && h?.type === x.HeatSeries ? S : F, v.query.outStatistics = [
842
+ v.query !== void 0 && (r !== I.NoAggregation ? (E = v.type === x.HeatSeries && h?.type === x.HeatSeries ? S : F, v.query.outStatistics = [
843
843
  {
844
844
  ...b.query?.outStatistics?.[0] ?? {},
845
845
  onStatisticField: S,
846
846
  outStatisticFieldName: F,
847
- statisticType: a
847
+ statisticType: r
848
848
  }
849
- ]) : delete v.query.outStatistics), v.y = E, c.push(v);
849
+ ]) : delete v.query.outStatistics), v.y = E, l.push(v);
850
850
  }
851
- const g = c.filter((d) => Y(d)), f = c.filter(
851
+ const m = l.filter((d) => Y(d)), f = l.filter(
852
852
  (d) => O(d) || V(d)
853
853
  ), p = s.series.filter((d) => Y(d)), u = s.series.filter(
854
854
  (d) => O(d) || V(d)
855
855
  );
856
- 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])) && Xe(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;
856
+ return p.length === 1 && m.length === 1 && Y(p[0]) && Y(m[0]) && (m[0].fillSymbol = p[0].fillSymbol), u.length === 1 && f.length === 1 && ((O(u[0]) && O(f[0]) || V(u[0]) && V(f[0])) && Xe(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)), l;
857
857
  }
858
858
  function Vs(i) {
859
- const { aggregationType: e, config: t, layerInfo: a, commonStrings: s } = i, { layerFieldsInfo: r, layer: n } = a, o = P(t), l = W(t), c = K(t), g = oe(t), f = le(t, a, s), p = He(t, a, s);
859
+ const { aggregationType: e, config: t, layerInfo: r, commonStrings: s } = i, { layerFieldsInfo: a, layer: n } = r, o = P(t), c = W(t), l = K(t), m = oe(t), f = le(t, r, s), p = He(t, r, s);
860
860
  if (t.series.forEach((u, d) => {
861
861
  const y = ae({
862
862
  config: t,
863
863
  xAxisField: o,
864
- numericFields: l,
864
+ numericFields: c,
865
865
  aggregationType: e,
866
- splitByField: c,
866
+ splitByField: l,
867
867
  layer: n,
868
868
  seriesIndex: d,
869
869
  numericFieldIndex: d,
870
- fieldList: r
870
+ fieldList: a
871
871
  }).name;
872
872
  u.y = y;
873
- const m = Me({
874
- splitByField: c,
875
- numericFields: l,
873
+ const g = Me({
874
+ splitByField: l,
875
+ numericFields: c,
876
876
  layer: n,
877
877
  seriesIndex: d
878
- }), F = u.query?.outStatistics?.[0]?.onStatisticField ?? m;
878
+ }), F = u.query?.outStatistics?.[0]?.onStatisticField ?? g;
879
879
  u.query = {
880
880
  ...u.query,
881
881
  outStatistics: e === I.NoAggregation ? void 0 : [
@@ -887,41 +887,41 @@ function Vs(i) {
887
887
  }
888
888
  ]
889
889
  }, "temporalBinning" in u && u.temporalBinning !== void 0 && (u.temporalBinning.nullPolicy = e === I.NoAggregation ? H.Interpolate : H.Null), e === I.NoAggregation && Ht(t);
890
- }), f && t.title && (t.title.content.text = Z(t, a, s)), p && t.series[0].type !== x.HeatSeries) {
890
+ }), f && t.title && (t.title.content.text = Z(t, r, s)), p && t.series[0].type !== x.HeatSeries) {
891
891
  const u = pe({
892
892
  config: t,
893
- layerInfo: a,
893
+ layerInfo: r,
894
894
  commonStrings: s,
895
- numericFields: l,
895
+ numericFields: c,
896
896
  aggregationType: e
897
897
  });
898
898
  $(t, 1, u);
899
899
  }
900
- g !== e && Ye(t);
900
+ m !== e && Ye(t);
901
901
  }
902
902
  function gi(i) {
903
903
  const {
904
904
  splitByField: e,
905
905
  xAxisField: t,
906
- numericFields: a,
906
+ numericFields: r,
907
907
  aggregationType: s,
908
- config: r,
908
+ config: a,
909
909
  layerInfo: n,
910
910
  commonStrings: o,
911
- splitByFieldInfos: l
912
- } = i, { layer: c, layerFieldsInfo: g } = n, { categoriesArray: f, splitByFieldType: p } = l, u = Me({
911
+ splitByFieldInfos: c
912
+ } = i, { layer: l, layerFieldsInfo: m } = n, { categoriesArray: f, splitByFieldType: p } = c, u = Me({
913
913
  splitByField: e,
914
- numericFields: a,
915
- layer: c,
914
+ numericFields: r,
915
+ layer: l,
916
916
  seriesIndex: 0
917
917
  });
918
918
  let d = [];
919
919
  if (f.length === 0) {
920
920
  d = $e({
921
921
  xAxisField: t,
922
- numericFields: a,
922
+ numericFields: r,
923
923
  aggregationType: s,
924
- config: r,
924
+ config: a,
925
925
  layerInfo: n,
926
926
  commonStrings: o
927
927
  });
@@ -929,17 +929,17 @@ function gi(i) {
929
929
  y.query && (y.query.where = `${e}=''`);
930
930
  } else
931
931
  for (let y = 0; y < f.length; y += 1) {
932
- const m = f[y], F = ae({
933
- config: r,
932
+ const g = f[y], F = ae({
933
+ config: a,
934
934
  xAxisField: t,
935
- numericFields: a,
935
+ numericFields: r,
936
936
  aggregationType: s,
937
937
  layer: n.layer,
938
938
  seriesIndex: y,
939
939
  splitByField: e,
940
- fieldList: g
940
+ fieldList: m
941
941
  }).name, S = ne({
942
- config: r,
942
+ config: a,
943
943
  xAxisField: t,
944
944
  aggregationType: s,
945
945
  layerInfo: n,
@@ -948,8 +948,8 @@ function gi(i) {
948
948
  }), h = Oe({
949
949
  queryObject: n.layer,
950
950
  fieldName: e,
951
- fieldValue: m ?? ""
952
- }), A = `${m}`, C = r.series.find(
951
+ fieldValue: g ?? ""
952
+ }), A = `${g}`, C = a.series.find(
953
953
  (D) => String(Ee(D)).trim().replace(/'/gu, "") === A
954
954
  ), T = C?.id ?? A, b = C?.name ?? h ?? T, v = C ?? S, E = {
955
955
  ...v,
@@ -958,7 +958,7 @@ function gi(i) {
958
958
  y: F,
959
959
  query: {
960
960
  ...v.query,
961
- where: `${e}=${p === Re.String && m !== null ? `'${m}'` : m}`,
961
+ where: `${e}=${p === Re.String && g !== null ? `'${g}'` : g}`,
962
962
  outStatistics: s !== I.NoAggregation ? [
963
963
  {
964
964
  ...v.query?.outStatistics?.[0] ?? {},
@@ -977,66 +977,66 @@ const qs = (i) => {
977
977
  const {
978
978
  xAxisFieldName: e,
979
979
  splitByField: t,
980
- numericFields: a,
980
+ numericFields: r,
981
981
  aggregationType: s,
982
- config: r,
982
+ config: a,
983
983
  layerInfo: n,
984
984
  commonStrings: o,
985
- splitByFieldInfos: l
986
- } = i, { layerFieldsInfo: c } = n ?? {}, g = te(r), f = Et(r), p = P(g), u = K(g), d = oe(g), y = c.find((B) => B.name === p), m = r.series[0]?.query === void 0, F = W(g), S = c.find((B) => B.name === e), h = le(g, n, o), A = He(g, n, o), C = pi({ config: g, layerInfo: n, commonStrings: o });
987
- let T = qe(r);
988
- const b = g.series.some((B) => Y(B)), v = ht(g.series), E = Tt(g.series), D = q(y) || q(S);
989
- if (_(S) ? T = ye() : !Q(y) && Q(S) ? T = J() : !q(y) && q(S) ? T = J() : q(y) && !q(S) && (b ? T = ye() : T = qt()), T !== void 0 && xt(r, o, T), f === 0 && (r.series = [
990
- ne({ config: r, xAxisField: e, aggregationType: s, layerInfo: n, commonStrings: o })
991
- ]), r.series.forEach((B) => {
985
+ splitByFieldInfos: c
986
+ } = i, { layerFieldsInfo: l } = n ?? {}, m = te(a), f = Et(a), p = P(m), u = K(m), d = oe(m), y = l.find((B) => B.name === p), g = a.series[0]?.query === void 0, F = W(m), S = l.find((B) => B.name === e), h = le(m, n, o), A = He(m, n, o), C = pi({ config: m, layerInfo: n, commonStrings: o });
987
+ let T = qe(a);
988
+ const b = m.series.some((B) => Y(B)), v = ht(m.series), E = Tt(m.series), D = q(y) || q(S);
989
+ if (_(S) ? T = ye() : !Q(y) && Q(S) ? T = J() : !q(y) && q(S) ? T = J() : q(y) && !q(S) && (b ? T = ye() : T = qt()), T !== void 0 && xt(a, o, T), f === 0 && (a.series = [
990
+ ne({ config: a, xAxisField: e, aggregationType: s, layerInfo: n, commonStrings: o })
991
+ ]), a.series.forEach((B) => {
992
992
  B.x = e, B.query !== void 0 && (B.query.groupByFieldsForStatistics = [e]);
993
- }), t === "" || a.length > 1 ? fe({
993
+ }), t === "" || r.length > 1 ? fe({
994
994
  fieldName: e,
995
- numericFields: a,
996
- fieldList: c
997
- }) ? r.series = mi({
998
- config: r,
995
+ numericFields: r,
996
+ fieldList: l
997
+ }) ? a.series = mi({
998
+ config: a,
999
999
  layerInfo: n,
1000
1000
  xAxisField: e,
1001
- numericFields: a,
1001
+ numericFields: r,
1002
1002
  aggregationType: s,
1003
1003
  commonStrings: o
1004
- }) : r.series = $e({
1005
- config: r,
1004
+ }) : a.series = $e({
1005
+ config: a,
1006
1006
  layerInfo: n,
1007
1007
  xAxisField: e,
1008
- numericFields: a,
1008
+ numericFields: r,
1009
1009
  aggregationType: s,
1010
1010
  commonStrings: o
1011
- }) : l && (r.series = gi({
1012
- config: r,
1011
+ }) : c && (a.series = gi({
1012
+ config: a,
1013
1013
  layerInfo: n,
1014
1014
  splitByField: t,
1015
1015
  xAxisField: e,
1016
- numericFields: a,
1016
+ numericFields: r,
1017
1017
  aggregationType: s,
1018
1018
  commonStrings: o,
1019
- splitByFieldInfos: l
1020
- })), C && e !== U && r.series[0].type !== x.HeatSeries) {
1021
- const B = k(c, e);
1022
- $(r, 0, B);
1019
+ splitByFieldInfos: c
1020
+ })), C && e !== U && a.series[0].type !== x.HeatSeries) {
1021
+ const B = k(l, e);
1022
+ $(a, 0, B);
1023
1023
  }
1024
- if (A && r.series[0].type !== x.HeatSeries) {
1024
+ if (A && a.series[0].type !== x.HeatSeries) {
1025
1025
  const B = pe({
1026
- config: r,
1026
+ config: a,
1027
1027
  layerInfo: n,
1028
1028
  commonStrings: o,
1029
- numericFields: a,
1029
+ numericFields: r,
1030
1030
  aggregationType: s
1031
1031
  });
1032
- $(r, 1, B);
1032
+ $(a, 1, B);
1033
1033
  }
1034
- if (h && r.title && (r.title.content.text = Z(r, n, o)), p === e && u === t && d === s && je(F, a) || Ye(r), yi({ numericFields: a, aggregationType: s, config: r, layerInfo: n }), (v || E) && (z({ config: r, value: null, axisIndex: 0, isMax: !1 }), z({ config: r, value: null, axisIndex: 0, isMax: !0 }), D && s !== I.NoAggregation && !X(g))) {
1034
+ if (h && a.title && (a.title.content.text = Z(a, n, o)), p === e && u === t && d === s && je(F, r) || Ye(a), yi({ numericFields: r, aggregationType: s, config: a, layerInfo: n }), (v || E) && (z({ config: a, value: null, axisIndex: 0, isMax: !1 }), z({ config: a, value: null, axisIndex: 0, isMax: !0 }), D && s !== I.NoAggregation && !X(m))) {
1035
1035
  const B = q(S) ? H.Null : H.Interpolate;
1036
- Xt(B, r);
1036
+ Xt(B, a);
1037
1037
  }
1038
- X(r) && Pe({ commonStrings: o, config: r, layerInfo: n }), r.series.forEach((B) => {
1039
- m && delete B.query, p !== e && L(B) && (S?.type === Re.TimeOnly ? B.binTemporalData = !1 : B.binTemporalData = B.type === x.LineSeries && q(S));
1038
+ X(a) && Pe({ commonStrings: o, config: a, layerInfo: n }), a.series.forEach((B) => {
1039
+ g && delete B.query, p !== e && L(B) && (S?.type === Re.TimeOnly ? B.binTemporalData = !1 : B.binTemporalData = B.type === x.LineSeries && q(S));
1040
1040
  });
1041
1041
  }, Xe = (i, e) => {
1042
1042
  i.markerVisible = e.markerVisible, i.lineSmoothed = e.lineSmoothed, i.showArea = e.showArea, i.areaColor = e.areaColor, i.stackNegativeValuesToBaseline = e.stackNegativeValuesToBaseline, e.lineSymbol && (i.lineSymbol = { ...e.lineSymbol, color: i.lineSymbol?.color }), e.markerSymbol && (i.markerSymbol = {
@@ -1044,22 +1044,22 @@ const qs = (i) => {
1044
1044
  color: i.markerSymbol?.color
1045
1045
  });
1046
1046
  }, Rs = (i) => {
1047
- const { config: e, seriesIndex: t, layerInfo: a, commonStrings: s } = i, r = e.series?.[t], n = K(e);
1047
+ const { config: e, seriesIndex: t, layerInfo: r, commonStrings: s } = i, a = e.series?.[t], n = K(e);
1048
1048
  let o;
1049
1049
  if (ie(e.series) === w.BarAndLineFromFields)
1050
1050
  o = s.axisLabels.values;
1051
1051
  else if (Ue(n)) {
1052
- const c = r.query?.outStatistics?.[0]?.onStatisticField;
1053
- c !== void 0 && c !== j(a.layer).idField && (o = k(a.layerFieldsInfo, c));
1052
+ const l = a.query?.outStatistics?.[0]?.onStatisticField;
1053
+ l !== void 0 && l !== j(r.layer).idField && (o = k(r.layerFieldsInfo, l));
1054
1054
  } else {
1055
- const c = String(Ee(r)).trim().replace(/'/gu, "");
1055
+ const l = String(Ee(a)).trim().replace(/'/gu, "");
1056
1056
  o = Oe({
1057
- queryObject: a.layer,
1057
+ queryObject: r.layer,
1058
1058
  fieldName: n,
1059
- fieldValue: c ?? ""
1060
- }) ?? c;
1059
+ fieldValue: l ?? ""
1060
+ }) ?? l;
1061
1061
  }
1062
- return o ?? r.id;
1062
+ return o ?? a.id;
1063
1063
  }, ks = (i, e) => {
1064
1064
  if (X(e))
1065
1065
  ni(i, e);
@@ -1072,32 +1072,33 @@ const qs = (i) => {
1072
1072
  });
1073
1073
  }
1074
1074
  }, ws = async (i) => {
1075
- const { config: e, layerInfo: t, errorStrings: a } = i, s = P(e), r = qe(e)?.type, n = W(e), o = ie(e.series);
1075
+ const { config: e, layerInfo: t, num: r, errorStrings: s } = i, a = P(e), n = qe(e)?.type, o = W(e), c = ie(e.series);
1076
1076
  let l = [];
1077
- return r === x.CategoryAxisFormat && (o === w.BarAndLineFromFields || s === U ? l = n.map((c) => k(t?.layerFieldsInfo, c)) : s.trim() !== "" && s !== U && t !== void 0 && (l = await Ft({
1077
+ return n === x.CategoryAxisFormat && (c === w.BarAndLineFromFields || a === U ? l = o.map((m) => k(t?.layerFieldsInfo, m)) : a.trim() !== "" && a !== U && t !== void 0 && (l = await Ft({
1078
1078
  layerInfo: t,
1079
1079
  config: e,
1080
- category: s,
1081
- errorStrings: a
1080
+ category: a,
1081
+ num: r,
1082
+ errorStrings: s
1082
1083
  }))), l;
1083
1084
  };
1084
1085
  function le(i, e, t) {
1085
- const a = Z(i, e, t), s = Mt(i), r = re(i);
1086
- return a === s || r;
1086
+ const r = Z(i, e, t), s = Mt(i), a = re(i);
1087
+ return r === s || a;
1087
1088
  }
1088
1089
  function He(i, e, t) {
1089
- const a = pe({
1090
+ const r = pe({
1090
1091
  config: i,
1091
1092
  layerInfo: e,
1092
1093
  commonStrings: t,
1093
1094
  numericFields: W(i),
1094
1095
  aggregationType: oe(i)
1095
- }), s = se(1, i), r = re(i);
1096
- return a === s || r;
1096
+ }), s = se(1, i), a = re(i);
1097
+ return r === s || a;
1097
1098
  }
1098
1099
  function pi(i) {
1099
- const { config: e, layerInfo: t, commonStrings: a } = i, s = k(t.layerFieldsInfo, P(e)), r = se(0, e), n = re(e), o = P(e) === U && (r === "" || r === a.xAxis);
1100
- return s === r || n || o;
1100
+ const { config: e, layerInfo: t, commonStrings: r } = i, s = k(t.layerFieldsInfo, P(e)), a = se(0, e), n = re(e), o = P(e) === U && (a === "" || a === r.xAxis);
1101
+ return s === a || n || o;
1101
1102
  }
1102
1103
  function Ps(i) {
1103
1104
  return L(i.series[0]) ? i.series[0].binTemporalData ?? !0 : !1;