@arcgis/charts-components 6.0.0-next.4 → 6.0.0-next.41

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 (358) hide show
  1. package/dist/cdn/2CMGEGOB.js +2 -0
  2. package/dist/cdn/{WKF53DYD.js → 2JY4BULO.js} +1 -1
  3. package/dist/cdn/2NLUPVHC.js +2 -0
  4. package/dist/cdn/{OYUTQX4U.js → 2POSDCZH.js} +1 -1
  5. package/dist/cdn/2V6RDUQ4.js +2 -0
  6. package/dist/cdn/2XLWTT5J.js +2 -0
  7. package/dist/cdn/{FKES55PK.js → 35MV6UPM.js} +1 -1
  8. package/dist/cdn/{H5VCT3XP.js → 36MF6B63.js} +1 -1
  9. package/dist/cdn/3SON5ZPC.js +2 -0
  10. package/dist/cdn/3T4EFKYY.js +2 -0
  11. package/dist/cdn/5HGXAW7L.js +2 -0
  12. package/dist/cdn/632TROA6.js +2 -0
  13. package/dist/cdn/6FZRG4EO.js +2 -0
  14. package/dist/cdn/77J6TCGN.js +2 -0
  15. package/dist/cdn/{LPLMRI3E.js → 7BGIK4OA.js} +1 -1
  16. package/dist/cdn/7KZBWHVH.js +2 -0
  17. package/dist/cdn/ABAVANHR.js +2 -0
  18. package/dist/cdn/ACTB6ZBK.js +2 -0
  19. package/dist/cdn/AIJWEEVP.js +2 -0
  20. package/dist/cdn/AYTSMVNG.js +2 -0
  21. package/dist/cdn/B4M6AGX7.js +2 -0
  22. package/dist/cdn/BIBYAKIS.js +4 -0
  23. package/dist/cdn/BUQ5MOP3.js +2 -0
  24. package/dist/cdn/{PQ3XCNCP.js → CBVIPAP3.js} +1 -1
  25. package/dist/cdn/{CLCHZMZ5.js → CMQLHBQN.js} +1 -1
  26. package/dist/cdn/D3DZ7A7U.js +2 -0
  27. package/dist/cdn/{OTV3YYDU.js → DCUEO36P.js} +1 -1
  28. package/dist/cdn/{OZSHGMU6.js → DH3CD2VT.js} +1 -1
  29. package/dist/cdn/DPWHTNBE.js +2 -0
  30. package/dist/cdn/DRSKZGA5.js +2 -0
  31. package/dist/cdn/EMAAJMBF.js +2 -0
  32. package/dist/cdn/EOHEGVDJ.js +2 -0
  33. package/dist/cdn/EYPUS3OS.js +2 -0
  34. package/dist/cdn/{FM6F6ZYW.js → FKWL3PHQ.js} +1 -1
  35. package/dist/cdn/FQTWIBKD.js +2 -0
  36. package/dist/cdn/{732AMNPK.js → G7AMXOVC.js} +1 -1
  37. package/dist/cdn/GH6LRRWO.js +2 -0
  38. package/dist/cdn/GLCI3ZBA.js +2 -0
  39. package/dist/cdn/GSMBQFDI.js +2 -0
  40. package/dist/cdn/GVAS6PT3.js +2 -0
  41. package/dist/cdn/{CUMXC4O4.js → H6DQWWRK.js} +1 -1
  42. package/dist/cdn/HADWVYUW.js +2 -0
  43. package/dist/cdn/HTLGMV4S.js +2 -0
  44. package/dist/cdn/I7MZOOIY.js +2 -0
  45. package/dist/cdn/I7YQ3JCN.js +2 -0
  46. package/dist/cdn/{V5Z75IQI.js → IEFTCPY3.js} +5 -5
  47. package/dist/cdn/INDJVCWV.js +2 -0
  48. package/dist/cdn/{33LWKOPD.js → IWIBZTFJ.js} +1 -1
  49. package/dist/cdn/J423NIGD.js +4 -0
  50. package/dist/cdn/J6SK2Z5T.js +2 -0
  51. package/dist/cdn/{MXTS44AG.js → J6XOSXEE.js} +1 -1
  52. package/dist/cdn/{GE7CLC6K.js → JOVBNTEF.js} +2 -2
  53. package/dist/cdn/{FNXREQOE.js → KH3XGJ6Z.js} +1 -1
  54. package/dist/cdn/KIFYEOUU.js +2 -0
  55. package/dist/cdn/{27C6PCQ2.js → KISYJDGT.js} +1 -1
  56. package/dist/cdn/KPX7NHM3.js +2 -0
  57. package/dist/cdn/LSPD3MG7.js +2 -0
  58. package/dist/cdn/M3N747C7.js +2 -0
  59. package/dist/cdn/M5UN3MYY.js +2 -0
  60. package/dist/cdn/{PIGINE4M.js → M7MSRLEE.js} +1 -1
  61. package/dist/cdn/ME7EHCPR.js +2 -0
  62. package/dist/cdn/{QQFMQAJ3.js → MUDUWLYM.js} +1 -1
  63. package/dist/cdn/{2WQNU554.js → N3IQELQL.js} +1 -1
  64. package/dist/cdn/NKO2OO5N.js +2 -0
  65. package/dist/cdn/{6RGTAMGU.js → NWG4Q36V.js} +1 -1
  66. package/dist/cdn/O5MLVZLK.js +2 -0
  67. package/dist/cdn/OLCWI4XN.js +2 -0
  68. package/dist/cdn/{INYMF2BQ.js → PDBNCJTF.js} +1 -1
  69. package/dist/cdn/PER6C4U2.js +2 -0
  70. package/dist/cdn/PLEMHP2B.js +2 -0
  71. package/dist/cdn/PSOSE6LU.js +2 -0
  72. package/dist/cdn/{563H5HEV.js → Q63KS3AS.js} +1 -1
  73. package/dist/cdn/QBPDUGAU.js +2 -0
  74. package/dist/cdn/QD733XNJ.js +2 -0
  75. package/dist/cdn/QVOSII2D.js +2 -0
  76. package/dist/cdn/R3UAKAS4.js +2 -0
  77. package/dist/cdn/RGWPVW43.js +2 -0
  78. package/dist/cdn/{HMZRDWG2.js → RTKJNT6E.js} +27 -27
  79. package/dist/cdn/S22VFPC7.js +2 -0
  80. package/dist/cdn/S6G2OZSX.js +2 -0
  81. package/dist/cdn/SQHNAWY2.js +2 -0
  82. package/dist/cdn/SU7RJZNV.js +2 -0
  83. package/dist/cdn/T2GIGPPW.js +2 -0
  84. package/dist/cdn/TKKV7KPJ.js +2 -0
  85. package/dist/cdn/TMXVA27K.js +2 -0
  86. package/dist/cdn/{S2BGEXZV.js → UK2UPGTC.js} +1 -1
  87. package/dist/cdn/UNOJKM7H.js +2 -0
  88. package/dist/cdn/UNRUZFCG.js +2 -0
  89. package/dist/cdn/UO6RHQGP.js +2 -0
  90. package/dist/cdn/UQHIV37J.js +2 -0
  91. package/dist/cdn/VEVROTSG.js +2 -0
  92. package/dist/cdn/VIID7SQW.js +2 -0
  93. package/dist/cdn/VKHE2T45.js +2 -0
  94. package/dist/cdn/VM2DWR75.js +2 -0
  95. package/dist/cdn/VRB6ZKPF.js +2 -0
  96. package/dist/cdn/VWX73OUH.js +2 -0
  97. package/dist/cdn/{KK445MLC.js → W7TD4Z24.js} +1 -1
  98. package/dist/cdn/WBU6UBT7.js +2 -0
  99. package/dist/cdn/WBVI4QWE.js +2 -0
  100. package/dist/cdn/WIT3P7NV.js +2 -0
  101. package/dist/cdn/WKDTX36G.js +2 -0
  102. package/dist/cdn/WORMNHOD.js +2 -0
  103. package/dist/cdn/XE5JJDCZ.js +2 -0
  104. package/dist/cdn/XTWKVYX3.js +2 -0
  105. package/dist/cdn/YUUYX57N.js +2 -0
  106. package/dist/cdn/{VSKK65CP.js → ZYZASO4B.js} +1 -1
  107. package/dist/cdn/index.js +1 -1
  108. package/dist/cdn/model/shared/setup-utils.js +1 -1
  109. package/dist/chart-rendering/common/interfaces.d.ts +7 -16
  110. package/dist/chunks/action-bar-utils.js +53 -55
  111. package/dist/chunks/axis-lines-symbol.js +6 -6
  112. package/dist/chunks/bar-chart-model.js +7 -9
  113. package/dist/chunks/box-plot-data.js +172 -171
  114. package/dist/chunks/box-plot-model.js +41 -39
  115. package/dist/chunks/chart-model.js +18 -20
  116. package/dist/chunks/chart-ui-utils.js +61 -63
  117. package/dist/chunks/chart-ui-utils2.js +1 -1
  118. package/dist/chunks/class-breaks.js +5 -5
  119. package/dist/chunks/combo-bar-line-chart-model.js +15 -16
  120. package/dist/chunks/data-labels-symbol.js +1 -1
  121. package/dist/chunks/data-labels-visibility.js +1 -1
  122. package/dist/chunks/data.js +51 -53
  123. package/dist/chunks/gauge-model.js +66 -66
  124. package/dist/chunks/generate-x-axis-title.js +17 -17
  125. package/dist/chunks/heat-chart-model.js +20 -21
  126. package/dist/chunks/histogram-data.js +41 -42
  127. package/dist/chunks/histogram-model.js +5 -5
  128. package/dist/chunks/index.js +5432 -4273
  129. package/dist/chunks/index2.js +1165 -871
  130. package/dist/chunks/index3.js +10987 -1173
  131. package/dist/chunks/index4.js +54 -11086
  132. package/dist/chunks/line-chart-model.js +19 -20
  133. package/dist/chunks/model-setter.js +6 -6
  134. package/dist/chunks/model-with-x-guides.js +1 -1
  135. package/dist/chunks/model-with-y-guides.js +25 -25
  136. package/dist/chunks/negative-values-stacked-to-baseline.js +6 -6
  137. package/dist/chunks/pie-chart-data.js +25 -27
  138. package/dist/chunks/pie-chart-model.js +166 -165
  139. package/dist/chunks/radar-chart-model.js +7 -8
  140. package/dist/chunks/resource.js +1 -1
  141. package/dist/chunks/rest-js-object-literals.js +5 -41
  142. package/dist/chunks/rotated-state.js +1 -1
  143. package/dist/chunks/rounded-corners.js +6 -6
  144. package/dist/chunks/scatterplot-model.js +75 -76
  145. package/dist/chunks/serial-chart-data.js +512 -517
  146. package/dist/chunks/serial-chart-model.js +64 -61
  147. package/dist/chunks/series-length.js +14 -14
  148. package/dist/chunks/series.js +1 -1
  149. package/dist/chunks/type-guards.js +109 -55
  150. package/dist/chunks/utils.js +146 -212
  151. package/dist/chunks/web-component-utils.js +70 -71
  152. package/dist/chunks/x-bounds.js +32 -33
  153. package/dist/components/arcgis-chart/customElement.d.ts +79 -72
  154. package/dist/components/arcgis-chart/customElement.js +8482 -8273
  155. package/dist/components/arcgis-charts-action-bar/customElement.d.ts +1 -176
  156. package/dist/components/arcgis-charts-action-bar/customElement.js +82 -79
  157. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +18 -18
  158. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +63 -58
  159. package/dist/components/arcgis-charts-config-bar-chart-data/index.js +0 -1
  160. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +10 -11
  161. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +51 -45
  162. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +2 -2
  163. package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
  164. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +115 -113
  165. package/dist/components/arcgis-charts-config-box-plot-data/index.js +0 -1
  166. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +11 -12
  167. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +61 -54
  168. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
  169. package/dist/components/arcgis-charts-config-colors/customElement.js +2 -2
  170. package/dist/components/arcgis-charts-config-create-flow/customElement.js +186 -185
  171. package/dist/components/arcgis-charts-config-font-style/customElement.js +7 -7
  172. package/dist/components/arcgis-charts-config-format/customElement.js +96 -95
  173. package/dist/components/arcgis-charts-config-general/customElement.js +2 -2
  174. package/dist/components/arcgis-charts-config-guide/customElement.js +51 -50
  175. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  176. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
  177. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +13 -14
  178. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +32 -33
  179. package/dist/components/arcgis-charts-config-histogram/customElement.js +2 -3
  180. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +35 -32
  181. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +8 -9
  182. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
  183. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  184. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +21 -22
  185. package/dist/components/arcgis-charts-config-line-chart-data/index.js +0 -1
  186. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +7 -8
  187. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +48 -43
  188. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
  189. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +38 -34
  190. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +21 -22
  191. package/dist/components/arcgis-charts-config-pie-chart-data/index.js +1 -1
  192. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +9 -10
  193. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +2 -2
  194. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
  195. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +3 -4
  196. package/dist/components/arcgis-charts-config-scatter-plot-aoi/customElement.js +20 -24
  197. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +81 -81
  198. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +3 -4
  199. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +21 -25
  200. package/dist/components/arcgis-charts-config-view-charts/customElement.js +20 -21
  201. package/dist/components/arcgis-charts-info-modal/customElement.js +4 -4
  202. package/dist/docs/api.json +1 -1
  203. package/dist/docs/docs.json +1 -1
  204. package/dist/docs/vscode.html-custom-data.json +1 -1
  205. package/dist/docs/web-types.json +1 -1
  206. package/dist/index.d.ts +1 -1
  207. package/dist/index.js +400 -411
  208. package/dist/interfaces.d.ts +1 -15
  209. package/dist/json-schema/index.d.ts +38 -68
  210. package/dist/loader.js +7 -7
  211. package/dist/model/box-plot-model/box-plot-model.d.ts +6 -2
  212. package/dist/model/heat-chart-model/heat-chart-model.d.ts +1 -1
  213. package/dist/model/mixins/model-with-multi-axes.d.ts +53 -2
  214. package/dist/model/pie-chart-model/pie-chart-model.d.ts +6 -2
  215. package/dist/model/properties/layer.d.ts +2 -2
  216. package/dist/model/serial-chart-model/serial-chart-model.d.ts +6 -2
  217. package/dist/spec/rest-js-object-literals.d.ts +0 -66
  218. package/dist/spec/rest-js-types.d.ts +1 -5
  219. package/dist/spec/web-chart.d.ts +2 -2
  220. package/dist/types/lumina.d.ts +4 -2
  221. package/dist/types/preact.d.ts +4 -2
  222. package/dist/types/react.d.ts +4 -2
  223. package/dist/types/stencil.d.ts +4 -2
  224. package/dist/utils/chart-config/converter/index.js +97 -99
  225. package/dist/utils/chart-config/utils/index.d.ts +10 -3
  226. package/dist/utils/components/interfaces.d.ts +7 -0
  227. package/dist/utils/data/categorical-data/index.d.ts +1 -0
  228. package/dist/utils/layer/index.d.ts +6 -6
  229. package/dist/utils/layer/interfaces.d.ts +13 -3
  230. package/dist/utils/layer/query-parser/index.d.ts +2 -2
  231. package/dist/utils/layer/utils/index.d.ts +6 -18
  232. package/dist/utils/misc/index.d.ts +4 -4
  233. package/dist/utils/types/index.d.ts +0 -35
  234. package/package.json +8 -8
  235. package/dist/cdn/23NH4HLE.js +0 -2
  236. package/dist/cdn/2DRKIHTI.js +0 -2
  237. package/dist/cdn/2E3WHSEW.js +0 -2
  238. package/dist/cdn/2RG5JCBW.js +0 -3
  239. package/dist/cdn/2X2QOEKX.js +0 -2
  240. package/dist/cdn/37WXQO5B.js +0 -2
  241. package/dist/cdn/3INTJJ4X.js +0 -2
  242. package/dist/cdn/3RJNZA24.js +0 -2
  243. package/dist/cdn/4CU5D5WQ.js +0 -2
  244. package/dist/cdn/4WQUPC2P.js +0 -2
  245. package/dist/cdn/5DAVFUDX.js +0 -2
  246. package/dist/cdn/5VCTFSTZ.js +0 -2
  247. package/dist/cdn/5XGX5QH2.js +0 -2
  248. package/dist/cdn/6XH6ZRHO.js +0 -2
  249. package/dist/cdn/7WD2VKG4.js +0 -2
  250. package/dist/cdn/7YN565O4.js +0 -2
  251. package/dist/cdn/A2BFOCSN.js +0 -2
  252. package/dist/cdn/A5TI5TEO.js +0 -2
  253. package/dist/cdn/AHB4IS7P.js +0 -2
  254. package/dist/cdn/B6ADEFC7.js +0 -2
  255. package/dist/cdn/B6APNE72.js +0 -3
  256. package/dist/cdn/BDIRQUQE.js +0 -2
  257. package/dist/cdn/BWZA3447.js +0 -2
  258. package/dist/cdn/BZTSUXUT.js +0 -2
  259. package/dist/cdn/CFACTMRG.js +0 -2
  260. package/dist/cdn/D2LNPCIA.js +0 -2
  261. package/dist/cdn/D6WQTOUC.js +0 -2
  262. package/dist/cdn/DTSX7SEI.js +0 -2
  263. package/dist/cdn/EPFEFHM2.js +0 -2
  264. package/dist/cdn/EW2P4QSN.js +0 -2
  265. package/dist/cdn/GDJDA5MG.js +0 -2
  266. package/dist/cdn/GEPIPU4G.js +0 -2
  267. package/dist/cdn/GSCC3FON.js +0 -2
  268. package/dist/cdn/GXYGXB4U.js +0 -2
  269. package/dist/cdn/IEOIKLLK.js +0 -2
  270. package/dist/cdn/ISSUAEJS.js +0 -2
  271. package/dist/cdn/KJNBURYA.js +0 -2
  272. package/dist/cdn/L3AKSDIB.js +0 -2
  273. package/dist/cdn/L5MTHGFZ.js +0 -2
  274. package/dist/cdn/LHLPK6TU.js +0 -2
  275. package/dist/cdn/LXFY54NF.js +0 -2
  276. package/dist/cdn/MJUCIYQN.js +0 -2
  277. package/dist/cdn/NGBBNBA7.js +0 -2
  278. package/dist/cdn/NIZC75X3.js +0 -2
  279. package/dist/cdn/OBKDR3MU.js +0 -2
  280. package/dist/cdn/OQKL344Q.js +0 -2
  281. package/dist/cdn/OZSOICXE.js +0 -2
  282. package/dist/cdn/PBQRZBQM.js +0 -2
  283. package/dist/cdn/PT66VVXN.js +0 -2
  284. package/dist/cdn/QOENPUSD.js +0 -2
  285. package/dist/cdn/QPVBVDRP.js +0 -2
  286. package/dist/cdn/RGMPFNUN.js +0 -2
  287. package/dist/cdn/RGSJ3JFI.js +0 -2
  288. package/dist/cdn/RVHNFMTN.js +0 -2
  289. package/dist/cdn/RVQPEB4W.js +0 -2
  290. package/dist/cdn/RXTO6RE2.js +0 -2
  291. package/dist/cdn/SCEFJRON.js +0 -2
  292. package/dist/cdn/SEILP6QP.js +0 -2
  293. package/dist/cdn/SKI5Z6UH.js +0 -2
  294. package/dist/cdn/SSEWUPML.js +0 -2
  295. package/dist/cdn/TCE6PLHN.js +0 -2
  296. package/dist/cdn/TOCU6UKM.js +0 -2
  297. package/dist/cdn/TSASF4ZC.js +0 -2
  298. package/dist/cdn/UDAJILEU.js +0 -2
  299. package/dist/cdn/UZOYADSB.js +0 -2
  300. package/dist/cdn/W2PTHYOT.js +0 -2
  301. package/dist/cdn/W53DMMGZ.js +0 -2
  302. package/dist/cdn/WAQJ7V62.js +0 -2
  303. package/dist/cdn/WEPXOYBS.js +0 -2
  304. package/dist/cdn/WLPUBXN7.js +0 -2
  305. package/dist/cdn/XPCXTKEY.js +0 -2
  306. package/dist/cdn/Y2S7EWZR.js +0 -2
  307. package/dist/cdn/YF6ML4P6.js +0 -4
  308. package/dist/cdn/YGLBPPXP.js +0 -2
  309. package/dist/cdn/YWUNLBCQ.js +0 -2
  310. package/dist/cdn/YYTAWATK.js +0 -2
  311. package/dist/cdn/ZDQWMMOA.js +0 -2
  312. package/dist/cdn/ZFHMGE36.js +0 -2
  313. package/dist/cdn/ZGNJFT7B.js +0 -2
  314. package/dist/cdn/ZMVIOIBB.js +0 -2
  315. package/dist/cdn/ZTHSDPEH.js +0 -2
  316. package/dist/chunks/index5.js +0 -69
  317. package/dist/chunks/type-guards2.js +0 -113
  318. package/dist/chunks/utils2.js +0 -63
  319. /package/dist/cdn/{XFEWDUTX.js → 2PUVZIJ6.js} +0 -0
  320. /package/dist/cdn/{UHSL7Y3B.js → 33NEGHM6.js} +0 -0
  321. /package/dist/cdn/{6FW2SXLC.js → 55OFHBXV.js} +0 -0
  322. /package/dist/cdn/{SMHUUBEU.js → 5OSVKP4N.js} +0 -0
  323. /package/dist/cdn/{VITUV4HV.js → 5QLZ66AU.js} +0 -0
  324. /package/dist/cdn/{UQRD2CTK.js → 5SOADBYD.js} +0 -0
  325. /package/dist/cdn/{55DRYT5X.js → 5ZZZKI7V.js} +0 -0
  326. /package/dist/cdn/{5ANJA54O.js → 6IIBIZJH.js} +0 -0
  327. /package/dist/cdn/{QLBO3URO.js → 6QY2OFUO.js} +0 -0
  328. /package/dist/cdn/{UITA7CSN.js → 7AWJIBMG.js} +0 -0
  329. /package/dist/cdn/{373UZR4I.js → 7N2LSD5J.js} +0 -0
  330. /package/dist/cdn/{SCS4MWFN.js → A6DV5ILW.js} +0 -0
  331. /package/dist/cdn/{VT3NOR5A.js → BGHJMVNV.js} +0 -0
  332. /package/dist/cdn/{L4KDCWA7.js → BGVIOGAX.js} +0 -0
  333. /package/dist/cdn/{Z2IHEWWP.js → CYZPIC2B.js} +0 -0
  334. /package/dist/cdn/{AVRIN2FL.js → CZKZMSFJ.js} +0 -0
  335. /package/dist/cdn/{WMGJN3JL.js → D66GTKJ7.js} +0 -0
  336. /package/dist/cdn/{XR7RCGIT.js → DJGQM3EK.js} +0 -0
  337. /package/dist/cdn/{PQESGESY.js → FOHR4IFG.js} +0 -0
  338. /package/dist/cdn/{3DDSV3IF.js → GOVIUHKT.js} +0 -0
  339. /package/dist/cdn/{KE7XE22Z.js → H44RQIWN.js} +0 -0
  340. /package/dist/cdn/{W7VPVF72.js → HJUHYEJT.js} +0 -0
  341. /package/dist/cdn/{57RWTLRG.js → HL6ANDJH.js} +0 -0
  342. /package/dist/cdn/{HUU3QFFC.js → IDVYAUPY.js} +0 -0
  343. /package/dist/cdn/{XIE5EUIH.js → IQSNWDU6.js} +0 -0
  344. /package/dist/cdn/{K43DVQFC.js → JE32QM44.js} +0 -0
  345. /package/dist/cdn/{52PHJCYM.js → JETTF7E2.js} +0 -0
  346. /package/dist/cdn/{L26HYK34.js → JSOFN65T.js} +0 -0
  347. /package/dist/cdn/{LE3B3ATZ.js → KMZIRJIR.js} +0 -0
  348. /package/dist/cdn/{XUSFQDK4.js → KQ36C2RK.js} +0 -0
  349. /package/dist/cdn/{O6GVF76X.js → KRRYFLG4.js} +0 -0
  350. /package/dist/cdn/{4MSDOPVE.js → M4AD4UJU.js} +0 -0
  351. /package/dist/cdn/{2BPLDZAJ.js → NUH2GAPZ.js} +0 -0
  352. /package/dist/cdn/{Q4H5YVTW.js → OWEVDN6C.js} +0 -0
  353. /package/dist/cdn/{GCUOASRZ.js → QCFAV626.js} +0 -0
  354. /package/dist/cdn/{R4PFJLD2.js → QMBHZ5JE.js} +0 -0
  355. /package/dist/cdn/{J5VMBGYI.js → SWHSL245.js} +0 -0
  356. /package/dist/cdn/{C7VQM4TH.js → T7LKXFIZ.js} +0 -0
  357. /package/dist/cdn/{KCP6AJV7.js → XQTLPFTW.js} +0 -0
  358. /package/dist/cdn/{3VZK52LO.js → Z5DYKSTK.js} +0 -0
@@ -1,42 +1,39 @@
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 { ab as L, b8 as H, bK as Ke, cn as Ze, l as ue, c5 as _e, co as Qe, cb as Ne, g as ze, r as ie, a8 as Ge, a7 as Je, cp as et, y as w, _ as ge, bl as tt, cq as it, Z as st, v as at, cr as rt, b5 as nt, a0 as ot, cs as lt, ae as ct, b$ as ut, ct as dt, cu as Se, cv as yt, cw as mt, cx as gt, C as Fe, $ as pt, cy as he, cz as _, x as k, cA as ft, b6 as q, bk as Q, Y as St, u as j, ai as Oe, cB as Y, c7 as U, cC as Ft, cD as ht, cE as Tt, cF as O, cG as V, cH as Te, cI as xt, ca 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 X, 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
+ }, Ht = (i, e) => {
40
37
  e?.series?.forEach((t) => {
41
38
  L(t) && (t.temporalBinning ??= {}, t.temporalBinning.size = i);
42
39
  });
@@ -44,38 +41,38 @@ const ki = (i) => {
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
+ Ht(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
- return X(i) ? e = i.outTimeZone : i?.series.forEach((t) => {
66
+ return H(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
+ H(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,83 @@ 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) {
93
- let t;
94
- return e !== void 0 && (t = { ...e }, t.legend !== void 0 && (t.legend.position = i)), t;
95
- }
96
- function Wi(i, e) {
86
+ Kt([
87
+ Pt
88
+ ], _t.prototype, "timeZone");
89
+ function Yi(i, e) {
97
90
  let t;
98
91
  return e !== void 0 && (t = { ...e }, t.legend !== void 0 && (t.legend.visible = i)), t;
99
92
  }
100
- function Hi(i, e) {
93
+ function $i(i, e) {
101
94
  let t;
102
95
  return e !== void 0 && (t = { ...e, rotated: i }), t;
103
96
  }
104
- function _t(i) {
97
+ function Qt(i) {
105
98
  let e;
106
99
  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
100
  }
108
- function Ui(i, e) {
101
+ function Hi(i, e) {
109
102
  return e != null || Ne(i);
110
103
  }
111
- async function ji(i) {
112
- const { config: e, layer: t, abortSignal: a } = i;
104
+ async function Xi(i) {
105
+ const { config: e, layer: t, abortSignal: r } = i;
113
106
  let s = !1;
114
- return ye(t) || wt(e) ? e && ye(t) && (s = await _e({ config: e, layer: t, abortSignal: a })) : s = !0, s;
107
+ return ue(t) || _e(e) ? e && ue(t) && (s = await Qe({ config: e, layer: t, abortSignal: r })) : s = !0, s;
115
108
  }
116
- async function Qt(i) {
109
+ async function zt(i) {
117
110
  const {
118
111
  queryObject: e,
119
112
  chartConfig: t,
120
- splitByField: a,
113
+ splitByField: r,
121
114
  errorStrings: s,
122
- abortSignal: r,
115
+ abortSignal: a,
123
116
  runtimeDataFilters: n,
124
117
  ignoreViewExtent: o,
125
- setTimeBinningInfoWhenNotProvided: l,
126
- returnFeaturesExtent: c,
127
- returnStatisticsAggregatedIds: g,
118
+ setTimeBinningInfoWhenNotProvided: c,
119
+ returnFeaturesExtent: l,
120
+ returnStatisticsAggregatedIds: m,
128
121
  chartLimits: f
129
122
  } = i;
130
123
  let p = [], u;
131
- const d = te(t), y = d.series[0], m = ot({
124
+ const d = te(t), y = d.series[0], g = lt({
132
125
  queryObject: e,
133
126
  chartConfig: d,
134
127
  runtimeDataFilters: n,
135
128
  ignoreViewExtent: o
136
129
  });
137
- if (m.outStatistics?.[0]?.outStatisticFieldName && (m.outStatistics[0].outStatisticFieldName = vt.outStatistics.outStatisticFieldName), L(y) && lt({
138
- xAxisValueFormatType: ct(d),
139
- setTimeBinningInfoWhenNotProvided: l,
130
+ if (g.outStatistics?.[0]?.outStatisticFieldName && (g.outStatistics[0].outStatisticFieldName = Lt.outStatistics.outStatisticFieldName), L(y) && ct({
131
+ xAxisValueFormatType: ut(d),
132
+ setTimeBinningInfoWhenNotProvided: c,
140
133
  seriesConfig: y,
141
134
  queryObject: e
142
- }) && ut(a, e)) {
135
+ }) && dt(r, e)) {
143
136
  const { temporalBinning: F, x: S } = y, { uniqueQuery: h } = Se({
144
137
  chartConfig: d,
145
- queryConfig: m,
138
+ queryConfig: g,
146
139
  queryObject: e,
147
- setTimeBinningInfoWhenNotProvided: l,
148
- returnFeaturesExtent: c,
140
+ setTimeBinningInfoWhenNotProvided: c,
141
+ returnFeaturesExtent: l,
149
142
  chartLimits: f
150
- }), b = t.axes?.[0].valueFormat.type === x.DateAxisFormat ? t.axes[0].valueFormat.intlOptions.timeZone : void 0;
151
- u = await dt({
143
+ }), A = t.axes?.[0].valueFormat.type === x.DateAxisFormat ? t.axes[0].valueFormat.intlOptions.timeZone : void 0;
144
+ u = await yt({
152
145
  queryObject: e,
153
146
  dateField: S,
154
- splitByField: a,
147
+ splitByField: r,
155
148
  queryConfig: h,
156
- axisTimeZone: b,
149
+ axisTimeZone: A,
157
150
  temporalBinning: F,
158
- returnStatisticsAggregatedIds: g,
151
+ returnStatisticsAggregatedIds: m,
159
152
  errorStrings: s,
160
- abortSignal: r
153
+ abortSignal: a
161
154
  }), p = Array.from(
162
155
  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;
156
+ u.flatMap((B) => {
157
+ const { stackedAttributes: T } = B;
158
+ let b = [];
159
+ return T && (b = T.map((v) => v[r]).filter((v) => v !== void 0)), b;
167
160
  })
168
161
  ).values()
169
162
  );
@@ -171,38 +164,38 @@ async function Qt(i) {
171
164
  const { uniqueQuery: F } = Se({
172
165
  chartConfig: d,
173
166
  queryObject: e,
174
- queryConfig: m,
175
- setTimeBinningInfoWhenNotProvided: l,
176
- returnFeaturesExtent: c,
167
+ queryConfig: g,
168
+ setTimeBinningInfoWhenNotProvided: c,
169
+ returnFeaturesExtent: l,
177
170
  chartLimits: f
178
- }), { elementCount: S } = await yt({
171
+ }), { elementCount: S } = await mt({
179
172
  chartConfig: d,
180
173
  queryObject: e,
181
- queryConfig: m,
174
+ queryConfig: g,
182
175
  behaviorAfterLimit: f?.behaviorAfterLimit,
183
176
  numberMaxOfFeaturesToFetch: F.num,
184
- abortSignal: r
177
+ abortSignal: a
185
178
  });
186
- u = await mt({
179
+ u = await gt({
187
180
  queryObject: e,
188
181
  queryConfig: F,
189
182
  featureCount: S,
190
- returnStatisticsAggregatedIds: g,
183
+ returnStatisticsAggregatedIds: m,
191
184
  errorStrings: s,
192
- abortSignal: r
185
+ abortSignal: a
193
186
  }), p = Array.from(
194
187
  new Set(
195
- u.map((h) => h.attributes[a]).filter((h) => h !== void 0)
188
+ u.map((h) => h.attributes[r]).filter((h) => h !== void 0)
196
189
  ).values()
197
190
  );
198
191
  }
199
192
  return { allValues: p, preFetchedQueryResponse: u };
200
193
  }
201
- function zt(i, e) {
194
+ function Gt(i, e) {
202
195
  const t = /* @__PURE__ */ new Map();
203
- return i.series.forEach((a) => {
196
+ return i.series.forEach((r) => {
204
197
  let s = ge({
205
- where: a.query?.where,
198
+ where: r.query?.where,
206
199
  // normalize the value so it matches what we get from getAllValues()
207
200
  // Refer to https://devtopia.esri.com/WebGIS/arcgis-charts/issues/8127
208
201
  normalize: !0,
@@ -211,87 +204,87 @@ function zt(i, e) {
211
204
  escape: !1
212
205
  });
213
206
  e && s !== null && (s = Number(s));
214
- const r = ke([a]);
215
- r !== void 0 && t.set(r, [
216
- ...t.get(r) ?? [],
207
+ const a = ke([r]);
208
+ a !== void 0 && t.set(a, [
209
+ ...t.get(a) ?? [],
217
210
  s
218
211
  ]);
219
212
  }), t;
220
213
  }
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) ?? [];
214
+ function Jt(i) {
215
+ const { allValues: e, configUniqueValuesPerSeriesType: t, initialConfigWasEmpty: r } = i, s = /* @__PURE__ */ new Map();
216
+ return Array.from(t.keys()).forEach((a) => {
217
+ const n = t.get(a) ?? [];
225
218
  let o = [];
226
- a ? o = e : e.forEach((l) => {
227
- n.includes(l) || o.push(l);
228
- }), s.set(r, o);
219
+ r ? o = e : e.forEach((c) => {
220
+ n.includes(c) || o.push(c);
221
+ }), s.set(a, o);
229
222
  }), s;
230
223
  }
231
- function Jt(i) {
232
- const { chartConfig: e, missingValue: t, splitByField: a, seriesTemplate: s } = i, r = JSON.parse(
224
+ function ei(i) {
225
+ const { chartConfig: e, missingValue: t, splitByField: r, seriesTemplate: s } = i, a = JSON.parse(
233
226
  JSON.stringify({
234
227
  ...e.series[0],
235
228
  ...s
236
229
  })
237
230
  );
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);
231
+ if (a.query) {
232
+ if (t === null ? a.id = Fe.nullValue : t === "" ? a.id = Fe.emptyStringValue : a.id = `${t}`, a.name = `${t}`, a.query.outStatistics?.[0] !== void 0) {
233
+ const o = a.id;
234
+ a.query.outStatistics[0].outStatisticFieldName = o, "y" in a && (a.y = o);
242
235
  }
243
236
  const n = typeof t == "number" || t === null ? t : `'${t}'`;
244
- r.query.where = `${a}=${n}`;
237
+ a.query.where = `${r}=${n}`;
245
238
  }
246
- return r;
239
+ return a;
247
240
  }
248
- async function ei(i) {
241
+ async function ti(i) {
249
242
  const {
250
243
  updateSplitBySeries: e,
251
244
  config: t,
252
- queryObject: a,
245
+ queryObject: r,
253
246
  errorStrings: s,
254
- abortSignal: r,
247
+ abortSignal: a,
255
248
  runtimeDataFilters: n,
256
249
  ignoreViewExtent: o,
257
- setTimeBinningInfoWhenNotProvided: l,
258
- returnFeaturesExtent: c,
259
- returnStatisticsAggregatedIds: g,
250
+ setTimeBinningInfoWhenNotProvided: c,
251
+ returnFeaturesExtent: l,
252
+ returnStatisticsAggregatedIds: m,
260
253
  chartLimits: f
261
254
  } = i, { seriesTemplate: p } = e ?? {};
262
255
  let u;
263
- if (a && !ye(a) && e !== void 0 && t !== void 0 && (t.series.length > 0 || p !== void 0) && e.addMissingSeries) {
256
+ if (r && !ue(r) && e !== void 0 && t !== void 0 && (t.series.length > 0 || p !== void 0) && e.addMissingSeries) {
264
257
  const d = t.series.length === 0;
265
258
  t.series.length === 0 && p !== void 0 && t.series.push(p);
266
259
  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,
260
+ if (y === w.BoxPlotC5MonoFieldAndSplitBy || y === w.BoxPlotC6MultiFieldsAndSplitBy || y === w.BoxPlotC7MonoFieldAndCategoryAndSplitBy || y === w.BarAndLineSplitBy || y === w.BarAndLineSplitByNoAggregation) {
261
+ const g = st(t.series[0]?.query?.where), F = at(r), S = rt(g, F), h = S ? nt(S) : !1, A = await zt({
262
+ queryObject: r,
270
263
  chartConfig: t,
271
- splitByField: m,
272
- abortSignal: r,
264
+ splitByField: g,
265
+ abortSignal: a,
273
266
  runtimeDataFilters: n,
274
267
  ignoreViewExtent: o,
275
- setTimeBinningInfoWhenNotProvided: l,
276
- returnFeaturesExtent: c,
277
- returnStatisticsAggregatedIds: g,
268
+ setTimeBinningInfoWhenNotProvided: c,
269
+ returnFeaturesExtent: l,
270
+ returnStatisticsAggregatedIds: m,
278
271
  chartLimits: f,
279
272
  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,
273
+ }), { allValues: B } = A;
274
+ if ({ preFetchedQueryResponse: u } = A, B.length > 0) {
275
+ const T = Gt(t, h), b = Jt({
276
+ allValues: B,
284
277
  configUniqueValuesPerSeriesType: T,
285
278
  initialConfigWasEmpty: d
286
279
  });
287
- Array.from(A.keys()).forEach((v) => {
288
- (A.get(v) ?? []).forEach((D) => {
280
+ Array.from(b.keys()).forEach((v) => {
281
+ (b.get(v) ?? []).forEach((D) => {
289
282
  t.series.push(
290
- Jt({
283
+ ei({
291
284
  chartConfig: t,
292
285
  seriesTemplate: p,
293
286
  missingValue: D,
294
- splitByField: m
287
+ splitByField: g
295
288
  })
296
289
  );
297
290
  }), d && t.series.shift();
@@ -301,149 +294,149 @@ async function ei(i) {
301
294
  }
302
295
  return u;
303
296
  }
304
- function ti(i, e) {
305
- e && !Ne(e) && (e = tt({ chartConfig: e, queryObject: i }));
297
+ function ii(i, e) {
298
+ e && !Ne(e) && (e = it({ chartConfig: e, queryObject: i }));
306
299
  }
307
- async function Zi(i) {
300
+ async function Wi(i) {
308
301
  const {
309
302
  configToAlter: e,
310
303
  layer: t,
311
- addMissingSeries: a,
304
+ addMissingSeries: r,
312
305
  updateSplitBySeries: s,
313
- chartContainer: r,
306
+ chartContainer: a,
314
307
  queryObject: n,
315
308
  abortSignal: o,
316
- runtimeDataFilters: l,
317
- ignoreViewExtent: c,
318
- setTimeBinningInfoWhenNotProvided: g,
309
+ runtimeDataFilters: c,
310
+ ignoreViewExtent: l,
311
+ setTimeBinningInfoWhenNotProvided: m,
319
312
  returnFeaturesExtent: f,
320
313
  returnStatisticsAggregatedIds: p,
321
314
  chartLimits: u,
322
315
  timeZone: d,
323
316
  errorStrings: y
324
317
  } = 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({
318
+ let g = e, F;
319
+ return g && (ii(t, g), g = await Et(g, t, void 0, o), we(d, g), r && n && (F = await ti({
327
320
  updateSplitBySeries: s,
328
- config: m,
321
+ config: g,
329
322
  queryObject: n,
330
323
  errorStrings: y,
331
324
  abortSignal: o,
332
- runtimeDataFilters: l,
333
- ignoreViewExtent: c,
334
- setTimeBinningInfoWhenNotProvided: g,
325
+ runtimeDataFilters: c,
326
+ ignoreViewExtent: l,
327
+ setTimeBinningInfoWhenNotProvided: m,
335
328
  returnFeaturesExtent: f,
336
329
  returnStatisticsAggregatedIds: p,
337
330
  chartLimits: u
338
- })), m = Ke(m, r), Pe(d, m)), { alteredConfig: m, preFetchedQueryResponse: F };
331
+ })), g = Ze(g, a)), { alteredConfig: g, preFetchedQueryResponse: F };
339
332
  }
340
- function ii(i, e) {
333
+ function si(i, e) {
341
334
  let t = !1;
342
335
  if (e !== void 0) {
343
- const a = nt({ key: gt.Average, splitBy: e });
344
- t = Number.isFinite(i[a]);
336
+ const r = ot({ key: pt.Average, splitBy: e });
337
+ t = Number.isFinite(i[r]);
345
338
  }
346
339
  return t;
347
340
  }
348
- function Ki(i) {
349
- const { data: e, config: t, showEmptySeries: a } = i, s = t.series.length, r = te(t);
341
+ function Ui(i) {
342
+ const { data: e, config: t, showEmptySeries: r } = i, s = t.series.length, a = te(t);
350
343
  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) {
344
+ if (!r && s > 1 && e) {
345
+ const o = ze(e), c = ke(t?.series), l = ie(t?.series), m = /* @__PURE__ */ new Set();
346
+ switch (c) {
354
347
  case x.ComboLineAndBarSeries:
355
348
  case x.BarSeries:
356
349
  case x.RadarSeries:
357
350
  case x.LineSeries: {
358
- r.series.forEach((p) => {
351
+ a.series.forEach((p) => {
359
352
  if (Array.isArray(o)) {
360
353
  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({
354
+ "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(
355
+ (y) => tt({
363
356
  dataItem: y,
364
357
  x: p.x,
365
358
  y: u,
366
359
  aggregationType: t.series[0].query?.outStatistics?.[0]?.statisticType
367
360
  })
368
- ) && g.add(p));
361
+ ) && m.add(p));
369
362
  }
370
363
  });
371
364
  break;
372
365
  }
373
366
  case x.BoxPlotSeries: {
374
- if (ze(t)) {
375
- const p = Ge(t);
367
+ if (Ge(t)) {
368
+ const p = Je(t);
376
369
  t.series.forEach((u) => {
377
370
  let d, y;
378
371
  u.type === x.BoxPlotSeries ? (d = e.dataItems, y = d?.some(
379
- (m) => Je({
380
- dataItem: m,
372
+ (g) => et({
373
+ dataItem: g,
381
374
  splitBy: u.query?.where,
382
375
  showOutliers: p
383
376
  })
384
377
  )) : u.type === x.LineSeries && (d = e.meanLines, y = d?.some(
385
- (m) => ii(m, u.query?.where)
386
- )), y && g.add(u);
378
+ (g) => si(g, u.query?.where)
379
+ )), y && m.add(u);
387
380
  });
388
381
  }
389
382
  break;
390
383
  }
391
384
  }
392
- const f = Array.from(g.values());
393
- n = f.length > 0 && f.length < s, n && (r.series = f);
385
+ const f = Array.from(m.values());
386
+ n = f.length > 0 && f.length < s, n && (a.series = f);
394
387
  }
395
- return { seriesFilteredOut: n, filteredConfig: r };
388
+ return { seriesFilteredOut: n, filteredConfig: a };
396
389
  }
397
- const _i = (i) => i.hideEmptyRowsAndColumns, Qi = (i, e) => {
390
+ const ji = (i) => i.hideEmptyRowsAndColumns, Ki = (i, e) => {
398
391
  i.hideEmptyRowsAndColumns = e;
399
- }, zi = (i, e) => {
392
+ }, Zi = (i, e) => {
400
393
  const t = i.series[0];
401
394
  t.heatRulesType = e;
402
- }, Gi = (i) => i.series[0].heatRulesType, Ji = (i, e) => {
395
+ }, _i = (i) => i.series[0].heatRulesType, Qi = (i, e) => {
403
396
  const t = i.series[0];
404
397
  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);
398
+ }, zi = (i) => i.series[0].gradientRules, Gi = (i) => {
399
+ 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];
400
+ if (typeof e == "string" && o !== e && l) {
401
+ if (l.y = e, Qt(t), o === n || c) {
402
+ const m = k(a, e);
403
+ $(t, 1, m);
411
404
  }
412
- we({ commonStrings: s, config: t, layerInfo: a });
405
+ Pe({ commonStrings: s, config: t, layerInfo: r });
413
406
  }
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);
407
+ }, ai = (i) => i.series[0].y ?? "", Ji = (i) => {
408
+ const { binning: e, config: t, commonStrings: r } = i, s = t.series[0];
409
+ if (s.xTemporalBinning = e, e?.unit !== void 0 && e.unit in r.utilsStrings.heatChartCalendarDatePartsUnits) {
410
+ const a = r.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
411
+ $(t, 0, a);
419
412
  }
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);
413
+ ee({ axisIndex: 0, commonStrings: r, config: t });
414
+ }, ri = (i) => i.series[0].xTemporalBinning, es = (i) => {
415
+ const { binning: e, config: t, commonStrings: r } = i, s = t.series[0];
416
+ if (s.yTemporalBinning = e, e?.unit !== void 0 && e.unit in r.utilsStrings.heatChartCalendarDatePartsUnits) {
417
+ const a = r.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
418
+ $(t, 1, a);
426
419
  }
427
- ee({ axisIndex: 1, commonStrings: a, config: t });
428
- }, ri = (i) => i.series[0].yTemporalBinning, ni = (i, e) => {
420
+ ee({ axisIndex: 1, commonStrings: r, config: t });
421
+ }, ni = (i) => i.series[0].yTemporalBinning, oi = (i, e) => {
429
422
  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 = {
423
+ 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
424
  ...e.orderOptions.data ?? {},
432
425
  orderType: N.MultiAxes
433
426
  };
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) => {
427
+ 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);
428
+ }, ts = (i, e) => {
436
429
  const t = e.series[0];
437
430
  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) => {
431
+ }, is = (i) => i.series[0].gridLine?.width, ss = (i, e) => {
432
+ const t = e.series[0], r = i?.length === 4 && i.every((s) => typeof s == "number");
433
+ t.gridLine && r && (t.gridLine.color = i);
434
+ }, as = (i) => i.series[0].gridLine?.color, rs = (i, e) => {
442
435
  const t = e.legend;
443
436
  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 = {
437
+ }, ns = (i) => i.legend?.position ?? At.Bottom, os = (i) => i.series[0].query?.outStatistics?.[0]?.onStatisticField, ls = (i) => {
438
+ const { field: e, config: t, layerInfo: r, commonStrings: s } = i, a = t.series[0].query?.outStatistics?.[0], n = le(t, r, s);
439
+ a ? (a.onStatisticField = e, a.outStatisticFieldName = `${a.statisticType}_${e}`) : t.series[0].query = {
447
440
  outStatistics: [
448
441
  {
449
442
  onStatisticField: e,
@@ -451,53 +444,53 @@ const _i = (i) => i.hideEmptyRowsAndColumns, Qi = (i, e) => {
451
444
  statisticType: I.Count
452
445
  }
453
446
  ]
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) => {
447
+ }, n && t.title && (t.title.content.text = K(t, r, s));
448
+ }, cs = (i) => i.series[0].query?.outStatistics?.[0].statisticType ?? I.Count, us = (i) => {
449
+ const { aggregationType: e, config: t, layerInfo: r, commonStrings: s } = i, a = t.series[0]?.query?.outStatistics?.[0], n = le(t, r, s);
450
+ a && e !== I.NoAggregation && (a.statisticType = e, a.outStatisticFieldName = `${e}_${a.onStatisticField}`), (e === I.Count || e === I.Sum) && li(X.Zero, t), n && t.title && (t.title.content.text = K(t, r, s));
451
+ }, ds = (i) => i.nullPolicy, li = (i, e) => {
459
452
  e.nullPolicy = i;
460
- }, ps = (i) => i.series[0].emptyCells, fs = (i, e) => {
453
+ }, ys = (i) => i.series[0].emptyCells, ms = (i, e) => {
461
454
  e.series[0].emptyCells = i;
462
- }, Ss = (i) => i.series[0].emptyCells?.text, Fs = (i, e) => {
455
+ }, gs = (i) => i.series[0].emptyCells?.text, ps = (i, e) => {
463
456
  e.series[0].emptyCells ? e.series[0].emptyCells.text = i : e.series[0].emptyCells = { text: i };
464
- }, hs = (i) => i.includeLeapDay, Ts = (i, e) => {
457
+ }, fs = (i) => i.includeLeapDay, Ss = (i, e) => {
465
458
  e.includeLeapDay = i;
466
- }, xs = (i) => i.series[0].emptyCells?.symbol, Bs = (i, e) => {
459
+ }, Fs = (i) => i.series[0].emptyCells?.symbol, hs = (i, e) => {
467
460
  e.series[0].emptyCells ? e.series[0].emptyCells.symbol = i : e.series[0].emptyCells = { symbol: i };
468
461
  };
469
- function Cs(i) {
462
+ function Ts(i) {
470
463
  return i.viewType;
471
464
  }
472
- function bs(i, e) {
473
- pt(e) || (e.viewType = i);
465
+ function xs(i, e) {
466
+ ft(e) || (e.viewType = i);
474
467
  }
475
- function As(i) {
468
+ function Bs(i) {
476
469
  return i.series[0].classBreaksRules?.breaksCount ?? G;
477
470
  }
478
- function vs(i, e) {
471
+ function Cs(i, e) {
479
472
  e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.breaksCount = i ?? G : e.series[0].classBreaksRules = {
480
473
  breaksCount: i ?? G
481
474
  };
482
475
  }
483
- function Is(i) {
476
+ function As(i) {
484
477
  return i.series[0].classBreaksRules?.classificationMethod;
485
478
  }
486
- function Ls(i, e) {
479
+ function bs(i, e) {
487
480
  e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.classificationMethod = i : e.series[0].classBreaksRules = {
488
481
  classificationMethod: i
489
482
  }, e.series[0].classBreaksRules.breaksCount = e.series[0].classBreaksRules.breaksCount ?? G;
490
483
  }
491
- function Ds(i, e) {
484
+ function vs(i, e) {
492
485
  e.firstDayOfWeek = i;
493
486
  }
494
- function Ns(i) {
487
+ function Is(i) {
495
488
  return i.firstDayOfWeek;
496
489
  }
497
- function Os(i) {
490
+ function Ls(i) {
498
491
  return i.series[0].classBreaksRules?.colorRampInfo?.name;
499
492
  }
500
- function Vs(i, e) {
493
+ function Ds(i, e) {
501
494
  e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.colorRampInfo = {
502
495
  ...e.series[0].classBreaksRules.colorRampInfo,
503
496
  name: i
@@ -508,10 +501,10 @@ function Vs(i, e) {
508
501
  }
509
502
  };
510
503
  }
511
- function qs(i) {
504
+ function Ns(i) {
512
505
  return i.series[0].classBreaksRules?.colorRampInfo?.flipped ?? !1;
513
506
  }
514
- function Rs(i, e) {
507
+ function Os(i, e) {
515
508
  e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.colorRampInfo = {
516
509
  ...e.series[0].classBreaksRules.colorRampInfo,
517
510
  flipped: i
@@ -521,25 +514,25 @@ function Rs(i, e) {
521
514
  }
522
515
  };
523
516
  }
524
- const li = [
517
+ const ci = [
525
518
  R.DayOfMonth,
526
519
  R.MonthOfYear
527
- ], be = (i) => {
520
+ ], Ae = (i) => {
528
521
  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) => {
522
+ return _(i) ? e = ye() : (q(i) || Q(i)) && (e = J()), e;
523
+ }, be = (i) => q(i) || Q(i), ve = (i) => {
524
+ const { axisIndex: e, commonStrings: t, config: r, valueFormat: s } = i, a = r.axes?.[e]?.valueFormat;
525
+ s !== void 0 && a?.type !== s.type && Ve({ config: r, commonStrings: t, valueFormat: s, axisIndex: e });
526
+ }, ui = (i, e) => {
534
527
  let t;
535
528
  return e === 0 ? t = i.series[0]?.xTemporalBinning : e === 1 && (t = i.series[0]?.yTemporalBinning), t;
536
529
  }, Ie = (i, e) => i.utilsStrings.heatChartCalendarDatePartsUnits[e] ?? "", Le = (i, e) => {
537
- let t = li[i];
530
+ let t = ci[i];
538
531
  return i === 0 && e?.unit === R.DayOfWeek ? t = R.HourOfDay : i === 1 && e?.unit === R.HourOfDay && (t = R.DayOfWeek), {
539
532
  type: x.CalendarDateParts,
540
533
  unit: t
541
534
  };
542
- }, ui = (i) => {
535
+ }, di = (i) => {
543
536
  let e = {};
544
537
  switch (i.unit) {
545
538
  case R.DayOfMonth:
@@ -563,22 +556,22 @@ const li = [
563
556
  intlOptions: e
564
557
  };
565
558
  }, 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));
559
+ 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);
560
+ 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
561
  }, 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;
562
+ const { axisIndex: e, commonStrings: t, config: r } = i, s = ui(r, e), a = s ? di(s) : void 0;
563
+ Ve({ config: r, commonStrings: t, valueFormat: a, axisIndex: e });
564
+ }, Pe = (i) => {
565
+ 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);
566
+ if (ve({ axisIndex: 0, commonStrings: e, config: t, valueFormat: c }), ve({ axisIndex: 1, commonStrings: e, config: t, valueFormat: l }), m) {
567
+ const p = ri(t) === void 0, u = ni(t) === void 0;
575
568
  p && (De({
576
569
  axisIndex: 0,
577
570
  binning: Le(0, t.series[0].yTemporalBinning),
578
571
  commonStrings: e,
579
572
  config: t,
580
573
  fieldName: s,
581
- layerInfo: a
574
+ layerInfo: r
582
575
  }), ee({
583
576
  axisIndex: 0,
584
577
  commonStrings: e,
@@ -588,8 +581,8 @@ const li = [
588
581
  binning: Le(1, t.series[0].xTemporalBinning),
589
582
  commonStrings: e,
590
583
  config: t,
591
- fieldName: r,
592
- layerInfo: a
584
+ fieldName: a,
585
+ layerInfo: r
593
586
  }), ee({
594
587
  axisIndex: 1,
595
588
  commonStrings: e,
@@ -598,123 +591,123 @@ const li = [
598
591
  }
599
592
  f && (t.series[0].xTemporalBinning = void 0, t.series[0].yTemporalBinning = void 0);
600
593
  };
601
- function di(i) {
594
+ function yi(i) {
602
595
  const e = {};
603
596
  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);
597
+ 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
598
  }), e.text || e.fillSymbol || e.markerSymbol ? e : void 0;
606
599
  }
607
600
  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) {
601
+ const { seriesIndex: e, xAxisField: t, aggregationType: r, config: s, layerInfo: a, commonStrings: n } = i, o = j(a?.layer).idField;
602
+ let c;
603
+ const l = s.series[e ?? 0];
604
+ let m = !1, f = !1, p = !1;
605
+ if (l === void 0) {
613
606
  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));
607
+ 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
608
  } else
616
- g = O(c), f = V(c), p = he(c);
617
- g ? l = Lt({
609
+ m = O(l), f = V(l), p = Te(l);
610
+ m ? c = Nt({
618
611
  commonStrings: n,
619
612
  seriesIndex: e,
620
613
  objectIDField: o
621
- }) : f ? l = Dt({
614
+ }) : f ? c = Ot({
622
615
  commonStrings: n,
623
616
  seriesIndex: e,
624
617
  objectIDField: o
625
- }) : p ? l = Nt(n, o) : l = Ot({
618
+ }) : p ? c = Vt(n, o) : c = qt({
626
619
  seriesIndex: e,
627
620
  objectIDField: o,
628
621
  commonStrings: n
629
622
  });
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,
623
+ 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 = {
624
+ ...c,
632
625
  x: t,
633
626
  y: "",
634
627
  dataLabels: {
635
- ...l.dataLabels,
636
- type: l.dataLabels?.type ?? x.Text,
637
- content: { ...l.dataLabels?.content, ...u?.content, type: At.TS },
628
+ ...c.dataLabels,
629
+ type: c.dataLabels?.type ?? x.Text,
630
+ content: { ...c.dataLabels?.content, ...u?.content, type: It.TS },
638
631
  visible: u?.visible ?? !1
639
632
  },
640
633
  ...d !== void 0 ? { nullCategory: d } : {},
641
634
  ...y !== void 0 ? { binTemporalData: y } : {},
642
- ...m !== void 0 ? { classBreakRules: m } : {},
635
+ ...g !== void 0 ? { classBreakRules: g } : {},
643
636
  ...F !== void 0 ? { xTemporalBinning: F } : {},
644
637
  ...S !== void 0 ? { yTemporalBinning: S } : {},
645
638
  ...h !== void 0 ? { emptyCells: h } : {}
646
639
  };
647
- if (C.query = {
640
+ if (B.query = {
648
641
  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 = [
642
+ ...A !== void 0 ? { fetchNullValues: A } : {}
643
+ }, r !== I.NoAggregation && o !== void 0) {
644
+ const T = `${r}_${o}_0`.toUpperCase();
645
+ B.y = T, B.query.outStatistics = [
653
646
  {
654
- statisticType: a,
647
+ statisticType: r,
655
648
  onStatisticField: o,
656
649
  outStatisticFieldName: T
657
650
  }
658
651
  ];
659
652
  }
660
- if (L(s.series[0]) && L(C)) {
661
- let T = Yt(s);
662
- T === ue.Quarter && (T = ue.Month), C.temporalBinning = {
653
+ if (L(s.series[0]) && L(B)) {
654
+ let T = $t(s);
655
+ T === de.Quarter && (T = de.Month), B.temporalBinning = {
663
656
  ...s.series[0]?.temporalBinning,
664
657
  unit: T
665
658
  };
666
659
  }
667
- return te(C);
660
+ return te(B);
668
661
  }
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;
662
+ function K(i, e, t) {
663
+ 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
664
  let S = "";
672
665
  if (fe({
673
666
  fieldName: n,
674
667
  numericFields: o,
675
- fieldList: a
668
+ fieldList: r
676
669
  }))
677
670
  S = M(t.titleLabels.aggrTypeOfAggrFields, {
678
671
  aggregationType: f,
679
672
  aggregationFields: p
680
673
  });
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], {
674
+ else if (c === I.NoAggregation) {
675
+ const h = m ? s : p;
676
+ if (l === "") {
677
+ const A = y ? "aggrTypeCategory" : "aggrTypeXAxisField";
678
+ S = M(t.titleLabels[A], {
686
679
  aggregationType: h,
687
- [m]: F
680
+ [g]: F
688
681
  });
689
682
  } else {
690
- const b = y ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
691
- S = M(t.titleLabels[b], {
683
+ const A = y ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
684
+ S = M(t.titleLabels[A], {
692
685
  aggregationType: h,
693
- [m]: F,
686
+ [g]: F,
694
687
  splitByField: d
695
688
  });
696
689
  }
697
- } else if (l === I.Count)
698
- if (c === "") {
690
+ } else if (c === I.Count)
691
+ if (l === "") {
699
692
  const h = y ? "aggrTypeCategory" : "aggrTypeXAxisField";
700
693
  S = M(t.titleLabels[h], {
701
694
  aggregationType: f,
702
- [m]: F
695
+ [g]: F
703
696
  });
704
697
  } else {
705
698
  const h = y ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
706
699
  S = M(t.titleLabels[h], {
707
700
  aggregationType: f,
708
- [m]: F,
701
+ [g]: F,
709
702
  splitByField: d
710
703
  });
711
704
  }
712
- else if (c !== "") {
705
+ else if (l !== "") {
713
706
  const h = y ? "aggrTypeOfAggrFieldByCategoryBySplitByField" : "aggrTypeOfAggrFieldByXAxisFieldBySplitByField";
714
707
  S = M(t.titleLabels[h], {
715
708
  aggregationType: f,
716
709
  aggregationField: p,
717
- [m]: F,
710
+ [g]: F,
718
711
  splitByField: d
719
712
  });
720
713
  } else if (o.length > 0) {
@@ -722,7 +715,7 @@ function Z(i, e, t) {
722
715
  S = M(t.titleLabels[h], {
723
716
  aggregationType: f,
724
717
  aggregationFields: p,
725
- [m]: F
718
+ [g]: F
726
719
  });
727
720
  }
728
721
  return S;
@@ -731,40 +724,40 @@ const Ee = (i) => ge({
731
724
  where: i.query?.where,
732
725
  normalize: !1,
733
726
  escape: !1
734
- }) ?? "", oe = (i) => i?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? I.NoAggregation, K = He(
727
+ }) ?? "", oe = (i) => i?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? I.NoAggregation, Z = We(
735
728
  (i) => {
736
729
  const e = i?.series?.[0]?.query?.where?.split("=")[0].trim() ?? "";
737
- return ft(i?.series?.[0]?.query?.where) ? "" : e;
730
+ return St(i?.series?.[0]?.query?.where) ? "" : e;
738
731
  },
739
732
  (i) => i?.series?.[0]?.query?.where
740
- ), H = (i) => {
733
+ ), W = (i) => {
741
734
  let e = [];
742
- if (K(i) === "")
735
+ if (Z(i) === "")
743
736
  e = i?.series.map((t) => {
744
- const a = t.query?.outStatistics?.map((s) => s.onStatisticField) ?? [];
745
- return a?.length > 0 ? a : t.y;
737
+ const r = t.query?.outStatistics?.map((s) => s.onStatisticField) ?? [];
738
+ return r?.length > 0 ? r : t.y;
746
739
  }).flat() ?? [];
747
740
  else {
748
- const t = i?.series?.[0], a = t?.query?.outStatistics?.[0]?.onStatisticField ?? [t?.y].flat()[0];
749
- e = a !== void 0 ? [a] : [];
741
+ const t = i?.series?.[0], r = t?.query?.outStatistics?.[0]?.onStatisticField ?? [t?.y].flat()[0];
742
+ e = r !== void 0 ? [r] : [];
750
743
  }
751
744
  return e.filter((t) => t !== "");
752
745
  };
753
746
  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;
747
+ const { splitByField: e, numericFields: t, layer: r, seriesIndex: s } = i, a = j(r).idField ?? "";
748
+ return e === "" ? t[s] ?? a : t[0] ?? a;
756
749
  }
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));
750
+ function mi(i) {
751
+ const { numericFields: e, aggregationType: t, config: r, layerInfo: s } = i;
752
+ let a = !1;
753
+ t === I.Count ? a = !0 : t === I.NoAggregation && (a = e.every((c) => {
754
+ const l = s.layerFieldsInfo.find((m) => m.name === c);
755
+ return l !== void 0 ? xe(l) : !1;
756
+ })), Be(r, 1, a);
757
+ const n = r.series.some((c) => O(c)), o = r.series.some((c) => V(c));
765
758
  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);
759
+ const c = P(r), l = s.layerFieldsInfo.find((f) => f.name === c), m = l !== void 0 && xe(l);
760
+ Be(r, 0, m);
768
761
  }
769
762
  }
770
763
  function Ye(i) {
@@ -773,112 +766,112 @@ function Ye(i) {
773
766
  }
774
767
  const me = (i) => {
775
768
  let e;
776
- 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)];
769
+ if (H(i)) {
770
+ 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;
771
+ e = [Ce(t, s), Ce(r, a)];
779
772
  } 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)];
773
+ const t = i.orderOptions?.data?.orderType ?? N.Category, r = i.orderOptions?.data && "orderBy" in i.orderOptions.data ? i.orderOptions.data.orderBy : bt.Ascending;
774
+ e = [Ct(r, t)];
782
775
  }
783
776
  return e;
784
777
  };
785
- function mi(i) {
786
- const { xAxisField: e, numericFields: t, aggregationType: a, config: s, layerInfo: r, commonStrings: n } = i, { layerFieldsInfo: o } = r, l = ne({
778
+ function gi(i) {
779
+ const { xAxisField: e, numericFields: t, aggregationType: r, config: s, layerInfo: a, commonStrings: n } = i, { layerFieldsInfo: o } = a, c = ne({
787
780
  config: s,
788
781
  xAxisField: e,
789
- aggregationType: a,
790
- layerInfo: r,
782
+ aggregationType: r,
783
+ layerInfo: a,
791
784
  seriesIndex: 0,
792
785
  commonStrings: n
793
- }), c = se({
786
+ }), l = ae({
794
787
  config: s,
795
788
  xAxisField: e,
796
789
  numericFields: t,
797
- aggregationType: a,
798
- layer: r.layer,
790
+ aggregationType: r,
791
+ layer: a.layer,
799
792
  fieldList: o
800
- }).name, g = w(s), f = H(s), p = fe({
801
- fieldName: g,
793
+ }).name, m = P(s), f = W(s), p = fe({
794
+ fieldName: m,
802
795
  numericFields: f,
803
796
  fieldList: o
804
797
  }) ? s.series[0] : void 0, u = `series_${Date.now()}`, d = p?.id ?? u, y = p?.name ?? n.axisLabels.values, F = {
805
- ...p ?? l,
798
+ ...p ?? c,
806
799
  id: d,
807
800
  name: y,
808
801
  x: U,
809
- y: c
802
+ y: l
810
803
  }, S = [];
811
804
  for (const h of t)
812
805
  S.push({
813
806
  onStatisticField: h,
814
807
  outStatisticFieldName: `${h}_0`.toUpperCase(),
815
- statisticType: a
808
+ statisticType: r
816
809
  });
817
- 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];
810
+ return F.query = { outStatistics: S }, s.series.length === 1 && ((O(F) || V(F)) && He(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
811
  }
819
812
  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 = [];
813
+ const { xAxisField: e, numericFields: t, aggregationType: r, config: s, layerInfo: a, commonStrings: n } = i, { layerFieldsInfo: o } = a, c = j(a.layer).idField, l = [];
821
814
  for (let d = 0; d < t.length; d += 1) {
822
815
  const y = ne({
823
816
  config: s,
824
817
  xAxisField: e,
825
- aggregationType: a,
826
- layerInfo: r,
818
+ aggregationType: r,
819
+ layerInfo: a,
827
820
  seriesIndex: d,
828
821
  commonStrings: n
829
- }), m = s.series[d]?.y, F = typeof m == "string" && m.trim() !== "" && !o.find((D) => D.name === m) ? m : se({
822
+ }), g = s.series[d]?.y, F = typeof g == "string" && g.trim() !== "" && !o.find((D) => D.name === g) ? g : ae({
830
823
  config: s,
831
824
  xAxisField: e,
832
825
  numericFields: t,
833
- aggregationType: a,
834
- layer: r.layer,
826
+ aggregationType: r,
827
+ layer: a.layer,
835
828
  numericFieldIndex: d,
836
829
  fieldList: o
837
830
  }).name, S = t[d], h = s.series.find(
838
831
  (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,
832
+ ), A = S !== c ? S : y.id, B = h?.id ?? A, T = h?.name ?? k(o, S) ?? B, b = h ?? y, v = {
833
+ ...b,
834
+ id: B,
842
835
  name: T
843
836
  };
844
837
  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 = [
838
+ v.query !== void 0 && (r !== I.NoAggregation ? (E = v.type === x.HeatSeries && h?.type === x.HeatSeries ? S : F, v.query.outStatistics = [
846
839
  {
847
- ...A.query?.outStatistics?.[0] ?? {},
840
+ ...b.query?.outStatistics?.[0] ?? {},
848
841
  onStatisticField: S,
849
842
  outStatisticFieldName: F,
850
- statisticType: a
843
+ statisticType: r
851
844
  }
852
- ]) : delete v.query.outStatistics), v.y = E, c.push(v);
845
+ ]) : delete v.query.outStatistics), v.y = E, l.push(v);
853
846
  }
854
- const g = c.filter((d) => Y(d)), f = c.filter(
847
+ const m = l.filter((d) => Y(d)), f = l.filter(
855
848
  (d) => O(d) || V(d)
856
849
  ), p = s.series.filter((d) => Y(d)), u = s.series.filter(
857
850
  (d) => O(d) || V(d)
858
851
  );
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;
852
+ 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])) && He(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
853
  }
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);
854
+ function Vs(i) {
855
+ 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 = Xe(t, r, s);
863
856
  if (t.series.forEach((u, d) => {
864
- const y = se({
857
+ const y = ae({
865
858
  config: t,
866
859
  xAxisField: o,
867
- numericFields: l,
860
+ numericFields: c,
868
861
  aggregationType: e,
869
- splitByField: c,
862
+ splitByField: l,
870
863
  layer: n,
871
864
  seriesIndex: d,
872
865
  numericFieldIndex: d,
873
- fieldList: r
866
+ fieldList: a
874
867
  }).name;
875
868
  u.y = y;
876
- const m = Me({
877
- splitByField: c,
878
- numericFields: l,
869
+ const g = Me({
870
+ splitByField: l,
871
+ numericFields: c,
879
872
  layer: n,
880
873
  seriesIndex: d
881
- }), F = u.query?.outStatistics?.[0]?.onStatisticField ?? m;
874
+ }), F = u.query?.outStatistics?.[0]?.onStatisticField ?? g;
882
875
  u.query = {
883
876
  ...u.query,
884
877
  outStatistics: e === I.NoAggregation ? void 0 : [
@@ -889,42 +882,42 @@ function ks(i) {
889
882
  onStatisticField: F
890
883
  }
891
884
  ]
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) {
885
+ }, "temporalBinning" in u && u.temporalBinning !== void 0 && (u.temporalBinning.nullPolicy = e === I.NoAggregation ? X.Interpolate : X.Null), e === I.NoAggregation && Wt(t);
886
+ }), f && t.title && (t.title.content.text = K(t, r, s)), p && t.series[0].type !== x.HeatSeries) {
894
887
  const u = pe({
895
888
  config: t,
896
- layerInfo: a,
889
+ layerInfo: r,
897
890
  commonStrings: s,
898
- numericFields: l,
891
+ numericFields: c,
899
892
  aggregationType: e
900
893
  });
901
894
  $(t, 1, u);
902
895
  }
903
- g !== e && Ye(t);
896
+ m !== e && Ye(t);
904
897
  }
905
- function gi(i) {
898
+ function pi(i) {
906
899
  const {
907
900
  splitByField: e,
908
901
  xAxisField: t,
909
- numericFields: a,
902
+ numericFields: r,
910
903
  aggregationType: s,
911
- config: r,
904
+ config: a,
912
905
  layerInfo: n,
913
906
  commonStrings: o,
914
- splitByFieldInfos: l
915
- } = i, { layer: c, layerFieldsInfo: g } = n, { categoriesArray: f, splitByFieldType: p } = l, u = Me({
907
+ splitByFieldInfos: c
908
+ } = i, { layer: l, layerFieldsInfo: m } = n, { categoriesArray: f, splitByFieldType: p } = c, u = Me({
916
909
  splitByField: e,
917
- numericFields: a,
918
- layer: c,
910
+ numericFields: r,
911
+ layer: l,
919
912
  seriesIndex: 0
920
913
  });
921
914
  let d = [];
922
915
  if (f.length === 0) {
923
916
  d = $e({
924
917
  xAxisField: t,
925
- numericFields: a,
918
+ numericFields: r,
926
919
  aggregationType: s,
927
- config: r,
920
+ config: a,
928
921
  layerInfo: n,
929
922
  commonStrings: o
930
923
  });
@@ -932,17 +925,17 @@ function gi(i) {
932
925
  y.query && (y.query.where = `${e}=''`);
933
926
  } else
934
927
  for (let y = 0; y < f.length; y += 1) {
935
- const m = f[y], F = se({
936
- config: r,
928
+ const g = f[y], F = ae({
929
+ config: a,
937
930
  xAxisField: t,
938
- numericFields: a,
931
+ numericFields: r,
939
932
  aggregationType: s,
940
933
  layer: n.layer,
941
934
  seriesIndex: y,
942
935
  splitByField: e,
943
- fieldList: g
936
+ fieldList: m
944
937
  }).name, S = ne({
945
- config: r,
938
+ config: a,
946
939
  xAxisField: t,
947
940
  aggregationType: s,
948
941
  layerInfo: n,
@@ -951,17 +944,19 @@ function gi(i) {
951
944
  }), h = Oe({
952
945
  queryObject: n.layer,
953
946
  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 = {
947
+ fieldValue: g ?? ""
948
+ }), A = `${g}`, B = a.series.find(
949
+ (D) => String(Ee(D)).trim().replace(/'/gu, "") === A
950
+ ), T = B?.id ?? A, b = B?.name ?? h ?? T;
951
+ xt(B, S);
952
+ const v = B ?? S, E = {
958
953
  ...v,
959
954
  id: T,
960
- name: A,
955
+ name: b,
961
956
  y: F,
962
957
  query: {
963
958
  ...v.query,
964
- where: `${e}=${p === Re.String && m !== null ? `'${m}'` : m}`,
959
+ where: `${e}=${p === Re.String && g !== null ? `'${g}'` : g}`,
965
960
  outStatistics: s !== I.NoAggregation ? [
966
961
  {
967
962
  ...v.query?.outStatistics?.[0] ?? {},
@@ -976,96 +971,96 @@ function gi(i) {
976
971
  }
977
972
  return d;
978
973
  }
979
- const Ps = (i) => {
974
+ const qs = (i) => {
980
975
  const {
981
976
  xAxisFieldName: e,
982
977
  splitByField: t,
983
- numericFields: a,
978
+ numericFields: r,
984
979
  aggregationType: s,
985
- config: r,
980
+ config: a,
986
981
  layerInfo: n,
987
982
  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({
983
+ splitByFieldInfos: c
984
+ } = 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 = Xe(m, n, o), B = fi({ config: m, layerInfo: n, commonStrings: o });
985
+ let T = qe(a);
986
+ const b = m.series.some((C) => Y(C)), v = ht(m.series), E = Tt(m.series), D = q(y) || q(S);
987
+ 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 = [
988
+ ne({ config: a, xAxisField: e, aggregationType: s, layerInfo: n, commonStrings: o })
989
+ ]), a.series.forEach((C) => {
990
+ C.x = e, C.query !== void 0 && (C.query.groupByFieldsForStatistics = [e]);
991
+ }), t === "" || r.length > 1 ? fe({
997
992
  fieldName: e,
998
- numericFields: a,
999
- fieldList: c
1000
- }) ? r.series = mi({
1001
- config: r,
993
+ numericFields: r,
994
+ fieldList: l
995
+ }) ? a.series = gi({
996
+ config: a,
1002
997
  layerInfo: n,
1003
998
  xAxisField: e,
1004
- numericFields: a,
999
+ numericFields: r,
1005
1000
  aggregationType: s,
1006
1001
  commonStrings: o
1007
- }) : r.series = $e({
1008
- config: r,
1002
+ }) : a.series = $e({
1003
+ config: a,
1009
1004
  layerInfo: n,
1010
1005
  xAxisField: e,
1011
- numericFields: a,
1006
+ numericFields: r,
1012
1007
  aggregationType: s,
1013
1008
  commonStrings: o
1014
- }) : l && (r.series = gi({
1015
- config: r,
1009
+ }) : c && (a.series = pi({
1010
+ config: a,
1016
1011
  layerInfo: n,
1017
1012
  splitByField: t,
1018
1013
  xAxisField: e,
1019
- numericFields: a,
1014
+ numericFields: r,
1020
1015
  aggregationType: s,
1021
1016
  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);
1017
+ splitByFieldInfos: c
1018
+ })), B && e !== U && a.series[0].type !== x.HeatSeries) {
1019
+ const C = k(l, e);
1020
+ $(a, 0, C);
1026
1021
  }
1027
- if (b && r.series[0].type !== x.HeatSeries) {
1028
- const B = pe({
1029
- config: r,
1022
+ if (A && a.series[0].type !== x.HeatSeries) {
1023
+ const C = pe({
1024
+ config: a,
1030
1025
  layerInfo: n,
1031
1026
  commonStrings: o,
1032
- numericFields: a,
1027
+ numericFields: r,
1033
1028
  aggregationType: s
1034
1029
  });
1035
- $(r, 1, B);
1030
+ $(a, 1, C);
1036
1031
  }
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);
1032
+ 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 && !H(m))) {
1033
+ const C = q(S) ? X.Null : X.Interpolate;
1034
+ Xt(C, a);
1040
1035
  }
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));
1036
+ H(a) && Pe({ commonStrings: o, config: a, layerInfo: n }), a.series.forEach((C) => {
1037
+ g && delete C.query, p !== e && L(C) && (S?.type === Re.TimeOnly ? C.binTemporalData = !1 : C.binTemporalData = C.type === x.LineSeries && q(S));
1043
1038
  });
1044
- }, Xe = (i, e) => {
1039
+ }, He = (i, e) => {
1045
1040
  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
1041
  ...e.markerSymbol,
1047
1042
  color: i.markerSymbol?.color
1048
1043
  });
1049
- }, ws = (i) => {
1050
- const { config: e, seriesIndex: t, layerInfo: a, commonStrings: s } = i, r = e.series?.[t], n = K(e);
1044
+ }, Rs = (i) => {
1045
+ const { config: e, seriesIndex: t, layerInfo: r, commonStrings: s } = i, a = e.series?.[t], n = Z(e);
1051
1046
  let o;
1052
- if (ie(e.series) === P.BarAndLineFromFields)
1047
+ if (ie(e.series) === w.BarAndLineFromFields)
1053
1048
  o = s.axisLabels.values;
1054
1049
  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));
1050
+ const l = a.query?.outStatistics?.[0]?.onStatisticField;
1051
+ l !== void 0 && l !== j(r.layer).idField && (o = k(r.layerFieldsInfo, l));
1057
1052
  } else {
1058
- const c = String(Ee(r)).trim().replace(/'/gu, "");
1053
+ const l = String(Ee(a)).trim().replace(/'/gu, "");
1059
1054
  o = Oe({
1060
- queryObject: a.layer,
1055
+ queryObject: r.layer,
1061
1056
  fieldName: n,
1062
- fieldValue: c ?? ""
1063
- }) ?? c;
1057
+ fieldValue: l ?? ""
1058
+ }) ?? l;
1064
1059
  }
1065
- return o ?? r.id;
1066
- }, Es = (i, e) => {
1067
- if (X(e))
1068
- ni(i, e);
1060
+ return o ?? a.id;
1061
+ }, ks = (i, e) => {
1062
+ if (H(e))
1063
+ oi(i, e);
1069
1064
  else {
1070
1065
  e.orderOptions ??= {};
1071
1066
  const t = e.orderOptions?.data?.orderType;
@@ -1074,125 +1069,125 @@ const Ps = (i) => {
1074
1069
  orderBy: [...i]
1075
1070
  });
1076
1071
  }
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);
1072
+ }, ws = async (i) => {
1073
+ 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
1074
  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({
1075
+ 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
1076
  layerInfo: t,
1082
1077
  config: e,
1083
- category: s,
1084
- errorStrings: a
1078
+ category: a,
1079
+ num: r,
1080
+ errorStrings: s
1085
1081
  }))), l;
1086
1082
  };
1087
1083
  function le(i, e, t) {
1088
- const a = Z(i, e, t), s = Mt(i), r = ae(i);
1089
- return a === s || r;
1084
+ const r = K(i, e, t), s = Yt(i), a = re(i);
1085
+ return r === s || a;
1090
1086
  }
1091
- function We(i, e, t) {
1092
- const a = pe({
1087
+ function Xe(i, e, t) {
1088
+ const r = pe({
1093
1089
  config: i,
1094
1090
  layerInfo: e,
1095
1091
  commonStrings: t,
1096
- numericFields: H(i),
1092
+ numericFields: W(i),
1097
1093
  aggregationType: oe(i)
1098
- }), s = re(1, i), r = ae(i);
1099
- return a === s || r;
1094
+ }), s = se(1, i), a = re(i);
1095
+ return r === s || a;
1100
1096
  }
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;
1097
+ function fi(i) {
1098
+ 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);
1099
+ return s === a || n || o;
1104
1100
  }
1105
- function Ys(i) {
1101
+ function Ps(i) {
1106
1102
  return L(i.series[0]) ? i.series[0].binTemporalData ?? !0 : !1;
1107
1103
  }
1108
- function $s(i, e) {
1104
+ function Es(i, e) {
1109
1105
  e?.series.forEach((t) => {
1110
1106
  L(t) && (t.binTemporalData = i, i ? t.temporalBinning = {
1111
- unit: ue.Day,
1107
+ unit: de.Day,
1112
1108
  size: 0,
1113
- timeAggregationType: bt.Start,
1109
+ timeAggregationType: vt.Start,
1114
1110
  trimIncompleteTimeInterval: !0,
1115
- nullPolicy: W.Null
1111
+ nullPolicy: X.Null
1116
1112
  } : delete t.temporalBinning);
1117
1113
  });
1118
1114
  }
1119
1115
  export {
1120
1116
  as as $,
1121
- Ms as A,
1122
- Es as B,
1117
+ ks as A,
1118
+ qs as B,
1123
1119
  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,
1120
+ Es as D,
1121
+ K as E,
1122
+ Pe as F,
1123
+ ai as G,
1124
+ Gi as H,
1125
+ Ts as I,
1126
+ xs as J,
1127
+ ri as K,
1128
+ Ji as L,
1129
+ ni as M,
1130
+ es as N,
1131
+ Bs as O,
1132
+ Cs as P,
1133
+ As as Q,
1134
+ bs as R,
1139
1135
  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,
1136
+ Ds as T,
1137
+ Ns as U,
1138
+ Os as V,
1139
+ _t as W,
1140
+ ji as X,
1141
+ Ki as Y,
1142
+ is as Z,
1143
+ ts as _,
1144
+ Hi as a,
1145
+ ss as a0,
1146
+ _i as a1,
1147
+ Zi as a2,
1152
1148
  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,
1149
+ Qi as a4,
1150
+ os as a5,
1151
+ ls as a6,
1152
+ cs as a7,
1153
+ us as a8,
1154
+ ns as a9,
1155
+ rs as aa,
1156
+ ds as ab,
1157
+ li as ac,
1158
+ ys as ad,
1159
+ ms as ae,
1160
+ gs as af,
1161
+ ps as ag,
1162
+ fs as ah,
1163
+ Ss as ai,
1164
+ Is as aj,
1165
+ vs as ak,
1166
+ Fs as al,
1167
+ hs as am,
1168
+ Yi as b,
1169
+ W as c,
1170
+ Z as d,
1171
+ Rs as e,
1172
+ Ui as f,
1178
1173
  oe as g,
1179
- ws as h,
1180
- ji as i,
1181
- ki as j,
1174
+ qi as h,
1175
+ Xi as i,
1176
+ Ht as j,
1182
1177
  $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,
1195
- Wt as x,
1196
- ks as y,
1197
- me as z
1178
+ Pi as l,
1179
+ Ri as m,
1180
+ Ei as n,
1181
+ ki as o,
1182
+ Wi as p,
1183
+ Mi as q,
1184
+ Qt as r,
1185
+ we as s,
1186
+ wi as t,
1187
+ $i as u,
1188
+ Xt as v,
1189
+ Wt as w,
1190
+ Vs as x,
1191
+ me as y,
1192
+ ws as z
1198
1193
  };