@arcgis/charts-components 5.2.0-next.13 → 5.2.0-next.130

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 (685) hide show
  1. package/LICENSE.md +4 -2
  2. package/README.md +2 -2
  3. package/dist/cdn/{YJ6TRXMU.js → 24MSASQQ.js} +1 -1
  4. package/dist/cdn/{4USHOYLT.js → 2BE3GYK4.js} +1 -1
  5. package/dist/cdn/{3TZEMBXR.js → 2BYGCYAZ.js} +1 -1
  6. package/dist/cdn/2C2NIEZB.js +2 -0
  7. package/dist/cdn/2MMQK7WY.js +2 -0
  8. package/dist/cdn/{VETKGJXJ.js → 34XMANB5.js} +1 -1
  9. package/dist/cdn/35YCEIPG.js +2 -0
  10. package/dist/cdn/35Z5G5XD.js +2 -0
  11. package/dist/cdn/{VY3KBD6N.js → 3EZTPHQL.js} +1 -1
  12. package/dist/cdn/3RHIIHYK.js +104 -0
  13. package/dist/cdn/4555T57S.js +2 -0
  14. package/dist/cdn/{CHLE2QGU.js → 4DXGXATO.js} +1 -1
  15. package/dist/cdn/4TYYNWIM.js +2 -0
  16. package/dist/cdn/57HL3UWJ.js +2 -0
  17. package/dist/cdn/{UYXCGSXU.js → 5ALFG7T4.js} +1 -1
  18. package/dist/cdn/{H2A5GZ55.js → 5D2QRMC6.js} +1 -1
  19. package/dist/cdn/{2XXW3WF3.js → 5FZODM64.js} +1 -1
  20. package/dist/cdn/{N4L5KE23.js → 5GAM5RFW.js} +1 -1
  21. package/dist/cdn/5HNG6KMX.js +2 -0
  22. package/dist/cdn/5HNY3IAS.js +2 -0
  23. package/dist/cdn/5MZ56C7R.js +2 -0
  24. package/dist/cdn/{LUSFGRHV.js → 5WIR3JWC.js} +1 -1
  25. package/dist/cdn/{AASL4RKT.js → 5XJT5ZZ3.js} +1 -1
  26. package/dist/cdn/{MK5ZYSOD.js → 5ZQUHYTV.js} +1 -1
  27. package/dist/cdn/{VT4WJZN6.js → 64B7ILJI.js} +1 -1
  28. package/dist/cdn/{YKDW7ZW3.js → 64JQTZPV.js} +1 -1
  29. package/dist/cdn/{KDJ5RVHA.js → 64L7VJJK.js} +1 -1
  30. package/dist/cdn/{N5ZUO6F3.js → 6HBAS6LD.js} +1 -1
  31. package/dist/cdn/{4OH4NSIW.js → 6P652GSA.js} +1 -1
  32. package/dist/cdn/{7LYAWWOE.js → 6WKTHJQK.js} +1 -1
  33. package/dist/cdn/{RSNZMJ6I.js → 77MRFLGO.js} +1 -1
  34. package/dist/cdn/{II2ZPEUZ.js → 7C2LVFNV.js} +1 -1
  35. package/dist/cdn/{4Z23HWDH.js → 7COM5REK.js} +1 -1
  36. package/dist/cdn/7HEDEKUK.js +2 -0
  37. package/dist/cdn/7JOTYFCC.js +2 -0
  38. package/dist/cdn/{6OEWH6DU.js → 7LTSJSTM.js} +1 -1
  39. package/dist/cdn/7RELPYIT.js +2 -0
  40. package/dist/cdn/7V56LIEQ.js +2 -0
  41. package/dist/cdn/A6ZHMVPA.js +2 -0
  42. package/dist/cdn/A7WJVI5D.js +2 -0
  43. package/dist/cdn/{ZBIVDGNH.js → ACJYOVLW.js} +1 -1
  44. package/dist/cdn/{OJ5X6I3H.js → ADI63OO7.js} +1 -1
  45. package/dist/cdn/AE3Q3FDI.js +2 -0
  46. package/dist/cdn/{TXB2I2U5.js → B2SUC7VR.js} +1 -1
  47. package/dist/cdn/{TACQVUBU.js → BDEDEGCZ.js} +1 -1
  48. package/dist/cdn/BEMMMLF7.js +2 -0
  49. package/dist/cdn/{A636YSNA.js → BGQBOLMO.js} +1 -1
  50. package/dist/cdn/{CNFBNAPJ.js → BK7DHYA7.js} +1 -1
  51. package/dist/cdn/BTVIWRYJ.js +2 -0
  52. package/dist/cdn/BYSUABOV.js +2 -0
  53. package/dist/cdn/{SSQ3VCZ2.js → CG7KYJ6V.js} +1 -1
  54. package/dist/cdn/CQFH2M2V.js +3 -0
  55. package/dist/cdn/{ZFJFTDJF.js → CYGMXV56.js} +1 -1
  56. package/dist/cdn/DDNS3GY4.js +2 -0
  57. package/dist/cdn/DJTFBHNQ.js +2 -0
  58. package/dist/cdn/DLX6VFTM.js +2 -0
  59. package/dist/cdn/{BDGHBTPU.js → DOOQHQ3P.js} +1 -1
  60. package/dist/cdn/{FOYOG3G7.js → E3EMRNWO.js} +1 -1
  61. package/dist/cdn/E3GMOBBD.js +2 -0
  62. package/dist/cdn/EGROLWFL.js +2 -0
  63. package/dist/cdn/EJNWROC7.js +2 -0
  64. package/dist/cdn/{VDKFC44J.js → ENFJM3LJ.js} +1 -1
  65. package/dist/cdn/{J5NHXQLA.js → EQZBQP5A.js} +1 -1
  66. package/dist/cdn/EXL2B3BJ.js +2 -0
  67. package/dist/cdn/F4U6EDV7.js +2 -0
  68. package/dist/cdn/FB73CWAR.js +2 -0
  69. package/dist/cdn/FEEYT3QQ.js +2 -0
  70. package/dist/cdn/FHSZFYWX.js +45 -0
  71. package/dist/cdn/FKNSQZCW.js +2 -0
  72. package/dist/cdn/FL6IYK2Q.js +2 -0
  73. package/dist/cdn/FPYTBEV3.js +2 -0
  74. package/dist/cdn/FWSQ6ZIW.js +2 -0
  75. package/dist/cdn/G4A4HBNN.js +2 -0
  76. package/dist/cdn/G5R4DPDE.js +2 -0
  77. package/dist/cdn/GCIRVVIE.js +2 -0
  78. package/dist/cdn/{FWAXKDYV.js → GL2VXFGY.js} +1 -1
  79. package/dist/cdn/GWNC2RK3.js +2 -0
  80. package/dist/cdn/{Y3CXVO2M.js → H36JC7RS.js} +1 -1
  81. package/dist/cdn/H5DH4WNN.js +2 -0
  82. package/dist/cdn/HLHP2HHG.js +2 -0
  83. package/dist/cdn/HLNBRVRG.js +2 -0
  84. package/dist/cdn/{ANN3O54W.js → HP4BKU3R.js} +1 -1
  85. package/dist/cdn/HZBM265G.js +2 -0
  86. package/dist/cdn/{AZOBLYAP.js → I2BM5KSH.js} +1 -1
  87. package/dist/cdn/{JQKRGUBU.js → IDAOLPMA.js} +1 -1
  88. package/dist/cdn/IGFC74OK.js +2 -0
  89. package/dist/cdn/IUFIYS7S.js +2 -0
  90. package/dist/cdn/{IYA7HQMS.js → KFLVZ3W6.js} +1 -1
  91. package/dist/cdn/KFUYJAX4.js +2 -0
  92. package/dist/cdn/{X2LW7GTR.js → KGUFKVDR.js} +1 -1
  93. package/dist/cdn/{D3CFPMAR.js → KOY5DWSR.js} +1 -1
  94. package/dist/cdn/{S3ZSZXYG.js → L6O73HFV.js} +1 -1
  95. package/dist/cdn/{AY6IOQ3H.js → LAEUROZM.js} +1 -1
  96. package/dist/cdn/LDIHSUX2.js +2 -0
  97. package/dist/cdn/LJO5VDUN.js +2 -0
  98. package/dist/cdn/{TFPQDMER.js → LN2ZLCLE.js} +1 -1
  99. package/dist/cdn/LOCELKGX.js +4 -0
  100. package/dist/cdn/{JHANH4UG.js → LVFZRGTZ.js} +1 -1
  101. package/dist/cdn/{OFWEHJDH.js → LWT3HZYN.js} +1 -1
  102. package/dist/cdn/MEVS5PVK.js +2 -0
  103. package/dist/cdn/{Y6ZCTPJW.js → MFJTFFLO.js} +1 -1
  104. package/dist/cdn/{W4XWIKEA.js → MJOSYJQM.js} +1 -1
  105. package/dist/cdn/N7EBMOGD.js +2 -0
  106. package/dist/cdn/NGXRBJKL.js +2 -0
  107. package/dist/cdn/{XG2KN6YJ.js → NKPZCF5U.js} +1 -1
  108. package/dist/cdn/{VE3GFNNM.js → NRXCKYYY.js} +1 -1
  109. package/dist/cdn/NSEM52TJ.js +2 -0
  110. package/dist/cdn/{XDMGH7YU.js → NUD4N547.js} +1 -1
  111. package/dist/cdn/NWITMWCT.js +2 -0
  112. package/dist/cdn/{4C6KWLWN.js → NWLNHFHJ.js} +1 -1
  113. package/dist/cdn/O32HVT23.js +2 -0
  114. package/dist/cdn/O5YAEMTL.js +3 -0
  115. package/dist/cdn/OAQCPPNF.js +2 -0
  116. package/dist/cdn/{NAXNRCMZ.js → OD2NWPCL.js} +1 -1
  117. package/dist/cdn/ODTXJRD3.js +2 -0
  118. package/dist/cdn/{4ZIZEJXS.js → OISERMTF.js} +1 -1
  119. package/dist/cdn/{ETOGNYFU.js → OKAZOAYZ.js} +1 -1
  120. package/dist/cdn/OPIODPW3.js +2 -0
  121. package/dist/cdn/{VRZ2SY6M.js → OQFM5DBD.js} +1 -1
  122. package/dist/cdn/{C5K6XOCR.js → P37JASN4.js} +1 -1
  123. package/dist/cdn/P5HRXBWY.js +2 -0
  124. package/dist/cdn/{244ZX2UP.js → P5I5RQTN.js} +1 -1
  125. package/dist/cdn/{AQIB3VEP.js → PABVNO3N.js} +1 -1
  126. package/dist/cdn/{BJ7Q7LCT.js → PIZPF2BH.js} +1 -1
  127. package/dist/cdn/{AK7X7SGI.js → POA2XTTK.js} +1 -1
  128. package/dist/cdn/PTXE3HWB.js +2 -0
  129. package/dist/cdn/PYRBEWFD.js +2 -0
  130. package/dist/cdn/{IVLVCLDE.js → Q45WYAOY.js} +1 -1
  131. package/dist/cdn/{SERX6V5M.js → Q4U7XCT6.js} +1 -1
  132. package/dist/cdn/{LU5S2VRK.js → QD7SXYTF.js} +1 -1
  133. package/dist/cdn/{7UQHB6KY.js → QIG5H6WA.js} +1 -1
  134. package/dist/cdn/QKENGEGV.js +2 -0
  135. package/dist/cdn/{XMPLEHTW.js → QKZK6MTN.js} +1 -1
  136. package/dist/cdn/QL2Y7MRB.js +2 -0
  137. package/dist/cdn/QVG3TOL4.js +2 -0
  138. package/dist/cdn/R35RZX3J.js +2 -0
  139. package/dist/cdn/RAUY3KKA.js +2 -0
  140. package/dist/cdn/RCD46RH5.js +2 -0
  141. package/dist/cdn/{OXYJKZEP.js → RJB4BUDG.js} +1 -1
  142. package/dist/cdn/ROY54SMC.js +2 -0
  143. package/dist/cdn/{IHO3OLL3.js → RP6LD7CU.js} +1 -1
  144. package/dist/cdn/RSJPZSNN.js +2 -0
  145. package/dist/cdn/{QR2OOC4D.js → S6QN5N3G.js} +1 -1
  146. package/dist/cdn/SJF6WAGB.js +2 -0
  147. package/dist/cdn/SKJ3EY3H.js +2 -0
  148. package/dist/cdn/SLMVIJZS.js +2 -0
  149. package/dist/cdn/SNZ7YX4G.js +2 -0
  150. package/dist/cdn/{DNTLH5RT.js → SSOL6PCL.js} +1 -1
  151. package/dist/cdn/SY67MGEX.js +2 -0
  152. package/dist/cdn/SYYWPV6X.js +2 -0
  153. package/dist/cdn/T5MBXDFL.js +2 -0
  154. package/dist/cdn/TAXYRFNW.js +2 -0
  155. package/dist/cdn/{ZYOWZCR7.js → TB7JE5XK.js} +1 -1
  156. package/dist/cdn/TGRE7VEP.js +2 -0
  157. package/dist/cdn/TK2F34AK.js +2 -0
  158. package/dist/cdn/TOETRZXJ.js +2 -0
  159. package/dist/cdn/TOL6YNER.js +2 -0
  160. package/dist/cdn/{WMPWOPRZ.js → TRAVRA3M.js} +1 -1
  161. package/dist/cdn/TT4BXH4L.js +2 -0
  162. package/dist/cdn/TTM5ZQFA.js +2 -0
  163. package/dist/cdn/TUEYIIMJ.js +2 -0
  164. package/dist/cdn/U4GLRB5M.js +2 -0
  165. package/dist/cdn/U62CTMLS.js +2 -0
  166. package/dist/cdn/{P5AO3V3M.js → UD724V36.js} +1 -1
  167. package/dist/cdn/{AIPJCK34.js → UDTDIZNT.js} +1 -1
  168. package/dist/cdn/{RIM4HLHN.js → UE4KTI5X.js} +3 -3
  169. package/dist/cdn/{WAINRCCJ.js → UGNJ4AF4.js} +1 -1
  170. package/dist/cdn/{2OHFSVV5.js → UIH663J3.js} +1 -1
  171. package/dist/cdn/{DSIFL2DF.js → UQSD6YZM.js} +1 -1
  172. package/dist/cdn/{H3EXGCE7.js → UT5D2ZKJ.js} +1 -1
  173. package/dist/cdn/{Q7J7EKQW.js → UUVJGPFG.js} +1 -1
  174. package/dist/cdn/{ULWJ57VT.js → VKU5WPWI.js} +1 -1
  175. package/dist/cdn/{ZQDADGLQ.js → VLCUXTLC.js} +1 -1
  176. package/dist/cdn/WOGALV3T.js +2 -0
  177. package/dist/cdn/{6B7JCDQC.js → WTF2PFHV.js} +1 -1
  178. package/dist/cdn/WULMITJI.js +2 -0
  179. package/dist/cdn/{3MKY6UCO.js → WYIHJMCL.js} +1 -1
  180. package/dist/cdn/XJXSAYEK.js +2 -0
  181. package/dist/cdn/{XYKXBWIT.js → Y3C3CPH6.js} +1 -1
  182. package/dist/cdn/{LROW4Y6O.js → Y3X7AUIP.js} +1 -1
  183. package/dist/cdn/{BXYNEUQY.js → YCQLYXH4.js} +1 -1
  184. package/dist/cdn/{L47EGLUH.js → YD3ETL5Z.js} +1 -1
  185. package/dist/cdn/{5SIAOUPO.js → YG254BNH.js} +1 -1
  186. package/dist/cdn/{S7Z4HRW7.js → YNHYJOH7.js} +1 -1
  187. package/dist/cdn/{3JYZJUOM.js → YU3PMXUH.js} +1 -1
  188. package/dist/cdn/Z5QPCSUQ.js +2 -0
  189. package/dist/cdn/{QNT6HTFC.js → ZD6FBRAV.js} +1 -1
  190. package/dist/cdn/{7QXRWMUN.js → ZEI2ZKEJ.js} +1 -1
  191. package/dist/cdn/ZF7Q5ICW.js +2 -0
  192. package/dist/cdn/ZJTFGMDB.js +2 -0
  193. package/dist/cdn/ZL524IM5.js +2 -0
  194. package/dist/cdn/{5ZGALYWZ.js → ZLCRTIQH.js} +1 -1
  195. package/dist/cdn/{I6UPUSLQ.js → ZSP5DFLS.js} +1 -1
  196. package/dist/cdn/{XY4TRZCG.js → ZSPRUAWO.js} +1 -1
  197. package/dist/cdn/{TYUVXRBO.js → ZZHKDFTA.js} +1 -1
  198. package/dist/cdn/assets/charts-action-bar/t9n/messages.en.json +1 -1
  199. package/dist/cdn/assets/charts-config-general/t9n/messages.ar.json +1 -1
  200. package/dist/cdn/assets/charts-config-general/t9n/messages.bg.json +1 -1
  201. package/dist/cdn/assets/charts-config-general/t9n/messages.bs.json +1 -1
  202. package/dist/cdn/assets/charts-config-general/t9n/messages.ca.json +1 -1
  203. package/dist/cdn/assets/charts-config-general/t9n/messages.cs.json +1 -1
  204. package/dist/cdn/assets/charts-config-general/t9n/messages.da.json +1 -1
  205. package/dist/cdn/assets/charts-config-general/t9n/messages.de.json +1 -1
  206. package/dist/cdn/assets/charts-config-general/t9n/messages.el.json +1 -1
  207. package/dist/cdn/assets/charts-config-general/t9n/messages.en.json +1 -1
  208. package/dist/cdn/assets/charts-config-general/t9n/messages.es.json +1 -1
  209. package/dist/cdn/assets/charts-config-general/t9n/messages.et.json +1 -1
  210. package/dist/cdn/assets/charts-config-general/t9n/messages.fi.json +1 -1
  211. package/dist/cdn/assets/charts-config-general/t9n/messages.fr.json +1 -1
  212. package/dist/cdn/assets/charts-config-general/t9n/messages.he.json +1 -1
  213. package/dist/cdn/assets/charts-config-general/t9n/messages.hr.json +1 -1
  214. package/dist/cdn/assets/charts-config-general/t9n/messages.hu.json +1 -1
  215. package/dist/cdn/assets/charts-config-general/t9n/messages.id.json +1 -1
  216. package/dist/cdn/assets/charts-config-general/t9n/messages.it.json +1 -1
  217. package/dist/cdn/assets/charts-config-general/t9n/messages.ja.json +1 -1
  218. package/dist/cdn/assets/charts-config-general/t9n/messages.ko.json +1 -1
  219. package/dist/cdn/assets/charts-config-general/t9n/messages.lt.json +1 -1
  220. package/dist/cdn/assets/charts-config-general/t9n/messages.lv.json +1 -1
  221. package/dist/cdn/assets/charts-config-general/t9n/messages.nl.json +1 -1
  222. package/dist/cdn/assets/charts-config-general/t9n/messages.no.json +1 -1
  223. package/dist/cdn/assets/charts-config-general/t9n/messages.pl.json +1 -1
  224. package/dist/cdn/assets/charts-config-general/t9n/messages.pt-BR.json +1 -1
  225. package/dist/cdn/assets/charts-config-general/t9n/messages.pt-PT.json +1 -1
  226. package/dist/cdn/assets/charts-config-general/t9n/messages.ro.json +1 -1
  227. package/dist/cdn/assets/charts-config-general/t9n/messages.ru.json +1 -1
  228. package/dist/cdn/assets/charts-config-general/t9n/messages.sk.json +1 -1
  229. package/dist/cdn/assets/charts-config-general/t9n/messages.sl.json +1 -1
  230. package/dist/cdn/assets/charts-config-general/t9n/messages.sr.json +1 -1
  231. package/dist/cdn/assets/charts-config-general/t9n/messages.sv.json +1 -1
  232. package/dist/cdn/assets/charts-config-general/t9n/messages.th.json +1 -1
  233. package/dist/cdn/assets/charts-config-general/t9n/messages.tr.json +1 -1
  234. package/dist/cdn/assets/charts-config-general/t9n/messages.uk.json +1 -1
  235. package/dist/cdn/assets/charts-config-general/t9n/messages.vi.json +1 -1
  236. package/dist/cdn/assets/charts-config-general/t9n/messages.zh-CN.json +1 -1
  237. package/dist/cdn/assets/charts-config-general/t9n/messages.zh-HK.json +1 -1
  238. package/dist/cdn/assets/charts-config-general/t9n/messages.zh-TW.json +1 -1
  239. package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.ar.json +1 -0
  240. package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.bg.json +1 -0
  241. package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.ca.json +1 -0
  242. package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.cs.json +1 -0
  243. package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.da.json +1 -0
  244. package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.de.json +1 -0
  245. package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.el.json +1 -0
  246. package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.en.json +1 -0
  247. package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.es.json +1 -0
  248. package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.et.json +1 -0
  249. package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.fi.json +1 -0
  250. package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.fr.json +1 -0
  251. package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.he.json +1 -0
  252. package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.hr.json +1 -0
  253. package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.hu.json +1 -0
  254. package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.id.json +1 -0
  255. package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.it.json +1 -0
  256. package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.ja.json +1 -0
  257. package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.ko.json +1 -0
  258. package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.lt.json +1 -0
  259. package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.lv.json +1 -0
  260. package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.nl.json +1 -0
  261. package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.no.json +1 -0
  262. package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.pl.json +1 -0
  263. package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.pt-BR.json +1 -0
  264. package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.pt-PT.json +1 -0
  265. package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.ro.json +1 -0
  266. package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.ru.json +1 -0
  267. package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.sk.json +1 -0
  268. package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.sl.json +1 -0
  269. package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.sr.json +1 -0
  270. package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.sv.json +1 -0
  271. package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.th.json +1 -0
  272. package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.tr.json +1 -0
  273. package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.uk.json +1 -0
  274. package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.vi.json +1 -0
  275. package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.zh-CN.json +1 -0
  276. package/dist/cdn/assets/charts-config-scatter-plot-aoi/t9n/messages.zh-TW.json +1 -0
  277. package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.ar.json +1 -1
  278. package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.bg.json +1 -1
  279. package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.bs.json +1 -1
  280. package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.ca.json +1 -1
  281. package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.cs.json +1 -1
  282. package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.da.json +1 -1
  283. package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.de.json +1 -1
  284. package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.el.json +1 -1
  285. package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.en.json +1 -1
  286. package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.es.json +1 -1
  287. package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.et.json +1 -1
  288. package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.fi.json +1 -1
  289. package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.fr.json +1 -1
  290. package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.he.json +1 -1
  291. package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.hr.json +1 -1
  292. package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.hu.json +1 -1
  293. package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.id.json +1 -1
  294. package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.it.json +1 -1
  295. package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.ja.json +1 -1
  296. package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.ko.json +1 -1
  297. package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.lt.json +1 -1
  298. package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.lv.json +1 -1
  299. package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.nl.json +1 -1
  300. package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.no.json +1 -1
  301. package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.pl.json +1 -1
  302. package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.pt-BR.json +1 -1
  303. package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.pt-PT.json +1 -1
  304. package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.ro.json +1 -1
  305. package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.ru.json +1 -1
  306. package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.sk.json +1 -1
  307. package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.sl.json +1 -1
  308. package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.sr.json +1 -1
  309. package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.sv.json +1 -1
  310. package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.th.json +1 -1
  311. package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.tr.json +1 -1
  312. package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.uk.json +1 -1
  313. package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.vi.json +1 -1
  314. package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.zh-CN.json +1 -1
  315. package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.zh-HK.json +1 -1
  316. package/dist/cdn/assets/charts-config-scatter-plot-data/t9n/messages.zh-TW.json +1 -1
  317. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.ar.json +1 -1
  318. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.bg.json +1 -1
  319. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.bs.json +1 -1
  320. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.ca.json +1 -1
  321. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.cs.json +1 -1
  322. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.da.json +1 -1
  323. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.de.json +1 -1
  324. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.el.json +1 -1
  325. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.en.json +1 -1
  326. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.es.json +1 -1
  327. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.et.json +1 -1
  328. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.fi.json +1 -1
  329. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.fr.json +1 -1
  330. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.he.json +1 -1
  331. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.hr.json +1 -1
  332. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.hu.json +1 -1
  333. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.id.json +1 -1
  334. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.it.json +1 -1
  335. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.ja.json +1 -1
  336. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.ko.json +1 -1
  337. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.lt.json +1 -1
  338. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.lv.json +1 -1
  339. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.nl.json +1 -1
  340. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.no.json +1 -1
  341. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.pl.json +1 -1
  342. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.pt-BR.json +1 -1
  343. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.pt-PT.json +1 -1
  344. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.ro.json +1 -1
  345. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.ru.json +1 -1
  346. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.sk.json +1 -1
  347. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.sl.json +1 -1
  348. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.sr.json +1 -1
  349. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.sv.json +1 -1
  350. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.th.json +1 -1
  351. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.tr.json +1 -1
  352. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.uk.json +1 -1
  353. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.vi.json +1 -1
  354. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.zh-CN.json +1 -1
  355. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.zh-HK.json +1 -1
  356. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.zh-TW.json +1 -1
  357. package/dist/cdn/assets/common/t9n/messages.ar.json +1 -1
  358. package/dist/cdn/assets/common/t9n/messages.bg.json +1 -1
  359. package/dist/cdn/assets/common/t9n/messages.bs.json +1 -1
  360. package/dist/cdn/assets/common/t9n/messages.ca.json +1 -1
  361. package/dist/cdn/assets/common/t9n/messages.cs.json +1 -1
  362. package/dist/cdn/assets/common/t9n/messages.da.json +1 -1
  363. package/dist/cdn/assets/common/t9n/messages.de.json +1 -1
  364. package/dist/cdn/assets/common/t9n/messages.el.json +1 -1
  365. package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
  366. package/dist/cdn/assets/common/t9n/messages.es.json +1 -1
  367. package/dist/cdn/assets/common/t9n/messages.et.json +1 -1
  368. package/dist/cdn/assets/common/t9n/messages.fi.json +1 -1
  369. package/dist/cdn/assets/common/t9n/messages.fr.json +1 -1
  370. package/dist/cdn/assets/common/t9n/messages.he.json +1 -1
  371. package/dist/cdn/assets/common/t9n/messages.hr.json +1 -1
  372. package/dist/cdn/assets/common/t9n/messages.hu.json +1 -1
  373. package/dist/cdn/assets/common/t9n/messages.id.json +1 -1
  374. package/dist/cdn/assets/common/t9n/messages.it.json +1 -1
  375. package/dist/cdn/assets/common/t9n/messages.ja.json +1 -1
  376. package/dist/cdn/assets/common/t9n/messages.ko.json +1 -1
  377. package/dist/cdn/assets/common/t9n/messages.lt.json +1 -1
  378. package/dist/cdn/assets/common/t9n/messages.lv.json +1 -1
  379. package/dist/cdn/assets/common/t9n/messages.nl.json +1 -1
  380. package/dist/cdn/assets/common/t9n/messages.no.json +1 -1
  381. package/dist/cdn/assets/common/t9n/messages.pl.json +1 -1
  382. package/dist/cdn/assets/common/t9n/messages.pt-BR.json +1 -1
  383. package/dist/cdn/assets/common/t9n/messages.pt-PT.json +1 -1
  384. package/dist/cdn/assets/common/t9n/messages.ro.json +1 -1
  385. package/dist/cdn/assets/common/t9n/messages.ru.json +1 -1
  386. package/dist/cdn/assets/common/t9n/messages.sk.json +1 -1
  387. package/dist/cdn/assets/common/t9n/messages.sl.json +1 -1
  388. package/dist/cdn/assets/common/t9n/messages.sr.json +1 -1
  389. package/dist/cdn/assets/common/t9n/messages.sv.json +1 -1
  390. package/dist/cdn/assets/common/t9n/messages.th.json +1 -1
  391. package/dist/cdn/assets/common/t9n/messages.tr.json +1 -1
  392. package/dist/cdn/assets/common/t9n/messages.uk.json +1 -1
  393. package/dist/cdn/assets/common/t9n/messages.vi.json +1 -1
  394. package/dist/cdn/assets/common/t9n/messages.zh-CN.json +1 -1
  395. package/dist/cdn/assets/common/t9n/messages.zh-HK.json +1 -1
  396. package/dist/cdn/assets/common/t9n/messages.zh-TW.json +1 -1
  397. package/dist/cdn/index.js +1 -1
  398. package/dist/cdn/main.css +1 -1
  399. package/dist/cdn/model/shared/setup-utils.js +1 -1
  400. package/dist/chart-rendering/common/interfaces.d.ts +108 -71
  401. package/dist/chunks/action-bar-utils.js +165 -0
  402. package/dist/chunks/axis-lines-symbol.js +8 -8
  403. package/dist/chunks/bar-chart-model.js +46 -38
  404. package/dist/chunks/box-plot-data.js +291 -274
  405. package/dist/chunks/box-plot-model.js +248 -179
  406. package/dist/chunks/chart-model.js +65 -56
  407. package/dist/chunks/chart-object-literals.js +31 -29
  408. package/dist/chunks/chart-ui-utils.js +148 -66
  409. package/dist/chunks/chart-ui-utils2.js +68 -149
  410. package/dist/chunks/class-breaks.js +270 -238
  411. package/dist/chunks/combo-bar-line-chart-model.js +123 -101
  412. package/dist/chunks/data-labels-symbol.js +39 -24
  413. package/dist/chunks/data-labels-visibility.js +12 -14
  414. package/dist/chunks/data.js +42 -42
  415. package/dist/chunks/default.js +6 -6
  416. package/dist/chunks/gauge-model.js +61 -61
  417. package/dist/chunks/generate-x-axis-title.js +25 -21
  418. package/dist/chunks/heat-chart-model.js +104 -66
  419. package/dist/chunks/histogram-data.js +24 -24
  420. package/dist/chunks/histogram-model.js +10 -10
  421. package/dist/chunks/index.js +9655 -1079
  422. package/dist/chunks/index2.js +858 -8765
  423. package/dist/chunks/index3.js +1169 -849
  424. package/dist/chunks/index4.js +486 -251
  425. package/dist/chunks/index5.js +66 -100
  426. package/dist/chunks/interfaces.js +9 -9
  427. package/dist/chunks/line-chart-model.js +40 -24
  428. package/dist/chunks/model-setter.js +59 -64
  429. package/dist/chunks/model-types.js +1 -1
  430. package/dist/chunks/model-with-line-marker-styling.js +72 -47
  431. package/dist/chunks/model-with-x-guides.js +5 -5
  432. package/dist/chunks/model-with-y-guides.js +251 -271
  433. package/dist/chunks/negative-values-stacked-to-baseline.js +123 -72
  434. package/dist/chunks/pie-chart-data.js +169 -193
  435. package/dist/chunks/pie-chart-model.js +391 -318
  436. package/dist/chunks/popover-ui-utils.js +1 -1
  437. package/dist/chunks/radar-chart-model.js +413 -46
  438. package/dist/chunks/resource.js +1 -1
  439. package/dist/chunks/rest-js-object-literals.js +10 -10
  440. package/dist/chunks/rotated-state.js +1 -1
  441. package/dist/chunks/rounded-corners.js +90 -0
  442. package/dist/chunks/scatterplot-model.js +106 -92
  443. package/dist/chunks/serial-chart-data.js +958 -849
  444. package/dist/chunks/serial-chart-model.js +214 -137
  445. package/dist/chunks/series-length.js +17 -17
  446. package/dist/chunks/series-types.js +22 -18
  447. package/dist/chunks/series.js +1 -1
  448. package/dist/chunks/type-guards.js +49 -23
  449. package/dist/chunks/type-guards2.js +61 -52
  450. package/dist/chunks/utils.js +136 -97
  451. package/dist/chunks/utils2.js +54 -37
  452. package/dist/chunks/web-component-utils.js +414 -384
  453. package/dist/chunks/x-bounds.js +118 -111
  454. package/dist/components/arcgis-chart/customElement.d.ts +793 -267
  455. package/dist/components/arcgis-chart/customElement.js +11672 -11111
  456. package/dist/components/arcgis-charts-action-bar/customElement.d.ts +232 -15
  457. package/dist/components/arcgis-charts-action-bar/customElement.js +79 -64
  458. package/dist/components/arcgis-charts-config-axis/customElement.js +81 -65
  459. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +39 -33
  460. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +59 -54
  461. package/dist/components/arcgis-charts-config-bar-chart-data/index.js +1 -1
  462. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +43 -43
  463. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +54 -53
  464. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +13 -12
  465. package/dist/components/arcgis-charts-config-box-plot/customElement.js +31 -39
  466. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +17 -14
  467. package/dist/components/arcgis-charts-config-box-plot-data/index.js +1 -1
  468. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +50 -51
  469. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +4 -4
  470. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +11 -11
  471. package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
  472. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +6 -6
  473. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  474. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  475. package/dist/components/arcgis-charts-config-create-flow/customElement.js +244 -230
  476. package/dist/components/arcgis-charts-config-field-picker/customElement.js +30 -0
  477. package/dist/components/arcgis-charts-config-font-style/customElement.js +5 -5
  478. package/dist/components/arcgis-charts-config-format/customElement.js +89 -82
  479. package/dist/components/arcgis-charts-config-format-popover/customElement.js +2 -2
  480. package/dist/components/arcgis-charts-config-general/customElement.js +4 -4
  481. package/dist/components/arcgis-charts-config-guide/customElement.js +24 -25
  482. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +4 -4
  483. package/dist/components/arcgis-charts-config-guides/customElement.js +2 -2
  484. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +13 -14
  485. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +102 -123
  486. package/dist/components/arcgis-charts-config-heat-chart-data/index.js +1 -1
  487. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +56 -56
  488. package/dist/components/arcgis-charts-config-histogram/customElement.js +28 -24
  489. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +26 -26
  490. package/dist/components/arcgis-charts-config-histogram-data/index.js +1 -1
  491. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +27 -27
  492. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
  493. package/dist/components/arcgis-charts-config-line-chart/customElement.js +6 -7
  494. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +44 -42
  495. package/dist/components/arcgis-charts-config-line-chart-data/index.js +1 -1
  496. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +34 -34
  497. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +2 -2
  498. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +4 -4
  499. package/dist/components/arcgis-charts-config-line-style/customElement.js +2 -2
  500. package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
  501. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +11 -12
  502. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +49 -49
  503. package/dist/components/arcgis-charts-config-pie-chart-data/index.js +1 -1
  504. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +57 -56
  505. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +69 -70
  506. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +3 -3
  507. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +29 -25
  508. package/dist/components/arcgis-charts-config-scatter-plot-aoi/customElement.js +70 -0
  509. package/dist/components/arcgis-charts-config-scatter-plot-aoi/index.js +3 -0
  510. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +80 -53
  511. package/dist/components/arcgis-charts-config-scatter-plot-data/index.js +4 -1
  512. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +17 -17
  513. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
  514. package/dist/components/arcgis-charts-config-view-charts/customElement.js +61 -29
  515. package/dist/components/arcgis-charts-info-modal/customElement.js +7 -7
  516. package/dist/docs/api.json +1 -1
  517. package/dist/docs/docs.json +1 -1
  518. package/dist/docs/vscode.html-custom-data.json +1 -1
  519. package/dist/docs/web-types.json +1 -1
  520. package/dist/index.d.ts +1 -1
  521. package/dist/index.js +500 -463
  522. package/dist/interfaces.d.ts +73 -14
  523. package/dist/json-schema/index.d.ts +205 -6
  524. package/dist/loader.js +9 -8
  525. package/dist/model/bar-chart-model/bar-chart-model.d.ts +7 -5
  526. package/dist/model/box-plot-model/box-plot-model.d.ts +32 -7
  527. package/dist/model/chart-model/chart-model-base.d.ts +10 -0
  528. package/dist/model/chart-model/chart-model-wrapper.d.ts +24 -0
  529. package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +36 -21
  530. package/dist/model/heat-chart-model/heat-chart-model.d.ts +48 -9
  531. package/dist/model/interfaces/chart-interfaces.d.ts +5 -2
  532. package/dist/model/interfaces/common.d.ts +4 -2
  533. package/dist/model/mixins/model-with-guides.d.ts +3 -3
  534. package/dist/model/mixins/model-with-line-marker-styling.d.ts +29 -20
  535. package/dist/model/mixins/model-with-multi-axes.d.ts +69 -106
  536. package/dist/model/mixins/model-with-tooltips.d.ts +4 -8
  537. package/dist/model/pie-chart-model/pie-chart-legend-model.d.ts +7 -55
  538. package/dist/model/pie-chart-model/pie-chart-model.d.ts +72 -3
  539. package/dist/model/properties/data-labels/data-labels-symbol.d.ts +26 -0
  540. package/dist/model/properties/rounded-corners.d.ts +18 -0
  541. package/dist/model/properties/series/negative-values-stacked-to-baseline.d.ts +2 -2
  542. package/dist/model/radar-chart-model/radar-chart-model.d.ts +190 -0
  543. package/dist/model/scatterplot-model/scatterplot-model.d.ts +3 -1
  544. package/dist/model/serial-chart-model/serial-chart-model.d.ts +47 -2
  545. package/dist/model/shared/setup-utils.d.ts +5 -3
  546. package/dist/model/shared/setup-utils.js +37 -36
  547. package/dist/model/shared/type-guards.d.ts +38 -22
  548. package/dist/spec/chart-object-literals.d.ts +5 -3
  549. package/dist/spec/data-source.d.ts +17 -3
  550. package/dist/spec/rest-js-types.d.ts +10 -2
  551. package/dist/spec/web-chart.d.ts +59 -4
  552. package/dist/types/lumina.d.ts +2 -2
  553. package/dist/types/preact.d.ts +2 -2
  554. package/dist/types/react.d.ts +2 -2
  555. package/dist/types/stencil.d.ts +4 -4
  556. package/dist/utils/chart-config/converter/index.d.ts +2 -3
  557. package/dist/utils/chart-config/converter/index.js +399 -379
  558. package/dist/utils/chart-config/utils/index.d.ts +70 -10
  559. package/dist/utils/chart-config/validator/index.d.ts +1 -0
  560. package/dist/utils/chart-config/validator/interfaces.d.ts +1 -0
  561. package/dist/utils/components/interfaces.d.ts +2 -0
  562. package/dist/utils/cursor/interfaces.d.ts +21 -0
  563. package/dist/utils/data/categorical-data/index.d.ts +18 -2
  564. package/dist/utils/data/index.d.ts +75 -23
  565. package/dist/utils/data/interfaces.d.ts +9 -4
  566. package/dist/utils/defaults/index.d.ts +32 -6
  567. package/dist/utils/defaults/interfaces.d.ts +73 -4
  568. package/dist/utils/layer/index.d.ts +24 -7
  569. package/dist/utils/layer/interfaces.d.ts +2 -15
  570. package/dist/utils/layer/query-features/index.d.ts +8 -3
  571. package/dist/utils/layer/query-parser/index.d.ts +10 -6
  572. package/dist/utils/layer/utils/index.d.ts +26 -9
  573. package/dist/utils/localization/interfaces.d.ts +23 -1
  574. package/dist/utils/misc/interfaces.d.ts +8 -7
  575. package/dist/utils/type-guards/chart-types.d.ts +10 -0
  576. package/dist/utils/type-guards/series-types.d.ts +9 -2
  577. package/dist/utils/types/index.d.ts +2 -2
  578. package/package.json +10 -11
  579. package/dist/cdn/2A24D2CL.js +0 -2
  580. package/dist/cdn/2D43CHPT.js +0 -2
  581. package/dist/cdn/2JXQPKO5.js +0 -2
  582. package/dist/cdn/2TWHFFC4.js +0 -2
  583. package/dist/cdn/3MDFLGUF.js +0 -2
  584. package/dist/cdn/3SBYV6BW.js +0 -2
  585. package/dist/cdn/3TBK72EK.js +0 -3
  586. package/dist/cdn/4KW327JN.js +0 -2
  587. package/dist/cdn/4NYV2JV3.js +0 -3
  588. package/dist/cdn/4PUPQ4ZW.js +0 -2
  589. package/dist/cdn/547RDEMV.js +0 -2
  590. package/dist/cdn/64LHZA6T.js +0 -102
  591. package/dist/cdn/6QPY3WVJ.js +0 -2
  592. package/dist/cdn/7QSJHT6K.js +0 -2
  593. package/dist/cdn/A5TGCD54.js +0 -2
  594. package/dist/cdn/A6ZKJNCI.js +0 -2
  595. package/dist/cdn/AGIHYXGK.js +0 -2
  596. package/dist/cdn/AZY72Q7D.js +0 -2
  597. package/dist/cdn/BBPUHC7W.js +0 -2
  598. package/dist/cdn/BES3KNGY.js +0 -2
  599. package/dist/cdn/CAYUSURH.js +0 -2
  600. package/dist/cdn/CMH6WLB4.js +0 -2
  601. package/dist/cdn/CPQGJVLJ.js +0 -2
  602. package/dist/cdn/CRCAJAFA.js +0 -2
  603. package/dist/cdn/CW44UMK6.js +0 -2
  604. package/dist/cdn/D6IGHHX3.js +0 -2
  605. package/dist/cdn/E3AWZQWL.js +0 -2
  606. package/dist/cdn/EDSF5KGV.js +0 -233
  607. package/dist/cdn/EH3OIMGC.js +0 -2
  608. package/dist/cdn/ESYY65PY.js +0 -2
  609. package/dist/cdn/EZV7JSQJ.js +0 -2
  610. package/dist/cdn/FFS73X36.js +0 -142
  611. package/dist/cdn/FMF37DQF.js +0 -2
  612. package/dist/cdn/FZDYLJRV.js +0 -2
  613. package/dist/cdn/GKRMQS5Q.js +0 -2
  614. package/dist/cdn/GN4O3BCI.js +0 -2
  615. package/dist/cdn/GNVJXOOV.js +0 -2
  616. package/dist/cdn/GRNKGPDQ.js +0 -2
  617. package/dist/cdn/H4CCTXTD.js +0 -2
  618. package/dist/cdn/IHHPUKGG.js +0 -2
  619. package/dist/cdn/IKBGE4XH.js +0 -2
  620. package/dist/cdn/INCK5AFZ.js +0 -2
  621. package/dist/cdn/IVM77SOL.js +0 -2
  622. package/dist/cdn/J2HYDDIW.js +0 -2
  623. package/dist/cdn/JCWTD6DG.js +0 -2
  624. package/dist/cdn/JFMBYHTG.js +0 -2
  625. package/dist/cdn/JK7I63SC.js +0 -2
  626. package/dist/cdn/JMACRJOV.js +0 -2
  627. package/dist/cdn/K2JOJV52.js +0 -2
  628. package/dist/cdn/KPXVJR6S.js +0 -2
  629. package/dist/cdn/KR22STZN.js +0 -2
  630. package/dist/cdn/L4OHTO6S.js +0 -2
  631. package/dist/cdn/LRNKTAWO.js +0 -2
  632. package/dist/cdn/LZMT7YW7.js +0 -2
  633. package/dist/cdn/M4S67KAQ.js +0 -4
  634. package/dist/cdn/MB36GVIV.js +0 -2
  635. package/dist/cdn/MFGMIXHS.js +0 -2
  636. package/dist/cdn/MNX2OQM7.js +0 -58
  637. package/dist/cdn/O533LNDP.js +0 -2
  638. package/dist/cdn/O6JHQR4V.js +0 -2
  639. package/dist/cdn/O6X4UVEJ.js +0 -2
  640. package/dist/cdn/OBEDC3OT.js +0 -2
  641. package/dist/cdn/OFXDO3EK.js +0 -2
  642. package/dist/cdn/OWO3NDGM.js +0 -2
  643. package/dist/cdn/OZIAUW3A.js +0 -2
  644. package/dist/cdn/P4HSSZRL.js +0 -2
  645. package/dist/cdn/PAIRUVLU.js +0 -2
  646. package/dist/cdn/PBOTADC5.js +0 -2
  647. package/dist/cdn/PQGX64RE.js +0 -2
  648. package/dist/cdn/QBKIVOUQ.js +0 -2
  649. package/dist/cdn/RMJKQIQM.js +0 -2
  650. package/dist/cdn/RWRGGCHV.js +0 -2
  651. package/dist/cdn/SKG5NCDS.js +0 -2
  652. package/dist/cdn/SP2IPHWF.js +0 -2
  653. package/dist/cdn/TCS4HOSG.js +0 -2
  654. package/dist/cdn/TFXFKPTU.js +0 -2
  655. package/dist/cdn/THTYR6IL.js +0 -2
  656. package/dist/cdn/TR7YC7GX.js +0 -2
  657. package/dist/cdn/TRRB6DUE.js +0 -2
  658. package/dist/cdn/U2CTDP7X.js +0 -2
  659. package/dist/cdn/U2GTLQKQ.js +0 -2
  660. package/dist/cdn/U67P6YAZ.js +0 -2
  661. package/dist/cdn/ULUPQFHW.js +0 -2
  662. package/dist/cdn/US4WU5ZB.js +0 -2
  663. package/dist/cdn/VNIK56MD.js +0 -2
  664. package/dist/cdn/VS6T5RFW.js +0 -2
  665. package/dist/cdn/W7X6L2OB.js +0 -127
  666. package/dist/cdn/WL5E6TAV.js +0 -2
  667. package/dist/cdn/WM36AOX7.js +0 -2
  668. package/dist/cdn/WNKDEOFZ.js +0 -2
  669. package/dist/cdn/WPPMMVD5.js +0 -2
  670. package/dist/cdn/X3UPL6NZ.js +0 -2
  671. package/dist/cdn/XJFVSX2E.js +0 -2
  672. package/dist/cdn/XRLVJJBT.js +0 -2
  673. package/dist/cdn/XUERYUEG.js +0 -2
  674. package/dist/cdn/Y7HBWU3M.js +0 -2
  675. package/dist/cdn/YG5HX7O4.js +0 -2
  676. package/dist/cdn/YXQHE47P.js +0 -2
  677. package/dist/cdn/ZN73TUTH.js +0 -2
  678. package/dist/cdn/ZNXBQWBM.js +0 -2
  679. package/dist/cdn/ZW4PF3UK.js +0 -2
  680. package/dist/chunks/bar-chart-series.js +0 -15
  681. package/dist/chunks/index6.js +0 -66
  682. package/dist/chunks/time-zone.js +0 -38
  683. package/dist/chunks/type-guards3.js +0 -173
  684. package/dist/components/arcgis-charts-config-field-select/customElement.js +0 -30
  685. /package/dist/components/{arcgis-charts-config-field-select → arcgis-charts-config-field-picker}/index.js +0 -0
@@ -1,175 +1,208 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { substitute as P } from "@arcgis/core/intl.js";
3
- import { cloneDeep as re, isEmpty as qe, memoize as Ve } from "lodash-es";
4
- import { S as ee } from "./common.js";
5
- import { s as N, u as E, g as le, a as he, b as Ne, c as ke, d as de } from "./utils.js";
6
- import { w as k, bY as Re, bm as Oe, x as De, Y as K, cr as we, cq as Pe, p as Ee, aH as ne, c2 as Me, d as $e, aG as Ye, I as We, a7 as Xe, bk as He, W as je, e as Ue, bo as Ke, c_ as Qe, v as ze, d5 as ye, bM as _e, d6 as Ge, bI as Ze, B as Je, d2 as et, an as X, a6 as xe, cS as oe, b9 as tt, ba as ue, k as te, bq as st, bu as me, bb as j, bh as ge } from "./index2.js";
7
- import { a as $, s as Te, g as Q, b as pe, c as it } from "./data.js";
8
- import { u as v, r as L, k as at, n as V, m as U, p as rt, t as lt, s as se } from "./chart-object-literals.js";
9
- import { i as nt, R as ot } from "./rest-js-object-literals.js";
10
- import { i as z } from "./index4.js";
11
- import { az as ut, t as ct, Y as dt, a9 as yt, al as mt, x as gt, C as fe, H as Se, $ as pt } from "./index.js";
12
- import { C as w, F as M, d as D } from "./index3.js";
13
- import { h as Be, i as O, j as ft, n as St, g as b, m as A, e as Fe } from "./index5.js";
14
- import { convertChartSpec as Ft } from "../utils/chart-config/converter/index.js";
15
- import { c as ie, e as ht } from "./type-guards.js";
16
- import { g as Ce } from "./series-types.js";
17
- import { g as ce } from "./utils2.js";
18
- import { a as xt, b as Tt } from "./series-length.js";
19
- const is = (t) => {
2
+ import { substitute as M } from "@arcgis/core/intl.js";
3
+ import { cloneDeep as te, memoize as Xe, isEmpty as He, isEqual as Ue } from "es-toolkit/compat";
4
+ import { S as ce } from "./common.js";
5
+ import { Y as L, aP as W, bo as je, bW as Ke, bX as Ze, bL as Ne, f as _e, p as ie, W as Qe, V as ze, bY as Ge, O as ge, a$ as Je, bZ as et, N as tt, t as it, b_ as st, aQ as at, Q as rt, b$ as nt, _ as ot, bE as lt, c0 as ct, c1 as Se, c2 as ut, c3 as dt, c4 as yt, P as mt, c5 as Fe, c6 as Q, bN as gt, aR as k, a_ as z, M as pt, r as K, a1 as De, c7 as Y, bJ as j, c8 as ft, c9 as St, ca as O, cb as V, cc as he, bK as Te } from "./index.js";
6
+ import { u as $, s as Oe, g as pe, a as Ve, b as Ft, c as ht, d as G, e as xe } from "./utils.js";
7
+ import { a as w, s as fe, g as se, b as Be, c as Tt } from "./data.js";
8
+ import { a as x, d as I, f as xt, l as q, t as D, h as X, g as Bt, b as Ct, e as ue } from "./chart-object-literals.js";
9
+ import { d as ke, b as bt } from "./rest-js-object-literals.js";
10
+ import { i as ae } from "./index4.js";
11
+ import { q as At, W as J, X as de, I as vt, Y as It, Z as Lt, _ as Nt, $ as Dt, k as Ot } from "./index3.js";
12
+ import { a as P, C as H, b as R } from "./index2.js";
13
+ import { g as qe, s as Vt } from "./series-types.js";
14
+ import { C as kt, m as qt } from "./model-setter.js";
15
+ import { convertChartSpec as Rt } from "../utils/chart-config/converter/index.js";
16
+ import { i as ye, h as Pt } from "./type-guards.js";
17
+ import { g as re } from "./utils2.js";
18
+ import { b as wt, g as Et } from "./series-length.js";
19
+ const qi = (i) => {
20
20
  let e;
21
- const s = t.series[0];
22
- return k(s) && (e = s.temporalBinning?.size), e;
23
- }, Bt = (t) => {
21
+ const t = i.series[0];
22
+ return L(t) && (e = t.temporalBinning?.size), e;
23
+ }, Mt = (i) => {
24
24
  let e;
25
- const s = t.series[0];
26
- return k(s) && (e = s.temporalBinning?.unit), e;
27
- }, as = (t) => {
25
+ const t = i.series[0];
26
+ return L(t) && (e = t.temporalBinning?.unit), e;
27
+ }, Ri = (i) => {
28
28
  let e;
29
- const s = t.series[0];
30
- return k(s) && (e = s.temporalBinning?.timeAggregationType), e;
31
- }, rs = (t) => {
29
+ const t = i.series[0];
30
+ return L(t) && (e = t.temporalBinning?.timeAggregationType), e;
31
+ }, Pi = (i) => {
32
32
  let e;
33
- const s = t.series[0];
34
- return k(s) && (e = s.temporalBinning?.trimIncompleteTimeInterval), e;
35
- }, ls = (t) => {
33
+ const t = i.series[0];
34
+ return L(t) && (e = t.temporalBinning?.trimIncompleteTimeInterval), e;
35
+ }, wi = (i) => {
36
36
  let e;
37
- const s = t.series[0];
38
- return k(s) && (e = s.temporalBinning?.nullPolicy), e;
39
- }, Ct = (t, e) => {
40
- e?.series?.forEach((s) => {
41
- k(s) && (s.temporalBinning ??= {}, s.temporalBinning.size = t);
42
- }), N({ config: e, value: null, axisIndex: 1, isMax: !1 }), N({ config: e, value: null, axisIndex: 1, isMax: !0 });
43
- }, bt = (t, e) => {
44
- e?.series?.forEach((s) => {
45
- k(s) && (s.temporalBinning ??= {}, s.temporalBinning.nullPolicy = t);
46
- }), N({ config: e, value: null, axisIndex: 1, isMax: !1 }), N({ config: e, value: null, axisIndex: 1, isMax: !0 });
47
- }, ns = (t, e) => {
48
- e.series?.forEach((s) => {
49
- k(s) && (s.temporalBinning ??= {}, s.temporalBinning.unit = t);
50
- }), N({ config: e, value: null, axisIndex: 1, isMax: !1 }), N({ config: e, value: null, axisIndex: 1, isMax: !0 });
51
- }, os = (t, e) => {
52
- e.series?.forEach((s) => {
53
- k(s) && (s.temporalBinning ??= {}, s.temporalBinning.timeAggregationType = t);
54
- }), N({ config: e, value: null, axisIndex: 1, isMax: !1 }), N({ config: e, value: null, axisIndex: 1, isMax: !0 });
55
- }, us = (t, e) => {
56
- e.series?.forEach((s) => {
57
- k(s) && (s.temporalBinning ??= {}, s.temporalBinning.trimIncompleteTimeInterval = t);
58
- }), N({ config: e, value: null, axisIndex: 1, isMax: !1 }), N({ config: e, value: null, axisIndex: 1, isMax: !0 });
59
- }, cs = (t) => {
60
- Ct(0, t);
37
+ const t = i.series[0];
38
+ return L(t) && (e = t.temporalBinning?.nullPolicy), e;
39
+ }, Yt = (i, e) => {
40
+ e?.series?.forEach((t) => {
41
+ L(t) && (t.temporalBinning ??= {}, t.temporalBinning.size = i);
42
+ });
43
+ }, $t = (i, e) => {
44
+ e?.series?.forEach((t) => {
45
+ L(t) && (t.temporalBinning ??= {}, t.temporalBinning.nullPolicy = i);
46
+ });
47
+ }, Ei = (i, e) => {
48
+ e.series?.forEach((t) => {
49
+ L(t) && (t.temporalBinning ??= {}, t.temporalBinning.unit = i);
50
+ });
51
+ }, Mi = (i, e) => {
52
+ e.series?.forEach((t) => {
53
+ L(t) && (t.temporalBinning ??= {}, t.temporalBinning.timeAggregationType = i);
54
+ });
55
+ }, Yi = (i, e) => {
56
+ e.series?.forEach((t) => {
57
+ L(t) && (t.temporalBinning ??= {}, t.temporalBinning.trimIncompleteTimeInterval = i);
58
+ });
59
+ }, Wt = (i) => {
60
+ Yt(0, i);
61
61
  };
62
- function ds(t, e) {
63
- let s;
64
- return e !== void 0 && (s = { ...e }, s.legend !== void 0 && (s.legend.position = t)), s;
62
+ var Xt = Object.defineProperty, Ht = Object.getOwnPropertyDescriptor, Ut = (i, e, t, a) => {
63
+ for (var s = Ht(e, t), r = i.length - 1, n; r >= 0; r--)
64
+ (n = i[r]) && (s = n(e, t, s) || s);
65
+ return s && Xt(e, t, s), s;
66
+ };
67
+ const jt = (i) => {
68
+ let e;
69
+ return W(i) ? e = i.outTimeZone : i?.series.forEach((t) => {
70
+ (t.type === x.BarSeries || t.type === x.RadarSeries || t.type === x.LineSeries) && t.temporalBinning && (e = t.temporalBinning.outTimeZone);
71
+ }), e || (e = i?.axes?.[0]?.valueFormat.type === x.DateAxisFormat ? i.axes[0].valueFormat.intlOptions.timeZone : void 0), e;
72
+ }, Re = (i, e) => {
73
+ const t = je(i);
74
+ W(e) ? i ? e.outTimeZone = t : delete e.outTimeZone : e?.series.forEach((a) => {
75
+ (a.type === x.BarSeries || a.type === x.RadarSeries || a.type === x.LineSeries) && (i ? (a.temporalBinning ??= {}, a.temporalBinning.outTimeZone = t) : a.temporalBinning && delete a.temporalBinning.outTimeZone);
76
+ }), e?.axes?.[0]?.valueFormat.type === x.DateAxisFormat && (i ? e.axes[0].valueFormat.intlOptions.timeZone = t : delete e.axes[0].valueFormat.intlOptions.timeZone);
77
+ };
78
+ class Kt extends kt {
79
+ /**
80
+ * Gets the time zone for the chart.
81
+ */
82
+ get timeZone() {
83
+ return jt(this._config);
84
+ }
85
+ set timeZone(e) {
86
+ Re(e, this._config), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"));
87
+ }
65
88
  }
66
- function ys(t, e) {
67
- let s;
68
- return e !== void 0 && (s = { ...e }, s.legend !== void 0 && (s.legend.visible = t)), s;
89
+ Ut([
90
+ qt
91
+ ], Kt.prototype, "timeZone");
92
+ function $i(i, e) {
93
+ let t;
94
+ return e !== void 0 && (t = { ...e }, t.legend !== void 0 && (t.legend.position = i)), t;
69
95
  }
70
- function ms(t, e) {
71
- let s;
72
- return e !== void 0 && (s = { ...e, rotated: t }), s;
96
+ function Wi(i, e) {
97
+ let t;
98
+ return e !== void 0 && (t = { ...e }, t.legend !== void 0 && (t.legend.visible = i)), t;
73
99
  }
74
- function At(t) {
100
+ function Xi(i, e) {
101
+ let t;
102
+ return e !== void 0 && (t = { ...e, rotated: i }), t;
103
+ }
104
+ function Zt(i) {
75
105
  let e;
76
- return t !== void 0 && (e = { ...t }, delete e.axes?.[0]?.minimum, delete e.axes?.[0]?.maximum, delete e.axes?.[1]?.minimum, delete e.axes?.[1]?.maximum), e;
106
+ return i !== void 0 && (e = { ...i }, delete e.axes?.[0]?.minimum, delete e.axes?.[0]?.maximum, delete e.axes?.[1]?.minimum, delete e.axes?.[1]?.maximum), e;
77
107
  }
78
- function gs(t, e) {
79
- return e != null || Be(t);
108
+ function Hi(i, e) {
109
+ return e != null || Ne(i);
80
110
  }
81
- async function ps(t) {
82
- const { config: e, layer: s, abortSignal: r } = t;
83
- let a = !1;
84
- return ie(s) || ht(e) ? e && ie(s) && (a = await Oe({ config: e, layer: s, abortSignal: r })) : a = !0, a;
111
+ async function Ui(i) {
112
+ const { config: e, layer: t, abortSignal: a } = i;
113
+ let s = !1;
114
+ return ye(t) || Pt(e) ? e && ye(t) && (s = await Ze({ config: e, layer: t, abortSignal: a })) : s = !0, s;
85
115
  }
86
- async function vt(t) {
116
+ async function _t(i) {
87
117
  const {
88
118
  queryObject: e,
89
- chartConfig: s,
90
- splitByField: r,
91
- errorStrings: a,
92
- abortSignal: i,
93
- runtimeDataFilters: l,
94
- ignoreViewExtent: n,
95
- setTimeBinningInfoWhenNotProvided: y,
96
- returnFeaturesExtent: g,
97
- chartLimits: F
98
- } = t;
99
- let o = [], c;
100
- const m = re(s), d = m.series[0], u = Ue({
119
+ chartConfig: t,
120
+ splitByField: a,
121
+ errorStrings: s,
122
+ abortSignal: r,
123
+ runtimeDataFilters: n,
124
+ ignoreViewExtent: o,
125
+ setTimeBinningInfoWhenNotProvided: l,
126
+ returnFeaturesExtent: c,
127
+ returnStatisticsAggregatedIds: g,
128
+ chartLimits: f
129
+ } = i;
130
+ let p = [], u;
131
+ const d = te(t), y = d.series[0], m = nt({
101
132
  queryObject: e,
102
- chartConfig: m,
103
- runtimeDataFilters: l,
104
- ignoreViewExtent: n
133
+ chartConfig: d,
134
+ runtimeDataFilters: n,
135
+ ignoreViewExtent: o
105
136
  });
106
- if (u.outStatistics?.[0]?.outStatisticFieldName && (u.outStatistics[0].outStatisticFieldName = ut.outStatistics.outStatisticFieldName), k(d) && Ke({
107
- xAxisValueFormatType: Qe(m),
108
- setTimeBinningInfoWhenNotProvided: y,
109
- seriesConfig: d,
137
+ if (m.outStatistics?.[0]?.outStatisticFieldName && (m.outStatistics[0].outStatisticFieldName = At.outStatistics.outStatisticFieldName), L(y) && ot({
138
+ xAxisValueFormatType: lt(d),
139
+ setTimeBinningInfoWhenNotProvided: l,
140
+ seriesConfig: y,
110
141
  queryObject: e
111
- }) && ze(r, e)) {
112
- const { temporalBinning: p, x: T } = d, { uniqueQuery: C } = ye({
113
- chartConfig: m,
114
- queryConfig: u,
142
+ }) && ct(a, e)) {
143
+ const { temporalBinning: F, x: S } = y, { uniqueQuery: h } = Se({
144
+ chartConfig: d,
145
+ queryConfig: m,
115
146
  queryObject: e,
116
- setTimeBinningInfoWhenNotProvided: y,
117
- returnFeaturesExtent: g,
118
- chartLimits: F
119
- }), h = s.axes?.[0].valueFormat.type === v.DateAxisFormat ? s.axes[0].valueFormat.intlOptions.timeZone : void 0;
120
- c = await _e({
147
+ setTimeBinningInfoWhenNotProvided: l,
148
+ returnFeaturesExtent: c,
149
+ chartLimits: f
150
+ }), b = t.axes?.[0].valueFormat.type === x.DateAxisFormat ? t.axes[0].valueFormat.intlOptions.timeZone : void 0;
151
+ u = await ut({
121
152
  queryObject: e,
122
- dateField: T,
123
- splitByField: r,
124
- queryConfig: C,
125
- axisTimeZone: h,
126
- temporalBinning: p,
127
- errorStrings: a,
128
- abortSignal: i
129
- }), o = Array.from(
153
+ dateField: S,
154
+ splitByField: a,
155
+ queryConfig: h,
156
+ axisTimeZone: b,
157
+ temporalBinning: F,
158
+ returnStatisticsAggregatedIds: g,
159
+ errorStrings: s,
160
+ abortSignal: r
161
+ }), p = Array.from(
130
162
  new Set(
131
- c.flatMap((f) => {
132
- const { stackedAttributes: R } = f;
133
- let x = [];
134
- return R && (x = R.map((S) => S[r]).filter((S) => S !== void 0)), x;
163
+ u.flatMap((C) => {
164
+ const { stackedAttributes: T } = C;
165
+ let A = [];
166
+ return T && (A = T.map((v) => v[a]).filter((v) => v !== void 0)), A;
135
167
  })
136
168
  ).values()
137
169
  );
138
170
  } else {
139
- const { uniqueQuery: p } = ye({
140
- chartConfig: m,
171
+ const { uniqueQuery: F } = Se({
172
+ chartConfig: d,
141
173
  queryObject: e,
142
- queryConfig: u,
143
- setTimeBinningInfoWhenNotProvided: y,
144
- returnFeaturesExtent: g,
145
- chartLimits: F
146
- }), { elementCount: T } = await Ge({
147
- chartConfig: m,
174
+ queryConfig: m,
175
+ setTimeBinningInfoWhenNotProvided: l,
176
+ returnFeaturesExtent: c,
177
+ chartLimits: f
178
+ }), { elementCount: S } = await dt({
179
+ chartConfig: d,
148
180
  queryObject: e,
149
- queryConfig: u,
150
- behaviorAfterLimit: F?.behaviorAfterLimit,
151
- numberMaxOfFeaturesToFetch: p.num,
152
- abortSignal: i
181
+ queryConfig: m,
182
+ behaviorAfterLimit: f?.behaviorAfterLimit,
183
+ numberMaxOfFeaturesToFetch: F.num,
184
+ abortSignal: r
153
185
  });
154
- c = await Ze({
186
+ u = await yt({
155
187
  queryObject: e,
156
- queryConfig: p,
157
- featureCount: T,
158
- errorStrings: a,
159
- abortSignal: i
160
- }), o = Array.from(
188
+ queryConfig: F,
189
+ featureCount: S,
190
+ returnStatisticsAggregatedIds: g,
191
+ errorStrings: s,
192
+ abortSignal: r
193
+ }), p = Array.from(
161
194
  new Set(
162
- c.map((C) => C.attributes[r]).filter((C) => C !== void 0)
195
+ u.map((h) => h.attributes[a]).filter((h) => h !== void 0)
163
196
  ).values()
164
197
  );
165
198
  }
166
- return { allValues: o, preFetchedQueryResponse: c };
199
+ return { allValues: p, preFetchedQueryResponse: u };
167
200
  }
168
- function It(t, e) {
169
- const s = /* @__PURE__ */ new Map();
170
- return t.series.forEach((r) => {
171
- let a = ne({
172
- where: r.query?.where,
201
+ function Qt(i, e) {
202
+ const t = /* @__PURE__ */ new Map();
203
+ return i.series.forEach((a) => {
204
+ let s = ge({
205
+ where: a.query?.where,
173
206
  // normalize the value so it matches what we get from getAllValues()
174
207
  // Refer to https://devtopia.esri.com/WebGIS/arcgis-charts/issues/8127
175
208
  normalize: !0,
@@ -177,913 +210,989 @@ function It(t, e) {
177
210
  // Refer to https://devtopia.esri.com/WebGIS/arcgis-charts/issues/8078
178
211
  escape: !1
179
212
  });
180
- e && a !== null && (a = Number(a));
181
- const i = Ce([r]);
182
- i !== void 0 && s.set(i, [
183
- ...s.get(i) ?? [],
184
- a
213
+ e && s !== null && (s = Number(s));
214
+ const r = qe([a]);
215
+ r !== void 0 && t.set(r, [
216
+ ...t.get(r) ?? [],
217
+ s
185
218
  ]);
186
- }), s;
219
+ }), t;
187
220
  }
188
- function Lt(t) {
189
- const { allValues: e, configUniqueValuesPerSeriesType: s, initialConfigWasEmpty: r } = t, a = /* @__PURE__ */ new Map();
190
- return Array.from(s.keys()).forEach((i) => {
191
- const l = s.get(i) ?? [];
192
- let n = [];
193
- r ? n = e : e.forEach((y) => {
194
- l.includes(y) || n.push(y);
195
- }), a.set(i, n);
196
- }), a;
221
+ function zt(i) {
222
+ const { allValues: e, configUniqueValuesPerSeriesType: t, initialConfigWasEmpty: a } = i, s = /* @__PURE__ */ new Map();
223
+ return Array.from(t.keys()).forEach((r) => {
224
+ const n = t.get(r) ?? [];
225
+ let o = [];
226
+ a ? o = e : e.forEach((l) => {
227
+ n.includes(l) || o.push(l);
228
+ }), s.set(r, o);
229
+ }), s;
197
230
  }
198
- function qt(t) {
199
- const { chartConfig: e, missingValue: s, splitByField: r, seriesTemplate: a } = t, i = JSON.parse(
231
+ function Gt(i) {
232
+ const { chartConfig: e, missingValue: t, splitByField: a, seriesTemplate: s } = i, r = JSON.parse(
200
233
  JSON.stringify({
201
234
  ...e.series[0],
202
- ...a
235
+ ...s
203
236
  })
204
237
  );
205
- if (i.query) {
206
- if (s === null ? i.id = M.nullValue : s === "" ? i.id = M.emptyStringValue : i.id = `${s}`, i.name = `${s}`, i.query.outStatistics?.[0] !== void 0) {
207
- const n = i.id;
208
- i.query.outStatistics[0].outStatisticFieldName = n, "y" in i && (i.y = n);
238
+ if (r.query) {
239
+ if (t === null ? r.id = H.nullValue : t === "" ? r.id = H.emptyStringValue : r.id = `${t}`, r.name = `${t}`, r.query.outStatistics?.[0] !== void 0) {
240
+ const o = r.id;
241
+ r.query.outStatistics[0].outStatisticFieldName = o, "y" in r && (r.y = o);
209
242
  }
210
- const l = typeof s == "number" || s === null ? s : `'${s}'`;
211
- i.query.where = `${r}=${l}`;
243
+ const n = typeof t == "number" || t === null ? t : `'${t}'`;
244
+ r.query.where = `${a}=${n}`;
212
245
  }
213
- return i;
246
+ return r;
214
247
  }
215
- async function Vt(t) {
248
+ async function Jt(i) {
216
249
  const {
217
250
  updateSplitBySeries: e,
218
- config: s,
219
- queryObject: r,
220
- errorStrings: a,
221
- abortSignal: i,
222
- runtimeDataFilters: l,
223
- ignoreViewExtent: n,
224
- setTimeBinningInfoWhenNotProvided: y,
225
- returnFeaturesExtent: g,
226
- chartLimits: F
227
- } = t, { seriesTemplate: o } = e ?? {};
228
- let c;
229
- if (r && !ie(r) && e !== void 0 && s !== void 0 && (s.series.length > 0 || o !== void 0) && e.addMissingSeries) {
230
- const m = s.series.length === 0;
231
- s.series.length === 0 && o !== void 0 && s.series.push(o);
232
- const d = K(s.series);
233
- if (d === w.BoxPlotMonoFieldAndSplitBy || d === w.BoxPlotMultiFieldsAndSplitBy || d === w.BoxPlotMonoFieldAndCategoryAndSplitBy || d === w.BarAndLineSplitBy || d === w.BarAndLineSplitByNoAggregation) {
234
- const u = Ye(s.series[0]?.query?.where), p = We(r), T = Xe(u, p), C = T ? He(T) : !1, h = await vt({
235
- queryObject: r,
236
- chartConfig: s,
237
- splitByField: u,
238
- abortSignal: i,
239
- runtimeDataFilters: l,
240
- ignoreViewExtent: n,
241
- setTimeBinningInfoWhenNotProvided: y,
242
- returnFeaturesExtent: g,
243
- chartLimits: F,
244
- errorStrings: a
245
- }), { allValues: f } = h;
246
- if ({ preFetchedQueryResponse: c } = h, f.length > 0) {
247
- const R = It(s, C), x = Lt({
248
- allValues: f,
249
- configUniqueValuesPerSeriesType: R,
250
- initialConfigWasEmpty: m
251
+ config: t,
252
+ queryObject: a,
253
+ errorStrings: s,
254
+ abortSignal: r,
255
+ runtimeDataFilters: n,
256
+ ignoreViewExtent: o,
257
+ setTimeBinningInfoWhenNotProvided: l,
258
+ returnFeaturesExtent: c,
259
+ returnStatisticsAggregatedIds: g,
260
+ chartLimits: f
261
+ } = i, { seriesTemplate: p } = e ?? {};
262
+ let u;
263
+ if (a && !ye(a) && e !== void 0 && t !== void 0 && (t.series.length > 0 || p !== void 0) && e.addMissingSeries) {
264
+ const d = t.series.length === 0;
265
+ t.series.length === 0 && p !== void 0 && t.series.push(p);
266
+ const y = ie(t.series);
267
+ if (y === P.BoxPlotC5MonoFieldAndSplitBy || y === P.BoxPlotC6MultiFieldsAndSplitBy || y === P.BoxPlotC7MonoFieldAndCategoryAndSplitBy || y === P.BarAndLineSplitBy || y === P.BarAndLineSplitByNoAggregation) {
268
+ const m = tt(t.series[0]?.query?.where), F = it(a), S = st(m, F), h = S ? at(S) : !1, b = await _t({
269
+ queryObject: a,
270
+ chartConfig: t,
271
+ splitByField: m,
272
+ abortSignal: r,
273
+ runtimeDataFilters: n,
274
+ ignoreViewExtent: o,
275
+ setTimeBinningInfoWhenNotProvided: l,
276
+ returnFeaturesExtent: c,
277
+ returnStatisticsAggregatedIds: g,
278
+ chartLimits: f,
279
+ errorStrings: s
280
+ }), { allValues: C } = b;
281
+ if ({ preFetchedQueryResponse: u } = b, C.length > 0) {
282
+ const T = Qt(t, h), A = zt({
283
+ allValues: C,
284
+ configUniqueValuesPerSeriesType: T,
285
+ initialConfigWasEmpty: d
251
286
  });
252
- Array.from(x.keys()).forEach((S) => {
253
- (x.get(S) ?? []).forEach((q) => {
254
- s.series.push(
255
- qt({
256
- chartConfig: s,
257
- seriesTemplate: o,
258
- missingValue: q,
259
- splitByField: u
287
+ Array.from(A.keys()).forEach((v) => {
288
+ (A.get(v) ?? []).forEach((N) => {
289
+ t.series.push(
290
+ Gt({
291
+ chartConfig: t,
292
+ seriesTemplate: p,
293
+ missingValue: N,
294
+ splitByField: m
260
295
  })
261
296
  );
262
- }), m && s.series.shift();
297
+ }), d && t.series.shift();
263
298
  });
264
299
  }
265
300
  }
266
301
  }
267
- return c;
302
+ return u;
268
303
  }
269
- function Nt(t, e) {
270
- e && !Be(e) && (e = $e({ chartConfig: e, queryObject: t }));
304
+ function ei(i, e) {
305
+ e && !Ne(e) && (e = et({ chartConfig: e, queryObject: i }));
271
306
  }
272
- async function fs(t) {
307
+ async function ji(i) {
273
308
  const {
274
309
  configToAlter: e,
275
- layer: s,
276
- addMissingSeries: r,
277
- updateSplitBySeries: a,
278
- chartContainer: i,
279
- queryObject: l,
280
- abortSignal: n,
281
- runtimeDataFilters: y,
282
- ignoreViewExtent: g,
283
- setTimeBinningInfoWhenNotProvided: F,
284
- returnFeaturesExtent: o,
285
- chartLimits: c,
286
- errorStrings: m
287
- } = t;
288
- let d = e, u;
289
- return d && (Nt(s, d), d = await Ft(d, s, void 0, n), r && l && (u = await Vt({
290
- updateSplitBySeries: a,
291
- config: d,
292
- queryObject: l,
293
- errorStrings: m,
294
- abortSignal: n,
295
- runtimeDataFilters: y,
296
- ignoreViewExtent: g,
297
- setTimeBinningInfoWhenNotProvided: F,
298
- returnFeaturesExtent: o,
299
- chartLimits: c
300
- })), d = Re(d, i)), { alteredConfig: d, preFetchedQueryResponse: u };
310
+ layer: t,
311
+ addMissingSeries: a,
312
+ updateSplitBySeries: s,
313
+ chartContainer: r,
314
+ queryObject: n,
315
+ abortSignal: o,
316
+ runtimeDataFilters: l,
317
+ ignoreViewExtent: c,
318
+ setTimeBinningInfoWhenNotProvided: g,
319
+ returnFeaturesExtent: f,
320
+ returnStatisticsAggregatedIds: p,
321
+ chartLimits: u,
322
+ timeZone: d,
323
+ errorStrings: y
324
+ } = i;
325
+ let m = e, F;
326
+ return m && (ei(t, m), m = await Rt(m, t, void 0, o), a && n && (F = await Jt({
327
+ updateSplitBySeries: s,
328
+ config: m,
329
+ queryObject: n,
330
+ errorStrings: y,
331
+ abortSignal: o,
332
+ runtimeDataFilters: l,
333
+ ignoreViewExtent: c,
334
+ setTimeBinningInfoWhenNotProvided: g,
335
+ returnFeaturesExtent: f,
336
+ returnStatisticsAggregatedIds: p,
337
+ chartLimits: u
338
+ })), m = Ke(m, r), Re(d, m)), { alteredConfig: m, preFetchedQueryResponse: F };
301
339
  }
302
- function kt(t, e) {
303
- let s = !1;
340
+ function ti(i, e) {
341
+ let t = !1;
304
342
  if (e !== void 0) {
305
- const r = je({ key: Je.Average, splitBy: e });
306
- s = Number.isFinite(t[r]);
343
+ const a = rt({ key: mt.Average, splitBy: e });
344
+ t = Number.isFinite(i[a]);
307
345
  }
308
- return s;
346
+ return t;
309
347
  }
310
- function Ss(t) {
311
- const { data: e, config: s, showEmptySeries: r } = t, a = s.series.length, i = re(s);
312
- let l = !1;
313
- if (!r && a > 1 && e) {
314
- const n = De(e), y = Ce(s?.series), g = K(s?.series), F = /* @__PURE__ */ new Set();
315
- switch (y) {
316
- case v.ComboLineAndBarSeries:
317
- case v.BarSeries:
318
- case v.RadarSeries:
319
- case v.LineSeries: {
320
- i.series.forEach((c) => {
321
- if (Array.isArray(n)) {
322
- let m = "";
323
- "y" in c && (m = Array.isArray(c.y) ? c.y[0] : c.y, g === w.BarAndLineSplitByNoAggregation && (m = `${m}_${ne({ where: c.query?.where, keepSurroundingQuotes: !1, escape: !1 })}`), n.some(
324
- (u) => Me({
325
- dataItem: u,
326
- x: c.x,
327
- y: m,
328
- aggregationType: s.series[0].query?.outStatistics?.[0]?.statisticType
348
+ function Ki(i) {
349
+ const { data: e, config: t, showEmptySeries: a } = i, s = t.series.length, r = te(t);
350
+ let n = !1;
351
+ if (!a && s > 1 && e) {
352
+ const o = _e(e), l = qe(t?.series), c = ie(t?.series), g = /* @__PURE__ */ new Set();
353
+ switch (l) {
354
+ case x.ComboLineAndBarSeries:
355
+ case x.BarSeries:
356
+ case x.RadarSeries:
357
+ case x.LineSeries: {
358
+ r.series.forEach((p) => {
359
+ if (Array.isArray(o)) {
360
+ let u = "";
361
+ "y" in p && (u = Array.isArray(p.y) ? p.y[0] : p.y, c === P.BarAndLineSplitByNoAggregation && (u = `${u}_${ge({ where: p.query?.where, keepSurroundingQuotes: !1, escape: !1 })}`), o.some(
362
+ (y) => Je({
363
+ dataItem: y,
364
+ x: p.x,
365
+ y: u,
366
+ aggregationType: t.series[0].query?.outStatistics?.[0]?.statisticType
329
367
  })
330
- ) && F.add(c));
368
+ ) && g.add(p));
331
369
  }
332
370
  });
333
371
  break;
334
372
  }
335
- case v.BoxPlotSeries: {
336
- if (we(s)) {
337
- const c = Pe(s);
338
- s.series.forEach((m) => {
339
- let d, u;
340
- m.type === v.BoxPlotSeries ? (d = e.dataItems, u = d?.some(
341
- (p) => Ee({
342
- dataItem: p,
343
- splitBy: m.query?.where,
344
- showOutliers: c
373
+ case x.BoxPlotSeries: {
374
+ if (Qe(t)) {
375
+ const p = ze(t);
376
+ t.series.forEach((u) => {
377
+ let d, y;
378
+ u.type === x.BoxPlotSeries ? (d = e.dataItems, y = d?.some(
379
+ (m) => Ge({
380
+ dataItem: m,
381
+ splitBy: u.query?.where,
382
+ showOutliers: p
345
383
  })
346
- )) : m.type === v.LineSeries && (d = e.meanLines, u = d?.some(
347
- (p) => kt(p, m.query?.where)
348
- )), u && F.add(m);
384
+ )) : u.type === x.LineSeries && (d = e.meanLines, y = d?.some(
385
+ (m) => ti(m, u.query?.where)
386
+ )), y && g.add(u);
349
387
  });
350
388
  }
351
389
  break;
352
390
  }
353
391
  }
354
- const o = Array.from(F.values());
355
- l = o.length > 0 && o.length < a, l && (i.series = o);
392
+ const f = Array.from(g.values());
393
+ n = f.length > 0 && f.length < s, n && (r.series = f);
356
394
  }
357
- return { seriesFilteredOut: l, filteredConfig: i };
395
+ return { seriesFilteredOut: n, filteredConfig: r };
358
396
  }
359
- const Fs = (t) => t.hideEmptyRowsAndColumns, hs = (t, e) => {
360
- t.hideEmptyRowsAndColumns = e;
361
- }, xs = (t, e) => {
362
- const s = t.series[0];
363
- s.heatRulesType = e;
364
- }, Ts = (t) => t.series[0].heatRulesType, Bs = (t, e) => {
365
- const s = t.series[0];
366
- s.gradientRules = e;
367
- }, Cs = (t) => t.series[0].gradientRules, bs = (t) => {
368
- const { yField: e, config: s, layerInfo: r } = t, { layerFieldsInfo: a } = r, i = ce(1, s), l = Rt(s), n = z(s), y = s.series[0];
369
- if (typeof e == "string" && l !== e && y && (y.y = e, At(s), l === i || n)) {
370
- const g = D(a, e);
371
- E(s, 1, g);
397
+ const Zi = (i) => i.hideEmptyRowsAndColumns, _i = (i, e) => {
398
+ i.hideEmptyRowsAndColumns = e;
399
+ }, Qi = (i, e) => {
400
+ const t = i.series[0];
401
+ t.heatRulesType = e;
402
+ }, zi = (i) => i.series[0].heatRulesType, Gi = (i, e) => {
403
+ const t = i.series[0];
404
+ t.gradientRules = e;
405
+ }, Ji = (i) => i.series[0].gradientRules, es = (i) => {
406
+ const { yField: e, config: t, layerInfo: a, commonStrings: s } = i, { layerFieldsInfo: r } = a, n = re(1, t), o = ii(t), l = ae(t), c = t.series[0];
407
+ if (typeof e == "string" && o !== e && c) {
408
+ if (c.y = e, Zt(t), o === n || l) {
409
+ const g = R(r, e);
410
+ $(t, 1, g);
411
+ }
412
+ Pe({ commonStrings: s, config: t, layerInfo: a });
372
413
  }
373
- }, Rt = (t) => t.series[0].y ?? "", As = (t) => {
374
- const { binning: e, config: s, commonStrings: r } = t, a = s.series[0];
375
- if (a.xTemporalBinning = e, e?.unit !== void 0 && e.unit in r.utilsStrings.heatChartCalendarDatePartsUnits) {
376
- const i = r.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
377
- E(s, 0, i);
414
+ }, ii = (i) => i.series[0].y ?? "", ts = (i) => {
415
+ const { binning: e, config: t, commonStrings: a } = i, s = t.series[0];
416
+ if (s.xTemporalBinning = e, e?.unit !== void 0 && e.unit in a.utilsStrings.heatChartCalendarDatePartsUnits) {
417
+ const r = a.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
418
+ $(t, 0, r);
378
419
  }
379
- }, vs = (t) => t.series[0].xTemporalBinning, Is = (t) => {
380
- const { binning: e, config: s, commonStrings: r } = t, a = s.series[0];
381
- if (a.yTemporalBinning = e, e?.unit !== void 0 && e.unit in r.utilsStrings.heatChartCalendarDatePartsUnits) {
382
- const i = r.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
383
- E(s, 1, i);
420
+ ee({ axisIndex: 0, commonStrings: a, config: t });
421
+ }, si = (i) => i.series[0].xTemporalBinning, is = (i) => {
422
+ const { binning: e, config: t, commonStrings: a } = i, s = t.series[0];
423
+ if (s.yTemporalBinning = e, e?.unit !== void 0 && e.unit in a.utilsStrings.heatChartCalendarDatePartsUnits) {
424
+ const r = a.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
425
+ $(t, 1, r);
384
426
  }
385
- }, Ls = (t) => t.series[0].yTemporalBinning, Ot = (t, e) => {
427
+ ee({ axisIndex: 1, commonStrings: a, config: t });
428
+ }, ai = (i) => i.series[0].yTemporalBinning, ri = (i, e) => {
386
429
  e.orderOptions ??= {};
387
- const s = e.axes?.[0]?.valueFormat?.type === "category" ? V.Category : V.YValue, r = ae(e)[0], a = e.axes?.[1]?.valueFormat?.type === "category" ? V.Category : V.YValue, i = ae(e)[1], l = {
430
+ const t = e.axes?.[0]?.valueFormat?.type === "category" ? D.Category : D.YValue, a = me(e)[0], s = e.axes?.[1]?.valueFormat?.type === "category" ? D.Category : D.YValue, r = me(e)[1], n = {
388
431
  ...e.orderOptions.data ?? {},
389
- orderType: V.MultiAxes
432
+ orderType: D.MultiAxes
390
433
  };
391
- r === ee.customSort && s === V.Category && (l.orderByX = [...t]), i === ee.customSort && a === V.Category && (l.orderByY = [...t]), Object.keys(l).length > 1 && (e.orderOptions.data = l);
392
- }, qs = (t, e) => {
393
- const s = e.series[0];
394
- s.gridLine && (s.gridLine.width = t);
395
- }, Vs = (t) => t.series[0].gridLine?.width, Ns = (t, e) => {
396
- const s = e.series[0], r = t?.length === 4 && t.every((a) => typeof a == "number");
397
- s.gridLine && r && (s.gridLine.color = t);
398
- }, ks = (t) => t.series[0].gridLine?.color, Rs = (t, e) => {
399
- const s = e.legend;
400
- s && (s.position = t);
401
- }, Os = (t) => t.legend?.position ?? at.Bottom, Ds = (t) => t.series[0].query?.outStatistics?.[0]?.onStatisticField, ws = (t) => {
402
- const { field: e, config: s, layerInfo: r, commonStrings: a } = t, i = s.series[0].query?.outStatistics?.[0], l = Z(s, r, a);
403
- i ? (i.onStatisticField = e, i.outStatisticFieldName = `${i.statisticType}_${e}`) : s.series[0].query = {
434
+ a === ce.customSort && t === D.Category && (n.orderByX = [...i]), r === ce.customSort && s === D.Category && (n.orderByY = [...i]), Object.keys(n).length > 1 && (e.orderOptions.data = n);
435
+ }, ss = (i, e) => {
436
+ const t = e.series[0];
437
+ t.gridLine && (t.gridLine.width = i);
438
+ }, as = (i) => i.series[0].gridLine?.width, rs = (i, e) => {
439
+ const t = e.series[0], a = i?.length === 4 && i.every((s) => typeof s == "number");
440
+ t.gridLine && a && (t.gridLine.color = i);
441
+ }, ns = (i) => i.series[0].gridLine?.color, os = (i, e) => {
442
+ const t = e.legend;
443
+ t && (t.position = i);
444
+ }, ls = (i) => i.legend?.position ?? xt.Bottom, cs = (i) => i.series[0].query?.outStatistics?.[0]?.onStatisticField, us = (i) => {
445
+ const { field: e, config: t, layerInfo: a, commonStrings: s } = i, r = t.series[0].query?.outStatistics?.[0], n = le(t, a, s);
446
+ r ? (r.onStatisticField = e, r.outStatisticFieldName = `${r.statisticType}_${e}`) : t.series[0].query = {
404
447
  outStatistics: [
405
448
  {
406
449
  onStatisticField: e,
407
- outStatisticFieldName: `${L.Count}_${e}`,
408
- statisticType: L.Count
450
+ outStatisticFieldName: `${I.Count}_${e}`,
451
+ statisticType: I.Count
409
452
  }
410
453
  ]
411
- }, l && s.title && (s.title.content.text = H(s, r, a));
412
- }, Ps = (t) => t.series[0].query?.outStatistics?.[0].statisticType ?? L.Count, Es = (t) => {
413
- const { aggregationType: e, config: s, layerInfo: r, commonStrings: a } = t, i = s.series[0]?.query?.outStatistics?.[0], l = Z(s, r, a);
414
- i && e !== L.NoAggregation && (i.statisticType = e, i.outStatisticFieldName = `${e}_${i.onStatisticField}`), (e === L.Count || e === L.Sum) && Dt(U.Zero, s), l && s.title && (s.title.content.text = H(s, r, a));
415
- }, Ms = (t) => t.nullPolicy, Dt = (t, e) => {
416
- e.nullPolicy = t;
417
- }, $s = (t) => t.series[0].emptyCells, Ys = (t, e) => {
418
- e.series[0].emptyCells = t;
419
- }, Ws = (t) => t.series[0].emptyCells?.text, Xs = (t, e) => {
420
- e.series[0].emptyCells ? e.series[0].emptyCells.text = t : e.series[0].emptyCells = { text: t };
421
- }, Hs = (t) => t.includeLeapDay, js = (t, e) => {
422
- e.includeLeapDay = t;
423
- }, Us = (t) => t.series[0].emptyCells?.symbol, Ks = (t, e) => {
424
- e.series[0].emptyCells ? e.series[0].emptyCells.symbol = t : e.series[0].emptyCells = { symbol: t };
454
+ }, n && t.title && (t.title.content.text = Z(t, a, s));
455
+ }, ds = (i) => i.series[0].query?.outStatistics?.[0].statisticType ?? I.Count, ys = (i) => {
456
+ const { aggregationType: e, config: t, layerInfo: a, commonStrings: s } = i, r = t.series[0]?.query?.outStatistics?.[0], n = le(t, a, s);
457
+ r && e !== I.NoAggregation && (r.statisticType = e, r.outStatisticFieldName = `${e}_${r.onStatisticField}`), (e === I.Count || e === I.Sum) && ni(X.Zero, t), n && t.title && (t.title.content.text = Z(t, a, s));
458
+ }, ms = (i) => i.nullPolicy, ni = (i, e) => {
459
+ e.nullPolicy = i;
460
+ }, gs = (i) => i.series[0].emptyCells, ps = (i, e) => {
461
+ e.series[0].emptyCells = i;
462
+ }, fs = (i) => i.series[0].emptyCells?.text, Ss = (i, e) => {
463
+ e.series[0].emptyCells ? e.series[0].emptyCells.text = i : e.series[0].emptyCells = { text: i };
464
+ }, Fs = (i) => i.includeLeapDay, hs = (i, e) => {
465
+ e.includeLeapDay = i;
466
+ }, Ts = (i) => i.series[0].emptyCells?.symbol, xs = (i, e) => {
467
+ e.series[0].emptyCells ? e.series[0].emptyCells.symbol = i : e.series[0].emptyCells = { symbol: i };
425
468
  };
426
- function Qs(t) {
427
- return t.viewType;
469
+ function Bs(i) {
470
+ return i.viewType;
428
471
  }
429
- function zs(t, e) {
430
- et(e) || (e.viewType = t);
472
+ function Cs(i, e) {
473
+ gt(e) || (e.viewType = i);
431
474
  }
432
- function _s(t) {
433
- return t.series[0].classBreaksRules?.breaksCount ?? M.classBreaks.breaksCount;
475
+ function bs(i) {
476
+ return i.series[0].classBreaksRules?.breaksCount ?? H.classBreaks.breaksCount;
434
477
  }
435
- function Gs(t, e) {
436
- e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.breaksCount = t ?? M.classBreaks.breaksCount : e.series[0].classBreaksRules = {
437
- breaksCount: t ?? M.classBreaks.breaksCount
478
+ function As(i, e) {
479
+ e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.breaksCount = i ?? H.classBreaks.breaksCount : e.series[0].classBreaksRules = {
480
+ breaksCount: i ?? H.classBreaks.breaksCount
438
481
  };
439
482
  }
440
- function Zs(t) {
441
- return t.series[0].classBreaksRules?.classificationMethod;
483
+ function vs(i) {
484
+ return i.series[0].classBreaksRules?.classificationMethod;
442
485
  }
443
- function Js(t, e) {
444
- e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.classificationMethod = t : e.series[0].classBreaksRules = {
445
- classificationMethod: t
446
- }, e.series[0].classBreaksRules.breaksCount = e.series[0].classBreaksRules.breaksCount ?? M.classBreaks.breaksCount;
486
+ function Is(i, e) {
487
+ e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.classificationMethod = i : e.series[0].classBreaksRules = {
488
+ classificationMethod: i
489
+ }, e.series[0].classBreaksRules.breaksCount = e.series[0].classBreaksRules.breaksCount ?? H.classBreaks.breaksCount;
447
490
  }
448
- function ei(t, e) {
449
- e.firstDayOfWeek = t;
491
+ function Ls(i, e) {
492
+ e.firstDayOfWeek = i;
450
493
  }
451
- function ti(t) {
452
- return t.firstDayOfWeek;
494
+ function Ns(i) {
495
+ return i.firstDayOfWeek;
453
496
  }
454
- function si(t) {
455
- return t.series[0].classBreaksRules?.colorRampInfo?.name;
497
+ function Ds(i) {
498
+ return i.series[0].classBreaksRules?.colorRampInfo?.name;
456
499
  }
457
- function ii(t, e) {
500
+ function Os(i, e) {
458
501
  e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.colorRampInfo = {
459
502
  ...e.series[0].classBreaksRules.colorRampInfo,
460
- name: t
503
+ name: i
461
504
  } : e.series[0].classBreaksRules = {
462
505
  colorRampInfo: {
463
- name: t,
506
+ name: i,
464
507
  flipped: !1
465
508
  }
466
509
  };
467
510
  }
468
- function ai(t) {
469
- return t.series[0].classBreaksRules?.colorRampInfo?.flipped ?? !1;
511
+ function Vs(i) {
512
+ return i.series[0].classBreaksRules?.colorRampInfo?.flipped ?? !1;
470
513
  }
471
- function ri(t, e) {
514
+ function ks(i, e) {
472
515
  e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.colorRampInfo = {
473
516
  ...e.series[0].classBreaksRules.colorRampInfo,
474
- flipped: t
517
+ flipped: i
475
518
  } : e.series[0].classBreaksRules = {
476
519
  colorRampInfo: {
477
- flipped: t
520
+ flipped: i
478
521
  }
479
522
  };
480
523
  }
481
- function Y(t) {
482
- const { seriesIndex: e, xAxisField: s, aggregationType: r, config: a, layerInfo: i, commonStrings: l } = t, n = X(i?.layer).idField;
483
- let y;
484
- const g = a.series[e ?? 0];
485
- let F = !1, o = !1, c = !1;
486
- if (g === void 0) {
487
- const u = a.series;
488
- F = u.slice(0, e).every((p) => b(p)), o = u.slice(0, e).every((p) => A(p)), c = u.slice(0, e).every((p) => Fe(p));
524
+ const oi = [
525
+ q.DayOfMonth,
526
+ q.MonthOfYear
527
+ ], Ce = (i) => {
528
+ let e;
529
+ return Q(i) ? e = de() : (k(i) || z(i)) && (e = J()), e;
530
+ }, be = (i) => k(i) || z(i), Ae = (i) => {
531
+ const { axisIndex: e, commonStrings: t, config: a, valueFormat: s } = i, r = a.axes?.[e]?.valueFormat;
532
+ s !== void 0 && r?.type !== s.type && Oe({ config: a, commonStrings: t, valueFormat: s, axisIndex: e });
533
+ }, li = (i, e) => {
534
+ let t;
535
+ return e === 0 ? t = i.series[0]?.xTemporalBinning : e === 1 && (t = i.series[0]?.yTemporalBinning), t;
536
+ }, ve = (i, e) => i.utilsStrings.heatChartCalendarDatePartsUnits[e] ?? "", Ie = (i, e) => {
537
+ let t = oi[i];
538
+ return i === 0 && e?.unit === q.DayOfWeek ? t = q.HourOfDay : i === 1 && e?.unit === q.HourOfDay && (t = q.DayOfWeek), {
539
+ type: x.CalendarDateParts,
540
+ unit: t
541
+ };
542
+ }, ci = (i) => {
543
+ let e = {};
544
+ switch (i.unit) {
545
+ case q.DayOfMonth:
546
+ e = { day: "2-digit" };
547
+ break;
548
+ case q.DayOfWeek:
549
+ e = { weekday: "short" };
550
+ break;
551
+ case q.HourOfDay:
552
+ e = { hour: "numeric", hour12: !1 };
553
+ break;
554
+ case q.MonthOfYear:
555
+ e = { month: "short" };
556
+ break;
557
+ default:
558
+ e = J().intlOptions;
559
+ break;
560
+ }
561
+ return {
562
+ type: x.DateAxisFormat,
563
+ intlOptions: e
564
+ };
565
+ }, Le = (i) => {
566
+ const { axisIndex: e, binning: t, commonStrings: a, config: s, fieldName: r, layerInfo: n } = i, o = s.series[0], l = re(e, s), c = R(n.layerFieldsInfo, r);
567
+ e === 0 ? o.xTemporalBinning = t : e === 1 && (o.yTemporalBinning = t), t !== void 0 && (l === "" || l === c || l === ve(a, t.unit) || l === a.xAxis) && $(s, e, ve(a, t.unit));
568
+ }, ee = (i) => {
569
+ const { axisIndex: e, commonStrings: t, config: a } = i, s = li(a, e), r = s ? ci(s) : void 0;
570
+ Oe({ config: a, commonStrings: t, valueFormat: r, axisIndex: e });
571
+ }, Pe = (i) => {
572
+ const { commonStrings: e, config: t, layerInfo: a } = i, s = t.series[0]?.x ?? "", r = t.series[0]?.y ?? "", n = Fe(a.layerFieldsInfo, s), o = Fe(a.layerFieldsInfo, r), l = Ce(n), c = Ce(o), g = be(n) && be(o), f = Q(n) && Q(o);
573
+ if (Ae({ axisIndex: 0, commonStrings: e, config: t, valueFormat: l }), Ae({ axisIndex: 1, commonStrings: e, config: t, valueFormat: c }), g) {
574
+ const p = si(t) === void 0, u = ai(t) === void 0;
575
+ p && (Le({
576
+ axisIndex: 0,
577
+ binning: Ie(0, t.series[0].yTemporalBinning),
578
+ commonStrings: e,
579
+ config: t,
580
+ fieldName: s,
581
+ layerInfo: a
582
+ }), ee({
583
+ axisIndex: 0,
584
+ commonStrings: e,
585
+ config: t
586
+ })), u && (Le({
587
+ axisIndex: 1,
588
+ binning: Ie(1, t.series[0].xTemporalBinning),
589
+ commonStrings: e,
590
+ config: t,
591
+ fieldName: r,
592
+ layerInfo: a
593
+ }), ee({
594
+ axisIndex: 1,
595
+ commonStrings: e,
596
+ config: t
597
+ }));
598
+ }
599
+ f && (t.series[0].xTemporalBinning = void 0, t.series[0].yTemporalBinning = void 0);
600
+ };
601
+ function ui(i) {
602
+ const e = {};
603
+ return i.series.forEach((t) => {
604
+ Vt(t) && "nullCategory" in t && t.nullCategory !== void 0 && (e.text ??= t.nullCategory.text, t.type === x.BarSeries ? e.fillSymbol ??= t.nullCategory.fillSymbol : e.markerSymbol ??= t.nullCategory.markerSymbol);
605
+ }), e.text || e.fillSymbol || e.markerSymbol ? e : void 0;
606
+ }
607
+ function ne(i) {
608
+ const { seriesIndex: e, xAxisField: t, aggregationType: a, config: s, layerInfo: r, commonStrings: n } = i, o = K(r?.layer).idField;
609
+ let l;
610
+ const c = s.series[e ?? 0];
611
+ let g = !1, f = !1, p = !1;
612
+ if (c === void 0) {
613
+ const T = s.series;
614
+ g = T.slice(0, e).every((A) => O(A)), f = T.slice(0, e).every((A) => V(A)), p = T.slice(0, e).every((A) => he(A));
489
615
  } else
490
- F = b(g), o = A(g), c = Fe(g);
491
- F ? y = dt({
492
- commonStrings: l,
616
+ g = O(c), f = V(c), p = he(c);
617
+ g ? l = It({
618
+ commonStrings: n,
493
619
  seriesIndex: e,
494
- objectIDField: n
495
- }) : o ? y = yt({
496
- commonStrings: l,
620
+ objectIDField: o
621
+ }) : f ? l = Lt({
622
+ commonStrings: n,
497
623
  seriesIndex: e,
498
- objectIDField: n
499
- }) : c ? y = mt(l, n) : y = gt({
624
+ objectIDField: o
625
+ }) : p ? l = Nt(n, o) : l = Dt({
500
626
  seriesIndex: e,
501
- objectIDField: n,
502
- commonStrings: l
627
+ objectIDField: o,
628
+ commonStrings: n
503
629
  });
504
- const m = a.series[0]?.dataLabels, d = {
505
- ...y,
506
- x: s,
630
+ const u = s.series[0]?.dataLabels, d = "nullCategory" in s.series[0] ? ui(s) : void 0, y = "binTemporalData" in s.series[0] ? s.series[0].binTemporalData : void 0, m = "classBreakRules" in s.series[0] ? s.series[0].classBreakRules : void 0, F = "xTemporalBinning" in s.series[0] ? s.series[0].xTemporalBinning : void 0, S = "yTemporalBinning" in s.series[0] ? s.series[0].yTemporalBinning : void 0, h = "emptyCells" in s.series[0] ? s.series[0].emptyCells : void 0, b = s.series[0].query && "fetchNullValues" in s.series[0].query ? s.series[0].query?.fetchNullValues : void 0, C = {
631
+ ...l,
632
+ x: t,
507
633
  y: "",
508
634
  dataLabels: {
509
- ...y.dataLabels,
510
- type: y.dataLabels?.type ?? v.Text,
511
- content: { ...y.dataLabels?.content, ...m?.content, type: nt.TS },
512
- visible: m?.visible ?? !1
513
- }
635
+ ...l.dataLabels,
636
+ type: l.dataLabels?.type ?? x.Text,
637
+ content: { ...l.dataLabels?.content, ...u?.content, type: bt.TS },
638
+ visible: u?.visible ?? !1
639
+ },
640
+ ...d !== void 0 ? { nullCategory: d } : {},
641
+ ...y !== void 0 ? { binTemporalData: y } : {},
642
+ ...m !== void 0 ? { classBreakRules: m } : {},
643
+ ...F !== void 0 ? { xTemporalBinning: F } : {},
644
+ ...S !== void 0 ? { yTemporalBinning: S } : {},
645
+ ...h !== void 0 ? { emptyCells: h } : {}
514
646
  };
515
- if (d.query = {
516
- groupByFieldsForStatistics: [s]
517
- }, r !== L.NoAggregation && n !== void 0) {
518
- const u = `${r}_${n}_0`.toUpperCase();
519
- d.y = u, d.query.outStatistics = [
647
+ if (C.query = {
648
+ groupByFieldsForStatistics: [t],
649
+ ...b !== void 0 ? { fetchNullValues: b } : {}
650
+ }, a !== I.NoAggregation && o !== void 0) {
651
+ const T = `${a}_${o}_0`.toUpperCase();
652
+ C.y = T, C.query.outStatistics = [
520
653
  {
521
- statisticType: r,
522
- onStatisticField: n,
523
- outStatisticFieldName: u
654
+ statisticType: a,
655
+ onStatisticField: o,
656
+ outStatisticFieldName: T
524
657
  }
525
658
  ];
526
659
  }
527
- if (k(a.series[0]) && k(d) && ue({ chartConfig: a })) {
528
- let u = Bt(a);
529
- u === se.Quarter && (u = se.Month), d.temporalBinning = {
530
- ...a.series[0]?.temporalBinning,
531
- unit: u
660
+ if (L(s.series[0]) && L(C)) {
661
+ let T = Mt(s);
662
+ T === ue.Quarter && (T = ue.Month), C.temporalBinning = {
663
+ ...s.series[0]?.temporalBinning,
664
+ unit: T
532
665
  };
533
666
  }
534
- return re(d);
667
+ return te(C);
535
668
  }
536
- function H(t, e, s) {
537
- const { layerFieldsInfo: r } = e, { idField: a, isTraditionalTypeOID: i } = X(e.layer), l = $(t), n = G(t), y = Ae(t), g = _(t), F = i && (n.length === 0 || n.includes(a)), o = ct(y, s), c = F ? "" : n.map((h) => D(r ?? [], h)).join(", "), m = D(r ?? [], l), d = D(r ?? [], g), u = t.series.some((h) => O(h)), p = u ? "category" : "xAxisField", T = m;
538
- let C = "";
539
- if (Te({
540
- fieldName: l,
541
- numericFields: n,
542
- fieldList: r
669
+ function Z(i, e, t) {
670
+ const { layerFieldsInfo: a } = e, { idField: s, isTraditionalTypeOID: r } = K(e.layer), n = w(i), o = U(i), l = oe(i), c = _(i), g = r && (o.length === 0 || o.includes(s)), f = vt(l, t), p = g ? "" : o.map((h) => R(a ?? [], h)).join(", "), u = R(a ?? [], n), d = R(a ?? [], c), y = i.series.some((h) => Y(h)), m = y ? "category" : "xAxisField", F = u;
671
+ let S = "";
672
+ if (fe({
673
+ fieldName: n,
674
+ numericFields: o,
675
+ fieldList: a
543
676
  }))
544
- C = P(s.titleLabels.aggrTypeOfAggrFields, {
545
- aggregationType: o,
546
- aggregationFields: c
677
+ S = M(t.titleLabels.aggrTypeOfAggrFields, {
678
+ aggregationType: f,
679
+ aggregationFields: p
547
680
  });
548
- else if (y === L.NoAggregation) {
549
- const h = F ? a : c;
550
- if (g === "") {
551
- const f = u ? "aggrTypeCategory" : "aggrTypeXAxisField";
552
- C = P(s.titleLabels[f], {
681
+ else if (l === I.NoAggregation) {
682
+ const h = g ? s : p;
683
+ if (c === "") {
684
+ const b = y ? "aggrTypeCategory" : "aggrTypeXAxisField";
685
+ S = M(t.titleLabels[b], {
553
686
  aggregationType: h,
554
- [p]: T
687
+ [m]: F
555
688
  });
556
689
  } else {
557
- const f = u ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
558
- C = P(s.titleLabels[f], {
690
+ const b = y ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
691
+ S = M(t.titleLabels[b], {
559
692
  aggregationType: h,
560
- [p]: T,
693
+ [m]: F,
561
694
  splitByField: d
562
695
  });
563
696
  }
564
- } else if (y === L.Count)
565
- if (g === "") {
566
- const h = u ? "aggrTypeCategory" : "aggrTypeXAxisField";
567
- C = P(s.titleLabels[h], {
568
- aggregationType: o,
569
- [p]: T
697
+ } else if (l === I.Count)
698
+ if (c === "") {
699
+ const h = y ? "aggrTypeCategory" : "aggrTypeXAxisField";
700
+ S = M(t.titleLabels[h], {
701
+ aggregationType: f,
702
+ [m]: F
570
703
  });
571
704
  } else {
572
- const h = u ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
573
- C = P(s.titleLabels[h], {
574
- aggregationType: o,
575
- [p]: T,
705
+ const h = y ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
706
+ S = M(t.titleLabels[h], {
707
+ aggregationType: f,
708
+ [m]: F,
576
709
  splitByField: d
577
710
  });
578
711
  }
579
- else if (g !== "") {
580
- const h = u ? "aggrTypeOfAggrFieldByCategoryBySplitByField" : "aggrTypeOfAggrFieldByXAxisFieldBySplitByField";
581
- C = P(s.titleLabels[h], {
582
- aggregationType: o,
583
- aggregationField: c,
584
- [p]: T,
712
+ else if (c !== "") {
713
+ const h = y ? "aggrTypeOfAggrFieldByCategoryBySplitByField" : "aggrTypeOfAggrFieldByXAxisFieldBySplitByField";
714
+ S = M(t.titleLabels[h], {
715
+ aggregationType: f,
716
+ aggregationField: p,
717
+ [m]: F,
585
718
  splitByField: d
586
719
  });
587
- } else if (n.length > 0) {
588
- const h = u ? "aggrTypeOfAggrFieldsByCategory" : "aggrTypeOfAggrFieldsByXAxisField";
589
- C = P(s.titleLabels[h], {
590
- aggregationType: o,
591
- aggregationFields: c,
592
- [p]: T
720
+ } else if (o.length > 0) {
721
+ const h = y ? "aggrTypeOfAggrFieldsByCategory" : "aggrTypeOfAggrFieldsByXAxisField";
722
+ S = M(t.titleLabels[h], {
723
+ aggregationType: f,
724
+ aggregationFields: p,
725
+ [m]: F
593
726
  });
594
727
  }
595
- return C;
728
+ return S;
596
729
  }
597
- const be = (t) => ne({
598
- where: t.query?.where,
730
+ const we = (i) => ge({
731
+ where: i.query?.where,
599
732
  normalize: !1,
600
733
  escape: !1
601
- }) ?? "", Ae = (t) => t?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? L.NoAggregation, _ = Ve(
602
- (t) => {
603
- const e = t?.series?.[0]?.query?.where?.split("=")[0].trim() ?? "";
604
- return tt(t?.series?.[0]?.query?.where) ? "" : e;
734
+ }) ?? "", oe = (i) => i?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? I.NoAggregation, _ = Xe(
735
+ (i) => {
736
+ const e = i?.series?.[0]?.query?.where?.split("=")[0].trim() ?? "";
737
+ return pt(i?.series?.[0]?.query?.where) ? "" : e;
605
738
  },
606
- (t) => t?.series?.[0]?.query?.where
607
- ), G = (t) => {
739
+ (i) => i?.series?.[0]?.query?.where
740
+ ), U = (i) => {
608
741
  let e = [];
609
- if (_(t) === "")
610
- e = t?.series.map((s) => {
611
- const r = s.query?.outStatistics?.map((a) => a.onStatisticField) ?? [];
612
- return r?.length > 0 ? r : s.y;
742
+ if (_(i) === "")
743
+ e = i?.series.map((t) => {
744
+ const a = t.query?.outStatistics?.map((s) => s.onStatisticField) ?? [];
745
+ return a?.length > 0 ? a : t.y;
613
746
  }).flat() ?? [];
614
747
  else {
615
- const s = t?.series?.[0], r = s?.query?.outStatistics?.[0]?.onStatisticField ?? [s?.y].flat()[0];
616
- e = r !== void 0 ? [r] : [];
748
+ const t = i?.series?.[0], a = t?.query?.outStatistics?.[0]?.onStatisticField ?? [t?.y].flat()[0];
749
+ e = a !== void 0 ? [a] : [];
617
750
  }
618
- return e.filter((s) => s !== "");
751
+ return e.filter((t) => t !== "");
619
752
  };
620
- function ve(t) {
621
- const { splitByField: e, numericFields: s, layer: r, seriesIndex: a } = t, i = X(r).idField ?? "";
622
- return e === "" ? s[a] ?? i : s[0] ?? i;
753
+ function Ee(i) {
754
+ const { splitByField: e, numericFields: t, layer: a, seriesIndex: s } = i, r = K(a).idField ?? "";
755
+ return e === "" ? t[s] ?? r : t[0] ?? r;
623
756
  }
624
- function wt(t) {
625
- const { numericFields: e, aggregationType: s, config: r, layerInfo: a } = t;
626
- let i = !1;
627
- s === L.Count ? i = !0 : s === L.NoAggregation && (i = e.every((y) => {
628
- const g = a.layerFieldsInfo.find((F) => F.name === y);
629
- return g !== void 0 ? ge(g) : !1;
630
- })), de(r, 1, i);
631
- const l = r.series.some((y) => b(y)), n = r.series.some((y) => A(y));
632
- if (l || n) {
633
- const y = $(r), g = a.layerFieldsInfo.find((o) => o.name === y), F = g !== void 0 && ge(g);
634
- de(r, 0, F);
757
+ function di(i) {
758
+ const { numericFields: e, aggregationType: t, config: a, layerInfo: s } = i;
759
+ let r = !1;
760
+ t === I.Count ? r = !0 : t === I.NoAggregation && (r = e.every((l) => {
761
+ const c = s.layerFieldsInfo.find((g) => g.name === l);
762
+ return c !== void 0 ? Te(c) : !1;
763
+ })), xe(a, 1, r);
764
+ const n = a.series.some((l) => O(l)), o = a.series.some((l) => V(l));
765
+ if (n || o) {
766
+ const l = w(a), c = s.layerFieldsInfo.find((f) => f.name === l), g = c !== void 0 && Te(c);
767
+ xe(a, 0, g);
635
768
  }
636
769
  }
637
- const ae = (t) => {
770
+ function Me(i) {
771
+ for (const e of [1, 2])
772
+ G({ config: i, value: null, axisIndex: e, isMax: !1 }), G({ config: i, value: null, axisIndex: e, isMax: !0 });
773
+ }
774
+ const me = (i) => {
638
775
  let e;
639
- if (oe(t)) {
640
- const s = t.orderOptions?.data?.orderByX ?? [""], r = t.orderOptions?.data?.orderByY ?? [""], a = t.axes?.[0]?.valueFormat?.type === "category" ? V.Category : V.YValue, i = t.axes?.[1]?.valueFormat?.type === "category" ? V.Category : V.YValue;
641
- e = [pe(s, a), pe(r, i)];
776
+ if (W(i)) {
777
+ const t = i.orderOptions?.data?.orderByX ?? [""], a = i.orderOptions?.data?.orderByY ?? [""], s = i.axes?.[0]?.valueFormat?.type === "category" ? D.Category : D.YValue, r = i.axes?.[1]?.valueFormat?.type === "category" ? D.Category : D.YValue;
778
+ e = [Be(t, s), Be(a, r)];
642
779
  } else {
643
- const s = t.orderOptions?.data?.orderType ?? V.Category, r = t.orderOptions?.data && "orderBy" in t.orderOptions.data ? t.orderOptions.data.orderBy : rt.Ascending;
644
- e = [it(r, s)];
780
+ const t = i.orderOptions?.data?.orderType ?? D.Category, a = i.orderOptions?.data && "orderBy" in i.orderOptions.data ? i.orderOptions.data.orderBy : Bt.Ascending;
781
+ e = [Tt(a, t)];
645
782
  }
646
783
  return e;
647
784
  };
648
- function Pt(t) {
649
- const { xAxisField: e, numericFields: s, aggregationType: r, config: a, layerInfo: i, commonStrings: l } = t, { layerFieldsInfo: n } = i;
650
- let y = !1;
651
- const g = Y({
652
- config: a,
785
+ function yi(i) {
786
+ const { xAxisField: e, numericFields: t, aggregationType: a, config: s, layerInfo: r, commonStrings: n } = i, { layerFieldsInfo: o } = r, l = ne({
787
+ config: s,
653
788
  xAxisField: e,
654
- aggregationType: r,
655
- layerInfo: i,
789
+ aggregationType: a,
790
+ layerInfo: r,
656
791
  seriesIndex: 0,
657
- commonStrings: l
658
- }), F = Q({
659
- config: a,
792
+ commonStrings: n
793
+ }), c = se({
794
+ config: s,
660
795
  xAxisField: e,
661
- numericFields: s,
662
- aggregationType: r,
663
- layer: i.layer,
664
- fieldList: n
665
- }).name, o = {
666
- ...g,
667
- id: `series_${Date.now()}`,
668
- name: l.axisLabels.values,
669
- x: te,
670
- y: F
671
- }, c = [];
672
- for (const d of s)
673
- c.push({
674
- onStatisticField: d,
675
- outStatisticFieldName: `${d}_0`.toUpperCase(),
676
- statisticType: r
796
+ numericFields: t,
797
+ aggregationType: a,
798
+ layer: r.layer,
799
+ fieldList: o
800
+ }).name, g = w(s), f = U(s), p = fe({
801
+ fieldName: g,
802
+ numericFields: f,
803
+ fieldList: o
804
+ }) ? s.series[0] : void 0, u = `series_${Date.now()}`, d = p?.id ?? u, y = p?.name ?? n.axisLabels.values, F = {
805
+ ...p ?? l,
806
+ id: d,
807
+ name: y,
808
+ x: j,
809
+ y: c
810
+ }, S = [];
811
+ for (const h of t)
812
+ S.push({
813
+ onStatisticField: h,
814
+ outStatisticFieldName: `${h}_0`.toUpperCase(),
815
+ statisticType: a
677
816
  });
678
- o.query = { outStatistics: c };
679
- const m = a.series[0];
680
- return m !== void 0 && (o.id = m.id, (b(o) && b(m) || A(o) && A(m)) && W(o, m), a.colorMatch || (O(m) && O(o) ? o.fillSymbol = m.fillSymbol : (b(o) && b(m) || A(o) && A(m)) && (o.lineSymbol = m.lineSymbol, o.markerSymbol = m.markerSymbol), y = !0), o.id = m.id, m.name !== g.name && (o.name = m.name)), a.series.length === 1 && ((b(o) || A(o)) && W(o, a.series[0]), a.colorMatch || (O(o) ? o.fillSymbol = a.series[0].fillSymbol : (b(o) || A(o)) && (o.lineSymbol = a.series[0].lineSymbol, o.markerSymbol = a.series[0].markerSymbol), y = !0)), a.colorMatch = !y, [o];
817
+ return F.query = { outStatistics: S }, s.series.length === 1 && ((O(F) || V(F)) && $e(F, s.series[0]), Y(F) ? F.fillSymbol = s.series[0].fillSymbol : (O(F) || V(F)) && (F.lineSymbol = s.series[0].lineSymbol, F.markerSymbol = s.series[0].markerSymbol)), [F];
681
818
  }
682
- function Ie(t) {
683
- const { xAxisField: e, numericFields: s, aggregationType: r, config: a, layerInfo: i, commonStrings: l } = t, { layerFieldsInfo: n } = i, y = X(i.layer).idField, g = [];
684
- let F = !1;
685
- for (let u = 0; u < s.length; u += 1) {
686
- const p = Y({
687
- config: a,
819
+ function Ye(i) {
820
+ const { xAxisField: e, numericFields: t, aggregationType: a, config: s, layerInfo: r, commonStrings: n } = i, { layerFieldsInfo: o } = r, l = K(r.layer).idField, c = [];
821
+ for (let d = 0; d < t.length; d += 1) {
822
+ const y = ne({
823
+ config: s,
688
824
  xAxisField: e,
689
- aggregationType: r,
690
- layerInfo: i,
691
- seriesIndex: u,
692
- commonStrings: l
693
- }), T = a.series[u]?.y, C = typeof T == "string" && T.trim() !== "" && !n.find((S) => S.name === T) ? T : Q({
694
- config: a,
825
+ aggregationType: a,
826
+ layerInfo: r,
827
+ seriesIndex: d,
828
+ commonStrings: n
829
+ }), m = s.series[d]?.y, F = typeof m == "string" && m.trim() !== "" && !o.find((N) => N.name === m) ? m : se({
830
+ config: s,
695
831
  xAxisField: e,
696
- numericFields: s,
697
- aggregationType: r,
698
- layer: i.layer,
699
- numericFieldIndex: u,
700
- fieldList: n
701
- }).name, h = s[u];
702
- let f = {
703
- ...p,
704
- query: {
705
- ...p.query
706
- }
832
+ numericFields: t,
833
+ aggregationType: a,
834
+ layer: r.layer,
835
+ numericFieldIndex: d,
836
+ fieldList: o
837
+ }).name, S = t[d], h = s.series.find(
838
+ (N) => N.query?.where === void 0 && (N.query?.outStatistics?.length === 1 && N.query?.outStatistics?.[0]?.onStatisticField === S || N.query?.outStatistics === void 0 && (N.y === S || N.x === S))
839
+ ), b = S !== l ? S : y.id, C = h?.id ?? b, T = h?.name ?? R(o, S) ?? C, A = h ?? y, v = {
840
+ ...A,
841
+ id: C,
842
+ name: T
707
843
  };
708
- s && h !== y && (f = {
709
- ...f,
710
- id: h,
711
- name: D(n, h)
712
- });
713
- let R = h;
714
- f.query !== void 0 && (r !== L.NoAggregation ? (R = C, f.query.outStatistics = [
844
+ let E = S;
845
+ v.query !== void 0 && (a !== I.NoAggregation ? (E = v.type === x.HeatSeries && h?.type === x.HeatSeries ? S : F, v.query.outStatistics = [
715
846
  {
716
- ...p.query?.outStatistics?.[0] ?? {},
717
- onStatisticField: h,
718
- outStatisticFieldName: C,
719
- statisticType: r
847
+ ...A.query?.outStatistics?.[0] ?? {},
848
+ onStatisticField: S,
849
+ outStatisticFieldName: F,
850
+ statisticType: a
720
851
  }
721
- ]) : delete f.query.outStatistics), f.y = R;
722
- const x = a.series.find(
723
- (S) => S.query?.outStatistics?.[0]?.onStatisticField === h && S.query.where === void 0 || S.query?.outStatistics === void 0 && (S.y === h || S.x === h)
724
- );
725
- if (x !== void 0 && typeof x.y == "string" && x.y.trim() !== "") {
726
- (b(f) && b(x) || A(f) && A(x)) && W(f, x), a.colorMatch || (O(f) && O(x) ? f.fillSymbol = x.fillSymbol : (b(f) && b(x) || A(f) && A(x)) && (f.lineSymbol = x.lineSymbol, f.markerSymbol = x.markerSymbol), F = !0);
727
- const S = Y({
728
- config: a,
729
- xAxisField: e,
730
- aggregationType: r,
731
- layerInfo: i,
732
- seriesIndex: u,
733
- commonStrings: l
734
- });
735
- f.id = x.id, x.id !== S.id && x.name !== S.name && (f.id = x.id, f.name = x.name), f.assignToSecondValueAxis = x.assignToSecondValueAxis, f.type === v.HeatSeries && x.type === v.HeatSeries && (f.y = x.y, f.heatRulesType = x.heatRulesType);
736
- }
737
- g.push(f);
852
+ ]) : delete v.query.outStatistics), v.y = E, c.push(v);
738
853
  }
739
- const o = g.filter((u) => O(u)), c = g.filter(
740
- (u) => b(u) || A(u)
741
- ), m = a.series.filter((u) => O(u)), d = a.series.filter(
742
- (u) => b(u) || A(u)
854
+ const g = c.filter((d) => Y(d)), f = c.filter(
855
+ (d) => O(d) || V(d)
856
+ ), p = s.series.filter((d) => Y(d)), u = s.series.filter(
857
+ (d) => O(d) || V(d)
743
858
  );
744
- return m.length === 1 && o.length === 1 && !a.colorMatch && (O(m[0]) && O(o[0]) && (o[0].fillSymbol = m[0].fillSymbol), F = !0), d.length === 1 && c.length === 1 && ((b(d[0]) && b(c[0]) || A(d[0]) && A(c[0])) && W(c[0], d[0]), a.colorMatch || ((b(d[0]) && b(c[0]) || A(d[0]) && A(c[0])) && (c[0].lineSymbol = d[0].lineSymbol, c[0].markerSymbol = d[0].markerSymbol), F = !0)), a.colorMatch = !F, g;
859
+ return p.length === 1 && g.length === 1 && Y(p[0]) && Y(g[0]) && (g[0].fillSymbol = p[0].fillSymbol), u.length === 1 && f.length === 1 && ((O(u[0]) && O(f[0]) || V(u[0]) && V(f[0])) && $e(f[0], u[0]), (O(u[0]) && O(f[0]) || V(u[0]) && V(f[0])) && (f[0].lineSymbol = u[0].lineSymbol, f[0].markerSymbol = u[0].markerSymbol)), c;
745
860
  }
746
- function li(t) {
747
- const { aggregationType: e, config: s, layerInfo: r, commonStrings: a } = t, { layerFieldsInfo: i, layer: l } = r, n = $(s), y = G(s), g = _(s), F = Z(s, r, a), o = Le(s, r, a);
748
- if (s.series.forEach((c, m) => {
749
- const d = Q({
750
- config: s,
751
- xAxisField: n,
752
- numericFields: y,
861
+ function qs(i) {
862
+ const { aggregationType: e, config: t, layerInfo: a, commonStrings: s } = i, { layerFieldsInfo: r, layer: n } = a, o = w(t), l = U(t), c = _(t), g = oe(t), f = le(t, a, s), p = We(t, a, s);
863
+ if (t.series.forEach((u, d) => {
864
+ const y = se({
865
+ config: t,
866
+ xAxisField: o,
867
+ numericFields: l,
753
868
  aggregationType: e,
754
- splitByField: g,
755
- layer: l,
756
- seriesIndex: m,
757
- numericFieldIndex: m,
758
- fieldList: i
869
+ splitByField: c,
870
+ layer: n,
871
+ seriesIndex: d,
872
+ numericFieldIndex: d,
873
+ fieldList: r
759
874
  }).name;
760
- if (c.y = d, e !== L.NoAggregation) {
761
- const u = ve({
762
- splitByField: g,
763
- numericFields: y,
764
- layer: l,
765
- seriesIndex: m
766
- }), p = c.query?.outStatistics?.[0]?.onStatisticField ?? u;
767
- c.query = {
768
- ...c.query,
769
- outStatistics: [
770
- {
771
- ...c.query?.outStatistics?.[0],
772
- outStatisticFieldName: d,
773
- statisticType: e,
774
- onStatisticField: p
775
- }
776
- ]
777
- };
778
- } else
779
- delete c.query?.outStatistics, !ue({ chartConfig: s }) && c.type === v.LineSeries && c.temporalBinning !== void 0 && delete c.temporalBinning;
780
- }), F && s.title && (s.title.content.text = H(s, r, a)), o && s.series[0].type !== v.HeatSeries) {
781
- const c = le({
782
- config: s,
783
- layerInfo: r,
784
- commonStrings: a,
785
- numericFields: y,
875
+ u.y = y;
876
+ const m = Ee({
877
+ splitByField: c,
878
+ numericFields: l,
879
+ layer: n,
880
+ seriesIndex: d
881
+ }), F = u.query?.outStatistics?.[0]?.onStatisticField ?? m;
882
+ u.query = {
883
+ ...u.query,
884
+ outStatistics: e === I.NoAggregation ? void 0 : [
885
+ {
886
+ ...u.query?.outStatistics?.[0],
887
+ outStatisticFieldName: y,
888
+ statisticType: e,
889
+ onStatisticField: F
890
+ }
891
+ ]
892
+ }, "temporalBinning" in u && u.temporalBinning !== void 0 && (u.temporalBinning.nullPolicy = e === I.NoAggregation ? X.Interpolate : X.Null), e === I.NoAggregation && Wt(t);
893
+ }), f && t.title && (t.title.content.text = Z(t, a, s)), p && t.series[0].type !== x.HeatSeries) {
894
+ const u = pe({
895
+ config: t,
896
+ layerInfo: a,
897
+ commonStrings: s,
898
+ numericFields: l,
786
899
  aggregationType: e
787
900
  });
788
- E(s, 1, c);
901
+ $(t, 1, u);
789
902
  }
903
+ g !== e && Me(t);
790
904
  }
791
- function Et(t) {
905
+ function mi(i) {
792
906
  const {
793
907
  splitByField: e,
794
- xAxisField: s,
795
- numericFields: r,
796
- aggregationType: a,
797
- config: i,
798
- layerInfo: l,
799
- commonStrings: n,
800
- splitByFieldInfos: y
801
- } = t, { layer: g, layerFieldsInfo: F } = l, { categoriesArray: o, splitByFieldType: c } = y, m = ve({
908
+ xAxisField: t,
909
+ numericFields: a,
910
+ aggregationType: s,
911
+ config: r,
912
+ layerInfo: n,
913
+ commonStrings: o,
914
+ splitByFieldInfos: l
915
+ } = i, { layer: c, layerFieldsInfo: g } = n, { categoriesArray: f, splitByFieldType: p } = l, u = Ee({
802
916
  splitByField: e,
803
- numericFields: r,
804
- layer: g,
917
+ numericFields: a,
918
+ layer: c,
805
919
  seriesIndex: 0
806
920
  });
807
- let d = [], u = !1;
808
- if (o.length === 0) {
809
- d = Ie({
810
- xAxisField: s,
811
- numericFields: r,
812
- aggregationType: a,
813
- config: i,
814
- layerInfo: l,
815
- commonStrings: n
921
+ let d = [];
922
+ if (f.length === 0) {
923
+ d = Ye({
924
+ xAxisField: t,
925
+ numericFields: a,
926
+ aggregationType: s,
927
+ config: r,
928
+ layerInfo: n,
929
+ commonStrings: o
816
930
  });
817
- for (const p of d)
818
- p.query && (p.query.where = `${e}=''`);
931
+ for (const y of d)
932
+ y.query && (y.query.where = `${e}=''`);
819
933
  } else
820
- for (let p = 0; p < o.length; p += 1) {
821
- const T = o[p], C = Q({
822
- config: i,
823
- xAxisField: s,
824
- numericFields: r,
825
- aggregationType: a,
826
- layer: l.layer,
827
- seriesIndex: p,
934
+ for (let y = 0; y < f.length; y += 1) {
935
+ const m = f[y], F = se({
936
+ config: r,
937
+ xAxisField: t,
938
+ numericFields: a,
939
+ aggregationType: s,
940
+ layer: n.layer,
941
+ seriesIndex: y,
828
942
  splitByField: e,
829
- fieldList: F
830
- }).name, h = Y({
831
- config: i,
832
- xAxisField: s,
833
- aggregationType: a,
834
- layerInfo: l,
835
- seriesIndex: p,
836
- commonStrings: n
837
- }), f = xe({
838
- queryObject: l.layer,
943
+ fieldList: g
944
+ }).name, S = ne({
945
+ config: r,
946
+ xAxisField: t,
947
+ aggregationType: s,
948
+ layerInfo: n,
949
+ seriesIndex: y,
950
+ commonStrings: o
951
+ }), h = De({
952
+ queryObject: n.layer,
839
953
  fieldName: e,
840
- fieldValue: T ?? ""
841
- }), R = `${T}`, S = {
842
- ...h,
843
- id: R,
844
- name: f ?? R,
845
- y: C,
954
+ fieldValue: m ?? ""
955
+ }), b = `${m}`, C = r.series.find(
956
+ (N) => String(we(N)).trim().replace(/'/gu, "") === b
957
+ ), T = C?.id ?? b, A = C?.name ?? h ?? T, v = C ?? S, E = {
958
+ ...v,
959
+ id: T,
960
+ name: A,
961
+ y: F,
846
962
  query: {
847
- ...h.query,
848
- where: `${e}=${c === ot.String && T !== null ? `'${T}'` : T}`,
849
- outStatistics: a !== L.NoAggregation ? [
963
+ ...v.query,
964
+ where: `${e}=${p === ke.String && m !== null ? `'${m}'` : m}`,
965
+ outStatistics: s !== I.NoAggregation ? [
850
966
  {
851
- ...h.query?.outStatistics?.[0] ?? {},
852
- onStatisticField: m,
853
- outStatisticFieldName: C,
854
- statisticType: a
967
+ ...v.query?.outStatistics?.[0] ?? {},
968
+ onStatisticField: u,
969
+ outStatisticFieldName: F,
970
+ statisticType: s
855
971
  }
856
972
  ] : void 0
857
973
  }
858
974
  };
859
- a === L.NoAggregation && (S.query !== void 0 && (delete S.query.outStatistics, delete S.query.groupByFieldsForStatistics), S.y = m);
860
- const I = i.series.find(
861
- (q) => String(be(q)).trim().replace(/'/gu, "") === R
862
- );
863
- I !== void 0 && ((b(S) && b(I) || A(S) && A(I)) && W(S, I), i.colorMatch || (O(S) && O(I) ? S.fillSymbol = I.fillSymbol : (b(S) && b(I) || A(S) && A(I)) && (S.lineSymbol = I.lineSymbol, S.markerSymbol = I.markerSymbol), u = !0), S.id = I.id, S.name = I.name, S.assignToSecondValueAxis = I.assignToSecondValueAxis), S.query && (S.query.fetchNullValues = i.series.some((q) => q.query?.fetchNullValues)), d.push(S);
975
+ d.push(E);
864
976
  }
865
- return i.colorMatch = !u, d;
977
+ return d;
866
978
  }
867
- const ni = (t) => {
979
+ const Rs = (i) => {
868
980
  const {
869
981
  xAxisFieldName: e,
870
- splitByField: s,
871
- numericFields: r,
872
- aggregationType: a,
873
- config: i,
874
- layerInfo: l,
875
- commonStrings: n,
876
- splitByFieldInfos: y
877
- } = t, { layerFieldsInfo: g } = l ?? {}, F = xt(i), o = $(i), c = g.find((B) => B.name === o), m = i.series[0].query?.fetchNullValues, d = "nullCategory" in i.series?.[0] ? i.series[0].nullCategory : void 0, u = i.series[0]?.query === void 0, p = g.find((B) => B.name === e), T = Z(i, l, n), C = Le(i, l, n), h = Mt(i, l);
878
- let f = he(i);
879
- const R = i.series.some((B) => O(B)), x = ft(i.series), S = St(i.series), I = oe(i), q = {};
880
- I && (q.classBreaksRules = i.series[0]?.classBreaksRules, q.xTemporalBinning = i.series[0]?.xTemporalBinning, q.yTemporalBinning = i.series[0]?.yTemporalBinning, q.emptyCells = i.series[0]?.emptyCells, q.nullPolicy = i.nullPolicy);
881
- let J = !1;
882
- if (st(p) ? f = fe() : !me(c) && me(p) ? f = Se() : !j(c) && j(p) ? (f = Se(), J = !0) : j(c) && !j(p) && (R ? f = fe() : f = pt(), J = !0), f !== void 0 && ke(i, n, f), F === 0 && (i.series = [
883
- Y({ config: i, xAxisField: e, aggregationType: a, layerInfo: l, commonStrings: n })
884
- ]), i.series.forEach((B) => {
982
+ splitByField: t,
983
+ numericFields: a,
984
+ aggregationType: s,
985
+ config: r,
986
+ layerInfo: n,
987
+ commonStrings: o,
988
+ splitByFieldInfos: l
989
+ } = i, { layerFieldsInfo: c } = n ?? {}, g = te(r), f = wt(r), p = w(g), u = _(g), d = oe(g), y = c.find((B) => B.name === p), m = r.series[0]?.query === void 0, F = U(g), S = c.find((B) => B.name === e), h = le(g, n, o), b = We(g, n, o), C = gi({ config: g, layerInfo: n, commonStrings: o });
990
+ let T = Ve(r);
991
+ const A = g.series.some((B) => Y(B)), v = ft(g.series), E = St(g.series), N = k(y) || k(S);
992
+ if (Q(S) ? T = de() : !z(y) && z(S) ? T = J() : !k(y) && k(S) ? T = J() : k(y) && !k(S) && (A ? T = de() : T = Ot()), T !== void 0 && ht(r, o, T), f === 0 && (r.series = [
993
+ ne({ config: r, xAxisField: e, aggregationType: s, layerInfo: n, commonStrings: o })
994
+ ]), r.series.forEach((B) => {
885
995
  B.x = e, B.query !== void 0 && (B.query.groupByFieldsForStatistics = [e]);
886
- }), s === "" || r.length > 1 ? Te({
996
+ }), t === "" || a.length > 1 ? fe({
887
997
  fieldName: e,
888
- numericFields: r,
889
- fieldList: g
890
- }) ? i.series = Pt({
891
- config: i,
892
- layerInfo: l,
998
+ numericFields: a,
999
+ fieldList: c
1000
+ }) ? r.series = yi({
1001
+ config: r,
1002
+ layerInfo: n,
893
1003
  xAxisField: e,
894
- numericFields: r,
895
- aggregationType: a,
896
- commonStrings: n
897
- }) : i.series = Ie({
898
- config: i,
899
- layerInfo: l,
1004
+ numericFields: a,
1005
+ aggregationType: s,
1006
+ commonStrings: o
1007
+ }) : r.series = Ye({
1008
+ config: r,
1009
+ layerInfo: n,
900
1010
  xAxisField: e,
901
- numericFields: r,
902
- aggregationType: a,
903
- commonStrings: n
904
- }) : y && (i.series = Et({
905
- config: i,
906
- layerInfo: l,
907
- splitByField: s,
1011
+ numericFields: a,
1012
+ aggregationType: s,
1013
+ commonStrings: o
1014
+ }) : l && (r.series = mi({
1015
+ config: r,
1016
+ layerInfo: n,
1017
+ splitByField: t,
908
1018
  xAxisField: e,
909
- numericFields: r,
910
- aggregationType: a,
911
- commonStrings: n,
912
- splitByFieldInfos: y
913
- })), h && i.series[0].type !== v.HeatSeries) {
914
- const B = D(g, e);
915
- E(i, 0, B);
1019
+ numericFields: a,
1020
+ aggregationType: s,
1021
+ commonStrings: o,
1022
+ splitByFieldInfos: l
1023
+ })), C && e !== j && r.series[0].type !== x.HeatSeries) {
1024
+ const B = R(c, e);
1025
+ $(r, 0, B);
916
1026
  }
917
- if (C && i.series[0].type !== v.HeatSeries) {
918
- const B = le({
919
- config: i,
920
- layerInfo: l,
921
- commonStrings: n,
922
- numericFields: r,
923
- aggregationType: a
1027
+ if (b && r.series[0].type !== x.HeatSeries) {
1028
+ const B = pe({
1029
+ config: r,
1030
+ layerInfo: n,
1031
+ commonStrings: o,
1032
+ numericFields: a,
1033
+ aggregationType: s
924
1034
  });
925
- E(i, 1, B);
1035
+ $(r, 1, B);
926
1036
  }
927
- if (T && i.title && (i.title.content.text = H(i, l, n)), N({ config: i, value: null, axisIndex: 1, isMax: !1 }), N({ config: i, value: null, axisIndex: 1, isMax: !0 }), wt({ numericFields: r, aggregationType: a, config: i, layerInfo: l }), (x || S) && (N({ config: i, value: null, axisIndex: 0, isMax: !1 }), N({ config: i, value: null, axisIndex: 0, isMax: !0 }), J && a !== L.NoAggregation)) {
928
- const B = f?.type === v.DateAxisFormat ? U.Null : U.Interpolate;
929
- bt(B, i);
1037
+ if (h && r.title && (r.title.content.text = Z(r, n, o)), p === e && u === t && d === s && Ue(F, a) || Me(r), di({ numericFields: a, aggregationType: s, config: r, layerInfo: n }), (v || E) && (G({ config: r, value: null, axisIndex: 0, isMax: !1 }), G({ config: r, value: null, axisIndex: 0, isMax: !0 }), N && s !== I.NoAggregation && !W(g))) {
1038
+ const B = k(S) ? X.Null : X.Interpolate;
1039
+ $t(B, r);
930
1040
  }
931
- I && (i.series[0].classBreaksRules = q.classBreaksRules, i.series[0].xTemporalBinning = q.xTemporalBinning, i.series[0].yTemporalBinning = q.yTemporalBinning, i.series[0].emptyCells = q.emptyCells, i.nullPolicy = q.nullPolicy), u ? i.series.forEach((B) => {
932
- delete B.query;
933
- }) : m && i.series.forEach((B) => {
934
- B.query && (B.query.fetchNullValues = m);
935
- }), d && i.series.forEach((B) => {
936
- (B.type === v.BarSeries || B.type === v.LineSeries || B.type === v.RadarSeries) && (B.nullCategory = d);
1041
+ W(r) && Pe({ commonStrings: o, config: r, layerInfo: n }), r.series.forEach((B) => {
1042
+ m && delete B.query, p !== e && L(B) && (S?.type === ke.TimeOnly ? B.binTemporalData = !1 : B.binTemporalData = B.type === x.LineSeries && k(S));
937
1043
  });
938
- }, W = (t, e) => {
939
- t.markerVisible = e.markerVisible, t.lineSmoothed = e.lineSmoothed, t.showArea = e.showArea, t.areaColor = e.areaColor, t.stackNegativeValuesToBaseline = e.stackNegativeValuesToBaseline, e.lineSymbol && (t.lineSymbol = { ...e.lineSymbol, color: t.lineSymbol?.color }), e.markerSymbol && (t.markerSymbol = {
1044
+ }, $e = (i, e) => {
1045
+ i.markerVisible = e.markerVisible, i.lineSmoothed = e.lineSmoothed, i.showArea = e.showArea, i.areaColor = e.areaColor, i.stackNegativeValuesToBaseline = e.stackNegativeValuesToBaseline, e.lineSymbol && (i.lineSymbol = { ...e.lineSymbol, color: i.lineSymbol?.color }), e.markerSymbol && (i.markerSymbol = {
940
1046
  ...e.markerSymbol,
941
- color: t.markerSymbol?.color
1047
+ color: i.markerSymbol?.color
942
1048
  });
943
- }, oi = (t) => {
944
- const { config: e, seriesIndex: s, layerInfo: r, commonStrings: a } = t, i = e.series?.[s], l = _(e);
945
- let n;
946
- if (K(e.series) === w.BarAndLineFromFields)
947
- n = a.axisLabels.values;
948
- else if (qe(l)) {
949
- const g = i.query?.outStatistics?.[0]?.onStatisticField;
950
- g !== void 0 && g !== X(r.layer).idField && (n = D(r.layerFieldsInfo, g));
1049
+ }, Ps = (i) => {
1050
+ const { config: e, seriesIndex: t, layerInfo: a, commonStrings: s } = i, r = e.series?.[t], n = _(e);
1051
+ let o;
1052
+ if (ie(e.series) === P.BarAndLineFromFields)
1053
+ o = s.axisLabels.values;
1054
+ else if (He(n)) {
1055
+ const c = r.query?.outStatistics?.[0]?.onStatisticField;
1056
+ c !== void 0 && c !== K(a.layer).idField && (o = R(a.layerFieldsInfo, c));
951
1057
  } else {
952
- const g = String(be(i)).trim().replace(/'/gu, "");
953
- n = xe({
954
- queryObject: r.layer,
955
- fieldName: l,
956
- fieldValue: g ?? ""
957
- }) ?? g;
1058
+ const c = String(we(r)).trim().replace(/'/gu, "");
1059
+ o = De({
1060
+ queryObject: a.layer,
1061
+ fieldName: n,
1062
+ fieldValue: c ?? ""
1063
+ }) ?? c;
958
1064
  }
959
- return n ?? i.id;
960
- }, ui = (t, e) => {
961
- if (oe(e))
962
- Ot(t, e);
1065
+ return o ?? r.id;
1066
+ }, ws = (i, e) => {
1067
+ if (W(e))
1068
+ ri(i, e);
963
1069
  else {
964
1070
  e.orderOptions ??= {};
965
- const s = e.orderOptions?.data?.orderType;
966
- ae(e)[0] === ee.customSort && s === V.Category && (e.orderOptions.data = {
967
- orderType: V.Category,
968
- orderBy: [...t]
1071
+ const t = e.orderOptions?.data?.orderType;
1072
+ me(e)[0] === ce.customSort && t === D.Category && (e.orderOptions.data = {
1073
+ orderType: D.Category,
1074
+ orderBy: [...i]
969
1075
  });
970
1076
  }
971
- }, ci = async (t) => {
972
- const { config: e, layerInfo: s, errorStrings: r } = t, a = $(e), i = he(e)?.type, l = G(e), n = K(e.series);
973
- let y = [];
974
- return i === v.CategoryAxisFormat && (n === w.BarAndLineFromFields || a === te ? y = l.map((g) => D(s?.layerFieldsInfo, g)) : a.trim() !== "" && a !== te && s !== void 0 && (y = await Ne({
975
- layerInfo: s,
1077
+ }, Es = async (i) => {
1078
+ const { config: e, layerInfo: t, errorStrings: a } = i, s = w(e), r = Ve(e)?.type, n = U(e), o = ie(e.series);
1079
+ let l = [];
1080
+ return r === x.CategoryAxisFormat && (o === P.BarAndLineFromFields || s === j ? l = n.map((c) => R(t?.layerFieldsInfo, c)) : s.trim() !== "" && s !== j && t !== void 0 && (l = await Ft({
1081
+ layerInfo: t,
976
1082
  config: e,
977
- category: a,
978
- errorStrings: r
979
- }))), y;
1083
+ category: s,
1084
+ errorStrings: a
1085
+ }))), l;
980
1086
  };
981
- function Z(t, e, s) {
982
- const r = H(t, e, s), a = Tt(t), i = z(t);
983
- return r === a || i;
1087
+ function le(i, e, t) {
1088
+ const a = Z(i, e, t), s = Et(i), r = ae(i);
1089
+ return a === s || r;
984
1090
  }
985
- function Le(t, e, s) {
986
- const r = le({
987
- config: t,
1091
+ function We(i, e, t) {
1092
+ const a = pe({
1093
+ config: i,
988
1094
  layerInfo: e,
989
- commonStrings: s,
990
- numericFields: G(t),
991
- aggregationType: Ae(t)
992
- }), a = ce(1, t), i = z(t);
993
- return r === a || i;
1095
+ commonStrings: t,
1096
+ numericFields: U(i),
1097
+ aggregationType: oe(i)
1098
+ }), s = re(1, i), r = ae(i);
1099
+ return a === s || r;
994
1100
  }
995
- function Mt(t, e) {
996
- const s = D(e.layerFieldsInfo, $(t)), r = ce(0, t), a = z(t);
997
- return s === r || a;
1101
+ function gi(i) {
1102
+ const { config: e, layerInfo: t, commonStrings: a } = i, s = R(t.layerFieldsInfo, w(e)), r = re(0, e), n = ae(e), o = w(e) === j && (r === "" || r === a.xAxis);
1103
+ return s === r || n || o;
998
1104
  }
999
- function di(t) {
1000
- return k(t.series[0]) ? t.series[0].binTemporalData ?? !0 : !1;
1105
+ function Ms(i) {
1106
+ return L(i.series[0]) ? i.series[0].binTemporalData ?? !0 : !1;
1001
1107
  }
1002
- function yi(t, e) {
1003
- ue({ chartConfig: e }) && e?.series.forEach((s) => {
1004
- (s?.type === v.BarSeries || s?.type === v.LineSeries) && (s.binTemporalData = t, t ? s.temporalBinning = {
1005
- unit: se.Day,
1108
+ function Ys(i, e) {
1109
+ e?.series.forEach((t) => {
1110
+ L(t) && (t.binTemporalData = i, i ? t.temporalBinning = {
1111
+ unit: ue.Day,
1006
1112
  size: 0,
1007
- timeAggregationType: lt.Start,
1113
+ timeAggregationType: Ct.Start,
1008
1114
  trimIncompleteTimeInterval: !0,
1009
- nullPolicy: U.Null
1010
- } : delete s.temporalBinning);
1115
+ nullPolicy: X.Null
1116
+ } : delete t.temporalBinning);
1011
1117
  });
1012
1118
  }
1013
1119
  export {
1014
- Ts as $,
1015
- ui as A,
1016
- ni as B,
1017
- di as C,
1018
- yi as D,
1019
- H as E,
1020
- Rt as F,
1021
- bs as G,
1022
- Qs as H,
1023
- zs as I,
1024
- vs as J,
1025
- As as K,
1026
- Ls as L,
1027
- Is as M,
1028
- _s as N,
1029
- Gs as O,
1030
- Zs as P,
1031
- Js as Q,
1032
- si as R,
1033
- ii as S,
1034
- ai as T,
1035
- ri as U,
1036
- Fs as V,
1037
- hs as W,
1038
- Vs as X,
1039
- qs as Y,
1040
- ks as Z,
1041
- Ns as _,
1042
- gs as a,
1043
- xs as a0,
1044
- Cs as a1,
1045
- Bs as a2,
1046
- Ds as a3,
1047
- ws as a4,
1048
- Ps as a5,
1049
- Es as a6,
1050
- Os as a7,
1051
- Rs as a8,
1052
- Ms as a9,
1053
- Dt as aa,
1054
- $s as ab,
1055
- Ys as ac,
1056
- Ws as ad,
1057
- Xs as ae,
1058
- Hs as af,
1059
- js as ag,
1060
- ti as ah,
1061
- ei as ai,
1062
- Us as aj,
1063
- Ks as ak,
1064
- ds as b,
1065
- ys as c,
1066
- G as d,
1120
+ ss as $,
1121
+ Es as A,
1122
+ ws as B,
1123
+ Rs as C,
1124
+ Ms as D,
1125
+ Ys as E,
1126
+ Z as F,
1127
+ Pe as G,
1128
+ ii as H,
1129
+ es as I,
1130
+ Bs as J,
1131
+ Cs as K,
1132
+ si as L,
1133
+ ts as M,
1134
+ ai as N,
1135
+ is as O,
1136
+ bs as P,
1137
+ As as Q,
1138
+ vs as R,
1139
+ Is as S,
1140
+ Ds as T,
1141
+ Os as U,
1142
+ Vs as V,
1143
+ Kt as W,
1144
+ ks as X,
1145
+ Zi as Y,
1146
+ _i as Z,
1147
+ as as _,
1148
+ Hi as a,
1149
+ ns as a0,
1150
+ rs as a1,
1151
+ zi as a2,
1152
+ Qi as a3,
1153
+ Ji as a4,
1154
+ Gi as a5,
1155
+ cs as a6,
1156
+ us as a7,
1157
+ ds as a8,
1158
+ ys as a9,
1159
+ ls as aa,
1160
+ os as ab,
1161
+ ms as ac,
1162
+ ni as ad,
1163
+ gs as ae,
1164
+ ps as af,
1165
+ fs as ag,
1166
+ Ss as ah,
1167
+ Fs as ai,
1168
+ hs as aj,
1169
+ Ns as ak,
1170
+ Ls as al,
1171
+ Ts as am,
1172
+ xs as an,
1173
+ $i as b,
1174
+ Wi as c,
1175
+ U as d,
1067
1176
  _ as e,
1068
- Ss as f,
1069
- Ae as g,
1070
- oi as h,
1071
- ps as i,
1072
- is as j,
1073
- Bt as k,
1074
- ns as l,
1075
- as as m,
1076
- os as n,
1077
- rs as o,
1078
- fs as p,
1079
- us as q,
1080
- At as r,
1081
- Ct as s,
1082
- ls as t,
1083
- ms as u,
1084
- bt as v,
1085
- cs as w,
1086
- li as x,
1087
- ae as y,
1088
- ci as z
1177
+ Ki as f,
1178
+ oe as g,
1179
+ Ps as h,
1180
+ Ui as i,
1181
+ qi as j,
1182
+ Yt as k,
1183
+ Mt as l,
1184
+ Ei as m,
1185
+ Ri as n,
1186
+ Mi as o,
1187
+ ji as p,
1188
+ Pi as q,
1189
+ Zt as r,
1190
+ Re as s,
1191
+ Yi as t,
1192
+ Xi as u,
1193
+ wi as v,
1194
+ $t as w,
1195
+ Wt as x,
1196
+ qs as y,
1197
+ me as z
1089
1198
  };