@arcgis/charts-components 4.34.0-next.163 → 4.34.0-next.165

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 (317) hide show
  1. package/dist/cdn/{HDEHHMTA.js → 22ORGTAJ.js} +2 -2
  2. package/dist/cdn/{NRDXLXS4.js → 22XY7KVR.js} +2 -2
  3. package/dist/cdn/{5STMCPFU.js → 27SAQVP7.js} +2 -2
  4. package/dist/cdn/{3T66Q3RY.js → 2A53VLIV.js} +2 -2
  5. package/dist/cdn/{UXUPLEEQ.js → 2NWUV6UT.js} +2 -2
  6. package/dist/cdn/2RBTQGBE.js +4 -0
  7. package/dist/cdn/36OOY6ZY.js +4 -0
  8. package/dist/cdn/{R4PIKKFE.js → 3A5KFVJF.js} +2 -2
  9. package/dist/cdn/{6K6YXYGZ.js → 3GMJZHTF.js} +2 -2
  10. package/dist/cdn/{5XQRXE6H.js → 3KICJXM4.js} +2 -2
  11. package/dist/cdn/{LBA2OVMO.js → 3QBV6P7S.js} +2 -2
  12. package/dist/cdn/{WFSC4PLP.js → 3RUKX3TH.js} +2 -2
  13. package/dist/cdn/{F3BLNJ2U.js → 4GWTMZMI.js} +2 -2
  14. package/dist/cdn/{HJ5UXS73.js → 4KER7HST.js} +2 -2
  15. package/dist/cdn/{NSMY6EVH.js → 4M6ZL7GC.js} +2 -2
  16. package/dist/cdn/{KBWUDN63.js → 5CFMTN7O.js} +2 -2
  17. package/dist/cdn/{S5J6QA4B.js → 5GXJC62J.js} +2 -2
  18. package/dist/cdn/{7OVL2HLU.js → 5HBTQXVG.js} +2 -2
  19. package/dist/cdn/{4UZYTCJ6.js → 5Q6RMVSS.js} +2 -2
  20. package/dist/cdn/{JNRTJTKT.js → 5W6QYN3N.js} +2 -2
  21. package/dist/cdn/{LCIY2KUB.js → 63QOA2WM.js} +2 -2
  22. package/dist/cdn/{YYMH6OUA.js → 64PUSTMP.js} +2 -2
  23. package/dist/cdn/{MOLT2PBU.js → 6FZW53HI.js} +1 -1
  24. package/dist/cdn/{4UUDM7CH.js → 6TRF76O5.js} +2 -2
  25. package/dist/cdn/{O77XPHQS.js → 742NLZLO.js} +8 -8
  26. package/dist/cdn/{7DNW4KZT.js → 7R426OGK.js} +2 -2
  27. package/dist/cdn/{575XS3S2.js → 7U4KU2BY.js} +2 -2
  28. package/dist/cdn/{STFDPWGD.js → A5S27QPS.js} +2 -2
  29. package/dist/cdn/{UIBA5V6P.js → A6NPXQIW.js} +2 -2
  30. package/dist/cdn/{EZSBZUW5.js → AFJJT25W.js} +2 -2
  31. package/dist/cdn/{NCQHXHQ6.js → AJPUQ7JC.js} +2 -2
  32. package/dist/cdn/{WNMUIAHI.js → AKZAWZMY.js} +2 -2
  33. package/dist/cdn/AL3DZT3A.js +4 -0
  34. package/dist/cdn/{BVX6PB3D.js → ATWYKCYB.js} +2 -2
  35. package/dist/cdn/{MRPEV7N2.js → B4GTKSG4.js} +2 -2
  36. package/dist/cdn/BNCCVFI7.js +4 -0
  37. package/dist/cdn/{KHIUEBEG.js → BVYJ6XJQ.js} +2 -2
  38. package/dist/cdn/{NBN46QDV.js → BYHNPUNB.js} +2 -2
  39. package/dist/cdn/{K2GUZ7YV.js → CSWLSCRT.js} +2 -2
  40. package/dist/cdn/{OVFTUJ3R.js → CVOPEHGG.js} +2 -2
  41. package/dist/cdn/{BBRZ5KHA.js → D2B2S7QH.js} +2 -2
  42. package/dist/cdn/DAHIUJDE.js +4 -0
  43. package/dist/cdn/{DMPQAYBT.js → DHIZ7MVR.js} +4 -4
  44. package/dist/cdn/{63POL725.js → DLSDLPPF.js} +2 -2
  45. package/dist/cdn/{XY6WYPHG.js → DP7S3TCC.js} +2 -2
  46. package/dist/cdn/{KPST4H7K.js → DSXVTWNV.js} +1 -1
  47. package/dist/cdn/{AVDOJ5SJ.js → DUCOEA4Z.js} +2 -2
  48. package/dist/cdn/{MJEEBCCY.js → DUEB3BEX.js} +2 -2
  49. package/dist/cdn/{NVFAVONY.js → DWQOFW3P.js} +2 -2
  50. package/dist/cdn/{Q3E2FYVR.js → E5BGLFYE.js} +2 -2
  51. package/dist/cdn/{5632QM2W.js → EIOKO6R3.js} +2 -2
  52. package/dist/cdn/{MV7M42YR.js → EIRPH4VW.js} +2 -2
  53. package/dist/cdn/F3CLKOLX.js +4 -0
  54. package/dist/cdn/{PLNG7BD4.js → FAIMZGF3.js} +2 -2
  55. package/dist/cdn/{F7ISP64Y.js → FMAIWUOQ.js} +2 -2
  56. package/dist/cdn/FMOGLRZZ.js +4 -0
  57. package/dist/cdn/FMX7SKLD.js +4 -0
  58. package/dist/cdn/{WHJPLJQM.js → FQXBL6EF.js} +2 -2
  59. package/dist/cdn/{D2DYTFK4.js → FS52UPW3.js} +2 -2
  60. package/dist/cdn/{U7YFEYQH.js → G3TWZPPR.js} +2 -2
  61. package/dist/cdn/{5BMIDGS7.js → G4UMHK3T.js} +2 -2
  62. package/dist/cdn/{XU522LF6.js → G65SGEMU.js} +2 -2
  63. package/dist/cdn/{DKARMSQQ.js → GBCRE445.js} +2 -2
  64. package/dist/cdn/{Q7Y3IK56.js → GENFTWYC.js} +2 -2
  65. package/dist/cdn/{CBDH5MZQ.js → GI774ANT.js} +2 -2
  66. package/dist/cdn/{XXBOZRQA.js → H5AQ3ZGU.js} +2 -2
  67. package/dist/cdn/{VCPZVZYZ.js → H6WD56LD.js} +2 -2
  68. package/dist/cdn/{QJLYFPRW.js → H7AKTVN3.js} +2 -2
  69. package/dist/cdn/{QJ7CDBAH.js → HLVOIR47.js} +2 -2
  70. package/dist/cdn/{U3JOJHE2.js → HNKXEXII.js} +2 -2
  71. package/dist/cdn/{KGM5J2VL.js → HRJ3W2R6.js} +1 -1
  72. package/dist/cdn/{47YVNOJA.js → I6D5TGZR.js} +2 -2
  73. package/dist/cdn/{GT5Y3GF7.js → IE4DD6C5.js} +2 -2
  74. package/dist/cdn/{Z64USPMX.js → IMXZULTJ.js} +2 -2
  75. package/dist/cdn/{VDQGTDQE.js → IP5RBDNU.js} +2 -2
  76. package/dist/cdn/{3HU2YI5A.js → IXFZZH6B.js} +2 -2
  77. package/dist/cdn/{MZVOAZ6U.js → J7TT2EBP.js} +2 -2
  78. package/dist/cdn/JICBZAD7.js +4 -0
  79. package/dist/cdn/{LHEFLSHY.js → JIJSWJRR.js} +2 -2
  80. package/dist/cdn/{2TXHNHS6.js → JIXULGLQ.js} +2 -2
  81. package/dist/cdn/{HZ7MTVM6.js → JNDU76OR.js} +2 -2
  82. package/dist/cdn/{QTTMJKTI.js → JNT42AC3.js} +2 -2
  83. package/dist/cdn/{2437D4GU.js → K3JC7NPW.js} +2 -2
  84. package/dist/cdn/{5P5TC4FK.js → KHF3AOSG.js} +2 -2
  85. package/dist/cdn/KI5Q36ED.js +4 -0
  86. package/dist/cdn/{N44WU3JI.js → KLS4EKW3.js} +2 -2
  87. package/dist/cdn/{CSXOMVFF.js → KNSLZPQA.js} +2 -2
  88. package/dist/cdn/{WI7K7BBS.js → KPZNISTZ.js} +2 -2
  89. package/dist/cdn/{GWBBE353.js → KRPZ2C6G.js} +2 -2
  90. package/dist/cdn/{OAOTFMS6.js → KWI7BIXJ.js} +2 -2
  91. package/dist/cdn/{DLCAB7IC.js → KXUGSNCX.js} +2 -2
  92. package/dist/cdn/{SUZUY6EN.js → L27C2AB5.js} +2 -2
  93. package/dist/cdn/{LGKAOTYC.js → LP6R3DA4.js} +2 -2
  94. package/dist/cdn/{IV4YVX3N.js → LUQ2VZQ3.js} +2 -2
  95. package/dist/cdn/{KNM5SUKV.js → LXGMZK5O.js} +2 -2
  96. package/dist/cdn/{5FSQDYQY.js → M5MCZLMV.js} +2 -2
  97. package/dist/cdn/{RZUG52A6.js → M5ZW4EOS.js} +2 -2
  98. package/dist/cdn/{FGK4TAME.js → MXLVTJZQ.js} +2 -2
  99. package/dist/cdn/{LTYWR4FN.js → MYU5W6WD.js} +2 -2
  100. package/dist/cdn/{FMEMJMAW.js → MZK2UN4Q.js} +2 -2
  101. package/dist/cdn/{3UCKP7TV.js → N3TKM7ML.js} +2 -2
  102. package/dist/cdn/{7B7XI4LQ.js → NEDXVKOD.js} +2 -2
  103. package/dist/cdn/{KVLGMKQG.js → NMVBACK3.js} +1 -1
  104. package/dist/cdn/{6XP4NCNP.js → NSBA6HP5.js} +2 -2
  105. package/dist/cdn/{3HF4JYLT.js → NX6SBA6R.js} +2 -2
  106. package/dist/cdn/{FVMA5IZX.js → NZDIUK3Z.js} +2 -2
  107. package/dist/cdn/{RAEU4QJA.js → O2BICH7F.js} +1 -1
  108. package/dist/cdn/{NUYLM2HW.js → O56P52FK.js} +1 -1
  109. package/dist/cdn/{6GICU65U.js → OBVOZIDB.js} +1 -1
  110. package/dist/cdn/{EJ7PSG6Q.js → OBYR4JRO.js} +2 -2
  111. package/dist/cdn/{IB7HZWWU.js → OC2VGXDO.js} +2 -2
  112. package/dist/cdn/{5FJ2IZZL.js → OENPXJ7M.js} +2 -2
  113. package/dist/cdn/{TTPTA45Z.js → OHC6FXJI.js} +2 -2
  114. package/dist/cdn/{D33YBH2N.js → OKL355G3.js} +2 -2
  115. package/dist/cdn/{WKGAUWVN.js → OVRPILKI.js} +1 -1
  116. package/dist/cdn/{YOGPHVQU.js → P2D4ROHF.js} +2 -2
  117. package/dist/cdn/{5BGBM6PL.js → PCECQXEO.js} +2 -2
  118. package/dist/cdn/{SXVOFBYB.js → PLTXV7VC.js} +2 -2
  119. package/dist/cdn/{FGWR6O5G.js → PMCG2EYR.js} +2 -2
  120. package/dist/cdn/{ZXGGUMOA.js → PNYAX2ZM.js} +2 -2
  121. package/dist/cdn/{VASL5XDS.js → Q5CU3GPN.js} +2 -2
  122. package/dist/cdn/{EGX2FDR6.js → QAAFQKBC.js} +2 -2
  123. package/dist/cdn/{MB2ZI4Q2.js → QBHE73T4.js} +2 -2
  124. package/dist/cdn/{74Q74HCG.js → QDMPERM4.js} +2 -2
  125. package/dist/cdn/{JCJ3MNCK.js → QHG5EDNI.js} +2 -2
  126. package/dist/cdn/QKLJ5OFV.js +4 -0
  127. package/dist/cdn/{6VJ764LT.js → QKVX3VN4.js} +2 -2
  128. package/dist/cdn/QLKXIHB4.js +4 -0
  129. package/dist/cdn/QLLTB2S4.js +4 -0
  130. package/dist/cdn/QPMJG246.js +4 -0
  131. package/dist/cdn/{MJ2ZVXI6.js → R2OVAN22.js} +2 -2
  132. package/dist/cdn/{Z574CJHT.js → RG753HV3.js} +2 -2
  133. package/dist/cdn/{XVRAOG7F.js → RHHOXSB3.js} +2 -2
  134. package/dist/cdn/{VTDMWWVX.js → ROXY7JF4.js} +2 -2
  135. package/dist/cdn/{ZFXRAIIV.js → RSOCNHSE.js} +2 -2
  136. package/dist/cdn/{CYE3WC25.js → RVEAY6MZ.js} +1 -1
  137. package/dist/cdn/{T5CJGRNW.js → SBZW6RZS.js} +2 -2
  138. package/dist/cdn/{6BKGBPKN.js → SGHUY4DN.js} +2 -2
  139. package/dist/cdn/{KTNMKTLW.js → SNAPOM6F.js} +1 -1
  140. package/dist/cdn/{LAFA2QW5.js → SOARJTWO.js} +2 -2
  141. package/dist/cdn/{I6VV6VZK.js → SZ3Q66TY.js} +2 -2
  142. package/dist/cdn/{KFWOFQPB.js → TB5BUM5B.js} +2 -2
  143. package/dist/cdn/{FUQPSLVC.js → TF6RDCES.js} +2 -2
  144. package/dist/cdn/TG7YO26J.js +4 -0
  145. package/dist/cdn/{NAJRGEQR.js → TNYLQCJ5.js} +2 -2
  146. package/dist/cdn/{R4AQMWX4.js → TOQGTLGK.js} +2 -2
  147. package/dist/cdn/{IJW2ERM7.js → TPQYCKHF.js} +2 -2
  148. package/dist/cdn/{5OMXASUG.js → TXIYVTSM.js} +2 -2
  149. package/dist/cdn/{Z2VPNAIZ.js → U3FFQOTI.js} +2 -2
  150. package/dist/cdn/{UWICVGI2.js → U5AU5EEB.js} +2 -2
  151. package/dist/cdn/{B37YOUOP.js → U65IOPLI.js} +2 -2
  152. package/dist/cdn/{ABWKGZDK.js → U6DLFGOA.js} +2 -2
  153. package/dist/cdn/{FJZRGLRN.js → U76CFHR3.js} +2 -2
  154. package/dist/cdn/{FK3MKOND.js → UDEHJ7D6.js} +2 -2
  155. package/dist/cdn/{HVXIV2SY.js → UG2XVE2N.js} +2 -2
  156. package/dist/cdn/{3Z34SNMO.js → UJRKVWQN.js} +2 -2
  157. package/dist/cdn/UOXBIOZP.js +6 -0
  158. package/dist/cdn/{2KNRNHV2.js → URDITZCB.js} +2 -2
  159. package/dist/cdn/{OR46AHUS.js → VJSXL7D7.js} +2 -2
  160. package/dist/cdn/VKHETPSG.js +4 -0
  161. package/dist/cdn/{VJCSZSRG.js → VWI5ZBLZ.js} +2 -2
  162. package/dist/cdn/WBDHZT5D.js +4 -0
  163. package/dist/cdn/{ISW3WLK3.js → WFKYE6S4.js} +2 -2
  164. package/dist/cdn/{3WIUNR32.js → WLOPIZ2Z.js} +2 -2
  165. package/dist/cdn/{OEPBAZIZ.js → WOCTS2SI.js} +2 -2
  166. package/dist/cdn/{BOODKMVT.js → WPQMT5LZ.js} +2 -2
  167. package/dist/cdn/{AJIPG6V3.js → WQ6SLDR3.js} +2 -2
  168. package/dist/cdn/{3LV3SSX5.js → WXYHBZZL.js} +2 -2
  169. package/dist/cdn/{BJ3E5BMY.js → XBRZI3BN.js} +2 -2
  170. package/dist/cdn/{WBWQNSW6.js → XEOLJJGC.js} +2 -2
  171. package/dist/cdn/{2MWCKNEO.js → XMBIEDVY.js} +2 -2
  172. package/dist/cdn/{T3RWR4MZ.js → XOPLWMH6.js} +2 -2
  173. package/dist/cdn/{5LZ4ADDB.js → XZEQEILS.js} +2 -2
  174. package/dist/cdn/{6DKHYXPU.js → Y6CJYHO5.js} +2 -2
  175. package/dist/cdn/{YWG775NH.js → YPD22AGR.js} +2 -2
  176. package/dist/cdn/{DGQVF6CD.js → YWLPOMGZ.js} +2 -2
  177. package/dist/cdn/{NOWKV3PK.js → Z2HWSBPJ.js} +2 -2
  178. package/dist/cdn/ZIHD3TUT.js +4 -0
  179. package/dist/cdn/{PTFJNWSU.js → ZII7WBB2.js} +2 -2
  180. package/dist/cdn/{ER7GLCDL.js → ZJHEN75G.js} +2 -2
  181. package/dist/cdn/{RDPHLPUH.js → ZMZWIQFW.js} +2 -2
  182. package/dist/cdn/{QSQCZHKD.js → ZN3SJVQX.js} +2 -2
  183. package/dist/cdn/{RNXFVIO5.js → ZVNE7OAF.js} +2 -2
  184. package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.fr.json +1 -1
  185. package/dist/cdn/index.js +2 -2
  186. package/dist/chunks/action-bar-utils.js +4 -4
  187. package/dist/chunks/axis-model-wrapper.js +1 -1
  188. package/dist/chunks/bar-chart-model.js +3 -3
  189. package/dist/chunks/bar-chart-series.js +1 -1
  190. package/dist/chunks/baseline-stacking.js +1 -1
  191. package/dist/chunks/bg_BG.js +1 -1
  192. package/dist/chunks/bg_BG2.js +1 -1
  193. package/dist/chunks/box-plot-data.js +3 -3
  194. package/dist/chunks/box-plot-model.js +9 -9
  195. package/dist/chunks/chart-ui-utils.js +1 -1
  196. package/dist/chunks/chart-ui-utils2.js +2 -2
  197. package/dist/chunks/combo-bar-line-chart-model.js +1 -1
  198. package/dist/chunks/common.js +1 -1
  199. package/dist/chunks/config-update.js +2 -2
  200. package/dist/chunks/data.js +59 -927
  201. package/dist/chunks/data2.js +907 -0
  202. package/dist/chunks/default.js +1 -1
  203. package/dist/chunks/gauge-model.js +2 -2
  204. package/dist/chunks/heat-chart-model.js +42 -29
  205. package/dist/chunks/histogram-data.js +5 -5
  206. package/dist/chunks/histogram-model.js +3 -3
  207. package/dist/chunks/index.js +51 -51
  208. package/dist/chunks/index2.js +2 -2
  209. package/dist/chunks/index3.js +2 -2
  210. package/dist/chunks/index4.js +1 -1
  211. package/dist/chunks/index5.js +1 -1
  212. package/dist/chunks/interfaces.js +226 -224
  213. package/dist/chunks/interfaces2.js +1 -1
  214. package/dist/chunks/interfaces3.js +1 -1
  215. package/dist/chunks/interfaces4.js +1 -1
  216. package/dist/chunks/line-chart-model.js +2 -2
  217. package/dist/chunks/model-with-baseline-stacking.js +1 -1
  218. package/dist/chunks/model-with-data-labels.js +1 -1
  219. package/dist/chunks/model-with-multi-axes.js +28 -28
  220. package/dist/chunks/model-with-rotation.js +2 -2
  221. package/dist/chunks/pie-chart-data.js +113 -111
  222. package/dist/chunks/pie-chart-model.js +3 -3
  223. package/dist/chunks/popover-ui-utils.js +1 -1
  224. package/dist/chunks/radar-chart-model.js +2 -2
  225. package/dist/chunks/resource.js +1 -1
  226. package/dist/chunks/rest-js-object-literals.js +1 -1
  227. package/dist/chunks/runtime.js +1 -1
  228. package/dist/chunks/scatterplot-model.js +3 -3
  229. package/dist/chunks/serial-chart-model.js +28 -27
  230. package/dist/chunks/series-types.js +1 -1
  231. package/dist/chunks/series.js +1 -1
  232. package/dist/chunks/sk_SK.js +1 -1
  233. package/dist/chunks/store.js +1 -1
  234. package/dist/chunks/type-guards.js +1 -1
  235. package/dist/chunks/useT9n.js +1 -1
  236. package/dist/chunks/web-component-utils.js +136 -133
  237. package/dist/components/arcgis-chart/customElement.d.ts +6 -7
  238. package/dist/components/arcgis-chart/customElement.js +3 -3
  239. package/dist/components/arcgis-charts-action-bar/customElement.d.ts +2 -3
  240. package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
  241. package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
  242. package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
  243. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  244. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +22 -17
  245. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +2 -2
  246. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +2 -2
  247. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
  248. package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
  249. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +2 -2
  250. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +2 -2
  251. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +6 -6
  252. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
  253. package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
  254. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
  255. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  256. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  257. package/dist/components/arcgis-charts-config-create-flow/customElement.js +5 -5
  258. package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
  259. package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
  260. package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
  261. package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
  262. package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
  263. package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
  264. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
  265. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  266. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
  267. package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
  268. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +2 -2
  269. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +2 -2
  270. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
  271. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  272. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +28 -23
  273. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +2 -2
  274. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +2 -2
  275. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
  276. package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
  277. package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
  278. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
  279. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +23 -18
  280. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +2 -2
  281. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
  282. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
  283. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +2 -2
  284. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +2 -2
  285. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +2 -2
  286. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
  287. package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
  288. package/dist/docs/api.json +8 -4
  289. package/dist/docs/docs.json +4 -4
  290. package/dist/docs/vscode.html-custom-data.json +6 -2
  291. package/dist/docs/web-types.json +3 -3
  292. package/dist/index.js +314 -313
  293. package/dist/loader.js +1 -1
  294. package/dist/model/heat-chart-model/heat-chart-model.d.ts +6 -1
  295. package/dist/model/heat-chart-model/utils/heat-chart-data.d.ts +13 -2
  296. package/dist/model/shared/data.d.ts +25 -2
  297. package/dist/model.js +1 -1
  298. package/dist/utils/layer/index.d.ts +15 -0
  299. package/package.json +3 -3
  300. package/dist/cdn/3WM3XICJ.js +0 -4
  301. package/dist/cdn/4B3SN7T2.js +0 -4
  302. package/dist/cdn/6EC5TOXQ.js +0 -4
  303. package/dist/cdn/6IH5VCHL.js +0 -4
  304. package/dist/cdn/6ODXK67L.js +0 -4
  305. package/dist/cdn/7T7FD6S7.js +0 -4
  306. package/dist/cdn/F76PK7QD.js +0 -4
  307. package/dist/cdn/G44CQEWM.js +0 -4
  308. package/dist/cdn/I2PELCAX.js +0 -4
  309. package/dist/cdn/IGOLQMJD.js +0 -4
  310. package/dist/cdn/IXYWJXFQ.js +0 -4
  311. package/dist/cdn/LFOKOLQQ.js +0 -4
  312. package/dist/cdn/NHBNJ2ZS.js +0 -4
  313. package/dist/cdn/PDKUKGYL.js +0 -4
  314. package/dist/cdn/PSSZS7QJ.js +0 -4
  315. package/dist/cdn/UFHUIUA7.js +0 -6
  316. package/dist/cdn/X4RPQ25S.js +0 -4
  317. package/dist/cdn/Y3ZO3AST.js +0 -4
@@ -0,0 +1,907 @@
1
+ import { substitute as V } from "@arcgis/core/intl.js";
2
+ import { cloneDeep as R, memoize as le, isEmpty as he } from "lodash-es";
3
+ import { e as ve, a as I, u as Ie, W as O, g as U, t as k, m as $, n as Be, i as z } from "./series-types.js";
4
+ import { a as re, R as Le } from "./rest-js-object-literals.js";
5
+ import { ae as Y, cd as Ce, aX as oe, ch as D, ac as B, aa as L, b5 as h, aw as Ne, ad as Ve, r as C, bh as De, bJ as ne, bi as Z, bj as _, cl as Oe, l as G, cz as qe, p as J, cB as E, m as we, b as X, bg as Me, y as Q, az as ke, aA as je, aC as Pe, bf as ie, af as Ue, ag as Ee } from "./interfaces.js";
6
+ import "@arcgis/toolkit/intl";
7
+ import "d3-array";
8
+ import "@arcgis/core/geometry/support/jsonUtils.js";
9
+ import "@arcgis/core/rest/support/AttributeBinsQuery.js";
10
+ import "@arcgis/core/rest/support/Query.js";
11
+ import "@arcgis/core/rest/support/StatisticDefinition.js";
12
+ import "@arcgis/core/time/TimeExtent.js";
13
+ import "@arcgis/core/core/promiseUtils.js";
14
+ import "@arcgis/core/request.js";
15
+ import "./runtime.js";
16
+ import { q as Xe, l as v, n as Ke, o as Re, j as T, k as A } from "./index4.js";
17
+ import "@arcgis/toolkit/dom";
18
+ import { S as w } from "./common.js";
19
+ import { a as P, s as ce, g as H } from "./data.js";
20
+ import { u as de } from "./index2.js";
21
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
22
+ See https://js.arcgis.com/4.34/esri/copyright.txt for details.
23
+ v4.34.0-next.165 */
24
+ function se(t, e, i) {
25
+ const s = t?.axes?.[e];
26
+ s?.title !== void 0 ? s.title.content.text = i : s !== void 0 && (s.title = B({
27
+ text: i,
28
+ visible: !0,
29
+ font: L(h.AxisTitle)
30
+ }));
31
+ }
32
+ function ue(t) {
33
+ const { config: e, layerInfo: i, commonStrings: s, numericFields: a, aggregationType: l } = t;
34
+ let r = "";
35
+ if (e)
36
+ if (Ce(e) === ve.Stacked100)
37
+ r = s.utilsStrings.statistics.percent;
38
+ else {
39
+ const y = oe(l, s);
40
+ if (a.length === 1) {
41
+ const n = D(i.layerFieldsInfo, a[0]);
42
+ l === I.NoAggregation ? r = n : l === I.Count && a[0] === i.objectIdField ? r = s.utilsStrings.statistics.count : r = V(s.axisLabels.aggregationOfFieldName, {
43
+ aggregation: y,
44
+ fieldName: n
45
+ });
46
+ } else a.length > 1 && (l === I.NoAggregation ? r = s.axisLabels.values : r = V(s.axisLabels.aggregationOfValues, {
47
+ aggregation: y
48
+ }));
49
+ }
50
+ return r;
51
+ }
52
+ const ye = (t, e, i) => t.axes?.[e] ?? Ne(i, t.type)[e], ge = (t) => {
53
+ const { config: e, axis: i, axisIndex: s } = t;
54
+ e.axes !== void 0 && (e.axes[s] = i);
55
+ }, Ot = (t) => {
56
+ const { config: e, axisIndex: i, isMax: s } = t;
57
+ let a = Number.NaN;
58
+ return s ? a = e.axes?.[i]?.maximum : a = e.axes?.[i]?.minimum, a ?? Number.NaN;
59
+ }, b = (t) => {
60
+ const { config: e, value: i, axisIndex: s, isMax: a } = t, l = e?.axes?.[s];
61
+ l !== void 0 && (a ? l.maximum = i : l.minimum = i);
62
+ }, qt = (t, e) => {
63
+ b({ config: t, value: e, axisIndex: 0, isMax: !1 });
64
+ }, fe = (t) => t.axes?.[0]?.valueFormat ?? Y(), We = (t, e, i) => {
65
+ const s = ye(t, 0, e);
66
+ if (s !== void 0 && i !== void 0) {
67
+ const a = {
68
+ ...s,
69
+ valueFormat: i
70
+ };
71
+ ge({ config: t, axis: a, axisIndex: 0 });
72
+ }
73
+ }, ae = (t, e, i) => {
74
+ const s = t.axes?.[e];
75
+ s !== void 0 && (s.integerOnlyValues = i);
76
+ }, $e = (t) => {
77
+ const e = Ie(t.series);
78
+ return e === O.BarSeries || e === O.ComboLineAndBarSeries || e === O.LineSeries;
79
+ }, ze = (t) => {
80
+ const { axisIndex: e, config: i, isMultiAxis: s } = t;
81
+ let a = !1;
82
+ return e === 0 || e === 1 && s ? a = !0 : e === 2 && (a = $e(i)), a;
83
+ }, wt = (t) => {
84
+ const { axisIndex: e, func: i, config: s } = t;
85
+ return ze({ axisIndex: e, config: s, isMultiAxis: !0 }) ? i(e) : void 0;
86
+ }, Mt = (t, e) => {
87
+ let i;
88
+ const s = e.axes?.[t]?.valueFormat;
89
+ return (t === 0 || t >= 1 && Xe(s)) && (i = s), i;
90
+ }, kt = (t) => {
91
+ const { config: e, commonStrings: i, valueFormat: s, axisIndex: a = 0 } = t, l = ye(e, a, i);
92
+ if (l !== void 0 && s !== void 0) {
93
+ const r = {
94
+ ...l,
95
+ valueFormat: s
96
+ };
97
+ ge({
98
+ config: e,
99
+ axis: r,
100
+ axisIndex: a
101
+ });
102
+ }
103
+ }, jt = (t, e) => t.axes?.[e]?.isLogarithmic ?? !1, Pt = (t) => {
104
+ const { config: e, isLogarithmic: i, axisIndex: s } = t, a = e.axes?.[s];
105
+ a && (a.isLogarithmic = i, b({ config: e, value: null, axisIndex: s, isMax: !0 }), b({ config: e, value: null, axisIndex: s, isMax: !1 }));
106
+ }, Ut = (t) => {
107
+ const { config: e, scrollbar: i, axisIndex: s } = t;
108
+ e.axes?.[s] !== void 0 && (e.axes[s].scrollbar = i);
109
+ }, Et = (t) => t.version, Ye = (t) => t.title?.content.text ?? "", Xt = (t, e) => {
110
+ e.title !== void 0 ? e.title.content.text = t : e.title === void 0 && t !== void 0 && (e.title = B({
111
+ text: t,
112
+ visible: !0,
113
+ font: L(h.ChartTitle)
114
+ }));
115
+ }, Kt = (t) => t.subtitle?.content.text ?? "", Rt = (t, e) => {
116
+ e.subtitle !== void 0 ? e.subtitle.content.text = t : e.subtitle === void 0 && t !== void 0 && (e.subtitle = B({
117
+ text: t,
118
+ visible: !0,
119
+ font: L(h.ChartSubtitle)
120
+ }));
121
+ }, Wt = (t) => t.footer?.content.text ?? "", $t = (t, e) => {
122
+ e.footer !== void 0 ? e.footer.content.text = t : e.footer === void 0 && t !== void 0 && (e.footer = B({
123
+ text: t,
124
+ visible: !0,
125
+ font: L(h.DescriptionText)
126
+ }));
127
+ }, zt = (t) => t.title ? t.title.visible ?? !0 : !1, Yt = (t, e) => {
128
+ e.title !== void 0 ? e.title.visible = t : e.title === void 0 && (e.title = B({
129
+ text: "",
130
+ visible: t,
131
+ font: L(h.ChartTitle)
132
+ }));
133
+ }, Zt = (t) => t.subtitle ? t.subtitle.visible ?? !0 : !1, _t = (t, e) => {
134
+ e.subtitle !== void 0 ? e.subtitle.visible = t : e.subtitle === void 0 && (e.subtitle = B({
135
+ text: "",
136
+ visible: t,
137
+ font: L(h.ChartSubtitle)
138
+ }));
139
+ }, Ze = (t) => t.footer?.visible ?? !1, Gt = (t, e) => {
140
+ e.footer !== void 0 ? e.footer.visible = t : e.footer === void 0 && t !== Ze(e) && (e.footer = B({
141
+ text: "",
142
+ visible: !0,
143
+ font: L(h.DescriptionText)
144
+ }));
145
+ }, Jt = (t) => t.chartRenderer, Qt = (t, e) => {
146
+ e.chartRenderer = t;
147
+ }, Ht = (t, e) => t.axes?.[e]?.title?.content, ei = (t) => {
148
+ const { config: e, axisIndex: i, symbol: s } = t, a = e.axes?.[i];
149
+ if (a !== void 0) {
150
+ const l = a.title?.content.text;
151
+ (a.title === void 0 || s === void 0) && (a.title = B({
152
+ text: "",
153
+ visible: !0,
154
+ font: L(h.AxisTitle),
155
+ type: h.AxisTitle
156
+ })), s !== void 0 && (a.title.content = s), a.title.content.text = l;
157
+ }
158
+ }, ti = (t) => {
159
+ for (const e of t.axes ?? [])
160
+ if (e?.labels !== void 0)
161
+ return e.labels.content;
162
+ }, ii = (t, e) => {
163
+ for (const i of e.axes ?? [])
164
+ if (i !== void 0) {
165
+ const s = i.labels?.content.text;
166
+ t === void 0 ? i.labels = B({
167
+ text: "",
168
+ visible: !0,
169
+ font: L(h.AxisLabels),
170
+ type: h.AxisLabels
171
+ }) : i.labels.content = R(t), i.labels.content.text = s;
172
+ }
173
+ }, si = (t) => {
174
+ for (const e of t.axes ?? [])
175
+ if (e?.lineSymbol !== void 0)
176
+ return e.lineSymbol;
177
+ }, ai = (t, e) => {
178
+ for (const i of e.axes ?? [])
179
+ i !== void 0 && (i.lineSymbol = R(t) ?? Ve());
180
+ }, li = (t) => {
181
+ for (const e of t.axes ?? [])
182
+ if (e?.grid !== void 0)
183
+ return e.grid;
184
+ }, ri = (t, e, i) => {
185
+ const s = e.axes;
186
+ i.forEach((a) => {
187
+ s?.[a] !== void 0 && (s[a].grid = R(t));
188
+ });
189
+ }, ee = (t, e) => e.axes?.[t]?.title?.content.text ?? "", oi = (t, e, i) => {
190
+ const s = i.axes?.[e];
191
+ s?.title !== void 0 ? s.title.content.text = t : s !== void 0 && s?.title === void 0 && (s.title = B({
192
+ text: t,
193
+ visible: !0,
194
+ font: L(h.AxisTitle)
195
+ }));
196
+ }, ni = (t, e) => e.axes?.[t]?.title?.visible ?? !1, ci = (t, e, i) => {
197
+ const s = i.axes?.[e];
198
+ s?.title !== void 0 ? s.title.visible = t : s !== void 0 && s?.title === void 0 && (s.title = B({
199
+ text: ee(e, i),
200
+ visible: t,
201
+ font: L(h.AxisTitle)
202
+ }));
203
+ }, di = (t, e) => t.axes?.[e]?.displayZeroLine ?? !1, ui = (t, e, i) => {
204
+ t.axes?.[i] !== void 0 && (t.axes[i].displayZeroLine = e);
205
+ }, yi = (t, e) => t.axes?.[e]?.displayCursorTooltip ?? !1, gi = (t) => {
206
+ const { config: e, displayCursorTooltip: i, axisIndex: s } = t;
207
+ e.axes?.[s] !== void 0 && (e.axes[s].displayCursorTooltip = i);
208
+ }, fi = (t, e) => t.axes?.[e]?.buffer ?? !1, mi = (t) => {
209
+ const { config: e, buffer: i, axisIndex: s } = t, a = e.axes?.[s];
210
+ a !== void 0 && (a.buffer = i);
211
+ }, xi = (t, e) => t.axes?.[e]?.tickSpacing, pi = (t) => {
212
+ const { config: e, tickSpacing: i, axisIndex: s } = t;
213
+ e.axes?.[s] !== void 0 && (e.axes[s].tickSpacing = i);
214
+ }, Si = (t, e) => t.axes?.[e]?.integerOnlyValues ?? !1, bi = (t) => {
215
+ const { config: e, integerOnlyValues: i, axisIndex: s } = t;
216
+ e.axes?.[s] !== void 0 && (e.axes[s].integerOnlyValues = i);
217
+ }, _e = (t) => {
218
+ let e;
219
+ const i = t.series[0];
220
+ return C(i) && (e = i.temporalBinning?.size), e;
221
+ }, Ge = (t) => {
222
+ let e;
223
+ const i = t.series[0];
224
+ return C(i) && (e = i.temporalBinning?.unit), e;
225
+ }, Je = (t) => {
226
+ let e;
227
+ const i = t.series[0];
228
+ return C(i) && (e = i.temporalBinning?.timeAggregationType), e;
229
+ }, Qe = (t) => {
230
+ let e;
231
+ const i = t.series[0];
232
+ return C(i) && (e = i.temporalBinning?.trimIncompleteTimeInterval), e;
233
+ }, He = (t) => {
234
+ let e;
235
+ const i = t.series[0];
236
+ return C(i) && (e = i.temporalBinning?.nullPolicy), e;
237
+ }, me = (t, e) => {
238
+ e?.series?.forEach((i) => {
239
+ C(i) && (i.temporalBinning ??= {}, i.temporalBinning.size = t);
240
+ }), b({ config: e, value: null, axisIndex: 1, isMax: !1 }), b({ config: e, value: null, axisIndex: 1, isMax: !0 });
241
+ }, et = (t, e) => {
242
+ e?.series?.forEach((i) => {
243
+ C(i) && (i.temporalBinning ??= {}, i.temporalBinning.nullPolicy = t);
244
+ }), b({ config: e, value: null, axisIndex: 1, isMax: !1 }), b({ config: e, value: null, axisIndex: 1, isMax: !0 });
245
+ }, Fi = (t, e) => {
246
+ e.series?.forEach((i) => {
247
+ C(i) && (i.temporalBinning ??= {}, i.temporalBinning.unit = t);
248
+ }), b({ config: e, value: null, axisIndex: 1, isMax: !1 }), b({ config: e, value: null, axisIndex: 1, isMax: !0 });
249
+ }, Ti = (t, e) => {
250
+ e.series?.forEach((i) => {
251
+ C(i) && (i.temporalBinning ??= {}, i.temporalBinning.timeAggregationType = t);
252
+ }), b({ config: e, value: null, axisIndex: 1, isMax: !1 }), b({ config: e, value: null, axisIndex: 1, isMax: !0 });
253
+ }, Ai = (t, e) => {
254
+ e.series?.forEach((i) => {
255
+ C(i) && (i.temporalBinning ??= {}, i.temporalBinning.trimIncompleteTimeInterval = t);
256
+ }), b({ config: e, value: null, axisIndex: 1, isMax: !1 }), b({ config: e, value: null, axisIndex: 1, isMax: !0 });
257
+ }, hi = (t) => {
258
+ me(0, t);
259
+ };
260
+ async function tt(t) {
261
+ const { config: e, layer: i, xAxisField: s, splitByField: a, layerFieldsInfo: l, aggregationFields: r, fetchNullValues: c } = t, n = l.filter((f) => f.name === a)[0]?.type, x = c !== !0 ? `${a} IS NOT NULL` : "", d = s && c !== !0 ? `${s} IS NOT NULL` : "", { where: p } = e?.dataFilters ?? {}, m = {
262
+ where: ne([p, x, d]),
263
+ // excluding the null values from the list
264
+ orderByFields: Oe(a) ? [] : [`${a} ${U.Ascending}`],
265
+ // default sorting ascending for split-by field
266
+ geometry: e?.dataFilters?.geometry
267
+ }, g = i;
268
+ let u = "";
269
+ r.length === 0 ? u = g?.objectIdField ?? "" : [u] = r;
270
+ let S = await de({
271
+ queryObject: g,
272
+ category: e?.series[0].x ?? "",
273
+ splitByField: a,
274
+ queryConfig: m
275
+ });
276
+ if (e) {
277
+ const f = e?.series.map((o) => G({ where: o.query?.where })?.toString() ?? "").filter((o) => o !== void 0 && o !== "");
278
+ S = qe({
279
+ arrayA: S,
280
+ arrayB: f,
281
+ getKey: (o) => o === null ? null : o?.toString()
282
+ });
283
+ }
284
+ return { categoriesArray: S, splitByFieldType: n, numericalField: u };
285
+ }
286
+ function vi(t, e) {
287
+ let i = e === "";
288
+ for (const s of t)
289
+ if (e === s.name) {
290
+ i = !0;
291
+ break;
292
+ }
293
+ return i;
294
+ }
295
+ function Ii(t, e) {
296
+ const i = De(t);
297
+ let s = e.length === 0, a = 0;
298
+ for (const l of e) {
299
+ for (const r of i)
300
+ if (l === r && (a += 1), a === e.length) {
301
+ s = !0;
302
+ break;
303
+ }
304
+ if (s)
305
+ break;
306
+ }
307
+ return s;
308
+ }
309
+ function Bi(t, e) {
310
+ e.forEach((i) => {
311
+ Object.getOwnPropertyNames(i.prototype).forEach((s) => {
312
+ Object.defineProperty(
313
+ t.prototype,
314
+ s,
315
+ Object.getOwnPropertyDescriptor(i.prototype, s) || /* @__PURE__ */ Object.create(null)
316
+ );
317
+ });
318
+ });
319
+ }
320
+ async function it(t) {
321
+ const { layerInfo: e, config: i, category: s } = t, { layer: a } = e, { where: l } = i?.dataFilters ?? {}, { fetchNullValues: r } = i?.series?.[0]?.query ?? {}, c = r !== !0 ? `${s} IS NOT NULL` : "", y = {
322
+ where: ne([l, c]),
323
+ // excluding the null values from the list
324
+ orderByFields: [],
325
+ geometry: i?.dataFilters?.geometry
326
+ }, n = Z(a);
327
+ return (
328
+ // fetch unique category values asynchronously
329
+ (await de({ queryObject: a, category: s, queryConfig: y })).map((d) => {
330
+ const p = String(d);
331
+ return _({
332
+ fieldName: s,
333
+ fieldValueToMatch: p,
334
+ subtypeInfo: n,
335
+ // use the retrieved subtype information
336
+ fieldList: e.layerFieldsInfo
337
+ // list of field information from the layer
338
+ }) ?? p;
339
+ })
340
+ );
341
+ }
342
+ const Li = (t, e) => e.series[t]?.id, Ci = (t, e) => e.series.findIndex((i) => i.id === t), st = (t) => t.series.length ?? 0, Ni = (t, e) => e.series[t].visible ?? !0;
343
+ function Vi(t, e) {
344
+ let i;
345
+ return t.length !== 0 && e < t.length && (i = t[e].dataTooltipValueFormat), i;
346
+ }
347
+ function Di(t) {
348
+ const { series: e, seriesIndex: i, valueFormat: s } = t;
349
+ e.length !== 0 && i < e.length && (e[i].dataTooltipValueFormat = s);
350
+ }
351
+ function j(t) {
352
+ const { seriesIndex: e, xAxisField: i, aggregationType: s, config: a, layerInfo: l, commonStrings: r } = t, { objectIdField: c } = l ?? {};
353
+ let y;
354
+ const n = a.series[e ?? 0];
355
+ let x = !1, d = !1;
356
+ if (n === void 0) {
357
+ const g = a.series;
358
+ x = g.slice(0, e).every((u) => T(u)), d = g.slice(0, e).every((u) => A(u));
359
+ } else
360
+ x = T(n), d = A(n);
361
+ x ? y = ke({
362
+ commonStrings: r,
363
+ seriesIndex: e,
364
+ objectIDField: c
365
+ }) : d ? y = je({
366
+ commonStrings: r,
367
+ seriesIndex: e,
368
+ objectIDField: c
369
+ }) : y = Pe({
370
+ seriesIndex: e,
371
+ objectIDField: c,
372
+ commonStrings: r
373
+ });
374
+ const p = a.series[0]?.dataLabels, m = {
375
+ ...y,
376
+ x: i,
377
+ y: "",
378
+ dataLabels: {
379
+ ...y.dataLabels,
380
+ type: y.dataLabels?.type ?? O.Text,
381
+ content: { ...y.dataLabels?.content, ...p?.content, type: Le.TS },
382
+ visible: p?.visible ?? !1
383
+ }
384
+ };
385
+ if (m.query = {
386
+ groupByFieldsForStatistics: [i]
387
+ }, s !== I.NoAggregation && c !== void 0) {
388
+ const g = `${s}_${c}_0`.toUpperCase();
389
+ m.y = g, m.query.outStatistics = [
390
+ {
391
+ statisticType: s,
392
+ onStatisticField: c,
393
+ outStatisticFieldName: g
394
+ }
395
+ ];
396
+ }
397
+ if (T(m) || A(m) || v(m) && a.series[0]?.binTemporalData) {
398
+ let g;
399
+ if (a?.series?.[0] !== void 0 && (g = J(a.series)), g !== E.BarAndLineNoAggregation && g !== E.BarAndLineSplitByNoAggregation) {
400
+ let u = Ge(a);
401
+ u === z.Quarter && (u = z.Month), m.temporalBinning = {
402
+ size: _e(a),
403
+ unit: u,
404
+ timeAggregationType: Je(a),
405
+ trimIncompleteTimeInterval: Qe(a),
406
+ nullPolicy: He(a)
407
+ };
408
+ }
409
+ }
410
+ return R(m);
411
+ }
412
+ function xe(t, e, i) {
413
+ const { layerFieldsInfo: s, objectIdField: a } = e, l = P(t), r = te(t), c = Se(t), y = K(t), n = r.length === 0 || r.includes(a), x = oe(c, i), d = n ? "" : r.map((o) => D(s ?? [], o)).join(", "), p = D(s ?? [], l), m = D(s ?? [], y), g = t.series.some((o) => v(o)), u = g ? "category" : "xAxisField", S = p;
414
+ let f = "";
415
+ if (ce({
416
+ fieldName: l,
417
+ numericFields: r,
418
+ fieldList: s
419
+ }))
420
+ f = V(i.titleLabels.aggrTypeOfAggrFields, {
421
+ aggregationType: x,
422
+ aggregationFields: d
423
+ });
424
+ else if (c === I.NoAggregation) {
425
+ const o = n ? a : d;
426
+ if (y === "") {
427
+ const q = g ? "aggrTypeCategory" : "aggrTypeXAxisField";
428
+ f = V(i.titleLabels[q], {
429
+ aggregationType: o,
430
+ [u]: S
431
+ });
432
+ } else {
433
+ const q = g ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
434
+ f = V(i.titleLabels[q], {
435
+ aggregationType: o,
436
+ [u]: S,
437
+ splitByField: m
438
+ });
439
+ }
440
+ } else if (c === I.Count)
441
+ if (y === "") {
442
+ const o = g ? "aggrTypeCategory" : "aggrTypeXAxisField";
443
+ f = V(i.titleLabels[o], {
444
+ aggregationType: x,
445
+ [u]: S
446
+ });
447
+ } else {
448
+ const o = g ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
449
+ f = V(i.titleLabels[o], {
450
+ aggregationType: x,
451
+ [u]: S,
452
+ splitByField: m
453
+ });
454
+ }
455
+ else if (y !== "") {
456
+ const o = g ? "aggrTypeOfAggrFieldByCategoryBySplitByField" : "aggrTypeOfAggrFieldByXAxisFieldBySplitByField";
457
+ f = V(i.titleLabels[o], {
458
+ aggregationType: x,
459
+ aggregationField: d,
460
+ [u]: S,
461
+ splitByField: m
462
+ });
463
+ } else if (r.length > 0) {
464
+ const o = g ? "aggrTypeOfAggrFieldsByCategory" : "aggrTypeOfAggrFieldsByXAxisField";
465
+ f = V(i.titleLabels[o], {
466
+ aggregationType: x,
467
+ aggregationFields: d,
468
+ [u]: S
469
+ });
470
+ }
471
+ return f;
472
+ }
473
+ const pe = (t) => G({
474
+ where: t.query?.where,
475
+ normalize: !1,
476
+ escape: !1
477
+ }) ?? "", Se = (t) => t?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? I.NoAggregation, K = le(
478
+ (t) => {
479
+ const e = t?.series?.[0]?.query?.where?.split("=")[0].trim() ?? "";
480
+ return we(t?.series?.[0]?.query?.where) ? "" : e;
481
+ },
482
+ (t) => t?.series?.[0]?.query?.where
483
+ ), te = le(
484
+ // without memoizing, the worst case efficiency is O(series.length), best case is O(1)
485
+ // with memoizing, the worst case efficiency for repeated calls becomes O(1)
486
+ (t) => {
487
+ let e = [];
488
+ if (K(t) === "")
489
+ e = t?.series.map((i) => {
490
+ const s = i.query?.outStatistics?.map((a) => a.onStatisticField) ?? [];
491
+ return s?.length > 0 ? s : i.y;
492
+ }).flat() ?? [];
493
+ else {
494
+ const i = t?.series?.[0], s = i?.query?.outStatistics?.[0]?.onStatisticField ?? [i?.y].flat()[0];
495
+ e = s !== void 0 ? [s] : [];
496
+ }
497
+ return [...new Set(e.filter((i) => i !== ""))];
498
+ },
499
+ // using series array address as key, since a change to the numeric fields will always rebuild a fresh series array
500
+ (t) => t?.series
501
+ );
502
+ function at(t) {
503
+ const { numericFields: e, aggregationType: i, config: s, layerInfo: a } = t;
504
+ let l = !1;
505
+ i === I.Count ? l = !0 : i === I.NoAggregation && (l = e.every((y) => {
506
+ const n = a.layerFieldsInfo.find((x) => x.name === y);
507
+ return n !== void 0 ? ie(n) : !1;
508
+ })), ae(s, 1, l);
509
+ const r = s.series.some((y) => T(y)), c = s.series.some((y) => A(y));
510
+ if (r || c) {
511
+ const y = P(s), n = a.layerFieldsInfo.find((d) => d.name === y), x = n !== void 0 && ie(n);
512
+ ae(s, 0, x);
513
+ }
514
+ }
515
+ const lt = (t) => {
516
+ let e = w.xAxisAsc;
517
+ const i = t.orderOptions?.data?.orderType ?? k.Category, s = t.orderOptions?.data?.orderBy ?? U.Ascending;
518
+ return i === k.Category && Array.isArray(s) ? e = w.customSort : i === k.Category ? s === U.Ascending ? e = w.xAxisAsc : e = w.xAxisDesc : s === U.Ascending ? e = w.yAxisAsc : e = w.yAxisDesc, e;
519
+ };
520
+ function rt(t) {
521
+ const { xAxisField: e, numericFields: i, aggregationType: s, config: a, layerInfo: l, commonStrings: r } = t, { layerFieldsInfo: c } = l;
522
+ let y = !1;
523
+ const n = j({
524
+ config: a,
525
+ xAxisField: e,
526
+ aggregationType: s,
527
+ layerInfo: l,
528
+ seriesIndex: 0,
529
+ commonStrings: r
530
+ }), x = H({
531
+ config: a,
532
+ xAxisField: e,
533
+ numericFields: i,
534
+ aggregationType: s,
535
+ layer: l.layer,
536
+ fieldList: c
537
+ }).name, d = {
538
+ ...n,
539
+ id: `series_${Date.now()}`,
540
+ name: r.axisLabels.values,
541
+ x: X,
542
+ y: x
543
+ }, p = [];
544
+ for (const g of i)
545
+ p.push({
546
+ onStatisticField: g,
547
+ outStatisticFieldName: `${g}_0`.toUpperCase(),
548
+ statisticType: s
549
+ });
550
+ d.query = { outStatistics: p };
551
+ const m = a.series[0];
552
+ return m !== void 0 && (d.id = m.id, a.colorMatch || (v(m) && v(d) ? d.fillSymbol = m.fillSymbol : (T(d) && T(m) || A(d) && A(m)) && (d.lineSymbol = m.lineSymbol, d.markerSymbol = m.markerSymbol), y = !0), d.id = m.id, m.name !== n.name && (d.name = m.name)), a.series.length === 1 && !a.colorMatch && (v(d) ? d.fillSymbol = a.series[0].fillSymbol : (T(d) || A(d)) && (d.lineSymbol = a.series[0].lineSymbol, d.markerSymbol = a.series[0].markerSymbol), y = !0), a.colorMatch = !y, [d];
553
+ }
554
+ function be(t) {
555
+ const { xAxisField: e, numericFields: i, aggregationType: s, config: a, layerInfo: l, commonStrings: r } = t, { layerFieldsInfo: c, objectIdField: y } = l, n = [];
556
+ let x = !1;
557
+ for (let d = 0; d < i.length; d += 1) {
558
+ const p = j({
559
+ config: a,
560
+ xAxisField: e,
561
+ aggregationType: s,
562
+ layerInfo: l,
563
+ seriesIndex: d,
564
+ commonStrings: r
565
+ }), m = H({
566
+ config: a,
567
+ xAxisField: e,
568
+ numericFields: i,
569
+ aggregationType: s,
570
+ layer: l.layer,
571
+ numericFieldIndex: d,
572
+ fieldList: c
573
+ }).name, g = i[d];
574
+ let u = {
575
+ ...p,
576
+ query: {
577
+ ...p.query
578
+ }
579
+ };
580
+ g !== y && (u = {
581
+ ...u,
582
+ id: g,
583
+ name: D(c, g)
584
+ });
585
+ let S = g;
586
+ u.query !== void 0 && (s !== I.NoAggregation ? (S = m, u.query.outStatistics = [
587
+ {
588
+ ...p.query?.outStatistics?.[0] ?? {},
589
+ onStatisticField: g,
590
+ outStatisticFieldName: m,
591
+ statisticType: s
592
+ }
593
+ ]) : delete u.query.outStatistics), u.y = S;
594
+ const f = a.series.find(
595
+ (o) => o.query?.outStatistics?.[0]?.onStatisticField === g && o.query.where === void 0
596
+ );
597
+ if (f !== void 0 && typeof f.y == "string" && f.y.trim() !== "") {
598
+ a.colorMatch || (v(u) && v(f) ? u.fillSymbol = f.fillSymbol : (T(u) && T(f) || A(u) && A(f)) && (u.lineSymbol = f.lineSymbol, u.markerSymbol = f.markerSymbol), x = !0);
599
+ const o = j({
600
+ config: a,
601
+ xAxisField: e,
602
+ aggregationType: s,
603
+ layerInfo: l,
604
+ seriesIndex: d,
605
+ commonStrings: r
606
+ });
607
+ u.id = f.id, f.id !== o.id && f.name !== o.name && (u.id = f.id, u.name = f.name);
608
+ }
609
+ n.push(u);
610
+ }
611
+ return a.series.length === 1 && n.length === 1 && !a.colorMatch && (v(a.series[0]) && v(n[0]) ? n[0].fillSymbol = a.series[0].fillSymbol : (T(a.series[0]) && T(n[0]) || A(a.series[0]) && A(n[0])) && (n[0].lineSymbol = a.series[0].lineSymbol, n[0].markerSymbol = a.series[0].markerSymbol), x = !0), a.colorMatch = !x, n;
612
+ }
613
+ async function ot(t) {
614
+ const { splitByField: e, xAxisField: i, numericFields: s, aggregationType: a, config: l, layerInfo: r, commonStrings: c } = t, { layer: y, layerFieldsInfo: n } = r, { fetchNullValues: x } = l?.series?.[0]?.query ?? {}, d = i !== X ? i : void 0, { categoriesArray: p, splitByFieldType: m, numericalField: g } = await tt({
615
+ config: l,
616
+ layer: y,
617
+ layerFieldsInfo: n,
618
+ xAxisField: d,
619
+ aggregationFields: s,
620
+ splitByField: e,
621
+ fetchNullValues: x
622
+ });
623
+ let u = [], S = !1;
624
+ if (p.length === 0) {
625
+ u = be({
626
+ xAxisField: i,
627
+ numericFields: s,
628
+ aggregationType: a,
629
+ config: l,
630
+ layerInfo: r,
631
+ commonStrings: c
632
+ });
633
+ for (const f of u)
634
+ f.query && (f.query.where = `${e}=''`);
635
+ } else
636
+ for (let f = 0; f < p.length; f += 1) {
637
+ const o = p[f], q = H({
638
+ config: l,
639
+ xAxisField: i,
640
+ numericFields: s,
641
+ aggregationType: a,
642
+ layer: r.layer,
643
+ seriesIndex: f,
644
+ splitByField: e,
645
+ fieldList: n
646
+ }).name, M = j({
647
+ config: l,
648
+ xAxisField: i,
649
+ aggregationType: a,
650
+ layerInfo: r,
651
+ seriesIndex: f,
652
+ commonStrings: c
653
+ }), Fe = {
654
+ fieldName: e,
655
+ fieldValueToMatch: o ?? "",
656
+ subtypeInfo: Z(r.layer),
657
+ fieldList: r.layerFieldsInfo
658
+ }, Te = _(Fe), W = `${o}`, F = {
659
+ ...M,
660
+ id: W,
661
+ name: Te ?? W,
662
+ y: q,
663
+ query: {
664
+ ...M.query,
665
+ where: `${e}=${m === re.String && o !== null ? `'${o}'` : o}`,
666
+ outStatistics: a !== I.NoAggregation ? [
667
+ {
668
+ ...M.query?.outStatistics?.[0] ?? {},
669
+ onStatisticField: g,
670
+ outStatisticFieldName: q,
671
+ statisticType: a
672
+ }
673
+ ] : void 0
674
+ }
675
+ };
676
+ a === I.NoAggregation && (F.query !== void 0 && (delete F.query.outStatistics, delete F.query.groupByFieldsForStatistics), F.y = g);
677
+ const N = l.series.find(
678
+ (Ae) => String(pe(Ae)).trim().replace(/'/gu, "") === W
679
+ );
680
+ N !== void 0 && (l.colorMatch || (v(F) && v(N) ? F.fillSymbol = N.fillSymbol : (T(F) && T(N) || A(F) && A(N)) && (F.lineSymbol = N.lineSymbol, F.markerSymbol = N.markerSymbol), S = !0), F.id = N.id, F.name = N.name), u.push(F);
681
+ }
682
+ return l.colorMatch = !S, u;
683
+ }
684
+ const Oi = async (t) => {
685
+ const { xAxisField: e, splitByField: i, numericFields: s, aggregationType: a, config: l, layerInfo: r, commonStrings: c } = t, { layerFieldsInfo: y } = r ?? {}, n = st(l), x = P(l), d = nt(l, r, c), p = ct(l, r, c), m = dt(l, r);
686
+ let g = fe(l);
687
+ const u = l.series.some((o) => v(o)), S = Ke(l.series), f = Re(l.series);
688
+ if (y !== void 0) {
689
+ const o = Me(y);
690
+ !o.includes(x) && o.includes(e) ? g = Ue() : o.includes(x) && !o.includes(e) && (u ? g = Y() : g = Ee()), y.find((M) => M.name === e)?.type === re.String && (g = Y()), g !== void 0 && We(l, c, g);
691
+ }
692
+ if (n === 0 && (l.series = [
693
+ j({ config: l, xAxisField: e, aggregationType: a, layerInfo: r, commonStrings: c })
694
+ ]), l.series.forEach((o) => {
695
+ o.x = e, o.query !== void 0 && (o.query.groupByFieldsForStatistics = [e]);
696
+ }), i === "" || s.length > 1 ? ce({
697
+ fieldName: e,
698
+ numericFields: s,
699
+ fieldList: y
700
+ }) ? l.series = rt({
701
+ config: l,
702
+ layerInfo: r,
703
+ xAxisField: e,
704
+ numericFields: s,
705
+ aggregationType: a,
706
+ commonStrings: c
707
+ }) : l.series = be({
708
+ config: l,
709
+ layerInfo: r,
710
+ xAxisField: e,
711
+ numericFields: s,
712
+ aggregationType: a,
713
+ commonStrings: c
714
+ }) : (await Promise.resolve(), l.series = await ot({
715
+ config: l,
716
+ layerInfo: r,
717
+ splitByField: i,
718
+ xAxisField: e,
719
+ numericFields: s,
720
+ aggregationType: a,
721
+ commonStrings: c
722
+ })), m) {
723
+ const o = D(y, e);
724
+ se(l, 0, o);
725
+ }
726
+ if (p) {
727
+ const o = ue({
728
+ config: l,
729
+ layerInfo: r,
730
+ commonStrings: c,
731
+ numericFields: s,
732
+ aggregationType: a
733
+ });
734
+ se(l, 1, o);
735
+ }
736
+ if (l.title && d && (l.title.content.text = xe(l, r, c)), b({ config: l, value: null, axisIndex: 1, isMax: !1 }), b({ config: l, value: null, axisIndex: 1, isMax: !0 }), at({ numericFields: s, aggregationType: a, config: l, layerInfo: r }), S || f) {
737
+ b({ config: l, value: null, axisIndex: 0, isMax: !1 }), b({ config: l, value: null, axisIndex: 0, isMax: !0 }), me(0, l);
738
+ const o = g?.type === O.DateAxisFormat ? $.Null : $.Interpolate;
739
+ et(o, l);
740
+ }
741
+ }, qi = (t) => {
742
+ const { config: e, seriesIndex: i, layerInfo: s, commonStrings: a } = t, l = e.series?.[i], r = K(e);
743
+ let c;
744
+ if (J(e.series) === E.BarAndLineFromFields)
745
+ c = a.axisLabels.values;
746
+ else if (he(r)) {
747
+ const n = l.query?.outStatistics?.[0]?.onStatisticField;
748
+ n !== void 0 && n !== s.objectIdField && (c = D(s.layerFieldsInfo, n));
749
+ } else {
750
+ const n = String(pe(l)).trim().replace(/'/gu, ""), x = {
751
+ fieldName: K(e),
752
+ fieldValueToMatch: n ?? "",
753
+ subtypeInfo: Z(s.layer),
754
+ fieldList: s.layerFieldsInfo
755
+ };
756
+ c = _(x) ?? n;
757
+ }
758
+ return c ?? l.id;
759
+ }, wi = (t, e) => {
760
+ e.orderOptions ??= {};
761
+ const i = e.orderOptions?.data?.orderType;
762
+ lt(e) === w.customSort && i === k.Category && (e.orderOptions.data = {
763
+ orderType: k.Category,
764
+ orderBy: [...t]
765
+ });
766
+ }, Mi = async (t, e) => {
767
+ const i = P(t), s = fe(t)?.type, a = te(t), l = J(t.series);
768
+ let r = [];
769
+ return s === O.CategoryAxisFormat && (l === E.BarAndLineFromFields || i === X ? r = a.map((c) => D(e?.layerFieldsInfo, c)) : i.trim() !== "" && i !== X && e !== void 0 && (r = await it({
770
+ layerInfo: e,
771
+ config: t,
772
+ category: i
773
+ }))), r;
774
+ };
775
+ function nt(t, e, i) {
776
+ const s = xe(t, e, i), a = Ye(t), l = Q(t);
777
+ return s === a || l;
778
+ }
779
+ function ct(t, e, i) {
780
+ const s = ue({
781
+ config: t,
782
+ layerInfo: e,
783
+ commonStrings: i,
784
+ numericFields: te(t),
785
+ aggregationType: Se(t)
786
+ }), a = ee(1, t), l = Q(t);
787
+ return s === a || l;
788
+ }
789
+ function dt(t, e) {
790
+ const i = D(e.layerFieldsInfo, P(t)), s = ee(0, t), a = Q(t);
791
+ return i === s || a;
792
+ }
793
+ function ki(t) {
794
+ return t.series[0]?.binTemporalData ?? !1;
795
+ }
796
+ function ji(t, e) {
797
+ e?.series.forEach((i) => {
798
+ (i?.type === O.BarSeries || i?.type === O.LineSeries) && (i.binTemporalData = t, t ? i.temporalBinning = {
799
+ unit: z.Day,
800
+ size: 0,
801
+ timeAggregationType: Be.Start,
802
+ trimIncompleteTimeInterval: !0,
803
+ nullPolicy: $.Null
804
+ } : delete i.temporalBinning);
805
+ });
806
+ }
807
+ const Pi = (t, e) => {
808
+ e.series.forEach((i) => {
809
+ i.query && (i.query.fetchNullValues = t);
810
+ });
811
+ }, Ui = (t) => t.series.some((e) => e.query?.fetchNullValues), Ei = (t) => (
812
+ // TODO: Look into split-by values gotchas cases once done
813
+ t.series.map((e) => String(G({ where: e.query?.where }))).filter((e) => e !== void 0 && e.trim() !== "")
814
+ ), Xi = (t) => t.dataFilters, Ki = (t, e) => {
815
+ t !== void 0 ? e.dataFilters = t : delete e.dataFilters;
816
+ };
817
+ export {
818
+ st as $,
819
+ He as A,
820
+ et as B,
821
+ hi as C,
822
+ lt as D,
823
+ Mi as E,
824
+ wi as F,
825
+ ki as G,
826
+ ji as H,
827
+ Oi as I,
828
+ xe as J,
829
+ Wt as K,
830
+ Et as L,
831
+ Xt as M,
832
+ Kt as N,
833
+ Rt as O,
834
+ $t as P,
835
+ zt as Q,
836
+ Yt as R,
837
+ Zt as S,
838
+ _t as T,
839
+ Ze as U,
840
+ Gt as V,
841
+ Jt as W,
842
+ Qt as X,
843
+ Ni as Y,
844
+ Li as Z,
845
+ Ci as _,
846
+ ee as a,
847
+ Vi as a0,
848
+ Di as a1,
849
+ Ui as a2,
850
+ Pi as a3,
851
+ Xi as a4,
852
+ Ki as a5,
853
+ oi as a6,
854
+ ni as a7,
855
+ ci as a8,
856
+ Ot as a9,
857
+ qt as aa,
858
+ Ht as ab,
859
+ ei as ac,
860
+ ti as ad,
861
+ ii as ae,
862
+ si as af,
863
+ ai as ag,
864
+ wt as ah,
865
+ li as ai,
866
+ ri as aj,
867
+ xi as ak,
868
+ Mt as al,
869
+ kt as am,
870
+ jt as an,
871
+ Pt as ao,
872
+ Ut as ap,
873
+ di as aq,
874
+ ui as ar,
875
+ yi as as,
876
+ gi as at,
877
+ fi as au,
878
+ mi as av,
879
+ pi as aw,
880
+ Si as ax,
881
+ bi as ay,
882
+ ue as b,
883
+ qi as c,
884
+ Bi as d,
885
+ vi as e,
886
+ Se as f,
887
+ Ye as g,
888
+ te as h,
889
+ Ii as i,
890
+ Ei as j,
891
+ K as k,
892
+ fe as l,
893
+ it as m,
894
+ We as n,
895
+ tt as o,
896
+ ae as p,
897
+ _e as q,
898
+ me as r,
899
+ b as s,
900
+ Ge as t,
901
+ se as u,
902
+ Fi as v,
903
+ Je as w,
904
+ Ti as x,
905
+ Qe as y,
906
+ Ai as z
907
+ };