@arcgis/charts-components 5.0.0-next.92 → 5.0.0-next.93

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 (295) hide show
  1. package/dist/cdn/{WODUPWQJ.js → 25NVRCT6.js} +2 -2
  2. package/dist/cdn/{55DS4LOX.js → 2IXKMILJ.js} +2 -2
  3. package/dist/cdn/{MALMNJGS.js → 2MSMGA2J.js} +2 -2
  4. package/dist/cdn/{BOZLCMTH.js → 2NN7DTQI.js} +2 -2
  5. package/dist/cdn/{MAW4POZR.js → 3EJD4IXF.js} +2 -2
  6. package/dist/cdn/{XVKA5WBJ.js → 3HMU3PVL.js} +2 -2
  7. package/dist/cdn/{XTAO3PRD.js → 3HSFH7N2.js} +2 -2
  8. package/dist/cdn/{VXLW5ERI.js → 3KWO7E3K.js} +2 -2
  9. package/dist/cdn/{RH7TSPZI.js → 3MKEPXJ7.js} +2 -2
  10. package/dist/cdn/{KQCSEHI7.js → 3Z2QSCTV.js} +2 -2
  11. package/dist/cdn/{6DDMIL4X.js → 44YYFJKT.js} +2 -2
  12. package/dist/cdn/{EYAL4FRL.js → 4KFXWKQ6.js} +2 -2
  13. package/dist/cdn/{ZNG4CFXZ.js → 4LJ4JQJ7.js} +2 -2
  14. package/dist/cdn/4OGDPZU4.js +4 -0
  15. package/dist/cdn/{YVKVLWFH.js → 4OQDLJ47.js} +2 -2
  16. package/dist/cdn/{XSBF3TUF.js → 4Q36RWLW.js} +2 -2
  17. package/dist/cdn/{4R6LUGSM.js → 4RMWQX3V.js} +2 -2
  18. package/dist/cdn/{N34TAWFT.js → 4XHCRD2W.js} +2 -2
  19. package/dist/cdn/{TN23IJY4.js → 5CJM57Q3.js} +2 -2
  20. package/dist/cdn/{RI6CGF7Q.js → 5EYMB54L.js} +2 -2
  21. package/dist/cdn/{3M3GO6E4.js → 5FRU47KA.js} +2 -2
  22. package/dist/cdn/{K56TSX5A.js → 5KOCJLXO.js} +2 -2
  23. package/dist/cdn/{HSI6OOJB.js → 5NZMPRMC.js} +2 -2
  24. package/dist/cdn/{YLOMCWHK.js → 5PJDTFKF.js} +2 -2
  25. package/dist/cdn/5W5OABAX.js +4 -0
  26. package/dist/cdn/{OVG7MVAO.js → 5XMAGN24.js} +2 -2
  27. package/dist/cdn/{6DFYJBII.js → 5YCW374H.js} +2 -2
  28. package/dist/cdn/{S7G7QMWT.js → 5YH3BEGE.js} +2 -2
  29. package/dist/cdn/{OK4U5LPQ.js → 6GTU6OIS.js} +2 -2
  30. package/dist/cdn/{SPRMVZEV.js → 6RFZ5GHL.js} +2 -2
  31. package/dist/cdn/{UKSH7SZU.js → 6UEXWTID.js} +2 -2
  32. package/dist/cdn/{E33O6BDQ.js → 6WV3HHL3.js} +2 -2
  33. package/dist/cdn/{SZCQ5QNJ.js → 6ZBGSDBP.js} +2 -2
  34. package/dist/cdn/{XR3G2FWH.js → 77U5H6TC.js} +2 -2
  35. package/dist/cdn/{QOAF3BEM.js → 7N42OAF5.js} +2 -2
  36. package/dist/cdn/{FCIITVHF.js → 7RTYOWRE.js} +1 -1
  37. package/dist/cdn/{FCCAQSJN.js → 7VEIW6BO.js} +2 -2
  38. package/dist/cdn/{ZLPJTJHE.js → 7YJ6DBB4.js} +2 -2
  39. package/dist/cdn/{RTJ7I6AU.js → A225XV4O.js} +2 -2
  40. package/dist/cdn/{35O2XZHG.js → A73DJHKG.js} +2 -2
  41. package/dist/cdn/A7BFPV6D.js +4 -0
  42. package/dist/cdn/{3TREVBT6.js → ACP52WBE.js} +2 -2
  43. package/dist/cdn/{EGGBGFEA.js → AGBJUYQI.js} +2 -2
  44. package/dist/cdn/{22AK4F2F.js → B2BGJQNP.js} +2 -2
  45. package/dist/cdn/{EGALYNNE.js → BAHKLOWY.js} +2 -2
  46. package/dist/cdn/{PM3JC75G.js → BTW3B5RQ.js} +2 -2
  47. package/dist/cdn/BTYDNDRO.js +4 -0
  48. package/dist/cdn/{YZGWI7F6.js → CCCD7SQM.js} +2 -2
  49. package/dist/cdn/{JPGBEFJY.js → CGY65CGB.js} +2 -2
  50. package/dist/cdn/{WCLEO3FE.js → CIKKQQIV.js} +1 -1
  51. package/dist/cdn/{HYKMJDEO.js → CRLH7XPB.js} +2 -2
  52. package/dist/cdn/{ADAO26AB.js → CSKFAIL3.js} +2 -2
  53. package/dist/cdn/{W7NIWUUF.js → D2PRTFSA.js} +2 -2
  54. package/dist/cdn/{O7MHYL5H.js → DEMM5Y74.js} +2 -2
  55. package/dist/cdn/{PI5QXU3R.js → DNYRP3S2.js} +2 -2
  56. package/dist/cdn/{4KT4OKBI.js → DV6XXDO5.js} +4 -4
  57. package/dist/cdn/{RLYRHI6F.js → DWM7CRT2.js} +2 -2
  58. package/dist/cdn/{B6GMWMC3.js → EHRODA5M.js} +2 -2
  59. package/dist/cdn/{64FFLV2Z.js → EJJA2CDN.js} +2 -2
  60. package/dist/cdn/{UNVW7MKQ.js → EPKFOC2Y.js} +2 -2
  61. package/dist/cdn/{5X3KPGHV.js → ET76CRZP.js} +2 -2
  62. package/dist/cdn/{L5CO2JJU.js → EXMRNG3S.js} +2 -2
  63. package/dist/cdn/{RJAVBT7B.js → F76XUZ25.js} +2 -2
  64. package/dist/cdn/{SHH4SOQ7.js → FCALQILZ.js} +2 -2
  65. package/dist/cdn/{HA4SKVSE.js → FH4X2QLC.js} +1 -1
  66. package/dist/cdn/{BBL25543.js → FIAAFHXU.js} +2 -2
  67. package/dist/cdn/{G6CSJDUZ.js → FK4IRDPX.js} +2 -2
  68. package/dist/cdn/{QAYQKKZW.js → FN5637J3.js} +2 -2
  69. package/dist/cdn/{SORRW6L2.js → FSDWXW4O.js} +2 -2
  70. package/dist/cdn/{EWEEDI2N.js → FSYRFW3I.js} +2 -2
  71. package/dist/cdn/{WB37ZNNA.js → FTK47RG3.js} +2 -2
  72. package/dist/cdn/{DXA2FAEM.js → FZGEGRKZ.js} +2 -2
  73. package/dist/cdn/{RYQ6SCXY.js → GAIQQUOT.js} +2 -2
  74. package/dist/cdn/{XCBQ6WPS.js → GCKF33T7.js} +2 -2
  75. package/dist/cdn/{RLNYLN7R.js → GH7OQ4OD.js} +2 -2
  76. package/dist/cdn/{6ONOSKIW.js → GHWIHXXL.js} +2 -2
  77. package/dist/cdn/{Q2SBTG5O.js → GTIREMJ6.js} +2 -2
  78. package/dist/cdn/{4KQATRP2.js → GUHM7HZH.js} +2 -2
  79. package/dist/cdn/{OS3UZMYX.js → GXHJSEQS.js} +2 -2
  80. package/dist/cdn/{SJYLKIX2.js → HFTFS2QM.js} +2 -2
  81. package/dist/cdn/{FBBJQGTQ.js → HNJVNSXX.js} +2 -2
  82. package/dist/cdn/{2JTQH26T.js → HYBT33ME.js} +2 -2
  83. package/dist/cdn/{SE3MVGV3.js → I3IFVDAK.js} +2 -2
  84. package/dist/cdn/{RJ5XK5JE.js → IDZVHCFR.js} +2 -2
  85. package/dist/cdn/{RRA3W5KX.js → IE33YJON.js} +2 -2
  86. package/dist/cdn/{NKT7GWGS.js → IEIXE3OQ.js} +2 -2
  87. package/dist/cdn/{RMCMTSKO.js → IJS45TBY.js} +2 -2
  88. package/dist/cdn/{HNTO4WLF.js → IRLBAZYM.js} +2 -2
  89. package/dist/cdn/{NYDRB42C.js → ISXWM2OK.js} +2 -2
  90. package/dist/cdn/{55EN2NXJ.js → IT67OUEE.js} +2 -2
  91. package/dist/cdn/{EL4AH2XG.js → IZMWTHFC.js} +2 -2
  92. package/dist/cdn/{NDPXJ25Q.js → J6NHMZ3R.js} +2 -2
  93. package/dist/cdn/{4JZIZCJQ.js → JJXE7GKV.js} +2 -2
  94. package/dist/cdn/{3ZC4BUPF.js → JK3JVA5A.js} +2 -2
  95. package/dist/cdn/{XHVLCVK4.js → JLPIXSYU.js} +2 -2
  96. package/dist/cdn/{DP5EMB5H.js → JSXDDBVL.js} +3 -3
  97. package/dist/cdn/{POOLKYHJ.js → JW5YMLJT.js} +2 -2
  98. package/dist/cdn/{E7ZQWB2M.js → JWIKRNCB.js} +2 -2
  99. package/dist/cdn/{T77ONTPI.js → JXHDBPT6.js} +2 -2
  100. package/dist/cdn/{DVCOVYWF.js → KAZ5P7A3.js} +2 -2
  101. package/dist/cdn/{MKQ7K6MX.js → KE3DDQR4.js} +2 -2
  102. package/dist/cdn/{IQ3E64TG.js → KIUVQGAD.js} +2 -2
  103. package/dist/cdn/{EA2MSUSU.js → L65P7HWG.js} +2 -2
  104. package/dist/cdn/{5ZNIFW36.js → LAJJTOOI.js} +2 -2
  105. package/dist/cdn/{6R2BOBKT.js → LWJ3KNGH.js} +2 -2
  106. package/dist/cdn/{FF7I7CQ5.js → MGS63JHV.js} +2 -2
  107. package/dist/cdn/{4VLLPVUD.js → MH7W3VD7.js} +2 -2
  108. package/dist/cdn/{3WOXEF52.js → MHA5ADHY.js} +2 -2
  109. package/dist/cdn/{XADR427A.js → MHRLFRCI.js} +2 -2
  110. package/dist/cdn/{JGPUHVUA.js → MKLPOMZL.js} +2 -2
  111. package/dist/cdn/{BMKTYALT.js → MRIC23VP.js} +2 -2
  112. package/dist/cdn/{ZUAQNNTO.js → NEPHLRES.js} +2 -2
  113. package/dist/cdn/{HZ23PIDY.js → NLXHEPHE.js} +2 -2
  114. package/dist/cdn/{2TLDPAT3.js → NX4ZYQKI.js} +2 -2
  115. package/dist/cdn/{AAZBQ4WV.js → O2IDJNIQ.js} +2 -2
  116. package/dist/cdn/{B7P2A6H4.js → OH5N5A25.js} +2 -2
  117. package/dist/cdn/{YR5HPG2Z.js → OI5LIKMK.js} +2 -2
  118. package/dist/cdn/{GPV25PDE.js → P7Q7VGOV.js} +2 -2
  119. package/dist/cdn/PASITS4S.js +4 -0
  120. package/dist/cdn/{6NTRO5KX.js → PXPZ52KW.js} +2 -2
  121. package/dist/cdn/{4777QUW4.js → PZMWBEQD.js} +2 -2
  122. package/dist/cdn/{VQLNQFW3.js → QBDHQMBT.js} +2 -2
  123. package/dist/cdn/{HHSW7P2D.js → QDIN3724.js} +1 -1
  124. package/dist/cdn/{NHR4AORZ.js → QQYVRX5O.js} +1 -1
  125. package/dist/cdn/{KTRD4KGM.js → R3ARFK7U.js} +1 -1
  126. package/dist/cdn/{HCGKMVNY.js → R4XPHEQA.js} +1 -1
  127. package/dist/cdn/{2LURLH2T.js → RLBG4KL3.js} +2 -2
  128. package/dist/cdn/{QQNRTBSD.js → S44EDX7K.js} +2 -2
  129. package/dist/cdn/{FWHFUJH2.js → SHRPD3BH.js} +2 -2
  130. package/dist/cdn/{TJMM56E5.js → SIHY4ZJT.js} +2 -2
  131. package/dist/cdn/{FJQBFLZT.js → SNMRFKE4.js} +2 -2
  132. package/dist/cdn/{BJH2D36B.js → SP5BCW6D.js} +2 -2
  133. package/dist/cdn/{IRYHVRLL.js → SPCKOH4U.js} +2 -2
  134. package/dist/cdn/{5SIATZAU.js → SWLLI4I6.js} +2 -2
  135. package/dist/cdn/{EXD2UGCV.js → SZEDL76Q.js} +2 -2
  136. package/dist/cdn/{52VUFEZY.js → TON755AO.js} +2 -2
  137. package/dist/cdn/{LVOZOQFD.js → TROW2MMR.js} +2 -2
  138. package/dist/cdn/{OR5BOTJS.js → TZXRKTSQ.js} +2 -2
  139. package/dist/cdn/{KTOREEDV.js → U4M7M63Y.js} +2 -2
  140. package/dist/cdn/{4VZ6QMG5.js → UAPNXZFH.js} +2 -2
  141. package/dist/cdn/{XY44M4HH.js → UCQCQCRT.js} +2 -2
  142. package/dist/cdn/{O65YUIVN.js → UKIVUV46.js} +2 -2
  143. package/dist/cdn/{KOBFWR75.js → ULM7PJN3.js} +2 -2
  144. package/dist/cdn/{JFRJ5JXQ.js → UUSGQX34.js} +2 -2
  145. package/dist/cdn/{PVMMRVX2.js → UYCAKFS5.js} +2 -2
  146. package/dist/cdn/{CME4FZL3.js → UZ2IKZEE.js} +2 -2
  147. package/dist/cdn/{BVRRYTYE.js → V2BTZTTF.js} +2 -2
  148. package/dist/cdn/{RPR4JNE2.js → V2DPDVG2.js} +2 -2
  149. package/dist/cdn/{CBMDPUVW.js → VEAH7EOT.js} +2 -2
  150. package/dist/cdn/{T2N7PRNS.js → VKKYYLX7.js} +2 -2
  151. package/dist/cdn/{Z27KXTHV.js → VKLQAILN.js} +2 -2
  152. package/dist/cdn/{LWQTDICJ.js → VN2NYXC5.js} +2 -2
  153. package/dist/cdn/{Y6LD4Z7J.js → VQ64OCX7.js} +2 -2
  154. package/dist/cdn/{4QV5HUW7.js → VTSGZ4ND.js} +2 -2
  155. package/dist/cdn/{YQJIH6TU.js → VVIT3L65.js} +2 -2
  156. package/dist/cdn/{CXD6IB6P.js → WAZU2WPD.js} +2 -2
  157. package/dist/cdn/{7YJRE2QY.js → WOFAT6UF.js} +2 -2
  158. package/dist/cdn/{GAF7ZMZC.js → WRI5TFQC.js} +2 -2
  159. package/dist/cdn/{33YOF5RY.js → X7AMREMG.js} +1 -1
  160. package/dist/cdn/{OP5DH6EI.js → X7EUF4HO.js} +2 -2
  161. package/dist/cdn/{F32QBAZA.js → XFMYRFQI.js} +2 -2
  162. package/dist/cdn/{7WKH6224.js → XXJAOJ7R.js} +2 -2
  163. package/dist/cdn/{W2OVUC3H.js → Y3E37OLZ.js} +2 -2
  164. package/dist/cdn/{RG7WAFGP.js → YAYYVHLA.js} +2 -2
  165. package/dist/cdn/YBU2OWH6.js +4 -0
  166. package/dist/cdn/{UMQEBGAU.js → YBZDUPL2.js} +2 -2
  167. package/dist/cdn/{WTUTZVLM.js → YUCNN7WQ.js} +2 -2
  168. package/dist/cdn/{GNJ55HZ3.js → YXXUBCXK.js} +2 -2
  169. package/dist/cdn/{IGUDJWE5.js → Z5AKM2PE.js} +2 -2
  170. package/dist/cdn/{HRYX5JOT.js → Z7FX5SJM.js} +2 -2
  171. package/dist/cdn/{3GT2R7QQ.js → ZGRD4WOV.js} +2 -2
  172. package/dist/cdn/{WQ3IKXAI.js → ZIWU65CX.js} +18 -18
  173. package/dist/cdn/{PGINT6OT.js → ZNNYQFJJ.js} +2 -2
  174. package/dist/cdn/index.js +2 -2
  175. package/dist/chunks/action-bar-utils.js +10 -10
  176. package/dist/chunks/axis-model-wrapper.js +1 -1
  177. package/dist/chunks/bar-chart-model.js +2 -2
  178. package/dist/chunks/bar-chart-series.js +1 -1
  179. package/dist/chunks/bg_BG.js +1 -1
  180. package/dist/chunks/bg_BG2.js +1 -1
  181. package/dist/chunks/box-plot-data.js +27 -27
  182. package/dist/chunks/box-plot-model.js +2 -2
  183. package/dist/chunks/chart-ui-utils.js +1 -1
  184. package/dist/chunks/chart-ui-utils2.js +16 -16
  185. package/dist/chunks/combo-bar-line-chart-model.js +2 -2
  186. package/dist/chunks/common.js +1 -1
  187. package/dist/chunks/data.js +5 -5
  188. package/dist/chunks/default.js +1 -1
  189. package/dist/chunks/gauge-model.js +11 -11
  190. package/dist/chunks/heat-chart-model.js +9 -9
  191. package/dist/chunks/histogram-data.js +2 -2
  192. package/dist/chunks/histogram-model.js +8 -8
  193. package/dist/chunks/index.js +410 -378
  194. package/dist/chunks/index2.js +2 -2
  195. package/dist/chunks/index3.js +1 -1
  196. package/dist/chunks/index4.js +1 -1
  197. package/dist/chunks/interfaces.js +1 -1
  198. package/dist/chunks/line-chart-model.js +9 -9
  199. package/dist/chunks/model-with-multi-axes.js +536 -467
  200. package/dist/chunks/pie-chart-data.js +22 -22
  201. package/dist/chunks/pie-chart-model.js +250 -191
  202. package/dist/chunks/popover-ui-utils.js +1 -1
  203. package/dist/chunks/radar-chart-model.js +5 -5
  204. package/dist/chunks/resource.js +4 -4
  205. package/dist/chunks/rest-js-object-literals.js +1 -1
  206. package/dist/chunks/runtime.js +1 -1
  207. package/dist/chunks/scatterplot-model.js +20 -20
  208. package/dist/chunks/serial-chart-data.js +295 -280
  209. package/dist/chunks/serial-chart-model.js +2 -2
  210. package/dist/chunks/series-types.js +1 -1
  211. package/dist/chunks/sk_SK.js +1 -1
  212. package/dist/chunks/store.js +1 -1
  213. package/dist/chunks/type-guards.js +76 -44
  214. package/dist/chunks/useT9n.js +1 -1
  215. package/dist/chunks/web-component-utils.js +55 -55
  216. package/dist/components/arcgis-chart/customElement.d.ts +7 -0
  217. package/dist/components/arcgis-chart/customElement.js +2930 -2758
  218. package/dist/components/arcgis-charts-action-bar/customElement.js +2 -2
  219. package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
  220. package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
  221. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +2 -2
  222. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +10 -10
  223. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +13 -13
  224. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +6 -6
  225. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
  226. package/dist/components/arcgis-charts-config-box-plot/customElement.js +2 -2
  227. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +2 -2
  228. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +6 -6
  229. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +2 -2
  230. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
  231. package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
  232. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
  233. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  234. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  235. package/dist/components/arcgis-charts-config-create-flow/customElement.js +11 -11
  236. package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
  237. package/dist/components/arcgis-charts-config-font-style/customElement.js +2 -2
  238. package/dist/components/arcgis-charts-config-format/customElement.js +10 -10
  239. package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
  240. package/dist/components/arcgis-charts-config-general/customElement.js +2 -2
  241. package/dist/components/arcgis-charts-config-guide/customElement.js +16 -16
  242. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
  243. package/dist/components/arcgis-charts-config-guides/customElement.js +2 -2
  244. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
  245. package/dist/components/arcgis-charts-config-histogram/customElement.js +2 -2
  246. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +5 -5
  247. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +2 -2
  248. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
  249. package/dist/components/arcgis-charts-config-line-chart/customElement.js +2 -2
  250. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +2 -2
  251. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +2 -2
  252. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +2 -2
  253. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
  254. package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
  255. package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
  256. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +2 -2
  257. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +2 -2
  258. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +2 -2
  259. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +2 -2
  260. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
  261. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +2 -2
  262. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +2 -2
  263. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +2 -2
  264. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
  265. package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
  266. package/dist/docs/api.json +31 -2
  267. package/dist/docs/docs.json +24 -2
  268. package/dist/docs/vscode.html-custom-data.json +5 -0
  269. package/dist/docs/web-types.json +14 -1
  270. package/dist/index.js +406 -396
  271. package/dist/loader.js +2 -2
  272. package/dist/model/mixins/model-with-basic-x-axis.d.ts +5 -0
  273. package/dist/model/mixins/model-with-multi-axes.d.ts +27 -1
  274. package/dist/model/mixins/utils/axes.d.ts +29 -1
  275. package/dist/model/mixins/utils/guides.d.ts +2 -0
  276. package/dist/model/pie-chart-model/pie-chart-legend-model.d.ts +12 -1
  277. package/dist/model/pie-chart-model/pie-chart-model.d.ts +18 -0
  278. package/dist/model/pie-chart-model/utils/pie-chart-legend.d.ts +13 -1
  279. package/dist/model/pie-chart-model/utils/pie-chart-series.d.ts +26 -0
  280. package/dist/model/shared/type-guards.d.ts +44 -3
  281. package/dist/model.js +36 -28
  282. package/dist/types/lumina.d.ts +1 -1
  283. package/dist/types/preact.d.ts +1 -1
  284. package/dist/types/preact10.d.ts +1 -1
  285. package/dist/types/react.d.ts +1 -1
  286. package/dist/types/stencil.d.ts +1 -1
  287. package/dist/utils/components/themes.d.ts +133 -0
  288. package/dist/utils/defaults/index.d.ts +2 -0
  289. package/package.json +3 -3
  290. package/dist/cdn/HSESSWPA.js +0 -4
  291. package/dist/cdn/KAL77LC7.js +0 -4
  292. package/dist/cdn/QLEYELDZ.js +0 -4
  293. package/dist/cdn/TNIMF6GQ.js +0 -4
  294. package/dist/cdn/UO33HVTL.js +0 -4
  295. package/dist/cdn/X33LEDFS.js +0 -4
package/dist/loader.js CHANGED
@@ -2,9 +2,9 @@ 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.92 */
5
+ v5.0.0-next.93 */
6
6
  const o = t(e, {
7
- "arcgis-chart": [() => import("./components/arcgis-chart/customElement.js"), "actionMode,allowUsingObjectIdStat,autoDestroyDisabled,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:,messageOverrides:,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"],
7
+ "arcgis-chart": [() => import("./components/arcgis-chart/customElement.js"), "actionMode,allowUsingObjectIdStat,autoDestroyDisabled,autoDisposeChart,autoInverseDataLabelTextColor,chartIndex,chartLimits:,chartWillRender:,cursorRange,dataLabelFormatter:,disableAutoTheming,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:,messageOverrides:,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"],
9
9
  "arcgis-charts-config-axes": [() => import("./components/arcgis-charts-config-axes/customElement.js"), "calculatedDataMinMaxBounds:,calculatedMinMaxBounds:,messageOverrides:,model:,open,showEnableXLogOption,showEnableYLogOption,showMaxXBoundOption,showMaxYBoundOption,showMinXBoundOption,showMinYBoundOption"],
10
10
  "arcgis-charts-config-axis": [() => import("./components/arcgis-charts-config-axis/customElement.js"), "axisTitle,dataMaxValue,dataMinValue,initialMaxBound,initialMinBound,isXAxis,maxBoundMaxLimit,maxBoundMinLimit,messageOverrides:,minBoundMaxLimit,minBoundMinLimit,model:,showEnableLogOption,showMaxBoundOption,showMinBoundOption"],
@@ -6,6 +6,11 @@ export declare abstract class ModelWithBasicXAxis extends ChartModel {
6
6
  */
7
7
  get xAxisTitleText(): string;
8
8
  set xAxisTitleText(newXAxisTitleText: string);
9
+ /**
10
+ * Whether the x-axis labels are visible.
11
+ */
12
+ get xAxisLabelsVisibility(): boolean;
13
+ set xAxisLabelsVisibility(newXAxisLabelsVisibility: boolean);
9
14
  /**
10
15
  * Whether the x-axis title is visible.
11
16
  * true: X-axis title is visible.
@@ -1,5 +1,5 @@
1
+ import { CategoryFormatOptions, DateTimeFormatOptions, ISimpleLineSymbol, NumberFormatOptions, WebChartAxisScrollBar, WebChartCursorCrosshair, WebChartLabelBehavior, WebChartTextSymbol } from '../../spec';
1
2
  import { XYChartTypes } from '../../utils';
2
- import { CategoryFormatOptions, DateTimeFormatOptions, NumberFormatOptions, WebChartAxisScrollBar, WebChartTextSymbol, ISimpleLineSymbol, WebChartLabelBehavior, WebChartCursorCrosshair } from '../../spec';
3
3
  import { ModelWithBasicXAxis } from './model-with-basic-x-axis';
4
4
  export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
5
5
  protected _chartType: XYChartTypes;
@@ -17,6 +17,32 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
17
17
  * @param axisIndex - The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
18
18
  */
19
19
  setAxisTitleText(titleText: string, axisIndex: number): void;
20
+ /**
21
+ * Gets the visibility of the specified axis.
22
+ * @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
23
+ * @returns {boolean}
24
+ */
25
+ getAxisVisibility(axisIndex: number): boolean;
26
+ /**
27
+ * Sets the visibility of the specified axis.
28
+ * **Note:** The visibility for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
29
+ * @param {boolean} isVisible The visibility state for the axis.
30
+ * @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
31
+ */
32
+ setAxisVisibility(isVisible: boolean, axisIndex: number): void;
33
+ /**
34
+ * Gets the visibility of the specified axis labels.
35
+ * @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
36
+ * @returns {boolean}
37
+ */
38
+ getAxisLabelsVisibility(axisIndex: number): boolean;
39
+ /**
40
+ * Sets the visibility of the specified axis labels.
41
+ * **Note:** The labels visibility for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
42
+ * @param {boolean} isVisible The visibility state for the axis labels.
43
+ * @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
44
+ */
45
+ setAxisLabelsVisibility(isVisible: boolean, axisIndex: number): void;
20
46
  /**
21
47
  * Gets the visibility of the specified axis title.
22
48
  *
@@ -1,5 +1,5 @@
1
- import { ChartConfig } from '../../../utils';
2
1
  import { ISimpleLineSymbol, WebChartAxisScrollBar, WebChartTextSymbol } from '../../../spec';
2
+ import { ChartConfig } from '../../../utils';
3
3
  /**
4
4
  * Gets the axis title symbol for the specified axis index from the chart config.
5
5
  *
@@ -74,6 +74,34 @@ export declare const getAxisTitleText: (axisIndex: number, config: ChartConfig)
74
74
  * @param config - The chart config object
75
75
  */
76
76
  export declare const setAxisTitleText: (title: string, axisIndex: number, config: ChartConfig) => void;
77
+ /**
78
+ * Gets the visibility of the axis
79
+ *
80
+ * @param axisIndex - The index of the axis
81
+ * @param config - The chart config object
82
+ */
83
+ export declare const getAxisVisibility: (axisIndex: number, config: ChartConfig) => boolean;
84
+ /**
85
+ * Sets the visibility of the axis
86
+ *
87
+ * @param visibility - Whether or not to show the axis
88
+ * @param axisIndex - The index of the axis
89
+ * @param config - The chart config object
90
+ */
91
+ export declare const setAxisVisibility: (visibility: boolean, axisIndex: number, config: ChartConfig) => void;
92
+ /**
93
+ * Gets the visibility of the axis labels
94
+ * @param axisIndex - The index of the axis
95
+ * @param config - The chart config object
96
+ */
97
+ export declare const getAxisLabelsVisibility: (axisIndex: number, config: ChartConfig) => boolean;
98
+ /**
99
+ * Sets the visibility of the axis labels
100
+ * @param visibility - Whether or not to show the axis labels
101
+ * @param axisIndex - The index of the axis
102
+ * @param config - The chart config object
103
+ */
104
+ export declare const setAxisLabelsVisibility: (visibility: boolean, axisIndex: number, config: ChartConfig) => void;
77
105
  /**
78
106
  * Gets the visibility of the axis title.
79
107
  *
@@ -3,6 +3,8 @@ import { ChartConfig } from '../../../utils';
3
3
  import { GuideOrientation } from '../../interfaces/common';
4
4
  /**
5
5
  * Gets the guide labels text symbol from the chart config.
6
+ * TODO: Need to revisit how this is used. This function returns the first label found in
7
+ * the config, while each guide label could be different.
6
8
  * @param config
7
9
  */
8
10
  export declare const getGuideLabelsSymbol: (config: ChartConfig) => WebChartTextSymbol | undefined;
@@ -41,7 +41,18 @@ export declare abstract class PieChartLegendModel extends ModelWithLegend {
41
41
  *
42
42
  * @param labelMaxWidth - The maximum width in pixel for the legend item labels
43
43
  */
44
- setLabelMaxWidth(labelMaxWidth: number): void;
44
+ setLabelMaxWidth(labelMaxWidth: number | undefined): void;
45
+ /**
46
+ * The maximum width in pixel for the legend value labels.
47
+ * @returns {number}
48
+ */
49
+ get valueLabelMaxWidth(): number;
50
+ set valueLabelMaxWidth(valueLabelMaxWidth: number | undefined);
51
+ /**
52
+ * Whether to display the category in the legend.
53
+ */
54
+ get displayCategory(): boolean;
55
+ set displayCategory(displayCategory: boolean);
45
56
  }
46
57
  export interface PieChartLegendModel extends ModelWithLegend {
47
58
  }
@@ -202,6 +202,12 @@ export declare class PieChartModel extends ChartModel {
202
202
  */
203
203
  get endAngle(): number | null | undefined;
204
204
  set endAngle(angle: number | null | undefined);
205
+ /**
206
+ * Whether to display the category on the data label.
207
+ * **Note:** If the setting is not found in the config, it will default to `true`.
208
+ */
209
+ get displayCategoryOnDataLabel(): boolean;
210
+ set displayCategoryOnDataLabel(display: boolean);
205
211
  /**
206
212
  * Display category value on tooltip setting from the chart config.
207
213
  *
@@ -209,6 +215,18 @@ export declare class PieChartModel extends ChartModel {
209
215
  */
210
216
  get displayCategoryValueOnTooltip(): boolean;
211
217
  set displayCategoryValueOnTooltip(display: boolean);
218
+ /**
219
+ * Whether to display the numeric value on the data label.
220
+ * **Note:** If the setting is not found in the config, it will default to `true`.
221
+ */
222
+ get displayNumericValueOnDataLabel(): boolean;
223
+ set displayNumericValueOnDataLabel(display: boolean);
224
+ /**
225
+ * Whether to display the percentage on the data label.
226
+ * **Note:** If the setting is not found in the config, it will default to `true`.
227
+ */
228
+ get displayPercentageOnDataLabel(): boolean;
229
+ set displayPercentageOnDataLabel(display: boolean);
212
230
  /**
213
231
  * Display numeric value on tooltip setting from the chart config.
214
232
  *
@@ -66,4 +66,16 @@ export declare const getLabelMaxWidth: (config: ChartConfig) => number;
66
66
  * @param labelMaxWidth - The maximum width in pixel for the legend item labels
67
67
  * @param config - The chart configuration object
68
68
  */
69
- export declare const setLabelMaxWidth: (labelMaxWidth: number, config: ChartConfig) => void;
69
+ export declare const setLabelMaxWidth: (labelMaxWidth: number | undefined, config: ChartConfig) => void;
70
+ /**
71
+ * Gets the maximum width in pixel for the legend value labels.
72
+ * @param config The chart configuration object
73
+ * @returns {number}
74
+ */
75
+ export declare const getValueLabelMaxWidth: (config: ChartConfig) => number;
76
+ /**
77
+ * Sets the maximum width in pixel for the legend value labels.
78
+ * @param valueLabelMaxWidth The maximum width in pixel for the legend value labels
79
+ * @param config The chart configuration object
80
+ */
81
+ export declare const setValueLabelMaxWidth: (valueLabelMaxWidth: number | undefined, config: ChartConfig) => void;
@@ -70,6 +70,32 @@ export declare const getDisplayCategoryOnDataLabel: (config: ChartConfig<typeof
70
70
  * @param config - The chart configuration.
71
71
  */
72
72
  export declare const setDisplayCategoryOnDataLabel: (display: boolean, config: ChartConfig<typeof ModelTypes.PieChart>) => void;
73
+ /**
74
+ * Gets the display numeric value on data label setting from the chart config.
75
+ * @param config The chart configuration.
76
+ * @returns {boolean}
77
+ * **Note:** If the setting is not found in the config, it will default to `true`.
78
+ */
79
+ export declare const getDisplayNumericValueOnDataLabel: (config: ChartConfig<typeof ModelTypes.PieChart>) => boolean;
80
+ /**
81
+ * Sets the display numeric value on data label setting in the chart config.
82
+ * @param display The boolean value to set the displayNumericValueOnDataLabel to
83
+ * @param config The chart configuration.
84
+ */
85
+ export declare const setDisplayNumericValueOnDataLabel: (display: boolean, config: ChartConfig<typeof ModelTypes.PieChart>) => void;
86
+ /**
87
+ * Gets whether the percentage is displayed on the data label.
88
+ * @param config The chart configuration.
89
+ * @returns {boolean}
90
+ * **Note:** If the setting is not found in the config, it will default to `false`.
91
+ */
92
+ export declare const getDisplayPercentageOnDataLabel: (config: ChartConfig<typeof ModelTypes.PieChart>) => boolean;
93
+ /**
94
+ * Whether to display the percentage on the data label.
95
+ * @param display The boolean value to set the displayPercentageOnDataLabel to
96
+ * @param config The chart configuration.
97
+ */
98
+ export declare const setDisplayPercentageOnDataLabel: (display: boolean, config: ChartConfig<typeof ModelTypes.PieChart>) => void;
73
99
  /**
74
100
  * Gets the display numeric value on tooltip setting from the chart config.
75
101
  *
@@ -1,11 +1,17 @@
1
+ import { BarChartModel, BoxPlotModel, ChartModel, ComboBarLineChartModel, GaugeModel, HistogramModel, LineChartModel, ModelOfType, ModelTypes, PieChartLegendModel, PieChartModel, ScatterplotModel, SerialChartModel } from '..';
1
2
  import { WebChart } from '../../spec';
2
- import { BarChartModel, BoxPlotModel, ChartModel, HistogramModel, LineChartModel, ModelOfType, ModelTypes, PieChartModel, ScatterplotModel, SerialChartModel } from '..';
3
- import { ModelWithBasicXAxis, ModelWithDataLabels, ModelWithGuides, ModelWithLegend, ModelWithRotation, ModelWithTemporalBinning, ModelWithXGuides, ModelWithYGuides, ModelWithMultiAxes } from '../mixins/index';
3
+ import { HeatChartModel } from '../heat-chart-model/heat-chart-model';
4
+ import { ModelWithBaselineStacking, ModelWithBasicXAxis, ModelWithColorMatch, ModelWithDataLabels, ModelWithGuides, ModelWithLegend, ModelWithLineMarkerStyling, ModelWithMultiAxes, ModelWithRotation, ModelWithTemporalBinning, ModelWithTooltips, ModelWithXGuides, ModelWithYGuides } from '../mixins/index';
4
5
  /**
5
6
  * Determines if the provided model or config is a `ChartModel`.
6
7
  * @param model The model to check.
7
8
  */
8
9
  export declare function isChartModel(model: ChartModel | WebChart | undefined): model is ChartModel;
10
+ /**
11
+ * Determines if the provided `model` is of type `HeatChartModel`.
12
+ * @param model The model to check.
13
+ */
14
+ export declare function isHeatChartModel(model: ChartModel | undefined): model is HeatChartModel;
9
15
  /**
10
16
  * Determines if the provided `model` is of type `BarChartModel`.
11
17
  * @param model The model to check.
@@ -16,12 +22,17 @@ export declare function isBarChartModel(model: ChartModel | undefined): model is
16
22
  * @param model The model to check.
17
23
  */
18
24
  export declare function isLineChartModel(model: ChartModel | undefined): model is LineChartModel;
25
+ /**
26
+ * Determines if the provided `model` is of type `ComboBarLineChartModel`.
27
+ * @param model The model to check.
28
+ */
29
+ export declare function isComboBarLineChartModel(model: ChartModel | undefined): model is ComboBarLineChartModel;
19
30
  /**
20
31
  * Determines if the provided `model` is of type `SerialChartModel`.
21
32
  * This includes LineSeries, BarSeries, ComboLineAndBarSeries, and RadarSeries.
22
33
  * @param model The model to check.
23
34
  */
24
- export declare function isSerialChartModel(model: SerialChartModel | undefined): model is SerialChartModel;
35
+ export declare function isSerialChartModel(model: ChartModel | undefined): model is SerialChartModel;
25
36
  /**
26
37
  * Determines if the provided `model` is of type `PieChartModel`.
27
38
  * @param model The model to check.
@@ -43,6 +54,11 @@ export declare function isScatterplotModel(model: ChartModel | undefined): model
43
54
  * @param model The model to check.
44
55
  */
45
56
  export declare function isHistogramModel(model: ChartModel | undefined): model is HistogramModel;
57
+ /**
58
+ * Determines if the provided `model` is of type `GaugeModel`.
59
+ * @param model The model to check.
60
+ */
61
+ export declare function isGaugeModel(model: ChartModel | undefined): model is GaugeModel;
46
62
  /**
47
63
  * Type guard for ModelWithBasicXAxis
48
64
  * @param model
@@ -53,6 +69,26 @@ export declare function isModelWithBasicXAxis(model: ChartModel | undefined): mo
53
69
  * @param model
54
70
  */
55
71
  export declare function isModelWithMultiAxes(model: ChartModel | undefined): model is ModelWithMultiAxes;
72
+ /**
73
+ * Type guard for ModelWithColorMatch
74
+ * @param model
75
+ */
76
+ export declare function isModelWithColorMatch(model: ChartModel | undefined): model is ModelWithColorMatch;
77
+ /**
78
+ * Type guard for ModelWithLineMarkerStyling
79
+ * @param model
80
+ */
81
+ export declare function isModelWithLineMarkerStyling(model: ChartModel | undefined): model is ModelWithLineMarkerStyling;
82
+ /**
83
+ * Type guard for ModelWithBaselineStacking
84
+ * @param model
85
+ */
86
+ export declare function isModelWithBaselineStacking(model: ChartModel | undefined): model is ModelWithBaselineStacking;
87
+ /**
88
+ * Type guard for ModelWithTooltips
89
+ * @param model
90
+ */
91
+ export declare function isModelWithTooltips(model: ChartModel | undefined): model is ModelWithTooltips;
56
92
  /**
57
93
  * Type guard for ModelWithRotation
58
94
  * @param model
@@ -83,6 +119,11 @@ export declare function isModelWithYGuides(model: ChartModel | undefined): model
83
119
  * @param model The model to check.
84
120
  */
85
121
  export declare function isModelWithLegend(model: ChartModel | undefined): model is ModelWithLegend;
122
+ /**
123
+ * Determines if the provided `model` is of type `PieChartLegendModel`.
124
+ * @param model The model to check.
125
+ */
126
+ export declare function isPieChartLegendModel(model: ChartModel | undefined): model is PieChartLegendModel;
86
127
  /**
87
128
  * Determines if the provided `model` is of type `ModelWithTemporalBinning`.
88
129
  * @param model The model to check.
package/dist/model.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { M as i } from "./chunks/common.js";
2
- import { B as m, C as y, F as g, G as C, H as w, L as f, a as u, P as b, b as p, S as L, T, c as S } from "./chunks/common.js";
3
- import { s as r, t as s, u as n } from "./chunks/type-guards.js";
4
- import { a as B, e as P, i as x, g as W, b as K, r as v, h as D, l as G, m as H, p as F, j as O, k as R, q as A, n as E, o as X, d as Y, f as $, c as j } from "./chunks/type-guards.js";
2
+ import { B as m, C as y, F as g, G as C, H as w, L as f, a as u, P as L, b, S as p, T, c as B } from "./chunks/common.js";
3
+ import { A as s, B as r, C as n } from "./chunks/type-guards.js";
4
+ import { b as k, g as P, i as W, d as x, k as v, a as G, j as H, c as K, z as D, p as F, l as A, n as O, s as R, t as E, w as X, o as Y, m as $, r as j, y as q, q as z, u as I, v as J, x as N, f as Q, h as U, e as V } 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.92 */
8
- async function c(t) {
9
- const o = "config" in t ? r(t.config) : t.chartType;
7
+ v5.0.0-next.93 */
8
+ async function h(t) {
9
+ const o = "config" in t ? s(t.config) : t.chartType;
10
10
  let a;
11
11
  if (!("layer" in t) && !("iLayer" in t) && "config" in t && t.config.iLayer === void 0)
12
12
  throw new Error(
@@ -69,7 +69,7 @@ async function c(t) {
69
69
  layer: "layer" in t ? t.layer : void 0,
70
70
  iLayer: "iLayer" in t ? t.iLayer : void 0,
71
71
  config: "config" in t ? t.config : void 0
72
- }), o !== void 0 && s(a, o))
72
+ }), o !== void 0 && r(a, o))
73
73
  return a;
74
74
  {
75
75
  const e = n(a.chartType);
@@ -87,28 +87,36 @@ export {
87
87
  f as LineFormatKeys,
88
88
  i as ModelTypes,
89
89
  u as PieChartDataModes,
90
- b as PieChartDataSortingKinds,
91
- p as PieChartSlicesDisplay,
92
- L as SerialChartDataSortingKinds,
90
+ L as PieChartDataSortingKinds,
91
+ b as PieChartSlicesDisplay,
92
+ p as SerialChartDataSortingKinds,
93
93
  T as TextFormatKeys,
94
- c as createModel,
95
- S as customSortString,
96
- B as isBarChartModel,
94
+ h as createModel,
95
+ B as customSortString,
96
+ k as isBarChartModel,
97
97
  P as isBoxPlotModel,
98
- x as isChartModel,
99
- W as isHistogramModel,
98
+ W as isChartModel,
99
+ x as isComboBarLineChartModel,
100
+ v as isGaugeModel,
101
+ G as isHeatChartModel,
102
+ H as isHistogramModel,
100
103
  K as isLineChartModel,
101
- v as isModelOfType,
102
- D as isModelWithBasicXAxis,
103
- G as isModelWithDataLabels,
104
- H as isModelWithGuides,
105
- F as isModelWithLegend,
106
- O as isModelWithMultiAxes,
107
- R as isModelWithRotation,
108
- A as isModelWithTemporalBinning,
109
- E as isModelWithXGuides,
110
- X as isModelWithYGuides,
111
- Y as isPieChartModel,
112
- $ as isScatterplotModel,
113
- j as isSerialChartModel
104
+ D as isModelOfType,
105
+ F as isModelWithBaselineStacking,
106
+ A as isModelWithBasicXAxis,
107
+ O as isModelWithColorMatch,
108
+ R as isModelWithDataLabels,
109
+ E as isModelWithGuides,
110
+ X as isModelWithLegend,
111
+ Y as isModelWithLineMarkerStyling,
112
+ $ as isModelWithMultiAxes,
113
+ j as isModelWithRotation,
114
+ q as isModelWithTemporalBinning,
115
+ z as isModelWithTooltips,
116
+ I as isModelWithXGuides,
117
+ J as isModelWithYGuides,
118
+ N as isPieChartLegendModel,
119
+ Q as isPieChartModel,
120
+ U as isScatterplotModel,
121
+ V as isSerialChartModel
114
122
  };
@@ -3,7 +3,7 @@ import type { ArcgisChart } from "../components/arcgis-chart/index.js";
3
3
  import type { ArcgisChartsActionBar } from "../components/arcgis-charts-action-bar/index.js";
4
4
  import type { h, EventHandler } from "@arcgis/lumina";
5
5
 
6
- interface LuminaArcgisChart extends Partial<Pick<ArcgisChart, 'actionMode' | 'allowUsingObjectIdStat' | 'autoDestroyDisabled' | 'autoDisposeChart' | 'autoInverseDataLabelTextColor' | 'chartIndex' | 'chartLimits' | 'chartWillRender' | 'cursorRange' | 'dataLabelFormatter' | 'disableTogglingLegendItems' | 'enableBetaFeatures' | 'enableConfiguration' | 'enableResponsiveFeatures' | 'errorPolicy' | 'featureIndex' | 'filterByExtent' | 'filterBySelection' | 'gaugeInnerLabelFormatter' | 'guideTooltipFormatter' | 'hideEmptySeries' | 'hideLicenseWatermark' | 'hideLoaderAnimation' | 'ignoreSmoothRenderingLimit' | 'ignoreViewExtent' | 'layer' | 'layerFieldsChangePolicy' | 'layerFilterChangePolicy' | 'layerItemId' | 'layerRendererChangePolicy' | 'legendPosition' | 'legendValueLabelFormatter' | 'legendVisibility' | 'loaderColors' | 'messageOverrides' | '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'>>, ArcgisChartSetterTypes, h.JSX.HTMLAttributes<HTMLArcgisChartElement> {
6
+ interface LuminaArcgisChart extends Partial<Pick<ArcgisChart, 'actionMode' | 'allowUsingObjectIdStat' | 'autoDestroyDisabled' | 'autoDisposeChart' | 'autoInverseDataLabelTextColor' | 'chartIndex' | 'chartLimits' | 'chartWillRender' | 'cursorRange' | 'dataLabelFormatter' | 'disableAutoTheming' | 'disableTogglingLegendItems' | 'enableBetaFeatures' | 'enableConfiguration' | 'enableResponsiveFeatures' | 'errorPolicy' | 'featureIndex' | 'filterByExtent' | 'filterBySelection' | 'gaugeInnerLabelFormatter' | 'guideTooltipFormatter' | 'hideEmptySeries' | 'hideLicenseWatermark' | 'hideLoaderAnimation' | 'ignoreSmoothRenderingLimit' | 'ignoreViewExtent' | 'layer' | 'layerFieldsChangePolicy' | 'layerFilterChangePolicy' | 'layerItemId' | 'layerRendererChangePolicy' | 'legendPosition' | 'legendValueLabelFormatter' | 'legendVisibility' | 'loaderColors' | 'messageOverrides' | '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'>>, ArcgisChartSetterTypes, h.JSX.HTMLAttributes<HTMLArcgisChartElement> {
7
7
  onarcgisAxesMinMaxChange?: EventHandler<HTMLArcgisChartElement["arcgisAxesMinMaxChange"]>;
8
8
  onarcgisBadDataWarningRaise?: EventHandler<HTMLArcgisChartElement["arcgisBadDataWarningRaise"]>;
9
9
  onarcgisChartNotFoundWarning?: EventHandler<HTMLArcgisChartElement["arcgisChartNotFoundWarning"]>;
@@ -4,7 +4,7 @@ import type { ArcgisChartsActionBar } from "../components/arcgis-charts-action-b
4
4
  import { HTMLAttributes } from "preact";
5
5
  import type { EventHandler } from "@arcgis/lumina";
6
6
 
7
- interface PreactArcgisChart extends Partial<Pick<ArcgisChart, 'actionMode' | 'allowUsingObjectIdStat' | 'autoDestroyDisabled' | 'autoDisposeChart' | 'autoInverseDataLabelTextColor' | 'chartIndex' | 'chartLimits' | 'chartWillRender' | 'cursorRange' | 'dataLabelFormatter' | 'disableTogglingLegendItems' | 'enableBetaFeatures' | 'enableConfiguration' | 'enableResponsiveFeatures' | 'errorPolicy' | 'featureIndex' | 'filterByExtent' | 'filterBySelection' | 'gaugeInnerLabelFormatter' | 'guideTooltipFormatter' | 'hideEmptySeries' | 'hideLicenseWatermark' | 'hideLoaderAnimation' | 'ignoreSmoothRenderingLimit' | 'ignoreViewExtent' | 'layer' | 'layerFieldsChangePolicy' | 'layerFilterChangePolicy' | 'layerItemId' | 'layerRendererChangePolicy' | 'legendPosition' | 'legendValueLabelFormatter' | 'legendVisibility' | 'loaderColors' | 'messageOverrides' | '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'>>, ArcgisChartSetterTypes, HTMLAttributes<HTMLArcgisChartElement> {
7
+ interface PreactArcgisChart extends Partial<Pick<ArcgisChart, 'actionMode' | 'allowUsingObjectIdStat' | 'autoDestroyDisabled' | 'autoDisposeChart' | 'autoInverseDataLabelTextColor' | 'chartIndex' | 'chartLimits' | 'chartWillRender' | 'cursorRange' | 'dataLabelFormatter' | 'disableAutoTheming' | 'disableTogglingLegendItems' | 'enableBetaFeatures' | 'enableConfiguration' | 'enableResponsiveFeatures' | 'errorPolicy' | 'featureIndex' | 'filterByExtent' | 'filterBySelection' | 'gaugeInnerLabelFormatter' | 'guideTooltipFormatter' | 'hideEmptySeries' | 'hideLicenseWatermark' | 'hideLoaderAnimation' | 'ignoreSmoothRenderingLimit' | 'ignoreViewExtent' | 'layer' | 'layerFieldsChangePolicy' | 'layerFilterChangePolicy' | 'layerItemId' | 'layerRendererChangePolicy' | 'legendPosition' | 'legendValueLabelFormatter' | 'legendVisibility' | 'loaderColors' | 'messageOverrides' | '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'>>, ArcgisChartSetterTypes, HTMLAttributes<HTMLArcgisChartElement> {
8
8
  onarcgisAxesMinMaxChange?: EventHandler<HTMLArcgisChartElement["arcgisAxesMinMaxChange"]>;
9
9
  onarcgisBadDataWarningRaise?: EventHandler<HTMLArcgisChartElement["arcgisBadDataWarningRaise"]>;
10
10
  onarcgisChartNotFoundWarning?: EventHandler<HTMLArcgisChartElement["arcgisChartNotFoundWarning"]>;
@@ -5,7 +5,7 @@ import { JSX as PreactJsx } from "preact";
5
5
  import type { EventHandler } from "@arcgis/lumina";
6
6
 
7
7
  /** @deprecated Update to Preact 10.27.2+ or 11+ and consume types/preact file over types/preact10 */
8
- interface PreactArcgisChart extends Partial<Pick<ArcgisChart, 'actionMode' | 'allowUsingObjectIdStat' | 'autoDestroyDisabled' | 'autoDisposeChart' | 'autoInverseDataLabelTextColor' | 'chartIndex' | 'chartLimits' | 'chartWillRender' | 'cursorRange' | 'dataLabelFormatter' | 'disableTogglingLegendItems' | 'enableBetaFeatures' | 'enableConfiguration' | 'enableResponsiveFeatures' | 'errorPolicy' | 'featureIndex' | 'filterByExtent' | 'filterBySelection' | 'gaugeInnerLabelFormatter' | 'guideTooltipFormatter' | 'hideEmptySeries' | 'hideLicenseWatermark' | 'hideLoaderAnimation' | 'ignoreSmoothRenderingLimit' | 'ignoreViewExtent' | 'layer' | 'layerFieldsChangePolicy' | 'layerFilterChangePolicy' | 'layerItemId' | 'layerRendererChangePolicy' | 'legendPosition' | 'legendValueLabelFormatter' | 'legendVisibility' | 'loaderColors' | 'messageOverrides' | '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'>>, ArcgisChartSetterTypes, PreactJsx.HTMLAttributes<HTMLArcgisChartElement> {
8
+ interface PreactArcgisChart extends Partial<Pick<ArcgisChart, 'actionMode' | 'allowUsingObjectIdStat' | 'autoDestroyDisabled' | 'autoDisposeChart' | 'autoInverseDataLabelTextColor' | 'chartIndex' | 'chartLimits' | 'chartWillRender' | 'cursorRange' | 'dataLabelFormatter' | 'disableAutoTheming' | 'disableTogglingLegendItems' | 'enableBetaFeatures' | 'enableConfiguration' | 'enableResponsiveFeatures' | 'errorPolicy' | 'featureIndex' | 'filterByExtent' | 'filterBySelection' | 'gaugeInnerLabelFormatter' | 'guideTooltipFormatter' | 'hideEmptySeries' | 'hideLicenseWatermark' | 'hideLoaderAnimation' | 'ignoreSmoothRenderingLimit' | 'ignoreViewExtent' | 'layer' | 'layerFieldsChangePolicy' | 'layerFilterChangePolicy' | 'layerItemId' | 'layerRendererChangePolicy' | 'legendPosition' | 'legendValueLabelFormatter' | 'legendVisibility' | 'loaderColors' | 'messageOverrides' | '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'>>, ArcgisChartSetterTypes, PreactJsx.HTMLAttributes<HTMLArcgisChartElement> {
9
9
  onarcgisAxesMinMaxChange?: EventHandler<HTMLArcgisChartElement["arcgisAxesMinMaxChange"]>;
10
10
  onarcgisBadDataWarningRaise?: EventHandler<HTMLArcgisChartElement["arcgisBadDataWarningRaise"]>;
11
11
  onarcgisChartNotFoundWarning?: EventHandler<HTMLArcgisChartElement["arcgisChartNotFoundWarning"]>;
@@ -4,7 +4,7 @@ import type { ArcgisChartsActionBar } from "../components/arcgis-charts-action-b
4
4
  import type { HTMLProps } from 'react';
5
5
  import type { EventHandler } from "@arcgis/lumina";
6
6
 
7
- interface ReactArcgisChart extends Partial<Pick<ArcgisChart, 'actionMode' | 'allowUsingObjectIdStat' | 'autoDestroyDisabled' | 'autoDisposeChart' | 'autoInverseDataLabelTextColor' | 'chartIndex' | 'chartLimits' | 'chartWillRender' | 'cursorRange' | 'dataLabelFormatter' | 'disableTogglingLegendItems' | 'enableBetaFeatures' | 'enableConfiguration' | 'enableResponsiveFeatures' | 'errorPolicy' | 'featureIndex' | 'filterByExtent' | 'filterBySelection' | 'gaugeInnerLabelFormatter' | 'guideTooltipFormatter' | 'hideEmptySeries' | 'hideLicenseWatermark' | 'hideLoaderAnimation' | 'ignoreSmoothRenderingLimit' | 'ignoreViewExtent' | 'layer' | 'layerFieldsChangePolicy' | 'layerFilterChangePolicy' | 'layerItemId' | 'layerRendererChangePolicy' | 'legendPosition' | 'legendValueLabelFormatter' | 'legendVisibility' | 'loaderColors' | 'messageOverrides' | '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'>>, ArcgisChartSetterTypes, HTMLProps<HTMLArcgisChartElement> {
7
+ interface ReactArcgisChart extends Partial<Pick<ArcgisChart, 'actionMode' | 'allowUsingObjectIdStat' | 'autoDestroyDisabled' | 'autoDisposeChart' | 'autoInverseDataLabelTextColor' | 'chartIndex' | 'chartLimits' | 'chartWillRender' | 'cursorRange' | 'dataLabelFormatter' | 'disableAutoTheming' | 'disableTogglingLegendItems' | 'enableBetaFeatures' | 'enableConfiguration' | 'enableResponsiveFeatures' | 'errorPolicy' | 'featureIndex' | 'filterByExtent' | 'filterBySelection' | 'gaugeInnerLabelFormatter' | 'guideTooltipFormatter' | 'hideEmptySeries' | 'hideLicenseWatermark' | 'hideLoaderAnimation' | 'ignoreSmoothRenderingLimit' | 'ignoreViewExtent' | 'layer' | 'layerFieldsChangePolicy' | 'layerFilterChangePolicy' | 'layerItemId' | 'layerRendererChangePolicy' | 'legendPosition' | 'legendValueLabelFormatter' | 'legendVisibility' | 'loaderColors' | 'messageOverrides' | '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'>>, ArcgisChartSetterTypes, HTMLProps<HTMLArcgisChartElement> {
8
8
  onarcgisAxesMinMaxChange?: EventHandler<HTMLArcgisChartElement["arcgisAxesMinMaxChange"]>;
9
9
  onarcgisBadDataWarningRaise?: EventHandler<HTMLArcgisChartElement["arcgisBadDataWarningRaise"]>;
10
10
  onarcgisChartNotFoundWarning?: EventHandler<HTMLArcgisChartElement["arcgisChartNotFoundWarning"]>;
@@ -4,7 +4,7 @@ import type { ArcgisChartsActionBar } from "../components/arcgis-charts-action-b
4
4
  import { JSXBase as StencilJsx } from "@stencil/core/internal";
5
5
  import type { EventHandler } from "@arcgis/lumina";
6
6
 
7
- interface StencilArcgisChart extends Partial<Pick<ArcgisChart, 'actionMode' | 'allowUsingObjectIdStat' | 'autoDestroyDisabled' | 'autoDisposeChart' | 'autoInverseDataLabelTextColor' | 'chartIndex' | 'chartLimits' | 'chartWillRender' | 'cursorRange' | 'dataLabelFormatter' | 'disableTogglingLegendItems' | 'enableBetaFeatures' | 'enableConfiguration' | 'enableResponsiveFeatures' | 'errorPolicy' | 'featureIndex' | 'filterByExtent' | 'filterBySelection' | 'gaugeInnerLabelFormatter' | 'guideTooltipFormatter' | 'hideEmptySeries' | 'hideLicenseWatermark' | 'hideLoaderAnimation' | 'ignoreSmoothRenderingLimit' | 'ignoreViewExtent' | 'layer' | 'layerFieldsChangePolicy' | 'layerFilterChangePolicy' | 'layerItemId' | 'layerRendererChangePolicy' | 'legendPosition' | 'legendValueLabelFormatter' | 'legendVisibility' | 'loaderColors' | 'messageOverrides' | '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'>>, ArcgisChartSetterTypes, StencilJsx.HTMLAttributes<HTMLArcgisChartElement> {
7
+ interface StencilArcgisChart extends Partial<Pick<ArcgisChart, 'actionMode' | 'allowUsingObjectIdStat' | 'autoDestroyDisabled' | 'autoDisposeChart' | 'autoInverseDataLabelTextColor' | 'chartIndex' | 'chartLimits' | 'chartWillRender' | 'cursorRange' | 'dataLabelFormatter' | 'disableAutoTheming' | 'disableTogglingLegendItems' | 'enableBetaFeatures' | 'enableConfiguration' | 'enableResponsiveFeatures' | 'errorPolicy' | 'featureIndex' | 'filterByExtent' | 'filterBySelection' | 'gaugeInnerLabelFormatter' | 'guideTooltipFormatter' | 'hideEmptySeries' | 'hideLicenseWatermark' | 'hideLoaderAnimation' | 'ignoreSmoothRenderingLimit' | 'ignoreViewExtent' | 'layer' | 'layerFieldsChangePolicy' | 'layerFilterChangePolicy' | 'layerItemId' | 'layerRendererChangePolicy' | 'legendPosition' | 'legendValueLabelFormatter' | 'legendVisibility' | 'loaderColors' | 'messageOverrides' | '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'>>, ArcgisChartSetterTypes, StencilJsx.HTMLAttributes<HTMLArcgisChartElement> {
8
8
  onArcgisAxesMinMaxChange?: EventHandler<HTMLArcgisChartElement["arcgisAxesMinMaxChange"]>;
9
9
  onArcgisBadDataWarningRaise?: EventHandler<HTMLArcgisChartElement["arcgisBadDataWarningRaise"]>;
10
10
  onArcgisChartNotFoundWarning?: EventHandler<HTMLArcgisChartElement["arcgisChartNotFoundWarning"]>;
@@ -0,0 +1,133 @@
1
+ import { ChartOptions } from '../../chart-rendering/common/interfaces';
2
+ import { EsriColor } from '../../chart-rendering/common/types';
3
+ import { ArcgisChart } from '../../components/arcgis-chart/customElement.js';
4
+ import { Color, WebChartBarChartSeries, WebChartBoxPlotSeries, WebChartHistogramSeries, WebChartLineChartSeries, WebChartOverlay, WebChartPieChartSlice, WebChartRadarChartSeries, WebChartScatterplotSeries } from '../../spec';
5
+ /**
6
+ * Interface representing the list of colors a theme can provide.
7
+ */
8
+ export interface ChartThemeColors {
9
+ backgroundColor?: EsriColor;
10
+ textColor?: EsriColor;
11
+ lineColor?: EsriColor;
12
+ secondLineColor?: EsriColor;
13
+ }
14
+ /**
15
+ * Indicates whether the Calcite dark mode is enabled on the DOM.
16
+ * @param chartElement The chart element
17
+ */
18
+ export declare function isCalciteDarkModeEnabled(chartElement: HTMLElement): boolean;
19
+ /**
20
+ * Retrieves the Calcite dark theme colors from the css variables.
21
+ * @param chartElement The chart element
22
+ */
23
+ declare function getCalciteDarkThemeColors(chartElement: Element): ChartThemeColors;
24
+ /**
25
+ * Applies the theme colors to the axes.
26
+ * @param config The config to alter
27
+ * @param themeColors The theme colors to apply
28
+ */
29
+ declare function applyThemeColorsToAxes(config: ArcgisChart["config"], themeColors: ChartThemeColors): void;
30
+ /**
31
+ * Applies the theme colors to the background.
32
+ * @param config The config to alter
33
+ * @param themeColors The theme colors to apply
34
+ */
35
+ declare function applyThemeColorsToBackground(config: ArcgisChart["config"], themeColors: ChartThemeColors): void;
36
+ /**
37
+ * Applies the theme colors to the title, footer and subtitle.
38
+ * @param config The config to alter
39
+ * @param themeColors The theme colors to apply
40
+ */
41
+ declare function applyThemeColorsToTitleFooterSubtitle(config: ArcgisChart["config"], themeColors: ChartThemeColors): void;
42
+ /**
43
+ * Updates the overlay symbol color (if the overlay is created and visible).
44
+ * @param overlayColor The color to set
45
+ * @param overlay The overlay to update
46
+ */
47
+ declare function updateOverlaySymbolColor(overlayColor: Color, overlay?: WebChartOverlay): void;
48
+ /**
49
+ * Updates the marker symbol color.
50
+ * @param props.configElementWithFillSymbol The config element with marker symbol to update
51
+ * @param props.markerColor The marker color to set
52
+ * @param props.lineColor The line color to set (optional)
53
+ */
54
+ declare function updateMarkerSymbolColor(props: {
55
+ configElementWithFillSymbol: WebChartLineChartSeries | WebChartRadarChartSeries | WebChartScatterplotSeries;
56
+ markerColor: Color;
57
+ lineColor?: Color;
58
+ }): void;
59
+ /**
60
+ * Updates the fill symbol color.
61
+ * @param props.configElementWithFillSymbol The config element with fill symbol to update
62
+ * @param props.fillColor The fill color to set
63
+ * @param props.lineColor The line color to set (optional)
64
+ */
65
+ declare function updateFillSymbolColor(props: {
66
+ configElementWithFillSymbol: WebChartBarChartSeries | WebChartBoxPlotSeries | WebChartHistogramSeries | WebChartPieChartSlice;
67
+ fillColor: Color;
68
+ lineColor?: Color;
69
+ }): void;
70
+ /**
71
+ * Applies the theme colors to the series.
72
+ * @param config The config to alter
73
+ * @param themeColors The theme colors to apply
74
+ */
75
+ declare function applyThemeColorsToSeries(config: ArcgisChart["config"], themeColors: ChartThemeColors): void;
76
+ /**
77
+ * Applies the theme colors to pie chart specific properties.
78
+ * @param config The config to alter
79
+ * @param themeColors The theme colors to apply
80
+ */
81
+ declare function applyThemeColorsToPieChartSeries(config: ArcgisChart["config"], themeColors: ChartThemeColors): void;
82
+ /**
83
+ * Applies the theme colors to the legend.
84
+ * @param config The config to alter
85
+ * @param themeColors The theme colors to apply
86
+ */
87
+ declare function applyThemeColorsToLegend(config: ArcgisChart["config"], themeColors: ChartThemeColors): void;
88
+ /**
89
+ * Applies the theme colors to gauge specific properties.
90
+ * @param config The config to alter
91
+ * @param themeColors The theme colors to apply
92
+ */
93
+ declare function applyThemeColorsToGauge(config: ArcgisChart["config"], themeColors: ChartThemeColors): void;
94
+ /**
95
+ * Applies the theme colors to heat chart specific properties.
96
+ * @param config The config to alter
97
+ * @param themeColors The theme colors to apply
98
+ */
99
+ declare function applyThemeColorsToHeatChart(config: ArcgisChart["config"], themeColors: ChartThemeColors): void;
100
+ /**
101
+ * Applies the theme to the loader colors in the chart options.
102
+ * @param props.options The chart options
103
+ * @param props.calciteThemeApplied The currently applied calcite theme
104
+ * @param props.config The chart config
105
+ * @returns A modified copy of the chart options
106
+ */
107
+ export declare function applyThemeToLoaderColors(props: {
108
+ options: ChartOptions;
109
+ calciteThemeApplied: ArcgisChart["calciteThemeApplied"];
110
+ config: ArcgisChart["config"];
111
+ }): ChartOptions;
112
+ /**
113
+ * Apply a theme colors to the chart config.
114
+ * The only theme supported currently is the Calcite dark mode.
115
+ * @param chartElement The chart element
116
+ * @param config The chart config
117
+ */
118
+ export declare function applyThemeColors(chartElement: HTMLArcgisChartElement, config: ArcgisChart["config"]): ArcgisChart["config"];
119
+ export declare const commonThemesPrivateFunctions: {
120
+ applyThemeColorsToAxes: typeof applyThemeColorsToAxes;
121
+ applyThemeColorsToBackground: typeof applyThemeColorsToBackground;
122
+ applyThemeColorsToTitleFooterSubtitle: typeof applyThemeColorsToTitleFooterSubtitle;
123
+ applyThemeColorsToSeries: typeof applyThemeColorsToSeries;
124
+ applyThemeColorsToPieChartSeries: typeof applyThemeColorsToPieChartSeries;
125
+ applyThemeColorsToLegend: typeof applyThemeColorsToLegend;
126
+ applyThemeColorsToGauge: typeof applyThemeColorsToGauge;
127
+ applyThemeColorsToHeatChart: typeof applyThemeColorsToHeatChart;
128
+ getCalciteDarkThemeColors: typeof getCalciteDarkThemeColors;
129
+ updateOverlaySymbolColor: typeof updateOverlaySymbolColor;
130
+ updateFillSymbolColor: typeof updateFillSymbolColor;
131
+ updateMarkerSymbolColor: typeof updateMarkerSymbolColor;
132
+ };
133
+ export {};