@arcgis/charts-components 6.0.0-next.2 → 6.0.0-next.21

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 (342) hide show
  1. package/dist/cdn/{RKRR2KKS.js → 23PFUSK3.js} +1 -1
  2. package/dist/cdn/2GQTW4NH.js +2 -0
  3. package/dist/cdn/{FTEOTYTH.js → 2PUVZIJ6.js} +1 -1
  4. package/dist/cdn/{C27CFMVY.js → 33NEGHM6.js} +1 -1
  5. package/dist/cdn/3Q47Q67R.js +2 -0
  6. package/dist/cdn/3RQW57SE.js +2 -0
  7. package/dist/cdn/4GEBMO7W.js +2 -0
  8. package/dist/cdn/4V743NL4.js +2 -0
  9. package/dist/cdn/{RANPMLRU.js → 55OFHBXV.js} +1 -1
  10. package/dist/cdn/{H5VCT3XP.js → 5EAIW2ZK.js} +1 -1
  11. package/dist/cdn/5N5ZQZJO.js +2 -0
  12. package/dist/cdn/{NOWRHZV7.js → 5OSVKP4N.js} +1 -1
  13. package/dist/cdn/{RKWSCI6H.js → 5QLZ66AU.js} +1 -1
  14. package/dist/cdn/{2R2K5DTZ.js → 5SOADBYD.js} +1 -1
  15. package/dist/cdn/{IS6WNL3S.js → 5ZZZKI7V.js} +1 -1
  16. package/dist/cdn/{RPUVDZVR.js → 6HUXP73R.js} +1 -1
  17. package/dist/cdn/{D4SDXCEK.js → 6IIBIZJH.js} +1 -1
  18. package/dist/cdn/6OPPM5V2.js +2 -0
  19. package/dist/cdn/{QKV23ZMN.js → 6QY2OFUO.js} +1 -1
  20. package/dist/cdn/6R62GKMO.js +2 -0
  21. package/dist/cdn/6ZD3Z5YL.js +2 -0
  22. package/dist/cdn/{2HAZBMAW.js → 7AWJIBMG.js} +1 -1
  23. package/dist/cdn/7GGX5UIB.js +2 -0
  24. package/dist/cdn/{ZXXFRYTC.js → 7N2LSD5J.js} +1 -1
  25. package/dist/cdn/7QBDOZRN.js +2 -0
  26. package/dist/cdn/7UVDQBL4.js +2 -0
  27. package/dist/cdn/{IHAADQBV.js → A6DV5ILW.js} +1 -1
  28. package/dist/cdn/{3CSWEOBS.js → BGHJMVNV.js} +1 -1
  29. package/dist/cdn/{7YQKCXR4.js → BGVIOGAX.js} +1 -1
  30. package/dist/cdn/BR46WAT3.js +2 -0
  31. package/dist/cdn/{GPQCW5EO.js → BYG7ZIX2.js} +2 -2
  32. package/dist/cdn/C2WLLAJA.js +2 -0
  33. package/dist/cdn/CLFK7CD2.js +2 -0
  34. package/dist/cdn/CLPZTMER.js +2 -0
  35. package/dist/cdn/COM3OWDH.js +2 -0
  36. package/dist/cdn/{YR2F7I7M.js → CYZPIC2B.js} +1 -1
  37. package/dist/cdn/{RSII6PTR.js → CZKZMSFJ.js} +1 -1
  38. package/dist/cdn/{B6EROAY4.js → D66GTKJ7.js} +1 -1
  39. package/dist/cdn/D6XAU7NT.js +2 -0
  40. package/dist/cdn/DET6MJ7X.js +2 -0
  41. package/dist/cdn/{XAP5PIZ2.js → DH2G4KHH.js} +1 -1
  42. package/dist/cdn/{RY665VHB.js → DJGQM3EK.js} +1 -1
  43. package/dist/cdn/DUYJILM6.js +2 -0
  44. package/dist/cdn/DVS6MZT5.js +2 -0
  45. package/dist/cdn/E6ZQGTYB.js +2 -0
  46. package/dist/cdn/FKJRQZAC.js +2 -0
  47. package/dist/cdn/FNP7YROZ.js +2 -0
  48. package/dist/cdn/{WDUFLQ32.js → FOHR4IFG.js} +1 -1
  49. package/dist/cdn/FP2GSJQA.js +2 -0
  50. package/dist/cdn/GD5JTE7A.js +2 -0
  51. package/dist/cdn/{OXNMXLJF.js → GOVIUHKT.js} +1 -1
  52. package/dist/cdn/GTLHXKAJ.js +2 -0
  53. package/dist/cdn/{KK445MLC.js → GU6VG5TK.js} +1 -1
  54. package/dist/cdn/{P3D2YICV.js → H44RQIWN.js} +1 -1
  55. package/dist/cdn/H4SA3N6O.js +2 -0
  56. package/dist/cdn/HB4SJQ4W.js +2 -0
  57. package/dist/cdn/{GE5JXYB2.js → HBCVYIHS.js} +1 -1
  58. package/dist/cdn/HECZ3OT6.js +4 -0
  59. package/dist/cdn/HEI543JI.js +2 -0
  60. package/dist/cdn/HJCXMK5U.js +2 -0
  61. package/dist/cdn/{MPSFMJZL.js → HJUHYEJT.js} +1 -1
  62. package/dist/cdn/{UCADTSTO.js → HL6ANDJH.js} +1 -1
  63. package/dist/cdn/{4USN37PO.js → IDVYAUPY.js} +1 -1
  64. package/dist/cdn/IOK2V3P4.js +4 -0
  65. package/dist/cdn/IQRQDZJC.js +2 -0
  66. package/dist/cdn/{KBGVSXMS.js → IQSNWDU6.js} +1 -1
  67. package/dist/cdn/IUUDE4X5.js +2 -0
  68. package/dist/cdn/J4V3WB5U.js +2 -0
  69. package/dist/cdn/{ZAXERTST.js → J5HLHOFF.js} +1 -1
  70. package/dist/cdn/{Z4MPWA44.js → JANDMZGE.js} +1 -1
  71. package/dist/cdn/{SLZVSMMS.js → JE32QM44.js} +1 -1
  72. package/dist/cdn/{GYILUQLN.js → JETTF7E2.js} +1 -1
  73. package/dist/cdn/JGXLPTT7.js +2 -0
  74. package/dist/cdn/JIT5WKEB.js +2 -0
  75. package/dist/cdn/{3B2AC6Y3.js → JSOFN65T.js} +1 -1
  76. package/dist/cdn/{PME6JKVL.js → JWZGF724.js} +1 -1
  77. package/dist/cdn/JXF3DDAB.js +2 -0
  78. package/dist/cdn/{ZHWH7DPA.js → KMZIRJIR.js} +1 -1
  79. package/dist/cdn/{VTUFKWMW.js → KQ36C2RK.js} +1 -1
  80. package/dist/cdn/KZ6LW4NP.js +2 -0
  81. package/dist/cdn/LRTY76E6.js +2 -0
  82. package/dist/cdn/{QNK2HVPS.js → LXGEIC5F.js} +1 -1
  83. package/dist/cdn/LZPKYDMH.js +2 -0
  84. package/dist/cdn/{6WVZUW3A.js → M4AD4UJU.js} +1 -1
  85. package/dist/cdn/{PIGINE4M.js → M7MSRLEE.js} +1 -1
  86. package/dist/cdn/MSKHAI5B.js +2 -0
  87. package/dist/cdn/NF3BLC5K.js +2 -0
  88. package/dist/cdn/NK2I335H.js +2 -0
  89. package/dist/cdn/{S6FQN6HR.js → NUH2GAPZ.js} +1 -1
  90. package/dist/cdn/NX3KK4IQ.js +2 -0
  91. package/dist/cdn/O7O57T65.js +2 -0
  92. package/dist/cdn/OM6QKWFE.js +2 -0
  93. package/dist/cdn/OMJYE2MJ.js +2 -0
  94. package/dist/cdn/{T4YC5GXW.js → OU7UWTYV.js} +1 -1
  95. package/dist/cdn/{ICCD23OE.js → OWEVDN6C.js} +1 -1
  96. package/dist/cdn/{YPTG2SNF.js → PSKIJ3SM.js} +1 -1
  97. package/dist/cdn/{EYSSZWSX.js → Q3P2IG23.js} +1 -1
  98. package/dist/cdn/Q43ORQKU.js +2 -0
  99. package/dist/cdn/QBHNXPDC.js +2 -0
  100. package/dist/cdn/{2CNCTLOI.js → QCFAV626.js} +1 -1
  101. package/dist/cdn/QITW2GVD.js +2 -0
  102. package/dist/cdn/{4BAPCH7E.js → QMBHZ5JE.js} +1 -1
  103. package/dist/cdn/QNEORRGV.js +2 -0
  104. package/dist/cdn/QUVP5IS5.js +2 -0
  105. package/dist/cdn/{5LR2NVD4.js → QXY7MRR7.js} +1 -1
  106. package/dist/cdn/QYD2FVPD.js +2 -0
  107. package/dist/cdn/R2THCQP5.js +2 -0
  108. package/dist/cdn/R445444W.js +2 -0
  109. package/dist/cdn/RE3I2Z2X.js +2 -0
  110. package/dist/cdn/ROVVD6IW.js +2 -0
  111. package/dist/cdn/SBCL24E4.js +2 -0
  112. package/dist/cdn/SDPOEKHS.js +2 -0
  113. package/dist/cdn/SNIJO2GO.js +2 -0
  114. package/dist/cdn/SWEUOZRA.js +2 -0
  115. package/dist/cdn/{L3CL4LCS.js → SWHSL245.js} +1 -1
  116. package/dist/cdn/SX66PI5D.js +2 -0
  117. package/dist/cdn/{HN7A4IOJ.js → T7LKXFIZ.js} +1 -1
  118. package/dist/cdn/TDD6C2FX.js +2 -0
  119. package/dist/cdn/TRJRLHIN.js +2 -0
  120. package/dist/cdn/{FGJPWWIL.js → TTW6WNUD.js} +1 -1
  121. package/dist/cdn/TUIIWKKJ.js +2 -0
  122. package/dist/cdn/{ZH7H3YEB.js → U2JCCPS7.js} +27 -27
  123. package/dist/cdn/{TIKPLOJF.js → U6Y4QVXC.js} +1 -1
  124. package/dist/cdn/UNFDJW5A.js +2 -0
  125. package/dist/cdn/UYGZNX3E.js +2 -0
  126. package/dist/cdn/V3U7CLL3.js +2 -0
  127. package/dist/cdn/VGOKYLOA.js +2 -0
  128. package/dist/cdn/{INYMF2BQ.js → VKMVMHTT.js} +1 -1
  129. package/dist/cdn/VSYGSI4Q.js +2 -0
  130. package/dist/cdn/W6ND5MS4.js +2 -0
  131. package/dist/cdn/WCQX5APN.js +2 -0
  132. package/dist/cdn/WPAN7ZED.js +2 -0
  133. package/dist/cdn/XGBIB7YB.js +4 -0
  134. package/dist/cdn/XOXPFTIJ.js +2 -0
  135. package/dist/cdn/{ADIHYDO7.js → XQTLPFTW.js} +1 -1
  136. package/dist/cdn/XSZAO4QH.js +2 -0
  137. package/dist/cdn/{OZSHGMU6.js → Y6URECIF.js} +1 -1
  138. package/dist/cdn/YZJKK62F.js +2 -0
  139. package/dist/cdn/{BXQLCRCF.js → Z5DYKSTK.js} +1 -1
  140. package/dist/cdn/ZCH46ONB.js +2 -0
  141. package/dist/cdn/{DGDPNLJ6.js → ZDG7DMVN.js} +1 -1
  142. package/dist/cdn/index.js +1 -1
  143. package/dist/cdn/model/shared/setup-utils.js +1 -1
  144. package/dist/chart-rendering/common/interfaces.d.ts +7 -0
  145. package/dist/chunks/action-bar-utils.js +18 -20
  146. package/dist/chunks/axis-lines-symbol.js +6 -6
  147. package/dist/chunks/bar-chart-model.js +6 -8
  148. package/dist/chunks/box-plot-data.js +164 -163
  149. package/dist/chunks/box-plot-model.js +40 -38
  150. package/dist/chunks/chart-model.js +37 -39
  151. package/dist/chunks/chart-ui-utils.js +45 -47
  152. package/dist/chunks/chart-ui-utils2.js +1 -1
  153. package/dist/chunks/class-breaks.js +11 -11
  154. package/dist/chunks/combo-bar-line-chart-model.js +15 -16
  155. package/dist/chunks/data-labels-symbol.js +1 -1
  156. package/dist/chunks/data-labels-visibility.js +1 -1
  157. package/dist/chunks/data.js +52 -54
  158. package/dist/chunks/gauge-model.js +64 -64
  159. package/dist/chunks/generate-x-axis-title.js +19 -19
  160. package/dist/chunks/heat-chart-model.js +13 -14
  161. package/dist/chunks/histogram-data.js +47 -48
  162. package/dist/chunks/histogram-model.js +2 -2
  163. package/dist/chunks/index.js +5422 -4250
  164. package/dist/chunks/index2.js +1165 -871
  165. package/dist/chunks/index3.js +11040 -1173
  166. package/dist/chunks/index4.js +65 -11086
  167. package/dist/chunks/line-chart-model.js +17 -18
  168. package/dist/chunks/model-setter.js +6 -6
  169. package/dist/chunks/model-with-x-guides.js +1 -1
  170. package/dist/chunks/model-with-y-guides.js +25 -25
  171. package/dist/chunks/negative-values-stacked-to-baseline.js +2 -2
  172. package/dist/chunks/pie-chart-data.js +25 -27
  173. package/dist/chunks/pie-chart-model.js +26 -25
  174. package/dist/chunks/radar-chart-model.js +6 -7
  175. package/dist/chunks/resource.js +1 -1
  176. package/dist/chunks/rotated-state.js +1 -1
  177. package/dist/chunks/rounded-corners.js +2 -2
  178. package/dist/chunks/scatterplot-model.js +20 -22
  179. package/dist/chunks/serial-chart-data.js +513 -513
  180. package/dist/chunks/serial-chart-model.js +61 -58
  181. package/dist/chunks/series-length.js +4 -4
  182. package/dist/chunks/series.js +1 -1
  183. package/dist/chunks/type-guards.js +109 -55
  184. package/dist/chunks/utils.js +146 -212
  185. package/dist/chunks/web-component-utils.js +55 -56
  186. package/dist/chunks/x-bounds.js +20 -21
  187. package/dist/components/arcgis-chart/customElement.d.ts +175 -46
  188. package/dist/components/arcgis-chart/customElement.js +8334 -8106
  189. package/dist/components/arcgis-charts-action-bar/customElement.js +3 -3
  190. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +7 -7
  191. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +63 -58
  192. package/dist/components/arcgis-charts-config-bar-chart-data/index.js +0 -1
  193. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +11 -12
  194. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +51 -45
  195. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +2 -2
  196. package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
  197. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +114 -112
  198. package/dist/components/arcgis-charts-config-box-plot-data/index.js +0 -1
  199. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +11 -12
  200. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +52 -46
  201. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
  202. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  203. package/dist/components/arcgis-charts-config-create-flow/customElement.js +189 -184
  204. package/dist/components/arcgis-charts-config-font-style/customElement.js +7 -7
  205. package/dist/components/arcgis-charts-config-format/customElement.js +37 -38
  206. package/dist/components/arcgis-charts-config-general/customElement.js +2 -2
  207. package/dist/components/arcgis-charts-config-guide/customElement.js +7 -7
  208. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  209. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
  210. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +14 -15
  211. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +32 -33
  212. package/dist/components/arcgis-charts-config-histogram/customElement.js +2 -3
  213. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +2 -3
  214. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +3 -4
  215. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  216. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +23 -24
  217. package/dist/components/arcgis-charts-config-line-chart-data/index.js +0 -1
  218. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +5 -6
  219. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +38 -33
  220. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
  221. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
  222. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +21 -22
  223. package/dist/components/arcgis-charts-config-pie-chart-data/index.js +1 -1
  224. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +9 -10
  225. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +2 -2
  226. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
  227. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +3 -4
  228. package/dist/components/arcgis-charts-config-scatter-plot-aoi/customElement.js +20 -24
  229. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +79 -79
  230. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +3 -4
  231. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +21 -25
  232. package/dist/components/arcgis-charts-config-view-charts/customElement.js +20 -21
  233. package/dist/components/arcgis-charts-info-modal/customElement.js +4 -4
  234. package/dist/docs/api.json +1 -1
  235. package/dist/docs/docs.json +1 -1
  236. package/dist/docs/vscode.html-custom-data.json +1 -1
  237. package/dist/docs/web-types.json +1 -1
  238. package/dist/index.js +322 -322
  239. package/dist/loader.js +3 -3
  240. package/dist/model/box-plot-model/box-plot-model.d.ts +6 -2
  241. package/dist/model/mixins/model-with-multi-axes.d.ts +29 -1
  242. package/dist/model/pie-chart-model/pie-chart-model.d.ts +6 -2
  243. package/dist/model/serial-chart-model/serial-chart-model.d.ts +6 -2
  244. package/dist/types/lumina.d.ts +1 -1
  245. package/dist/types/preact.d.ts +1 -1
  246. package/dist/types/react.d.ts +1 -1
  247. package/dist/types/stencil.d.ts +1 -1
  248. package/dist/utils/chart-config/converter/index.js +79 -81
  249. package/dist/utils/chart-config/utils/index.d.ts +10 -3
  250. package/dist/utils/components/interfaces.d.ts +7 -0
  251. package/dist/utils/data/categorical-data/index.d.ts +1 -0
  252. package/dist/utils/misc/index.d.ts +4 -4
  253. package/package.json +7 -7
  254. package/dist/cdn/26JXKZ7A.js +0 -2
  255. package/dist/cdn/3DUAM7RK.js +0 -2
  256. package/dist/cdn/3PZWFW3T.js +0 -2
  257. package/dist/cdn/3W5KLNGL.js +0 -2
  258. package/dist/cdn/3YK3KIWI.js +0 -2
  259. package/dist/cdn/44I6NO6U.js +0 -2
  260. package/dist/cdn/4DZ3REFU.js +0 -2
  261. package/dist/cdn/4VNZG2VT.js +0 -2
  262. package/dist/cdn/53HMTYWA.js +0 -2
  263. package/dist/cdn/5OCPLZJD.js +0 -2
  264. package/dist/cdn/5UUI3TOG.js +0 -2
  265. package/dist/cdn/6TBNJO5J.js +0 -2
  266. package/dist/cdn/7GM6BQNN.js +0 -2
  267. package/dist/cdn/7TDWD3GC.js +0 -2
  268. package/dist/cdn/A33LL5AD.js +0 -2
  269. package/dist/cdn/AA6Q62S5.js +0 -2
  270. package/dist/cdn/AGGIZ74B.js +0 -2
  271. package/dist/cdn/AWKRU62U.js +0 -2
  272. package/dist/cdn/B6APNE72.js +0 -3
  273. package/dist/cdn/CCGAVRQQ.js +0 -2
  274. package/dist/cdn/CFMPJGNL.js +0 -2
  275. package/dist/cdn/D5WZ4UJC.js +0 -2
  276. package/dist/cdn/D66KCKCQ.js +0 -2
  277. package/dist/cdn/DSZIXRAL.js +0 -2
  278. package/dist/cdn/EPTOURLO.js +0 -2
  279. package/dist/cdn/EV5FQPUN.js +0 -2
  280. package/dist/cdn/FBUROOQZ.js +0 -2
  281. package/dist/cdn/FRFFG6VJ.js +0 -2
  282. package/dist/cdn/G3PLPDEP.js +0 -2
  283. package/dist/cdn/GD6OHLIR.js +0 -2
  284. package/dist/cdn/GSCC3FON.js +0 -2
  285. package/dist/cdn/HZQLPN4H.js +0 -2
  286. package/dist/cdn/IEOIKLLK.js +0 -2
  287. package/dist/cdn/ILEGHIRD.js +0 -2
  288. package/dist/cdn/IR5IIAYC.js +0 -2
  289. package/dist/cdn/J2HDKV47.js +0 -2
  290. package/dist/cdn/J7HDQGZM.js +0 -2
  291. package/dist/cdn/JI5EYK4Q.js +0 -2
  292. package/dist/cdn/KKNH7H7Q.js +0 -2
  293. package/dist/cdn/KQLTJETV.js +0 -2
  294. package/dist/cdn/KR5D7UAA.js +0 -2
  295. package/dist/cdn/LQG6JN2P.js +0 -2
  296. package/dist/cdn/MBMCCOYI.js +0 -2
  297. package/dist/cdn/MG6D45PY.js +0 -2
  298. package/dist/cdn/MJFMEOAZ.js +0 -2
  299. package/dist/cdn/MKG4JBMF.js +0 -2
  300. package/dist/cdn/MS6S4O2A.js +0 -2
  301. package/dist/cdn/N4RM5VSS.js +0 -2
  302. package/dist/cdn/ND72GIXE.js +0 -2
  303. package/dist/cdn/NOP2A3XL.js +0 -2
  304. package/dist/cdn/NZGQZZZ2.js +0 -2
  305. package/dist/cdn/O3P2WLI6.js +0 -2
  306. package/dist/cdn/OAEWLSKN.js +0 -2
  307. package/dist/cdn/OJN27UF2.js +0 -2
  308. package/dist/cdn/OSBZ6SF2.js +0 -2
  309. package/dist/cdn/OZSOICXE.js +0 -2
  310. package/dist/cdn/QG7ZBCDQ.js +0 -2
  311. package/dist/cdn/QZYHN3H3.js +0 -2
  312. package/dist/cdn/RD2X624K.js +0 -2
  313. package/dist/cdn/RHAWHDKW.js +0 -2
  314. package/dist/cdn/S3JZNDJK.js +0 -2
  315. package/dist/cdn/S7EQRXFW.js +0 -2
  316. package/dist/cdn/SKI5Z6UH.js +0 -2
  317. package/dist/cdn/SN4U2TYE.js +0 -2
  318. package/dist/cdn/SQOCBFAR.js +0 -2
  319. package/dist/cdn/STZNZAAW.js +0 -3
  320. package/dist/cdn/TCK5ZVBJ.js +0 -2
  321. package/dist/cdn/U6KRV4RA.js +0 -2
  322. package/dist/cdn/UD7VIM4I.js +0 -2
  323. package/dist/cdn/UQS25TZX.js +0 -2
  324. package/dist/cdn/UZRN5642.js +0 -2
  325. package/dist/cdn/VBYDJXIO.js +0 -2
  326. package/dist/cdn/W4LSI4AL.js +0 -2
  327. package/dist/cdn/W5DI7RYL.js +0 -2
  328. package/dist/cdn/WCM6N6ME.js +0 -2
  329. package/dist/cdn/WCONWQ4A.js +0 -2
  330. package/dist/cdn/WHUP2W37.js +0 -2
  331. package/dist/cdn/WMISD5B2.js +0 -4
  332. package/dist/cdn/XUY3ZVKB.js +0 -2
  333. package/dist/cdn/YDODEM4F.js +0 -2
  334. package/dist/cdn/YF6ML4P6.js +0 -4
  335. package/dist/cdn/YW3BJIXP.js +0 -2
  336. package/dist/cdn/YYOQY7YY.js +0 -2
  337. package/dist/chunks/index5.js +0 -69
  338. package/dist/chunks/type-guards2.js +0 -113
  339. package/dist/chunks/utils2.js +0 -63
  340. /package/dist/cdn/{OTV3YYDU.js → 7JMZPDM5.js} +0 -0
  341. /package/dist/cdn/{O6GVF76X.js → KRRYFLG4.js} +0 -0
  342. /package/dist/cdn/{27C6PCQ2.js → XXO5K6N4.js} +0 -0
@@ -1,81 +1,78 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { substitute as M } from "@arcgis/core/intl.js";
3
- import { cloneDeep as te, memoize as He, isEmpty as Ue, isEqual as je } from "es-toolkit/compat";
3
+ import { cloneDeep as te, memoize as We, isEmpty as Ue, isEqual as je } from "es-toolkit/compat";
4
4
  import { S as ce } from "./common.js";
5
- import { Z as L, aP as X, bo as Ze, bX as Ke, bY as _e, bM as Ne, g as Qe, q as ie, X as ze, W as Ge, bZ as Je, P as ge, a$ as et, b_ as tt, O as it, u as st, b$ as at, aQ as rt, R as nt, c0 as ot, $ as lt, bE as ct, c1 as ut, c2 as Se, c3 as dt, c4 as yt, c5 as mt, Q as gt, c6 as Fe, c7 as _, bO as pt, aR as q, a_ as Q, N as ft, t as j, a2 as Oe, c8 as Y, bK as U, c9 as St, ca as Ft, cb as O, cc as V, cd as he, bL as Te } from "./index.js";
6
- import { u as $, s as Ve, g as pe, a as qe, b as ht, c as Tt, d as z, e as xe } from "./utils.js";
7
- import { a as w, s as fe, g as se, b as Be, c as xt } from "./data.js";
8
- import { a as x, d as I, f as Bt, l as R, t as N, h as W, g as Ct, b as bt, e as ue } from "./chart-object-literals.js";
9
- import { d as Re, b as At } from "./rest-js-object-literals.js";
10
- import { i as ae } from "./index4.js";
11
- import { q as vt, I as G, X as J, Y as de, J as It, Z as Lt, _ as Dt, $ as Nt, a0 as Ot, k as Vt } from "./index3.js";
12
- import { a as P, C as Ce, b as k } from "./index2.js";
13
- import { g as ke, s as qt } from "./series-types.js";
14
- import { C as Rt, m as kt } from "./model-setter.js";
15
- import { convertChartSpec as Pt } from "../utils/chart-config/converter/index.js";
16
- import { i as ye, b as wt } from "./type-guards.js";
17
- import { g as re } from "./utils2.js";
18
- import { b as Et, g as Mt } from "./series-length.js";
19
- const ki = (i) => {
5
+ import { aa as L, b7 as X, bJ as Ke, cm as Ze, l as ue, c4 as _e, cn as Qe, ca as Ne, g as ze, r as ie, a7 as Ge, a6 as Je, co as et, x as w, Z as ge, bk as tt, cp as it, Y as st, v as at, cq as rt, b4 as nt, $ as ot, cr as lt, ad as ct, b_ as ut, cs as dt, ct as Se, cu as yt, cv as mt, cw as gt, C as Fe, _ as pt, cx as he, cy as _, B as k, cz as ft, b5 as q, bj as Q, X as St, u as j, ah as Oe, cA as Y, c6 as U, cB as Ft, cC as ht, cD as Tt, cE as O, cF as V, cG as Te, cH as xt, c9 as xe } from "./index.js";
6
+ import { g as se, u as $, s as Ve, a as pe, b as qe, c as Bt, d as z, e as Be } from "./utils.js";
7
+ import { a as P, s as fe, g as ae, b as Ce, c as Ct } from "./data.js";
8
+ import { a as x, d as I, f as At, l as R, t as N, h as H, g as bt, b as vt, e as de } from "./chart-object-literals.js";
9
+ import { d as Re, b as It } from "./rest-js-object-literals.js";
10
+ import { i as re } from "./index3.js";
11
+ import { q as Lt, I as G, _ as J, $ as ye, J as Dt, a0 as Nt, a1 as Ot, a2 as Vt, a3 as qt, k as Rt } from "./index2.js";
12
+ import { g as ke, s as kt } from "./series-types.js";
13
+ import { C as wt, m as Pt } from "./model-setter.js";
14
+ import { convertChartSpec as Et } from "../utils/chart-config/converter/index.js";
15
+ import { b as Mt, g as Yt } from "./series-length.js";
16
+ const qi = (i) => {
20
17
  let e;
21
18
  const t = i.series[0];
22
19
  return L(t) && (e = t.temporalBinning?.size), e;
23
- }, Yt = (i) => {
20
+ }, $t = (i) => {
24
21
  let e;
25
22
  const t = i.series[0];
26
23
  return L(t) && (e = t.temporalBinning?.unit), e;
27
- }, Pi = (i) => {
24
+ }, Ri = (i) => {
28
25
  let e;
29
26
  const t = i.series[0];
30
27
  return L(t) && (e = t.temporalBinning?.timeAggregationType), e;
31
- }, wi = (i) => {
28
+ }, ki = (i) => {
32
29
  let e;
33
30
  const t = i.series[0];
34
31
  return L(t) && (e = t.temporalBinning?.trimIncompleteTimeInterval), e;
35
- }, Ei = (i) => {
32
+ }, wi = (i) => {
36
33
  let e;
37
34
  const t = i.series[0];
38
35
  return L(t) && (e = t.temporalBinning?.nullPolicy), e;
39
- }, $t = (i, e) => {
36
+ }, Xt = (i, e) => {
40
37
  e?.series?.forEach((t) => {
41
38
  L(t) && (t.temporalBinning ??= {}, t.temporalBinning.size = i);
42
39
  });
43
- }, Xt = (i, e) => {
40
+ }, Ht = (i, e) => {
44
41
  e?.series?.forEach((t) => {
45
42
  L(t) && (t.temporalBinning ??= {}, t.temporalBinning.nullPolicy = i);
46
43
  });
47
- }, Mi = (i, e) => {
44
+ }, Pi = (i, e) => {
48
45
  e.series?.forEach((t) => {
49
46
  L(t) && (t.temporalBinning ??= {}, t.temporalBinning.unit = i);
50
47
  });
51
- }, Yi = (i, e) => {
48
+ }, Ei = (i, e) => {
52
49
  e.series?.forEach((t) => {
53
50
  L(t) && (t.temporalBinning ??= {}, t.temporalBinning.timeAggregationType = i);
54
51
  });
55
- }, $i = (i, e) => {
52
+ }, Mi = (i, e) => {
56
53
  e.series?.forEach((t) => {
57
54
  L(t) && (t.temporalBinning ??= {}, t.temporalBinning.trimIncompleteTimeInterval = i);
58
55
  });
59
56
  }, Wt = (i) => {
60
- $t(0, i);
57
+ Xt(0, i);
61
58
  };
62
- var Ht = Object.defineProperty, Ut = Object.getOwnPropertyDescriptor, jt = (i, e, t, a) => {
63
- for (var s = Ut(e, t), r = i.length - 1, n; r >= 0; r--)
64
- (n = i[r]) && (s = n(e, t, s) || s);
65
- return s && Ht(e, t, s), s;
59
+ var Ut = Object.defineProperty, jt = Object.getOwnPropertyDescriptor, Kt = (i, e, t, r) => {
60
+ for (var s = jt(e, t), a = i.length - 1, n; a >= 0; a--)
61
+ (n = i[a]) && (s = n(e, t, s) || s);
62
+ return s && Ut(e, t, s), s;
66
63
  };
67
64
  const Zt = (i) => {
68
65
  let e;
69
66
  return X(i) ? e = i.outTimeZone : i?.series.forEach((t) => {
70
67
  (t.type === x.BarSeries || t.type === x.RadarSeries || t.type === x.LineSeries) && t.temporalBinning && (e = t.temporalBinning.outTimeZone);
71
68
  }), e || (e = i?.axes?.[0]?.valueFormat.type === x.DateAxisFormat ? i.axes[0].valueFormat.intlOptions.timeZone : void 0), e;
72
- }, Pe = (i, e) => {
73
- const t = Ze(i);
74
- X(e) ? i ? e.outTimeZone = t : delete e.outTimeZone : e?.series.forEach((a) => {
75
- (a.type === x.BarSeries || a.type === x.RadarSeries || a.type === x.LineSeries) && (i ? (a.temporalBinning ??= {}, a.temporalBinning.outTimeZone = t) : a.temporalBinning && delete a.temporalBinning.outTimeZone);
69
+ }, we = (i, e) => {
70
+ const t = Ke(i);
71
+ X(e) ? i ? e.outTimeZone = t : delete e.outTimeZone : e?.series.forEach((r) => {
72
+ (r.type === x.BarSeries || r.type === x.RadarSeries || r.type === x.LineSeries) && (i ? (r.temporalBinning ??= {}, r.temporalBinning.outTimeZone = t) : r.temporalBinning && delete r.temporalBinning.outTimeZone);
76
73
  }), e?.axes?.[0]?.valueFormat.type === x.DateAxisFormat && (i ? e.axes[0].valueFormat.intlOptions.timeZone = t : delete e.axes[0].valueFormat.intlOptions.timeZone);
77
74
  };
78
- class Kt extends Rt {
75
+ class _t extends wt {
79
76
  /**
80
77
  * Gets the time zone for the chart.
81
78
  */
@@ -83,87 +80,87 @@ class Kt extends Rt {
83
80
  return Zt(this._config);
84
81
  }
85
82
  set timeZone(e) {
86
- Pe(e, this._config), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"));
83
+ we(e, this._config), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"));
87
84
  }
88
85
  }
89
- jt([
90
- kt
91
- ], Kt.prototype, "timeZone");
92
- function Xi(i, e) {
86
+ Kt([
87
+ Pt
88
+ ], _t.prototype, "timeZone");
89
+ function Yi(i, e) {
93
90
  let t;
94
91
  return e !== void 0 && (t = { ...e }, t.legend !== void 0 && (t.legend.position = i)), t;
95
92
  }
96
- function Wi(i, e) {
93
+ function $i(i, e) {
97
94
  let t;
98
95
  return e !== void 0 && (t = { ...e }, t.legend !== void 0 && (t.legend.visible = i)), t;
99
96
  }
100
- function Hi(i, e) {
97
+ function Xi(i, e) {
101
98
  let t;
102
99
  return e !== void 0 && (t = { ...e, rotated: i }), t;
103
100
  }
104
- function _t(i) {
101
+ function Qt(i) {
105
102
  let e;
106
103
  return i !== void 0 && (e = { ...i }, delete e.axes?.[0]?.minimum, delete e.axes?.[0]?.maximum, delete e.axes?.[1]?.minimum, delete e.axes?.[1]?.maximum), e;
107
104
  }
108
- function Ui(i, e) {
105
+ function Hi(i, e) {
109
106
  return e != null || Ne(i);
110
107
  }
111
- async function ji(i) {
112
- const { config: e, layer: t, abortSignal: a } = i;
108
+ async function Wi(i) {
109
+ const { config: e, layer: t, abortSignal: r } = i;
113
110
  let s = !1;
114
- return ye(t) || wt(e) ? e && ye(t) && (s = await _e({ config: e, layer: t, abortSignal: a })) : s = !0, s;
111
+ return ue(t) || _e(e) ? e && ue(t) && (s = await Qe({ config: e, layer: t, abortSignal: r })) : s = !0, s;
115
112
  }
116
- async function Qt(i) {
113
+ async function zt(i) {
117
114
  const {
118
115
  queryObject: e,
119
116
  chartConfig: t,
120
- splitByField: a,
117
+ splitByField: r,
121
118
  errorStrings: s,
122
- abortSignal: r,
119
+ abortSignal: a,
123
120
  runtimeDataFilters: n,
124
121
  ignoreViewExtent: o,
125
- setTimeBinningInfoWhenNotProvided: l,
126
- returnFeaturesExtent: c,
127
- returnStatisticsAggregatedIds: g,
122
+ setTimeBinningInfoWhenNotProvided: c,
123
+ returnFeaturesExtent: l,
124
+ returnStatisticsAggregatedIds: m,
128
125
  chartLimits: f
129
126
  } = i;
130
127
  let p = [], u;
131
- const d = te(t), y = d.series[0], m = ot({
128
+ const d = te(t), y = d.series[0], g = lt({
132
129
  queryObject: e,
133
130
  chartConfig: d,
134
131
  runtimeDataFilters: n,
135
132
  ignoreViewExtent: o
136
133
  });
137
- if (m.outStatistics?.[0]?.outStatisticFieldName && (m.outStatistics[0].outStatisticFieldName = vt.outStatistics.outStatisticFieldName), L(y) && lt({
138
- xAxisValueFormatType: ct(d),
139
- setTimeBinningInfoWhenNotProvided: l,
134
+ if (g.outStatistics?.[0]?.outStatisticFieldName && (g.outStatistics[0].outStatisticFieldName = Lt.outStatistics.outStatisticFieldName), L(y) && ct({
135
+ xAxisValueFormatType: ut(d),
136
+ setTimeBinningInfoWhenNotProvided: c,
140
137
  seriesConfig: y,
141
138
  queryObject: e
142
- }) && ut(a, e)) {
139
+ }) && dt(r, e)) {
143
140
  const { temporalBinning: F, x: S } = y, { uniqueQuery: h } = Se({
144
141
  chartConfig: d,
145
- queryConfig: m,
142
+ queryConfig: g,
146
143
  queryObject: e,
147
- setTimeBinningInfoWhenNotProvided: l,
148
- returnFeaturesExtent: c,
144
+ setTimeBinningInfoWhenNotProvided: c,
145
+ returnFeaturesExtent: l,
149
146
  chartLimits: f
150
- }), b = t.axes?.[0].valueFormat.type === x.DateAxisFormat ? t.axes[0].valueFormat.intlOptions.timeZone : void 0;
151
- u = await dt({
147
+ }), A = t.axes?.[0].valueFormat.type === x.DateAxisFormat ? t.axes[0].valueFormat.intlOptions.timeZone : void 0;
148
+ u = await yt({
152
149
  queryObject: e,
153
150
  dateField: S,
154
- splitByField: a,
151
+ splitByField: r,
155
152
  queryConfig: h,
156
- axisTimeZone: b,
153
+ axisTimeZone: A,
157
154
  temporalBinning: F,
158
- returnStatisticsAggregatedIds: g,
155
+ returnStatisticsAggregatedIds: m,
159
156
  errorStrings: s,
160
- abortSignal: r
157
+ abortSignal: a
161
158
  }), p = Array.from(
162
159
  new Set(
163
- u.flatMap((C) => {
164
- const { stackedAttributes: T } = C;
165
- let A = [];
166
- return T && (A = T.map((v) => v[a]).filter((v) => v !== void 0)), A;
160
+ u.flatMap((B) => {
161
+ const { stackedAttributes: T } = B;
162
+ let b = [];
163
+ return T && (b = T.map((v) => v[r]).filter((v) => v !== void 0)), b;
167
164
  })
168
165
  ).values()
169
166
  );
@@ -171,38 +168,38 @@ async function Qt(i) {
171
168
  const { uniqueQuery: F } = Se({
172
169
  chartConfig: d,
173
170
  queryObject: e,
174
- queryConfig: m,
175
- setTimeBinningInfoWhenNotProvided: l,
176
- returnFeaturesExtent: c,
171
+ queryConfig: g,
172
+ setTimeBinningInfoWhenNotProvided: c,
173
+ returnFeaturesExtent: l,
177
174
  chartLimits: f
178
- }), { elementCount: S } = await yt({
175
+ }), { elementCount: S } = await mt({
179
176
  chartConfig: d,
180
177
  queryObject: e,
181
- queryConfig: m,
178
+ queryConfig: g,
182
179
  behaviorAfterLimit: f?.behaviorAfterLimit,
183
180
  numberMaxOfFeaturesToFetch: F.num,
184
- abortSignal: r
181
+ abortSignal: a
185
182
  });
186
- u = await mt({
183
+ u = await gt({
187
184
  queryObject: e,
188
185
  queryConfig: F,
189
186
  featureCount: S,
190
- returnStatisticsAggregatedIds: g,
187
+ returnStatisticsAggregatedIds: m,
191
188
  errorStrings: s,
192
- abortSignal: r
189
+ abortSignal: a
193
190
  }), p = Array.from(
194
191
  new Set(
195
- u.map((h) => h.attributes[a]).filter((h) => h !== void 0)
192
+ u.map((h) => h.attributes[r]).filter((h) => h !== void 0)
196
193
  ).values()
197
194
  );
198
195
  }
199
196
  return { allValues: p, preFetchedQueryResponse: u };
200
197
  }
201
- function zt(i, e) {
198
+ function Gt(i, e) {
202
199
  const t = /* @__PURE__ */ new Map();
203
- return i.series.forEach((a) => {
200
+ return i.series.forEach((r) => {
204
201
  let s = ge({
205
- where: a.query?.where,
202
+ where: r.query?.where,
206
203
  // normalize the value so it matches what we get from getAllValues()
207
204
  // Refer to https://devtopia.esri.com/WebGIS/arcgis-charts/issues/8127
208
205
  normalize: !0,
@@ -211,87 +208,87 @@ function zt(i, e) {
211
208
  escape: !1
212
209
  });
213
210
  e && s !== null && (s = Number(s));
214
- const r = ke([a]);
215
- r !== void 0 && t.set(r, [
216
- ...t.get(r) ?? [],
211
+ const a = ke([r]);
212
+ a !== void 0 && t.set(a, [
213
+ ...t.get(a) ?? [],
217
214
  s
218
215
  ]);
219
216
  }), t;
220
217
  }
221
- function Gt(i) {
222
- const { allValues: e, configUniqueValuesPerSeriesType: t, initialConfigWasEmpty: a } = i, s = /* @__PURE__ */ new Map();
223
- return Array.from(t.keys()).forEach((r) => {
224
- const n = t.get(r) ?? [];
218
+ function Jt(i) {
219
+ const { allValues: e, configUniqueValuesPerSeriesType: t, initialConfigWasEmpty: r } = i, s = /* @__PURE__ */ new Map();
220
+ return Array.from(t.keys()).forEach((a) => {
221
+ const n = t.get(a) ?? [];
225
222
  let o = [];
226
- a ? o = e : e.forEach((l) => {
227
- n.includes(l) || o.push(l);
228
- }), s.set(r, o);
223
+ r ? o = e : e.forEach((c) => {
224
+ n.includes(c) || o.push(c);
225
+ }), s.set(a, o);
229
226
  }), s;
230
227
  }
231
- function Jt(i) {
232
- const { chartConfig: e, missingValue: t, splitByField: a, seriesTemplate: s } = i, r = JSON.parse(
228
+ function ei(i) {
229
+ const { chartConfig: e, missingValue: t, splitByField: r, seriesTemplate: s } = i, a = JSON.parse(
233
230
  JSON.stringify({
234
231
  ...e.series[0],
235
232
  ...s
236
233
  })
237
234
  );
238
- if (r.query) {
239
- if (t === null ? r.id = Ce.nullValue : t === "" ? r.id = Ce.emptyStringValue : r.id = `${t}`, r.name = `${t}`, r.query.outStatistics?.[0] !== void 0) {
240
- const o = r.id;
241
- r.query.outStatistics[0].outStatisticFieldName = o, "y" in r && (r.y = o);
235
+ if (a.query) {
236
+ if (t === null ? a.id = Fe.nullValue : t === "" ? a.id = Fe.emptyStringValue : a.id = `${t}`, a.name = `${t}`, a.query.outStatistics?.[0] !== void 0) {
237
+ const o = a.id;
238
+ a.query.outStatistics[0].outStatisticFieldName = o, "y" in a && (a.y = o);
242
239
  }
243
240
  const n = typeof t == "number" || t === null ? t : `'${t}'`;
244
- r.query.where = `${a}=${n}`;
241
+ a.query.where = `${r}=${n}`;
245
242
  }
246
- return r;
243
+ return a;
247
244
  }
248
- async function ei(i) {
245
+ async function ti(i) {
249
246
  const {
250
247
  updateSplitBySeries: e,
251
248
  config: t,
252
- queryObject: a,
249
+ queryObject: r,
253
250
  errorStrings: s,
254
- abortSignal: r,
251
+ abortSignal: a,
255
252
  runtimeDataFilters: n,
256
253
  ignoreViewExtent: o,
257
- setTimeBinningInfoWhenNotProvided: l,
258
- returnFeaturesExtent: c,
259
- returnStatisticsAggregatedIds: g,
254
+ setTimeBinningInfoWhenNotProvided: c,
255
+ returnFeaturesExtent: l,
256
+ returnStatisticsAggregatedIds: m,
260
257
  chartLimits: f
261
258
  } = i, { seriesTemplate: p } = e ?? {};
262
259
  let u;
263
- if (a && !ye(a) && e !== void 0 && t !== void 0 && (t.series.length > 0 || p !== void 0) && e.addMissingSeries) {
260
+ if (r && !ue(r) && e !== void 0 && t !== void 0 && (t.series.length > 0 || p !== void 0) && e.addMissingSeries) {
264
261
  const d = t.series.length === 0;
265
262
  t.series.length === 0 && p !== void 0 && t.series.push(p);
266
263
  const y = ie(t.series);
267
- if (y === P.BoxPlotC5MonoFieldAndSplitBy || y === P.BoxPlotC6MultiFieldsAndSplitBy || y === P.BoxPlotC7MonoFieldAndCategoryAndSplitBy || y === P.BarAndLineSplitBy || y === P.BarAndLineSplitByNoAggregation) {
268
- const m = it(t.series[0]?.query?.where), F = st(a), S = at(m, F), h = S ? rt(S) : !1, b = await Qt({
269
- queryObject: a,
264
+ if (y === w.BoxPlotC5MonoFieldAndSplitBy || y === w.BoxPlotC6MultiFieldsAndSplitBy || y === w.BoxPlotC7MonoFieldAndCategoryAndSplitBy || y === w.BarAndLineSplitBy || y === w.BarAndLineSplitByNoAggregation) {
265
+ const g = st(t.series[0]?.query?.where), F = at(r), S = rt(g, F), h = S ? nt(S) : !1, A = await zt({
266
+ queryObject: r,
270
267
  chartConfig: t,
271
- splitByField: m,
272
- abortSignal: r,
268
+ splitByField: g,
269
+ abortSignal: a,
273
270
  runtimeDataFilters: n,
274
271
  ignoreViewExtent: o,
275
- setTimeBinningInfoWhenNotProvided: l,
276
- returnFeaturesExtent: c,
277
- returnStatisticsAggregatedIds: g,
272
+ setTimeBinningInfoWhenNotProvided: c,
273
+ returnFeaturesExtent: l,
274
+ returnStatisticsAggregatedIds: m,
278
275
  chartLimits: f,
279
276
  errorStrings: s
280
- }), { allValues: C } = b;
281
- if ({ preFetchedQueryResponse: u } = b, C.length > 0) {
282
- const T = zt(t, h), A = Gt({
283
- allValues: C,
277
+ }), { allValues: B } = A;
278
+ if ({ preFetchedQueryResponse: u } = A, B.length > 0) {
279
+ const T = Gt(t, h), b = Jt({
280
+ allValues: B,
284
281
  configUniqueValuesPerSeriesType: T,
285
282
  initialConfigWasEmpty: d
286
283
  });
287
- Array.from(A.keys()).forEach((v) => {
288
- (A.get(v) ?? []).forEach((D) => {
284
+ Array.from(b.keys()).forEach((v) => {
285
+ (b.get(v) ?? []).forEach((D) => {
289
286
  t.series.push(
290
- Jt({
287
+ ei({
291
288
  chartConfig: t,
292
289
  seriesTemplate: p,
293
290
  missingValue: D,
294
- splitByField: m
291
+ splitByField: g
295
292
  })
296
293
  );
297
294
  }), d && t.series.shift();
@@ -301,149 +298,149 @@ async function ei(i) {
301
298
  }
302
299
  return u;
303
300
  }
304
- function ti(i, e) {
305
- e && !Ne(e) && (e = tt({ chartConfig: e, queryObject: i }));
301
+ function ii(i, e) {
302
+ e && !Ne(e) && (e = it({ chartConfig: e, queryObject: i }));
306
303
  }
307
- async function Zi(i) {
304
+ async function Ui(i) {
308
305
  const {
309
306
  configToAlter: e,
310
307
  layer: t,
311
- addMissingSeries: a,
308
+ addMissingSeries: r,
312
309
  updateSplitBySeries: s,
313
- chartContainer: r,
310
+ chartContainer: a,
314
311
  queryObject: n,
315
312
  abortSignal: o,
316
- runtimeDataFilters: l,
317
- ignoreViewExtent: c,
318
- setTimeBinningInfoWhenNotProvided: g,
313
+ runtimeDataFilters: c,
314
+ ignoreViewExtent: l,
315
+ setTimeBinningInfoWhenNotProvided: m,
319
316
  returnFeaturesExtent: f,
320
317
  returnStatisticsAggregatedIds: p,
321
318
  chartLimits: u,
322
319
  timeZone: d,
323
320
  errorStrings: y
324
321
  } = i;
325
- let m = e, F;
326
- return m && (ti(t, m), m = await Pt(m, t, void 0, o), a && n && (F = await ei({
322
+ let g = e, F;
323
+ return g && (ii(t, g), g = await Et(g, t, void 0, o), r && n && (F = await ti({
327
324
  updateSplitBySeries: s,
328
- config: m,
325
+ config: g,
329
326
  queryObject: n,
330
327
  errorStrings: y,
331
328
  abortSignal: o,
332
- runtimeDataFilters: l,
333
- ignoreViewExtent: c,
334
- setTimeBinningInfoWhenNotProvided: g,
329
+ runtimeDataFilters: c,
330
+ ignoreViewExtent: l,
331
+ setTimeBinningInfoWhenNotProvided: m,
335
332
  returnFeaturesExtent: f,
336
333
  returnStatisticsAggregatedIds: p,
337
334
  chartLimits: u
338
- })), m = Ke(m, r), Pe(d, m)), { alteredConfig: m, preFetchedQueryResponse: F };
335
+ })), g = Ze(g, a), we(d, g)), { alteredConfig: g, preFetchedQueryResponse: F };
339
336
  }
340
- function ii(i, e) {
337
+ function si(i, e) {
341
338
  let t = !1;
342
339
  if (e !== void 0) {
343
- const a = nt({ key: gt.Average, splitBy: e });
344
- t = Number.isFinite(i[a]);
340
+ const r = ot({ key: pt.Average, splitBy: e });
341
+ t = Number.isFinite(i[r]);
345
342
  }
346
343
  return t;
347
344
  }
348
- function Ki(i) {
349
- const { data: e, config: t, showEmptySeries: a } = i, s = t.series.length, r = te(t);
345
+ function ji(i) {
346
+ const { data: e, config: t, showEmptySeries: r } = i, s = t.series.length, a = te(t);
350
347
  let n = !1;
351
- if (!a && s > 1 && e) {
352
- const o = Qe(e), l = ke(t?.series), c = ie(t?.series), g = /* @__PURE__ */ new Set();
353
- switch (l) {
348
+ if (!r && s > 1 && e) {
349
+ const o = ze(e), c = ke(t?.series), l = ie(t?.series), m = /* @__PURE__ */ new Set();
350
+ switch (c) {
354
351
  case x.ComboLineAndBarSeries:
355
352
  case x.BarSeries:
356
353
  case x.RadarSeries:
357
354
  case x.LineSeries: {
358
- r.series.forEach((p) => {
355
+ a.series.forEach((p) => {
359
356
  if (Array.isArray(o)) {
360
357
  let u = "";
361
- "y" in p && (u = Array.isArray(p.y) ? p.y[0] : p.y, c === P.BarAndLineSplitByNoAggregation && (u = `${u}_${ge({ where: p.query?.where, keepSurroundingQuotes: !1, escape: !1 })}`), o.some(
362
- (y) => et({
358
+ "y" in p && (u = Array.isArray(p.y) ? p.y[0] : p.y, l === w.BarAndLineSplitByNoAggregation && (u = `${u}_${ge({ where: p.query?.where, keepSurroundingQuotes: !1, escape: !1 })}`), o.some(
359
+ (y) => tt({
363
360
  dataItem: y,
364
361
  x: p.x,
365
362
  y: u,
366
363
  aggregationType: t.series[0].query?.outStatistics?.[0]?.statisticType
367
364
  })
368
- ) && g.add(p));
365
+ ) && m.add(p));
369
366
  }
370
367
  });
371
368
  break;
372
369
  }
373
370
  case x.BoxPlotSeries: {
374
- if (ze(t)) {
375
- const p = Ge(t);
371
+ if (Ge(t)) {
372
+ const p = Je(t);
376
373
  t.series.forEach((u) => {
377
374
  let d, y;
378
375
  u.type === x.BoxPlotSeries ? (d = e.dataItems, y = d?.some(
379
- (m) => Je({
380
- dataItem: m,
376
+ (g) => et({
377
+ dataItem: g,
381
378
  splitBy: u.query?.where,
382
379
  showOutliers: p
383
380
  })
384
381
  )) : u.type === x.LineSeries && (d = e.meanLines, y = d?.some(
385
- (m) => ii(m, u.query?.where)
386
- )), y && g.add(u);
382
+ (g) => si(g, u.query?.where)
383
+ )), y && m.add(u);
387
384
  });
388
385
  }
389
386
  break;
390
387
  }
391
388
  }
392
- const f = Array.from(g.values());
393
- n = f.length > 0 && f.length < s, n && (r.series = f);
389
+ const f = Array.from(m.values());
390
+ n = f.length > 0 && f.length < s, n && (a.series = f);
394
391
  }
395
- return { seriesFilteredOut: n, filteredConfig: r };
392
+ return { seriesFilteredOut: n, filteredConfig: a };
396
393
  }
397
- const _i = (i) => i.hideEmptyRowsAndColumns, Qi = (i, e) => {
394
+ const Ki = (i) => i.hideEmptyRowsAndColumns, Zi = (i, e) => {
398
395
  i.hideEmptyRowsAndColumns = e;
399
- }, zi = (i, e) => {
396
+ }, _i = (i, e) => {
400
397
  const t = i.series[0];
401
398
  t.heatRulesType = e;
402
- }, Gi = (i) => i.series[0].heatRulesType, Ji = (i, e) => {
399
+ }, Qi = (i) => i.series[0].heatRulesType, zi = (i, e) => {
403
400
  const t = i.series[0];
404
401
  t.gradientRules = e;
405
- }, es = (i) => i.series[0].gradientRules, ts = (i) => {
406
- const { yField: e, config: t, layerInfo: a, commonStrings: s } = i, { layerFieldsInfo: r } = a, n = re(1, t), o = si(t), l = ae(t), c = t.series[0];
407
- if (typeof e == "string" && o !== e && c) {
408
- if (c.y = e, _t(t), o === n || l) {
409
- const g = k(r, e);
410
- $(t, 1, g);
402
+ }, Gi = (i) => i.series[0].gradientRules, Ji = (i) => {
403
+ const { yField: e, config: t, layerInfo: r, commonStrings: s } = i, { layerFieldsInfo: a } = r, n = se(1, t), o = ai(t), c = re(t), l = t.series[0];
404
+ if (typeof e == "string" && o !== e && l) {
405
+ if (l.y = e, Qt(t), o === n || c) {
406
+ const m = k(a, e);
407
+ $(t, 1, m);
411
408
  }
412
- we({ commonStrings: s, config: t, layerInfo: a });
409
+ Pe({ commonStrings: s, config: t, layerInfo: r });
413
410
  }
414
- }, si = (i) => i.series[0].y ?? "", is = (i) => {
415
- const { binning: e, config: t, commonStrings: a } = i, s = t.series[0];
416
- if (s.xTemporalBinning = e, e?.unit !== void 0 && e.unit in a.utilsStrings.heatChartCalendarDatePartsUnits) {
417
- const r = a.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
418
- $(t, 0, r);
411
+ }, ai = (i) => i.series[0].y ?? "", es = (i) => {
412
+ const { binning: e, config: t, commonStrings: r } = i, s = t.series[0];
413
+ if (s.xTemporalBinning = e, e?.unit !== void 0 && e.unit in r.utilsStrings.heatChartCalendarDatePartsUnits) {
414
+ const a = r.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
415
+ $(t, 0, a);
419
416
  }
420
- ee({ axisIndex: 0, commonStrings: a, config: t });
421
- }, ai = (i) => i.series[0].xTemporalBinning, ss = (i) => {
422
- const { binning: e, config: t, commonStrings: a } = i, s = t.series[0];
423
- if (s.yTemporalBinning = e, e?.unit !== void 0 && e.unit in a.utilsStrings.heatChartCalendarDatePartsUnits) {
424
- const r = a.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
425
- $(t, 1, r);
417
+ ee({ axisIndex: 0, commonStrings: r, config: t });
418
+ }, ri = (i) => i.series[0].xTemporalBinning, ts = (i) => {
419
+ const { binning: e, config: t, commonStrings: r } = i, s = t.series[0];
420
+ if (s.yTemporalBinning = e, e?.unit !== void 0 && e.unit in r.utilsStrings.heatChartCalendarDatePartsUnits) {
421
+ const a = r.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
422
+ $(t, 1, a);
426
423
  }
427
- ee({ axisIndex: 1, commonStrings: a, config: t });
428
- }, ri = (i) => i.series[0].yTemporalBinning, ni = (i, e) => {
424
+ ee({ axisIndex: 1, commonStrings: r, config: t });
425
+ }, ni = (i) => i.series[0].yTemporalBinning, oi = (i, e) => {
429
426
  e.orderOptions ??= {};
430
- const t = e.axes?.[0]?.valueFormat?.type === "category" ? N.Category : N.YValue, a = me(e)[0], s = e.axes?.[1]?.valueFormat?.type === "category" ? N.Category : N.YValue, r = me(e)[1], n = {
427
+ const t = e.axes?.[0]?.valueFormat?.type === "category" ? N.Category : N.YValue, r = me(e)[0], s = e.axes?.[1]?.valueFormat?.type === "category" ? N.Category : N.YValue, a = me(e)[1], n = {
431
428
  ...e.orderOptions.data ?? {},
432
429
  orderType: N.MultiAxes
433
430
  };
434
- a === ce.customSort && t === N.Category && (n.orderByX = [...i]), r === ce.customSort && s === N.Category && (n.orderByY = [...i]), Object.keys(n).length > 1 && (e.orderOptions.data = n);
435
- }, as = (i, e) => {
431
+ r === ce.customSort && t === N.Category && (n.orderByX = [...i]), a === ce.customSort && s === N.Category && (n.orderByY = [...i]), Object.keys(n).length > 1 && (e.orderOptions.data = n);
432
+ }, is = (i, e) => {
436
433
  const t = e.series[0];
437
434
  t.gridLine && (t.gridLine.width = i);
438
- }, rs = (i) => i.series[0].gridLine?.width, ns = (i, e) => {
439
- const t = e.series[0], a = i?.length === 4 && i.every((s) => typeof s == "number");
440
- t.gridLine && a && (t.gridLine.color = i);
441
- }, os = (i) => i.series[0].gridLine?.color, ls = (i, e) => {
435
+ }, ss = (i) => i.series[0].gridLine?.width, as = (i, e) => {
436
+ const t = e.series[0], r = i?.length === 4 && i.every((s) => typeof s == "number");
437
+ t.gridLine && r && (t.gridLine.color = i);
438
+ }, rs = (i) => i.series[0].gridLine?.color, ns = (i, e) => {
442
439
  const t = e.legend;
443
440
  t && (t.position = i);
444
- }, cs = (i) => i.legend?.position ?? Bt.Bottom, us = (i) => i.series[0].query?.outStatistics?.[0]?.onStatisticField, ds = (i) => {
445
- const { field: e, config: t, layerInfo: a, commonStrings: s } = i, r = t.series[0].query?.outStatistics?.[0], n = le(t, a, s);
446
- r ? (r.onStatisticField = e, r.outStatisticFieldName = `${r.statisticType}_${e}`) : t.series[0].query = {
441
+ }, os = (i) => i.legend?.position ?? At.Bottom, ls = (i) => i.series[0].query?.outStatistics?.[0]?.onStatisticField, cs = (i) => {
442
+ const { field: e, config: t, layerInfo: r, commonStrings: s } = i, a = t.series[0].query?.outStatistics?.[0], n = le(t, r, s);
443
+ a ? (a.onStatisticField = e, a.outStatisticFieldName = `${a.statisticType}_${e}`) : t.series[0].query = {
447
444
  outStatistics: [
448
445
  {
449
446
  onStatisticField: e,
@@ -451,53 +448,53 @@ const _i = (i) => i.hideEmptyRowsAndColumns, Qi = (i, e) => {
451
448
  statisticType: I.Count
452
449
  }
453
450
  ]
454
- }, n && t.title && (t.title.content.text = Z(t, a, s));
455
- }, ys = (i) => i.series[0].query?.outStatistics?.[0].statisticType ?? I.Count, ms = (i) => {
456
- const { aggregationType: e, config: t, layerInfo: a, commonStrings: s } = i, r = t.series[0]?.query?.outStatistics?.[0], n = le(t, a, s);
457
- r && e !== I.NoAggregation && (r.statisticType = e, r.outStatisticFieldName = `${e}_${r.onStatisticField}`), (e === I.Count || e === I.Sum) && oi(W.Zero, t), n && t.title && (t.title.content.text = Z(t, a, s));
458
- }, gs = (i) => i.nullPolicy, oi = (i, e) => {
451
+ }, n && t.title && (t.title.content.text = K(t, r, s));
452
+ }, us = (i) => i.series[0].query?.outStatistics?.[0].statisticType ?? I.Count, ds = (i) => {
453
+ const { aggregationType: e, config: t, layerInfo: r, commonStrings: s } = i, a = t.series[0]?.query?.outStatistics?.[0], n = le(t, r, s);
454
+ a && e !== I.NoAggregation && (a.statisticType = e, a.outStatisticFieldName = `${e}_${a.onStatisticField}`), (e === I.Count || e === I.Sum) && li(H.Zero, t), n && t.title && (t.title.content.text = K(t, r, s));
455
+ }, ys = (i) => i.nullPolicy, li = (i, e) => {
459
456
  e.nullPolicy = i;
460
- }, ps = (i) => i.series[0].emptyCells, fs = (i, e) => {
457
+ }, ms = (i) => i.series[0].emptyCells, gs = (i, e) => {
461
458
  e.series[0].emptyCells = i;
462
- }, Ss = (i) => i.series[0].emptyCells?.text, Fs = (i, e) => {
459
+ }, ps = (i) => i.series[0].emptyCells?.text, fs = (i, e) => {
463
460
  e.series[0].emptyCells ? e.series[0].emptyCells.text = i : e.series[0].emptyCells = { text: i };
464
- }, hs = (i) => i.includeLeapDay, Ts = (i, e) => {
461
+ }, Ss = (i) => i.includeLeapDay, Fs = (i, e) => {
465
462
  e.includeLeapDay = i;
466
- }, xs = (i) => i.series[0].emptyCells?.symbol, Bs = (i, e) => {
463
+ }, hs = (i) => i.series[0].emptyCells?.symbol, Ts = (i, e) => {
467
464
  e.series[0].emptyCells ? e.series[0].emptyCells.symbol = i : e.series[0].emptyCells = { symbol: i };
468
465
  };
469
- function Cs(i) {
466
+ function xs(i) {
470
467
  return i.viewType;
471
468
  }
472
- function bs(i, e) {
473
- pt(e) || (e.viewType = i);
469
+ function Bs(i, e) {
470
+ ft(e) || (e.viewType = i);
474
471
  }
475
- function As(i) {
472
+ function Cs(i) {
476
473
  return i.series[0].classBreaksRules?.breaksCount ?? G;
477
474
  }
478
- function vs(i, e) {
475
+ function As(i, e) {
479
476
  e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.breaksCount = i ?? G : e.series[0].classBreaksRules = {
480
477
  breaksCount: i ?? G
481
478
  };
482
479
  }
483
- function Is(i) {
480
+ function bs(i) {
484
481
  return i.series[0].classBreaksRules?.classificationMethod;
485
482
  }
486
- function Ls(i, e) {
483
+ function vs(i, e) {
487
484
  e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.classificationMethod = i : e.series[0].classBreaksRules = {
488
485
  classificationMethod: i
489
486
  }, e.series[0].classBreaksRules.breaksCount = e.series[0].classBreaksRules.breaksCount ?? G;
490
487
  }
491
- function Ds(i, e) {
488
+ function Is(i, e) {
492
489
  e.firstDayOfWeek = i;
493
490
  }
494
- function Ns(i) {
491
+ function Ls(i) {
495
492
  return i.firstDayOfWeek;
496
493
  }
497
- function Os(i) {
494
+ function Ds(i) {
498
495
  return i.series[0].classBreaksRules?.colorRampInfo?.name;
499
496
  }
500
- function Vs(i, e) {
497
+ function Ns(i, e) {
501
498
  e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.colorRampInfo = {
502
499
  ...e.series[0].classBreaksRules.colorRampInfo,
503
500
  name: i
@@ -508,10 +505,10 @@ function Vs(i, e) {
508
505
  }
509
506
  };
510
507
  }
511
- function qs(i) {
508
+ function Os(i) {
512
509
  return i.series[0].classBreaksRules?.colorRampInfo?.flipped ?? !1;
513
510
  }
514
- function Rs(i, e) {
511
+ function Vs(i, e) {
515
512
  e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.colorRampInfo = {
516
513
  ...e.series[0].classBreaksRules.colorRampInfo,
517
514
  flipped: i
@@ -521,25 +518,25 @@ function Rs(i, e) {
521
518
  }
522
519
  };
523
520
  }
524
- const li = [
521
+ const ci = [
525
522
  R.DayOfMonth,
526
523
  R.MonthOfYear
527
- ], be = (i) => {
524
+ ], Ae = (i) => {
528
525
  let e;
529
- return _(i) ? e = de() : (q(i) || Q(i)) && (e = J()), e;
530
- }, Ae = (i) => q(i) || Q(i), ve = (i) => {
531
- const { axisIndex: e, commonStrings: t, config: a, valueFormat: s } = i, r = a.axes?.[e]?.valueFormat;
532
- s !== void 0 && r?.type !== s.type && Ve({ config: a, commonStrings: t, valueFormat: s, axisIndex: e });
533
- }, ci = (i, e) => {
526
+ return _(i) ? e = ye() : (q(i) || Q(i)) && (e = J()), e;
527
+ }, be = (i) => q(i) || Q(i), ve = (i) => {
528
+ const { axisIndex: e, commonStrings: t, config: r, valueFormat: s } = i, a = r.axes?.[e]?.valueFormat;
529
+ s !== void 0 && a?.type !== s.type && Ve({ config: r, commonStrings: t, valueFormat: s, axisIndex: e });
530
+ }, ui = (i, e) => {
534
531
  let t;
535
532
  return e === 0 ? t = i.series[0]?.xTemporalBinning : e === 1 && (t = i.series[0]?.yTemporalBinning), t;
536
533
  }, Ie = (i, e) => i.utilsStrings.heatChartCalendarDatePartsUnits[e] ?? "", Le = (i, e) => {
537
- let t = li[i];
534
+ let t = ci[i];
538
535
  return i === 0 && e?.unit === R.DayOfWeek ? t = R.HourOfDay : i === 1 && e?.unit === R.HourOfDay && (t = R.DayOfWeek), {
539
536
  type: x.CalendarDateParts,
540
537
  unit: t
541
538
  };
542
- }, ui = (i) => {
539
+ }, di = (i) => {
543
540
  let e = {};
544
541
  switch (i.unit) {
545
542
  case R.DayOfMonth:
@@ -563,22 +560,22 @@ const li = [
563
560
  intlOptions: e
564
561
  };
565
562
  }, De = (i) => {
566
- const { axisIndex: e, binning: t, commonStrings: a, config: s, fieldName: r, layerInfo: n } = i, o = s.series[0], l = re(e, s), c = k(n.layerFieldsInfo, r);
567
- e === 0 ? o.xTemporalBinning = t : e === 1 && (o.yTemporalBinning = t), t !== void 0 && (l === "" || l === c || l === Ie(a, t.unit) || l === a.xAxis) && $(s, e, Ie(a, t.unit));
563
+ const { axisIndex: e, binning: t, commonStrings: r, config: s, fieldName: a, layerInfo: n } = i, o = s.series[0], c = se(e, s), l = k(n.layerFieldsInfo, a);
564
+ e === 0 ? o.xTemporalBinning = t : e === 1 && (o.yTemporalBinning = t), t !== void 0 && (c === "" || c === l || c === Ie(r, t.unit) || c === r.xAxis) && $(s, e, Ie(r, t.unit));
568
565
  }, ee = (i) => {
569
- const { axisIndex: e, commonStrings: t, config: a } = i, s = ci(a, e), r = s ? ui(s) : void 0;
570
- Ve({ config: a, commonStrings: t, valueFormat: r, axisIndex: e });
571
- }, we = (i) => {
572
- const { commonStrings: e, config: t, layerInfo: a } = i, s = t.series[0]?.x ?? "", r = t.series[0]?.y ?? "", n = Fe(a.layerFieldsInfo, s), o = Fe(a.layerFieldsInfo, r), l = be(n), c = be(o), g = Ae(n) && Ae(o), f = _(n) && _(o);
573
- if (ve({ axisIndex: 0, commonStrings: e, config: t, valueFormat: l }), ve({ axisIndex: 1, commonStrings: e, config: t, valueFormat: c }), g) {
574
- const p = ai(t) === void 0, u = ri(t) === void 0;
566
+ const { axisIndex: e, commonStrings: t, config: r } = i, s = ui(r, e), a = s ? di(s) : void 0;
567
+ Ve({ config: r, commonStrings: t, valueFormat: a, axisIndex: e });
568
+ }, Pe = (i) => {
569
+ const { commonStrings: e, config: t, layerInfo: r } = i, s = t.series[0]?.x ?? "", a = t.series[0]?.y ?? "", n = he(r.layerFieldsInfo, s), o = he(r.layerFieldsInfo, a), c = Ae(n), l = Ae(o), m = be(n) && be(o), f = _(n) && _(o);
570
+ if (ve({ axisIndex: 0, commonStrings: e, config: t, valueFormat: c }), ve({ axisIndex: 1, commonStrings: e, config: t, valueFormat: l }), m) {
571
+ const p = ri(t) === void 0, u = ni(t) === void 0;
575
572
  p && (De({
576
573
  axisIndex: 0,
577
574
  binning: Le(0, t.series[0].yTemporalBinning),
578
575
  commonStrings: e,
579
576
  config: t,
580
577
  fieldName: s,
581
- layerInfo: a
578
+ layerInfo: r
582
579
  }), ee({
583
580
  axisIndex: 0,
584
581
  commonStrings: e,
@@ -588,8 +585,8 @@ const li = [
588
585
  binning: Le(1, t.series[0].xTemporalBinning),
589
586
  commonStrings: e,
590
587
  config: t,
591
- fieldName: r,
592
- layerInfo: a
588
+ fieldName: a,
589
+ layerInfo: r
593
590
  }), ee({
594
591
  axisIndex: 1,
595
592
  commonStrings: e,
@@ -598,123 +595,123 @@ const li = [
598
595
  }
599
596
  f && (t.series[0].xTemporalBinning = void 0, t.series[0].yTemporalBinning = void 0);
600
597
  };
601
- function di(i) {
598
+ function yi(i) {
602
599
  const e = {};
603
600
  return i.series.forEach((t) => {
604
- qt(t) && "nullCategory" in t && t.nullCategory !== void 0 && (e.text ??= t.nullCategory.text, t.type === x.BarSeries ? e.fillSymbol ??= t.nullCategory.fillSymbol : e.markerSymbol ??= t.nullCategory.markerSymbol);
601
+ kt(t) && "nullCategory" in t && t.nullCategory !== void 0 && (e.text ??= t.nullCategory.text, t.type === x.BarSeries ? e.fillSymbol ??= t.nullCategory.fillSymbol : e.markerSymbol ??= t.nullCategory.markerSymbol);
605
602
  }), e.text || e.fillSymbol || e.markerSymbol ? e : void 0;
606
603
  }
607
604
  function ne(i) {
608
- const { seriesIndex: e, xAxisField: t, aggregationType: a, config: s, layerInfo: r, commonStrings: n } = i, o = j(r?.layer).idField;
609
- let l;
610
- const c = s.series[e ?? 0];
611
- let g = !1, f = !1, p = !1;
612
- if (c === void 0) {
605
+ const { seriesIndex: e, xAxisField: t, aggregationType: r, config: s, layerInfo: a, commonStrings: n } = i, o = j(a?.layer).idField;
606
+ let c;
607
+ const l = s.series[e ?? 0];
608
+ let m = !1, f = !1, p = !1;
609
+ if (l === void 0) {
613
610
  const T = s.series;
614
- g = T.slice(0, e).every((A) => O(A)), f = T.slice(0, e).every((A) => V(A)), p = T.slice(0, e).every((A) => he(A));
611
+ m = T.slice(0, e).every((b) => O(b)), f = T.slice(0, e).every((b) => V(b)), p = T.slice(0, e).every((b) => Te(b));
615
612
  } else
616
- g = O(c), f = V(c), p = he(c);
617
- g ? l = Lt({
613
+ m = O(l), f = V(l), p = Te(l);
614
+ m ? c = Nt({
618
615
  commonStrings: n,
619
616
  seriesIndex: e,
620
617
  objectIDField: o
621
- }) : f ? l = Dt({
618
+ }) : f ? c = Ot({
622
619
  commonStrings: n,
623
620
  seriesIndex: e,
624
621
  objectIDField: o
625
- }) : p ? l = Nt(n, o) : l = Ot({
622
+ }) : p ? c = Vt(n, o) : c = qt({
626
623
  seriesIndex: e,
627
624
  objectIDField: o,
628
625
  commonStrings: n
629
626
  });
630
- const u = s.series[0]?.dataLabels, d = "nullCategory" in s.series[0] ? di(s) : void 0, y = "binTemporalData" in s.series[0] ? s.series[0].binTemporalData : void 0, m = "classBreakRules" in s.series[0] ? s.series[0].classBreakRules : void 0, F = "xTemporalBinning" in s.series[0] ? s.series[0].xTemporalBinning : void 0, S = "yTemporalBinning" in s.series[0] ? s.series[0].yTemporalBinning : void 0, h = "emptyCells" in s.series[0] ? s.series[0].emptyCells : void 0, b = s.series[0].query && "fetchNullValues" in s.series[0].query ? s.series[0].query?.fetchNullValues : void 0, C = {
631
- ...l,
627
+ const u = s.series[0]?.dataLabels, d = "nullCategory" in s.series[0] ? yi(s) : void 0, y = "binTemporalData" in s.series[0] ? s.series[0].binTemporalData : void 0, g = "classBreakRules" in s.series[0] ? s.series[0].classBreakRules : void 0, F = "xTemporalBinning" in s.series[0] ? s.series[0].xTemporalBinning : void 0, S = "yTemporalBinning" in s.series[0] ? s.series[0].yTemporalBinning : void 0, h = "emptyCells" in s.series[0] ? s.series[0].emptyCells : void 0, A = s.series[0].query && "fetchNullValues" in s.series[0].query ? s.series[0].query?.fetchNullValues : void 0, B = {
628
+ ...c,
632
629
  x: t,
633
630
  y: "",
634
631
  dataLabels: {
635
- ...l.dataLabels,
636
- type: l.dataLabels?.type ?? x.Text,
637
- content: { ...l.dataLabels?.content, ...u?.content, type: At.TS },
632
+ ...c.dataLabels,
633
+ type: c.dataLabels?.type ?? x.Text,
634
+ content: { ...c.dataLabels?.content, ...u?.content, type: It.TS },
638
635
  visible: u?.visible ?? !1
639
636
  },
640
637
  ...d !== void 0 ? { nullCategory: d } : {},
641
638
  ...y !== void 0 ? { binTemporalData: y } : {},
642
- ...m !== void 0 ? { classBreakRules: m } : {},
639
+ ...g !== void 0 ? { classBreakRules: g } : {},
643
640
  ...F !== void 0 ? { xTemporalBinning: F } : {},
644
641
  ...S !== void 0 ? { yTemporalBinning: S } : {},
645
642
  ...h !== void 0 ? { emptyCells: h } : {}
646
643
  };
647
- if (C.query = {
644
+ if (B.query = {
648
645
  groupByFieldsForStatistics: [t],
649
- ...b !== void 0 ? { fetchNullValues: b } : {}
650
- }, a !== I.NoAggregation && o !== void 0) {
651
- const T = `${a}_${o}_0`.toUpperCase();
652
- C.y = T, C.query.outStatistics = [
646
+ ...A !== void 0 ? { fetchNullValues: A } : {}
647
+ }, r !== I.NoAggregation && o !== void 0) {
648
+ const T = `${r}_${o}_0`.toUpperCase();
649
+ B.y = T, B.query.outStatistics = [
653
650
  {
654
- statisticType: a,
651
+ statisticType: r,
655
652
  onStatisticField: o,
656
653
  outStatisticFieldName: T
657
654
  }
658
655
  ];
659
656
  }
660
- if (L(s.series[0]) && L(C)) {
661
- let T = Yt(s);
662
- T === ue.Quarter && (T = ue.Month), C.temporalBinning = {
657
+ if (L(s.series[0]) && L(B)) {
658
+ let T = $t(s);
659
+ T === de.Quarter && (T = de.Month), B.temporalBinning = {
663
660
  ...s.series[0]?.temporalBinning,
664
661
  unit: T
665
662
  };
666
663
  }
667
- return te(C);
664
+ return te(B);
668
665
  }
669
- function Z(i, e, t) {
670
- const { layerFieldsInfo: a } = e, { idField: s, isTraditionalTypeOID: r } = j(e.layer), n = w(i), o = H(i), l = oe(i), c = K(i), g = r && (o.length === 0 || o.includes(s)), f = It(l, t), p = g ? "" : o.map((h) => k(a ?? [], h)).join(", "), u = k(a ?? [], n), d = k(a ?? [], c), y = i.series.some((h) => Y(h)), m = y ? "category" : "xAxisField", F = u;
666
+ function K(i, e, t) {
667
+ const { layerFieldsInfo: r } = e, { idField: s, isTraditionalTypeOID: a } = j(e.layer), n = P(i), o = W(i), c = oe(i), l = Z(i), m = a && (o.length === 0 || o.includes(s)), f = Dt(c, t), p = m ? "" : o.map((h) => k(r ?? [], h)).join(", "), u = k(r ?? [], n), d = k(r ?? [], l), y = i.series.some((h) => Y(h)), g = y ? "category" : "xAxisField", F = u;
671
668
  let S = "";
672
669
  if (fe({
673
670
  fieldName: n,
674
671
  numericFields: o,
675
- fieldList: a
672
+ fieldList: r
676
673
  }))
677
674
  S = M(t.titleLabels.aggrTypeOfAggrFields, {
678
675
  aggregationType: f,
679
676
  aggregationFields: p
680
677
  });
681
- else if (l === I.NoAggregation) {
682
- const h = g ? s : p;
683
- if (c === "") {
684
- const b = y ? "aggrTypeCategory" : "aggrTypeXAxisField";
685
- S = M(t.titleLabels[b], {
678
+ else if (c === I.NoAggregation) {
679
+ const h = m ? s : p;
680
+ if (l === "") {
681
+ const A = y ? "aggrTypeCategory" : "aggrTypeXAxisField";
682
+ S = M(t.titleLabels[A], {
686
683
  aggregationType: h,
687
- [m]: F
684
+ [g]: F
688
685
  });
689
686
  } else {
690
- const b = y ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
691
- S = M(t.titleLabels[b], {
687
+ const A = y ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
688
+ S = M(t.titleLabels[A], {
692
689
  aggregationType: h,
693
- [m]: F,
690
+ [g]: F,
694
691
  splitByField: d
695
692
  });
696
693
  }
697
- } else if (l === I.Count)
698
- if (c === "") {
694
+ } else if (c === I.Count)
695
+ if (l === "") {
699
696
  const h = y ? "aggrTypeCategory" : "aggrTypeXAxisField";
700
697
  S = M(t.titleLabels[h], {
701
698
  aggregationType: f,
702
- [m]: F
699
+ [g]: F
703
700
  });
704
701
  } else {
705
702
  const h = y ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
706
703
  S = M(t.titleLabels[h], {
707
704
  aggregationType: f,
708
- [m]: F,
705
+ [g]: F,
709
706
  splitByField: d
710
707
  });
711
708
  }
712
- else if (c !== "") {
709
+ else if (l !== "") {
713
710
  const h = y ? "aggrTypeOfAggrFieldByCategoryBySplitByField" : "aggrTypeOfAggrFieldByXAxisFieldBySplitByField";
714
711
  S = M(t.titleLabels[h], {
715
712
  aggregationType: f,
716
713
  aggregationField: p,
717
- [m]: F,
714
+ [g]: F,
718
715
  splitByField: d
719
716
  });
720
717
  } else if (o.length > 0) {
@@ -722,7 +719,7 @@ function Z(i, e, t) {
722
719
  S = M(t.titleLabels[h], {
723
720
  aggregationType: f,
724
721
  aggregationFields: p,
725
- [m]: F
722
+ [g]: F
726
723
  });
727
724
  }
728
725
  return S;
@@ -731,40 +728,40 @@ const Ee = (i) => ge({
731
728
  where: i.query?.where,
732
729
  normalize: !1,
733
730
  escape: !1
734
- }) ?? "", oe = (i) => i?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? I.NoAggregation, K = He(
731
+ }) ?? "", oe = (i) => i?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? I.NoAggregation, Z = We(
735
732
  (i) => {
736
733
  const e = i?.series?.[0]?.query?.where?.split("=")[0].trim() ?? "";
737
- return ft(i?.series?.[0]?.query?.where) ? "" : e;
734
+ return St(i?.series?.[0]?.query?.where) ? "" : e;
738
735
  },
739
736
  (i) => i?.series?.[0]?.query?.where
740
- ), H = (i) => {
737
+ ), W = (i) => {
741
738
  let e = [];
742
- if (K(i) === "")
739
+ if (Z(i) === "")
743
740
  e = i?.series.map((t) => {
744
- const a = t.query?.outStatistics?.map((s) => s.onStatisticField) ?? [];
745
- return a?.length > 0 ? a : t.y;
741
+ const r = t.query?.outStatistics?.map((s) => s.onStatisticField) ?? [];
742
+ return r?.length > 0 ? r : t.y;
746
743
  }).flat() ?? [];
747
744
  else {
748
- const t = i?.series?.[0], a = t?.query?.outStatistics?.[0]?.onStatisticField ?? [t?.y].flat()[0];
749
- e = a !== void 0 ? [a] : [];
745
+ const t = i?.series?.[0], r = t?.query?.outStatistics?.[0]?.onStatisticField ?? [t?.y].flat()[0];
746
+ e = r !== void 0 ? [r] : [];
750
747
  }
751
748
  return e.filter((t) => t !== "");
752
749
  };
753
750
  function Me(i) {
754
- const { splitByField: e, numericFields: t, layer: a, seriesIndex: s } = i, r = j(a).idField ?? "";
755
- return e === "" ? t[s] ?? r : t[0] ?? r;
751
+ const { splitByField: e, numericFields: t, layer: r, seriesIndex: s } = i, a = j(r).idField ?? "";
752
+ return e === "" ? t[s] ?? a : t[0] ?? a;
756
753
  }
757
- function yi(i) {
758
- const { numericFields: e, aggregationType: t, config: a, layerInfo: s } = i;
759
- let r = !1;
760
- t === I.Count ? r = !0 : t === I.NoAggregation && (r = e.every((l) => {
761
- const c = s.layerFieldsInfo.find((g) => g.name === l);
762
- return c !== void 0 ? Te(c) : !1;
763
- })), xe(a, 1, r);
764
- const n = a.series.some((l) => O(l)), o = a.series.some((l) => V(l));
754
+ function mi(i) {
755
+ const { numericFields: e, aggregationType: t, config: r, layerInfo: s } = i;
756
+ let a = !1;
757
+ t === I.Count ? a = !0 : t === I.NoAggregation && (a = e.every((c) => {
758
+ const l = s.layerFieldsInfo.find((m) => m.name === c);
759
+ return l !== void 0 ? xe(l) : !1;
760
+ })), Be(r, 1, a);
761
+ const n = r.series.some((c) => O(c)), o = r.series.some((c) => V(c));
765
762
  if (n || o) {
766
- const l = w(a), c = s.layerFieldsInfo.find((f) => f.name === l), g = c !== void 0 && Te(c);
767
- xe(a, 0, g);
763
+ const c = P(r), l = s.layerFieldsInfo.find((f) => f.name === c), m = l !== void 0 && xe(l);
764
+ Be(r, 0, m);
768
765
  }
769
766
  }
770
767
  function Ye(i) {
@@ -774,111 +771,111 @@ function Ye(i) {
774
771
  const me = (i) => {
775
772
  let e;
776
773
  if (X(i)) {
777
- const t = i.orderOptions?.data?.orderByX ?? [""], a = i.orderOptions?.data?.orderByY ?? [""], s = i.axes?.[0]?.valueFormat?.type === "category" ? N.Category : N.YValue, r = i.axes?.[1]?.valueFormat?.type === "category" ? N.Category : N.YValue;
778
- e = [Be(t, s), Be(a, r)];
774
+ const t = i.orderOptions?.data?.orderByX ?? [""], r = i.orderOptions?.data?.orderByY ?? [""], s = i.axes?.[0]?.valueFormat?.type === "category" ? N.Category : N.YValue, a = i.axes?.[1]?.valueFormat?.type === "category" ? N.Category : N.YValue;
775
+ e = [Ce(t, s), Ce(r, a)];
779
776
  } else {
780
- const t = i.orderOptions?.data?.orderType ?? N.Category, a = i.orderOptions?.data && "orderBy" in i.orderOptions.data ? i.orderOptions.data.orderBy : Ct.Ascending;
781
- e = [xt(a, t)];
777
+ const t = i.orderOptions?.data?.orderType ?? N.Category, r = i.orderOptions?.data && "orderBy" in i.orderOptions.data ? i.orderOptions.data.orderBy : bt.Ascending;
778
+ e = [Ct(r, t)];
782
779
  }
783
780
  return e;
784
781
  };
785
- function mi(i) {
786
- const { xAxisField: e, numericFields: t, aggregationType: a, config: s, layerInfo: r, commonStrings: n } = i, { layerFieldsInfo: o } = r, l = ne({
782
+ function gi(i) {
783
+ const { xAxisField: e, numericFields: t, aggregationType: r, config: s, layerInfo: a, commonStrings: n } = i, { layerFieldsInfo: o } = a, c = ne({
787
784
  config: s,
788
785
  xAxisField: e,
789
- aggregationType: a,
790
- layerInfo: r,
786
+ aggregationType: r,
787
+ layerInfo: a,
791
788
  seriesIndex: 0,
792
789
  commonStrings: n
793
- }), c = se({
790
+ }), l = ae({
794
791
  config: s,
795
792
  xAxisField: e,
796
793
  numericFields: t,
797
- aggregationType: a,
798
- layer: r.layer,
794
+ aggregationType: r,
795
+ layer: a.layer,
799
796
  fieldList: o
800
- }).name, g = w(s), f = H(s), p = fe({
801
- fieldName: g,
797
+ }).name, m = P(s), f = W(s), p = fe({
798
+ fieldName: m,
802
799
  numericFields: f,
803
800
  fieldList: o
804
801
  }) ? s.series[0] : void 0, u = `series_${Date.now()}`, d = p?.id ?? u, y = p?.name ?? n.axisLabels.values, F = {
805
- ...p ?? l,
802
+ ...p ?? c,
806
803
  id: d,
807
804
  name: y,
808
805
  x: U,
809
- y: c
806
+ y: l
810
807
  }, S = [];
811
808
  for (const h of t)
812
809
  S.push({
813
810
  onStatisticField: h,
814
811
  outStatisticFieldName: `${h}_0`.toUpperCase(),
815
- statisticType: a
812
+ statisticType: r
816
813
  });
817
814
  return F.query = { outStatistics: S }, s.series.length === 1 && ((O(F) || V(F)) && Xe(F, s.series[0]), Y(F) ? F.fillSymbol = s.series[0].fillSymbol : (O(F) || V(F)) && (F.lineSymbol = s.series[0].lineSymbol, F.markerSymbol = s.series[0].markerSymbol)), [F];
818
815
  }
819
816
  function $e(i) {
820
- const { xAxisField: e, numericFields: t, aggregationType: a, config: s, layerInfo: r, commonStrings: n } = i, { layerFieldsInfo: o } = r, l = j(r.layer).idField, c = [];
817
+ const { xAxisField: e, numericFields: t, aggregationType: r, config: s, layerInfo: a, commonStrings: n } = i, { layerFieldsInfo: o } = a, c = j(a.layer).idField, l = [];
821
818
  for (let d = 0; d < t.length; d += 1) {
822
819
  const y = ne({
823
820
  config: s,
824
821
  xAxisField: e,
825
- aggregationType: a,
826
- layerInfo: r,
822
+ aggregationType: r,
823
+ layerInfo: a,
827
824
  seriesIndex: d,
828
825
  commonStrings: n
829
- }), m = s.series[d]?.y, F = typeof m == "string" && m.trim() !== "" && !o.find((D) => D.name === m) ? m : se({
826
+ }), g = s.series[d]?.y, F = typeof g == "string" && g.trim() !== "" && !o.find((D) => D.name === g) ? g : ae({
830
827
  config: s,
831
828
  xAxisField: e,
832
829
  numericFields: t,
833
- aggregationType: a,
834
- layer: r.layer,
830
+ aggregationType: r,
831
+ layer: a.layer,
835
832
  numericFieldIndex: d,
836
833
  fieldList: o
837
834
  }).name, S = t[d], h = s.series.find(
838
835
  (D) => D.query?.where === void 0 && (D.query?.outStatistics?.length === 1 && D.query?.outStatistics?.[0]?.onStatisticField === S || D.query?.outStatistics === void 0 && (D.y === S || D.x === S))
839
- ), b = S !== l ? S : y.id, C = h?.id ?? b, T = h?.name ?? k(o, S) ?? C, A = h ?? y, v = {
840
- ...A,
841
- id: C,
836
+ ), A = S !== c ? S : y.id, B = h?.id ?? A, T = h?.name ?? k(o, S) ?? B, b = h ?? y, v = {
837
+ ...b,
838
+ id: B,
842
839
  name: T
843
840
  };
844
841
  let E = S;
845
- v.query !== void 0 && (a !== I.NoAggregation ? (E = v.type === x.HeatSeries && h?.type === x.HeatSeries ? S : F, v.query.outStatistics = [
842
+ v.query !== void 0 && (r !== I.NoAggregation ? (E = v.type === x.HeatSeries && h?.type === x.HeatSeries ? S : F, v.query.outStatistics = [
846
843
  {
847
- ...A.query?.outStatistics?.[0] ?? {},
844
+ ...b.query?.outStatistics?.[0] ?? {},
848
845
  onStatisticField: S,
849
846
  outStatisticFieldName: F,
850
- statisticType: a
847
+ statisticType: r
851
848
  }
852
- ]) : delete v.query.outStatistics), v.y = E, c.push(v);
849
+ ]) : delete v.query.outStatistics), v.y = E, l.push(v);
853
850
  }
854
- const g = c.filter((d) => Y(d)), f = c.filter(
851
+ const m = l.filter((d) => Y(d)), f = l.filter(
855
852
  (d) => O(d) || V(d)
856
853
  ), p = s.series.filter((d) => Y(d)), u = s.series.filter(
857
854
  (d) => O(d) || V(d)
858
855
  );
859
- return p.length === 1 && g.length === 1 && Y(p[0]) && Y(g[0]) && (g[0].fillSymbol = p[0].fillSymbol), u.length === 1 && f.length === 1 && ((O(u[0]) && O(f[0]) || V(u[0]) && V(f[0])) && Xe(f[0], u[0]), (O(u[0]) && O(f[0]) || V(u[0]) && V(f[0])) && (f[0].lineSymbol = u[0].lineSymbol, f[0].markerSymbol = u[0].markerSymbol)), c;
856
+ return p.length === 1 && m.length === 1 && Y(p[0]) && Y(m[0]) && (m[0].fillSymbol = p[0].fillSymbol), u.length === 1 && f.length === 1 && ((O(u[0]) && O(f[0]) || V(u[0]) && V(f[0])) && Xe(f[0], u[0]), (O(u[0]) && O(f[0]) || V(u[0]) && V(f[0])) && (f[0].lineSymbol = u[0].lineSymbol, f[0].markerSymbol = u[0].markerSymbol)), l;
860
857
  }
861
- function ks(i) {
862
- const { aggregationType: e, config: t, layerInfo: a, commonStrings: s } = i, { layerFieldsInfo: r, layer: n } = a, o = w(t), l = H(t), c = K(t), g = oe(t), f = le(t, a, s), p = We(t, a, s);
858
+ function qs(i) {
859
+ const { aggregationType: e, config: t, layerInfo: r, commonStrings: s } = i, { layerFieldsInfo: a, layer: n } = r, o = P(t), c = W(t), l = Z(t), m = oe(t), f = le(t, r, s), p = He(t, r, s);
863
860
  if (t.series.forEach((u, d) => {
864
- const y = se({
861
+ const y = ae({
865
862
  config: t,
866
863
  xAxisField: o,
867
- numericFields: l,
864
+ numericFields: c,
868
865
  aggregationType: e,
869
- splitByField: c,
866
+ splitByField: l,
870
867
  layer: n,
871
868
  seriesIndex: d,
872
869
  numericFieldIndex: d,
873
- fieldList: r
870
+ fieldList: a
874
871
  }).name;
875
872
  u.y = y;
876
- const m = Me({
877
- splitByField: c,
878
- numericFields: l,
873
+ const g = Me({
874
+ splitByField: l,
875
+ numericFields: c,
879
876
  layer: n,
880
877
  seriesIndex: d
881
- }), F = u.query?.outStatistics?.[0]?.onStatisticField ?? m;
878
+ }), F = u.query?.outStatistics?.[0]?.onStatisticField ?? g;
882
879
  u.query = {
883
880
  ...u.query,
884
881
  outStatistics: e === I.NoAggregation ? void 0 : [
@@ -889,42 +886,42 @@ function ks(i) {
889
886
  onStatisticField: F
890
887
  }
891
888
  ]
892
- }, "temporalBinning" in u && u.temporalBinning !== void 0 && (u.temporalBinning.nullPolicy = e === I.NoAggregation ? W.Interpolate : W.Null), e === I.NoAggregation && Wt(t);
893
- }), f && t.title && (t.title.content.text = Z(t, a, s)), p && t.series[0].type !== x.HeatSeries) {
889
+ }, "temporalBinning" in u && u.temporalBinning !== void 0 && (u.temporalBinning.nullPolicy = e === I.NoAggregation ? H.Interpolate : H.Null), e === I.NoAggregation && Wt(t);
890
+ }), f && t.title && (t.title.content.text = K(t, r, s)), p && t.series[0].type !== x.HeatSeries) {
894
891
  const u = pe({
895
892
  config: t,
896
- layerInfo: a,
893
+ layerInfo: r,
897
894
  commonStrings: s,
898
- numericFields: l,
895
+ numericFields: c,
899
896
  aggregationType: e
900
897
  });
901
898
  $(t, 1, u);
902
899
  }
903
- g !== e && Ye(t);
900
+ m !== e && Ye(t);
904
901
  }
905
- function gi(i) {
902
+ function pi(i) {
906
903
  const {
907
904
  splitByField: e,
908
905
  xAxisField: t,
909
- numericFields: a,
906
+ numericFields: r,
910
907
  aggregationType: s,
911
- config: r,
908
+ config: a,
912
909
  layerInfo: n,
913
910
  commonStrings: o,
914
- splitByFieldInfos: l
915
- } = i, { layer: c, layerFieldsInfo: g } = n, { categoriesArray: f, splitByFieldType: p } = l, u = Me({
911
+ splitByFieldInfos: c
912
+ } = i, { layer: l, layerFieldsInfo: m } = n, { categoriesArray: f, splitByFieldType: p } = c, u = Me({
916
913
  splitByField: e,
917
- numericFields: a,
918
- layer: c,
914
+ numericFields: r,
915
+ layer: l,
919
916
  seriesIndex: 0
920
917
  });
921
918
  let d = [];
922
919
  if (f.length === 0) {
923
920
  d = $e({
924
921
  xAxisField: t,
925
- numericFields: a,
922
+ numericFields: r,
926
923
  aggregationType: s,
927
- config: r,
924
+ config: a,
928
925
  layerInfo: n,
929
926
  commonStrings: o
930
927
  });
@@ -932,17 +929,17 @@ function gi(i) {
932
929
  y.query && (y.query.where = `${e}=''`);
933
930
  } else
934
931
  for (let y = 0; y < f.length; y += 1) {
935
- const m = f[y], F = se({
936
- config: r,
932
+ const g = f[y], F = ae({
933
+ config: a,
937
934
  xAxisField: t,
938
- numericFields: a,
935
+ numericFields: r,
939
936
  aggregationType: s,
940
937
  layer: n.layer,
941
938
  seriesIndex: y,
942
939
  splitByField: e,
943
- fieldList: g
940
+ fieldList: m
944
941
  }).name, S = ne({
945
- config: r,
942
+ config: a,
946
943
  xAxisField: t,
947
944
  aggregationType: s,
948
945
  layerInfo: n,
@@ -951,17 +948,19 @@ function gi(i) {
951
948
  }), h = Oe({
952
949
  queryObject: n.layer,
953
950
  fieldName: e,
954
- fieldValue: m ?? ""
955
- }), b = `${m}`, C = r.series.find(
956
- (D) => String(Ee(D)).trim().replace(/'/gu, "") === b
957
- ), T = C?.id ?? b, A = C?.name ?? h ?? T, v = C ?? S, E = {
951
+ fieldValue: g ?? ""
952
+ }), A = `${g}`, B = a.series.find(
953
+ (D) => String(Ee(D)).trim().replace(/'/gu, "") === A
954
+ ), T = B?.id ?? A, b = B?.name ?? h ?? T;
955
+ xt(B, S);
956
+ const v = B ?? S, E = {
958
957
  ...v,
959
958
  id: T,
960
- name: A,
959
+ name: b,
961
960
  y: F,
962
961
  query: {
963
962
  ...v.query,
964
- where: `${e}=${p === Re.String && m !== null ? `'${m}'` : m}`,
963
+ where: `${e}=${p === Re.String && g !== null ? `'${g}'` : g}`,
965
964
  outStatistics: s !== I.NoAggregation ? [
966
965
  {
967
966
  ...v.query?.outStatistics?.[0] ?? {},
@@ -976,96 +975,96 @@ function gi(i) {
976
975
  }
977
976
  return d;
978
977
  }
979
- const Ps = (i) => {
978
+ const Rs = (i) => {
980
979
  const {
981
980
  xAxisFieldName: e,
982
981
  splitByField: t,
983
- numericFields: a,
982
+ numericFields: r,
984
983
  aggregationType: s,
985
- config: r,
984
+ config: a,
986
985
  layerInfo: n,
987
986
  commonStrings: o,
988
- splitByFieldInfos: l
989
- } = i, { layerFieldsInfo: c } = n ?? {}, g = te(r), f = Et(r), p = w(g), u = K(g), d = oe(g), y = c.find((B) => B.name === p), m = r.series[0]?.query === void 0, F = H(g), S = c.find((B) => B.name === e), h = le(g, n, o), b = We(g, n, o), C = pi({ config: g, layerInfo: n, commonStrings: o });
990
- let T = qe(r);
991
- const A = g.series.some((B) => Y(B)), v = St(g.series), E = Ft(g.series), D = q(y) || q(S);
992
- if (_(S) ? T = de() : !Q(y) && Q(S) ? T = J() : !q(y) && q(S) ? T = J() : q(y) && !q(S) && (A ? T = de() : T = Vt()), T !== void 0 && Tt(r, o, T), f === 0 && (r.series = [
993
- ne({ config: r, xAxisField: e, aggregationType: s, layerInfo: n, commonStrings: o })
994
- ]), r.series.forEach((B) => {
995
- B.x = e, B.query !== void 0 && (B.query.groupByFieldsForStatistics = [e]);
996
- }), t === "" || a.length > 1 ? fe({
987
+ splitByFieldInfos: c
988
+ } = i, { layerFieldsInfo: l } = n ?? {}, m = te(a), f = Mt(a), p = P(m), u = Z(m), d = oe(m), y = l.find((C) => C.name === p), g = a.series[0]?.query === void 0, F = W(m), S = l.find((C) => C.name === e), h = le(m, n, o), A = He(m, n, o), B = fi({ config: m, layerInfo: n, commonStrings: o });
989
+ let T = qe(a);
990
+ const b = m.series.some((C) => Y(C)), v = ht(m.series), E = Tt(m.series), D = q(y) || q(S);
991
+ if (_(S) ? T = ye() : !Q(y) && Q(S) ? T = J() : !q(y) && q(S) ? T = J() : q(y) && !q(S) && (b ? T = ye() : T = Rt()), T !== void 0 && Bt(a, o, T), f === 0 && (a.series = [
992
+ ne({ config: a, xAxisField: e, aggregationType: s, layerInfo: n, commonStrings: o })
993
+ ]), a.series.forEach((C) => {
994
+ C.x = e, C.query !== void 0 && (C.query.groupByFieldsForStatistics = [e]);
995
+ }), t === "" || r.length > 1 ? fe({
997
996
  fieldName: e,
998
- numericFields: a,
999
- fieldList: c
1000
- }) ? r.series = mi({
1001
- config: r,
997
+ numericFields: r,
998
+ fieldList: l
999
+ }) ? a.series = gi({
1000
+ config: a,
1002
1001
  layerInfo: n,
1003
1002
  xAxisField: e,
1004
- numericFields: a,
1003
+ numericFields: r,
1005
1004
  aggregationType: s,
1006
1005
  commonStrings: o
1007
- }) : r.series = $e({
1008
- config: r,
1006
+ }) : a.series = $e({
1007
+ config: a,
1009
1008
  layerInfo: n,
1010
1009
  xAxisField: e,
1011
- numericFields: a,
1010
+ numericFields: r,
1012
1011
  aggregationType: s,
1013
1012
  commonStrings: o
1014
- }) : l && (r.series = gi({
1015
- config: r,
1013
+ }) : c && (a.series = pi({
1014
+ config: a,
1016
1015
  layerInfo: n,
1017
1016
  splitByField: t,
1018
1017
  xAxisField: e,
1019
- numericFields: a,
1018
+ numericFields: r,
1020
1019
  aggregationType: s,
1021
1020
  commonStrings: o,
1022
- splitByFieldInfos: l
1023
- })), C && e !== U && r.series[0].type !== x.HeatSeries) {
1024
- const B = k(c, e);
1025
- $(r, 0, B);
1021
+ splitByFieldInfos: c
1022
+ })), B && e !== U && a.series[0].type !== x.HeatSeries) {
1023
+ const C = k(l, e);
1024
+ $(a, 0, C);
1026
1025
  }
1027
- if (b && r.series[0].type !== x.HeatSeries) {
1028
- const B = pe({
1029
- config: r,
1026
+ if (A && a.series[0].type !== x.HeatSeries) {
1027
+ const C = pe({
1028
+ config: a,
1030
1029
  layerInfo: n,
1031
1030
  commonStrings: o,
1032
- numericFields: a,
1031
+ numericFields: r,
1033
1032
  aggregationType: s
1034
1033
  });
1035
- $(r, 1, B);
1034
+ $(a, 1, C);
1036
1035
  }
1037
- if (h && r.title && (r.title.content.text = Z(r, n, o)), p === e && u === t && d === s && je(F, a) || Ye(r), yi({ numericFields: a, aggregationType: s, config: r, layerInfo: n }), (v || E) && (z({ config: r, value: null, axisIndex: 0, isMax: !1 }), z({ config: r, value: null, axisIndex: 0, isMax: !0 }), D && s !== I.NoAggregation && !X(g))) {
1038
- const B = q(S) ? W.Null : W.Interpolate;
1039
- Xt(B, r);
1036
+ if (h && a.title && (a.title.content.text = K(a, n, o)), p === e && u === t && d === s && je(F, r) || Ye(a), mi({ numericFields: r, aggregationType: s, config: a, layerInfo: n }), (v || E) && (z({ config: a, value: null, axisIndex: 0, isMax: !1 }), z({ config: a, value: null, axisIndex: 0, isMax: !0 }), D && s !== I.NoAggregation && !X(m))) {
1037
+ const C = q(S) ? H.Null : H.Interpolate;
1038
+ Ht(C, a);
1040
1039
  }
1041
- X(r) && we({ commonStrings: o, config: r, layerInfo: n }), r.series.forEach((B) => {
1042
- m && delete B.query, p !== e && L(B) && (S?.type === Re.TimeOnly ? B.binTemporalData = !1 : B.binTemporalData = B.type === x.LineSeries && q(S));
1040
+ X(a) && Pe({ commonStrings: o, config: a, layerInfo: n }), a.series.forEach((C) => {
1041
+ g && delete C.query, p !== e && L(C) && (S?.type === Re.TimeOnly ? C.binTemporalData = !1 : C.binTemporalData = C.type === x.LineSeries && q(S));
1043
1042
  });
1044
1043
  }, Xe = (i, e) => {
1045
1044
  i.markerVisible = e.markerVisible, i.lineSmoothed = e.lineSmoothed, i.showArea = e.showArea, i.areaColor = e.areaColor, i.stackNegativeValuesToBaseline = e.stackNegativeValuesToBaseline, e.lineSymbol && (i.lineSymbol = { ...e.lineSymbol, color: i.lineSymbol?.color }), e.markerSymbol && (i.markerSymbol = {
1046
1045
  ...e.markerSymbol,
1047
1046
  color: i.markerSymbol?.color
1048
1047
  });
1049
- }, ws = (i) => {
1050
- const { config: e, seriesIndex: t, layerInfo: a, commonStrings: s } = i, r = e.series?.[t], n = K(e);
1048
+ }, ks = (i) => {
1049
+ const { config: e, seriesIndex: t, layerInfo: r, commonStrings: s } = i, a = e.series?.[t], n = Z(e);
1051
1050
  let o;
1052
- if (ie(e.series) === P.BarAndLineFromFields)
1051
+ if (ie(e.series) === w.BarAndLineFromFields)
1053
1052
  o = s.axisLabels.values;
1054
1053
  else if (Ue(n)) {
1055
- const c = r.query?.outStatistics?.[0]?.onStatisticField;
1056
- c !== void 0 && c !== j(a.layer).idField && (o = k(a.layerFieldsInfo, c));
1054
+ const l = a.query?.outStatistics?.[0]?.onStatisticField;
1055
+ l !== void 0 && l !== j(r.layer).idField && (o = k(r.layerFieldsInfo, l));
1057
1056
  } else {
1058
- const c = String(Ee(r)).trim().replace(/'/gu, "");
1057
+ const l = String(Ee(a)).trim().replace(/'/gu, "");
1059
1058
  o = Oe({
1060
- queryObject: a.layer,
1059
+ queryObject: r.layer,
1061
1060
  fieldName: n,
1062
- fieldValue: c ?? ""
1063
- }) ?? c;
1061
+ fieldValue: l ?? ""
1062
+ }) ?? l;
1064
1063
  }
1065
- return o ?? r.id;
1066
- }, Es = (i, e) => {
1064
+ return o ?? a.id;
1065
+ }, ws = (i, e) => {
1067
1066
  if (X(e))
1068
- ni(i, e);
1067
+ oi(i, e);
1069
1068
  else {
1070
1069
  e.orderOptions ??= {};
1071
1070
  const t = e.orderOptions?.data?.orderType;
@@ -1074,125 +1073,126 @@ const Ps = (i) => {
1074
1073
  orderBy: [...i]
1075
1074
  });
1076
1075
  }
1077
- }, Ms = async (i) => {
1078
- const { config: e, layerInfo: t, errorStrings: a } = i, s = w(e), r = qe(e)?.type, n = H(e), o = ie(e.series);
1076
+ }, Ps = async (i) => {
1077
+ const { config: e, layerInfo: t, num: r, errorStrings: s } = i, a = P(e), n = qe(e)?.type, o = W(e), c = ie(e.series);
1079
1078
  let l = [];
1080
- return r === x.CategoryAxisFormat && (o === P.BarAndLineFromFields || s === U ? l = n.map((c) => k(t?.layerFieldsInfo, c)) : s.trim() !== "" && s !== U && t !== void 0 && (l = await ht({
1079
+ return n === x.CategoryAxisFormat && (c === w.BarAndLineFromFields || a === U ? l = o.map((m) => k(t?.layerFieldsInfo, m)) : a.trim() !== "" && a !== U && t !== void 0 && (l = await Ft({
1081
1080
  layerInfo: t,
1082
1081
  config: e,
1083
- category: s,
1084
- errorStrings: a
1082
+ category: a,
1083
+ num: r,
1084
+ errorStrings: s
1085
1085
  }))), l;
1086
1086
  };
1087
1087
  function le(i, e, t) {
1088
- const a = Z(i, e, t), s = Mt(i), r = ae(i);
1089
- return a === s || r;
1088
+ const r = K(i, e, t), s = Yt(i), a = re(i);
1089
+ return r === s || a;
1090
1090
  }
1091
- function We(i, e, t) {
1092
- const a = pe({
1091
+ function He(i, e, t) {
1092
+ const r = pe({
1093
1093
  config: i,
1094
1094
  layerInfo: e,
1095
1095
  commonStrings: t,
1096
- numericFields: H(i),
1096
+ numericFields: W(i),
1097
1097
  aggregationType: oe(i)
1098
- }), s = re(1, i), r = ae(i);
1099
- return a === s || r;
1098
+ }), s = se(1, i), a = re(i);
1099
+ return r === s || a;
1100
1100
  }
1101
- function pi(i) {
1102
- const { config: e, layerInfo: t, commonStrings: a } = i, s = k(t.layerFieldsInfo, w(e)), r = re(0, e), n = ae(e), o = w(e) === U && (r === "" || r === a.xAxis);
1103
- return s === r || n || o;
1101
+ function fi(i) {
1102
+ const { config: e, layerInfo: t, commonStrings: r } = i, s = k(t.layerFieldsInfo, P(e)), a = se(0, e), n = re(e), o = P(e) === U && (a === "" || a === r.xAxis);
1103
+ return s === a || n || o;
1104
1104
  }
1105
- function Ys(i) {
1105
+ function Es(i) {
1106
1106
  return L(i.series[0]) ? i.series[0].binTemporalData ?? !0 : !1;
1107
1107
  }
1108
- function $s(i, e) {
1108
+ function Ms(i, e) {
1109
1109
  e?.series.forEach((t) => {
1110
1110
  L(t) && (t.binTemporalData = i, i ? t.temporalBinning = {
1111
- unit: ue.Day,
1111
+ unit: de.Day,
1112
1112
  size: 0,
1113
- timeAggregationType: bt.Start,
1113
+ timeAggregationType: vt.Start,
1114
1114
  trimIncompleteTimeInterval: !0,
1115
- nullPolicy: W.Null
1115
+ nullPolicy: H.Null
1116
1116
  } : delete t.temporalBinning);
1117
1117
  });
1118
1118
  }
1119
1119
  export {
1120
- as as $,
1121
- Ms as A,
1122
- Es as B,
1123
- Ps as C,
1124
- Ys as D,
1125
- $s as E,
1126
- Z as F,
1127
- we as G,
1128
- si as H,
1129
- ts as I,
1130
- Cs as J,
1131
- bs as K,
1132
- ai as L,
1133
- is as M,
1134
- ri as N,
1135
- ss as O,
1136
- As as P,
1137
- vs as Q,
1138
- Is as R,
1139
- Ls as S,
1140
- Os as T,
1141
- Vs as U,
1142
- qs as V,
1143
- Kt as W,
1144
- Rs as X,
1145
- _i as Y,
1146
- Qi as Z,
1147
- rs as _,
1148
- Ui as a,
1149
- os as a0,
1150
- ns as a1,
1151
- Gi as a2,
1152
- zi as a3,
1153
- es as a4,
1154
- Ji as a5,
1155
- us as a6,
1156
- ds as a7,
1157
- ys as a8,
1158
- ms as a9,
1159
- cs as aa,
1160
- ls as ab,
1161
- gs as ac,
1162
- oi as ad,
1163
- ps as ae,
1164
- fs as af,
1165
- Ss as ag,
1166
- Fs as ah,
1167
- hs as ai,
1168
- Ts as aj,
1169
- Ns as ak,
1170
- Ds as al,
1171
- xs as am,
1172
- Bs as an,
1173
- Xi as b,
1174
- Wi as c,
1175
- H as d,
1176
- K as e,
1177
- Ki as f,
1120
+ is as $,
1121
+ Ps as A,
1122
+ ws as B,
1123
+ Rs as C,
1124
+ Es as D,
1125
+ Ms as E,
1126
+ K as F,
1127
+ Pe as G,
1128
+ ai as H,
1129
+ Ji as I,
1130
+ xs as J,
1131
+ Bs as K,
1132
+ ri as L,
1133
+ es as M,
1134
+ ni as N,
1135
+ ts as O,
1136
+ Cs as P,
1137
+ As as Q,
1138
+ bs as R,
1139
+ vs as S,
1140
+ Ds as T,
1141
+ Ns as U,
1142
+ Os as V,
1143
+ _t as W,
1144
+ Vs as X,
1145
+ Ki as Y,
1146
+ Zi as Z,
1147
+ ss as _,
1148
+ Hi as a,
1149
+ rs as a0,
1150
+ as as a1,
1151
+ Qi as a2,
1152
+ _i as a3,
1153
+ Gi as a4,
1154
+ zi as a5,
1155
+ ls as a6,
1156
+ cs as a7,
1157
+ us as a8,
1158
+ ds as a9,
1159
+ os as aa,
1160
+ ns as ab,
1161
+ ys as ac,
1162
+ li as ad,
1163
+ ms as ae,
1164
+ gs as af,
1165
+ ps as ag,
1166
+ fs as ah,
1167
+ Ss as ai,
1168
+ Fs as aj,
1169
+ Ls as ak,
1170
+ Is as al,
1171
+ hs as am,
1172
+ Ts as an,
1173
+ Yi as b,
1174
+ $i as c,
1175
+ W as d,
1176
+ Z as e,
1177
+ ji as f,
1178
1178
  oe as g,
1179
- ws as h,
1180
- ji as i,
1181
- ki as j,
1182
- $t as k,
1183
- Yt as l,
1184
- Mi as m,
1185
- Pi as n,
1186
- Yi as o,
1187
- Zi as p,
1188
- wi as q,
1189
- _t as r,
1190
- Pe as s,
1191
- $i as t,
1192
- Hi as u,
1193
- Ei as v,
1194
- Xt as w,
1179
+ ks as h,
1180
+ Wi as i,
1181
+ qi as j,
1182
+ Xt as k,
1183
+ $t as l,
1184
+ Pi as m,
1185
+ Ri as n,
1186
+ Ei as o,
1187
+ Ui as p,
1188
+ ki as q,
1189
+ Qt as r,
1190
+ we as s,
1191
+ Mi as t,
1192
+ Xi as u,
1193
+ wi as v,
1194
+ Ht as w,
1195
1195
  Wt as x,
1196
- ks as y,
1196
+ qs as y,
1197
1197
  me as z
1198
1198
  };