@arcgis/charts-components 5.0.0-next.117 → 5.0.0-next.119

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 (354) hide show
  1. package/dist/cdn/{LXD5X7ZY.js → 223NEAGA.js} +2 -2
  2. package/dist/cdn/{GBSDPG4G.js → 256KKJSH.js} +2 -2
  3. package/dist/cdn/{XOSYZNZJ.js → 2MX4ZWOJ.js} +2 -2
  4. package/dist/cdn/{TOQ5DNUX.js → 2PJLNESN.js} +2 -2
  5. package/dist/cdn/{74IWPSEP.js → 2RWTISYF.js} +2 -2
  6. package/dist/cdn/{YT2LZNMZ.js → 2UJKE6FB.js} +2 -2
  7. package/dist/cdn/{COWAKYQ6.js → 2XBD36ZE.js} +2 -2
  8. package/dist/cdn/324DFPNT.js +4 -0
  9. package/dist/cdn/32P3N7AM.js +4 -0
  10. package/dist/cdn/{WHJRI7JK.js → 35LS7MFI.js} +2 -2
  11. package/dist/cdn/{A7PT5SX6.js → 35T3LPQE.js} +2 -2
  12. package/dist/cdn/{E45OKUM7.js → 3E4DK2JQ.js} +2 -2
  13. package/dist/cdn/{RWO2RJS2.js → 3ESEQGKB.js} +2 -2
  14. package/dist/cdn/{RW3GWFUR.js → 3HSTFNWE.js} +2 -2
  15. package/dist/cdn/{URI4L4T5.js → 3JLPFS4I.js} +2 -2
  16. package/dist/cdn/{4JXPTPMD.js → 3L6QBJHK.js} +2 -2
  17. package/dist/cdn/{F2OWOF5Y.js → 3ME2VICY.js} +2 -2
  18. package/dist/cdn/{VR6TODJV.js → 3MGXWTYZ.js} +2 -2
  19. package/dist/cdn/{7JMKA2SP.js → 3PXEGDAG.js} +2 -2
  20. package/dist/cdn/{2FCPA74U.js → 3S6LZ5P2.js} +2 -2
  21. package/dist/cdn/{YDS3UZIZ.js → 3VZWWHNA.js} +2 -2
  22. package/dist/cdn/{A3VSH4WG.js → 3YIYCZFW.js} +2 -2
  23. package/dist/cdn/{OXQ4OWSM.js → 42OGWWAQ.js} +2 -2
  24. package/dist/cdn/435FKIME.js +4 -0
  25. package/dist/cdn/{VX7S5GJY.js → 4CNEQXKV.js} +2 -2
  26. package/dist/cdn/{LEVOWPZ2.js → 4HGPXO46.js} +2 -2
  27. package/dist/cdn/{UZ2C574O.js → 4HIXGA3G.js} +2 -2
  28. package/dist/cdn/{5YBSPHTJ.js → 4KSGHOWA.js} +2 -2
  29. package/dist/cdn/{EHX67NFV.js → 4P4UANA7.js} +2 -2
  30. package/dist/cdn/{MOUNYJZG.js → 4RX6ERRB.js} +2 -2
  31. package/dist/cdn/{N5E7J7A3.js → 4TECLR52.js} +2 -2
  32. package/dist/cdn/{5BWVKNDZ.js → 4VVX4DHE.js} +1 -1
  33. package/dist/cdn/{6ZEBWDDO.js → 53VGTJGN.js} +2 -2
  34. package/dist/cdn/{X6BQFUZR.js → 54PI45SV.js} +2 -2
  35. package/dist/cdn/{SNILRKET.js → 5CCMPLWA.js} +2 -2
  36. package/dist/cdn/{XKJUGF23.js → 5D3NFNGL.js} +2 -2
  37. package/dist/cdn/{PFY4ICLF.js → 5DLXLGL3.js} +2 -2
  38. package/dist/cdn/{W4CEO3WL.js → 5RLQUBSP.js} +2 -2
  39. package/dist/cdn/{XK7K6ECD.js → 5Y3LAF65.js} +2 -2
  40. package/dist/cdn/{NYDN7HC7.js → 66IRQE5F.js} +2 -2
  41. package/dist/cdn/{S55YYUDV.js → 6JXV2RMP.js} +1 -1
  42. package/dist/cdn/6OCG57WR.js +4 -0
  43. package/dist/cdn/{CCTXJZH6.js → 6POZ3HS7.js} +1 -1
  44. package/dist/cdn/{AZJ6JJR5.js → 6V55Y7JQ.js} +2 -2
  45. package/dist/cdn/{KCJRRNDH.js → 6WKFDTTD.js} +2 -2
  46. package/dist/cdn/{FXFPQLPZ.js → 6XIDDRBS.js} +2 -2
  47. package/dist/cdn/7AZYUMOC.js +4 -0
  48. package/dist/cdn/{P2RTKCFA.js → 7QXBDIKY.js} +2 -2
  49. package/dist/cdn/{P32SEZNC.js → A3F64PEM.js} +2 -2
  50. package/dist/cdn/{AZLXFMTU.js → AABHIA6U.js} +1 -1
  51. package/dist/cdn/{4T2LVJTX.js → ABJSRBIE.js} +2 -2
  52. package/dist/cdn/{4LWXWPX3.js → AE2DZ7WA.js} +2 -2
  53. package/dist/cdn/AEUW5FDQ.js +4 -0
  54. package/dist/cdn/{N2372LFK.js → AWTVGEW7.js} +2 -2
  55. package/dist/cdn/{LCUG2RM6.js → AYZF3RZL.js} +2 -2
  56. package/dist/cdn/{VTGV5JY4.js → B325BD2C.js} +1 -1
  57. package/dist/cdn/{EKR4R6U3.js → BASOR3GW.js} +1 -1
  58. package/dist/cdn/{PMHJEFDB.js → BIZOF5TZ.js} +2 -2
  59. package/dist/cdn/{XQIK5GMM.js → BKQJXFNP.js} +2 -2
  60. package/dist/cdn/{IQM7DCX2.js → BLUCCT5C.js} +2 -2
  61. package/dist/cdn/{XTHH4V3V.js → BPZ6PO5N.js} +2 -2
  62. package/dist/cdn/{ET5SZKJH.js → BXRL54XC.js} +2 -2
  63. package/dist/cdn/BYVULQSA.js +4 -0
  64. package/dist/cdn/{3XLOVXYZ.js → DAJGIRZ5.js} +2 -2
  65. package/dist/cdn/{SAHYJWMQ.js → DSPIZ2M7.js} +2 -2
  66. package/dist/cdn/{SCGLPNXE.js → DZ5IYUDG.js} +2 -2
  67. package/dist/cdn/{H2MKVU7A.js → E3OX3CJE.js} +2 -2
  68. package/dist/cdn/{5FN52Q6N.js → E5DHQJN6.js} +2 -2
  69. package/dist/cdn/{KPRSIIOH.js → E7LC2ADR.js} +2 -2
  70. package/dist/cdn/{TLQDYWQ7.js → EJVDDE5Z.js} +2 -2
  71. package/dist/cdn/{6E2IJ3VP.js → ELNKQRWT.js} +2 -2
  72. package/dist/cdn/{5NIAIF3Z.js → EQRVLLFF.js} +2 -2
  73. package/dist/cdn/{PSVGLVQY.js → EZ2IRGES.js} +2 -2
  74. package/dist/cdn/{6UKV7VBW.js → F7NFRVW7.js} +2 -2
  75. package/dist/cdn/{6HJTRHFS.js → FGXQWLYG.js} +2 -2
  76. package/dist/cdn/FILT2BI7.js +4 -0
  77. package/dist/cdn/FOWG7NCN.js +4 -0
  78. package/dist/cdn/{OKFZKPUG.js → GMOANKWR.js} +2 -2
  79. package/dist/cdn/GYUWJQNU.js +4 -0
  80. package/dist/cdn/HDSWUHIY.js +4 -0
  81. package/dist/cdn/HKGKALMG.js +4 -0
  82. package/dist/cdn/{BQZP6PNO.js → IIBLYBRJ.js} +2 -2
  83. package/dist/cdn/{ZKNCAH5W.js → ILD42A2W.js} +2 -2
  84. package/dist/cdn/{BUUG7FCE.js → INXWV37X.js} +2 -2
  85. package/dist/cdn/{RILKT5QY.js → ITDHTQHK.js} +2 -2
  86. package/dist/cdn/{XMOMN4Y3.js → IYUAPU5X.js} +2 -2
  87. package/dist/cdn/{KFHRMFEQ.js → JFCM5D6Y.js} +2 -2
  88. package/dist/cdn/{3YV57KTB.js → JI6HWIHM.js} +2 -2
  89. package/dist/cdn/{4C234FS5.js → JNSPV5ED.js} +2 -2
  90. package/dist/cdn/{PLEPPE4S.js → JRO7UTDD.js} +8 -8
  91. package/dist/cdn/{C574PEKH.js → JUYBWFM2.js} +2 -2
  92. package/dist/cdn/{NBSTVTIC.js → KDP4OC3V.js} +2 -2
  93. package/dist/cdn/{V2ESSVDJ.js → KH73GMUM.js} +2 -2
  94. package/dist/cdn/{7ISLGMRZ.js → KNET2SPL.js} +2 -2
  95. package/dist/cdn/{H6YGZB7P.js → KU3ZEC6F.js} +2 -2
  96. package/dist/cdn/{MYNSVEGX.js → LH2J4BYT.js} +2 -2
  97. package/dist/cdn/{3IMG7BGV.js → LSGS5XRO.js} +2 -2
  98. package/dist/cdn/{6TRWTZMQ.js → LSQNQ2FM.js} +2 -2
  99. package/dist/cdn/{BPEGR3FS.js → LUR7UARS.js} +2 -2
  100. package/dist/cdn/{WXHTMWCI.js → LWORBEK4.js} +2 -2
  101. package/dist/cdn/{6Q2LRRQJ.js → M5VYSCQ6.js} +2 -2
  102. package/dist/cdn/{A2HE36RR.js → M6QZXYLO.js} +2 -2
  103. package/dist/cdn/{4EUFCIAH.js → MJSOG5SV.js} +2 -2
  104. package/dist/cdn/{DLPKUJBO.js → N3LTMT4S.js} +2 -2
  105. package/dist/cdn/N6IEAAQG.js +4 -0
  106. package/dist/cdn/{5RQNKTX3.js → NIONDQI4.js} +2 -2
  107. package/dist/cdn/NLXLLHTR.js +4 -0
  108. package/dist/cdn/{I4NZCWAJ.js → NQUQZLD7.js} +2 -2
  109. package/dist/cdn/{7DEPFBPP.js → NU7KDUU3.js} +2 -2
  110. package/dist/cdn/{YTNPGKUR.js → NWKAAW3D.js} +2 -2
  111. package/dist/cdn/{6L3XEF7H.js → OQZDA7UV.js} +2 -2
  112. package/dist/cdn/{CZ3SECPV.js → OZKFUW5B.js} +2 -2
  113. package/dist/cdn/{MEPPMEJG.js → PJLDCHHU.js} +2 -2
  114. package/dist/cdn/{7U6QPELY.js → PMBDG4GX.js} +2 -2
  115. package/dist/cdn/{Y7UQ2AA4.js → PNDAXWC7.js} +2 -2
  116. package/dist/cdn/{JT6QGHYK.js → POIQWUS2.js} +2 -2
  117. package/dist/cdn/{7M4BISSR.js → Q2BCNXU7.js} +2 -2
  118. package/dist/cdn/{ZSKR46OB.js → Q4ZXDM3G.js} +2 -2
  119. package/dist/cdn/{VUN7CK6B.js → QCWLVECN.js} +2 -2
  120. package/dist/cdn/{44NXILUI.js → QFPCYPHH.js} +2 -2
  121. package/dist/cdn/{WY4TL3RW.js → QSRARVHF.js} +2 -2
  122. package/dist/cdn/{YBQATV27.js → QVIO3PEY.js} +2 -2
  123. package/dist/cdn/{5CXQWTG5.js → QXSAPJLV.js} +2 -2
  124. package/dist/cdn/{7EWK3X2Z.js → R2JURXYN.js} +2 -2
  125. package/dist/cdn/{WTRAWTEY.js → R64P7BNE.js} +2 -2
  126. package/dist/cdn/{ZZCLWWFT.js → R7I6IXOW.js} +2 -2
  127. package/dist/cdn/{6WRM5HV4.js → RJFDPCZL.js} +2 -2
  128. package/dist/cdn/{ILBVOTGK.js → S5NRTSM4.js} +2 -2
  129. package/dist/cdn/{SFM3Q45A.js → SAH7LFJ6.js} +2 -2
  130. package/dist/cdn/SD2MM5H4.js +4 -0
  131. package/dist/cdn/{OZSMZQM5.js → SHXBSROO.js} +2 -2
  132. package/dist/cdn/{ULSUNJE6.js → SIXZODDV.js} +2 -2
  133. package/dist/cdn/{73KXIMIS.js → SKESVJ22.js} +2 -2
  134. package/dist/cdn/{7HF56D2T.js → SMGINTCX.js} +2 -2
  135. package/dist/cdn/{IKWTPZWX.js → SPFCXX24.js} +2 -2
  136. package/dist/cdn/{FIJYY7P7.js → SU7N2I47.js} +2 -2
  137. package/dist/cdn/{PRRLTN7B.js → SZY6UANL.js} +2 -2
  138. package/dist/cdn/{GLYY4YW2.js → TA2DNBLF.js} +2 -2
  139. package/dist/cdn/{3TWOFUIH.js → TADWDPN2.js} +2 -2
  140. package/dist/cdn/{WKCDE5YM.js → TIZEQBDB.js} +2 -2
  141. package/dist/cdn/{PJJGSZMK.js → TMBOI2L2.js} +2 -2
  142. package/dist/cdn/TOFSMBRX.js +4 -0
  143. package/dist/cdn/{ZP3KLNIJ.js → TOJXSGEU.js} +1 -1
  144. package/dist/cdn/{F33E6ADK.js → TWY3CGJX.js} +2 -2
  145. package/dist/cdn/{EOUIJJTP.js → UA326IP5.js} +2 -2
  146. package/dist/cdn/{67N5ORHA.js → UBJCJ2RI.js} +2 -2
  147. package/dist/cdn/UDVYL6TL.js +6 -0
  148. package/dist/cdn/UEEOHBNN.js +4 -0
  149. package/dist/cdn/{UWOFXGVS.js → UELGIAG5.js} +2 -2
  150. package/dist/cdn/{NG6RJDVL.js → UXQXSRSJ.js} +2 -2
  151. package/dist/cdn/{IPMHAF2P.js → VAKW5ERZ.js} +2 -2
  152. package/dist/cdn/{CE4C3O4H.js → VB3BD3ZG.js} +2 -2
  153. package/dist/cdn/VHQASITR.js +4 -0
  154. package/dist/cdn/{EEWP3DAR.js → VIW65VTC.js} +2 -2
  155. package/dist/cdn/{TWO4CIKW.js → VK3RKB5U.js} +2 -2
  156. package/dist/cdn/{IDCLKVX3.js → VNA25U2C.js} +2 -2
  157. package/dist/cdn/{ZB5FEQ4M.js → W2DWOTTS.js} +2 -2
  158. package/dist/cdn/{FU33SYWA.js → WFVZA7HA.js} +2 -2
  159. package/dist/cdn/{KHCGCGMJ.js → WLBRL4RO.js} +2 -2
  160. package/dist/cdn/{ZS7P3VGR.js → WW2L7SZS.js} +2 -2
  161. package/dist/cdn/{UO5UCQGE.js → WWVSOEC6.js} +2 -2
  162. package/dist/cdn/X27FNDWF.js +4 -0
  163. package/dist/cdn/X2NVH6AS.js +4 -0
  164. package/dist/cdn/{DK4Z4LDN.js → X3SRU6AZ.js} +2 -2
  165. package/dist/cdn/X5PURIMD.js +4 -0
  166. package/dist/cdn/X6SGLKFD.js +4 -0
  167. package/dist/cdn/{Q4AV7S5M.js → XCTDFKRQ.js} +2 -2
  168. package/dist/cdn/{AVOWFVPG.js → XGB35L3B.js} +2 -2
  169. package/dist/cdn/XHH44337.js +4 -0
  170. package/dist/cdn/Y2E4RMW5.js +4 -0
  171. package/dist/cdn/{FQW4C4SJ.js → Y7AENSXF.js} +1 -1
  172. package/dist/cdn/{HWCNX3GX.js → YBJQ7KBV.js} +2 -2
  173. package/dist/cdn/{2GWCL5LC.js → YCSFY2MU.js} +2 -2
  174. package/dist/cdn/{SGXB7FL6.js → YGHCCY6P.js} +2 -2
  175. package/dist/cdn/YGS4OL7S.js +4 -0
  176. package/dist/cdn/{6Z5AQ6CF.js → YLROMYWQ.js} +2 -2
  177. package/dist/cdn/{4SO6SS74.js → YPHRVXU7.js} +2 -2
  178. package/dist/cdn/{BU7Y55AC.js → YRKRFUOF.js} +2 -2
  179. package/dist/cdn/{LTSJRUX4.js → YTM2PQPL.js} +2 -2
  180. package/dist/cdn/{L4SN2NER.js → YV4SANRJ.js} +2 -2
  181. package/dist/cdn/{XHJNHX7G.js → ZAFBBSHU.js} +2 -2
  182. package/dist/cdn/{B2CEJXUU.js → ZHAEZPFV.js} +2 -2
  183. package/dist/cdn/{W7DRSPUD.js → ZK4OCVM5.js} +2 -2
  184. package/dist/cdn/{6VKVVM5C.js → ZKWH5TS7.js} +2 -2
  185. package/dist/cdn/{CYE2RMFG.js → ZLFHLNFI.js} +2 -2
  186. package/dist/cdn/{E4P57SOR.js → ZLUE4I46.js} +2 -2
  187. package/dist/cdn/{BKCZWX4R.js → ZNRVOACP.js} +2 -2
  188. package/dist/cdn/index.js +2 -2
  189. package/dist/chunks/action-bar-utils.js +2 -2
  190. package/dist/chunks/axis-lines-symbol.js +126 -0
  191. package/dist/chunks/axis-model-wrapper.js +1 -1
  192. package/dist/chunks/bar-chart-model.js +2 -2
  193. package/dist/chunks/bar-chart-series.js +1 -1
  194. package/dist/chunks/bg_BG.js +1 -1
  195. package/dist/chunks/bg_BG2.js +1 -1
  196. package/dist/chunks/box-plot-data.js +38 -37
  197. package/dist/chunks/box-plot-model.js +101 -96
  198. package/dist/chunks/chart-ui-utils.js +1 -1
  199. package/dist/chunks/chart-ui-utils2.js +1 -1
  200. package/dist/chunks/class-breaks.js +1 -1
  201. package/dist/chunks/combo-bar-line-chart-model.js +1 -1
  202. package/dist/chunks/common.js +1 -1
  203. package/dist/chunks/data-labels-symbol.js +1 -1
  204. package/dist/chunks/data-labels-visibility.js +1 -1
  205. package/dist/chunks/data.js +1 -1
  206. package/dist/chunks/default.js +1 -1
  207. package/dist/chunks/gauge-model.js +136 -123
  208. package/dist/chunks/generate-x-axis-title.js +95 -0
  209. package/dist/chunks/heat-chart-model.js +6 -6
  210. package/dist/chunks/histogram-data.js +37 -36
  211. package/dist/chunks/histogram-model.js +78 -73
  212. package/dist/chunks/index.js +1 -1
  213. package/dist/chunks/index2.js +1 -1
  214. package/dist/chunks/index3.js +1 -1
  215. package/dist/chunks/index4.js +1 -1
  216. package/dist/chunks/index5.js +1 -1
  217. package/dist/chunks/interfaces.js +1 -1
  218. package/dist/chunks/line-chart-model.js +2 -2
  219. package/dist/chunks/model-setter.js +12 -6
  220. package/dist/chunks/model-with-multi-axes.js +814 -903
  221. package/dist/chunks/negative-values-stacked-to-baseline.js +1 -1
  222. package/dist/chunks/pie-chart-data.js +13 -12
  223. package/dist/chunks/pie-chart-model.js +1 -1
  224. package/dist/chunks/popover-ui-utils.js +1 -1
  225. package/dist/chunks/radar-chart-model.js +2 -2
  226. package/dist/chunks/resource.js +2 -2
  227. package/dist/chunks/rest-js-object-literals.js +1 -1
  228. package/dist/chunks/rotated-state.js +1 -1
  229. package/dist/chunks/runtime.js +1 -1
  230. package/dist/chunks/scatterplot-model.js +105 -100
  231. package/dist/chunks/serial-chart-data.js +455 -561
  232. package/dist/chunks/serial-chart-model.js +87 -82
  233. package/dist/chunks/series-types.js +1 -1
  234. package/dist/chunks/sk_SK.js +1 -1
  235. package/dist/chunks/store.js +1 -1
  236. package/dist/chunks/type-guards.js +82 -85
  237. package/dist/chunks/useT9n.js +1 -1
  238. package/dist/chunks/utils.js +42 -45
  239. package/dist/chunks/utils2.js +70 -0
  240. package/dist/chunks/web-component-utils.js +115 -115
  241. package/dist/chunks/x-axis-labels-visibility.js +70 -0
  242. package/dist/components/arcgis-chart/customElement.js +2 -2
  243. package/dist/components/arcgis-charts-action-bar/customElement.js +2 -2
  244. package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
  245. package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
  246. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  247. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
  248. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
  249. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
  250. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
  251. package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
  252. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
  253. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
  254. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
  255. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
  256. package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
  257. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
  258. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  259. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  260. package/dist/components/arcgis-charts-config-create-flow/customElement.js +2 -2
  261. package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
  262. package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
  263. package/dist/components/arcgis-charts-config-format/customElement.js +85 -84
  264. package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
  265. package/dist/components/arcgis-charts-config-general/customElement.js +35 -34
  266. package/dist/components/arcgis-charts-config-guide/customElement.js +2 -2
  267. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
  268. package/dist/components/arcgis-charts-config-guides/customElement.js +2 -2
  269. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
  270. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
  271. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +1 -1
  272. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +1 -1
  273. package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
  274. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
  275. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
  276. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
  277. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  278. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
  279. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
  280. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
  281. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
  282. package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
  283. package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
  284. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
  285. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
  286. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
  287. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
  288. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
  289. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
  290. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
  291. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
  292. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
  293. package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
  294. package/dist/docs/api.json +822 -818
  295. package/dist/docs/docs.json +180 -180
  296. package/dist/docs/vscode.html-custom-data.json +2 -2
  297. package/dist/docs/web-types.json +3 -3
  298. package/dist/index.d.ts +2 -2
  299. package/dist/index.js +44 -45
  300. package/dist/loader.js +1 -1
  301. package/dist/model/box-plot-model/box-plot-model.d.ts +9 -5
  302. package/dist/model/chart-model/chart-model-base.d.ts +4 -0
  303. package/dist/model/chart-model/chart-model.d.ts +1 -2
  304. package/dist/model/gauge-model/gauge-model.d.ts +10 -2
  305. package/dist/model/histogram-model/histogram-model.d.ts +9 -5
  306. package/dist/model/mixins/index.d.ts +0 -1
  307. package/dist/model/mixins/model-with-multi-axes.d.ts +2 -7
  308. package/dist/model/mixins/utils/axes.d.ts +1 -89
  309. package/dist/model/properties/axes/axis-labels-symbol.d.ts +30 -0
  310. package/dist/model/properties/axes/axis-lines-symbol.d.ts +30 -0
  311. package/dist/model/properties/axes/utils.d.ts +38 -0
  312. package/dist/model/properties/axes/x-axis/generate-x-axis-title.d.ts +14 -0
  313. package/dist/model/properties/axes/x-axis/max-x-bound.d.ts +24 -0
  314. package/dist/model/properties/axes/x-axis/min-x-bound.d.ts +24 -0
  315. package/dist/model/properties/axes/x-axis/x-axis-labels-visibility.d.ts +15 -0
  316. package/dist/model/properties/axes/x-axis/x-axis-title-symbol.d.ts +16 -0
  317. package/dist/model/properties/axes/x-axis/x-axis-title-text.d.ts +15 -0
  318. package/dist/model/properties/axes/x-axis/x-axis-title-visibility.d.ts +17 -0
  319. package/dist/model/properties/axes/x-axis/x-bounds.d.ts +14 -0
  320. package/dist/model/scatterplot-model/scatterplot-model.d.ts +9 -5
  321. package/dist/model/serial-chart-model/serial-chart-model.d.ts +9 -5
  322. package/dist/model/shared/axes.d.ts +0 -7
  323. package/dist/model/shared/type-guards.d.ts +13 -17
  324. package/dist/model.js +20 -21
  325. package/dist/types/components.d.ts +1 -0
  326. package/dist/types/lumina.d.ts +2 -2
  327. package/dist/types/preact.d.ts +2 -2
  328. package/dist/types/react.d.ts +2 -2
  329. package/dist/types/stencil.d.ts +2 -2
  330. package/package.json +4 -4
  331. package/dist/cdn/2B4ZHQYJ.js +0 -4
  332. package/dist/cdn/3TBKADAC.js +0 -4
  333. package/dist/cdn/54ZA6YA3.js +0 -4
  334. package/dist/cdn/5TNEIU2Z.js +0 -4
  335. package/dist/cdn/7JCSHIF4.js +0 -4
  336. package/dist/cdn/AJUPI2BQ.js +0 -4
  337. package/dist/cdn/BOBX3JJQ.js +0 -4
  338. package/dist/cdn/DDW2RFH6.js +0 -4
  339. package/dist/cdn/EPGE3OAE.js +0 -4
  340. package/dist/cdn/MU7WY4MR.js +0 -4
  341. package/dist/cdn/N4EGV2V4.js +0 -4
  342. package/dist/cdn/OF3F5R5Q.js +0 -4
  343. package/dist/cdn/PNBDWEMR.js +0 -4
  344. package/dist/cdn/SJSL534W.js +0 -4
  345. package/dist/cdn/SZBK4FEO.js +0 -4
  346. package/dist/cdn/UGNJERHH.js +0 -4
  347. package/dist/cdn/WEZ5DYDU.js +0 -4
  348. package/dist/cdn/XX3JHJQW.js +0 -4
  349. package/dist/cdn/YFVEJYCG.js +0 -4
  350. package/dist/cdn/YXBECKPO.js +0 -4
  351. package/dist/cdn/ZQUMRIOZ.js +0 -4
  352. package/dist/cdn/ZZSBWUTO.js +0 -6
  353. package/dist/model/mixins/model-with-basic-x-axis.d.ts +0 -50
  354. package/dist/model/properties/chart-type.d.ts +0 -10
@@ -1,9 +1,9 @@
1
- import { m as Ie, C as J } from "./model-setter.js";
1
+ import { m as Ae, C as H } from "./model-setter.js";
2
2
  import "@arcgis/toolkit/intl";
3
- import { cloneDeep as R, memoize as de, isEmpty as Ve } from "lodash-es";
4
- import { w as qe, a as A, d as Ne, t as F, g as we, W as M, m as H, n as Oe, i as z } from "./series-types.js";
3
+ import { cloneDeep as re, memoize as le, isEmpty as ve } from "lodash-es";
4
+ import { w as Ie, a as A, d as Le, t as h, g as qe, W as O, m as j, n as Ve, i as Y } from "./series-types.js";
5
5
  import "d3-array";
6
- import { aH as D, aF as k, bA as w, aI as De, k as ee, q as L, U as ke, cG as Me, o as j, de as q, j as Pe, cE as Re, bK as Ee, bW as $e, am as We, p as Xe, dm as je, cA as Ye, dn as ie, cb as Ke, c7 as Ue, aS as _e, Z as Y, cX as N, dl as He, dj as $, bJ as K, bP as ce, bQ as ue, dg as ye, l as ze, b as W, bN as Qe, bq as Ge, b2 as Ze, b3 as Je, aZ as et, b5 as tt, bM as ae, aK as st, aJ as re, aL as it } from "./index.js";
6
+ import { aH as Ne, aF as we, bA as Oe, k as Q, q as I, U as De, cG as Me, o as E, de as V, j as Pe, cE as ke, bK as Re, bW as Ee, am as $e, p as We, dm as Xe, cA as je, dn as Z, cb as Ye, c7 as Ke, aS as Ue, Z as $, cX as N, dl as _e, dj as P, bJ as W, bP as ne, bQ as oe, dg as de, l as He, b as k, bN as Qe, bq as ze, b2 as Ge, b3 as Je, aZ as Ze, b5 as et, bM as ee, aK as tt, aJ as te, aL as st } from "./index.js";
7
7
  import "@arcgis/core/geometry/support/jsonUtils.js";
8
8
  import "@arcgis/core/rest/support/AttributeBinsQuery.js";
9
9
  import "@arcgis/core/rest/support/Query.js";
@@ -13,12 +13,12 @@ import "@arcgis/core/core/promiseUtils.js";
13
13
  import "@arcgis/core/request.js";
14
14
  import "./runtime.js";
15
15
  import "@arcgis/toolkit/dom";
16
- import { substitute as O } from "@arcgis/core/intl.js";
17
- import { R as ge, f as at } from "./rest-js-object-literals.js";
18
- import { h as pe, l as v, o as rt, p as lt, j as C, k as B, m as le } from "./index4.js";
19
- import { S as Q } from "./common.js";
20
- import { s as b, u as G, d as me, e as nt, f as ot, g as fe, h as dt, j as ne } from "./utils.js";
21
- import { b as E, d as xe, g as te, e as oe, f as ct } from "./data.js";
16
+ import { substitute as w } from "@arcgis/core/intl.js";
17
+ import { R as ue, f as it } from "./rest-js-object-literals.js";
18
+ import { h as ce, l as v, o as at, p as rt, j as B, k as b, m as se } from "./index4.js";
19
+ import { S as K } from "./common.js";
20
+ import { s as x, u as U, d as ye, e as lt, f as nt, g as ge, h as ot, j as ie } from "./utils.js";
21
+ import { b as M, d as pe, g as z, e as ae, f as dt } from "./data.js";
22
22
  import "@arcgis/core/Graphic.js";
23
23
  import "@arcgis/core/renderers/support/jsonUtils.js";
24
24
  import "@arcgis/core/symbols/support/symbolUtils.js";
@@ -27,186 +27,106 @@ import "@arcgis/core/smartMapping/statistics/histogram.js";
27
27
  import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
28
28
  import "simple-statistics";
29
29
  import "@arcgis/core/AttributeBinsGraphic.js";
30
+ import { g as G } from "./utils2.js";
30
31
  import { c as ut } from "./index2.js";
31
32
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
32
33
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
33
- v5.0.0-next.117 */
34
- var yt = Object.defineProperty, gt = Object.getOwnPropertyDescriptor, pt = (t, e, s, i) => {
35
- for (var a = gt(e, s), r = t.length - 1, l; r >= 0; r--)
36
- (l = t[r]) && (a = l(e, s, a) || a);
37
- return a && yt(e, s, a), a;
34
+ v5.0.0-next.119 */
35
+ var ct = Object.defineProperty, yt = Object.getOwnPropertyDescriptor, gt = (t, e, s, r) => {
36
+ for (var a = yt(e, s), i = t.length - 1, l; i >= 0; i--)
37
+ (l = t[i]) && (a = l(e, s, a) || a);
38
+ return a && ct(e, s, a), a;
38
39
  };
39
- const Se = (t) => t.title?.content.text ?? "", mt = (t, e) => {
40
- e.title !== void 0 ? e.title.content.text = t : e.title === void 0 && t !== void 0 && (e.title = D({
40
+ const me = (t) => t.title?.content.text ?? "", pt = (t, e) => {
41
+ e.title !== void 0 ? e.title.content.text = t : e.title === void 0 && t !== void 0 && (e.title = Ne({
41
42
  text: t,
42
43
  visible: !0,
43
- font: k(w.ChartTitle)
44
+ font: we(Oe.ChartTitle)
44
45
  }));
45
46
  };
46
- class ft extends J {
47
+ class mt extends H {
47
48
  /**
48
49
  * The chart title text.
49
50
  */
50
51
  get titleText() {
51
- return Se(this._config);
52
+ return me(this._config);
52
53
  }
53
54
  set titleText(e) {
54
- mt(e, this._config);
55
+ pt(e, this._config);
55
56
  }
56
57
  }
57
- pt([
58
- Ie
59
- ], ft.prototype, "titleText");
60
- const fs = (t, e) => t.axes?.[e]?.title?.content, xs = (t) => {
61
- const { config: e, axisIndex: s, symbol: i } = t, a = e.axes?.[s];
62
- if (a !== void 0) {
63
- const r = a.title?.content.text;
64
- (a.title === void 0 || i === void 0) && (a.title = D({
65
- text: "",
66
- visible: !0,
67
- font: k(w.AxisTitle),
68
- type: w.AxisTitle
69
- })), i !== void 0 && (a.title.content = i), a.title.content.text = r;
70
- }
71
- }, Ss = (t) => {
72
- for (const e of t.axes ?? [])
73
- if (e?.labels !== void 0)
74
- return e.labels.content;
75
- }, Ts = (t, e) => {
76
- for (const s of e.axes ?? [])
77
- if (s !== void 0) {
78
- const i = s.labels?.content.text;
79
- t === void 0 ? s.labels = D({
80
- text: "",
81
- visible: !0,
82
- font: k(w.AxisLabels),
83
- type: w.AxisLabels
84
- }) : s.labels.content = R(t), s.labels.content.text = i;
85
- }
86
- }, Fs = (t) => {
87
- for (const e of t.axes ?? [])
88
- if (e?.lineSymbol !== void 0)
89
- return e.lineSymbol;
90
- }, bs = (t, e) => {
91
- for (const s of e.axes ?? [])
92
- s !== void 0 && (s.lineSymbol = R(t) ?? De());
93
- }, hs = (t) => {
94
- for (const e of t.axes ?? [])
95
- if (e?.grid !== void 0)
96
- return e.grid;
97
- }, Cs = (t, e, s) => {
98
- const i = e.axes;
99
- s.forEach((a) => {
100
- i?.[a] !== void 0 && (i[a].grid = R(t));
101
- });
102
- }, U = (t, e) => e.axes?.[t]?.title?.content.text ?? "", Bs = (t, e, s) => {
103
- const i = s.axes?.[e];
104
- i?.title !== void 0 ? i.title.content.text = t : i !== void 0 && i?.title === void 0 && (i.title = D({
105
- text: t,
106
- visible: !0,
107
- font: k(w.AxisTitle)
108
- }));
109
- }, As = (t, e) => e.axes?.[t]?.visible ?? !0, vs = (t, e, s) => {
110
- const i = s.axes?.[e];
111
- i !== void 0 && (i.visible = t);
112
- }, Ls = (t, e) => e.axes?.[t]?.labels?.visible ?? !0, Is = (t, e, s) => {
113
- const i = s.axes?.[e];
114
- i?.labels !== void 0 ? i.labels.visible = t : i !== void 0 && i?.labels === void 0 && (i.labels = D({
115
- text: "",
116
- visible: t,
117
- font: k(w.AxisLabels),
118
- type: w.AxisLabels
119
- }));
120
- }, Vs = (t, e) => e.axes?.[t]?.title?.visible ?? !1, qs = (t, e, s) => {
121
- const i = s.axes?.[e];
122
- i?.title !== void 0 ? i.title.visible = t : i !== void 0 && i?.title === void 0 && (i.title = D({
123
- text: U(e, s),
124
- visible: t,
125
- font: k(w.AxisTitle)
126
- }));
127
- }, Ns = (t, e) => t.axes?.[e]?.displayZeroLine ?? !1, ws = (t, e, s) => {
128
- t.axes?.[s] !== void 0 && (t.axes[s].displayZeroLine = e);
129
- }, Os = (t, e) => t.axes?.[e]?.displayCursorTooltip ?? !1, Ds = (t) => {
130
- const { config: e, displayCursorTooltip: s, axisIndex: i } = t;
131
- e.axes?.[i] !== void 0 && (e.axes[i].displayCursorTooltip = s);
132
- }, ks = (t, e) => t.axes?.[e]?.buffer ?? !1, Ms = (t) => {
133
- const { config: e, buffer: s, axisIndex: i } = t, a = e.axes?.[i];
134
- a !== void 0 && (a.buffer = s);
135
- }, Ps = (t, e) => t.axes?.[e]?.tickSpacing, Rs = (t) => {
136
- const { config: e, tickSpacing: s, axisIndex: i } = t;
137
- e.axes?.[i] !== void 0 && (e.axes[i].tickSpacing = s);
138
- }, Es = (t, e) => t.axes?.[e]?.integerOnlyValues ?? !1, $s = (t) => {
139
- const { config: e, integerOnlyValues: s, axisIndex: i } = t;
140
- e.axes?.[i] !== void 0 && (e.axes[i].integerOnlyValues = s);
141
- }, xt = (t) => t.series.map((e) => String(ee({ where: e.query?.where }))).filter((e) => e !== void 0 && e.trim() !== "");
142
- class Ws extends J {
58
+ gt([
59
+ Ae
60
+ ], mt.prototype, "titleText");
61
+ const ft = (t) => t.series.map((e) => String(Q({ where: e.query?.where }))).filter((e) => e !== void 0 && e.trim() !== "");
62
+ class fs extends H {
143
63
  /**
144
64
  * The split-by values for the chart.
145
65
  */
146
66
  get splitByValues() {
147
- return xt(this._config);
67
+ return ft(this._config);
148
68
  }
149
69
  }
150
70
  const St = (t) => {
151
71
  let e;
152
72
  const s = t.series[0];
153
- return L(s) && (e = s.temporalBinning?.size), e;
154
- }, Tt = (t) => {
155
- let e;
156
- const s = t.series[0];
157
- return L(s) && (e = s.temporalBinning?.unit), e;
73
+ return I(s) && (e = s.temporalBinning?.size), e;
158
74
  }, Ft = (t) => {
159
75
  let e;
160
76
  const s = t.series[0];
161
- return L(s) && (e = s.temporalBinning?.timeAggregationType), e;
162
- }, bt = (t) => {
77
+ return I(s) && (e = s.temporalBinning?.unit), e;
78
+ }, Tt = (t) => {
163
79
  let e;
164
80
  const s = t.series[0];
165
- return L(s) && (e = s.temporalBinning?.trimIncompleteTimeInterval), e;
81
+ return I(s) && (e = s.temporalBinning?.timeAggregationType), e;
166
82
  }, ht = (t) => {
167
83
  let e;
168
84
  const s = t.series[0];
169
- return L(s) && (e = s.temporalBinning?.nullPolicy), e;
170
- }, Te = (t, e) => {
85
+ return I(s) && (e = s.temporalBinning?.trimIncompleteTimeInterval), e;
86
+ }, xt = (t) => {
87
+ let e;
88
+ const s = t.series[0];
89
+ return I(s) && (e = s.temporalBinning?.nullPolicy), e;
90
+ }, fe = (t, e) => {
171
91
  e?.series?.forEach((s) => {
172
- L(s) && (s.temporalBinning ??= {}, s.temporalBinning.size = t);
173
- }), b({ config: e, value: null, axisIndex: 1, isMax: !1 }), b({ config: e, value: null, axisIndex: 1, isMax: !0 });
92
+ I(s) && (s.temporalBinning ??= {}, s.temporalBinning.size = t);
93
+ }), x({ config: e, value: null, axisIndex: 1, isMax: !1 }), x({ config: e, value: null, axisIndex: 1, isMax: !0 });
174
94
  }, Ct = (t, e) => {
175
95
  e?.series?.forEach((s) => {
176
- L(s) && (s.temporalBinning ??= {}, s.temporalBinning.nullPolicy = t);
177
- }), b({ config: e, value: null, axisIndex: 1, isMax: !1 }), b({ config: e, value: null, axisIndex: 1, isMax: !0 });
178
- }, Xs = (t, e) => {
96
+ I(s) && (s.temporalBinning ??= {}, s.temporalBinning.nullPolicy = t);
97
+ }), x({ config: e, value: null, axisIndex: 1, isMax: !1 }), x({ config: e, value: null, axisIndex: 1, isMax: !0 });
98
+ }, Ss = (t, e) => {
179
99
  e.series?.forEach((s) => {
180
- L(s) && (s.temporalBinning ??= {}, s.temporalBinning.unit = t);
181
- }), b({ config: e, value: null, axisIndex: 1, isMax: !1 }), b({ config: e, value: null, axisIndex: 1, isMax: !0 });
182
- }, js = (t, e) => {
100
+ I(s) && (s.temporalBinning ??= {}, s.temporalBinning.unit = t);
101
+ }), x({ config: e, value: null, axisIndex: 1, isMax: !1 }), x({ config: e, value: null, axisIndex: 1, isMax: !0 });
102
+ }, Fs = (t, e) => {
183
103
  e.series?.forEach((s) => {
184
- L(s) && (s.temporalBinning ??= {}, s.temporalBinning.timeAggregationType = t);
185
- }), b({ config: e, value: null, axisIndex: 1, isMax: !1 }), b({ config: e, value: null, axisIndex: 1, isMax: !0 });
186
- }, Ys = (t, e) => {
104
+ I(s) && (s.temporalBinning ??= {}, s.temporalBinning.timeAggregationType = t);
105
+ }), x({ config: e, value: null, axisIndex: 1, isMax: !1 }), x({ config: e, value: null, axisIndex: 1, isMax: !0 });
106
+ }, Ts = (t, e) => {
187
107
  e.series?.forEach((s) => {
188
- L(s) && (s.temporalBinning ??= {}, s.temporalBinning.trimIncompleteTimeInterval = t);
189
- }), b({ config: e, value: null, axisIndex: 1, isMax: !1 }), b({ config: e, value: null, axisIndex: 1, isMax: !0 });
190
- }, Ks = (t) => {
191
- Te(0, t);
192
- }, Fe = (t) => t.series.length ?? 0;
193
- class Us extends J {
108
+ I(s) && (s.temporalBinning ??= {}, s.temporalBinning.trimIncompleteTimeInterval = t);
109
+ }), x({ config: e, value: null, axisIndex: 1, isMax: !1 }), x({ config: e, value: null, axisIndex: 1, isMax: !0 });
110
+ }, hs = (t) => {
111
+ fe(0, t);
112
+ }, Se = (t) => t.series.length ?? 0;
113
+ class xs extends H {
194
114
  /**
195
115
  * The length of the series array.
196
116
  */
197
117
  get seriesLength() {
198
- return Fe(this._config);
118
+ return Se(this._config);
199
119
  }
200
120
  }
201
- function _s(t, e) {
121
+ function Cs(t, e) {
202
122
  let s;
203
123
  return e !== void 0 && (s = { ...e }, s.legend !== void 0 && (s.legend.position = t)), s;
204
124
  }
205
- function Hs(t, e) {
125
+ function Bs(t, e) {
206
126
  let s;
207
127
  return e !== void 0 && (s = { ...e }, s.legend !== void 0 && (s.legend.visible = t)), s;
208
128
  }
209
- function zs(t, e) {
129
+ function bs(t, e) {
210
130
  let s;
211
131
  return e !== void 0 && (s = { ...e, rotated: t }), s;
212
132
  }
@@ -214,68 +134,68 @@ function Bt(t) {
214
134
  let e;
215
135
  return t !== void 0 && (e = { ...t }, delete e.axes?.[0]?.minimum, delete e.axes?.[0]?.maximum, delete e.axes?.[1]?.minimum, delete e.axes?.[1]?.maximum), e;
216
136
  }
217
- function Qs(t, e) {
218
- return e != null || pe(t);
137
+ function As(t, e) {
138
+ return e != null || ce(t);
219
139
  }
220
- async function At(t) {
221
- const { queryObject: e, chartConfig: s, options: i, splitByField: a } = t;
222
- let r = [], l;
223
- const n = R(s), o = n.series[0], d = $e({
140
+ async function bt(t) {
141
+ const { queryObject: e, chartConfig: s, options: r, splitByField: a } = t;
142
+ let i = [], l;
143
+ const n = re(s), o = n.series[0], d = Ee({
224
144
  queryObject: e,
225
145
  chartConfig: n,
226
- runtimeDataFilters: i?.runtimeDataFilters,
227
- ignoreViewExtent: i?.ignoreViewExtent
146
+ runtimeDataFilters: r?.runtimeDataFilters,
147
+ ignoreViewExtent: r?.ignoreViewExtent
228
148
  });
229
- if (d.outStatistics?.[0]?.outStatisticFieldName && (d.outStatistics[0].outStatisticFieldName = We.outStatistics.outStatisticFieldName), L(o) && Xe({
230
- xAxisValueFormatType: je(n),
231
- setTimeBinningInfoWhenNotProvided: i?.setTimeBinningInfoWhenNotProvided,
149
+ if (d.outStatistics?.[0]?.outStatisticFieldName && (d.outStatistics[0].outStatisticFieldName = $e.outStatistics.outStatisticFieldName), I(o) && We({
150
+ xAxisValueFormatType: Xe(n),
151
+ setTimeBinningInfoWhenNotProvided: r?.setTimeBinningInfoWhenNotProvided,
232
152
  seriesConfig: o
233
- }) && Ye(e)) {
234
- const { temporalBinning: f, x: c } = o, { uniqueQuery: S } = await ie({
153
+ }) && je(e)) {
154
+ const { temporalBinning: f, x: u } = o, { uniqueQuery: F } = await Z({
235
155
  chartConfig: n,
236
156
  queryConfig: d,
237
157
  queryObject: e,
238
- options: i
158
+ options: r
239
159
  });
240
- l = await Ke({
160
+ l = await Ye({
241
161
  queryObject: e,
242
- dateField: c,
162
+ dateField: u,
243
163
  splitByField: a,
244
- queryConfig: S,
164
+ queryConfig: F,
245
165
  temporalBinning: f
246
- }), r = Array.from(
166
+ }), i = Array.from(
247
167
  new Set(
248
- l.flatMap((x) => {
249
- const { stackedAttributes: y } = x;
250
- let u = [];
251
- return y && (u = y.map((m) => m[a]).filter((m) => m !== void 0)), u;
168
+ l.flatMap((S) => {
169
+ const { stackedAttributes: y } = S;
170
+ let c = [];
171
+ return y && (c = y.map((m) => m[a]).filter((m) => m !== void 0)), c;
252
172
  })
253
173
  ).values()
254
174
  );
255
175
  } else {
256
- const { uniqueQuery: f } = await ie({
176
+ const { uniqueQuery: f } = await Z({
257
177
  chartConfig: n,
258
178
  queryObject: e,
259
179
  queryConfig: d,
260
- options: i
180
+ options: r
261
181
  });
262
- l = await Ue({
182
+ l = await Ke({
263
183
  queryObject: e,
264
184
  queryConfig: f,
265
185
  featureCount: 1
266
- }), r = Array.from(
186
+ }), i = Array.from(
267
187
  new Set(
268
- l.map((c) => c.attributes[a]).filter((c) => c !== void 0)
188
+ l.map((u) => u.attributes[a]).filter((u) => u !== void 0)
269
189
  ).values()
270
190
  );
271
191
  }
272
- return { allValues: r, preFetchedQueryResponse: l };
192
+ return { allValues: i, preFetchedQueryResponse: l };
273
193
  }
274
- function vt(t, e) {
194
+ function At(t, e) {
275
195
  const s = /* @__PURE__ */ new Map();
276
- return t.series.forEach((i) => {
277
- let a = ee({
278
- where: i.query?.where,
196
+ return t.series.forEach((r) => {
197
+ let a = Q({
198
+ where: r.query?.where,
279
199
  // normalize the value so it matches what we get from getAllValues()
280
200
  // Refer to https://devtopia.esri.com/WebGIS/arcgis-charts/issues/8127
281
201
  normalize: !0,
@@ -284,60 +204,60 @@ function vt(t, e) {
284
204
  escape: !1
285
205
  });
286
206
  e && a !== null && (a = Number(a));
287
- const r = qe([i]);
288
- r !== void 0 && s.set(r, [
289
- ...s.get(r) ?? [],
207
+ const i = Ie([r]);
208
+ i !== void 0 && s.set(i, [
209
+ ...s.get(i) ?? [],
290
210
  a
291
211
  ]);
292
212
  }), s;
293
213
  }
294
- function Lt(t) {
295
- const { allValues: e, configUniqueValuesPerSeriesType: s, initialConfigWasEmpty: i } = t, a = /* @__PURE__ */ new Map();
296
- return Array.from(s.keys()).forEach((r) => {
297
- const l = s.get(r) ?? [];
214
+ function vt(t) {
215
+ const { allValues: e, configUniqueValuesPerSeriesType: s, initialConfigWasEmpty: r } = t, a = /* @__PURE__ */ new Map();
216
+ return Array.from(s.keys()).forEach((i) => {
217
+ const l = s.get(i) ?? [];
298
218
  let n = [];
299
- i ? n = e : e.forEach((o) => {
219
+ r ? n = e : e.forEach((o) => {
300
220
  l.includes(o) || n.push(o);
301
- }), a.set(r, n);
221
+ }), a.set(i, n);
302
222
  }), a;
303
223
  }
304
224
  function It(t) {
305
- const { chartConfig: e, missingValue: s, splitByField: i, seriesTemplate: a } = t, r = JSON.parse(
225
+ const { chartConfig: e, missingValue: s, splitByField: r, seriesTemplate: a } = t, i = JSON.parse(
306
226
  JSON.stringify({
307
227
  ...e.series[0],
308
228
  ...a
309
229
  })
310
230
  );
311
- if (r.query) {
312
- if (r.id = `${s}-${e.series.length}-${Date.now()}`, r.name = `${s}`, r.query.outStatistics?.[0] !== void 0) {
313
- const n = r.id;
314
- r.query.outStatistics[0].outStatisticFieldName = n, "y" in r && (r.y = n);
231
+ if (i.query) {
232
+ if (i.id = `${s}-${e.series.length}-${Date.now()}`, i.name = `${s}`, i.query.outStatistics?.[0] !== void 0) {
233
+ const n = i.id;
234
+ i.query.outStatistics[0].outStatisticFieldName = n, "y" in i && (i.y = n);
315
235
  }
316
236
  const l = typeof s == "number" || s === null ? s : `'${s}'`;
317
- r.query.where = `${i}=${l}`;
237
+ i.query.where = `${r}=${l}`;
318
238
  }
319
- return r;
239
+ return i;
320
240
  }
321
- async function Vt(t) {
322
- const { updateSplitBySeries: e, config: s, options: i, queryObject: a } = t, { seriesTemplate: r } = e ?? {};
241
+ async function Lt(t) {
242
+ const { updateSplitBySeries: e, config: s, options: r, queryObject: a } = t, { seriesTemplate: i } = e ?? {};
323
243
  let l;
324
- if (e !== void 0 && s !== void 0 && (s.series.length > 0 || r !== void 0) && e.addMissingSeries) {
244
+ if (e !== void 0 && s !== void 0 && (s.series.length > 0 || i !== void 0) && e.addMissingSeries) {
325
245
  const n = s.series.length === 0;
326
- s.series.length === 0 && r !== void 0 && s.series.push(r);
327
- const o = j(s.series);
328
- if ((o === q.BoxPlotMonoFieldAndSplitBy || o === q.BoxPlotMultiFieldsAndSplitBy || o === q.BoxPlotMonoFieldAndCategoryAndSplitBy || o === q.BarAndLineSplitBy || o === q.BarAndLineSplitByNoAggregation) && a !== void 0) {
329
- const d = Pe(s.series[0]?.query?.where), f = Re(a);
246
+ s.series.length === 0 && i !== void 0 && s.series.push(i);
247
+ const o = E(s.series);
248
+ if ((o === V.BoxPlotMonoFieldAndSplitBy || o === V.BoxPlotMultiFieldsAndSplitBy || o === V.BoxPlotMonoFieldAndCategoryAndSplitBy || o === V.BarAndLineSplitBy || o === V.BarAndLineSplitByNoAggregation) && a !== void 0) {
249
+ const d = Pe(s.series[0]?.query?.where), f = ke(a);
330
250
  await f.load();
331
- const c = f.getField(d)?.toJSON(), S = Ee(c), x = await At({
251
+ const u = f.getField(d)?.toJSON(), F = Re(u), S = await bt({
332
252
  queryObject: a,
333
253
  chartConfig: s,
334
254
  splitByField: d,
335
- options: i
336
- }), { allValues: y } = x;
337
- if ({ preFetchedQueryResponse: l } = x, y.length > 0) {
338
- const u = vt(s, S), m = Lt({
255
+ options: r
256
+ }), { allValues: y } = S;
257
+ if ({ preFetchedQueryResponse: l } = S, y.length > 0) {
258
+ const c = At(s, F), m = vt({
339
259
  allValues: y,
340
- configUniqueValuesPerSeriesType: u,
260
+ configUniqueValuesPerSeriesType: c,
341
261
  initialConfigWasEmpty: n
342
262
  });
343
263
  Array.from(m.keys()).forEach((p) => {
@@ -345,7 +265,7 @@ async function Vt(t) {
345
265
  s.series.push(
346
266
  It({
347
267
  chartConfig: s,
348
- seriesTemplate: r,
268
+ seriesTemplate: i,
349
269
  missingValue: T,
350
270
  splitByField: d
351
271
  })
@@ -358,55 +278,55 @@ async function Vt(t) {
358
278
  return l;
359
279
  }
360
280
  function qt(t, e) {
361
- e && !pe(e) && (e = Me({ chartConfig: e, queryObject: t }));
281
+ e && !ce(e) && (e = Me({ chartConfig: e, queryObject: t }));
362
282
  }
363
- async function Gs(t) {
364
- const { configToAlter: e, layer: s, addMissingSeries: i, updateSplitBySeries: a, chartContainer: r, queryObject: l, options: n } = t;
283
+ async function vs(t) {
284
+ const { configToAlter: e, layer: s, addMissingSeries: r, updateSplitBySeries: a, chartContainer: i, queryObject: l, options: n } = t;
365
285
  let o = e, d;
366
- return o && (qt(s, o), o = await ut(o, s), i && (d = await Vt({
286
+ return o && (qt(s, o), o = await ut(o, s), r && (d = await Lt({
367
287
  updateSplitBySeries: a,
368
288
  config: o,
369
289
  options: n,
370
290
  queryObject: l
371
- })), o = ke(o, r)), { alteredConfig: o, preFetchedQueryResponse: d };
291
+ })), o = De(o, i)), { alteredConfig: o, preFetchedQueryResponse: d };
372
292
  }
373
- const Zs = (t) => t.hideEmptyRowsAndColumns, Js = (t, e) => {
293
+ const Is = (t) => t.hideEmptyRowsAndColumns, Ls = (t, e) => {
374
294
  t.hideEmptyRowsAndColumns = e;
375
- }, ei = (t, e) => {
295
+ }, qs = (t, e) => {
376
296
  const s = t.series[0];
377
297
  s.heatRulesType = e;
378
- }, ti = (t) => t.series[0].heatRulesType, si = (t, e) => {
298
+ }, Vs = (t) => t.series[0].heatRulesType, Ns = (t, e) => {
379
299
  const s = t.series[0];
380
300
  s.gradientRules = e;
381
- }, ii = (t) => t.series[0].gradientRules, ai = (t) => {
382
- const { yField: e, config: s, layerInfo: i } = t, { layerFieldsInfo: a } = i, r = U(1, s), l = Nt(s), n = Y(s), o = s.series[0];
383
- if (typeof e == "string" && l !== e && o && (o.y = e, Bt(s), l === r || n)) {
301
+ }, ws = (t) => t.series[0].gradientRules, Os = (t) => {
302
+ const { yField: e, config: s, layerInfo: r } = t, { layerFieldsInfo: a } = r, i = G(1, s), l = Vt(s), n = $(s), o = s.series[0];
303
+ if (typeof e == "string" && l !== e && o && (o.y = e, Bt(s), l === i || n)) {
384
304
  const d = N(a, e);
385
- G(s, 1, d);
305
+ U(s, 1, d);
386
306
  }
387
- }, Nt = (t) => t.series[0].y ?? "", ri = (t, e) => {
307
+ }, Vt = (t) => t.series[0].y ?? "", Ds = (t, e) => {
388
308
  const s = e.series[0];
389
309
  s.xTemporalBinning = t;
390
- }, li = (t) => t.series[0].xTemporalBinning, ni = (t, e) => {
310
+ }, Ms = (t) => t.series[0].xTemporalBinning, Ps = (t, e) => {
391
311
  const s = e.series[0];
392
312
  s.yTemporalBinning = t;
393
- }, oi = (t) => t.series[0].yTemporalBinning, wt = (t, e) => {
313
+ }, ks = (t) => t.series[0].yTemporalBinning, Nt = (t, e) => {
394
314
  e.orderOptions ??= {};
395
- const s = e.axes?.[0]?.valueFormat?.type === "category" ? F.Category : F.YValue, i = Z(e)[0], a = e.axes?.[1]?.valueFormat?.type === "category" ? F.Category : F.YValue, r = Z(e)[1], l = {
315
+ const s = e.axes?.[0]?.valueFormat?.type === "category" ? h.Category : h.YValue, r = _(e)[0], a = e.axes?.[1]?.valueFormat?.type === "category" ? h.Category : h.YValue, i = _(e)[1], l = {
396
316
  ...e.orderOptions.data ?? {},
397
- orderType: F.MultiAxes
317
+ orderType: h.MultiAxes
398
318
  };
399
- i === Q.customSort && s === F.Category && (l.orderByX = [...t]), r === Q.customSort && a === F.Category && (l.orderByY = [...t]), Object.keys(l).length > 1 && (e.orderOptions.data = l);
400
- }, di = (t, e) => {
319
+ r === K.customSort && s === h.Category && (l.orderByX = [...t]), i === K.customSort && a === h.Category && (l.orderByY = [...t]), Object.keys(l).length > 1 && (e.orderOptions.data = l);
320
+ }, Rs = (t, e) => {
401
321
  const s = e.series[0];
402
322
  s.gridLine && (s.gridLine.width = t);
403
- }, ci = (t) => t.series[0].gridLine?.width, ui = (t, e) => {
404
- const s = e.series[0], i = t?.length === 4 && t.every((a) => typeof a == "number");
405
- s.gridLine && i && (s.gridLine.color = t);
406
- }, yi = (t) => t.series[0].gridLine?.color, gi = (t, e) => {
323
+ }, Es = (t) => t.series[0].gridLine?.width, $s = (t, e) => {
324
+ const s = e.series[0], r = t?.length === 4 && t.every((a) => typeof a == "number");
325
+ s.gridLine && r && (s.gridLine.color = t);
326
+ }, Ws = (t) => t.series[0].gridLine?.color, Xs = (t, e) => {
407
327
  const s = e.legend;
408
328
  s && (s.position = t);
409
- }, pi = (t) => t.legend?.position ?? Ne.Bottom, mi = (t) => t.series[0].query?.outStatistics?.[0]?.onStatisticField, fi = (t, e) => {
329
+ }, js = (t) => t.legend?.position ?? Le.Bottom, Ys = (t) => t.series[0].query?.outStatistics?.[0]?.onStatisticField, Ks = (t, e) => {
410
330
  const s = e.series[0].query?.outStatistics?.[0];
411
331
  s ? (s.onStatisticField = t, s.outStatisticFieldName = `${s.statisticType}_${t}`) : e.series[0].query = {
412
332
  outStatistics: [
@@ -417,129 +337,129 @@ const Zs = (t) => t.hideEmptyRowsAndColumns, Js = (t, e) => {
417
337
  }
418
338
  ]
419
339
  };
420
- }, xi = (t) => t.series[0].query?.outStatistics?.[0].statisticType ?? A.Count, Si = (t, e) => {
340
+ }, Us = (t) => t.series[0].query?.outStatistics?.[0].statisticType ?? A.Count, _s = (t, e) => {
421
341
  const s = e.series[0]?.query?.outStatistics?.[0];
422
342
  s && t !== A.NoAggregation && (s.statisticType = t, s.outStatisticFieldName = `${t}_${s.onStatisticField}`);
423
- }, Ti = (t) => t.nullPolicy, Fi = (t, e) => {
343
+ }, Hs = (t) => t.nullPolicy, Qs = (t, e) => {
424
344
  e.nullPolicy = t;
425
- }, bi = (t) => t.series[0].emptyCells, hi = (t, e) => {
345
+ }, zs = (t) => t.series[0].emptyCells, Gs = (t, e) => {
426
346
  e.series[0].emptyCells = t;
427
- }, Ci = (t) => t.series[0].emptyCells?.text, Bi = (t, e) => {
347
+ }, Js = (t) => t.series[0].emptyCells?.text, Zs = (t, e) => {
428
348
  e.series[0].emptyCells ? e.series[0].emptyCells.text = t : e.series[0].emptyCells = { text: t };
429
- }, Ai = (t) => t.includeLeapDay, vi = (t, e) => {
349
+ }, ei = (t) => t.includeLeapDay, ti = (t, e) => {
430
350
  e.includeLeapDay = t;
431
- }, Li = (t) => t.series[0].emptyCells?.symbol, Ii = (t, e) => {
351
+ }, si = (t) => t.series[0].emptyCells?.symbol, ii = (t, e) => {
432
352
  e.series[0].emptyCells ? e.series[0].emptyCells.symbol = t : e.series[0].emptyCells = { symbol: t };
433
353
  };
434
- function Vi(t) {
435
- return _e(t);
354
+ function ai(t) {
355
+ return Ue(t);
436
356
  }
437
- function qi(t) {
357
+ function ri(t) {
438
358
  return t.viewType;
439
359
  }
440
- function Ni(t, e) {
441
- He(e) || (e.viewType = t);
360
+ function li(t, e) {
361
+ _e(e) || (e.viewType = t);
442
362
  }
443
- function wi(t) {
444
- return t.series[0].classBreaksRules?.breaksCount ?? $.classBreaks.breaksCount;
363
+ function ni(t) {
364
+ return t.series[0].classBreaksRules?.breaksCount ?? P.classBreaks.breaksCount;
445
365
  }
446
- function Oi(t, e) {
447
- e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.breaksCount = t ?? $.classBreaks.breaksCount : e.series[0].classBreaksRules = {
448
- breaksCount: t ?? $.classBreaks.breaksCount
366
+ function oi(t, e) {
367
+ e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.breaksCount = t ?? P.classBreaks.breaksCount : e.series[0].classBreaksRules = {
368
+ breaksCount: t ?? P.classBreaks.breaksCount
449
369
  };
450
370
  }
451
- function Di(t) {
371
+ function di(t) {
452
372
  return t.series[0].classBreaksRules?.classificationMethod;
453
373
  }
454
- function ki(t, e) {
374
+ function ui(t, e) {
455
375
  e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.classificationMethod = t : e.series[0].classBreaksRules = {
456
376
  classificationMethod: t
457
- }, e.series[0].classBreaksRules.breaksCount = e.series[0].classBreaksRules.breaksCount ?? $.classBreaks.breaksCount;
377
+ }, e.series[0].classBreaksRules.breaksCount = e.series[0].classBreaksRules.breaksCount ?? P.classBreaks.breaksCount;
458
378
  }
459
- function P(t) {
460
- const { seriesIndex: e, xAxisField: s, aggregationType: i, config: a, layerInfo: r, commonStrings: l } = t, n = K(r?.layer).idField;
379
+ function D(t) {
380
+ const { seriesIndex: e, xAxisField: s, aggregationType: r, config: a, layerInfo: i, commonStrings: l } = t, n = W(i?.layer).idField;
461
381
  let o;
462
382
  const d = a.series[e ?? 0];
463
- let f = !1, c = !1, S = !1;
383
+ let f = !1, u = !1, F = !1;
464
384
  if (d === void 0) {
465
- const u = a.series;
466
- f = u.slice(0, e).every((m) => C(m)), c = u.slice(0, e).every((m) => B(m)), S = u.slice(0, e).every((m) => le(m));
385
+ const c = a.series;
386
+ f = c.slice(0, e).every((m) => B(m)), u = c.slice(0, e).every((m) => b(m)), F = c.slice(0, e).every((m) => se(m));
467
387
  } else
468
- f = C(d), c = B(d), S = le(d);
469
- f ? o = Ze({
388
+ f = B(d), u = b(d), F = se(d);
389
+ f ? o = Ge({
470
390
  commonStrings: l,
471
391
  seriesIndex: e,
472
392
  objectIDField: n
473
- }) : c ? o = Je({
393
+ }) : u ? o = Je({
474
394
  commonStrings: l,
475
395
  seriesIndex: e,
476
396
  objectIDField: n
477
- }) : S ? o = et(l, n) : o = tt({
397
+ }) : F ? o = Ze(l, n) : o = et({
478
398
  seriesIndex: e,
479
399
  objectIDField: n,
480
400
  commonStrings: l
481
401
  });
482
- const x = a.series[0]?.dataLabels, y = {
402
+ const S = a.series[0]?.dataLabels, y = {
483
403
  ...o,
484
404
  x: s,
485
405
  y: "",
486
406
  dataLabels: {
487
407
  ...o.dataLabels,
488
- type: o.dataLabels?.type ?? M.Text,
489
- content: { ...o.dataLabels?.content, ...x?.content, type: at.TS },
490
- visible: x?.visible ?? !1
408
+ type: o.dataLabels?.type ?? O.Text,
409
+ content: { ...o.dataLabels?.content, ...S?.content, type: it.TS },
410
+ visible: S?.visible ?? !1
491
411
  }
492
412
  };
493
413
  if (y.query = {
494
414
  groupByFieldsForStatistics: [s]
495
- }, i !== A.NoAggregation && n !== void 0) {
496
- const u = `${i}_${n}_0`.toUpperCase();
497
- y.y = u, y.query.outStatistics = [
415
+ }, r !== A.NoAggregation && n !== void 0) {
416
+ const c = `${r}_${n}_0`.toUpperCase();
417
+ y.y = c, y.query.outStatistics = [
498
418
  {
499
- statisticType: i,
419
+ statisticType: r,
500
420
  onStatisticField: n,
501
- outStatisticFieldName: u
421
+ outStatisticFieldName: c
502
422
  }
503
423
  ];
504
424
  }
505
- if (C(y) || B(y) || v(y) && a.series[0]?.binTemporalData) {
506
- let u;
507
- if (a?.series?.[0] !== void 0 && (u = j(a.series)), u !== q.BarAndLineNoAggregation && u !== q.BarAndLineSplitByNoAggregation) {
508
- let m = Tt(a);
509
- m === z.Quarter && (m = z.Month), y.temporalBinning = {
425
+ if (B(y) || b(y) || v(y) && a.series[0]?.binTemporalData) {
426
+ let c;
427
+ if (a?.series?.[0] !== void 0 && (c = E(a.series)), c !== V.BarAndLineNoAggregation && c !== V.BarAndLineSplitByNoAggregation) {
428
+ let m = Ft(a);
429
+ m === Y.Quarter && (m = Y.Month), y.temporalBinning = {
510
430
  size: St(a),
511
431
  unit: m,
512
- timeAggregationType: Ft(a),
513
- trimIncompleteTimeInterval: bt(a),
514
- nullPolicy: ht(a)
432
+ timeAggregationType: Tt(a),
433
+ trimIncompleteTimeInterval: ht(a),
434
+ nullPolicy: xt(a)
515
435
  };
516
436
  }
517
437
  }
518
- return R(y);
438
+ return re(y);
519
439
  }
520
- function be(t, e, s) {
521
- const { layerFieldsInfo: i } = e, { idField: a, isTraditionalTypeOID: r } = K(e.layer), l = E(t), n = se(t), o = Ce(t), d = X(t), f = r && (n.length === 0 || n.includes(a)), c = Ge(o, s), S = f ? "" : n.map((T) => N(i ?? [], T)).join(", "), x = N(i ?? [], l), y = N(i ?? [], d), u = t.series.some((T) => v(T)), m = u ? "category" : "xAxisField", p = x;
440
+ function Fe(t, e, s) {
441
+ const { layerFieldsInfo: r } = e, { idField: a, isTraditionalTypeOID: i } = W(e.layer), l = M(t), n = J(t), o = he(t), d = R(t), f = i && (n.length === 0 || n.includes(a)), u = ze(o, s), F = f ? "" : n.map((T) => N(r ?? [], T)).join(", "), S = N(r ?? [], l), y = N(r ?? [], d), c = t.series.some((T) => v(T)), m = c ? "category" : "xAxisField", p = S;
522
442
  let g = "";
523
- if (xe({
443
+ if (pe({
524
444
  fieldName: l,
525
445
  numericFields: n,
526
- fieldList: i
446
+ fieldList: r
527
447
  }))
528
- g = O(s.titleLabels.aggrTypeOfAggrFields, {
529
- aggregationType: c,
530
- aggregationFields: S
448
+ g = w(s.titleLabels.aggrTypeOfAggrFields, {
449
+ aggregationType: u,
450
+ aggregationFields: F
531
451
  });
532
452
  else if (o === A.NoAggregation) {
533
- const T = f ? a : S;
453
+ const T = f ? a : F;
534
454
  if (d === "") {
535
- const I = u ? "aggrTypeCategory" : "aggrTypeXAxisField";
536
- g = O(s.titleLabels[I], {
455
+ const L = c ? "aggrTypeCategory" : "aggrTypeXAxisField";
456
+ g = w(s.titleLabels[L], {
537
457
  aggregationType: T,
538
458
  [m]: p
539
459
  });
540
460
  } else {
541
- const I = u ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
542
- g = O(s.titleLabels[I], {
461
+ const L = c ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
462
+ g = w(s.titleLabels[L], {
543
463
  aggregationType: T,
544
464
  [m]: p,
545
465
  splitByField: y
@@ -547,239 +467,239 @@ function be(t, e, s) {
547
467
  }
548
468
  } else if (o === A.Count)
549
469
  if (d === "") {
550
- const T = u ? "aggrTypeCategory" : "aggrTypeXAxisField";
551
- g = O(s.titleLabels[T], {
552
- aggregationType: c,
470
+ const T = c ? "aggrTypeCategory" : "aggrTypeXAxisField";
471
+ g = w(s.titleLabels[T], {
472
+ aggregationType: u,
553
473
  [m]: p
554
474
  });
555
475
  } else {
556
- const T = u ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
557
- g = O(s.titleLabels[T], {
558
- aggregationType: c,
476
+ const T = c ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
477
+ g = w(s.titleLabels[T], {
478
+ aggregationType: u,
559
479
  [m]: p,
560
480
  splitByField: y
561
481
  });
562
482
  }
563
483
  else if (d !== "") {
564
- const T = u ? "aggrTypeOfAggrFieldByCategoryBySplitByField" : "aggrTypeOfAggrFieldByXAxisFieldBySplitByField";
565
- g = O(s.titleLabels[T], {
566
- aggregationType: c,
567
- aggregationField: S,
484
+ const T = c ? "aggrTypeOfAggrFieldByCategoryBySplitByField" : "aggrTypeOfAggrFieldByXAxisFieldBySplitByField";
485
+ g = w(s.titleLabels[T], {
486
+ aggregationType: u,
487
+ aggregationField: F,
568
488
  [m]: p,
569
489
  splitByField: y
570
490
  });
571
491
  } else if (n.length > 0) {
572
- const T = u ? "aggrTypeOfAggrFieldsByCategory" : "aggrTypeOfAggrFieldsByXAxisField";
573
- g = O(s.titleLabels[T], {
574
- aggregationType: c,
575
- aggregationFields: S,
492
+ const T = c ? "aggrTypeOfAggrFieldsByCategory" : "aggrTypeOfAggrFieldsByXAxisField";
493
+ g = w(s.titleLabels[T], {
494
+ aggregationType: u,
495
+ aggregationFields: F,
576
496
  [m]: p
577
497
  });
578
498
  }
579
499
  return g;
580
500
  }
581
- const he = (t) => ee({
501
+ const Te = (t) => Q({
582
502
  where: t.query?.where,
583
503
  normalize: !1,
584
504
  escape: !1
585
- }) ?? "", Ce = (t) => t?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? A.NoAggregation, X = de(
505
+ }) ?? "", he = (t) => t?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? A.NoAggregation, R = le(
586
506
  (t) => {
587
507
  const e = t?.series?.[0]?.query?.where?.split("=")[0].trim() ?? "";
588
- return ze(t?.series?.[0]?.query?.where) ? "" : e;
508
+ return He(t?.series?.[0]?.query?.where) ? "" : e;
589
509
  },
590
510
  (t) => t?.series?.[0]?.query?.where
591
- ), se = de(
511
+ ), J = le(
592
512
  // without memoizing, the worst case efficiency is O(series.length), best case is O(1)
593
513
  // with memoizing, the worst case efficiency for repeated calls becomes O(1)
594
514
  (t) => {
595
515
  let e = [];
596
- if (X(t) === "")
516
+ if (R(t) === "")
597
517
  e = t?.series.map((s) => {
598
- const i = s.query?.outStatistics?.map((a) => a.onStatisticField) ?? [];
599
- return i?.length > 0 ? i : s.y;
518
+ const r = s.query?.outStatistics?.map((a) => a.onStatisticField) ?? [];
519
+ return r?.length > 0 ? r : s.y;
600
520
  }).flat() ?? [];
601
521
  else {
602
- const s = t?.series?.[0], i = s?.query?.outStatistics?.[0]?.onStatisticField ?? [s?.y].flat()[0];
603
- e = i !== void 0 ? [i] : [];
522
+ const s = t?.series?.[0], r = s?.query?.outStatistics?.[0]?.onStatisticField ?? [s?.y].flat()[0];
523
+ e = r !== void 0 ? [r] : [];
604
524
  }
605
525
  return [...new Set(e.filter((s) => s !== ""))];
606
526
  },
607
527
  // using series array address as key, since a change to the numeric fields will always rebuild a fresh series array
608
528
  (t) => t?.series
609
529
  );
610
- function Ot(t) {
611
- const { numericFields: e, aggregationType: s, config: i, layerInfo: a } = t;
612
- let r = !1;
613
- s === A.Count ? r = !0 : s === A.NoAggregation && (r = e.every((o) => {
530
+ function wt(t) {
531
+ const { numericFields: e, aggregationType: s, config: r, layerInfo: a } = t;
532
+ let i = !1;
533
+ s === A.Count ? i = !0 : s === A.NoAggregation && (i = e.every((o) => {
614
534
  const d = a.layerFieldsInfo.find((f) => f.name === o);
615
- return d !== void 0 ? ae(d) : !1;
616
- })), ne(i, 1, r);
617
- const l = i.series.some((o) => C(o)), n = i.series.some((o) => B(o));
535
+ return d !== void 0 ? ee(d) : !1;
536
+ })), ie(r, 1, i);
537
+ const l = r.series.some((o) => B(o)), n = r.series.some((o) => b(o));
618
538
  if (l || n) {
619
- const o = E(i), d = a.layerFieldsInfo.find((c) => c.name === o), f = d !== void 0 && ae(d);
620
- ne(i, 0, f);
539
+ const o = M(r), d = a.layerFieldsInfo.find((u) => u.name === o), f = d !== void 0 && ee(d);
540
+ ie(r, 0, f);
621
541
  }
622
542
  }
623
- const Z = (t) => {
543
+ const _ = (t) => {
624
544
  let e;
625
- if (ye(t)) {
626
- const s = t.orderOptions?.data?.orderByX ?? [""], i = t.orderOptions?.data?.orderByY ?? [""], a = t.axes?.[0]?.valueFormat?.type === "category" ? F.Category : F.YValue, r = t.axes?.[1]?.valueFormat?.type === "category" ? F.Category : F.YValue;
627
- e = [oe(s, a), oe(i, r)];
545
+ if (de(t)) {
546
+ const s = t.orderOptions?.data?.orderByX ?? [""], r = t.orderOptions?.data?.orderByY ?? [""], a = t.axes?.[0]?.valueFormat?.type === "category" ? h.Category : h.YValue, i = t.axes?.[1]?.valueFormat?.type === "category" ? h.Category : h.YValue;
547
+ e = [ae(s, a), ae(r, i)];
628
548
  } else {
629
- const s = t.orderOptions?.data?.orderType ?? F.Category, i = t.orderOptions?.data && "orderBy" in t.orderOptions.data ? t.orderOptions.data.orderBy : we.Ascending;
630
- e = [ct(i, s)];
549
+ const s = t.orderOptions?.data?.orderType ?? h.Category, r = t.orderOptions?.data && "orderBy" in t.orderOptions.data ? t.orderOptions.data.orderBy : qe.Ascending;
550
+ e = [dt(r, s)];
631
551
  }
632
552
  return e;
633
553
  };
634
- function Dt(t) {
635
- const { xAxisField: e, numericFields: s, aggregationType: i, config: a, layerInfo: r, commonStrings: l } = t, { layerFieldsInfo: n } = r;
554
+ function Ot(t) {
555
+ const { xAxisField: e, numericFields: s, aggregationType: r, config: a, layerInfo: i, commonStrings: l } = t, { layerFieldsInfo: n } = i;
636
556
  let o = !1;
637
- const d = P({
557
+ const d = D({
638
558
  config: a,
639
559
  xAxisField: e,
640
- aggregationType: i,
641
- layerInfo: r,
560
+ aggregationType: r,
561
+ layerInfo: i,
642
562
  seriesIndex: 0,
643
563
  commonStrings: l
644
- }), f = te({
564
+ }), f = z({
645
565
  config: a,
646
566
  xAxisField: e,
647
567
  numericFields: s,
648
- aggregationType: i,
649
- layer: r.layer,
568
+ aggregationType: r,
569
+ layer: i.layer,
650
570
  fieldList: n
651
- }).name, c = {
571
+ }).name, u = {
652
572
  ...d,
653
573
  id: `series_${Date.now()}`,
654
574
  name: l.axisLabels.values,
655
- x: W,
575
+ x: k,
656
576
  y: f
657
- }, S = [];
577
+ }, F = [];
658
578
  for (const y of s)
659
- S.push({
579
+ F.push({
660
580
  onStatisticField: y,
661
581
  outStatisticFieldName: `${y}_0`.toUpperCase(),
662
- statisticType: i
582
+ statisticType: r
663
583
  });
664
- c.query = { outStatistics: S };
665
- const x = a.series[0];
666
- return x !== void 0 && (c.id = x.id, a.colorMatch || (v(x) && v(c) ? c.fillSymbol = x.fillSymbol : (C(c) && C(x) || B(c) && B(x)) && (c.lineSymbol = x.lineSymbol, c.markerSymbol = x.markerSymbol), o = !0), c.id = x.id, x.name !== d.name && (c.name = x.name)), a.series.length === 1 && !a.colorMatch && (v(c) ? c.fillSymbol = a.series[0].fillSymbol : (C(c) || B(c)) && (c.lineSymbol = a.series[0].lineSymbol, c.markerSymbol = a.series[0].markerSymbol), o = !0), a.colorMatch = !o, [c];
584
+ u.query = { outStatistics: F };
585
+ const S = a.series[0];
586
+ return S !== void 0 && (u.id = S.id, a.colorMatch || (v(S) && v(u) ? u.fillSymbol = S.fillSymbol : (B(u) && B(S) || b(u) && b(S)) && (u.lineSymbol = S.lineSymbol, u.markerSymbol = S.markerSymbol), o = !0), u.id = S.id, S.name !== d.name && (u.name = S.name)), a.series.length === 1 && !a.colorMatch && (v(u) ? u.fillSymbol = a.series[0].fillSymbol : (B(u) || b(u)) && (u.lineSymbol = a.series[0].lineSymbol, u.markerSymbol = a.series[0].markerSymbol), o = !0), a.colorMatch = !o, [u];
667
587
  }
668
- function Be(t) {
669
- const { xAxisField: e, numericFields: s, aggregationType: i, config: a, layerInfo: r, commonStrings: l } = t, { layerFieldsInfo: n } = r, o = K(r.layer).idField, d = [];
588
+ function xe(t) {
589
+ const { xAxisField: e, numericFields: s, aggregationType: r, config: a, layerInfo: i, commonStrings: l } = t, { layerFieldsInfo: n } = i, o = W(i.layer).idField, d = [];
670
590
  let f = !1;
671
- for (let c = 0; c < s.length; c += 1) {
672
- const S = P({
591
+ for (let u = 0; u < s.length; u += 1) {
592
+ const F = D({
673
593
  config: a,
674
594
  xAxisField: e,
675
- aggregationType: i,
676
- layerInfo: r,
677
- seriesIndex: c,
595
+ aggregationType: r,
596
+ layerInfo: i,
597
+ seriesIndex: u,
678
598
  commonStrings: l
679
- }), x = te({
599
+ }), S = z({
680
600
  config: a,
681
601
  xAxisField: e,
682
602
  numericFields: s,
683
- aggregationType: i,
684
- layer: r.layer,
685
- numericFieldIndex: c,
603
+ aggregationType: r,
604
+ layer: i.layer,
605
+ numericFieldIndex: u,
686
606
  fieldList: n
687
- }).name, y = s[c];
688
- let u = {
689
- ...S,
607
+ }).name, y = s[u];
608
+ let c = {
609
+ ...F,
690
610
  query: {
691
- ...S.query
611
+ ...F.query
692
612
  }
693
613
  };
694
- s && y !== o && (u = {
695
- ...u,
614
+ s && y !== o && (c = {
615
+ ...c,
696
616
  id: y,
697
617
  name: N(n, y)
698
618
  });
699
619
  let m = y;
700
- u.query !== void 0 && (i !== A.NoAggregation ? (m = x, u.query.outStatistics = [
620
+ c.query !== void 0 && (r !== A.NoAggregation ? (m = S, c.query.outStatistics = [
701
621
  {
702
- ...S.query?.outStatistics?.[0] ?? {},
622
+ ...F.query?.outStatistics?.[0] ?? {},
703
623
  onStatisticField: y,
704
- outStatisticFieldName: x,
705
- statisticType: i
624
+ outStatisticFieldName: S,
625
+ statisticType: r
706
626
  }
707
- ]) : delete u.query.outStatistics), u.y = m;
627
+ ]) : delete c.query.outStatistics), c.y = m;
708
628
  const p = a.series.find(
709
629
  (g) => g.query?.outStatistics?.[0]?.onStatisticField === y && g.query.where === void 0
710
630
  );
711
631
  if (p !== void 0 && typeof p.y == "string" && p.y.trim() !== "") {
712
- a.colorMatch || (v(u) && v(p) ? u.fillSymbol = p.fillSymbol : (C(u) && C(p) || B(u) && B(p)) && (u.lineSymbol = p.lineSymbol, u.markerSymbol = p.markerSymbol), f = !0);
713
- const g = P({
632
+ a.colorMatch || (v(c) && v(p) ? c.fillSymbol = p.fillSymbol : (B(c) && B(p) || b(c) && b(p)) && (c.lineSymbol = p.lineSymbol, c.markerSymbol = p.markerSymbol), f = !0);
633
+ const g = D({
714
634
  config: a,
715
635
  xAxisField: e,
716
- aggregationType: i,
717
- layerInfo: r,
718
- seriesIndex: c,
636
+ aggregationType: r,
637
+ layerInfo: i,
638
+ seriesIndex: u,
719
639
  commonStrings: l
720
640
  });
721
- u.id = p.id, p.id !== g.id && p.name !== g.name && (u.id = p.id, u.name = p.name);
641
+ c.id = p.id, p.id !== g.id && p.name !== g.name && (c.id = p.id, c.name = p.name);
722
642
  }
723
- d.push(u);
643
+ d.push(c);
724
644
  }
725
- return a.series.length === 1 && d.length === 1 && !a.colorMatch && (v(a.series[0]) && v(d[0]) ? d[0].fillSymbol = a.series[0].fillSymbol : (C(a.series[0]) && C(d[0]) || B(a.series[0]) && B(d[0])) && (d[0].lineSymbol = a.series[0].lineSymbol, d[0].markerSymbol = a.series[0].markerSymbol), f = !0), a.colorMatch = !f, d;
645
+ return a.series.length === 1 && d.length === 1 && !a.colorMatch && (v(a.series[0]) && v(d[0]) ? d[0].fillSymbol = a.series[0].fillSymbol : (B(a.series[0]) && B(d[0]) || b(a.series[0]) && b(d[0])) && (d[0].lineSymbol = a.series[0].lineSymbol, d[0].markerSymbol = a.series[0].markerSymbol), f = !0), a.colorMatch = !f, d;
726
646
  }
727
- async function kt(t) {
728
- const { splitByField: e, xAxisField: s, numericFields: i, aggregationType: a, config: r, layerInfo: l, commonStrings: n } = t, { layer: o, layerFieldsInfo: d } = l, { fetchNullValues: f } = r?.series?.[0]?.query ?? {}, c = s !== W ? s : void 0, { categoriesArray: S, splitByFieldType: x, numericalField: y } = await dt({
729
- config: r,
647
+ async function Dt(t) {
648
+ const { splitByField: e, xAxisField: s, numericFields: r, aggregationType: a, config: i, layerInfo: l, commonStrings: n } = t, { layer: o, layerFieldsInfo: d } = l, { fetchNullValues: f } = i?.series?.[0]?.query ?? {}, u = s !== k ? s : void 0, { categoriesArray: F, splitByFieldType: S, numericalField: y } = await ot({
649
+ config: i,
730
650
  layer: o,
731
651
  layerFieldsInfo: d,
732
- xAxisField: c,
733
- aggregationFields: i,
652
+ xAxisField: u,
653
+ aggregationFields: r,
734
654
  splitByField: e,
735
655
  fetchNullValues: f
736
656
  });
737
- let u = [], m = !1;
738
- if (S.length === 0) {
739
- u = Be({
657
+ let c = [], m = !1;
658
+ if (F.length === 0) {
659
+ c = xe({
740
660
  xAxisField: s,
741
- numericFields: i,
661
+ numericFields: r,
742
662
  aggregationType: a,
743
- config: r,
663
+ config: i,
744
664
  layerInfo: l,
745
665
  commonStrings: n
746
666
  });
747
- for (const p of u)
667
+ for (const p of c)
748
668
  p.query && (p.query.where = `${e}=''`);
749
669
  } else
750
- for (let p = 0; p < S.length; p += 1) {
751
- const g = S[p], T = te({
752
- config: r,
670
+ for (let p = 0; p < F.length; p += 1) {
671
+ const g = F[p], T = z({
672
+ config: i,
753
673
  xAxisField: s,
754
- numericFields: i,
674
+ numericFields: r,
755
675
  aggregationType: a,
756
676
  layer: l.layer,
757
677
  seriesIndex: p,
758
678
  splitByField: e,
759
679
  fieldList: d
760
- }).name, I = P({
761
- config: r,
680
+ }).name, L = D({
681
+ config: i,
762
682
  xAxisField: s,
763
683
  aggregationType: a,
764
684
  layerInfo: l,
765
685
  seriesIndex: p,
766
686
  commonStrings: n
767
- }), Ae = {
687
+ }), Ce = {
768
688
  fieldName: e,
769
689
  fieldValueToMatch: g ?? "",
770
- subtypeInfo: ce(l.layer),
690
+ subtypeInfo: ne(l.layer),
771
691
  fieldList: l.layerFieldsInfo
772
- }, ve = ue(Ae), _ = `${g}`, h = {
773
- ...I,
774
- id: _,
775
- name: ve ?? _,
692
+ }, Be = oe(Ce), X = `${g}`, C = {
693
+ ...L,
694
+ id: X,
695
+ name: Be ?? X,
776
696
  y: T,
777
697
  query: {
778
- ...I.query,
779
- where: `${e}=${x === ge.String && g !== null ? `'${g}'` : g}`,
698
+ ...L.query,
699
+ where: `${e}=${S === ue.String && g !== null ? `'${g}'` : g}`,
780
700
  outStatistics: a !== A.NoAggregation ? [
781
701
  {
782
- ...I.query?.outStatistics?.[0] ?? {},
702
+ ...L.query?.outStatistics?.[0] ?? {},
783
703
  onStatisticField: y,
784
704
  outStatisticFieldName: T,
785
705
  statisticType: a
@@ -787,238 +707,212 @@ async function kt(t) {
787
707
  ] : void 0
788
708
  }
789
709
  };
790
- a === A.NoAggregation && (h.query !== void 0 && (delete h.query.outStatistics, delete h.query.groupByFieldsForStatistics), h.y = y);
791
- const V = r.series.find(
792
- (Le) => String(he(Le)).trim().replace(/'/gu, "") === _
710
+ a === A.NoAggregation && (C.query !== void 0 && (delete C.query.outStatistics, delete C.query.groupByFieldsForStatistics), C.y = y);
711
+ const q = i.series.find(
712
+ (be) => String(Te(be)).trim().replace(/'/gu, "") === X
793
713
  );
794
- V !== void 0 && (r.colorMatch || (v(h) && v(V) ? h.fillSymbol = V.fillSymbol : (C(h) && C(V) || B(h) && B(V)) && (h.lineSymbol = V.lineSymbol, h.markerSymbol = V.markerSymbol), m = !0), h.id = V.id, h.name = V.name), u.push(h);
714
+ q !== void 0 && (i.colorMatch || (v(C) && v(q) ? C.fillSymbol = q.fillSymbol : (B(C) && B(q) || b(C) && b(q)) && (C.lineSymbol = q.lineSymbol, C.markerSymbol = q.markerSymbol), m = !0), C.id = q.id, C.name = q.name), c.push(C);
795
715
  }
796
- return r.colorMatch = !m, u;
716
+ return i.colorMatch = !m, c;
797
717
  }
798
- const Mi = async (t) => {
799
- const { xAxisField: e, splitByField: s, numericFields: i, aggregationType: a, config: r, layerInfo: l, commonStrings: n } = t, { layerFieldsInfo: o } = l ?? {}, d = Fe(r), f = E(r), c = Mt(r, l, n), S = Pt(r, l, n), x = Rt(r, l);
800
- let y = me(r);
801
- const u = r.series.some((g) => v(g)), m = rt(r.series), p = lt(r.series);
718
+ const ci = async (t) => {
719
+ const { xAxisField: e, splitByField: s, numericFields: r, aggregationType: a, config: i, layerInfo: l, commonStrings: n } = t, { layerFieldsInfo: o } = l ?? {}, d = Se(i), f = M(i), u = Mt(i, l, n), F = Pt(i, l, n), S = kt(i, l);
720
+ let y = ye(i);
721
+ const c = i.series.some((g) => v(g)), m = at(i.series), p = rt(i.series);
802
722
  if (o !== void 0) {
803
723
  const g = Qe(o);
804
- !g.includes(f) && g.includes(e) ? y = st() : g.includes(f) && !g.includes(e) && (u ? y = re() : y = it()), o.find((I) => I.name === e)?.type === ge.String && (y = re()), y !== void 0 && ot(r, n, y);
724
+ !g.includes(f) && g.includes(e) ? y = tt() : g.includes(f) && !g.includes(e) && (c ? y = te() : y = st()), o.find((L) => L.name === e)?.type === ue.String && (y = te()), y !== void 0 && nt(i, n, y);
805
725
  }
806
- if (d === 0 && (r.series = [
807
- P({ config: r, xAxisField: e, aggregationType: a, layerInfo: l, commonStrings: n })
808
- ]), r.series.forEach((g) => {
726
+ if (d === 0 && (i.series = [
727
+ D({ config: i, xAxisField: e, aggregationType: a, layerInfo: l, commonStrings: n })
728
+ ]), i.series.forEach((g) => {
809
729
  g.x = e, g.query !== void 0 && (g.query.groupByFieldsForStatistics = [e]);
810
- }), s === "" || i.length > 1 ? xe({
730
+ }), s === "" || r.length > 1 ? pe({
811
731
  fieldName: e,
812
- numericFields: i,
732
+ numericFields: r,
813
733
  fieldList: o
814
- }) ? r.series = Dt({
815
- config: r,
734
+ }) ? i.series = Ot({
735
+ config: i,
816
736
  layerInfo: l,
817
737
  xAxisField: e,
818
- numericFields: i,
738
+ numericFields: r,
819
739
  aggregationType: a,
820
740
  commonStrings: n
821
- }) : r.series = Be({
822
- config: r,
741
+ }) : i.series = xe({
742
+ config: i,
823
743
  layerInfo: l,
824
744
  xAxisField: e,
825
- numericFields: i,
745
+ numericFields: r,
826
746
  aggregationType: a,
827
747
  commonStrings: n
828
- }) : (await Promise.resolve(), r.series = await kt({
829
- config: r,
748
+ }) : (await Promise.resolve(), i.series = await Dt({
749
+ config: i,
830
750
  layerInfo: l,
831
751
  splitByField: s,
832
752
  xAxisField: e,
833
- numericFields: i,
753
+ numericFields: r,
834
754
  aggregationType: a,
835
755
  commonStrings: n
836
- })), x) {
756
+ })), S) {
837
757
  const g = N(o, e);
838
- G(r, 0, g);
758
+ U(i, 0, g);
839
759
  }
840
- if (S) {
841
- const g = fe({
842
- config: r,
760
+ if (F) {
761
+ const g = ge({
762
+ config: i,
843
763
  layerInfo: l,
844
764
  commonStrings: n,
845
- numericFields: i,
765
+ numericFields: r,
846
766
  aggregationType: a
847
767
  });
848
- G(r, 1, g);
768
+ U(i, 1, g);
849
769
  }
850
- if (r.title && c && (r.title.content.text = be(r, l, n)), b({ config: r, value: null, axisIndex: 1, isMax: !1 }), b({ config: r, value: null, axisIndex: 1, isMax: !0 }), Ot({ numericFields: i, aggregationType: a, config: r, layerInfo: l }), m || p) {
851
- b({ config: r, value: null, axisIndex: 0, isMax: !1 }), b({ config: r, value: null, axisIndex: 0, isMax: !0 }), Te(0, r);
852
- const g = y?.type === M.DateAxisFormat ? H.Null : H.Interpolate;
853
- Ct(g, r);
770
+ if (i.title && u && (i.title.content.text = Fe(i, l, n)), x({ config: i, value: null, axisIndex: 1, isMax: !1 }), x({ config: i, value: null, axisIndex: 1, isMax: !0 }), wt({ numericFields: r, aggregationType: a, config: i, layerInfo: l }), m || p) {
771
+ x({ config: i, value: null, axisIndex: 0, isMax: !1 }), x({ config: i, value: null, axisIndex: 0, isMax: !0 }), fe(0, i);
772
+ const g = y?.type === O.DateAxisFormat ? j.Null : j.Interpolate;
773
+ Ct(g, i);
854
774
  }
855
- }, Pi = (t) => {
856
- const { config: e, seriesIndex: s, layerInfo: i, commonStrings: a } = t, r = e.series?.[s], l = X(e);
775
+ }, yi = (t) => {
776
+ const { config: e, seriesIndex: s, layerInfo: r, commonStrings: a } = t, i = e.series?.[s], l = R(e);
857
777
  let n;
858
- if (j(e.series) === q.BarAndLineFromFields)
778
+ if (E(e.series) === V.BarAndLineFromFields)
859
779
  n = a.axisLabels.values;
860
- else if (Ve(l)) {
861
- const d = r.query?.outStatistics?.[0]?.onStatisticField;
862
- d !== void 0 && d !== K(i.layer).idField && (n = N(i.layerFieldsInfo, d));
780
+ else if (ve(l)) {
781
+ const d = i.query?.outStatistics?.[0]?.onStatisticField;
782
+ d !== void 0 && d !== W(r.layer).idField && (n = N(r.layerFieldsInfo, d));
863
783
  } else {
864
- const d = String(he(r)).trim().replace(/'/gu, ""), f = {
865
- fieldName: X(e),
784
+ const d = String(Te(i)).trim().replace(/'/gu, ""), f = {
785
+ fieldName: R(e),
866
786
  fieldValueToMatch: d ?? "",
867
- subtypeInfo: ce(i.layer),
868
- fieldList: i.layerFieldsInfo
787
+ subtypeInfo: ne(r.layer),
788
+ fieldList: r.layerFieldsInfo
869
789
  };
870
- n = ue(f) ?? d;
790
+ n = oe(f) ?? d;
871
791
  }
872
- return n ?? r.id;
873
- }, Ri = (t, e) => {
874
- if (ye(e))
875
- wt(t, e);
792
+ return n ?? i.id;
793
+ }, gi = (t, e) => {
794
+ if (de(e))
795
+ Nt(t, e);
876
796
  else {
877
797
  e.orderOptions ??= {};
878
798
  const s = e.orderOptions?.data?.orderType;
879
- Z(e)[0] === Q.customSort && s === F.Category && (e.orderOptions.data = {
880
- orderType: F.Category,
799
+ _(e)[0] === K.customSort && s === h.Category && (e.orderOptions.data = {
800
+ orderType: h.Category,
881
801
  orderBy: [...t]
882
802
  });
883
803
  }
884
- }, Ei = async (t, e) => {
885
- const s = E(t), i = me(t)?.type, a = se(t), r = j(t.series);
804
+ }, pi = async (t, e) => {
805
+ const s = M(t), r = ye(t)?.type, a = J(t), i = E(t.series);
886
806
  let l = [];
887
- return i === M.CategoryAxisFormat && (r === q.BarAndLineFromFields || s === W ? l = a.map((n) => N(e?.layerFieldsInfo, n)) : s.trim() !== "" && s !== W && e !== void 0 && (l = await nt({
807
+ return r === O.CategoryAxisFormat && (i === V.BarAndLineFromFields || s === k ? l = a.map((n) => N(e?.layerFieldsInfo, n)) : s.trim() !== "" && s !== k && e !== void 0 && (l = await lt({
888
808
  layerInfo: e,
889
809
  config: t,
890
810
  category: s
891
811
  }))), l;
892
812
  };
893
813
  function Mt(t, e, s) {
894
- const i = be(t, e, s), a = Se(t), r = Y(t);
895
- return i === a || r;
814
+ const r = Fe(t, e, s), a = me(t), i = $(t);
815
+ return r === a || i;
896
816
  }
897
817
  function Pt(t, e, s) {
898
- const i = fe({
818
+ const r = ge({
899
819
  config: t,
900
820
  layerInfo: e,
901
821
  commonStrings: s,
902
- numericFields: se(t),
903
- aggregationType: Ce(t)
904
- }), a = U(1, t), r = Y(t);
905
- return i === a || r;
822
+ numericFields: J(t),
823
+ aggregationType: he(t)
824
+ }), a = G(1, t), i = $(t);
825
+ return r === a || i;
906
826
  }
907
- function Rt(t, e) {
908
- const s = N(e.layerFieldsInfo, E(t)), i = U(0, t), a = Y(t);
909
- return s === i || a;
827
+ function kt(t, e) {
828
+ const s = N(e.layerFieldsInfo, M(t)), r = G(0, t), a = $(t);
829
+ return s === r || a;
910
830
  }
911
- function $i(t) {
831
+ function mi(t) {
912
832
  return t.series[0]?.binTemporalData ?? !1;
913
833
  }
914
- function Wi(t, e) {
834
+ function fi(t, e) {
915
835
  e?.series.forEach((s) => {
916
- (s?.type === M.BarSeries || s?.type === M.LineSeries) && (s.binTemporalData = t, t ? s.temporalBinning = {
917
- unit: z.Day,
836
+ (s?.type === O.BarSeries || s?.type === O.LineSeries) && (s.binTemporalData = t, t ? s.temporalBinning = {
837
+ unit: Y.Day,
918
838
  size: 0,
919
- timeAggregationType: Oe.Start,
839
+ timeAggregationType: Ve.Start,
920
840
  trimIncompleteTimeInterval: !0,
921
- nullPolicy: H.Null
841
+ nullPolicy: j.Null
922
842
  } : delete s.temporalBinning);
923
843
  });
924
844
  }
925
845
  export {
926
- ft as $,
927
- Zs as A,
928
- Js as B,
929
- ci as C,
930
- di as D,
931
- yi as E,
932
- ui as F,
933
- ti as G,
934
- ei as H,
935
- ii as I,
936
- si as J,
937
- mi as K,
938
- fi as L,
939
- xi as M,
940
- Si as N,
941
- pi as O,
942
- gi as P,
943
- Ti as Q,
944
- Fi as R,
945
- bi as S,
946
- hi as T,
947
- Ci as U,
948
- Bi as V,
949
- Ai as W,
950
- vi as X,
951
- Li as Y,
952
- Ii as Z,
953
- xt as _,
954
- U as a,
955
- Us as a0,
956
- Ws as a1,
957
- Bs as a2,
958
- Ls as a3,
959
- Is as a4,
960
- Vs as a5,
961
- qs as a6,
962
- fs as a7,
963
- xs as a8,
964
- Ss as a9,
965
- Es as aA,
966
- $s as aB,
967
- Gs as aC,
968
- Qs as aD,
969
- zs as aE,
970
- _s as aF,
971
- Hs as aG,
972
- Bt as aH,
973
- Ts as aa,
974
- Fs as ab,
975
- bs as ac,
976
- St as ad,
977
- Te as ae,
978
- Tt as af,
979
- Xs as ag,
980
- Ft as ah,
981
- js as ai,
982
- bt as aj,
983
- Ys as ak,
984
- ht as al,
985
- Ct as am,
986
- Ks as an,
987
- hs as ao,
988
- Cs as ap,
989
- Ps as aq,
990
- As as ar,
991
- vs as as,
992
- Ns as at,
993
- ws as au,
994
- Os as av,
995
- Ds as aw,
996
- ks as ax,
997
- Ms as ay,
998
- Rs as az,
999
- Pi as b,
1000
- Z as c,
1001
- Ei as d,
1002
- $i as e,
1003
- Wi as f,
1004
- Se as g,
1005
- Ce as h,
1006
- X as i,
1007
- se as j,
1008
- Mi as k,
1009
- be as l,
1010
- Vi as m,
1011
- Nt as n,
1012
- ai as o,
1013
- qi as p,
1014
- Ni as q,
1015
- li as r,
1016
- Ri as s,
1017
- ri as t,
1018
- oi as u,
846
+ xs as $,
847
+ Ls as A,
848
+ Es as B,
849
+ Rs as C,
850
+ Ws as D,
851
+ $s as E,
852
+ Vs as F,
853
+ qs as G,
854
+ ws as H,
855
+ Ns as I,
856
+ Ys as J,
857
+ Ks as K,
858
+ Us as L,
859
+ _s as M,
860
+ js as N,
861
+ Xs as O,
862
+ Hs as P,
863
+ Qs as Q,
864
+ zs as R,
865
+ Gs as S,
866
+ Js as T,
867
+ Zs as U,
868
+ ei as V,
869
+ ti as W,
870
+ si as X,
871
+ ii as Y,
872
+ ft as Z,
873
+ mt as _,
874
+ yi as a,
875
+ fs as a0,
876
+ St as a1,
877
+ fe as a2,
878
+ Ft as a3,
879
+ Ss as a4,
880
+ Tt as a5,
881
+ Fs as a6,
882
+ ht as a7,
883
+ Ts as a8,
884
+ xt as a9,
885
+ Ct as aa,
886
+ hs as ab,
887
+ vs as ac,
888
+ As as ad,
889
+ bs as ae,
890
+ Cs as af,
891
+ Bs as ag,
892
+ Bt as ah,
893
+ _ as b,
894
+ pi as c,
895
+ mi as d,
896
+ fi as e,
897
+ he as f,
898
+ me as g,
899
+ R as h,
900
+ J as i,
901
+ ci as j,
902
+ Fe as k,
903
+ ai as l,
904
+ Vt as m,
905
+ Os as n,
906
+ ri as o,
907
+ li as p,
908
+ Ms as q,
909
+ Ds as r,
910
+ gi as s,
911
+ ks as t,
912
+ Ps as u,
1019
913
  ni as v,
1020
- wi as w,
1021
- Oi as x,
1022
- Di as y,
1023
- ki as z
914
+ oi as w,
915
+ di as x,
916
+ ui as y,
917
+ Is as z
1024
918
  };