@arcgis/charts-components 4.34.0-next.137 → 4.34.0-next.138

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 (282) hide show
  1. package/dist/cdn/{GVEJNJ6W.js → 24XWETQR.js} +2 -2
  2. package/dist/cdn/{ZGKEHJ64.js → 26WOYBLS.js} +2 -2
  3. package/dist/cdn/{NLCHH3PA.js → 2A2KORG3.js} +2 -2
  4. package/dist/cdn/{MSYZQUPK.js → 2BJLMLSJ.js} +2 -2
  5. package/dist/cdn/{5GFYJO4N.js → 2EFMHI5C.js} +2 -2
  6. package/dist/cdn/{WFJWDHVE.js → 2GMGLR5P.js} +2 -2
  7. package/dist/cdn/{XLS2ZIO5.js → 2OTKLLUH.js} +2 -2
  8. package/dist/cdn/{L3IDJWBE.js → 2SKX4UWZ.js} +2 -2
  9. package/dist/cdn/{5DAAXFKZ.js → 2WAIYIQS.js} +2 -2
  10. package/dist/cdn/{K5EUTDCW.js → 2WQ24E5T.js} +2 -2
  11. package/dist/cdn/{7L4GCMKU.js → 33ZN6PCD.js} +2 -2
  12. package/dist/cdn/{7QI2TCHJ.js → 3746J2IS.js} +2 -2
  13. package/dist/cdn/{NWANFRQZ.js → 3F4YDB4N.js} +1 -1
  14. package/dist/cdn/{Z3ILN5GE.js → 3FV2W2TJ.js} +2 -2
  15. package/dist/cdn/{64E35VZF.js → 3GXCBHN7.js} +2 -2
  16. package/dist/cdn/{TD53ETQ2.js → 3HFOQMHO.js} +2 -2
  17. package/dist/cdn/{JNJRBTCS.js → 3HICWNID.js} +2 -2
  18. package/dist/cdn/{6NGUSG6Z.js → 3RARKOUO.js} +2 -2
  19. package/dist/cdn/{FF64YKHU.js → 3UFHPC6W.js} +2 -2
  20. package/dist/cdn/{DBD7TXON.js → 3V5HP27T.js} +2 -2
  21. package/dist/cdn/{6LYUL32L.js → 3VMADFU7.js} +2 -2
  22. package/dist/cdn/{EIEO534N.js → 47C2USD3.js} +2 -2
  23. package/dist/cdn/{P73CI4UI.js → 47OMAX2Z.js} +1 -1
  24. package/dist/cdn/{SSTWJRPL.js → 4AWPOLH2.js} +2 -2
  25. package/dist/cdn/{TY4AACIT.js → 4DNOT2SM.js} +2 -2
  26. package/dist/cdn/{KWGVVBCK.js → 4JCXTUTP.js} +2 -2
  27. package/dist/cdn/{Z75YNMRA.js → 4K6MOKTP.js} +2 -2
  28. package/dist/cdn/{PD4XSNEZ.js → 5DJTALER.js} +2 -2
  29. package/dist/cdn/{35XS4G7U.js → 5DZ4PENM.js} +2 -2
  30. package/dist/cdn/{UUXEUOIF.js → 5QYBQGM4.js} +2 -2
  31. package/dist/cdn/{LCGCWNCV.js → 5XKKOFWY.js} +2 -2
  32. package/dist/cdn/{UWTLLLGA.js → 5ZFLRUAQ.js} +2 -2
  33. package/dist/cdn/{YWFIAFI5.js → 62GUSPPZ.js} +2 -2
  34. package/dist/cdn/{RYW5RMKR.js → 63LOCIDR.js} +2 -2
  35. package/dist/cdn/{GWU5GX73.js → 655VV6J7.js} +2 -2
  36. package/dist/cdn/{T7RKBO5R.js → 65WCP3U4.js} +2 -2
  37. package/dist/cdn/{XEU72CT2.js → 6BQ3LNWC.js} +2 -2
  38. package/dist/cdn/{EKKUUTLJ.js → 6IQDK4QF.js} +2 -2
  39. package/dist/cdn/{PSZTKTH5.js → 6JEFQ2QU.js} +2 -2
  40. package/dist/cdn/{5O7OVSZS.js → 6LMPGM6X.js} +2 -2
  41. package/dist/cdn/{RHDN6GIU.js → 6NOW5STW.js} +2 -2
  42. package/dist/cdn/{ZF4MRQ56.js → 6RCZYLQV.js} +2 -2
  43. package/dist/cdn/{QGCTZUSE.js → 6XN5OMSG.js} +2 -2
  44. package/dist/cdn/{57WE222S.js → 6YELTPCV.js} +2 -2
  45. package/dist/cdn/{H57THMT5.js → 747VV5WK.js} +2 -2
  46. package/dist/cdn/{NL5HWOSB.js → 7BD5455G.js} +3 -3
  47. package/dist/cdn/{A4NWMBYH.js → 7CBCONCT.js} +2 -2
  48. package/dist/cdn/{QCPXEY3Y.js → 7DSG22B6.js} +2 -2
  49. package/dist/cdn/{RPXGXESV.js → 7NPU76EB.js} +2 -2
  50. package/dist/cdn/{6NHNZUMU.js → 7NSN7PKK.js} +2 -2
  51. package/dist/cdn/{EUKYYHZX.js → 7P7ZCI4D.js} +2 -2
  52. package/dist/cdn/{CYA55SRQ.js → 7TU33QBB.js} +2 -2
  53. package/dist/cdn/{NI233ASE.js → 7XUFB7BU.js} +1 -1
  54. package/dist/cdn/{UOCK6NRQ.js → A3SVOZ3N.js} +2 -2
  55. package/dist/cdn/{C4SSBI7M.js → ADT2ADOP.js} +2 -2
  56. package/dist/cdn/{AD6UTPKO.js → AJKXVHWW.js} +2 -2
  57. package/dist/cdn/{3EKBIFG2.js → AQ545GQW.js} +2 -2
  58. package/dist/cdn/{OE57TPY4.js → AQ6EKAVQ.js} +2 -2
  59. package/dist/cdn/{3O2NKJMU.js → AVFLUZGG.js} +2 -2
  60. package/dist/cdn/{IJG2RPEH.js → B64JGUDN.js} +2 -2
  61. package/dist/cdn/{PIYYGBED.js → BHGFCAVN.js} +2 -2
  62. package/dist/cdn/{AZUJU64Z.js → BIKOLGHP.js} +2 -2
  63. package/dist/cdn/{HB26JJPI.js → BM42PZQA.js} +2 -2
  64. package/dist/cdn/{3XSLT5D7.js → BPYIIPNZ.js} +2 -2
  65. package/dist/cdn/{HXA66IKK.js → BQBNGYUY.js} +2 -2
  66. package/dist/cdn/{WBHCQ35R.js → BVYUMK6P.js} +2 -2
  67. package/dist/cdn/{H4ABW5RH.js → C7YKHH2X.js} +2 -2
  68. package/dist/cdn/{CTXK6J6A.js → CCQVL7XZ.js} +2 -2
  69. package/dist/cdn/{GRCBC7FY.js → CLLSYEA5.js} +2 -2
  70. package/dist/cdn/{QVELZ5IY.js → CQ37CKSP.js} +2 -2
  71. package/dist/cdn/{BDE437TR.js → CQ6CAS5V.js} +2 -2
  72. package/dist/cdn/{OBOJISEC.js → E2UK3VPZ.js} +2 -2
  73. package/dist/cdn/{WS7UNU26.js → E34GIVUN.js} +2 -2
  74. package/dist/cdn/{U5O5DU3K.js → EAFROOME.js} +2 -2
  75. package/dist/cdn/{QYM3POIV.js → EGEMLKBU.js} +2 -2
  76. package/dist/cdn/{QUOXLAGO.js → EGEWNOKE.js} +1 -1
  77. package/dist/cdn/{3IJG35MT.js → ET3IDOQP.js} +2 -2
  78. package/dist/cdn/{7TD3DUVR.js → EY37HPEB.js} +2 -2
  79. package/dist/cdn/{RTVALPS6.js → FP4XXXH4.js} +2 -2
  80. package/dist/cdn/{3SZRGL74.js → FUWYL4ML.js} +2 -2
  81. package/dist/cdn/{LCLE2R6O.js → GA5DDTA4.js} +2 -2
  82. package/dist/cdn/{RQ6P2WIA.js → GHHYPSDM.js} +1 -1
  83. package/dist/cdn/{ADGH33XA.js → GRQM5NKM.js} +2 -2
  84. package/dist/cdn/{ZRGIW4IF.js → H3O4CV2N.js} +2 -2
  85. package/dist/cdn/{KUH3QJNM.js → HACFQS62.js} +2 -2
  86. package/dist/cdn/{2TG2EZ7L.js → HC6PSK2U.js} +2 -2
  87. package/dist/cdn/{H4EKWUGZ.js → HHPHUIUM.js} +2 -2
  88. package/dist/cdn/{CKFADYI3.js → HNFXK5BC.js} +2 -2
  89. package/dist/cdn/{4HXNMDS6.js → HTE6EJSS.js} +2 -2
  90. package/dist/cdn/{T2KMQVDW.js → HZO43CCS.js} +2 -2
  91. package/dist/cdn/{2MV6WAUW.js → IJAGBSJZ.js} +2 -2
  92. package/dist/cdn/{YONNDJAA.js → IVAFZR5S.js} +2 -2
  93. package/dist/cdn/{UOBY6NVK.js → IVAT7IEB.js} +2 -2
  94. package/dist/cdn/{ORC6TL5X.js → IWZN6Z2X.js} +2 -2
  95. package/dist/cdn/{7K6HWWFH.js → IXIWUOLD.js} +2 -2
  96. package/dist/cdn/{OIJHYUNL.js → J3PDSHB4.js} +2 -2
  97. package/dist/cdn/{R7FHXTD7.js → J4Q4Y52Q.js} +2 -2
  98. package/dist/cdn/{3YVN7ZEL.js → JUKLBBIL.js} +2 -2
  99. package/dist/cdn/{WKW2EY33.js → JULFMHYU.js} +2 -2
  100. package/dist/cdn/{PXQRFZG3.js → JUOH3GUW.js} +2 -2
  101. package/dist/cdn/{WO5AZSNE.js → JXZWLSDG.js} +2 -2
  102. package/dist/cdn/{SB4GITO4.js → K2BWSS6E.js} +2 -2
  103. package/dist/cdn/{FP4XIAZA.js → KA72OML2.js} +1 -1
  104. package/dist/cdn/{VSCLREOC.js → KJTGNGE7.js} +2 -2
  105. package/dist/cdn/{LUZ7IF6Q.js → KKG3W27G.js} +2 -2
  106. package/dist/cdn/{N46QLWTZ.js → KKK6NKAK.js} +2 -2
  107. package/dist/cdn/{IZXEJUQ7.js → KN6NW37P.js} +2 -2
  108. package/dist/cdn/{LPF7LCEV.js → KV6YLRHG.js} +2 -2
  109. package/dist/cdn/{7EPB7NUQ.js → LAKNTP3E.js} +2 -2
  110. package/dist/cdn/{KB5VDJXS.js → LD574V2G.js} +2 -2
  111. package/dist/cdn/{HF7QUOV2.js → LI37MVAT.js} +2 -2
  112. package/dist/cdn/{TCOATTAO.js → LQ6O6S4G.js} +2 -2
  113. package/dist/cdn/{QR6Z5QK5.js → MGD3RS3B.js} +2 -2
  114. package/dist/cdn/{AV4VWOKJ.js → MGEXMURL.js} +2 -2
  115. package/dist/cdn/{QSXKJ4UY.js → MKOIRYD2.js} +2 -2
  116. package/dist/cdn/{4IFQQ22Q.js → MMO5YA25.js} +2 -2
  117. package/dist/cdn/{MN5BI7ZH.js → MSFB4KBJ.js} +2 -2
  118. package/dist/cdn/{NWVFHYJ4.js → MVV5BSUB.js} +2 -2
  119. package/dist/cdn/{RP7TFTPB.js → N2IAZOQ7.js} +2 -2
  120. package/dist/cdn/{W67II2AQ.js → NUS5MWN3.js} +2 -2
  121. package/dist/cdn/{Z4IW4CZO.js → NW7QSNZQ.js} +2 -2
  122. package/dist/cdn/{IUKN5SK3.js → OEPX4LYZ.js} +2 -2
  123. package/dist/cdn/{SLDAVWPQ.js → OLN4GDJ5.js} +2 -2
  124. package/dist/cdn/{GEWDU66X.js → OQJR5UYE.js} +1 -1
  125. package/dist/cdn/{NQWOGRFC.js → P2U3VERW.js} +2 -2
  126. package/dist/cdn/{NS7LIL7G.js → P7B4CUVV.js} +2 -2
  127. package/dist/cdn/{C5T6VUHW.js → PNEHBKTZ.js} +2 -2
  128. package/dist/cdn/{ZUP7EB7A.js → PU3IMZ4C.js} +1 -1
  129. package/dist/cdn/{E6WS2PNI.js → Q4ETO6KX.js} +2 -2
  130. package/dist/cdn/{J2GDDFON.js → QBKRNEI4.js} +1 -1
  131. package/dist/cdn/{UVMNH23P.js → QBOP4WZB.js} +2 -2
  132. package/dist/cdn/{ZKTHH2D2.js → QEARPOGE.js} +2 -2
  133. package/dist/cdn/{RUVABNP7.js → QH4CXIBG.js} +2 -2
  134. package/dist/cdn/{IJM7TMTX.js → QJPMZ5PV.js} +2 -2
  135. package/dist/cdn/{RO5T5LR7.js → QQWXEUYG.js} +2 -2
  136. package/dist/cdn/{Z3GHWLXO.js → QYPJB6KJ.js} +2 -2
  137. package/dist/cdn/{NWAAWZP2.js → QZ45JGUL.js} +2 -2
  138. package/dist/cdn/{OAPUV56D.js → R2UCVSOJ.js} +2 -2
  139. package/dist/cdn/{MIMRBYW2.js → RWUGTZKD.js} +2 -2
  140. package/dist/cdn/{2IUXXBNE.js → S264YT4E.js} +2 -2
  141. package/dist/cdn/{2N7KPE3X.js → SBYEL7EE.js} +2 -2
  142. package/dist/cdn/{5HKR2XQN.js → SGGWXSAT.js} +2 -2
  143. package/dist/cdn/{OUSZB3WZ.js → SJ3KH7ID.js} +2 -2
  144. package/dist/cdn/{WB5LCPZU.js → SQAKVW23.js} +2 -2
  145. package/dist/cdn/{UMRBGDBL.js → T4I7CMUA.js} +2 -2
  146. package/dist/cdn/{EX4JU7GR.js → TOCU34T4.js} +2 -2
  147. package/dist/cdn/{PQVQD6CJ.js → TRAYYR57.js} +2 -2
  148. package/dist/cdn/{F67CMYND.js → TTUWIA2P.js} +2 -2
  149. package/dist/cdn/{QLWFJ26E.js → TXPWICK7.js} +17 -17
  150. package/dist/cdn/{YRIZNPRL.js → TZUL5VVX.js} +2 -2
  151. package/dist/cdn/{QSU6IIFW.js → U44MT23C.js} +2 -2
  152. package/dist/cdn/{GEDBEOAB.js → UBTXULZC.js} +2 -2
  153. package/dist/cdn/{TQCCKX5J.js → UQCYC6RS.js} +2 -2
  154. package/dist/cdn/{ZVMXU72W.js → UXIANTBG.js} +2 -2
  155. package/dist/cdn/{RM2JGKYW.js → V5GN2LL4.js} +2 -2
  156. package/dist/cdn/{MS4XYPSC.js → V7PMJLZ7.js} +2 -2
  157. package/dist/cdn/{COL4BR4N.js → VB2QU35Z.js} +2 -2
  158. package/dist/cdn/{W3VDAH5Z.js → VL5P2YF2.js} +2 -2
  159. package/dist/cdn/{LTNPY5NM.js → VMVXNHIE.js} +2 -2
  160. package/dist/cdn/{MPNJZTIJ.js → W6TH42I6.js} +2 -2
  161. package/dist/cdn/{DN7HLW7R.js → WIKE7CRP.js} +2 -2
  162. package/dist/cdn/{XWI545BD.js → WR4YXJE2.js} +2 -2
  163. package/dist/cdn/{3UHMFXPL.js → WS37TO2K.js} +2 -2
  164. package/dist/cdn/{I7JRXIX6.js → WSUW2SRX.js} +2 -2
  165. package/dist/cdn/{2GM3JRET.js → WVWLCTA7.js} +2 -2
  166. package/dist/cdn/{7NKXAXRK.js → WWF7JFCF.js} +2 -2
  167. package/dist/cdn/{OHM2J36S.js → X2B3TOT2.js} +2 -2
  168. package/dist/cdn/{QYNI75XR.js → XQRVM6V5.js} +2 -2
  169. package/dist/cdn/{WXUZD5V2.js → XR2EF3UR.js} +2 -2
  170. package/dist/cdn/{MWP5HKFH.js → YIR2SBJB.js} +2 -2
  171. package/dist/cdn/{23A35FGI.js → YRI2KAO3.js} +2 -2
  172. package/dist/cdn/{BPBJ6HHB.js → YXDOYMXQ.js} +2 -2
  173. package/dist/cdn/{WX6MHA4C.js → Z5VFVQJS.js} +2 -2
  174. package/dist/cdn/{OO43JSJR.js → ZHAUZSGZ.js} +2 -2
  175. package/dist/cdn/{56ZMW6ZT.js → ZJQNS6C6.js} +2 -2
  176. package/dist/cdn/{4GEYKPPZ.js → ZJQQ25X3.js} +2 -2
  177. package/dist/cdn/{Z6LDW5WG.js → ZPBAWQHF.js} +2 -2
  178. package/dist/cdn/index.js +2 -2
  179. package/dist/chart-rendering/common/interfaces.d.ts +1 -0
  180. package/dist/chunks/action-bar-utils.js +1 -1
  181. package/dist/chunks/axis-model-wrapper.js +1 -1
  182. package/dist/chunks/bar-chart-model.js +1 -1
  183. package/dist/chunks/bar-chart-series.js +1 -1
  184. package/dist/chunks/baseline-stacking.js +1 -1
  185. package/dist/chunks/bg_BG.js +1 -1
  186. package/dist/chunks/bg_BG2.js +1 -1
  187. package/dist/chunks/box-plot-data.js +1 -1
  188. package/dist/chunks/box-plot-model.js +1 -1
  189. package/dist/chunks/chart-ui-utils.js +1 -1
  190. package/dist/chunks/chart-ui-utils2.js +1 -1
  191. package/dist/chunks/combo-bar-line-chart-model.js +1 -1
  192. package/dist/chunks/common.js +1 -1
  193. package/dist/chunks/data.js +1 -1
  194. package/dist/chunks/default.js +1 -1
  195. package/dist/chunks/gauge-model.js +1 -1
  196. package/dist/chunks/histogram-data.js +1 -1
  197. package/dist/chunks/histogram-model.js +1 -1
  198. package/dist/chunks/index.js +1 -1
  199. package/dist/chunks/index2.js +1 -1
  200. package/dist/chunks/index3.js +1 -1
  201. package/dist/chunks/index4.js +1 -1
  202. package/dist/chunks/index5.js +1 -1
  203. package/dist/chunks/interfaces.js +6 -2
  204. package/dist/chunks/interfaces2.js +1 -1
  205. package/dist/chunks/line-chart-model.js +1 -1
  206. package/dist/chunks/model-with-baseline-stacking.js +1 -1
  207. package/dist/chunks/model-with-data-labels.js +1 -1
  208. package/dist/chunks/model-with-multi-axes.js +1 -1
  209. package/dist/chunks/model-with-rotation.js +1 -1
  210. package/dist/chunks/pie-chart-data.js +1 -1
  211. package/dist/chunks/pie-chart-model.js +1 -1
  212. package/dist/chunks/popover-ui-utils.js +1 -1
  213. package/dist/chunks/radar-chart-model.js +1 -1
  214. package/dist/chunks/resource.js +1 -1
  215. package/dist/chunks/rest-js-object-literals.js +1 -1
  216. package/dist/chunks/runtime.js +1 -1
  217. package/dist/chunks/scatterplot-model.js +1 -1
  218. package/dist/chunks/serial-chart-model.js +1 -1
  219. package/dist/chunks/series-types.js +1 -1
  220. package/dist/chunks/series.js +1 -1
  221. package/dist/chunks/sk_SK.js +1 -1
  222. package/dist/chunks/store.js +1 -1
  223. package/dist/chunks/type-guards.js +1 -1
  224. package/dist/chunks/useT9n.js +1 -1
  225. package/dist/chunks/web-component-utils.js +1 -1
  226. package/dist/components/arcgis-chart/customElement.js +479 -469
  227. package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
  228. package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
  229. package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
  230. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  231. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
  232. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
  233. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
  234. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
  235. package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
  236. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
  237. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
  238. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
  239. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
  240. package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
  241. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
  242. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  243. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  244. package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
  245. package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
  246. package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
  247. package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
  248. package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
  249. package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
  250. package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
  251. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
  252. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  253. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
  254. package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
  255. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
  256. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
  257. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
  258. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  259. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
  260. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
  261. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
  262. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
  263. package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
  264. package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
  265. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
  266. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
  267. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
  268. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
  269. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
  270. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
  271. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
  272. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
  273. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
  274. package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
  275. package/dist/docs/api.json +2 -2
  276. package/dist/docs/docs.json +2 -2
  277. package/dist/docs/web-types.json +1 -1
  278. package/dist/index.js +1 -1
  279. package/dist/json-schema/index.d.ts +3 -0
  280. package/dist/loader.js +1 -1
  281. package/dist/model.js +1 -1
  282. package/package.json +3 -3
@@ -14,7 +14,7 @@ import { XYChart as Fe, AxisRendererX as ei, LineSeries as Ae, XYCursor as Xd, C
14
14
  import { unsafeGetElementDirection as qr } from "@arcgis/toolkit/dom";
15
15
  import { getElementLocale as fs } from "@arcgis/toolkit/intl";
16
16
  import { D as Ni, c as _n } from "../../chunks/index.js";
17
- import { b3 as Va, cx as A, p as H, c6 as vi, c2 as Ce, a5 as li, B as Li, d as Ke, a as kt, T as et, cj as ms, b1 as vn, H as ot, r as ci, q as Yt, aS as Ln, a1 as zt, S as pa, cd as we, ch as de, l as yt, co as $h, c7 as ti, c9 as Ut, N as Y, k as Xe, F as oe, cs as Yd, D as ue, bS as Mh, I as Gr, bx as qi, bF as We, E as mn, i as na, z as Hn, ca as Cc, aT as ro, m as gs, b7 as st, b_ as Qn, a2 as lo, A as co, cc as ya, bw as uo, bJ as Ph, bY as Rh, b4 as Ra, R as Vh, ba as Xr, bh as Ud, bu as Eh, bi as zh, bW as Kn, bX as hs, bq as Wh, ci as ar, c0 as Hh, b5 as qh, br as Gh, a3 as te, U as Xh, n as _i, bL as jd, by as Yh, bl as _d, bz as Yr, bA as Uh, Q as jh, P as vc, bB as Qd, bt as _h, bf as ps, bs as Qh, bv as Kh, bd as Zh, bg as ys, X as Fn, aD as qo, V as fo, cf as Kd, J as Ur, O as Ee, cn as Qe, cb as Zd, af as jr, ah as Jd, aq as _r, ar as eu, ag as bs, cy as Ge, cz as Zn, cl as Go, aP as tu, bR as Qi, M as Ss, L as Jh, ac as mo, az as iu, an as Qr, ap as au, ao as nu, _ as ou, K as su, c4 as Xo, b6 as gn, v as Kr, aW as ru, a4 as ep, G as tp, bC as ip, c8 as Lc, c1 as wo, x as En, g as ap, cm as np, C as op, cp as sp, h as rp } from "../../chunks/interfaces.js";
17
+ import { b3 as Va, cx as F, p as H, c6 as vi, c2 as Ce, a5 as li, B as Li, d as Ke, a as kt, T as et, cj as ms, b1 as vn, H as ot, r as ci, q as Yt, aS as Ln, a1 as zt, S as pa, cd as we, ch as de, l as yt, co as $h, c7 as ti, c9 as Ut, N as Y, k as Xe, F as oe, cs as Yd, D as ue, bS as Mh, I as Gr, bx as qi, bF as We, E as mn, i as na, z as Hn, ca as Cc, aT as ro, m as gs, b7 as st, b_ as Qn, a2 as lo, A as co, cc as ya, bw as uo, bJ as Ph, bY as Rh, b4 as Ra, R as Vh, ba as Xr, bh as Ud, bu as Eh, bi as zh, bW as Kn, bX as hs, bq as Wh, ci as ar, c0 as Hh, b5 as qh, br as Gh, a3 as te, U as Xh, n as _i, bL as jd, by as Yh, bl as _d, bz as Yr, bA as Uh, Q as jh, P as vc, bB as Qd, bt as _h, bf as ps, bs as Qh, bv as Kh, bd as Zh, bg as ys, X as Fn, aD as qo, V as fo, cf as Kd, J as Ur, O as Ee, cn as Qe, cb as Zd, af as jr, ah as Jd, aq as _r, ar as eu, ag as bs, cy as Ge, cz as Zn, cl as Go, aP as tu, bR as Qi, M as Ss, L as Jh, ac as mo, az as iu, an as Qr, ap as au, ao as nu, _ as ou, K as su, c4 as Xo, b6 as gn, v as Kr, aW as ru, a4 as ep, G as tp, bC as ip, c8 as Lc, c1 as wo, x as En, g as ap, cm as np, C as op, cp as sp, h as rp } from "../../chunks/interfaces.js";
18
18
  import { A as ne, C as nr, L as Vo, d as Eo, e as zo, S as Wo, V as zn, b as Fc, E as Io, a as lp } from "../../chunks/index2.js";
19
19
  import "@arcgis/core/core/promiseUtils.js";
20
20
  import cp from "@arcgis/core/request.js";
@@ -58,7 +58,7 @@ import { n as Nc } from "../../chunks/chart-ui-utils2.js";
58
58
  import * as Ui from "@arcgis/core/core/reactiveUtils.js";
59
59
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
60
60
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
61
- v4.34.0-next.137 */
61
+ v4.34.0-next.138 */
62
62
  var ko = { exports: {} }, cr, $c;
63
63
  function ty() {
64
64
  if ($c) return cr;
@@ -126,7 +126,7 @@ function iy() {
126
126
  if (m.paused) {
127
127
  m.paused = !1;
128
128
  for (var O = 0; O < m.concurrency; O++)
129
- u++, F();
129
+ u++, A();
130
130
  }
131
131
  }
132
132
  function C() {
@@ -134,13 +134,13 @@ function iy() {
134
134
  }
135
135
  function v(O, P) {
136
136
  var $ = l.get();
137
- $.context = o, $.release = F, $.value = O, $.callback = P || i, $.errorHandler = f, u === m.concurrency || m.paused ? d ? (d.next = $, d = $) : (c = $, d = $, m.saturated()) : (u++, s.call(o, $.value, $.worked));
137
+ $.context = o, $.release = A, $.value = O, $.callback = P || i, $.errorHandler = f, u === m.concurrency || m.paused ? d ? (d.next = $, d = $) : (c = $, d = $, m.saturated()) : (u++, s.call(o, $.value, $.worked));
138
138
  }
139
139
  function L(O, P) {
140
140
  var $ = l.get();
141
- $.context = o, $.release = F, $.value = O, $.callback = P || i, u === m.concurrency || m.paused ? c ? ($.next = c, c = $) : (c = $, d = $, m.saturated()) : (u++, s.call(o, $.value, $.worked));
141
+ $.context = o, $.release = A, $.value = O, $.callback = P || i, u === m.concurrency || m.paused ? c ? ($.next = c, c = $) : (c = $, d = $, m.saturated()) : (u++, s.call(o, $.value, $.worked));
142
142
  }
143
- function F(O) {
143
+ function A(O) {
144
144
  O && l.release(O);
145
145
  var P = c;
146
146
  P ? m.paused ? u-- : (d === c && (d = null), c = P.next, P.next = null, s.call(o, P.value, P.worked), d === null && m.empty()) : --u === 0 && m.drain();
@@ -344,11 +344,11 @@ function gy(t) {
344
344
  }).filter((c) => c !== void 0), n;
345
345
  }
346
346
  function Ea(t) {
347
- return t !== A.PieNoAggregation && t !== A.BarAndLineNoAggregation && t !== A.BarAndLineSplitByNoAggregation;
347
+ return t !== F.PieNoAggregation && t !== F.BarAndLineNoAggregation && t !== F.BarAndLineSplitByNoAggregation;
348
348
  }
349
349
  function hy(t) {
350
350
  const e = H(t.series);
351
- return e === A.BarAndLineFromFields || e === A.PieFromFields || e === A.BoxPlotMonoField || e === A.BoxPlotMultiFields || e === A.BoxPlotMonoFieldAndSplitBy || e === A.BoxPlotMultiFieldsAndSplitBy;
351
+ return e === F.BarAndLineFromFields || e === F.PieFromFields || e === F.BoxPlotMonoField || e === F.BoxPlotMultiFields || e === F.BoxPlotMonoFieldAndSplitBy || e === F.BoxPlotMultiFieldsAndSplitBy;
352
352
  }
353
353
  function He(t) {
354
354
  return t && "showMean" in t && typeof t.showMean == "boolean" ? t.showMean : !1;
@@ -429,7 +429,7 @@ function yy(t) {
429
429
  }
430
430
  function Au(t, e) {
431
431
  const i = t;
432
- if (e?.[0] !== void 0 && H(e) === A.PieFromFields) {
432
+ if (e?.[0] !== void 0 && H(e) === F.PieFromFields) {
433
433
  const { x: a, y: n } = e[0];
434
434
  (Vr(t) ? i : i.dataItems).forEach((r) => (Ke in r && a !== Ke && (r[a] = r[a] !== void 0 ? r[a] : r[Ke], delete r[Ke]), kt in r && n !== kt && (r[n] = r[n] !== void 0 ? r[n] : r[kt], delete r[kt]), r));
435
435
  }
@@ -507,12 +507,12 @@ function Sy(t) {
507
507
  const i = W(t.series);
508
508
  if (i === b.BarSeries || i === b.LineSeries || i === b.ComboLineAndBarSeries) {
509
509
  const a = H(t.series);
510
- e = a !== A.BarAndLineNoAggregation && a !== A.BarAndLineSplitByNoAggregation;
510
+ e = a !== F.BarAndLineNoAggregation && a !== F.BarAndLineSplitByNoAggregation;
511
511
  }
512
512
  return e;
513
513
  }
514
514
  function xy(t) {
515
- return H(t.series) !== A.PieNoAggregation;
515
+ return H(t.series) !== F.PieNoAggregation;
516
516
  }
517
517
  function sl(t) {
518
518
  const { dataContext: e, chartConfig: i, chartLimits: a } = t;
@@ -664,7 +664,7 @@ function $y(t, e) {
664
664
  return He(t) !== He(e);
665
665
  }
666
666
  function My(t, e) {
667
- const i = t.axes?.[0].valueFormat.type, a = e.axes?.[0].valueFormat.type, n = H(e.series), o = n === A.BarAndLineNoAggregation || n === A.BarAndLineSplitByNoAggregation, s = i === b.DateAxisFormat && a === b.NumberAxisFormat, r = i === b.NumberAxisFormat && a === b.DateAxisFormat;
667
+ const i = t.axes?.[0].valueFormat.type, a = e.axes?.[0].valueFormat.type, n = H(e.series), o = n === F.BarAndLineNoAggregation || n === F.BarAndLineSplitByNoAggregation, s = i === b.DateAxisFormat && a === b.NumberAxisFormat, r = i === b.NumberAxisFormat && a === b.DateAxisFormat;
668
668
  return i !== a && (o || s || r);
669
669
  }
670
670
  function As(t) {
@@ -812,7 +812,7 @@ function Iu(t, e) {
812
812
  // handled through the number of bins
813
813
  case b.BoxPlotSeries:
814
814
  }
815
- return (C === A.BarAndLineNoAggregation || C === A.BarAndLineMultiFields) && i !== void 0 && (i = Math.ceil(i / x)), i;
815
+ return (C === F.BarAndLineNoAggregation || C === F.BarAndLineMultiFields) && i !== void 0 && (i = Math.ceil(i / x)), i;
816
816
  }
817
817
  function Jo(t, e) {
818
818
  let i = t;
@@ -976,7 +976,7 @@ function _y(t) {
976
976
  a = t.series[0].x;
977
977
  else {
978
978
  a === Ma.Mean ? a = Y.Average : a === Ma.Median && (a = Y.Median);
979
- const o = e === A.BoxPlotMultiFieldsAndCategory && typeof t.series[0].y == "string" ? t.series[0].y : void 0, s = Xe(t.series[0].query?.where), r = yt({
979
+ const o = e === F.BoxPlotMultiFieldsAndCategory && typeof t.series[0].y == "string" ? t.series[0].y : void 0, s = Xe(t.series[0].query?.where), r = yt({
980
980
  where: t.series[0].query?.where
981
981
  });
982
982
  a = oe({
@@ -995,7 +995,7 @@ function _y(t) {
995
995
  return i;
996
996
  }
997
997
  function Qy(t) {
998
- const e = t.series[0], { x: i, y: a } = e, n = H(t.series) === A.PieFromFields;
998
+ const e = t.series[0], { x: i, y: a } = e, n = H(t.series) === F.PieFromFields;
999
999
  let o, s = "", r;
1000
1000
  if (t.orderOptions?.data !== void 0 && (s = t.orderOptions?.data?.orderType ?? Ma.Category, r = t.orderOptions?.data?.orderBy, s === Ma.Category ? s = n ? Ke : i : s = n ? kt : [a].flat()[0]), s !== void 0 && s !== "") {
1001
1001
  const l = Ut(t);
@@ -1038,7 +1038,7 @@ function vr(t) {
1038
1038
  function cl(t) {
1039
1039
  const { oldConfig: e, newConfig: i, dataUpdateNeeded: a } = t, n = H(i.series);
1040
1040
  let o = !1, s = !1;
1041
- if (n !== A.BoxPlotMonoField && n !== A.BoxPlotMonoFieldAndSplitBy && i.orderOptions?.data !== void 0) {
1041
+ if (n !== F.BoxPlotMonoField && n !== F.BoxPlotMonoFieldAndSplitBy && i.orderOptions?.data !== void 0) {
1042
1042
  const r = vr(e), l = vr(i);
1043
1043
  s = e.orderOptions?.data?.orderType !== i.orderOptions?.data?.orderType || r?.sortingField !== l?.sortingField || r?.orderBy !== l?.orderBy || (r?.preferLabel ?? !0) !== (l?.preferLabel ?? !0), o = s || a;
1044
1044
  }
@@ -1128,11 +1128,11 @@ async function zu(t) {
1128
1128
  y = c.modalHeaders.tooManyFeatures;
1129
1129
  let S = Number.NaN, x = Number.NaN, C = "";
1130
1130
  n !== void 0 && (n <= m.maxBarChartSeriesCount ? n === 1 ? (C = c.errors.uniqueSeriesBarCountCannotExceedLimit, S = m.maxBarUniqueSeriesCountTotal) : n === 2 ? (C = c.errors.twoSeriesBarCountCannotExceedLimit, S = m.maxBarTwoSeriesCountTotal, x = m.maxBarTwoSeriesCountPerSeries) : n > 2 && (C = c.errors.threePlusSeriesBarCountCannotExceedLimit, S = m.maxBarThreePlusSeriesCountTotal, x = m.maxBarThreePlusSeriesCountPerSeries) : (C = c.errors.barSeriesCountCannotExceedLimit, x = m.maxBarChartSeriesCount));
1131
- const v = f.format(S), L = f.format(x), F = a !== void 0 ? f.format(a) : "";
1131
+ const v = f.format(S), L = f.format(x), A = a !== void 0 ? f.format(a) : "";
1132
1132
  d = Bt(C, {
1133
1133
  totalLimit: v,
1134
1134
  seriesLimit: L,
1135
- elementCount: F
1135
+ elementCount: A
1136
1136
  }), u = {
1137
1137
  actualCount: a ?? Number.NaN,
1138
1138
  totalLimit: S,
@@ -1145,9 +1145,9 @@ async function zu(t) {
1145
1145
  y = c.modalHeaders.tooManyFeatures;
1146
1146
  let S = Number.NaN, x = Number.NaN, C = "";
1147
1147
  n !== void 0 && (n <= m.maxLineChartSeriesCount ? n === 1 ? (C = l ? c.errors.uniqueTemporalSeriesLineCountCannotExceedLimit : c.errors.uniqueSeriesLineCountCannotExceedLimit, S = m.maxLineUniqueSeriesCountTotal) : n === 2 ? (C = l ? c.errors.twoTemporalSeriesLineCountCannotExceedLimit : c.errors.twoSeriesLineCountCannotExceedLimit, S = m.maxLineTwoSeriesCountTotal, x = m.maxLineTwoSeriesCountPerSeries) : n > 2 && (C = l ? c.errors.threePlusTemporalSeriesLineCountCannotExceedLimit : c.errors.threePlusSeriesLineCountCannotExceedLimit, S = m.maxLineThreePlusSeriesCountTotal, x = m.maxLineThreePlusSeriesCountPerSeries) : (C = c.errors.lineSeriesCountCannotExceedLimit, x = m.maxLineChartSeriesCount));
1148
- const v = f.format(S), L = f.format(x), F = a !== void 0 ? f.format(a) : "";
1148
+ const v = f.format(S), L = f.format(x), A = a !== void 0 ? f.format(a) : "";
1149
1149
  d = Bt(C, {
1150
- elementCount: F,
1150
+ elementCount: A,
1151
1151
  seriesLimit: L,
1152
1152
  totalLimit: v
1153
1153
  }), u = {
@@ -1162,9 +1162,9 @@ async function zu(t) {
1162
1162
  y = c.modalHeaders.tooManyFeatures;
1163
1163
  let S = Number.NaN, x = Number.NaN, C = "";
1164
1164
  n !== void 0 && (n <= m.maxBoxPlotSeriesCount ? n === 1 ? (C = c.errors.uniqueSeriesBoxCountCannotExceedLimit, S = m.maxBoxUniqueSeriesCountTotal) : n === 2 ? (C = c.errors.twoSeriesBoxCountCannotExceedLimit, S = m.maxBoxTwoSeriesCountTotal, x = m.maxBoxTwoSeriesCountPerSeries) : n > 2 && (C = c.errors.threePlusBoxLineCountCannotExceedLimit, S = m.maxBoxThreePlusSeriesCountTotal, x = m.maxBoxThreePlusSeriesCountPerSeries) : (C = c.errors.boxSeriesCountCannotExceedLimit, x = m.maxBoxPlotSeriesCount));
1165
- const v = f.format(S), L = f.format(x), F = a !== void 0 ? f.format(a) : "";
1165
+ const v = f.format(S), L = f.format(x), A = a !== void 0 ? f.format(a) : "";
1166
1166
  d = Bt(C, {
1167
- elementCount: F,
1167
+ elementCount: A,
1168
1168
  seriesLimit: L,
1169
1169
  totalLimit: v
1170
1170
  }), u = {
@@ -1313,7 +1313,7 @@ function Zy(t) {
1313
1313
  Object.keys(n).forEach((c) => {
1314
1314
  c.startsWith(r) ? l[c.replace(`${r}_`, "")] = n[c] : c.includes(I.rendererSymbolField) && (l[c] = n[c]), l[I.boxPlot.boxPlotCategory] = r, a && (l = dl({
1315
1315
  dataItem: l,
1316
- chartSubType: A.BoxPlotMultiFields
1316
+ chartSubType: F.BoxPlotMultiFields
1317
1317
  }));
1318
1318
  }), o.set(r, l);
1319
1319
  }), Array.from(o.values());
@@ -1341,7 +1341,7 @@ function eb(t) {
1341
1341
  f.startsWith(`${d}_`) ? u[`${c}_${f.replace(`${d}_`, "")}`] = m : f.includes(I.rendererSymbolField) ? u[`${f}_${c}`] = m : f === I.boxPlot.boxPlotMeanLineMarkerId && (u[f] = l[f]);
1342
1342
  }), n && (u = dl({
1343
1343
  dataItem: u,
1344
- chartSubType: A.BoxPlotMultiFieldsAndSplitBy,
1344
+ chartSubType: F.BoxPlotMultiFieldsAndSplitBy,
1345
1345
  splitByValue: c,
1346
1346
  meanPerField: o?.[bn(d, X.Average)],
1347
1347
  stdDevPerField: o?.[bn(d, X.StandardDeviation)]
@@ -1358,7 +1358,7 @@ function tb(t) {
1358
1358
  i.forEach((r) => {
1359
1359
  dl({
1360
1360
  dataItem: s,
1361
- chartSubType: A.BoxPlotMultiFieldsAndCategory,
1361
+ chartSubType: F.BoxPlotMultiFieldsAndCategory,
1362
1362
  y: r,
1363
1363
  meanPerField: n?.[bn(r, X.Average)],
1364
1364
  stdDevPerField: n?.[bn(r, X.StandardDeviation)]
@@ -1387,7 +1387,7 @@ function ib(t) {
1387
1387
  }
1388
1388
  function ab(t, e) {
1389
1389
  const { series: i } = t, a = i[0], { y: n } = a, o = H(t.series), s = {
1390
- y: o === A.BoxPlotMultiFieldsAndCategory ? n : void 0,
1390
+ y: o === F.BoxPlotMultiFieldsAndCategory ? n : void 0,
1391
1391
  chartSubType: o
1392
1392
  }, r = t.series.map((l) => {
1393
1393
  let c = yt({
@@ -1442,7 +1442,7 @@ function Rc(t) {
1442
1442
  return l === "outliers" && r !== s ? u = `(${e}<${r} OR ${e}>${s})` : l === "alternativeData" && (r === s ? u = `(${e}=${r})` : u = `(${e}>=${r} AND ${e}<=${s})`), [c, d, u].filter((m) => m !== void 0).join(" AND ");
1443
1443
  }
1444
1444
  function Wu(t) {
1445
- const { data: e, yField: i, x: a, chartSubType: n, splitByField: o } = t, s = n === A.BoxPlotMonoField || n === A.BoxPlotMonoFieldAndCategory || n === A.BoxPlotMonoFieldAndSplitBy || n === A.BoxPlotMonoFieldAndCategoryAndSplitBy ? void 0 : i, r = Hn(s), l = [], c = [], { maxOperandsPerWhereClause: d } = ro();
1445
+ const { data: e, yField: i, x: a, chartSubType: n, splitByField: o } = t, s = n === F.BoxPlotMonoField || n === F.BoxPlotMonoFieldAndCategory || n === F.BoxPlotMonoFieldAndSplitBy || n === F.BoxPlotMonoFieldAndCategoryAndSplitBy ? void 0 : i, r = Hn(s), l = [], c = [], { maxOperandsPerWhereClause: d } = ro();
1446
1446
  let u = [], f = [], m = 1;
1447
1447
  return e.forEach((g, y) => {
1448
1448
  const { outlierMinThreshold: p, outlierMaxThreshold: S } = nb(g, r);
@@ -1452,12 +1452,12 @@ function Wu(t) {
1452
1452
  outlierMinThreshold: p,
1453
1453
  outlierMaxThreshold: S
1454
1454
  };
1455
- (n === A.BoxPlotMonoFieldAndCategory || n === A.BoxPlotMultiFieldsAndCategory || n === A.BoxPlotMonoFieldAndCategoryAndSplitBy) && a !== void 0 && a in g && (x.xField = a, x.xValue = qt({
1455
+ (n === F.BoxPlotMonoFieldAndCategory || n === F.BoxPlotMultiFieldsAndCategory || n === F.BoxPlotMonoFieldAndCategoryAndSplitBy) && a !== void 0 && a in g && (x.xField = a, x.xValue = qt({
1456
1456
  value: g[a],
1457
1457
  dataContext: g,
1458
1458
  keepNullValues: !0,
1459
1459
  specificField: I.typeOrDomainIdValue
1460
- })), (n === A.BoxPlotMonoFieldAndSplitBy || n === A.BoxPlotMultiFieldsAndSplitBy || n === A.BoxPlotMonoFieldAndCategoryAndSplitBy) && o !== void 0 && o in g && (x.splitByField = o, x.splitByValue = g[o]), u.push(Rc({ ...x, target: "outliers" })), f.push(Rc({ ...x, target: "alternativeData" })), (m % d === 0 || y === e.length - 1) && (l.push(We(u, "OR")), c.push(We(f, "OR")), u = [], f = []);
1460
+ })), (n === F.BoxPlotMonoFieldAndSplitBy || n === F.BoxPlotMultiFieldsAndSplitBy || n === F.BoxPlotMonoFieldAndCategoryAndSplitBy) && o !== void 0 && o in g && (x.splitByField = o, x.splitByValue = g[o]), u.push(Rc({ ...x, target: "outliers" })), f.push(Rc({ ...x, target: "alternativeData" })), (m % d === 0 || y === e.length - 1) && (l.push(We(u, "OR")), c.push(We(f, "OR")), u = [], f = []);
1461
1461
  }
1462
1462
  m += 1;
1463
1463
  }), { outliersFilterBatches: l, dataWithoutOutliersFilterBatches: c };
@@ -1467,12 +1467,12 @@ function ob(t) {
1467
1467
  let l = s?.[bn(o, X.Average)], c = s?.[bn(o, X.StandardDeviation)];
1468
1468
  if (l === void 0 && c === void 0)
1469
1469
  switch (a) {
1470
- case A.BoxPlotMultiFields: {
1470
+ case F.BoxPlotMultiFields: {
1471
1471
  const d = Hn(o), u = e[0];
1472
1472
  l = Number(u[d[Y.Average]]), c = Number(u[d[Y.StandardDeviation]]);
1473
1473
  break;
1474
1474
  }
1475
- case A.BoxPlotMultiFieldsAndCategory: {
1475
+ case F.BoxPlotMultiFieldsAndCategory: {
1476
1476
  const d = e.find((u) => u[n] === i[n]);
1477
1477
  if (d !== void 0) {
1478
1478
  const u = Hn(o);
@@ -1480,7 +1480,7 @@ function ob(t) {
1480
1480
  }
1481
1481
  break;
1482
1482
  }
1483
- case A.BoxPlotMultiFieldsAndSplitBy: {
1483
+ case F.BoxPlotMultiFieldsAndSplitBy: {
1484
1484
  const d = e.find((u) => u[r] === i[r]);
1485
1485
  if (d !== void 0) {
1486
1486
  const u = Hn(o);
@@ -1506,7 +1506,7 @@ async function sb(t) {
1506
1506
  if (v !== "") {
1507
1507
  const L = [];
1508
1508
  c !== I.boxPlot.boxPlotCategory && L.push(c), L.push(S), d !== "" && L.push(d), L.push(u.objectIdField);
1509
- const F = {
1509
+ const A = {
1510
1510
  ...a,
1511
1511
  where: We([a.where, v]),
1512
1512
  groupByFieldsForStatistics: void 0,
@@ -1518,7 +1518,7 @@ async function sb(t) {
1518
1518
  m.push(
1519
1519
  qi({
1520
1520
  queryObject: n,
1521
- queryConfig: F,
1521
+ queryConfig: A,
1522
1522
  featureCount: 1,
1523
1523
  // TODO: pre-count to trigger batching
1524
1524
  abortKey: s
@@ -1539,23 +1539,23 @@ async function sb(t) {
1539
1539
  chartSubType: r
1540
1540
  };
1541
1541
  switch (r) {
1542
- case A.BoxPlotMonoFieldAndSplitBy:
1543
- case A.BoxPlotMultiFieldsAndSplitBy:
1544
- case A.BoxPlotMonoFieldAndCategoryAndSplitBy:
1542
+ case F.BoxPlotMonoFieldAndSplitBy:
1543
+ case F.BoxPlotMultiFieldsAndSplitBy:
1544
+ case F.BoxPlotMonoFieldAndCategoryAndSplitBy:
1545
1545
  L = {
1546
1546
  ...L,
1547
1547
  splitByValue: v[d]
1548
1548
  };
1549
1549
  break;
1550
- case A.BoxPlotMultiFieldsAndCategory:
1550
+ case F.BoxPlotMultiFieldsAndCategory:
1551
1551
  L = {
1552
1552
  ...L,
1553
1553
  y: x
1554
1554
  };
1555
1555
  break;
1556
1556
  }
1557
- const F = oe(L), T = v[x];
1558
- v[F] = T;
1557
+ const A = oe(L), T = v[x];
1558
+ v[A] = T;
1559
1559
  const D = `${v[c]}-${v[d]}-${T}`, k = y.get(D);
1560
1560
  if (v[et.uniqueIdsName] = [
1561
1561
  ...k?.[et.uniqueIdsName] ?? [],
@@ -1598,9 +1598,9 @@ async function rb(t) {
1598
1598
  splitByField: y
1599
1599
  });
1600
1600
  for (let L = 0; L < v.length; L += 1) {
1601
- const F = v[L], T = {
1601
+ const A = v[L], T = {
1602
1602
  ...a,
1603
- where: We([a.where, F])
1603
+ where: We([a.where, A])
1604
1604
  };
1605
1605
  T.outStatistics !== void 0 && (T.outStatistics = T.outStatistics?.filter(
1606
1606
  (D) => (D.statisticType === X.Minimum || D.statisticType === X.Maximum) && D.onStatisticField === C
@@ -1624,7 +1624,7 @@ async function rb(t) {
1624
1624
  const S = await Promise.all(p);
1625
1625
  for (let x = 0; x < S.length; x += 1)
1626
1626
  l.push(...S[x]);
1627
- return f !== A.BoxPlotMonoFieldAndCategoryAndSplitBy && (l = bo({
1627
+ return f !== F.BoxPlotMonoFieldAndCategoryAndSplitBy && (l = bo({
1628
1628
  data: l,
1629
1629
  x: y !== void 0 && y !== "" ? y : g
1630
1630
  })), l;
@@ -1633,7 +1633,7 @@ async function lb(t) {
1633
1633
  const { queryObject: e, uniqueQuery: i, chartConfig: a, abortKey: n } = t;
1634
1634
  let o;
1635
1635
  const { series: s, showMean: r } = a, l = H(s);
1636
- if (l === A.BoxPlotMultiFieldsAndCategory || l === A.BoxPlotMultiFieldsAndSplitBy) {
1636
+ if (l === F.BoxPlotMultiFieldsAndCategory || l === F.BoxPlotMultiFieldsAndSplitBy) {
1637
1637
  const c = Gr({ showMean: r, seriesConfig: s }), d = {
1638
1638
  ...i
1639
1639
  };
@@ -1681,17 +1681,17 @@ function Hu(t) {
1681
1681
  if ((r.type === b.LineSeries || r.type === b.BoxPlotSeries) && i?.[0] !== void 0) {
1682
1682
  const f = Xe(r.query?.where);
1683
1683
  switch (l) {
1684
- case A.BoxPlotMonoField:
1684
+ case F.BoxPlotMonoField:
1685
1685
  u[0][I.boxPlot.boxPlotCategory] = d[0];
1686
1686
  break;
1687
- case A.BoxPlotMultiFields:
1687
+ case F.BoxPlotMultiFields:
1688
1688
  u = Zy({
1689
1689
  data: i,
1690
1690
  yList: d,
1691
1691
  calculateZScore: a
1692
1692
  });
1693
1693
  break;
1694
- case A.BoxPlotMonoFieldAndSplitBy:
1694
+ case F.BoxPlotMonoFieldAndSplitBy:
1695
1695
  u = Jy({
1696
1696
  data: i,
1697
1697
  splitByField: f,
@@ -1699,7 +1699,7 @@ function Hu(t) {
1699
1699
  // there's only one `y` value for that query type
1700
1700
  });
1701
1701
  break;
1702
- case A.BoxPlotMultiFieldsAndSplitBy:
1702
+ case F.BoxPlotMultiFieldsAndSplitBy:
1703
1703
  u = eb({
1704
1704
  splitByField: f,
1705
1705
  data: i,
@@ -1708,7 +1708,7 @@ function Hu(t) {
1708
1708
  calculateZScore: a
1709
1709
  });
1710
1710
  break;
1711
- case A.BoxPlotMultiFieldsAndCategory:
1711
+ case F.BoxPlotMultiFieldsAndCategory:
1712
1712
  u = tb({
1713
1713
  data: i,
1714
1714
  yList: d,
@@ -1716,14 +1716,14 @@ function Hu(t) {
1716
1716
  calculateZScore: a
1717
1717
  });
1718
1718
  break;
1719
- case A.BoxPlotMonoFieldAndCategoryAndSplitBy:
1719
+ case F.BoxPlotMonoFieldAndCategoryAndSplitBy:
1720
1720
  u = ib({
1721
1721
  splitByField: f,
1722
1722
  x: c,
1723
1723
  data: i
1724
1724
  });
1725
1725
  break;
1726
- case A.BoxPlotMonoFieldAndCategory:
1726
+ case F.BoxPlotMonoFieldAndCategory:
1727
1727
  }
1728
1728
  }
1729
1729
  return ab(e, u), u;
@@ -1840,7 +1840,7 @@ function yb(t) {
1840
1840
  splitByField: l
1841
1841
  } = t, c = et.outStatistics;
1842
1842
  if (e.outStatistics?.[0] !== void 0) {
1843
- o !== A.PieFromFields && o !== A.BarAndLineFromFields && (e.outStatistics[0].outStatisticFieldName = a ? c.outStatisticFieldName : [i].flat()[0]);
1843
+ o !== F.PieFromFields && o !== F.BarAndLineFromFields && (e.outStatistics[0].outStatisticFieldName = a ? c.outStatisticFieldName : [i].flat()[0]);
1844
1844
  const { outStatistics: d } = e;
1845
1845
  for (let u = 0; u < d.length; u += 1) {
1846
1846
  const f = e.outStatistics[u];
@@ -1913,7 +1913,7 @@ function xb(t) {
1913
1913
  const { uniqueQuery: e, x: i, splitByField: a, unit: n, chartSubType: o, objectIdField: s } = t;
1914
1914
  if (n !== void 0) {
1915
1915
  const r = fb(i, n);
1916
- e.orderByFields = r, e.groupByFieldsForStatistics = r, o === A.BarAndLineSplitBy && !de(a) ? e.groupByFieldsForStatistics.push(a) : o === A.BarAndLineNoAggregation && (e.groupByFieldsForStatistics.push(s), e.outStatistics = [
1916
+ e.orderByFields = r, e.groupByFieldsForStatistics = r, o === F.BarAndLineSplitBy && !de(a) ? e.groupByFieldsForStatistics.push(a) : o === F.BarAndLineNoAggregation && (e.groupByFieldsForStatistics.push(s), e.outStatistics = [
1917
1917
  {
1918
1918
  onStatisticField: s,
1919
1919
  outStatisticFieldName: `COUNT_${s}`,
@@ -1928,7 +1928,7 @@ function qu(t) {
1928
1928
  const n = Iu(e, i?.chartLimits);
1929
1929
  if (n !== void 0) {
1930
1930
  const o = H(e.series);
1931
- if (o === A.PieFromFields || o === A.BarAndLineFromFields) {
1931
+ if (o === F.PieFromFields || o === F.BarAndLineFromFields) {
1932
1932
  if (a.outStatistics?.[0] !== void 0) {
1933
1933
  const s = (c, d) => c.statisticType === X.EnvelopeAggregate === d, r = a.outStatistics.filter((c) => s(c, !0)), l = a.outStatistics.filter((c) => s(c, !1));
1934
1934
  l.splice(n), a.outStatistics = [...l, ...r];
@@ -1944,45 +1944,45 @@ async function Is(t) {
1944
1944
  setTimeBinningInfoWhenNotProvided: r,
1945
1945
  seriesConfig: u
1946
1946
  });
1947
- let p = /* @__PURE__ */ new Map(), S = !1, x = !1, C = !1, v = !1, L = !1, F = {};
1947
+ let p = /* @__PURE__ */ new Map(), S = !1, x = !1, C = !1, v = !1, L = !1, A = {};
1948
1948
  if (f !== void 0) {
1949
- F = Re(f);
1949
+ A = Re(f);
1950
1950
  const z = Xe(f.where);
1951
1951
  let G = "";
1952
1952
  switch (i.fetchNullValues !== !0 && (m !== I.boxPlot.boxPlotCategory && (G = `${m} IS NOT NULL`), z.trim() !== "" && z !== m && !gs(f.where) && (G = We([G, `${z} IS NOT NULL`]))), d) {
1953
- case A.BarAndLineSplitBy: {
1953
+ case F.BarAndLineSplitBy: {
1954
1954
  p = gb(c), v = !0, S = !0, x = !0;
1955
1955
  break;
1956
1956
  }
1957
- case A.BarAndLineMultiFields:
1958
- Sb(F, c), x = !0;
1957
+ case F.BarAndLineMultiFields:
1958
+ Sb(A, c), x = !0;
1959
1959
  break;
1960
- case A.PieFromFields:
1961
- case A.BarAndLineFromFields:
1960
+ case F.PieFromFields:
1961
+ case F.BarAndLineFromFields:
1962
1962
  G = "", C = !0, x = !0;
1963
1963
  break;
1964
- case A.BarAndLineMonoField:
1965
- case A.PieFromCategory:
1964
+ case F.BarAndLineMonoField:
1965
+ case F.PieFromCategory:
1966
1966
  x = !0;
1967
1967
  break;
1968
- case A.BoxPlotMonoField:
1969
- case A.BoxPlotMultiFields:
1968
+ case F.BoxPlotMonoField:
1969
+ case F.BoxPlotMultiFields:
1970
1970
  C = !0, L = !0;
1971
1971
  break;
1972
- case A.BoxPlotMonoFieldAndCategory:
1973
- case A.BoxPlotMultiFieldsAndCategory:
1974
- case A.BoxPlotMonoFieldAndSplitBy:
1975
- case A.BoxPlotMonoFieldAndCategoryAndSplitBy:
1976
- case A.BoxPlotMultiFieldsAndSplitBy: {
1972
+ case F.BoxPlotMonoFieldAndCategory:
1973
+ case F.BoxPlotMultiFieldsAndCategory:
1974
+ case F.BoxPlotMonoFieldAndSplitBy:
1975
+ case F.BoxPlotMonoFieldAndCategoryAndSplitBy:
1976
+ case F.BoxPlotMultiFieldsAndSplitBy: {
1977
1977
  L = !0, v = !0, C = !0;
1978
1978
  break;
1979
1979
  }
1980
- case A.PieNoAggregation:
1981
- case A.BarAndLineNoAggregation:
1982
- case A.BarAndLineSplitByNoAggregation:
1980
+ case F.PieNoAggregation:
1981
+ case F.BarAndLineNoAggregation:
1982
+ case F.BarAndLineSplitByNoAggregation:
1983
1983
  }
1984
1984
  if (x && yb({
1985
- uniqueQuery: F,
1985
+ uniqueQuery: A,
1986
1986
  y: g,
1987
1987
  useGenericOutStatFieldName: S,
1988
1988
  queryObject: n,
@@ -1990,13 +1990,13 @@ async function Is(t) {
1990
1990
  isTimeBinningSeries: y,
1991
1991
  returnFeaturesExtent: l,
1992
1992
  splitByField: z
1993
- }), v && hb({ uniqueQuery: F, splitByField: z, x: m }), L && (F.outStatistics = bb({ chartConfig: e, fetchFullBoxPlotData: s })), C ? delete F.orderByFields : i.orderByFields !== void 0 && (F.orderByFields = i.orderByFields.filter((q) => {
1993
+ }), v && hb({ uniqueQuery: A, splitByField: z, x: m }), L && (A.outStatistics = bb({ chartConfig: e, fetchFullBoxPlotData: s })), C ? delete A.orderByFields : i.orderByFields !== void 0 && (A.orderByFields = i.orderByFields.filter((q) => {
1994
1994
  const _ = q.split(" ");
1995
1995
  return !de(_[0]);
1996
1996
  })), y && ci(c[0])) {
1997
1997
  const q = Ce(n), { objectIdField: _ } = q;
1998
1998
  (await st(n)).find((U) => U.name === m)?.type !== ho.DateOnly && xb({
1999
- uniqueQuery: F,
1999
+ uniqueQuery: A,
2000
2000
  x: m,
2001
2001
  splitByField: Xe(f.where),
2002
2002
  unit: o?.unit ?? c[0].temporalBinning?.unit,
@@ -2004,11 +2004,11 @@ async function Is(t) {
2004
2004
  objectIdField: _
2005
2005
  });
2006
2006
  }
2007
- F.where = G;
2007
+ A.where = G;
2008
2008
  }
2009
- qu({ chartConfig: e, options: a, uniqueQuery: F });
2009
+ qu({ chartConfig: e, options: a, uniqueQuery: A });
2010
2010
  const { gdbVersion: T, geometry: D, distance: k, units: O, timeExtent: P, where: $, objectIds: R, spatialRelationship: V } = i;
2011
- return T !== void 0 && (F.gdbVersion = T), D !== void 0 && (F.geometry = D), k !== void 0 && (F.distance = k), O !== void 0 && (F.units = O), P !== void 0 && (F.timeExtent = P), R !== void 0 && (F.objectIds = R), V !== void 0 && (F.spatialRelationship = V), $ !== void 0 && (F.where = We([F.where, $])), { uniqueQuery: F, mapToStatField: p };
2011
+ return T !== void 0 && (A.gdbVersion = T), D !== void 0 && (A.geometry = D), k !== void 0 && (A.distance = k), O !== void 0 && (A.units = O), P !== void 0 && (A.timeExtent = P), R !== void 0 && (A.objectIds = R), V !== void 0 && (A.spatialRelationship = V), $ !== void 0 && (A.where = We([A.where, $])), { uniqueQuery: A, mapToStatField: p };
2012
2012
  }
2013
2013
  async function Cb(t) {
2014
2014
  const { queryObject: e, queryConfig: i, chartConfig: a, abortKey: n } = t, o = a.series[0], { x: s, valueConversion: r } = o, l = co(a), c = await qi({
@@ -2280,7 +2280,7 @@ async function Nb(t) {
2280
2280
  } catch {
2281
2281
  }
2282
2282
  S = Ib(S);
2283
- const { avg: x, count: C, stddev: v, min: L, max: F, sum: T, median: D } = S;
2283
+ const { avg: x, count: C, stddev: v, min: L, max: A, sum: T, median: D } = S;
2284
2284
  if (C === 0)
2285
2285
  d = {
2286
2286
  ...Gu(c)
@@ -2292,7 +2292,7 @@ async function Nb(t) {
2292
2292
  view: g,
2293
2293
  useFeaturesInView: m,
2294
2294
  minValue: Tb(L),
2295
- maxValue: F,
2295
+ maxValue: A,
2296
2296
  valueExpression: y.valueExpression,
2297
2297
  queryConfig: i
2298
2298
  });
@@ -2308,7 +2308,7 @@ async function Nb(t) {
2308
2308
  mean: x,
2309
2309
  stddev: v,
2310
2310
  min: L,
2311
- max: F,
2311
+ max: A,
2312
2312
  median: Number(D),
2313
2313
  bins: O?.bins,
2314
2314
  count: n,
@@ -2394,7 +2394,7 @@ async function Rb(t) {
2394
2394
  let m, g, y, p, S;
2395
2395
  const x = e.get(r), C = e.get(l), v = e.get(c), L = e.get(d);
2396
2396
  if (x != null && v !== void 0 && v !== null && C !== void 0 && C !== null && L !== void 0 && L !== null && !Number.isNaN(x + C + v + L)) {
2397
- const { maxScatterPointsAfterAggregation: F } = Ln(n?.chartLimits), D = Math.floor(Math.sqrt(F)), k = await Pb({
2397
+ const { maxScatterPointsAfterAggregation: A } = Ln(n?.chartLimits), D = Math.floor(Math.sqrt(A)), k = await Pb({
2398
2398
  queryObject: a,
2399
2399
  chartConfig: i,
2400
2400
  queryConfig: o,
@@ -2445,8 +2445,8 @@ async function zb(t) {
2445
2445
  queryNumberOfAggregatedFeatures: p
2446
2446
  } = I.scatterplotAggregationFields;
2447
2447
  let S;
2448
- const x = e?.get(u) ?? Number.NaN, C = e?.get(f) ?? Number.NaN, v = e?.get(y) ?? Number.NaN, L = e?.get(m) ?? x, F = e?.get(g) ?? C;
2449
- if (x != null && L !== void 0 && L !== null && C !== void 0 && C !== null && F !== void 0 && F !== null && !Number.isNaN(x + C + L + F)) {
2448
+ const x = e?.get(u) ?? Number.NaN, C = e?.get(f) ?? Number.NaN, v = e?.get(y) ?? Number.NaN, L = e?.get(m) ?? x, A = e?.get(g) ?? C;
2449
+ if (x != null && L !== void 0 && L !== null && C !== void 0 && C !== null && A !== void 0 && A !== null && !Number.isNaN(x + C + L + A)) {
2450
2450
  const T = Ce(a), { objectIdField: D } = T, k = e?.get(I.scatterplotAggregationFields.xStep), O = e?.get(I.scatterplotAggregationFields.yStep), P = e?.get(I.scatterplotAggregationFields.realGridSize), $ = e?.get(I.scatterplotAggregationFields.rowCount), R = e?.get(I.scatterplotAggregationFields.columnCount), V = /* @__PURE__ */ new Map();
2451
2451
  if ((await st(a))?.forEach((q) => {
2452
2452
  Xr(q) && V.set(q.name, {
@@ -2595,8 +2595,8 @@ async function Xb(t) {
2595
2595
  });
2596
2596
  if (C !== void 0) {
2597
2597
  let v = Number.NaN, L = Number.NaN;
2598
- const { expr: F } = ar(C, y), { expr: T } = ar(C, p), { expr: D } = ar(C, S);
2599
- F !== void 0 && Number.isFinite(C[F]) && (v = C[F]), T !== void 0 && Number.isFinite(C[T]) && (L = C[T]), D !== void 0 && Number.isFinite(C[D]) && (l = C[D]);
2598
+ const { expr: A } = ar(C, y), { expr: T } = ar(C, p), { expr: D } = ar(C, S);
2599
+ A !== void 0 && Number.isFinite(C[A]) && (v = C[A]), T !== void 0 && Number.isFinite(C[T]) && (L = C[T]), D !== void 0 && Number.isFinite(C[D]) && (l = C[D]);
2600
2600
  const { dataContextXMinField: k, dataContextXMaxField: O, dataContextYMinField: P, dataContextYMaxField: $ } = I.scatterplotAggregationFields, R = e.get(k) ?? Number.NaN, V = e.get(O) ?? Number.NaN, z = e.get(P) ?? Number.NaN, G = e.get($) ?? Number.NaN, _ = (V - R) / 100;
2601
2601
  let J = R - _, ee = Number.NaN;
2602
2602
  for (; !(ee >= z && ee <= G) && J <= V; )
@@ -2887,11 +2887,11 @@ function Zb(t) {
2887
2887
  if (l !== void 0 && ul({
2888
2888
  itemsA: l,
2889
2889
  itemsB: i,
2890
- isPieFromFields: H(e.series) === A.PieFromFields,
2890
+ isPieFromFields: H(e.series) === F.PieFromFields,
2891
2891
  x: e.series[0].x,
2892
2892
  y: "y" in e.series[0] ? e.series[0].y.toString() : void 0,
2893
2893
  outStatisticFieldName: e.series[0].query?.outStatistics?.[0]?.outStatisticFieldName
2894
- }) ? o = l : o = i ?? [], s.length > 1 && r !== A.BarAndLineNoAggregation && r !== A.BarAndLineSplitByNoAggregation) {
2894
+ }) ? o = l : o = i ?? [], s.length > 1 && r !== F.BarAndLineNoAggregation && r !== F.BarAndLineSplitByNoAggregation) {
2895
2895
  const c = Xe(s[0].query?.where);
2896
2896
  o = bo({ data: o, x: s[0].x, splitByField: c });
2897
2897
  }
@@ -2968,7 +2968,7 @@ function Ku(t) {
2968
2968
  const l = _i({ where: a ?? "", normalize: !1, escape: !0 });
2969
2969
  let c = "";
2970
2970
  if (Gi(s) === !0) {
2971
- const u = H(s.series) === A.BoxPlotMultiFieldsAndCategory ? i : void 0, f = oe({
2971
+ const u = H(s.series) === F.BoxPlotMultiFieldsAndCategory ? i : void 0, f = oe({
2972
2972
  key: Y.Min,
2973
2973
  showOutliers: !0,
2974
2974
  splitBy: a,
@@ -2991,7 +2991,7 @@ function eS(t) {
2991
2991
  let s = "";
2992
2992
  if (I.dateBinningRange in a)
2993
2993
  s = _u(e, a);
2994
- else if (H(o.series) !== A.BarAndLineFromFields) {
2994
+ else if (H(o.series) !== F.BarAndLineFromFields) {
2995
2995
  let c = qt({
2996
2996
  value: a[e],
2997
2997
  dataContext: a,
@@ -3010,7 +3010,7 @@ function eS(t) {
3010
3010
  function tS(t) {
3011
3011
  const { xAxisField: e, dataContext: i, chartConfig: a } = t;
3012
3012
  let n = I.typeOrDomainIdValue in i ? i[I.typeOrDomainIdValue] : i[I.originalCategoryValue];
3013
- return n === void 0 && (n = i[e]), H(a.series) === A.PieFromFields ? "" : _i({
3013
+ return n === void 0 && (n = i[e]), H(a.series) === F.PieFromFields ? "" : _i({
3014
3014
  where: La(e, n),
3015
3015
  normalize: !1,
3016
3016
  escape: !0
@@ -3103,6 +3103,8 @@ async function nS(t) {
3103
3103
  case b.HeatSeries:
3104
3104
  u.push(
3105
3105
  lf({
3106
+ completeHeatChartDataset: !1,
3107
+ // we do not want the empty bins to be added for the selection
3106
3108
  chartConfig: a,
3107
3109
  queryConfig: x,
3108
3110
  queryObject: r,
@@ -3210,11 +3212,11 @@ function oS(t) {
3210
3212
  [f]: m[f]
3211
3213
  }))
3212
3214
  );
3213
- } else c.valid && (o === A.PieFromFields ? s = Zo({
3215
+ } else c.valid && (o === F.PieFromFields ? s = Zo({
3214
3216
  dataToConvert: d[0],
3215
3217
  x: Ke,
3216
3218
  y: kt
3217
- }) : o === A.BarAndLineFromFields ? s = Zo({
3219
+ }) : o === F.BarAndLineFromFields ? s = Zo({
3218
3220
  dataToConvert: d[0],
3219
3221
  x: a[0].x,
3220
3222
  y: a[0].y
@@ -3240,12 +3242,12 @@ async function fl(t) {
3240
3242
  const v = Li(a);
3241
3243
  if (v !== void 0 && !sl({ dataContext: v[0], chartConfig: e, chartLimits: m }))
3242
3244
  p = v.filter((L) => {
3243
- const F = L[et.uniqueIdsName];
3244
- return typeof F == "number" ? y?.includes(F) : !1;
3245
+ const A = L[et.uniqueIdsName];
3246
+ return typeof A == "number" ? y?.includes(A) : !1;
3245
3247
  });
3246
3248
  else if (y?.[0] !== void 0 && i !== void 0) {
3247
- const { maxOIDsPerSelectionQuery: L } = ro(), F = Math.ceil(y.length / L), T = await nS({
3248
- numberOfQueries: F,
3249
+ const { maxOIDsPerSelectionQuery: L } = ro(), A = Math.ceil(y.length / L), T = await nS({
3250
+ numberOfQueries: A,
3249
3251
  selectionOIDs: y,
3250
3252
  queryConfig: i,
3251
3253
  queryObject: s,
@@ -3255,7 +3257,7 @@ async function fl(t) {
3255
3257
  });
3256
3258
  p = oS({
3257
3259
  dataFetchingResults: T,
3258
- numberOfQueries: F,
3260
+ numberOfQueries: A,
3259
3261
  series: c
3260
3262
  });
3261
3263
  }
@@ -3306,9 +3308,9 @@ async function rS(t) {
3306
3308
  g.push(v[et.uniqueIdsName]);
3307
3309
  else {
3308
3310
  switch (l) {
3309
- case A.BoxPlotMonoFieldAndSplitBy:
3310
- case A.BoxPlotMultiFieldsAndSplitBy:
3311
- case A.BoxPlotMonoFieldAndCategoryAndSplitBy: {
3311
+ case F.BoxPlotMonoFieldAndSplitBy:
3312
+ case F.BoxPlotMultiFieldsAndSplitBy:
3313
+ case F.BoxPlotMonoFieldAndCategoryAndSplitBy: {
3312
3314
  L = d.query?.where ?? "";
3313
3315
  const k = Xe(L);
3314
3316
  let O = "";
@@ -3319,9 +3321,9 @@ async function rS(t) {
3319
3321
  break;
3320
3322
  }
3321
3323
  }
3322
- const F = [f].flat();
3323
- let T = F.length === 1 ? F[0] : "";
3324
- if (l === A.BoxPlotMultiFieldsAndCategory) {
3324
+ const A = [f].flat();
3325
+ let T = A.length === 1 ? A[0] : "";
3326
+ if (l === F.BoxPlotMultiFieldsAndCategory) {
3325
3327
  const k = `_${Y.FirstQuartile}`, O = Object.keys(v).find((P) => P.includes(k));
3326
3328
  O !== void 0 && (T = O.replace(k, ""));
3327
3329
  }
@@ -3384,7 +3386,7 @@ async function lS(t) {
3384
3386
  m.data = { dataItems: g };
3385
3387
  break;
3386
3388
  case b.PieSeries:
3387
- if (H(a.series) === A.PieFromFields) {
3389
+ if (H(a.series) === F.PieFromFields) {
3388
3390
  const { x: p, y: S } = a.series[0], x = Re(g);
3389
3391
  x.forEach((C) => {
3390
3392
  p in C && (C[Ke] = C[p], delete C[p]), S in C && (C[kt] = C[S], delete C[S]);
@@ -3434,8 +3436,8 @@ async function lS(t) {
3434
3436
  }, m.count = 0;
3435
3437
  else {
3436
3438
  const { x: p } = d[0], S = g.map((v, L) => {
3437
- const { minValue: F, maxValue: T } = v, D = L === g.length - 1 ? "<=" : "<";
3438
- return `${p} >= ${F} AND ${p} ${D} ${T}`;
3439
+ const { minValue: A, maxValue: T } = v, D = L === g.length - 1 ? "<=" : "<";
3440
+ return `${p} >= ${A} AND ${p} ${D} ${T}`;
3439
3441
  }), x = We(S, "OR"), C = { ...i };
3440
3442
  C.where = We([C.where, x]), m = await Yu({
3441
3443
  queryObject: e,
@@ -3608,7 +3610,7 @@ async function uS(t) {
3608
3610
  const { seriesData: e, chartConfig: i, queryConfig: a, queryObject: n, categoryOrDateCount: o, behaviorAfterLimit: s, abortKey: r } = t, { series: l } = i;
3609
3611
  let c = e;
3610
3612
  const d = H(l), u = jt(i);
3611
- if (s !== vn.RenderUpToTheLimit && n !== void 0 && o !== void 0 && o > e.length && d !== A.BarAndLineFromFields && d !== A.BarAndLineNoAggregation && d !== A.PieNoAggregation && u === b.CategoryAxisFormat) {
3613
+ if (s !== vn.RenderUpToTheLimit && n !== void 0 && o !== void 0 && o > e.length && d !== F.BarAndLineFromFields && d !== F.BarAndLineNoAggregation && d !== F.PieNoAggregation && u === b.CategoryAxisFormat) {
3612
3614
  const { x: f } = l[0], m = {
3613
3615
  ...a,
3614
3616
  returnDistinctValues: !0,
@@ -3641,13 +3643,13 @@ function fS(t, e) {
3641
3643
  return i;
3642
3644
  }
3643
3645
  const ef = [
3644
- A.BarAndLineMonoField,
3645
- A.BarAndLineMultiFields,
3646
- A.PieNoAggregation,
3647
- A.PieFromCategory,
3648
- A.BoxPlotMonoFieldAndCategory,
3649
- A.BoxPlotMultiFieldsAndCategory,
3650
- A.BoxPlotMonoFieldAndCategoryAndSplitBy
3646
+ F.BarAndLineMonoField,
3647
+ F.BarAndLineMultiFields,
3648
+ F.PieNoAggregation,
3649
+ F.PieFromCategory,
3650
+ F.BoxPlotMonoFieldAndCategory,
3651
+ F.BoxPlotMultiFieldsAndCategory,
3652
+ F.BoxPlotMonoFieldAndCategoryAndSplitBy
3651
3653
  ];
3652
3654
  function tf(t, e) {
3653
3655
  let i = t;
@@ -3773,21 +3775,21 @@ function pS(t) {
3773
3775
  };
3774
3776
  for (; !p; ) {
3775
3777
  let C = {};
3776
- const { binStartDate: v, binEndDate: L, last: F, nextBinFirstOrLastIndex: T, sliceStartIndex: D, sliceEndIndex: k } = u === Lt.End ? (
3778
+ const { binStartDate: v, binEndDate: L, last: A, nextBinFirstOrLastIndex: T, sliceStartIndex: D, sliceEndIndex: k } = u === Lt.End ? (
3777
3779
  // When grouping from the end we'll start from the last date and move backward to create the bins
3778
3780
  gS(x)
3779
3781
  ) : (
3780
3782
  // When grouping from the start we'll start from the first date and move forward to create the bins
3781
3783
  mS(x)
3782
3784
  );
3783
- if (p = F, C = u === Lt.End ? C = e[k - 1] : C = e[S], L > o && v < o || v < n && L > n || v >= n && L <= o) {
3785
+ if (p = A, C = u === Lt.End ? C = e[k - 1] : C = e[S], L > o && v < o || v < n && L > n || v >= n && L <= o) {
3784
3786
  const O = e.slice(D, k).filter((R) => !(I.dateBinModel in R));
3785
3787
  g.forEach((R) => {
3786
3788
  C[R] = hS({ binsToRegroup: O, statisticType: y, y: R, nullPolicy: f });
3787
3789
  });
3788
3790
  const P = O.map((R) => R[pa]).filter((R) => R !== void 0), $ = py(P);
3789
3791
  $ !== void 0 && (C[pa] = $), C[d] = v, C[I.xAxisField] = v, C[I.dateBinningRange] = [v, L], delete C[I.dateBinModel], s.push(C);
3790
- } else F && u !== Lt.End && s.length > 0 && (s[s.length - 1][I.dateBinningRange][1] = s[s.length - 1][I.dateBinningRange][1] + 1);
3792
+ } else A && u !== Lt.End && s.length > 0 && (s[s.length - 1][I.dateBinningRange][1] = s[s.length - 1][I.dateBinningRange][1] + 1);
3791
3793
  S = T, x.binFirstOrLastIndex = T;
3792
3794
  }
3793
3795
  u === Lt.End && (s = s.reverse());
@@ -4056,14 +4058,14 @@ async function AS(t) {
4056
4058
  return i.forEach((S, x) => {
4057
4059
  if (!(y && (x === 0 && p === Lt.End || x === i.length - 1 && p === Lt.Start))) {
4058
4060
  const { attributes: v, stackedAttributes: L } = S;
4059
- let F = v[c.lowerBoundaryAlias], T = v[c.upperBoundaryAlias];
4060
- const D = F, k = T, O = ($) => {
4061
+ let A = v[c.lowerBoundaryAlias], T = v[c.upperBoundaryAlias];
4062
+ const D = A, k = T, O = ($) => {
4061
4063
  const { boundary: R, separator: V, xFieldType: z } = $;
4062
4064
  let G = R;
4063
4065
  return z === ho.DateOnly && (typeof R == "string" && R.length === 10 || typeof R == "number") ? (G = new Date(R), G = new Date(G.valueOf() + G.getTimezoneOffset() * 6e4).valueOf()) : typeof R == "string" && R.lastIndexOf(V) === R.length - 6 && (G = new Date(R.slice(0, R.lastIndexOf(V))).valueOf()), G;
4064
4066
  };
4065
4067
  ["+", "-"].forEach(($) => {
4066
- F = O({ boundary: F, separator: $, xFieldType: u }), T = O({ boundary: T, separator: $, xFieldType: u });
4068
+ A = O({ boundary: A, separator: $, xFieldType: u }), T = O({ boundary: T, separator: $, xFieldType: u });
4067
4069
  });
4068
4070
  const P = ($, R) => {
4069
4071
  if (R)
@@ -4079,9 +4081,9 @@ async function AS(t) {
4079
4081
  break;
4080
4082
  }
4081
4083
  };
4082
- if (typeof F == "number" && typeof T == "number") {
4084
+ if (typeof A == "number" && typeof T == "number") {
4083
4085
  const $ = { ...v };
4084
- $[I.originalServerBinningRange] = [D, k], $[o] = F, $[I.xAxisField] = F, $[I.dateBinningRange] = [F, T], delete $[c.lowerBoundaryAlias], delete $[c.upperBoundaryAlias], L && n && !de(n) && a ? L.forEach((z) => {
4086
+ $[I.originalServerBinningRange] = [D, k], $[o] = A, $[I.xAxisField] = A, $[I.dateBinningRange] = [A, T], delete $[c.lowerBoundaryAlias], delete $[c.upperBoundaryAlias], L && n && !de(n) && a ? L.forEach((z) => {
4085
4087
  const G = z[n];
4086
4088
  if (G === null || typeof G == "string" || typeof G == "number") {
4087
4089
  const q = a?.get(G);
@@ -4193,7 +4195,7 @@ function of(t) {
4193
4195
  e.aggregateGeometries && "Extent" in e.aggregateGeometries ? n = e.aggregateGeometries.Extent : { extent: n } = e.aggregateGeometries ?? e.geometry ?? {};
4194
4196
  const o = n?.toJSON();
4195
4197
  let s = pa;
4196
- return o !== void 0 && i !== void 0 && a !== void 0 && a === A.BarAndLineSplitBy && (s = e.attributes[i] !== void 0 ? `${pa}_${e.attributes[i]}` : pa), { featureExtent: o, featureExtentKey: s };
4198
+ return o !== void 0 && i !== void 0 && a !== void 0 && a === F.BarAndLineSplitBy && (s = e.attributes[i] !== void 0 ? `${pa}_${e.attributes[i]}` : pa), { featureExtent: o, featureExtentKey: s };
4197
4199
  }
4198
4200
  function DS(t) {
4199
4201
  const { input: e, x: i, splitByField: a } = t;
@@ -4286,33 +4288,33 @@ function VS(t, e) {
4286
4288
  function ES(t, e) {
4287
4289
  let i = 1;
4288
4290
  switch (t) {
4289
- case A.BarAndLineFromFields:
4290
- case A.PieFromFields:
4291
+ case F.BarAndLineFromFields:
4292
+ case F.PieFromFields:
4291
4293
  i = e.series[0].query?.outStatistics?.length ?? 1;
4292
4294
  break;
4293
- case A.BoxPlotMultiFields:
4294
- case A.BoxPlotMultiFieldsAndSplitBy:
4295
+ case F.BoxPlotMultiFields:
4296
+ case F.BoxPlotMultiFieldsAndSplitBy:
4295
4297
  i = e.series[0].y.length;
4296
4298
  break;
4297
- case A.BarAndLineNoAggregation:
4298
- case A.BoxPlotMonoField:
4299
- case A.BoxPlotMonoFieldAndCategory:
4300
- case A.BoxPlotMultiFieldsAndCategory:
4301
- case A.BoxPlotMonoFieldAndSplitBy:
4302
- case A.BoxPlotMonoFieldAndCategoryAndSplitBy:
4303
- case A.PieFromCategory:
4304
- case A.BarAndLineSplitByNoAggregation:
4305
- case A.PieNoAggregation:
4306
- case A.BarAndLineSplitBy:
4307
- case A.BarAndLineMonoField:
4308
- case A.BarAndLineMultiFields:
4309
- case A.NonSpecific:
4299
+ case F.BarAndLineNoAggregation:
4300
+ case F.BoxPlotMonoField:
4301
+ case F.BoxPlotMonoFieldAndCategory:
4302
+ case F.BoxPlotMultiFieldsAndCategory:
4303
+ case F.BoxPlotMonoFieldAndSplitBy:
4304
+ case F.BoxPlotMonoFieldAndCategoryAndSplitBy:
4305
+ case F.PieFromCategory:
4306
+ case F.BarAndLineSplitByNoAggregation:
4307
+ case F.PieNoAggregation:
4308
+ case F.BarAndLineSplitBy:
4309
+ case F.BarAndLineMonoField:
4310
+ case F.BarAndLineMultiFields:
4311
+ case F.NonSpecific:
4310
4312
  }
4311
4313
  return i;
4312
4314
  }
4313
4315
  function zS(t) {
4314
4316
  const { attributes: e, showMean: i, chartSubType: a } = t;
4315
- i && (a === A.BoxPlotMonoFieldAndSplitBy || a === A.BoxPlotMultiFieldsAndSplitBy || a === A.BoxPlotMonoFieldAndCategoryAndSplitBy) && (e[I.boxPlot.boxPlotMeanLineMarkerId] = !0);
4317
+ i && (a === F.BoxPlotMonoFieldAndSplitBy || a === F.BoxPlotMultiFieldsAndSplitBy || a === F.BoxPlotMonoFieldAndCategoryAndSplitBy) && (e[I.boxPlot.boxPlotMeanLineMarkerId] = !0);
4316
4318
  }
4317
4319
  function WS(t) {
4318
4320
  const { queryResponse: e, chartConfig: i, maxCategoryCount: a } = t, n = H(i.series);
@@ -4322,7 +4324,7 @@ function HS(t) {
4322
4324
  const { attributes: e, uniqueCategoryList: i, maxCategoryCount: a, x: n, chartSubType: o } = t;
4323
4325
  let s = !1;
4324
4326
  if (n && a && Number.isFinite(a) && !ef.includes(o))
4325
- if ((o === A.BarAndLineFromFields || o === A.PieFromFields) && Object.keys(e).length > a)
4327
+ if ((o === F.BarAndLineFromFields || o === F.PieFromFields) && Object.keys(e).length > a)
4326
4328
  Object.keys(e).filter((r) => r !== X.EnvelopeAggregate).forEach((r, l) => {
4327
4329
  l >= a && delete e[r];
4328
4330
  });
@@ -4346,7 +4348,7 @@ function sf(t) {
4346
4348
  showMean: d,
4347
4349
  chartLimits: u,
4348
4350
  fieldList: f
4349
- } = t, { series: m } = i, g = H(m), y = W(m), { x: p } = m[0], S = "y" in m[0] ? m[0].y : void 0, x = m[0].query?.outStatistics ?? [], { originalCategoryValue: C, originalDateValue: v, typeOrDomainFieldName: L, typeOrDomainIdValue: F } = I, T = [];
4351
+ } = t, { series: m } = i, g = H(m), y = W(m), { x: p } = m[0], S = "y" in m[0] ? m[0].y : void 0, x = m[0].query?.outStatistics ?? [], { originalCategoryValue: C, originalDateValue: v, typeOrDomainFieldName: L, typeOrDomainIdValue: A } = I, T = [];
4350
4352
  let D = 0;
4351
4353
  const k = /* @__PURE__ */ new Set(), { maxCategoryCount: O } = Ln(u), P = WS({ queryResponse: e, chartConfig: i, maxCategoryCount: O });
4352
4354
  for (let $ = 0; P[$] && $ < P.length && !(c !== void 0 && D >= c); $ += 1) {
@@ -4355,24 +4357,24 @@ function sf(t) {
4355
4357
  let V = { ...R.attributes };
4356
4358
  if (HS({ attributes: V, uniqueCategoryList: k, maxCategoryCount: O, x: p, chartSubType: g }))
4357
4359
  continue;
4358
- MS(V, m), g === A.PieFromFields || g === A.BarAndLineFromFields ? V = PS(V, x) : typeof S == "string" && g === A.BarAndLineSplitByNoAggregation ? RS({ dataItem: V, splitByField: n, y: S }) : S && (g === A.BoxPlotMonoField || g === A.BoxPlotMonoFieldAndCategory || g === A.BoxPlotMonoFieldAndSplitBy || g === A.BoxPlotMonoFieldAndCategoryAndSplitBy) && VS(
4360
+ MS(V, m), g === F.PieFromFields || g === F.BarAndLineFromFields ? V = PS(V, x) : typeof S == "string" && g === F.BarAndLineSplitByNoAggregation ? RS({ dataItem: V, splitByField: n, y: S }) : S && (g === F.BoxPlotMonoField || g === F.BoxPlotMonoFieldAndCategory || g === F.BoxPlotMonoFieldAndSplitBy || g === F.BoxPlotMonoFieldAndCategoryAndSplitBy) && VS(
4359
4361
  V,
4360
4362
  typeof S == "string" ? S : S[0]
4361
4363
  ), zS({ attributes: V, showMean: d, chartSubType: g });
4362
4364
  let z = V[p];
4363
- z === null && m[0]?.query?.fetchNullValues === !0 && g !== A.PieFromFields && (V[C] = null, z = I.nullValue), s && typeof z == "string" ? z = new Date(z).valueOf() : r && (z = kS(V));
4365
+ z === null && m[0]?.query?.fetchNullValues === !0 && g !== F.PieFromFields && (V[C] = null, z = I.nullValue), s && typeof z == "string" ? z = new Date(z).valueOf() : r && (z = kS(V));
4364
4366
  const { outStatisticFieldName: G } = et.outStatistics ?? {}, { featureExtent: q, featureExtentKey: _ } = of({ feature: R, splitByField: n, chartSubType: g });
4365
- if (q && (V[_] = q), g === A.BarAndLineSplitBy && G !== void 0) {
4367
+ if (q && (V[_] = q), g === F.BarAndLineSplitBy && G !== void 0) {
4366
4368
  const ee = V[n], U = a?.get(ee);
4367
4369
  U !== void 0 && (ee === n && (V[I.technicalFieldSplitByField] = V[U]), V[U] = V[G]), delete V[G];
4368
- } else (g === A.PieNoAggregation || g === A.BarAndLineNoAggregation || g === A.BarAndLineSplitByNoAggregation) && (s ? V[v] = z : z !== I.nullValue && (V[C] = z), Fs({ isXAxis: !0, chartType: y, valueFormat: i.axes?.[0]?.valueFormat }) && (V[I.xAxisField] = `${z}-${$}`), V[et.uniqueIdsName] = V[o]);
4370
+ } else (g === F.PieNoAggregation || g === F.BarAndLineNoAggregation || g === F.BarAndLineSplitByNoAggregation) && (s ? V[v] = z : z !== I.nullValue && (V[C] = z), Fs({ isXAxis: !0, chartType: y, valueFormat: i.axes?.[0]?.valueFormat }) && (V[I.xAxisField] = `${z}-${$}`), V[et.uniqueIdsName] = V[o]);
4369
4371
  const J = ys({
4370
4372
  subtypeInfo: l,
4371
4373
  fieldList: f,
4372
4374
  fieldName: p,
4373
4375
  fieldValueToMatch: z
4374
4376
  });
4375
- J !== void 0 && J !== z && g !== A.PieFromFields && (V[C] = J, V[L] = p, V[F] = z), y === b.BoxPlotSeries && (V = NS(m, V)), y === b.PieSeries && typeof z == "number" && (V[C] === void 0 && (V[C] = V[p]), z = `${z}`), z !== void 0 && (V[C] === void 0 && (V[C] = V[p]), V[p] = J ?? z, V[p] === null && (V[p] = I.nullValue), V[I.xAxisField] === void 0 && (V[I.xAxisField] = V[F] ?? V[p])), V = $S(V, i), T.push(V);
4377
+ J !== void 0 && J !== z && g !== F.PieFromFields && (V[C] = J, V[L] = p, V[A] = z), y === b.BoxPlotSeries && (V = NS(m, V)), y === b.PieSeries && typeof z == "number" && (V[C] === void 0 && (V[C] = V[p]), z = `${z}`), z !== void 0 && (V[C] === void 0 && (V[C] = V[p]), V[p] = J ?? z, V[p] === null && (V[p] = I.nullValue), V[I.xAxisField] === void 0 && (V[I.xAxisField] = V[A] ?? V[p])), V = $S(V, i), T.push(V);
4376
4378
  }
4377
4379
  return T;
4378
4380
  }
@@ -4390,12 +4392,12 @@ async function ks(t) {
4390
4392
  usePopupTemplateFieldsInfo: d
4391
4393
  } = t, { series: u } = a, f = H(u);
4392
4394
  let m = [];
4393
- const g = f === A.BarAndLineSplitBy || f === A.BarAndLineSplitByNoAggregation ? Xe(u[0].query?.where) : "", y = await qi({
4395
+ const g = f === F.BarAndLineSplitBy || f === F.BarAndLineSplitByNoAggregation ? Xe(u[0].query?.where) : "", y = await qi({
4394
4396
  queryObject: e,
4395
4397
  queryConfig: i,
4396
4398
  featureCount: s,
4397
4399
  abortKey: o
4398
- }), p = await st(e, d), x = Ce(e).objectIdField, C = Zh(p), { x: v } = u[0], L = C.includes(v), F = ps(e);
4400
+ }), p = await st(e, d), x = Ce(e).objectIdField, C = Zh(p), { x: v } = u[0], L = C.includes(v), A = ps(e);
4399
4401
  return m = sf({
4400
4402
  queryResponse: y,
4401
4403
  chartConfig: a,
@@ -4404,12 +4406,12 @@ async function ks(t) {
4404
4406
  fieldOID: x,
4405
4407
  isDateField: L,
4406
4408
  isTimeBinningSeries: r,
4407
- subtypeInfo: F,
4409
+ subtypeInfo: A,
4408
4410
  fieldList: p,
4409
4411
  resultLimit: i.num,
4410
4412
  showMean: l,
4411
4413
  chartLimits: c
4412
- }), f !== A.BarAndLineSplitByNoAggregation && f !== A.BarAndLineFromFields && (g !== "" && (m = bo({ data: m, x: v, splitByField: g })), m = OS(
4414
+ }), f !== F.BarAndLineSplitByNoAggregation && f !== F.BarAndLineFromFields && (g !== "" && (m = bo({ data: m, x: v, splitByField: g })), m = OS(
4413
4415
  m,
4414
4416
  u
4415
4417
  )), m;
@@ -4417,10 +4419,10 @@ async function ks(t) {
4417
4419
  async function rf(t) {
4418
4420
  const { chartConfig: e, queryObject: i, queryConfig: a, numberMaxOfFeaturesToFetch: n, behaviorAfterLimit: o, isGaugeByFeature: s } = t, { series: r } = e, l = H(r), { x: c } = r[0], d = r.length;
4419
4421
  let u, f;
4420
- if (l === A.BoxPlotMonoField || l === A.BoxPlotMonoFieldAndSplitBy ? (f = d, u = f) : l === A.BoxPlotMultiFields || l === A.BoxPlotMultiFieldsAndSplitBy ? (f = e.series[0].y.length, u = f) : l === A.PieFromFields || l === A.BarAndLineFromFields ? (f = r[0].query?.outStatistics?.filter(
4422
+ if (l === F.BoxPlotMonoField || l === F.BoxPlotMonoFieldAndSplitBy ? (f = d, u = f) : l === F.BoxPlotMultiFields || l === F.BoxPlotMultiFieldsAndSplitBy ? (f = e.series[0].y.length, u = f) : l === F.PieFromFields || l === F.BarAndLineFromFields ? (f = r[0].query?.outStatistics?.filter(
4421
4423
  (m) => m.statisticType !== X.EnvelopeAggregate
4422
4424
  ).length ?? 0, u = f) : u = await Kh({ queryObject: i, x: c, chartSubType: l, queryConfig: a, isGaugeByFeature: s }), u !== void 0) {
4423
- const m = l === A.BoxPlotMonoField || l === A.BoxPlotMonoFieldAndCategory || l === A.BoxPlotMonoFieldAndSplitBy;
4425
+ const m = l === F.BoxPlotMonoField || l === F.BoxPlotMonoFieldAndCategory || l === F.BoxPlotMonoFieldAndSplitBy;
4424
4426
  f = Ea(l) && !m ? u * d : u;
4425
4427
  }
4426
4428
  return o === vn.RenderUpToTheLimit && f !== void 0 && n !== void 0 && n < f && (f = n, u = Math.ceil(f / d)), { categoryOrDateCount: u, elementCount: f };
@@ -4432,7 +4434,7 @@ function Xi(t) {
4432
4434
  if (c !== void 0 && e !== void 0 && e.length > 1) {
4433
4435
  const { orderBy: d } = c;
4434
4436
  let { sortingField: u } = c;
4435
- const f = i.orderOptions?.data?.orderType === Ma.Category, m = c.preferLabel !== !1, g = s === A.BarAndLineFromFields || s === A.PieFromFields || s === A.BoxPlotMultiFields || s === A.BoxPlotMultiFieldsAndSplitBy, y = g || r === b.PieSeries, p = s === A.PieNoAggregation || s === A.BarAndLineNoAggregation || s === A.BarAndLineSplitByNoAggregation, S = g ? !1 : e?.length > 0 && e.some((x) => Object.hasOwn(x, I.typeOrDomainIdValue));
4437
+ const f = i.orderOptions?.data?.orderType === Ma.Category, m = c.preferLabel !== !1, g = s === F.BarAndLineFromFields || s === F.PieFromFields || s === F.BoxPlotMultiFields || s === F.BoxPlotMultiFieldsAndSplitBy, y = g || r === b.PieSeries, p = s === F.PieNoAggregation || s === F.BarAndLineNoAggregation || s === F.BarAndLineSplitByNoAggregation, S = g ? !1 : e?.length > 0 && e.some((x) => Object.hasOwn(x, I.typeOrDomainIdValue));
4436
4438
  if (f && (!m || r === b.LineSeries && l === b.NumberAxisFormat) && (S ? u = I.typeOrDomainIdValue : y && (u = I.originalCategoryValue)), Array.isArray(d))
4437
4439
  yy({
4438
4440
  arrayToSort: e,
@@ -4470,7 +4472,7 @@ async function Fr(t) {
4470
4472
  fetchFullBoxPlotData: a,
4471
4473
  options: n
4472
4474
  });
4473
- let { categoryOrDateCount: F, elementCount: T } = await rf({
4475
+ let { categoryOrDateCount: A, elementCount: T } = await rf({
4474
4476
  chartConfig: e,
4475
4477
  queryObject: o,
4476
4478
  queryConfig: i,
@@ -4504,22 +4506,22 @@ async function Fr(t) {
4504
4506
  elementCount: T,
4505
4507
  chartLimits: c,
4506
4508
  abortKey: s
4507
- }), c?.maxBoxPlotOutlierLimit !== void 0 && (k = (m.data.outliers ?? []).length <= c.maxBoxPlotOutlierLimit, y = !k)), D && (F = g.length, T = Ea(x) ? F * p.length : F, k = ya({
4509
+ }), c?.maxBoxPlotOutlierLimit !== void 0 && (k = (m.data.outliers ?? []).length <= c.maxBoxPlotOutlierLimit, y = !k)), D && (A = g.length, T = Ea(x) ? A * p.length : A, k = ya({
4508
4510
  count: T,
4509
4511
  seriesCount: p.length,
4510
4512
  chartType: C,
4511
4513
  chartLimits: c
4512
4514
  })), k)) {
4513
4515
  if (C === b.PieSeries) {
4514
- x === A.PieFromFields && (g = Zo({
4516
+ x === F.PieFromFields && (g = Zo({
4515
4517
  dataToConvert: g[0],
4516
4518
  x: Ke,
4517
4519
  y: kt,
4518
4520
  fieldList: r
4519
4521
  }));
4520
4522
  let O = "";
4521
- x === A.PieFromFields ? O = kt : "y" in S && typeof S.y == "string" && (O = S.y), Ry(g, O) ? m.data = { dataItems: g } : Ky(m, ue.PieChartMixOfNegativePositiveSlices);
4522
- } else if ((C === b.RadarSeries || C === b.BarSeries || C === b.LineSeries || C === b.ComboLineAndBarSeries) && (x === A.BarAndLineFromFields && "y" in S && typeof S.y == "string" ? g = Zo({
4523
+ x === F.PieFromFields ? O = kt : "y" in S && typeof S.y == "string" && (O = S.y), Ry(g, O) ? m.data = { dataItems: g } : Ky(m, ue.PieChartMixOfNegativePositiveSlices);
4524
+ } else if ((C === b.RadarSeries || C === b.BarSeries || C === b.LineSeries || C === b.ComboLineAndBarSeries) && (x === F.BarAndLineFromFields && "y" in S && typeof S.y == "string" ? g = Zo({
4523
4525
  dataToConvert: g[0],
4524
4526
  x: S.x,
4525
4527
  y: S.y,
@@ -4529,7 +4531,7 @@ async function Fr(t) {
4529
4531
  seriesData: g,
4530
4532
  chartConfig: e,
4531
4533
  queryConfig: i,
4532
- categoryOrDateCount: F,
4534
+ categoryOrDateCount: A,
4533
4535
  behaviorAfterLimit: f,
4534
4536
  abortKey: s
4535
4537
  }), T = Ea(x) ? g.length * p.length : g.length, k = ya({
@@ -4557,80 +4559,88 @@ function qS(t) {
4557
4559
  return a && (e = Array.from({ length: a + (i === 0 ? 1 : 0) }, (n, o) => (o + (i ?? 1)).toString())), e;
4558
4560
  }
4559
4561
  async function lf(t) {
4560
- const { chartConfig: e, queryConfig: i, queryObject: a, errorStrings: n, options: o, abortKey: s } = t, r = { valid: !0 };
4561
- let l;
4562
- const c = e.series[0], { nullPolicy: d } = "nullPolicy" in e ? e : {};
4563
- if (c.type === b.HeatSeries) {
4564
- const { x: u, y: f, query: m, yTemporalBinning: g } = c, y = m?.outStatistics?.[0]?.outStatisticFieldName ?? "";
4562
+ const {
4563
+ chartConfig: e,
4564
+ queryConfig: i,
4565
+ queryObject: a,
4566
+ completeHeatChartDataset: n = !0,
4567
+ errorStrings: o,
4568
+ options: s,
4569
+ abortKey: r
4570
+ } = t, l = { valid: !0 };
4571
+ let c;
4572
+ const d = e.series[0], { nullPolicy: u } = "nullPolicy" in e ? e : {};
4573
+ if (d.type === b.HeatSeries) {
4574
+ const { x: f, y: m, query: g, yTemporalBinning: y } = d, p = g?.outStatistics?.[0]?.outStatisticFieldName ?? "";
4565
4575
  if (Zt(e.axes?.[0]?.valueFormat) && Zt(e.axes?.[1]?.valueFormat)) {
4566
- const p = await _h({
4576
+ const S = await _h({
4567
4577
  chartConfig: e,
4568
4578
  queryObject: a,
4569
4579
  queryConfig: i,
4570
- returnFeaturesExtent: o?.returnFeaturesExtent,
4571
- errorStrings: n,
4572
- abortKey: s
4580
+ returnFeaturesExtent: s?.returnFeaturesExtent,
4581
+ errorStrings: o,
4582
+ abortKey: r
4573
4583
  });
4574
- if (typeof p?.[0] == "object") {
4575
- const S = await st(a, o?.usePopupTemplateFieldsInfo), x = ps(a);
4576
- l = sf({
4577
- queryResponse: p,
4584
+ if (typeof S?.[0] == "object") {
4585
+ const x = await st(a, s?.usePopupTemplateFieldsInfo), C = ps(a);
4586
+ c = sf({
4587
+ queryResponse: S,
4578
4588
  chartConfig: e,
4579
4589
  splitByField: "",
4580
4590
  fieldOID: Ce(a).objectIdField,
4581
4591
  isDateField: !1,
4582
4592
  isTimeBinningSeries: !1,
4583
- chartLimits: o?.chartLimits,
4593
+ chartLimits: s?.chartLimits,
4584
4594
  resultLimit: i.num,
4585
- subtypeInfo: x,
4586
- fieldList: S
4595
+ subtypeInfo: C,
4596
+ fieldList: x
4587
4597
  });
4588
- const C = await lr({ queryObject: a, queryConfig: i, category: u, abortKey: s }), v = await lr({ queryObject: a, queryConfig: i, category: f, abortKey: s });
4589
- if (l.length !== C?.length * v?.length) {
4590
- const L = C.flatMap(
4591
- (F) => v.map((T) => ({
4592
- [te.xField]: F,
4593
- [te.yField]: T,
4594
- [te.valueField]: d === Qt.Zero ? 0 : null
4598
+ const v = await lr({ queryObject: a, queryConfig: i, category: f, abortKey: r }), L = await lr({ queryObject: a, queryConfig: i, category: m, abortKey: r });
4599
+ if (c.length !== v?.length * L?.length) {
4600
+ const A = v.flatMap(
4601
+ (T) => L.map((D) => ({
4602
+ [te.xField]: T,
4603
+ [te.yField]: D,
4604
+ [te.valueField]: u === Qt.Zero ? 0 : null
4595
4605
  }))
4596
4606
  );
4597
- l = [
4598
- ...l,
4599
- ...L.filter(
4600
- (F) => !l.some(
4601
- (T) => `${T[te.xField]}${T[te.yField]}` == `${F[te.xField]}${F[te.yField]}`
4607
+ c = [
4608
+ ...c,
4609
+ ...A.filter(
4610
+ (T) => !c.some(
4611
+ (D) => `${D[te.xField]}${D[te.yField]}` == `${T[te.xField]}${T[te.yField]}`
4602
4612
  )
4603
4613
  )
4604
4614
  ];
4605
4615
  }
4606
4616
  }
4607
4617
  } else {
4608
- const p = await Qh({
4618
+ const S = await Qh({
4609
4619
  chartConfig: e,
4610
4620
  queryObject: a,
4611
4621
  queryConfig: i,
4612
- errorStrings: n
4613
- }), S = g ? qS(g.unit) : await lr({ queryObject: a, queryConfig: i, category: f, abortKey: s });
4614
- l = p?.features.flatMap((x) => {
4615
- const C = [], { attributes: v, stackedAttributes: L } = x, F = [];
4616
- return L?.forEach((T) => {
4617
- const D = `${T[f]}`;
4618
- F.push(D), C.push({
4619
- [te.xField]: `${v.lowerBoundary}`,
4620
- [te.yField]: D,
4621
- [te.valueField]: T[y]
4622
+ errorStrings: o
4623
+ }), x = y ? qS(y.unit) : await lr({ queryObject: a, queryConfig: i, category: m, abortKey: r });
4624
+ c = S?.features.flatMap((C) => {
4625
+ const v = [], { attributes: L, stackedAttributes: A } = C, T = [];
4626
+ return A?.forEach((D) => {
4627
+ const k = `${D[m]}`;
4628
+ T.push(k), v.push({
4629
+ [te.xField]: `${L.lowerBoundary}`,
4630
+ [te.yField]: k,
4631
+ [te.valueField]: D[p]
4622
4632
  });
4623
- }), S && F.length !== S?.length && S.filter((D) => !F.includes(D.toString())).forEach((D) => {
4624
- C.push({
4625
- [te.xField]: `${v.lowerBoundary}`,
4626
- [te.yField]: D,
4627
- [te.valueField]: d === Qt.Zero ? 0 : null
4633
+ }), n && x && T.length !== x?.length && x.filter((k) => !T.includes(k.toString())).forEach((k) => {
4634
+ v.push({
4635
+ [te.xField]: `${L.lowerBoundary}`,
4636
+ [te.yField]: k,
4637
+ [te.valueField]: u === Qt.Zero ? 0 : null
4628
4638
  });
4629
- }), C;
4639
+ }), v;
4630
4640
  });
4631
4641
  }
4632
4642
  }
4633
- return l && (r.data = { dataItems: l }), r;
4643
+ return c && (l.data = { dataItems: c }), l;
4634
4644
  }
4635
4645
  function GS(t) {
4636
4646
  const { chartConfig: e, options: i, data: a } = t, n = e.series;
@@ -4672,8 +4682,8 @@ async function hl(t) {
4672
4682
  isTimeBinningSeries: !0,
4673
4683
  setTimeBinningInfoWhenNotProvided: s?.setTimeBinningInfoWhenNotProvided
4674
4684
  });
4675
- let F = o?.timeBinningStats;
4676
- !F && (!Qn(a) || L) && (F = await SS({ queryObject: a, queryConfig: i, x: f })), L && F && F.numberOfFeatures > 0 && F.dateRange.dateMaxTimestamp !== void 0 && F.dateRange.dateMinTimestamp !== void 0 && (v = wS(F), (await st(a)).find(($) => $.name === f)?.type === ho.DateOnly && v.unit !== void 0 && [
4685
+ let A = o?.timeBinningStats;
4686
+ !A && (!Qn(a) || L) && (A = await SS({ queryObject: a, queryConfig: i, x: f })), L && A && A.numberOfFeatures > 0 && A.dateRange.dateMaxTimestamp !== void 0 && A.dateRange.dateMinTimestamp !== void 0 && (v = wS(A), (await st(a)).find(($) => $.name === f)?.type === ho.DateOnly && v.unit !== void 0 && [
4677
4687
  j.Hour,
4678
4688
  j.Minute,
4679
4689
  j.Second
@@ -4725,10 +4735,10 @@ async function hl(t) {
4725
4735
  chartLimits: r
4726
4736
  }) || (k = !1);
4727
4737
  }
4728
- } else if (F?.dateRange.dateMinTimestamp && F.dateRange.dateMaxTimestamp) {
4738
+ } else if (A?.dateRange.dateMinTimestamp && A.dateRange.dateMaxTimestamp) {
4729
4739
  const { numberOfFinalBinsWithinDataRange: O } = af({
4730
- dateMinTimestamp: F.dateRange.dateMinTimestamp,
4731
- dateMaxTimestamp: F.dateRange.dateMaxTimestamp,
4740
+ dateMinTimestamp: A.dateRange.dateMinTimestamp,
4741
+ dateMaxTimestamp: A.dateRange.dateMaxTimestamp,
4732
4742
  timeIntervalInfo: v
4733
4743
  });
4734
4744
  C = O * d.length, C = tf(C, v.unit), y = o?.data ?? await ks({
@@ -4741,13 +4751,13 @@ async function hl(t) {
4741
4751
  isTimeBinningSeries: !0,
4742
4752
  usePopupTemplateFieldsInfo: l,
4743
4753
  abortKey: n
4744
- }), g.binnedServerData = { data: Re(y), timeBinningStats: F }, y = await TS({
4754
+ }), g.binnedServerData = { data: Re(y), timeBinningStats: A }, y = await TS({
4745
4755
  queryObject: a,
4746
4756
  queryConfig: i,
4747
4757
  queryResults: y,
4748
4758
  x: f,
4749
4759
  seriesConfig: d,
4750
- dateRange: F.dateRange,
4760
+ dateRange: A.dateRange,
4751
4761
  timeIntervalInfo: v
4752
4762
  });
4753
4763
  }
@@ -4887,19 +4897,19 @@ function Oa(t) {
4887
4897
  }), d = Ce(i)?.renderer;
4888
4898
  switch (d?.type) {
4889
4899
  case Vt.Simple:
4890
- a = o === b.HistogramSeries || o === b.ScatterSeries || s === A.BarAndLineMonoField || s === A.BoxPlotMonoField || s === A.BoxPlotMultiFields || s === A.BoxPlotMonoFieldAndCategory || s === A.BarAndLineNoAggregation && n.length === 1 && !l;
4900
+ a = o === b.HistogramSeries || o === b.ScatterSeries || s === F.BarAndLineMonoField || s === F.BoxPlotMonoField || s === F.BoxPlotMultiFields || s === F.BoxPlotMonoFieldAndCategory || s === F.BarAndLineNoAggregation && n.length === 1 && !l;
4891
4901
  break;
4892
4902
  case Vt.UniqueValue:
4893
4903
  {
4894
4904
  const f = d?.field, m = Xe(r.query?.where), { x: g } = r;
4895
- a = (s === A.BoxPlotMonoFieldAndSplitBy || s === A.BoxPlotMultiFieldsAndSplitBy || s === A.BoxPlotMonoFieldAndCategoryAndSplitBy || s === A.BarAndLineSplitByNoAggregation || s === A.BarAndLineSplitBy) && f === m || (s === A.BoxPlotMonoFieldAndCategory || s === A.PieFromCategory || s === A.BarAndLineMonoField) && f === g || s === A.BarAndLineNoAggregation || s === A.PieNoAggregation || o === b.ScatterSeries;
4905
+ a = (s === F.BoxPlotMonoFieldAndSplitBy || s === F.BoxPlotMultiFieldsAndSplitBy || s === F.BoxPlotMonoFieldAndCategoryAndSplitBy || s === F.BarAndLineSplitByNoAggregation || s === F.BarAndLineSplitBy) && f === m || (s === F.BoxPlotMonoFieldAndCategory || s === F.PieFromCategory || s === F.BarAndLineMonoField) && f === g || s === F.BarAndLineNoAggregation || s === F.PieNoAggregation || o === b.ScatterSeries;
4896
4906
  }
4897
4907
  break;
4898
4908
  case Vt.PieChart:
4899
- a = s === A.PieFromFields || s === A.BarAndLineFromFields || s === A.BarAndLineMultiFields || s === A.BarAndLineMonoField || s === A.BoxPlotMonoField || s === A.BoxPlotMultiFields || s === A.BoxPlotMonoFieldAndCategory || s === A.BoxPlotMultiFieldsAndCategory;
4909
+ a = s === F.PieFromFields || s === F.BarAndLineFromFields || s === F.BarAndLineMultiFields || s === F.BarAndLineMonoField || s === F.BoxPlotMonoField || s === F.BoxPlotMultiFields || s === F.BoxPlotMonoFieldAndCategory || s === F.BoxPlotMultiFieldsAndCategory;
4900
4910
  break;
4901
4911
  case Vt.ClassBreaks:
4902
- a = o === b.ScatterSeries || s === A.BarAndLineNoAggregation || s === A.PieNoAggregation;
4912
+ a = o === b.ScatterSeries || s === F.BarAndLineNoAggregation || s === F.PieNoAggregation;
4903
4913
  break;
4904
4914
  case Vt.Dictionary:
4905
4915
  case Vt.DotDensity:
@@ -4954,17 +4964,17 @@ function ex(t) {
4954
4964
  case b.LineSeries:
4955
4965
  case b.ComboLineAndBarSeries:
4956
4966
  case b.RadarSeries:
4957
- if (a !== A.BarAndLineFromFields) {
4967
+ if (a !== F.BarAndLineFromFields) {
4958
4968
  const x = i.find((C) => C.query?.outStatistics?.[0]?.onStatisticField === f);
4959
4969
  x !== void 0 && "y" in x ? f = [x.y].flat()[0] : f = "";
4960
4970
  }
4961
- p = a !== A.BarAndLineFromFields || f === n[I.originalCategoryValue];
4971
+ p = a !== F.BarAndLineFromFields || f === n[I.originalCategoryValue];
4962
4972
  break;
4963
4973
  case b.PieSeries:
4964
- p = a === A.PieFromFields && f === n[I.originalCategoryValue];
4974
+ p = a === F.PieFromFields && f === n[I.originalCategoryValue];
4965
4975
  break;
4966
4976
  case b.BoxPlotSeries:
4967
- a === A.BoxPlotMonoField || a === A.BoxPlotMonoFieldAndCategory ? p = f === i[0].y : f && (a === A.BoxPlotMultiFields || a === A.BoxPlotMultiFieldsAndCategory) && (p = i.map((C) => C.y).flat().includes(f)), S = !1;
4977
+ a === F.BoxPlotMonoField || a === F.BoxPlotMonoFieldAndCategory ? p = f === i[0].y : f && (a === F.BoxPlotMultiFields || a === F.BoxPlotMultiFieldsAndCategory) && (p = i.map((C) => C.y).flat().includes(f)), S = !1;
4968
4978
  break;
4969
4979
  }
4970
4980
  p && y && (s = {
@@ -4973,7 +4983,7 @@ function ex(t) {
4973
4983
  label: S && g ? g : void 0
4974
4984
  }, c != null && (s.outline = c), cf({
4975
4985
  dataItem: n,
4976
- symbolField: a === A.BarAndLineFromFields || a === A.PieFromFields ? I.rendererSymbolField : `${I.rendererSymbolField}_${f}`,
4986
+ symbolField: a === F.BarAndLineFromFields || a === F.PieFromFields ? I.rendererSymbolField : `${I.rendererSymbolField}_${f}`,
4977
4987
  rendererSymbol: s,
4978
4988
  rendererOrigin: o
4979
4989
  }) && (r = !0));
@@ -4988,18 +4998,18 @@ function tx(t) {
4988
4998
  const s = yt({
4989
4999
  where: e.query?.where
4990
5000
  });
4991
- s === null ? o = I.nullValue : i === A.BarAndLineSplitBy && typeof e.y == "string" ? o = e.y : i === A.BarAndLineSplitByNoAggregation && typeof e.y == "string" ? o = `${e.y}_${s}` : o = `${s}`;
5001
+ s === null ? o = I.nullValue : i === F.BarAndLineSplitBy && typeof e.y == "string" ? o = e.y : i === F.BarAndLineSplitByNoAggregation && typeof e.y == "string" ? o = `${e.y}_${s}` : o = `${s}`;
4992
5002
  }
4993
5003
  } else if (a === Vt.PieChart)
4994
5004
  switch (i) {
4995
- case A.BoxPlotMultiFields:
5005
+ case F.BoxPlotMultiFields:
4996
5006
  o = Array.isArray(e.y) ? e.y.flat() : e.y;
4997
5007
  break;
4998
- case A.BarAndLineMonoField:
4999
- case A.BarAndLineMultiFields:
5000
- case A.BoxPlotMonoField:
5001
- case A.BoxPlotMonoFieldAndCategory:
5002
- case A.BoxPlotMultiFieldsAndCategory:
5008
+ case F.BarAndLineMonoField:
5009
+ case F.BarAndLineMultiFields:
5010
+ case F.BoxPlotMonoField:
5011
+ case F.BoxPlotMonoFieldAndCategory:
5012
+ case F.BoxPlotMultiFieldsAndCategory:
5003
5013
  o = e.y;
5004
5014
  break;
5005
5015
  }
@@ -5083,15 +5093,15 @@ async function Sl(t) {
5083
5093
  x: m,
5084
5094
  splitByField: r,
5085
5095
  attributes: v
5086
- }), c && c.length > 0 && Object.keys(v).forEach((F) => {
5087
- c.includes(F) || delete v[F];
5096
+ }), c && c.length > 0 && Object.keys(v).forEach((A) => {
5097
+ c.includes(A) || delete v[A];
5088
5098
  }), p.attributes = v, d?.has(JSON.stringify(v)))
5089
5099
  u = d.get(JSON.stringify(v));
5090
5100
  else {
5091
5101
  if (u = (await rr.getDisplayedSymbol(p))?.toJSON(), u != null) {
5092
5102
  u.color === void 0 && (u.color = (await rr.getDisplayedColor(p))?.toJSON());
5093
- const F = await rr.getLegendLabel(p);
5094
- F != null && F !== "" && (u.label = F, u.uniqueValue = S?.find((T) => T.label === F)?.value ?? void 0);
5103
+ const A = await rr.getLegendLabel(p);
5104
+ A != null && A !== "" && (u.label = A, u.uniqueValue = S?.find((T) => T.label === A)?.value ?? void 0);
5095
5105
  }
5096
5106
  d?.set(JSON.stringify(v), u);
5097
5107
  }
@@ -5233,7 +5243,7 @@ function sx(t) {
5233
5243
  }
5234
5244
  }
5235
5245
  function Ns(t) {
5236
- const { data: e, newChartConfig: i, pieSlicesSymbols: a, fieldList: n } = t, o = i.series[0], s = H(i.series) === A.PieFromFields ? Ke : o.x;
5246
+ const { data: e, newChartConfig: i, pieSlicesSymbols: a, fieldList: n } = t, o = i.series[0], s = H(i.series) === F.PieFromFields ? Ke : o.x;
5237
5247
  e.forEach((r) => {
5238
5248
  const l = Ti(r), c = r[I.pieChart.technicalFieldSliceId], d = l ? o.sliceGrouping?.label : es(a?.slices, c)?.label;
5239
5249
  rx({ dataContext: r, x: s, newLabel: d });
@@ -6277,7 +6287,7 @@ function Rx(t) {
6277
6287
  return n === o;
6278
6288
  }
6279
6289
  function Vx(t) {
6280
- const { chartSubType: e, yAxisField: i, splitBy: a, showOutliers: n } = t, o = e === A.BoxPlotMultiFieldsAndCategory ? i : void 0, s = { y: o, splitBy: a }, r = oe({
6290
+ const { chartSubType: e, yAxisField: i, splitBy: a, showOutliers: n } = t, o = e === F.BoxPlotMultiFieldsAndCategory ? i : void 0, s = { y: o, splitBy: a }, r = oe({
6281
6291
  ...s,
6282
6292
  key: Y.Outlier
6283
6293
  }), l = oe({
@@ -6347,7 +6357,7 @@ function Ex(t) {
6347
6357
  selectedMaxFieldWithOutliers: x,
6348
6358
  selectedMinFieldWithOutliers: C,
6349
6359
  iqrField: v
6350
- } = Vx({ chartSubType: s, yAxisField: o, splitBy: n, showOutliers: r }), L = l[m], F = u[m], T = l[y], D = l[g], k = u[S] ?? u[C], O = u[p] ?? u[x];
6360
+ } = Vx({ chartSubType: s, yAxisField: o, splitBy: n, showOutliers: r }), L = l[m], A = u[m], T = l[y], D = l[g], k = u[S] ?? u[C], O = u[p] ?? u[x];
6351
6361
  let P = Rx({ oneSelectedItem: u, dataContext: l, xAxisField: a });
6352
6362
  if (P)
6353
6363
  switch (Ox(u, L)) {
@@ -6355,7 +6365,7 @@ function Ex(t) {
6355
6365
  P = Nx({ oneSelectedItem: u, dataContext: l, selectedOutlierKey: m });
6356
6366
  break;
6357
6367
  case ga.OutlierToBox:
6358
- P = $x({ elementMin: T, elementMax: D, selectedOutlierValue: F });
6368
+ P = $x({ elementMin: T, elementMax: D, selectedOutlierValue: A });
6359
6369
  break;
6360
6370
  case ga.BoxToOutlier:
6361
6371
  P = Mx({
@@ -6447,12 +6457,12 @@ function $s(t) {
6447
6457
  return n !== void 0 && n in g && n in y ? p = y[n] === g[n] : p = y[o] === g[o] && y[s] === g[s], p;
6448
6458
  };
6449
6459
  else {
6450
- const { dataContextXMinField: y, dataContextXMaxField: p, dataContextYMinField: S, dataContextYMaxField: x } = I.scatterplotAggregationFields, { [y]: C, [p]: v } = g, L = o !== s ? g[S] : C, F = o !== s ? g[x] : v, T = (k) => {
6460
+ const { dataContextXMinField: y, dataContextXMaxField: p, dataContextYMinField: S, dataContextYMaxField: x } = I.scatterplotAggregationFields, { [y]: C, [p]: v } = g, L = o !== s ? g[S] : C, A = o !== s ? g[x] : v, T = (k) => {
6451
6461
  const O = k[o] ?? Number.NaN, P = C ?? Number.NaN, $ = v ?? Number.NaN;
6452
6462
  return C === v ? O === P : (O ?? Number.NaN) >= P && (O ?? Number.NaN) < $;
6453
6463
  }, D = (k) => {
6454
- const O = k[s] ?? Number.NaN, P = L ?? Number.NaN, $ = F ?? Number.NaN;
6455
- return L === F ? O === P : O >= P && O < $;
6464
+ const O = k[s] ?? Number.NaN, P = L ?? Number.NaN, $ = A ?? Number.NaN;
6465
+ return L === A ? O === P : O >= P && O < $;
6456
6466
  };
6457
6467
  d = (k) => T(k) && D(k);
6458
6468
  }
@@ -6503,7 +6513,7 @@ function ea(t) {
6503
6513
  let d = { ...i };
6504
6514
  if (i !== void 0) {
6505
6515
  if (r === b.RadarSeries || r === b.BarSeries || r === b.LineSeries || r === b.ComboLineAndBarSeries || r === b.PieSeries) {
6506
- r !== b.PieSeries && (e || l !== A.BarAndLineNoAggregation && l !== A.BarAndLineSplitByNoAggregation) && n.forEach((f) => {
6516
+ r !== b.PieSeries && (e || l !== F.BarAndLineNoAggregation && l !== F.BarAndLineSplitByNoAggregation) && n.forEach((f) => {
6507
6517
  f !== a && delete d[f];
6508
6518
  });
6509
6519
  const u = qt({
@@ -6521,7 +6531,7 @@ function ea(t) {
6521
6531
  ].forEach((f) => {
6522
6532
  i[f] && (d[f] = i[f]);
6523
6533
  });
6524
- const u = l === A.BoxPlotMultiFieldsAndCategory ? a : void 0;
6534
+ const u = l === F.BoxPlotMultiFieldsAndCategory ? a : void 0;
6525
6535
  Object.values(Y).forEach((f) => {
6526
6536
  const m = oe({ key: f, y: u, splitBy: s, showOutliers: c });
6527
6537
  i[m] !== void 0 && (d[m] = i[m]);
@@ -6728,7 +6738,7 @@ function Of(t) {
6728
6738
  ux(e.uid, {
6729
6739
  pieChartLegendValueLabelsFormatter: C
6730
6740
  });
6731
- const L = M(o?.uid ?? 0, "config")?.legend?.position ?? w.legendProperties.position, F = qx(e, L), T = {
6741
+ const L = M(o?.uid ?? 0, "config")?.legend?.position ?? w.legendProperties.position, A = qx(e, L), T = {
6732
6742
  type: b.Text,
6733
6743
  visible: s,
6734
6744
  content: {
@@ -6737,7 +6747,7 @@ function Of(t) {
6737
6747
  text: ".",
6738
6748
  verticalAlignment: le.Middle,
6739
6749
  // The horizontalAlignment value needs to be consistent with the one set by `handleValueLabelsRightAlignment()`. It avoids flickering the labels.
6740
- horizontalAlignment: F ? ge.Right : ge.Center
6750
+ horizontalAlignment: A ? ge.Right : ge.Center
6741
6751
  }
6742
6752
  };
6743
6753
  ui({
@@ -7249,7 +7259,7 @@ function jf(t) {
7249
7259
  if (n !== !1) {
7250
7260
  const d = a.series.find((u) => u.id === l.get("id"));
7251
7261
  if (d !== void 0 && "y" in d && typeof d.y == "string") {
7252
- const { x: u, y: f } = d, m = r === A.BarAndLineSplitByNoAggregation ? `${f}_${yt({ where: d.query?.where })}` : f;
7262
+ const { x: u, y: f } = d, m = r === F.BarAndLineSplitByNoAggregation ? `${f}_${yt({ where: d.query?.where })}` : f;
7253
7263
  c = l.data.values.some(
7254
7264
  (y) => Ur({ dataItem: y, x: u, y: m })
7255
7265
  );
@@ -7280,27 +7290,27 @@ function Wn(t, e) {
7280
7290
  const n = M(t.uid, "config"), o = M(t.uid, "rtl"), s = n?.title ? n.title.visible ?? !0 : !1, r = n?.subtitle ? n.subtitle.visible ?? !0 : !1, l = n?.footer ? n.footer.visible ?? !0 : !1, c = n?.legend ? n.legend.visible ?? !0 : !1, d = n?.legend?.title ? n.legend.title.visible ?? !0 : !1, u = ke({ childId: Ms, parent: t }), f = u instanceof ha && s ? u.height() : 0, m = ke({ childId: Al, parent: t }), g = m instanceof ha && r ? m.height() : 0, y = ke({ childId: Ps, parent: t }), p = y instanceof ha && l ? y.height() : 0, S = ke({ childId: Qa, parent: a }), x = S instanceof ji && c && d ? S?.height() : 0, C = n?.legend?.position ?? w.legendProperties.position;
7281
7291
  let v;
7282
7292
  const L = e.get("verticalScrollbar");
7283
- let F = Me, T = Me, D = i.verticalLayout, k = Me, O = Me, P = Me, $ = Me, R = 0, V;
7293
+ let A = Me, T = Me, D = i.verticalLayout, k = Me, O = Me, P = Me, $ = Me, R = 0, V;
7284
7294
  const G = e.height() + x;
7285
7295
  let q = 0, _ = 0, J = 0, ee = 0, U, Q;
7286
7296
  switch (C) {
7287
7297
  case K.Left:
7288
- D = i.verticalLayout, k = ct, P = ct, O = ct, $ = ct, V = void 0, F = ct, T = ct, q = a.width(), R = f + g, G < t.seriesContainer.height() && (R += t.seriesContainer.height() / 2 - G / 2), v = Gc(e), L?.width() !== void 0 && v && L.isVisible() && (v += L.width() + w.scrollbarPadding), o && (U = Pe, Q = v);
7298
+ D = i.verticalLayout, k = ct, P = ct, O = ct, $ = ct, V = void 0, A = ct, T = ct, q = a.width(), R = f + g, G < t.seriesContainer.height() && (R += t.seriesContainer.height() / 2 - G / 2), v = Gc(e), L?.width() !== void 0 && v && L.isVisible() && (v += L.width() + w.scrollbarPadding), o && (U = Pe, Q = v);
7289
7299
  break;
7290
7300
  case K.Right:
7291
- D = i.verticalLayout, k = Pe, P = Pe, O = ct, $ = ct, V = void 0, F = ct, T = ct, _ = a.width(), R = f + g, G < t.seriesContainer.height() && (R += t.seriesContainer.height() / 2 - G / 2), v = Gc(e), L?.width() !== void 0 && v && L.isVisible() && (v += L.width() + w.scrollbarPadding), o && (U = Pe, Q = v);
7301
+ D = i.verticalLayout, k = Pe, P = Pe, O = ct, $ = ct, V = void 0, A = ct, T = ct, _ = a.width(), R = f + g, G < t.seriesContainer.height() && (R += t.seriesContainer.height() / 2 - G / 2), v = Gc(e), L?.width() !== void 0 && v && L.isVisible() && (v += L.width() + w.scrollbarPadding), o && (U = Pe, Q = v);
7292
7302
  break;
7293
7303
  case K.Top:
7294
- D = i.gridLayout, k = Me, P = Me, O = ct, $ = ct, V = Pe, F = Me, T = Me, J += G, R += f + g, v = void 0, o && (U = void 0);
7304
+ D = i.gridLayout, k = Me, P = Me, O = ct, $ = ct, V = Pe, A = Me, T = Me, J += G, R += f + g, v = void 0, o && (U = void 0);
7295
7305
  break;
7296
7306
  case K.Bottom:
7297
- D = i.gridLayout, k = Me, P = Me, O = Pe, $ = Pe, V = Pe, F = Me, T = Me, ee = G, R = -ee - p, v = void 0, o && (U = void 0);
7307
+ D = i.gridLayout, k = Me, P = Me, O = Pe, $ = Pe, V = Pe, A = Me, T = Me, ee = G, R = -ee - p, v = void 0, o && (U = void 0);
7298
7308
  break;
7299
7309
  }
7300
7310
  (v === void 0 || v > 0) && (e.setPrivate("width", v), o && e.itemContainers.template.setAll({
7301
7311
  centerX: U,
7302
7312
  dx: Q
7303
- })), e.setAll({ layout: D, x: F, centerX: T }), a.setAll({
7313
+ })), e.setAll({ layout: D, x: A, centerX: T }), a.setAll({
7304
7314
  x: k,
7305
7315
  y: O,
7306
7316
  centerX: P,
@@ -7452,7 +7462,7 @@ function dC(t, e) {
7452
7462
  }
7453
7463
  }
7454
7464
  function uC(t, e = !1) {
7455
- const i = e ? 10 : 0;
7465
+ const i = e ? w.legendProperties.roundedMarkerRadius : w.legendProperties.rectangleMarkerRadius;
7456
7466
  t.markerRectangles.template.setAll({
7457
7467
  cornerRadiusTL: i,
7458
7468
  cornerRadiusTR: i,
@@ -7625,10 +7635,10 @@ function em(t) {
7625
7635
  const { config: e, fieldList: i, objectIdField: a, seriesIndex: n, isStacked100: o, utilsStrings: s } = t;
7626
7636
  let r = "";
7627
7637
  const l = e.series[n].name, c = e.series[n], d = [c.y].flat()[0], u = e.axes, f = H(e.series), m = a ?? et.outStatistics.onStatisticField, g = c.query?.outStatistics?.[0].onStatisticField ?? m, y = we(i, g), p = c.query?.outStatistics?.[0].statisticType ?? cs.statisticType, S = Jf(p, s);
7628
- return f === A.BarAndLineNoAggregation ? r = l ?? we(i, d) : f === A.BarAndLineSplitByNoAggregation ? r = we(i, d) : (r = p === X.Count && g === m ? s.statistics.count : Bt(s.statistics.aggregation, {
7638
+ return f === F.BarAndLineNoAggregation ? r = l ?? we(i, d) : f === F.BarAndLineSplitByNoAggregation ? r = we(i, d) : (r = p === X.Count && g === m ? s.statistics.count : Bt(s.statistics.aggregation, {
7629
7639
  statistics: S,
7630
7640
  fieldName: y ?? l
7631
- }), f === A.BarAndLineMonoField && !o && (r = Vi(r, u[1].title?.content?.text))), r;
7641
+ }), f === F.BarAndLineMonoField && !o && (r = Vi(r, u[1].title?.content?.text))), r;
7632
7642
  }
7633
7643
  function tm(t) {
7634
7644
  return Uo(t.uid.toString(), hf);
@@ -7731,9 +7741,9 @@ function xC(t, e) {
7731
7741
  percentageSuffix: m
7732
7742
  })("", y, p), L = !de(g) && (r ?? w.pieChart.displayCategoryOnTooltip);
7733
7743
  if (L && (S = `[bold]${g}[/]`), !de(v)) {
7734
- const F = Ds(v);
7744
+ const A = Ds(v);
7735
7745
  S = L ? `${S}
7736
- ${F}` : F;
7746
+ ${A}` : A;
7737
7747
  }
7738
7748
  }
7739
7749
  return S;
@@ -8247,7 +8257,7 @@ function DC(t) {
8247
8257
  if (m !== void 0) {
8248
8258
  const { dataTooltipVisible: g } = o, y = n instanceof Ae ? o.markerVisible : void 0;
8249
8259
  if (g !== !1 && y !== !1) {
8250
- const p = m.axes, S = p[0].valueFormat, x = p[1].valueFormat, C = H(m.series), v = Ut(m) === ve.Stacked100, L = Ce(a)?.objectIdField, F = we(i, o.x), T = Vi(F, p[0].title?.content.text), D = em({
8260
+ const p = m.axes, S = p[0].valueFormat, x = p[1].valueFormat, C = H(m.series), v = Ut(m) === ve.Stacked100, L = Ce(a)?.objectIdField, A = we(i, o.x), T = Vi(A, p[0].title?.content.text), D = em({
8251
8261
  config: m,
8252
8262
  fieldList: i,
8253
8263
  objectIdField: L,
@@ -8275,7 +8285,7 @@ function DC(t) {
8275
8285
  percentValue: V
8276
8286
  }), ee = [`[bold]${T}${O} [/]${q}`];
8277
8287
  switch (C) {
8278
- case A.BarAndLineFromFields: {
8288
+ case F.BarAndLineFromFields: {
8279
8289
  ee.pop();
8280
8290
  const U = Tl({
8281
8291
  config: m,
@@ -8285,13 +8295,13 @@ function DC(t) {
8285
8295
  ee.push(`[bold]${U}${O} [/]${_}`);
8286
8296
  break;
8287
8297
  }
8288
- case A.BarAndLineMonoField:
8289
- case A.BarAndLineNoAggregation:
8290
- case A.BarAndLineMultiFields:
8298
+ case F.BarAndLineMonoField:
8299
+ case F.BarAndLineNoAggregation:
8300
+ case F.BarAndLineMultiFields:
8291
8301
  ee.push(`[bold]${D}${O} [/]${_}`);
8292
8302
  break;
8293
- case A.BarAndLineSplitByNoAggregation:
8294
- case A.BarAndLineSplitBy:
8303
+ case F.BarAndLineSplitByNoAggregation:
8304
+ case F.BarAndLineSplitBy:
8295
8305
  {
8296
8306
  const U = Xe(o.query?.where, !1), Q = Zd({
8297
8307
  value: we(i, U)
@@ -8369,11 +8379,11 @@ function NC(t) {
8369
8379
  a.uid,
8370
8380
  "tooltipValueYNumberFormatCallback"
8371
8381
  ), L = v ? v(u) : u;
8372
- let F = `[bold]${y}${c} [/]${C}
8382
+ let A = `[bold]${y}${c} [/]${C}
8373
8383
  [bold]${S}${c} [/]${L}`;
8374
8384
  if (f !== void 0 && i.sizePolicy?.field !== void 0) {
8375
8385
  const T = we(n, i.sizePolicy?.field), D = v ? v(f) : f;
8376
- F += `
8386
+ A += `
8377
8387
  [bold]${T}${c} [/]${D}`;
8378
8388
  }
8379
8389
  return i.additionalTooltipFields?.forEach((T) => {
@@ -8387,10 +8397,10 @@ function NC(t) {
8387
8397
  const P = r !== void 0 ? M(r.uid, "formatLocale") : void 0;
8388
8398
  O = new Intl.DateTimeFormat(P, {}).format(k);
8389
8399
  }
8390
- F += l ? `
8400
+ A += l ? `
8391
8401
  ${O}[bold]${D}${c} [/]` : `
8392
8402
  [bold]${D}${c} [/]${O}`;
8393
- }), F;
8403
+ }), A;
8394
8404
  }, s;
8395
8405
  }
8396
8406
  function $C(t) {
@@ -8562,7 +8572,7 @@ function qC(t) {
8562
8572
  const g = Ot({
8563
8573
  dataItem: f?.dataContext,
8564
8574
  seriesConfig: o,
8565
- chartSubType: A.NonSpecific,
8575
+ chartSubType: F.NonSpecific,
8566
8576
  colorMatch: s
8567
8577
  }), y = wt({
8568
8578
  root: e,
@@ -9379,7 +9389,7 @@ async function hv(t) {
9379
9389
  renderer: f,
9380
9390
  rendererOrigin: r !== void 0 ? Mi.ChartRenderer : Mi.LayerRenderer,
9381
9391
  rendererType: m,
9382
- chartSubType: A.NonSpecific,
9392
+ chartSubType: F.NonSpecific,
9383
9393
  graphicTemplate: u
9384
9394
  });
9385
9395
  g = y.rendererSymbol, ye(e.chart?.uid ?? Number.NaN, { colorMatchApplied: y.colorMatchApplied });
@@ -9634,7 +9644,7 @@ function Av(t) {
9634
9644
  rotationChanged: d
9635
9645
  } = t, { chart: u } = e;
9636
9646
  if (u instanceof un) {
9637
- const f = M(u.uid, "options"), { filterBySelection: m, selectionData: g, returnSelectionIndexes: y, returnSelectionOIDs: p } = f ?? {}, { selectionIndexes: S } = g ?? {}, x = M(u.uid, "config"), C = He(x), v = W(x?.series), L = H(x?.series), F = vv(e);
9647
+ const f = M(u.uid, "options"), { filterBySelection: m, selectionData: g, returnSelectionIndexes: y, returnSelectionOIDs: p } = f ?? {}, { selectionIndexes: S } = g ?? {}, x = M(u.uid, "config"), C = He(x), v = W(x?.series), L = H(x?.series), A = vv(e);
9638
9648
  if (m !== !0 && x !== void 0) {
9639
9649
  let T;
9640
9650
  a !== void 0 && (T = Ce(a).objectIdField);
@@ -9643,7 +9653,7 @@ function Av(t) {
9643
9653
  "currentSelectionDataItems"
9644
9654
  );
9645
9655
  let k = !1, O = !1, P, $ = !1;
9646
- if (F?.[0] !== void 0) {
9656
+ if (A?.[0] !== void 0) {
9647
9657
  if (f?.viewExtentUpdated !== !0) {
9648
9658
  P = f?.selectionData?.selectionItems ?? D;
9649
9659
  const R = M(
@@ -9653,7 +9663,7 @@ function Av(t) {
9653
9663
  $ = ul({
9654
9664
  itemsA: P,
9655
9665
  itemsB: D,
9656
- isPieFromFields: L === A.PieFromFields,
9666
+ isPieFromFields: L === F.PieFromFields,
9657
9667
  x: r,
9658
9668
  y: l,
9659
9669
  outStatisticFieldName: x.series[0].query?.outStatistics?.[0]?.outStatisticFieldName
@@ -9672,7 +9682,7 @@ function Av(t) {
9672
9682
  chart: u,
9673
9683
  chartConfig: x,
9674
9684
  options: f,
9675
- elementsToApplySelectionTo: F,
9685
+ elementsToApplySelectionTo: A,
9676
9686
  selectionDataItems: P,
9677
9687
  layerOidField: T,
9678
9688
  xAxisField: r,
@@ -9680,7 +9690,7 @@ function Av(t) {
9680
9690
  splitBy: c
9681
9691
  });
9682
9692
  let z = M(u.uid, "computedSelectionDataItems") ?? [];
9683
- if (z.push(...V), x.series.length > 1 && L !== A.BarAndLineNoAggregation && L !== A.BarAndLineSplitByNoAggregation && (z = bo({
9693
+ if (z.push(...V), x.series.length > 1 && L !== F.BarAndLineNoAggregation && L !== F.BarAndLineSplitByNoAggregation && (z = bo({
9684
9694
  data: z,
9685
9695
  x: x.series[0].x,
9686
9696
  splitByField: Xe(x.series[0].query?.where)
@@ -9690,7 +9700,7 @@ function Av(t) {
9690
9700
  u.uid,
9691
9701
  "computedSelectionIndexes"
9692
9702
  );
9693
- q === void 0 && (q = /* @__PURE__ */ new Map()), G.length === F.length ? q.set(i ?? 0, {}) : q.set(i ?? 0, { indexesToSelect: G }), ye(u.uid, { computedSelectionIndexes: q });
9703
+ q === void 0 && (q = /* @__PURE__ */ new Map()), G.length === A.length ? q.set(i ?? 0, {}) : q.set(i ?? 0, { indexesToSelect: G }), ye(u.uid, { computedSelectionIndexes: q });
9694
9704
  }
9695
9705
  } else if (S !== void 0 && O)
9696
9706
  P = Lv(u, S);
@@ -9709,7 +9719,7 @@ function Av(t) {
9709
9719
  chartSubType: L
9710
9720
  });
9711
9721
  };
9712
- F.forEach((V) => {
9722
+ A.forEach((V) => {
9713
9723
  const z = V instanceof jn || V instanceof fn ? V : V.bullets?.[0]?.get("sprite");
9714
9724
  z !== void 0 && Ft({
9715
9725
  element: z,
@@ -9779,8 +9789,8 @@ async function kl(t, e) {
9779
9789
  let y = [], p = 0;
9780
9790
  if (t.series.each(async (S, x) => {
9781
9791
  const { seriesConfig: C } = Es(S, i), v = C?.query?.where ?? "", L = C?.type === b.BoxPlotSeries ? C.y.toString() : Co(S);
9782
- let F;
9783
- S instanceof Ae ? F = S.dataItems : S instanceof Ue ? F = S.columns.values : S instanceof Nt && (F = S.slices.values), F?.forEach((T, D) => {
9792
+ let A;
9793
+ S instanceof Ae ? A = S.dataItems : S instanceof Ue ? A = S.columns.values : S instanceof Nt && (A = S.slices.values), A?.forEach((T, D) => {
9784
9794
  const k = T instanceof jn || T instanceof fn ? T : T.bullets?.[0]?.get("sprite");
9785
9795
  if (k !== void 0 && oa(k.uid, "selected") === !0) {
9786
9796
  p += 1;
@@ -9864,7 +9874,7 @@ async function kl(t, e) {
9864
9874
  }
9865
9875
  }
9866
9876
  function $n(t, e) {
9867
- const { y: i, query: a } = e, o = H(t.series) === A.BarAndLineSplitByNoAggregation ? `${i.toString()}_${yt({ where: a?.where })}` : [i].flat()[0], s = w.xAxisField, r = t.rotated === !0 ? "categoryYField" : "categoryXField", l = t.rotated === !0 ? "valueYField" : "valueXField", c = t.axes?.[0]?.valueFormat.type === b.CategoryAxisFormat ? r : l, d = t.rotated === !0 ? "valueXField" : "valueYField";
9877
+ const { y: i, query: a } = e, o = H(t.series) === F.BarAndLineSplitByNoAggregation ? `${i.toString()}_${yt({ where: a?.where })}` : [i].flat()[0], s = w.xAxisField, r = t.rotated === !0 ? "categoryYField" : "categoryXField", l = t.rotated === !0 ? "valueYField" : "valueXField", c = t.axes?.[0]?.valueFormat.type === b.CategoryAxisFormat ? r : l, d = t.rotated === !0 ? "valueXField" : "valueYField";
9868
9878
  return { xField: s, yField: o, xAxisField: c, yAxisField: d };
9869
9879
  }
9870
9880
  function la(t) {
@@ -10033,7 +10043,7 @@ function Ol(t) {
10033
10043
  if (s) {
10034
10044
  const r = H(e.series);
10035
10045
  let l = s.name;
10036
- if (r === A.BarAndLineSplitBy || r === A.BarAndLineSplitByNoAggregation) {
10046
+ if (r === F.BarAndLineSplitBy || r === F.BarAndLineSplitByNoAggregation) {
10037
10047
  const c = Xe(s.query?.where);
10038
10048
  l = ys({
10039
10049
  subtypeInfo: n,
@@ -10123,11 +10133,11 @@ function $v(t) {
10123
10133
  else if (i.type === b.CategoryAxisFormat) {
10124
10134
  const d = H(c?.series);
10125
10135
  if ([
10126
- A.BoxPlotMonoField,
10127
- A.BoxPlotMultiFields,
10128
- A.BoxPlotMonoFieldAndSplitBy,
10129
- A.BoxPlotMultiFieldsAndSplitBy,
10130
- A.BarAndLineFromFields
10136
+ F.BoxPlotMonoField,
10137
+ F.BoxPlotMultiFields,
10138
+ F.BoxPlotMonoFieldAndSplitBy,
10139
+ F.BoxPlotMultiFieldsAndSplitBy,
10140
+ F.BarAndLineFromFields
10131
10141
  ].includes(d) && typeof s == "string") {
10132
10142
  const m = M(e.uid, "fieldList");
10133
10143
  s = we(m, s);
@@ -10216,7 +10226,7 @@ function Fm(t) {
10216
10226
  const { dataContext: e, defaultValue: i, chartUID: a } = t;
10217
10227
  let n = Ci(e);
10218
10228
  const o = M(a, "config"), s = M(a, "rendererFieldNames"), r = W(o?.series), l = H(o?.series);
10219
- return r === b.BoxPlotSeries && (l === A.BoxPlotMonoField || l === A.BoxPlotMultiFields || l === A.BoxPlotMonoFieldAndSplitBy || l === A.BoxPlotMultiFieldsAndSplitBy) ? n = e?.[lo] : r === b.HistogramSeries ? n = e?.[Zn.Start] : n = qt({
10229
+ return r === b.BoxPlotSeries && (l === F.BoxPlotMonoField || l === F.BoxPlotMultiFields || l === F.BoxPlotMonoFieldAndSplitBy || l === F.BoxPlotMultiFieldsAndSplitBy) ? n = e?.[lo] : r === b.HistogramSeries ? n = e?.[Zn.Start] : n = qt({
10220
10230
  value: i ?? "",
10221
10231
  dataContext: e,
10222
10232
  useRendererLabel: Os(o, s)
@@ -10485,8 +10495,8 @@ function _v(t) {
10485
10495
  // using either the provided data (at creation or after a data update) or the current series data
10486
10496
  chartData: p ?? l.series.getIndex(0)?.data.values ?? [],
10487
10497
  filteredSeriesIds: y
10488
- }), { minX: x, maxX: C, minY: v, maxY: L } = S, [F, T] = m ? [x ?? Number.NaN, C ?? Number.NaN] : [v, L];
10489
- u === b.BarSeries || u === b.HistogramSeries && !m || u === b.ComboLineAndBarSeries || (u === b.LineSeries || u === b.RadarSeries) && f === ve.Stacked && !m ? (s = Math.min(F, 0), r = Math.max(T, 0)) : (s = F, r = T);
10498
+ }), { minX: x, maxX: C, minY: v, maxY: L } = S, [A, T] = m ? [x ?? Number.NaN, C ?? Number.NaN] : [v, L];
10499
+ u === b.BarSeries || u === b.HistogramSeries && !m || u === b.ComboLineAndBarSeries || (u === b.LineSeries || u === b.RadarSeries) && f === ve.Stacked && !m ? (s = Math.min(A, 0), r = Math.max(T, 0)) : (s = A, r = T);
10490
10500
  }
10491
10501
  s = i ?? s, r = a ?? r;
10492
10502
  }
@@ -10690,20 +10700,20 @@ function tL(t, e) {
10690
10700
  if (t instanceof mt) {
10691
10701
  let L;
10692
10702
  if (s !== void 0) {
10693
- const F = M(t.chart?.uid ?? Number.NaN, "formatLocale");
10703
+ const A = M(t.chart?.uid ?? Number.NaN, "formatLocale");
10694
10704
  L = ii({
10695
10705
  root: t.root,
10696
10706
  type: b.DateAxisFormat,
10697
10707
  // iLocale: chart.language.locale, // TODO: iLocale
10698
10708
  // intlOptions,
10699
- formatLocale: F
10709
+ formatLocale: A
10700
10710
  });
10701
10711
  const T = c?.axes?.[0]?.valueFormat?.type === b.DateAxisFormat ? c.axes[0].valueFormat.intlOptions : void 0;
10702
10712
  y = L.format(n, T), o !== void 0 && (p = L.format(o, T));
10703
10713
  }
10704
10714
  } else if (t instanceof Ve && !(n instanceof Date) && !(o instanceof Date)) {
10705
- const L = g?.find((k) => k.name === a), { start: F, end: T } = wm(t, L);
10706
- Number.isFinite(F) && (y = F), Number.isFinite(T) && (p = T);
10715
+ const L = g?.find((k) => k.name === a), { start: A, end: T } = wm(t, L);
10716
+ Number.isFinite(A) && (y = A), Number.isFinite(T) && (p = T);
10707
10717
  const D = Aa(t.uid, "numberFormatter") ?? ((k) => Hd.new(r, {}).format(k));
10708
10718
  y = D(y), p !== void 0 && (p = D(p));
10709
10719
  } else t instanceof Wt && (y = n, p = o);
@@ -11265,7 +11275,7 @@ async function kL(t) {
11265
11275
  utilsStrings: s,
11266
11276
  errorStrings: r
11267
11277
  });
11268
- const F = d ? x?.dataValue : FL({
11278
+ const A = d ? x?.dataValue : FL({
11269
11279
  x: f,
11270
11280
  data: a.dataItems,
11271
11281
  chart: e,
@@ -11277,7 +11287,7 @@ async function kL(t) {
11277
11287
  chart: e,
11278
11288
  axis: g,
11279
11289
  needleConfig: S,
11280
- gaugeValue: F
11290
+ gaugeValue: A
11281
11291
  });
11282
11292
  }
11283
11293
  }
@@ -11493,7 +11503,7 @@ async function Pl(t) {
11493
11503
  labels: C,
11494
11504
  isLogarithmic: v,
11495
11505
  grid: L,
11496
- displayCursorTooltip: F,
11506
+ displayCursorTooltip: A,
11497
11507
  displayZeroLine: T,
11498
11508
  valueFormat: D,
11499
11509
  guides: k,
@@ -11529,7 +11539,7 @@ async function Pl(t) {
11529
11539
  horizontalAxisLabelsBehavior: o,
11530
11540
  isSecondValueAxis: d,
11531
11541
  tickSpacing: O
11532
- }), Xv({ root: $, axis: e, displayCursorTooltip: F }), uL({ axis: e, guideConfigs: k, guideTooltipFormatter: m, anyGuideAboveChanged: l, utilsStrings: g }), PL({ axis: e, data: i, chartType: R });
11542
+ }), Xv({ root: $, axis: e, displayCursorTooltip: A }), uL({ axis: e, guideConfigs: k, guideTooltipFormatter: m, anyGuideAboveChanged: l, utilsStrings: g }), PL({ axis: e, data: i, chartType: R });
11533
11543
  }
11534
11544
  async function VL(t) {
11535
11545
  const { chart: e, errorStrings: i } = t, { root: a } = e, n = M(e.uid, "config");
@@ -11629,11 +11639,11 @@ async function zL(t) {
11629
11639
  rotated: p
11630
11640
  } = i, S = W(i.series), x = M(e.uid, "isNonAggregatedChart"), C = e.xAxes.getIndex(0), v = e.yAxes.getIndex(0), L = e.xAxes.getIndex(1) ?? e.yAxes.getIndex(1);
11631
11641
  await ka({ chartType: S, axesConfig: y, errorStrings: f });
11632
- const F = y?.[p === !0 ? 1 : 0], T = y?.[p === !0 ? 0 : 1];
11642
+ const A = y?.[p === !0 ? 1 : 0], T = y?.[p === !0 ? 0 : 1];
11633
11643
  [
11634
11644
  {
11635
11645
  axis: C,
11636
- axisConfig: F,
11646
+ axisConfig: A,
11637
11647
  externalAxisLabelFormatter: p !== !0 ? r : l
11638
11648
  },
11639
11649
  {
@@ -12267,7 +12277,7 @@ function dF(t) {
12267
12277
  }
12268
12278
  function uF(t) {
12269
12279
  const { chartConfig: e, seriesConfig: i } = t, a = ti(e), n = e.showOutliers, o = e.standardizeValues, s = He(e), { y: r } = i, l = ws(e), c = H(l.series), d = s ? void 0 : i?.query?.where, u = {
12270
- y: c === A.BoxPlotMultiFieldsAndCategory && typeof r == "string" ? r : void 0,
12280
+ y: c === F.BoxPlotMultiFieldsAndCategory && typeof r == "string" ? r : void 0,
12271
12281
  chartSubType: c,
12272
12282
  splitBy: d,
12273
12283
  showOutliers: n,
@@ -12383,7 +12393,7 @@ function pF(t) {
12383
12393
  seriesConfig: i,
12384
12394
  key: Y.Average
12385
12395
  }), d = oe({
12386
- y: a === A.BoxPlotMultiFieldsAndCategory && typeof s == "string" ? s : void 0,
12396
+ y: a === F.BoxPlotMultiFieldsAndCategory && typeof s == "string" ? s : void 0,
12387
12397
  chartSubType: a,
12388
12398
  splitBy: r,
12389
12399
  showOutliers: n,
@@ -12537,7 +12547,7 @@ function TF(t) {
12537
12547
  }
12538
12548
  function Um(t) {
12539
12549
  const { data: e, colorMatch: i, chartSubType: a, rendererType: n } = t;
12540
- return e !== void 0 && i && n !== void 0 && (a === A.BoxPlotMultiFields && (n === Vt.UniqueValue || n === Vt.PieChart) || a === A.BoxPlotMonoFieldAndCategory && n === Vt.UniqueValue) && e.some(
12550
+ return e !== void 0 && i && n !== void 0 && (a === F.BoxPlotMultiFields && (n === Vt.UniqueValue || n === Vt.PieChart) || a === F.BoxPlotMonoFieldAndCategory && n === Vt.UniqueValue) && e.some(
12541
12551
  (o) => Object.keys(o).some((s) => s.includes(I.rendererSymbolField))
12542
12552
  );
12543
12553
  }
@@ -12622,12 +12632,12 @@ function dr(t) {
12622
12632
  }
12623
12633
  function Ws(t) {
12624
12634
  const { chartConfig: e, seriesConfig: i, key: a } = t, n = ti(e), o = e.showOutliers, s = e.standardizeValues, r = He(e), l = H(e.series), { x: c, y: d } = i, u = r ? void 0 : i?.query?.where, f = {
12625
- y: l === A.BoxPlotMultiFieldsAndCategory && typeof d == "string" ? d : void 0,
12635
+ y: l === F.BoxPlotMultiFieldsAndCategory && typeof d == "string" ? d : void 0,
12626
12636
  chartSubType: l,
12627
12637
  splitBy: u,
12628
12638
  showOutliers: o,
12629
12639
  standardizeValues: mn(l) ? s : !1
12630
- }, m = l === A.BoxPlotMonoField || l === A.BoxPlotMultiFields || l === A.BoxPlotMonoFieldAndSplitBy || l === A.BoxPlotMultiFieldsAndSplitBy ? lo : c;
12640
+ }, m = l === F.BoxPlotMonoField || l === F.BoxPlotMultiFields || l === F.BoxPlotMonoFieldAndSplitBy || l === F.BoxPlotMultiFieldsAndSplitBy ? lo : c;
12631
12641
  return {
12632
12642
  dataFields: {
12633
12643
  value: n ? "valueXField" : "valueYField",
@@ -12656,7 +12666,7 @@ function jm(t, e) {
12656
12666
  return { topStepLineSeries: i, medianStepLineSeries: a, bottomStepLineSeries: n };
12657
12667
  }
12658
12668
  function _m(t) {
12659
- return t !== A.BoxPlotMonoField && t !== A.BoxPlotMultiFields && t !== A.BoxPlotMonoFieldAndCategory;
12669
+ return t !== F.BoxPlotMonoField && t !== F.BoxPlotMultiFields && t !== F.BoxPlotMonoFieldAndCategory;
12660
12670
  }
12661
12671
  function Qm(t) {
12662
12672
  const { chart: e, candleSeriesIndex: i, numberOfCandleStickSeries: a } = t;
@@ -12891,8 +12901,8 @@ function HF(t) {
12891
12901
  key: "fill",
12892
12902
  customFunction: (x, C, v, L) => {
12893
12903
  if (x instanceof Wi) {
12894
- let F, T;
12895
- Number.isFinite(L) ? typeof d == "number" && L < d ? { color: F, opacity: T } = p : typeof u == "number" && L > u ? { color: F, opacity: T } = S : (F = Bh.interpolate((L - C) / (v - C), f, g, "rgb"), T = m + (L - C) / (v - C) * (y - m)) : Wa({ element: x, fillSymbol: o }), F && x.set("fill", F), T !== void 0 && x.set("fillOpacity", T);
12904
+ let A, T;
12905
+ Number.isFinite(L) ? typeof d == "number" && L < d ? { color: A, opacity: T } = p : typeof u == "number" && L > u ? { color: A, opacity: T } = S : (A = Bh.interpolate((L - C) / (v - C), f, g, "rgb"), T = m + (L - C) / (v - C) * (y - m)) : Wa({ element: x, fillSymbol: o }), A && x.set("fill", A), T !== void 0 && x.set("fillOpacity", T);
12896
12906
  }
12897
12907
  }
12898
12908
  }
@@ -13299,8 +13309,8 @@ function n0(t, e) {
13299
13309
  " "
13300
13310
  );
13301
13311
  m = (S, x, C) => {
13302
- const v = g(S, x, C), F = o ?? w.pieChart.displayCategoryOnDataLabel ? y(S) : "";
13303
- let T = de(F) ? "" : `${F}${p}`;
13312
+ const v = g(S, x, C), A = o ?? w.pieChart.displayCategoryOnDataLabel ? y(S) : "";
13313
+ let T = de(A) ? "" : `${A}${p}`;
13304
13314
  return T = `${T}${v}`, e.dataLabels?.content !== void 0 && (T = At({
13305
13315
  textSymbol: { ...e.dataLabels.content, text: T },
13306
13316
  format: "amChartsV5",
@@ -13402,22 +13412,22 @@ function ud(t, e) {
13402
13412
  labelUpdateNeeded: c,
13403
13413
  colorMatch: d,
13404
13414
  utilsStrings: u
13405
- }), F = {
13415
+ }), A = {
13406
13416
  sliceId: S,
13407
13417
  label: L,
13408
13418
  fillSymbol: v
13409
13419
  };
13410
- F.originalLabel = x?.originalLabel ?? (y?.[w.originalCategoryValue] !== void 0 ? y?.[w.originalCategoryValue] : F.label), C ? (g = y[w.pieChart.technicalFieldGroupedSlices], r.sliceGrouping !== void 0 && (m = {
13420
+ A.originalLabel = x?.originalLabel ?? (y?.[w.originalCategoryValue] !== void 0 ? y?.[w.originalCategoryValue] : A.label), C ? (g = y[w.pieChart.technicalFieldGroupedSlices], r.sliceGrouping !== void 0 && (m = {
13411
13421
  sliceId: r.sliceGrouping.sliceId,
13412
13422
  percentageThreshold: r.sliceGrouping.percentageThreshold,
13413
13423
  label: L,
13414
13424
  originalLabel: r.sliceGrouping.originalLabel ?? L,
13415
13425
  fillSymbol: v
13416
- })) : f.push(F);
13426
+ })) : f.push(A);
13417
13427
  }), { slices: f, groupOfSlicesSymbols: m, groupOfSlices: g };
13418
13428
  }
13419
13429
  async function Jm(t) {
13420
- const { data: e } = t, i = e && "dataItems" in e ? e.dataItems : [], { root: a, chartConfig: n, queryObject: o, usePopupTemplateFieldsInfo: s, labelUpdateNeeded: r, utilsStrings: l } = t, c = n.series[0], { x: d } = c, u = !sl({ chartConfig: n }), m = H([c]) === A.PieFromFields, y = Ce(o).objectIdField, p = await st(o, s), S = {
13430
+ const { data: e } = t, i = e && "dataItems" in e ? e.dataItems : [], { root: a, chartConfig: n, queryObject: o, usePopupTemplateFieldsInfo: s, labelUpdateNeeded: r, utilsStrings: l } = t, c = n.series[0], { x: d } = c, u = !sl({ chartConfig: n }), m = H([c]) === F.PieFromFields, y = Ce(o).objectIdField, p = await st(o, s), S = {
13421
13431
  root: a,
13422
13432
  x: d,
13423
13433
  isNonAggregatedChart: u,
@@ -13480,11 +13490,11 @@ function c0(t) {
13480
13490
  seriesWereReinitialized: s,
13481
13491
  loaderHandle: r,
13482
13492
  labelUpdateNeeded: l
13483
- } = t, { x: c, y: d } = a, u = H([a]), f = u === A.PieFromFields ? Ke : c;
13493
+ } = t, { x: c, y: d } = a, u = H([a]), f = u === F.PieFromFields ? Ke : c;
13484
13494
  if (i && (n === !0 || s === !0 || o === !0))
13485
13495
  e.setAll({
13486
13496
  categoryField: f,
13487
- valueField: u === A.PieFromFields ? kt : d
13497
+ valueField: u === F.PieFromFields ? kt : d
13488
13498
  }), e.events.once(he.DataValidated, () => {
13489
13499
  r.hideLoader();
13490
13500
  }), e.data.setAll(i.dataItems);
@@ -13511,8 +13521,8 @@ function f0(t) {
13511
13521
  const { root: e, seriesConfig: i, options: a, chart: n } = t, { id: o, name: s, x: r, y: l } = i, c = H([i]), d = Nt.new(e, {
13512
13522
  id: o,
13513
13523
  name: s,
13514
- categoryField: c === A.PieFromFields ? Ke : r,
13515
- valueField: c === A.PieFromFields ? kt : l
13524
+ categoryField: c === F.PieFromFields ? Ke : r,
13525
+ valueField: c === F.PieFromFields ? kt : l
13516
13526
  });
13517
13527
  return a0(d), nm(d), d.slices.template.states.create("hover", {
13518
13528
  scale: 1,
@@ -13578,9 +13588,9 @@ function g0(t, e) {
13578
13588
  dataLabelsInside: g
13579
13589
  } = c[0];
13580
13590
  if (m?.visible === !0 && u === !0 && d === !0 && g !== !0) {
13581
- const S = w.pieChart.chartOptimizedRadius / 100, x = 500, C = 150, v = 0.6, L = 0.5, F = 1, T = t.chartContainer.width() - f * 2, D = Math.max(T - C, 0) / (x - C), k = D < 1 ? (
13591
+ const S = w.pieChart.chartOptimizedRadius / 100, x = 500, C = 150, v = 0.6, L = 0.5, A = 1, T = t.chartContainer.width() - f * 2, D = Math.max(T - C, 0) / (x - C), k = D < 1 ? (
13582
13592
  // case 1: the container width is less than the radiusContainerWidthBreakpoint - we want to scale the radius down.
13583
- Math.max(D ** F * v, 0.4)
13593
+ Math.max(D ** A * v, 0.4)
13584
13594
  ) : (
13585
13595
  // case 2: the container width is at or more than the radiusContainerWidthBreakpoint - ramp up radius to the max radius
13586
13596
  Math.min(D ** L * v, S)
@@ -13857,7 +13867,7 @@ async function Hs(t) {
13857
13867
  errorStrings: S,
13858
13868
  groupOfSlicesUpdateNeeded: x,
13859
13869
  labelUpdateNeeded: C
13860
- } = t, { chartRenderer: v } = i, { root: L } = e, { series: F } = i, T = W(i.series), D = H(i.series), k = e.series.values, O = vi(i), P = i.series.length, $ = /* @__PURE__ */ new Map(), R = ps(g), V = await st(g, a?.usePopupTemplateFieldsInfo), z = Ce(g), G = In(v, z.renderer), q = l || s || r || c, _ = {
13870
+ } = t, { chartRenderer: v } = i, { root: L } = e, { series: A } = i, T = W(i.series), D = H(i.series), k = e.series.values, O = vi(i), P = i.series.length, $ = /* @__PURE__ */ new Map(), R = ps(g), V = await st(g, a?.usePopupTemplateFieldsInfo), z = Ce(g), G = In(v, z.renderer), q = l || s || r || c, _ = {
13861
13871
  root: L,
13862
13872
  chartConfig: i,
13863
13873
  queryObject: g,
@@ -13884,8 +13894,8 @@ async function Hs(t) {
13884
13894
  seriesSymbolMapForEvent: $,
13885
13895
  timeZoneChanged: f
13886
13896
  };
13887
- for (let ee = 0; ee < F.length; ee++) {
13888
- const U = F[ee];
13897
+ for (let ee = 0; ee < A.length; ee++) {
13898
+ const U = A[ee];
13889
13899
  let Q = k[ee];
13890
13900
  const Le = U.type;
13891
13901
  switch (!0) {
@@ -14006,7 +14016,7 @@ function El(t) {
14006
14016
  return m[zt.defaultGroupOfSlicesId] === !0 && (l = m, g = !1), g;
14007
14017
  });
14008
14018
  if (s > 0 && r.length > 0) {
14009
- const m = c / o * 100, g = H(i) === A.PieFromFields, y = {
14019
+ const m = c / o * 100, g = H(i) === F.PieFromFields, y = {
14010
14020
  ...l,
14011
14021
  [zt.defaultGroupOfSlicesId]: !0,
14012
14022
  [g ? Ke : n.x]: n.sliceGrouping?.label ?? a?.pieChart.defaultSliceGroupingLabel,
@@ -14187,7 +14197,7 @@ function ng(t) {
14187
14197
  case b.LineSeries: {
14188
14198
  s.series.forEach((f) => {
14189
14199
  let m = "";
14190
- "y" in f && (m = Array.isArray(f.y) ? f.y[0] : f.y, c === A.BarAndLineSplitByNoAggregation && (m = `${m}_${yt({ where: f.query?.where })}`), Array.isArray(i) && i.some(
14200
+ "y" in f && (m = Array.isArray(f.y) ? f.y[0] : f.y, c === F.BarAndLineSplitByNoAggregation && (m = `${m}_${yt({ where: f.query?.where })}`), Array.isArray(i) && i.some(
14191
14201
  (y) => Ur({ dataItem: y, x: f.x, y: m })
14192
14202
  ) && d.add(f));
14193
14203
  });
@@ -14329,13 +14339,13 @@ async function P0(t) {
14329
14339
  } = t;
14330
14340
  let S = a, x = !1;
14331
14341
  if (e && (n || g)) {
14332
- const F = v0({
14342
+ const A = v0({
14333
14343
  chart: e,
14334
14344
  data: a,
14335
14345
  seriesConfig: y,
14336
14346
  utilsStrings: f
14337
14347
  });
14338
- F !== void 0 && (x = !0, S = { dataItems: F });
14348
+ A !== void 0 && (x = !0, S = { dataItems: A });
14339
14349
  }
14340
14350
  const C = n || s || r || l, v = await Jm({
14341
14351
  root: e.root,
@@ -14402,8 +14412,8 @@ async function R0(t) {
14402
14412
  rotationChanged: f,
14403
14413
  axisLabelsBehaviorChanged: v,
14404
14414
  timeIntervalInfoWasReset: p
14405
- }), F = L || Dv({ chart: e, chartConfig: i, updateNeededDetails: s, seriesFilteredOut: l });
14406
- L && (await Mm({ chart: e, chartConfig: i, errorStrings: C }), v = [!0, !0]), F && (e.series.clear(), await Vl({ chart: e, chartConfig: i, options: d, utilsStrings: x })), await Pm({
14415
+ }), A = L || Dv({ chart: e, chartConfig: i, updateNeededDetails: s, seriesFilteredOut: l });
14416
+ L && (await Mm({ chart: e, chartConfig: i, errorStrings: C }), v = [!0, !0]), A && (e.series.clear(), await Vl({ chart: e, chartConfig: i, options: d, utilsStrings: x })), await Pm({
14407
14417
  chart: e,
14408
14418
  chartConfig: i,
14409
14419
  queryObject: u,
@@ -14426,7 +14436,7 @@ async function R0(t) {
14426
14436
  dataWasUpdated: o,
14427
14437
  sortChanged: c,
14428
14438
  seriesIndexMapper: r,
14429
- seriesWereReinitialized: F,
14439
+ seriesWereReinitialized: A,
14430
14440
  rotationChanged: f,
14431
14441
  colorMatchChanged: m,
14432
14442
  seriesStyleChanged: g,
@@ -14467,14 +14477,14 @@ async function V0(t) {
14467
14477
  });
14468
14478
  if (L.valid) {
14469
14479
  x !== void 0 && Ru(x, S) && (S = Bs(S, f.dom));
14470
- const F = H(S.series), T = W(S.series), D = Kn(M(e.uid, "queryObject"));
14480
+ const A = H(S.series), T = W(S.series), D = Kn(M(e.uid, "queryObject"));
14471
14481
  let k = i;
14472
14482
  (g !== void 0 || $i(S)) && (k = await gn({ layer: g, view: y, chartConfig: S }), ye(e.uid, { queryObject: k }));
14473
14483
  const O = ti(S), P = M(e.uid, "filterBySelection"), $ = M(e.uid, "seriesFilteredOut"), R = M(e.uid, "unfilteredConfig");
14474
14484
  ye(e.uid, {
14475
14485
  config: Re(S),
14476
14486
  options: l,
14477
- isNonAggregatedChart: !Ea(F),
14487
+ isNonAggregatedChart: !Ea(A),
14478
14488
  isRotated: O,
14479
14489
  filterBySelection: l?.filterBySelection
14480
14490
  }), JL({ chart: e, updateOptions: l, chartModal: n });
@@ -14773,14 +14783,14 @@ async function W0(t) {
14773
14783
  });
14774
14784
  if (x.valid && !g.isDisposed()) {
14775
14785
  u = Bs(u, e), p.showLoader(a?.hideLoaderAnimation !== !0);
14776
- const v = p.hideLoader, L = H(u.series), F = ti(u);
14786
+ const v = p.hideLoader, L = H(u.series), A = ti(u);
14777
14787
  ye(g.uid, {
14778
14788
  options: a,
14779
14789
  filterBySelection: a?.filterBySelection,
14780
14790
  config: u,
14781
14791
  queryObject: f,
14782
14792
  isNonAggregatedChart: !Ea(L),
14783
- isRotated: F
14793
+ isRotated: A
14784
14794
  }), zm({ root: m, chart: g, config: u }), Wm({
14785
14795
  root: m,
14786
14796
  chart: g,
@@ -14848,7 +14858,7 @@ async function W0(t) {
14848
14858
  }
14849
14859
  ye(g.uid, { queryConfig: $, initialized: R, elementCount: z, data: P });
14850
14860
  const J = H(u.series);
14851
- W(u.series) === b.BoxPlotSeries && J !== A.BoxPlotMonoField && J !== A.BoxPlotMonoFieldAndSplitBy && (Xi({ arrayToSort: q, chartConfig: u, fieldList: O }), Km({
14861
+ W(u.series) === b.BoxPlotSeries && J !== F.BoxPlotMonoField && J !== F.BoxPlotMonoFieldAndSplitBy && (Xi({ arrayToSort: q, chartConfig: u, fieldList: O }), Km({
14852
14862
  chart: g,
14853
14863
  chartData: q,
14854
14864
  chartConfig: u
@@ -14905,7 +14915,7 @@ async function W0(t) {
14905
14915
  y === void 0 && (y = Xc({ chart: g, seriesConfig: v.newChartConfig.series })), await V0({ chart: g, queryObject: f, legend: y, chartModal: S, loaderHandle: p, updateProps: v });
14906
14916
  },
14907
14917
  dispose: () => O0(m),
14908
- notify: (v, L, F) => w0({ chartModal: S, chart: g, message: v, heading: L, options: F }),
14918
+ notify: (v, L, A) => w0({ chartModal: S, chart: g, message: v, heading: L, options: A }),
14909
14919
  resetZoom: C,
14910
14920
  clearSelection: () => Ta({ chart: g }),
14911
14921
  switchSelection: async () => await T0(g),
@@ -15141,11 +15151,11 @@ function og(t) {
15141
15151
  else if (o !== void 0) {
15142
15152
  const d = H(r?.series);
15143
15153
  if ([
15144
- A.BoxPlotMonoField,
15145
- A.BoxPlotMultiFields,
15146
- A.BoxPlotMonoFieldAndSplitBy,
15147
- A.BoxPlotMultiFieldsAndSplitBy,
15148
- A.BarAndLineFromFields
15154
+ F.BoxPlotMonoField,
15155
+ F.BoxPlotMultiFields,
15156
+ F.BoxPlotMonoFieldAndSplitBy,
15157
+ F.BoxPlotMultiFieldsAndSplitBy,
15158
+ F.BarAndLineFromFields
15149
15159
  ].includes(d) && typeof c == "string") {
15150
15160
  const m = N(e.chart.uid, "fieldList");
15151
15161
  c = we(m, c);
@@ -16126,19 +16136,19 @@ function IA(t, e) {
16126
16136
  const a = ot(e.series), n = H(e.series), o = Gi(e);
16127
16137
  t.data.forEach((s) => {
16128
16138
  switch (n) {
16129
- case A.BoxPlotMonoField:
16130
- case A.BoxPlotMultiFields:
16131
- case A.BoxPlotMonoFieldAndCategory:
16139
+ case F.BoxPlotMonoField:
16140
+ case F.BoxPlotMultiFields:
16141
+ case F.BoxPlotMonoFieldAndCategory:
16132
16142
  fr({ dataItem: s, showOutliers: o }) && (i += 1);
16133
16143
  break;
16134
- case A.BoxPlotMultiFieldsAndCategory:
16144
+ case F.BoxPlotMultiFieldsAndCategory:
16135
16145
  a.forEach((r) => {
16136
16146
  fr({ dataItem: s, y: r, showOutliers: o }) && (i += 1);
16137
16147
  });
16138
16148
  break;
16139
- case A.BoxPlotMonoFieldAndSplitBy:
16140
- case A.BoxPlotMultiFieldsAndSplitBy:
16141
- case A.BoxPlotMonoFieldAndCategoryAndSplitBy:
16149
+ case F.BoxPlotMonoFieldAndSplitBy:
16150
+ case F.BoxPlotMultiFieldsAndSplitBy:
16151
+ case F.BoxPlotMonoFieldAndCategoryAndSplitBy:
16142
16152
  e.series.forEach((r) => {
16143
16153
  fr({ dataItem: s, splitBy: r.query?.where, showOutliers: o }) && (i += 1);
16144
16154
  });
@@ -16468,10 +16478,10 @@ async function Bg(t) {
16468
16478
  let C;
16469
16479
  f instanceof Ze || f instanceof rt ? (C = f.columns?.values, y === b.HistogramSeries && (x.xAxisField = S)) : f instanceof Ht ? C = f.segments.values : f instanceof be && (C = ze(f)?.clones?.values, x.uniqueFeature = !0), C !== void 0 && (c = [...c, ...C], C.forEach((v, L) => {
16470
16480
  if (!(v.dataItem instanceof wa)) {
16471
- const F = v.isActive, T = v === o || NA(v, i);
16481
+ const A = v.isActive, T = v === o || NA(v, i);
16472
16482
  T && (d = !1);
16473
16483
  let D = !1;
16474
- F ? T ? D = n !== Ge.SelectionByClick : D = a === !0 : D = T, D && l.push({
16484
+ A ? T ? D = n !== Ge.SelectionByClick : D = a === !0 : D = T, D && l.push({
16475
16485
  ...x,
16476
16486
  element: v,
16477
16487
  elementDataContext: v.dataItem?.dataContext,
@@ -16857,7 +16867,7 @@ function KA(t) {
16857
16867
  if (g === !1 || y === !1)
16858
16868
  u = () => "";
16859
16869
  else {
16860
- const p = m.axes, S = p[0].valueFormat, x = p[1].valueFormat, C = H(m.series), v = Ut(m) === ve.Stacked100, L = Ce(a)?.objectIdField, F = we(i, s.x), T = Vi(F, p[0].title?.content.text), D = em({
16870
+ const p = m.axes, S = p[0].valueFormat, x = p[1].valueFormat, C = H(m.series), v = Ut(m) === ve.Stacked100, L = Ce(a)?.objectIdField, A = we(i, s.x), T = Vi(A, p[0].title?.content.text), D = em({
16861
16871
  config: m,
16862
16872
  fieldList: i,
16863
16873
  objectIdField: L,
@@ -16885,7 +16895,7 @@ function KA(t) {
16885
16895
  percentValue: $
16886
16896
  }), _ = [`<b>${T}${k} </b>${z}`];
16887
16897
  switch (C) {
16888
- case A.BarAndLineFromFields: {
16898
+ case F.BarAndLineFromFields: {
16889
16899
  _.pop();
16890
16900
  const J = Tl({
16891
16901
  config: m,
@@ -16895,13 +16905,13 @@ function KA(t) {
16895
16905
  _.push(`<b>${J}${k} </b>${G}`);
16896
16906
  break;
16897
16907
  }
16898
- case A.BarAndLineMonoField:
16899
- case A.BarAndLineNoAggregation:
16900
- case A.BarAndLineMultiFields:
16908
+ case F.BarAndLineMonoField:
16909
+ case F.BarAndLineNoAggregation:
16910
+ case F.BarAndLineMultiFields:
16901
16911
  _.push(`<b>${D}${k} </b>${G}`);
16902
16912
  break;
16903
- case A.BarAndLineSplitByNoAggregation:
16904
- case A.BarAndLineSplitBy:
16913
+ case F.BarAndLineSplitByNoAggregation:
16914
+ case F.BarAndLineSplitBy:
16905
16915
  {
16906
16916
  const J = Xe(s.query?.where, !1), ee = Zd({
16907
16917
  value: we(i, J)
@@ -17143,19 +17153,19 @@ function oT(t) {
17143
17153
  a.x !== lo && (S = Vi(p, c?.[0].title?.content.text));
17144
17154
  const x = Mt(r.rtl);
17145
17155
  s = (C) => {
17146
- const { dataContext: v, xValue: L } = C, F = kg({
17156
+ const { dataContext: v, xValue: L } = C, A = kg({
17147
17157
  seriesConfig: a,
17148
17158
  xAxisValueFormat: d,
17149
17159
  series: e,
17150
17160
  xValue: L
17151
- }), T = [], D = F !== void 0 && !Pa(F) ? we(i, F) : "", k = u === !0 ? [l.series[0].y].flat()[0] : [a.y].flat()[0], O = we(i, k);
17161
+ }), T = [], D = A !== void 0 && !Pa(A) ? we(i, A) : "", k = u === !0 ? [l.series[0].y].flat()[0] : [a.y].flat()[0], O = we(i, k);
17152
17162
  switch (f) {
17153
- case A.BoxPlotMonoField:
17154
- case A.BoxPlotMultiFields:
17155
- case A.BoxPlotMonoFieldAndSplitBy:
17156
- case A.BoxPlotMultiFieldsAndSplitBy: {
17157
- if (F !== void 0 && !Pa(F)) {
17158
- const G = f === A.BoxPlotMonoField ? a.name ?? D : D;
17163
+ case F.BoxPlotMonoField:
17164
+ case F.BoxPlotMultiFields:
17165
+ case F.BoxPlotMonoFieldAndSplitBy:
17166
+ case F.BoxPlotMultiFieldsAndSplitBy: {
17167
+ if (A !== void 0 && !Pa(A)) {
17168
+ const G = f === F.BoxPlotMonoField ? a.name ?? D : D;
17159
17169
  T.push(
17160
17170
  ma({
17161
17171
  label: n.field,
@@ -17173,15 +17183,15 @@ function oT(t) {
17173
17183
  );
17174
17184
  break;
17175
17185
  }
17176
- case A.BoxPlotMonoFieldAndCategory:
17177
- case A.BoxPlotMultiFieldsAndCategory: {
17186
+ case F.BoxPlotMonoFieldAndCategory:
17187
+ case F.BoxPlotMultiFieldsAndCategory: {
17178
17188
  T.push(
17179
17189
  ma({
17180
17190
  label: n.field,
17181
17191
  strongColon: x,
17182
17192
  value: a.name ?? O
17183
17193
  })
17184
- ), F !== void 0 && !Pa(F) && T.push(
17194
+ ), A !== void 0 && !Pa(A) && T.push(
17185
17195
  ma({
17186
17196
  label: S,
17187
17197
  strongColon: x,
@@ -17190,14 +17200,14 @@ function oT(t) {
17190
17200
  );
17191
17201
  break;
17192
17202
  }
17193
- case A.BoxPlotMonoFieldAndCategoryAndSplitBy:
17203
+ case F.BoxPlotMonoFieldAndCategoryAndSplitBy:
17194
17204
  T.push(
17195
17205
  ma({
17196
17206
  label: n.field,
17197
17207
  strongColon: x,
17198
17208
  value: O
17199
17209
  })
17200
- ), F !== void 0 && !Pa(F) && T.push(
17210
+ ), A !== void 0 && !Pa(A) && T.push(
17201
17211
  ma({
17202
17212
  label: S,
17203
17213
  strongColon: x,
@@ -17212,7 +17222,7 @@ function oT(t) {
17212
17222
  );
17213
17223
  break;
17214
17224
  }
17215
- const P = [A.BoxPlotMultiFieldsAndCategory], $ = v[B.boxPlot.boxPlotMeanLineMarkerId] !== void 0, R = T.length > 0 && !$, V = nT({
17225
+ const P = [F.BoxPlotMultiFieldsAndCategory], $ = v[B.boxPlot.boxPlotMeanLineMarkerId] !== void 0, R = T.length > 0 && !$, V = nT({
17216
17226
  dataContext: v,
17217
17227
  series: e,
17218
17228
  dataTooltipValueFormat: o,
@@ -17405,7 +17415,7 @@ function yT(t) {
17405
17415
  X0(e.uid, {
17406
17416
  pieChartLegendValueLabelsFormatter: v
17407
17417
  });
17408
- const L = $g(e), F = {
17418
+ const L = $g(e), A = {
17409
17419
  type: b.Text,
17410
17420
  visible: o,
17411
17421
  content: {
@@ -17419,7 +17429,7 @@ function yT(t) {
17419
17429
  };
17420
17430
  Xt({
17421
17431
  label: e.valueLabels.template,
17422
- labelConfig: F,
17432
+ labelConfig: A,
17423
17433
  defaults: B.legendProperties.valueLabels
17424
17434
  }), e.labels.template.disabled = S === !1, e.valueLabels.template.disabled = x === !1 && C === !1;
17425
17435
  }
@@ -17681,7 +17691,7 @@ function kT(t) {
17681
17691
  if (s !== void 0) {
17682
17692
  const { series: l } = s;
17683
17693
  if (W(l) === b.PieSeries) {
17684
- const d = H(l) === A.PieFromFields ? Ke : l[0].x, u = a.dataItem?.dataContext?.[d];
17694
+ const d = H(l) === F.PieFromFields ? Ke : l[0].x, u = a.dataItem?.dataContext?.[d];
17685
17695
  typeof u == "string" ? o = u : u && typeof u != "object" && (o = u.toString());
17686
17696
  } else a.dataItem?.component instanceof Mp && (o = a.dataItem.component.name);
17687
17697
  }
@@ -17808,11 +17818,11 @@ function zT(t) {
17808
17818
  p.id = g, ki(p, s), Ii(p, m);
17809
17819
  let S, x;
17810
17820
  d !== !0 ? (S = n[0], x = y === !0 && n[2] ? n[2] : n[1]) : (S = y === !0 && n[2] ? n[2] : n[0], x = n[1]), S !== void 0 && (p.xAxis = S), x !== void 0 && (p.yAxis = x);
17811
- const C = ni({ chart: e }), v = H(i.series), L = v === A.BarAndLineSplitByNoAggregation ? `${f.toString()}_${yt({ where: u.query?.where })}` : [f].flat()[0];
17821
+ const C = ni({ chart: e }), v = H(i.series), L = v === F.BarAndLineSplitByNoAggregation ? `${f.toString()}_${yt({ where: u.query?.where })}` : [f].flat()[0];
17812
17822
  C ? p.dataFields.valueX = L : p.dataFields.valueY = L;
17813
- const F = C ? n[1] : n[0];
17814
- if (F !== void 0) {
17815
- const k = Cg(F, C);
17823
+ const A = C ? n[1] : n[0];
17824
+ if (A !== void 0) {
17825
+ const k = Cg(A, C);
17816
17826
  p.dataFields[k] = B.xAxisField;
17817
17827
  }
17818
17828
  p.dataFields.customValue = u?.query?.where;
@@ -17958,7 +17968,7 @@ function GT(t) {
17958
17968
  i.id = e.id, se(i, f);
17959
17969
  let x = m;
17960
17970
  const C = i.dataFields?.customValue ?? "";
17961
- (S === A.BarAndLineSplitBy || S === A.BarAndLineSplitByNoAggregation) && (x = ys({
17971
+ (S === F.BarAndLineSplitBy || S === F.BarAndLineSplitByNoAggregation) && (x = ys({
17962
17972
  subtypeInfo: s,
17963
17973
  fieldList: r,
17964
17974
  fieldName: Xe(C),
@@ -18043,20 +18053,20 @@ function Rn(t) {
18043
18053
  standardizeValuesVisibilityChanged: f
18044
18054
  } = t, { x: m, y: g } = i, y = c || d === !0 || f === !0, p = y || u === !0, S = y, x = y;
18045
18055
  if (e !== void 0) {
18046
- const { showOutliers: C, standardizeValues: v, showMean: L } = e, F = ni({ config: e });
18056
+ const { showOutliers: C, standardizeValues: v, showMean: L } = e, A = ni({ config: e });
18047
18057
  if (a instanceof be && x) {
18048
18058
  const $ = H(e.series), R = i?.query?.where, V = oe({
18049
- y: $ === A.BoxPlotMultiFieldsAndCategory ? g : void 0,
18059
+ y: $ === F.BoxPlotMultiFieldsAndCategory ? g : void 0,
18050
18060
  chartSubType: $,
18051
18061
  splitBy: R,
18052
18062
  showOutliers: C,
18053
18063
  standardizeValues: mn($) ? v : !1,
18054
18064
  key: Y.Average
18055
18065
  });
18056
- F ? (a.dataFields.valueX = V, a.dataFields.categoryY = m) : (a.dataFields.valueY = V, a.dataFields.categoryX = m), a.dataFields.customValue = R;
18066
+ A ? (a.dataFields.valueX = V, a.dataFields.categoryY = m) : (a.dataFields.valueY = V, a.dataFields.categoryX = m), a.dataFields.customValue = R;
18057
18067
  }
18058
18068
  const T = ws(e), D = H(T.series), k = L === !0 ? void 0 : i?.query?.where, O = {
18059
- y: D === A.BoxPlotMultiFieldsAndCategory ? g : void 0,
18069
+ y: D === F.BoxPlotMultiFieldsAndCategory ? g : void 0,
18060
18070
  chartSubType: D,
18061
18071
  splitBy: k,
18062
18072
  showOutliers: C,
@@ -18077,7 +18087,7 @@ function Rn(t) {
18077
18087
  ...O,
18078
18088
  key: Y.ThirdQuartile
18079
18089
  });
18080
- F ? (n.dataFields.lowValueX = $, n.dataFields.openValueX = R, n.dataFields.highValueX = V, n.dataFields.valueX = z, n.dataFields.categoryY = m) : (n.dataFields.lowValueY = $, n.dataFields.openValueY = R, n.dataFields.highValueY = V, n.dataFields.valueY = z, n.dataFields.categoryX = m), n.dataFields.customValue = k;
18090
+ A ? (n.dataFields.lowValueX = $, n.dataFields.openValueX = R, n.dataFields.highValueX = V, n.dataFields.valueX = z, n.dataFields.categoryY = m) : (n.dataFields.lowValueY = $, n.dataFields.openValueY = R, n.dataFields.highValueY = V, n.dataFields.valueY = z, n.dataFields.categoryX = m), n.dataFields.customValue = k;
18081
18091
  }
18082
18092
  if (o instanceof Ht && s instanceof Ht && r instanceof Ht) {
18083
18093
  const $ = oe({
@@ -18090,7 +18100,7 @@ function Rn(t) {
18090
18100
  key: Y.Min,
18091
18101
  ...O
18092
18102
  });
18093
- F ? (o.dataFields.valueX = $, s.dataFields.valueX = R, r.dataFields.valueX = V, o.dataFields.categoryY = m, s.dataFields.categoryY = m, r.dataFields.categoryY = m) : (o.dataFields.valueY = $, s.dataFields.valueY = R, r.dataFields.valueY = V, o.dataFields.categoryX = m, s.dataFields.categoryX = m, r.dataFields.categoryX = m), o.dataFields.customValue = k, r.dataFields.customValue = k, s.dataFields.customValue = k;
18103
+ A ? (o.dataFields.valueX = $, s.dataFields.valueX = R, r.dataFields.valueX = V, o.dataFields.categoryY = m, s.dataFields.categoryY = m, r.dataFields.categoryY = m) : (o.dataFields.valueY = $, s.dataFields.valueY = R, r.dataFields.valueY = V, o.dataFields.categoryX = m, s.dataFields.categoryX = m, r.dataFields.categoryX = m), o.dataFields.customValue = k, r.dataFields.customValue = k, s.dataFields.customValue = k;
18094
18104
  }
18095
18105
  }
18096
18106
  if (l instanceof be && S) {
@@ -18098,7 +18108,7 @@ function Rn(t) {
18098
18108
  ...O,
18099
18109
  key: Y.Outlier
18100
18110
  });
18101
- F ? (l.dataFields.valueX = $, l.dataFields.categoryY = m) : (l.dataFields.valueY = $, l.dataFields.categoryX = m), l.dataFields.customValue = k, l.invalidateRawData();
18111
+ A ? (l.dataFields.valueX = $, l.dataFields.categoryY = m) : (l.dataFields.valueY = $, l.dataFields.categoryX = m), l.dataFields.customValue = k, l.invalidateRawData();
18102
18112
  }
18103
18113
  const P = a?.chart ?? n?.chart;
18104
18114
  P !== void 0 && (p || x) && P.invalidateRawData();
@@ -18630,7 +18640,7 @@ function fB(t) {
18630
18640
  return o.forEach((C) => {
18631
18641
  if (!(C instanceof wa)) {
18632
18642
  let v = C.dataItem?.dataContext;
18633
- if (v !== void 0 && (d === b.BoxPlotSeries && v[B.boxPlot.boxPlotOutlierId] !== !0 || u === A.BarAndLineMultiFields) && (v = ea({
18643
+ if (v !== void 0 && (d === b.BoxPlotSeries && v[B.boxPlot.boxPlotOutlierId] !== !0 || u === F.BarAndLineMultiFields) && (v = ea({
18634
18644
  dataContext: v,
18635
18645
  yAxisField: c,
18636
18646
  yList: S,
@@ -18655,7 +18665,7 @@ function fB(t) {
18655
18665
  if (g.push(C), C.dataItem !== void 0 && y.push(C.dataItem.index), C?.dataItem instanceof Ba && v !== void 0)
18656
18666
  p.push(v);
18657
18667
  else {
18658
- const F = /* @__PURE__ */ new Set();
18668
+ const A = /* @__PURE__ */ new Set();
18659
18669
  d === b.PieSeries && Ti(v) ? (So({
18660
18670
  groupOfSlicesDataContext: v
18661
18671
  }) ?? []).forEach((D) => {
@@ -18665,9 +18675,9 @@ function fB(t) {
18665
18675
  sliceDataContext: D,
18666
18676
  selectionDataContext: k,
18667
18677
  xAxisField: l
18668
- }) && F.add(D);
18678
+ }) && A.add(D);
18669
18679
  });
18670
- }) : F.add(v), Array.from(F)?.forEach((T) => {
18680
+ }) : A.add(v), Array.from(A)?.forEach((T) => {
18671
18681
  const D = ea({
18672
18682
  dataContext: T,
18673
18683
  yAxisField: c,
@@ -18788,7 +18798,7 @@ function hB(t) {
18788
18798
  series: e,
18789
18799
  chartType: v,
18790
18800
  showMean: C
18791
- }), F = H(S?.series);
18801
+ }), A = H(S?.series);
18792
18802
  let T;
18793
18803
  a !== void 0 && (T = Ce(a).objectIdField);
18794
18804
  const D = N(
@@ -18806,7 +18816,7 @@ function hB(t) {
18806
18816
  $ = ul({
18807
18817
  itemsA: P,
18808
18818
  itemsB: D,
18809
- isPieFromFields: F === A.PieFromFields
18819
+ isPieFromFields: A === F.PieFromFields
18810
18820
  });
18811
18821
  const V = y?.keys.length !== R?.keys.length || !Si(y, R);
18812
18822
  k = s === !0 || o === !0 || r === !0 || d === !0 || P !== void 0 && $;
@@ -18830,7 +18840,7 @@ function hB(t) {
18830
18840
  yAxisField: c
18831
18841
  });
18832
18842
  let z = N(p.uid, "computedSelectionDataItems") ?? [];
18833
- if (z.push(...V), S.series.length > 1 && F !== A.BarAndLineNoAggregation && F !== A.BarAndLineSplitByNoAggregation && (z = bo({
18843
+ if (z.push(...V), S.series.length > 1 && A !== F.BarAndLineNoAggregation && A !== F.BarAndLineSplitByNoAggregation && (z = bo({
18834
18844
  data: z,
18835
18845
  x: S.series[0].x,
18836
18846
  splitByField: Xe(S.series[0].query?.where)
@@ -18856,7 +18866,7 @@ function hB(t) {
18856
18866
  xAxisField: l,
18857
18867
  splitBy: V,
18858
18868
  chartType: v,
18859
- chartSubType: F,
18869
+ chartSubType: A,
18860
18870
  showOutliers: x,
18861
18871
  isFeatureCollectionLayer: Qi(a)
18862
18872
  })), $s({
@@ -18868,7 +18878,7 @@ function hB(t) {
18868
18878
  yAxisField: c,
18869
18879
  chartType: v,
18870
18880
  splitBy: V,
18871
- chartSubType: F,
18881
+ chartSubType: A,
18872
18882
  showOutliers: x
18873
18883
  });
18874
18884
  };
@@ -18976,7 +18986,7 @@ async function Bo(t) {
18976
18986
  const u = /* @__PURE__ */ new Map(), { xAxisField: f } = i[0] ?? {}, m = W(o?.series), g = H(o?.series), y = ot(o?.series ?? []);
18977
18987
  let p;
18978
18988
  if (s !== void 0 && (p = (await st(s)).find((C) => C.name === f)?.type), i.forEach((x) => {
18979
- const { elementDataContext: C, yAxisField: v, splitBy: L } = x, F = ea({
18989
+ const { elementDataContext: C, yAxisField: v, splitBy: L } = x, A = ea({
18980
18990
  dataContext: C,
18981
18991
  yAxisField: v,
18982
18992
  yList: y,
@@ -18987,7 +18997,7 @@ async function Bo(t) {
18987
18997
  showOutliers: r,
18988
18998
  isFeatureCollectionLayer: Qi(s)
18989
18999
  });
18990
- F !== void 0 && c.push(F);
19000
+ A !== void 0 && c.push(A);
18991
19001
  const { seriesIndex: T, elementIndex: D } = x;
18992
19002
  if (D !== void 0) {
18993
19003
  const k = u.get(T)?.indexesToSelect ?? [];
@@ -19210,19 +19220,19 @@ function FB(t, e) {
19210
19220
  if (t instanceof je) {
19211
19221
  let v = new hu(), L;
19212
19222
  if (r !== void 0) {
19213
- const F = N(t.chart.uid, "formatLocale");
19223
+ const A = N(t.chart.uid, "formatLocale");
19214
19224
  v = ai({
19215
19225
  type: b.DateAxisFormat,
19216
19226
  iLocale: r.language.locale,
19217
- formatLocale: F
19227
+ formatLocale: A
19218
19228
  }), L = c?.axes?.[0]?.valueFormat?.intlOptions;
19219
19229
  }
19220
19230
  y = v.format(n, L), o !== void 0 && (p = v.format(o, L));
19221
19231
  } else if (t instanceof De && !(n instanceof Date) && !(o instanceof Date)) {
19222
19232
  const { start: v, end: L } = Jl(t, g?.[s]);
19223
19233
  Number.isFinite(v) && (y = v), Number.isFinite(L) && (p = L);
19224
- const F = pt(t.uid, "numberFormatter") ?? ((T) => new pu().format(T));
19225
- y = F(y), p !== void 0 && (p = F(p));
19234
+ const A = pt(t.uid, "numberFormatter") ?? ((T) => new pu().format(T));
19235
+ y = A(y), p !== void 0 && (p = A(p));
19226
19236
  } else t instanceof Ct && (y = n, p = o);
19227
19237
  const S = y.toString(), x = p?.toString() ?? "";
19228
19238
  !de(x) && S !== x ? l = Bt(e.guideTooltipLabel, {
@@ -19875,8 +19885,8 @@ function Bd(t) {
19875
19885
  const m = o[f], { value: g, endValue: y, axisFill: p, grid: S, label: x } = m;
19876
19886
  if (nt(x?.uid, "isGuide") === !0) {
19877
19887
  if (n = m.visible, n && m instanceof el) {
19878
- const { start: v, end: L } = Jl(e, u?.[f]), F = Math.min(g, y, v ?? g, L ?? y), T = Math.max(g, y, v ?? g, L ?? y);
19879
- F < i && T < i || F > a && T > a ? n = !1 : (m.value = F < i ? i : F, m.endValue = T > a ? a : T);
19888
+ const { start: v, end: L } = Jl(e, u?.[f]), A = Math.min(g, y, v ?? g, L ?? y), T = Math.max(g, y, v ?? g, L ?? y);
19889
+ A < i && T < i || A > a && T > a ? n = !1 : (m.value = A < i ? i : A, m.endValue = T > a ? a : T);
19880
19890
  }
19881
19891
  se(p, n), se(S, n), se(x, n);
19882
19892
  }
@@ -19998,7 +20008,7 @@ function yw(t) {
19998
20008
  chartConfig: f,
19999
20009
  chartData: d.data,
20000
20010
  filteredSeriesIds: S
20001
- }), { minX: C, maxX: v, minY: L, maxY: F } = x, [T, D] = y ? [C ?? Number.NaN, v ?? Number.NaN] : [L, F];
20011
+ }), { minX: C, maxX: v, minY: L, maxY: A } = x, [T, D] = y ? [C ?? Number.NaN, v ?? Number.NaN] : [L, A];
20002
20012
  m = T, a === b.BarSeries || a === b.HistogramSeries || a === b.ComboLineAndBarSeries || a === b.LineSeries && g === ve.Stacked && !y ? (l = Math.min(T, 0), c = Math.max(D, 0)) : (l = T, c = D);
20003
20013
  }
20004
20014
  return l = o ?? l, c = s ?? c, r && l !== void 0 && l !== null && l <= 0 && (l = pw(m)), { min: l, max: c };
@@ -20156,7 +20166,7 @@ async function Ho(t) {
20156
20166
  lineSymbol: C,
20157
20167
  labels: v,
20158
20168
  guides: L,
20159
- valueFormat: F,
20169
+ valueFormat: A,
20160
20170
  displayZeroLine: T,
20161
20171
  displayCursorTooltip: D,
20162
20172
  tickSpacing: k,
@@ -20196,7 +20206,7 @@ async function Ho(t) {
20196
20206
  isXAxis: an(e.renderer, f),
20197
20207
  chartType: n,
20198
20208
  labelsTextSymbol: i.labels.content,
20199
- formatOptions: F,
20209
+ formatOptions: A,
20200
20210
  overridePercentMultiplication: c === ve.Stacked100,
20201
20211
  axisValueFormatter: d,
20202
20212
  errorStrings: g
@@ -20224,7 +20234,7 @@ async function ic(t) {
20224
20234
  errorStrings: m
20225
20235
  } = t;
20226
20236
  let { axisLabelsBehaviorChanged: g } = t;
20227
- const y = N(e.uid, "config"), { horizontalAxisLabelsBehavior: p, verticalAxisLabelsBehavior: S } = y, x = W(y.series), C = Ut(y), v = n === !0 ? 1 : 0, L = n === !0 ? 0 : 1, F = i?.[v], T = i?.[L];
20237
+ const y = N(e.uid, "config"), { horizontalAxisLabelsBehavior: p, verticalAxisLabelsBehavior: S } = y, x = W(y.series), C = Ut(y), v = n === !0 ? 1 : 0, L = n === !0 ? 0 : 1, A = i?.[v], T = i?.[L];
20228
20238
  let D = e.xAxes.getIndex(0);
20229
20239
  Zg({
20230
20240
  chart: e,
@@ -20250,10 +20260,10 @@ async function ic(t) {
20250
20260
  utilsStrings: f,
20251
20261
  errorStrings: m
20252
20262
  };
20253
- D !== void 0 && F !== void 0 && await Ho({
20263
+ D !== void 0 && A !== void 0 && await Ho({
20254
20264
  ...q,
20255
20265
  axis: D,
20256
- axisConfig: F,
20266
+ axisConfig: A,
20257
20267
  axisValueFormatter: v === 0 ? c : d
20258
20268
  }), k !== void 0 && T !== void 0 && await Ho({
20259
20269
  ...q,
@@ -20330,9 +20340,9 @@ async function Aw(t) {
20330
20340
  S instanceof Ct && (S.dataFields.category = rl(i));
20331
20341
  const v = S.renderer, L = v.grid.template;
20332
20342
  L.location = 0, v.cellStartLocation = 0.1, v.cellEndLocation = 0.9;
20333
- const F = i.orderOptions?.data?.orderBy === Jt.Descending;
20343
+ const A = i.orderOptions?.data?.orderBy === Jt.Descending;
20334
20344
  let T = o === !0;
20335
- F && S instanceof je && (T = !T), v.inversed = T;
20345
+ A && S instanceof je && (T = !T), v.inversed = T;
20336
20346
  }
20337
20347
  const x = o === !0 ? e.xAxes.getIndex(0) : e.yAxes.getIndex(0), C = o === !0 ? e.xAxes.getIndex(1) : e.yAxes.getIndex(1);
20338
20348
  p === ve.Stacked100 ? (x instanceof De && (x.calculateTotals = !0), C instanceof De && (C.calculateTotals = !0)) : (x instanceof De && (x.calculateTotals = !1), C instanceof De && (C.calculateTotals = !1));
@@ -20551,7 +20561,7 @@ function Pr(t, e) {
20551
20561
  const c = (s.bbox.width + 5) * s.scale, d = (r.bbox.height + 5) * r.scale, u = typeof i.renderer.labels.template.radius == "number" ? i.renderer.labels.template.radius : i.renderer.labels.template.radius.value, f = (c + u) * 2 + t.radarContainer.measuredWidth + $o(t.paddingLeft) + $o(t.paddingRight), m = 80, g = 170, y = t.htmlContainer?.clientHeight ?? 0, p = Math.max(
20552
20562
  0,
20553
20563
  Math.min(1, (y - m) / (g - m))
20554
- ), S = t.radarContainer.measuredHeight + (d + u * p) * 2 + $o(t.paddingTop) + $o(t.paddingBottom), x = t.measuredWidth, C = t.measuredHeight, v = x / f, L = C / S, F = (typeof t.radius == "number" ? t.radius : t.radius.value) * 100, T = Number((F * v).toFixed(2)), D = Number((F * L).toFixed(2)), k = T / F, O = D / F, P = t.radarContainer.measuredWidth * k, $ = t.radarContainer.measuredWidth * O, [R, V] = P < $ ? [T, k] : [D, O];
20564
+ ), S = t.radarContainer.measuredHeight + (d + u * p) * 2 + $o(t.paddingTop) + $o(t.paddingBottom), x = t.measuredWidth, C = t.measuredHeight, v = x / f, L = C / S, A = (typeof t.radius == "number" ? t.radius : t.radius.value) * 100, T = Number((A * v).toFixed(2)), D = Number((A * L).toFixed(2)), k = T / A, O = D / A, P = t.radarContainer.measuredWidth * k, $ = t.radarContainer.measuredWidth * O, [R, V] = P < $ ? [T, k] : [D, O];
20555
20565
  Number.isFinite(R) && R >= 10 && R <= B.gauge.radius && (V < 0.98 || V > 1.02) && (t.radius = new _o(R));
20556
20566
  }
20557
20567
  }
@@ -20804,14 +20814,14 @@ async function Uw(t) {
20804
20814
  if (p !== void 0 && S !== void 0) {
20805
20815
  const { valueFormat: x, needle: C, innerLabel: v, onlyShowFirstAndLastLabels: L } = S;
20806
20816
  kr({ axis: p, valueFormat: x, chartType: f }) && Yn({ isXAxis: !0, axes: e.xAxes, valueFormat: x });
20807
- const F = await Om({
20817
+ const A = await Om({
20808
20818
  featureIndex: m,
20809
20819
  chartData: e.data,
20810
20820
  chartConfig: i,
20811
20821
  queryObject: n,
20812
20822
  queryConfig: N(e.uid, "queryConfig")
20813
20823
  });
20814
- S.minimum = F.minimum, S.maximum = F.maximum;
20824
+ S.minimum = A.minimum, S.maximum = A.maximum;
20815
20825
  const { min: T, max: D, labelsIncrement: k, numberOfIntervals: O } = km(S);
20816
20826
  LL({
20817
20827
  oldConfig: N(p.chart.uid, "config"),
@@ -20864,7 +20874,7 @@ async function Uw(t) {
20864
20874
  gaugeLabelConfigContent: S.labels,
20865
20875
  axisValueFormatter: o
20866
20876
  });
20867
- const R = u ? F?.dataValue : Dw({
20877
+ const R = u ? A?.dataValue : Dw({
20868
20878
  x: g,
20869
20879
  data: a,
20870
20880
  chart: e,
@@ -21186,7 +21196,7 @@ function ah(t) {
21186
21196
  se(i, e.visible);
21187
21197
  let p = f;
21188
21198
  const S = i.dataFields?.customValue ?? "";
21189
- (y === A.BarAndLineSplitBy || y === A.BarAndLineSplitByNoAggregation) && (p = ys({
21199
+ (y === F.BarAndLineSplitBy || y === F.BarAndLineSplitByNoAggregation) && (p = ys({
21190
21200
  subtypeInfo: o,
21191
21201
  fieldList: c,
21192
21202
  fieldName: Xe(S),
@@ -21229,7 +21239,7 @@ function hI(t) {
21229
21239
  ki(u, o), u.id = l.id;
21230
21240
  let f, m;
21231
21241
  r !== !0 ? (f = n[0], m = d === !0 && n[2] ? n[2] : n[1]) : (f = d === !0 && n[2] ? n[2] : n[0], m = n[1]), f !== void 0 && (u.xAxis = f), m !== void 0 && (u.yAxis = m);
21232
- const g = e instanceof me ? ni({ chart: e }) : !1, p = H(i.series) !== A.BarAndLineSplitByNoAggregation ? c : `${c}_${yt({ where: l.query?.where })}`;
21242
+ const g = e instanceof me ? ni({ chart: e }) : !1, p = H(i.series) !== F.BarAndLineSplitByNoAggregation ? c : `${c}_${yt({ where: l.query?.where })}`;
21233
21243
  g ? u.dataFields.valueX = p : u.dataFields.valueY = p;
21234
21244
  const S = g ? n[1] : n[0];
21235
21245
  if (S !== void 0) {
@@ -21412,10 +21422,10 @@ function FI(t) {
21412
21422
  u === !0 ? (v = { x: C, y: 0 }, L = { x: C, y: g }) : (v = { x, y: 0 }, L = { x, y: g });
21413
21423
  break;
21414
21424
  }
21415
- const F = {
21425
+ const A = {
21416
21426
  data: [v, L]
21417
21427
  };
21418
- e.data = F.data;
21428
+ e.data = A.data;
21419
21429
  }
21420
21430
  let f = e.data[0]?.x;
21421
21431
  if (d === dt.StdDev && (f = n?.stddev ?? ie(e.uid, "stddev"), _e(e.uid, { stddev: f })), f !== void 0) {
@@ -21634,16 +21644,16 @@ async function II(t) {
21634
21644
  chartConfig: e,
21635
21645
  queryObject: l
21636
21646
  })) {
21637
- const F = await Sl({
21647
+ const A = await Sl({
21638
21648
  seriesConfig: [i],
21639
21649
  dataItem: {},
21640
21650
  renderer: C,
21641
21651
  rendererOrigin: c !== void 0 ? Mi.ChartRenderer : Mi.LayerRenderer,
21642
21652
  rendererType: v,
21643
- chartSubType: A.NonSpecific,
21653
+ chartSubType: F.NonSpecific,
21644
21654
  graphicTemplate: x
21645
21655
  });
21646
- L = F.rendererSymbol, Z(p.chart.uid, { colorMatchApplied: F.colorMatchApplied });
21656
+ L = A.rendererSymbol, Z(p.chart.uid, { colorMatchApplied: A.colorMatchApplied });
21647
21657
  }
21648
21658
  Ga({
21649
21659
  // TODO: Remove the type assertion and correct the typings
@@ -21892,7 +21902,7 @@ function WI(t) {
21892
21902
  });
21893
21903
  }
21894
21904
  async function HI(t) {
21895
- const { chartConfig: e, queryObject: i, usePopupTemplateFieldsInfo: a, labelUpdateNeeded: n, utilsStrings: o } = t, { series: s } = e, r = s[0], { x: l } = r, c = !sl({ chartConfig: e }), d = H([r]), u = d === A.PieFromFields, m = Ce(i).objectIdField, g = await st(i, a);
21905
+ const { chartConfig: e, queryObject: i, usePopupTemplateFieldsInfo: a, labelUpdateNeeded: n, utilsStrings: o } = t, { series: s } = e, r = s[0], { x: l } = r, c = !sl({ chartConfig: e }), d = H([r]), u = d === F.PieFromFields, m = Ce(i).objectIdField, g = await st(i, a);
21896
21906
  return {
21897
21907
  x: l,
21898
21908
  isNonAggregatedChart: c,
@@ -21989,7 +21999,7 @@ function Id(t, e) {
21989
21999
  chartSubType: d
21990
22000
  });
21991
22001
  L.color && y.add(L.color);
21992
- const F = mf({
22002
+ const A = mf({
21993
22003
  dataContext: p,
21994
22004
  sliceFromConfig: C,
21995
22005
  isGroupOfSlices: v,
@@ -22001,14 +22011,14 @@ function Id(t, e) {
22001
22011
  utilsStrings: u
22002
22012
  }), T = {
22003
22013
  sliceId: x,
22004
- label: F,
22014
+ label: A,
22005
22015
  fillSymbol: L
22006
22016
  };
22007
22017
  T.originalLabel = C?.originalLabel ?? (p?.[B.originalCategoryValue] !== void 0 ? p?.[B.originalCategoryValue] : T.label), v ? (g = p[B.pieChart.technicalFieldGroupedSlices], s.sliceGrouping !== void 0 && (m = {
22008
22018
  sliceId: s.sliceGrouping.sliceId,
22009
22019
  percentageThreshold: s.sliceGrouping.percentageThreshold,
22010
- label: F,
22011
- originalLabel: s.sliceGrouping.originalLabel ?? F,
22020
+ label: A,
22021
+ originalLabel: s.sliceGrouping.originalLabel ?? A,
22012
22022
  fillSymbol: L
22013
22023
  })) : f.push(T);
22014
22024
  }), { slices: f, groupOfSlicesSymbols: m, groupOfSlices: g };
@@ -22038,7 +22048,7 @@ function YI(t) {
22038
22048
  const { chart: e, seriesConfig: i, series: a, pieSlicesSymbols: n, options: o, utilsStrings: s } = t, { tooltipFormatter: r, dataLabelFormatter: l } = o ?? {}, { x: c, y: d, id: u, innerRadius: f, startAngle: m, endAngle: g } = i;
22039
22049
  a.id = u;
22040
22050
  const y = H([i]), p = B.pieChart;
22041
- a.dataFields.value = y !== A.PieFromFields ? d : kt, a.dataFields.category = y !== A.PieFromFields ? c : Ke;
22051
+ a.dataFields.value = y !== F.PieFromFields ? d : kt, a.dataFields.category = y !== F.PieFromFields ? c : Ke;
22042
22052
  const S = e.radius instanceof _o ? e.radius.value : e.radius;
22043
22053
  e.innerRadius = ht((f ?? p.innerRadius) * S), a.startAngle = m ?? p.min, a.endAngle = g ?? 360 + a.startAngle, NI({
22044
22054
  pieSeries: a,
@@ -22268,7 +22278,7 @@ function sk(t) {
22268
22278
  const g = Ot({
22269
22279
  dataItem: m.dataItem?.dataContext,
22270
22280
  seriesConfig: e,
22271
- chartSubType: A.NonSpecific,
22281
+ chartSubType: F.NonSpecific,
22272
22282
  colorMatch: a
22273
22283
  }), y = ia({
22274
22284
  element: m,
@@ -22464,7 +22474,7 @@ function oh(t) {
22464
22474
  dataLabelsInside: f
22465
22475
  } = s[0];
22466
22476
  if (u?.visible === !0 && c === !0 && l === !0 && f !== !0) {
22467
- const p = B.pieChart.chartOptimizedRadius / 100, S = 500, x = 150, C = 0.6, v = 0.5, L = 1, F = t.chartContainer.measuredWidth - d * 2, T = Math.max(F - x, 0) / (S - x), D = T < 1 ? (
22477
+ const p = B.pieChart.chartOptimizedRadius / 100, S = 500, x = 150, C = 0.6, v = 0.5, L = 1, A = t.chartContainer.measuredWidth - d * 2, T = Math.max(A - x, 0) / (S - x), D = T < 1 ? (
22468
22478
  // case 1: the container width is less than the radiusContainerWidthBreakpoint - we want to scale the radius down.
22469
22479
  Math.max(T ** L * C, 0.4)
22470
22480
  ) : (
@@ -22710,7 +22720,7 @@ function rh(t) {
22710
22720
  case b.LineSeries: {
22711
22721
  s.series.forEach((f) => {
22712
22722
  let m = "";
22713
- "y" in f && (m = Array.isArray(f.y) ? f.y[0] : f.y, c === A.BarAndLineSplitByNoAggregation && (m = `${m}_${yt({
22723
+ "y" in f && (m = Array.isArray(f.y) ? f.y[0] : f.y, c === F.BarAndLineSplitByNoAggregation && (m = `${m}_${yt({
22714
22724
  where: f.query?.where
22715
22725
  })}`), (i ?? e.data)?.some(
22716
22726
  (y) => Ur({
@@ -22948,8 +22958,8 @@ async function lh(t) {
22948
22958
  }
22949
22959
  const S = gy({ chartConfig: i, queryObject: s, chartData: e.data });
22950
22960
  if (S.length > 0 && (e.colors.list = S.map((x) => {
22951
- const [C, v, L, F] = x;
22952
- return new jo({ r: C, g: v, b: L, a: F });
22961
+ const [C, v, L, A] = x;
22962
+ return new jo({ r: C, g: v, b: L, a: A });
22953
22963
  })), f.length > 0) {
22954
22964
  const x = await Promise.all(f);
22955
22965
  e.series.pushAll(x.flat());
@@ -22975,10 +22985,10 @@ async function cc(t) {
22975
22985
  pieSlicesSymbols: S,
22976
22986
  utilsStrings: x,
22977
22987
  errorStrings: C
22978
- } = t, v = e.series.values, L = /* @__PURE__ */ new Map(), F = i.series.length, T = W(a), D = vi(i), k = Ut(i), O = ps(f), P = await st(f, m?.usePopupTemplateFieldsInfo), $ = Ce(f), R = In(o, $.renderer);
22988
+ } = t, v = e.series.values, L = /* @__PURE__ */ new Map(), A = i.series.length, T = W(a), D = vi(i), k = Ut(i), O = ps(f), P = await st(f, m?.usePopupTemplateFieldsInfo), $ = Ce(f), R = In(o, $.renderer);
22979
22989
  for (const [V, z] of a.entries()) {
22980
22990
  const G = W([z]), q = v[V], _ = {
22981
- numberOfSeries: F,
22991
+ numberOfSeries: A,
22982
22992
  series: q,
22983
22993
  seriesConfig: z,
22984
22994
  seriesIndex: V,
@@ -23089,7 +23099,7 @@ async function dc(t) {
23089
23099
  gaugeInnerLabelFormatter: S,
23090
23100
  usePopupTemplateFieldsInfo: x
23091
23101
  } = a ?? {};
23092
- let C, v, L, F;
23102
+ let C, v, L, A;
23093
23103
  const { loaderElements: T, loaderHandle: D } = XA(i, a);
23094
23104
  D.showLoader(l !== !0);
23095
23105
  const k = W(e.series), O = await st(o, x);
@@ -23155,7 +23165,7 @@ async function dc(t) {
23155
23165
  else {
23156
23166
  _ !== void 0 && (i.data = _);
23157
23167
  const Q = H(e.series);
23158
- k === b.BoxPlotSeries && Q !== A.BoxPlotMonoField && Q !== A.BoxPlotMonoFieldAndSplitBy && (Xi({ arrayToSort: i.data, chartConfig: e }), Wg({ chart: i, chartData: i.data, chartConfig: e }));
23168
+ k === b.BoxPlotSeries && Q !== F.BoxPlotMonoField && Q !== F.BoxPlotMonoFieldAndSplitBy && (Xi({ arrayToSort: i.data, chartConfig: e }), Wg({ chart: i, chartData: i.data, chartConfig: e }));
23159
23169
  let Le;
23160
23170
  i instanceof Oe && (nh({
23161
23171
  chart: i,
@@ -23190,7 +23200,7 @@ async function dc(t) {
23190
23200
  utilsStrings: s,
23191
23201
  errorStrings: r
23192
23202
  });
23193
- F = Pt.newValidationStatus;
23203
+ A = Pt.newValidationStatus;
23194
23204
  const { alteredConfig: $e, alteredPieSlicesSymbols: si } = Pt;
23195
23205
  if (Le = si, i instanceof Oe && (Ns({
23196
23206
  data: i.data,
@@ -23202,7 +23212,7 @@ async function dc(t) {
23202
23212
  htmlContainer: i.htmlContainer,
23203
23213
  chartId: i.id,
23204
23214
  colorMatchApplied: en(i, $e)
23205
- }), ku({ data: i.data, chartConfig: $e, htmlContainer: i.htmlContainer })), F?.valid !== !1) {
23215
+ }), ku({ data: i.data, chartConfig: $e, htmlContainer: i.htmlContainer })), A?.valid !== !1) {
23206
23216
  const { title: Di, subtitle: Be, footer: re, series: it, background: at } = $e;
23207
23217
  C = aI(i), er(C, { title: Di, subtitle: Be }), v = nI(i), tr(v, re), L = ET(i, it), fT(i);
23208
23218
  const Tt = ni({ config: $e }), $a = H(it);
@@ -23258,7 +23268,7 @@ async function dc(t) {
23258
23268
  i.dateFormatter.intlLocales = on, yk(i, n?.enableResponsiveFeatures), (i instanceof $t || Fo(i.series)) && (D.hideLoader(), Tn(i.htmlContainer)), sh(i);
23259
23269
  }
23260
23270
  }
23261
- return { chartElements: C !== void 0 && v !== void 0 && L !== void 0 && T !== void 0 ? { headerElements: C, footerElements: v, legendElements: L, loaderHandle: D, loaderElements: T } : void 0, validationStatus: F };
23271
+ return { chartElements: C !== void 0 && v !== void 0 && L !== void 0 && T !== void 0 ? { headerElements: C, footerElements: v, legendElements: L, loaderHandle: D, loaderElements: T } : void 0, validationStatus: A };
23262
23272
  }
23263
23273
  function ch(t) {
23264
23274
  t.series.each((e) => {
@@ -23366,7 +23376,7 @@ async function vk(t) {
23366
23376
  a.loaderHandle.showLoader(n?.hideLoaderAnimation !== !0);
23367
23377
  const g = N(i.uid, "seriesFilteredOut"), y = N(i.uid, "unfilteredConfig"), p = N(i.uid, "config"), S = p?.series, x = e.series, C = W(x), v = ni({ config: e });
23368
23378
  Z(i.uid, { config: Re(e), isRotated: v });
23369
- const { dataUpdateNeeded: L, updateNeededDetails: F } = As({
23379
+ const { dataUpdateNeeded: L, updateNeededDetails: A } = As({
23370
23380
  options: n,
23371
23381
  forceDataUpdate: s,
23372
23382
  oldConfig: g ? y : p,
@@ -23378,8 +23388,8 @@ async function vk(t) {
23378
23388
  currentSelectionIndexes: N(i.uid, "computedSelectionIndexes")
23379
23389
  });
23380
23390
  Z(i.uid, { filterBySelection: n?.filterBySelection }), ir({ chart: i, actionMode: n?.actionMode, cursorRange: n?.cursorRange });
23381
- const { xOrYChanged: T } = F.common;
23382
- let { numberOfSeriesChanged: D } = F.common;
23391
+ const { xOrYChanged: T } = A.common;
23392
+ let { numberOfSeriesChanged: D } = A.common;
23383
23393
  const k = Mu(p, e), O = Pu(p, e), P = zy(p, e), $ = Wy(p, e), R = JSON.stringify(Lc(S)) !== JSON.stringify(Lc(x)), V = Gy(p, e), z = Xy(p, e), G = ll(p, e), q = cl({
23384
23394
  oldConfig: g ? y : p,
23385
23395
  newConfig: e,
@@ -23398,7 +23408,7 @@ async function vk(t) {
23398
23408
  let ee = !1, U, Q, Le = C !== b.BarSeries && C !== b.LineSeries && C !== b.ComboLineAndBarSeries && C !== b.HistogramSeries;
23399
23409
  const tt = H(x);
23400
23410
  if (Z(i.uid, { isNonAggregatedChart: !Ea(tt) }), L) {
23401
- (s === !0 || Py(F)) && Z(i.uid, { binnedServerData: void 0 });
23411
+ (s === !0 || Py(A)) && Z(i.uid, { binnedServerData: void 0 });
23402
23412
  const {
23403
23413
  count: Be,
23404
23414
  valid: re,
@@ -23538,7 +23548,7 @@ async function vk(t) {
23538
23548
  const it = C === b.BoxPlotSeries && (Ny(x, S) || Oy(x, S));
23539
23549
  (i.series === void 0 || i.series.length === 0 || T || D || re.seriesFilteredOut || R || (C === b.BarSeries || C === b.LineSeries || C === b.RadarSeries || C === b.ComboLineAndBarSeries) && i.series.length !== e.series.length || C !== b.HistogramSeries && J || $ || // NOTE: This fix is here to resolve the issue: https://devtopia.esri.com/webgis/arcgis-charts/issues/6537
23540
23550
  // TODO: find a better way to order legends for box plot with split by field rather than re-initializing the series in the future.
23541
- it || F.boxPlot.showMeanChanged) && (!L && (O || it || J) && i.invalidateData(), await lh({
23551
+ it || A.boxPlot.showMeanChanged) && (!L && (O || it || J) && i.invalidateData(), await lh({
23542
23552
  chart: i,
23543
23553
  chartConfig: e,
23544
23554
  hideLoaderHandle: a.loaderHandle.hideLoader,
@@ -23606,7 +23616,7 @@ async function Lk(t) {
23606
23616
  const {
23607
23617
  count: v,
23608
23618
  valid: L,
23609
- invalidType: F,
23619
+ invalidType: A,
23610
23620
  data: T,
23611
23621
  queryConfig: D
23612
23622
  } = await wn({
@@ -23620,7 +23630,7 @@ async function Lk(t) {
23620
23630
  });
23621
23631
  S = T, Z(e.uid, { elementCount: v, queryConfig: D, initialized: L }), p = L, x = Li(S), p ? x !== void 0 && US(e.data, x) && (e.data = x, C = !0) : (await Ya({
23622
23632
  chart: e,
23623
- invalidType: F,
23633
+ invalidType: A,
23624
23634
  elementCount: v,
23625
23635
  seriesCount: f.length,
23626
23636
  errorStrings: l
@@ -23645,12 +23655,12 @@ async function Lk(t) {
23645
23655
  chartConfig: a,
23646
23656
  fieldList: N(e.uid, "fieldList")
23647
23657
  }), e.validateData());
23648
- const L = Cr({ oldConfig: d, newConfig: a }), F = Bu(d, a);
23658
+ const L = Cr({ oldConfig: d, newConfig: a }), A = Bu(d, a);
23649
23659
  let T = await nc({
23650
23660
  chart: e,
23651
23661
  chartConfig: a,
23652
23662
  queryObject: n,
23653
- labelUpdateNeeded: C || L || g || F,
23663
+ labelUpdateNeeded: C || L || g || A,
23654
23664
  usePopupTemplateFieldsInfo: s?.usePopupTemplateFieldsInfo,
23655
23665
  utilsStrings: r
23656
23666
  });
@@ -23677,7 +23687,7 @@ async function Lk(t) {
23677
23687
  oldConfig: a,
23678
23688
  newConfig: O
23679
23689
  });
23680
- (m || L || P || g || F) && Ns({
23690
+ (m || L || P || g || A) && Ns({
23681
23691
  data: e.data,
23682
23692
  newChartConfig: O,
23683
23693
  pieSlicesSymbols: T,
@@ -23733,7 +23743,7 @@ async function Fk(t) {
23733
23743
  let C;
23734
23744
  if (x) {
23735
23745
  const {
23736
- count: F,
23746
+ count: A,
23737
23747
  valid: T,
23738
23748
  invalidType: D,
23739
23749
  data: k,
@@ -23749,10 +23759,10 @@ async function Fk(t) {
23749
23759
  data: { dataItems: e.data },
23750
23760
  seriesConfig: a.series,
23751
23761
  htmlContainer: e.htmlContainer
23752
- }), Z(e.uid, { elementCount: F, queryConfig: O, initialized: T }), T || (await Ya({
23762
+ }), Z(e.uid, { elementCount: A, queryConfig: O, initialized: T }), T || (await Ya({
23753
23763
  chart: e,
23754
23764
  invalidType: D,
23755
- elementCount: F,
23765
+ elementCount: A,
23756
23766
  seriesCount: 1,
23757
23767
  errorStrings: l
23758
23768
  }), i.loaderHandle.hideLoader());
@@ -23782,7 +23792,7 @@ async function Fk(t) {
23782
23792
  utilsStrings: r,
23783
23793
  errorStrings: l
23784
23794
  });
23785
- const F = B.gauge, T = Number.isFinite(L?.innerRadius) ? L.innerRadius : F.innerRadius, D = Number.isFinite(L?.startAngle) ? L.startAngle : F.startAngle, k = Number.isFinite(L?.endAngle) ? L.endAngle : F.endAngle;
23795
+ const A = B.gauge, T = Number.isFinite(L?.innerRadius) ? L.innerRadius : A.innerRadius, D = Number.isFinite(L?.startAngle) ? L.startAngle : A.startAngle, k = Number.isFinite(L?.endAngle) ? L.endAngle : A.endAngle;
23786
23796
  e.innerRadius = ht(T), e.startAngle = D, e.endAngle = k, er(i.headerElements, {
23787
23797
  title: L.title,
23788
23798
  subtitle: L.subtitle
@@ -23854,8 +23864,8 @@ async function Tk(t) {
23854
23864
  function y() {
23855
23865
  ip.delete(Lo(m)), m.isDisposed() || (CA(m), g !== void 0 && (g.loaderHandle.hideLoader(), f.chartElements = void 0), m.dispose());
23856
23866
  }
23857
- async function p(F) {
23858
- const { newConfig: T, forceDataUpdate: D, updateOptions: k } = F, { utilsStrings: O } = F, P = N(m.uid, "initialized"), $ = N(m.uid, "config"), R = T?.series, V = R !== void 0 ? W(R) : void 0;
23867
+ async function p(A) {
23868
+ const { newConfig: T, forceDataUpdate: D, updateOptions: k } = A, { utilsStrings: O } = A, P = N(m.uid, "initialized"), $ = N(m.uid, "config"), R = T?.series, V = R !== void 0 ? W(R) : void 0;
23859
23869
  if (m.isDisposed() || g === void 0 || P === !1 || !Fu($, T))
23860
23870
  throw new Va(Ra.ChartDisposed);
23861
23871
  switch (V) {
@@ -23902,12 +23912,12 @@ async function Tk(t) {
23902
23912
  break;
23903
23913
  }
23904
23914
  }
23905
- async function S(F) {
23906
- const { layerUpdate: T, newConfig: D, viewUpdate: k } = F;
23915
+ async function S(A) {
23916
+ const { layerUpdate: T, newConfig: D, viewUpdate: k } = A;
23907
23917
  D && (T !== void 0 || $i(D)) && (u = await gn({ layer: T, view: k, chartConfig: D }), Z(m.uid, { queryObject: u }));
23908
23918
  }
23909
- async function x(F) {
23910
- const { newChartConfig: T, updateOptions: D, updateGlobalOptions: k, t9nStrings: O } = F, { errorStrings: P, utilsStrings: $ } = O;
23919
+ async function x(A) {
23920
+ const { newChartConfig: T, updateOptions: D, updateGlobalOptions: k, t9nStrings: O } = A, { errorStrings: P, utilsStrings: $ } = O;
23911
23921
  e == null && await Ia("divNode", P);
23912
23922
  const { layer: R, view: V, dataUpdated: z } = D ?? {}, G = !Dd(e), q = await st(u, n?.usePopupTemplateFieldsInfo);
23913
23923
  Z(m.uid, { chartWasUpdatedWhileHidden: G, options: D, fieldList: q });
@@ -23927,15 +23937,15 @@ async function Tk(t) {
23927
23937
  }
23928
23938
  async function C() {
23929
23939
  if (_t(m) && (m instanceof me || m instanceof Oe)) {
23930
- const F = N(m.uid, "actionMode");
23931
- F !== ne.MonoSelection && F !== ne.None && await VA(m);
23940
+ const A = N(m.uid, "actionMode");
23941
+ A !== ne.MonoSelection && A !== ne.None && await VA(m);
23932
23942
  }
23933
23943
  }
23934
- function v(F, T, D) {
23935
- m.modal !== void 0 && !m.isDisposed() && (m.modal.closable = D?.closable ?? !1, F !== void 0 ? (m.modal.events.once(E.Opened, () => {
23944
+ function v(A, T, D) {
23945
+ m.modal !== void 0 && !m.isDisposed() && (m.modal.closable = D?.closable ?? !1, A !== void 0 ? (m.modal.events.once(E.Opened, () => {
23936
23946
  const k = m.modal?.elements?.title?.parentElement;
23937
23947
  k instanceof HTMLElement && m.modal?.elements?.title?.innerText.length === 0 && (k.style.visibility = "hidden");
23938
- }), m.openModal(F, T)) : m.closeModal());
23948
+ }), m.openModal(A, T)) : m.closeModal());
23939
23949
  }
23940
23950
  function L() {
23941
23951
  tc(m);
@@ -23947,8 +23957,8 @@ async function Tk(t) {
23947
23957
  resetZoom: L,
23948
23958
  clearSelection: () => Vn({ chart: m }),
23949
23959
  switchSelection: C,
23950
- exportImage: async (F) => await vA({ chart: m, exportOptions: F }),
23951
- setActionMode: (F, T) => ir({ chart: m, actionMode: F, cursorRange: T })
23960
+ exportImage: async (A) => await vA({ chart: m, exportOptions: A }),
23961
+ setActionMode: (A, T) => ir({ chart: m, actionMode: A, cursorRange: T })
23952
23962
  };
23953
23963
  }
23954
23964
  function Bk(t, e) {
@@ -24068,7 +24078,7 @@ async function Pd(t, e, i) {
24068
24078
  const o = e.series.length === 0;
24069
24079
  e.series.length === 0 && n !== void 0 && e.series.push(n);
24070
24080
  const s = H(e.series);
24071
- if (s === A.BoxPlotMonoFieldAndSplitBy || s === A.BoxPlotMultiFieldsAndSplitBy || s === A.BoxPlotMonoFieldAndCategoryAndSplitBy || s === A.BarAndLineSplitBy || s === A.BarAndLineSplitByNoAggregation) {
24081
+ if (s === F.BoxPlotMonoFieldAndSplitBy || s === F.BoxPlotMultiFieldsAndSplitBy || s === F.BoxPlotMonoFieldAndCategoryAndSplitBy || s === F.BarAndLineSplitBy || s === F.BarAndLineSplitByNoAggregation) {
24072
24082
  const r = await gn({
24073
24083
  chartConfig: e,
24074
24084
  layer: t.layer,