@arcgis/charts-components 5.1.0-next.13 → 5.1.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 (639) hide show
  1. package/README.md +3 -3
  2. package/dist/cdn/2ANHVTDB.js +2 -0
  3. package/dist/cdn/2JUO3GP2.js +2 -0
  4. package/dist/cdn/333C7ANR.js +2 -0
  5. package/dist/cdn/3UPLSI2I.js +2 -0
  6. package/dist/cdn/43P4WOC4.js +2 -0
  7. package/dist/cdn/4OYLCQZP.js +2 -0
  8. package/dist/cdn/4W4GJGJF.js +2 -0
  9. package/dist/cdn/4XN3YXIY.js +3 -0
  10. package/dist/cdn/4ZKSXNLA.js +2 -0
  11. package/dist/cdn/5536LNO4.js +2 -0
  12. package/dist/cdn/5BJBLVOS.js +2 -0
  13. package/dist/cdn/5LS7OXWX.js +2 -0
  14. package/dist/cdn/5STC2DYW.js +2 -0
  15. package/dist/cdn/646RUZZA.js +2 -0
  16. package/dist/cdn/6I74A6LP.js +4 -0
  17. package/dist/cdn/6II7M26D.js +2 -0
  18. package/dist/cdn/6JI4NDJ6.js +2 -0
  19. package/dist/cdn/6XIOZCEO.js +2 -0
  20. package/dist/cdn/75Y43JLP.js +2 -0
  21. package/dist/cdn/777EBGS5.js +2 -0
  22. package/dist/cdn/7BDNLABD.js +2 -0
  23. package/dist/cdn/7CJ4KVIU.js +2 -0
  24. package/dist/cdn/7MKAC33Z.js +2 -0
  25. package/dist/cdn/7NE5QP6L.js +2 -0
  26. package/dist/cdn/A4BXXEHC.js +2 -0
  27. package/dist/cdn/A4O5PTH7.js +2 -0
  28. package/dist/cdn/A6JBWJ2C.js +2 -0
  29. package/dist/cdn/AVPB7VXW.js +2 -0
  30. package/dist/cdn/{VFP7AKUR.js → B7XYDLAU.js} +1 -1
  31. package/dist/cdn/BAERHHSS.js +2 -0
  32. package/dist/cdn/BAZ5VNZJ.js +2 -0
  33. package/dist/cdn/BI3NY4NC.js +2 -0
  34. package/dist/cdn/BXOAEW3W.js +2 -0
  35. package/dist/cdn/CHBPNEPP.js +2 -0
  36. package/dist/cdn/CS6SBRT6.js +2 -0
  37. package/dist/cdn/CU2ZHMWJ.js +2 -0
  38. package/dist/cdn/DF7CDB45.js +2 -0
  39. package/dist/cdn/DMOSWGRH.js +2 -0
  40. package/dist/cdn/DWSE2KQM.js +2 -0
  41. package/dist/cdn/E5GL5SQL.js +2 -0
  42. package/dist/cdn/E6ICXDNS.js +2 -0
  43. package/dist/cdn/EA6UV6SC.js +2 -0
  44. package/dist/cdn/F2466YWO.js +2 -0
  45. package/dist/cdn/FIMXZMTB.js +2 -0
  46. package/dist/cdn/FLFLBPKR.js +2 -0
  47. package/dist/cdn/FVTESU65.js +2 -0
  48. package/dist/cdn/G42X3FFH.js +2 -0
  49. package/dist/cdn/GDHDEZMK.js +2 -0
  50. package/dist/cdn/GKXCV2GM.js +2 -0
  51. package/dist/cdn/GPFUUN4S.js +2 -0
  52. package/dist/cdn/GZMD3CHM.js +2 -0
  53. package/dist/cdn/IUEJQSHN.js +2 -0
  54. package/dist/cdn/IWZGZMX6.js +2 -0
  55. package/dist/cdn/IYKORYCU.js +2 -0
  56. package/dist/cdn/JFJUDIL5.js +2 -0
  57. package/dist/cdn/JJZJQKJ7.js +2 -0
  58. package/dist/cdn/JQUEIPJM.js +2 -0
  59. package/dist/cdn/JUUAJRZL.js +2 -0
  60. package/dist/cdn/K5YLAY6S.js +2 -0
  61. package/dist/cdn/KFLV6UTY.js +2 -0
  62. package/dist/cdn/KG3HGCFM.js +3 -0
  63. package/dist/cdn/KGNYAMFB.js +2 -0
  64. package/dist/cdn/KQT7JVNY.js +2 -0
  65. package/dist/cdn/LYZ2BI6S.js +2 -0
  66. package/dist/cdn/LYZEJBJB.js +2 -0
  67. package/dist/cdn/{KZ37E2J3.js → LZNL4CV3.js} +7 -7
  68. package/dist/cdn/LZUBK4Y5.js +2 -0
  69. package/dist/cdn/M6YTZSLD.js +2 -0
  70. package/dist/cdn/MPSJO3NU.js +2 -0
  71. package/dist/cdn/MPZMZK5R.js +2 -0
  72. package/dist/cdn/MQ7MXVMT.js +2 -0
  73. package/dist/cdn/{FPDW4F45.js → MZ2UZAFW.js} +1 -1
  74. package/dist/cdn/N32IFIUI.js +2 -0
  75. package/dist/cdn/{SBHIJW76.js → NBJBPYA2.js} +1 -1
  76. package/dist/cdn/NM66MDET.js +2 -0
  77. package/dist/cdn/NPO4SDNK.js +2 -0
  78. package/dist/cdn/NQAPPISU.js +2 -0
  79. package/dist/cdn/OC4AGIFL.js +4 -0
  80. package/dist/cdn/OCXBOWOM.js +2 -0
  81. package/dist/cdn/OGMXTHXV.js +2 -0
  82. package/dist/cdn/OX67HV5F.js +2 -0
  83. package/dist/cdn/PCVQ32L2.js +2 -0
  84. package/dist/cdn/PMCBQWG5.js +2 -0
  85. package/dist/cdn/QQK3JRMK.js +2 -0
  86. package/dist/cdn/QRF67OZ6.js +2 -0
  87. package/dist/cdn/QUBBT3UI.js +2 -0
  88. package/dist/cdn/QVD6LHQ2.js +2 -0
  89. package/dist/cdn/R36FFLAK.js +2 -0
  90. package/dist/cdn/RMSBARGT.js +2 -0
  91. package/dist/cdn/SA7LTNBC.js +2 -0
  92. package/dist/cdn/SBS4J65N.js +2 -0
  93. package/dist/cdn/SEXKEROR.js +2 -0
  94. package/dist/cdn/SHL2WOKL.js +2 -0
  95. package/dist/cdn/SOBQNL3F.js +2 -0
  96. package/dist/cdn/SP7GTIB6.js +2 -0
  97. package/dist/cdn/{HAJ2VWEU.js → TJQGGNGV.js} +1 -1
  98. package/dist/cdn/TJXGZSYI.js +2 -0
  99. package/dist/cdn/TOO3T62Y.js +2 -0
  100. package/dist/cdn/{TLAROKSH.js → TWPDFIMS.js} +7 -7
  101. package/dist/cdn/U6UQNHOP.js +2 -0
  102. package/dist/cdn/U7L3L6IV.js +2 -0
  103. package/dist/cdn/UCOEISEJ.js +2 -0
  104. package/dist/cdn/UK2A3DRS.js +2 -0
  105. package/dist/cdn/UMIE7QTI.js +2 -0
  106. package/dist/cdn/UNP56UTH.js +2 -0
  107. package/dist/cdn/USBY2OTE.js +233 -0
  108. package/dist/cdn/V4ZIXNE7.js +2 -0
  109. package/dist/cdn/VAYTI47W.js +2 -0
  110. package/dist/cdn/VSMEGSAF.js +2 -0
  111. package/dist/cdn/WNBE3M6N.js +2 -0
  112. package/dist/cdn/WNPGSUOD.js +2 -0
  113. package/dist/cdn/X4KJPDSH.js +2 -0
  114. package/dist/cdn/XKKX3CII.js +102 -0
  115. package/dist/cdn/XLHC66GD.js +2 -0
  116. package/dist/cdn/XOB365BI.js +2 -0
  117. package/dist/cdn/XSLPAQG4.js +2 -0
  118. package/dist/cdn/XXOKUKRB.js +2 -0
  119. package/dist/cdn/XZS5J3VG.js +2 -0
  120. package/dist/cdn/{ZXIRDWJW.js → YAVQSNZ6.js} +1 -1
  121. package/dist/cdn/{7Y4VKXLD.js → YFWY6CRD.js} +1 -1
  122. package/dist/cdn/YKGXUFVU.js +2 -0
  123. package/dist/cdn/YPAU2LAJ.js +2 -0
  124. package/dist/cdn/Z2K2NPKK.js +58 -0
  125. package/dist/cdn/{6DSWJCEU.js → ZEORTNK3.js} +1 -1
  126. package/dist/cdn/ZFK5TSOH.js +2 -0
  127. package/dist/cdn/ZZ7NV5AS.js +2 -0
  128. package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.bs.json +1 -1
  129. package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.hr.json +1 -1
  130. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.ar.json +1 -1
  131. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.bg.json +1 -1
  132. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.bs.json +1 -1
  133. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.ca.json +1 -1
  134. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.cs.json +1 -1
  135. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.da.json +1 -1
  136. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.de.json +1 -1
  137. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.el.json +1 -1
  138. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.es.json +1 -1
  139. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.et.json +1 -1
  140. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.fi.json +1 -1
  141. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.fr.json +1 -1
  142. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.he.json +1 -1
  143. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.hr.json +1 -1
  144. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.hu.json +1 -1
  145. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.id.json +1 -1
  146. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.it.json +1 -1
  147. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.ja.json +1 -1
  148. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.ko.json +1 -1
  149. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.lt.json +1 -1
  150. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.lv.json +1 -1
  151. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.nl.json +1 -1
  152. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.no.json +1 -1
  153. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.pl.json +1 -1
  154. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.pt-BR.json +1 -1
  155. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.pt-PT.json +1 -1
  156. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.ro.json +1 -1
  157. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.ru.json +1 -1
  158. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.sk.json +1 -1
  159. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.sl.json +1 -1
  160. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.sr.json +1 -1
  161. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.sv.json +1 -1
  162. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.th.json +1 -1
  163. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.tr.json +1 -1
  164. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.uk.json +1 -1
  165. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.vi.json +1 -1
  166. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.zh-CN.json +1 -1
  167. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.zh-HK.json +1 -1
  168. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.zh-TW.json +1 -1
  169. package/dist/cdn/assets/charts-config-line-style/t9n/messages.ar.json +1 -1
  170. package/dist/cdn/assets/charts-config-line-style/t9n/messages.bg.json +1 -1
  171. package/dist/cdn/assets/charts-config-line-style/t9n/messages.bs.json +1 -1
  172. package/dist/cdn/assets/charts-config-line-style/t9n/messages.ca.json +1 -1
  173. package/dist/cdn/assets/charts-config-line-style/t9n/messages.cs.json +1 -1
  174. package/dist/cdn/assets/charts-config-line-style/t9n/messages.da.json +1 -1
  175. package/dist/cdn/assets/charts-config-line-style/t9n/messages.de.json +1 -1
  176. package/dist/cdn/assets/charts-config-line-style/t9n/messages.el.json +1 -1
  177. package/dist/cdn/assets/charts-config-line-style/t9n/messages.en.json +1 -1
  178. package/dist/cdn/assets/charts-config-line-style/t9n/messages.es.json +1 -1
  179. package/dist/cdn/assets/charts-config-line-style/t9n/messages.et.json +1 -1
  180. package/dist/cdn/assets/charts-config-line-style/t9n/messages.fi.json +1 -1
  181. package/dist/cdn/assets/charts-config-line-style/t9n/messages.fr.json +1 -1
  182. package/dist/cdn/assets/charts-config-line-style/t9n/messages.he.json +1 -1
  183. package/dist/cdn/assets/charts-config-line-style/t9n/messages.hr.json +1 -1
  184. package/dist/cdn/assets/charts-config-line-style/t9n/messages.hu.json +1 -1
  185. package/dist/cdn/assets/charts-config-line-style/t9n/messages.id.json +1 -1
  186. package/dist/cdn/assets/charts-config-line-style/t9n/messages.it.json +1 -1
  187. package/dist/cdn/assets/charts-config-line-style/t9n/messages.ja.json +1 -1
  188. package/dist/cdn/assets/charts-config-line-style/t9n/messages.ko.json +1 -1
  189. package/dist/cdn/assets/charts-config-line-style/t9n/messages.lt.json +1 -1
  190. package/dist/cdn/assets/charts-config-line-style/t9n/messages.lv.json +1 -1
  191. package/dist/cdn/assets/charts-config-line-style/t9n/messages.nl.json +1 -1
  192. package/dist/cdn/assets/charts-config-line-style/t9n/messages.no.json +1 -1
  193. package/dist/cdn/assets/charts-config-line-style/t9n/messages.pl.json +1 -1
  194. package/dist/cdn/assets/charts-config-line-style/t9n/messages.pt-BR.json +1 -1
  195. package/dist/cdn/assets/charts-config-line-style/t9n/messages.pt-PT.json +1 -1
  196. package/dist/cdn/assets/charts-config-line-style/t9n/messages.ro.json +1 -1
  197. package/dist/cdn/assets/charts-config-line-style/t9n/messages.ru.json +1 -1
  198. package/dist/cdn/assets/charts-config-line-style/t9n/messages.sk.json +1 -1
  199. package/dist/cdn/assets/charts-config-line-style/t9n/messages.sl.json +1 -1
  200. package/dist/cdn/assets/charts-config-line-style/t9n/messages.sr.json +1 -1
  201. package/dist/cdn/assets/charts-config-line-style/t9n/messages.sv.json +1 -1
  202. package/dist/cdn/assets/charts-config-line-style/t9n/messages.th.json +1 -1
  203. package/dist/cdn/assets/charts-config-line-style/t9n/messages.tr.json +1 -1
  204. package/dist/cdn/assets/charts-config-line-style/t9n/messages.uk.json +1 -1
  205. package/dist/cdn/assets/charts-config-line-style/t9n/messages.vi.json +1 -1
  206. package/dist/cdn/assets/charts-config-line-style/t9n/messages.zh-CN.json +1 -1
  207. package/dist/cdn/assets/charts-config-line-style/t9n/messages.zh-HK.json +1 -1
  208. package/dist/cdn/assets/charts-config-line-style/t9n/messages.zh-TW.json +1 -1
  209. package/dist/cdn/assets/charts-config-pie-chart-slices/t9n/messages.ja.json +1 -1
  210. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.ar.json +1 -1
  211. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.bg.json +1 -1
  212. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.bs.json +1 -1
  213. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.ca.json +1 -1
  214. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.cs.json +1 -1
  215. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.da.json +1 -1
  216. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.de.json +1 -1
  217. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.el.json +1 -1
  218. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.es.json +1 -1
  219. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.et.json +1 -1
  220. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.fi.json +1 -1
  221. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.fr.json +1 -1
  222. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.he.json +1 -1
  223. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.hr.json +1 -1
  224. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.hu.json +1 -1
  225. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.id.json +1 -1
  226. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.it.json +1 -1
  227. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.ja.json +1 -1
  228. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.ko.json +1 -1
  229. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.lt.json +1 -1
  230. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.lv.json +1 -1
  231. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.nl.json +1 -1
  232. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.no.json +1 -1
  233. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.pl.json +1 -1
  234. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.pt-BR.json +1 -1
  235. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.pt-PT.json +1 -1
  236. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.ro.json +1 -1
  237. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.ru.json +1 -1
  238. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.sk.json +1 -1
  239. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.sl.json +1 -1
  240. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.sr.json +1 -1
  241. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.sv.json +1 -1
  242. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.th.json +1 -1
  243. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.tr.json +1 -1
  244. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.uk.json +1 -1
  245. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.vi.json +1 -1
  246. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.zh-CN.json +1 -1
  247. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.zh-HK.json +1 -1
  248. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.zh-TW.json +1 -1
  249. package/dist/cdn/assets/common/t9n/messages.ar.json +1 -1
  250. package/dist/cdn/assets/common/t9n/messages.bg.json +1 -1
  251. package/dist/cdn/assets/common/t9n/messages.bs.json +1 -1
  252. package/dist/cdn/assets/common/t9n/messages.ca.json +1 -1
  253. package/dist/cdn/assets/common/t9n/messages.cs.json +1 -1
  254. package/dist/cdn/assets/common/t9n/messages.da.json +1 -1
  255. package/dist/cdn/assets/common/t9n/messages.de.json +1 -1
  256. package/dist/cdn/assets/common/t9n/messages.el.json +1 -1
  257. package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
  258. package/dist/cdn/assets/common/t9n/messages.es.json +1 -1
  259. package/dist/cdn/assets/common/t9n/messages.et.json +1 -1
  260. package/dist/cdn/assets/common/t9n/messages.fi.json +1 -1
  261. package/dist/cdn/assets/common/t9n/messages.fr.json +1 -1
  262. package/dist/cdn/assets/common/t9n/messages.he.json +1 -1
  263. package/dist/cdn/assets/common/t9n/messages.hr.json +1 -1
  264. package/dist/cdn/assets/common/t9n/messages.hu.json +1 -1
  265. package/dist/cdn/assets/common/t9n/messages.id.json +1 -1
  266. package/dist/cdn/assets/common/t9n/messages.it.json +1 -1
  267. package/dist/cdn/assets/common/t9n/messages.ja.json +1 -1
  268. package/dist/cdn/assets/common/t9n/messages.ko.json +1 -1
  269. package/dist/cdn/assets/common/t9n/messages.lt.json +1 -1
  270. package/dist/cdn/assets/common/t9n/messages.lv.json +1 -1
  271. package/dist/cdn/assets/common/t9n/messages.nl.json +1 -1
  272. package/dist/cdn/assets/common/t9n/messages.no.json +1 -1
  273. package/dist/cdn/assets/common/t9n/messages.pl.json +1 -1
  274. package/dist/cdn/assets/common/t9n/messages.pt-BR.json +1 -1
  275. package/dist/cdn/assets/common/t9n/messages.pt-PT.json +1 -1
  276. package/dist/cdn/assets/common/t9n/messages.ro.json +1 -1
  277. package/dist/cdn/assets/common/t9n/messages.ru.json +1 -1
  278. package/dist/cdn/assets/common/t9n/messages.sk.json +1 -1
  279. package/dist/cdn/assets/common/t9n/messages.sl.json +1 -1
  280. package/dist/cdn/assets/common/t9n/messages.sr.json +1 -1
  281. package/dist/cdn/assets/common/t9n/messages.sv.json +1 -1
  282. package/dist/cdn/assets/common/t9n/messages.th.json +1 -1
  283. package/dist/cdn/assets/common/t9n/messages.tr.json +1 -1
  284. package/dist/cdn/assets/common/t9n/messages.uk.json +1 -1
  285. package/dist/cdn/assets/common/t9n/messages.vi.json +1 -1
  286. package/dist/cdn/assets/common/t9n/messages.zh-CN.json +1 -1
  287. package/dist/cdn/assets/common/t9n/messages.zh-HK.json +1 -1
  288. package/dist/cdn/assets/common/t9n/messages.zh-TW.json +1 -1
  289. package/dist/cdn/index.js +1 -1
  290. package/dist/cdn/model/shared/setup-utils.js +2 -0
  291. package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +12 -0
  292. package/dist/chart-rendering/common/interfaces.d.ts +89 -27
  293. package/dist/chunks/axis-lines-symbol.js +15 -15
  294. package/dist/chunks/bar-chart-model.js +24 -44
  295. package/dist/chunks/bar-chart-series.js +10 -35
  296. package/dist/chunks/box-plot-data.js +195 -215
  297. package/dist/chunks/box-plot-model.js +124 -116
  298. package/dist/chunks/chart-model.js +231 -191
  299. package/dist/chunks/chart-object-literals.js +189 -0
  300. package/dist/chunks/chart-ui-utils.js +17 -16
  301. package/dist/chunks/chart-ui-utils2.js +92 -112
  302. package/dist/chunks/class-breaks.js +446 -147
  303. package/dist/chunks/combo-bar-line-chart-model.js +32 -23
  304. package/dist/chunks/common.js +2 -2
  305. package/dist/chunks/data-labels-symbol.js +1 -1
  306. package/dist/chunks/{model-with-tooltips.js → data-labels-visibility.js} +114 -147
  307. package/dist/chunks/data.js +72 -74
  308. package/dist/chunks/default.js +6 -7
  309. package/dist/chunks/gauge-model.js +232 -194
  310. package/dist/chunks/generate-x-axis-title.js +38 -60
  311. package/dist/chunks/heat-chart-model.js +220 -168
  312. package/dist/chunks/histogram-data.js +54 -73
  313. package/dist/chunks/histogram-model.js +31 -20
  314. package/dist/chunks/index.js +575 -19245
  315. package/dist/chunks/index2.js +8726 -601
  316. package/dist/chunks/index3.js +875 -161
  317. package/dist/chunks/index4.js +10832 -82
  318. package/dist/chunks/index5.js +100 -63
  319. package/dist/chunks/index6.js +63 -15
  320. package/dist/chunks/interfaces.js +31 -32
  321. package/dist/chunks/line-chart-model.js +25 -24
  322. package/dist/chunks/model-setter.js +44 -34
  323. package/dist/chunks/model-types.js +43 -0
  324. package/dist/chunks/model-with-x-guides.js +6 -6
  325. package/dist/chunks/model-with-y-guides.js +82 -104
  326. package/dist/chunks/negative-values-stacked-to-baseline.js +46 -70
  327. package/dist/chunks/pie-chart-data.js +90 -107
  328. package/dist/chunks/pie-chart-model.js +85 -96
  329. package/dist/chunks/radar-chart-model.js +36 -58
  330. package/dist/chunks/resource.js +8 -10
  331. package/dist/chunks/resources.js +15 -0
  332. package/dist/chunks/rest-js-object-literals.js +26 -25
  333. package/dist/chunks/rotated-state.js +31 -41
  334. package/dist/chunks/scatterplot-model.js +94 -111
  335. package/dist/chunks/serial-chart-data.js +825 -643
  336. package/dist/chunks/serial-chart-model.js +208 -206
  337. package/dist/chunks/series-length.js +25 -48
  338. package/dist/chunks/series-types.js +21 -196
  339. package/dist/chunks/series.js +9 -33
  340. package/dist/chunks/store.js +27 -18
  341. package/dist/chunks/time-zone.js +38 -0
  342. package/dist/chunks/type-guards.js +23 -128
  343. package/dist/chunks/type-guards2.js +104 -0
  344. package/dist/chunks/type-guards3.js +173 -0
  345. package/dist/chunks/utils.js +133 -147
  346. package/dist/chunks/utils2.js +34 -58
  347. package/dist/chunks/web-component-utils.js +663 -319
  348. package/dist/chunks/x-bounds.js +309 -0
  349. package/dist/components/arcgis-chart/customElement.d.ts +395 -127
  350. package/dist/components/arcgis-chart/customElement.js +17480 -17377
  351. package/dist/components/arcgis-charts-action-bar/customElement.d.ts +32 -0
  352. package/dist/components/arcgis-charts-action-bar/customElement.js +41 -48
  353. package/dist/components/arcgis-charts-config-axes/customElement.js +6 -6
  354. package/dist/components/arcgis-charts-config-axis/customElement.js +16 -17
  355. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +37 -59
  356. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +59 -69
  357. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +47 -63
  358. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +37 -59
  359. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +16 -39
  360. package/dist/components/arcgis-charts-config-box-plot/customElement.js +13 -35
  361. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +87 -106
  362. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +30 -49
  363. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +14 -36
  364. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +28 -50
  365. package/dist/components/arcgis-charts-config-category-format/customElement.js +4 -4
  366. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +17 -40
  367. package/dist/components/arcgis-charts-config-color-style/customElement.js +3 -3
  368. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  369. package/dist/components/arcgis-charts-config-create-flow/customElement.js +189 -200
  370. package/dist/components/arcgis-charts-config-font-style/customElement.js +36 -58
  371. package/dist/components/arcgis-charts-config-format/customElement.js +68 -90
  372. package/dist/components/arcgis-charts-config-format-popover/customElement.js +13 -40
  373. package/dist/components/arcgis-charts-config-general/customElement.js +30 -51
  374. package/dist/components/arcgis-charts-config-guide/customElement.js +40 -52
  375. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +20 -47
  376. package/dist/components/arcgis-charts-config-guides/customElement.js +5 -7
  377. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +10 -34
  378. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +24 -46
  379. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +166 -219
  380. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +52 -70
  381. package/dist/components/arcgis-charts-config-histogram/customElement.js +31 -53
  382. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +64 -82
  383. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +34 -53
  384. package/dist/components/arcgis-charts-config-line-chart/customElement.js +28 -50
  385. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +41 -59
  386. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +50 -68
  387. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +33 -56
  388. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +16 -39
  389. package/dist/components/arcgis-charts-config-line-style/customElement.js +18 -20
  390. package/dist/components/arcgis-charts-config-number-format/customElement.js +10 -10
  391. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +42 -64
  392. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +24 -44
  393. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +43 -62
  394. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +39 -61
  395. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +16 -39
  396. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +36 -57
  397. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +72 -90
  398. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +17 -38
  399. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +24 -42
  400. package/dist/components/arcgis-charts-config-view-charts/customElement.js +23 -46
  401. package/dist/components/arcgis-charts-info-modal/customElement.js +25 -53
  402. package/dist/docs/api.json +1 -1
  403. package/dist/docs/docs.json +1 -1
  404. package/dist/docs/vscode.html-custom-data.json +1 -1
  405. package/dist/docs/web-types.json +1 -1
  406. package/dist/index.d.ts +65 -3
  407. package/dist/index.js +476 -409
  408. package/dist/interfaces.d.ts +12 -1
  409. package/dist/json-schema/index.d.ts +4859 -4531
  410. package/dist/loader.js +15 -15
  411. package/dist/model/bar-chart-model/bar-chart-model.d.ts +4 -3
  412. package/dist/model/box-plot-model/box-plot-model.d.ts +31 -22
  413. package/dist/model/chart-model/chart-model-base.d.ts +2 -3
  414. package/dist/model/chart-model/chart-model.d.ts +2 -1
  415. package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +18 -11
  416. package/dist/model/gauge-model/gauge-model.d.ts +54 -15
  417. package/dist/model/heat-chart-model/heat-chart-model.d.ts +108 -38
  418. package/dist/model/histogram-model/histogram-model.d.ts +18 -4
  419. package/dist/model/interfaces/chart-interfaces.d.ts +9 -6
  420. package/dist/model/interfaces/common.d.ts +7 -3
  421. package/dist/model/line-chart-model/line-chart-model.d.ts +3 -4
  422. package/dist/model/mixins/model-with-guides.d.ts +11 -0
  423. package/dist/model/mixins/model-with-legend.d.ts +3 -15
  424. package/dist/model/mixins/model-with-temporal-binning.d.ts +7 -7
  425. package/dist/model/mixins/model-with-tooltips.d.ts +5 -5
  426. package/dist/model/pie-chart-model/pie-chart-legend-model.d.ts +6 -6
  427. package/dist/model/pie-chart-model/pie-chart-model.d.ts +19 -11
  428. package/dist/model/properties/axes/x-axis/max-x-bound.d.ts +5 -1
  429. package/dist/model/properties/axes/x-axis/min-x-bound.d.ts +5 -1
  430. package/dist/model/properties/axes/x-axis/x-axis-title-visibility.d.ts +2 -2
  431. package/dist/model/properties/axes/x-axis/x-bounds.d.ts +2 -3
  432. package/dist/model/properties/chart-renderer.d.ts +44 -1
  433. package/dist/model/properties/color-match.d.ts +0 -1
  434. package/dist/model/properties/data-filters.d.ts +1 -1
  435. package/dist/model/properties/data-labels/data-labels-visibility.d.ts +1 -4
  436. package/dist/model/properties/data-tooltip-font-size.d.ts +20 -0
  437. package/dist/model/properties/description/description-visibility.d.ts +0 -4
  438. package/dist/model/properties/layer.d.ts +2 -2
  439. package/dist/model/properties/rotated-state.d.ts +6 -0
  440. package/dist/model/properties/subtitle/subtitle-visibility.d.ts +0 -4
  441. package/dist/model/properties/time-zone.d.ts +7 -0
  442. package/dist/model/properties/title/title-visibility.d.ts +0 -4
  443. package/dist/model/radar-chart-model/radar-chart-model.d.ts +0 -1
  444. package/dist/model/scatterplot-model/scatterplot-model.d.ts +3 -4
  445. package/dist/model/serial-chart-model/serial-chart-model.d.ts +26 -29
  446. package/dist/model/shared/setup-utils.d.ts +18 -8
  447. package/dist/model/shared/setup-utils.js +80 -0
  448. package/dist/model/shared/type-guards.d.ts +8 -0
  449. package/dist/spec/chart-object-literals.d.ts +1 -0
  450. package/dist/spec/data-source.d.ts +14 -1
  451. package/dist/spec/rest-js-object-literals.d.ts +32 -19
  452. package/dist/spec/rest-js-types.d.ts +355 -83
  453. package/dist/spec/web-chart.d.ts +62 -7
  454. package/dist/types/lumina.d.ts +2 -3
  455. package/dist/types/preact.d.ts +2 -3
  456. package/dist/types/react.d.ts +2 -3
  457. package/dist/types/stencil.d.ts +2 -3
  458. package/dist/utils/chart-config/converter/index.d.ts +4 -3
  459. package/dist/utils/chart-config/converter/index.js +723 -0
  460. package/dist/utils/chart-config/utils/index.d.ts +82 -14
  461. package/dist/utils/chart-config/validator/index.d.ts +5 -2
  462. package/dist/utils/chart-config/validator/interfaces.d.ts +3 -1
  463. package/dist/utils/components/event-payloads.d.ts +3 -3
  464. package/dist/utils/components/themes.d.ts +8 -0
  465. package/dist/utils/components/watch-handlers.d.ts +14 -0
  466. package/dist/utils/data/categorical-data/index.d.ts +5 -2
  467. package/dist/utils/data/index.d.ts +127 -5
  468. package/dist/utils/data/interfaces.d.ts +2 -1
  469. package/dist/utils/data/pie-chart/index.d.ts +31 -0
  470. package/dist/utils/defaults/index.d.ts +45 -4
  471. package/dist/utils/defaults/interfaces.d.ts +3 -0
  472. package/dist/utils/errors/index.d.ts +1 -1
  473. package/dist/utils/errors/interfaces.d.ts +1 -0
  474. package/dist/utils/layer/index.d.ts +100 -51
  475. package/dist/utils/layer/inline-conversion/index.d.ts +4 -1
  476. package/dist/utils/layer/interfaces.d.ts +11 -46
  477. package/dist/utils/layer/query-features/index.d.ts +27 -6
  478. package/dist/utils/layer/query-features/interfaces.d.ts +1 -1
  479. package/dist/utils/layer/query-parser/index.d.ts +17 -11
  480. package/dist/utils/layer/utils/index.d.ts +114 -24
  481. package/dist/utils/localization/index.d.ts +3 -19
  482. package/dist/utils/localization/interfaces.d.ts +24 -0
  483. package/dist/utils/misc/index.d.ts +18 -3
  484. package/dist/utils/misc/interfaces.d.ts +2 -0
  485. package/dist/utils/type-guards/index.d.ts +11 -3
  486. package/dist/utils/ui/popover-ui-utils.d.ts +1 -1
  487. package/package.json +14 -13
  488. package/dist/cdn/2GBP6LGY.js +0 -2
  489. package/dist/cdn/2OGUU3CF.js +0 -2
  490. package/dist/cdn/3BNWRE6L.js +0 -2
  491. package/dist/cdn/3VO44B7D.js +0 -2
  492. package/dist/cdn/42CBESL3.js +0 -2
  493. package/dist/cdn/4HMKO62F.js +0 -2
  494. package/dist/cdn/4OFL4DZ6.js +0 -2
  495. package/dist/cdn/5I3OUQTR.js +0 -2
  496. package/dist/cdn/5VJHYLNY.js +0 -2
  497. package/dist/cdn/5ZACNPVJ.js +0 -2
  498. package/dist/cdn/6HU6FAC6.js +0 -2
  499. package/dist/cdn/6KBG6RP6.js +0 -2
  500. package/dist/cdn/6M6WBVYN.js +0 -4
  501. package/dist/cdn/6VF4IR4F.js +0 -2
  502. package/dist/cdn/6WQPKBUS.js +0 -2
  503. package/dist/cdn/6XWAXH7N.js +0 -2
  504. package/dist/cdn/765I3ZAW.js +0 -2
  505. package/dist/cdn/7674OZSU.js +0 -2
  506. package/dist/cdn/7WSRTSZZ.js +0 -2
  507. package/dist/cdn/AHQERXHV.js +0 -2
  508. package/dist/cdn/AUADM5NG.js +0 -2
  509. package/dist/cdn/B7QTRVCQ.js +0 -2
  510. package/dist/cdn/BGQU34UF.js +0 -2
  511. package/dist/cdn/BIXBHHBG.js +0 -2
  512. package/dist/cdn/BJPCRXMJ.js +0 -2
  513. package/dist/cdn/BT4LJVAF.js +0 -2
  514. package/dist/cdn/C2DPLSKQ.js +0 -99
  515. package/dist/cdn/CCJPPUD5.js +0 -2
  516. package/dist/cdn/CHFLNVTL.js +0 -4
  517. package/dist/cdn/D3UHKVZO.js +0 -2
  518. package/dist/cdn/DANH74KX.js +0 -2
  519. package/dist/cdn/DC3YXOWG.js +0 -2
  520. package/dist/cdn/DGTF5KBL.js +0 -2
  521. package/dist/cdn/DJ2JCF2Z.js +0 -2
  522. package/dist/cdn/DNUPG7VD.js +0 -2
  523. package/dist/cdn/EGVWQ5QI.js +0 -2
  524. package/dist/cdn/ETLJKITO.js +0 -2
  525. package/dist/cdn/EVWSDR7F.js +0 -2
  526. package/dist/cdn/EZERSYWI.js +0 -2
  527. package/dist/cdn/F6HBDWVT.js +0 -2
  528. package/dist/cdn/FAECWPBC.js +0 -2
  529. package/dist/cdn/FBAR5IQV.js +0 -2
  530. package/dist/cdn/FPBBWTJ7.js +0 -2
  531. package/dist/cdn/G4WF6WDJ.js +0 -2
  532. package/dist/cdn/GAT6YWBR.js +0 -2
  533. package/dist/cdn/GOAURRVY.js +0 -2
  534. package/dist/cdn/GSURW4J2.js +0 -2
  535. package/dist/cdn/GTKFDAG2.js +0 -2
  536. package/dist/cdn/HSGXKSXR.js +0 -2
  537. package/dist/cdn/HY3AHYRS.js +0 -2
  538. package/dist/cdn/I5POLUDA.js +0 -2
  539. package/dist/cdn/IL6RVDTN.js +0 -2
  540. package/dist/cdn/IRNA25SY.js +0 -2
  541. package/dist/cdn/IUCZUNSN.js +0 -2
  542. package/dist/cdn/J6B3ULGY.js +0 -2
  543. package/dist/cdn/JO7NKRXG.js +0 -2
  544. package/dist/cdn/JULC3HIR.js +0 -2
  545. package/dist/cdn/KXYJRENV.js +0 -2
  546. package/dist/cdn/KZ7WEJMS.js +0 -2
  547. package/dist/cdn/LYMI3DMY.js +0 -2
  548. package/dist/cdn/MBW3D76D.js +0 -2
  549. package/dist/cdn/MQRYPCTS.js +0 -56
  550. package/dist/cdn/OJVBOAAT.js +0 -2
  551. package/dist/cdn/OS66RJR7.js +0 -2
  552. package/dist/cdn/PEYLNVQV.js +0 -2
  553. package/dist/cdn/PG3CT7L3.js +0 -2
  554. package/dist/cdn/PVGRL7VZ.js +0 -2
  555. package/dist/cdn/PVXGKZVZ.js +0 -2
  556. package/dist/cdn/Q3HJ2HSW.js +0 -2
  557. package/dist/cdn/QF7PCBW5.js +0 -2
  558. package/dist/cdn/RAIAMGBU.js +0 -2
  559. package/dist/cdn/RKJSPRUA.js +0 -2
  560. package/dist/cdn/RSUXZY3D.js +0 -2
  561. package/dist/cdn/RUUYSZO3.js +0 -2
  562. package/dist/cdn/S2ISMBYM.js +0 -2
  563. package/dist/cdn/S67SLZ3A.js +0 -2
  564. package/dist/cdn/SPAXIJWK.js +0 -2
  565. package/dist/cdn/SQILD7Z2.js +0 -2
  566. package/dist/cdn/SV7MPF6L.js +0 -2
  567. package/dist/cdn/T644743R.js +0 -2
  568. package/dist/cdn/T7RVMAUJ.js +0 -2
  569. package/dist/cdn/TAL3BNJ3.js +0 -2
  570. package/dist/cdn/TH4EJL7K.js +0 -2
  571. package/dist/cdn/TLSTPQNA.js +0 -2
  572. package/dist/cdn/TPHTAB5C.js +0 -2
  573. package/dist/cdn/TX3KD6VF.js +0 -2
  574. package/dist/cdn/UPTOIOLY.js +0 -2
  575. package/dist/cdn/URGHTMWW.js +0 -2
  576. package/dist/cdn/VPTDXGKU.js +0 -2
  577. package/dist/cdn/VXQBM2SM.js +0 -2
  578. package/dist/cdn/W2YVO2P7.js +0 -2
  579. package/dist/cdn/WFBBPRYH.js +0 -2
  580. package/dist/cdn/XL7CBYJC.js +0 -2
  581. package/dist/cdn/XPXOMNMW.js +0 -2
  582. package/dist/cdn/XQ26L3RE.js +0 -4
  583. package/dist/cdn/Y3REH3BA.js +0 -2
  584. package/dist/cdn/Y3VACZBQ.js +0 -2
  585. package/dist/cdn/YDA7XMPU.js +0 -2
  586. package/dist/cdn/YFXR7ZYV.js +0 -2
  587. package/dist/cdn/YIKJG4UK.js +0 -2
  588. package/dist/cdn/YIKSQASL.js +0 -2
  589. package/dist/cdn/YUFKLXMQ.js +0 -2
  590. package/dist/cdn/ZC5R7PBX.js +0 -2
  591. package/dist/cdn/ZIE7F4JI.js +0 -2
  592. package/dist/cdn/ZO6DLOCP.js +0 -2
  593. package/dist/cdn/ZXLV67U3.js +0 -2
  594. package/dist/chunks/action-bar-utils.js +0 -173
  595. package/dist/chunks/bg_BG2.js +0 -10
  596. package/dist/chunks/model-with-guides.js +0 -318
  597. package/dist/chunks/setup-utils.js +0 -79
  598. package/dist/chunks/sk_SK.js +0 -10
  599. package/dist/model/index.d.ts +0 -18
  600. package/dist/model.js +0 -41
  601. package/dist/spec/index.d.ts +0 -8
  602. package/dist/utils/index.d.ts +0 -33
  603. /package/dist/cdn/{HMT3JTMG.js → 27Y4YBZ7.js} +0 -0
  604. /package/dist/cdn/{U4ISG3LR.js → 2W64WSBS.js} +0 -0
  605. /package/dist/cdn/{BR3ALHVA.js → 3S33OYZS.js} +0 -0
  606. /package/dist/cdn/{UEMWKNMI.js → 47SEEPGM.js} +0 -0
  607. /package/dist/cdn/{EWEIXVOU.js → 4CEOP4CL.js} +0 -0
  608. /package/dist/cdn/{CKWUM3SY.js → 4NXQY2SY.js} +0 -0
  609. /package/dist/cdn/{YULUAO7O.js → 4RZOR2GZ.js} +0 -0
  610. /package/dist/cdn/{ZC5365MX.js → 5S37PAVK.js} +0 -0
  611. /package/dist/cdn/{HKELFQPO.js → 5VCKTFEN.js} +0 -0
  612. /package/dist/cdn/{X5UHCHZM.js → 6SLYYVAM.js} +0 -0
  613. /package/dist/cdn/{A2WV46QM.js → 75WJAOD5.js} +0 -0
  614. /package/dist/cdn/{XK4EUXXR.js → 76OQVFII.js} +0 -0
  615. /package/dist/cdn/{GFVH7DHZ.js → 7GXB5ABV.js} +0 -0
  616. /package/dist/cdn/{7NOHRYD3.js → 7S4C7DMD.js} +0 -0
  617. /package/dist/cdn/{32O5MEYJ.js → A52S6LGL.js} +0 -0
  618. /package/dist/cdn/{FZASRZA2.js → BR7YHHRO.js} +0 -0
  619. /package/dist/cdn/{WH2TRB3A.js → D63ZM4I6.js} +0 -0
  620. /package/dist/cdn/{ID6N7QNG.js → DGYDZT63.js} +0 -0
  621. /package/dist/cdn/{PRD6ZJEL.js → DTU5F26A.js} +0 -0
  622. /package/dist/cdn/{KWJV56HI.js → FCE53PT5.js} +0 -0
  623. /package/dist/cdn/{4GKUGLVH.js → G626QVCR.js} +0 -0
  624. /package/dist/cdn/{62HEZAUJ.js → GBLD6EF5.js} +0 -0
  625. /package/dist/cdn/{3IHBY347.js → HM7TTHYN.js} +0 -0
  626. /package/dist/cdn/{Z7GUX5TP.js → JHXWK5HY.js} +0 -0
  627. /package/dist/cdn/{FFXMIDHG.js → LZTVRB5K.js} +0 -0
  628. /package/dist/cdn/{2M7DGPP4.js → N4ZIPC6C.js} +0 -0
  629. /package/dist/cdn/{43DSND6O.js → NF4ADSMI.js} +0 -0
  630. /package/dist/cdn/{SXJYUHC3.js → OPJ6LPA2.js} +0 -0
  631. /package/dist/cdn/{S5OM65RV.js → PDWS67CW.js} +0 -0
  632. /package/dist/cdn/{GCSXWMLO.js → QSAYNOYT.js} +0 -0
  633. /package/dist/cdn/{MVVZ33P6.js → SEV3K4MK.js} +0 -0
  634. /package/dist/cdn/{ZPBMAHUW.js → U6BD2QQW.js} +0 -0
  635. /package/dist/cdn/{PXMYYJVU.js → WXLU5XAQ.js} +0 -0
  636. /package/dist/cdn/{HKCUVPIO.js → XQL5X2VK.js} +0 -0
  637. /package/dist/cdn/{QWDNTO5I.js → Y4YDLI6O.js} +0 -0
  638. /package/dist/cdn/{2EGXIJ46.js → YIK7I32W.js} +0 -0
  639. /package/dist/cdn/{ZP7BWBOI.js → ZYBUK2GC.js} +0 -0
@@ -1,120 +1,174 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import { substitute as k } from "@arcgis/core/intl.js";
3
- import { cloneDeep as le, memoize as oe, isEmpty as xe } from "lodash-es";
4
- import "@arcgis/toolkit/type";
5
- import { w as Be, a as v, d as Ce, t as I, m as E, g as be, W as D, n as Ae, i as Q } from "./series-types.js";
6
- import { R as ue, f as ve } from "./rest-js-object-literals.js";
7
- import { V as Ie, cJ as Le, o as X, di as w, j as qe, cH as Ne, bN as Ve, bZ as we, ao as Oe, q, p as ke, dq as De, cD as Re, dr as te, ce as Me, ds as Pe, ca as Ee, k as de, _ as Y, c_ as O, dn as $e, dl as $, bM as j, bS as ce, bT as ye, bt as We, dk as G, l as Ue, b as W, bQ as Xe, b5 as Ye, b6 as je, b0 as Ke, b8 as He, bP as ie, aN as Qe, aM as se, aO as ze } from "./index.js";
8
- import "@arcgis/toolkit/intl";
9
- import "luxon";
10
- import "d3-array";
11
- import "@arcgis/core/geometry/support/jsonUtils.js";
12
- import "@arcgis/core/rest/support/AttributeBinsQuery.js";
13
- import "@arcgis/core/rest/support/StatisticDefinition.js";
14
- import "@arcgis/core/time/TimeExtent.js";
15
- import "@arcgis/core/core/promiseUtils.js";
16
- import "@arcgis/core/request.js";
17
- import "./runtime.js";
18
- import { h as ge, l as N, o as _e, p as Ge, j as C, k as b, m as ae } from "./index4.js";
19
- import "@arcgis/toolkit/dom";
20
- import { s as L, u as R, d as me, e as Je, f as Ze, g as pe, h as et, j as re } from "./utils.js";
21
- import { S as z } from "./common.js";
22
- import "@esri/arcgis-html-sanitizer";
23
- import { b as P, c as fe, g as J, e as ne, f as tt } from "./data.js";
24
- import { b as it, g as st } from "./series-length.js";
25
- import { g as Z } from "./utils2.js";
26
- import "@arcgis/core/Graphic.js";
27
- import "@arcgis/core/renderers/support/jsonUtils.js";
28
- import "@arcgis/core/symbols/support/symbolUtils.js";
29
- import "@arcgis/core/layers/support/FeatureFilter.js";
30
- import "@arcgis/core/smartMapping/statistics/histogram.js";
31
- import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
32
- import "simple-statistics";
33
- import "@arcgis/core/AttributeBinsGraphic.js";
34
- import { c as at } from "./index2.js";
35
- function ai(t, e) {
36
- let i;
37
- return e !== void 0 && (i = { ...e }, i.legend !== void 0 && (i.legend.position = t)), i;
2
+ import { substitute as P } from "@arcgis/core/intl.js";
3
+ import { cloneDeep as ae, isEmpty as Le, memoize as qe } from "lodash-es";
4
+ import { S as J } from "./common.js";
5
+ import { s as N, u as E, g as re, a as Fe, b as Ve, c as Ne, d as de } from "./utils.js";
6
+ import { w as R, bY as Re, bm as ke, x as Oe, Y as K, cq as De, cp as we, p as Pe, aH as le, c2 as Ee, d as Me, aG as Ye, I as $e, a7 as We, bk as Xe, W as He, e as Ue, bo as je, cY as Ke, v as Qe, d2 as ye, bM as ze, d3 as _e, bI as Ge, B as Ze, d0 as Je, an as X, a6 as Te, cR as ne, b9 as et, ba as oe, k as ee, bq as tt, bu as me, bb as U, bh as ge } from "./index2.js";
7
+ import { a as M, s as xe, g as Q, b as pe, c as st } from "./data.js";
8
+ import { u as v, r as L, k as it, n as V, m as j, p as at, t as rt, s as te } from "./chart-object-literals.js";
9
+ import { i as lt, R as nt } from "./rest-js-object-literals.js";
10
+ import { i as z } from "./index4.js";
11
+ import { az as ot, t as ut, Y as ct, a9 as dt, al as yt, x as mt, C as fe, H as Se, $ as gt } from "./index.js";
12
+ import { C as w, F as Y, d as D } from "./index3.js";
13
+ import { h as Be, i as O, j as pt, n as ft, g as b, m as A, e as he } from "./index5.js";
14
+ import { convertChartSpec as St } from "../utils/chart-config/converter/index.js";
15
+ import { c as se, e as ht } from "./type-guards.js";
16
+ import { g as Ce } from "./series-types.js";
17
+ import { g as ue } from "./utils2.js";
18
+ import { a as Ft, b as Tt } from "./series-length.js";
19
+ const ss = (t) => {
20
+ let e;
21
+ const s = t.series[0];
22
+ return R(s) && (e = s.temporalBinning?.size), e;
23
+ }, xt = (t) => {
24
+ let e;
25
+ const s = t.series[0];
26
+ return R(s) && (e = s.temporalBinning?.unit), e;
27
+ }, is = (t) => {
28
+ let e;
29
+ const s = t.series[0];
30
+ return R(s) && (e = s.temporalBinning?.timeAggregationType), e;
31
+ }, as = (t) => {
32
+ let e;
33
+ const s = t.series[0];
34
+ return R(s) && (e = s.temporalBinning?.trimIncompleteTimeInterval), e;
35
+ }, rs = (t) => {
36
+ let e;
37
+ const s = t.series[0];
38
+ return R(s) && (e = s.temporalBinning?.nullPolicy), e;
39
+ }, Bt = (t, e) => {
40
+ e?.series?.forEach((s) => {
41
+ R(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
+ }, Ct = (t, e) => {
44
+ e?.series?.forEach((s) => {
45
+ R(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
+ }, ls = (t, e) => {
48
+ e.series?.forEach((s) => {
49
+ R(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
+ }, ns = (t, e) => {
52
+ e.series?.forEach((s) => {
53
+ R(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
+ }, os = (t, e) => {
56
+ e.series?.forEach((s) => {
57
+ R(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
+ }, us = (t) => {
60
+ Bt(0, t);
61
+ };
62
+ function cs(t, e) {
63
+ let s;
64
+ return e !== void 0 && (s = { ...e }, s.legend !== void 0 && (s.legend.position = t)), s;
38
65
  }
39
- function ri(t, e) {
40
- let i;
41
- return e !== void 0 && (i = { ...e }, i.legend !== void 0 && (i.legend.visible = t)), i;
66
+ function ds(t, e) {
67
+ let s;
68
+ return e !== void 0 && (s = { ...e }, s.legend !== void 0 && (s.legend.visible = t)), s;
42
69
  }
43
- function ni(t, e) {
44
- let i;
45
- return e !== void 0 && (i = { ...e, rotated: t }), i;
70
+ function ys(t, e) {
71
+ let s;
72
+ return e !== void 0 && (s = { ...e, rotated: t }), s;
46
73
  }
47
- function rt(t) {
74
+ function bt(t) {
48
75
  let e;
49
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;
50
77
  }
51
- function li(t, e) {
52
- return e != null || ge(t);
78
+ function ms(t, e) {
79
+ return e != null || Be(t);
80
+ }
81
+ async function gs(t) {
82
+ const { config: e, layer: s, abortSignal: r } = t;
83
+ let a = !1;
84
+ return se(s) || ht(e) ? e && se(s) && (a = await ke({ config: e, layer: s, abortSignal: r })) : a = !0, a;
53
85
  }
54
- async function nt(t) {
55
- const { queryObject: e, chartConfig: i, options: r, splitByField: a } = t;
56
- let s = [], n;
57
- const l = le(i), o = l.series[0], u = we({
86
+ async function At(t) {
87
+ const {
58
88
  queryObject: e,
59
- chartConfig: l,
60
- runtimeDataFilters: r?.runtimeDataFilters,
61
- ignoreViewExtent: r?.ignoreViewExtent
89
+ chartConfig: s,
90
+ splitByField: r,
91
+ errorStrings: a,
92
+ abortSignal: i,
93
+ runtimeDataFilters: n,
94
+ ignoreViewExtent: o,
95
+ setTimeBinningInfoWhenNotProvided: c,
96
+ returnFeaturesExtent: m,
97
+ chartLimits: h
98
+ } = t;
99
+ let l = [], g;
100
+ const d = ae(s), y = d.series[0], u = Ue({
101
+ queryObject: e,
102
+ chartConfig: d,
103
+ runtimeDataFilters: n,
104
+ ignoreViewExtent: o
62
105
  });
63
- if (u.outStatistics?.[0]?.outStatisticFieldName && (u.outStatistics[0].outStatisticFieldName = Oe.outStatistics.outStatisticFieldName), q(o) && ke({
64
- xAxisValueFormatType: De(l),
65
- setTimeBinningInfoWhenNotProvided: r?.setTimeBinningInfoWhenNotProvided,
66
- seriesConfig: o
67
- }) && Re(e)) {
68
- const { temporalBinning: m, x: y } = o, { uniqueQuery: f } = await te({
69
- chartConfig: l,
106
+ if (u.outStatistics?.[0]?.outStatisticFieldName && (u.outStatistics[0].outStatisticFieldName = ot.outStatistics.outStatisticFieldName), R(y) && je({
107
+ xAxisValueFormatType: Ke(d),
108
+ setTimeBinningInfoWhenNotProvided: c,
109
+ seriesConfig: y,
110
+ queryObject: e
111
+ }) && Qe(r, e)) {
112
+ const { temporalBinning: f, x } = y, { uniqueQuery: C } = ye({
113
+ chartConfig: d,
70
114
  queryConfig: u,
71
115
  queryObject: e,
72
- options: r
73
- });
74
- n = await Me({
116
+ setTimeBinningInfoWhenNotProvided: c,
117
+ returnFeaturesExtent: m,
118
+ chartLimits: h
119
+ }), F = s.axes?.[0].valueFormat.type === v.DateAxisFormat ? s.axes[0].valueFormat.intlOptions.timeZone : void 0;
120
+ g = await ze({
75
121
  queryObject: e,
76
- dateField: y,
77
- splitByField: a,
78
- queryConfig: f,
79
- temporalBinning: m
80
- }), s = Array.from(
122
+ dateField: x,
123
+ splitByField: r,
124
+ queryConfig: C,
125
+ axisTimeZone: F,
126
+ temporalBinning: f,
127
+ errorStrings: a,
128
+ abortSignal: i
129
+ }), l = Array.from(
81
130
  new Set(
82
- n.flatMap((S) => {
83
- const { stackedAttributes: g } = S;
84
- let d = [];
85
- return g && (d = g.map((p) => p[a]).filter((p) => p !== void 0)), d;
131
+ g.flatMap((p) => {
132
+ const { stackedAttributes: k } = p;
133
+ let T = [];
134
+ return k && (T = k.map((S) => S[r]).filter((S) => S !== void 0)), T;
86
135
  })
87
136
  ).values()
88
137
  );
89
138
  } else {
90
- const { uniqueQuery: m } = await te({
91
- chartConfig: l,
139
+ const { uniqueQuery: f } = ye({
140
+ chartConfig: d,
92
141
  queryObject: e,
93
142
  queryConfig: u,
94
- options: r
95
- }), { elementCount: y } = await Pe({
96
- chartConfig: l,
143
+ setTimeBinningInfoWhenNotProvided: c,
144
+ returnFeaturesExtent: m,
145
+ chartLimits: h
146
+ }), { elementCount: x } = await _e({
147
+ chartConfig: d,
97
148
  queryObject: e,
98
149
  queryConfig: u,
99
- behaviorAfterLimit: r?.chartLimits?.behaviorAfterLimit,
100
- numberMaxOfFeaturesToFetch: m.num
150
+ behaviorAfterLimit: h?.behaviorAfterLimit,
151
+ numberMaxOfFeaturesToFetch: f.num,
152
+ abortSignal: i
101
153
  });
102
- n = await Ee({
154
+ g = await Ge({
103
155
  queryObject: e,
104
- queryConfig: m,
105
- featureCount: y
106
- }), s = Array.from(
156
+ queryConfig: f,
157
+ featureCount: x,
158
+ errorStrings: a,
159
+ abortSignal: i
160
+ }), l = Array.from(
107
161
  new Set(
108
- n.map((f) => f.attributes[a]).filter((f) => f !== void 0)
162
+ g.map((C) => C.attributes[r]).filter((C) => C !== void 0)
109
163
  ).values()
110
164
  );
111
165
  }
112
- return { allValues: s, preFetchedQueryResponse: n };
166
+ return { allValues: l, preFetchedQueryResponse: g };
113
167
  }
114
- function lt(t, e) {
115
- const i = /* @__PURE__ */ new Map();
168
+ function vt(t, e) {
169
+ const s = /* @__PURE__ */ new Map();
116
170
  return t.series.forEach((r) => {
117
- let a = de({
171
+ let a = le({
118
172
  where: r.query?.where,
119
173
  // normalize the value so it matches what we get from getAllValues()
120
174
  // Refer to https://devtopia.esri.com/WebGIS/arcgis-charts/issues/8127
@@ -124,765 +178,893 @@ function lt(t, e) {
124
178
  escape: !1
125
179
  });
126
180
  e && a !== null && (a = Number(a));
127
- const s = Be([r]);
128
- s !== void 0 && i.set(s, [
129
- ...i.get(s) ?? [],
181
+ const i = Ce([r]);
182
+ i !== void 0 && s.set(i, [
183
+ ...s.get(i) ?? [],
130
184
  a
131
185
  ]);
132
- }), i;
133
- }
134
- function ot(t) {
135
- const { allValues: e, configUniqueValuesPerSeriesType: i, initialConfigWasEmpty: r } = t, a = /* @__PURE__ */ new Map();
136
- return Array.from(i.keys()).forEach((s) => {
137
- const n = i.get(s) ?? [];
138
- let l = [];
139
- r ? l = e : e.forEach((o) => {
140
- n.includes(o) || l.push(o);
141
- }), a.set(s, l);
186
+ }), s;
187
+ }
188
+ function It(t) {
189
+ const { allValues: e, configUniqueValuesPerSeriesType: s, initialConfigWasEmpty: r } = t, a = /* @__PURE__ */ new Map();
190
+ return Array.from(s.keys()).forEach((i) => {
191
+ const n = s.get(i) ?? [];
192
+ let o = [];
193
+ r ? o = e : e.forEach((c) => {
194
+ n.includes(c) || o.push(c);
195
+ }), a.set(i, o);
142
196
  }), a;
143
197
  }
144
- function ut(t) {
145
- const { chartConfig: e, missingValue: i, splitByField: r, seriesTemplate: a } = t, s = JSON.parse(
198
+ function Lt(t) {
199
+ const { chartConfig: e, missingValue: s, splitByField: r, seriesTemplate: a } = t, i = JSON.parse(
146
200
  JSON.stringify({
147
201
  ...e.series[0],
148
202
  ...a
149
203
  })
150
204
  );
151
- if (s.query) {
152
- if (s.id = `${i}-${e.series.length}-${Date.now()}`, s.name = `${i}`, s.query.outStatistics?.[0] !== void 0) {
153
- const l = s.id;
154
- s.query.outStatistics[0].outStatisticFieldName = l, "y" in s && (s.y = l);
205
+ if (i.query) {
206
+ if (i.id = s === null ? Y.nullValue : `${s}`, i.name = `${s}`, i.query.outStatistics?.[0] !== void 0) {
207
+ const o = i.id;
208
+ i.query.outStatistics[0].outStatisticFieldName = o, "y" in i && (i.y = o);
155
209
  }
156
- const n = typeof i == "number" || i === null ? i : `'${i}'`;
157
- s.query.where = `${r}=${n}`;
210
+ const n = typeof s == "number" || s === null ? s : `'${s}'`;
211
+ i.query.where = `${r}=${n}`;
158
212
  }
159
- return s;
213
+ return i;
160
214
  }
161
- async function dt(t) {
162
- const { updateSplitBySeries: e, config: i, options: r, queryObject: a } = t, { seriesTemplate: s } = e ?? {};
163
- let n;
164
- if (e !== void 0 && i !== void 0 && (i.series.length > 0 || s !== void 0) && e.addMissingSeries) {
165
- const l = i.series.length === 0;
166
- i.series.length === 0 && s !== void 0 && i.series.push(s);
167
- const o = X(i.series);
168
- if ((o === w.BoxPlotMonoFieldAndSplitBy || o === w.BoxPlotMultiFieldsAndSplitBy || o === w.BoxPlotMonoFieldAndCategoryAndSplitBy || o === w.BarAndLineSplitBy || o === w.BarAndLineSplitByNoAggregation) && a !== void 0) {
169
- const u = qe(i.series[0]?.query?.where), m = Ne(a);
170
- await m.load();
171
- const y = m.getField(u)?.toJSON(), f = Ve(y), S = await nt({
172
- queryObject: a,
173
- chartConfig: i,
215
+ async function qt(t) {
216
+ const {
217
+ updateSplitBySeries: e,
218
+ config: s,
219
+ queryObject: r,
220
+ errorStrings: a,
221
+ abortSignal: i,
222
+ runtimeDataFilters: n,
223
+ ignoreViewExtent: o,
224
+ setTimeBinningInfoWhenNotProvided: c,
225
+ returnFeaturesExtent: m,
226
+ chartLimits: h
227
+ } = t, { seriesTemplate: l } = e ?? {};
228
+ let g;
229
+ if (r && !se(r) && e !== void 0 && s !== void 0 && (s.series.length > 0 || l !== void 0) && e.addMissingSeries) {
230
+ const d = s.series.length === 0;
231
+ s.series.length === 0 && l !== void 0 && s.series.push(l);
232
+ const y = K(s.series);
233
+ if (y === w.BoxPlotMonoFieldAndSplitBy || y === w.BoxPlotMultiFieldsAndSplitBy || y === w.BoxPlotMonoFieldAndCategoryAndSplitBy || y === w.BarAndLineSplitBy || y === w.BarAndLineSplitByNoAggregation) {
234
+ const u = Ye(s.series[0]?.query?.where), f = $e(r), x = We(u, f), C = x ? Xe(x) : !1, F = await At({
235
+ queryObject: r,
236
+ chartConfig: s,
174
237
  splitByField: u,
175
- options: r
176
- }), { allValues: g } = S;
177
- if ({ preFetchedQueryResponse: n } = S, g.length > 0) {
178
- const d = lt(i, f), p = ot({
179
- allValues: g,
180
- configUniqueValuesPerSeriesType: d,
181
- initialConfigWasEmpty: l
238
+ abortSignal: i,
239
+ runtimeDataFilters: n,
240
+ ignoreViewExtent: o,
241
+ setTimeBinningInfoWhenNotProvided: c,
242
+ returnFeaturesExtent: m,
243
+ chartLimits: h,
244
+ errorStrings: a
245
+ }), { allValues: p } = F;
246
+ if ({ preFetchedQueryResponse: g } = F, p.length > 0) {
247
+ const k = vt(s, C), T = It({
248
+ allValues: p,
249
+ configUniqueValuesPerSeriesType: k,
250
+ initialConfigWasEmpty: d
182
251
  });
183
- Array.from(p.keys()).forEach((T) => {
184
- (p.get(T) ?? []).forEach((c) => {
185
- i.series.push(
186
- ut({
187
- chartConfig: i,
188
- seriesTemplate: s,
189
- missingValue: c,
252
+ Array.from(T.keys()).forEach((S) => {
253
+ (T.get(S) ?? []).forEach((q) => {
254
+ s.series.push(
255
+ Lt({
256
+ chartConfig: s,
257
+ seriesTemplate: l,
258
+ missingValue: q,
190
259
  splitByField: u
191
260
  })
192
261
  );
193
- }), l && i.series.shift();
262
+ }), d && s.series.shift();
194
263
  });
195
264
  }
196
265
  }
197
266
  }
198
- return n;
267
+ return g;
199
268
  }
200
- function ct(t, e) {
201
- e && !ge(e) && (e = Le({ chartConfig: e, queryObject: t }));
269
+ function Vt(t, e) {
270
+ e && !Be(e) && (e = Me({ chartConfig: e, queryObject: t }));
202
271
  }
203
- async function oi(t) {
204
- const { configToAlter: e, layer: i, addMissingSeries: r, updateSplitBySeries: a, chartContainer: s, queryObject: n, options: l } = t;
205
- let o = e, u;
206
- return o && (ct(i, o), o = await at(o, i), r && (u = await dt({
272
+ async function ps(t) {
273
+ const {
274
+ configToAlter: e,
275
+ layer: s,
276
+ addMissingSeries: r,
277
+ updateSplitBySeries: a,
278
+ chartContainer: i,
279
+ queryObject: n,
280
+ abortSignal: o,
281
+ runtimeDataFilters: c,
282
+ ignoreViewExtent: m,
283
+ setTimeBinningInfoWhenNotProvided: h,
284
+ returnFeaturesExtent: l,
285
+ chartLimits: g,
286
+ errorStrings: d
287
+ } = t;
288
+ let y = e, u;
289
+ return y && (Vt(s, y), y = await St(y, s, void 0, o), r && n && (u = await qt({
207
290
  updateSplitBySeries: a,
208
- config: o,
209
- options: l,
210
- queryObject: n
211
- })), o = Ie(o, s)), { alteredConfig: o, preFetchedQueryResponse: u };
291
+ config: y,
292
+ queryObject: n,
293
+ errorStrings: d,
294
+ abortSignal: o,
295
+ runtimeDataFilters: c,
296
+ ignoreViewExtent: m,
297
+ setTimeBinningInfoWhenNotProvided: h,
298
+ returnFeaturesExtent: l,
299
+ chartLimits: g
300
+ })), y = Re(y, i)), { alteredConfig: y, preFetchedQueryResponse: u };
212
301
  }
213
- const ui = (t) => {
214
- let e;
215
- const i = t.series[0];
216
- return q(i) && (e = i.temporalBinning?.size), e;
217
- }, yt = (t) => {
218
- let e;
219
- const i = t.series[0];
220
- return q(i) && (e = i.temporalBinning?.unit), e;
221
- }, di = (t) => {
222
- let e;
223
- const i = t.series[0];
224
- return q(i) && (e = i.temporalBinning?.timeAggregationType), e;
225
- }, ci = (t) => {
226
- let e;
227
- const i = t.series[0];
228
- return q(i) && (e = i.temporalBinning?.trimIncompleteTimeInterval), e;
229
- }, yi = (t) => {
230
- let e;
231
- const i = t.series[0];
232
- return q(i) && (e = i.temporalBinning?.nullPolicy), e;
233
- }, gt = (t, e) => {
234
- e?.series?.forEach((i) => {
235
- q(i) && (i.temporalBinning ??= {}, i.temporalBinning.size = t);
236
- }), L({ config: e, value: null, axisIndex: 1, isMax: !1 }), L({ config: e, value: null, axisIndex: 1, isMax: !0 });
237
- }, mt = (t, e) => {
238
- e?.series?.forEach((i) => {
239
- q(i) && (i.temporalBinning ??= {}, i.temporalBinning.nullPolicy = t);
240
- }), L({ config: e, value: null, axisIndex: 1, isMax: !1 }), L({ config: e, value: null, axisIndex: 1, isMax: !0 });
241
- }, gi = (t, e) => {
242
- e.series?.forEach((i) => {
243
- q(i) && (i.temporalBinning ??= {}, i.temporalBinning.unit = t);
244
- }), L({ config: e, value: null, axisIndex: 1, isMax: !1 }), L({ config: e, value: null, axisIndex: 1, isMax: !0 });
245
- }, mi = (t, e) => {
246
- e.series?.forEach((i) => {
247
- q(i) && (i.temporalBinning ??= {}, i.temporalBinning.timeAggregationType = t);
248
- }), L({ config: e, value: null, axisIndex: 1, isMax: !1 }), L({ config: e, value: null, axisIndex: 1, isMax: !0 });
249
- }, pi = (t, e) => {
250
- e.series?.forEach((i) => {
251
- q(i) && (i.temporalBinning ??= {}, i.temporalBinning.trimIncompleteTimeInterval = t);
252
- }), L({ config: e, value: null, axisIndex: 1, isMax: !1 }), L({ config: e, value: null, axisIndex: 1, isMax: !0 });
253
- }, fi = (t) => {
254
- gt(0, t);
255
- }, Si = (t) => t.hideEmptyRowsAndColumns, Fi = (t, e) => {
302
+ function Nt(t, e) {
303
+ let s = !1;
304
+ if (e !== void 0) {
305
+ const r = He({ key: Ze.Average, splitBy: e });
306
+ s = Number.isFinite(t[r]);
307
+ }
308
+ return s;
309
+ }
310
+ function fs(t) {
311
+ const { data: e, config: s, showEmptySeries: r } = t, a = s.series.length, i = ae(s);
312
+ let n = !1;
313
+ if (!r && a > 1 && e) {
314
+ const o = Oe(e), c = Ce(s?.series), m = K(s?.series), h = /* @__PURE__ */ new Set();
315
+ switch (c) {
316
+ case v.ComboLineAndBarSeries:
317
+ case v.BarSeries:
318
+ case v.RadarSeries:
319
+ case v.LineSeries: {
320
+ i.series.forEach((g) => {
321
+ if (Array.isArray(o)) {
322
+ let d = "";
323
+ "y" in g && (d = Array.isArray(g.y) ? g.y[0] : g.y, m === w.BarAndLineSplitByNoAggregation && (d = `${d}_${le({ where: g.query?.where, keepSurroundingQuotes: !1, escape: !1 })}`), o.some(
324
+ (u) => Ee({
325
+ dataItem: u,
326
+ x: g.x,
327
+ y: d,
328
+ aggregationType: s.series[0].query?.outStatistics?.[0]?.statisticType
329
+ })
330
+ ) && h.add(g));
331
+ }
332
+ });
333
+ break;
334
+ }
335
+ case v.BoxPlotSeries: {
336
+ if (De(s)) {
337
+ const g = we(s);
338
+ s.series.forEach((d) => {
339
+ let y, u;
340
+ d.type === v.BoxPlotSeries ? (y = e.dataItems, u = y?.some(
341
+ (f) => Pe({
342
+ dataItem: f,
343
+ splitBy: d.query?.where,
344
+ showOutliers: g
345
+ })
346
+ )) : d.type === v.LineSeries && (y = e.meanLines, u = y?.some(
347
+ (f) => Nt(f, d.query?.where)
348
+ )), u && h.add(d);
349
+ });
350
+ }
351
+ break;
352
+ }
353
+ }
354
+ const l = Array.from(h.values());
355
+ n = l.length > 0 && l.length < a, n && (i.series = l);
356
+ }
357
+ return { seriesFilteredOut: n, filteredConfig: i };
358
+ }
359
+ const Ss = (t) => t.hideEmptyRowsAndColumns, hs = (t, e) => {
256
360
  t.hideEmptyRowsAndColumns = e;
257
- }, hi = (t, e) => {
258
- const i = t.series[0];
259
- i.heatRulesType = e;
260
- }, Ti = (t) => t.series[0].heatRulesType, xi = (t, e) => {
261
- const i = t.series[0];
262
- i.gradientRules = e;
263
- }, Bi = (t) => t.series[0].gradientRules, Ci = (t) => {
264
- const { yField: e, config: i, layerInfo: r } = t, { layerFieldsInfo: a } = r, s = Z(1, i), n = pt(i), l = Y(i), o = i.series[0];
265
- if (typeof e == "string" && n !== e && o && (o.y = e, rt(i), n === s || l)) {
266
- const u = O(a, e);
267
- R(i, 1, u);
361
+ }, Fs = (t, e) => {
362
+ const s = t.series[0];
363
+ s.heatRulesType = e;
364
+ }, Ts = (t) => t.series[0].heatRulesType, xs = (t, e) => {
365
+ const s = t.series[0];
366
+ s.gradientRules = e;
367
+ }, Bs = (t) => t.series[0].gradientRules, Cs = (t) => {
368
+ const { yField: e, config: s, layerInfo: r } = t, { layerFieldsInfo: a } = r, i = ue(1, s), n = Rt(s), o = z(s), c = s.series[0];
369
+ if (typeof e == "string" && n !== e && c && (c.y = e, bt(s), n === i || o)) {
370
+ const m = D(a, e);
371
+ E(s, 1, m);
268
372
  }
269
- }, pt = (t) => t.series[0].y ?? "", bi = (t) => {
270
- const { binning: e, config: i, commonStrings: r } = t, a = i.series[0];
373
+ }, Rt = (t) => t.series[0].y ?? "", bs = (t) => {
374
+ const { binning: e, config: s, commonStrings: r } = t, a = s.series[0];
271
375
  if (a.xTemporalBinning = e, e?.unit !== void 0 && e.unit in r.utilsStrings.heatChartCalendarDatePartsUnits) {
272
- const s = r.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
273
- R(i, 0, s);
376
+ const i = r.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
377
+ E(s, 0, i);
274
378
  }
275
- }, Ai = (t) => t.series[0].xTemporalBinning, vi = (t) => {
276
- const { binning: e, config: i, commonStrings: r } = t, a = i.series[0];
379
+ }, As = (t) => t.series[0].xTemporalBinning, vs = (t) => {
380
+ const { binning: e, config: s, commonStrings: r } = t, a = s.series[0];
277
381
  if (a.yTemporalBinning = e, e?.unit !== void 0 && e.unit in r.utilsStrings.heatChartCalendarDatePartsUnits) {
278
- const s = r.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
279
- R(i, 1, s);
382
+ const i = r.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
383
+ E(s, 1, i);
280
384
  }
281
- }, Ii = (t) => t.series[0].yTemporalBinning, ft = (t, e) => {
385
+ }, Is = (t) => t.series[0].yTemporalBinning, kt = (t, e) => {
282
386
  e.orderOptions ??= {};
283
- const i = e.axes?.[0]?.valueFormat?.type === "category" ? I.Category : I.YValue, r = _(e)[0], a = e.axes?.[1]?.valueFormat?.type === "category" ? I.Category : I.YValue, s = _(e)[1], n = {
387
+ const s = e.axes?.[0]?.valueFormat?.type === "category" ? V.Category : V.YValue, r = ie(e)[0], a = e.axes?.[1]?.valueFormat?.type === "category" ? V.Category : V.YValue, i = ie(e)[1], n = {
284
388
  ...e.orderOptions.data ?? {},
285
- orderType: I.MultiAxes
389
+ orderType: V.MultiAxes
286
390
  };
287
- r === z.customSort && i === I.Category && (n.orderByX = [...t]), s === z.customSort && a === I.Category && (n.orderByY = [...t]), Object.keys(n).length > 1 && (e.orderOptions.data = n);
288
- }, Li = (t, e) => {
289
- const i = e.series[0];
290
- i.gridLine && (i.gridLine.width = t);
291
- }, qi = (t) => t.series[0].gridLine?.width, Ni = (t, e) => {
292
- const i = e.series[0], r = t?.length === 4 && t.every((a) => typeof a == "number");
293
- i.gridLine && r && (i.gridLine.color = t);
294
- }, Vi = (t) => t.series[0].gridLine?.color, wi = (t, e) => {
295
- const i = e.legend;
296
- i && (i.position = t);
297
- }, Oi = (t) => t.legend?.position ?? Ce.Bottom, ki = (t) => t.series[0].query?.outStatistics?.[0]?.onStatisticField, Di = (t, e) => {
298
- const i = e.series[0].query?.outStatistics?.[0];
299
- i ? (i.onStatisticField = t, i.outStatisticFieldName = `${i.statisticType}_${t}`) : e.series[0].query = {
391
+ r === J.customSort && s === V.Category && (n.orderByX = [...t]), i === J.customSort && a === V.Category && (n.orderByY = [...t]), Object.keys(n).length > 1 && (e.orderOptions.data = n);
392
+ }, Ls = (t, e) => {
393
+ const s = e.series[0];
394
+ s.gridLine && (s.gridLine.width = t);
395
+ }, qs = (t) => t.series[0].gridLine?.width, Vs = (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
+ }, Ns = (t) => t.series[0].gridLine?.color, Rs = (t, e) => {
399
+ const s = e.legend;
400
+ s && (s.position = t);
401
+ }, ks = (t) => t.legend?.position ?? it.Bottom, Os = (t) => t.series[0].query?.outStatistics?.[0]?.onStatisticField, Ds = (t) => {
402
+ const { field: e, config: s, layerInfo: r, commonStrings: a } = t, i = s.series[0].query?.outStatistics?.[0], n = G(s, r, a);
403
+ i ? (i.onStatisticField = e, i.outStatisticFieldName = `${i.statisticType}_${e}`) : s.series[0].query = {
300
404
  outStatistics: [
301
405
  {
302
- onStatisticField: t,
303
- outStatisticFieldName: `${v.Count}_${t}`,
304
- statisticType: v.Count
406
+ onStatisticField: e,
407
+ outStatisticFieldName: `${L.Count}_${e}`,
408
+ statisticType: L.Count
305
409
  }
306
410
  ]
307
- };
308
- }, Ri = (t) => t.series[0].query?.outStatistics?.[0].statisticType ?? v.Count, Mi = (t, e) => {
309
- const i = e.series[0]?.query?.outStatistics?.[0];
310
- i && t !== v.NoAggregation && (i.statisticType = t, i.outStatisticFieldName = `${t}_${i.onStatisticField}`), (t === v.Count || t === v.Sum) && St(E.Zero, e);
311
- }, Pi = (t) => t.nullPolicy, St = (t, e) => {
411
+ }, n && s.title && (s.title.content.text = H(s, r, a));
412
+ }, ws = (t) => t.series[0].query?.outStatistics?.[0].statisticType ?? L.Count, Ps = (t) => {
413
+ const { aggregationType: e, config: s, layerInfo: r, commonStrings: a } = t, i = s.series[0]?.query?.outStatistics?.[0], n = G(s, r, a);
414
+ i && e !== L.NoAggregation && (i.statisticType = e, i.outStatisticFieldName = `${e}_${i.onStatisticField}`), (e === L.Count || e === L.Sum) && Ot(j.Zero, s), n && s.title && (s.title.content.text = H(s, r, a));
415
+ }, Es = (t) => t.nullPolicy, Ot = (t, e) => {
312
416
  e.nullPolicy = t;
313
- }, Ei = (t) => t.series[0].emptyCells, $i = (t, e) => {
417
+ }, Ms = (t) => t.series[0].emptyCells, Ys = (t, e) => {
314
418
  e.series[0].emptyCells = t;
315
- }, Wi = (t) => t.series[0].emptyCells?.text, Ui = (t, e) => {
419
+ }, $s = (t) => t.series[0].emptyCells?.text, Ws = (t, e) => {
316
420
  e.series[0].emptyCells ? e.series[0].emptyCells.text = t : e.series[0].emptyCells = { text: t };
317
- }, Xi = (t) => t.includeLeapDay, Yi = (t, e) => {
421
+ }, Xs = (t) => t.includeLeapDay, Hs = (t, e) => {
318
422
  e.includeLeapDay = t;
319
- }, ji = (t) => t.series[0].emptyCells?.symbol, Ki = (t, e) => {
423
+ }, Us = (t) => t.series[0].emptyCells?.symbol, js = (t, e) => {
320
424
  e.series[0].emptyCells ? e.series[0].emptyCells.symbol = t : e.series[0].emptyCells = { symbol: t };
321
425
  };
322
- function Hi(t) {
426
+ function Ks(t) {
323
427
  return t.viewType;
324
428
  }
325
- function Qi(t, e) {
326
- $e(e) || (e.viewType = t);
429
+ function Qs(t, e) {
430
+ Je(e) || (e.viewType = t);
327
431
  }
328
- function zi(t) {
329
- return t.series[0].classBreaksRules?.breaksCount ?? $.classBreaks.breaksCount;
432
+ function zs(t) {
433
+ return t.series[0].classBreaksRules?.breaksCount ?? Y.classBreaks.breaksCount;
330
434
  }
331
- function _i(t, e) {
332
- e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.breaksCount = t ?? $.classBreaks.breaksCount : e.series[0].classBreaksRules = {
333
- breaksCount: t ?? $.classBreaks.breaksCount
435
+ function _s(t, e) {
436
+ e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.breaksCount = t ?? Y.classBreaks.breaksCount : e.series[0].classBreaksRules = {
437
+ breaksCount: t ?? Y.classBreaks.breaksCount
334
438
  };
335
439
  }
336
- function Gi(t) {
440
+ function Gs(t) {
337
441
  return t.series[0].classBreaksRules?.classificationMethod;
338
442
  }
339
- function Ji(t, e) {
443
+ function Zs(t, e) {
340
444
  e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.classificationMethod = t : e.series[0].classBreaksRules = {
341
445
  classificationMethod: t
342
- }, e.series[0].classBreaksRules.breaksCount = e.series[0].classBreaksRules.breaksCount ?? $.classBreaks.breaksCount;
446
+ }, e.series[0].classBreaksRules.breaksCount = e.series[0].classBreaksRules.breaksCount ?? Y.classBreaks.breaksCount;
343
447
  }
344
- function Zi(t, e) {
448
+ function Js(t, e) {
345
449
  e.firstDayOfWeek = t;
346
450
  }
347
- function es(t) {
451
+ function ei(t) {
348
452
  return t.firstDayOfWeek;
349
453
  }
350
- function M(t) {
351
- const { seriesIndex: e, xAxisField: i, aggregationType: r, config: a, layerInfo: s, commonStrings: n } = t, l = j(s?.layer).idField;
352
- let o;
353
- const u = a.series[e ?? 0];
354
- let m = !1, y = !1, f = !1;
355
- if (u === void 0) {
356
- const d = a.series;
357
- m = d.slice(0, e).every((p) => C(p)), y = d.slice(0, e).every((p) => b(p)), f = d.slice(0, e).every((p) => ae(p));
454
+ function ti(t) {
455
+ return t.series[0].classBreaksRules?.colorRampInfo?.name;
456
+ }
457
+ function si(t, e) {
458
+ e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.colorRampInfo = {
459
+ ...e.series[0].classBreaksRules.colorRampInfo,
460
+ name: t
461
+ } : e.series[0].classBreaksRules = {
462
+ colorRampInfo: {
463
+ name: t,
464
+ flipped: !1
465
+ }
466
+ };
467
+ }
468
+ function ii(t) {
469
+ return t.series[0].classBreaksRules?.colorRampInfo?.flipped ?? !1;
470
+ }
471
+ function ai(t, e) {
472
+ e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.colorRampInfo = {
473
+ ...e.series[0].classBreaksRules.colorRampInfo,
474
+ flipped: t
475
+ } : e.series[0].classBreaksRules = {
476
+ colorRampInfo: {
477
+ flipped: t
478
+ }
479
+ };
480
+ }
481
+ function $(t) {
482
+ const { seriesIndex: e, xAxisField: s, aggregationType: r, config: a, layerInfo: i, commonStrings: n } = t, o = X(i?.layer).idField;
483
+ let c;
484
+ const m = a.series[e ?? 0];
485
+ let h = !1, l = !1, g = !1;
486
+ if (m === void 0) {
487
+ const u = a.series;
488
+ h = u.slice(0, e).every((f) => b(f)), l = u.slice(0, e).every((f) => A(f)), g = u.slice(0, e).every((f) => he(f));
358
489
  } else
359
- m = C(u), y = b(u), f = ae(u);
360
- m ? o = Ye({
490
+ h = b(m), l = A(m), g = he(m);
491
+ h ? c = ct({
361
492
  commonStrings: n,
362
493
  seriesIndex: e,
363
- objectIDField: l
364
- }) : y ? o = je({
494
+ objectIDField: o
495
+ }) : l ? c = dt({
365
496
  commonStrings: n,
366
497
  seriesIndex: e,
367
- objectIDField: l
368
- }) : f ? o = Ke(n, l) : o = He({
498
+ objectIDField: o
499
+ }) : g ? c = yt(n, o) : c = mt({
369
500
  seriesIndex: e,
370
- objectIDField: l,
501
+ objectIDField: o,
371
502
  commonStrings: n
372
503
  });
373
- const S = a.series[0]?.dataLabels, g = {
374
- ...o,
375
- x: i,
504
+ const d = a.series[0]?.dataLabels, y = {
505
+ ...c,
506
+ x: s,
376
507
  y: "",
377
508
  dataLabels: {
378
- ...o.dataLabels,
379
- type: o.dataLabels?.type ?? D.Text,
380
- content: { ...o.dataLabels?.content, ...S?.content, type: ve.TS },
381
- visible: S?.visible ?? !1
509
+ ...c.dataLabels,
510
+ type: c.dataLabels?.type ?? v.Text,
511
+ content: { ...c.dataLabels?.content, ...d?.content, type: lt.TS },
512
+ visible: d?.visible ?? !1
382
513
  }
383
514
  };
384
- if (g.query = {
385
- groupByFieldsForStatistics: [i]
386
- }, r !== v.NoAggregation && l !== void 0) {
387
- const d = `${r}_${l}_0`.toUpperCase();
388
- g.y = d, g.query.outStatistics = [
515
+ if (y.query = {
516
+ groupByFieldsForStatistics: [s]
517
+ }, r !== L.NoAggregation && o !== void 0) {
518
+ const u = `${r}_${o}_0`.toUpperCase();
519
+ y.y = u, y.query.outStatistics = [
389
520
  {
390
521
  statisticType: r,
391
- onStatisticField: l,
392
- outStatisticFieldName: d
522
+ onStatisticField: o,
523
+ outStatisticFieldName: u
393
524
  }
394
525
  ];
395
526
  }
396
- if (q(a.series[0]) && q(g)) {
397
- let d;
398
- if (a?.series?.[0] !== void 0 && (d = X(a.series)), d !== w.BarAndLineNoAggregation && d !== w.BarAndLineSplitByNoAggregation) {
399
- let p = yt(a);
400
- p === Q.Quarter && (p = Q.Month), g.temporalBinning = {
401
- ...a.series[0]?.temporalBinning,
402
- unit: p
403
- };
404
- }
527
+ if (R(a.series[0]) && R(y) && oe({ chartConfig: a })) {
528
+ let u = xt(a);
529
+ u === te.Quarter && (u = te.Month), y.temporalBinning = {
530
+ ...a.series[0]?.temporalBinning,
531
+ unit: u
532
+ };
405
533
  }
406
- return le(g);
534
+ return ae(y);
407
535
  }
408
- function Se(t, e, i) {
409
- const { layerFieldsInfo: r } = e, { idField: a, isTraditionalTypeOID: s } = j(e.layer), n = P(t), l = ee(t), o = he(t), u = U(t), m = s && (l.length === 0 || l.includes(a)), y = We(o, i), f = m ? "" : l.map((c) => O(r ?? [], c)).join(", "), S = O(r ?? [], n), g = O(r ?? [], u), d = t.series.some((c) => N(c)), p = d ? "category" : "xAxisField", T = S;
410
- let F = "";
411
- if (fe({
536
+ function H(t, e, s) {
537
+ const { layerFieldsInfo: r } = e, { idField: a, isTraditionalTypeOID: i } = X(e.layer), n = M(t), o = _(t), c = Ae(t), m = ce(t), h = i && (o.length === 0 || o.includes(a)), l = ut(c, s), g = h ? "" : o.map((F) => D(r ?? [], F)).join(", "), d = D(r ?? [], n), y = D(r ?? [], m), u = t.series.some((F) => O(F)), f = u ? "category" : "xAxisField", x = d;
538
+ let C = "";
539
+ if (xe({
412
540
  fieldName: n,
413
- numericFields: l,
541
+ numericFields: o,
414
542
  fieldList: r
415
543
  }))
416
- F = k(i.titleLabels.aggrTypeOfAggrFields, {
417
- aggregationType: y,
418
- aggregationFields: f
544
+ C = P(s.titleLabels.aggrTypeOfAggrFields, {
545
+ aggregationType: l,
546
+ aggregationFields: g
419
547
  });
420
- else if (o === v.NoAggregation) {
421
- const c = m ? a : f;
422
- if (u === "") {
423
- const h = d ? "aggrTypeCategory" : "aggrTypeXAxisField";
424
- F = k(i.titleLabels[h], {
425
- aggregationType: c,
426
- [p]: T
548
+ else if (c === L.NoAggregation) {
549
+ const F = h ? a : g;
550
+ if (m === "") {
551
+ const p = u ? "aggrTypeCategory" : "aggrTypeXAxisField";
552
+ C = P(s.titleLabels[p], {
553
+ aggregationType: F,
554
+ [f]: x
427
555
  });
428
556
  } else {
429
- const h = d ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
430
- F = k(i.titleLabels[h], {
431
- aggregationType: c,
432
- [p]: T,
433
- splitByField: g
557
+ const p = u ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
558
+ C = P(s.titleLabels[p], {
559
+ aggregationType: F,
560
+ [f]: x,
561
+ splitByField: y
434
562
  });
435
563
  }
436
- } else if (o === v.Count)
437
- if (u === "") {
438
- const c = d ? "aggrTypeCategory" : "aggrTypeXAxisField";
439
- F = k(i.titleLabels[c], {
440
- aggregationType: y,
441
- [p]: T
564
+ } else if (c === L.Count)
565
+ if (m === "") {
566
+ const F = u ? "aggrTypeCategory" : "aggrTypeXAxisField";
567
+ C = P(s.titleLabels[F], {
568
+ aggregationType: l,
569
+ [f]: x
442
570
  });
443
571
  } else {
444
- const c = d ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
445
- F = k(i.titleLabels[c], {
446
- aggregationType: y,
447
- [p]: T,
448
- splitByField: g
572
+ const F = u ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
573
+ C = P(s.titleLabels[F], {
574
+ aggregationType: l,
575
+ [f]: x,
576
+ splitByField: y
449
577
  });
450
578
  }
451
- else if (u !== "") {
452
- const c = d ? "aggrTypeOfAggrFieldByCategoryBySplitByField" : "aggrTypeOfAggrFieldByXAxisFieldBySplitByField";
453
- F = k(i.titleLabels[c], {
454
- aggregationType: y,
455
- aggregationField: f,
456
- [p]: T,
457
- splitByField: g
579
+ else if (m !== "") {
580
+ const F = u ? "aggrTypeOfAggrFieldByCategoryBySplitByField" : "aggrTypeOfAggrFieldByXAxisFieldBySplitByField";
581
+ C = P(s.titleLabels[F], {
582
+ aggregationType: l,
583
+ aggregationField: g,
584
+ [f]: x,
585
+ splitByField: y
458
586
  });
459
- } else if (l.length > 0) {
460
- const c = d ? "aggrTypeOfAggrFieldsByCategory" : "aggrTypeOfAggrFieldsByXAxisField";
461
- F = k(i.titleLabels[c], {
462
- aggregationType: y,
463
- aggregationFields: f,
464
- [p]: T
587
+ } else if (o.length > 0) {
588
+ const F = u ? "aggrTypeOfAggrFieldsByCategory" : "aggrTypeOfAggrFieldsByXAxisField";
589
+ C = P(s.titleLabels[F], {
590
+ aggregationType: l,
591
+ aggregationFields: g,
592
+ [f]: x
465
593
  });
466
594
  }
467
- return F;
595
+ return C;
468
596
  }
469
- const Fe = (t) => de({
597
+ const be = (t) => le({
470
598
  where: t.query?.where,
471
599
  normalize: !1,
472
600
  escape: !1
473
- }) ?? "", he = (t) => t?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? v.NoAggregation, U = oe(
601
+ }) ?? "", Ae = (t) => t?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? L.NoAggregation, ce = qe(
474
602
  (t) => {
475
603
  const e = t?.series?.[0]?.query?.where?.split("=")[0].trim() ?? "";
476
- return Ue(t?.series?.[0]?.query?.where) ? "" : e;
604
+ return et(t?.series?.[0]?.query?.where) ? "" : e;
477
605
  },
478
606
  (t) => t?.series?.[0]?.query?.where
479
- ), ee = oe(
480
- // without memoizing, the worst case efficiency is O(series.length), best case is O(1)
481
- // with memoizing, the worst case efficiency for repeated calls becomes O(1)
482
- (t) => {
483
- let e = [];
484
- if (U(t) === "")
485
- e = t?.series.map((i) => {
486
- const r = i.query?.outStatistics?.map((a) => a.onStatisticField) ?? [];
487
- return r?.length > 0 ? r : i.y;
488
- }).flat() ?? [];
489
- else {
490
- const i = t?.series?.[0], r = i?.query?.outStatistics?.[0]?.onStatisticField ?? [i?.y].flat()[0];
491
- e = r !== void 0 ? [r] : [];
492
- }
493
- return [...new Set(e.filter((i) => i !== ""))];
494
- },
495
- // using series array address as key, since a change to the numeric fields will always rebuild a fresh series array
496
- (t) => t?.series
497
- );
498
- function Ft(t) {
499
- const { numericFields: e, aggregationType: i, config: r, layerInfo: a } = t;
500
- let s = !1;
501
- i === v.Count ? s = !0 : i === v.NoAggregation && (s = e.every((o) => {
502
- const u = a.layerFieldsInfo.find((m) => m.name === o);
503
- return u !== void 0 ? ie(u) : !1;
504
- })), re(r, 1, s);
505
- const n = r.series.some((o) => C(o)), l = r.series.some((o) => b(o));
506
- if (n || l) {
507
- const o = P(r), u = a.layerFieldsInfo.find((y) => y.name === o), m = u !== void 0 && ie(u);
508
- re(r, 0, m);
607
+ ), _ = (t) => {
608
+ let e = [];
609
+ if (ce(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;
613
+ }).flat() ?? [];
614
+ else {
615
+ const s = t?.series?.[0], r = s?.query?.outStatistics?.[0]?.onStatisticField ?? [s?.y].flat()[0];
616
+ e = r !== void 0 ? [r] : [];
617
+ }
618
+ return e.filter((s) => s !== "");
619
+ };
620
+ function Dt(t) {
621
+ const { numericFields: e, aggregationType: s, config: r, layerInfo: a } = t;
622
+ let i = !1;
623
+ s === L.Count ? i = !0 : s === L.NoAggregation && (i = e.every((c) => {
624
+ const m = a.layerFieldsInfo.find((h) => h.name === c);
625
+ return m !== void 0 ? ge(m) : !1;
626
+ })), de(r, 1, i);
627
+ const n = r.series.some((c) => b(c)), o = r.series.some((c) => A(c));
628
+ if (n || o) {
629
+ const c = M(r), m = a.layerFieldsInfo.find((l) => l.name === c), h = m !== void 0 && ge(m);
630
+ de(r, 0, h);
509
631
  }
510
632
  }
511
- const _ = (t) => {
633
+ const ie = (t) => {
512
634
  let e;
513
- if (G(t)) {
514
- const i = t.orderOptions?.data?.orderByX ?? [""], r = t.orderOptions?.data?.orderByY ?? [""], a = t.axes?.[0]?.valueFormat?.type === "category" ? I.Category : I.YValue, s = t.axes?.[1]?.valueFormat?.type === "category" ? I.Category : I.YValue;
515
- e = [ne(i, a), ne(r, s)];
635
+ if (ne(t)) {
636
+ 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;
637
+ e = [pe(s, a), pe(r, i)];
516
638
  } else {
517
- const i = t.orderOptions?.data?.orderType ?? I.Category, r = t.orderOptions?.data && "orderBy" in t.orderOptions.data ? t.orderOptions.data.orderBy : be.Ascending;
518
- e = [tt(r, i)];
639
+ const s = t.orderOptions?.data?.orderType ?? V.Category, r = t.orderOptions?.data && "orderBy" in t.orderOptions.data ? t.orderOptions.data.orderBy : at.Ascending;
640
+ e = [st(r, s)];
519
641
  }
520
642
  return e;
521
643
  };
522
- function ht(t) {
523
- const { xAxisField: e, numericFields: i, aggregationType: r, config: a, layerInfo: s, commonStrings: n } = t, { layerFieldsInfo: l } = s;
524
- let o = !1;
525
- const u = M({
644
+ function wt(t) {
645
+ const { xAxisField: e, numericFields: s, aggregationType: r, config: a, layerInfo: i, commonStrings: n } = t, { layerFieldsInfo: o } = i;
646
+ let c = !1;
647
+ const m = $({
526
648
  config: a,
527
649
  xAxisField: e,
528
650
  aggregationType: r,
529
- layerInfo: s,
651
+ layerInfo: i,
530
652
  seriesIndex: 0,
531
653
  commonStrings: n
532
- }), m = J({
654
+ }), h = Q({
533
655
  config: a,
534
656
  xAxisField: e,
535
- numericFields: i,
657
+ numericFields: s,
536
658
  aggregationType: r,
537
- layer: s.layer,
538
- fieldList: l
539
- }).name, y = {
540
- ...u,
659
+ layer: i.layer,
660
+ fieldList: o
661
+ }).name, l = {
662
+ ...m,
541
663
  id: `series_${Date.now()}`,
542
664
  name: n.axisLabels.values,
543
- x: W,
544
- y: m
545
- }, f = [];
546
- for (const g of i)
547
- f.push({
548
- onStatisticField: g,
549
- outStatisticFieldName: `${g}_0`.toUpperCase(),
665
+ x: ee,
666
+ y: h
667
+ }, g = [];
668
+ for (const y of s)
669
+ g.push({
670
+ onStatisticField: y,
671
+ outStatisticFieldName: `${y}_0`.toUpperCase(),
550
672
  statisticType: r
551
673
  });
552
- y.query = { outStatistics: f };
553
- const S = a.series[0];
554
- return S !== void 0 && (y.id = S.id, a.colorMatch || (N(S) && N(y) ? y.fillSymbol = S.fillSymbol : (C(y) && C(S) || b(y) && b(S)) && (y.lineSymbol = S.lineSymbol, y.markerSymbol = S.markerSymbol), o = !0), y.id = S.id, S.name !== u.name && (y.name = S.name)), a.series.length === 1 && !a.colorMatch && (N(y) ? y.fillSymbol = a.series[0].fillSymbol : (C(y) || b(y)) && (y.lineSymbol = a.series[0].lineSymbol, y.markerSymbol = a.series[0].markerSymbol), o = !0), a.colorMatch = !o, [y];
555
- }
556
- function Te(t) {
557
- const { xAxisField: e, numericFields: i, aggregationType: r, config: a, layerInfo: s, commonStrings: n } = t, { layerFieldsInfo: l } = s, o = j(s.layer).idField, u = [];
558
- let m = !1;
559
- for (let d = 0; d < i.length; d += 1) {
560
- const p = M({
674
+ l.query = { outStatistics: g };
675
+ const d = a.series[0];
676
+ return d !== void 0 && (l.id = d.id, (b(l) && b(d) || A(l) && A(d)) && W(l, d), a.colorMatch || (O(d) && O(l) ? l.fillSymbol = d.fillSymbol : (b(l) && b(d) || A(l) && A(d)) && (l.lineSymbol = d.lineSymbol, l.markerSymbol = d.markerSymbol), c = !0), l.id = d.id, d.name !== m.name && (l.name = d.name)), a.series.length === 1 && ((b(l) || A(l)) && W(l, a.series[0]), a.colorMatch || (O(l) ? l.fillSymbol = a.series[0].fillSymbol : (b(l) || A(l)) && (l.lineSymbol = a.series[0].lineSymbol, l.markerSymbol = a.series[0].markerSymbol), c = !0)), a.colorMatch = !c, [l];
677
+ }
678
+ function ve(t) {
679
+ const { xAxisField: e, numericFields: s, aggregationType: r, config: a, layerInfo: i, commonStrings: n } = t, { layerFieldsInfo: o } = i, c = X(i.layer).idField, m = [];
680
+ let h = !1;
681
+ for (let u = 0; u < s.length; u += 1) {
682
+ const f = $({
561
683
  config: a,
562
684
  xAxisField: e,
563
685
  aggregationType: r,
564
- layerInfo: s,
565
- seriesIndex: d,
686
+ layerInfo: i,
687
+ seriesIndex: u,
566
688
  commonStrings: n
567
- }), T = J({
689
+ }), x = a.series[u]?.y, C = typeof x == "string" && x.trim() !== "" && !o.find((S) => S.name === x) ? x : Q({
568
690
  config: a,
569
691
  xAxisField: e,
570
- numericFields: i,
692
+ numericFields: s,
571
693
  aggregationType: r,
572
- layer: s.layer,
573
- numericFieldIndex: d,
574
- fieldList: l
575
- }).name, F = i[d];
576
- let c = {
577
- ...p,
694
+ layer: i.layer,
695
+ numericFieldIndex: u,
696
+ fieldList: o
697
+ }).name, F = s[u];
698
+ let p = {
699
+ ...f,
578
700
  query: {
579
- ...p.query
701
+ ...f.query
580
702
  }
581
703
  };
582
- i && F !== o && (c = {
583
- ...c,
704
+ s && F !== c && (p = {
705
+ ...p,
584
706
  id: F,
585
- name: O(l, F)
707
+ name: D(o, F)
586
708
  });
587
- let h = F;
588
- c.query !== void 0 && (r !== v.NoAggregation ? (h = T, c.query.outStatistics = [
709
+ let k = F;
710
+ p.query !== void 0 && (r !== L.NoAggregation ? (k = C, p.query.outStatistics = [
589
711
  {
590
- ...p.query?.outStatistics?.[0] ?? {},
712
+ ...f.query?.outStatistics?.[0] ?? {},
591
713
  onStatisticField: F,
592
- outStatisticFieldName: T,
714
+ outStatisticFieldName: C,
593
715
  statisticType: r
594
716
  }
595
- ]) : delete c.query.outStatistics), c.y = h;
596
- const B = a.series.find(
597
- (V) => V.query?.outStatistics?.[0]?.onStatisticField === F && V.query.where === void 0 || V.query?.outStatistics === void 0 && (V.y === F || V.x === F)
717
+ ]) : delete p.query.outStatistics), p.y = k;
718
+ const T = a.series.find(
719
+ (S) => S.query?.outStatistics?.[0]?.onStatisticField === F && S.query.where === void 0 || S.query?.outStatistics === void 0 && (S.y === F || S.x === F)
598
720
  );
599
- if (B !== void 0 && typeof B.y == "string" && B.y.trim() !== "") {
600
- a.colorMatch || (N(c) && N(B) ? c.fillSymbol = B.fillSymbol : (C(c) && C(B) || b(c) && b(B)) && (c.lineSymbol = B.lineSymbol, c.markerSymbol = B.markerSymbol), m = !0);
601
- const V = M({
721
+ if (T !== void 0 && typeof T.y == "string" && T.y.trim() !== "") {
722
+ (b(p) && b(T) || A(p) && A(T)) && W(p, T), a.colorMatch || (O(p) && O(T) ? p.fillSymbol = T.fillSymbol : (b(p) && b(T) || A(p) && A(T)) && (p.lineSymbol = T.lineSymbol, p.markerSymbol = T.markerSymbol), h = !0);
723
+ const S = $({
602
724
  config: a,
603
725
  xAxisField: e,
604
726
  aggregationType: r,
605
- layerInfo: s,
606
- seriesIndex: d,
727
+ layerInfo: i,
728
+ seriesIndex: u,
607
729
  commonStrings: n
608
730
  });
609
- c.id = B.id, B.id !== V.id && B.name !== V.name && (c.id = B.id, c.name = B.name), c.type === D.HeatSeries && B.type === D.HeatSeries && (c.y = B.y, c.heatRulesType = B.heatRulesType);
731
+ p.id = T.id, T.id !== S.id && T.name !== S.name && (p.id = T.id, p.name = T.name), p.assignToSecondValueAxis = T.assignToSecondValueAxis, p.type === v.HeatSeries && T.type === v.HeatSeries && (p.y = T.y, p.heatRulesType = T.heatRulesType);
610
732
  }
611
- u.push(c);
733
+ m.push(p);
612
734
  }
613
- const y = u.filter((d) => N(d)), f = u.filter(
614
- (d) => C(d) || b(d)
615
- ), S = a.series.filter((d) => N(d)), g = a.series.filter(
616
- (d) => C(d) || b(d)
735
+ const l = m.filter((u) => O(u)), g = m.filter(
736
+ (u) => b(u) || A(u)
737
+ ), d = a.series.filter((u) => O(u)), y = a.series.filter(
738
+ (u) => b(u) || A(u)
617
739
  );
618
- return S.length === 1 && y.length === 1 && !a.colorMatch && (N(S[0]) && N(y[0]) && (y[0].fillSymbol = S[0].fillSymbol), m = !0), g.length === 1 && f.length === 1 && !a.colorMatch && ((C(g[0]) && C(f[0]) || b(g[0]) && b(f[0])) && (f[0].lineSymbol = g[0].lineSymbol, f[0].markerSymbol = g[0].markerSymbol), m = !0), a.colorMatch = !m, u;
740
+ return d.length === 1 && l.length === 1 && !a.colorMatch && (O(d[0]) && O(l[0]) && (l[0].fillSymbol = d[0].fillSymbol), h = !0), y.length === 1 && g.length === 1 && ((b(y[0]) && b(g[0]) || A(y[0]) && A(g[0])) && W(g[0], y[0]), a.colorMatch || ((b(y[0]) && b(g[0]) || A(y[0]) && A(g[0])) && (g[0].lineSymbol = y[0].lineSymbol, g[0].markerSymbol = y[0].markerSymbol), h = !0)), a.colorMatch = !h, m;
619
741
  }
620
- async function Tt(t) {
621
- const { splitByField: e, xAxisField: i, numericFields: r, aggregationType: a, config: s, layerInfo: n, commonStrings: l } = t, { layer: o, layerFieldsInfo: u } = n, { fetchNullValues: m } = s?.series?.[0]?.query ?? {}, y = i !== W ? i : void 0, { categoriesArray: f, splitByFieldType: S, numericalField: g } = await et({
622
- config: s,
623
- layer: o,
624
- layerFieldsInfo: u,
625
- xAxisField: y,
626
- aggregationFields: r,
742
+ function ri(t) {
743
+ const { aggregationType: e, config: s, layerInfo: r, commonStrings: a } = t, { layerFieldsInfo: i, layer: n } = r, o = M(s), c = _(s), m = G(s, r, a), h = Ie(s, r, a);
744
+ if (s.series.forEach((l, g) => {
745
+ const d = Q({
746
+ config: s,
747
+ xAxisField: o,
748
+ numericFields: c,
749
+ aggregationType: e,
750
+ layer: n,
751
+ seriesIndex: g,
752
+ numericFieldIndex: g,
753
+ fieldList: i
754
+ }).name;
755
+ e !== L.NoAggregation ? (l.y = d, l.query = {
756
+ ...l.query,
757
+ outStatistics: [
758
+ {
759
+ ...l.query?.outStatistics?.[0],
760
+ outStatisticFieldName: d,
761
+ statisticType: e,
762
+ onStatisticField: l.query?.outStatistics?.[0]?.onStatisticField ?? c[g]
763
+ }
764
+ ]
765
+ }) : (delete l.query?.outStatistics, l.y = c[g], !oe({ chartConfig: s }) && l.type === v.LineSeries && l.temporalBinning !== void 0 && delete l.temporalBinning);
766
+ }), m && s.title && (s.title.content.text = H(s, r, a)), h && s.series[0].type !== v.HeatSeries) {
767
+ const l = re({
768
+ config: s,
769
+ layerInfo: r,
770
+ commonStrings: a,
771
+ numericFields: c,
772
+ aggregationType: e
773
+ });
774
+ E(s, 1, l);
775
+ }
776
+ }
777
+ function Pt(t) {
778
+ const {
627
779
  splitByField: e,
628
- fetchNullValues: m
629
- });
630
- let d = [], p = !1;
631
- if (f.length === 0) {
632
- d = Te({
633
- xAxisField: i,
780
+ xAxisField: s,
781
+ numericFields: r,
782
+ aggregationType: a,
783
+ config: i,
784
+ layerInfo: n,
785
+ commonStrings: o,
786
+ splitByFieldInfos: c
787
+ } = t, { layer: m, layerFieldsInfo: h } = n, { categoriesArray: l, splitByFieldType: g } = c, d = r.length === 0 ? X(m).idField : r[0];
788
+ let y = [], u = !1;
789
+ if (l.length === 0) {
790
+ y = ve({
791
+ xAxisField: s,
634
792
  numericFields: r,
635
793
  aggregationType: a,
636
- config: s,
794
+ config: i,
637
795
  layerInfo: n,
638
- commonStrings: l
796
+ commonStrings: o
639
797
  });
640
- for (const T of d)
641
- T.query && (T.query.where = `${e}=''`);
798
+ for (const f of y)
799
+ f.query && (f.query.where = `${e}=''`);
642
800
  } else
643
- for (let T = 0; T < f.length; T += 1) {
644
- const F = f[T], c = J({
645
- config: s,
646
- xAxisField: i,
801
+ for (let f = 0; f < l.length; f += 1) {
802
+ const x = l[f], C = Q({
803
+ config: i,
804
+ xAxisField: s,
647
805
  numericFields: r,
648
806
  aggregationType: a,
649
807
  layer: n.layer,
650
- seriesIndex: T,
808
+ seriesIndex: f,
651
809
  splitByField: e,
652
- fieldList: u
653
- }).name, h = M({
654
- config: s,
655
- xAxisField: i,
810
+ fieldList: h
811
+ }).name, F = $({
812
+ config: i,
813
+ xAxisField: s,
656
814
  aggregationType: a,
657
815
  layerInfo: n,
658
- seriesIndex: T,
659
- commonStrings: l
660
- }), B = {
816
+ seriesIndex: f,
817
+ commonStrings: o
818
+ }), p = Te({
819
+ queryObject: n.layer,
661
820
  fieldName: e,
662
- fieldValueToMatch: F ?? "",
663
- subtypeInfo: ce(n.layer),
664
- fieldList: n.layerFieldsInfo
665
- }, V = ye(B), K = `${F}`, x = {
666
- ...h,
667
- id: K,
668
- name: V ?? K,
669
- y: c,
821
+ fieldValue: x ?? ""
822
+ }), k = `${x}`, S = {
823
+ ...F,
824
+ id: k,
825
+ name: p ?? k,
826
+ y: C,
670
827
  query: {
671
- ...h.query,
672
- where: `${e}=${S === ue.String && F !== null ? `'${F}'` : F}`,
673
- outStatistics: a !== v.NoAggregation ? [
828
+ ...F.query,
829
+ where: `${e}=${g === nt.String && x !== null ? `'${x}'` : x}`,
830
+ outStatistics: a !== L.NoAggregation ? [
674
831
  {
675
- ...h.query?.outStatistics?.[0] ?? {},
676
- onStatisticField: g,
677
- outStatisticFieldName: c,
832
+ ...F.query?.outStatistics?.[0] ?? {},
833
+ onStatisticField: d,
834
+ outStatisticFieldName: C,
678
835
  statisticType: a
679
836
  }
680
837
  ] : void 0
681
838
  }
682
839
  };
683
- a === v.NoAggregation && (x.query !== void 0 && (delete x.query.outStatistics, delete x.query.groupByFieldsForStatistics), x.y = g);
684
- const A = s.series.find(
685
- (H) => String(Fe(H)).trim().replace(/'/gu, "") === K
840
+ a === L.NoAggregation && (S.query !== void 0 && (delete S.query.outStatistics, delete S.query.groupByFieldsForStatistics), S.y = d);
841
+ const I = i.series.find(
842
+ (q) => String(be(q)).trim().replace(/'/gu, "") === k
686
843
  );
687
- A !== void 0 && (s.colorMatch || (N(x) && N(A) ? x.fillSymbol = A.fillSymbol : (C(x) && C(A) || b(x) && b(A)) && (x.lineSymbol = A.lineSymbol, x.markerSymbol = A.markerSymbol), p = !0), (C(x) && C(A) || b(x) && b(A)) && (x.lineSmoothed = A.lineSmoothed), (C(x) && C(A) || b(x) && b(A)) && (x.showArea = A.showArea), x.id = A.id, x.name = A.name), x.query && (x.query.fetchNullValues = s.series.some((H) => H.query?.fetchNullValues)), d.push(x);
844
+ 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)), y.push(S);
688
845
  }
689
- return s.colorMatch = !p, d;
690
- }
691
- const ts = async (t) => {
692
- const { xAxisField: e, splitByField: i, numericFields: r, aggregationType: a, config: s, layerInfo: n, commonStrings: l } = t, { layerFieldsInfo: o } = n ?? {}, u = it(s), m = P(s), y = xt(s, n, l), f = Bt(s, n, l), S = Ct(s, n);
693
- let g = me(s);
694
- const d = s.series.some((h) => N(h)), p = _e(s.series), T = Ge(s.series), F = G(s), c = {};
695
- if (F && (c.classBreaksRules = s.series[0]?.classBreaksRules, c.xTemporalBinning = s.series[0]?.xTemporalBinning, c.yTemporalBinning = s.series[0]?.yTemporalBinning), o !== void 0) {
696
- const h = Xe(o);
697
- !h.includes(m) && h.includes(e) ? g = Qe() : h.includes(m) && !h.includes(e) && (d ? g = se() : g = ze()), o.find((V) => V.name === e)?.type === ue.String && (g = se()), g !== void 0 && Ze(s, l, g);
698
- }
699
- if (u === 0 && (s.series = [
700
- M({ config: s, xAxisField: e, aggregationType: a, layerInfo: n, commonStrings: l })
701
- ]), s.series.forEach((h) => {
702
- h.x = e, h.query !== void 0 && (h.query.groupByFieldsForStatistics = [e]);
703
- }), i === "" || r.length > 1 ? fe({
846
+ return i.colorMatch = !u, y;
847
+ }
848
+ const li = (t) => {
849
+ const {
850
+ xAxisFieldName: e,
851
+ splitByField: s,
852
+ numericFields: r,
853
+ aggregationType: a,
854
+ config: i,
855
+ layerInfo: n,
856
+ commonStrings: o,
857
+ splitByFieldInfos: c
858
+ } = t, { layerFieldsInfo: m } = n ?? {}, h = Ft(i), l = M(i), g = m.find((B) => B.name === l), d = i.series[0].query?.fetchNullValues, y = "nullCategory" in i.series?.[0] ? i.series[0].nullCategory : void 0, u = i.series[0]?.query === void 0, f = m.find((B) => B.name === e), x = G(i, n, o), C = Ie(i, n, o), F = Et(i, n);
859
+ let p = Fe(i);
860
+ const k = i.series.some((B) => O(B)), T = pt(i.series), S = ft(i.series), I = ne(i), q = {};
861
+ 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);
862
+ let Z = !1;
863
+ if (tt(f) ? p = fe() : !me(g) && me(f) ? p = Se() : !U(g) && U(f) ? (p = Se(), Z = !0) : U(g) && !U(f) && (k ? p = fe() : p = gt(), Z = !0), p !== void 0 && Ne(i, o, p), h === 0 && (i.series = [
864
+ $({ config: i, xAxisField: e, aggregationType: a, layerInfo: n, commonStrings: o })
865
+ ]), i.series.forEach((B) => {
866
+ B.x = e, B.query !== void 0 && (B.query.groupByFieldsForStatistics = [e]);
867
+ }), s === "" || r.length > 1 ? xe({
704
868
  fieldName: e,
705
869
  numericFields: r,
706
- fieldList: o
707
- }) ? s.series = ht({
708
- config: s,
870
+ fieldList: m
871
+ }) ? i.series = wt({
872
+ config: i,
709
873
  layerInfo: n,
710
874
  xAxisField: e,
711
875
  numericFields: r,
712
876
  aggregationType: a,
713
- commonStrings: l
714
- }) : s.series = Te({
715
- config: s,
877
+ commonStrings: o
878
+ }) : i.series = ve({
879
+ config: i,
716
880
  layerInfo: n,
717
881
  xAxisField: e,
718
882
  numericFields: r,
719
883
  aggregationType: a,
720
- commonStrings: l
721
- }) : (await Promise.resolve(), s.series = await Tt({
722
- config: s,
884
+ commonStrings: o
885
+ }) : c && (i.series = Pt({
886
+ config: i,
723
887
  layerInfo: n,
724
- splitByField: i,
888
+ splitByField: s,
725
889
  xAxisField: e,
726
890
  numericFields: r,
727
891
  aggregationType: a,
728
- commonStrings: l
729
- })), S) {
730
- const h = O(o, e);
731
- R(s, 0, h);
892
+ commonStrings: o,
893
+ splitByFieldInfos: c
894
+ })), F && i.series[0].type !== v.HeatSeries) {
895
+ const B = D(m, e);
896
+ E(i, 0, B);
732
897
  }
733
- if (f) {
734
- const h = pe({
735
- config: s,
898
+ if (C && i.series[0].type !== v.HeatSeries) {
899
+ const B = re({
900
+ config: i,
736
901
  layerInfo: n,
737
- commonStrings: l,
902
+ commonStrings: o,
738
903
  numericFields: r,
739
904
  aggregationType: a
740
905
  });
741
- R(s, 1, h);
906
+ E(i, 1, B);
742
907
  }
743
- if (s.title && y && (s.title.content.text = Se(s, n, l)), L({ config: s, value: null, axisIndex: 1, isMax: !1 }), L({ config: s, value: null, axisIndex: 1, isMax: !0 }), Ft({ numericFields: r, aggregationType: a, config: s, layerInfo: n }), p || T) {
744
- L({ config: s, value: null, axisIndex: 0, isMax: !1 }), L({ config: s, value: null, axisIndex: 0, isMax: !0 });
745
- const h = g?.type === D.DateAxisFormat ? E.Null : E.Interpolate;
746
- mt(h, s);
908
+ if (x && i.title && (i.title.content.text = H(i, n, o)), N({ config: i, value: null, axisIndex: 1, isMax: !1 }), N({ config: i, value: null, axisIndex: 1, isMax: !0 }), Dt({ numericFields: r, aggregationType: a, config: i, layerInfo: n }), (T || S) && (N({ config: i, value: null, axisIndex: 0, isMax: !1 }), N({ config: i, value: null, axisIndex: 0, isMax: !0 }), Z && a !== L.NoAggregation)) {
909
+ const B = p?.type === v.DateAxisFormat ? j.Null : j.Interpolate;
910
+ Ct(B, i);
747
911
  }
748
- F && (s.series[0].classBreaksRules = c.classBreaksRules, s.series[0].xTemporalBinning = c.xTemporalBinning, s.series[0].yTemporalBinning = c.yTemporalBinning);
749
- }, is = (t) => {
750
- const { config: e, seriesIndex: i, layerInfo: r, commonStrings: a } = t, s = e.series?.[i], n = U(e);
751
- let l;
752
- if (X(e.series) === w.BarAndLineFromFields)
753
- l = a.axisLabels.values;
754
- else if (xe(n)) {
755
- const u = s.query?.outStatistics?.[0]?.onStatisticField;
756
- u !== void 0 && u !== j(r.layer).idField && (l = O(r.layerFieldsInfo, u));
912
+ 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) => {
913
+ delete B.query;
914
+ }) : d && i.series.forEach((B) => {
915
+ B.query && (B.query.fetchNullValues = d);
916
+ }), y && i.series.forEach((B) => {
917
+ (B.type === v.BarSeries || B.type === v.LineSeries || B.type === v.RadarSeries) && (B.nullCategory = y);
918
+ });
919
+ }, W = (t, e) => {
920
+ 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 = {
921
+ ...e.markerSymbol,
922
+ color: t.markerSymbol?.color
923
+ });
924
+ }, ni = (t) => {
925
+ const { config: e, seriesIndex: s, layerInfo: r, commonStrings: a } = t, i = e.series?.[s], n = ce(e);
926
+ let o;
927
+ if (K(e.series) === w.BarAndLineFromFields)
928
+ o = a.axisLabels.values;
929
+ else if (Le(n)) {
930
+ const m = i.query?.outStatistics?.[0]?.onStatisticField;
931
+ m !== void 0 && m !== X(r.layer).idField && (o = D(r.layerFieldsInfo, m));
757
932
  } else {
758
- const u = String(Fe(s)).trim().replace(/'/gu, ""), m = {
759
- fieldName: U(e),
760
- fieldValueToMatch: u ?? "",
761
- subtypeInfo: ce(r.layer),
762
- fieldList: r.layerFieldsInfo
763
- };
764
- l = ye(m) ?? u;
933
+ const m = String(be(i)).trim().replace(/'/gu, "");
934
+ o = Te({
935
+ queryObject: r.layer,
936
+ fieldName: n,
937
+ fieldValue: m ?? ""
938
+ }) ?? m;
765
939
  }
766
- return l ?? s.id;
767
- }, ss = (t, e) => {
768
- if (G(e))
769
- ft(t, e);
940
+ return o ?? i.id;
941
+ }, oi = (t, e) => {
942
+ if (ne(e))
943
+ kt(t, e);
770
944
  else {
771
945
  e.orderOptions ??= {};
772
- const i = e.orderOptions?.data?.orderType;
773
- _(e)[0] === z.customSort && i === I.Category && (e.orderOptions.data = {
774
- orderType: I.Category,
946
+ const s = e.orderOptions?.data?.orderType;
947
+ ie(e)[0] === J.customSort && s === V.Category && (e.orderOptions.data = {
948
+ orderType: V.Category,
775
949
  orderBy: [...t]
776
950
  });
777
951
  }
778
- }, as = async (t, e) => {
779
- const i = P(t), r = me(t)?.type, a = ee(t), s = X(t.series);
780
- let n = [];
781
- return r === D.CategoryAxisFormat && (s === w.BarAndLineFromFields || i === W ? n = a.map((l) => O(e?.layerFieldsInfo, l)) : i.trim() !== "" && i !== W && e !== void 0 && (n = await Je({
782
- layerInfo: e,
783
- config: t,
784
- category: i
785
- }))), n;
952
+ }, ui = async (t) => {
953
+ const { config: e, layerInfo: s, errorStrings: r } = t, a = M(e), i = Fe(e)?.type, n = _(e), o = K(e.series);
954
+ let c = [];
955
+ return i === v.CategoryAxisFormat && (o === w.BarAndLineFromFields || a === ee ? c = n.map((m) => D(s?.layerFieldsInfo, m)) : a.trim() !== "" && a !== ee && s !== void 0 && (c = await Ve({
956
+ layerInfo: s,
957
+ config: e,
958
+ category: a,
959
+ errorStrings: r
960
+ }))), c;
786
961
  };
787
- function xt(t, e, i) {
788
- const r = Se(t, e, i), a = st(t), s = Y(t);
789
- return r === a || s;
962
+ function G(t, e, s) {
963
+ const r = H(t, e, s), a = Tt(t), i = z(t);
964
+ return r === a || i;
790
965
  }
791
- function Bt(t, e, i) {
792
- const r = pe({
966
+ function Ie(t, e, s) {
967
+ const r = re({
793
968
  config: t,
794
969
  layerInfo: e,
795
- commonStrings: i,
796
- numericFields: ee(t),
797
- aggregationType: he(t)
798
- }), a = Z(1, t), s = Y(t);
799
- return r === a || s;
800
- }
801
- function Ct(t, e) {
802
- const i = O(e.layerFieldsInfo, P(t)), r = Z(0, t), a = Y(t);
803
- return i === r || a;
804
- }
805
- function rs(t) {
806
- return q(t.series[0]) ? t.series[0].binTemporalData ?? !0 : !1;
807
- }
808
- function ns(t, e) {
809
- e?.series.forEach((i) => {
810
- (i?.type === D.BarSeries || i?.type === D.LineSeries) && (i.binTemporalData = t, t ? i.temporalBinning = {
811
- unit: Q.Day,
970
+ commonStrings: s,
971
+ numericFields: _(t),
972
+ aggregationType: Ae(t)
973
+ }), a = ue(1, t), i = z(t);
974
+ return r === a || i;
975
+ }
976
+ function Et(t, e) {
977
+ const s = D(e.layerFieldsInfo, M(t)), r = ue(0, t), a = z(t);
978
+ return s === r || a;
979
+ }
980
+ function ci(t) {
981
+ return R(t.series[0]) ? t.series[0].binTemporalData ?? !0 : !1;
982
+ }
983
+ function di(t, e) {
984
+ oe({ chartConfig: e }) && e?.series.forEach((s) => {
985
+ (s?.type === v.BarSeries || s?.type === v.LineSeries) && (s.binTemporalData = t, t ? s.temporalBinning = {
986
+ unit: te.Day,
812
987
  size: 0,
813
- timeAggregationType: Ae.Start,
988
+ timeAggregationType: rt.Start,
814
989
  trimIncompleteTimeInterval: !0,
815
- nullPolicy: E.Null
816
- } : delete i.temporalBinning);
990
+ nullPolicy: j.Null
991
+ } : delete s.temporalBinning);
817
992
  });
818
993
  }
819
994
  export {
820
- pi as $,
821
- Ri as A,
822
- Mi as B,
823
- Oi as C,
824
- wi as D,
825
- Pi as E,
826
- St as F,
827
- Ei as G,
828
- $i as H,
829
- _ as I,
830
- Wi as J,
831
- Ui as K,
832
- Xi as L,
833
- Yi as M,
834
- es as N,
835
- Zi as O,
836
- ji as P,
837
- Ki as Q,
838
- he as R,
839
- ee as S,
840
- U as T,
841
- ui as U,
842
- gt as V,
843
- yt as W,
844
- gi as X,
845
- di as Y,
846
- mi as Z,
847
- ci as _,
848
- Se as a,
849
- yi as a0,
850
- mt as a1,
851
- fi as a2,
852
- as as a3,
853
- ss as a4,
854
- rs as a5,
855
- ns as a6,
856
- ts as a7,
857
- oi as a8,
858
- li as a9,
859
- ni as aa,
860
- ai as ab,
861
- ri as ac,
862
- rt as ad,
863
- pt as b,
864
- Hi as c,
865
- Qi as d,
866
- Ai as e,
867
- bi as f,
868
- is as g,
869
- Ii as h,
870
- vi as i,
871
- zi as j,
872
- _i as k,
873
- Gi as l,
874
- Ji as m,
875
- Si as n,
876
- Fi as o,
877
- qi as p,
878
- Li as q,
879
- Vi as r,
880
- Ci as s,
881
- Ni as t,
882
- Ti as u,
883
- hi as v,
884
- Bi as w,
885
- xi as x,
886
- ki as y,
887
- Di as z
995
+ Ts as $,
996
+ oi as A,
997
+ li as B,
998
+ ci as C,
999
+ di as D,
1000
+ H as E,
1001
+ Rt as F,
1002
+ Cs as G,
1003
+ Ks as H,
1004
+ Qs as I,
1005
+ As as J,
1006
+ bs as K,
1007
+ Is as L,
1008
+ vs as M,
1009
+ zs as N,
1010
+ _s as O,
1011
+ Gs as P,
1012
+ Zs as Q,
1013
+ ti as R,
1014
+ si as S,
1015
+ ii as T,
1016
+ ai as U,
1017
+ Ss as V,
1018
+ hs as W,
1019
+ qs as X,
1020
+ Ls as Y,
1021
+ Ns as Z,
1022
+ Vs as _,
1023
+ ms as a,
1024
+ Fs as a0,
1025
+ Bs as a1,
1026
+ xs as a2,
1027
+ Os as a3,
1028
+ Ds as a4,
1029
+ ws as a5,
1030
+ Ps as a6,
1031
+ ks as a7,
1032
+ Rs as a8,
1033
+ Es as a9,
1034
+ Ot as aa,
1035
+ Ms as ab,
1036
+ Ys as ac,
1037
+ $s as ad,
1038
+ Ws as ae,
1039
+ Xs as af,
1040
+ Hs as ag,
1041
+ ei as ah,
1042
+ Js as ai,
1043
+ Us as aj,
1044
+ js as ak,
1045
+ cs as b,
1046
+ ds as c,
1047
+ _ as d,
1048
+ ce as e,
1049
+ fs as f,
1050
+ Ae as g,
1051
+ ni as h,
1052
+ gs as i,
1053
+ ss as j,
1054
+ xt as k,
1055
+ ls as l,
1056
+ is as m,
1057
+ ns as n,
1058
+ as as o,
1059
+ ps as p,
1060
+ os as q,
1061
+ bt as r,
1062
+ Bt as s,
1063
+ rs as t,
1064
+ ys as u,
1065
+ Ct as v,
1066
+ us as w,
1067
+ ri as x,
1068
+ ie as y,
1069
+ ui as z
888
1070
  };