@arcgis/charts-components 5.0.0-next.149 → 5.0.0-next.150

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 (326) hide show
  1. package/README.md +2 -4
  2. package/dist/cdn/2ATTYJG6.js +2 -0
  3. package/dist/cdn/2CTKBS47.js +2 -0
  4. package/dist/cdn/2TUSY77N.js +2 -0
  5. package/dist/cdn/3C4HBCTV.js +2 -0
  6. package/dist/cdn/3MXDGSBY.js +2 -0
  7. package/dist/cdn/3NIVTPH5.js +2 -0
  8. package/dist/cdn/3Q2BMY2L.js +2 -0
  9. package/dist/cdn/4DH3GZII.js +2 -0
  10. package/dist/cdn/{Z255YC4E.js → 4KZSOP76.js} +1 -1
  11. package/dist/cdn/4UDVEHW7.js +2 -0
  12. package/dist/cdn/4ZDZD6FW.js +2 -0
  13. package/dist/cdn/5L3VUKGY.js +2 -0
  14. package/dist/cdn/{NPTAS3PB.js → 6B7P3OWP.js} +1 -1
  15. package/dist/cdn/6G6VPJ6K.js +2 -0
  16. package/dist/cdn/6L2NFOQY.js +2 -0
  17. package/dist/cdn/6UGQKSVS.js +2 -0
  18. package/dist/cdn/6VS2BUNX.js +2 -0
  19. package/dist/cdn/72ILHP4O.js +2 -0
  20. package/dist/cdn/7AXTHOAU.js +2 -0
  21. package/dist/cdn/{FPVMDAVP.js → 7K4VZYMF.js} +1 -1
  22. package/dist/cdn/{E7NSRJS7.js → 7KL2S53W.js} +1 -1
  23. package/dist/cdn/7QTZ5O4B.js +2 -0
  24. package/dist/cdn/7YWK5AX4.js +2 -0
  25. package/dist/cdn/ASYHUBK5.js +2 -0
  26. package/dist/cdn/{CB2EYCDF.js → AUSXHSLY.js} +1 -1
  27. package/dist/cdn/AZYWNZ5K.js +2 -0
  28. package/dist/cdn/BQQLJHIU.js +2 -0
  29. package/dist/cdn/BRLZ2A7F.js +2 -0
  30. package/dist/cdn/BZYRPXHD.js +2 -0
  31. package/dist/cdn/C6RJHADU.js +2 -0
  32. package/dist/cdn/CEVAPOOF.js +2 -0
  33. package/dist/cdn/{OHBHUABJ.js → CHYRXR3K.js} +1 -1
  34. package/dist/cdn/CRNVPN6B.js +2 -0
  35. package/dist/cdn/CSV2VTSA.js +2 -0
  36. package/dist/cdn/{W66EH66K.js → CZ3Y6FRM.js} +1 -1
  37. package/dist/cdn/DJLJ5P4N.js +2 -0
  38. package/dist/cdn/DKJ7FFOL.js +2 -0
  39. package/dist/cdn/{BVAXFPTE.js → DPJE33GY.js} +1 -1
  40. package/dist/cdn/{Z4XTLHV3.js → EGHGISFS.js} +1 -1
  41. package/dist/cdn/F6PKNIKI.js +2 -0
  42. package/dist/cdn/FTZVIGVW.js +2 -0
  43. package/dist/cdn/GJWPFACV.js +2 -0
  44. package/dist/cdn/H2ABG252.js +2 -0
  45. package/dist/cdn/{IBPSHNO6.js → H4ULSC2D.js} +1 -1
  46. package/dist/cdn/HEN5PMZU.js +2 -0
  47. package/dist/cdn/HPG3LCZN.js +2 -0
  48. package/dist/cdn/HT5B7AY6.js +2 -0
  49. package/dist/cdn/IARNAL5N.js +9 -0
  50. package/dist/cdn/IBKDU34P.js +2 -0
  51. package/dist/cdn/{737LK3MK.js → IR2XD6P6.js} +3 -3
  52. package/dist/cdn/{UF2PXUST.js → IXYFMAZY.js} +1 -1
  53. package/dist/cdn/JO6AAGBV.js +2 -0
  54. package/dist/cdn/{5Z2N5G2K.js → JTDP2THJ.js} +1 -1
  55. package/dist/cdn/KA4BSBVA.js +2 -0
  56. package/dist/cdn/KBKA3QP3.js +2 -0
  57. package/dist/cdn/KDYJOJ2S.js +2 -0
  58. package/dist/cdn/KISYVPQA.js +2 -0
  59. package/dist/cdn/{2NWN5I6T.js → KTHE5IC6.js} +1 -1
  60. package/dist/cdn/{ZAIDOCYY.js → LHEOE5LN.js} +1 -1
  61. package/dist/cdn/MAUJ4HUQ.js +2 -0
  62. package/dist/cdn/MGJN25XS.js +2 -0
  63. package/dist/cdn/MQRY2EYZ.js +2 -0
  64. package/dist/cdn/MR5ORMVY.js +2 -0
  65. package/dist/cdn/MZSNIA3C.js +2 -0
  66. package/dist/cdn/NA4ZFNCV.js +2 -0
  67. package/dist/cdn/NMLR7I33.js +2 -0
  68. package/dist/cdn/{NDRUBDOF.js → NNS7M7OW.js} +1 -1
  69. package/dist/cdn/{QUWXB6XH.js → NOGZZTAP.js} +1 -1
  70. package/dist/cdn/NZZFA6F6.js +2 -0
  71. package/dist/cdn/{OF3VUOXY.js → O4D2KFXK.js} +1 -1
  72. package/dist/cdn/O4NETRGZ.js +2 -0
  73. package/dist/cdn/OQNPUVUK.js +2 -0
  74. package/dist/cdn/PPJ4YIYD.js +2 -0
  75. package/dist/cdn/PT44XBUL.js +2 -0
  76. package/dist/cdn/QFHFFY63.js +32 -0
  77. package/dist/cdn/QSS4DLDZ.js +2 -0
  78. package/dist/cdn/REHRP6LK.js +2 -0
  79. package/dist/cdn/SK3SXWIS.js +2 -0
  80. package/dist/cdn/SUK2EU7N.js +2 -0
  81. package/dist/cdn/SWNLXRQP.js +2 -0
  82. package/dist/cdn/TAHOH5D6.js +2 -0
  83. package/dist/cdn/TJFJHDEJ.js +2 -0
  84. package/dist/cdn/TKGRT45N.js +2 -0
  85. package/dist/cdn/{CLEHXDRG.js → TKUAPKCR.js} +1 -1
  86. package/dist/cdn/{YJ5B4PNE.js → TTLM6X2H.js} +1 -1
  87. package/dist/cdn/TVTAA4IC.js +2 -0
  88. package/dist/cdn/UIOMTO3X.js +2 -0
  89. package/dist/cdn/{3YZMWGH2.js → UNK6HRSC.js} +1 -1
  90. package/dist/cdn/VPR47IMP.js +2 -0
  91. package/dist/cdn/{MB3EVMIM.js → W26BDESX.js} +1 -1
  92. package/dist/cdn/{LBO2EK4A.js → WUYK6PKY.js} +1 -1
  93. package/dist/cdn/X2HDENND.js +2 -0
  94. package/dist/cdn/Y6GE3FLR.js +2 -0
  95. package/dist/cdn/ZALZRTR5.js +2 -0
  96. package/dist/cdn/{YGNXHR5T.js → ZJG2TJC6.js} +1 -1
  97. package/dist/cdn/{TXSCRECL.js → ZL3FVX4B.js} +2 -2
  98. package/dist/cdn/{IYCVQI4V.js → ZMA6K5G6.js} +1 -1
  99. package/dist/cdn/ZUI6QY5V.js +2 -0
  100. package/dist/cdn/ZYBAYHZU.js +2 -0
  101. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.en.json +1 -1
  102. package/dist/cdn/assets/charts-config-heat-chart-popover/t9n/messages.en.json +1 -1
  103. package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
  104. package/dist/cdn/index.js +1 -1
  105. package/dist/chunks/action-bar-utils.js +1 -1
  106. package/dist/chunks/bar-chart-model.js +15 -16
  107. package/dist/chunks/bar-chart-series.js +1 -1
  108. package/dist/chunks/box-plot-data.js +3 -3
  109. package/dist/chunks/box-plot-model.js +69 -67
  110. package/dist/chunks/chart-model.js +527 -0
  111. package/dist/chunks/chart-ui-utils2.js +1 -1
  112. package/dist/chunks/class-breaks.js +13 -12
  113. package/dist/chunks/combo-bar-line-chart-model.js +40 -41
  114. package/dist/chunks/data.js +4 -4
  115. package/dist/chunks/default.js +5 -4
  116. package/dist/chunks/gauge-model.js +19 -18
  117. package/dist/chunks/generate-x-axis-title.js +1 -1
  118. package/dist/chunks/heat-chart-model.js +42 -43
  119. package/dist/chunks/histogram-data.js +2 -2
  120. package/dist/chunks/histogram-model.js +43 -42
  121. package/dist/chunks/index.js +1128 -1195
  122. package/dist/chunks/interfaces.js +31 -30
  123. package/dist/chunks/line-chart-model.js +15 -15
  124. package/dist/chunks/model-setter.js +23 -18
  125. package/dist/chunks/model-with-guides.js +317 -0
  126. package/dist/chunks/model-with-line-marker-styling.js +177 -0
  127. package/dist/chunks/model-with-tooltips.js +315 -0
  128. package/dist/chunks/model-with-x-guides.js +49 -0
  129. package/dist/chunks/model-with-y-guides.js +629 -0
  130. package/dist/chunks/negative-values-stacked-to-baseline.js +77 -19
  131. package/dist/chunks/pie-chart-data.js +2 -2
  132. package/dist/chunks/pie-chart-model.js +18 -18
  133. package/dist/chunks/radar-chart-model.js +8 -8
  134. package/dist/chunks/resource.js +5 -4
  135. package/dist/chunks/rotated-state.js +1 -1
  136. package/dist/chunks/scatterplot-model.js +54 -52
  137. package/dist/chunks/serial-chart-data.js +322 -371
  138. package/dist/chunks/serial-chart-model.js +295 -138
  139. package/dist/chunks/series-length.js +79 -0
  140. package/dist/chunks/series.js +37 -0
  141. package/dist/chunks/setup-utils.js +79 -0
  142. package/dist/chunks/type-guards.js +45 -44
  143. package/dist/chunks/utils.js +3 -3
  144. package/dist/chunks/utils2.js +1 -1
  145. package/dist/chunks/web-component-utils.js +63 -61
  146. package/dist/components/arcgis-chart/customElement.d.ts +9 -0
  147. package/dist/components/arcgis-chart/customElement.js +4 -4
  148. package/dist/components/arcgis-charts-action-bar/customElement.d.ts +6 -0
  149. package/dist/components/arcgis-charts-action-bar/customElement.js +1 -0
  150. package/dist/components/arcgis-charts-config-axis/customElement.js +1 -0
  151. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  152. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
  153. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
  154. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
  155. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
  156. package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
  157. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
  158. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
  159. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
  160. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
  161. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
  162. package/dist/components/arcgis-charts-config-create-flow/customElement.js +2 -2
  163. package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
  164. package/dist/components/arcgis-charts-config-font-style/resource.d.ts +9 -0
  165. package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
  166. package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
  167. package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
  168. package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
  169. package/dist/components/arcgis-charts-config-guide/resource.d.ts +8 -0
  170. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
  171. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -0
  172. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
  173. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
  174. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +9 -9
  175. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +4 -4
  176. package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
  177. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
  178. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
  179. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  180. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
  181. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
  182. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
  183. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
  184. package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -0
  185. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
  186. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
  187. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
  188. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
  189. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
  190. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
  191. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
  192. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
  193. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
  194. package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
  195. package/dist/docs/api.json +1 -1
  196. package/dist/docs/docs.json +1 -1
  197. package/dist/docs/vscode.html-custom-data.json +1 -1
  198. package/dist/docs/web-types.json +1 -1
  199. package/dist/index.js +1 -1
  200. package/dist/interfaces.d.ts +77 -0
  201. package/dist/json-schema/index.d.ts +8498 -0
  202. package/dist/model/bar-chart-model/bar-chart-model.d.ts +9 -1
  203. package/dist/model/box-plot-model/box-plot-model.d.ts +14 -28
  204. package/dist/model/chart-model/chart-model-base.d.ts +1 -0
  205. package/dist/model/chart-model/chart-model.d.ts +2 -31
  206. package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +11 -9
  207. package/dist/model/gauge-model/gauge-model.d.ts +12 -18
  208. package/dist/model/heat-chart-model/heat-chart-model.d.ts +17 -2
  209. package/dist/model/histogram-model/histogram-model.d.ts +15 -27
  210. package/dist/model/line-chart-model/line-chart-model.d.ts +12 -11
  211. package/dist/model/mixins/model-with-line-marker-styling.d.ts +1 -0
  212. package/dist/model/mixins/model-with-multi-axes.d.ts +1 -0
  213. package/dist/model/mixins/model-with-x-guides.d.ts +2 -8
  214. package/dist/model/mixins/model-with-y-guides.d.ts +2 -8
  215. package/dist/model/pie-chart-model/pie-chart-legend-model.d.ts +2 -8
  216. package/dist/model/pie-chart-model/pie-chart-model.d.ts +12 -14
  217. package/dist/model/radar-chart-model/radar-chart-model.d.ts +12 -11
  218. package/dist/model/scatterplot-model/scatterplot-model.d.ts +16 -29
  219. package/dist/model/serial-chart-model/serial-chart-model.d.ts +9 -31
  220. package/dist/model.js +38 -112
  221. package/dist/spec/config-defaults.d.ts +4 -0
  222. package/dist/spec/rest-js-types.d.ts +89 -224
  223. package/dist/spec/web-chart.d.ts +1 -2
  224. package/dist/utils/chart-config/interfaces.d.ts +3 -0
  225. package/dist/utils/chart-config/utils/index.d.ts +39 -1
  226. package/dist/utils/chart-config/utils/interfaces.d.ts +2 -0
  227. package/dist/utils/chart-config/validator/index.d.ts +1 -0
  228. package/dist/utils/chart-config/validator/interfaces.d.ts +19 -7
  229. package/dist/utils/components/event-payloads.d.ts +9 -0
  230. package/dist/utils/data/categorical-data/index.d.ts +1 -0
  231. package/dist/utils/data/index.d.ts +12 -0
  232. package/dist/utils/data/interfaces.d.ts +6 -0
  233. package/dist/utils/data/time-binning/interfaces.d.ts +6 -0
  234. package/dist/utils/defaults/index.d.ts +135 -15
  235. package/dist/utils/defaults/interfaces.d.ts +4 -0
  236. package/dist/utils/layer/index.d.ts +40 -0
  237. package/dist/utils/layer/inline-conversion/interfaces.d.ts +2 -0
  238. package/dist/utils/layer/interfaces.d.ts +15 -2
  239. package/dist/utils/layer/query-features/index.d.ts +26 -1
  240. package/dist/utils/layer/query-features/interfaces.d.ts +3 -0
  241. package/dist/utils/layer/query-parser/index.d.ts +15 -1
  242. package/dist/utils/layer/utils/index.d.ts +16 -0
  243. package/dist/utils/localization/index.d.ts +10 -0
  244. package/dist/utils/localization/interfaces.d.ts +11 -0
  245. package/dist/utils/misc/index.d.ts +29 -0
  246. package/dist/utils/type-guards/index.d.ts +38 -3
  247. package/dist/utils/type-guards/series-types.d.ts +18 -0
  248. package/dist/utils/types/index.d.ts +31 -6
  249. package/dist/utils/ui/chart-ui-utils.d.ts +6 -1
  250. package/dist/utils/ui/popover-ui-utils.d.ts +3 -0
  251. package/package.json +3 -3
  252. package/dist/cdn/3IFN5UNC.js +0 -2
  253. package/dist/cdn/3NE6BHA7.js +0 -2
  254. package/dist/cdn/3T66I3AV.js +0 -2
  255. package/dist/cdn/4G3CMZYX.js +0 -2
  256. package/dist/cdn/5NFDDXIZ.js +0 -2
  257. package/dist/cdn/5ZDTPYVX.js +0 -2
  258. package/dist/cdn/73DP7O6V.js +0 -2
  259. package/dist/cdn/7BYBNK4D.js +0 -2
  260. package/dist/cdn/7J55VBBP.js +0 -2
  261. package/dist/cdn/7JHAQ55T.js +0 -2
  262. package/dist/cdn/7MK2A5CN.js +0 -2
  263. package/dist/cdn/7QAEPVLP.js +0 -2
  264. package/dist/cdn/AZXSIAD5.js +0 -2
  265. package/dist/cdn/B4ONKX76.js +0 -2
  266. package/dist/cdn/BGRFXQBF.js +0 -2
  267. package/dist/cdn/BRSFMI7W.js +0 -2
  268. package/dist/cdn/BZBPPMPO.js +0 -2
  269. package/dist/cdn/CCE73L6Y.js +0 -2
  270. package/dist/cdn/CN4JJBQD.js +0 -2
  271. package/dist/cdn/CSGEEI34.js +0 -2
  272. package/dist/cdn/E7HMRRLS.js +0 -2
  273. package/dist/cdn/EJUACEYV.js +0 -2
  274. package/dist/cdn/F2EEAM7D.js +0 -2
  275. package/dist/cdn/F32ALQAF.js +0 -2
  276. package/dist/cdn/FDMFAAYD.js +0 -32
  277. package/dist/cdn/GXU3KAZJ.js +0 -2
  278. package/dist/cdn/HBBVQMKS.js +0 -2
  279. package/dist/cdn/HKS7OKQ2.js +0 -2
  280. package/dist/cdn/IDUT4PPZ.js +0 -2
  281. package/dist/cdn/ITOFPGYG.js +0 -2
  282. package/dist/cdn/K35SAKH6.js +0 -2
  283. package/dist/cdn/K7PHN6CK.js +0 -2
  284. package/dist/cdn/KFJDBWIX.js +0 -2
  285. package/dist/cdn/KJZSK5YZ.js +0 -2
  286. package/dist/cdn/KTAVV3VX.js +0 -2
  287. package/dist/cdn/KTLKB6B4.js +0 -2
  288. package/dist/cdn/KVD56MDM.js +0 -2
  289. package/dist/cdn/L53UCZR6.js +0 -2
  290. package/dist/cdn/L7C7MUW3.js +0 -2
  291. package/dist/cdn/LWCWU4HZ.js +0 -2
  292. package/dist/cdn/MJMTX7G3.js +0 -2
  293. package/dist/cdn/MKUWP4YO.js +0 -2
  294. package/dist/cdn/OLWAY6BU.js +0 -2
  295. package/dist/cdn/P4IJGBEM.js +0 -2
  296. package/dist/cdn/PHOC6W4U.js +0 -2
  297. package/dist/cdn/PTHMEJ4M.js +0 -2
  298. package/dist/cdn/Q4XRMPTN.js +0 -2
  299. package/dist/cdn/Q65AFAC2.js +0 -2
  300. package/dist/cdn/QEUQO5PH.js +0 -2
  301. package/dist/cdn/QJ7AL2JA.js +0 -2
  302. package/dist/cdn/QR6LWJA6.js +0 -2
  303. package/dist/cdn/QRNC5B3Q.js +0 -2
  304. package/dist/cdn/QZQBEPBF.js +0 -2
  305. package/dist/cdn/R23O2O7W.js +0 -2
  306. package/dist/cdn/TTDJJ46R.js +0 -2
  307. package/dist/cdn/TZ6AFED4.js +0 -2
  308. package/dist/cdn/UMDCLTNE.js +0 -2
  309. package/dist/cdn/VPVSYP2L.js +0 -2
  310. package/dist/cdn/VZR5LOQW.js +0 -2
  311. package/dist/cdn/W7MNTZT7.js +0 -2
  312. package/dist/cdn/XRRVOQJ3.js +0 -2
  313. package/dist/cdn/XSDOT2VC.js +0 -2
  314. package/dist/cdn/YJC6B2JE.js +0 -2
  315. package/dist/cdn/YMO37QWY.js +0 -9
  316. package/dist/cdn/Z2RUBKU7.js +0 -2
  317. package/dist/cdn/ZEKY74JE.js +0 -2
  318. package/dist/cdn/ZWPLVA7G.js +0 -2
  319. package/dist/cdn/ZXRU5IEE.js +0 -2
  320. package/dist/chunks/data-labels-visibility.js +0 -87
  321. package/dist/chunks/model-with-multi-axes.js +0 -1995
  322. package/dist/chunks/x-axis-labels-visibility.js +0 -68
  323. package/dist/model/shared/utils.d.ts +0 -4
  324. /package/dist/cdn/{CF5YAZDQ.js → 2BRTKEX6.js} +0 -0
  325. /package/dist/cdn/{S24EVUYE.js → F4KKUFSS.js} +0 -0
  326. /package/dist/cdn/{OJHML5IU.js → Z5QOLHIZ.js} +0 -0
@@ -1,27 +1,28 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
2
- import { m as Ae, C as z } from "./model-setter.js";
2
+ import { substitute as D } from "@arcgis/core/intl.js";
3
+ import { cloneDeep as re, memoize as ne, isEmpty as Ce } from "lodash-es";
4
+ import "@arcgis/toolkit/type";
5
+ import { w as Be, a as L, d as be, t as A, g as Ae, W as M, m as j, n as ve, i as H } from "./series-types.js";
6
+ import { R as le, f as Ie } from "./rest-js-object-literals.js";
7
+ import { U as Le, cH as qe, o as X, df as w, j as Ne, cF as we, bL as Ve, bX as Oe, am as De, q as N, p as Me, dm as ke, cB as Pe, dn as Z, cc as Re, c8 as Ee, k as oe, Z as Y, cY as V, dk as $e, di as E, bK as K, bQ as de, bR as ue, br as Ue, dh as ce, l as Xe, b as $, bO as Ye, b3 as Ke, b4 as We, a_ as je, b6 as He, bN as ee, aL as Qe, aK as te, aM as ze } from "./index.js";
3
8
  import "@arcgis/toolkit/intl";
4
- import { cloneDeep as le, memoize as oe, isEmpty as ve } from "lodash-es";
5
9
  import "luxon";
6
10
  import "d3-array";
7
- import { U as Ie, cH as Le, o as X, df as V, j as we, cF as qe, bL as Ve, bX as Ne, am as Oe, q, p as De, dm as Pe, cB as Me, dn as te, cc as ke, c8 as Re, k as G, aI as Ee, aG as $e, bB as Ue, Z as W, cY as N, dk as Xe, di as E, bK as Y, bQ as de, bR as ue, br as We, dh as ce, l as Ye, b as $, bO as je, b3 as Ke, b4 as _e, a_ as He, b6 as Qe, bN as ie, aL as ze, aK as se, aM as Ge } from "./index.js";
8
- import "@esri/arcgis-html-sanitizer";
9
- import { w as Je, a as L, d as Ze, t as A, g as et, W as P, m as K, n as tt, i as _ } from "./series-types.js";
10
11
  import "@arcgis/core/geometry/support/jsonUtils.js";
11
12
  import "@arcgis/core/rest/support/AttributeBinsQuery.js";
12
- import "@arcgis/core/rest/support/Query.js";
13
13
  import "@arcgis/core/rest/support/StatisticDefinition.js";
14
14
  import "@arcgis/core/time/TimeExtent.js";
15
15
  import "@arcgis/core/core/promiseUtils.js";
16
16
  import "@arcgis/core/request.js";
17
17
  import "./runtime.js";
18
+ import { h as ye, l as v, o as _e, p as Ge, j as x, k as C, m as ie } from "./index4.js";
18
19
  import "@arcgis/toolkit/dom";
19
- import { substitute as D } from "@arcgis/core/intl.js";
20
- import { R as ye, f as it } from "./rest-js-object-literals.js";
21
- import { h as ge, l as v, o as st, p as at, j as x, k as C, m as ae } from "./index4.js";
22
- import { S as H } from "./common.js";
23
- import { s as I, u as M, d as pe, e as rt, f as nt, g as me, h as lt, j as re } from "./utils.js";
24
- import { b as R, d as fe, g as J, e as ne, f as ot } from "./data.js";
20
+ import { S as Q } from "./common.js";
21
+ import "@esri/arcgis-html-sanitizer";
22
+ import { s as I, u as k, d as ge, e as Je, f as Ze, g as me, h as et, j as se } from "./utils.js";
23
+ import { b as R, c as pe, g as _, e as ae, f as tt } from "./data.js";
24
+ import { b as it, g as st } from "./series-length.js";
25
+ import { g as G } from "./utils2.js";
25
26
  import "@arcgis/core/Graphic.js";
26
27
  import "@arcgis/core/renderers/support/jsonUtils.js";
27
28
  import "@arcgis/core/symbols/support/symbolUtils.js";
@@ -30,70 +31,69 @@ import "@arcgis/core/smartMapping/statistics/histogram.js";
30
31
  import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
31
32
  import "simple-statistics";
32
33
  import "@arcgis/core/AttributeBinsGraphic.js";
33
- import { g as Z } from "./utils2.js";
34
- import { c as dt } from "./index2.js";
35
- function Si(t, e) {
34
+ import { c as at } from "./index2.js";
35
+ function ni(t, e) {
36
36
  let i;
37
37
  return e !== void 0 && (i = { ...e }, i.legend !== void 0 && (i.legend.position = t)), i;
38
38
  }
39
- function hi(t, e) {
39
+ function li(t, e) {
40
40
  let i;
41
41
  return e !== void 0 && (i = { ...e }, i.legend !== void 0 && (i.legend.visible = t)), i;
42
42
  }
43
- function Fi(t, e) {
43
+ function oi(t, e) {
44
44
  let i;
45
45
  return e !== void 0 && (i = { ...e, rotated: t }), i;
46
46
  }
47
- function ut(t) {
47
+ function rt(t) {
48
48
  let e;
49
49
  return t !== void 0 && (e = { ...t }, delete e.axes?.[0]?.minimum, delete e.axes?.[0]?.maximum, delete e.axes?.[1]?.minimum, delete e.axes?.[1]?.maximum), e;
50
50
  }
51
- function Ti(t, e) {
52
- return e != null || ge(t);
51
+ function di(t, e) {
52
+ return e != null || ye(t);
53
53
  }
54
- async function ct(t) {
54
+ async function nt(t) {
55
55
  const { queryObject: e, chartConfig: i, options: r, splitByField: a } = t;
56
56
  let s = [], n;
57
- const l = le(i), o = l.series[0], d = Ne({
57
+ const l = re(i), o = l.series[0], d = Oe({
58
58
  queryObject: e,
59
59
  chartConfig: l,
60
60
  runtimeDataFilters: r?.runtimeDataFilters,
61
61
  ignoreViewExtent: r?.ignoreViewExtent
62
62
  });
63
- if (d.outStatistics?.[0]?.outStatisticFieldName && (d.outStatistics[0].outStatisticFieldName = Oe.outStatistics.outStatisticFieldName), q(o) && De({
64
- xAxisValueFormatType: Pe(l),
63
+ if (d.outStatistics?.[0]?.outStatisticFieldName && (d.outStatistics[0].outStatisticFieldName = De.outStatistics.outStatisticFieldName), N(o) && Me({
64
+ xAxisValueFormatType: ke(l),
65
65
  setTimeBinningInfoWhenNotProvided: r?.setTimeBinningInfoWhenNotProvided,
66
66
  seriesConfig: o
67
- }) && Me(e)) {
68
- const { temporalBinning: f, x: c } = o, { uniqueQuery: h } = await te({
67
+ }) && Pe(e)) {
68
+ const { temporalBinning: f, x: c } = o, { uniqueQuery: F } = await Z({
69
69
  chartConfig: l,
70
70
  queryConfig: d,
71
71
  queryObject: e,
72
72
  options: r
73
73
  });
74
- n = await ke({
74
+ n = await Re({
75
75
  queryObject: e,
76
76
  dateField: c,
77
77
  splitByField: a,
78
- queryConfig: h,
78
+ queryConfig: F,
79
79
  temporalBinning: f
80
80
  }), s = Array.from(
81
81
  new Set(
82
82
  n.flatMap((S) => {
83
83
  const { stackedAttributes: g } = S;
84
84
  let u = [];
85
- return g && (u = g.map((m) => m[a]).filter((m) => m !== void 0)), u;
85
+ return g && (u = g.map((p) => p[a]).filter((p) => p !== void 0)), u;
86
86
  })
87
87
  ).values()
88
88
  );
89
89
  } else {
90
- const { uniqueQuery: f } = await te({
90
+ const { uniqueQuery: f } = await Z({
91
91
  chartConfig: l,
92
92
  queryObject: e,
93
93
  queryConfig: d,
94
94
  options: r
95
95
  });
96
- n = await Re({
96
+ n = await Ee({
97
97
  queryObject: e,
98
98
  queryConfig: f,
99
99
  featureCount: 1
@@ -105,10 +105,10 @@ async function ct(t) {
105
105
  }
106
106
  return { allValues: s, preFetchedQueryResponse: n };
107
107
  }
108
- function yt(t, e) {
108
+ function lt(t, e) {
109
109
  const i = /* @__PURE__ */ new Map();
110
110
  return t.series.forEach((r) => {
111
- let a = G({
111
+ let a = oe({
112
112
  where: r.query?.where,
113
113
  // normalize the value so it matches what we get from getAllValues()
114
114
  // Refer to https://devtopia.esri.com/WebGIS/arcgis-charts/issues/8127
@@ -118,14 +118,14 @@ function yt(t, e) {
118
118
  escape: !1
119
119
  });
120
120
  e && a !== null && (a = Number(a));
121
- const s = Je([r]);
121
+ const s = Be([r]);
122
122
  s !== void 0 && i.set(s, [
123
123
  ...i.get(s) ?? [],
124
124
  a
125
125
  ]);
126
126
  }), i;
127
127
  }
128
- function gt(t) {
128
+ function ot(t) {
129
129
  const { allValues: e, configUniqueValuesPerSeriesType: i, initialConfigWasEmpty: r } = t, a = /* @__PURE__ */ new Map();
130
130
  return Array.from(i.keys()).forEach((s) => {
131
131
  const n = i.get(s) ?? [];
@@ -135,7 +135,7 @@ function gt(t) {
135
135
  }), a.set(s, l);
136
136
  }), a;
137
137
  }
138
- function pt(t) {
138
+ function dt(t) {
139
139
  const { chartConfig: e, missingValue: i, splitByField: r, seriesTemplate: a } = t, s = JSON.parse(
140
140
  JSON.stringify({
141
141
  ...e.series[0],
@@ -152,35 +152,35 @@ function pt(t) {
152
152
  }
153
153
  return s;
154
154
  }
155
- async function mt(t) {
155
+ async function ut(t) {
156
156
  const { updateSplitBySeries: e, config: i, options: r, queryObject: a } = t, { seriesTemplate: s } = e ?? {};
157
157
  let n;
158
158
  if (e !== void 0 && i !== void 0 && (i.series.length > 0 || s !== void 0) && e.addMissingSeries) {
159
159
  const l = i.series.length === 0;
160
160
  i.series.length === 0 && s !== void 0 && i.series.push(s);
161
161
  const o = X(i.series);
162
- if ((o === V.BoxPlotMonoFieldAndSplitBy || o === V.BoxPlotMultiFieldsAndSplitBy || o === V.BoxPlotMonoFieldAndCategoryAndSplitBy || o === V.BarAndLineSplitBy || o === V.BarAndLineSplitByNoAggregation) && a !== void 0) {
163
- const d = we(i.series[0]?.query?.where), f = qe(a);
162
+ if ((o === w.BoxPlotMonoFieldAndSplitBy || o === w.BoxPlotMultiFieldsAndSplitBy || o === w.BoxPlotMonoFieldAndCategoryAndSplitBy || o === w.BarAndLineSplitBy || o === w.BarAndLineSplitByNoAggregation) && a !== void 0) {
163
+ const d = Ne(i.series[0]?.query?.where), f = we(a);
164
164
  await f.load();
165
- const c = f.getField(d)?.toJSON(), h = Ve(c), S = await ct({
165
+ const c = f.getField(d)?.toJSON(), F = Ve(c), S = await nt({
166
166
  queryObject: a,
167
167
  chartConfig: i,
168
168
  splitByField: d,
169
169
  options: r
170
170
  }), { allValues: g } = S;
171
171
  if ({ preFetchedQueryResponse: n } = S, g.length > 0) {
172
- const u = yt(i, h), m = gt({
172
+ const u = lt(i, F), p = ot({
173
173
  allValues: g,
174
174
  configUniqueValuesPerSeriesType: u,
175
175
  initialConfigWasEmpty: l
176
176
  });
177
- Array.from(m.keys()).forEach((F) => {
178
- (m.get(F) ?? []).forEach((p) => {
177
+ Array.from(p.keys()).forEach((h) => {
178
+ (p.get(h) ?? []).forEach((m) => {
179
179
  i.series.push(
180
- pt({
180
+ dt({
181
181
  chartConfig: i,
182
182
  seriesTemplate: s,
183
- missingValue: p,
183
+ missingValue: m,
184
184
  splitByField: d
185
185
  })
186
186
  );
@@ -191,148 +191,104 @@ async function mt(t) {
191
191
  }
192
192
  return n;
193
193
  }
194
- function ft(t, e) {
195
- e && !ge(e) && (e = Le({ chartConfig: e, queryObject: t }));
194
+ function ct(t, e) {
195
+ e && !ye(e) && (e = qe({ chartConfig: e, queryObject: t }));
196
196
  }
197
- async function xi(t) {
197
+ async function ui(t) {
198
198
  const { configToAlter: e, layer: i, addMissingSeries: r, updateSplitBySeries: a, chartContainer: s, queryObject: n, options: l } = t;
199
199
  let o = e, d;
200
- return o && (ft(i, o), o = await dt(o, i), r && (d = await mt({
200
+ return o && (ct(i, o), o = await at(o, i), r && (d = await ut({
201
201
  updateSplitBySeries: a,
202
202
  config: o,
203
203
  options: l,
204
204
  queryObject: n
205
- })), o = Ie(o, s)), { alteredConfig: o, preFetchedQueryResponse: d };
205
+ })), o = Le(o, s)), { alteredConfig: o, preFetchedQueryResponse: d };
206
206
  }
207
- var St = Object.defineProperty, ht = Object.getOwnPropertyDescriptor, Ft = (t, e, i, r) => {
208
- for (var a = ht(e, i), s = t.length - 1, n; s >= 0; s--)
209
- (n = t[s]) && (a = n(e, i, a) || a);
210
- return a && St(e, i, a), a;
211
- };
212
- const Se = (t) => t.title?.content.text ?? "", Tt = (t, e) => {
213
- e.title !== void 0 ? e.title.content.text = t : e.title === void 0 && t !== void 0 && (e.title = Ee({
214
- text: t,
215
- visible: !0,
216
- font: $e(Ue.ChartTitle)
217
- }));
218
- };
219
- class xt extends z {
220
- /**
221
- * The chart title text.
222
- */
223
- get titleText() {
224
- return Se(this._config);
225
- }
226
- set titleText(e) {
227
- Tt(e, this._config);
228
- }
229
- }
230
- Ft([
231
- Ae
232
- ], xt.prototype, "titleText");
233
- const Ct = (t) => t.series.map((e) => String(G({ where: e.query?.where }))).filter((e) => e !== void 0 && e.trim() !== "");
234
- class Ci extends z {
235
- /**
236
- * The split-by values for the chart.
237
- */
238
- get splitByValues() {
239
- return Ct(this._config);
240
- }
241
- }
242
- const Bt = (t) => {
207
+ const yt = (t) => {
243
208
  let e;
244
209
  const i = t.series[0];
245
- return q(i) && (e = i.temporalBinning?.size), e;
246
- }, bt = (t) => {
210
+ return N(i) && (e = i.temporalBinning?.size), e;
211
+ }, gt = (t) => {
247
212
  let e;
248
213
  const i = t.series[0];
249
- return q(i) && (e = i.temporalBinning?.unit), e;
250
- }, At = (t) => {
214
+ return N(i) && (e = i.temporalBinning?.unit), e;
215
+ }, mt = (t) => {
251
216
  let e;
252
217
  const i = t.series[0];
253
- return q(i) && (e = i.temporalBinning?.timeAggregationType), e;
254
- }, vt = (t) => {
218
+ return N(i) && (e = i.temporalBinning?.timeAggregationType), e;
219
+ }, pt = (t) => {
255
220
  let e;
256
221
  const i = t.series[0];
257
- return q(i) && (e = i.temporalBinning?.trimIncompleteTimeInterval), e;
258
- }, It = (t) => {
222
+ return N(i) && (e = i.temporalBinning?.trimIncompleteTimeInterval), e;
223
+ }, ft = (t) => {
259
224
  let e;
260
225
  const i = t.series[0];
261
- return q(i) && (e = i.temporalBinning?.nullPolicy), e;
262
- }, he = (t, e) => {
226
+ return N(i) && (e = i.temporalBinning?.nullPolicy), e;
227
+ }, fe = (t, e) => {
263
228
  e?.series?.forEach((i) => {
264
- q(i) && (i.temporalBinning ??= {}, i.temporalBinning.size = t);
229
+ N(i) && (i.temporalBinning ??= {}, i.temporalBinning.size = t);
265
230
  }), I({ config: e, value: null, axisIndex: 1, isMax: !1 }), I({ config: e, value: null, axisIndex: 1, isMax: !0 });
266
- }, Lt = (t, e) => {
231
+ }, St = (t, e) => {
267
232
  e?.series?.forEach((i) => {
268
- q(i) && (i.temporalBinning ??= {}, i.temporalBinning.nullPolicy = t);
233
+ N(i) && (i.temporalBinning ??= {}, i.temporalBinning.nullPolicy = t);
269
234
  }), I({ config: e, value: null, axisIndex: 1, isMax: !1 }), I({ config: e, value: null, axisIndex: 1, isMax: !0 });
270
- }, Bi = (t, e) => {
235
+ }, ci = (t, e) => {
271
236
  e.series?.forEach((i) => {
272
- q(i) && (i.temporalBinning ??= {}, i.temporalBinning.unit = t);
237
+ N(i) && (i.temporalBinning ??= {}, i.temporalBinning.unit = t);
273
238
  }), I({ config: e, value: null, axisIndex: 1, isMax: !1 }), I({ config: e, value: null, axisIndex: 1, isMax: !0 });
274
- }, bi = (t, e) => {
239
+ }, yi = (t, e) => {
275
240
  e.series?.forEach((i) => {
276
- q(i) && (i.temporalBinning ??= {}, i.temporalBinning.timeAggregationType = t);
241
+ N(i) && (i.temporalBinning ??= {}, i.temporalBinning.timeAggregationType = t);
277
242
  }), I({ config: e, value: null, axisIndex: 1, isMax: !1 }), I({ config: e, value: null, axisIndex: 1, isMax: !0 });
278
- }, Ai = (t, e) => {
243
+ }, gi = (t, e) => {
279
244
  e.series?.forEach((i) => {
280
- q(i) && (i.temporalBinning ??= {}, i.temporalBinning.trimIncompleteTimeInterval = t);
245
+ N(i) && (i.temporalBinning ??= {}, i.temporalBinning.trimIncompleteTimeInterval = t);
281
246
  }), I({ config: e, value: null, axisIndex: 1, isMax: !1 }), I({ config: e, value: null, axisIndex: 1, isMax: !0 });
282
- }, vi = (t) => {
283
- he(0, t);
284
- }, Fe = (t) => t.series.length ?? 0;
285
- class Ii extends z {
286
- /**
287
- * The length of the series array.
288
- */
289
- get seriesLength() {
290
- return Fe(this._config);
291
- }
292
- }
293
- const Li = (t) => t.hideEmptyRowsAndColumns, wi = (t, e) => {
247
+ }, mi = (t) => {
248
+ fe(0, t);
249
+ }, pi = (t) => t.hideEmptyRowsAndColumns, fi = (t, e) => {
294
250
  t.hideEmptyRowsAndColumns = e;
295
- }, qi = (t, e) => {
251
+ }, Si = (t, e) => {
296
252
  const i = t.series[0];
297
253
  i.heatRulesType = e;
298
- }, Vi = (t) => t.series[0].heatRulesType, Ni = (t, e) => {
254
+ }, Fi = (t) => t.series[0].heatRulesType, hi = (t, e) => {
299
255
  const i = t.series[0];
300
256
  i.gradientRules = e;
301
- }, Oi = (t) => t.series[0].gradientRules, Di = (t) => {
302
- const { yField: e, config: i, layerInfo: r } = t, { layerFieldsInfo: a } = r, s = Z(1, i), n = wt(i), l = W(i), o = i.series[0];
303
- if (typeof e == "string" && n !== e && o && (o.y = e, ut(i), n === s || l)) {
304
- const d = N(a, e);
305
- M(i, 1, d);
257
+ }, Ti = (t) => t.series[0].gradientRules, xi = (t) => {
258
+ const { yField: e, config: i, layerInfo: r } = t, { layerFieldsInfo: a } = r, s = G(1, i), n = Ft(i), l = Y(i), o = i.series[0];
259
+ if (typeof e == "string" && n !== e && o && (o.y = e, rt(i), n === s || l)) {
260
+ const d = V(a, e);
261
+ k(i, 1, d);
306
262
  }
307
- }, wt = (t) => t.series[0].y ?? "", Pi = (t) => {
263
+ }, Ft = (t) => t.series[0].y ?? "", Ci = (t) => {
308
264
  const { binning: e, config: i, commonStrings: r } = t, a = i.series[0];
309
265
  if (a.xTemporalBinning = e, e?.unit !== void 0 && e.unit in r.utilsStrings.heatChartCalendarDatePartsUnits) {
310
266
  const s = r.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
311
- M(i, 0, s);
267
+ k(i, 0, s);
312
268
  }
313
- }, Mi = (t) => t.series[0].xTemporalBinning, ki = (t) => {
269
+ }, Bi = (t) => t.series[0].xTemporalBinning, bi = (t) => {
314
270
  const { binning: e, config: i, commonStrings: r } = t, a = i.series[0];
315
271
  if (a.yTemporalBinning = e, e?.unit !== void 0 && e.unit in r.utilsStrings.heatChartCalendarDatePartsUnits) {
316
272
  const s = r.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
317
- M(i, 1, s);
273
+ k(i, 1, s);
318
274
  }
319
- }, Ri = (t) => t.series[0].yTemporalBinning, qt = (t, e) => {
275
+ }, Ai = (t) => t.series[0].yTemporalBinning, ht = (t, e) => {
320
276
  e.orderOptions ??= {};
321
- const i = e.axes?.[0]?.valueFormat?.type === "category" ? A.Category : A.YValue, r = Q(e)[0], a = e.axes?.[1]?.valueFormat?.type === "category" ? A.Category : A.YValue, s = Q(e)[1], n = {
277
+ const i = e.axes?.[0]?.valueFormat?.type === "category" ? A.Category : A.YValue, r = z(e)[0], a = e.axes?.[1]?.valueFormat?.type === "category" ? A.Category : A.YValue, s = z(e)[1], n = {
322
278
  ...e.orderOptions.data ?? {},
323
279
  orderType: A.MultiAxes
324
280
  };
325
- r === H.customSort && i === A.Category && (n.orderByX = [...t]), s === H.customSort && a === A.Category && (n.orderByY = [...t]), Object.keys(n).length > 1 && (e.orderOptions.data = n);
326
- }, Ei = (t, e) => {
281
+ r === Q.customSort && i === A.Category && (n.orderByX = [...t]), s === Q.customSort && a === A.Category && (n.orderByY = [...t]), Object.keys(n).length > 1 && (e.orderOptions.data = n);
282
+ }, vi = (t, e) => {
327
283
  const i = e.series[0];
328
284
  i.gridLine && (i.gridLine.width = t);
329
- }, $i = (t) => t.series[0].gridLine?.width, Ui = (t, e) => {
285
+ }, Ii = (t) => t.series[0].gridLine?.width, Li = (t, e) => {
330
286
  const i = e.series[0], r = t?.length === 4 && t.every((a) => typeof a == "number");
331
287
  i.gridLine && r && (i.gridLine.color = t);
332
- }, Xi = (t) => t.series[0].gridLine?.color, Wi = (t, e) => {
288
+ }, qi = (t) => t.series[0].gridLine?.color, Ni = (t, e) => {
333
289
  const i = e.legend;
334
290
  i && (i.position = t);
335
- }, Yi = (t) => t.legend?.position ?? Ze.Bottom, ji = (t) => t.series[0].query?.outStatistics?.[0]?.onStatisticField, Ki = (t, e) => {
291
+ }, wi = (t) => t.legend?.position ?? be.Bottom, Vi = (t) => t.series[0].query?.outStatistics?.[0]?.onStatisticField, Oi = (t, e) => {
336
292
  const i = e.series[0].query?.outStatistics?.[0];
337
293
  i ? (i.onStatisticField = t, i.outStatisticFieldName = `${i.statisticType}_${t}`) : e.series[0].query = {
338
294
  outStatistics: [
@@ -343,61 +299,61 @@ const Li = (t) => t.hideEmptyRowsAndColumns, wi = (t, e) => {
343
299
  }
344
300
  ]
345
301
  };
346
- }, _i = (t) => t.series[0].query?.outStatistics?.[0].statisticType ?? L.Count, Hi = (t, e) => {
302
+ }, Di = (t) => t.series[0].query?.outStatistics?.[0].statisticType ?? L.Count, Mi = (t, e) => {
347
303
  const i = e.series[0]?.query?.outStatistics?.[0];
348
304
  i && t !== L.NoAggregation && (i.statisticType = t, i.outStatisticFieldName = `${t}_${i.onStatisticField}`);
349
- }, Qi = (t) => t.nullPolicy, zi = (t, e) => {
305
+ }, ki = (t) => t.nullPolicy, Pi = (t, e) => {
350
306
  e.nullPolicy = t;
351
- }, Gi = (t) => t.series[0].emptyCells, Ji = (t, e) => {
307
+ }, Ri = (t) => t.series[0].emptyCells, Ei = (t, e) => {
352
308
  e.series[0].emptyCells = t;
353
- }, Zi = (t) => t.series[0].emptyCells?.text, es = (t, e) => {
309
+ }, $i = (t) => t.series[0].emptyCells?.text, Ui = (t, e) => {
354
310
  e.series[0].emptyCells ? e.series[0].emptyCells.text = t : e.series[0].emptyCells = { text: t };
355
- }, ts = (t) => t.includeLeapDay, is = (t, e) => {
311
+ }, Xi = (t) => t.includeLeapDay, Yi = (t, e) => {
356
312
  e.includeLeapDay = t;
357
- }, ss = (t) => t.series[0].emptyCells?.symbol, as = (t, e) => {
313
+ }, Ki = (t) => t.series[0].emptyCells?.symbol, Wi = (t, e) => {
358
314
  e.series[0].emptyCells ? e.series[0].emptyCells.symbol = t : e.series[0].emptyCells = { symbol: t };
359
315
  };
360
- function rs(t) {
316
+ function ji(t) {
361
317
  return t.viewType;
362
318
  }
363
- function ns(t, e) {
364
- Xe(e) || (e.viewType = t);
319
+ function Hi(t, e) {
320
+ $e(e) || (e.viewType = t);
365
321
  }
366
- function ls(t) {
322
+ function Qi(t) {
367
323
  return t.series[0].classBreaksRules?.breaksCount ?? E.classBreaks.breaksCount;
368
324
  }
369
- function os(t, e) {
325
+ function zi(t, e) {
370
326
  e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.breaksCount = t ?? E.classBreaks.breaksCount : e.series[0].classBreaksRules = {
371
327
  breaksCount: t ?? E.classBreaks.breaksCount
372
328
  };
373
329
  }
374
- function ds(t) {
330
+ function _i(t) {
375
331
  return t.series[0].classBreaksRules?.classificationMethod;
376
332
  }
377
- function us(t, e) {
333
+ function Gi(t, e) {
378
334
  e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.classificationMethod = t : e.series[0].classBreaksRules = {
379
335
  classificationMethod: t
380
336
  }, e.series[0].classBreaksRules.breaksCount = e.series[0].classBreaksRules.breaksCount ?? E.classBreaks.breaksCount;
381
337
  }
382
- function k(t) {
383
- const { seriesIndex: e, xAxisField: i, aggregationType: r, config: a, layerInfo: s, commonStrings: n } = t, l = Y(s?.layer).idField;
338
+ function P(t) {
339
+ const { seriesIndex: e, xAxisField: i, aggregationType: r, config: a, layerInfo: s, commonStrings: n } = t, l = K(s?.layer).idField;
384
340
  let o;
385
341
  const d = a.series[e ?? 0];
386
- let f = !1, c = !1, h = !1;
342
+ let f = !1, c = !1, F = !1;
387
343
  if (d === void 0) {
388
344
  const u = a.series;
389
- f = u.slice(0, e).every((m) => x(m)), c = u.slice(0, e).every((m) => C(m)), h = u.slice(0, e).every((m) => ae(m));
345
+ f = u.slice(0, e).every((p) => x(p)), c = u.slice(0, e).every((p) => C(p)), F = u.slice(0, e).every((p) => ie(p));
390
346
  } else
391
- f = x(d), c = C(d), h = ae(d);
347
+ f = x(d), c = C(d), F = ie(d);
392
348
  f ? o = Ke({
393
349
  commonStrings: n,
394
350
  seriesIndex: e,
395
351
  objectIDField: l
396
- }) : c ? o = _e({
352
+ }) : c ? o = We({
397
353
  commonStrings: n,
398
354
  seriesIndex: e,
399
355
  objectIDField: l
400
- }) : h ? o = He(n, l) : o = Qe({
356
+ }) : F ? o = je(n, l) : o = He({
401
357
  seriesIndex: e,
402
358
  objectIDField: l,
403
359
  commonStrings: n
@@ -408,8 +364,8 @@ function k(t) {
408
364
  y: "",
409
365
  dataLabels: {
410
366
  ...o.dataLabels,
411
- type: o.dataLabels?.type ?? P.Text,
412
- content: { ...o.dataLabels?.content, ...S?.content, type: it.TS },
367
+ type: o.dataLabels?.type ?? M.Text,
368
+ content: { ...o.dataLabels?.content, ...S?.content, type: Ie.TS },
413
369
  visible: S?.visible ?? !1
414
370
  }
415
371
  };
@@ -427,91 +383,91 @@ function k(t) {
427
383
  }
428
384
  if (x(g) || C(g) || v(g) && a.series[0]?.binTemporalData) {
429
385
  let u;
430
- if (a?.series?.[0] !== void 0 && (u = X(a.series)), u !== V.BarAndLineNoAggregation && u !== V.BarAndLineSplitByNoAggregation) {
431
- let m = bt(a);
432
- m === _.Quarter && (m = _.Month), g.temporalBinning = {
433
- size: Bt(a),
434
- unit: m,
435
- timeAggregationType: At(a),
436
- trimIncompleteTimeInterval: vt(a),
437
- nullPolicy: It(a)
386
+ if (a?.series?.[0] !== void 0 && (u = X(a.series)), u !== w.BarAndLineNoAggregation && u !== w.BarAndLineSplitByNoAggregation) {
387
+ let p = gt(a);
388
+ p === H.Quarter && (p = H.Month), g.temporalBinning = {
389
+ size: yt(a),
390
+ unit: p,
391
+ timeAggregationType: mt(a),
392
+ trimIncompleteTimeInterval: pt(a),
393
+ nullPolicy: ft(a)
438
394
  };
439
395
  }
440
396
  }
441
- return le(g);
397
+ return re(g);
442
398
  }
443
- function Te(t, e, i) {
444
- const { layerFieldsInfo: r } = e, { idField: a, isTraditionalTypeOID: s } = Y(e.layer), n = R(t), l = ee(t), o = Ce(t), d = U(t), f = s && (l.length === 0 || l.includes(a)), c = We(o, i), h = f ? "" : l.map((p) => N(r ?? [], p)).join(", "), S = N(r ?? [], n), g = N(r ?? [], d), u = t.series.some((p) => v(p)), m = u ? "category" : "xAxisField", F = S;
399
+ function Se(t, e, i) {
400
+ const { layerFieldsInfo: r } = e, { idField: a, isTraditionalTypeOID: s } = K(e.layer), n = R(t), l = J(t), o = he(t), d = U(t), f = s && (l.length === 0 || l.includes(a)), c = Ue(o, i), F = f ? "" : l.map((m) => V(r ?? [], m)).join(", "), S = V(r ?? [], n), g = V(r ?? [], d), u = t.series.some((m) => v(m)), p = u ? "category" : "xAxisField", h = S;
445
401
  let y = "";
446
- if (fe({
402
+ if (pe({
447
403
  fieldName: n,
448
404
  numericFields: l,
449
405
  fieldList: r
450
406
  }))
451
407
  y = D(i.titleLabels.aggrTypeOfAggrFields, {
452
408
  aggregationType: c,
453
- aggregationFields: h
409
+ aggregationFields: F
454
410
  });
455
411
  else if (o === L.NoAggregation) {
456
- const p = f ? a : h;
412
+ const m = f ? a : F;
457
413
  if (d === "") {
458
- const w = u ? "aggrTypeCategory" : "aggrTypeXAxisField";
459
- y = D(i.titleLabels[w], {
460
- aggregationType: p,
461
- [m]: F
414
+ const q = u ? "aggrTypeCategory" : "aggrTypeXAxisField";
415
+ y = D(i.titleLabels[q], {
416
+ aggregationType: m,
417
+ [p]: h
462
418
  });
463
419
  } else {
464
- const w = u ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
465
- y = D(i.titleLabels[w], {
466
- aggregationType: p,
467
- [m]: F,
420
+ const q = u ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
421
+ y = D(i.titleLabels[q], {
422
+ aggregationType: m,
423
+ [p]: h,
468
424
  splitByField: g
469
425
  });
470
426
  }
471
427
  } else if (o === L.Count)
472
428
  if (d === "") {
473
- const p = u ? "aggrTypeCategory" : "aggrTypeXAxisField";
474
- y = D(i.titleLabels[p], {
429
+ const m = u ? "aggrTypeCategory" : "aggrTypeXAxisField";
430
+ y = D(i.titleLabels[m], {
475
431
  aggregationType: c,
476
- [m]: F
432
+ [p]: h
477
433
  });
478
434
  } else {
479
- const p = u ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
480
- y = D(i.titleLabels[p], {
435
+ const m = u ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
436
+ y = D(i.titleLabels[m], {
481
437
  aggregationType: c,
482
- [m]: F,
438
+ [p]: h,
483
439
  splitByField: g
484
440
  });
485
441
  }
486
442
  else if (d !== "") {
487
- const p = u ? "aggrTypeOfAggrFieldByCategoryBySplitByField" : "aggrTypeOfAggrFieldByXAxisFieldBySplitByField";
488
- y = D(i.titleLabels[p], {
443
+ const m = u ? "aggrTypeOfAggrFieldByCategoryBySplitByField" : "aggrTypeOfAggrFieldByXAxisFieldBySplitByField";
444
+ y = D(i.titleLabels[m], {
489
445
  aggregationType: c,
490
- aggregationField: h,
491
- [m]: F,
446
+ aggregationField: F,
447
+ [p]: h,
492
448
  splitByField: g
493
449
  });
494
450
  } else if (l.length > 0) {
495
- const p = u ? "aggrTypeOfAggrFieldsByCategory" : "aggrTypeOfAggrFieldsByXAxisField";
496
- y = D(i.titleLabels[p], {
451
+ const m = u ? "aggrTypeOfAggrFieldsByCategory" : "aggrTypeOfAggrFieldsByXAxisField";
452
+ y = D(i.titleLabels[m], {
497
453
  aggregationType: c,
498
- aggregationFields: h,
499
- [m]: F
454
+ aggregationFields: F,
455
+ [p]: h
500
456
  });
501
457
  }
502
458
  return y;
503
459
  }
504
- const xe = (t) => G({
460
+ const Fe = (t) => oe({
505
461
  where: t.query?.where,
506
462
  normalize: !1,
507
463
  escape: !1
508
- }) ?? "", Ce = (t) => t?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? L.NoAggregation, U = oe(
464
+ }) ?? "", he = (t) => t?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? L.NoAggregation, U = ne(
509
465
  (t) => {
510
466
  const e = t?.series?.[0]?.query?.where?.split("=")[0].trim() ?? "";
511
- return Ye(t?.series?.[0]?.query?.where) ? "" : e;
467
+ return Xe(t?.series?.[0]?.query?.where) ? "" : e;
512
468
  },
513
469
  (t) => t?.series?.[0]?.query?.where
514
- ), ee = oe(
470
+ ), J = ne(
515
471
  // without memoizing, the worst case efficiency is O(series.length), best case is O(1)
516
472
  // with memoizing, the worst case efficiency for repeated calls becomes O(1)
517
473
  (t) => {
@@ -530,41 +486,41 @@ const xe = (t) => G({
530
486
  // using series array address as key, since a change to the numeric fields will always rebuild a fresh series array
531
487
  (t) => t?.series
532
488
  );
533
- function Vt(t) {
489
+ function Tt(t) {
534
490
  const { numericFields: e, aggregationType: i, config: r, layerInfo: a } = t;
535
491
  let s = !1;
536
492
  i === L.Count ? s = !0 : i === L.NoAggregation && (s = e.every((o) => {
537
493
  const d = a.layerFieldsInfo.find((f) => f.name === o);
538
- return d !== void 0 ? ie(d) : !1;
539
- })), re(r, 1, s);
494
+ return d !== void 0 ? ee(d) : !1;
495
+ })), se(r, 1, s);
540
496
  const n = r.series.some((o) => x(o)), l = r.series.some((o) => C(o));
541
497
  if (n || l) {
542
- const o = R(r), d = a.layerFieldsInfo.find((c) => c.name === o), f = d !== void 0 && ie(d);
543
- re(r, 0, f);
498
+ const o = R(r), d = a.layerFieldsInfo.find((c) => c.name === o), f = d !== void 0 && ee(d);
499
+ se(r, 0, f);
544
500
  }
545
501
  }
546
- const Q = (t) => {
502
+ const z = (t) => {
547
503
  let e;
548
504
  if (ce(t)) {
549
505
  const i = t.orderOptions?.data?.orderByX ?? [""], r = t.orderOptions?.data?.orderByY ?? [""], a = t.axes?.[0]?.valueFormat?.type === "category" ? A.Category : A.YValue, s = t.axes?.[1]?.valueFormat?.type === "category" ? A.Category : A.YValue;
550
- e = [ne(i, a), ne(r, s)];
506
+ e = [ae(i, a), ae(r, s)];
551
507
  } else {
552
- const i = t.orderOptions?.data?.orderType ?? A.Category, r = t.orderOptions?.data && "orderBy" in t.orderOptions.data ? t.orderOptions.data.orderBy : et.Ascending;
553
- e = [ot(r, i)];
508
+ const i = t.orderOptions?.data?.orderType ?? A.Category, r = t.orderOptions?.data && "orderBy" in t.orderOptions.data ? t.orderOptions.data.orderBy : Ae.Ascending;
509
+ e = [tt(r, i)];
554
510
  }
555
511
  return e;
556
512
  };
557
- function Nt(t) {
513
+ function xt(t) {
558
514
  const { xAxisField: e, numericFields: i, aggregationType: r, config: a, layerInfo: s, commonStrings: n } = t, { layerFieldsInfo: l } = s;
559
515
  let o = !1;
560
- const d = k({
516
+ const d = P({
561
517
  config: a,
562
518
  xAxisField: e,
563
519
  aggregationType: r,
564
520
  layerInfo: s,
565
521
  seriesIndex: 0,
566
522
  commonStrings: n
567
- }), f = J({
523
+ }), f = _({
568
524
  config: a,
569
525
  xAxisField: e,
570
526
  numericFields: i,
@@ -577,29 +533,29 @@ function Nt(t) {
577
533
  name: n.axisLabels.values,
578
534
  x: $,
579
535
  y: f
580
- }, h = [];
536
+ }, F = [];
581
537
  for (const g of i)
582
- h.push({
538
+ F.push({
583
539
  onStatisticField: g,
584
540
  outStatisticFieldName: `${g}_0`.toUpperCase(),
585
541
  statisticType: r
586
542
  });
587
- c.query = { outStatistics: h };
543
+ c.query = { outStatistics: F };
588
544
  const S = a.series[0];
589
545
  return S !== void 0 && (c.id = S.id, a.colorMatch || (v(S) && v(c) ? c.fillSymbol = S.fillSymbol : (x(c) && x(S) || C(c) && C(S)) && (c.lineSymbol = S.lineSymbol, c.markerSymbol = S.markerSymbol), o = !0), c.id = S.id, S.name !== d.name && (c.name = S.name)), a.series.length === 1 && !a.colorMatch && (v(c) ? c.fillSymbol = a.series[0].fillSymbol : (x(c) || C(c)) && (c.lineSymbol = a.series[0].lineSymbol, c.markerSymbol = a.series[0].markerSymbol), o = !0), a.colorMatch = !o, [c];
590
546
  }
591
- function Be(t) {
592
- const { xAxisField: e, numericFields: i, aggregationType: r, config: a, layerInfo: s, commonStrings: n } = t, { layerFieldsInfo: l } = s, o = Y(s.layer).idField, d = [];
547
+ function Te(t) {
548
+ const { xAxisField: e, numericFields: i, aggregationType: r, config: a, layerInfo: s, commonStrings: n } = t, { layerFieldsInfo: l } = s, o = K(s.layer).idField, d = [];
593
549
  let f = !1;
594
550
  for (let u = 0; u < i.length; u += 1) {
595
- const m = k({
551
+ const p = P({
596
552
  config: a,
597
553
  xAxisField: e,
598
554
  aggregationType: r,
599
555
  layerInfo: s,
600
556
  seriesIndex: u,
601
557
  commonStrings: n
602
- }), F = J({
558
+ }), h = _({
603
559
  config: a,
604
560
  xAxisField: e,
605
561
  numericFields: i,
@@ -608,32 +564,32 @@ function Be(t) {
608
564
  numericFieldIndex: u,
609
565
  fieldList: l
610
566
  }).name, y = i[u];
611
- let p = {
612
- ...m,
567
+ let m = {
568
+ ...p,
613
569
  query: {
614
- ...m.query
570
+ ...p.query
615
571
  }
616
572
  };
617
- i && y !== o && (p = {
618
- ...p,
573
+ i && y !== o && (m = {
574
+ ...m,
619
575
  id: y,
620
- name: N(l, y)
576
+ name: V(l, y)
621
577
  });
622
- let w = y;
623
- p.query !== void 0 && (r !== L.NoAggregation ? (w = F, p.query.outStatistics = [
578
+ let q = y;
579
+ m.query !== void 0 && (r !== L.NoAggregation ? (q = h, m.query.outStatistics = [
624
580
  {
625
- ...m.query?.outStatistics?.[0] ?? {},
581
+ ...p.query?.outStatistics?.[0] ?? {},
626
582
  onStatisticField: y,
627
- outStatisticFieldName: F,
583
+ outStatisticFieldName: h,
628
584
  statisticType: r
629
585
  }
630
- ]) : delete p.query.outStatistics), p.y = w;
586
+ ]) : delete m.query.outStatistics), m.y = q;
631
587
  const B = a.series.find(
632
588
  (O) => O.query?.outStatistics?.[0]?.onStatisticField === y && O.query.where === void 0
633
589
  );
634
590
  if (B !== void 0 && typeof B.y == "string" && B.y.trim() !== "") {
635
- a.colorMatch || (v(p) && v(B) ? p.fillSymbol = B.fillSymbol : (x(p) && x(B) || C(p) && C(B)) && (p.lineSymbol = B.lineSymbol, p.markerSymbol = B.markerSymbol), f = !0);
636
- const O = k({
591
+ a.colorMatch || (v(m) && v(B) ? m.fillSymbol = B.fillSymbol : (x(m) && x(B) || C(m) && C(B)) && (m.lineSymbol = B.lineSymbol, m.markerSymbol = B.markerSymbol), f = !0);
592
+ const O = P({
637
593
  config: a,
638
594
  xAxisField: e,
639
595
  aggregationType: r,
@@ -641,19 +597,19 @@ function Be(t) {
641
597
  seriesIndex: u,
642
598
  commonStrings: n
643
599
  });
644
- p.id = B.id, B.id !== O.id && B.name !== O.name && (p.id = B.id, p.name = B.name);
600
+ m.id = B.id, B.id !== O.id && B.name !== O.name && (m.id = B.id, m.name = B.name);
645
601
  }
646
- d.push(p);
602
+ d.push(m);
647
603
  }
648
- const c = d.filter((u) => v(u)), h = d.filter(
604
+ const c = d.filter((u) => v(u)), F = d.filter(
649
605
  (u) => x(u) || C(u)
650
606
  ), S = a.series.filter((u) => v(u)), g = a.series.filter(
651
607
  (u) => x(u) || C(u)
652
608
  );
653
- return S.length === 1 && c.length === 1 && !a.colorMatch && (v(S[0]) && v(c[0]) && (c[0].fillSymbol = S[0].fillSymbol), f = !0), g.length === 1 && h.length === 1 && !a.colorMatch && ((x(g[0]) && x(h[0]) || C(g[0]) && C(h[0])) && (h[0].lineSymbol = g[0].lineSymbol, h[0].markerSymbol = g[0].markerSymbol), f = !0), a.colorMatch = !f, d;
609
+ return S.length === 1 && c.length === 1 && !a.colorMatch && (v(S[0]) && v(c[0]) && (c[0].fillSymbol = S[0].fillSymbol), f = !0), g.length === 1 && F.length === 1 && !a.colorMatch && ((x(g[0]) && x(F[0]) || C(g[0]) && C(F[0])) && (F[0].lineSymbol = g[0].lineSymbol, F[0].markerSymbol = g[0].markerSymbol), f = !0), a.colorMatch = !f, d;
654
610
  }
655
- async function Ot(t) {
656
- const { splitByField: e, xAxisField: i, numericFields: r, aggregationType: a, config: s, layerInfo: n, commonStrings: l } = t, { layer: o, layerFieldsInfo: d } = n, { fetchNullValues: f } = s?.series?.[0]?.query ?? {}, c = i !== $ ? i : void 0, { categoriesArray: h, splitByFieldType: S, numericalField: g } = await lt({
611
+ async function Ct(t) {
612
+ const { splitByField: e, xAxisField: i, numericFields: r, aggregationType: a, config: s, layerInfo: n, commonStrings: l } = t, { layer: o, layerFieldsInfo: d } = n, { fetchNullValues: f } = s?.series?.[0]?.query ?? {}, c = i !== $ ? i : void 0, { categoriesArray: F, splitByFieldType: S, numericalField: g } = await et({
657
613
  config: s,
658
614
  layer: o,
659
615
  layerFieldsInfo: d,
@@ -662,9 +618,9 @@ async function Ot(t) {
662
618
  splitByField: e,
663
619
  fetchNullValues: f
664
620
  });
665
- let u = [], m = !1;
666
- if (h.length === 0) {
667
- u = Be({
621
+ let u = [], p = !1;
622
+ if (F.length === 0) {
623
+ u = Te({
668
624
  xAxisField: i,
669
625
  numericFields: r,
670
626
  aggregationType: a,
@@ -672,44 +628,44 @@ async function Ot(t) {
672
628
  layerInfo: n,
673
629
  commonStrings: l
674
630
  });
675
- for (const F of u)
676
- F.query && (F.query.where = `${e}=''`);
631
+ for (const h of u)
632
+ h.query && (h.query.where = `${e}=''`);
677
633
  } else
678
- for (let F = 0; F < h.length; F += 1) {
679
- const y = h[F], p = J({
634
+ for (let h = 0; h < F.length; h += 1) {
635
+ const y = F[h], m = _({
680
636
  config: s,
681
637
  xAxisField: i,
682
638
  numericFields: r,
683
639
  aggregationType: a,
684
640
  layer: n.layer,
685
- seriesIndex: F,
641
+ seriesIndex: h,
686
642
  splitByField: e,
687
643
  fieldList: d
688
- }).name, w = k({
644
+ }).name, q = P({
689
645
  config: s,
690
646
  xAxisField: i,
691
647
  aggregationType: a,
692
648
  layerInfo: n,
693
- seriesIndex: F,
649
+ seriesIndex: h,
694
650
  commonStrings: l
695
651
  }), B = {
696
652
  fieldName: e,
697
653
  fieldValueToMatch: y ?? "",
698
654
  subtypeInfo: de(n.layer),
699
655
  fieldList: n.layerFieldsInfo
700
- }, O = ue(B), j = `${y}`, T = {
701
- ...w,
702
- id: j,
703
- name: O ?? j,
704
- y: p,
656
+ }, O = ue(B), W = `${y}`, T = {
657
+ ...q,
658
+ id: W,
659
+ name: O ?? W,
660
+ y: m,
705
661
  query: {
706
- ...w.query,
707
- where: `${e}=${S === ye.String && y !== null ? `'${y}'` : y}`,
662
+ ...q.query,
663
+ where: `${e}=${S === le.String && y !== null ? `'${y}'` : y}`,
708
664
  outStatistics: a !== L.NoAggregation ? [
709
665
  {
710
- ...w.query?.outStatistics?.[0] ?? {},
666
+ ...q.query?.outStatistics?.[0] ?? {},
711
667
  onStatisticField: g,
712
- outStatisticFieldName: p,
668
+ outStatisticFieldName: m,
713
669
  statisticType: a
714
670
  }
715
671
  ] : void 0
@@ -717,43 +673,43 @@ async function Ot(t) {
717
673
  };
718
674
  a === L.NoAggregation && (T.query !== void 0 && (delete T.query.outStatistics, delete T.query.groupByFieldsForStatistics), T.y = g);
719
675
  const b = s.series.find(
720
- (be) => String(xe(be)).trim().replace(/'/gu, "") === j
676
+ (xe) => String(Fe(xe)).trim().replace(/'/gu, "") === W
721
677
  );
722
- b !== void 0 && (s.colorMatch || (v(T) && v(b) ? T.fillSymbol = b.fillSymbol : (x(T) && x(b) || C(T) && C(b)) && (T.lineSymbol = b.lineSymbol, T.markerSymbol = b.markerSymbol), m = !0), (x(T) && x(b) || C(T) && C(b)) && (T.lineSmoothed = b.lineSmoothed), (x(T) && x(b) || C(T) && C(b)) && (T.showArea = b.showArea), T.id = b.id, T.name = b.name), u.push(T);
678
+ b !== void 0 && (s.colorMatch || (v(T) && v(b) ? T.fillSymbol = b.fillSymbol : (x(T) && x(b) || C(T) && C(b)) && (T.lineSymbol = b.lineSymbol, T.markerSymbol = b.markerSymbol), p = !0), (x(T) && x(b) || C(T) && C(b)) && (T.lineSmoothed = b.lineSmoothed), (x(T) && x(b) || C(T) && C(b)) && (T.showArea = b.showArea), T.id = b.id, T.name = b.name), u.push(T);
723
679
  }
724
- return s.colorMatch = !m, u;
680
+ return s.colorMatch = !p, u;
725
681
  }
726
- const cs = async (t) => {
727
- const { xAxisField: e, splitByField: i, numericFields: r, aggregationType: a, config: s, layerInfo: n, commonStrings: l } = t, { layerFieldsInfo: o } = n ?? {}, d = Fe(s), f = R(s), c = Dt(s, n, l), h = Pt(s, n, l), S = Mt(s, n);
728
- let g = pe(s);
729
- const u = s.series.some((y) => v(y)), m = st(s.series), F = at(s.series);
682
+ const Ji = async (t) => {
683
+ const { xAxisField: e, splitByField: i, numericFields: r, aggregationType: a, config: s, layerInfo: n, commonStrings: l } = t, { layerFieldsInfo: o } = n ?? {}, d = it(s), f = R(s), c = Bt(s, n, l), F = bt(s, n, l), S = At(s, n);
684
+ let g = ge(s);
685
+ const u = s.series.some((y) => v(y)), p = _e(s.series), h = Ge(s.series);
730
686
  if (o !== void 0) {
731
- const y = je(o);
732
- !y.includes(f) && y.includes(e) ? g = ze() : y.includes(f) && !y.includes(e) && (u ? g = se() : g = Ge()), o.find((w) => w.name === e)?.type === ye.String && (g = se()), g !== void 0 && nt(s, l, g);
687
+ const y = Ye(o);
688
+ !y.includes(f) && y.includes(e) ? g = Qe() : y.includes(f) && !y.includes(e) && (u ? g = te() : g = ze()), o.find((q) => q.name === e)?.type === le.String && (g = te()), g !== void 0 && Ze(s, l, g);
733
689
  }
734
690
  if (d === 0 && (s.series = [
735
- k({ config: s, xAxisField: e, aggregationType: a, layerInfo: n, commonStrings: l })
691
+ P({ config: s, xAxisField: e, aggregationType: a, layerInfo: n, commonStrings: l })
736
692
  ]), s.series.forEach((y) => {
737
693
  y.x = e, y.query !== void 0 && (y.query.groupByFieldsForStatistics = [e]);
738
- }), i === "" || r.length > 1 ? fe({
694
+ }), i === "" || r.length > 1 ? pe({
739
695
  fieldName: e,
740
696
  numericFields: r,
741
697
  fieldList: o
742
- }) ? s.series = Nt({
698
+ }) ? s.series = xt({
743
699
  config: s,
744
700
  layerInfo: n,
745
701
  xAxisField: e,
746
702
  numericFields: r,
747
703
  aggregationType: a,
748
704
  commonStrings: l
749
- }) : s.series = Be({
705
+ }) : s.series = Te({
750
706
  config: s,
751
707
  layerInfo: n,
752
708
  xAxisField: e,
753
709
  numericFields: r,
754
710
  aggregationType: a,
755
711
  commonStrings: l
756
- }) : (await Promise.resolve(), s.series = await Ot({
712
+ }) : (await Promise.resolve(), s.series = await Ct({
757
713
  config: s,
758
714
  layerInfo: n,
759
715
  splitByField: i,
@@ -762,10 +718,10 @@ const cs = async (t) => {
762
718
  aggregationType: a,
763
719
  commonStrings: l
764
720
  })), S) {
765
- const y = N(o, e);
766
- M(s, 0, y);
721
+ const y = V(o, e);
722
+ k(s, 0, y);
767
723
  }
768
- if (h) {
724
+ if (F) {
769
725
  const y = me({
770
726
  config: s,
771
727
  layerInfo: n,
@@ -773,23 +729,23 @@ const cs = async (t) => {
773
729
  numericFields: r,
774
730
  aggregationType: a
775
731
  });
776
- M(s, 1, y);
732
+ k(s, 1, y);
777
733
  }
778
- if (s.title && c && (s.title.content.text = Te(s, n, l)), I({ config: s, value: null, axisIndex: 1, isMax: !1 }), I({ config: s, value: null, axisIndex: 1, isMax: !0 }), Vt({ numericFields: r, aggregationType: a, config: s, layerInfo: n }), m || F) {
779
- I({ config: s, value: null, axisIndex: 0, isMax: !1 }), I({ config: s, value: null, axisIndex: 0, isMax: !0 }), he(0, s);
780
- const y = g?.type === P.DateAxisFormat ? K.Null : K.Interpolate;
781
- Lt(y, s);
734
+ if (s.title && c && (s.title.content.text = Se(s, n, l)), I({ config: s, value: null, axisIndex: 1, isMax: !1 }), I({ config: s, value: null, axisIndex: 1, isMax: !0 }), Tt({ numericFields: r, aggregationType: a, config: s, layerInfo: n }), p || h) {
735
+ I({ config: s, value: null, axisIndex: 0, isMax: !1 }), I({ config: s, value: null, axisIndex: 0, isMax: !0 }), fe(0, s);
736
+ const y = g?.type === M.DateAxisFormat ? j.Null : j.Interpolate;
737
+ St(y, s);
782
738
  }
783
- }, ys = (t) => {
739
+ }, Zi = (t) => {
784
740
  const { config: e, seriesIndex: i, layerInfo: r, commonStrings: a } = t, s = e.series?.[i], n = U(e);
785
741
  let l;
786
- if (X(e.series) === V.BarAndLineFromFields)
742
+ if (X(e.series) === w.BarAndLineFromFields)
787
743
  l = a.axisLabels.values;
788
- else if (ve(n)) {
744
+ else if (Ce(n)) {
789
745
  const d = s.query?.outStatistics?.[0]?.onStatisticField;
790
- d !== void 0 && d !== Y(r.layer).idField && (l = N(r.layerFieldsInfo, d));
746
+ d !== void 0 && d !== K(r.layer).idField && (l = V(r.layerFieldsInfo, d));
791
747
  } else {
792
- const d = String(xe(s)).trim().replace(/'/gu, ""), f = {
748
+ const d = String(Fe(s)).trim().replace(/'/gu, ""), f = {
793
749
  fieldName: U(e),
794
750
  fieldValueToMatch: d ?? "",
795
751
  subtypeInfo: de(r.layer),
@@ -798,128 +754,123 @@ const cs = async (t) => {
798
754
  l = ue(f) ?? d;
799
755
  }
800
756
  return l ?? s.id;
801
- }, gs = (t, e) => {
757
+ }, es = (t, e) => {
802
758
  if (ce(e))
803
- qt(t, e);
759
+ ht(t, e);
804
760
  else {
805
761
  e.orderOptions ??= {};
806
762
  const i = e.orderOptions?.data?.orderType;
807
- Q(e)[0] === H.customSort && i === A.Category && (e.orderOptions.data = {
763
+ z(e)[0] === Q.customSort && i === A.Category && (e.orderOptions.data = {
808
764
  orderType: A.Category,
809
765
  orderBy: [...t]
810
766
  });
811
767
  }
812
- }, ps = async (t, e) => {
813
- const i = R(t), r = pe(t)?.type, a = ee(t), s = X(t.series);
768
+ }, ts = async (t, e) => {
769
+ const i = R(t), r = ge(t)?.type, a = J(t), s = X(t.series);
814
770
  let n = [];
815
- return r === P.CategoryAxisFormat && (s === V.BarAndLineFromFields || i === $ ? n = a.map((l) => N(e?.layerFieldsInfo, l)) : i.trim() !== "" && i !== $ && e !== void 0 && (n = await rt({
771
+ return r === M.CategoryAxisFormat && (s === w.BarAndLineFromFields || i === $ ? n = a.map((l) => V(e?.layerFieldsInfo, l)) : i.trim() !== "" && i !== $ && e !== void 0 && (n = await Je({
816
772
  layerInfo: e,
817
773
  config: t,
818
774
  category: i
819
775
  }))), n;
820
776
  };
821
- function Dt(t, e, i) {
822
- const r = Te(t, e, i), a = Se(t), s = W(t);
777
+ function Bt(t, e, i) {
778
+ const r = Se(t, e, i), a = st(t), s = Y(t);
823
779
  return r === a || s;
824
780
  }
825
- function Pt(t, e, i) {
781
+ function bt(t, e, i) {
826
782
  const r = me({
827
783
  config: t,
828
784
  layerInfo: e,
829
785
  commonStrings: i,
830
- numericFields: ee(t),
831
- aggregationType: Ce(t)
832
- }), a = Z(1, t), s = W(t);
786
+ numericFields: J(t),
787
+ aggregationType: he(t)
788
+ }), a = G(1, t), s = Y(t);
833
789
  return r === a || s;
834
790
  }
835
- function Mt(t, e) {
836
- const i = N(e.layerFieldsInfo, R(t)), r = Z(0, t), a = W(t);
791
+ function At(t, e) {
792
+ const i = V(e.layerFieldsInfo, R(t)), r = G(0, t), a = Y(t);
837
793
  return i === r || a;
838
794
  }
839
- function ms(t) {
795
+ function is(t) {
840
796
  return t.series[0]?.binTemporalData ?? !1;
841
797
  }
842
- function fs(t, e) {
798
+ function ss(t, e) {
843
799
  e?.series.forEach((i) => {
844
- (i?.type === P.BarSeries || i?.type === P.LineSeries) && (i.binTemporalData = t, t ? i.temporalBinning = {
845
- unit: _.Day,
800
+ (i?.type === M.BarSeries || i?.type === M.LineSeries) && (i.binTemporalData = t, t ? i.temporalBinning = {
801
+ unit: H.Day,
846
802
  size: 0,
847
- timeAggregationType: tt.Start,
803
+ timeAggregationType: ve.Start,
848
804
  trimIncompleteTimeInterval: !0,
849
- nullPolicy: K.Null
805
+ nullPolicy: j.Null
850
806
  } : delete i.temporalBinning);
851
807
  });
852
808
  }
853
809
  export {
854
- Ci as $,
855
- $i as A,
856
- Ei as B,
857
- Xi as C,
858
- Ui as D,
859
- Vi as E,
860
- qi as F,
861
- Oi as G,
862
- Ni as H,
863
- ji as I,
864
- Ki as J,
865
- _i as K,
866
- Hi as L,
810
+ St as $,
811
+ Di as A,
812
+ Mi as B,
813
+ wi as C,
814
+ Ni as D,
815
+ ki as E,
816
+ Pi as F,
817
+ Ri as G,
818
+ Ei as H,
819
+ z as I,
820
+ $i as J,
821
+ Ui as K,
822
+ Xi as L,
867
823
  Yi as M,
868
- Wi as N,
869
- Qi as O,
870
- zi as P,
871
- Gi as Q,
872
- Ji as R,
873
- Zi as S,
874
- es as T,
875
- ts as U,
876
- is as V,
877
- ss as W,
878
- as as X,
879
- Ct as Y,
880
- xt as Z,
881
- Ii as _,
882
- ys as a,
883
- Bt as a0,
884
- he as a1,
885
- bt as a2,
886
- Bi as a3,
887
- At as a4,
888
- bi as a5,
889
- vt as a6,
890
- Ai as a7,
891
- It as a8,
892
- Lt as a9,
893
- vi as aa,
894
- xi as ab,
895
- Ti as ac,
896
- Fi as ad,
897
- Si as ae,
898
- hi as af,
899
- ut as ag,
900
- Q as b,
901
- ps as c,
902
- ms as d,
903
- fs as e,
904
- Ce as f,
905
- Se as g,
906
- U as h,
907
- ee as i,
908
- cs as j,
909
- Te as k,
910
- wt as l,
911
- Di as m,
912
- rs as n,
913
- ns as o,
914
- Mi as p,
915
- Pi as q,
916
- Ri as r,
917
- gs as s,
918
- ki as t,
919
- ls as u,
920
- os as v,
921
- ds as w,
922
- us as x,
923
- Li as y,
924
- wi as z
824
+ Ki as N,
825
+ Wi as O,
826
+ he as P,
827
+ J as Q,
828
+ U as R,
829
+ yt as S,
830
+ fe as T,
831
+ gt as U,
832
+ ci as V,
833
+ mt as W,
834
+ yi as X,
835
+ pt as Y,
836
+ gi as Z,
837
+ ft as _,
838
+ Se as a,
839
+ mi as a0,
840
+ ts as a1,
841
+ es as a2,
842
+ is as a3,
843
+ ss as a4,
844
+ Ji as a5,
845
+ ui as a6,
846
+ di as a7,
847
+ oi as a8,
848
+ ni as a9,
849
+ li as aa,
850
+ rt as ab,
851
+ Ft as b,
852
+ ji as c,
853
+ Hi as d,
854
+ Bi as e,
855
+ Ci as f,
856
+ Zi as g,
857
+ Ai as h,
858
+ bi as i,
859
+ Qi as j,
860
+ zi as k,
861
+ _i as l,
862
+ Gi as m,
863
+ pi as n,
864
+ fi as o,
865
+ Ii as p,
866
+ vi as q,
867
+ qi as r,
868
+ xi as s,
869
+ Li as t,
870
+ Fi as u,
871
+ Si as v,
872
+ Ti as w,
873
+ hi as x,
874
+ Vi as y,
875
+ Oi as z
925
876
  };