@arcgis/charts-components 5.0.0-next.24 → 5.0.0-next.26

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 (395) hide show
  1. package/dist/cdn/23E4LPNS.js +4 -0
  2. package/dist/cdn/{VL3VPK6Z.js → 25HZOQTX.js} +2 -2
  3. package/dist/cdn/{5VLE3SJG.js → 27QGMPZD.js} +2 -2
  4. package/dist/cdn/{XNPV3IB3.js → 2AYISO5D.js} +2 -2
  5. package/dist/cdn/2BZ7PJIL.js +4 -0
  6. package/dist/cdn/{KTCLKKQV.js → 2JGAL4GB.js} +2 -2
  7. package/dist/cdn/2XGFJUCN.js +4 -0
  8. package/dist/cdn/{O2KI7OAN.js → 332M56GM.js} +2 -2
  9. package/dist/cdn/{2CIIM437.js → 33XHOU6V.js} +2 -2
  10. package/dist/cdn/3CVWC6SY.js +4 -0
  11. package/dist/cdn/{U5H3KFO7.js → 3F5JD26W.js} +2 -2
  12. package/dist/cdn/{Z34TFSAK.js → 3FVANFOS.js} +2 -2
  13. package/dist/cdn/3LACCDLK.js +4 -0
  14. package/dist/cdn/{HESTXB4W.js → 3QC256ST.js} +2 -2
  15. package/dist/cdn/3UUAWID3.js +4 -0
  16. package/dist/cdn/{DOAHYWSH.js → 4IFU7RPW.js} +1 -1
  17. package/dist/cdn/4IUBBOAD.js +4 -0
  18. package/dist/cdn/4RJCQGPF.js +4 -0
  19. package/dist/cdn/{C34F3MI2.js → 4UVPS7K2.js} +2 -2
  20. package/dist/cdn/{PTN6JMSD.js → 4VV5DORA.js} +1 -1
  21. package/dist/cdn/{KRNJ6725.js → 4WXELQMS.js} +2 -2
  22. package/dist/cdn/5BI5J562.js +4 -0
  23. package/dist/cdn/{S6OPXP57.js → 5DMDCDZ4.js} +2 -2
  24. package/dist/cdn/5GD5UNTI.js +4 -0
  25. package/dist/cdn/5OFRVFMT.js +4 -0
  26. package/dist/cdn/{TQHWGSEQ.js → 5RIWWNNT.js} +1 -1
  27. package/dist/cdn/{MUAY2ZFD.js → 5V6QTYNK.js} +2 -2
  28. package/dist/cdn/{BTVKBWYL.js → 66ZJOSHQ.js} +2 -2
  29. package/dist/cdn/{AQJMM6PQ.js → 6BM2V4O6.js} +2 -2
  30. package/dist/cdn/{R3FN2YWH.js → 6MYCPXRT.js} +2 -2
  31. package/dist/cdn/{TQU7G77A.js → 6NBVHVRM.js} +2 -2
  32. package/dist/cdn/72TRGWAJ.js +4 -0
  33. package/dist/cdn/7PIIXLVM.js +4 -0
  34. package/dist/cdn/{7KNB6BCT.js → 7TQI2CXA.js} +2 -2
  35. package/dist/cdn/7UNKPVH7.js +4 -0
  36. package/dist/cdn/{AORLOH4J.js → 7WM62IVH.js} +2 -2
  37. package/dist/cdn/{IGVADTNV.js → A54YJTLP.js} +2 -2
  38. package/dist/cdn/A7FU4JAL.js +4 -0
  39. package/dist/cdn/AGFVBD3L.js +4 -0
  40. package/dist/cdn/{6WWUZICV.js → AHGYW7G3.js} +2 -2
  41. package/dist/cdn/{LCPQLW4N.js → APOQ4Q3M.js} +2 -2
  42. package/dist/cdn/{7WL7JFUE.js → ARGYGBP3.js} +2 -2
  43. package/dist/cdn/AT4XALSL.js +4 -0
  44. package/dist/cdn/{YSMOM5ME.js → AVP4PQYR.js} +2 -2
  45. package/dist/cdn/{LRZ4KPRH.js → BE6W3PJV.js} +1 -1
  46. package/dist/cdn/{QX5L2GN7.js → BIJ3T3PI.js} +2 -2
  47. package/dist/cdn/BZNYXZNM.js +4 -0
  48. package/dist/cdn/CAX3OP3N.js +6 -0
  49. package/dist/cdn/{ZZWJPJT4.js → CFXELRNV.js} +2 -2
  50. package/dist/cdn/{RQRNMZRC.js → CHU3NFAE.js} +2 -2
  51. package/dist/cdn/{EK6GYHQW.js → CIL6JPAD.js} +2 -2
  52. package/dist/cdn/{CG5E2OSK.js → CIQO4U2E.js} +2 -2
  53. package/dist/cdn/{WZ5R2GBE.js → CMK5TGPQ.js} +1 -1
  54. package/dist/cdn/COEOU6CR.js +4 -0
  55. package/dist/cdn/{43ZMJSAY.js → CPWGBODJ.js} +2 -2
  56. package/dist/cdn/{XIBEFKZ6.js → D2VHVDGZ.js} +2 -2
  57. package/dist/cdn/D4GARF42.js +4 -0
  58. package/dist/cdn/{6Q3FTC6I.js → EAFL2KMZ.js} +2 -2
  59. package/dist/cdn/{QP6QF7TO.js → ECMVV33O.js} +2 -2
  60. package/dist/cdn/EG4TCGXY.js +4 -0
  61. package/dist/cdn/{7O5HNYLE.js → ERLGCTUZ.js} +2 -2
  62. package/dist/cdn/F3IPPQFJ.js +4 -0
  63. package/dist/cdn/FE6ZJ4SE.js +4 -0
  64. package/dist/cdn/{GKDC255O.js → FMOR2YIZ.js} +2 -2
  65. package/dist/cdn/{DFR5ASOW.js → FSP4NA4P.js} +2 -2
  66. package/dist/cdn/{DOZXKG5J.js → FUC6B4ZL.js} +2 -2
  67. package/dist/cdn/{52ZNPAKG.js → G4AJJHIJ.js} +2 -2
  68. package/dist/cdn/{2KYCZ6HY.js → G66J47YY.js} +2 -2
  69. package/dist/cdn/G6P7D6OB.js +4 -0
  70. package/dist/cdn/{AABHM5IU.js → GLLV62GT.js} +2 -2
  71. package/dist/cdn/{6GB7GIXA.js → GNNPQW7X.js} +2 -2
  72. package/dist/cdn/GRDK45K7.js +4 -0
  73. package/dist/cdn/{MVRWISV7.js → GZUKM3RJ.js} +2 -2
  74. package/dist/cdn/{6BOTXYP6.js → HDPWOBGA.js} +2 -2
  75. package/dist/cdn/{2Q33IXZB.js → HNCWQMEY.js} +2 -2
  76. package/dist/cdn/{SVATWD7C.js → HR2HAGGA.js} +1 -1
  77. package/dist/cdn/HRLNKZKN.js +4 -0
  78. package/dist/cdn/HRPZQQHK.js +4 -0
  79. package/dist/cdn/{IYX7JQCS.js → HZLS7COC.js} +2 -2
  80. package/dist/cdn/ID5FYKBD.js +4 -0
  81. package/dist/cdn/{RFUL7F6Q.js → IDCGW65V.js} +2 -2
  82. package/dist/cdn/{HFN33C3O.js → IEJWBUPO.js} +2 -2
  83. package/dist/cdn/{G5DQS6R3.js → IF3USOPD.js} +2 -2
  84. package/dist/cdn/{MWWXWMZ3.js → INEBJIXD.js} +2 -2
  85. package/dist/cdn/{OULDTBSA.js → IORITAUU.js} +2 -2
  86. package/dist/cdn/J52ECIR4.js +4 -0
  87. package/dist/cdn/{75ABSXHK.js → JJQJONWF.js} +2 -2
  88. package/dist/cdn/{2HIMITPJ.js → JRRAM4VD.js} +2 -2
  89. package/dist/cdn/JSMFOZIK.js +4 -0
  90. package/dist/cdn/{TB6LX2UK.js → KIE6RUUG.js} +2 -2
  91. package/dist/cdn/{AEQ4THFN.js → KRHGYAZ5.js} +2 -2
  92. package/dist/cdn/LDEQSESW.js +4 -0
  93. package/dist/cdn/{ZIYPW7CB.js → LIS5RHP6.js} +2 -2
  94. package/dist/cdn/{R6IXZQL2.js → LKFZBHST.js} +2 -2
  95. package/dist/cdn/LKLGRSBU.js +4 -0
  96. package/dist/cdn/{YDGDTK3Q.js → LP5NAXFX.js} +2 -2
  97. package/dist/cdn/{CS2SKG6L.js → LTANHXIT.js} +2 -2
  98. package/dist/cdn/LYQRTDG6.js +4 -0
  99. package/dist/cdn/M3DIZU2T.js +4 -0
  100. package/dist/cdn/M4DKVZJB.js +4 -0
  101. package/dist/cdn/M6JSF6QW.js +4 -0
  102. package/dist/cdn/{BF4ZUY4Z.js → MLREXGAU.js} +2 -2
  103. package/dist/cdn/{5LJLYRXP.js → MUY2UPBA.js} +2 -2
  104. package/dist/cdn/MXXI5QAL.js +4 -0
  105. package/dist/cdn/{YAFNWOUG.js → MZK5YAN5.js} +2 -2
  106. package/dist/cdn/{X627ILMN.js → N44FVY4K.js} +2 -2
  107. package/dist/cdn/{PDLU3IN5.js → NPSG3MVS.js} +2 -2
  108. package/dist/cdn/NZUIATMA.js +4 -0
  109. package/dist/cdn/{IHDBVR3V.js → O6WNFWDP.js} +2 -2
  110. package/dist/cdn/{M6I4GWPX.js → O7L4DJOG.js} +2 -2
  111. package/dist/cdn/{66Z7CGSI.js → ODHMJ6DI.js} +2 -2
  112. package/dist/cdn/{YY5YAH4F.js → OH3YMTUV.js} +2 -2
  113. package/dist/cdn/{6P554JVC.js → OJ3PFH74.js} +2 -2
  114. package/dist/cdn/{XJQ267Y6.js → OOH6HKRF.js} +2 -2
  115. package/dist/cdn/{HXKLCDWF.js → OSVO2GWO.js} +2 -2
  116. package/dist/cdn/OTRV6XPO.js +4 -0
  117. package/dist/cdn/{AAB5CYMF.js → PBYCQZQD.js} +2 -2
  118. package/dist/cdn/PQRMDCCV.js +4 -0
  119. package/dist/cdn/QHIIX4PM.js +4 -0
  120. package/dist/cdn/QHXRP7HS.js +4 -0
  121. package/dist/cdn/{7BUM6BJN.js → QLFEKZEG.js} +2 -2
  122. package/dist/cdn/QLL2MCOY.js +4 -0
  123. package/dist/cdn/QNAIF4X5.js +4 -0
  124. package/dist/cdn/{WWMV6AFN.js → QQLQ6ZSH.js} +2 -2
  125. package/dist/cdn/{5CTQIA4D.js → R5A6TIHX.js} +2 -2
  126. package/dist/cdn/{3E6Q52LF.js → RHGTW7GR.js} +2 -2
  127. package/dist/cdn/{IRH6JXTV.js → RM3EKBV5.js} +2 -2
  128. package/dist/cdn/{LH7JXFZV.js → RU4L3NLV.js} +2 -2
  129. package/dist/cdn/{5MSKZ3X6.js → SHRU5LBD.js} +2 -2
  130. package/dist/cdn/SQ3ZQJNR.js +4 -0
  131. package/dist/cdn/SRX4G4EV.js +4 -0
  132. package/dist/cdn/T2XT7YWS.js +4 -0
  133. package/dist/cdn/TEIFE3LY.js +4 -0
  134. package/dist/cdn/TEUPQUIC.js +4 -0
  135. package/dist/cdn/TLSMKDSF.js +4 -0
  136. package/dist/cdn/{3XTDYZCX.js → TSWPQA7S.js} +2 -2
  137. package/dist/cdn/{NZOTAYYG.js → UDVKYV4G.js} +2 -2
  138. package/dist/cdn/{LKQS4G43.js → UFEI5KTV.js} +1 -1
  139. package/dist/cdn/UJJYRPTS.js +42 -0
  140. package/dist/cdn/{MAZJEBZX.js → UU3QURAQ.js} +2 -2
  141. package/dist/cdn/{K2TRHPCU.js → UU53DFSK.js} +2 -2
  142. package/dist/cdn/UYXJZG6X.js +4 -0
  143. package/dist/cdn/{5WQDNSG6.js → V665L64E.js} +2 -2
  144. package/dist/cdn/{HIKMPMPH.js → V7LDKI6D.js} +2 -2
  145. package/dist/cdn/{F2NR3K6J.js → VCTPWHDP.js} +2 -2
  146. package/dist/cdn/{24UUJDMB.js → VNPJ2C6V.js} +2 -2
  147. package/dist/cdn/{EJY7M4TB.js → VQ3OIY6U.js} +2 -2
  148. package/dist/cdn/{54LTRZAM.js → VVOMA2WC.js} +2 -2
  149. package/dist/cdn/VX6K556G.js +4 -0
  150. package/dist/cdn/{JE2VQESS.js → VYQENGG3.js} +2 -2
  151. package/dist/cdn/{JGVJ4QZU.js → VYQSBNTL.js} +2 -2
  152. package/dist/cdn/W3ZI3QI3.js +4 -0
  153. package/dist/cdn/W7JLOWCH.js +4 -0
  154. package/dist/cdn/WHA6AQOY.js +4 -0
  155. package/dist/cdn/{56MT7MME.js → WHNERWHH.js} +2 -2
  156. package/dist/cdn/WI7XQQGQ.js +4 -0
  157. package/dist/cdn/WR374TXI.js +4 -0
  158. package/dist/cdn/WWXPQGWV.js +4 -0
  159. package/dist/cdn/X6KPBMU7.js +4 -0
  160. package/dist/cdn/{3PWK2OEA.js → X722FXZQ.js} +2 -2
  161. package/dist/cdn/{UOUSF765.js → XANF6KUE.js} +2 -2
  162. package/dist/cdn/{YUK4R65L.js → XEDCOUTO.js} +2 -2
  163. package/dist/cdn/{J5WOV4L5.js → XL2GH5BU.js} +1 -1
  164. package/dist/cdn/{CBPCNXVK.js → Y6JXL6SB.js} +2 -2
  165. package/dist/cdn/{3ZMUG5W5.js → YCXFNCSZ.js} +1 -1
  166. package/dist/cdn/YD6CJ5QA.js +4 -0
  167. package/dist/cdn/YEE4VNND.js +4 -0
  168. package/dist/cdn/{BHQ2JJ5Y.js → YFCB2747.js} +36 -36
  169. package/dist/cdn/YO7F2HQT.js +4 -0
  170. package/dist/cdn/{7SUFZGMR.js → YVT4P5ZR.js} +2 -2
  171. package/dist/cdn/YYYQTEW4.js +4 -0
  172. package/dist/cdn/{22LMNVZ2.js → Z26J7TTK.js} +2 -2
  173. package/dist/cdn/Z3QXHCIS.js +4 -0
  174. package/dist/cdn/{PXYBVARC.js → ZCABV6MS.js} +2 -2
  175. package/dist/cdn/{53YQYJVG.js → ZHXREOWX.js} +2 -2
  176. package/dist/cdn/{R6JYMGAL.js → ZLSOT6XB.js} +2 -2
  177. package/dist/cdn/{V7W7DXLH.js → ZUKKXIVM.js} +2 -2
  178. package/dist/cdn/{CYZUI6RX.js → ZVENXLPI.js} +2 -2
  179. package/dist/cdn/{D625Q6AO.js → ZWNHR5CT.js} +2 -2
  180. package/dist/cdn/{AVZCQNM7.js → ZZN2FND3.js} +2 -2
  181. package/dist/cdn/index.js +2 -2
  182. package/dist/chart-rendering/common/config-utils/index.d.ts +2 -104
  183. package/dist/chart-rendering/common/data/index.d.ts +3 -2
  184. package/dist/chart-rendering/common/data/utils/misc/index.d.ts +2 -157
  185. package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +4 -1
  186. package/dist/chart-rendering/common/data/utils/summarize-data/time-binning/index.d.ts +2 -2
  187. package/dist/chart-rendering/common/defaults/interfaces.d.ts +2 -1
  188. package/dist/chart-rendering/common/events/index.d.ts +0 -2
  189. package/dist/chart-rendering/common/interfaces.d.ts +12 -3
  190. package/dist/chart-rendering/common/loading-indicator/index.d.ts +4 -0
  191. package/dist/chart-rendering/common/memory-storage/interfaces.d.ts +1 -2
  192. package/dist/chart-rendering/next/chart-library-elements/loading-indicator/index.d.ts +1 -1
  193. package/dist/chart-rendering/next/chart-library-elements/loading-indicator/interfaces.d.ts +0 -4
  194. package/dist/chart-rendering/next/chart-library-elements/series/bar-chart/index.d.ts +1 -1
  195. package/dist/chart-rendering/next/chart-library-elements/series/index.d.ts +1 -1
  196. package/dist/chart-rendering/next/chart-library-elements/series/interfaces.d.ts +1 -1
  197. package/dist/chart-rendering/next/chart-library-elements/series/utils/index.d.ts +3 -4
  198. package/dist/chart-rendering/next/index.d.ts +1 -1
  199. package/dist/chart-rendering/next/utils/index.d.ts +1 -7
  200. package/dist/chart-rendering/stable/chart-library-elements/loading-indicator/index.d.ts +2 -1
  201. package/dist/chart-rendering/stable/chart-library-elements/loading-indicator/interfaces.d.ts +0 -4
  202. package/dist/chart-rendering/stable/chart-library-elements/series/histogram/interfaces.d.ts +1 -1
  203. package/dist/chart-rendering/stable/chart-library-elements/series/interfaces.d.ts +1 -1
  204. package/dist/chart-rendering/stable/chart-library-elements/series/pie-chart/index.d.ts +1 -1
  205. package/dist/chart-rendering/stable/chart-library-elements/series/scatter-plot/interfaces.d.ts +1 -1
  206. package/dist/chart-rendering/stable/index.d.ts +3 -1
  207. package/dist/chart-rendering/stable/interfaces.d.ts +2 -1
  208. package/dist/chart-rendering/stable/utils/misc/index.d.ts +2 -8
  209. package/dist/chunks/action-bar-utils.js +12 -13
  210. package/dist/chunks/axis-model-wrapper.js +1 -1
  211. package/dist/chunks/bar-chart-model.js +22 -13
  212. package/dist/chunks/bar-chart-series.js +21 -12
  213. package/dist/chunks/baseline-stacking.js +49 -40
  214. package/dist/chunks/bg_BG.js +1 -1
  215. package/dist/chunks/bg_BG2.js +1 -1
  216. package/dist/chunks/box-plot-data.js +78 -70
  217. package/dist/chunks/box-plot-model.js +29 -21
  218. package/dist/chunks/chart-ui-utils.js +1 -1
  219. package/dist/chunks/chart-ui-utils2.js +58 -50
  220. package/dist/chunks/combo-bar-line-chart-model.js +22 -13
  221. package/dist/chunks/common.js +1 -1
  222. package/dist/chunks/config-update.js +147 -5391
  223. package/dist/chunks/data.js +2 -2
  224. package/dist/chunks/default.js +1 -1
  225. package/dist/chunks/gauge-model.js +33 -25
  226. package/dist/chunks/heat-chart-model.js +38 -30
  227. package/dist/chunks/histogram-data.js +55 -47
  228. package/dist/chunks/histogram-model.js +19 -11
  229. package/dist/chunks/index.js +27652 -596
  230. package/dist/chunks/index2.js +670 -36
  231. package/dist/chunks/index3.js +90 -63
  232. package/dist/chunks/index4.js +62 -91
  233. package/dist/chunks/interfaces.js +90 -21887
  234. package/dist/chunks/line-chart-model.js +19 -11
  235. package/dist/chunks/model-with-baseline-stacking.js +1 -1
  236. package/dist/chunks/model-with-data-labels.js +30 -21
  237. package/dist/chunks/model-with-multi-axes.js +19 -11
  238. package/dist/chunks/model-with-rotation.js +14 -5
  239. package/dist/chunks/pie-chart-data.js +45 -37
  240. package/dist/chunks/pie-chart-model.js +72 -64
  241. package/dist/chunks/popover-ui-utils.js +1 -1
  242. package/dist/chunks/radar-chart-model.js +18 -10
  243. package/dist/chunks/resource.js +1 -1
  244. package/dist/chunks/rest-js-object-literals.js +1 -1
  245. package/dist/chunks/runtime.js +1 -1
  246. package/dist/chunks/scatterplot-model.js +44 -36
  247. package/dist/chunks/{data2.js → serial-chart-data.js} +283 -278
  248. package/dist/chunks/serial-chart-model.js +44 -35
  249. package/dist/chunks/series-types.js +1 -1
  250. package/dist/chunks/series.js +18 -9
  251. package/dist/chunks/sk_SK.js +1 -1
  252. package/dist/chunks/store.js +1 -1
  253. package/dist/chunks/type-guards.js +1 -1
  254. package/dist/chunks/useT9n.js +1 -1
  255. package/dist/chunks/web-component-utils.js +195 -183
  256. package/dist/components/arcgis-chart/customElement.d.ts +1 -1
  257. package/dist/components/arcgis-chart/customElement.js +6791 -6791
  258. package/dist/components/arcgis-charts-action-bar/customElement.js +16 -8
  259. package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
  260. package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
  261. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +38 -29
  262. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +22 -23
  263. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +29 -22
  264. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +20 -12
  265. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +17 -8
  266. package/dist/components/arcgis-charts-config-box-plot/customElement.js +19 -10
  267. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +47 -38
  268. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +22 -15
  269. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +12 -3
  270. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +18 -9
  271. package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
  272. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +18 -9
  273. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  274. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  275. package/dist/components/arcgis-charts-config-create-flow/customElement.js +43 -36
  276. package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
  277. package/dist/components/arcgis-charts-config-font-style/customElement.js +19 -10
  278. package/dist/components/arcgis-charts-config-format/customElement.js +33 -24
  279. package/dist/components/arcgis-charts-config-format-popover/customElement.js +12 -3
  280. package/dist/components/arcgis-charts-config-general/customElement.js +15 -6
  281. package/dist/components/arcgis-charts-config-guide/customElement.js +29 -30
  282. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +16 -7
  283. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  284. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +20 -11
  285. package/dist/components/arcgis-charts-config-histogram/customElement.js +14 -5
  286. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +22 -13
  287. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +13 -4
  288. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
  289. package/dist/components/arcgis-charts-config-line-chart/customElement.js +24 -15
  290. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +13 -4
  291. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +13 -4
  292. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +35 -26
  293. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +12 -3
  294. package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
  295. package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
  296. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +30 -21
  297. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +13 -4
  298. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +38 -29
  299. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +27 -18
  300. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +12 -3
  301. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +33 -24
  302. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +26 -17
  303. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +13 -4
  304. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +16 -7
  305. package/dist/components/arcgis-charts-config-view-charts/customElement.js +19 -10
  306. package/dist/docs/api.json +3 -3
  307. package/dist/docs/docs.json +5 -5
  308. package/dist/docs/web-types.json +2 -2
  309. package/dist/index.js +424 -407
  310. package/dist/loader.js +1 -1
  311. package/dist/model.js +1 -1
  312. package/dist/utils/chart-config/utils/index.d.ts +255 -3
  313. package/dist/utils/components/config-update.d.ts +19 -14
  314. package/dist/utils/components/data-update.d.ts +33 -0
  315. package/dist/utils/components/web-component-utils.d.ts +8 -2
  316. package/dist/utils/data/interfaces.d.ts +30 -2
  317. package/dist/utils/data/time-binning/interfaces.d.ts +0 -4
  318. package/dist/utils/defaults/index.d.ts +1 -1
  319. package/dist/utils/layer/index.d.ts +6 -11
  320. package/dist/utils/layer/query-features/index.d.ts +2 -2
  321. package/package.json +3 -3
  322. package/dist/cdn/2HCJFTCX.js +0 -4
  323. package/dist/cdn/2W3SVPRK.js +0 -4
  324. package/dist/cdn/34BE47CG.js +0 -4
  325. package/dist/cdn/3FAXGDQG.js +0 -4
  326. package/dist/cdn/4AHQ5SXI.js +0 -4
  327. package/dist/cdn/4K5H4IIC.js +0 -4
  328. package/dist/cdn/4UHZZJIJ.js +0 -4
  329. package/dist/cdn/4Y2HJNTD.js +0 -4
  330. package/dist/cdn/57DL54HK.js +0 -4
  331. package/dist/cdn/5O2H4A2X.js +0 -4
  332. package/dist/cdn/6RBVOBYK.js +0 -4
  333. package/dist/cdn/74FN5PHE.js +0 -4
  334. package/dist/cdn/A5SLMYH4.js +0 -4
  335. package/dist/cdn/ARYJXNZY.js +0 -4
  336. package/dist/cdn/AWWCMSB6.js +0 -4
  337. package/dist/cdn/BILZPN5Z.js +0 -4
  338. package/dist/cdn/C3SO6A2I.js +0 -4
  339. package/dist/cdn/C4OP6FL2.js +0 -4
  340. package/dist/cdn/CE4OHHT6.js +0 -4
  341. package/dist/cdn/CIQUCT5V.js +0 -4
  342. package/dist/cdn/CIZIXCQI.js +0 -4
  343. package/dist/cdn/DAKQGQTK.js +0 -4
  344. package/dist/cdn/DTVDB7XR.js +0 -4
  345. package/dist/cdn/E3OU73RM.js +0 -4
  346. package/dist/cdn/ERTDHAQ2.js +0 -4
  347. package/dist/cdn/F6TI5VZ3.js +0 -4
  348. package/dist/cdn/FPJNPTR2.js +0 -4
  349. package/dist/cdn/G4ODLV5V.js +0 -4
  350. package/dist/cdn/GGXAEV4J.js +0 -4
  351. package/dist/cdn/GLISPNPO.js +0 -4
  352. package/dist/cdn/GU56O5YZ.js +0 -4
  353. package/dist/cdn/HPDUVIFG.js +0 -4
  354. package/dist/cdn/IHRUJZ4V.js +0 -42
  355. package/dist/cdn/IRTPBRMM.js +0 -4
  356. package/dist/cdn/IVAD3MLP.js +0 -4
  357. package/dist/cdn/JC2TOH2N.js +0 -4
  358. package/dist/cdn/KCATM5A6.js +0 -4
  359. package/dist/cdn/KMIQYYPD.js +0 -4
  360. package/dist/cdn/KQNCBAFR.js +0 -4
  361. package/dist/cdn/KRQU2VVH.js +0 -4
  362. package/dist/cdn/LCABMHS3.js +0 -4
  363. package/dist/cdn/LNABTX6W.js +0 -4
  364. package/dist/cdn/LZYHEE3A.js +0 -6
  365. package/dist/cdn/MOOH4R4I.js +0 -4
  366. package/dist/cdn/MTH4ZJMT.js +0 -4
  367. package/dist/cdn/MWFMMCZ2.js +0 -4
  368. package/dist/cdn/N42ZTZTN.js +0 -4
  369. package/dist/cdn/NPZM43GJ.js +0 -4
  370. package/dist/cdn/ODBKMQU5.js +0 -4
  371. package/dist/cdn/OH354KS5.js +0 -4
  372. package/dist/cdn/OWC76L4E.js +0 -4
  373. package/dist/cdn/P4FOVDOK.js +0 -4
  374. package/dist/cdn/P4SZVGSI.js +0 -4
  375. package/dist/cdn/PSIFLLVB.js +0 -4
  376. package/dist/cdn/RAAUIA77.js +0 -4
  377. package/dist/cdn/RVUCITO5.js +0 -4
  378. package/dist/cdn/SEQG6AC3.js +0 -4
  379. package/dist/cdn/TPD4XFBX.js +0 -4
  380. package/dist/cdn/TRWXADFK.js +0 -4
  381. package/dist/cdn/VLN7GOTE.js +0 -4
  382. package/dist/cdn/VSSRAQAB.js +0 -4
  383. package/dist/cdn/VTMJJADU.js +0 -4
  384. package/dist/cdn/W4LTEWOO.js +0 -4
  385. package/dist/cdn/WZV3KQDI.js +0 -4
  386. package/dist/cdn/XHLDGKPF.js +0 -4
  387. package/dist/cdn/YF3F3EB5.js +0 -4
  388. package/dist/cdn/YNXFAFRS.js +0 -4
  389. package/dist/cdn/Z5IFN4LC.js +0 -4
  390. package/dist/cdn/ZZR7VDLV.js +0 -4
  391. package/dist/chart-rendering/common/data/utils/misc/interfaces.d.ts +0 -30
  392. package/dist/chunks/index5.js +0 -66
  393. package/dist/chunks/interfaces2.js +0 -18
  394. package/dist/chunks/interfaces3.js +0 -96
  395. package/dist/chunks/interfaces4.js +0 -491
package/dist/loader.js CHANGED
@@ -2,7 +2,7 @@ import { r as e } from "./chunks/runtime.js";
2
2
  import { makeDefineCustomElements as t } from "@arcgis/lumina";
3
3
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
4
4
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
5
- v5.0.0-next.24 */
5
+ v5.0.0-next.26 */
6
6
  const o = t(e, {
7
7
  "arcgis-chart": [() => import("./components/arcgis-chart/customElement.js"), "actionMode,allowUsingObjectIdStat,autoDisposeChart,autoInverseDataLabelTextColor,chartIndex,chartLimits:,chartWillRender:,cursorRange,dataLabelFormatter:,disableInteractions,disableTogglingLegendItems,enableBetaFeatures,enableConfiguration,enableResponsiveFeatures,errorPolicy,featureIndex,filterByExtent,filterBySelection,gaugeInnerLabelFormatter:,guideTooltipFormatter:,hideEmptySeries,hideLicenseWatermark,hideLoaderAnimation,ignoreSmoothRenderingLimit,ignoreViewExtent,layer:,layerFieldsChangePolicy,layerFilterChangePolicy,layerItemId,layerRendererChangePolicy,legendPosition,legendValueLabelFormatter:,legendVisibility,loaderColors:,model:,nullAsValid,placeholder,queueChartCreation,replaceNoValueCategoryWithZero,returnFeaturesExtent,returnSelectionIndexes,returnSelectionOIDs,rotation,runtimeDataFilters:,secondaryYAxisLabelFormatter:,selectionData:,selectionTheme:,setTimeBinningInfoWhenNotProvided,showUIMessages,syncSelection,syncSelectionsBetweenChartAndLayerViewPolicy,timeZone,tooltipFormatter:,updateSplitBySeries:,useAnimatedCharts,usePopupTemplateFieldsInfo,view:,viewTimeExtentChangePolicy,xAxisLabelFormatter:,yAxisLabelFormatter:;clearSelection,errorAlert,exportAsCSV,exportAsImage,loadModel,notify,refresh,resetZoom,switchSelection"],
8
8
  "arcgis-charts-action-bar": [() => import("./components/arcgis-charts-action-bar/customElement.js"), "actionBarSelectionMode,chartElement:,chartType,clearSelectionState,clearSelectionTitle,clearSelectionToggle,disableCSVExportForChartTypes:,editChartState,editChartTitle,editChartToggle,expanded,exportActionState,exportAsCSVState,exportAsCSVTitle,exportAsImageState,exportAsImageTitle,filterByExtentState,filterByExtentTitle,filterByExtentToggle,filterBySelectionState,filterBySelectionTitle,filterBySelectionToggle,forceDisableActions,fullExtentState,fullExtentTitle,fullExtentToggle,hiddenActions:,legendState,legendTitle,legendToggle,messageOverrides:,rotateChartState,rotateChartTitle,rotateChartToggle,selectionState,selectionTitle,selectionToggle,switchSelectionState,switchSelectionTitle,switchSelectionToggle,zoomState,zoomTitle,zoomToggle"],
package/dist/model.js CHANGED
@@ -4,7 +4,7 @@ import { s as r, t as s, u as n } from "./chunks/type-guards.js";
4
4
  import { a as B, e as P, i as S, g as x, b as W, r as v, h as G, l as K, m as D, p as F, j as H, k as O, q as R, n as A, o as E, d as X, f as Y, c as $ } from "./chunks/type-guards.js";
5
5
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
6
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
7
- v5.0.0-next.24 */
7
+ v5.0.0-next.26 */
8
8
  async function c(t) {
9
9
  const o = "config" in t ? r(t.config) : t.chartType;
10
10
  let a;
@@ -1,6 +1,9 @@
1
- import { WebChart, WebChartSeriesType, RESTSymbolType, WebChartTypes, WebChartVersionStatus } from '../../../spec';
1
+ import { IField, TimeIntervalInfo, WebBoxPlot, WebChart, WebChartSeriesType, RESTSymbolType, WebChartTypes, WebChartVersionStatus } from '../../../spec';
2
+ import { LimitBehavior } from '../../defaults/interfaces';
2
3
  import { ChartSubType } from '../../misc/interfaces';
3
4
  import { WebChartSeriesSupportingTemporalBinning } from './interfaces';
5
+ import { ChartOptions } from '../../../chart-rendering/common/interfaces';
6
+ import { DataUpdateDetails } from '../../data/interfaces';
4
7
  /**
5
8
  * Retrieve and construct chart version information based on the input version and the currently supported ArcGIS Chart versions
6
9
  * defined in `chartConfigVersions`. Returned information includes:
@@ -124,15 +127,264 @@ export declare function isSeriesUsingTimeBinning(props: {
124
127
  * @param series The series to test
125
128
  */
126
129
  export declare function doesSeriesSupportTemporalBinning(series: WebChartSeriesType): series is WebChartSeriesSupportingTemporalBinning;
130
+ /**
131
+ * Compares the queries from two configs and indicates whether a query changed. Noted that the query comparison
132
+ * includes the orderByFields from the orderOptions.
133
+ *
134
+ * A sort on the series is made before comparing to prevent a false positive on query reorder.
135
+ *
136
+ * @param props.previousConfig The former chart config
137
+ * @param props.newConfig The new chart config
138
+ * @param props.behaviorAfterLimit The chart's behavior once the data limit is reached
139
+ */
140
+ declare function hasQueryChanged(props: {
141
+ previousConfig: WebChart;
142
+ newConfig: WebChart;
143
+ behaviorAfterLimit?: LimitBehavior;
144
+ }): boolean;
127
145
  /**
128
146
  * Compares two config data filters and returns true if they are identical, false otherwise
129
147
  *
130
- * @param oldConfig
148
+ * @param previousConfig
149
+ * @param newConfig
150
+ */
151
+ export declare function hasConfigFilterChanged(previousConfig: WebChart, newConfig: WebChart): boolean;
152
+ /**
153
+ * Indicates whether the filter by selection was enabled or disabled
154
+ * @param previousFilterBySelection The previous valued for the filter by selection
155
+ * @param options The runtime options containing the new value for the filter by selection
156
+ */
157
+ declare function hasFilterBySelectionChanged(previousFilterBySelection?: boolean, options?: ChartOptions): boolean;
158
+ /**
159
+ * Compares the `binTemporalData` property from two configs and returns true if they are identical, false otherwise
160
+ *
161
+ * @param previousConfig
131
162
  * @param newConfig
132
163
  */
133
- export declare function hasConfigFilterChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
164
+ declare function hasBinTemporalDataChanged(previousConfig: WebChart, newConfig: WebChart): boolean;
165
+ /**
166
+ * Indicates whether a change of value format type requires new data. Two cases require it:
167
+ * - change from date format to numeric format
168
+ * - specific to non aggregated charts: change from category format to value format
169
+ *
170
+ * @param previousConfig The former chart config
171
+ * @param newConfig The new chart config
172
+ */
173
+ declare function isNewDataRequiredForValueFormatChange(previousConfig: WebBoxPlot | WebChart, newConfig: WebBoxPlot | WebChart): boolean;
174
+ /**
175
+ * Compares the `showMean` from two configs and indicates whether they are different
176
+ *
177
+ * @param previousConfig The former chart config
178
+ * @param newConfig The new chart config
179
+ */
180
+ declare function hasShowMeanChanged(previousConfig: WebBoxPlot | WebChart, newConfig: WebBoxPlot | WebChart): boolean;
181
+ /**
182
+ * Compares two gauge configs and indicates whether the series value conversion changed
183
+ *
184
+ * @param previousConfig The previous config
185
+ * @param newConfig The updated config
186
+ */
187
+ declare function hasGaugeValueConversionChanged(previousConfig: WebChart, newConfig: WebChart): boolean;
188
+ /**
189
+ * Compares two heat chart configs to see if binning has changed
190
+ *
191
+ * @param previousConfig The previous config
192
+ * @param newConfig The updated config
193
+ */
194
+ declare function hasHeatChartBinningChanged(previousConfig: WebChart, newConfig: WebChart): boolean;
195
+ /**
196
+ * Compares two configs and indicates whether additional tooltip fields (only non-numeric) changed
197
+ *
198
+ * **NOTE**: (only for scatterplot)
199
+ *
200
+ * @param {WebChart} props.previousConfig The previous config
201
+ * @param {WebChart} props.newConfig The updated config
202
+ * @param {IField[]|undefined} props.fieldList The layer field list
203
+ */
204
+ export declare function hasAdditionalTooltipFieldsChanged(props: {
205
+ previousConfig: WebChart;
206
+ newConfig: WebChart;
207
+ fieldList?: IField[];
208
+ }): boolean;
209
+ /**
210
+ * Compares two configs and indicates whether the color type change
211
+ *
212
+ * @param oldConfig The previous config
213
+ * @param newConfig The updated config
214
+ */
215
+ export declare function hasColorMatchChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
216
+ /**
217
+ * Compares two configs and indicates whether the legend visibilty changed
218
+ *
219
+ * @param oldConfig The previous config
220
+ * @param newConfig The updated config
221
+ */
222
+ export declare function hasHeatLegendConfigChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
223
+ /**
224
+ * Compares two configs and indicates whether the gradient rules changed
225
+ *
226
+ * @param oldConfig The previous config
227
+ * @param newConfig The updated config
228
+ */
229
+ export declare function hasGradientRulesChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
230
+ /**
231
+ * Compares the 'slices' array from the pie series, and indicates whether they are different.
232
+ * Compare only the slices id and label to avoid false positives.
233
+ *
234
+ * @param props.oldConfig The previous chart config
235
+ * @param props.newConfig The newest chart config
236
+ */
237
+ export declare function hasSlicesConfigChanged(props: {
238
+ oldConfig: WebChart;
239
+ newConfig: WebChart;
240
+ }): boolean;
241
+ export declare function hasDataForFilterBySelectionChanged(props: {
242
+ currentSelectionOIDs?: number[];
243
+ options?: ChartOptions;
244
+ }): boolean;
245
+ /**
246
+ * Compares the split by value for each series element in the box plot config and returns true if the series has different split by value between new and old box plot config, false otherwise.
247
+ *
248
+ * @param oldSeries The former series config
249
+ * @param newSeries The new series config
250
+ */
251
+ export declare function hasSplitByValueChanged(oldSeries: WebChart["series"], newSeries: WebChart["series"]): boolean;
252
+ /**
253
+ * Verify if the order of the numeric fields has changed
254
+ *
255
+ * @param oldSeries - The previous series config
256
+ * @param newSeries - The new series config
257
+ */
258
+ export declare function hasNumericFieldsChanged(oldSeries: WebChart["series"], newSeries: WebChart["series"]): boolean;
259
+ /**
260
+ * Returns true when the time interval info was set previously and are not in the new config
261
+ *
262
+ * @param oldConfig the old chart config
263
+ * @param newConfig the new chart config
264
+ */
265
+ export declare function hasTimeIntervalInfoBeenReset(oldConfig: WebChart, newConfig: WebChart): boolean;
266
+ /**
267
+ * Returns true when the dual axis feature was enabled or disabled (number of axes changed)
268
+ *
269
+ * @param oldConfig the old chart config
270
+ * @param newConfig the new chart config
271
+ */
272
+ export declare function hasDualAxisChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
273
+ /**
274
+ * Returns true when the series are not associated to the same axis anymore
275
+ *
276
+ * @param oldConfig the old chart config
277
+ * @param newConfig the new chart config
278
+ */
279
+ export declare function hasSeriesAxisChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
280
+ /**
281
+ * Returns true when at least one guide's 'above' property changed from an update to another.
282
+ *
283
+ * @param oldConfig The old chart config
284
+ * @param newConfig The new chart config
285
+ * @returns
286
+ */
287
+ export declare function hasAnyGuideAboveChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
288
+ /**
289
+ * Returns true if the rotated property changed since the previous update.
290
+ *
291
+ * @param oldConfig the old chart config
292
+ * @param newConfig the new chart config
293
+ */
294
+ export declare function hasRotationChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
295
+ /**
296
+ * Returns true if the rotated property changed since the previous update.
297
+ *
298
+ * @param oldConfig the old chart config
299
+ * @param newConfig the new chart config
300
+ */
301
+ export declare function hasOutliersVisibilityChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
302
+ /**
303
+ * Returns true if the 'standardizeValues' property changed in the chart config since the previous update.
304
+ *
305
+ * @param oldConfig the old chart config
306
+ * @param newConfig the new chart config
307
+ */
308
+ export declare function hasStandardizeValuesVisibilityChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
309
+ /**
310
+ * Returns true if the 'chartRenderer' property changed in the chart config since the previous update.
311
+ *
312
+ * @param oldConfig the old chart config
313
+ * @param newConfig the new chart config
314
+ */
315
+ export declare function hasChartRendererChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
316
+ /**
317
+ * Returns true if the 'timeZone' property from the axis value format changed in the chart config since the previous update.
318
+ *
319
+ * @param oldConfig the old chart config
320
+ * @param newConfig the new chart config
321
+ */
322
+ export declare function hasIntlTimeZoneChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
323
+ /**
324
+ * Function saying if a data update is needed. We compare different properties from the former config and the new one
325
+ * in order to decide if the update is needed.
326
+ *
327
+ * @param props
328
+ */
329
+ export declare function doesConfigChangeRequireNewData(props: {
330
+ previousConfig: WebBoxPlot | WebChart;
331
+ newConfig: WebBoxPlot | WebChart;
332
+ options?: ChartOptions;
333
+ previousFilterBySelection?: boolean;
334
+ previousTimeIntervalInfo?: TimeIntervalInfo;
335
+ currentSelectionOIDs?: number[];
336
+ fieldList?: IField[];
337
+ }): {
338
+ dataUpdateNeeded: boolean;
339
+ dataUpdateDetails: DataUpdateDetails;
340
+ };
341
+ /**
342
+ * Determines if any of the series' name has changed between the previous and the new configs.
343
+ *
344
+ * The order of the series is preserved when comparing for changes.
345
+ *
346
+ * @param oldConfig The previous chart config
347
+ * @param newConfig The new chart config
348
+ * @returns
349
+ */
350
+ declare function hasConfigSeriesNamesChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
351
+ /**
352
+ * Determines if the series order has changed between the old and the new configs.
353
+ *
354
+ * @param oldConfig The previous chart config
355
+ * @param newConfig The new chart config
356
+ * @returns
357
+ */
358
+ declare function hasSeriesOrderChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
359
+ /**
360
+ * Determines whether a sort by series is needed.
361
+ * A sort by series is needed when either the series order has changed or any of the series names have changed.
362
+ *
363
+ * @param oldConfig The previous chart config.
364
+ * @param newConfig The new chart config.
365
+ * @returns
366
+ */
367
+ export declare function isSortBySeriesNeeded(oldConfig: WebChart, newConfig: WebChart): boolean;
368
+ /**
369
+ * Sorts the series in the config based on the series sort options.
370
+ * When no sort option is provide, no sorting is performed.
371
+ *
372
+ * @param chartConfig The optional chart config to sort the series
373
+ * @param chartContainer The HTML chart container
374
+ * @returns The updated chart config with the series sorted, or undefined if the input config is undefined
375
+ */
376
+ export declare function sortConfigSeries<T extends WebChart | undefined>(chartConfig: T, chartContainer?: HTMLElement): T;
134
377
  export declare const chartConfigUtilsPrivateFunctions: {
135
378
  getPieChartChartSubType: typeof getPieChartChartSubType;
136
379
  getBarLineChartSubType: typeof getBarLineChartSubType;
380
+ hasQueryChanged: typeof hasQueryChanged;
381
+ hasFilterBySelectionChanged: typeof hasFilterBySelectionChanged;
382
+ hasBinTemporalDataChanged: typeof hasBinTemporalDataChanged;
383
+ hasGaugeValueConversionChanged: typeof hasGaugeValueConversionChanged;
384
+ isNewDataRequiredForValueFormatChange: typeof isNewDataRequiredForValueFormatChange;
385
+ hasShowMeanChanged: typeof hasShowMeanChanged;
386
+ hasHeatChartBinningChanged: typeof hasHeatChartBinningChanged;
387
+ hasSeriesOrderChanged: typeof hasSeriesOrderChanged;
388
+ hasConfigSeriesNamesChanged: typeof hasConfigSeriesNamesChanged;
137
389
  };
138
390
  export {};
@@ -1,3 +1,4 @@
1
+ import { default as Graphic } from '@arcgis/core/Graphic';
1
2
  import { default as FeatureLayerView } from '@arcgis/core/views/layers/FeatureLayerView';
2
3
  import { ChartOptions } from '../../chart-rendering/common/interfaces';
3
4
  import { ArcgisChart } from '../../components/arcgis-chart/customElement.js';
@@ -36,19 +37,23 @@ export declare function resetAxesBounds(config?: WebChart): WebChart | undefined
36
37
  */
37
38
  export declare function isValidDataSource(config?: WebChart, layer?: FeatureLayerView | SupportedLayer): boolean;
38
39
  /**
39
- * Will add missing series to the chart config if:
40
- * - the config uses a split-by field
41
- * - adding missing series was requested (through the `updateSplitBySeries` property)
42
- * - unique values for the given split-by field don't have a series associated
43
- *
44
- * @param props.component The chart component
45
- * @param props.options The runtime options
46
- * @param props.config The chart config
47
- * @param props.queryObject The query object (layer or feature layer view)
40
+ * Alters the providing config to prepare it for rendering:
41
+ * - add the iLayer if missing
42
+ * - convert it to the latest version
43
+ * @param props.configToAlter The config to alter
44
+ * @param props.layer The component's layer
48
45
  */
49
- export declare function addMissingSplitBySeries(props: {
50
- component: ArcgisChart;
51
- config: WebChart | undefined;
52
- options: ChartOptions;
46
+ export declare function prepareConfigForRendering(props: {
47
+ creation: boolean;
48
+ configToAlter: WebChart | undefined;
49
+ chartContainer?: HTMLElement;
53
50
  queryObject: QueryObject;
54
- }): Promise<void>;
51
+ options: ChartOptions;
52
+ previousConfig?: WebChart | undefined;
53
+ updateSplitBySeries: ArcgisChart["updateSplitBySeries"];
54
+ addMissingSeries: boolean;
55
+ layer: ArcgisChart["layer"];
56
+ }): Promise<{
57
+ alteredConfig: ArcgisChart["config"];
58
+ preFetchedQueryResponse?: Graphic[];
59
+ }>;
@@ -0,0 +1,33 @@
1
+ import { IField, WebChart } from '../../spec';
2
+ import { DataUpdateDetails } from '../data/interfaces';
3
+ import { ArcgisChart } from '../../components/arcgis-chart/customElement.js';
4
+ import { ChartOptions } from '../../chart-rendering/common/interfaces';
5
+ /**
6
+ * Indicates whether a data update is needed based on the changed properties.
7
+ * Checks for:
8
+ * - specific properties that require a data update when changed,
9
+ * - change of layer type (FeatureLayer to FeatureLayerView or vice-versa),
10
+ * - changes in the config that require a data update.
11
+ * @param props.config The current chart config
12
+ * @param props.previousConfig The previous chart config
13
+ * @param props.dataUpdateNeededProps The list of properties that require a data update when changed
14
+ * @param props.updatedProps A map of the properties that have been updated with their old and new values
15
+ * @param props.filterBySelection The current filterBySelection value
16
+ * @param props.chartData The current chart data
17
+ * @param props.options The current chart options
18
+ * @param props.fieldList The list of fields in the layer or feature layer view
19
+ * @returns
20
+ */
21
+ export declare function isDataUpdateNeeded(props: {
22
+ config: WebChart | undefined;
23
+ previousConfig: WebChart | undefined;
24
+ dataUpdateNeededProps: ArcgisChart["dataUpdateNeededProps"];
25
+ updatedProps: ArcgisChart["updatedProps"];
26
+ filterBySelection: ArcgisChart["filterBySelection"];
27
+ chartData: ArcgisChart["chartData"];
28
+ options: ChartOptions;
29
+ fieldList: IField[];
30
+ }): {
31
+ dataUpdateNeeded: boolean;
32
+ dataUpdateDetails: DataUpdateDetails | undefined;
33
+ };
@@ -1,9 +1,9 @@
1
+ import { default as FeatureLayerView } from '@arcgis/core/views/layers/FeatureLayerView.js';
1
2
  import { CSVOptions } from '../../interfaces';
2
3
  import { ModelTypes } from '../../model';
3
4
  import { IField, SupportedLayer } from '../../spec';
4
- import { ChartConfig } from '../types';
5
- import { default as FeatureLayerView } from '@arcgis/core/views/layers/FeatureLayerView.js';
6
5
  import { SupportedLocalesForFormats } from '../localization/interfaces';
6
+ import { ChartConfig } from '../types';
7
7
  /**
8
8
  * A utility function to compare if a value has changed deeply.
9
9
  * @param value
@@ -97,3 +97,9 @@ export declare function transformBoxPlotData<T extends Record<string, unknown>>(
97
97
  * @param {unknown} date - The date to check, should be a string or a number.
98
98
  */
99
99
  export declare const isValidDate: (date: unknown) => date is Date | number | string;
100
+ /**
101
+ * Returns a unique ID associated to a chart
102
+ *
103
+ * @param key A unique identifying the chart
104
+ */
105
+ export declare function getChartUniqueInternalID(key: string): string;
@@ -1,7 +1,6 @@
1
1
  import { WebChartDataTypes, WebChartQuery } from '../../spec';
2
2
  import { DataWarningKeywords } from '../chart-config/validator/interfaces';
3
3
  import { ChartSubType } from '../misc/interfaces';
4
- import { BinnedServerData } from './time-binning/interfaces';
5
4
  export interface DataMinMax {
6
5
  minY: number;
7
6
  maxY: number;
@@ -13,7 +12,6 @@ export interface DataInfo {
13
12
  invalidType?: DataWarningKeywords;
14
13
  count?: number;
15
14
  data?: WebChartDataTypes;
16
- binnedServerData?: BinnedServerData;
17
15
  queryConfig?: WebChartQuery;
18
16
  }
19
17
  export declare const BoxPlotYFieldKeys: {
@@ -37,3 +35,33 @@ export interface BoxPlotYValueProps {
37
35
  showOutliers?: boolean;
38
36
  standardizeValues?: boolean;
39
37
  }
38
+ export interface DataUpdateDetails {
39
+ common: {
40
+ queryChanged: boolean;
41
+ xOrYChanged: boolean;
42
+ numberOfSeriesChanged: boolean;
43
+ configFiltersChanged: boolean;
44
+ filterBySelectionChanged: boolean;
45
+ dataForFilterBySelectionChanged: boolean;
46
+ binTemporalDataChanged: boolean;
47
+ timeBinningChanged: boolean;
48
+ timeIntervalUnitChanged: boolean;
49
+ newTimeBinningWillBeCalculated: boolean;
50
+ valueFormatChangeRequiresNewData: boolean;
51
+ };
52
+ histogram: {
53
+ dataPropsChanged: boolean;
54
+ };
55
+ gauge: {
56
+ valueConversionChanged: boolean;
57
+ };
58
+ boxPlot: {
59
+ showMeanChanged: boolean;
60
+ };
61
+ heatChart: {
62
+ binningChanged: boolean;
63
+ };
64
+ scatterPlot: {
65
+ tooltipFieldsChanged: boolean;
66
+ };
67
+ }
@@ -14,10 +14,6 @@ export interface TimeBinningStatistics {
14
14
  dateRange: DateRange;
15
15
  numberOfFeatures: number;
16
16
  }
17
- export interface BinnedServerData {
18
- data: WebChartDataItem[];
19
- timeBinningStats: TimeBinningStatistics;
20
- }
21
17
  export interface GroupProps {
22
18
  binFirstOrLastIndex: number;
23
19
  data: WebChartDataItem[];
@@ -1,6 +1,6 @@
1
1
  import { CategoryFormatOptions, Color, DateTimeFormatOptions, HistogramOverlays, IFont, ISimpleFillSymbol, ISimpleLineSymbol, ISimpleMarkerSymbol, NumberFormatOptions, ScatterplotOverlays, SizePolicy, WebBoxPlot, WebChart, WebChartAxis, WebChartBarChartSeries, WebChartBoxPlotSeries, WebChartCursorCrosshair, WebChartGaugeAxis, WebChartGaugeSeries, WebChartHeatChartSeries, WebChartHistogramSeries, WebChartLegend, WebChartLineChartSeries, WebChartNeedle, WebChartOverlay, WebChartPieChartSeries, WebChartPieChartTick, WebChartRadarChartSeries, WebChartScatterplotSeries, WebChartText, WebChartTextSymbol, WebGaugeChart, WebChartStackedKinds, WebChartTypes } from '../../spec';
2
- import { ChartElementLimit, ChartElementTechnicalLimit, ChartTextProps, QueryDefaults, TextElements } from './interfaces';
3
2
  import { CommonStrings } from '../localization/interfaces';
3
+ import { ChartElementLimit, ChartElementTechnicalLimit, ChartTextProps, QueryDefaults, TextElements } from './interfaces';
4
4
  export declare const histogramBinCount = 32;
5
5
  export declare const featuresExtentField = "arcgis_charts_features_extent";
6
6
  export declare const queryDefaults: QueryDefaults;
@@ -218,22 +218,18 @@ export declare function extractFieldsUsedInConfig(config: WebChart, layer: Suppo
218
218
  */
219
219
  export declare function extractFieldsFromConfigList(layer: SupportedLayer): Promise<string[]>;
220
220
  /**
221
- * Finds the matching layer in the view based on the provided layer.
222
- * The matching is done based on the portalItem id or the url.
221
+ * Finds the matching layer in the view based on the provided layer's portal item id.
222
+ * The matching is done based on the portalItem id.
223
223
  * If no matching layer is found, returns `undefined`.
224
224
  * @param {__esri.MapView | __esri.SceneView | undefined} props.view The map or scene view
225
- * @param {FeatureLayerView | SupportedLayer | undefined} props.layer The feature layer or feature layer view
226
- * @param {string | undefined} props.portalItemId The portal item id of the layer
225
+ * @param {string} props.portalItemId The portal item id of the layer
227
226
  *
228
- * @returns {FeatureLayerView | SupportedLayer | undefined} The matching layer in the view or the provided layer
227
+ * @returns {FeatureLayerView | SupportedLayer | undefined} The matching layer in the view or undefined if not found
229
228
  *
230
229
  * @requires
231
230
  * - view
232
- * - layer or portalItemId
231
+ * - portalItemId
233
232
  *
234
- * @example
235
- * ```ts
236
- * const matchingLayer = findMatchingLayerFromView({ view, layer: featureLayer });
237
233
  * ```
238
234
  *
239
235
  * @example
@@ -245,8 +241,7 @@ export declare function extractFieldsFromConfigList(layer: SupportedLayer): Prom
245
241
  */
246
242
  export declare function findMatchingLayerFromView(props: {
247
243
  view?: __esri.MapView | __esri.SceneView;
248
- layer?: FeatureLayerView | SupportedLayer;
249
- portalItemId?: string;
244
+ portalItemId: string;
250
245
  }): FeatureLayerView | SupportedLayer | undefined;
251
246
  export declare const layerPrivateFunctions: {
252
247
  getServerRestInfo: typeof getServerRestInfo;
@@ -1,4 +1,4 @@
1
- /// <reference types="@arcgis/core/interfaces.d.ts" />
1
+ import { default as AttributeBinsGraphic } from '@arcgis/core/AttributeBinsGraphic.js';
2
2
  import { default as AttributeBinsFeatureSet } from '@arcgis/core/rest/support/AttributeBinsFeatureSet.js';
3
3
  import { WebBoxPlot, WebChart, WebChartDataItem, WebChartQuery, WebChartTemporalBinning, WebHeatChart } from '../../../spec';
4
4
  import { ErrorStrings } from '../../localization/interfaces';
@@ -169,4 +169,4 @@ export declare function queryAttributeBinsForTemporalData(props: {
169
169
  dateField: string;
170
170
  splitByField?: string;
171
171
  abortKey?: AbortControllerKeyType;
172
- }): Promise<__esri.AttributeBinsGraphic[]>;
172
+ }): Promise<AttributeBinsGraphic[]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/charts-components",
3
- "version": "5.0.0-next.24",
3
+ "version": "5.0.0-next.26",
4
4
  "description": "Reusable ArcGIS charting Web Components.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -28,8 +28,8 @@
28
28
  "dependencies": {
29
29
  "@amcharts/amcharts4": "^4.10.31",
30
30
  "@amcharts/amcharts5": "~5.14.1",
31
- "@arcgis/lumina": "5.0.0-next.24",
32
- "@arcgis/toolkit": "5.0.0-next.24",
31
+ "@arcgis/lumina": "5.0.0-next.26",
32
+ "@arcgis/toolkit": "5.0.0-next.26",
33
33
  "ajv": "6.12.6",
34
34
  "d3-array": "^3.2.1",
35
35
  "d3-shape": "^3.2.0",
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.24 */
4
- import c from"./75ABSXHK.js";import b from"./ODBKMQU5.js";import{c as W,d as q}from"./AVZCQNM7.js";import a from"./IHRUJZ4V.js";import{f as E,w as h}from"./DOAHYWSH.js";import{c as C,d as A}from"./TQHWGSEQ.js";import{i as g}from"./WZ5R2GBE.js";import{a as _,p as S}from"./LRZ4KPRH.js";import{G as N,z as B}from"./LKQS4G43.js";export default $arcgis.t(([,,,,,,,,{G:x,I:d,J:X,K:m,L:R,R:P,Za:H,ic:j,jb:Y,kc:$,ob:Z,q:s},{A:he,B:de,C:pe,D:ue,E:F,F:L,Fa:Be,G:xe,Ga:Ne,H:me,Ha:Ee,I:ve,Ia:Xe,J:be,Ja:Re,K:ye,L:we,M:T,N:I,O:O,P:U,Q:ze,R:_e,S:Se,T:Ce,U:Ae,V:ke,W:Fe,X:Le,Y:Te,Z:Ie,d:p,e:v,f:K,j:a,k:Q,l:J,m:ee,ma:y,n:te,o:ie,oa:Oe,p:ce,pa:Ue,q:b,qa:Ve,r:ae,ra:Ge,s:re,sa:Me,t:oe,ta:De,u:k,v:ne,w:le,x:se,y:ge,z:fe},Pe])=>{var Ke="calcite-mode-auto",Qe="calcite-mode-dark";function He(){let{classList:i}=document.body,e=window.matchMedia("(prefers-color-scheme: dark)").matches,t=()=>i.contains(Qe)||i.contains(Ke)&&e?"dark":"light",c=l=>document.body.dispatchEvent(new CustomEvent("calciteModeChange",{bubbles:!0,detail:{mode:l}})),o=l=>{r!==l&&c(l),r=l},r=t();c(r),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",l=>o(l.matches?"dark":"light")),new MutationObserver(()=>o(t())).observe(document.body,{attributes:!0,attributeFilter:["class"]})}var u=globalThis.calciteConfig,$t=u?.focusTrapStack||[],Wt=u?.logLevel||"info",Ye="3.3.3",Je="2025-10-08",et="7391af08e";function tt(){if(u&&u.version)return;console.info(`Using Calcite Components ${Ye} [Date: ${Je}, Revision: ${et}]`);let i=u||globalThis.calciteConfig||{};Object.defineProperty(i,"version",{value:Ye,writable:!1}),globalThis.calciteConfig=i}document.readyState==="interactive"?He():document.addEventListener("DOMContentLoaded",He,{once:!0});queueMicrotask(tt);var it=B({defaultAssetPath:"https://js.arcgis.com/calcite-components/3.3.3/",hydratedAttribute:"calcite-hydrated"}),{customElement:qt,getAssetPath:V,setAssetPath:ct}=it;var at=i=>i.title?.content,rt=(i,e)=>{if(i){let t=b(e);e.title===void 0&&(e.title=m({text:"",visible:!0,font:d(s.ChartTitle),type:s.ChartTitle})),e.title.content=i,e.title.content.text=t}},ot=i=>i.subtitle?.content,nt=(i,e)=>{if(i){let t=b(e);e.subtitle===void 0&&(e.subtitle=m({text:"",visible:!0,font:d(s.ChartSubtitle),type:s.ChartSubtitle})),e.subtitle.content=i,e.subtitle.content.text=t}},lt=i=>i.footer?.content,st=(i,e)=>{if(i){let t=k(e);e.footer===void 0&&(e.footer=m({text:"",visible:!0,font:d(s.DescriptionText),type:s.DescriptionText})),e.footer.content=i,e.footer.content.text=t}},gt=i=>i.background,ft=(i,e)=>{e.background=i},w=class extends EventTarget{constructor(){super(...arguments),this.dirtyAsyncSetters=[],this.asyncConfigUpdateInProgress=!1,this.dataStore={},this.setupFinished=new Promise(e=>{this.resolveSetup=e})}isSameChartAs(e){let t=e?.layer;return t!==void 0&&this._config.id===e?.chartId&&this.layerInfo?.layer.id===t.id}get config(){return this._config}set config(e){this.guardSetterFromAsyncOverwrite(()=>{this._config=e,this.emitConfigUpdate("config")})}get chartType(){return this._chartType}get layer(){return this.layerInfo?.layer}get chartId(){return this._config.id}set chartId(e){this._config.id=e}get version(){return ce(this._config)}get titleText(){return b(this._config)}set titleText(e){this.guardSetterFromAsyncOverwrite(()=>{ae(e,this._config),this.emitConfigUpdate("titleText")})}get subtitleText(){return re(this._config)}set subtitleText(e){this.guardSetterFromAsyncOverwrite(()=>{oe(e,this._config),this.emitConfigUpdate("subtitleText")})}get descriptionText(){return k(this._config)}set descriptionText(e){this.guardSetterFromAsyncOverwrite(()=>{ne(e,this._config),this.emitConfigUpdate("descriptionText")})}get chartTitleVisibility(){return le(this._config)}set chartTitleVisibility(e){this.guardSetterFromAsyncOverwrite(()=>{se(e,this._config),this.emitConfigUpdate("chartTitleVisibility")})}get chartSubtitleVisibility(){return ge(this._config)}set chartSubtitleVisibility(e){this.guardSetterFromAsyncOverwrite(()=>{fe(e,this._config),this.emitConfigUpdate("chartSubtitleVisibility")})}get descriptionVisibility(){return he(this._config)}set descriptionVisibility(e){this.guardSetterFromAsyncOverwrite(()=>{de(e,this._config),this.emitConfigUpdate("descriptionVisibility")})}get chartRenderer(){return pe(this._config)}set chartRenderer(e){this.guardSetterFromAsyncOverwrite(()=>{ue(e,this._config),this.emitConfigUpdate("chartRenderer")})}get titleSymbol(){return at(this._config)}set titleSymbol(e){this.guardSetterFromAsyncOverwrite(()=>{rt(e,this._config),this.emitConfigUpdate("titleSymbol")})}get subtitleSymbol(){return ot(this._config)}set subtitleSymbol(e){this.guardSetterFromAsyncOverwrite(()=>{nt(e,this._config),this.emitConfigUpdate("subtitleSymbol")})}get descriptionSymbol(){return lt(this._config)}set descriptionSymbol(e){this.guardSetterFromAsyncOverwrite(()=>{st(e,this._config),this.emitConfigUpdate("descriptionSymbol")})}get backgroundColor(){return gt(this._config)}set backgroundColor(e){this.guardSetterFromAsyncOverwrite(()=>{ft(e,this._config),this.emitConfigUpdate("backgroundColor")})}getSeriesVisibility(e){return Ge(e,this._config)}setSeriesVisibility(e){this.guardSetterFromAsyncOverwrite(()=>{H({detail:e},this._config),this.emitConfigUpdate("setSeriesVisibility")})}getSeriesId(e){return Oe(e,this._config)}getSeriesIndex(e){return Ue(e,this._config)}get seriesLength(){return Ve(this._config)}get chartSubType(){return Z(this._config.series)}getDataTooltipValueFormat(e){return Me(this._config.series,e)}setDataTooltipValueFormat(e,t){this.guardSetterFromAsyncOverwrite(()=>{De({series:this._config.series,seriesIndex:e,valueFormat:t})})}get fetchNULLValues(){return Ne(this._config)}set fetchNULLValues(e){this.guardSetterFromAsyncOverwrite(()=>{Be(e,this._config),this.emitConfigUpdate("fetchNULLValues")})}get splitByValues(){return Ee(this._config)}getDataFilters(){return Xe(this._config)}async setDataFilters(e){Re(e,this._config),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setDataFilters")}emitConfigUpdate(e){this.dispatchEvent(new CustomEvent("arcgisChartsModelConfigChange",{detail:{config:this._config,setterName:e}}))}async loadConfigFromLayer(e){let{layer:t,iLayer:c,config:o}=e;this.commonStrings=await C(A(document.documentElement).t9nLocale,N("./assets/common/t9n"),"messages.");let r=t;if(!r&&c&&(r=await j(c)),r){let l=await $(r,!0),{objectIdField:We}=r;this.layerInfo={layer:r,layerFieldsInfo:l,objectIdField:We}}this._config=o!==void 0?await Pe(o):this.generateDefaultConfig(),this._config.legend!==void 0&&this._config.legend?.title===void 0&&(this._config.legend.title=P().title),c&&(this._config.iLayer=c)}async guardSetterFromAsyncOverwrite(e){e(),this.asyncConfigUpdateInProgress&&(await this.setupFinished,e())}},z=class extends w{get xAxisTitleText(){return T(0,this._config)}set xAxisTitleText(e){this.guardSetterFromAsyncOverwrite(()=>{I(e,0,this._config),this.emitConfigUpdate("xAxisTitleText")})}get xAxisTitleVisibility(){return O(0,this._config)}set xAxisTitleVisibility(e){this.guardSetterFromAsyncOverwrite(()=>{U(e,0,this._config),this.emitConfigUpdate("xAxisTitleVisibility")})}get maxXBound(){return p({config:this._config,axisIndex:0,isMax:!0})}set maxXBound(e){this.guardSetterFromAsyncOverwrite(()=>{v({config:this._config,value:e,axisIndex:0,isMax:!0}),this.emitConfigUpdate("maxXBound")})}get minXBound(){return p({config:this._config,axisIndex:0,isMax:!1})}set minXBound(e){this.guardSetterFromAsyncOverwrite(()=>{K(this._config,e),this.emitConfigUpdate("minXBound")})}get xAxisTitleSymbol(){return F(this._config,0)}set xAxisTitleSymbol(e){this.guardSetterFromAsyncOverwrite(()=>{L({symbol:e,axisIndex:0,config:this._config}),this.emitConfigUpdate("xAxisTitleSymbol")})}get axisLabelsSymbol(){return xe(this._config)}set axisLabelsSymbol(e){this.guardSetterFromAsyncOverwrite(()=>{me(e,this._config),this.emitConfigUpdate("axisLabelsSymbol")})}get axisLinesSymbol(){return ve(this._config)}set axisLinesSymbol(e){this.guardSetterFromAsyncOverwrite(()=>{be(e,this._config),this.emitConfigUpdate("axisLinesSymbol")})}},ht=i=>{for(let e of i.axes??[])for(let t of e?.guides??[])if(t.label!==void 0)return t.label},dt=(i,e)=>{for(let t of e.axes??[])for(let c of t?.guides??[]){let o=c.label?.text??"";c.label=E(i),c.label!==void 0&&(c.label.text=o)}};function n(i){return{...i,axis:i.orientation===g.X?i.config.axes?.[0]:i.config.axes?.[1],index:i.index??0,orientation:i.orientation??g.Y}}var pt=i=>{let{axis:e,index:t}=n(i);return e?.guides?.[t]?.visible??!0},ut=i=>{let{visible:e,axis:t,index:c}=n(i);t?.guides?.[c]!==void 0&&(t.guides[c].visible=e)},Ze=i=>{let e=Y(i.start,i.end);q(i.style)&&e===h.SFS?i.style={type:h.SFS,color:i.style.color}:W(i.style)&&e===h.SLS&&(i.style={type:h.SLS,color:i.style.color})},xt=i=>{let{axis:e,index:t}=n(i);return e?.guides?.[t]?.start??null},mt=i=>{let{start:e,axis:t,index:c}=n(i);t?.guides?.[c]!==void 0&&(t.guides[c].start=e,Ze(t.guides[c]))},vt=i=>{let{axis:e,index:t}=n(i);return e?.guides?.[t]?.end},bt=i=>{let{end:e,axis:t,index:c}=n(i);t?.guides?.[c]!==void 0&&(t.guides[c].end=e,Ze(t.guides[c]))},yt=i=>{let{axis:e,index:t}=n(i);return e?.guides?.[t]?.name},wt=i=>{let{name:e,axis:t,index:c}=n(i);t?.guides?.[c]!==void 0&&(t.guides[c].name=e)},zt=i=>{let{axis:e,index:t}=n(i);return e?.guides?.[t]?.label?.text},_t=i=>{let{labelText:e,axis:t,index:c}=n(i),o=t?.guides?.[c]?.label??X(e,d(s.GuideLabel),s.GuideLabel);t?.guides?.[c]!==void 0&&(t.guides[c].label={...o,text:e})},St=i=>{let{axis:e,index:t}=n(i);return e?.guides?.[t]?.above??!1},Ct=i=>{let{above:e,axis:t,index:c}=n(i);t?.guides?.[c]!==void 0&&(t.guides[c].above=e)},At=i=>{let{axis:e,index:t}=n(i);return e?.guides?.[t]?.style},kt=i=>{let{style:e,axis:t,index:c}=n(i);t?.guides?.[c]!==void 0&&(t.guides[c].style=e)},je=i=>{let{config:e,name:t,index:c,orientation:o}=i,r=o===g.X?e.axes?.[0]:e.axes?.[1];if(r!==void 0){r.guides=r.guides??[];let l={type:_.Guide,name:t,start:r.valueFormat.type===_.DateAxisFormat?"":0,style:R()};c!==void 0&&c<r.guides.length?r.guides.splice(c,0,l):r.guides.push(l)}},$e=i=>{let{config:e,index:t,orientation:c}=i,o=c===g.X?e.axes?.[0]:e.axes?.[1];o?.guides!==void 0&&(t!==void 0&&t<o.guides.length?o.guides.splice(t,1):o.guides.pop())},Ft=i=>{let{axis:e,index:t}=n(i);return e?.guides?.[t]?.tooltipReverseColor??!1},Lt=i=>{let{reverseColor:e,axis:t,index:c}=n(i);t?.guides?.[c]!==void 0&&(t.guides[c].tooltipReverseColor=e)},f=class extends w{get guideLabelsSymbol(){return ht(this._config)}set guideLabelsSymbol(e){this.guardSetterFromAsyncOverwrite(()=>{dt(e,this._config),this.emitConfigUpdate("guideLabelsSymbol")})}getGuideVisibility(e,t){return pt({config:this._config,index:e,orientation:t})}setGuideVisibility(e,t,c){this.guardSetterFromAsyncOverwrite(()=>{ut({visible:e,config:this._config,index:t,orientation:c}),this.emitConfigUpdate("setGuideVisibility")})}getGuideStart(e,t){return xt({config:this._config,index:e,orientation:t})}setGuideStart(e,t,c){this.guardSetterFromAsyncOverwrite(()=>{mt({start:e,config:this._config,index:t,orientation:c}),this.emitConfigUpdate("setGuideStart")})}getGuideEnd(e,t){return vt({config:this._config,index:e,orientation:t})}setGuideEnd(e,t,c){this.guardSetterFromAsyncOverwrite(()=>{bt({end:e,config:this._config,index:t,orientation:c}),this.emitConfigUpdate("setGuideEnd")})}getGuideName(e,t){return yt({config:this._config,index:e,orientation:t})}setGuideName(e,t,c){this.guardSetterFromAsyncOverwrite(()=>{wt({name:e,config:this._config,index:t,orientation:c}),this.emitConfigUpdate("setGuideName")})}getGuideLabelText(e,t){return zt({config:this._config,index:e,orientation:t})}setGuideLabelText(e,t,c){this.guardSetterFromAsyncOverwrite(()=>{_t({labelText:e,config:this._config,index:t,orientation:c}),this.emitConfigUpdate("setGuideLabelText")})}getGuideAbove(e,t){return St({config:this._config,index:e,orientation:t})}setGuideAbove(e,t,c){this.guardSetterFromAsyncOverwrite(()=>{Ct({above:e,config:this._config,index:t,orientation:c}),this.emitConfigUpdate("setGuideAbove")})}getGuideStyle(e,t){return At({config:this._config,index:e,orientation:t})}setGuideStyle(e,t,c){this.guardSetterFromAsyncOverwrite(()=>{kt({style:e,config:this._config,index:t,orientation:c}),this.emitConfigUpdate("setGuideStyle")})}getTooltipReverseColor(e,t){return Ft({config:this._config,index:e,orientation:t})}setTooltipReverseColor(e,t,c){this.guardSetterFromAsyncOverwrite(()=>{Lt({reverseColor:e,config:this._config,index:t,orientation:c}),this.emitConfigUpdate("setTooltipReverseColor")})}},G=class extends f{getXGuidesLength(){return this._config.axes?.[0]?.guides?.length}addXAxisGuide(e,t){this.guardSetterFromAsyncOverwrite(()=>{je({config:this._config,name:e,index:t,orientation:g.X}),this.emitConfigUpdate("addXAxisGuide")})}deleteXAxisGuide(e){this.guardSetterFromAsyncOverwrite(()=>{$e({config:this._config,index:e,orientation:g.X}),this.emitConfigUpdate("deleteXAxisGuide")})}};y(G,[f]);var M=class extends f{getYGuidesLength(){return this._config.axes?.[1]?.guides?.length}addYAxisGuide(e,t){this.guardSetterFromAsyncOverwrite(()=>{je({config:this._config,name:e,index:t,orientation:g.Y}),this.emitConfigUpdate("addYAxisGuide")})}deleteYAxisGuide(e){this.guardSetterFromAsyncOverwrite(()=>{$e({config:this._config,index:e,orientation:g.Y}),this.emitConfigUpdate("deleteYAxisGuide")})}};y(M,[f]);var Tt=i=>i.horizontalAxisLabelsBehavior??S.Rotate,It=(i,e)=>{e.horizontalAxisLabelsBehavior=i},Ot=i=>i.verticalAxisLabelsBehavior??S.Wrap,Ut=(i,e)=>{e.verticalAxisLabelsBehavior=i},Vt=i=>i.cursorCrosshair?.horizontalLineVisible??!1,Gt=(i,e)=>{e.cursorCrosshair===void 0&&(e.cursorCrosshair=x()),e.cursorCrosshair.horizontalLineVisible=i},Mt=i=>i.cursorCrosshair?.verticalLineVisible??!1,Dt=(i,e)=>{e.cursorCrosshair===void 0&&(e.cursorCrosshair=x()),e.cursorCrosshair.verticalLineVisible=i},Bt=i=>i.cursorCrosshair?.style,Nt=(i,e)=>{e.cursorCrosshair===void 0&&(e.cursorCrosshair=x()),e.cursorCrosshair.style=i},Et=i=>i.cursorCrosshair,Xt=(i,e)=>{e.cursorCrosshair=i},D=class extends z{getAxisTitleText(e){return a({config:this._config,axisIndex:e,func:t=>T(t,this._config)})??""}setAxisTitleText(e,t){this.guardSetterFromAsyncOverwrite(()=>{a({config:this._config,axisIndex:t,func:c=>{I(e,c,this._config),this.emitConfigUpdate("setAxisTitleText")}})})}getAxisTitleVisibility(e){return a({config:this._config,axisIndex:e,func:t=>O(t,this._config)})??!1}setAxisTitleVisibility(e,t){this.guardSetterFromAsyncOverwrite(()=>{a({config:this._config,axisIndex:t,func:c=>{U(e,c,this._config),this.emitConfigUpdate("setAxisTitleVisibility")}})})}getMaxBound(e){return a({config:this._config,axisIndex:e,func:t=>p({config:this._config,axisIndex:t,isMax:!0})})??Number.NaN}setMaxBound(e,t){this.guardSetterFromAsyncOverwrite(()=>{a({config:this._config,axisIndex:t,func:c=>{v({config:this._config,value:e,axisIndex:c,isMax:!0}),this.emitConfigUpdate("setMaxBound")}})})}getMinBound(e){return a({config:this._config,axisIndex:e,func:t=>p({config:this._config,axisIndex:t,isMax:!1})})??Number.NaN}setMinBound(e,t){this.guardSetterFromAsyncOverwrite(()=>{a({config:this._config,axisIndex:t,func:c=>{v({config:this._config,value:e,axisIndex:c,isMax:!1}),this.emitConfigUpdate("setMinBound")}})})}getAxisValueFormat(e){return a({config:this._config,axisIndex:e,func:t=>Q(t,this._config)})}setAxisValueFormat(e,t){this.guardSetterFromAsyncOverwrite(()=>{a({config:this._config,axisIndex:e,func:c=>{J({config:this._config,valueFormat:t,axisIndex:c,commonStrings:this.commonStrings}),this.emitConfigUpdate("setAxisValueFormat")}})})}getLogarithmic(e){return a({config:this._config,axisIndex:e,func:t=>ee(this._config,t)})??!1}setLogarithmic(e,t){this.guardSetterFromAsyncOverwrite(()=>{a({config:this._config,axisIndex:t,func:c=>{te({config:this._config,isLogarithmic:e,axisIndex:c}),this.emitConfigUpdate("setLogarithmic")}})})}getAxisScrollbar(e){return a({config:this._config,axisIndex:e,func:t=>this._config.axes?.[t]?.scrollbar})}setAxisScrollbar(e,t){this.guardSetterFromAsyncOverwrite(()=>{a({config:this._config,axisIndex:t,func:c=>{ie({config:this._config,scrollbar:e,axisIndex:c}),this.emitConfigUpdate("setAxisScrollbar")}})})}getAxisTitleSymbol(e){return a({config:this._config,axisIndex:e,func:t=>F(this._config,t)})}setAxisTitleSymbol(e,t){this.guardSetterFromAsyncOverwrite(()=>{a({config:this._config,axisIndex:t,func:c=>{L({symbol:e,config:this._config,axisIndex:c}),this.emitConfigUpdate("setAxisTitleSymbol")}})})}getHorizontalAxisLabelsBehavior(){return Tt(this._config)}setHorizontalAxisLabelsBehavior(e){this.guardSetterFromAsyncOverwrite(()=>{It(e,this._config),this.emitConfigUpdate("setHorizontalAxisLabelsBehavior")})}getVerticalAxisLabelsBehavior(){return Ot(this._config)}setVerticalAxisLabelsBehavior(e){this.guardSetterFromAsyncOverwrite(()=>{Ut(e,this._config),this.emitConfigUpdate("setVerticalAxisLabelsBehavior")})}getGridLinesSymbol(){return ye(this._config)}setGridLinesSymbol(e,t){this.guardSetterFromAsyncOverwrite(()=>{Array.isArray(t)&&we(e,this._config,t),this.emitConfigUpdate("setGridLinesSymbol")})}async getDefaultXAxisTitleText(){return(await C(A(document.documentElement).t9nLocale,V("./assets/common/t9n"),"messages.")).utilsStrings.statistics.count}getDisplayZeroLine(e){return a({config:this._config,axisIndex:e,func:t=>ze(this._config,t)})??!1}setDisplayZeroLine(e,t){this.guardSetterFromAsyncOverwrite(()=>{a({config:this._config,axisIndex:t,func:c=>{_e(this._config,e,c),this.emitConfigUpdate("setDisplayZeroLine")}})})}getDisplayCursorTooltip(e){return a({config:this._config,axisIndex:e,func:t=>Se(this._config,t)})??!1}setDisplayCursorTooltip(e,t){this.guardSetterFromAsyncOverwrite(()=>{a({config:this._config,axisIndex:t,func:c=>{Ce({config:this._config,displayCursorTooltip:e,axisIndex:c}),this.emitConfigUpdate("setDisplayCursorTooltip")}})})}getBuffer(e){return a({config:this._config,axisIndex:e,func:t=>Ae(this._config,t)})??!1}setBuffer(e,t){this.guardSetterFromAsyncOverwrite(()=>{a({config:this._config,axisIndex:t,func:c=>{ke({config:this._config,buffer:e,axisIndex:c}),this.emitConfigUpdate("setBuffer")}})})}getTickSpacing(e){return Fe(this._config,e)}setTickSpacing(e,t){this.guardSetterFromAsyncOverwrite(()=>{a({config:this._config,axisIndex:t,func:c=>{Le({config:this._config,tickSpacing:e,axisIndex:c}),this.emitConfigUpdate("setTickSpacing")}})})}getIntegerOnlyValues(e){return a({config:this._config,axisIndex:e,func:t=>Te(this._config,t)})??!1}setIntegerOnlyValues(e,t){this.guardSetterFromAsyncOverwrite(()=>{a({config:this._config,axisIndex:t,func:c=>{Ie({config:this._config,integerOnlyValues:e,axisIndex:c}),this.emitConfigUpdate("setIntegerOnlyValues")}})})}get cursorCrosshairHorizontalLineVisibility(){return Vt(this._config)}set cursorCrosshairHorizontalLineVisibility(e){this.guardSetterFromAsyncOverwrite(()=>{Gt(e,this._config),this.emitConfigUpdate("cursorCrosshairHorizontalLineVisibility")})}get cursorCrosshairVerticalLineVisibility(){return Mt(this._config)}set cursorCrosshairVerticalLineVisibility(e){this.guardSetterFromAsyncOverwrite(()=>{Dt(e,this._config),this.emitConfigUpdate("cursorCrosshairVerticalLineVisibility")})}get cursorCrosshairStyle(){return Bt(this._config)}set cursorCrosshairStyle(e){e&&this.guardSetterFromAsyncOverwrite(()=>{Nt(e,this._config),this.emitConfigUpdate("cursorCrosshairStyle")})}get cursorCrosshair(){return Et(this._config)}set cursorCrosshair(e){e&&this.guardSetterFromAsyncOverwrite(()=>{Xt(e,this._config),this.emitConfigUpdate("cursorCrosshair")})}};y(D,[z]);return{a:w,b:z,c:G,d:M,e:D}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","intl",a,b,c)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.24 */
4
- import{b as e,c as r,d as i}from"./J5WOV4L5.js";import{a as C}from"./VSSRAQAB.js";import a from"./IHRUJZ4V.js";import{a as l,w as S}from"./LRZ4KPRH.js";export default $arcgis.t(([,,,,,,,{Dc:p,Ha:E,Sa:g,db:m,ob:x}])=>{var A=[e.EditChart,e.Legend,e.RotateChart,e.FilterBySelection,e.FilterByExtent,e.Zoom,e.Selection,e.ClearSelection,e.FullExtent,e.SwitchSelection,e.ExportAsCSV,e.ExportAsImage],u=[e.EditChart,e.Legend,e.RotateChart,e.FilterBySelection,e.FilterByExtent,e.Zoom,e.Selection,e.ClearSelection,e.FullExtent,e.SwitchSelection,e.ExportAsImage,e.ExportAsCSV],b=[e.EditChart,e.Legend,e.RotateChart,e.FilterBySelection,e.FilterByExtent,e.Zoom,e.Selection,e.ClearSelection,e.FullExtent,e.SwitchSelection,e.ExportAsImage,e.ExportAsCSV],F=[e.EditChart,e.Legend,e.FilterBySelection,e.FilterByExtent,e.Selection,e.ClearSelection,e.SwitchSelection,e.ExportAsImage,e.ExportAsCSV],I=[e.EditChart,e.Legend,e.FilterBySelection,e.Selection,e.ClearSelection,e.SwitchSelection],v=[e.EditChart,e.Legend,e.FilterBySelection,e.FilterByExtent,e.Zoom,e.Selection,e.ClearSelection,e.FullExtent,e.SwitchSelection,e.ExportAsImage,e.ExportAsCSV],D=[e.EditChart,e.Legend,e.FilterBySelection,e.FilterByExtent,e.Zoom,e.Selection,e.ClearSelection,e.FullExtent,e.SwitchSelection,e.ExportAsImage,e.ExportAsCSV],w=[e.EditChart,e.Legend,e.RotateChart,e.FilterBySelection,e.FilterByExtent,e.Zoom,e.Selection,e.ClearSelection,e.FullExtent,e.SwitchSelection,e.ExportAsImage,e.ExportAsCSV],L=[e.EditChart,e.FilterByExtent,e.ExportAsImage,e.ExportAsCSV];function U(a){switch(a){case l.BarSeries:return A;case l.LineSeries:return u;case l.ComboLineAndBarSeries:return b;case l.PieSeries:return F;case l.HistogramSeries:return v;case l.ScatterSeries:return D;case l.BoxPlotSeries:return w;case l.GaugeSeries:return L;case l.HeatSeries:return I;default:return[]}}var j=(a,t,o)=>{let n=a.target.assignedNodes().find(c=>"legendToggle"in c),s=S(o?.series);return n&&(n.chartType=s,T({actionBar:n,chartComponent:t,config:o})),n};function T(a){let{actionBar:t,chartComponent:o,config:n,isWarningDisplayed:s}=a,c=m(o.selectionData),B=n?.legend?n.legend.visible??!0:!1;if(t.chartType=S(n?.series),o.enableConfiguration){let h=t.hiddenActions??[];t.hiddenActions=h.filter(f=>f!==e.EditChart)}t.editChartState=o.enableConfiguration?i.Enabled:i.Disabled;let d=n&&g(n.series);t.legendState=d?i.Enabled:i.Disabled,t.legendToggle=d&&(o.legendVisibility??B)?r.Active:r.Inactive,t.rotateChartToggle=(o.rotation??n?.rotated)===!0?r.Active:r.Inactive;let y=x(n?.series??[])===E.PieFromFields;t.filterBySelectionState=!y&&(o.filterBySelection===!0||!c&&o.filterByExtent!==!0)?i.Enabled:i.Disabled,t.filterBySelectionToggle=o.filterBySelection===!0?r.Active:r.Inactive,t.filterByExtentState=o.filterByExtent===!0||o.filterBySelection!==!0?i.Enabled:i.Disabled,t.filterByExtentToggle=o.filterByExtent===!0?r.Active:r.Inactive,t.zoomState=o.filterBySelection?i.Disabled:i.Enabled,t.zoomToggle=o.actionMode===C.Zoom?r.Active:r.Inactive,t.selectionState=o.filterBySelection?i.Disabled:i.Enabled,t.selectionToggle=(o.actionMode??t.actionBarSelectionMode)===t.actionBarSelectionMode?r.Active:r.Inactive,t.clearSelectionState=c?i.Disabled:i.Enabled,t.fullExtentState=o.filterBySelection?i.Disabled:i.Enabled,t.switchSelectionState=o.filterBySelection?i.Disabled:i.Enabled,t.exportActionState=s||p(n)?i.Disabled:i.Enabled}return{a:U,b:j,c:T}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",a)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.24 */
4
- import{a as L}from"./5MSKZ3X6.js";import{a as k}from"./KTCLKKQV.js";import{b as K,c as N}from"./OULDTBSA.js";import e from"./KQNCBAFR.js";import{f as s}from"./G5DQS6R3.js";import{a as C}from"./U5H3KFO7.js";import c from"./TPD4XFBX.js";import a from"./IHRUJZ4V.js";import{j as b,q as d}from"./DOAHYWSH.js";import"./TQHWGSEQ.js";import"./WZ5R2GBE.js";import{k as r,o as h}from"./LRZ4KPRH.js";import{A as o,F as P,g as I,h as n,l as f,w as m,x as p,y as F}from"./LKQS4G43.js";import"./SVATWD7C.js";export default $arcgis.t(([,,,,,,,{Qa:E,Xa:D,mc:v,oc:T,ya:w,za:A},,{a:y,c:$,g:z,k:g,o:S}])=>{var _=I`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-html-container{z-index:101!important}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.name{display:flex;flex-direction:column;margin:.5rem;padding:.5rem;background:#fff;min-width:250px}.header{margin:0;font-weight:bolder}.fab{display:flex;justify-content:stretch}.pick-list-item-label{font-size:small}.sort-icon-color{color:#000}.sort-y-axis{transform:rotate(90deg)}calcite-panel{max-height:60vh}calcite-panel .size-section{width:19rem;margin:1rem 0;display:flex;flex-wrap:wrap;justify-content:space-evenly}calcite-panel .size-section calcite-label{width:8rem;margin-bottom:.25rem}calcite-panel .apply-button{width:17rem}`,c={jsAppFlyout:"js-app-flyout",name:"line-chart-data-popover",numericFieldPickList:"line-chart-data-numeric-fields-pick-list",header:"header",fab:"fab",pickListItemLabel:"pick-list-item-label",sizeSection:"size-section",applyButton:"apply-button"},x=class extends F{constructor(){super(...arguments),this._messages=C(),this.commonStrings=C({name:"common",blocking:!0}),this.picklist=m(),this.intervalSizeElement=m(),this.intervalTypeElement=m(),this.popoverElement=m(),this.placement="leading",this.offsetDistance=-200,this.pickListHasChanged=!1,this.layerFieldsInfo=[],this.arcgisChartsConfigLineChartDataPopoverChange=f(),this.arcgisChartsConfigLineChartPopoverClose=f()}static{this.properties={aggregationLabels:16,timeAggregationLabels:16,messageOverrides:0,headingTitle:1,referenceElement:0,open:5,contentKind:1,layerFieldsInfo:0,selectedContent:1}}static{this.styles=_}async reposition(){await this.popoverElement.value?.reposition()}willUpdate(e){e.has("selectedContent")&&this.selectedContentChange(this.selectedContent,e.get("selectedContent"));let t=$.map(l=>w(l,this.commonStrings));b(this.aggregationLabels,t)||(this.aggregationLabels=t);let i=[h.Start,h.End].map(l=>A(l,this.commonStrings));b(this.timeAggregationLabels,i)||(this.timeAggregationLabels=i)}updated(){setTimeout(async()=>{typeof this.picklist.value?.setFocus=="function"&&await this.picklist.value?.setFocus()},y.PopoverTimer),K(this.popoverElement.value,this.open),this.hasUpdated||setTimeout(()=>{this.popoverElement.value?.reposition()},y.PopoverTimer)}selectedContentChange(e,t){this.pickListHasChanged=N(e,t)}buildAggregationPickListItems(){return L($,e=>e,(e,t)=>n`<calcite-list-item .label=${this.aggregationLabels?.[t]} .value=${e} .selected=${g(e,this.selectedContent)}></calcite-list-item>`)}buildIntervalAlignmentPickListItems(){let e=[h.Start,h.End];return L(e,t=>t,(t,i)=>n`<calcite-list-item .label=${this.timeAggregationLabels?.[i]} .value=${t} .selected=${g(t,this.selectedContent)}></calcite-list-item>`)}buildPickListItem(e){return k(e.name,n`<calcite-list-item .label=${E(this.layerFieldsInfo,e.name)} .value=${e.name} .selected=${g(e.name,this.selectedContent)}></calcite-list-item>`)}buildPickListItems(e){let t=this.layerFieldsInfo?.length??0,i=[];switch(e){case s.numericFields:{for(let l=0;l<t;l+=1){let a=this.layerFieldsInfo?.[l];a&&v(a)&&i.push(this.buildPickListItem(a))}break}case s.xAxisField:{for(let l=0;l<t;l+=1){let a=this.layerFieldsInfo?.[l];a&&(v(a)||a.type===d.Date||a.type===d.DateOnly||a.type===d.TimestampOffset)&&i.push(this.buildPickListItem(a))}break}case s.splitByField:{let l=k(" ",n`<calcite-list-item label=" " value=" " .selected=${g("",this.selectedContent)}></calcite-list-item>`);i.push(l);for(let a=0;a<t;a+=1){let u=this.layerFieldsInfo?.[a];u&&(T(u)||u.type===d.String)&&i.push(this.buildPickListItem(u))}break}}return i}closePopover(){if(this.contentKind===s.numericFields){let e={pickListElement:this.picklist.value,eventEmitter:this.arcgisChartsConfigLineChartDataPopoverChange,contentKind:this.contentKind};S(e)}this.open=!1,this.arcgisChartsConfigLineChartPopoverClose.emit()}onDataContentTypeChange(e){this.pickListHasChanged=!0;let t=e.target.selectedItems;this.arcgisChartsConfigLineChartDataPopoverChange.emit({contentKind:this.contentKind,value:t.map(i=>i.value)}),this.open=!1}intervalChange(){let e=Number.parseInt(this.intervalSizeElement.value?.value??""),t=this.intervalTypeElement.value?.selectedOption?.value;!Number.isNaN(e)&&e>0&&this.arcgisChartsConfigLineChartDataPopoverChange.emit({contentKind:this.contentKind,value:[{intervalSize:e,intervalUnits:t}]}),this.open=!1}onNumericFieldsChange(e){e.target!==null&&(this.selectedContent=e.target.selectedItems.map(t=>t.value))}onNumericFieldSelectionDone(){this.pickListHasChanged&&this.closePopover()}renderAggregationType(){let e=this.buildAggregationPickListItems();return n`<calcite-list label class=${o(c.pickListItemLabel)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`}renderXAxisField(){let e=this.buildPickListItems(s.xAxisField);return n`<calcite-list label class=${o(c.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${e}</calcite-list>`}renderNumericFields(){let e=this.buildPickListItems(s.numericFields);return n`<calcite-list label class=${o(c.numericFieldPickList)} selection-mode=multiple filter-enabled @calciteListChange=${this.onNumericFieldsChange} ${p(this.picklist)}>${e}</calcite-list>`}renderSplitByField(){let e=this.buildPickListItems(s.splitByField);return n`<calcite-list label class=${o(c.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${e}</calcite-list>`}renderIntervalAlignment(){let e=this.buildIntervalAlignmentPickListItems();return n`<calcite-list label class=${o(c.pickListItemLabel)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`}renderInterval(){let e=this.selectedContent,t=[r.Second,r.Minute,r.Hour,r.Day,r.Week,r.Month,r.Year];return n`<div><div class=${o(c.sizeSection)}><calcite-label scale=m>${this._messages.intervalSize}<calcite-input type=number scale=m min=1 step=any .value=${z(e?.size,1)} ${p(this.intervalSizeElement)}></calcite-input></calcite-label><calcite-label scale=m>${this._messages.intervalType}<calcite-select .label=${this._messages.intervalType??""} ${p(this.intervalTypeElement)}>${t.map(i=>n`<calcite-option .value=${i} .label=${D(i,this._messages)} .selected=${e?.unit===i}></calcite-option>`)}</calcite-select></calcite-label><calcite-button class=${o(c.applyButton)} appearance=outline @click=${this.intervalChange}>${this._messages.apply}</calcite-button></div></div>`}renderPopoverInfo(){let e;switch(this.contentKind){case s.aggregation:e=this.renderAggregationType();break;case s.xAxisField:e=this.renderXAxisField();break;case s.numericFields:e=this.renderNumericFields();break;case s.splitByField:e=this.renderSplitByField();break;case s.intervalAlignment:e=this.renderIntervalAlignment();break;case s.interval:e=this.renderInterval();break}return e}render(){let e;return this.contentKind===s.numericFields&&(e=n`<div slot=footer><calcite-fab class=${o(c.fab)} appearance=outline-fill kind=neutral icon .label=${this._messages.selectionDone} scale=s text-enabled .text=${this._messages.selectionDone} @click=${this.onNumericFieldSelectionDone}></calcite-fab></div>`),n`<div class=${o(c.jsAppFlyout)}><calcite-popover class=${o(c.name)} .referenceElement=${this.referenceElement??document.body} .placement=${this.placement} .offsetDistance=${this.offsetDistance} @calcitePopoverClose=${this.closePopover} .open=${this.open} label auto-close ${p(this.popoverElement)}><calcite-panel closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${o(c.header)}>${this.headingTitle??""}</div>${this.renderPopoverInfo()}${e}</calcite-panel></calcite-popover></div>`}};P("arcgis-charts-config-line-chart-popover",x);return x},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",a,c,e)