@arcgis/charts-components 5.0.0-next.2 → 5.0.0-next.21

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 (427) hide show
  1. package/dist/cdn/{6X4IOTIX.js → 27XFXHX3.js} +2 -2
  2. package/dist/cdn/{U7PC37X6.js → 2GTKWA5H.js} +2 -2
  3. package/dist/cdn/{6MANQPFR.js → 2LGKZA3D.js} +2 -2
  4. package/dist/cdn/{H55KMHCY.js → 2QKTTKXR.js} +2 -2
  5. package/dist/cdn/2QSUIX4S.js +4 -0
  6. package/dist/cdn/2RWSL7IX.js +4 -0
  7. package/dist/cdn/{RSHRZ4MU.js → 2SKLLTUK.js} +2 -2
  8. package/dist/cdn/2VILXJOT.js +4 -0
  9. package/dist/cdn/{B54HNL65.js → 2XT2IEZM.js} +2 -2
  10. package/dist/cdn/2YL53ROC.js +4 -0
  11. package/dist/cdn/{BJ437O6R.js → 33KUWTZT.js} +2 -2
  12. package/dist/cdn/37E7RGPD.js +58 -0
  13. package/dist/cdn/3A2O7DDS.js +4 -0
  14. package/dist/cdn/{37KGNLME.js → 3BISEDHE.js} +2 -2
  15. package/dist/cdn/{QVFF3NZF.js → 3DBFREGP.js} +2 -2
  16. package/dist/cdn/3DMAIADS.js +4 -0
  17. package/dist/cdn/3H6MQGAF.js +4 -0
  18. package/dist/cdn/3HOM2AAM.js +4 -0
  19. package/dist/cdn/{UR6AIX3U.js → 3PSCXSCX.js} +2 -2
  20. package/dist/cdn/{KCZ3WIW6.js → 3QQT2OFZ.js} +2 -2
  21. package/dist/cdn/{2WEBNHQN.js → 3VLDLE6L.js} +2 -2
  22. package/dist/cdn/3YBDI7B2.js +4 -0
  23. package/dist/cdn/{7EOQ5TCI.js → 3Z3H7AJK.js} +2 -2
  24. package/dist/cdn/45775PJA.js +4 -0
  25. package/dist/cdn/{IIU7SIYD.js → 4BOV2Y63.js} +2 -2
  26. package/dist/cdn/{YWQ4X7JY.js → 4DBXVCU5.js} +2 -2
  27. package/dist/cdn/{ROQWPMNA.js → 4FJ6DD46.js} +2 -2
  28. package/dist/cdn/{QO2W5K2E.js → 4IELDMUR.js} +2 -2
  29. package/dist/cdn/{EVHG3NOW.js → 4LUTUOMB.js} +2 -2
  30. package/dist/cdn/{Z72YZBVK.js → 4QEL6SWZ.js} +2 -2
  31. package/dist/cdn/{KSIS2GMN.js → 4SSTFMY7.js} +2 -2
  32. package/dist/cdn/56I7NHOB.js +4 -0
  33. package/dist/cdn/5JRBTMQB.js +4 -0
  34. package/dist/cdn/{QFDNK4AG.js → 5LWSMXGB.js} +2 -2
  35. package/dist/cdn/5ZZTHPU3.js +4 -0
  36. package/dist/cdn/6BBA432G.js +4 -0
  37. package/dist/cdn/{E7J2SU77.js → 6HNTAPCU.js} +2 -2
  38. package/dist/cdn/{H7A6K4TS.js → 6OH6RCK2.js} +2 -2
  39. package/dist/cdn/6OKM2AD7.js +4 -0
  40. package/dist/cdn/{4LKCRN7B.js → 6SJFVCSA.js} +2 -2
  41. package/dist/cdn/{IOESBG3D.js → 6WOSWGX2.js} +2 -2
  42. package/dist/cdn/{RQYYBI4H.js → 6X3NOINZ.js} +1 -1
  43. package/dist/cdn/77TQR4ZW.js +4 -0
  44. package/dist/cdn/7CSVCFNW.js +4 -0
  45. package/dist/cdn/7E2TXYCU.js +4 -0
  46. package/dist/cdn/{GG7SUIY3.js → 7INUYOOA.js} +2 -2
  47. package/dist/cdn/{R3PMNECX.js → 7JN3FSLF.js} +2 -2
  48. package/dist/cdn/{J5N73PSS.js → 7RMKZ4PY.js} +2 -2
  49. package/dist/cdn/{WSRS6VM3.js → 7ZDGHDOM.js} +2 -2
  50. package/dist/cdn/A36CMQLA.js +4 -0
  51. package/dist/cdn/{O2CFKWNX.js → ADLS2ZLX.js} +2 -2
  52. package/dist/cdn/AEPH7374.js +4 -0
  53. package/dist/cdn/{FLEXUMVX.js → ALOVAZQZ.js} +2 -2
  54. package/dist/cdn/{J55STN4N.js → AN4HYYA6.js} +2 -2
  55. package/dist/cdn/AS2DLPC7.js +4 -0
  56. package/dist/cdn/ATDRUK5H.js +4 -0
  57. package/dist/cdn/AUY2C3MV.js +4 -0
  58. package/dist/cdn/AYUFTRIT.js +4 -0
  59. package/dist/cdn/{QT4EBDYM.js → B6DGELGV.js} +2 -2
  60. package/dist/cdn/{QUALYXLD.js → B6EUGEFM.js} +2 -2
  61. package/dist/cdn/{JJ3HEDMX.js → BCRSZBJ4.js} +2 -2
  62. package/dist/cdn/{KH24YX2V.js → BCVSCME7.js} +2 -2
  63. package/dist/cdn/{ALPDGAEI.js → BEJPPLLY.js} +3 -3
  64. package/dist/cdn/BL24Q2DY.js +4 -0
  65. package/dist/cdn/BT3MLYYC.js +4 -0
  66. package/dist/cdn/{FZHL35W5.js → BTJD7NJJ.js} +2 -2
  67. package/dist/cdn/BVI2CNZ4.js +4 -0
  68. package/dist/cdn/BWIAZPK7.js +4 -0
  69. package/dist/cdn/C4RKHVAB.js +4 -0
  70. package/dist/cdn/{SQCQR2L2.js → CWCJ67DX.js} +1 -1
  71. package/dist/cdn/DGL5MMG2.js +4 -0
  72. package/dist/cdn/{IAODGTXG.js → DIBR77KB.js} +2 -2
  73. package/dist/cdn/{DZHN5VUX.js → DTZBBW3J.js} +2 -2
  74. package/dist/cdn/DVUF3VD6.js +4 -0
  75. package/dist/cdn/{UBMVTRQT.js → DXBRNGNX.js} +2 -2
  76. package/dist/cdn/E7AI2PIF.js +4 -0
  77. package/dist/cdn/{MWYGGYUB.js → EGXV5J2I.js} +2 -2
  78. package/dist/cdn/{4VEYBWNU.js → ENYRGENB.js} +2 -2
  79. package/dist/cdn/EVKL64OR.js +4 -0
  80. package/dist/cdn/{OWIU32TC.js → F3BSM26R.js} +1 -1
  81. package/dist/cdn/FHRNXBNT.js +4 -0
  82. package/dist/cdn/FJU67NCM.js +4 -0
  83. package/dist/cdn/{U4IE7DFG.js → FLQVC3QN.js} +1 -1
  84. package/dist/cdn/FOEFA6XN.js +4 -0
  85. package/dist/cdn/FTB74LRR.js +4 -0
  86. package/dist/cdn/{KRIG7CPX.js → FVW7NJSZ.js} +2 -2
  87. package/dist/cdn/{BUEMLPMQ.js → GDA7PY47.js} +1 -1
  88. package/dist/cdn/{XSAIZFKV.js → GDH5MMXJ.js} +2 -2
  89. package/dist/cdn/HTUWZPXF.js +4 -0
  90. package/dist/cdn/{6G2R3MN5.js → I3XNEEG3.js} +2 -2
  91. package/dist/cdn/I5A4I3KQ.js +4 -0
  92. package/dist/cdn/{ZDMEEWOX.js → IADBQMEH.js} +2 -2
  93. package/dist/cdn/{CXRCG5DA.js → IAUJMVQ2.js} +2 -2
  94. package/dist/cdn/{GF2COPTT.js → ILBYEM4Q.js} +2 -2
  95. package/dist/cdn/{7OCR5LGZ.js → IRT2BB2N.js} +1 -1
  96. package/dist/cdn/ITA3V35F.js +4 -0
  97. package/dist/cdn/{IVURDFPA.js → JQD4UPZS.js} +2 -2
  98. package/dist/cdn/JRCM3ZZS.js +4 -0
  99. package/dist/cdn/JZP5EKAS.js +4 -0
  100. package/dist/cdn/K3VQ7SOM.js +4 -0
  101. package/dist/cdn/K5QIOPE3.js +4 -0
  102. package/dist/cdn/KDJVFOEU.js +4 -0
  103. package/dist/cdn/KFAH7XXB.js +4 -0
  104. package/dist/cdn/{6ARHZZVD.js → KIHFM4UW.js} +2 -2
  105. package/dist/cdn/KII6BNEA.js +4 -0
  106. package/dist/cdn/{CTBTU6R7.js → KIR56BS5.js} +2 -2
  107. package/dist/cdn/{DLU3HUP7.js → KMD36BPP.js} +2 -2
  108. package/dist/cdn/{H2UPKR6S.js → KMZACD46.js} +2 -2
  109. package/dist/cdn/{OWBI3ZU7.js → KT4MZPI5.js} +2 -2
  110. package/dist/cdn/KU6KRXTD.js +4 -0
  111. package/dist/cdn/KWSSY2YG.js +4 -0
  112. package/dist/cdn/{3ZV3NNGN.js → L6UUC2GI.js} +1 -1
  113. package/dist/cdn/{YAGWLY75.js → LAF3DUQE.js} +2 -2
  114. package/dist/cdn/LF7YJBPT.js +4 -0
  115. package/dist/cdn/{GMEM7HDR.js → LGG6TMNC.js} +2 -2
  116. package/dist/cdn/LH2XZLNO.js +4 -0
  117. package/dist/cdn/{XJF6GKGF.js → LM3OOFPM.js} +2 -2
  118. package/dist/cdn/{S7VLGFBV.js → LQEMVEGU.js} +2 -2
  119. package/dist/cdn/{YLZX2MHJ.js → LQF35FG3.js} +2 -2
  120. package/dist/cdn/{LOTUCDOA.js → LSOZEH46.js} +1 -1
  121. package/dist/cdn/M3WEYTH3.js +4 -0
  122. package/dist/cdn/MLRU55AD.js +4 -0
  123. package/dist/cdn/{ZDENIMCH.js → MVCPUXFX.js} +2 -2
  124. package/dist/cdn/{6YTCTNPK.js → NALBE2KT.js} +2 -2
  125. package/dist/cdn/{34XV3PST.js → NAXC3EBC.js} +1 -1
  126. package/dist/cdn/{R3G5M4F7.js → NJB5K5JL.js} +2 -2
  127. package/dist/cdn/{4FGITNJL.js → NKZDAPEF.js} +2 -2
  128. package/dist/cdn/{5U4QI3M3.js → NLIO3CCN.js} +2 -2
  129. package/dist/cdn/NLNGAKVV.js +4 -0
  130. package/dist/cdn/NM5GSIVR.js +4 -0
  131. package/dist/cdn/{6HMKNYAB.js → NZYB5FHU.js} +2 -2
  132. package/dist/cdn/O3Z6UI77.js +4 -0
  133. package/dist/cdn/OMYA6OIW.js +4 -0
  134. package/dist/cdn/{STTIBK4B.js → OY2YV2JP.js} +2 -2
  135. package/dist/cdn/{A4BYZFQP.js → PAS7LG4L.js} +2 -2
  136. package/dist/cdn/{GZJQC62G.js → PZMADEY3.js} +2 -2
  137. package/dist/cdn/{AKSR565H.js → Q5TR7VJT.js} +2 -2
  138. package/dist/cdn/QBXIU4YH.js +42 -0
  139. package/dist/cdn/{P6E42R4P.js → QKDL5MZQ.js} +2 -2
  140. package/dist/cdn/{VA7NRPXH.js → QV63CON6.js} +2 -2
  141. package/dist/cdn/RG5MV5UQ.js +4 -0
  142. package/dist/cdn/RHKK3RMO.js +4 -0
  143. package/dist/cdn/{PC6FCSDX.js → RHYXGTHM.js} +2 -2
  144. package/dist/cdn/{MAMDCTEO.js → RIIIVJLP.js} +2 -2
  145. package/dist/cdn/RV6XNEGA.js +4 -0
  146. package/dist/cdn/SACMBQQE.js +4 -0
  147. package/dist/cdn/SQWACKER.js +4 -0
  148. package/dist/cdn/{TQ4SKFMX.js → ST6LAIAP.js} +2 -2
  149. package/dist/cdn/{O2MX3VL7.js → SWIWUWM6.js} +2 -2
  150. package/dist/cdn/{PGLIJUXT.js → T6XDJGHP.js} +2 -2
  151. package/dist/cdn/{JFODPCBN.js → TJEXEEIW.js} +2 -2
  152. package/dist/cdn/TVY5A5W3.js +4 -0
  153. package/dist/cdn/U2N5M3G6.js +4 -0
  154. package/dist/cdn/UEQU7T6L.js +4 -0
  155. package/dist/cdn/{HJPNRGYL.js → UFL5N6OV.js} +2 -2
  156. package/dist/cdn/{OFLIEREM.js → UXLQ7M3B.js} +2 -2
  157. package/dist/cdn/{YGKNSXIY.js → V5K3XKFG.js} +2 -2
  158. package/dist/cdn/VJKH6CJN.js +4 -0
  159. package/dist/cdn/{5BZKB5WN.js → VO5QPZD7.js} +2 -2
  160. package/dist/cdn/{RRBCAYMC.js → W2ISC3E6.js} +2 -2
  161. package/dist/cdn/{LDBUAPTJ.js → W6GYOREV.js} +2 -2
  162. package/dist/cdn/WHA4WMJN.js +4 -0
  163. package/dist/cdn/{KMANLUX6.js → WJMUP3NY.js} +2 -2
  164. package/dist/cdn/{7CQNT5AG.js → WSRLORRS.js} +2 -2
  165. package/dist/cdn/WZFIJ2YC.js +4 -0
  166. package/dist/cdn/{YPC6LVPV.js → XBSU5RMI.js} +2 -2
  167. package/dist/cdn/{FSO7EWOR.js → XEZUUESQ.js} +2 -2
  168. package/dist/cdn/XKGITGT4.js +4 -0
  169. package/dist/cdn/XNEVNDQM.js +4 -0
  170. package/dist/cdn/XOUCFNJO.js +4 -0
  171. package/dist/cdn/{O4CVPZBZ.js → YBUQ2CZN.js} +2 -2
  172. package/dist/cdn/YHTDEGGL.js +4 -0
  173. package/dist/cdn/{7KDPHVPV.js → YMXAYPQF.js} +2 -2
  174. package/dist/cdn/YNTNCLUF.js +4 -0
  175. package/dist/cdn/YOCJL575.js +4 -0
  176. package/dist/cdn/{OG7U546P.js → YSC56A32.js} +2 -2
  177. package/dist/cdn/{W7UZLF7Y.js → ZA2QWT56.js} +2 -2
  178. package/dist/cdn/ZEXQVTYO.js +4 -0
  179. package/dist/cdn/ZG54HWVW.js +4 -0
  180. package/dist/cdn/{CX4UFCYA.js → ZJRC5EPB.js} +2 -2
  181. package/dist/cdn/ZPSD5J36.js +4 -0
  182. package/dist/cdn/{CORIQ62W.js → ZR2JJJTB.js} +2 -2
  183. package/dist/cdn/index.js +2 -2
  184. package/dist/chart-rendering/common/color-match/renderer-color-match/index.d.ts +0 -1
  185. package/dist/chart-rendering/common/config-utils/index.d.ts +11 -16
  186. package/dist/chart-rendering/common/data/selection/filter/index.d.ts +9 -0
  187. package/dist/chart-rendering/common/data/selection/filter/interfaces.d.ts +3 -0
  188. package/dist/chart-rendering/common/data/utils/misc/index.d.ts +0 -8
  189. package/dist/chart-rendering/common/data/utils/query-parser/time-binning/index.d.ts +13 -0
  190. package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +1 -0
  191. package/dist/chart-rendering/common/defaults/interfaces.d.ts +4 -6
  192. package/dist/chart-rendering/common/interfaces.d.ts +11 -6
  193. package/dist/chart-rendering/common/series/pie-chart/index.d.ts +1 -1
  194. package/dist/chart-rendering/common/symbols/utils/index.d.ts +9 -0
  195. package/dist/chart-rendering/next/chart-library-elements/labels/data-label/pie-chart/index.d.ts +1 -1
  196. package/dist/chart-rendering/next/chart-library-elements/labels/data-label/utils.d.ts +6 -1
  197. package/dist/chart-rendering/next/chart-library-elements/legend/heat-legend/index.d.ts +1 -1
  198. package/dist/chart-rendering/next/chart-library-elements/line-fill-marker/interfaces.d.ts +0 -1
  199. package/dist/chart-rendering/next/chart-library-elements/symbols/utils/property-map/index.d.ts +1 -9
  200. package/dist/chart-rendering/next/chart-library-elements/tooltips/bar-chart/index.d.ts +2 -1
  201. package/dist/chart-rendering/next/chart-library-elements/tooltips/heat-chart/index.d.ts +4 -4
  202. package/dist/chart-rendering/next/chart-library-elements/tooltips/histogram/index.d.ts +3 -2
  203. package/dist/chart-rendering/next/chart-library-elements/tooltips/pie-chart/index.d.ts +2 -2
  204. package/dist/chart-rendering/next/chart-library-elements/tooltips/scatter-plot/index.d.ts +6 -1
  205. package/dist/chart-rendering/next/chart-library-elements/tooltips/utils/index.d.ts +22 -4
  206. package/dist/chart-rendering/next/defaults/index.d.ts +3 -0
  207. package/dist/chart-rendering/next/index.d.ts +2 -2
  208. package/dist/chart-rendering/next/utils/index.d.ts +14 -0
  209. package/dist/chart-rendering/stable/chart-library-elements/line-fill-marker/interfaces.d.ts +0 -1
  210. package/dist/chart-rendering/stable/chart-library-elements/symbols/utils/property-map/index.d.ts +1 -9
  211. package/dist/chart-rendering/stable/index.d.ts +5 -3
  212. package/dist/chart-rendering/stable/utils/error-modal/index.d.ts +5 -7
  213. package/dist/chart-rendering/stable/utils/memory-storage/interfaces.d.ts +1 -0
  214. package/dist/chunks/action-bar-utils.js +25 -16
  215. package/dist/chunks/axis-model-wrapper.js +1 -1
  216. package/dist/chunks/bar-chart-model.js +2 -2
  217. package/dist/chunks/bar-chart-series.js +1 -1
  218. package/dist/chunks/baseline-stacking.js +2 -2
  219. package/dist/chunks/bg_BG.js +1 -1
  220. package/dist/chunks/bg_BG2.js +1 -1
  221. package/dist/chunks/box-plot-data.js +164 -162
  222. package/dist/chunks/box-plot-model.js +41 -43
  223. package/dist/chunks/chart-ui-utils.js +1 -1
  224. package/dist/chunks/chart-ui-utils2.js +12 -12
  225. package/dist/chunks/combo-bar-line-chart-model.js +32 -46
  226. package/dist/chunks/common.js +1 -1
  227. package/dist/chunks/config-update.js +2174 -2179
  228. package/dist/chunks/data.js +330 -330
  229. package/dist/chunks/default.js +1 -1
  230. package/dist/chunks/gauge-model.js +11 -11
  231. package/dist/chunks/heat-chart-model.js +166 -49
  232. package/dist/chunks/histogram-data.js +9 -9
  233. package/dist/chunks/histogram-model.js +2 -2
  234. package/dist/chunks/index.js +440 -5953
  235. package/dist/chunks/index2.js +2 -2
  236. package/dist/chunks/index3.js +2 -2
  237. package/dist/chunks/index4.js +1 -1
  238. package/dist/chunks/index5.js +1 -1
  239. package/dist/chunks/interfaces.js +7846 -2264
  240. package/dist/chunks/interfaces2.js +1 -1
  241. package/dist/chunks/interfaces3.js +1 -1
  242. package/dist/chunks/interfaces4.js +8 -8
  243. package/dist/chunks/line-chart-model.js +6 -6
  244. package/dist/chunks/model-with-baseline-stacking.js +18 -28
  245. package/dist/chunks/model-with-data-labels.js +2 -2
  246. package/dist/chunks/model-with-multi-axes.js +30 -70
  247. package/dist/chunks/model-with-rotation.js +2 -2
  248. package/dist/chunks/pie-chart-data.js +83 -77
  249. package/dist/chunks/pie-chart-model.js +25 -25
  250. package/dist/chunks/popover-ui-utils.js +1 -1
  251. package/dist/chunks/radar-chart-model.js +6 -6
  252. package/dist/chunks/resource.js +1 -1
  253. package/dist/chunks/rest-js-object-literals.js +1 -1
  254. package/dist/chunks/runtime.js +1 -1
  255. package/dist/chunks/scatterplot-model.js +2 -2
  256. package/dist/chunks/serial-chart-model.js +23 -23
  257. package/dist/chunks/series-types.js +1 -1
  258. package/dist/chunks/series.js +2 -2
  259. package/dist/chunks/sk_SK.js +1 -1
  260. package/dist/chunks/store.js +22 -13
  261. package/dist/chunks/type-guards.js +1 -1
  262. package/dist/chunks/useT9n.js +1 -1
  263. package/dist/chunks/web-component-utils.js +30 -30
  264. package/dist/components/arcgis-chart/customElement.d.ts +7 -10
  265. package/dist/components/arcgis-chart/customElement.js +6200 -6089
  266. package/dist/components/arcgis-charts-action-bar/customElement.js +2 -2
  267. package/dist/components/arcgis-charts-config-axes/customElement.js +2 -2
  268. package/dist/components/arcgis-charts-config-axis/customElement.js +3 -3
  269. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +3 -3
  270. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +111 -107
  271. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +7 -7
  272. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +6 -4
  273. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.d.ts +1 -1
  274. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +4 -4
  275. package/dist/components/arcgis-charts-config-box-plot/customElement.js +3 -3
  276. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +3 -3
  277. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +36 -36
  278. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +2 -2
  279. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +4 -4
  280. package/dist/components/arcgis-charts-config-category-format/customElement.js +2 -2
  281. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +3 -3
  282. package/dist/components/arcgis-charts-config-color-style/customElement.js +3 -3
  283. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  284. package/dist/components/arcgis-charts-config-create-flow/customElement.js +67 -67
  285. package/dist/components/arcgis-charts-config-field-select/customElement.js +2 -2
  286. package/dist/components/arcgis-charts-config-font-style/customElement.js +8 -8
  287. package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
  288. package/dist/components/arcgis-charts-config-format-popover/customElement.js +2 -2
  289. package/dist/components/arcgis-charts-config-general/customElement.js +3 -3
  290. package/dist/components/arcgis-charts-config-guide/customElement.js +26 -26
  291. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +2 -2
  292. package/dist/components/arcgis-charts-config-guides/customElement.js +2 -2
  293. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +2 -2
  294. package/dist/components/arcgis-charts-config-histogram/customElement.js +3 -3
  295. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +7 -7
  296. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +4 -4
  297. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +2 -2
  298. package/dist/components/arcgis-charts-config-line-chart/customElement.js +3 -3
  299. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +52 -48
  300. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +6 -6
  301. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +2 -2
  302. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +7 -7
  303. package/dist/components/arcgis-charts-config-line-style/customElement.js +3 -3
  304. package/dist/components/arcgis-charts-config-number-format/customElement.js +6 -6
  305. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +3 -3
  306. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +5 -5
  307. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +8 -8
  308. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +6 -6
  309. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +4 -4
  310. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +3 -3
  311. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +38 -35
  312. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +4 -4
  313. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +3 -3
  314. package/dist/components/arcgis-charts-config-view-charts/customElement.js +2 -2
  315. package/dist/docs/api.json +6 -90
  316. package/dist/docs/docs.json +87 -91
  317. package/dist/docs/vscode.html-custom-data.json +1 -1
  318. package/dist/docs/web-types.json +3 -3
  319. package/dist/index.js +206 -205
  320. package/dist/json-schema/index.d.ts +4 -0
  321. package/dist/loader.js +1 -1
  322. package/dist/model/box-plot-model/box-plot-model.d.ts +2 -4
  323. package/dist/model/box-plot-model/utils/box-plot-data.d.ts +2 -0
  324. package/dist/model/chart-model/chart-model.d.ts +8 -23
  325. package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +30 -43
  326. package/dist/model/heat-chart-model/heat-chart-model.d.ts +75 -10
  327. package/dist/model/heat-chart-model/utils/heat-chart-data.d.ts +61 -6
  328. package/dist/model/mixins/model-with-baseline-stacking.d.ts +4 -10
  329. package/dist/model/mixins/model-with-line-marker-styling.d.ts +13 -17
  330. package/dist/model/mixins/model-with-multi-axes.d.ts +21 -47
  331. package/dist/model/mixins/utils/baseline-stacking.d.ts +5 -11
  332. package/dist/model/mixins/utils/line-marker-styling.d.ts +18 -23
  333. package/dist/model/pie-chart-model/pie-chart-model.d.ts +6 -4
  334. package/dist/model/serial-chart-model/serial-chart-model.d.ts +2 -4
  335. package/dist/model/shared/axes.d.ts +0 -3
  336. package/dist/model.js +1 -1
  337. package/dist/spec/data-source.d.ts +5 -0
  338. package/dist/spec/web-chart.d.ts +2 -2
  339. package/dist/store.d.ts +24 -3
  340. package/dist/test/chart-rendering/test-utils/utils.d.ts +0 -8
  341. package/dist/utils/chart-config/converter/index.d.ts +3 -3
  342. package/dist/utils/chart-config/utils/index.d.ts +7 -0
  343. package/dist/utils/chart-config/validator/index.d.ts +10 -10
  344. package/dist/utils/components/config-update.d.ts +11 -3
  345. package/dist/utils/layer/interfaces.d.ts +1 -0
  346. package/dist/utils/layer/query-parser/index.d.ts +8 -0
  347. package/dist/utils/layer/utils/index.d.ts +3 -3
  348. package/package.json +5 -5
  349. package/dist/cdn/26ZDKIM2.js +0 -4
  350. package/dist/cdn/2722MDKQ.js +0 -4
  351. package/dist/cdn/2GXXGXVH.js +0 -4
  352. package/dist/cdn/2OF4P5LU.js +0 -4
  353. package/dist/cdn/2ZDHGQFG.js +0 -4
  354. package/dist/cdn/4IIZMUKW.js +0 -4
  355. package/dist/cdn/4OPEZPGO.js +0 -4
  356. package/dist/cdn/53YQPQU7.js +0 -4
  357. package/dist/cdn/5QEGZD45.js +0 -4
  358. package/dist/cdn/65CIPXBU.js +0 -4
  359. package/dist/cdn/7BZGKSJP.js +0 -4
  360. package/dist/cdn/7VA7HFFX.js +0 -4
  361. package/dist/cdn/AQP4LAW6.js +0 -4
  362. package/dist/cdn/B3SKHW55.js +0 -4
  363. package/dist/cdn/B56HEX5S.js +0 -4
  364. package/dist/cdn/BGU75DEL.js +0 -4
  365. package/dist/cdn/BZEZGR3Q.js +0 -4
  366. package/dist/cdn/CN6C7CKP.js +0 -4
  367. package/dist/cdn/CODB7654.js +0 -4
  368. package/dist/cdn/DAFES5NQ.js +0 -4
  369. package/dist/cdn/DBCE6YK4.js +0 -4
  370. package/dist/cdn/DBOVM2GI.js +0 -4
  371. package/dist/cdn/DVYMNVKQ.js +0 -58
  372. package/dist/cdn/F4X5AZYC.js +0 -4
  373. package/dist/cdn/FCZE76ZT.js +0 -4
  374. package/dist/cdn/FQLRTUFP.js +0 -4
  375. package/dist/cdn/GB2LCBGU.js +0 -4
  376. package/dist/cdn/GLHSUPO2.js +0 -4
  377. package/dist/cdn/GOEKIBRP.js +0 -4
  378. package/dist/cdn/H7VGLHF3.js +0 -4
  379. package/dist/cdn/HCZCK553.js +0 -4
  380. package/dist/cdn/HQSU7XQD.js +0 -4
  381. package/dist/cdn/I4COPFSD.js +0 -4
  382. package/dist/cdn/I7XMRSKS.js +0 -4
  383. package/dist/cdn/IG6J4GJL.js +0 -4
  384. package/dist/cdn/IHGIFUEA.js +0 -4
  385. package/dist/cdn/IPZ3UP5O.js +0 -4
  386. package/dist/cdn/IVCEM4ZM.js +0 -4
  387. package/dist/cdn/KCQLJI57.js +0 -4
  388. package/dist/cdn/KNRKRRRO.js +0 -4
  389. package/dist/cdn/KYFOBNT7.js +0 -4
  390. package/dist/cdn/LWDUNAKP.js +0 -4
  391. package/dist/cdn/M2BNPJIN.js +0 -4
  392. package/dist/cdn/N7MD6SPR.js +0 -4
  393. package/dist/cdn/NGAGKKLX.js +0 -4
  394. package/dist/cdn/NHJSWMJ3.js +0 -4
  395. package/dist/cdn/NK55SOH6.js +0 -4
  396. package/dist/cdn/NN2EIGE6.js +0 -4
  397. package/dist/cdn/O3JYODXZ.js +0 -4
  398. package/dist/cdn/OHMBY6IK.js +0 -4
  399. package/dist/cdn/OMG6SL3T.js +0 -4
  400. package/dist/cdn/OMNGUMOT.js +0 -4
  401. package/dist/cdn/OTMFFLYC.js +0 -4
  402. package/dist/cdn/P5O2P2RF.js +0 -4
  403. package/dist/cdn/P5Q43U7B.js +0 -4
  404. package/dist/cdn/PFVQP4GC.js +0 -4
  405. package/dist/cdn/PKT6EC3O.js +0 -4
  406. package/dist/cdn/PNWEOTMI.js +0 -4
  407. package/dist/cdn/PRVCQVPA.js +0 -4
  408. package/dist/cdn/QZB4NFIW.js +0 -4
  409. package/dist/cdn/R2UESZZA.js +0 -4
  410. package/dist/cdn/RTDALJUF.js +0 -4
  411. package/dist/cdn/S5IAVCC4.js +0 -4
  412. package/dist/cdn/SCGRHZME.js +0 -4
  413. package/dist/cdn/SLFY6MNY.js +0 -4
  414. package/dist/cdn/TBXOAJ6X.js +0 -4
  415. package/dist/cdn/UFRAN3HD.js +0 -4
  416. package/dist/cdn/UJZLVYVW.js +0 -4
  417. package/dist/cdn/UO74AY6S.js +0 -4
  418. package/dist/cdn/UWTMDEXN.js +0 -4
  419. package/dist/cdn/V4K56KHO.js +0 -42
  420. package/dist/cdn/V53H2UTK.js +0 -4
  421. package/dist/cdn/VPSPX45T.js +0 -4
  422. package/dist/cdn/X4ZPL74N.js +0 -4
  423. package/dist/cdn/XHUTCLWD.js +0 -4
  424. package/dist/cdn/XN26QRQK.js +0 -4
  425. package/dist/cdn/Y2AI5DXX.js +0 -4
  426. package/dist/cdn/Z7YX3V7O.js +0 -4
  427. package/dist/cdn/ZYYIRFRL.js +0 -4
@@ -75,14 +75,12 @@ interface LineSeriesDefaults {
75
75
  stackedType: WebChartStackedKinds;
76
76
  stackNegativeValuesToBaseline: boolean;
77
77
  marker: {
78
- markerSize: number;
78
+ markerSmallSize: number;
79
+ markerBigSize: number;
79
80
  markerStrokeWidth: number;
81
+ markerStyle: RESTSimpleMarkerSymbolStyle;
80
82
  };
81
83
  }
82
- interface LineMarkerDefaults {
83
- markerSize: number;
84
- markerStyle: RESTSimpleMarkerSymbolStyle;
85
- }
86
84
  export interface LabelProperties {
87
85
  wrap?: boolean;
88
86
  paddingLeft?: number;
@@ -151,7 +149,6 @@ export interface CommonChartDefaults {
151
149
  scatterplotSeries: Readonly<ScatterplotSeriesDefaults>;
152
150
  histogramSeries: Readonly<HistogramSeriesDefaults>;
153
151
  lineSeries: Readonly<LineSeriesDefaults>;
154
- lineMarker: Readonly<LineMarkerDefaults>;
155
152
  xAxisLabelMaxWidth: number;
156
153
  yAxisLabelMaxWidth: number;
157
154
  axisLabelPadding: number;
@@ -166,6 +163,7 @@ export interface CommonChartDefaults {
166
163
  dataTooltipStyleReversed?: Readonly<Partial<ISimpleFillSymbol>>;
167
164
  cursorCrosshair: Readonly<Required<Omit<WebChartCursorCrosshair, "type">>>;
168
165
  buffer: boolean;
166
+ treatZeroValueAs: number;
169
167
  elementLimitForSmoothRendering: number;
170
168
  headerContainer: Readonly<ContainerProperties>;
171
169
  footerContainer: Readonly<ContainerProperties>;
@@ -1,21 +1,21 @@
1
1
  import { default as MapView } from '@arcgis/core/views/MapView';
2
2
  import { default as SceneView } from '@arcgis/core/views/SceneView';
3
3
  import { default as FeatureLayerView } from '@arcgis/core/views/layers/FeatureLayerView';
4
- import { IField, SupportedLayer, WebBoxPlot, WebChart, WebChartDataFilters, WebChartDataItem, WebChartDataItemValue, WebChartDataTypes, WebChartPieChartSlice, WebChartQuery, WebGaugeChart } from '../../spec';
5
- import { AbortControllerKeyType, ActionModes, BinnedServerData, ChartElementLimit, CursorRange, ErrorStrings, LoaderColors, QueryObject, SelectionData, SelectionTheme, UtilsStrings } from '../../utils';
4
+ import { IField, SupportedLayer, WebBoxPlot, WebChart, WebChartDataFilters, WebChartDataItem, WebChartDataItemValue, WebChartDataTypes, WebChartPieChartSlice, WebChartQuery, WebGaugeChart, WebHeatChart, WebRadarChart } from '../../spec';
5
+ import { AbortControllerKeyType, ActionModes, BinnedServerData, ChartElementLimit, CursorRange, ErrorStrings, LoaderColors, QueryObject, SelectionData, SelectionTheme, UtilsStrings, ValidationStatus } from '../../utils';
6
6
  export declare const uuidNamespace: string;
7
7
  export interface NotifyOptions {
8
8
  closable?: boolean;
9
9
  }
10
- export type AnyConfigType = WebBoxPlot | WebChart | WebGaugeChart;
11
- export type ConfigWithILayer = WebBoxPlot | WebChart | WebGaugeChart;
10
+ export type ConfigWithILayer = WebBoxPlot | WebChart | WebGaugeChart | WebHeatChart | WebRadarChart;
12
11
  export type XYConfigWithILayer = WebBoxPlot | WebChart;
13
12
  export interface T9NStrings {
14
13
  utilsStrings: UtilsStrings;
15
14
  errorStrings: ErrorStrings;
16
15
  }
17
- export interface CreateChartProps<ConfigType extends AnyConfigType> {
16
+ export interface CreateChartProps<ConfigType extends ConfigWithILayer> {
18
17
  chartContainer?: HTMLElement;
18
+ configValidationStatus: ValidationStatus;
19
19
  chartConfig?: ConfigType;
20
20
  queryObject?: QueryObject;
21
21
  options?: ChartOptions;
@@ -25,9 +25,11 @@ export interface CreateChartProps<ConfigType extends AnyConfigType> {
25
25
  }
26
26
  export interface UpdateChartProps {
27
27
  newChartConfig?: WebChart | WebGaugeChart;
28
+ configValidationStatus: ValidationStatus;
28
29
  updateOptions?: ChartOptions;
29
30
  updateGlobalOptions?: GlobalOptions;
30
31
  t9nStrings: T9NStrings;
32
+ queryObject: QueryObject;
31
33
  }
32
34
  export interface FetchDataProps {
33
35
  queryObject?: QueryObject;
@@ -50,10 +52,12 @@ export interface FetchDataProps {
50
52
  }
51
53
  export interface UpdateChartElementsProps {
52
54
  newConfig?: WebChart | WebGaugeChart;
55
+ queryObject: QueryObject;
53
56
  forceDataUpdate?: boolean;
54
57
  updateOptions?: ChartOptions;
55
58
  updateGlobalOptions?: GlobalOptions;
56
59
  utilsStrings: UtilsStrings;
60
+ configValidationStatus: ValidationStatus;
57
61
  }
58
62
  export interface ExportChartImageOptions {
59
63
  format: "jpg" | "png";
@@ -134,6 +138,7 @@ export type PreRenderCallback = (props: {
134
138
  data?: WebChartDataTypes;
135
139
  slices?: WebChartPieChartSlice[];
136
140
  }) => Promise<WebChart | WebGaugeChart>;
141
+ export type TooltipFormatters = BarAndLineTooltipFormatCallback | BoxPlotTooltipFormatCallback | HistogramLabelFormatCallback | PieChartLabelFormatCallback | ScatterplotLabelFormatCallback;
137
142
  /** JSON representation of the runtime chart options for the update or initialization. */
138
143
  export interface ChartOptions {
139
144
  /**
@@ -306,7 +311,7 @@ export interface ChartOptions {
306
311
  * Used to customize the way the tooltips are rendered. The callback function can return an HTML string and the tags will
307
312
  * be interpreted properly.
308
313
  */
309
- tooltipFormatter?: BarAndLineTooltipFormatCallback | BoxPlotTooltipFormatCallback | HistogramLabelFormatCallback | PieChartLabelFormatCallback | ScatterplotLabelFormatCallback;
314
+ tooltipFormatter?: TooltipFormatters;
310
315
  dataLabelFormatter?: BarAndLineDataLabelFormatCallback | HistogramLabelFormatCallback | PieChartLabelFormatCallback | ScatterplotLabelFormatCallback;
311
316
  /**
312
317
  * Used to customize the way the guides' tooltip are rendered. The callback function can return an HTML string and the tags will
@@ -1,5 +1,5 @@
1
- import { PieSlicesSymbols, UtilsStrings } from '../../../../utils';
2
1
  import { IField, ISimpleFillSymbol, WebChart, WebChartDataItem, WebChartPieChartSeries, WebChartPieChartSlice } from '../../../../spec';
2
+ import { PieSlicesSymbols, UtilsStrings } from '../../../../utils';
3
3
  /**
4
4
  * Generates an id for a slice from a non aggregated slice.
5
5
  * it will generate `arcgis-charts-slice-id-<object id>` or `arcgis-charts-slice-id-<slice index>`
@@ -0,0 +1,9 @@
1
+ import { ISimpleMarkerSymbol } from '../../../../spec';
2
+ /**
3
+ * Generates SVG path for marker style and size
4
+ * The SVG paths are adopted from [JSAPI 3.x](https://devtopia.esri.com/WebGIS/arcgis-js-api/blob/master/esri/symbols/SimpleMarkerSymbol.js#L133)
5
+ *
6
+ * @param style
7
+ * @param size
8
+ */
9
+ export declare function mapPath(style: ISimpleMarkerSymbol["style"], size?: number): string;
@@ -6,7 +6,7 @@ import { PieChartLabelFormatCallback } from '../../../../../common/interfaces';
6
6
  *
7
7
  * @param pieSeries The series on which to initialize the data labels
8
8
  */
9
- export declare function initializePieChartDataLabel(pieSeries: PieSeries): void;
9
+ export declare function initializePieChartDataLabel(pieSeries: PieSeries, externalDataLabelFormatter: PieChartLabelFormatCallback | undefined): void;
10
10
  /**
11
11
  * Handles how the data labels are rendered on a pie chart.
12
12
  * Uses from the configuration:
@@ -39,9 +39,14 @@ export declare function removeSeriesDataLabel(series: XYSeries, index?: number):
39
39
  *
40
40
  * @param textBackgroundColor The background color of the data label, it can be the color of the column or the series.
41
41
  * @param chartBackgroundColor The background color of the chart.
42
+ * @param fillOpacity The fill opactiy of the background of the data label
42
43
  * @returns The best inverse color to use for the data label text
43
44
  */
44
- export declare function getContrastTextColor(textBackgroundColor: AmChartsColor, chartBackgroundColor: AmChartsColor): AmChartsColor;
45
+ export declare function getContrastTextColor(props: {
46
+ textBackgroundColor: AmChartsColor;
47
+ chartBackgroundColor: AmChartsColor;
48
+ fillOpacity?: number;
49
+ }): AmChartsColor;
45
50
  /**
46
51
  * Adds a color adapter to the data label to inverse the text color based on the series color and the chart background color.
47
52
  *
@@ -1,6 +1,6 @@
1
1
  import { HeatLegend } from '@amcharts/amcharts5';
2
- import { WebChartSeriesType, WebChart } from '../../../../../spec';
3
2
  import { XYChart } from '@amcharts/amcharts5/xy.js';
3
+ import { WebChartSeriesType, WebChart } from '../../../../../spec';
4
4
  /**
5
5
  * Initializes the legend
6
6
  *
@@ -29,6 +29,5 @@ export interface UpdateSymbolProps<T extends ISimpleFillSymbol | ISimpleLineSymb
29
29
  y?: string;
30
30
  isChartFillSymbol?: boolean;
31
31
  keepCurrentVisibility?: boolean;
32
- preferSeriesSymbolOverRendererSymbol?: boolean;
33
32
  }
34
33
  export {};
@@ -1,5 +1,5 @@
1
1
  import { Pattern, Percent, Root } from '@amcharts/amcharts5';
2
- import { ISimpleMarkerSymbol, SimpleFillSymbolStyle, WebChartTextSymbol, RESTHorizontalAlignment, RESTSimpleLineSymbolStyle } from '../../../../../../spec';
2
+ import { SimpleFillSymbolStyle, WebChartTextSymbol, RESTHorizontalAlignment, RESTSimpleLineSymbolStyle } from '../../../../../../spec';
3
3
  import { AmChartsColor } from '../../../../types';
4
4
  /**
5
5
  * Maps a width defined as a number or a string following the pattern 'xxx%' into
@@ -42,14 +42,6 @@ export declare function mapFillSymbolStyle(props: {
42
42
  * @param defaultAngle
43
43
  */
44
44
  export declare function mapAngle(angle?: number, defaultAngle?: number): number;
45
- /**
46
- * Generates SVG path for marker style and size
47
- * The SVG paths are adopted from [JSAPI 3.x](https://devtopia.esri.com/WebGIS/arcgis-js-api/blob/master/esri/symbols/SimpleMarkerSymbol.js#L133)
48
- *
49
- * @param style
50
- * @param size
51
- */
52
- export declare function mapPath(style: ISimpleMarkerSymbol["style"], size?: number): string;
53
45
  /**
54
46
  * Horizontal alignment
55
47
  *
@@ -1,7 +1,8 @@
1
1
  import { ColumnSeries } from '@amcharts/amcharts5/xy.js';
2
+ import { TooltipFormatters } from '../../../../common/interfaces';
2
3
  /**
3
4
  * Initializes the tooltip associated to bar/column charts
4
5
  *
5
6
  * @param columnSeries The series on which to initialize the tooltip
6
7
  */
7
- export declare function initializeBarChartTooltip(columnSeries: ColumnSeries): void;
8
+ export declare function initializeBarChartTooltip(columnSeries: ColumnSeries, tooltipFormatter?: TooltipFormatters): void;
@@ -2,8 +2,8 @@ import { Series, Sprite, Tooltip } from '@amcharts/amcharts5';
2
2
  import { ColumnSeries } from '@amcharts/amcharts5/xy.js';
3
3
  import { IField, WebHeatChart, WebChartCalendarDatePartsUnits, WebChartHeatChartSeries } from '../../../../../spec';
4
4
  import { UtilsStrings } from '../../../../../utils';
5
- import { HeatChartLabelFormatCallback } from '../../../../common/interfaces';
6
- import { HeatChartTooltipProps } from './interfaces';
5
+ import { HeatChartLabelFormatCallback, TooltipFormatters } from '../../../../common/interfaces';
6
+ import { UpdateHeatChartSeriesProps } from '../../series/heat-chart/interfaces';
7
7
  /**
8
8
  * Util method to generate date parts object for tooltip to create it's content
9
9
  * @param props.value number that we are checking
@@ -52,10 +52,10 @@ export declare function heatChartTooltipContentCallback(props: {
52
52
  * Initializes the tooltip associated to the slices on a heat chart
53
53
  * @param columnSeries The series containing the slices on which to add a tooltip text adapter
54
54
  */
55
- export declare function initializeHeatChartTooltip(columnSeries: ColumnSeries): void;
55
+ export declare function initializeHeatChartTooltip(columnSeries: ColumnSeries, tooltipFormatter?: TooltipFormatters): void;
56
56
  /**
57
57
  * Handles how the tooltip is rendered on a heat chart.
58
58
  * If a format callback is passed, we'll use it over the default tooltip formatting.
59
59
  * @param props Necessary information to update the tooltip
60
60
  */
61
- export declare function updateHeatChartTooltip(props: HeatChartTooltipProps): void;
61
+ export declare function updateHeatChartTooltip(props: UpdateHeatChartSeriesProps): void;
@@ -1,7 +1,7 @@
1
1
  import { Series, Sprite, Tooltip } from '@amcharts/amcharts5';
2
2
  import { ColumnSeries } from '@amcharts/amcharts5/xy.js';
3
3
  import { WebChartHistogramSeries } from '../../../../../spec';
4
- import { HistogramLabelFormatCallback } from '../../../../common/interfaces';
4
+ import { HistogramLabelFormatCallback, TooltipFormatters } from '../../../../common/interfaces';
5
5
  import { HistogramTooltipProps } from './interfaces';
6
6
  /**
7
7
  * Creates an adapter callback that uses the formatter stored in the series memory storage
@@ -25,8 +25,9 @@ export declare function histogramTooltipContentCallback(props: {
25
25
  * Initializes the tooltip associated to the columns on a histogram
26
26
  *
27
27
  * @param series The Series containing the columns template on which to add the tooltip text adapter
28
+ * @param tooltipFormatter the external tooltip formatter
28
29
  */
29
- export declare function initializeHistogramTooltip(series: ColumnSeries): void;
30
+ export declare function initializeHistogramTooltip(series: ColumnSeries, tooltipFormatter?: TooltipFormatters): void;
30
31
  /**
31
32
  * Updates the histogram tooltip formatter, by using the custom formatter provided through the chart options
32
33
  * or generating a default one.
@@ -1,7 +1,7 @@
1
1
  import { Tooltip } from '@amcharts/amcharts5';
2
2
  import { PieSeries } from '@amcharts/amcharts5/percent.js';
3
3
  import { WebChartPieChartSeries } from '../../../../../spec';
4
- import { PieChartLabelFormatCallback } from '../../../../common/interfaces';
4
+ import { PieChartLabelFormatCallback, TooltipFormatters } from '../../../../common/interfaces';
5
5
  import { PieChartTooltipProps } from './interfaces';
6
6
  export declare function generateDefaultPieChartTooltipContentFormatter(pieSeries: PieSeries, seriesConfig: WebChartPieChartSeries): PieChartLabelFormatCallback;
7
7
  /**
@@ -19,7 +19,7 @@ export declare function pieChartTooltipContentCallback(props: {
19
19
  * Initializes the tooltip associated to the slices on a pie chart
20
20
  * @param pieSeries The series containing the slices on which to add a tooltip text adapter
21
21
  */
22
- export declare function initializePieChartTooltip(pieSeries: PieSeries): void;
22
+ export declare function initializePieChartTooltip(pieSeries: PieSeries, tooltipFormatter?: TooltipFormatters): void;
23
23
  /**
24
24
  * Handles how the tooltip is rendered on a pie chart.
25
25
  * Uses from the configuration:
@@ -1,6 +1,7 @@
1
1
  import { Graphics, Sprite, Template, Tooltip } from '@amcharts/amcharts5';
2
2
  import { LineSeries } from '@amcharts/amcharts5/xy.js';
3
3
  import { WebChartScatterplotSeries } from '../../../../../spec';
4
+ import { TooltipFormatters } from '../../../../common/interfaces';
4
5
  import { ScatterplotTooltipProps } from './interfaces';
5
6
  /**
6
7
  * Adds the html code to the tooltip associated to the scatterplot bullets
@@ -20,7 +21,11 @@ export declare function scatterplotTooltipContentCallback(props: {
20
21
  * @param element The bullet element which has the tooltip on it
21
22
  * @param markerSeries The series on which to initialize the tooltip
22
23
  */
23
- export declare function initializeScatterplotTooltip(element: Template<Graphics>, markerSeries: LineSeries): void;
24
+ export declare function initializeScatterplotTooltip(props: {
25
+ element: Template<Graphics>;
26
+ markerSeries: LineSeries;
27
+ tooltipFormatter?: TooltipFormatters;
28
+ }): void;
24
29
  /**
25
30
  * Updates/initializes the tooltip for a Sprite marker in scatterplot.
26
31
  *
@@ -4,6 +4,7 @@ import { RadarLineSeries } from '@amcharts/amcharts5/radar.js';
4
4
  import { XYSeries, ColumnSeries, LineSeries } from '@amcharts/amcharts5/xy.js';
5
5
  import { DateTimeFormatOptions, NumberFormatOptions, WebChartAxis, WebChartBarChartSeries, WebChartBoxPlotSeries, WebChartDataItemValue, WebChartLineChartSeries, WebChartRadarChartSeries } from '../../../../../spec';
6
6
  import { ChartTypes } from '../../../../../utils';
7
+ import { TooltipFormatters } from '../../../../common/interfaces';
7
8
  import { BarAndLineChartTooltipProps } from '../interfaces';
8
9
  /**
9
10
  * Adding an extra padding on the tooltip's label to avoid its scrollbar to show up.
@@ -26,7 +27,11 @@ export declare function reverseTooltipColor(tooltip: Tooltip, reverseColor?: boo
26
27
  * @param element The bullet element which has the tooltip on it
27
28
  * @param series The series on which to initialize the tooltip
28
29
  */
29
- export declare function initializeLineAndRadarChartTooltip(element: Template<Graphics>, series: LineSeries | RadarLineSeries): void;
30
+ export declare function initializeLineAndRadarChartTooltip(props: {
31
+ element: Template<Graphics>;
32
+ series: LineSeries | RadarLineSeries;
33
+ tooltipFormatter?: TooltipFormatters;
34
+ }): void;
30
35
  /**
31
36
  * Initializes the tooltip associated to the markers on a series
32
37
  *
@@ -37,8 +42,13 @@ export declare function initializeSeriesTooltip(series: PieSeries | XYSeries): T
37
42
  * Initializes the tooltip associated to the markers on a series
38
43
  * @param root The root of the bullet
39
44
  * @param series The series on what the bullet is associated with
45
+ * @param tooltipFormatter The external tooltip formatter
40
46
  */
41
- export declare function initializeBulletTooltip(root: Root, series: PieSeries | XYSeries): Tooltip;
47
+ export declare function initializeBulletTooltip(props: {
48
+ root: Root;
49
+ series: PieSeries | XYSeries;
50
+ tooltipFormatter?: TooltipFormatters;
51
+ }): Tooltip;
42
52
  /**
43
53
  * A callback to check if tooltip needs to be reversed
44
54
  *
@@ -52,7 +62,11 @@ export declare function tooltipReverseColorCallback(tooltip: Tooltip, series: Se
52
62
  * @param element The element on which we are adding the html
53
63
  * @param series the series parent of the element
54
64
  */
55
- export declare function seriesTooltipContentCallback(element: Sprite | Tooltip, series: Series): string;
65
+ export declare function seriesTooltipContentCallback(props: {
66
+ element: Sprite | Tooltip;
67
+ series: Series;
68
+ isHTML: boolean;
69
+ }): string;
56
70
  /**
57
71
  * The tooltip x value is the value associated to the x-axis. It can be a category name, a date,
58
72
  * a date range, etc.
@@ -75,4 +89,8 @@ export declare function updateBarAndLineChartTooltip(props: BarAndLineChartToolt
75
89
  * @param chartType The chart type of the series
76
90
  * @param series the series of the tooltip
77
91
  */
78
- export declare function reInitializeSeriesTooltips(chartType: ChartTypes, series: Series): void;
92
+ export declare function reInitializeSeriesTooltips(props: {
93
+ chartType: ChartTypes;
94
+ series: Series;
95
+ tooltipFormatter?: TooltipFormatters;
96
+ }): void;
@@ -38,6 +38,9 @@ interface SpecificChartDefaults {
38
38
  };
39
39
  emptyCells: Readonly<WebChartHeatChartSeries["emptyCells"]>;
40
40
  };
41
+ pieChartDataLabel: {
42
+ minWidth: number;
43
+ };
41
44
  heatChartLabelPadding: {
42
45
  paddingTop: number;
43
46
  };
@@ -1,4 +1,4 @@
1
- import { AnyConfigType, ChartInstance, CreateChartProps } from '../common/interfaces';
1
+ import { ConfigWithILayer, ChartInstance, CreateChartProps } from '../common/interfaces';
2
2
  /**
3
3
  * Creates a chart
4
4
  *
@@ -8,4 +8,4 @@ import { AnyConfigType, ChartInstance, CreateChartProps } from '../common/interf
8
8
  * @param createChartProps.globalOptions The global options
9
9
  * @param createChartProps.t9nStrings The t9n strings
10
10
  */
11
- export declare function createChart(createChartProps: CreateChartProps<AnyConfigType>): Promise<ChartInstance>;
11
+ export declare function createChart(createChartProps: CreateChartProps<ConfigWithILayer>): Promise<ChartInstance>;
@@ -22,3 +22,17 @@ export declare function hexColorToRGB(input: string): {
22
22
  b: number;
23
23
  a?: number;
24
24
  } | undefined;
25
+ /**
26
+ * Determines if an RGBA color is light or dark, considering opacity.
27
+ * @param {number} props.r - Red (0-255)
28
+ * @param {number} props.g - Green (0-255)
29
+ * @param {number} props.b - Blue (0-255)
30
+ * @param {number} props.a - Alpha (0-1)
31
+ * @returns boolean
32
+ */
33
+ export declare function isColorLight(props: {
34
+ r: number;
35
+ g: number;
36
+ b: number;
37
+ a?: number;
38
+ }): boolean;
@@ -26,6 +26,5 @@ export interface UpdateSymbolProps<T extends ISimpleFillSymbol | ISimpleLineSymb
26
26
  rendererSymbol?: IRendererSymbol;
27
27
  y?: string;
28
28
  isChartFillSymbol?: boolean;
29
- preferSeriesSymbolOverRendererSymbol?: boolean;
30
29
  }
31
30
  export {};
@@ -1,7 +1,7 @@
1
1
  import { AxisItemLocation } from '@amcharts/amcharts4/.internal/charts/axes/Axis.js';
2
2
  import { LineSeries } from '@amcharts/amcharts4/charts.js';
3
3
  import { Align, Container, HorizontalCenter, Pattern, VerticalAlign, VerticalCenter } from '@amcharts/amcharts4/core.js';
4
- import { ISimpleLineSymbol, ISimpleMarkerSymbol, SimpleFillSymbolStyle, WebChartTextSymbol, RESTHorizontalAlignment, RESTVerticalAlignment } from '../../../../../../spec';
4
+ import { ISimpleLineSymbol, SimpleFillSymbolStyle, WebChartTextSymbol, RESTHorizontalAlignment, RESTVerticalAlignment } from '../../../../../../spec';
5
5
  import { default as SimpleLineSymbol } from '@arcgis/core/symbols/SimpleLineSymbol';
6
6
  import { EsriColor, AmChartsColor } from '../../../../types';
7
7
  /**
@@ -48,14 +48,6 @@ export declare function mapAngle(angle?: number, defaultAngle?: number): number;
48
48
  * @param forceSquareLineCap Indicate whether to use 'square' for stroke-line-cap property. Default value is false; meaning 'round' will be used.
49
49
  */
50
50
  export declare function mapLineSymbolStyle(lineStyle?: ISimpleLineSymbol["style"] | SimpleLineSymbol["style"], forceSquareLineCap?: boolean): LineSeries["strokeLinecap"];
51
- /**
52
- * Generates SVG path for marker style and size
53
- * The SVG paths are adopted from [JSAPI 3.x](https://devtopia.esri.com/WebGIS/arcgis-js-api/blob/master/esri/symbols/SimpleMarkerSymbol.js#L133)
54
- *
55
- * @param style
56
- * @param size
57
- */
58
- export declare function mapPath(style: ISimpleMarkerSymbol["style"], size?: number): string;
59
51
  export declare function mapHAlignmentToLocation(horizontalAlignment: WebChartTextSymbol["horizontalAlignment"]): AxisItemLocation;
60
52
  export declare function mapHAlignmentToAlign(alignment: WebChartTextSymbol["horizontalAlignment"], defaults?: RESTHorizontalAlignment): Align;
61
53
  export declare function mapHAlignmentToHCenter(alignment: WebChartTextSymbol["horizontalAlignment"], defaults?: RESTHorizontalAlignment): HorizontalCenter;
@@ -1,7 +1,7 @@
1
1
  import { Chart, GaugeChart, PieChart, XYChart } from '@amcharts/amcharts4/charts.js';
2
2
  import { WebChart, WebGaugeChart, WebChartTypes } from '../../spec';
3
- import { CursorRange, ErrorStrings, QueryObject, UtilsStrings, ActionModes } from '../../utils';
4
- import { AnyConfigType, ChartInstance, ChartOptions, CreateChartProps, GlobalOptions, XYConfigWithILayer } from '../common/interfaces';
3
+ import { CursorRange, ErrorStrings, QueryObject, UtilsStrings, ValidationStatus, ActionModes } from '../../utils';
4
+ import { ChartInstance, ChartOptions, ConfigWithILayer, CreateChartProps, GlobalOptions, XYConfigWithILayer } from '../common/interfaces';
5
5
  import { ChartResult } from './interfaces';
6
6
  /**
7
7
  * Applies the action mode (selection, zoom...) to the chart. It will change the cursor behavior as well as the
@@ -53,6 +53,7 @@ export declare function createXYChart(props: CreateChartProps<XYConfigWithILayer
53
53
  export declare function createPieChart(props: {
54
54
  chartContainer?: HTMLElement;
55
55
  chartConfig?: WebChart;
56
+ configValidationStatus: ValidationStatus;
56
57
  queryObject?: QueryObject;
57
58
  utilsStrings: UtilsStrings;
58
59
  errorStrings: ErrorStrings;
@@ -67,6 +68,7 @@ export declare function createPieChart(props: {
67
68
  export declare function createGaugeChart(props: {
68
69
  chartContainer?: HTMLElement;
69
70
  chartConfig?: WebGaugeChart;
71
+ configValidationStatus: ValidationStatus;
70
72
  queryObject?: QueryObject;
71
73
  utilsStrings: UtilsStrings;
72
74
  errorStrings: ErrorStrings;
@@ -83,7 +85,7 @@ export declare function createGaugeChart(props: {
83
85
  * @param props.globalOptions The global options
84
86
  * @param props.t9nStrings The t9n strings
85
87
  */
86
- export declare function createChart(createChartProps: CreateChartProps<AnyConfigType>): Promise<ChartInstance>;
88
+ export declare function createChart(createChartProps: CreateChartProps<ConfigWithILayer>): Promise<ChartInstance>;
87
89
  export declare const stablePrivateFunctions: {
88
90
  activateMobileFeatures: typeof activateMobileFeatures;
89
91
  setActionMode: typeof setActionMode;
@@ -1,6 +1,6 @@
1
1
  import { Chart } from '@amcharts/amcharts4/charts.js';
2
2
  import { WebChart, WebGaugeChart } from '../../../../spec';
3
- import { ErrorStrings, QueryObject, ValidationStatus, DataWarningKeywords } from '../../../../utils';
3
+ import { ErrorStrings, ValidationStatus, DataWarningKeywords } from '../../../../utils';
4
4
  /**
5
5
  * Handles the critical errors that can be thrown by amCharts.
6
6
  *
@@ -28,19 +28,17 @@ export declare function resetModal(chart: Chart): void;
28
28
  *
29
29
  * @param props.chart The chart
30
30
  * @param props.chartConfig The optional chart config
31
- * @param props.queryObject The optional query object
31
+ * @param props.configValidationStatus The validation status object
32
32
  * @param props.createMessage The optional error and warning to be displayed
33
- * @param props.allowUsingObjectIdStat Whether to allow using the object id field as a statistic field
34
33
  * @param props.errorStrings The t9n error strings
35
34
  */
36
- export declare function isValidConfig(props: {
35
+ export declare function renderInvalidMessage(props: {
37
36
  chart: Chart;
38
37
  chartConfig?: WebChart | WebGaugeChart;
39
- queryObject?: QueryObject;
38
+ configValidationStatus: ValidationStatus;
40
39
  createMessage?: string;
41
- allowUsingObjectIdStat?: boolean;
42
40
  errorStrings: ErrorStrings;
43
- }): Promise<ValidationStatus>;
41
+ }): Promise<void>;
44
42
  /**
45
43
  * Setting a message for the chart to raise and display, if prefer, when it fails to create the chart due to bad data.
46
44
  *
@@ -14,6 +14,7 @@ export interface StorageType extends CommonStorageType {
14
14
  gaugeAutoResizeInnerLabelFirstDisposer?: IDisposer;
15
15
  gaugeAutoResizeInnerLabelSecondDisposer?: IDisposer;
16
16
  gaugeAutoResizeFirstAndLastLabelsDisposer?: IDisposer;
17
+ serverLimitReached?: boolean;
17
18
  };
18
19
  series: CommonStorageType["series"] & {
19
20
  barSeriesLastUpdate?: BarSeriesLastUpdateInfo;
@@ -2,7 +2,7 @@ import { W as a, u as E } from "./series-types.js";
2
2
  import "@arcgis/toolkit/intl";
3
3
  import "lodash-es";
4
4
  import "d3-array";
5
- import { cw as m, ch as A, p as h, cz as B, x } from "./interfaces.js";
5
+ import { cx as m, ci as A, p as h, cA as B, x } from "./interfaces.js";
6
6
  import "@arcgis/core/geometry/support/jsonUtils.js";
7
7
  import "@arcgis/core/rest/support/AttributeBinsQuery.js";
8
8
  import "@arcgis/core/rest/support/Query.js";
@@ -16,7 +16,7 @@ import "@arcgis/toolkit/dom";
16
16
  import { D as e, a as o, A as n } from "./index5.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.2 */
19
+ v5.0.0-next.21 */
20
20
  const y = [
21
21
  e.EditChart,
22
22
  e.Legend,
@@ -67,6 +67,13 @@ const y = [
67
67
  e.ExportAsImage,
68
68
  e.ExportAsCSV
69
69
  ], D = [
70
+ e.EditChart,
71
+ e.Legend,
72
+ e.FilterBySelection,
73
+ e.Selection,
74
+ e.ClearSelection,
75
+ e.SwitchSelection
76
+ ], I = [
70
77
  e.EditChart,
71
78
  e.Legend,
72
79
  e.FilterBySelection,
@@ -78,7 +85,7 @@ const y = [
78
85
  e.SwitchSelection,
79
86
  e.ExportAsImage,
80
87
  e.ExportAsCSV
81
- ], I = [
88
+ ], T = [
82
89
  e.EditChart,
83
90
  e.Legend,
84
91
  e.FilterBySelection,
@@ -90,7 +97,7 @@ const y = [
90
97
  e.SwitchSelection,
91
98
  e.ExportAsImage,
92
99
  e.ExportAsCSV
93
- ], T = [
100
+ ], L = [
94
101
  e.EditChart,
95
102
  e.Legend,
96
103
  e.RotateChart,
@@ -109,7 +116,7 @@ const y = [
109
116
  e.ExportAsImage,
110
117
  e.ExportAsCSV
111
118
  ];
112
- function K(c) {
119
+ function Q(c) {
113
120
  switch (c) {
114
121
  case a.BarSeries:
115
122
  return y;
@@ -120,30 +127,32 @@ function K(c) {
120
127
  case a.PieSeries:
121
128
  return F;
122
129
  case a.HistogramSeries:
123
- return D;
124
- case a.ScatterSeries:
125
130
  return I;
126
- case a.BoxPlotSeries:
131
+ case a.ScatterSeries:
127
132
  return T;
133
+ case a.BoxPlotSeries:
134
+ return L;
128
135
  case a.GaugeSeries:
129
136
  return v;
137
+ case a.HeatSeries:
138
+ return D;
130
139
  default:
131
140
  return [];
132
141
  }
133
142
  }
134
- const Q = (c, t, i) => {
143
+ const U = (c, t, i) => {
135
144
  const l = c.target.assignedNodes().find((S) => "legendToggle" in S), s = E(i?.series);
136
- return l && (l.chartType = s, L({
145
+ return l && (l.chartType = s, w({
137
146
  actionBar: l,
138
147
  chartComponent: t,
139
148
  config: i
140
149
  })), l;
141
150
  };
142
- function L(c) {
151
+ function w(c) {
143
152
  const { actionBar: t, chartComponent: i, config: r, isWarningDisplayed: l } = c, s = m(i.selectionData), S = r?.legend ? r.legend.visible ?? !0 : !1;
144
153
  if (t.chartType = E(r?.series), i.enableConfiguration) {
145
- const p = t.hiddenActions ?? [];
146
- t.hiddenActions = p.filter((C) => C !== e.EditChart);
154
+ const C = t.hiddenActions ?? [];
155
+ t.hiddenActions = C.filter((p) => p !== e.EditChart);
147
156
  }
148
157
  t.editChartState = i.enableConfiguration ? o.Enabled : o.Disabled;
149
158
  const d = r && A(r.series);
@@ -152,7 +161,7 @@ function L(c) {
152
161
  t.filterBySelectionState = !g && (i.filterBySelection === !0 || !s && i.filterByExtent !== !0) ? o.Enabled : o.Disabled, t.filterBySelectionToggle = i.filterBySelection === !0 ? n.Active : n.Inactive, t.filterByExtentState = i.filterByExtent === !0 || i.filterBySelection !== !0 ? o.Enabled : o.Disabled, t.filterByExtentToggle = i.filterByExtent === !0 ? n.Active : n.Inactive, t.zoomState = i.filterBySelection ? o.Disabled : o.Enabled, t.zoomToggle = i.actionMode === u.Zoom ? n.Active : n.Inactive, t.selectionState = i.filterBySelection ? o.Disabled : o.Enabled, t.selectionToggle = (i.actionMode ?? t.actionBarSelectionMode) === t.actionBarSelectionMode ? n.Active : n.Inactive, t.clearSelectionState = s ? o.Disabled : o.Enabled, t.fullExtentState = i.filterBySelection ? o.Disabled : o.Enabled, t.switchSelectionState = i.filterBySelection ? o.Disabled : o.Enabled, t.exportActionState = l || x(r) ? o.Disabled : o.Enabled;
153
162
  }
154
163
  export {
155
- K as g,
156
- Q as o,
157
- L as u
164
+ Q as g,
165
+ U as o,
166
+ w as u
158
167
  };
@@ -1,6 +1,6 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.2 */
3
+ v5.0.0-next.21 */
4
4
  class e {
5
5
  /**
6
6
  * `AxisModelWrapper` constructor.
@@ -2,7 +2,7 @@ import { W as a } from "./series-types.js";
2
2
  import "@arcgis/toolkit/intl";
3
3
  import "lodash-es";
4
4
  import "d3-array";
5
- import { aI as n, aB as d, a5 as c, X as l } from "./interfaces.js";
5
+ import { aJ as n, aC as d, a6 as c, Y as l } from "./interfaces.js";
6
6
  import "@arcgis/core/geometry/support/jsonUtils.js";
7
7
  import "@arcgis/core/rest/support/AttributeBinsQuery.js";
8
8
  import "@arcgis/core/rest/support/Query.js";
@@ -17,7 +17,7 @@ import { d as r } from "./data.js";
17
17
  import { g as S, s as g, a as p, b as u } from "./bar-chart-series.js";
18
18
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
19
19
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
20
- v5.0.0-next.2 */
20
+ v5.0.0-next.21 */
21
21
  class j extends m {
22
22
  constructor() {
23
23
  super(...arguments), this._chartType = a.BarSeries;
@@ -15,7 +15,7 @@ import { l as r } from "./index4.js";
15
15
  import "@arcgis/toolkit/dom";
16
16
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
17
17
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
18
- v5.0.0-next.2 */
18
+ v5.0.0-next.21 */
19
19
  const c = (i, e) => r(e.series?.[i]) ? e.series?.[i].hideOversizedSideBySideLabels : void 0, k = (i, e, s) => {
20
20
  r(s.series?.[e]) && (s.series[e].hideOversizedSideBySideLabels = i);
21
21
  }, y = (i, e) => r(e.series?.[i]) ? e.series?.[i].hideOversizedStackedLabels : void 0, H = (i, e, s) => {