@arcgis/charts-components 6.0.0-next.1 → 6.0.0-next.10

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 (410) hide show
  1. package/dist/cdn/{CYGMXV56.js → 2AQOOOLP.js} +2 -2
  2. package/dist/cdn/{6P652GSA.js → 2BPLDZAJ.js} +2 -2
  3. package/dist/cdn/{EQZBQP5A.js → 2IME76YJ.js} +2 -2
  4. package/dist/cdn/{5D2QRMC6.js → 2U7I6WSI.js} +2 -2
  5. package/dist/cdn/{BGQBOLMO.js → 2WQNU554.js} +2 -2
  6. package/dist/cdn/{G4A4HBNN.js → 33LWKOPD.js} +2 -2
  7. package/dist/cdn/{KGUFKVDR.js → 373UZR4I.js} +2 -2
  8. package/dist/cdn/{VKU5WPWI.js → 3DDSV3IF.js} +2 -2
  9. package/dist/cdn/3MXANTL7.js +2 -0
  10. package/dist/cdn/{WTF2PFHV.js → 3VLTTU3Q.js} +2 -2
  11. package/dist/cdn/{KFLVZ3W6.js → 3VZK52LO.js} +2 -2
  12. package/dist/cdn/4CUMUAAH.js +2 -0
  13. package/dist/cdn/4MCM2HLB.js +2 -0
  14. package/dist/cdn/{HP4BKU3R.js → 4MSDOPVE.js} +2 -2
  15. package/dist/cdn/{UQSD6YZM.js → 4PZOGAUO.js} +2 -2
  16. package/dist/cdn/{ACJYOVLW.js → 52PHJCYM.js} +2 -2
  17. package/dist/cdn/{UT5D2ZKJ.js → 55DRYT5X.js} +2 -2
  18. package/dist/cdn/{L6O73HFV.js → 57RWTLRG.js} +2 -2
  19. package/dist/cdn/{POA2XTTK.js → 5AKOPV7Z.js} +2 -2
  20. package/dist/cdn/{Q4U7XCT6.js → 5ANJA54O.js} +2 -2
  21. package/dist/cdn/5BRIW4JG.js +2 -0
  22. package/dist/cdn/{CB6RALFJ.js → 5JK6VH6K.js} +2 -2
  23. package/dist/cdn/5OYAVQQE.js +2 -0
  24. package/dist/cdn/{7COM5REK.js → 5RNBCLC3.js} +2 -2
  25. package/dist/cdn/5ZUY5423.js +2 -0
  26. package/dist/cdn/62FX3J5X.js +2 -0
  27. package/dist/cdn/{2BE3GYK4.js → 67ANW3I4.js} +2 -2
  28. package/dist/cdn/{77MRFLGO.js → 6FW2SXLC.js} +2 -2
  29. package/dist/cdn/6QBSP4KD.js +2 -0
  30. package/dist/cdn/6RWOVGNO.js +2 -0
  31. package/dist/cdn/7CKN3OHT.js +2 -0
  32. package/dist/cdn/7GF7IASO.js +2 -0
  33. package/dist/cdn/{Q45WYAOY.js → 7JMZPDM5.js} +1 -1
  34. package/dist/cdn/A2PYAGE3.js +2 -0
  35. package/dist/cdn/ADQTDPLB.js +2 -0
  36. package/dist/cdn/{CPHTAVGQ.js → AS2IRRXE.js} +2 -2
  37. package/dist/cdn/{Z5QPCSUQ.js → AUKJ4CBR.js} +2 -2
  38. package/dist/cdn/{E3EMRNWO.js → AVRIN2FL.js} +2 -2
  39. package/dist/cdn/{QVG3TOL4.js → BNAX4Y53.js} +1 -1
  40. package/dist/cdn/BNNHHDU7.js +2 -0
  41. package/dist/cdn/{PIZPF2BH.js → BRDWYHNB.js} +2 -2
  42. package/dist/cdn/BRTTYFXT.js +2 -0
  43. package/dist/cdn/{ENFJM3LJ.js → C7VQM4TH.js} +2 -2
  44. package/dist/cdn/CI5EMPAM.js +2 -0
  45. package/dist/cdn/{VLCUXTLC.js → D2PAS7YI.js} +2 -2
  46. package/dist/cdn/D6GRNBZP.js +2 -0
  47. package/dist/cdn/D6WOKCOW.js +2 -0
  48. package/dist/cdn/DEXP6J3O.js +2 -0
  49. package/dist/cdn/{ZLCRTIQH.js → DGKQXBUX.js} +2 -2
  50. package/dist/cdn/{OKAZOAYZ.js → DKV3ENOO.js} +2 -2
  51. package/dist/cdn/DMOEIZNS.js +2 -0
  52. package/dist/cdn/DRUWV4QU.js +2 -0
  53. package/dist/cdn/{B2SUC7VR.js → DTUR5Z3G.js} +2 -2
  54. package/dist/cdn/{XEUHT7JB.js → DXDQ6EMD.js} +25 -25
  55. package/dist/cdn/{6WKTHJQK.js → E5DTUNML.js} +2 -2
  56. package/dist/cdn/{UUVJGPFG.js → ECJI2AWN.js} +2 -2
  57. package/dist/cdn/{7C2LVFNV.js → EMVUIELY.js} +2 -2
  58. package/dist/cdn/EOTR4BKX.js +2 -0
  59. package/dist/cdn/EPY6V4CJ.js +4 -0
  60. package/dist/cdn/ESXR5BLH.js +2 -0
  61. package/dist/cdn/{YCQLYXH4.js → ETGI2F7C.js} +2 -2
  62. package/dist/cdn/EYDYH5BT.js +2 -0
  63. package/dist/cdn/F3RF7JPT.js +2 -0
  64. package/dist/cdn/{QP5UAIC6.js → FHN6CIIO.js} +1 -1
  65. package/dist/cdn/{24MSASQQ.js → FKBLB3H6.js} +2 -2
  66. package/dist/cdn/{QD7SXYTF.js → FKES55PK.js} +2 -2
  67. package/dist/cdn/{LAEUROZM.js → FLCOXPGW.js} +2 -2
  68. package/dist/cdn/{2C2NIEZB.js → FM6F6ZYW.js} +2 -2
  69. package/dist/cdn/{LVFZRGTZ.js → FNXREQOE.js} +2 -2
  70. package/dist/cdn/FYQGRCBG.js +2 -0
  71. package/dist/cdn/G37AUFZF.js +2 -0
  72. package/dist/cdn/G5VMZ4VH.js +2 -0
  73. package/dist/cdn/GAKY2U56.js +2 -0
  74. package/dist/cdn/GBX7JKXH.js +2 -0
  75. package/dist/cdn/{LN2ZLCLE.js → GCUOASRZ.js} +2 -2
  76. package/dist/cdn/GOIPGQBY.js +2 -0
  77. package/dist/cdn/{BK7DHYA7.js → GPGC4L7H.js} +2 -2
  78. package/dist/cdn/GRGXX2Z5.js +2 -0
  79. package/dist/cdn/GRMO7AJJ.js +2 -0
  80. package/dist/cdn/{RP6LD7CU.js → GSCC3FON.js} +2 -2
  81. package/dist/cdn/{TB7JE5XK.js → GV333VNC.js} +2 -2
  82. package/dist/cdn/{L7USVDCR.js → H3ZHPXRC.js} +2 -2
  83. package/dist/cdn/{YNHYJOH7.js → H5VCT3XP.js} +2 -2
  84. package/dist/cdn/HHHAJL7M.js +2 -0
  85. package/dist/cdn/HNXEJNF2.js +2 -0
  86. package/dist/cdn/{DOOQHQ3P.js → HUU3QFFC.js} +2 -2
  87. package/dist/cdn/HVJPAZGC.js +2 -0
  88. package/dist/cdn/HVNTD3Q6.js +2 -0
  89. package/dist/cdn/HXMLK3YJ.js +2 -0
  90. package/dist/cdn/HZTTUPNN.js +2 -0
  91. package/dist/cdn/I6SVVJK3.js +2 -0
  92. package/dist/cdn/{OBPAQN4H.js → IBCFYECI.js} +1 -1
  93. package/dist/cdn/IBZIYVHR.js +2 -0
  94. package/dist/cdn/{J7CDASEM.js → INILFUNG.js} +2 -2
  95. package/dist/cdn/IVTDNZSZ.js +2 -0
  96. package/dist/cdn/{I2BM5KSH.js → J2BBY6FO.js} +2 -2
  97. package/dist/cdn/{5FZODM64.js → J5VMBGYI.js} +2 -2
  98. package/dist/cdn/{M3XUZXNC.js → JYLCRNMW.js} +2 -2
  99. package/dist/cdn/{NKPZCF5U.js → K2BDZCYY.js} +2 -2
  100. package/dist/cdn/{5XJT5ZZ3.js → K43DVQFC.js} +2 -2
  101. package/dist/cdn/{S6QN5N3G.js → KCP6AJV7.js} +2 -2
  102. package/dist/cdn/{YU3PMXUH.js → KE7XE22Z.js} +2 -2
  103. package/dist/cdn/{NWITMWCT.js → KK445MLC.js} +2 -2
  104. package/dist/cdn/{NRXCKYYY.js → KK532FRP.js} +2 -2
  105. package/dist/cdn/{ADI63OO7.js → KR6LSUUG.js} +2 -2
  106. package/dist/cdn/{TOL6YNER.js → KRRYFLG4.js} +2 -2
  107. package/dist/cdn/{NWLNHFHJ.js → KWC3D6QX.js} +2 -2
  108. package/dist/cdn/{ZSPRUAWO.js → L26HYK34.js} +2 -2
  109. package/dist/cdn/{5ZQUHYTV.js → L4KDCWA7.js} +2 -2
  110. package/dist/cdn/{MFJTFFLO.js → LE3B3ATZ.js} +2 -2
  111. package/dist/cdn/{BDEDEGCZ.js → LYEEM2QH.js} +2 -2
  112. package/dist/cdn/{H36JC7RS.js → M7MSRLEE.js} +2 -2
  113. package/dist/cdn/{P37JASN4.js → MG5KAUC3.js} +2 -2
  114. package/dist/cdn/MVIMCR4O.js +2 -0
  115. package/dist/cdn/{ZZHKDFTA.js → MXQONC3S.js} +2 -2
  116. package/dist/cdn/MXTS44AG.js +2 -0
  117. package/dist/cdn/{3VMHKSYP.js → N7JJ6DIC.js} +1 -1
  118. package/dist/cdn/NCPNWQMP.js +2 -0
  119. package/dist/cdn/NHJPAIVY.js +2 -0
  120. package/dist/cdn/{TK2F34AK.js → NUTUTE7W.js} +2 -2
  121. package/dist/cdn/OA24BIJ5.js +2 -0
  122. package/dist/cdn/OO25ZLEY.js +2 -0
  123. package/dist/cdn/OQ2DAU4S.js +2 -0
  124. package/dist/cdn/{ZD6FBRAV.js → OYUTQX4U.js} +2 -2
  125. package/dist/cdn/{PABVNO3N.js → OZSHGMU6.js} +2 -2
  126. package/dist/cdn/{NGXRBJKL.js → OZSOICXE.js} +1 -1
  127. package/dist/cdn/{L7CMLBHB.js → P67ON5B6.js} +1 -1
  128. package/dist/cdn/{64B7ILJI.js → PANHH53Q.js} +2 -2
  129. package/dist/cdn/PBQRZBQM.js +2 -0
  130. package/dist/cdn/PBWXTUZG.js +2 -0
  131. package/dist/cdn/{64JQTZPV.js → PQESGESY.js} +2 -2
  132. package/dist/cdn/{5GAM5RFW.js → Q4H5YVTW.js} +2 -2
  133. package/dist/cdn/{64L7VJJK.js → QGHI4FS2.js} +2 -2
  134. package/dist/cdn/{UGNJ4AF4.js → QLBO3URO.js} +2 -2
  135. package/dist/cdn/{4DXGXATO.js → QM6ITQXX.js} +2 -2
  136. package/dist/cdn/{RJB4BUDG.js → R4PFJLD2.js} +2 -2
  137. package/dist/cdn/R53Q2XGQ.js +2 -0
  138. package/dist/cdn/REHZ6CP3.js +2 -0
  139. package/dist/cdn/{OQFM5DBD.js → RFOCYJOH.js} +2 -2
  140. package/dist/cdn/{K7KTLLN3.js → RPB56XMC.js} +3 -3
  141. package/dist/cdn/RWR5WVPG.js +2 -0
  142. package/dist/cdn/{JC3KQC4M.js → RZY26VLW.js} +2 -2
  143. package/dist/cdn/{TOFHR6G7.js → SBJXOYLB.js} +2 -2
  144. package/dist/cdn/{UIH663J3.js → SCS4MWFN.js} +2 -2
  145. package/dist/cdn/{SSOL6PCL.js → SDQYOTQB.js} +2 -2
  146. package/dist/cdn/SERDXBEF.js +2 -0
  147. package/dist/cdn/SFX2QCRS.js +2 -0
  148. package/dist/cdn/{Y3X7AUIP.js → SMHUUBEU.js} +2 -2
  149. package/dist/cdn/SOSQGEYI.js +2 -0
  150. package/dist/cdn/{UD724V36.js → SZACRMUM.js} +2 -2
  151. package/dist/cdn/{AX6KSFYK.js → TFWCYDKN.js} +2 -2
  152. package/dist/cdn/TG37UNR7.js +2 -0
  153. package/dist/cdn/{BYSUABOV.js → TIWCUJOG.js} +1 -1
  154. package/dist/cdn/TTV7DGFQ.js +2 -0
  155. package/dist/cdn/TU3OFQPY.js +2 -0
  156. package/dist/cdn/{OISERMTF.js → U2FUO2GZ.js} +2 -2
  157. package/dist/cdn/{CG7KYJ6V.js → UHSL7Y3B.js} +2 -2
  158. package/dist/cdn/{Y3C3CPH6.js → UITA7CSN.js} +2 -2
  159. package/dist/cdn/{ZEI2ZKEJ.js → UQRD2CTK.js} +2 -2
  160. package/dist/cdn/UUEYN7QY.js +2 -0
  161. package/dist/cdn/{QIG5H6WA.js → UWQ27S2B.js} +2 -2
  162. package/dist/cdn/V35YA4VJ.js +2 -0
  163. package/dist/cdn/{O7QPA3NH.js → V7SVV26H.js} +2 -2
  164. package/dist/cdn/{NUD4N547.js → VITUV4HV.js} +2 -2
  165. package/dist/cdn/VJMXXMFI.js +2 -0
  166. package/dist/cdn/{SO5USEBM.js → VKMVMHTT.js} +2 -2
  167. package/dist/cdn/{5WIR3JWC.js → VRDO75EG.js} +2 -2
  168. package/dist/cdn/{2BYGCYAZ.js → VT3NOR5A.js} +2 -2
  169. package/dist/cdn/{LWT3HZYN.js → W7VPVF72.js} +2 -2
  170. package/dist/cdn/WAHJIOS5.js +2 -0
  171. package/dist/cdn/{TRAVRA3M.js → WIOGS5VR.js} +2 -2
  172. package/dist/cdn/WIXK4A6U.js +2 -0
  173. package/dist/cdn/{KX7KGXKQ.js → WKF53DYD.js} +1 -1
  174. package/dist/cdn/{YG254BNH.js → WMGJN3JL.js} +2 -2
  175. package/dist/cdn/X5TWBBO6.js +2 -0
  176. package/dist/cdn/XF7SJJ6J.js +2 -0
  177. package/dist/cdn/{YD3ETL5Z.js → XFEWDUTX.js} +2 -2
  178. package/dist/cdn/{6HBAS6LD.js → XIE5EUIH.js} +2 -2
  179. package/dist/cdn/XJUMOE6X.js +2 -0
  180. package/dist/cdn/{GL2VXFGY.js → XR7RCGIT.js} +2 -2
  181. package/dist/cdn/XS33HEQ4.js +4 -0
  182. package/dist/cdn/{IJGJ7LW4.js → XTGFTMVI.js} +2 -2
  183. package/dist/cdn/XTYXEE3J.js +2 -0
  184. package/dist/cdn/{ZSP5DFLS.js → XUSFQDK4.js} +2 -2
  185. package/dist/cdn/{5L7BAEX5.js → XXO5K6N4.js} +2 -2
  186. package/dist/cdn/Y67ETZ3T.js +2 -0
  187. package/dist/cdn/Y7P2RW24.js +2 -0
  188. package/dist/cdn/{P5I5RQTN.js → Y7ZYTQQ5.js} +2 -2
  189. package/dist/cdn/{IDAOLPMA.js → YA4OQLNH.js} +2 -2
  190. package/dist/cdn/{UE4KTI5X.js → YF6ML4P6.js} +2 -2
  191. package/dist/cdn/{QKZK6MTN.js → YKNX76GX.js} +2 -2
  192. package/dist/cdn/{5ALFG7T4.js → Z2IHEWWP.js} +2 -2
  193. package/dist/cdn/{KOY5DWSR.js → Z7AXROEU.js} +2 -2
  194. package/dist/cdn/{AKW3NHSY.js → ZCEZ3K6F.js} +2 -2
  195. package/dist/cdn/{OD2NWPCL.js → ZCJFZFEV.js} +2 -2
  196. package/dist/cdn/ZFWGZCEY.js +2 -0
  197. package/dist/cdn/ZK3ZCNLZ.js +2 -0
  198. package/dist/cdn/index.js +2 -2
  199. package/dist/cdn/model/shared/setup-utils.js +2 -2
  200. package/dist/chunks/action-bar-utils.js +19 -21
  201. package/dist/chunks/axis-lines-symbol.js +7 -7
  202. package/dist/chunks/axis-model-wrapper.js +1 -1
  203. package/dist/chunks/bar-chart-model.js +6 -8
  204. package/dist/chunks/bg_BG.js +1 -1
  205. package/dist/chunks/box-plot-data.js +134 -135
  206. package/dist/chunks/box-plot-model.js +45 -43
  207. package/dist/chunks/chart-model.js +32 -34
  208. package/dist/chunks/chart-object-literals.js +1 -1
  209. package/dist/chunks/chart-ui-utils.js +46 -48
  210. package/dist/chunks/chart-ui-utils2.js +2 -2
  211. package/dist/chunks/class-breaks.js +15 -15
  212. package/dist/chunks/combo-bar-line-chart-model.js +16 -17
  213. package/dist/chunks/common.js +1 -1
  214. package/dist/chunks/data-labels-symbol.js +2 -2
  215. package/dist/chunks/data-labels-visibility.js +2 -2
  216. package/dist/chunks/data.js +53 -55
  217. package/dist/chunks/default.js +1 -1
  218. package/dist/chunks/gauge-model.js +66 -66
  219. package/dist/chunks/generate-x-axis-title.js +20 -20
  220. package/dist/chunks/heat-chart-model.js +14 -15
  221. package/dist/chunks/histogram-data.js +48 -49
  222. package/dist/chunks/histogram-model.js +7 -7
  223. package/dist/chunks/index.js +5321 -4202
  224. package/dist/chunks/index2.js +1166 -872
  225. package/dist/chunks/index3.js +11041 -1174
  226. package/dist/chunks/index4.js +66 -11087
  227. package/dist/chunks/interfaces.js +1 -1
  228. package/dist/chunks/line-chart-model.js +19 -20
  229. package/dist/chunks/model-setter.js +7 -7
  230. package/dist/chunks/model-types.js +1 -1
  231. package/dist/chunks/model-with-line-marker-styling.js +1 -1
  232. package/dist/chunks/model-with-x-guides.js +2 -2
  233. package/dist/chunks/model-with-y-guides.js +26 -26
  234. package/dist/chunks/negative-values-stacked-to-baseline.js +7 -7
  235. package/dist/chunks/pie-chart-data.js +26 -28
  236. package/dist/chunks/pie-chart-model.js +30 -29
  237. package/dist/chunks/popover-ui-utils.js +1 -1
  238. package/dist/chunks/radar-chart-model.js +7 -8
  239. package/dist/chunks/resource.js +2 -2
  240. package/dist/chunks/resources.js +1 -1
  241. package/dist/chunks/rest-js-object-literals.js +1 -1
  242. package/dist/chunks/rotated-state.js +2 -2
  243. package/dist/chunks/rounded-corners.js +3 -3
  244. package/dist/chunks/runtime.js +2 -2
  245. package/dist/chunks/scatterplot-model.js +14 -16
  246. package/dist/chunks/serial-chart-data.js +459 -461
  247. package/dist/chunks/serial-chart-model.js +71 -68
  248. package/dist/chunks/series-length.js +5 -5
  249. package/dist/chunks/series-types.js +1 -1
  250. package/dist/chunks/series.js +2 -2
  251. package/dist/chunks/store.js +1 -1
  252. package/dist/chunks/type-guards.js +110 -56
  253. package/dist/chunks/useT9n.js +1 -1
  254. package/dist/chunks/utils.js +147 -213
  255. package/dist/chunks/web-component-utils.js +56 -57
  256. package/dist/chunks/x-bounds.js +25 -26
  257. package/dist/components/arcgis-chart/customElement.d.ts +112 -30
  258. package/dist/components/arcgis-chart/customElement.js +8089 -7870
  259. package/dist/components/arcgis-charts-action-bar/customElement.js +4 -4
  260. package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
  261. package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
  262. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +8 -8
  263. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +63 -58
  264. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +11 -12
  265. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +52 -46
  266. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +3 -3
  267. package/dist/components/arcgis-charts-config-box-plot/customElement.js +2 -2
  268. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +107 -105
  269. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +12 -13
  270. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +53 -47
  271. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +2 -2
  272. package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
  273. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
  274. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  275. package/dist/components/arcgis-charts-config-colors/customElement.js +2 -2
  276. package/dist/components/arcgis-charts-config-create-flow/customElement.js +190 -185
  277. package/dist/components/arcgis-charts-config-field-picker/customElement.js +1 -1
  278. package/dist/components/arcgis-charts-config-font-style/customElement.js +8 -8
  279. package/dist/components/arcgis-charts-config-format/customElement.js +38 -39
  280. package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
  281. package/dist/components/arcgis-charts-config-general/customElement.js +3 -3
  282. package/dist/components/arcgis-charts-config-guide/customElement.js +8 -8
  283. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
  284. package/dist/components/arcgis-charts-config-guides/customElement.js +2 -2
  285. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
  286. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +2 -2
  287. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +15 -16
  288. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +33 -34
  289. package/dist/components/arcgis-charts-config-histogram/customElement.js +3 -4
  290. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +3 -4
  291. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +4 -5
  292. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
  293. package/dist/components/arcgis-charts-config-line-chart/customElement.js +2 -2
  294. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +5 -6
  295. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +6 -7
  296. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +39 -34
  297. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +2 -2
  298. package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
  299. package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
  300. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +2 -2
  301. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +6 -7
  302. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +10 -11
  303. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +2 -2
  304. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +2 -2
  305. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +9 -10
  306. package/dist/components/arcgis-charts-config-scatter-plot-aoi/customElement.js +2 -2
  307. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +9 -11
  308. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +4 -5
  309. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +22 -26
  310. package/dist/components/arcgis-charts-config-view-charts/customElement.js +21 -22
  311. package/dist/components/arcgis-charts-info-modal/customElement.js +5 -5
  312. package/dist/docs/api.json +1 -1
  313. package/dist/docs/docs.json +1 -1
  314. package/dist/docs/vscode.html-custom-data.json +1 -1
  315. package/dist/docs/web-types.json +1 -1
  316. package/dist/index.js +397 -399
  317. package/dist/loader.js +3 -3
  318. package/dist/model/box-plot-model/box-plot-model.d.ts +6 -2
  319. package/dist/model/pie-chart-model/pie-chart-model.d.ts +6 -2
  320. package/dist/model/serial-chart-model/serial-chart-model.d.ts +6 -2
  321. package/dist/model/shared/setup-utils.js +1 -1
  322. package/dist/types/lumina.d.ts +1 -1
  323. package/dist/types/preact.d.ts +1 -1
  324. package/dist/types/react.d.ts +1 -1
  325. package/dist/types/stencil.d.ts +1 -1
  326. package/dist/utils/chart-config/converter/index.js +74 -76
  327. package/dist/utils/data/categorical-data/index.d.ts +1 -0
  328. package/dist/utils/misc/index.d.ts +4 -4
  329. package/package.json +5 -5
  330. package/dist/cdn/2JIOGP7R.js +0 -2
  331. package/dist/cdn/32URMI5E.js +0 -2
  332. package/dist/cdn/3C5377V2.js +0 -2
  333. package/dist/cdn/3EOTHJWP.js +0 -2
  334. package/dist/cdn/3U6UEUC3.js +0 -2
  335. package/dist/cdn/3V7MD72Y.js +0 -2
  336. package/dist/cdn/4IZR4ZL4.js +0 -2
  337. package/dist/cdn/4R6YXEBJ.js +0 -2
  338. package/dist/cdn/53QW4BYR.js +0 -2
  339. package/dist/cdn/5CXU3NKH.js +0 -2
  340. package/dist/cdn/5DHZV7X2.js +0 -2
  341. package/dist/cdn/64VXZM5A.js +0 -2
  342. package/dist/cdn/6RB4RYGN.js +0 -2
  343. package/dist/cdn/7TK4GSLV.js +0 -2
  344. package/dist/cdn/A5EZTVKV.js +0 -2
  345. package/dist/cdn/AL6ZEHZK.js +0 -2
  346. package/dist/cdn/B5SRZGC2.js +0 -2
  347. package/dist/cdn/BF2W5NTN.js +0 -2
  348. package/dist/cdn/BRBAHSCB.js +0 -2
  349. package/dist/cdn/BRW7VZ2C.js +0 -2
  350. package/dist/cdn/C7WUBEMI.js +0 -2
  351. package/dist/cdn/CE2OEL6G.js +0 -2
  352. package/dist/cdn/DA5DYK4X.js +0 -2
  353. package/dist/cdn/DP3ALDSI.js +0 -2
  354. package/dist/cdn/DPXBPL2Y.js +0 -2
  355. package/dist/cdn/DUIC7PGW.js +0 -2
  356. package/dist/cdn/EETR5IRC.js +0 -2
  357. package/dist/cdn/EHD6HNUK.js +0 -2
  358. package/dist/cdn/EJAZWHRG.js +0 -2
  359. package/dist/cdn/EWFT2JV5.js +0 -2
  360. package/dist/cdn/EWS4XDX5.js +0 -2
  361. package/dist/cdn/FI67QJAR.js +0 -2
  362. package/dist/cdn/FTR2IWDM.js +0 -2
  363. package/dist/cdn/G2T43FGA.js +0 -2
  364. package/dist/cdn/GPFDXMZV.js +0 -2
  365. package/dist/cdn/GUU5K7KZ.js +0 -2
  366. package/dist/cdn/HGCITTOQ.js +0 -2
  367. package/dist/cdn/HPXU7UB6.js +0 -2
  368. package/dist/cdn/HPZNKDNN.js +0 -2
  369. package/dist/cdn/HRYM365L.js +0 -2
  370. package/dist/cdn/J24X7IAD.js +0 -2
  371. package/dist/cdn/JBGGX4GF.js +0 -2
  372. package/dist/cdn/JCSGUVJN.js +0 -2
  373. package/dist/cdn/JZCSDGTO.js +0 -2
  374. package/dist/cdn/KCJ3UIVJ.js +0 -2
  375. package/dist/cdn/KFS2IDLJ.js +0 -2
  376. package/dist/cdn/KOPGJ6GL.js +0 -2
  377. package/dist/cdn/KWJG3BJA.js +0 -2
  378. package/dist/cdn/L6ACX7PK.js +0 -3
  379. package/dist/cdn/L6AHDF5D.js +0 -2
  380. package/dist/cdn/M4G56EOH.js +0 -2
  381. package/dist/cdn/NNIAFAEK.js +0 -2
  382. package/dist/cdn/O3VCA2HA.js +0 -2
  383. package/dist/cdn/OAQCPPNF.js +0 -2
  384. package/dist/cdn/ORTPYOO7.js +0 -2
  385. package/dist/cdn/OWAETVFH.js +0 -2
  386. package/dist/cdn/PNFPQKYB.js +0 -3
  387. package/dist/cdn/PXKD656W.js +0 -2
  388. package/dist/cdn/QKPEMJRH.js +0 -2
  389. package/dist/cdn/QXIFJISA.js +0 -2
  390. package/dist/cdn/R44U46BF.js +0 -2
  391. package/dist/cdn/RB2DJJAF.js +0 -2
  392. package/dist/cdn/RV2J4OPJ.js +0 -2
  393. package/dist/cdn/TLPP547P.js +0 -2
  394. package/dist/cdn/TPFFIATK.js +0 -2
  395. package/dist/cdn/U64ICCSZ.js +0 -2
  396. package/dist/cdn/UW35QKDS.js +0 -4
  397. package/dist/cdn/VB6XKC4W.js +0 -2
  398. package/dist/cdn/VCER6DFQ.js +0 -2
  399. package/dist/cdn/W5Z2EI2D.js +0 -2
  400. package/dist/cdn/WAUIROBC.js +0 -2
  401. package/dist/cdn/WOGALV3T.js +0 -2
  402. package/dist/cdn/WULMITJI.js +0 -2
  403. package/dist/cdn/WYDO2IF4.js +0 -2
  404. package/dist/cdn/WYIHJMCL.js +0 -2
  405. package/dist/cdn/XE6MQ6IR.js +0 -2
  406. package/dist/cdn/ZLI33FIZ.js +0 -2
  407. package/dist/cdn/ZQPCVZ2Z.js +0 -2
  408. package/dist/chunks/index5.js +0 -69
  409. package/dist/chunks/type-guards2.js +0 -113
  410. package/dist/chunks/utils2.js +0 -63
@@ -1,22 +1,19 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { substitute as M } from "@arcgis/core/intl.js";
3
- import { cloneDeep as te, memoize as He, isEmpty as Ue, isEqual as je } from "es-toolkit/compat";
3
+ import { cloneDeep as te, memoize as We, isEmpty as Ue, isEqual as je } from "es-toolkit/compat";
4
4
  import { S as ce } from "./common.js";
5
- import { Z as L, aP as X, bo as Ze, bX as Ke, bY as _e, bM as Ne, g as Qe, q as ie, X as ze, W as Ge, bZ as Je, P as ge, a$ as et, b_ as tt, O as it, u as st, b$ as at, aQ as rt, R as nt, c0 as ot, $ as lt, bE as ct, c1 as ut, c2 as Se, c3 as dt, c4 as yt, c5 as mt, Q as gt, c6 as Fe, c7 as _, bO as pt, aR as q, a_ as Q, N as ft, t as j, a2 as Oe, c8 as Y, bK as U, c9 as St, ca as Ft, cb as O, cc as V, cd as he, bL as Te } from "./index.js";
6
- import { u as $, s as Ve, g as pe, a as qe, b as ht, c as Tt, d as z, e as xe } from "./utils.js";
7
- import { a as w, s as fe, g as se, b as Be, c as xt } from "./data.js";
8
- import { a as x, d as I, f as Bt, l as R, t as N, h as W, g as Ct, b as bt, e as ue } from "./chart-object-literals.js";
9
- import { d as Re, b as At } from "./rest-js-object-literals.js";
10
- import { i as ae } from "./index4.js";
11
- import { q as vt, I as G, X as J, Y as de, J as It, Z as Lt, _ as Dt, $ as Nt, a0 as Ot, k as Vt } from "./index3.js";
12
- import { a as P, C as Ce, b as k } from "./index2.js";
13
- import { g as ke, s as qt } from "./series-types.js";
14
- import { C as Rt, m as kt } from "./model-setter.js";
5
+ import { aa as L, b6 as X, bI as Ze, cl as Ke, l as ue, c3 as _e, cm as Qe, c9 as Ne, g as ze, r as ie, a8 as Ge, a6 as Je, cn as et, x as w, Z as ge, bj as tt, co as it, Y as st, v as at, cp as rt, b3 as nt, $ as ot, cq as lt, ad as ct, bZ as ut, cr as dt, cs as Se, ct as yt, cu as mt, cv as gt, C as Fe, _ as pt, cw as he, cx as _, B as k, cy as ft, b4 as q, bi as Q, X as St, u as j, ah as Oe, cz as Y, c5 as U, cA as Ft, cB as ht, cC as Tt, cD as O, cE as V, cF as Te, c8 as xe } from "./index.js";
6
+ import { g as se, u as $, s as Ve, a as pe, b as qe, c as xt, d as z, e as Be } from "./utils.js";
7
+ import { a as P, s as fe, g as ae, b as Ce, c as Bt } from "./data.js";
8
+ import { a as x, d as I, f as Ct, l as R, t as N, h as H, g as At, b as bt, e as de } from "./chart-object-literals.js";
9
+ import { d as Re, b as vt } from "./rest-js-object-literals.js";
10
+ import { i as re } from "./index3.js";
11
+ import { q as It, I as G, _ as J, $ as ye, J as Lt, a0 as Dt, a1 as Nt, a2 as Ot, a3 as Vt, k as qt } from "./index2.js";
12
+ import { g as ke, s as Rt } from "./series-types.js";
13
+ import { C as kt, m as wt } from "./model-setter.js";
15
14
  import { convertChartSpec as Pt } from "../utils/chart-config/converter/index.js";
16
- import { i as ye, b as wt } from "./type-guards.js";
17
- import { g as re } from "./utils2.js";
18
15
  import { b as Et, g as Mt } from "./series-length.js";
19
- const ki = (i) => {
16
+ const Vi = (i) => {
20
17
  let e;
21
18
  const t = i.series[0];
22
19
  return L(t) && (e = t.temporalBinning?.size), e;
@@ -24,15 +21,15 @@ const ki = (i) => {
24
21
  let e;
25
22
  const t = i.series[0];
26
23
  return L(t) && (e = t.temporalBinning?.unit), e;
27
- }, Pi = (i) => {
24
+ }, qi = (i) => {
28
25
  let e;
29
26
  const t = i.series[0];
30
27
  return L(t) && (e = t.temporalBinning?.timeAggregationType), e;
31
- }, wi = (i) => {
28
+ }, Ri = (i) => {
32
29
  let e;
33
30
  const t = i.series[0];
34
31
  return L(t) && (e = t.temporalBinning?.trimIncompleteTimeInterval), e;
35
- }, Ei = (i) => {
32
+ }, ki = (i) => {
36
33
  let e;
37
34
  const t = i.series[0];
38
35
  return L(t) && (e = t.temporalBinning?.nullPolicy), e;
@@ -44,38 +41,38 @@ const ki = (i) => {
44
41
  e?.series?.forEach((t) => {
45
42
  L(t) && (t.temporalBinning ??= {}, t.temporalBinning.nullPolicy = i);
46
43
  });
47
- }, Mi = (i, e) => {
44
+ }, wi = (i, e) => {
48
45
  e.series?.forEach((t) => {
49
46
  L(t) && (t.temporalBinning ??= {}, t.temporalBinning.unit = i);
50
47
  });
51
- }, Yi = (i, e) => {
48
+ }, Pi = (i, e) => {
52
49
  e.series?.forEach((t) => {
53
50
  L(t) && (t.temporalBinning ??= {}, t.temporalBinning.timeAggregationType = i);
54
51
  });
55
- }, $i = (i, e) => {
52
+ }, Ei = (i, e) => {
56
53
  e.series?.forEach((t) => {
57
54
  L(t) && (t.temporalBinning ??= {}, t.temporalBinning.trimIncompleteTimeInterval = i);
58
55
  });
59
- }, Wt = (i) => {
56
+ }, Ht = (i) => {
60
57
  $t(0, i);
61
58
  };
62
- var Ht = Object.defineProperty, Ut = Object.getOwnPropertyDescriptor, jt = (i, e, t, a) => {
63
- for (var s = Ut(e, t), r = i.length - 1, n; r >= 0; r--)
64
- (n = i[r]) && (s = n(e, t, s) || s);
65
- return s && Ht(e, t, s), s;
59
+ var Wt = Object.defineProperty, Ut = Object.getOwnPropertyDescriptor, jt = (i, e, t, r) => {
60
+ for (var s = Ut(e, t), a = i.length - 1, n; a >= 0; a--)
61
+ (n = i[a]) && (s = n(e, t, s) || s);
62
+ return s && Wt(e, t, s), s;
66
63
  };
67
64
  const Zt = (i) => {
68
65
  let e;
69
66
  return X(i) ? e = i.outTimeZone : i?.series.forEach((t) => {
70
67
  (t.type === x.BarSeries || t.type === x.RadarSeries || t.type === x.LineSeries) && t.temporalBinning && (e = t.temporalBinning.outTimeZone);
71
68
  }), e || (e = i?.axes?.[0]?.valueFormat.type === x.DateAxisFormat ? i.axes[0].valueFormat.intlOptions.timeZone : void 0), e;
72
- }, Pe = (i, e) => {
69
+ }, we = (i, e) => {
73
70
  const t = Ze(i);
74
- X(e) ? i ? e.outTimeZone = t : delete e.outTimeZone : e?.series.forEach((a) => {
75
- (a.type === x.BarSeries || a.type === x.RadarSeries || a.type === x.LineSeries) && (i ? (a.temporalBinning ??= {}, a.temporalBinning.outTimeZone = t) : a.temporalBinning && delete a.temporalBinning.outTimeZone);
71
+ X(e) ? i ? e.outTimeZone = t : delete e.outTimeZone : e?.series.forEach((r) => {
72
+ (r.type === x.BarSeries || r.type === x.RadarSeries || r.type === x.LineSeries) && (i ? (r.temporalBinning ??= {}, r.temporalBinning.outTimeZone = t) : r.temporalBinning && delete r.temporalBinning.outTimeZone);
76
73
  }), e?.axes?.[0]?.valueFormat.type === x.DateAxisFormat && (i ? e.axes[0].valueFormat.intlOptions.timeZone = t : delete e.axes[0].valueFormat.intlOptions.timeZone);
77
74
  };
78
- class Kt extends Rt {
75
+ class Kt extends kt {
79
76
  /**
80
77
  * Gets the time zone for the chart.
81
78
  */
@@ -83,21 +80,21 @@ class Kt extends Rt {
83
80
  return Zt(this._config);
84
81
  }
85
82
  set timeZone(e) {
86
- Pe(e, this._config), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"));
83
+ we(e, this._config), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"));
87
84
  }
88
85
  }
89
86
  jt([
90
- kt
87
+ wt
91
88
  ], Kt.prototype, "timeZone");
92
- function Xi(i, e) {
89
+ function Mi(i, e) {
93
90
  let t;
94
91
  return e !== void 0 && (t = { ...e }, t.legend !== void 0 && (t.legend.position = i)), t;
95
92
  }
96
- function Wi(i, e) {
93
+ function Yi(i, e) {
97
94
  let t;
98
95
  return e !== void 0 && (t = { ...e }, t.legend !== void 0 && (t.legend.visible = i)), t;
99
96
  }
100
- function Hi(i, e) {
97
+ function $i(i, e) {
101
98
  let t;
102
99
  return e !== void 0 && (t = { ...e, rotated: i }), t;
103
100
  }
@@ -105,65 +102,65 @@ function _t(i) {
105
102
  let e;
106
103
  return i !== void 0 && (e = { ...i }, delete e.axes?.[0]?.minimum, delete e.axes?.[0]?.maximum, delete e.axes?.[1]?.minimum, delete e.axes?.[1]?.maximum), e;
107
104
  }
108
- function Ui(i, e) {
105
+ function Xi(i, e) {
109
106
  return e != null || Ne(i);
110
107
  }
111
- async function ji(i) {
112
- const { config: e, layer: t, abortSignal: a } = i;
108
+ async function Hi(i) {
109
+ const { config: e, layer: t, abortSignal: r } = i;
113
110
  let s = !1;
114
- return ye(t) || wt(e) ? e && ye(t) && (s = await _e({ config: e, layer: t, abortSignal: a })) : s = !0, s;
111
+ return ue(t) || _e(e) ? e && ue(t) && (s = await Qe({ config: e, layer: t, abortSignal: r })) : s = !0, s;
115
112
  }
116
113
  async function Qt(i) {
117
114
  const {
118
115
  queryObject: e,
119
116
  chartConfig: t,
120
- splitByField: a,
117
+ splitByField: r,
121
118
  errorStrings: s,
122
- abortSignal: r,
119
+ abortSignal: a,
123
120
  runtimeDataFilters: n,
124
121
  ignoreViewExtent: o,
125
- setTimeBinningInfoWhenNotProvided: l,
126
- returnFeaturesExtent: c,
127
- returnStatisticsAggregatedIds: g,
122
+ setTimeBinningInfoWhenNotProvided: c,
123
+ returnFeaturesExtent: l,
124
+ returnStatisticsAggregatedIds: m,
128
125
  chartLimits: f
129
126
  } = i;
130
127
  let p = [], u;
131
- const d = te(t), y = d.series[0], m = ot({
128
+ const d = te(t), y = d.series[0], g = lt({
132
129
  queryObject: e,
133
130
  chartConfig: d,
134
131
  runtimeDataFilters: n,
135
132
  ignoreViewExtent: o
136
133
  });
137
- if (m.outStatistics?.[0]?.outStatisticFieldName && (m.outStatistics[0].outStatisticFieldName = vt.outStatistics.outStatisticFieldName), L(y) && lt({
138
- xAxisValueFormatType: ct(d),
139
- setTimeBinningInfoWhenNotProvided: l,
134
+ if (g.outStatistics?.[0]?.outStatisticFieldName && (g.outStatistics[0].outStatisticFieldName = It.outStatistics.outStatisticFieldName), L(y) && ct({
135
+ xAxisValueFormatType: ut(d),
136
+ setTimeBinningInfoWhenNotProvided: c,
140
137
  seriesConfig: y,
141
138
  queryObject: e
142
- }) && ut(a, e)) {
139
+ }) && dt(r, e)) {
143
140
  const { temporalBinning: F, x: S } = y, { uniqueQuery: h } = Se({
144
141
  chartConfig: d,
145
- queryConfig: m,
142
+ queryConfig: g,
146
143
  queryObject: e,
147
- setTimeBinningInfoWhenNotProvided: l,
148
- returnFeaturesExtent: c,
144
+ setTimeBinningInfoWhenNotProvided: c,
145
+ returnFeaturesExtent: l,
149
146
  chartLimits: f
150
- }), b = t.axes?.[0].valueFormat.type === x.DateAxisFormat ? t.axes[0].valueFormat.intlOptions.timeZone : void 0;
151
- u = await dt({
147
+ }), A = t.axes?.[0].valueFormat.type === x.DateAxisFormat ? t.axes[0].valueFormat.intlOptions.timeZone : void 0;
148
+ u = await yt({
152
149
  queryObject: e,
153
150
  dateField: S,
154
- splitByField: a,
151
+ splitByField: r,
155
152
  queryConfig: h,
156
- axisTimeZone: b,
153
+ axisTimeZone: A,
157
154
  temporalBinning: F,
158
- returnStatisticsAggregatedIds: g,
155
+ returnStatisticsAggregatedIds: m,
159
156
  errorStrings: s,
160
- abortSignal: r
157
+ abortSignal: a
161
158
  }), p = Array.from(
162
159
  new Set(
163
160
  u.flatMap((C) => {
164
161
  const { stackedAttributes: T } = C;
165
- let A = [];
166
- return T && (A = T.map((v) => v[a]).filter((v) => v !== void 0)), A;
162
+ let b = [];
163
+ return T && (b = T.map((v) => v[r]).filter((v) => v !== void 0)), b;
167
164
  })
168
165
  ).values()
169
166
  );
@@ -171,28 +168,28 @@ async function Qt(i) {
171
168
  const { uniqueQuery: F } = Se({
172
169
  chartConfig: d,
173
170
  queryObject: e,
174
- queryConfig: m,
175
- setTimeBinningInfoWhenNotProvided: l,
176
- returnFeaturesExtent: c,
171
+ queryConfig: g,
172
+ setTimeBinningInfoWhenNotProvided: c,
173
+ returnFeaturesExtent: l,
177
174
  chartLimits: f
178
- }), { elementCount: S } = await yt({
175
+ }), { elementCount: S } = await mt({
179
176
  chartConfig: d,
180
177
  queryObject: e,
181
- queryConfig: m,
178
+ queryConfig: g,
182
179
  behaviorAfterLimit: f?.behaviorAfterLimit,
183
180
  numberMaxOfFeaturesToFetch: F.num,
184
- abortSignal: r
181
+ abortSignal: a
185
182
  });
186
- u = await mt({
183
+ u = await gt({
187
184
  queryObject: e,
188
185
  queryConfig: F,
189
186
  featureCount: S,
190
- returnStatisticsAggregatedIds: g,
187
+ returnStatisticsAggregatedIds: m,
191
188
  errorStrings: s,
192
- abortSignal: r
189
+ abortSignal: a
193
190
  }), p = Array.from(
194
191
  new Set(
195
- u.map((h) => h.attributes[a]).filter((h) => h !== void 0)
192
+ u.map((h) => h.attributes[r]).filter((h) => h !== void 0)
196
193
  ).values()
197
194
  );
198
195
  }
@@ -200,9 +197,9 @@ async function Qt(i) {
200
197
  }
201
198
  function zt(i, e) {
202
199
  const t = /* @__PURE__ */ new Map();
203
- return i.series.forEach((a) => {
200
+ return i.series.forEach((r) => {
204
201
  let s = ge({
205
- where: a.query?.where,
202
+ where: r.query?.where,
206
203
  // normalize the value so it matches what we get from getAllValues()
207
204
  // Refer to https://devtopia.esri.com/WebGIS/arcgis-charts/issues/8127
208
205
  normalize: !0,
@@ -211,87 +208,87 @@ function zt(i, e) {
211
208
  escape: !1
212
209
  });
213
210
  e && s !== null && (s = Number(s));
214
- const r = ke([a]);
215
- r !== void 0 && t.set(r, [
216
- ...t.get(r) ?? [],
211
+ const a = ke([r]);
212
+ a !== void 0 && t.set(a, [
213
+ ...t.get(a) ?? [],
217
214
  s
218
215
  ]);
219
216
  }), t;
220
217
  }
221
218
  function Gt(i) {
222
- const { allValues: e, configUniqueValuesPerSeriesType: t, initialConfigWasEmpty: a } = i, s = /* @__PURE__ */ new Map();
223
- return Array.from(t.keys()).forEach((r) => {
224
- const n = t.get(r) ?? [];
219
+ const { allValues: e, configUniqueValuesPerSeriesType: t, initialConfigWasEmpty: r } = i, s = /* @__PURE__ */ new Map();
220
+ return Array.from(t.keys()).forEach((a) => {
221
+ const n = t.get(a) ?? [];
225
222
  let o = [];
226
- a ? o = e : e.forEach((l) => {
227
- n.includes(l) || o.push(l);
228
- }), s.set(r, o);
223
+ r ? o = e : e.forEach((c) => {
224
+ n.includes(c) || o.push(c);
225
+ }), s.set(a, o);
229
226
  }), s;
230
227
  }
231
228
  function Jt(i) {
232
- const { chartConfig: e, missingValue: t, splitByField: a, seriesTemplate: s } = i, r = JSON.parse(
229
+ const { chartConfig: e, missingValue: t, splitByField: r, seriesTemplate: s } = i, a = JSON.parse(
233
230
  JSON.stringify({
234
231
  ...e.series[0],
235
232
  ...s
236
233
  })
237
234
  );
238
- if (r.query) {
239
- if (t === null ? r.id = Ce.nullValue : t === "" ? r.id = Ce.emptyStringValue : r.id = `${t}`, r.name = `${t}`, r.query.outStatistics?.[0] !== void 0) {
240
- const o = r.id;
241
- r.query.outStatistics[0].outStatisticFieldName = o, "y" in r && (r.y = o);
235
+ if (a.query) {
236
+ if (t === null ? a.id = Fe.nullValue : t === "" ? a.id = Fe.emptyStringValue : a.id = `${t}`, a.name = `${t}`, a.query.outStatistics?.[0] !== void 0) {
237
+ const o = a.id;
238
+ a.query.outStatistics[0].outStatisticFieldName = o, "y" in a && (a.y = o);
242
239
  }
243
240
  const n = typeof t == "number" || t === null ? t : `'${t}'`;
244
- r.query.where = `${a}=${n}`;
241
+ a.query.where = `${r}=${n}`;
245
242
  }
246
- return r;
243
+ return a;
247
244
  }
248
245
  async function ei(i) {
249
246
  const {
250
247
  updateSplitBySeries: e,
251
248
  config: t,
252
- queryObject: a,
249
+ queryObject: r,
253
250
  errorStrings: s,
254
- abortSignal: r,
251
+ abortSignal: a,
255
252
  runtimeDataFilters: n,
256
253
  ignoreViewExtent: o,
257
- setTimeBinningInfoWhenNotProvided: l,
258
- returnFeaturesExtent: c,
259
- returnStatisticsAggregatedIds: g,
254
+ setTimeBinningInfoWhenNotProvided: c,
255
+ returnFeaturesExtent: l,
256
+ returnStatisticsAggregatedIds: m,
260
257
  chartLimits: f
261
258
  } = i, { seriesTemplate: p } = e ?? {};
262
259
  let u;
263
- if (a && !ye(a) && e !== void 0 && t !== void 0 && (t.series.length > 0 || p !== void 0) && e.addMissingSeries) {
260
+ if (r && !ue(r) && e !== void 0 && t !== void 0 && (t.series.length > 0 || p !== void 0) && e.addMissingSeries) {
264
261
  const d = t.series.length === 0;
265
262
  t.series.length === 0 && p !== void 0 && t.series.push(p);
266
263
  const y = ie(t.series);
267
- if (y === P.BoxPlotC5MonoFieldAndSplitBy || y === P.BoxPlotC6MultiFieldsAndSplitBy || y === P.BoxPlotC7MonoFieldAndCategoryAndSplitBy || y === P.BarAndLineSplitBy || y === P.BarAndLineSplitByNoAggregation) {
268
- const m = it(t.series[0]?.query?.where), F = st(a), S = at(m, F), h = S ? rt(S) : !1, b = await Qt({
269
- queryObject: a,
264
+ if (y === w.BoxPlotC5MonoFieldAndSplitBy || y === w.BoxPlotC6MultiFieldsAndSplitBy || y === w.BoxPlotC7MonoFieldAndCategoryAndSplitBy || y === w.BarAndLineSplitBy || y === w.BarAndLineSplitByNoAggregation) {
265
+ const g = st(t.series[0]?.query?.where), F = at(r), S = rt(g, F), h = S ? nt(S) : !1, A = await Qt({
266
+ queryObject: r,
270
267
  chartConfig: t,
271
- splitByField: m,
272
- abortSignal: r,
268
+ splitByField: g,
269
+ abortSignal: a,
273
270
  runtimeDataFilters: n,
274
271
  ignoreViewExtent: o,
275
- setTimeBinningInfoWhenNotProvided: l,
276
- returnFeaturesExtent: c,
277
- returnStatisticsAggregatedIds: g,
272
+ setTimeBinningInfoWhenNotProvided: c,
273
+ returnFeaturesExtent: l,
274
+ returnStatisticsAggregatedIds: m,
278
275
  chartLimits: f,
279
276
  errorStrings: s
280
- }), { allValues: C } = b;
281
- if ({ preFetchedQueryResponse: u } = b, C.length > 0) {
282
- const T = zt(t, h), A = Gt({
277
+ }), { allValues: C } = A;
278
+ if ({ preFetchedQueryResponse: u } = A, C.length > 0) {
279
+ const T = zt(t, h), b = Gt({
283
280
  allValues: C,
284
281
  configUniqueValuesPerSeriesType: T,
285
282
  initialConfigWasEmpty: d
286
283
  });
287
- Array.from(A.keys()).forEach((v) => {
288
- (A.get(v) ?? []).forEach((D) => {
284
+ Array.from(b.keys()).forEach((v) => {
285
+ (b.get(v) ?? []).forEach((D) => {
289
286
  t.series.push(
290
287
  Jt({
291
288
  chartConfig: t,
292
289
  seriesTemplate: p,
293
290
  missingValue: D,
294
- splitByField: m
291
+ splitByField: g
295
292
  })
296
293
  );
297
294
  }), d && t.series.shift();
@@ -302,148 +299,148 @@ async function ei(i) {
302
299
  return u;
303
300
  }
304
301
  function ti(i, e) {
305
- e && !Ne(e) && (e = tt({ chartConfig: e, queryObject: i }));
302
+ e && !Ne(e) && (e = it({ chartConfig: e, queryObject: i }));
306
303
  }
307
- async function Zi(i) {
304
+ async function Wi(i) {
308
305
  const {
309
306
  configToAlter: e,
310
307
  layer: t,
311
- addMissingSeries: a,
308
+ addMissingSeries: r,
312
309
  updateSplitBySeries: s,
313
- chartContainer: r,
310
+ chartContainer: a,
314
311
  queryObject: n,
315
312
  abortSignal: o,
316
- runtimeDataFilters: l,
317
- ignoreViewExtent: c,
318
- setTimeBinningInfoWhenNotProvided: g,
313
+ runtimeDataFilters: c,
314
+ ignoreViewExtent: l,
315
+ setTimeBinningInfoWhenNotProvided: m,
319
316
  returnFeaturesExtent: f,
320
317
  returnStatisticsAggregatedIds: p,
321
318
  chartLimits: u,
322
319
  timeZone: d,
323
320
  errorStrings: y
324
321
  } = i;
325
- let m = e, F;
326
- return m && (ti(t, m), m = await Pt(m, t, void 0, o), a && n && (F = await ei({
322
+ let g = e, F;
323
+ return g && (ti(t, g), g = await Pt(g, t, void 0, o), r && n && (F = await ei({
327
324
  updateSplitBySeries: s,
328
- config: m,
325
+ config: g,
329
326
  queryObject: n,
330
327
  errorStrings: y,
331
328
  abortSignal: o,
332
- runtimeDataFilters: l,
333
- ignoreViewExtent: c,
334
- setTimeBinningInfoWhenNotProvided: g,
329
+ runtimeDataFilters: c,
330
+ ignoreViewExtent: l,
331
+ setTimeBinningInfoWhenNotProvided: m,
335
332
  returnFeaturesExtent: f,
336
333
  returnStatisticsAggregatedIds: p,
337
334
  chartLimits: u
338
- })), m = Ke(m, r), Pe(d, m)), { alteredConfig: m, preFetchedQueryResponse: F };
335
+ })), g = Ke(g, a), we(d, g)), { alteredConfig: g, preFetchedQueryResponse: F };
339
336
  }
340
337
  function ii(i, e) {
341
338
  let t = !1;
342
339
  if (e !== void 0) {
343
- const a = nt({ key: gt.Average, splitBy: e });
344
- t = Number.isFinite(i[a]);
340
+ const r = ot({ key: pt.Average, splitBy: e });
341
+ t = Number.isFinite(i[r]);
345
342
  }
346
343
  return t;
347
344
  }
348
- function Ki(i) {
349
- const { data: e, config: t, showEmptySeries: a } = i, s = t.series.length, r = te(t);
345
+ function Ui(i) {
346
+ const { data: e, config: t, showEmptySeries: r } = i, s = t.series.length, a = te(t);
350
347
  let n = !1;
351
- if (!a && s > 1 && e) {
352
- const o = Qe(e), l = ke(t?.series), c = ie(t?.series), g = /* @__PURE__ */ new Set();
353
- switch (l) {
348
+ if (!r && s > 1 && e) {
349
+ const o = ze(e), c = ke(t?.series), l = ie(t?.series), m = /* @__PURE__ */ new Set();
350
+ switch (c) {
354
351
  case x.ComboLineAndBarSeries:
355
352
  case x.BarSeries:
356
353
  case x.RadarSeries:
357
354
  case x.LineSeries: {
358
- r.series.forEach((p) => {
355
+ a.series.forEach((p) => {
359
356
  if (Array.isArray(o)) {
360
357
  let u = "";
361
- "y" in p && (u = Array.isArray(p.y) ? p.y[0] : p.y, c === P.BarAndLineSplitByNoAggregation && (u = `${u}_${ge({ where: p.query?.where, keepSurroundingQuotes: !1, escape: !1 })}`), o.some(
362
- (y) => et({
358
+ "y" in p && (u = Array.isArray(p.y) ? p.y[0] : p.y, l === w.BarAndLineSplitByNoAggregation && (u = `${u}_${ge({ where: p.query?.where, keepSurroundingQuotes: !1, escape: !1 })}`), o.some(
359
+ (y) => tt({
363
360
  dataItem: y,
364
361
  x: p.x,
365
362
  y: u,
366
363
  aggregationType: t.series[0].query?.outStatistics?.[0]?.statisticType
367
364
  })
368
- ) && g.add(p));
365
+ ) && m.add(p));
369
366
  }
370
367
  });
371
368
  break;
372
369
  }
373
370
  case x.BoxPlotSeries: {
374
- if (ze(t)) {
375
- const p = Ge(t);
371
+ if (Ge(t)) {
372
+ const p = Je(t);
376
373
  t.series.forEach((u) => {
377
374
  let d, y;
378
375
  u.type === x.BoxPlotSeries ? (d = e.dataItems, y = d?.some(
379
- (m) => Je({
380
- dataItem: m,
376
+ (g) => et({
377
+ dataItem: g,
381
378
  splitBy: u.query?.where,
382
379
  showOutliers: p
383
380
  })
384
381
  )) : u.type === x.LineSeries && (d = e.meanLines, y = d?.some(
385
- (m) => ii(m, u.query?.where)
386
- )), y && g.add(u);
382
+ (g) => ii(g, u.query?.where)
383
+ )), y && m.add(u);
387
384
  });
388
385
  }
389
386
  break;
390
387
  }
391
388
  }
392
- const f = Array.from(g.values());
393
- n = f.length > 0 && f.length < s, n && (r.series = f);
389
+ const f = Array.from(m.values());
390
+ n = f.length > 0 && f.length < s, n && (a.series = f);
394
391
  }
395
- return { seriesFilteredOut: n, filteredConfig: r };
392
+ return { seriesFilteredOut: n, filteredConfig: a };
396
393
  }
397
- const _i = (i) => i.hideEmptyRowsAndColumns, Qi = (i, e) => {
394
+ const ji = (i) => i.hideEmptyRowsAndColumns, Zi = (i, e) => {
398
395
  i.hideEmptyRowsAndColumns = e;
399
- }, zi = (i, e) => {
396
+ }, Ki = (i, e) => {
400
397
  const t = i.series[0];
401
398
  t.heatRulesType = e;
402
- }, Gi = (i) => i.series[0].heatRulesType, Ji = (i, e) => {
399
+ }, _i = (i) => i.series[0].heatRulesType, Qi = (i, e) => {
403
400
  const t = i.series[0];
404
401
  t.gradientRules = e;
405
- }, es = (i) => i.series[0].gradientRules, ts = (i) => {
406
- const { yField: e, config: t, layerInfo: a, commonStrings: s } = i, { layerFieldsInfo: r } = a, n = re(1, t), o = si(t), l = ae(t), c = t.series[0];
407
- if (typeof e == "string" && o !== e && c) {
408
- if (c.y = e, _t(t), o === n || l) {
409
- const g = k(r, e);
410
- $(t, 1, g);
402
+ }, zi = (i) => i.series[0].gradientRules, Gi = (i) => {
403
+ const { yField: e, config: t, layerInfo: r, commonStrings: s } = i, { layerFieldsInfo: a } = r, n = se(1, t), o = si(t), c = re(t), l = t.series[0];
404
+ if (typeof e == "string" && o !== e && l) {
405
+ if (l.y = e, _t(t), o === n || c) {
406
+ const m = k(a, e);
407
+ $(t, 1, m);
411
408
  }
412
- we({ commonStrings: s, config: t, layerInfo: a });
409
+ Pe({ commonStrings: s, config: t, layerInfo: r });
413
410
  }
414
- }, si = (i) => i.series[0].y ?? "", is = (i) => {
415
- const { binning: e, config: t, commonStrings: a } = i, s = t.series[0];
416
- if (s.xTemporalBinning = e, e?.unit !== void 0 && e.unit in a.utilsStrings.heatChartCalendarDatePartsUnits) {
417
- const r = a.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
418
- $(t, 0, r);
411
+ }, si = (i) => i.series[0].y ?? "", Ji = (i) => {
412
+ const { binning: e, config: t, commonStrings: r } = i, s = t.series[0];
413
+ if (s.xTemporalBinning = e, e?.unit !== void 0 && e.unit in r.utilsStrings.heatChartCalendarDatePartsUnits) {
414
+ const a = r.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
415
+ $(t, 0, a);
419
416
  }
420
- ee({ axisIndex: 0, commonStrings: a, config: t });
421
- }, ai = (i) => i.series[0].xTemporalBinning, ss = (i) => {
422
- const { binning: e, config: t, commonStrings: a } = i, s = t.series[0];
423
- if (s.yTemporalBinning = e, e?.unit !== void 0 && e.unit in a.utilsStrings.heatChartCalendarDatePartsUnits) {
424
- const r = a.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
425
- $(t, 1, r);
417
+ ee({ axisIndex: 0, commonStrings: r, config: t });
418
+ }, ai = (i) => i.series[0].xTemporalBinning, es = (i) => {
419
+ const { binning: e, config: t, commonStrings: r } = i, s = t.series[0];
420
+ if (s.yTemporalBinning = e, e?.unit !== void 0 && e.unit in r.utilsStrings.heatChartCalendarDatePartsUnits) {
421
+ const a = r.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
422
+ $(t, 1, a);
426
423
  }
427
- ee({ axisIndex: 1, commonStrings: a, config: t });
424
+ ee({ axisIndex: 1, commonStrings: r, config: t });
428
425
  }, ri = (i) => i.series[0].yTemporalBinning, ni = (i, e) => {
429
426
  e.orderOptions ??= {};
430
- const t = e.axes?.[0]?.valueFormat?.type === "category" ? N.Category : N.YValue, a = me(e)[0], s = e.axes?.[1]?.valueFormat?.type === "category" ? N.Category : N.YValue, r = me(e)[1], n = {
427
+ const t = e.axes?.[0]?.valueFormat?.type === "category" ? N.Category : N.YValue, r = me(e)[0], s = e.axes?.[1]?.valueFormat?.type === "category" ? N.Category : N.YValue, a = me(e)[1], n = {
431
428
  ...e.orderOptions.data ?? {},
432
429
  orderType: N.MultiAxes
433
430
  };
434
- a === ce.customSort && t === N.Category && (n.orderByX = [...i]), r === ce.customSort && s === N.Category && (n.orderByY = [...i]), Object.keys(n).length > 1 && (e.orderOptions.data = n);
435
- }, as = (i, e) => {
431
+ r === ce.customSort && t === N.Category && (n.orderByX = [...i]), a === ce.customSort && s === N.Category && (n.orderByY = [...i]), Object.keys(n).length > 1 && (e.orderOptions.data = n);
432
+ }, ts = (i, e) => {
436
433
  const t = e.series[0];
437
434
  t.gridLine && (t.gridLine.width = i);
438
- }, rs = (i) => i.series[0].gridLine?.width, ns = (i, e) => {
439
- const t = e.series[0], a = i?.length === 4 && i.every((s) => typeof s == "number");
440
- t.gridLine && a && (t.gridLine.color = i);
441
- }, os = (i) => i.series[0].gridLine?.color, ls = (i, e) => {
435
+ }, is = (i) => i.series[0].gridLine?.width, ss = (i, e) => {
436
+ const t = e.series[0], r = i?.length === 4 && i.every((s) => typeof s == "number");
437
+ t.gridLine && r && (t.gridLine.color = i);
438
+ }, as = (i) => i.series[0].gridLine?.color, rs = (i, e) => {
442
439
  const t = e.legend;
443
440
  t && (t.position = i);
444
- }, cs = (i) => i.legend?.position ?? Bt.Bottom, us = (i) => i.series[0].query?.outStatistics?.[0]?.onStatisticField, ds = (i) => {
445
- const { field: e, config: t, layerInfo: a, commonStrings: s } = i, r = t.series[0].query?.outStatistics?.[0], n = le(t, a, s);
446
- r ? (r.onStatisticField = e, r.outStatisticFieldName = `${r.statisticType}_${e}`) : t.series[0].query = {
441
+ }, ns = (i) => i.legend?.position ?? Ct.Bottom, os = (i) => i.series[0].query?.outStatistics?.[0]?.onStatisticField, ls = (i) => {
442
+ const { field: e, config: t, layerInfo: r, commonStrings: s } = i, a = t.series[0].query?.outStatistics?.[0], n = le(t, r, s);
443
+ a ? (a.onStatisticField = e, a.outStatisticFieldName = `${a.statisticType}_${e}`) : t.series[0].query = {
447
444
  outStatistics: [
448
445
  {
449
446
  onStatisticField: e,
@@ -451,53 +448,53 @@ const _i = (i) => i.hideEmptyRowsAndColumns, Qi = (i, e) => {
451
448
  statisticType: I.Count
452
449
  }
453
450
  ]
454
- }, n && t.title && (t.title.content.text = Z(t, a, s));
455
- }, ys = (i) => i.series[0].query?.outStatistics?.[0].statisticType ?? I.Count, ms = (i) => {
456
- const { aggregationType: e, config: t, layerInfo: a, commonStrings: s } = i, r = t.series[0]?.query?.outStatistics?.[0], n = le(t, a, s);
457
- r && e !== I.NoAggregation && (r.statisticType = e, r.outStatisticFieldName = `${e}_${r.onStatisticField}`), (e === I.Count || e === I.Sum) && oi(W.Zero, t), n && t.title && (t.title.content.text = Z(t, a, s));
458
- }, gs = (i) => i.nullPolicy, oi = (i, e) => {
451
+ }, n && t.title && (t.title.content.text = Z(t, r, s));
452
+ }, cs = (i) => i.series[0].query?.outStatistics?.[0].statisticType ?? I.Count, us = (i) => {
453
+ const { aggregationType: e, config: t, layerInfo: r, commonStrings: s } = i, a = t.series[0]?.query?.outStatistics?.[0], n = le(t, r, s);
454
+ a && e !== I.NoAggregation && (a.statisticType = e, a.outStatisticFieldName = `${e}_${a.onStatisticField}`), (e === I.Count || e === I.Sum) && oi(H.Zero, t), n && t.title && (t.title.content.text = Z(t, r, s));
455
+ }, ds = (i) => i.nullPolicy, oi = (i, e) => {
459
456
  e.nullPolicy = i;
460
- }, ps = (i) => i.series[0].emptyCells, fs = (i, e) => {
457
+ }, ys = (i) => i.series[0].emptyCells, ms = (i, e) => {
461
458
  e.series[0].emptyCells = i;
462
- }, Ss = (i) => i.series[0].emptyCells?.text, Fs = (i, e) => {
459
+ }, gs = (i) => i.series[0].emptyCells?.text, ps = (i, e) => {
463
460
  e.series[0].emptyCells ? e.series[0].emptyCells.text = i : e.series[0].emptyCells = { text: i };
464
- }, hs = (i) => i.includeLeapDay, Ts = (i, e) => {
461
+ }, fs = (i) => i.includeLeapDay, Ss = (i, e) => {
465
462
  e.includeLeapDay = i;
466
- }, xs = (i) => i.series[0].emptyCells?.symbol, Bs = (i, e) => {
463
+ }, Fs = (i) => i.series[0].emptyCells?.symbol, hs = (i, e) => {
467
464
  e.series[0].emptyCells ? e.series[0].emptyCells.symbol = i : e.series[0].emptyCells = { symbol: i };
468
465
  };
469
- function Cs(i) {
466
+ function Ts(i) {
470
467
  return i.viewType;
471
468
  }
472
- function bs(i, e) {
473
- pt(e) || (e.viewType = i);
469
+ function xs(i, e) {
470
+ ft(e) || (e.viewType = i);
474
471
  }
475
- function As(i) {
472
+ function Bs(i) {
476
473
  return i.series[0].classBreaksRules?.breaksCount ?? G;
477
474
  }
478
- function vs(i, e) {
475
+ function Cs(i, e) {
479
476
  e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.breaksCount = i ?? G : e.series[0].classBreaksRules = {
480
477
  breaksCount: i ?? G
481
478
  };
482
479
  }
483
- function Is(i) {
480
+ function As(i) {
484
481
  return i.series[0].classBreaksRules?.classificationMethod;
485
482
  }
486
- function Ls(i, e) {
483
+ function bs(i, e) {
487
484
  e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.classificationMethod = i : e.series[0].classBreaksRules = {
488
485
  classificationMethod: i
489
486
  }, e.series[0].classBreaksRules.breaksCount = e.series[0].classBreaksRules.breaksCount ?? G;
490
487
  }
491
- function Ds(i, e) {
488
+ function vs(i, e) {
492
489
  e.firstDayOfWeek = i;
493
490
  }
494
- function Ns(i) {
491
+ function Is(i) {
495
492
  return i.firstDayOfWeek;
496
493
  }
497
- function Os(i) {
494
+ function Ls(i) {
498
495
  return i.series[0].classBreaksRules?.colorRampInfo?.name;
499
496
  }
500
- function Vs(i, e) {
497
+ function Ds(i, e) {
501
498
  e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.colorRampInfo = {
502
499
  ...e.series[0].classBreaksRules.colorRampInfo,
503
500
  name: i
@@ -508,10 +505,10 @@ function Vs(i, e) {
508
505
  }
509
506
  };
510
507
  }
511
- function qs(i) {
508
+ function Ns(i) {
512
509
  return i.series[0].classBreaksRules?.colorRampInfo?.flipped ?? !1;
513
510
  }
514
- function Rs(i, e) {
511
+ function Os(i, e) {
515
512
  e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.colorRampInfo = {
516
513
  ...e.series[0].classBreaksRules.colorRampInfo,
517
514
  flipped: i
@@ -524,12 +521,12 @@ function Rs(i, e) {
524
521
  const li = [
525
522
  R.DayOfMonth,
526
523
  R.MonthOfYear
527
- ], be = (i) => {
524
+ ], Ae = (i) => {
528
525
  let e;
529
- return _(i) ? e = de() : (q(i) || Q(i)) && (e = J()), e;
530
- }, Ae = (i) => q(i) || Q(i), ve = (i) => {
531
- const { axisIndex: e, commonStrings: t, config: a, valueFormat: s } = i, r = a.axes?.[e]?.valueFormat;
532
- s !== void 0 && r?.type !== s.type && Ve({ config: a, commonStrings: t, valueFormat: s, axisIndex: e });
526
+ return _(i) ? e = ye() : (q(i) || Q(i)) && (e = J()), e;
527
+ }, be = (i) => q(i) || Q(i), ve = (i) => {
528
+ const { axisIndex: e, commonStrings: t, config: r, valueFormat: s } = i, a = r.axes?.[e]?.valueFormat;
529
+ s !== void 0 && a?.type !== s.type && Ve({ config: r, commonStrings: t, valueFormat: s, axisIndex: e });
533
530
  }, ci = (i, e) => {
534
531
  let t;
535
532
  return e === 0 ? t = i.series[0]?.xTemporalBinning : e === 1 && (t = i.series[0]?.yTemporalBinning), t;
@@ -563,14 +560,14 @@ const li = [
563
560
  intlOptions: e
564
561
  };
565
562
  }, De = (i) => {
566
- const { axisIndex: e, binning: t, commonStrings: a, config: s, fieldName: r, layerInfo: n } = i, o = s.series[0], l = re(e, s), c = k(n.layerFieldsInfo, r);
567
- e === 0 ? o.xTemporalBinning = t : e === 1 && (o.yTemporalBinning = t), t !== void 0 && (l === "" || l === c || l === Ie(a, t.unit) || l === a.xAxis) && $(s, e, Ie(a, t.unit));
563
+ const { axisIndex: e, binning: t, commonStrings: r, config: s, fieldName: a, layerInfo: n } = i, o = s.series[0], c = se(e, s), l = k(n.layerFieldsInfo, a);
564
+ e === 0 ? o.xTemporalBinning = t : e === 1 && (o.yTemporalBinning = t), t !== void 0 && (c === "" || c === l || c === Ie(r, t.unit) || c === r.xAxis) && $(s, e, Ie(r, t.unit));
568
565
  }, ee = (i) => {
569
- const { axisIndex: e, commonStrings: t, config: a } = i, s = ci(a, e), r = s ? ui(s) : void 0;
570
- Ve({ config: a, commonStrings: t, valueFormat: r, axisIndex: e });
571
- }, we = (i) => {
572
- const { commonStrings: e, config: t, layerInfo: a } = i, s = t.series[0]?.x ?? "", r = t.series[0]?.y ?? "", n = Fe(a.layerFieldsInfo, s), o = Fe(a.layerFieldsInfo, r), l = be(n), c = be(o), g = Ae(n) && Ae(o), f = _(n) && _(o);
573
- if (ve({ axisIndex: 0, commonStrings: e, config: t, valueFormat: l }), ve({ axisIndex: 1, commonStrings: e, config: t, valueFormat: c }), g) {
566
+ const { axisIndex: e, commonStrings: t, config: r } = i, s = ci(r, e), a = s ? ui(s) : void 0;
567
+ Ve({ config: r, commonStrings: t, valueFormat: a, axisIndex: e });
568
+ }, Pe = (i) => {
569
+ const { commonStrings: e, config: t, layerInfo: r } = i, s = t.series[0]?.x ?? "", a = t.series[0]?.y ?? "", n = he(r.layerFieldsInfo, s), o = he(r.layerFieldsInfo, a), c = Ae(n), l = Ae(o), m = be(n) && be(o), f = _(n) && _(o);
570
+ if (ve({ axisIndex: 0, commonStrings: e, config: t, valueFormat: c }), ve({ axisIndex: 1, commonStrings: e, config: t, valueFormat: l }), m) {
574
571
  const p = ai(t) === void 0, u = ri(t) === void 0;
575
572
  p && (De({
576
573
  axisIndex: 0,
@@ -578,7 +575,7 @@ const li = [
578
575
  commonStrings: e,
579
576
  config: t,
580
577
  fieldName: s,
581
- layerInfo: a
578
+ layerInfo: r
582
579
  }), ee({
583
580
  axisIndex: 0,
584
581
  commonStrings: e,
@@ -588,8 +585,8 @@ const li = [
588
585
  binning: Le(1, t.series[0].xTemporalBinning),
589
586
  commonStrings: e,
590
587
  config: t,
591
- fieldName: r,
592
- layerInfo: a
588
+ fieldName: a,
589
+ layerInfo: r
593
590
  }), ee({
594
591
  axisIndex: 1,
595
592
  commonStrings: e,
@@ -601,57 +598,57 @@ const li = [
601
598
  function di(i) {
602
599
  const e = {};
603
600
  return i.series.forEach((t) => {
604
- qt(t) && "nullCategory" in t && t.nullCategory !== void 0 && (e.text ??= t.nullCategory.text, t.type === x.BarSeries ? e.fillSymbol ??= t.nullCategory.fillSymbol : e.markerSymbol ??= t.nullCategory.markerSymbol);
601
+ Rt(t) && "nullCategory" in t && t.nullCategory !== void 0 && (e.text ??= t.nullCategory.text, t.type === x.BarSeries ? e.fillSymbol ??= t.nullCategory.fillSymbol : e.markerSymbol ??= t.nullCategory.markerSymbol);
605
602
  }), e.text || e.fillSymbol || e.markerSymbol ? e : void 0;
606
603
  }
607
604
  function ne(i) {
608
- const { seriesIndex: e, xAxisField: t, aggregationType: a, config: s, layerInfo: r, commonStrings: n } = i, o = j(r?.layer).idField;
609
- let l;
610
- const c = s.series[e ?? 0];
611
- let g = !1, f = !1, p = !1;
612
- if (c === void 0) {
605
+ const { seriesIndex: e, xAxisField: t, aggregationType: r, config: s, layerInfo: a, commonStrings: n } = i, o = j(a?.layer).idField;
606
+ let c;
607
+ const l = s.series[e ?? 0];
608
+ let m = !1, f = !1, p = !1;
609
+ if (l === void 0) {
613
610
  const T = s.series;
614
- g = T.slice(0, e).every((A) => O(A)), f = T.slice(0, e).every((A) => V(A)), p = T.slice(0, e).every((A) => he(A));
611
+ m = T.slice(0, e).every((b) => O(b)), f = T.slice(0, e).every((b) => V(b)), p = T.slice(0, e).every((b) => Te(b));
615
612
  } else
616
- g = O(c), f = V(c), p = he(c);
617
- g ? l = Lt({
613
+ m = O(l), f = V(l), p = Te(l);
614
+ m ? c = Dt({
618
615
  commonStrings: n,
619
616
  seriesIndex: e,
620
617
  objectIDField: o
621
- }) : f ? l = Dt({
618
+ }) : f ? c = Nt({
622
619
  commonStrings: n,
623
620
  seriesIndex: e,
624
621
  objectIDField: o
625
- }) : p ? l = Nt(n, o) : l = Ot({
622
+ }) : p ? c = Ot(n, o) : c = Vt({
626
623
  seriesIndex: e,
627
624
  objectIDField: o,
628
625
  commonStrings: n
629
626
  });
630
- const u = s.series[0]?.dataLabels, d = "nullCategory" in s.series[0] ? di(s) : void 0, y = "binTemporalData" in s.series[0] ? s.series[0].binTemporalData : void 0, m = "classBreakRules" in s.series[0] ? s.series[0].classBreakRules : void 0, F = "xTemporalBinning" in s.series[0] ? s.series[0].xTemporalBinning : void 0, S = "yTemporalBinning" in s.series[0] ? s.series[0].yTemporalBinning : void 0, h = "emptyCells" in s.series[0] ? s.series[0].emptyCells : void 0, b = s.series[0].query && "fetchNullValues" in s.series[0].query ? s.series[0].query?.fetchNullValues : void 0, C = {
631
- ...l,
627
+ const u = s.series[0]?.dataLabels, d = "nullCategory" in s.series[0] ? di(s) : void 0, y = "binTemporalData" in s.series[0] ? s.series[0].binTemporalData : void 0, g = "classBreakRules" in s.series[0] ? s.series[0].classBreakRules : void 0, F = "xTemporalBinning" in s.series[0] ? s.series[0].xTemporalBinning : void 0, S = "yTemporalBinning" in s.series[0] ? s.series[0].yTemporalBinning : void 0, h = "emptyCells" in s.series[0] ? s.series[0].emptyCells : void 0, A = s.series[0].query && "fetchNullValues" in s.series[0].query ? s.series[0].query?.fetchNullValues : void 0, C = {
628
+ ...c,
632
629
  x: t,
633
630
  y: "",
634
631
  dataLabels: {
635
- ...l.dataLabels,
636
- type: l.dataLabels?.type ?? x.Text,
637
- content: { ...l.dataLabels?.content, ...u?.content, type: At.TS },
632
+ ...c.dataLabels,
633
+ type: c.dataLabels?.type ?? x.Text,
634
+ content: { ...c.dataLabels?.content, ...u?.content, type: vt.TS },
638
635
  visible: u?.visible ?? !1
639
636
  },
640
637
  ...d !== void 0 ? { nullCategory: d } : {},
641
638
  ...y !== void 0 ? { binTemporalData: y } : {},
642
- ...m !== void 0 ? { classBreakRules: m } : {},
639
+ ...g !== void 0 ? { classBreakRules: g } : {},
643
640
  ...F !== void 0 ? { xTemporalBinning: F } : {},
644
641
  ...S !== void 0 ? { yTemporalBinning: S } : {},
645
642
  ...h !== void 0 ? { emptyCells: h } : {}
646
643
  };
647
644
  if (C.query = {
648
645
  groupByFieldsForStatistics: [t],
649
- ...b !== void 0 ? { fetchNullValues: b } : {}
650
- }, a !== I.NoAggregation && o !== void 0) {
651
- const T = `${a}_${o}_0`.toUpperCase();
646
+ ...A !== void 0 ? { fetchNullValues: A } : {}
647
+ }, r !== I.NoAggregation && o !== void 0) {
648
+ const T = `${r}_${o}_0`.toUpperCase();
652
649
  C.y = T, C.query.outStatistics = [
653
650
  {
654
- statisticType: a,
651
+ statisticType: r,
655
652
  onStatisticField: o,
656
653
  outStatisticFieldName: T
657
654
  }
@@ -659,7 +656,7 @@ function ne(i) {
659
656
  }
660
657
  if (L(s.series[0]) && L(C)) {
661
658
  let T = Yt(s);
662
- T === ue.Quarter && (T = ue.Month), C.temporalBinning = {
659
+ T === de.Quarter && (T = de.Month), C.temporalBinning = {
663
660
  ...s.series[0]?.temporalBinning,
664
661
  unit: T
665
662
  };
@@ -667,54 +664,54 @@ function ne(i) {
667
664
  return te(C);
668
665
  }
669
666
  function Z(i, e, t) {
670
- const { layerFieldsInfo: a } = e, { idField: s, isTraditionalTypeOID: r } = j(e.layer), n = w(i), o = H(i), l = oe(i), c = K(i), g = r && (o.length === 0 || o.includes(s)), f = It(l, t), p = g ? "" : o.map((h) => k(a ?? [], h)).join(", "), u = k(a ?? [], n), d = k(a ?? [], c), y = i.series.some((h) => Y(h)), m = y ? "category" : "xAxisField", F = u;
667
+ const { layerFieldsInfo: r } = e, { idField: s, isTraditionalTypeOID: a } = j(e.layer), n = P(i), o = W(i), c = oe(i), l = K(i), m = a && (o.length === 0 || o.includes(s)), f = Lt(c, t), p = m ? "" : o.map((h) => k(r ?? [], h)).join(", "), u = k(r ?? [], n), d = k(r ?? [], l), y = i.series.some((h) => Y(h)), g = y ? "category" : "xAxisField", F = u;
671
668
  let S = "";
672
669
  if (fe({
673
670
  fieldName: n,
674
671
  numericFields: o,
675
- fieldList: a
672
+ fieldList: r
676
673
  }))
677
674
  S = M(t.titleLabels.aggrTypeOfAggrFields, {
678
675
  aggregationType: f,
679
676
  aggregationFields: p
680
677
  });
681
- else if (l === I.NoAggregation) {
682
- const h = g ? s : p;
683
- if (c === "") {
684
- const b = y ? "aggrTypeCategory" : "aggrTypeXAxisField";
685
- S = M(t.titleLabels[b], {
678
+ else if (c === I.NoAggregation) {
679
+ const h = m ? s : p;
680
+ if (l === "") {
681
+ const A = y ? "aggrTypeCategory" : "aggrTypeXAxisField";
682
+ S = M(t.titleLabels[A], {
686
683
  aggregationType: h,
687
- [m]: F
684
+ [g]: F
688
685
  });
689
686
  } else {
690
- const b = y ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
691
- S = M(t.titleLabels[b], {
687
+ const A = y ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
688
+ S = M(t.titleLabels[A], {
692
689
  aggregationType: h,
693
- [m]: F,
690
+ [g]: F,
694
691
  splitByField: d
695
692
  });
696
693
  }
697
- } else if (l === I.Count)
698
- if (c === "") {
694
+ } else if (c === I.Count)
695
+ if (l === "") {
699
696
  const h = y ? "aggrTypeCategory" : "aggrTypeXAxisField";
700
697
  S = M(t.titleLabels[h], {
701
698
  aggregationType: f,
702
- [m]: F
699
+ [g]: F
703
700
  });
704
701
  } else {
705
702
  const h = y ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
706
703
  S = M(t.titleLabels[h], {
707
704
  aggregationType: f,
708
- [m]: F,
705
+ [g]: F,
709
706
  splitByField: d
710
707
  });
711
708
  }
712
- else if (c !== "") {
709
+ else if (l !== "") {
713
710
  const h = y ? "aggrTypeOfAggrFieldByCategoryBySplitByField" : "aggrTypeOfAggrFieldByXAxisFieldBySplitByField";
714
711
  S = M(t.titleLabels[h], {
715
712
  aggregationType: f,
716
713
  aggregationField: p,
717
- [m]: F,
714
+ [g]: F,
718
715
  splitByField: d
719
716
  });
720
717
  } else if (o.length > 0) {
@@ -722,7 +719,7 @@ function Z(i, e, t) {
722
719
  S = M(t.titleLabels[h], {
723
720
  aggregationType: f,
724
721
  aggregationFields: p,
725
- [m]: F
722
+ [g]: F
726
723
  });
727
724
  }
728
725
  return S;
@@ -731,40 +728,40 @@ const Ee = (i) => ge({
731
728
  where: i.query?.where,
732
729
  normalize: !1,
733
730
  escape: !1
734
- }) ?? "", oe = (i) => i?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? I.NoAggregation, K = He(
731
+ }) ?? "", oe = (i) => i?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? I.NoAggregation, K = We(
735
732
  (i) => {
736
733
  const e = i?.series?.[0]?.query?.where?.split("=")[0].trim() ?? "";
737
- return ft(i?.series?.[0]?.query?.where) ? "" : e;
734
+ return St(i?.series?.[0]?.query?.where) ? "" : e;
738
735
  },
739
736
  (i) => i?.series?.[0]?.query?.where
740
- ), H = (i) => {
737
+ ), W = (i) => {
741
738
  let e = [];
742
739
  if (K(i) === "")
743
740
  e = i?.series.map((t) => {
744
- const a = t.query?.outStatistics?.map((s) => s.onStatisticField) ?? [];
745
- return a?.length > 0 ? a : t.y;
741
+ const r = t.query?.outStatistics?.map((s) => s.onStatisticField) ?? [];
742
+ return r?.length > 0 ? r : t.y;
746
743
  }).flat() ?? [];
747
744
  else {
748
- const t = i?.series?.[0], a = t?.query?.outStatistics?.[0]?.onStatisticField ?? [t?.y].flat()[0];
749
- e = a !== void 0 ? [a] : [];
745
+ const t = i?.series?.[0], r = t?.query?.outStatistics?.[0]?.onStatisticField ?? [t?.y].flat()[0];
746
+ e = r !== void 0 ? [r] : [];
750
747
  }
751
748
  return e.filter((t) => t !== "");
752
749
  };
753
750
  function Me(i) {
754
- const { splitByField: e, numericFields: t, layer: a, seriesIndex: s } = i, r = j(a).idField ?? "";
755
- return e === "" ? t[s] ?? r : t[0] ?? r;
751
+ const { splitByField: e, numericFields: t, layer: r, seriesIndex: s } = i, a = j(r).idField ?? "";
752
+ return e === "" ? t[s] ?? a : t[0] ?? a;
756
753
  }
757
754
  function yi(i) {
758
- const { numericFields: e, aggregationType: t, config: a, layerInfo: s } = i;
759
- let r = !1;
760
- t === I.Count ? r = !0 : t === I.NoAggregation && (r = e.every((l) => {
761
- const c = s.layerFieldsInfo.find((g) => g.name === l);
762
- return c !== void 0 ? Te(c) : !1;
763
- })), xe(a, 1, r);
764
- const n = a.series.some((l) => O(l)), o = a.series.some((l) => V(l));
755
+ const { numericFields: e, aggregationType: t, config: r, layerInfo: s } = i;
756
+ let a = !1;
757
+ t === I.Count ? a = !0 : t === I.NoAggregation && (a = e.every((c) => {
758
+ const l = s.layerFieldsInfo.find((m) => m.name === c);
759
+ return l !== void 0 ? xe(l) : !1;
760
+ })), Be(r, 1, a);
761
+ const n = r.series.some((c) => O(c)), o = r.series.some((c) => V(c));
765
762
  if (n || o) {
766
- const l = w(a), c = s.layerFieldsInfo.find((f) => f.name === l), g = c !== void 0 && Te(c);
767
- xe(a, 0, g);
763
+ const c = P(r), l = s.layerFieldsInfo.find((f) => f.name === c), m = l !== void 0 && xe(l);
764
+ Be(r, 0, m);
768
765
  }
769
766
  }
770
767
  function Ye(i) {
@@ -774,111 +771,111 @@ function Ye(i) {
774
771
  const me = (i) => {
775
772
  let e;
776
773
  if (X(i)) {
777
- const t = i.orderOptions?.data?.orderByX ?? [""], a = i.orderOptions?.data?.orderByY ?? [""], s = i.axes?.[0]?.valueFormat?.type === "category" ? N.Category : N.YValue, r = i.axes?.[1]?.valueFormat?.type === "category" ? N.Category : N.YValue;
778
- e = [Be(t, s), Be(a, r)];
774
+ const t = i.orderOptions?.data?.orderByX ?? [""], r = i.orderOptions?.data?.orderByY ?? [""], s = i.axes?.[0]?.valueFormat?.type === "category" ? N.Category : N.YValue, a = i.axes?.[1]?.valueFormat?.type === "category" ? N.Category : N.YValue;
775
+ e = [Ce(t, s), Ce(r, a)];
779
776
  } else {
780
- const t = i.orderOptions?.data?.orderType ?? N.Category, a = i.orderOptions?.data && "orderBy" in i.orderOptions.data ? i.orderOptions.data.orderBy : Ct.Ascending;
781
- e = [xt(a, t)];
777
+ const t = i.orderOptions?.data?.orderType ?? N.Category, r = i.orderOptions?.data && "orderBy" in i.orderOptions.data ? i.orderOptions.data.orderBy : At.Ascending;
778
+ e = [Bt(r, t)];
782
779
  }
783
780
  return e;
784
781
  };
785
782
  function mi(i) {
786
- const { xAxisField: e, numericFields: t, aggregationType: a, config: s, layerInfo: r, commonStrings: n } = i, { layerFieldsInfo: o } = r, l = ne({
783
+ const { xAxisField: e, numericFields: t, aggregationType: r, config: s, layerInfo: a, commonStrings: n } = i, { layerFieldsInfo: o } = a, c = ne({
787
784
  config: s,
788
785
  xAxisField: e,
789
- aggregationType: a,
790
- layerInfo: r,
786
+ aggregationType: r,
787
+ layerInfo: a,
791
788
  seriesIndex: 0,
792
789
  commonStrings: n
793
- }), c = se({
790
+ }), l = ae({
794
791
  config: s,
795
792
  xAxisField: e,
796
793
  numericFields: t,
797
- aggregationType: a,
798
- layer: r.layer,
794
+ aggregationType: r,
795
+ layer: a.layer,
799
796
  fieldList: o
800
- }).name, g = w(s), f = H(s), p = fe({
801
- fieldName: g,
797
+ }).name, m = P(s), f = W(s), p = fe({
798
+ fieldName: m,
802
799
  numericFields: f,
803
800
  fieldList: o
804
801
  }) ? s.series[0] : void 0, u = `series_${Date.now()}`, d = p?.id ?? u, y = p?.name ?? n.axisLabels.values, F = {
805
- ...p ?? l,
802
+ ...p ?? c,
806
803
  id: d,
807
804
  name: y,
808
805
  x: U,
809
- y: c
806
+ y: l
810
807
  }, S = [];
811
808
  for (const h of t)
812
809
  S.push({
813
810
  onStatisticField: h,
814
811
  outStatisticFieldName: `${h}_0`.toUpperCase(),
815
- statisticType: a
812
+ statisticType: r
816
813
  });
817
814
  return F.query = { outStatistics: S }, s.series.length === 1 && ((O(F) || V(F)) && Xe(F, s.series[0]), Y(F) ? F.fillSymbol = s.series[0].fillSymbol : (O(F) || V(F)) && (F.lineSymbol = s.series[0].lineSymbol, F.markerSymbol = s.series[0].markerSymbol)), [F];
818
815
  }
819
816
  function $e(i) {
820
- const { xAxisField: e, numericFields: t, aggregationType: a, config: s, layerInfo: r, commonStrings: n } = i, { layerFieldsInfo: o } = r, l = j(r.layer).idField, c = [];
817
+ const { xAxisField: e, numericFields: t, aggregationType: r, config: s, layerInfo: a, commonStrings: n } = i, { layerFieldsInfo: o } = a, c = j(a.layer).idField, l = [];
821
818
  for (let d = 0; d < t.length; d += 1) {
822
819
  const y = ne({
823
820
  config: s,
824
821
  xAxisField: e,
825
- aggregationType: a,
826
- layerInfo: r,
822
+ aggregationType: r,
823
+ layerInfo: a,
827
824
  seriesIndex: d,
828
825
  commonStrings: n
829
- }), m = s.series[d]?.y, F = typeof m == "string" && m.trim() !== "" && !o.find((D) => D.name === m) ? m : se({
826
+ }), g = s.series[d]?.y, F = typeof g == "string" && g.trim() !== "" && !o.find((D) => D.name === g) ? g : ae({
830
827
  config: s,
831
828
  xAxisField: e,
832
829
  numericFields: t,
833
- aggregationType: a,
834
- layer: r.layer,
830
+ aggregationType: r,
831
+ layer: a.layer,
835
832
  numericFieldIndex: d,
836
833
  fieldList: o
837
834
  }).name, S = t[d], h = s.series.find(
838
835
  (D) => D.query?.where === void 0 && (D.query?.outStatistics?.length === 1 && D.query?.outStatistics?.[0]?.onStatisticField === S || D.query?.outStatistics === void 0 && (D.y === S || D.x === S))
839
- ), b = S !== l ? S : y.id, C = h?.id ?? b, T = h?.name ?? k(o, S) ?? C, A = h ?? y, v = {
840
- ...A,
836
+ ), A = S !== c ? S : y.id, C = h?.id ?? A, T = h?.name ?? k(o, S) ?? C, b = h ?? y, v = {
837
+ ...b,
841
838
  id: C,
842
839
  name: T
843
840
  };
844
841
  let E = S;
845
- v.query !== void 0 && (a !== I.NoAggregation ? (E = v.type === x.HeatSeries && h?.type === x.HeatSeries ? S : F, v.query.outStatistics = [
842
+ v.query !== void 0 && (r !== I.NoAggregation ? (E = v.type === x.HeatSeries && h?.type === x.HeatSeries ? S : F, v.query.outStatistics = [
846
843
  {
847
- ...A.query?.outStatistics?.[0] ?? {},
844
+ ...b.query?.outStatistics?.[0] ?? {},
848
845
  onStatisticField: S,
849
846
  outStatisticFieldName: F,
850
- statisticType: a
847
+ statisticType: r
851
848
  }
852
- ]) : delete v.query.outStatistics), v.y = E, c.push(v);
849
+ ]) : delete v.query.outStatistics), v.y = E, l.push(v);
853
850
  }
854
- const g = c.filter((d) => Y(d)), f = c.filter(
851
+ const m = l.filter((d) => Y(d)), f = l.filter(
855
852
  (d) => O(d) || V(d)
856
853
  ), p = s.series.filter((d) => Y(d)), u = s.series.filter(
857
854
  (d) => O(d) || V(d)
858
855
  );
859
- return p.length === 1 && g.length === 1 && Y(p[0]) && Y(g[0]) && (g[0].fillSymbol = p[0].fillSymbol), u.length === 1 && f.length === 1 && ((O(u[0]) && O(f[0]) || V(u[0]) && V(f[0])) && Xe(f[0], u[0]), (O(u[0]) && O(f[0]) || V(u[0]) && V(f[0])) && (f[0].lineSymbol = u[0].lineSymbol, f[0].markerSymbol = u[0].markerSymbol)), c;
856
+ return p.length === 1 && m.length === 1 && Y(p[0]) && Y(m[0]) && (m[0].fillSymbol = p[0].fillSymbol), u.length === 1 && f.length === 1 && ((O(u[0]) && O(f[0]) || V(u[0]) && V(f[0])) && Xe(f[0], u[0]), (O(u[0]) && O(f[0]) || V(u[0]) && V(f[0])) && (f[0].lineSymbol = u[0].lineSymbol, f[0].markerSymbol = u[0].markerSymbol)), l;
860
857
  }
861
- function ks(i) {
862
- const { aggregationType: e, config: t, layerInfo: a, commonStrings: s } = i, { layerFieldsInfo: r, layer: n } = a, o = w(t), l = H(t), c = K(t), g = oe(t), f = le(t, a, s), p = We(t, a, s);
858
+ function Vs(i) {
859
+ const { aggregationType: e, config: t, layerInfo: r, commonStrings: s } = i, { layerFieldsInfo: a, layer: n } = r, o = P(t), c = W(t), l = K(t), m = oe(t), f = le(t, r, s), p = He(t, r, s);
863
860
  if (t.series.forEach((u, d) => {
864
- const y = se({
861
+ const y = ae({
865
862
  config: t,
866
863
  xAxisField: o,
867
- numericFields: l,
864
+ numericFields: c,
868
865
  aggregationType: e,
869
- splitByField: c,
866
+ splitByField: l,
870
867
  layer: n,
871
868
  seriesIndex: d,
872
869
  numericFieldIndex: d,
873
- fieldList: r
870
+ fieldList: a
874
871
  }).name;
875
872
  u.y = y;
876
- const m = Me({
877
- splitByField: c,
878
- numericFields: l,
873
+ const g = Me({
874
+ splitByField: l,
875
+ numericFields: c,
879
876
  layer: n,
880
877
  seriesIndex: d
881
- }), F = u.query?.outStatistics?.[0]?.onStatisticField ?? m;
878
+ }), F = u.query?.outStatistics?.[0]?.onStatisticField ?? g;
882
879
  u.query = {
883
880
  ...u.query,
884
881
  outStatistics: e === I.NoAggregation ? void 0 : [
@@ -889,42 +886,42 @@ function ks(i) {
889
886
  onStatisticField: F
890
887
  }
891
888
  ]
892
- }, "temporalBinning" in u && u.temporalBinning !== void 0 && (u.temporalBinning.nullPolicy = e === I.NoAggregation ? W.Interpolate : W.Null), e === I.NoAggregation && Wt(t);
893
- }), f && t.title && (t.title.content.text = Z(t, a, s)), p && t.series[0].type !== x.HeatSeries) {
889
+ }, "temporalBinning" in u && u.temporalBinning !== void 0 && (u.temporalBinning.nullPolicy = e === I.NoAggregation ? H.Interpolate : H.Null), e === I.NoAggregation && Ht(t);
890
+ }), f && t.title && (t.title.content.text = Z(t, r, s)), p && t.series[0].type !== x.HeatSeries) {
894
891
  const u = pe({
895
892
  config: t,
896
- layerInfo: a,
893
+ layerInfo: r,
897
894
  commonStrings: s,
898
- numericFields: l,
895
+ numericFields: c,
899
896
  aggregationType: e
900
897
  });
901
898
  $(t, 1, u);
902
899
  }
903
- g !== e && Ye(t);
900
+ m !== e && Ye(t);
904
901
  }
905
902
  function gi(i) {
906
903
  const {
907
904
  splitByField: e,
908
905
  xAxisField: t,
909
- numericFields: a,
906
+ numericFields: r,
910
907
  aggregationType: s,
911
- config: r,
908
+ config: a,
912
909
  layerInfo: n,
913
910
  commonStrings: o,
914
- splitByFieldInfos: l
915
- } = i, { layer: c, layerFieldsInfo: g } = n, { categoriesArray: f, splitByFieldType: p } = l, u = Me({
911
+ splitByFieldInfos: c
912
+ } = i, { layer: l, layerFieldsInfo: m } = n, { categoriesArray: f, splitByFieldType: p } = c, u = Me({
916
913
  splitByField: e,
917
- numericFields: a,
918
- layer: c,
914
+ numericFields: r,
915
+ layer: l,
919
916
  seriesIndex: 0
920
917
  });
921
918
  let d = [];
922
919
  if (f.length === 0) {
923
920
  d = $e({
924
921
  xAxisField: t,
925
- numericFields: a,
922
+ numericFields: r,
926
923
  aggregationType: s,
927
- config: r,
924
+ config: a,
928
925
  layerInfo: n,
929
926
  commonStrings: o
930
927
  });
@@ -932,17 +929,17 @@ function gi(i) {
932
929
  y.query && (y.query.where = `${e}=''`);
933
930
  } else
934
931
  for (let y = 0; y < f.length; y += 1) {
935
- const m = f[y], F = se({
936
- config: r,
932
+ const g = f[y], F = ae({
933
+ config: a,
937
934
  xAxisField: t,
938
- numericFields: a,
935
+ numericFields: r,
939
936
  aggregationType: s,
940
937
  layer: n.layer,
941
938
  seriesIndex: y,
942
939
  splitByField: e,
943
- fieldList: g
940
+ fieldList: m
944
941
  }).name, S = ne({
945
- config: r,
942
+ config: a,
946
943
  xAxisField: t,
947
944
  aggregationType: s,
948
945
  layerInfo: n,
@@ -951,17 +948,17 @@ function gi(i) {
951
948
  }), h = Oe({
952
949
  queryObject: n.layer,
953
950
  fieldName: e,
954
- fieldValue: m ?? ""
955
- }), b = `${m}`, C = r.series.find(
956
- (D) => String(Ee(D)).trim().replace(/'/gu, "") === b
957
- ), T = C?.id ?? b, A = C?.name ?? h ?? T, v = C ?? S, E = {
951
+ fieldValue: g ?? ""
952
+ }), A = `${g}`, C = a.series.find(
953
+ (D) => String(Ee(D)).trim().replace(/'/gu, "") === A
954
+ ), T = C?.id ?? A, b = C?.name ?? h ?? T, v = C ?? S, E = {
958
955
  ...v,
959
956
  id: T,
960
- name: A,
957
+ name: b,
961
958
  y: F,
962
959
  query: {
963
960
  ...v.query,
964
- where: `${e}=${p === Re.String && m !== null ? `'${m}'` : m}`,
961
+ where: `${e}=${p === Re.String && g !== null ? `'${g}'` : g}`,
965
962
  outStatistics: s !== I.NoAggregation ? [
966
963
  {
967
964
  ...v.query?.outStatistics?.[0] ?? {},
@@ -976,94 +973,94 @@ function gi(i) {
976
973
  }
977
974
  return d;
978
975
  }
979
- const Ps = (i) => {
976
+ const qs = (i) => {
980
977
  const {
981
978
  xAxisFieldName: e,
982
979
  splitByField: t,
983
- numericFields: a,
980
+ numericFields: r,
984
981
  aggregationType: s,
985
- config: r,
982
+ config: a,
986
983
  layerInfo: n,
987
984
  commonStrings: o,
988
- splitByFieldInfos: l
989
- } = i, { layerFieldsInfo: c } = n ?? {}, g = te(r), f = Et(r), p = w(g), u = K(g), d = oe(g), y = c.find((B) => B.name === p), m = r.series[0]?.query === void 0, F = H(g), S = c.find((B) => B.name === e), h = le(g, n, o), b = We(g, n, o), C = pi({ config: g, layerInfo: n, commonStrings: o });
990
- let T = qe(r);
991
- const A = g.series.some((B) => Y(B)), v = St(g.series), E = Ft(g.series), D = q(y) || q(S);
992
- if (_(S) ? T = de() : !Q(y) && Q(S) ? T = J() : !q(y) && q(S) ? T = J() : q(y) && !q(S) && (A ? T = de() : T = Vt()), T !== void 0 && Tt(r, o, T), f === 0 && (r.series = [
993
- ne({ config: r, xAxisField: e, aggregationType: s, layerInfo: n, commonStrings: o })
994
- ]), r.series.forEach((B) => {
985
+ splitByFieldInfos: c
986
+ } = i, { layerFieldsInfo: l } = n ?? {}, m = te(a), f = Et(a), p = P(m), u = K(m), d = oe(m), y = l.find((B) => B.name === p), g = a.series[0]?.query === void 0, F = W(m), S = l.find((B) => B.name === e), h = le(m, n, o), A = He(m, n, o), C = pi({ config: m, layerInfo: n, commonStrings: o });
987
+ let T = qe(a);
988
+ const b = m.series.some((B) => Y(B)), v = ht(m.series), E = Tt(m.series), D = q(y) || q(S);
989
+ if (_(S) ? T = ye() : !Q(y) && Q(S) ? T = J() : !q(y) && q(S) ? T = J() : q(y) && !q(S) && (b ? T = ye() : T = qt()), T !== void 0 && xt(a, o, T), f === 0 && (a.series = [
990
+ ne({ config: a, xAxisField: e, aggregationType: s, layerInfo: n, commonStrings: o })
991
+ ]), a.series.forEach((B) => {
995
992
  B.x = e, B.query !== void 0 && (B.query.groupByFieldsForStatistics = [e]);
996
- }), t === "" || a.length > 1 ? fe({
993
+ }), t === "" || r.length > 1 ? fe({
997
994
  fieldName: e,
998
- numericFields: a,
999
- fieldList: c
1000
- }) ? r.series = mi({
1001
- config: r,
995
+ numericFields: r,
996
+ fieldList: l
997
+ }) ? a.series = mi({
998
+ config: a,
1002
999
  layerInfo: n,
1003
1000
  xAxisField: e,
1004
- numericFields: a,
1001
+ numericFields: r,
1005
1002
  aggregationType: s,
1006
1003
  commonStrings: o
1007
- }) : r.series = $e({
1008
- config: r,
1004
+ }) : a.series = $e({
1005
+ config: a,
1009
1006
  layerInfo: n,
1010
1007
  xAxisField: e,
1011
- numericFields: a,
1008
+ numericFields: r,
1012
1009
  aggregationType: s,
1013
1010
  commonStrings: o
1014
- }) : l && (r.series = gi({
1015
- config: r,
1011
+ }) : c && (a.series = gi({
1012
+ config: a,
1016
1013
  layerInfo: n,
1017
1014
  splitByField: t,
1018
1015
  xAxisField: e,
1019
- numericFields: a,
1016
+ numericFields: r,
1020
1017
  aggregationType: s,
1021
1018
  commonStrings: o,
1022
- splitByFieldInfos: l
1023
- })), C && e !== U && r.series[0].type !== x.HeatSeries) {
1024
- const B = k(c, e);
1025
- $(r, 0, B);
1019
+ splitByFieldInfos: c
1020
+ })), C && e !== U && a.series[0].type !== x.HeatSeries) {
1021
+ const B = k(l, e);
1022
+ $(a, 0, B);
1026
1023
  }
1027
- if (b && r.series[0].type !== x.HeatSeries) {
1024
+ if (A && a.series[0].type !== x.HeatSeries) {
1028
1025
  const B = pe({
1029
- config: r,
1026
+ config: a,
1030
1027
  layerInfo: n,
1031
1028
  commonStrings: o,
1032
- numericFields: a,
1029
+ numericFields: r,
1033
1030
  aggregationType: s
1034
1031
  });
1035
- $(r, 1, B);
1032
+ $(a, 1, B);
1036
1033
  }
1037
- if (h && r.title && (r.title.content.text = Z(r, n, o)), p === e && u === t && d === s && je(F, a) || Ye(r), yi({ numericFields: a, aggregationType: s, config: r, layerInfo: n }), (v || E) && (z({ config: r, value: null, axisIndex: 0, isMax: !1 }), z({ config: r, value: null, axisIndex: 0, isMax: !0 }), D && s !== I.NoAggregation && !X(g))) {
1038
- const B = q(S) ? W.Null : W.Interpolate;
1039
- Xt(B, r);
1034
+ if (h && a.title && (a.title.content.text = Z(a, n, o)), p === e && u === t && d === s && je(F, r) || Ye(a), yi({ numericFields: r, aggregationType: s, config: a, layerInfo: n }), (v || E) && (z({ config: a, value: null, axisIndex: 0, isMax: !1 }), z({ config: a, value: null, axisIndex: 0, isMax: !0 }), D && s !== I.NoAggregation && !X(m))) {
1035
+ const B = q(S) ? H.Null : H.Interpolate;
1036
+ Xt(B, a);
1040
1037
  }
1041
- X(r) && we({ commonStrings: o, config: r, layerInfo: n }), r.series.forEach((B) => {
1042
- m && delete B.query, p !== e && L(B) && (S?.type === Re.TimeOnly ? B.binTemporalData = !1 : B.binTemporalData = B.type === x.LineSeries && q(S));
1038
+ X(a) && Pe({ commonStrings: o, config: a, layerInfo: n }), a.series.forEach((B) => {
1039
+ g && delete B.query, p !== e && L(B) && (S?.type === Re.TimeOnly ? B.binTemporalData = !1 : B.binTemporalData = B.type === x.LineSeries && q(S));
1043
1040
  });
1044
1041
  }, Xe = (i, e) => {
1045
1042
  i.markerVisible = e.markerVisible, i.lineSmoothed = e.lineSmoothed, i.showArea = e.showArea, i.areaColor = e.areaColor, i.stackNegativeValuesToBaseline = e.stackNegativeValuesToBaseline, e.lineSymbol && (i.lineSymbol = { ...e.lineSymbol, color: i.lineSymbol?.color }), e.markerSymbol && (i.markerSymbol = {
1046
1043
  ...e.markerSymbol,
1047
1044
  color: i.markerSymbol?.color
1048
1045
  });
1049
- }, ws = (i) => {
1050
- const { config: e, seriesIndex: t, layerInfo: a, commonStrings: s } = i, r = e.series?.[t], n = K(e);
1046
+ }, Rs = (i) => {
1047
+ const { config: e, seriesIndex: t, layerInfo: r, commonStrings: s } = i, a = e.series?.[t], n = K(e);
1051
1048
  let o;
1052
- if (ie(e.series) === P.BarAndLineFromFields)
1049
+ if (ie(e.series) === w.BarAndLineFromFields)
1053
1050
  o = s.axisLabels.values;
1054
1051
  else if (Ue(n)) {
1055
- const c = r.query?.outStatistics?.[0]?.onStatisticField;
1056
- c !== void 0 && c !== j(a.layer).idField && (o = k(a.layerFieldsInfo, c));
1052
+ const l = a.query?.outStatistics?.[0]?.onStatisticField;
1053
+ l !== void 0 && l !== j(r.layer).idField && (o = k(r.layerFieldsInfo, l));
1057
1054
  } else {
1058
- const c = String(Ee(r)).trim().replace(/'/gu, "");
1055
+ const l = String(Ee(a)).trim().replace(/'/gu, "");
1059
1056
  o = Oe({
1060
- queryObject: a.layer,
1057
+ queryObject: r.layer,
1061
1058
  fieldName: n,
1062
- fieldValue: c ?? ""
1063
- }) ?? c;
1059
+ fieldValue: l ?? ""
1060
+ }) ?? l;
1064
1061
  }
1065
- return o ?? r.id;
1066
- }, Es = (i, e) => {
1062
+ return o ?? a.id;
1063
+ }, ks = (i, e) => {
1067
1064
  if (X(e))
1068
1065
  ni(i, e);
1069
1066
  else {
@@ -1074,125 +1071,126 @@ const Ps = (i) => {
1074
1071
  orderBy: [...i]
1075
1072
  });
1076
1073
  }
1077
- }, Ms = async (i) => {
1078
- const { config: e, layerInfo: t, errorStrings: a } = i, s = w(e), r = qe(e)?.type, n = H(e), o = ie(e.series);
1074
+ }, ws = async (i) => {
1075
+ const { config: e, layerInfo: t, num: r, errorStrings: s } = i, a = P(e), n = qe(e)?.type, o = W(e), c = ie(e.series);
1079
1076
  let l = [];
1080
- return r === x.CategoryAxisFormat && (o === P.BarAndLineFromFields || s === U ? l = n.map((c) => k(t?.layerFieldsInfo, c)) : s.trim() !== "" && s !== U && t !== void 0 && (l = await ht({
1077
+ return n === x.CategoryAxisFormat && (c === w.BarAndLineFromFields || a === U ? l = o.map((m) => k(t?.layerFieldsInfo, m)) : a.trim() !== "" && a !== U && t !== void 0 && (l = await Ft({
1081
1078
  layerInfo: t,
1082
1079
  config: e,
1083
- category: s,
1084
- errorStrings: a
1080
+ category: a,
1081
+ num: r,
1082
+ errorStrings: s
1085
1083
  }))), l;
1086
1084
  };
1087
1085
  function le(i, e, t) {
1088
- const a = Z(i, e, t), s = Mt(i), r = ae(i);
1089
- return a === s || r;
1086
+ const r = Z(i, e, t), s = Mt(i), a = re(i);
1087
+ return r === s || a;
1090
1088
  }
1091
- function We(i, e, t) {
1092
- const a = pe({
1089
+ function He(i, e, t) {
1090
+ const r = pe({
1093
1091
  config: i,
1094
1092
  layerInfo: e,
1095
1093
  commonStrings: t,
1096
- numericFields: H(i),
1094
+ numericFields: W(i),
1097
1095
  aggregationType: oe(i)
1098
- }), s = re(1, i), r = ae(i);
1099
- return a === s || r;
1096
+ }), s = se(1, i), a = re(i);
1097
+ return r === s || a;
1100
1098
  }
1101
1099
  function pi(i) {
1102
- const { config: e, layerInfo: t, commonStrings: a } = i, s = k(t.layerFieldsInfo, w(e)), r = re(0, e), n = ae(e), o = w(e) === U && (r === "" || r === a.xAxis);
1103
- return s === r || n || o;
1100
+ const { config: e, layerInfo: t, commonStrings: r } = i, s = k(t.layerFieldsInfo, P(e)), a = se(0, e), n = re(e), o = P(e) === U && (a === "" || a === r.xAxis);
1101
+ return s === a || n || o;
1104
1102
  }
1105
- function Ys(i) {
1103
+ function Ps(i) {
1106
1104
  return L(i.series[0]) ? i.series[0].binTemporalData ?? !0 : !1;
1107
1105
  }
1108
- function $s(i, e) {
1106
+ function Es(i, e) {
1109
1107
  e?.series.forEach((t) => {
1110
1108
  L(t) && (t.binTemporalData = i, i ? t.temporalBinning = {
1111
- unit: ue.Day,
1109
+ unit: de.Day,
1112
1110
  size: 0,
1113
1111
  timeAggregationType: bt.Start,
1114
1112
  trimIncompleteTimeInterval: !0,
1115
- nullPolicy: W.Null
1113
+ nullPolicy: H.Null
1116
1114
  } : delete t.temporalBinning);
1117
1115
  });
1118
1116
  }
1119
1117
  export {
1120
- as as $,
1121
- Ms as A,
1122
- Es as B,
1123
- Ps as C,
1124
- Ys as D,
1125
- $s as E,
1118
+ ts as $,
1119
+ ws as A,
1120
+ ks as B,
1121
+ qs as C,
1122
+ Ps as D,
1123
+ Es as E,
1126
1124
  Z as F,
1127
- we as G,
1125
+ Pe as G,
1128
1126
  si as H,
1129
- ts as I,
1130
- Cs as J,
1131
- bs as K,
1127
+ Gi as I,
1128
+ Ts as J,
1129
+ xs as K,
1132
1130
  ai as L,
1133
- is as M,
1131
+ Ji as M,
1134
1132
  ri as N,
1135
- ss as O,
1136
- As as P,
1137
- vs as Q,
1138
- Is as R,
1139
- Ls as S,
1140
- Os as T,
1141
- Vs as U,
1142
- qs as V,
1133
+ es as O,
1134
+ Bs as P,
1135
+ Cs as Q,
1136
+ As as R,
1137
+ bs as S,
1138
+ Ls as T,
1139
+ Ds as U,
1140
+ Ns as V,
1143
1141
  Kt as W,
1144
- Rs as X,
1145
- _i as Y,
1146
- Qi as Z,
1147
- rs as _,
1148
- Ui as a,
1149
- os as a0,
1150
- ns as a1,
1151
- Gi as a2,
1152
- zi as a3,
1153
- es as a4,
1154
- Ji as a5,
1155
- us as a6,
1156
- ds as a7,
1157
- ys as a8,
1158
- ms as a9,
1159
- cs as aa,
1160
- ls as ab,
1161
- gs as ac,
1142
+ Os as X,
1143
+ ji as Y,
1144
+ Zi as Z,
1145
+ is as _,
1146
+ Xi as a,
1147
+ as as a0,
1148
+ ss as a1,
1149
+ _i as a2,
1150
+ Ki as a3,
1151
+ zi as a4,
1152
+ Qi as a5,
1153
+ os as a6,
1154
+ ls as a7,
1155
+ cs as a8,
1156
+ us as a9,
1157
+ ns as aa,
1158
+ rs as ab,
1159
+ ds as ac,
1162
1160
  oi as ad,
1163
- ps as ae,
1164
- fs as af,
1165
- Ss as ag,
1166
- Fs as ah,
1167
- hs as ai,
1168
- Ts as aj,
1169
- Ns as ak,
1170
- Ds as al,
1171
- xs as am,
1172
- Bs as an,
1173
- Xi as b,
1174
- Wi as c,
1175
- H as d,
1161
+ ys as ae,
1162
+ ms as af,
1163
+ gs as ag,
1164
+ ps as ah,
1165
+ fs as ai,
1166
+ Ss as aj,
1167
+ Is as ak,
1168
+ vs as al,
1169
+ Fs as am,
1170
+ hs as an,
1171
+ Mi as b,
1172
+ Yi as c,
1173
+ W as d,
1176
1174
  K as e,
1177
- Ki as f,
1175
+ Ui as f,
1178
1176
  oe as g,
1179
- ws as h,
1180
- ji as i,
1181
- ki as j,
1177
+ Rs as h,
1178
+ Hi as i,
1179
+ Vi as j,
1182
1180
  $t as k,
1183
1181
  Yt as l,
1184
- Mi as m,
1185
- Pi as n,
1186
- Yi as o,
1187
- Zi as p,
1188
- wi as q,
1182
+ wi as m,
1183
+ qi as n,
1184
+ Pi as o,
1185
+ Wi as p,
1186
+ Ri as q,
1189
1187
  _t as r,
1190
- Pe as s,
1191
- $i as t,
1192
- Hi as u,
1193
- Ei as v,
1188
+ we as s,
1189
+ Ei as t,
1190
+ $i as u,
1191
+ ki as v,
1194
1192
  Xt as w,
1195
- Wt as x,
1196
- ks as y,
1193
+ Ht as x,
1194
+ Vs as y,
1197
1195
  me as z
1198
1196
  };