@arcgis/charts-components 5.1.0-next.3 → 5.1.0-next.5

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 (114) hide show
  1. package/dist/cdn/{AYCC4F4F.js → 25UJ6G2G.js} +1 -1
  2. package/dist/cdn/{ECCH4ADF.js → 2JUKPBNE.js} +1 -1
  3. package/dist/cdn/{MR5ILWAE.js → 2OGUU3CF.js} +1 -1
  4. package/dist/cdn/{SRYBZ24U.js → 36Z3PUIB.js} +1 -1
  5. package/dist/cdn/{VGXLTGQQ.js → 3IBNI7DB.js} +1 -1
  6. package/dist/cdn/{Y2IS52FA.js → 3KP75DDX.js} +1 -1
  7. package/dist/cdn/{HBNVWG3C.js → 3V3NUR6Q.js} +1 -1
  8. package/dist/cdn/{HY3LR3KK.js → 4XV6HEXY.js} +1 -1
  9. package/dist/cdn/{AOADUMLE.js → 5PUNMMSL.js} +1 -1
  10. package/dist/cdn/{MSTBHX5F.js → 5RX4R45J.js} +1 -1
  11. package/dist/cdn/{XA6MMB3P.js → 64NE6NLA.js} +1 -1
  12. package/dist/cdn/{LPBHJ3MJ.js → 6LS2WSZ5.js} +1 -1
  13. package/dist/cdn/{HFZVRDUA.js → 6PIJSBNU.js} +1 -1
  14. package/dist/cdn/{FM2BW3TM.js → 6ZZVPJTU.js} +1 -1
  15. package/dist/cdn/{5J75SUB7.js → 76YPTUIV.js} +1 -1
  16. package/dist/cdn/{DJWQERUV.js → 7OXO43LP.js} +18 -18
  17. package/dist/cdn/{DMCRUQRB.js → AHJME35X.js} +1 -1
  18. package/dist/cdn/{6QPQJCDF.js → AYMM5RTN.js} +1 -1
  19. package/dist/cdn/{LY52O2R2.js → BF3HDW6F.js} +1 -1
  20. package/dist/cdn/{VQP74MNM.js → BHF54XO4.js} +1 -1
  21. package/dist/cdn/{V43EVP67.js → BPBBMXA3.js} +1 -1
  22. package/dist/cdn/{P6U3FRUV.js → BRRSD3O4.js} +1 -1
  23. package/dist/cdn/{JRNQMXAJ.js → BVFVLX3U.js} +2 -2
  24. package/dist/cdn/{VWQJZLW7.js → BYIBXD4Q.js} +1 -1
  25. package/dist/cdn/{5LGB7G4J.js → D2NLBPAB.js} +1 -1
  26. package/dist/cdn/{RSICVDZA.js → DFBK7RTI.js} +1 -1
  27. package/dist/cdn/{BHKN6KLI.js → E2OGP7R4.js} +1 -1
  28. package/dist/cdn/{XX3QRZBV.js → ESIO74ER.js} +1 -1
  29. package/dist/cdn/{UTFNFNBS.js → EXVJCW7V.js} +1 -1
  30. package/dist/cdn/{2MIOMGFE.js → F3M5Q4I6.js} +1 -1
  31. package/dist/cdn/{NZUSMDEI.js → FG2SKN2Q.js} +1 -1
  32. package/dist/cdn/{VGWNGBJQ.js → FHI4UU5O.js} +1 -1
  33. package/dist/cdn/{FBSZY5IZ.js → FJUBR4KW.js} +1 -1
  34. package/dist/cdn/FRATWU4Z.js +2 -0
  35. package/dist/cdn/{PDUXHSFV.js → FSNIJZ4N.js} +1 -1
  36. package/dist/cdn/{6P6D5EQM.js → HYEINZ2W.js} +1 -1
  37. package/dist/cdn/{YQN5ORQV.js → IBQT5TXA.js} +1 -1
  38. package/dist/cdn/{6H7C37ET.js → IU5GCIOV.js} +1 -1
  39. package/dist/cdn/{SRZ4ZT6P.js → IUWWS4XW.js} +1 -1
  40. package/dist/cdn/{HXFWZC75.js → J3OY6YTK.js} +1 -1
  41. package/dist/cdn/{TUH6JU6E.js → JF4TYCG5.js} +1 -1
  42. package/dist/cdn/{AX4J6AI7.js → JLFJWDPQ.js} +1 -1
  43. package/dist/cdn/{EHXU4YXH.js → JQVTSKVB.js} +1 -1
  44. package/dist/cdn/{FNVHMS3H.js → JWTZ3Q2T.js} +1 -1
  45. package/dist/cdn/{QNMJT6VU.js → L4E7PSXN.js} +1 -1
  46. package/dist/cdn/{2XXLQ5Y6.js → LIWSW6ON.js} +1 -1
  47. package/dist/cdn/{FTSW4HI5.js → LKI3UTOI.js} +1 -1
  48. package/dist/cdn/{PVDSHL2H.js → LKK7N2C5.js} +1 -1
  49. package/dist/cdn/{LG4UY6SI.js → LR3V4CJY.js} +1 -1
  50. package/dist/cdn/{AEGOLCCB.js → LY46M2NC.js} +1 -1
  51. package/dist/cdn/{TTCTP5YC.js → MBFKIRCK.js} +1 -1
  52. package/dist/cdn/{KXMZHCZV.js → MOU5IBB7.js} +1 -1
  53. package/dist/cdn/{FWZSPESB.js → MXLNSW6C.js} +1 -1
  54. package/dist/cdn/{PYAGAI3Q.js → MY4FFGT5.js} +1 -1
  55. package/dist/cdn/{LKAP5YGA.js → NFGXU34G.js} +1 -1
  56. package/dist/cdn/{QSMCN53C.js → NKSFFZ43.js} +1 -1
  57. package/dist/cdn/{WHY5MR3Z.js → NLXKYZUI.js} +1 -1
  58. package/dist/cdn/{NTZUHVUX.js → NXDHPVLZ.js} +1 -1
  59. package/dist/cdn/{3R4FAEOA.js → OX7HOZ72.js} +1 -1
  60. package/dist/cdn/{XOIFXWHH.js → OZLXNKH5.js} +1 -1
  61. package/dist/cdn/{QXL7A4DC.js → PJPMROB7.js} +1 -1
  62. package/dist/cdn/{MFEFSFFB.js → QWZNK3OV.js} +1 -1
  63. package/dist/cdn/{3X5BIAIH.js → RHSZB5ZH.js} +1 -1
  64. package/dist/cdn/{2NTTT3TW.js → RJN6DNHI.js} +1 -1
  65. package/dist/cdn/{EXOEBBNG.js → RUB23UKZ.js} +1 -1
  66. package/dist/cdn/{UIIICG5Q.js → RUYVKHFW.js} +1 -1
  67. package/dist/cdn/{35UJW2K7.js → RWYS4UGQ.js} +1 -1
  68. package/dist/cdn/{EQZYVXZ4.js → RX4COZVH.js} +1 -1
  69. package/dist/cdn/{J76ITKCE.js → S2T2KPSE.js} +1 -1
  70. package/dist/cdn/{VUPR4BHS.js → SBJDJQ5W.js} +1 -1
  71. package/dist/cdn/{JWJDAHU7.js → SD2G2LCW.js} +1 -1
  72. package/dist/cdn/{WKWLOFTY.js → SJ74QWGI.js} +1 -1
  73. package/dist/cdn/{ZZAZBS4T.js → STQIUWAA.js} +1 -1
  74. package/dist/cdn/{IXCOCHIN.js → T2ZLECUS.js} +1 -1
  75. package/dist/cdn/{ID4UFFP4.js → T4P6X62H.js} +1 -1
  76. package/dist/cdn/{JB3AN55N.js → TSQ75643.js} +1 -1
  77. package/dist/cdn/{PPOLZ5BG.js → U3YXEG4D.js} +1 -1
  78. package/dist/cdn/{GB2NFBIT.js → UWJ3DRYN.js} +1 -1
  79. package/dist/cdn/{VY7Q2Q5C.js → VK546WZD.js} +1 -1
  80. package/dist/cdn/{3ECR6VZA.js → VL4N7T3G.js} +1 -1
  81. package/dist/cdn/{ITCFNAZ2.js → VPTDXGKU.js} +1 -1
  82. package/dist/cdn/{IB7QFJ53.js → W3E73SQV.js} +1 -1
  83. package/dist/cdn/{VTHNATFJ.js → X2S3V4HD.js} +1 -1
  84. package/dist/cdn/{2S7MC6IH.js → XG3LUWT6.js} +1 -1
  85. package/dist/cdn/{M5VLEZ53.js → YC2QAZQ5.js} +1 -1
  86. package/dist/cdn/{VFC4KZRP.js → YUFKLXMQ.js} +1 -1
  87. package/dist/cdn/{EI24FPBG.js → Z6343LZG.js} +1 -1
  88. package/dist/cdn/{O3MTULYR.js → ZPBTQ3VC.js} +1 -1
  89. package/dist/cdn/{OYXE3FXG.js → ZWABUONN.js} +1 -1
  90. package/dist/cdn/{J52LA3XG.js → ZY42XS5N.js} +1 -1
  91. package/dist/cdn/index.js +1 -1
  92. package/dist/chunks/action-bar-utils.js +1 -1
  93. package/dist/chunks/data.js +10 -10
  94. package/dist/chunks/index.js +196 -192
  95. package/dist/chunks/index2.js +33 -33
  96. package/dist/chunks/pie-chart-model.js +1 -1
  97. package/dist/chunks/serial-chart-data.js +92 -92
  98. package/dist/chunks/web-component-utils.js +45 -45
  99. package/dist/components/arcgis-chart/customElement.js +2465 -2450
  100. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
  101. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
  102. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
  103. package/dist/components/arcgis-charts-config-create-flow/customElement.js +5 -5
  104. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +5 -5
  105. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +5 -5
  106. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
  107. package/dist/components/arcgis-charts-info-modal/customElement.js +34 -11
  108. package/dist/docs/api.json +1 -1
  109. package/dist/docs/docs.json +1 -1
  110. package/dist/docs/web-types.json +1 -1
  111. package/dist/index.js +278 -277
  112. package/dist/utils/misc/index.d.ts +10 -1
  113. package/package.json +3 -3
  114. package/dist/cdn/DM36XG4Z.js +0 -2
@@ -1,10 +1,10 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
2
  import { substitute as k } from "@arcgis/core/intl.js";
3
- import { cloneDeep as le, memoize as oe, isEmpty as Be } from "lodash-es";
3
+ import { cloneDeep as le, memoize as oe, isEmpty as xe } from "lodash-es";
4
4
  import "@arcgis/toolkit/type";
5
- import { w as Ce, a as v, d as be, t as I, m as E, g as Ae, W as D, n as ve, i as Q } from "./series-types.js";
6
- import { R as ue, f as Ie } from "./rest-js-object-literals.js";
7
- import { U as Le, cH as qe, o as X, df as w, j as Ne, cF as Ve, bL as we, bX as Oe, am as ke, q as N, p as De, dm as Re, cB as Me, dn as te, cc as Pe, c8 as Ee, k as de, Z as Y, cY as O, dk as $e, di as $, bK as K, bQ as ce, bR as ye, br as Ue, dh as G, l as We, b as U, bO as Xe, b3 as Ye, b4 as Ke, a_ as je, b6 as He, bN as ie, aL as Qe, aK as se, aM as ze } from "./index.js";
5
+ import { w as Be, a as v, d as Ce, t as I, m as E, g as be, W as D, n as Ae, i as Q } from "./series-types.js";
6
+ import { R as ue, f as ve } from "./rest-js-object-literals.js";
7
+ import { U as Ie, cH as Le, o as X, dg as w, j as qe, cF as Ne, bL as Ve, bX as we, am as Oe, q as N, p as ke, dn as De, cB as Re, dp as te, cc as Me, c8 as Pe, k as de, Z as Y, cY as O, dl as Ee, dj as $, bK as j, bQ as ce, bR as ye, br as $e, di as G, l as Ue, b as U, bO as We, b3 as Xe, b4 as Ye, a_ as je, b6 as Ke, bN as ie, aL as He, aK as se, aM as Qe } from "./index.js";
8
8
  import "@arcgis/toolkit/intl";
9
9
  import "luxon";
10
10
  import "d3-array";
@@ -15,13 +15,13 @@ import "@arcgis/core/time/TimeExtent.js";
15
15
  import "@arcgis/core/core/promiseUtils.js";
16
16
  import "@arcgis/core/request.js";
17
17
  import "./runtime.js";
18
- import { h as ge, l as L, o as _e, p as Ge, j as B, k as C, m as ae } from "./index4.js";
18
+ import { h as ge, l as L, o as ze, p as _e, j as B, k as C, m as ae } from "./index4.js";
19
19
  import "@arcgis/toolkit/dom";
20
- import { s as q, u as R, d as me, e as Je, f as Ze, g as pe, h as et, j as re } from "./utils.js";
20
+ import { s as q, u as R, d as me, e as Ge, f as Je, g as pe, h as Ze, j as re } from "./utils.js";
21
21
  import { S as z } from "./common.js";
22
22
  import "@esri/arcgis-html-sanitizer";
23
- import { b as P, c as fe, g as J, e as ne, f as tt } from "./data.js";
24
- import { b as it, g as st } from "./series-length.js";
23
+ import { b as P, c as fe, g as J, e as ne, f as et } from "./data.js";
24
+ import { b as tt, g as it } from "./series-length.js";
25
25
  import { g as Z } from "./utils2.js";
26
26
  import "@arcgis/core/Graphic.js";
27
27
  import "@arcgis/core/renderers/support/jsonUtils.js";
@@ -31,7 +31,7 @@ import "@arcgis/core/smartMapping/statistics/histogram.js";
31
31
  import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
32
32
  import "simple-statistics";
33
33
  import "@arcgis/core/AttributeBinsGraphic.js";
34
- import { c as at } from "./index2.js";
34
+ import { c as st } from "./index2.js";
35
35
  function li(t, e) {
36
36
  let i;
37
37
  return e !== void 0 && (i = { ...e }, i.legend !== void 0 && (i.legend.position = t)), i;
@@ -44,34 +44,34 @@ function ui(t, e) {
44
44
  let i;
45
45
  return e !== void 0 && (i = { ...e, rotated: t }), i;
46
46
  }
47
- function rt(t) {
47
+ function at(t) {
48
48
  let e;
49
49
  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;
50
50
  }
51
51
  function di(t, e) {
52
52
  return e != null || ge(t);
53
53
  }
54
- async function nt(t) {
54
+ async function rt(t) {
55
55
  const { queryObject: e, chartConfig: i, options: r, splitByField: a } = t;
56
56
  let s = [], n;
57
- const l = le(i), o = l.series[0], u = Oe({
57
+ const l = le(i), o = l.series[0], u = we({
58
58
  queryObject: e,
59
59
  chartConfig: l,
60
60
  runtimeDataFilters: r?.runtimeDataFilters,
61
61
  ignoreViewExtent: r?.ignoreViewExtent
62
62
  });
63
- if (u.outStatistics?.[0]?.outStatisticFieldName && (u.outStatistics[0].outStatisticFieldName = ke.outStatistics.outStatisticFieldName), N(o) && De({
64
- xAxisValueFormatType: Re(l),
63
+ if (u.outStatistics?.[0]?.outStatisticFieldName && (u.outStatistics[0].outStatisticFieldName = Oe.outStatistics.outStatisticFieldName), N(o) && ke({
64
+ xAxisValueFormatType: De(l),
65
65
  setTimeBinningInfoWhenNotProvided: r?.setTimeBinningInfoWhenNotProvided,
66
66
  seriesConfig: o
67
- }) && Me(e)) {
67
+ }) && Re(e)) {
68
68
  const { temporalBinning: p, x: c } = o, { uniqueQuery: S } = await te({
69
69
  chartConfig: l,
70
70
  queryConfig: u,
71
71
  queryObject: e,
72
72
  options: r
73
73
  });
74
- n = await Pe({
74
+ n = await Me({
75
75
  queryObject: e,
76
76
  dateField: c,
77
77
  splitByField: a,
@@ -93,7 +93,7 @@ async function nt(t) {
93
93
  queryConfig: u,
94
94
  options: r
95
95
  });
96
- n = await Ee({
96
+ n = await Pe({
97
97
  queryObject: e,
98
98
  queryConfig: p,
99
99
  featureCount: 1
@@ -105,7 +105,7 @@ async function nt(t) {
105
105
  }
106
106
  return { allValues: s, preFetchedQueryResponse: n };
107
107
  }
108
- function lt(t, e) {
108
+ function nt(t, e) {
109
109
  const i = /* @__PURE__ */ new Map();
110
110
  return t.series.forEach((r) => {
111
111
  let a = de({
@@ -118,14 +118,14 @@ function lt(t, e) {
118
118
  escape: !1
119
119
  });
120
120
  e && a !== null && (a = Number(a));
121
- const s = Ce([r]);
121
+ const s = Be([r]);
122
122
  s !== void 0 && i.set(s, [
123
123
  ...i.get(s) ?? [],
124
124
  a
125
125
  ]);
126
126
  }), i;
127
127
  }
128
- function ot(t) {
128
+ function lt(t) {
129
129
  const { allValues: e, configUniqueValuesPerSeriesType: i, initialConfigWasEmpty: r } = t, a = /* @__PURE__ */ new Map();
130
130
  return Array.from(i.keys()).forEach((s) => {
131
131
  const n = i.get(s) ?? [];
@@ -135,7 +135,7 @@ function ot(t) {
135
135
  }), a.set(s, l);
136
136
  }), a;
137
137
  }
138
- function ut(t) {
138
+ function ot(t) {
139
139
  const { chartConfig: e, missingValue: i, splitByField: r, seriesTemplate: a } = t, s = JSON.parse(
140
140
  JSON.stringify({
141
141
  ...e.series[0],
@@ -152,7 +152,7 @@ function ut(t) {
152
152
  }
153
153
  return s;
154
154
  }
155
- async function dt(t) {
155
+ async function ut(t) {
156
156
  const { updateSplitBySeries: e, config: i, options: r, queryObject: a } = t, { seriesTemplate: s } = e ?? {};
157
157
  let n;
158
158
  if (e !== void 0 && i !== void 0 && (i.series.length > 0 || s !== void 0) && e.addMissingSeries) {
@@ -160,16 +160,16 @@ async function dt(t) {
160
160
  i.series.length === 0 && s !== void 0 && i.series.push(s);
161
161
  const o = X(i.series);
162
162
  if ((o === w.BoxPlotMonoFieldAndSplitBy || o === w.BoxPlotMultiFieldsAndSplitBy || o === w.BoxPlotMonoFieldAndCategoryAndSplitBy || o === w.BarAndLineSplitBy || o === w.BarAndLineSplitByNoAggregation) && a !== void 0) {
163
- const u = Ne(i.series[0]?.query?.where), p = Ve(a);
163
+ const u = qe(i.series[0]?.query?.where), p = Ne(a);
164
164
  await p.load();
165
- const c = p.getField(u)?.toJSON(), S = we(c), f = await nt({
165
+ const c = p.getField(u)?.toJSON(), S = Ve(c), f = await rt({
166
166
  queryObject: a,
167
167
  chartConfig: i,
168
168
  splitByField: u,
169
169
  options: r
170
170
  }), { allValues: g } = f;
171
171
  if ({ preFetchedQueryResponse: n } = f, g.length > 0) {
172
- const d = lt(i, S), m = ot({
172
+ const d = nt(i, S), m = lt({
173
173
  allValues: g,
174
174
  configUniqueValuesPerSeriesType: d,
175
175
  initialConfigWasEmpty: l
@@ -177,7 +177,7 @@ async function dt(t) {
177
177
  Array.from(m.keys()).forEach((h) => {
178
178
  (m.get(h) ?? []).forEach((y) => {
179
179
  i.series.push(
180
- ut({
180
+ ot({
181
181
  chartConfig: i,
182
182
  seriesTemplate: s,
183
183
  missingValue: y,
@@ -191,40 +191,40 @@ async function dt(t) {
191
191
  }
192
192
  return n;
193
193
  }
194
- function ct(t, e) {
195
- e && !ge(e) && (e = qe({ chartConfig: e, queryObject: t }));
194
+ function dt(t, e) {
195
+ e && !ge(e) && (e = Le({ chartConfig: e, queryObject: t }));
196
196
  }
197
197
  async function ci(t) {
198
198
  const { configToAlter: e, layer: i, addMissingSeries: r, updateSplitBySeries: a, chartContainer: s, queryObject: n, options: l } = t;
199
199
  let o = e, u;
200
- return o && (ct(i, o), o = await at(o, i), r && (u = await dt({
200
+ return o && (dt(i, o), o = await st(o, i), r && (u = await ut({
201
201
  updateSplitBySeries: a,
202
202
  config: o,
203
203
  options: l,
204
204
  queryObject: n
205
- })), o = Le(o, s)), { alteredConfig: o, preFetchedQueryResponse: u };
205
+ })), o = Ie(o, s)), { alteredConfig: o, preFetchedQueryResponse: u };
206
206
  }
207
- const yt = (t) => {
207
+ const ct = (t) => {
208
208
  let e;
209
209
  const i = t.series[0];
210
210
  return N(i) && (e = i.temporalBinning?.size), e;
211
- }, gt = (t) => {
211
+ }, yt = (t) => {
212
212
  let e;
213
213
  const i = t.series[0];
214
214
  return N(i) && (e = i.temporalBinning?.unit), e;
215
- }, mt = (t) => {
215
+ }, gt = (t) => {
216
216
  let e;
217
217
  const i = t.series[0];
218
218
  return N(i) && (e = i.temporalBinning?.timeAggregationType), e;
219
- }, pt = (t) => {
219
+ }, mt = (t) => {
220
220
  let e;
221
221
  const i = t.series[0];
222
222
  return N(i) && (e = i.temporalBinning?.trimIncompleteTimeInterval), e;
223
- }, ft = (t) => {
223
+ }, pt = (t) => {
224
224
  let e;
225
225
  const i = t.series[0];
226
226
  return N(i) && (e = i.temporalBinning?.nullPolicy), e;
227
- }, Se = (t, e) => {
227
+ }, ft = (t, e) => {
228
228
  e?.series?.forEach((i) => {
229
229
  N(i) && (i.temporalBinning ??= {}, i.temporalBinning.size = t);
230
230
  }), q({ config: e, value: null, axisIndex: 1, isMax: !1 }), q({ config: e, value: null, axisIndex: 1, isMax: !0 });
@@ -245,7 +245,7 @@ const yt = (t) => {
245
245
  N(i) && (i.temporalBinning ??= {}, i.temporalBinning.trimIncompleteTimeInterval = t);
246
246
  }), q({ config: e, value: null, axisIndex: 1, isMax: !1 }), q({ config: e, value: null, axisIndex: 1, isMax: !0 });
247
247
  }, pi = (t) => {
248
- Se(0, t);
248
+ ft(0, t);
249
249
  }, fi = (t) => t.hideEmptyRowsAndColumns, Si = (t, e) => {
250
250
  t.hideEmptyRowsAndColumns = e;
251
251
  }, Fi = (t, e) => {
@@ -256,7 +256,7 @@ const yt = (t) => {
256
256
  i.gradientRules = e;
257
257
  }, xi = (t) => t.series[0].gradientRules, Bi = (t) => {
258
258
  const { yField: e, config: i, layerInfo: r } = t, { layerFieldsInfo: a } = r, s = Z(1, i), n = Ft(i), l = Y(i), o = i.series[0];
259
- if (typeof e == "string" && n !== e && o && (o.y = e, rt(i), n === s || l)) {
259
+ if (typeof e == "string" && n !== e && o && (o.y = e, at(i), n === s || l)) {
260
260
  const u = O(a, e);
261
261
  R(i, 1, u);
262
262
  }
@@ -288,7 +288,7 @@ const yt = (t) => {
288
288
  }, Ni = (t) => t.series[0].gridLine?.color, Vi = (t, e) => {
289
289
  const i = e.legend;
290
290
  i && (i.position = t);
291
- }, wi = (t) => t.legend?.position ?? be.Bottom, Oi = (t) => t.series[0].query?.outStatistics?.[0]?.onStatisticField, ki = (t, e) => {
291
+ }, wi = (t) => t.legend?.position ?? Ce.Bottom, Oi = (t) => t.series[0].query?.outStatistics?.[0]?.onStatisticField, ki = (t, e) => {
292
292
  const i = e.series[0].query?.outStatistics?.[0];
293
293
  i ? (i.onStatisticField = t, i.outStatisticFieldName = `${i.statisticType}_${t}`) : e.series[0].query = {
294
294
  outStatistics: [
@@ -310,14 +310,14 @@ const yt = (t) => {
310
310
  e.series[0].emptyCells ? e.series[0].emptyCells.text = t : e.series[0].emptyCells = { text: t };
311
311
  }, Wi = (t) => t.includeLeapDay, Xi = (t, e) => {
312
312
  e.includeLeapDay = t;
313
- }, Yi = (t) => t.series[0].emptyCells?.symbol, Ki = (t, e) => {
313
+ }, Yi = (t) => t.series[0].emptyCells?.symbol, ji = (t, e) => {
314
314
  e.series[0].emptyCells ? e.series[0].emptyCells.symbol = t : e.series[0].emptyCells = { symbol: t };
315
315
  };
316
- function ji(t) {
316
+ function Ki(t) {
317
317
  return t.viewType;
318
318
  }
319
319
  function Hi(t, e) {
320
- $e(e) || (e.viewType = t);
320
+ Ee(e) || (e.viewType = t);
321
321
  }
322
322
  function Qi(t) {
323
323
  return t.series[0].classBreaksRules?.breaksCount ?? $.classBreaks.breaksCount;
@@ -342,7 +342,7 @@ function Zi(t) {
342
342
  return t.firstDayOfWeek;
343
343
  }
344
344
  function M(t) {
345
- const { seriesIndex: e, xAxisField: i, aggregationType: r, config: a, layerInfo: s, commonStrings: n } = t, l = K(s?.layer).idField;
345
+ const { seriesIndex: e, xAxisField: i, aggregationType: r, config: a, layerInfo: s, commonStrings: n } = t, l = j(s?.layer).idField;
346
346
  let o;
347
347
  const u = a.series[e ?? 0];
348
348
  let p = !1, c = !1, S = !1;
@@ -351,15 +351,15 @@ function M(t) {
351
351
  p = d.slice(0, e).every((m) => B(m)), c = d.slice(0, e).every((m) => C(m)), S = d.slice(0, e).every((m) => ae(m));
352
352
  } else
353
353
  p = B(u), c = C(u), S = ae(u);
354
- p ? o = Ye({
354
+ p ? o = Xe({
355
355
  commonStrings: n,
356
356
  seriesIndex: e,
357
357
  objectIDField: l
358
- }) : c ? o = Ke({
358
+ }) : c ? o = Ye({
359
359
  commonStrings: n,
360
360
  seriesIndex: e,
361
361
  objectIDField: l
362
- }) : S ? o = je(n, l) : o = He({
362
+ }) : S ? o = je(n, l) : o = Ke({
363
363
  seriesIndex: e,
364
364
  objectIDField: l,
365
365
  commonStrings: n
@@ -371,7 +371,7 @@ function M(t) {
371
371
  dataLabels: {
372
372
  ...o.dataLabels,
373
373
  type: o.dataLabels?.type ?? D.Text,
374
- content: { ...o.dataLabels?.content, ...f?.content, type: Ie.TS },
374
+ content: { ...o.dataLabels?.content, ...f?.content, type: ve.TS },
375
375
  visible: f?.visible ?? !1
376
376
  }
377
377
  };
@@ -390,20 +390,20 @@ function M(t) {
390
390
  if (B(g) || C(g) || L(g) && a.series[0]?.binTemporalData) {
391
391
  let d;
392
392
  if (a?.series?.[0] !== void 0 && (d = X(a.series)), d !== w.BarAndLineNoAggregation && d !== w.BarAndLineSplitByNoAggregation) {
393
- let m = gt(a);
393
+ let m = yt(a);
394
394
  m === Q.Quarter && (m = Q.Month), g.temporalBinning = {
395
- size: yt(a),
395
+ size: ct(a),
396
396
  unit: m,
397
- timeAggregationType: mt(a),
398
- trimIncompleteTimeInterval: pt(a),
399
- nullPolicy: ft(a)
397
+ timeAggregationType: gt(a),
398
+ trimIncompleteTimeInterval: mt(a),
399
+ nullPolicy: pt(a)
400
400
  };
401
401
  }
402
402
  }
403
403
  return le(g);
404
404
  }
405
- function Fe(t, e, i) {
406
- const { layerFieldsInfo: r } = e, { idField: a, isTraditionalTypeOID: s } = K(e.layer), n = P(t), l = ee(t), o = he(t), u = W(t), p = s && (l.length === 0 || l.includes(a)), c = Ue(o, i), S = p ? "" : l.map((y) => O(r ?? [], y)).join(", "), f = O(r ?? [], n), g = O(r ?? [], u), d = t.series.some((y) => L(y)), m = d ? "category" : "xAxisField", h = f;
405
+ function Se(t, e, i) {
406
+ const { layerFieldsInfo: r } = e, { idField: a, isTraditionalTypeOID: s } = j(e.layer), n = P(t), l = ee(t), o = Te(t), u = W(t), p = s && (l.length === 0 || l.includes(a)), c = $e(o, i), S = p ? "" : l.map((y) => O(r ?? [], y)).join(", "), f = O(r ?? [], n), g = O(r ?? [], u), d = t.series.some((y) => L(y)), m = d ? "category" : "xAxisField", h = f;
407
407
  let T = "";
408
408
  if (fe({
409
409
  fieldName: n,
@@ -463,14 +463,14 @@ function Fe(t, e, i) {
463
463
  }
464
464
  return T;
465
465
  }
466
- const Te = (t) => de({
466
+ const Fe = (t) => de({
467
467
  where: t.query?.where,
468
468
  normalize: !1,
469
469
  escape: !1
470
- }) ?? "", he = (t) => t?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? v.NoAggregation, W = oe(
470
+ }) ?? "", Te = (t) => t?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? v.NoAggregation, W = oe(
471
471
  (t) => {
472
472
  const e = t?.series?.[0]?.query?.where?.split("=")[0].trim() ?? "";
473
- return We(t?.series?.[0]?.query?.where) ? "" : e;
473
+ return Ue(t?.series?.[0]?.query?.where) ? "" : e;
474
474
  },
475
475
  (t) => t?.series?.[0]?.query?.where
476
476
  ), ee = oe(
@@ -511,8 +511,8 @@ const _ = (t) => {
511
511
  const i = t.orderOptions?.data?.orderByX ?? [""], r = t.orderOptions?.data?.orderByY ?? [""], a = t.axes?.[0]?.valueFormat?.type === "category" ? I.Category : I.YValue, s = t.axes?.[1]?.valueFormat?.type === "category" ? I.Category : I.YValue;
512
512
  e = [ne(i, a), ne(r, s)];
513
513
  } else {
514
- const i = t.orderOptions?.data?.orderType ?? I.Category, r = t.orderOptions?.data && "orderBy" in t.orderOptions.data ? t.orderOptions.data.orderBy : Ae.Ascending;
515
- e = [tt(r, i)];
514
+ const i = t.orderOptions?.data?.orderType ?? I.Category, r = t.orderOptions?.data && "orderBy" in t.orderOptions.data ? t.orderOptions.data.orderBy : be.Ascending;
515
+ e = [et(r, i)];
516
516
  }
517
517
  return e;
518
518
  };
@@ -550,8 +550,8 @@ function Bt(t) {
550
550
  const f = a.series[0];
551
551
  return f !== void 0 && (c.id = f.id, a.colorMatch || (L(f) && L(c) ? c.fillSymbol = f.fillSymbol : (B(c) && B(f) || C(c) && C(f)) && (c.lineSymbol = f.lineSymbol, c.markerSymbol = f.markerSymbol), o = !0), c.id = f.id, f.name !== u.name && (c.name = f.name)), a.series.length === 1 && !a.colorMatch && (L(c) ? c.fillSymbol = a.series[0].fillSymbol : (B(c) || C(c)) && (c.lineSymbol = a.series[0].lineSymbol, c.markerSymbol = a.series[0].markerSymbol), o = !0), a.colorMatch = !o, [c];
552
552
  }
553
- function xe(t) {
554
- const { xAxisField: e, numericFields: i, aggregationType: r, config: a, layerInfo: s, commonStrings: n } = t, { layerFieldsInfo: l } = s, o = K(s.layer).idField, u = [];
553
+ function he(t) {
554
+ const { xAxisField: e, numericFields: i, aggregationType: r, config: a, layerInfo: s, commonStrings: n } = t, { layerFieldsInfo: l } = s, o = j(s.layer).idField, u = [];
555
555
  let p = !1;
556
556
  for (let d = 0; d < i.length; d += 1) {
557
557
  const m = M({
@@ -615,7 +615,7 @@ function xe(t) {
615
615
  return f.length === 1 && c.length === 1 && !a.colorMatch && (L(f[0]) && L(c[0]) && (c[0].fillSymbol = f[0].fillSymbol), p = !0), g.length === 1 && S.length === 1 && !a.colorMatch && ((B(g[0]) && B(S[0]) || C(g[0]) && C(S[0])) && (S[0].lineSymbol = g[0].lineSymbol, S[0].markerSymbol = g[0].markerSymbol), p = !0), a.colorMatch = !p, u;
616
616
  }
617
617
  async function Ct(t) {
618
- const { splitByField: e, xAxisField: i, numericFields: r, aggregationType: a, config: s, layerInfo: n, commonStrings: l } = t, { layer: o, layerFieldsInfo: u } = n, { fetchNullValues: p } = s?.series?.[0]?.query ?? {}, c = i !== U ? i : void 0, { categoriesArray: S, splitByFieldType: f, numericalField: g } = await et({
618
+ const { splitByField: e, xAxisField: i, numericFields: r, aggregationType: a, config: s, layerInfo: n, commonStrings: l } = t, { layer: o, layerFieldsInfo: u } = n, { fetchNullValues: p } = s?.series?.[0]?.query ?? {}, c = i !== U ? i : void 0, { categoriesArray: S, splitByFieldType: f, numericalField: g } = await Ze({
619
619
  config: s,
620
620
  layer: o,
621
621
  layerFieldsInfo: u,
@@ -626,7 +626,7 @@ async function Ct(t) {
626
626
  });
627
627
  let d = [], m = !1;
628
628
  if (S.length === 0) {
629
- d = xe({
629
+ d = he({
630
630
  xAxisField: i,
631
631
  numericFields: r,
632
632
  aggregationType: a,
@@ -659,10 +659,10 @@ async function Ct(t) {
659
659
  fieldValueToMatch: T ?? "",
660
660
  subtypeInfo: ce(n.layer),
661
661
  fieldList: n.layerFieldsInfo
662
- }, V = ye(b), j = `${T}`, x = {
662
+ }, V = ye(b), K = `${T}`, x = {
663
663
  ...F,
664
- id: j,
665
- name: V ?? j,
664
+ id: K,
665
+ name: V ?? K,
666
666
  y,
667
667
  query: {
668
668
  ...F.query,
@@ -679,19 +679,19 @@ async function Ct(t) {
679
679
  };
680
680
  a === v.NoAggregation && (x.query !== void 0 && (delete x.query.outStatistics, delete x.query.groupByFieldsForStatistics), x.y = g);
681
681
  const A = s.series.find(
682
- (H) => String(Te(H)).trim().replace(/'/gu, "") === j
682
+ (H) => String(Fe(H)).trim().replace(/'/gu, "") === K
683
683
  );
684
684
  A !== void 0 && (s.colorMatch || (L(x) && L(A) ? x.fillSymbol = A.fillSymbol : (B(x) && B(A) || C(x) && C(A)) && (x.lineSymbol = A.lineSymbol, x.markerSymbol = A.markerSymbol), m = !0), (B(x) && B(A) || C(x) && C(A)) && (x.lineSmoothed = A.lineSmoothed), (B(x) && B(A) || C(x) && C(A)) && (x.showArea = A.showArea), x.id = A.id, x.name = A.name), x.query && (x.query.fetchNullValues = s.series.some((H) => H.query?.fetchNullValues)), d.push(x);
685
685
  }
686
686
  return s.colorMatch = !m, d;
687
687
  }
688
688
  const es = async (t) => {
689
- const { xAxisField: e, splitByField: i, numericFields: r, aggregationType: a, config: s, layerInfo: n, commonStrings: l } = t, { layerFieldsInfo: o } = n ?? {}, u = it(s), p = P(s), c = bt(s, n, l), S = At(s, n, l), f = vt(s, n);
689
+ const { xAxisField: e, splitByField: i, numericFields: r, aggregationType: a, config: s, layerInfo: n, commonStrings: l } = t, { layerFieldsInfo: o } = n ?? {}, u = tt(s), p = P(s), c = bt(s, n, l), S = At(s, n, l), f = vt(s, n);
690
690
  let g = me(s);
691
- const d = s.series.some((F) => L(F)), m = _e(s.series), h = Ge(s.series), T = G(s), y = {};
691
+ const d = s.series.some((F) => L(F)), m = ze(s.series), h = _e(s.series), T = G(s), y = {};
692
692
  if (T && (y.classBreaksRules = s.series[0]?.classBreaksRules, y.xTemporalBinning = s.series[0]?.xTemporalBinning, y.yTemporalBinning = s.series[0]?.yTemporalBinning), o !== void 0) {
693
- const F = Xe(o);
694
- !F.includes(p) && F.includes(e) ? g = Qe() : F.includes(p) && !F.includes(e) && (d ? g = se() : g = ze()), o.find((V) => V.name === e)?.type === ue.String && (g = se()), g !== void 0 && Ze(s, l, g);
693
+ const F = We(o);
694
+ !F.includes(p) && F.includes(e) ? g = He() : F.includes(p) && !F.includes(e) && (d ? g = se() : g = Qe()), o.find((V) => V.name === e)?.type === ue.String && (g = se()), g !== void 0 && Je(s, l, g);
695
695
  }
696
696
  if (u === 0 && (s.series = [
697
697
  M({ config: s, xAxisField: e, aggregationType: a, layerInfo: n, commonStrings: l })
@@ -708,7 +708,7 @@ const es = async (t) => {
708
708
  numericFields: r,
709
709
  aggregationType: a,
710
710
  commonStrings: l
711
- }) : s.series = xe({
711
+ }) : s.series = he({
712
712
  config: s,
713
713
  layerInfo: n,
714
714
  xAxisField: e,
@@ -737,8 +737,8 @@ const es = async (t) => {
737
737
  });
738
738
  R(s, 1, F);
739
739
  }
740
- if (s.title && c && (s.title.content.text = Fe(s, n, l)), q({ config: s, value: null, axisIndex: 1, isMax: !1 }), q({ config: s, value: null, axisIndex: 1, isMax: !0 }), xt({ numericFields: r, aggregationType: a, config: s, layerInfo: n }), m || h) {
741
- q({ config: s, value: null, axisIndex: 0, isMax: !1 }), q({ config: s, value: null, axisIndex: 0, isMax: !0 }), Se(0, s);
740
+ if (s.title && c && (s.title.content.text = Se(s, n, l)), q({ config: s, value: null, axisIndex: 1, isMax: !1 }), q({ config: s, value: null, axisIndex: 1, isMax: !0 }), xt({ numericFields: r, aggregationType: a, config: s, layerInfo: n }), m || h) {
741
+ q({ config: s, value: null, axisIndex: 0, isMax: !1 }), q({ config: s, value: null, axisIndex: 0, isMax: !0 });
742
742
  const F = g?.type === D.DateAxisFormat ? E.Null : E.Interpolate;
743
743
  St(F, s);
744
744
  }
@@ -748,11 +748,11 @@ const es = async (t) => {
748
748
  let l;
749
749
  if (X(e.series) === w.BarAndLineFromFields)
750
750
  l = a.axisLabels.values;
751
- else if (Be(n)) {
751
+ else if (xe(n)) {
752
752
  const u = s.query?.outStatistics?.[0]?.onStatisticField;
753
- u !== void 0 && u !== K(r.layer).idField && (l = O(r.layerFieldsInfo, u));
753
+ u !== void 0 && u !== j(r.layer).idField && (l = O(r.layerFieldsInfo, u));
754
754
  } else {
755
- const u = String(Te(s)).trim().replace(/'/gu, ""), p = {
755
+ const u = String(Fe(s)).trim().replace(/'/gu, ""), p = {
756
756
  fieldName: W(e),
757
757
  fieldValueToMatch: u ?? "",
758
758
  subtypeInfo: ce(r.layer),
@@ -775,14 +775,14 @@ const es = async (t) => {
775
775
  }, ss = async (t, e) => {
776
776
  const i = P(t), r = me(t)?.type, a = ee(t), s = X(t.series);
777
777
  let n = [];
778
- return r === D.CategoryAxisFormat && (s === w.BarAndLineFromFields || i === U ? n = a.map((l) => O(e?.layerFieldsInfo, l)) : i.trim() !== "" && i !== U && e !== void 0 && (n = await Je({
778
+ return r === D.CategoryAxisFormat && (s === w.BarAndLineFromFields || i === U ? n = a.map((l) => O(e?.layerFieldsInfo, l)) : i.trim() !== "" && i !== U && e !== void 0 && (n = await Ge({
779
779
  layerInfo: e,
780
780
  config: t,
781
781
  category: i
782
782
  }))), n;
783
783
  };
784
784
  function bt(t, e, i) {
785
- const r = Fe(t, e, i), a = st(t), s = Y(t);
785
+ const r = Se(t, e, i), a = it(t), s = Y(t);
786
786
  return r === a || s;
787
787
  }
788
788
  function At(t, e, i) {
@@ -791,7 +791,7 @@ function At(t, e, i) {
791
791
  layerInfo: e,
792
792
  commonStrings: i,
793
793
  numericFields: ee(t),
794
- aggregationType: he(t)
794
+ aggregationType: Te(t)
795
795
  }), a = Z(1, t), s = Y(t);
796
796
  return r === a || s;
797
797
  }
@@ -807,7 +807,7 @@ function rs(t, e) {
807
807
  (i?.type === D.BarSeries || i?.type === D.LineSeries) && (i.binTemporalData = t, t ? i.temporalBinning = {
808
808
  unit: Q.Day,
809
809
  size: 0,
810
- timeAggregationType: ve.Start,
810
+ timeAggregationType: Ae.Start,
811
811
  trimIncompleteTimeInterval: !0,
812
812
  nullPolicy: E.Null
813
813
  } : delete i.temporalBinning);
@@ -831,19 +831,19 @@ export {
831
831
  Zi as N,
832
832
  Ji as O,
833
833
  Yi as P,
834
- Ki as Q,
835
- he as R,
834
+ ji as Q,
835
+ Te as R,
836
836
  ee as S,
837
837
  W as T,
838
- yt as U,
839
- Se as V,
840
- gt as W,
838
+ ct as U,
839
+ ft as V,
840
+ yt as W,
841
841
  yi as X,
842
- mt as Y,
842
+ gt as Y,
843
843
  gi as Z,
844
- pt as _,
845
- Fe as a,
846
- ft as a0,
844
+ mt as _,
845
+ Se as a,
846
+ pt as a0,
847
847
  St as a1,
848
848
  pi as a2,
849
849
  ss as a3,
@@ -856,9 +856,9 @@ export {
856
856
  ui as aa,
857
857
  li as ab,
858
858
  oi as ac,
859
- rt as ad,
859
+ at as ad,
860
860
  Ft as b,
861
- ji as c,
861
+ Ki as c,
862
862
  Hi as d,
863
863
  bi as e,
864
864
  Ci as f,