@arcgis/charts-components 5.2.0-next.72 → 5.2.0-next.74

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 (187) hide show
  1. package/dist/cdn/{WDBM5DMV.js → 2DDIAUZP.js} +1 -1
  2. package/dist/cdn/2LA7C4QV.js +2 -0
  3. package/dist/cdn/{GEGDQRVU.js → 33BRETPB.js} +1 -1
  4. package/dist/cdn/{FY42MP27.js → 3I5WM4MV.js} +1 -1
  5. package/dist/cdn/{NWH7AJ52.js → 3WSDELLU.js} +1 -1
  6. package/dist/cdn/{ZBP6VJMM.js → 436LMU5X.js} +1 -1
  7. package/dist/cdn/{DGYLORDT.js → 4B2OSQ56.js} +1 -1
  8. package/dist/cdn/{CRNIOME2.js → 4DPFB567.js} +2 -2
  9. package/dist/cdn/{IMJT2ADR.js → 4WJRJCLD.js} +3 -3
  10. package/dist/cdn/{ASYRUV4T.js → 52MUPDJX.js} +1 -1
  11. package/dist/cdn/{GW33HA7C.js → 56ZK7STH.js} +1 -1
  12. package/dist/cdn/{27QJPJG2.js → 57XZWFTY.js} +1 -1
  13. package/dist/cdn/{PCTPAU4P.js → 5KNGV2JN.js} +1 -1
  14. package/dist/cdn/{HTDEFWRO.js → 6DOH32LR.js} +1 -1
  15. package/dist/cdn/{JZIH5BEO.js → 6HKKSGTW.js} +1 -1
  16. package/dist/cdn/{2QGFLRRI.js → 6IQK654E.js} +1 -1
  17. package/dist/cdn/{VLTMMRNO.js → 6R3FZONE.js} +1 -1
  18. package/dist/cdn/{BFX4S6V7.js → 6RP62IRP.js} +1 -1
  19. package/dist/cdn/{BPRQJH3C.js → 7BCQTPEQ.js} +1 -1
  20. package/dist/cdn/{TEVJHF4T.js → 7J5A5NFI.js} +1 -1
  21. package/dist/cdn/{73JR3GLJ.js → 7JYCHXND.js} +1 -1
  22. package/dist/cdn/{VPYOVHNR.js → 7WNB2UBY.js} +1 -1
  23. package/dist/cdn/{HFWQWWZX.js → A5YYKBOZ.js} +1 -1
  24. package/dist/cdn/{GDCYGJRG.js → AFP2EZVP.js} +1 -1
  25. package/dist/cdn/{DGJT4BLR.js → AHUVOOEG.js} +1 -1
  26. package/dist/cdn/{SCVLTVPD.js → ATVDMX2J.js} +1 -1
  27. package/dist/cdn/{6X64PHGO.js → BGFC2AUU.js} +1 -1
  28. package/dist/cdn/{ZCCW2VVQ.js → CKNGIVV4.js} +1 -1
  29. package/dist/cdn/{2IT2RCIC.js → CKS3U7SE.js} +1 -1
  30. package/dist/cdn/{IOF3LHQS.js → D36WET32.js} +1 -1
  31. package/dist/cdn/{JCMK62IU.js → DDKBUPNA.js} +1 -1
  32. package/dist/cdn/{6XCI7UCI.js → DI7KSBSF.js} +1 -1
  33. package/dist/cdn/{5TUEP4OK.js → E3JSGSZO.js} +1 -1
  34. package/dist/cdn/{GIW5FIBF.js → FENZFVR6.js} +24 -24
  35. package/dist/cdn/{JU77OUXG.js → FGT54LZQ.js} +1 -1
  36. package/dist/cdn/FPQP5PPG.js +2 -0
  37. package/dist/cdn/{BJYYXABD.js → FVERG5WA.js} +1 -1
  38. package/dist/cdn/{JRLNI3JM.js → FZV6RLK4.js} +1 -1
  39. package/dist/cdn/{UKVRMGYE.js → G5X74FKX.js} +1 -1
  40. package/dist/cdn/{MHWVJW2G.js → G7ERMTBR.js} +1 -1
  41. package/dist/cdn/{NBS2RCOO.js → GHZGNHT2.js} +1 -1
  42. package/dist/cdn/{4MVV6KMX.js → GYHDXPJE.js} +1 -1
  43. package/dist/cdn/GYUBEC56.js +3 -0
  44. package/dist/cdn/{P5HKNAV6.js → H2CAS5TZ.js} +1 -1
  45. package/dist/cdn/{QAQ7XMIR.js → H2L77BVM.js} +1 -1
  46. package/dist/cdn/HY7IIMH5.js +2 -0
  47. package/dist/cdn/{ZKB6OSA6.js → J34J6LD7.js} +1 -1
  48. package/dist/cdn/{RQ5RKGH5.js → JMYWZDZT.js} +1 -1
  49. package/dist/cdn/{IQAQH55N.js → JNWFO5XG.js} +1 -1
  50. package/dist/cdn/{PDSFLHBW.js → JWSRZ2DT.js} +1 -1
  51. package/dist/cdn/{4HZOLYYJ.js → K7ONVPQD.js} +1 -1
  52. package/dist/cdn/{EPHJ2KVR.js → KNHO45OE.js} +1 -1
  53. package/dist/cdn/{6YZUX3IR.js → L2IC2Y47.js} +1 -1
  54. package/dist/cdn/{6HRHDLP5.js → NM6DLR7V.js} +1 -1
  55. package/dist/cdn/{G6RHXKZI.js → OH23D7V4.js} +1 -1
  56. package/dist/cdn/{SWD33GFB.js → OYE6B4A2.js} +1 -1
  57. package/dist/cdn/{HGWVBXGI.js → PS63GP2Q.js} +1 -1
  58. package/dist/cdn/{52AWRYBA.js → Q5KQ6VU2.js} +1 -1
  59. package/dist/cdn/{YALJ3XEN.js → QA5XAJG2.js} +1 -1
  60. package/dist/cdn/{N7PKDRUM.js → QD5L45NM.js} +1 -1
  61. package/dist/cdn/{WMXFQ3W5.js → QTYP3S5A.js} +1 -1
  62. package/dist/cdn/{3O6KXZI3.js → QXCE6JPL.js} +1 -1
  63. package/dist/cdn/{UAUXUYSZ.js → RACBDCMX.js} +1 -1
  64. package/dist/cdn/{7RSZDQRA.js → RJGYAQAI.js} +1 -1
  65. package/dist/cdn/{L44RZ2LJ.js → RYQCBDZQ.js} +1 -1
  66. package/dist/cdn/{LFUOUZRD.js → TND5ID5R.js} +1 -1
  67. package/dist/cdn/{GBVHGXLI.js → TVKJNNXG.js} +1 -1
  68. package/dist/cdn/{AWL4BHAE.js → U3VZYTUZ.js} +1 -1
  69. package/dist/cdn/{RI7OFHO5.js → UGEYLVIU.js} +1 -1
  70. package/dist/cdn/{D4YMWPO7.js → ULVVDC7F.js} +1 -1
  71. package/dist/cdn/{HEV6CQ2O.js → UPZU4PT4.js} +1 -1
  72. package/dist/cdn/{WDMYVS4F.js → VMLRM5N5.js} +1 -1
  73. package/dist/cdn/{NORDWTUH.js → VNPYUGJI.js} +1 -1
  74. package/dist/cdn/{MQJ65BCX.js → VSWUT7CA.js} +1 -1
  75. package/dist/cdn/{V6WZ4HG3.js → W2ZWCRQG.js} +1 -1
  76. package/dist/cdn/W5OKNIYB.js +2 -0
  77. package/dist/cdn/{RLZXSSP6.js → WLDEJGWX.js} +1 -1
  78. package/dist/cdn/{USNJZCHH.js → WVIP7B4W.js} +1 -1
  79. package/dist/cdn/{SU5W5NFD.js → XAAWA7RV.js} +1 -1
  80. package/dist/cdn/{3F3DSHMX.js → XKWB2T32.js} +1 -1
  81. package/dist/cdn/{TTW52EWC.js → XPHNWQAT.js} +1 -1
  82. package/dist/cdn/{S3XBL7KR.js → XZEIH6U7.js} +1 -1
  83. package/dist/cdn/YDNZFSLH.js +2 -0
  84. package/dist/cdn/{QQO3KMZ4.js → YJ3WIX3D.js} +1 -1
  85. package/dist/cdn/{BHH6HAXC.js → YUSPOR5K.js} +1 -1
  86. package/dist/cdn/{42A7W3OA.js → YVQGX3ZX.js} +1 -1
  87. package/dist/cdn/{SG2DVYJ7.js → ZVZ73LEB.js} +1 -1
  88. package/dist/cdn/{LQU6DEB6.js → ZZBZ3M37.js} +1 -1
  89. package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
  90. package/dist/cdn/index.js +1 -1
  91. package/dist/cdn/model/shared/setup-utils.js +1 -1
  92. package/dist/chunks/box-plot-model.js +37 -37
  93. package/dist/chunks/class-breaks.js +66 -66
  94. package/dist/chunks/combo-bar-line-chart-model.js +46 -37
  95. package/dist/chunks/data.js +15 -15
  96. package/dist/chunks/index.js +55 -43
  97. package/dist/chunks/index2.js +3375 -3247
  98. package/dist/chunks/index3.js +146 -136
  99. package/dist/chunks/index4.js +1 -1
  100. package/dist/chunks/model-setter.js +1 -1
  101. package/dist/chunks/model-with-line-marker-styling.js +16 -6
  102. package/dist/chunks/negative-values-stacked-to-baseline.js +35 -31
  103. package/dist/chunks/scatterplot-model.js +1 -1
  104. package/dist/chunks/serial-chart-data.js +50 -50
  105. package/dist/chunks/serial-chart-model.js +1 -1
  106. package/dist/chunks/utils.js +10 -10
  107. package/dist/chunks/web-component-utils.js +1 -1
  108. package/dist/chunks/x-bounds.js +74 -72
  109. package/dist/components/arcgis-chart/customElement.d.ts +92 -34
  110. package/dist/components/arcgis-chart/customElement.js +2705 -2737
  111. package/dist/components/arcgis-charts-action-bar/customElement.d.ts +8 -0
  112. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  113. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
  114. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
  115. package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
  116. package/dist/components/arcgis-charts-config-format/customElement.js +7 -7
  117. package/dist/components/arcgis-charts-config-guide/customElement.js +7 -7
  118. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +1 -1
  119. package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
  120. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +9 -9
  121. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  122. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +9 -9
  123. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +18 -18
  124. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
  125. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
  126. package/dist/components/arcgis-charts-config-view-charts/customElement.js +4 -4
  127. package/dist/docs/api.json +1 -1
  128. package/dist/docs/docs.json +1 -1
  129. package/dist/docs/vscode.html-custom-data.json +1 -1
  130. package/dist/docs/web-types.json +1 -1
  131. package/dist/index.js +208 -207
  132. package/dist/interfaces.d.ts +9 -11
  133. package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +11 -2
  134. package/dist/model/mixins/model-with-guides.d.ts +1 -1
  135. package/dist/model/mixins/model-with-line-marker-styling.d.ts +10 -2
  136. package/dist/types/stencil.d.ts +2 -2
  137. package/dist/utils/chart-config/converter/index.js +32 -32
  138. package/dist/utils/chart-config/validator/interfaces.d.ts +1 -0
  139. package/dist/utils/components/interfaces.d.ts +2 -0
  140. package/dist/utils/defaults/interfaces.d.ts +6 -0
  141. package/dist/utils/localization/interfaces.d.ts +8 -0
  142. package/package.json +4 -4
  143. package/dist/cdn/HE4DQBAF.js +0 -2
  144. package/dist/cdn/IRLDFW6T.js +0 -2
  145. package/dist/cdn/J3UWN6IT.js +0 -2
  146. package/dist/cdn/KW4YJOEM.js +0 -2
  147. package/dist/cdn/V35ALJHW.js +0 -3
  148. package/dist/cdn/V5EPH7SJ.js +0 -2
  149. /package/dist/cdn/{Y2NESTSK.js → 26DDVOQ7.js} +0 -0
  150. /package/dist/cdn/{DWYBKGOM.js → 3FFCWEMV.js} +0 -0
  151. /package/dist/cdn/{3QPQ3RE5.js → 6AXYQGBN.js} +0 -0
  152. /package/dist/cdn/{MSB6J66X.js → 6U6VAS2O.js} +0 -0
  153. /package/dist/cdn/{47E3TKSH.js → A2KSCV2I.js} +0 -0
  154. /package/dist/cdn/{Q2WDEGUQ.js → AF2GUPVE.js} +0 -0
  155. /package/dist/cdn/{LC4YFJSM.js → AS3QP77N.js} +0 -0
  156. /package/dist/cdn/{BJC2AIS3.js → B5Z7FBO7.js} +0 -0
  157. /package/dist/cdn/{274L47ID.js → B7J5YIWF.js} +0 -0
  158. /package/dist/cdn/{GBOCN364.js → BWR5ONE2.js} +0 -0
  159. /package/dist/cdn/{YW6IZCRW.js → C2ZX67U4.js} +0 -0
  160. /package/dist/cdn/{HDYL2BOC.js → DDNOUE2T.js} +0 -0
  161. /package/dist/cdn/{6LACIKDG.js → EQTI5Z4G.js} +0 -0
  162. /package/dist/cdn/{IR2W7UQ3.js → FFJTVPE4.js} +0 -0
  163. /package/dist/cdn/{YFHCD7R2.js → H2DUFQAG.js} +0 -0
  164. /package/dist/cdn/{XJVFIGWI.js → HABS63VB.js} +0 -0
  165. /package/dist/cdn/{ACRMB7MU.js → J3BB5KXD.js} +0 -0
  166. /package/dist/cdn/{FBLOPEXC.js → JUFBIV44.js} +0 -0
  167. /package/dist/cdn/{J3VAMS5Z.js → KTYFDFMQ.js} +0 -0
  168. /package/dist/cdn/{7XHAJY6Q.js → LXZXXY7V.js} +0 -0
  169. /package/dist/cdn/{K2PVLPOV.js → NNHJ75EA.js} +0 -0
  170. /package/dist/cdn/{7PC3VBMY.js → NWQ2L7IJ.js} +0 -0
  171. /package/dist/cdn/{64F7QNUM.js → OMU647X3.js} +0 -0
  172. /package/dist/cdn/{PQVUA4T4.js → OXPXA3PS.js} +0 -0
  173. /package/dist/cdn/{NWHLFMAD.js → P7FI5QUW.js} +0 -0
  174. /package/dist/cdn/{MGAMMXJW.js → PCFEAGXP.js} +0 -0
  175. /package/dist/cdn/{EQD2B3I6.js → PZP57FJ2.js} +0 -0
  176. /package/dist/cdn/{HP3GIDT5.js → Q466K37N.js} +0 -0
  177. /package/dist/cdn/{6PDO75JM.js → R5LIRRMK.js} +0 -0
  178. /package/dist/cdn/{C3A3UXVR.js → RHUEVXMR.js} +0 -0
  179. /package/dist/cdn/{JWEGCP5P.js → RMIIDRGC.js} +0 -0
  180. /package/dist/cdn/{B4RCAP3J.js → S4NQCINT.js} +0 -0
  181. /package/dist/cdn/{PMAHEVYY.js → SVLOD3HQ.js} +0 -0
  182. /package/dist/cdn/{Q2OIHROC.js → TJ2NRLF6.js} +0 -0
  183. /package/dist/cdn/{ZK2KMZEI.js → TOCBEPNS.js} +0 -0
  184. /package/dist/cdn/{6WJKLKEZ.js → XR4O3AQ6.js} +0 -0
  185. /package/dist/cdn/{4BQ22DKZ.js → Z5EJIWAY.js} +0 -0
  186. /package/dist/cdn/{XDNGNOOK.js → ZARYZFJ4.js} +0 -0
  187. /package/dist/cdn/{CKIF4L44.js → ZVOX72AF.js} +0 -0
@@ -1,24 +1,24 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { s as c, a as k, g as b, b as n } from "./series.js";
2
+ import { s as c, a as k, g as b, b as v } from "./series.js";
3
3
  import { _ as m } from "./index.js";
4
- import { bs as i, bA as a } from "./index2.js";
5
- import { C as v, m as y } from "./model-setter.js";
6
- const _ = (s, e) => {
4
+ import { bt as i, bB as a } from "./index2.js";
5
+ import { C as n, m as h } from "./model-setter.js";
6
+ const d = (s, e) => {
7
7
  if (i(e.series[s]) || a(e.series[s]))
8
8
  return b(e.series[s]);
9
- }, f = (s, e, r) => {
9
+ }, N = (s, e, r) => {
10
10
  (i(r.series[e]) || a(r.series[e])) && c(s, r.series[e]);
11
- }, O = (s, e) => {
11
+ }, _ = (s, e) => {
12
12
  if (i(e.series[s]) || a(e.series[s]))
13
- return n(e.series[s]);
14
- }, j = (s, e, r) => {
13
+ return v(e.series[s]);
14
+ }, O = (s, e, r) => {
15
15
  (i(r.series[e]) || a(r.series[e])) && k(s, r.series[e]);
16
- }, A = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series[s].markerSymbol?.color : void 0, W = (s, e, r) => {
16
+ }, j = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series[s].markerSymbol?.color : void 0, W = (s, e, r) => {
17
17
  if (i(r.series[e]) || a(r.series[e])) {
18
18
  const t = r.series[e];
19
19
  t.markerSymbol === void 0 && (t.markerSymbol = m()), t.markerSymbol.color = s;
20
20
  }
21
- }, d = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series?.[s]?.markerSymbol?.style : void 0, w = (s, e, r) => {
21
+ }, A = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series?.[s]?.markerSymbol?.style : void 0, w = (s, e, r) => {
22
22
  if (i(r.series[e]) || a(r.series[e])) {
23
23
  const t = r.series[e];
24
24
  t.markerSymbol === void 0 && (t.markerSymbol = m()), t.markerSymbol.style = s;
@@ -28,29 +28,33 @@ const _ = (s, e) => {
28
28
  const t = r.series[e];
29
29
  t.markerSymbol === void 0 && (t.markerSymbol = m()), t.markerSymbol.size = s;
30
30
  }
31
- }, D = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series?.[s]?.lineSmoothed ?? !1 : !1, F = (s) => {
31
+ }, D = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series?.[s]?.lineSmoothed ?? !1 : !1, E = (s) => {
32
32
  const { smoothed: e, seriesIndex: r, config: t } = s;
33
33
  (i(t.series[r]) || a(t.series[r])) && (t.series[r].lineSmoothed = e);
34
- }, q = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series[s].showArea ?? !1 : !1, R = (s) => {
34
+ }, F = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series[s].showArea ?? !1 : !1, q = (s) => {
35
35
  const { visible: e, seriesIndex: r, config: t } = s;
36
- (i(t.series[r]) || a(t.series[r])) && (t.series[r].showArea = e);
37
- }, E = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series[s].markerVisible ?? !0 : !1, G = (s) => {
36
+ [r !== void 0 ? t.series?.[r] : t.series].flat().forEach((o) => {
37
+ o !== void 0 && (i(o) || a(o)) && (o.showArea = e);
38
+ });
39
+ }, R = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series[s].markerVisible ?? !0 : !1, G = (s) => {
38
40
  const { visible: e, seriesIndex: r, config: t } = s;
39
- (i(t.series[r]) || a(t.series[r])) && (t.series[r].markerVisible = e);
41
+ [r !== void 0 ? t.series?.[r] : t.series].flat().forEach((o) => {
42
+ o !== void 0 && (i(o) || a(o)) && (o.markerVisible = e);
43
+ });
40
44
  }, H = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series[s].areaColor : void 0, J = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series?.[s]?.connectLines : void 0, K = (s) => {
41
45
  const { connect: e, seriesIndex: r, config: t } = s;
42
46
  (i(t.series[r]) || a(t.series[r])) && (t.series[r].connectLines = e);
43
47
  };
44
- var h = Object.defineProperty, u = Object.getOwnPropertyDescriptor, L = (s, e, r, t) => {
48
+ var y = Object.defineProperty, u = Object.getOwnPropertyDescriptor, L = (s, e, r, t) => {
45
49
  for (var o = u(e, r), l = s.length - 1, S; l >= 0; l--)
46
50
  (S = s[l]) && (o = S(e, r, o) || o);
47
- return o && h(e, r, o), o;
51
+ return o && y(e, r, o), o;
48
52
  };
49
53
  const V = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series[s].stackNegativeValuesToBaseline ?? !0 : !1, p = (s) => {
50
54
  const { stackNegativeValuesToBaseline: e, seriesIndex: r, config: t } = s;
51
55
  (i(t.series[r]) || a(t.series[r])) && (t.series[r].stackNegativeValuesToBaseline = e);
52
56
  };
53
- class C extends v {
57
+ class f extends n {
54
58
  /**
55
59
  * Specify how negative values are treated in stacked series.
56
60
  *
@@ -70,26 +74,26 @@ class C extends v {
70
74
  }
71
75
  }
72
76
  L([
73
- y
74
- ], C.prototype, "setNegativeValuesStackedToBaseline");
77
+ h
78
+ ], f.prototype, "setNegativeValuesStackedToBaseline");
75
79
  export {
76
- C as W,
77
- f as a,
78
- j as b,
80
+ f as W,
81
+ N as a,
82
+ O as b,
79
83
  w as c,
80
84
  P as d,
81
- O as e,
82
- A as f,
83
- _ as g,
84
- d as h,
85
+ _ as e,
86
+ j as f,
87
+ d as g,
88
+ A as h,
85
89
  z as i,
86
90
  D as j,
87
- F as k,
91
+ E as k,
88
92
  J as l,
89
93
  K as m,
90
- q as n,
91
- R as o,
92
- E as p,
94
+ F as n,
95
+ q as o,
96
+ R as p,
93
97
  G as q,
94
98
  H as r,
95
99
  W as s
@@ -6,7 +6,7 @@ import { b as w } from "./series-length.js";
6
6
  import { g as b } from "./utils2.js";
7
7
  import { al as m, af as z, ad as k } from "./index.js";
8
8
  import { d as y } from "./index3.js";
9
- import { br as E } from "./index2.js";
9
+ import { bs as E } from "./index2.js";
10
10
  import { i as T } from "./index4.js";
11
11
  import { C as V } from "./chart-model.js";
12
12
  import { M as B, a as G, W as U, b as j } from "./data-labels-visibility.js";
@@ -2,21 +2,21 @@
2
2
  import { substitute as E } from "@arcgis/core/intl.js";
3
3
  import { cloneDeep as J, isEmpty as Ye, memoize as We } from "lodash-es";
4
4
  import { S as oe } from "./common.js";
5
- import { s as D, u as $, a as Ie, g as ye, b as Le, c as He, d as Xe, e as pe } from "./utils.js";
6
- import { w as I, i as Ue, di as Y, cn as je, bC as Ke, a$ as De, x as Ze, Y as ee, cS as _e, cR as Qe, p as ze, aJ as me, ct as Ge, d as Je, aI as et, I as tt, a7 as st, bx as it, W as at, e as rt, bI as nt, ds as ot, v as lt, dy as fe, cb as ct, dz as ut, c7 as dt, B as yt, N as Se, bL as _, dv as mt, bj as q, bP as Q, ap as j, a6 as Ne, bd as M, bc as gt, k as U, bt as pt, bB as ft, bs as O, bA as V, bp as Fe, br as xe } from "./index2.js";
5
+ import { s as L, u as $, a as Ie, g as ye, b as De, c as He, d as Xe, e as pe } from "./utils.js";
6
+ import { w as I, i as je, dj as Y, co as Ue, bD as Ke, a$ as Le, x as Ze, Y as ee, cT as _e, cS as Qe, p as ze, aJ as me, cu as Ge, d as Je, aI as et, I as tt, a7 as st, by as it, W as at, e as rt, bJ as nt, dt as ot, v as lt, dz as fe, cc as ct, dA as ut, c8 as dt, B as yt, N as Se, bM as _, dw as mt, bj as q, bQ as Q, ap as U, a6 as Ne, bd as M, bc as gt, k as j, bu as pt, bC as ft, bt as O, bB as V, bp as Fe, bs as xe } from "./index2.js";
7
7
  import { a as P, s as ge, g as te, b as he, c as St } from "./data.js";
8
- import { u as T, r as v, k as Ft, d as k, n as L, m as W, p as xt, t as ht, s as le } from "./chart-object-literals.js";
8
+ import { u as T, r as v, k as Ft, d as k, n as D, m as W, p as xt, t as ht, s as le } from "./chart-object-literals.js";
9
9
  import { R as Oe, i as Tt } from "./rest-js-object-literals.js";
10
10
  import { i as se } from "./index4.js";
11
- import { aD as Bt, K as z, F as ce, w as Ct, $ as bt, ac as At, ao as vt, A as It, a2 as Lt } from "./index.js";
11
+ import { aD as Bt, K as z, F as ce, w as Ct, $ as bt, ac as At, ao as vt, A as It, a2 as Dt } from "./index.js";
12
12
  import { C as w, F as H, d as R } from "./index3.js";
13
- import { g as Ve, s as Dt } from "./series-types.js";
13
+ import { g as Ve, s as Lt } from "./series-types.js";
14
14
  import { convertChartSpec as Nt } from "../utils/chart-config/converter/index.js";
15
15
  import { d as ue, f as Ot } from "./type-guards.js";
16
16
  import { C as Vt, m as kt } from "./model-setter.js";
17
17
  import { g as ie } from "./utils2.js";
18
18
  import { a as Rt, b as qt } from "./series-length.js";
19
- const Ds = (s) => {
19
+ const Ls = (s) => {
20
20
  let e;
21
21
  const t = s.series[0];
22
22
  return I(t) && (e = t.temporalBinning?.size), e;
@@ -39,23 +39,23 @@ const Ds = (s) => {
39
39
  }, Pt = (s, e) => {
40
40
  e?.series?.forEach((t) => {
41
41
  I(t) && (t.temporalBinning ??= {}, t.temporalBinning.size = s);
42
- }), D({ config: e, value: null, axisIndex: 1, isMax: !1 }), D({ config: e, value: null, axisIndex: 1, isMax: !0 });
42
+ }), L({ config: e, value: null, axisIndex: 1, isMax: !1 }), L({ config: e, value: null, axisIndex: 1, isMax: !0 });
43
43
  }, Et = (s, e) => {
44
44
  e?.series?.forEach((t) => {
45
45
  I(t) && (t.temporalBinning ??= {}, t.temporalBinning.nullPolicy = s);
46
- }), D({ config: e, value: null, axisIndex: 1, isMax: !1 }), D({ config: e, value: null, axisIndex: 1, isMax: !0 });
46
+ }), L({ config: e, value: null, axisIndex: 1, isMax: !1 }), L({ config: e, value: null, axisIndex: 1, isMax: !0 });
47
47
  }, ks = (s, e) => {
48
48
  e.series?.forEach((t) => {
49
49
  I(t) && (t.temporalBinning ??= {}, t.temporalBinning.unit = s);
50
- }), D({ config: e, value: null, axisIndex: 1, isMax: !1 }), D({ config: e, value: null, axisIndex: 1, isMax: !0 });
50
+ }), L({ config: e, value: null, axisIndex: 1, isMax: !1 }), L({ config: e, value: null, axisIndex: 1, isMax: !0 });
51
51
  }, Rs = (s, e) => {
52
52
  e.series?.forEach((t) => {
53
53
  I(t) && (t.temporalBinning ??= {}, t.temporalBinning.timeAggregationType = s);
54
- }), D({ config: e, value: null, axisIndex: 1, isMax: !1 }), D({ config: e, value: null, axisIndex: 1, isMax: !0 });
54
+ }), L({ config: e, value: null, axisIndex: 1, isMax: !1 }), L({ config: e, value: null, axisIndex: 1, isMax: !0 });
55
55
  }, qs = (s, e) => {
56
56
  e.series?.forEach((t) => {
57
57
  I(t) && (t.temporalBinning ??= {}, t.temporalBinning.trimIncompleteTimeInterval = s);
58
- }), D({ config: e, value: null, axisIndex: 1, isMax: !1 }), D({ config: e, value: null, axisIndex: 1, isMax: !0 });
58
+ }), L({ config: e, value: null, axisIndex: 1, isMax: !1 }), L({ config: e, value: null, axisIndex: 1, isMax: !0 });
59
59
  }, Mt = (s) => {
60
60
  Pt(0, s);
61
61
  };
@@ -70,7 +70,7 @@ const Ht = (s) => {
70
70
  (t.type === T.BarSeries || t.type === T.RadarSeries || t.type === T.LineSeries) && t.temporalBinning && (e = t.temporalBinning.outTimeZone);
71
71
  }), e || (e = s?.axes?.[0]?.valueFormat.type === T.DateAxisFormat ? s.axes[0].valueFormat.intlOptions.timeZone : void 0), e;
72
72
  }, ke = (s, e) => {
73
- const t = Ue(s);
73
+ const t = je(s);
74
74
  Y(e) ? s ? e.outTimeZone = t : delete e.outTimeZone : e?.series.forEach((r) => {
75
75
  (r.type === T.BarSeries || r.type === T.RadarSeries || r.type === T.LineSeries) && (s ? (r.temporalBinning ??= {}, r.temporalBinning.outTimeZone = t) : r.temporalBinning && delete r.temporalBinning.outTimeZone);
76
76
  }), e?.axes?.[0]?.valueFormat.type === T.DateAxisFormat && (s ? e.axes[0].valueFormat.intlOptions.timeZone = t : delete e.axes[0].valueFormat.intlOptions.timeZone);
@@ -101,19 +101,19 @@ function Es(s, e) {
101
101
  let t;
102
102
  return e !== void 0 && (t = { ...e, rotated: s }), t;
103
103
  }
104
- function Ut(s) {
104
+ function jt(s) {
105
105
  let e;
106
106
  return s !== void 0 && (e = { ...s }, delete e.axes?.[0]?.minimum, delete e.axes?.[0]?.maximum, delete e.axes?.[1]?.minimum, delete e.axes?.[1]?.maximum), e;
107
107
  }
108
108
  function Ms(s, e) {
109
- return e != null || De(s);
109
+ return e != null || Le(s);
110
110
  }
111
111
  async function $s(s) {
112
112
  const { config: e, layer: t, abortSignal: r } = s;
113
113
  let i = !1;
114
114
  return ue(t) || Ot(e) ? e && ue(t) && (i = await Ke({ config: e, layer: t, abortSignal: r })) : i = !0, i;
115
115
  }
116
- async function jt(s) {
116
+ async function Ut(s) {
117
117
  const {
118
118
  queryObject: e,
119
119
  chartConfig: t,
@@ -265,7 +265,7 @@ async function Qt(s) {
265
265
  t.series.length === 0 && u !== void 0 && t.series.push(u);
266
266
  const y = ee(t.series);
267
267
  if (y === w.BoxPlotMonoFieldAndSplitBy || y === w.BoxPlotMultiFieldsAndSplitBy || y === w.BoxPlotMonoFieldAndCategoryAndSplitBy || y === w.BarAndLineSplitBy || y === w.BarAndLineSplitByNoAggregation) {
268
- const g = et(t.series[0]?.query?.where), F = tt(r), h = st(g, F), S = h ? it(h) : !1, b = await jt({
268
+ const g = et(t.series[0]?.query?.where), F = tt(r), h = st(g, F), S = h ? it(h) : !1, b = await Ut({
269
269
  queryObject: r,
270
270
  chartConfig: t,
271
271
  splitByField: g,
@@ -302,7 +302,7 @@ async function Qt(s) {
302
302
  return m;
303
303
  }
304
304
  function zt(s, e) {
305
- e && !De(e) && (e = Je({ chartConfig: e, queryObject: s }));
305
+ e && !Le(e) && (e = Je({ chartConfig: e, queryObject: s }));
306
306
  }
307
307
  async function Ys(s) {
308
308
  const {
@@ -335,7 +335,7 @@ async function Ys(s) {
335
335
  returnFeaturesExtent: f,
336
336
  returnStatisticsAggregatedIds: u,
337
337
  chartLimits: m
338
- })), g = je(g, a), ke(d, g)), { alteredConfig: g, preFetchedQueryResponse: F };
338
+ })), g = Ue(g, a), ke(d, g)), { alteredConfig: g, preFetchedQueryResponse: F };
339
339
  }
340
340
  function Gt(s, e) {
341
341
  let t = !1;
@@ -396,16 +396,16 @@ function Ws(s) {
396
396
  }
397
397
  const Hs = (s) => s.hideEmptyRowsAndColumns, Xs = (s, e) => {
398
398
  s.hideEmptyRowsAndColumns = e;
399
- }, Us = (s, e) => {
399
+ }, js = (s, e) => {
400
400
  const t = s.series[0];
401
401
  t.heatRulesType = e;
402
- }, js = (s) => s.series[0].heatRulesType, Ks = (s, e) => {
402
+ }, Us = (s) => s.series[0].heatRulesType, Ks = (s, e) => {
403
403
  const t = s.series[0];
404
404
  t.gradientRules = e;
405
405
  }, Zs = (s) => s.series[0].gradientRules, _s = (s) => {
406
406
  const { yField: e, config: t, layerInfo: r, commonStrings: i } = s, { layerFieldsInfo: a } = r, n = ie(1, t), o = Jt(t), l = se(t), c = t.series[0];
407
407
  if (typeof e == "string" && o !== e && c) {
408
- if (c.y = e, Ut(t), o === n || l) {
408
+ if (c.y = e, jt(t), o === n || l) {
409
409
  const p = R(a, e);
410
410
  $(t, 1, p);
411
411
  }
@@ -427,11 +427,11 @@ const Hs = (s) => s.hideEmptyRowsAndColumns, Xs = (s, e) => {
427
427
  G({ axisIndex: 1, commonStrings: r, config: t });
428
428
  }, ts = (s) => s.series[0].yTemporalBinning, ss = (s, e) => {
429
429
  e.orderOptions ??= {};
430
- const t = e.axes?.[0]?.valueFormat?.type === "category" ? L.Category : L.YValue, r = de(e)[0], i = e.axes?.[1]?.valueFormat?.type === "category" ? L.Category : L.YValue, a = de(e)[1], n = {
430
+ const t = e.axes?.[0]?.valueFormat?.type === "category" ? D.Category : D.YValue, r = de(e)[0], i = e.axes?.[1]?.valueFormat?.type === "category" ? D.Category : D.YValue, a = de(e)[1], n = {
431
431
  ...e.orderOptions.data ?? {},
432
- orderType: L.MultiAxes
432
+ orderType: D.MultiAxes
433
433
  };
434
- r === oe.customSort && t === L.Category && (n.orderByX = [...s]), a === oe.customSort && i === L.Category && (n.orderByY = [...s]), Object.keys(n).length > 1 && (e.orderOptions.data = n);
434
+ r === oe.customSort && t === D.Category && (n.orderByX = [...s]), a === oe.customSort && i === D.Category && (n.orderByY = [...s]), Object.keys(n).length > 1 && (e.orderOptions.data = n);
435
435
  }, Gs = (s, e) => {
436
436
  const t = e.series[0];
437
437
  t.gridLine && (t.gridLine.width = s);
@@ -511,7 +511,7 @@ function vi(s, e) {
511
511
  function Ii(s) {
512
512
  return s.series[0].classBreaksRules?.colorRampInfo?.flipped ?? !1;
513
513
  }
514
- function Li(s, e) {
514
+ function Di(s, e) {
515
515
  e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.colorRampInfo = {
516
516
  ...e.series[0].classBreaksRules.colorRampInfo,
517
517
  flipped: s
@@ -601,11 +601,11 @@ const as = [
601
601
  function os(s) {
602
602
  const e = {};
603
603
  return s.series.forEach((t) => {
604
- Dt(t) && "nullCategory" in t && t.nullCategory !== void 0 && (e.text ??= t.nullCategory.text, t.type === T.BarSeries ? e.fillSymbol ??= t.nullCategory.fillSymbol : e.markerSymbol ??= t.nullCategory.markerSymbol);
604
+ Lt(t) && "nullCategory" in t && t.nullCategory !== void 0 && (e.text ??= t.nullCategory.text, t.type === T.BarSeries ? e.fillSymbol ??= t.nullCategory.fillSymbol : e.markerSymbol ??= t.nullCategory.markerSymbol);
605
605
  }), e.text || e.fillSymbol || e.markerSymbol ? e : void 0;
606
606
  }
607
607
  function ae(s) {
608
- const { seriesIndex: e, xAxisField: t, aggregationType: r, config: i, layerInfo: a, commonStrings: n } = s, o = j(a?.layer).idField;
608
+ const { seriesIndex: e, xAxisField: t, aggregationType: r, config: i, layerInfo: a, commonStrings: n } = s, o = U(a?.layer).idField;
609
609
  let l;
610
610
  const c = i.series[e ?? 0];
611
611
  let p = !1, f = !1, u = !1;
@@ -667,7 +667,7 @@ function ae(s) {
667
667
  return J(C);
668
668
  }
669
669
  function K(s, e, t) {
670
- const { layerFieldsInfo: r } = e, { idField: i, isTraditionalTypeOID: a } = j(e.layer), n = P(s), o = Z(s), l = we(s), c = re(s), p = a && (o.length === 0 || o.includes(i)), f = Ct(l, t), u = p ? "" : o.map((S) => R(r ?? [], S)).join(", "), m = R(r ?? [], n), d = R(r ?? [], c), y = s.series.some((S) => M(S)), g = y ? "category" : "xAxisField", F = m;
670
+ const { layerFieldsInfo: r } = e, { idField: i, isTraditionalTypeOID: a } = U(e.layer), n = P(s), o = Z(s), l = we(s), c = re(s), p = a && (o.length === 0 || o.includes(i)), f = Ct(l, t), u = p ? "" : o.map((S) => R(r ?? [], S)).join(", "), m = R(r ?? [], n), d = R(r ?? [], c), y = s.series.some((S) => M(S)), g = y ? "category" : "xAxisField", F = m;
671
671
  let h = "";
672
672
  if (ge({
673
673
  fieldName: n,
@@ -751,7 +751,7 @@ const qe = (s) => me({
751
751
  return e.filter((t) => t !== "");
752
752
  };
753
753
  function Pe(s) {
754
- const { splitByField: e, numericFields: t, layer: r, seriesIndex: i } = s, a = j(r).idField ?? "";
754
+ const { splitByField: e, numericFields: t, layer: r, seriesIndex: i } = s, a = U(r).idField ?? "";
755
755
  return e === "" ? t[i] ?? a : t[0] ?? a;
756
756
  }
757
757
  function ls(s) {
@@ -770,10 +770,10 @@ function ls(s) {
770
770
  const de = (s) => {
771
771
  let e;
772
772
  if (Y(s)) {
773
- const t = s.orderOptions?.data?.orderByX ?? [""], r = s.orderOptions?.data?.orderByY ?? [""], i = s.axes?.[0]?.valueFormat?.type === "category" ? L.Category : L.YValue, a = s.axes?.[1]?.valueFormat?.type === "category" ? L.Category : L.YValue;
773
+ const t = s.orderOptions?.data?.orderByX ?? [""], r = s.orderOptions?.data?.orderByY ?? [""], i = s.axes?.[0]?.valueFormat?.type === "category" ? D.Category : D.YValue, a = s.axes?.[1]?.valueFormat?.type === "category" ? D.Category : D.YValue;
774
774
  e = [he(t, i), he(r, a)];
775
775
  } else {
776
- const t = s.orderOptions?.data?.orderType ?? L.Category, r = s.orderOptions?.data && "orderBy" in s.orderOptions.data ? s.orderOptions.data.orderBy : xt.Ascending;
776
+ const t = s.orderOptions?.data?.orderType ?? D.Category, r = s.orderOptions?.data && "orderBy" in s.orderOptions.data ? s.orderOptions.data.orderBy : xt.Ascending;
777
777
  e = [St(r, t)];
778
778
  }
779
779
  return e;
@@ -801,7 +801,7 @@ function cs(s) {
801
801
  ...u ?? l,
802
802
  id: d,
803
803
  name: y,
804
- x: U,
804
+ x: j,
805
805
  y: c
806
806
  }, h = [];
807
807
  for (const S of t)
@@ -813,7 +813,7 @@ function cs(s) {
813
813
  return F.query = { outStatistics: h }, i.series.length === 1 && ((O(F) || V(F)) && Me(F, i.series[0]), M(F) ? F.fillSymbol = i.series[0].fillSymbol : (O(F) || V(F)) && (F.lineSymbol = i.series[0].lineSymbol, F.markerSymbol = i.series[0].markerSymbol)), [F];
814
814
  }
815
815
  function Ee(s) {
816
- const { xAxisField: e, numericFields: t, aggregationType: r, config: i, layerInfo: a, commonStrings: n } = s, { layerFieldsInfo: o } = a, l = j(a.layer).idField, c = [];
816
+ const { xAxisField: e, numericFields: t, aggregationType: r, config: i, layerInfo: a, commonStrings: n } = s, { layerFieldsInfo: o } = a, l = U(a.layer).idField, c = [];
817
817
  for (let d = 0; d < t.length; d += 1) {
818
818
  const y = ae({
819
819
  config: i,
@@ -854,7 +854,7 @@ function Ee(s) {
854
854
  );
855
855
  return u.length === 1 && p.length === 1 && M(u[0]) && M(p[0]) && (p[0].fillSymbol = u[0].fillSymbol), m.length === 1 && f.length === 1 && ((O(m[0]) && O(f[0]) || V(m[0]) && V(f[0])) && Me(f[0], m[0]), (O(m[0]) && O(f[0]) || V(m[0]) && V(f[0])) && (f[0].lineSymbol = m[0].lineSymbol, f[0].markerSymbol = m[0].markerSymbol)), c;
856
856
  }
857
- function Di(s) {
857
+ function Li(s) {
858
858
  const { aggregationType: e, config: t, layerInfo: r, commonStrings: i } = s, { layerFieldsInfo: a, layer: n } = r, o = P(t), l = Z(t), c = re(t), p = ne(t, r, i), f = $e(t, r, i);
859
859
  if (t.series.forEach((u, m) => {
860
860
  const d = te({
@@ -982,9 +982,9 @@ const Ni = (s) => {
982
982
  commonStrings: o,
983
983
  splitByFieldInfos: l
984
984
  } = s, { layerFieldsInfo: c } = n ?? {}, p = J(a), f = Rt(a), u = P(p), m = c.find((x) => x.name === u), d = a.series[0]?.query === void 0, y = c.find((x) => x.name === e), g = ne(p, n, o), F = $e(p, n, o), h = ds({ config: p, layerInfo: n, commonStrings: o });
985
- let S = Le(a);
985
+ let S = De(a);
986
986
  const b = p.series.some((x) => M(x)), C = pt(p.series), B = ft(p.series), A = q(m) || q(y);
987
- if (_(y) ? S = ce() : !Q(m) && Q(y) ? S = z() : !q(m) && q(y) ? S = z() : q(m) && !q(y) && (b ? S = ce() : S = Lt()), S !== void 0 && Xe(a, o, S), f === 0 && (a.series = [
987
+ if (_(y) ? S = ce() : !Q(m) && Q(y) ? S = z() : !q(m) && q(y) ? S = z() : q(m) && !q(y) && (b ? S = ce() : S = Dt()), S !== void 0 && Xe(a, o, S), f === 0 && (a.series = [
988
988
  ae({ config: a, xAxisField: e, aggregationType: i, layerInfo: n, commonStrings: o })
989
989
  ]), a.series.forEach((x) => {
990
990
  x.x = e, x.query !== void 0 && (x.query.groupByFieldsForStatistics = [e]);
@@ -1015,7 +1015,7 @@ const Ni = (s) => {
1015
1015
  aggregationType: i,
1016
1016
  commonStrings: o,
1017
1017
  splitByFieldInfos: l
1018
- })), h && e !== U && a.series[0].type !== T.HeatSeries) {
1018
+ })), h && e !== j && a.series[0].type !== T.HeatSeries) {
1019
1019
  const x = R(c, e);
1020
1020
  $(a, 0, x);
1021
1021
  }
@@ -1029,7 +1029,7 @@ const Ni = (s) => {
1029
1029
  });
1030
1030
  $(a, 1, x);
1031
1031
  }
1032
- if (g && a.title && (a.title.content.text = K(a, n, o)), D({ config: a, value: null, axisIndex: 1, isMax: !1 }), D({ config: a, value: null, axisIndex: 1, isMax: !0 }), ls({ numericFields: r, aggregationType: i, config: a, layerInfo: n }), (C || B) && (D({ config: a, value: null, axisIndex: 0, isMax: !1 }), D({ config: a, value: null, axisIndex: 0, isMax: !0 }), A && i !== v.NoAggregation && !Y(p))) {
1032
+ if (g && a.title && (a.title.content.text = K(a, n, o)), L({ config: a, value: null, axisIndex: 1, isMax: !1 }), L({ config: a, value: null, axisIndex: 1, isMax: !0 }), ls({ numericFields: r, aggregationType: i, config: a, layerInfo: n }), (C || B) && (L({ config: a, value: null, axisIndex: 0, isMax: !1 }), L({ config: a, value: null, axisIndex: 0, isMax: !0 }), A && i !== v.NoAggregation && !Y(p))) {
1033
1033
  const x = q(y) ? W.Null : W.Interpolate;
1034
1034
  Et(x, a);
1035
1035
  }
@@ -1048,7 +1048,7 @@ const Ni = (s) => {
1048
1048
  o = i.axisLabels.values;
1049
1049
  else if (Ye(n)) {
1050
1050
  const c = a.query?.outStatistics?.[0]?.onStatisticField;
1051
- c !== void 0 && c !== j(r.layer).idField && (o = R(r.layerFieldsInfo, c));
1051
+ c !== void 0 && c !== U(r.layer).idField && (o = R(r.layerFieldsInfo, c));
1052
1052
  } else {
1053
1053
  const c = String(qe(a)).trim().replace(/'/gu, "");
1054
1054
  o = Ne({
@@ -1064,15 +1064,15 @@ const Ni = (s) => {
1064
1064
  else {
1065
1065
  e.orderOptions ??= {};
1066
1066
  const t = e.orderOptions?.data?.orderType;
1067
- de(e)[0] === oe.customSort && t === L.Category && (e.orderOptions.data = {
1068
- orderType: L.Category,
1067
+ de(e)[0] === oe.customSort && t === D.Category && (e.orderOptions.data = {
1068
+ orderType: D.Category,
1069
1069
  orderBy: [...s]
1070
1070
  });
1071
1071
  }
1072
1072
  }, ki = async (s) => {
1073
- const { config: e, layerInfo: t, errorStrings: r } = s, i = P(e), a = Le(e)?.type, n = Z(e), o = ee(e.series);
1073
+ const { config: e, layerInfo: t, errorStrings: r } = s, i = P(e), a = De(e)?.type, n = Z(e), o = ee(e.series);
1074
1074
  let l = [];
1075
- return a === T.CategoryAxisFormat && (o === w.BarAndLineFromFields || i === U ? l = n.map((c) => R(t?.layerFieldsInfo, c)) : i.trim() !== "" && i !== U && t !== void 0 && (l = await He({
1075
+ return a === T.CategoryAxisFormat && (o === w.BarAndLineFromFields || i === j ? l = n.map((c) => R(t?.layerFieldsInfo, c)) : i.trim() !== "" && i !== j && t !== void 0 && (l = await He({
1076
1076
  layerInfo: t,
1077
1077
  config: e,
1078
1078
  category: i,
@@ -1094,7 +1094,7 @@ function $e(s, e, t) {
1094
1094
  return r === i || a;
1095
1095
  }
1096
1096
  function ds(s) {
1097
- const { config: e, layerInfo: t, commonStrings: r } = s, i = R(t.layerFieldsInfo, P(e)), a = ie(0, e), n = se(e), o = P(e) === U && (a === "" || a === r.xAxis);
1097
+ const { config: e, layerInfo: t, commonStrings: r } = s, i = R(t.layerFieldsInfo, P(e)), a = ie(0, e), n = se(e), o = P(e) === j && (a === "" || a === r.xAxis);
1098
1098
  return i === a || n || o;
1099
1099
  }
1100
1100
  function Ri(s) {
@@ -1136,15 +1136,15 @@ export {
1136
1136
  vi as U,
1137
1137
  Ii as V,
1138
1138
  Xt as W,
1139
- Li as X,
1139
+ Di as X,
1140
1140
  Hs as Y,
1141
1141
  Xs as Z,
1142
1142
  Js as _,
1143
1143
  Ms as a,
1144
1144
  ti as a0,
1145
1145
  ei as a1,
1146
- js as a2,
1147
- Us as a3,
1146
+ Us as a2,
1147
+ js as a3,
1148
1148
  Zs as a4,
1149
1149
  Ks as a5,
1150
1150
  ai as a6,
@@ -1173,7 +1173,7 @@ export {
1173
1173
  we as g,
1174
1174
  Oi as h,
1175
1175
  $s as i,
1176
- Ds as j,
1176
+ Ls as j,
1177
1177
  Pt as k,
1178
1178
  wt as l,
1179
1179
  ks as m,
@@ -1181,13 +1181,13 @@ export {
1181
1181
  Rs as o,
1182
1182
  Ys as p,
1183
1183
  Os as q,
1184
- Ut as r,
1184
+ jt as r,
1185
1185
  ke as s,
1186
1186
  qs as t,
1187
1187
  Es as u,
1188
1188
  Vs as v,
1189
1189
  Et as w,
1190
1190
  Mt as x,
1191
- Di as y,
1191
+ Li as y,
1192
1192
  de as z
1193
1193
  };
@@ -1,7 +1,7 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { isEqual as D } from "lodash-es";
3
3
  import { u, q as b, r as h } from "./chart-object-literals.js";
4
- import { bd as I, bs as v, k as p, ap as M } from "./index2.js";
4
+ import { bd as I, bt as v, k as p, ap as M } from "./index2.js";
5
5
  import { i as P } from "./index4.js";
6
6
  import { C as O } from "./chart-model.js";
7
7
  import { m as o } from "./model-setter.js";
@@ -1,6 +1,6 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { q, u as f, r as A, p as C } from "./chart-object-literals.js";
3
- import { bw as j, ap as I, ag as k, h as O, cq as L, cr as V, aJ as M, a6 as b } from "./index2.js";
2
+ import { q as C, u as f, r as A, p as j } from "./chart-object-literals.js";
3
+ import { bx as q, ap as I, ag as k, h as O, cr as L, cs as V, aJ as M, a6 as b } from "./index2.js";
4
4
  import { d as T } from "./type-guards.js";
5
5
  import { l as W, d as S, q as $, D as E } from "./index3.js";
6
6
  import { substitute as h } from "@arcgis/core/intl.js";
@@ -18,7 +18,7 @@ function ae(s) {
18
18
  const { config: e, layerInfo: i, commonStrings: t, numericFields: a, aggregationType: r } = s;
19
19
  let o = "";
20
20
  if (e)
21
- if (W(e) === q.Stacked100)
21
+ if (W(e) === C.Stacked100)
22
22
  o = t.utilsStrings.statistics.percent;
23
23
  else {
24
24
  const d = U(r, t);
@@ -36,7 +36,7 @@ function ae(s) {
36
36
  }
37
37
  return o;
38
38
  }
39
- const B = (s, e, i) => s.axes?.[e] ?? R(i, s.type)[e], w = (s) => {
39
+ const B = (s, e, i) => s.axes?.[e] ?? R(i, s.type)[e], D = (s) => {
40
40
  const { config: e, axis: i, axisIndex: t } = s;
41
41
  e.axes !== void 0 && (e.axes[t] = i);
42
42
  }, re = (s) => {
@@ -53,7 +53,7 @@ const B = (s, e, i) => s.axes?.[e] ?? R(i, s.type)[e], w = (s) => {
53
53
  ...t,
54
54
  valueFormat: i
55
55
  };
56
- w({ config: s, axis: a, axisIndex: 0 });
56
+ D({ config: s, axis: a, axisIndex: 0 });
57
57
  }
58
58
  }, le = (s, e, i) => {
59
59
  const t = s.axes?.[e];
@@ -71,7 +71,7 @@ const B = (s, e, i) => s.axes?.[e] ?? R(i, s.type)[e], w = (s) => {
71
71
  }, v = (s, e) => {
72
72
  let i;
73
73
  const t = e.axes?.[s]?.valueFormat;
74
- return (s === 0 || s >= 1 && j(t)) && (i = t), i;
74
+ return (s === 0 || s >= 1 && q(t)) && (i = t), i;
75
75
  }, ue = (s) => {
76
76
  const { config: e, commonStrings: i, valueFormat: t, axisIndex: a = 0 } = s, r = B(e, a, i);
77
77
  if (r !== void 0 && t !== void 0) {
@@ -79,7 +79,7 @@ const B = (s, e, i) => s.axes?.[e] ?? R(i, s.type)[e], w = (s) => {
79
79
  ...r,
80
80
  valueFormat: t
81
81
  };
82
- w({
82
+ D({
83
83
  config: e,
84
84
  axis: o,
85
85
  axisIndex: a
@@ -93,10 +93,10 @@ const B = (s, e, i) => s.axes?.[e] ?? R(i, s.type)[e], w = (s) => {
93
93
  e.axes?.[t] !== void 0 && (e.axes[t].scrollbar = i);
94
94
  };
95
95
  async function xe(s) {
96
- const { config: e, layer: i, xAxisField: t, splitByField: a, layerFieldsInfo: r, aggregationFields: o, fetchNullValues: u, errorStrings: d } = 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 = {
96
+ const { config: e, layer: i, xAxisField: t, splitByField: a, layerFieldsInfo: r, aggregationFields: o, fetchNullValues: u, errorStrings: d } = 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 ?? {}, w = {
97
97
  where: O([m, x, l]),
98
98
  // excluding the null values from the list
99
- orderByFields: $(a) ? [] : [`${a} ${C.Ascending}`],
99
+ orderByFields: $(a) ? [] : [`${a} ${j.Ascending}`],
100
100
  // default sorting ascending for split-by field
101
101
  geometry: e?.dataFilters?.geometry
102
102
  };
@@ -110,7 +110,7 @@ async function xe(s) {
110
110
  queryObject: i,
111
111
  category: e?.series[0].x ?? "",
112
112
  splitByField: a,
113
- queryConfig: D,
113
+ queryConfig: w,
114
114
  errorStrings: d
115
115
  }) : [];
116
116
  if (y = y.slice(0, 500), e) {
@@ -7,7 +7,7 @@ import { g as me, a as de, b as ye } from "./pie-chart-data.js";
7
7
  import { g 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 _, a as pe } from "./data.js";
10
- import { Y as U, ap as be, af as xe, aM as E, cL as Fe, B as V, a6 as De, bj as Se, dx as Be } from "./index2.js";
10
+ import { Y as U, ap as be, af as xe, aM as E, cM as Fe, B as V, a6 as De, bj as Se, dy as Be } from "./index2.js";
11
11
  import { k as H, az as $, g as R, as as ve, b as he, a as Q } from "./index.js";
12
12
  import { q as K, C as g, F as A } from "./index3.js";
13
13
  import { g as Pe } from "./series-types.js";