@arcgis/charts-components 4.34.0-next.112 → 4.34.0-next.114

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 (359) hide show
  1. package/dist/cdn/{XWMHH6NE.js → 24HAPIXG.js} +2 -2
  2. package/dist/cdn/{75ZPOGMM.js → 2A44WZNG.js} +2 -2
  3. package/dist/cdn/{G3X4SSG4.js → 2F4QXXJP.js} +2 -2
  4. package/dist/cdn/2RF37FGZ.js +42 -0
  5. package/dist/cdn/2TMPT4KX.js +4 -0
  6. package/dist/cdn/{O2WEDWVV.js → 2UJ7KV2Q.js} +2 -2
  7. package/dist/cdn/{BCQHMKKI.js → 2Z72F5MU.js} +2 -2
  8. package/dist/cdn/{O7AA3NCK.js → 35SBE2RM.js} +2 -2
  9. package/dist/cdn/{FEKJ3ABC.js → 3A6VOXRP.js} +2 -2
  10. package/dist/cdn/{HQBEYF4Y.js → 3B64QCVY.js} +2 -2
  11. package/dist/cdn/3EYVBT7T.js +4 -0
  12. package/dist/cdn/3UVTMKGW.js +4 -0
  13. package/dist/cdn/3WET77KT.js +4 -0
  14. package/dist/cdn/45IUTPVD.js +4 -0
  15. package/dist/cdn/{7GTQKF2A.js → 4DNWMTUG.js} +2 -2
  16. package/dist/cdn/{URQICVH7.js → 4F73J2LS.js} +1 -1
  17. package/dist/cdn/{HTZL6QKW.js → 4GFU6Q2Y.js} +2 -2
  18. package/dist/cdn/{QYQLXYUT.js → 4LSLU6CF.js} +2 -2
  19. package/dist/cdn/4W7MRZLR.js +4 -0
  20. package/dist/cdn/{VF7ZNAUT.js → 4Y45CDPV.js} +2 -2
  21. package/dist/cdn/{FMIPUAUI.js → 52MFIQFN.js} +2 -2
  22. package/dist/cdn/{4I4SOIJX.js → 5GWVQDUO.js} +2 -2
  23. package/dist/cdn/{QHSYDH3A.js → 5NW7QCJH.js} +2 -2
  24. package/dist/cdn/{EBWEMLO7.js → 5T3OY45K.js} +2 -2
  25. package/dist/cdn/{SR7RL5W2.js → 6ENXSRIS.js} +2 -2
  26. package/dist/cdn/{M65UJVI3.js → 6VHQLN3L.js} +2 -2
  27. package/dist/cdn/{QAV74JBH.js → 6XJ7YLGX.js} +2 -2
  28. package/dist/cdn/{RJ54H6RK.js → 73ZAQUD4.js} +2 -2
  29. package/dist/cdn/{W4WKFYKW.js → 7AJRS4XW.js} +2 -2
  30. package/dist/cdn/{EQ466QHF.js → 7AKSXA4M.js} +2 -2
  31. package/dist/cdn/{VC7ELLEP.js → 7UQ54NEK.js} +2 -2
  32. package/dist/cdn/{HPDODHOM.js → 7YNYHO4V.js} +2 -2
  33. package/dist/cdn/{Q6LQWMQV.js → A2QOQQ24.js} +2 -2
  34. package/dist/cdn/{CADUQZJC.js → A4CE2NNT.js} +2 -2
  35. package/dist/cdn/{E26XH3YH.js → A4ZRPJCY.js} +1 -1
  36. package/dist/cdn/{KPPEXGOH.js → AIQRYRDA.js} +2 -2
  37. package/dist/cdn/{YONVCJTW.js → ALUKSLTO.js} +2 -2
  38. package/dist/cdn/{PYGZWOLF.js → BASTLDPS.js} +2 -2
  39. package/dist/cdn/BKEHY2SH.js +4 -0
  40. package/dist/cdn/{CTROZ3D7.js → BQGGA5Q7.js} +2 -2
  41. package/dist/cdn/{RXVCTR7F.js → BRX6FCE7.js} +2 -2
  42. package/dist/cdn/{VTAU36PV.js → CH6UU3BU.js} +2 -2
  43. package/dist/cdn/{X26FOZK5.js → CHJHZLKJ.js} +2 -2
  44. package/dist/cdn/{BRVDA53F.js → CIOHS2IB.js} +2 -2
  45. package/dist/cdn/CL46NZLX.js +4 -0
  46. package/dist/cdn/{GWD4B6LT.js → CPQLWM6N.js} +2 -2
  47. package/dist/cdn/{XND5QXSE.js → CRB55NAE.js} +2 -2
  48. package/dist/cdn/CYV6M46U.js +4 -0
  49. package/dist/cdn/D6MKPUGU.js +4 -0
  50. package/dist/cdn/{AHHI5MW2.js → DMVAH5RY.js} +2 -2
  51. package/dist/cdn/{MIE5LCQD.js → DSO3GVU5.js} +2 -2
  52. package/dist/cdn/DWWAYWH2.js +4 -0
  53. package/dist/cdn/{IMX3YHC7.js → DZSIMKDR.js} +2 -2
  54. package/dist/cdn/{R4S3UKAA.js → EKV6NZSJ.js} +2 -2
  55. package/dist/cdn/{K4QU63XX.js → ENOQUHWO.js} +2 -2
  56. package/dist/cdn/{6ENKFPJA.js → EWUZ2MVU.js} +2 -2
  57. package/dist/cdn/F6XKLK7S.js +4 -0
  58. package/dist/cdn/{6ZQLPBRN.js → FATERYBK.js} +2 -2
  59. package/dist/cdn/FB3JN4OH.js +4 -0
  60. package/dist/cdn/{YHB556LF.js → FONVESAV.js} +2 -2
  61. package/dist/cdn/{QV4RTCLH.js → FY3QHJLL.js} +2 -2
  62. package/dist/cdn/{YIOKCBNZ.js → FZPD6XMY.js} +2 -2
  63. package/dist/cdn/{ELMF5MPY.js → G2RHKRSI.js} +2 -2
  64. package/dist/cdn/{F4RIOGH6.js → G4CYQTJE.js} +2 -2
  65. package/dist/cdn/{UXFYSPO5.js → G5B2WI7W.js} +2 -2
  66. package/dist/cdn/{CTOQ4WQY.js → G6CHTZFH.js} +2 -2
  67. package/dist/cdn/GCMU7EJA.js +4 -0
  68. package/dist/cdn/{CULWXJ5Q.js → GFSUGABD.js} +2 -2
  69. package/dist/cdn/H4TDA37X.js +4 -0
  70. package/dist/cdn/{TUQ7UZW6.js → H5VBQD3X.js} +2 -2
  71. package/dist/cdn/HFPTP3AC.js +4 -0
  72. package/dist/cdn/HQ4Q4KHD.js +4 -0
  73. package/dist/cdn/{ZE7KL2PU.js → HRYVCRB6.js} +2 -2
  74. package/dist/cdn/{4YA7G5AI.js → I44FVTB7.js} +2 -2
  75. package/dist/cdn/{FCUKMN2L.js → IA76P7V3.js} +2 -2
  76. package/dist/cdn/{KCUL2QHN.js → IPWYUGFB.js} +2 -2
  77. package/dist/cdn/{7TIUTROT.js → ISSZDGZW.js} +2 -2
  78. package/dist/cdn/{DN6WQI7X.js → IWMI3IMZ.js} +2 -2
  79. package/dist/cdn/IZRSSCBC.js +4 -0
  80. package/dist/cdn/{X4W7T2SN.js → JEAKTLAF.js} +2 -2
  81. package/dist/cdn/{WD67B27C.js → JMQ2JX5Q.js} +2 -2
  82. package/dist/cdn/JWHWQZMM.js +4 -0
  83. package/dist/cdn/{EW527LB7.js → K3KRPYSE.js} +2 -2
  84. package/dist/cdn/KA5EKB4T.js +4 -0
  85. package/dist/cdn/KAAEPVF4.js +4 -0
  86. package/dist/cdn/{JUTCF2ZP.js → KOTBU4AA.js} +2 -2
  87. package/dist/cdn/{TNWTCAXN.js → L2JWJCLD.js} +2 -2
  88. package/dist/cdn/{6JWFVPVK.js → LKODRPC7.js} +1 -1
  89. package/dist/cdn/{MDSWQIN2.js → LR5AP6IV.js} +2 -2
  90. package/dist/cdn/{I2HMTDCL.js → LXHKBGB2.js} +2 -2
  91. package/dist/cdn/{TRNK5O3A.js → LZXEGPV5.js} +2 -2
  92. package/dist/cdn/{TNRYOKWX.js → MNCVETO6.js} +2 -2
  93. package/dist/cdn/{AQPHTU22.js → MPOUBWNN.js} +2 -2
  94. package/dist/cdn/{4F5K6KX2.js → MSSHXY2K.js} +1 -1
  95. package/dist/cdn/{PH56PPFP.js → MT2BPK2R.js} +2 -2
  96. package/dist/cdn/{ED7XZ2VG.js → MVDBAUVW.js} +2 -2
  97. package/dist/cdn/{6HOOIBSM.js → MY5KTX52.js} +2 -2
  98. package/dist/cdn/{GOSQHC5D.js → N7QOJ7BZ.js} +2 -2
  99. package/dist/cdn/NBTVGLEC.js +4 -0
  100. package/dist/cdn/NCAYKFW5.js +4 -0
  101. package/dist/cdn/{2RCBQY46.js → NI3RPE5S.js} +2 -2
  102. package/dist/cdn/{27E5XNFA.js → NKR4YHUJ.js} +2 -2
  103. package/dist/cdn/{YID5SKYK.js → NNQVSSFU.js} +2 -2
  104. package/dist/cdn/O5YNMLS7.js +4 -0
  105. package/dist/cdn/{A5PX3HYM.js → OAQLOWJB.js} +2 -2
  106. package/dist/cdn/{EES3RPO4.js → OBLKPBPL.js} +2 -2
  107. package/dist/cdn/{FBH7D26D.js → OFDCZ25W.js} +2 -2
  108. package/dist/cdn/{QKUUA4H6.js → OJ3HJP7X.js} +2 -2
  109. package/dist/cdn/{3UYFGM5Z.js → OJSH2B2E.js} +2 -2
  110. package/dist/cdn/{6CVIYXIM.js → OLF3ES4I.js} +2 -2
  111. package/dist/cdn/{HRER5BGU.js → OLUZ4Z35.js} +2 -2
  112. package/dist/cdn/{MCD4LRQU.js → ONRNN3MI.js} +2 -2
  113. package/dist/cdn/{EEC7R3DN.js → OQOHTIPL.js} +2 -2
  114. package/dist/cdn/{GMK22GMO.js → OXHXO22O.js} +2 -2
  115. package/dist/cdn/{OHEHWEF4.js → PAL5ML34.js} +2 -2
  116. package/dist/cdn/{WD2TBCGQ.js → PEKYNNBG.js} +2 -2
  117. package/dist/cdn/{ILDATC4K.js → PFDTVNI7.js} +2 -2
  118. package/dist/cdn/{ZHLG4CJW.js → PT3WC7YP.js} +2 -2
  119. package/dist/cdn/{BBZJ7R4U.js → PVR32HYV.js} +2 -2
  120. package/dist/cdn/{3674PEAT.js → PWXMZG4O.js} +2 -2
  121. package/dist/cdn/{R7AXZH3T.js → PYYQFXXB.js} +2 -2
  122. package/dist/cdn/{UW3UNZWZ.js → Q7DJG44E.js} +2 -2
  123. package/dist/cdn/{6PZKOOJB.js → QBP2GMFX.js} +2 -2
  124. package/dist/cdn/{6LUTMPHK.js → QLNNWUF7.js} +2 -2
  125. package/dist/cdn/{X6AQDCGB.js → QMFSVFWO.js} +1 -1
  126. package/dist/cdn/{H65DJBE6.js → QNYZKZQO.js} +2 -2
  127. package/dist/cdn/{64MADX24.js → QWCZ5LZM.js} +2 -2
  128. package/dist/cdn/R7VXVOHM.js +4 -0
  129. package/dist/cdn/{MYROUJWW.js → RN7CAPDU.js} +2 -2
  130. package/dist/cdn/{UCDG2EE5.js → RPQSNDQD.js} +2 -2
  131. package/dist/cdn/SBPGLEWK.js +4 -0
  132. package/dist/cdn/{7GTS22FA.js → SLCC75PI.js} +23 -23
  133. package/dist/cdn/{O4B5HRLU.js → SXVKSRSL.js} +2 -2
  134. package/dist/cdn/{65SYWC3T.js → TAPUSP3V.js} +2 -2
  135. package/dist/cdn/{7NJSYCNP.js → TCNEKTGN.js} +2 -2
  136. package/dist/cdn/{74HH54PS.js → TFQTJ4EN.js} +2 -2
  137. package/dist/cdn/{TLUZWL4B.js → TITHCANN.js} +2 -2
  138. package/dist/cdn/{IKIA6HNO.js → TMMH63XM.js} +2 -2
  139. package/dist/cdn/TQS7BGCK.js +4 -0
  140. package/dist/cdn/{I7KJ3UIA.js → TRZDFEQX.js} +2 -2
  141. package/dist/cdn/{45DIBQTO.js → TSW3WHLK.js} +2 -2
  142. package/dist/cdn/{AUWK5P4X.js → TTZGZ7RP.js} +2 -2
  143. package/dist/cdn/{DZT3CXWL.js → TXBEEVVR.js} +2 -2
  144. package/dist/cdn/{3P6YNASY.js → U3X3DW2E.js} +1 -1
  145. package/dist/cdn/U6BPN5UT.js +4 -0
  146. package/dist/cdn/U77F6NBN.js +4 -0
  147. package/dist/cdn/{DGCYLWHI.js → UDHVKHD2.js} +2 -2
  148. package/dist/cdn/{DNLNKATA.js → UDV4QQ5Y.js} +2 -2
  149. package/dist/cdn/{74AAGHE4.js → UH55XHIO.js} +2 -2
  150. package/dist/cdn/{VDHSMWWT.js → UMMEWXW5.js} +2 -2
  151. package/dist/cdn/{XUQ22G7T.js → UXXZIHX4.js} +2 -2
  152. package/dist/cdn/V3REKOWE.js +4 -0
  153. package/dist/cdn/{NDIUY54J.js → VCO64B6W.js} +2 -2
  154. package/dist/cdn/{Z7IAKTYB.js → VKBPJ5SZ.js} +2 -2
  155. package/dist/cdn/VLYK2N2P.js +6 -0
  156. package/dist/cdn/VMJAZD3K.js +4 -0
  157. package/dist/cdn/{ROKBJDEN.js → VUGBVELM.js} +2 -2
  158. package/dist/cdn/{5JOTWTAQ.js → VYJAOXXG.js} +2 -2
  159. package/dist/cdn/{3TSO4SYC.js → WANWXCQC.js} +2 -2
  160. package/dist/cdn/{2OJSVJGK.js → WSVF5A3D.js} +2 -2
  161. package/dist/cdn/{NHSIC2TU.js → WUMOF6BE.js} +2 -2
  162. package/dist/cdn/{ERF4RCDM.js → WZHJLXEU.js} +2 -2
  163. package/dist/cdn/X5NLHJ37.js +4 -0
  164. package/dist/cdn/XJKF7XNS.js +4 -0
  165. package/dist/cdn/XJW2JDGU.js +4 -0
  166. package/dist/cdn/XNWVXQE3.js +4 -0
  167. package/dist/cdn/{WBWL4DBL.js → XOOWI43T.js} +1 -1
  168. package/dist/cdn/{NXH3NS55.js → XPNUQKHQ.js} +2 -2
  169. package/dist/cdn/{UO3VGBJ4.js → XZTXBDAJ.js} +2 -2
  170. package/dist/cdn/Y3UUHQOZ.js +4 -0
  171. package/dist/cdn/{7PDPY5IW.js → Y6EYGWAY.js} +2 -2
  172. package/dist/cdn/{LG35BC2W.js → YALHRYXT.js} +2 -2
  173. package/dist/cdn/{XRY77N6P.js → YUHIG52Y.js} +2 -2
  174. package/dist/cdn/{XBXCJBPG.js → Z3XLB2YP.js} +2 -2
  175. package/dist/cdn/Z45BUD7P.js +4 -0
  176. package/dist/cdn/Z5QL45J7.js +4 -0
  177. package/dist/cdn/ZDATHWL2.js +4 -0
  178. package/dist/cdn/{6ZO45V3G.js → ZESELVP4.js} +2 -2
  179. package/dist/cdn/ZJXW32SS.js +4 -0
  180. package/dist/cdn/{BGW3J4KI.js → ZQDKJMZ2.js} +2 -2
  181. package/dist/cdn/index.js +2 -2
  182. package/dist/cdn/model.js +2 -2
  183. package/dist/cdn/spec.js +2 -2
  184. package/dist/chart-rendering/common/data/utils/query-parser/index.d.ts +1 -3
  185. package/dist/chart-rendering/common/data/utils/summarize-data/time-binning/index.d.ts +2 -0
  186. package/dist/chunks/action-bar-utils.js +1 -1
  187. package/dist/chunks/axis-model-wrapper.js +15 -15
  188. package/dist/chunks/bar-chart-model.js +2 -2
  189. package/dist/chunks/bar-chart-series.js +2 -2
  190. package/dist/chunks/baseline-stacking.js +2 -2
  191. package/dist/chunks/bg_BG.js +1 -1
  192. package/dist/chunks/bg_BG2.js +1 -1
  193. package/dist/chunks/box-plot-data.js +240 -240
  194. package/dist/chunks/box-plot-model.js +17 -17
  195. package/dist/chunks/chart-object-literals.js +33 -56
  196. package/dist/chunks/chart-ui-utils.js +1 -1
  197. package/dist/chunks/chart-ui-utils2.js +1 -1
  198. package/dist/chunks/combo-bar-line-chart-model.js +1 -1
  199. package/dist/chunks/common.js +1 -1
  200. package/dist/chunks/data.js +458 -476
  201. package/dist/chunks/default.js +1 -1
  202. package/dist/chunks/gauge-model.js +3 -3
  203. package/dist/chunks/histogram-data.js +68 -68
  204. package/dist/chunks/histogram-model.js +10 -10
  205. package/dist/chunks/index.js +153 -142
  206. package/dist/chunks/index2.js +1 -1
  207. package/dist/chunks/index3.js +1 -1
  208. package/dist/chunks/index4.js +1 -1
  209. package/dist/chunks/index5.js +1 -1
  210. package/dist/chunks/interfaces.js +1096 -1159
  211. package/dist/chunks/interfaces2.js +1 -1
  212. package/dist/chunks/line-chart-model.js +4 -4
  213. package/dist/chunks/model-with-baseline-stacking.js +2 -2
  214. package/dist/chunks/model-with-data-labels.js +3 -3
  215. package/dist/chunks/{model-with-y-guides.js → model-with-multi-axes.js} +780 -630
  216. package/dist/chunks/model-with-rotation.js +3 -3
  217. package/dist/chunks/pie-chart-data.js +11 -11
  218. package/dist/chunks/pie-chart-model.js +11 -11
  219. package/dist/chunks/popover-ui-utils.js +1 -1
  220. package/dist/chunks/radar-chart-model.js +3 -3
  221. package/dist/chunks/resource.js +1 -1
  222. package/dist/chunks/rest-js-object-literals.js +1 -1
  223. package/dist/chunks/runtime.js +1 -1
  224. package/dist/chunks/scatterplot-model.js +71 -71
  225. package/dist/chunks/serial-chart-model.js +84 -82
  226. package/dist/chunks/series-types.js +1 -1
  227. package/dist/chunks/series.js +2 -2
  228. package/dist/chunks/sk_SK.js +1 -1
  229. package/dist/chunks/store.js +1 -1
  230. package/dist/chunks/type-guards.js +6 -6
  231. package/dist/chunks/useT9n.js +1 -1
  232. package/dist/chunks/web-component-utils.js +3 -3
  233. package/dist/components/arcgis-chart/customElement.js +4039 -4026
  234. package/dist/components/arcgis-charts-action-bar/customElement.js +2 -2
  235. package/dist/components/arcgis-charts-config-axes/customElement.d.ts +2 -2
  236. package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
  237. package/dist/components/arcgis-charts-config-axis/customElement.d.ts +2 -2
  238. package/dist/components/arcgis-charts-config-axis/customElement.js +22 -22
  239. package/dist/components/arcgis-charts-config-axis/utils/axis-model-wrapper.d.ts +6 -6
  240. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +2 -2
  241. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +10 -10
  242. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +5 -5
  243. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +2 -2
  244. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +7 -7
  245. package/dist/components/arcgis-charts-config-box-plot/customElement.js +2 -2
  246. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +36 -36
  247. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +13 -13
  248. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +2 -2
  249. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +13 -13
  250. package/dist/components/arcgis-charts-config-category-format/customElement.js +2 -2
  251. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +3 -3
  252. package/dist/components/arcgis-charts-config-color-style/customElement.js +2 -2
  253. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  254. package/dist/components/arcgis-charts-config-create-flow/customElement.js +21 -21
  255. package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
  256. package/dist/components/arcgis-charts-config-font-style/customElement.js +6 -6
  257. package/dist/components/arcgis-charts-config-format/customElement.js +85 -64
  258. package/dist/components/arcgis-charts-config-format-popover/customElement.js +2 -2
  259. package/dist/components/arcgis-charts-config-general/customElement.js +11 -11
  260. package/dist/components/arcgis-charts-config-guide/customElement.js +25 -25
  261. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
  262. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  263. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +2 -2
  264. package/dist/components/arcgis-charts-config-histogram/customElement.js +2 -2
  265. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +10 -10
  266. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +2 -2
  267. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
  268. package/dist/components/arcgis-charts-config-line-chart/customElement.js +2 -2
  269. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +3 -3
  270. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +7 -7
  271. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +2 -2
  272. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +7 -7
  273. package/dist/components/arcgis-charts-config-line-style/customElement.js +8 -8
  274. package/dist/components/arcgis-charts-config-number-format/customElement.js +7 -7
  275. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +2 -2
  276. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +2 -2
  277. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +6 -6
  278. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
  279. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +3 -3
  280. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +2 -2
  281. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +7 -7
  282. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +5 -5
  283. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +3 -3
  284. package/dist/components/arcgis-charts-config-view-charts/customElement.js +2 -2
  285. package/dist/docs/api.json +3 -3
  286. package/dist/docs/docs.json +5 -5
  287. package/dist/docs/web-types.json +2 -2
  288. package/dist/index.js +1 -1
  289. package/dist/json-schema/index.d.ts +84 -96
  290. package/dist/loader.js +1 -1
  291. package/dist/model/box-plot-model/box-plot-model.d.ts +2 -2
  292. package/dist/model/histogram-model/histogram-model.d.ts +2 -2
  293. package/dist/model/mixins/index.d.ts +1 -1
  294. package/dist/model/mixins/model-with-basic-x-axis.d.ts +2 -2
  295. package/dist/model/mixins/model-with-multi-axes.d.ts +342 -0
  296. package/dist/model/mixins/model-with-temporal-binning.d.ts +5 -5
  297. package/dist/model/mixins/utils/axes.d.ts +55 -43
  298. package/dist/model/mixins/utils/temporal-binning.d.ts +3 -14
  299. package/dist/model/scatterplot-model/scatterplot-model.d.ts +2 -2
  300. package/dist/model/serial-chart-model/serial-chart-model.d.ts +3 -3
  301. package/dist/model/serial-chart-model/utils/serial-chart-series.d.ts +1 -1
  302. package/dist/model/shared/axes.d.ts +120 -51
  303. package/dist/model/shared/type-guards.d.ts +3 -3
  304. package/dist/model.js +13 -13
  305. package/dist/spec/chart-object-literals.d.ts +0 -35
  306. package/dist/spec/web-chart.d.ts +55 -69
  307. package/dist/spec.js +32 -35
  308. package/dist/utils/chart-config/converter/index.d.ts +16 -3
  309. package/dist/utils/chart-config/converter/interfaces.d.ts +42 -1
  310. package/dist/utils/components/config-update.d.ts +1 -1
  311. package/dist/utils/data/time-binning/interfaces.d.ts +2 -2
  312. package/dist/utils/layer/query-features/index.d.ts +2 -2
  313. package/dist/utils/layer/query-parser/index.d.ts +2 -2
  314. package/dist/utils/layer/utils/index.d.ts +1 -1
  315. package/dist/utils/type-guards/series-types.d.ts +2 -2
  316. package/package.json +3 -3
  317. package/dist/cdn/25WLAM57.js +0 -4
  318. package/dist/cdn/2JH4BPVO.js +0 -4
  319. package/dist/cdn/3KSU43OR.js +0 -4
  320. package/dist/cdn/3SE4X4TZ.js +0 -4
  321. package/dist/cdn/5WS5BTVR.js +0 -4
  322. package/dist/cdn/6KQOZPWY.js +0 -4
  323. package/dist/cdn/ASNR55S5.js +0 -4
  324. package/dist/cdn/B75MWHKZ.js +0 -4
  325. package/dist/cdn/BBQ25KZV.js +0 -4
  326. package/dist/cdn/BJOHLR7P.js +0 -4
  327. package/dist/cdn/BTEF7YAO.js +0 -4
  328. package/dist/cdn/CCCV6H6F.js +0 -4
  329. package/dist/cdn/D3F3H53M.js +0 -4
  330. package/dist/cdn/DDXUVQCE.js +0 -4
  331. package/dist/cdn/E7G55LQV.js +0 -4
  332. package/dist/cdn/FE6KTUC4.js +0 -4
  333. package/dist/cdn/FF4ERDW3.js +0 -4
  334. package/dist/cdn/FNQJEYNY.js +0 -4
  335. package/dist/cdn/FR5I4JZB.js +0 -4
  336. package/dist/cdn/H67IACET.js +0 -4
  337. package/dist/cdn/HAB4NLNI.js +0 -4
  338. package/dist/cdn/HHUETOEY.js +0 -4
  339. package/dist/cdn/ISHCMJUO.js +0 -4
  340. package/dist/cdn/K5HJIM7K.js +0 -4
  341. package/dist/cdn/KDPENY5A.js +0 -4
  342. package/dist/cdn/LCHKEYLO.js +0 -4
  343. package/dist/cdn/M5ZQ3OD4.js +0 -4
  344. package/dist/cdn/MFHXXXBA.js +0 -4
  345. package/dist/cdn/MXRMXWDA.js +0 -4
  346. package/dist/cdn/MYKAGNE3.js +0 -4
  347. package/dist/cdn/NKI3Z35T.js +0 -4
  348. package/dist/cdn/PBKUAFPA.js +0 -4
  349. package/dist/cdn/PUQDQ33R.js +0 -4
  350. package/dist/cdn/PXPTMIIC.js +0 -4
  351. package/dist/cdn/SBW3SEJW.js +0 -4
  352. package/dist/cdn/SWN7M5JD.js +0 -6
  353. package/dist/cdn/TDF5UKSN.js +0 -4
  354. package/dist/cdn/TU4RTA33.js +0 -4
  355. package/dist/cdn/XSY6P76J.js +0 -4
  356. package/dist/cdn/Z2G47LLT.js +0 -4
  357. package/dist/cdn/Z34US2MS.js +0 -4
  358. package/dist/cdn/Z3QSPLI3.js +0 -44
  359. package/dist/model/mixins/model-with-xy-axes.d.ts +0 -331
@@ -1,10 +1,10 @@
1
- import { n as ke, a as F, W as f, c as O, d as L, h as K, l as fe, q as $e, i as Ye } from "./chart-object-literals.js";
2
- import { a as be, R as je } from "./rest-js-object-literals.js";
3
- import { defaultBarLineFromFieldsName as X, defaultBarLineFromFieldsValue as Pe, defaultPieFromFieldsValue as Ee } from "../spec.js";
4
- import { cloneDeep as _, capitalize as U, memoize as Te, isEmpty as Me } from "lodash-es";
5
- import { substitute as j } from "@arcgis/core/intl.js";
1
+ import { substitute as k } from "@arcgis/core/intl.js";
2
+ import { cloneDeep as G, capitalize as U, memoize as fe, isEmpty as we } from "lodash-es";
3
+ import { l as Ne, a as F, W as h, c as D, d as I, j as me, h as xe } from "./chart-object-literals.js";
4
+ import { a as Se, R as Ve } from "./rest-js-object-literals.js";
5
+ import { defaultBarLineFromFieldsName as R, defaultBarLineFromFieldsValue as Oe, defaultPieFromFieldsValue as De } from "../spec.js";
6
6
  import "d3-array";
7
- import { a7 as re, c3 as Ue, aO as Ae, c7 as P, ao as Xe, a5 as D, a3 as V, aY as C, a6 as Re, k as W, bY as Ke, cr as M, m as I, b8 as We, bz as he, b9 as le, ba as oe, cb as ze, h as ne, cp as _e, i as Ze, b7 as Ge, q as ce, ar as He, as as Qe, au as Je, b6 as Se, a8 as et, a9 as tt } from "./interfaces.js";
7
+ import { a7 as te, c3 as qe, aO as Fe, c7 as j, ao as Me, a5 as V, a3 as O, aY as L, a6 as $e, k as W, bY as ke, cr as P, m as M, b8 as je, bz as be, b9 as se, ba as ie, cb as Ee, h as ae, cp as Pe, i as Ue, b7 as Re, q as re, ar as Ke, as as We, au as Xe, b6 as ge, a8 as Ye, a9 as ze } from "./interfaces.js";
8
8
  import "@arcgis/core/geometry/support/jsonUtils.js";
9
9
  import "@arcgis/core/rest/support/AttributeBinsQuery.js";
10
10
  import "@arcgis/core/rest/support/Query.js";
@@ -12,244 +12,238 @@ import "@arcgis/core/rest/support/StatisticDefinition.js";
12
12
  import "@arcgis/core/time/TimeExtent.js";
13
13
  import "@arcgis/core/core/promiseUtils.js";
14
14
  import "@arcgis/core/request.js";
15
- import { fetchT9nStringsBundle as de, getElementLocale as ue } from "@arcgis/toolkit/intl";
16
- import { g as ye } from "./runtime.js";
17
- import { q as st, l as w, n as it, o as at, j as B, k as v } from "./index5.js";
15
+ import { fetchT9nStringsBundle as le, getElementLocale as oe } from "@arcgis/toolkit/intl";
16
+ import { g as ne } from "./runtime.js";
17
+ import { q as _e, l as w, n as Ze, o as Ge, j as B, k as C } from "./index5.js";
18
18
  import "@arcgis/toolkit/dom";
19
- import { P as rt, S } from "./common.js";
20
- import { g as J } from "./series-types.js";
21
- import { u as Be } from "./index3.js";
19
+ import { P as Qe, S } from "./common.js";
20
+ import { g as Q } from "./series-types.js";
21
+ import { u as Te } from "./index3.js";
22
22
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
23
23
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
24
- v4.34.0-next.112 */
25
- function Z(t, e, s) {
24
+ v4.34.0-next.114 */
25
+ function Y(t, e, s) {
26
26
  const i = t?.axes?.[e];
27
- i?.title !== void 0 ? i.title.content.text = s : i !== void 0 && (i.title = D({
27
+ i?.title !== void 0 ? i.title.content.text = s : i !== void 0 && (i.title = V({
28
28
  text: s,
29
29
  visible: !0,
30
- font: V(C.AxisTitle)
30
+ font: O(L.AxisTitle)
31
31
  }));
32
32
  }
33
- async function H(t) {
33
+ async function _(t) {
34
34
  const { config: e, layerInfo: s, numericFields: i, aggregationType: a } = t;
35
35
  let r = "";
36
36
  if (e) {
37
- const c = Ue(e) === ke.Stacked100, o = await de(
38
- ue(document.documentElement).t9nLocale,
39
- ye("./assets/common/t9n"),
37
+ const c = qe(e) === Ne.Stacked100, o = await le(
38
+ oe(document.documentElement).t9nLocale,
39
+ ne("./assets/common/t9n"),
40
40
  "messages."
41
41
  );
42
42
  if (c)
43
43
  r = o.utilsStrings.statistics.percent;
44
44
  else {
45
- const y = await Ae(a);
45
+ const y = await Fe(a);
46
46
  if (i.length === 1) {
47
- const l = P(s.layerFieldsInfo, i[0]);
48
- a === F.NoAggregation ? r = l : a === F.Count && i[0] === s.objectIdField ? r = o.utilsStrings.statistics.count : r = j(o.axisLabels.aggregationOfFieldName, {
47
+ const l = j(s.layerFieldsInfo, i[0]);
48
+ a === F.NoAggregation ? r = l : a === F.Count && i[0] === s.objectIdField ? r = o.utilsStrings.statistics.count : r = k(o.axisLabels.aggregationOfFieldName, {
49
49
  aggregation: y,
50
50
  fieldName: l
51
51
  });
52
- } else i.length > 1 && (a === F.NoAggregation ? r = o.axisLabels.values : r = j(o.axisLabels.aggregationOfValues, {
52
+ } else i.length > 1 && (a === F.NoAggregation ? r = o.axisLabels.values : r = k(o.axisLabels.aggregationOfValues, {
53
53
  aggregation: y
54
54
  }));
55
55
  }
56
56
  }
57
57
  return r;
58
58
  }
59
- const ve = async (t, e) => t.axes?.[e] ?? (await Xe(t.type))[e], Ce = (t, e, s) => {
60
- t.axes !== void 0 && (t.axes[s] = e);
61
- }, ee = (t, e, s) => {
62
- let i = Number.NaN;
63
- return s ? i = t.axes?.[e]?.maximum : i = t.axes?.[e]?.minimum, i ?? Number.NaN;
64
- }, te = async (t, e, s, i) => {
65
- const a = t?.axes?.[s];
66
- i && a !== void 0 ? a.maximum = e : !i && a !== void 0 && (a.minimum = e);
67
- }, zt = (t) => ee(t, 1, !0), k = async (t, e) => {
68
- await te(t, e, 1, !0);
69
- }, _t = (t) => ee(t, 1, !1), $ = async (t, e) => {
70
- await te(t, e, 1, !1);
71
- }, Zt = (t) => ee(t, 0, !0), Le = async (t, e) => {
72
- await te(t, e, 0, !0);
73
- }, Gt = (t) => ee(t, 0, !1), we = async (t, e) => {
74
- await te(t, e, 0, !1);
75
- }, lt = (t) => t.axes?.[0]?.valueFormat ?? re(), ot = async (t, e) => {
76
- const s = await ve(t, 0);
59
+ const Ae = async (t, e) => t.axes?.[e] ?? (await Me(t.type))[e], he = (t) => {
60
+ const { config: e, axis: s, axisIndex: i } = t;
61
+ e.axes !== void 0 && (e.axes[i] = s);
62
+ }, Ut = (t) => {
63
+ const { config: e, axisIndex: s, isMax: i } = t;
64
+ let a = Number.NaN;
65
+ return i ? a = e.axes?.[s]?.maximum : a = e.axes?.[s]?.minimum, a ?? Number.NaN;
66
+ }, f = (t) => {
67
+ const { config: e, value: s, axisIndex: i, isMax: a } = t, r = e?.axes?.[i];
68
+ r !== void 0 && (a ? r.maximum = s : r.minimum = s);
69
+ }, Rt = (t, e) => {
70
+ f({ config: t, value: e, axisIndex: 0, isMax: !1 });
71
+ }, He = (t) => t.axes?.[0]?.valueFormat ?? te(), Je = async (t, e) => {
72
+ const s = await Ae(t, 0);
77
73
  if (s !== void 0 && e !== void 0) {
78
74
  const i = {
79
75
  ...s,
80
76
  valueFormat: e
81
77
  };
82
- Ce(t, i, 0);
78
+ he({ config: t, axis: i, axisIndex: 0 });
83
79
  }
84
- }, Ht = (t) => {
85
- let e;
86
- return st(t.axes?.[1]?.valueFormat) && (e = t.axes?.[1]?.valueFormat), e;
87
- }, Qt = async (t, e) => {
88
- const s = await ve(t, 1);
89
- if (s !== void 0 && e !== void 0) {
90
- const i = {
91
- ...s,
92
- valueFormat: e
93
- };
94
- Ce(t, i, 1);
95
- }
96
- }, Fe = (t, e, s) => {
80
+ }, pe = (t, e, s) => {
97
81
  const i = t.axes?.[e];
98
82
  i !== void 0 && (i.integerOnlyValues = s);
99
- }, nt = (t) => t.title?.content.text ?? "", Jt = (t, e) => {
100
- e.title !== void 0 ? e.title.content.text = t : e.title === void 0 && t !== void 0 && (e.title = D({
83
+ }, et = (t) => {
84
+ const e = Q(t.series);
85
+ return e === h.BarSeries || e === h.ComboLineAndBarSeries || e === h.LineSeries;
86
+ }, tt = (t) => {
87
+ const { axisIndex: e, config: s, isMultiAxis: i } = t;
88
+ let a = !1;
89
+ return e === 0 || e === 1 && i ? a = !0 : e === 2 && (a = et(s)), a;
90
+ }, Kt = (t) => {
91
+ const { axisIndex: e, func: s, config: i } = t;
92
+ return tt({ axisIndex: e, config: i, isMultiAxis: !0 }) ? s(e) : void 0;
93
+ }, Wt = (t, e) => {
94
+ let s;
95
+ const i = e.axes?.[t]?.valueFormat;
96
+ return (t === 0 || t >= 1 && _e(i)) && (s = i), s;
97
+ }, Xt = async (t) => {
98
+ const { config: e, valueFormat: s, axisIndex: i = 0 } = t, a = await Ae(e, i);
99
+ if (a !== void 0 && s !== void 0) {
100
+ const r = {
101
+ ...a,
102
+ valueFormat: s
103
+ };
104
+ he({
105
+ config: e,
106
+ axis: r,
107
+ axisIndex: i
108
+ });
109
+ }
110
+ }, Yt = (t, e) => t.axes?.[e]?.isLogarithmic ?? !1, zt = (t) => {
111
+ const { config: e, isLogarithmic: s, axisIndex: i } = t, a = e.axes?.[i];
112
+ a && (a.isLogarithmic = s, f({ config: e, value: null, axisIndex: i, isMax: !0 }), f({ config: e, value: null, axisIndex: i, isMax: !1 }));
113
+ }, _t = (t) => {
114
+ const { config: e, scrollbar: s, axisIndex: i } = t;
115
+ e.axes?.[i] !== void 0 && (e.axes[i].scrollbar = s);
116
+ }, st = (t) => t.title?.content.text ?? "", Zt = (t, e) => {
117
+ e.title !== void 0 ? e.title.content.text = t : e.title === void 0 && t !== void 0 && (e.title = V({
101
118
  text: t,
102
119
  visible: !0,
103
- font: V(C.ChartTitle)
120
+ font: O(L.ChartTitle)
104
121
  }));
105
- }, es = (t) => t.subtitle?.content.text ?? "", ts = (t, e) => {
106
- e.subtitle !== void 0 ? e.subtitle.content.text = t : e.subtitle === void 0 && t !== void 0 && (e.subtitle = D({
122
+ }, Gt = (t) => t.subtitle?.content.text ?? "", Qt = (t, e) => {
123
+ e.subtitle !== void 0 ? e.subtitle.content.text = t : e.subtitle === void 0 && t !== void 0 && (e.subtitle = V({
107
124
  text: t,
108
125
  visible: !0,
109
- font: V(C.ChartSubtitle)
126
+ font: O(L.ChartSubtitle)
110
127
  }));
111
- }, ss = (t) => t.footer?.content.text ?? "", is = (t, e) => {
112
- e.footer !== void 0 ? e.footer.content.text = t : e.footer === void 0 && t !== void 0 && (e.footer = D({
128
+ }, Ht = (t) => t.footer?.content.text ?? "", Jt = (t, e) => {
129
+ e.footer !== void 0 ? e.footer.content.text = t : e.footer === void 0 && t !== void 0 && (e.footer = V({
113
130
  text: t,
114
131
  visible: !0,
115
- font: V(C.DescriptionText)
132
+ font: O(L.DescriptionText)
116
133
  }));
117
- }, as = (t) => t.title ? t.title.visible ?? !0 : !1, rs = (t, e) => {
118
- e.title !== void 0 ? e.title.visible = t : e.title === void 0 && (e.title = D({
134
+ }, es = (t) => t.title ? t.title.visible ?? !0 : !1, ts = (t, e) => {
135
+ e.title !== void 0 ? e.title.visible = t : e.title === void 0 && (e.title = V({
119
136
  text: "",
120
137
  visible: t,
121
- font: V(C.ChartTitle)
138
+ font: O(L.ChartTitle)
122
139
  }));
123
- }, ls = (t) => t.subtitle ? t.subtitle.visible ?? !0 : !1, os = (t, e) => {
124
- e.subtitle !== void 0 ? e.subtitle.visible = t : e.subtitle === void 0 && (e.subtitle = D({
140
+ }, ss = (t) => t.subtitle ? t.subtitle.visible ?? !0 : !1, is = (t, e) => {
141
+ e.subtitle !== void 0 ? e.subtitle.visible = t : e.subtitle === void 0 && (e.subtitle = V({
125
142
  text: "",
126
143
  visible: t,
127
- font: V(C.ChartSubtitle)
144
+ font: O(L.ChartSubtitle)
128
145
  }));
129
- }, ct = (t) => t.footer?.visible ?? !1, ns = (t, e) => {
130
- e.footer !== void 0 ? e.footer.visible = t : e.footer === void 0 && t !== ct(e) && (e.footer = D({
146
+ }, it = (t) => t.footer?.visible ?? !1, as = (t, e) => {
147
+ e.footer !== void 0 ? e.footer.visible = t : e.footer === void 0 && t !== it(e) && (e.footer = V({
131
148
  text: "",
132
149
  visible: !0,
133
- font: V(C.DescriptionText)
150
+ font: O(L.DescriptionText)
134
151
  }));
135
- }, cs = (t) => t.chartRenderer, ds = (t, e) => {
152
+ }, rs = (t) => t.chartRenderer, ls = (t, e) => {
136
153
  e.chartRenderer = t;
137
- }, Ne = (t, e) => {
138
- const s = e.title?.content.text;
139
- (e.title === void 0 || t === void 0) && (e.title = D({
140
- text: "",
141
- visible: !0,
142
- font: V(C.AxisTitle),
143
- type: C.AxisTitle
144
- })), t !== void 0 && (e.title.content = t), e.title.content.text = s;
145
- }, us = (t) => t.axes?.[0]?.title?.content, ys = (t, e) => {
146
- e.axes?.[0] !== void 0 && Ne(t, e.axes[0]);
147
- }, ms = (t) => t.axes?.[1]?.title?.content, ps = (t, e) => {
148
- e.axes?.[1] !== void 0 && Ne(t, e.axes[1]);
149
- }, gs = (t) => {
154
+ }, os = (t, e) => t.axes?.[e]?.title?.content, ns = (t) => {
155
+ const { config: e, axisIndex: s, symbol: i } = t, a = e.axes?.[s];
156
+ if (a !== void 0) {
157
+ const r = a.title?.content.text;
158
+ (a.title === void 0 || i === void 0) && (a.title = V({
159
+ text: "",
160
+ visible: !0,
161
+ font: O(L.AxisTitle),
162
+ type: L.AxisTitle
163
+ })), i !== void 0 && (a.title.content = i), a.title.content.text = r;
164
+ }
165
+ }, cs = (t) => {
150
166
  for (const e of t.axes ?? [])
151
167
  if (e?.labels !== void 0)
152
168
  return e.labels.content;
153
- }, xs = (t, e) => {
169
+ }, ds = (t, e) => {
154
170
  for (const s of e.axes ?? [])
155
171
  if (s !== void 0) {
156
172
  const i = s.labels?.content.text;
157
- t === void 0 ? s.labels = D({
173
+ t === void 0 ? s.labels = V({
158
174
  text: "",
159
175
  visible: !0,
160
- font: V(C.AxisLabels),
161
- type: C.AxisLabels
162
- }) : s.labels.content = _(t), s.labels.content.text = i;
176
+ font: O(L.AxisLabels),
177
+ type: L.AxisLabels
178
+ }) : s.labels.content = G(t), s.labels.content.text = i;
163
179
  }
164
- }, fs = (t) => {
180
+ }, us = (t) => {
165
181
  for (const e of t.axes ?? [])
166
182
  if (e?.lineSymbol !== void 0)
167
183
  return e.lineSymbol;
168
- }, Ss = (t, e) => {
184
+ }, ys = (t, e) => {
169
185
  for (const s of e.axes ?? [])
170
- s !== void 0 && (s.lineSymbol = _(t) ?? Re());
171
- }, Fs = (t) => {
186
+ s !== void 0 && (s.lineSymbol = G(t) ?? $e());
187
+ }, ms = (t) => {
172
188
  for (const e of t.axes ?? [])
173
189
  if (e?.grid !== void 0)
174
190
  return e.grid;
175
- }, bs = (t, e) => {
176
- const s = e.axes;
177
- switch (J(e.series)) {
178
- // set y-axis grid line for charts -Bar chart/Line chart, Histogram and Box plot
179
- case f.BarSeries:
180
- case f.LineSeries:
181
- case f.ComboLineAndBarSeries:
182
- case f.HistogramSeries:
183
- case f.BoxPlotSeries:
184
- case f.RadarSeries: {
185
- s?.[1] !== void 0 && (s[1].grid = _(t));
186
- break;
187
- }
188
- // set both x and y-axis grid lines for charts - Scatter chart
189
- case f.ScatterSeries: {
190
- e.axes?.forEach((a) => {
191
- a !== void 0 && (a.grid = _(t));
192
- });
193
- break;
194
- }
195
- case f.PieSeries:
196
- }
197
- }, me = (t, e) => e.axes?.[t]?.title?.content.text ?? "", Ts = (t, e, s) => {
191
+ }, xs = (t, e, s) => {
192
+ const i = e.axes;
193
+ s.forEach((a) => {
194
+ i?.[a] !== void 0 && (i[a].grid = G(t));
195
+ });
196
+ }, ce = (t, e) => e.axes?.[t]?.title?.content.text ?? "", gs = (t, e, s) => {
198
197
  const i = s.axes?.[e];
199
- i?.title !== void 0 ? i.title.content.text = t : i !== void 0 && i?.title === void 0 && (i.title = D({
198
+ i?.title !== void 0 ? i.title.content.text = t : i !== void 0 && i?.title === void 0 && (i.title = V({
200
199
  text: t,
201
200
  visible: !0,
202
- font: V(C.AxisTitle)
201
+ font: O(L.AxisTitle)
203
202
  }));
204
- }, As = (t, e) => e.axes?.[t]?.title?.visible ?? !1, hs = (t, e, s) => {
203
+ }, ps = (t, e) => e.axes?.[t]?.title?.visible ?? !1, fs = (t, e, s) => {
205
204
  const i = s.axes?.[e];
206
- i?.title !== void 0 ? i.title.visible = t : i !== void 0 && i?.title === void 0 && (i.title = D({
207
- text: me(e, s),
205
+ i?.title !== void 0 ? i.title.visible = t : i !== void 0 && i?.title === void 0 && (i.title = V({
206
+ text: ce(e, s),
208
207
  visible: t,
209
- font: V(C.AxisTitle)
208
+ font: O(L.AxisTitle)
210
209
  }));
211
- }, Bs = (t) => t.axes?.[0].isLogarithmic ?? !1, vs = async (t, e) => {
212
- t.axes?.[0] !== void 0 && (t.axes[0].isLogarithmic = e, await Le(t, null), await we(t, null));
213
- }, Cs = (t) => t.axes?.[1]?.isLogarithmic ?? !1, Ls = async (t, e) => {
214
- t.axes?.[1] !== void 0 && (t.axes[1].isLogarithmic = e, await k(t, null), await $(t, null));
215
- }, ws = (t) => t.axes?.[0]?.scrollbar, Ns = (t, e) => {
216
- t.axes?.[0] !== void 0 && (t.axes[0].scrollbar = e);
217
- }, Ds = (t) => t.axes?.[1]?.scrollbar, Vs = (t, e) => {
218
- t.axes?.[1] !== void 0 && (t.axes[1].scrollbar = e);
219
- }, Os = (t, e) => t.axes?.[e]?.displayZeroLine ?? !1, qs = (t, e, s) => {
210
+ }, Ss = (t, e) => t.axes?.[e]?.displayZeroLine ?? !1, Fs = (t, e, s) => {
220
211
  t.axes?.[s] !== void 0 && (t.axes[s].displayZeroLine = e);
221
- }, Is = (t, e) => t.axes?.[e]?.displayCursorTooltip ?? !1, ks = (t, e, s) => {
222
- t.axes?.[s] !== void 0 && (t.axes[s].displayCursorTooltip = e);
223
- }, $s = (t, e) => t.axes?.[e]?.buffer ?? !1, Ys = (t, e, s) => {
224
- const i = t.axes?.[s];
225
- i !== void 0 && (i.buffer = e);
226
- }, js = (t, e) => t.axes?.[e]?.tickSpacing, Ps = (t, e, s) => {
227
- t.axes?.[s] !== void 0 && (t.axes[s].tickSpacing = e);
228
- }, Es = (t, e) => t.axes?.[e]?.integerOnlyValues ?? !1, Ms = (t, e, s) => {
229
- t.axes?.[s] !== void 0 && (t.axes[s].integerOnlyValues = e);
230
- }, dt = (t) => {
212
+ }, bs = (t, e) => t.axes?.[e]?.displayCursorTooltip ?? !1, Ts = (t) => {
213
+ const { config: e, displayCursorTooltip: s, axisIndex: i } = t;
214
+ e.axes?.[i] !== void 0 && (e.axes[i].displayCursorTooltip = s);
215
+ }, As = (t, e) => t.axes?.[e]?.buffer ?? !1, hs = (t) => {
216
+ const { config: e, buffer: s, axisIndex: i } = t, a = e.axes?.[i];
217
+ a !== void 0 && (a.buffer = s);
218
+ }, vs = (t, e) => t.axes?.[e]?.tickSpacing, Bs = (t) => {
219
+ const { config: e, tickSpacing: s, axisIndex: i } = t;
220
+ e.axes?.[i] !== void 0 && (e.axes[i].tickSpacing = s);
221
+ }, Cs = (t, e) => t.axes?.[e]?.integerOnlyValues ?? !1, Ls = (t) => {
222
+ const { config: e, integerOnlyValues: s, axisIndex: i } = t;
223
+ e.axes?.[i] !== void 0 && (e.axes[i].integerOnlyValues = s);
224
+ }, at = (t) => {
231
225
  let e = S.xAxisAsc;
232
- const s = t.orderOptions?.data?.orderType ?? L.Category, i = t.orderOptions?.data?.orderBy ?? O.Ascending;
233
- return s === L.Category && Array.isArray(i) ? e = S.customSort : s === L.Category ? i === O.Ascending ? e = S.xAxisAsc : e = S.xAxisDesc : i === O.Ascending ? e = S.yAxisAsc : e = S.yAxisDesc, e;
234
- }, ut = (t) => {
235
- const e = J(t.series);
226
+ const s = t.orderOptions?.data?.orderType ?? I.Category, i = t.orderOptions?.data?.orderBy ?? D.Ascending;
227
+ return s === I.Category && Array.isArray(i) ? e = S.customSort : s === I.Category ? i === D.Ascending ? e = S.xAxisAsc : e = S.xAxisDesc : i === D.Ascending ? e = S.yAxisAsc : e = S.yAxisDesc, e;
228
+ }, rt = (t) => {
229
+ const e = Q(t.series);
236
230
  let s = !1;
237
- return (e === f.BarSeries || e === f.LineSeries) && (s = dt(t) === S.customSort), s;
238
- }, Us = (t) => {
231
+ return (e === h.BarSeries || e === h.LineSeries) && (s = at(t) === S.customSort), s;
232
+ }, Is = (t) => {
239
233
  let e = [];
240
234
  const s = t.orderOptions?.data?.orderType;
241
- return ut(t) && s === L.Category && (e = t.orderOptions?.data?.orderBy), e;
242
- }, Xs = (t, e, s) => {
243
- let i = L.Category, a = O.Ascending;
244
- const r = J(e.series);
235
+ return rt(t) && s === I.Category && (e = t.orderOptions?.data?.orderBy), e;
236
+ }, ws = (t, e, s) => {
237
+ let i = I.Category, a = D.Ascending;
238
+ const r = Q(e.series);
245
239
  e.orderOptions ??= {}, t === S.customSort && s !== void 0 ? (a = [...s], e.orderOptions.data = {
246
240
  orderType: i,
247
241
  orderBy: a
248
- }) : (r === f.BarSeries || r === f.LineSeries) && (i = t === S.xAxisAsc || t === S.xAxisDesc ? L.Category : L.YValue, a = t === S.xAxisAsc || t === S.yAxisAsc ? O.Ascending : O.Descending, e.orderOptions.data = {
242
+ }) : (r === h.BarSeries || r === h.LineSeries) && (i = t === S.xAxisAsc || t === S.xAxisDesc ? I.Category : I.YValue, a = t === S.xAxisAsc || t === S.yAxisAsc ? D.Ascending : D.Descending, e.orderOptions.data = {
249
243
  orderType: i,
250
244
  orderBy: a
251
245
  });
252
- }, E = (t) => t?.series?.[0]?.x ?? "", pe = (t) => {
246
+ }, E = (t) => t?.series?.[0]?.x ?? "", de = (t) => {
253
247
  const {
254
248
  config: e,
255
249
  numericFields: s,
@@ -259,19 +253,19 @@ const ve = async (t, e) => t.axes?.[e] ?? (await Xe(t.type))[e], Ce = (t, e, s)
259
253
  numericFieldIndex: c,
260
254
  seriesIndex: o,
261
255
  splitByField: y = ""
262
- } = t, l = J(e.series), x = W(e.series), d = r ? Ke(r).objectIdField : "FID", p = E(e), n = s.length === 1 && s[0] === d;
256
+ } = t, l = Q(e.series), p = W(e.series), d = r ? ke(r).objectIdField : "FID", x = E(e), n = s.length === 1 && s[0] === d;
263
257
  let u = "y", m = "y";
264
258
  switch (l) {
265
- case f.PieSeries: {
266
- i !== F.NoAggregation ? a === rt.Category ? (u = `${i}_${s[0]}_0`.toUpperCase(), m = n ? U(F.Count) : U(`${i} of ${s[0]}`)) : u = Ee : u = s[0];
259
+ case h.PieSeries: {
260
+ i !== F.NoAggregation ? a === Qe.Category ? (u = `${i}_${s[0]}_0`.toUpperCase(), m = n ? U(F.Count) : U(`${i} of ${s[0]}`)) : u = De : u = s[0];
267
261
  break;
268
262
  }
269
- case f.BarSeries:
270
- case f.LineSeries:
271
- case f.ComboLineAndBarSeries:
272
- case f.RadarSeries: {
263
+ case h.BarSeries:
264
+ case h.LineSeries:
265
+ case h.ComboLineAndBarSeries:
266
+ case h.RadarSeries: {
273
267
  if (y === "" || s.length > 1)
274
- p === X || p === void 0 || p.trim() === "" || x === M.BarAndLineFromFields ? u = Pe : (u = `${i}_${s[c ?? 0]}_${c ?? 0}`.toUpperCase(), m = n ? U(F.Count) : U(`${i} of ${s[c ?? 0]}`));
268
+ x === R || x === void 0 || x.trim() === "" || p === P.BarAndLineFromFields ? u = Oe : (u = `${i}_${s[c ?? 0]}_${c ?? 0}`.toUpperCase(), m = n ? U(F.Count) : U(`${i} of ${s[c ?? 0]}`));
275
269
  else {
276
270
  const g = s[0];
277
271
  u = `${i}_${g}_${o ?? 0}`.toUpperCase(), m = n ? U(F.Count) : U(`${i} of ${g}`);
@@ -283,68 +277,68 @@ const ve = async (t, e) => t.axes?.[e] ?? (await Xe(t.type))[e], Ce = (t, e, s)
283
277
  name: u,
284
278
  description: m
285
279
  };
286
- }, yt = (t) => {
280
+ }, lt = (t) => {
287
281
  let e;
288
282
  const s = t.series[0];
289
- return I(s) && (e = s.temporalBinning?.size), e;
290
- }, mt = (t) => {
283
+ return M(s) && (e = s.temporalBinning?.size), e;
284
+ }, ot = (t) => {
291
285
  let e;
292
286
  const s = t.series[0];
293
- return I(s) && (e = s.temporalBinning?.unit), e;
294
- }, pt = (t) => {
287
+ return M(s) && (e = s.temporalBinning?.unit), e;
288
+ }, nt = (t) => {
295
289
  let e;
296
290
  const s = t.series[0];
297
- return I(s) && (e = s.temporalBinning?.timeAggregationType), e;
298
- }, gt = (t) => {
291
+ return M(s) && (e = s.temporalBinning?.timeAggregationType), e;
292
+ }, ct = (t) => {
299
293
  let e;
300
294
  const s = t.series[0];
301
- return I(s) && (e = s.temporalBinning?.trimIncompleteTimeInterval), e;
302
- }, xt = (t) => {
295
+ return M(s) && (e = s.temporalBinning?.trimIncompleteTimeInterval), e;
296
+ }, dt = (t) => {
303
297
  let e;
304
298
  const s = t.series[0];
305
- return I(s) && (e = s.temporalBinning?.nullPolicy), e;
306
- }, De = (t, e) => {
299
+ return M(s) && (e = s.temporalBinning?.nullPolicy), e;
300
+ }, ve = (t, e) => {
307
301
  e?.series?.forEach((s) => {
308
- I(s) && (s.temporalBinning ??= { type: K.FixedDateBased }, s.temporalBinning.size = t);
309
- }), $(e, null), k(e, null);
310
- }, ft = (t, e) => {
302
+ M(s) && (s.temporalBinning ??= {}, s.temporalBinning.size = t);
303
+ }), f({ config: e, value: null, axisIndex: 1, isMax: !1 }), f({ config: e, value: null, axisIndex: 1, isMax: !0 });
304
+ }, ut = (t, e) => {
311
305
  e?.series?.forEach((s) => {
312
- I(s) && (s.temporalBinning ??= { type: K.FixedDateBased }, s.temporalBinning.nullPolicy = t);
313
- }), $(e, null), k(e, null);
314
- }, Rs = (t, e) => {
306
+ M(s) && (s.temporalBinning ??= {}, s.temporalBinning.nullPolicy = t);
307
+ }), f({ config: e, value: null, axisIndex: 1, isMax: !1 }), f({ config: e, value: null, axisIndex: 1, isMax: !0 });
308
+ }, Ns = (t, e) => {
315
309
  e.series?.forEach((s) => {
316
- I(s) && (s.temporalBinning ??= { type: K.FixedDateBased }, s.temporalBinning.unit = t);
317
- }), $(e, null), k(e, null);
318
- }, Ks = (t, e) => {
310
+ M(s) && (s.temporalBinning ??= {}, s.temporalBinning.unit = t);
311
+ }), f({ config: e, value: null, axisIndex: 1, isMax: !1 }), f({ config: e, value: null, axisIndex: 1, isMax: !0 });
312
+ }, Vs = (t, e) => {
319
313
  e.series?.forEach((s) => {
320
- I(s) && (s.temporalBinning ??= { type: K.FixedDateBased }, s.temporalBinning.timeAggregationType = t);
321
- }), $(e, null), k(e, null);
322
- }, Ws = (t, e) => {
314
+ M(s) && (s.temporalBinning ??= {}, s.temporalBinning.timeAggregationType = t);
315
+ }), f({ config: e, value: null, axisIndex: 1, isMax: !1 }), f({ config: e, value: null, axisIndex: 1, isMax: !0 });
316
+ }, Os = (t, e) => {
323
317
  e.series?.forEach((s) => {
324
- I(s) && (s.temporalBinning ??= { type: K.FixedDateBased }, s.temporalBinning.trimIncompleteTimeInterval = t);
325
- }), $(e, null), k(e, null);
326
- }, zs = (t) => {
327
- De(0, t);
318
+ M(s) && (s.temporalBinning ??= {}, s.temporalBinning.trimIncompleteTimeInterval = t);
319
+ }), f({ config: e, value: null, axisIndex: 1, isMax: !1 }), f({ config: e, value: null, axisIndex: 1, isMax: !0 });
320
+ }, Ds = (t) => {
321
+ ve(0, t);
328
322
  };
329
- async function St(t) {
330
- const { config: e, layer: s, xAxisField: i, splitByField: a, layerFieldsInfo: r, aggregationFields: c, fetchNullValues: o } = t, l = r.filter((b) => b.name === a)[0]?.type, x = o !== !0 ? `${a} IS NOT NULL` : "", d = i && o !== !0 ? `${i} IS NOT NULL` : "", { where: p } = e?.dataFilters ?? {}, n = {
331
- where: he([p, x, d]),
323
+ async function yt(t) {
324
+ const { config: e, layer: s, xAxisField: i, splitByField: a, layerFieldsInfo: r, aggregationFields: c, fetchNullValues: o } = t, l = r.filter((b) => b.name === a)[0]?.type, p = o !== !0 ? `${a} IS NOT NULL` : "", d = i && o !== !0 ? `${i} IS NOT NULL` : "", { where: x } = e?.dataFilters ?? {}, n = {
325
+ where: be([x, p, d]),
332
326
  // excluding the null values from the list
333
- orderByFields: ze(a) ? [] : [`${a} ${O.Ascending}`],
327
+ orderByFields: Ee(a) ? [] : [`${a} ${D.Ascending}`],
334
328
  // default sorting ascending for split-by field
335
329
  geometry: e?.dataFilters?.geometry
336
330
  }, u = s;
337
331
  let m = "";
338
332
  c.length === 0 ? m = u?.objectIdField ?? "" : [m] = c;
339
- let g = await Be({
333
+ let g = await Te({
340
334
  queryObject: u,
341
335
  category: e?.series[0].x ?? "",
342
336
  splitByField: a,
343
337
  queryConfig: n
344
338
  });
345
339
  if (e) {
346
- const b = e?.series.map((A) => ne({ where: A.query?.where })?.toString() ?? "").filter((A) => A !== void 0 && A !== "");
347
- g = _e({
340
+ const b = e?.series.map((A) => ae({ where: A.query?.where })?.toString() ?? "").filter((A) => A !== void 0 && A !== "");
341
+ g = Pe({
348
342
  arrayA: g,
349
343
  arrayB: b,
350
344
  getKey: (A) => A.toString()
@@ -352,7 +346,7 @@ async function St(t) {
352
346
  }
353
347
  return { categoriesArray: g, splitByFieldType: l, numericalField: m };
354
348
  }
355
- function _s(t, e) {
349
+ function qs(t, e) {
356
350
  let s = e === "";
357
351
  for (const i of t)
358
352
  if (e === i.name) {
@@ -361,8 +355,8 @@ function _s(t, e) {
361
355
  }
362
356
  return s;
363
357
  }
364
- function Zs(t, e) {
365
- const s = We(t);
358
+ function Ms(t, e) {
359
+ const s = je(t);
366
360
  let i = e.length === 0, a = 0;
367
361
  for (const r of e) {
368
362
  for (const c of s)
@@ -375,7 +369,7 @@ function Zs(t, e) {
375
369
  }
376
370
  return i;
377
371
  }
378
- function Gs(t, e) {
372
+ function $s(t, e) {
379
373
  e.forEach((s) => {
380
374
  Object.getOwnPropertyNames(s.prototype).forEach((i) => {
381
375
  Object.defineProperty(
@@ -386,111 +380,110 @@ function Gs(t, e) {
386
380
  });
387
381
  });
388
382
  }
389
- async function Ft(t) {
383
+ async function mt(t) {
390
384
  const { layerInfo: e, config: s, category: i } = t, { layer: a } = e, { where: r } = s?.dataFilters ?? {}, { fetchNullValues: c } = s?.series?.[0]?.query ?? {}, o = c !== !0 ? `${i} IS NOT NULL` : "", y = {
391
- where: he([r, o]),
385
+ where: be([r, o]),
392
386
  // excluding the null values from the list
393
387
  orderByFields: [],
394
388
  geometry: s?.dataFilters?.geometry
395
- }, l = le(a);
389
+ }, l = se(a);
396
390
  return (
397
391
  // fetch unique category values asynchronously
398
- (await Be({ queryObject: a, category: i, queryConfig: y })).map((d) => {
399
- const p = String(d);
400
- return oe({
392
+ (await Te({ queryObject: a, category: i, queryConfig: y })).map((d) => {
393
+ const x = String(d);
394
+ return ie({
401
395
  fieldName: i,
402
- fieldValueToMatch: p,
396
+ fieldValueToMatch: x,
403
397
  subtypeInfo: l,
404
398
  // use the retrieved subtype information
405
399
  fieldList: e.layerFieldsInfo
406
400
  // list of field information from the layer
407
- }) ?? p;
401
+ }) ?? x;
408
402
  })
409
403
  );
410
404
  }
411
- async function G(t) {
405
+ async function z(t) {
412
406
  const { seriesIndex: e, config: s, layerInfo: i } = t, { objectIdField: a } = i ?? {};
413
407
  let r;
414
408
  const c = s.series[e ?? 0];
415
409
  let o = !1, y = !1;
416
410
  if (c === void 0) {
417
411
  const n = s.series;
418
- o = n.slice(0, e).every((u) => B(u)), y = n.slice(0, e).every((u) => v(u));
412
+ o = n.slice(0, e).every((u) => B(u)), y = n.slice(0, e).every((u) => C(u));
419
413
  } else
420
- o = B(c), y = v(c);
421
- o ? r = await He({
414
+ o = B(c), y = C(c);
415
+ o ? r = await Ke({
422
416
  seriesIndex: e,
423
417
  objectIDField: a
424
- }) : y ? r = await Qe({
418
+ }) : y ? r = await We({
425
419
  seriesIndex: e,
426
420
  objectIDField: a
427
- }) : r = await Je({
421
+ }) : r = await Xe({
428
422
  seriesIndex: e,
429
423
  objectIDField: a
430
424
  });
431
- const l = E(s), x = s.series[0]?.dataLabels?.visible ?? !1, d = {
425
+ const l = E(s), p = s.series[0]?.dataLabels?.visible ?? !1, d = {
432
426
  ...r,
433
427
  x: l,
434
428
  y: "",
435
429
  dataLabels: {
436
430
  ...r.dataLabels,
437
- type: r.dataLabels?.type ?? f.Text,
438
- content: r.dataLabels?.content ?? { type: je.TS },
439
- visible: x
431
+ type: r.dataLabels?.type ?? h.Text,
432
+ content: r.dataLabels?.content ?? { type: Ve.TS },
433
+ visible: p
440
434
  }
441
- }, p = q(s);
435
+ }, x = q(s);
442
436
  if (d.query = {
443
437
  groupByFieldsForStatistics: [l]
444
- }, p !== F.NoAggregation && a !== void 0) {
445
- const n = `${p}_${a}_0`.toUpperCase();
438
+ }, x !== F.NoAggregation && a !== void 0) {
439
+ const n = `${x}_${a}_0`.toUpperCase();
446
440
  d.y = n, d.query.outStatistics = [
447
441
  {
448
- statisticType: p,
442
+ statisticType: x,
449
443
  onStatisticField: a,
450
444
  outStatisticFieldName: n
451
445
  }
452
446
  ];
453
447
  }
454
- if (B(d) || v(d)) {
448
+ if (B(d) || C(d)) {
455
449
  let n;
456
- if (s?.series?.[0] !== void 0 && (n = W(s.series)), n !== M.BarAndLineNoAggregation && n !== M.BarAndLineSplitByNoAggregation) {
457
- let u = mt(s);
458
- u === $e.Quarter && (u = Ye.Month), d.temporalBinning = {
459
- type: K.FixedDateBased,
460
- size: yt(s),
450
+ if (s?.series?.[0] !== void 0 && (n = W(s.series)), n !== P.BarAndLineNoAggregation && n !== P.BarAndLineSplitByNoAggregation) {
451
+ let u = ot(s);
452
+ u === xe.Quarter && (u = xe.Month), d.temporalBinning = {
453
+ size: lt(s),
461
454
  unit: u,
462
- timeAggregationType: pt(s),
463
- trimIncompleteTimeInterval: gt(s),
464
- nullPolicy: xt(s)
455
+ timeAggregationType: nt(s),
456
+ trimIncompleteTimeInterval: ct(s),
457
+ nullPolicy: dt(s)
465
458
  };
466
459
  }
467
460
  }
468
- return _(d);
461
+ return G(d);
469
462
  }
470
- async function Q(t, e) {
471
- const { layerFieldsInfo: s, objectIdField: i } = e, a = E(t), r = W(t.series), c = N(t), o = q(t), y = R(t), l = c.length === 0 || c.includes(i), x = await Ae(o), d = l ? "" : c.map((T) => P(s ?? [], T)).join(", "), p = P(s ?? [], a), n = P(s ?? [], y), u = t.series.some((T) => w(T)), m = u ? "category" : "xAxisField", g = p;
463
+ async function Z(t, e) {
464
+ const { layerFieldsInfo: s, objectIdField: i } = e, a = E(t), r = W(t.series), c = N(t), o = q(t), y = K(t), l = c.length === 0 || c.includes(i), p = await Fe(o), d = l ? "" : c.map((T) => j(s ?? [], T)).join(", "), x = j(s ?? [], a), n = j(s ?? [], y), u = t.series.some((T) => w(T)), m = u ? "category" : "xAxisField", g = x;
472
465
  let b = "";
473
- const A = await de(
474
- ue(document.documentElement).t9nLocale,
475
- ye("./assets/common/t9n"),
466
+ const A = await le(
467
+ oe(document.documentElement).t9nLocale,
468
+ ne("./assets/common/t9n"),
476
469
  "messages."
477
470
  );
478
- if (r === M.BarAndLineFromFields)
479
- b = j(A.titleLabels.aggrTypeOfAggrFields, {
480
- aggregationType: x,
471
+ if (r === P.BarAndLineFromFields)
472
+ b = k(A.titleLabels.aggrTypeOfAggrFields, {
473
+ aggregationType: p,
481
474
  aggregationFields: d
482
475
  });
483
476
  else if (o === F.NoAggregation) {
484
477
  const T = l ? i : d;
485
478
  if (y === "") {
486
- const z = u ? "aggrTypeCategory" : "aggrTypeXAxisField";
487
- b = j(A.titleLabels[z], {
479
+ const X = u ? "aggrTypeCategory" : "aggrTypeXAxisField";
480
+ b = k(A.titleLabels[X], {
488
481
  aggregationType: T,
489
482
  [m]: g
490
483
  });
491
484
  } else {
492
- const z = u ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
493
- b = j(A.titleLabels[z], {
485
+ const X = u ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
486
+ b = k(A.titleLabels[X], {
494
487
  aggregationType: T,
495
488
  [m]: g,
496
489
  splitByField: n
@@ -499,88 +492,88 @@ async function Q(t, e) {
499
492
  } else if (o === F.Count)
500
493
  if (y === "") {
501
494
  const T = u ? "aggrTypeCategory" : "aggrTypeXAxisField";
502
- b = j(A.titleLabels[T], {
503
- aggregationType: x,
495
+ b = k(A.titleLabels[T], {
496
+ aggregationType: p,
504
497
  [m]: g
505
498
  });
506
499
  } else {
507
500
  const T = u ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
508
- b = j(A.titleLabels[T], {
509
- aggregationType: x,
501
+ b = k(A.titleLabels[T], {
502
+ aggregationType: p,
510
503
  [m]: g,
511
504
  splitByField: n
512
505
  });
513
506
  }
514
507
  else if (y !== "") {
515
508
  const T = u ? "aggrTypeOfAggrFieldByCategoryBySplitByField" : "aggrTypeOfAggrFieldByXAxisFieldBySplitByField";
516
- b = j(A.titleLabels[T], {
517
- aggregationType: x,
509
+ b = k(A.titleLabels[T], {
510
+ aggregationType: p,
518
511
  aggregationField: d,
519
512
  [m]: g,
520
513
  splitByField: n
521
514
  });
522
515
  } else if (c.length > 0) {
523
516
  const T = u ? "aggrTypeOfAggrFieldsByCategory" : "aggrTypeOfAggrFieldsByXAxisField";
524
- b = j(A.titleLabels[T], {
525
- aggregationType: x,
517
+ b = k(A.titleLabels[T], {
518
+ aggregationType: p,
526
519
  aggregationFields: d,
527
520
  [m]: g
528
521
  });
529
522
  }
530
523
  return b;
531
524
  }
532
- const Ve = (t) => ne({
525
+ const Be = (t) => ae({
533
526
  where: t.query?.where,
534
527
  normalize: !1,
535
528
  escape: !1
536
- }) ?? "", q = (t) => t?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? F.NoAggregation, Hs = async (t, e, s) => {
537
- const i = N(e), a = R(e), r = await se(e, s), c = await ie(e, s);
538
- if (await xe({
529
+ }) ?? "", q = (t) => t?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? F.NoAggregation, ks = async (t, e, s) => {
530
+ const i = N(e), a = K(e), r = await H(e, s), c = await J(e, s);
531
+ if (await ye({
539
532
  splitByField: a,
540
533
  numericFields: i,
541
534
  aggregationType: t,
542
535
  config: e,
543
536
  layerInfo: s
544
537
  }), c) {
545
- const o = await H({
538
+ const o = await _({
546
539
  config: e,
547
540
  layerInfo: s,
548
541
  numericFields: N(e),
549
542
  aggregationType: q(e)
550
543
  });
551
- Z(e, 1, o);
544
+ Y(e, 1, o);
552
545
  }
553
- e.title && r && (e.title.content.text = await Q(e, s)), await $(e, null), await k(e, null), ge(e, s);
554
- }, R = Te(
546
+ e.title && r && (e.title.content.text = await Z(e, s)), f({ config: e, value: null, axisIndex: 1, isMax: !1 }), f({ config: e, value: null, axisIndex: 1, isMax: !0 }), ue(e, s);
547
+ }, K = fe(
555
548
  (t) => {
556
549
  const e = t?.series?.[0]?.query?.where?.split("=")[0].trim() ?? "";
557
- return Ze(t?.series?.[0]?.query?.where) ? "" : e;
550
+ return Ue(t?.series?.[0]?.query?.where) ? "" : e;
558
551
  },
559
552
  (t) => t?.series?.[0]?.query?.where
560
- ), Qs = async (t, e, s) => {
561
- const i = N(e), a = q(e), r = await se(e, s), c = await ie(e, s);
562
- if (await xe({
553
+ ), js = async (t, e, s) => {
554
+ const i = N(e), a = q(e), r = await H(e, s), c = await J(e, s);
555
+ if (await ye({
563
556
  splitByField: t,
564
557
  numericFields: i,
565
558
  aggregationType: a,
566
559
  config: e,
567
560
  layerInfo: s
568
561
  }), c) {
569
- const o = await H({
562
+ const o = await _({
570
563
  config: e,
571
564
  layerInfo: s,
572
565
  numericFields: N(e),
573
566
  aggregationType: q(e)
574
567
  });
575
- Z(e, 1, o);
568
+ Y(e, 1, o);
576
569
  }
577
- e.title && r && (e.title.content.text = await Q(e, s)), await $(e, null), await k(e, null);
578
- }, N = Te(
570
+ e.title && r && (e.title.content.text = await Z(e, s)), f({ config: e, value: null, axisIndex: 1, isMax: !1 }), f({ config: e, value: null, axisIndex: 1, isMax: !0 });
571
+ }, N = fe(
579
572
  // without memoizing, the worst case efficiency is O(series.length), best case is O(1)
580
573
  // with memoizing, the worst case efficiency for repeated calls becomes O(1)
581
574
  (t) => {
582
575
  let e = [];
583
- if (R(t) === "")
576
+ if (K(t) === "")
584
577
  e = t?.series.map((s) => {
585
578
  const i = s.query?.outStatistics?.map((a) => a.onStatisticField) ?? [];
586
579
  return i?.length > 0 ? i : s.y;
@@ -593,92 +586,92 @@ const Ve = (t) => ne({
593
586
  },
594
587
  // using series array address as key, since a change to the numeric fields will always rebuild a fresh series array
595
588
  (t) => t?.series
596
- ), bt = async (t, e, s) => {
589
+ ), xt = async (t, e, s) => {
597
590
  const { objectIdField: i } = s;
598
591
  let a = q(e);
599
- const r = await se(e, s), c = await ie(e, s);
592
+ const r = await H(e, s), c = await J(e, s);
600
593
  t.length === 0 ? (t.push(i), a = F.Count) : a === F.Count && t.length >= 1 && !t.includes(i) && (a = F.Sum);
601
- const o = R(e);
602
- if (await xe({
594
+ const o = K(e);
595
+ if (await ye({
603
596
  splitByField: o,
604
597
  numericFields: t,
605
598
  aggregationType: a,
606
599
  config: e,
607
600
  layerInfo: s
608
601
  }), c) {
609
- const y = await H({
602
+ const y = await _({
610
603
  config: e,
611
604
  layerInfo: s,
612
605
  numericFields: N(e),
613
606
  aggregationType: q(e)
614
607
  });
615
- Z(e, 1, y);
608
+ Y(e, 1, y);
616
609
  }
617
- e.title && r && (e.title.content.text = await Q(e, s)), await $(e, null), await k(e, null), ge(e, s);
618
- }, Js = async (t, e, s) => {
619
- const { layerFieldsInfo: i } = s ?? {}, a = e?.series?.length ?? 0, r = E(e), c = await se(e, s), o = await ie(e, s), y = await Bt(e, s);
610
+ e.title && r && (e.title.content.text = await Z(e, s)), f({ config: e, value: null, axisIndex: 1, isMax: !1 }), f({ config: e, value: null, axisIndex: 1, isMax: !0 }), ue(e, s);
611
+ }, Es = async (t, e, s) => {
612
+ const { layerFieldsInfo: i } = s ?? {}, a = e?.series?.length ?? 0, r = E(e), c = await H(e, s), o = await J(e, s), y = await St(e, s);
620
613
  let l;
621
- const x = e.series.some((n) => w(n)), d = it(e.series), p = at(e.series);
614
+ const p = e.series.some((n) => w(n)), d = Ze(e.series), x = Ge(e.series);
622
615
  if (i !== void 0) {
623
- const n = Ge(i);
624
- !n.includes(r) && n.includes(t) ? l = et() : n.includes(r) && !n.includes(t) && (x ? l = re() : l = tt()), i.find((m) => m.name === t)?.type === be.String && (l = re()), l !== void 0 && await ot(e, l);
616
+ const n = Re(i);
617
+ !n.includes(r) && n.includes(t) ? l = Ye() : n.includes(r) && !n.includes(t) && (p ? l = te() : l = ze()), i.find((m) => m.name === t)?.type === Se.String && (l = te()), l !== void 0 && await Je(e, l);
625
618
  }
626
- if (a === 0 && (e.series = [await G({ config: e, layerInfo: s })]), e.series.forEach((n) => {
619
+ if (a === 0 && (e.series = [await z({ config: e, layerInfo: s })]), e.series.forEach((n) => {
627
620
  n.x = t, n.query !== void 0 && (n.query.groupByFieldsForStatistics = [t]);
628
621
  }), y) {
629
- const n = P(i, t);
630
- Z(e, 0, n);
622
+ const n = j(i, t);
623
+ Y(e, 0, n);
631
624
  }
632
625
  if (s !== void 0) {
633
626
  if (o) {
634
- const u = await H({
627
+ const u = await _({
635
628
  config: e,
636
629
  layerInfo: s,
637
630
  numericFields: N(e),
638
631
  aggregationType: q(e)
639
632
  });
640
- Z(e, 1, u);
633
+ Y(e, 1, u);
641
634
  }
642
- e.title && c && (e.title.content.text = await Q(e, s)), ge(e, s);
635
+ e.title && c && (e.title.content.text = await Z(e, s)), ue(e, s);
643
636
  const n = N(e);
644
- await bt(n, e, s);
637
+ await xt(n, e, s);
645
638
  }
646
- if (await $(e, null), await k(e, null), d || p) {
647
- await we(e, null), await Le(e, null), De(0, e);
648
- const n = l?.type === f.DateAxisFormat ? fe.Null : fe.Interpolate;
649
- ft(n, e);
639
+ if (f({ config: e, value: null, axisIndex: 1, isMax: !1 }), f({ config: e, value: null, axisIndex: 1, isMax: !0 }), d || x) {
640
+ f({ config: e, value: null, axisIndex: 0, isMax: !1 }), f({ config: e, value: null, axisIndex: 0, isMax: !0 }), ve(0, e);
641
+ const n = l?.type === h.DateAxisFormat ? me.Null : me.Interpolate;
642
+ ut(n, e);
650
643
  }
651
644
  };
652
- function ge(t, e) {
645
+ function ue(t, e) {
653
646
  let s = !1;
654
647
  const i = q(t), a = N(t);
655
648
  i === F.Count ? s = !0 : i === F.NoAggregation && (s = a.every((o) => {
656
649
  const y = e.layerFieldsInfo.find((l) => l.name === o);
657
- return y !== void 0 ? Se(y) : !1;
658
- })), Fe(t, 1, s);
659
- const r = t.series.some((o) => B(o)), c = t.series.some((o) => v(o));
650
+ return y !== void 0 ? ge(y) : !1;
651
+ })), pe(t, 1, s);
652
+ const r = t.series.some((o) => B(o)), c = t.series.some((o) => C(o));
660
653
  if (r || c) {
661
- const o = E(t), y = e.layerFieldsInfo.find((x) => x.name === o), l = y !== void 0 && Se(y);
662
- Fe(t, 0, l);
654
+ const o = E(t), y = e.layerFieldsInfo.find((p) => p.name === o), l = y !== void 0 && ge(y);
655
+ pe(t, 0, l);
663
656
  }
664
657
  }
665
- const Tt = (t) => {
658
+ const gt = (t) => {
666
659
  let e = S.xAxisAsc;
667
- const s = t.orderOptions?.data?.orderType ?? L.Category, i = t.orderOptions?.data?.orderBy ?? O.Ascending;
668
- return s === L.Category && Array.isArray(i) ? e = S.customSort : s === L.Category ? i === O.Ascending ? e = S.xAxisAsc : e = S.xAxisDesc : i === O.Ascending ? e = S.yAxisAsc : e = S.yAxisDesc, e;
660
+ const s = t.orderOptions?.data?.orderType ?? I.Category, i = t.orderOptions?.data?.orderBy ?? D.Ascending;
661
+ return s === I.Category && Array.isArray(i) ? e = S.customSort : s === I.Category ? i === D.Ascending ? e = S.xAxisAsc : e = S.xAxisDesc : i === D.Ascending ? e = S.yAxisAsc : e = S.yAxisDesc, e;
669
662
  };
670
- async function At(t) {
663
+ async function pt(t) {
671
664
  const { numericFields: e, aggregationType: s, config: i, layerInfo: a } = t;
672
665
  let r = !1;
673
- const c = await G({
666
+ const c = await z({
674
667
  config: i,
675
668
  layerInfo: a,
676
669
  seriesIndex: 0
677
- }), o = await de(
678
- ue(document.documentElement).t9nLocale,
679
- ye("./assets/common/t9n"),
670
+ }), o = await le(
671
+ oe(document.documentElement).t9nLocale,
672
+ ne("./assets/common/t9n"),
680
673
  "messages."
681
- ), y = pe({
674
+ ), y = de({
682
675
  config: i,
683
676
  numericFields: e,
684
677
  aggregationType: s,
@@ -687,60 +680,60 @@ async function At(t) {
687
680
  ...c,
688
681
  id: `series_${Date.now()}`,
689
682
  name: o.axisLabels.values,
690
- x: X,
683
+ x: R,
691
684
  y
692
- }, x = [];
693
- for (const p of e)
694
- x.push({
695
- onStatisticField: p,
696
- outStatisticFieldName: `${p}_0`.toUpperCase(),
685
+ }, p = [];
686
+ for (const x of e)
687
+ p.push({
688
+ onStatisticField: x,
689
+ outStatisticFieldName: `${x}_0`.toUpperCase(),
697
690
  statisticType: s
698
691
  });
699
- l.query = { outStatistics: x };
692
+ l.query = { outStatistics: p };
700
693
  const d = i.series[0];
701
- return d !== void 0 && (l.id = d.id, i.colorMatch || (w(d) && w(l) ? l.fillSymbol = d.fillSymbol : (B(l) && B(d) || v(l) && v(d)) && (l.lineSymbol = d.lineSymbol, l.markerSymbol = d.markerSymbol), r = !0), l.id = d.id, d.name !== c.name && (l.name = d.name)), i.series.length === 1 && !i.colorMatch && (w(l) ? l.fillSymbol = i.series[0].fillSymbol : (B(l) || v(l)) && (l.lineSymbol = i.series[0].lineSymbol, l.markerSymbol = i.series[0].markerSymbol), r = !0), i.colorMatch = !r, [l];
694
+ return d !== void 0 && (l.id = d.id, i.colorMatch || (w(d) && w(l) ? l.fillSymbol = d.fillSymbol : (B(l) && B(d) || C(l) && C(d)) && (l.lineSymbol = d.lineSymbol, l.markerSymbol = d.markerSymbol), r = !0), l.id = d.id, d.name !== c.name && (l.name = d.name)), i.series.length === 1 && !i.colorMatch && (w(l) ? l.fillSymbol = i.series[0].fillSymbol : (B(l) || C(l)) && (l.lineSymbol = i.series[0].lineSymbol, l.markerSymbol = i.series[0].markerSymbol), r = !0), i.colorMatch = !r, [l];
702
695
  }
703
- async function Oe(t) {
696
+ async function Ce(t) {
704
697
  const { numericFields: e, aggregationType: s, config: i, layerInfo: a } = t, { layerFieldsInfo: r, objectIdField: c } = a, o = [];
705
698
  let y = !1;
706
699
  for (let l = 0; l < e.length; l += 1) {
707
- const x = await G({
700
+ const p = await z({
708
701
  config: i,
709
702
  layerInfo: a,
710
703
  seriesIndex: l
711
- }), d = pe({
704
+ }), d = de({
712
705
  config: i,
713
706
  numericFields: e,
714
707
  aggregationType: s,
715
708
  layer: a.layer,
716
709
  numericFieldIndex: l
717
- }).name, p = e[l];
710
+ }).name, x = e[l];
718
711
  let n = {
719
- ...x,
712
+ ...p,
720
713
  query: {
721
- ...x.query
714
+ ...p.query
722
715
  }
723
716
  };
724
- p !== c && (n = {
717
+ x !== c && (n = {
725
718
  ...n,
726
- id: p,
727
- name: P(r, p)
719
+ id: x,
720
+ name: j(r, x)
728
721
  });
729
- let u = p;
722
+ let u = x;
730
723
  n.query !== void 0 && (s !== F.NoAggregation ? (u = d, n.query.outStatistics = [
731
724
  {
732
- ...x.query?.outStatistics?.[0] ?? {},
733
- onStatisticField: p,
725
+ ...p.query?.outStatistics?.[0] ?? {},
726
+ onStatisticField: x,
734
727
  outStatisticFieldName: d,
735
728
  statisticType: s
736
729
  }
737
730
  ]) : delete n.query.outStatistics), n.y = u;
738
731
  const m = i.series.find(
739
- (g) => g.query?.outStatistics?.[0]?.onStatisticField === p && g.query.where === void 0
732
+ (g) => g.query?.outStatistics?.[0]?.onStatisticField === x && g.query.where === void 0
740
733
  );
741
734
  if (m !== void 0 && typeof m.y == "string" && m.y.trim() !== "") {
742
- i.colorMatch || (w(n) && w(m) ? n.fillSymbol = m.fillSymbol : (B(n) && B(m) || v(n) && v(m)) && (n.lineSymbol = m.lineSymbol, n.markerSymbol = m.markerSymbol), y = !0);
743
- const g = await G({
735
+ i.colorMatch || (w(n) && w(m) ? n.fillSymbol = m.fillSymbol : (B(n) && B(m) || C(n) && C(m)) && (n.lineSymbol = m.lineSymbol, n.markerSymbol = m.markerSymbol), y = !0);
736
+ const g = await z({
744
737
  config: i,
745
738
  layerInfo: a,
746
739
  seriesIndex: l
@@ -749,21 +742,21 @@ async function Oe(t) {
749
742
  }
750
743
  o.push(n);
751
744
  }
752
- return i.series.length === 1 && o.length === 1 && !i.colorMatch && (w(i.series[0]) && w(o[0]) ? o[0].fillSymbol = i.series[0].fillSymbol : (B(i.series[0]) && B(o[0]) || v(i.series[0]) && v(o[0])) && (o[0].lineSymbol = i.series[0].lineSymbol, o[0].markerSymbol = i.series[0].markerSymbol), y = !0), i.colorMatch = !y, o;
745
+ return i.series.length === 1 && o.length === 1 && !i.colorMatch && (w(i.series[0]) && w(o[0]) ? o[0].fillSymbol = i.series[0].fillSymbol : (B(i.series[0]) && B(o[0]) || C(i.series[0]) && C(o[0])) && (o[0].lineSymbol = i.series[0].lineSymbol, o[0].markerSymbol = i.series[0].markerSymbol), y = !0), i.colorMatch = !y, o;
753
746
  }
754
- async function ht(t) {
755
- const { splitByField: e, numericFields: s, aggregationType: i, config: a, layerInfo: r } = t, { layer: c, layerFieldsInfo: o } = r, { fetchNullValues: y } = a?.series?.[0]?.query ?? {}, l = E(a), x = l !== X ? l : void 0, { categoriesArray: d, splitByFieldType: p, numericalField: n } = await St({
747
+ async function ft(t) {
748
+ const { splitByField: e, numericFields: s, aggregationType: i, config: a, layerInfo: r } = t, { layer: c, layerFieldsInfo: o } = r, { fetchNullValues: y } = a?.series?.[0]?.query ?? {}, l = E(a), p = l !== R ? l : void 0, { categoriesArray: d, splitByFieldType: x, numericalField: n } = await yt({
756
749
  config: a,
757
750
  layer: c,
758
751
  layerFieldsInfo: o,
759
- xAxisField: x,
752
+ xAxisField: p,
760
753
  aggregationFields: s,
761
754
  splitByField: e,
762
755
  fetchNullValues: y
763
756
  });
764
757
  let u = [], m = !1;
765
758
  if (d.length === 0) {
766
- u = await Oe({
759
+ u = await Ce({
767
760
  numericFields: s,
768
761
  aggregationType: i,
769
762
  config: a,
@@ -773,30 +766,30 @@ async function ht(t) {
773
766
  g.query && (g.query.where = `${e}=''`);
774
767
  } else
775
768
  for (let g = 0; g < d.length; g += 1) {
776
- const b = d[g], A = pe({
769
+ const b = d[g], A = de({
777
770
  config: a,
778
771
  numericFields: s,
779
772
  aggregationType: i,
780
773
  layer: r.layer,
781
774
  seriesIndex: g,
782
775
  splitByField: e
783
- }).name, T = await G({
776
+ }).name, T = await z({
784
777
  config: a,
785
778
  layerInfo: r,
786
779
  seriesIndex: g
787
- }), z = {
780
+ }), X = {
788
781
  fieldName: e,
789
782
  fieldValueToMatch: b ?? "",
790
- subtypeInfo: le(r.layer),
783
+ subtypeInfo: se(r.layer),
791
784
  fieldList: r.layerFieldsInfo
792
- }, qe = oe(z), ae = `${b}`, h = {
785
+ }, Le = ie(X), ee = `${b}`, v = {
793
786
  ...T,
794
- id: ae,
795
- name: qe ?? ae,
787
+ id: ee,
788
+ name: Le ?? ee,
796
789
  y: A,
797
790
  query: {
798
791
  ...T.query,
799
- where: `${e}=${p === be.String && b !== null ? `'${b}'` : b}`,
792
+ where: `${e}=${x === Se.String && b !== null ? `'${b}'` : b}`,
800
793
  outStatistics: i !== F.NoAggregation ? [
801
794
  {
802
795
  ...T.query?.outStatistics?.[0] ?? {},
@@ -807,192 +800,181 @@ async function ht(t) {
807
800
  ] : void 0
808
801
  }
809
802
  };
810
- i === F.NoAggregation && (h.query !== void 0 && (delete h.query.outStatistics, delete h.query.groupByFieldsForStatistics), h.y = n);
811
- const Y = a.series.find(
812
- (Ie) => String(Ve(Ie)).trim().replace(/'/gu, "") === ae
803
+ i === F.NoAggregation && (v.query !== void 0 && (delete v.query.outStatistics, delete v.query.groupByFieldsForStatistics), v.y = n);
804
+ const $ = a.series.find(
805
+ (Ie) => String(Be(Ie)).trim().replace(/'/gu, "") === ee
813
806
  );
814
- Y !== void 0 && (a.colorMatch || (w(h) && w(Y) ? h.fillSymbol = Y.fillSymbol : (B(h) && B(Y) || v(h) && v(Y)) && (h.lineSymbol = Y.lineSymbol, h.markerSymbol = Y.markerSymbol), m = !0), h.id = Y.id, h.name = Y.name), u.push(h);
807
+ $ !== void 0 && (a.colorMatch || (w(v) && w($) ? v.fillSymbol = $.fillSymbol : (B(v) && B($) || C(v) && C($)) && (v.lineSymbol = $.lineSymbol, v.markerSymbol = $.markerSymbol), m = !0), v.id = $.id, v.name = $.name), u.push(v);
815
808
  }
816
809
  return a.colorMatch = !m, u;
817
810
  }
818
- const xe = async (t) => {
811
+ const ye = async (t) => {
819
812
  const { splitByField: e, numericFields: s, aggregationType: i, config: a, layerInfo: r } = t, { x: c } = a.series[0], o = W(a.series);
820
- e === "" || s.length > 1 ? c === X || c === void 0 || c.trim() === "" || o === M.BarAndLineFromFields ? a.series = await At({
813
+ e === "" || s.length > 1 ? c === R || c === void 0 || c.trim() === "" || o === P.BarAndLineFromFields ? a.series = await pt({
821
814
  config: a,
822
815
  layerInfo: r,
823
816
  numericFields: s,
824
817
  aggregationType: i
825
- }) : a.series = await Oe({
818
+ }) : a.series = await Ce({
826
819
  config: a,
827
820
  layerInfo: r,
828
821
  numericFields: s,
829
822
  aggregationType: i
830
- }) : a.series = await ht({
823
+ }) : a.series = await ft({
831
824
  config: a,
832
825
  layerInfo: r,
833
826
  splitByField: e,
834
827
  numericFields: s,
835
828
  aggregationType: i
836
829
  });
837
- }, ei = (t) => {
838
- const { config: e, seriesIndex: s, layerInfo: i, commonStrings: a } = t, r = e.series?.[s], c = R(e);
830
+ }, Ps = (t) => {
831
+ const { config: e, seriesIndex: s, layerInfo: i, commonStrings: a } = t, r = e.series?.[s], c = K(e);
839
832
  let o;
840
- if (W(e.series) === M.BarAndLineFromFields)
833
+ if (W(e.series) === P.BarAndLineFromFields)
841
834
  o = a.axisLabels.values;
842
- else if (Me(c)) {
835
+ else if (we(c)) {
843
836
  const l = r.query?.outStatistics?.[0]?.onStatisticField;
844
- l !== void 0 && l !== i.objectIdField && (o = P(i.layerFieldsInfo, l));
837
+ l !== void 0 && l !== i.objectIdField && (o = j(i.layerFieldsInfo, l));
845
838
  } else {
846
- const l = String(Ve(r)).trim().replace(/'/gu, ""), x = {
847
- fieldName: R(e),
839
+ const l = String(Be(r)).trim().replace(/'/gu, ""), p = {
840
+ fieldName: K(e),
848
841
  fieldValueToMatch: l ?? "",
849
- subtypeInfo: le(i.layer),
842
+ subtypeInfo: se(i.layer),
850
843
  fieldList: i.layerFieldsInfo
851
844
  };
852
- o = oe(x) ?? l;
845
+ o = ie(p) ?? l;
853
846
  }
854
847
  return o ?? r.id;
855
- }, ti = (t, e) => {
848
+ }, Us = (t, e) => {
856
849
  e.orderOptions ??= {};
857
850
  const s = e.orderOptions?.data?.orderType;
858
- Tt(e) === S.customSort && s === L.Category && (e.orderOptions.data = {
859
- orderType: L.Category,
851
+ gt(e) === S.customSort && s === I.Category && (e.orderOptions.data = {
852
+ orderType: I.Category,
860
853
  orderBy: [...t]
861
854
  });
862
- }, si = (t) => t.dataFilters, ii = (t, e) => {
855
+ }, Rs = (t) => t.dataFilters, Ks = (t, e) => {
863
856
  t !== void 0 ? e.dataFilters = t : delete e.dataFilters;
864
- }, ai = async (t, e) => {
865
- const s = E(t), i = lt(t)?.type, a = N(t), r = W(t.series);
857
+ }, Ws = async (t, e) => {
858
+ const s = E(t), i = He(t)?.type, a = N(t), r = W(t.series);
866
859
  let c = [];
867
- return i === f.CategoryAxisFormat && (r === M.BarAndLineFromFields || s === X ? c = a.map((o) => P(e?.layerFieldsInfo, o)) : s.trim() !== "" && s !== X && e !== void 0 && (c = await Ft({
860
+ return i === h.CategoryAxisFormat && (r === P.BarAndLineFromFields || s === R ? c = a.map((o) => j(e?.layerFieldsInfo, o)) : s.trim() !== "" && s !== R && e !== void 0 && (c = await mt({
868
861
  layerInfo: e,
869
862
  config: t,
870
863
  category: s
871
864
  }))), c;
872
865
  };
873
- async function se(t, e) {
874
- const s = await Q(t, e), i = nt(t), a = ce(t);
866
+ async function H(t, e) {
867
+ const s = await Z(t, e), i = st(t), a = re(t);
875
868
  return s === i || a;
876
869
  }
877
- async function ie(t, e) {
878
- const s = await H({
870
+ async function J(t, e) {
871
+ const s = await _({
879
872
  config: t,
880
873
  layerInfo: e,
881
874
  numericFields: N(t),
882
875
  aggregationType: q(t)
883
- }), i = me(1, t), a = ce(t);
876
+ }), i = ce(1, t), a = re(t);
884
877
  return s === i || a;
885
878
  }
886
- async function Bt(t, e) {
887
- const s = P(e.layerFieldsInfo, E(t)), i = me(0, t), a = ce(t);
879
+ async function St(t, e) {
880
+ const s = j(e.layerFieldsInfo, E(t)), i = ce(0, t), a = re(t);
888
881
  return s === i || a;
889
882
  }
890
- const ri = (t, e) => {
883
+ const Xs = (t, e) => {
891
884
  e.series.forEach((s) => {
892
885
  s.query && (s.query.fetchNullValues = t);
893
886
  });
894
- }, li = (t) => t.series.some((e) => e.query?.fetchNullValues), oi = (t) => (
887
+ }, Ys = (t) => t.series.some((e) => e.query?.fetchNullValues), zs = (t) => (
895
888
  // TODO: Look into split-by values gotchas cases once done
896
- t.series.map((e) => String(ne({ where: e.query?.where }))).filter((e) => e !== void 0 && e.trim() !== "")
889
+ t.series.map((e) => String(ae({ where: e.query?.where }))).filter((e) => e !== void 0 && e.trim() !== "")
897
890
  );
898
891
  export {
899
- rs as $,
900
- Rs as A,
901
- pt as B,
902
- Ks as C,
903
- gt as D,
904
- Ws as E,
905
- xt as F,
906
- ft as G,
907
- zs as H,
908
- Js as I,
909
- bt as J,
910
- Hs as K,
911
- Qs as L,
912
- si as M,
913
- ii as N,
914
- Tt as O,
915
- ai as P,
916
- Xs as Q,
917
- Us as R,
918
- ti as S,
919
- xe as T,
920
- Q as U,
921
- ss as V,
892
+ it as $,
893
+ ct as A,
894
+ Os as B,
895
+ dt as C,
896
+ ut as D,
897
+ Ds as E,
898
+ Es as F,
899
+ xt as G,
900
+ ks as H,
901
+ js as I,
902
+ Rs as J,
903
+ Ks as K,
904
+ gt as L,
905
+ Ws as M,
906
+ ws as N,
907
+ Is as O,
908
+ Us as P,
909
+ ye as Q,
910
+ Z as R,
911
+ Ht as S,
912
+ Zt as T,
913
+ Gt as U,
914
+ Qt as V,
922
915
  Jt as W,
923
916
  es as X,
924
917
  ts as Y,
925
- is as Z,
926
- as as _,
927
- me as a,
928
- ls as a0,
929
- os as a1,
930
- ct as a2,
931
- ns as a3,
932
- cs as a4,
933
- ds as a5,
934
- ri as a6,
935
- li as a7,
936
- Ts as a8,
937
- As as a9,
938
- qs as aA,
939
- Is as aB,
940
- ks as aC,
941
- $s as aD,
942
- Ys as aE,
943
- js as aF,
944
- Ps as aG,
945
- Es as aH,
946
- Ms as aI,
947
- hs as aa,
948
- Zt as ab,
949
- Gt as ac,
950
- us as ad,
951
- ys as ae,
952
- gs as af,
953
- xs as ag,
954
- fs as ah,
955
- Ss as ai,
956
- zt as aj,
957
- _t as ak,
958
- Ht as al,
959
- Qt as am,
960
- Bs as an,
961
- vs as ao,
962
- Cs as ap,
963
- Ls as aq,
964
- ws as ar,
965
- Ns as as,
966
- Ds as at,
967
- Vs as au,
968
- ms as av,
969
- ps as aw,
970
- Fs as ax,
971
- bs as ay,
972
- Os as az,
973
- Le as b,
974
- $ as c,
975
- k as d,
976
- H as e,
977
- pe as f,
978
- nt as g,
979
- ei as h,
980
- Gs as i,
981
- Zs as j,
982
- _s as k,
983
- ot as l,
984
- lt as m,
985
- Ft as n,
986
- St as o,
987
- Fe as p,
988
- E as q,
989
- q as r,
990
- we as s,
991
- N as t,
992
- Z as u,
993
- oi as v,
994
- R as w,
995
- yt as x,
996
- De as y,
997
- mt as z
918
+ ss as Z,
919
+ is as _,
920
+ ce as a,
921
+ as as a0,
922
+ rs as a1,
923
+ ls as a2,
924
+ Xs as a3,
925
+ Ys as a4,
926
+ gs as a5,
927
+ ps as a6,
928
+ fs as a7,
929
+ Ut as a8,
930
+ Rt as a9,
931
+ os as aa,
932
+ ns as ab,
933
+ cs as ac,
934
+ ds as ad,
935
+ us as ae,
936
+ ys as af,
937
+ Kt as ag,
938
+ ms as ah,
939
+ xs as ai,
940
+ vs as aj,
941
+ Wt as ak,
942
+ Xt as al,
943
+ Yt as am,
944
+ zt as an,
945
+ _t as ao,
946
+ Ss as ap,
947
+ Fs as aq,
948
+ bs as ar,
949
+ Ts as as,
950
+ As as at,
951
+ hs as au,
952
+ Bs as av,
953
+ Cs as aw,
954
+ Ls as ax,
955
+ _ as b,
956
+ de as c,
957
+ Ps as d,
958
+ $s as e,
959
+ qs as f,
960
+ st as g,
961
+ Je as h,
962
+ Ms as i,
963
+ He as j,
964
+ mt as k,
965
+ yt as l,
966
+ pe as m,
967
+ E as n,
968
+ q as o,
969
+ N as p,
970
+ zs as q,
971
+ K as r,
972
+ f as s,
973
+ lt as t,
974
+ Y as u,
975
+ ve as v,
976
+ ot as w,
977
+ Ns as x,
978
+ nt as y,
979
+ Vs as z
998
980
  };