@arcgis/charts-components 5.2.0-next.124 → 5.2.0-next.125

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 (173) hide show
  1. package/dist/cdn/{CQLILZFZ.js → 2FQ6G6B6.js} +1 -1
  2. package/dist/cdn/{IYVSAR3D.js → 2FYXFIR4.js} +1 -1
  3. package/dist/cdn/2QWB5XRH.js +2 -0
  4. package/dist/cdn/{ZRYPRUVT.js → 2VX44HPW.js} +1 -1
  5. package/dist/cdn/{IKH7UGJM.js → 3GN7VR32.js} +1 -1
  6. package/dist/cdn/{WTMEWLUJ.js → 3W4HHL2V.js} +1 -1
  7. package/dist/cdn/{ELXF6XQQ.js → 4PUOMS4A.js} +1 -1
  8. package/dist/cdn/{U2O4NGY5.js → 4RLQLQVB.js} +1 -1
  9. package/dist/cdn/{H4UKMJ3M.js → 4SNP6HTM.js} +1 -1
  10. package/dist/cdn/{OO4U6KKQ.js → 54265YSL.js} +1 -1
  11. package/dist/cdn/{MQI4ZLAS.js → 5434ASC3.js} +1 -1
  12. package/dist/cdn/{GCPA466R.js → 56INS6ML.js} +1 -1
  13. package/dist/cdn/{N4YN5XHL.js → 5E6TR5OW.js} +1 -1
  14. package/dist/cdn/{STFT35NP.js → 5XXBOV4Q.js} +1 -1
  15. package/dist/cdn/6462KIIY.js +2 -0
  16. package/dist/cdn/{BUXZ2NBS.js → 6ESCKCYY.js} +1 -1
  17. package/dist/cdn/{EXCMERSU.js → 6H4PWDET.js} +1 -1
  18. package/dist/cdn/77VLHOOC.js +2 -0
  19. package/dist/cdn/{Q4HYSXEK.js → 77YJOTCX.js} +1 -1
  20. package/dist/cdn/{KYQWN5DR.js → 7OESRD4R.js} +1 -1
  21. package/dist/cdn/7PKJNQL7.js +2 -0
  22. package/dist/cdn/{ZP4T262N.js → B44MEIQW.js} +1 -1
  23. package/dist/cdn/{BQMUOJL7.js → B5XYZKLU.js} +1 -1
  24. package/dist/cdn/{RPUEIRTH.js → BGIUDL2K.js} +1 -1
  25. package/dist/cdn/{IJKFUMKC.js → C3PVEL66.js} +1 -1
  26. package/dist/cdn/{IJR65YQB.js → CSN6MJ4B.js} +1 -1
  27. package/dist/cdn/{CR2U5KNC.js → DPRUAGVZ.js} +1 -1
  28. package/dist/cdn/{O7NFMOTE.js → ENG2F3IQ.js} +1 -1
  29. package/dist/cdn/{JSFNIFWE.js → EP5BMXUY.js} +1 -1
  30. package/dist/cdn/{3IXFIA6D.js → ETDHU5U4.js} +19 -19
  31. package/dist/cdn/EU6AJ57R.js +2 -0
  32. package/dist/cdn/{HFFXDWQL.js → F2MSD3QS.js} +1 -1
  33. package/dist/cdn/{DYCZXSJG.js → F2WEYOKD.js} +1 -1
  34. package/dist/cdn/{WSSQILRB.js → F3UFKEVT.js} +1 -1
  35. package/dist/cdn/{5SYHQWPP.js → FASMW7S2.js} +1 -1
  36. package/dist/cdn/{JFXCJ6HT.js → FH66KPN5.js} +1 -1
  37. package/dist/cdn/{A5CQKJHA.js → G6DJZSMC.js} +1 -1
  38. package/dist/cdn/{QSJV77RB.js → H5QMZ65D.js} +1 -1
  39. package/dist/cdn/{JO4YQAFF.js → HDHS7RTZ.js} +1 -1
  40. package/dist/cdn/{353KIT3L.js → HPO7UHSN.js} +1 -1
  41. package/dist/cdn/{METDO2QG.js → IMQYTRSY.js} +1 -1
  42. package/dist/cdn/{4GHJREG3.js → J5E4KON6.js} +1 -1
  43. package/dist/cdn/{UDQP2AFN.js → J65VM5UV.js} +1 -1
  44. package/dist/cdn/{VP5MGMQP.js → JPDI5NK6.js} +1 -1
  45. package/dist/cdn/{IS7KQGMM.js → JSJ2OXVP.js} +1 -1
  46. package/dist/cdn/{IGOJGDYE.js → JSUH5PFI.js} +1 -1
  47. package/dist/cdn/{WXO3YJ3T.js → KAVJHTFB.js} +1 -1
  48. package/dist/cdn/{6CPDF77P.js → KCEJQPTE.js} +1 -1
  49. package/dist/cdn/{DCIQMSQ2.js → KDMYI6HZ.js} +1 -1
  50. package/dist/cdn/{RDCTBV2Q.js → KHFNTBX4.js} +1 -1
  51. package/dist/cdn/{MFJINTU5.js → KHV5W5KY.js} +1 -1
  52. package/dist/cdn/{5V33DFCG.js → KIUBFEUI.js} +1 -1
  53. package/dist/cdn/{M6L3GCVZ.js → KKHTRL5K.js} +1 -1
  54. package/dist/cdn/{C6YIO7EV.js → LHQ5R7PX.js} +1 -1
  55. package/dist/cdn/{V4VQT6A6.js → LQL7VPXH.js} +1 -1
  56. package/dist/cdn/{CQORXOQS.js → LYVV7FBJ.js} +1 -1
  57. package/dist/cdn/{LBX6U6EK.js → MDKLQ2IS.js} +2 -2
  58. package/dist/cdn/{SZYIWW3C.js → MRN3GTKF.js} +1 -1
  59. package/dist/cdn/{W7HVSUF2.js → MUFEV5ZR.js} +1 -1
  60. package/dist/cdn/{6H6ZTNGY.js → N26FS3KG.js} +1 -1
  61. package/dist/cdn/{CKD62DZ4.js → N75HEDSD.js} +1 -1
  62. package/dist/cdn/{Q4GIMFJ2.js → NMAG7AL2.js} +1 -1
  63. package/dist/cdn/{KILQBDSV.js → OCCBK5S7.js} +1 -1
  64. package/dist/cdn/{U2VHNPRE.js → OLRPPTEO.js} +1 -1
  65. package/dist/cdn/{3LEJV2CC.js → OR765GRF.js} +1 -1
  66. package/dist/cdn/{GZA5OPRD.js → OUDFAIXR.js} +1 -1
  67. package/dist/cdn/{O34ACKBX.js → P7PD3PBN.js} +1 -1
  68. package/dist/cdn/{BF2U4V7S.js → PAHQAFMT.js} +1 -1
  69. package/dist/cdn/{KRNF2XCU.js → PIOFHDMU.js} +1 -1
  70. package/dist/cdn/{BQMDOKAK.js → POSJMG3Z.js} +1 -1
  71. package/dist/cdn/{MOL3RVAG.js → PUXBUCDR.js} +1 -1
  72. package/dist/cdn/{MDMJT2VS.js → PZRHKUTQ.js} +1 -1
  73. package/dist/cdn/{XIVGFLZQ.js → QHGSGGGJ.js} +1 -1
  74. package/dist/cdn/{PX7QCMDX.js → QHRYG4SP.js} +1 -1
  75. package/dist/cdn/{TV3FXQVK.js → QL5M6E2E.js} +1 -1
  76. package/dist/cdn/{CB3BW4H5.js → QZNI3BD3.js} +1 -1
  77. package/dist/cdn/{DPEEMYYB.js → RBTEJMJT.js} +1 -1
  78. package/dist/cdn/RD2OZ5DF.js +2 -0
  79. package/dist/cdn/{EFFUZV52.js → S2PTOBDF.js} +1 -1
  80. package/dist/cdn/{OCABBLZ7.js → SF3FTQP5.js} +1 -1
  81. package/dist/cdn/{3HZFE5JC.js → SLKGXWIE.js} +1 -1
  82. package/dist/cdn/{V4N4EY2E.js → TLYVHR5K.js} +1 -1
  83. package/dist/cdn/{MVJKABXP.js → UYNE67O2.js} +1 -1
  84. package/dist/cdn/{WVOXFKFO.js → VJG6ZEH4.js} +1 -1
  85. package/dist/cdn/{JNRJSGDP.js → VPCAPPIP.js} +1 -1
  86. package/dist/cdn/{IW27UN5J.js → VSMUBBEN.js} +1 -1
  87. package/dist/cdn/{IJ3OJVJQ.js → W2QXMYBG.js} +1 -1
  88. package/dist/cdn/{32RVL6OQ.js → W6SZDF5T.js} +1 -1
  89. package/dist/cdn/{QOZYAJXQ.js → WDWOAIWE.js} +1 -1
  90. package/dist/cdn/{7TM4LYGN.js → WG2TWSUV.js} +1 -1
  91. package/dist/cdn/{PETPI6FO.js → WQQMTR5J.js} +1 -1
  92. package/dist/cdn/{4UYG2V6P.js → X7OXNUXM.js} +1 -1
  93. package/dist/cdn/{NCOXA4CE.js → XQ5Q4AMB.js} +1 -1
  94. package/dist/cdn/{FK7MIBNE.js → XZAXZDTP.js} +1 -1
  95. package/dist/cdn/{OY5HRHVW.js → YEAARWKU.js} +1 -1
  96. package/dist/cdn/{ITFMAKY3.js → YMAI2PRA.js} +1 -1
  97. package/dist/cdn/Z5KG3KRT.js +2 -0
  98. package/dist/cdn/{LUFRX5TB.js → Z5ZBVJ2L.js} +1 -1
  99. package/dist/cdn/{YW6WBDZV.js → ZD4GMDVL.js} +1 -1
  100. package/dist/cdn/{H3JLQ2R3.js → ZLUIF2K7.js} +1 -1
  101. package/dist/cdn/{ZTVR6KBG.js → ZUN46CYQ.js} +1 -1
  102. package/dist/cdn/{4YOIC4P4.js → ZZAJQVXL.js} +1 -1
  103. package/dist/cdn/index.js +1 -1
  104. package/dist/cdn/model/shared/setup-utils.js +1 -1
  105. package/dist/chunks/action-bar-utils.js +1 -1
  106. package/dist/chunks/box-plot-data.js +1 -1
  107. package/dist/chunks/box-plot-model.js +173 -117
  108. package/dist/chunks/chart-ui-utils.js +7 -7
  109. package/dist/chunks/class-breaks.js +1 -1
  110. package/dist/chunks/combo-bar-line-chart-model.js +1 -1
  111. package/dist/chunks/data.js +9 -9
  112. package/dist/chunks/generate-x-axis-title.js +15 -15
  113. package/dist/chunks/index.js +164 -163
  114. package/dist/chunks/index2.js +1 -1
  115. package/dist/chunks/index3.js +15 -15
  116. package/dist/chunks/index4.js +7 -7
  117. package/dist/chunks/model-setter.js +22 -22
  118. package/dist/chunks/negative-values-stacked-to-baseline.js +1 -1
  119. package/dist/chunks/pie-chart-data.js +4 -4
  120. package/dist/chunks/resource.js +1 -1
  121. package/dist/chunks/rounded-corners.js +1 -1
  122. package/dist/chunks/scatterplot-model.js +1 -1
  123. package/dist/chunks/serial-chart-data.js +2 -2
  124. package/dist/chunks/serial-chart-model.js +131 -76
  125. package/dist/chunks/type-guards2.js +17 -17
  126. package/dist/chunks/utils.js +122 -106
  127. package/dist/chunks/web-component-utils.js +9 -9
  128. package/dist/chunks/x-bounds.js +12 -12
  129. package/dist/components/arcgis-chart/customElement.js +2259 -2254
  130. package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
  131. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  132. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +8 -8
  133. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +4 -4
  134. package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
  135. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
  136. package/dist/components/arcgis-charts-config-create-flow/customElement.js +8 -8
  137. package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
  138. package/dist/components/arcgis-charts-config-format/customElement.js +14 -14
  139. package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
  140. package/dist/components/arcgis-charts-config-guide/customElement.js +11 -11
  141. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  142. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
  143. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +7 -7
  144. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +1 -1
  145. package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
  146. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +9 -9
  147. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  148. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
  149. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +7 -7
  150. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
  151. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +2 -2
  152. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
  153. package/dist/docs/api.json +1 -1
  154. package/dist/docs/docs.json +1 -1
  155. package/dist/docs/web-types.json +1 -1
  156. package/dist/index.js +111 -111
  157. package/dist/model/box-plot-model/box-plot-model.d.ts +20 -1
  158. package/dist/model/interfaces/chart-interfaces.d.ts +3 -0
  159. package/dist/model/interfaces/common.d.ts +2 -0
  160. package/dist/model/serial-chart-model/serial-chart-model.d.ts +20 -1
  161. package/dist/model/shared/setup-utils.d.ts +2 -0
  162. package/dist/model/shared/setup-utils.js +37 -36
  163. package/dist/utils/chart-config/converter/index.js +40 -40
  164. package/dist/utils/data/interfaces.d.ts +1 -0
  165. package/package.json +4 -4
  166. package/dist/cdn/2TV4NKY2.js +0 -2
  167. package/dist/cdn/EXLX4SJG.js +0 -2
  168. package/dist/cdn/GTBT4ACW.js +0 -2
  169. package/dist/cdn/HH5B6KCV.js +0 -2
  170. package/dist/cdn/KZBUDNHW.js +0 -2
  171. package/dist/cdn/KZSCAJDG.js +0 -2
  172. package/dist/cdn/XOTHROVZ.js +0 -2
  173. /package/dist/cdn/{225VUGML.js → IJPD3GVL.js} +0 -0
@@ -1,140 +1,156 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { c as q, a as d, d as A, g as w } from "./chart-object-literals.js";
3
- import { r as I, aj as O, cf as k, cg as V, ch as L, ci as B, O as E, a1 as b } from "./index.js";
4
- import { i as T } from "./type-guards.js";
5
- import { f as M, b as S, i as W, q as $ } from "./index2.js";
6
- import { substitute as h } from "@arcgis/core/intl.js";
7
- import { H as U, a0 as X, a1 as H, X as K, a7 as P, a2 as R } from "./index3.js";
8
- import { g as G } from "./series-types.js";
9
- const se = (s) => {
2
+ import { c as $, a as n, d as h, g as U } from "./chart-object-literals.js";
3
+ import { r as B, aj as T, cg as X, ch as j, ci as D, cj as q, O as H, a1 as I } from "./index.js";
4
+ import { I as K, a0 as G, a1 as Q, X as Y, a7 as z, a2 as J, H as Z } from "./index3.js";
5
+ import { i as w } from "./type-guards.js";
6
+ import { f as _, b as N, i as ee, q as te } from "./index2.js";
7
+ import { g as k } from "./series-types.js";
8
+ import { substitute as O } from "@arcgis/core/intl.js";
9
+ const de = (s) => {
10
10
  const { config: e, axisIndex: i, callback: t } = s;
11
11
  [i !== void 0 ? e.axes?.[i] : e.axes].flat().forEach((a, r) => {
12
12
  a !== void 0 && t(a, i !== void 0 ? i : r);
13
13
  });
14
- }, ae = (s) => {
14
+ }, fe = (s) => {
15
15
  const { config: e, axisIndex: i, callback: t } = s;
16
16
  [i !== void 0 ? e.axes?.[i] : e.axes].flat().forEach((a) => {
17
- a !== void 0 && O(a.valueFormat) && t(a);
17
+ a !== void 0 && T(a.valueFormat) && t(a);
18
18
  });
19
19
  };
20
- function re(s, e, i) {
20
+ function ge(s, e, i) {
21
21
  const t = s?.axes?.[e];
22
- t?.title !== void 0 ? t.title.content.text = i : t !== void 0 && (t.title = X({
22
+ t?.title !== void 0 ? t.title.content.text = i : t !== void 0 && (t.title = G({
23
23
  text: i,
24
24
  visible: !0,
25
- font: H(R.AxisTitle)
25
+ font: Q(J.AxisTitle)
26
26
  }));
27
27
  }
28
- function oe(s) {
28
+ function xe(s) {
29
29
  const { config: e, layerInfo: i, commonStrings: t, numericFields: a, aggregationType: r } = s;
30
30
  let o = "";
31
31
  if (e)
32
- if (M(e) === q.Stacked100)
32
+ if (_(e) === $.Stacked100)
33
33
  o = t.utilsStrings.statistics.percent;
34
34
  else {
35
- const f = U(r, t);
36
- if (e.series[0]?.type === d.HeatSeries)
37
- o = S(i.layerFieldsInfo, e.series[0].y);
35
+ const f = K(r, t);
36
+ if (e.series[0]?.type === n.HeatSeries)
37
+ o = N(i.layerFieldsInfo, e.series[0].y);
38
38
  else if (a.length === 1) {
39
- const g = S(i.layerFieldsInfo, a[0]), n = I(i.layer).idField;
40
- r === A.NoAggregation ? o = g : r === A.Count && n !== void 0 && a[0] === n ? o = t.utilsStrings.statistics.count : o = h(t.axisLabels.aggregationOfFieldName, {
39
+ const g = N(i.layerFieldsInfo, a[0]), l = B(i.layer).idField;
40
+ r === h.NoAggregation ? o = g : r === h.Count && l !== void 0 && a[0] === l ? o = t.utilsStrings.statistics.count : o = O(t.axisLabels.aggregationOfFieldName, {
41
41
  aggregation: f,
42
42
  fieldName: g
43
43
  });
44
- } else a.length > 1 && (r === A.NoAggregation ? o = t.axisLabels.values : o = h(t.axisLabels.aggregationOfValues, {
44
+ } else a.length > 1 && (r === h.NoAggregation ? o = t.axisLabels.values : o = O(t.axisLabels.aggregationOfValues, {
45
45
  aggregation: f
46
46
  }));
47
47
  }
48
48
  return o;
49
49
  }
50
- const j = (s, e, i) => s.axes?.[e] ?? P(i, s.type)[e], C = (s) => {
50
+ const E = (s, e, i) => s.axes?.[e] ?? z(i, s.type)[e], M = (s) => {
51
51
  const { config: e, axis: i, axisIndex: t } = s;
52
52
  e.axes !== void 0 && (e.axes[t] = i);
53
- }, ne = (s) => {
53
+ }, me = (s) => {
54
54
  const { config: e, axisIndex: i, isMax: t } = s;
55
55
  let a = Number.NaN;
56
56
  return t ? a = e.axes?.[i]?.maximum : a = e.axes?.[i]?.minimum, a ?? Number.NaN;
57
- }, v = (s) => {
57
+ }, C = (s) => {
58
58
  const { config: e, value: i, axisIndex: t, isMax: a } = s, r = e?.axes?.[t];
59
59
  r !== void 0 && (a ? r.maximum = i : r.minimum = i);
60
- }, le = (s) => s.axes?.[0]?.valueFormat ?? K(), ce = (s, e, i) => {
61
- const t = j(s, 0, e);
60
+ }, ye = (s) => s.axes?.[0]?.valueFormat ?? Y(), pe = (s, e, i) => {
61
+ const t = E(s, 0, e);
62
62
  if (t !== void 0 && i !== void 0) {
63
63
  const a = {
64
64
  ...t,
65
65
  valueFormat: i
66
66
  };
67
- C({ config: s, axis: a, axisIndex: 0 });
67
+ M({ config: s, axis: a, axisIndex: 0 });
68
68
  }
69
- }, ue = (s, e, i) => {
69
+ }, Fe = (s, e, i) => {
70
70
  const t = s.axes?.[e];
71
71
  t !== void 0 && (t.integerOnlyValues = i);
72
- }, Q = (s) => {
73
- const e = G(s.series);
74
- return e === d.BarSeries || e === d.ComboLineAndBarSeries || e === d.LineSeries;
75
- }, Y = (s) => {
72
+ }, ie = (s) => {
73
+ const e = k(s.series);
74
+ return e === n.BarSeries || e === n.ComboLineAndBarSeries || e === n.LineSeries;
75
+ }, se = (s) => {
76
76
  const { axisIndex: e, config: i, isMultiAxis: t } = s;
77
77
  let a = !1;
78
- return e === 0 || e === 1 && t ? a = !0 : e === 2 && (a = Q(i)), a;
79
- }, fe = (s) => {
78
+ return e === 0 || e === 1 && t ? a = !0 : e === 2 && (a = ie(i)), a;
79
+ }, Se = (s) => {
80
80
  const { axisIndex: e, func: i, config: t } = s;
81
- return Y({ axisIndex: e, config: t, isMultiAxis: !0 }) ? i(e) : void 0;
82
- }, N = (s, e) => {
81
+ return se({ axisIndex: e, config: t, isMultiAxis: !0 }) ? i(e) : void 0;
82
+ }, V = (s, e) => {
83
83
  let i;
84
84
  const t = e.axes?.[s]?.valueFormat;
85
- return (s === 0 || s >= 1 && O(t)) && (i = t), i;
86
- }, de = (s) => {
87
- const { config: e, commonStrings: i, valueFormat: t, axisIndex: a = 0 } = s, r = j(e, a, i);
85
+ return (s === 0 || s >= 1 && T(t)) && (i = t), i;
86
+ }, he = (s) => {
87
+ const { config: e, commonStrings: i, valueFormat: t, axisIndex: a = 0 } = s, r = E(e, a, i);
88
88
  if (r !== void 0 && t !== void 0) {
89
89
  const o = {
90
90
  ...r,
91
91
  valueFormat: t
92
92
  };
93
- C({
93
+ M({
94
94
  config: e,
95
95
  axis: o,
96
96
  axisIndex: a
97
97
  });
98
98
  }
99
- }, ge = (s, e) => s.axes?.[e]?.isLogarithmic ?? !1, xe = (s) => {
99
+ }, Ae = (s, e) => s.axes?.[e]?.isLogarithmic ?? !1, be = (s) => {
100
100
  const { config: e, isLogarithmic: i, axisIndex: t } = s, a = e.axes?.[t];
101
- a && (a.isLogarithmic = i, v({ config: e, value: null, axisIndex: t, isMax: !0 }), v({ config: e, value: null, axisIndex: t, isMax: !1 }));
102
- }, ye = (s) => {
101
+ a && (a.isLogarithmic = i, C({ config: e, value: null, axisIndex: t, isMax: !0 }), C({ config: e, value: null, axisIndex: t, isMax: !1 }));
102
+ }, ve = (s) => {
103
103
  const { config: e, scrollbar: i, axisIndex: t } = s;
104
104
  e.axes?.[t] !== void 0 && (e.axes[t].scrollbar = i);
105
105
  };
106
- async function me(s) {
107
- const { config: e, layer: i, xAxisField: t, splitByField: a, layerFieldsInfo: r, aggregationFields: o, fetchNullValues: u, errorStrings: f } = s, n = r.filter((F) => F.name === a)[0]?.type, x = u !== !0 ? `${a} IS NOT NULL` : "", l = t && u !== !0 ? `${t} IS NOT NULL` : "", { where: m } = e?.dataFilters ?? {}, D = {
108
- where: V([m, x, l]),
106
+ async function Le(s) {
107
+ const {
108
+ config: e,
109
+ layer: i,
110
+ xAxisField: t,
111
+ splitByField: a,
112
+ layerFieldsInfo: r,
113
+ aggregationFields: o,
114
+ fetchNullValues: d,
115
+ chartLimits: f,
116
+ errorStrings: g
117
+ } = s, m = r.filter((S) => S.name === a)[0]?.type, c = d !== !0 ? `${a} IS NOT NULL` : "", p = t && d !== !0 ? `${t} IS NOT NULL` : "", A = k(e?.series), { where: P } = e?.dataFilters ?? {}, R = {
118
+ where: j([P, c, p]),
109
119
  // excluding the null values from the list
110
- orderByFields: W(a) ? [] : [`${a} ${w.Ascending}`],
120
+ orderByFields: ee(a) ? [] : [`${a} ${U.Ascending}`],
111
121
  // default sorting ascending for split-by field
112
122
  geometry: e?.dataFilters?.geometry
113
123
  };
114
- let p = "";
115
- o?.length === 0 ? p = I(i).idField : o && ([p] = o);
116
- let y = i ? T(i) ? await L({
124
+ let F = "";
125
+ o?.length === 0 ? F = B(i).idField : o && ([F] = o);
126
+ let x = i ? w(i) ? await D({
117
127
  layer: i,
118
128
  category: e?.series[0].x ?? "",
119
129
  splitByField: a
120
- }) : await B({
130
+ }) : await q({
121
131
  queryObject: i,
122
132
  category: e?.series[0].x ?? "",
123
133
  splitByField: a,
124
- queryConfig: D,
125
- errorStrings: f
134
+ queryConfig: R,
135
+ errorStrings: g
126
136
  }) : [];
127
- if (y = y.slice(0, 500), e) {
128
- const F = e?.series.map((c) => E({ where: c.query?.where })?.toString() ?? "").filter((c) => c !== void 0 && c !== "");
129
- y = $({
130
- arrayA: y,
131
- arrayB: F,
132
- getKey: (c) => c === null ? null : c?.toString()
137
+ const y = Z(f), W = {
138
+ [n.BarSeries]: y.maxBarChartSeriesCount,
139
+ [n.BoxPlotSeries]: y.maxBoxPlotSeriesCount,
140
+ [n.LineSeries]: y.maxLineChartSeriesCount,
141
+ [n.RadarSeries]: y.maxRadarChartSeriesCount
142
+ }, b = (A ? W[A] : void 0) ?? y.serialChart.series, v = x.length, L = v > b;
143
+ if (L && (x = x.slice(0, b)), e) {
144
+ const S = e?.series.map((u) => H({ where: u.query?.where })?.toString() ?? "").filter((u) => u !== void 0 && u !== "");
145
+ x = te({
146
+ arrayA: x,
147
+ arrayB: S,
148
+ getKey: (u) => u === null ? null : u?.toString()
133
149
  });
134
150
  }
135
- return { categoriesArray: y, splitByFieldType: n, numericalField: p };
151
+ return { categoriesArray: x, seriesLimitReached: L, totalSeriesCount: v, splitByFieldType: m, numericalField: F };
136
152
  }
137
- function pe(s, e) {
153
+ function Ie(s, e) {
138
154
  let i = e === "";
139
155
  for (const t of s)
140
156
  if (e === t.name) {
@@ -143,8 +159,8 @@ function pe(s, e) {
143
159
  }
144
160
  return i;
145
161
  }
146
- function Fe(s, e) {
147
- const i = k(s);
162
+ function Ne(s, e) {
163
+ const i = X(s);
148
164
  let t = e.length === 0, a = 0;
149
165
  for (const r of e) {
150
166
  for (const o of i)
@@ -157,7 +173,7 @@ function Fe(s, e) {
157
173
  }
158
174
  return t;
159
175
  }
160
- function Ae(s, e) {
176
+ function Oe(s, e) {
161
177
  e.forEach((i) => {
162
178
  Object.getOwnPropertyNames(i.prototype).forEach((t) => {
163
179
  Object.defineProperty(
@@ -168,60 +184,60 @@ function Ae(s, e) {
168
184
  });
169
185
  });
170
186
  }
171
- async function be(s) {
172
- const { layerInfo: e, config: i, category: t, errorStrings: a } = s, { layer: r } = e, { where: o } = i?.dataFilters ?? {}, { fetchNullValues: u } = i?.series?.[0]?.query ?? {}, f = u !== !0 ? `${t} IS NOT NULL` : "", g = {
173
- where: V([o, f]),
187
+ async function Ce(s) {
188
+ const { layerInfo: e, config: i, category: t, errorStrings: a } = s, { layer: r } = e, { where: o } = i?.dataFilters ?? {}, { fetchNullValues: d } = i?.series?.[0]?.query ?? {}, f = d !== !0 ? `${t} IS NOT NULL` : "", g = {
189
+ where: j([o, f]),
174
190
  // excluding the null values from the list
175
191
  orderByFields: [],
176
192
  geometry: i?.dataFilters?.geometry
177
193
  };
178
- let n;
179
- return T(r) ? n = (await L({
194
+ let l;
195
+ return w(r) ? l = (await D({
180
196
  layer: r,
181
197
  category: t,
182
- fetchNullValues: u
183
- })).map((x) => {
184
- const l = String(x);
185
- return b({
198
+ fetchNullValues: d
199
+ })).map((m) => {
200
+ const c = String(m);
201
+ return I({
186
202
  queryObject: e.layer,
187
203
  fieldName: t,
188
- fieldValue: l
189
- }) ?? l;
190
- }) : n = // fetch unique category values asynchronously
191
- (await B({ queryObject: r, category: t, queryConfig: g, errorStrings: a })).map(
192
- (x) => {
193
- const l = String(x);
194
- return b({
204
+ fieldValue: c
205
+ }) ?? c;
206
+ }) : l = // fetch unique category values asynchronously
207
+ (await q({ queryObject: r, category: t, queryConfig: g, errorStrings: a })).map(
208
+ (m) => {
209
+ const c = String(m);
210
+ return I({
195
211
  queryObject: e.layer,
196
212
  fieldName: t,
197
- fieldValue: l
198
- }) ?? l;
213
+ fieldValue: c
214
+ }) ?? c;
199
215
  }
200
- ), n;
216
+ ), l;
201
217
  }
202
- function Se(s) {
203
- return s !== void 0 && N(0, s)?.type === d.CategoryAxisFormat && N(1, s)?.type === d.CategoryAxisFormat;
218
+ function Ve(s) {
219
+ return s !== void 0 && V(0, s)?.type === n.CategoryAxisFormat && V(1, s)?.type === n.CategoryAxisFormat;
204
220
  }
205
221
  export {
206
- le as a,
207
- be as b,
208
- ce as c,
209
- v as d,
210
- ue as e,
211
- se as f,
212
- oe as g,
213
- Ae as h,
214
- Se as i,
215
- pe as j,
216
- Fe as k,
217
- me as l,
218
- ae as m,
219
- ne as n,
220
- N as o,
221
- ge as p,
222
- xe as q,
223
- fe as r,
224
- de as s,
225
- ye as t,
226
- re as u
222
+ ye as a,
223
+ Ce as b,
224
+ pe as c,
225
+ C as d,
226
+ Fe as e,
227
+ de as f,
228
+ xe as g,
229
+ Oe as h,
230
+ Ve as i,
231
+ Ie as j,
232
+ Ne as k,
233
+ Le as l,
234
+ fe as m,
235
+ me as n,
236
+ V as o,
237
+ Ae as p,
238
+ be as q,
239
+ Se as r,
240
+ he as s,
241
+ ve as t,
242
+ ge as u
227
243
  };
@@ -7,8 +7,8 @@ import { g as me, a as de, b as ye } from "./pie-chart-data.js";
7
7
  import { a as ie } from "./series-length.js";
8
8
  import { g as re, d as le, e as ge } from "./serial-chart-data.js";
9
9
  import { g as z, a as pe } from "./data.js";
10
- import { p as U, r as be, q as xe, U as E, H as Fe, P, a1 as Ce, aQ as De, bM as Se } from "./index.js";
11
- import { i as Y, J as $, l as R, K as ve, L as Be, M as Q } from "./index3.js";
10
+ import { p as U, r as be, q as xe, U as E, H as Fe, P, a1 as Ce, aQ as De, bN as Se } from "./index.js";
11
+ import { i as Y, K as $, l as R, M as ve, N as Be, O as Q } from "./index3.js";
12
12
  import { i as K, a as g, C as A } from "./index2.js";
13
13
  import { g as he } from "./series-types.js";
14
14
  import { V as Pe } from "./index5.js";
@@ -47,7 +47,7 @@ function Oe(l) {
47
47
  }
48
48
  return i;
49
49
  }
50
- function J(l) {
50
+ function G(l) {
51
51
  const { value: e, formatLocale: t, unit: a, config: o, utilsStrings: i } = l;
52
52
  let r = { label: "", value: e.toString() };
53
53
  switch (a) {
@@ -131,7 +131,7 @@ function ke(l) {
131
131
  maximumFractionDigits: 1
132
132
  }).formatToParts(1.1).find((t) => t.type === "decimal")?.value ?? ".";
133
133
  }
134
- const G = (l) => {
134
+ const J = (l) => {
135
135
  const { value: e, quoteAll: t = !1, locale: a, roundDecimals: o } = l;
136
136
  let i = e == null ? "" : String(e);
137
137
  if (e === null)
@@ -153,11 +153,11 @@ function ct(l, e = {}) {
153
153
  const f = t ?? Object.keys(l[0]), u = [], p = a ?? we(r ?? "en");
154
154
  if (r !== void 0 && p !== "," && (c += `sep=${p}\r
155
155
  `), o) {
156
- const v = f.map((b) => G({ value: b, quoteAll: i, locale: r, roundDecimals: n }));
156
+ const v = f.map((b) => J({ value: b, quoteAll: i, locale: r, roundDecimals: n }));
157
157
  u.push(v.join(p));
158
158
  }
159
159
  l.forEach((v) => {
160
- const b = f.map((x) => G({ value: v[x], quoteAll: i, locale: r, roundDecimals: n }));
160
+ const b = f.map((x) => J({ value: v[x], quoteAll: i, locale: r, roundDecimals: n }));
161
161
  u.push(b.join(p));
162
162
  }), c += u.join(`\r
163
163
  `);
@@ -296,7 +296,7 @@ function Te(l) {
296
296
  const v = p[Y.xField], b = p[Y.yField], x = p[Y.valueField], C = typeof x == "number" && Number.isFinite(x) ? x.toFixed(2) : x;
297
297
  let m = { label: n.x, value: v }, d = { label: n.y, value: b };
298
298
  if (n.xTemporalBinning !== void 0) {
299
- const { label: F, value: D } = J({
299
+ const { label: F, value: D } = G({
300
300
  value: Number(v),
301
301
  config: e,
302
302
  formatLocale: i,
@@ -306,7 +306,7 @@ function Te(l) {
306
306
  !K(F) && !K(D) && (m = { label: F, value: D });
307
307
  }
308
308
  if (n.yTemporalBinning !== void 0) {
309
- const { label: F, value: D } = J({
309
+ const { label: F, value: D } = G({
310
310
  value: Number(b),
311
311
  config: e,
312
312
  formatLocale: i,
@@ -832,7 +832,7 @@ export {
832
832
  mt as d,
833
833
  ct as e,
834
834
  Me as f,
835
- J as g,
835
+ G as g,
836
836
  ut as h,
837
837
  ft as t
838
838
  };
@@ -4,12 +4,12 @@ import { cloneDeep as _ } from "es-toolkit/compat";
4
4
  import { G as c } from "./common.js";
5
5
  import { b as g } from "./rest-js-object-literals.js";
6
6
  import { a as x } from "./chart-object-literals.js";
7
- import { N as S, a1 as L, a2 as b, t as T } from "./index3.js";
8
- import { bO as X, b as C, i as B } from "./index.js";
7
+ import { P as S, a1 as L, a2 as b, t as T } from "./index3.js";
8
+ import { bP as X, b as C, i as B } from "./index.js";
9
9
  import { m as r, C as f } from "./model-setter.js";
10
10
  import { f as A, e as M } from "./utils2.js";
11
- import { n as y, d as v, h as O } from "./utils.js";
12
- const P = (t) => {
11
+ import { n as y, d as v, h as P } from "./utils.js";
12
+ const O = (t) => {
13
13
  for (const e of t.axes ?? [])
14
14
  for (const i of e?.guides ?? [])
15
15
  if (i.label !== void 0)
@@ -55,13 +55,13 @@ const V = (t) => {
55
55
  }, j = (t) => {
56
56
  const { axis: e, index: i } = a(t);
57
57
  return e?.guides?.[i]?.name;
58
- }, N = (t) => {
58
+ }, $ = (t) => {
59
59
  const { name: e, axis: i, index: s } = a(t);
60
60
  i?.guides?.[s] !== void 0 && (i.guides[s].name = e);
61
- }, $ = (t) => {
61
+ }, I = (t) => {
62
62
  const { axis: e, index: i } = a(t);
63
63
  return e?.guides?.[i]?.label?.text;
64
- }, I = (t) => {
64
+ }, N = (t) => {
65
65
  const { labelText: e, axis: i, index: s } = a(t), o = i?.guides?.[s]?.label ?? S(e, L(b.GuideLabel), b.GuideLabel);
66
66
  i?.guides?.[s] !== void 0 && (i.guides[s].label = { ...o, text: e });
67
67
  }, Y = (t) => {
@@ -110,7 +110,7 @@ class u extends h {
110
110
  * The guide labels text symbol (font, color, style).
111
111
  */
112
112
  get guideLabelsSymbol() {
113
- return P(this._config);
113
+ return O(this._config);
114
114
  }
115
115
  set guideLabelsSymbol(e) {
116
116
  D(e, this._config);
@@ -161,7 +161,7 @@ class u extends h {
161
161
  return j({ config: this._config, index: e, orientation: i });
162
162
  }
163
163
  setGuideName(e, i, s) {
164
- N({ name: e, config: this._config, index: i, orientation: s });
164
+ $({ name: e, config: this._config, index: i, orientation: s });
165
165
  }
166
166
  /**
167
167
  * Gets the guide label text.
@@ -170,10 +170,10 @@ class u extends h {
170
170
  * @param orientation - Default `y`. The axis orientation of the guide.
171
171
  */
172
172
  getGuideLabelText(e, i) {
173
- return $({ config: this._config, index: e, orientation: i });
173
+ return I({ config: this._config, index: e, orientation: i });
174
174
  }
175
175
  setGuideLabelText(e, i, s) {
176
- I({ labelText: e, config: this._config, index: i, orientation: s });
176
+ N({ labelText: e, config: this._config, index: i, orientation: s });
177
177
  }
178
178
  /**
179
179
  * Gets whether the guide should be rendered above the other chart elements.
@@ -306,7 +306,7 @@ ne([
306
306
  ], p.prototype, "minXBound");
307
307
  class re extends f {
308
308
  }
309
- O(re, [G, p]);
309
+ P(re, [G, p]);
310
310
  export {
311
311
  u as M,
312
312
  he as W,