@arcgis/charts-components 5.2.0-next.2 → 5.2.0-next.21

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 (267) hide show
  1. package/dist/cdn/{ZRFHAQL6.js → 2OXJ5CIC.js} +1 -1
  2. package/dist/cdn/2YRBTD5E.js +2 -0
  3. package/dist/cdn/{VVKV5KKN.js → 3CRUKP7D.js} +1 -1
  4. package/dist/cdn/3MKY6UCO.js +2 -0
  5. package/dist/cdn/3SBYV6BW.js +2 -0
  6. package/dist/cdn/{LRNADJJG.js → 3TBK72EK.js} +1 -1
  7. package/dist/cdn/4MBX554Q.js +2 -0
  8. package/dist/cdn/4ZGGMYAW.js +2 -0
  9. package/dist/cdn/{HCMD362H.js → 54CA4NEA.js} +1 -1
  10. package/dist/cdn/5B7SUFIW.js +2 -0
  11. package/dist/cdn/{VDG54AIC.js → 62ECX35C.js} +1 -1
  12. package/dist/cdn/{HCV34H6X.js → 6ECU76VK.js} +1 -1
  13. package/dist/cdn/7473JWME.js +2 -0
  14. package/dist/cdn/74UHJFPH.js +2 -0
  15. package/dist/cdn/{PVJEBBA7.js → 7532DIDI.js} +1 -1
  16. package/dist/cdn/{JVHJMPFE.js → 7C6E54U5.js} +1 -1
  17. package/dist/cdn/7X5P6K2W.js +2 -0
  18. package/dist/cdn/A636YSNA.js +2 -0
  19. package/dist/cdn/{TNB3MBXR.js → ABAERFCU.js} +1 -1
  20. package/dist/cdn/AH2UFHXP.js +2 -0
  21. package/dist/cdn/AHTGZ4MH.js +2 -0
  22. package/dist/cdn/AQIB3VEP.js +2 -0
  23. package/dist/cdn/{BBURKBKE.js → AZY72Q7D.js} +1 -1
  24. package/dist/cdn/{KOBNV5AQ.js → B34ZX3IO.js} +1 -1
  25. package/dist/cdn/BMAAWO5F.js +2 -0
  26. package/dist/cdn/CG6MYXFY.js +2 -0
  27. package/dist/cdn/{LONASKGH.js → CPT6BODA.js} +1 -1
  28. package/dist/cdn/CRCAJAFA.js +2 -0
  29. package/dist/cdn/DG2OI6R3.js +3 -0
  30. package/dist/cdn/DKENYDHS.js +233 -0
  31. package/dist/cdn/{YRBE7MBU.js → DSHN2EGI.js} +1 -1
  32. package/dist/cdn/E44C5J3E.js +2 -0
  33. package/dist/cdn/{LZYN55O4.js → EHMSOPGV.js} +1 -1
  34. package/dist/cdn/{KLC6NTPC.js → ETXHDKUU.js} +1 -1
  35. package/dist/cdn/{GL3IXVRN.js → F4WIDKYH.js} +1 -1
  36. package/dist/cdn/{TZB57XD4.js → FGRHILPJ.js} +1 -1
  37. package/dist/cdn/FYDWWQCT.js +2 -0
  38. package/dist/cdn/GIBMAXXC.js +2 -0
  39. package/dist/cdn/{24LTTBTF.js → HJIWACZ5.js} +1 -1
  40. package/dist/cdn/{WEQBZOH7.js → HNHNP7BI.js} +1 -1
  41. package/dist/cdn/{TYMKFCF4.js → HXR7LXG4.js} +1 -1
  42. package/dist/cdn/I4MM4T5T.js +2 -0
  43. package/dist/cdn/IHHPUKGG.js +2 -0
  44. package/dist/cdn/{R45FWF7D.js → IJNPEW4W.js} +1 -1
  45. package/dist/cdn/{OE3UFORR.js → ILMYZIWD.js} +1 -1
  46. package/dist/cdn/{U4XLNCOU.js → IQ3T72TK.js} +1 -1
  47. package/dist/cdn/{3YT44D4Z.js → IRJ2YA3P.js} +1 -1
  48. package/dist/cdn/{A5GIBV5W.js → J2HYDDIW.js} +1 -1
  49. package/dist/cdn/{MRTKZZTF.js → JHANH4UG.js} +1 -1
  50. package/dist/cdn/JMLS3OCC.js +2 -0
  51. package/dist/cdn/JQ7KK2TT.js +2 -0
  52. package/dist/cdn/K5AZMQ5Q.js +2 -0
  53. package/dist/cdn/KNYJJN7R.js +2 -0
  54. package/dist/cdn/{FDXE5JLT.js → L3XXFSDJ.js} +1 -1
  55. package/dist/cdn/L52YJC6U.js +2 -0
  56. package/dist/cdn/{GES3HRXE.js → LKAKZYML.js} +1 -1
  57. package/dist/cdn/{CJ4POAPM.js → LNRU4KNE.js} +1 -1
  58. package/dist/cdn/{UT4TYXFO.js → LU5S2VRK.js} +1 -1
  59. package/dist/cdn/{RAQZUMC6.js → LYRIOMLM.js} +1 -1
  60. package/dist/cdn/{RFQBUWOW.js → NI4KTOCF.js} +1 -1
  61. package/dist/cdn/O533LNDP.js +2 -0
  62. package/dist/cdn/{UKDTXHZT.js → OKMRX4U5.js} +1 -1
  63. package/dist/cdn/{LDPHZHSF.js → OYQK2TIQ.js} +1 -1
  64. package/dist/cdn/{NQQW4GKA.js → PKCOYJHN.js} +1 -1
  65. package/dist/cdn/{PK5XIIZY.js → POIIR3QR.js} +1 -1
  66. package/dist/cdn/PSUB3KL5.js +4 -0
  67. package/dist/cdn/{KI4HS3AM.js → PWNFUWUN.js} +1 -1
  68. package/dist/cdn/Q5J2S3DE.js +2 -0
  69. package/dist/cdn/{5JML3JUR.js → QEC5EZ6Q.js} +1 -1
  70. package/dist/cdn/QID7XRNR.js +2 -0
  71. package/dist/cdn/QKL4PXPG.js +2 -0
  72. package/dist/cdn/{2K4ODNJ4.js → QN7MXGGV.js} +1 -1
  73. package/dist/cdn/{WASEMNYV.js → QNT6HTFC.js} +1 -1
  74. package/dist/cdn/R7QGZ7QJ.js +2 -0
  75. package/dist/cdn/RGFQCA4L.js +102 -0
  76. package/dist/cdn/{CHQDKVVQ.js → RIM4HLHN.js} +1 -1
  77. package/dist/cdn/RQN3DHRN.js +2 -0
  78. package/dist/cdn/{N524VXQ2.js → RY3TJU7J.js} +1 -1
  79. package/dist/cdn/{7ABIELGZ.js → RZGDZC44.js} +1 -1
  80. package/dist/cdn/S7Z4HRW7.js +2 -0
  81. package/dist/cdn/SCX3TUEG.js +2 -0
  82. package/dist/cdn/STTG3UAJ.js +2 -0
  83. package/dist/cdn/{VEA5ZR5D.js → SZOAGNYC.js} +1 -1
  84. package/dist/cdn/{PZGIXDMC.js → T5KLEUNC.js} +1 -1
  85. package/dist/cdn/{23YH7MTF.js → TCS4HOSG.js} +1 -1
  86. package/dist/cdn/{PC7IKOIB.js → TH2F4GPI.js} +1 -1
  87. package/dist/cdn/{TU3UF32Y.js → U555MUVU.js} +1 -1
  88. package/dist/cdn/V2H2UI2W.js +2 -0
  89. package/dist/cdn/{RX3RNE7F.js → V6UMDO6X.js} +1 -1
  90. package/dist/cdn/VJFHFI6U.js +58 -0
  91. package/dist/cdn/{3DK6M5E7.js → VK4OJOVV.js} +1 -1
  92. package/dist/cdn/{5QO32XSX.js → VM6CF4WH.js} +1 -1
  93. package/dist/cdn/{TAI4RIWT.js → WE2J37H5.js} +1 -1
  94. package/dist/cdn/{5G7DSKI7.js → XAO2DW32.js} +1 -1
  95. package/dist/cdn/XRLVJJBT.js +2 -0
  96. package/dist/cdn/{U2LJZ4ML.js → XVW5DABR.js} +1 -1
  97. package/dist/cdn/YVOKQFAW.js +2 -0
  98. package/dist/cdn/{PSO5AURI.js → Z2Z3DPFE.js} +1 -1
  99. package/dist/cdn/ZW4PF3UK.js +2 -0
  100. package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
  101. package/dist/cdn/index.js +1 -1
  102. package/dist/cdn/model/shared/setup-utils.js +2 -0
  103. package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
  104. package/dist/chart-rendering/common/interfaces.d.ts +8 -8
  105. package/dist/chunks/chart-model.js +170 -138
  106. package/dist/chunks/class-breaks.js +18 -18
  107. package/dist/chunks/data.js +68 -68
  108. package/dist/chunks/index2.js +2259 -2226
  109. package/dist/chunks/index3.js +32 -29
  110. package/dist/chunks/index4.js +107 -49
  111. package/dist/chunks/model-setter.js +1 -1
  112. package/dist/chunks/pie-chart-data.js +42 -36
  113. package/dist/chunks/pie-chart-model.js +175 -162
  114. package/dist/chunks/rotated-state.js +1 -1
  115. package/dist/chunks/scatterplot-model.js +1 -1
  116. package/dist/chunks/serial-chart-data.js +591 -579
  117. package/dist/chunks/time-zone.js +1 -1
  118. package/dist/chunks/utils.js +67 -56
  119. package/dist/chunks/web-component-utils.js +601 -491
  120. package/dist/components/arcgis-chart/customElement.d.ts +145 -138
  121. package/dist/components/arcgis-chart/customElement.js +6353 -6353
  122. package/dist/components/arcgis-charts-action-bar/customElement.d.ts +4 -0
  123. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  124. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +3 -3
  125. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +34 -36
  126. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +28 -28
  127. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +5 -8
  128. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
  129. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +35 -36
  130. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
  131. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +14 -17
  132. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +14 -16
  133. package/dist/components/arcgis-charts-config-create-flow/customElement.js +15 -15
  134. package/dist/components/arcgis-charts-config-format/customElement.js +25 -25
  135. package/dist/components/arcgis-charts-config-format-popover/customElement.js +7 -10
  136. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +8 -11
  137. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +1 -1
  138. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +15 -16
  139. package/dist/components/arcgis-charts-config-histogram/customElement.js +28 -23
  140. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +26 -27
  141. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  142. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +2 -2
  143. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +29 -31
  144. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +6 -6
  145. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +4 -5
  146. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +49 -56
  147. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +38 -40
  148. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +6 -6
  149. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +5 -8
  150. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +27 -22
  151. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +75 -75
  152. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +12 -13
  153. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +8 -10
  154. package/dist/docs/api.json +1 -1
  155. package/dist/docs/docs.json +1 -1
  156. package/dist/docs/vscode.html-custom-data.json +1 -1
  157. package/dist/docs/web-types.json +1 -1
  158. package/dist/index.d.ts +66 -70
  159. package/dist/index.js +212 -210
  160. package/dist/json-schema/index.d.ts +59 -2
  161. package/dist/loader.js +1 -1
  162. package/dist/model/chart-model/chart-model.d.ts +2 -1
  163. package/dist/model/interfaces/common.d.ts +0 -2
  164. package/dist/model/pie-chart-model/pie-chart-model.d.ts +2 -0
  165. package/dist/model/properties/data-tooltip-font-size.d.ts +20 -0
  166. package/dist/model/properties/rotated-state.d.ts +1 -1
  167. package/dist/spec/rest-js-object-literals.d.ts +2 -2
  168. package/dist/spec/rest-js-types.d.ts +22 -8
  169. package/dist/spec/web-chart.d.ts +8 -2
  170. package/dist/utils/chart-config/converter/index.js +264 -264
  171. package/dist/utils/chart-config/utils/index.d.ts +36 -0
  172. package/dist/utils/chart-config/validator/index.d.ts +1 -0
  173. package/dist/utils/chart-config/validator/interfaces.d.ts +3 -3
  174. package/dist/utils/data/index.d.ts +8 -11
  175. package/dist/utils/defaults/index.d.ts +1 -2
  176. package/dist/utils/errors/index.d.ts +1 -1
  177. package/dist/utils/layer/index.d.ts +5 -3
  178. package/dist/utils/layer/inline-conversion/interfaces.d.ts +0 -2
  179. package/dist/utils/layer/query-parser/index.d.ts +3 -3
  180. package/dist/utils/localization/interfaces.d.ts +4 -0
  181. package/dist/utils/misc/index.d.ts +2 -3
  182. package/dist/utils/types/index.d.ts +1 -5
  183. package/package.json +6 -6
  184. package/dist/cdn/26FWESH3.js +0 -102
  185. package/dist/cdn/3XHZ677O.js +0 -2
  186. package/dist/cdn/5FMEOIBS.js +0 -3
  187. package/dist/cdn/74JAZF7U.js +0 -2
  188. package/dist/cdn/7HIZH35G.js +0 -2
  189. package/dist/cdn/CCR46UHB.js +0 -2
  190. package/dist/cdn/CRFJ2GGS.js +0 -2
  191. package/dist/cdn/CXQOEN77.js +0 -2
  192. package/dist/cdn/DYC3Q36R.js +0 -2
  193. package/dist/cdn/E2N2S7BH.js +0 -2
  194. package/dist/cdn/E43KEVHT.js +0 -2
  195. package/dist/cdn/EXTKNE2L.js +0 -2
  196. package/dist/cdn/F7Y6EWWB.js +0 -2
  197. package/dist/cdn/G5HVFOIO.js +0 -2
  198. package/dist/cdn/G7TRU7JI.js +0 -2
  199. package/dist/cdn/IHQ7R6L4.js +0 -4
  200. package/dist/cdn/IUFXFWXH.js +0 -2
  201. package/dist/cdn/JHYH555K.js +0 -2
  202. package/dist/cdn/JNNB2DIA.js +0 -2
  203. package/dist/cdn/KVGEY3IQ.js +0 -2
  204. package/dist/cdn/KXNZEPLT.js +0 -58
  205. package/dist/cdn/LWODMEOP.js +0 -2
  206. package/dist/cdn/LYZGRYQV.js +0 -2
  207. package/dist/cdn/MF3FGXHI.js +0 -2
  208. package/dist/cdn/MUPHTV55.js +0 -2
  209. package/dist/cdn/N5ERJZPG.js +0 -2
  210. package/dist/cdn/NGPMU4T3.js +0 -2
  211. package/dist/cdn/NJCZ6UTM.js +0 -2
  212. package/dist/cdn/NMB6TWC2.js +0 -2
  213. package/dist/cdn/NNNTZU5J.js +0 -2
  214. package/dist/cdn/NS3THLCD.js +0 -2
  215. package/dist/cdn/NZR4L5AA.js +0 -2
  216. package/dist/cdn/P2NPQAJ3.js +0 -2
  217. package/dist/cdn/PJUAU42S.js +0 -2
  218. package/dist/cdn/PY5Q3V6E.js +0 -2
  219. package/dist/cdn/RMYZGOBM.js +0 -2
  220. package/dist/cdn/TXSWWAOF.js +0 -2
  221. package/dist/cdn/UAJGYF4S.js +0 -2
  222. package/dist/cdn/UT6G7RV7.js +0 -2
  223. package/dist/cdn/VOTZAPI3.js +0 -2
  224. package/dist/cdn/WO6JBNMU.js +0 -2
  225. package/dist/cdn/YYK7SPXC.js +0 -2
  226. package/dist/cdn/ZRZEKOEF.js +0 -2
  227. /package/dist/cdn/{2HGBRW4I.js → 3HAB3JR6.js} +0 -0
  228. /package/dist/cdn/{AJBEE7WE.js → 3YOOX2CV.js} +0 -0
  229. /package/dist/cdn/{53FG76LL.js → 4DSO7LUF.js} +0 -0
  230. /package/dist/cdn/{2X75KJPF.js → 5HRLHWQ5.js} +0 -0
  231. /package/dist/cdn/{I36OAVW3.js → 732EZ6WJ.js} +0 -0
  232. /package/dist/cdn/{3V4HRXIT.js → 7IS6QE6S.js} +0 -0
  233. /package/dist/cdn/{VFM2EV3M.js → 7XZZ5OZL.js} +0 -0
  234. /package/dist/cdn/{4E7C5QPS.js → AN2NRYQV.js} +0 -0
  235. /package/dist/cdn/{O2ERVMSN.js → ASUGYCJ6.js} +0 -0
  236. /package/dist/cdn/{TSI3C3OV.js → BICQEJYZ.js} +0 -0
  237. /package/dist/cdn/{66KSEDOR.js → C2I4WPWM.js} +0 -0
  238. /package/dist/cdn/{NFDXH5B3.js → C47AIJTI.js} +0 -0
  239. /package/dist/cdn/{B4KT2HUE.js → C5YJ7J3A.js} +0 -0
  240. /package/dist/cdn/{4QQVKRJ5.js → DPV2ZJLF.js} +0 -0
  241. /package/dist/cdn/{ZFM5RGWD.js → E4535ZTP.js} +0 -0
  242. /package/dist/cdn/{M4AQLWZU.js → FJNRPAMO.js} +0 -0
  243. /package/dist/cdn/{PH6UOHRS.js → GI54JT4O.js} +0 -0
  244. /package/dist/cdn/{YIIPYKTL.js → GYTYFBNU.js} +0 -0
  245. /package/dist/cdn/{RDTBZUT7.js → J5QUGI2J.js} +0 -0
  246. /package/dist/cdn/{XIJ5VLER.js → JPEN5TFK.js} +0 -0
  247. /package/dist/cdn/{DD4QUBOF.js → KBQM3DLQ.js} +0 -0
  248. /package/dist/cdn/{75P3QRL4.js → LEMJA72W.js} +0 -0
  249. /package/dist/cdn/{NHDVOYQ2.js → MMO2QPOA.js} +0 -0
  250. /package/dist/cdn/{NG2IHVZ4.js → PS7IL5JZ.js} +0 -0
  251. /package/dist/cdn/{5AOYADA3.js → R2RRMPOC.js} +0 -0
  252. /package/dist/cdn/{ABIVSH72.js → RV6E7KKQ.js} +0 -0
  253. /package/dist/cdn/{OA7FHTCA.js → RYLXJPKL.js} +0 -0
  254. /package/dist/cdn/{I5VHQW7B.js → S2R72ISR.js} +0 -0
  255. /package/dist/cdn/{N3VOUI25.js → T4NEEFOY.js} +0 -0
  256. /package/dist/cdn/{4JQ2RRLY.js → TEERYUCS.js} +0 -0
  257. /package/dist/cdn/{XWKBJDZT.js → V454JYTQ.js} +0 -0
  258. /package/dist/cdn/{LNF44ZGQ.js → V7JF5I5M.js} +0 -0
  259. /package/dist/cdn/{N6OT5IBC.js → VIZWWEG5.js} +0 -0
  260. /package/dist/cdn/{SGOYJFLO.js → W5SPX6WM.js} +0 -0
  261. /package/dist/cdn/{OYHKUGS6.js → X2IOJECM.js} +0 -0
  262. /package/dist/cdn/{O6SNP6QE.js → X33RIIGI.js} +0 -0
  263. /package/dist/cdn/{UAZ34KDJ.js → YBTVIOHQ.js} +0 -0
  264. /package/dist/cdn/{7ILH7ZG2.js → YFQHZWLO.js} +0 -0
  265. /package/dist/cdn/{FLO3N6JD.js → YX4EVVJM.js} +0 -0
  266. /package/dist/cdn/{CODAXMWM.js → YXH22GJ6.js} +0 -0
  267. /package/dist/cdn/{DIKQ7BPQ.js → ZMQTYGGT.js} +0 -0
@@ -1,5 +1,5 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { i as l, cR as s } from "./index2.js";
2
+ import { i as l, cS as s } from "./index2.js";
3
3
  import { C as p, m as u } from "./model-setter.js";
4
4
  import { u as i } from "./chart-object-literals.js";
5
5
  var v = Object.defineProperty, Z = Object.getOwnPropertyDescriptor, d = (t, e, a, r) => {
@@ -1,67 +1,67 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { substitute as b } from "@arcgis/core/intl.js";
3
- import { t as C, E as D, I as j, T as q, C as w, u as k } from "./index.js";
4
- import { g as M } from "./series-types.js";
5
- import { l as E, d as S, q as W, D as $ } from "./index3.js";
6
- import { an as I, ag as U, h as v, b_ as L, a6 as H, bZ as K, aH as P } from "./index2.js";
3
+ import { t as j, E as q, I as w, T as k, C as M, u as $ } from "./index.js";
4
+ import { g as E } from "./series-types.js";
5
+ import { l as W, d as S, q as U, D as H } from "./index3.js";
6
+ import { an as I, ag as K, h as O, c0 as L, a6 as h, b$ as V, aH as P } from "./index2.js";
7
7
  import { k as X } from "./index5.js";
8
- import { q as R, u, r as F, p as G } from "./chart-object-literals.js";
9
- import { c as O } from "./type-guards.js";
8
+ import { q as R, u as f, r as A, p as G } from "./chart-object-literals.js";
9
+ import { c as T } from "./type-guards.js";
10
10
  function ae(s, e, i) {
11
11
  const t = s?.axes?.[e];
12
- t?.title !== void 0 ? t.title.content.text = i : t !== void 0 && (t.title = D({
12
+ t?.title !== void 0 ? t.title.content.text = i : t !== void 0 && (t.title = q({
13
13
  text: i,
14
14
  visible: !0,
15
- font: j(q.AxisTitle)
15
+ font: w(k.AxisTitle)
16
16
  }));
17
17
  }
18
18
  function re(s) {
19
19
  const { config: e, layerInfo: i, commonStrings: t, numericFields: a, aggregationType: r } = s;
20
20
  let o = "";
21
21
  if (e)
22
- if (E(e) === R.Stacked100)
22
+ if (W(e) === R.Stacked100)
23
23
  o = t.utilsStrings.statistics.percent;
24
24
  else {
25
- const c = C(r, t);
26
- if (e.series[0]?.type === u.HeatSeries)
25
+ const d = j(r, t);
26
+ if (e.series[0]?.type === f.HeatSeries)
27
27
  o = S(i.layerFieldsInfo, e.series[0].y);
28
28
  else if (a.length === 1) {
29
- const f = S(i.layerFieldsInfo, a[0]), n = I(i.layer).idField;
30
- r === F.NoAggregation ? o = f : r === F.Count && n !== void 0 && a[0] === n ? o = t.utilsStrings.statistics.count : o = b(t.axisLabels.aggregationOfFieldName, {
31
- aggregation: c,
32
- fieldName: f
29
+ const g = S(i.layerFieldsInfo, a[0]), n = I(i.layer).idField;
30
+ r === A.NoAggregation ? o = g : r === A.Count && n !== void 0 && a[0] === n ? o = t.utilsStrings.statistics.count : o = b(t.axisLabels.aggregationOfFieldName, {
31
+ aggregation: d,
32
+ fieldName: g
33
33
  });
34
- } else a.length > 1 && (r === F.NoAggregation ? o = t.axisLabels.values : o = b(t.axisLabels.aggregationOfValues, {
35
- aggregation: c
34
+ } else a.length > 1 && (r === A.NoAggregation ? o = t.axisLabels.values : o = b(t.axisLabels.aggregationOfValues, {
35
+ aggregation: d
36
36
  }));
37
37
  }
38
38
  return o;
39
39
  }
40
- const V = (s, e, i) => s.axes?.[e] ?? k(i, s.type)[e], T = (s) => {
40
+ const B = (s, e, i) => s.axes?.[e] ?? $(i, s.type)[e], C = (s) => {
41
41
  const { config: e, axis: i, axisIndex: t } = s;
42
42
  e.axes !== void 0 && (e.axes[t] = i);
43
43
  }, oe = (s) => {
44
44
  const { config: e, axisIndex: i, isMax: t } = s;
45
45
  let a = Number.NaN;
46
46
  return t ? a = e.axes?.[i]?.maximum : a = e.axes?.[i]?.minimum, a ?? Number.NaN;
47
- }, h = (s) => {
47
+ }, N = (s) => {
48
48
  const { config: e, value: i, axisIndex: t, isMax: a } = s, r = e?.axes?.[t];
49
49
  r !== void 0 && (a ? r.maximum = i : r.minimum = i);
50
- }, ne = (s) => s.axes?.[0]?.valueFormat ?? w(), le = (s, e, i) => {
51
- const t = V(s, 0, e);
50
+ }, ne = (s) => s.axes?.[0]?.valueFormat ?? M(), le = (s, e, i) => {
51
+ const t = B(s, 0, e);
52
52
  if (t !== void 0 && i !== void 0) {
53
53
  const a = {
54
54
  ...t,
55
55
  valueFormat: i
56
56
  };
57
- T({ config: s, axis: a, axisIndex: 0 });
57
+ C({ config: s, axis: a, axisIndex: 0 });
58
58
  }
59
59
  }, ce = (s, e, i) => {
60
60
  const t = s.axes?.[e];
61
61
  t !== void 0 && (t.integerOnlyValues = i);
62
62
  }, Q = (s) => {
63
- const e = M(s.series);
64
- return e === u.BarSeries || e === u.ComboLineAndBarSeries || e === u.LineSeries;
63
+ const e = E(s.series);
64
+ return e === f.BarSeries || e === f.ComboLineAndBarSeries || e === f.LineSeries;
65
65
  }, Y = (s) => {
66
66
  const { axisIndex: e, config: i, isMultiAxis: t } = s;
67
67
  let a = !1;
@@ -69,18 +69,18 @@ const V = (s, e, i) => s.axes?.[e] ?? k(i, s.type)[e], T = (s) => {
69
69
  }, ue = (s) => {
70
70
  const { axisIndex: e, func: i, config: t } = s;
71
71
  return Y({ axisIndex: e, config: t, isMultiAxis: !0 }) ? i(e) : void 0;
72
- }, N = (s, e) => {
72
+ }, v = (s, e) => {
73
73
  let i;
74
74
  const t = e.axes?.[s]?.valueFormat;
75
75
  return (s === 0 || s >= 1 && X(t)) && (i = t), i;
76
76
  }, de = (s) => {
77
- const { config: e, commonStrings: i, valueFormat: t, axisIndex: a = 0 } = s, r = V(e, a, i);
77
+ const { config: e, commonStrings: i, valueFormat: t, axisIndex: a = 0 } = s, r = B(e, a, i);
78
78
  if (r !== void 0 && t !== void 0) {
79
79
  const o = {
80
80
  ...r,
81
81
  valueFormat: t
82
82
  };
83
- T({
83
+ C({
84
84
  config: e,
85
85
  axis: o,
86
86
  axisIndex: a
@@ -88,22 +88,22 @@ const V = (s, e, i) => s.axes?.[e] ?? k(i, s.type)[e], T = (s) => {
88
88
  }
89
89
  }, fe = (s, e) => s.axes?.[e]?.isLogarithmic ?? !1, ge = (s) => {
90
90
  const { config: e, isLogarithmic: i, axisIndex: t } = s, a = e.axes?.[t];
91
- a && (a.isLogarithmic = i, h({ config: e, value: null, axisIndex: t, isMax: !0 }), h({ config: e, value: null, axisIndex: t, isMax: !1 }));
91
+ a && (a.isLogarithmic = i, N({ config: e, value: null, axisIndex: t, isMax: !0 }), N({ config: e, value: null, axisIndex: t, isMax: !1 }));
92
92
  }, xe = (s) => {
93
93
  const { config: e, scrollbar: i, axisIndex: t } = s;
94
94
  e.axes?.[t] !== void 0 && (e.axes[t].scrollbar = i);
95
95
  };
96
96
  async function ye(s) {
97
- const { config: e, layer: i, xAxisField: t, splitByField: a, layerFieldsInfo: r, aggregationFields: o, fetchNullValues: d, errorStrings: c } = s, n = r.filter((p) => p.name === a)[0]?.type, y = d !== !0 ? `${a} IS NOT NULL` : "", x = t && d !== !0 ? `${t} IS NOT NULL` : "", { where: A } = e?.dataFilters ?? {}, B = {
98
- where: v([A, y, x]),
97
+ 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 = {
98
+ where: O([m, x, l]),
99
99
  // excluding the null values from the list
100
- orderByFields: W(a) ? [] : [`${a} ${G.Ascending}`],
100
+ orderByFields: U(a) ? [] : [`${a} ${G.Ascending}`],
101
101
  // default sorting ascending for split-by field
102
102
  geometry: e?.dataFilters?.geometry
103
103
  };
104
- let m = "";
105
- o?.length === 0 ? m = I(i).idField : o && ([m] = o);
106
- let g = i ? O(i) ? await K({
104
+ let p = "";
105
+ o?.length === 0 ? p = I(i).idField : o && ([p] = o);
106
+ let y = i ? T(i) ? await V({
107
107
  layer: i,
108
108
  category: e?.series[0].x ?? "",
109
109
  splitByField: a
@@ -111,18 +111,18 @@ async function ye(s) {
111
111
  queryObject: i,
112
112
  category: e?.series[0].x ?? "",
113
113
  splitByField: a,
114
- queryConfig: B,
115
- errorStrings: c
114
+ queryConfig: D,
115
+ errorStrings: d
116
116
  }) : [];
117
- if (g = g.slice(0, 500), e) {
118
- const p = e?.series.map((l) => P({ where: l.query?.where })?.toString() ?? "").filter((l) => l !== void 0 && l !== "");
119
- g = $({
120
- arrayA: g,
121
- arrayB: p,
122
- getKey: (l) => l === null ? null : l?.toString()
117
+ if (y = y.slice(0, 500), e) {
118
+ const F = e?.series.map((c) => P({ where: c.query?.where })?.toString() ?? "").filter((c) => c !== void 0 && c !== "");
119
+ y = H({
120
+ arrayA: y,
121
+ arrayB: F,
122
+ getKey: (c) => c === null ? null : c?.toString()
123
123
  });
124
124
  }
125
- return { categoriesArray: g, splitByFieldType: n, numericalField: m };
125
+ return { categoriesArray: y, splitByFieldType: n, numericalField: p };
126
126
  }
127
127
  function me(s, e) {
128
128
  let i = e === "";
@@ -134,7 +134,7 @@ function me(s, e) {
134
134
  return i;
135
135
  }
136
136
  function pe(s, e) {
137
- const i = U(s);
137
+ const i = K(s);
138
138
  let t = e.length === 0, a = 0;
139
139
  for (const r of e) {
140
140
  for (const o of i)
@@ -159,27 +159,38 @@ function Fe(s, e) {
159
159
  });
160
160
  }
161
161
  async function Ae(s) {
162
- const { layerInfo: e, config: i, category: t, errorStrings: a } = s, { layer: r } = e, { where: o } = i?.dataFilters ?? {}, { fetchNullValues: d } = i?.series?.[0]?.query ?? {}, c = d !== !0 ? `${t} IS NOT NULL` : "", f = {
163
- where: v([o, c]),
162
+ const { layerInfo: e, config: i, category: t, errorStrings: a } = s, { layer: r } = e, { where: o } = i?.dataFilters ?? {}, { fetchNullValues: u } = i?.series?.[0]?.query ?? {}, d = u !== !0 ? `${t} IS NOT NULL` : "", g = {
163
+ where: O([o, d]),
164
164
  // excluding the null values from the list
165
165
  orderByFields: [],
166
166
  geometry: i?.dataFilters?.geometry
167
167
  };
168
168
  let n;
169
- return O(r) ? n = [] : n = // fetch unique category values asynchronously
170
- (await L({ queryObject: r, category: t, queryConfig: f, errorStrings: a })).map(
171
- (y) => {
172
- const x = String(y);
173
- return H({
169
+ return T(r) ? n = (await V({
170
+ layer: r,
171
+ category: t,
172
+ fetchNullValues: u
173
+ })).map((x) => {
174
+ const l = String(x);
175
+ return h({
176
+ queryObject: e.layer,
177
+ fieldName: t,
178
+ fieldValue: l
179
+ }) ?? l;
180
+ }) : n = // fetch unique category values asynchronously
181
+ (await L({ queryObject: r, category: t, queryConfig: g, errorStrings: a })).map(
182
+ (x) => {
183
+ const l = String(x);
184
+ return h({
174
185
  queryObject: e.layer,
175
186
  fieldName: t,
176
- fieldValue: x
177
- }) ?? x;
187
+ fieldValue: l
188
+ }) ?? l;
178
189
  }
179
190
  ), n;
180
191
  }
181
192
  function be(s) {
182
- return s !== void 0 && N(0, s)?.type === u.CategoryAxisFormat && N(1, s)?.type === u.CategoryAxisFormat;
193
+ return s !== void 0 && v(0, s)?.type === f.CategoryAxisFormat && v(1, s)?.type === f.CategoryAxisFormat;
183
194
  }
184
195
  export {
185
196
  ne as a,
@@ -193,12 +204,12 @@ export {
193
204
  be as i,
194
205
  pe as j,
195
206
  oe as k,
196
- N as l,
207
+ v as l,
197
208
  de as m,
198
209
  fe as n,
199
210
  ge as o,
200
211
  xe as p,
201
212
  ue as r,
202
- h as s,
213
+ N as s,
203
214
  ae as u
204
215
  };