@arcgis/charts-components 5.0.0-next.22 → 5.0.0-next.24

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 (319) hide show
  1. package/dist/cdn/{5LDE52ZG.js → 22LMNVZ2.js} +2 -2
  2. package/dist/cdn/{4AGUUEY7.js → 24UUJDMB.js} +2 -2
  3. package/dist/cdn/{CFKXDKDA.js → 2CIIM437.js} +2 -2
  4. package/dist/cdn/{3DFKSASW.js → 2HCJFTCX.js} +2 -2
  5. package/dist/cdn/{A3QPVFLY.js → 2HIMITPJ.js} +2 -2
  6. package/dist/cdn/{IVBE77HX.js → 2KYCZ6HY.js} +2 -2
  7. package/dist/cdn/{NXPXPFWP.js → 2Q33IXZB.js} +2 -2
  8. package/dist/cdn/{UH6CFCLT.js → 2W3SVPRK.js} +2 -2
  9. package/dist/cdn/{UD5DHBID.js → 34BE47CG.js} +2 -2
  10. package/dist/cdn/{7TUQ4IQ3.js → 3E6Q52LF.js} +2 -2
  11. package/dist/cdn/{7Q6MBASQ.js → 3FAXGDQG.js} +2 -2
  12. package/dist/cdn/{YKPKAFAE.js → 3PWK2OEA.js} +2 -2
  13. package/dist/cdn/{PPXPQJ7L.js → 3XTDYZCX.js} +2 -2
  14. package/dist/cdn/{PERHTP2L.js → 3ZMUG5W5.js} +1 -1
  15. package/dist/cdn/{BJ66IO53.js → 43ZMJSAY.js} +2 -2
  16. package/dist/cdn/{ZPAAZWBD.js → 4AHQ5SXI.js} +2 -2
  17. package/dist/cdn/{HDELCYJK.js → 4K5H4IIC.js} +2 -2
  18. package/dist/cdn/{BGGRD4GZ.js → 4UHZZJIJ.js} +2 -2
  19. package/dist/cdn/4Y2HJNTD.js +4 -0
  20. package/dist/cdn/{MQ3Z3VOL.js → 52ZNPAKG.js} +2 -2
  21. package/dist/cdn/{VAWLI7KW.js → 53YQYJVG.js} +2 -2
  22. package/dist/cdn/{EKMAQTDI.js → 54LTRZAM.js} +2 -2
  23. package/dist/cdn/{RXASOFR3.js → 56MT7MME.js} +2 -2
  24. package/dist/cdn/{J2KLZF4I.js → 57DL54HK.js} +2 -2
  25. package/dist/cdn/{PHNMARPA.js → 5CTQIA4D.js} +2 -2
  26. package/dist/cdn/{2SZHG3HO.js → 5LJLYRXP.js} +2 -2
  27. package/dist/cdn/{FPF7YSW7.js → 5MSKZ3X6.js} +2 -2
  28. package/dist/cdn/5O2H4A2X.js +4 -0
  29. package/dist/cdn/{UI2CLFCA.js → 5VLE3SJG.js} +2 -2
  30. package/dist/cdn/{GSOVLQHE.js → 5WQDNSG6.js} +2 -2
  31. package/dist/cdn/{WXP5KLFE.js → 66Z7CGSI.js} +2 -2
  32. package/dist/cdn/{I4MKXTN4.js → 6BOTXYP6.js} +2 -2
  33. package/dist/cdn/{MDZMV4BF.js → 6GB7GIXA.js} +2 -2
  34. package/dist/cdn/{XWSS3C7U.js → 6P554JVC.js} +2 -2
  35. package/dist/cdn/{BQBYL3N2.js → 6Q3FTC6I.js} +2 -2
  36. package/dist/cdn/{E7GCTDV4.js → 6RBVOBYK.js} +2 -2
  37. package/dist/cdn/{SHKCRHBK.js → 6WWUZICV.js} +2 -2
  38. package/dist/cdn/74FN5PHE.js +4 -0
  39. package/dist/cdn/{MOOVAF6P.js → 75ABSXHK.js} +2 -2
  40. package/dist/cdn/{7W7HNSO3.js → 7BUM6BJN.js} +2 -2
  41. package/dist/cdn/{KBIG4RFG.js → 7KNB6BCT.js} +2 -2
  42. package/dist/cdn/{KIBPAYYA.js → 7O5HNYLE.js} +2 -2
  43. package/dist/cdn/{NT2YTCJB.js → 7SUFZGMR.js} +2 -2
  44. package/dist/cdn/{YLQIMT46.js → 7WL7JFUE.js} +2 -2
  45. package/dist/cdn/{NBWZJ73L.js → A5SLMYH4.js} +2 -2
  46. package/dist/cdn/{SJOUE3F7.js → AAB5CYMF.js} +2 -2
  47. package/dist/cdn/{CUMDUWFV.js → AABHM5IU.js} +2 -2
  48. package/dist/cdn/{OQBQR4GN.js → AEQ4THFN.js} +2 -2
  49. package/dist/cdn/{LLOOLSBQ.js → AORLOH4J.js} +2 -2
  50. package/dist/cdn/{J4AH5AVR.js → AQJMM6PQ.js} +2 -2
  51. package/dist/cdn/ARYJXNZY.js +4 -0
  52. package/dist/cdn/{XLLJNH5L.js → AVZCQNM7.js} +2 -2
  53. package/dist/cdn/{LJNYNTT4.js → AWWCMSB6.js} +2 -2
  54. package/dist/cdn/{AJ7NTAAO.js → BF4ZUY4Z.js} +2 -2
  55. package/dist/cdn/{PYIZO24N.js → BHQ2JJ5Y.js} +18 -18
  56. package/dist/cdn/{CDV3LPKQ.js → BILZPN5Z.js} +2 -2
  57. package/dist/cdn/{2U544GXC.js → BTVKBWYL.js} +2 -2
  58. package/dist/cdn/{ZJCZKGLK.js → C34F3MI2.js} +2 -2
  59. package/dist/cdn/C3SO6A2I.js +4 -0
  60. package/dist/cdn/{LCBBKN2D.js → C4OP6FL2.js} +2 -2
  61. package/dist/cdn/{QA2XCRHL.js → CBPCNXVK.js} +2 -2
  62. package/dist/cdn/CE4OHHT6.js +4 -0
  63. package/dist/cdn/{2G54D3OF.js → CG5E2OSK.js} +2 -2
  64. package/dist/cdn/{UMPYOKZC.js → CIQUCT5V.js} +2 -2
  65. package/dist/cdn/{JAVTY3NP.js → CIZIXCQI.js} +2 -2
  66. package/dist/cdn/{SF24B37U.js → CS2SKG6L.js} +2 -2
  67. package/dist/cdn/{U2PEZXCE.js → CYZUI6RX.js} +2 -2
  68. package/dist/cdn/{UOVOBY2X.js → D625Q6AO.js} +2 -2
  69. package/dist/cdn/{GEAHE5YN.js → DAKQGQTK.js} +2 -2
  70. package/dist/cdn/{MH7X24UV.js → DFR5ASOW.js} +2 -2
  71. package/dist/cdn/{LM3XBG7S.js → DOAHYWSH.js} +1 -1
  72. package/dist/cdn/{72CSJHQI.js → DOZXKG5J.js} +2 -2
  73. package/dist/cdn/{XCQX4QQO.js → DTVDB7XR.js} +2 -2
  74. package/dist/cdn/{4EI6NVYW.js → E3OU73RM.js} +2 -2
  75. package/dist/cdn/{MB653WLY.js → EJY7M4TB.js} +2 -2
  76. package/dist/cdn/{ZSLNOAER.js → EK6GYHQW.js} +2 -2
  77. package/dist/cdn/ERTDHAQ2.js +4 -0
  78. package/dist/cdn/{3SMSV7UM.js → F2NR3K6J.js} +2 -2
  79. package/dist/cdn/{S7PLFJQG.js → F6TI5VZ3.js} +2 -2
  80. package/dist/cdn/FPJNPTR2.js +4 -0
  81. package/dist/cdn/G4ODLV5V.js +4 -0
  82. package/dist/cdn/{SJ5BFV5F.js → G5DQS6R3.js} +2 -2
  83. package/dist/cdn/{Q7IWCRMK.js → GGXAEV4J.js} +2 -2
  84. package/dist/cdn/{GSWFJVZW.js → GKDC255O.js} +2 -2
  85. package/dist/cdn/{EXD3SZVY.js → GLISPNPO.js} +2 -2
  86. package/dist/cdn/{4ZEA6ANY.js → GU56O5YZ.js} +2 -2
  87. package/dist/cdn/{XYHI6GPX.js → HESTXB4W.js} +2 -2
  88. package/dist/cdn/{4A6PM22T.js → HFN33C3O.js} +2 -2
  89. package/dist/cdn/{SVC32YBI.js → HIKMPMPH.js} +2 -2
  90. package/dist/cdn/{3AQIKGGP.js → HPDUVIFG.js} +2 -2
  91. package/dist/cdn/{RS4FXHBP.js → HXKLCDWF.js} +2 -2
  92. package/dist/cdn/IGVADTNV.js +4 -0
  93. package/dist/cdn/{34OBKOP2.js → IHDBVR3V.js} +2 -2
  94. package/dist/cdn/IHRUJZ4V.js +42 -0
  95. package/dist/cdn/{JDVSIO5P.js → IRH6JXTV.js} +2 -2
  96. package/dist/cdn/IRTPBRMM.js +4 -0
  97. package/dist/cdn/{3GCSCDVN.js → IVAD3MLP.js} +2 -2
  98. package/dist/cdn/{GZFPTE4C.js → IYX7JQCS.js} +2 -2
  99. package/dist/cdn/{OA6RKTMT.js → J5WOV4L5.js} +1 -1
  100. package/dist/cdn/{WNSVRHPU.js → JC2TOH2N.js} +2 -2
  101. package/dist/cdn/{2MM3QN5G.js → JE2VQESS.js} +2 -2
  102. package/dist/cdn/{SV54UJL3.js → JGVJ4QZU.js} +2 -2
  103. package/dist/cdn/{YOBFS4DR.js → K2TRHPCU.js} +2 -2
  104. package/dist/cdn/{VGPYB7SC.js → KCATM5A6.js} +2 -2
  105. package/dist/cdn/{LK3ZULRA.js → KMIQYYPD.js} +2 -2
  106. package/dist/cdn/{EGW2HLRN.js → KQNCBAFR.js} +2 -2
  107. package/dist/cdn/{YQS57S5A.js → KRNJ6725.js} +2 -2
  108. package/dist/cdn/{76F6IH5J.js → KRQU2VVH.js} +2 -2
  109. package/dist/cdn/{QBNYXUPS.js → KTCLKKQV.js} +2 -2
  110. package/dist/cdn/{UCLJHOYI.js → LCABMHS3.js} +2 -2
  111. package/dist/cdn/{UDIEB3CT.js → LCPQLW4N.js} +2 -2
  112. package/dist/cdn/{QIUAWWNX.js → LH7JXFZV.js} +2 -2
  113. package/dist/cdn/{547XPZD3.js → LKQS4G43.js} +1 -1
  114. package/dist/cdn/LNABTX6W.js +4 -0
  115. package/dist/cdn/{ZZW4DMYZ.js → LRZ4KPRH.js} +1 -1
  116. package/dist/cdn/LZYHEE3A.js +6 -0
  117. package/dist/cdn/{R6GDZOI5.js → M6I4GWPX.js} +2 -2
  118. package/dist/cdn/{OZVLYLZE.js → MAZJEBZX.js} +2 -2
  119. package/dist/cdn/MOOH4R4I.js +4 -0
  120. package/dist/cdn/{ZCLOJW4C.js → MTH4ZJMT.js} +2 -2
  121. package/dist/cdn/{HGRDXWSR.js → MUAY2ZFD.js} +2 -2
  122. package/dist/cdn/{MA3SDR4L.js → MVRWISV7.js} +2 -2
  123. package/dist/cdn/{PMGTXCKQ.js → MWFMMCZ2.js} +2 -2
  124. package/dist/cdn/{3IFWU7LL.js → MWWXWMZ3.js} +2 -2
  125. package/dist/cdn/{MHUXUGBF.js → N42ZTZTN.js} +2 -2
  126. package/dist/cdn/NPZM43GJ.js +4 -0
  127. package/dist/cdn/{LGYSYLFO.js → NZOTAYYG.js} +2 -2
  128. package/dist/cdn/{3X3SDWFQ.js → O2KI7OAN.js} +2 -2
  129. package/dist/cdn/ODBKMQU5.js +4 -0
  130. package/dist/cdn/{YXWTG3QK.js → OH354KS5.js} +2 -2
  131. package/dist/cdn/{KZFF5ARP.js → OULDTBSA.js} +2 -2
  132. package/dist/cdn/{BFTOG7LL.js → OWC76L4E.js} +2 -2
  133. package/dist/cdn/P4FOVDOK.js +4 -0
  134. package/dist/cdn/{4FQHH7QS.js → P4SZVGSI.js} +2 -2
  135. package/dist/cdn/{WPV6YSJE.js → PDLU3IN5.js} +2 -2
  136. package/dist/cdn/PSIFLLVB.js +4 -0
  137. package/dist/cdn/{GAQCRFPS.js → PTN6JMSD.js} +1 -1
  138. package/dist/cdn/{QCS2A5JD.js → PXYBVARC.js} +2 -2
  139. package/dist/cdn/{QYB4YYTW.js → QP6QF7TO.js} +2 -2
  140. package/dist/cdn/{CJRRTYNK.js → QX5L2GN7.js} +2 -2
  141. package/dist/cdn/{ZB5AFSTQ.js → R3FN2YWH.js} +2 -2
  142. package/dist/cdn/{TXOMCG6X.js → R6IXZQL2.js} +2 -2
  143. package/dist/cdn/{5DWI4B7H.js → R6JYMGAL.js} +2 -2
  144. package/dist/cdn/{BKFEYLFG.js → RAAUIA77.js} +2 -2
  145. package/dist/cdn/{X4FIJU4Z.js → RFUL7F6Q.js} +2 -2
  146. package/dist/cdn/{6GECH5DY.js → RQRNMZRC.js} +2 -2
  147. package/dist/cdn/{X4Q7VKUW.js → RVUCITO5.js} +2 -2
  148. package/dist/cdn/{D7WLXNMN.js → S6OPXP57.js} +2 -2
  149. package/dist/cdn/{343FRDKB.js → SEQG6AC3.js} +2 -2
  150. package/dist/cdn/{ZIUZ6CNX.js → SVATWD7C.js} +1 -1
  151. package/dist/cdn/{5BSRPD5I.js → TB6LX2UK.js} +2 -2
  152. package/dist/cdn/{ZQXGF6JZ.js → TPD4XFBX.js} +2 -2
  153. package/dist/cdn/{UYLRDGGG.js → TQHWGSEQ.js} +1 -1
  154. package/dist/cdn/{FZMEBFJZ.js → TQU7G77A.js} +2 -2
  155. package/dist/cdn/{OY7W5YYW.js → TRWXADFK.js} +2 -2
  156. package/dist/cdn/{DIWIFUGL.js → U5H3KFO7.js} +2 -2
  157. package/dist/cdn/{T3FMPT5X.js → UOUSF765.js} +2 -2
  158. package/dist/cdn/{LZ2HU4VU.js → V7W7DXLH.js} +2 -2
  159. package/dist/cdn/{HDFIEBOY.js → VL3VPK6Z.js} +2 -2
  160. package/dist/cdn/{PFE3CLAB.js → VLN7GOTE.js} +2 -2
  161. package/dist/cdn/{7VC5UHPQ.js → VSSRAQAB.js} +1 -1
  162. package/dist/cdn/{R4EOYEK6.js → VTMJJADU.js} +2 -2
  163. package/dist/cdn/W4LTEWOO.js +4 -0
  164. package/dist/cdn/{3V7U7JR7.js → WWMV6AFN.js} +2 -2
  165. package/dist/cdn/{YWCZA65Y.js → WZ5R2GBE.js} +1 -1
  166. package/dist/cdn/{UPMAPFMF.js → WZV3KQDI.js} +2 -2
  167. package/dist/cdn/{SITXDT62.js → X627ILMN.js} +2 -2
  168. package/dist/cdn/{FDECLHKY.js → XHLDGKPF.js} +2 -2
  169. package/dist/cdn/{W6RPLGJV.js → XIBEFKZ6.js} +2 -2
  170. package/dist/cdn/{NDL7FEYI.js → XJQ267Y6.js} +2 -2
  171. package/dist/cdn/{WMZT7YMW.js → XNPV3IB3.js} +2 -2
  172. package/dist/cdn/{THAW5FU6.js → YAFNWOUG.js} +2 -2
  173. package/dist/cdn/{RNVZTP3Q.js → YDGDTK3Q.js} +2 -2
  174. package/dist/cdn/{NE5OHK2L.js → YF3F3EB5.js} +2 -2
  175. package/dist/cdn/{ZCHUX66X.js → YNXFAFRS.js} +2 -2
  176. package/dist/cdn/{KKIJGIOW.js → YSMOM5ME.js} +2 -2
  177. package/dist/cdn/{RLCWYLE2.js → YUK4R65L.js} +2 -2
  178. package/dist/cdn/{UCDH7JF3.js → YY5YAH4F.js} +2 -2
  179. package/dist/cdn/{ETN5GBTR.js → Z34TFSAK.js} +2 -2
  180. package/dist/cdn/{KIRGSKAU.js → Z5IFN4LC.js} +2 -2
  181. package/dist/cdn/{QEBHIDPZ.js → ZIYPW7CB.js} +2 -2
  182. package/dist/cdn/ZZR7VDLV.js +4 -0
  183. package/dist/cdn/{PAG6VO5Q.js → ZZWJPJT4.js} +2 -2
  184. package/dist/cdn/index.js +2 -2
  185. package/dist/chunks/action-bar-utils.js +6 -6
  186. package/dist/chunks/axis-model-wrapper.js +1 -1
  187. package/dist/chunks/bar-chart-model.js +2 -2
  188. package/dist/chunks/bar-chart-series.js +1 -1
  189. package/dist/chunks/baseline-stacking.js +1 -1
  190. package/dist/chunks/bg_BG.js +1 -1
  191. package/dist/chunks/bg_BG2.js +1 -1
  192. package/dist/chunks/box-plot-data.js +216 -202
  193. package/dist/chunks/box-plot-model.js +9 -9
  194. package/dist/chunks/chart-ui-utils.js +1 -1
  195. package/dist/chunks/chart-ui-utils2.js +2 -2
  196. package/dist/chunks/combo-bar-line-chart-model.js +1 -1
  197. package/dist/chunks/common.js +1 -1
  198. package/dist/chunks/config-update.js +5 -3
  199. package/dist/chunks/data.js +59 -927
  200. package/dist/chunks/data2.js +907 -0
  201. package/dist/chunks/default.js +1 -1
  202. package/dist/chunks/gauge-model.js +2 -2
  203. package/dist/chunks/heat-chart-model.js +8 -8
  204. package/dist/chunks/histogram-data.js +3 -3
  205. package/dist/chunks/histogram-model.js +3 -3
  206. package/dist/chunks/index.js +128 -123
  207. package/dist/chunks/index2.js +4 -4
  208. package/dist/chunks/index3.js +2 -2
  209. package/dist/chunks/index4.js +1 -1
  210. package/dist/chunks/index5.js +1 -1
  211. package/dist/chunks/interfaces.js +1637 -1588
  212. package/dist/chunks/interfaces2.js +1 -1
  213. package/dist/chunks/interfaces3.js +1 -1
  214. package/dist/chunks/interfaces4.js +1 -1
  215. package/dist/chunks/line-chart-model.js +2 -2
  216. package/dist/chunks/model-with-baseline-stacking.js +1 -1
  217. package/dist/chunks/model-with-data-labels.js +1 -1
  218. package/dist/chunks/model-with-multi-axes.js +23 -23
  219. package/dist/chunks/model-with-rotation.js +2 -2
  220. package/dist/chunks/pie-chart-data.js +113 -111
  221. package/dist/chunks/pie-chart-model.js +3 -3
  222. package/dist/chunks/popover-ui-utils.js +1 -1
  223. package/dist/chunks/radar-chart-model.js +2 -2
  224. package/dist/chunks/resource.js +1 -1
  225. package/dist/chunks/rest-js-object-literals.js +1 -1
  226. package/dist/chunks/runtime.js +1 -1
  227. package/dist/chunks/scatterplot-model.js +3 -3
  228. package/dist/chunks/serial-chart-model.js +32 -27
  229. package/dist/chunks/series-types.js +1 -1
  230. package/dist/chunks/series.js +1 -1
  231. package/dist/chunks/sk_SK.js +1 -1
  232. package/dist/chunks/store.js +1 -1
  233. package/dist/chunks/type-guards.js +1 -1
  234. package/dist/chunks/useT9n.js +1 -1
  235. package/dist/chunks/web-component-utils.js +136 -133
  236. package/dist/components/arcgis-chart/customElement.js +1940 -1928
  237. package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
  238. package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
  239. package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
  240. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  241. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +20 -15
  242. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +2 -2
  243. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +2 -2
  244. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
  245. package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
  246. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +2 -2
  247. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +2 -2
  248. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +2 -2
  249. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
  250. package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
  251. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
  252. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  253. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  254. package/dist/components/arcgis-charts-config-create-flow/customElement.js +5 -5
  255. package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
  256. package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
  257. package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
  258. package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
  259. package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
  260. package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
  261. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
  262. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  263. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
  264. package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
  265. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +2 -2
  266. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +2 -2
  267. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
  268. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  269. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +27 -22
  270. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +2 -2
  271. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +2 -2
  272. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
  273. package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
  274. package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
  275. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
  276. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +23 -18
  277. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +2 -2
  278. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
  279. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
  280. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +2 -2
  281. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +2 -2
  282. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +2 -2
  283. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
  284. package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
  285. package/dist/docs/api.json +2 -2
  286. package/dist/docs/docs.json +2 -2
  287. package/dist/docs/web-types.json +1 -1
  288. package/dist/index.js +320 -318
  289. package/dist/json-schema/index.d.ts +5 -0
  290. package/dist/loader.js +1 -1
  291. package/dist/model/serial-chart-model/serial-chart-model.d.ts +4 -0
  292. package/dist/model/shared/data.d.ts +26 -2
  293. package/dist/model.js +1 -1
  294. package/dist/spec/data-source.d.ts +6 -0
  295. package/dist/utils/chart-config/converter/index.d.ts +24 -0
  296. package/dist/utils/layer/index.d.ts +49 -1
  297. package/package.json +3 -3
  298. package/dist/cdn/23LIUPGT.js +0 -4
  299. package/dist/cdn/3XXE2VVK.js +0 -4
  300. package/dist/cdn/5NZ4FFVZ.js +0 -4
  301. package/dist/cdn/6T4AJS45.js +0 -4
  302. package/dist/cdn/6VPFWSHN.js +0 -4
  303. package/dist/cdn/EAJGHL5O.js +0 -42
  304. package/dist/cdn/EBANJFK5.js +0 -4
  305. package/dist/cdn/EW2FRYL5.js +0 -4
  306. package/dist/cdn/GHUJZJGZ.js +0 -4
  307. package/dist/cdn/ISIPXF6V.js +0 -4
  308. package/dist/cdn/KL6BATFJ.js +0 -4
  309. package/dist/cdn/KR25QXSD.js +0 -4
  310. package/dist/cdn/MSHWZF5N.js +0 -6
  311. package/dist/cdn/QUSQ2AAN.js +0 -4
  312. package/dist/cdn/SQFDMTLM.js +0 -4
  313. package/dist/cdn/UFWNL7KT.js +0 -4
  314. package/dist/cdn/WYGIGZWX.js +0 -4
  315. package/dist/cdn/ZPU32XDL.js +0 -4
  316. package/dist/cdn/ZWKHKFX6.js +0 -4
  317. package/dist/cdn/ZZTVNQK3.js +0 -4
  318. package/dist/test/chart-rendering/test-utils/utils.d.ts +0 -7
  319. package/dist/test/utils/test-utils/utils.d.ts +0 -13
@@ -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 Ce } from "./rest-js-object-literals.js";
5
+ import { ae as Y, ce as Le, aX as oe, ci as D, ac as B, aa as C, b5 as h, aw as Ne, ad as Ve, r as L, bh as De, bK as ne, bi as Z, bj as _, cm as Oe, l as G, cA as qe, p as Q, cC as E, m as we, b as K, bg as Me, x as H, 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 Ke, l as v, n as Xe, 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 J } 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/5.0/esri/copyright.txt for details.
23
+ v5.0.0-next.24 */
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: C(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 (Le(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 && Ke(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 ?? "", Kt = (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: C(h.ChartTitle)
114
+ }));
115
+ }, Xt = (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: C(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: C(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: C(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: C(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: C(h.DescriptionText)
144
+ }));
145
+ }, Qt = (t) => t.chartRenderer, Ht = (t, e) => {
146
+ e.chartRenderer = t;
147
+ }, Jt = (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: C(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: C(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: C(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: C(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 L(i) && (e = i.temporalBinning?.size), e;
221
+ }, Ge = (t) => {
222
+ let e;
223
+ const i = t.series[0];
224
+ return L(i) && (e = i.temporalBinning?.unit), e;
225
+ }, Qe = (t) => {
226
+ let e;
227
+ const i = t.series[0];
228
+ return L(i) && (e = i.temporalBinning?.timeAggregationType), e;
229
+ }, He = (t) => {
230
+ let e;
231
+ const i = t.series[0];
232
+ return L(i) && (e = i.temporalBinning?.trimIncompleteTimeInterval), e;
233
+ }, Je = (t) => {
234
+ let e;
235
+ const i = t.series[0];
236
+ return L(i) && (e = i.temporalBinning?.nullPolicy), e;
237
+ }, me = (t, e) => {
238
+ e?.series?.forEach((i) => {
239
+ L(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
+ L(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
+ L(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
+ L(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
+ L(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 Ci = (t, e) => e.series[t]?.id, Li = (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: Ce.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 = Q(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: Qe(a),
405
+ trimIncompleteTimeInterval: He(a),
406
+ nullPolicy: Je(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 = X(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, X = 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 (X(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 = J({
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: K,
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 = J({
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 !== K ? 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 = J({
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 = Xe(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 = X(e);
743
+ let c;
744
+ if (Q(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: X(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 = Q(t.series);
768
+ let r = [];
769
+ return s === O.CategoryAxisFormat && (l === E.BarAndLineFromFields || i === K ? r = a.map((c) => D(e?.layerFieldsInfo, c)) : i.trim() !== "" && i !== K && 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 = H(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 = H(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 = H(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
+ ), Ki = (t) => t.dataFilters, Xi = (t, e) => {
815
+ t !== void 0 ? e.dataFilters = t : delete e.dataFilters;
816
+ };
817
+ export {
818
+ st as $,
819
+ Je 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
+ Kt as M,
832
+ Xt 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
+ Qt as W,
842
+ Ht as X,
843
+ Ni as Y,
844
+ Ci as Z,
845
+ Li as _,
846
+ ee as a,
847
+ Vi as a0,
848
+ Di as a1,
849
+ Ui as a2,
850
+ Pi as a3,
851
+ Ki as a4,
852
+ Xi as a5,
853
+ oi as a6,
854
+ ni as a7,
855
+ ci as a8,
856
+ Ot as a9,
857
+ qt as aa,
858
+ Jt 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
+ X 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
+ Qe as w,
904
+ Ti as x,
905
+ He as y,
906
+ Ai as z
907
+ };