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

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 (188) hide show
  1. package/dist/cdn/{4UYG2V6P.js → 2IW2QZFJ.js} +1 -1
  2. package/dist/cdn/{CB3BW4H5.js → 2PJPH3IO.js} +1 -1
  3. package/dist/cdn/{WTMEWLUJ.js → 3W4HHL2V.js} +1 -1
  4. package/dist/cdn/{32RVL6OQ.js → 4MAJ24GS.js} +1 -1
  5. package/dist/cdn/4U3OAZA7.js +2 -0
  6. package/dist/cdn/{BQMUOJL7.js → 4VFEZCIA.js} +1 -1
  7. package/dist/cdn/{MQI4ZLAS.js → 5434ASC3.js} +1 -1
  8. package/dist/cdn/{NCOXA4CE.js → 56LNZVTX.js} +1 -1
  9. package/dist/cdn/{HFFXDWQL.js → 57SE2XVZ.js} +1 -1
  10. package/dist/cdn/{DYCZXSJG.js → 5BMODU2D.js} +1 -1
  11. package/dist/cdn/{BQMDOKAK.js → 5BNYRPXI.js} +1 -1
  12. package/dist/cdn/{H4UKMJ3M.js → 5MDZB2JE.js} +1 -1
  13. package/dist/cdn/{VP5MGMQP.js → 5R7ZWTMY.js} +1 -1
  14. package/dist/cdn/6664UEHL.js +2 -0
  15. package/dist/cdn/{N4YN5XHL.js → 6AKXJHB7.js} +1 -1
  16. package/dist/cdn/{CQORXOQS.js → 6GTMALBB.js} +1 -1
  17. package/dist/cdn/{YW6WBDZV.js → 6MHADUGC.js} +1 -1
  18. package/dist/cdn/{XIVGFLZQ.js → 6QIL7VBD.js} +1 -1
  19. package/dist/cdn/{GZA5OPRD.js → 763Z5IGF.js} +1 -1
  20. package/dist/cdn/7KZO2XXD.js +2 -0
  21. package/dist/cdn/{KYQWN5DR.js → 7OESRD4R.js} +1 -1
  22. package/dist/cdn/{UDQP2AFN.js → A5P6WB3G.js} +1 -1
  23. package/dist/cdn/{FK7MIBNE.js → AMVJMEWD.js} +1 -1
  24. package/dist/cdn/{A5CQKJHA.js → ANSNUR3I.js} +1 -1
  25. package/dist/cdn/{RDCTBV2Q.js → AOKEN5ZO.js} +1 -1
  26. package/dist/cdn/{EXCMERSU.js → AOO37P5T.js} +1 -1
  27. package/dist/cdn/{4GHJREG3.js → ASBXNQOS.js} +2 -2
  28. package/dist/cdn/{GCPA466R.js → B5VRC7DP.js} +1 -1
  29. package/dist/cdn/{RPUEIRTH.js → BGIUDL2K.js} +1 -1
  30. package/dist/cdn/{OO4U6KKQ.js → CD3XMKTK.js} +1 -1
  31. package/dist/cdn/{5V33DFCG.js → CRDOGPB7.js} +1 -1
  32. package/dist/cdn/{KILQBDSV.js → CW4JPG3J.js} +1 -1
  33. package/dist/cdn/DAB3SJBG.js +2 -0
  34. package/dist/cdn/{IJR65YQB.js → DX7M2EXK.js} +1 -1
  35. package/dist/cdn/{BUXZ2NBS.js → DXWP65HI.js} +1 -1
  36. package/dist/cdn/{6H6ZTNGY.js → E5JWMNIW.js} +1 -1
  37. package/dist/cdn/{IKH7UGJM.js → EJXBVT5O.js} +1 -1
  38. package/dist/cdn/{ITFMAKY3.js → EX2R2B4U.js} +1 -1
  39. package/dist/cdn/{WSSQILRB.js → F3UFKEVT.js} +1 -1
  40. package/dist/cdn/{5SYHQWPP.js → FASMW7S2.js} +1 -1
  41. package/dist/cdn/{WXO3YJ3T.js → G4MIOOVR.js} +1 -1
  42. package/dist/cdn/{MVJKABXP.js → GMP2UWJG.js} +1 -1
  43. package/dist/cdn/{O7NFMOTE.js → GZWV22RE.js} +1 -1
  44. package/dist/cdn/{STFT35NP.js → HKFQANWN.js} +1 -1
  45. package/dist/cdn/{3HZFE5JC.js → HQMCT3VB.js} +1 -1
  46. package/dist/cdn/I3LNZVEA.js +3 -0
  47. package/dist/cdn/{ZRYPRUVT.js → IBLYUVF2.js} +1 -1
  48. package/dist/cdn/{CR2U5KNC.js → IJAURACW.js} +1 -1
  49. package/dist/cdn/{C6YIO7EV.js → IS2A63E6.js} +1 -1
  50. package/dist/cdn/{PX7QCMDX.js → IYI6DUGL.js} +1 -1
  51. package/dist/cdn/{Q4HYSXEK.js → JOEBZXL4.js} +1 -1
  52. package/dist/cdn/{IGOJGDYE.js → JSUH5PFI.js} +1 -1
  53. package/dist/cdn/{JO4YQAFF.js → JZ6V5FKE.js} +1 -1
  54. package/dist/cdn/{IJKFUMKC.js → K3R6EK3N.js} +1 -1
  55. package/dist/cdn/{3IXFIA6D.js → KS4EBLYJ.js} +22 -22
  56. package/dist/cdn/{BF2U4V7S.js → KW4KLLTK.js} +1 -1
  57. package/dist/cdn/{W7HVSUF2.js → LE2B3JXK.js} +1 -1
  58. package/dist/cdn/{V4N4EY2E.js → LHGIUJ6U.js} +1 -1
  59. package/dist/cdn/{JNRJSGDP.js → LV3GHN5L.js} +1 -1
  60. package/dist/cdn/{JFXCJ6HT.js → M2WD5JN6.js} +1 -1
  61. package/dist/cdn/{SZYIWW3C.js → MRN3GTKF.js} +1 -1
  62. package/dist/cdn/{CKD62DZ4.js → N75HEDSD.js} +1 -1
  63. package/dist/cdn/{OCABBLZ7.js → NNRSK2LV.js} +1 -1
  64. package/dist/cdn/ONKX4PWR.js +2 -0
  65. package/dist/cdn/{3LEJV2CC.js → OR765GRF.js} +1 -1
  66. package/dist/cdn/{V4VQT6A6.js → PEHD5Y4I.js} +1 -1
  67. package/dist/cdn/{JSFNIFWE.js → QELGEYXU.js} +1 -1
  68. package/dist/cdn/QZHRLUXI.js +2 -0
  69. package/dist/cdn/{DPEEMYYB.js → RBTEJMJT.js} +1 -1
  70. package/dist/cdn/RD2OZ5DF.js +2 -0
  71. package/dist/cdn/{EFFUZV52.js → RPMGP2UN.js} +1 -1
  72. package/dist/cdn/{H3JLQ2R3.js → RS2T6377.js} +1 -1
  73. package/dist/cdn/SKRBORPC.js +2 -0
  74. package/dist/cdn/SL3ZM7G5.js +2 -0
  75. package/dist/cdn/{353KIT3L.js → SYSQA3IG.js} +1 -1
  76. package/dist/cdn/{IS7KQGMM.js → T6RCABY5.js} +1 -1
  77. package/dist/cdn/{TV3FXQVK.js → TCYUL3JC.js} +1 -1
  78. package/dist/cdn/{MOL3RVAG.js → TIVS64YH.js} +1 -1
  79. package/dist/cdn/{O34ACKBX.js → TPTH224R.js} +1 -1
  80. package/dist/cdn/{DCIQMSQ2.js → TRR5AXW7.js} +1 -1
  81. package/dist/cdn/{LUFRX5TB.js → UEAU7YQZ.js} +1 -1
  82. package/dist/cdn/{ZP4T262N.js → UPEMQGFY.js} +1 -1
  83. package/dist/cdn/{6CPDF77P.js → UY4AKYFU.js} +1 -1
  84. package/dist/cdn/{MDMJT2VS.js → UYFTXYBR.js} +1 -1
  85. package/dist/cdn/{M6L3GCVZ.js → V3HNAMD7.js} +1 -1
  86. package/dist/cdn/{QOZYAJXQ.js → VFVOONAN.js} +1 -1
  87. package/dist/cdn/{WVOXFKFO.js → VJG6ZEH4.js} +1 -1
  88. package/dist/cdn/{IW27UN5J.js → VSMUBBEN.js} +1 -1
  89. package/dist/cdn/{U2O4NGY5.js → VT2XOG5Y.js} +1 -1
  90. package/dist/cdn/{IJ3OJVJQ.js → W2QXMYBG.js} +1 -1
  91. package/dist/cdn/{7TM4LYGN.js → WG2TWSUV.js} +1 -1
  92. package/dist/cdn/{IYVSAR3D.js → WOENRIAM.js} +1 -1
  93. package/dist/cdn/{PETPI6FO.js → WQQMTR5J.js} +1 -1
  94. package/dist/cdn/{OY5HRHVW.js → WW7WSQXS.js} +1 -1
  95. package/dist/cdn/{MFJINTU5.js → YHQ5JR63.js} +1 -1
  96. package/dist/cdn/YQDW3D4E.js +2 -0
  97. package/dist/cdn/{METDO2QG.js → YRWKRJU4.js} +1 -1
  98. package/dist/cdn/{U2VHNPRE.js → YSLCFR5X.js} +1 -1
  99. package/dist/cdn/{CQLILZFZ.js → YSZKMYYU.js} +1 -1
  100. package/dist/cdn/{QSJV77RB.js → YUN3KGXG.js} +1 -1
  101. package/dist/cdn/Z5VGMG7G.js +2 -0
  102. package/dist/cdn/{ZTVR6KBG.js → ZUN46CYQ.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 +11 -11
  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/heat-chart-model.js +9 -0
  114. package/dist/chunks/index.js +1590 -1574
  115. package/dist/chunks/index2.js +7 -1
  116. package/dist/chunks/index3.js +15 -15
  117. package/dist/chunks/index4.js +7 -7
  118. package/dist/chunks/model-setter.js +21 -21
  119. package/dist/chunks/negative-values-stacked-to-baseline.js +1 -1
  120. package/dist/chunks/pie-chart-data.js +4 -4
  121. package/dist/chunks/pie-chart-model.js +102 -84
  122. package/dist/chunks/resource.js +1 -1
  123. package/dist/chunks/rounded-corners.js +1 -1
  124. package/dist/chunks/scatterplot-model.js +1 -1
  125. package/dist/chunks/serial-chart-data.js +71 -71
  126. package/dist/chunks/serial-chart-model.js +134 -79
  127. package/dist/chunks/type-guards2.js +17 -17
  128. package/dist/chunks/utils.js +123 -107
  129. package/dist/chunks/web-component-utils.js +9 -9
  130. package/dist/chunks/x-bounds.js +21 -21
  131. package/dist/components/arcgis-chart/customElement.js +4775 -4653
  132. package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
  133. package/dist/components/arcgis-charts-config-axis/customElement.js +52 -42
  134. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  135. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +11 -11
  136. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +6 -6
  137. package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
  138. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
  139. package/dist/components/arcgis-charts-config-create-flow/customElement.js +10 -10
  140. package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
  141. package/dist/components/arcgis-charts-config-format/customElement.js +6 -6
  142. package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
  143. package/dist/components/arcgis-charts-config-guide/customElement.js +14 -14
  144. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  145. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
  146. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +54 -63
  147. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +2 -2
  148. package/dist/components/arcgis-charts-config-histogram/customElement.js +4 -4
  149. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +9 -9
  150. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
  151. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  152. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +2 -2
  153. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +7 -7
  154. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
  155. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +2 -2
  156. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +5 -5
  157. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
  158. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
  159. package/dist/docs/api.json +1 -1
  160. package/dist/docs/docs.json +1 -1
  161. package/dist/docs/web-types.json +1 -1
  162. package/dist/index.js +368 -366
  163. package/dist/interfaces.d.ts +3 -2
  164. package/dist/model/box-plot-model/box-plot-model.d.ts +20 -1
  165. package/dist/model/heat-chart-model/heat-chart-model.d.ts +7 -1
  166. package/dist/model/interfaces/chart-interfaces.d.ts +3 -0
  167. package/dist/model/interfaces/common.d.ts +2 -0
  168. package/dist/model/pie-chart-model/pie-chart-model.d.ts +13 -1
  169. package/dist/model/serial-chart-model/serial-chart-model.d.ts +20 -1
  170. package/dist/model/shared/setup-utils.d.ts +2 -0
  171. package/dist/model/shared/setup-utils.js +37 -36
  172. package/dist/utils/chart-config/converter/index.js +48 -48
  173. package/dist/utils/chart-config/utils/index.d.ts +20 -0
  174. package/dist/utils/data/interfaces.d.ts +1 -0
  175. package/package.json +4 -4
  176. package/dist/cdn/2TV4NKY2.js +0 -2
  177. package/dist/cdn/4YOIC4P4.js +0 -2
  178. package/dist/cdn/ELXF6XQQ.js +0 -2
  179. package/dist/cdn/EXLX4SJG.js +0 -2
  180. package/dist/cdn/GTBT4ACW.js +0 -2
  181. package/dist/cdn/HH5B6KCV.js +0 -2
  182. package/dist/cdn/KRNF2XCU.js +0 -2
  183. package/dist/cdn/KZBUDNHW.js +0 -2
  184. package/dist/cdn/KZSCAJDG.js +0 -2
  185. package/dist/cdn/LBX6U6EK.js +0 -3
  186. package/dist/cdn/Q4GIMFJ2.js +0 -2
  187. package/dist/cdn/XOTHROVZ.js +0 -2
  188. /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, ch as X, ci as j, cj as D, ck as k, 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 q } from "./type-guards.js";
6
+ import { f as _, b as N, i as ee, q as te } from "./index2.js";
7
+ import { g as w } 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 xe(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 ge(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 x = N(i.layerFieldsInfo, a[0]), l = B(i.layer).idField;
40
+ r === h.NoAggregation ? o = x : r === h.Count && l !== void 0 && a[0] === l ? o = t.utilsStrings.statistics.count : o = O(t.axisLabels.aggregationOfFieldName, {
41
41
  aggregation: f,
42
- fieldName: g
42
+ fieldName: x
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 = w(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: x
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 = w(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 g = i ? q(i) ? await D({
117
127
  layer: i,
118
128
  category: e?.series[0].x ?? "",
119
129
  splitByField: a
120
- }) : await B({
130
+ }) : await k({
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: x
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 = g.length, L = v > b;
143
+ if (L && (g = g.slice(0, b)), e) {
144
+ const S = e?.series.map((u) => H({ where: u.query?.where })?.toString() ?? "").filter((u) => u !== void 0 && u !== "");
145
+ g = te({
146
+ arrayA: g,
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: g, 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` : "", x = {
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 q(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 k({ queryObject: r, category: t, queryConfig: x, 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
+ ge 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
+ xe 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, aR as De, bO 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,8 +4,8 @@ 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 { bQ 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
11
  import { n as y, d as v, h as O } from "./utils.js";
@@ -55,25 +55,25 @@ 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) => {
68
68
  const { axis: e, index: i } = a(t);
69
69
  return e?.guides?.[i]?.above ?? !1;
70
- }, U = (t) => {
70
+ }, Q = (t) => {
71
71
  const { above: e, axis: i, index: s } = a(t);
72
72
  i?.guides?.[s] !== void 0 && (i.guides[s].above = e);
73
- }, q = (t) => {
73
+ }, U = (t) => {
74
74
  const { axis: e, index: i } = a(t);
75
75
  return e?.guides?.[i]?.style;
76
- }, z = (t) => {
76
+ }, q = (t) => {
77
77
  const { style: e, axis: i, index: s } = a(t);
78
78
  i?.guides?.[s] !== void 0 && (i.guides[s].style = e);
79
79
  }, Ge = (t) => {
@@ -91,19 +91,19 @@ const V = (t) => {
91
91
  }, pe = (t) => {
92
92
  const { config: e, index: i, orientation: s } = t, o = s === c.X ? e.axes?.[0] : e.axes?.[1];
93
93
  o?.guides !== void 0 && (i !== void 0 && i < o.guides.length ? o.guides.splice(i, 1) : o.guides.pop());
94
- }, H = (t) => {
94
+ }, z = (t) => {
95
95
  const { axis: e, index: i } = a(t);
96
96
  return e?.guides?.[i]?.tooltipReverseColor ?? !1;
97
- }, J = (t) => {
97
+ }, H = (t) => {
98
98
  const i = (t.orientation ?? c.Y) === c.X ? t.config.axes?.[0] : t.config.axes?.[1];
99
99
  [t.index !== void 0 ? i?.guides?.[t.index] : i?.guides].flat().forEach((s) => {
100
100
  s !== void 0 && (s.tooltipReverseColor = t.reverseColor);
101
101
  });
102
102
  };
103
- var K = Object.defineProperty, Q = Object.getOwnPropertyDescriptor, l = (t, e, i, s) => {
104
- for (var o = Q(e, i), n = t.length - 1, d; n >= 0; n--)
103
+ var J = Object.defineProperty, K = Object.getOwnPropertyDescriptor, l = (t, e, i, s) => {
104
+ for (var o = K(e, i), n = t.length - 1, d; n >= 0; n--)
105
105
  (d = t[n]) && (o = d(e, i, o) || o);
106
- return o && K(e, i, o), o;
106
+ return o && J(e, i, o), o;
107
107
  };
108
108
  class u extends h {
109
109
  /**
@@ -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.
@@ -185,7 +185,7 @@ class u extends h {
185
185
  return Y({ config: this._config, index: e, orientation: i });
186
186
  }
187
187
  setGuideAbove(e, i, s) {
188
- U({ above: e, config: this._config, index: i, orientation: s });
188
+ Q({ above: e, config: this._config, index: i, orientation: s });
189
189
  }
190
190
  /**
191
191
  * Gets the guide style.
@@ -194,10 +194,10 @@ class u extends h {
194
194
  * @param orientation - Default `y`. The axis orientation of the guide.
195
195
  */
196
196
  getGuideStyle(e, i) {
197
- return q({ config: this._config, index: e, orientation: i });
197
+ return U({ config: this._config, index: e, orientation: i });
198
198
  }
199
199
  setGuideStyle(e, i, s) {
200
- z({ style: e, config: this._config, index: i, orientation: s });
200
+ q({ style: e, config: this._config, index: i, orientation: s });
201
201
  }
202
202
  /**
203
203
  * Gets whether the tooltip text color should be reversed for a guide.
@@ -206,10 +206,10 @@ class u extends h {
206
206
  * @param orientation - The axis orientation of the guide.
207
207
  */
208
208
  getTooltipReverseColor(e, i) {
209
- return H({ config: this._config, index: e, orientation: i });
209
+ return z({ config: this._config, index: e, orientation: i });
210
210
  }
211
211
  setTooltipReverseColor(e, i, s) {
212
- J({ reverseColor: e, config: this._config, index: i, orientation: s });
212
+ H({ reverseColor: e, config: this._config, index: i, orientation: s });
213
213
  }
214
214
  }
215
215
  l([