@arcgis/charts-components 5.1.0-next.111 → 5.1.0-next.113

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 (316) hide show
  1. package/README.md +2 -2
  2. package/dist/cdn/24TOMTMP.js +2 -0
  3. package/dist/cdn/2EPXIQFD.js +2 -0
  4. package/dist/cdn/2JUO3GP2.js +2 -0
  5. package/dist/cdn/2SVBUT3V.js +2 -0
  6. package/dist/cdn/2XTQT6TW.js +2 -0
  7. package/dist/cdn/{ANMNNZTA.js → 2YI4HWFY.js} +39 -39
  8. package/dist/cdn/34WNZMJY.js +2 -0
  9. package/dist/cdn/43P4WOC4.js +2 -0
  10. package/dist/cdn/4G5JOLEP.js +2 -0
  11. package/dist/cdn/4MZJZQDO.js +2 -0
  12. package/dist/cdn/52QMEXI6.js +2 -0
  13. package/dist/cdn/5I75UYWD.js +2 -0
  14. package/dist/cdn/5M72DGYL.js +2 -0
  15. package/dist/cdn/5PG6PXDG.js +2 -0
  16. package/dist/cdn/6FGRLBTA.js +2 -0
  17. package/dist/cdn/6JNHTWDQ.js +2 -0
  18. package/dist/cdn/6YSH3ROL.js +2 -0
  19. package/dist/cdn/75Y43JLP.js +2 -0
  20. package/dist/cdn/777EBGS5.js +2 -0
  21. package/dist/cdn/7AVVBDQS.js +4 -0
  22. package/dist/cdn/7EDHTVVK.js +2 -0
  23. package/dist/cdn/7MHEEH5F.js +2 -0
  24. package/dist/cdn/7MKAC33Z.js +2 -0
  25. package/dist/cdn/7Y76VKGS.js +2 -0
  26. package/dist/cdn/AC2XSIOU.js +2 -0
  27. package/dist/cdn/AEESEH6N.js +2 -0
  28. package/dist/cdn/AYY2C4BW.js +2 -0
  29. package/dist/cdn/BH7WDRGU.js +2 -0
  30. package/dist/cdn/BZUQTY3A.js +2 -0
  31. package/dist/cdn/CMPHBGKB.js +2 -0
  32. package/dist/cdn/DDA7NVBX.js +2 -0
  33. package/dist/cdn/DMDXALHQ.js +2 -0
  34. package/dist/cdn/DX5LK7LS.js +2 -0
  35. package/dist/cdn/ERUYMQOC.js +2 -0
  36. package/dist/cdn/{CSNF7XRL.js → ESUMWLYT.js} +1 -1
  37. package/dist/cdn/EULFJ5JL.js +2 -0
  38. package/dist/cdn/EX27CNDS.js +2 -0
  39. package/dist/cdn/FIMXZMTB.js +2 -0
  40. package/dist/cdn/FYI7J2KF.js +2 -0
  41. package/dist/cdn/G42X3FFH.js +2 -0
  42. package/dist/cdn/GGZNH26O.js +2 -0
  43. package/dist/cdn/HIQSXKPT.js +3 -0
  44. package/dist/cdn/HS2WQJEO.js +2 -0
  45. package/dist/cdn/IBCUXQZ4.js +2 -0
  46. package/dist/cdn/IC4OZCXG.js +2 -0
  47. package/dist/cdn/JGD2M47O.js +2 -0
  48. package/dist/cdn/KGOERXN5.js +2 -0
  49. package/dist/cdn/{JEQDHNEJ.js → KPXH2MNB.js} +1 -1
  50. package/dist/cdn/KSBWHMXE.js +2 -0
  51. package/dist/cdn/{6KFD2LHE.js → L3ULFQN3.js} +1 -1
  52. package/dist/cdn/LKHNZDEC.js +2 -0
  53. package/dist/cdn/LXVLBS7T.js +2 -0
  54. package/dist/cdn/M5E3NFDP.js +2 -0
  55. package/dist/cdn/MKEUDI3M.js +2 -0
  56. package/dist/cdn/MKQPW6B4.js +2 -0
  57. package/dist/cdn/MVAMHZ3Q.js +2 -0
  58. package/dist/cdn/{VTJXTTAB.js → MZ2UZAFW.js} +1 -1
  59. package/dist/cdn/N265ZHHU.js +2 -0
  60. package/dist/cdn/N2S6YV3I.js +2 -0
  61. package/dist/cdn/N3EATDXE.js +2 -0
  62. package/dist/cdn/NLWP2JOG.js +2 -0
  63. package/dist/cdn/NR3BCOHU.js +3 -0
  64. package/dist/cdn/O2JEDVIA.js +2 -0
  65. package/dist/cdn/OB7IDW6S.js +2 -0
  66. package/dist/cdn/OBPCKG62.js +2 -0
  67. package/dist/cdn/OCERCT4I.js +2 -0
  68. package/dist/cdn/OFN7ED75.js +2 -0
  69. package/dist/cdn/OQSFVGUL.js +2 -0
  70. package/dist/cdn/PA3PSUQ3.js +2 -0
  71. package/dist/cdn/PYFMKPMO.js +2 -0
  72. package/dist/cdn/QRZ32JMG.js +2 -0
  73. package/dist/cdn/R3GNKVFS.js +2 -0
  74. package/dist/cdn/R3Y2F64T.js +2 -0
  75. package/dist/cdn/RBVV7JGY.js +102 -0
  76. package/dist/cdn/RSXO7AZM.js +2 -0
  77. package/dist/cdn/S32VCEG7.js +2 -0
  78. package/dist/cdn/S7ASARWB.js +2 -0
  79. package/dist/cdn/SBS4J65N.js +2 -0
  80. package/dist/cdn/SVMC3JP5.js +2 -0
  81. package/dist/cdn/SYXU6NZX.js +2 -0
  82. package/dist/cdn/T3CSQ5DU.js +2 -0
  83. package/dist/cdn/T3NJTAF3.js +2 -0
  84. package/dist/cdn/T53WJZQN.js +2 -0
  85. package/dist/cdn/TES5ZESK.js +2 -0
  86. package/dist/cdn/{XSMRKVR2.js → TJQGGNGV.js} +1 -1
  87. package/dist/cdn/TOO3T62Y.js +2 -0
  88. package/dist/cdn/U5ZB4YD6.js +2 -0
  89. package/dist/cdn/UK2A3DRS.js +2 -0
  90. package/dist/cdn/UNDCO72C.js +2 -0
  91. package/dist/cdn/UR537UXK.js +2 -0
  92. package/dist/cdn/VMAOMKFN.js +2 -0
  93. package/dist/cdn/VV7JMGHL.js +2 -0
  94. package/dist/cdn/W6CIWZSM.js +2 -0
  95. package/dist/cdn/WA5XK3HC.js +2 -0
  96. package/dist/cdn/WD4QY4YU.js +2 -0
  97. package/dist/cdn/WESXMGHU.js +2 -0
  98. package/dist/cdn/WFDVEHVL.js +2 -0
  99. package/dist/cdn/WI3CE5TT.js +2 -0
  100. package/dist/cdn/WNZ2PSFZ.js +2 -0
  101. package/dist/cdn/XLJSZ42M.js +2 -0
  102. package/dist/cdn/XM6GBBOL.js +2 -0
  103. package/dist/cdn/XOB365BI.js +2 -0
  104. package/dist/cdn/Y2AULE2F.js +2 -0
  105. package/dist/cdn/YE5ASSSN.js +2 -0
  106. package/dist/cdn/ZBLRD77K.js +2 -0
  107. package/dist/cdn/{5RMUCBSG.js → ZZRH7LXO.js} +1 -1
  108. package/dist/cdn/index.js +1 -1
  109. package/dist/chunks/axis-lines-symbol.js +12 -12
  110. package/dist/chunks/bar-chart-model.js +20 -47
  111. package/dist/chunks/bar-chart-series.js +10 -40
  112. package/dist/chunks/box-plot-data.js +132 -155
  113. package/dist/chunks/box-plot-model.js +18 -18
  114. package/dist/chunks/chart-model.js +76 -103
  115. package/dist/chunks/chart-object-literals.js +189 -0
  116. package/dist/chunks/chart-ui-utils.js +17 -16
  117. package/dist/chunks/chart-ui-utils2.js +91 -116
  118. package/dist/chunks/class-breaks.js +375 -196
  119. package/dist/chunks/combo-bar-line-chart-model.js +19 -18
  120. package/dist/chunks/data-labels-symbol.js +1 -1
  121. package/dist/chunks/data-labels-visibility.js +56 -84
  122. package/dist/chunks/data.js +82 -105
  123. package/dist/chunks/default.js +6 -7
  124. package/dist/chunks/gauge-model.js +42 -69
  125. package/dist/chunks/generate-x-axis-title.js +39 -66
  126. package/dist/chunks/heat-chart-model.js +183 -183
  127. package/dist/chunks/histogram-data.js +56 -80
  128. package/dist/chunks/histogram-model.js +24 -24
  129. package/dist/chunks/index.js +560 -21042
  130. package/dist/chunks/index2.js +8706 -596
  131. package/dist/chunks/index3.js +873 -160
  132. package/dist/chunks/index4.js +701 -76
  133. package/dist/chunks/index5.js +10794 -62
  134. package/dist/chunks/index6.js +99 -0
  135. package/dist/chunks/index7.js +66 -0
  136. package/dist/chunks/interfaces.js +31 -32
  137. package/dist/chunks/line-chart-model.js +12 -11
  138. package/dist/chunks/model-setter.js +44 -41
  139. package/dist/chunks/model-types.js +43 -0
  140. package/dist/chunks/model-with-y-guides.js +89 -116
  141. package/dist/chunks/negative-values-stacked-to-baseline.js +50 -79
  142. package/dist/chunks/pie-chart-data.js +89 -111
  143. package/dist/chunks/pie-chart-model.js +46 -70
  144. package/dist/chunks/radar-chart-model.js +35 -62
  145. package/dist/chunks/resource.js +8 -10
  146. package/dist/chunks/rotated-state.js +24 -52
  147. package/dist/chunks/scatterplot-model.js +90 -112
  148. package/dist/chunks/serial-chart-data.js +540 -530
  149. package/dist/chunks/serial-chart-model.js +90 -115
  150. package/dist/chunks/series-length.js +25 -53
  151. package/dist/chunks/series-types.js +21 -206
  152. package/dist/chunks/series.js +9 -38
  153. package/dist/chunks/time-zone.js +14 -15
  154. package/dist/chunks/type-guards.js +23 -132
  155. package/dist/chunks/type-guards2.js +100 -192
  156. package/dist/chunks/type-guards3.js +173 -0
  157. package/dist/chunks/utils.js +75 -97
  158. package/dist/chunks/utils2.js +34 -63
  159. package/dist/chunks/web-component-utils.js +85 -83
  160. package/dist/chunks/x-bounds.js +69 -95
  161. package/dist/components/arcgis-chart/customElement.js +3670 -3637
  162. package/dist/components/arcgis-charts-action-bar/customElement.js +8 -9
  163. package/dist/components/arcgis-charts-config-axis/customElement.js +10 -11
  164. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +33 -60
  165. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +47 -70
  166. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +33 -54
  167. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +37 -64
  168. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +15 -43
  169. package/dist/components/arcgis-charts-config-box-plot/customElement.js +12 -39
  170. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +87 -111
  171. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +41 -65
  172. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +13 -40
  173. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +18 -45
  174. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +17 -45
  175. package/dist/components/arcgis-charts-config-create-flow/customElement.js +47 -68
  176. package/dist/components/arcgis-charts-config-font-style/customElement.js +21 -48
  177. package/dist/components/arcgis-charts-config-format/customElement.js +55 -82
  178. package/dist/components/arcgis-charts-config-format-popover/customElement.js +12 -41
  179. package/dist/components/arcgis-charts-config-general/customElement.js +29 -55
  180. package/dist/components/arcgis-charts-config-guide/customElement.js +44 -68
  181. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +14 -43
  182. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -3
  183. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +10 -39
  184. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +29 -56
  185. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +153 -175
  186. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +56 -79
  187. package/dist/components/arcgis-charts-config-histogram/customElement.js +28 -55
  188. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +39 -62
  189. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +26 -50
  190. package/dist/components/arcgis-charts-config-line-chart/customElement.js +27 -54
  191. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +23 -46
  192. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +46 -69
  193. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +33 -61
  194. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +14 -42
  195. package/dist/components/arcgis-charts-config-line-style/customElement.js +9 -11
  196. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +28 -55
  197. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +24 -49
  198. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +42 -66
  199. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +38 -65
  200. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +15 -43
  201. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +31 -58
  202. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +31 -55
  203. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +16 -42
  204. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +10 -38
  205. package/dist/components/arcgis-charts-config-view-charts/customElement.js +21 -50
  206. package/dist/components/arcgis-charts-info-modal/customElement.js +17 -43
  207. package/dist/docs/api.json +1 -1
  208. package/dist/docs/docs.json +1 -1
  209. package/dist/docs/vscode.html-custom-data.json +1 -1
  210. package/dist/docs/web-types.json +1 -1
  211. package/dist/index.d.ts +57 -3
  212. package/dist/index.js +464 -459
  213. package/dist/json-schema/index.d.ts +4839 -4825
  214. package/dist/model/heat-chart-model/heat-chart-model.d.ts +7 -0
  215. package/dist/model.js +77 -39
  216. package/dist/spec/web-chart.d.ts +5 -1
  217. package/dist/utils/layer/index.d.ts +3 -1
  218. package/dist/utils/layer/utils/index.d.ts +16 -4
  219. package/package.json +3 -3
  220. package/dist/cdn/2NCZCQJQ.js +0 -2
  221. package/dist/cdn/2QWN4KMQ.js +0 -2
  222. package/dist/cdn/3HHF7GDV.js +0 -2
  223. package/dist/cdn/43EPRNLY.js +0 -2
  224. package/dist/cdn/53YROF54.js +0 -2
  225. package/dist/cdn/57M5BGHO.js +0 -2
  226. package/dist/cdn/5Y2AIQMX.js +0 -2
  227. package/dist/cdn/6CGECXEP.js +0 -2
  228. package/dist/cdn/6MDEAZCW.js +0 -2
  229. package/dist/cdn/6YLXJOBN.js +0 -2
  230. package/dist/cdn/7LE76H3V.js +0 -2
  231. package/dist/cdn/7OK6DOOJ.js +0 -2
  232. package/dist/cdn/7QJ77UCB.js +0 -2
  233. package/dist/cdn/7XCTW7TF.js +0 -2
  234. package/dist/cdn/ABPBMLW4.js +0 -4
  235. package/dist/cdn/ACBNPWST.js +0 -2
  236. package/dist/cdn/AU5NU5OU.js +0 -2
  237. package/dist/cdn/AUKWLONZ.js +0 -2
  238. package/dist/cdn/B3TAQSVG.js +0 -2
  239. package/dist/cdn/B7BDZS5Q.js +0 -2
  240. package/dist/cdn/B7OT7NHE.js +0 -2
  241. package/dist/cdn/BIW46U2E.js +0 -2
  242. package/dist/cdn/BNMVFWWL.js +0 -2
  243. package/dist/cdn/BUPTELGR.js +0 -2
  244. package/dist/cdn/C3EG6JVL.js +0 -2
  245. package/dist/cdn/CEML6AMG.js +0 -2
  246. package/dist/cdn/CSISDIV5.js +0 -2
  247. package/dist/cdn/CXSBPI44.js +0 -2
  248. package/dist/cdn/DEWZASZK.js +0 -2
  249. package/dist/cdn/FJFVBE6K.js +0 -2
  250. package/dist/cdn/FLBXUDIS.js +0 -2
  251. package/dist/cdn/FQKOG42T.js +0 -2
  252. package/dist/cdn/FTXNBE44.js +0 -2
  253. package/dist/cdn/FU6JT3UD.js +0 -2
  254. package/dist/cdn/H7SXQSDY.js +0 -2
  255. package/dist/cdn/HFHPPFTL.js +0 -2
  256. package/dist/cdn/IQ5ZYJIB.js +0 -2
  257. package/dist/cdn/IVSSNIVI.js +0 -2
  258. package/dist/cdn/J27JNN6U.js +0 -2
  259. package/dist/cdn/J5O4KJG3.js +0 -2
  260. package/dist/cdn/KJHX7M5S.js +0 -2
  261. package/dist/cdn/KKDZFW5O.js +0 -2
  262. package/dist/cdn/KRZLTTVV.js +0 -2
  263. package/dist/cdn/KUOSDD5D.js +0 -2
  264. package/dist/cdn/L767SIJD.js +0 -2
  265. package/dist/cdn/LSF52M7M.js +0 -2
  266. package/dist/cdn/LW3BORFM.js +0 -2
  267. package/dist/cdn/M3ATYECI.js +0 -2
  268. package/dist/cdn/M6BMA2X5.js +0 -2
  269. package/dist/cdn/MCSGNGSS.js +0 -2
  270. package/dist/cdn/MJEMDC6S.js +0 -2
  271. package/dist/cdn/MY2TTPFJ.js +0 -2
  272. package/dist/cdn/MZQHYO73.js +0 -2
  273. package/dist/cdn/N6ZYLQ35.js +0 -2
  274. package/dist/cdn/ODM6XDHJ.js +0 -2
  275. package/dist/cdn/PAPWPFW4.js +0 -2
  276. package/dist/cdn/PDDEFX6K.js +0 -2
  277. package/dist/cdn/PNQ6VVJK.js +0 -2
  278. package/dist/cdn/QCO44WFX.js +0 -2
  279. package/dist/cdn/QCZO6SPY.js +0 -2
  280. package/dist/cdn/QJQCXQZQ.js +0 -2
  281. package/dist/cdn/QLBJVTC3.js +0 -2
  282. package/dist/cdn/QLRYZVYC.js +0 -2
  283. package/dist/cdn/QRJS3CVV.js +0 -2
  284. package/dist/cdn/QWCMSPHD.js +0 -2
  285. package/dist/cdn/RCS3DD7Z.js +0 -104
  286. package/dist/cdn/S52W7JS7.js +0 -2
  287. package/dist/cdn/SDWC5FQU.js +0 -2
  288. package/dist/cdn/SLGQSOZB.js +0 -2
  289. package/dist/cdn/SNQFOXQP.js +0 -2
  290. package/dist/cdn/STPMMRCH.js +0 -2
  291. package/dist/cdn/SUYBENSN.js +0 -2
  292. package/dist/cdn/TAW7DR2R.js +0 -2
  293. package/dist/cdn/TUM7FWOK.js +0 -2
  294. package/dist/cdn/UFCW5HCY.js +0 -2
  295. package/dist/cdn/URPIV4FP.js +0 -2
  296. package/dist/cdn/URX6VCYJ.js +0 -2
  297. package/dist/cdn/V2LSSOBU.js +0 -2
  298. package/dist/cdn/V7JH3U65.js +0 -2
  299. package/dist/cdn/VFOLCHS4.js +0 -2
  300. package/dist/cdn/VFZ5WZJL.js +0 -2
  301. package/dist/cdn/WEAUUIMY.js +0 -2
  302. package/dist/cdn/WHL3PAOM.js +0 -2
  303. package/dist/cdn/WQRH2BWD.js +0 -2
  304. package/dist/cdn/WQRXJQDO.js +0 -2
  305. package/dist/cdn/WTIY4H4L.js +0 -2
  306. package/dist/cdn/WXEJ47F6.js +0 -2
  307. package/dist/cdn/XUAJWZRU.js +0 -2
  308. package/dist/cdn/XYTCID73.js +0 -2
  309. package/dist/cdn/Z7L63G6V.js +0 -2
  310. package/dist/cdn/ZJOBVONS.js +0 -2
  311. package/dist/cdn/ZZQFMONS.js +0 -2
  312. package/dist/chunks/setup-utils.js +0 -80
  313. package/dist/model/index.d.ts +0 -19
  314. package/dist/spec/index.d.ts +0 -8
  315. package/dist/utils/index.d.ts +0 -33
  316. /package/dist/cdn/{S5OM65RV.js → COYWSD6X.js} +0 -0
@@ -1,195 +1,174 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import { substitute as R } from "@arcgis/core/intl.js";
3
- import { cloneDeep as ie, isEmpty as Ae, memoize as ve } from "lodash-es";
4
- import "@arcgis/toolkit/type";
5
- import { w as fe, u as I, r as L, k as Ie, n as V, m as j, p as Le, t as qe, s as G } from "./series-types.js";
6
- import { i as Ve, R as Ne } from "./rest-js-object-literals.js";
7
- import { $ as O, e0 as Oe, dd as Z, df as ke, d3 as De, a1 as we, aq as W, ee as Re, eh as Pe, R as Me, C as D, ca as se, e8 as Ee, h as $e, c9 as We, a8 as Xe, bt as Ye, c_ as Ke, an as je, l as He, dM as Ue, d5 as Qe, ei as _e, _ as ze, ej as oe, dK as Ge, ek as Ze, dG as Je, B as et, c$ as U, bp as w, ef as tt, ec as H, bM as X, bs as Se, ay as it, ed as ae, cK as st, x as J, d8 as at, dg as ue, cN as K, a_ as rt, bb as nt, by as lt, aC as ot, cW as ce, aH as de, aM as ye, b1 as ut } from "./index.js";
8
- import "@arcgis/toolkit/intl";
9
- import "luxon";
10
- import "@arcgis/core/layers/support/FeatureFilter.js";
11
- import "@arcgis/core/smartMapping/statistics/histogram.js";
12
- import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
13
- import "@arcgis/core/Graphic.js";
14
- import "@arcgis/core/renderers/support/jsonUtils.js";
15
- import "@arcgis/core/symbols/support/symbolUtils.js";
16
- import "@arcgis/core/AttributeBinsGraphic.js";
17
- import "@arcgis/core/layers/support/CodedValueDomain.js";
18
- import "@arcgis/core/request.js";
19
- import "simple-statistics";
20
- import "@arcgis/core/core/sql.js";
21
- import "@arcgis/core/geometry/support/jsonUtils.js";
22
- import "@arcgis/core/rest/support/AttributeBinsQuery.js";
23
- import "@arcgis/core/rest/support/Query.js";
24
- import "@arcgis/core/rest/support/StatisticDefinition.js";
25
- import "@arcgis/core/time/TimeExtent.js";
26
- import "@arcgis/core/core/promiseUtils.js";
27
- import "./runtime.js";
28
- import { h as Fe, i as k, j as ct, m as dt, g as C, l as b, e as me } from "./index4.js";
29
- import "@arcgis/core/applications/Components/imageryUtils.js";
30
- import "@arcgis/core/geometry/Extent.js";
31
- import "@arcgis/core/geometry/Point.js";
32
- import "@arcgis/toolkit/dom";
33
- import { s as N, u as P, g as re, d as he, e as yt, f as mt, j as ge } from "./utils.js";
34
- import { S as ee } from "./common.js";
35
- import "@esri/arcgis-html-sanitizer";
36
- import { a as M, c as Te, g as Q, e as pe, f as gt } from "./data.js";
37
- import { a as pt } from "./index2.js";
38
- import { g as ne } from "./utils2.js";
39
- import { b as ft, a as St } from "./series-length.js";
40
- const Ti = (t) => {
2
+ import { substitute as w } from "@arcgis/core/intl.js";
3
+ import { cloneDeep as se, isEmpty as Ae, memoize as ve } from "lodash-es";
4
+ import { S as _ } from "./common.js";
5
+ import { s as N, u as P, g as ie, d as fe, e as Ie, f as Le, j as oe } from "./utils.js";
6
+ import { w as k, bW as Ve, bl as qe, x as Ne, Y as W, c4 as ke, c7 as Re, p as Oe, aH as ae, c0 as De, d as we, aG as Pe, I as Ee, a7 as Me, bj as $e, W as We, e as Ye, bm as Xe, c8 as je, v as He, c9 as ue, bK as Ke, ca as Ue, bG as Qe, B as ze, c5 as Ge, an as Y, a6 as Se, c3 as re, b9 as _e, k as Z, bo as Ze, bs as ce, ba as j, bg as de } from "./index2.js";
7
+ import { a as E, c as Fe, g as U, e as ye, f as Je } from "./data.js";
8
+ import { g as he } from "./series-types.js";
9
+ import { u as I, r as L, k as et, n as q, m as H, p as tt, t as st, s as J } from "./chart-object-literals.js";
10
+ import { C as O, d as D, F as K } from "./index3.js";
11
+ import { a as it } from "./index4.js";
12
+ import { h as xe, i as R, j as at, m as rt, g as C, l as b, e as me } from "./index6.js";
13
+ import { c as ee, e as lt } from "./type-guards.js";
14
+ import { az as nt, t as ot, Y as ut, a9 as ct, al as dt, x as yt, C as ge, H as pe, $ as mt } from "./index.js";
15
+ import { g as le } from "./utils2.js";
16
+ import { b as gt, a as pt } from "./series-length.js";
17
+ import { i as ft, R as St } from "./rest-js-object-literals.js";
18
+ import { i as Q } from "./index5.js";
19
+ const Jt = (t) => {
41
20
  let e;
42
- const i = t.series[0];
43
- return O(i) && (e = i.temporalBinning?.size), e;
21
+ const s = t.series[0];
22
+ return k(s) && (e = s.temporalBinning?.size), e;
44
23
  }, Ft = (t) => {
45
24
  let e;
46
- const i = t.series[0];
47
- return O(i) && (e = i.temporalBinning?.unit), e;
48
- }, xi = (t) => {
25
+ const s = t.series[0];
26
+ return k(s) && (e = s.temporalBinning?.unit), e;
27
+ }, es = (t) => {
49
28
  let e;
50
- const i = t.series[0];
51
- return O(i) && (e = i.temporalBinning?.timeAggregationType), e;
52
- }, Bi = (t) => {
29
+ const s = t.series[0];
30
+ return k(s) && (e = s.temporalBinning?.timeAggregationType), e;
31
+ }, ts = (t) => {
53
32
  let e;
54
- const i = t.series[0];
55
- return O(i) && (e = i.temporalBinning?.trimIncompleteTimeInterval), e;
56
- }, Ci = (t) => {
33
+ const s = t.series[0];
34
+ return k(s) && (e = s.temporalBinning?.trimIncompleteTimeInterval), e;
35
+ }, ss = (t) => {
57
36
  let e;
58
- const i = t.series[0];
59
- return O(i) && (e = i.temporalBinning?.nullPolicy), e;
37
+ const s = t.series[0];
38
+ return k(s) && (e = s.temporalBinning?.nullPolicy), e;
60
39
  }, ht = (t, e) => {
61
- e?.series?.forEach((i) => {
62
- O(i) && (i.temporalBinning ??= {}, i.temporalBinning.size = t);
40
+ e?.series?.forEach((s) => {
41
+ k(s) && (s.temporalBinning ??= {}, s.temporalBinning.size = t);
63
42
  }), N({ config: e, value: null, axisIndex: 1, isMax: !1 }), N({ config: e, value: null, axisIndex: 1, isMax: !0 });
64
- }, Tt = (t, e) => {
65
- e?.series?.forEach((i) => {
66
- O(i) && (i.temporalBinning ??= {}, i.temporalBinning.nullPolicy = t);
43
+ }, xt = (t, e) => {
44
+ e?.series?.forEach((s) => {
45
+ k(s) && (s.temporalBinning ??= {}, s.temporalBinning.nullPolicy = t);
67
46
  }), N({ config: e, value: null, axisIndex: 1, isMax: !1 }), N({ config: e, value: null, axisIndex: 1, isMax: !0 });
68
- }, bi = (t, e) => {
69
- e.series?.forEach((i) => {
70
- O(i) && (i.temporalBinning ??= {}, i.temporalBinning.unit = t);
47
+ }, is = (t, e) => {
48
+ e.series?.forEach((s) => {
49
+ k(s) && (s.temporalBinning ??= {}, s.temporalBinning.unit = t);
71
50
  }), N({ config: e, value: null, axisIndex: 1, isMax: !1 }), N({ config: e, value: null, axisIndex: 1, isMax: !0 });
72
- }, Ai = (t, e) => {
73
- e.series?.forEach((i) => {
74
- O(i) && (i.temporalBinning ??= {}, i.temporalBinning.timeAggregationType = t);
51
+ }, as = (t, e) => {
52
+ e.series?.forEach((s) => {
53
+ k(s) && (s.temporalBinning ??= {}, s.temporalBinning.timeAggregationType = t);
75
54
  }), N({ config: e, value: null, axisIndex: 1, isMax: !1 }), N({ config: e, value: null, axisIndex: 1, isMax: !0 });
76
- }, vi = (t, e) => {
77
- e.series?.forEach((i) => {
78
- O(i) && (i.temporalBinning ??= {}, i.temporalBinning.trimIncompleteTimeInterval = t);
55
+ }, rs = (t, e) => {
56
+ e.series?.forEach((s) => {
57
+ k(s) && (s.temporalBinning ??= {}, s.temporalBinning.trimIncompleteTimeInterval = t);
79
58
  }), N({ config: e, value: null, axisIndex: 1, isMax: !1 }), N({ config: e, value: null, axisIndex: 1, isMax: !0 });
80
- }, Ii = (t) => {
59
+ }, ls = (t) => {
81
60
  ht(0, t);
82
61
  };
83
- function Li(t, e) {
84
- let i;
85
- return e !== void 0 && (i = { ...e }, i.legend !== void 0 && (i.legend.position = t)), i;
62
+ function ns(t, e) {
63
+ let s;
64
+ return e !== void 0 && (s = { ...e }, s.legend !== void 0 && (s.legend.position = t)), s;
86
65
  }
87
- function qi(t, e) {
88
- let i;
89
- return e !== void 0 && (i = { ...e }, i.legend !== void 0 && (i.legend.visible = t)), i;
66
+ function os(t, e) {
67
+ let s;
68
+ return e !== void 0 && (s = { ...e }, s.legend !== void 0 && (s.legend.visible = t)), s;
90
69
  }
91
- function Vi(t, e) {
92
- let i;
93
- return e !== void 0 && (i = { ...e, rotated: t }), i;
70
+ function us(t, e) {
71
+ let s;
72
+ return e !== void 0 && (s = { ...e, rotated: t }), s;
94
73
  }
95
- function xt(t) {
74
+ function Tt(t) {
96
75
  let e;
97
76
  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;
98
77
  }
99
- function Ni(t, e) {
100
- return e != null || Fe(t);
78
+ function cs(t, e) {
79
+ return e != null || xe(t);
101
80
  }
102
- async function Oi(t) {
103
- const { config: e, layer: i, abortSignal: r } = t;
81
+ async function ds(t) {
82
+ const { config: e, layer: s, abortSignal: r } = t;
104
83
  let a = !1;
105
- return Z(i) || ke(e) ? e && Z(i) && (a = await De({ config: e, layer: i, abortSignal: r })) : a = !0, a;
84
+ return ee(s) || lt(e) ? e && ee(s) && (a = await qe({ config: e, layer: s, abortSignal: r })) : a = !0, a;
106
85
  }
107
86
  async function Bt(t) {
108
87
  const {
109
88
  queryObject: e,
110
- chartConfig: i,
89
+ chartConfig: s,
111
90
  splitByField: r,
112
91
  errorStrings: a,
113
- abortSignal: s,
114
- runtimeDataFilters: l,
92
+ abortSignal: i,
93
+ runtimeDataFilters: n,
115
94
  ignoreViewExtent: o,
116
95
  setTimeBinningInfoWhenNotProvided: c,
117
96
  returnFeaturesExtent: m,
118
97
  chartLimits: h
119
98
  } = t;
120
- let n = [], g;
121
- const y = ie(i), d = y.series[0], u = He({
99
+ let l = [], g;
100
+ const y = se(s), d = y.series[0], u = Ye({
122
101
  queryObject: e,
123
102
  chartConfig: y,
124
- runtimeDataFilters: l,
103
+ runtimeDataFilters: n,
125
104
  ignoreViewExtent: o
126
105
  });
127
- if (u.outStatistics?.[0]?.outStatisticFieldName && (u.outStatistics[0].outStatisticFieldName = Ue.outStatistics.outStatisticFieldName), O(d) && Qe({
128
- xAxisValueFormatType: _e(y),
106
+ if (u.outStatistics?.[0]?.outStatisticFieldName && (u.outStatistics[0].outStatisticFieldName = nt.outStatistics.outStatisticFieldName), k(d) && Xe({
107
+ xAxisValueFormatType: je(y),
129
108
  setTimeBinningInfoWhenNotProvided: c,
130
109
  seriesConfig: d,
131
110
  queryObject: e
132
- }) && ze(r, e)) {
133
- const { temporalBinning: f, x } = d, { uniqueQuery: S } = oe({
111
+ }) && He(r, e)) {
112
+ const { temporalBinning: f, x: T } = d, { uniqueQuery: S } = ue({
134
113
  chartConfig: y,
135
114
  queryConfig: u,
136
115
  queryObject: e,
137
116
  setTimeBinningInfoWhenNotProvided: c,
138
117
  returnFeaturesExtent: m,
139
118
  chartLimits: h
140
- }), p = i.axes?.[0].valueFormat.type === I.DateAxisFormat ? i.axes[0].valueFormat.intlOptions.timeZone : void 0;
141
- g = await Ge({
119
+ }), p = s.axes?.[0].valueFormat.type === I.DateAxisFormat ? s.axes[0].valueFormat.intlOptions.timeZone : void 0;
120
+ g = await Ke({
142
121
  queryObject: e,
143
- dateField: x,
122
+ dateField: T,
144
123
  splitByField: r,
145
124
  queryConfig: S,
146
125
  axisTimeZone: p,
147
126
  temporalBinning: f,
148
127
  errorStrings: a,
149
- abortSignal: s
150
- }), n = Array.from(
128
+ abortSignal: i
129
+ }), l = Array.from(
151
130
  new Set(
152
- g.flatMap((q) => {
153
- const { stackedAttributes: T } = q;
131
+ g.flatMap((V) => {
132
+ const { stackedAttributes: x } = V;
154
133
  let A = [];
155
- return T && (A = T.map((F) => F[r]).filter((F) => F !== void 0)), A;
134
+ return x && (A = x.map((F) => F[r]).filter((F) => F !== void 0)), A;
156
135
  })
157
136
  ).values()
158
137
  );
159
138
  } else {
160
- const { uniqueQuery: f } = oe({
139
+ const { uniqueQuery: f } = ue({
161
140
  chartConfig: y,
162
141
  queryObject: e,
163
142
  queryConfig: u,
164
143
  setTimeBinningInfoWhenNotProvided: c,
165
144
  returnFeaturesExtent: m,
166
145
  chartLimits: h
167
- }), { elementCount: x } = await Ze({
146
+ }), { elementCount: T } = await Ue({
168
147
  chartConfig: y,
169
148
  queryObject: e,
170
149
  queryConfig: u,
171
150
  behaviorAfterLimit: h?.behaviorAfterLimit,
172
151
  numberMaxOfFeaturesToFetch: f.num,
173
- abortSignal: s
152
+ abortSignal: i
174
153
  });
175
- g = await Je({
154
+ g = await Qe({
176
155
  queryObject: e,
177
156
  queryConfig: f,
178
- featureCount: x,
157
+ featureCount: T,
179
158
  errorStrings: a,
180
- abortSignal: s
181
- }), n = Array.from(
159
+ abortSignal: i
160
+ }), l = Array.from(
182
161
  new Set(
183
162
  g.map((S) => S.attributes[r]).filter((S) => S !== void 0)
184
163
  ).values()
185
164
  );
186
165
  }
187
- return { allValues: n, preFetchedQueryResponse: g };
166
+ return { allValues: l, preFetchedQueryResponse: g };
188
167
  }
189
168
  function Ct(t, e) {
190
- const i = /* @__PURE__ */ new Map();
169
+ const s = /* @__PURE__ */ new Map();
191
170
  return t.series.forEach((r) => {
192
- let a = se({
171
+ let a = ae({
193
172
  where: r.query?.where,
194
173
  // normalize the value so it matches what we get from getAllValues()
195
174
  // Refer to https://devtopia.esri.com/WebGIS/arcgis-charts/issues/8127
@@ -199,88 +178,88 @@ function Ct(t, e) {
199
178
  escape: !1
200
179
  });
201
180
  e && a !== null && (a = Number(a));
202
- const s = fe([r]);
203
- s !== void 0 && i.set(s, [
204
- ...i.get(s) ?? [],
181
+ const i = he([r]);
182
+ i !== void 0 && s.set(i, [
183
+ ...s.get(i) ?? [],
205
184
  a
206
185
  ]);
207
- }), i;
186
+ }), s;
208
187
  }
209
188
  function bt(t) {
210
- const { allValues: e, configUniqueValuesPerSeriesType: i, initialConfigWasEmpty: r } = t, a = /* @__PURE__ */ new Map();
211
- return Array.from(i.keys()).forEach((s) => {
212
- const l = i.get(s) ?? [];
189
+ const { allValues: e, configUniqueValuesPerSeriesType: s, initialConfigWasEmpty: r } = t, a = /* @__PURE__ */ new Map();
190
+ return Array.from(s.keys()).forEach((i) => {
191
+ const n = s.get(i) ?? [];
213
192
  let o = [];
214
193
  r ? o = e : e.forEach((c) => {
215
- l.includes(c) || o.push(c);
216
- }), a.set(s, o);
194
+ n.includes(c) || o.push(c);
195
+ }), a.set(i, o);
217
196
  }), a;
218
197
  }
219
198
  function At(t) {
220
- const { chartConfig: e, missingValue: i, splitByField: r, seriesTemplate: a } = t, s = JSON.parse(
199
+ const { chartConfig: e, missingValue: s, splitByField: r, seriesTemplate: a } = t, i = JSON.parse(
221
200
  JSON.stringify({
222
201
  ...e.series[0],
223
202
  ...a
224
203
  })
225
204
  );
226
- if (s.query) {
227
- if (s.id = `${i}-${e.series.length}-${Date.now()}`, s.name = `${i}`, s.query.outStatistics?.[0] !== void 0) {
228
- const o = s.id;
229
- s.query.outStatistics[0].outStatisticFieldName = o, "y" in s && (s.y = o);
205
+ if (i.query) {
206
+ if (i.id = `${s}-${e.series.length}-${Date.now()}`, i.name = `${s}`, i.query.outStatistics?.[0] !== void 0) {
207
+ const o = i.id;
208
+ i.query.outStatistics[0].outStatisticFieldName = o, "y" in i && (i.y = o);
230
209
  }
231
- const l = typeof i == "number" || i === null ? i : `'${i}'`;
232
- s.query.where = `${r}=${l}`;
210
+ const n = typeof s == "number" || s === null ? s : `'${s}'`;
211
+ i.query.where = `${r}=${n}`;
233
212
  }
234
- return s;
213
+ return i;
235
214
  }
236
215
  async function vt(t) {
237
216
  const {
238
217
  updateSplitBySeries: e,
239
- config: i,
218
+ config: s,
240
219
  queryObject: r,
241
220
  errorStrings: a,
242
- abortSignal: s,
243
- runtimeDataFilters: l,
221
+ abortSignal: i,
222
+ runtimeDataFilters: n,
244
223
  ignoreViewExtent: o,
245
224
  setTimeBinningInfoWhenNotProvided: c,
246
225
  returnFeaturesExtent: m,
247
226
  chartLimits: h
248
- } = t, { seriesTemplate: n } = e ?? {};
227
+ } = t, { seriesTemplate: l } = e ?? {};
249
228
  let g;
250
- if (r && !Z(r) && e !== void 0 && i !== void 0 && (i.series.length > 0 || n !== void 0) && e.addMissingSeries) {
251
- const y = i.series.length === 0;
252
- i.series.length === 0 && n !== void 0 && i.series.push(n);
253
- const d = W(i.series);
254
- if (d === D.BoxPlotMonoFieldAndSplitBy || d === D.BoxPlotMultiFieldsAndSplitBy || d === D.BoxPlotMonoFieldAndCategoryAndSplitBy || d === D.BarAndLineSplitBy || d === D.BarAndLineSplitByNoAggregation) {
255
- const u = We(i.series[0]?.query?.where), f = Xe(r), x = Ye(u, f), S = x ? Ke(x) : !1, p = await Bt({
229
+ if (r && !ee(r) && e !== void 0 && s !== void 0 && (s.series.length > 0 || l !== void 0) && e.addMissingSeries) {
230
+ const y = s.series.length === 0;
231
+ s.series.length === 0 && l !== void 0 && s.series.push(l);
232
+ const d = W(s.series);
233
+ if (d === O.BoxPlotMonoFieldAndSplitBy || d === O.BoxPlotMultiFieldsAndSplitBy || d === O.BoxPlotMonoFieldAndCategoryAndSplitBy || d === O.BarAndLineSplitBy || d === O.BarAndLineSplitByNoAggregation) {
234
+ const u = Pe(s.series[0]?.query?.where), f = Ee(r), T = Me(u, f), S = T ? $e(T) : !1, p = await Bt({
256
235
  queryObject: r,
257
- chartConfig: i,
236
+ chartConfig: s,
258
237
  splitByField: u,
259
- abortSignal: s,
260
- runtimeDataFilters: l,
238
+ abortSignal: i,
239
+ runtimeDataFilters: n,
261
240
  ignoreViewExtent: o,
262
241
  setTimeBinningInfoWhenNotProvided: c,
263
242
  returnFeaturesExtent: m,
264
243
  chartLimits: h,
265
244
  errorStrings: a
266
- }), { allValues: q } = p;
267
- if ({ preFetchedQueryResponse: g } = p, q.length > 0) {
268
- const T = Ct(i, S), A = bt({
269
- allValues: q,
270
- configUniqueValuesPerSeriesType: T,
245
+ }), { allValues: V } = p;
246
+ if ({ preFetchedQueryResponse: g } = p, V.length > 0) {
247
+ const x = Ct(s, S), A = bt({
248
+ allValues: V,
249
+ configUniqueValuesPerSeriesType: x,
271
250
  initialConfigWasEmpty: y
272
251
  });
273
252
  Array.from(A.keys()).forEach((F) => {
274
253
  (A.get(F) ?? []).forEach((B) => {
275
- i.series.push(
254
+ s.series.push(
276
255
  At({
277
- chartConfig: i,
278
- seriesTemplate: n,
256
+ chartConfig: s,
257
+ seriesTemplate: l,
279
258
  missingValue: B,
280
259
  splitByField: u
281
260
  })
282
261
  );
283
- }), y && i.series.shift();
262
+ }), y && s.series.shift();
284
263
  });
285
264
  }
286
265
  }
@@ -288,73 +267,73 @@ async function vt(t) {
288
267
  return g;
289
268
  }
290
269
  function It(t, e) {
291
- e && !Fe(e) && (e = $e({ chartConfig: e, queryObject: t }));
270
+ e && !xe(e) && (e = we({ chartConfig: e, queryObject: t }));
292
271
  }
293
- async function ki(t) {
272
+ async function ys(t) {
294
273
  const {
295
274
  configToAlter: e,
296
- layer: i,
275
+ layer: s,
297
276
  addMissingSeries: r,
298
277
  updateSplitBySeries: a,
299
- chartContainer: s,
300
- queryObject: l,
278
+ chartContainer: i,
279
+ queryObject: n,
301
280
  abortSignal: o,
302
281
  runtimeDataFilters: c,
303
282
  ignoreViewExtent: m,
304
283
  setTimeBinningInfoWhenNotProvided: h,
305
- returnFeaturesExtent: n,
284
+ returnFeaturesExtent: l,
306
285
  chartLimits: g,
307
286
  errorStrings: y
308
287
  } = t;
309
288
  let d = e, u;
310
- return d && (It(i, d), d = await pt(d, i, void 0, o), r && l && (u = await vt({
289
+ return d && (It(s, d), d = await it(d, s, void 0, o), r && n && (u = await vt({
311
290
  updateSplitBySeries: a,
312
291
  config: d,
313
- queryObject: l,
292
+ queryObject: n,
314
293
  errorStrings: y,
315
294
  abortSignal: o,
316
295
  runtimeDataFilters: c,
317
296
  ignoreViewExtent: m,
318
297
  setTimeBinningInfoWhenNotProvided: h,
319
- returnFeaturesExtent: n,
298
+ returnFeaturesExtent: l,
320
299
  chartLimits: g
321
- })), d = Oe(d, s)), { alteredConfig: d, preFetchedQueryResponse: u };
300
+ })), d = Ve(d, i)), { alteredConfig: d, preFetchedQueryResponse: u };
322
301
  }
323
302
  function Lt(t, e) {
324
- let i = !1;
303
+ let s = !1;
325
304
  if (e !== void 0) {
326
- const r = je({ key: et.Average, splitBy: e });
327
- i = Number.isFinite(t[r]);
305
+ const r = We({ key: ze.Average, splitBy: e });
306
+ s = Number.isFinite(t[r]);
328
307
  }
329
- return i;
308
+ return s;
330
309
  }
331
- function Di(t) {
332
- const { data: e, config: i, showEmptySeries: r } = t, a = i.series.length, s = ie(i);
333
- let l = !1;
310
+ function ms(t) {
311
+ const { data: e, config: s, showEmptySeries: r } = t, a = s.series.length, i = se(s);
312
+ let n = !1;
334
313
  if (!r && a > 1 && e) {
335
- const o = we(e), c = fe(i?.series), m = W(i?.series), h = /* @__PURE__ */ new Set();
314
+ const o = Ne(e), c = he(s?.series), m = W(s?.series), h = /* @__PURE__ */ new Set();
336
315
  switch (c) {
337
316
  case I.ComboLineAndBarSeries:
338
317
  case I.BarSeries:
339
318
  case I.RadarSeries:
340
319
  case I.LineSeries: {
341
- s.series.forEach((g) => {
320
+ i.series.forEach((g) => {
342
321
  if (Array.isArray(o)) {
343
322
  let y = "";
344
- "y" in g && (y = Array.isArray(g.y) ? g.y[0] : g.y, m === D.BarAndLineSplitByNoAggregation && (y = `${y}_${se({ where: g.query?.where, keepSurroundingQuotes: !1, escape: !1 })}`), o.some(
345
- (u) => Ee({ dataItem: u, x: g.x, y })
323
+ "y" in g && (y = Array.isArray(g.y) ? g.y[0] : g.y, m === O.BarAndLineSplitByNoAggregation && (y = `${y}_${ae({ where: g.query?.where, keepSurroundingQuotes: !1, escape: !1 })}`), o.some(
324
+ (u) => De({ dataItem: u, x: g.x, y })
346
325
  ) && h.add(g));
347
326
  }
348
327
  });
349
328
  break;
350
329
  }
351
330
  case I.BoxPlotSeries: {
352
- if (Re(i)) {
353
- const g = Pe(i);
354
- i.series.forEach((y) => {
331
+ if (ke(s)) {
332
+ const g = Re(s);
333
+ s.series.forEach((y) => {
355
334
  let d, u;
356
335
  y.type === I.BoxPlotSeries ? (d = e.dataItems, u = d?.some(
357
- (f) => Me({
336
+ (f) => Oe({
358
337
  dataItem: f,
359
338
  splitBy: y.query?.where,
360
339
  showOutliers: g
@@ -367,56 +346,56 @@ function Di(t) {
367
346
  break;
368
347
  }
369
348
  }
370
- const n = Array.from(h.values());
371
- l = n.length > 0 && n.length < a, l && (s.series = n);
349
+ const l = Array.from(h.values());
350
+ n = l.length > 0 && l.length < a, n && (i.series = l);
372
351
  }
373
- return { seriesFilteredOut: l, filteredConfig: s };
352
+ return { seriesFilteredOut: n, filteredConfig: i };
374
353
  }
375
- const wi = (t) => t.hideEmptyRowsAndColumns, Ri = (t, e) => {
354
+ const gs = (t) => t.hideEmptyRowsAndColumns, ps = (t, e) => {
376
355
  t.hideEmptyRowsAndColumns = e;
377
- }, Pi = (t, e) => {
378
- const i = t.series[0];
379
- i.heatRulesType = e;
380
- }, Mi = (t) => t.series[0].heatRulesType, Ei = (t, e) => {
381
- const i = t.series[0];
382
- i.gradientRules = e;
383
- }, $i = (t) => t.series[0].gradientRules, Wi = (t) => {
384
- const { yField: e, config: i, layerInfo: r } = t, { layerFieldsInfo: a } = r, s = ne(1, i), l = qt(i), o = U(i), c = i.series[0];
385
- if (typeof e == "string" && l !== e && c && (c.y = e, xt(i), l === s || o)) {
386
- const m = w(a, e);
387
- P(i, 1, m);
356
+ }, fs = (t, e) => {
357
+ const s = t.series[0];
358
+ s.heatRulesType = e;
359
+ }, Ss = (t) => t.series[0].heatRulesType, Fs = (t, e) => {
360
+ const s = t.series[0];
361
+ s.gradientRules = e;
362
+ }, hs = (t) => t.series[0].gradientRules, xs = (t) => {
363
+ const { yField: e, config: s, layerInfo: r } = t, { layerFieldsInfo: a } = r, i = le(1, s), n = Vt(s), o = Q(s), c = s.series[0];
364
+ if (typeof e == "string" && n !== e && c && (c.y = e, Tt(s), n === i || o)) {
365
+ const m = D(a, e);
366
+ P(s, 1, m);
388
367
  }
389
- }, qt = (t) => t.series[0].y ?? "", Xi = (t) => {
390
- const { binning: e, config: i, commonStrings: r } = t, a = i.series[0];
368
+ }, Vt = (t) => t.series[0].y ?? "", Ts = (t) => {
369
+ const { binning: e, config: s, commonStrings: r } = t, a = s.series[0];
391
370
  if (a.xTemporalBinning = e, e?.unit !== void 0 && e.unit in r.utilsStrings.heatChartCalendarDatePartsUnits) {
392
- const s = r.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
393
- P(i, 0, s);
371
+ const i = r.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
372
+ P(s, 0, i);
394
373
  }
395
- }, Yi = (t) => t.series[0].xTemporalBinning, Ki = (t) => {
396
- const { binning: e, config: i, commonStrings: r } = t, a = i.series[0];
374
+ }, Bs = (t) => t.series[0].xTemporalBinning, Cs = (t) => {
375
+ const { binning: e, config: s, commonStrings: r } = t, a = s.series[0];
397
376
  if (a.yTemporalBinning = e, e?.unit !== void 0 && e.unit in r.utilsStrings.heatChartCalendarDatePartsUnits) {
398
- const s = r.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
399
- P(i, 1, s);
377
+ const i = r.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
378
+ P(s, 1, i);
400
379
  }
401
- }, ji = (t) => t.series[0].yTemporalBinning, Vt = (t, e) => {
380
+ }, bs = (t) => t.series[0].yTemporalBinning, qt = (t, e) => {
402
381
  e.orderOptions ??= {};
403
- const i = e.axes?.[0]?.valueFormat?.type === "category" ? V.Category : V.YValue, r = te(e)[0], a = e.axes?.[1]?.valueFormat?.type === "category" ? V.Category : V.YValue, s = te(e)[1], l = {
382
+ const s = e.axes?.[0]?.valueFormat?.type === "category" ? q.Category : q.YValue, r = te(e)[0], a = e.axes?.[1]?.valueFormat?.type === "category" ? q.Category : q.YValue, i = te(e)[1], n = {
404
383
  ...e.orderOptions.data ?? {},
405
- orderType: V.MultiAxes
384
+ orderType: q.MultiAxes
406
385
  };
407
- r === ee.customSort && i === V.Category && (l.orderByX = [...t]), s === ee.customSort && a === V.Category && (l.orderByY = [...t]), Object.keys(l).length > 1 && (e.orderOptions.data = l);
408
- }, Hi = (t, e) => {
409
- const i = e.series[0];
410
- i.gridLine && (i.gridLine.width = t);
411
- }, Ui = (t) => t.series[0].gridLine?.width, Qi = (t, e) => {
412
- const i = e.series[0], r = t?.length === 4 && t.every((a) => typeof a == "number");
413
- i.gridLine && r && (i.gridLine.color = t);
414
- }, _i = (t) => t.series[0].gridLine?.color, zi = (t, e) => {
415
- const i = e.legend;
416
- i && (i.position = t);
417
- }, Gi = (t) => t.legend?.position ?? Ie.Bottom, Zi = (t) => t.series[0].query?.outStatistics?.[0]?.onStatisticField, Ji = (t) => {
418
- const { field: e, config: i, layerInfo: r, commonStrings: a } = t, s = i.series[0].query?.outStatistics?.[0], l = z(i, r, a);
419
- s ? (s.onStatisticField = e, s.outStatisticFieldName = `${s.statisticType}_${e}`) : i.series[0].query = {
386
+ r === _.customSort && s === q.Category && (n.orderByX = [...t]), i === _.customSort && a === q.Category && (n.orderByY = [...t]), Object.keys(n).length > 1 && (e.orderOptions.data = n);
387
+ }, As = (t, e) => {
388
+ const s = e.series[0];
389
+ s.gridLine && (s.gridLine.width = t);
390
+ }, vs = (t) => t.series[0].gridLine?.width, Is = (t, e) => {
391
+ const s = e.series[0], r = t?.length === 4 && t.every((a) => typeof a == "number");
392
+ s.gridLine && r && (s.gridLine.color = t);
393
+ }, Ls = (t) => t.series[0].gridLine?.color, Vs = (t, e) => {
394
+ const s = e.legend;
395
+ s && (s.position = t);
396
+ }, qs = (t) => t.legend?.position ?? et.Bottom, Ns = (t) => t.series[0].query?.outStatistics?.[0]?.onStatisticField, ks = (t) => {
397
+ const { field: e, config: s, layerInfo: r, commonStrings: a } = t, i = s.series[0].query?.outStatistics?.[0], n = G(s, r, a);
398
+ i ? (i.onStatisticField = e, i.outStatisticFieldName = `${i.statisticType}_${e}`) : s.series[0].query = {
420
399
  outStatistics: [
421
400
  {
422
401
  onStatisticField: e,
@@ -424,85 +403,112 @@ const wi = (t) => t.hideEmptyRowsAndColumns, Ri = (t, e) => {
424
403
  statisticType: L.Count
425
404
  }
426
405
  ]
427
- }, l && i.title && (i.title.content.text = Y(i, r, a));
428
- }, es = (t) => t.series[0].query?.outStatistics?.[0].statisticType ?? L.Count, ts = (t) => {
429
- const { aggregationType: e, config: i, layerInfo: r, commonStrings: a } = t, s = i.series[0]?.query?.outStatistics?.[0], l = z(i, r, a);
430
- s && e !== L.NoAggregation && (s.statisticType = e, s.outStatisticFieldName = `${e}_${s.onStatisticField}`), (e === L.Count || e === L.Sum) && Nt(j.Zero, i), l && i.title && (i.title.content.text = Y(i, r, a));
431
- }, is = (t) => t.nullPolicy, Nt = (t, e) => {
406
+ }, n && s.title && (s.title.content.text = X(s, r, a));
407
+ }, Rs = (t) => t.series[0].query?.outStatistics?.[0].statisticType ?? L.Count, Os = (t) => {
408
+ const { aggregationType: e, config: s, layerInfo: r, commonStrings: a } = t, i = s.series[0]?.query?.outStatistics?.[0], n = G(s, r, a);
409
+ i && e !== L.NoAggregation && (i.statisticType = e, i.outStatisticFieldName = `${e}_${i.onStatisticField}`), (e === L.Count || e === L.Sum) && Nt(H.Zero, s), n && s.title && (s.title.content.text = X(s, r, a));
410
+ }, Ds = (t) => t.nullPolicy, Nt = (t, e) => {
432
411
  e.nullPolicy = t;
433
- }, ss = (t) => t.series[0].emptyCells, as = (t, e) => {
412
+ }, ws = (t) => t.series[0].emptyCells, Ps = (t, e) => {
434
413
  e.series[0].emptyCells = t;
435
- }, rs = (t) => t.series[0].emptyCells?.text, ns = (t, e) => {
414
+ }, Es = (t) => t.series[0].emptyCells?.text, Ms = (t, e) => {
436
415
  e.series[0].emptyCells ? e.series[0].emptyCells.text = t : e.series[0].emptyCells = { text: t };
437
- }, ls = (t) => t.includeLeapDay, os = (t, e) => {
416
+ }, $s = (t) => t.includeLeapDay, Ws = (t, e) => {
438
417
  e.includeLeapDay = t;
439
- }, us = (t) => t.series[0].emptyCells?.symbol, cs = (t, e) => {
418
+ }, Ys = (t) => t.series[0].emptyCells?.symbol, Xs = (t, e) => {
440
419
  e.series[0].emptyCells ? e.series[0].emptyCells.symbol = t : e.series[0].emptyCells = { symbol: t };
441
420
  };
442
- function ds(t) {
421
+ function js(t) {
443
422
  return t.viewType;
444
423
  }
445
- function ys(t, e) {
446
- tt(e) || (e.viewType = t);
424
+ function Hs(t, e) {
425
+ Ge(e) || (e.viewType = t);
447
426
  }
448
- function ms(t) {
449
- return t.series[0].classBreaksRules?.breaksCount ?? H.classBreaks.breaksCount;
427
+ function Ks(t) {
428
+ return t.series[0].classBreaksRules?.breaksCount ?? K.classBreaks.breaksCount;
450
429
  }
451
- function gs(t, e) {
452
- e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.breaksCount = t ?? H.classBreaks.breaksCount : e.series[0].classBreaksRules = {
453
- breaksCount: t ?? H.classBreaks.breaksCount
430
+ function Us(t, e) {
431
+ e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.breaksCount = t ?? K.classBreaks.breaksCount : e.series[0].classBreaksRules = {
432
+ breaksCount: t ?? K.classBreaks.breaksCount
454
433
  };
455
434
  }
456
- function ps(t) {
435
+ function Qs(t) {
457
436
  return t.series[0].classBreaksRules?.classificationMethod;
458
437
  }
459
- function fs(t, e) {
438
+ function zs(t, e) {
460
439
  e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.classificationMethod = t : e.series[0].classBreaksRules = {
461
440
  classificationMethod: t
462
- }, e.series[0].classBreaksRules.breaksCount = e.series[0].classBreaksRules.breaksCount ?? H.classBreaks.breaksCount;
441
+ }, e.series[0].classBreaksRules.breaksCount = e.series[0].classBreaksRules.breaksCount ?? K.classBreaks.breaksCount;
463
442
  }
464
- function Ss(t, e) {
443
+ function Gs(t, e) {
465
444
  e.firstDayOfWeek = t;
466
445
  }
467
- function Fs(t) {
446
+ function _s(t) {
468
447
  return t.firstDayOfWeek;
469
448
  }
470
- function E(t) {
471
- const { seriesIndex: e, xAxisField: i, aggregationType: r, config: a, layerInfo: s, commonStrings: l } = t, o = X(s?.layer).idField;
449
+ function Zs(t) {
450
+ return t.series[0].classBreaksRules?.colorRampInfo?.name;
451
+ }
452
+ function Js(t, e) {
453
+ e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.colorRampInfo = {
454
+ ...e.series[0].classBreaksRules.colorRampInfo,
455
+ name: t
456
+ } : e.series[0].classBreaksRules = {
457
+ colorRampInfo: {
458
+ name: t,
459
+ flipped: !1
460
+ }
461
+ };
462
+ }
463
+ function ei(t) {
464
+ return t.series[0].classBreaksRules?.colorRampInfo?.flipped ?? !1;
465
+ }
466
+ function ti(t, e) {
467
+ e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.colorRampInfo = {
468
+ ...e.series[0].classBreaksRules.colorRampInfo,
469
+ flipped: t
470
+ } : e.series[0].classBreaksRules = {
471
+ colorRampInfo: {
472
+ flipped: t
473
+ }
474
+ };
475
+ }
476
+ function M(t) {
477
+ const { seriesIndex: e, xAxisField: s, aggregationType: r, config: a, layerInfo: i, commonStrings: n } = t, o = Y(i?.layer).idField;
472
478
  let c;
473
479
  const m = a.series[e ?? 0];
474
- let h = !1, n = !1, g = !1;
480
+ let h = !1, l = !1, g = !1;
475
481
  if (m === void 0) {
476
482
  const u = a.series;
477
- h = u.slice(0, e).every((f) => C(f)), n = u.slice(0, e).every((f) => b(f)), g = u.slice(0, e).every((f) => me(f));
483
+ h = u.slice(0, e).every((f) => C(f)), l = u.slice(0, e).every((f) => b(f)), g = u.slice(0, e).every((f) => me(f));
478
484
  } else
479
- h = C(m), n = b(m), g = me(m);
480
- h ? c = rt({
481
- commonStrings: l,
485
+ h = C(m), l = b(m), g = me(m);
486
+ h ? c = ut({
487
+ commonStrings: n,
482
488
  seriesIndex: e,
483
489
  objectIDField: o
484
- }) : n ? c = nt({
485
- commonStrings: l,
490
+ }) : l ? c = ct({
491
+ commonStrings: n,
486
492
  seriesIndex: e,
487
493
  objectIDField: o
488
- }) : g ? c = lt(l, o) : c = ot({
494
+ }) : g ? c = dt(n, o) : c = yt({
489
495
  seriesIndex: e,
490
496
  objectIDField: o,
491
- commonStrings: l
497
+ commonStrings: n
492
498
  });
493
499
  const y = a.series[0]?.dataLabels, d = {
494
500
  ...c,
495
- x: i,
501
+ x: s,
496
502
  y: "",
497
503
  dataLabels: {
498
504
  ...c.dataLabels,
499
505
  type: c.dataLabels?.type ?? I.Text,
500
- content: { ...c.dataLabels?.content, ...y?.content, type: Ve.TS },
506
+ content: { ...c.dataLabels?.content, ...y?.content, type: ft.TS },
501
507
  visible: y?.visible ?? !1
502
508
  }
503
509
  };
504
510
  if (d.query = {
505
- groupByFieldsForStatistics: [i]
511
+ groupByFieldsForStatistics: [s]
506
512
  }, r !== L.NoAggregation && o !== void 0) {
507
513
  const u = `${r}_${o}_0`.toUpperCase();
508
514
  d.y = u, d.query.outStatistics = [
@@ -513,312 +519,312 @@ function E(t) {
513
519
  }
514
520
  ];
515
521
  }
516
- if (O(a.series[0]) && O(d)) {
522
+ if (k(a.series[0]) && k(d)) {
517
523
  let u;
518
- if (a?.series?.[0] !== void 0 && (u = W(a.series)), u !== D.BarAndLineNoAggregation && u !== D.BarAndLineSplitByNoAggregation) {
524
+ if (a?.series?.[0] !== void 0 && (u = W(a.series)), u !== O.BarAndLineNoAggregation && u !== O.BarAndLineSplitByNoAggregation) {
519
525
  let f = Ft(a);
520
- f === G.Quarter && (f = G.Month), d.temporalBinning = {
526
+ f === J.Quarter && (f = J.Month), d.temporalBinning = {
521
527
  ...a.series[0]?.temporalBinning,
522
528
  unit: f
523
529
  };
524
530
  }
525
531
  }
526
- return ie(d);
532
+ return se(d);
527
533
  }
528
- function Y(t, e, i) {
529
- const { layerFieldsInfo: r } = e, { idField: a, isTraditionalTypeOID: s } = X(e.layer), l = M(t), o = _(t), c = Be(t), m = le(t), h = s && (o.length === 0 || o.includes(a)), n = it(c, i), g = h ? "" : o.map((p) => w(r ?? [], p)).join(", "), y = w(r ?? [], l), d = w(r ?? [], m), u = t.series.some((p) => k(p)), f = u ? "category" : "xAxisField", x = y;
534
+ function X(t, e, s) {
535
+ const { layerFieldsInfo: r } = e, { idField: a, isTraditionalTypeOID: i } = Y(e.layer), n = E(t), o = z(t), c = Be(t), m = ne(t), h = i && (o.length === 0 || o.includes(a)), l = ot(c, s), g = h ? "" : o.map((p) => D(r ?? [], p)).join(", "), y = D(r ?? [], n), d = D(r ?? [], m), u = t.series.some((p) => R(p)), f = u ? "category" : "xAxisField", T = y;
530
536
  let S = "";
531
- if (Te({
532
- fieldName: l,
537
+ if (Fe({
538
+ fieldName: n,
533
539
  numericFields: o,
534
540
  fieldList: r
535
541
  }))
536
- S = R(i.titleLabels.aggrTypeOfAggrFields, {
537
- aggregationType: n,
542
+ S = w(s.titleLabels.aggrTypeOfAggrFields, {
543
+ aggregationType: l,
538
544
  aggregationFields: g
539
545
  });
540
546
  else if (c === L.NoAggregation) {
541
547
  const p = h ? a : g;
542
548
  if (m === "") {
543
- const q = u ? "aggrTypeCategory" : "aggrTypeXAxisField";
544
- S = R(i.titleLabels[q], {
549
+ const V = u ? "aggrTypeCategory" : "aggrTypeXAxisField";
550
+ S = w(s.titleLabels[V], {
545
551
  aggregationType: p,
546
- [f]: x
552
+ [f]: T
547
553
  });
548
554
  } else {
549
- const q = u ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
550
- S = R(i.titleLabels[q], {
555
+ const V = u ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
556
+ S = w(s.titleLabels[V], {
551
557
  aggregationType: p,
552
- [f]: x,
558
+ [f]: T,
553
559
  splitByField: d
554
560
  });
555
561
  }
556
562
  } else if (c === L.Count)
557
563
  if (m === "") {
558
564
  const p = u ? "aggrTypeCategory" : "aggrTypeXAxisField";
559
- S = R(i.titleLabels[p], {
560
- aggregationType: n,
561
- [f]: x
565
+ S = w(s.titleLabels[p], {
566
+ aggregationType: l,
567
+ [f]: T
562
568
  });
563
569
  } else {
564
570
  const p = u ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
565
- S = R(i.titleLabels[p], {
566
- aggregationType: n,
567
- [f]: x,
571
+ S = w(s.titleLabels[p], {
572
+ aggregationType: l,
573
+ [f]: T,
568
574
  splitByField: d
569
575
  });
570
576
  }
571
577
  else if (m !== "") {
572
578
  const p = u ? "aggrTypeOfAggrFieldByCategoryBySplitByField" : "aggrTypeOfAggrFieldByXAxisFieldBySplitByField";
573
- S = R(i.titleLabels[p], {
574
- aggregationType: n,
579
+ S = w(s.titleLabels[p], {
580
+ aggregationType: l,
575
581
  aggregationField: g,
576
- [f]: x,
582
+ [f]: T,
577
583
  splitByField: d
578
584
  });
579
585
  } else if (o.length > 0) {
580
586
  const p = u ? "aggrTypeOfAggrFieldsByCategory" : "aggrTypeOfAggrFieldsByXAxisField";
581
- S = R(i.titleLabels[p], {
582
- aggregationType: n,
587
+ S = w(s.titleLabels[p], {
588
+ aggregationType: l,
583
589
  aggregationFields: g,
584
- [f]: x
590
+ [f]: T
585
591
  });
586
592
  }
587
593
  return S;
588
594
  }
589
- const xe = (t) => se({
595
+ const Te = (t) => ae({
590
596
  where: t.query?.where,
591
597
  normalize: !1,
592
598
  escape: !1
593
- }) ?? "", Be = (t) => t?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? L.NoAggregation, le = ve(
599
+ }) ?? "", Be = (t) => t?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? L.NoAggregation, ne = ve(
594
600
  (t) => {
595
601
  const e = t?.series?.[0]?.query?.where?.split("=")[0].trim() ?? "";
596
- return st(t?.series?.[0]?.query?.where) ? "" : e;
602
+ return _e(t?.series?.[0]?.query?.where) ? "" : e;
597
603
  },
598
604
  (t) => t?.series?.[0]?.query?.where
599
- ), _ = (t) => {
605
+ ), z = (t) => {
600
606
  let e = [];
601
- if (le(t) === "")
602
- e = t?.series.map((i) => {
603
- const r = i.query?.outStatistics?.map((a) => a.onStatisticField) ?? [];
604
- return r?.length > 0 ? r : i.y;
607
+ if (ne(t) === "")
608
+ e = t?.series.map((s) => {
609
+ const r = s.query?.outStatistics?.map((a) => a.onStatisticField) ?? [];
610
+ return r?.length > 0 ? r : s.y;
605
611
  }).flat() ?? [];
606
612
  else {
607
- const i = t?.series?.[0], r = i?.query?.outStatistics?.[0]?.onStatisticField ?? [i?.y].flat()[0];
613
+ const s = t?.series?.[0], r = s?.query?.outStatistics?.[0]?.onStatisticField ?? [s?.y].flat()[0];
608
614
  e = r !== void 0 ? [r] : [];
609
615
  }
610
- return e.filter((i) => i !== "");
616
+ return e.filter((s) => s !== "");
611
617
  };
612
- function Ot(t) {
613
- const { numericFields: e, aggregationType: i, config: r, layerInfo: a } = t;
614
- let s = !1;
615
- i === L.Count ? s = !0 : i === L.NoAggregation && (s = e.every((c) => {
618
+ function kt(t) {
619
+ const { numericFields: e, aggregationType: s, config: r, layerInfo: a } = t;
620
+ let i = !1;
621
+ s === L.Count ? i = !0 : s === L.NoAggregation && (i = e.every((c) => {
616
622
  const m = a.layerFieldsInfo.find((h) => h.name === c);
617
- return m !== void 0 ? ce(m) : !1;
618
- })), ge(r, 1, s);
619
- const l = r.series.some((c) => C(c)), o = r.series.some((c) => b(c));
620
- if (l || o) {
621
- const c = M(r), m = a.layerFieldsInfo.find((n) => n.name === c), h = m !== void 0 && ce(m);
622
- ge(r, 0, h);
623
+ return m !== void 0 ? de(m) : !1;
624
+ })), oe(r, 1, i);
625
+ const n = r.series.some((c) => C(c)), o = r.series.some((c) => b(c));
626
+ if (n || o) {
627
+ const c = E(r), m = a.layerFieldsInfo.find((l) => l.name === c), h = m !== void 0 && de(m);
628
+ oe(r, 0, h);
623
629
  }
624
630
  }
625
631
  const te = (t) => {
626
632
  let e;
627
- if (ae(t)) {
628
- const i = t.orderOptions?.data?.orderByX ?? [""], r = t.orderOptions?.data?.orderByY ?? [""], a = t.axes?.[0]?.valueFormat?.type === "category" ? V.Category : V.YValue, s = t.axes?.[1]?.valueFormat?.type === "category" ? V.Category : V.YValue;
629
- e = [pe(i, a), pe(r, s)];
633
+ if (re(t)) {
634
+ const s = t.orderOptions?.data?.orderByX ?? [""], r = t.orderOptions?.data?.orderByY ?? [""], a = t.axes?.[0]?.valueFormat?.type === "category" ? q.Category : q.YValue, i = t.axes?.[1]?.valueFormat?.type === "category" ? q.Category : q.YValue;
635
+ e = [ye(s, a), ye(r, i)];
630
636
  } else {
631
- const i = t.orderOptions?.data?.orderType ?? V.Category, r = t.orderOptions?.data && "orderBy" in t.orderOptions.data ? t.orderOptions.data.orderBy : Le.Ascending;
632
- e = [gt(r, i)];
637
+ const s = t.orderOptions?.data?.orderType ?? q.Category, r = t.orderOptions?.data && "orderBy" in t.orderOptions.data ? t.orderOptions.data.orderBy : tt.Ascending;
638
+ e = [Je(r, s)];
633
639
  }
634
640
  return e;
635
641
  };
636
- function kt(t) {
637
- const { xAxisField: e, numericFields: i, aggregationType: r, config: a, layerInfo: s, commonStrings: l } = t, { layerFieldsInfo: o } = s;
642
+ function Rt(t) {
643
+ const { xAxisField: e, numericFields: s, aggregationType: r, config: a, layerInfo: i, commonStrings: n } = t, { layerFieldsInfo: o } = i;
638
644
  let c = !1;
639
- const m = E({
645
+ const m = M({
640
646
  config: a,
641
647
  xAxisField: e,
642
648
  aggregationType: r,
643
- layerInfo: s,
649
+ layerInfo: i,
644
650
  seriesIndex: 0,
645
- commonStrings: l
646
- }), h = Q({
651
+ commonStrings: n
652
+ }), h = U({
647
653
  config: a,
648
654
  xAxisField: e,
649
- numericFields: i,
655
+ numericFields: s,
650
656
  aggregationType: r,
651
- layer: s.layer,
657
+ layer: i.layer,
652
658
  fieldList: o
653
- }).name, n = {
659
+ }).name, l = {
654
660
  ...m,
655
661
  id: `series_${Date.now()}`,
656
- name: l.axisLabels.values,
657
- x: J,
662
+ name: n.axisLabels.values,
663
+ x: Z,
658
664
  y: h
659
665
  }, g = [];
660
- for (const d of i)
666
+ for (const d of s)
661
667
  g.push({
662
668
  onStatisticField: d,
663
669
  outStatisticFieldName: `${d}_0`.toUpperCase(),
664
670
  statisticType: r
665
671
  });
666
- n.query = { outStatistics: g };
672
+ l.query = { outStatistics: g };
667
673
  const y = a.series[0];
668
- return y !== void 0 && (n.id = y.id, (C(n) && C(y) || b(n) && b(y)) && $(n, y), a.colorMatch || (k(y) && k(n) ? n.fillSymbol = y.fillSymbol : (C(n) && C(y) || b(n) && b(y)) && (n.lineSymbol = y.lineSymbol, n.markerSymbol = y.markerSymbol), c = !0), n.id = y.id, y.name !== m.name && (n.name = y.name)), a.series.length === 1 && ((C(n) || b(n)) && $(n, a.series[0]), a.colorMatch || (k(n) ? n.fillSymbol = a.series[0].fillSymbol : (C(n) || b(n)) && (n.lineSymbol = a.series[0].lineSymbol, n.markerSymbol = a.series[0].markerSymbol), c = !0)), a.colorMatch = !c, [n];
674
+ return y !== void 0 && (l.id = y.id, (C(l) && C(y) || b(l) && b(y)) && $(l, y), a.colorMatch || (R(y) && R(l) ? l.fillSymbol = y.fillSymbol : (C(l) && C(y) || b(l) && b(y)) && (l.lineSymbol = y.lineSymbol, l.markerSymbol = y.markerSymbol), c = !0), l.id = y.id, y.name !== m.name && (l.name = y.name)), a.series.length === 1 && ((C(l) || b(l)) && $(l, a.series[0]), a.colorMatch || (R(l) ? l.fillSymbol = a.series[0].fillSymbol : (C(l) || b(l)) && (l.lineSymbol = a.series[0].lineSymbol, l.markerSymbol = a.series[0].markerSymbol), c = !0)), a.colorMatch = !c, [l];
669
675
  }
670
676
  function Ce(t) {
671
- const { xAxisField: e, numericFields: i, aggregationType: r, config: a, layerInfo: s, commonStrings: l } = t, { layerFieldsInfo: o } = s, c = X(s.layer).idField, m = [];
677
+ const { xAxisField: e, numericFields: s, aggregationType: r, config: a, layerInfo: i, commonStrings: n } = t, { layerFieldsInfo: o } = i, c = Y(i.layer).idField, m = [];
672
678
  let h = !1;
673
- for (let u = 0; u < i.length; u += 1) {
674
- const f = E({
679
+ for (let u = 0; u < s.length; u += 1) {
680
+ const f = M({
675
681
  config: a,
676
682
  xAxisField: e,
677
683
  aggregationType: r,
678
- layerInfo: s,
684
+ layerInfo: i,
679
685
  seriesIndex: u,
680
- commonStrings: l
681
- }), x = Q({
686
+ commonStrings: n
687
+ }), T = U({
682
688
  config: a,
683
689
  xAxisField: e,
684
- numericFields: i,
690
+ numericFields: s,
685
691
  aggregationType: r,
686
- layer: s.layer,
692
+ layer: i.layer,
687
693
  numericFieldIndex: u,
688
694
  fieldList: o
689
- }).name, S = i[u];
695
+ }).name, S = s[u];
690
696
  let p = {
691
697
  ...f,
692
698
  query: {
693
699
  ...f.query
694
700
  }
695
701
  };
696
- i && S !== c && (p = {
702
+ s && S !== c && (p = {
697
703
  ...p,
698
704
  id: S,
699
- name: w(o, S)
705
+ name: D(o, S)
700
706
  });
701
- let q = S;
702
- p.query !== void 0 && (r !== L.NoAggregation ? (q = x, p.query.outStatistics = [
707
+ let V = S;
708
+ p.query !== void 0 && (r !== L.NoAggregation ? (V = T, p.query.outStatistics = [
703
709
  {
704
710
  ...f.query?.outStatistics?.[0] ?? {},
705
711
  onStatisticField: S,
706
- outStatisticFieldName: x,
712
+ outStatisticFieldName: T,
707
713
  statisticType: r
708
714
  }
709
- ]) : delete p.query.outStatistics), p.y = q;
710
- const T = a.series.find(
715
+ ]) : delete p.query.outStatistics), p.y = V;
716
+ const x = a.series.find(
711
717
  (A) => A.query?.outStatistics?.[0]?.onStatisticField === S && A.query.where === void 0 || A.query?.outStatistics === void 0 && (A.y === S || A.x === S)
712
718
  );
713
- if (T !== void 0 && typeof T.y == "string" && T.y.trim() !== "") {
714
- (C(p) && C(T) || b(p) && b(T)) && $(p, T), a.colorMatch || (k(p) && k(T) ? p.fillSymbol = T.fillSymbol : (C(p) && C(T) || b(p) && b(T)) && (p.lineSymbol = T.lineSymbol, p.markerSymbol = T.markerSymbol), h = !0);
715
- const A = E({
719
+ if (x !== void 0 && typeof x.y == "string" && x.y.trim() !== "") {
720
+ (C(p) && C(x) || b(p) && b(x)) && $(p, x), a.colorMatch || (R(p) && R(x) ? p.fillSymbol = x.fillSymbol : (C(p) && C(x) || b(p) && b(x)) && (p.lineSymbol = x.lineSymbol, p.markerSymbol = x.markerSymbol), h = !0);
721
+ const A = M({
716
722
  config: a,
717
723
  xAxisField: e,
718
724
  aggregationType: r,
719
- layerInfo: s,
725
+ layerInfo: i,
720
726
  seriesIndex: u,
721
- commonStrings: l
727
+ commonStrings: n
722
728
  });
723
- p.id = T.id, T.id !== A.id && T.name !== A.name && (p.id = T.id, p.name = T.name), p.assignToSecondValueAxis = T.assignToSecondValueAxis, p.type === I.HeatSeries && T.type === I.HeatSeries && (p.y = T.y, p.heatRulesType = T.heatRulesType);
729
+ p.id = x.id, x.id !== A.id && x.name !== A.name && (p.id = x.id, p.name = x.name), p.assignToSecondValueAxis = x.assignToSecondValueAxis, p.type === I.HeatSeries && x.type === I.HeatSeries && (p.y = x.y, p.heatRulesType = x.heatRulesType);
724
730
  }
725
731
  m.push(p);
726
732
  }
727
- const n = m.filter((u) => k(u)), g = m.filter(
733
+ const l = m.filter((u) => R(u)), g = m.filter(
728
734
  (u) => C(u) || b(u)
729
- ), y = a.series.filter((u) => k(u)), d = a.series.filter(
735
+ ), y = a.series.filter((u) => R(u)), d = a.series.filter(
730
736
  (u) => C(u) || b(u)
731
737
  );
732
- return y.length === 1 && n.length === 1 && !a.colorMatch && (k(y[0]) && k(n[0]) && (n[0].fillSymbol = y[0].fillSymbol), h = !0), d.length === 1 && g.length === 1 && ((C(d[0]) && C(g[0]) || b(d[0]) && b(g[0])) && $(g[0], d[0]), a.colorMatch || ((C(d[0]) && C(g[0]) || b(d[0]) && b(g[0])) && (g[0].lineSymbol = d[0].lineSymbol, g[0].markerSymbol = d[0].markerSymbol), h = !0)), a.colorMatch = !h, m;
738
+ return y.length === 1 && l.length === 1 && !a.colorMatch && (R(y[0]) && R(l[0]) && (l[0].fillSymbol = y[0].fillSymbol), h = !0), d.length === 1 && g.length === 1 && ((C(d[0]) && C(g[0]) || b(d[0]) && b(g[0])) && $(g[0], d[0]), a.colorMatch || ((C(d[0]) && C(g[0]) || b(d[0]) && b(g[0])) && (g[0].lineSymbol = d[0].lineSymbol, g[0].markerSymbol = d[0].markerSymbol), h = !0)), a.colorMatch = !h, m;
733
739
  }
734
- function hs(t) {
735
- const { aggregationType: e, config: i, layerInfo: r, commonStrings: a } = t, { layerFieldsInfo: s, layer: l } = r, o = M(i), c = _(i), m = z(i, r, a), h = be(i, r, a);
736
- if (i.series.forEach((n, g) => {
737
- const y = Q({
738
- config: i,
740
+ function si(t) {
741
+ const { aggregationType: e, config: s, layerInfo: r, commonStrings: a } = t, { layerFieldsInfo: i, layer: n } = r, o = E(s), c = z(s), m = G(s, r, a), h = be(s, r, a);
742
+ if (s.series.forEach((l, g) => {
743
+ const y = U({
744
+ config: s,
739
745
  xAxisField: o,
740
746
  numericFields: c,
741
747
  aggregationType: e,
742
- layer: l,
748
+ layer: n,
743
749
  seriesIndex: g,
744
750
  numericFieldIndex: g,
745
- fieldList: s
751
+ fieldList: i
746
752
  }).name;
747
- e !== L.NoAggregation ? (n.y = y, n.query = {
748
- ...n.query,
753
+ e !== L.NoAggregation ? (l.y = y, l.query = {
754
+ ...l.query,
749
755
  outStatistics: [
750
756
  {
751
- ...n.query?.outStatistics?.[0],
757
+ ...l.query?.outStatistics?.[0],
752
758
  outStatisticFieldName: y,
753
759
  statisticType: e,
754
- onStatisticField: n.query?.outStatistics?.[0]?.onStatisticField ?? c[g]
760
+ onStatisticField: l.query?.outStatistics?.[0]?.onStatisticField ?? c[g]
755
761
  }
756
762
  ]
757
- }) : (delete n.query?.outStatistics, n.y = c[g]);
758
- }), m && i.title && (i.title.content.text = Y(i, r, a)), h && i.series[0].type !== I.HeatSeries) {
759
- const n = re({
760
- config: i,
763
+ }) : (delete l.query?.outStatistics, l.y = c[g]);
764
+ }), m && s.title && (s.title.content.text = X(s, r, a)), h && s.series[0].type !== I.HeatSeries) {
765
+ const l = ie({
766
+ config: s,
761
767
  layerInfo: r,
762
768
  commonStrings: a,
763
769
  numericFields: c,
764
770
  aggregationType: e
765
771
  });
766
- P(i, 1, n);
772
+ P(s, 1, l);
767
773
  }
768
774
  }
769
- function Dt(t) {
775
+ function Ot(t) {
770
776
  const {
771
777
  splitByField: e,
772
- xAxisField: i,
778
+ xAxisField: s,
773
779
  numericFields: r,
774
780
  aggregationType: a,
775
- config: s,
776
- layerInfo: l,
781
+ config: i,
782
+ layerInfo: n,
777
783
  commonStrings: o,
778
784
  splitByFieldInfos: c
779
- } = t, { layer: m, layerFieldsInfo: h } = l, { categoriesArray: n, splitByFieldType: g } = c, y = r.length === 0 ? X(m).idField : r[0];
785
+ } = t, { layer: m, layerFieldsInfo: h } = n, { categoriesArray: l, splitByFieldType: g } = c, y = r.length === 0 ? Y(m).idField : r[0];
780
786
  let d = [], u = !1;
781
- if (n.length === 0) {
787
+ if (l.length === 0) {
782
788
  d = Ce({
783
- xAxisField: i,
789
+ xAxisField: s,
784
790
  numericFields: r,
785
791
  aggregationType: a,
786
- config: s,
787
- layerInfo: l,
792
+ config: i,
793
+ layerInfo: n,
788
794
  commonStrings: o
789
795
  });
790
796
  for (const f of d)
791
797
  f.query && (f.query.where = `${e}=''`);
792
798
  } else
793
- for (let f = 0; f < n.length; f += 1) {
794
- const x = n[f], S = Q({
795
- config: s,
796
- xAxisField: i,
799
+ for (let f = 0; f < l.length; f += 1) {
800
+ const T = l[f], S = U({
801
+ config: i,
802
+ xAxisField: s,
797
803
  numericFields: r,
798
804
  aggregationType: a,
799
- layer: l.layer,
805
+ layer: n.layer,
800
806
  seriesIndex: f,
801
807
  splitByField: e,
802
808
  fieldList: h
803
- }).name, p = E({
804
- config: s,
805
- xAxisField: i,
809
+ }).name, p = M({
810
+ config: i,
811
+ xAxisField: s,
806
812
  aggregationType: a,
807
- layerInfo: l,
813
+ layerInfo: n,
808
814
  seriesIndex: f,
809
815
  commonStrings: o
810
- }), q = Se({
811
- queryObject: l.layer,
816
+ }), V = Se({
817
+ queryObject: n.layer,
812
818
  fieldName: e,
813
- fieldValue: x ?? ""
814
- }), T = `${x}`, F = {
819
+ fieldValue: T ?? ""
820
+ }), x = `${T}`, F = {
815
821
  ...p,
816
- id: T,
817
- name: q ?? T,
822
+ id: x,
823
+ name: V ?? x,
818
824
  y: S,
819
825
  query: {
820
826
  ...p.query,
821
- where: `${e}=${g === Ne.String && x !== null ? `'${x}'` : x}`,
827
+ where: `${e}=${g === St.String && T !== null ? `'${T}'` : T}`,
822
828
  outStatistics: a !== L.NoAggregation ? [
823
829
  {
824
830
  ...p.query?.outStatistics?.[0] ?? {},
@@ -830,78 +836,78 @@ function Dt(t) {
830
836
  }
831
837
  };
832
838
  a === L.NoAggregation && (F.query !== void 0 && (delete F.query.outStatistics, delete F.query.groupByFieldsForStatistics), F.y = y);
833
- const v = s.series.find(
834
- (B) => String(xe(B)).trim().replace(/'/gu, "") === T
839
+ const v = i.series.find(
840
+ (B) => String(Te(B)).trim().replace(/'/gu, "") === x
835
841
  );
836
- v !== void 0 && ((C(F) && C(v) || b(F) && b(v)) && $(F, v), s.colorMatch || (k(F) && k(v) ? F.fillSymbol = v.fillSymbol : (C(F) && C(v) || b(F) && b(v)) && (F.lineSymbol = v.lineSymbol, F.markerSymbol = v.markerSymbol), u = !0), F.id = v.id, F.name = v.name, F.assignToSecondValueAxis = v.assignToSecondValueAxis), F.query && (F.query.fetchNullValues = s.series.some((B) => B.query?.fetchNullValues)), d.push(F);
842
+ v !== void 0 && ((C(F) && C(v) || b(F) && b(v)) && $(F, v), i.colorMatch || (R(F) && R(v) ? F.fillSymbol = v.fillSymbol : (C(F) && C(v) || b(F) && b(v)) && (F.lineSymbol = v.lineSymbol, F.markerSymbol = v.markerSymbol), u = !0), F.id = v.id, F.name = v.name, F.assignToSecondValueAxis = v.assignToSecondValueAxis), F.query && (F.query.fetchNullValues = i.series.some((B) => B.query?.fetchNullValues)), d.push(F);
837
843
  }
838
- return s.colorMatch = !u, d;
844
+ return i.colorMatch = !u, d;
839
845
  }
840
- const Ts = (t) => {
846
+ const ii = (t) => {
841
847
  const {
842
848
  xAxisFieldName: e,
843
- splitByField: i,
849
+ splitByField: s,
844
850
  numericFields: r,
845
851
  aggregationType: a,
846
- config: s,
847
- layerInfo: l,
852
+ config: i,
853
+ layerInfo: n,
848
854
  commonStrings: o,
849
855
  splitByFieldInfos: c
850
- } = t, { layerFieldsInfo: m } = l ?? {}, h = ft(s), n = M(s), g = m.find((B) => B.name === n), y = s.series[0]?.query === void 0, d = m.find((B) => B.name === e), u = z(s, l, o), f = be(s, l, o), x = wt(s, l);
851
- let S = he(s);
852
- const p = s.series.some((B) => k(B)), q = ct(s.series), T = dt(s.series), A = ae(s), F = {};
853
- A && (F.classBreaksRules = s.series[0]?.classBreaksRules, F.xTemporalBinning = s.series[0]?.xTemporalBinning, F.yTemporalBinning = s.series[0]?.yTemporalBinning, F.emptyCells = s.series[0]?.emptyCells, F.nullPolicy = s.nullPolicy);
856
+ } = t, { layerFieldsInfo: m } = n ?? {}, h = gt(i), l = E(i), g = m.find((B) => B.name === l), y = i.series[0]?.query === void 0, d = m.find((B) => B.name === e), u = G(i, n, o), f = be(i, n, o), T = Dt(i, n);
857
+ let S = fe(i);
858
+ const p = i.series.some((B) => R(B)), V = at(i.series), x = rt(i.series), A = re(i), F = {};
859
+ A && (F.classBreaksRules = i.series[0]?.classBreaksRules, F.xTemporalBinning = i.series[0]?.xTemporalBinning, F.yTemporalBinning = i.series[0]?.yTemporalBinning, F.emptyCells = i.series[0]?.emptyCells, F.nullPolicy = i.nullPolicy);
854
860
  let v = !1;
855
- if (at(d) ? S = de() : !ue(g) && ue(d) ? S = ye() : !K(g) && K(d) ? (S = ye(), v = !0) : K(g) && !K(d) && (p ? S = de() : S = ut(), v = !0), S !== void 0 && mt(s, o, S), h === 0 && (s.series = [
856
- E({ config: s, xAxisField: e, aggregationType: a, layerInfo: l, commonStrings: o })
857
- ]), s.series.forEach((B) => {
861
+ if (Ze(d) ? S = ge() : !ce(g) && ce(d) ? S = pe() : !j(g) && j(d) ? (S = pe(), v = !0) : j(g) && !j(d) && (p ? S = ge() : S = mt(), v = !0), S !== void 0 && Le(i, o, S), h === 0 && (i.series = [
862
+ M({ config: i, xAxisField: e, aggregationType: a, layerInfo: n, commonStrings: o })
863
+ ]), i.series.forEach((B) => {
858
864
  B.x = e, B.query !== void 0 && (B.query.groupByFieldsForStatistics = [e]);
859
- }), i === "" || r.length > 1 ? Te({
865
+ }), s === "" || r.length > 1 ? Fe({
860
866
  fieldName: e,
861
867
  numericFields: r,
862
868
  fieldList: m
863
- }) ? s.series = kt({
864
- config: s,
865
- layerInfo: l,
869
+ }) ? i.series = Rt({
870
+ config: i,
871
+ layerInfo: n,
866
872
  xAxisField: e,
867
873
  numericFields: r,
868
874
  aggregationType: a,
869
875
  commonStrings: o
870
- }) : s.series = Ce({
871
- config: s,
872
- layerInfo: l,
876
+ }) : i.series = Ce({
877
+ config: i,
878
+ layerInfo: n,
873
879
  xAxisField: e,
874
880
  numericFields: r,
875
881
  aggregationType: a,
876
882
  commonStrings: o
877
- }) : c && (s.series = Dt({
878
- config: s,
879
- layerInfo: l,
880
- splitByField: i,
883
+ }) : c && (i.series = Ot({
884
+ config: i,
885
+ layerInfo: n,
886
+ splitByField: s,
881
887
  xAxisField: e,
882
888
  numericFields: r,
883
889
  aggregationType: a,
884
890
  commonStrings: o,
885
891
  splitByFieldInfos: c
886
- })), x && s.series[0].type !== I.HeatSeries) {
887
- const B = w(m, e);
888
- P(s, 0, B);
892
+ })), T && i.series[0].type !== I.HeatSeries) {
893
+ const B = D(m, e);
894
+ P(i, 0, B);
889
895
  }
890
- if (f && s.series[0].type !== I.HeatSeries) {
891
- const B = re({
892
- config: s,
893
- layerInfo: l,
896
+ if (f && i.series[0].type !== I.HeatSeries) {
897
+ const B = ie({
898
+ config: i,
899
+ layerInfo: n,
894
900
  commonStrings: o,
895
901
  numericFields: r,
896
902
  aggregationType: a
897
903
  });
898
- P(s, 1, B);
904
+ P(i, 1, B);
899
905
  }
900
- if (u && s.title && (s.title.content.text = Y(s, l, o)), N({ config: s, value: null, axisIndex: 1, isMax: !1 }), N({ config: s, value: null, axisIndex: 1, isMax: !0 }), Ot({ numericFields: r, aggregationType: a, config: s, layerInfo: l }), (q || T) && (N({ config: s, value: null, axisIndex: 0, isMax: !1 }), N({ config: s, value: null, axisIndex: 0, isMax: !0 }), v)) {
901
- const B = S?.type === I.DateAxisFormat ? j.Null : j.Interpolate;
902
- Tt(B, s);
906
+ if (u && i.title && (i.title.content.text = X(i, n, o)), N({ config: i, value: null, axisIndex: 1, isMax: !1 }), N({ config: i, value: null, axisIndex: 1, isMax: !0 }), kt({ numericFields: r, aggregationType: a, config: i, layerInfo: n }), (V || x) && (N({ config: i, value: null, axisIndex: 0, isMax: !1 }), N({ config: i, value: null, axisIndex: 0, isMax: !0 }), v)) {
907
+ const B = S?.type === I.DateAxisFormat ? H.Null : H.Interpolate;
908
+ xt(B, i);
903
909
  }
904
- A && (s.series[0].classBreaksRules = F.classBreaksRules, s.series[0].xTemporalBinning = F.xTemporalBinning, s.series[0].yTemporalBinning = F.yTemporalBinning, s.series[0].emptyCells = F.emptyCells, s.nullPolicy = F.nullPolicy), y && s.series.forEach((B) => {
910
+ A && (i.series[0].classBreaksRules = F.classBreaksRules, i.series[0].xTemporalBinning = F.xTemporalBinning, i.series[0].yTemporalBinning = F.yTemporalBinning, i.series[0].emptyCells = F.emptyCells, i.nullPolicy = F.nullPolicy), y && i.series.forEach((B) => {
905
911
  delete B.query;
906
912
  });
907
913
  }, $ = (t, e) => {
@@ -909,146 +915,150 @@ const Ts = (t) => {
909
915
  ...e.markerSymbol,
910
916
  color: t.markerSymbol?.color
911
917
  });
912
- }, xs = (t) => {
913
- const { config: e, seriesIndex: i, layerInfo: r, commonStrings: a } = t, s = e.series?.[i], l = le(e);
918
+ }, ai = (t) => {
919
+ const { config: e, seriesIndex: s, layerInfo: r, commonStrings: a } = t, i = e.series?.[s], n = ne(e);
914
920
  let o;
915
- if (W(e.series) === D.BarAndLineFromFields)
921
+ if (W(e.series) === O.BarAndLineFromFields)
916
922
  o = a.axisLabels.values;
917
- else if (Ae(l)) {
918
- const m = s.query?.outStatistics?.[0]?.onStatisticField;
919
- m !== void 0 && m !== X(r.layer).idField && (o = w(r.layerFieldsInfo, m));
923
+ else if (Ae(n)) {
924
+ const m = i.query?.outStatistics?.[0]?.onStatisticField;
925
+ m !== void 0 && m !== Y(r.layer).idField && (o = D(r.layerFieldsInfo, m));
920
926
  } else {
921
- const m = String(xe(s)).trim().replace(/'/gu, "");
927
+ const m = String(Te(i)).trim().replace(/'/gu, "");
922
928
  o = Se({
923
929
  queryObject: r.layer,
924
- fieldName: l,
930
+ fieldName: n,
925
931
  fieldValue: m ?? ""
926
932
  }) ?? m;
927
933
  }
928
- return o ?? s.id;
929
- }, Bs = (t, e) => {
930
- if (ae(e))
931
- Vt(t, e);
934
+ return o ?? i.id;
935
+ }, ri = (t, e) => {
936
+ if (re(e))
937
+ qt(t, e);
932
938
  else {
933
939
  e.orderOptions ??= {};
934
- const i = e.orderOptions?.data?.orderType;
935
- te(e)[0] === ee.customSort && i === V.Category && (e.orderOptions.data = {
936
- orderType: V.Category,
940
+ const s = e.orderOptions?.data?.orderType;
941
+ te(e)[0] === _.customSort && s === q.Category && (e.orderOptions.data = {
942
+ orderType: q.Category,
937
943
  orderBy: [...t]
938
944
  });
939
945
  }
940
- }, Cs = async (t) => {
941
- const { config: e, layerInfo: i, errorStrings: r } = t, a = M(e), s = he(e)?.type, l = _(e), o = W(e.series);
946
+ }, li = async (t) => {
947
+ const { config: e, layerInfo: s, errorStrings: r } = t, a = E(e), i = fe(e)?.type, n = z(e), o = W(e.series);
942
948
  let c = [];
943
- return s === I.CategoryAxisFormat && (o === D.BarAndLineFromFields || a === J ? c = l.map((m) => w(i?.layerFieldsInfo, m)) : a.trim() !== "" && a !== J && i !== void 0 && (c = await yt({
944
- layerInfo: i,
949
+ return i === I.CategoryAxisFormat && (o === O.BarAndLineFromFields || a === Z ? c = n.map((m) => D(s?.layerFieldsInfo, m)) : a.trim() !== "" && a !== Z && s !== void 0 && (c = await Ie({
950
+ layerInfo: s,
945
951
  config: e,
946
952
  category: a,
947
953
  errorStrings: r
948
954
  }))), c;
949
955
  };
950
- function z(t, e, i) {
951
- const r = Y(t, e, i), a = St(t), s = U(t);
952
- return r === a || s;
956
+ function G(t, e, s) {
957
+ const r = X(t, e, s), a = pt(t), i = Q(t);
958
+ return r === a || i;
953
959
  }
954
- function be(t, e, i) {
955
- const r = re({
960
+ function be(t, e, s) {
961
+ const r = ie({
956
962
  config: t,
957
963
  layerInfo: e,
958
- commonStrings: i,
959
- numericFields: _(t),
964
+ commonStrings: s,
965
+ numericFields: z(t),
960
966
  aggregationType: Be(t)
961
- }), a = ne(1, t), s = U(t);
962
- return r === a || s;
967
+ }), a = le(1, t), i = Q(t);
968
+ return r === a || i;
963
969
  }
964
- function wt(t, e) {
965
- const i = w(e.layerFieldsInfo, M(t)), r = ne(0, t), a = U(t);
966
- return i === r || a;
970
+ function Dt(t, e) {
971
+ const s = D(e.layerFieldsInfo, E(t)), r = le(0, t), a = Q(t);
972
+ return s === r || a;
967
973
  }
968
- function bs(t) {
969
- return O(t.series[0]) ? t.series[0].binTemporalData ?? !0 : !1;
974
+ function ni(t) {
975
+ return k(t.series[0]) ? t.series[0].binTemporalData ?? !0 : !1;
970
976
  }
971
- function As(t, e) {
972
- e?.series.forEach((i) => {
973
- (i?.type === I.BarSeries || i?.type === I.LineSeries) && (i.binTemporalData = t, t ? i.temporalBinning = {
974
- unit: G.Day,
977
+ function oi(t, e) {
978
+ e?.series.forEach((s) => {
979
+ (s?.type === I.BarSeries || s?.type === I.LineSeries) && (s.binTemporalData = t, t ? s.temporalBinning = {
980
+ unit: J.Day,
975
981
  size: 0,
976
- timeAggregationType: qe.Start,
982
+ timeAggregationType: st.Start,
977
983
  trimIncompleteTimeInterval: !0,
978
- nullPolicy: j.Null
979
- } : delete i.temporalBinning);
984
+ nullPolicy: H.Null
985
+ } : delete s.temporalBinning);
980
986
  });
981
987
  }
982
988
  export {
983
- vi as $,
984
- Ei as A,
985
- Zi as B,
986
- Ji as C,
987
- es as D,
988
- ts as E,
989
- Gi as F,
990
- zi as G,
991
- is as H,
992
- Nt as I,
993
- ss as J,
994
- as as K,
995
- te as L,
996
- rs as M,
997
- ns as N,
998
- ls as O,
999
- os as P,
1000
- Fs as Q,
1001
- Ss as R,
1002
- us as S,
1003
- cs as T,
1004
- Ti as U,
1005
- ht as V,
1006
- Ft as W,
1007
- bi as X,
1008
- xi as Y,
1009
- Ai as Z,
1010
- Bi as _,
1011
- _ as a,
1012
- Ci as a0,
1013
- Tt as a1,
1014
- Ii as a2,
1015
- hs as a3,
1016
- Cs as a4,
1017
- Bs as a5,
1018
- Ts as a6,
1019
- bs as a7,
1020
- As as a8,
1021
- ki as a9,
1022
- Oi as aa,
1023
- Ni as ab,
1024
- Vi as ac,
1025
- Li as ad,
1026
- qi as ae,
1027
- xt as af,
1028
- Di as ag,
1029
- le as b,
1030
- xs as c,
1031
- Y as d,
1032
- qt as e,
1033
- ds as f,
989
+ is as $,
990
+ Is as A,
991
+ Ss as B,
992
+ fs as C,
993
+ hs as D,
994
+ Fs as E,
995
+ Ns as F,
996
+ ks as G,
997
+ Rs as H,
998
+ Os as I,
999
+ qs as J,
1000
+ Vs as K,
1001
+ Ds as L,
1002
+ Nt as M,
1003
+ ws as N,
1004
+ Ps as O,
1005
+ te as P,
1006
+ Es as Q,
1007
+ Ms as R,
1008
+ $s as S,
1009
+ Ws as T,
1010
+ _s as U,
1011
+ Gs as V,
1012
+ Ys as W,
1013
+ Xs as X,
1014
+ Jt as Y,
1015
+ ht as Z,
1016
+ Ft as _,
1017
+ z as a,
1018
+ es as a0,
1019
+ as as a1,
1020
+ ts as a2,
1021
+ rs as a3,
1022
+ ss as a4,
1023
+ xt as a5,
1024
+ ls as a6,
1025
+ si as a7,
1026
+ li as a8,
1027
+ ri as a9,
1028
+ ii as aa,
1029
+ ni as ab,
1030
+ oi as ac,
1031
+ ys as ad,
1032
+ ds as ae,
1033
+ cs as af,
1034
+ us as ag,
1035
+ ns as ah,
1036
+ os as ai,
1037
+ Tt as aj,
1038
+ ms as ak,
1039
+ ne as b,
1040
+ ai as c,
1041
+ X as d,
1042
+ Vt as e,
1043
+ js as f,
1034
1044
  Be as g,
1035
- ys as h,
1036
- Yi as i,
1037
- Xi as j,
1038
- ji as k,
1039
- Ki as l,
1040
- ms as m,
1041
- gs as n,
1042
- ps as o,
1043
- fs as p,
1044
- wi as q,
1045
- Ri as r,
1046
- Wi as s,
1047
- Ui as t,
1048
- Hi as u,
1049
- _i as v,
1050
- Qi as w,
1051
- Mi as x,
1052
- Pi as y,
1053
- $i as z
1045
+ Hs as h,
1046
+ Bs as i,
1047
+ Ts as j,
1048
+ bs as k,
1049
+ Cs as l,
1050
+ Ks as m,
1051
+ Us as n,
1052
+ Qs as o,
1053
+ zs as p,
1054
+ Zs as q,
1055
+ Js as r,
1056
+ xs as s,
1057
+ ei as t,
1058
+ ti as u,
1059
+ gs as v,
1060
+ ps as w,
1061
+ vs as x,
1062
+ As as y,
1063
+ Ls as z
1054
1064
  };