@arcgis/charts-components 5.0.0-next.35 → 5.0.0-next.37

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 (297) hide show
  1. package/dist/cdn/{PIA4R4PB.js → 22XUHGW3.js} +2 -2
  2. package/dist/cdn/{27XXZALV.js → 2A2FTZHA.js} +2 -2
  3. package/dist/cdn/{N6E2SLMU.js → 2POUHXCY.js} +2 -2
  4. package/dist/cdn/{WBUYRWQZ.js → 34UG4ZKW.js} +2 -2
  5. package/dist/cdn/{OMRMNVJ3.js → 3F2QXA3A.js} +2 -2
  6. package/dist/cdn/{Q5ZB4YS2.js → 3FJ2SS23.js} +2 -2
  7. package/dist/cdn/{R67VA2ZT.js → 3NBY5KD6.js} +2 -2
  8. package/dist/cdn/{2X6KNKJT.js → 3OBOSCP2.js} +2 -2
  9. package/dist/cdn/{HYHSHPJ2.js → 3QNNQD2N.js} +2 -2
  10. package/dist/cdn/{3UZV64KS.js → 44WCFGUI.js} +2 -2
  11. package/dist/cdn/{6LZVD24F.js → 4BJK3TIU.js} +2 -2
  12. package/dist/cdn/{WOK3RNGS.js → 4CBUMHDP.js} +2 -2
  13. package/dist/cdn/{LTGFFLTU.js → 4HCGCUYU.js} +2 -2
  14. package/dist/cdn/{GGVDPUMV.js → 4RLTPUG4.js} +2 -2
  15. package/dist/cdn/{KLOM5P72.js → 4SFI3YM2.js} +2 -2
  16. package/dist/cdn/{FYLS6DRW.js → 4SZ7J4CY.js} +2 -2
  17. package/dist/cdn/{4GOR7RPB.js → 4VJR57DX.js} +2 -2
  18. package/dist/cdn/{66ROMEQG.js → 4YV2QJZX.js} +2 -2
  19. package/dist/cdn/{OB52X4XJ.js → 4ZBC3YLD.js} +1 -1
  20. package/dist/cdn/{KCDCOLBN.js → 5ON4D3T3.js} +2 -2
  21. package/dist/cdn/{XSQ6WDLH.js → 5ORXPNB2.js} +2 -2
  22. package/dist/cdn/5TXIB56E.js +4 -0
  23. package/dist/cdn/{G5U54FZS.js → 63THAEWP.js} +2 -2
  24. package/dist/cdn/6IUSBUMO.js +4 -0
  25. package/dist/cdn/{HJCAISF4.js → 6J2REPIR.js} +2 -2
  26. package/dist/cdn/{J4RJ3A5V.js → 6SCI3R4D.js} +2 -2
  27. package/dist/cdn/{UCX6MG5W.js → 6SGNSZCZ.js} +2 -2
  28. package/dist/cdn/{3G2PTBMG.js → 6WCUJPZF.js} +2 -2
  29. package/dist/cdn/{LLRQ6IJT.js → 744VZJR2.js} +2 -2
  30. package/dist/cdn/{VJTOL4X2.js → 7JX4MCIT.js} +2 -2
  31. package/dist/cdn/{KXJDIO2V.js → 7N4YRYTJ.js} +1 -1
  32. package/dist/cdn/{Z6WRB4ED.js → 7O5XURSJ.js} +2 -2
  33. package/dist/cdn/{KLL5COUI.js → A357TQPY.js} +2 -2
  34. package/dist/cdn/{ECGF4GMS.js → A5DMTLWW.js} +1 -1
  35. package/dist/cdn/{WZHJ4WV6.js → A5M7B7JT.js} +2 -2
  36. package/dist/cdn/{HXGDIYXM.js → A7HPFBB5.js} +4 -4
  37. package/dist/cdn/{7XSZAXWQ.js → ABX4N7TW.js} +2 -2
  38. package/dist/cdn/{5FCFTSWW.js → AD75JP7Q.js} +2 -2
  39. package/dist/cdn/{S75M55XH.js → AFLLPNX7.js} +2 -2
  40. package/dist/cdn/{ZTWQONCL.js → AKEMUZHQ.js} +2 -2
  41. package/dist/cdn/{DN4TEGJZ.js → AKYZI4ZD.js} +2 -2
  42. package/dist/cdn/{MHC663LK.js → AMORN4YC.js} +2 -2
  43. package/dist/cdn/{6NAFXJFM.js → AP27WSFN.js} +2 -2
  44. package/dist/cdn/{E7RVXEH2.js → B4BRBFJN.js} +2 -2
  45. package/dist/cdn/{DV7SC6FY.js → BFHVAD6O.js} +2 -2
  46. package/dist/cdn/{BZ2BBWXW.js → BLZE36H5.js} +2 -2
  47. package/dist/cdn/{3WX7HJV4.js → BPN3HU64.js} +2 -2
  48. package/dist/cdn/{3OJTOTDU.js → BQLYLSMJ.js} +2 -2
  49. package/dist/cdn/{37WYHN7V.js → BYLI7J6S.js} +2 -2
  50. package/dist/cdn/{FT36H2VJ.js → C4ABVBKM.js} +2 -2
  51. package/dist/cdn/{RACN4RSR.js → CHNZAJTW.js} +2 -2
  52. package/dist/cdn/{MGHQEKPP.js → CMFRL4RC.js} +2 -2
  53. package/dist/cdn/{565W3UJ3.js → CN6GGJFI.js} +2 -2
  54. package/dist/cdn/{B747H3AM.js → CZ3R7BRR.js} +2 -2
  55. package/dist/cdn/{5IU43UNL.js → CZW4EXXI.js} +2 -2
  56. package/dist/cdn/{SI4BOUQ5.js → D3VSRNXL.js} +2 -2
  57. package/dist/cdn/{AXOCIYLE.js → D5KJJSHL.js} +2 -2
  58. package/dist/cdn/{Y6PYDXMN.js → DEAS5AAP.js} +1 -1
  59. package/dist/cdn/{FO6HAXCJ.js → DRZ7DSKE.js} +2 -2
  60. package/dist/cdn/{DLGWTRHE.js → DTVGGEOG.js} +2 -2
  61. package/dist/cdn/{DISEZUUN.js → DUC4K4X2.js} +2 -2
  62. package/dist/cdn/{XVC4FMCK.js → DWWTY3ZC.js} +2 -2
  63. package/dist/cdn/{JPIA7B2E.js → EFODDSL7.js} +2 -2
  64. package/dist/cdn/{S6SIEB3M.js → EH4IGFR5.js} +2 -2
  65. package/dist/cdn/{2QYQEUAH.js → ENBWOU7T.js} +2 -2
  66. package/dist/cdn/{WLM6YLEG.js → EWQC6RF2.js} +2 -2
  67. package/dist/cdn/{ZBSZ4BNP.js → F2GMGRSR.js} +2 -2
  68. package/dist/cdn/{DGJCYMUN.js → FCEFLEMK.js} +2 -2
  69. package/dist/cdn/{USROKL4O.js → FEPOK6EU.js} +2 -2
  70. package/dist/cdn/{5Y4VY6DZ.js → FJ53XI5S.js} +2 -2
  71. package/dist/cdn/{EA3ABE7O.js → FMR2IDAS.js} +2 -2
  72. package/dist/cdn/{4RYPQJNR.js → FRRSWBYF.js} +2 -2
  73. package/dist/cdn/{PVZIBUTV.js → FTGHNQQN.js} +2 -2
  74. package/dist/cdn/{SYUF3JOT.js → FWZSU4H7.js} +2 -2
  75. package/dist/cdn/{NQWOZVG5.js → G4AQGE2L.js} +2 -2
  76. package/dist/cdn/{GJPVY6VJ.js → GGUAYNTF.js} +2 -2
  77. package/dist/cdn/{NNBBUHOM.js → GHYLQU66.js} +1 -1
  78. package/dist/cdn/{QBRSFLHQ.js → GJQAT7YY.js} +2 -2
  79. package/dist/cdn/{6FR7NW56.js → GJVSVWMP.js} +2 -2
  80. package/dist/cdn/{RKYJV7QO.js → H2MQCUAN.js} +2 -2
  81. package/dist/cdn/{KSA57JYL.js → H6X2LKZB.js} +2 -2
  82. package/dist/cdn/{HIFJTQHN.js → HHOYHD6X.js} +2 -2
  83. package/dist/cdn/{YIJVFFA2.js → HI2FS4IZ.js} +2 -2
  84. package/dist/cdn/{75Z76SRB.js → HICMUWHQ.js} +1 -1
  85. package/dist/cdn/{54JEHA25.js → HM627NRF.js} +2 -2
  86. package/dist/cdn/{MRWG4UTR.js → HR5VN5JN.js} +2 -2
  87. package/dist/cdn/{EDUYK4FG.js → HYU2NGZT.js} +2 -2
  88. package/dist/cdn/{A6O26J6R.js → I33EFJL7.js} +2 -2
  89. package/dist/cdn/{Z7AY2JHL.js → I3GV374I.js} +2 -2
  90. package/dist/cdn/{ZNYELLO7.js → I3TFSBO2.js} +2 -2
  91. package/dist/cdn/{LHSRVARK.js → I73MG6T2.js} +2 -2
  92. package/dist/cdn/{LIHBRLLH.js → IGB6UFSI.js} +2 -2
  93. package/dist/cdn/{XCHF2KQQ.js → ITUCQ23T.js} +2 -2
  94. package/dist/cdn/{FJHWOGXN.js → J5HT4HOB.js} +2 -2
  95. package/dist/cdn/{KBHQXDI4.js → JA7PZDFS.js} +1 -1
  96. package/dist/cdn/{3PC6Q7MN.js → JF3S7APL.js} +2 -2
  97. package/dist/cdn/{GZH7EKEO.js → JFI5LO2E.js} +2 -2
  98. package/dist/cdn/{BL6WYPMV.js → JISE6XCG.js} +2 -2
  99. package/dist/cdn/{D6UCG6K3.js → JPU7IY3H.js} +2 -2
  100. package/dist/cdn/{BU7LQM7Z.js → JRYD3ERU.js} +2 -2
  101. package/dist/cdn/{46BG55JG.js → JW47OEOZ.js} +2 -2
  102. package/dist/cdn/{BOQ2SJIU.js → JWZXK3SS.js} +2 -2
  103. package/dist/cdn/{32HJEDNO.js → K24SDQRG.js} +2 -2
  104. package/dist/cdn/{M566W3WU.js → K45T35M6.js} +2 -2
  105. package/dist/cdn/{ID65CWLB.js → K7CBKGEG.js} +2 -2
  106. package/dist/cdn/{RK76HBMJ.js → KGRKLBKP.js} +2 -2
  107. package/dist/cdn/{YFAP3P6Y.js → KJBVS3S2.js} +2 -2
  108. package/dist/cdn/{NKYPT3DH.js → KJY7ZHRB.js} +2 -2
  109. package/dist/cdn/{TJCBDWMA.js → KQKQMYZT.js} +2 -2
  110. package/dist/cdn/{KA3ENEVW.js → KRM7VTCE.js} +2 -2
  111. package/dist/cdn/{MTHS3HO6.js → KVA24RCX.js} +2 -2
  112. package/dist/cdn/{7G3BGUQ2.js → LB5Z5NWW.js} +2 -2
  113. package/dist/cdn/{M5GRRQQ5.js → LBCBCSKQ.js} +2 -2
  114. package/dist/cdn/{A2RBXPR5.js → LFG5HRAS.js} +2 -2
  115. package/dist/cdn/{7PKCLU3M.js → LHBJOSWD.js} +2 -2
  116. package/dist/cdn/{2CGPEICT.js → LSMDMFVY.js} +2 -2
  117. package/dist/cdn/{EAZJ5V4E.js → LWY6YGQ6.js} +2 -2
  118. package/dist/cdn/{PPFLSSOV.js → MKTNFOZL.js} +2 -2
  119. package/dist/cdn/{I6NAGDS4.js → MLGXMQ5V.js} +2 -2
  120. package/dist/cdn/{IT6ILQG6.js → MSQJJRCY.js} +2 -2
  121. package/dist/cdn/{KTZVPP3J.js → MU3NWQ55.js} +2 -2
  122. package/dist/cdn/{27ODNKA4.js → MWSG3TOS.js} +2 -2
  123. package/dist/cdn/{7QSX3CXM.js → NQZIDADK.js} +2 -2
  124. package/dist/cdn/{UEZBTZVC.js → NSXCJTB5.js} +2 -2
  125. package/dist/cdn/{FK4USOGN.js → O2QR4RTO.js} +2 -2
  126. package/dist/cdn/{4T5QPICV.js → O2SUUXL6.js} +2 -2
  127. package/dist/cdn/{IPALHRGQ.js → OBYGX2KE.js} +2 -2
  128. package/dist/cdn/{JOHNSK3R.js → OCVL7CSE.js} +2 -2
  129. package/dist/cdn/{CUUAHSVJ.js → ONZIVB46.js} +2 -2
  130. package/dist/cdn/{GG6QYEYH.js → OOJV5UEL.js} +2 -2
  131. package/dist/cdn/{CWA7V7LW.js → OS2Z74JJ.js} +2 -2
  132. package/dist/cdn/{H2QT3ZIN.js → OWIUEB2T.js} +2 -2
  133. package/dist/cdn/{KKHLGVIS.js → OWYPKDWR.js} +2 -2
  134. package/dist/cdn/{EZZ2FTK2.js → OXLWBD5V.js} +2 -2
  135. package/dist/cdn/{WDU33KKI.js → P3GPRUWM.js} +2 -2
  136. package/dist/cdn/{UFA7LEUF.js → P4VUERME.js} +2 -2
  137. package/dist/cdn/{4RWJJBJU.js → PN73SWFS.js} +2 -2
  138. package/dist/cdn/{UR7BPDRR.js → PNGUTR2P.js} +2 -2
  139. package/dist/cdn/{N732CI2R.js → QNDNKXMC.js} +2 -2
  140. package/dist/cdn/{FH2NJDHR.js → QQPLZ7M5.js} +2 -2
  141. package/dist/cdn/{6HQDGB2K.js → QSMFNLOS.js} +2 -2
  142. package/dist/cdn/{YCGAQRD2.js → QZNU2AJE.js} +2 -2
  143. package/dist/cdn/{2E4DFOTD.js → RCZS2XRT.js} +2 -2
  144. package/dist/cdn/{JJONL5KG.js → RLFOI6WJ.js} +2 -2
  145. package/dist/cdn/{BXN37MPH.js → SA7MZGAT.js} +2 -2
  146. package/dist/cdn/{VMCNYKD2.js → SAHMRETD.js} +2 -2
  147. package/dist/cdn/{T7G5OAJX.js → SD3HQ4MH.js} +2 -2
  148. package/dist/cdn/{PZTWGLWG.js → SLOHWXWT.js} +2 -2
  149. package/dist/cdn/{ZBYHPMZQ.js → SMWGUXAC.js} +2 -2
  150. package/dist/cdn/{L7CVUU7Y.js → SNNIGUGM.js} +2 -2
  151. package/dist/cdn/{TFTQARE5.js → SQPGGQCJ.js} +2 -2
  152. package/dist/cdn/{YCS5MVKF.js → T67ZGXYR.js} +2 -2
  153. package/dist/cdn/{Y4Z6BZYT.js → TBTTPT3G.js} +2 -2
  154. package/dist/cdn/{VZGRGIE4.js → TVNH5CH5.js} +2 -2
  155. package/dist/cdn/{URWPP6XC.js → TYEFYUCA.js} +2 -2
  156. package/dist/cdn/{SG2MND3R.js → U7VFFFVD.js} +24 -24
  157. package/dist/cdn/{AT2LNWRW.js → URP3LWDW.js} +2 -2
  158. package/dist/cdn/{K2XYL66B.js → UT4WKA4G.js} +2 -2
  159. package/dist/cdn/{UU43DCY6.js → UZZNC5DM.js} +2 -2
  160. package/dist/cdn/{CC74AOIC.js → VBDV5NMS.js} +1 -1
  161. package/dist/cdn/{IK42JHF4.js → VNZBB7CD.js} +2 -2
  162. package/dist/cdn/{2VOXLRSD.js → W2J4SHTN.js} +2 -2
  163. package/dist/cdn/{K7DXKOB4.js → W66AIC3V.js} +2 -2
  164. package/dist/cdn/{DJT64TRG.js → WE6JHOSR.js} +1 -1
  165. package/dist/cdn/{FISRQUZA.js → WG5QH2GD.js} +2 -2
  166. package/dist/cdn/{BD53D2R6.js → WHTJZYDQ.js} +2 -2
  167. package/dist/cdn/{TUIDNX6Y.js → WHVDGMI4.js} +2 -2
  168. package/dist/cdn/{6EA3L5LO.js → WMITFIP7.js} +2 -2
  169. package/dist/cdn/{ITDCFIH6.js → WRU6ZCOS.js} +2 -2
  170. package/dist/cdn/{3VHYPUZ4.js → WWK6QOR2.js} +2 -2
  171. package/dist/cdn/{FNJX5CJ2.js → XBNUAEC3.js} +2 -2
  172. package/dist/cdn/{DFQL2XHC.js → XC5E6PDG.js} +2 -2
  173. package/dist/cdn/{7JXMQ6AD.js → XTVIWY4C.js} +2 -2
  174. package/dist/cdn/{PTZ43CAC.js → XYQ5OWGY.js} +2 -2
  175. package/dist/cdn/{EK2QKXC7.js → Y5ZVSKUD.js} +2 -2
  176. package/dist/cdn/{IOX4NFII.js → YJKESED6.js} +2 -2
  177. package/dist/cdn/{O2UB2Q3B.js → YVTTVNWB.js} +2 -2
  178. package/dist/cdn/{DIETB43I.js → YYVBUMXW.js} +2 -2
  179. package/dist/cdn/{NN3N7U2O.js → ZV2LAGPK.js} +2 -2
  180. package/dist/cdn/{ATWGFVZQ.js → ZXFI77ZN.js} +2 -2
  181. package/dist/cdn/index.js +2 -2
  182. package/dist/chart-rendering/common/data/index.d.ts +4 -2
  183. package/dist/chart-rendering/common/events/index.d.ts +2 -2
  184. package/dist/chart-rendering/next/chart-library-elements/axes/histogram/index.d.ts +2 -0
  185. package/dist/chart-rendering/next/chart-library-elements/axes/index.d.ts +3 -0
  186. package/dist/chart-rendering/next/chart-library-elements/line-fill-marker/index.d.ts +1 -1
  187. package/dist/chart-rendering/next/chart-library-elements/series/scatter-plot/interfaces.d.ts +1 -0
  188. package/dist/chart-rendering/next/interfaces.d.ts +1 -0
  189. package/dist/chunks/action-bar-utils.js +1 -1
  190. package/dist/chunks/axis-model-wrapper.js +1 -1
  191. package/dist/chunks/bar-chart-model.js +1 -1
  192. package/dist/chunks/bar-chart-series.js +1 -1
  193. package/dist/chunks/baseline-stacking.js +1 -1
  194. package/dist/chunks/bg_BG.js +1 -1
  195. package/dist/chunks/bg_BG2.js +1 -1
  196. package/dist/chunks/box-plot-data.js +1 -1
  197. package/dist/chunks/box-plot-model.js +1 -1
  198. package/dist/chunks/chart-ui-utils.js +1 -1
  199. package/dist/chunks/chart-ui-utils2.js +1 -1
  200. package/dist/chunks/combo-bar-line-chart-model.js +1 -1
  201. package/dist/chunks/common.js +1 -1
  202. package/dist/chunks/config-update.js +1 -1
  203. package/dist/chunks/data.js +1 -1
  204. package/dist/chunks/default.js +1 -1
  205. package/dist/chunks/gauge-model.js +1 -1
  206. package/dist/chunks/heat-chart-model.js +1 -1
  207. package/dist/chunks/histogram-data.js +1 -1
  208. package/dist/chunks/histogram-model.js +1 -1
  209. package/dist/chunks/index.js +3083 -3078
  210. package/dist/chunks/index2.js +1 -1
  211. package/dist/chunks/index3.js +1 -1
  212. package/dist/chunks/index4.js +1 -1
  213. package/dist/chunks/interfaces.js +1 -1
  214. package/dist/chunks/line-chart-model.js +1 -1
  215. package/dist/chunks/model-with-baseline-stacking.js +1 -1
  216. package/dist/chunks/model-with-data-labels.js +1 -1
  217. package/dist/chunks/model-with-multi-axes.js +1 -1
  218. package/dist/chunks/model-with-rotation.js +1 -1
  219. package/dist/chunks/pie-chart-data.js +1 -1
  220. package/dist/chunks/pie-chart-model.js +1 -1
  221. package/dist/chunks/popover-ui-utils.js +1 -1
  222. package/dist/chunks/radar-chart-model.js +1 -1
  223. package/dist/chunks/resource.js +1 -1
  224. package/dist/chunks/rest-js-object-literals.js +1 -1
  225. package/dist/chunks/runtime.js +1 -1
  226. package/dist/chunks/scatterplot-model.js +1 -1
  227. package/dist/chunks/serial-chart-data.js +1 -1
  228. package/dist/chunks/serial-chart-model.js +1 -1
  229. package/dist/chunks/series-types.js +1 -1
  230. package/dist/chunks/series.js +1 -1
  231. package/dist/chunks/sk_SK.js +1 -1
  232. package/dist/chunks/store.js +1 -1
  233. package/dist/chunks/type-guards.js +1 -1
  234. package/dist/chunks/useT9n.js +1 -1
  235. package/dist/chunks/web-component-utils.js +1 -1
  236. package/dist/components/arcgis-chart/customElement.d.ts +2 -1
  237. package/dist/components/arcgis-chart/customElement.js +3623 -3574
  238. package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
  239. package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
  240. package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
  241. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  242. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
  243. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
  244. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
  245. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
  246. package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
  247. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +11 -7
  248. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
  249. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
  250. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
  251. package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
  252. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +2 -2
  253. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  254. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  255. package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
  256. package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
  257. package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
  258. package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
  259. package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
  260. package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
  261. package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
  262. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
  263. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  264. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
  265. package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
  266. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
  267. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
  268. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
  269. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  270. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
  271. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
  272. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
  273. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
  274. package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
  275. package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
  276. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
  277. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
  278. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
  279. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
  280. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
  281. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
  282. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
  283. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
  284. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
  285. package/dist/components/arcgis-charts-config-view-charts/customElement.js +5 -5
  286. package/dist/docs/api.json +4 -4
  287. package/dist/docs/docs.json +6 -6
  288. package/dist/docs/vscode.html-custom-data.json +1 -1
  289. package/dist/docs/web-types.json +5 -5
  290. package/dist/index.js +1 -1
  291. package/dist/loader.js +1 -1
  292. package/dist/model.js +1 -1
  293. package/dist/utils/chart-config/utils/index.d.ts +4 -4
  294. package/dist/utils/components/data-update.d.ts +5 -2
  295. package/package.json +3 -3
  296. package/dist/cdn/SEOPOYFS.js +0 -4
  297. package/dist/cdn/YRZXP3IW.js +0 -4
@@ -30,7 +30,7 @@ import { LitElement as v, createEvent as s, safeClassMap as c, renderElement as
30
30
  import { repeat as w } from "lit/directives/repeat.js";
31
31
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
32
32
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
33
- v5.0.0-next.35 */
33
+ v5.0.0-next.37 */
34
34
  const n = {
35
35
  addChartContainer: "add-chart-container",
36
36
  viewChartComponent: "view-chart-component",
@@ -58,7 +58,7 @@ class R extends v {
58
58
  o && h && (r.splice(i, 1), r.splice(t, 0, o)), this.chartsOrderReorderCounter += 1, this.arcgisChartsConfigModelListReorder.emit({ modelList: r });
59
59
  }
60
60
  }
61
- }, this.chartTitle = "", this.chartsOrderReorderCounter = 0, this.noGroup = !1, this.disableEditing = !1, this.arcgisChartsConfigModelListReorder = s(), this.arcgisChartsConfigViewChartAddChart = s(), this.arcgisChartsConfigViewChartDelete = s(), this.arcgisChartsConfigViewChartEdit = s(), this.arcgisChartsConfigViewChartSelect = s();
61
+ }, this.isChartRenamePopoverOpen = !1, this.chartTitle = "", this.chartsOrderReorderCounter = 0, this.noGroup = !1, this.disableEditing = !1, this.arcgisChartsConfigModelListReorder = s(), this.arcgisChartsConfigViewChartAddChart = s(), this.arcgisChartsConfigViewChartDelete = s(), this.arcgisChartsConfigViewChartEdit = s(), this.arcgisChartsConfigViewChartSelect = s();
62
62
  }
63
63
  static {
64
64
  this.properties = { isChartRenamePopoverOpen: 16, chartTitle: 16, selectedActionChartId: 16, chartsOrderReorderCounter: 16, messageOverrides: 0, selectedChartId: 1, layer: 0, modelList: 0, noGroup: 5, disableEditing: 5 };
@@ -80,7 +80,7 @@ class R extends v {
80
80
  });
81
81
  }
82
82
  onAddChartClick(e) {
83
- e.stopImmediatePropagation(), this.arcgisChartsConfigViewChartAddChart.emit({
83
+ e.stopImmediatePropagation(), this.selectedActionChartId = void 0, this.isChartRenamePopoverOpen && this.removeChartRenamePopover(), this.arcgisChartsConfigViewChartAddChart.emit({
84
84
  referenceElement: e.target,
85
85
  layerId: this.layer?.id.toString()
86
86
  });
@@ -88,7 +88,7 @@ class R extends v {
88
88
  buildChartList() {
89
89
  const e = this.modelList ? w(this.modelList, (t) => t.chartId, (t, i) => {
90
90
  const r = t.chartId, o = t.titleText, h = p(t.config);
91
- return a`<calcite-list-item .label=${o ?? r ?? this._messages.chartTitle} .selected=${this.selectedChartId === (r?.toString() ?? i.toString())} .value=${r ?? i.toString()} @click=${this.onChartSelect}><calcite-icon slot=content-start .icon=${h}></calcite-icon>${this.disableEditing ? null : a`<calcite-dropdown slot=actions-end overlay-positioning=fixed placement=bottom-end @calciteDropdownClose=${() => this.chartActionClosed(r ?? "")} @calciteDropdownOpen=${() => this.chartActionOpened(r ?? "")} class=${c(n.dropdownPopup)}><calcite-action scale=l .text=${this._messages.chartActions ?? ""} slot=trigger .active=${r === this.selectedActionChartId}><calcite-icon icon=ellipsis></calcite-icon></calcite-action><calcite-dropdown-group selection-mode=none><calcite-dropdown-item accesskey=edit @calciteDropdownItemSelect=${this.chartEditSelect}>${this._messages.edit}</calcite-dropdown-item><calcite-dropdown-item accesskey=rename @click=${(l) => l.stopPropagation()} @calciteDropdownItemSelect=${this.chartRenameSelect}>${this._messages.rename}</calcite-dropdown-item><calcite-dropdown-item accesskey=delete @calciteDropdownItemSelect=${this.chartDeleteSelect}>${this._messages.delete}</calcite-dropdown-item></calcite-dropdown-group></calcite-dropdown>`}</calcite-list-item>`;
91
+ return a`<calcite-list-item .label=${o ?? r ?? this._messages.chartTitle} .selected=${this.selectedChartId === (r?.toString() ?? i.toString())} .value=${r ?? i.toString()} @click=${this.onChartSelect}><calcite-icon slot=content-start .icon=${h}></calcite-icon>${this.disableEditing ? null : a`<calcite-dropdown slot=actions-end overlay-positioning=fixed placement=bottom-end .open=${this.selectedActionChartId === r} @calciteDropdownClose=${() => this.chartActionClosed(r ?? "")} @calciteDropdownOpen=${() => this.chartActionOpened(r ?? "")} class=${c(n.dropdownPopup)}><calcite-action scale=l .text=${this._messages.chartActions ?? ""} slot=trigger .active=${r === this.selectedActionChartId}><calcite-icon icon=ellipsis></calcite-icon></calcite-action><calcite-dropdown-group selection-mode=none><calcite-dropdown-item accesskey=edit @calciteDropdownItemSelect=${this.chartEditSelect}>${this._messages.edit}</calcite-dropdown-item><calcite-dropdown-item accesskey=rename @click=${(l) => l.stopPropagation()} @calciteDropdownItemSelect=${this.chartRenameSelect}>${this._messages.rename}</calcite-dropdown-item><calcite-dropdown-item accesskey=delete @calciteDropdownItemSelect=${this.chartDeleteSelect}>${this._messages.delete}</calcite-dropdown-item></calcite-dropdown-group></calcite-dropdown>`}</calcite-list-item>`;
92
92
  }) : null;
93
93
  return this.layer ? a`<div>${this.noGroup ? null : a`<p class=${c(n.header)}>${this.layer.title ?? this.layer.id.toString()}</p>`}${m(this.chartsOrderReorderCounter, a`<calcite-list label .dragEnabled=${!this.disableEditing} selection-mode=single selection-appearance=border @calciteListOrderChange=${this.onCalciteListOrderChange}>${e}${this.disableEditing ? null : a`<div class=${c(n.addChartContainer)}><calcite-fab slot=fab appearance=outline-fill kind=neutral text-enabled .text=${this._messages.addChart} .label=${this._messages.addChart} @click=${this.onAddChartClick} scale=s></calcite-fab></div>`}</calcite-list>`)}</div>` : null;
94
94
  }
@@ -116,7 +116,7 @@ class R extends v {
116
116
  }), this.selectedActionChartId = "");
117
117
  }
118
118
  chartActionClosed(e) {
119
- e === this.selectedActionChartId && !this.isChartRenamePopoverOpen && (this.selectedActionChartId = "");
119
+ e === this.selectedActionChartId && !this.isChartRenamePopoverOpen && (this.selectedActionChartId = void 0);
120
120
  }
121
121
  chartActionOpened(e) {
122
122
  this.selectedActionChartId = e;
@@ -1,8 +1,8 @@
1
1
  {
2
- "timestamp": "2025-10-27T04:43:35",
2
+ "timestamp": "2025-10-29T04:44:50",
3
3
  "compiler": {
4
4
  "name": "@arcgis/lumina-compiler",
5
- "version": "5.0.0-next.35",
5
+ "version": "5.0.0-next.37",
6
6
  "typescriptVersion": "5.8.3"
7
7
  },
8
8
  "schemaVersion": "1.0.0",
@@ -2960,7 +2960,7 @@
2960
2960
  },
2961
2961
  {
2962
2962
  "name": "arcgisDataFetchComplete",
2963
- "description": "Event triggered once the chart data has been fetched but not yet fully processed.\nFor instance it can be useful for a pie chart to see all the slices before they get grouped into an 'other' slice during the post-processing step.",
2963
+ "description": "Event triggered once the chart data has been fetched but not yet fully processed.\nOnly supported for pie chart at the moment.\nFor instance it can be useful to see all the slices before they get grouped into an 'other' slice during the post-processing step.",
2964
2964
  "type": {
2965
2965
  "text": "WebChartBoxPlotDataItem | WebChartGenericDataItem | WebChartHistogramDataItem | WebChartScatterplotDataItem",
2966
2966
  "references": [
@@ -4019,7 +4019,7 @@
4019
4019
  "name": "hiddenActions",
4020
4020
  "description": "Holds a list of actions to hide from the action bar.\n\n**Note:** The edit chart action is hidden by default. To show it, remove its value from this array.",
4021
4021
  "type": {
4022
- "text": "Array<\"legend\" | \"zoom\" | \"filterBySelection\" | \"fullExtent\" | \"editChart\" | \"filterByExtent\" | \"rotateChart\" | \"selection\" | \"clearSelection\" | \"switchSelection\" | \"exportAsImage\" | \"exportAsCSV\">",
4022
+ "text": "Array<\"legend\" | \"zoom\" | \"fullExtent\" | \"filterBySelection\" | \"editChart\" | \"filterByExtent\" | \"rotateChart\" | \"selection\" | \"clearSelection\" | \"switchSelection\" | \"exportAsImage\" | \"exportAsCSV\">",
4023
4023
  "references": [
4024
4024
  {
4025
4025
  "name": "Array",
@@ -1,8 +1,8 @@
1
1
  {
2
- "timestamp": "2025-10-27T04:43:35",
2
+ "timestamp": "2025-10-29T04:44:50",
3
3
  "compiler": {
4
4
  "name": "@arcgis/lumina-compiler",
5
- "version": "5.0.0-next.35",
5
+ "version": "5.0.0-next.37",
6
6
  "typescriptVersion": "5.8.3"
7
7
  },
8
8
  "components": [
@@ -2612,7 +2612,7 @@
2612
2612
  },
2613
2613
  "cancelable": true,
2614
2614
  "composed": true,
2615
- "docs": "Event triggered once the chart data has been fetched but not yet fully processed.\nFor instance it can be useful for a pie chart to see all the slices before they get grouped into an 'other' slice during the post-processing step.",
2615
+ "docs": "Event triggered once the chart data has been fetched but not yet fully processed.\nOnly supported for pie chart at the moment.\nFor instance it can be useful to see all the slices before they get grouped into an 'other' slice during the post-processing step.",
2616
2616
  "docsTags": [
2617
2617
  {
2618
2618
  "name": "type",
@@ -3775,10 +3775,10 @@
3775
3775
  },
3776
3776
  {
3777
3777
  "name": "hiddenActions",
3778
- "type": "Array<\"legend\" | \"zoom\" | \"filterBySelection\" | \"fullExtent\" | \"editChart\" | \"filterByExtent\" | \"rotateChart\" | \"selection\" | \"clearSelection\" | \"switchSelection\" | \"exportAsImage\" | \"exportAsCSV\">",
3778
+ "type": "Array<\"legend\" | \"zoom\" | \"fullExtent\" | \"filterBySelection\" | \"editChart\" | \"filterByExtent\" | \"rotateChart\" | \"selection\" | \"clearSelection\" | \"switchSelection\" | \"exportAsImage\" | \"exportAsCSV\">",
3779
3779
  "complexType": {
3780
- "original": "Array<\"legend\" | \"zoom\" | \"filterBySelection\" | \"fullExtent\" | \"editChart\" | \"filterByExtent\" | \"rotateChart\" | \"selection\" | \"clearSelection\" | \"switchSelection\" | \"exportAsImage\" | \"exportAsCSV\">",
3781
- "resolved": "Array<\"legend\" | \"zoom\" | \"filterBySelection\" | \"fullExtent\" | \"editChart\" | \"filterByExtent\" | \"rotateChart\" | \"selection\" | \"clearSelection\" | \"switchSelection\" | \"exportAsImage\" | \"exportAsCSV\">",
3780
+ "original": "Array<\"legend\" | \"zoom\" | \"fullExtent\" | \"filterBySelection\" | \"editChart\" | \"filterByExtent\" | \"rotateChart\" | \"selection\" | \"clearSelection\" | \"switchSelection\" | \"exportAsImage\" | \"exportAsCSV\">",
3781
+ "resolved": "Array<\"legend\" | \"zoom\" | \"fullExtent\" | \"filterBySelection\" | \"editChart\" | \"filterByExtent\" | \"rotateChart\" | \"selection\" | \"clearSelection\" | \"switchSelection\" | \"exportAsImage\" | \"exportAsCSV\">",
3782
3782
  "references": {
3783
3783
  "Array": {
3784
3784
  "location": "import",
@@ -4,7 +4,7 @@
4
4
  "tags": [
5
5
  {
6
6
  "name": "arcgis-chart",
7
- "description": "The ArcGIS Chart component renders a chart based on the provided model. Get started by reading the [Introduction to charts](https://developers.arcgis.com/javascript/latest/charts-components-intro/) page.\n\nSupported chart types include bar charts, box plots, line charts, combo bar-line charts, gauges, heat charts, histograms, pie charts, scatterplots, and radar charts.\n\nSee also:\n- [Introduction to charts](https://developers.arcgis.com/javascript/latest/charts-components-intro/)\n- [Tutorial: Display a chart](https://developers.arcgis.com/javascript/latest/tutorials/display-and-create-charts-components/)\n- [Tutorial: Create a heat chart](https://developers.arcgis.com/javascript/latest/tutorials/create-a-heat-chart/)\n- [Tutorial: Modify a chart](https://developers.arcgis.com/javascript/latest/tutorials/modify-a-chart/)\n--\n\n### Events\n- **arcgisAxesMinMaxChange** - Event triggered once the chart axes min/max values are computed\n- **arcgisBadDataWarningRaise** - Event triggered when an error is detected with the data set\n- **arcgisChartNotFoundWarning** - Event triggered when the chart is not found for the given `chartIndex` property.\n- **arcgisConfigChange** - Event triggered when the chart config is changed\n- **arcgisDataFetchComplete** - Event triggered once the chart data has been fetched but not yet fully processed.\nFor instance it can be useful for a pie chart to see all the slices before they get grouped into an 'other' slice during the post-processing step.\n- **arcgisDataProcessComplete** - Event triggered once the chart data has been processed\n- **arcgisDataProcessError** - Event triggered when an error occurred while fetching of processing the data for the chart\n- **arcgisLegendItemVisibilityChange** - Event triggered once a legend item visibility has been changed\n- **arcgisNoRenderPropChange** - Event triggered when a no-render prop is changed\n- **arcgisRuntimeError** - Event triggered when an error occurred that prevents the chart from being created or updated\n- **arcgisSelectionComplete** - Event triggered when a selection is applied to the chart\n- **arcgisSeriesColorChange** - Event triggered once the chart series color have been assigned\n- **arcgisSeriesOrder** - Event carrying the series id as they have been sorted following the `orderOptions` instructions\n- **arcgisUpdateComplete** - Event triggered once the chart is updated\n\n### Methods\n- `clearSelection(): Promise<void>` - Clears all selection on the chart.\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `errorAlert(errorMessage?: string): Promise<void>` - Triggers an alert to display an error message.\n- `exportAsCSV(options?: CSVOptions): Promise<void>` - Export the current chart's data as a CSV file.\n- `exportAsImage(format?: DownloadableChartImagesTypes): Promise<void>` - Export the current chart as an image.\n- `loadModel(): Promise<void>` - Returns a promise that resolves when the chart model is fully loaded.\n- `notify(message?: string, heading?: string, options?: NotifyOptions): Promise<void>` - Notify method allows passing external messages to the chart component.\nIt can be used to pass validation or information messages.\nIn a situation where a config update is overriding your notification modal,\nconsider waiting for the `arcgisUpdateComplete` event.\n- `refresh(props?: { updateData?: boolean; resetAxesBounds?: boolean; }): Promise<void>` - Re-render the chart.\n- `resetZoom(): Promise<void>` - Resets the chart zoom to bring it back to full extent\n- `switchSelection(): Promise<void>` - Switches the selection on the chart.\n\n### Slots\n- **action-bar** - Slot for adding a `charts-action-bar` component or `calcite-action-bar`.",
7
+ "description": "The ArcGIS Chart component renders a chart based on the provided model. Get started by reading the [Introduction to charts](https://developers.arcgis.com/javascript/latest/charts-components-intro/) page.\n\nSupported chart types include bar charts, box plots, line charts, combo bar-line charts, gauges, heat charts, histograms, pie charts, scatterplots, and radar charts.\n\nSee also:\n- [Introduction to charts](https://developers.arcgis.com/javascript/latest/charts-components-intro/)\n- [Tutorial: Display a chart](https://developers.arcgis.com/javascript/latest/tutorials/display-and-create-charts-components/)\n- [Tutorial: Create a heat chart](https://developers.arcgis.com/javascript/latest/tutorials/create-a-heat-chart/)\n- [Tutorial: Modify a chart](https://developers.arcgis.com/javascript/latest/tutorials/modify-a-chart/)\n--\n\n### Events\n- **arcgisAxesMinMaxChange** - Event triggered once the chart axes min/max values are computed\n- **arcgisBadDataWarningRaise** - Event triggered when an error is detected with the data set\n- **arcgisChartNotFoundWarning** - Event triggered when the chart is not found for the given `chartIndex` property.\n- **arcgisConfigChange** - Event triggered when the chart config is changed\n- **arcgisDataFetchComplete** - Event triggered once the chart data has been fetched but not yet fully processed.\nOnly supported for pie chart at the moment.\nFor instance it can be useful to see all the slices before they get grouped into an 'other' slice during the post-processing step.\n- **arcgisDataProcessComplete** - Event triggered once the chart data has been processed\n- **arcgisDataProcessError** - Event triggered when an error occurred while fetching of processing the data for the chart\n- **arcgisLegendItemVisibilityChange** - Event triggered once a legend item visibility has been changed\n- **arcgisNoRenderPropChange** - Event triggered when a no-render prop is changed\n- **arcgisRuntimeError** - Event triggered when an error occurred that prevents the chart from being created or updated\n- **arcgisSelectionComplete** - Event triggered when a selection is applied to the chart\n- **arcgisSeriesColorChange** - Event triggered once the chart series color have been assigned\n- **arcgisSeriesOrder** - Event carrying the series id as they have been sorted following the `orderOptions` instructions\n- **arcgisUpdateComplete** - Event triggered once the chart is updated\n\n### Methods\n- `clearSelection(): Promise<void>` - Clears all selection on the chart.\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `errorAlert(errorMessage?: string): Promise<void>` - Triggers an alert to display an error message.\n- `exportAsCSV(options?: CSVOptions): Promise<void>` - Export the current chart's data as a CSV file.\n- `exportAsImage(format?: DownloadableChartImagesTypes): Promise<void>` - Export the current chart as an image.\n- `loadModel(): Promise<void>` - Returns a promise that resolves when the chart model is fully loaded.\n- `notify(message?: string, heading?: string, options?: NotifyOptions): Promise<void>` - Notify method allows passing external messages to the chart component.\nIt can be used to pass validation or information messages.\nIn a situation where a config update is overriding your notification modal,\nconsider waiting for the `arcgisUpdateComplete` event.\n- `refresh(props?: { updateData?: boolean; resetAxesBounds?: boolean; }): Promise<void>` - Re-render the chart.\n- `resetZoom(): Promise<void>` - Resets the chart zoom to bring it back to full extent\n- `switchSelection(): Promise<void>` - Switches the selection on the chart.\n\n### Slots\n- **action-bar** - Slot for adding a `charts-action-bar` component or `calcite-action-bar`.",
8
8
  "attributes": [
9
9
  {
10
10
  "name": "action-mode",
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@arcgis/charts-components",
4
- "version": "5.0.0-next.35",
4
+ "version": "5.0.0-next.37",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "elements": [
9
9
  {
10
10
  "name": "arcgis-chart",
11
- "description": "The ArcGIS Chart component renders a chart based on the provided model. Get started by reading the [Introduction to charts](https://developers.arcgis.com/javascript/latest/charts-components-intro/) page.\n\nSupported chart types include bar charts, box plots, line charts, combo bar-line charts, gauges, heat charts, histograms, pie charts, scatterplots, and radar charts.\n\nSee also:\n- [Introduction to charts](https://developers.arcgis.com/javascript/latest/charts-components-intro/)\n- [Tutorial: Display a chart](https://developers.arcgis.com/javascript/latest/tutorials/display-and-create-charts-components/)\n- [Tutorial: Create a heat chart](https://developers.arcgis.com/javascript/latest/tutorials/create-a-heat-chart/)\n- [Tutorial: Modify a chart](https://developers.arcgis.com/javascript/latest/tutorials/modify-a-chart/)\n--\n\n### Events\n- **arcgisAxesMinMaxChange** - Event triggered once the chart axes min/max values are computed\n- **arcgisBadDataWarningRaise** - Event triggered when an error is detected with the data set\n- **arcgisChartNotFoundWarning** - Event triggered when the chart is not found for the given `chartIndex` property.\n- **arcgisConfigChange** - Event triggered when the chart config is changed\n- **arcgisDataFetchComplete** - Event triggered once the chart data has been fetched but not yet fully processed.\nFor instance it can be useful for a pie chart to see all the slices before they get grouped into an 'other' slice during the post-processing step.\n- **arcgisDataProcessComplete** - Event triggered once the chart data has been processed\n- **arcgisDataProcessError** - Event triggered when an error occurred while fetching of processing the data for the chart\n- **arcgisLegendItemVisibilityChange** - Event triggered once a legend item visibility has been changed\n- **arcgisNoRenderPropChange** - Event triggered when a no-render prop is changed\n- **arcgisRuntimeError** - Event triggered when an error occurred that prevents the chart from being created or updated\n- **arcgisSelectionComplete** - Event triggered when a selection is applied to the chart\n- **arcgisSeriesColorChange** - Event triggered once the chart series color have been assigned\n- **arcgisSeriesOrder** - Event carrying the series id as they have been sorted following the `orderOptions` instructions\n- **arcgisUpdateComplete** - Event triggered once the chart is updated\n\n### Methods\n- `clearSelection(): Promise<void>` - Clears all selection on the chart.\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `errorAlert(errorMessage?: string): Promise<void>` - Triggers an alert to display an error message.\n- `exportAsCSV(options?: CSVOptions): Promise<void>` - Export the current chart's data as a CSV file.\n- `exportAsImage(format?: DownloadableChartImagesTypes): Promise<void>` - Export the current chart as an image.\n- `loadModel(): Promise<void>` - Returns a promise that resolves when the chart model is fully loaded.\n- `notify(message?: string, heading?: string, options?: NotifyOptions): Promise<void>` - Notify method allows passing external messages to the chart component.\nIt can be used to pass validation or information messages.\nIn a situation where a config update is overriding your notification modal,\nconsider waiting for the `arcgisUpdateComplete` event.\n- `refresh(props?: { updateData?: boolean; resetAxesBounds?: boolean; }): Promise<void>` - Re-render the chart.\n- `resetZoom(): Promise<void>` - Resets the chart zoom to bring it back to full extent\n- `switchSelection(): Promise<void>` - Switches the selection on the chart.\n\n### Slots\n- **action-bar** - Slot for adding a `charts-action-bar` component or `calcite-action-bar`.",
11
+ "description": "The ArcGIS Chart component renders a chart based on the provided model. Get started by reading the [Introduction to charts](https://developers.arcgis.com/javascript/latest/charts-components-intro/) page.\n\nSupported chart types include bar charts, box plots, line charts, combo bar-line charts, gauges, heat charts, histograms, pie charts, scatterplots, and radar charts.\n\nSee also:\n- [Introduction to charts](https://developers.arcgis.com/javascript/latest/charts-components-intro/)\n- [Tutorial: Display a chart](https://developers.arcgis.com/javascript/latest/tutorials/display-and-create-charts-components/)\n- [Tutorial: Create a heat chart](https://developers.arcgis.com/javascript/latest/tutorials/create-a-heat-chart/)\n- [Tutorial: Modify a chart](https://developers.arcgis.com/javascript/latest/tutorials/modify-a-chart/)\n--\n\n### Events\n- **arcgisAxesMinMaxChange** - Event triggered once the chart axes min/max values are computed\n- **arcgisBadDataWarningRaise** - Event triggered when an error is detected with the data set\n- **arcgisChartNotFoundWarning** - Event triggered when the chart is not found for the given `chartIndex` property.\n- **arcgisConfigChange** - Event triggered when the chart config is changed\n- **arcgisDataFetchComplete** - Event triggered once the chart data has been fetched but not yet fully processed.\nOnly supported for pie chart at the moment.\nFor instance it can be useful to see all the slices before they get grouped into an 'other' slice during the post-processing step.\n- **arcgisDataProcessComplete** - Event triggered once the chart data has been processed\n- **arcgisDataProcessError** - Event triggered when an error occurred while fetching of processing the data for the chart\n- **arcgisLegendItemVisibilityChange** - Event triggered once a legend item visibility has been changed\n- **arcgisNoRenderPropChange** - Event triggered when a no-render prop is changed\n- **arcgisRuntimeError** - Event triggered when an error occurred that prevents the chart from being created or updated\n- **arcgisSelectionComplete** - Event triggered when a selection is applied to the chart\n- **arcgisSeriesColorChange** - Event triggered once the chart series color have been assigned\n- **arcgisSeriesOrder** - Event carrying the series id as they have been sorted following the `orderOptions` instructions\n- **arcgisUpdateComplete** - Event triggered once the chart is updated\n\n### Methods\n- `clearSelection(): Promise<void>` - Clears all selection on the chart.\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `errorAlert(errorMessage?: string): Promise<void>` - Triggers an alert to display an error message.\n- `exportAsCSV(options?: CSVOptions): Promise<void>` - Export the current chart's data as a CSV file.\n- `exportAsImage(format?: DownloadableChartImagesTypes): Promise<void>` - Export the current chart as an image.\n- `loadModel(): Promise<void>` - Returns a promise that resolves when the chart model is fully loaded.\n- `notify(message?: string, heading?: string, options?: NotifyOptions): Promise<void>` - Notify method allows passing external messages to the chart component.\nIt can be used to pass validation or information messages.\nIn a situation where a config update is overriding your notification modal,\nconsider waiting for the `arcgisUpdateComplete` event.\n- `refresh(props?: { updateData?: boolean; resetAxesBounds?: boolean; }): Promise<void>` - Re-render the chart.\n- `resetZoom(): Promise<void>` - Resets the chart zoom to bring it back to full extent\n- `switchSelection(): Promise<void>` - Switches the selection on the chart.\n\n### Slots\n- **action-bar** - Slot for adding a `charts-action-bar` component or `calcite-action-bar`.",
12
12
  "doc-url": "https://developers.arcgis.com/javascript/latest/references/charts-components/arcgis-chart/",
13
13
  "attributes": [
14
14
  {
@@ -403,7 +403,7 @@
403
403
  {
404
404
  "name": "arcgisDataFetchComplete",
405
405
  "type": "WebChartBoxPlotDataItem | WebChartGenericDataItem | WebChartHistogramDataItem | WebChartScatterplotDataItem",
406
- "description": "Event triggered once the chart data has been fetched but not yet fully processed.\nFor instance it can be useful for a pie chart to see all the slices before they get grouped into an 'other' slice during the post-processing step."
406
+ "description": "Event triggered once the chart data has been fetched but not yet fully processed.\nOnly supported for pie chart at the moment.\nFor instance it can be useful to see all the slices before they get grouped into an 'other' slice during the post-processing step."
407
407
  },
408
408
  {
409
409
  "name": "arcgisDataProcessComplete",
@@ -773,7 +773,7 @@
773
773
  {
774
774
  "name": "arcgisDataFetchComplete",
775
775
  "type": "WebChartBoxPlotDataItem | WebChartGenericDataItem | WebChartHistogramDataItem | WebChartScatterplotDataItem",
776
- "description": "Event triggered once the chart data has been fetched but not yet fully processed.\nFor instance it can be useful for a pie chart to see all the slices before they get grouped into an 'other' slice during the post-processing step."
776
+ "description": "Event triggered once the chart data has been fetched but not yet fully processed.\nOnly supported for pie chart at the moment.\nFor instance it can be useful to see all the slices before they get grouped into an 'other' slice during the post-processing step."
777
777
  },
778
778
  {
779
779
  "name": "arcgisDataProcessComplete",
@@ -1382,7 +1382,7 @@
1382
1382
  {
1383
1383
  "name": "hiddenActions",
1384
1384
  "description": "Holds a list of actions to hide from the action bar.\n\n**Note:** The edit chart action is hidden by default. To show it, remove its value from this array.",
1385
- "type": "Array<\"legend\" | \"zoom\" | \"filterBySelection\" | \"fullExtent\" | \"editChart\" | \"filterByExtent\" | \"rotateChart\" | \"selection\" | \"clearSelection\" | \"switchSelection\" | \"exportAsImage\" | \"exportAsCSV\">"
1385
+ "type": "Array<\"legend\" | \"zoom\" | \"fullExtent\" | \"filterBySelection\" | \"editChart\" | \"filterByExtent\" | \"rotateChart\" | \"selection\" | \"clearSelection\" | \"switchSelection\" | \"exportAsImage\" | \"exportAsCSV\">"
1386
1386
  },
1387
1387
  {
1388
1388
  "name": "legendState",
package/dist/index.js CHANGED
@@ -16,7 +16,7 @@ import { B as Oo, a as $o, C as Eo, H as No, L as Vo, P as ko, S as Ho } from ".
16
16
  import { g as Go, s as Qo } from "./chunks/runtime.js";
17
17
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
18
18
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
19
- v5.0.0-next.35 */
19
+ v5.0.0-next.37 */
20
20
  function v(a) {
21
21
  let o;
22
22
  switch (a.length) {
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.35 */
5
+ v5.0.0-next.37 */
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.35 */
7
+ v5.0.0-next.37 */
8
8
  async function c(t) {
9
9
  const o = "config" in t ? r(t.config) : t.chartType;
10
10
  let a;
@@ -1,9 +1,9 @@
1
+ import { ChartOptions } from '../../../chart-rendering/common/interfaces';
1
2
  import { IField, TimeIntervalInfo, WebBoxPlot, WebChart, WebChartSeriesType, RESTSymbolType, WebChartTypes, WebChartVersionStatus } from '../../../spec';
3
+ import { DataUpdateDetails } from '../../data/interfaces';
2
4
  import { LimitBehavior } from '../../defaults/interfaces';
3
5
  import { ChartSubType } from '../../misc/interfaces';
4
6
  import { WebChartSeriesSupportingTemporalBinning } from './interfaces';
5
- import { ChartOptions } from '../../../chart-rendering/common/interfaces';
6
- import { DataUpdateDetails } from '../../data/interfaces';
7
7
  /**
8
8
  * Retrieve and construct chart version information based on the input version and the currently supported ArcGIS Chart versions
9
9
  * defined in `chartConfigVersions`. Returned information includes:
@@ -239,7 +239,7 @@ export declare function hasSlicesConfigChanged(props: {
239
239
  newConfig: WebChart;
240
240
  }): boolean;
241
241
  export declare function hasDataForFilterBySelectionChanged(props: {
242
- currentSelectionOIDs?: number[];
242
+ previousSelectionOIDs?: number[];
243
243
  options?: ChartOptions;
244
244
  }): boolean;
245
245
  /**
@@ -332,7 +332,7 @@ export declare function doesConfigChangeRequireNewData(props: {
332
332
  options?: ChartOptions;
333
333
  previousFilterBySelection?: boolean;
334
334
  previousTimeIntervalInfo?: TimeIntervalInfo;
335
- currentSelectionOIDs?: number[];
335
+ previousSelectionOIDs?: number[];
336
336
  fieldList?: IField[];
337
337
  }): {
338
338
  dataUpdateNeeded: boolean;
@@ -1,7 +1,8 @@
1
+ import { ChartOptions } from '../../chart-rendering/common/interfaces';
2
+ import { ArcgisChart } from '../../components/arcgis-chart/customElement.js';
1
3
  import { IField, WebChart } from '../../spec';
2
4
  import { DataUpdateDetails } from '../data/interfaces';
3
- import { ArcgisChart } from '../../components/arcgis-chart/customElement.js';
4
- import { ChartOptions } from '../../chart-rendering/common/interfaces';
5
+ import { SelectionData } from '../misc/interfaces';
5
6
  /**
6
7
  * Indicates whether a data update is needed based on the changed properties.
7
8
  * Checks for:
@@ -13,6 +14,7 @@ import { ChartOptions } from '../../chart-rendering/common/interfaces';
13
14
  * @param props.dataUpdateNeededProps The list of properties that require a data update when changed
14
15
  * @param props.updatedProps A map of the properties that have been updated with their old and new values
15
16
  * @param props.filterBySelection The current filterBySelection value
17
+ * @param props.previousSelectionOIDs The previous selection OIDs
16
18
  * @param props.chartData The current chart data
17
19
  * @param props.options The current chart options
18
20
  * @param props.fieldList The list of fields in the layer or feature layer view
@@ -24,6 +26,7 @@ export declare function isDataUpdateNeeded(props: {
24
26
  dataUpdateNeededProps: ArcgisChart["dataUpdateNeededProps"];
25
27
  updatedProps: ArcgisChart["updatedProps"];
26
28
  filterBySelection: ArcgisChart["filterBySelection"];
29
+ previousSelectionOIDs: SelectionData["selectionOIDs"];
27
30
  chartData: ArcgisChart["chartData"];
28
31
  options: ChartOptions;
29
32
  fieldList: IField[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/charts-components",
3
- "version": "5.0.0-next.35",
3
+ "version": "5.0.0-next.37",
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.3",
31
- "@arcgis/lumina": "5.0.0-next.35",
32
- "@arcgis/toolkit": "5.0.0-next.35",
31
+ "@arcgis/lumina": "5.0.0-next.37",
32
+ "@arcgis/toolkit": "5.0.0-next.37",
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.35 */
4
- import{a as w}from"./AXOCIYLE.js";import{a as u}from"./FK4USOGN.js";import{a as v}from"./M566W3WU.js";import{a as f}from"./BD53D2R6.js";import{a as g}from"./MHC663LK.js";import b from"./HXGDIYXM.js";import"./NNBBUHOM.js";import"./KBHQXDI4.js";import"./ECGF4GMS.js";import{C as p,E as C,g as d,h as a,l as s,y as m,z as o}from"./CC74AOIC.js";import"./Y6PYDXMN.js";export default $arcgis.t(([])=>{var n={addChartContainer:"add-chart-container",viewChartComponent:"view-chart-component",header:"header",dropdownPopup:"dropdown-popup"},R=d`.view-chart-component{width:var(--arcgis-charts-config-panel-width);height:var(--arcgis-charts-config-panel-height)}.add-chart-container{display:flex;justify-content:center;padding:2rem 0;background-color:var(--calcite-color-background)}.header{margin-left:1rem}.dropdown-popup{position:relative}`,l=class extends m{constructor(){super(...arguments),this._messages=g(),this.chartRenamePopover=null,this.popoverClose=()=>{let e=this.modelList?.find(t=>t.chartId===this.selectedChartId);this.chartTitle=e?.titleText??"",this.selectedActionChartId="",this.removeChartRenamePopover()},this.onChartRename=e=>{if(!this.disableEditing){this.chartTitle=e.detail.name;let t=this.modelList?.find(i=>i.chartId===this.selectedActionChartId);t!==void 0&&(t.titleText=this.chartTitle),this.selectedActionChartId="",this.removeChartRenamePopover()}},this.onModelConfigChange=()=>{this.requestUpdate()},this.onCalciteListOrderChange=e=>{if(e.detail!==null&&e.detail!==void 0){let{newIndex:t,oldIndex:i}=e.detail;if(this.modelList!==void 0&&this.modelList?.length>0){let r=[...this.modelList],c=r?.[i],h=r?.[t];c&&h&&(r.splice(i,1),r.splice(t,0,c)),this.chartsOrderReorderCounter+=1,this.arcgisChartsConfigModelListReorder.emit({modelList:r})}}},this.chartTitle="",this.chartsOrderReorderCounter=0,this.noGroup=!1,this.disableEditing=!1,this.arcgisChartsConfigModelListReorder=s(),this.arcgisChartsConfigViewChartAddChart=s(),this.arcgisChartsConfigViewChartDelete=s(),this.arcgisChartsConfigViewChartEdit=s(),this.arcgisChartsConfigViewChartSelect=s()}static{this.properties={isChartRenamePopoverOpen:16,chartTitle:16,selectedActionChartId:16,chartsOrderReorderCounter:16,messageOverrides:0,selectedChartId:1,layer:0,modelList:0,noGroup:5,disableEditing:5}}static{this.styles=R}willUpdate(e){e.has("modelList")&&this.modelListChange(this.modelList,e.get("modelList"))}disconnectedCallback(){super.disconnectedCallback(),this.removeChartRenamePopover()}modelListChange(e,t){t?.forEach(i=>{i.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}),e?.forEach(i=>{i.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)})}onAddChartClick(e){e.stopImmediatePropagation(),this.arcgisChartsConfigViewChartAddChart.emit({referenceElement:e.target,layerId:this.layer?.id.toString()})}buildChartList(){let e=this.modelList?u(this.modelList,t=>t.chartId,(t,i)=>{let r=t.chartId,c=t.titleText,h=w(t.config);return a`<calcite-list-item .label=${c??r??this._messages.chartTitle} .selected=${this.selectedChartId===(r?.toString()??i.toString())} .value=${r??i.toString()} @click=${this.onChartSelect}><calcite-icon slot=content-start .icon=${h}></calcite-icon>${this.disableEditing?null:a`<calcite-dropdown slot=actions-end overlay-positioning=fixed placement=bottom-end @calciteDropdownClose=${()=>this.chartActionClosed(r??"")} @calciteDropdownOpen=${()=>this.chartActionOpened(r??"")} class=${o(n.dropdownPopup)}><calcite-action scale=l .text=${this._messages.chartActions??""} slot=trigger .active=${r===this.selectedActionChartId}><calcite-icon icon=ellipsis></calcite-icon></calcite-action><calcite-dropdown-group selection-mode=none><calcite-dropdown-item accesskey=edit @calciteDropdownItemSelect=${this.chartEditSelect}>${this._messages.edit}</calcite-dropdown-item><calcite-dropdown-item accesskey=rename @click=${$=>$.stopPropagation()} @calciteDropdownItemSelect=${this.chartRenameSelect}>${this._messages.rename}</calcite-dropdown-item><calcite-dropdown-item accesskey=delete @calciteDropdownItemSelect=${this.chartDeleteSelect}>${this._messages.delete}</calcite-dropdown-item></calcite-dropdown-group></calcite-dropdown>`}</calcite-list-item>`}):null;return this.layer?a`<div>${this.noGroup?null:a`<p class=${o(n.header)}>${this.layer.title??this.layer.id.toString()}</p>`}${v(this.chartsOrderReorderCounter,a`<calcite-list label .dragEnabled=${!this.disableEditing} selection-mode=single selection-appearance=border @calciteListOrderChange=${this.onCalciteListOrderChange}>${e}${this.disableEditing?null:a`<div class=${o(n.addChartContainer)}><calcite-fab slot=fab appearance=outline-fill kind=neutral text-enabled .text=${this._messages.addChart} .label=${this._messages.addChart} @click=${this.onAddChartClick} scale=s></calcite-fab></div>`}</calcite-list>`)}</div>`:null}onChartSelect(e){let t=e.currentTarget,i;t?.localName==="calcite-list-item"?i=t.value:t?.localName==="calcite-icon"&&(i=t.parentNode.value),this.arcgisChartsConfigViewChartSelect.emit({chartId:i})}chartEditSelect(){this.disableEditing||(this.arcgisChartsConfigViewChartEdit.emit({chartId:this.selectedActionChartId}),this.chartActionClosed(this.selectedActionChartId))}chartRenameSelect(e){if(!this.disableEditing){let t=e.target.closest("calcite-list-item"),i=this.modelList?.find(r=>r.chartId===this.selectedActionChartId);t!==null&&(this.renameReferenceElement=t),this.arcgisChartsConfigViewChartSelect.emit({chartId:this.selectedActionChartId}),this.chartTitle=i?.titleText??"",this.setupRenamePopover()}}chartDeleteSelect(){this.disableEditing||(this.arcgisChartsConfigViewChartDelete.emit({chartId:this.selectedActionChartId}),this.selectedActionChartId="")}chartActionClosed(e){e===this.selectedActionChartId&&!this.isChartRenamePopoverOpen&&(this.selectedActionChartId="")}chartActionOpened(e){this.selectedActionChartId=e}setupRenamePopover(){this.isChartRenamePopoverOpen=!0,this.chartRenamePopover!==null&&(this.chartRenamePopover.name=this.chartTitle,this.chartRenamePopover.referenceElement=this.renameReferenceElement),this.chartRenamePopover=p(a`<arcgis-charts-config-chart-rename-popover .name=${this.chartTitle} .referenceElement=${this.renameReferenceElement} .open=${this.isChartRenamePopoverOpen} @arcgisChartsConfigPopoverClose=${this.popoverClose} @arcgisChartsConfigChartRenamePopoverChange=${this.onChartRename}></arcgis-charts-config-chart-rename-popover>`),!document.body.contains(this.chartRenamePopover)&&this.chartRenamePopover!==null&&document.body.appendChild(this.chartRenamePopover)}removeChartRenamePopover(){this.chartRenamePopover!==null&&(this.isChartRenamePopoverOpen=!1,this.chartRenamePopover=f(this.chartRenamePopover))}render(){return a`<div class=${o(n.viewChartComponent)}>${this.buildChartList()}</div>`}};C("arcgis-charts-config-view-charts",l);return l},"renderers/support/jsonUtils","symbols/support/symbolUtils","Graphic","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",b)
@@ -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.35 */
4
- import{a as P,c as L}from"./KXJDIO2V.js";import{a as k}from"./FK4USOGN.js";import{a as f}from"./M566W3WU.js";import{a as p}from"./BD53D2R6.js";import e from"./3OJTOTDU.js";import{k as l,m as g}from"./DLGWTRHE.js";import{a as O}from"./MHC663LK.js";import d from"./HXGDIYXM.js";import{j as b}from"./NNBBUHOM.js";import"./KBHQXDI4.js";import{b as c}from"./OB52X4XJ.js";import{a as w}from"./ECGF4GMS.js";import{C as x,E as F,g as y,h as a,j as S,l as v,w as m,x as h,y as $,z as o}from"./CC74AOIC.js";import"./Y6PYDXMN.js";export default $arcgis.t(([,,,,,,,,,,,,,,,{E:d,bb:u,cb:I},{a:B}])=>{var r={label:"label",fieldList:"field-list",fab:"fab",dimText:"dim-text",list:"list",customSortButtons:"custom-sort-buttons"},E=y`.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)}:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin);margin-top:var(--arcgis-charts-top-section-margin)}.label,.disabled-label{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-minor);justify-content:space-between}.field-list{max-height:50vh;overflow-y:auto}.disabled-label{pointer-events:none}.fab{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:1.5rem;justify-content:center}.list{margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-major)}.custom-sort-buttons{display:flex;justify-content:space-between;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}`,C=class extends ${constructor(){super(...arguments),this._messages=O(),this.boxPlotPopover=null,this.categoryElement=m(),this.numericFieldsElement=m(),this.splitByFieldElement=m(),this.sortOrderElement=m(),this.originalCustomSortLabels=[],this.isCustomSortDisabled=!1,this.onModelConfigChange=()=>{this.requestUpdate()},this.popoverClose=e=>{this.boxPlotPopover===e?.target&&(this.boxPlotPopover=p(this.boxPlotPopover))},this.onBoxPlotDataChange=async e=>{try{if(e.detail!==null&&e.detail?.value!==void 0){let{contentKind:t}=e.detail,s=[...e.detail.value];switch(L(P),t){case l.category:{let i=s[0]?.trim()||d;if(this.model.category=i,this.model.getSortOrder()===c.customSort){let n=await this.updateCustomSortProps();this.model.orderByList=n,this.sortOrderResetCounter+=1}break}case l.numericFields:{this.model.numericFields=s;let i=s.length>1;if(this.model.standardizeValues=i,this.model.getSortOrder()===c.customSort){let n=await this.updateCustomSortProps();this.model.orderByList=n,this.sortOrderResetCounter+=1}break}case l.splitByField:{let i=s[0]?.trim()||"";this.model.splitByField=i;break}case l.sortOrder:{let i=s[0];if(i===c.customSort){let n=await this.updateCustomSortProps();this.model.setSortOrder(i,n)}else this.model.setSortOrder(i);this.sortOrderResetCounter+=1}break;default:break}}}catch(t){throw t instanceof Error&&this.arcgisChartsConfigDataChangeError.emit({error:t,model:this.model}),t}this.requestUpdate()},this.selectedCustomSortItemId="",this.sortOrderResetCounter=0,this.layerFieldsInfo=[],this.arcgisChartsConfigDataChangeError=v()}static{this.properties={selectedCustomSortItemId:16,sortOrderResetCounter:16,messageOverrides:0,model:0,layerFieldsInfo:0}}static{this.styles=E}load(){this.modelChange(this.model),this.onModelConfigChange(),this.currentDataFilter=this.model.getDataFilters(),this.updateCustomSortProps()}willUpdate(e){e.has("model")&&this.modelChange(this.model,e.get("model")),b(this.model.getDataFilters(),this.currentDataFilter)||(this.updateCustomSortProps(),this.currentDataFilter=this.model.getDataFilters()),this.disableSplitBy=this.model.numericFields.length===0||this.model.numericFields.length>1&&this.model.category!==d}disconnectedCallback(){super.disconnectedCallback(),this.boxPlotPopover=p(this.boxPlotPopover),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(e,t){t?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),e?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}onCalciteListOrderChange(e){if(e.detail!==null&&e.detail!==void 0){let{newIndex:t,oldIndex:s}=e.detail;this.model.moveCustomSortValuesInOrderByList(s,t)}}onCustomSortItemSelected(e){let{id:t}=e.target;this.selectedCustomSortItemId=this.selectedCustomSortItemId===t?"":t}onCustomSortItemMoved(e){let{id:t}=e.target,s=this.model.orderByList.length,i=this.model.orderByList.indexOf(this.selectedCustomSortItemId);t===g.Up?s=i-1:t===g.Down&&(s=i+1),i>=0&&s>=0&&s<this.model.orderByList.length&&(this.model.moveCustomSortValuesInOrderByList(i,s),this.sortOrderResetCounter+=1)}buildCustomSortListItems(){return k(this.model.orderByList,e=>e,e=>{let t=I(this.layerFieldsInfo,e);return a`<calcite-list-item id=${e??S} .label=${e??""} .description=${t} .value=${e} .selected=${this.selectedCustomSortItemId===e} @calciteListItemSelect=${this.onCustomSortItemSelected}><calcite-icon slot=content-end></calcite-icon></calcite-list-item>`})}buildCustomSortList(){return f(this.sortOrderResetCounter,a`<calcite-list label class=${o(r.list)} drag-enabled selection-mode=single selection-appearance=border @calciteListOrderChange=${this.onCalciteListOrderChange}>${this.buildCustomSortListItems()}</calcite-list>`)}buildNumericFieldItem(e){return f(e,a`<calcite-list-item .label=${u(this.layerFieldsInfo,e)} .value=${e} closable @calciteListItemClose=${this.onRemoveNumericField}></calcite-list-item>`)}onCategorySelect(e){this.categoryElement.value&&!this.categoryElement.value.disabled&&(this.contentKind=l.category,this.setupPopover(e))}async onRemoveNumericField(e){let t=e.target.value;if(this.model.numericFields=this.model.numericFields.filter(s=>s!==t),this.model.numericFields.length===0&&this.model.resetConfig(),this.model.getSortOrder()===c.customSort){let s=await this.updateCustomSortProps();this.model.orderByList=s,this.sortOrderResetCounter+=1}}async updateCustomSortProps(){let e=await this.model.getCustomSortValues();this.originalCustomSortLabels=[...e];let t=e.length>B.customSortLimit;return t&&(this.sortOrderElement.value&&(this.sortOrderElement.value.label=this._messages.xAxisAsc),this.model.setSortOrder(c.xAxisAsc)),this.isCustomSortDisabled=t,e}onStandardizeValuesChange(e){this.model.standardizeValues=e.target.checked}onShowOutliersChange(e){this.model.showOutliers=e.target.checked}onSplitBySelect(e){this.splitByFieldElement.value&&!this.splitByFieldElement.value.disabled&&(this.contentKind=l.splitByField,this.setupPopover(e))}onSortOrderSelect(e){this.contentKind=l.sortOrder,this.setupPopover(e)}setupPopover(e){e.stopImmediatePropagation(),this.boxPlotPopover=p(this.boxPlotPopover);let t,s,i,n=!1;switch(this.contentKind){case l.category:t=this.categoryElement.value,s=this._messages.categoryHeader,i=this.model.category===d?"":this.model.category;break;case l.numericFields:t=this.numericFieldsElement.value,s=this._messages.numericFieldsHeader,i=this.model.numericFields;break;case l.splitByField:t=this.splitByFieldElement.value,s=this._messages.splitByFieldHeader,i=this.model.splitByField;break;case l.sortOrder:t=this.sortOrderElement.value,s=this._messages.selectSortOrder,i=this.model.getSortOrder(),n=this.isCustomSortDisabled;break}this.boxPlotPopover=x(a`<arcgis-charts-config-box-plot-popover .headingTitle=${s} .referenceElement=${t} open .contentKind=${this.contentKind} .layerFieldsInfo=${this.layerFieldsInfo} .selectedContent=${i} .isCustomSortDisabled=${n} @arcgisChartsConfigBoxPlotDataPopoverChange=${this.onBoxPlotDataChange} @arcgisChartsConfigPopoverClose=${this.popoverClose}></arcgis-charts-config-box-plot-popover>`),!document.body.contains(this.boxPlotPopover)&&this.boxPlotPopover!==null&&document.body.appendChild(this.boxPlotPopover)}onAddNumericFields(e){this.contentKind=l.numericFields,this.setupPopover(e)}getCorrectedSplitByValue(){return this.model.splitByField?.trim()===""?"":u(this.layerFieldsInfo,this.model.splitByField)}getCorrectedCategoryValue(){return this.model.category===d?"":u(this.layerFieldsInfo,this.model.category)}resetToOriginalCustomSortLabels(){this.selectedCustomSortItemId="",this.model.orderByList=[...this.originalCustomSortLabels],this.sortOrderResetCounter+=1}renderCustomSortUI(){let e=this.model.getSortOrder(),t=this.model.getAxisValueFormat(0)?.type,s=this.model.orderByList.indexOf(this.selectedCustomSortItemId);return t===w.CategoryAxisFormat&&e===c.customSort&&!this.isCustomSortDisabled?a`<calcite-label class=${o(r.label)}><div class=${o(r.customSortButtons)}><div><calcite-button appearance=transparent .disabled=${s===0||s===-1||this.selectedCustomSortItemId.trim()===""} icon-start=arrow-bold-up id=${g.Up} kind=neutral scale=s @click=${this.onCustomSortItemMoved}></calcite-button><calcite-button appearance=transparent .disabled=${s===-1||s===this.model.orderByList.length-1||this.selectedCustomSortItemId.trim()===""} icon-start=arrow-bold-down id=${g.Down} kind=neutral scale=s @click=${this.onCustomSortItemMoved}></calcite-button></div><calcite-button @click=${this.resetToOriginalCustomSortLabels} .disabled=${b(this.model.orderByList,this.originalCustomSortLabels)} appearance=transparent icon-end=reset>${this._messages.reset}</calcite-button></div>${this.model.category===d?this._messages.values:this._messages.category}${this.buildCustomSortList()}</calcite-label>`:null}renderNumericFields(e){let t=[];for(let s of e)t.push(this.buildNumericFieldItem(s));return a`<calcite-list label class=${o(r.fieldList)} ${h(this.numericFieldsElement)}>${t}</calcite-list>`}renderCategory(){let e=this.getCorrectedCategoryValue(),t=this.model.numericFields.length===0||(this.model.numericFields??[]).length>1&&this.model.splitByField!=="";return a`<arcgis-charts-config-field-select .label=${e} .disabled=${t} @click=${this.onCategorySelect} ${h(this.categoryElement)}></arcgis-charts-config-field-select>`}renderSplitBy(){let e=this.getCorrectedSplitByValue();return a`<arcgis-charts-config-field-select .label=${e} .disabled=${this.disableSplitBy} @click=${this.onSplitBySelect} ${h(this.splitByFieldElement)}></arcgis-charts-config-field-select>`}renderSorting(){return a`<arcgis-charts-config-field-select .label=${this._messages[this.model.getSortOrder()]} @click=${this.onSortOrderSelect} ${h(this.sortOrderElement)}></arcgis-charts-config-field-select>`}render(){let e=this.renderCategory(),t=this.renderNumericFields([...this.model.numericFields??[]]),s=this.renderSplitBy(),i=this.renderSorting(),n=this.renderCustomSortUI();return a`<calcite-label class=${o(r.label)}>${this._messages.numericFields}${t}</calcite-label><div class=${o(r.fab)}><calcite-fab appearance=outline-fill kind=neutral scale=m .label=${this._messages.selectNumericFields} text-enabled .text=${this._messages.selectNumericFields} icon=plus @click=${this.onAddNumericFields}></calcite-fab></div><calcite-label class=${o(r.label)}><div>${this._messages.category} <span class=${o(r.dimText)}>(${this._messages.optional})</span></div>${e}</calcite-label><calcite-label class=${o(r.label)}><div class=${o(this.disableSplitBy?r.dimText:"")}>${this._messages.splitBy} <span class=${o(r.dimText)}>(${this._messages.optional})</span></div>${s}</calcite-label><div>${(this.model.numericFields??[]).length>1?a`<calcite-label class=${o(r.label)} layout=inline-space-between>${this._messages.standardizeValues}<calcite-switch .checked=${this.model.standardizeValues} @calciteSwitchChange=${this.onStandardizeValuesChange}></calcite-switch></calcite-label>`:null}</div><calcite-label class=${o(r.label)} layout=inline-space-between>${this._messages.showOutliers}<calcite-switch .checked=${this.model.showOutliers} @calciteSwitchChange=${this.onShowOutliersChange}></calcite-switch></calcite-label><calcite-label class=${o(r.label)}>${this._messages.sortOrder}${i}</calcite-label>${n}`}};F("arcgis-charts-config-box-plot-data",C);return C},"renderers/support/jsonUtils","symbols/support/symbolUtils","Graphic","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",d,e)