@arcgis/charts-components 5.1.0-next.13 → 5.1.0-next.131

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 (641) hide show
  1. package/README.md +3 -3
  2. package/dist/cdn/2JUO3GP2.js +2 -0
  3. package/dist/cdn/2PD6AOGX.js +2 -0
  4. package/dist/cdn/2UXEHY2N.js +2 -0
  5. package/dist/cdn/333C7ANR.js +2 -0
  6. package/dist/cdn/43P4WOC4.js +2 -0
  7. package/dist/cdn/4L4O2QSW.js +2 -0
  8. package/dist/cdn/4Q665YCJ.js +2 -0
  9. package/dist/cdn/4UXYIWVK.js +3 -0
  10. package/dist/cdn/4YIHGO6B.js +2 -0
  11. package/dist/cdn/53FDOB4T.js +2 -0
  12. package/dist/cdn/5C4KQLN7.js +2 -0
  13. package/dist/cdn/5DYO5LUZ.js +2 -0
  14. package/dist/cdn/5STC2DYW.js +2 -0
  15. package/dist/cdn/62LPICIZ.js +2 -0
  16. package/dist/cdn/6JI4NDJ6.js +2 -0
  17. package/dist/cdn/6WKYLLBH.js +2 -0
  18. package/dist/cdn/75Y43JLP.js +2 -0
  19. package/dist/cdn/777EBGS5.js +2 -0
  20. package/dist/cdn/7BDNLABD.js +2 -0
  21. package/dist/cdn/7MKAC33Z.js +2 -0
  22. package/dist/cdn/7OZK3TYA.js +2 -0
  23. package/dist/cdn/A4O5PTH7.js +2 -0
  24. package/dist/cdn/A5BKCSKX.js +2 -0
  25. package/dist/cdn/ALUQP7O2.js +2 -0
  26. package/dist/cdn/{VFP7AKUR.js → B7XYDLAU.js} +1 -1
  27. package/dist/cdn/BXOAEW3W.js +2 -0
  28. package/dist/cdn/CJINPFS3.js +2 -0
  29. package/dist/cdn/CS6SBRT6.js +2 -0
  30. package/dist/cdn/D22J7NA2.js +2 -0
  31. package/dist/cdn/DULW36RT.js +2 -0
  32. package/dist/cdn/E6ICXDNS.js +2 -0
  33. package/dist/cdn/F2466YWO.js +2 -0
  34. package/dist/cdn/FFGZAFS2.js +2 -0
  35. package/dist/cdn/FIMXZMTB.js +2 -0
  36. package/dist/cdn/FRQNDCSQ.js +2 -0
  37. package/dist/cdn/G42X3FFH.js +2 -0
  38. package/dist/cdn/GB732WKH.js +2 -0
  39. package/dist/cdn/GDALUAW7.js +2 -0
  40. package/dist/cdn/GE2AWBM2.js +2 -0
  41. package/dist/cdn/GQJH76M4.js +2 -0
  42. package/dist/cdn/HH2NOONB.js +2 -0
  43. package/dist/cdn/IDBHL55R.js +2 -0
  44. package/dist/cdn/{7Y4VKXLD.js → IKDJUCB4.js} +1 -1
  45. package/dist/cdn/IUEJQSHN.js +2 -0
  46. package/dist/cdn/IUU7YKTI.js +2 -0
  47. package/dist/cdn/IWZGZMX6.js +2 -0
  48. package/dist/cdn/J32RZXGX.js +2 -0
  49. package/dist/cdn/JKXLFKHS.js +2 -0
  50. package/dist/cdn/JNUBQQWK.js +2 -0
  51. package/dist/cdn/JQUEIPJM.js +2 -0
  52. package/dist/cdn/JUUAJRZL.js +2 -0
  53. package/dist/cdn/JZIQCYIH.js +2 -0
  54. package/dist/cdn/K7TP2OTY.js +2 -0
  55. package/dist/cdn/KGNYAMFB.js +2 -0
  56. package/dist/cdn/LF2VC7H3.js +2 -0
  57. package/dist/cdn/LFMGUP74.js +2 -0
  58. package/dist/cdn/LJC7JHVR.js +2 -0
  59. package/dist/cdn/{KZ37E2J3.js → LZNL4CV3.js} +7 -7
  60. package/dist/cdn/LZUBK4Y5.js +2 -0
  61. package/dist/cdn/MEHRAG7P.js +2 -0
  62. package/dist/cdn/MEX6MC5T.js +2 -0
  63. package/dist/cdn/MKB6XD5I.js +2 -0
  64. package/dist/cdn/MRFI67U3.js +2 -0
  65. package/dist/cdn/MTWLD67Q.js +2 -0
  66. package/dist/cdn/{FPDW4F45.js → MZ2UZAFW.js} +1 -1
  67. package/dist/cdn/N5PBNJGO.js +2 -0
  68. package/dist/cdn/{SBHIJW76.js → NBJBPYA2.js} +1 -1
  69. package/dist/cdn/NQAPPISU.js +2 -0
  70. package/dist/cdn/OC4AGIFL.js +4 -0
  71. package/dist/cdn/OEZYYGX7.js +58 -0
  72. package/dist/cdn/OGKVTQXG.js +2 -0
  73. package/dist/cdn/OLV7EKYP.js +2 -0
  74. package/dist/cdn/ON7IVT7Z.js +2 -0
  75. package/dist/cdn/P5XJTTU3.js +3 -0
  76. package/dist/cdn/PFHNORVL.js +2 -0
  77. package/dist/cdn/PI2SUWX4.js +2 -0
  78. package/dist/cdn/Q4XOVEX5.js +2 -0
  79. package/dist/cdn/Q7SJDSIO.js +2 -0
  80. package/dist/cdn/QJHW5QE3.js +2 -0
  81. package/dist/cdn/QJRHERJ3.js +2 -0
  82. package/dist/cdn/QKMFWSFS.js +2 -0
  83. package/dist/cdn/QSZGBHQR.js +2 -0
  84. package/dist/cdn/QTUPDJI7.js +2 -0
  85. package/dist/cdn/QVD6LHQ2.js +2 -0
  86. package/dist/cdn/RASF7K6P.js +2 -0
  87. package/dist/cdn/RSHPFKHN.js +2 -0
  88. package/dist/cdn/SBS4J65N.js +2 -0
  89. package/dist/cdn/SCV5XY36.js +102 -0
  90. package/dist/cdn/SEXKEROR.js +2 -0
  91. package/dist/cdn/SLWKF2JX.js +2 -0
  92. package/dist/cdn/SMIYFBV7.js +2 -0
  93. package/dist/cdn/SNXRAY5T.js +2 -0
  94. package/dist/cdn/{HAJ2VWEU.js → TJQGGNGV.js} +1 -1
  95. package/dist/cdn/TMDCWQI5.js +2 -0
  96. package/dist/cdn/TOO3T62Y.js +2 -0
  97. package/dist/cdn/TQDYAFTP.js +2 -0
  98. package/dist/cdn/TUNZ5G3Y.js +2 -0
  99. package/dist/cdn/TVXPAWKL.js +2 -0
  100. package/dist/cdn/{TLAROKSH.js → TWPDFIMS.js} +7 -7
  101. package/dist/cdn/U4ICRNH5.js +2 -0
  102. package/dist/cdn/U6UQNHOP.js +2 -0
  103. package/dist/cdn/U7L3L6IV.js +2 -0
  104. package/dist/cdn/UICDH44M.js +2 -0
  105. package/dist/cdn/UK2A3DRS.js +2 -0
  106. package/dist/cdn/UK4RWKVT.js +2 -0
  107. package/dist/cdn/URLKO2ZO.js +2 -0
  108. package/dist/cdn/USBY2OTE.js +233 -0
  109. package/dist/cdn/V4ZIXNE7.js +2 -0
  110. package/dist/cdn/W2YGMPUG.js +2 -0
  111. package/dist/cdn/W7TWSWW3.js +2 -0
  112. package/dist/cdn/WCEYEOCG.js +4 -0
  113. package/dist/cdn/WHFSHR26.js +2 -0
  114. package/dist/cdn/WXCCAI6F.js +2 -0
  115. package/dist/cdn/WZ246GPO.js +2 -0
  116. package/dist/cdn/XKVZ3XN7.js +2 -0
  117. package/dist/cdn/XLHC66GD.js +2 -0
  118. package/dist/cdn/XOB365BI.js +2 -0
  119. package/dist/cdn/{ZXIRDWJW.js → YAVQSNZ6.js} +1 -1
  120. package/dist/cdn/YFMXMZIL.js +2 -0
  121. package/dist/cdn/YKGXUFVU.js +2 -0
  122. package/dist/cdn/YSOH633R.js +2 -0
  123. package/dist/cdn/Z4LQZ4KD.js +2 -0
  124. package/dist/cdn/Z6A5RJWT.js +2 -0
  125. package/dist/cdn/{6DSWJCEU.js → ZEORTNK3.js} +1 -1
  126. package/dist/cdn/ZM746HVV.js +2 -0
  127. package/dist/cdn/ZZBRNTAJ.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 +73 -75
  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 +8732 -601
  316. package/dist/chunks/index3.js +876 -161
  317. package/dist/chunks/index4.js +10839 -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 +849 -648
  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 +676 -311
  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 +17505 -17399
  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 +4937 -4602
  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 +5 -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 +377 -91
  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 +83 -14
  461. package/dist/utils/chart-config/validator/index.d.ts +5 -2
  462. package/dist/utils/chart-config/validator/interfaces.d.ts +4 -4
  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 +1 -1
  476. package/dist/utils/layer/inline-conversion/interfaces.d.ts +0 -2
  477. package/dist/utils/layer/interfaces.d.ts +11 -46
  478. package/dist/utils/layer/query-features/index.d.ts +27 -6
  479. package/dist/utils/layer/query-features/interfaces.d.ts +1 -1
  480. package/dist/utils/layer/query-parser/index.d.ts +17 -11
  481. package/dist/utils/layer/utils/index.d.ts +114 -24
  482. package/dist/utils/localization/index.d.ts +3 -19
  483. package/dist/utils/localization/interfaces.d.ts +24 -0
  484. package/dist/utils/misc/index.d.ts +18 -4
  485. package/dist/utils/misc/interfaces.d.ts +2 -0
  486. package/dist/utils/type-guards/index.d.ts +11 -3
  487. package/dist/utils/types/index.d.ts +1 -5
  488. package/dist/utils/ui/popover-ui-utils.d.ts +1 -1
  489. package/package.json +14 -13
  490. package/dist/cdn/2GBP6LGY.js +0 -2
  491. package/dist/cdn/2OGUU3CF.js +0 -2
  492. package/dist/cdn/3BNWRE6L.js +0 -2
  493. package/dist/cdn/3VO44B7D.js +0 -2
  494. package/dist/cdn/42CBESL3.js +0 -2
  495. package/dist/cdn/4HMKO62F.js +0 -2
  496. package/dist/cdn/4OFL4DZ6.js +0 -2
  497. package/dist/cdn/5I3OUQTR.js +0 -2
  498. package/dist/cdn/5VJHYLNY.js +0 -2
  499. package/dist/cdn/5ZACNPVJ.js +0 -2
  500. package/dist/cdn/6HU6FAC6.js +0 -2
  501. package/dist/cdn/6KBG6RP6.js +0 -2
  502. package/dist/cdn/6M6WBVYN.js +0 -4
  503. package/dist/cdn/6VF4IR4F.js +0 -2
  504. package/dist/cdn/6WQPKBUS.js +0 -2
  505. package/dist/cdn/6XWAXH7N.js +0 -2
  506. package/dist/cdn/765I3ZAW.js +0 -2
  507. package/dist/cdn/7674OZSU.js +0 -2
  508. package/dist/cdn/7WSRTSZZ.js +0 -2
  509. package/dist/cdn/AHQERXHV.js +0 -2
  510. package/dist/cdn/AUADM5NG.js +0 -2
  511. package/dist/cdn/B7QTRVCQ.js +0 -2
  512. package/dist/cdn/BGQU34UF.js +0 -2
  513. package/dist/cdn/BIXBHHBG.js +0 -2
  514. package/dist/cdn/BJPCRXMJ.js +0 -2
  515. package/dist/cdn/BT4LJVAF.js +0 -2
  516. package/dist/cdn/C2DPLSKQ.js +0 -99
  517. package/dist/cdn/CCJPPUD5.js +0 -2
  518. package/dist/cdn/CHFLNVTL.js +0 -4
  519. package/dist/cdn/D3UHKVZO.js +0 -2
  520. package/dist/cdn/DANH74KX.js +0 -2
  521. package/dist/cdn/DC3YXOWG.js +0 -2
  522. package/dist/cdn/DGTF5KBL.js +0 -2
  523. package/dist/cdn/DJ2JCF2Z.js +0 -2
  524. package/dist/cdn/DNUPG7VD.js +0 -2
  525. package/dist/cdn/EGVWQ5QI.js +0 -2
  526. package/dist/cdn/ETLJKITO.js +0 -2
  527. package/dist/cdn/EVWSDR7F.js +0 -2
  528. package/dist/cdn/EZERSYWI.js +0 -2
  529. package/dist/cdn/F6HBDWVT.js +0 -2
  530. package/dist/cdn/FAECWPBC.js +0 -2
  531. package/dist/cdn/FBAR5IQV.js +0 -2
  532. package/dist/cdn/FPBBWTJ7.js +0 -2
  533. package/dist/cdn/G4WF6WDJ.js +0 -2
  534. package/dist/cdn/GAT6YWBR.js +0 -2
  535. package/dist/cdn/GOAURRVY.js +0 -2
  536. package/dist/cdn/GSURW4J2.js +0 -2
  537. package/dist/cdn/GTKFDAG2.js +0 -2
  538. package/dist/cdn/HSGXKSXR.js +0 -2
  539. package/dist/cdn/HY3AHYRS.js +0 -2
  540. package/dist/cdn/I5POLUDA.js +0 -2
  541. package/dist/cdn/IL6RVDTN.js +0 -2
  542. package/dist/cdn/IRNA25SY.js +0 -2
  543. package/dist/cdn/IUCZUNSN.js +0 -2
  544. package/dist/cdn/J6B3ULGY.js +0 -2
  545. package/dist/cdn/JO7NKRXG.js +0 -2
  546. package/dist/cdn/JULC3HIR.js +0 -2
  547. package/dist/cdn/KXYJRENV.js +0 -2
  548. package/dist/cdn/KZ7WEJMS.js +0 -2
  549. package/dist/cdn/LYMI3DMY.js +0 -2
  550. package/dist/cdn/MBW3D76D.js +0 -2
  551. package/dist/cdn/MQRYPCTS.js +0 -56
  552. package/dist/cdn/OJVBOAAT.js +0 -2
  553. package/dist/cdn/OS66RJR7.js +0 -2
  554. package/dist/cdn/PEYLNVQV.js +0 -2
  555. package/dist/cdn/PG3CT7L3.js +0 -2
  556. package/dist/cdn/PVGRL7VZ.js +0 -2
  557. package/dist/cdn/PVXGKZVZ.js +0 -2
  558. package/dist/cdn/Q3HJ2HSW.js +0 -2
  559. package/dist/cdn/QF7PCBW5.js +0 -2
  560. package/dist/cdn/RAIAMGBU.js +0 -2
  561. package/dist/cdn/RKJSPRUA.js +0 -2
  562. package/dist/cdn/RSUXZY3D.js +0 -2
  563. package/dist/cdn/RUUYSZO3.js +0 -2
  564. package/dist/cdn/S2ISMBYM.js +0 -2
  565. package/dist/cdn/S67SLZ3A.js +0 -2
  566. package/dist/cdn/SPAXIJWK.js +0 -2
  567. package/dist/cdn/SQILD7Z2.js +0 -2
  568. package/dist/cdn/SV7MPF6L.js +0 -2
  569. package/dist/cdn/T644743R.js +0 -2
  570. package/dist/cdn/T7RVMAUJ.js +0 -2
  571. package/dist/cdn/TAL3BNJ3.js +0 -2
  572. package/dist/cdn/TH4EJL7K.js +0 -2
  573. package/dist/cdn/TLSTPQNA.js +0 -2
  574. package/dist/cdn/TPHTAB5C.js +0 -2
  575. package/dist/cdn/TX3KD6VF.js +0 -2
  576. package/dist/cdn/UPTOIOLY.js +0 -2
  577. package/dist/cdn/URGHTMWW.js +0 -2
  578. package/dist/cdn/VPTDXGKU.js +0 -2
  579. package/dist/cdn/VXQBM2SM.js +0 -2
  580. package/dist/cdn/W2YVO2P7.js +0 -2
  581. package/dist/cdn/WFBBPRYH.js +0 -2
  582. package/dist/cdn/XL7CBYJC.js +0 -2
  583. package/dist/cdn/XPXOMNMW.js +0 -2
  584. package/dist/cdn/XQ26L3RE.js +0 -4
  585. package/dist/cdn/Y3REH3BA.js +0 -2
  586. package/dist/cdn/Y3VACZBQ.js +0 -2
  587. package/dist/cdn/YDA7XMPU.js +0 -2
  588. package/dist/cdn/YFXR7ZYV.js +0 -2
  589. package/dist/cdn/YIKJG4UK.js +0 -2
  590. package/dist/cdn/YIKSQASL.js +0 -2
  591. package/dist/cdn/YUFKLXMQ.js +0 -2
  592. package/dist/cdn/ZC5R7PBX.js +0 -2
  593. package/dist/cdn/ZIE7F4JI.js +0 -2
  594. package/dist/cdn/ZO6DLOCP.js +0 -2
  595. package/dist/cdn/ZXLV67U3.js +0 -2
  596. package/dist/chunks/action-bar-utils.js +0 -173
  597. package/dist/chunks/bg_BG2.js +0 -10
  598. package/dist/chunks/model-with-guides.js +0 -318
  599. package/dist/chunks/setup-utils.js +0 -79
  600. package/dist/chunks/sk_SK.js +0 -10
  601. package/dist/model/index.d.ts +0 -18
  602. package/dist/model.js +0 -41
  603. package/dist/spec/index.d.ts +0 -8
  604. package/dist/utils/index.d.ts +0 -33
  605. /package/dist/cdn/{HMT3JTMG.js → 27Y4YBZ7.js} +0 -0
  606. /package/dist/cdn/{U4ISG3LR.js → 2W64WSBS.js} +0 -0
  607. /package/dist/cdn/{BR3ALHVA.js → 3S33OYZS.js} +0 -0
  608. /package/dist/cdn/{UEMWKNMI.js → 47SEEPGM.js} +0 -0
  609. /package/dist/cdn/{EWEIXVOU.js → 4CEOP4CL.js} +0 -0
  610. /package/dist/cdn/{CKWUM3SY.js → 4NXQY2SY.js} +0 -0
  611. /package/dist/cdn/{YULUAO7O.js → 4RZOR2GZ.js} +0 -0
  612. /package/dist/cdn/{ZC5365MX.js → 5S37PAVK.js} +0 -0
  613. /package/dist/cdn/{HKELFQPO.js → 5VCKTFEN.js} +0 -0
  614. /package/dist/cdn/{X5UHCHZM.js → 6SLYYVAM.js} +0 -0
  615. /package/dist/cdn/{A2WV46QM.js → 75WJAOD5.js} +0 -0
  616. /package/dist/cdn/{XK4EUXXR.js → 76OQVFII.js} +0 -0
  617. /package/dist/cdn/{GFVH7DHZ.js → 7GXB5ABV.js} +0 -0
  618. /package/dist/cdn/{7NOHRYD3.js → 7S4C7DMD.js} +0 -0
  619. /package/dist/cdn/{32O5MEYJ.js → A52S6LGL.js} +0 -0
  620. /package/dist/cdn/{FZASRZA2.js → BR7YHHRO.js} +0 -0
  621. /package/dist/cdn/{WH2TRB3A.js → D63ZM4I6.js} +0 -0
  622. /package/dist/cdn/{ID6N7QNG.js → DGYDZT63.js} +0 -0
  623. /package/dist/cdn/{PRD6ZJEL.js → DTU5F26A.js} +0 -0
  624. /package/dist/cdn/{KWJV56HI.js → FCE53PT5.js} +0 -0
  625. /package/dist/cdn/{4GKUGLVH.js → G626QVCR.js} +0 -0
  626. /package/dist/cdn/{62HEZAUJ.js → GBLD6EF5.js} +0 -0
  627. /package/dist/cdn/{3IHBY347.js → HM7TTHYN.js} +0 -0
  628. /package/dist/cdn/{Z7GUX5TP.js → JHXWK5HY.js} +0 -0
  629. /package/dist/cdn/{FFXMIDHG.js → LZTVRB5K.js} +0 -0
  630. /package/dist/cdn/{2M7DGPP4.js → N4ZIPC6C.js} +0 -0
  631. /package/dist/cdn/{43DSND6O.js → NF4ADSMI.js} +0 -0
  632. /package/dist/cdn/{SXJYUHC3.js → OPJ6LPA2.js} +0 -0
  633. /package/dist/cdn/{S5OM65RV.js → PDWS67CW.js} +0 -0
  634. /package/dist/cdn/{GCSXWMLO.js → QSAYNOYT.js} +0 -0
  635. /package/dist/cdn/{MVVZ33P6.js → SEV3K4MK.js} +0 -0
  636. /package/dist/cdn/{ZPBMAHUW.js → U6BD2QQW.js} +0 -0
  637. /package/dist/cdn/{PXMYYJVU.js → WXLU5XAQ.js} +0 -0
  638. /package/dist/cdn/{HKCUVPIO.js → XQL5X2VK.js} +0 -0
  639. /package/dist/cdn/{QWDNTO5I.js → Y4YDLI6O.js} +0 -0
  640. /package/dist/cdn/{2EGXIJ46.js → YIK7I32W.js} +0 -0
  641. /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 re, isEmpty as qe, memoize as Ve } from "lodash-es";
4
+ import { S as ee } from "./common.js";
5
+ import { s as N, u as E, g as le, a as he, b as Ne, c as ke, d as de } from "./utils.js";
6
+ import { w as k, bY as Re, bm as Oe, x as De, Y as K, cr as we, cq as Pe, p as Ee, aH as ne, c2 as Me, d as $e, aG as Ye, I as We, a7 as Xe, bk as He, W as je, e as Ue, bo as Ke, c_ as Qe, v as ze, d5 as ye, bM as _e, d6 as Ge, bI as Ze, B as Je, d2 as et, an as X, a6 as xe, cS as oe, b9 as tt, ba as ue, k as te, bq as st, bu as me, bb as j, bh as ge } from "./index2.js";
7
+ import { a as $, s as Te, g as Q, b as pe, c as it } from "./data.js";
8
+ import { u as v, r as L, k as at, n as V, m as U, p as rt, t as lt, s as se } from "./chart-object-literals.js";
9
+ import { i as nt, R as ot } from "./rest-js-object-literals.js";
10
+ import { i as z } from "./index4.js";
11
+ import { az as ut, t as ct, Y as dt, a9 as yt, al as mt, x as gt, C as fe, H as Se, $ as pt } from "./index.js";
12
+ import { C as w, F as M, d as D } from "./index3.js";
13
+ import { h as Be, i as O, j as ft, n as St, g as b, m as A, e as Fe } from "./index5.js";
14
+ import { convertChartSpec as Ft } from "../utils/chart-config/converter/index.js";
15
+ import { c as ie, e as ht } from "./type-guards.js";
16
+ import { g as Ce } from "./series-types.js";
17
+ import { g as ce } from "./utils2.js";
18
+ import { a as xt, b as Tt } from "./series-length.js";
19
+ const is = (t) => {
20
+ let e;
21
+ const s = t.series[0];
22
+ return k(s) && (e = s.temporalBinning?.size), e;
23
+ }, Bt = (t) => {
24
+ let e;
25
+ const s = t.series[0];
26
+ return k(s) && (e = s.temporalBinning?.unit), e;
27
+ }, as = (t) => {
28
+ let e;
29
+ const s = t.series[0];
30
+ return k(s) && (e = s.temporalBinning?.timeAggregationType), e;
31
+ }, rs = (t) => {
32
+ let e;
33
+ const s = t.series[0];
34
+ return k(s) && (e = s.temporalBinning?.trimIncompleteTimeInterval), e;
35
+ }, ls = (t) => {
36
+ let e;
37
+ const s = t.series[0];
38
+ return k(s) && (e = s.temporalBinning?.nullPolicy), e;
39
+ }, Ct = (t, e) => {
40
+ e?.series?.forEach((s) => {
41
+ k(s) && (s.temporalBinning ??= {}, s.temporalBinning.size = t);
42
+ }), N({ config: e, value: null, axisIndex: 1, isMax: !1 }), N({ config: e, value: null, axisIndex: 1, isMax: !0 });
43
+ }, bt = (t, e) => {
44
+ e?.series?.forEach((s) => {
45
+ k(s) && (s.temporalBinning ??= {}, s.temporalBinning.nullPolicy = t);
46
+ }), N({ config: e, value: null, axisIndex: 1, isMax: !1 }), N({ config: e, value: null, axisIndex: 1, isMax: !0 });
47
+ }, ns = (t, e) => {
48
+ e.series?.forEach((s) => {
49
+ k(s) && (s.temporalBinning ??= {}, s.temporalBinning.unit = t);
50
+ }), N({ config: e, value: null, axisIndex: 1, isMax: !1 }), N({ config: e, value: null, axisIndex: 1, isMax: !0 });
51
+ }, os = (t, e) => {
52
+ e.series?.forEach((s) => {
53
+ k(s) && (s.temporalBinning ??= {}, s.temporalBinning.timeAggregationType = t);
54
+ }), N({ config: e, value: null, axisIndex: 1, isMax: !1 }), N({ config: e, value: null, axisIndex: 1, isMax: !0 });
55
+ }, us = (t, e) => {
56
+ e.series?.forEach((s) => {
57
+ k(s) && (s.temporalBinning ??= {}, s.temporalBinning.trimIncompleteTimeInterval = t);
58
+ }), N({ config: e, value: null, axisIndex: 1, isMax: !1 }), N({ config: e, value: null, axisIndex: 1, isMax: !0 });
59
+ }, cs = (t) => {
60
+ Ct(0, t);
61
+ };
62
+ function ds(t, e) {
63
+ let s;
64
+ return e !== void 0 && (s = { ...e }, s.legend !== void 0 && (s.legend.position = t)), s;
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 ys(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 ms(t, e) {
71
+ let s;
72
+ return e !== void 0 && (s = { ...e, rotated: t }), s;
46
73
  }
47
- function rt(t) {
74
+ function At(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 gs(t, e) {
79
+ return e != null || Be(t);
53
80
  }
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({
81
+ async function ps(t) {
82
+ const { config: e, layer: s, abortSignal: r } = t;
83
+ let a = !1;
84
+ return ie(s) || ht(e) ? e && ie(s) && (a = await Oe({ config: e, layer: s, abortSignal: r })) : a = !0, a;
85
+ }
86
+ async function vt(t) {
87
+ const {
88
+ queryObject: e,
89
+ chartConfig: s,
90
+ splitByField: r,
91
+ errorStrings: a,
92
+ abortSignal: i,
93
+ runtimeDataFilters: l,
94
+ ignoreViewExtent: n,
95
+ setTimeBinningInfoWhenNotProvided: y,
96
+ returnFeaturesExtent: g,
97
+ chartLimits: F
98
+ } = t;
99
+ let o = [], c;
100
+ const m = re(s), d = m.series[0], u = Ue({
58
101
  queryObject: e,
59
- chartConfig: l,
60
- runtimeDataFilters: r?.runtimeDataFilters,
61
- ignoreViewExtent: r?.ignoreViewExtent
102
+ chartConfig: m,
103
+ runtimeDataFilters: l,
104
+ ignoreViewExtent: n
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 = ut.outStatistics.outStatisticFieldName), k(d) && Ke({
107
+ xAxisValueFormatType: Qe(m),
108
+ setTimeBinningInfoWhenNotProvided: y,
109
+ seriesConfig: d,
110
+ queryObject: e
111
+ }) && ze(r, e)) {
112
+ const { temporalBinning: p, x: T } = d, { uniqueQuery: C } = ye({
113
+ chartConfig: m,
70
114
  queryConfig: u,
71
115
  queryObject: e,
72
- options: r
73
- });
74
- n = await Me({
116
+ setTimeBinningInfoWhenNotProvided: y,
117
+ returnFeaturesExtent: g,
118
+ chartLimits: F
119
+ }), h = s.axes?.[0].valueFormat.type === v.DateAxisFormat ? s.axes[0].valueFormat.intlOptions.timeZone : void 0;
120
+ c = await _e({
75
121
  queryObject: e,
76
- dateField: y,
77
- splitByField: a,
78
- queryConfig: f,
79
- temporalBinning: m
80
- }), s = Array.from(
122
+ dateField: T,
123
+ splitByField: r,
124
+ queryConfig: C,
125
+ axisTimeZone: h,
126
+ temporalBinning: p,
127
+ errorStrings: a,
128
+ abortSignal: i
129
+ }), o = Array.from(
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
+ c.flatMap((f) => {
132
+ const { stackedAttributes: R } = f;
133
+ let x = [];
134
+ return R && (x = R.map((S) => S[r]).filter((S) => S !== void 0)), x;
86
135
  })
87
136
  ).values()
88
137
  );
89
138
  } else {
90
- const { uniqueQuery: m } = await te({
91
- chartConfig: l,
139
+ const { uniqueQuery: p } = ye({
140
+ chartConfig: m,
92
141
  queryObject: e,
93
142
  queryConfig: u,
94
- options: r
95
- }), { elementCount: y } = await Pe({
96
- chartConfig: l,
143
+ setTimeBinningInfoWhenNotProvided: y,
144
+ returnFeaturesExtent: g,
145
+ chartLimits: F
146
+ }), { elementCount: T } = await Ge({
147
+ chartConfig: m,
97
148
  queryObject: e,
98
149
  queryConfig: u,
99
- behaviorAfterLimit: r?.chartLimits?.behaviorAfterLimit,
100
- numberMaxOfFeaturesToFetch: m.num
150
+ behaviorAfterLimit: F?.behaviorAfterLimit,
151
+ numberMaxOfFeaturesToFetch: p.num,
152
+ abortSignal: i
101
153
  });
102
- n = await Ee({
154
+ c = await Ze({
103
155
  queryObject: e,
104
- queryConfig: m,
105
- featureCount: y
106
- }), s = Array.from(
156
+ queryConfig: p,
157
+ featureCount: T,
158
+ errorStrings: a,
159
+ abortSignal: i
160
+ }), o = Array.from(
107
161
  new Set(
108
- n.map((f) => f.attributes[a]).filter((f) => f !== void 0)
162
+ c.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: o, preFetchedQueryResponse: c };
113
167
  }
114
- function lt(t, e) {
115
- const i = /* @__PURE__ */ new Map();
168
+ function It(t, e) {
169
+ const s = /* @__PURE__ */ new Map();
116
170
  return t.series.forEach((r) => {
117
- let a = de({
171
+ let a = ne({
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,912 @@ 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 Lt(t) {
189
+ const { allValues: e, configUniqueValuesPerSeriesType: s, initialConfigWasEmpty: r } = t, a = /* @__PURE__ */ new Map();
190
+ return Array.from(s.keys()).forEach((i) => {
191
+ const l = s.get(i) ?? [];
192
+ let n = [];
193
+ r ? n = e : e.forEach((y) => {
194
+ l.includes(y) || n.push(y);
195
+ }), a.set(i, n);
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 qt(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 (s === null ? i.id = M.nullValue : s === "" ? i.id = M.emptyStringValue : i.id = `${s}`, i.name = `${s}`, i.query.outStatistics?.[0] !== void 0) {
207
+ const n = i.id;
208
+ i.query.outStatistics[0].outStatisticFieldName = n, "y" in i && (i.y = n);
155
209
  }
156
- const n = typeof i == "number" || i === null ? i : `'${i}'`;
157
- s.query.where = `${r}=${n}`;
210
+ const l = typeof s == "number" || s === null ? s : `'${s}'`;
211
+ i.query.where = `${r}=${l}`;
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 Vt(t) {
216
+ const {
217
+ updateSplitBySeries: e,
218
+ config: s,
219
+ queryObject: r,
220
+ errorStrings: a,
221
+ abortSignal: i,
222
+ runtimeDataFilters: l,
223
+ ignoreViewExtent: n,
224
+ setTimeBinningInfoWhenNotProvided: y,
225
+ returnFeaturesExtent: g,
226
+ chartLimits: F
227
+ } = t, { seriesTemplate: o } = e ?? {};
228
+ let c;
229
+ if (r && !ie(r) && e !== void 0 && s !== void 0 && (s.series.length > 0 || o !== void 0) && e.addMissingSeries) {
230
+ const m = s.series.length === 0;
231
+ s.series.length === 0 && o !== void 0 && s.series.push(o);
232
+ const d = K(s.series);
233
+ if (d === w.BoxPlotMonoFieldAndSplitBy || d === w.BoxPlotMultiFieldsAndSplitBy || d === w.BoxPlotMonoFieldAndCategoryAndSplitBy || d === w.BarAndLineSplitBy || d === w.BarAndLineSplitByNoAggregation) {
234
+ const u = Ye(s.series[0]?.query?.where), p = We(r), T = Xe(u, p), C = T ? He(T) : !1, h = await vt({
235
+ queryObject: r,
236
+ chartConfig: s,
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: l,
240
+ ignoreViewExtent: n,
241
+ setTimeBinningInfoWhenNotProvided: y,
242
+ returnFeaturesExtent: g,
243
+ chartLimits: F,
244
+ errorStrings: a
245
+ }), { allValues: f } = h;
246
+ if ({ preFetchedQueryResponse: c } = h, f.length > 0) {
247
+ const R = It(s, C), x = Lt({
248
+ allValues: f,
249
+ configUniqueValuesPerSeriesType: R,
250
+ initialConfigWasEmpty: m
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(x.keys()).forEach((S) => {
253
+ (x.get(S) ?? []).forEach((q) => {
254
+ s.series.push(
255
+ qt({
256
+ chartConfig: s,
257
+ seriesTemplate: o,
258
+ missingValue: q,
190
259
  splitByField: u
191
260
  })
192
261
  );
193
- }), l && i.series.shift();
262
+ }), m && s.series.shift();
194
263
  });
195
264
  }
196
265
  }
197
266
  }
198
- return n;
267
+ return c;
199
268
  }
200
- function ct(t, e) {
201
- e && !ge(e) && (e = Le({ chartConfig: e, queryObject: t }));
269
+ function Nt(t, e) {
270
+ e && !Be(e) && (e = $e({ 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 fs(t) {
273
+ const {
274
+ configToAlter: e,
275
+ layer: s,
276
+ addMissingSeries: r,
207
277
  updateSplitBySeries: a,
208
- config: o,
209
- options: l,
210
- queryObject: n
211
- })), o = Ie(o, s)), { alteredConfig: o, preFetchedQueryResponse: u };
278
+ chartContainer: i,
279
+ queryObject: l,
280
+ abortSignal: n,
281
+ runtimeDataFilters: y,
282
+ ignoreViewExtent: g,
283
+ setTimeBinningInfoWhenNotProvided: F,
284
+ returnFeaturesExtent: o,
285
+ chartLimits: c,
286
+ errorStrings: m
287
+ } = t;
288
+ let d = e, u;
289
+ return d && (Nt(s, d), d = await Ft(d, s, void 0, n), r && l && (u = await Vt({
290
+ updateSplitBySeries: a,
291
+ config: d,
292
+ queryObject: l,
293
+ errorStrings: m,
294
+ abortSignal: n,
295
+ runtimeDataFilters: y,
296
+ ignoreViewExtent: g,
297
+ setTimeBinningInfoWhenNotProvided: F,
298
+ returnFeaturesExtent: o,
299
+ chartLimits: c
300
+ })), d = Re(d, i)), { alteredConfig: d, preFetchedQueryResponse: u };
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 kt(t, e) {
303
+ let s = !1;
304
+ if (e !== void 0) {
305
+ const r = je({ key: Je.Average, splitBy: e });
306
+ s = Number.isFinite(t[r]);
307
+ }
308
+ return s;
309
+ }
310
+ function Ss(t) {
311
+ const { data: e, config: s, showEmptySeries: r } = t, a = s.series.length, i = re(s);
312
+ let l = !1;
313
+ if (!r && a > 1 && e) {
314
+ const n = De(e), y = Ce(s?.series), g = K(s?.series), F = /* @__PURE__ */ new Set();
315
+ switch (y) {
316
+ case v.ComboLineAndBarSeries:
317
+ case v.BarSeries:
318
+ case v.RadarSeries:
319
+ case v.LineSeries: {
320
+ i.series.forEach((c) => {
321
+ if (Array.isArray(n)) {
322
+ let m = "";
323
+ "y" in c && (m = Array.isArray(c.y) ? c.y[0] : c.y, g === w.BarAndLineSplitByNoAggregation && (m = `${m}_${ne({ where: c.query?.where, keepSurroundingQuotes: !1, escape: !1 })}`), n.some(
324
+ (u) => Me({
325
+ dataItem: u,
326
+ x: c.x,
327
+ y: m,
328
+ aggregationType: s.series[0].query?.outStatistics?.[0]?.statisticType
329
+ })
330
+ ) && F.add(c));
331
+ }
332
+ });
333
+ break;
334
+ }
335
+ case v.BoxPlotSeries: {
336
+ if (we(s)) {
337
+ const c = Pe(s);
338
+ s.series.forEach((m) => {
339
+ let d, u;
340
+ m.type === v.BoxPlotSeries ? (d = e.dataItems, u = d?.some(
341
+ (p) => Ee({
342
+ dataItem: p,
343
+ splitBy: m.query?.where,
344
+ showOutliers: c
345
+ })
346
+ )) : m.type === v.LineSeries && (d = e.meanLines, u = d?.some(
347
+ (p) => kt(p, m.query?.where)
348
+ )), u && F.add(m);
349
+ });
350
+ }
351
+ break;
352
+ }
353
+ }
354
+ const o = Array.from(F.values());
355
+ l = o.length > 0 && o.length < a, l && (i.series = o);
356
+ }
357
+ return { seriesFilteredOut: l, filteredConfig: i };
358
+ }
359
+ const Fs = (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
+ }, xs = (t, e) => {
362
+ const s = t.series[0];
363
+ s.heatRulesType = e;
364
+ }, Ts = (t) => t.series[0].heatRulesType, Bs = (t, e) => {
365
+ const s = t.series[0];
366
+ s.gradientRules = e;
367
+ }, Cs = (t) => t.series[0].gradientRules, bs = (t) => {
368
+ const { yField: e, config: s, layerInfo: r } = t, { layerFieldsInfo: a } = r, i = ce(1, s), l = Rt(s), n = z(s), y = s.series[0];
369
+ if (typeof e == "string" && l !== e && y && (y.y = e, At(s), l === i || n)) {
370
+ const g = D(a, e);
371
+ E(s, 1, g);
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 ?? "", As = (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
+ }, vs = (t) => t.series[0].xTemporalBinning, Is = (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
+ }, Ls = (t) => t.series[0].yTemporalBinning, Ot = (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 = ae(e)[0], a = e.axes?.[1]?.valueFormat?.type === "category" ? V.Category : V.YValue, i = ae(e)[1], l = {
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 === ee.customSort && s === V.Category && (l.orderByX = [...t]), i === ee.customSort && a === V.Category && (l.orderByY = [...t]), Object.keys(l).length > 1 && (e.orderOptions.data = l);
392
+ }, qs = (t, e) => {
393
+ const s = e.series[0];
394
+ s.gridLine && (s.gridLine.width = t);
395
+ }, Vs = (t) => t.series[0].gridLine?.width, Ns = (t, e) => {
396
+ const s = e.series[0], r = t?.length === 4 && t.every((a) => typeof a == "number");
397
+ s.gridLine && r && (s.gridLine.color = t);
398
+ }, ks = (t) => t.series[0].gridLine?.color, Rs = (t, e) => {
399
+ const s = e.legend;
400
+ s && (s.position = t);
401
+ }, Os = (t) => t.legend?.position ?? at.Bottom, Ds = (t) => t.series[0].query?.outStatistics?.[0]?.onStatisticField, ws = (t) => {
402
+ const { field: e, config: s, layerInfo: r, commonStrings: a } = t, i = s.series[0].query?.outStatistics?.[0], l = Z(s, r, a);
403
+ i ? (i.onStatisticField = e, i.outStatisticFieldName = `${i.statisticType}_${e}`) : s.series[0].query = {
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
+ }, l && s.title && (s.title.content.text = H(s, r, a));
412
+ }, Ps = (t) => t.series[0].query?.outStatistics?.[0].statisticType ?? L.Count, Es = (t) => {
413
+ const { aggregationType: e, config: s, layerInfo: r, commonStrings: a } = t, i = s.series[0]?.query?.outStatistics?.[0], l = Z(s, r, a);
414
+ i && e !== L.NoAggregation && (i.statisticType = e, i.outStatisticFieldName = `${e}_${i.onStatisticField}`), (e === L.Count || e === L.Sum) && Dt(U.Zero, s), l && s.title && (s.title.content.text = H(s, r, a));
415
+ }, Ms = (t) => t.nullPolicy, Dt = (t, e) => {
312
416
  e.nullPolicy = t;
313
- }, Ei = (t) => t.series[0].emptyCells, $i = (t, e) => {
417
+ }, $s = (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
+ }, Ws = (t) => t.series[0].emptyCells?.text, Xs = (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
+ }, Hs = (t) => t.includeLeapDay, js = (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, Ks = (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 Qs(t) {
323
427
  return t.viewType;
324
428
  }
325
- function Qi(t, e) {
326
- $e(e) || (e.viewType = t);
429
+ function zs(t, e) {
430
+ et(e) || (e.viewType = t);
327
431
  }
328
- function zi(t) {
329
- return t.series[0].classBreaksRules?.breaksCount ?? $.classBreaks.breaksCount;
432
+ function _s(t) {
433
+ return t.series[0].classBreaksRules?.breaksCount ?? M.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 Gs(t, e) {
436
+ e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.breaksCount = t ?? M.classBreaks.breaksCount : e.series[0].classBreaksRules = {
437
+ breaksCount: t ?? M.classBreaks.breaksCount
334
438
  };
335
439
  }
336
- function Gi(t) {
440
+ function Zs(t) {
337
441
  return t.series[0].classBreaksRules?.classificationMethod;
338
442
  }
339
- function Ji(t, e) {
443
+ function Js(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 ?? M.classBreaks.breaksCount;
343
447
  }
344
- function Zi(t, e) {
448
+ function ei(t, e) {
345
449
  e.firstDayOfWeek = t;
346
450
  }
347
- function es(t) {
451
+ function ti(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 si(t) {
455
+ return t.series[0].classBreaksRules?.colorRampInfo?.name;
456
+ }
457
+ function ii(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 ai(t) {
469
+ return t.series[0].classBreaksRules?.colorRampInfo?.flipped ?? !1;
470
+ }
471
+ function ri(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 Y(t) {
482
+ const { seriesIndex: e, xAxisField: s, aggregationType: r, config: a, layerInfo: i, commonStrings: l } = t, n = X(i?.layer).idField;
483
+ let y;
484
+ const g = a.series[e ?? 0];
485
+ let F = !1, o = !1, c = !1;
486
+ if (g === void 0) {
487
+ const u = a.series;
488
+ F = u.slice(0, e).every((p) => b(p)), o = u.slice(0, e).every((p) => A(p)), c = u.slice(0, e).every((p) => Fe(p));
358
489
  } else
359
- m = C(u), y = b(u), f = ae(u);
360
- m ? o = Ye({
361
- commonStrings: n,
490
+ F = b(g), o = A(g), c = Fe(g);
491
+ F ? y = dt({
492
+ commonStrings: l,
362
493
  seriesIndex: e,
363
- objectIDField: l
364
- }) : y ? o = je({
365
- commonStrings: n,
494
+ objectIDField: n
495
+ }) : o ? y = yt({
496
+ commonStrings: l,
366
497
  seriesIndex: e,
367
- objectIDField: l
368
- }) : f ? o = Ke(n, l) : o = He({
498
+ objectIDField: n
499
+ }) : c ? y = mt(l, n) : y = gt({
369
500
  seriesIndex: e,
370
- objectIDField: l,
371
- commonStrings: n
501
+ objectIDField: n,
502
+ commonStrings: l
372
503
  });
373
- const S = a.series[0]?.dataLabels, g = {
374
- ...o,
375
- x: i,
504
+ const m = a.series[0]?.dataLabels, d = {
505
+ ...y,
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
+ ...y.dataLabels,
510
+ type: y.dataLabels?.type ?? v.Text,
511
+ content: { ...y.dataLabels?.content, ...m?.content, type: nt.TS },
512
+ visible: m?.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 (d.query = {
516
+ groupByFieldsForStatistics: [s]
517
+ }, r !== L.NoAggregation && n !== void 0) {
518
+ const u = `${r}_${n}_0`.toUpperCase();
519
+ d.y = u, d.query.outStatistics = [
389
520
  {
390
521
  statisticType: r,
391
- onStatisticField: l,
392
- outStatisticFieldName: d
522
+ onStatisticField: n,
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 (k(a.series[0]) && k(d) && ue({ chartConfig: a })) {
528
+ let u = Bt(a);
529
+ u === se.Quarter && (u = se.Month), d.temporalBinning = {
530
+ ...a.series[0]?.temporalBinning,
531
+ unit: u
532
+ };
405
533
  }
406
- return le(g);
407
- }
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({
412
- fieldName: n,
413
- numericFields: l,
534
+ return re(d);
535
+ }
536
+ function H(t, e, s) {
537
+ const { layerFieldsInfo: r } = e, { idField: a, isTraditionalTypeOID: i } = X(e.layer), l = $(t), n = G(t), y = Ae(t), g = _(t), F = i && (n.length === 0 || n.includes(a)), o = ct(y, s), c = F ? "" : n.map((h) => D(r ?? [], h)).join(", "), m = D(r ?? [], l), d = D(r ?? [], g), u = t.series.some((h) => O(h)), p = u ? "category" : "xAxisField", T = m;
538
+ let C = "";
539
+ if (Te({
540
+ fieldName: l,
541
+ numericFields: n,
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: o,
546
+ aggregationFields: c
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,
548
+ else if (y === L.NoAggregation) {
549
+ const h = F ? a : c;
550
+ if (g === "") {
551
+ const f = u ? "aggrTypeCategory" : "aggrTypeXAxisField";
552
+ C = P(s.titleLabels[f], {
553
+ aggregationType: h,
426
554
  [p]: T
427
555
  });
428
556
  } else {
429
- const h = d ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
430
- F = k(i.titleLabels[h], {
431
- aggregationType: c,
557
+ const f = u ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
558
+ C = P(s.titleLabels[f], {
559
+ aggregationType: h,
432
560
  [p]: T,
433
- splitByField: g
561
+ splitByField: d
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,
564
+ } else if (y === L.Count)
565
+ if (g === "") {
566
+ const h = u ? "aggrTypeCategory" : "aggrTypeXAxisField";
567
+ C = P(s.titleLabels[h], {
568
+ aggregationType: o,
441
569
  [p]: T
442
570
  });
443
571
  } else {
444
- const c = d ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
445
- F = k(i.titleLabels[c], {
446
- aggregationType: y,
572
+ const h = u ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
573
+ C = P(s.titleLabels[h], {
574
+ aggregationType: o,
447
575
  [p]: T,
448
- splitByField: g
576
+ splitByField: d
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,
579
+ else if (g !== "") {
580
+ const h = u ? "aggrTypeOfAggrFieldByCategoryBySplitByField" : "aggrTypeOfAggrFieldByXAxisFieldBySplitByField";
581
+ C = P(s.titleLabels[h], {
582
+ aggregationType: o,
583
+ aggregationField: c,
456
584
  [p]: T,
457
- splitByField: g
585
+ splitByField: d
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,
587
+ } else if (n.length > 0) {
588
+ const h = u ? "aggrTypeOfAggrFieldsByCategory" : "aggrTypeOfAggrFieldsByXAxisField";
589
+ C = P(s.titleLabels[h], {
590
+ aggregationType: o,
591
+ aggregationFields: c,
464
592
  [p]: T
465
593
  });
466
594
  }
467
- return F;
595
+ return C;
468
596
  }
469
- const Fe = (t) => de({
597
+ const be = (t) => ne({
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, _ = Ve(
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 tt(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
+ ), G = (t) => {
608
+ let e = [];
609
+ if (_(t) === "")
610
+ e = t?.series.map((s) => {
611
+ const r = s.query?.outStatistics?.map((a) => a.onStatisticField) ?? [];
612
+ return r?.length > 0 ? r : s.y;
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 ve(t) {
621
+ const { splitByField: e, numericFields: s, layer: r, seriesIndex: a } = t, i = X(r).idField ?? "";
622
+ return e === "" ? s[a] ?? i : s[0] ?? i;
623
+ }
624
+ function wt(t) {
625
+ const { numericFields: e, aggregationType: s, config: r, layerInfo: a } = t;
626
+ let i = !1;
627
+ s === L.Count ? i = !0 : s === L.NoAggregation && (i = e.every((y) => {
628
+ const g = a.layerFieldsInfo.find((F) => F.name === y);
629
+ return g !== void 0 ? ge(g) : !1;
630
+ })), de(r, 1, i);
631
+ const l = r.series.some((y) => b(y)), n = r.series.some((y) => A(y));
632
+ if (l || n) {
633
+ const y = $(r), g = a.layerFieldsInfo.find((o) => o.name === y), F = g !== void 0 && ge(g);
634
+ de(r, 0, F);
509
635
  }
510
636
  }
511
- const _ = (t) => {
637
+ const ae = (t) => {
512
638
  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)];
639
+ if (oe(t)) {
640
+ const s = t.orderOptions?.data?.orderByX ?? [""], r = t.orderOptions?.data?.orderByY ?? [""], a = t.axes?.[0]?.valueFormat?.type === "category" ? V.Category : V.YValue, i = t.axes?.[1]?.valueFormat?.type === "category" ? V.Category : V.YValue;
641
+ e = [pe(s, a), pe(r, i)];
516
642
  } 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)];
643
+ const s = t.orderOptions?.data?.orderType ?? V.Category, r = t.orderOptions?.data && "orderBy" in t.orderOptions.data ? t.orderOptions.data.orderBy : rt.Ascending;
644
+ e = [it(r, s)];
519
645
  }
520
646
  return e;
521
647
  };
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({
648
+ function Pt(t) {
649
+ const { xAxisField: e, numericFields: s, aggregationType: r, config: a, layerInfo: i, commonStrings: l } = t, { layerFieldsInfo: n } = i;
650
+ let y = !1;
651
+ const g = Y({
526
652
  config: a,
527
653
  xAxisField: e,
528
654
  aggregationType: r,
529
- layerInfo: s,
655
+ layerInfo: i,
530
656
  seriesIndex: 0,
531
- commonStrings: n
532
- }), m = J({
657
+ commonStrings: l
658
+ }), F = Q({
533
659
  config: a,
534
660
  xAxisField: e,
535
- numericFields: i,
661
+ numericFields: s,
536
662
  aggregationType: r,
537
- layer: s.layer,
538
- fieldList: l
539
- }).name, y = {
540
- ...u,
663
+ layer: i.layer,
664
+ fieldList: n
665
+ }).name, o = {
666
+ ...g,
541
667
  id: `series_${Date.now()}`,
542
- 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(),
668
+ name: l.axisLabels.values,
669
+ x: te,
670
+ y: F
671
+ }, c = [];
672
+ for (const d of s)
673
+ c.push({
674
+ onStatisticField: d,
675
+ outStatisticFieldName: `${d}_0`.toUpperCase(),
550
676
  statisticType: r
551
677
  });
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({
678
+ o.query = { outStatistics: c };
679
+ const m = a.series[0];
680
+ return m !== void 0 && (o.id = m.id, (b(o) && b(m) || A(o) && A(m)) && W(o, m), a.colorMatch || (O(m) && O(o) ? o.fillSymbol = m.fillSymbol : (b(o) && b(m) || A(o) && A(m)) && (o.lineSymbol = m.lineSymbol, o.markerSymbol = m.markerSymbol), y = !0), o.id = m.id, m.name !== g.name && (o.name = m.name)), a.series.length === 1 && ((b(o) || A(o)) && W(o, a.series[0]), a.colorMatch || (O(o) ? o.fillSymbol = a.series[0].fillSymbol : (b(o) || A(o)) && (o.lineSymbol = a.series[0].lineSymbol, o.markerSymbol = a.series[0].markerSymbol), y = !0)), a.colorMatch = !y, [o];
681
+ }
682
+ function Ie(t) {
683
+ const { xAxisField: e, numericFields: s, aggregationType: r, config: a, layerInfo: i, commonStrings: l } = t, { layerFieldsInfo: n } = i, y = X(i.layer).idField, g = [];
684
+ let F = !1;
685
+ for (let u = 0; u < s.length; u += 1) {
686
+ const p = Y({
561
687
  config: a,
562
688
  xAxisField: e,
563
689
  aggregationType: r,
564
- layerInfo: s,
565
- seriesIndex: d,
566
- commonStrings: n
567
- }), T = J({
690
+ layerInfo: i,
691
+ seriesIndex: u,
692
+ commonStrings: l
693
+ }), T = a.series[u]?.y, C = typeof T == "string" && T.trim() !== "" && !n.find((S) => S.name === T) ? T : Q({
568
694
  config: a,
569
695
  xAxisField: e,
570
- numericFields: i,
696
+ numericFields: s,
571
697
  aggregationType: r,
572
- layer: s.layer,
573
- numericFieldIndex: d,
574
- fieldList: l
575
- }).name, F = i[d];
576
- let c = {
698
+ layer: i.layer,
699
+ numericFieldIndex: u,
700
+ fieldList: n
701
+ }).name, h = s[u];
702
+ let f = {
577
703
  ...p,
578
704
  query: {
579
705
  ...p.query
580
706
  }
581
707
  };
582
- i && F !== o && (c = {
583
- ...c,
584
- id: F,
585
- name: O(l, F)
708
+ s && h !== y && (f = {
709
+ ...f,
710
+ id: h,
711
+ name: D(n, h)
586
712
  });
587
- let h = F;
588
- c.query !== void 0 && (r !== v.NoAggregation ? (h = T, c.query.outStatistics = [
713
+ let R = h;
714
+ f.query !== void 0 && (r !== L.NoAggregation ? (R = C, f.query.outStatistics = [
589
715
  {
590
716
  ...p.query?.outStatistics?.[0] ?? {},
591
- onStatisticField: F,
592
- outStatisticFieldName: T,
717
+ onStatisticField: h,
718
+ outStatisticFieldName: C,
593
719
  statisticType: r
594
720
  }
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)
721
+ ]) : delete f.query.outStatistics), f.y = R;
722
+ const x = a.series.find(
723
+ (S) => S.query?.outStatistics?.[0]?.onStatisticField === h && S.query.where === void 0 || S.query?.outStatistics === void 0 && (S.y === h || S.x === h)
598
724
  );
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({
725
+ if (x !== void 0 && typeof x.y == "string" && x.y.trim() !== "") {
726
+ (b(f) && b(x) || A(f) && A(x)) && W(f, x), a.colorMatch || (O(f) && O(x) ? f.fillSymbol = x.fillSymbol : (b(f) && b(x) || A(f) && A(x)) && (f.lineSymbol = x.lineSymbol, f.markerSymbol = x.markerSymbol), F = !0);
727
+ const S = Y({
602
728
  config: a,
603
729
  xAxisField: e,
604
730
  aggregationType: r,
605
- layerInfo: s,
606
- seriesIndex: d,
607
- commonStrings: n
731
+ layerInfo: i,
732
+ seriesIndex: u,
733
+ commonStrings: l
608
734
  });
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);
735
+ f.id = x.id, x.id !== S.id && x.name !== S.name && (f.id = x.id, f.name = x.name), f.assignToSecondValueAxis = x.assignToSecondValueAxis, f.type === v.HeatSeries && x.type === v.HeatSeries && (f.y = x.y, f.heatRulesType = x.heatRulesType);
610
736
  }
611
- u.push(c);
737
+ g.push(f);
612
738
  }
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)
739
+ const o = g.filter((u) => O(u)), c = g.filter(
740
+ (u) => b(u) || A(u)
741
+ ), m = a.series.filter((u) => O(u)), d = a.series.filter(
742
+ (u) => b(u) || A(u)
617
743
  );
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;
744
+ return m.length === 1 && o.length === 1 && !a.colorMatch && (O(m[0]) && O(o[0]) && (o[0].fillSymbol = m[0].fillSymbol), F = !0), d.length === 1 && c.length === 1 && ((b(d[0]) && b(c[0]) || A(d[0]) && A(c[0])) && W(c[0], d[0]), a.colorMatch || ((b(d[0]) && b(c[0]) || A(d[0]) && A(c[0])) && (c[0].lineSymbol = d[0].lineSymbol, c[0].markerSymbol = d[0].markerSymbol), F = !0)), a.colorMatch = !F, g;
619
745
  }
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,
746
+ function li(t) {
747
+ const { aggregationType: e, config: s, layerInfo: r, commonStrings: a } = t, { layerFieldsInfo: i, layer: l } = r, n = $(s), y = G(s), g = _(s), F = Z(s, r, a), o = Le(s, r, a);
748
+ if (s.series.forEach((c, m) => {
749
+ const d = Q({
750
+ config: s,
751
+ xAxisField: n,
752
+ numericFields: y,
753
+ aggregationType: e,
754
+ splitByField: g,
755
+ layer: l,
756
+ seriesIndex: m,
757
+ numericFieldIndex: m,
758
+ fieldList: i
759
+ }).name;
760
+ if (c.y = d, e !== L.NoAggregation) {
761
+ const u = ve({
762
+ splitByField: g,
763
+ numericFields: y,
764
+ layer: l,
765
+ seriesIndex: m
766
+ }), p = c.query?.outStatistics?.[0]?.onStatisticField ?? u;
767
+ c.query = {
768
+ ...c.query,
769
+ outStatistics: [
770
+ {
771
+ ...c.query?.outStatistics?.[0],
772
+ outStatisticFieldName: d,
773
+ statisticType: e,
774
+ onStatisticField: p
775
+ }
776
+ ]
777
+ };
778
+ } else
779
+ delete c.query?.outStatistics, !ue({ chartConfig: s }) && c.type === v.LineSeries && c.temporalBinning !== void 0 && delete c.temporalBinning;
780
+ }), F && s.title && (s.title.content.text = H(s, r, a)), o && s.series[0].type !== v.HeatSeries) {
781
+ const c = le({
782
+ config: s,
783
+ layerInfo: r,
784
+ commonStrings: a,
785
+ numericFields: y,
786
+ aggregationType: e
787
+ });
788
+ E(s, 1, c);
789
+ }
790
+ }
791
+ function Et(t) {
792
+ const {
627
793
  splitByField: e,
628
- fetchNullValues: m
794
+ xAxisField: s,
795
+ numericFields: r,
796
+ aggregationType: a,
797
+ config: i,
798
+ layerInfo: l,
799
+ commonStrings: n,
800
+ splitByFieldInfos: y
801
+ } = t, { layer: g, layerFieldsInfo: F } = l, { categoriesArray: o, splitByFieldType: c } = y, m = ve({
802
+ splitByField: e,
803
+ numericFields: r,
804
+ layer: g,
805
+ seriesIndex: 0
629
806
  });
630
- let d = [], p = !1;
631
- if (f.length === 0) {
632
- d = Te({
633
- xAxisField: i,
807
+ let d = [], u = !1;
808
+ if (o.length === 0) {
809
+ d = Ie({
810
+ xAxisField: s,
634
811
  numericFields: r,
635
812
  aggregationType: a,
636
- config: s,
637
- layerInfo: n,
638
- commonStrings: l
813
+ config: i,
814
+ layerInfo: l,
815
+ commonStrings: n
639
816
  });
640
- for (const T of d)
641
- T.query && (T.query.where = `${e}=''`);
817
+ for (const p of d)
818
+ p.query && (p.query.where = `${e}=''`);
642
819
  } else
643
- for (let T = 0; T < f.length; T += 1) {
644
- const F = f[T], c = J({
645
- config: s,
646
- xAxisField: i,
820
+ for (let p = 0; p < o.length; p += 1) {
821
+ const T = o[p], C = Q({
822
+ config: i,
823
+ xAxisField: s,
647
824
  numericFields: r,
648
825
  aggregationType: a,
649
- layer: n.layer,
650
- seriesIndex: T,
826
+ layer: l.layer,
827
+ seriesIndex: p,
651
828
  splitByField: e,
652
- fieldList: u
653
- }).name, h = M({
654
- config: s,
655
- xAxisField: i,
829
+ fieldList: F
830
+ }).name, h = Y({
831
+ config: i,
832
+ xAxisField: s,
656
833
  aggregationType: a,
657
- layerInfo: n,
658
- seriesIndex: T,
659
- commonStrings: l
660
- }), B = {
834
+ layerInfo: l,
835
+ seriesIndex: p,
836
+ commonStrings: n
837
+ }), f = xe({
838
+ queryObject: l.layer,
661
839
  fieldName: e,
662
- fieldValueToMatch: F ?? "",
663
- subtypeInfo: ce(n.layer),
664
- fieldList: n.layerFieldsInfo
665
- }, V = ye(B), K = `${F}`, x = {
840
+ fieldValue: T ?? ""
841
+ }), R = `${T}`, S = {
666
842
  ...h,
667
- id: K,
668
- name: V ?? K,
669
- y: c,
843
+ id: R,
844
+ name: f ?? R,
845
+ y: C,
670
846
  query: {
671
847
  ...h.query,
672
- where: `${e}=${S === ue.String && F !== null ? `'${F}'` : F}`,
673
- outStatistics: a !== v.NoAggregation ? [
848
+ where: `${e}=${c === ot.String && T !== null ? `'${T}'` : T}`,
849
+ outStatistics: a !== L.NoAggregation ? [
674
850
  {
675
851
  ...h.query?.outStatistics?.[0] ?? {},
676
- onStatisticField: g,
677
- outStatisticFieldName: c,
852
+ onStatisticField: m,
853
+ outStatisticFieldName: C,
678
854
  statisticType: a
679
855
  }
680
856
  ] : void 0
681
857
  }
682
858
  };
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
859
+ a === L.NoAggregation && (S.query !== void 0 && (delete S.query.outStatistics, delete S.query.groupByFieldsForStatistics), S.y = m);
860
+ const I = i.series.find(
861
+ (q) => String(be(q)).trim().replace(/'/gu, "") === R
686
862
  );
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);
863
+ I !== void 0 && ((b(S) && b(I) || A(S) && A(I)) && W(S, I), i.colorMatch || (O(S) && O(I) ? S.fillSymbol = I.fillSymbol : (b(S) && b(I) || A(S) && A(I)) && (S.lineSymbol = I.lineSymbol, S.markerSymbol = I.markerSymbol), u = !0), S.id = I.id, S.name = I.name, S.assignToSecondValueAxis = I.assignToSecondValueAxis), S.query && (S.query.fetchNullValues = i.series.some((q) => q.query?.fetchNullValues)), d.push(S);
688
864
  }
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({
865
+ return i.colorMatch = !u, d;
866
+ }
867
+ const ni = (t) => {
868
+ const {
869
+ xAxisFieldName: e,
870
+ splitByField: s,
871
+ numericFields: r,
872
+ aggregationType: a,
873
+ config: i,
874
+ layerInfo: l,
875
+ commonStrings: n,
876
+ splitByFieldInfos: y
877
+ } = t, { layerFieldsInfo: g } = l ?? {}, F = xt(i), o = $(i), c = g.find((B) => B.name === o), m = i.series[0].query?.fetchNullValues, d = "nullCategory" in i.series?.[0] ? i.series[0].nullCategory : void 0, u = i.series[0]?.query === void 0, p = g.find((B) => B.name === e), T = Z(i, l, n), C = Le(i, l, n), h = Mt(i, l);
878
+ let f = he(i);
879
+ const R = i.series.some((B) => O(B)), x = ft(i.series), S = St(i.series), I = oe(i), q = {};
880
+ I && (q.classBreaksRules = i.series[0]?.classBreaksRules, q.xTemporalBinning = i.series[0]?.xTemporalBinning, q.yTemporalBinning = i.series[0]?.yTemporalBinning, q.emptyCells = i.series[0]?.emptyCells, q.nullPolicy = i.nullPolicy);
881
+ let J = !1;
882
+ if (st(p) ? f = fe() : !me(c) && me(p) ? f = Se() : !j(c) && j(p) ? (f = Se(), J = !0) : j(c) && !j(p) && (R ? f = fe() : f = pt(), J = !0), f !== void 0 && ke(i, n, f), F === 0 && (i.series = [
883
+ Y({ config: i, xAxisField: e, aggregationType: a, layerInfo: l, commonStrings: n })
884
+ ]), i.series.forEach((B) => {
885
+ B.x = e, B.query !== void 0 && (B.query.groupByFieldsForStatistics = [e]);
886
+ }), s === "" || r.length > 1 ? Te({
704
887
  fieldName: e,
705
888
  numericFields: r,
706
- fieldList: o
707
- }) ? s.series = ht({
708
- config: s,
709
- layerInfo: n,
889
+ fieldList: g
890
+ }) ? i.series = Pt({
891
+ config: i,
892
+ layerInfo: l,
710
893
  xAxisField: e,
711
894
  numericFields: r,
712
895
  aggregationType: a,
713
- commonStrings: l
714
- }) : s.series = Te({
715
- config: s,
716
- layerInfo: n,
896
+ commonStrings: n
897
+ }) : i.series = Ie({
898
+ config: i,
899
+ layerInfo: l,
717
900
  xAxisField: e,
718
901
  numericFields: r,
719
902
  aggregationType: a,
720
- commonStrings: l
721
- }) : (await Promise.resolve(), s.series = await Tt({
722
- config: s,
723
- layerInfo: n,
724
- splitByField: i,
903
+ commonStrings: n
904
+ }) : y && (i.series = Et({
905
+ config: i,
906
+ layerInfo: l,
907
+ splitByField: s,
725
908
  xAxisField: e,
726
909
  numericFields: r,
727
910
  aggregationType: a,
728
- commonStrings: l
729
- })), S) {
730
- const h = O(o, e);
731
- R(s, 0, h);
911
+ commonStrings: n,
912
+ splitByFieldInfos: y
913
+ })), h && i.series[0].type !== v.HeatSeries) {
914
+ const B = D(g, e);
915
+ E(i, 0, B);
732
916
  }
733
- if (f) {
734
- const h = pe({
735
- config: s,
736
- layerInfo: n,
737
- commonStrings: l,
917
+ if (C && i.series[0].type !== v.HeatSeries) {
918
+ const B = le({
919
+ config: i,
920
+ layerInfo: l,
921
+ commonStrings: n,
738
922
  numericFields: r,
739
923
  aggregationType: a
740
924
  });
741
- R(s, 1, h);
925
+ E(i, 1, B);
742
926
  }
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);
927
+ if (T && i.title && (i.title.content.text = H(i, l, n)), N({ config: i, value: null, axisIndex: 1, isMax: !1 }), N({ config: i, value: null, axisIndex: 1, isMax: !0 }), wt({ numericFields: r, aggregationType: a, config: i, layerInfo: l }), (x || S) && (N({ config: i, value: null, axisIndex: 0, isMax: !1 }), N({ config: i, value: null, axisIndex: 0, isMax: !0 }), J && a !== L.NoAggregation)) {
928
+ const B = f?.type === v.DateAxisFormat ? U.Null : U.Interpolate;
929
+ bt(B, i);
747
930
  }
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));
931
+ I && (i.series[0].classBreaksRules = q.classBreaksRules, i.series[0].xTemporalBinning = q.xTemporalBinning, i.series[0].yTemporalBinning = q.yTemporalBinning, i.series[0].emptyCells = q.emptyCells, i.nullPolicy = q.nullPolicy), u ? i.series.forEach((B) => {
932
+ delete B.query;
933
+ }) : m && i.series.forEach((B) => {
934
+ B.query && (B.query.fetchNullValues = m);
935
+ }), d && i.series.forEach((B) => {
936
+ (B.type === v.BarSeries || B.type === v.LineSeries || B.type === v.RadarSeries) && (B.nullCategory = d);
937
+ });
938
+ }, W = (t, e) => {
939
+ t.markerVisible = e.markerVisible, t.lineSmoothed = e.lineSmoothed, t.showArea = e.showArea, t.areaColor = e.areaColor, t.stackNegativeValuesToBaseline = e.stackNegativeValuesToBaseline, e.lineSymbol && (t.lineSymbol = { ...e.lineSymbol, color: t.lineSymbol?.color }), e.markerSymbol && (t.markerSymbol = {
940
+ ...e.markerSymbol,
941
+ color: t.markerSymbol?.color
942
+ });
943
+ }, oi = (t) => {
944
+ const { config: e, seriesIndex: s, layerInfo: r, commonStrings: a } = t, i = e.series?.[s], l = _(e);
945
+ let n;
946
+ if (K(e.series) === w.BarAndLineFromFields)
947
+ n = a.axisLabels.values;
948
+ else if (qe(l)) {
949
+ const g = i.query?.outStatistics?.[0]?.onStatisticField;
950
+ g !== void 0 && g !== X(r.layer).idField && (n = D(r.layerFieldsInfo, g));
757
951
  } 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;
952
+ const g = String(be(i)).trim().replace(/'/gu, "");
953
+ n = xe({
954
+ queryObject: r.layer,
955
+ fieldName: l,
956
+ fieldValue: g ?? ""
957
+ }) ?? g;
765
958
  }
766
- return l ?? s.id;
767
- }, ss = (t, e) => {
768
- if (G(e))
769
- ft(t, e);
959
+ return n ?? i.id;
960
+ }, ui = (t, e) => {
961
+ if (oe(e))
962
+ Ot(t, e);
770
963
  else {
771
964
  e.orderOptions ??= {};
772
- const i = e.orderOptions?.data?.orderType;
773
- _(e)[0] === z.customSort && i === I.Category && (e.orderOptions.data = {
774
- orderType: I.Category,
965
+ const s = e.orderOptions?.data?.orderType;
966
+ ae(e)[0] === ee.customSort && s === V.Category && (e.orderOptions.data = {
967
+ orderType: V.Category,
775
968
  orderBy: [...t]
776
969
  });
777
970
  }
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;
971
+ }, ci = async (t) => {
972
+ const { config: e, layerInfo: s, errorStrings: r } = t, a = $(e), i = he(e)?.type, l = G(e), n = K(e.series);
973
+ let y = [];
974
+ return i === v.CategoryAxisFormat && (n === w.BarAndLineFromFields || a === te ? y = l.map((g) => D(s?.layerFieldsInfo, g)) : a.trim() !== "" && a !== te && s !== void 0 && (y = await Ne({
975
+ layerInfo: s,
976
+ config: e,
977
+ category: a,
978
+ errorStrings: r
979
+ }))), y;
786
980
  };
787
- function xt(t, e, i) {
788
- const r = Se(t, e, i), a = st(t), s = Y(t);
789
- return r === a || s;
981
+ function Z(t, e, s) {
982
+ const r = H(t, e, s), a = Tt(t), i = z(t);
983
+ return r === a || i;
790
984
  }
791
- function Bt(t, e, i) {
792
- const r = pe({
985
+ function Le(t, e, s) {
986
+ const r = le({
793
987
  config: t,
794
988
  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,
989
+ commonStrings: s,
990
+ numericFields: G(t),
991
+ aggregationType: Ae(t)
992
+ }), a = ce(1, t), i = z(t);
993
+ return r === a || i;
994
+ }
995
+ function Mt(t, e) {
996
+ const s = D(e.layerFieldsInfo, $(t)), r = ce(0, t), a = z(t);
997
+ return s === r || a;
998
+ }
999
+ function di(t) {
1000
+ return k(t.series[0]) ? t.series[0].binTemporalData ?? !0 : !1;
1001
+ }
1002
+ function yi(t, e) {
1003
+ ue({ chartConfig: e }) && e?.series.forEach((s) => {
1004
+ (s?.type === v.BarSeries || s?.type === v.LineSeries) && (s.binTemporalData = t, t ? s.temporalBinning = {
1005
+ unit: se.Day,
812
1006
  size: 0,
813
- timeAggregationType: Ae.Start,
1007
+ timeAggregationType: lt.Start,
814
1008
  trimIncompleteTimeInterval: !0,
815
- nullPolicy: E.Null
816
- } : delete i.temporalBinning);
1009
+ nullPolicy: U.Null
1010
+ } : delete s.temporalBinning);
817
1011
  });
818
1012
  }
819
1013
  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
1014
+ Ts as $,
1015
+ ui as A,
1016
+ ni as B,
1017
+ di as C,
1018
+ yi as D,
1019
+ H as E,
1020
+ Rt as F,
1021
+ bs as G,
1022
+ Qs as H,
1023
+ zs as I,
1024
+ vs as J,
1025
+ As as K,
1026
+ Ls as L,
1027
+ Is as M,
1028
+ _s as N,
1029
+ Gs as O,
1030
+ Zs as P,
1031
+ Js as Q,
1032
+ si as R,
1033
+ ii as S,
1034
+ ai as T,
1035
+ ri as U,
1036
+ Fs as V,
1037
+ hs as W,
1038
+ Vs as X,
1039
+ qs as Y,
1040
+ ks as Z,
1041
+ Ns as _,
1042
+ gs as a,
1043
+ xs as a0,
1044
+ Cs as a1,
1045
+ Bs as a2,
1046
+ Ds as a3,
1047
+ ws as a4,
1048
+ Ps as a5,
1049
+ Es as a6,
1050
+ Os as a7,
1051
+ Rs as a8,
1052
+ Ms as a9,
1053
+ Dt as aa,
1054
+ $s as ab,
1055
+ Ys as ac,
1056
+ Ws as ad,
1057
+ Xs as ae,
1058
+ Hs as af,
1059
+ js as ag,
1060
+ ti as ah,
1061
+ ei as ai,
1062
+ Us as aj,
1063
+ Ks as ak,
1064
+ ds as b,
1065
+ ys as c,
1066
+ G as d,
1067
+ _ as e,
1068
+ Ss as f,
1069
+ Ae as g,
1070
+ oi as h,
1071
+ ps as i,
1072
+ is as j,
1073
+ Bt as k,
1074
+ ns as l,
1075
+ as as m,
1076
+ os as n,
1077
+ rs as o,
1078
+ fs as p,
1079
+ us as q,
1080
+ At as r,
1081
+ Ct as s,
1082
+ ls as t,
1083
+ ms as u,
1084
+ bt as v,
1085
+ cs as w,
1086
+ li as x,
1087
+ ae as y,
1088
+ ci as z
888
1089
  };