@arcgis/charts-components 5.0.0-next.95 → 5.0.0-next.96

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 (294) hide show
  1. package/dist/cdn/{PBES7KJV.js → 22QFEJPI.js} +2 -2
  2. package/dist/cdn/{NXQU6WDO.js → 27JNJZ7Q.js} +2 -2
  3. package/dist/cdn/{FBNPT3R2.js → 2MOGAMLI.js} +2 -2
  4. package/dist/cdn/{GRK5KEDN.js → 2XMRSBWP.js} +2 -2
  5. package/dist/cdn/{OCYY3ENP.js → 2XRKTN3Y.js} +2 -2
  6. package/dist/cdn/{6KXDY6VO.js → 2YQEVD3Q.js} +2 -2
  7. package/dist/cdn/{RMPPHAX6.js → 36GEL7CB.js} +2 -2
  8. package/dist/cdn/{TKIO4RS5.js → 37JCH3CS.js} +2 -2
  9. package/dist/cdn/{CYRU4PW4.js → 3FAS3A46.js} +1 -1
  10. package/dist/cdn/{MXYJ6FWV.js → 3LUYLYR5.js} +2 -2
  11. package/dist/cdn/44AN3TFK.js +4 -0
  12. package/dist/cdn/{QOCCPFDD.js → 4CVFBKNX.js} +2 -2
  13. package/dist/cdn/{QZPIIFHR.js → 4JB7TTOL.js} +2 -2
  14. package/dist/cdn/{6LY4SGMV.js → 5BA57IIE.js} +2 -2
  15. package/dist/cdn/{LRLMQDL4.js → 5KIA6XGC.js} +2 -2
  16. package/dist/cdn/{RCQABJRK.js → 5LKW6DJR.js} +2 -2
  17. package/dist/cdn/5NS6BDKU.js +4 -0
  18. package/dist/cdn/{5MVKC6KT.js → 5UZFT4EK.js} +2 -2
  19. package/dist/cdn/{FEMKQIPY.js → 5X2P75J3.js} +2 -2
  20. package/dist/cdn/{2AT5CXML.js → 6KZUDHTC.js} +2 -2
  21. package/dist/cdn/{DGN3EPEE.js → 6UCIOG2X.js} +2 -2
  22. package/dist/cdn/{LH73YVJS.js → 6WN7XL5Y.js} +2 -2
  23. package/dist/cdn/{DDUYPXO7.js → 6ZEVBUQ4.js} +2 -2
  24. package/dist/cdn/{5WOG5IXE.js → 723XDJUL.js} +2 -2
  25. package/dist/cdn/75HRBXSP.js +4 -0
  26. package/dist/cdn/{CCHR4SXS.js → 7JN3XFI2.js} +2 -2
  27. package/dist/cdn/{6E2BK7XD.js → 7LHWJDRF.js} +2 -2
  28. package/dist/cdn/{DRASWFNL.js → 7MUFVTWB.js} +2 -2
  29. package/dist/cdn/{6QGB6CNU.js → 7VV6GUP2.js} +2 -2
  30. package/dist/cdn/{ETSRCIJZ.js → 7WQKES6W.js} +2 -2
  31. package/dist/cdn/{TDT42C32.js → A7763SCU.js} +2 -2
  32. package/dist/cdn/{ICUHGE5P.js → AGWLVZCB.js} +2 -2
  33. package/dist/cdn/{CN4QI5DW.js → AJHLBSFG.js} +2 -2
  34. package/dist/cdn/AKRSATY4.js +4 -0
  35. package/dist/cdn/{FSXRX22X.js → AOYHWCE3.js} +2 -2
  36. package/dist/cdn/{ILNOIDRA.js → ARIWY2VN.js} +1 -1
  37. package/dist/cdn/{7KYP25C7.js → ARRF5I6E.js} +2 -2
  38. package/dist/cdn/{MKU65OMH.js → ARTUIY2V.js} +2 -2
  39. package/dist/cdn/{JSYR5WBK.js → AT4UYXDM.js} +2 -2
  40. package/dist/cdn/{2HVLZAVA.js → AUHJJXRP.js} +2 -2
  41. package/dist/cdn/{A2BUNFWH.js → AXP6EDF7.js} +2 -2
  42. package/dist/cdn/{FCLAIWLU.js → B5TQLCK5.js} +2 -2
  43. package/dist/cdn/{EO2ZIKVX.js → B5WSX2AG.js} +2 -2
  44. package/dist/cdn/{YIQ3P5CE.js → BBUOJAGA.js} +2 -2
  45. package/dist/cdn/{YGFUCXSL.js → BBXD7THE.js} +2 -2
  46. package/dist/cdn/{A7OA6AX3.js → BNDPMG3E.js} +2 -2
  47. package/dist/cdn/{S3ZXRBWL.js → BNEUBUMM.js} +2 -2
  48. package/dist/cdn/{2NB2ZD2M.js → BPL2SVYC.js} +2 -2
  49. package/dist/cdn/{KR4T4Y3S.js → C5T6NZXY.js} +19 -19
  50. package/dist/cdn/{BE5NVGCO.js → CGL3UB4G.js} +2 -2
  51. package/dist/cdn/{E4E2AHAC.js → CT7ROV26.js} +2 -2
  52. package/dist/cdn/DUSJV4SY.js +4 -0
  53. package/dist/cdn/{GD6IOMHI.js → EKDPKI7P.js} +2 -2
  54. package/dist/cdn/{ZCBGIPOA.js → EMZDOBXG.js} +2 -2
  55. package/dist/cdn/EZJM67KF.js +4 -0
  56. package/dist/cdn/{O2AVILXY.js → FBXSBUI3.js} +2 -2
  57. package/dist/cdn/{2XGQZS35.js → FF7AIMFV.js} +2 -2
  58. package/dist/cdn/FH3RKYES.js +6 -0
  59. package/dist/cdn/{7FIQFVGV.js → FHIK3K67.js} +2 -2
  60. package/dist/cdn/{ZXNOBLDR.js → FICTIWYH.js} +2 -2
  61. package/dist/cdn/{OGSIMNA2.js → FM2IU3YA.js} +2 -2
  62. package/dist/cdn/{NXMJALWN.js → FMOKFEAC.js} +2 -2
  63. package/dist/cdn/{WXO3KF4G.js → FVMLEMTG.js} +2 -2
  64. package/dist/cdn/{2AT2NTSM.js → FYAI6NE7.js} +2 -2
  65. package/dist/cdn/{2QUYHYCL.js → G7244N3Y.js} +2 -2
  66. package/dist/cdn/{YVTAXJO3.js → GBWCSWW5.js} +2 -2
  67. package/dist/cdn/{JAQKVJAV.js → GHNQKP66.js} +2 -2
  68. package/dist/cdn/{2AXQTRR6.js → GL4AQ53F.js} +2 -2
  69. package/dist/cdn/{S7HYI6E2.js → GLW26VHU.js} +1 -1
  70. package/dist/cdn/{3DEBO4ZF.js → GREP3I76.js} +2 -2
  71. package/dist/cdn/{JP4AZXGN.js → GXT46PZF.js} +2 -2
  72. package/dist/cdn/{VKBTTYO5.js → H3R6WRSB.js} +2 -2
  73. package/dist/cdn/{I5BRH2HS.js → HD7C7RAE.js} +2 -2
  74. package/dist/cdn/{4MP7AXON.js → HD7YHFNE.js} +2 -2
  75. package/dist/cdn/{BZAPLCLY.js → HK574X7Q.js} +2 -2
  76. package/dist/cdn/{52DPUNFV.js → HNFLPM3A.js} +2 -2
  77. package/dist/cdn/{NVFHALIZ.js → HZNEYEHU.js} +2 -2
  78. package/dist/cdn/{TFBLKM5T.js → I7XBYEBI.js} +2 -2
  79. package/dist/cdn/{QZOLXZW3.js → IF5P5LQA.js} +2 -2
  80. package/dist/cdn/{YUKL6ZVO.js → ITGRRIT7.js} +2 -2
  81. package/dist/cdn/{SSF67IIC.js → JDEB5B5S.js} +2 -2
  82. package/dist/cdn/{PM2KECI3.js → JHNMEXZH.js} +4 -4
  83. package/dist/cdn/{3DURBMIB.js → JHVVJBV5.js} +2 -2
  84. package/dist/cdn/{OOLHRTQV.js → JJGLPHGS.js} +2 -2
  85. package/dist/cdn/{CTVWIUU3.js → JKLGH7F5.js} +2 -2
  86. package/dist/cdn/{CLT4X3CT.js → JKYLINLZ.js} +2 -2
  87. package/dist/cdn/{JUVXEYMF.js → JQKOQDY6.js} +2 -2
  88. package/dist/cdn/{QT7LN6GU.js → JWNFWI7H.js} +2 -2
  89. package/dist/cdn/{EXWUUI7R.js → JYMB7C4F.js} +2 -2
  90. package/dist/cdn/{AVTGNMLC.js → KDOQCQ34.js} +2 -2
  91. package/dist/cdn/{ZWJX7UID.js → KJ3NLW3E.js} +2 -2
  92. package/dist/cdn/{P4BNXOUG.js → KOXGYIAZ.js} +2 -2
  93. package/dist/cdn/{RH6QZW4G.js → KRZYAN3V.js} +2 -2
  94. package/dist/cdn/KWRG5HEJ.js +4 -0
  95. package/dist/cdn/{GXPUYG7M.js → KY4T7IXE.js} +2 -2
  96. package/dist/cdn/{VPI5TQZ6.js → KYBF46OK.js} +2 -2
  97. package/dist/cdn/{ENVBX2VU.js → L35FLLM7.js} +2 -2
  98. package/dist/cdn/{LCDM6SDR.js → L5C3U6ZV.js} +2 -2
  99. package/dist/cdn/{BKDQECQL.js → LDXGIWXK.js} +1 -1
  100. package/dist/cdn/{GRA5RWJ6.js → LEPHI4I2.js} +2 -2
  101. package/dist/cdn/LEU2PVKB.js +4 -0
  102. package/dist/cdn/{Z4R32OLN.js → LJOBHYBD.js} +2 -2
  103. package/dist/cdn/{GLHMVT7Z.js → LKVK7PJR.js} +2 -2
  104. package/dist/cdn/{AYAL7O7F.js → LPL3GZEO.js} +1 -1
  105. package/dist/cdn/{AIXBBCJM.js → LRBSJQCC.js} +2 -2
  106. package/dist/cdn/{7JVE6TV7.js → LT7J4XJL.js} +2 -2
  107. package/dist/cdn/{ZVVB3QLU.js → LUHJVXHF.js} +2 -2
  108. package/dist/cdn/{J3UV2BUP.js → M3QAYWRW.js} +2 -2
  109. package/dist/cdn/{I66JKUUO.js → ME4TZRQC.js} +2 -2
  110. package/dist/cdn/{7PXOPL6H.js → MHAE2VEU.js} +2 -2
  111. package/dist/cdn/{GZ23QWUB.js → N3WQHYQI.js} +2 -2
  112. package/dist/cdn/{JNQRDAUL.js → N5VNEYPY.js} +2 -2
  113. package/dist/cdn/{2MVNJVDK.js → NLB2IMW7.js} +2 -2
  114. package/dist/cdn/{72E2P4JL.js → NLX3FYW6.js} +2 -2
  115. package/dist/cdn/{NBTFLAPJ.js → NZSDER7C.js} +2 -2
  116. package/dist/cdn/{6CGID26Y.js → OHOGQDLF.js} +2 -2
  117. package/dist/cdn/{2H7WFCBR.js → OL2PNOLU.js} +2 -2
  118. package/dist/cdn/{SRE6MFDD.js → ONBNR4F5.js} +2 -2
  119. package/dist/cdn/{EKKBBQRZ.js → OZHE3EKP.js} +2 -2
  120. package/dist/cdn/{PYEBXUDI.js → P4GE27KF.js} +2 -2
  121. package/dist/cdn/{HIU55FMQ.js → P6CREH7G.js} +2 -2
  122. package/dist/cdn/PDDB5NXV.js +4 -0
  123. package/dist/cdn/{YSBYYWIU.js → PHGPFRJE.js} +2 -2
  124. package/dist/cdn/{ROMT4IIU.js → PJ5CI37X.js} +2 -2
  125. package/dist/cdn/{LQDF5AYK.js → PORHLDKY.js} +2 -2
  126. package/dist/cdn/{NK74CVGA.js → PPA7TE7H.js} +2 -2
  127. package/dist/cdn/{75XMHL4N.js → PQSDY4PG.js} +2 -2
  128. package/dist/cdn/{KDARGE6Y.js → QC43CPPW.js} +2 -2
  129. package/dist/cdn/{XG7YGEV3.js → QOL23WU4.js} +2 -2
  130. package/dist/cdn/{AOOKZT7H.js → QPPXJHCQ.js} +1 -1
  131. package/dist/cdn/{4TM3YXGN.js → QQIUN5EO.js} +2 -2
  132. package/dist/cdn/{OQU2OZGX.js → QU627C33.js} +2 -2
  133. package/dist/cdn/{WGXHSQVD.js → R2AWUSZ4.js} +2 -2
  134. package/dist/cdn/{STVUOY7J.js → R5IJA7HR.js} +2 -2
  135. package/dist/cdn/{DQJ3K63P.js → RBWIALK7.js} +2 -2
  136. package/dist/cdn/{CPG7P6DA.js → RJ4FLOZJ.js} +2 -2
  137. package/dist/cdn/{22RUO5QM.js → SA7Z42NE.js} +2 -2
  138. package/dist/cdn/{DBVXN2ND.js → SMVZIH3T.js} +2 -2
  139. package/dist/cdn/{A3A45RF2.js → SQSEZ5NI.js} +2 -2
  140. package/dist/cdn/SWOY7XLR.js +4 -0
  141. package/dist/cdn/{BPM55KEB.js → TFMDZ6A3.js} +2 -2
  142. package/dist/cdn/{OFIYGR2T.js → TLVYYLOH.js} +2 -2
  143. package/dist/cdn/TPSKM3JN.js +4 -0
  144. package/dist/cdn/{SKCWLPKQ.js → TUEDLEDX.js} +2 -2
  145. package/dist/cdn/{AKMDQKGJ.js → U5WAKEXX.js} +2 -2
  146. package/dist/cdn/{A4A4O65V.js → UBU3NQNA.js} +2 -2
  147. package/dist/cdn/{MVGDITUS.js → UKOU7QIL.js} +2 -2
  148. package/dist/cdn/{L72HQEV6.js → USAWUPVB.js} +2 -2
  149. package/dist/cdn/UTMH7GGN.js +4 -0
  150. package/dist/cdn/{EHTW2FIB.js → V3WQMCAL.js} +1 -1
  151. package/dist/cdn/{QXDHQUSY.js → V4BJFJP3.js} +2 -2
  152. package/dist/cdn/{4VGD4QUP.js → VCF7UWAK.js} +2 -2
  153. package/dist/cdn/{R745W535.js → VPUEQKRY.js} +2 -2
  154. package/dist/cdn/{SE7W5ZXY.js → VX4OMPXZ.js} +2 -2
  155. package/dist/cdn/{KDAEP5SZ.js → W2D324T2.js} +1 -1
  156. package/dist/cdn/{TPNAZEBR.js → WFUZQHOT.js} +2 -2
  157. package/dist/cdn/{WFFAD5NY.js → WGBBT5K5.js} +2 -2
  158. package/dist/cdn/{4GGRXMIC.js → WOH5HOJO.js} +2 -2
  159. package/dist/cdn/{MKPV3A7B.js → WTPCP3HC.js} +2 -2
  160. package/dist/cdn/{YSMP7WQO.js → WXDQTREJ.js} +2 -2
  161. package/dist/cdn/XHXQ43AJ.js +4 -0
  162. package/dist/cdn/{R6C32HLN.js → XL53PBR5.js} +2 -2
  163. package/dist/cdn/{P4LMQA3G.js → Y4ZSXUF5.js} +2 -2
  164. package/dist/cdn/{44JOO6TE.js → Y5VCIBPN.js} +2 -2
  165. package/dist/cdn/{3FVT6NBN.js → YBUBCSRF.js} +2 -2
  166. package/dist/cdn/{TFMFWRPO.js → YHKJJ7SM.js} +2 -2
  167. package/dist/cdn/{HCTPDPYJ.js → YN7EPTD6.js} +2 -2
  168. package/dist/cdn/{3HXI5RF3.js → YNHURCA3.js} +2 -2
  169. package/dist/cdn/YS3OSJ5V.js +4 -0
  170. package/dist/cdn/{O2XHPHTT.js → YYRRSDUP.js} +2 -2
  171. package/dist/cdn/{ANDV62IN.js → ZCB4X3SU.js} +2 -2
  172. package/dist/cdn/{WPDCWS4C.js → ZHLTZRMH.js} +2 -2
  173. package/dist/cdn/{FMRSYH3K.js → ZO7JIBXS.js} +2 -2
  174. package/dist/cdn/index.js +2 -2
  175. package/dist/chart-rendering/common/data/scatter-plot/aggregation/index.d.ts +1 -1
  176. package/dist/chart-rendering/common/data/utils/summarize-data/index.d.ts +1 -1
  177. package/dist/chart-rendering/common/tooltips/index.d.ts +1 -1
  178. package/dist/chunks/action-bar-utils.js +7 -7
  179. package/dist/chunks/axis-model-wrapper.js +1 -1
  180. package/dist/chunks/bar-chart-model.js +43 -43
  181. package/dist/chunks/bar-chart-series.js +1 -1
  182. package/dist/chunks/bg_BG.js +1 -1
  183. package/dist/chunks/bg_BG2.js +1 -1
  184. package/dist/chunks/box-plot-data.js +20 -20
  185. package/dist/chunks/box-plot-model.js +6 -6
  186. package/dist/chunks/chart-ui-utils.js +1 -1
  187. package/dist/chunks/chart-ui-utils2.js +2 -2
  188. package/dist/chunks/combo-bar-line-chart-model.js +48 -48
  189. package/dist/chunks/common.js +1 -1
  190. package/dist/chunks/data.js +56 -56
  191. package/dist/chunks/default.js +1 -1
  192. package/dist/chunks/gauge-model.js +62 -62
  193. package/dist/chunks/heat-chart-model.js +39 -39
  194. package/dist/chunks/histogram-data.js +2 -2
  195. package/dist/chunks/histogram-model.js +5 -5
  196. package/dist/chunks/index.js +3607 -3575
  197. package/dist/chunks/index2.js +11 -11
  198. package/dist/chunks/index3.js +1 -1
  199. package/dist/chunks/index4.js +1 -1
  200. package/dist/chunks/interfaces.js +1 -1
  201. package/dist/chunks/line-chart-model.js +29 -29
  202. package/dist/chunks/model-with-multi-axes.js +317 -317
  203. package/dist/chunks/pie-chart-data.js +86 -86
  204. package/dist/chunks/pie-chart-model.js +108 -108
  205. package/dist/chunks/popover-ui-utils.js +1 -1
  206. package/dist/chunks/radar-chart-model.js +33 -33
  207. package/dist/chunks/resource.js +1 -1
  208. package/dist/chunks/rest-js-object-literals.js +1 -1
  209. package/dist/chunks/runtime.js +1 -1
  210. package/dist/chunks/scatterplot-model.js +11 -11
  211. package/dist/chunks/serial-chart-data.js +600 -600
  212. package/dist/chunks/serial-chart-model.js +35 -35
  213. package/dist/chunks/series-types.js +1 -1
  214. package/dist/chunks/sk_SK.js +1 -1
  215. package/dist/chunks/store.js +1 -1
  216. package/dist/chunks/type-guards.js +1 -1
  217. package/dist/chunks/useT9n.js +1 -1
  218. package/dist/chunks/web-component-utils.js +198 -198
  219. package/dist/components/arcgis-chart/customElement.js +3245 -3239
  220. package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
  221. package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
  222. package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
  223. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +2 -2
  224. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +7 -7
  225. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +15 -15
  226. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +2 -2
  227. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
  228. package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
  229. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +2 -2
  230. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +11 -11
  231. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +2 -2
  232. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
  233. package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
  234. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
  235. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  236. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  237. package/dist/components/arcgis-charts-config-create-flow/customElement.js +15 -15
  238. package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
  239. package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
  240. package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
  241. package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
  242. package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
  243. package/dist/components/arcgis-charts-config-guide/customElement.js +6 -6
  244. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
  245. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  246. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
  247. package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
  248. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +2 -2
  249. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +2 -2
  250. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
  251. package/dist/components/arcgis-charts-config-line-chart/customElement.js +2 -2
  252. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +14 -14
  253. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +2 -2
  254. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +2 -2
  255. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
  256. package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
  257. package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
  258. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
  259. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +6 -6
  260. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +2 -2
  261. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
  262. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
  263. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +2 -2
  264. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +2 -2
  265. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +2 -2
  266. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
  267. package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
  268. package/dist/docs/api.json +2 -2
  269. package/dist/docs/docs.json +2 -2
  270. package/dist/docs/web-types.json +1 -1
  271. package/dist/index.js +276 -275
  272. package/dist/loader.js +1 -1
  273. package/dist/model/shared/data.d.ts +1 -1
  274. package/dist/model/shared/model-types.d.ts +1 -1
  275. package/dist/model/shared/utils.d.ts +1 -1
  276. package/dist/model.js +1 -1
  277. package/dist/utils/data/categorical-data/index.d.ts +1 -1
  278. package/dist/utils/layer/index.d.ts +20 -6
  279. package/package.json +3 -3
  280. package/dist/cdn/2AH5GNWY.js +0 -4
  281. package/dist/cdn/4KUONF33.js +0 -4
  282. package/dist/cdn/AD243MGT.js +0 -4
  283. package/dist/cdn/E5QNENEM.js +0 -4
  284. package/dist/cdn/IYT4CQN3.js +0 -4
  285. package/dist/cdn/KMQRTATD.js +0 -4
  286. package/dist/cdn/LD5JNWSF.js +0 -6
  287. package/dist/cdn/N3ZEPV4D.js +0 -4
  288. package/dist/cdn/OYKJFTLR.js +0 -4
  289. package/dist/cdn/RIH3PD2M.js +0 -4
  290. package/dist/cdn/TNV3FCRP.js +0 -4
  291. package/dist/cdn/V4JE7OF6.js +0 -4
  292. package/dist/cdn/V6Z5C5JF.js +0 -4
  293. package/dist/cdn/WLKGBQGL.js +0 -4
  294. package/dist/cdn/XPN7YV7T.js +0 -4
@@ -1,8 +1,8 @@
1
1
  import "@arcgis/toolkit/intl";
2
- import { cloneDeep as R, memoize as le, isEmpty as Ne } from "lodash-es";
3
- import { g as ne, e as qe, a as h, u as ce, W as M, d as Oe, t as T, m as G, n as we, i as Q } from "./series-types.js";
2
+ import { cloneDeep as $, memoize as ne, isEmpty as qe } from "lodash-es";
3
+ import { g as ce, e as Oe, a as v, u as de, W as P, d as we, t as h, m as z, n as De, i as H } from "./series-types.js";
4
4
  import "d3-array";
5
- import { bN as De, ce as de, bO as Z, ah as ue, bP as ee, c_ as Me, l as Y, db as Pe, aK as _, cS as Ee, br as ye, cW as V, aI as I, aG as L, bB as F, b0 as Re, aJ as ke, r as N, U as $e, V as Xe, cF as je, p as K, dd as D, k as Ue, cD as We, bJ as Ye, bV as Ke, an as ze, q as Ge, dj as Qe, cz as _e, dk as se, ca as He, c6 as Je, _ as k, df as ge, m as Ze, b as j, bM as et, b3 as tt, b4 as it, b6 as st, bL as ae, aL as at, aM as rt } from "./index.js";
5
+ import { bO as Me, cf as ue, bP as ee, ah as ye, bQ as te, c$ as Pe, bJ as E, l as Y, dc as Ee, aK as _, cT as Re, br as ge, cX as N, aI as I, aG as V, bB as T, b0 as $e, aJ as ke, r as q, U as Xe, V as Ue, cG as je, p as G, de as M, k as We, cE as Ke, bK as Ye, bW as Ge, an as Qe, q as ze, dk as He, cA as _e, dl as ae, cb as Je, c7 as Ze, _ as k, dg as fe, m as et, b as j, bN as tt, b3 as it, b4 as st, b6 as at, bM as re, aL as rt, aM as lt } from "./index.js";
6
6
  import "@arcgis/core/geometry/support/jsonUtils.js";
7
7
  import "@arcgis/core/rest/support/AttributeBinsQuery.js";
8
8
  import "@arcgis/core/rest/support/Query.js";
@@ -12,10 +12,10 @@ import "@arcgis/core/core/promiseUtils.js";
12
12
  import "@arcgis/core/request.js";
13
13
  import "./runtime.js";
14
14
  import "@arcgis/toolkit/dom";
15
- import { substitute as w } from "@arcgis/core/intl.js";
16
- import { a as fe, R as ot } from "./rest-js-object-literals.js";
17
- import { q as lt, h as pe, l as C, n as nt, o as ct, j as A, k as B } from "./index3.js";
18
- import { S as H } from "./common.js";
15
+ import { substitute as D } from "@arcgis/core/intl.js";
16
+ import { a as pe, R as ot } from "./rest-js-object-literals.js";
17
+ import { q as nt, h as me, l as L, n as ct, o as dt, j as B, k as C } from "./index3.js";
18
+ import { S as J } from "./common.js";
19
19
  import "@arcgis/core/Graphic.js";
20
20
  import "@arcgis/core/renderers/support/jsonUtils.js";
21
21
  import "@arcgis/core/symbols/support/symbolUtils.js";
@@ -24,38 +24,38 @@ import "@arcgis/core/smartMapping/statistics/histogram.js";
24
24
  import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
25
25
  import "simple-statistics";
26
26
  import "@arcgis/core/AttributeBinsGraphic.js";
27
- import { b as $, d as me, g as te, e as re, f as dt } from "./data.js";
28
- import { c as ut } from "./index2.js";
27
+ import { b as X, d as xe, g as ie, e as le, f as ut } from "./data.js";
28
+ import { c as yt } from "./index2.js";
29
29
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
30
30
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
31
- v5.0.0-next.95 */
32
- async function yt(t) {
33
- const { config: e, layer: i, xAxisField: s, splitByField: a, layerFieldsInfo: r, aggregationFields: o, fetchNullValues: l } = t, c = r.filter((p) => p.name === a)[0]?.type, f = l !== !0 ? `${a} IS NOT NULL` : "", d = s && l !== !0 ? `${s} IS NOT NULL` : "", { where: x } = e?.dataFilters ?? {}, m = {
34
- where: de([x, f, d]),
31
+ v5.0.0-next.96 */
32
+ async function gt(t) {
33
+ const { config: e, layer: i, xAxisField: s, splitByField: a, layerFieldsInfo: r, aggregationFields: l, fetchNullValues: o } = t, n = r.filter((p) => p.name === a)[0]?.type, g = o !== !0 ? `${a} IS NOT NULL` : "", d = s && o !== !0 ? `${s} IS NOT NULL` : "", { where: x } = e?.dataFilters ?? {}, m = {
34
+ where: ue([x, g, d]),
35
35
  // excluding the null values from the list
36
- orderByFields: Me(a) ? [] : [`${a} ${ne.Ascending}`],
36
+ orderByFields: Pe(a) ? [] : [`${a} ${ce.Ascending}`],
37
37
  // default sorting ascending for split-by field
38
38
  geometry: e?.dataFilters?.geometry
39
- }, y = i;
40
- let g = "";
41
- o.length === 0 ? g = y?.objectIdField ?? "" : [g] = o;
42
- let S = await ue({
43
- queryObject: y,
39
+ }, f = i;
40
+ let u = "";
41
+ l.length === 0 ? u = E(f).idField : [u] = l;
42
+ let S = await ye({
43
+ queryObject: f,
44
44
  category: e?.series[0].x ?? "",
45
45
  splitByField: a,
46
46
  queryConfig: m
47
47
  });
48
48
  if (e) {
49
- const p = e?.series.map((u) => Y({ where: u.query?.where })?.toString() ?? "").filter((u) => u !== void 0 && u !== "");
50
- S = Pe({
49
+ const p = e?.series.map((y) => Y({ where: y.query?.where })?.toString() ?? "").filter((y) => y !== void 0 && y !== "");
50
+ S = Ee({
51
51
  arrayA: S,
52
52
  arrayB: p,
53
- getKey: (u) => u === null ? null : u?.toString()
53
+ getKey: (y) => y === null ? null : y?.toString()
54
54
  });
55
55
  }
56
- return { categoriesArray: S, splitByFieldType: c, numericalField: g };
56
+ return { categoriesArray: S, splitByFieldType: n, numericalField: u };
57
57
  }
58
- function mi(t, e) {
58
+ function xi(t, e) {
59
59
  let i = e === "";
60
60
  for (const s of t)
61
61
  if (e === s.name) {
@@ -64,12 +64,12 @@ function mi(t, e) {
64
64
  }
65
65
  return i;
66
66
  }
67
- function xi(t, e) {
68
- const i = De(t);
67
+ function Si(t, e) {
68
+ const i = Me(t);
69
69
  let s = e.length === 0, a = 0;
70
70
  for (const r of e) {
71
- for (const o of i)
72
- if (r === o && (a += 1), a === e.length) {
71
+ for (const l of i)
72
+ if (r === l && (a += 1), a === e.length) {
73
73
  s = !0;
74
74
  break;
75
75
  }
@@ -78,7 +78,7 @@ function xi(t, e) {
78
78
  }
79
79
  return s;
80
80
  }
81
- function Si(t, e) {
81
+ function bi(t, e) {
82
82
  e.forEach((i) => {
83
83
  Object.getOwnPropertyNames(i.prototype).forEach((s) => {
84
84
  Object.defineProperty(
@@ -89,21 +89,21 @@ function Si(t, e) {
89
89
  });
90
90
  });
91
91
  }
92
- async function gt(t) {
93
- const { layerInfo: e, config: i, category: s } = t, { layer: a } = e, { where: r } = i?.dataFilters ?? {}, { fetchNullValues: o } = i?.series?.[0]?.query ?? {}, l = o !== !0 ? `${s} IS NOT NULL` : "", n = {
94
- where: de([r, l]),
92
+ async function ft(t) {
93
+ const { layerInfo: e, config: i, category: s } = t, { layer: a } = e, { where: r } = i?.dataFilters ?? {}, { fetchNullValues: l } = i?.series?.[0]?.query ?? {}, o = l !== !0 ? `${s} IS NOT NULL` : "", c = {
94
+ where: ue([r, o]),
95
95
  // excluding the null values from the list
96
96
  orderByFields: [],
97
97
  geometry: i?.dataFilters?.geometry
98
- }, c = Z(a);
98
+ }, n = ee(a);
99
99
  return (
100
100
  // fetch unique category values asynchronously
101
- (await ue({ queryObject: a, category: s, queryConfig: n })).map((d) => {
101
+ (await ye({ queryObject: a, category: s, queryConfig: c })).map((d) => {
102
102
  const x = String(d);
103
- return ee({
103
+ return te({
104
104
  fieldName: s,
105
105
  fieldValueToMatch: x,
106
- subtypeInfo: c,
106
+ subtypeInfo: n,
107
107
  // use the retrieved subtype information
108
108
  fieldList: e.layerFieldsInfo
109
109
  // list of field information from the layer
@@ -111,342 +111,342 @@ async function gt(t) {
111
111
  })
112
112
  );
113
113
  }
114
- function U(t, e, i) {
114
+ function W(t, e, i) {
115
115
  const s = t?.axes?.[e];
116
116
  s?.title !== void 0 ? s.title.content.text = i : s !== void 0 && (s.title = I({
117
117
  text: i,
118
118
  visible: !0,
119
- font: L(F.AxisTitle)
119
+ font: V(T.AxisTitle)
120
120
  }));
121
121
  }
122
- function xe(t) {
122
+ function Se(t) {
123
123
  const { config: e, layerInfo: i, commonStrings: s, numericFields: a, aggregationType: r } = t;
124
- let o = "";
124
+ let l = "";
125
125
  if (e)
126
- if (Ee(e) === qe.Stacked100)
127
- o = s.utilsStrings.statistics.percent;
126
+ if (Re(e) === Oe.Stacked100)
127
+ l = s.utilsStrings.statistics.percent;
128
128
  else {
129
- const n = ye(r, s);
129
+ const c = ge(r, s);
130
130
  if (a.length === 1) {
131
- const c = V(i.layerFieldsInfo, a[0]);
132
- r === h.NoAggregation ? o = c : r === h.Count && a[0] === i.objectIdField ? o = s.utilsStrings.statistics.count : o = w(s.axisLabels.aggregationOfFieldName, {
133
- aggregation: n,
134
- fieldName: c
131
+ const n = N(i.layerFieldsInfo, a[0]), g = E(i.layer).idField;
132
+ r === v.NoAggregation ? l = n : r === v.Count && g !== void 0 && a[0] === g ? l = s.utilsStrings.statistics.count : l = D(s.axisLabels.aggregationOfFieldName, {
133
+ aggregation: c,
134
+ fieldName: n
135
135
  });
136
- } else a.length > 1 && (r === h.NoAggregation ? o = s.axisLabels.values : o = w(s.axisLabels.aggregationOfValues, {
137
- aggregation: n
136
+ } else a.length > 1 && (r === v.NoAggregation ? l = s.axisLabels.values : l = D(s.axisLabels.aggregationOfValues, {
137
+ aggregation: c
138
138
  }));
139
139
  }
140
- return o;
140
+ return l;
141
141
  }
142
- const Se = (t, e, i) => t.axes?.[e] ?? Re(i, t.type)[e], be = (t) => {
142
+ const be = (t, e, i) => t.axes?.[e] ?? $e(i, t.type)[e], Fe = (t) => {
143
143
  const { config: e, axis: i, axisIndex: s } = t;
144
144
  e.axes !== void 0 && (e.axes[s] = i);
145
- }, bi = (t) => {
145
+ }, Fi = (t) => {
146
146
  const { config: e, axisIndex: i, isMax: s } = t;
147
147
  let a = Number.NaN;
148
148
  return s ? a = e.axes?.[i]?.maximum : a = e.axes?.[i]?.minimum, a ?? Number.NaN;
149
- }, b = (t) => {
149
+ }, F = (t) => {
150
150
  const { config: e, value: i, axisIndex: s, isMax: a } = t, r = e?.axes?.[s];
151
151
  r !== void 0 && (a ? r.maximum = i : r.minimum = i);
152
- }, Fi = (t, e) => {
153
- b({ config: t, value: e, axisIndex: 0, isMax: !1 });
154
- }, Fe = (t) => t.axes?.[0]?.valueFormat ?? _(), ft = (t, e, i) => {
155
- const s = Se(t, 0, e);
152
+ }, Ti = (t, e) => {
153
+ F({ config: t, value: e, axisIndex: 0, isMax: !1 });
154
+ }, Te = (t) => t.axes?.[0]?.valueFormat ?? _(), pt = (t, e, i) => {
155
+ const s = be(t, 0, e);
156
156
  if (s !== void 0 && i !== void 0) {
157
157
  const a = {
158
158
  ...s,
159
159
  valueFormat: i
160
160
  };
161
- be({ config: t, axis: a, axisIndex: 0 });
161
+ Fe({ config: t, axis: a, axisIndex: 0 });
162
162
  }
163
163
  }, oe = (t, e, i) => {
164
164
  const s = t.axes?.[e];
165
165
  s !== void 0 && (s.integerOnlyValues = i);
166
- }, pt = (t) => {
167
- const e = ce(t.series);
168
- return e === M.BarSeries || e === M.ComboLineAndBarSeries || e === M.LineSeries;
169
166
  }, mt = (t) => {
167
+ const e = de(t.series);
168
+ return e === P.BarSeries || e === P.ComboLineAndBarSeries || e === P.LineSeries;
169
+ }, xt = (t) => {
170
170
  const { axisIndex: e, config: i, isMultiAxis: s } = t;
171
171
  let a = !1;
172
- return e === 0 || e === 1 && s ? a = !0 : e === 2 && (a = pt(i)), a;
173
- }, Ti = (t) => {
172
+ return e === 0 || e === 1 && s ? a = !0 : e === 2 && (a = mt(i)), a;
173
+ }, hi = (t) => {
174
174
  const { axisIndex: e, func: i, config: s } = t;
175
- return mt({ axisIndex: e, config: s, isMultiAxis: !0 }) ? i(e) : void 0;
176
- }, hi = (t, e) => {
175
+ return xt({ axisIndex: e, config: s, isMultiAxis: !0 }) ? i(e) : void 0;
176
+ }, vi = (t, e) => {
177
177
  let i;
178
178
  const s = e.axes?.[t]?.valueFormat;
179
- return (t === 0 || t >= 1 && lt(s)) && (i = s), i;
180
- }, vi = (t) => {
181
- const { config: e, commonStrings: i, valueFormat: s, axisIndex: a = 0 } = t, r = Se(e, a, i);
179
+ return (t === 0 || t >= 1 && nt(s)) && (i = s), i;
180
+ }, Ai = (t) => {
181
+ const { config: e, commonStrings: i, valueFormat: s, axisIndex: a = 0 } = t, r = be(e, a, i);
182
182
  if (r !== void 0 && s !== void 0) {
183
- const o = {
183
+ const l = {
184
184
  ...r,
185
185
  valueFormat: s
186
186
  };
187
- be({
187
+ Fe({
188
188
  config: e,
189
- axis: o,
189
+ axis: l,
190
190
  axisIndex: a
191
191
  });
192
192
  }
193
- }, Ai = (t, e) => t.axes?.[e]?.isLogarithmic ?? !1, Bi = (t) => {
193
+ }, Bi = (t, e) => t.axes?.[e]?.isLogarithmic ?? !1, Ci = (t) => {
194
194
  const { config: e, isLogarithmic: i, axisIndex: s } = t, a = e.axes?.[s];
195
- a && (a.isLogarithmic = i, b({ config: e, value: null, axisIndex: s, isMax: !0 }), b({ config: e, value: null, axisIndex: s, isMax: !1 }));
196
- }, Ci = (t) => {
195
+ a && (a.isLogarithmic = i, F({ config: e, value: null, axisIndex: s, isMax: !0 }), F({ config: e, value: null, axisIndex: s, isMax: !1 }));
196
+ }, Li = (t) => {
197
197
  const { config: e, scrollbar: i, axisIndex: s } = t;
198
198
  e.axes?.[s] !== void 0 && (e.axes[s].scrollbar = i);
199
- }, Ii = (t) => t.version, xt = (t) => t.title?.content.text ?? "", Li = (t, e) => {
199
+ }, Ii = (t) => t.version, St = (t) => t.title?.content.text ?? "", Vi = (t, e) => {
200
200
  e.title !== void 0 ? e.title.content.text = t : e.title === void 0 && t !== void 0 && (e.title = I({
201
201
  text: t,
202
202
  visible: !0,
203
- font: L(F.ChartTitle)
203
+ font: V(T.ChartTitle)
204
204
  }));
205
- }, Vi = (t) => t.subtitle?.content.text ?? "", Ni = (t, e) => {
205
+ }, Ni = (t) => t.subtitle?.content.text ?? "", qi = (t, e) => {
206
206
  e.subtitle !== void 0 ? e.subtitle.content.text = t : e.subtitle === void 0 && t !== void 0 && (e.subtitle = I({
207
207
  text: t,
208
208
  visible: !0,
209
- font: L(F.ChartSubtitle)
209
+ font: V(T.ChartSubtitle)
210
210
  }));
211
- }, qi = (t) => t.footer?.content.text ?? "", Oi = (t, e) => {
211
+ }, Oi = (t) => t.footer?.content.text ?? "", wi = (t, e) => {
212
212
  e.footer !== void 0 ? e.footer.content.text = t : e.footer === void 0 && t !== void 0 && (e.footer = I({
213
213
  text: t,
214
214
  visible: !0,
215
- font: L(F.DescriptionText)
215
+ font: V(T.DescriptionText)
216
216
  }));
217
- }, wi = (t) => t.title ? t.title.visible ?? !0 : !1, Di = (t, e) => {
217
+ }, Di = (t) => t.title ? t.title.visible ?? !0 : !1, Mi = (t, e) => {
218
218
  e.title !== void 0 ? e.title.visible = t : e.title === void 0 && (e.title = I({
219
219
  text: "",
220
220
  visible: t,
221
- font: L(F.ChartTitle)
221
+ font: V(T.ChartTitle)
222
222
  }));
223
- }, Mi = (t) => t.subtitle ? t.subtitle.visible ?? !0 : !1, Pi = (t, e) => {
223
+ }, Pi = (t) => t.subtitle ? t.subtitle.visible ?? !0 : !1, Ei = (t, e) => {
224
224
  e.subtitle !== void 0 ? e.subtitle.visible = t : e.subtitle === void 0 && (e.subtitle = I({
225
225
  text: "",
226
226
  visible: t,
227
- font: L(F.ChartSubtitle)
227
+ font: V(T.ChartSubtitle)
228
228
  }));
229
- }, St = (t) => t.footer?.visible ?? !1, Ei = (t, e) => {
230
- e.footer !== void 0 ? e.footer.visible = t : e.footer === void 0 && t !== St(e) && (e.footer = I({
229
+ }, bt = (t) => t.footer?.visible ?? !1, Ri = (t, e) => {
230
+ e.footer !== void 0 ? e.footer.visible = t : e.footer === void 0 && t !== bt(e) && (e.footer = I({
231
231
  text: "",
232
232
  visible: !0,
233
- font: L(F.DescriptionText)
233
+ font: V(T.DescriptionText)
234
234
  }));
235
- }, Ri = (t) => t.chartRenderer, ki = (t, e) => {
235
+ }, $i = (t) => t.chartRenderer, ki = (t, e) => {
236
236
  e.chartRenderer = t;
237
- }, $i = (t, e) => t.axes?.[e]?.title?.content, Xi = (t) => {
237
+ }, Xi = (t, e) => t.axes?.[e]?.title?.content, Ui = (t) => {
238
238
  const { config: e, axisIndex: i, symbol: s } = t, a = e.axes?.[i];
239
239
  if (a !== void 0) {
240
240
  const r = a.title?.content.text;
241
241
  (a.title === void 0 || s === void 0) && (a.title = I({
242
242
  text: "",
243
243
  visible: !0,
244
- font: L(F.AxisTitle),
245
- type: F.AxisTitle
244
+ font: V(T.AxisTitle),
245
+ type: T.AxisTitle
246
246
  })), s !== void 0 && (a.title.content = s), a.title.content.text = r;
247
247
  }
248
248
  }, ji = (t) => {
249
249
  for (const e of t.axes ?? [])
250
250
  if (e?.labels !== void 0)
251
251
  return e.labels.content;
252
- }, Ui = (t, e) => {
252
+ }, Wi = (t, e) => {
253
253
  for (const i of e.axes ?? [])
254
254
  if (i !== void 0) {
255
255
  const s = i.labels?.content.text;
256
256
  t === void 0 ? i.labels = I({
257
257
  text: "",
258
258
  visible: !0,
259
- font: L(F.AxisLabels),
260
- type: F.AxisLabels
261
- }) : i.labels.content = R(t), i.labels.content.text = s;
259
+ font: V(T.AxisLabels),
260
+ type: T.AxisLabels
261
+ }) : i.labels.content = $(t), i.labels.content.text = s;
262
262
  }
263
- }, Wi = (t) => {
263
+ }, Ki = (t) => {
264
264
  for (const e of t.axes ?? [])
265
265
  if (e?.lineSymbol !== void 0)
266
266
  return e.lineSymbol;
267
267
  }, Yi = (t, e) => {
268
268
  for (const i of e.axes ?? [])
269
- i !== void 0 && (i.lineSymbol = R(t) ?? ke());
270
- }, Ki = (t) => {
269
+ i !== void 0 && (i.lineSymbol = $(t) ?? ke());
270
+ }, Gi = (t) => {
271
271
  for (const e of t.axes ?? [])
272
272
  if (e?.grid !== void 0)
273
273
  return e.grid;
274
- }, zi = (t, e, i) => {
274
+ }, Qi = (t, e, i) => {
275
275
  const s = e.axes;
276
276
  i.forEach((a) => {
277
- s?.[a] !== void 0 && (s[a].grid = R(t));
277
+ s?.[a] !== void 0 && (s[a].grid = $(t));
278
278
  });
279
- }, X = (t, e) => e.axes?.[t]?.title?.content.text ?? "", Gi = (t, e, i) => {
279
+ }, U = (t, e) => e.axes?.[t]?.title?.content.text ?? "", zi = (t, e, i) => {
280
280
  const s = i.axes?.[e];
281
281
  s?.title !== void 0 ? s.title.content.text = t : s !== void 0 && s?.title === void 0 && (s.title = I({
282
282
  text: t,
283
283
  visible: !0,
284
- font: L(F.AxisTitle)
284
+ font: V(T.AxisTitle)
285
285
  }));
286
- }, Qi = (t, e) => e.axes?.[t]?.visible ?? !0, _i = (t, e, i) => {
286
+ }, Hi = (t, e) => e.axes?.[t]?.visible ?? !0, _i = (t, e, i) => {
287
287
  const s = i.axes?.[e];
288
288
  s !== void 0 && (s.visible = t);
289
- }, Hi = (t, e) => e.axes?.[t]?.labels?.visible ?? !0, Ji = (t, e, i) => {
289
+ }, Ji = (t, e) => e.axes?.[t]?.labels?.visible ?? !0, Zi = (t, e, i) => {
290
290
  const s = i.axes?.[e];
291
291
  s?.labels !== void 0 ? s.labels.visible = t : s !== void 0 && s?.labels === void 0 && (s.labels = I({
292
292
  text: "",
293
293
  visible: t,
294
- font: L(F.AxisLabels),
295
- type: F.AxisLabels
294
+ font: V(T.AxisLabels),
295
+ type: T.AxisLabels
296
296
  }));
297
- }, Zi = (t, e) => e.axes?.[t]?.title?.visible ?? !1, es = (t, e, i) => {
297
+ }, es = (t, e) => e.axes?.[t]?.title?.visible ?? !1, ts = (t, e, i) => {
298
298
  const s = i.axes?.[e];
299
299
  s?.title !== void 0 ? s.title.visible = t : s !== void 0 && s?.title === void 0 && (s.title = I({
300
- text: X(e, i),
300
+ text: U(e, i),
301
301
  visible: t,
302
- font: L(F.AxisTitle)
302
+ font: V(T.AxisTitle)
303
303
  }));
304
- }, ts = (t, e) => t.axes?.[e]?.displayZeroLine ?? !1, is = (t, e, i) => {
304
+ }, is = (t, e) => t.axes?.[e]?.displayZeroLine ?? !1, ss = (t, e, i) => {
305
305
  t.axes?.[i] !== void 0 && (t.axes[i].displayZeroLine = e);
306
- }, ss = (t, e) => t.axes?.[e]?.displayCursorTooltip ?? !1, as = (t) => {
306
+ }, as = (t, e) => t.axes?.[e]?.displayCursorTooltip ?? !1, rs = (t) => {
307
307
  const { config: e, displayCursorTooltip: i, axisIndex: s } = t;
308
308
  e.axes?.[s] !== void 0 && (e.axes[s].displayCursorTooltip = i);
309
- }, rs = (t, e) => t.axes?.[e]?.buffer ?? !1, os = (t) => {
309
+ }, ls = (t, e) => t.axes?.[e]?.buffer ?? !1, os = (t) => {
310
310
  const { config: e, buffer: i, axisIndex: s } = t, a = e.axes?.[s];
311
311
  a !== void 0 && (a.buffer = i);
312
- }, ls = (t, e) => t.axes?.[e]?.tickSpacing, ns = (t) => {
312
+ }, ns = (t, e) => t.axes?.[e]?.tickSpacing, cs = (t) => {
313
313
  const { config: e, tickSpacing: i, axisIndex: s } = t;
314
314
  e.axes?.[s] !== void 0 && (e.axes[s].tickSpacing = i);
315
- }, cs = (t, e) => t.axes?.[e]?.integerOnlyValues ?? !1, ds = (t) => {
315
+ }, ds = (t, e) => t.axes?.[e]?.integerOnlyValues ?? !1, us = (t) => {
316
316
  const { config: e, integerOnlyValues: i, axisIndex: s } = t;
317
317
  e.axes?.[s] !== void 0 && (e.axes[s].integerOnlyValues = i);
318
- }, us = (t, e) => {
318
+ }, ys = (t, e) => {
319
319
  e.series.forEach((i) => {
320
320
  i.query && (i.query.fetchNullValues = t);
321
321
  });
322
- }, ys = (t) => t.series.some((e) => e.query?.fetchNullValues), gs = (t) => (
322
+ }, gs = (t) => t.series.some((e) => e.query?.fetchNullValues), fs = (t) => (
323
323
  // TODO: Look into split-by values gotchas cases once done
324
324
  t.series.map((e) => String(Y({ where: e.query?.where }))).filter((e) => e !== void 0 && e.trim() !== "")
325
- ), fs = (t) => t.dataFilters, ps = (t, e) => {
325
+ ), ps = (t) => t.dataFilters, ms = (t, e) => {
326
326
  t !== void 0 ? e.dataFilters = t : delete e.dataFilters;
327
- }, bt = (t) => {
328
- let e;
329
- const i = t.series[0];
330
- return N(i) && (e = i.temporalBinning?.size), e;
331
327
  }, Ft = (t) => {
332
328
  let e;
333
329
  const i = t.series[0];
334
- return N(i) && (e = i.temporalBinning?.unit), e;
330
+ return q(i) && (e = i.temporalBinning?.size), e;
335
331
  }, Tt = (t) => {
336
332
  let e;
337
333
  const i = t.series[0];
338
- return N(i) && (e = i.temporalBinning?.timeAggregationType), e;
334
+ return q(i) && (e = i.temporalBinning?.unit), e;
339
335
  }, ht = (t) => {
340
336
  let e;
341
337
  const i = t.series[0];
342
- return N(i) && (e = i.temporalBinning?.trimIncompleteTimeInterval), e;
338
+ return q(i) && (e = i.temporalBinning?.timeAggregationType), e;
343
339
  }, vt = (t) => {
344
340
  let e;
345
341
  const i = t.series[0];
346
- return N(i) && (e = i.temporalBinning?.nullPolicy), e;
347
- }, Te = (t, e) => {
342
+ return q(i) && (e = i.temporalBinning?.trimIncompleteTimeInterval), e;
343
+ }, At = (t) => {
344
+ let e;
345
+ const i = t.series[0];
346
+ return q(i) && (e = i.temporalBinning?.nullPolicy), e;
347
+ }, he = (t, e) => {
348
348
  e?.series?.forEach((i) => {
349
- N(i) && (i.temporalBinning ??= {}, i.temporalBinning.size = t);
350
- }), b({ config: e, value: null, axisIndex: 1, isMax: !1 }), b({ config: e, value: null, axisIndex: 1, isMax: !0 });
351
- }, At = (t, e) => {
349
+ q(i) && (i.temporalBinning ??= {}, i.temporalBinning.size = t);
350
+ }), F({ config: e, value: null, axisIndex: 1, isMax: !1 }), F({ config: e, value: null, axisIndex: 1, isMax: !0 });
351
+ }, Bt = (t, e) => {
352
352
  e?.series?.forEach((i) => {
353
- N(i) && (i.temporalBinning ??= {}, i.temporalBinning.nullPolicy = t);
354
- }), b({ config: e, value: null, axisIndex: 1, isMax: !1 }), b({ config: e, value: null, axisIndex: 1, isMax: !0 });
355
- }, ms = (t, e) => {
356
- e.series?.forEach((i) => {
357
- N(i) && (i.temporalBinning ??= {}, i.temporalBinning.unit = t);
358
- }), b({ config: e, value: null, axisIndex: 1, isMax: !1 }), b({ config: e, value: null, axisIndex: 1, isMax: !0 });
353
+ q(i) && (i.temporalBinning ??= {}, i.temporalBinning.nullPolicy = t);
354
+ }), F({ config: e, value: null, axisIndex: 1, isMax: !1 }), F({ config: e, value: null, axisIndex: 1, isMax: !0 });
359
355
  }, xs = (t, e) => {
360
356
  e.series?.forEach((i) => {
361
- N(i) && (i.temporalBinning ??= {}, i.temporalBinning.timeAggregationType = t);
362
- }), b({ config: e, value: null, axisIndex: 1, isMax: !1 }), b({ config: e, value: null, axisIndex: 1, isMax: !0 });
357
+ q(i) && (i.temporalBinning ??= {}, i.temporalBinning.unit = t);
358
+ }), F({ config: e, value: null, axisIndex: 1, isMax: !1 }), F({ config: e, value: null, axisIndex: 1, isMax: !0 });
363
359
  }, Ss = (t, e) => {
364
360
  e.series?.forEach((i) => {
365
- N(i) && (i.temporalBinning ??= {}, i.temporalBinning.trimIncompleteTimeInterval = t);
366
- }), b({ config: e, value: null, axisIndex: 1, isMax: !1 }), b({ config: e, value: null, axisIndex: 1, isMax: !0 });
367
- }, bs = (t) => {
368
- Te(0, t);
369
- }, Bt = (t) => t.series.length ?? 0, Fs = (t, e) => e.series[t].visible ?? !0;
370
- function Ts(t, e) {
361
+ q(i) && (i.temporalBinning ??= {}, i.temporalBinning.timeAggregationType = t);
362
+ }), F({ config: e, value: null, axisIndex: 1, isMax: !1 }), F({ config: e, value: null, axisIndex: 1, isMax: !0 });
363
+ }, bs = (t, e) => {
364
+ e.series?.forEach((i) => {
365
+ q(i) && (i.temporalBinning ??= {}, i.temporalBinning.trimIncompleteTimeInterval = t);
366
+ }), F({ config: e, value: null, axisIndex: 1, isMax: !1 }), F({ config: e, value: null, axisIndex: 1, isMax: !0 });
367
+ }, Fs = (t) => {
368
+ he(0, t);
369
+ }, Ct = (t) => t.series.length ?? 0, Ts = (t, e) => e.series[t].visible ?? !0;
370
+ function hs(t, e) {
371
371
  let i;
372
372
  return t.length !== 0 && e < t.length && (i = t[e].dataTooltipValueFormat), i;
373
373
  }
374
- function hs(t) {
374
+ function vs(t) {
375
375
  const { series: e, seriesIndex: i, valueFormat: s } = t;
376
376
  e.length !== 0 && i < e.length && (e[i].dataTooltipValueFormat = s);
377
377
  }
378
- function vs(t, e) {
378
+ function As(t, e) {
379
379
  let i;
380
380
  return e !== void 0 && (i = { ...e }, i.legend !== void 0 && (i.legend.position = t)), i;
381
381
  }
382
- function As(t, e) {
382
+ function Bs(t, e) {
383
383
  let i;
384
384
  return e !== void 0 && (i = { ...e }, i.legend !== void 0 && (i.legend.visible = t)), i;
385
385
  }
386
- function Bs(t, e) {
386
+ function Cs(t, e) {
387
387
  let i;
388
388
  return e !== void 0 && (i = { ...e, rotated: t }), i;
389
389
  }
390
- function he(t) {
390
+ function ve(t) {
391
391
  let e;
392
392
  return t !== void 0 && (e = { ...t }, delete e.axes?.[0]?.minimum, delete e.axes?.[0]?.maximum, delete e.axes?.[1]?.minimum, delete e.axes?.[1]?.maximum), e;
393
393
  }
394
- function Cs(t, e) {
395
- return e != null || pe(t);
394
+ function Ls(t, e) {
395
+ return e != null || me(t);
396
396
  }
397
- async function Ct(t) {
397
+ async function Lt(t) {
398
398
  const { queryObject: e, chartConfig: i, options: s, splitByField: a } = t;
399
- let r = [], o;
400
- const l = R(i), n = l.series[0], c = Ke({
399
+ let r = [], l;
400
+ const o = $(i), c = o.series[0], n = Ge({
401
401
  queryObject: e,
402
- chartConfig: l,
402
+ chartConfig: o,
403
403
  runtimeDataFilters: s?.runtimeDataFilters,
404
404
  ignoreViewExtent: s?.ignoreViewExtent
405
405
  });
406
- if (c.outStatistics?.[0]?.outStatisticFieldName && (c.outStatistics[0].outStatisticFieldName = ze.outStatistics.outStatisticFieldName), N(n) && Ge({
407
- xAxisValueFormatType: Qe(l),
406
+ if (n.outStatistics?.[0]?.outStatisticFieldName && (n.outStatistics[0].outStatisticFieldName = Qe.outStatistics.outStatisticFieldName), q(c) && ze({
407
+ xAxisValueFormatType: He(o),
408
408
  setTimeBinningInfoWhenNotProvided: s?.setTimeBinningInfoWhenNotProvided,
409
- seriesConfig: n
409
+ seriesConfig: c
410
410
  }) && _e(e)) {
411
- const { temporalBinning: f, x: d } = n, { uniqueQuery: x } = await se({
412
- chartConfig: l,
413
- queryConfig: c,
411
+ const { temporalBinning: g, x: d } = c, { uniqueQuery: x } = await ae({
412
+ chartConfig: o,
413
+ queryConfig: n,
414
414
  queryObject: e,
415
415
  options: s
416
416
  });
417
- o = await He({
417
+ l = await Je({
418
418
  queryObject: e,
419
419
  dateField: d,
420
420
  splitByField: a,
421
421
  queryConfig: x,
422
- temporalBinning: f
422
+ temporalBinning: g
423
423
  }), r = Array.from(
424
424
  new Set(
425
- o.flatMap((m) => {
426
- const { stackedAttributes: y } = m;
427
- let g = [];
428
- return y && (g = y.map((S) => S[a]).filter((S) => S !== void 0)), g;
425
+ l.flatMap((m) => {
426
+ const { stackedAttributes: f } = m;
427
+ let u = [];
428
+ return f && (u = f.map((S) => S[a]).filter((S) => S !== void 0)), u;
429
429
  })
430
430
  ).values()
431
431
  );
432
432
  } else {
433
- const { uniqueQuery: f } = await se({
434
- chartConfig: l,
433
+ const { uniqueQuery: g } = await ae({
434
+ chartConfig: o,
435
435
  queryObject: e,
436
- queryConfig: c,
436
+ queryConfig: n,
437
437
  options: s
438
438
  });
439
- o = await Je({
439
+ l = await Ze({
440
440
  queryObject: e,
441
- queryConfig: f,
441
+ queryConfig: g,
442
442
  featureCount: 1
443
443
  }), r = Array.from(
444
444
  new Set(
445
- o.map((d) => d.attributes[a]).filter((d) => d !== void 0)
445
+ l.map((d) => d.attributes[a]).filter((d) => d !== void 0)
446
446
  ).values()
447
447
  );
448
448
  }
449
- return { allValues: r, preFetchedQueryResponse: o };
449
+ return { allValues: r, preFetchedQueryResponse: l };
450
450
  }
451
451
  function It(t, e) {
452
452
  const i = /* @__PURE__ */ new Map();
@@ -461,24 +461,24 @@ function It(t, e) {
461
461
  escape: !1
462
462
  });
463
463
  e && a !== null && (a = Number(a));
464
- const r = ce([s]);
464
+ const r = de([s]);
465
465
  r !== void 0 && i.set(r, [
466
466
  ...i.get(r) ?? [],
467
467
  a
468
468
  ]);
469
469
  }), i;
470
470
  }
471
- function Lt(t) {
471
+ function Vt(t) {
472
472
  const { allValues: e, configUniqueValuesPerSeriesType: i, initialConfigWasEmpty: s } = t, a = /* @__PURE__ */ new Map();
473
473
  return Array.from(i.keys()).forEach((r) => {
474
- const o = i.get(r) ?? [];
475
- let l = [];
476
- s ? l = e : e.forEach((n) => {
477
- o.includes(n) || l.push(n);
478
- }), a.set(r, l);
474
+ const l = i.get(r) ?? [];
475
+ let o = [];
476
+ s ? o = e : e.forEach((c) => {
477
+ l.includes(c) || o.push(c);
478
+ }), a.set(r, o);
479
479
  }), a;
480
480
  }
481
- function Vt(t) {
481
+ function Nt(t) {
482
482
  const { chartConfig: e, missingValue: i, splitByField: s, seriesTemplate: a } = t, r = JSON.parse(
483
483
  JSON.stringify({
484
484
  ...e.series[0],
@@ -487,55 +487,55 @@ function Vt(t) {
487
487
  );
488
488
  if (r.query) {
489
489
  if (r.id = `${i}-${e.series.length}-${Date.now()}`, r.name = `${i}`, r.query.outStatistics?.[0] !== void 0) {
490
- const l = r.id;
491
- r.query.outStatistics[0].outStatisticFieldName = l, "y" in r && (r.y = l);
490
+ const o = r.id;
491
+ r.query.outStatistics[0].outStatisticFieldName = o, "y" in r && (r.y = o);
492
492
  }
493
- const o = typeof i == "number" || i === null ? i : `'${i}'`;
494
- r.query.where = `${s}=${o}`;
493
+ const l = typeof i == "number" || i === null ? i : `'${i}'`;
494
+ r.query.where = `${s}=${l}`;
495
495
  }
496
496
  return r;
497
497
  }
498
- async function Nt(t) {
498
+ async function qt(t) {
499
499
  const { updateSplitBySeries: e, config: i, options: s, queryObject: a } = t, { seriesTemplate: r } = e ?? {};
500
- let o;
500
+ let l;
501
501
  if (e !== void 0 && i !== void 0 && (i.series.length > 0 || r !== void 0) && e.addMissingSeries) {
502
- const l = i.series.length === 0;
502
+ const o = i.series.length === 0;
503
503
  i.series.length === 0 && r !== void 0 && i.series.push(r);
504
- const n = K(i.series);
505
- if ((n === D.BoxPlotMonoFieldAndSplitBy || n === D.BoxPlotMultiFieldsAndSplitBy || n === D.BoxPlotMonoFieldAndCategoryAndSplitBy || n === D.BarAndLineSplitBy || n === D.BarAndLineSplitByNoAggregation) && a !== void 0) {
506
- const c = Ue(i.series[0]?.query?.where), f = We(a);
507
- await f.load();
508
- const d = f.getField(c)?.toJSON(), x = Ye(d), m = await Ct({
504
+ const c = G(i.series);
505
+ if ((c === M.BoxPlotMonoFieldAndSplitBy || c === M.BoxPlotMultiFieldsAndSplitBy || c === M.BoxPlotMonoFieldAndCategoryAndSplitBy || c === M.BarAndLineSplitBy || c === M.BarAndLineSplitByNoAggregation) && a !== void 0) {
506
+ const n = We(i.series[0]?.query?.where), g = Ke(a);
507
+ await g.load();
508
+ const d = g.getField(n)?.toJSON(), x = Ye(d), m = await Lt({
509
509
  queryObject: a,
510
510
  chartConfig: i,
511
- splitByField: c,
511
+ splitByField: n,
512
512
  options: s
513
- }), { allValues: y } = m;
514
- if ({ preFetchedQueryResponse: o } = m, y.length > 0) {
515
- const g = It(i, x), S = Lt({
516
- allValues: y,
517
- configUniqueValuesPerSeriesType: g,
518
- initialConfigWasEmpty: l
513
+ }), { allValues: f } = m;
514
+ if ({ preFetchedQueryResponse: l } = m, f.length > 0) {
515
+ const u = It(i, x), S = Vt({
516
+ allValues: f,
517
+ configUniqueValuesPerSeriesType: u,
518
+ initialConfigWasEmpty: o
519
519
  });
520
520
  Array.from(S.keys()).forEach((p) => {
521
- (S.get(p) ?? []).forEach((q) => {
521
+ (S.get(p) ?? []).forEach((b) => {
522
522
  i.series.push(
523
- Vt({
523
+ Nt({
524
524
  chartConfig: i,
525
525
  seriesTemplate: r,
526
- missingValue: q,
527
- splitByField: c
526
+ missingValue: b,
527
+ splitByField: n
528
528
  })
529
529
  );
530
- }), l && i.series.shift();
530
+ }), o && i.series.shift();
531
531
  });
532
532
  }
533
533
  }
534
534
  }
535
- return o;
535
+ return l;
536
536
  }
537
- function qt(t, e) {
538
- e && !pe(e) && (e = je({ chartConfig: e, queryObject: t }));
537
+ function Ot(t, e) {
538
+ e && !me(e) && (e = je({ chartConfig: e, queryObject: t }));
539
539
  }
540
540
  async function Is(t) {
541
541
  const {
@@ -544,212 +544,212 @@ async function Is(t) {
544
544
  addMissingSeries: s,
545
545
  updateSplitBySeries: a,
546
546
  chartContainer: r,
547
- creation: o,
548
- queryObject: l,
549
- options: n,
550
- previousConfig: c
547
+ creation: l,
548
+ queryObject: o,
549
+ options: c,
550
+ previousConfig: n
551
551
  } = t;
552
- let f = e, d;
553
- return qt(i, f), f = await ut(f, i), s && (d = await Nt({
552
+ let g = e, d;
553
+ return Ot(i, g), g = await yt(g, i), s && (d = await qt({
554
554
  updateSplitBySeries: a,
555
- config: f,
556
- options: n,
557
- queryObject: l
558
- })), (o || c && $e(c, f)) && (f = Xe(f, r)), { alteredConfig: f, preFetchedQueryResponse: d };
555
+ config: g,
556
+ options: c,
557
+ queryObject: o
558
+ })), (l || n && Xe(n, g)) && (g = Ue(g, r)), { alteredConfig: g, preFetchedQueryResponse: d };
559
559
  }
560
- const Ls = (t) => {
561
- const { xField: e, config: i, layerInfo: s } = t, { layerFieldsInfo: a } = s, r = X(0, i), o = Ot(i), l = k(i), n = i.series[0];
562
- if (typeof e == "string" && o !== e && n && (n.x = e, he(i), o === r || l)) {
563
- const c = V(a, e);
564
- U(i, 0, c);
560
+ const Vs = (t) => {
561
+ const { xField: e, config: i, layerInfo: s } = t, { layerFieldsInfo: a } = s, r = U(0, i), l = wt(i), o = k(i), c = i.series[0];
562
+ if (typeof e == "string" && l !== e && c && (c.x = e, ve(i), l === r || o)) {
563
+ const n = N(a, e);
564
+ W(i, 0, n);
565
565
  }
566
- }, Ot = (t) => t.series[0].x ?? "", Vs = (t) => t.hideEmptyRowsAndColumns, Ns = (t, e) => {
566
+ }, wt = (t) => t.series[0].x ?? "", Ns = (t) => t.hideEmptyRowsAndColumns, qs = (t, e) => {
567
567
  t.hideEmptyRowsAndColumns = e;
568
- }, qs = (t, e) => {
568
+ }, Os = (t, e) => {
569
569
  const i = t.series[0];
570
570
  i.heatRulesType = e;
571
- }, Os = (t) => t.series[0].heatRulesType, ws = (t, e) => {
571
+ }, ws = (t) => t.series[0].heatRulesType, Ds = (t, e) => {
572
572
  const i = t.series[0];
573
573
  i.gradientRules = e;
574
- }, Ds = (t) => t.series[0].gradientRules, Ms = (t) => {
575
- const { yField: e, config: i, layerInfo: s } = t, { layerFieldsInfo: a } = s, r = X(1, i), o = wt(i), l = k(i), n = i.series[0];
576
- if (typeof e == "string" && o !== e && n && (n.y = e, he(i), o === r || l)) {
577
- const c = V(a, e);
578
- U(i, 1, c);
574
+ }, Ms = (t) => t.series[0].gradientRules, Ps = (t) => {
575
+ const { yField: e, config: i, layerInfo: s } = t, { layerFieldsInfo: a } = s, r = U(1, i), l = Dt(i), o = k(i), c = i.series[0];
576
+ if (typeof e == "string" && l !== e && c && (c.y = e, ve(i), l === r || o)) {
577
+ const n = N(a, e);
578
+ W(i, 1, n);
579
579
  }
580
- }, wt = (t) => t.series[0].y ?? "", Ps = (t, e) => {
580
+ }, Dt = (t) => t.series[0].y ?? "", Es = (t, e) => {
581
581
  const i = e.series[0];
582
582
  i.xTemporalBinning = t;
583
- }, Es = (t) => t.series[0].xTemporalBinning, Rs = (t, e) => {
583
+ }, Rs = (t) => t.series[0].xTemporalBinning, $s = (t, e) => {
584
584
  const i = e.series[0];
585
585
  i.yTemporalBinning = t;
586
- }, ks = (t) => t.series[0].yTemporalBinning, Dt = (t, e) => {
586
+ }, ks = (t) => t.series[0].yTemporalBinning, Mt = (t, e) => {
587
587
  e.orderOptions ??= {};
588
- const i = e.axes?.[0]?.valueFormat?.type === "category" ? T.Category : T.YValue, s = J(e)[0], a = e.axes?.[1]?.valueFormat?.type === "category" ? T.Category : T.YValue, r = J(e)[1], o = {
588
+ const i = e.axes?.[0]?.valueFormat?.type === "category" ? h.Category : h.YValue, s = Z(e)[0], a = e.axes?.[1]?.valueFormat?.type === "category" ? h.Category : h.YValue, r = Z(e)[1], l = {
589
589
  ...e.orderOptions.data ?? {},
590
- orderType: T.MultiAxes
590
+ orderType: h.MultiAxes
591
591
  };
592
- s === H.customSort && i === T.Category && (o.orderByX = [...t]), r === H.customSort && a === T.Category && (o.orderByY = [...t]), Object.keys(o).length > 1 && (e.orderOptions.data = o);
593
- }, $s = (t, e) => {
592
+ s === J.customSort && i === h.Category && (l.orderByX = [...t]), r === J.customSort && a === h.Category && (l.orderByY = [...t]), Object.keys(l).length > 1 && (e.orderOptions.data = l);
593
+ }, Xs = (t, e) => {
594
594
  const i = e.series[0];
595
595
  i.gridLine && (i.gridLine.width = t);
596
- }, Xs = (t) => t.series[0].gridLine?.width, js = (t, e) => {
596
+ }, Us = (t) => t.series[0].gridLine?.width, js = (t, e) => {
597
597
  const i = e.series[0], s = t?.length === 4 && t.every((a) => typeof a == "number");
598
598
  i.gridLine && s && (i.gridLine.color = t);
599
- }, Us = (t) => t.series[0].gridLine?.color, Ws = (t, e) => {
599
+ }, Ws = (t) => t.series[0].gridLine?.color, Ks = (t, e) => {
600
600
  const i = e.legend;
601
601
  i && (i.position = t);
602
- }, Ys = (t) => t.legend?.position ?? Oe.Bottom, Ks = (t) => t.series[0].query?.outStatistics?.[0]?.onStatisticField, zs = (t, e) => {
602
+ }, Ys = (t) => t.legend?.position ?? we.Bottom, Gs = (t) => t.series[0].query?.outStatistics?.[0]?.onStatisticField, Qs = (t, e) => {
603
603
  const i = e.series[0].query?.outStatistics?.[0];
604
604
  i && (i.onStatisticField = t, i.outStatisticFieldName = `${i.statisticType}_${t}`);
605
- }, Gs = (t) => t.series[0].query?.outStatistics?.[0].statisticType ?? h.Count, Qs = (t, e) => {
605
+ }, zs = (t) => t.series[0].query?.outStatistics?.[0].statisticType ?? v.Count, Hs = (t, e) => {
606
606
  const i = e.series[0]?.query?.outStatistics?.[0];
607
- i && t !== h.NoAggregation && (i.statisticType = t, i.outStatisticFieldName = `${t}_${i.onStatisticField}`);
608
- }, _s = (t) => t.nullPolicy, Hs = (t, e) => {
607
+ i && t !== v.NoAggregation && (i.statisticType = t, i.outStatisticFieldName = `${t}_${i.onStatisticField}`);
608
+ }, _s = (t) => t.nullPolicy, Js = (t, e) => {
609
609
  e.nullPolicy = t;
610
- }, Js = (t) => t.series[0].emptyCells?.text, Zs = (t, e) => {
610
+ }, Zs = (t) => t.series[0].emptyCells?.text, ea = (t, e) => {
611
611
  e.series[0].emptyCells ? e.series[0].emptyCells.text = t : e.series[0].emptyCells = { text: t };
612
- }, ea = (t) => t.series[0].emptyCells?.symbol, ta = (t, e) => {
612
+ }, ta = (t) => t.series[0].emptyCells?.symbol, ia = (t, e) => {
613
613
  e.series[0].emptyCells ? e.series[0].emptyCells.symbol = t : e.series[0].emptyCells = { symbol: t };
614
614
  };
615
- function E(t) {
616
- const { seriesIndex: e, xAxisField: i, aggregationType: s, config: a, layerInfo: r, commonStrings: o } = t, { objectIdField: l } = r ?? {};
617
- let n;
618
- const c = a.series[e ?? 0];
619
- let f = !1, d = !1;
620
- if (c === void 0) {
621
- const y = a.series;
622
- f = y.slice(0, e).every((g) => A(g)), d = y.slice(0, e).every((g) => B(g));
615
+ function R(t) {
616
+ const { seriesIndex: e, xAxisField: i, aggregationType: s, config: a, layerInfo: r, commonStrings: l } = t, o = E(r?.layer).idField;
617
+ let c;
618
+ const n = a.series[e ?? 0];
619
+ let g = !1, d = !1;
620
+ if (n === void 0) {
621
+ const f = a.series;
622
+ g = f.slice(0, e).every((u) => B(u)), d = f.slice(0, e).every((u) => C(u));
623
623
  } else
624
- f = A(c), d = B(c);
625
- f ? n = tt({
626
- commonStrings: o,
624
+ g = B(n), d = C(n);
625
+ g ? c = it({
626
+ commonStrings: l,
627
627
  seriesIndex: e,
628
- objectIDField: l
629
- }) : d ? n = it({
630
- commonStrings: o,
628
+ objectIDField: o
629
+ }) : d ? c = st({
630
+ commonStrings: l,
631
631
  seriesIndex: e,
632
- objectIDField: l
633
- }) : n = st({
632
+ objectIDField: o
633
+ }) : c = at({
634
634
  seriesIndex: e,
635
- objectIDField: l,
636
- commonStrings: o
635
+ objectIDField: o,
636
+ commonStrings: l
637
637
  });
638
638
  const x = a.series[0]?.dataLabels, m = {
639
- ...n,
639
+ ...c,
640
640
  x: i,
641
641
  y: "",
642
642
  dataLabels: {
643
- ...n.dataLabels,
644
- type: n.dataLabels?.type ?? M.Text,
645
- content: { ...n.dataLabels?.content, ...x?.content, type: ot.TS },
643
+ ...c.dataLabels,
644
+ type: c.dataLabels?.type ?? P.Text,
645
+ content: { ...c.dataLabels?.content, ...x?.content, type: ot.TS },
646
646
  visible: x?.visible ?? !1
647
647
  }
648
648
  };
649
649
  if (m.query = {
650
650
  groupByFieldsForStatistics: [i]
651
- }, s !== h.NoAggregation && l !== void 0) {
652
- const y = `${s}_${l}_0`.toUpperCase();
653
- m.y = y, m.query.outStatistics = [
651
+ }, s !== v.NoAggregation && o !== void 0) {
652
+ const f = `${s}_${o}_0`.toUpperCase();
653
+ m.y = f, m.query.outStatistics = [
654
654
  {
655
655
  statisticType: s,
656
- onStatisticField: l,
657
- outStatisticFieldName: y
656
+ onStatisticField: o,
657
+ outStatisticFieldName: f
658
658
  }
659
659
  ];
660
660
  }
661
- if (A(m) || B(m) || C(m) && a.series[0]?.binTemporalData) {
662
- let y;
663
- if (a?.series?.[0] !== void 0 && (y = K(a.series)), y !== D.BarAndLineNoAggregation && y !== D.BarAndLineSplitByNoAggregation) {
664
- let g = Ft(a);
665
- g === Q.Quarter && (g = Q.Month), m.temporalBinning = {
666
- size: bt(a),
667
- unit: g,
668
- timeAggregationType: Tt(a),
669
- trimIncompleteTimeInterval: ht(a),
670
- nullPolicy: vt(a)
661
+ if (B(m) || C(m) || L(m) && a.series[0]?.binTemporalData) {
662
+ let f;
663
+ if (a?.series?.[0] !== void 0 && (f = G(a.series)), f !== M.BarAndLineNoAggregation && f !== M.BarAndLineSplitByNoAggregation) {
664
+ let u = Tt(a);
665
+ u === H.Quarter && (u = H.Month), m.temporalBinning = {
666
+ size: Ft(a),
667
+ unit: u,
668
+ timeAggregationType: ht(a),
669
+ trimIncompleteTimeInterval: vt(a),
670
+ nullPolicy: At(a)
671
671
  };
672
672
  }
673
673
  }
674
- return R(m);
674
+ return $(m);
675
675
  }
676
- function ve(t, e, i) {
677
- const { layerFieldsInfo: s, objectIdField: a } = e, r = $(t), o = ie(t), l = Be(t), n = W(t), c = o.length === 0 || o.includes(a), f = ye(l, i), d = c ? "" : o.map((u) => V(s ?? [], u)).join(", "), x = V(s ?? [], r), m = V(s ?? [], n), y = t.series.some((u) => C(u)), g = y ? "category" : "xAxisField", S = x;
678
- let p = "";
679
- if (me({
680
- fieldName: r,
676
+ function Ae(t, e, i) {
677
+ const { layerFieldsInfo: s } = e, { idField: a, isTraditionalTypeOID: r } = E(e.layer), l = X(t), o = se(t), c = Ce(t), n = K(t), g = r && (o.length === 0 || o.includes(a)), d = ge(c, i), x = g ? "" : o.map((b) => N(s ?? [], b)).join(", "), m = N(s ?? [], l), f = N(s ?? [], n), u = t.series.some((b) => L(b)), S = u ? "category" : "xAxisField", p = m;
678
+ let y = "";
679
+ if (xe({
680
+ fieldName: l,
681
681
  numericFields: o,
682
682
  fieldList: s
683
683
  }))
684
- p = w(i.titleLabels.aggrTypeOfAggrFields, {
685
- aggregationType: f,
686
- aggregationFields: d
684
+ y = D(i.titleLabels.aggrTypeOfAggrFields, {
685
+ aggregationType: d,
686
+ aggregationFields: x
687
687
  });
688
- else if (l === h.NoAggregation) {
689
- const u = c ? a : d;
688
+ else if (c === v.NoAggregation) {
689
+ const b = g ? a : x;
690
690
  if (n === "") {
691
- const q = y ? "aggrTypeCategory" : "aggrTypeXAxisField";
692
- p = w(i.titleLabels[q], {
693
- aggregationType: u,
694
- [g]: S
691
+ const O = u ? "aggrTypeCategory" : "aggrTypeXAxisField";
692
+ y = D(i.titleLabels[O], {
693
+ aggregationType: b,
694
+ [S]: p
695
695
  });
696
696
  } else {
697
- const q = y ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
698
- p = w(i.titleLabels[q], {
699
- aggregationType: u,
700
- [g]: S,
701
- splitByField: m
697
+ const O = u ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
698
+ y = D(i.titleLabels[O], {
699
+ aggregationType: b,
700
+ [S]: p,
701
+ splitByField: f
702
702
  });
703
703
  }
704
- } else if (l === h.Count)
704
+ } else if (c === v.Count)
705
705
  if (n === "") {
706
- const u = y ? "aggrTypeCategory" : "aggrTypeXAxisField";
707
- p = w(i.titleLabels[u], {
708
- aggregationType: f,
709
- [g]: S
706
+ const b = u ? "aggrTypeCategory" : "aggrTypeXAxisField";
707
+ y = D(i.titleLabels[b], {
708
+ aggregationType: d,
709
+ [S]: p
710
710
  });
711
711
  } else {
712
- const u = y ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
713
- p = w(i.titleLabels[u], {
714
- aggregationType: f,
715
- [g]: S,
716
- splitByField: m
712
+ const b = u ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
713
+ y = D(i.titleLabels[b], {
714
+ aggregationType: d,
715
+ [S]: p,
716
+ splitByField: f
717
717
  });
718
718
  }
719
719
  else if (n !== "") {
720
- const u = y ? "aggrTypeOfAggrFieldByCategoryBySplitByField" : "aggrTypeOfAggrFieldByXAxisFieldBySplitByField";
721
- p = w(i.titleLabels[u], {
722
- aggregationType: f,
723
- aggregationField: d,
724
- [g]: S,
725
- splitByField: m
720
+ const b = u ? "aggrTypeOfAggrFieldByCategoryBySplitByField" : "aggrTypeOfAggrFieldByXAxisFieldBySplitByField";
721
+ y = D(i.titleLabels[b], {
722
+ aggregationType: d,
723
+ aggregationField: x,
724
+ [S]: p,
725
+ splitByField: f
726
726
  });
727
727
  } else if (o.length > 0) {
728
- const u = y ? "aggrTypeOfAggrFieldsByCategory" : "aggrTypeOfAggrFieldsByXAxisField";
729
- p = w(i.titleLabels[u], {
730
- aggregationType: f,
731
- aggregationFields: d,
732
- [g]: S
728
+ const b = u ? "aggrTypeOfAggrFieldsByCategory" : "aggrTypeOfAggrFieldsByXAxisField";
729
+ y = D(i.titleLabels[b], {
730
+ aggregationType: d,
731
+ aggregationFields: x,
732
+ [S]: p
733
733
  });
734
734
  }
735
- return p;
735
+ return y;
736
736
  }
737
- const Ae = (t) => Y({
737
+ const Be = (t) => Y({
738
738
  where: t.query?.where,
739
739
  normalize: !1,
740
740
  escape: !1
741
- }) ?? "", Be = (t) => t?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? h.NoAggregation, W = le(
741
+ }) ?? "", Ce = (t) => t?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? v.NoAggregation, K = ne(
742
742
  (t) => {
743
743
  const e = t?.series?.[0]?.query?.where?.split("=")[0].trim() ?? "";
744
- return Ze(t?.series?.[0]?.query?.where) ? "" : e;
744
+ return et(t?.series?.[0]?.query?.where) ? "" : e;
745
745
  },
746
746
  (t) => t?.series?.[0]?.query?.where
747
- ), ie = le(
747
+ ), se = ne(
748
748
  // without memoizing, the worst case efficiency is O(series.length), best case is O(1)
749
749
  // with memoizing, the worst case efficiency for repeated calls becomes O(1)
750
750
  (t) => {
751
751
  let e = [];
752
- if (W(t) === "")
752
+ if (K(t) === "")
753
753
  e = t?.series.map((i) => {
754
754
  const s = i.query?.outStatistics?.map((a) => a.onStatisticField) ?? [];
755
755
  return s?.length > 0 ? s : i.y;
@@ -763,447 +763,447 @@ const Ae = (t) => Y({
763
763
  // using series array address as key, since a change to the numeric fields will always rebuild a fresh series array
764
764
  (t) => t?.series
765
765
  );
766
- function Mt(t) {
766
+ function Pt(t) {
767
767
  const { numericFields: e, aggregationType: i, config: s, layerInfo: a } = t;
768
768
  let r = !1;
769
- i === h.Count ? r = !0 : i === h.NoAggregation && (r = e.every((n) => {
770
- const c = a.layerFieldsInfo.find((f) => f.name === n);
771
- return c !== void 0 ? ae(c) : !1;
769
+ i === v.Count ? r = !0 : i === v.NoAggregation && (r = e.every((c) => {
770
+ const n = a.layerFieldsInfo.find((g) => g.name === c);
771
+ return n !== void 0 ? re(n) : !1;
772
772
  })), oe(s, 1, r);
773
- const o = s.series.some((n) => A(n)), l = s.series.some((n) => B(n));
774
- if (o || l) {
775
- const n = $(s), c = a.layerFieldsInfo.find((d) => d.name === n), f = c !== void 0 && ae(c);
776
- oe(s, 0, f);
773
+ const l = s.series.some((c) => B(c)), o = s.series.some((c) => C(c));
774
+ if (l || o) {
775
+ const c = X(s), n = a.layerFieldsInfo.find((d) => d.name === c), g = n !== void 0 && re(n);
776
+ oe(s, 0, g);
777
777
  }
778
778
  }
779
- const J = (t) => {
779
+ const Z = (t) => {
780
780
  let e;
781
- if (ge(t)) {
782
- const i = t.orderOptions?.data?.orderByX ?? [""], s = t.orderOptions?.data?.orderByY ?? [""], a = t.axes?.[0]?.valueFormat?.type === "category" ? T.Category : T.YValue, r = t.axes?.[1]?.valueFormat?.type === "category" ? T.Category : T.YValue;
783
- e = [re(i, a), re(s, r)];
781
+ if (fe(t)) {
782
+ const i = t.orderOptions?.data?.orderByX ?? [""], s = t.orderOptions?.data?.orderByY ?? [""], a = t.axes?.[0]?.valueFormat?.type === "category" ? h.Category : h.YValue, r = t.axes?.[1]?.valueFormat?.type === "category" ? h.Category : h.YValue;
783
+ e = [le(i, a), le(s, r)];
784
784
  } else {
785
- const i = t.orderOptions?.data?.orderType ?? T.Category, s = t.orderOptions?.data && "orderBy" in t.orderOptions.data ? t.orderOptions.data.orderBy : ne.Ascending;
786
- e = [dt(s, i)];
785
+ const i = t.orderOptions?.data?.orderType ?? h.Category, s = t.orderOptions?.data && "orderBy" in t.orderOptions.data ? t.orderOptions.data.orderBy : ce.Ascending;
786
+ e = [ut(s, i)];
787
787
  }
788
788
  return e;
789
789
  };
790
- function Pt(t) {
791
- const { xAxisField: e, numericFields: i, aggregationType: s, config: a, layerInfo: r, commonStrings: o } = t, { layerFieldsInfo: l } = r;
792
- let n = !1;
793
- const c = E({
790
+ function Et(t) {
791
+ const { xAxisField: e, numericFields: i, aggregationType: s, config: a, layerInfo: r, commonStrings: l } = t, { layerFieldsInfo: o } = r;
792
+ let c = !1;
793
+ const n = R({
794
794
  config: a,
795
795
  xAxisField: e,
796
796
  aggregationType: s,
797
797
  layerInfo: r,
798
798
  seriesIndex: 0,
799
- commonStrings: o
800
- }), f = te({
799
+ commonStrings: l
800
+ }), g = ie({
801
801
  config: a,
802
802
  xAxisField: e,
803
803
  numericFields: i,
804
804
  aggregationType: s,
805
805
  layer: r.layer,
806
- fieldList: l
806
+ fieldList: o
807
807
  }).name, d = {
808
- ...c,
808
+ ...n,
809
809
  id: `series_${Date.now()}`,
810
- name: o.axisLabels.values,
810
+ name: l.axisLabels.values,
811
811
  x: j,
812
- y: f
812
+ y: g
813
813
  }, x = [];
814
- for (const y of i)
814
+ for (const f of i)
815
815
  x.push({
816
- onStatisticField: y,
817
- outStatisticFieldName: `${y}_0`.toUpperCase(),
816
+ onStatisticField: f,
817
+ outStatisticFieldName: `${f}_0`.toUpperCase(),
818
818
  statisticType: s
819
819
  });
820
820
  d.query = { outStatistics: x };
821
821
  const m = a.series[0];
822
- return m !== void 0 && (d.id = m.id, a.colorMatch || (C(m) && C(d) ? d.fillSymbol = m.fillSymbol : (A(d) && A(m) || B(d) && B(m)) && (d.lineSymbol = m.lineSymbol, d.markerSymbol = m.markerSymbol), n = !0), d.id = m.id, m.name !== c.name && (d.name = m.name)), a.series.length === 1 && !a.colorMatch && (C(d) ? d.fillSymbol = a.series[0].fillSymbol : (A(d) || B(d)) && (d.lineSymbol = a.series[0].lineSymbol, d.markerSymbol = a.series[0].markerSymbol), n = !0), a.colorMatch = !n, [d];
822
+ return m !== void 0 && (d.id = m.id, a.colorMatch || (L(m) && L(d) ? d.fillSymbol = m.fillSymbol : (B(d) && B(m) || C(d) && C(m)) && (d.lineSymbol = m.lineSymbol, d.markerSymbol = m.markerSymbol), c = !0), d.id = m.id, m.name !== n.name && (d.name = m.name)), a.series.length === 1 && !a.colorMatch && (L(d) ? d.fillSymbol = a.series[0].fillSymbol : (B(d) || C(d)) && (d.lineSymbol = a.series[0].lineSymbol, d.markerSymbol = a.series[0].markerSymbol), c = !0), a.colorMatch = !c, [d];
823
823
  }
824
- function Ce(t) {
825
- const { xAxisField: e, numericFields: i, aggregationType: s, config: a, layerInfo: r, commonStrings: o } = t, { layerFieldsInfo: l, objectIdField: n } = r, c = [];
826
- let f = !1;
824
+ function Le(t) {
825
+ const { xAxisField: e, numericFields: i, aggregationType: s, config: a, layerInfo: r, commonStrings: l } = t, { layerFieldsInfo: o } = r, c = E(r.layer).idField, n = [];
826
+ let g = !1;
827
827
  for (let d = 0; d < i.length; d += 1) {
828
- const x = E({
828
+ const x = R({
829
829
  config: a,
830
830
  xAxisField: e,
831
831
  aggregationType: s,
832
832
  layerInfo: r,
833
833
  seriesIndex: d,
834
- commonStrings: o
835
- }), m = te({
834
+ commonStrings: l
835
+ }), m = ie({
836
836
  config: a,
837
837
  xAxisField: e,
838
838
  numericFields: i,
839
839
  aggregationType: s,
840
840
  layer: r.layer,
841
841
  numericFieldIndex: d,
842
- fieldList: l
843
- }).name, y = i[d];
844
- let g = {
842
+ fieldList: o
843
+ }).name, f = i[d];
844
+ let u = {
845
845
  ...x,
846
846
  query: {
847
847
  ...x.query
848
848
  }
849
849
  };
850
- y !== n && (g = {
851
- ...g,
852
- id: y,
853
- name: V(l, y)
850
+ i && f !== c && (u = {
851
+ ...u,
852
+ id: f,
853
+ name: N(o, f)
854
854
  });
855
- let S = y;
856
- g.query !== void 0 && (s !== h.NoAggregation ? (S = m, g.query.outStatistics = [
855
+ let S = f;
856
+ u.query !== void 0 && (s !== v.NoAggregation ? (S = m, u.query.outStatistics = [
857
857
  {
858
858
  ...x.query?.outStatistics?.[0] ?? {},
859
- onStatisticField: y,
859
+ onStatisticField: f,
860
860
  outStatisticFieldName: m,
861
861
  statisticType: s
862
862
  }
863
- ]) : delete g.query.outStatistics), g.y = S;
863
+ ]) : delete u.query.outStatistics), u.y = S;
864
864
  const p = a.series.find(
865
- (u) => u.query?.outStatistics?.[0]?.onStatisticField === y && u.query.where === void 0
865
+ (y) => y.query?.outStatistics?.[0]?.onStatisticField === f && y.query.where === void 0
866
866
  );
867
867
  if (p !== void 0 && typeof p.y == "string" && p.y.trim() !== "") {
868
- a.colorMatch || (C(g) && C(p) ? g.fillSymbol = p.fillSymbol : (A(g) && A(p) || B(g) && B(p)) && (g.lineSymbol = p.lineSymbol, g.markerSymbol = p.markerSymbol), f = !0);
869
- const u = E({
868
+ a.colorMatch || (L(u) && L(p) ? u.fillSymbol = p.fillSymbol : (B(u) && B(p) || C(u) && C(p)) && (u.lineSymbol = p.lineSymbol, u.markerSymbol = p.markerSymbol), g = !0);
869
+ const y = R({
870
870
  config: a,
871
871
  xAxisField: e,
872
872
  aggregationType: s,
873
873
  layerInfo: r,
874
874
  seriesIndex: d,
875
- commonStrings: o
875
+ commonStrings: l
876
876
  });
877
- g.id = p.id, p.id !== u.id && p.name !== u.name && (g.id = p.id, g.name = p.name);
877
+ u.id = p.id, p.id !== y.id && p.name !== y.name && (u.id = p.id, u.name = p.name);
878
878
  }
879
- c.push(g);
879
+ n.push(u);
880
880
  }
881
- return a.series.length === 1 && c.length === 1 && !a.colorMatch && (C(a.series[0]) && C(c[0]) ? c[0].fillSymbol = a.series[0].fillSymbol : (A(a.series[0]) && A(c[0]) || B(a.series[0]) && B(c[0])) && (c[0].lineSymbol = a.series[0].lineSymbol, c[0].markerSymbol = a.series[0].markerSymbol), f = !0), a.colorMatch = !f, c;
881
+ return a.series.length === 1 && n.length === 1 && !a.colorMatch && (L(a.series[0]) && L(n[0]) ? n[0].fillSymbol = a.series[0].fillSymbol : (B(a.series[0]) && B(n[0]) || C(a.series[0]) && C(n[0])) && (n[0].lineSymbol = a.series[0].lineSymbol, n[0].markerSymbol = a.series[0].markerSymbol), g = !0), a.colorMatch = !g, n;
882
882
  }
883
- async function Et(t) {
884
- const { splitByField: e, xAxisField: i, numericFields: s, aggregationType: a, config: r, layerInfo: o, commonStrings: l } = t, { layer: n, layerFieldsInfo: c } = o, { fetchNullValues: f } = r?.series?.[0]?.query ?? {}, d = i !== j ? i : void 0, { categoriesArray: x, splitByFieldType: m, numericalField: y } = await yt({
883
+ async function Rt(t) {
884
+ const { splitByField: e, xAxisField: i, numericFields: s, aggregationType: a, config: r, layerInfo: l, commonStrings: o } = t, { layer: c, layerFieldsInfo: n } = l, { fetchNullValues: g } = r?.series?.[0]?.query ?? {}, d = i !== j ? i : void 0, { categoriesArray: x, splitByFieldType: m, numericalField: f } = await gt({
885
885
  config: r,
886
- layer: n,
887
- layerFieldsInfo: c,
886
+ layer: c,
887
+ layerFieldsInfo: n,
888
888
  xAxisField: d,
889
889
  aggregationFields: s,
890
890
  splitByField: e,
891
- fetchNullValues: f
891
+ fetchNullValues: g
892
892
  });
893
- let g = [], S = !1;
893
+ let u = [], S = !1;
894
894
  if (x.length === 0) {
895
- g = Ce({
895
+ u = Le({
896
896
  xAxisField: i,
897
897
  numericFields: s,
898
898
  aggregationType: a,
899
899
  config: r,
900
- layerInfo: o,
901
- commonStrings: l
900
+ layerInfo: l,
901
+ commonStrings: o
902
902
  });
903
- for (const p of g)
903
+ for (const p of u)
904
904
  p.query && (p.query.where = `${e}=''`);
905
905
  } else
906
906
  for (let p = 0; p < x.length; p += 1) {
907
- const u = x[p], q = te({
907
+ const y = x[p], b = ie({
908
908
  config: r,
909
909
  xAxisField: i,
910
910
  numericFields: s,
911
911
  aggregationType: a,
912
- layer: o.layer,
912
+ layer: l.layer,
913
913
  seriesIndex: p,
914
914
  splitByField: e,
915
- fieldList: c
916
- }).name, P = E({
915
+ fieldList: n
916
+ }).name, O = R({
917
917
  config: r,
918
918
  xAxisField: i,
919
919
  aggregationType: a,
920
- layerInfo: o,
920
+ layerInfo: l,
921
921
  seriesIndex: p,
922
- commonStrings: l
922
+ commonStrings: o
923
923
  }), Ie = {
924
924
  fieldName: e,
925
- fieldValueToMatch: u ?? "",
926
- subtypeInfo: Z(o.layer),
927
- fieldList: o.layerFieldsInfo
928
- }, Le = ee(Ie), z = `${u}`, v = {
929
- ...P,
930
- id: z,
931
- name: Le ?? z,
932
- y: q,
925
+ fieldValueToMatch: y ?? "",
926
+ subtypeInfo: ee(l.layer),
927
+ fieldList: l.layerFieldsInfo
928
+ }, Ve = te(Ie), Q = `${y}`, A = {
929
+ ...O,
930
+ id: Q,
931
+ name: Ve ?? Q,
932
+ y: b,
933
933
  query: {
934
- ...P.query,
935
- where: `${e}=${m === fe.String && u !== null ? `'${u}'` : u}`,
936
- outStatistics: a !== h.NoAggregation ? [
934
+ ...O.query,
935
+ where: `${e}=${m === pe.String && y !== null ? `'${y}'` : y}`,
936
+ outStatistics: a !== v.NoAggregation ? [
937
937
  {
938
- ...P.query?.outStatistics?.[0] ?? {},
939
- onStatisticField: y,
940
- outStatisticFieldName: q,
938
+ ...O.query?.outStatistics?.[0] ?? {},
939
+ onStatisticField: f,
940
+ outStatisticFieldName: b,
941
941
  statisticType: a
942
942
  }
943
943
  ] : void 0
944
944
  }
945
945
  };
946
- a === h.NoAggregation && (v.query !== void 0 && (delete v.query.outStatistics, delete v.query.groupByFieldsForStatistics), v.y = y);
947
- const O = r.series.find(
948
- (Ve) => String(Ae(Ve)).trim().replace(/'/gu, "") === z
946
+ a === v.NoAggregation && (A.query !== void 0 && (delete A.query.outStatistics, delete A.query.groupByFieldsForStatistics), A.y = f);
947
+ const w = r.series.find(
948
+ (Ne) => String(Be(Ne)).trim().replace(/'/gu, "") === Q
949
949
  );
950
- O !== void 0 && (r.colorMatch || (C(v) && C(O) ? v.fillSymbol = O.fillSymbol : (A(v) && A(O) || B(v) && B(O)) && (v.lineSymbol = O.lineSymbol, v.markerSymbol = O.markerSymbol), S = !0), v.id = O.id, v.name = O.name), g.push(v);
950
+ w !== void 0 && (r.colorMatch || (L(A) && L(w) ? A.fillSymbol = w.fillSymbol : (B(A) && B(w) || C(A) && C(w)) && (A.lineSymbol = w.lineSymbol, A.markerSymbol = w.markerSymbol), S = !0), A.id = w.id, A.name = w.name), u.push(A);
951
951
  }
952
- return r.colorMatch = !S, g;
952
+ return r.colorMatch = !S, u;
953
953
  }
954
- const ia = async (t) => {
955
- const { xAxisField: e, splitByField: i, numericFields: s, aggregationType: a, config: r, layerInfo: o, commonStrings: l } = t, { layerFieldsInfo: n } = o ?? {}, c = Bt(r), f = $(r), d = Rt(r, o, l), x = kt(r, o, l), m = $t(r, o);
956
- let y = Fe(r);
957
- const g = r.series.some((u) => C(u)), S = nt(r.series), p = ct(r.series);
958
- if (n !== void 0) {
959
- const u = et(n);
960
- !u.includes(f) && u.includes(e) ? y = at() : u.includes(f) && !u.includes(e) && (g ? y = _() : y = rt()), n.find((P) => P.name === e)?.type === fe.String && (y = _()), y !== void 0 && ft(r, l, y);
954
+ const sa = async (t) => {
955
+ const { xAxisField: e, splitByField: i, numericFields: s, aggregationType: a, config: r, layerInfo: l, commonStrings: o } = t, { layerFieldsInfo: c } = l ?? {}, n = Ct(r), g = X(r), d = $t(r, l, o), x = kt(r, l, o), m = Xt(r, l);
956
+ let f = Te(r);
957
+ const u = r.series.some((y) => L(y)), S = ct(r.series), p = dt(r.series);
958
+ if (c !== void 0) {
959
+ const y = tt(c);
960
+ !y.includes(g) && y.includes(e) ? f = rt() : y.includes(g) && !y.includes(e) && (u ? f = _() : f = lt()), c.find((O) => O.name === e)?.type === pe.String && (f = _()), f !== void 0 && pt(r, o, f);
961
961
  }
962
- if (c === 0 && (r.series = [
963
- E({ config: r, xAxisField: e, aggregationType: a, layerInfo: o, commonStrings: l })
964
- ]), r.series.forEach((u) => {
965
- u.x = e, u.query !== void 0 && (u.query.groupByFieldsForStatistics = [e]);
966
- }), i === "" || s.length > 1 ? me({
962
+ if (n === 0 && (r.series = [
963
+ R({ config: r, xAxisField: e, aggregationType: a, layerInfo: l, commonStrings: o })
964
+ ]), r.series.forEach((y) => {
965
+ y.x = e, y.query !== void 0 && (y.query.groupByFieldsForStatistics = [e]);
966
+ }), i === "" || s.length > 1 ? xe({
967
967
  fieldName: e,
968
968
  numericFields: s,
969
- fieldList: n
970
- }) ? r.series = Pt({
969
+ fieldList: c
970
+ }) ? r.series = Et({
971
971
  config: r,
972
- layerInfo: o,
972
+ layerInfo: l,
973
973
  xAxisField: e,
974
974
  numericFields: s,
975
975
  aggregationType: a,
976
- commonStrings: l
977
- }) : r.series = Ce({
976
+ commonStrings: o
977
+ }) : r.series = Le({
978
978
  config: r,
979
- layerInfo: o,
979
+ layerInfo: l,
980
980
  xAxisField: e,
981
981
  numericFields: s,
982
982
  aggregationType: a,
983
- commonStrings: l
984
- }) : (await Promise.resolve(), r.series = await Et({
983
+ commonStrings: o
984
+ }) : (await Promise.resolve(), r.series = await Rt({
985
985
  config: r,
986
- layerInfo: o,
986
+ layerInfo: l,
987
987
  splitByField: i,
988
988
  xAxisField: e,
989
989
  numericFields: s,
990
990
  aggregationType: a,
991
- commonStrings: l
991
+ commonStrings: o
992
992
  })), m) {
993
- const u = V(n, e);
994
- U(r, 0, u);
993
+ const y = N(c, e);
994
+ W(r, 0, y);
995
995
  }
996
996
  if (x) {
997
- const u = xe({
997
+ const y = Se({
998
998
  config: r,
999
- layerInfo: o,
1000
- commonStrings: l,
999
+ layerInfo: l,
1000
+ commonStrings: o,
1001
1001
  numericFields: s,
1002
1002
  aggregationType: a
1003
1003
  });
1004
- U(r, 1, u);
1004
+ W(r, 1, y);
1005
1005
  }
1006
- if (r.title && d && (r.title.content.text = ve(r, o, l)), b({ config: r, value: null, axisIndex: 1, isMax: !1 }), b({ config: r, value: null, axisIndex: 1, isMax: !0 }), Mt({ numericFields: s, aggregationType: a, config: r, layerInfo: o }), S || p) {
1007
- b({ config: r, value: null, axisIndex: 0, isMax: !1 }), b({ config: r, value: null, axisIndex: 0, isMax: !0 }), Te(0, r);
1008
- const u = y?.type === M.DateAxisFormat ? G.Null : G.Interpolate;
1009
- At(u, r);
1006
+ if (r.title && d && (r.title.content.text = Ae(r, l, o)), F({ config: r, value: null, axisIndex: 1, isMax: !1 }), F({ config: r, value: null, axisIndex: 1, isMax: !0 }), Pt({ numericFields: s, aggregationType: a, config: r, layerInfo: l }), S || p) {
1007
+ F({ config: r, value: null, axisIndex: 0, isMax: !1 }), F({ config: r, value: null, axisIndex: 0, isMax: !0 }), he(0, r);
1008
+ const y = f?.type === P.DateAxisFormat ? z.Null : z.Interpolate;
1009
+ Bt(y, r);
1010
1010
  }
1011
- }, sa = (t) => {
1012
- const { config: e, seriesIndex: i, layerInfo: s, commonStrings: a } = t, r = e.series?.[i], o = W(e);
1013
- let l;
1014
- if (K(e.series) === D.BarAndLineFromFields)
1015
- l = a.axisLabels.values;
1016
- else if (Ne(o)) {
1017
- const c = r.query?.outStatistics?.[0]?.onStatisticField;
1018
- c !== void 0 && c !== s.objectIdField && (l = V(s.layerFieldsInfo, c));
1011
+ }, aa = (t) => {
1012
+ const { config: e, seriesIndex: i, layerInfo: s, commonStrings: a } = t, r = e.series?.[i], l = K(e);
1013
+ let o;
1014
+ if (G(e.series) === M.BarAndLineFromFields)
1015
+ o = a.axisLabels.values;
1016
+ else if (qe(l)) {
1017
+ const n = r.query?.outStatistics?.[0]?.onStatisticField;
1018
+ n !== void 0 && n !== E(s.layer).idField && (o = N(s.layerFieldsInfo, n));
1019
1019
  } else {
1020
- const c = String(Ae(r)).trim().replace(/'/gu, ""), f = {
1021
- fieldName: W(e),
1022
- fieldValueToMatch: c ?? "",
1023
- subtypeInfo: Z(s.layer),
1020
+ const n = String(Be(r)).trim().replace(/'/gu, ""), g = {
1021
+ fieldName: K(e),
1022
+ fieldValueToMatch: n ?? "",
1023
+ subtypeInfo: ee(s.layer),
1024
1024
  fieldList: s.layerFieldsInfo
1025
1025
  };
1026
- l = ee(f) ?? c;
1026
+ o = te(g) ?? n;
1027
1027
  }
1028
- return l ?? r.id;
1029
- }, aa = (t, e) => {
1030
- if (ge(e))
1031
- Dt(t, e);
1028
+ return o ?? r.id;
1029
+ }, ra = (t, e) => {
1030
+ if (fe(e))
1031
+ Mt(t, e);
1032
1032
  else {
1033
1033
  e.orderOptions ??= {};
1034
1034
  const i = e.orderOptions?.data?.orderType;
1035
- J(e)[0] === H.customSort && i === T.Category && (e.orderOptions.data = {
1036
- orderType: T.Category,
1035
+ Z(e)[0] === J.customSort && i === h.Category && (e.orderOptions.data = {
1036
+ orderType: h.Category,
1037
1037
  orderBy: [...t]
1038
1038
  });
1039
1039
  }
1040
- }, ra = async (t, e) => {
1041
- const i = $(t), s = Fe(t)?.type, a = ie(t), r = K(t.series);
1042
- let o = [];
1043
- return s === M.CategoryAxisFormat && (r === D.BarAndLineFromFields || i === j ? o = a.map((l) => V(e?.layerFieldsInfo, l)) : i.trim() !== "" && i !== j && e !== void 0 && (o = await gt({
1040
+ }, la = async (t, e) => {
1041
+ const i = X(t), s = Te(t)?.type, a = se(t), r = G(t.series);
1042
+ let l = [];
1043
+ return s === P.CategoryAxisFormat && (r === M.BarAndLineFromFields || i === j ? l = a.map((o) => N(e?.layerFieldsInfo, o)) : i.trim() !== "" && i !== j && e !== void 0 && (l = await ft({
1044
1044
  layerInfo: e,
1045
1045
  config: t,
1046
1046
  category: i
1047
- }))), o;
1047
+ }))), l;
1048
1048
  };
1049
- function Rt(t, e, i) {
1050
- const s = ve(t, e, i), a = xt(t), r = k(t);
1049
+ function $t(t, e, i) {
1050
+ const s = Ae(t, e, i), a = St(t), r = k(t);
1051
1051
  return s === a || r;
1052
1052
  }
1053
1053
  function kt(t, e, i) {
1054
- const s = xe({
1054
+ const s = Se({
1055
1055
  config: t,
1056
1056
  layerInfo: e,
1057
1057
  commonStrings: i,
1058
- numericFields: ie(t),
1059
- aggregationType: Be(t)
1060
- }), a = X(1, t), r = k(t);
1058
+ numericFields: se(t),
1059
+ aggregationType: Ce(t)
1060
+ }), a = U(1, t), r = k(t);
1061
1061
  return s === a || r;
1062
1062
  }
1063
- function $t(t, e) {
1064
- const i = V(e.layerFieldsInfo, $(t)), s = X(0, t), a = k(t);
1063
+ function Xt(t, e) {
1064
+ const i = N(e.layerFieldsInfo, X(t)), s = U(0, t), a = k(t);
1065
1065
  return i === s || a;
1066
1066
  }
1067
1067
  function oa(t) {
1068
1068
  return t.series[0]?.binTemporalData ?? !1;
1069
1069
  }
1070
- function la(t, e) {
1070
+ function na(t, e) {
1071
1071
  e?.series.forEach((i) => {
1072
- (i?.type === M.BarSeries || i?.type === M.LineSeries) && (i.binTemporalData = t, t ? i.temporalBinning = {
1073
- unit: Q.Day,
1072
+ (i?.type === P.BarSeries || i?.type === P.LineSeries) && (i.binTemporalData = t, t ? i.temporalBinning = {
1073
+ unit: H.Day,
1074
1074
  size: 0,
1075
- timeAggregationType: we.Start,
1075
+ timeAggregationType: De.Start,
1076
1076
  trimIncompleteTimeInterval: !0,
1077
- nullPolicy: G.Null
1077
+ nullPolicy: z.Null
1078
1078
  } : delete i.temporalBinning);
1079
1079
  });
1080
1080
  }
1081
1081
  export {
1082
- yt as $,
1083
- Rs as A,
1084
- Vs as B,
1085
- Ns as C,
1086
- Xs as D,
1087
- $s as E,
1088
- Us as F,
1082
+ gt as $,
1083
+ $s as A,
1084
+ Ns as B,
1085
+ qs as C,
1086
+ Us as D,
1087
+ Xs as E,
1088
+ Ws as F,
1089
1089
  js as G,
1090
- Os as H,
1091
- qs as I,
1092
- Ds as J,
1093
- ws as K,
1094
- Ks as L,
1095
- zs as M,
1096
- Gs as N,
1097
- Qs as O,
1090
+ ws as H,
1091
+ Os as I,
1092
+ Ms as J,
1093
+ Ds as K,
1094
+ Gs as L,
1095
+ Qs as M,
1096
+ zs as N,
1097
+ Hs as O,
1098
1098
  Ys as P,
1099
- Ws as Q,
1099
+ Ks as Q,
1100
1100
  _s as R,
1101
- Hs as S,
1102
- Js as T,
1103
- Zs as U,
1104
- ea as V,
1105
- ta as W,
1106
- gs as X,
1107
- Fe as Y,
1108
- gt as Z,
1109
- ft as _,
1110
- X as a,
1101
+ Js as S,
1102
+ Zs as T,
1103
+ ea as U,
1104
+ ta as V,
1105
+ ia as W,
1106
+ fs as X,
1107
+ Te as Y,
1108
+ ft as Z,
1109
+ pt as _,
1110
+ U as a,
1111
1111
  os as a$,
1112
1112
  oe as a0,
1113
- qi as a1,
1113
+ Oi as a1,
1114
1114
  Ii as a2,
1115
- Li as a3,
1116
- Vi as a4,
1117
- Ni as a5,
1118
- Oi as a6,
1119
- wi as a7,
1120
- Di as a8,
1121
- Mi as a9,
1122
- bt as aA,
1123
- Te as aB,
1124
- Ft as aC,
1125
- ms as aD,
1126
- Tt as aE,
1127
- xs as aF,
1128
- ht as aG,
1129
- Ss as aH,
1130
- vt as aI,
1131
- At as aJ,
1132
- bs as aK,
1133
- Ti as aL,
1134
- Ki as aM,
1135
- zi as aN,
1136
- ls as aO,
1137
- Qi as aP,
1115
+ Vi as a3,
1116
+ Ni as a4,
1117
+ qi as a5,
1118
+ wi as a6,
1119
+ Di as a7,
1120
+ Mi as a8,
1121
+ Pi as a9,
1122
+ Ft as aA,
1123
+ he as aB,
1124
+ Tt as aC,
1125
+ xs as aD,
1126
+ ht as aE,
1127
+ Ss as aF,
1128
+ vt as aG,
1129
+ bs as aH,
1130
+ At as aI,
1131
+ Bt as aJ,
1132
+ Fs as aK,
1133
+ hi as aL,
1134
+ Gi as aM,
1135
+ Qi as aN,
1136
+ ns as aO,
1137
+ Hi as aP,
1138
1138
  _i as aQ,
1139
- hi as aR,
1140
- vi as aS,
1141
- Ai as aT,
1142
- Bi as aU,
1143
- Ci as aV,
1144
- ts as aW,
1145
- is as aX,
1146
- ss as aY,
1147
- as as aZ,
1148
- rs as a_,
1149
- Pi as aa,
1150
- St as ab,
1151
- Ei as ac,
1152
- Ri as ad,
1139
+ vi as aR,
1140
+ Ai as aS,
1141
+ Bi as aT,
1142
+ Ci as aU,
1143
+ Li as aV,
1144
+ is as aW,
1145
+ ss as aX,
1146
+ as as aY,
1147
+ rs as aZ,
1148
+ ls as a_,
1149
+ Ei as aa,
1150
+ bt as ab,
1151
+ Ri as ac,
1152
+ $i as ad,
1153
1153
  ki as ae,
1154
- Fs as af,
1155
- Bt as ag,
1156
- Ts as ah,
1157
- hs as ai,
1158
- ys as aj,
1159
- us as ak,
1160
- fs as al,
1161
- ps as am,
1162
- Gi as an,
1163
- Hi as ao,
1164
- Ji as ap,
1165
- Zi as aq,
1166
- es as ar,
1167
- bi as as,
1168
- Fi as at,
1169
- $i as au,
1170
- Xi as av,
1154
+ Ts as af,
1155
+ Ct as ag,
1156
+ hs as ah,
1157
+ vs as ai,
1158
+ gs as aj,
1159
+ ys as ak,
1160
+ ps as al,
1161
+ ms as am,
1162
+ zi as an,
1163
+ Ji as ao,
1164
+ Zi as ap,
1165
+ es as aq,
1166
+ ts as ar,
1167
+ Fi as as,
1168
+ Ti as at,
1169
+ Xi as au,
1170
+ Ui as av,
1171
1171
  ji as aw,
1172
- Ui as ax,
1173
- Wi as ay,
1172
+ Wi as ax,
1173
+ Ki as ay,
1174
1174
  Yi as az,
1175
- xe as b,
1176
- ns as b0,
1177
- cs as b1,
1178
- ds as b2,
1175
+ Se as b,
1176
+ cs as b0,
1177
+ ds as b1,
1178
+ us as b2,
1179
1179
  Is as b3,
1180
- Cs as b4,
1181
- Bs as b5,
1182
- vs as b6,
1183
- As as b7,
1184
- he as b8,
1185
- sa as c,
1186
- Si as d,
1187
- xi as e,
1188
- J as f,
1189
- xt as g,
1190
- ra as h,
1191
- mi as i,
1192
- aa as j,
1180
+ Ls as b4,
1181
+ Cs as b5,
1182
+ As as b6,
1183
+ Bs as b7,
1184
+ ve as b8,
1185
+ aa as c,
1186
+ bi as d,
1187
+ Si as e,
1188
+ Z as f,
1189
+ St as g,
1190
+ la as h,
1191
+ xi as i,
1192
+ ra as j,
1193
1193
  oa as k,
1194
- la as l,
1195
- Be as m,
1196
- W as n,
1197
- ie as o,
1198
- ia as p,
1199
- ve as q,
1200
- Ot as r,
1201
- b as s,
1202
- Ls as t,
1203
- U as u,
1204
- wt as v,
1205
- Ms as w,
1206
- Es as x,
1207
- Ps as y,
1194
+ na as l,
1195
+ Ce as m,
1196
+ K as n,
1197
+ se as o,
1198
+ sa as p,
1199
+ Ae as q,
1200
+ wt as r,
1201
+ F as s,
1202
+ Vs as t,
1203
+ W as u,
1204
+ Dt as v,
1205
+ Ps as w,
1206
+ Rs as x,
1207
+ Es as y,
1208
1208
  ks as z
1209
1209
  };