@arcgis/charts-components 6.0.0-next.15 → 6.0.0-next.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (169) hide show
  1. package/dist/cdn/26XWRAQN.js +2 -0
  2. package/dist/cdn/{TA72F3YR.js → 2OZON66K.js} +1 -1
  3. package/dist/cdn/{5WK7EKWG.js → 2XFCDEUQ.js} +1 -1
  4. package/dist/cdn/{7MQQTEGS.js → 2YPHOEBL.js} +1 -1
  5. package/dist/cdn/{T5JI4I3G.js → 3BHGMUPM.js} +1 -1
  6. package/dist/cdn/{FEEBSCRS.js → 3WYN6S3X.js} +1 -1
  7. package/dist/cdn/{KYI6HDQF.js → 3Z4OBTI2.js} +1 -1
  8. package/dist/cdn/{X4EOEOKN.js → 4CDZP4TX.js} +1 -1
  9. package/dist/cdn/{CCOXNEXP.js → 4KWM7I3R.js} +19 -19
  10. package/dist/cdn/{2IL6SDH6.js → 54KQWYXM.js} +1 -1
  11. package/dist/cdn/{HFIOYGNL.js → 5SEDPIPU.js} +1 -1
  12. package/dist/cdn/{SHHA3DMQ.js → 7B5WALQA.js} +1 -1
  13. package/dist/cdn/{PVE3JDGX.js → 7EBLXYTO.js} +1 -1
  14. package/dist/cdn/{YWBS5O3M.js → 7PBQ23Z6.js} +1 -1
  15. package/dist/cdn/{WS365KG2.js → 7R57NAHO.js} +1 -1
  16. package/dist/cdn/{SN2JSWO5.js → 7YTUWHFR.js} +1 -1
  17. package/dist/cdn/{RF37N4VO.js → A73ZVGAS.js} +1 -1
  18. package/dist/cdn/{O6ZKYG4T.js → BIU5DASA.js} +1 -1
  19. package/dist/cdn/{OI3WFXG7.js → BVAWYQ2X.js} +1 -1
  20. package/dist/cdn/{K5HHOIAF.js → BVYYKKMD.js} +1 -1
  21. package/dist/cdn/{KDFM2DN3.js → CEK6AM7E.js} +1 -1
  22. package/dist/cdn/{4KY3CIOE.js → CJRZC5CN.js} +1 -1
  23. package/dist/cdn/{IZBXJRRJ.js → CM2TXHHV.js} +1 -1
  24. package/dist/cdn/{VQ7NP3P7.js → CO56NHDR.js} +1 -1
  25. package/dist/cdn/{EQL6DTXS.js → DRQAJW27.js} +1 -1
  26. package/dist/cdn/{K6XIY66O.js → E2Y55KVA.js} +1 -1
  27. package/dist/cdn/{HDMJM556.js → EDPNBLT6.js} +1 -1
  28. package/dist/cdn/{CWEJAEUV.js → F6MI4LEQ.js} +1 -1
  29. package/dist/cdn/{PH7PXDCI.js → FBLAMRCB.js} +1 -1
  30. package/dist/cdn/{2MLNSI3G.js → FNCCQ326.js} +1 -1
  31. package/dist/cdn/{PLZJ46HI.js → GG5XPSK5.js} +1 -1
  32. package/dist/cdn/{5766ZRIW.js → GLMJXTZF.js} +1 -1
  33. package/dist/cdn/{O7O5YDT5.js → GO5Q775T.js} +1 -1
  34. package/dist/cdn/{IBKFWQPH.js → GZ3YHHLB.js} +1 -1
  35. package/dist/cdn/{3RHVJYAV.js → HHBLZIL4.js} +1 -1
  36. package/dist/cdn/{626JGTRZ.js → HUTZOFDL.js} +1 -1
  37. package/dist/cdn/{MJD7DA5G.js → I3DVCLDP.js} +1 -1
  38. package/dist/cdn/{KIDSF6WN.js → ICEYNRHD.js} +1 -1
  39. package/dist/cdn/{TD3GMZRT.js → IHZHAFPS.js} +1 -1
  40. package/dist/cdn/{4YOBDCTR.js → JHF77RUC.js} +1 -1
  41. package/dist/cdn/{APLXZUSH.js → KKCQL6EG.js} +1 -1
  42. package/dist/cdn/{A4LP6267.js → KQJAQMO4.js} +1 -1
  43. package/dist/cdn/{6A57VCEB.js → LON6BJK7.js} +1 -1
  44. package/dist/cdn/{4KT3XIUS.js → LQATZGEX.js} +1 -1
  45. package/dist/cdn/{TONXC5MT.js → LQFQARDL.js} +1 -1
  46. package/dist/cdn/{HXTUTTDW.js → M4MZPY2T.js} +1 -1
  47. package/dist/cdn/{QYJMNNOD.js → MRCL6W5Z.js} +1 -1
  48. package/dist/cdn/{DDFYNCKU.js → MTMNRIHL.js} +1 -1
  49. package/dist/cdn/{SH5NIXPR.js → N3CQJ33I.js} +1 -1
  50. package/dist/cdn/{B5PJAELA.js → NGU7YK4K.js} +1 -1
  51. package/dist/cdn/{EHYUK7VN.js → NQJQ637M.js} +1 -1
  52. package/dist/cdn/{SSPQJJ5K.js → NXZ643YO.js} +1 -1
  53. package/dist/cdn/{AY7RTY3L.js → NYEME5J5.js} +1 -1
  54. package/dist/cdn/{NZOXMPKS.js → O2NYEOQ6.js} +1 -1
  55. package/dist/cdn/{GWUQBXSL.js → OGNCTDAF.js} +1 -1
  56. package/dist/cdn/{4F5FRRXP.js → ONCZ6POJ.js} +1 -1
  57. package/dist/cdn/{MFTD2HWQ.js → OWX5EO6C.js} +1 -1
  58. package/dist/cdn/P4GYZ2NE.js +2 -0
  59. package/dist/cdn/{XWBETWPT.js → Q4EFECTX.js} +1 -1
  60. package/dist/cdn/{CRVLFI7I.js → QGXFFV46.js} +1 -1
  61. package/dist/cdn/{T4JWI7IU.js → QX443ZT3.js} +1 -1
  62. package/dist/cdn/{YJS7H3HY.js → R5XG2G7J.js} +1 -1
  63. package/dist/cdn/{USS4BS7V.js → RANMZVK2.js} +1 -1
  64. package/dist/cdn/{YGBETAHO.js → RFMXU2H7.js} +1 -1
  65. package/dist/cdn/{JASKGKES.js → RQ3AQL7A.js} +1 -1
  66. package/dist/cdn/{E2Q5PPYX.js → SFA5VTS2.js} +1 -1
  67. package/dist/cdn/{5TNFHQIR.js → SNL33CT7.js} +1 -1
  68. package/dist/cdn/{3MDBYWXW.js → TX34E6CB.js} +1 -1
  69. package/dist/cdn/{FMMCLXTF.js → U4N3E77G.js} +1 -1
  70. package/dist/cdn/{3FV3RKYL.js → UI4IOFME.js} +1 -1
  71. package/dist/cdn/{OUM277XS.js → UKXRSJI4.js} +1 -1
  72. package/dist/cdn/{SBNA2XJS.js → UOAPLPM3.js} +1 -1
  73. package/dist/cdn/{YVGYDZ4Y.js → VSEVHNBJ.js} +1 -1
  74. package/dist/cdn/{VMX2EPNH.js → W5UOB7NS.js} +1 -1
  75. package/dist/cdn/{4BPMPV3W.js → WHE4AAZ7.js} +1 -1
  76. package/dist/cdn/{FXFRPOKB.js → WSTNZKNL.js} +1 -1
  77. package/dist/cdn/XZHXK4OO.js +4 -0
  78. package/dist/cdn/{RUGYC5G2.js → YEHQ2DYK.js} +1 -1
  79. package/dist/cdn/{IPH2HEQ3.js → YGV6VUSU.js} +1 -1
  80. package/dist/cdn/{QROPJ6DR.js → YI4CAGMX.js} +1 -1
  81. package/dist/cdn/{BZYCRR4Z.js → Z4MNKCOZ.js} +1 -1
  82. package/dist/cdn/{3GALMNH3.js → ZBDDGW7A.js} +1 -1
  83. package/dist/cdn/{TPOYE44W.js → ZMLRNHR5.js} +1 -1
  84. package/dist/cdn/index.js +1 -1
  85. package/dist/cdn/model/shared/setup-utils.js +1 -1
  86. package/dist/chunks/bar-chart-model.js +1 -1
  87. package/dist/chunks/box-plot-data.js +100 -98
  88. package/dist/chunks/box-plot-model.js +11 -11
  89. package/dist/chunks/chart-model.js +26 -26
  90. package/dist/chunks/chart-ui-utils.js +11 -11
  91. package/dist/chunks/chart-ui-utils2.js +1 -1
  92. package/dist/chunks/class-breaks.js +19 -19
  93. package/dist/chunks/combo-bar-line-chart-model.js +8 -8
  94. package/dist/chunks/data.js +16 -16
  95. package/dist/chunks/gauge-model.js +11 -11
  96. package/dist/chunks/histogram-model.js +9 -9
  97. package/dist/chunks/index.js +1293 -1265
  98. package/dist/chunks/index3.js +1 -1
  99. package/dist/chunks/line-chart-model.js +1 -1
  100. package/dist/chunks/model-with-x-guides.js +1 -1
  101. package/dist/chunks/model-with-y-guides.js +7 -7
  102. package/dist/chunks/pie-chart-model.js +1 -1
  103. package/dist/chunks/radar-chart-model.js +1 -1
  104. package/dist/chunks/scatterplot-model.js +5 -5
  105. package/dist/chunks/serial-chart-data.js +220 -218
  106. package/dist/chunks/serial-chart-model.js +19 -19
  107. package/dist/chunks/x-bounds.js +21 -21
  108. package/dist/components/arcgis-chart/customElement.d.ts +54 -15
  109. package/dist/components/arcgis-chart/customElement.js +1025 -1017
  110. package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
  111. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
  112. package/dist/components/arcgis-charts-config-scatter-plot-aoi/customElement.js +1 -1
  113. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
  114. package/dist/docs/api.json +1 -1
  115. package/dist/docs/docs.json +1 -1
  116. package/dist/docs/vscode.html-custom-data.json +1 -1
  117. package/dist/docs/web-types.json +1 -1
  118. package/dist/index.js +261 -260
  119. package/dist/loader.js +1 -1
  120. package/dist/model/mixins/model-with-multi-axes.d.ts +29 -1
  121. package/dist/types/lumina.d.ts +1 -1
  122. package/dist/types/preact.d.ts +1 -1
  123. package/dist/types/react.d.ts +1 -1
  124. package/dist/types/stencil.d.ts +1 -1
  125. package/dist/utils/chart-config/converter/index.js +14 -14
  126. package/dist/utils/chart-config/utils/index.d.ts +10 -3
  127. package/package.json +5 -5
  128. package/dist/cdn/BAJ6SAPB.js +0 -2
  129. package/dist/cdn/PFTKPGYF.js +0 -2
  130. package/dist/cdn/WFTQTZE4.js +0 -4
  131. /package/dist/cdn/{TLQIGFGQ.js → 3YRFJ6NV.js} +0 -0
  132. /package/dist/cdn/{4QVR4X35.js → 42UIR2IR.js} +0 -0
  133. /package/dist/cdn/{45NAN6JY.js → 4AKIGTA2.js} +0 -0
  134. /package/dist/cdn/{OBPQAH5S.js → 4L3BZMH7.js} +0 -0
  135. /package/dist/cdn/{3ZECZOXN.js → 5BNIGQ75.js} +0 -0
  136. /package/dist/cdn/{TTTHFTPR.js → 65L7R5DC.js} +0 -0
  137. /package/dist/cdn/{SKOFRVPK.js → 7D3LBTBW.js} +0 -0
  138. /package/dist/cdn/{KYMJHW7P.js → 7XRRXXLO.js} +0 -0
  139. /package/dist/cdn/{LMGLYX4S.js → AZKT7APT.js} +0 -0
  140. /package/dist/cdn/{PW57OZAT.js → BA32RD3P.js} +0 -0
  141. /package/dist/cdn/{VTAGDT6C.js → CGGLSXCD.js} +0 -0
  142. /package/dist/cdn/{DAUURPYJ.js → DOQLHITH.js} +0 -0
  143. /package/dist/cdn/{I2PJ6P6Y.js → DVBWXJY4.js} +0 -0
  144. /package/dist/cdn/{IQM72DXD.js → EF2HSNUZ.js} +0 -0
  145. /package/dist/cdn/{VAU5AAP4.js → EGKOW5LO.js} +0 -0
  146. /package/dist/cdn/{PVMCNHBW.js → FUUEOMQP.js} +0 -0
  147. /package/dist/cdn/{CZ77PXQJ.js → FVSJ2OPV.js} +0 -0
  148. /package/dist/cdn/{6VSBLWTN.js → FWC4JUA4.js} +0 -0
  149. /package/dist/cdn/{LRM7GE53.js → HZTV6GS6.js} +0 -0
  150. /package/dist/cdn/{2YALNURG.js → I3LSRXSY.js} +0 -0
  151. /package/dist/cdn/{R7OOVB2X.js → I5PEQRVF.js} +0 -0
  152. /package/dist/cdn/{AHSP6KVB.js → JMUDIMMT.js} +0 -0
  153. /package/dist/cdn/{33JWZJUR.js → K6FYLQNG.js} +0 -0
  154. /package/dist/cdn/{4EANFQ2G.js → LD5UFLE7.js} +0 -0
  155. /package/dist/cdn/{TKVNAHQH.js → NNK6NBLX.js} +0 -0
  156. /package/dist/cdn/{2KFSN6AH.js → NZNYMEBI.js} +0 -0
  157. /package/dist/cdn/{EKGOACQH.js → OMB6VH6Z.js} +0 -0
  158. /package/dist/cdn/{C3KOECVE.js → PAXVQYNM.js} +0 -0
  159. /package/dist/cdn/{335JQ5T6.js → Q7ZPO77A.js} +0 -0
  160. /package/dist/cdn/{CMD2MEIF.js → QSYOS3BC.js} +0 -0
  161. /package/dist/cdn/{LKONQKHX.js → SQ6XT3Z7.js} +0 -0
  162. /package/dist/cdn/{SVGEURCU.js → TAQ7WU3A.js} +0 -0
  163. /package/dist/cdn/{XYLPZSTR.js → TFYWD6QL.js} +0 -0
  164. /package/dist/cdn/{BFZ6M3RT.js → V2AEKOVG.js} +0 -0
  165. /package/dist/cdn/{ZJHP53IM.js → WQSXECW6.js} +0 -0
  166. /package/dist/cdn/{24BAQ5OD.js → XS6XHZQ5.js} +0 -0
  167. /package/dist/cdn/{ZSO2HMNF.js → Y2GJGDES.js} +0 -0
  168. /package/dist/cdn/{BIVFM3IL.js → YYKAPOEZ.js} +0 -0
  169. /package/dist/cdn/{74EKMBT4.js → ZOSUF434.js} +0 -0
@@ -2,66 +2,66 @@
2
2
  import { substitute as M } from "@arcgis/core/intl.js";
3
3
  import { cloneDeep as te, memoize as We, isEmpty as Ue, isEqual as je } from "es-toolkit/compat";
4
4
  import { S as ce } from "./common.js";
5
- import { aa as L, b6 as X, bI as Ze, cl as Ke, l as ue, c3 as _e, cm as Qe, c9 as Ne, g as ze, r as ie, a8 as Ge, a6 as Je, cn as et, x as w, Z as ge, bj as tt, co as it, Y as st, v as at, cp as rt, b3 as nt, $ as ot, cq as lt, ad as ct, bZ as ut, cr as dt, cs as Se, ct as yt, cu as mt, cv as gt, C as Fe, _ as pt, cw as he, cx as _, B as k, cy as ft, b4 as q, bi as Q, X as St, u as j, ah as Oe, cz as Y, c5 as U, cA as Ft, cB as ht, cC as Tt, cD as O, cE as V, cF as Te, c8 as xe } from "./index.js";
6
- import { g as se, u as $, s as Ve, a as pe, b as qe, c as xt, d as z, e as Be } from "./utils.js";
7
- import { a as P, s as fe, g as ae, b as Ce, c as Bt } from "./data.js";
8
- import { a as x, d as I, f as Ct, l as R, t as N, h as H, g as At, b as bt, e as de } from "./chart-object-literals.js";
9
- import { d as Re, b as vt } from "./rest-js-object-literals.js";
5
+ import { aa as L, b6 as X, bI as Ze, cl as Ke, l as ue, c3 as _e, cm as Qe, c9 as Ne, g as ze, r as ie, a8 as Ge, a6 as Je, cn as et, x as w, Z as ge, bj as tt, co as it, Y as st, v as at, cp as rt, b3 as nt, $ as ot, cq as lt, ad as ct, bZ as ut, cr as dt, cs as Se, ct as yt, cu as mt, cv as gt, C as Fe, _ as pt, cw as he, cx as _, B as k, cy as ft, b4 as q, bi as Q, X as St, u as j, ah as Oe, cz as Y, c5 as U, cA as Ft, cB as ht, cC as Tt, cD as O, cE as V, cF as Te, cG as xt, c8 as xe } from "./index.js";
6
+ import { g as se, u as $, s as Ve, a as pe, b as qe, c as Bt, d as z, e as Be } from "./utils.js";
7
+ import { a as P, s as fe, g as ae, b as Ce, c as Ct } from "./data.js";
8
+ import { a as x, d as I, f as At, l as R, t as N, h as H, g as bt, b as vt, e as de } from "./chart-object-literals.js";
9
+ import { d as Re, b as It } from "./rest-js-object-literals.js";
10
10
  import { i as re } from "./index3.js";
11
- import { q as It, I as G, _ as J, $ as ye, J as Lt, a0 as Dt, a1 as Nt, a2 as Ot, a3 as Vt, k as qt } from "./index2.js";
12
- import { g as ke, s as Rt } from "./series-types.js";
13
- import { C as kt, m as wt } from "./model-setter.js";
14
- import { convertChartSpec as Pt } from "../utils/chart-config/converter/index.js";
15
- import { b as Et, g as Mt } from "./series-length.js";
16
- const Vi = (i) => {
11
+ import { q as Lt, I as G, _ as J, $ as ye, J as Dt, a0 as Nt, a1 as Ot, a2 as Vt, a3 as qt, k as Rt } from "./index2.js";
12
+ import { g as ke, s as kt } from "./series-types.js";
13
+ import { C as wt, m as Pt } from "./model-setter.js";
14
+ import { convertChartSpec as Et } from "../utils/chart-config/converter/index.js";
15
+ import { b as Mt, g as Yt } from "./series-length.js";
16
+ const qi = (i) => {
17
17
  let e;
18
18
  const t = i.series[0];
19
19
  return L(t) && (e = t.temporalBinning?.size), e;
20
- }, Yt = (i) => {
20
+ }, $t = (i) => {
21
21
  let e;
22
22
  const t = i.series[0];
23
23
  return L(t) && (e = t.temporalBinning?.unit), e;
24
- }, qi = (i) => {
24
+ }, Ri = (i) => {
25
25
  let e;
26
26
  const t = i.series[0];
27
27
  return L(t) && (e = t.temporalBinning?.timeAggregationType), e;
28
- }, Ri = (i) => {
28
+ }, ki = (i) => {
29
29
  let e;
30
30
  const t = i.series[0];
31
31
  return L(t) && (e = t.temporalBinning?.trimIncompleteTimeInterval), e;
32
- }, ki = (i) => {
32
+ }, wi = (i) => {
33
33
  let e;
34
34
  const t = i.series[0];
35
35
  return L(t) && (e = t.temporalBinning?.nullPolicy), e;
36
- }, $t = (i, e) => {
36
+ }, Xt = (i, e) => {
37
37
  e?.series?.forEach((t) => {
38
38
  L(t) && (t.temporalBinning ??= {}, t.temporalBinning.size = i);
39
39
  });
40
- }, Xt = (i, e) => {
40
+ }, Ht = (i, e) => {
41
41
  e?.series?.forEach((t) => {
42
42
  L(t) && (t.temporalBinning ??= {}, t.temporalBinning.nullPolicy = i);
43
43
  });
44
- }, wi = (i, e) => {
44
+ }, Pi = (i, e) => {
45
45
  e.series?.forEach((t) => {
46
46
  L(t) && (t.temporalBinning ??= {}, t.temporalBinning.unit = i);
47
47
  });
48
- }, Pi = (i, e) => {
48
+ }, Ei = (i, e) => {
49
49
  e.series?.forEach((t) => {
50
50
  L(t) && (t.temporalBinning ??= {}, t.temporalBinning.timeAggregationType = i);
51
51
  });
52
- }, Ei = (i, e) => {
52
+ }, Mi = (i, e) => {
53
53
  e.series?.forEach((t) => {
54
54
  L(t) && (t.temporalBinning ??= {}, t.temporalBinning.trimIncompleteTimeInterval = i);
55
55
  });
56
- }, Ht = (i) => {
57
- $t(0, i);
56
+ }, Wt = (i) => {
57
+ Xt(0, i);
58
58
  };
59
- var Wt = Object.defineProperty, Ut = Object.getOwnPropertyDescriptor, jt = (i, e, t, r) => {
60
- for (var s = Ut(e, t), a = i.length - 1, n; a >= 0; a--)
59
+ var Ut = Object.defineProperty, jt = Object.getOwnPropertyDescriptor, Zt = (i, e, t, r) => {
60
+ for (var s = jt(e, t), a = i.length - 1, n; a >= 0; a--)
61
61
  (n = i[a]) && (s = n(e, t, s) || s);
62
- return s && Wt(e, t, s), s;
62
+ return s && Ut(e, t, s), s;
63
63
  };
64
- const Zt = (i) => {
64
+ const Kt = (i) => {
65
65
  let e;
66
66
  return X(i) ? e = i.outTimeZone : i?.series.forEach((t) => {
67
67
  (t.type === x.BarSeries || t.type === x.RadarSeries || t.type === x.LineSeries) && t.temporalBinning && (e = t.temporalBinning.outTimeZone);
@@ -72,45 +72,45 @@ const Zt = (i) => {
72
72
  (r.type === x.BarSeries || r.type === x.RadarSeries || r.type === x.LineSeries) && (i ? (r.temporalBinning ??= {}, r.temporalBinning.outTimeZone = t) : r.temporalBinning && delete r.temporalBinning.outTimeZone);
73
73
  }), e?.axes?.[0]?.valueFormat.type === x.DateAxisFormat && (i ? e.axes[0].valueFormat.intlOptions.timeZone = t : delete e.axes[0].valueFormat.intlOptions.timeZone);
74
74
  };
75
- class Kt extends kt {
75
+ class _t extends wt {
76
76
  /**
77
77
  * Gets the time zone for the chart.
78
78
  */
79
79
  get timeZone() {
80
- return Zt(this._config);
80
+ return Kt(this._config);
81
81
  }
82
82
  set timeZone(e) {
83
83
  we(e, this._config), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"));
84
84
  }
85
85
  }
86
- jt([
87
- wt
88
- ], Kt.prototype, "timeZone");
89
- function Mi(i, e) {
86
+ Zt([
87
+ Pt
88
+ ], _t.prototype, "timeZone");
89
+ function Yi(i, e) {
90
90
  let t;
91
91
  return e !== void 0 && (t = { ...e }, t.legend !== void 0 && (t.legend.position = i)), t;
92
92
  }
93
- function Yi(i, e) {
93
+ function $i(i, e) {
94
94
  let t;
95
95
  return e !== void 0 && (t = { ...e }, t.legend !== void 0 && (t.legend.visible = i)), t;
96
96
  }
97
- function $i(i, e) {
97
+ function Xi(i, e) {
98
98
  let t;
99
99
  return e !== void 0 && (t = { ...e, rotated: i }), t;
100
100
  }
101
- function _t(i) {
101
+ function Qt(i) {
102
102
  let e;
103
103
  return i !== void 0 && (e = { ...i }, delete e.axes?.[0]?.minimum, delete e.axes?.[0]?.maximum, delete e.axes?.[1]?.minimum, delete e.axes?.[1]?.maximum), e;
104
104
  }
105
- function Xi(i, e) {
105
+ function Hi(i, e) {
106
106
  return e != null || Ne(i);
107
107
  }
108
- async function Hi(i) {
108
+ async function Wi(i) {
109
109
  const { config: e, layer: t, abortSignal: r } = i;
110
110
  let s = !1;
111
111
  return ue(t) || _e(e) ? e && ue(t) && (s = await Qe({ config: e, layer: t, abortSignal: r })) : s = !0, s;
112
112
  }
113
- async function Qt(i) {
113
+ async function zt(i) {
114
114
  const {
115
115
  queryObject: e,
116
116
  chartConfig: t,
@@ -131,7 +131,7 @@ async function Qt(i) {
131
131
  runtimeDataFilters: n,
132
132
  ignoreViewExtent: o
133
133
  });
134
- if (g.outStatistics?.[0]?.outStatisticFieldName && (g.outStatistics[0].outStatisticFieldName = It.outStatistics.outStatisticFieldName), L(y) && ct({
134
+ if (g.outStatistics?.[0]?.outStatisticFieldName && (g.outStatistics[0].outStatisticFieldName = Lt.outStatistics.outStatisticFieldName), L(y) && ct({
135
135
  xAxisValueFormatType: ut(d),
136
136
  setTimeBinningInfoWhenNotProvided: c,
137
137
  seriesConfig: y,
@@ -157,8 +157,8 @@ async function Qt(i) {
157
157
  abortSignal: a
158
158
  }), p = Array.from(
159
159
  new Set(
160
- u.flatMap((C) => {
161
- const { stackedAttributes: T } = C;
160
+ u.flatMap((B) => {
161
+ const { stackedAttributes: T } = B;
162
162
  let b = [];
163
163
  return T && (b = T.map((v) => v[r]).filter((v) => v !== void 0)), b;
164
164
  })
@@ -195,7 +195,7 @@ async function Qt(i) {
195
195
  }
196
196
  return { allValues: p, preFetchedQueryResponse: u };
197
197
  }
198
- function zt(i, e) {
198
+ function Gt(i, e) {
199
199
  const t = /* @__PURE__ */ new Map();
200
200
  return i.series.forEach((r) => {
201
201
  let s = ge({
@@ -215,7 +215,7 @@ function zt(i, e) {
215
215
  ]);
216
216
  }), t;
217
217
  }
218
- function Gt(i) {
218
+ function Jt(i) {
219
219
  const { allValues: e, configUniqueValuesPerSeriesType: t, initialConfigWasEmpty: r } = i, s = /* @__PURE__ */ new Map();
220
220
  return Array.from(t.keys()).forEach((a) => {
221
221
  const n = t.get(a) ?? [];
@@ -225,7 +225,7 @@ function Gt(i) {
225
225
  }), s.set(a, o);
226
226
  }), s;
227
227
  }
228
- function Jt(i) {
228
+ function ei(i) {
229
229
  const { chartConfig: e, missingValue: t, splitByField: r, seriesTemplate: s } = i, a = JSON.parse(
230
230
  JSON.stringify({
231
231
  ...e.series[0],
@@ -242,7 +242,7 @@ function Jt(i) {
242
242
  }
243
243
  return a;
244
244
  }
245
- async function ei(i) {
245
+ async function ti(i) {
246
246
  const {
247
247
  updateSplitBySeries: e,
248
248
  config: t,
@@ -262,7 +262,7 @@ async function ei(i) {
262
262
  t.series.length === 0 && p !== void 0 && t.series.push(p);
263
263
  const y = ie(t.series);
264
264
  if (y === w.BoxPlotC5MonoFieldAndSplitBy || y === w.BoxPlotC6MultiFieldsAndSplitBy || y === w.BoxPlotC7MonoFieldAndCategoryAndSplitBy || y === w.BarAndLineSplitBy || y === w.BarAndLineSplitByNoAggregation) {
265
- const g = st(t.series[0]?.query?.where), F = at(r), S = rt(g, F), h = S ? nt(S) : !1, A = await Qt({
265
+ const g = st(t.series[0]?.query?.where), F = at(r), S = rt(g, F), h = S ? nt(S) : !1, A = await zt({
266
266
  queryObject: r,
267
267
  chartConfig: t,
268
268
  splitByField: g,
@@ -274,17 +274,17 @@ async function ei(i) {
274
274
  returnStatisticsAggregatedIds: m,
275
275
  chartLimits: f,
276
276
  errorStrings: s
277
- }), { allValues: C } = A;
278
- if ({ preFetchedQueryResponse: u } = A, C.length > 0) {
279
- const T = zt(t, h), b = Gt({
280
- allValues: C,
277
+ }), { allValues: B } = A;
278
+ if ({ preFetchedQueryResponse: u } = A, B.length > 0) {
279
+ const T = Gt(t, h), b = Jt({
280
+ allValues: B,
281
281
  configUniqueValuesPerSeriesType: T,
282
282
  initialConfigWasEmpty: d
283
283
  });
284
284
  Array.from(b.keys()).forEach((v) => {
285
285
  (b.get(v) ?? []).forEach((D) => {
286
286
  t.series.push(
287
- Jt({
287
+ ei({
288
288
  chartConfig: t,
289
289
  seriesTemplate: p,
290
290
  missingValue: D,
@@ -298,10 +298,10 @@ async function ei(i) {
298
298
  }
299
299
  return u;
300
300
  }
301
- function ti(i, e) {
301
+ function ii(i, e) {
302
302
  e && !Ne(e) && (e = it({ chartConfig: e, queryObject: i }));
303
303
  }
304
- async function Wi(i) {
304
+ async function Ui(i) {
305
305
  const {
306
306
  configToAlter: e,
307
307
  layer: t,
@@ -320,7 +320,7 @@ async function Wi(i) {
320
320
  errorStrings: y
321
321
  } = i;
322
322
  let g = e, F;
323
- return g && (ti(t, g), g = await Pt(g, t, void 0, o), r && n && (F = await ei({
323
+ return g && (ii(t, g), g = await Et(g, t, void 0, o), r && n && (F = await ti({
324
324
  updateSplitBySeries: s,
325
325
  config: g,
326
326
  queryObject: n,
@@ -334,7 +334,7 @@ async function Wi(i) {
334
334
  chartLimits: u
335
335
  })), g = Ke(g, a), we(d, g)), { alteredConfig: g, preFetchedQueryResponse: F };
336
336
  }
337
- function ii(i, e) {
337
+ function si(i, e) {
338
338
  let t = !1;
339
339
  if (e !== void 0) {
340
340
  const r = ot({ key: pt.Average, splitBy: e });
@@ -342,7 +342,7 @@ function ii(i, e) {
342
342
  }
343
343
  return t;
344
344
  }
345
- function Ui(i) {
345
+ function ji(i) {
346
346
  const { data: e, config: t, showEmptySeries: r } = i, s = t.series.length, a = te(t);
347
347
  let n = !1;
348
348
  if (!r && s > 1 && e) {
@@ -379,7 +379,7 @@ function Ui(i) {
379
379
  showOutliers: p
380
380
  })
381
381
  )) : u.type === x.LineSeries && (d = e.meanLines, y = d?.some(
382
- (g) => ii(g, u.query?.where)
382
+ (g) => si(g, u.query?.where)
383
383
  )), y && m.add(u);
384
384
  });
385
385
  }
@@ -391,54 +391,54 @@ function Ui(i) {
391
391
  }
392
392
  return { seriesFilteredOut: n, filteredConfig: a };
393
393
  }
394
- const ji = (i) => i.hideEmptyRowsAndColumns, Zi = (i, e) => {
394
+ const Zi = (i) => i.hideEmptyRowsAndColumns, Ki = (i, e) => {
395
395
  i.hideEmptyRowsAndColumns = e;
396
- }, Ki = (i, e) => {
396
+ }, _i = (i, e) => {
397
397
  const t = i.series[0];
398
398
  t.heatRulesType = e;
399
- }, _i = (i) => i.series[0].heatRulesType, Qi = (i, e) => {
399
+ }, Qi = (i) => i.series[0].heatRulesType, zi = (i, e) => {
400
400
  const t = i.series[0];
401
401
  t.gradientRules = e;
402
- }, zi = (i) => i.series[0].gradientRules, Gi = (i) => {
403
- const { yField: e, config: t, layerInfo: r, commonStrings: s } = i, { layerFieldsInfo: a } = r, n = se(1, t), o = si(t), c = re(t), l = t.series[0];
402
+ }, Gi = (i) => i.series[0].gradientRules, Ji = (i) => {
403
+ const { yField: e, config: t, layerInfo: r, commonStrings: s } = i, { layerFieldsInfo: a } = r, n = se(1, t), o = ai(t), c = re(t), l = t.series[0];
404
404
  if (typeof e == "string" && o !== e && l) {
405
- if (l.y = e, _t(t), o === n || c) {
405
+ if (l.y = e, Qt(t), o === n || c) {
406
406
  const m = k(a, e);
407
407
  $(t, 1, m);
408
408
  }
409
409
  Pe({ commonStrings: s, config: t, layerInfo: r });
410
410
  }
411
- }, si = (i) => i.series[0].y ?? "", Ji = (i) => {
411
+ }, ai = (i) => i.series[0].y ?? "", es = (i) => {
412
412
  const { binning: e, config: t, commonStrings: r } = i, s = t.series[0];
413
413
  if (s.xTemporalBinning = e, e?.unit !== void 0 && e.unit in r.utilsStrings.heatChartCalendarDatePartsUnits) {
414
414
  const a = r.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
415
415
  $(t, 0, a);
416
416
  }
417
417
  ee({ axisIndex: 0, commonStrings: r, config: t });
418
- }, ai = (i) => i.series[0].xTemporalBinning, es = (i) => {
418
+ }, ri = (i) => i.series[0].xTemporalBinning, ts = (i) => {
419
419
  const { binning: e, config: t, commonStrings: r } = i, s = t.series[0];
420
420
  if (s.yTemporalBinning = e, e?.unit !== void 0 && e.unit in r.utilsStrings.heatChartCalendarDatePartsUnits) {
421
421
  const a = r.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
422
422
  $(t, 1, a);
423
423
  }
424
424
  ee({ axisIndex: 1, commonStrings: r, config: t });
425
- }, ri = (i) => i.series[0].yTemporalBinning, ni = (i, e) => {
425
+ }, ni = (i) => i.series[0].yTemporalBinning, oi = (i, e) => {
426
426
  e.orderOptions ??= {};
427
427
  const t = e.axes?.[0]?.valueFormat?.type === "category" ? N.Category : N.YValue, r = me(e)[0], s = e.axes?.[1]?.valueFormat?.type === "category" ? N.Category : N.YValue, a = me(e)[1], n = {
428
428
  ...e.orderOptions.data ?? {},
429
429
  orderType: N.MultiAxes
430
430
  };
431
431
  r === ce.customSort && t === N.Category && (n.orderByX = [...i]), a === ce.customSort && s === N.Category && (n.orderByY = [...i]), Object.keys(n).length > 1 && (e.orderOptions.data = n);
432
- }, ts = (i, e) => {
432
+ }, is = (i, e) => {
433
433
  const t = e.series[0];
434
434
  t.gridLine && (t.gridLine.width = i);
435
- }, is = (i) => i.series[0].gridLine?.width, ss = (i, e) => {
435
+ }, ss = (i) => i.series[0].gridLine?.width, as = (i, e) => {
436
436
  const t = e.series[0], r = i?.length === 4 && i.every((s) => typeof s == "number");
437
437
  t.gridLine && r && (t.gridLine.color = i);
438
- }, as = (i) => i.series[0].gridLine?.color, rs = (i, e) => {
438
+ }, rs = (i) => i.series[0].gridLine?.color, ns = (i, e) => {
439
439
  const t = e.legend;
440
440
  t && (t.position = i);
441
- }, ns = (i) => i.legend?.position ?? Ct.Bottom, os = (i) => i.series[0].query?.outStatistics?.[0]?.onStatisticField, ls = (i) => {
441
+ }, os = (i) => i.legend?.position ?? At.Bottom, ls = (i) => i.series[0].query?.outStatistics?.[0]?.onStatisticField, cs = (i) => {
442
442
  const { field: e, config: t, layerInfo: r, commonStrings: s } = i, a = t.series[0].query?.outStatistics?.[0], n = le(t, r, s);
443
443
  a ? (a.onStatisticField = e, a.outStatisticFieldName = `${a.statisticType}_${e}`) : t.series[0].query = {
444
444
  outStatistics: [
@@ -449,52 +449,52 @@ const ji = (i) => i.hideEmptyRowsAndColumns, Zi = (i, e) => {
449
449
  }
450
450
  ]
451
451
  }, n && t.title && (t.title.content.text = Z(t, r, s));
452
- }, cs = (i) => i.series[0].query?.outStatistics?.[0].statisticType ?? I.Count, us = (i) => {
452
+ }, us = (i) => i.series[0].query?.outStatistics?.[0].statisticType ?? I.Count, ds = (i) => {
453
453
  const { aggregationType: e, config: t, layerInfo: r, commonStrings: s } = i, a = t.series[0]?.query?.outStatistics?.[0], n = le(t, r, s);
454
- a && e !== I.NoAggregation && (a.statisticType = e, a.outStatisticFieldName = `${e}_${a.onStatisticField}`), (e === I.Count || e === I.Sum) && oi(H.Zero, t), n && t.title && (t.title.content.text = Z(t, r, s));
455
- }, ds = (i) => i.nullPolicy, oi = (i, e) => {
454
+ a && e !== I.NoAggregation && (a.statisticType = e, a.outStatisticFieldName = `${e}_${a.onStatisticField}`), (e === I.Count || e === I.Sum) && li(H.Zero, t), n && t.title && (t.title.content.text = Z(t, r, s));
455
+ }, ys = (i) => i.nullPolicy, li = (i, e) => {
456
456
  e.nullPolicy = i;
457
- }, ys = (i) => i.series[0].emptyCells, ms = (i, e) => {
457
+ }, ms = (i) => i.series[0].emptyCells, gs = (i, e) => {
458
458
  e.series[0].emptyCells = i;
459
- }, gs = (i) => i.series[0].emptyCells?.text, ps = (i, e) => {
459
+ }, ps = (i) => i.series[0].emptyCells?.text, fs = (i, e) => {
460
460
  e.series[0].emptyCells ? e.series[0].emptyCells.text = i : e.series[0].emptyCells = { text: i };
461
- }, fs = (i) => i.includeLeapDay, Ss = (i, e) => {
461
+ }, Ss = (i) => i.includeLeapDay, Fs = (i, e) => {
462
462
  e.includeLeapDay = i;
463
- }, Fs = (i) => i.series[0].emptyCells?.symbol, hs = (i, e) => {
463
+ }, hs = (i) => i.series[0].emptyCells?.symbol, Ts = (i, e) => {
464
464
  e.series[0].emptyCells ? e.series[0].emptyCells.symbol = i : e.series[0].emptyCells = { symbol: i };
465
465
  };
466
- function Ts(i) {
466
+ function xs(i) {
467
467
  return i.viewType;
468
468
  }
469
- function xs(i, e) {
469
+ function Bs(i, e) {
470
470
  ft(e) || (e.viewType = i);
471
471
  }
472
- function Bs(i) {
472
+ function Cs(i) {
473
473
  return i.series[0].classBreaksRules?.breaksCount ?? G;
474
474
  }
475
- function Cs(i, e) {
475
+ function As(i, e) {
476
476
  e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.breaksCount = i ?? G : e.series[0].classBreaksRules = {
477
477
  breaksCount: i ?? G
478
478
  };
479
479
  }
480
- function As(i) {
480
+ function bs(i) {
481
481
  return i.series[0].classBreaksRules?.classificationMethod;
482
482
  }
483
- function bs(i, e) {
483
+ function vs(i, e) {
484
484
  e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.classificationMethod = i : e.series[0].classBreaksRules = {
485
485
  classificationMethod: i
486
486
  }, e.series[0].classBreaksRules.breaksCount = e.series[0].classBreaksRules.breaksCount ?? G;
487
487
  }
488
- function vs(i, e) {
488
+ function Is(i, e) {
489
489
  e.firstDayOfWeek = i;
490
490
  }
491
- function Is(i) {
491
+ function Ls(i) {
492
492
  return i.firstDayOfWeek;
493
493
  }
494
- function Ls(i) {
494
+ function Ds(i) {
495
495
  return i.series[0].classBreaksRules?.colorRampInfo?.name;
496
496
  }
497
- function Ds(i, e) {
497
+ function Ns(i, e) {
498
498
  e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.colorRampInfo = {
499
499
  ...e.series[0].classBreaksRules.colorRampInfo,
500
500
  name: i
@@ -505,10 +505,10 @@ function Ds(i, e) {
505
505
  }
506
506
  };
507
507
  }
508
- function Ns(i) {
508
+ function Os(i) {
509
509
  return i.series[0].classBreaksRules?.colorRampInfo?.flipped ?? !1;
510
510
  }
511
- function Os(i, e) {
511
+ function Vs(i, e) {
512
512
  e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.colorRampInfo = {
513
513
  ...e.series[0].classBreaksRules.colorRampInfo,
514
514
  flipped: i
@@ -518,7 +518,7 @@ function Os(i, e) {
518
518
  }
519
519
  };
520
520
  }
521
- const li = [
521
+ const ci = [
522
522
  R.DayOfMonth,
523
523
  R.MonthOfYear
524
524
  ], Ae = (i) => {
@@ -527,16 +527,16 @@ const li = [
527
527
  }, be = (i) => q(i) || Q(i), ve = (i) => {
528
528
  const { axisIndex: e, commonStrings: t, config: r, valueFormat: s } = i, a = r.axes?.[e]?.valueFormat;
529
529
  s !== void 0 && a?.type !== s.type && Ve({ config: r, commonStrings: t, valueFormat: s, axisIndex: e });
530
- }, ci = (i, e) => {
530
+ }, ui = (i, e) => {
531
531
  let t;
532
532
  return e === 0 ? t = i.series[0]?.xTemporalBinning : e === 1 && (t = i.series[0]?.yTemporalBinning), t;
533
533
  }, Ie = (i, e) => i.utilsStrings.heatChartCalendarDatePartsUnits[e] ?? "", Le = (i, e) => {
534
- let t = li[i];
534
+ let t = ci[i];
535
535
  return i === 0 && e?.unit === R.DayOfWeek ? t = R.HourOfDay : i === 1 && e?.unit === R.HourOfDay && (t = R.DayOfWeek), {
536
536
  type: x.CalendarDateParts,
537
537
  unit: t
538
538
  };
539
- }, ui = (i) => {
539
+ }, di = (i) => {
540
540
  let e = {};
541
541
  switch (i.unit) {
542
542
  case R.DayOfMonth:
@@ -563,12 +563,12 @@ const li = [
563
563
  const { axisIndex: e, binning: t, commonStrings: r, config: s, fieldName: a, layerInfo: n } = i, o = s.series[0], c = se(e, s), l = k(n.layerFieldsInfo, a);
564
564
  e === 0 ? o.xTemporalBinning = t : e === 1 && (o.yTemporalBinning = t), t !== void 0 && (c === "" || c === l || c === Ie(r, t.unit) || c === r.xAxis) && $(s, e, Ie(r, t.unit));
565
565
  }, ee = (i) => {
566
- const { axisIndex: e, commonStrings: t, config: r } = i, s = ci(r, e), a = s ? ui(s) : void 0;
566
+ const { axisIndex: e, commonStrings: t, config: r } = i, s = ui(r, e), a = s ? di(s) : void 0;
567
567
  Ve({ config: r, commonStrings: t, valueFormat: a, axisIndex: e });
568
568
  }, Pe = (i) => {
569
569
  const { commonStrings: e, config: t, layerInfo: r } = i, s = t.series[0]?.x ?? "", a = t.series[0]?.y ?? "", n = he(r.layerFieldsInfo, s), o = he(r.layerFieldsInfo, a), c = Ae(n), l = Ae(o), m = be(n) && be(o), f = _(n) && _(o);
570
570
  if (ve({ axisIndex: 0, commonStrings: e, config: t, valueFormat: c }), ve({ axisIndex: 1, commonStrings: e, config: t, valueFormat: l }), m) {
571
- const p = ai(t) === void 0, u = ri(t) === void 0;
571
+ const p = ri(t) === void 0, u = ni(t) === void 0;
572
572
  p && (De({
573
573
  axisIndex: 0,
574
574
  binning: Le(0, t.series[0].yTemporalBinning),
@@ -595,10 +595,10 @@ const li = [
595
595
  }
596
596
  f && (t.series[0].xTemporalBinning = void 0, t.series[0].yTemporalBinning = void 0);
597
597
  };
598
- function di(i) {
598
+ function yi(i) {
599
599
  const e = {};
600
600
  return i.series.forEach((t) => {
601
- Rt(t) && "nullCategory" in t && t.nullCategory !== void 0 && (e.text ??= t.nullCategory.text, t.type === x.BarSeries ? e.fillSymbol ??= t.nullCategory.fillSymbol : e.markerSymbol ??= t.nullCategory.markerSymbol);
601
+ kt(t) && "nullCategory" in t && t.nullCategory !== void 0 && (e.text ??= t.nullCategory.text, t.type === x.BarSeries ? e.fillSymbol ??= t.nullCategory.fillSymbol : e.markerSymbol ??= t.nullCategory.markerSymbol);
602
602
  }), e.text || e.fillSymbol || e.markerSymbol ? e : void 0;
603
603
  }
604
604
  function ne(i) {
@@ -611,27 +611,27 @@ function ne(i) {
611
611
  m = T.slice(0, e).every((b) => O(b)), f = T.slice(0, e).every((b) => V(b)), p = T.slice(0, e).every((b) => Te(b));
612
612
  } else
613
613
  m = O(l), f = V(l), p = Te(l);
614
- m ? c = Dt({
614
+ m ? c = Nt({
615
615
  commonStrings: n,
616
616
  seriesIndex: e,
617
617
  objectIDField: o
618
- }) : f ? c = Nt({
618
+ }) : f ? c = Ot({
619
619
  commonStrings: n,
620
620
  seriesIndex: e,
621
621
  objectIDField: o
622
- }) : p ? c = Ot(n, o) : c = Vt({
622
+ }) : p ? c = Vt(n, o) : c = qt({
623
623
  seriesIndex: e,
624
624
  objectIDField: o,
625
625
  commonStrings: n
626
626
  });
627
- const u = s.series[0]?.dataLabels, d = "nullCategory" in s.series[0] ? di(s) : void 0, y = "binTemporalData" in s.series[0] ? s.series[0].binTemporalData : void 0, g = "classBreakRules" in s.series[0] ? s.series[0].classBreakRules : void 0, F = "xTemporalBinning" in s.series[0] ? s.series[0].xTemporalBinning : void 0, S = "yTemporalBinning" in s.series[0] ? s.series[0].yTemporalBinning : void 0, h = "emptyCells" in s.series[0] ? s.series[0].emptyCells : void 0, A = s.series[0].query && "fetchNullValues" in s.series[0].query ? s.series[0].query?.fetchNullValues : void 0, C = {
627
+ const u = s.series[0]?.dataLabels, d = "nullCategory" in s.series[0] ? yi(s) : void 0, y = "binTemporalData" in s.series[0] ? s.series[0].binTemporalData : void 0, g = "classBreakRules" in s.series[0] ? s.series[0].classBreakRules : void 0, F = "xTemporalBinning" in s.series[0] ? s.series[0].xTemporalBinning : void 0, S = "yTemporalBinning" in s.series[0] ? s.series[0].yTemporalBinning : void 0, h = "emptyCells" in s.series[0] ? s.series[0].emptyCells : void 0, A = s.series[0].query && "fetchNullValues" in s.series[0].query ? s.series[0].query?.fetchNullValues : void 0, B = {
628
628
  ...c,
629
629
  x: t,
630
630
  y: "",
631
631
  dataLabels: {
632
632
  ...c.dataLabels,
633
633
  type: c.dataLabels?.type ?? x.Text,
634
- content: { ...c.dataLabels?.content, ...u?.content, type: vt.TS },
634
+ content: { ...c.dataLabels?.content, ...u?.content, type: It.TS },
635
635
  visible: u?.visible ?? !1
636
636
  },
637
637
  ...d !== void 0 ? { nullCategory: d } : {},
@@ -641,12 +641,12 @@ function ne(i) {
641
641
  ...S !== void 0 ? { yTemporalBinning: S } : {},
642
642
  ...h !== void 0 ? { emptyCells: h } : {}
643
643
  };
644
- if (C.query = {
644
+ if (B.query = {
645
645
  groupByFieldsForStatistics: [t],
646
646
  ...A !== void 0 ? { fetchNullValues: A } : {}
647
647
  }, r !== I.NoAggregation && o !== void 0) {
648
648
  const T = `${r}_${o}_0`.toUpperCase();
649
- C.y = T, C.query.outStatistics = [
649
+ B.y = T, B.query.outStatistics = [
650
650
  {
651
651
  statisticType: r,
652
652
  onStatisticField: o,
@@ -654,17 +654,17 @@ function ne(i) {
654
654
  }
655
655
  ];
656
656
  }
657
- if (L(s.series[0]) && L(C)) {
658
- let T = Yt(s);
659
- T === de.Quarter && (T = de.Month), C.temporalBinning = {
657
+ if (L(s.series[0]) && L(B)) {
658
+ let T = $t(s);
659
+ T === de.Quarter && (T = de.Month), B.temporalBinning = {
660
660
  ...s.series[0]?.temporalBinning,
661
661
  unit: T
662
662
  };
663
663
  }
664
- return te(C);
664
+ return te(B);
665
665
  }
666
666
  function Z(i, e, t) {
667
- const { layerFieldsInfo: r } = e, { idField: s, isTraditionalTypeOID: a } = j(e.layer), n = P(i), o = W(i), c = oe(i), l = K(i), m = a && (o.length === 0 || o.includes(s)), f = Lt(c, t), p = m ? "" : o.map((h) => k(r ?? [], h)).join(", "), u = k(r ?? [], n), d = k(r ?? [], l), y = i.series.some((h) => Y(h)), g = y ? "category" : "xAxisField", F = u;
667
+ const { layerFieldsInfo: r } = e, { idField: s, isTraditionalTypeOID: a } = j(e.layer), n = P(i), o = W(i), c = oe(i), l = K(i), m = a && (o.length === 0 || o.includes(s)), f = Dt(c, t), p = m ? "" : o.map((h) => k(r ?? [], h)).join(", "), u = k(r ?? [], n), d = k(r ?? [], l), y = i.series.some((h) => Y(h)), g = y ? "category" : "xAxisField", F = u;
668
668
  let S = "";
669
669
  if (fe({
670
670
  fieldName: n,
@@ -751,7 +751,7 @@ function Me(i) {
751
751
  const { splitByField: e, numericFields: t, layer: r, seriesIndex: s } = i, a = j(r).idField ?? "";
752
752
  return e === "" ? t[s] ?? a : t[0] ?? a;
753
753
  }
754
- function yi(i) {
754
+ function mi(i) {
755
755
  const { numericFields: e, aggregationType: t, config: r, layerInfo: s } = i;
756
756
  let a = !1;
757
757
  t === I.Count ? a = !0 : t === I.NoAggregation && (a = e.every((c) => {
@@ -774,12 +774,12 @@ const me = (i) => {
774
774
  const t = i.orderOptions?.data?.orderByX ?? [""], r = i.orderOptions?.data?.orderByY ?? [""], s = i.axes?.[0]?.valueFormat?.type === "category" ? N.Category : N.YValue, a = i.axes?.[1]?.valueFormat?.type === "category" ? N.Category : N.YValue;
775
775
  e = [Ce(t, s), Ce(r, a)];
776
776
  } else {
777
- const t = i.orderOptions?.data?.orderType ?? N.Category, r = i.orderOptions?.data && "orderBy" in i.orderOptions.data ? i.orderOptions.data.orderBy : At.Ascending;
778
- e = [Bt(r, t)];
777
+ const t = i.orderOptions?.data?.orderType ?? N.Category, r = i.orderOptions?.data && "orderBy" in i.orderOptions.data ? i.orderOptions.data.orderBy : bt.Ascending;
778
+ e = [Ct(r, t)];
779
779
  }
780
780
  return e;
781
781
  };
782
- function mi(i) {
782
+ function gi(i) {
783
783
  const { xAxisField: e, numericFields: t, aggregationType: r, config: s, layerInfo: a, commonStrings: n } = i, { layerFieldsInfo: o } = a, c = ne({
784
784
  config: s,
785
785
  xAxisField: e,
@@ -833,9 +833,9 @@ function $e(i) {
833
833
  fieldList: o
834
834
  }).name, S = t[d], h = s.series.find(
835
835
  (D) => D.query?.where === void 0 && (D.query?.outStatistics?.length === 1 && D.query?.outStatistics?.[0]?.onStatisticField === S || D.query?.outStatistics === void 0 && (D.y === S || D.x === S))
836
- ), A = S !== c ? S : y.id, C = h?.id ?? A, T = h?.name ?? k(o, S) ?? C, b = h ?? y, v = {
836
+ ), A = S !== c ? S : y.id, B = h?.id ?? A, T = h?.name ?? k(o, S) ?? B, b = h ?? y, v = {
837
837
  ...b,
838
- id: C,
838
+ id: B,
839
839
  name: T
840
840
  };
841
841
  let E = S;
@@ -855,7 +855,7 @@ function $e(i) {
855
855
  );
856
856
  return p.length === 1 && m.length === 1 && Y(p[0]) && Y(m[0]) && (m[0].fillSymbol = p[0].fillSymbol), u.length === 1 && f.length === 1 && ((O(u[0]) && O(f[0]) || V(u[0]) && V(f[0])) && Xe(f[0], u[0]), (O(u[0]) && O(f[0]) || V(u[0]) && V(f[0])) && (f[0].lineSymbol = u[0].lineSymbol, f[0].markerSymbol = u[0].markerSymbol)), l;
857
857
  }
858
- function Vs(i) {
858
+ function qs(i) {
859
859
  const { aggregationType: e, config: t, layerInfo: r, commonStrings: s } = i, { layerFieldsInfo: a, layer: n } = r, o = P(t), c = W(t), l = K(t), m = oe(t), f = le(t, r, s), p = He(t, r, s);
860
860
  if (t.series.forEach((u, d) => {
861
861
  const y = ae({
@@ -886,7 +886,7 @@ function Vs(i) {
886
886
  onStatisticField: F
887
887
  }
888
888
  ]
889
- }, "temporalBinning" in u && u.temporalBinning !== void 0 && (u.temporalBinning.nullPolicy = e === I.NoAggregation ? H.Interpolate : H.Null), e === I.NoAggregation && Ht(t);
889
+ }, "temporalBinning" in u && u.temporalBinning !== void 0 && (u.temporalBinning.nullPolicy = e === I.NoAggregation ? H.Interpolate : H.Null), e === I.NoAggregation && Wt(t);
890
890
  }), f && t.title && (t.title.content.text = Z(t, r, s)), p && t.series[0].type !== x.HeatSeries) {
891
891
  const u = pe({
892
892
  config: t,
@@ -899,7 +899,7 @@ function Vs(i) {
899
899
  }
900
900
  m !== e && Ye(t);
901
901
  }
902
- function gi(i) {
902
+ function pi(i) {
903
903
  const {
904
904
  splitByField: e,
905
905
  xAxisField: t,
@@ -949,9 +949,11 @@ function gi(i) {
949
949
  queryObject: n.layer,
950
950
  fieldName: e,
951
951
  fieldValue: g ?? ""
952
- }), A = `${g}`, C = a.series.find(
952
+ }), A = `${g}`, B = a.series.find(
953
953
  (D) => String(Ee(D)).trim().replace(/'/gu, "") === A
954
- ), T = C?.id ?? A, b = C?.name ?? h ?? T, v = C ?? S, E = {
954
+ ), T = B?.id ?? A, b = B?.name ?? h ?? T;
955
+ xt(B, S);
956
+ const v = B ?? S, E = {
955
957
  ...v,
956
958
  id: T,
957
959
  name: b,
@@ -973,7 +975,7 @@ function gi(i) {
973
975
  }
974
976
  return d;
975
977
  }
976
- const qs = (i) => {
978
+ const Rs = (i) => {
977
979
  const {
978
980
  xAxisFieldName: e,
979
981
  splitByField: t,
@@ -983,18 +985,18 @@ const qs = (i) => {
983
985
  layerInfo: n,
984
986
  commonStrings: o,
985
987
  splitByFieldInfos: c
986
- } = i, { layerFieldsInfo: l } = n ?? {}, m = te(a), f = Et(a), p = P(m), u = K(m), d = oe(m), y = l.find((B) => B.name === p), g = a.series[0]?.query === void 0, F = W(m), S = l.find((B) => B.name === e), h = le(m, n, o), A = He(m, n, o), C = pi({ config: m, layerInfo: n, commonStrings: o });
988
+ } = i, { layerFieldsInfo: l } = n ?? {}, m = te(a), f = Mt(a), p = P(m), u = K(m), d = oe(m), y = l.find((C) => C.name === p), g = a.series[0]?.query === void 0, F = W(m), S = l.find((C) => C.name === e), h = le(m, n, o), A = He(m, n, o), B = fi({ config: m, layerInfo: n, commonStrings: o });
987
989
  let T = qe(a);
988
- const b = m.series.some((B) => Y(B)), v = ht(m.series), E = Tt(m.series), D = q(y) || q(S);
989
- if (_(S) ? T = ye() : !Q(y) && Q(S) ? T = J() : !q(y) && q(S) ? T = J() : q(y) && !q(S) && (b ? T = ye() : T = qt()), T !== void 0 && xt(a, o, T), f === 0 && (a.series = [
990
+ const b = m.series.some((C) => Y(C)), v = ht(m.series), E = Tt(m.series), D = q(y) || q(S);
991
+ if (_(S) ? T = ye() : !Q(y) && Q(S) ? T = J() : !q(y) && q(S) ? T = J() : q(y) && !q(S) && (b ? T = ye() : T = Rt()), T !== void 0 && Bt(a, o, T), f === 0 && (a.series = [
990
992
  ne({ config: a, xAxisField: e, aggregationType: s, layerInfo: n, commonStrings: o })
991
- ]), a.series.forEach((B) => {
992
- B.x = e, B.query !== void 0 && (B.query.groupByFieldsForStatistics = [e]);
993
+ ]), a.series.forEach((C) => {
994
+ C.x = e, C.query !== void 0 && (C.query.groupByFieldsForStatistics = [e]);
993
995
  }), t === "" || r.length > 1 ? fe({
994
996
  fieldName: e,
995
997
  numericFields: r,
996
998
  fieldList: l
997
- }) ? a.series = mi({
999
+ }) ? a.series = gi({
998
1000
  config: a,
999
1001
  layerInfo: n,
1000
1002
  xAxisField: e,
@@ -1008,7 +1010,7 @@ const qs = (i) => {
1008
1010
  numericFields: r,
1009
1011
  aggregationType: s,
1010
1012
  commonStrings: o
1011
- }) : c && (a.series = gi({
1013
+ }) : c && (a.series = pi({
1012
1014
  config: a,
1013
1015
  layerInfo: n,
1014
1016
  splitByField: t,
@@ -1017,33 +1019,33 @@ const qs = (i) => {
1017
1019
  aggregationType: s,
1018
1020
  commonStrings: o,
1019
1021
  splitByFieldInfos: c
1020
- })), C && e !== U && a.series[0].type !== x.HeatSeries) {
1021
- const B = k(l, e);
1022
- $(a, 0, B);
1022
+ })), B && e !== U && a.series[0].type !== x.HeatSeries) {
1023
+ const C = k(l, e);
1024
+ $(a, 0, C);
1023
1025
  }
1024
1026
  if (A && a.series[0].type !== x.HeatSeries) {
1025
- const B = pe({
1027
+ const C = pe({
1026
1028
  config: a,
1027
1029
  layerInfo: n,
1028
1030
  commonStrings: o,
1029
1031
  numericFields: r,
1030
1032
  aggregationType: s
1031
1033
  });
1032
- $(a, 1, B);
1034
+ $(a, 1, C);
1033
1035
  }
1034
- if (h && a.title && (a.title.content.text = Z(a, n, o)), p === e && u === t && d === s && je(F, r) || Ye(a), yi({ numericFields: r, aggregationType: s, config: a, layerInfo: n }), (v || E) && (z({ config: a, value: null, axisIndex: 0, isMax: !1 }), z({ config: a, value: null, axisIndex: 0, isMax: !0 }), D && s !== I.NoAggregation && !X(m))) {
1035
- const B = q(S) ? H.Null : H.Interpolate;
1036
- Xt(B, a);
1036
+ if (h && a.title && (a.title.content.text = Z(a, n, o)), p === e && u === t && d === s && je(F, r) || Ye(a), mi({ numericFields: r, aggregationType: s, config: a, layerInfo: n }), (v || E) && (z({ config: a, value: null, axisIndex: 0, isMax: !1 }), z({ config: a, value: null, axisIndex: 0, isMax: !0 }), D && s !== I.NoAggregation && !X(m))) {
1037
+ const C = q(S) ? H.Null : H.Interpolate;
1038
+ Ht(C, a);
1037
1039
  }
1038
- X(a) && Pe({ commonStrings: o, config: a, layerInfo: n }), a.series.forEach((B) => {
1039
- g && delete B.query, p !== e && L(B) && (S?.type === Re.TimeOnly ? B.binTemporalData = !1 : B.binTemporalData = B.type === x.LineSeries && q(S));
1040
+ X(a) && Pe({ commonStrings: o, config: a, layerInfo: n }), a.series.forEach((C) => {
1041
+ g && delete C.query, p !== e && L(C) && (S?.type === Re.TimeOnly ? C.binTemporalData = !1 : C.binTemporalData = C.type === x.LineSeries && q(S));
1040
1042
  });
1041
1043
  }, Xe = (i, e) => {
1042
1044
  i.markerVisible = e.markerVisible, i.lineSmoothed = e.lineSmoothed, i.showArea = e.showArea, i.areaColor = e.areaColor, i.stackNegativeValuesToBaseline = e.stackNegativeValuesToBaseline, e.lineSymbol && (i.lineSymbol = { ...e.lineSymbol, color: i.lineSymbol?.color }), e.markerSymbol && (i.markerSymbol = {
1043
1045
  ...e.markerSymbol,
1044
1046
  color: i.markerSymbol?.color
1045
1047
  });
1046
- }, Rs = (i) => {
1048
+ }, ks = (i) => {
1047
1049
  const { config: e, seriesIndex: t, layerInfo: r, commonStrings: s } = i, a = e.series?.[t], n = K(e);
1048
1050
  let o;
1049
1051
  if (ie(e.series) === w.BarAndLineFromFields)
@@ -1060,9 +1062,9 @@ const qs = (i) => {
1060
1062
  }) ?? l;
1061
1063
  }
1062
1064
  return o ?? a.id;
1063
- }, ks = (i, e) => {
1065
+ }, ws = (i, e) => {
1064
1066
  if (X(e))
1065
- ni(i, e);
1067
+ oi(i, e);
1066
1068
  else {
1067
1069
  e.orderOptions ??= {};
1068
1070
  const t = e.orderOptions?.data?.orderType;
@@ -1071,7 +1073,7 @@ const qs = (i) => {
1071
1073
  orderBy: [...i]
1072
1074
  });
1073
1075
  }
1074
- }, ws = async (i) => {
1076
+ }, Ps = async (i) => {
1075
1077
  const { config: e, layerInfo: t, num: r, errorStrings: s } = i, a = P(e), n = qe(e)?.type, o = W(e), c = ie(e.series);
1076
1078
  let l = [];
1077
1079
  return n === x.CategoryAxisFormat && (c === w.BarAndLineFromFields || a === U ? l = o.map((m) => k(t?.layerFieldsInfo, m)) : a.trim() !== "" && a !== U && t !== void 0 && (l = await Ft({
@@ -1083,7 +1085,7 @@ const qs = (i) => {
1083
1085
  }))), l;
1084
1086
  };
1085
1087
  function le(i, e, t) {
1086
- const r = Z(i, e, t), s = Mt(i), a = re(i);
1088
+ const r = Z(i, e, t), s = Yt(i), a = re(i);
1087
1089
  return r === s || a;
1088
1090
  }
1089
1091
  function He(i, e, t) {
@@ -1096,101 +1098,101 @@ function He(i, e, t) {
1096
1098
  }), s = se(1, i), a = re(i);
1097
1099
  return r === s || a;
1098
1100
  }
1099
- function pi(i) {
1101
+ function fi(i) {
1100
1102
  const { config: e, layerInfo: t, commonStrings: r } = i, s = k(t.layerFieldsInfo, P(e)), a = se(0, e), n = re(e), o = P(e) === U && (a === "" || a === r.xAxis);
1101
1103
  return s === a || n || o;
1102
1104
  }
1103
- function Ps(i) {
1105
+ function Es(i) {
1104
1106
  return L(i.series[0]) ? i.series[0].binTemporalData ?? !0 : !1;
1105
1107
  }
1106
- function Es(i, e) {
1108
+ function Ms(i, e) {
1107
1109
  e?.series.forEach((t) => {
1108
1110
  L(t) && (t.binTemporalData = i, i ? t.temporalBinning = {
1109
1111
  unit: de.Day,
1110
1112
  size: 0,
1111
- timeAggregationType: bt.Start,
1113
+ timeAggregationType: vt.Start,
1112
1114
  trimIncompleteTimeInterval: !0,
1113
1115
  nullPolicy: H.Null
1114
1116
  } : delete t.temporalBinning);
1115
1117
  });
1116
1118
  }
1117
1119
  export {
1118
- ts as $,
1119
- ws as A,
1120
- ks as B,
1121
- qs as C,
1122
- Ps as D,
1123
- Es as E,
1120
+ is as $,
1121
+ Ps as A,
1122
+ ws as B,
1123
+ Rs as C,
1124
+ Es as D,
1125
+ Ms as E,
1124
1126
  Z as F,
1125
1127
  Pe as G,
1126
- si as H,
1127
- Gi as I,
1128
- Ts as J,
1129
- xs as K,
1130
- ai as L,
1131
- Ji as M,
1132
- ri as N,
1133
- es as O,
1134
- Bs as P,
1135
- Cs as Q,
1136
- As as R,
1137
- bs as S,
1138
- Ls as T,
1139
- Ds as U,
1140
- Ns as V,
1141
- Kt as W,
1142
- Os as X,
1143
- ji as Y,
1144
- Zi as Z,
1145
- is as _,
1146
- Xi as a,
1147
- as as a0,
1148
- ss as a1,
1149
- _i as a2,
1150
- Ki as a3,
1151
- zi as a4,
1152
- Qi as a5,
1153
- os as a6,
1154
- ls as a7,
1155
- cs as a8,
1156
- us as a9,
1157
- ns as aa,
1158
- rs as ab,
1159
- ds as ac,
1160
- oi as ad,
1161
- ys as ae,
1162
- ms as af,
1163
- gs as ag,
1164
- ps as ah,
1165
- fs as ai,
1166
- Ss as aj,
1167
- Is as ak,
1168
- vs as al,
1169
- Fs as am,
1170
- hs as an,
1171
- Mi as b,
1172
- Yi as c,
1128
+ ai as H,
1129
+ Ji as I,
1130
+ xs as J,
1131
+ Bs as K,
1132
+ ri as L,
1133
+ es as M,
1134
+ ni as N,
1135
+ ts as O,
1136
+ Cs as P,
1137
+ As as Q,
1138
+ bs as R,
1139
+ vs as S,
1140
+ Ds as T,
1141
+ Ns as U,
1142
+ Os as V,
1143
+ _t as W,
1144
+ Vs as X,
1145
+ Zi as Y,
1146
+ Ki as Z,
1147
+ ss as _,
1148
+ Hi as a,
1149
+ rs as a0,
1150
+ as as a1,
1151
+ Qi as a2,
1152
+ _i as a3,
1153
+ Gi as a4,
1154
+ zi as a5,
1155
+ ls as a6,
1156
+ cs as a7,
1157
+ us as a8,
1158
+ ds as a9,
1159
+ os as aa,
1160
+ ns as ab,
1161
+ ys as ac,
1162
+ li as ad,
1163
+ ms as ae,
1164
+ gs as af,
1165
+ ps as ag,
1166
+ fs as ah,
1167
+ Ss as ai,
1168
+ Fs as aj,
1169
+ Ls as ak,
1170
+ Is as al,
1171
+ hs as am,
1172
+ Ts as an,
1173
+ Yi as b,
1174
+ $i as c,
1173
1175
  W as d,
1174
1176
  K as e,
1175
- Ui as f,
1177
+ ji as f,
1176
1178
  oe as g,
1177
- Rs as h,
1178
- Hi as i,
1179
- Vi as j,
1180
- $t as k,
1181
- Yt as l,
1182
- wi as m,
1183
- qi as n,
1184
- Pi as o,
1185
- Wi as p,
1186
- Ri as q,
1187
- _t as r,
1179
+ ks as h,
1180
+ Wi as i,
1181
+ qi as j,
1182
+ Xt as k,
1183
+ $t as l,
1184
+ Pi as m,
1185
+ Ri as n,
1186
+ Ei as o,
1187
+ Ui as p,
1188
+ ki as q,
1189
+ Qt as r,
1188
1190
  we as s,
1189
- Ei as t,
1190
- $i as u,
1191
- ki as v,
1192
- Xt as w,
1193
- Ht as x,
1194
- Vs as y,
1191
+ Mi as t,
1192
+ Xi as u,
1193
+ wi as v,
1194
+ Ht as w,
1195
+ Wt as x,
1196
+ qs as y,
1195
1197
  me as z
1196
1198
  };