@arcgis/charts-components 5.2.0-next.5 → 5.2.0-next.50

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 (404) hide show
  1. package/dist/cdn/{YJ6TRXMU.js → 24MSASQQ.js} +1 -1
  2. package/dist/cdn/{4USHOYLT.js → 2BE3GYK4.js} +1 -1
  3. package/dist/cdn/2EEGLP4N.js +2 -0
  4. package/dist/cdn/{2HUAW34Q.js → 2R5BXKVB.js} +1 -1
  5. package/dist/cdn/{5QO32XSX.js → 2UMW7TY6.js} +1 -1
  6. package/dist/cdn/356JWED3.js +2 -0
  7. package/dist/cdn/{Y7HBWU3M.js → 3GAUDUOD.js} +1 -1
  8. package/dist/cdn/{SBYD2EKR.js → 3UDKG6TV.js} +1 -1
  9. package/dist/cdn/{DCZWZOPF.js → 4ASVJDBN.js} +1 -1
  10. package/dist/cdn/4C3N36J3.js +2 -0
  11. package/dist/cdn/{CHLE2QGU.js → 4DXGXATO.js} +1 -1
  12. package/dist/cdn/{Y3CXVO2M.js → 4MSUALRF.js} +1 -1
  13. package/dist/cdn/4PEJNBSG.js +2 -0
  14. package/dist/cdn/53HYBRJO.js +2 -0
  15. package/dist/cdn/{L4G6FO7A.js → 57VIC2YX.js} +1 -1
  16. package/dist/cdn/5CIY3LRQ.js +2 -0
  17. package/dist/cdn/{H2A5GZ55.js → 5D2QRMC6.js} +1 -1
  18. package/dist/cdn/{CHQDKVVQ.js → 5DUKB563.js} +1 -1
  19. package/dist/cdn/{23YH7MTF.js → 5E27ED2B.js} +1 -1
  20. package/dist/cdn/5IOIRPSB.js +2 -0
  21. package/dist/cdn/5JY7HY6L.js +2 -0
  22. package/dist/cdn/{LUSFGRHV.js → 5WIR3JWC.js} +1 -1
  23. package/dist/cdn/5XW2VK3A.js +2 -0
  24. package/dist/cdn/{VT4WJZN6.js → 64B7ILJI.js} +1 -1
  25. package/dist/cdn/67P25QZA.js +2 -0
  26. package/dist/cdn/6HU62XEQ.js +2 -0
  27. package/dist/cdn/{BJDRJUEJ.js → 6RG6AF7N.js} +1 -1
  28. package/dist/cdn/{HCMD362H.js → 6RPBMFL2.js} +1 -1
  29. package/dist/cdn/{7LYAWWOE.js → 6WKTHJQK.js} +1 -1
  30. package/dist/cdn/77A4IT5I.js +2 -0
  31. package/dist/cdn/{II2ZPEUZ.js → 7C2LVFNV.js} +1 -1
  32. package/dist/cdn/{JJIGLOJA.js → 7CGAXWPM.js} +1 -1
  33. package/dist/cdn/{4Z23HWDH.js → 7COM5REK.js} +1 -1
  34. package/dist/cdn/7FSMC2TG.js +2 -0
  35. package/dist/cdn/{N6AOFBBX.js → 7MEYUIY2.js} +1 -1
  36. package/dist/cdn/{TNB3MBXR.js → A67PKDYM.js} +1 -1
  37. package/dist/cdn/AALLRICA.js +2 -0
  38. package/dist/cdn/{OJ5X6I3H.js → ADI63OO7.js} +1 -1
  39. package/dist/cdn/{5MEQANMY.js → AFE4UMQE.js} +1 -1
  40. package/dist/cdn/{CJ4POAPM.js → AJ4RZPOJ.js} +1 -1
  41. package/dist/cdn/AM27TYIA.js +102 -0
  42. package/dist/cdn/{VEA5ZR5D.js → APATJCOK.js} +1 -1
  43. package/dist/cdn/AZHBGLOD.js +2 -0
  44. package/dist/cdn/{TXB2I2U5.js → B2SUC7VR.js} +1 -1
  45. package/dist/cdn/{TYMKFCF4.js → B6BI3FPN.js} +1 -1
  46. package/dist/cdn/{HVO4LIXR.js → BAPR67OA.js} +1 -1
  47. package/dist/cdn/{5JML3JUR.js → BBMN3YU4.js} +1 -1
  48. package/dist/cdn/{TACQVUBU.js → BDEDEGCZ.js} +1 -1
  49. package/dist/cdn/BGOWDCTO.js +2 -0
  50. package/dist/cdn/{CNFBNAPJ.js → BK7DHYA7.js} +1 -1
  51. package/dist/cdn/BYPSLSFP.js +2 -0
  52. package/dist/cdn/BYSUABOV.js +2 -0
  53. package/dist/cdn/BYU72SMZ.js +2 -0
  54. package/dist/cdn/{ZFZ5AEUQ.js → C4O77AVT.js} +1 -1
  55. package/dist/cdn/CHZMNR2R.js +2 -0
  56. package/dist/cdn/CK2HC7UZ.js +4 -0
  57. package/dist/cdn/{64ZMYZ2S.js → CO2YXCVJ.js} +1 -1
  58. package/dist/cdn/CRUHZMGY.js +2 -0
  59. package/dist/cdn/{KLC6NTPC.js → CUPAZHZI.js} +1 -1
  60. package/dist/cdn/{ZFJFTDJF.js → CYGMXV56.js} +1 -1
  61. package/dist/cdn/{DEGBVJ76.js → DGJATKEL.js} +1 -1
  62. package/dist/cdn/DGU55EVX.js +2 -0
  63. package/dist/cdn/DT5VZTKL.js +2 -0
  64. package/dist/cdn/DWWFJ4K4.js +2 -0
  65. package/dist/cdn/{RAQZUMC6.js → E7YVOSTR.js} +1 -1
  66. package/dist/cdn/{A5GIBV5W.js → EDYALXKT.js} +1 -1
  67. package/dist/cdn/EKHD7EQL.js +2 -0
  68. package/dist/cdn/{J5NHXQLA.js → EQZBQP5A.js} +1 -1
  69. package/dist/cdn/{A4GEWIPY.js → F7IPTEHX.js} +1 -1
  70. package/dist/cdn/{WASEMNYV.js → FHKRXY7E.js} +1 -1
  71. package/dist/cdn/{R45FWF7D.js → G6XSNG2U.js} +1 -1
  72. package/dist/cdn/{LFQGH44F.js → GEHO65XE.js} +1 -1
  73. package/dist/cdn/{RFQBUWOW.js → GT6KWFXM.js} +1 -1
  74. package/dist/cdn/{TF7TE7K5.js → GZZJATH3.js} +1 -1
  75. package/dist/cdn/HGG2Y5XW.js +2 -0
  76. package/dist/cdn/HMBXRL4X.js +2 -0
  77. package/dist/cdn/HQHYGZW7.js +2 -0
  78. package/dist/cdn/{FF4DUQDZ.js → HRUQXEFI.js} +1 -1
  79. package/dist/cdn/{ZXOO3X5P.js → HWHKCIYW.js} +1 -1
  80. package/dist/cdn/{AZOBLYAP.js → I2BM5KSH.js} +1 -1
  81. package/dist/cdn/{3DK6M5E7.js → IB6KNSJY.js} +1 -1
  82. package/dist/cdn/{JQKRGUBU.js → IDAOLPMA.js} +1 -1
  83. package/dist/cdn/{PSO5AURI.js → INECCYD7.js} +1 -1
  84. package/dist/cdn/{P4HSSZRL.js → IONJLIQQ.js} +1 -1
  85. package/dist/cdn/{PVJEBBA7.js → ISY2BKFT.js} +1 -1
  86. package/dist/cdn/J64IDIEG.js +2 -0
  87. package/dist/cdn/J6YHKP6I.js +2 -0
  88. package/dist/cdn/JDAJB45A.js +2 -0
  89. package/dist/cdn/{YOT6DVSU.js → JEW6MSOC.js} +1 -1
  90. package/dist/cdn/{KZ7LPNX3.js → JNFMKAES.js} +1 -1
  91. package/dist/cdn/JPGRB2JX.js +2 -0
  92. package/dist/cdn/JRJXFHCK.js +2 -0
  93. package/dist/cdn/{AK7X7SGI.js → JYC77MVD.js} +1 -1
  94. package/dist/cdn/{JBHGSSHS.js → K25GJKPH.js} +1 -1
  95. package/dist/cdn/K4APZJ2O.js +2 -0
  96. package/dist/cdn/K5FLBEYI.js +2 -0
  97. package/dist/cdn/KITNG4RO.js +2 -0
  98. package/dist/cdn/{D3CFPMAR.js → KOY5DWSR.js} +1 -1
  99. package/dist/cdn/{7FZC3RZK.js → L5J4TYCU.js} +1 -1
  100. package/dist/cdn/{AY6IOQ3H.js → LAEUROZM.js} +1 -1
  101. package/dist/cdn/LGTEA66L.js +2 -0
  102. package/dist/cdn/LQMU7V5C.js +2 -0
  103. package/dist/cdn/LSWWNXP3.js +2 -0
  104. package/dist/cdn/M22IUUVK.js +2 -0
  105. package/dist/cdn/{MRTKZZTF.js → MBL6ZAKF.js} +1 -1
  106. package/dist/cdn/{K3GNHGEW.js → MDPDU2BA.js} +1 -1
  107. package/dist/cdn/MIJTHCPZ.js +2 -0
  108. package/dist/cdn/NEOAI7Q7.js +3 -0
  109. package/dist/cdn/{XG2KN6YJ.js → NKPZCF5U.js} +1 -1
  110. package/dist/cdn/{VVKV5KKN.js → NMITBWC4.js} +1 -1
  111. package/dist/cdn/NPRV25FK.js +2 -0
  112. package/dist/cdn/{VE3GFNNM.js → NRXCKYYY.js} +1 -1
  113. package/dist/cdn/{4C6KWLWN.js → NWLNHFHJ.js} +1 -1
  114. package/dist/cdn/{KDJ5RVHA.js → NYFHPR6N.js} +1 -1
  115. package/dist/cdn/{AJWYIBGC.js → O25MQAZU.js} +1 -1
  116. package/dist/cdn/{LONASKGH.js → OAFJADKA.js} +1 -1
  117. package/dist/cdn/{NAXNRCMZ.js → OD2NWPCL.js} +1 -1
  118. package/dist/cdn/{4ZIZEJXS.js → OISERMTF.js} +1 -1
  119. package/dist/cdn/{ETOGNYFU.js → OKAZOAYZ.js} +1 -1
  120. package/dist/cdn/{XUERYUEG.js → OQFM5DBD.js} +1 -1
  121. package/dist/cdn/{LDPHZHSF.js → OWLVHHFH.js} +1 -1
  122. package/dist/cdn/{E7OAEGSE.js → OZSAA5YQ.js} +1 -1
  123. package/dist/cdn/{C5K6XOCR.js → P37JASN4.js} +1 -1
  124. package/dist/cdn/{244ZX2UP.js → P5I5RQTN.js} +1 -1
  125. package/dist/cdn/{WEQBZOH7.js → PDPZBGTU.js} +1 -1
  126. package/dist/cdn/PFR6MB2U.js +2 -0
  127. package/dist/cdn/{BJ7Q7LCT.js → PIZPF2BH.js} +1 -1
  128. package/dist/cdn/PO2S3EAI.js +2 -0
  129. package/dist/cdn/{VDG54AIC.js → PTS74ZAY.js} +1 -1
  130. package/dist/cdn/{VY3KBD6N.js → PV2PO4IS.js} +1 -1
  131. package/dist/cdn/{ETKPMU7Z.js → Q3ZQR5JF.js} +1 -1
  132. package/dist/cdn/{QMSINFQX.js → Q5E66RNY.js} +1 -1
  133. package/dist/cdn/{7UQHB6KY.js → QIG5H6WA.js} +1 -1
  134. package/dist/cdn/{XJFVSX2E.js → QJMUS3VS.js} +1 -1
  135. package/dist/cdn/{XMPLEHTW.js → QKZK6MTN.js} +1 -1
  136. package/dist/cdn/QLJQK4ET.js +2 -0
  137. package/dist/cdn/{THTYR6IL.js → QYNNPEED.js} +1 -1
  138. package/dist/cdn/R53ISOLY.js +2 -0
  139. package/dist/cdn/{GV3TT7L5.js → R6T7WJQJ.js} +1 -1
  140. package/dist/cdn/{KUZR6CGB.js → R6XIGSQS.js} +1 -1
  141. package/dist/cdn/{7ABIELGZ.js → RFXODD7V.js} +1 -1
  142. package/dist/cdn/{5XTQQOTT.js → RLCLIRL6.js} +1 -1
  143. package/dist/cdn/RREO2RVL.js +2 -0
  144. package/dist/cdn/{AM2TOTX6.js → RTVU7ANC.js} +1 -1
  145. package/dist/cdn/RXFVSKL4.js +2 -0
  146. package/dist/cdn/{DNTLH5RT.js → SSOL6PCL.js} +1 -1
  147. package/dist/cdn/{DKAHZ7IX.js → SWEIMWH2.js} +1 -1
  148. package/dist/cdn/T5QBJ7O3.js +2 -0
  149. package/dist/cdn/{ZYOWZCR7.js → TB7JE5XK.js} +1 -1
  150. package/dist/cdn/TGGLZGJB.js +2 -0
  151. package/dist/cdn/THYUOV7H.js +45 -0
  152. package/dist/cdn/TIRQ7FKE.js +2 -0
  153. package/dist/cdn/{KOBNV5AQ.js → TJZPVPM6.js} +1 -1
  154. package/dist/cdn/{A5YDJIMZ.js → TNNXIIY2.js} +1 -1
  155. package/dist/cdn/{KFONSKQF.js → TQLMPVI5.js} +1 -1
  156. package/dist/cdn/{WMPWOPRZ.js → TRAVRA3M.js} +1 -1
  157. package/dist/cdn/{UT4TYXFO.js → TW4RXJ35.js} +1 -1
  158. package/dist/cdn/{U2LJZ4ML.js → TWULSSGK.js} +1 -1
  159. package/dist/cdn/TXQMUOMN.js +2 -0
  160. package/dist/cdn/{PC7IKOIB.js → TZBDO2TG.js} +1 -1
  161. package/dist/cdn/{5G7DSKI7.js → UBG7XLVS.js} +1 -1
  162. package/dist/cdn/{NQQW4GKA.js → UBZEWFXF.js} +1 -1
  163. package/dist/cdn/{P5AO3V3M.js → UD724V36.js} +1 -1
  164. package/dist/cdn/{LZYN55O4.js → UDDRI2Q2.js} +1 -1
  165. package/dist/cdn/{DSIFL2DF.js → UQSD6YZM.js} +1 -1
  166. package/dist/cdn/{Q7J7EKQW.js → UUVJGPFG.js} +1 -1
  167. package/dist/cdn/{A5AECJXP.js → VEXNULZX.js} +1 -1
  168. package/dist/cdn/{ZQDADGLQ.js → VLCUXTLC.js} +1 -1
  169. package/dist/cdn/VMJSBE4T.js +2 -0
  170. package/dist/cdn/{U4XLNCOU.js → VQJKVJS7.js} +1 -1
  171. package/dist/cdn/{3YT44D4Z.js → VX6SWJJ6.js} +1 -1
  172. package/dist/cdn/VZNG7PQX.js +2 -0
  173. package/dist/cdn/W2QTMTLL.js +2 -0
  174. package/dist/cdn/{6B7JCDQC.js → WTF2PFHV.js} +1 -1
  175. package/dist/cdn/{AWF4R7WL.js → WWIRRYDD.js} +1 -1
  176. package/dist/cdn/{XW4PBQNW.js → X6QMN2HV.js} +1 -1
  177. package/dist/cdn/XKOKJQQD.js +2 -0
  178. package/dist/cdn/{LRNADJJG.js → XMV5A2VE.js} +2 -2
  179. package/dist/cdn/XUL3AOTB.js +2 -0
  180. package/dist/cdn/{IPM2XKST.js → XVK4ONRA.js} +1 -1
  181. package/dist/cdn/{QOOBNATX.js → XWLP2CHH.js} +1 -1
  182. package/dist/cdn/Y6KFUUWA.js +2 -0
  183. package/dist/cdn/{BXYNEUQY.js → YCQLYXH4.js} +1 -1
  184. package/dist/cdn/YEGRLOUM.js +2 -0
  185. package/dist/cdn/{PAIRUVLU.js → YEK7BIRE.js} +1 -1
  186. package/dist/cdn/{XE3FKQFA.js → YS73YUW5.js} +1 -1
  187. package/dist/cdn/{WNKDEOFZ.js → ZALJA7E5.js} +1 -1
  188. package/dist/cdn/{6XTKJ7DO.js → ZCAHK6VZ.js} +1 -1
  189. package/dist/cdn/{5ZGALYWZ.js → ZLCRTIQH.js} +1 -1
  190. package/dist/cdn/{FDXE5JLT.js → ZUIZRQUG.js} +1 -1
  191. package/dist/cdn/{CLXVAIQX.js → ZYK5XBZK.js} +1 -1
  192. package/dist/cdn/{TYUVXRBO.js → ZZHKDFTA.js} +1 -1
  193. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.en.json +1 -1
  194. package/dist/cdn/index.js +1 -1
  195. package/dist/cdn/main.css +1 -1
  196. package/dist/cdn/model/shared/setup-utils.js +2 -0
  197. package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
  198. package/dist/chart-rendering/common/interfaces.d.ts +8 -8
  199. package/dist/chunks/axis-lines-symbol.js +7 -7
  200. package/dist/chunks/bar-chart-model.js +39 -36
  201. package/dist/chunks/box-plot-data.js +37 -37
  202. package/dist/chunks/box-plot-model.js +10 -10
  203. package/dist/chunks/chart-model.js +173 -141
  204. package/dist/chunks/chart-object-literals.js +2 -1
  205. package/dist/chunks/chart-ui-utils.js +24 -23
  206. package/dist/chunks/class-breaks.js +12 -12
  207. package/dist/chunks/combo-bar-line-chart-model.js +27 -27
  208. package/dist/chunks/data-labels-symbol.js +39 -24
  209. package/dist/chunks/data-labels-visibility.js +22 -22
  210. package/dist/chunks/data.js +68 -68
  211. package/dist/chunks/gauge-model.js +16 -16
  212. package/dist/chunks/generate-x-axis-title.js +9 -9
  213. package/dist/chunks/heat-chart-model.js +76 -47
  214. package/dist/chunks/histogram-data.js +15 -15
  215. package/dist/chunks/histogram-model.js +5 -5
  216. package/dist/chunks/index.js +85 -84
  217. package/dist/chunks/index2.js +5926 -5735
  218. package/dist/chunks/index3.js +32 -29
  219. package/dist/chunks/index4.js +252 -75
  220. package/dist/chunks/line-chart-model.js +2 -2
  221. package/dist/chunks/model-setter.js +15 -14
  222. package/dist/chunks/model-with-line-marker-styling.js +2 -3
  223. package/dist/chunks/model-with-x-guides.js +5 -5
  224. package/dist/chunks/model-with-y-guides.js +20 -20
  225. package/dist/chunks/negative-values-stacked-to-baseline.js +3 -3
  226. package/dist/chunks/pie-chart-data.js +48 -42
  227. package/dist/chunks/pie-chart-model.js +171 -158
  228. package/dist/chunks/radar-chart-model.js +2 -2
  229. package/dist/chunks/resource.js +1 -1
  230. package/dist/chunks/rotated-state.js +1 -1
  231. package/dist/chunks/rounded-corners.js +73 -0
  232. package/dist/chunks/scatterplot-model.js +15 -15
  233. package/dist/chunks/serial-chart-data.js +891 -756
  234. package/dist/chunks/serial-chart-model.js +107 -93
  235. package/dist/chunks/series-length.js +1 -1
  236. package/dist/chunks/series.js +1 -1
  237. package/dist/chunks/type-guards.js +17 -13
  238. package/dist/chunks/type-guards2.js +24 -20
  239. package/dist/chunks/type-guards3.js +1 -1
  240. package/dist/chunks/utils.js +79 -68
  241. package/dist/chunks/utils2.js +1 -1
  242. package/dist/chunks/web-component-utils.js +632 -492
  243. package/dist/chunks/x-bounds.js +17 -17
  244. package/dist/components/arcgis-chart/customElement.d.ts +178 -148
  245. package/dist/components/arcgis-chart/customElement.js +8259 -8184
  246. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  247. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +15 -15
  248. package/dist/components/arcgis-charts-config-bar-chart-data/index.js +1 -1
  249. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +35 -37
  250. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +28 -28
  251. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +6 -9
  252. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +8 -8
  253. package/dist/components/arcgis-charts-config-box-plot-data/index.js +1 -1
  254. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +23 -25
  255. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
  256. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +14 -17
  257. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +14 -16
  258. package/dist/components/arcgis-charts-config-create-flow/customElement.js +16 -16
  259. package/dist/components/arcgis-charts-config-field-picker/customElement.js +30 -0
  260. package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
  261. package/dist/components/arcgis-charts-config-format/customElement.js +25 -25
  262. package/dist/components/arcgis-charts-config-format-popover/customElement.js +7 -10
  263. package/dist/components/arcgis-charts-config-guide/customElement.js +6 -6
  264. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +8 -11
  265. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  266. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +63 -75
  267. package/dist/components/arcgis-charts-config-heat-chart-data/index.js +1 -1
  268. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +53 -54
  269. package/dist/components/arcgis-charts-config-histogram/customElement.js +28 -23
  270. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +19 -19
  271. package/dist/components/arcgis-charts-config-histogram-data/index.js +1 -1
  272. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +33 -34
  273. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  274. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +12 -12
  275. package/dist/components/arcgis-charts-config-line-chart-data/index.js +1 -1
  276. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +36 -38
  277. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +6 -6
  278. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +5 -6
  279. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +41 -48
  280. package/dist/components/arcgis-charts-config-pie-chart-data/index.js +1 -1
  281. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +55 -56
  282. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +9 -9
  283. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +8 -11
  284. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +27 -22
  285. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +79 -79
  286. package/dist/components/arcgis-charts-config-scatter-plot-data/index.js +1 -1
  287. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +18 -19
  288. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +9 -11
  289. package/dist/components/arcgis-charts-config-view-charts/customElement.js +57 -26
  290. package/dist/components/arcgis-charts-info-modal/customElement.js +1 -1
  291. package/dist/docs/api.json +1 -1
  292. package/dist/docs/docs.json +1 -1
  293. package/dist/docs/vscode.html-custom-data.json +1 -1
  294. package/dist/docs/web-types.json +1 -1
  295. package/dist/index.d.ts +66 -70
  296. package/dist/index.js +457 -450
  297. package/dist/json-schema/index.d.ts +162 -2
  298. package/dist/loader.js +2 -2
  299. package/dist/model/bar-chart-model/bar-chart-model.d.ts +4 -2
  300. package/dist/model/chart-model/chart-model.d.ts +2 -1
  301. package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +8 -5
  302. package/dist/model/heat-chart-model/heat-chart-model.d.ts +24 -2
  303. package/dist/model/interfaces/common.d.ts +0 -2
  304. package/dist/model/mixins/model-with-line-marker-styling.d.ts +6 -5
  305. package/dist/model/mixins/model-with-multi-axes.d.ts +22 -22
  306. package/dist/model/pie-chart-model/pie-chart-model.d.ts +2 -0
  307. package/dist/model/properties/data-labels/data-labels-symbol.d.ts +26 -0
  308. package/dist/model/properties/data-tooltip-font-size.d.ts +20 -0
  309. package/dist/model/properties/rotated-state.d.ts +1 -1
  310. package/dist/model/properties/rounded-corners.d.ts +18 -0
  311. package/dist/model/serial-chart-model/serial-chart-model.d.ts +15 -0
  312. package/dist/model/shared/type-guards.d.ts +7 -0
  313. package/dist/spec/chart-object-literals.d.ts +1 -0
  314. package/dist/spec/data-source.d.ts +6 -1
  315. package/dist/spec/rest-js-object-literals.d.ts +2 -2
  316. package/dist/spec/rest-js-types.d.ts +22 -8
  317. package/dist/spec/web-chart.d.ts +16 -2
  318. package/dist/utils/chart-config/converter/index.js +17 -17
  319. package/dist/utils/chart-config/utils/index.d.ts +35 -0
  320. package/dist/utils/chart-config/validator/index.d.ts +1 -0
  321. package/dist/utils/chart-config/validator/interfaces.d.ts +3 -3
  322. package/dist/utils/data/index.d.ts +14 -10
  323. package/dist/utils/defaults/index.d.ts +5 -3
  324. package/dist/utils/defaults/interfaces.d.ts +1 -1
  325. package/dist/utils/errors/index.d.ts +1 -1
  326. package/dist/utils/layer/index.d.ts +5 -3
  327. package/dist/utils/layer/inline-conversion/interfaces.d.ts +0 -2
  328. package/dist/utils/layer/interfaces.d.ts +2 -1
  329. package/dist/utils/layer/query-features/index.d.ts +17 -1
  330. package/dist/utils/layer/query-parser/index.d.ts +4 -3
  331. package/dist/utils/misc/index.d.ts +2 -3
  332. package/dist/utils/types/index.d.ts +1 -5
  333. package/package.json +7 -8
  334. package/dist/cdn/26FWESH3.js +0 -102
  335. package/dist/cdn/2K4ODNJ4.js +0 -2
  336. package/dist/cdn/3XHZ677O.js +0 -2
  337. package/dist/cdn/547RDEMV.js +0 -2
  338. package/dist/cdn/5FMEOIBS.js +0 -3
  339. package/dist/cdn/5XTB2INB.js +0 -2
  340. package/dist/cdn/5YJNENER.js +0 -2
  341. package/dist/cdn/74JAZF7U.js +0 -2
  342. package/dist/cdn/7CN6J33C.js +0 -2
  343. package/dist/cdn/7HIZH35G.js +0 -2
  344. package/dist/cdn/BBURKBKE.js +0 -2
  345. package/dist/cdn/CCR46UHB.js +0 -2
  346. package/dist/cdn/CJPEW4LJ.js +0 -142
  347. package/dist/cdn/CRFJ2GGS.js +0 -2
  348. package/dist/cdn/CXQOEN77.js +0 -2
  349. package/dist/cdn/DYC3Q36R.js +0 -2
  350. package/dist/cdn/E43KEVHT.js +0 -2
  351. package/dist/cdn/EXTKNE2L.js +0 -2
  352. package/dist/cdn/EZV7JSQJ.js +0 -2
  353. package/dist/cdn/F7Y6EWWB.js +0 -2
  354. package/dist/cdn/G5HVFOIO.js +0 -2
  355. package/dist/cdn/G7TRU7JI.js +0 -2
  356. package/dist/cdn/GL3IXVRN.js +0 -2
  357. package/dist/cdn/GLJWUZHK.js +0 -2
  358. package/dist/cdn/HCV34H6X.js +0 -2
  359. package/dist/cdn/IUFXFWXH.js +0 -2
  360. package/dist/cdn/JHYH555K.js +0 -2
  361. package/dist/cdn/JNNB2DIA.js +0 -2
  362. package/dist/cdn/JVHJMPFE.js +0 -2
  363. package/dist/cdn/K5MXTTSL.js +0 -2
  364. package/dist/cdn/KI4HS3AM.js +0 -2
  365. package/dist/cdn/KVGEY3IQ.js +0 -2
  366. package/dist/cdn/LWODMEOP.js +0 -2
  367. package/dist/cdn/LYZGRYQV.js +0 -2
  368. package/dist/cdn/MF3FGXHI.js +0 -2
  369. package/dist/cdn/MUPHTV55.js +0 -2
  370. package/dist/cdn/N5ERJZPG.js +0 -2
  371. package/dist/cdn/NGPMU4T3.js +0 -2
  372. package/dist/cdn/NJCZ6UTM.js +0 -2
  373. package/dist/cdn/NMB6TWC2.js +0 -2
  374. package/dist/cdn/NNNTZU5J.js +0 -2
  375. package/dist/cdn/NPXBPNXE.js +0 -2
  376. package/dist/cdn/NS3THLCD.js +0 -2
  377. package/dist/cdn/NZR4L5AA.js +0 -2
  378. package/dist/cdn/OLV642SY.js +0 -4
  379. package/dist/cdn/P2NPQAJ3.js +0 -2
  380. package/dist/cdn/PJUAU42S.js +0 -2
  381. package/dist/cdn/PK5XIIZY.js +0 -2
  382. package/dist/cdn/PY5Q3V6E.js +0 -2
  383. package/dist/cdn/PZGIXDMC.js +0 -2
  384. package/dist/cdn/RMYZGOBM.js +0 -2
  385. package/dist/cdn/SVLEJ3HK.js +0 -2
  386. package/dist/cdn/TAI4RIWT.js +0 -2
  387. package/dist/cdn/TXSWWAOF.js +0 -2
  388. package/dist/cdn/TZB57XD4.js +0 -2
  389. package/dist/cdn/U67P6YAZ.js +0 -2
  390. package/dist/cdn/UAJGYF4S.js +0 -2
  391. package/dist/cdn/UT6G7RV7.js +0 -2
  392. package/dist/cdn/VOTZAPI3.js +0 -2
  393. package/dist/cdn/W7X6L2OB.js +0 -127
  394. package/dist/cdn/WPPMMVD5.js +0 -2
  395. package/dist/cdn/YF7MNTCU.js +0 -58
  396. package/dist/cdn/YRBE7MBU.js +0 -2
  397. package/dist/cdn/YRFZPSCC.js +0 -2
  398. package/dist/cdn/YYK7SPXC.js +0 -2
  399. package/dist/cdn/Z2CVF7CH.js +0 -2
  400. package/dist/cdn/ZRZEKOEF.js +0 -2
  401. package/dist/chunks/bar-chart-series.js +0 -15
  402. package/dist/chunks/time-zone.js +0 -38
  403. package/dist/components/arcgis-charts-config-field-select/customElement.js +0 -30
  404. /package/dist/components/{arcgis-charts-config-field-select → arcgis-charts-config-field-picker}/index.js +0 -0
@@ -1,407 +1,480 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { isEqual as re, capitalize as F, isNumber as j, zip as J } from "lodash-es";
3
- import { d as E } from "./interfaces.js";
4
- import { g as ne, a as W, b as ee, c as _ } from "./box-plot-data.js";
5
- import { g as le } from "./histogram-data.js";
6
- import { g as se, a as ue, b as ce } from "./pie-chart-data.js";
7
- import { g as te } from "./series-length.js";
8
- import { g as ae, d as oe, e as fe } from "./serial-chart-data.js";
9
- import { g as H, a as me } from "./data.js";
10
- import { Y as I, an as de, af as ye, aK as N, B as v, ba as ge } from "./index2.js";
11
- import { j as U, av as O, g as k, ap as be, b as xe, a as z } from "./index.js";
12
- import { q as w, C as m, F as L } from "./index3.js";
13
- import { g as pe } from "./series-types.js";
14
- import { V as Fe } from "./index6.js";
15
- import { P as Q } from "./common.js";
16
- import { R as Se } from "./rest-js-object-literals.js";
17
- import { u as V, d as B } from "./chart-object-literals.js";
18
- function De(n) {
19
- const { hour: e, minute: t = 0, format: i, locale: r = "en-US" } = n, o = i && Object.keys(i).length > 0 ? i : {
2
+ import { isEqual as ue, capitalize as B, isNumber as W, zip as ae } from "lodash-es";
3
+ import { d as Y } from "./interfaces.js";
4
+ import { g as ce, a as H, b as oe, c as _ } from "./box-plot-data.js";
5
+ import { g as fe } from "./histogram-data.js";
6
+ import { g as me, a as de, b as ye } from "./pie-chart-data.js";
7
+ import { g as ie } from "./series-length.js";
8
+ import { g as re, d as le, e as ge } from "./serial-chart-data.js";
9
+ import { g as z, a as pe } from "./data.js";
10
+ import { Y as U, an as be, af as xe, aK as E, cl as Fe, B as V, a6 as De, bb as Se, d5 as Be } from "./index2.js";
11
+ import { k as q, aw as $, g as R, aq as ve, b as he, a as Q } from "./index.js";
12
+ import { q as K, C as g, F as A } from "./index3.js";
13
+ import { g as Pe } from "./series-types.js";
14
+ import { V as Ve } from "./index6.js";
15
+ import { DateTime as ne } from "luxon";
16
+ import { P as X } from "./common.js";
17
+ import { u as k, d as L } from "./chart-object-literals.js";
18
+ import { R as Ce } from "./rest-js-object-literals.js";
19
+ function Le(l) {
20
+ const { hour: e, minute: t = 0, format: a, locale: o = "en-US" } = l, i = a && Object.keys(a).length > 0 ? a : {
20
21
  hour: "numeric",
21
22
  minute: "2-digit",
22
23
  hour12: !1
23
24
  };
24
- let a = e.toString();
25
+ let r = e.toString();
25
26
  if (Number.isInteger(e) && e >= 0 && e <= 23 && Number.isInteger(t) && t >= 0 && t <= 59) {
26
- const u = new Date(2e3, 0, 1, e, t);
27
- a = new Intl.DateTimeFormat(r, o).format(u), a.includes(":") || a.startsWith("0") && (a = a.slice(1));
27
+ const n = new Date(2e3, 0, 1, e, t);
28
+ r = new Intl.DateTimeFormat(o, i).format(n), r.includes(":") || r.startsWith("0") && (r = r.slice(1));
28
29
  }
29
- return a;
30
+ return r;
30
31
  }
31
- function he(n) {
32
- const { weekdayNumber: e, format: t, locale: i = "en-US", firstDayOfWeek: r = 7 } = n, o = t && Object.keys(t).length > 0 ? t : { weekday: "long" };
33
- let a = e.toString();
34
- if (Number.isInteger(e) && e > 0 && e <= 7 && Number.isInteger(r) && r > 0 && r <= 7) {
35
- const u = (e + r - 1) % 7, c = new Date(2e3, 0, 2 + u);
36
- a = new Intl.DateTimeFormat(i, o).format(c);
32
+ function Ae(l) {
33
+ const { weekdayNumber: e, format: t, locale: a = "en-US", firstDayOfWeek: o = 7 } = l, i = t && Object.keys(t).length > 0 ? t : { weekday: "long" };
34
+ let r = e.toString();
35
+ if (Number.isInteger(e) && e > 0 && e <= 7 && Number.isInteger(o) && o > 0 && o <= 7) {
36
+ const n = (e + o - 1) % 7, s = new Date(2e3, 0, 2 + n);
37
+ r = new Intl.DateTimeFormat(a, i).format(s);
37
38
  }
38
- return a;
39
+ return r;
39
40
  }
40
- function Pe(n) {
41
- const { monthNumber: e, format: t, locale: i = "en-US" } = n, r = t && Object.keys(t).length > 0 ? t : { month: "long" };
42
- let o = e.toString();
41
+ function Oe(l) {
42
+ const { monthNumber: e, format: t, locale: a = "en-US" } = l, o = t && Object.keys(t).length > 0 ? t : { month: "long" };
43
+ let i = e.toString();
43
44
  if (Number.isInteger(e) && e > 0 && e <= 12) {
44
- const a = new Date(2e3, e - 1);
45
- o = new Intl.DateTimeFormat(i, r).format(a);
45
+ const r = new Date(2e3, e - 1);
46
+ i = new Intl.DateTimeFormat(a, o).format(r);
46
47
  }
47
- return o;
48
+ return i;
48
49
  }
49
- function Z(n) {
50
- const { value: e, formatLocale: t, unit: i, config: r, utilsStrings: o } = n;
51
- let a = { label: "", value: e.toString() };
52
- switch (i) {
53
- case B.DayOfWeek:
54
- a = {
55
- label: o.heatChartCalendarDatePartsUnits.dayOfWeek,
56
- value: he({
50
+ function G(l) {
51
+ const { value: e, formatLocale: t, unit: a, config: o, utilsStrings: i } = l;
52
+ let r = { label: "", value: e.toString() };
53
+ switch (a) {
54
+ case L.DayOfWeek:
55
+ r = {
56
+ label: i.heatChartCalendarDatePartsUnits.dayOfWeek,
57
+ value: Ae({
57
58
  weekdayNumber: e,
58
- firstDayOfWeek: "firstDayOfWeek" in r ? r.firstDayOfWeek : be,
59
+ firstDayOfWeek: "firstDayOfWeek" in o ? o.firstDayOfWeek : ve,
59
60
  locale: t
60
61
  })
61
62
  };
62
63
  break;
63
- case B.MonthOfYear:
64
- a = {
65
- label: o.heatChartCalendarDatePartsUnits.monthOfYear,
66
- value: Pe({
64
+ case L.MonthOfYear:
65
+ r = {
66
+ label: i.heatChartCalendarDatePartsUnits.monthOfYear,
67
+ value: Oe({
67
68
  monthNumber: e,
68
69
  locale: t
69
70
  })
70
71
  };
71
72
  break;
72
- case B.HourOfDay:
73
- a = {
74
- label: o.heatChartCalendarDatePartsUnits.hourOfDay,
75
- value: De({
73
+ case L.HourOfDay:
74
+ r = {
75
+ label: i.heatChartCalendarDatePartsUnits.hourOfDay,
76
+ value: Le({
76
77
  hour: e,
77
78
  format: { hour: "numeric", hour12: !1 },
78
79
  locale: t
79
80
  })
80
81
  };
81
82
  break;
82
- case B.DayOfMonth:
83
- a = {
84
- label: o.heatChartCalendarDatePartsUnits.dayOfMonth,
83
+ case L.DayOfMonth:
84
+ r = {
85
+ label: i.heatChartCalendarDatePartsUnits.dayOfMonth,
85
86
  value: typeof e == "string" ? e : e?.toString() ?? ""
86
87
  };
87
88
  break;
88
- case B.DayOfYear:
89
- a = {
90
- label: o.heatChartCalendarDatePartsUnits.dayOfYear,
89
+ case L.DayOfYear:
90
+ r = {
91
+ label: i.heatChartCalendarDatePartsUnits.dayOfYear,
91
92
  value: typeof e == "string" ? e : e?.toString() ?? ""
92
93
  };
93
94
  break;
94
- case B.MinuteOfDay:
95
- a = {
96
- label: o.heatChartCalendarDatePartsUnits.minuteOfDay,
95
+ case L.MinuteOfDay:
96
+ r = {
97
+ label: i.heatChartCalendarDatePartsUnits.minuteOfDay,
97
98
  value: typeof e == "string" ? e : e?.toString() ?? ""
98
99
  };
99
100
  break;
100
- case B.WeekOfYear:
101
- a = {
102
- label: o.heatChartCalendarDatePartsUnits.weekOfYear,
101
+ case L.WeekOfYear:
102
+ r = {
103
+ label: i.heatChartCalendarDatePartsUnits.weekOfYear,
103
104
  value: typeof e == "string" ? e : e?.toString() ?? ""
104
105
  };
105
106
  break;
106
- case B.QuarterOfYear:
107
- a = {
108
- label: o.heatChartCalendarDatePartsUnits.quarterOfYear,
107
+ case L.QuarterOfYear:
108
+ r = {
109
+ label: i.heatChartCalendarDatePartsUnits.quarterOfYear,
109
110
  value: typeof e == "string" ? e : e?.toString() ?? ""
110
111
  };
111
112
  break;
112
113
  }
113
- return a;
114
+ return r;
114
115
  }
115
- function ve(n, e) {
116
- return !re(n, e);
116
+ function Me(l, e) {
117
+ return !ue(l, e);
117
118
  }
118
- function Ge(n, e) {
119
- return ve(n, e) || n !== e;
119
+ function ut(l, e) {
120
+ return Me(l, e) || l !== e;
120
121
  }
121
- function Ae(n) {
122
- return (new Intl.NumberFormat(n, {
122
+ function we(l) {
123
+ return (new Intl.NumberFormat(l, {
123
124
  minimumFractionDigits: 1,
124
125
  maximumFractionDigits: 1
125
- }).formatToParts(1.1).find((i) => i.type === "decimal")?.value ?? ".") === "." ? "," : ";";
126
+ }).formatToParts(1.1).find((a) => a.type === "decimal")?.value ?? ".") === "." ? "," : ";";
126
127
  }
127
- function Be(n) {
128
- return new Intl.NumberFormat(n, {
128
+ function ke(l) {
129
+ return new Intl.NumberFormat(l, {
129
130
  minimumFractionDigits: 1,
130
131
  maximumFractionDigits: 1
131
132
  }).formatToParts(1.1).find((t) => t.type === "decimal")?.value ?? ".";
132
133
  }
133
- const X = (n) => {
134
- const { value: e, quoteAll: t = !1, locale: i, roundDecimals: r } = n;
135
- let o = e == null ? "" : String(e);
134
+ const J = (l) => {
135
+ const { value: e, quoteAll: t = !1, locale: a, roundDecimals: o } = l;
136
+ let i = e == null ? "" : String(e);
136
137
  if (e === null)
137
- o = "null";
138
+ i = "null";
138
139
  else if (e === void 0)
139
- o = "";
140
- else if (typeof e == "number" && Number.isFinite(e) && i !== void 0) {
141
- const u = Be(i), c = r ?? o.split(u)[1]?.length ?? 2;
142
- o = new Intl.NumberFormat(i, {
143
- maximumFractionDigits: c
140
+ i = "";
141
+ else if (typeof e == "number" && Number.isFinite(e) && a !== void 0) {
142
+ const n = ke(a), s = o ?? i.split(n)[1]?.length ?? 2;
143
+ i = new Intl.NumberFormat(a, {
144
+ maximumFractionDigits: s
144
145
  }).format(e).replace(/\u202F/gu, " ");
145
146
  }
146
- return (t || /[",\r\n]/u.test(o)) && (o = `"${o.replace(/"/gu, '""')}"`), o;
147
+ return (t || /[",\r\n]/u.test(i)) && (i = `"${i.replace(/"/gu, '""')}"`), i;
147
148
  };
148
- function Je(n, e = {}) {
149
- const { columns: t, delimiter: i, includeHeader: r = !0, quoteAll: o = !1, locale: a, roundDecimals: u } = e, c = n.length === 0;
150
- let l = "";
151
- if (!c) {
152
- const S = t ?? Object.keys(n[0]), p = [], x = i ?? Ae(a ?? "en");
153
- if (a !== void 0 && x !== "," && (l += `sep=${x}\r
154
- `), r) {
155
- const y = S.map((s) => X({ value: s, quoteAll: o, locale: a, roundDecimals: u }));
156
- p.push(y.join(x));
149
+ function ct(l, e = {}) {
150
+ const { columns: t, delimiter: a, includeHeader: o = !0, quoteAll: i = !1, locale: r, roundDecimals: n } = e, s = l.length === 0;
151
+ let c = "";
152
+ if (!s) {
153
+ const f = t ?? Object.keys(l[0]), u = [], p = a ?? we(r ?? "en");
154
+ if (r !== void 0 && p !== "," && (c += `sep=${p}\r
155
+ `), o) {
156
+ const v = f.map((b) => J({ value: b, quoteAll: i, locale: r, roundDecimals: n }));
157
+ u.push(v.join(p));
157
158
  }
158
- n.forEach((y) => {
159
- const s = S.map((f) => X({ value: y[f], quoteAll: o, locale: a, roundDecimals: u }));
160
- p.push(s.join(x));
161
- }), l += p.join(`\r
159
+ l.forEach((v) => {
160
+ const b = f.map((x) => J({ value: v[x], quoteAll: i, locale: r, roundDecimals: n }));
161
+ u.push(b.join(p));
162
+ }), c += u.join(`\r
162
163
  `);
163
164
  }
164
- return l;
165
+ return c;
165
166
  }
166
- function et(n) {
167
- const { rawData: e, config: t, layer: i, fieldList: r, formatters: o, formatLocale: a, utilsStrings: u } = n;
168
- let c = [];
167
+ function ft(l) {
168
+ const { rawData: e, config: t, layer: a, fieldList: o, formatters: i, useRendererLabel: r, timeZone: n, formatLocale: s, utilsStrings: c } = l;
169
+ let f = [];
169
170
  if (t !== void 0 && Array.isArray(e) && e.length > 0) {
170
- const l = pe(t?.series);
171
- l === V.HistogramSeries ? c = Ve(
171
+ const u = Pe(t?.series);
172
+ u === k.HistogramSeries ? f = Re(
172
173
  t,
173
174
  e,
174
- o
175
- ) : l === V.HeatSeries ? c = Le({
175
+ i
176
+ ) : u === k.HeatSeries ? f = Te({
176
177
  config: t,
177
178
  rows: e,
178
- layer: i,
179
- fieldList: r,
180
- formatLocale: a,
181
- utilsStrings: u
182
- }) : l === V.BarSeries || l === V.LineSeries || l === V.ComboLineAndBarSeries ? c = Me({
179
+ layer: a,
180
+ fieldList: o,
181
+ formatLocale: s,
182
+ utilsStrings: c
183
+ }) : u === k.BarSeries || u === k.LineSeries || u === k.ComboLineAndBarSeries ? f = Ke({
183
184
  config: t,
184
185
  rows: e,
185
- layer: i,
186
- fieldList: r,
187
- formatters: o
188
- }) : l === V.PieSeries ? c = $e({
186
+ layer: a,
187
+ fieldList: o,
188
+ formatters: i,
189
+ useRendererLabel: r,
190
+ timeZone: n
191
+ }) : u === k.PieSeries ? f = Ee({
189
192
  config: t,
190
193
  rows: e,
191
- layer: i,
192
- fieldList: r,
193
- formatters: o
194
- }) : l === V.BoxPlotSeries && (c = Te({
194
+ layer: a,
195
+ fieldList: o,
196
+ formatters: i,
197
+ useRendererLabel: r,
198
+ timeZone: n
199
+ }) : u === k.BoxPlotSeries && (f = Ze({
195
200
  config: t,
196
201
  rows: e,
197
- fieldList: r,
198
- formatters: o
202
+ layer: a,
203
+ fieldList: o,
204
+ formatters: i,
205
+ useRendererLabel: r,
206
+ timeZone: n
199
207
  }));
200
208
  }
201
- return c;
209
+ return f;
202
210
  }
203
- function P(n) {
204
- const { value: e, originalValue: t, formatter: i } = n;
205
- let r = e;
206
- return i !== void 0 && (e === null || e instanceof Date || typeof e == "number" || typeof e == "string") && (r = i(e, t)), r;
211
+ function h(l) {
212
+ const { value: e, originalValue: t, formatter: a } = l;
213
+ let o = e;
214
+ return a !== void 0 && (e === null || e instanceof Date || typeof e == "number" || typeof e == "string") && (o = a(e, t)), o;
207
215
  }
208
- function C(n) {
209
- const { field: e, row: t, fieldList: i, formatter: r } = n, o = Object.keys(t).find((c) => c.toLocaleLowerCase() === e.toLocaleLowerCase()), a = t[o ?? e];
210
- let u;
211
- return a == null || typeof a == "boolean" || Array.isArray(a) ? u = a : typeof a == "string" || typeof a == "number" || a instanceof Date ? u = ie({
212
- field: e,
213
- value: a,
214
- fieldList: i
215
- }) : u = a, P({
216
- value: u,
217
- originalValue: a,
216
+ function M(l) {
217
+ const { field: e, value: t, dataContext: a, layer: o, fieldList: i, formatter: r, timeZone: n } = l;
218
+ let s;
219
+ if (t == null || typeof t == "boolean" || Array.isArray(t))
220
+ s = t;
221
+ else if (typeof t == "string" || typeof t == "number" || t instanceof Date) {
222
+ const f = Ne({
223
+ fieldName: e,
224
+ dataContext: a
225
+ }) ?? (o !== void 0 && (typeof t == "string" || typeof t == "number") ? De({
226
+ queryObject: o,
227
+ fieldName: e,
228
+ fieldValue: t
229
+ }) : void 0);
230
+ s = se({
231
+ field: e,
232
+ value: f ?? t,
233
+ fieldList: i,
234
+ timeZone: n
235
+ });
236
+ } else
237
+ s = t;
238
+ return h({
239
+ value: s,
240
+ originalValue: t,
218
241
  formatter: r
219
242
  });
220
243
  }
221
- function Y(n) {
222
- const { config: e, seriesIndex: t, formatters: i } = n;
223
- return e.series?.[t]?.assignToSecondValueAxis === !0 ? i?.secondaryYAxisLabelFormatter : i?.yAxisLabelFormatter;
244
+ function O(l) {
245
+ const { field: e, row: t, layer: a, fieldList: o, formatter: i, useRendererLabel: r = !1, timeZone: n } = l, s = Object.keys(t).find((u) => u.toLocaleLowerCase() === e.toLocaleLowerCase()), c = t[s ?? e], f = Fe({
246
+ value: c,
247
+ dataContext: t,
248
+ useRendererLabel: r
249
+ });
250
+ return M({
251
+ field: e,
252
+ value: f,
253
+ dataContext: t,
254
+ layer: a,
255
+ fieldList: o,
256
+ formatter: i,
257
+ timeZone: n
258
+ });
259
+ }
260
+ function $e(l, e) {
261
+ let t = !1;
262
+ if (l === e)
263
+ t = !0;
264
+ else if (l != null && e != null) {
265
+ const a = String(l), o = String(e);
266
+ t = a === o || !Number.isNaN(Number(a)) && !Number.isNaN(Number(o)) && Number(a) === Number(o);
267
+ }
268
+ return t;
224
269
  }
225
- function Ce(n) {
226
- const { config: e, splitValueIndex: t, formatters: i } = n;
227
- return e?.series?.[t]?.assignToSecondValueAxis === !0 ? i?.secondaryYAxisLabelFormatter : i?.yAxisLabelFormatter;
270
+ function Ne(l) {
271
+ const { fieldName: e, dataContext: t } = l, a = A.rendererSymbolField;
272
+ return e === a && t !== void 0 ? Be(t) : void 0;
228
273
  }
229
- function Le(n) {
230
- const { config: e, rows: t, layer: i, fieldList: r, formatLocale: o, utilsStrings: a } = n, [u] = e.series, c = u.x, l = ae(e), S = oe(e), p = H({
231
- config: e,
232
- xAxisField: c,
233
- numericFields: S,
234
- aggregationType: l,
274
+ function ee(l) {
275
+ const { config: e, splitByField: t, splitByValue: a, splitByValueIndex: o, layer: i, fieldList: r, timeZone: n } = l;
276
+ let s;
277
+ const c = e.series[o ?? -1]?.name;
278
+ return c !== void 0 ? s = c : s = M({
279
+ field: t,
280
+ value: a,
235
281
  layer: i,
236
- fieldList: r
282
+ fieldList: r,
283
+ timeZone: n
284
+ }), s;
285
+ }
286
+ function Te(l) {
287
+ const { config: e, rows: t, layer: a, fieldList: o, formatLocale: i, utilsStrings: r } = l, [n] = e.series, s = n.x, c = re(e), f = le(e), u = z({
288
+ config: e,
289
+ xAxisField: s,
290
+ numericFields: f,
291
+ aggregationType: c,
292
+ layer: a,
293
+ fieldList: o
237
294
  });
238
- return t.map((x) => {
239
- const y = x[U.xField], s = x[U.yField], f = x[U.valueField], d = typeof f == "number" && Number.isFinite(f) ? f.toFixed(2) : f;
240
- let g = { label: u.x, value: y }, b = { label: u.y, value: s };
241
- if (u.xTemporalBinning !== void 0) {
242
- const { label: D, value: h } = Z({
243
- value: Number(y),
295
+ return t.map((p) => {
296
+ const v = p[q.xField], b = p[q.yField], x = p[q.valueField], D = typeof x == "number" && Number.isFinite(x) ? x.toFixed(2) : x;
297
+ let m = { label: n.x, value: v }, d = { label: n.y, value: b };
298
+ if (n.xTemporalBinning !== void 0) {
299
+ const { label: F, value: S } = G({
300
+ value: Number(v),
244
301
  config: e,
245
- formatLocale: o,
246
- unit: u.xTemporalBinning.unit,
247
- utilsStrings: a
302
+ formatLocale: i,
303
+ unit: n.xTemporalBinning.unit,
304
+ utilsStrings: r
248
305
  });
249
- !w(D) && !w(h) && (g = { label: D, value: h });
306
+ !K(F) && !K(S) && (m = { label: F, value: S });
250
307
  }
251
- if (u.yTemporalBinning !== void 0) {
252
- const { label: D, value: h } = Z({
253
- value: Number(s),
308
+ if (n.yTemporalBinning !== void 0) {
309
+ const { label: F, value: S } = G({
310
+ value: Number(b),
254
311
  config: e,
255
- formatLocale: o,
256
- unit: u.yTemporalBinning.unit,
257
- utilsStrings: a
312
+ formatLocale: i,
313
+ unit: n.yTemporalBinning.unit,
314
+ utilsStrings: r
258
315
  });
259
- !w(D) && !w(h) && (b = { label: D, value: h });
316
+ !K(F) && !K(S) && (d = { label: F, value: S });
260
317
  }
261
318
  return {
262
- [g.label]: g.value,
263
- [b.label]: b.value,
264
- [p.description]: d
319
+ [m.label]: m.value,
320
+ [d.label]: d.value,
321
+ [u.description]: D
265
322
  };
266
323
  });
267
324
  }
268
- function Ve(n, e, t) {
269
- const i = le(n), r = `${F(E.Min)} of ${i}`, o = `${F(E.Max)} of ${i}`, a = `${F(E.Count)} of ${i}`;
270
- return e.map((u) => {
271
- const { minValue: c, maxValue: l, count: S } = u, p = j(c), x = j(l), y = j(S), s = {};
272
- if (p && (s[r] = P({
325
+ function Re(l, e, t) {
326
+ const a = fe(l), o = `${B(Y.Min)} of ${a}`, i = `${B(Y.Max)} of ${a}`, r = `${B(Y.Count)} of ${a}`;
327
+ return e.map((n) => {
328
+ const { minValue: s, maxValue: c, count: f } = n, u = W(s), p = W(c), v = W(f), b = {};
329
+ if (u && (b[o] = h({
330
+ value: s,
331
+ originalValue: s,
332
+ formatter: t?.xAxisLabelFormatter
333
+ })), p && (b[i] = h({
273
334
  value: c,
274
335
  originalValue: c,
275
336
  formatter: t?.xAxisLabelFormatter
276
- })), x && (s[o] = P({
277
- value: l,
278
- originalValue: l,
279
- formatter: t?.xAxisLabelFormatter
280
- })), p && x) {
281
- const f = P({
337
+ })), u && p) {
338
+ const x = h({
339
+ value: s,
340
+ originalValue: s,
341
+ formatter: t?.xAxisLabelFormatter
342
+ }), D = h({
282
343
  value: c,
283
344
  originalValue: c,
284
345
  formatter: t?.xAxisLabelFormatter
285
- }), d = P({
286
- value: l,
287
- originalValue: l,
288
- formatter: t?.xAxisLabelFormatter
289
346
  });
290
- s.Label = `${String(f ?? "")} - ${String(d ?? "")}`;
347
+ b.Label = `${String(x ?? "")} - ${String(D ?? "")}`;
291
348
  }
292
- return y && (s[a] = P({
293
- value: S,
294
- originalValue: S,
295
- formatter: t?.yAxisLabelFormatter
296
- })), s;
349
+ return v && (b[r] = f), b;
297
350
  });
298
351
  }
299
- function Oe(n, e, t) {
300
- const i = Object.keys(n);
301
- let r = [];
302
- return t ? r = t.map((o) => i.find((a) => a.toLowerCase().includes(o.toLowerCase())) || "") : r = i.filter((a) => a.toLowerCase().includes(e.toLowerCase())), r.filter((o) => o.trim() !== "");
352
+ function Ie(l, e, t) {
353
+ const a = Object.keys(l);
354
+ let o = [];
355
+ return t ? o = t.map((i) => a.find((r) => r.toLowerCase().includes(i.toLowerCase())) || "") : o = a.filter((r) => r.toLowerCase().includes(e.toLowerCase())), o.filter((i) => i.trim() !== "");
303
356
  }
304
- function Me(n) {
305
- const { config: e, rows: t, layer: i, fieldList: r, formatters: o } = n, a = me(e), u = ae(e), c = F(u), l = oe(e), S = I(e.series), p = te(e), x = fe(e), { idField: y, isTraditionalTypeOID: s } = de(ye(i)), f = s && l.length === 1 && l[0] === y;
357
+ function Ke(l) {
358
+ const { config: e, rows: t, layer: a, fieldList: o, formatters: i, useRendererLabel: r = !1, timeZone: n } = l, s = pe(e), c = re(e), f = B(c), u = le(e), p = U(e.series), v = ie(e), b = ge(e), { idField: x, isTraditionalTypeOID: D } = be(xe(a)), m = D && u.length === 1 && u[0] === x;
306
359
  let d;
307
- switch (S) {
308
- case m.BarAndLineNoAggregation:
309
- d = t.map((g) => {
310
- const b = C({
311
- field: a,
312
- row: g,
313
- fieldList: r,
314
- formatter: o?.xAxisLabelFormatter
315
- }), D = { [a]: b };
360
+ switch (p) {
361
+ case g.BarAndLineNoAggregation:
362
+ d = t.map((y) => {
363
+ const F = O({
364
+ field: s,
365
+ row: y,
366
+ layer: a,
367
+ fieldList: o,
368
+ formatter: i?.xAxisLabelFormatter,
369
+ useRendererLabel: r,
370
+ timeZone: n
371
+ }), S = { [s]: F };
316
372
  return Object.assign(
317
- D,
318
- ...l.map((h, A) => ({
319
- [h]: P({
320
- value: g[h],
321
- originalValue: g[h],
322
- formatter: Y({ config: e, seriesIndex: A, formatters: o })
373
+ S,
374
+ ...u.map((P) => ({
375
+ [P]: h({
376
+ value: y[P],
377
+ originalValue: y[P]
323
378
  })
324
379
  }))
325
- ), D;
380
+ ), S;
326
381
  });
327
382
  break;
328
- case m.BarAndLineFromFields:
329
- d = J(l, t).map(([g, b]) => {
330
- const D = N(e.series)[0], h = {};
331
- return b !== void 0 && g !== void 0 && (h.Field = P({
332
- value: b[a],
333
- originalValue: b[a],
334
- formatter: o?.xAxisLabelFormatter
335
- }), h.Value = P({
336
- value: b[D],
337
- originalValue: b[D],
338
- formatter: Y({ config: e, seriesIndex: 0, formatters: o })
339
- })), h;
383
+ case g.BarAndLineFromFields:
384
+ d = ae(u, t).map(([y, F]) => {
385
+ const S = E(e.series)[0], P = {};
386
+ return F !== void 0 && y !== void 0 && (P.Field = h({
387
+ value: F[s],
388
+ originalValue: F[s],
389
+ formatter: i?.xAxisLabelFormatter
390
+ }), P.Value = h({
391
+ value: F[S],
392
+ originalValue: F[S]
393
+ })), P;
340
394
  });
341
395
  break;
342
- case m.BarAndLineMonoField:
343
- case m.BarAndLineMultiFields:
344
- d = t.map((g) => {
345
- const b = C({
346
- field: a,
347
- row: g,
348
- fieldList: r,
349
- formatter: o?.xAxisLabelFormatter
350
- }), D = { [a]: b };
351
- return l.forEach((h, A) => {
352
- const $ = H({
396
+ case g.BarAndLineMonoField:
397
+ case g.BarAndLineMultiFields:
398
+ d = t.map((y) => {
399
+ const F = O({
400
+ field: s,
401
+ row: y,
402
+ layer: a,
403
+ fieldList: o,
404
+ formatter: i?.xAxisLabelFormatter,
405
+ useRendererLabel: r,
406
+ timeZone: n
407
+ }), S = { [s]: F };
408
+ return u.forEach((P, C) => {
409
+ const w = z({
353
410
  config: e,
354
- xAxisField: a,
355
- numericFields: l,
356
- aggregationType: u,
357
- layer: i,
358
- numericFieldIndex: A,
359
- fieldList: r
360
- }), R = N(e.series)[A];
361
- let q = R, K = R;
362
- R.toLowerCase() === $.name.toLowerCase() && (q = $.description, K = $.name), D[q] = P({
363
- value: g[K],
364
- originalValue: g[K],
365
- formatter: Y({ config: e, seriesIndex: A, formatters: o })
411
+ xAxisField: s,
412
+ numericFields: u,
413
+ aggregationType: c,
414
+ layer: a,
415
+ numericFieldIndex: C,
416
+ fieldList: o
417
+ }), N = E(e.series)[C];
418
+ let I = N, Z = N;
419
+ N.toLowerCase() === w.name.toLowerCase() && (I = w.description, Z = w.name), S[I] = h({
420
+ value: y[Z],
421
+ originalValue: y[Z]
366
422
  });
367
- }), D;
423
+ }), S;
368
424
  });
369
425
  break;
370
- case m.BarAndLineSplitBy:
371
- d = t.flatMap((g) => {
372
- const b = N(e.series), D = C({
373
- field: a,
374
- row: g,
375
- fieldList: r,
376
- formatter: o?.xAxisLabelFormatter
426
+ case g.BarAndLineSplitBy:
427
+ d = t.flatMap((y) => {
428
+ const F = E(e.series), S = O({
429
+ field: s,
430
+ row: y,
431
+ layer: a,
432
+ fieldList: o,
433
+ formatter: i?.xAxisLabelFormatter,
434
+ useRendererLabel: r,
435
+ timeZone: n
436
+ });
437
+ return v.map((P, C) => {
438
+ const w = ee({
439
+ config: e,
440
+ splitByField: b,
441
+ splitByValue: P,
442
+ splitByValueIndex: C,
443
+ layer: a,
444
+ fieldList: o,
445
+ timeZone: n
446
+ });
447
+ return {
448
+ [s]: S,
449
+ [b]: w,
450
+ [m ? f : `${f} of ${u[0]}`]: y[F[C]]
451
+ };
377
452
  });
378
- return p.map((h, A) => ({
379
- [a]: D,
380
- [x]: h,
381
- [f ? c : `${c} of ${l[0]}`]: P({
382
- value: g[b[A]],
383
- originalValue: g[b[A]],
384
- formatter: Ce({ config: e, splitValueIndex: A, formatters: o })
385
- })
386
- }));
387
453
  });
388
454
  break;
389
- case m.BarAndLineSplitByNoAggregation:
390
- d = t.map((g) => {
391
- const b = C({
392
- field: a,
393
- row: g,
394
- fieldList: r,
395
- formatter: o?.xAxisLabelFormatter
396
- }), D = Oe(g, l[0], p);
455
+ case g.BarAndLineSplitByNoAggregation:
456
+ d = t.map((y) => {
457
+ const F = O({
458
+ field: s,
459
+ row: y,
460
+ layer: a,
461
+ fieldList: o,
462
+ formatter: i?.xAxisLabelFormatter,
463
+ useRendererLabel: r,
464
+ timeZone: n
465
+ }), S = Ie(y, u[0], v), P = y[b], C = v.findIndex((I) => $e(I, P)), w = ee({
466
+ config: e,
467
+ splitByField: b,
468
+ splitByValue: P,
469
+ splitByValueIndex: C >= 0 ? C : void 0,
470
+ layer: a,
471
+ fieldList: o,
472
+ timeZone: n
473
+ });
397
474
  return {
398
- [a]: b,
399
- [x]: g[x],
400
- [l[0]]: P({
401
- value: g[D[0]],
402
- originalValue: g[D[0]],
403
- formatter: o?.yAxisLabelFormatter
404
- })
475
+ [s]: F,
476
+ [b]: w,
477
+ [u[0]]: y[S[0]]
405
478
  };
406
479
  });
407
480
  break;
@@ -410,289 +483,356 @@ function Me(n) {
410
483
  }
411
484
  return d;
412
485
  }
413
- function ke(n) {
414
- if (n.length === 0)
486
+ function je(l) {
487
+ if (l.length === 0)
415
488
  return [];
416
- const e = n.reduce((t, i) => {
417
- for (const [r, o] of Object.entries(i))
418
- typeof o == "number" && Number.isFinite(o) && (t[r] = (t[r] ?? 0) + o);
489
+ const e = l.reduce((t, a) => {
490
+ for (const [o, i] of Object.entries(a))
491
+ typeof i == "number" && Number.isFinite(i) && (t[o] = (t[o] ?? 0) + i);
419
492
  return t;
420
493
  }, {});
421
- return n.map((t) => {
422
- const i = { ...t };
423
- for (const [r, o] of Object.entries(t))
424
- if (typeof o == "number" && e[r] > 0) {
425
- const a = o / e[r];
426
- i[`${r}${O}`] = a.toPrecision(2);
494
+ return l.map((t) => {
495
+ const a = { ...t };
496
+ for (const [o, i] of Object.entries(t))
497
+ if (typeof i == "number" && e[o] > 0) {
498
+ const r = i / e[o];
499
+ a[`${o}${$}`] = r.toPrecision(2);
427
500
  }
428
- return i;
501
+ return a;
429
502
  });
430
503
  }
431
- function $e(n) {
432
- const { config: e, rows: t, layer: i, fieldList: r, formatters: o } = n, a = se(e), u = I(e.series);
433
- let c = ke(t);
434
- const l = ue(e), S = u !== m.PieFromFields ? Q.Category : Q.Fields, p = ce(e, S), x = H({
504
+ function Ee(l) {
505
+ const { config: e, rows: t, layer: a, fieldList: o, formatters: i, useRendererLabel: r = !1, timeZone: n } = l, s = me(e), c = U(e.series);
506
+ let f = je(t);
507
+ const u = de(e), p = c !== g.PieFromFields ? X.Category : X.Fields, v = ye(e, p), b = z({
435
508
  config: e,
436
- xAxisField: a,
437
- numericFields: l,
438
- aggregationType: p,
439
- mode: S,
440
- layer: i,
441
- fieldList: r
442
- }), y = N(e.series)[0];
443
- return u === m.PieFromCategory || u === m.PieNoAggregation ? c = c.map((s) => {
444
- const f = C({
445
- field: a,
446
- row: s,
447
- fieldList: r,
448
- formatter: o?.xAxisLabelFormatter
449
- }), d = { [a]: f };
450
- let g = y, b = y;
451
- return u === m.PieFromCategory && y.toLowerCase() === x.name.toLowerCase() && (g = x.description, b = x.name), d[g] = P({
452
- value: s[b],
453
- originalValue: s[b],
454
- formatter: o?.yAxisLabelFormatter
455
- }), d[F(O.trim())] = P({
456
- value: s[`${b}${O}`],
457
- originalValue: s[`${b}${O}`],
458
- formatter: o?.yAxisLabelFormatter
509
+ xAxisField: s,
510
+ numericFields: u,
511
+ aggregationType: v,
512
+ mode: p,
513
+ layer: a,
514
+ fieldList: o
515
+ }), x = E(e.series)[0];
516
+ return c === g.PieFromCategory || c === g.PieNoAggregation ? f = f.map((D) => {
517
+ const m = O({
518
+ field: s,
519
+ row: D,
520
+ layer: a,
521
+ fieldList: o,
522
+ formatter: i?.xAxisLabelFormatter,
523
+ useRendererLabel: r,
524
+ timeZone: n
525
+ }), d = { [s]: m };
526
+ let y = x, F = x;
527
+ return c === g.PieFromCategory && x.toLowerCase() === b.name.toLowerCase() && (y = b.description, F = b.name), d[y] = h({
528
+ value: D[F],
529
+ originalValue: D[F]
530
+ }), d[B($.trim())] = h({
531
+ value: D[`${F}${$}`],
532
+ originalValue: D[`${F}${$}`]
459
533
  }), d;
460
- }) : u === m.PieFromFields && (c = J(l, c).map(([s, f]) => {
534
+ }) : c === g.PieFromFields && (f = ae(u, f).map(([D, m]) => {
461
535
  const d = {};
462
- return f !== void 0 && s !== void 0 && (d.Field = P({
463
- value: f[a],
464
- originalValue: f[a],
465
- formatter: o?.xAxisLabelFormatter
466
- }), d.Value = P({
467
- value: f[y],
468
- originalValue: f[y],
469
- formatter: o?.yAxisLabelFormatter
470
- }), d[F(O.trim())] = P({
471
- value: f[`${y}${O}`],
472
- originalValue: f[`${y}${O}`],
473
- formatter: o?.yAxisLabelFormatter
536
+ return m !== void 0 && D !== void 0 && (d.Field = h({
537
+ value: m[s],
538
+ originalValue: m[s],
539
+ formatter: i?.xAxisLabelFormatter
540
+ }), d.Value = h({
541
+ value: m[x],
542
+ originalValue: m[x]
543
+ }), d[B($.trim())] = h({
544
+ value: m[`${x}${$}`],
545
+ originalValue: m[`${x}${$}`]
474
546
  })), d;
475
- })), c;
547
+ })), f;
476
548
  }
477
- function T(n) {
478
- const { rawData: e, keyBase: t = "", outRow: i } = n;
479
- for (const [r, o] of Object.entries(v)) {
480
- const a = e[t + o];
481
- a !== void 0 && (i[r] = a);
482
- const u = e[t + o + xe];
483
- u !== void 0 && (i[`${r} Outlier`] = u);
484
- const c = e[t + o + z];
485
- c !== void 0 && (i[`${r} Z-Score`] = c);
549
+ function j(l) {
550
+ const { rawData: e, keyBase: t = "", outRow: a } = l;
551
+ for (const [o, i] of Object.entries(V)) {
552
+ const r = e[t + i];
553
+ r !== void 0 && (a[o] = r);
554
+ const n = e[t + i + he];
555
+ n !== void 0 && (a[`${o} Outlier`] = n);
556
+ const s = e[t + i + Q];
557
+ s !== void 0 && (a[`${o} Z-Score`] = s);
486
558
  }
487
559
  }
488
- function M(n) {
489
- const { rawData: e, outRow: t, config: i, boxPlotSubType: r, fieldList: o } = n, a = W(i), u = ee(i), c = _(i);
490
- let l = v.Outlier;
491
- const S = k;
492
- switch (r) {
493
- case m.BoxPlotMonoFieldAndCategory: {
494
- const y = ie({
495
- field: a,
496
- value: e[a],
497
- fieldList: o
560
+ function T(l) {
561
+ const { rawData: e, outRow: t, config: a, boxPlotSubType: o, layer: i, fieldList: r, timeZone: n } = l, s = H(a), c = oe(a), f = _(a);
562
+ let u = V.Outlier;
563
+ const p = R;
564
+ switch (o) {
565
+ case g.BoxPlotMonoFieldAndCategory: {
566
+ const x = se({
567
+ field: s,
568
+ value: e[s],
569
+ fieldList: r,
570
+ timeZone: n
498
571
  });
499
- t[a] = y, t[F(v.Outlier)] = e[l];
572
+ t[s] = x, t[B(V.Outlier)] = e[u];
500
573
  break;
501
574
  }
502
- case m.BoxPlotMultiFieldsAndCategory: {
503
- t[F(a)] = e[a], l = `${u.find(
504
- (s) => Object.keys(e).some((f) => f.toLowerCase().includes(s.toLowerCase()))
505
- ) ?? ""}_${l}`, t[F(v.Outlier)] = e[l];
575
+ case g.BoxPlotMultiFieldsAndCategory: {
576
+ t[B(s)] = e[s], u = `${c.find(
577
+ (D) => Object.keys(e).some((m) => m.toLowerCase().includes(D.toLowerCase()))
578
+ ) ?? ""}_${u}`, t[B(V.Outlier)] = e[u];
506
579
  break;
507
580
  }
508
- case m.BoxPlotMonoFieldAndSplitBy:
509
- case m.BoxPlotMultiFieldsAndSplitBy: {
510
- const y = String(e[c]);
511
- l = `${y}_${l}`, t.Field = e[S], t[F(c)] = y, t[F(v.Outlier)] = e[l];
581
+ case g.BoxPlotMonoFieldAndSplitBy:
582
+ case g.BoxPlotMultiFieldsAndSplitBy: {
583
+ const x = String(e[f]), D = M({
584
+ field: f,
585
+ value: x,
586
+ layer: i,
587
+ fieldList: r,
588
+ timeZone: n
589
+ });
590
+ u = `${x}_${u}`, t.Field = e[p], t[B(f)] = D, t[B(V.Outlier)] = e[u];
512
591
  break;
513
592
  }
514
- case m.BoxPlotMonoFieldAndCategoryAndSplitBy: {
515
- const y = String(e[c]);
516
- l = `${y}_${l}`, t[F(a)] = e[a], t[F(c)] = y, t[F(v.Outlier)] = e[l];
593
+ case g.BoxPlotMonoFieldAndCategoryAndSplitBy: {
594
+ const x = String(e[f]), D = M({
595
+ field: f,
596
+ value: x,
597
+ layer: i,
598
+ fieldList: r,
599
+ timeZone: n
600
+ });
601
+ u = `${x}_${u}`, t[B(s)] = e[s], t[B(f)] = D, t[B(V.Outlier)] = e[u];
517
602
  break;
518
603
  }
519
- case m.BoxPlotMonoField:
520
- case m.BoxPlotMultiFields:
604
+ case g.BoxPlotMonoField:
605
+ case g.BoxPlotMultiFields:
521
606
  default: {
522
- t.Field = e[S], t[F(v.Outlier)] = e[l];
607
+ t.Field = e[p], t[B(V.Outlier)] = e[u];
523
608
  break;
524
609
  }
525
610
  }
526
- const p = `${l}${z}`, x = e[p];
527
- x !== void 0 && (t[`${F(v.Outlier)} Z-Score`] = x);
611
+ const v = `${u}${Q}`, b = e[v];
612
+ b !== void 0 && (t[`${B(V.Outlier)} Z-Score`] = b);
528
613
  }
529
- function we(n) {
530
- const { rawData: e, outRow: t, config: i, splitByValue: r } = n, o = I(i.series), a = e[`${r}_${v.Average}`], u = _(i), c = W(i);
531
- let l = "";
532
- switch (o) {
533
- case m.BoxPlotMonoFieldAndSplitBy: {
534
- l = `${r}_${u}`, t.Field = e[k], t[F(u)] = e[l];
614
+ function Ue(l) {
615
+ const { rawData: e, outRow: t, config: a, splitByValue: o, layer: i, fieldList: r, timeZone: n } = l, s = U(a.series), c = e[`${o}_${V.Average}`], f = _(a), u = H(a);
616
+ let p = "";
617
+ switch (s) {
618
+ case g.BoxPlotMonoFieldAndSplitBy: {
619
+ p = `${o}_${f}`, t.Field = e[R], t[B(f)] = M({
620
+ field: f,
621
+ value: e[p],
622
+ layer: i,
623
+ fieldList: r,
624
+ timeZone: n
625
+ });
535
626
  break;
536
627
  }
537
- case m.BoxPlotMultiFieldsAndSplitBy: {
538
- l = `${r}_${v.Average}`, t.Field = e[k], t[F(u)] = e[l];
628
+ case g.BoxPlotMultiFieldsAndSplitBy: {
629
+ p = `${o}_${V.Average}`, t.Field = e[R], t[B(f)] = M({
630
+ field: f,
631
+ value: e[p],
632
+ layer: i,
633
+ fieldList: r,
634
+ timeZone: n
635
+ });
539
636
  break;
540
637
  }
541
- case m.BoxPlotMonoFieldAndCategoryAndSplitBy: {
542
- l = `${r}_${v.Average}`, t[c] = e[c], t[F(u)] = r;
638
+ case g.BoxPlotMonoFieldAndCategoryAndSplitBy: {
639
+ p = `${o}_${V.Average}`, t[u] = e[u], t[B(f)] = M({
640
+ field: f,
641
+ value: o,
642
+ layer: i,
643
+ fieldList: r,
644
+ timeZone: n
645
+ });
543
646
  break;
544
647
  }
545
648
  }
546
- t[F(v.Average)] = a;
547
- const S = `${String(a)}${z}`, p = e[S];
548
- p !== void 0 && (t[`${F(v.Average)} Z-Score`] = p);
649
+ t[B(V.Average)] = c;
650
+ const v = `${String(c)}${Q}`, b = e[v];
651
+ b !== void 0 && (t[`${B(V.Average)} Z-Score`] = b);
549
652
  }
550
- function Te(n) {
551
- const { config: e, rows: t, fieldList: i, formatters: r } = n, o = I(e.series);
552
- let a = o;
553
- const u = ne(e), c = Array.isArray(t) && t.length > 0 && t.every((s) => s[L.boxPlot.boxPlotMeanLineMarkerId] !== void 0);
554
- u && !c && (o === m.BoxPlotMonoFieldAndSplitBy ? a = m.BoxPlotMonoField : o === m.BoxPlotMultiFieldsAndSplitBy ? a = m.BoxPlotMultiFields : o === m.BoxPlotMonoFieldAndCategoryAndSplitBy && (a = m.BoxPlotMonoFieldAndCategory));
555
- const l = W(e), S = ee(e), p = te(e), x = _(e);
556
- let y;
557
- switch (a) {
558
- case m.BoxPlotMonoField:
559
- case m.BoxPlotMonoFieldAndCategory: {
560
- y = t.map((s) => {
561
- const f = {};
562
- if (s[L.boxPlot.boxPlotOutlierId])
563
- M({ rawData: s, outRow: f, config: e, boxPlotSubType: a });
653
+ function Ze(l) {
654
+ const { config: e, rows: t, layer: a, fieldList: o, formatters: i, useRendererLabel: r = !1, timeZone: n } = l, s = U(e.series);
655
+ let c = s;
656
+ const f = ce(e), u = Array.isArray(t) && t.length > 0 && t.every((m) => m[A.boxPlot.boxPlotMeanLineMarkerId] !== void 0);
657
+ f && !u && (s === g.BoxPlotMonoFieldAndSplitBy ? c = g.BoxPlotMonoField : s === g.BoxPlotMultiFieldsAndSplitBy ? c = g.BoxPlotMultiFields : s === g.BoxPlotMonoFieldAndCategoryAndSplitBy && (c = g.BoxPlotMonoFieldAndCategory));
658
+ const p = H(e), v = oe(e), b = ie(e), x = _(e);
659
+ let D;
660
+ switch (c) {
661
+ case g.BoxPlotMonoField:
662
+ case g.BoxPlotMonoFieldAndCategory: {
663
+ D = t.map((m) => {
664
+ const d = {};
665
+ if (m[A.boxPlot.boxPlotOutlierId])
666
+ T({
667
+ rawData: m,
668
+ outRow: d,
669
+ config: e,
670
+ boxPlotSubType: c,
671
+ layer: a,
672
+ fieldList: o,
673
+ timeZone: n
674
+ });
564
675
  else {
565
- if (a === m.BoxPlotMonoFieldAndCategory) {
566
- const d = C({
567
- field: l,
568
- row: s,
569
- fieldList: i,
570
- formatter: r?.xAxisLabelFormatter
676
+ if (c === g.BoxPlotMonoFieldAndCategory) {
677
+ const y = O({
678
+ field: p,
679
+ row: m,
680
+ layer: a,
681
+ fieldList: o,
682
+ formatter: i?.xAxisLabelFormatter,
683
+ useRendererLabel: r,
684
+ timeZone: n
571
685
  });
572
- f[l] = d;
573
- } else a === m.BoxPlotMonoField && (f.Field = s[k]);
574
- T({ rawData: s, outRow: f });
686
+ d[p] = y;
687
+ } else c === g.BoxPlotMonoField && (d.Field = m[R]);
688
+ j({ rawData: m, outRow: d });
575
689
  }
576
- return f;
690
+ return d;
577
691
  });
578
692
  break;
579
693
  }
580
- case m.BoxPlotMultiFields: {
581
- y = t.flatMap((s) => {
582
- const f = {};
583
- return s[L.boxPlot.boxPlotOutlierId] ? M({
584
- rawData: s,
585
- outRow: f,
694
+ case g.BoxPlotMultiFields: {
695
+ D = t.flatMap((m) => {
696
+ const d = {};
697
+ return m[A.boxPlot.boxPlotOutlierId] ? T({
698
+ rawData: m,
699
+ outRow: d,
586
700
  config: e,
587
- boxPlotSubType: a
588
- }) : (f.Field = s[k], T({ rawData: s, outRow: f })), [f];
701
+ boxPlotSubType: c,
702
+ layer: a,
703
+ fieldList: o,
704
+ timeZone: n
705
+ }) : (d.Field = m[R], j({ rawData: m, outRow: d })), [d];
589
706
  });
590
707
  break;
591
708
  }
592
- case m.BoxPlotMultiFieldsAndCategory: {
593
- y = t.flatMap(
594
- (s) => S.map((f) => {
595
- const d = {};
596
- let g = "";
597
- if (d.Field = f, s[L.boxPlot.boxPlotOutlierId])
598
- M({
599
- rawData: s,
600
- outRow: d,
709
+ case g.BoxPlotMultiFieldsAndCategory: {
710
+ D = t.flatMap(
711
+ (m) => v.map((d) => {
712
+ const y = {};
713
+ let F = "";
714
+ if (y.Field = d, m[A.boxPlot.boxPlotOutlierId])
715
+ T({
716
+ rawData: m,
717
+ outRow: y,
601
718
  config: e,
602
- boxPlotSubType: a
719
+ boxPlotSubType: c,
720
+ layer: a,
721
+ fieldList: o,
722
+ timeZone: n
603
723
  });
604
724
  else {
605
- if (a === m.BoxPlotMultiFieldsAndCategory) {
606
- const b = C({
607
- field: l,
608
- row: s,
609
- fieldList: i,
610
- formatter: r?.xAxisLabelFormatter
725
+ if (c === g.BoxPlotMultiFieldsAndCategory) {
726
+ const S = O({
727
+ field: p,
728
+ row: m,
729
+ layer: a,
730
+ fieldList: o,
731
+ formatter: i?.xAxisLabelFormatter,
732
+ useRendererLabel: r,
733
+ timeZone: n
611
734
  });
612
- d[l] = b, g = `${f}_`;
735
+ y[p] = S, F = `${d}_`;
613
736
  }
614
- T({ rawData: s, outRow: d, keyBase: g });
737
+ j({ rawData: m, outRow: y, keyBase: F });
615
738
  }
616
- return d;
739
+ return y;
617
740
  })
618
741
  );
619
742
  break;
620
743
  }
621
- case m.BoxPlotMonoFieldAndSplitBy:
622
- case m.BoxPlotMultiFieldsAndSplitBy:
623
- case m.BoxPlotMonoFieldAndCategoryAndSplitBy: {
624
- y = t.flatMap((s) => {
625
- if (s[L.boxPlot.boxPlotOutlierId]) {
626
- const f = {};
627
- return M({
628
- rawData: s,
629
- outRow: f,
630
- config: e,
631
- boxPlotSubType: a
632
- }), [f];
633
- } else return s[L.boxPlot.boxPlotMeanLineMarkerId] ? p?.map((f) => {
744
+ case g.BoxPlotMonoFieldAndSplitBy:
745
+ case g.BoxPlotMultiFieldsAndSplitBy:
746
+ case g.BoxPlotMonoFieldAndCategoryAndSplitBy: {
747
+ D = t.flatMap((m) => {
748
+ if (m[A.boxPlot.boxPlotOutlierId]) {
634
749
  const d = {};
635
- return we({
636
- rawData: s,
750
+ return T({
751
+ rawData: m,
637
752
  outRow: d,
638
- splitByValue: f,
639
- config: e
640
- }), d;
641
- }) : p.map((f) => {
642
- const d = {};
643
- if (a === m.BoxPlotMonoFieldAndCategoryAndSplitBy) {
644
- const g = C({
645
- field: l,
646
- row: s,
647
- fieldList: i,
648
- formatter: r?.xAxisLabelFormatter
753
+ config: e,
754
+ boxPlotSubType: c,
755
+ layer: a,
756
+ fieldList: o,
757
+ timeZone: n
758
+ }), [d];
759
+ } else return m[A.boxPlot.boxPlotMeanLineMarkerId] ? b?.map((d) => {
760
+ const y = {};
761
+ return Ue({
762
+ rawData: m,
763
+ outRow: y,
764
+ splitByValue: d,
765
+ config: e,
766
+ layer: a,
767
+ fieldList: o,
768
+ timeZone: n
769
+ }), y;
770
+ }) : b.map((d) => {
771
+ const y = {}, F = M({
772
+ field: x,
773
+ value: d,
774
+ layer: a,
775
+ fieldList: o
776
+ });
777
+ if (c === g.BoxPlotMonoFieldAndCategoryAndSplitBy) {
778
+ const S = O({
779
+ field: p,
780
+ row: m,
781
+ layer: a,
782
+ fieldList: o,
783
+ formatter: i?.xAxisLabelFormatter,
784
+ useRendererLabel: r,
785
+ timeZone: n
649
786
  });
650
- d[l] = g;
787
+ y[p] = S;
651
788
  }
652
- return s[L.boxPlot.boxPlotOutlierId] ? M({
653
- rawData: s,
654
- outRow: d,
789
+ return m[A.boxPlot.boxPlotOutlierId] ? T({
790
+ rawData: m,
791
+ outRow: y,
655
792
  config: e,
656
- boxPlotSubType: a
657
- }) : (d[x] = f, T({ rawData: s, outRow: d, keyBase: `${f}_` })), d;
793
+ boxPlotSubType: c,
794
+ layer: a,
795
+ fieldList: o,
796
+ timeZone: n
797
+ }) : (y[x] = F, j({ rawData: m, outRow: y, keyBase: `${d}_` })), y;
658
798
  });
659
799
  });
660
800
  break;
661
801
  }
662
802
  default:
663
- y = t;
803
+ D = t;
664
804
  }
665
- return y;
805
+ return D;
666
806
  }
667
- const G = (n) => {
807
+ const te = (l) => {
668
808
  let e = !1;
669
- return (typeof n == "string" || typeof n == "number") && (e = !Number.isNaN(new Date(n).getTime())), e;
670
- }, ie = (n) => {
671
- const { field: e, value: t, fieldList: i } = n;
672
- let r = t;
673
- const o = i?.find((a) => a.name === e);
674
- if (o) {
675
- const a = o.type === Se.DateOnly;
676
- ge(o) && !a ? r = G(t) ? new Date(t).toISOString() : t : a && typeof t != "string" && (r = G(t) ? new Date(t).toISOString().split("T")[0] : t);
809
+ return (typeof l == "string" || typeof l == "number") && (e = !Number.isNaN(new Date(l).getTime())), e;
810
+ }, We = (l, e) => ne.fromJSDate(l, { zone: e ?? "local" }).toFormat("yyyy-LL-dd"), Ye = (l, e) => ne.fromJSDate(l, { zone: e ?? "local" }).toFormat("yyyy-LL-dd'T'HH:mm:ss"), se = (l) => {
811
+ const { field: e, value: t, fieldList: a, timeZone: o } = l;
812
+ let i = t;
813
+ const r = a?.find((n) => n.name === e);
814
+ if (r) {
815
+ const n = r.type === Ce.DateOnly;
816
+ Se(r) && !n ? i = te(t) ? Ye(new Date(t), o) : t : n && typeof t != "string" && (i = te(t) ? We(new Date(t), o) : t);
677
817
  }
678
- return r;
818
+ return i;
679
819
  };
680
- function tt(n) {
681
- const { runtimeDataFilters: e, view: t, viewTimeExtentChangePolicy: i, syncViewTimeExtent: r } = n;
682
- let o = e;
683
- return t && (i === Fe.Refresh || r) && t.timeExtent?.start != null && t.timeExtent?.end != null && (o = {
820
+ function mt(l) {
821
+ const { runtimeDataFilters: e, view: t, viewTimeExtentChangePolicy: a, syncViewTimeExtent: o } = l;
822
+ let i = e;
823
+ return t && (a === Ve.Refresh || o) && t.timeExtent?.start != null && t.timeExtent?.end != null && (i = {
684
824
  ...e,
685
825
  timeExtent: [t.timeExtent.start.valueOf(), t.timeExtent.end.valueOf()]
686
- }), o;
826
+ }), i;
687
827
  }
688
828
  export {
689
- De as a,
690
- Pe as b,
691
- he as c,
692
- tt as d,
693
- Je as e,
694
- ve as f,
695
- Z as g,
696
- Ge as h,
697
- et as t
829
+ Le as a,
830
+ Oe as b,
831
+ Ae as c,
832
+ mt as d,
833
+ ct as e,
834
+ Me as f,
835
+ G as g,
836
+ ut as h,
837
+ ft as t
698
838
  };