@arcgis/charts-components 5.2.0-next.7 → 5.2.0-next.71

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 (448) hide show
  1. package/README.md +2 -2
  2. package/dist/cdn/{YJ6TRXMU.js → 24MSASQQ.js} +1 -1
  3. package/dist/cdn/25MA553Z.js +2 -0
  4. package/dist/cdn/{2HUAW34Q.js → 274L47ID.js} +1 -1
  5. package/dist/cdn/27RKQQPS.js +2 -0
  6. package/dist/cdn/{4USHOYLT.js → 2BE3GYK4.js} +1 -1
  7. package/dist/cdn/2K4MIK4T.js +2 -0
  8. package/dist/cdn/2QGFLRRI.js +2 -0
  9. package/dist/cdn/{S5UDCCRH.js → 2SLJKRSD.js} +1 -1
  10. package/dist/cdn/33JR3GH6.js +2 -0
  11. package/dist/cdn/3B6QE7OV.js +2 -0
  12. package/dist/cdn/3FM3YR57.js +2 -0
  13. package/dist/cdn/3PDVKKKZ.js +2 -0
  14. package/dist/cdn/{CLXVAIQX.js → 3QPQ3RE5.js} +1 -1
  15. package/dist/cdn/3U6ESLPG.js +2 -0
  16. package/dist/cdn/3V4ZETXH.js +2 -0
  17. package/dist/cdn/3WOYVXSZ.js +2 -0
  18. package/dist/cdn/3XB2RWHK.js +2 -0
  19. package/dist/cdn/{A5AECJXP.js → 47E3TKSH.js} +1 -1
  20. package/dist/cdn/{JBHGSSHS.js → 4BQ22DKZ.js} +1 -1
  21. package/dist/cdn/4DC4ARHU.js +2 -0
  22. package/dist/cdn/{CHLE2QGU.js → 4DXGXATO.js} +1 -1
  23. package/dist/cdn/4IO3VF3L.js +2 -0
  24. package/dist/cdn/4JUR3VIE.js +2 -0
  25. package/dist/cdn/4JWIBRGO.js +2 -0
  26. package/dist/cdn/4M4SAEH4.js +2 -0
  27. package/dist/cdn/4ODTQZJK.js +2 -0
  28. package/dist/cdn/54VUGIAU.js +2 -0
  29. package/dist/cdn/{H2A5GZ55.js → 5D2QRMC6.js} +1 -1
  30. package/dist/cdn/5GZDXWTQ.js +2 -0
  31. package/dist/cdn/{GDQBQQUP.js → 5NVOWYWZ.js} +1 -1
  32. package/dist/cdn/{LUSFGRHV.js → 5WIR3JWC.js} +1 -1
  33. package/dist/cdn/{VT4WJZN6.js → 64B7ILJI.js} +1 -1
  34. package/dist/cdn/{DEGBVJ76.js → 64F7QNUM.js} +1 -1
  35. package/dist/cdn/{HVO4LIXR.js → 6LACIKDG.js} +1 -1
  36. package/dist/cdn/{7FZC3RZK.js → 6PDO75JM.js} +1 -1
  37. package/dist/cdn/6TJIHHQF.js +2 -0
  38. package/dist/cdn/{SBYD2EKR.js → 6WJKLKEZ.js} +1 -1
  39. package/dist/cdn/{7LYAWWOE.js → 6WKTHJQK.js} +1 -1
  40. package/dist/cdn/{II2ZPEUZ.js → 7C2LVFNV.js} +1 -1
  41. package/dist/cdn/{4Z23HWDH.js → 7COM5REK.js} +1 -1
  42. package/dist/cdn/{7HGVEE7A.js → 7KNUJIOC.js} +1 -1
  43. package/dist/cdn/{TF7TE7K5.js → 7PC3VBMY.js} +1 -1
  44. package/dist/cdn/7REEJ3OW.js +2 -0
  45. package/dist/cdn/{CHQDKVVQ.js → 7SBVBD4E.js} +1 -1
  46. package/dist/cdn/{6XTKJ7DO.js → 7XHAJY6Q.js} +1 -1
  47. package/dist/cdn/7XWR4EVM.js +2 -0
  48. package/dist/cdn/{DKAHZ7IX.js → ACRMB7MU.js} +1 -1
  49. package/dist/cdn/{OJ5X6I3H.js → ADI63OO7.js} +1 -1
  50. package/dist/cdn/{VY3KBD6N.js → ASYRUV4T.js} +1 -1
  51. package/dist/cdn/AVE3KXWQ.js +2 -0
  52. package/dist/cdn/{TXB2I2U5.js → B2SUC7VR.js} +1 -1
  53. package/dist/cdn/{KFONSKQF.js → B4RCAP3J.js} +1 -1
  54. package/dist/cdn/BAFCVCT4.js +2 -0
  55. package/dist/cdn/{TACQVUBU.js → BDEDEGCZ.js} +1 -1
  56. package/dist/cdn/BGOWDCTO.js +2 -0
  57. package/dist/cdn/{LFQGH44F.js → BJC2AIS3.js} +1 -1
  58. package/dist/cdn/{CNFBNAPJ.js → BK7DHYA7.js} +1 -1
  59. package/dist/cdn/BNNBHYRP.js +2 -0
  60. package/dist/cdn/BQORJ3LU.js +2 -0
  61. package/dist/cdn/BYSUABOV.js +2 -0
  62. package/dist/cdn/BZ6FUIQF.js +2 -0
  63. package/dist/cdn/{K3GNHGEW.js → C3A3UXVR.js} +1 -1
  64. package/dist/cdn/{ZFZ5AEUQ.js → CKIF4L44.js} +1 -1
  65. package/dist/cdn/CNI32IL3.js +2 -0
  66. package/dist/cdn/{ADGMA3ST.js → CRNIOME2.js} +2 -2
  67. package/dist/cdn/CRQK4CKK.js +2 -0
  68. package/dist/cdn/CVFKL3S2.js +2 -0
  69. package/dist/cdn/{ZFJFTDJF.js → CYGMXV56.js} +1 -1
  70. package/dist/cdn/D3YWSIAT.js +2 -0
  71. package/dist/cdn/{KDJ5RVHA.js → DAFNQT4C.js} +1 -1
  72. package/dist/cdn/DB2GBCE3.js +2 -0
  73. package/dist/cdn/DGYLORDT.js +2 -0
  74. package/dist/cdn/{KCMZSNBL.js → DT5BOM5F.js} +1 -1
  75. package/dist/cdn/{DCZWZOPF.js → DWYBKGOM.js} +1 -1
  76. package/dist/cdn/E7QFC64H.js +2 -0
  77. package/dist/cdn/EJWHEBKW.js +2 -0
  78. package/dist/cdn/{ZXOO3X5P.js → EQD2B3I6.js} +1 -1
  79. package/dist/cdn/{J5NHXQLA.js → EQZBQP5A.js} +1 -1
  80. package/dist/cdn/F5AR3N3Z.js +2 -0
  81. package/dist/cdn/F7UO7P33.js +2 -0
  82. package/dist/cdn/{XW4PBQNW.js → FBLOPEXC.js} +1 -1
  83. package/dist/cdn/FJGG2VVZ.js +2 -0
  84. package/dist/cdn/{N6AOFBBX.js → GBOCN364.js} +1 -1
  85. package/dist/cdn/GIH3U7YP.js +2 -0
  86. package/dist/cdn/GKEW5JYD.js +2 -0
  87. package/dist/cdn/{L4G6FO7A.js → HDYL2BOC.js} +1 -1
  88. package/dist/cdn/{QMSINFQX.js → HP3GIDT5.js} +1 -1
  89. package/dist/cdn/{AZOBLYAP.js → I2BM5KSH.js} +1 -1
  90. package/dist/cdn/I5DMUUEL.js +2 -0
  91. package/dist/cdn/{JQKRGUBU.js → IDAOLPMA.js} +1 -1
  92. package/dist/cdn/IJWJOXQC.js +2 -0
  93. package/dist/cdn/{JRHMUFED.js → IK4FPUFJ.js} +1 -1
  94. package/dist/cdn/IO6A77U4.js +2 -0
  95. package/dist/cdn/IODRBLGT.js +2 -0
  96. package/dist/cdn/{P4HSSZRL.js → IONJLIQQ.js} +1 -1
  97. package/dist/cdn/IPEJCIHO.js +2 -0
  98. package/dist/cdn/{A4GEWIPY.js → IR2W7UQ3.js} +1 -1
  99. package/dist/cdn/{QOOBNATX.js → J3VAMS5Z.js} +1 -1
  100. package/dist/cdn/{QFEZPP3R.js → JAQYU6KP.js} +1 -1
  101. package/dist/cdn/{IPM2XKST.js → JWEGCP5P.js} +1 -1
  102. package/dist/cdn/{AK7X7SGI.js → JYC77MVD.js} +1 -1
  103. package/dist/cdn/JYLEN3VQ.js +2 -0
  104. package/dist/cdn/{YOT6DVSU.js → K2PVLPOV.js} +1 -1
  105. package/dist/cdn/K4APZJ2O.js +2 -0
  106. package/dist/cdn/{MVHQR4FJ.js → K6F2LRKI.js} +1 -1
  107. package/dist/cdn/KJZTU3DV.js +2 -0
  108. package/dist/cdn/{D3CFPMAR.js → KOY5DWSR.js} +1 -1
  109. package/dist/cdn/L6DFXTSQ.js +104 -0
  110. package/dist/cdn/{AY6IOQ3H.js → LAEUROZM.js} +1 -1
  111. package/dist/cdn/LAPBDR32.js +2 -0
  112. package/dist/cdn/{AJWYIBGC.js → LC4YFJSM.js} +1 -1
  113. package/dist/cdn/LIDWAYQH.js +45 -0
  114. package/dist/cdn/LJTJTGIW.js +2 -0
  115. package/dist/cdn/LPYRKK25.js +2 -0
  116. package/dist/cdn/MAC4MPUA.js +2 -0
  117. package/dist/cdn/{KZ7LPNX3.js → MGAMMXJW.js} +1 -1
  118. package/dist/cdn/MOG5ZVLX.js +2 -0
  119. package/dist/cdn/{ETKPMU7Z.js → MSB6J66X.js} +1 -1
  120. package/dist/cdn/NAGOJPIX.js +3 -0
  121. package/dist/cdn/NF4EBNLN.js +2 -0
  122. package/dist/cdn/{XG2KN6YJ.js → NKPZCF5U.js} +1 -1
  123. package/dist/cdn/NP24UZGI.js +2 -0
  124. package/dist/cdn/{VE3GFNNM.js → NRXCKYYY.js} +1 -1
  125. package/dist/cdn/NUHPR7BM.js +2 -0
  126. package/dist/cdn/{BJDRJUEJ.js → NWHLFMAD.js} +1 -1
  127. package/dist/cdn/{4C6KWLWN.js → NWLNHFHJ.js} +1 -1
  128. package/dist/cdn/O2BQ374Y.js +2 -0
  129. package/dist/cdn/{UT4TYXFO.js → O7LPETXX.js} +1 -1
  130. package/dist/cdn/{THTYR6IL.js → OAXHS4LE.js} +1 -1
  131. package/dist/cdn/{NAXNRCMZ.js → OD2NWPCL.js} +1 -1
  132. package/dist/cdn/OE7FIKPS.js +2 -0
  133. package/dist/cdn/OE7Q4MG5.js +2 -0
  134. package/dist/cdn/{4ZIZEJXS.js → OISERMTF.js} +1 -1
  135. package/dist/cdn/{ETOGNYFU.js → OKAZOAYZ.js} +1 -1
  136. package/dist/cdn/{XUERYUEG.js → OQFM5DBD.js} +1 -1
  137. package/dist/cdn/{4LPXOEML.js → OTFA727N.js} +1 -1
  138. package/dist/cdn/{C5K6XOCR.js → P37JASN4.js} +1 -1
  139. package/dist/cdn/{244ZX2UP.js → P5I5RQTN.js} +1 -1
  140. package/dist/cdn/P6DBPQZO.js +2 -0
  141. package/dist/cdn/{DAB5R2BN.js → PIEX577B.js} +1 -1
  142. package/dist/cdn/{BJ7Q7LCT.js → PIZPF2BH.js} +1 -1
  143. package/dist/cdn/{FF4DUQDZ.js → PMAHEVYY.js} +1 -1
  144. package/dist/cdn/{AM2TOTX6.js → PQVUA4T4.js} +1 -1
  145. package/dist/cdn/PTUMQCFF.js +2 -0
  146. package/dist/cdn/{5XTQQOTT.js → Q2OIHROC.js} +1 -1
  147. package/dist/cdn/{E7OAEGSE.js → Q2WDEGUQ.js} +1 -1
  148. package/dist/cdn/QAXXYD6N.js +2 -0
  149. package/dist/cdn/QC3FMJKL.js +2 -0
  150. package/dist/cdn/{7UQHB6KY.js → QIG5H6WA.js} +1 -1
  151. package/dist/cdn/{XMPLEHTW.js → QKZK6MTN.js} +1 -1
  152. package/dist/cdn/QSGJ3MAT.js +2 -0
  153. package/dist/cdn/QT64PB4L.js +2 -0
  154. package/dist/cdn/QWCNHH6G.js +2 -0
  155. package/dist/cdn/RCLHFY6O.js +2 -0
  156. package/dist/cdn/RCZLTGQI.js +2 -0
  157. package/dist/cdn/ROG3HFDT.js +2 -0
  158. package/dist/cdn/RQ5RKGH5.js +2 -0
  159. package/dist/cdn/SL7NRRSJ.js +2 -0
  160. package/dist/cdn/{MRTKZZTF.js → SN4KBI42.js} +1 -1
  161. package/dist/cdn/{DNTLH5RT.js → SSOL6PCL.js} +1 -1
  162. package/dist/cdn/SSQPRUUN.js +2 -0
  163. package/dist/cdn/{ZYOWZCR7.js → TB7JE5XK.js} +1 -1
  164. package/dist/cdn/TMGMKM5F.js +2 -0
  165. package/dist/cdn/{WMPWOPRZ.js → TRAVRA3M.js} +1 -1
  166. package/dist/cdn/{WASEMNYV.js → TS7M5QXS.js} +1 -1
  167. package/dist/cdn/{P5AO3V3M.js → UD724V36.js} +1 -1
  168. package/dist/cdn/{DSIFL2DF.js → UQSD6YZM.js} +1 -1
  169. package/dist/cdn/USNJZCHH.js +2 -0
  170. package/dist/cdn/{Q7J7EKQW.js → UUVJGPFG.js} +1 -1
  171. package/dist/cdn/V2FHLWYC.js +2 -0
  172. package/dist/cdn/VAF3UIVA.js +2 -0
  173. package/dist/cdn/VHW4OAKG.js +4 -0
  174. package/dist/cdn/{ZQDADGLQ.js → VLCUXTLC.js} +1 -1
  175. package/dist/cdn/VNYRZDY5.js +2 -0
  176. package/dist/cdn/VUHFYOLC.js +2 -0
  177. package/dist/cdn/{Y7HBWU3M.js → WDMYVS4F.js} +1 -1
  178. package/dist/cdn/WDUTZ6EO.js +2 -0
  179. package/dist/cdn/WM6SCZHN.js +2 -0
  180. package/dist/cdn/WPLHZAZ3.js +2 -0
  181. package/dist/cdn/{6B7JCDQC.js → WTF2PFHV.js} +1 -1
  182. package/dist/cdn/{GV3TT7L5.js → XDNGNOOK.js} +1 -1
  183. package/dist/cdn/XH57C72H.js +2 -0
  184. package/dist/cdn/{JJIGLOJA.js → XJVFIGWI.js} +1 -1
  185. package/dist/cdn/{5MEQANMY.js → Y2NESTSK.js} +1 -1
  186. package/dist/cdn/{BXYNEUQY.js → YCQLYXH4.js} +1 -1
  187. package/dist/cdn/{XE3FKQFA.js → YFHCD7R2.js} +1 -1
  188. package/dist/cdn/{AWF4R7WL.js → YW6IZCRW.js} +1 -1
  189. package/dist/cdn/{KUZR6CGB.js → ZK2KMZEI.js} +1 -1
  190. package/dist/cdn/ZK5Z6BOX.js +2 -0
  191. package/dist/cdn/{5ZGALYWZ.js → ZLCRTIQH.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 +1 -1
  197. package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
  198. package/dist/chart-rendering/common/interfaces.d.ts +19 -21
  199. package/dist/chunks/{type-guards3.js → action-bar-utils.js} +27 -35
  200. package/dist/chunks/axis-lines-symbol.js +7 -7
  201. package/dist/chunks/bar-chart-model.js +42 -38
  202. package/dist/chunks/box-plot-data.js +273 -282
  203. package/dist/chunks/box-plot-model.js +137 -122
  204. package/dist/chunks/chart-model.js +177 -145
  205. package/dist/chunks/chart-object-literals.js +2 -1
  206. package/dist/chunks/chart-ui-utils.js +24 -23
  207. package/dist/chunks/class-breaks.js +76 -76
  208. package/dist/chunks/combo-bar-line-chart-model.js +25 -26
  209. package/dist/chunks/data-labels-symbol.js +39 -24
  210. package/dist/chunks/data-labels-visibility.js +24 -24
  211. package/dist/chunks/data.js +69 -69
  212. package/dist/chunks/gauge-model.js +18 -18
  213. package/dist/chunks/generate-x-axis-title.js +12 -12
  214. package/dist/chunks/heat-chart-model.js +93 -64
  215. package/dist/chunks/histogram-data.js +22 -22
  216. package/dist/chunks/histogram-model.js +10 -10
  217. package/dist/chunks/index.js +191 -180
  218. package/dist/chunks/index2.js +6422 -6009
  219. package/dist/chunks/index3.js +97 -86
  220. package/dist/chunks/index4.js +316 -87
  221. package/dist/chunks/index5.js +63 -100
  222. package/dist/chunks/line-chart-model.js +12 -12
  223. package/dist/chunks/model-setter.js +16 -15
  224. package/dist/chunks/model-with-line-marker-styling.js +2 -3
  225. package/dist/chunks/model-with-y-guides.js +59 -74
  226. package/dist/chunks/negative-values-stacked-to-baseline.js +18 -18
  227. package/dist/chunks/pie-chart-data.js +174 -192
  228. package/dist/chunks/pie-chart-model.js +267 -250
  229. package/dist/chunks/radar-chart-model.js +397 -46
  230. package/dist/chunks/resource.js +5 -5
  231. package/dist/chunks/rotated-state.js +1 -1
  232. package/dist/chunks/rounded-corners.js +73 -0
  233. package/dist/chunks/scatterplot-model.js +3 -3
  234. package/dist/chunks/serial-chart-data.js +873 -753
  235. package/dist/chunks/serial-chart-model.js +146 -124
  236. package/dist/chunks/series-length.js +2 -2
  237. package/dist/chunks/series-types.js +22 -18
  238. package/dist/chunks/series.js +1 -1
  239. package/dist/chunks/type-guards.js +17 -13
  240. package/dist/chunks/type-guards2.js +41 -33
  241. package/dist/chunks/utils.js +104 -94
  242. package/dist/chunks/utils2.js +1 -1
  243. package/dist/chunks/web-component-utils.js +592 -541
  244. package/dist/chunks/x-bounds.js +41 -42
  245. package/dist/components/arcgis-chart/customElement.d.ts +547 -224
  246. package/dist/components/arcgis-chart/customElement.js +10300 -10278
  247. package/dist/components/arcgis-charts-action-bar/customElement.js +33 -30
  248. package/dist/components/arcgis-charts-config-axis/customElement.js +70 -64
  249. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +40 -27
  250. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +19 -19
  251. package/dist/components/arcgis-charts-config-bar-chart-data/index.js +1 -1
  252. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +35 -37
  253. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +44 -43
  254. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +13 -15
  255. package/dist/components/arcgis-charts-config-box-plot/customElement.js +10 -11
  256. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +8 -8
  257. package/dist/components/arcgis-charts-config-box-plot-data/index.js +1 -1
  258. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +23 -25
  259. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
  260. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +15 -18
  261. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +18 -20
  262. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  263. package/dist/components/arcgis-charts-config-create-flow/customElement.js +243 -229
  264. package/dist/components/arcgis-charts-config-field-picker/customElement.js +30 -0
  265. package/dist/components/arcgis-charts-config-font-style/customElement.js +2 -2
  266. package/dist/components/arcgis-charts-config-format/customElement.js +93 -86
  267. package/dist/components/arcgis-charts-config-format-popover/customElement.js +7 -10
  268. package/dist/components/arcgis-charts-config-guide/customElement.js +17 -18
  269. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +10 -13
  270. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  271. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +12 -13
  272. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +64 -76
  273. package/dist/components/arcgis-charts-config-heat-chart-data/index.js +1 -1
  274. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +53 -54
  275. package/dist/components/arcgis-charts-config-histogram/customElement.js +27 -23
  276. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +19 -19
  277. package/dist/components/arcgis-charts-config-histogram-data/index.js +1 -1
  278. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +33 -34
  279. package/dist/components/arcgis-charts-config-line-chart/customElement.js +5 -6
  280. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +12 -12
  281. package/dist/components/arcgis-charts-config-line-chart-data/index.js +1 -1
  282. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +35 -37
  283. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +6 -6
  284. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +6 -7
  285. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +4 -5
  286. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +41 -48
  287. package/dist/components/arcgis-charts-config-pie-chart-data/index.js +1 -1
  288. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +55 -56
  289. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +65 -66
  290. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +7 -10
  291. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +27 -23
  292. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +79 -79
  293. package/dist/components/arcgis-charts-config-scatter-plot-data/index.js +1 -1
  294. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +16 -17
  295. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +9 -11
  296. package/dist/components/arcgis-charts-config-view-charts/customElement.js +57 -26
  297. package/dist/components/arcgis-charts-info-modal/customElement.js +6 -6
  298. package/dist/docs/api.json +1 -1
  299. package/dist/docs/docs.json +1 -1
  300. package/dist/docs/vscode.html-custom-data.json +1 -1
  301. package/dist/docs/web-types.json +1 -1
  302. package/dist/index.d.ts +62 -67
  303. package/dist/index.js +470 -458
  304. package/dist/json-schema/index.d.ts +211 -6
  305. package/dist/loader.js +2 -2
  306. package/dist/model/bar-chart-model/bar-chart-model.d.ts +4 -2
  307. package/dist/model/box-plot-model/box-plot-model.d.ts +7 -1
  308. package/dist/model/chart-model/chart-model.d.ts +2 -1
  309. package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +8 -5
  310. package/dist/model/heat-chart-model/heat-chart-model.d.ts +44 -2
  311. package/dist/model/interfaces/common.d.ts +0 -2
  312. package/dist/model/mixins/model-with-line-marker-styling.d.ts +6 -5
  313. package/dist/model/mixins/model-with-multi-axes.d.ts +62 -99
  314. package/dist/model/pie-chart-model/pie-chart-model.d.ts +2 -0
  315. package/dist/model/properties/data-labels/data-labels-symbol.d.ts +26 -0
  316. package/dist/model/properties/data-tooltip-font-size.d.ts +20 -0
  317. package/dist/model/properties/rotated-state.d.ts +1 -1
  318. package/dist/model/properties/rounded-corners.d.ts +18 -0
  319. package/dist/model/radar-chart-model/radar-chart-model.d.ts +190 -0
  320. package/dist/model/serial-chart-model/serial-chart-model.d.ts +27 -1
  321. package/dist/model/shared/type-guards.d.ts +16 -2
  322. package/dist/spec/chart-object-literals.d.ts +1 -0
  323. package/dist/spec/data-source.d.ts +17 -3
  324. package/dist/spec/rest-js-object-literals.d.ts +2 -2
  325. package/dist/spec/rest-js-types.d.ts +22 -8
  326. package/dist/spec/web-chart.d.ts +42 -6
  327. package/dist/utils/chart-config/converter/index.js +198 -179
  328. package/dist/utils/chart-config/utils/index.d.ts +56 -6
  329. package/dist/utils/chart-config/validator/index.d.ts +1 -0
  330. package/dist/utils/chart-config/validator/interfaces.d.ts +3 -3
  331. package/dist/utils/cursor/interfaces.d.ts +21 -0
  332. package/dist/utils/data/categorical-data/index.d.ts +1 -1
  333. package/dist/utils/data/index.d.ts +22 -19
  334. package/dist/utils/data/interfaces.d.ts +4 -3
  335. package/dist/utils/defaults/index.d.ts +16 -4
  336. package/dist/utils/defaults/interfaces.d.ts +7 -2
  337. package/dist/utils/errors/index.d.ts +1 -1
  338. package/dist/utils/layer/index.d.ts +5 -3
  339. package/dist/utils/layer/inline-conversion/interfaces.d.ts +0 -2
  340. package/dist/utils/layer/interfaces.d.ts +2 -1
  341. package/dist/utils/layer/query-features/index.d.ts +8 -3
  342. package/dist/utils/layer/query-parser/index.d.ts +9 -5
  343. package/dist/utils/misc/index.d.ts +2 -3
  344. package/dist/utils/type-guards/chart-types.d.ts +10 -0
  345. package/dist/utils/type-guards/series-types.d.ts +9 -2
  346. package/dist/utils/types/index.d.ts +1 -5
  347. package/package.json +6 -7
  348. package/dist/cdn/24RLLXS6.js +0 -2
  349. package/dist/cdn/2N4MK6FQ.js +0 -2
  350. package/dist/cdn/32FR66QO.js +0 -2
  351. package/dist/cdn/3EIVHDDK.js +0 -2
  352. package/dist/cdn/3NUNWPAR.js +0 -2
  353. package/dist/cdn/43ZHPVBB.js +0 -2
  354. package/dist/cdn/547RDEMV.js +0 -2
  355. package/dist/cdn/5YJNENER.js +0 -2
  356. package/dist/cdn/6AF2OTL6.js +0 -2
  357. package/dist/cdn/6CFIKYKR.js +0 -2
  358. package/dist/cdn/6GLTSMOR.js +0 -2
  359. package/dist/cdn/7EMCHGGV.js +0 -2
  360. package/dist/cdn/7OF2IANH.js +0 -2
  361. package/dist/cdn/7VN3A7S2.js +0 -2
  362. package/dist/cdn/7YWZG3ZS.js +0 -2
  363. package/dist/cdn/A5GIBV5W.js +0 -2
  364. package/dist/cdn/ADPDJISV.js +0 -2
  365. package/dist/cdn/B4KAJRUJ.js +0 -2
  366. package/dist/cdn/BBUPTHPL.js +0 -2
  367. package/dist/cdn/BBURKBKE.js +0 -2
  368. package/dist/cdn/BO62KSB5.js +0 -2
  369. package/dist/cdn/C2FOUUEM.js +0 -2
  370. package/dist/cdn/CJPEW4LJ.js +0 -142
  371. package/dist/cdn/CVU3UPPF.js +0 -2
  372. package/dist/cdn/CZ5XRXCE.js +0 -2
  373. package/dist/cdn/D73VV2AZ.js +0 -2
  374. package/dist/cdn/DJACBOFO.js +0 -2
  375. package/dist/cdn/DPNTYHTH.js +0 -2
  376. package/dist/cdn/DZ72EIRH.js +0 -2
  377. package/dist/cdn/EGISZTGB.js +0 -2
  378. package/dist/cdn/EP34TF4L.js +0 -2
  379. package/dist/cdn/EZD3FBJU.js +0 -2
  380. package/dist/cdn/EZV7JSQJ.js +0 -2
  381. package/dist/cdn/G72TNKCS.js +0 -2
  382. package/dist/cdn/GQ5QBLRO.js +0 -2
  383. package/dist/cdn/HWJGWDU3.js +0 -2
  384. package/dist/cdn/HZR4NSZV.js +0 -2
  385. package/dist/cdn/ICFKKJWQ.js +0 -2
  386. package/dist/cdn/IWX5L226.js +0 -2
  387. package/dist/cdn/J6WQX4UD.js +0 -58
  388. package/dist/cdn/JNG6V7XC.js +0 -2
  389. package/dist/cdn/JNNB2DIA.js +0 -2
  390. package/dist/cdn/JS2KOBA2.js +0 -2
  391. package/dist/cdn/JTTJ455Y.js +0 -2
  392. package/dist/cdn/JWO5WVTZ.js +0 -2
  393. package/dist/cdn/K4WI2SGM.js +0 -2
  394. package/dist/cdn/KLHZFPYK.js +0 -2
  395. package/dist/cdn/KO7HQLGV.js +0 -2
  396. package/dist/cdn/L5AQ4I5T.js +0 -2
  397. package/dist/cdn/LC6CY2HW.js +0 -2
  398. package/dist/cdn/MBVTB42G.js +0 -2
  399. package/dist/cdn/MGEW6X3Y.js +0 -102
  400. package/dist/cdn/ML3A3MYV.js +0 -2
  401. package/dist/cdn/NSOZIR5F.js +0 -2
  402. package/dist/cdn/NTSTL3FK.js +0 -2
  403. package/dist/cdn/NZR4L5AA.js +0 -2
  404. package/dist/cdn/O5A25X5K.js +0 -2
  405. package/dist/cdn/OAAJ6CIN.js +0 -2
  406. package/dist/cdn/OGYY2Y22.js +0 -2
  407. package/dist/cdn/OHF3AEWY.js +0 -2
  408. package/dist/cdn/PAIRUVLU.js +0 -2
  409. package/dist/cdn/PRGFNLY7.js +0 -2
  410. package/dist/cdn/PROSIXIF.js +0 -2
  411. package/dist/cdn/Q5JDSPJA.js +0 -2
  412. package/dist/cdn/QJC3FDWG.js +0 -2
  413. package/dist/cdn/QRLILSSI.js +0 -2
  414. package/dist/cdn/QY53LXP2.js +0 -2
  415. package/dist/cdn/R75MHIRF.js +0 -2
  416. package/dist/cdn/RDA5NV6M.js +0 -2
  417. package/dist/cdn/RG3DO2OE.js +0 -2
  418. package/dist/cdn/RPNZL6AC.js +0 -2
  419. package/dist/cdn/S32NLOJ5.js +0 -2
  420. package/dist/cdn/SCAZDS2G.js +0 -2
  421. package/dist/cdn/SJGYHEMZ.js +0 -2
  422. package/dist/cdn/TCTQ4LMU.js +0 -2
  423. package/dist/cdn/TDHHWIIC.js +0 -2
  424. package/dist/cdn/TJMPLGQI.js +0 -2
  425. package/dist/cdn/TJMTF45U.js +0 -3
  426. package/dist/cdn/TW5DX7YP.js +0 -2
  427. package/dist/cdn/U67P6YAZ.js +0 -2
  428. package/dist/cdn/UZEMSOA2.js +0 -2
  429. package/dist/cdn/VBHQFV2H.js +0 -2
  430. package/dist/cdn/VFREVEVA.js +0 -2
  431. package/dist/cdn/VOTZAPI3.js +0 -2
  432. package/dist/cdn/VZTLODMQ.js +0 -2
  433. package/dist/cdn/W7X6L2OB.js +0 -127
  434. package/dist/cdn/WGYJBMRM.js +0 -4
  435. package/dist/cdn/WNKDEOFZ.js +0 -2
  436. package/dist/cdn/WPPMMVD5.js +0 -2
  437. package/dist/cdn/XCUXUZXY.js +0 -2
  438. package/dist/cdn/XG3WW5GG.js +0 -2
  439. package/dist/cdn/XJFVSX2E.js +0 -2
  440. package/dist/cdn/Y3CXVO2M.js +0 -2
  441. package/dist/cdn/YEZL5KRS.js +0 -2
  442. package/dist/cdn/YYK7SPXC.js +0 -2
  443. package/dist/chunks/bar-chart-series.js +0 -15
  444. package/dist/chunks/index6.js +0 -66
  445. package/dist/chunks/time-zone.js +0 -38
  446. package/dist/components/arcgis-charts-config-field-select/customElement.js +0 -30
  447. /package/dist/cdn/{IVLVCLDE.js → 7NWEE7T2.js} +0 -0
  448. /package/dist/components/{arcgis-charts-config-field-select → arcgis-charts-config-field-picker}/index.js +0 -0
@@ -1,79 +1,79 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { isEqual as ne, capitalize as S, isNumber as E, zip as ee } from "lodash-es";
3
- import { d as U } from "./interfaces.js";
4
- import { g as se, a as H, b as te, c as _ } from "./box-plot-data.js";
5
- import { g as ue } from "./histogram-data.js";
6
- import { g as ce, a as fe, b as me } from "./pie-chart-data.js";
7
- import { g as ae } from "./series-length.js";
8
- import { g as oe, d as ie, e as de } from "./serial-chart-data.js";
9
- import { g as z, a as ye } from "./data.js";
10
- import { Y as K, an as ge, af as pe, aK as R, a6 as be, B as P, ba as xe } from "./index2.js";
11
- import { j as Y, av as M, g as T, ap as Fe, b as De, a as q } from "./index.js";
12
- import { q as N, C as y, F as V } from "./index3.js";
13
- import { g as Se } from "./series-types.js";
14
- import { V as ve } from "./index6.js";
15
- import { DateTime as re } from "luxon";
16
- import { P as Z } from "./common.js";
17
- import { u as O, d as L } from "./chart-object-literals.js";
18
- import { R as he } from "./rest-js-object-literals.js";
19
- function Pe(l) {
20
- const { hour: e, minute: t = 0, format: o, locale: r = "en-US" } = l, a = o && Object.keys(o).length > 0 ? o : {
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 q, b as oe, c as z } 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 _, a as pe } from "./data.js";
10
+ import { Y as U, ap as be, af as xe, aM as E, cL as Fe, B as V, a6 as De, bj as Se, dx as Be } from "./index2.js";
11
+ import { k as H, az as $, g as R, as 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 "./index5.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 : {
21
21
  hour: "numeric",
22
22
  minute: "2-digit",
23
23
  hour12: !1
24
24
  };
25
- let i = e.toString();
25
+ let r = e.toString();
26
26
  if (Number.isInteger(e) && e >= 0 && e <= 23 && Number.isInteger(t) && t >= 0 && t <= 59) {
27
27
  const n = new Date(2e3, 0, 1, e, t);
28
- i = new Intl.DateTimeFormat(r, a).format(n), i.includes(":") || i.startsWith("0") && (i = i.slice(1));
28
+ r = new Intl.DateTimeFormat(o, i).format(n), r.includes(":") || r.startsWith("0") && (r = r.slice(1));
29
29
  }
30
- return i;
30
+ return r;
31
31
  }
32
- function Be(l) {
33
- const { weekdayNumber: e, format: t, locale: o = "en-US", firstDayOfWeek: r = 7 } = l, a = t && Object.keys(t).length > 0 ? t : { weekday: "long" };
34
- let i = e.toString();
35
- if (Number.isInteger(e) && e > 0 && e <= 7 && Number.isInteger(r) && r > 0 && r <= 7) {
36
- const n = (e + r - 1) % 7, m = new Date(2e3, 0, 2 + n);
37
- i = new Intl.DateTimeFormat(o, a).format(m);
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);
38
38
  }
39
- return i;
39
+ return r;
40
40
  }
41
- function Ae(l) {
42
- const { monthNumber: e, format: t, locale: o = "en-US" } = l, r = t && Object.keys(t).length > 0 ? t : { month: "long" };
43
- let a = 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();
44
44
  if (Number.isInteger(e) && e > 0 && e <= 12) {
45
- const i = new Date(2e3, e - 1);
46
- a = new Intl.DateTimeFormat(o, r).format(i);
45
+ const r = new Date(2e3, e - 1);
46
+ i = new Intl.DateTimeFormat(a, o).format(r);
47
47
  }
48
- return a;
48
+ return i;
49
49
  }
50
- function X(l) {
51
- const { value: e, formatLocale: t, unit: o, config: r, utilsStrings: a } = l;
52
- let i = { label: "", value: e.toString() };
53
- switch (o) {
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
54
  case L.DayOfWeek:
55
- i = {
56
- label: a.heatChartCalendarDatePartsUnits.dayOfWeek,
57
- value: Be({
55
+ r = {
56
+ label: i.heatChartCalendarDatePartsUnits.dayOfWeek,
57
+ value: Ae({
58
58
  weekdayNumber: e,
59
- firstDayOfWeek: "firstDayOfWeek" in r ? r.firstDayOfWeek : Fe,
59
+ firstDayOfWeek: "firstDayOfWeek" in o ? o.firstDayOfWeek : ve,
60
60
  locale: t
61
61
  })
62
62
  };
63
63
  break;
64
64
  case L.MonthOfYear:
65
- i = {
66
- label: a.heatChartCalendarDatePartsUnits.monthOfYear,
67
- value: Ae({
65
+ r = {
66
+ label: i.heatChartCalendarDatePartsUnits.monthOfYear,
67
+ value: Oe({
68
68
  monthNumber: e,
69
69
  locale: t
70
70
  })
71
71
  };
72
72
  break;
73
73
  case L.HourOfDay:
74
- i = {
75
- label: a.heatChartCalendarDatePartsUnits.hourOfDay,
76
- value: Pe({
74
+ r = {
75
+ label: i.heatChartCalendarDatePartsUnits.hourOfDay,
76
+ value: Le({
77
77
  hour: e,
78
78
  format: { hour: "numeric", hour12: !1 },
79
79
  locale: t
@@ -81,707 +81,758 @@ function X(l) {
81
81
  };
82
82
  break;
83
83
  case L.DayOfMonth:
84
- i = {
85
- label: a.heatChartCalendarDatePartsUnits.dayOfMonth,
84
+ r = {
85
+ label: i.heatChartCalendarDatePartsUnits.dayOfMonth,
86
86
  value: typeof e == "string" ? e : e?.toString() ?? ""
87
87
  };
88
88
  break;
89
89
  case L.DayOfYear:
90
- i = {
91
- label: a.heatChartCalendarDatePartsUnits.dayOfYear,
90
+ r = {
91
+ label: i.heatChartCalendarDatePartsUnits.dayOfYear,
92
92
  value: typeof e == "string" ? e : e?.toString() ?? ""
93
93
  };
94
94
  break;
95
95
  case L.MinuteOfDay:
96
- i = {
97
- label: a.heatChartCalendarDatePartsUnits.minuteOfDay,
96
+ r = {
97
+ label: i.heatChartCalendarDatePartsUnits.minuteOfDay,
98
98
  value: typeof e == "string" ? e : e?.toString() ?? ""
99
99
  };
100
100
  break;
101
101
  case L.WeekOfYear:
102
- i = {
103
- label: a.heatChartCalendarDatePartsUnits.weekOfYear,
102
+ r = {
103
+ label: i.heatChartCalendarDatePartsUnits.weekOfYear,
104
104
  value: typeof e == "string" ? e : e?.toString() ?? ""
105
105
  };
106
106
  break;
107
107
  case L.QuarterOfYear:
108
- i = {
109
- label: a.heatChartCalendarDatePartsUnits.quarterOfYear,
108
+ r = {
109
+ label: i.heatChartCalendarDatePartsUnits.quarterOfYear,
110
110
  value: typeof e == "string" ? e : e?.toString() ?? ""
111
111
  };
112
112
  break;
113
113
  }
114
- return i;
114
+ return r;
115
115
  }
116
- function Le(l, e) {
117
- return !ne(l, e);
116
+ function Me(l, e) {
117
+ return !ue(l, e);
118
118
  }
119
- function it(l, e) {
120
- return Le(l, e) || l !== e;
119
+ function ut(l, e) {
120
+ return Me(l, e) || l !== e;
121
121
  }
122
- function Ce(l) {
122
+ function we(l) {
123
123
  return (new Intl.NumberFormat(l, {
124
124
  minimumFractionDigits: 1,
125
125
  maximumFractionDigits: 1
126
- }).formatToParts(1.1).find((o) => o.type === "decimal")?.value ?? ".") === "." ? "," : ";";
126
+ }).formatToParts(1.1).find((a) => a.type === "decimal")?.value ?? ".") === "." ? "," : ";";
127
127
  }
128
- function Ve(l) {
128
+ function ke(l) {
129
129
  return new Intl.NumberFormat(l, {
130
130
  minimumFractionDigits: 1,
131
131
  maximumFractionDigits: 1
132
132
  }).formatToParts(1.1).find((t) => t.type === "decimal")?.value ?? ".";
133
133
  }
134
- const G = (l) => {
135
- const { value: e, quoteAll: t = !1, locale: o, roundDecimals: r } = l;
136
- let a = 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);
137
137
  if (e === null)
138
- a = "null";
138
+ i = "null";
139
139
  else if (e === void 0)
140
- a = "";
141
- else if (typeof e == "number" && Number.isFinite(e) && o !== void 0) {
142
- const n = Ve(o), m = r ?? a.split(n)[1]?.length ?? 2;
143
- a = new Intl.NumberFormat(o, {
144
- maximumFractionDigits: m
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
145
145
  }).format(e).replace(/\u202F/gu, " ");
146
146
  }
147
- return (t || /[",\r\n]/u.test(a)) && (a = `"${a.replace(/"/gu, '""')}"`), a;
147
+ return (t || /[",\r\n]/u.test(i)) && (i = `"${i.replace(/"/gu, '""')}"`), i;
148
148
  };
149
- function rt(l, e = {}) {
150
- const { columns: t, delimiter: o, includeHeader: r = !0, quoteAll: a = !1, locale: i, roundDecimals: n } = e, m = l.length === 0;
151
- let u = "";
152
- if (!m) {
153
- const g = t ?? Object.keys(l[0]), F = [], b = o ?? Ce(i ?? "en");
154
- if (i !== void 0 && b !== "," && (u += `sep=${b}\r
155
- `), r) {
156
- const x = g.map((d) => G({ value: d, quoteAll: a, locale: i, roundDecimals: n }));
157
- F.push(x.join(b));
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));
158
158
  }
159
- l.forEach((x) => {
160
- const d = g.map((s) => G({ value: x[s], quoteAll: a, locale: i, roundDecimals: n }));
161
- F.push(d.join(b));
162
- }), u += F.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
163
163
  `);
164
164
  }
165
- return u;
165
+ return c;
166
166
  }
167
- function lt(l) {
168
- const { rawData: e, config: t, layer: o, fieldList: r, formatters: a, formatLocale: i, utilsStrings: n } = l;
169
- let m = [];
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 = [];
170
170
  if (t !== void 0 && Array.isArray(e) && e.length > 0) {
171
- const u = Se(t?.series);
172
- u === O.HistogramSeries ? m = ke(
171
+ const u = Pe(t?.series);
172
+ u === k.HistogramSeries ? f = Re(
173
173
  t,
174
174
  e,
175
- a
176
- ) : u === O.HeatSeries ? m = Me({
175
+ i
176
+ ) : u === k.HeatSeries ? f = Te({
177
177
  config: t,
178
178
  rows: e,
179
- layer: o,
180
- fieldList: r,
181
- formatLocale: i,
182
- utilsStrings: n
183
- }) : u === O.BarSeries || u === O.LineSeries || u === O.ComboLineAndBarSeries ? m = Te({
179
+ layer: a,
180
+ fieldList: o,
181
+ formatLocale: s,
182
+ utilsStrings: c
183
+ }) : u === k.BarSeries || u === k.LineSeries || u === k.ComboLineAndBarSeries ? f = Ke({
184
184
  config: t,
185
185
  rows: e,
186
- layer: o,
187
- fieldList: r,
188
- formatters: a
189
- }) : u === O.PieSeries ? m = Ne({
186
+ layer: a,
187
+ fieldList: o,
188
+ formatters: i,
189
+ useRendererLabel: r,
190
+ timeZone: n
191
+ }) : u === k.PieSeries ? f = Ee({
190
192
  config: t,
191
193
  rows: e,
192
- layer: o,
193
- fieldList: r,
194
- formatters: a
195
- }) : u === O.BoxPlotSeries && (m = Re({
194
+ layer: a,
195
+ fieldList: o,
196
+ formatters: i,
197
+ useRendererLabel: r,
198
+ timeZone: n
199
+ }) : u === k.BoxPlotSeries && (f = Ze({
196
200
  config: t,
197
201
  rows: e,
198
- layer: o,
199
- fieldList: r,
200
- formatters: a
202
+ layer: a,
203
+ fieldList: o,
204
+ formatters: i,
205
+ useRendererLabel: r,
206
+ timeZone: n
201
207
  }));
202
208
  }
203
- return m;
209
+ return f;
204
210
  }
205
211
  function h(l) {
206
- const { value: e, originalValue: t, formatter: o } = l;
207
- let r = e;
208
- return o !== void 0 && (e === null || e instanceof Date || typeof e == "number" || typeof e == "string") && (r = o(e, t)), r;
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;
209
215
  }
210
- function A(l) {
211
- const { field: e, value: t, layer: o, fieldList: r, formatter: a } = l;
212
- let i;
216
+ function M(l) {
217
+ const { field: e, value: t, dataContext: a, layer: o, fieldList: i, formatter: r, timeZone: n } = l;
218
+ let s;
213
219
  if (t == null || typeof t == "boolean" || Array.isArray(t))
214
- i = t;
220
+ s = t;
215
221
  else if (typeof t == "string" || typeof t == "number" || t instanceof Date) {
216
- const n = o !== void 0 && (typeof t == "string" || typeof t == "number") ? be({
222
+ const f = Ne({
223
+ fieldName: e,
224
+ dataContext: a
225
+ }) ?? (o !== void 0 && (typeof t == "string" || typeof t == "number") ? De({
217
226
  queryObject: o,
218
227
  fieldName: e,
219
228
  fieldValue: t
220
- }) : void 0;
221
- i = le({
229
+ }) : void 0);
230
+ s = se({
222
231
  field: e,
223
- value: n ?? t,
224
- fieldList: r
232
+ value: f ?? t,
233
+ fieldList: i,
234
+ timeZone: n
225
235
  });
226
236
  } else
227
- i = t;
237
+ s = t;
228
238
  return h({
229
- value: i,
239
+ value: s,
230
240
  originalValue: t,
231
- formatter: a
241
+ formatter: r
232
242
  });
233
243
  }
234
- function C(l) {
235
- const { field: e, row: t, layer: o, fieldList: r, formatter: a } = l, i = Object.keys(t).find((m) => m.toLocaleLowerCase() === e.toLocaleLowerCase()), n = t[i ?? e];
236
- return A({
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({
237
251
  field: e,
238
- value: n,
239
- layer: o,
240
- fieldList: r,
241
- formatter: a
252
+ value: f,
253
+ dataContext: t,
254
+ layer: a,
255
+ fieldList: o,
256
+ formatter: i,
257
+ timeZone: n
242
258
  });
243
259
  }
244
- function W(l) {
245
- const { config: e, seriesIndex: t, formatters: o } = l;
246
- return e.series?.[t]?.assignToSecondValueAxis === !0 ? o?.secondaryYAxisLabelFormatter : o?.yAxisLabelFormatter;
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;
247
269
  }
248
- function Oe(l) {
249
- const { config: e, splitValueIndex: t, formatters: o } = l;
250
- return e?.series?.[t]?.assignToSecondValueAxis === !0 ? o?.secondaryYAxisLabelFormatter : o?.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;
273
+ }
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,
281
+ layer: i,
282
+ fieldList: r,
283
+ timeZone: n
284
+ }), s;
251
285
  }
252
- function Me(l) {
253
- const { config: e, rows: t, layer: o, fieldList: r, formatLocale: a, utilsStrings: i } = l, [n] = e.series, m = n.x, u = oe(e), g = ie(e), F = z({
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 = _({
254
288
  config: e,
255
- xAxisField: m,
256
- numericFields: g,
257
- aggregationType: u,
258
- layer: o,
259
- fieldList: r
289
+ xAxisField: s,
290
+ numericFields: f,
291
+ aggregationType: c,
292
+ layer: a,
293
+ fieldList: o
260
294
  });
261
- return t.map((b) => {
262
- const x = b[Y.xField], d = b[Y.yField], s = b[Y.valueField], c = typeof s == "number" && Number.isFinite(s) ? s.toFixed(2) : s;
263
- let f = { label: n.x, value: x }, p = { label: n.y, value: d };
295
+ return t.map((p) => {
296
+ const v = p[H.xField], b = p[H.yField], x = p[H.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 };
264
298
  if (n.xTemporalBinning !== void 0) {
265
- const { label: D, value: v } = X({
266
- value: Number(x),
299
+ const { label: F, value: S } = G({
300
+ value: Number(v),
267
301
  config: e,
268
- formatLocale: a,
302
+ formatLocale: i,
269
303
  unit: n.xTemporalBinning.unit,
270
- utilsStrings: i
304
+ utilsStrings: r
271
305
  });
272
- !N(D) && !N(v) && (f = { label: D, value: v });
306
+ !K(F) && !K(S) && (m = { label: F, value: S });
273
307
  }
274
308
  if (n.yTemporalBinning !== void 0) {
275
- const { label: D, value: v } = X({
276
- value: Number(d),
309
+ const { label: F, value: S } = G({
310
+ value: Number(b),
277
311
  config: e,
278
- formatLocale: a,
312
+ formatLocale: i,
279
313
  unit: n.yTemporalBinning.unit,
280
- utilsStrings: i
314
+ utilsStrings: r
281
315
  });
282
- !N(D) && !N(v) && (p = { label: D, value: v });
316
+ !K(F) && !K(S) && (d = { label: F, value: S });
283
317
  }
284
318
  return {
285
- [f.label]: f.value,
286
- [p.label]: p.value,
287
- [F.description]: c
319
+ [m.label]: m.value,
320
+ [d.label]: d.value,
321
+ [u.description]: D
288
322
  };
289
323
  });
290
324
  }
291
- function ke(l, e, t) {
292
- const o = ue(l), r = `${S(U.Min)} of ${o}`, a = `${S(U.Max)} of ${o}`, i = `${S(U.Count)} of ${o}`;
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}`;
293
327
  return e.map((n) => {
294
- const { minValue: m, maxValue: u, count: g } = n, F = E(m), b = E(u), x = E(g), d = {};
295
- if (F && (d[r] = h({
296
- value: m,
297
- originalValue: m,
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,
298
332
  formatter: t?.xAxisLabelFormatter
299
- })), b && (d[a] = h({
300
- value: u,
301
- originalValue: u,
333
+ })), p && (b[i] = h({
334
+ value: c,
335
+ originalValue: c,
302
336
  formatter: t?.xAxisLabelFormatter
303
- })), F && b) {
304
- const s = h({
305
- value: m,
306
- originalValue: m,
337
+ })), u && p) {
338
+ const x = h({
339
+ value: s,
340
+ originalValue: s,
307
341
  formatter: t?.xAxisLabelFormatter
308
- }), c = h({
309
- value: u,
310
- originalValue: u,
342
+ }), D = h({
343
+ value: c,
344
+ originalValue: c,
311
345
  formatter: t?.xAxisLabelFormatter
312
346
  });
313
- d.Label = `${String(s ?? "")} - ${String(c ?? "")}`;
347
+ b.Label = `${String(x ?? "")} - ${String(D ?? "")}`;
314
348
  }
315
- return x && (d[i] = h({
316
- value: g,
317
- originalValue: g,
318
- formatter: t?.yAxisLabelFormatter
319
- })), d;
349
+ return v && (b[r] = f), b;
320
350
  });
321
351
  }
322
- function $e(l, e, t) {
323
- const o = Object.keys(l);
324
- let r = [];
325
- return t ? r = t.map((a) => o.find((i) => i.toLowerCase().includes(a.toLowerCase())) || "") : r = o.filter((i) => i.toLowerCase().includes(e.toLowerCase())), r.filter((a) => a.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() !== "");
326
356
  }
327
- function Te(l) {
328
- const { config: e, rows: t, layer: o, fieldList: r, formatters: a } = l, i = ye(e), n = oe(e), m = S(n), u = ie(e), g = K(e.series), F = ae(e), b = de(e), { idField: x, isTraditionalTypeOID: d } = ge(pe(o)), s = d && u.length === 1 && u[0] === x;
329
- let c;
330
- switch (g) {
331
- case y.BarAndLineNoAggregation:
332
- c = t.map((f) => {
333
- const p = C({
334
- field: i,
335
- row: f,
336
- layer: o,
337
- fieldList: r,
338
- formatter: a?.xAxisLabelFormatter
339
- }), D = { [i]: p };
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;
359
+ let d;
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 };
340
372
  return Object.assign(
341
- D,
342
- ...u.map((v, B) => ({
343
- [v]: h({
344
- value: f[v],
345
- originalValue: f[v],
346
- formatter: W({ config: e, seriesIndex: B, formatters: a })
373
+ S,
374
+ ...u.map((P) => ({
375
+ [P]: h({
376
+ value: y[P],
377
+ originalValue: y[P]
347
378
  })
348
379
  }))
349
- ), D;
380
+ ), S;
350
381
  });
351
382
  break;
352
- case y.BarAndLineFromFields:
353
- c = ee(u, t).map(([f, p]) => {
354
- const D = R(e.series)[0], v = {};
355
- return p !== void 0 && f !== void 0 && (v.Field = h({
356
- value: p[i],
357
- originalValue: p[i],
358
- formatter: a?.xAxisLabelFormatter
359
- }), v.Value = h({
360
- value: p[D],
361
- originalValue: p[D],
362
- formatter: W({ config: e, seriesIndex: 0, formatters: a })
363
- })), v;
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;
364
394
  });
365
395
  break;
366
- case y.BarAndLineMonoField:
367
- case y.BarAndLineMultiFields:
368
- c = t.map((f) => {
369
- const p = C({
370
- field: i,
371
- row: f,
372
- layer: o,
373
- fieldList: r,
374
- formatter: a?.xAxisLabelFormatter
375
- }), D = { [i]: p };
376
- return u.forEach((v, B) => {
377
- const k = z({
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 = _({
378
410
  config: e,
379
- xAxisField: i,
411
+ xAxisField: s,
380
412
  numericFields: u,
381
- aggregationType: n,
382
- layer: o,
383
- numericFieldIndex: B,
384
- fieldList: r
385
- }), w = R(e.series)[B];
386
- let Q = w, j = w;
387
- w.toLowerCase() === k.name.toLowerCase() && (Q = k.description, j = k.name), D[Q] = h({
388
- value: f[j],
389
- originalValue: f[j],
390
- formatter: W({ config: e, seriesIndex: B, formatters: a })
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]
391
422
  });
392
- }), D;
423
+ }), S;
393
424
  });
394
425
  break;
395
- case y.BarAndLineSplitBy:
396
- c = t.flatMap((f) => {
397
- const p = R(e.series), D = C({
398
- field: i,
399
- row: f,
400
- layer: o,
401
- fieldList: r,
402
- formatter: a?.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
403
436
  });
404
- return F.map((v, B) => {
405
- const k = A({
406
- field: b,
407
- value: v,
408
- layer: o,
409
- fieldList: r
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
410
446
  });
411
447
  return {
412
- [i]: D,
413
- [b]: k,
414
- [s ? m : `${m} of ${u[0]}`]: h({
415
- value: f[p[B]],
416
- originalValue: f[p[B]],
417
- formatter: Oe({ config: e, splitValueIndex: B, formatters: a })
418
- })
448
+ [s]: S,
449
+ [b]: w,
450
+ [m ? f : `${f} of ${u[0]}`]: y[F[C]]
419
451
  };
420
452
  });
421
453
  });
422
454
  break;
423
- case y.BarAndLineSplitByNoAggregation:
424
- c = t.map((f) => {
425
- const p = C({
426
- field: i,
427
- row: f,
428
- layer: o,
429
- fieldList: r,
430
- formatter: a?.xAxisLabelFormatter
431
- }), D = $e(f, u[0], F), v = A({
432
- field: b,
433
- value: f[b],
434
- layer: o,
435
- fieldList: r
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
436
473
  });
437
474
  return {
438
- [i]: p,
439
- [b]: v,
440
- [u[0]]: h({
441
- value: f[D[0]],
442
- originalValue: f[D[0]],
443
- formatter: a?.yAxisLabelFormatter
444
- })
475
+ [s]: F,
476
+ [b]: w,
477
+ [u[0]]: y[S[0]]
445
478
  };
446
479
  });
447
480
  break;
448
481
  default:
449
- c = t;
482
+ d = t;
450
483
  }
451
- return c;
484
+ return d;
452
485
  }
453
- function we(l) {
486
+ function je(l) {
454
487
  if (l.length === 0)
455
488
  return [];
456
- const e = l.reduce((t, o) => {
457
- for (const [r, a] of Object.entries(o))
458
- typeof a == "number" && Number.isFinite(a) && (t[r] = (t[r] ?? 0) + a);
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);
459
492
  return t;
460
493
  }, {});
461
494
  return l.map((t) => {
462
- const o = { ...t };
463
- for (const [r, a] of Object.entries(t))
464
- if (typeof a == "number" && e[r] > 0) {
465
- const i = a / e[r];
466
- o[`${r}${M}`] = i.toPrecision(2);
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);
467
500
  }
468
- return o;
501
+ return a;
469
502
  });
470
503
  }
471
- function Ne(l) {
472
- const { config: e, rows: t, layer: o, fieldList: r, formatters: a } = l, i = ce(e), n = K(e.series);
473
- let m = we(t);
474
- const u = fe(e), g = n !== y.PieFromFields ? Z.Category : Z.Fields, F = me(e, g), b = z({
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 = _({
475
508
  config: e,
476
- xAxisField: i,
509
+ xAxisField: s,
477
510
  numericFields: u,
478
- aggregationType: F,
479
- mode: g,
480
- layer: o,
481
- fieldList: r
482
- }), x = R(e.series)[0];
483
- return n === y.PieFromCategory || n === y.PieNoAggregation ? m = m.map((d) => {
484
- const s = C({
485
- field: i,
486
- row: d,
487
- layer: o,
488
- fieldList: r,
489
- formatter: a?.xAxisLabelFormatter
490
- }), c = { [i]: s };
491
- let f = x, p = x;
492
- return n === y.PieFromCategory && x.toLowerCase() === b.name.toLowerCase() && (f = b.description, p = b.name), c[f] = h({
493
- value: d[p],
494
- originalValue: d[p],
495
- formatter: a?.yAxisLabelFormatter
496
- }), c[S(M.trim())] = h({
497
- value: d[`${p}${M}`],
498
- originalValue: d[`${p}${M}`],
499
- formatter: a?.yAxisLabelFormatter
500
- }), c;
501
- }) : n === y.PieFromFields && (m = ee(u, m).map(([d, s]) => {
502
- const c = {};
503
- return s !== void 0 && d !== void 0 && (c.Field = h({
504
- value: s[i],
505
- originalValue: s[i],
506
- formatter: a?.xAxisLabelFormatter
507
- }), c.Value = h({
508
- value: s[x],
509
- originalValue: s[x],
510
- formatter: a?.yAxisLabelFormatter
511
- }), c[S(M.trim())] = h({
512
- value: s[`${x}${M}`],
513
- originalValue: s[`${x}${M}`],
514
- formatter: a?.yAxisLabelFormatter
515
- })), c;
516
- })), m;
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}${$}`]
533
+ }), d;
534
+ }) : c === g.PieFromFields && (f = ae(u, f).map(([D, m]) => {
535
+ const d = {};
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}${$}`]
546
+ })), d;
547
+ })), f;
517
548
  }
518
- function I(l) {
519
- const { rawData: e, keyBase: t = "", outRow: o } = l;
520
- for (const [r, a] of Object.entries(P)) {
521
- const i = e[t + a];
522
- i !== void 0 && (o[r] = i);
523
- const n = e[t + a + De];
524
- n !== void 0 && (o[`${r} Outlier`] = n);
525
- const m = e[t + a + q];
526
- m !== void 0 && (o[`${r} Z-Score`] = m);
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);
527
558
  }
528
559
  }
529
- function $(l) {
530
- const { rawData: e, outRow: t, config: o, boxPlotSubType: r, layer: a, fieldList: i } = l, n = H(o), m = te(o), u = _(o);
531
- let g = P.Outlier;
532
- const F = T;
533
- switch (r) {
534
- case y.BoxPlotMonoFieldAndCategory: {
535
- const d = le({
536
- field: n,
537
- value: e[n],
538
- fieldList: i
560
+ function T(l) {
561
+ const { rawData: e, outRow: t, config: a, boxPlotSubType: o, layer: i, fieldList: r, timeZone: n } = l, s = q(a), c = oe(a), f = z(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
539
571
  });
540
- t[n] = d, t[S(P.Outlier)] = e[g];
572
+ t[s] = x, t[B(V.Outlier)] = e[u];
541
573
  break;
542
574
  }
543
- case y.BoxPlotMultiFieldsAndCategory: {
544
- t[S(n)] = e[n], g = `${m.find(
545
- (s) => Object.keys(e).some((c) => c.toLowerCase().includes(s.toLowerCase()))
546
- ) ?? ""}_${g}`, t[S(P.Outlier)] = e[g];
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];
547
579
  break;
548
580
  }
549
- case y.BoxPlotMonoFieldAndSplitBy:
550
- case y.BoxPlotMultiFieldsAndSplitBy: {
551
- const d = String(e[u]), s = A({
552
- field: u,
553
- value: d,
554
- layer: a,
555
- fieldList: i
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
556
589
  });
557
- g = `${d}_${g}`, t.Field = e[F], t[S(u)] = s, t[S(P.Outlier)] = e[g];
590
+ u = `${x}_${u}`, t.Field = e[p], t[B(f)] = D, t[B(V.Outlier)] = e[u];
558
591
  break;
559
592
  }
560
- case y.BoxPlotMonoFieldAndCategoryAndSplitBy: {
561
- const d = String(e[u]), s = A({
562
- field: u,
563
- value: d,
564
- layer: a,
565
- fieldList: i
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
566
600
  });
567
- g = `${d}_${g}`, t[S(n)] = e[n], t[S(u)] = s, t[S(P.Outlier)] = e[g];
601
+ u = `${x}_${u}`, t[B(s)] = e[s], t[B(f)] = D, t[B(V.Outlier)] = e[u];
568
602
  break;
569
603
  }
570
- case y.BoxPlotMonoField:
571
- case y.BoxPlotMultiFields:
604
+ case g.BoxPlotMonoField:
605
+ case g.BoxPlotMultiFields:
572
606
  default: {
573
- t.Field = e[F], t[S(P.Outlier)] = e[g];
607
+ t.Field = e[p], t[B(V.Outlier)] = e[u];
574
608
  break;
575
609
  }
576
610
  }
577
- const b = `${g}${q}`, x = e[b];
578
- x !== void 0 && (t[`${S(P.Outlier)} Z-Score`] = x);
611
+ const v = `${u}${Q}`, b = e[v];
612
+ b !== void 0 && (t[`${B(V.Outlier)} Z-Score`] = b);
579
613
  }
580
- function Ie(l) {
581
- const { rawData: e, outRow: t, config: o, splitByValue: r, layer: a, fieldList: i } = l, n = K(o.series), m = e[`${r}_${P.Average}`], u = _(o), g = H(o);
582
- let F = "";
583
- switch (n) {
584
- case y.BoxPlotMonoFieldAndSplitBy: {
585
- F = `${r}_${u}`, t.Field = e[T], t[S(u)] = A({
586
- field: u,
587
- value: e[F],
588
- layer: a,
589
- fieldList: i
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 = z(a), u = q(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
590
625
  });
591
626
  break;
592
627
  }
593
- case y.BoxPlotMultiFieldsAndSplitBy: {
594
- F = `${r}_${P.Average}`, t.Field = e[T], t[S(u)] = A({
595
- field: u,
596
- value: e[F],
597
- layer: a,
598
- fieldList: i
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
599
635
  });
600
636
  break;
601
637
  }
602
- case y.BoxPlotMonoFieldAndCategoryAndSplitBy: {
603
- F = `${r}_${P.Average}`, t[g] = e[g], t[S(u)] = A({
604
- field: u,
605
- value: r,
606
- layer: a,
607
- fieldList: i
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
608
645
  });
609
646
  break;
610
647
  }
611
648
  }
612
- t[S(P.Average)] = m;
613
- const b = `${String(m)}${q}`, x = e[b];
614
- x !== void 0 && (t[`${S(P.Average)} Z-Score`] = x);
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);
615
652
  }
616
- function Re(l) {
617
- const { config: e, rows: t, layer: o, fieldList: r, formatters: a } = l, i = K(e.series);
618
- let n = i;
619
- const m = se(e), u = Array.isArray(t) && t.length > 0 && t.every((s) => s[V.boxPlot.boxPlotMeanLineMarkerId] !== void 0);
620
- m && !u && (i === y.BoxPlotMonoFieldAndSplitBy ? n = y.BoxPlotMonoField : i === y.BoxPlotMultiFieldsAndSplitBy ? n = y.BoxPlotMultiFields : i === y.BoxPlotMonoFieldAndCategoryAndSplitBy && (n = y.BoxPlotMonoFieldAndCategory));
621
- const g = H(e), F = te(e), b = ae(e), x = _(e);
622
- let d;
623
- switch (n) {
624
- case y.BoxPlotMonoField:
625
- case y.BoxPlotMonoFieldAndCategory: {
626
- d = t.map((s) => {
627
- const c = {};
628
- if (s[V.boxPlot.boxPlotOutlierId])
629
- $({
630
- rawData: s,
631
- outRow: c,
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 = q(e), v = oe(e), b = ie(e), x = z(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,
632
669
  config: e,
633
- boxPlotSubType: n,
634
- layer: o,
635
- fieldList: r
670
+ boxPlotSubType: c,
671
+ layer: a,
672
+ fieldList: o,
673
+ timeZone: n
636
674
  });
637
675
  else {
638
- if (n === y.BoxPlotMonoFieldAndCategory) {
639
- const f = C({
640
- field: g,
641
- row: s,
642
- layer: o,
643
- fieldList: r,
644
- formatter: a?.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
645
685
  });
646
- c[g] = f;
647
- } else n === y.BoxPlotMonoField && (c.Field = s[T]);
648
- I({ rawData: s, outRow: c });
686
+ d[p] = y;
687
+ } else c === g.BoxPlotMonoField && (d.Field = m[R]);
688
+ j({ rawData: m, outRow: d });
649
689
  }
650
- return c;
690
+ return d;
651
691
  });
652
692
  break;
653
693
  }
654
- case y.BoxPlotMultiFields: {
655
- d = t.flatMap((s) => {
656
- const c = {};
657
- return s[V.boxPlot.boxPlotOutlierId] ? $({
658
- rawData: s,
659
- outRow: c,
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,
660
700
  config: e,
661
- boxPlotSubType: n,
662
- layer: o,
663
- fieldList: r
664
- }) : (c.Field = s[T], I({ rawData: s, outRow: c })), [c];
701
+ boxPlotSubType: c,
702
+ layer: a,
703
+ fieldList: o,
704
+ timeZone: n
705
+ }) : (d.Field = m[R], j({ rawData: m, outRow: d })), [d];
665
706
  });
666
707
  break;
667
708
  }
668
- case y.BoxPlotMultiFieldsAndCategory: {
669
- d = t.flatMap(
670
- (s) => F.map((c) => {
671
- const f = {};
672
- let p = "";
673
- if (f.Field = c, s[V.boxPlot.boxPlotOutlierId])
674
- $({
675
- rawData: s,
676
- outRow: f,
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,
677
718
  config: e,
678
- boxPlotSubType: n,
679
- layer: o,
680
- fieldList: r
719
+ boxPlotSubType: c,
720
+ layer: a,
721
+ fieldList: o,
722
+ timeZone: n
681
723
  });
682
724
  else {
683
- if (n === y.BoxPlotMultiFieldsAndCategory) {
684
- const D = C({
685
- field: g,
686
- row: s,
687
- layer: o,
688
- fieldList: r,
689
- formatter: a?.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
690
734
  });
691
- f[g] = D, p = `${c}_`;
735
+ y[p] = S, F = `${d}_`;
692
736
  }
693
- I({ rawData: s, outRow: f, keyBase: p });
737
+ j({ rawData: m, outRow: y, keyBase: F });
694
738
  }
695
- return f;
739
+ return y;
696
740
  })
697
741
  );
698
742
  break;
699
743
  }
700
- case y.BoxPlotMonoFieldAndSplitBy:
701
- case y.BoxPlotMultiFieldsAndSplitBy:
702
- case y.BoxPlotMonoFieldAndCategoryAndSplitBy: {
703
- d = t.flatMap((s) => {
704
- if (s[V.boxPlot.boxPlotOutlierId]) {
705
- const c = {};
706
- return $({
707
- rawData: s,
708
- outRow: c,
744
+ case g.BoxPlotMonoFieldAndSplitBy:
745
+ case g.BoxPlotMultiFieldsAndSplitBy:
746
+ case g.BoxPlotMonoFieldAndCategoryAndSplitBy: {
747
+ D = t.flatMap((m) => {
748
+ if (m[A.boxPlot.boxPlotOutlierId]) {
749
+ const d = {};
750
+ return T({
751
+ rawData: m,
752
+ outRow: d,
709
753
  config: e,
710
- boxPlotSubType: n,
711
- layer: o,
712
- fieldList: r
713
- }), [c];
714
- } else return s[V.boxPlot.boxPlotMeanLineMarkerId] ? b?.map((c) => {
715
- const f = {};
716
- return Ie({
717
- rawData: s,
718
- outRow: f,
719
- splitByValue: c,
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,
720
765
  config: e,
721
- layer: o,
722
- fieldList: r
723
- }), f;
724
- }) : b.map((c) => {
725
- const f = {}, p = A({
766
+ layer: a,
767
+ fieldList: o,
768
+ timeZone: n
769
+ }), y;
770
+ }) : b.map((d) => {
771
+ const y = {}, F = M({
726
772
  field: x,
727
- value: c,
728
- layer: o,
729
- fieldList: r
773
+ value: d,
774
+ layer: a,
775
+ fieldList: o
730
776
  });
731
- if (n === y.BoxPlotMonoFieldAndCategoryAndSplitBy) {
732
- const D = C({
733
- field: g,
734
- row: s,
735
- layer: o,
736
- fieldList: r,
737
- formatter: a?.xAxisLabelFormatter
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
738
786
  });
739
- f[g] = D;
787
+ y[p] = S;
740
788
  }
741
- return s[V.boxPlot.boxPlotOutlierId] ? $({
742
- rawData: s,
743
- outRow: f,
789
+ return m[A.boxPlot.boxPlotOutlierId] ? T({
790
+ rawData: m,
791
+ outRow: y,
744
792
  config: e,
745
- boxPlotSubType: n
746
- }) : (f[x] = p, I({ rawData: s, outRow: f, keyBase: `${c}_` })), f;
793
+ boxPlotSubType: c,
794
+ layer: a,
795
+ fieldList: o,
796
+ timeZone: n
797
+ }) : (y[x] = F, j({ rawData: m, outRow: y, keyBase: `${d}_` })), y;
747
798
  });
748
799
  });
749
800
  break;
750
801
  }
751
802
  default:
752
- d = t;
803
+ D = t;
753
804
  }
754
- return d;
805
+ return D;
755
806
  }
756
- const J = (l) => {
807
+ const te = (l) => {
757
808
  let e = !1;
758
809
  return (typeof l == "string" || typeof l == "number") && (e = !Number.isNaN(new Date(l).getTime())), e;
759
- }, Ke = (l) => re.fromJSDate(l, { zone: "local" }).toFormat("yyyy-LL-dd"), je = (l) => re.fromJSDate(l, { zone: "local" }).toFormat("yyyy-LL-dd'T'HH:mm:ss"), le = (l) => {
760
- const { field: e, value: t, fieldList: o } = l;
761
- let r = t;
762
- const a = o?.find((i) => i.name === e);
763
- if (a) {
764
- const i = a.type === he.DateOnly;
765
- xe(a) && !i ? r = J(t) ? je(new Date(t)) : t : i && typeof t != "string" && (r = J(t) ? Ke(new Date(t)) : t);
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);
766
817
  }
767
- return r;
818
+ return i;
768
819
  };
769
- function nt(l) {
770
- const { runtimeDataFilters: e, view: t, viewTimeExtentChangePolicy: o, syncViewTimeExtent: r } = l;
771
- let a = e;
772
- return t && (o === ve.Refresh || r) && t.timeExtent?.start != null && t.timeExtent?.end != null && (a = {
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 = {
773
824
  ...e,
774
825
  timeExtent: [t.timeExtent.start.valueOf(), t.timeExtent.end.valueOf()]
775
- }), a;
826
+ }), i;
776
827
  }
777
828
  export {
778
- Pe as a,
779
- Ae as b,
780
- Be as c,
781
- nt as d,
782
- rt as e,
783
- Le as f,
784
- X as g,
785
- it as h,
786
- lt 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
787
838
  };