@arcgis/charts-components 5.0.0-next.51 → 5.0.0-next.53

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 (288) hide show
  1. package/dist/cdn/{V72HAW3A.js → 22XKXG4D.js} +3 -3
  2. package/dist/cdn/{3DIKD6LL.js → 22XV76FC.js} +2 -2
  3. package/dist/cdn/{DWTTCDLX.js → 2GLCYT4A.js} +2 -2
  4. package/dist/cdn/{3HFCTYVJ.js → 2IOCTKMQ.js} +2 -2
  5. package/dist/cdn/{JF434MRT.js → 2IW5JBCK.js} +2 -2
  6. package/dist/cdn/{I4ZQSKBQ.js → 2JDHERCD.js} +2 -2
  7. package/dist/cdn/{6VOAZOMP.js → 2JK7N3BH.js} +2 -2
  8. package/dist/cdn/{5STK5WG7.js → 2PHYJELF.js} +2 -2
  9. package/dist/cdn/{J2QDUXJE.js → 3E7N77BW.js} +2 -2
  10. package/dist/cdn/{BUZQSBDL.js → 3L4GPMFP.js} +2 -2
  11. package/dist/cdn/{AV666V52.js → 3PIZXUG3.js} +2 -2
  12. package/dist/cdn/{CDKHTPGB.js → 3XVWSIMV.js} +2 -2
  13. package/dist/cdn/{DD5QV2AB.js → 4647LLWJ.js} +2 -2
  14. package/dist/cdn/{AQMC3HBD.js → 46SGMHRK.js} +2 -2
  15. package/dist/cdn/{3724OAQD.js → 475H3RS3.js} +2 -2
  16. package/dist/cdn/{TOOYVIAU.js → 4N7DHGMM.js} +2 -2
  17. package/dist/cdn/{O33DW7ZZ.js → 4OBS6CEJ.js} +2 -2
  18. package/dist/cdn/{DFRMI7OU.js → 4SP5XK6I.js} +2 -2
  19. package/dist/cdn/{3CWBUXCF.js → 4ZSK7F5K.js} +2 -2
  20. package/dist/cdn/{K6NXEBG6.js → 53VWWVCC.js} +2 -2
  21. package/dist/cdn/{F5FVJ5KN.js → 556RM2HS.js} +2 -2
  22. package/dist/cdn/{5CMEKYG2.js → 5GBKOX65.js} +2 -2
  23. package/dist/cdn/{L4ZMM5YJ.js → 5GBNQRJ3.js} +1 -1
  24. package/dist/cdn/{L2HTZCD6.js → 5MUM7KON.js} +2 -2
  25. package/dist/cdn/{HJWO74BA.js → 5N5C7DKP.js} +1 -1
  26. package/dist/cdn/{DPGLTVXD.js → 5R234A2A.js} +2 -2
  27. package/dist/cdn/{VVGO57XM.js → 5ZLF7JQZ.js} +2 -2
  28. package/dist/cdn/{LJKU5DOQ.js → 667ZUKDG.js} +2 -2
  29. package/dist/cdn/{BROOW6ZG.js → 6A5ADDA7.js} +1 -1
  30. package/dist/cdn/{GVYDJSRQ.js → 6CHHLGF6.js} +2 -2
  31. package/dist/cdn/{BY2IOI6P.js → 6H2JE7JK.js} +2 -2
  32. package/dist/cdn/{E7J3XVE5.js → 6KIPXDES.js} +2 -2
  33. package/dist/cdn/{EQHNGPEU.js → 6OLATD3E.js} +1 -1
  34. package/dist/cdn/{LSWDE26H.js → 7CAEOELW.js} +2 -2
  35. package/dist/cdn/{H2K4DW6T.js → 7CVXID5S.js} +2 -2
  36. package/dist/cdn/{CEGRP5PX.js → 7M3J3WZS.js} +1 -1
  37. package/dist/cdn/{KW6MJD4T.js → 7PVEGYFL.js} +2 -2
  38. package/dist/cdn/{L6Y3LN4B.js → 7QYX3NID.js} +1 -1
  39. package/dist/cdn/{KFAXAEHT.js → 7Z5LET4Y.js} +2 -2
  40. package/dist/cdn/{GTCDCUYC.js → A35PIA2J.js} +2 -2
  41. package/dist/cdn/{F2ZJALSA.js → AG6LTZHV.js} +2 -2
  42. package/dist/cdn/{NSAWUEOY.js → AL2FMIPY.js} +2 -2
  43. package/dist/cdn/{HDPN7SOH.js → ASQFN3P7.js} +2 -2
  44. package/dist/cdn/{IL5S5CW5.js → ATODSF4O.js} +2 -2
  45. package/dist/cdn/{N5SAD3IN.js → AZ5G6IJV.js} +2 -2
  46. package/dist/cdn/{TUFE5B5M.js → BG2ELZHD.js} +2 -2
  47. package/dist/cdn/{Q7I345O4.js → BNPIOXKL.js} +2 -2
  48. package/dist/cdn/{GCWZR5S3.js → BYGY7YHS.js} +2 -2
  49. package/dist/cdn/{54M2LS4C.js → CKCN3JHH.js} +1 -1
  50. package/dist/cdn/{FSYKVNJ3.js → CKXI42AF.js} +2 -2
  51. package/dist/cdn/{GN4PWMLK.js → CLG5MOV4.js} +2 -2
  52. package/dist/cdn/{USX3GUS7.js → CMHBZFT5.js} +2 -2
  53. package/dist/cdn/{TUOORNZN.js → CP3KJSL2.js} +2 -2
  54. package/dist/cdn/{2FFIX2UZ.js → CQDC3PO6.js} +2 -2
  55. package/dist/cdn/{LQTZDVTL.js → CQWZIIG7.js} +2 -2
  56. package/dist/cdn/{CYQNPKG2.js → CX62EGIU.js} +2 -2
  57. package/dist/cdn/{6SZCLOJV.js → CZZSM6ZJ.js} +2 -2
  58. package/dist/cdn/{GQ5UYMZ5.js → DALKBULT.js} +1 -1
  59. package/dist/cdn/{RLHL6HHH.js → DMKVFD2K.js} +2 -2
  60. package/dist/cdn/{5IT3DNJM.js → DUL42XKF.js} +2 -2
  61. package/dist/cdn/{Z6EEQTA7.js → DXNBRTBB.js} +2 -2
  62. package/dist/cdn/{KCRNKETG.js → DZ2CFN6U.js} +2 -2
  63. package/dist/cdn/{SQZQQKJZ.js → ES2ZDO57.js} +2 -2
  64. package/dist/cdn/{S4ZKKCVF.js → ESOTNKEA.js} +2 -2
  65. package/dist/cdn/{BIE445NL.js → EWHCIRYF.js} +2 -2
  66. package/dist/cdn/{VAVNAMP2.js → F4I637ID.js} +2 -2
  67. package/dist/cdn/{WBTRPWQM.js → F7YYAMUU.js} +2 -2
  68. package/dist/cdn/{WHHOEHEE.js → FHHDE2M2.js} +2 -2
  69. package/dist/cdn/{COKG2QN7.js → FIZFQTAQ.js} +2 -2
  70. package/dist/cdn/{ANVE7IP7.js → FO35PFUU.js} +2 -2
  71. package/dist/cdn/{QJOOCYFA.js → G5Y42E6G.js} +2 -2
  72. package/dist/cdn/{JOO7NCD3.js → GOMY2IJY.js} +2 -2
  73. package/dist/cdn/{W5HCONSX.js → GPVFP2NK.js} +2 -2
  74. package/dist/cdn/{TNF2MVZI.js → GUO7YXDR.js} +2 -2
  75. package/dist/cdn/{BDQRKBQJ.js → GVK3EJPW.js} +2 -2
  76. package/dist/cdn/{LWCVLRHQ.js → GYG54VKW.js} +2 -2
  77. package/dist/cdn/{ZGKD3DQA.js → GYMISDI2.js} +2 -2
  78. package/dist/cdn/{AKBINYLB.js → GYZNKHSZ.js} +2 -2
  79. package/dist/cdn/{YYRTXFKJ.js → GZ7P5V6E.js} +2 -2
  80. package/dist/cdn/{6ST76NPJ.js → H4SVCKNS.js} +2 -2
  81. package/dist/cdn/{TJH3I3LD.js → HC7BSBQM.js} +2 -2
  82. package/dist/cdn/{OSQESB3E.js → HGMBFB6Z.js} +2 -2
  83. package/dist/cdn/{SBVMIBUY.js → HQ4YDUBL.js} +2 -2
  84. package/dist/cdn/{JP7EO6BR.js → HRLQAVZY.js} +2 -2
  85. package/dist/cdn/{K44JZRLF.js → HSWLCEUB.js} +2 -2
  86. package/dist/cdn/{PNGCP7KC.js → I3GREGWK.js} +2 -2
  87. package/dist/cdn/{74ZE52UP.js → IDFRUCOW.js} +2 -2
  88. package/dist/cdn/{YSZYWYQW.js → IHGA27IJ.js} +2 -2
  89. package/dist/cdn/{BWF232OP.js → ILNEQOAX.js} +2 -2
  90. package/dist/cdn/{UUW55D6Y.js → IXBFZD2J.js} +2 -2
  91. package/dist/cdn/{SLS4K5UK.js → J2MAFP55.js} +2 -2
  92. package/dist/cdn/{GTDK7IDR.js → JBKTD2BL.js} +2 -2
  93. package/dist/cdn/{DF6EGSHT.js → JBQ4FYUC.js} +2 -2
  94. package/dist/cdn/{OW2XQCBR.js → JHIFJWP3.js} +2 -2
  95. package/dist/cdn/{RIWIFFMV.js → JLOZBX7U.js} +2 -2
  96. package/dist/cdn/{GH57K2DD.js → JQARI4LU.js} +2 -2
  97. package/dist/cdn/{BB23SUT3.js → JTJTGG2E.js} +2 -2
  98. package/dist/cdn/{JNVPCZNK.js → JTUUGWB3.js} +2 -2
  99. package/dist/cdn/{L3BQ5TWO.js → JUHK3HPP.js} +2 -2
  100. package/dist/cdn/{AA43CFU7.js → JWL3SQAO.js} +2 -2
  101. package/dist/cdn/{GNQYXO2A.js → K3EIIQ4F.js} +2 -2
  102. package/dist/cdn/{IQSSKC6N.js → KAFVVLGB.js} +2 -2
  103. package/dist/cdn/{AQ7MA75N.js → KAZFE6FS.js} +2 -2
  104. package/dist/cdn/{XJYGPXHP.js → KQOE3JLD.js} +2 -2
  105. package/dist/cdn/{CQ5PTW3D.js → KUUOANRI.js} +2 -2
  106. package/dist/cdn/{MXTVONY2.js → KYTQG7QD.js} +2 -2
  107. package/dist/cdn/{WGA4QOON.js → L3LNQPT5.js} +2 -2
  108. package/dist/cdn/{CTQ2SXIJ.js → L4DW72EP.js} +2 -2
  109. package/dist/cdn/{DS6NX7MU.js → L7FMUQRV.js} +2 -2
  110. package/dist/cdn/{NDBN3CYG.js → LIURMSOT.js} +2 -2
  111. package/dist/cdn/{UMSXJEYX.js → LIWPG4AG.js} +2 -2
  112. package/dist/cdn/{N6HOODDF.js → LJZ2DQIE.js} +2 -2
  113. package/dist/cdn/{AWJIP5SC.js → LKAPJTOG.js} +2 -2
  114. package/dist/cdn/{NVEWHE6O.js → LKIVCC6M.js} +2 -2
  115. package/dist/cdn/{NHBOJSGE.js → LOXTSCDL.js} +2 -2
  116. package/dist/cdn/{AU4OCCCR.js → MM422GVU.js} +2 -2
  117. package/dist/cdn/{M2KOHO26.js → MOSMBZVF.js} +2 -2
  118. package/dist/cdn/{MGSTGM2O.js → MXF3EMAW.js} +2 -2
  119. package/dist/cdn/{NJP4TOWP.js → N62FLX7R.js} +2 -2
  120. package/dist/cdn/{MQWIEP63.js → NNHNPVPO.js} +2 -2
  121. package/dist/cdn/{RSAVWV6P.js → NWUDV6HP.js} +2 -2
  122. package/dist/cdn/{XC6MMICH.js → NYYYYDVS.js} +2 -2
  123. package/dist/cdn/{AHGMA4MA.js → OSK3YMZH.js} +2 -2
  124. package/dist/cdn/{YWU6XQ2J.js → OSNNEH4D.js} +2 -2
  125. package/dist/cdn/{YKIBACTO.js → OVITXBR5.js} +2 -2
  126. package/dist/cdn/{QNM5RCZY.js → OVPFAZYL.js} +2 -2
  127. package/dist/cdn/{GP6WVWMP.js → OYYHDUAV.js} +2 -2
  128. package/dist/cdn/{NXTIHJ2P.js → P2SJIRS5.js} +2 -2
  129. package/dist/cdn/{H4WARRAC.js → PK6CHSAR.js} +19 -19
  130. package/dist/cdn/{O2NYFQCL.js → PLCJMVJA.js} +2 -2
  131. package/dist/cdn/{CN3THIJA.js → PWNIKZ5G.js} +2 -2
  132. package/dist/cdn/{XREVRW6Y.js → PXGIDPE6.js} +2 -2
  133. package/dist/cdn/{3GSG5A4P.js → PZ3FWVAY.js} +2 -2
  134. package/dist/cdn/{FDYMLFEA.js → Q2XOAXLO.js} +2 -2
  135. package/dist/cdn/{DAYOKYDA.js → Q4PONE7B.js} +2 -2
  136. package/dist/cdn/{WNCAET2Z.js → Q6BVWC65.js} +2 -2
  137. package/dist/cdn/{PXPLGJRU.js → QLDSQ5SE.js} +2 -2
  138. package/dist/cdn/{WLE7CQD4.js → QOIXRFGH.js} +2 -2
  139. package/dist/cdn/{ZYKH466J.js → QUJYXLVB.js} +2 -2
  140. package/dist/cdn/{3X2PUY3Z.js → R73WOWO3.js} +2 -2
  141. package/dist/cdn/{TETD6QHI.js → RSDUCZTJ.js} +2 -2
  142. package/dist/cdn/{ZROF5BBD.js → RUZA3LOU.js} +2 -2
  143. package/dist/cdn/{NS6ESVWF.js → RXJJWENO.js} +2 -2
  144. package/dist/cdn/{F4VY4N6L.js → S25EKTDK.js} +2 -2
  145. package/dist/cdn/{6SPUGQG4.js → SAR2JYEQ.js} +2 -2
  146. package/dist/cdn/{2O3KE45T.js → SGR43NIV.js} +2 -2
  147. package/dist/cdn/{GL7DYCIY.js → SH4427MT.js} +2 -2
  148. package/dist/cdn/{TI3G5ABA.js → SUPQAXXT.js} +2 -2
  149. package/dist/cdn/{IQ4BYS4D.js → T4UBFII4.js} +2 -2
  150. package/dist/cdn/{O7JUKN2Q.js → TAHOEKTQ.js} +2 -2
  151. package/dist/cdn/{XBC6GHB3.js → TUZ5QHO6.js} +2 -2
  152. package/dist/cdn/{PROYNBFN.js → TWAL6Y7B.js} +2 -2
  153. package/dist/cdn/{GRKP7BFO.js → TWI5FHTD.js} +2 -2
  154. package/dist/cdn/{AWCQUNZE.js → UBHQ3YR3.js} +2 -2
  155. package/dist/cdn/{H6BINBNX.js → UOM7XXHF.js} +2 -2
  156. package/dist/cdn/{4CFJ7WM7.js → UR3AVAN7.js} +2 -2
  157. package/dist/cdn/{WOBVOJFL.js → UT3A4ZJC.js} +2 -2
  158. package/dist/cdn/{C5RBVHQK.js → UURXDFYO.js} +2 -2
  159. package/dist/cdn/{5WU5MG6R.js → VQYIB2EB.js} +2 -2
  160. package/dist/cdn/{HTZD3B4O.js → VRIVNPS3.js} +2 -2
  161. package/dist/cdn/{H2RWX3DS.js → W3COIX6T.js} +2 -2
  162. package/dist/cdn/{RK7VELRG.js → WKNULV5Q.js} +2 -2
  163. package/dist/cdn/{YVH4TYHT.js → WNXRUPPO.js} +2 -2
  164. package/dist/cdn/{DL4FPPQS.js → WYIKRWNB.js} +2 -2
  165. package/dist/cdn/{RMREODR3.js → X4ORTVSR.js} +2 -2
  166. package/dist/cdn/{II2R3DSC.js → X57F5GLL.js} +2 -2
  167. package/dist/cdn/{DDPDZAFM.js → XB7XUYRB.js} +1 -1
  168. package/dist/cdn/{RWWWFCKQ.js → XC64VHVS.js} +2 -2
  169. package/dist/cdn/{COYMZGHI.js → Y32VQJRS.js} +2 -2
  170. package/dist/cdn/{FABFSBPK.js → Y3A3TWK7.js} +2 -2
  171. package/dist/cdn/{UAFOQ3XQ.js → YG6QMAG3.js} +2 -2
  172. package/dist/cdn/{Y6FYKIS7.js → YGDD5LIX.js} +2 -2
  173. package/dist/cdn/{M6HSAZI7.js → YKWXE4GN.js} +2 -2
  174. package/dist/cdn/{IOUPMTLG.js → YLNH74LS.js} +2 -2
  175. package/dist/cdn/{GYL522GH.js → YPVB7IJL.js} +2 -2
  176. package/dist/cdn/{IPIB5PCL.js → YTPQ2Z6Q.js} +2 -2
  177. package/dist/cdn/{4RBINONO.js → YUCCGT43.js} +2 -2
  178. package/dist/cdn/{TDILUAGE.js → Z5GCTUOD.js} +2 -2
  179. package/dist/cdn/{JQ3JBBOB.js → Z67YNT7U.js} +2 -2
  180. package/dist/cdn/{K6NSRQ6V.js → ZS33RT6R.js} +2 -2
  181. package/dist/cdn/index.js +2 -2
  182. package/dist/chart-rendering/common/axes/utils/axis-renderer/index.d.ts +18 -0
  183. package/dist/chart-rendering/next/chart-library-elements/axes/utils/axis-renderer/index.d.ts +3 -8
  184. package/dist/chart-rendering/stable/chart-library-elements/axes/utils/axis-renderer/index.d.ts +1 -18
  185. package/dist/chunks/action-bar-utils.js +1 -1
  186. package/dist/chunks/axis-model-wrapper.js +1 -1
  187. package/dist/chunks/bar-chart-model.js +1 -1
  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 +1 -1
  193. package/dist/chunks/box-plot-model.js +1 -1
  194. package/dist/chunks/chart-ui-utils.js +1 -1
  195. package/dist/chunks/chart-ui-utils2.js +1 -1
  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 +1 -1
  199. package/dist/chunks/data.js +1 -1
  200. package/dist/chunks/default.js +1 -1
  201. package/dist/chunks/gauge-model.js +1 -1
  202. package/dist/chunks/heat-chart-model.js +1 -1
  203. package/dist/chunks/histogram-data.js +1 -1
  204. package/dist/chunks/histogram-model.js +1 -1
  205. package/dist/chunks/index.js +338 -338
  206. package/dist/chunks/index2.js +1 -1
  207. package/dist/chunks/index3.js +1 -1
  208. package/dist/chunks/index4.js +1 -1
  209. package/dist/chunks/interfaces.js +1 -1
  210. package/dist/chunks/line-chart-model.js +1 -1
  211. package/dist/chunks/model-with-baseline-stacking.js +1 -1
  212. package/dist/chunks/model-with-data-labels.js +1 -1
  213. package/dist/chunks/model-with-multi-axes.js +1 -1
  214. package/dist/chunks/model-with-rotation.js +1 -1
  215. package/dist/chunks/pie-chart-data.js +1 -1
  216. package/dist/chunks/pie-chart-model.js +1 -1
  217. package/dist/chunks/popover-ui-utils.js +1 -1
  218. package/dist/chunks/radar-chart-model.js +1 -1
  219. package/dist/chunks/resource.js +1 -1
  220. package/dist/chunks/rest-js-object-literals.js +1 -1
  221. package/dist/chunks/runtime.js +1 -1
  222. package/dist/chunks/scatterplot-model.js +1 -1
  223. package/dist/chunks/serial-chart-data.js +1 -1
  224. package/dist/chunks/serial-chart-model.js +1 -1
  225. package/dist/chunks/series-types.js +1 -1
  226. package/dist/chunks/series.js +1 -1
  227. package/dist/chunks/sk_SK.js +1 -1
  228. package/dist/chunks/store.js +1 -1
  229. package/dist/chunks/type-guards.js +1 -1
  230. package/dist/chunks/useT9n.js +1 -1
  231. package/dist/chunks/web-component-utils.js +1 -1
  232. package/dist/components/arcgis-chart/customElement.js +615 -616
  233. package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
  234. package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
  235. package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
  236. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  237. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
  238. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
  239. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
  240. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
  241. package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
  242. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
  243. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
  244. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
  245. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
  246. package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
  247. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
  248. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  249. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  250. package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
  251. package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
  252. package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
  253. package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
  254. package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
  255. package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
  256. package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
  257. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
  258. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  259. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
  260. package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
  261. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
  262. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
  263. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
  264. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  265. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
  266. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
  267. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
  268. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
  269. package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
  270. package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
  271. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
  272. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
  273. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
  274. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
  275. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
  276. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
  277. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
  278. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
  279. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
  280. package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
  281. package/dist/docs/api.json +2 -2
  282. package/dist/docs/docs.json +2 -2
  283. package/dist/docs/web-types.json +1 -1
  284. package/dist/index.js +1 -1
  285. package/dist/loader.js +1 -1
  286. package/dist/model.js +1 -1
  287. package/dist/utils/data/index.d.ts +2 -1
  288. package/package.json +3 -3
@@ -30,7 +30,7 @@ import Zl from "ajv";
30
30
  import { unsafeGetElementDirection as Jl } from "@arcgis/toolkit/dom";
31
31
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
32
32
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
33
- v5.0.0-next.51 */
33
+ v5.0.0-next.53 */
34
34
  const dt = "24.5.0", Ce = "arcgis_charts_pie_from_fields_name", ze = "arcgis_charts_pie_from_fields_value", Yl = "arcgis_charts_bar_line_from_fields_name", Kl = "arcgis_charts_bar_line_from_fields_value", it = {
35
35
  Mean: "Mean",
36
36
  Median: "Median",
@@ -3422,10 +3422,10 @@ function Ec(t) {
3422
3422
  return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&");
3423
3423
  }
3424
3424
  function $c(t, e) {
3425
- const i = Ve(e), r = Ve(e, "{2}"), n = Ve(e, "{3}"), s = Ve(e, "{4}"), a = Ve(e, "{6}"), o = Ve(e, "{1,2}"), l = Ve(e, "{1,3}"), d = Ve(e, "{1,6}"), c = Ve(e, "{1,9}"), u = Ve(e, "{2,4}"), p = Ve(e, "{4,6}"), f = (b) => ({ regex: RegExp(Ec(b.val)), deser: ([v]) => v, literal: !0 }), m = ((b) => {
3425
+ const i = Ve(e), r = Ve(e, "{2}"), n = Ve(e, "{3}"), s = Ve(e, "{4}"), a = Ve(e, "{6}"), o = Ve(e, "{1,2}"), l = Ve(e, "{1,3}"), d = Ve(e, "{1,6}"), c = Ve(e, "{1,9}"), u = Ve(e, "{2,4}"), p = Ve(e, "{4,6}"), f = (g) => ({ regex: RegExp(Ec(g.val)), deser: ([v]) => v, literal: !0 }), m = ((g) => {
3426
3426
  if (t.literal)
3427
- return f(b);
3428
- switch (b.val) {
3427
+ return f(g);
3428
+ switch (g.val) {
3429
3429
  // era
3430
3430
  case "G":
3431
3431
  return je(e.eras("short"), 0);
@@ -3540,7 +3540,7 @@ function $c(t, e) {
3540
3540
  case " ":
3541
3541
  return Ui(/[^\S\n\r]/);
3542
3542
  default:
3543
- return f(b);
3543
+ return f(g);
3544
3544
  }
3545
3545
  })(t) || {
3546
3546
  invalidReason: Pc
@@ -4152,10 +4152,10 @@ class k {
4152
4152
  if (p && c)
4153
4153
  throw new Kt("Can't mix ordinal dates with month/day");
4154
4154
  const m = h || s.weekday && !f;
4155
- let b, v, S = Gi(l, d);
4156
- m ? (b = Qc, v = Gc, S = dr(S, a, o)) : c ? (b = Zc, v = Hc, S = kr(S)) : (b = ir, v = qa);
4155
+ let g, v, S = Gi(l, d);
4156
+ m ? (g = Qc, v = Gc, S = dr(S, a, o)) : c ? (g = Zc, v = Hc, S = kr(S)) : (g = ir, v = qa);
4157
4157
  let w = !1;
4158
- for (const N of b) {
4158
+ for (const N of g) {
4159
4159
  const A = s[N];
4160
4160
  R(A) ? w ? s[N] = v[N] : s[N] = S[N] : w = !0;
4161
4161
  }
@@ -7283,11 +7283,11 @@ function Tg(t) {
7283
7283
  }).filter((d) => d !== void 0), n;
7284
7284
  }
7285
7285
  function on(t) {
7286
- return t !== g.PieNoAggregation && t !== g.BarAndLineNoAggregation && t !== g.BarAndLineSplitByNoAggregation;
7286
+ return t !== b.PieNoAggregation && t !== b.BarAndLineNoAggregation && t !== b.BarAndLineSplitByNoAggregation;
7287
7287
  }
7288
7288
  function Wu(t) {
7289
7289
  const e = q(t.series);
7290
- return e === g.BarAndLineFromFields || e === g.PieFromFields || e === g.BoxPlotMonoField || e === g.BoxPlotMultiFields || e === g.BoxPlotMonoFieldAndSplitBy || e === g.BoxPlotMultiFieldsAndSplitBy;
7290
+ return e === b.BarAndLineFromFields || e === b.PieFromFields || e === b.BoxPlotMonoField || e === b.BoxPlotMultiFields || e === b.BoxPlotMonoFieldAndSplitBy || e === b.BoxPlotMultiFieldsAndSplitBy;
7291
7291
  }
7292
7292
  function Fi(t) {
7293
7293
  return t && "showMean" in t && typeof t.showMean == "boolean" ? t.showMean : !1;
@@ -7313,19 +7313,19 @@ function Ag(t) {
7313
7313
  }), c = Z(i)?.renderer;
7314
7314
  switch (c?.type) {
7315
7315
  case ve.Simple:
7316
- r = s === y.HistogramSeries || s === y.ScatterSeries || a === g.BarAndLineMonoField || a === g.BoxPlotMonoField || a === g.BoxPlotMultiFields || a === g.BoxPlotMonoFieldAndCategory || a === g.BarAndLineNoAggregation && n.length === 1 && !l;
7316
+ r = s === y.HistogramSeries || s === y.ScatterSeries || a === b.BarAndLineMonoField || a === b.BoxPlotMonoField || a === b.BoxPlotMultiFields || a === b.BoxPlotMonoFieldAndCategory || a === b.BarAndLineNoAggregation && n.length === 1 && !l;
7317
7317
  break;
7318
7318
  case ve.UniqueValue:
7319
7319
  {
7320
7320
  const p = c?.field, f = ge(o.query?.where), { x: h } = o;
7321
- r = (a === g.BoxPlotMonoFieldAndSplitBy || a === g.BoxPlotMultiFieldsAndSplitBy || a === g.BoxPlotMonoFieldAndCategoryAndSplitBy || a === g.BarAndLineSplitByNoAggregation || a === g.BarAndLineSplitBy) && p === f || (a === g.BoxPlotMonoFieldAndCategory || a === g.PieFromCategory || a === g.BarAndLineMonoField) && p === h || a === g.BarAndLineNoAggregation || a === g.PieNoAggregation || s === y.ScatterSeries;
7321
+ r = (a === b.BoxPlotMonoFieldAndSplitBy || a === b.BoxPlotMultiFieldsAndSplitBy || a === b.BoxPlotMonoFieldAndCategoryAndSplitBy || a === b.BarAndLineSplitByNoAggregation || a === b.BarAndLineSplitBy) && p === f || (a === b.BoxPlotMonoFieldAndCategory || a === b.PieFromCategory || a === b.BarAndLineMonoField) && p === h || a === b.BarAndLineNoAggregation || a === b.PieNoAggregation || s === y.ScatterSeries;
7322
7322
  }
7323
7323
  break;
7324
7324
  case ve.PieChart:
7325
- r = a === g.PieFromFields || a === g.BarAndLineFromFields || a === g.BarAndLineMultiFields || a === g.BarAndLineMonoField || a === g.BoxPlotMonoField || a === g.BoxPlotMultiFields || a === g.BoxPlotMonoFieldAndCategory || a === g.BoxPlotMultiFieldsAndCategory;
7325
+ r = a === b.PieFromFields || a === b.BarAndLineFromFields || a === b.BarAndLineMultiFields || a === b.BarAndLineMonoField || a === b.BoxPlotMonoField || a === b.BoxPlotMultiFields || a === b.BoxPlotMonoFieldAndCategory || a === b.BoxPlotMultiFieldsAndCategory;
7326
7326
  break;
7327
7327
  case ve.ClassBreaks:
7328
- r = s === y.HeatSeries || s === y.ScatterSeries || a === g.BarAndLineNoAggregation || a === g.PieNoAggregation;
7328
+ r = s === y.HeatSeries || s === y.ScatterSeries || a === b.BarAndLineNoAggregation || a === b.PieNoAggregation;
7329
7329
  break;
7330
7330
  case ve.Dictionary:
7331
7331
  case ve.DotDensity:
@@ -7374,32 +7374,32 @@ function Uu(t) {
7374
7374
  const { color: f, label: h } = u;
7375
7375
  let m;
7376
7376
  Array.isArray(f) && f?.length === 4 ? m = f : f && "toRgba" in f && (m = f.toRgba());
7377
- let b = !1, v = !0;
7377
+ let g = !1, v = !0;
7378
7378
  switch (l) {
7379
7379
  case y.BarSeries:
7380
7380
  case y.LineSeries:
7381
7381
  case y.ComboLineAndBarSeries:
7382
7382
  case y.RadarSeries:
7383
- if (r !== g.BarAndLineFromFields) {
7383
+ if (r !== b.BarAndLineFromFields) {
7384
7384
  const S = i.find((w) => w.query?.outStatistics?.[0]?.onStatisticField === p);
7385
7385
  S !== void 0 && "y" in S ? p = [S.y].flat()[0] : p = "";
7386
7386
  }
7387
- b = r !== g.BarAndLineFromFields || p === n[x.originalCategoryValue];
7387
+ g = r !== b.BarAndLineFromFields || p === n[x.originalCategoryValue];
7388
7388
  break;
7389
7389
  case y.PieSeries:
7390
- b = r === g.PieFromFields && p === n[x.originalCategoryValue];
7390
+ g = r === b.PieFromFields && p === n[x.originalCategoryValue];
7391
7391
  break;
7392
7392
  case y.BoxPlotSeries:
7393
- r === g.BoxPlotMonoField || r === g.BoxPlotMonoFieldAndCategory ? b = p === i[0].y : p && (r === g.BoxPlotMultiFields || r === g.BoxPlotMultiFieldsAndCategory) && (b = i.map((w) => w.y).flat().includes(p)), v = !1;
7393
+ r === b.BoxPlotMonoField || r === b.BoxPlotMonoFieldAndCategory ? g = p === i[0].y : p && (r === b.BoxPlotMultiFields || r === b.BoxPlotMultiFieldsAndCategory) && (g = i.map((w) => w.y).flat().includes(p)), v = !1;
7394
7394
  break;
7395
7395
  }
7396
- b && m && (a = {
7396
+ g && m && (a = {
7397
7397
  type: ie.SMS,
7398
7398
  color: m,
7399
7399
  label: v && h ? h : void 0
7400
7400
  }, d != null && (a.outline = d), Ua({
7401
7401
  dataItem: n,
7402
- symbolField: r === g.BarAndLineFromFields || r === g.PieFromFields ? x.rendererSymbolField : `${x.rendererSymbolField}_${p}`,
7402
+ symbolField: r === b.BarAndLineFromFields || r === b.PieFromFields ? x.rendererSymbolField : `${x.rendererSymbolField}_${p}`,
7403
7403
  rendererSymbol: a,
7404
7404
  rendererOrigin: s
7405
7405
  }) && (o = !0));
@@ -7416,18 +7416,18 @@ function Gu(t) {
7416
7416
  keepSurroundingQuotes: !1,
7417
7417
  escape: !1
7418
7418
  });
7419
- a === null ? s = x.nullValue : i === g.BarAndLineSplitBy && typeof e.y == "string" ? s = e.y : i === g.BarAndLineSplitByNoAggregation && typeof e.y == "string" ? s = `${e.y}_${a}` : s = `${a}`;
7419
+ a === null ? s = x.nullValue : i === b.BarAndLineSplitBy && typeof e.y == "string" ? s = e.y : i === b.BarAndLineSplitByNoAggregation && typeof e.y == "string" ? s = `${e.y}_${a}` : s = `${a}`;
7420
7420
  }
7421
7421
  } else if (r === ve.PieChart)
7422
7422
  switch (i) {
7423
- case g.BoxPlotMultiFields:
7423
+ case b.BoxPlotMultiFields:
7424
7424
  s = Array.isArray(e.y) ? e.y.flat() : e.y;
7425
7425
  break;
7426
- case g.BarAndLineMonoField:
7427
- case g.BarAndLineMultiFields:
7428
- case g.BoxPlotMonoField:
7429
- case g.BoxPlotMonoFieldAndCategory:
7430
- case g.BoxPlotMultiFieldsAndCategory:
7426
+ case b.BarAndLineMonoField:
7427
+ case b.BarAndLineMultiFields:
7428
+ case b.BoxPlotMonoField:
7429
+ case b.BoxPlotMonoFieldAndCategory:
7430
+ case b.BoxPlotMultiFieldsAndCategory:
7431
7431
  s = e.y;
7432
7432
  break;
7433
7433
  }
@@ -7480,7 +7480,7 @@ async function Qu(t) {
7480
7480
  const { x: f } = e[0], h = /* @__PURE__ */ new Map();
7481
7481
  o && o.trim() !== "" ? e.forEach((m) => {
7482
7482
  if (m.type === y.BarSeries || m.type === y.LineSeries || m.type === y.BoxPlotSeries || m.type === y.RadarSeries) {
7483
- const b = Ga({
7483
+ const g = Ga({
7484
7484
  seriesConfig: m,
7485
7485
  chartSubType: a,
7486
7486
  rendererType: n,
@@ -7491,7 +7491,7 @@ async function Qu(t) {
7491
7491
  keepSurroundingQuotes: !1,
7492
7492
  escape: !1
7493
7493
  });
7494
- h.set(b, {
7494
+ h.set(g, {
7495
7495
  ...i,
7496
7496
  [o]: v
7497
7497
  });
@@ -7503,8 +7503,8 @@ async function Qu(t) {
7503
7503
  [f]: ep(i)
7504
7504
  });
7505
7505
  try {
7506
- const m = Array.from(h.entries()), b = l.clone();
7507
- b.layer = l.layer;
7506
+ const m = Array.from(h.entries()), g = l.clone();
7507
+ g.layer = l.layer;
7508
7508
  const v = r?.uniqueValueInfos;
7509
7509
  for (let S = 0; S < m.length; S += 1) {
7510
7510
  const [w, C] = m[S];
@@ -7515,12 +7515,12 @@ async function Qu(t) {
7515
7515
  attributes: C
7516
7516
  }), d && d.length > 0 && Object.keys(C).forEach((T) => {
7517
7517
  d.includes(T) || delete C[T];
7518
- }), b.attributes = C, c?.has(JSON.stringify(C)))
7518
+ }), g.attributes = C, c?.has(JSON.stringify(C)))
7519
7519
  u = c.get(JSON.stringify(C));
7520
7520
  else {
7521
- if (u = (await Br.getDisplayedSymbol(b))?.toJSON(), u != null) {
7522
- u.color === void 0 && (u.color = (await Br.getDisplayedColor(b))?.toJSON());
7523
- const T = await Br.getLegendLabel(b);
7521
+ if (u = (await Br.getDisplayedSymbol(g))?.toJSON(), u != null) {
7522
+ u.color === void 0 && (u.color = (await Br.getDisplayedColor(g))?.toJSON());
7523
+ const T = await Br.getLegendLabel(g);
7524
7524
  T != null && T !== "" && (u.label = T, u.uniqueValue = v?.find((O) => O.label === T)?.value ?? void 0);
7525
7525
  }
7526
7526
  c?.set(JSON.stringify(C), u);
@@ -7565,7 +7565,7 @@ async function Lg(t) {
7565
7565
  const h = ju(d, u?.renderer), m = Hu({
7566
7566
  chartRenderer: l,
7567
7567
  queryObject: i
7568
- }), b = q(o), v = At(r), S = ge(v.query?.where);
7568
+ }), g = q(o), v = At(r), S = ge(v.query?.where);
7569
7569
  f = /* @__PURE__ */ new Map();
7570
7570
  for (let w = 0; w < e.length; w += 1) {
7571
7571
  const C = e[w], F = await Qu({
@@ -7574,7 +7574,7 @@ async function Lg(t) {
7574
7574
  renderer: p,
7575
7575
  rendererType: h,
7576
7576
  rendererOrigin: c,
7577
- chartSubType: b,
7577
+ chartSubType: g,
7578
7578
  splitByField: S,
7579
7579
  graphicTemplate: m,
7580
7580
  mapAttributesToSymbol: f,
@@ -7720,7 +7720,7 @@ function tp(t) {
7720
7720
  }
7721
7721
  function ip(t, e) {
7722
7722
  const i = t;
7723
- if (e?.[0] !== void 0 && q(e) === g.PieFromFields) {
7723
+ if (e?.[0] !== void 0 && q(e) === b.PieFromFields) {
7724
7724
  const { x: r, y: n } = e[0];
7725
7725
  (bn(t) ? i : i.dataItems).forEach((o) => (Ce in o && r !== Ce && (o[r] = o[r] !== void 0 ? o[r] : o[Ce], delete o[Ce]), ze in o && n !== ze && (o[n] = o[n] !== void 0 ? o[n] : o[ze], delete o[ze]), o));
7726
7726
  }
@@ -7798,12 +7798,12 @@ function sp(t) {
7798
7798
  const i = V(t.series);
7799
7799
  if (i === y.BarSeries || i === y.LineSeries || i === y.ComboLineAndBarSeries) {
7800
7800
  const r = q(t.series);
7801
- e = r !== g.BarAndLineNoAggregation && r !== g.BarAndLineSplitByNoAggregation;
7801
+ e = r !== b.BarAndLineNoAggregation && r !== b.BarAndLineSplitByNoAggregation;
7802
7802
  }
7803
7803
  return e;
7804
7804
  }
7805
7805
  function ap(t) {
7806
- return q(t.series) !== g.PieNoAggregation;
7806
+ return q(t.series) !== b.PieNoAggregation;
7807
7807
  }
7808
7808
  function op(t) {
7809
7809
  const { dataContext: e, chartConfig: i, chartLimits: r } = t;
@@ -7891,7 +7891,7 @@ function Za(t, e) {
7891
7891
  maxLineThreePlusSeriesCountPerSeries: f,
7892
7892
  maxLineThreePlusSeriesCountTotal: h,
7893
7893
  maxPieChartSliceCountTotal: m,
7894
- maxGaugeByFeaturesLimit: b
7894
+ maxGaugeByFeaturesLimit: g
7895
7895
  } = Wt(e), v = V(t.series), S = t.series.length === 0 ? 1 : t.series.length, w = q(t.series);
7896
7896
  switch (v) {
7897
7897
  case y.ComboLineAndBarSeries:
@@ -7921,7 +7921,7 @@ function Za(t, e) {
7921
7921
  i = m;
7922
7922
  break;
7923
7923
  case y.GaugeSeries:
7924
- i = b;
7924
+ i = g;
7925
7925
  break;
7926
7926
  case y.ScatterSeries:
7927
7927
  // handled through the aggregation feature
@@ -7929,7 +7929,7 @@ function Za(t, e) {
7929
7929
  // handled through the number of bins
7930
7930
  case y.BoxPlotSeries:
7931
7931
  }
7932
- return (w === g.BarAndLineNoAggregation || w === g.BarAndLineMultiFields) && i !== void 0 && (i = Math.ceil(i / S)), i;
7932
+ return (w === b.BarAndLineNoAggregation || w === b.BarAndLineMultiFields) && i !== void 0 && (i = Math.ceil(i / S)), i;
7933
7933
  }
7934
7934
  function Cs(t, e) {
7935
7935
  let i = t;
@@ -8092,12 +8092,12 @@ Ya.prototype.process = function(t) {
8092
8092
  isWhite: h
8093
8093
  };
8094
8094
  if (h) {
8095
- var b = n(c, u, m);
8096
- return Fs(b) ? c + ":" + u : b;
8095
+ var g = n(c, u, m);
8096
+ return Fs(g) ? c + ":" + u : g;
8097
8097
  } else {
8098
- var b = s(c, u, m);
8099
- if (!Fs(b))
8100
- return b;
8098
+ var g = s(c, u, m);
8099
+ if (!Fs(g))
8100
+ return g;
8101
8101
  }
8102
8102
  }
8103
8103
  });
@@ -8520,24 +8520,24 @@ co.prototype.process = function(t) {
8520
8520
  ), s = u.onIgnoreTag);
8521
8521
  var p = Zp(
8522
8522
  t,
8523
- function(f, h, m, b, v) {
8523
+ function(f, h, m, g, v) {
8524
8524
  var S = {
8525
8525
  sourcePosition: f,
8526
8526
  position: h,
8527
8527
  isClosing: v,
8528
8528
  isWhite: Object.prototype.hasOwnProperty.call(r, m)
8529
- }, w = n(m, b, S);
8529
+ }, w = n(m, g, S);
8530
8530
  if (!Xi(w)) return w;
8531
8531
  if (S.isWhite) {
8532
8532
  if (S.isClosing)
8533
8533
  return "</" + m + ">";
8534
- var C = Yp(b), F = r[m], T = Jp(C.html, function(O, L) {
8534
+ var C = Yp(g), F = r[m], T = Jp(C.html, function(O, L) {
8535
8535
  var B = sr.indexOf(F, O) !== -1, N = a(m, O, L, B);
8536
8536
  return Xi(N) ? B ? (L = l(m, O, L, c), L ? O + '="' + L + '"' : O) : (N = o(m, O, L, B), Xi(N) ? void 0 : N) : N;
8537
8537
  });
8538
- return b = "<" + m, T && (b += " " + T), C.closing && (b += " /"), b += ">", b;
8538
+ return g = "<" + m, T && (g += " " + T), C.closing && (g += " /"), g += ">", g;
8539
8539
  } else
8540
- return w = s(m, b, S), Xi(w) ? d(b) : w;
8540
+ return w = s(m, g, S), Xi(w) ? d(g) : w;
8541
8541
  },
8542
8542
  d
8543
8543
  );
@@ -8787,7 +8787,7 @@ var Jt = ln.exports, tf = function(t) {
8787
8787
  }, t;
8788
8788
  }()
8789
8789
  );
8790
- const g = {
8790
+ const b = {
8791
8791
  // chart with no specific subtype
8792
8792
  NonSpecific: "nonSpecific",
8793
8793
  // non aggregated bar/line chart
@@ -8891,7 +8891,7 @@ function nt(t) {
8891
8891
  maxLineChartSeriesCount: f,
8892
8892
  maxLineUniqueSeriesCountTotal: h,
8893
8893
  maxLineTwoSeriesCountPerSeries: m,
8894
- maxLineTwoSeriesCountTotal: b,
8894
+ maxLineTwoSeriesCountTotal: g,
8895
8895
  maxLineThreePlusSeriesCountPerSeries: v,
8896
8896
  maxLineThreePlusSeriesCountTotal: S,
8897
8897
  maxPieChartSliceCountTotal: w,
@@ -8916,7 +8916,7 @@ function nt(t) {
8916
8916
  case y.RadarSeries:
8917
8917
  {
8918
8918
  const $ = e / i;
8919
- i <= f ? i === 0 ? a = !0 : i === 1 ? a = e <= h : i === 2 ? a = e <= b && $ <= m : i > 2 && (a = e <= S && $ <= v) : a = !1;
8919
+ i <= f ? i === 0 ? a = !0 : i === 1 ? a = e <= h : i === 2 ? a = e <= g && $ <= m : i > 2 && (a = e <= S && $ <= v) : a = !1;
8920
8920
  }
8921
8921
  break;
8922
8922
  case y.PieSeries:
@@ -9102,7 +9102,7 @@ function lf(t) {
9102
9102
  return t.orderOptions?.orderByFields?.map((e) => of(e).fieldToSort) ?? [];
9103
9103
  }
9104
9104
  function mo(t) {
9105
- return t === g.BarAndLineSplitBy || t === g.BarAndLineSplitByNoAggregation || t === g.BoxPlotMonoFieldAndSplitBy || t === g.BoxPlotMultiFieldsAndSplitBy || t === g.BoxPlotMonoFieldAndCategoryAndSplitBy;
9105
+ return t === b.BarAndLineSplitBy || t === b.BarAndLineSplitByNoAggregation || t === b.BoxPlotMonoFieldAndSplitBy || t === b.BoxPlotMultiFieldsAndSplitBy || t === b.BoxPlotMonoFieldAndCategoryAndSplitBy;
9106
9106
  }
9107
9107
  function Vg(t, e) {
9108
9108
  let { selectionItems: i } = t ?? {};
@@ -9166,7 +9166,7 @@ function df(t) {
9166
9166
  r = t.series[0].x;
9167
9167
  else {
9168
9168
  r === Ae.Mean ? r = M.Average : r === Ae.Median && (r = M.Median);
9169
- const s = e === g.BoxPlotMultiFieldsAndCategory && typeof t.series[0].y == "string" ? t.series[0].y : void 0, a = ge(t.series[0].query?.where), o = Ie({
9169
+ const s = e === b.BoxPlotMultiFieldsAndCategory && typeof t.series[0].y == "string" ? t.series[0].y : void 0, a = ge(t.series[0].query?.where), o = Ie({
9170
9170
  where: t.series[0].query?.where
9171
9171
  });
9172
9172
  r = he({
@@ -9197,7 +9197,7 @@ function cf(t) {
9197
9197
  return e;
9198
9198
  }
9199
9199
  function uf(t) {
9200
- const e = t.series[0], { x: i, y: r } = e, n = q(t.series) === g.PieFromFields, s = q(t.series) === g.BarAndLineFromFields;
9200
+ const e = t.series[0], { x: i, y: r } = e, n = q(t.series) === b.PieFromFields, s = q(t.series) === b.BarAndLineFromFields;
9201
9201
  let a, o = "", l;
9202
9202
  if (t.orderOptions?.data !== void 0) {
9203
9203
  if (o = t.orderOptions?.data?.orderType ?? Ae.Category, l = t.orderOptions?.data?.orderBy, o === Ae.Category ? o = n ? Ce : i : o = n ? ze : [r].flat()[0], o !== void 0 && o !== "") {
@@ -9249,7 +9249,7 @@ function pn(t) {
9249
9249
  function Hg(t) {
9250
9250
  const { oldConfig: e, newConfig: i, dataWasUpdated: r } = t, n = q(i.series);
9251
9251
  let s = !1, a = !1;
9252
- if (n !== g.BoxPlotMonoField && n !== g.BoxPlotMonoFieldAndSplitBy && i.orderOptions?.data !== void 0) {
9252
+ if (n !== b.BoxPlotMonoField && n !== b.BoxPlotMonoFieldAndSplitBy && i.orderOptions?.data !== void 0) {
9253
9253
  const o = pn(e), l = pn(i);
9254
9254
  a = e.orderOptions?.data?.orderType !== i.orderOptions?.data?.orderType || o?.sortingField !== l?.sortingField || o?.orderBy !== l?.orderBy || (o?.preferLabel ?? !0) !== (l?.preferLabel ?? !0), s = a || r;
9255
9255
  }
@@ -9482,8 +9482,8 @@ function Dn(t) {
9482
9482
  splitByValue: n
9483
9483
  }), m = e[h];
9484
9484
  if (m != null) {
9485
- let b = Number(m);
9486
- if (Number.isFinite(b)) {
9485
+ let g = Number(m);
9486
+ if (Number.isFinite(g)) {
9487
9487
  l = {
9488
9488
  ...l,
9489
9489
  key: f,
@@ -9491,7 +9491,7 @@ function Dn(t) {
9491
9491
  standardizeValues: !0
9492
9492
  };
9493
9493
  let v = he(l);
9494
- if (o[v] = fn({ mean: u, stdDev: p, value: b }), f === M.Min || f === M.Max) {
9494
+ if (o[v] = fn({ mean: u, stdDev: p, value: g }), f === M.Min || f === M.Max) {
9495
9495
  l = {
9496
9496
  ...l,
9497
9497
  key: f,
@@ -9503,10 +9503,10 @@ function Dn(t) {
9503
9503
  splitByValue: n
9504
9504
  };
9505
9505
  const S = he(l);
9506
- b = Number(e[S]), Number.isFinite(b) && (o[v] = fn({
9506
+ g = Number(e[S]), Number.isFinite(g) && (o[v] = fn({
9507
9507
  mean: u,
9508
9508
  stdDev: p,
9509
- value: b
9509
+ value: g
9510
9510
  }));
9511
9511
  }
9512
9512
  }
@@ -9520,7 +9520,7 @@ function hf(t) {
9520
9520
  Object.keys(n).forEach((d) => {
9521
9521
  d.startsWith(o) ? l[d.replace(`${o}_`, "")] = n[d] : d.includes(x.rendererSymbolField) && (l[d] = n[d]), l[x.boxPlot.boxPlotCategory] = o, r && (l = Dn({
9522
9522
  dataItem: l,
9523
- chartSubType: g.BoxPlotMultiFields
9523
+ chartSubType: b.BoxPlotMultiFields
9524
9524
  }));
9525
9525
  }), s.set(o, l);
9526
9526
  }), Array.from(s.values());
@@ -9548,7 +9548,7 @@ function mf(t) {
9548
9548
  p.startsWith(`${c}_`) ? u[`${d}_${p.replace(`${c}_`, "")}`] = f : p.includes(x.rendererSymbolField) ? u[`${p}_${d}`] = f : p === x.boxPlot.boxPlotMeanLineMarkerId && (u[p] = l[p]);
9549
9549
  }), n && (u = Dn({
9550
9550
  dataItem: u,
9551
- chartSubType: g.BoxPlotMultiFieldsAndSplitBy,
9551
+ chartSubType: b.BoxPlotMultiFieldsAndSplitBy,
9552
9552
  splitByValue: d,
9553
9553
  meanPerField: s?.[ai(c, I.Average)],
9554
9554
  stdDevPerField: s?.[ai(c, I.StandardDeviation)]
@@ -9565,7 +9565,7 @@ function gf(t) {
9565
9565
  i.forEach((o) => {
9566
9566
  Dn({
9567
9567
  dataItem: a,
9568
- chartSubType: g.BoxPlotMultiFieldsAndCategory,
9568
+ chartSubType: b.BoxPlotMultiFieldsAndCategory,
9569
9569
  y: o,
9570
9570
  meanPerField: n?.[ai(o, I.Average)],
9571
9571
  stdDevPerField: n?.[ai(o, I.StandardDeviation)]
@@ -9594,7 +9594,7 @@ function bf(t) {
9594
9594
  }
9595
9595
  function Sf(t, e) {
9596
9596
  const { series: i } = t, r = i[0], { y: n } = r, s = q(t.series), a = {
9597
- y: s === g.BoxPlotMultiFieldsAndCategory ? n : void 0,
9597
+ y: s === b.BoxPlotMultiFieldsAndCategory ? n : void 0,
9598
9598
  chartSubType: s
9599
9599
  }, o = t.series.map((l) => {
9600
9600
  let d = Ie({
@@ -9649,22 +9649,22 @@ function Os(t) {
9649
9649
  return l === "outliers" && o !== a ? u = `(${e}<${o} OR ${e}>${a})` : l === "alternativeData" && (o === a ? u = `(${e}=${o})` : u = `(${e}>=${o} AND ${e}<=${a})`), [d, c, u].filter((f) => f !== void 0).join(" AND ");
9650
9650
  }
9651
9651
  function bo(t) {
9652
- const { data: e, yField: i, x: r, chartSubType: n, splitByField: s } = t, a = n === g.BoxPlotMonoField || n === g.BoxPlotMonoFieldAndCategory || n === g.BoxPlotMonoFieldAndSplitBy || n === g.BoxPlotMonoFieldAndCategoryAndSplitBy ? void 0 : i, o = ii(a), l = [], d = [], { maxOperandsPerWhereClause: c } = ki();
9652
+ const { data: e, yField: i, x: r, chartSubType: n, splitByField: s } = t, a = n === b.BoxPlotMonoField || n === b.BoxPlotMonoFieldAndCategory || n === b.BoxPlotMonoFieldAndSplitBy || n === b.BoxPlotMonoFieldAndCategoryAndSplitBy ? void 0 : i, o = ii(a), l = [], d = [], { maxOperandsPerWhereClause: c } = ki();
9653
9653
  let u = [], p = [], f = 1;
9654
9654
  return e.forEach((h, m) => {
9655
- const { outlierMinThreshold: b, outlierMaxThreshold: v } = vf(h, o);
9656
- if (typeof b == "number" && typeof v == "number") {
9655
+ const { outlierMinThreshold: g, outlierMaxThreshold: v } = vf(h, o);
9656
+ if (typeof g == "number" && typeof v == "number") {
9657
9657
  const S = {
9658
9658
  yField: i,
9659
- outlierMinThreshold: b,
9659
+ outlierMinThreshold: g,
9660
9660
  outlierMaxThreshold: v
9661
9661
  };
9662
- (n === g.BoxPlotMonoFieldAndCategory || n === g.BoxPlotMultiFieldsAndCategory || n === g.BoxPlotMonoFieldAndCategoryAndSplitBy) && r !== void 0 && r in h && (S.xField = r, S.xValue = Ti({
9662
+ (n === b.BoxPlotMonoFieldAndCategory || n === b.BoxPlotMultiFieldsAndCategory || n === b.BoxPlotMonoFieldAndCategoryAndSplitBy) && r !== void 0 && r in h && (S.xField = r, S.xValue = Ti({
9663
9663
  value: h[r],
9664
9664
  dataContext: h,
9665
9665
  keepNullValues: !0,
9666
9666
  specificField: x.typeOrDomainIdValue
9667
- })), (n === g.BoxPlotMonoFieldAndSplitBy || n === g.BoxPlotMultiFieldsAndSplitBy || n === g.BoxPlotMonoFieldAndCategoryAndSplitBy) && s !== void 0 && s in h && (S.splitByField = s, S.splitByValue = h[s]), u.push(Os({ ...S, target: "outliers" })), p.push(Os({ ...S, target: "alternativeData" })), (f % c === 0 || m === e.length - 1) && (l.push(K(u, "OR")), d.push(K(p, "OR")), u = [], p = []);
9667
+ })), (n === b.BoxPlotMonoFieldAndSplitBy || n === b.BoxPlotMultiFieldsAndSplitBy || n === b.BoxPlotMonoFieldAndCategoryAndSplitBy) && s !== void 0 && s in h && (S.splitByField = s, S.splitByValue = h[s]), u.push(Os({ ...S, target: "outliers" })), p.push(Os({ ...S, target: "alternativeData" })), (f % c === 0 || m === e.length - 1) && (l.push(K(u, "OR")), d.push(K(p, "OR")), u = [], p = []);
9668
9668
  }
9669
9669
  f += 1;
9670
9670
  }), { outliersFilterBatches: l, dataWithoutOutliersFilterBatches: d };
@@ -9674,12 +9674,12 @@ function wf(t) {
9674
9674
  let l = a?.[ai(s, I.Average)], d = a?.[ai(s, I.StandardDeviation)];
9675
9675
  if (l === void 0 && d === void 0)
9676
9676
  switch (r) {
9677
- case g.BoxPlotMultiFields: {
9677
+ case b.BoxPlotMultiFields: {
9678
9678
  const c = ii(s), u = e[0];
9679
9679
  l = Number(u[c[M.Average]]), d = Number(u[c[M.StandardDeviation]]);
9680
9680
  break;
9681
9681
  }
9682
- case g.BoxPlotMultiFieldsAndCategory: {
9682
+ case b.BoxPlotMultiFieldsAndCategory: {
9683
9683
  const c = e.find((u) => u[n] === i[n]);
9684
9684
  if (c !== void 0) {
9685
9685
  const u = ii(s);
@@ -9687,7 +9687,7 @@ function wf(t) {
9687
9687
  }
9688
9688
  break;
9689
9689
  }
9690
- case g.BoxPlotMultiFieldsAndSplitBy: {
9690
+ case b.BoxPlotMultiFieldsAndSplitBy: {
9691
9691
  const c = e.find((u) => u[o] === i[o]);
9692
9692
  if (c !== void 0) {
9693
9693
  const u = ii(s);
@@ -9700,8 +9700,8 @@ function wf(t) {
9700
9700
  }
9701
9701
  async function xf(t) {
9702
9702
  const { seriesConfig: e, data: i, uniqueQuery: r, queryObject: n, meanAndStdDevPerField: s, abortKey: a } = t, o = q(e), l = e[0], { x: d } = l, c = ge(l.query?.where), u = Z(n), p = xe(e), f = [];
9703
- for (let b = 0; b < p.length; b += 1) {
9704
- const v = p[b], { outliersFilterBatches: S } = bo({
9703
+ for (let g = 0; g < p.length; g += 1) {
9704
+ const v = p[g], { outliersFilterBatches: S } = bo({
9705
9705
  data: i,
9706
9706
  yField: v,
9707
9707
  x: d,
@@ -9735,8 +9735,8 @@ async function xf(t) {
9735
9735
  }
9736
9736
  }
9737
9737
  const h = await Promise.all(f), m = /* @__PURE__ */ new Map();
9738
- for (let b = 0; b < h.length; b += 1) {
9739
- const v = h[b], S = p[b];
9738
+ for (let g = 0; g < h.length; g += 1) {
9739
+ const v = h[g], S = p[g];
9740
9740
  v.forEach((w) => {
9741
9741
  const C = { ...w.attributes };
9742
9742
  if (C[S] !== void 0) {
@@ -9746,15 +9746,15 @@ async function xf(t) {
9746
9746
  chartSubType: o
9747
9747
  };
9748
9748
  switch (o) {
9749
- case g.BoxPlotMonoFieldAndSplitBy:
9750
- case g.BoxPlotMultiFieldsAndSplitBy:
9751
- case g.BoxPlotMonoFieldAndCategoryAndSplitBy:
9749
+ case b.BoxPlotMonoFieldAndSplitBy:
9750
+ case b.BoxPlotMultiFieldsAndSplitBy:
9751
+ case b.BoxPlotMonoFieldAndCategoryAndSplitBy:
9752
9752
  F = {
9753
9753
  ...F,
9754
9754
  splitByValue: C[c]
9755
9755
  };
9756
9756
  break;
9757
- case g.BoxPlotMultiFieldsAndCategory:
9757
+ case b.BoxPlotMultiFieldsAndCategory:
9758
9758
  F = {
9759
9759
  ...F,
9760
9760
  y: S
@@ -9795,7 +9795,7 @@ async function xf(t) {
9795
9795
  async function Cf(t) {
9796
9796
  const { data: e, queryObject: i, uniqueQuery: r, elementCount: n, chartConfig: s, chartLimits: a, abortKey: o } = t;
9797
9797
  let l = [];
9798
- const { series: d, showMean: c } = s, u = Lr({ showMean: c, seriesConfig: d }), p = q(d), f = At(s), { x: h } = f, m = ge(f.query?.where), b = [];
9798
+ const { series: d, showMean: c } = s, u = Lr({ showMean: c, seriesConfig: d }), p = q(d), f = At(s), { x: h } = f, m = ge(f.query?.where), g = [];
9799
9799
  for (let S = 0; S < u.length; S += 1) {
9800
9800
  const w = u[S], { dataWithoutOutliersFilterBatches: C } = bo({
9801
9801
  data: e,
@@ -9814,7 +9814,7 @@ async function Cf(t) {
9814
9814
  ).map((L) => ({
9815
9815
  ...L,
9816
9816
  outStatisticFieldName: `${L.outStatisticFieldName}${x.boxPlot.boxPlotOutliersSuffix}`
9817
- }))), b.push(
9817
+ }))), g.push(
9818
9818
  Tr({
9819
9819
  queryObject: i,
9820
9820
  uniqueQuery: O,
@@ -9828,10 +9828,10 @@ async function Cf(t) {
9828
9828
  );
9829
9829
  }
9830
9830
  }
9831
- const v = await Promise.all(b);
9831
+ const v = await Promise.all(g);
9832
9832
  for (let S = 0; S < v.length; S += 1)
9833
9833
  l.push(...v[S]);
9834
- return p !== g.BoxPlotMonoFieldAndCategoryAndSplitBy && (l = Ai({
9834
+ return p !== b.BoxPlotMonoFieldAndCategoryAndSplitBy && (l = Ai({
9835
9835
  data: l,
9836
9836
  x: m !== void 0 && m !== "" ? m : h
9837
9837
  })), l;
@@ -9840,7 +9840,7 @@ async function Ff(t) {
9840
9840
  const { queryObject: e, uniqueQuery: i, chartConfig: r, abortKey: n } = t;
9841
9841
  let s;
9842
9842
  const { series: a, showMean: o } = r, l = q(a);
9843
- if (l === g.BoxPlotMultiFieldsAndCategory || l === g.BoxPlotMultiFieldsAndSplitBy) {
9843
+ if (l === b.BoxPlotMultiFieldsAndCategory || l === b.BoxPlotMultiFieldsAndSplitBy) {
9844
9844
  const d = Lr({ showMean: o, seriesConfig: a }), c = {
9845
9845
  ...i
9846
9846
  };
@@ -9888,17 +9888,17 @@ function So(t) {
9888
9888
  if ((o.type === y.LineSeries || o.type === y.BoxPlotSeries) && i?.[0] !== void 0) {
9889
9889
  const p = ge(o.query?.where);
9890
9890
  switch (l) {
9891
- case g.BoxPlotMonoField:
9891
+ case b.BoxPlotMonoField:
9892
9892
  u[0][x.boxPlot.boxPlotCategory] = c[0];
9893
9893
  break;
9894
- case g.BoxPlotMultiFields:
9894
+ case b.BoxPlotMultiFields:
9895
9895
  u = hf({
9896
9896
  data: i,
9897
9897
  yList: c,
9898
9898
  calculateZScore: r
9899
9899
  });
9900
9900
  break;
9901
- case g.BoxPlotMonoFieldAndSplitBy:
9901
+ case b.BoxPlotMonoFieldAndSplitBy:
9902
9902
  u = yf({
9903
9903
  data: i,
9904
9904
  splitByField: p,
@@ -9906,7 +9906,7 @@ function So(t) {
9906
9906
  // there's only one `y` value for that query type
9907
9907
  });
9908
9908
  break;
9909
- case g.BoxPlotMultiFieldsAndSplitBy:
9909
+ case b.BoxPlotMultiFieldsAndSplitBy:
9910
9910
  u = mf({
9911
9911
  splitByField: p,
9912
9912
  data: i,
@@ -9915,7 +9915,7 @@ function So(t) {
9915
9915
  calculateZScore: r
9916
9916
  });
9917
9917
  break;
9918
- case g.BoxPlotMultiFieldsAndCategory:
9918
+ case b.BoxPlotMultiFieldsAndCategory:
9919
9919
  u = gf({
9920
9920
  data: i,
9921
9921
  yList: c,
@@ -9923,14 +9923,14 @@ function So(t) {
9923
9923
  calculateZScore: r
9924
9924
  });
9925
9925
  break;
9926
- case g.BoxPlotMonoFieldAndCategoryAndSplitBy:
9926
+ case b.BoxPlotMonoFieldAndCategoryAndSplitBy:
9927
9927
  u = bf({
9928
9928
  splitByField: p,
9929
9929
  x: d,
9930
9930
  data: i
9931
9931
  });
9932
9932
  break;
9933
- case g.BoxPlotMonoFieldAndCategory:
9933
+ case b.BoxPlotMonoFieldAndCategory:
9934
9934
  }
9935
9935
  }
9936
9936
  return Sf(e, u), u;
@@ -10053,7 +10053,7 @@ function Nf(t) {
10053
10053
  splitByField: l
10054
10054
  } = t, d = ce.outStatistics;
10055
10055
  if (e.outStatistics?.[0] !== void 0) {
10056
- s !== g.PieFromFields && s !== g.BarAndLineFromFields && (e.outStatistics[0].outStatisticFieldName = r ? d.outStatisticFieldName : [i].flat()[0]);
10056
+ s !== b.PieFromFields && s !== b.BarAndLineFromFields && (e.outStatistics[0].outStatisticFieldName = r ? d.outStatisticFieldName : [i].flat()[0]);
10057
10057
  const { outStatistics: c } = e;
10058
10058
  for (let u = 0; u < c.length; u += 1) {
10059
10059
  const p = e.outStatistics[u];
@@ -10126,7 +10126,7 @@ function kf(t) {
10126
10126
  const { uniqueQuery: e, x: i, splitByField: r, unit: n, chartSubType: s, objectIdField: a } = t;
10127
10127
  if (n !== void 0) {
10128
10128
  const o = Af(i, n);
10129
- e.orderByFields = o, e.groupByFieldsForStatistics = o, s === g.BarAndLineSplitBy && !le(r) ? e.groupByFieldsForStatistics.push(r) : s === g.BarAndLineNoAggregation && (e.groupByFieldsForStatistics.push(a), e.outStatistics = [
10129
+ e.orderByFields = o, e.groupByFieldsForStatistics = o, s === b.BarAndLineSplitBy && !le(r) ? e.groupByFieldsForStatistics.push(r) : s === b.BarAndLineNoAggregation && (e.groupByFieldsForStatistics.push(a), e.outStatistics = [
10130
10130
  {
10131
10131
  onStatisticField: a,
10132
10132
  outStatisticFieldName: `COUNT_${a}`,
@@ -10141,7 +10141,7 @@ function wo(t) {
10141
10141
  const n = Za(e, i?.chartLimits);
10142
10142
  if (n !== void 0) {
10143
10143
  const s = q(e.series);
10144
- if (s === g.PieFromFields || s === g.BarAndLineFromFields) {
10144
+ if (s === b.PieFromFields || s === b.BarAndLineFromFields) {
10145
10145
  if (r.outStatistics?.[0] !== void 0) {
10146
10146
  const a = (d, c) => d.statisticType === I.EnvelopeAggregate === c, o = r.outStatistics.filter((d) => a(d, !0)), l = r.outStatistics.filter((d) => a(d, !1));
10147
10147
  l.splice(n), r.outStatistics = [...l, ...o];
@@ -10157,42 +10157,42 @@ async function Bn(t) {
10157
10157
  setTimeBinningInfoWhenNotProvided: o,
10158
10158
  seriesConfig: u
10159
10159
  });
10160
- let b = /* @__PURE__ */ new Map(), v = !1, S = !1, w = !1, C = !1, F = !1, T = {};
10160
+ let g = /* @__PURE__ */ new Map(), v = !1, S = !1, w = !1, C = !1, F = !1, T = {};
10161
10161
  if (p !== void 0) {
10162
10162
  T = ri(p);
10163
10163
  const j = ge(p.where);
10164
10164
  let ue = "";
10165
10165
  switch (i.fetchNullValues !== !0 && (f !== x.boxPlot.boxPlotCategory && (ue = `${f} IS NOT NULL`), j.trim() !== "" && j !== f && !st(p.where) && (ue = K([ue, `${j} IS NOT NULL`]))), c) {
10166
- case g.BarAndLineSplitBy: {
10167
- b = Of(d), C = !0, v = !0, S = !0;
10166
+ case b.BarAndLineSplitBy: {
10167
+ g = Of(d), C = !0, v = !0, S = !0;
10168
10168
  break;
10169
10169
  }
10170
- case g.BarAndLineMultiFields:
10170
+ case b.BarAndLineMultiFields:
10171
10171
  Mf(T, d), S = !0;
10172
10172
  break;
10173
- case g.PieFromFields:
10174
- case g.BarAndLineFromFields:
10173
+ case b.PieFromFields:
10174
+ case b.BarAndLineFromFields:
10175
10175
  ue = "", w = !0, S = !0;
10176
10176
  break;
10177
- case g.BarAndLineMonoField:
10178
- case g.PieFromCategory:
10177
+ case b.BarAndLineMonoField:
10178
+ case b.PieFromCategory:
10179
10179
  S = !0;
10180
10180
  break;
10181
- case g.BoxPlotMonoField:
10182
- case g.BoxPlotMultiFields:
10181
+ case b.BoxPlotMonoField:
10182
+ case b.BoxPlotMultiFields:
10183
10183
  w = !0, F = !0;
10184
10184
  break;
10185
- case g.BoxPlotMonoFieldAndCategory:
10186
- case g.BoxPlotMultiFieldsAndCategory:
10187
- case g.BoxPlotMonoFieldAndSplitBy:
10188
- case g.BoxPlotMonoFieldAndCategoryAndSplitBy:
10189
- case g.BoxPlotMultiFieldsAndSplitBy: {
10185
+ case b.BoxPlotMonoFieldAndCategory:
10186
+ case b.BoxPlotMultiFieldsAndCategory:
10187
+ case b.BoxPlotMonoFieldAndSplitBy:
10188
+ case b.BoxPlotMonoFieldAndCategoryAndSplitBy:
10189
+ case b.BoxPlotMultiFieldsAndSplitBy: {
10190
10190
  F = !0, C = !0, w = !0;
10191
10191
  break;
10192
10192
  }
10193
- case g.PieNoAggregation:
10194
- case g.BarAndLineNoAggregation:
10195
- case g.BarAndLineSplitByNoAggregation:
10193
+ case b.PieNoAggregation:
10194
+ case b.BarAndLineNoAggregation:
10195
+ case b.BarAndLineSplitByNoAggregation:
10196
10196
  }
10197
10197
  if (S && Nf({
10198
10198
  uniqueQuery: T,
@@ -10221,7 +10221,7 @@ async function Bn(t) {
10221
10221
  }
10222
10222
  wo({ chartConfig: e, options: r, uniqueQuery: T });
10223
10223
  const { gdbVersion: O, geometry: L, distance: B, units: N, timeExtent: A, where: $, objectIds: W, spatialRelationship: P } = i;
10224
- return O !== void 0 && (T.gdbVersion = O), L !== void 0 && (T.geometry = L), B !== void 0 && (T.distance = B), N !== void 0 && (T.units = N), A !== void 0 && (T.timeExtent = A), W !== void 0 && (T.objectIds = W), P !== void 0 && (T.spatialRelationship = P), $ !== void 0 && (T.where = K([T.where, $])), { uniqueQuery: T, mapToStatField: b };
10224
+ return O !== void 0 && (T.gdbVersion = O), L !== void 0 && (T.geometry = L), B !== void 0 && (T.distance = B), N !== void 0 && (T.units = N), A !== void 0 && (T.timeExtent = A), W !== void 0 && (T.objectIds = W), P !== void 0 && (T.spatialRelationship = P), $ !== void 0 && (T.where = K([T.where, $])), { uniqueQuery: T, mapToStatField: g };
10225
10225
  }
10226
10226
  async function Ef(t) {
10227
10227
  const { queryObject: e, queryConfig: i, chartConfig: r, abortKey: n } = t, s = r.series[0], { x: a, valueConversion: o } = s, l = qn(r), d = await qe({
@@ -10386,8 +10386,8 @@ async function Vf(t) {
10386
10386
  queryObject: e,
10387
10387
  queryConfig: u,
10388
10388
  abortKey: n
10389
- }), f = p.get(o) ?? Number.NaN, h = p.get(l) ?? Number.NaN, m = p.get(d) ?? Number.NaN, b = p.get(c) ?? Number.NaN;
10390
- return { countExcludingNulls: h, countIncludingNulls: f, min: m, max: b };
10389
+ }), f = p.get(o) ?? Number.NaN, h = p.get(l) ?? Number.NaN, m = p.get(d) ?? Number.NaN, g = p.get(c) ?? Number.NaN;
10390
+ return { countExcludingNulls: h, countIncludingNulls: f, min: m, max: g };
10391
10391
  }
10392
10392
  async function jf(t) {
10393
10393
  const { queryConfig: e, chartConfig: i, queryObject: r, abortKey: n } = t, s = i.series[0], { x: a, dataTransformationType: o } = s;
@@ -10467,18 +10467,18 @@ async function Hf(t) {
10467
10467
  useFeaturesInView: f,
10468
10468
  queryConfig: i
10469
10469
  });
10470
- let b;
10471
- if (h !== void 0 && (b = new jn({
10470
+ let g;
10471
+ if (h !== void 0 && (g = new jn({
10472
10472
  geometry: h.extent
10473
10473
  }), h.extent !== void 0 && En(u))) {
10474
10474
  const { distance: B, units: N } = i;
10475
- B !== void 0 && (b.distance = B), N !== void 0 && (b.units = N);
10475
+ B !== void 0 && (g.distance = B), N !== void 0 && (g.units = N);
10476
10476
  }
10477
10477
  if (i.timeExtent) {
10478
10478
  const B = { start: i.timeExtent[0], end: i.timeExtent[1] };
10479
- b === void 0 ? b = new jn({ timeExtent: B }) : b.timeExtent = B;
10479
+ g === void 0 ? g = new jn({ timeExtent: B }) : g.timeExtent = B;
10480
10480
  }
10481
- m.filter = b;
10481
+ m.filter = g;
10482
10482
  let v;
10483
10483
  m.outStatisticTypes = { exclude: ["median"] };
10484
10484
  try {
@@ -10509,7 +10509,7 @@ async function Hf(t) {
10509
10509
  valueExpression: m.valueExpression,
10510
10510
  queryConfig: i
10511
10511
  });
10512
- B.filter = b;
10512
+ B.filter = g;
10513
10513
  let N;
10514
10514
  try {
10515
10515
  N = await zl(B);
@@ -10604,7 +10604,7 @@ async function Yf(t) {
10604
10604
  dataContextCountDistinctX: u,
10605
10605
  dataContextCountDistinctY: p
10606
10606
  } = x.scatterplotAggregationFields;
10607
- let f, h, m, b, v;
10607
+ let f, h, m, g, v;
10608
10608
  const S = e.get(o), w = e.get(l), C = e.get(d), F = e.get(c);
10609
10609
  if (S != null && C !== void 0 && C !== null && w !== void 0 && w !== null && F !== void 0 && F !== null && !Number.isNaN(S + w + C + F)) {
10610
10610
  const { maxScatterPointsAfterAggregation: T } = Wt(n?.chartLimits), L = Math.floor(Math.sqrt(T)), B = await Jf({
@@ -10613,7 +10613,7 @@ async function Yf(t) {
10613
10613
  queryConfig: s,
10614
10614
  abortKey: a
10615
10615
  });
10616
- m = Math.min(B.get(p) ?? Number.NaN, L), b = Math.min(B.get(u) ?? Number.NaN, L), v = b * m, f = w === S ? 0 : (w - S) / (b - 1), h = F === C ? 0 : (F - C) / (m - 1), e.set(x.scatterplotAggregationFields.xStep, f), e.set(x.scatterplotAggregationFields.yStep, h), e.set(x.scatterplotAggregationFields.rowCount, m), e.set(x.scatterplotAggregationFields.columnCount, b), e.set(x.scatterplotAggregationFields.realGridSize, v);
10616
+ m = Math.min(B.get(p) ?? Number.NaN, L), g = Math.min(B.get(u) ?? Number.NaN, L), v = g * m, f = w === S ? 0 : (w - S) / (g - 1), h = F === C ? 0 : (F - C) / (m - 1), e.set(x.scatterplotAggregationFields.xStep, f), e.set(x.scatterplotAggregationFields.yStep, h), e.set(x.scatterplotAggregationFields.rowCount, m), e.set(x.scatterplotAggregationFields.columnCount, g), e.set(x.scatterplotAggregationFields.realGridSize, v);
10617
10617
  }
10618
10618
  }
10619
10619
  function Kf(t) {
@@ -10655,7 +10655,7 @@ async function eh(t) {
10655
10655
  dataContextYMinField: f,
10656
10656
  dataContextYMaxField: h,
10657
10657
  queryNumberOfFeatures: m,
10658
- queryNumberOfAggregatedFeatures: b
10658
+ queryNumberOfAggregatedFeatures: g
10659
10659
  } = x.scatterplotAggregationFields;
10660
10660
  let v;
10661
10661
  const S = e?.get(u) ?? Number.NaN, w = e?.get(p) ?? Number.NaN, C = e?.get(m) ?? Number.NaN, F = e?.get(f) ?? S, T = e?.get(h) ?? w;
@@ -10681,7 +10681,7 @@ async function eh(t) {
10681
10681
  });
10682
10682
  }), P.set(L, {
10683
10683
  onStatisticField: L,
10684
- outStatisticFieldName: b,
10684
+ outStatisticFieldName: g,
10685
10685
  statisticType: I.Count
10686
10686
  }).set(d, {
10687
10687
  onStatisticField: d,
@@ -10803,7 +10803,7 @@ async function sh(t) {
10803
10803
  typeValue: f,
10804
10804
  fieldValue: h,
10805
10805
  slopePropertyList: m,
10806
- interceptPropertyList: b,
10806
+ interceptPropertyList: g,
10807
10807
  r2PropertyList: v
10808
10808
  } = th, S = `[{"${p}": "${f}", "${h}":"${a},${o}"}]`, w = await by({
10809
10809
  queryObject: i,
@@ -10814,7 +10814,7 @@ async function sh(t) {
10814
10814
  });
10815
10815
  if (w !== void 0) {
10816
10816
  let C = Number.NaN, F = Number.NaN;
10817
- const { expr: T } = ar(w, m), { expr: O } = ar(w, b), { expr: L } = ar(w, v);
10817
+ const { expr: T } = ar(w, m), { expr: O } = ar(w, g), { expr: L } = ar(w, v);
10818
10818
  T !== void 0 && Number.isFinite(w[T]) && (C = w[T]), O !== void 0 && Number.isFinite(w[O]) && (F = w[O]), L !== void 0 && Number.isFinite(w[L]) && (l = w[L]);
10819
10819
  const { dataContextXMinField: B, dataContextXMaxField: N, dataContextYMinField: A, dataContextYMaxField: $ } = x.scatterplotAggregationFields, W = e.get(B) ?? Number.NaN, P = e.get(N) ?? Number.NaN, j = e.get(A) ?? Number.NaN, ue = e.get($) ?? Number.NaN, U = (P - W) / 100;
10820
10820
  let Be = W - U, Ye = Number.NaN;
@@ -10892,10 +10892,10 @@ async function oh(t) {
10892
10892
  onStatisticField: o
10893
10893
  }
10894
10894
  );
10895
- const b = { ...i };
10896
- return b.outStatistics = m, l = await $i({
10895
+ const g = { ...i };
10896
+ return g.outStatistics = m, l = await $i({
10897
10897
  queryObject: r,
10898
- queryConfig: b,
10898
+ queryConfig: g,
10899
10899
  abortKey: n
10900
10900
  }), a === o && (l.set(u, l.get(d) ?? Number.NaN), l.set(p, l.get(c) ?? Number.NaN)), l;
10901
10901
  }
@@ -10909,29 +10909,29 @@ function lh(t) {
10909
10909
  if (e && "stackedAttributes" in i && i.stackedAttributes) {
10910
10910
  const p = Wo(r, n), f = i.attributes[p.lowerBoundaryAlias], h = i.attributes[p.upperBoundaryAlias];
10911
10911
  i.stackedAttributes.forEach((m) => {
10912
- let b = m[p.stackAlias], v;
10913
- typeof b == "number" && typeof s == "number" && (b *= s), typeof b == "number" && typeof s == "number" && (v = b + s);
10912
+ let g = m[p.stackAlias], v;
10913
+ typeof g == "number" && typeof s == "number" && (g *= s), typeof g == "number" && typeof s == "number" && (v = g + s);
10914
10914
  const S = m[r], w = m[n];
10915
- typeof b == "number" && typeof v == "number" && typeof S == "number" && typeof w == "number" && u.push({
10915
+ typeof g == "number" && typeof v == "number" && typeof S == "number" && typeof w == "number" && u.push({
10916
10916
  ...m,
10917
10917
  [r]: er({ value: S, valueMin: f, valueMax: h }),
10918
- [n]: er({ value: w, valueMin: b, valueMax: v }),
10918
+ [n]: er({ value: w, valueMin: g, valueMax: v }),
10919
10919
  [o]: Math.min(f, h),
10920
10920
  [l]: Math.max(f, h),
10921
- [d]: b,
10921
+ [d]: g,
10922
10922
  [c]: v
10923
10923
  });
10924
10924
  });
10925
10925
  } else {
10926
10926
  const { expr: p, isInItem: f } = Fr(i.attributes);
10927
10927
  if (f && p && i.attributes[p] !== a) {
10928
- let [h, m, b, v] = i.attributes[p].split("|");
10929
- h = Math.min(h, m), m = Math.max(h, m), b = Math.min(b, v), v = Math.max(b, v);
10928
+ let [h, m, g, v] = i.attributes[p].split("|");
10929
+ h = Math.min(h, m), m = Math.max(h, m), g = Math.min(g, v), v = Math.max(g, v);
10930
10930
  const S = {
10931
10931
  ...i.attributes,
10932
10932
  [o]: h,
10933
10933
  [l]: m,
10934
- [d]: b,
10934
+ [d]: g,
10935
10935
  [c]: v
10936
10936
  };
10937
10937
  S[r] = er({
@@ -10940,7 +10940,7 @@ function lh(t) {
10940
10940
  valueMax: m
10941
10941
  }), S[n] = er({
10942
10942
  value: S[n],
10943
- valueMin: b,
10943
+ valueMin: g,
10944
10944
  valueMax: v
10945
10945
  }), u = [S];
10946
10946
  }
@@ -10967,14 +10967,14 @@ function dh(t) {
10967
10967
  async function ch(t) {
10968
10968
  const { queryObject: e, queryConfig: i, chartConfig: r, featureCount: n, abortKey: s } = t, a = r.series[0], { x: o, y: l } = a, d = Z(e);
10969
10969
  let c = [];
10970
- const p = ((await De(e))?.filter((b) => oi(b) && b.name !== o && b.name !== l) ?? []).map(
10971
- (b) => b.name
10970
+ const p = ((await De(e))?.filter((g) => oi(g) && g.name !== o && g.name !== l) ?? []).map(
10971
+ (g) => g.name
10972
10972
  ) ?? [], f = a?.additionalTooltipFields ?? [], h = Array.from(
10973
10973
  /* @__PURE__ */ new Set([o, l, d.objectIdField, ...p, ...f])
10974
10974
  );
10975
10975
  if (!fe(d).isTable) {
10976
- const { rendererField: b, rendererNormalizationField: v } = ky(d?.renderer ?? void 0);
10977
- le(b) || h.push(b), le(v) || h.push(v);
10976
+ const { rendererField: g, rendererNormalizationField: v } = ky(d?.renderer ?? void 0);
10977
+ le(g) || h.push(g), le(v) || h.push(v);
10978
10978
  }
10979
10979
  const m = {
10980
10980
  ...i,
@@ -11042,7 +11042,7 @@ async function Io(t) {
11042
11042
  numberOfFeatures: p,
11043
11043
  isAggregationMode: f,
11044
11044
  useQueryAttributeBins: h
11045
- }), b = dh({
11045
+ }), g = dh({
11046
11046
  chartConfig: e,
11047
11047
  rawData: m,
11048
11048
  isAggregationMode: f,
@@ -11050,19 +11050,19 @@ async function Io(t) {
11050
11050
  useQueryAttributeBins: h
11051
11051
  });
11052
11052
  n !== !1 && Ii({
11053
- arrayToSort: b,
11053
+ arrayToSort: g,
11054
11054
  sortingField: e.series[0].x,
11055
11055
  orderBy: ye.Ascending
11056
11056
  });
11057
11057
  const { r2: v, trendLinePoints: S } = s !== !1 ? await ah({
11058
- data: b,
11058
+ data: g,
11059
11059
  statsMap: l,
11060
11060
  queryConfig: i,
11061
11061
  options: a,
11062
11062
  queryObject: r,
11063
11063
  chartConfig: e
11064
11064
  }) : x.scatterplotSeries;
11065
- return { dataItems: b, r2: v, trendLinePoints: S, aggregated: f };
11065
+ return { dataItems: g, r2: v, trendLinePoints: S, aggregated: f };
11066
11066
  }
11067
11067
  function ph(t) {
11068
11068
  const { itemsA: e, itemsB: i, isPieFromFields: r, x: n, y: s, outStatisticFieldName: a } = t, o = ri(e), l = ri(i);
@@ -11087,14 +11087,14 @@ function ph(t) {
11087
11087
  ce.uniqueIdsName,
11088
11088
  z.valueField,
11089
11089
  ...Wa
11090
- ], u = (m, b) => {
11091
- const v = b[x.typeOrDomainFieldName];
11092
- typeof v == "string" && b[v] !== void 0 && (b[v] = b[x.typeOrDomainIdValue]), n && b[z.xField] !== void 0 && (b[n] = b[z.xField], delete b[z.xField]), s && b[z.yField] !== void 0 && (b[s] = b[z.yField], delete b[z.yField]), a && b[z.valueField] !== void 0 && (b[a] = b[z.valueField], delete b[z.valueField]);
11090
+ ], u = (m, g) => {
11091
+ const v = g[x.typeOrDomainFieldName];
11092
+ typeof v == "string" && g[v] !== void 0 && (g[v] = g[x.typeOrDomainIdValue]), n && g[z.xField] !== void 0 && (g[n] = g[z.xField], delete g[z.xField]), s && g[z.yField] !== void 0 && (g[s] = g[z.yField], delete g[z.yField]), a && g[z.valueField] !== void 0 && (g[a] = g[z.valueField], delete g[z.valueField]);
11093
11093
  const S = {};
11094
- return Object.keys(b).forEach((w) => {
11095
- !c.includes(w) && !w.includes(x.rendererSymbolField) && (S[w] = b[w]);
11094
+ return Object.keys(g).forEach((w) => {
11095
+ !c.includes(w) && !w.includes(x.rendererSymbolField) && (S[w] = g[w]);
11096
11096
  }), m.push(S), m;
11097
- }, p = (m, b) => JSON.stringify(m).localeCompare(JSON.stringify(b));
11097
+ }, p = (m, g) => JSON.stringify(m).localeCompare(JSON.stringify(g));
11098
11098
  let f = o?.reduce(u, [])?.sort(p), h = l?.reduce(u, [])?.sort(p);
11099
11099
  f && h && n && f.length !== h.length && (f = Ai({ data: f, x: n }), h = Ai({ data: h, x: n })), d = f?.length !== h?.length || !at(f, h);
11100
11100
  }
@@ -11108,11 +11108,11 @@ function fh(t) {
11108
11108
  if (l !== void 0 && ph({
11109
11109
  itemsA: l,
11110
11110
  itemsB: i,
11111
- isPieFromFields: q(e.series) === g.PieFromFields,
11111
+ isPieFromFields: q(e.series) === b.PieFromFields,
11112
11112
  x: e.series[0].x,
11113
11113
  y: "y" in e.series[0] ? e.series[0].y.toString() : void 0,
11114
11114
  outStatisticFieldName: e.series[0].query?.outStatistics?.[0]?.outStatisticFieldName
11115
- }) ? s = l : s = i ?? [], a.length > 1 && o !== g.BarAndLineNoAggregation && o !== g.BarAndLineSplitByNoAggregation) {
11115
+ }) ? s = l : s = i ?? [], a.length > 1 && o !== b.BarAndLineNoAggregation && o !== b.BarAndLineSplitByNoAggregation) {
11116
11116
  const d = ge(a[0].query?.where);
11117
11117
  s = Ai({ data: s, x: a[0].x, splitByField: d });
11118
11118
  }
@@ -11189,7 +11189,7 @@ function Oo(t) {
11189
11189
  const l = lt({ where: r ?? "", normalize: !1, escape: !0 });
11190
11190
  let d = "";
11191
11191
  if (Vu(a) === !0) {
11192
- const u = q(a.series) === g.BoxPlotMultiFieldsAndCategory ? i : void 0, p = he({
11192
+ const u = q(a.series) === b.BoxPlotMultiFieldsAndCategory ? i : void 0, p = he({
11193
11193
  key: M.Min,
11194
11194
  showOutliers: !0,
11195
11195
  splitBy: r,
@@ -11201,8 +11201,8 @@ function Oo(t) {
11201
11201
  y: u
11202
11202
  }), h = e === x.boxPlot.boxPlotCategory ? n[e] : i;
11203
11203
  if (!le(h)) {
11204
- const m = n[p], b = n[f];
11205
- Number.isFinite(m) && Number.isFinite(b) && (d = `${h?.toString()}>=${m?.toString()} AND ${h?.toString()}<=${b?.toString()}`);
11204
+ const m = n[p], g = n[f];
11205
+ Number.isFinite(m) && Number.isFinite(g) && (d = `${h?.toString()}>=${m?.toString()} AND ${h?.toString()}<=${g?.toString()}`);
11206
11206
  }
11207
11207
  }
11208
11208
  return K([o, l, d]);
@@ -11212,7 +11212,7 @@ function yh(t) {
11212
11212
  let a = "";
11213
11213
  if (x.dateBinningRange in r)
11214
11214
  a = Ao(e, r);
11215
- else if (q(s.series) !== g.BarAndLineFromFields) {
11215
+ else if (q(s.series) !== b.BarAndLineFromFields) {
11216
11216
  let d = Ti({
11217
11217
  value: r[e],
11218
11218
  dataContext: r,
@@ -11231,7 +11231,7 @@ function yh(t) {
11231
11231
  function mh(t) {
11232
11232
  const { xAxisField: e, dataContext: i, chartConfig: r } = t;
11233
11233
  let n = x.typeOrDomainIdValue in i ? i[x.typeOrDomainIdValue] : i[x.originalCategoryValue];
11234
- return n === void 0 && (n = i[e]), q(r.series) === g.PieFromFields ? "" : lt({
11234
+ return n === void 0 && (n = i[e]), q(r.series) === b.PieFromFields ? "" : lt({
11235
11235
  where: xt(e, n),
11236
11236
  normalize: !1,
11237
11237
  escape: !0
@@ -11334,7 +11334,7 @@ function Yg(t) {
11334
11334
  async function Sh(t) {
11335
11335
  const { numberOfQueries: e, selectionOIDs: i, chartConfig: r, queryConfig: n, options: s, errorStrings: a, queryObject: o } = t, { setTimeBinningInfoWhenNotProvided: l } = s ?? {}, { series: d } = r, c = V(d), u = [], { maxOIDsPerSelectionQuery: p } = ki();
11336
11336
  for (let h = 0; h < e; h += 1) {
11337
- const m = h * p, b = (h + 1) * p - 1, v = i.slice(m === 0 ? 0 : m - 1, b), S = { ...n };
11337
+ const m = h * p, g = (h + 1) * p - 1, v = i.slice(m === 0 ? 0 : m - 1, g), S = { ...n };
11338
11338
  switch (S.objectIds = v, c) {
11339
11339
  case y.HeatSeries:
11340
11340
  u.push(
@@ -11448,11 +11448,11 @@ function vh(t) {
11448
11448
  [p]: f[p]
11449
11449
  }))
11450
11450
  );
11451
- } else d.valid && (s === g.PieFromFields ? a = pr({
11451
+ } else d.valid && (s === b.PieFromFields ? a = pr({
11452
11452
  dataToConvert: c[0],
11453
11453
  x: Ce,
11454
11454
  y: ze
11455
- }) : s === g.BarAndLineFromFields ? a = pr({
11455
+ }) : s === b.BarAndLineFromFields ? a = pr({
11456
11456
  dataToConvert: c[0],
11457
11457
  x: r[0].x,
11458
11458
  y: r[0].y
@@ -11472,12 +11472,12 @@ async function wh(t) {
11472
11472
  options: o,
11473
11473
  errorStrings: l
11474
11474
  } = t, { series: d } = e, { selectionData: c, viewExtentUpdated: u, returnSelectionOIDs: p, chartLimits: f } = o ?? {}, { selectionItems: h, selectionOIDs: m } = c ?? {};
11475
- let b;
11475
+ let g;
11476
11476
  const v = V(d), S = v !== y.HistogramSeries && v !== y.HeatSeries && h !== void 0 && h.length > 0 && !(d[0].x in h[0]) && !(Ce in h[0]) && !(x.boxPlot.boxPlotCategory in h[0]);
11477
11477
  if (u !== !0 && p !== !1 && m !== void 0 && m.length > 0 && (s === !0 || S || m.length !== n?.length || !at(m, n))) {
11478
11478
  const C = dl(r);
11479
11479
  if (C !== void 0 && !op({ dataContext: C[0], chartConfig: e, chartLimits: f }))
11480
- b = C.filter((F) => {
11480
+ g = C.filter((F) => {
11481
11481
  const T = F[ce.uniqueIdsName];
11482
11482
  return typeof T == "number" || typeof T == "string" ? m?.includes(T) : !1;
11483
11483
  });
@@ -11491,14 +11491,14 @@ async function wh(t) {
11491
11491
  errorStrings: l,
11492
11492
  chartConfig: e
11493
11493
  });
11494
- b = vh({
11494
+ g = vh({
11495
11495
  dataFetchingResults: O,
11496
11496
  numberOfQueries: T,
11497
11497
  series: d
11498
11498
  });
11499
11499
  }
11500
11500
  }
11501
- return b;
11501
+ return g;
11502
11502
  }
11503
11503
  function* xh(t) {
11504
11504
  const { filterList: e, queryObject: i, queryConfig: r } = t;
@@ -11544,9 +11544,9 @@ async function Ch(t) {
11544
11544
  h.push(C[ce.uniqueIdsName]);
11545
11545
  else {
11546
11546
  switch (l) {
11547
- case g.BoxPlotMonoFieldAndSplitBy:
11548
- case g.BoxPlotMultiFieldsAndSplitBy:
11549
- case g.BoxPlotMonoFieldAndCategoryAndSplitBy: {
11547
+ case b.BoxPlotMonoFieldAndSplitBy:
11548
+ case b.BoxPlotMultiFieldsAndSplitBy:
11549
+ case b.BoxPlotMonoFieldAndCategoryAndSplitBy: {
11550
11550
  const L = ge(c.query?.where ?? ""), B = `_${M.Average}`;
11551
11551
  Object.keys(C).forEach((N) => {
11552
11552
  if (N.includes(B)) {
@@ -11559,7 +11559,7 @@ async function Ch(t) {
11559
11559
  }
11560
11560
  const T = [p].flat();
11561
11561
  let O = T.length === 1 ? T[0] : "";
11562
- if (l === g.BoxPlotMultiFieldsAndCategory) {
11562
+ if (l === b.BoxPlotMultiFieldsAndCategory) {
11563
11563
  const L = `_${M.FirstQuartile}`, B = Object.keys(C).find((N) => N.includes(L));
11564
11564
  B !== void 0 && (O = B.replace(L, ""));
11565
11565
  }
@@ -11578,9 +11578,9 @@ async function Ch(t) {
11578
11578
  return w;
11579
11579
  },
11580
11580
  []
11581
- ), b = Z(e);
11582
- if (b !== void 0 && h.length > 0) {
11583
- const { objectIdField: w } = b;
11581
+ ), g = Z(e);
11582
+ if (g !== void 0 && h.length > 0) {
11583
+ const { objectIdField: w } = g;
11584
11584
  m.push(`${w} IN (${h.join(",")})`);
11585
11585
  }
11586
11586
  const v = m.join(" OR "), S = { ...i };
@@ -11619,20 +11619,20 @@ async function Fh(t) {
11619
11619
  options: l,
11620
11620
  errorStrings: d
11621
11621
  }) ?? [] : m = fh({ chartConfig: r, currentSelectionDataItems: n, options: l });
11622
- let b = !1;
11622
+ let g = !1;
11623
11623
  switch (p) {
11624
11624
  case y.HeatSeries:
11625
11625
  h.data = { dataItems: m };
11626
11626
  break;
11627
11627
  case y.PieSeries:
11628
- if (q(r.series) === g.PieFromFields) {
11628
+ if (q(r.series) === b.PieFromFields) {
11629
11629
  const { x: v, y: S } = r.series[0], w = ri(m);
11630
11630
  w.forEach((C) => {
11631
11631
  v in C && (C[Ce] = C[v], delete C[v]), S in C && (C[ze] = C[S], delete C[S]);
11632
11632
  }), h.data = { dataItems: w };
11633
11633
  } else
11634
11634
  h.data = { dataItems: m };
11635
- h.count = m.length, b = !0;
11635
+ h.count = m.length, g = !0;
11636
11636
  break;
11637
11637
  case y.BoxPlotSeries:
11638
11638
  h = await Ch(t);
@@ -11646,7 +11646,7 @@ async function Fh(t) {
11646
11646
  setTimeBinningInfoWhenNotProvided: l?.setTimeBinningInfoWhenNotProvided,
11647
11647
  seriesConfig: u[0]
11648
11648
  }))
11649
- h.data = { dataItems: m }, h.count = m.length * u.length, b = !0;
11649
+ h.data = { dataItems: m }, h.count = m.length * u.length, g = !0;
11650
11650
  else {
11651
11651
  const v = { ...i };
11652
11652
  if (n !== void 0 && n.length > 0) {
@@ -11703,7 +11703,7 @@ async function Fh(t) {
11703
11703
  break;
11704
11704
  }
11705
11705
  }
11706
- return b && h.data !== void 0 && Ei({
11706
+ return g && h.data !== void 0 && Ei({
11707
11707
  arrayToSort: "dataItems" in h.data ? h.data.dataItems : h.data,
11708
11708
  chartConfig: r
11709
11709
  }), h;
@@ -11852,7 +11852,7 @@ async function Ah(t) {
11852
11852
  const { seriesData: e, chartConfig: i, queryConfig: r, queryObject: n, categoryOrDateCount: s, behaviorAfterLimit: a, abortKey: o } = t, { series: l } = i;
11853
11853
  let d = e;
11854
11854
  const c = q(l), u = ct(i);
11855
- if (a !== Ft.RenderUpToTheLimit && n !== void 0 && s !== void 0 && s > e.length && c !== g.BarAndLineFromFields && c !== g.BarAndLineNoAggregation && c !== g.PieNoAggregation && u === y.CategoryAxisFormat) {
11855
+ if (a !== Ft.RenderUpToTheLimit && n !== void 0 && s !== void 0 && s > e.length && c !== b.BarAndLineFromFields && c !== b.BarAndLineNoAggregation && c !== b.PieNoAggregation && u === y.CategoryAxisFormat) {
11856
11856
  const { x: p } = l[0], f = {
11857
11857
  ...r,
11858
11858
  returnDistinctValues: !0,
@@ -11864,7 +11864,7 @@ async function Ah(t) {
11864
11864
  queryConfig: f,
11865
11865
  featureCount: s,
11866
11866
  abortKey: o
11867
- })).map((b) => b.attributes[p]).filter((b) => b != null);
11867
+ })).map((g) => g.attributes[p]).filter((g) => g != null);
11868
11868
  m.length > e.length && (d = Ih(m, e, p));
11869
11869
  }
11870
11870
  return d;
@@ -11885,13 +11885,13 @@ function Lh(t, e) {
11885
11885
  return i;
11886
11886
  }
11887
11887
  const Do = [
11888
- g.BarAndLineMonoField,
11889
- g.BarAndLineMultiFields,
11890
- g.PieNoAggregation,
11891
- g.PieFromCategory,
11892
- g.BoxPlotMonoFieldAndCategory,
11893
- g.BoxPlotMultiFieldsAndCategory,
11894
- g.BoxPlotMonoFieldAndCategoryAndSplitBy
11888
+ b.BarAndLineMonoField,
11889
+ b.BarAndLineMultiFields,
11890
+ b.PieNoAggregation,
11891
+ b.PieFromCategory,
11892
+ b.BoxPlotMonoFieldAndCategory,
11893
+ b.BoxPlotMultiFieldsAndCategory,
11894
+ b.BoxPlotMonoFieldAndCategoryAndSplitBy
11895
11895
  ], Oh = 8e3;
11896
11896
  function Bo(t, e) {
11897
11897
  let i = t;
@@ -12008,14 +12008,14 @@ function Ph(t) {
12008
12008
  let u, p;
12009
12009
  if (Qe(d) && (p = d.temporalBinning?.nullPolicy, u = d.temporalBinning?.timeAggregationType), l > 1 || o === E.Week || o === E.Month || o === E.Year) {
12010
12010
  const { query: f } = i[0], h = xe(i), { statisticType: m } = f?.outStatistics?.[0] ?? mn;
12011
- let b = !1, v = u === de.End ? e.length - 1 : 0;
12011
+ let g = !1, v = u === de.End ? e.length - 1 : 0;
12012
12012
  const S = {
12013
12013
  binFirstOrLastIndex: v,
12014
12014
  data: e,
12015
12015
  x: c,
12016
12016
  timeIntervalInfo: r
12017
12017
  };
12018
- for (; !b; ) {
12018
+ for (; !g; ) {
12019
12019
  let w = {};
12020
12020
  const { binStartDate: C, binEndDate: F, last: T, nextBinFirstOrLastIndex: O, sliceStartIndex: L, sliceEndIndex: B } = u === de.End ? (
12021
12021
  // When grouping from the end we'll start from the last date and move backward to create the bins
@@ -12024,7 +12024,7 @@ function Ph(t) {
12024
12024
  // When grouping from the start we'll start from the first date and move forward to create the bins
12025
12025
  Dh(S)
12026
12026
  );
12027
- if (b = T, w = u === de.End ? w = e[B - 1] : w = e[v], F > s && C < s || C < n && F > n || C >= n && F <= s) {
12027
+ if (g = T, w = u === de.End ? w = e[B - 1] : w = e[v], F > s && C < s || C < n && F > n || C >= n && F <= s) {
12028
12028
  const N = e.slice(L, B).filter((W) => !(x.dateBinModel in W));
12029
12029
  h.forEach((W) => {
12030
12030
  w[W] = Nh({ binsToRegroup: N, statisticType: m, y: W, nullPolicy: p });
@@ -12037,15 +12037,15 @@ function Ph(t) {
12037
12037
  u === de.End && (a = a.reverse());
12038
12038
  } else l === 1 ? a = e.map((f, h) => {
12039
12039
  const m = f[c];
12040
- let b = e[h + 1]?.[c];
12041
- return b = typeof b == "number" ? b - 1 : Ct({
12040
+ let g = e[h + 1]?.[c];
12041
+ return g = typeof g == "number" ? g - 1 : Ct({
12042
12042
  date: m,
12043
12043
  unit: o,
12044
12044
  size: l,
12045
12045
  nextOrPrevious: "next"
12046
12046
  }), {
12047
12047
  ...f,
12048
- [x.dateBinningRange]: [m, b]
12048
+ [x.dateBinningRange]: [m, g]
12049
12049
  };
12050
12050
  }) : a = e;
12051
12051
  return a;
@@ -12105,31 +12105,31 @@ function Mh(t) {
12105
12105
  l === E.Week && (h *= 7);
12106
12106
  const m = Po(s);
12107
12107
  if (c === de.End) {
12108
- let b = n[0][d];
12108
+ let g = n[0][d];
12109
12109
  for (let v = 0; v < h; v += 1)
12110
- b = Ct({
12111
- date: b,
12110
+ g = Ct({
12111
+ date: g,
12112
12112
  unit: l,
12113
12113
  size: 1,
12114
12114
  nextOrPrevious: "previous"
12115
12115
  }), n.push({
12116
12116
  ...m,
12117
- [d]: b,
12118
- [x.xAxisField]: b
12117
+ [d]: g,
12118
+ [x.xAxisField]: g
12119
12119
  });
12120
12120
  h > 0 && (u = n[n.length - 1][d]);
12121
12121
  } else {
12122
- let b = n[n.length - 1][d];
12122
+ let g = n[n.length - 1][d];
12123
12123
  for (let v = 0; v < h; v += 1)
12124
- b = Ct({
12125
- date: b,
12124
+ g = Ct({
12125
+ date: g,
12126
12126
  unit: l,
12127
12127
  size: 1,
12128
12128
  nextOrPrevious: "next"
12129
12129
  }), n.push({
12130
12130
  ...m,
12131
- [d]: b,
12132
- [x.xAxisField]: b
12131
+ [d]: g,
12132
+ [x.xAxisField]: g
12133
12133
  });
12134
12134
  p = n[n.length - 1][d];
12135
12135
  }
@@ -12186,13 +12186,13 @@ function $h(t) {
12186
12186
  unit: l
12187
12187
  })) {
12188
12188
  const { x: u } = r[0], p = r[0].temporalBinning?.timeAggregationType, f = Po(r);
12189
- let m = p === de.End ? i : e, b = p === de.End ? n.length - 1 : 0;
12190
- for (; b < n.length && (p === de.End && m > e || p !== de.End && m < i); )
12191
- m !== n[b][u] ? d.push({
12189
+ let m = p === de.End ? i : e, g = p === de.End ? n.length - 1 : 0;
12190
+ for (; g < n.length && (p === de.End && m > e || p !== de.End && m < i); )
12191
+ m !== n[g][u] ? d.push({
12192
12192
  ...f,
12193
12193
  [u]: m,
12194
12194
  [x.xAxisField]: m
12195
- }) : b = p === de.End ? b - 1 : b + 1, m = Ct({
12195
+ }) : g = p === de.End ? g - 1 : g + 1, m = Ct({
12196
12196
  date: m,
12197
12197
  unit: l === E.Month || l === E.Year ? E.Day : l,
12198
12198
  size: 1,
@@ -12245,7 +12245,7 @@ function* Wh(t) {
12245
12245
  ];
12246
12246
  let p = Et.groupByCaseBegin;
12247
12247
  for (let h = 0; h < n.length; h += 1) {
12248
- const m = n[h], [b, v] = m[x.dateBinningRange], S = si(b), w = si(v);
12248
+ const m = n[h], [g, v] = m[x.dateBinningRange], S = si(g), w = si(v);
12249
12249
  p = qh({
12250
12250
  groupByFieldsForStatistics: p,
12251
12251
  queryStartDate: S,
@@ -12296,10 +12296,10 @@ async function Vh(t) {
12296
12296
  return s;
12297
12297
  }
12298
12298
  async function jh(t) {
12299
- const { chartConfig: e, queryResults: i, mapToStatField: r, splitByField: n, x: s, y: a, nullPolicy: o, queryObject: l } = t, d = jo(s), u = (await De(l)).find((b) => b.name === s)?.type, p = [], f = e.series[0], h = "temporalBinning" in f ? f.temporalBinning?.trimIncompleteTimeInterval : !1, m = "temporalBinning" in f ? f.temporalBinning?.timeAggregationType : !1;
12300
- return i.forEach((b, v) => {
12299
+ const { chartConfig: e, queryResults: i, mapToStatField: r, splitByField: n, x: s, y: a, nullPolicy: o, queryObject: l } = t, d = jo(s), u = (await De(l)).find((g) => g.name === s)?.type, p = [], f = e.series[0], h = "temporalBinning" in f ? f.temporalBinning?.trimIncompleteTimeInterval : !1, m = "temporalBinning" in f ? f.temporalBinning?.timeAggregationType : !1;
12300
+ return i.forEach((g, v) => {
12301
12301
  if (!(h && (v === 0 && m === de.End || v === i.length - 1 && m === de.Start))) {
12302
- const { attributes: w, stackedAttributes: C } = b;
12302
+ const { attributes: w, stackedAttributes: C } = g;
12303
12303
  let F = w[d.lowerBoundaryAlias], T = w[d.upperBoundaryAlias];
12304
12304
  const O = F, L = T, B = (A, $) => {
12305
12305
  let W = A;
@@ -12338,7 +12338,7 @@ async function jh(t) {
12338
12338
  }
12339
12339
  }) : N(A, a);
12340
12340
  const { featureExtent: $, featureExtentKey: W } = Mo({
12341
- feature: b,
12341
+ feature: g,
12342
12342
  splitByField: n
12343
12343
  });
12344
12344
  $ && (A[W] = $), p.push(A);
@@ -12407,8 +12407,8 @@ function Uh(t) {
12407
12407
  ({ unit: r } = c);
12408
12408
  const f = l / u, h = p.findIndex(
12409
12409
  (v) => v >= f
12410
- ), m = p[h], b = h === 0 ? p[0] : p[h - 1];
12411
- n = m - f < f - b ? m : b;
12410
+ ), m = p[h], g = h === 0 ? p[0] : p[h - 1];
12411
+ n = m - f < f - g ? m : g;
12412
12412
  }
12413
12413
  return { size: n, unit: r };
12414
12414
  }
@@ -12442,7 +12442,7 @@ function Mo(t) {
12442
12442
  e.aggregateGeometries && "Extent" in e.aggregateGeometries ? n = e.aggregateGeometries.Extent : { extent: n } = e.aggregateGeometries ?? e.geometry ?? {};
12443
12443
  const s = n?.toJSON();
12444
12444
  let a = rt;
12445
- return s !== void 0 && i !== void 0 && r !== void 0 && r === g.BarAndLineSplitBy && (a = e.attributes[i] !== void 0 ? `${rt}_${e.attributes[i]}` : rt), { featureExtent: s, featureExtentKey: a };
12445
+ return s !== void 0 && i !== void 0 && r !== void 0 && r === b.BarAndLineSplitBy && (a = e.attributes[i] !== void 0 ? `${rt}_${e.attributes[i]}` : rt), { featureExtent: s, featureExtentKey: a };
12446
12446
  }
12447
12447
  function Qh(t) {
12448
12448
  const { input: e, x: i, splitByField: r } = t;
@@ -12535,33 +12535,33 @@ function ty(t, e) {
12535
12535
  function iy(t, e) {
12536
12536
  let i = 1;
12537
12537
  switch (t) {
12538
- case g.BarAndLineFromFields:
12539
- case g.PieFromFields:
12538
+ case b.BarAndLineFromFields:
12539
+ case b.PieFromFields:
12540
12540
  i = e.series[0].query?.outStatistics?.length ?? 1;
12541
12541
  break;
12542
- case g.BoxPlotMultiFields:
12543
- case g.BoxPlotMultiFieldsAndSplitBy:
12542
+ case b.BoxPlotMultiFields:
12543
+ case b.BoxPlotMultiFieldsAndSplitBy:
12544
12544
  i = e.series[0].y.length;
12545
12545
  break;
12546
- case g.BarAndLineNoAggregation:
12547
- case g.BoxPlotMonoField:
12548
- case g.BoxPlotMonoFieldAndCategory:
12549
- case g.BoxPlotMultiFieldsAndCategory:
12550
- case g.BoxPlotMonoFieldAndSplitBy:
12551
- case g.BoxPlotMonoFieldAndCategoryAndSplitBy:
12552
- case g.PieFromCategory:
12553
- case g.BarAndLineSplitByNoAggregation:
12554
- case g.PieNoAggregation:
12555
- case g.BarAndLineSplitBy:
12556
- case g.BarAndLineMonoField:
12557
- case g.BarAndLineMultiFields:
12558
- case g.NonSpecific:
12546
+ case b.BarAndLineNoAggregation:
12547
+ case b.BoxPlotMonoField:
12548
+ case b.BoxPlotMonoFieldAndCategory:
12549
+ case b.BoxPlotMultiFieldsAndCategory:
12550
+ case b.BoxPlotMonoFieldAndSplitBy:
12551
+ case b.BoxPlotMonoFieldAndCategoryAndSplitBy:
12552
+ case b.PieFromCategory:
12553
+ case b.BarAndLineSplitByNoAggregation:
12554
+ case b.PieNoAggregation:
12555
+ case b.BarAndLineSplitBy:
12556
+ case b.BarAndLineMonoField:
12557
+ case b.BarAndLineMultiFields:
12558
+ case b.NonSpecific:
12559
12559
  }
12560
12560
  return i;
12561
12561
  }
12562
12562
  function ry(t) {
12563
12563
  const { attributes: e, showMean: i, chartSubType: r } = t;
12564
- i && (r === g.BoxPlotMonoFieldAndSplitBy || r === g.BoxPlotMultiFieldsAndSplitBy || r === g.BoxPlotMonoFieldAndCategoryAndSplitBy) && (e[x.boxPlot.boxPlotMeanLineMarkerId] = !0);
12564
+ i && (r === b.BoxPlotMonoFieldAndSplitBy || r === b.BoxPlotMultiFieldsAndSplitBy || r === b.BoxPlotMonoFieldAndCategoryAndSplitBy) && (e[x.boxPlot.boxPlotMeanLineMarkerId] = !0);
12565
12565
  }
12566
12566
  function ny(t) {
12567
12567
  const { queryResponse: e, chartConfig: i, maxCategoryCount: r } = t, n = q(i.series);
@@ -12571,7 +12571,7 @@ function sy(t) {
12571
12571
  const { attributes: e, uniqueCategoryList: i, maxCategoryCount: r, x: n, chartSubType: s } = t;
12572
12572
  let a = !1;
12573
12573
  if (n && r && Number.isFinite(r) && !Do.includes(s))
12574
- if ((s === g.BarAndLineFromFields || s === g.PieFromFields) && Object.keys(e).length > r)
12574
+ if ((s === b.BarAndLineFromFields || s === b.PieFromFields) && Object.keys(e).length > r)
12575
12575
  Object.keys(e).filter((o) => o !== I.EnvelopeAggregate).forEach((o, l) => {
12576
12576
  l >= r && delete e[o];
12577
12577
  });
@@ -12594,7 +12594,7 @@ function ko(t) {
12594
12594
  showMean: d,
12595
12595
  chartLimits: c,
12596
12596
  fieldList: u
12597
- } = t, { series: p } = i, f = q(p), h = V(p), { x: m } = p[0], b = "y" in p[0] ? p[0].y : void 0, v = p[0].query?.outStatistics ?? [], { originalCategoryValue: S, originalDateValue: w, typeOrDomainFieldName: C, typeOrDomainIdValue: F } = x, T = Ey(u), O = [];
12597
+ } = t, { series: p } = i, f = q(p), h = V(p), { x: m } = p[0], g = "y" in p[0] ? p[0].y : void 0, v = p[0].query?.outStatistics ?? [], { originalCategoryValue: S, originalDateValue: w, typeOrDomainFieldName: C, typeOrDomainIdValue: F } = x, T = Ey(u), O = [];
12598
12598
  let L = 0;
12599
12599
  const B = /* @__PURE__ */ new Set(), { maxCategoryCount: N } = Wt(c), A = ny({ queryResponse: e, chartConfig: i, maxCategoryCount: N });
12600
12600
  for (let $ = 0; A[$] && $ < A.length && !(l !== void 0 && L >= l); $ += 1) {
@@ -12603,24 +12603,24 @@ function ko(t) {
12603
12603
  let P = { ...W.attributes };
12604
12604
  if (sy({ attributes: P, uniqueCategoryList: B, maxCategoryCount: N, x: m, chartSubType: f }))
12605
12605
  continue;
12606
- Kh(P, p), f === g.PieFromFields || f === g.BarAndLineFromFields ? P = Xh(P, v) : typeof b == "string" && f === g.BarAndLineSplitByNoAggregation ? ey({ dataItem: P, splitByField: n, y: b, fieldOID: T }) : b && (f === g.BoxPlotMonoField || f === g.BoxPlotMonoFieldAndCategory || f === g.BoxPlotMonoFieldAndSplitBy || f === g.BoxPlotMonoFieldAndCategoryAndSplitBy) && ty(
12606
+ Kh(P, p), f === b.PieFromFields || f === b.BarAndLineFromFields ? P = Xh(P, v) : typeof g == "string" && f === b.BarAndLineSplitByNoAggregation ? ey({ dataItem: P, splitByField: n, y: g, fieldOID: T }) : g && (f === b.BoxPlotMonoField || f === b.BoxPlotMonoFieldAndCategory || f === b.BoxPlotMonoFieldAndSplitBy || f === b.BoxPlotMonoFieldAndCategoryAndSplitBy) && ty(
12607
12607
  P,
12608
- typeof b == "string" ? b : b[0]
12608
+ typeof g == "string" ? g : g[0]
12609
12609
  ), ry({ attributes: P, showMean: d, chartSubType: f });
12610
12610
  let j = P[m];
12611
- j === null && p[0]?.query?.fetchNullValues === !0 && f !== g.PieFromFields && (P[S] = null, j = x.nullValue), s && typeof j == "string" ? j = new Date(j).valueOf() : a && (j = Hh(P));
12611
+ j === null && p[0]?.query?.fetchNullValues === !0 && f !== b.PieFromFields && (P[S] = null, j = x.nullValue), s && typeof j == "string" ? j = new Date(j).valueOf() : a && (j = Hh(P));
12612
12612
  const { outStatisticFieldName: ue } = ce.outStatistics ?? {}, { featureExtent: ft, featureExtentKey: U } = Mo({ feature: W, splitByField: n, chartSubType: f });
12613
- if (ft && (P[U] = ft), f === g.BarAndLineSplitBy && ue !== void 0) {
12613
+ if (ft && (P[U] = ft), f === b.BarAndLineSplitBy && ue !== void 0) {
12614
12614
  const Ye = P[n], We = r?.get(Ye);
12615
12615
  We !== void 0 && (Ye === n && (P[x.technicalFieldSplitByField] = P[We]), P[We] = P[ue]), delete P[ue];
12616
- } else (f === g.PieNoAggregation || f === g.BarAndLineNoAggregation || f === g.BarAndLineSplitByNoAggregation) && (s ? P[w] = j : j !== x.nullValue && (P[S] = j), au({ isXAxis: !0, chartType: h, valueFormat: i.axes?.[0]?.valueFormat }) && (P[x.xAxisField] = `${j}-${$}`), P[ce.uniqueIdsName] = W.getObjectId());
12616
+ } else (f === b.PieNoAggregation || f === b.BarAndLineNoAggregation || f === b.BarAndLineSplitByNoAggregation) && (s ? P[w] = j : j !== x.nullValue && (P[S] = j), au({ isXAxis: !0, chartType: h, valueFormat: i.axes?.[0]?.valueFormat }) && (P[x.xAxisField] = `${j}-${$}`), P[ce.uniqueIdsName] = W.getObjectId());
12617
12617
  const Be = Ry({
12618
12618
  subtypeInfo: o,
12619
12619
  fieldList: u,
12620
12620
  fieldName: m,
12621
12621
  fieldValueToMatch: j
12622
12622
  });
12623
- Be !== void 0 && Be !== j && f !== g.PieFromFields && (P[S] = Be, P[C] = m, P[F] = j), h === y.BoxPlotSeries && (P = Jh(p, P)), h === y.PieSeries && typeof j == "number" && (P[S] === void 0 && (P[S] = P[m]), j = `${j}`), j !== void 0 && (P[S] === void 0 && (P[S] = P[m]), P[m] = Be ?? j, P[m] === null && (P[m] = x.nullValue), P[x.xAxisField] === void 0 && (P[x.xAxisField] = P[F] ?? P[m])), P = Yh(P, i), O.push(P);
12623
+ Be !== void 0 && Be !== j && f !== b.PieFromFields && (P[S] = Be, P[C] = m, P[F] = j), h === y.BoxPlotSeries && (P = Jh(p, P)), h === y.PieSeries && typeof j == "number" && (P[S] === void 0 && (P[S] = P[m]), j = `${j}`), j !== void 0 && (P[S] === void 0 && (P[S] = P[m]), P[m] = Be ?? j, P[m] === null && (P[m] = x.nullValue), P[x.xAxisField] === void 0 && (P[x.xAxisField] = P[F] ?? P[m])), P = Yh(P, i), O.push(P);
12624
12624
  }
12625
12625
  return O;
12626
12626
  }
@@ -12639,14 +12639,14 @@ async function Tr(t) {
12639
12639
  preFetchedQueryResponse: u
12640
12640
  } = t, { series: p } = r, f = q(p);
12641
12641
  let h = [];
12642
- const m = f === g.BarAndLineSplitBy || f === g.BarAndLineSplitByNoAggregation ? ge(p[0].query?.where) : "", b = u ?? await qe({
12642
+ const m = f === b.BarAndLineSplitBy || f === b.BarAndLineSplitByNoAggregation ? ge(p[0].query?.where) : "", g = u ?? await qe({
12643
12643
  queryObject: e,
12644
12644
  queryConfig: i,
12645
12645
  featureCount: a,
12646
12646
  abortKey: s
12647
12647
  }), v = await De(e, c), S = $y(v), { x: w } = p[0], C = S.includes(w), F = Zo(e);
12648
12648
  return h = ko({
12649
- queryResponse: b,
12649
+ queryResponse: g,
12650
12650
  chartConfig: r,
12651
12651
  mapToStatField: n,
12652
12652
  splitByField: m,
@@ -12657,7 +12657,7 @@ async function Tr(t) {
12657
12657
  resultLimit: i.num,
12658
12658
  showMean: l,
12659
12659
  chartLimits: d
12660
- }), f !== g.BarAndLineSplitByNoAggregation && f !== g.BarAndLineFromFields && (m !== "" && (h = Ai({ data: h, x: w, splitByField: m })), h = Zh(
12660
+ }), f !== b.BarAndLineSplitByNoAggregation && f !== b.BarAndLineFromFields && (m !== "" && (h = Ai({ data: h, x: w, splitByField: m })), h = Zh(
12661
12661
  h,
12662
12662
  p
12663
12663
  )), h;
@@ -12665,10 +12665,10 @@ async function Tr(t) {
12665
12665
  async function Eo(t) {
12666
12666
  const { chartConfig: e, queryObject: i, queryConfig: r, numberMaxOfFeaturesToFetch: n, behaviorAfterLimit: s, isGaugeByFeature: a } = t, { series: o } = e, l = q(o), { x: d } = o[0], c = o.length;
12667
12667
  let u, p;
12668
- if (l === g.BoxPlotMonoField || l === g.BoxPlotMonoFieldAndSplitBy ? (p = c, u = p) : l === g.BoxPlotMultiFields || l === g.BoxPlotMultiFieldsAndSplitBy ? (p = e.series[0].y.length, u = p) : l === g.PieFromFields || l === g.BarAndLineFromFields ? (p = o[0].query?.outStatistics?.filter(
12668
+ if (l === b.BoxPlotMonoField || l === b.BoxPlotMonoFieldAndSplitBy ? (p = c, u = p) : l === b.BoxPlotMultiFields || l === b.BoxPlotMultiFieldsAndSplitBy ? (p = e.series[0].y.length, u = p) : l === b.PieFromFields || l === b.BarAndLineFromFields ? (p = o[0].query?.outStatistics?.filter(
12669
12669
  (f) => f.statisticType !== I.EnvelopeAggregate
12670
12670
  ).length ?? 0, u = p) : u = await xy({ queryObject: i, x: d, chartSubType: l, queryConfig: r, isGaugeByFeature: a }), u !== void 0) {
12671
- const f = l === g.BoxPlotMonoField || l === g.BoxPlotMonoFieldAndCategory || l === g.BoxPlotMonoFieldAndSplitBy;
12671
+ const f = l === b.BoxPlotMonoField || l === b.BoxPlotMonoFieldAndCategory || l === b.BoxPlotMonoFieldAndSplitBy;
12672
12672
  p = on(l) && !f ? u * c : u;
12673
12673
  }
12674
12674
  return s === Ft.RenderUpToTheLimit && p !== void 0 && n !== void 0 && n < p && (p = n, u = Math.ceil(p / c)), { categoryOrDateCount: u, elementCount: p };
@@ -12686,7 +12686,7 @@ function Ei(t) {
12686
12686
  else if (d !== void 0 && e !== void 0 && e.length > 1) {
12687
12687
  const { orderBy: c } = d;
12688
12688
  let { sortingField: u } = d;
12689
- const p = i.orderOptions?.data?.orderType === Ae.Category, f = d.preferLabel !== !1, h = a === g.BarAndLineFromFields || a === g.PieFromFields || a === g.BoxPlotMultiFields || a === g.BoxPlotMultiFieldsAndSplitBy, m = h || o === y.PieSeries, b = a === g.PieNoAggregation || a === g.BarAndLineNoAggregation || a === g.BarAndLineSplitByNoAggregation, v = h ? !1 : e?.length > 0 && e.some((S) => Object.hasOwn(S, x.typeOrDomainIdValue));
12689
+ const p = i.orderOptions?.data?.orderType === Ae.Category, f = d.preferLabel !== !1, h = a === b.BarAndLineFromFields || a === b.PieFromFields || a === b.BoxPlotMultiFields || a === b.BoxPlotMultiFieldsAndSplitBy, m = h || o === y.PieSeries, g = a === b.PieNoAggregation || a === b.BarAndLineNoAggregation || a === b.BarAndLineSplitByNoAggregation, v = h ? !1 : e?.length > 0 && e.some((S) => Object.hasOwn(S, x.typeOrDomainIdValue));
12690
12690
  if (p && (!f || (o === y.LineSeries || o === y.RadarSeries) && l === y.NumberAxisFormat) && (v ? u = x.typeOrDomainIdValue : m && (u = x.originalCategoryValue)), Array.isArray(c))
12691
12691
  tp({
12692
12692
  arrayToSort: e,
@@ -12703,7 +12703,7 @@ function Ei(t) {
12703
12703
  orderBy: c,
12704
12704
  sortingField: u,
12705
12705
  forceAscendingOrder: S,
12706
- isNonAggregated: b,
12706
+ isNonAggregated: g,
12707
12707
  sortByCategory: p,
12708
12708
  preferLabel: f,
12709
12709
  isPieOrByFieldsChart: m
@@ -12723,7 +12723,7 @@ async function hn(t) {
12723
12723
  fieldList: o,
12724
12724
  preFetchedQueryResponse: l
12725
12725
  } = t, d = "showMean" in e && typeof e.showMean == "boolean" ? e.showMean : !1, { chartLimits: c, usePopupTemplateFieldsInfo: u } = n ?? {}, p = n?.replaceNoValueCategoryWithZero ?? x.options.replaceNoValueCategoryWithZero, { behaviorAfterLimit: f } = c ?? {}, h = { valid: !0 };
12726
- let m, b = !1;
12726
+ let m, g = !1;
12727
12727
  const v = e.series, S = v[0], w = q(e.series);
12728
12728
  if (S !== void 0 && s !== void 0) {
12729
12729
  const C = V(v), { uniqueQuery: F, mapToStatField: T } = await Bn({
@@ -12768,22 +12768,22 @@ async function hn(t) {
12768
12768
  elementCount: L,
12769
12769
  chartLimits: c,
12770
12770
  abortKey: a
12771
- }), c?.maxBoxPlotOutlierLimit !== void 0 && (N = (h.data.outliers ?? []).length <= c.maxBoxPlotOutlierLimit, b = !N)), B && (O = m.length, L = on(w) ? O * v.length : O, N = nt({
12771
+ }), c?.maxBoxPlotOutlierLimit !== void 0 && (N = (h.data.outliers ?? []).length <= c.maxBoxPlotOutlierLimit, g = !N)), B && (O = m.length, L = on(w) ? O * v.length : O, N = nt({
12772
12772
  count: L,
12773
12773
  seriesCount: v.length,
12774
12774
  chartType: C,
12775
12775
  chartLimits: c
12776
12776
  })), N)) {
12777
12777
  if (C === y.PieSeries) {
12778
- w === g.PieFromFields && (m = pr({
12778
+ w === b.PieFromFields && (m = pr({
12779
12779
  dataToConvert: m[0],
12780
12780
  x: Ce,
12781
12781
  y: ze,
12782
12782
  fieldList: o
12783
12783
  }));
12784
12784
  let A = "";
12785
- w === g.PieFromFields ? A = ze : "y" in S && typeof S.y == "string" && (A = S.y), dp(m, A) ? h.data = { dataItems: m } : ff(h, G.PieChartMixOfNegativePositiveSlices);
12786
- } else if ((C === y.RadarSeries || C === y.BarSeries || C === y.LineSeries || C === y.ComboLineAndBarSeries) && (w === g.BarAndLineFromFields && "y" in S && typeof S.y == "string" ? m = pr({
12785
+ w === b.PieFromFields ? A = ze : "y" in S && typeof S.y == "string" && (A = S.y), dp(m, A) ? h.data = { dataItems: m } : ff(h, G.PieChartMixOfNegativePositiveSlices);
12786
+ } else if ((C === y.RadarSeries || C === y.BarSeries || C === y.LineSeries || C === y.ComboLineAndBarSeries) && (w === b.BarAndLineFromFields && "y" in S && typeof S.y == "string" ? m = pr({
12787
12787
  dataToConvert: m[0],
12788
12788
  x: S.x,
12789
12789
  y: S.y,
@@ -12811,7 +12811,7 @@ async function hn(t) {
12811
12811
  h.data = { dataItems: m, timeIntervalInfo: A };
12812
12812
  }
12813
12813
  }
12814
- N || yr({ dataInfo: h, chartType: C, subError: { outlierLimit: b } }), h.count = L;
12814
+ N || yr({ dataInfo: h, chartType: C, subError: { outlierLimit: g } }), h.count = L;
12815
12815
  }
12816
12816
  return h;
12817
12817
  }
@@ -12833,7 +12833,7 @@ async function $o(t) {
12833
12833
  let d;
12834
12834
  const c = e.series[0], { nullPolicy: u } = "nullPolicy" in e ? e : {};
12835
12835
  if (c.type === y.HeatSeries) {
12836
- const { x: p, y: f, query: h, yTemporalBinning: m } = c, b = h?.outStatistics?.[0]?.outStatisticFieldName ?? "";
12836
+ const { x: p, y: f, query: h, yTemporalBinning: m } = c, g = h?.outStatistics?.[0]?.outStatisticFieldName ?? "";
12837
12837
  if (go(e)) {
12838
12838
  const v = await vy({
12839
12839
  chartConfig: e,
@@ -12897,7 +12897,7 @@ async function $o(t) {
12897
12897
  L.push(N), F.push({
12898
12898
  [z.xField]: `${T.lowerBoundary}`,
12899
12899
  [z.yField]: N,
12900
- [z.valueField]: B[b]
12900
+ [z.valueField]: B[g]
12901
12901
  });
12902
12902
  }), n && S && L.length !== S?.length && S.filter((N) => !L.includes(N.toString())).forEach((N) => {
12903
12903
  F.push({
@@ -12947,9 +12947,9 @@ async function Mn(t) {
12947
12947
  const { chartConfig: e, queryConfig: i, queryObject: r, abortKey: n, options: s, preFetchedQueryResponse: a } = t, { chartLimits: o, usePopupTemplateFieldsInfo: l } = s ?? {}, { behaviorAfterLimit: d } = o ?? {}, c = e.series, u = c[0], { x: p } = u, f = ge(u.query?.where), h = { valid: !0 };
12948
12948
  let m;
12949
12949
  if (Qe(u)) {
12950
- const { temporalBinning: b } = u;
12951
- if (r && b) {
12952
- const { unit: v, size: S } = b;
12950
+ const { temporalBinning: g } = u;
12951
+ if (r && g) {
12952
+ const { unit: v, size: S } = g;
12953
12953
  let w = 1, C = { unit: v, size: S }, F = !1;
12954
12954
  const T = Gh({
12955
12955
  series: u,
@@ -12960,7 +12960,7 @@ async function Mn(t) {
12960
12960
  E.Hour,
12961
12961
  E.Minute,
12962
12962
  E.Second
12963
- ].includes(C.unit) && (C.unit = E.Day, C.size = 1), b.size = C.size, b.unit = C.unit);
12963
+ ].includes(C.unit) && (C.unit = E.Day, C.size = 1), g.size = C.size, g.unit = C.unit);
12964
12964
  const { uniqueQuery: L, mapToStatField: B } = await Bn({
12965
12965
  chartConfig: e,
12966
12966
  queryConfig: i,
@@ -12981,7 +12981,7 @@ async function Mn(t) {
12981
12981
  dateField: p,
12982
12982
  splitByField: f,
12983
12983
  queryConfig: L,
12984
- temporalBinning: b
12984
+ temporalBinning: g
12985
12985
  }), $ = "y" in u && typeof u.y == "string" ? u.y : void 0;
12986
12986
  if (m = await jh({
12987
12987
  chartConfig: e,
@@ -12990,7 +12990,7 @@ async function Mn(t) {
12990
12990
  splitByField: f,
12991
12991
  x: p,
12992
12992
  y: $,
12993
- nullPolicy: b.nullPolicy,
12993
+ nullPolicy: g.nullPolicy,
12994
12994
  queryObject: r
12995
12995
  }), !nt({
12996
12996
  count: m.length,
@@ -13304,9 +13304,9 @@ function gy(t) {
13304
13304
  async function by(t) {
13305
13305
  const { queryObject: e, queryConfig: i, outputFormat: r, dataFormat: n, outAnalytics: s } = t, { where: a, geometry: o, distance: l, units: d, timeExtent: c } = i;
13306
13306
  let u;
13307
- const p = Z(e), f = fe(p), m = { query: { where: K([a, f.definitionExpression]) } }, b = Ir(o)?.extent?.toJSON();
13308
- if (b !== void 0) {
13309
- const S = gy(d), { xmin: w, ymin: C, xmax: F, ymax: T } = b;
13307
+ const p = Z(e), f = fe(p), m = { query: { where: K([a, f.definitionExpression]) } }, g = Ir(o)?.extent?.toJSON();
13308
+ if (g !== void 0) {
13309
+ const S = gy(d), { xmin: w, ymin: C, xmax: F, ymax: T } = g;
13310
13310
  m.query = {
13311
13311
  ...m.query,
13312
13312
  geometryType: "esriGeometryEnvelope",
@@ -13410,14 +13410,14 @@ async function xy(t) {
13410
13410
  const { queryConfig: e, x: i, queryObject: r, chartSubType: n, isGaugeByFeature: s } = t, a = Z(r);
13411
13411
  let o;
13412
13412
  if (r !== void 0) {
13413
- const l = a.objectIdField, { where: d, gdbVersion: c, timeExtent: u, geometry: p, distance: f, units: h } = e, m = Oy(u), b = Ir(p), v = fe(a), S = K([d, v.definitionExpression]), w = {
13413
+ const l = a.objectIdField, { where: d, gdbVersion: c, timeExtent: u, geometry: p, distance: f, units: h } = e, m = Oy(u), g = Ir(p), v = fe(a), S = K([d, v.definitionExpression]), w = {
13414
13414
  returnDistinctValues: !0,
13415
13415
  // See issue #2653. We need a unique value for the outFields, no matter what it is, except "*", "" or multiple values.
13416
- outFields: s === !0 || n === g.PieNoAggregation || n === g.BarAndLineNoAggregation || n === g.BarAndLineSplitByNoAggregation ? [l] : [i],
13416
+ outFields: s === !0 || n === b.PieNoAggregation || n === b.BarAndLineNoAggregation || n === b.BarAndLineSplitByNoAggregation ? [l] : [i],
13417
13417
  where: S,
13418
13418
  gdbVersion: c ?? v.gdbVersion,
13419
13419
  timeExtent: m ?? v.timeExtent,
13420
- geometry: b
13420
+ geometry: g
13421
13421
  };
13422
13422
  _o(w) && (w.cacheHint = !0), w.geometry !== void 0 && En(a) && (f !== void 0 && (w.distance = f), h !== void 0 && (w.units = h));
13423
13423
  try {
@@ -13669,8 +13669,8 @@ function Ar(t) {
13669
13669
  (w) => w.statisticType !== I.EnvelopeAggregate || S
13670
13670
  ).map((w) => Ol.fromJSON(w));
13671
13671
  }
13672
- const b = Ir(a);
13673
- b !== void 0 && (u.geometry = b, i?.spatialRelationship && (u.spatialRelationship = i.spatialRelationship), En(p) && (o !== void 0 && (u.distance = o), l !== void 0 && (u.units = l)));
13672
+ const g = Ir(a);
13673
+ g !== void 0 && (u.geometry = g, i?.spatialRelationship && (u.spatialRelationship = i.spatialRelationship), En(p) && (o !== void 0 && (u.distance = o), l !== void 0 && (u.units = l)));
13674
13674
  let v;
13675
13675
  return d && (v = new $s({
13676
13676
  start: d?.[0],
@@ -13694,8 +13694,8 @@ async function By(t) {
13694
13694
  queryObject: e,
13695
13695
  queryConfig: i,
13696
13696
  queryType: "AttributeBinsQuery"
13697
- }), { unit: c, size: u, timeAggregationType: p, start: f, end: h, offset: m, outTimeZone: b } = r, v = jo(n);
13698
- if (d.lowerBoundaryAlias = v.lowerBoundaryAlias, d.upperBoundaryAlias = v.upperBoundaryAlias, l !== te.DateOnly && (d.outTimeZone = b ?? Intl.DateTimeFormat().resolvedOptions().timeZone), d.binParameters = {
13697
+ }), { unit: c, size: u, timeAggregationType: p, start: f, end: h, offset: m, outTimeZone: g } = r, v = jo(n);
13698
+ if (d.lowerBoundaryAlias = v.lowerBoundaryAlias, d.upperBoundaryAlias = v.upperBoundaryAlias, l !== te.DateOnly && (d.outTimeZone = g ?? Intl.DateTimeFormat().resolvedOptions().timeZone), d.binParameters = {
13699
13699
  type: "date",
13700
13700
  field: n,
13701
13701
  interval: { unit: c, value: u },
@@ -13787,8 +13787,8 @@ async function Ny(t) {
13787
13787
  xOrY: r,
13788
13788
  xOrYFieldType: c,
13789
13789
  addIntervalStatement: !1
13790
- }), { field: h, expression: m, start: b, end: v } = f;
13791
- h ? p.binParameters.field = h : m && (p.binParameters.expression = m, p.binParameters.expressionValueType = "integer", p.binParameters.type === "fixed-interval" && (b !== void 0 && (p.binParameters.start = b), v !== void 0 && (p.binParameters.end = v)));
13790
+ }), { field: h, expression: m, start: g, end: v } = f;
13791
+ h ? p.binParameters.field = h : m && (p.binParameters.expression = m, p.binParameters.expressionValueType = "integer", p.binParameters.type === "fixed-interval" && (g !== void 0 && (p.binParameters.start = g), v !== void 0 && (p.binParameters.end = v)));
13792
13792
  const S = Bs({
13793
13793
  temporalBinning: a,
13794
13794
  xOrY: n,
@@ -13945,9 +13945,9 @@ function yn(t, e) {
13945
13945
  const l = Object.entries(a ?? {}), d = [], u = l?.filter(([p, f]) => f?.type === "coded-value")?.map(([p, f]) => {
13946
13946
  let h = { fieldName: p, name: s, codedValues: d };
13947
13947
  if (f && "codedValues" in f) {
13948
- const m = f.codedValues.map(({ code: b, name: v }) => ({
13948
+ const m = f.codedValues.map(({ code: g, name: v }) => ({
13949
13949
  name: v,
13950
- code: b
13950
+ code: g
13951
13951
  }));
13952
13952
  h = {
13953
13953
  fieldName: p,
@@ -14066,7 +14066,7 @@ function _y(t) {
14066
14066
  spatialRelationship: h
14067
14067
  } = a ?? {}, {
14068
14068
  where: m,
14069
- gdbVersion: b,
14069
+ gdbVersion: g,
14070
14070
  timeExtent: v,
14071
14071
  geometry: S,
14072
14072
  distance: w,
@@ -14074,7 +14074,7 @@ function _y(t) {
14074
14074
  objectIds: F,
14075
14075
  spatialRelationship: T
14076
14076
  } = r ?? {}, O = s[0], { query: L } = O, { where: B } = L ?? {}, N = q(s), A = { ...L };
14077
- return A.where = K([o, m]), N !== g.BarAndLineSplitBy && N !== g.BoxPlotMonoFieldAndSplitBy && N !== g.BoxPlotMonoFieldAndCategoryAndSplitBy && N !== g.BoxPlotMultiFieldsAndSplitBy && N !== g.BarAndLineSplitByNoAggregation && (A.where = K([A.where, B])), i.orderOptions?.orderByFields !== void 0 && (A.orderByFields = i.orderOptions.orderByFields), A.gdbVersion = b ?? l, A.timeExtent = Ay(e, v ?? d), A.geometry = Ly({
14077
+ return A.where = K([o, m]), N !== b.BarAndLineSplitBy && N !== b.BoxPlotMonoFieldAndSplitBy && N !== b.BoxPlotMonoFieldAndCategoryAndSplitBy && N !== b.BoxPlotMultiFieldsAndSplitBy && N !== b.BarAndLineSplitByNoAggregation && (A.where = K([A.where, B])), i.orderOptions?.orderByFields !== void 0 && (A.orderByFields = i.orderOptions.orderByFields), A.gdbVersion = g ?? l, A.timeExtent = Ay(e, v ?? d), A.geometry = Ly({
14078
14078
  queryObject: e,
14079
14079
  defaultGeometry: S ?? c,
14080
14080
  ignoreViewExtent: n
@@ -14304,29 +14304,29 @@ function lt(t) {
14304
14304
  return s !== "" && a !== "" && (o = `${s}=${a}`), o;
14305
14305
  }
14306
14306
  function Ko(t) {
14307
- let e = g.PieFromCategory;
14308
- return t[0].query?.outStatistics === void 0 ? e = g.PieNoAggregation : t[0].query?.groupByFieldsForStatistics === void 0 && (e = g.PieFromFields), e;
14307
+ let e = b.PieFromCategory;
14308
+ return t[0].query?.outStatistics === void 0 ? e = b.PieNoAggregation : t[0].query?.groupByFieldsForStatistics === void 0 && (e = b.PieFromFields), e;
14309
14309
  }
14310
14310
  function Xo(t) {
14311
- let e = g.BarAndLineMonoField;
14311
+ let e = b.BarAndLineMonoField;
14312
14312
  const i = t[0].query?.where;
14313
- return t[0].query?.groupByFieldsForStatistics === void 0 && (t[0].query?.outStatistics ?? []).length > 0 ? e = g.BarAndLineFromFields : i === void 0 && t[0].query?.outStatistics === void 0 ? e = g.BarAndLineNoAggregation : st(i) ? t.length > 1 && (e = g.BarAndLineMultiFields) : e = t[0].query?.outStatistics === void 0 ? g.BarAndLineSplitByNoAggregation : g.BarAndLineSplitBy, e;
14313
+ return t[0].query?.groupByFieldsForStatistics === void 0 && (t[0].query?.outStatistics ?? []).length > 0 ? e = b.BarAndLineFromFields : i === void 0 && t[0].query?.outStatistics === void 0 ? e = b.BarAndLineNoAggregation : st(i) ? t.length > 1 && (e = b.BarAndLineMultiFields) : e = t[0].query?.outStatistics === void 0 ? b.BarAndLineSplitByNoAggregation : b.BarAndLineSplitBy, e;
14314
14314
  }
14315
14315
  function Ky(t) {
14316
- let e = g.BoxPlotMonoField;
14316
+ let e = b.BoxPlotMonoField;
14317
14317
  const i = t.length === 1, r = t.find((o) => o.type === y.LineSeries) ?? t[0], { x: n } = r, s = "y" in r ? r.y : "", a = r.query?.where;
14318
14318
  switch (n) {
14319
14319
  case fi:
14320
- typeof s == "object" && s.length > 1 ? st(a) ? i && (e = g.BoxPlotMultiFields) : e = g.BoxPlotMultiFieldsAndSplitBy : i ? e = g.BoxPlotMonoField : st(a) || (e = g.BoxPlotMonoFieldAndSplitBy);
14320
+ typeof s == "object" && s.length > 1 ? st(a) ? i && (e = b.BoxPlotMultiFields) : e = b.BoxPlotMultiFieldsAndSplitBy : i ? e = b.BoxPlotMonoField : st(a) || (e = b.BoxPlotMonoFieldAndSplitBy);
14321
14321
  break;
14322
14322
  default:
14323
- i ? e = g.BoxPlotMonoFieldAndCategory : st(a) ? e = g.BoxPlotMultiFieldsAndCategory : e = g.BoxPlotMonoFieldAndCategoryAndSplitBy;
14323
+ i ? e = b.BoxPlotMonoFieldAndCategory : st(a) ? e = b.BoxPlotMultiFieldsAndCategory : e = b.BoxPlotMonoFieldAndCategoryAndSplitBy;
14324
14324
  break;
14325
14325
  }
14326
14326
  return e;
14327
14327
  }
14328
14328
  function q(t) {
14329
- let e = g.NonSpecific;
14329
+ let e = b.NonSpecific;
14330
14330
  if (t?.[0] !== void 0)
14331
14331
  switch (V(t)) {
14332
14332
  case y.PieSeries:
@@ -14349,7 +14349,7 @@ function jt(t) {
14349
14349
  let n = !1;
14350
14350
  if (Qe(e) && e.binTemporalData !== !1 && i === y.DateAxisFormat) {
14351
14351
  const s = q([e]);
14352
- if (e.temporalBinning && s !== g.BarAndLineNoAggregation && s !== g.BarAndLineSplitByNoAggregation) {
14352
+ if (e.temporalBinning && s !== b.BarAndLineNoAggregation && s !== b.BarAndLineSplitByNoAggregation) {
14353
14353
  const { unit: a, size: o } = e.temporalBinning;
14354
14354
  n = r === !0 || o !== void 0 && o > 0 && a !== void 0;
14355
14355
  }
@@ -14398,7 +14398,7 @@ function il(t, e) {
14398
14398
  return Qe(t.series[0]) && Qe(e.series[0]) && (t.series[0].binTemporalData ?? x.binTemporalData) !== (e.series[0].binTemporalData ?? x.binTemporalData);
14399
14399
  }
14400
14400
  function rl(t, e) {
14401
- const i = t.axes?.[0].valueFormat.type, r = e.axes?.[0].valueFormat.type, n = q(e.series), s = n === g.BarAndLineNoAggregation || n === g.BarAndLineSplitByNoAggregation, a = i === y.DateAxisFormat && r === y.NumberAxisFormat, o = i === y.NumberAxisFormat && r === y.DateAxisFormat;
14401
+ const i = t.axes?.[0].valueFormat.type, r = e.axes?.[0].valueFormat.type, n = q(e.series), s = n === b.BarAndLineNoAggregation || n === b.BarAndLineSplitByNoAggregation, a = i === y.DateAxisFormat && r === y.NumberAxisFormat, o = i === y.NumberAxisFormat && r === y.DateAxisFormat;
14402
14402
  return i !== r && (s || a || o);
14403
14403
  }
14404
14404
  function tm(t) {
@@ -14452,12 +14452,12 @@ function Ab(t) {
14452
14452
  let r = !1;
14453
14453
  const n = e.series[0], s = i.series[0], a = V(e.series), o = V(i.series);
14454
14454
  if (a === y.PieSeries && o === y.PieSeries) {
14455
- const { slices: l, sliceGrouping: d } = n, { slices: c, sliceGrouping: u } = s, p = l?.map((b) => ({
14456
- sliceId: b.sliceId,
14457
- label: b.label
14458
- })), f = c?.map((b) => ({
14459
- sliceId: b.sliceId,
14460
- label: b.label
14455
+ const { slices: l, sliceGrouping: d } = n, { slices: c, sliceGrouping: u } = s, p = l?.map((g) => ({
14456
+ sliceId: g.sliceId,
14457
+ label: g.label
14458
+ })), f = c?.map((g) => ({
14459
+ sliceId: g.sliceId,
14460
+ label: g.label
14461
14461
  })), h = d?.label, m = u?.label;
14462
14462
  r = JSON.stringify(p) !== JSON.stringify(f) || JSON.stringify(h) !== JSON.stringify(m);
14463
14463
  }
@@ -14679,7 +14679,7 @@ function dl(t) {
14679
14679
  return t !== void 0 && ("bins" in t ? e = t.bins : "dataItems" in t && (e = t.dataItems)), e;
14680
14680
  }
14681
14681
  function cl(t) {
14682
- return t === g.BoxPlotMultiFields || t === g.BoxPlotMultiFieldsAndCategory || t === g.BoxPlotMultiFieldsAndSplitBy;
14682
+ return t === b.BoxPlotMultiFields || t === b.BoxPlotMultiFieldsAndCategory || t === b.BoxPlotMultiFieldsAndSplitBy;
14683
14683
  }
14684
14684
  function he(t) {
14685
14685
  const { key: e, y: i, chartSubType: r, splitBy: n, splitByValue: s, showOutliers: a, standardizeValues: o } = t;
@@ -14694,19 +14694,19 @@ function nm(t) {
14694
14694
  const { configSeries: e, boxPlotDataItem: i, yList: r, showOutliers: n } = t, s = q(e);
14695
14695
  let a = !1;
14696
14696
  switch (s) {
14697
- case g.BoxPlotMonoField:
14698
- case g.BoxPlotMultiFields:
14699
- case g.BoxPlotMonoFieldAndCategory:
14697
+ case b.BoxPlotMonoField:
14698
+ case b.BoxPlotMultiFields:
14699
+ case b.BoxPlotMonoFieldAndCategory:
14700
14700
  a = zr({ dataItem: i, showOutliers: n });
14701
14701
  break;
14702
- case g.BoxPlotMultiFieldsAndCategory:
14702
+ case b.BoxPlotMultiFieldsAndCategory:
14703
14703
  a = r.some(
14704
14704
  (o) => zr({ dataItem: i, y: o, showOutliers: n })
14705
14705
  );
14706
14706
  break;
14707
- case g.BoxPlotMonoFieldAndSplitBy:
14708
- case g.BoxPlotMultiFieldsAndSplitBy:
14709
- case g.BoxPlotMonoFieldAndCategoryAndSplitBy:
14707
+ case b.BoxPlotMonoFieldAndSplitBy:
14708
+ case b.BoxPlotMultiFieldsAndSplitBy:
14709
+ case b.BoxPlotMonoFieldAndCategoryAndSplitBy:
14710
14710
  a = e.some(
14711
14711
  (o) => zr({
14712
14712
  dataItem: i,
@@ -14729,7 +14729,7 @@ function xe(t, e) {
14729
14729
  const r = e ?? ul(t), n = q(t);
14730
14730
  return i = t.filter((s) => r.includes(s.id)).map((s) => {
14731
14731
  let a = "y" in s ? s.y : void 0;
14732
- return a !== void 0 && n === g.BarAndLineSplitByNoAggregation && (a = `${a.toString()}_${Ie({ where: s.query?.where, keepSurroundingQuotes: !1, escape: !1 })}`), a;
14732
+ return a !== void 0 && n === b.BarAndLineSplitByNoAggregation && (a = `${a.toString()}_${Ie({ where: s.query?.where, keepSurroundingQuotes: !1, escape: !1 })}`), a;
14733
14733
  }).filter((s) => s !== void 0), Array.from(new Set(i.flat()));
14734
14734
  }
14735
14735
  function Lr(t) {
@@ -14797,7 +14797,7 @@ function Ub(t) {
14797
14797
  {
14798
14798
  const d = o;
14799
14799
  let { x: c, y: u } = e.series[0];
14800
- q(e.series) === g.PieFromFields && (c = Ce, u = ze);
14800
+ q(e.series) === b.PieFromFields && (c = Ce, u = ze);
14801
14801
  const p = d[u];
14802
14802
  l = d[c] !== void 0 && d[c] !== null && !$l(p) && gt(Number(p), i);
14803
14803
  }
@@ -14831,27 +14831,27 @@ function am(t, e) {
14831
14831
  }
14832
14832
  function om(t) {
14833
14833
  const { seriesConfig: e, filteredSeriesIds: i, filteredData: r } = t, n = am(e, i), s = e.find(
14834
- (l) => l.type === y.LineSeries || l.type === y.RadarSeries
14834
+ (d) => d.type === y.LineSeries || d.type === y.RadarSeries
14835
14835
  )?.stackNegativeValuesToBaseline ?? !0;
14836
- let a = Number.MIN_SAFE_INTEGER, o = Number.MAX_SAFE_INTEGER;
14837
- return r.forEach((l) => {
14838
- n.forEach((d) => {
14836
+ let a = Number.MIN_SAFE_INTEGER, o = Number.MAX_SAFE_INTEGER, l = !1;
14837
+ return r.forEach((d) => {
14838
+ n.forEach((c) => {
14839
14839
  if (s) {
14840
- let c = 0, u = 0, p = !1, f = !1;
14841
- for (let h = 0; h < d.length; h += 1) {
14842
- const m = l[d[h]];
14843
- Number.isFinite(m) && (m < 0 ? (u += m, f = !0) : (c += m, p = !0));
14840
+ let u = 0, p = 0, f = !1, h = !1;
14841
+ for (let m = 0; m < c.length; m += 1) {
14842
+ const g = d[c[m]];
14843
+ Number.isFinite(g) && (g < 0 ? (p += g, h = !0, l = !0) : (u += g, f = !0));
14844
14844
  }
14845
- a = p ? Math.max(a, c) : Number.NaN, o = f ? Math.min(o, u) : Number.NaN;
14845
+ a = f ? Math.max(a, u) : Number.NaN, o = h ? Math.min(o, p) : Number.NaN;
14846
14846
  } else {
14847
- let c = 0;
14848
- for (let u = 0; u < d.length; u += 1) {
14849
- const p = l[d[u]];
14850
- c += p, a = Math.max(a, c), o = Math.min(o, c);
14847
+ let u = 0;
14848
+ for (let p = 0; p < c.length; p += 1) {
14849
+ const f = d[c[p]];
14850
+ u += f, a = Math.max(a, u), o = Math.min(o, u);
14851
14851
  }
14852
14852
  }
14853
14853
  });
14854
- }), { stackedMinY: o, stackedMaxY: a };
14854
+ }), { stackedMinY: o, stackedMaxY: a, dataHasNegativeValues: l };
14855
14855
  }
14856
14856
  function lm(t) {
14857
14857
  const { dataItem: e, ...i } = t, r = he({ key: M.Min, ...i }), n = he({ key: M.Max, ...i }), s = e[r], a = e[n];
@@ -14869,13 +14869,13 @@ function Gb(t) {
14869
14869
  r = typeof f == "number" ? f : r, n = typeof h == "number" ? h : n;
14870
14870
  } else if (p === y.BoxPlotSeries) {
14871
14871
  e = Number.MAX_SAFE_INTEGER, i = Number.MIN_SAFE_INTEGER;
14872
- const f = xe(l, o), h = q(l), m = "standardizeValues" in s ? s.standardizeValues === !0 : void 0, b = s.series.map(
14872
+ const f = xe(l, o), h = q(l), m = "standardizeValues" in s ? s.standardizeValues === !0 : void 0, g = s.series.map(
14873
14873
  (v) => v.visible !== !1 ? Ie({ where: v.query?.where }) : ""
14874
14874
  );
14875
- b.length === 0 && b.push(" "), c.forEach((v) => {
14875
+ g.length === 0 && g.push(" "), c.forEach((v) => {
14876
14876
  f.forEach((S) => {
14877
- const w = h === g.BoxPlotMultiFieldsAndCategory ? S : void 0;
14878
- b.forEach((C) => {
14877
+ const w = h === b.BoxPlotMultiFieldsAndCategory ? S : void 0;
14878
+ g.forEach((C) => {
14879
14879
  const { min: F, max: T } = lm({
14880
14880
  y: w,
14881
14881
  splitByValue: C,
@@ -14906,11 +14906,11 @@ function Gb(t) {
14906
14906
  case Ke.Side:
14907
14907
  default: {
14908
14908
  e = Number.MAX_SAFE_INTEGER, i = Number.MIN_SAFE_INTEGER, xe(l, o).forEach((m) => {
14909
- const [b, v] = Gr(
14909
+ const [g, v] = Gr(
14910
14910
  c,
14911
14911
  (S) => S[m]
14912
14912
  );
14913
- b !== void 0 && b < e && (e = b), v !== void 0 && v > i && (i = v);
14913
+ g !== void 0 && g < e && (e = g), v !== void 0 && v > i && (i = v);
14914
14914
  });
14915
14915
  break;
14916
14916
  }
@@ -27162,8 +27162,8 @@ function um(t) {
27162
27162
  const e = /* @__PURE__ */ new Set(), i = At(t);
27163
27163
  if (i) {
27164
27164
  const r = V(t.series), n = q(t.series);
27165
- r === y.GaugeSeries && !qn(t) || n === g.PieFromFields || n === g.BarAndLineFromFields || n === g.BoxPlotMonoField || n === g.BoxPlotMultiFields || n === g.BoxPlotMonoFieldAndSplitBy || n === g.BoxPlotMultiFieldsAndSplitBy || e.add(i.x);
27166
- const o = r === y.ScatterSeries || r === y.BoxPlotSeries || n === g.BarAndLineNoAggregation || n === g.BarAndLineSplitByNoAggregation || n === g.PieNoAggregation, l = [
27165
+ r === y.GaugeSeries && !qn(t) || n === b.PieFromFields || n === b.BarAndLineFromFields || n === b.BoxPlotMonoField || n === b.BoxPlotMultiFields || n === b.BoxPlotMonoFieldAndSplitBy || n === b.BoxPlotMultiFieldsAndSplitBy || e.add(i.x);
27166
+ const o = r === y.ScatterSeries || r === y.BoxPlotSeries || n === b.BarAndLineNoAggregation || n === b.BarAndLineSplitByNoAggregation || n === b.PieNoAggregation, l = [
27167
27167
  fi,
27168
27168
  Ce,
27169
27169
  Yl,
@@ -27263,7 +27263,7 @@ function Qb(t) {
27263
27263
  }
27264
27264
  case y.PieSeries: {
27265
27265
  const r = t?.series;
27266
- q(r) === g.PieFromFields ? i = (r?.[0]?.query?.outStatistics?.length ?? 0) === 0 : i = (r?.[0]?.x?.length ?? 0) === 0 || r?.[0]?.x === Ce;
27266
+ q(r) === b.PieFromFields ? i = (r?.[0]?.query?.outStatistics?.length ?? 0) === 0 : i = (r?.[0]?.x?.length ?? 0) === 0 || r?.[0]?.x === Ce;
27267
27267
  break;
27268
27268
  }
27269
27269
  case y.BoxPlotSeries: {
@@ -27276,7 +27276,7 @@ function Qb(t) {
27276
27276
  case y.BarSeries:
27277
27277
  case y.LineSeries: {
27278
27278
  const r = t?.series;
27279
- q(r) === g.BarAndLineFromFields ? i = (r?.[0]?.query?.outStatistics?.length ?? 0) === 0 : i = (r?.[0]?.x?.trim()?.length ?? 0) === 0;
27279
+ q(r) === b.BarAndLineFromFields ? i = (r?.[0]?.query?.outStatistics?.length ?? 0) === 0 : i = (r?.[0]?.x?.trim()?.length ?? 0) === 0;
27280
27280
  break;
27281
27281
  }
27282
27282
  }
@@ -27666,7 +27666,7 @@ export {
27666
27666
  jg as d3,
27667
27667
  _g as d4,
27668
27668
  zg as d5,
27669
- g as d6,
27669
+ b as d6,
27670
27670
  Ng as d7,
27671
27671
  ct as d8,
27672
27672
  Bn as d9,