@arcgis/charts-components 5.2.0-next.11 → 5.2.0-next.110

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 (491) hide show
  1. package/LICENSE.md +4 -2
  2. package/README.md +2 -2
  3. package/dist/cdn/{VDKFC44J.js → 2EUPFLNW.js} +2 -2
  4. package/dist/cdn/{L5DROI2A.js → 2IWBCO6Z.js} +2 -2
  5. package/dist/cdn/{II2ZPEUZ.js → 2VJWHI5H.js} +2 -2
  6. package/dist/cdn/{H3EXGCE7.js → 2VUR2GRV.js} +2 -2
  7. package/dist/cdn/{IHO3OLL3.js → 3DIZRBOJ.js} +2 -2
  8. package/dist/cdn/3LVNK4EI.js +2 -0
  9. package/dist/cdn/{2XXW3WF3.js → 3R6MHDQW.js} +2 -2
  10. package/dist/cdn/{OBPAQN4H.js → 3WARDHOQ.js} +1 -1
  11. package/dist/cdn/3XY3OEMH.js +2 -0
  12. package/dist/cdn/{FEKSPYHM.js → 3Z2C6NLH.js} +2 -2
  13. package/dist/cdn/{ZYOWZCR7.js → 4ABAUNOO.js} +2 -2
  14. package/dist/cdn/4DGRKLXO.js +2 -0
  15. package/dist/cdn/4G3OQ5FC.js +2 -0
  16. package/dist/cdn/{TACQVUBU.js → 4H2QKHO3.js} +2 -2
  17. package/dist/cdn/4L4ZZUIW.js +2 -0
  18. package/dist/cdn/{TFPQDMER.js → 4L6FQOVC.js} +2 -2
  19. package/dist/cdn/{ZBIVDGNH.js → 4RDHGQAL.js} +2 -2
  20. package/dist/cdn/5AMXSBVD.js +2 -0
  21. package/dist/cdn/{244ZX2UP.js → 5FBHUYVN.js} +2 -2
  22. package/dist/cdn/5GZBRQP2.js +2 -0
  23. package/dist/cdn/5HR252CM.js +2 -0
  24. package/dist/cdn/5L2GOXND.js +2 -0
  25. package/dist/cdn/62M4DHW3.js +2 -0
  26. package/dist/cdn/66O67DDO.js +2 -0
  27. package/dist/cdn/6KYYHQBS.js +2 -0
  28. package/dist/cdn/{BJ7Q7LCT.js → 6ZDEWZ4A.js} +2 -2
  29. package/dist/cdn/{TYUVXRBO.js → 7EUVBNRP.js} +2 -2
  30. package/dist/cdn/7PAQCBZ7.js +2 -0
  31. package/dist/cdn/7RRUD4HM.js +2 -0
  32. package/dist/cdn/{3VMHKSYP.js → 7YROV2MS.js} +1 -1
  33. package/dist/cdn/{FWAXKDYV.js → AG3BRYP2.js} +2 -2
  34. package/dist/cdn/{7YXTWBT4.js → AJDNZRJP.js} +4 -4
  35. package/dist/cdn/AK34H2Z4.js +2 -0
  36. package/dist/cdn/{4USHOYLT.js → AMIF7IUE.js} +2 -2
  37. package/dist/cdn/AYS37I6F.js +2 -0
  38. package/dist/cdn/{ZFJFTDJF.js → B5M3UYOD.js} +2 -2
  39. package/dist/cdn/{6B7JCDQC.js → B6K3UJ5E.js} +2 -2
  40. package/dist/cdn/{2OHFSVV5.js → BE3IE4CJ.js} +2 -2
  41. package/dist/cdn/BGA3UX4U.js +2 -0
  42. package/dist/cdn/{KX7KGXKQ.js → BIXQAUTT.js} +1 -1
  43. package/dist/cdn/{IVLVCLDE.js → BK4JKDTR.js} +1 -1
  44. package/dist/cdn/BPYN2X7Q.js +45 -0
  45. package/dist/cdn/{KDJ5RVHA.js → BYSF3WH4.js} +2 -2
  46. package/dist/cdn/C4LXB6MK.js +2 -0
  47. package/dist/cdn/C4OPIUNW.js +2 -0
  48. package/dist/cdn/C7IT74BS.js +2 -0
  49. package/dist/cdn/{J5NHXQLA.js → CAFMZZWU.js} +2 -2
  50. package/dist/cdn/CHCM5ZNC.js +2 -0
  51. package/dist/cdn/CKRMPTUO.js +2 -0
  52. package/dist/cdn/{SERX6V5M.js → CPPCFOXI.js} +2 -2
  53. package/dist/cdn/{O4HUYRYL.js → D4EPE7SG.js} +2 -2
  54. package/dist/cdn/{QR2OOC4D.js → DDKQH6CG.js} +2 -2
  55. package/dist/cdn/{7JIHGRTB.js → DGE5LAEC.js} +2 -2
  56. package/dist/cdn/{XY4TRZCG.js → DMCP4KFE.js} +2 -2
  57. package/dist/cdn/DMTY4NTC.js +2 -0
  58. package/dist/cdn/{NAXNRCMZ.js → DY4LKAXR.js} +2 -2
  59. package/dist/cdn/{Y6ZCTPJW.js → EEWNYPKP.js} +2 -2
  60. package/dist/cdn/EJCQJK4X.js +2 -0
  61. package/dist/cdn/EQLEA5AG.js +2 -0
  62. package/dist/cdn/EQNW3D27.js +2 -0
  63. package/dist/cdn/{D3CFPMAR.js → EQUJMGCQ.js} +2 -2
  64. package/dist/cdn/EUSDSRSD.js +4 -0
  65. package/dist/cdn/EXQDBBLY.js +2 -0
  66. package/dist/cdn/F5C2X2NS.js +2 -0
  67. package/dist/cdn/{OJ5X6I3H.js → FAP35T3M.js} +2 -2
  68. package/dist/cdn/{MK5ZYSOD.js → FVIQ4YK2.js} +2 -2
  69. package/dist/cdn/FWVZY2DN.js +2 -0
  70. package/dist/cdn/FZ4P2E22.js +2 -0
  71. package/dist/cdn/G5NLV2CS.js +2 -0
  72. package/dist/cdn/{X2LW7GTR.js → G5NNGGAX.js} +2 -2
  73. package/dist/cdn/{N4L5KE23.js → GA2SIPMS.js} +2 -2
  74. package/dist/cdn/GDFKEJO4.js +2 -0
  75. package/dist/cdn/GFIZPXVK.js +2 -0
  76. package/dist/cdn/GG7KDNXF.js +2 -0
  77. package/dist/cdn/{DNTLH5RT.js → GGLXIQWK.js} +2 -2
  78. package/dist/cdn/GQ6A5FQG.js +2 -0
  79. package/dist/cdn/{SP2IPHWF.js → GUQ44MLO.js} +1 -1
  80. package/dist/cdn/{4ZIZEJXS.js → GVBJWBHM.js} +2 -2
  81. package/dist/cdn/GY72TEIZ.js +2 -0
  82. package/dist/cdn/H3GVLNRJ.js +2 -0
  83. package/dist/cdn/{AASL4RKT.js → HHMRE4ZV.js} +2 -2
  84. package/dist/cdn/{XMPLEHTW.js → HVB5AZOB.js} +2 -2
  85. package/dist/cdn/{JQKRGUBU.js → HX6ZTJDH.js} +2 -2
  86. package/dist/cdn/{VT4WJZN6.js → I5WKBYXW.js} +2 -2
  87. package/dist/cdn/{S3ZSZXYG.js → I6SPDO4B.js} +2 -2
  88. package/dist/cdn/{BDGHBTPU.js → IH7IBNZZ.js} +2 -2
  89. package/dist/cdn/IICYSP6T.js +2 -0
  90. package/dist/cdn/IOG2IVJN.js +2 -0
  91. package/dist/cdn/{UYXCGSXU.js → IUALCYH2.js} +2 -2
  92. package/dist/cdn/{ETOGNYFU.js → IWEPAHDN.js} +2 -2
  93. package/dist/cdn/{BXYNEUQY.js → IXQLYXG3.js} +2 -2
  94. package/dist/cdn/J22FARAC.js +2 -0
  95. package/dist/cdn/J5SIGRGU.js +2 -0
  96. package/dist/cdn/JCGY4PXV.js +2 -0
  97. package/dist/cdn/JDCNFE5C.js +2 -0
  98. package/dist/cdn/JFRRNZCG.js +2 -0
  99. package/dist/cdn/{LUSFGRHV.js → JFVAFJ4H.js} +2 -2
  100. package/dist/cdn/JGDOGMER.js +2 -0
  101. package/dist/cdn/JJLZNOU5.js +3 -0
  102. package/dist/cdn/JKDSYFI5.js +2 -0
  103. package/dist/cdn/{WAINRCCJ.js → JNPALTZY.js} +2 -2
  104. package/dist/cdn/{RSNZMJ6I.js → JYBHESZC.js} +2 -2
  105. package/dist/cdn/K4PGZCDZ.js +2 -0
  106. package/dist/cdn/K6PMOUYR.js +2 -0
  107. package/dist/cdn/{PMIWXHTG.js → K7M3AA6L.js} +2 -2
  108. package/dist/cdn/KSDWPX5N.js +2 -0
  109. package/dist/cdn/{4OH4NSIW.js → KW37MJXK.js} +2 -2
  110. package/dist/cdn/{XYKXBWIT.js → KW5VRQR3.js} +2 -2
  111. package/dist/cdn/{AY6IOQ3H.js → KZ2R4OLR.js} +2 -2
  112. package/dist/cdn/LBOJGYSL.js +2 -0
  113. package/dist/cdn/{I5T7JUDH.js → LD7OU6HP.js} +2 -2
  114. package/dist/cdn/{XG2KN6YJ.js → LF7NQGHA.js} +2 -2
  115. package/dist/cdn/LJOG5J2V.js +2 -0
  116. package/dist/cdn/{7QXRWMUN.js → LJYMDBF4.js} +2 -2
  117. package/dist/cdn/LTZBWR5K.js +2 -0
  118. package/dist/cdn/{ULWJ57VT.js → MBMJNR7H.js} +2 -2
  119. package/dist/cdn/{L47EGLUH.js → ME2NTJW5.js} +2 -2
  120. package/dist/cdn/{I6UPUSLQ.js → NOODYKYT.js} +2 -2
  121. package/dist/cdn/{OFWEHJDH.js → NQ3QW4ED.js} +2 -2
  122. package/dist/cdn/NRKA3PVS.js +2 -0
  123. package/dist/cdn/{OXYJKZEP.js → NS256ILC.js} +2 -2
  124. package/dist/cdn/{3JYZJUOM.js → NSZKEEMN.js} +2 -2
  125. package/dist/cdn/NVWHMHFJ.js +2 -0
  126. package/dist/cdn/O3F4PKL5.js +2 -0
  127. package/dist/cdn/O522WPHN.js +2 -0
  128. package/dist/cdn/ORXX53NO.js +2 -0
  129. package/dist/cdn/{C5K6XOCR.js → OVUN4PSA.js} +2 -2
  130. package/dist/cdn/P6HJNWKL.js +2 -0
  131. package/dist/cdn/P7L3ARQ3.js +2 -0
  132. package/dist/cdn/{CNFBNAPJ.js → PCMTYFOA.js} +2 -2
  133. package/dist/cdn/{UE5VX2RL.js → POUXDWR6.js} +2 -2
  134. package/dist/cdn/{VY3KBD6N.js → PQCKQMUH.js} +2 -2
  135. package/dist/cdn/{7LYAWWOE.js → PUYHEQW6.js} +2 -2
  136. package/dist/cdn/PVNWEM36.js +2 -0
  137. package/dist/cdn/{SX6SDBU7.js → QBN2RUK7.js} +2 -2
  138. package/dist/cdn/{7UQHB6KY.js → QBRPQBRE.js} +2 -2
  139. package/dist/cdn/{QP5UAIC6.js → QIST2E6D.js} +1 -1
  140. package/dist/cdn/{CHLE2QGU.js → QKD52Y6W.js} +2 -2
  141. package/dist/cdn/{ZQDADGLQ.js → QPTOSFND.js} +2 -2
  142. package/dist/cdn/QQE67EPU.js +2 -0
  143. package/dist/cdn/QZCSTDPS.js +2 -0
  144. package/dist/cdn/{YJ6TRXMU.js → R5KXZK6C.js} +2 -2
  145. package/dist/cdn/{P5AO3V3M.js → RAWFU6UX.js} +2 -2
  146. package/dist/cdn/{XDMGH7YU.js → RD2GIVHJ.js} +2 -2
  147. package/dist/cdn/REC66TO6.js +2 -0
  148. package/dist/cdn/{YKDW7ZW3.js → RP3YFUJH.js} +2 -2
  149. package/dist/cdn/{N5ZUO6F3.js → RPILNNIB.js} +2 -2
  150. package/dist/cdn/{77A4T4FJ.js → RRFVH5KA.js} +2 -2
  151. package/dist/cdn/RT3RIRB5.js +2 -0
  152. package/dist/cdn/RYSXQJEF.js +2 -0
  153. package/dist/cdn/{SSQ3VCZ2.js → SCTII7J3.js} +2 -2
  154. package/dist/cdn/{ANN3O54W.js → SE6FHLO2.js} +2 -2
  155. package/dist/cdn/{5SIAOUPO.js → SILAGY2P.js} +2 -2
  156. package/dist/cdn/SMLGQATL.js +2 -0
  157. package/dist/cdn/SXOHCOAC.js +2 -0
  158. package/dist/cdn/{FOYOG3G7.js → TCW4HYMN.js} +2 -2
  159. package/dist/cdn/{VE3GFNNM.js → TI332EPG.js} +2 -2
  160. package/dist/cdn/{WMPWOPRZ.js → TIKRHNQ7.js} +2 -2
  161. package/dist/cdn/U4LGTOAJ.js +2 -0
  162. package/dist/cdn/U4LJEOCU.js +2 -0
  163. package/dist/cdn/UCS6KWEF.js +2 -0
  164. package/dist/cdn/{AZOBLYAP.js → UNK7GZT3.js} +2 -2
  165. package/dist/cdn/UOXDMZSI.js +2 -0
  166. package/dist/cdn/UPENS2HR.js +3 -0
  167. package/dist/cdn/{LROW4Y6O.js → UWXENGPT.js} +2 -2
  168. package/dist/cdn/{L7CMLBHB.js → UZFD4QWD.js} +1 -1
  169. package/dist/cdn/UZKSCM2S.js +2 -0
  170. package/dist/cdn/VAWXK4TO.js +2 -0
  171. package/dist/cdn/{5ZGALYWZ.js → VIKLBNPF.js} +2 -2
  172. package/dist/cdn/VKEJFHGG.js +2 -0
  173. package/dist/cdn/VPWZC6PQ.js +2 -0
  174. package/dist/cdn/{AK7X7SGI.js → VTGIHCBG.js} +2 -2
  175. package/dist/cdn/{DFKVPDMJ.js → VUWVVCEB.js} +16 -14
  176. package/dist/cdn/{4C6KWLWN.js → W5VC7K62.js} +2 -2
  177. package/dist/cdn/WCG6VBHW.js +2 -0
  178. package/dist/cdn/WZZIHATO.js +2 -0
  179. package/dist/cdn/X4P4OY6S.js +2 -0
  180. package/dist/cdn/X6C44FPC.js +2 -0
  181. package/dist/cdn/XB5AI5AU.js +2 -0
  182. package/dist/cdn/XETRBEFO.js +2 -0
  183. package/dist/cdn/XHJGXDGC.js +2 -0
  184. package/dist/cdn/{IYA7HQMS.js → XI6IYELV.js} +2 -2
  185. package/dist/cdn/XJEWRYSH.js +2 -0
  186. package/dist/cdn/{Q7J7EKQW.js → XJWB6DUA.js} +2 -2
  187. package/dist/cdn/XURXJVLT.js +2 -0
  188. package/dist/cdn/Y3WE42BQ.js +2 -0
  189. package/dist/cdn/YCM6O6HX.js +2 -0
  190. package/dist/cdn/{VRZ2SY6M.js → YHBSS2N2.js} +2 -2
  191. package/dist/cdn/{DSIFL2DF.js → YHMODCYK.js} +2 -2
  192. package/dist/cdn/{H2A5GZ55.js → YJW653RP.js} +2 -2
  193. package/dist/cdn/YKAA3D7I.js +2 -0
  194. package/dist/cdn/{P2F2O6MH.js → YRPBDTCB.js} +2 -2
  195. package/dist/cdn/{3TZEMBXR.js → YX7IFYJP.js} +2 -2
  196. package/dist/cdn/Z2MRSW74.js +2 -0
  197. package/dist/cdn/{4Z23HWDH.js → Z56TJBFK.js} +2 -2
  198. package/dist/cdn/ZE4S6J2S.js +2 -0
  199. package/dist/cdn/ZJIYZYVK.js +2 -0
  200. package/dist/cdn/ZN7K5ISR.js +2 -0
  201. package/dist/cdn/{TXB2I2U5.js → ZYCKBTVS.js} +2 -2
  202. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.en.json +1 -1
  203. package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
  204. package/dist/cdn/index.js +2 -2
  205. package/dist/cdn/main.css +1 -1
  206. package/dist/cdn/model/shared/setup-utils.js +2 -2
  207. package/dist/chart-rendering/common/interfaces.d.ts +104 -66
  208. package/dist/chunks/{type-guards3.js → action-bar-utils.js} +38 -46
  209. package/dist/chunks/axis-lines-symbol.js +8 -8
  210. package/dist/chunks/axis-model-wrapper.js +1 -1
  211. package/dist/chunks/bar-chart-model.js +47 -39
  212. package/dist/chunks/bg_BG.js +1 -1
  213. package/dist/chunks/box-plot-data.js +292 -275
  214. package/dist/chunks/box-plot-model.js +144 -131
  215. package/dist/chunks/chart-model.js +66 -57
  216. package/dist/chunks/chart-object-literals.js +27 -26
  217. package/dist/chunks/chart-ui-utils.js +149 -67
  218. package/dist/chunks/chart-ui-utils2.js +69 -150
  219. package/dist/chunks/class-breaks.js +271 -239
  220. package/dist/chunks/combo-bar-line-chart-model.js +123 -102
  221. package/dist/chunks/common.js +1 -1
  222. package/dist/chunks/data-labels-symbol.js +40 -25
  223. package/dist/chunks/data-labels-visibility.js +9 -9
  224. package/dist/chunks/data.js +42 -42
  225. package/dist/chunks/default.js +7 -7
  226. package/dist/chunks/gauge-model.js +62 -62
  227. package/dist/chunks/generate-x-axis-title.js +20 -16
  228. package/dist/chunks/heat-chart-model.js +96 -67
  229. package/dist/chunks/histogram-data.js +24 -24
  230. package/dist/chunks/histogram-model.js +11 -11
  231. package/dist/chunks/index.js +9349 -1080
  232. package/dist/chunks/index2.js +852 -8758
  233. package/dist/chunks/index3.js +1170 -850
  234. package/dist/chunks/index4.js +412 -252
  235. package/dist/chunks/index5.js +67 -101
  236. package/dist/chunks/interfaces.js +10 -10
  237. package/dist/chunks/line-chart-model.js +41 -25
  238. package/dist/chunks/model-setter.js +60 -65
  239. package/dist/chunks/model-types.js +2 -2
  240. package/dist/chunks/model-with-line-marker-styling.js +73 -48
  241. package/dist/chunks/model-with-x-guides.js +6 -6
  242. package/dist/chunks/model-with-y-guides.js +252 -272
  243. package/dist/chunks/negative-values-stacked-to-baseline.js +123 -72
  244. package/dist/chunks/pie-chart-data.js +176 -194
  245. package/dist/chunks/pie-chart-model.js +389 -321
  246. package/dist/chunks/popover-ui-utils.js +1 -1
  247. package/dist/chunks/radar-chart-model.js +414 -47
  248. package/dist/chunks/resource.js +2 -2
  249. package/dist/chunks/resources.js +1 -1
  250. package/dist/chunks/rest-js-object-literals.js +11 -11
  251. package/dist/chunks/rotated-state.js +2 -2
  252. package/dist/chunks/rounded-corners.js +90 -0
  253. package/dist/chunks/runtime.js +1 -1
  254. package/dist/chunks/scatterplot-model.js +23 -23
  255. package/dist/chunks/serial-chart-data.js +935 -819
  256. package/dist/chunks/serial-chart-model.js +146 -124
  257. package/dist/chunks/series-length.js +18 -18
  258. package/dist/chunks/series-types.js +23 -19
  259. package/dist/chunks/series.js +2 -2
  260. package/dist/chunks/store.js +1 -1
  261. package/dist/chunks/type-guards.js +50 -24
  262. package/dist/chunks/type-guards2.js +62 -53
  263. package/dist/chunks/useT9n.js +1 -1
  264. package/dist/chunks/utils.js +111 -88
  265. package/dist/chunks/utils2.js +55 -38
  266. package/dist/chunks/web-component-utils.js +414 -384
  267. package/dist/chunks/x-bounds.js +104 -99
  268. package/dist/components/arcgis-chart/customElement.d.ts +728 -255
  269. package/dist/components/arcgis-chart/customElement.js +10834 -10589
  270. package/dist/components/arcgis-charts-action-bar/customElement.d.ts +8 -0
  271. package/dist/components/arcgis-charts-action-bar/customElement.js +35 -32
  272. package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
  273. package/dist/components/arcgis-charts-config-axis/customElement.js +71 -65
  274. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +40 -34
  275. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +28 -28
  276. package/dist/components/arcgis-charts-config-bar-chart-data/index.js +1 -1
  277. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +44 -44
  278. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +55 -54
  279. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +14 -13
  280. package/dist/components/arcgis-charts-config-box-plot/customElement.js +32 -40
  281. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +16 -16
  282. package/dist/components/arcgis-charts-config-box-plot-data/index.js +1 -1
  283. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +49 -50
  284. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +4 -4
  285. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +11 -11
  286. package/dist/components/arcgis-charts-config-category-format/customElement.js +2 -2
  287. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +6 -6
  288. package/dist/components/arcgis-charts-config-color-style/customElement.js +2 -2
  289. package/dist/components/arcgis-charts-config-colors/customElement.js +2 -2
  290. package/dist/components/arcgis-charts-config-create-flow/customElement.js +245 -231
  291. package/dist/components/arcgis-charts-config-field-picker/customElement.js +30 -0
  292. package/dist/components/arcgis-charts-config-font-style/customElement.js +5 -5
  293. package/dist/components/arcgis-charts-config-format/customElement.js +90 -83
  294. package/dist/components/arcgis-charts-config-format-popover/customElement.js +3 -3
  295. package/dist/components/arcgis-charts-config-general/customElement.js +4 -4
  296. package/dist/components/arcgis-charts-config-guide/customElement.js +22 -23
  297. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +5 -5
  298. package/dist/components/arcgis-charts-config-guides/customElement.js +2 -2
  299. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
  300. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +13 -14
  301. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +65 -77
  302. package/dist/components/arcgis-charts-config-heat-chart-data/index.js +1 -1
  303. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +56 -56
  304. package/dist/components/arcgis-charts-config-histogram/customElement.js +28 -24
  305. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +29 -29
  306. package/dist/components/arcgis-charts-config-histogram-data/index.js +1 -1
  307. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +28 -28
  308. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +2 -2
  309. package/dist/components/arcgis-charts-config-line-chart/customElement.js +6 -7
  310. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +19 -19
  311. package/dist/components/arcgis-charts-config-line-chart-data/index.js +1 -1
  312. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +39 -39
  313. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +3 -3
  314. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +5 -5
  315. package/dist/components/arcgis-charts-config-line-style/customElement.js +3 -3
  316. package/dist/components/arcgis-charts-config-number-format/customElement.js +2 -2
  317. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +6 -7
  318. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +57 -64
  319. package/dist/components/arcgis-charts-config-pie-chart-data/index.js +1 -1
  320. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +55 -54
  321. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +68 -69
  322. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +4 -4
  323. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +28 -24
  324. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +16 -16
  325. package/dist/components/arcgis-charts-config-scatter-plot-data/index.js +1 -1
  326. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +18 -18
  327. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +2 -2
  328. package/dist/components/arcgis-charts-config-view-charts/customElement.js +58 -27
  329. package/dist/components/arcgis-charts-info-modal/customElement.js +8 -8
  330. package/dist/docs/api.json +1 -1
  331. package/dist/docs/docs.json +1 -1
  332. package/dist/docs/vscode.html-custom-data.json +1 -1
  333. package/dist/docs/web-types.json +1 -1
  334. package/dist/index.d.ts +1 -1
  335. package/dist/index.js +489 -465
  336. package/dist/interfaces.d.ts +57 -14
  337. package/dist/json-schema/index.d.ts +154 -6
  338. package/dist/loader.js +3 -3
  339. package/dist/model/bar-chart-model/bar-chart-model.d.ts +6 -4
  340. package/dist/model/box-plot-model/box-plot-model.d.ts +11 -5
  341. package/dist/model/chart-model/chart-model-base.d.ts +10 -0
  342. package/dist/model/chart-model/chart-model-wrapper.d.ts +24 -0
  343. package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +33 -21
  344. package/dist/model/heat-chart-model/heat-chart-model.d.ts +41 -8
  345. package/dist/model/interfaces/chart-interfaces.d.ts +2 -2
  346. package/dist/model/mixins/model-with-guides.d.ts +1 -1
  347. package/dist/model/mixins/model-with-line-marker-styling.d.ts +28 -19
  348. package/dist/model/mixins/model-with-multi-axes.d.ts +69 -106
  349. package/dist/model/pie-chart-model/pie-chart-legend-model.d.ts +7 -55
  350. package/dist/model/pie-chart-model/pie-chart-model.d.ts +61 -2
  351. package/dist/model/properties/data-labels/data-labels-symbol.d.ts +26 -0
  352. package/dist/model/properties/rounded-corners.d.ts +18 -0
  353. package/dist/model/radar-chart-model/radar-chart-model.d.ts +190 -0
  354. package/dist/model/serial-chart-model/serial-chart-model.d.ts +27 -1
  355. package/dist/model/shared/setup-utils.d.ts +3 -3
  356. package/dist/model/shared/setup-utils.js +1 -1
  357. package/dist/model/shared/type-guards.d.ts +38 -22
  358. package/dist/spec/chart-object-literals.d.ts +4 -3
  359. package/dist/spec/data-source.d.ts +17 -3
  360. package/dist/spec/web-chart.d.ts +34 -4
  361. package/dist/types/lumina.d.ts +1 -1
  362. package/dist/types/preact.d.ts +1 -1
  363. package/dist/types/react.d.ts +1 -1
  364. package/dist/types/stencil.d.ts +3 -3
  365. package/dist/utils/chart-config/converter/index.js +369 -350
  366. package/dist/utils/chart-config/utils/index.d.ts +28 -10
  367. package/dist/utils/chart-config/validator/index.d.ts +1 -0
  368. package/dist/utils/chart-config/validator/interfaces.d.ts +1 -0
  369. package/dist/utils/components/interfaces.d.ts +2 -0
  370. package/dist/utils/cursor/interfaces.d.ts +21 -0
  371. package/dist/utils/data/categorical-data/index.d.ts +18 -2
  372. package/dist/utils/data/index.d.ts +28 -22
  373. package/dist/utils/data/interfaces.d.ts +4 -3
  374. package/dist/utils/defaults/index.d.ts +30 -4
  375. package/dist/utils/defaults/interfaces.d.ts +73 -4
  376. package/dist/utils/layer/index.d.ts +23 -5
  377. package/dist/utils/layer/interfaces.d.ts +0 -12
  378. package/dist/utils/layer/query-features/index.d.ts +8 -3
  379. package/dist/utils/layer/query-parser/index.d.ts +10 -6
  380. package/dist/utils/layer/utils/index.d.ts +22 -5
  381. package/dist/utils/localization/interfaces.d.ts +9 -1
  382. package/dist/utils/misc/interfaces.d.ts +1 -0
  383. package/dist/utils/type-guards/chart-types.d.ts +10 -0
  384. package/dist/utils/type-guards/series-types.d.ts +9 -2
  385. package/package.json +8 -9
  386. package/dist/cdn/24AOJE7B.js +0 -2
  387. package/dist/cdn/3KRPCKJZ.js +0 -2
  388. package/dist/cdn/3TBK72EK.js +0 -3
  389. package/dist/cdn/425PZ2QJ.js +0 -2
  390. package/dist/cdn/4PHYDOBF.js +0 -2
  391. package/dist/cdn/547RDEMV.js +0 -2
  392. package/dist/cdn/567CLBG4.js +0 -2
  393. package/dist/cdn/5IIF22XN.js +0 -2
  394. package/dist/cdn/5IN5WK2R.js +0 -2
  395. package/dist/cdn/5LXX2PUM.js +0 -2
  396. package/dist/cdn/5NTIKQP4.js +0 -2
  397. package/dist/cdn/5YEADAVZ.js +0 -2
  398. package/dist/cdn/6R7VSDDU.js +0 -2
  399. package/dist/cdn/76MOP26H.js +0 -2
  400. package/dist/cdn/AHYYQWKY.js +0 -2
  401. package/dist/cdn/ASI7RDYV.js +0 -2
  402. package/dist/cdn/AXS3UMQJ.js +0 -2
  403. package/dist/cdn/BHUFE4DA.js +0 -2
  404. package/dist/cdn/CEWH3LQO.js +0 -2
  405. package/dist/cdn/CTBQ5Y4Z.js +0 -2
  406. package/dist/cdn/CVK7KFEC.js +0 -2
  407. package/dist/cdn/DJGEQ42V.js +0 -2
  408. package/dist/cdn/DL43NPDO.js +0 -2
  409. package/dist/cdn/E2DO2HQ6.js +0 -2
  410. package/dist/cdn/E4LJWBRC.js +0 -2
  411. package/dist/cdn/EDSF5KGV.js +0 -233
  412. package/dist/cdn/EE3KEIAT.js +0 -2
  413. package/dist/cdn/EJCGZPIV.js +0 -2
  414. package/dist/cdn/ETSB7KD3.js +0 -2
  415. package/dist/cdn/EZV7JSQJ.js +0 -2
  416. package/dist/cdn/F6QRLYSF.js +0 -2
  417. package/dist/cdn/FBMA7FW4.js +0 -2
  418. package/dist/cdn/FFS73X36.js +0 -142
  419. package/dist/cdn/FUAA6IFR.js +0 -4
  420. package/dist/cdn/FWRMJQXY.js +0 -2
  421. package/dist/cdn/G5FULTB5.js +0 -2
  422. package/dist/cdn/GISGGO3Z.js +0 -2
  423. package/dist/cdn/GQPOEX7B.js +0 -58
  424. package/dist/cdn/GYXK3DV7.js +0 -2
  425. package/dist/cdn/H45LPCQ2.js +0 -2
  426. package/dist/cdn/HW6MJJSX.js +0 -2
  427. package/dist/cdn/HZFHTWL6.js +0 -2
  428. package/dist/cdn/I2EERAZ3.js +0 -2
  429. package/dist/cdn/IE3GLZJZ.js +0 -2
  430. package/dist/cdn/IL2FG26D.js +0 -2
  431. package/dist/cdn/JBPYGZPJ.js +0 -2
  432. package/dist/cdn/JEOBO5JM.js +0 -2
  433. package/dist/cdn/KPWHYSA5.js +0 -2
  434. package/dist/cdn/KXUQJ6GE.js +0 -2
  435. package/dist/cdn/KZQFX7LH.js +0 -2
  436. package/dist/cdn/LL7NH3VV.js +0 -2
  437. package/dist/cdn/LUMOL7ZP.js +0 -2
  438. package/dist/cdn/LYJFZA2M.js +0 -2
  439. package/dist/cdn/MBSMC77K.js +0 -2
  440. package/dist/cdn/MVGAATR7.js +0 -2
  441. package/dist/cdn/NNZCIR7W.js +0 -2
  442. package/dist/cdn/NZXQ5BWP.js +0 -2
  443. package/dist/cdn/O4LKWTBY.js +0 -2
  444. package/dist/cdn/OW2DLJGU.js +0 -2
  445. package/dist/cdn/P4HSSZRL.js +0 -2
  446. package/dist/cdn/P4UJJCPG.js +0 -2
  447. package/dist/cdn/P56ROGSK.js +0 -2
  448. package/dist/cdn/PAIRUVLU.js +0 -2
  449. package/dist/cdn/PXIAM4CZ.js +0 -2
  450. package/dist/cdn/QPSJ6XOX.js +0 -2
  451. package/dist/cdn/R7HW5WVG.js +0 -2
  452. package/dist/cdn/RJCJ3F5C.js +0 -2
  453. package/dist/cdn/RKB6QZNW.js +0 -2
  454. package/dist/cdn/S6LH7YS6.js +0 -2
  455. package/dist/cdn/S74GCXXK.js +0 -3
  456. package/dist/cdn/SA22QZNW.js +0 -2
  457. package/dist/cdn/SJVVFOAX.js +0 -2
  458. package/dist/cdn/SOKKWGPA.js +0 -2
  459. package/dist/cdn/SQYOFBS6.js +0 -2
  460. package/dist/cdn/SVGAVKBQ.js +0 -2
  461. package/dist/cdn/THTYR6IL.js +0 -2
  462. package/dist/cdn/TTBRUBXY.js +0 -2
  463. package/dist/cdn/U5IM4KAQ.js +0 -2
  464. package/dist/cdn/U67P6YAZ.js +0 -2
  465. package/dist/cdn/UIRKQREJ.js +0 -2
  466. package/dist/cdn/UIY2PSG4.js +0 -2
  467. package/dist/cdn/UNTIPIBS.js +0 -2
  468. package/dist/cdn/VIY3BCJZ.js +0 -2
  469. package/dist/cdn/W7X6L2OB.js +0 -127
  470. package/dist/cdn/WHJU66P4.js +0 -2
  471. package/dist/cdn/WJ2VDT6B.js +0 -2
  472. package/dist/cdn/WNKDEOFZ.js +0 -2
  473. package/dist/cdn/WPPMMVD5.js +0 -2
  474. package/dist/cdn/WU3C7BQU.js +0 -2
  475. package/dist/cdn/WWO326JE.js +0 -2
  476. package/dist/cdn/XJFVSX2E.js +0 -2
  477. package/dist/cdn/XNWSVHA3.js +0 -2
  478. package/dist/cdn/XOM6LSIW.js +0 -2
  479. package/dist/cdn/XP4S2M7F.js +0 -2
  480. package/dist/cdn/XUERYUEG.js +0 -2
  481. package/dist/cdn/Y3CXVO2M.js +0 -2
  482. package/dist/cdn/Y7HBWU3M.js +0 -2
  483. package/dist/cdn/YALB4GSA.js +0 -2
  484. package/dist/cdn/YUF4ZSA5.js +0 -2
  485. package/dist/cdn/ZJHV3UVG.js +0 -2
  486. package/dist/cdn/ZQ2WG55W.js +0 -2
  487. package/dist/chunks/bar-chart-series.js +0 -15
  488. package/dist/chunks/index6.js +0 -66
  489. package/dist/chunks/time-zone.js +0 -38
  490. package/dist/components/arcgis-charts-config-field-select/customElement.js +0 -30
  491. /package/dist/components/{arcgis-charts-config-field-select → arcgis-charts-config-field-picker}/index.js +0 -0
@@ -1,22 +1,22 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { isEqual as se, capitalize as v, isNumber as W, zip as te } from "lodash-es";
3
- import { d as Y } from "./interfaces.js";
4
- import { g as ue, a as q, b as ae, c as _ } from "./box-plot-data.js";
5
- import { g as ce } from "./histogram-data.js";
6
- import { g as fe, a as de, b as me } from "./pie-chart-data.js";
7
- import { g as oe } from "./series-length.js";
8
- import { g as ie, d as re, e as ye } from "./serial-chart-data.js";
9
- import { g as z, a as ge } from "./data.js";
10
- import { Y as E, an as pe, af as be, aK as j, cj as xe, B as P, a6 as Fe, bb as De, d4 as Se } from "./index2.js";
11
- import { j as H, av as k, g as T, ap as ve, b as Be, a as Q } from "./index.js";
12
- import { q as I, C as y, F as L } from "./index3.js";
13
- import { g as he } from "./series-types.js";
14
- import { V as Pe } from "./index6.js";
15
- import { DateTime as le } from "luxon";
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
2
+ import { capitalize as v, isNumber as H, zip as ae, isEqual as ue } from "lodash-es";
3
+ import { H as W } from "./interfaces.js";
4
+ import { g as ce, a as q, 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 { a 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 { p as U, r as be, q as xe, U as E, H as Fe, P as V, a1 as De, aO as Se, bI as ve } from "./index.js";
11
+ import { i as Y, J as $, l as I, K as Be, L as he, M as Q } from "./index3.js";
12
+ import { i as K, a as g, C as A } from "./index2.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
16
  import { P as X } from "./common.js";
17
- import { u as w, d as C } from "./chart-object-literals.js";
18
- import { R as Ve } from "./rest-js-object-literals.js";
19
- function Ce(l) {
17
+ import { a as k, l as L } from "./chart-object-literals.js";
18
+ import { d as Ce } from "./rest-js-object-literals.js";
19
+ function Le(l) {
20
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",
@@ -29,7 +29,7 @@ function Ce(l) {
29
29
  }
30
30
  return r;
31
31
  }
32
- function Le(l) {
32
+ function Ae(l) {
33
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
34
  let r = e.toString();
35
35
  if (Number.isInteger(e) && e > 0 && e <= 7 && Number.isInteger(o) && o > 0 && o <= 7) {
@@ -38,7 +38,7 @@ function Le(l) {
38
38
  }
39
39
  return r;
40
40
  }
41
- function Ae(l) {
41
+ function Oe(l) {
42
42
  const { monthNumber: e, format: t, locale: a = "en-US" } = l, o = t && Object.keys(t).length > 0 ? t : { month: "long" };
43
43
  let i = e.toString();
44
44
  if (Number.isInteger(e) && e > 0 && e <= 12) {
@@ -47,64 +47,64 @@ function Ae(l) {
47
47
  }
48
48
  return i;
49
49
  }
50
- function Z(l) {
50
+ function J(l) {
51
51
  const { value: e, formatLocale: t, unit: a, config: o, utilsStrings: i } = l;
52
52
  let r = { label: "", value: e.toString() };
53
53
  switch (a) {
54
- case C.DayOfWeek:
54
+ case L.DayOfWeek:
55
55
  r = {
56
56
  label: i.heatChartCalendarDatePartsUnits.dayOfWeek,
57
- value: Le({
57
+ value: Ae({
58
58
  weekdayNumber: e,
59
- firstDayOfWeek: "firstDayOfWeek" in o ? o.firstDayOfWeek : ve,
59
+ firstDayOfWeek: "firstDayOfWeek" in o ? o.firstDayOfWeek : Be,
60
60
  locale: t
61
61
  })
62
62
  };
63
63
  break;
64
- case C.MonthOfYear:
64
+ case L.MonthOfYear:
65
65
  r = {
66
66
  label: i.heatChartCalendarDatePartsUnits.monthOfYear,
67
- value: Ae({
67
+ value: Oe({
68
68
  monthNumber: e,
69
69
  locale: t
70
70
  })
71
71
  };
72
72
  break;
73
- case C.HourOfDay:
73
+ case L.HourOfDay:
74
74
  r = {
75
75
  label: i.heatChartCalendarDatePartsUnits.hourOfDay,
76
- value: Ce({
76
+ value: Le({
77
77
  hour: e,
78
78
  format: { hour: "numeric", hour12: !1 },
79
79
  locale: t
80
80
  })
81
81
  };
82
82
  break;
83
- case C.DayOfMonth:
83
+ case L.DayOfMonth:
84
84
  r = {
85
85
  label: i.heatChartCalendarDatePartsUnits.dayOfMonth,
86
86
  value: typeof e == "string" ? e : e?.toString() ?? ""
87
87
  };
88
88
  break;
89
- case C.DayOfYear:
89
+ case L.DayOfYear:
90
90
  r = {
91
91
  label: i.heatChartCalendarDatePartsUnits.dayOfYear,
92
92
  value: typeof e == "string" ? e : e?.toString() ?? ""
93
93
  };
94
94
  break;
95
- case C.MinuteOfDay:
95
+ case L.MinuteOfDay:
96
96
  r = {
97
97
  label: i.heatChartCalendarDatePartsUnits.minuteOfDay,
98
98
  value: typeof e == "string" ? e : e?.toString() ?? ""
99
99
  };
100
100
  break;
101
- case C.WeekOfYear:
101
+ case L.WeekOfYear:
102
102
  r = {
103
103
  label: i.heatChartCalendarDatePartsUnits.weekOfYear,
104
104
  value: typeof e == "string" ? e : e?.toString() ?? ""
105
105
  };
106
106
  break;
107
- case C.QuarterOfYear:
107
+ case L.QuarterOfYear:
108
108
  r = {
109
109
  label: i.heatChartCalendarDatePartsUnits.quarterOfYear,
110
110
  value: typeof e == "string" ? e : e?.toString() ?? ""
@@ -113,19 +113,19 @@ function Z(l) {
113
113
  }
114
114
  return r;
115
115
  }
116
- function Oe(l, e) {
117
- return !se(l, e);
116
+ function Me(l, e) {
117
+ return !ue(l, e);
118
118
  }
119
- function st(l, e) {
120
- return Oe(l, e) || l !== e;
119
+ function ut(l, e) {
120
+ return Me(l, e) || l !== e;
121
121
  }
122
- function Me(l) {
122
+ function we(l) {
123
123
  return (new Intl.NumberFormat(l, {
124
124
  minimumFractionDigits: 1,
125
125
  maximumFractionDigits: 1
126
126
  }).formatToParts(1.1).find((a) => a.type === "decimal")?.value ?? ".") === "." ? "," : ";";
127
127
  }
128
- function we(l) {
128
+ function ke(l) {
129
129
  return new Intl.NumberFormat(l, {
130
130
  minimumFractionDigits: 1,
131
131
  maximumFractionDigits: 1
@@ -139,120 +139,125 @@ const G = (l) => {
139
139
  else if (e === void 0)
140
140
  i = "";
141
141
  else if (typeof e == "number" && Number.isFinite(e) && a !== void 0) {
142
- const n = we(a), s = o ?? i.split(n)[1]?.length ?? 2;
142
+ const n = ke(a), s = o ?? i.split(n)[1]?.length ?? 2;
143
143
  i = new Intl.NumberFormat(a, {
144
144
  maximumFractionDigits: s
145
145
  }).format(e).replace(/\u202F/gu, " ");
146
146
  }
147
147
  return (t || /[",\r\n]/u.test(i)) && (i = `"${i.replace(/"/gu, '""')}"`), i;
148
148
  };
149
- function ut(l, e = {}) {
149
+ function ct(l, e = {}) {
150
150
  const { columns: t, delimiter: a, includeHeader: o = !0, quoteAll: i = !1, locale: r, roundDecimals: n } = e, s = l.length === 0;
151
- let u = "";
151
+ let c = "";
152
152
  if (!s) {
153
- const c = t ?? Object.keys(l[0]), b = [], D = a ?? Me(r ?? "en");
154
- if (r !== void 0 && D !== "," && (u += `sep=${D}\r
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
155
  `), o) {
156
- const x = c.map((g) => G({ value: g, quoteAll: i, locale: r, roundDecimals: n }));
157
- b.push(x.join(D));
156
+ const B = f.map((b) => G({ value: b, quoteAll: i, locale: r, roundDecimals: n }));
157
+ u.push(B.join(p));
158
158
  }
159
- l.forEach((x) => {
160
- const g = c.map((p) => G({ value: x[p], quoteAll: i, locale: r, roundDecimals: n }));
161
- b.push(g.join(D));
162
- }), u += b.join(`\r
159
+ l.forEach((B) => {
160
+ const b = f.map((x) => G({ value: B[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 ct(l) {
168
- const { rawData: e, config: t, layer: a, fieldList: o, formatters: i, useRendererLabel: r, formatLocale: n, utilsStrings: s } = l;
169
- let u = [];
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 c = he(t?.series);
172
- c === w.HistogramSeries ? u = Te(
171
+ const u = Pe(t?.series);
172
+ u === k.HistogramSeries ? f = Ie(
173
173
  t,
174
174
  e,
175
175
  i
176
- ) : c === w.HeatSeries ? u = Ne({
176
+ ) : u === k.HeatSeries ? f = Te({
177
177
  config: t,
178
178
  rows: e,
179
179
  layer: a,
180
180
  fieldList: o,
181
- formatLocale: n,
182
- utilsStrings: s
183
- }) : c === w.BarSeries || c === w.LineSeries || c === w.ComboLineAndBarSeries ? u = Ie({
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
186
  layer: a,
187
187
  fieldList: o,
188
188
  formatters: i,
189
- useRendererLabel: r
190
- }) : c === w.PieSeries ? u = je({
189
+ useRendererLabel: r,
190
+ timeZone: n
191
+ }) : u === k.PieSeries ? f = Ee({
191
192
  config: t,
192
193
  rows: e,
193
194
  layer: a,
194
195
  fieldList: o,
195
196
  formatters: i,
196
- useRendererLabel: r
197
- }) : c === w.BoxPlotSeries && (u = Ue({
197
+ useRendererLabel: r,
198
+ timeZone: n
199
+ }) : u === k.BoxPlotSeries && (f = Ze({
198
200
  config: t,
199
201
  rows: e,
200
202
  layer: a,
201
203
  fieldList: o,
202
204
  formatters: i,
203
- useRendererLabel: r
205
+ useRendererLabel: r,
206
+ timeZone: n
204
207
  }));
205
208
  }
206
- return u;
209
+ return f;
207
210
  }
208
211
  function h(l) {
209
212
  const { value: e, originalValue: t, formatter: a } = l;
210
213
  let o = e;
211
214
  return a !== void 0 && (e === null || e instanceof Date || typeof e == "number" || typeof e == "string") && (o = a(e, t)), o;
212
215
  }
213
- function O(l) {
214
- const { field: e, value: t, dataContext: a, layer: o, fieldList: i, formatter: r } = l;
215
- let n;
216
+ function M(l) {
217
+ const { field: e, value: t, dataContext: a, layer: o, fieldList: i, formatter: r, timeZone: n } = l;
218
+ let s;
216
219
  if (t == null || typeof t == "boolean" || Array.isArray(t))
217
- n = t;
220
+ s = t;
218
221
  else if (typeof t == "string" || typeof t == "number" || t instanceof Date) {
219
- const u = $e({
222
+ const f = Ne({
220
223
  fieldName: e,
221
224
  dataContext: a
222
- }) ?? (o !== void 0 && (typeof t == "string" || typeof t == "number") ? Fe({
225
+ }) ?? (o !== void 0 && (typeof t == "string" || typeof t == "number") ? De({
223
226
  queryObject: o,
224
227
  fieldName: e,
225
228
  fieldValue: t
226
229
  }) : void 0);
227
- n = ne({
230
+ s = se({
228
231
  field: e,
229
- value: u ?? t,
230
- fieldList: i
232
+ value: f ?? t,
233
+ fieldList: i,
234
+ timeZone: n
231
235
  });
232
236
  } else
233
- n = t;
237
+ s = t;
234
238
  return h({
235
- value: n,
239
+ value: s,
236
240
  originalValue: t,
237
241
  formatter: r
238
242
  });
239
243
  }
240
- function A(l) {
241
- const { field: e, row: t, layer: a, fieldList: o, formatter: i, useRendererLabel: r = !1 } = l, n = Object.keys(t).find((c) => c.toLocaleLowerCase() === e.toLocaleLowerCase()), s = t[n ?? e], u = xe({
242
- value: s,
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,
243
247
  dataContext: t,
244
248
  useRendererLabel: r
245
249
  });
246
- return O({
250
+ return M({
247
251
  field: e,
248
- value: u,
252
+ value: f,
249
253
  dataContext: t,
250
254
  layer: a,
251
255
  fieldList: o,
252
- formatter: i
256
+ formatter: i,
257
+ timeZone: n
253
258
  });
254
259
  }
255
- function ke(l, e) {
260
+ function $e(l, e) {
256
261
  let t = !1;
257
262
  if (l === e)
258
263
  t = !0;
@@ -262,85 +267,86 @@ function ke(l, e) {
262
267
  }
263
268
  return t;
264
269
  }
265
- function $e(l) {
266
- const { fieldName: e, dataContext: t } = l, a = L.rendererSymbolField;
267
- return e === a && t !== void 0 ? Se(t) : void 0;
270
+ function Ne(l) {
271
+ const { fieldName: e, dataContext: t } = l, a = A.rendererSymbolField;
272
+ return e === a && t !== void 0 ? ve(t) : void 0;
268
273
  }
269
- function J(l) {
270
- const { config: e, splitByField: t, splitByValue: a, splitByValueIndex: o, layer: i, fieldList: r } = l;
271
- let n;
272
- const s = e.series[o ?? -1]?.name;
273
- return s !== void 0 ? n = s : n = O({
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({
274
279
  field: t,
275
280
  value: a,
276
281
  layer: i,
277
- fieldList: r
278
- }), n;
282
+ fieldList: r,
283
+ timeZone: n
284
+ }), s;
279
285
  }
280
- function Ne(l) {
281
- const { config: e, rows: t, layer: a, fieldList: o, formatLocale: i, utilsStrings: r } = l, [n] = e.series, s = n.x, u = ie(e), c = re(e), b = 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 = z({
282
288
  config: e,
283
289
  xAxisField: s,
284
- numericFields: c,
285
- aggregationType: u,
290
+ numericFields: f,
291
+ aggregationType: c,
286
292
  layer: a,
287
293
  fieldList: o
288
294
  });
289
- return t.map((D) => {
290
- const x = D[H.xField], g = D[H.yField], p = D[H.valueField], f = typeof p == "number" && Number.isFinite(p) ? p.toFixed(2) : p;
291
- let d = { label: n.x, value: x }, m = { label: n.y, value: g };
295
+ return t.map((p) => {
296
+ const B = p[Y.xField], b = p[Y.yField], x = p[Y.valueField], D = typeof x == "number" && Number.isFinite(x) ? x.toFixed(2) : x;
297
+ let m = { label: n.x, value: B }, d = { label: n.y, value: b };
292
298
  if (n.xTemporalBinning !== void 0) {
293
- const { label: S, value: B } = Z({
294
- value: Number(x),
299
+ const { label: F, value: S } = J({
300
+ value: Number(B),
295
301
  config: e,
296
302
  formatLocale: i,
297
303
  unit: n.xTemporalBinning.unit,
298
304
  utilsStrings: r
299
305
  });
300
- !I(S) && !I(B) && (d = { label: S, value: B });
306
+ !K(F) && !K(S) && (m = { label: F, value: S });
301
307
  }
302
308
  if (n.yTemporalBinning !== void 0) {
303
- const { label: S, value: B } = Z({
304
- value: Number(g),
309
+ const { label: F, value: S } = J({
310
+ value: Number(b),
305
311
  config: e,
306
312
  formatLocale: i,
307
313
  unit: n.yTemporalBinning.unit,
308
314
  utilsStrings: r
309
315
  });
310
- !I(S) && !I(B) && (m = { label: S, value: B });
316
+ !K(F) && !K(S) && (d = { label: F, value: S });
311
317
  }
312
318
  return {
313
- [d.label]: d.value,
314
319
  [m.label]: m.value,
315
- [b.description]: f
320
+ [d.label]: d.value,
321
+ [u.description]: D
316
322
  };
317
323
  });
318
324
  }
319
- function Te(l, e, t) {
320
- const a = ce(l), o = `${v(Y.Min)} of ${a}`, i = `${v(Y.Max)} of ${a}`, r = `${v(Y.Count)} of ${a}`;
325
+ function Ie(l, e, t) {
326
+ const a = fe(l), o = `${v(W.Min)} of ${a}`, i = `${v(W.Max)} of ${a}`, r = `${v(W.Count)} of ${a}`;
321
327
  return e.map((n) => {
322
- const { minValue: s, maxValue: u, count: c } = n, b = W(s), D = W(u), x = W(c), g = {};
323
- if (b && (g[o] = h({
328
+ const { minValue: s, maxValue: c, count: f } = n, u = H(s), p = H(c), B = H(f), b = {};
329
+ if (u && (b[o] = h({
324
330
  value: s,
325
331
  originalValue: s,
326
332
  formatter: t?.xAxisLabelFormatter
327
- })), D && (g[i] = h({
328
- value: u,
329
- originalValue: u,
333
+ })), p && (b[i] = h({
334
+ value: c,
335
+ originalValue: c,
330
336
  formatter: t?.xAxisLabelFormatter
331
- })), b && D) {
332
- const p = h({
337
+ })), u && p) {
338
+ const x = h({
333
339
  value: s,
334
340
  originalValue: s,
335
341
  formatter: t?.xAxisLabelFormatter
336
- }), f = h({
337
- value: u,
338
- originalValue: u,
342
+ }), D = h({
343
+ value: c,
344
+ originalValue: c,
339
345
  formatter: t?.xAxisLabelFormatter
340
346
  });
341
- g.Label = `${String(p ?? "")} - ${String(f ?? "")}`;
347
+ b.Label = `${String(x ?? "")} - ${String(D ?? "")}`;
342
348
  }
343
- return x && (g[r] = c), g;
349
+ return B && (b[r] = f), b;
344
350
  });
345
351
  }
346
352
  function Re(l, e, t) {
@@ -348,121 +354,127 @@ function Re(l, e, t) {
348
354
  let o = [];
349
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() !== "");
350
356
  }
351
- function Ie(l) {
352
- const { config: e, rows: t, layer: a, fieldList: o, formatters: i, useRendererLabel: r = !1 } = l, n = ge(e), s = ie(e), u = v(s), c = re(e), b = E(e.series), D = oe(e), x = ye(e), { idField: g, isTraditionalTypeOID: p } = pe(be(a)), f = p && c.length === 1 && c[0] === g;
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 = v(c), u = le(e), p = U(e.series), B = ie(e), b = ge(e), { idField: x, isTraditionalTypeOID: D } = be(xe(a)), m = D && u.length === 1 && u[0] === x;
353
359
  let d;
354
- switch (b) {
355
- case y.BarAndLineNoAggregation:
356
- d = t.map((m) => {
357
- const F = A({
358
- field: n,
359
- row: m,
360
+ switch (p) {
361
+ case g.BarAndLineNoAggregation:
362
+ d = t.map((y) => {
363
+ const F = O({
364
+ field: s,
365
+ row: y,
360
366
  layer: a,
361
367
  fieldList: o,
362
368
  formatter: i?.xAxisLabelFormatter,
363
- useRendererLabel: r
364
- }), S = { [n]: F };
369
+ useRendererLabel: r,
370
+ timeZone: n
371
+ }), S = { [s]: F };
365
372
  return Object.assign(
366
373
  S,
367
- ...c.map((B) => ({
368
- [B]: h({
369
- value: m[B],
370
- originalValue: m[B]
374
+ ...u.map((P) => ({
375
+ [P]: h({
376
+ value: y[P],
377
+ originalValue: y[P]
371
378
  })
372
379
  }))
373
380
  ), S;
374
381
  });
375
382
  break;
376
- case y.BarAndLineFromFields:
377
- d = te(c, t).map(([m, F]) => {
378
- const S = j(e.series)[0], B = {};
379
- return F !== void 0 && m !== void 0 && (B.Field = h({
380
- value: F[n],
381
- originalValue: F[n],
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],
382
389
  formatter: i?.xAxisLabelFormatter
383
- }), B.Value = h({
390
+ }), P.Value = h({
384
391
  value: F[S],
385
392
  originalValue: F[S]
386
- })), B;
393
+ })), P;
387
394
  });
388
395
  break;
389
- case y.BarAndLineMonoField:
390
- case y.BarAndLineMultiFields:
391
- d = t.map((m) => {
392
- const F = A({
393
- field: n,
394
- row: m,
396
+ case g.BarAndLineMonoField:
397
+ case g.BarAndLineMultiFields:
398
+ d = t.map((y) => {
399
+ const F = O({
400
+ field: s,
401
+ row: y,
395
402
  layer: a,
396
403
  fieldList: o,
397
404
  formatter: i?.xAxisLabelFormatter,
398
- useRendererLabel: r
399
- }), S = { [n]: F };
400
- return c.forEach((B, V) => {
401
- const M = z({
405
+ useRendererLabel: r,
406
+ timeZone: n
407
+ }), S = { [s]: F };
408
+ return u.forEach((P, C) => {
409
+ const w = z({
402
410
  config: e,
403
- xAxisField: n,
404
- numericFields: c,
405
- aggregationType: s,
411
+ xAxisField: s,
412
+ numericFields: u,
413
+ aggregationType: c,
406
414
  layer: a,
407
- numericFieldIndex: V,
415
+ numericFieldIndex: C,
408
416
  fieldList: o
409
- }), $ = j(e.series)[V];
410
- let R = $, U = $;
411
- $.toLowerCase() === M.name.toLowerCase() && (R = M.description, U = M.name), S[R] = h({
412
- value: m[U],
413
- originalValue: m[U]
417
+ }), N = E(e.series)[C];
418
+ let R = N, Z = N;
419
+ N.toLowerCase() === w.name.toLowerCase() && (R = w.description, Z = w.name), S[R] = h({
420
+ value: y[Z],
421
+ originalValue: y[Z]
414
422
  });
415
423
  }), S;
416
424
  });
417
425
  break;
418
- case y.BarAndLineSplitBy:
419
- d = t.flatMap((m) => {
420
- const F = j(e.series), S = A({
421
- field: n,
422
- row: m,
426
+ case g.BarAndLineSplitBy:
427
+ d = t.flatMap((y) => {
428
+ const F = E(e.series), S = O({
429
+ field: s,
430
+ row: y,
423
431
  layer: a,
424
432
  fieldList: o,
425
433
  formatter: i?.xAxisLabelFormatter,
426
- useRendererLabel: r
434
+ useRendererLabel: r,
435
+ timeZone: n
427
436
  });
428
- return D.map((B, V) => {
429
- const M = J({
437
+ return B.map((P, C) => {
438
+ const w = ee({
430
439
  config: e,
431
- splitByField: x,
432
- splitByValue: B,
433
- splitByValueIndex: V,
440
+ splitByField: b,
441
+ splitByValue: P,
442
+ splitByValueIndex: C,
434
443
  layer: a,
435
- fieldList: o
444
+ fieldList: o,
445
+ timeZone: n
436
446
  });
437
447
  return {
438
- [n]: S,
439
- [x]: M,
440
- [f ? u : `${u} of ${c[0]}`]: m[F[V]]
448
+ [s]: S,
449
+ [b]: w,
450
+ [m ? f : `${f} of ${u[0]}`]: y[F[C]]
441
451
  };
442
452
  });
443
453
  });
444
454
  break;
445
- case y.BarAndLineSplitByNoAggregation:
446
- d = t.map((m) => {
447
- const F = A({
448
- field: n,
449
- row: m,
455
+ case g.BarAndLineSplitByNoAggregation:
456
+ d = t.map((y) => {
457
+ const F = O({
458
+ field: s,
459
+ row: y,
450
460
  layer: a,
451
461
  fieldList: o,
452
462
  formatter: i?.xAxisLabelFormatter,
453
- useRendererLabel: r
454
- }), S = Re(m, c[0], D), B = m[x], V = D.findIndex((R) => ke(R, B)), M = J({
463
+ useRendererLabel: r,
464
+ timeZone: n
465
+ }), S = Re(y, u[0], B), P = y[b], C = B.findIndex((R) => $e(R, P)), w = ee({
455
466
  config: e,
456
- splitByField: x,
457
- splitByValue: B,
458
- splitByValueIndex: V >= 0 ? V : void 0,
467
+ splitByField: b,
468
+ splitByValue: P,
469
+ splitByValueIndex: C >= 0 ? C : void 0,
459
470
  layer: a,
460
- fieldList: o
471
+ fieldList: o,
472
+ timeZone: n
461
473
  });
462
474
  return {
463
- [n]: F,
464
- [x]: M,
465
- [c[0]]: m[S[0]]
475
+ [s]: F,
476
+ [b]: w,
477
+ [u[0]]: y[S[0]]
466
478
  };
467
479
  });
468
480
  break;
@@ -471,7 +483,7 @@ function Ie(l) {
471
483
  }
472
484
  return d;
473
485
  }
474
- function Ke(l) {
486
+ function je(l) {
475
487
  if (l.length === 0)
476
488
  return [];
477
489
  const e = l.reduce((t, a) => {
@@ -484,325 +496,343 @@ function Ke(l) {
484
496
  for (const [o, i] of Object.entries(t))
485
497
  if (typeof i == "number" && e[o] > 0) {
486
498
  const r = i / e[o];
487
- a[`${o}${k}`] = r.toPrecision(2);
499
+ a[`${o}${$}`] = r.toPrecision(2);
488
500
  }
489
501
  return a;
490
502
  });
491
503
  }
492
- function je(l) {
493
- const { config: e, rows: t, layer: a, fieldList: o, formatters: i, useRendererLabel: r = !1 } = l, n = fe(e), s = E(e.series);
494
- let u = Ke(t);
495
- const c = de(e), b = s !== y.PieFromFields ? X.Category : X.Fields, D = me(e, b), x = 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, B = ye(e, p), b = z({
496
508
  config: e,
497
- xAxisField: n,
498
- numericFields: c,
499
- aggregationType: D,
500
- mode: b,
509
+ xAxisField: s,
510
+ numericFields: u,
511
+ aggregationType: B,
512
+ mode: p,
501
513
  layer: a,
502
514
  fieldList: o
503
- }), g = j(e.series)[0];
504
- return s === y.PieFromCategory || s === y.PieNoAggregation ? u = u.map((p) => {
505
- const f = A({
506
- field: n,
507
- row: p,
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,
508
520
  layer: a,
509
521
  fieldList: o,
510
522
  formatter: i?.xAxisLabelFormatter,
511
- useRendererLabel: r
512
- }), d = { [n]: f };
513
- let m = g, F = g;
514
- return s === y.PieFromCategory && g.toLowerCase() === x.name.toLowerCase() && (m = x.description, F = x.name), d[m] = h({
515
- value: p[F],
516
- originalValue: p[F]
517
- }), d[v(k.trim())] = h({
518
- value: p[`${F}${k}`],
519
- originalValue: p[`${F}${k}`]
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[v($.trim())] = h({
531
+ value: D[`${F}${$}`],
532
+ originalValue: D[`${F}${$}`]
520
533
  }), d;
521
- }) : s === y.PieFromFields && (u = te(c, u).map(([p, f]) => {
534
+ }) : c === g.PieFromFields && (f = ae(u, f).map(([D, m]) => {
522
535
  const d = {};
523
- return f !== void 0 && p !== void 0 && (d.Field = h({
524
- value: f[n],
525
- originalValue: f[n],
536
+ return m !== void 0 && D !== void 0 && (d.Field = h({
537
+ value: m[s],
538
+ originalValue: m[s],
526
539
  formatter: i?.xAxisLabelFormatter
527
540
  }), d.Value = h({
528
- value: f[g],
529
- originalValue: f[g]
530
- }), d[v(k.trim())] = h({
531
- value: f[`${g}${k}`],
532
- originalValue: f[`${g}${k}`]
541
+ value: m[x],
542
+ originalValue: m[x]
543
+ }), d[v($.trim())] = h({
544
+ value: m[`${x}${$}`],
545
+ originalValue: m[`${x}${$}`]
533
546
  })), d;
534
- })), u;
547
+ })), f;
535
548
  }
536
- function K(l) {
549
+ function j(l) {
537
550
  const { rawData: e, keyBase: t = "", outRow: a } = l;
538
- for (const [o, i] of Object.entries(P)) {
551
+ for (const [o, i] of Object.entries(V)) {
539
552
  const r = e[t + i];
540
553
  r !== void 0 && (a[o] = r);
541
- const n = e[t + i + Be];
554
+ const n = e[t + i + he];
542
555
  n !== void 0 && (a[`${o} Outlier`] = n);
543
556
  const s = e[t + i + Q];
544
557
  s !== void 0 && (a[`${o} Z-Score`] = s);
545
558
  }
546
559
  }
547
- function N(l) {
548
- const { rawData: e, outRow: t, config: a, boxPlotSubType: o, layer: i, fieldList: r } = l, n = q(a), s = ae(a), u = _(a);
549
- let c = P.Outlier;
550
- const b = T;
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 = _(a);
562
+ let u = V.Outlier;
563
+ const p = I;
551
564
  switch (o) {
552
- case y.BoxPlotMonoFieldAndCategory: {
553
- const g = ne({
554
- field: n,
555
- value: e[n],
556
- fieldList: r
565
+ case g.BoxPlotMonoFieldAndCategory: {
566
+ const x = se({
567
+ field: s,
568
+ value: e[s],
569
+ fieldList: r,
570
+ timeZone: n
557
571
  });
558
- t[n] = g, t[v(P.Outlier)] = e[c];
572
+ t[s] = x, t[v(V.Outlier)] = e[u];
559
573
  break;
560
574
  }
561
- case y.BoxPlotMultiFieldsAndCategory: {
562
- t[v(n)] = e[n], c = `${s.find(
563
- (p) => Object.keys(e).some((f) => f.toLowerCase().includes(p.toLowerCase()))
564
- ) ?? ""}_${c}`, t[v(P.Outlier)] = e[c];
575
+ case g.BoxPlotMultiFieldsAndCategory: {
576
+ t[v(s)] = e[s], u = `${c.find(
577
+ (D) => Object.keys(e).some((m) => m.toLowerCase().includes(D.toLowerCase()))
578
+ ) ?? ""}_${u}`, t[v(V.Outlier)] = e[u];
565
579
  break;
566
580
  }
567
- case y.BoxPlotMonoFieldAndSplitBy:
568
- case y.BoxPlotMultiFieldsAndSplitBy: {
569
- const g = String(e[u]), p = O({
570
- field: u,
571
- value: g,
581
+ case g.BoxPlotMonoFieldAndSplitBy:
582
+ case g.BoxPlotMultiFieldsAndSplitBy: {
583
+ const x = String(e[f]), D = M({
584
+ field: f,
585
+ value: x,
572
586
  layer: i,
573
- fieldList: r
587
+ fieldList: r,
588
+ timeZone: n
574
589
  });
575
- c = `${g}_${c}`, t.Field = e[b], t[v(u)] = p, t[v(P.Outlier)] = e[c];
590
+ u = `${x}_${u}`, t.Field = e[p], t[v(f)] = D, t[v(V.Outlier)] = e[u];
576
591
  break;
577
592
  }
578
- case y.BoxPlotMonoFieldAndCategoryAndSplitBy: {
579
- const g = String(e[u]), p = O({
580
- field: u,
581
- value: g,
593
+ case g.BoxPlotMonoFieldAndCategoryAndSplitBy: {
594
+ const x = String(e[f]), D = M({
595
+ field: f,
596
+ value: x,
582
597
  layer: i,
583
- fieldList: r
598
+ fieldList: r,
599
+ timeZone: n
584
600
  });
585
- c = `${g}_${c}`, t[v(n)] = e[n], t[v(u)] = p, t[v(P.Outlier)] = e[c];
601
+ u = `${x}_${u}`, t[v(s)] = e[s], t[v(f)] = D, t[v(V.Outlier)] = e[u];
586
602
  break;
587
603
  }
588
- case y.BoxPlotMonoField:
589
- case y.BoxPlotMultiFields:
604
+ case g.BoxPlotMonoField:
605
+ case g.BoxPlotMultiFields:
590
606
  default: {
591
- t.Field = e[b], t[v(P.Outlier)] = e[c];
607
+ t.Field = e[p], t[v(V.Outlier)] = e[u];
592
608
  break;
593
609
  }
594
610
  }
595
- const D = `${c}${Q}`, x = e[D];
596
- x !== void 0 && (t[`${v(P.Outlier)} Z-Score`] = x);
611
+ const B = `${u}${Q}`, b = e[B];
612
+ b !== void 0 && (t[`${v(V.Outlier)} Z-Score`] = b);
597
613
  }
598
- function Ee(l) {
599
- const { rawData: e, outRow: t, config: a, splitByValue: o, layer: i, fieldList: r } = l, n = E(a.series), s = e[`${o}_${P.Average}`], u = _(a), c = q(a);
600
- let b = "";
601
- switch (n) {
602
- case y.BoxPlotMonoFieldAndSplitBy: {
603
- b = `${o}_${u}`, t.Field = e[T], t[v(u)] = O({
604
- field: u,
605
- value: e[b],
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 = q(a);
616
+ let p = "";
617
+ switch (s) {
618
+ case g.BoxPlotMonoFieldAndSplitBy: {
619
+ p = `${o}_${f}`, t.Field = e[I], t[v(f)] = M({
620
+ field: f,
621
+ value: e[p],
606
622
  layer: i,
607
- fieldList: r
623
+ fieldList: r,
624
+ timeZone: n
608
625
  });
609
626
  break;
610
627
  }
611
- case y.BoxPlotMultiFieldsAndSplitBy: {
612
- b = `${o}_${P.Average}`, t.Field = e[T], t[v(u)] = O({
613
- field: u,
614
- value: e[b],
628
+ case g.BoxPlotMultiFieldsAndSplitBy: {
629
+ p = `${o}_${V.Average}`, t.Field = e[I], t[v(f)] = M({
630
+ field: f,
631
+ value: e[p],
615
632
  layer: i,
616
- fieldList: r
633
+ fieldList: r,
634
+ timeZone: n
617
635
  });
618
636
  break;
619
637
  }
620
- case y.BoxPlotMonoFieldAndCategoryAndSplitBy: {
621
- b = `${o}_${P.Average}`, t[c] = e[c], t[v(u)] = O({
622
- field: u,
638
+ case g.BoxPlotMonoFieldAndCategoryAndSplitBy: {
639
+ p = `${o}_${V.Average}`, t[u] = e[u], t[v(f)] = M({
640
+ field: f,
623
641
  value: o,
624
642
  layer: i,
625
- fieldList: r
643
+ fieldList: r,
644
+ timeZone: n
626
645
  });
627
646
  break;
628
647
  }
629
648
  }
630
- t[v(P.Average)] = s;
631
- const D = `${String(s)}${Q}`, x = e[D];
632
- x !== void 0 && (t[`${v(P.Average)} Z-Score`] = x);
649
+ t[v(V.Average)] = c;
650
+ const B = `${String(c)}${Q}`, b = e[B];
651
+ b !== void 0 && (t[`${v(V.Average)} Z-Score`] = b);
633
652
  }
634
- function Ue(l) {
635
- const { config: e, rows: t, layer: a, fieldList: o, formatters: i, useRendererLabel: r = !1 } = l, n = E(e.series);
636
- let s = n;
637
- const u = ue(e), c = Array.isArray(t) && t.length > 0 && t.every((f) => f[L.boxPlot.boxPlotMeanLineMarkerId] !== void 0);
638
- u && !c && (n === y.BoxPlotMonoFieldAndSplitBy ? s = y.BoxPlotMonoField : n === y.BoxPlotMultiFieldsAndSplitBy ? s = y.BoxPlotMultiFields : n === y.BoxPlotMonoFieldAndCategoryAndSplitBy && (s = y.BoxPlotMonoFieldAndCategory));
639
- const b = q(e), D = ae(e), x = oe(e), g = _(e);
640
- let p;
641
- switch (s) {
642
- case y.BoxPlotMonoField:
643
- case y.BoxPlotMonoFieldAndCategory: {
644
- p = t.map((f) => {
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), B = 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) => {
645
664
  const d = {};
646
- if (f[L.boxPlot.boxPlotOutlierId])
647
- N({
648
- rawData: f,
665
+ if (m[A.boxPlot.boxPlotOutlierId])
666
+ T({
667
+ rawData: m,
649
668
  outRow: d,
650
669
  config: e,
651
- boxPlotSubType: s,
670
+ boxPlotSubType: c,
652
671
  layer: a,
653
- fieldList: o
672
+ fieldList: o,
673
+ timeZone: n
654
674
  });
655
675
  else {
656
- if (s === y.BoxPlotMonoFieldAndCategory) {
657
- const m = A({
658
- field: b,
659
- row: f,
676
+ if (c === g.BoxPlotMonoFieldAndCategory) {
677
+ const y = O({
678
+ field: p,
679
+ row: m,
660
680
  layer: a,
661
681
  fieldList: o,
662
682
  formatter: i?.xAxisLabelFormatter,
663
- useRendererLabel: r
683
+ useRendererLabel: r,
684
+ timeZone: n
664
685
  });
665
- d[b] = m;
666
- } else s === y.BoxPlotMonoField && (d.Field = f[T]);
667
- K({ rawData: f, outRow: d });
686
+ d[p] = y;
687
+ } else c === g.BoxPlotMonoField && (d.Field = m[I]);
688
+ j({ rawData: m, outRow: d });
668
689
  }
669
690
  return d;
670
691
  });
671
692
  break;
672
693
  }
673
- case y.BoxPlotMultiFields: {
674
- p = t.flatMap((f) => {
694
+ case g.BoxPlotMultiFields: {
695
+ D = t.flatMap((m) => {
675
696
  const d = {};
676
- return f[L.boxPlot.boxPlotOutlierId] ? N({
677
- rawData: f,
697
+ return m[A.boxPlot.boxPlotOutlierId] ? T({
698
+ rawData: m,
678
699
  outRow: d,
679
700
  config: e,
680
- boxPlotSubType: s,
701
+ boxPlotSubType: c,
681
702
  layer: a,
682
- fieldList: o
683
- }) : (d.Field = f[T], K({ rawData: f, outRow: d })), [d];
703
+ fieldList: o,
704
+ timeZone: n
705
+ }) : (d.Field = m[I], j({ rawData: m, outRow: d })), [d];
684
706
  });
685
707
  break;
686
708
  }
687
- case y.BoxPlotMultiFieldsAndCategory: {
688
- p = t.flatMap(
689
- (f) => D.map((d) => {
690
- const m = {};
709
+ case g.BoxPlotMultiFieldsAndCategory: {
710
+ D = t.flatMap(
711
+ (m) => B.map((d) => {
712
+ const y = {};
691
713
  let F = "";
692
- if (m.Field = d, f[L.boxPlot.boxPlotOutlierId])
693
- N({
694
- rawData: f,
695
- outRow: m,
714
+ if (y.Field = d, m[A.boxPlot.boxPlotOutlierId])
715
+ T({
716
+ rawData: m,
717
+ outRow: y,
696
718
  config: e,
697
- boxPlotSubType: s,
719
+ boxPlotSubType: c,
698
720
  layer: a,
699
- fieldList: o
721
+ fieldList: o,
722
+ timeZone: n
700
723
  });
701
724
  else {
702
- if (s === y.BoxPlotMultiFieldsAndCategory) {
703
- const S = A({
704
- field: b,
705
- row: f,
725
+ if (c === g.BoxPlotMultiFieldsAndCategory) {
726
+ const S = O({
727
+ field: p,
728
+ row: m,
706
729
  layer: a,
707
730
  fieldList: o,
708
731
  formatter: i?.xAxisLabelFormatter,
709
- useRendererLabel: r
732
+ useRendererLabel: r,
733
+ timeZone: n
710
734
  });
711
- m[b] = S, F = `${d}_`;
735
+ y[p] = S, F = `${d}_`;
712
736
  }
713
- K({ rawData: f, outRow: m, keyBase: F });
737
+ j({ rawData: m, outRow: y, keyBase: F });
714
738
  }
715
- return m;
739
+ return y;
716
740
  })
717
741
  );
718
742
  break;
719
743
  }
720
- case y.BoxPlotMonoFieldAndSplitBy:
721
- case y.BoxPlotMultiFieldsAndSplitBy:
722
- case y.BoxPlotMonoFieldAndCategoryAndSplitBy: {
723
- p = t.flatMap((f) => {
724
- if (f[L.boxPlot.boxPlotOutlierId]) {
744
+ case g.BoxPlotMonoFieldAndSplitBy:
745
+ case g.BoxPlotMultiFieldsAndSplitBy:
746
+ case g.BoxPlotMonoFieldAndCategoryAndSplitBy: {
747
+ D = t.flatMap((m) => {
748
+ if (m[A.boxPlot.boxPlotOutlierId]) {
725
749
  const d = {};
726
- return N({
727
- rawData: f,
750
+ return T({
751
+ rawData: m,
728
752
  outRow: d,
729
753
  config: e,
730
- boxPlotSubType: s,
754
+ boxPlotSubType: c,
731
755
  layer: a,
732
- fieldList: o
756
+ fieldList: o,
757
+ timeZone: n
733
758
  }), [d];
734
- } else return f[L.boxPlot.boxPlotMeanLineMarkerId] ? x?.map((d) => {
735
- const m = {};
736
- return Ee({
737
- rawData: f,
738
- outRow: m,
759
+ } else return m[A.boxPlot.boxPlotMeanLineMarkerId] ? b?.map((d) => {
760
+ const y = {};
761
+ return Ue({
762
+ rawData: m,
763
+ outRow: y,
739
764
  splitByValue: d,
740
765
  config: e,
741
766
  layer: a,
742
- fieldList: o
743
- }), m;
744
- }) : x.map((d) => {
745
- const m = {}, F = O({
746
- field: g,
767
+ fieldList: o,
768
+ timeZone: n
769
+ }), y;
770
+ }) : b.map((d) => {
771
+ const y = {}, F = M({
772
+ field: x,
747
773
  value: d,
748
774
  layer: a,
749
775
  fieldList: o
750
776
  });
751
- if (s === y.BoxPlotMonoFieldAndCategoryAndSplitBy) {
752
- const S = A({
753
- field: b,
754
- row: f,
777
+ if (c === g.BoxPlotMonoFieldAndCategoryAndSplitBy) {
778
+ const S = O({
779
+ field: p,
780
+ row: m,
755
781
  layer: a,
756
782
  fieldList: o,
757
783
  formatter: i?.xAxisLabelFormatter,
758
- useRendererLabel: r
784
+ useRendererLabel: r,
785
+ timeZone: n
759
786
  });
760
- m[b] = S;
787
+ y[p] = S;
761
788
  }
762
- return f[L.boxPlot.boxPlotOutlierId] ? N({
763
- rawData: f,
764
- outRow: m,
789
+ return m[A.boxPlot.boxPlotOutlierId] ? T({
790
+ rawData: m,
791
+ outRow: y,
765
792
  config: e,
766
- boxPlotSubType: s
767
- }) : (m[g] = F, K({ rawData: f, outRow: m, keyBase: `${d}_` })), m;
793
+ boxPlotSubType: c,
794
+ layer: a,
795
+ fieldList: o,
796
+ timeZone: n
797
+ }) : (y[x] = F, j({ rawData: m, outRow: y, keyBase: `${d}_` })), y;
768
798
  });
769
799
  });
770
800
  break;
771
801
  }
772
802
  default:
773
- p = t;
803
+ D = t;
774
804
  }
775
- return p;
805
+ return D;
776
806
  }
777
- const ee = (l) => {
807
+ const te = (l) => {
778
808
  let e = !1;
779
809
  return (typeof l == "string" || typeof l == "number") && (e = !Number.isNaN(new Date(l).getTime())), e;
780
- }, We = (l) => le.fromJSDate(l, { zone: "local" }).toFormat("yyyy-LL-dd"), Ye = (l) => le.fromJSDate(l, { zone: "local" }).toFormat("yyyy-LL-dd'T'HH:mm:ss"), ne = (l) => {
781
- const { field: e, value: t, fieldList: a } = l;
782
- let o = t;
783
- const i = a?.find((r) => r.name === e);
784
- if (i) {
785
- const r = i.type === Ve.DateOnly;
786
- De(i) && !r ? o = ee(t) ? Ye(new Date(t)) : t : r && typeof t != "string" && (o = ee(t) ? We(new Date(t)) : t);
810
+ }, He = (l, e) => ne.fromJSDate(l, { zone: e ?? "local" }).toFormat("yyyy-LL-dd"), We = (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) ? We(new Date(t), o) : t : n && typeof t != "string" && (i = te(t) ? He(new Date(t), o) : t);
787
817
  }
788
- return o;
818
+ return i;
789
819
  };
790
- function ft(l) {
820
+ function mt(l) {
791
821
  const { runtimeDataFilters: e, view: t, viewTimeExtentChangePolicy: a, syncViewTimeExtent: o } = l;
792
822
  let i = e;
793
- return t && (a === Pe.Refresh || o) && t.timeExtent?.start != null && t.timeExtent?.end != null && (i = {
823
+ return t && (a === Ve.Refresh || o) && t.timeExtent?.start != null && t.timeExtent?.end != null && (i = {
794
824
  ...e,
795
825
  timeExtent: [t.timeExtent.start.valueOf(), t.timeExtent.end.valueOf()]
796
826
  }), i;
797
827
  }
798
828
  export {
799
- Ce as a,
800
- Ae as b,
801
- Le as c,
802
- ft as d,
803
- ut as e,
804
- Oe as f,
805
- Z as g,
806
- st as h,
807
- ct 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
+ J as g,
836
+ ut as h,
837
+ ft as t
808
838
  };