@arcgis/charts-components 5.2.0-next.16 → 5.2.0-next.18

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 (98) hide show
  1. package/dist/cdn/{LM3WDIMX.js → 2TC4JZJO.js} +1 -1
  2. package/dist/cdn/{WE5N2DWF.js → 2UMH6XR3.js} +1 -1
  3. package/dist/cdn/{N5M267HE.js → 3KVNM7WF.js} +2 -2
  4. package/dist/cdn/{JSX3LKOD.js → 3NNAZ5DL.js} +1 -1
  5. package/dist/cdn/{PACZSOVJ.js → 3RWWJIG5.js} +1 -1
  6. package/dist/cdn/{DLHFVWHO.js → 4CGXRXLH.js} +1 -1
  7. package/dist/cdn/{TP36RQNC.js → 4QAPLRTG.js} +1 -1
  8. package/dist/cdn/{BSWOQJUC.js → 4SF42PXV.js} +1 -1
  9. package/dist/cdn/{MQSBZKCF.js → 4WY6HQZI.js} +1 -1
  10. package/dist/cdn/{JEJYJTQ3.js → 5FBPTKD2.js} +1 -1
  11. package/dist/cdn/{RRYPAPCG.js → 5W5U3YCT.js} +1 -1
  12. package/dist/cdn/{SLMJ2X57.js → 65EM5PJT.js} +1 -1
  13. package/dist/cdn/{CFWCANTF.js → 6OEGVKEI.js} +1 -1
  14. package/dist/cdn/{2H2FBIZ2.js → 6SFQ3ODA.js} +1 -1
  15. package/dist/cdn/{TQHCSPE5.js → 6UNGL476.js} +1 -1
  16. package/dist/cdn/{OFZRCSH4.js → 6YD6IPIH.js} +1 -1
  17. package/dist/cdn/{HYXVFQC4.js → 7SFXGJNT.js} +1 -1
  18. package/dist/cdn/{QPLOPDDR.js → A5RPILC4.js} +1 -1
  19. package/dist/cdn/{KMRESWL3.js → A637XF3L.js} +1 -1
  20. package/dist/cdn/{TO5ZIEQF.js → AEY67Q67.js} +1 -1
  21. package/dist/cdn/{F2FUMKHT.js → BKZT6DIS.js} +1 -1
  22. package/dist/cdn/{MBBPNXP3.js → BVJDZG5Y.js} +1 -1
  23. package/dist/cdn/{YJPAOKRE.js → C5TWLOUL.js} +1 -1
  24. package/dist/cdn/{5MY4KKZV.js → CCNMKOBB.js} +1 -1
  25. package/dist/cdn/{QUUADWMW.js → DGHSOXHW.js} +1 -1
  26. package/dist/cdn/{JQN3RVVS.js → DXZZLLOU.js} +1 -1
  27. package/dist/cdn/{JQNUPBDP.js → E3SH4JDT.js} +1 -1
  28. package/dist/cdn/{G7EWCEOQ.js → EBYNTBVV.js} +1 -1
  29. package/dist/cdn/{ESEUMJAO.js → EJXBZW4I.js} +1 -1
  30. package/dist/cdn/{Q4RQQGVC.js → F36KMFKC.js} +1 -1
  31. package/dist/cdn/{JM2NUARU.js → FEZIILDK.js} +13 -13
  32. package/dist/cdn/{2MS6UDV4.js → FIQ3O5N5.js} +1 -1
  33. package/dist/cdn/{T7YPANRB.js → FSBIGWGF.js} +1 -1
  34. package/dist/cdn/FSS3JCMA.js +2 -0
  35. package/dist/cdn/{VJXC7G7Z.js → GDCYYANX.js} +1 -1
  36. package/dist/cdn/{475GCHIH.js → GHNRDFV4.js} +1 -1
  37. package/dist/cdn/{K4PTOYP7.js → GM67HTDG.js} +1 -1
  38. package/dist/cdn/{IOQKEV5U.js → GMEHVXPT.js} +1 -1
  39. package/dist/cdn/H5FMH3KI.js +2 -0
  40. package/dist/cdn/{73VJACG5.js → H5ICWR3Q.js} +1 -1
  41. package/dist/cdn/{TEE4SFIN.js → H6E76E5A.js} +1 -1
  42. package/dist/cdn/{ADOT6PAL.js → HNV5M5D2.js} +1 -1
  43. package/dist/cdn/{INWHDZUX.js → HO6UADCP.js} +1 -1
  44. package/dist/cdn/I3642G2U.js +2 -0
  45. package/dist/cdn/{Q5HENWDN.js → JDAHBQHF.js} +1 -1
  46. package/dist/cdn/{U4FMQ72H.js → JJTS4GMR.js} +1 -1
  47. package/dist/cdn/{ISN3Z6RD.js → JTUU3JXW.js} +1 -1
  48. package/dist/cdn/{BLLB6GVU.js → KD6BTGA7.js} +1 -1
  49. package/dist/cdn/{CEOJDFPK.js → KYCSFK4W.js} +1 -1
  50. package/dist/cdn/{HDAFZ7HZ.js → L6PTR5XW.js} +1 -1
  51. package/dist/cdn/{XAONJJD7.js → L7MGB5KR.js} +1 -1
  52. package/dist/cdn/LANNBQHD.js +3 -0
  53. package/dist/cdn/{KG34BN4R.js → LC57KDGS.js} +1 -1
  54. package/dist/cdn/{5XUJFHKU.js → NBOSJ2FF.js} +1 -1
  55. package/dist/cdn/{I3QPGNX2.js → NY75YT7Z.js} +1 -1
  56. package/dist/cdn/{336QQVQ2.js → P75Z6F5X.js} +1 -1
  57. package/dist/cdn/{2ATBYUR5.js → PCXV2JH3.js} +1 -1
  58. package/dist/cdn/{T4Y7PPAF.js → Q5H2IVEZ.js} +1 -1
  59. package/dist/cdn/{I7P7Y4AI.js → QHWBNFGR.js} +1 -1
  60. package/dist/cdn/{2563R3OI.js → QSM73CL4.js} +1 -1
  61. package/dist/cdn/{EHQCMFMJ.js → QUN52JQW.js} +1 -1
  62. package/dist/cdn/{WH6E3TRM.js → QXAK4J2A.js} +1 -1
  63. package/dist/cdn/{4OKQVD4Y.js → R4NU3MN5.js} +1 -1
  64. package/dist/cdn/{RIXNZMGD.js → RDJBP4WQ.js} +1 -1
  65. package/dist/cdn/{NHFF5CKW.js → ROETFMYI.js} +1 -1
  66. package/dist/cdn/{J25L7DLU.js → SS2PEQGJ.js} +1 -1
  67. package/dist/cdn/{IBGLMETB.js → T2GJNVJ7.js} +1 -1
  68. package/dist/cdn/{CFEXUWMK.js → TZZCNVXZ.js} +1 -1
  69. package/dist/cdn/{O32BJPVC.js → U7IBN6GO.js} +1 -1
  70. package/dist/cdn/{3XFA3QK6.js → UT2Q2IFL.js} +1 -1
  71. package/dist/cdn/{72MZJZ6I.js → UZDMA67A.js} +1 -1
  72. package/dist/cdn/{KSLJPKWC.js → VAWGYZN4.js} +1 -1
  73. package/dist/cdn/{IZBPTSEL.js → VSMQP4LB.js} +1 -1
  74. package/dist/cdn/{E3EBO7VM.js → W56KDWPN.js} +1 -1
  75. package/dist/cdn/{CZFZIEMX.js → X55UHKOC.js} +1 -1
  76. package/dist/cdn/{27Z26FPG.js → YRQT4DV3.js} +1 -1
  77. package/dist/cdn/{PJR43NZO.js → ZOWQW2N5.js} +1 -1
  78. package/dist/cdn/{E5LBVUWF.js → ZRXWYONR.js} +1 -1
  79. package/dist/cdn/{44OQITEZ.js → ZSIPBEQ2.js} +1 -1
  80. package/dist/cdn/{JRSODGEU.js → ZVSKN4AO.js} +1 -1
  81. package/dist/cdn/index.js +1 -1
  82. package/dist/cdn/model/shared/setup-utils.js +1 -1
  83. package/dist/chunks/index2.js +1136 -1130
  84. package/dist/chunks/index4.js +36 -35
  85. package/dist/chunks/serial-chart-data.js +331 -335
  86. package/dist/components/arcgis-chart/customElement.d.ts +103 -103
  87. package/dist/components/arcgis-chart/customElement.js +2277 -2272
  88. package/dist/components/arcgis-charts-config-histogram/customElement.js +28 -23
  89. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +27 -22
  90. package/dist/docs/api.json +1 -1
  91. package/dist/docs/docs.json +1 -1
  92. package/dist/docs/web-types.json +1 -1
  93. package/dist/loader.js +1 -1
  94. package/package.json +3 -3
  95. package/dist/cdn/FLLUECUY.js +0 -3
  96. package/dist/cdn/NIXBX2CY.js +0 -2
  97. package/dist/cdn/OFN7VGCU.js +0 -2
  98. package/dist/cdn/WH4TRMLQ.js +0 -2
@@ -1,26 +1,26 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { substitute as P } from "@arcgis/core/intl.js";
3
- import { cloneDeep as re, isEmpty as qe, memoize as Ve } from "lodash-es";
2
+ import { substitute as w } from "@arcgis/core/intl.js";
3
+ import { cloneDeep as re, isEmpty as Le, memoize as Ve } from "lodash-es";
4
4
  import { S as ee } from "./common.js";
5
- import { s as N, u as E, g as le, a as he, b as Ne, c as ke, d as de } from "./utils.js";
6
- import { w as k, bY as Re, bm as Oe, x as De, Y as K, cr as we, cq as Pe, p as Ee, aH as ne, c2 as Me, d as $e, aG as Ye, I as We, a7 as Xe, bk as He, W as je, e as Ue, bo as Ke, c_ as Qe, v as ze, d5 as ye, bM as _e, d6 as Ge, bI as Ze, B as Je, d2 as et, an as X, a6 as xe, cS as oe, b9 as tt, ba as ue, k as te, bq as st, bu as me, bb as j, bh as ge } from "./index2.js";
7
- import { a as $, s as Te, g as Q, b as pe, c as it } from "./data.js";
8
- import { u as v, r as L, k as at, n as V, m as U, p as rt, t as lt, s as se } from "./chart-object-literals.js";
9
- import { i as nt, R as ot } from "./rest-js-object-literals.js";
5
+ import { s as q, u as E, g as le, a as Fe, b as Ne, c as qe, d as ce } from "./utils.js";
6
+ import { w as k, bY as ke, bm as Re, x as Oe, Y as K, cr as De, cq as Pe, p as we, aH as ne, c2 as Ee, d as Me, aG as $e, I as Ye, a7 as We, bk as Xe, W as He, e as je, bo as Ue, c_ as Ke, v as Qe, d5 as de, bM as ze, d6 as _e, bI as Ge, B as Ze, d2 as Je, an as H, a6 as he, cS as oe, b9 as et, k as te, bq as tt, bu as ye, bb as U, bh as me } from "./index2.js";
7
+ import { a as Y, s as xe, g as Q, b as ge, c as st } from "./data.js";
8
+ import { u as I, r as v, k as it, n as N, m as M, p as at, t as rt, s as se } from "./chart-object-literals.js";
9
+ import { i as lt, R as nt } from "./rest-js-object-literals.js";
10
10
  import { i as z } from "./index4.js";
11
- 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";
12
- import { C as w, F as M, d as D } from "./index3.js";
13
- import { h as Be, i as O, j as ft, n as St, g as b, m as A, e as Fe } from "./index5.js";
14
- import { convertChartSpec as Ft } from "../utils/chart-config/converter/index.js";
15
- import { c as ie, e as ht } from "./type-guards.js";
16
- import { g as Ce } from "./series-types.js";
17
- import { g as ce } from "./utils2.js";
18
- import { a as xt, b as Tt } from "./series-length.js";
11
+ import { az as ot, t as ut, Y as ct, a9 as dt, al as yt, x as mt, C as pe, H as fe, $ as gt } from "./index.js";
12
+ import { C as P, F as $, d as D } from "./index3.js";
13
+ import { h as Te, i as O, j as pt, n as ft, g as b, m as A, e as Se } from "./index5.js";
14
+ import { convertChartSpec as St } from "../utils/chart-config/converter/index.js";
15
+ import { c as ie, e as Ft } from "./type-guards.js";
16
+ import { g as Be } from "./series-types.js";
17
+ import { g as ue } from "./utils2.js";
18
+ import { a as ht, b as xt } from "./series-length.js";
19
19
  const is = (t) => {
20
20
  let e;
21
21
  const s = t.series[0];
22
22
  return k(s) && (e = s.temporalBinning?.size), e;
23
- }, Bt = (t) => {
23
+ }, Tt = (t) => {
24
24
  let e;
25
25
  const s = t.series[0];
26
26
  return k(s) && (e = s.temporalBinning?.unit), e;
@@ -36,38 +36,38 @@ const is = (t) => {
36
36
  let e;
37
37
  const s = t.series[0];
38
38
  return k(s) && (e = s.temporalBinning?.nullPolicy), e;
39
- }, Ct = (t, e) => {
39
+ }, Bt = (t, e) => {
40
40
  e?.series?.forEach((s) => {
41
41
  k(s) && (s.temporalBinning ??= {}, s.temporalBinning.size = t);
42
- }), N({ config: e, value: null, axisIndex: 1, isMax: !1 }), N({ config: e, value: null, axisIndex: 1, isMax: !0 });
43
- }, bt = (t, e) => {
42
+ }), q({ config: e, value: null, axisIndex: 1, isMax: !1 }), q({ config: e, value: null, axisIndex: 1, isMax: !0 });
43
+ }, Ct = (t, e) => {
44
44
  e?.series?.forEach((s) => {
45
45
  k(s) && (s.temporalBinning ??= {}, s.temporalBinning.nullPolicy = t);
46
- }), N({ config: e, value: null, axisIndex: 1, isMax: !1 }), N({ config: e, value: null, axisIndex: 1, isMax: !0 });
46
+ }), q({ config: e, value: null, axisIndex: 1, isMax: !1 }), q({ config: e, value: null, axisIndex: 1, isMax: !0 });
47
47
  }, ns = (t, e) => {
48
48
  e.series?.forEach((s) => {
49
49
  k(s) && (s.temporalBinning ??= {}, s.temporalBinning.unit = t);
50
- }), N({ config: e, value: null, axisIndex: 1, isMax: !1 }), N({ config: e, value: null, axisIndex: 1, isMax: !0 });
50
+ }), q({ config: e, value: null, axisIndex: 1, isMax: !1 }), q({ config: e, value: null, axisIndex: 1, isMax: !0 });
51
51
  }, os = (t, e) => {
52
52
  e.series?.forEach((s) => {
53
53
  k(s) && (s.temporalBinning ??= {}, s.temporalBinning.timeAggregationType = t);
54
- }), N({ config: e, value: null, axisIndex: 1, isMax: !1 }), N({ config: e, value: null, axisIndex: 1, isMax: !0 });
54
+ }), q({ config: e, value: null, axisIndex: 1, isMax: !1 }), q({ config: e, value: null, axisIndex: 1, isMax: !0 });
55
55
  }, us = (t, e) => {
56
56
  e.series?.forEach((s) => {
57
57
  k(s) && (s.temporalBinning ??= {}, s.temporalBinning.trimIncompleteTimeInterval = t);
58
- }), N({ config: e, value: null, axisIndex: 1, isMax: !1 }), N({ config: e, value: null, axisIndex: 1, isMax: !0 });
59
- }, cs = (t) => {
60
- Ct(0, t);
58
+ }), q({ config: e, value: null, axisIndex: 1, isMax: !1 }), q({ config: e, value: null, axisIndex: 1, isMax: !0 });
59
+ }, bt = (t) => {
60
+ Bt(0, t);
61
61
  };
62
- function ds(t, e) {
62
+ function cs(t, e) {
63
63
  let s;
64
64
  return e !== void 0 && (s = { ...e }, s.legend !== void 0 && (s.legend.position = t)), s;
65
65
  }
66
- function ys(t, e) {
66
+ function ds(t, e) {
67
67
  let s;
68
68
  return e !== void 0 && (s = { ...e }, s.legend !== void 0 && (s.legend.visible = t)), s;
69
69
  }
70
- function ms(t, e) {
70
+ function ys(t, e) {
71
71
  let s;
72
72
  return e !== void 0 && (s = { ...e, rotated: t }), s;
73
73
  }
@@ -75,15 +75,15 @@ function At(t) {
75
75
  let e;
76
76
  return t !== void 0 && (e = { ...t }, delete e.axes?.[0]?.minimum, delete e.axes?.[0]?.maximum, delete e.axes?.[1]?.minimum, delete e.axes?.[1]?.maximum), e;
77
77
  }
78
- function gs(t, e) {
79
- return e != null || Be(t);
78
+ function ms(t, e) {
79
+ return e != null || Te(t);
80
80
  }
81
- async function ps(t) {
81
+ async function gs(t) {
82
82
  const { config: e, layer: s, abortSignal: r } = t;
83
83
  let a = !1;
84
- return ie(s) || ht(e) ? e && ie(s) && (a = await Oe({ config: e, layer: s, abortSignal: r })) : a = !0, a;
84
+ return ie(s) || Ft(e) ? e && ie(s) && (a = await Re({ config: e, layer: s, abortSignal: r })) : a = !0, a;
85
85
  }
86
- async function vt(t) {
86
+ async function It(t) {
87
87
  const {
88
88
  queryObject: e,
89
89
  chartConfig: s,
@@ -94,35 +94,35 @@ async function vt(t) {
94
94
  ignoreViewExtent: n,
95
95
  setTimeBinningInfoWhenNotProvided: y,
96
96
  returnFeaturesExtent: g,
97
- chartLimits: F
97
+ chartLimits: S
98
98
  } = t;
99
99
  let o = [], c;
100
- const m = re(s), d = m.series[0], u = Ue({
100
+ const m = re(s), d = m.series[0], u = je({
101
101
  queryObject: e,
102
102
  chartConfig: m,
103
103
  runtimeDataFilters: l,
104
104
  ignoreViewExtent: n
105
105
  });
106
- if (u.outStatistics?.[0]?.outStatisticFieldName && (u.outStatistics[0].outStatisticFieldName = ut.outStatistics.outStatisticFieldName), k(d) && Ke({
107
- xAxisValueFormatType: Qe(m),
106
+ if (u.outStatistics?.[0]?.outStatisticFieldName && (u.outStatistics[0].outStatisticFieldName = ot.outStatistics.outStatisticFieldName), k(d) && Ue({
107
+ xAxisValueFormatType: Ke(m),
108
108
  setTimeBinningInfoWhenNotProvided: y,
109
109
  seriesConfig: d,
110
110
  queryObject: e
111
- }) && ze(r, e)) {
112
- const { temporalBinning: p, x: T } = d, { uniqueQuery: C } = ye({
111
+ }) && Qe(r, e)) {
112
+ const { temporalBinning: p, x: T } = d, { uniqueQuery: C } = de({
113
113
  chartConfig: m,
114
114
  queryConfig: u,
115
115
  queryObject: e,
116
116
  setTimeBinningInfoWhenNotProvided: y,
117
117
  returnFeaturesExtent: g,
118
- chartLimits: F
119
- }), h = s.axes?.[0].valueFormat.type === v.DateAxisFormat ? s.axes[0].valueFormat.intlOptions.timeZone : void 0;
120
- c = await _e({
118
+ chartLimits: S
119
+ }), F = s.axes?.[0].valueFormat.type === I.DateAxisFormat ? s.axes[0].valueFormat.intlOptions.timeZone : void 0;
120
+ c = await ze({
121
121
  queryObject: e,
122
122
  dateField: T,
123
123
  splitByField: r,
124
124
  queryConfig: C,
125
- axisTimeZone: h,
125
+ axisTimeZone: F,
126
126
  temporalBinning: p,
127
127
  errorStrings: a,
128
128
  abortSignal: i
@@ -131,27 +131,27 @@ async function vt(t) {
131
131
  c.flatMap((f) => {
132
132
  const { stackedAttributes: R } = f;
133
133
  let x = [];
134
- return R && (x = R.map((S) => S[r]).filter((S) => S !== void 0)), x;
134
+ return R && (x = R.map((h) => h[r]).filter((h) => h !== void 0)), x;
135
135
  })
136
136
  ).values()
137
137
  );
138
138
  } else {
139
- const { uniqueQuery: p } = ye({
139
+ const { uniqueQuery: p } = de({
140
140
  chartConfig: m,
141
141
  queryObject: e,
142
142
  queryConfig: u,
143
143
  setTimeBinningInfoWhenNotProvided: y,
144
144
  returnFeaturesExtent: g,
145
- chartLimits: F
146
- }), { elementCount: T } = await Ge({
145
+ chartLimits: S
146
+ }), { elementCount: T } = await _e({
147
147
  chartConfig: m,
148
148
  queryObject: e,
149
149
  queryConfig: u,
150
- behaviorAfterLimit: F?.behaviorAfterLimit,
150
+ behaviorAfterLimit: S?.behaviorAfterLimit,
151
151
  numberMaxOfFeaturesToFetch: p.num,
152
152
  abortSignal: i
153
153
  });
154
- c = await Ze({
154
+ c = await Ge({
155
155
  queryObject: e,
156
156
  queryConfig: p,
157
157
  featureCount: T,
@@ -165,7 +165,7 @@ async function vt(t) {
165
165
  }
166
166
  return { allValues: o, preFetchedQueryResponse: c };
167
167
  }
168
- function It(t, e) {
168
+ function vt(t, e) {
169
169
  const s = /* @__PURE__ */ new Map();
170
170
  return t.series.forEach((r) => {
171
171
  let a = ne({
@@ -178,7 +178,7 @@ function It(t, e) {
178
178
  escape: !1
179
179
  });
180
180
  e && a !== null && (a = Number(a));
181
- const i = Ce([r]);
181
+ const i = Be([r]);
182
182
  i !== void 0 && s.set(i, [
183
183
  ...s.get(i) ?? [],
184
184
  a
@@ -195,7 +195,7 @@ function Lt(t) {
195
195
  }), a.set(i, n);
196
196
  }), a;
197
197
  }
198
- function qt(t) {
198
+ function Vt(t) {
199
199
  const { chartConfig: e, missingValue: s, splitByField: r, seriesTemplate: a } = t, i = JSON.parse(
200
200
  JSON.stringify({
201
201
  ...e.series[0],
@@ -203,7 +203,7 @@ function qt(t) {
203
203
  })
204
204
  );
205
205
  if (i.query) {
206
- if (s === null ? i.id = M.nullValue : s === "" ? i.id = M.emptyStringValue : i.id = `${s}`, i.name = `${s}`, i.query.outStatistics?.[0] !== void 0) {
206
+ if (s === null ? i.id = $.nullValue : s === "" ? i.id = $.emptyStringValue : i.id = `${s}`, i.name = `${s}`, i.query.outStatistics?.[0] !== void 0) {
207
207
  const n = i.id;
208
208
  i.query.outStatistics[0].outStatisticFieldName = n, "y" in i && (i.y = n);
209
209
  }
@@ -212,7 +212,7 @@ function qt(t) {
212
212
  }
213
213
  return i;
214
214
  }
215
- async function Vt(t) {
215
+ async function Nt(t) {
216
216
  const {
217
217
  updateSplitBySeries: e,
218
218
  config: s,
@@ -223,15 +223,15 @@ async function Vt(t) {
223
223
  ignoreViewExtent: n,
224
224
  setTimeBinningInfoWhenNotProvided: y,
225
225
  returnFeaturesExtent: g,
226
- chartLimits: F
226
+ chartLimits: S
227
227
  } = t, { seriesTemplate: o } = e ?? {};
228
228
  let c;
229
229
  if (r && !ie(r) && e !== void 0 && s !== void 0 && (s.series.length > 0 || o !== void 0) && e.addMissingSeries) {
230
230
  const m = s.series.length === 0;
231
231
  s.series.length === 0 && o !== void 0 && s.series.push(o);
232
232
  const d = K(s.series);
233
- if (d === w.BoxPlotMonoFieldAndSplitBy || d === w.BoxPlotMultiFieldsAndSplitBy || d === w.BoxPlotMonoFieldAndCategoryAndSplitBy || d === w.BarAndLineSplitBy || d === w.BarAndLineSplitByNoAggregation) {
234
- const u = Ye(s.series[0]?.query?.where), p = We(r), T = Xe(u, p), C = T ? He(T) : !1, h = await vt({
233
+ if (d === P.BoxPlotMonoFieldAndSplitBy || d === P.BoxPlotMultiFieldsAndSplitBy || d === P.BoxPlotMonoFieldAndCategoryAndSplitBy || d === P.BarAndLineSplitBy || d === P.BarAndLineSplitByNoAggregation) {
234
+ const u = $e(s.series[0]?.query?.where), p = Ye(r), T = We(u, p), C = T ? Xe(T) : !1, F = await It({
235
235
  queryObject: r,
236
236
  chartConfig: s,
237
237
  splitByField: u,
@@ -240,22 +240,22 @@ async function Vt(t) {
240
240
  ignoreViewExtent: n,
241
241
  setTimeBinningInfoWhenNotProvided: y,
242
242
  returnFeaturesExtent: g,
243
- chartLimits: F,
243
+ chartLimits: S,
244
244
  errorStrings: a
245
- }), { allValues: f } = h;
246
- if ({ preFetchedQueryResponse: c } = h, f.length > 0) {
247
- const R = It(s, C), x = Lt({
245
+ }), { allValues: f } = F;
246
+ if ({ preFetchedQueryResponse: c } = F, f.length > 0) {
247
+ const R = vt(s, C), x = Lt({
248
248
  allValues: f,
249
249
  configUniqueValuesPerSeriesType: R,
250
250
  initialConfigWasEmpty: m
251
251
  });
252
- Array.from(x.keys()).forEach((S) => {
253
- (x.get(S) ?? []).forEach((q) => {
252
+ Array.from(x.keys()).forEach((h) => {
253
+ (x.get(h) ?? []).forEach((V) => {
254
254
  s.series.push(
255
- qt({
255
+ Vt({
256
256
  chartConfig: s,
257
257
  seriesTemplate: o,
258
- missingValue: q,
258
+ missingValue: V,
259
259
  splitByField: u
260
260
  })
261
261
  );
@@ -266,10 +266,10 @@ async function Vt(t) {
266
266
  }
267
267
  return c;
268
268
  }
269
- function Nt(t, e) {
270
- e && !Be(e) && (e = $e({ chartConfig: e, queryObject: t }));
269
+ function qt(t, e) {
270
+ e && !Te(e) && (e = Me({ chartConfig: e, queryObject: t }));
271
271
  }
272
- async function fs(t) {
272
+ async function ps(t) {
273
273
  const {
274
274
  configToAlter: e,
275
275
  layer: s,
@@ -280,13 +280,13 @@ async function fs(t) {
280
280
  abortSignal: n,
281
281
  runtimeDataFilters: y,
282
282
  ignoreViewExtent: g,
283
- setTimeBinningInfoWhenNotProvided: F,
283
+ setTimeBinningInfoWhenNotProvided: S,
284
284
  returnFeaturesExtent: o,
285
285
  chartLimits: c,
286
286
  errorStrings: m
287
287
  } = t;
288
288
  let d = e, u;
289
- return d && (Nt(s, d), d = await Ft(d, s, void 0, n), r && l && (u = await Vt({
289
+ return d && (qt(s, d), d = await St(d, s, void 0, n), r && l && (u = await Nt({
290
290
  updateSplitBySeries: a,
291
291
  config: d,
292
292
  queryObject: l,
@@ -294,167 +294,167 @@ async function fs(t) {
294
294
  abortSignal: n,
295
295
  runtimeDataFilters: y,
296
296
  ignoreViewExtent: g,
297
- setTimeBinningInfoWhenNotProvided: F,
297
+ setTimeBinningInfoWhenNotProvided: S,
298
298
  returnFeaturesExtent: o,
299
299
  chartLimits: c
300
- })), d = Re(d, i)), { alteredConfig: d, preFetchedQueryResponse: u };
300
+ })), d = ke(d, i)), { alteredConfig: d, preFetchedQueryResponse: u };
301
301
  }
302
302
  function kt(t, e) {
303
303
  let s = !1;
304
304
  if (e !== void 0) {
305
- const r = je({ key: Je.Average, splitBy: e });
305
+ const r = He({ key: Ze.Average, splitBy: e });
306
306
  s = Number.isFinite(t[r]);
307
307
  }
308
308
  return s;
309
309
  }
310
- function Ss(t) {
310
+ function fs(t) {
311
311
  const { data: e, config: s, showEmptySeries: r } = t, a = s.series.length, i = re(s);
312
312
  let l = !1;
313
313
  if (!r && a > 1 && e) {
314
- const n = De(e), y = Ce(s?.series), g = K(s?.series), F = /* @__PURE__ */ new Set();
314
+ const n = Oe(e), y = Be(s?.series), g = K(s?.series), S = /* @__PURE__ */ new Set();
315
315
  switch (y) {
316
- case v.ComboLineAndBarSeries:
317
- case v.BarSeries:
318
- case v.RadarSeries:
319
- case v.LineSeries: {
316
+ case I.ComboLineAndBarSeries:
317
+ case I.BarSeries:
318
+ case I.RadarSeries:
319
+ case I.LineSeries: {
320
320
  i.series.forEach((c) => {
321
321
  if (Array.isArray(n)) {
322
322
  let m = "";
323
- "y" in c && (m = Array.isArray(c.y) ? c.y[0] : c.y, g === w.BarAndLineSplitByNoAggregation && (m = `${m}_${ne({ where: c.query?.where, keepSurroundingQuotes: !1, escape: !1 })}`), n.some(
324
- (u) => Me({
323
+ "y" in c && (m = Array.isArray(c.y) ? c.y[0] : c.y, g === P.BarAndLineSplitByNoAggregation && (m = `${m}_${ne({ where: c.query?.where, keepSurroundingQuotes: !1, escape: !1 })}`), n.some(
324
+ (u) => Ee({
325
325
  dataItem: u,
326
326
  x: c.x,
327
327
  y: m,
328
328
  aggregationType: s.series[0].query?.outStatistics?.[0]?.statisticType
329
329
  })
330
- ) && F.add(c));
330
+ ) && S.add(c));
331
331
  }
332
332
  });
333
333
  break;
334
334
  }
335
- case v.BoxPlotSeries: {
336
- if (we(s)) {
335
+ case I.BoxPlotSeries: {
336
+ if (De(s)) {
337
337
  const c = Pe(s);
338
338
  s.series.forEach((m) => {
339
339
  let d, u;
340
- m.type === v.BoxPlotSeries ? (d = e.dataItems, u = d?.some(
341
- (p) => Ee({
340
+ m.type === I.BoxPlotSeries ? (d = e.dataItems, u = d?.some(
341
+ (p) => we({
342
342
  dataItem: p,
343
343
  splitBy: m.query?.where,
344
344
  showOutliers: c
345
345
  })
346
- )) : m.type === v.LineSeries && (d = e.meanLines, u = d?.some(
346
+ )) : m.type === I.LineSeries && (d = e.meanLines, u = d?.some(
347
347
  (p) => kt(p, m.query?.where)
348
- )), u && F.add(m);
348
+ )), u && S.add(m);
349
349
  });
350
350
  }
351
351
  break;
352
352
  }
353
353
  }
354
- const o = Array.from(F.values());
354
+ const o = Array.from(S.values());
355
355
  l = o.length > 0 && o.length < a, l && (i.series = o);
356
356
  }
357
357
  return { seriesFilteredOut: l, filteredConfig: i };
358
358
  }
359
- const Fs = (t) => t.hideEmptyRowsAndColumns, hs = (t, e) => {
359
+ const Ss = (t) => t.hideEmptyRowsAndColumns, Fs = (t, e) => {
360
360
  t.hideEmptyRowsAndColumns = e;
361
- }, xs = (t, e) => {
361
+ }, hs = (t, e) => {
362
362
  const s = t.series[0];
363
363
  s.heatRulesType = e;
364
- }, Ts = (t) => t.series[0].heatRulesType, Bs = (t, e) => {
364
+ }, xs = (t) => t.series[0].heatRulesType, Ts = (t, e) => {
365
365
  const s = t.series[0];
366
366
  s.gradientRules = e;
367
- }, Cs = (t) => t.series[0].gradientRules, bs = (t) => {
368
- const { yField: e, config: s, layerInfo: r } = t, { layerFieldsInfo: a } = r, i = ce(1, s), l = Rt(s), n = z(s), y = s.series[0];
367
+ }, Bs = (t) => t.series[0].gradientRules, Cs = (t) => {
368
+ const { yField: e, config: s, layerInfo: r } = t, { layerFieldsInfo: a } = r, i = ue(1, s), l = Rt(s), n = z(s), y = s.series[0];
369
369
  if (typeof e == "string" && l !== e && y && (y.y = e, At(s), l === i || n)) {
370
370
  const g = D(a, e);
371
371
  E(s, 1, g);
372
372
  }
373
- }, Rt = (t) => t.series[0].y ?? "", As = (t) => {
373
+ }, Rt = (t) => t.series[0].y ?? "", bs = (t) => {
374
374
  const { binning: e, config: s, commonStrings: r } = t, a = s.series[0];
375
375
  if (a.xTemporalBinning = e, e?.unit !== void 0 && e.unit in r.utilsStrings.heatChartCalendarDatePartsUnits) {
376
376
  const i = r.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
377
377
  E(s, 0, i);
378
378
  }
379
- }, vs = (t) => t.series[0].xTemporalBinning, Is = (t) => {
379
+ }, As = (t) => t.series[0].xTemporalBinning, Is = (t) => {
380
380
  const { binning: e, config: s, commonStrings: r } = t, a = s.series[0];
381
381
  if (a.yTemporalBinning = e, e?.unit !== void 0 && e.unit in r.utilsStrings.heatChartCalendarDatePartsUnits) {
382
382
  const i = r.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
383
383
  E(s, 1, i);
384
384
  }
385
- }, Ls = (t) => t.series[0].yTemporalBinning, Ot = (t, e) => {
385
+ }, vs = (t) => t.series[0].yTemporalBinning, Ot = (t, e) => {
386
386
  e.orderOptions ??= {};
387
- const s = e.axes?.[0]?.valueFormat?.type === "category" ? V.Category : V.YValue, r = ae(e)[0], a = e.axes?.[1]?.valueFormat?.type === "category" ? V.Category : V.YValue, i = ae(e)[1], l = {
387
+ const s = e.axes?.[0]?.valueFormat?.type === "category" ? N.Category : N.YValue, r = ae(e)[0], a = e.axes?.[1]?.valueFormat?.type === "category" ? N.Category : N.YValue, i = ae(e)[1], l = {
388
388
  ...e.orderOptions.data ?? {},
389
- orderType: V.MultiAxes
389
+ orderType: N.MultiAxes
390
390
  };
391
- r === ee.customSort && s === V.Category && (l.orderByX = [...t]), i === ee.customSort && a === V.Category && (l.orderByY = [...t]), Object.keys(l).length > 1 && (e.orderOptions.data = l);
392
- }, qs = (t, e) => {
391
+ r === ee.customSort && s === N.Category && (l.orderByX = [...t]), i === ee.customSort && a === N.Category && (l.orderByY = [...t]), Object.keys(l).length > 1 && (e.orderOptions.data = l);
392
+ }, Ls = (t, e) => {
393
393
  const s = e.series[0];
394
394
  s.gridLine && (s.gridLine.width = t);
395
395
  }, Vs = (t) => t.series[0].gridLine?.width, Ns = (t, e) => {
396
396
  const s = e.series[0], r = t?.length === 4 && t.every((a) => typeof a == "number");
397
397
  s.gridLine && r && (s.gridLine.color = t);
398
- }, ks = (t) => t.series[0].gridLine?.color, Rs = (t, e) => {
398
+ }, qs = (t) => t.series[0].gridLine?.color, ks = (t, e) => {
399
399
  const s = e.legend;
400
400
  s && (s.position = t);
401
- }, Os = (t) => t.legend?.position ?? at.Bottom, Ds = (t) => t.series[0].query?.outStatistics?.[0]?.onStatisticField, ws = (t) => {
401
+ }, Rs = (t) => t.legend?.position ?? it.Bottom, Os = (t) => t.series[0].query?.outStatistics?.[0]?.onStatisticField, Ds = (t) => {
402
402
  const { field: e, config: s, layerInfo: r, commonStrings: a } = t, i = s.series[0].query?.outStatistics?.[0], l = Z(s, r, a);
403
403
  i ? (i.onStatisticField = e, i.outStatisticFieldName = `${i.statisticType}_${e}`) : s.series[0].query = {
404
404
  outStatistics: [
405
405
  {
406
406
  onStatisticField: e,
407
- outStatisticFieldName: `${L.Count}_${e}`,
408
- statisticType: L.Count
407
+ outStatisticFieldName: `${v.Count}_${e}`,
408
+ statisticType: v.Count
409
409
  }
410
410
  ]
411
- }, l && s.title && (s.title.content.text = H(s, r, a));
412
- }, Ps = (t) => t.series[0].query?.outStatistics?.[0].statisticType ?? L.Count, Es = (t) => {
411
+ }, l && s.title && (s.title.content.text = j(s, r, a));
412
+ }, Ps = (t) => t.series[0].query?.outStatistics?.[0].statisticType ?? v.Count, ws = (t) => {
413
413
  const { aggregationType: e, config: s, layerInfo: r, commonStrings: a } = t, i = s.series[0]?.query?.outStatistics?.[0], l = Z(s, r, a);
414
- i && e !== L.NoAggregation && (i.statisticType = e, i.outStatisticFieldName = `${e}_${i.onStatisticField}`), (e === L.Count || e === L.Sum) && Dt(U.Zero, s), l && s.title && (s.title.content.text = H(s, r, a));
415
- }, Ms = (t) => t.nullPolicy, Dt = (t, e) => {
414
+ i && e !== v.NoAggregation && (i.statisticType = e, i.outStatisticFieldName = `${e}_${i.onStatisticField}`), (e === v.Count || e === v.Sum) && Dt(M.Zero, s), l && s.title && (s.title.content.text = j(s, r, a));
415
+ }, Es = (t) => t.nullPolicy, Dt = (t, e) => {
416
416
  e.nullPolicy = t;
417
- }, $s = (t) => t.series[0].emptyCells, Ys = (t, e) => {
417
+ }, Ms = (t) => t.series[0].emptyCells, $s = (t, e) => {
418
418
  e.series[0].emptyCells = t;
419
- }, Ws = (t) => t.series[0].emptyCells?.text, Xs = (t, e) => {
419
+ }, Ys = (t) => t.series[0].emptyCells?.text, Ws = (t, e) => {
420
420
  e.series[0].emptyCells ? e.series[0].emptyCells.text = t : e.series[0].emptyCells = { text: t };
421
- }, Hs = (t) => t.includeLeapDay, js = (t, e) => {
421
+ }, Xs = (t) => t.includeLeapDay, Hs = (t, e) => {
422
422
  e.includeLeapDay = t;
423
- }, Us = (t) => t.series[0].emptyCells?.symbol, Ks = (t, e) => {
423
+ }, js = (t) => t.series[0].emptyCells?.symbol, Us = (t, e) => {
424
424
  e.series[0].emptyCells ? e.series[0].emptyCells.symbol = t : e.series[0].emptyCells = { symbol: t };
425
425
  };
426
- function Qs(t) {
426
+ function Ks(t) {
427
427
  return t.viewType;
428
428
  }
429
- function zs(t, e) {
430
- et(e) || (e.viewType = t);
429
+ function Qs(t, e) {
430
+ Je(e) || (e.viewType = t);
431
431
  }
432
- function _s(t) {
433
- return t.series[0].classBreaksRules?.breaksCount ?? M.classBreaks.breaksCount;
432
+ function zs(t) {
433
+ return t.series[0].classBreaksRules?.breaksCount ?? $.classBreaks.breaksCount;
434
434
  }
435
- function Gs(t, e) {
436
- e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.breaksCount = t ?? M.classBreaks.breaksCount : e.series[0].classBreaksRules = {
437
- breaksCount: t ?? M.classBreaks.breaksCount
435
+ function _s(t, e) {
436
+ e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.breaksCount = t ?? $.classBreaks.breaksCount : e.series[0].classBreaksRules = {
437
+ breaksCount: t ?? $.classBreaks.breaksCount
438
438
  };
439
439
  }
440
- function Zs(t) {
440
+ function Gs(t) {
441
441
  return t.series[0].classBreaksRules?.classificationMethod;
442
442
  }
443
- function Js(t, e) {
443
+ function Zs(t, e) {
444
444
  e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.classificationMethod = t : e.series[0].classBreaksRules = {
445
445
  classificationMethod: t
446
- }, e.series[0].classBreaksRules.breaksCount = e.series[0].classBreaksRules.breaksCount ?? M.classBreaks.breaksCount;
446
+ }, e.series[0].classBreaksRules.breaksCount = e.series[0].classBreaksRules.breaksCount ?? $.classBreaks.breaksCount;
447
447
  }
448
- function ei(t, e) {
448
+ function Js(t, e) {
449
449
  e.firstDayOfWeek = t;
450
450
  }
451
- function ti(t) {
451
+ function ei(t) {
452
452
  return t.firstDayOfWeek;
453
453
  }
454
- function si(t) {
454
+ function ti(t) {
455
455
  return t.series[0].classBreaksRules?.colorRampInfo?.name;
456
456
  }
457
- function ii(t, e) {
457
+ function si(t, e) {
458
458
  e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.colorRampInfo = {
459
459
  ...e.series[0].classBreaksRules.colorRampInfo,
460
460
  name: t
@@ -465,10 +465,10 @@ function ii(t, e) {
465
465
  }
466
466
  };
467
467
  }
468
- function ai(t) {
468
+ function ii(t) {
469
469
  return t.series[0].classBreaksRules?.colorRampInfo?.flipped ?? !1;
470
470
  }
471
- function ri(t, e) {
471
+ function ai(t, e) {
472
472
  e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.colorRampInfo = {
473
473
  ...e.series[0].classBreaksRules.colorRampInfo,
474
474
  flipped: t
@@ -478,25 +478,25 @@ function ri(t, e) {
478
478
  }
479
479
  };
480
480
  }
481
- function Y(t) {
482
- const { seriesIndex: e, xAxisField: s, aggregationType: r, config: a, layerInfo: i, commonStrings: l } = t, n = X(i?.layer).idField;
481
+ function W(t) {
482
+ const { seriesIndex: e, xAxisField: s, aggregationType: r, config: a, layerInfo: i, commonStrings: l } = t, n = H(i?.layer).idField;
483
483
  let y;
484
484
  const g = a.series[e ?? 0];
485
- let F = !1, o = !1, c = !1;
485
+ let S = !1, o = !1, c = !1;
486
486
  if (g === void 0) {
487
487
  const u = a.series;
488
- F = u.slice(0, e).every((p) => b(p)), o = u.slice(0, e).every((p) => A(p)), c = u.slice(0, e).every((p) => Fe(p));
488
+ S = u.slice(0, e).every((p) => b(p)), o = u.slice(0, e).every((p) => A(p)), c = u.slice(0, e).every((p) => Se(p));
489
489
  } else
490
- F = b(g), o = A(g), c = Fe(g);
491
- F ? y = dt({
490
+ S = b(g), o = A(g), c = Se(g);
491
+ S ? y = ct({
492
492
  commonStrings: l,
493
493
  seriesIndex: e,
494
494
  objectIDField: n
495
- }) : o ? y = yt({
495
+ }) : o ? y = dt({
496
496
  commonStrings: l,
497
497
  seriesIndex: e,
498
498
  objectIDField: n
499
- }) : c ? y = mt(l, n) : y = gt({
499
+ }) : c ? y = yt(l, n) : y = mt({
500
500
  seriesIndex: e,
501
501
  objectIDField: n,
502
502
  commonStrings: l
@@ -507,14 +507,14 @@ function Y(t) {
507
507
  y: "",
508
508
  dataLabels: {
509
509
  ...y.dataLabels,
510
- type: y.dataLabels?.type ?? v.Text,
511
- content: { ...y.dataLabels?.content, ...m?.content, type: nt.TS },
510
+ type: y.dataLabels?.type ?? I.Text,
511
+ content: { ...y.dataLabels?.content, ...m?.content, type: lt.TS },
512
512
  visible: m?.visible ?? !1
513
513
  }
514
514
  };
515
515
  if (d.query = {
516
516
  groupByFieldsForStatistics: [s]
517
- }, r !== L.NoAggregation && n !== void 0) {
517
+ }, r !== v.NoAggregation && n !== void 0) {
518
518
  const u = `${r}_${n}_0`.toUpperCase();
519
519
  d.y = u, d.query.outStatistics = [
520
520
  {
@@ -524,8 +524,8 @@ function Y(t) {
524
524
  }
525
525
  ];
526
526
  }
527
- if (k(a.series[0]) && k(d) && ue({ chartConfig: a })) {
528
- let u = Bt(a);
527
+ if (k(a.series[0]) && k(d)) {
528
+ let u = Tt(a);
529
529
  u === se.Quarter && (u = se.Month), d.temporalBinning = {
530
530
  ...a.series[0]?.temporalBinning,
531
531
  unit: u
@@ -533,60 +533,60 @@ function Y(t) {
533
533
  }
534
534
  return re(d);
535
535
  }
536
- function H(t, e, s) {
537
- const { layerFieldsInfo: r } = e, { idField: a, isTraditionalTypeOID: i } = X(e.layer), l = $(t), n = G(t), y = Ae(t), g = _(t), F = i && (n.length === 0 || n.includes(a)), o = ct(y, s), c = F ? "" : n.map((h) => D(r ?? [], h)).join(", "), m = D(r ?? [], l), d = D(r ?? [], g), u = t.series.some((h) => O(h)), p = u ? "category" : "xAxisField", T = m;
536
+ function j(t, e, s) {
537
+ const { layerFieldsInfo: r } = e, { idField: a, isTraditionalTypeOID: i } = H(e.layer), l = Y(t), n = G(t), y = be(t), g = _(t), S = i && (n.length === 0 || n.includes(a)), o = ut(y, s), c = S ? "" : n.map((F) => D(r ?? [], F)).join(", "), m = D(r ?? [], l), d = D(r ?? [], g), u = t.series.some((F) => O(F)), p = u ? "category" : "xAxisField", T = m;
538
538
  let C = "";
539
- if (Te({
539
+ if (xe({
540
540
  fieldName: l,
541
541
  numericFields: n,
542
542
  fieldList: r
543
543
  }))
544
- C = P(s.titleLabels.aggrTypeOfAggrFields, {
544
+ C = w(s.titleLabels.aggrTypeOfAggrFields, {
545
545
  aggregationType: o,
546
546
  aggregationFields: c
547
547
  });
548
- else if (y === L.NoAggregation) {
549
- const h = F ? a : c;
548
+ else if (y === v.NoAggregation) {
549
+ const F = S ? a : c;
550
550
  if (g === "") {
551
551
  const f = u ? "aggrTypeCategory" : "aggrTypeXAxisField";
552
- C = P(s.titleLabels[f], {
553
- aggregationType: h,
552
+ C = w(s.titleLabels[f], {
553
+ aggregationType: F,
554
554
  [p]: T
555
555
  });
556
556
  } else {
557
557
  const f = u ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
558
- C = P(s.titleLabels[f], {
559
- aggregationType: h,
558
+ C = w(s.titleLabels[f], {
559
+ aggregationType: F,
560
560
  [p]: T,
561
561
  splitByField: d
562
562
  });
563
563
  }
564
- } else if (y === L.Count)
564
+ } else if (y === v.Count)
565
565
  if (g === "") {
566
- const h = u ? "aggrTypeCategory" : "aggrTypeXAxisField";
567
- C = P(s.titleLabels[h], {
566
+ const F = u ? "aggrTypeCategory" : "aggrTypeXAxisField";
567
+ C = w(s.titleLabels[F], {
568
568
  aggregationType: o,
569
569
  [p]: T
570
570
  });
571
571
  } else {
572
- const h = u ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
573
- C = P(s.titleLabels[h], {
572
+ const F = u ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
573
+ C = w(s.titleLabels[F], {
574
574
  aggregationType: o,
575
575
  [p]: T,
576
576
  splitByField: d
577
577
  });
578
578
  }
579
579
  else if (g !== "") {
580
- const h = u ? "aggrTypeOfAggrFieldByCategoryBySplitByField" : "aggrTypeOfAggrFieldByXAxisFieldBySplitByField";
581
- C = P(s.titleLabels[h], {
580
+ const F = u ? "aggrTypeOfAggrFieldByCategoryBySplitByField" : "aggrTypeOfAggrFieldByXAxisFieldBySplitByField";
581
+ C = w(s.titleLabels[F], {
582
582
  aggregationType: o,
583
583
  aggregationField: c,
584
584
  [p]: T,
585
585
  splitByField: d
586
586
  });
587
587
  } else if (n.length > 0) {
588
- const h = u ? "aggrTypeOfAggrFieldsByCategory" : "aggrTypeOfAggrFieldsByXAxisField";
589
- C = P(s.titleLabels[h], {
588
+ const F = u ? "aggrTypeOfAggrFieldsByCategory" : "aggrTypeOfAggrFieldsByXAxisField";
589
+ C = w(s.titleLabels[F], {
590
590
  aggregationType: o,
591
591
  aggregationFields: c,
592
592
  [p]: T
@@ -594,14 +594,14 @@ function H(t, e, s) {
594
594
  }
595
595
  return C;
596
596
  }
597
- const be = (t) => ne({
597
+ const Ce = (t) => ne({
598
598
  where: t.query?.where,
599
599
  normalize: !1,
600
600
  escape: !1
601
- }) ?? "", Ae = (t) => t?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? L.NoAggregation, _ = Ve(
601
+ }) ?? "", be = (t) => t?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? v.NoAggregation, _ = Ve(
602
602
  (t) => {
603
603
  const e = t?.series?.[0]?.query?.where?.split("=")[0].trim() ?? "";
604
- return tt(t?.series?.[0]?.query?.where) ? "" : e;
604
+ return et(t?.series?.[0]?.query?.where) ? "" : e;
605
605
  },
606
606
  (t) => t?.series?.[0]?.query?.where
607
607
  ), G = (t) => {
@@ -617,45 +617,45 @@ const be = (t) => ne({
617
617
  }
618
618
  return e.filter((s) => s !== "");
619
619
  };
620
- function ve(t) {
621
- const { splitByField: e, numericFields: s, layer: r, seriesIndex: a } = t, i = X(r).idField ?? "";
620
+ function Ae(t) {
621
+ const { splitByField: e, numericFields: s, layer: r, seriesIndex: a } = t, i = H(r).idField ?? "";
622
622
  return e === "" ? s[a] ?? i : s[0] ?? i;
623
623
  }
624
- function wt(t) {
624
+ function Pt(t) {
625
625
  const { numericFields: e, aggregationType: s, config: r, layerInfo: a } = t;
626
626
  let i = !1;
627
- s === L.Count ? i = !0 : s === L.NoAggregation && (i = e.every((y) => {
628
- const g = a.layerFieldsInfo.find((F) => F.name === y);
629
- return g !== void 0 ? ge(g) : !1;
630
- })), de(r, 1, i);
627
+ s === v.Count ? i = !0 : s === v.NoAggregation && (i = e.every((y) => {
628
+ const g = a.layerFieldsInfo.find((S) => S.name === y);
629
+ return g !== void 0 ? me(g) : !1;
630
+ })), ce(r, 1, i);
631
631
  const l = r.series.some((y) => b(y)), n = r.series.some((y) => A(y));
632
632
  if (l || n) {
633
- const y = $(r), g = a.layerFieldsInfo.find((o) => o.name === y), F = g !== void 0 && ge(g);
634
- de(r, 0, F);
633
+ const y = Y(r), g = a.layerFieldsInfo.find((o) => o.name === y), S = g !== void 0 && me(g);
634
+ ce(r, 0, S);
635
635
  }
636
636
  }
637
637
  const ae = (t) => {
638
638
  let e;
639
639
  if (oe(t)) {
640
- 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;
641
- e = [pe(s, a), pe(r, i)];
640
+ const s = t.orderOptions?.data?.orderByX ?? [""], r = t.orderOptions?.data?.orderByY ?? [""], a = t.axes?.[0]?.valueFormat?.type === "category" ? N.Category : N.YValue, i = t.axes?.[1]?.valueFormat?.type === "category" ? N.Category : N.YValue;
641
+ e = [ge(s, a), ge(r, i)];
642
642
  } else {
643
- const s = t.orderOptions?.data?.orderType ?? V.Category, r = t.orderOptions?.data && "orderBy" in t.orderOptions.data ? t.orderOptions.data.orderBy : rt.Ascending;
644
- e = [it(r, s)];
643
+ const s = t.orderOptions?.data?.orderType ?? N.Category, r = t.orderOptions?.data && "orderBy" in t.orderOptions.data ? t.orderOptions.data.orderBy : at.Ascending;
644
+ e = [st(r, s)];
645
645
  }
646
646
  return e;
647
647
  };
648
- function Pt(t) {
648
+ function wt(t) {
649
649
  const { xAxisField: e, numericFields: s, aggregationType: r, config: a, layerInfo: i, commonStrings: l } = t, { layerFieldsInfo: n } = i;
650
650
  let y = !1;
651
- const g = Y({
651
+ const g = W({
652
652
  config: a,
653
653
  xAxisField: e,
654
654
  aggregationType: r,
655
655
  layerInfo: i,
656
656
  seriesIndex: 0,
657
657
  commonStrings: l
658
- }), F = Q({
658
+ }), S = Q({
659
659
  config: a,
660
660
  xAxisField: e,
661
661
  numericFields: s,
@@ -667,7 +667,7 @@ function Pt(t) {
667
667
  id: `series_${Date.now()}`,
668
668
  name: l.axisLabels.values,
669
669
  x: te,
670
- y: F
670
+ y: S
671
671
  }, c = [];
672
672
  for (const d of s)
673
673
  c.push({
@@ -677,20 +677,20 @@ function Pt(t) {
677
677
  });
678
678
  o.query = { outStatistics: c };
679
679
  const m = a.series[0];
680
- return m !== void 0 && (o.id = m.id, (b(o) && b(m) || A(o) && A(m)) && W(o, m), a.colorMatch || (O(m) && O(o) ? o.fillSymbol = m.fillSymbol : (b(o) && b(m) || A(o) && A(m)) && (o.lineSymbol = m.lineSymbol, o.markerSymbol = m.markerSymbol), y = !0), o.id = m.id, m.name !== g.name && (o.name = m.name)), a.series.length === 1 && ((b(o) || A(o)) && W(o, a.series[0]), a.colorMatch || (O(o) ? o.fillSymbol = a.series[0].fillSymbol : (b(o) || A(o)) && (o.lineSymbol = a.series[0].lineSymbol, o.markerSymbol = a.series[0].markerSymbol), y = !0)), a.colorMatch = !y, [o];
680
+ return m !== void 0 && (o.id = m.id, (b(o) && b(m) || A(o) && A(m)) && X(o, m), a.colorMatch || (O(m) && O(o) ? o.fillSymbol = m.fillSymbol : (b(o) && b(m) || A(o) && A(m)) && (o.lineSymbol = m.lineSymbol, o.markerSymbol = m.markerSymbol), y = !0), o.id = m.id, m.name !== g.name && (o.name = m.name)), a.series.length === 1 && ((b(o) || A(o)) && X(o, a.series[0]), a.colorMatch || (O(o) ? o.fillSymbol = a.series[0].fillSymbol : (b(o) || A(o)) && (o.lineSymbol = a.series[0].lineSymbol, o.markerSymbol = a.series[0].markerSymbol), y = !0)), a.colorMatch = !y, [o];
681
681
  }
682
682
  function Ie(t) {
683
- const { xAxisField: e, numericFields: s, aggregationType: r, config: a, layerInfo: i, commonStrings: l } = t, { layerFieldsInfo: n } = i, y = X(i.layer).idField, g = [];
684
- let F = !1;
683
+ const { xAxisField: e, numericFields: s, aggregationType: r, config: a, layerInfo: i, commonStrings: l } = t, { layerFieldsInfo: n } = i, y = H(i.layer).idField, g = [];
684
+ let S = !1;
685
685
  for (let u = 0; u < s.length; u += 1) {
686
- const p = Y({
686
+ const p = W({
687
687
  config: a,
688
688
  xAxisField: e,
689
689
  aggregationType: r,
690
690
  layerInfo: i,
691
691
  seriesIndex: u,
692
692
  commonStrings: l
693
- }), T = a.series[u]?.y, C = typeof T == "string" && T.trim() !== "" && !n.find((S) => S.name === T) ? T : Q({
693
+ }), T = a.series[u]?.y, C = typeof T == "string" && T.trim() !== "" && !n.find((h) => h.name === T) ? T : Q({
694
694
  config: a,
695
695
  xAxisField: e,
696
696
  numericFields: s,
@@ -698,33 +698,33 @@ function Ie(t) {
698
698
  layer: i.layer,
699
699
  numericFieldIndex: u,
700
700
  fieldList: n
701
- }).name, h = s[u];
701
+ }).name, F = s[u];
702
702
  let f = {
703
703
  ...p,
704
704
  query: {
705
705
  ...p.query
706
706
  }
707
707
  };
708
- s && h !== y && (f = {
708
+ s && F !== y && (f = {
709
709
  ...f,
710
- id: h,
711
- name: D(n, h)
710
+ id: F,
711
+ name: D(n, F)
712
712
  });
713
- let R = h;
714
- f.query !== void 0 && (r !== L.NoAggregation ? (R = C, f.query.outStatistics = [
713
+ let R = F;
714
+ f.query !== void 0 && (r !== v.NoAggregation ? (R = C, f.query.outStatistics = [
715
715
  {
716
716
  ...p.query?.outStatistics?.[0] ?? {},
717
- onStatisticField: h,
717
+ onStatisticField: F,
718
718
  outStatisticFieldName: C,
719
719
  statisticType: r
720
720
  }
721
721
  ]) : delete f.query.outStatistics), f.y = R;
722
722
  const x = a.series.find(
723
- (S) => S.query?.outStatistics?.[0]?.onStatisticField === h && S.query.where === void 0 || S.query?.outStatistics === void 0 && (S.y === h || S.x === h)
723
+ (h) => h.query?.outStatistics?.[0]?.onStatisticField === F && h.query.where === void 0 || h.query?.outStatistics === void 0 && (h.y === F || h.x === F)
724
724
  );
725
725
  if (x !== void 0 && typeof x.y == "string" && x.y.trim() !== "") {
726
- (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);
727
- const S = Y({
726
+ (b(f) && b(x) || A(f) && A(x)) && X(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), S = !0);
727
+ const h = W({
728
728
  config: a,
729
729
  xAxisField: e,
730
730
  aggregationType: r,
@@ -732,7 +732,7 @@ function Ie(t) {
732
732
  seriesIndex: u,
733
733
  commonStrings: l
734
734
  });
735
- 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);
735
+ f.id = x.id, x.id !== h.id && x.name !== h.name && (f.id = x.id, f.name = x.name), f.assignToSecondValueAxis = x.assignToSecondValueAxis, f.type === I.HeatSeries && x.type === I.HeatSeries && (f.y = x.y, f.heatRulesType = x.heatRulesType);
736
736
  }
737
737
  g.push(f);
738
738
  }
@@ -741,10 +741,10 @@ function Ie(t) {
741
741
  ), m = a.series.filter((u) => O(u)), d = a.series.filter(
742
742
  (u) => b(u) || A(u)
743
743
  );
744
- return m.length === 1 && o.length === 1 && !a.colorMatch && (O(m[0]) && O(o[0]) && (o[0].fillSymbol = m[0].fillSymbol), F = !0), d.length === 1 && c.length === 1 && ((b(d[0]) && b(c[0]) || A(d[0]) && A(c[0])) && W(c[0], d[0]), a.colorMatch || ((b(d[0]) && b(c[0]) || A(d[0]) && A(c[0])) && (c[0].lineSymbol = d[0].lineSymbol, c[0].markerSymbol = d[0].markerSymbol), F = !0)), a.colorMatch = !F, g;
744
+ return m.length === 1 && o.length === 1 && !a.colorMatch && (O(m[0]) && O(o[0]) && (o[0].fillSymbol = m[0].fillSymbol), S = !0), d.length === 1 && c.length === 1 && ((b(d[0]) && b(c[0]) || A(d[0]) && A(c[0])) && X(c[0], d[0]), a.colorMatch || ((b(d[0]) && b(c[0]) || A(d[0]) && A(c[0])) && (c[0].lineSymbol = d[0].lineSymbol, c[0].markerSymbol = d[0].markerSymbol), S = !0)), a.colorMatch = !S, g;
745
745
  }
746
- function li(t) {
747
- const { aggregationType: e, config: s, layerInfo: r, commonStrings: a } = t, { layerFieldsInfo: i, layer: l } = r, n = $(s), y = G(s), g = _(s), F = Z(s, r, a), o = Le(s, r, a);
746
+ function ri(t) {
747
+ const { aggregationType: e, config: s, layerInfo: r, commonStrings: a } = t, { layerFieldsInfo: i, layer: l } = r, n = Y(s), y = G(s), g = _(s), S = Z(s, r, a), o = ve(s, r, a);
748
748
  if (s.series.forEach((c, m) => {
749
749
  const d = Q({
750
750
  config: s,
@@ -757,27 +757,25 @@ function li(t) {
757
757
  numericFieldIndex: m,
758
758
  fieldList: i
759
759
  }).name;
760
- if (c.y = d, e !== L.NoAggregation) {
761
- const u = ve({
762
- splitByField: g,
763
- numericFields: y,
764
- layer: l,
765
- seriesIndex: m
766
- }), p = c.query?.outStatistics?.[0]?.onStatisticField ?? u;
767
- c.query = {
768
- ...c.query,
769
- outStatistics: [
770
- {
771
- ...c.query?.outStatistics?.[0],
772
- outStatisticFieldName: d,
773
- statisticType: e,
774
- onStatisticField: p
775
- }
776
- ]
777
- };
778
- } else
779
- delete c.query?.outStatistics, !ue({ chartConfig: s }) && c.type === v.LineSeries && c.temporalBinning !== void 0 && delete c.temporalBinning;
780
- }), F && s.title && (s.title.content.text = H(s, r, a)), o && s.series[0].type !== v.HeatSeries) {
760
+ c.y = d;
761
+ const u = Ae({
762
+ splitByField: g,
763
+ numericFields: y,
764
+ layer: l,
765
+ seriesIndex: m
766
+ }), p = c.query?.outStatistics?.[0]?.onStatisticField ?? u;
767
+ c.query = {
768
+ ...c.query,
769
+ outStatistics: e === v.NoAggregation ? void 0 : [
770
+ {
771
+ ...c.query?.outStatistics?.[0],
772
+ outStatisticFieldName: d,
773
+ statisticType: e,
774
+ onStatisticField: p
775
+ }
776
+ ]
777
+ }, "temporalBinning" in c && c.temporalBinning !== void 0 && (c.temporalBinning.nullPolicy = e === v.NoAggregation ? M.Interpolate : M.Null), e === v.NoAggregation && bt(s);
778
+ }), S && s.title && (s.title.content.text = j(s, r, a)), o && s.series[0].type !== I.HeatSeries) {
781
779
  const c = le({
782
780
  config: s,
783
781
  layerInfo: r,
@@ -798,7 +796,7 @@ function Et(t) {
798
796
  layerInfo: l,
799
797
  commonStrings: n,
800
798
  splitByFieldInfos: y
801
- } = t, { layer: g, layerFieldsInfo: F } = l, { categoriesArray: o, splitByFieldType: c } = y, m = ve({
799
+ } = t, { layer: g, layerFieldsInfo: S } = l, { categoriesArray: o, splitByFieldType: c } = y, m = Ae({
802
800
  splitByField: e,
803
801
  numericFields: r,
804
802
  layer: g,
@@ -826,45 +824,43 @@ function Et(t) {
826
824
  layer: l.layer,
827
825
  seriesIndex: p,
828
826
  splitByField: e,
829
- fieldList: F
830
- }).name, h = Y({
827
+ fieldList: S
828
+ }).name, F = W({
831
829
  config: i,
832
830
  xAxisField: s,
833
831
  aggregationType: a,
834
832
  layerInfo: l,
835
833
  seriesIndex: p,
836
834
  commonStrings: n
837
- }), f = xe({
835
+ }), f = he({
838
836
  queryObject: l.layer,
839
837
  fieldName: e,
840
838
  fieldValue: T ?? ""
841
- }), R = `${T}`, S = {
842
- ...h,
839
+ }), R = `${T}`, h = {
840
+ ...F,
843
841
  id: R,
844
842
  name: f ?? R,
845
843
  y: C,
846
844
  query: {
847
- ...h.query,
848
- where: `${e}=${c === ot.String && T !== null ? `'${T}'` : T}`,
849
- outStatistics: a !== L.NoAggregation ? [
845
+ ...F.query,
846
+ where: `${e}=${c === nt.String && T !== null ? `'${T}'` : T}`,
847
+ outStatistics: a !== v.NoAggregation ? [
850
848
  {
851
- ...h.query?.outStatistics?.[0] ?? {},
849
+ ...F.query?.outStatistics?.[0] ?? {},
852
850
  onStatisticField: m,
853
851
  outStatisticFieldName: C,
854
852
  statisticType: a
855
853
  }
856
854
  ] : void 0
857
855
  }
858
- };
859
- a === L.NoAggregation && (S.query !== void 0 && (delete S.query.outStatistics, delete S.query.groupByFieldsForStatistics), S.y = m);
860
- const I = i.series.find(
861
- (q) => String(be(q)).trim().replace(/'/gu, "") === R
856
+ }, L = i.series.find(
857
+ (V) => String(Ce(V)).trim().replace(/'/gu, "") === R
862
858
  );
863
- 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((q) => q.query?.fetchNullValues)), d.push(S);
859
+ L !== void 0 && ((b(h) && b(L) || A(h) && A(L)) && X(h, L), i.colorMatch || (O(h) && O(L) ? h.fillSymbol = L.fillSymbol : (b(h) && b(L) || A(h) && A(L)) && (h.lineSymbol = L.lineSymbol, h.markerSymbol = L.markerSymbol), u = !0), h.id = L.id, h.name = L.name, h.assignToSecondValueAxis = L.assignToSecondValueAxis), h.query && (h.query.fetchNullValues = i.series.some((V) => V.query?.fetchNullValues)), d.push(h);
864
860
  }
865
861
  return i.colorMatch = !u, d;
866
862
  }
867
- const ni = (t) => {
863
+ const li = (t) => {
868
864
  const {
869
865
  xAxisFieldName: e,
870
866
  splitByField: s,
@@ -874,20 +870,20 @@ const ni = (t) => {
874
870
  layerInfo: l,
875
871
  commonStrings: n,
876
872
  splitByFieldInfos: y
877
- } = t, { layerFieldsInfo: g } = l ?? {}, F = xt(i), o = $(i), c = g.find((B) => B.name === o), m = i.series[0].query?.fetchNullValues, d = "nullCategory" in i.series?.[0] ? i.series[0].nullCategory : void 0, u = i.series[0]?.query === void 0, p = g.find((B) => B.name === e), T = Z(i, l, n), C = Le(i, l, n), h = Mt(i, l);
878
- let f = he(i);
879
- const R = i.series.some((B) => O(B)), x = ft(i.series), S = St(i.series), I = oe(i), q = {};
880
- I && (q.classBreaksRules = i.series[0]?.classBreaksRules, q.xTemporalBinning = i.series[0]?.xTemporalBinning, q.yTemporalBinning = i.series[0]?.yTemporalBinning, q.emptyCells = i.series[0]?.emptyCells, q.nullPolicy = i.nullPolicy);
873
+ } = t, { layerFieldsInfo: g } = l ?? {}, S = ht(i), o = Y(i), c = g.find((B) => B.name === o), m = i.series[0].query?.fetchNullValues, d = "nullCategory" in i.series?.[0] ? i.series[0].nullCategory : void 0, u = i.series[0]?.query === void 0, p = g.find((B) => B.name === e), T = Z(i, l, n), C = ve(i, l, n), F = Mt(i, l);
874
+ let f = Fe(i);
875
+ const R = i.series.some((B) => O(B)), x = pt(i.series), h = ft(i.series), L = oe(i), V = {};
876
+ L && (V.classBreaksRules = i.series[0]?.classBreaksRules, V.xTemporalBinning = i.series[0]?.xTemporalBinning, V.yTemporalBinning = i.series[0]?.yTemporalBinning, V.emptyCells = i.series[0]?.emptyCells, V.nullPolicy = i.nullPolicy);
881
877
  let J = !1;
882
- if (st(p) ? f = fe() : !me(c) && me(p) ? f = Se() : !j(c) && j(p) ? (f = Se(), J = !0) : j(c) && !j(p) && (R ? f = fe() : f = pt(), J = !0), f !== void 0 && ke(i, n, f), F === 0 && (i.series = [
883
- Y({ config: i, xAxisField: e, aggregationType: a, layerInfo: l, commonStrings: n })
878
+ if (tt(p) ? f = pe() : !ye(c) && ye(p) ? f = fe() : !U(c) && U(p) ? (f = fe(), J = !0) : U(c) && !U(p) && (R ? f = pe() : f = gt(), J = !0), f !== void 0 && qe(i, n, f), S === 0 && (i.series = [
879
+ W({ config: i, xAxisField: e, aggregationType: a, layerInfo: l, commonStrings: n })
884
880
  ]), i.series.forEach((B) => {
885
881
  B.x = e, B.query !== void 0 && (B.query.groupByFieldsForStatistics = [e]);
886
- }), s === "" || r.length > 1 ? Te({
882
+ }), s === "" || r.length > 1 ? xe({
887
883
  fieldName: e,
888
884
  numericFields: r,
889
885
  fieldList: g
890
- }) ? i.series = Pt({
886
+ }) ? i.series = wt({
891
887
  config: i,
892
888
  layerInfo: l,
893
889
  xAxisField: e,
@@ -910,11 +906,11 @@ const ni = (t) => {
910
906
  aggregationType: a,
911
907
  commonStrings: n,
912
908
  splitByFieldInfos: y
913
- })), h && i.series[0].type !== v.HeatSeries) {
909
+ })), F && i.series[0].type !== I.HeatSeries) {
914
910
  const B = D(g, e);
915
911
  E(i, 0, B);
916
912
  }
917
- if (C && i.series[0].type !== v.HeatSeries) {
913
+ if (C && i.series[0].type !== I.HeatSeries) {
918
914
  const B = le({
919
915
  config: i,
920
916
  layerInfo: l,
@@ -924,54 +920,54 @@ const ni = (t) => {
924
920
  });
925
921
  E(i, 1, B);
926
922
  }
927
- if (T && i.title && (i.title.content.text = H(i, l, n)), N({ config: i, value: null, axisIndex: 1, isMax: !1 }), N({ config: i, value: null, axisIndex: 1, isMax: !0 }), wt({ numericFields: r, aggregationType: a, config: i, layerInfo: l }), (x || S) && (N({ config: i, value: null, axisIndex: 0, isMax: !1 }), N({ config: i, value: null, axisIndex: 0, isMax: !0 }), J && a !== L.NoAggregation)) {
928
- const B = f?.type === v.DateAxisFormat ? U.Null : U.Interpolate;
929
- bt(B, i);
923
+ if (T && i.title && (i.title.content.text = j(i, l, n)), q({ config: i, value: null, axisIndex: 1, isMax: !1 }), q({ config: i, value: null, axisIndex: 1, isMax: !0 }), Pt({ numericFields: r, aggregationType: a, config: i, layerInfo: l }), (x || h) && (q({ config: i, value: null, axisIndex: 0, isMax: !1 }), q({ config: i, value: null, axisIndex: 0, isMax: !0 }), J && a !== v.NoAggregation)) {
924
+ const B = f?.type === I.DateAxisFormat ? M.Null : M.Interpolate;
925
+ Ct(B, i);
930
926
  }
931
- I && (i.series[0].classBreaksRules = q.classBreaksRules, i.series[0].xTemporalBinning = q.xTemporalBinning, i.series[0].yTemporalBinning = q.yTemporalBinning, i.series[0].emptyCells = q.emptyCells, i.nullPolicy = q.nullPolicy), u ? i.series.forEach((B) => {
927
+ L && (i.series[0].classBreaksRules = V.classBreaksRules, i.series[0].xTemporalBinning = V.xTemporalBinning, i.series[0].yTemporalBinning = V.yTemporalBinning, i.series[0].emptyCells = V.emptyCells, i.nullPolicy = V.nullPolicy), u ? i.series.forEach((B) => {
932
928
  delete B.query;
933
929
  }) : m && i.series.forEach((B) => {
934
930
  B.query && (B.query.fetchNullValues = m);
935
931
  }), d && i.series.forEach((B) => {
936
- (B.type === v.BarSeries || B.type === v.LineSeries || B.type === v.RadarSeries) && (B.nullCategory = d);
932
+ (B.type === I.BarSeries || B.type === I.LineSeries || B.type === I.RadarSeries) && (B.nullCategory = d);
937
933
  });
938
- }, W = (t, e) => {
934
+ }, X = (t, e) => {
939
935
  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 = {
940
936
  ...e.markerSymbol,
941
937
  color: t.markerSymbol?.color
942
938
  });
943
- }, oi = (t) => {
939
+ }, ni = (t) => {
944
940
  const { config: e, seriesIndex: s, layerInfo: r, commonStrings: a } = t, i = e.series?.[s], l = _(e);
945
941
  let n;
946
- if (K(e.series) === w.BarAndLineFromFields)
942
+ if (K(e.series) === P.BarAndLineFromFields)
947
943
  n = a.axisLabels.values;
948
- else if (qe(l)) {
944
+ else if (Le(l)) {
949
945
  const g = i.query?.outStatistics?.[0]?.onStatisticField;
950
- g !== void 0 && g !== X(r.layer).idField && (n = D(r.layerFieldsInfo, g));
946
+ g !== void 0 && g !== H(r.layer).idField && (n = D(r.layerFieldsInfo, g));
951
947
  } else {
952
- const g = String(be(i)).trim().replace(/'/gu, "");
953
- n = xe({
948
+ const g = String(Ce(i)).trim().replace(/'/gu, "");
949
+ n = he({
954
950
  queryObject: r.layer,
955
951
  fieldName: l,
956
952
  fieldValue: g ?? ""
957
953
  }) ?? g;
958
954
  }
959
955
  return n ?? i.id;
960
- }, ui = (t, e) => {
956
+ }, oi = (t, e) => {
961
957
  if (oe(e))
962
958
  Ot(t, e);
963
959
  else {
964
960
  e.orderOptions ??= {};
965
961
  const s = e.orderOptions?.data?.orderType;
966
- ae(e)[0] === ee.customSort && s === V.Category && (e.orderOptions.data = {
967
- orderType: V.Category,
962
+ ae(e)[0] === ee.customSort && s === N.Category && (e.orderOptions.data = {
963
+ orderType: N.Category,
968
964
  orderBy: [...t]
969
965
  });
970
966
  }
971
- }, ci = async (t) => {
972
- const { config: e, layerInfo: s, errorStrings: r } = t, a = $(e), i = he(e)?.type, l = G(e), n = K(e.series);
967
+ }, ui = async (t) => {
968
+ const { config: e, layerInfo: s, errorStrings: r } = t, a = Y(e), i = Fe(e)?.type, l = G(e), n = K(e.series);
973
969
  let y = [];
974
- return i === v.CategoryAxisFormat && (n === w.BarAndLineFromFields || a === te ? y = l.map((g) => D(s?.layerFieldsInfo, g)) : a.trim() !== "" && a !== te && s !== void 0 && (y = await Ne({
970
+ return i === I.CategoryAxisFormat && (n === P.BarAndLineFromFields || a === te ? y = l.map((g) => D(s?.layerFieldsInfo, g)) : a.trim() !== "" && a !== te && s !== void 0 && (y = await Ne({
975
971
  layerInfo: s,
976
972
  config: e,
977
973
  category: a,
@@ -979,111 +975,111 @@ const ni = (t) => {
979
975
  }))), y;
980
976
  };
981
977
  function Z(t, e, s) {
982
- const r = H(t, e, s), a = Tt(t), i = z(t);
978
+ const r = j(t, e, s), a = xt(t), i = z(t);
983
979
  return r === a || i;
984
980
  }
985
- function Le(t, e, s) {
981
+ function ve(t, e, s) {
986
982
  const r = le({
987
983
  config: t,
988
984
  layerInfo: e,
989
985
  commonStrings: s,
990
986
  numericFields: G(t),
991
- aggregationType: Ae(t)
992
- }), a = ce(1, t), i = z(t);
987
+ aggregationType: be(t)
988
+ }), a = ue(1, t), i = z(t);
993
989
  return r === a || i;
994
990
  }
995
991
  function Mt(t, e) {
996
- const s = D(e.layerFieldsInfo, $(t)), r = ce(0, t), a = z(t);
992
+ const s = D(e.layerFieldsInfo, Y(t)), r = ue(0, t), a = z(t);
997
993
  return s === r || a;
998
994
  }
999
- function di(t) {
995
+ function ci(t) {
1000
996
  return k(t.series[0]) ? t.series[0].binTemporalData ?? !0 : !1;
1001
997
  }
1002
- function yi(t, e) {
1003
- ue({ chartConfig: e }) && e?.series.forEach((s) => {
1004
- (s?.type === v.BarSeries || s?.type === v.LineSeries) && (s.binTemporalData = t, t ? s.temporalBinning = {
998
+ function di(t, e) {
999
+ e?.series.forEach((s) => {
1000
+ (s?.type === I.BarSeries || s?.type === I.LineSeries) && (s.binTemporalData = t, t ? s.temporalBinning = {
1005
1001
  unit: se.Day,
1006
1002
  size: 0,
1007
- timeAggregationType: lt.Start,
1003
+ timeAggregationType: rt.Start,
1008
1004
  trimIncompleteTimeInterval: !0,
1009
- nullPolicy: U.Null
1005
+ nullPolicy: M.Null
1010
1006
  } : delete s.temporalBinning);
1011
1007
  });
1012
1008
  }
1013
1009
  export {
1014
- Ts as $,
1015
- ui as A,
1016
- ni as B,
1017
- di as C,
1018
- yi as D,
1019
- H as E,
1010
+ xs as $,
1011
+ oi as A,
1012
+ li as B,
1013
+ ci as C,
1014
+ di as D,
1015
+ j as E,
1020
1016
  Rt as F,
1021
- bs as G,
1022
- Qs as H,
1023
- zs as I,
1024
- vs as J,
1025
- As as K,
1026
- Ls as L,
1017
+ Cs as G,
1018
+ Ks as H,
1019
+ Qs as I,
1020
+ As as J,
1021
+ bs as K,
1022
+ vs as L,
1027
1023
  Is as M,
1028
- _s as N,
1029
- Gs as O,
1030
- Zs as P,
1031
- Js as Q,
1032
- si as R,
1033
- ii as S,
1034
- ai as T,
1035
- ri as U,
1036
- Fs as V,
1037
- hs as W,
1024
+ zs as N,
1025
+ _s as O,
1026
+ Gs as P,
1027
+ Zs as Q,
1028
+ ti as R,
1029
+ si as S,
1030
+ ii as T,
1031
+ ai as U,
1032
+ Ss as V,
1033
+ Fs as W,
1038
1034
  Vs as X,
1039
- qs as Y,
1040
- ks as Z,
1035
+ Ls as Y,
1036
+ qs as Z,
1041
1037
  Ns as _,
1042
- gs as a,
1043
- xs as a0,
1044
- Cs as a1,
1045
- Bs as a2,
1046
- Ds as a3,
1047
- ws as a4,
1038
+ ms as a,
1039
+ hs as a0,
1040
+ Bs as a1,
1041
+ Ts as a2,
1042
+ Os as a3,
1043
+ Ds as a4,
1048
1044
  Ps as a5,
1049
- Es as a6,
1050
- Os as a7,
1051
- Rs as a8,
1052
- Ms as a9,
1045
+ ws as a6,
1046
+ Rs as a7,
1047
+ ks as a8,
1048
+ Es as a9,
1053
1049
  Dt as aa,
1054
- $s as ab,
1055
- Ys as ac,
1056
- Ws as ad,
1057
- Xs as ae,
1058
- Hs as af,
1059
- js as ag,
1060
- ti as ah,
1061
- ei as ai,
1062
- Us as aj,
1063
- Ks as ak,
1064
- ds as b,
1065
- ys as c,
1050
+ Ms as ab,
1051
+ $s as ac,
1052
+ Ys as ad,
1053
+ Ws as ae,
1054
+ Xs as af,
1055
+ Hs as ag,
1056
+ ei as ah,
1057
+ Js as ai,
1058
+ js as aj,
1059
+ Us as ak,
1060
+ cs as b,
1061
+ ds as c,
1066
1062
  G as d,
1067
1063
  _ as e,
1068
- Ss as f,
1069
- Ae as g,
1070
- oi as h,
1071
- ps as i,
1064
+ fs as f,
1065
+ be as g,
1066
+ ni as h,
1067
+ gs as i,
1072
1068
  is as j,
1073
- Bt as k,
1069
+ Tt as k,
1074
1070
  ns as l,
1075
1071
  as as m,
1076
1072
  os as n,
1077
1073
  rs as o,
1078
- fs as p,
1074
+ ps as p,
1079
1075
  us as q,
1080
1076
  At as r,
1081
- Ct as s,
1077
+ Bt as s,
1082
1078
  ls as t,
1083
- ms as u,
1084
- bt as v,
1085
- cs as w,
1086
- li as x,
1079
+ ys as u,
1080
+ Ct as v,
1081
+ bt as w,
1082
+ ri as x,
1087
1083
  ae as y,
1088
- ci as z
1084
+ ui as z
1089
1085
  };