@arcgis/charts-components 5.1.0-next.98 → 5.2.0-next.0

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 (544) hide show
  1. package/README.md +2 -2
  2. package/dist/cdn/{RKXV44WI.js → 244ZX2UP.js} +2 -2
  3. package/dist/cdn/2CKPKXNB.js +2 -0
  4. package/dist/cdn/{3OGKV4KZ.js → 2HGBRW4I.js} +2 -2
  5. package/dist/cdn/2RU466XY.js +2 -0
  6. package/dist/cdn/{WRNEDEFZ.js → 2X75KJPF.js} +2 -2
  7. package/dist/cdn/35COV7CA.js +2 -0
  8. package/dist/cdn/3EOJXLYW.js +2 -0
  9. package/dist/cdn/3HDCBEWA.js +102 -0
  10. package/dist/cdn/{MS6EYP4R.js → 3V4HRXIT.js} +2 -2
  11. package/dist/cdn/{QVD6LHQ2.js → 3VMHKSYP.js} +1 -1
  12. package/dist/cdn/{YZTAP3PR.js → 4C6KWLWN.js} +2 -2
  13. package/dist/cdn/4DN22Z2T.js +2 -0
  14. package/dist/cdn/{YQJLA77R.js → 4E7C5QPS.js} +2 -2
  15. package/dist/cdn/{KCILWIMQ.js → 4JQ2RRLY.js} +2 -2
  16. package/dist/cdn/4MT26NON.js +2 -0
  17. package/dist/cdn/4ONG3Z7W.js +2 -0
  18. package/dist/cdn/{BY77PBZ2.js → 4QQVKRJ5.js} +2 -2
  19. package/dist/cdn/{LZNL4CV3.js → 4USHOYLT.js} +2 -2
  20. package/dist/cdn/4WLT4SF2.js +2 -0
  21. package/dist/cdn/{2JPFAFHJ.js → 4Z23HWDH.js} +2 -2
  22. package/dist/cdn/{UJ7GGLFA.js → 4ZIZEJXS.js} +2 -2
  23. package/dist/cdn/{FSNQ3YXX.js → 53FG76LL.js} +2 -2
  24. package/dist/cdn/547RDEMV.js +2 -0
  25. package/dist/cdn/{FLSUJTUZ.js → 5AOYADA3.js} +2 -2
  26. package/dist/cdn/5MMDKA25.js +2 -0
  27. package/dist/cdn/5PBHJCIL.js +2 -0
  28. package/dist/cdn/{2MVU33EQ.js → 5ZGALYWZ.js} +2 -2
  29. package/dist/cdn/{3VMIFF7C.js → 66KSEDOR.js} +2 -2
  30. package/dist/cdn/{NXRLNLM4.js → 6B7JCDQC.js} +2 -2
  31. package/dist/cdn/6BUS62PQ.js +2 -0
  32. package/dist/cdn/6LTWEPUM.js +2 -0
  33. package/dist/cdn/74GWGGKE.js +2 -0
  34. package/dist/cdn/74JAZF7U.js +2 -0
  35. package/dist/cdn/{RHGKKMJG.js → 75P3QRL4.js} +2 -2
  36. package/dist/cdn/76ZTJWGM.js +2 -0
  37. package/dist/cdn/{I3BNBZ4D.js → 7ILH7ZG2.js} +2 -2
  38. package/dist/cdn/7JNA22OU.js +2 -0
  39. package/dist/cdn/{4VMTBYLY.js → 7LYAWWOE.js} +2 -2
  40. package/dist/cdn/{WQRZ7LGV.js → 7UQHB6KY.js} +2 -2
  41. package/dist/cdn/{FKZETVX5.js → A5GIBV5W.js} +2 -2
  42. package/dist/cdn/{GR4BZF3L.js → ABIVSH72.js} +2 -2
  43. package/dist/cdn/AHXJHLWG.js +2 -0
  44. package/dist/cdn/{X7ENJ4HH.js → AJBEE7WE.js} +2 -2
  45. package/dist/cdn/{FPDW4F45.js → AK7X7SGI.js} +2 -2
  46. package/dist/cdn/AUFCZ2VI.js +2 -0
  47. package/dist/cdn/{RRDNOR24.js → AY6IOQ3H.js} +2 -2
  48. package/dist/cdn/{B3HEXSCX.js → AZOBLYAP.js} +2 -2
  49. package/dist/cdn/{EVHJVY4I.js → B4KT2HUE.js} +2 -2
  50. package/dist/cdn/BAIMTE2A.js +2 -0
  51. package/dist/cdn/{HX4RTI3G.js → BBURKBKE.js} +2 -2
  52. package/dist/cdn/BI4UYGSS.js +2 -0
  53. package/dist/cdn/{Z5L2GNFQ.js → BJ7Q7LCT.js} +2 -2
  54. package/dist/cdn/BXXLVGNQ.js +2 -0
  55. package/dist/cdn/{DF2JGSK4.js → BXYNEUQY.js} +2 -2
  56. package/dist/cdn/C3ZSWQ3I.js +2 -0
  57. package/dist/cdn/{XTWWNXCJ.js → C5K6XOCR.js} +2 -2
  58. package/dist/cdn/{ANEY3G3T.js → CHLE2QGU.js} +2 -2
  59. package/dist/cdn/{GDFOZNYR.js → CHQDKVVQ.js} +3 -3
  60. package/dist/cdn/{INFEECC2.js → CNFBNAPJ.js} +2 -2
  61. package/dist/cdn/{JM6E3U5J.js → CODAXMWM.js} +2 -2
  62. package/dist/cdn/CXQOEN77.js +2 -0
  63. package/dist/cdn/{ZGRLFOVN.js → D3CFPMAR.js} +2 -2
  64. package/dist/cdn/DA7U5FLY.js +2 -0
  65. package/dist/cdn/{ALRIN5E5.js → DD4QUBOF.js} +2 -2
  66. package/dist/cdn/{NGLXQHZ2.js → DIKQ7BPQ.js} +2 -2
  67. package/dist/cdn/{C32DLPO2.js → DNTLH5RT.js} +2 -2
  68. package/dist/cdn/DPSPWVA2.js +2 -0
  69. package/dist/cdn/{SXJYUHC3.js → DSIFL2DF.js} +2 -2
  70. package/dist/cdn/DYC3Q36R.js +2 -0
  71. package/dist/cdn/E4SQHQBK.js +2 -0
  72. package/dist/cdn/ERSFBFQP.js +2 -0
  73. package/dist/cdn/{4F4XNNGS.js → ETLXX7MH.js} +43 -43
  74. package/dist/cdn/{WMSU5OWP.js → ETOGNYFU.js} +2 -2
  75. package/dist/cdn/EXTKNE2L.js +2 -0
  76. package/dist/cdn/EZV7JSQJ.js +2 -0
  77. package/dist/cdn/F22N7RZE.js +2 -0
  78. package/dist/cdn/FJFVM6MK.js +2 -0
  79. package/dist/cdn/FKH3OVSJ.js +2 -0
  80. package/dist/cdn/{COQ55XOW.js → FLO3N6JD.js} +2 -2
  81. package/dist/cdn/G2RDPRW6.js +2 -0
  82. package/dist/cdn/GGQP5JYM.js +2 -0
  83. package/dist/cdn/GJNWHFFY.js +2 -0
  84. package/dist/cdn/GKCSV5KX.js +2 -0
  85. package/dist/cdn/{X5TUHBXH.js → H2A5GZ55.js} +2 -2
  86. package/dist/cdn/H3VQJF7X.js +2 -0
  87. package/dist/cdn/H6NH46AS.js +2 -0
  88. package/dist/cdn/HOX7NZNG.js +2 -0
  89. package/dist/cdn/I2AGE5R2.js +2 -0
  90. package/dist/cdn/{GWPFABGL.js → I36OAVW3.js} +2 -2
  91. package/dist/cdn/{AVU2CHAB.js → I5VHQW7B.js} +2 -2
  92. package/dist/cdn/I6ILHZ4V.js +2 -0
  93. package/dist/cdn/I6ZAHATO.js +2 -0
  94. package/dist/cdn/IFUSMYSL.js +2 -0
  95. package/dist/cdn/{XSMRKVR2.js → IHO3OLL3.js} +2 -2
  96. package/dist/cdn/{577EV2JF.js → II2ZPEUZ.js} +2 -2
  97. package/dist/cdn/IMK7WGD3.js +2 -0
  98. package/dist/cdn/IU3JHT4C.js +4 -0
  99. package/dist/cdn/{43SJZXD3.js → J5NHXQLA.js} +2 -2
  100. package/dist/cdn/JJ2M4U57.js +2 -0
  101. package/dist/cdn/JN2ZWL6Y.js +2 -0
  102. package/dist/cdn/{7LOXDMX3.js → JNNB2DIA.js} +2 -2
  103. package/dist/cdn/JOI6WL3P.js +2 -0
  104. package/dist/cdn/{K7M5S6GY.js → JQKRGUBU.js} +2 -2
  105. package/dist/cdn/KDJ5RVHA.js +2 -0
  106. package/dist/cdn/KX7KGXKQ.js +2 -0
  107. package/dist/cdn/L4RUPWN7.js +2 -0
  108. package/dist/cdn/{3TPTF5I7.js → L7CMLBHB.js} +1 -1
  109. package/dist/cdn/LDLY2SF3.js +2 -0
  110. package/dist/cdn/LEK5TYY2.js +2 -0
  111. package/dist/cdn/LKLXYXQS.js +2 -0
  112. package/dist/cdn/LKY2A3U6.js +2 -0
  113. package/dist/cdn/{EIIQ2CSC.js → LNF44ZGQ.js} +2 -2
  114. package/dist/cdn/{BHNYXBUZ.js → LUSFGRHV.js} +2 -2
  115. package/dist/cdn/{47EOUNYO.js → M4AQLWZU.js} +2 -2
  116. package/dist/cdn/M7DJDXCP.js +2 -0
  117. package/dist/cdn/MHG42BA5.js +2 -0
  118. package/dist/cdn/MJCXQCOV.js +2 -0
  119. package/dist/cdn/MRSWVYMY.js +2 -0
  120. package/dist/cdn/{4QCCCXMK.js → MRTKZZTF.js} +2 -2
  121. package/dist/cdn/{HLSO5KDC.js → N3VOUI25.js} +2 -2
  122. package/dist/cdn/{HJW6UNEH.js → N6OT5IBC.js} +2 -2
  123. package/dist/cdn/{SWQ7K4X5.js → NAXNRCMZ.js} +2 -2
  124. package/dist/cdn/{THJTENN5.js → NFDXH5B3.js} +2 -2
  125. package/dist/cdn/{6HUDF5Q2.js → NG2IHVZ4.js} +2 -2
  126. package/dist/cdn/{BUCYRXMT.js → NHDVOYQ2.js} +2 -2
  127. package/dist/cdn/NI5ICKEY.js +2 -0
  128. package/dist/cdn/NS3THLCD.js +2 -0
  129. package/dist/cdn/{6ES4YKXX.js → NZR4L5AA.js} +2 -2
  130. package/dist/cdn/{ZL5EGDOW.js → O2ERVMSN.js} +2 -2
  131. package/dist/cdn/O3YTMAQX.js +2 -0
  132. package/dist/cdn/{NPVXLEZW.js → O6SNP6QE.js} +2 -2
  133. package/dist/cdn/{SOIF6AMX.js → OA7FHTCA.js} +2 -2
  134. package/dist/cdn/{7BDNLABD.js → OBPAQN4H.js} +1 -1
  135. package/dist/cdn/OBPXCFUE.js +2 -0
  136. package/dist/cdn/{VHOYFIGY.js → OJ5X6I3H.js} +2 -2
  137. package/dist/cdn/{NSRIVIOH.js → OYHKUGS6.js} +2 -2
  138. package/dist/cdn/P4HSSZRL.js +2 -0
  139. package/dist/cdn/P4T5TI3T.js +2 -0
  140. package/dist/cdn/{OLBJGP5C.js → P5AO3V3M.js} +2 -2
  141. package/dist/cdn/PAIRUVLU.js +2 -0
  142. package/dist/cdn/PD433VW7.js +2 -0
  143. package/dist/cdn/{S5EI7T2D.js → PH6UOHRS.js} +2 -2
  144. package/dist/cdn/Q3AILKYR.js +2 -0
  145. package/dist/cdn/{YAVQSNZ6.js → Q7J7EKQW.js} +2 -2
  146. package/dist/cdn/{EZM4ZDQI.js → QP5UAIC6.js} +1 -1
  147. package/dist/cdn/QPZNCW73.js +2 -0
  148. package/dist/cdn/QR5JSPMD.js +2 -0
  149. package/dist/cdn/{DNSUOJXJ.js → RDTBZUT7.js} +2 -2
  150. package/dist/cdn/RJN2Y6QR.js +2 -0
  151. package/dist/cdn/ROIT25TY.js +2 -0
  152. package/dist/cdn/{5TOYNVTW.js → SGOYJFLO.js} +2 -2
  153. package/dist/cdn/SOQJHUX7.js +2 -0
  154. package/dist/cdn/SOSPMFB6.js +2 -0
  155. package/dist/cdn/SP2IPHWF.js +2 -0
  156. package/dist/cdn/SSIG3VVL.js +2 -0
  157. package/dist/cdn/{MIVV22F3.js → TACQVUBU.js} +2 -2
  158. package/dist/cdn/THTYR6IL.js +2 -0
  159. package/dist/cdn/{F57IRWBF.js → TSI3C3OV.js} +2 -2
  160. package/dist/cdn/{PI6HSSQL.js → TXB2I2U5.js} +2 -2
  161. package/dist/cdn/TXSWWAOF.js +2 -0
  162. package/dist/cdn/{GBCL3LR7.js → TYUVXRBO.js} +2 -2
  163. package/dist/cdn/{QPIMTXPL.js → U67P6YAZ.js} +1 -1
  164. package/dist/cdn/{TX2SYGTH.js → UAZ34KDJ.js} +2 -2
  165. package/dist/cdn/UQN6IMJJ.js +2 -0
  166. package/dist/cdn/{MRTH2CHN.js → UT4TYXFO.js} +2 -2
  167. package/dist/cdn/UUBMII4X.js +2 -0
  168. package/dist/cdn/UUO3C7JX.js +2 -0
  169. package/dist/cdn/V7HFHWME.js +2 -0
  170. package/dist/cdn/V7TM2WGV.js +2 -0
  171. package/dist/cdn/{KSNCOD3U.js → VE3GFNNM.js} +2 -2
  172. package/dist/cdn/{LOX7MXL4.js → VFM2EV3M.js} +2 -2
  173. package/dist/cdn/VM7TU42Q.js +2 -0
  174. package/dist/cdn/{OEZ2XTZE.js → VOTZAPI3.js} +2 -2
  175. package/dist/cdn/{H6G4K2SI.js → VT4WJZN6.js} +2 -2
  176. package/dist/cdn/VY3KBD6N.js +2 -0
  177. package/dist/cdn/{XZO7WNPU.js → W7X6L2OB.js} +2 -2
  178. package/dist/cdn/WASEMNYV.js +2 -0
  179. package/dist/cdn/WBH5XG4U.js +2 -0
  180. package/dist/cdn/{AGJRXDBI.js → WMPWOPRZ.js} +2 -2
  181. package/dist/cdn/{S5OM65RV.js → WVRBLV5L.js} +1 -1
  182. package/dist/cdn/XCBRFRLO.js +2 -0
  183. package/dist/cdn/{W5WI6CWC.js → XG2KN6YJ.js} +2 -2
  184. package/dist/cdn/{G2L5FYWK.js → XIJ5VLER.js} +2 -2
  185. package/dist/cdn/XJFVSX2E.js +2 -0
  186. package/dist/cdn/XMMHYOKG.js +2 -0
  187. package/dist/cdn/{PF6HSS3J.js → XMPLEHTW.js} +2 -2
  188. package/dist/cdn/XQN3IPCF.js +2 -0
  189. package/dist/cdn/{BQOMKKBK.js → XUERYUEG.js} +2 -2
  190. package/dist/cdn/{B4ULOSFG.js → XWKBJDZT.js} +2 -2
  191. package/dist/cdn/Y3CXVO2M.js +2 -0
  192. package/dist/cdn/Y7HBWU3M.js +2 -0
  193. package/dist/cdn/{DXMV5YU3.js → YIIPYKTL.js} +2 -2
  194. package/dist/cdn/{A2SOXYD7.js → YJ6TRXMU.js} +2 -2
  195. package/dist/cdn/YYK7SPXC.js +2 -0
  196. package/dist/cdn/Z7EBST4A.js +3 -0
  197. package/dist/cdn/ZCIQS5VL.js +2 -0
  198. package/dist/cdn/{FW27X6ZH.js → ZFJFTDJF.js} +2 -2
  199. package/dist/cdn/{KBDOBMB5.js → ZFM5RGWD.js} +2 -2
  200. package/dist/cdn/ZIF2SLZ7.js +3 -0
  201. package/dist/cdn/ZPMBL64I.js +2 -0
  202. package/dist/cdn/{5WSLX3X6.js → ZQDADGLQ.js} +2 -2
  203. package/dist/cdn/ZSNIMQ53.js +2 -0
  204. package/dist/cdn/ZVZ2XDVU.js +2 -0
  205. package/dist/cdn/{U7L3L6IV.js → ZYOWZCR7.js} +2 -2
  206. package/dist/cdn/assets/charts-config-line-style/t9n/messages.ar.json +1 -1
  207. package/dist/cdn/assets/charts-config-line-style/t9n/messages.bg.json +1 -1
  208. package/dist/cdn/assets/charts-config-line-style/t9n/messages.bs.json +1 -1
  209. package/dist/cdn/assets/charts-config-line-style/t9n/messages.ca.json +1 -1
  210. package/dist/cdn/assets/charts-config-line-style/t9n/messages.cs.json +1 -1
  211. package/dist/cdn/assets/charts-config-line-style/t9n/messages.da.json +1 -1
  212. package/dist/cdn/assets/charts-config-line-style/t9n/messages.de.json +1 -1
  213. package/dist/cdn/assets/charts-config-line-style/t9n/messages.el.json +1 -1
  214. package/dist/cdn/assets/charts-config-line-style/t9n/messages.es.json +1 -1
  215. package/dist/cdn/assets/charts-config-line-style/t9n/messages.et.json +1 -1
  216. package/dist/cdn/assets/charts-config-line-style/t9n/messages.fi.json +1 -1
  217. package/dist/cdn/assets/charts-config-line-style/t9n/messages.fr.json +1 -1
  218. package/dist/cdn/assets/charts-config-line-style/t9n/messages.he.json +1 -1
  219. package/dist/cdn/assets/charts-config-line-style/t9n/messages.hr.json +1 -1
  220. package/dist/cdn/assets/charts-config-line-style/t9n/messages.hu.json +1 -1
  221. package/dist/cdn/assets/charts-config-line-style/t9n/messages.id.json +1 -1
  222. package/dist/cdn/assets/charts-config-line-style/t9n/messages.it.json +1 -1
  223. package/dist/cdn/assets/charts-config-line-style/t9n/messages.ja.json +1 -1
  224. package/dist/cdn/assets/charts-config-line-style/t9n/messages.ko.json +1 -1
  225. package/dist/cdn/assets/charts-config-line-style/t9n/messages.lt.json +1 -1
  226. package/dist/cdn/assets/charts-config-line-style/t9n/messages.lv.json +1 -1
  227. package/dist/cdn/assets/charts-config-line-style/t9n/messages.nl.json +1 -1
  228. package/dist/cdn/assets/charts-config-line-style/t9n/messages.no.json +1 -1
  229. package/dist/cdn/assets/charts-config-line-style/t9n/messages.pl.json +1 -1
  230. package/dist/cdn/assets/charts-config-line-style/t9n/messages.pt-BR.json +1 -1
  231. package/dist/cdn/assets/charts-config-line-style/t9n/messages.pt-PT.json +1 -1
  232. package/dist/cdn/assets/charts-config-line-style/t9n/messages.ro.json +1 -1
  233. package/dist/cdn/assets/charts-config-line-style/t9n/messages.ru.json +1 -1
  234. package/dist/cdn/assets/charts-config-line-style/t9n/messages.sk.json +1 -1
  235. package/dist/cdn/assets/charts-config-line-style/t9n/messages.sl.json +1 -1
  236. package/dist/cdn/assets/charts-config-line-style/t9n/messages.sr.json +1 -1
  237. package/dist/cdn/assets/charts-config-line-style/t9n/messages.sv.json +1 -1
  238. package/dist/cdn/assets/charts-config-line-style/t9n/messages.th.json +1 -1
  239. package/dist/cdn/assets/charts-config-line-style/t9n/messages.tr.json +1 -1
  240. package/dist/cdn/assets/charts-config-line-style/t9n/messages.uk.json +1 -1
  241. package/dist/cdn/assets/charts-config-line-style/t9n/messages.vi.json +1 -1
  242. package/dist/cdn/assets/charts-config-line-style/t9n/messages.zh-CN.json +1 -1
  243. package/dist/cdn/assets/charts-config-line-style/t9n/messages.zh-HK.json +1 -1
  244. package/dist/cdn/assets/charts-config-line-style/t9n/messages.zh-TW.json +1 -1
  245. package/dist/cdn/assets/common/t9n/messages.ar.json +1 -1
  246. package/dist/cdn/assets/common/t9n/messages.bg.json +1 -1
  247. package/dist/cdn/assets/common/t9n/messages.bs.json +1 -1
  248. package/dist/cdn/assets/common/t9n/messages.ca.json +1 -1
  249. package/dist/cdn/assets/common/t9n/messages.cs.json +1 -1
  250. package/dist/cdn/assets/common/t9n/messages.da.json +1 -1
  251. package/dist/cdn/assets/common/t9n/messages.de.json +1 -1
  252. package/dist/cdn/assets/common/t9n/messages.el.json +1 -1
  253. package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
  254. package/dist/cdn/assets/common/t9n/messages.es.json +1 -1
  255. package/dist/cdn/assets/common/t9n/messages.et.json +1 -1
  256. package/dist/cdn/assets/common/t9n/messages.fi.json +1 -1
  257. package/dist/cdn/assets/common/t9n/messages.fr.json +1 -1
  258. package/dist/cdn/assets/common/t9n/messages.he.json +1 -1
  259. package/dist/cdn/assets/common/t9n/messages.hr.json +1 -1
  260. package/dist/cdn/assets/common/t9n/messages.hu.json +1 -1
  261. package/dist/cdn/assets/common/t9n/messages.id.json +1 -1
  262. package/dist/cdn/assets/common/t9n/messages.it.json +1 -1
  263. package/dist/cdn/assets/common/t9n/messages.ja.json +1 -1
  264. package/dist/cdn/assets/common/t9n/messages.ko.json +1 -1
  265. package/dist/cdn/assets/common/t9n/messages.lt.json +1 -1
  266. package/dist/cdn/assets/common/t9n/messages.lv.json +1 -1
  267. package/dist/cdn/assets/common/t9n/messages.nl.json +1 -1
  268. package/dist/cdn/assets/common/t9n/messages.no.json +1 -1
  269. package/dist/cdn/assets/common/t9n/messages.pl.json +1 -1
  270. package/dist/cdn/assets/common/t9n/messages.pt-BR.json +1 -1
  271. package/dist/cdn/assets/common/t9n/messages.pt-PT.json +1 -1
  272. package/dist/cdn/assets/common/t9n/messages.ro.json +1 -1
  273. package/dist/cdn/assets/common/t9n/messages.ru.json +1 -1
  274. package/dist/cdn/assets/common/t9n/messages.sk.json +1 -1
  275. package/dist/cdn/assets/common/t9n/messages.sl.json +1 -1
  276. package/dist/cdn/assets/common/t9n/messages.sr.json +1 -1
  277. package/dist/cdn/assets/common/t9n/messages.sv.json +1 -1
  278. package/dist/cdn/assets/common/t9n/messages.th.json +1 -1
  279. package/dist/cdn/assets/common/t9n/messages.tr.json +1 -1
  280. package/dist/cdn/assets/common/t9n/messages.uk.json +1 -1
  281. package/dist/cdn/assets/common/t9n/messages.vi.json +1 -1
  282. package/dist/cdn/assets/common/t9n/messages.zh-CN.json +1 -1
  283. package/dist/cdn/assets/common/t9n/messages.zh-HK.json +1 -1
  284. package/dist/cdn/assets/common/t9n/messages.zh-TW.json +1 -1
  285. package/dist/cdn/index.js +2 -2
  286. package/dist/chart-rendering/common/interfaces.d.ts +3 -2
  287. package/dist/chunks/axis-lines-symbol.js +13 -13
  288. package/dist/chunks/axis-model-wrapper.js +1 -1
  289. package/dist/chunks/bar-chart-model.js +24 -51
  290. package/dist/chunks/bar-chart-series.js +11 -41
  291. package/dist/chunks/bg_BG.js +1 -1
  292. package/dist/chunks/box-plot-data.js +150 -171
  293. package/dist/chunks/box-plot-model.js +117 -109
  294. package/dist/chunks/chart-model.js +77 -104
  295. package/dist/chunks/chart-object-literals.js +189 -0
  296. package/dist/chunks/chart-ui-utils.js +18 -17
  297. package/dist/chunks/chart-ui-utils2.js +92 -118
  298. package/dist/chunks/class-breaks.js +376 -197
  299. package/dist/chunks/combo-bar-line-chart-model.js +11 -10
  300. package/dist/chunks/common.js +1 -1
  301. package/dist/chunks/data-labels-symbol.js +2 -2
  302. package/dist/chunks/data-labels-visibility.js +57 -85
  303. package/dist/chunks/data.js +81 -104
  304. package/dist/chunks/default.js +7 -8
  305. package/dist/chunks/gauge-model.js +209 -194
  306. package/dist/chunks/generate-x-axis-title.js +40 -67
  307. package/dist/chunks/heat-chart-model.js +188 -188
  308. package/dist/chunks/histogram-data.js +57 -81
  309. package/dist/chunks/histogram-model.js +25 -25
  310. package/dist/chunks/index.js +569 -20528
  311. package/dist/chunks/index2.js +8719 -597
  312. package/dist/chunks/index3.js +874 -161
  313. package/dist/chunks/index4.js +702 -77
  314. package/dist/chunks/index5.js +10795 -63
  315. package/dist/chunks/index6.js +103 -0
  316. package/dist/chunks/index7.js +66 -0
  317. package/dist/chunks/interfaces.js +32 -33
  318. package/dist/chunks/line-chart-model.js +26 -25
  319. package/dist/chunks/model-setter.js +41 -37
  320. package/dist/chunks/model-types.js +43 -0
  321. package/dist/chunks/model-with-line-marker-styling.js +1 -1
  322. package/dist/chunks/model-with-x-guides.js +1 -1
  323. package/dist/chunks/model-with-y-guides.js +90 -117
  324. package/dist/chunks/negative-values-stacked-to-baseline.js +51 -80
  325. package/dist/chunks/pie-chart-data.js +89 -111
  326. package/dist/chunks/pie-chart-model.js +64 -87
  327. package/dist/chunks/popover-ui-utils.js +1 -1
  328. package/dist/chunks/radar-chart-model.js +37 -64
  329. package/dist/chunks/resource.js +9 -11
  330. package/dist/chunks/resources.js +1 -1
  331. package/dist/chunks/rest-js-object-literals.js +1 -1
  332. package/dist/chunks/rotated-state.js +32 -47
  333. package/dist/chunks/runtime.js +2 -2
  334. package/dist/chunks/scatterplot-model.js +57 -79
  335. package/dist/chunks/serial-chart-data.js +761 -687
  336. package/dist/chunks/serial-chart-model.js +202 -218
  337. package/dist/chunks/series-length.js +26 -54
  338. package/dist/chunks/series-types.js +22 -206
  339. package/dist/chunks/series.js +10 -39
  340. package/dist/chunks/store.js +1 -1
  341. package/dist/chunks/time-zone.js +23 -24
  342. package/dist/chunks/type-guards.js +24 -133
  343. package/dist/chunks/type-guards2.js +101 -192
  344. package/dist/chunks/type-guards3.js +173 -0
  345. package/dist/chunks/useT9n.js +1 -1
  346. package/dist/chunks/utils.js +106 -125
  347. package/dist/chunks/utils2.js +35 -64
  348. package/dist/chunks/web-component-utils.js +519 -365
  349. package/dist/chunks/x-bounds.js +74 -100
  350. package/dist/components/arcgis-chart/customElement.d.ts +57 -21
  351. package/dist/components/arcgis-chart/customElement.js +7346 -7275
  352. package/dist/components/arcgis-charts-action-bar/customElement.d.ts +14 -0
  353. package/dist/components/arcgis-charts-action-bar/customElement.js +10 -11
  354. package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
  355. package/dist/components/arcgis-charts-config-axis/customElement.js +11 -12
  356. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +37 -64
  357. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +48 -71
  358. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +34 -55
  359. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +38 -65
  360. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +16 -44
  361. package/dist/components/arcgis-charts-config-box-plot/customElement.js +13 -40
  362. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +88 -112
  363. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +42 -66
  364. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +14 -41
  365. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +23 -50
  366. package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
  367. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +18 -46
  368. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  369. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  370. package/dist/components/arcgis-charts-config-create-flow/customElement.js +48 -68
  371. package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
  372. package/dist/components/arcgis-charts-config-font-style/customElement.js +22 -49
  373. package/dist/components/arcgis-charts-config-format/customElement.js +58 -85
  374. package/dist/components/arcgis-charts-config-format-popover/customElement.js +13 -45
  375. package/dist/components/arcgis-charts-config-general/customElement.js +30 -56
  376. package/dist/components/arcgis-charts-config-guide/customElement.js +45 -69
  377. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +23 -55
  378. package/dist/components/arcgis-charts-config-guides/customElement.js +2 -4
  379. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +11 -40
  380. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +30 -57
  381. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +152 -174
  382. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +53 -76
  383. package/dist/components/arcgis-charts-config-histogram/customElement.js +35 -62
  384. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +63 -86
  385. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +25 -49
  386. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
  387. package/dist/components/arcgis-charts-config-line-chart/customElement.js +28 -55
  388. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +24 -47
  389. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +47 -70
  390. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +34 -62
  391. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +15 -43
  392. package/dist/components/arcgis-charts-config-line-style/customElement.js +10 -12
  393. package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
  394. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +29 -56
  395. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +25 -50
  396. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +43 -67
  397. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +39 -66
  398. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +16 -44
  399. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +35 -62
  400. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +33 -56
  401. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +17 -43
  402. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +11 -39
  403. package/dist/components/arcgis-charts-config-view-charts/customElement.js +22 -51
  404. package/dist/components/arcgis-charts-info-modal/customElement.js +25 -50
  405. package/dist/docs/api.json +1 -1
  406. package/dist/docs/docs.json +1 -1
  407. package/dist/docs/vscode.html-custom-data.json +1 -1
  408. package/dist/docs/web-types.json +1 -1
  409. package/dist/index.d.ts +57 -3
  410. package/dist/index.js +471 -461
  411. package/dist/json-schema/index.d.ts +4757 -4709
  412. package/dist/loader.js +3 -3
  413. package/dist/model/box-plot-model/box-plot-model.d.ts +12 -12
  414. package/dist/model/chart-model/chart-model-base.d.ts +2 -2
  415. package/dist/model/gauge-model/gauge-model.d.ts +25 -7
  416. package/dist/model/heat-chart-model/heat-chart-model.d.ts +9 -2
  417. package/dist/model/interfaces/chart-interfaces.d.ts +5 -2
  418. package/dist/model/line-chart-model/line-chart-model.d.ts +3 -3
  419. package/dist/model/pie-chart-model/pie-chart-model.d.ts +6 -6
  420. package/dist/model/properties/axes/x-axis/x-bounds.d.ts +2 -3
  421. package/dist/model/properties/rotated-state.d.ts +6 -0
  422. package/dist/model/properties/time-zone.d.ts +1 -11
  423. package/dist/model/shared/setup-utils.d.ts +5 -2
  424. package/dist/model.js +78 -40
  425. package/dist/spec/chart-object-literals.d.ts +1 -0
  426. package/dist/spec/web-chart.d.ts +48 -3
  427. package/dist/types/lumina.d.ts +1 -1
  428. package/dist/types/preact.d.ts +1 -1
  429. package/dist/types/react.d.ts +1 -1
  430. package/dist/types/stencil.d.ts +1 -1
  431. package/dist/utils/chart-config/converter/index.d.ts +2 -1
  432. package/dist/utils/chart-config/utils/index.d.ts +13 -9
  433. package/dist/utils/chart-config/validator/interfaces.d.ts +1 -1
  434. package/dist/utils/components/themes.d.ts +8 -0
  435. package/dist/utils/data/categorical-data/index.d.ts +4 -1
  436. package/dist/utils/data/index.d.ts +16 -8
  437. package/dist/utils/defaults/index.d.ts +22 -2
  438. package/dist/utils/layer/index.d.ts +27 -8
  439. package/dist/utils/layer/query-features/index.d.ts +20 -3
  440. package/dist/utils/layer/query-parser/index.d.ts +4 -2
  441. package/dist/utils/layer/utils/index.d.ts +21 -8
  442. package/dist/utils/localization/interfaces.d.ts +14 -0
  443. package/dist/utils/type-guards/index.d.ts +9 -1
  444. package/package.json +8 -7
  445. package/dist/cdn/2L4KRFAO.js +0 -2
  446. package/dist/cdn/2WMGX4LG.js +0 -2
  447. package/dist/cdn/3LHIBPWU.js +0 -2
  448. package/dist/cdn/3NHSJC2V.js +0 -2
  449. package/dist/cdn/3TYKSX6S.js +0 -2
  450. package/dist/cdn/4A46GMQH.js +0 -2
  451. package/dist/cdn/4AP7OF2H.js +0 -2
  452. package/dist/cdn/4MGAAHBF.js +0 -2
  453. package/dist/cdn/533OIYHT.js +0 -2
  454. package/dist/cdn/54JMGDNM.js +0 -2
  455. package/dist/cdn/6WQO34EX.js +0 -2
  456. package/dist/cdn/7BIC7WRS.js +0 -2
  457. package/dist/cdn/7JYYEL7C.js +0 -2
  458. package/dist/cdn/ABRBND33.js +0 -2
  459. package/dist/cdn/AKNI6ZDM.js +0 -2
  460. package/dist/cdn/B5DED64I.js +0 -2
  461. package/dist/cdn/BDROQPZY.js +0 -2
  462. package/dist/cdn/BGHKBRAY.js +0 -2
  463. package/dist/cdn/BIBH7Z6B.js +0 -2
  464. package/dist/cdn/BYMLWT4F.js +0 -2
  465. package/dist/cdn/C6VFUQYR.js +0 -2
  466. package/dist/cdn/CBAUBDVW.js +0 -2
  467. package/dist/cdn/CJPYRPNG.js +0 -2
  468. package/dist/cdn/DOKKZWPP.js +0 -2
  469. package/dist/cdn/DQOPCAYH.js +0 -2
  470. package/dist/cdn/ETKEDYJI.js +0 -2
  471. package/dist/cdn/ETLJKITO.js +0 -2
  472. package/dist/cdn/FPOY54UW.js +0 -2
  473. package/dist/cdn/FSPMT24F.js +0 -2
  474. package/dist/cdn/FTTFIYT7.js +0 -2
  475. package/dist/cdn/FXE7IJTK.js +0 -2
  476. package/dist/cdn/FXXKMSX7.js +0 -2
  477. package/dist/cdn/GCLBISUU.js +0 -2
  478. package/dist/cdn/GG4V6IWC.js +0 -2
  479. package/dist/cdn/GN55TJMJ.js +0 -2
  480. package/dist/cdn/GOCPXSNF.js +0 -2
  481. package/dist/cdn/GR2MDXNR.js +0 -2
  482. package/dist/cdn/GSIQ3AM5.js +0 -100
  483. package/dist/cdn/HAPHXGDG.js +0 -2
  484. package/dist/cdn/HRWT2MVN.js +0 -2
  485. package/dist/cdn/HZLHE35F.js +0 -2
  486. package/dist/cdn/IYAA5JNA.js +0 -2
  487. package/dist/cdn/J34XNLVV.js +0 -2
  488. package/dist/cdn/JII3X6GD.js +0 -2
  489. package/dist/cdn/JIJTDQNZ.js +0 -2
  490. package/dist/cdn/JP5QECNE.js +0 -2
  491. package/dist/cdn/JQAYCBRF.js +0 -2
  492. package/dist/cdn/JUTIXOZ7.js +0 -2
  493. package/dist/cdn/JXUQXIWS.js +0 -2
  494. package/dist/cdn/KDU3ISRJ.js +0 -2
  495. package/dist/cdn/KHK4ESCR.js +0 -2
  496. package/dist/cdn/KYO65OVO.js +0 -2
  497. package/dist/cdn/KZQPT32K.js +0 -2
  498. package/dist/cdn/L5ESAQAD.js +0 -2
  499. package/dist/cdn/LRLFI235.js +0 -2
  500. package/dist/cdn/LTPICGE4.js +0 -2
  501. package/dist/cdn/M6AWZ4GQ.js +0 -2
  502. package/dist/cdn/N3QESBWD.js +0 -2
  503. package/dist/cdn/N72JHWOW.js +0 -2
  504. package/dist/cdn/NJOCWENE.js +0 -2
  505. package/dist/cdn/NLPIWZ6O.js +0 -2
  506. package/dist/cdn/OG6XNLNH.js +0 -2
  507. package/dist/cdn/OGYHFMDK.js +0 -2
  508. package/dist/cdn/OM2N4R7B.js +0 -2
  509. package/dist/cdn/OSLQS2GQ.js +0 -2
  510. package/dist/cdn/OXOPYUOS.js +0 -2
  511. package/dist/cdn/PDXLVDA2.js +0 -2
  512. package/dist/cdn/PE5WVBYF.js +0 -2
  513. package/dist/cdn/PECU6KQ5.js +0 -2
  514. package/dist/cdn/PHSAVE6E.js +0 -2
  515. package/dist/cdn/PMSMMLY4.js +0 -2
  516. package/dist/cdn/PSDHB4WG.js +0 -2
  517. package/dist/cdn/PZAAA62R.js +0 -2
  518. package/dist/cdn/QCLX4TIM.js +0 -2
  519. package/dist/cdn/QCNYOXG2.js +0 -2
  520. package/dist/cdn/QNEGICXV.js +0 -2
  521. package/dist/cdn/QQNMK2QL.js +0 -2
  522. package/dist/cdn/RK3BAJOA.js +0 -2
  523. package/dist/cdn/SCVQSDX5.js +0 -2
  524. package/dist/cdn/T5RPAQYI.js +0 -2
  525. package/dist/cdn/TCJ5YAK5.js +0 -2
  526. package/dist/cdn/TNXVGUYE.js +0 -2
  527. package/dist/cdn/TQG6RDX5.js +0 -2
  528. package/dist/cdn/URBTZGXF.js +0 -2
  529. package/dist/cdn/URX6VCYJ.js +0 -2
  530. package/dist/cdn/VFNQXIXU.js +0 -2
  531. package/dist/cdn/VFULMUE5.js +0 -2
  532. package/dist/cdn/VRCCFTGJ.js +0 -2
  533. package/dist/cdn/W553UCBH.js +0 -4
  534. package/dist/cdn/WMLNHOVN.js +0 -2
  535. package/dist/cdn/WTPRSRPB.js +0 -2
  536. package/dist/cdn/XEDWXXF3.js +0 -2
  537. package/dist/cdn/Y4DORYPQ.js +0 -2
  538. package/dist/cdn/YEOSKZ4Q.js +0 -2
  539. package/dist/cdn/ZAKAJKUI.js +0 -2
  540. package/dist/cdn/ZNOJBKUZ.js +0 -2
  541. package/dist/chunks/setup-utils.js +0 -79
  542. package/dist/model/index.d.ts +0 -19
  543. package/dist/spec/index.d.ts +0 -8
  544. package/dist/utils/index.d.ts +0 -33
@@ -1,131 +1,174 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import { substitute as R } from "@arcgis/core/intl.js";
3
- import { cloneDeep as ie, isEmpty as Ae, memoize as ve } from "lodash-es";
4
- import "@arcgis/toolkit/type";
5
- import { w as fe, u as A, r as I, k as Ie, n as L, m as K, p as Le, t as qe, s as G } from "./series-types.js";
6
- import { i as Ve, R as Ne } from "./rest-js-object-literals.js";
7
- import { da as Z, dc as Oe, d0 as ke, dY as De, a1 as we, aq as Y, ea as Re, ed as Pe, R as Me, C as D, c8 as se, e4 as Ee, h as $e, c7 as Ye, a8 as Xe, br as We, cX as He, an as Ke, l as Ue, dI as je, $ as V, d2 as Qe, ee as _e, _ as ze, ef as oe, dG as Ge, eg as Ze, dC as Je, B as et, cY as j, bn as w, eb as tt, e8 as U, bK as X, bq as Se, ay as it, e9 as ae, cH as st, x as J, d5 as at, dd as ue, cK as H, a_ as rt, b9 as nt, bw as lt, aC as ot, cT as ce, aH as de, aM as ye, b1 as ut } from "./index.js";
8
- import "@arcgis/toolkit/intl";
9
- import "luxon";
10
- import "@arcgis/core/Graphic.js";
11
- import "@arcgis/core/renderers/support/jsonUtils.js";
12
- import "@arcgis/core/symbols/support/symbolUtils.js";
13
- import "@arcgis/core/layers/support/FeatureFilter.js";
14
- import "@arcgis/core/smartMapping/statistics/histogram.js";
15
- import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
16
- import "@arcgis/core/AttributeBinsGraphic.js";
17
- import "@arcgis/core/layers/support/CodedValueDomain.js";
18
- import "simple-statistics";
19
- import "@arcgis/core/request.js";
20
- import "@arcgis/core/core/sql.js";
21
- import "@arcgis/core/geometry/support/jsonUtils.js";
22
- import "@arcgis/core/rest/support/AttributeBinsQuery.js";
23
- import "@arcgis/core/rest/support/Query.js";
24
- import "@arcgis/core/rest/support/StatisticDefinition.js";
25
- import "@arcgis/core/time/TimeExtent.js";
26
- import "@arcgis/core/core/promiseUtils.js";
27
- import "./runtime.js";
28
- import { h as Fe, i as N, j as ct, m as dt, g as B, l as C, e as me } from "./index4.js";
29
- import "@arcgis/core/applications/Components/imageryUtils.js";
30
- import "@arcgis/core/geometry/Extent.js";
31
- import "@arcgis/core/geometry/Point.js";
32
- import "@arcgis/toolkit/dom";
33
- import { s as q, u as P, g as re, d as he, e as yt, f as mt, j as ge } from "./utils.js";
34
- import { S as ee } from "./common.js";
35
- import "@esri/arcgis-html-sanitizer";
36
- import { g as M, c as Te, a as Q, e as pe, f as gt } from "./data.js";
37
- import { a as pt } from "./index2.js";
38
- import { g as ne } from "./utils2.js";
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import { substitute as P } from "@arcgis/core/intl.js";
3
+ import { cloneDeep as ae, isEmpty as Ie, memoize as Le } from "lodash-es";
4
+ import { S as J } from "./common.js";
5
+ import { s as N, u as E, g as re, d as Fe, e as Ve, f as qe, j as ce } from "./utils.js";
6
+ import { w as R, bW as Ne, bl as Re, x as ke, Y, c4 as Oe, c7 as De, p as we, aH as le, c0 as Pe, d as Ee, aG as Me, I as $e, a7 as We, bj as Ye, W as Xe, e as je, bm as He, c8 as Ke, v as Ue, c9 as de, bK as Qe, ca as ze, bG as Ge, B as _e, c5 as Ze, an as X, a6 as he, c3 as ne, b9 as Je, k as ee, bo as et, bs as ye, ba as H, bg as me } from "./index2.js";
7
+ import { a as M, c as xe, g as Q, e as ge, f as tt } from "./data.js";
8
+ import { g as Te } from "./series-types.js";
9
+ import { u as v, r as V, k as st, n as q, m as K, p as it, t as at, s as te } from "./chart-object-literals.js";
10
+ import { C as D, d as w, F as U } from "./index3.js";
11
+ import { a as rt } from "./index4.js";
12
+ import { h as Be, i as O, j as lt, n as nt, g as b, m as A, e as pe } from "./index6.js";
13
+ import { c as se, e as ot } from "./type-guards.js";
14
+ 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";
15
+ import { g as oe } from "./utils2.js";
39
16
  import { b as ft, a as St } from "./series-length.js";
40
- function Ti(t, e) {
41
- let i;
42
- return e !== void 0 && (i = { ...e }, i.legend !== void 0 && (i.legend.position = t)), i;
17
+ import { i as Ft, R as ht } from "./rest-js-object-literals.js";
18
+ import { i as z } from "./index5.js";
19
+ const ts = (t) => {
20
+ let e;
21
+ const s = t.series[0];
22
+ return R(s) && (e = s.temporalBinning?.size), e;
23
+ }, xt = (t) => {
24
+ let e;
25
+ const s = t.series[0];
26
+ return R(s) && (e = s.temporalBinning?.unit), e;
27
+ }, ss = (t) => {
28
+ let e;
29
+ const s = t.series[0];
30
+ return R(s) && (e = s.temporalBinning?.timeAggregationType), e;
31
+ }, is = (t) => {
32
+ let e;
33
+ const s = t.series[0];
34
+ return R(s) && (e = s.temporalBinning?.trimIncompleteTimeInterval), e;
35
+ }, as = (t) => {
36
+ let e;
37
+ const s = t.series[0];
38
+ return R(s) && (e = s.temporalBinning?.nullPolicy), e;
39
+ }, Tt = (t, e) => {
40
+ e?.series?.forEach((s) => {
41
+ R(s) && (s.temporalBinning ??= {}, s.temporalBinning.size = t);
42
+ }), N({ config: e, value: null, axisIndex: 1, isMax: !1 }), N({ config: e, value: null, axisIndex: 1, isMax: !0 });
43
+ }, Bt = (t, e) => {
44
+ e?.series?.forEach((s) => {
45
+ R(s) && (s.temporalBinning ??= {}, s.temporalBinning.nullPolicy = t);
46
+ }), N({ config: e, value: null, axisIndex: 1, isMax: !1 }), N({ config: e, value: null, axisIndex: 1, isMax: !0 });
47
+ }, rs = (t, e) => {
48
+ e.series?.forEach((s) => {
49
+ R(s) && (s.temporalBinning ??= {}, s.temporalBinning.unit = t);
50
+ }), N({ config: e, value: null, axisIndex: 1, isMax: !1 }), N({ config: e, value: null, axisIndex: 1, isMax: !0 });
51
+ }, ls = (t, e) => {
52
+ e.series?.forEach((s) => {
53
+ R(s) && (s.temporalBinning ??= {}, s.temporalBinning.timeAggregationType = t);
54
+ }), N({ config: e, value: null, axisIndex: 1, isMax: !1 }), N({ config: e, value: null, axisIndex: 1, isMax: !0 });
55
+ }, ns = (t, e) => {
56
+ e.series?.forEach((s) => {
57
+ R(s) && (s.temporalBinning ??= {}, s.temporalBinning.trimIncompleteTimeInterval = t);
58
+ }), N({ config: e, value: null, axisIndex: 1, isMax: !1 }), N({ config: e, value: null, axisIndex: 1, isMax: !0 });
59
+ }, os = (t) => {
60
+ Tt(0, t);
61
+ };
62
+ function us(t, e) {
63
+ let s;
64
+ return e !== void 0 && (s = { ...e }, s.legend !== void 0 && (s.legend.position = t)), s;
43
65
  }
44
- function xi(t, e) {
45
- let i;
46
- return e !== void 0 && (i = { ...e }, i.legend !== void 0 && (i.legend.visible = t)), i;
66
+ function cs(t, e) {
67
+ let s;
68
+ return e !== void 0 && (s = { ...e }, s.legend !== void 0 && (s.legend.visible = t)), s;
47
69
  }
48
- function Bi(t, e) {
49
- let i;
50
- return e !== void 0 && (i = { ...e, rotated: t }), i;
70
+ function ds(t, e) {
71
+ let s;
72
+ return e !== void 0 && (s = { ...e, rotated: t }), s;
51
73
  }
52
- function Ft(t) {
74
+ function Ct(t) {
53
75
  let e;
54
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;
55
77
  }
56
- function Ci(t, e) {
57
- return e != null || Fe(t);
78
+ function ys(t, e) {
79
+ return e != null || Be(t);
58
80
  }
59
- async function bi(t, e) {
60
- let i = !1;
61
- return Z(e) || Oe(t) ? t && Z(e) && (i = await ke(t, e)) : i = !0, i;
81
+ async function ms(t) {
82
+ const { config: e, layer: s, abortSignal: r } = t;
83
+ let a = !1;
84
+ return se(s) || ot(e) ? e && se(s) && (a = await Re({ config: e, layer: s, abortSignal: r })) : a = !0, a;
62
85
  }
63
- async function ht(t) {
64
- const { queryObject: e, chartConfig: i, options: r, splitByField: a } = t;
65
- let s = [], n;
66
- const l = ie(i), u = l.series[0], c = Ue({
86
+ async function bt(t) {
87
+ const {
67
88
  queryObject: e,
68
- chartConfig: l,
69
- runtimeDataFilters: r?.runtimeDataFilters,
70
- ignoreViewExtent: r?.ignoreViewExtent
89
+ chartConfig: s,
90
+ splitByField: r,
91
+ errorStrings: a,
92
+ abortSignal: i,
93
+ runtimeDataFilters: n,
94
+ ignoreViewExtent: o,
95
+ setTimeBinningInfoWhenNotProvided: c,
96
+ returnFeaturesExtent: m,
97
+ chartLimits: F
98
+ } = t;
99
+ let l = [], g;
100
+ const d = ae(s), y = d.series[0], u = je({
101
+ queryObject: e,
102
+ chartConfig: d,
103
+ runtimeDataFilters: n,
104
+ ignoreViewExtent: o
71
105
  });
72
- if (c.outStatistics?.[0]?.outStatisticFieldName && (c.outStatistics[0].outStatisticFieldName = je.outStatistics.outStatisticFieldName), V(u) && Qe({
73
- xAxisValueFormatType: _e(l),
74
- setTimeBinningInfoWhenNotProvided: r?.setTimeBinningInfoWhenNotProvided,
75
- seriesConfig: u,
106
+ if (u.outStatistics?.[0]?.outStatisticFieldName && (u.outStatistics[0].outStatisticFieldName = ut.outStatistics.outStatisticFieldName), R(y) && He({
107
+ xAxisValueFormatType: Ke(d),
108
+ setTimeBinningInfoWhenNotProvided: c,
109
+ seriesConfig: y,
76
110
  queryObject: e
77
- }) && ze(a, e)) {
78
- const { temporalBinning: S, x: o } = u, { uniqueQuery: y } = oe({
79
- chartConfig: l,
80
- queryConfig: c,
111
+ }) && Ue(r, e)) {
112
+ const { temporalBinning: p, x: B } = y, { uniqueQuery: C } = de({
113
+ chartConfig: d,
114
+ queryConfig: u,
81
115
  queryObject: e,
82
- options: r
83
- }), m = i.axes?.[0].valueFormat.type === A.DateAxisFormat ? i.axes[0].valueFormat.intlOptions.timeZone : void 0;
84
- n = await Ge({
116
+ setTimeBinningInfoWhenNotProvided: c,
117
+ returnFeaturesExtent: m,
118
+ chartLimits: F
119
+ }), h = s.axes?.[0].valueFormat.type === v.DateAxisFormat ? s.axes[0].valueFormat.intlOptions.timeZone : void 0;
120
+ g = await Qe({
85
121
  queryObject: e,
86
- dateField: o,
87
- splitByField: a,
88
- queryConfig: y,
89
- axisTimeZone: m,
90
- temporalBinning: S
91
- }), s = Array.from(
122
+ dateField: B,
123
+ splitByField: r,
124
+ queryConfig: C,
125
+ axisTimeZone: h,
126
+ temporalBinning: p,
127
+ errorStrings: a,
128
+ abortSignal: i
129
+ }), l = Array.from(
92
130
  new Set(
93
- n.flatMap((p) => {
94
- const { stackedAttributes: d } = p;
95
- let f = [];
96
- return d && (f = d.map((x) => x[a]).filter((x) => x !== void 0)), f;
131
+ g.flatMap((f) => {
132
+ const { stackedAttributes: k } = f;
133
+ let x = [];
134
+ return k && (x = k.map((S) => S[r]).filter((S) => S !== void 0)), x;
97
135
  })
98
136
  ).values()
99
137
  );
100
138
  } else {
101
- const { uniqueQuery: S } = oe({
102
- chartConfig: l,
139
+ const { uniqueQuery: p } = de({
140
+ chartConfig: d,
103
141
  queryObject: e,
104
- queryConfig: c,
105
- options: r
106
- }), { elementCount: o } = await Ze({
107
- chartConfig: l,
142
+ queryConfig: u,
143
+ setTimeBinningInfoWhenNotProvided: c,
144
+ returnFeaturesExtent: m,
145
+ chartLimits: F
146
+ }), { elementCount: B } = await ze({
147
+ chartConfig: d,
108
148
  queryObject: e,
109
- queryConfig: c,
110
- behaviorAfterLimit: r?.chartLimits?.behaviorAfterLimit,
111
- numberMaxOfFeaturesToFetch: S.num
149
+ queryConfig: u,
150
+ behaviorAfterLimit: F?.behaviorAfterLimit,
151
+ numberMaxOfFeaturesToFetch: p.num,
152
+ abortSignal: i
112
153
  });
113
- n = await Je({
154
+ g = await Ge({
114
155
  queryObject: e,
115
- queryConfig: S,
116
- featureCount: o
117
- }), s = Array.from(
156
+ queryConfig: p,
157
+ featureCount: B,
158
+ errorStrings: a,
159
+ abortSignal: i
160
+ }), l = Array.from(
118
161
  new Set(
119
- n.map((y) => y.attributes[a]).filter((y) => y !== void 0)
162
+ g.map((C) => C.attributes[r]).filter((C) => C !== void 0)
120
163
  ).values()
121
164
  );
122
165
  }
123
- return { allValues: s, preFetchedQueryResponse: n };
166
+ return { allValues: l, preFetchedQueryResponse: g };
124
167
  }
125
- function Tt(t, e) {
126
- const i = /* @__PURE__ */ new Map();
168
+ function At(t, e) {
169
+ const s = /* @__PURE__ */ new Map();
127
170
  return t.series.forEach((r) => {
128
- let a = se({
171
+ let a = le({
129
172
  where: r.query?.where,
130
173
  // normalize the value so it matches what we get from getAllValues()
131
174
  // Refer to https://devtopia.esri.com/WebGIS/arcgis-charts/issues/8127
@@ -135,860 +178,891 @@ function Tt(t, e) {
135
178
  escape: !1
136
179
  });
137
180
  e && a !== null && (a = Number(a));
138
- const s = fe([r]);
139
- s !== void 0 && i.set(s, [
140
- ...i.get(s) ?? [],
181
+ const i = Te([r]);
182
+ i !== void 0 && s.set(i, [
183
+ ...s.get(i) ?? [],
141
184
  a
142
185
  ]);
143
- }), i;
144
- }
145
- function xt(t) {
146
- const { allValues: e, configUniqueValuesPerSeriesType: i, initialConfigWasEmpty: r } = t, a = /* @__PURE__ */ new Map();
147
- return Array.from(i.keys()).forEach((s) => {
148
- const n = i.get(s) ?? [];
149
- let l = [];
150
- r ? l = e : e.forEach((u) => {
151
- n.includes(u) || l.push(u);
152
- }), a.set(s, l);
186
+ }), s;
187
+ }
188
+ function vt(t) {
189
+ const { allValues: e, configUniqueValuesPerSeriesType: s, initialConfigWasEmpty: r } = t, a = /* @__PURE__ */ new Map();
190
+ return Array.from(s.keys()).forEach((i) => {
191
+ const n = s.get(i) ?? [];
192
+ let o = [];
193
+ r ? o = e : e.forEach((c) => {
194
+ n.includes(c) || o.push(c);
195
+ }), a.set(i, o);
153
196
  }), a;
154
197
  }
155
- function Bt(t) {
156
- const { chartConfig: e, missingValue: i, splitByField: r, seriesTemplate: a } = t, s = JSON.parse(
198
+ function It(t) {
199
+ const { chartConfig: e, missingValue: s, splitByField: r, seriesTemplate: a } = t, i = JSON.parse(
157
200
  JSON.stringify({
158
201
  ...e.series[0],
159
202
  ...a
160
203
  })
161
204
  );
162
- if (s.query) {
163
- if (s.id = `${i}-${e.series.length}-${Date.now()}`, s.name = `${i}`, s.query.outStatistics?.[0] !== void 0) {
164
- const l = s.id;
165
- s.query.outStatistics[0].outStatisticFieldName = l, "y" in s && (s.y = l);
205
+ if (i.query) {
206
+ if (i.id = `${s}-${e.series.length}-${Date.now()}`, i.name = `${s}`, i.query.outStatistics?.[0] !== void 0) {
207
+ const o = i.id;
208
+ i.query.outStatistics[0].outStatisticFieldName = o, "y" in i && (i.y = o);
166
209
  }
167
- const n = typeof i == "number" || i === null ? i : `'${i}'`;
168
- s.query.where = `${r}=${n}`;
210
+ const n = typeof s == "number" || s === null ? s : `'${s}'`;
211
+ i.query.where = `${r}=${n}`;
169
212
  }
170
- return s;
213
+ return i;
171
214
  }
172
- async function Ct(t) {
173
- const { updateSplitBySeries: e, config: i, options: r, queryObject: a } = t, { seriesTemplate: s } = e ?? {};
174
- let n;
175
- if (a && !Z(a) && e !== void 0 && i !== void 0 && (i.series.length > 0 || s !== void 0) && e.addMissingSeries) {
176
- const l = i.series.length === 0;
177
- i.series.length === 0 && s !== void 0 && i.series.push(s);
178
- const u = Y(i.series);
179
- if (u === D.BoxPlotMonoFieldAndSplitBy || u === D.BoxPlotMultiFieldsAndSplitBy || u === D.BoxPlotMonoFieldAndCategoryAndSplitBy || u === D.BarAndLineSplitBy || u === D.BarAndLineSplitByNoAggregation) {
180
- const c = Ye(i.series[0]?.query?.where), S = Xe(a), o = We(c, S), y = o ? He(o) : !1, m = await ht({
181
- queryObject: a,
182
- chartConfig: i,
183
- splitByField: c,
184
- options: r
185
- }), { allValues: p } = m;
186
- if ({ preFetchedQueryResponse: n } = m, p.length > 0) {
187
- const d = Tt(i, y), f = xt({
188
- allValues: p,
189
- configUniqueValuesPerSeriesType: d,
190
- initialConfigWasEmpty: l
215
+ async function Lt(t) {
216
+ const {
217
+ updateSplitBySeries: e,
218
+ config: s,
219
+ queryObject: r,
220
+ errorStrings: a,
221
+ abortSignal: i,
222
+ runtimeDataFilters: n,
223
+ ignoreViewExtent: o,
224
+ setTimeBinningInfoWhenNotProvided: c,
225
+ returnFeaturesExtent: m,
226
+ chartLimits: F
227
+ } = t, { seriesTemplate: l } = e ?? {};
228
+ let g;
229
+ if (r && !se(r) && e !== void 0 && s !== void 0 && (s.series.length > 0 || l !== void 0) && e.addMissingSeries) {
230
+ const d = s.series.length === 0;
231
+ s.series.length === 0 && l !== void 0 && s.series.push(l);
232
+ const y = Y(s.series);
233
+ if (y === D.BoxPlotMonoFieldAndSplitBy || y === D.BoxPlotMultiFieldsAndSplitBy || y === D.BoxPlotMonoFieldAndCategoryAndSplitBy || y === D.BarAndLineSplitBy || y === D.BarAndLineSplitByNoAggregation) {
234
+ const u = Me(s.series[0]?.query?.where), p = $e(r), B = We(u, p), C = B ? Ye(B) : !1, h = await bt({
235
+ queryObject: r,
236
+ chartConfig: s,
237
+ splitByField: u,
238
+ abortSignal: i,
239
+ runtimeDataFilters: n,
240
+ ignoreViewExtent: o,
241
+ setTimeBinningInfoWhenNotProvided: c,
242
+ returnFeaturesExtent: m,
243
+ chartLimits: F,
244
+ errorStrings: a
245
+ }), { allValues: f } = h;
246
+ if ({ preFetchedQueryResponse: g } = h, f.length > 0) {
247
+ const k = At(s, C), x = vt({
248
+ allValues: f,
249
+ configUniqueValuesPerSeriesType: k,
250
+ initialConfigWasEmpty: d
191
251
  });
192
- Array.from(f.keys()).forEach((x) => {
193
- (f.get(x) ?? []).forEach((g) => {
194
- i.series.push(
195
- Bt({
196
- chartConfig: i,
197
- seriesTemplate: s,
198
- missingValue: g,
199
- splitByField: c
252
+ Array.from(x.keys()).forEach((S) => {
253
+ (x.get(S) ?? []).forEach((L) => {
254
+ s.series.push(
255
+ It({
256
+ chartConfig: s,
257
+ seriesTemplate: l,
258
+ missingValue: L,
259
+ splitByField: u
200
260
  })
201
261
  );
202
- }), l && i.series.shift();
262
+ }), d && s.series.shift();
203
263
  });
204
264
  }
205
265
  }
206
266
  }
207
- return n;
267
+ return g;
208
268
  }
209
- function bt(t, e) {
210
- e && !Fe(e) && (e = $e({ chartConfig: e, queryObject: t }));
269
+ function Vt(t, e) {
270
+ e && !Be(e) && (e = Ee({ chartConfig: e, queryObject: t }));
211
271
  }
212
- async function Ai(t) {
213
- const { configToAlter: e, layer: i, addMissingSeries: r, updateSplitBySeries: a, chartContainer: s, queryObject: n, options: l } = t;
214
- let u = e, c;
215
- return u && (bt(i, u), u = await pt(u, i), r && (c = await Ct({
272
+ async function gs(t) {
273
+ const {
274
+ configToAlter: e,
275
+ layer: s,
276
+ addMissingSeries: r,
216
277
  updateSplitBySeries: a,
217
- config: u,
218
- options: l,
219
- queryObject: n
220
- })), u = De(u, s)), { alteredConfig: u, preFetchedQueryResponse: c };
278
+ chartContainer: i,
279
+ queryObject: n,
280
+ abortSignal: o,
281
+ runtimeDataFilters: c,
282
+ ignoreViewExtent: m,
283
+ setTimeBinningInfoWhenNotProvided: F,
284
+ returnFeaturesExtent: l,
285
+ chartLimits: g,
286
+ errorStrings: d
287
+ } = t;
288
+ let y = e, u;
289
+ return y && (Vt(s, y), y = await rt(y, s, void 0, o), r && n && (u = await Lt({
290
+ updateSplitBySeries: a,
291
+ config: y,
292
+ queryObject: n,
293
+ errorStrings: d,
294
+ abortSignal: o,
295
+ runtimeDataFilters: c,
296
+ ignoreViewExtent: m,
297
+ setTimeBinningInfoWhenNotProvided: F,
298
+ returnFeaturesExtent: l,
299
+ chartLimits: g
300
+ })), y = Ne(y, i)), { alteredConfig: y, preFetchedQueryResponse: u };
221
301
  }
222
- function At(t, e) {
223
- let i = !1;
302
+ function qt(t, e) {
303
+ let s = !1;
224
304
  if (e !== void 0) {
225
- const r = Ke({ key: et.Average, splitBy: e });
226
- i = Number.isFinite(t[r]);
305
+ const r = Xe({ key: _e.Average, splitBy: e });
306
+ s = Number.isFinite(t[r]);
227
307
  }
228
- return i;
308
+ return s;
229
309
  }
230
- function vi(t) {
231
- const { data: e, config: i, showEmptySeries: r } = t, a = i.series.length, s = ie(i);
310
+ function ps(t) {
311
+ const { data: e, config: s, showEmptySeries: r } = t, a = s.series.length, i = ae(s);
232
312
  let n = !1;
233
313
  if (!r && a > 1 && e) {
234
- const l = we(e), u = fe(i?.series), c = Y(i?.series), S = /* @__PURE__ */ new Set();
235
- switch (u) {
236
- case A.ComboLineAndBarSeries:
237
- case A.BarSeries:
238
- case A.RadarSeries:
239
- case A.LineSeries: {
240
- s.series.forEach((y) => {
241
- if (Array.isArray(l)) {
242
- let m = "";
243
- "y" in y && (m = Array.isArray(y.y) ? y.y[0] : y.y, c === D.BarAndLineSplitByNoAggregation && (m = `${m}_${se({ where: y.query?.where, keepSurroundingQuotes: !1, escape: !1 })}`), l.some(
244
- (d) => Ee({ dataItem: d, x: y.x, y: m })
245
- ) && S.add(y));
314
+ const o = ke(e), c = Te(s?.series), m = Y(s?.series), F = /* @__PURE__ */ new Set();
315
+ switch (c) {
316
+ case v.ComboLineAndBarSeries:
317
+ case v.BarSeries:
318
+ case v.RadarSeries:
319
+ case v.LineSeries: {
320
+ i.series.forEach((g) => {
321
+ if (Array.isArray(o)) {
322
+ let d = "";
323
+ "y" in g && (d = Array.isArray(g.y) ? g.y[0] : g.y, m === D.BarAndLineSplitByNoAggregation && (d = `${d}_${le({ where: g.query?.where, keepSurroundingQuotes: !1, escape: !1 })}`), o.some(
324
+ (u) => Pe({ dataItem: u, x: g.x, y: d })
325
+ ) && F.add(g));
246
326
  }
247
327
  });
248
328
  break;
249
329
  }
250
- case A.BoxPlotSeries: {
251
- if (Re(i)) {
252
- const y = Pe(i);
253
- i.series.forEach((m) => {
254
- let p, d;
255
- m.type === A.BoxPlotSeries ? (p = e.dataItems, d = p?.some(
256
- (f) => Me({
257
- dataItem: f,
258
- splitBy: m.query?.where,
259
- showOutliers: y
330
+ case v.BoxPlotSeries: {
331
+ if (Oe(s)) {
332
+ const g = De(s);
333
+ s.series.forEach((d) => {
334
+ let y, u;
335
+ d.type === v.BoxPlotSeries ? (y = e.dataItems, u = y?.some(
336
+ (p) => we({
337
+ dataItem: p,
338
+ splitBy: d.query?.where,
339
+ showOutliers: g
260
340
  })
261
- )) : m.type === A.LineSeries && (p = e.meanLines, d = p?.some(
262
- (f) => At(f, m.query?.where)
263
- )), d && S.add(m);
341
+ )) : d.type === v.LineSeries && (y = e.meanLines, u = y?.some(
342
+ (p) => qt(p, d.query?.where)
343
+ )), u && F.add(d);
264
344
  });
265
345
  }
266
346
  break;
267
347
  }
268
348
  }
269
- const o = Array.from(S.values());
270
- n = o.length > 0 && o.length < a, n && (s.series = o);
349
+ const l = Array.from(F.values());
350
+ n = l.length > 0 && l.length < a, n && (i.series = l);
271
351
  }
272
- return { seriesFilteredOut: n, filteredConfig: s };
352
+ return { seriesFilteredOut: n, filteredConfig: i };
273
353
  }
274
- const Ii = (t) => {
275
- let e;
276
- const i = t.series[0];
277
- return V(i) && (e = i.temporalBinning?.size), e;
278
- }, vt = (t) => {
279
- let e;
280
- const i = t.series[0];
281
- return V(i) && (e = i.temporalBinning?.unit), e;
282
- }, Li = (t) => {
283
- let e;
284
- const i = t.series[0];
285
- return V(i) && (e = i.temporalBinning?.timeAggregationType), e;
286
- }, qi = (t) => {
287
- let e;
288
- const i = t.series[0];
289
- return V(i) && (e = i.temporalBinning?.trimIncompleteTimeInterval), e;
290
- }, Vi = (t) => {
291
- let e;
292
- const i = t.series[0];
293
- return V(i) && (e = i.temporalBinning?.nullPolicy), e;
294
- }, It = (t, e) => {
295
- e?.series?.forEach((i) => {
296
- V(i) && (i.temporalBinning ??= {}, i.temporalBinning.size = t);
297
- }), q({ config: e, value: null, axisIndex: 1, isMax: !1 }), q({ config: e, value: null, axisIndex: 1, isMax: !0 });
298
- }, Lt = (t, e) => {
299
- e?.series?.forEach((i) => {
300
- V(i) && (i.temporalBinning ??= {}, i.temporalBinning.nullPolicy = t);
301
- }), q({ config: e, value: null, axisIndex: 1, isMax: !1 }), q({ config: e, value: null, axisIndex: 1, isMax: !0 });
302
- }, Ni = (t, e) => {
303
- e.series?.forEach((i) => {
304
- V(i) && (i.temporalBinning ??= {}, i.temporalBinning.unit = t);
305
- }), q({ config: e, value: null, axisIndex: 1, isMax: !1 }), q({ config: e, value: null, axisIndex: 1, isMax: !0 });
306
- }, Oi = (t, e) => {
307
- e.series?.forEach((i) => {
308
- V(i) && (i.temporalBinning ??= {}, i.temporalBinning.timeAggregationType = t);
309
- }), q({ config: e, value: null, axisIndex: 1, isMax: !1 }), q({ config: e, value: null, axisIndex: 1, isMax: !0 });
310
- }, ki = (t, e) => {
311
- e.series?.forEach((i) => {
312
- V(i) && (i.temporalBinning ??= {}, i.temporalBinning.trimIncompleteTimeInterval = t);
313
- }), q({ config: e, value: null, axisIndex: 1, isMax: !1 }), q({ config: e, value: null, axisIndex: 1, isMax: !0 });
314
- }, Di = (t) => {
315
- It(0, t);
316
- }, wi = (t) => t.hideEmptyRowsAndColumns, Ri = (t, e) => {
354
+ const fs = (t) => t.hideEmptyRowsAndColumns, Ss = (t, e) => {
317
355
  t.hideEmptyRowsAndColumns = e;
318
- }, Pi = (t, e) => {
319
- const i = t.series[0];
320
- i.heatRulesType = e;
321
- }, Mi = (t) => t.series[0].heatRulesType, Ei = (t, e) => {
322
- const i = t.series[0];
323
- i.gradientRules = e;
324
- }, $i = (t) => t.series[0].gradientRules, Yi = (t) => {
325
- const { yField: e, config: i, layerInfo: r } = t, { layerFieldsInfo: a } = r, s = ne(1, i), n = qt(i), l = j(i), u = i.series[0];
326
- if (typeof e == "string" && n !== e && u && (u.y = e, Ft(i), n === s || l)) {
327
- const c = w(a, e);
328
- P(i, 1, c);
356
+ }, Fs = (t, e) => {
357
+ const s = t.series[0];
358
+ s.heatRulesType = e;
359
+ }, hs = (t) => t.series[0].heatRulesType, xs = (t, e) => {
360
+ const s = t.series[0];
361
+ s.gradientRules = e;
362
+ }, Ts = (t) => t.series[0].gradientRules, Bs = (t) => {
363
+ const { yField: e, config: s, layerInfo: r } = t, { layerFieldsInfo: a } = r, i = oe(1, s), n = Nt(s), o = z(s), c = s.series[0];
364
+ if (typeof e == "string" && n !== e && c && (c.y = e, Ct(s), n === i || o)) {
365
+ const m = w(a, e);
366
+ E(s, 1, m);
329
367
  }
330
- }, qt = (t) => t.series[0].y ?? "", Xi = (t) => {
331
- const { binning: e, config: i, commonStrings: r } = t, a = i.series[0];
368
+ }, Nt = (t) => t.series[0].y ?? "", Cs = (t) => {
369
+ const { binning: e, config: s, commonStrings: r } = t, a = s.series[0];
332
370
  if (a.xTemporalBinning = e, e?.unit !== void 0 && e.unit in r.utilsStrings.heatChartCalendarDatePartsUnits) {
333
- const s = r.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
334
- P(i, 0, s);
371
+ const i = r.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
372
+ E(s, 0, i);
335
373
  }
336
- }, Wi = (t) => t.series[0].xTemporalBinning, Hi = (t) => {
337
- const { binning: e, config: i, commonStrings: r } = t, a = i.series[0];
374
+ }, bs = (t) => t.series[0].xTemporalBinning, As = (t) => {
375
+ const { binning: e, config: s, commonStrings: r } = t, a = s.series[0];
338
376
  if (a.yTemporalBinning = e, e?.unit !== void 0 && e.unit in r.utilsStrings.heatChartCalendarDatePartsUnits) {
339
- const s = r.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
340
- P(i, 1, s);
377
+ const i = r.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
378
+ E(s, 1, i);
341
379
  }
342
- }, Ki = (t) => t.series[0].yTemporalBinning, Vt = (t, e) => {
380
+ }, vs = (t) => t.series[0].yTemporalBinning, Rt = (t, e) => {
343
381
  e.orderOptions ??= {};
344
- const i = e.axes?.[0]?.valueFormat?.type === "category" ? L.Category : L.YValue, r = te(e)[0], a = e.axes?.[1]?.valueFormat?.type === "category" ? L.Category : L.YValue, s = te(e)[1], n = {
382
+ const s = e.axes?.[0]?.valueFormat?.type === "category" ? q.Category : q.YValue, r = ie(e)[0], a = e.axes?.[1]?.valueFormat?.type === "category" ? q.Category : q.YValue, i = ie(e)[1], n = {
345
383
  ...e.orderOptions.data ?? {},
346
- orderType: L.MultiAxes
384
+ orderType: q.MultiAxes
347
385
  };
348
- r === ee.customSort && i === L.Category && (n.orderByX = [...t]), s === ee.customSort && a === L.Category && (n.orderByY = [...t]), Object.keys(n).length > 1 && (e.orderOptions.data = n);
349
- }, Ui = (t, e) => {
350
- const i = e.series[0];
351
- i.gridLine && (i.gridLine.width = t);
352
- }, ji = (t) => t.series[0].gridLine?.width, Qi = (t, e) => {
353
- const i = e.series[0], r = t?.length === 4 && t.every((a) => typeof a == "number");
354
- i.gridLine && r && (i.gridLine.color = t);
355
- }, _i = (t) => t.series[0].gridLine?.color, zi = (t, e) => {
356
- const i = e.legend;
357
- i && (i.position = t);
358
- }, Gi = (t) => t.legend?.position ?? Ie.Bottom, Zi = (t) => t.series[0].query?.outStatistics?.[0]?.onStatisticField, Ji = (t) => {
359
- const { field: e, config: i, layerInfo: r, commonStrings: a } = t, s = i.series[0].query?.outStatistics?.[0], n = z(i, r, a);
360
- s ? (s.onStatisticField = e, s.outStatisticFieldName = `${s.statisticType}_${e}`) : i.series[0].query = {
386
+ r === J.customSort && s === q.Category && (n.orderByX = [...t]), i === J.customSort && a === q.Category && (n.orderByY = [...t]), Object.keys(n).length > 1 && (e.orderOptions.data = n);
387
+ }, Is = (t, e) => {
388
+ const s = e.series[0];
389
+ s.gridLine && (s.gridLine.width = t);
390
+ }, Ls = (t) => t.series[0].gridLine?.width, Vs = (t, e) => {
391
+ const s = e.series[0], r = t?.length === 4 && t.every((a) => typeof a == "number");
392
+ s.gridLine && r && (s.gridLine.color = t);
393
+ }, qs = (t) => t.series[0].gridLine?.color, Ns = (t, e) => {
394
+ const s = e.legend;
395
+ s && (s.position = t);
396
+ }, Rs = (t) => t.legend?.position ?? st.Bottom, ks = (t) => t.series[0].query?.outStatistics?.[0]?.onStatisticField, Os = (t) => {
397
+ const { field: e, config: s, layerInfo: r, commonStrings: a } = t, i = s.series[0].query?.outStatistics?.[0], n = _(s, r, a);
398
+ i ? (i.onStatisticField = e, i.outStatisticFieldName = `${i.statisticType}_${e}`) : s.series[0].query = {
361
399
  outStatistics: [
362
400
  {
363
401
  onStatisticField: e,
364
- outStatisticFieldName: `${I.Count}_${e}`,
365
- statisticType: I.Count
402
+ outStatisticFieldName: `${V.Count}_${e}`,
403
+ statisticType: V.Count
366
404
  }
367
405
  ]
368
- }, n && i.title && (i.title.content.text = W(i, r, a));
369
- }, es = (t) => t.series[0].query?.outStatistics?.[0].statisticType ?? I.Count, ts = (t) => {
370
- const { aggregationType: e, config: i, layerInfo: r, commonStrings: a } = t, s = i.series[0]?.query?.outStatistics?.[0], n = z(i, r, a);
371
- s && e !== I.NoAggregation && (s.statisticType = e, s.outStatisticFieldName = `${e}_${s.onStatisticField}`), (e === I.Count || e === I.Sum) && Nt(K.Zero, i), n && i.title && (i.title.content.text = W(i, r, a));
372
- }, is = (t) => t.nullPolicy, Nt = (t, e) => {
406
+ }, n && s.title && (s.title.content.text = j(s, r, a));
407
+ }, Ds = (t) => t.series[0].query?.outStatistics?.[0].statisticType ?? V.Count, ws = (t) => {
408
+ const { aggregationType: e, config: s, layerInfo: r, commonStrings: a } = t, i = s.series[0]?.query?.outStatistics?.[0], n = _(s, r, a);
409
+ i && e !== V.NoAggregation && (i.statisticType = e, i.outStatisticFieldName = `${e}_${i.onStatisticField}`), (e === V.Count || e === V.Sum) && kt(K.Zero, s), n && s.title && (s.title.content.text = j(s, r, a));
410
+ }, Ps = (t) => t.nullPolicy, kt = (t, e) => {
373
411
  e.nullPolicy = t;
374
- }, ss = (t) => t.series[0].emptyCells, as = (t, e) => {
412
+ }, Es = (t) => t.series[0].emptyCells, Ms = (t, e) => {
375
413
  e.series[0].emptyCells = t;
376
- }, rs = (t) => t.series[0].emptyCells?.text, ns = (t, e) => {
414
+ }, $s = (t) => t.series[0].emptyCells?.text, Ws = (t, e) => {
377
415
  e.series[0].emptyCells ? e.series[0].emptyCells.text = t : e.series[0].emptyCells = { text: t };
378
- }, ls = (t) => t.includeLeapDay, os = (t, e) => {
416
+ }, Ys = (t) => t.includeLeapDay, Xs = (t, e) => {
379
417
  e.includeLeapDay = t;
380
- }, us = (t) => t.series[0].emptyCells?.symbol, cs = (t, e) => {
418
+ }, js = (t) => t.series[0].emptyCells?.symbol, Hs = (t, e) => {
381
419
  e.series[0].emptyCells ? e.series[0].emptyCells.symbol = t : e.series[0].emptyCells = { symbol: t };
382
420
  };
383
- function ds(t) {
421
+ function Ks(t) {
384
422
  return t.viewType;
385
423
  }
386
- function ys(t, e) {
387
- tt(e) || (e.viewType = t);
424
+ function Us(t, e) {
425
+ Ze(e) || (e.viewType = t);
388
426
  }
389
- function ms(t) {
427
+ function Qs(t) {
390
428
  return t.series[0].classBreaksRules?.breaksCount ?? U.classBreaks.breaksCount;
391
429
  }
392
- function gs(t, e) {
430
+ function zs(t, e) {
393
431
  e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.breaksCount = t ?? U.classBreaks.breaksCount : e.series[0].classBreaksRules = {
394
432
  breaksCount: t ?? U.classBreaks.breaksCount
395
433
  };
396
434
  }
397
- function ps(t) {
435
+ function Gs(t) {
398
436
  return t.series[0].classBreaksRules?.classificationMethod;
399
437
  }
400
- function fs(t, e) {
438
+ function _s(t, e) {
401
439
  e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.classificationMethod = t : e.series[0].classBreaksRules = {
402
440
  classificationMethod: t
403
441
  }, e.series[0].classBreaksRules.breaksCount = e.series[0].classBreaksRules.breaksCount ?? U.classBreaks.breaksCount;
404
442
  }
405
- function Ss(t, e) {
443
+ function Zs(t, e) {
406
444
  e.firstDayOfWeek = t;
407
445
  }
408
- function Fs(t) {
446
+ function Js(t) {
409
447
  return t.firstDayOfWeek;
410
448
  }
411
- function E(t) {
412
- const { seriesIndex: e, xAxisField: i, aggregationType: r, config: a, layerInfo: s, commonStrings: n } = t, l = X(s?.layer).idField;
413
- let u;
414
- const c = a.series[e ?? 0];
415
- let S = !1, o = !1, y = !1;
416
- if (c === void 0) {
417
- const d = a.series;
418
- S = d.slice(0, e).every((f) => B(f)), o = d.slice(0, e).every((f) => C(f)), y = d.slice(0, e).every((f) => me(f));
449
+ function ei(t) {
450
+ return t.series[0].classBreaksRules?.colorRampInfo?.name;
451
+ }
452
+ function ti(t, e) {
453
+ e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.colorRampInfo = {
454
+ ...e.series[0].classBreaksRules.colorRampInfo,
455
+ name: t
456
+ } : e.series[0].classBreaksRules = {
457
+ colorRampInfo: {
458
+ name: t,
459
+ flipped: !1
460
+ }
461
+ };
462
+ }
463
+ function si(t) {
464
+ return t.series[0].classBreaksRules?.colorRampInfo?.flipped ?? !1;
465
+ }
466
+ function ii(t, e) {
467
+ e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.colorRampInfo = {
468
+ ...e.series[0].classBreaksRules.colorRampInfo,
469
+ flipped: t
470
+ } : e.series[0].classBreaksRules = {
471
+ colorRampInfo: {
472
+ flipped: t
473
+ }
474
+ };
475
+ }
476
+ function $(t) {
477
+ const { seriesIndex: e, xAxisField: s, aggregationType: r, config: a, layerInfo: i, commonStrings: n } = t, o = X(i?.layer).idField;
478
+ let c;
479
+ const m = a.series[e ?? 0];
480
+ let F = !1, l = !1, g = !1;
481
+ if (m === void 0) {
482
+ const u = a.series;
483
+ F = u.slice(0, e).every((p) => b(p)), l = u.slice(0, e).every((p) => A(p)), g = u.slice(0, e).every((p) => pe(p));
419
484
  } else
420
- S = B(c), o = C(c), y = me(c);
421
- S ? u = rt({
485
+ F = b(m), l = A(m), g = pe(m);
486
+ F ? c = dt({
422
487
  commonStrings: n,
423
488
  seriesIndex: e,
424
- objectIDField: l
425
- }) : o ? u = nt({
489
+ objectIDField: o
490
+ }) : l ? c = yt({
426
491
  commonStrings: n,
427
492
  seriesIndex: e,
428
- objectIDField: l
429
- }) : y ? u = lt(n, l) : u = ot({
493
+ objectIDField: o
494
+ }) : g ? c = mt(n, o) : c = gt({
430
495
  seriesIndex: e,
431
- objectIDField: l,
496
+ objectIDField: o,
432
497
  commonStrings: n
433
498
  });
434
- const m = a.series[0]?.dataLabels, p = {
435
- ...u,
436
- x: i,
499
+ const d = a.series[0]?.dataLabels, y = {
500
+ ...c,
501
+ x: s,
437
502
  y: "",
438
503
  dataLabels: {
439
- ...u.dataLabels,
440
- type: u.dataLabels?.type ?? A.Text,
441
- content: { ...u.dataLabels?.content, ...m?.content, type: Ve.TS },
442
- visible: m?.visible ?? !1
504
+ ...c.dataLabels,
505
+ type: c.dataLabels?.type ?? v.Text,
506
+ content: { ...c.dataLabels?.content, ...d?.content, type: Ft.TS },
507
+ visible: d?.visible ?? !1
443
508
  }
444
509
  };
445
- if (p.query = {
446
- groupByFieldsForStatistics: [i]
447
- }, r !== I.NoAggregation && l !== void 0) {
448
- const d = `${r}_${l}_0`.toUpperCase();
449
- p.y = d, p.query.outStatistics = [
510
+ if (y.query = {
511
+ groupByFieldsForStatistics: [s]
512
+ }, r !== V.NoAggregation && o !== void 0) {
513
+ const u = `${r}_${o}_0`.toUpperCase();
514
+ y.y = u, y.query.outStatistics = [
450
515
  {
451
516
  statisticType: r,
452
- onStatisticField: l,
453
- outStatisticFieldName: d
517
+ onStatisticField: o,
518
+ outStatisticFieldName: u
454
519
  }
455
520
  ];
456
521
  }
457
- if (V(a.series[0]) && V(p)) {
458
- let d;
459
- if (a?.series?.[0] !== void 0 && (d = Y(a.series)), d !== D.BarAndLineNoAggregation && d !== D.BarAndLineSplitByNoAggregation) {
460
- let f = vt(a);
461
- f === G.Quarter && (f = G.Month), p.temporalBinning = {
522
+ if (R(a.series[0]) && R(y)) {
523
+ let u;
524
+ if (a?.series?.[0] !== void 0 && (u = Y(a.series)), u !== D.BarAndLineNoAggregation && u !== D.BarAndLineSplitByNoAggregation) {
525
+ let p = xt(a);
526
+ p === te.Quarter && (p = te.Month), y.temporalBinning = {
462
527
  ...a.series[0]?.temporalBinning,
463
- unit: f
528
+ unit: p
464
529
  };
465
530
  }
466
531
  }
467
- return ie(p);
532
+ return ae(y);
468
533
  }
469
- function W(t, e, i) {
470
- const { layerFieldsInfo: r } = e, { idField: a, isTraditionalTypeOID: s } = X(e.layer), n = M(t), l = _(t), u = Be(t), c = le(t), S = s && (l.length === 0 || l.includes(a)), o = it(u, i), y = S ? "" : l.map((g) => w(r ?? [], g)).join(", "), m = w(r ?? [], n), p = w(r ?? [], c), d = t.series.some((g) => N(g)), f = d ? "category" : "xAxisField", x = m;
471
- let F = "";
472
- if (Te({
534
+ function j(t, e, s) {
535
+ const { layerFieldsInfo: r } = e, { idField: a, isTraditionalTypeOID: i } = X(e.layer), n = M(t), o = G(t), c = be(t), m = ue(t), F = i && (o.length === 0 || o.includes(a)), l = ct(c, s), g = F ? "" : o.map((h) => w(r ?? [], h)).join(", "), d = w(r ?? [], n), y = w(r ?? [], m), u = t.series.some((h) => O(h)), p = u ? "category" : "xAxisField", B = d;
536
+ let C = "";
537
+ if (xe({
473
538
  fieldName: n,
474
- numericFields: l,
539
+ numericFields: o,
475
540
  fieldList: r
476
541
  }))
477
- F = R(i.titleLabels.aggrTypeOfAggrFields, {
478
- aggregationType: o,
479
- aggregationFields: y
542
+ C = P(s.titleLabels.aggrTypeOfAggrFields, {
543
+ aggregationType: l,
544
+ aggregationFields: g
480
545
  });
481
- else if (u === I.NoAggregation) {
482
- const g = S ? a : y;
483
- if (c === "") {
484
- const k = d ? "aggrTypeCategory" : "aggrTypeXAxisField";
485
- F = R(i.titleLabels[k], {
486
- aggregationType: g,
487
- [f]: x
546
+ else if (c === V.NoAggregation) {
547
+ const h = F ? a : g;
548
+ if (m === "") {
549
+ const f = u ? "aggrTypeCategory" : "aggrTypeXAxisField";
550
+ C = P(s.titleLabels[f], {
551
+ aggregationType: h,
552
+ [p]: B
488
553
  });
489
554
  } else {
490
- const k = d ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
491
- F = R(i.titleLabels[k], {
492
- aggregationType: g,
493
- [f]: x,
494
- splitByField: p
555
+ const f = u ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
556
+ C = P(s.titleLabels[f], {
557
+ aggregationType: h,
558
+ [p]: B,
559
+ splitByField: y
495
560
  });
496
561
  }
497
- } else if (u === I.Count)
498
- if (c === "") {
499
- const g = d ? "aggrTypeCategory" : "aggrTypeXAxisField";
500
- F = R(i.titleLabels[g], {
501
- aggregationType: o,
502
- [f]: x
562
+ } else if (c === V.Count)
563
+ if (m === "") {
564
+ const h = u ? "aggrTypeCategory" : "aggrTypeXAxisField";
565
+ C = P(s.titleLabels[h], {
566
+ aggregationType: l,
567
+ [p]: B
503
568
  });
504
569
  } else {
505
- const g = d ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
506
- F = R(i.titleLabels[g], {
507
- aggregationType: o,
508
- [f]: x,
509
- splitByField: p
570
+ const h = u ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
571
+ C = P(s.titleLabels[h], {
572
+ aggregationType: l,
573
+ [p]: B,
574
+ splitByField: y
510
575
  });
511
576
  }
512
- else if (c !== "") {
513
- const g = d ? "aggrTypeOfAggrFieldByCategoryBySplitByField" : "aggrTypeOfAggrFieldByXAxisFieldBySplitByField";
514
- F = R(i.titleLabels[g], {
515
- aggregationType: o,
516
- aggregationField: y,
517
- [f]: x,
518
- splitByField: p
577
+ else if (m !== "") {
578
+ const h = u ? "aggrTypeOfAggrFieldByCategoryBySplitByField" : "aggrTypeOfAggrFieldByXAxisFieldBySplitByField";
579
+ C = P(s.titleLabels[h], {
580
+ aggregationType: l,
581
+ aggregationField: g,
582
+ [p]: B,
583
+ splitByField: y
519
584
  });
520
- } else if (l.length > 0) {
521
- const g = d ? "aggrTypeOfAggrFieldsByCategory" : "aggrTypeOfAggrFieldsByXAxisField";
522
- F = R(i.titleLabels[g], {
523
- aggregationType: o,
524
- aggregationFields: y,
525
- [f]: x
585
+ } else if (o.length > 0) {
586
+ const h = u ? "aggrTypeOfAggrFieldsByCategory" : "aggrTypeOfAggrFieldsByXAxisField";
587
+ C = P(s.titleLabels[h], {
588
+ aggregationType: l,
589
+ aggregationFields: g,
590
+ [p]: B
526
591
  });
527
592
  }
528
- return F;
593
+ return C;
529
594
  }
530
- const xe = (t) => se({
595
+ const Ce = (t) => le({
531
596
  where: t.query?.where,
532
597
  normalize: !1,
533
598
  escape: !1
534
- }) ?? "", Be = (t) => t?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? I.NoAggregation, le = ve(
599
+ }) ?? "", be = (t) => t?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? V.NoAggregation, ue = Le(
535
600
  (t) => {
536
601
  const e = t?.series?.[0]?.query?.where?.split("=")[0].trim() ?? "";
537
- return st(t?.series?.[0]?.query?.where) ? "" : e;
602
+ return Je(t?.series?.[0]?.query?.where) ? "" : e;
538
603
  },
539
604
  (t) => t?.series?.[0]?.query?.where
540
- ), _ = (t) => {
605
+ ), G = (t) => {
541
606
  let e = [];
542
- if (le(t) === "")
543
- e = t?.series.map((i) => {
544
- const r = i.query?.outStatistics?.map((a) => a.onStatisticField) ?? [];
545
- return r?.length > 0 ? r : i.y;
607
+ if (ue(t) === "")
608
+ e = t?.series.map((s) => {
609
+ const r = s.query?.outStatistics?.map((a) => a.onStatisticField) ?? [];
610
+ return r?.length > 0 ? r : s.y;
546
611
  }).flat() ?? [];
547
612
  else {
548
- const i = t?.series?.[0], r = i?.query?.outStatistics?.[0]?.onStatisticField ?? [i?.y].flat()[0];
613
+ const s = t?.series?.[0], r = s?.query?.outStatistics?.[0]?.onStatisticField ?? [s?.y].flat()[0];
549
614
  e = r !== void 0 ? [r] : [];
550
615
  }
551
- return e.filter((i) => i !== "");
616
+ return e.filter((s) => s !== "");
552
617
  };
553
618
  function Ot(t) {
554
- const { numericFields: e, aggregationType: i, config: r, layerInfo: a } = t;
555
- let s = !1;
556
- i === I.Count ? s = !0 : i === I.NoAggregation && (s = e.every((u) => {
557
- const c = a.layerFieldsInfo.find((S) => S.name === u);
558
- return c !== void 0 ? ce(c) : !1;
559
- })), ge(r, 1, s);
560
- const n = r.series.some((u) => B(u)), l = r.series.some((u) => C(u));
561
- if (n || l) {
562
- const u = M(r), c = a.layerFieldsInfo.find((o) => o.name === u), S = c !== void 0 && ce(c);
563
- ge(r, 0, S);
619
+ const { numericFields: e, aggregationType: s, config: r, layerInfo: a } = t;
620
+ let i = !1;
621
+ s === V.Count ? i = !0 : s === V.NoAggregation && (i = e.every((c) => {
622
+ const m = a.layerFieldsInfo.find((F) => F.name === c);
623
+ return m !== void 0 ? me(m) : !1;
624
+ })), ce(r, 1, i);
625
+ const n = r.series.some((c) => b(c)), o = r.series.some((c) => A(c));
626
+ if (n || o) {
627
+ const c = M(r), m = a.layerFieldsInfo.find((l) => l.name === c), F = m !== void 0 && me(m);
628
+ ce(r, 0, F);
564
629
  }
565
630
  }
566
- const te = (t) => {
631
+ const ie = (t) => {
567
632
  let e;
568
- if (ae(t)) {
569
- const i = t.orderOptions?.data?.orderByX ?? [""], r = t.orderOptions?.data?.orderByY ?? [""], a = t.axes?.[0]?.valueFormat?.type === "category" ? L.Category : L.YValue, s = t.axes?.[1]?.valueFormat?.type === "category" ? L.Category : L.YValue;
570
- e = [pe(i, a), pe(r, s)];
633
+ if (ne(t)) {
634
+ const s = t.orderOptions?.data?.orderByX ?? [""], r = t.orderOptions?.data?.orderByY ?? [""], a = t.axes?.[0]?.valueFormat?.type === "category" ? q.Category : q.YValue, i = t.axes?.[1]?.valueFormat?.type === "category" ? q.Category : q.YValue;
635
+ e = [ge(s, a), ge(r, i)];
571
636
  } else {
572
- const i = t.orderOptions?.data?.orderType ?? L.Category, r = t.orderOptions?.data && "orderBy" in t.orderOptions.data ? t.orderOptions.data.orderBy : Le.Ascending;
573
- e = [gt(r, i)];
637
+ const s = t.orderOptions?.data?.orderType ?? q.Category, r = t.orderOptions?.data && "orderBy" in t.orderOptions.data ? t.orderOptions.data.orderBy : it.Ascending;
638
+ e = [tt(r, s)];
574
639
  }
575
640
  return e;
576
641
  };
577
- function kt(t) {
578
- const { xAxisField: e, numericFields: i, aggregationType: r, config: a, layerInfo: s, commonStrings: n } = t, { layerFieldsInfo: l } = s;
579
- let u = !1;
580
- const c = E({
642
+ function Dt(t) {
643
+ const { xAxisField: e, numericFields: s, aggregationType: r, config: a, layerInfo: i, commonStrings: n } = t, { layerFieldsInfo: o } = i;
644
+ let c = !1;
645
+ const m = $({
581
646
  config: a,
582
647
  xAxisField: e,
583
648
  aggregationType: r,
584
- layerInfo: s,
649
+ layerInfo: i,
585
650
  seriesIndex: 0,
586
651
  commonStrings: n
587
- }), S = Q({
652
+ }), F = Q({
588
653
  config: a,
589
654
  xAxisField: e,
590
- numericFields: i,
655
+ numericFields: s,
591
656
  aggregationType: r,
592
- layer: s.layer,
593
- fieldList: l
594
- }).name, o = {
595
- ...c,
657
+ layer: i.layer,
658
+ fieldList: o
659
+ }).name, l = {
660
+ ...m,
596
661
  id: `series_${Date.now()}`,
597
662
  name: n.axisLabels.values,
598
- x: J,
599
- y: S
600
- }, y = [];
601
- for (const p of i)
602
- y.push({
603
- onStatisticField: p,
604
- outStatisticFieldName: `${p}_0`.toUpperCase(),
663
+ x: ee,
664
+ y: F
665
+ }, g = [];
666
+ for (const y of s)
667
+ g.push({
668
+ onStatisticField: y,
669
+ outStatisticFieldName: `${y}_0`.toUpperCase(),
605
670
  statisticType: r
606
671
  });
607
- o.query = { outStatistics: y };
608
- const m = a.series[0];
609
- return m !== void 0 && (o.id = m.id, (B(o) && B(m) || C(o) && C(m)) && $(o, m), a.colorMatch || (N(m) && N(o) ? o.fillSymbol = m.fillSymbol : (B(o) && B(m) || C(o) && C(m)) && (o.lineSymbol = m.lineSymbol, o.markerSymbol = m.markerSymbol), u = !0), o.id = m.id, m.name !== c.name && (o.name = m.name)), a.series.length === 1 && ((B(o) || C(o)) && $(o, a.series[0]), a.colorMatch || (N(o) ? o.fillSymbol = a.series[0].fillSymbol : (B(o) || C(o)) && (o.lineSymbol = a.series[0].lineSymbol, o.markerSymbol = a.series[0].markerSymbol), u = !0)), a.colorMatch = !u, [o];
610
- }
611
- function Ce(t) {
612
- const { xAxisField: e, numericFields: i, aggregationType: r, config: a, layerInfo: s, commonStrings: n } = t, { layerFieldsInfo: l } = s, u = X(s.layer).idField, c = [];
613
- let S = !1;
614
- for (let d = 0; d < i.length; d += 1) {
615
- const f = E({
672
+ l.query = { outStatistics: g };
673
+ const d = a.series[0];
674
+ return d !== void 0 && (l.id = d.id, (b(l) && b(d) || A(l) && A(d)) && W(l, d), a.colorMatch || (O(d) && O(l) ? l.fillSymbol = d.fillSymbol : (b(l) && b(d) || A(l) && A(d)) && (l.lineSymbol = d.lineSymbol, l.markerSymbol = d.markerSymbol), c = !0), l.id = d.id, d.name !== m.name && (l.name = d.name)), a.series.length === 1 && ((b(l) || A(l)) && W(l, a.series[0]), a.colorMatch || (O(l) ? l.fillSymbol = a.series[0].fillSymbol : (b(l) || A(l)) && (l.lineSymbol = a.series[0].lineSymbol, l.markerSymbol = a.series[0].markerSymbol), c = !0)), a.colorMatch = !c, [l];
675
+ }
676
+ function Ae(t) {
677
+ const { xAxisField: e, numericFields: s, aggregationType: r, config: a, layerInfo: i, commonStrings: n } = t, { layerFieldsInfo: o } = i, c = X(i.layer).idField, m = [];
678
+ let F = !1;
679
+ for (let u = 0; u < s.length; u += 1) {
680
+ const p = $({
616
681
  config: a,
617
682
  xAxisField: e,
618
683
  aggregationType: r,
619
- layerInfo: s,
620
- seriesIndex: d,
684
+ layerInfo: i,
685
+ seriesIndex: u,
621
686
  commonStrings: n
622
- }), x = Q({
687
+ }), B = a.series[u]?.y, C = typeof B == "string" ? B : Q({
623
688
  config: a,
624
689
  xAxisField: e,
625
- numericFields: i,
690
+ numericFields: s,
626
691
  aggregationType: r,
627
- layer: s.layer,
628
- numericFieldIndex: d,
629
- fieldList: l
630
- }).name, F = i[d];
631
- let g = {
632
- ...f,
692
+ layer: i.layer,
693
+ numericFieldIndex: u,
694
+ fieldList: o
695
+ }).name, h = s[u];
696
+ let f = {
697
+ ...p,
633
698
  query: {
634
- ...f.query
699
+ ...p.query
635
700
  }
636
701
  };
637
- i && F !== u && (g = {
638
- ...g,
639
- id: F,
640
- name: w(l, F)
702
+ s && h !== c && (f = {
703
+ ...f,
704
+ id: h,
705
+ name: w(o, h)
641
706
  });
642
- let k = F;
643
- g.query !== void 0 && (r !== I.NoAggregation ? (k = x, g.query.outStatistics = [
707
+ let k = h;
708
+ f.query !== void 0 && (r !== V.NoAggregation ? (k = C, f.query.outStatistics = [
644
709
  {
645
- ...f.query?.outStatistics?.[0] ?? {},
646
- onStatisticField: F,
647
- outStatisticFieldName: x,
710
+ ...p.query?.outStatistics?.[0] ?? {},
711
+ onStatisticField: h,
712
+ outStatisticFieldName: C,
648
713
  statisticType: r
649
714
  }
650
- ]) : delete g.query.outStatistics), g.y = k;
651
- const T = a.series.find(
652
- (O) => O.query?.outStatistics?.[0]?.onStatisticField === F && O.query.where === void 0 || O.query?.outStatistics === void 0 && (O.y === F || O.x === F)
715
+ ]) : delete f.query.outStatistics), f.y = k;
716
+ const x = a.series.find(
717
+ (S) => S.query?.outStatistics?.[0]?.onStatisticField === h && S.query.where === void 0 || S.query?.outStatistics === void 0 && (S.y === h || S.x === h)
653
718
  );
654
- if (T !== void 0 && typeof T.y == "string" && T.y.trim() !== "") {
655
- (B(g) && B(T) || C(g) && C(T)) && $(g, T), a.colorMatch || (N(g) && N(T) ? g.fillSymbol = T.fillSymbol : (B(g) && B(T) || C(g) && C(T)) && (g.lineSymbol = T.lineSymbol, g.markerSymbol = T.markerSymbol), S = !0);
656
- const O = E({
719
+ if (x !== void 0 && typeof x.y == "string" && x.y.trim() !== "") {
720
+ (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);
721
+ const S = $({
657
722
  config: a,
658
723
  xAxisField: e,
659
724
  aggregationType: r,
660
- layerInfo: s,
661
- seriesIndex: d,
725
+ layerInfo: i,
726
+ seriesIndex: u,
662
727
  commonStrings: n
663
728
  });
664
- g.id = T.id, T.id !== O.id && T.name !== O.name && (g.id = T.id, g.name = T.name), g.assignToSecondValueAxis = T.assignToSecondValueAxis, g.type === A.HeatSeries && T.type === A.HeatSeries && (g.y = T.y, g.heatRulesType = T.heatRulesType);
729
+ 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);
665
730
  }
666
- c.push(g);
731
+ m.push(f);
667
732
  }
668
- const o = c.filter((d) => N(d)), y = c.filter(
669
- (d) => B(d) || C(d)
670
- ), m = a.series.filter((d) => N(d)), p = a.series.filter(
671
- (d) => B(d) || C(d)
733
+ const l = m.filter((u) => O(u)), g = m.filter(
734
+ (u) => b(u) || A(u)
735
+ ), d = a.series.filter((u) => O(u)), y = a.series.filter(
736
+ (u) => b(u) || A(u)
672
737
  );
673
- return m.length === 1 && o.length === 1 && !a.colorMatch && (N(m[0]) && N(o[0]) && (o[0].fillSymbol = m[0].fillSymbol), S = !0), p.length === 1 && y.length === 1 && ((B(p[0]) && B(y[0]) || C(p[0]) && C(y[0])) && $(y[0], p[0]), a.colorMatch || ((B(p[0]) && B(y[0]) || C(p[0]) && C(y[0])) && (y[0].lineSymbol = p[0].lineSymbol, y[0].markerSymbol = p[0].markerSymbol), S = !0)), a.colorMatch = !S, c;
738
+ return d.length === 1 && l.length === 1 && !a.colorMatch && (O(d[0]) && O(l[0]) && (l[0].fillSymbol = d[0].fillSymbol), F = !0), y.length === 1 && g.length === 1 && ((b(y[0]) && b(g[0]) || A(y[0]) && A(g[0])) && W(g[0], y[0]), a.colorMatch || ((b(y[0]) && b(g[0]) || A(y[0]) && A(g[0])) && (g[0].lineSymbol = y[0].lineSymbol, g[0].markerSymbol = y[0].markerSymbol), F = !0)), a.colorMatch = !F, m;
674
739
  }
675
- function hs(t) {
676
- const { aggregationType: e, config: i, layerInfo: r, commonStrings: a } = t, { layerFieldsInfo: s, layer: n } = r, l = M(i), u = _(i), c = z(i, r, a), S = be(i, r, a);
677
- if (i.series.forEach((o, y) => {
678
- const m = Q({
679
- config: i,
680
- xAxisField: l,
681
- numericFields: u,
740
+ function ai(t) {
741
+ const { aggregationType: e, config: s, layerInfo: r, commonStrings: a } = t, { layerFieldsInfo: i, layer: n } = r, o = M(s), c = G(s), m = _(s, r, a), F = ve(s, r, a);
742
+ if (s.series.forEach((l, g) => {
743
+ const d = Q({
744
+ config: s,
745
+ xAxisField: o,
746
+ numericFields: c,
682
747
  aggregationType: e,
683
748
  layer: n,
684
- seriesIndex: y,
685
- numericFieldIndex: y,
686
- fieldList: s
749
+ seriesIndex: g,
750
+ numericFieldIndex: g,
751
+ fieldList: i
687
752
  }).name;
688
- e !== I.NoAggregation ? (o.y = m, o.query = {
689
- ...o.query,
753
+ e !== V.NoAggregation ? (l.y = d, l.query = {
754
+ ...l.query,
690
755
  outStatistics: [
691
756
  {
692
- ...o.query?.outStatistics?.[0],
693
- outStatisticFieldName: m,
757
+ ...l.query?.outStatistics?.[0],
758
+ outStatisticFieldName: d,
694
759
  statisticType: e,
695
- onStatisticField: o.query?.outStatistics?.[0]?.onStatisticField ?? u[y]
760
+ onStatisticField: l.query?.outStatistics?.[0]?.onStatisticField ?? c[g]
696
761
  }
697
762
  ]
698
- }) : (delete o.query?.outStatistics, o.y = u[y]);
699
- }), c && i.title && (i.title.content.text = W(i, r, a)), S && i.series[0].type !== A.HeatSeries) {
700
- const o = re({
701
- config: i,
763
+ }) : (delete l.query?.outStatistics, l.y = c[g]);
764
+ }), m && s.title && (s.title.content.text = j(s, r, a)), F && s.series[0].type !== v.HeatSeries) {
765
+ const l = re({
766
+ config: s,
702
767
  layerInfo: r,
703
768
  commonStrings: a,
704
- numericFields: u,
769
+ numericFields: c,
705
770
  aggregationType: e
706
771
  });
707
- P(i, 1, o);
772
+ E(s, 1, l);
708
773
  }
709
774
  }
710
- function Dt(t) {
775
+ function wt(t) {
711
776
  const {
712
777
  splitByField: e,
713
- xAxisField: i,
778
+ xAxisField: s,
714
779
  numericFields: r,
715
780
  aggregationType: a,
716
- config: s,
781
+ config: i,
717
782
  layerInfo: n,
718
- commonStrings: l,
719
- splitByFieldInfos: u
720
- } = t, { layer: c, layerFieldsInfo: S } = n, { categoriesArray: o, splitByFieldType: y } = u, m = r.length === 0 ? X(c).idField : r[0];
721
- let p = [], d = !1;
722
- if (o.length === 0) {
723
- p = Ce({
724
- xAxisField: i,
783
+ commonStrings: o,
784
+ splitByFieldInfos: c
785
+ } = t, { layer: m, layerFieldsInfo: F } = n, { categoriesArray: l, splitByFieldType: g } = c, d = r.length === 0 ? X(m).idField : r[0];
786
+ let y = [], u = !1;
787
+ if (l.length === 0) {
788
+ y = Ae({
789
+ xAxisField: s,
725
790
  numericFields: r,
726
791
  aggregationType: a,
727
- config: s,
792
+ config: i,
728
793
  layerInfo: n,
729
- commonStrings: l
794
+ commonStrings: o
730
795
  });
731
- for (const f of p)
732
- f.query && (f.query.where = `${e}=''`);
796
+ for (const p of y)
797
+ p.query && (p.query.where = `${e}=''`);
733
798
  } else
734
- for (let f = 0; f < o.length; f += 1) {
735
- const x = o[f], F = Q({
736
- config: s,
737
- xAxisField: i,
799
+ for (let p = 0; p < l.length; p += 1) {
800
+ const B = l[p], C = Q({
801
+ config: i,
802
+ xAxisField: s,
738
803
  numericFields: r,
739
804
  aggregationType: a,
740
805
  layer: n.layer,
741
- seriesIndex: f,
806
+ seriesIndex: p,
742
807
  splitByField: e,
743
- fieldList: S
744
- }).name, g = E({
745
- config: s,
746
- xAxisField: i,
808
+ fieldList: F
809
+ }).name, h = $({
810
+ config: i,
811
+ xAxisField: s,
747
812
  aggregationType: a,
748
813
  layerInfo: n,
749
- seriesIndex: f,
750
- commonStrings: l
751
- }), k = Se({
814
+ seriesIndex: p,
815
+ commonStrings: o
816
+ }), f = he({
752
817
  queryObject: n.layer,
753
818
  fieldName: e,
754
- fieldValue: x ?? ""
755
- }), T = `${x}`, h = {
756
- ...g,
757
- id: T,
758
- name: k ?? T,
759
- y: F,
819
+ fieldValue: B ?? ""
820
+ }), k = `${B}`, S = {
821
+ ...h,
822
+ id: k,
823
+ name: f ?? k,
824
+ y: C,
760
825
  query: {
761
- ...g.query,
762
- where: `${e}=${y === Ne.String && x !== null ? `'${x}'` : x}`,
763
- outStatistics: a !== I.NoAggregation ? [
826
+ ...h.query,
827
+ where: `${e}=${g === ht.String && B !== null ? `'${B}'` : B}`,
828
+ outStatistics: a !== V.NoAggregation ? [
764
829
  {
765
- ...g.query?.outStatistics?.[0] ?? {},
766
- onStatisticField: m,
767
- outStatisticFieldName: F,
830
+ ...h.query?.outStatistics?.[0] ?? {},
831
+ onStatisticField: d,
832
+ outStatisticFieldName: C,
768
833
  statisticType: a
769
834
  }
770
835
  ] : void 0
771
836
  }
772
837
  };
773
- a === I.NoAggregation && (h.query !== void 0 && (delete h.query.outStatistics, delete h.query.groupByFieldsForStatistics), h.y = m);
774
- const v = s.series.find(
775
- (b) => String(xe(b)).trim().replace(/'/gu, "") === T
838
+ a === V.NoAggregation && (S.query !== void 0 && (delete S.query.outStatistics, delete S.query.groupByFieldsForStatistics), S.y = d);
839
+ const I = i.series.find(
840
+ (L) => String(Ce(L)).trim().replace(/'/gu, "") === k
776
841
  );
777
- v !== void 0 && ((B(h) && B(v) || C(h) && C(v)) && $(h, v), s.colorMatch || (N(h) && N(v) ? h.fillSymbol = v.fillSymbol : (B(h) && B(v) || C(h) && C(v)) && (h.lineSymbol = v.lineSymbol, h.markerSymbol = v.markerSymbol), d = !0), h.id = v.id, h.name = v.name, h.assignToSecondValueAxis = v.assignToSecondValueAxis), h.query && (h.query.fetchNullValues = s.series.some((b) => b.query?.fetchNullValues)), p.push(h);
842
+ 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((L) => L.query?.fetchNullValues)), y.push(S);
778
843
  }
779
- return s.colorMatch = !d, p;
844
+ return i.colorMatch = !u, y;
780
845
  }
781
- const Ts = (t) => {
846
+ const ri = (t) => {
782
847
  const {
783
848
  xAxisFieldName: e,
784
- splitByField: i,
849
+ splitByField: s,
785
850
  numericFields: r,
786
851
  aggregationType: a,
787
- config: s,
852
+ config: i,
788
853
  layerInfo: n,
789
- commonStrings: l,
790
- splitByFieldInfos: u
791
- } = t, { layerFieldsInfo: c } = n ?? {}, S = ft(s), o = M(s), y = c.find((b) => b.name === o), m = s.series[0]?.query === void 0, p = c.find((b) => b.name === e), d = z(s, n, l), f = be(s, n, l), x = wt(s, n);
792
- let F = he(s);
793
- const g = s.series.some((b) => N(b)), k = ct(s.series), T = dt(s.series), O = ae(s), h = {};
794
- O && (h.classBreaksRules = s.series[0]?.classBreaksRules, h.xTemporalBinning = s.series[0]?.xTemporalBinning, h.yTemporalBinning = s.series[0]?.yTemporalBinning, h.emptyCells = s.series[0]?.emptyCells, h.nullPolicy = s.nullPolicy);
795
- let v = !1;
796
- if (at(p) ? F = de() : !ue(y) && ue(p) ? F = ye() : !H(y) && H(p) ? (F = ye(), v = !0) : H(y) && !H(p) && (g ? F = de() : F = ut(), v = !0), F !== void 0 && mt(s, l, F), S === 0 && (s.series = [
797
- E({ config: s, xAxisField: e, aggregationType: a, layerInfo: n, commonStrings: l })
798
- ]), s.series.forEach((b) => {
799
- b.x = e, b.query !== void 0 && (b.query.groupByFieldsForStatistics = [e]);
800
- }), i === "" || r.length > 1 ? Te({
854
+ commonStrings: o,
855
+ splitByFieldInfos: c
856
+ } = t, { layerFieldsInfo: m } = n ?? {}, F = ft(i), l = M(i), g = m.find((T) => T.name === l), d = i.series[0].query?.fetchNullValues, y = "nullCategory" in i.series?.[0] ? i.series[0].nullCategory : void 0, u = i.series[0]?.query === void 0, p = m.find((T) => T.name === e), B = _(i, n, o), C = ve(i, n, o), h = Pt(i, n);
857
+ let f = Fe(i);
858
+ const k = i.series.some((T) => O(T)), x = lt(i.series), S = nt(i.series), I = ne(i), L = {};
859
+ I && (L.classBreaksRules = i.series[0]?.classBreaksRules, L.xTemporalBinning = i.series[0]?.xTemporalBinning, L.yTemporalBinning = i.series[0]?.yTemporalBinning, L.emptyCells = i.series[0]?.emptyCells, L.nullPolicy = i.nullPolicy);
860
+ let Z = !1;
861
+ if (et(p) ? f = fe() : !ye(g) && ye(p) ? f = Se() : !H(g) && H(p) ? (f = Se(), Z = !0) : H(g) && !H(p) && (k ? f = fe() : f = pt(), Z = !0), f !== void 0 && qe(i, o, f), F === 0 && (i.series = [
862
+ $({ config: i, xAxisField: e, aggregationType: a, layerInfo: n, commonStrings: o })
863
+ ]), i.series.forEach((T) => {
864
+ T.x = e, T.query !== void 0 && (T.query.groupByFieldsForStatistics = [e]);
865
+ }), s === "" || r.length > 1 ? xe({
801
866
  fieldName: e,
802
867
  numericFields: r,
803
- fieldList: c
804
- }) ? s.series = kt({
805
- config: s,
868
+ fieldList: m
869
+ }) ? i.series = Dt({
870
+ config: i,
806
871
  layerInfo: n,
807
872
  xAxisField: e,
808
873
  numericFields: r,
809
874
  aggregationType: a,
810
- commonStrings: l
811
- }) : s.series = Ce({
812
- config: s,
875
+ commonStrings: o
876
+ }) : i.series = Ae({
877
+ config: i,
813
878
  layerInfo: n,
814
879
  xAxisField: e,
815
880
  numericFields: r,
816
881
  aggregationType: a,
817
- commonStrings: l
818
- }) : u && (s.series = Dt({
819
- config: s,
882
+ commonStrings: o
883
+ }) : c && (i.series = wt({
884
+ config: i,
820
885
  layerInfo: n,
821
- splitByField: i,
886
+ splitByField: s,
822
887
  xAxisField: e,
823
888
  numericFields: r,
824
889
  aggregationType: a,
825
- commonStrings: l,
826
- splitByFieldInfos: u
827
- })), x && s.series[0].type !== A.HeatSeries) {
828
- const b = w(c, e);
829
- P(s, 0, b);
890
+ commonStrings: o,
891
+ splitByFieldInfos: c
892
+ })), h && i.series[0].type !== v.HeatSeries) {
893
+ const T = w(m, e);
894
+ E(i, 0, T);
830
895
  }
831
- if (f && s.series[0].type !== A.HeatSeries) {
832
- const b = re({
833
- config: s,
896
+ if (C && i.series[0].type !== v.HeatSeries) {
897
+ const T = re({
898
+ config: i,
834
899
  layerInfo: n,
835
- commonStrings: l,
900
+ commonStrings: o,
836
901
  numericFields: r,
837
902
  aggregationType: a
838
903
  });
839
- P(s, 1, b);
904
+ E(i, 1, T);
840
905
  }
841
- if (d && s.title && (s.title.content.text = W(s, n, l)), q({ config: s, value: null, axisIndex: 1, isMax: !1 }), q({ config: s, value: null, axisIndex: 1, isMax: !0 }), Ot({ numericFields: r, aggregationType: a, config: s, layerInfo: n }), (k || T) && (q({ config: s, value: null, axisIndex: 0, isMax: !1 }), q({ config: s, value: null, axisIndex: 0, isMax: !0 }), v)) {
842
- const b = F?.type === A.DateAxisFormat ? K.Null : K.Interpolate;
843
- Lt(b, s);
906
+ if (B && i.title && (i.title.content.text = j(i, n, o)), N({ config: i, value: null, axisIndex: 1, isMax: !1 }), N({ config: i, value: null, axisIndex: 1, isMax: !0 }), Ot({ numericFields: r, aggregationType: a, config: i, layerInfo: n }), (x || S) && (N({ config: i, value: null, axisIndex: 0, isMax: !1 }), N({ config: i, value: null, axisIndex: 0, isMax: !0 }), Z)) {
907
+ const T = f?.type === v.DateAxisFormat ? K.Null : K.Interpolate;
908
+ Bt(T, i);
844
909
  }
845
- O && (s.series[0].classBreaksRules = h.classBreaksRules, s.series[0].xTemporalBinning = h.xTemporalBinning, s.series[0].yTemporalBinning = h.yTemporalBinning, s.series[0].emptyCells = h.emptyCells, s.nullPolicy = h.nullPolicy), m && s.series.forEach((b) => {
846
- delete b.query;
910
+ I && (i.series[0].classBreaksRules = L.classBreaksRules, i.series[0].xTemporalBinning = L.xTemporalBinning, i.series[0].yTemporalBinning = L.yTemporalBinning, i.series[0].emptyCells = L.emptyCells, i.nullPolicy = L.nullPolicy), u ? i.series.forEach((T) => {
911
+ delete T.query;
912
+ }) : d && i.series.forEach((T) => {
913
+ T.query && (T.query.fetchNullValues = d);
914
+ }), y && i.series.forEach((T) => {
915
+ (T.type === v.BarSeries || T.type === v.LineSeries || T.type === v.RadarSeries) && (T.nullCategory = y);
847
916
  });
848
- }, $ = (t, e) => {
917
+ }, W = (t, e) => {
849
918
  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 = {
850
919
  ...e.markerSymbol,
851
920
  color: t.markerSymbol?.color
852
921
  });
853
- }, xs = (t) => {
854
- const { config: e, seriesIndex: i, layerInfo: r, commonStrings: a } = t, s = e.series?.[i], n = le(e);
855
- let l;
922
+ }, li = (t) => {
923
+ const { config: e, seriesIndex: s, layerInfo: r, commonStrings: a } = t, i = e.series?.[s], n = ue(e);
924
+ let o;
856
925
  if (Y(e.series) === D.BarAndLineFromFields)
857
- l = a.axisLabels.values;
858
- else if (Ae(n)) {
859
- const c = s.query?.outStatistics?.[0]?.onStatisticField;
860
- c !== void 0 && c !== X(r.layer).idField && (l = w(r.layerFieldsInfo, c));
926
+ o = a.axisLabels.values;
927
+ else if (Ie(n)) {
928
+ const m = i.query?.outStatistics?.[0]?.onStatisticField;
929
+ m !== void 0 && m !== X(r.layer).idField && (o = w(r.layerFieldsInfo, m));
861
930
  } else {
862
- const c = String(xe(s)).trim().replace(/'/gu, "");
863
- l = Se({
931
+ const m = String(Ce(i)).trim().replace(/'/gu, "");
932
+ o = he({
864
933
  queryObject: r.layer,
865
934
  fieldName: n,
866
- fieldValue: c ?? ""
867
- }) ?? c;
935
+ fieldValue: m ?? ""
936
+ }) ?? m;
868
937
  }
869
- return l ?? s.id;
870
- }, Bs = (t, e) => {
871
- if (ae(e))
872
- Vt(t, e);
938
+ return o ?? i.id;
939
+ }, ni = (t, e) => {
940
+ if (ne(e))
941
+ Rt(t, e);
873
942
  else {
874
943
  e.orderOptions ??= {};
875
- const i = e.orderOptions?.data?.orderType;
876
- te(e)[0] === ee.customSort && i === L.Category && (e.orderOptions.data = {
877
- orderType: L.Category,
944
+ const s = e.orderOptions?.data?.orderType;
945
+ ie(e)[0] === J.customSort && s === q.Category && (e.orderOptions.data = {
946
+ orderType: q.Category,
878
947
  orderBy: [...t]
879
948
  });
880
949
  }
881
- }, Cs = async (t, e) => {
882
- const i = M(t), r = he(t)?.type, a = _(t), s = Y(t.series);
883
- let n = [];
884
- return r === A.CategoryAxisFormat && (s === D.BarAndLineFromFields || i === J ? n = a.map((l) => w(e?.layerFieldsInfo, l)) : i.trim() !== "" && i !== J && e !== void 0 && (n = await yt({
885
- layerInfo: e,
886
- config: t,
887
- category: i
888
- }))), n;
950
+ }, oi = async (t) => {
951
+ const { config: e, layerInfo: s, errorStrings: r } = t, a = M(e), i = Fe(e)?.type, n = G(e), o = Y(e.series);
952
+ let c = [];
953
+ return i === v.CategoryAxisFormat && (o === D.BarAndLineFromFields || a === ee ? c = n.map((m) => w(s?.layerFieldsInfo, m)) : a.trim() !== "" && a !== ee && s !== void 0 && (c = await Ve({
954
+ layerInfo: s,
955
+ config: e,
956
+ category: a,
957
+ errorStrings: r
958
+ }))), c;
889
959
  };
890
- function z(t, e, i) {
891
- const r = W(t, e, i), a = St(t), s = j(t);
892
- return r === a || s;
960
+ function _(t, e, s) {
961
+ const r = j(t, e, s), a = St(t), i = z(t);
962
+ return r === a || i;
893
963
  }
894
- function be(t, e, i) {
964
+ function ve(t, e, s) {
895
965
  const r = re({
896
966
  config: t,
897
967
  layerInfo: e,
898
- commonStrings: i,
899
- numericFields: _(t),
900
- aggregationType: Be(t)
901
- }), a = ne(1, t), s = j(t);
902
- return r === a || s;
903
- }
904
- function wt(t, e) {
905
- const i = w(e.layerFieldsInfo, M(t)), r = ne(0, t), a = j(t);
906
- return i === r || a;
907
- }
908
- function bs(t) {
909
- return V(t.series[0]) ? t.series[0].binTemporalData ?? !0 : !1;
910
- }
911
- function As(t, e) {
912
- e?.series.forEach((i) => {
913
- (i?.type === A.BarSeries || i?.type === A.LineSeries) && (i.binTemporalData = t, t ? i.temporalBinning = {
914
- unit: G.Day,
968
+ commonStrings: s,
969
+ numericFields: G(t),
970
+ aggregationType: be(t)
971
+ }), a = oe(1, t), i = z(t);
972
+ return r === a || i;
973
+ }
974
+ function Pt(t, e) {
975
+ const s = w(e.layerFieldsInfo, M(t)), r = oe(0, t), a = z(t);
976
+ return s === r || a;
977
+ }
978
+ function ui(t) {
979
+ return R(t.series[0]) ? t.series[0].binTemporalData ?? !0 : !1;
980
+ }
981
+ function ci(t, e) {
982
+ e?.series.forEach((s) => {
983
+ (s?.type === v.BarSeries || s?.type === v.LineSeries) && (s.binTemporalData = t, t ? s.temporalBinning = {
984
+ unit: te.Day,
915
985
  size: 0,
916
- timeAggregationType: qe.Start,
986
+ timeAggregationType: at.Start,
917
987
  trimIncompleteTimeInterval: !0,
918
988
  nullPolicy: K.Null
919
- } : delete i.temporalBinning);
989
+ } : delete s.temporalBinning);
920
990
  });
921
991
  }
922
992
  export {
923
- ki as $,
924
- Ei as A,
925
- Zi as B,
926
- Ji as C,
927
- es as D,
928
- ts as E,
929
- Gi as F,
930
- zi as G,
931
- is as H,
932
- Nt as I,
933
- ss as J,
934
- as as K,
935
- te as L,
936
- rs as M,
937
- ns as N,
938
- ls as O,
939
- os as P,
940
- Fs as Q,
941
- Ss as R,
942
- us as S,
943
- cs as T,
944
- Ii as U,
945
- It as V,
946
- vt as W,
947
- Ni as X,
948
- Li as Y,
949
- Oi as Z,
950
- qi as _,
951
- _ as a,
952
- Vi as a0,
953
- Lt as a1,
954
- Di as a2,
955
- hs as a3,
956
- Cs as a4,
957
- Bs as a5,
958
- Ts as a6,
959
- bs as a7,
960
- As as a8,
961
- Ci as a9,
962
- bi as aa,
963
- Bi as ab,
964
- Ti as ac,
965
- xi as ad,
966
- Ft as ae,
967
- Ai as af,
968
- vi as ag,
969
- le as b,
970
- xs as c,
971
- W as d,
972
- qt as e,
973
- ds as f,
974
- Be as g,
975
- ys as h,
976
- Wi as i,
977
- Xi as j,
978
- Ki as k,
979
- Hi as l,
980
- ms as m,
981
- gs as n,
982
- ps as o,
983
- fs as p,
984
- wi as q,
985
- Ri as r,
986
- Yi as s,
987
- ji as t,
988
- Ui as u,
989
- _i as v,
990
- Qi as w,
991
- Mi as x,
992
- Pi as y,
993
- $i as z
993
+ rs as $,
994
+ Vs as A,
995
+ hs as B,
996
+ Fs as C,
997
+ Ts as D,
998
+ xs as E,
999
+ ks as F,
1000
+ Os as G,
1001
+ Ds as H,
1002
+ ws as I,
1003
+ Rs as J,
1004
+ Ns as K,
1005
+ Ps as L,
1006
+ kt as M,
1007
+ Es as N,
1008
+ Ms as O,
1009
+ ie as P,
1010
+ $s as Q,
1011
+ Ws as R,
1012
+ Ys as S,
1013
+ Xs as T,
1014
+ Js as U,
1015
+ Zs as V,
1016
+ js as W,
1017
+ Hs as X,
1018
+ ts as Y,
1019
+ Tt as Z,
1020
+ xt as _,
1021
+ G as a,
1022
+ ss as a0,
1023
+ ls as a1,
1024
+ is as a2,
1025
+ ns as a3,
1026
+ as as a4,
1027
+ Bt as a5,
1028
+ os as a6,
1029
+ ai as a7,
1030
+ oi as a8,
1031
+ ni as a9,
1032
+ ri as aa,
1033
+ ui as ab,
1034
+ ci as ac,
1035
+ gs as ad,
1036
+ ms as ae,
1037
+ ys as af,
1038
+ ds as ag,
1039
+ us as ah,
1040
+ cs as ai,
1041
+ Ct as aj,
1042
+ ps as ak,
1043
+ ue as b,
1044
+ li as c,
1045
+ j as d,
1046
+ Nt as e,
1047
+ Ks as f,
1048
+ be as g,
1049
+ Us as h,
1050
+ bs as i,
1051
+ Cs as j,
1052
+ vs as k,
1053
+ As as l,
1054
+ Qs as m,
1055
+ zs as n,
1056
+ Gs as o,
1057
+ _s as p,
1058
+ ei as q,
1059
+ ti as r,
1060
+ Bs as s,
1061
+ si as t,
1062
+ ii as u,
1063
+ fs as v,
1064
+ Ss as w,
1065
+ Ls as x,
1066
+ Is as y,
1067
+ qs as z
994
1068
  };