@arcgis/charts-components 5.0.0-next.5 → 5.0.0-next.51

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 (533) hide show
  1. package/dist/cdn/2FFIX2UZ.js +4 -0
  2. package/dist/cdn/2O3KE45T.js +4 -0
  3. package/dist/cdn/3724OAQD.js +4 -0
  4. package/dist/cdn/{TETZB6TG.js → 3CWBUXCF.js} +2 -2
  5. package/dist/cdn/{6XICP4O2.js → 3DIKD6LL.js} +2 -2
  6. package/dist/cdn/3GSG5A4P.js +4 -0
  7. package/dist/cdn/3HFCTYVJ.js +4 -0
  8. package/dist/cdn/3X2PUY3Z.js +4 -0
  9. package/dist/cdn/4CFJ7WM7.js +4 -0
  10. package/dist/cdn/{CV6THL4H.js → 4RBINONO.js} +2 -2
  11. package/dist/cdn/54M2LS4C.js +4 -0
  12. package/dist/cdn/5CMEKYG2.js +4 -0
  13. package/dist/cdn/5IT3DNJM.js +4 -0
  14. package/dist/cdn/5STK5WG7.js +4 -0
  15. package/dist/cdn/5WU5MG6R.js +4 -0
  16. package/dist/cdn/{ZV2FCWVF.js → 6SPUGQG4.js} +2 -2
  17. package/dist/cdn/6ST76NPJ.js +4 -0
  18. package/dist/cdn/{6RJ54FTE.js → 6SZCLOJV.js} +2 -2
  19. package/dist/cdn/6VOAZOMP.js +4 -0
  20. package/dist/cdn/74ZE52UP.js +4 -0
  21. package/dist/cdn/{W6JDJ6CI.js → AA43CFU7.js} +2 -2
  22. package/dist/cdn/AHGMA4MA.js +4 -0
  23. package/dist/cdn/{AS4BM6KR.js → AKBINYLB.js} +2 -2
  24. package/dist/cdn/ANVE7IP7.js +4 -0
  25. package/dist/cdn/AQ7MA75N.js +4 -0
  26. package/dist/cdn/{Z6IXB3E5.js → AQMC3HBD.js} +2 -2
  27. package/dist/cdn/AU4OCCCR.js +4 -0
  28. package/dist/cdn/AV666V52.js +4 -0
  29. package/dist/cdn/{ESYIBBDW.js → AWCQUNZE.js} +2 -2
  30. package/dist/cdn/AWJIP5SC.js +4 -0
  31. package/dist/cdn/BB23SUT3.js +4 -0
  32. package/dist/cdn/BDQRKBQJ.js +6 -0
  33. package/dist/cdn/BIE445NL.js +4 -0
  34. package/dist/cdn/{HREWUP6X.js → BROOW6ZG.js} +2 -2
  35. package/dist/cdn/BUZQSBDL.js +4 -0
  36. package/dist/cdn/BWF232OP.js +4 -0
  37. package/dist/cdn/BY2IOI6P.js +4 -0
  38. package/dist/cdn/C5RBVHQK.js +4 -0
  39. package/dist/cdn/CDKHTPGB.js +4 -0
  40. package/dist/cdn/{WTH425VI.js → CEGRP5PX.js} +1 -1
  41. package/dist/cdn/{ULD7JICH.js → CN3THIJA.js} +2 -2
  42. package/dist/cdn/COKG2QN7.js +4 -0
  43. package/dist/cdn/COYMZGHI.js +4 -0
  44. package/dist/cdn/{73AZHLP7.js → CQ5PTW3D.js} +2 -2
  45. package/dist/cdn/{CFTAWZ77.js → CTQ2SXIJ.js} +2 -2
  46. package/dist/cdn/CYQNPKG2.js +4 -0
  47. package/dist/cdn/{A2XWPGD2.js → DAYOKYDA.js} +2 -2
  48. package/dist/cdn/DD5QV2AB.js +4 -0
  49. package/dist/cdn/{LAGE62S7.js → DDPDZAFM.js} +1 -1
  50. package/dist/cdn/DF6EGSHT.js +4 -0
  51. package/dist/cdn/DFRMI7OU.js +4 -0
  52. package/dist/cdn/{5HRJVYD3.js → DL4FPPQS.js} +2 -2
  53. package/dist/cdn/DPGLTVXD.js +4 -0
  54. package/dist/cdn/{AXYMSHID.js → DS6NX7MU.js} +2 -2
  55. package/dist/cdn/DWTTCDLX.js +4 -0
  56. package/dist/cdn/E7J3XVE5.js +4 -0
  57. package/dist/cdn/{3H5R54P6.js → EQHNGPEU.js} +2 -2
  58. package/dist/cdn/F2ZJALSA.js +4 -0
  59. package/dist/cdn/F4VY4N6L.js +4 -0
  60. package/dist/cdn/{4IJR7EHI.js → F5FVJ5KN.js} +2 -2
  61. package/dist/cdn/FABFSBPK.js +4 -0
  62. package/dist/cdn/FDYMLFEA.js +4 -0
  63. package/dist/cdn/{DONAR2FZ.js → FSYKVNJ3.js} +2 -2
  64. package/dist/cdn/GCWZR5S3.js +4 -0
  65. package/dist/cdn/GH57K2DD.js +4 -0
  66. package/dist/cdn/{OX37U5FL.js → GL7DYCIY.js} +2 -2
  67. package/dist/cdn/GN4PWMLK.js +4 -0
  68. package/dist/cdn/GNQYXO2A.js +4 -0
  69. package/dist/cdn/GP6WVWMP.js +4 -0
  70. package/dist/cdn/{Q6LEDMBZ.js → GQ5UYMZ5.js} +1 -1
  71. package/dist/cdn/{D6KEJTTL.js → GRKP7BFO.js} +2 -2
  72. package/dist/cdn/GTCDCUYC.js +4 -0
  73. package/dist/cdn/GTDK7IDR.js +4 -0
  74. package/dist/cdn/{G2METNMC.js → GVYDJSRQ.js} +2 -2
  75. package/dist/cdn/GYL522GH.js +4 -0
  76. package/dist/cdn/{7XE7ZIHN.js → H2K4DW6T.js} +2 -2
  77. package/dist/cdn/{VTWEX57C.js → H2RWX3DS.js} +2 -2
  78. package/dist/cdn/H4WARRAC.js +58 -0
  79. package/dist/cdn/H6BINBNX.js +4 -0
  80. package/dist/cdn/{IAH4FEMB.js → HDPN7SOH.js} +2 -2
  81. package/dist/cdn/{K4VUPLRS.js → HJWO74BA.js} +1 -1
  82. package/dist/cdn/{4JOT7RYS.js → HTZD3B4O.js} +2 -2
  83. package/dist/cdn/I4ZQSKBQ.js +4 -0
  84. package/dist/cdn/{B22PSOMV.js → II2R3DSC.js} +2 -2
  85. package/dist/cdn/{VLY5ZFJB.js → IL5S5CW5.js} +2 -2
  86. package/dist/cdn/{H4QOQNQX.js → IOUPMTLG.js} +2 -2
  87. package/dist/cdn/IPIB5PCL.js +4 -0
  88. package/dist/cdn/IQ4BYS4D.js +4 -0
  89. package/dist/cdn/{TROAL5VH.js → IQSSKC6N.js} +2 -2
  90. package/dist/cdn/{PRUOLLXX.js → J2QDUXJE.js} +2 -2
  91. package/dist/cdn/JF434MRT.js +4 -0
  92. package/dist/cdn/{XWMI6JSB.js → JNVPCZNK.js} +2 -2
  93. package/dist/cdn/{O3HVGYZS.js → JOO7NCD3.js} +2 -2
  94. package/dist/cdn/{WZO6BPV2.js → JP7EO6BR.js} +2 -2
  95. package/dist/cdn/{EQRBT4RS.js → JQ3JBBOB.js} +2 -2
  96. package/dist/cdn/K44JZRLF.js +4 -0
  97. package/dist/cdn/{G6IPNEE3.js → K6NSRQ6V.js} +2 -2
  98. package/dist/cdn/K6NXEBG6.js +4 -0
  99. package/dist/cdn/{H355OUXG.js → KCRNKETG.js} +2 -2
  100. package/dist/cdn/KFAXAEHT.js +4 -0
  101. package/dist/cdn/{OSGGRDHY.js → KW6MJD4T.js} +2 -2
  102. package/dist/cdn/{PCGSJWVC.js → L2HTZCD6.js} +2 -2
  103. package/dist/cdn/L3BQ5TWO.js +4 -0
  104. package/dist/cdn/{UUFUCAD3.js → L4ZMM5YJ.js} +1 -1
  105. package/dist/cdn/{KOZIVKMW.js → L6Y3LN4B.js} +1 -1
  106. package/dist/cdn/LJKU5DOQ.js +4 -0
  107. package/dist/cdn/{PX4P6EVU.js → LQTZDVTL.js} +2 -2
  108. package/dist/cdn/{5GCX3ASK.js → LSWDE26H.js} +2 -2
  109. package/dist/cdn/{TXAGJJ7V.js → LWCVLRHQ.js} +2 -2
  110. package/dist/cdn/M2KOHO26.js +4 -0
  111. package/dist/cdn/{NFXRX2K2.js → M6HSAZI7.js} +2 -2
  112. package/dist/cdn/{TFR2XJOG.js → MGSTGM2O.js} +2 -2
  113. package/dist/cdn/{RR2GRLN4.js → MQWIEP63.js} +2 -2
  114. package/dist/cdn/{MUTK62YG.js → MXTVONY2.js} +2 -2
  115. package/dist/cdn/{7LJXG2EB.js → N5SAD3IN.js} +2 -2
  116. package/dist/cdn/N6HOODDF.js +4 -0
  117. package/dist/cdn/{HDBIXSWC.js → NDBN3CYG.js} +2 -2
  118. package/dist/cdn/{4MEZ4HKS.js → NHBOJSGE.js} +2 -2
  119. package/dist/cdn/NJP4TOWP.js +4 -0
  120. package/dist/cdn/NS6ESVWF.js +4 -0
  121. package/dist/cdn/{RFHU6X2B.js → NSAWUEOY.js} +2 -2
  122. package/dist/cdn/{DDGMIWZC.js → NVEWHE6O.js} +2 -2
  123. package/dist/cdn/NXTIHJ2P.js +4 -0
  124. package/dist/cdn/O2NYFQCL.js +4 -0
  125. package/dist/cdn/{FSB6NTEU.js → O33DW7ZZ.js} +2 -2
  126. package/dist/cdn/{FSLY4LNC.js → O7JUKN2Q.js} +2 -2
  127. package/dist/cdn/OSQESB3E.js +4 -0
  128. package/dist/cdn/OW2XQCBR.js +4 -0
  129. package/dist/cdn/{4D4W6UVF.js → PNGCP7KC.js} +2 -2
  130. package/dist/cdn/PROYNBFN.js +4 -0
  131. package/dist/cdn/PXPLGJRU.js +4 -0
  132. package/dist/cdn/{VIGBYFUK.js → Q7I345O4.js} +2 -2
  133. package/dist/cdn/QJOOCYFA.js +4 -0
  134. package/dist/cdn/QNM5RCZY.js +4 -0
  135. package/dist/cdn/RIWIFFMV.js +4 -0
  136. package/dist/cdn/RK7VELRG.js +4 -0
  137. package/dist/cdn/RLHL6HHH.js +4 -0
  138. package/dist/cdn/RMREODR3.js +4 -0
  139. package/dist/cdn/RSAVWV6P.js +4 -0
  140. package/dist/cdn/RWWWFCKQ.js +4 -0
  141. package/dist/cdn/S4ZKKCVF.js +4 -0
  142. package/dist/cdn/SBVMIBUY.js +4 -0
  143. package/dist/cdn/{635XSSNH.js → SLS4K5UK.js} +2 -2
  144. package/dist/cdn/{KBDI5BIF.js → SQZQQKJZ.js} +2 -2
  145. package/dist/cdn/TDILUAGE.js +4 -0
  146. package/dist/cdn/TETD6QHI.js +4 -0
  147. package/dist/cdn/TI3G5ABA.js +4 -0
  148. package/dist/cdn/TJH3I3LD.js +4 -0
  149. package/dist/cdn/TNF2MVZI.js +4 -0
  150. package/dist/cdn/{Y4BOOI43.js → TOOYVIAU.js} +2 -2
  151. package/dist/cdn/TUFE5B5M.js +4 -0
  152. package/dist/cdn/{I5HVQQ3Q.js → TUOORNZN.js} +2 -2
  153. package/dist/cdn/UAFOQ3XQ.js +4 -0
  154. package/dist/cdn/UMSXJEYX.js +4 -0
  155. package/dist/cdn/USX3GUS7.js +4 -0
  156. package/dist/cdn/{JCJDTWWY.js → UUW55D6Y.js} +2 -2
  157. package/dist/cdn/V72HAW3A.js +42 -0
  158. package/dist/cdn/VAVNAMP2.js +4 -0
  159. package/dist/cdn/{XREL2EGV.js → VVGO57XM.js} +2 -2
  160. package/dist/cdn/W5HCONSX.js +4 -0
  161. package/dist/cdn/WBTRPWQM.js +4 -0
  162. package/dist/cdn/WGA4QOON.js +4 -0
  163. package/dist/cdn/{VEUR3MYM.js → WHHOEHEE.js} +2 -2
  164. package/dist/cdn/WLE7CQD4.js +4 -0
  165. package/dist/cdn/WNCAET2Z.js +4 -0
  166. package/dist/cdn/WOBVOJFL.js +4 -0
  167. package/dist/cdn/XBC6GHB3.js +4 -0
  168. package/dist/cdn/XC6MMICH.js +4 -0
  169. package/dist/cdn/{RIATOUFB.js → XJYGPXHP.js} +2 -2
  170. package/dist/cdn/XREVRW6Y.js +4 -0
  171. package/dist/cdn/Y6FYKIS7.js +4 -0
  172. package/dist/cdn/YKIBACTO.js +4 -0
  173. package/dist/cdn/YSZYWYQW.js +4 -0
  174. package/dist/cdn/{ZTCVGEDC.js → YVH4TYHT.js} +2 -2
  175. package/dist/cdn/YWU6XQ2J.js +4 -0
  176. package/dist/cdn/YYRTXFKJ.js +4 -0
  177. package/dist/cdn/{JUDN6TYO.js → Z6EEQTA7.js} +2 -2
  178. package/dist/cdn/ZGKD3DQA.js +4 -0
  179. package/dist/cdn/ZROF5BBD.js +4 -0
  180. package/dist/cdn/ZYKH466J.js +4 -0
  181. package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
  182. package/dist/cdn/index.js +2 -2
  183. package/dist/chart-rendering/common/axes/index.d.ts +1 -1
  184. package/dist/chart-rendering/common/color-match/renderer-color-match/index.d.ts +2 -3
  185. package/dist/chart-rendering/common/config-utils/index.d.ts +13 -120
  186. package/dist/chart-rendering/common/data/index.d.ts +9 -6
  187. package/dist/chart-rendering/common/data/selection/filter/index.d.ts +9 -0
  188. package/dist/chart-rendering/common/data/selection/filter/interfaces.d.ts +3 -0
  189. package/dist/chart-rendering/common/data/utils/misc/index.d.ts +3 -166
  190. package/dist/chart-rendering/common/data/utils/query-parser/time-binning/index.d.ts +13 -0
  191. package/dist/chart-rendering/common/data/utils/selection/index.d.ts +2 -2
  192. package/dist/chart-rendering/common/data/utils/summarize-data/index.d.ts +2 -0
  193. package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
  194. package/dist/chart-rendering/common/data/utils/summarize-data/time-binning/index.d.ts +2 -2
  195. package/dist/chart-rendering/common/defaults/interfaces.d.ts +6 -8
  196. package/dist/chart-rendering/common/error-utils/index.d.ts +2 -2
  197. package/dist/chart-rendering/common/events/index.d.ts +2 -4
  198. package/dist/chart-rendering/common/interfaces.d.ts +20 -7
  199. package/dist/chart-rendering/common/loading-indicator/index.d.ts +4 -0
  200. package/dist/chart-rendering/common/memory-storage/interfaces.d.ts +2 -3
  201. package/dist/chart-rendering/common/series/pie-chart/index.d.ts +1 -1
  202. package/dist/chart-rendering/common/symbols/utils/index.d.ts +9 -0
  203. package/dist/chart-rendering/common/t9n/errors/index.d.ts +1 -1
  204. package/dist/chart-rendering/next/chart-library-elements/axes/gauge/index.d.ts +1 -1
  205. package/dist/chart-rendering/next/chart-library-elements/axes/histogram/index.d.ts +8 -2
  206. package/dist/chart-rendering/next/chart-library-elements/axes/index.d.ts +9 -2
  207. package/dist/chart-rendering/next/chart-library-elements/axes/utils/axis-format/index.d.ts +1 -1
  208. package/dist/chart-rendering/next/chart-library-elements/labels/data-label/utils.d.ts +6 -1
  209. package/dist/chart-rendering/next/chart-library-elements/legend/heat-legend/index.d.ts +2 -2
  210. package/dist/chart-rendering/next/chart-library-elements/legend/index.d.ts +8 -6
  211. package/dist/chart-rendering/next/chart-library-elements/legend/interfaces.d.ts +15 -1
  212. package/dist/chart-rendering/next/chart-library-elements/line-fill-marker/index.d.ts +1 -1
  213. package/dist/chart-rendering/next/chart-library-elements/line-fill-marker/interfaces.d.ts +0 -1
  214. package/dist/chart-rendering/next/chart-library-elements/loading-indicator/index.d.ts +1 -1
  215. package/dist/chart-rendering/next/chart-library-elements/loading-indicator/interfaces.d.ts +0 -4
  216. package/dist/chart-rendering/next/chart-library-elements/series/bar-chart/index.d.ts +1 -1
  217. package/dist/chart-rendering/next/chart-library-elements/series/index.d.ts +5 -1
  218. package/dist/chart-rendering/next/chart-library-elements/series/interfaces.d.ts +1 -1
  219. package/dist/chart-rendering/next/chart-library-elements/series/pie-chart/index.d.ts +2 -0
  220. package/dist/chart-rendering/next/chart-library-elements/series/scatter-plot/interfaces.d.ts +3 -0
  221. package/dist/chart-rendering/next/chart-library-elements/series/scatter-plot/size-policy/index.d.ts +8 -17
  222. package/dist/chart-rendering/next/chart-library-elements/series/utils/index.d.ts +7 -18
  223. package/dist/chart-rendering/next/chart-library-elements/symbols/utils/property-map/index.d.ts +1 -9
  224. package/dist/chart-rendering/next/defaults/index.d.ts +3 -0
  225. package/dist/chart-rendering/next/index.d.ts +2 -2
  226. package/dist/chart-rendering/next/interfaces.d.ts +3 -0
  227. package/dist/chart-rendering/next/utils/chart-modal/index.d.ts +4 -4
  228. package/dist/chart-rendering/next/utils/index.d.ts +15 -7
  229. package/dist/chart-rendering/next/utils/misc/index.d.ts +9 -3
  230. package/dist/chart-rendering/stable/chart-library-elements/axes/histogram/index.d.ts +1 -1
  231. package/dist/chart-rendering/stable/chart-library-elements/axes/index.d.ts +1 -1
  232. package/dist/chart-rendering/stable/chart-library-elements/axes/scatter-plot/index.d.ts +1 -1
  233. package/dist/chart-rendering/stable/chart-library-elements/axes/utils/axis-format/index.d.ts +1 -1
  234. package/dist/chart-rendering/stable/chart-library-elements/axes/utils/axis-renderer/index.d.ts +2 -2
  235. package/dist/chart-rendering/stable/chart-library-elements/label/utils/gauge/index.d.ts +5 -0
  236. package/dist/chart-rendering/stable/chart-library-elements/line-fill-marker/interfaces.d.ts +0 -1
  237. package/dist/chart-rendering/stable/chart-library-elements/loading-indicator/index.d.ts +2 -1
  238. package/dist/chart-rendering/stable/chart-library-elements/loading-indicator/interfaces.d.ts +0 -4
  239. package/dist/chart-rendering/stable/chart-library-elements/series/histogram/index.d.ts +1 -1
  240. package/dist/chart-rendering/stable/chart-library-elements/series/histogram/interfaces.d.ts +1 -1
  241. package/dist/chart-rendering/stable/chart-library-elements/series/interfaces.d.ts +1 -1
  242. package/dist/chart-rendering/stable/chart-library-elements/series/pie-chart/index.d.ts +1 -1
  243. package/dist/chart-rendering/stable/chart-library-elements/series/scatter-plot/index.d.ts +1 -1
  244. package/dist/chart-rendering/stable/chart-library-elements/series/scatter-plot/interfaces.d.ts +1 -1
  245. package/dist/chart-rendering/stable/chart-library-elements/symbols/utils/property-map/index.d.ts +1 -9
  246. package/dist/chart-rendering/stable/index.d.ts +8 -4
  247. package/dist/chart-rendering/stable/interfaces.d.ts +2 -1
  248. package/dist/chart-rendering/stable/utils/error-modal/index.d.ts +8 -10
  249. package/dist/chart-rendering/stable/utils/memory-storage/interfaces.d.ts +1 -0
  250. package/dist/chart-rendering/stable/utils/misc/index.d.ts +2 -8
  251. package/dist/chunks/action-bar-utils.js +52 -39
  252. package/dist/chunks/axis-model-wrapper.js +1 -1
  253. package/dist/chunks/bar-chart-model.js +22 -13
  254. package/dist/chunks/bar-chart-series.js +21 -12
  255. package/dist/chunks/baseline-stacking.js +49 -40
  256. package/dist/chunks/bg_BG.js +1 -1
  257. package/dist/chunks/bg_BG2.js +1 -1
  258. package/dist/chunks/box-plot-data.js +216 -194
  259. package/dist/chunks/box-plot-model.js +35 -27
  260. package/dist/chunks/chart-ui-utils.js +17 -23
  261. package/dist/chunks/chart-ui-utils2.js +58 -50
  262. package/dist/chunks/combo-bar-line-chart-model.js +52 -57
  263. package/dist/chunks/common.js +1 -1
  264. package/dist/chunks/config-update.js +144 -5401
  265. package/dist/chunks/data.js +64 -927
  266. package/dist/chunks/default.js +1 -1
  267. package/dist/chunks/gauge-model.js +24 -16
  268. package/dist/chunks/heat-chart-model.js +177 -52
  269. package/dist/chunks/histogram-data.js +57 -49
  270. package/dist/chunks/histogram-model.js +19 -11
  271. package/dist/chunks/index.js +23765 -2184
  272. package/dist/chunks/index2.js +670 -36
  273. package/dist/chunks/index3.js +90 -63
  274. package/dist/chunks/index4.js +62 -91
  275. package/dist/chunks/interfaces.js +90 -16256
  276. package/dist/chunks/line-chart-model.js +17 -9
  277. package/dist/chunks/model-with-baseline-stacking.js +18 -28
  278. package/dist/chunks/model-with-data-labels.js +30 -21
  279. package/dist/chunks/model-with-multi-axes.js +145 -146
  280. package/dist/chunks/model-with-rotation.js +15 -6
  281. package/dist/chunks/pie-chart-data.js +144 -128
  282. package/dist/chunks/pie-chart-model.js +62 -53
  283. package/dist/chunks/popover-ui-utils.js +1 -1
  284. package/dist/chunks/radar-chart-model.js +15 -7
  285. package/dist/chunks/resource.js +1 -1
  286. package/dist/chunks/rest-js-object-literals.js +1 -1
  287. package/dist/chunks/runtime.js +1 -1
  288. package/dist/chunks/scatterplot-model.js +44 -36
  289. package/dist/chunks/serial-chart-data.js +912 -0
  290. package/dist/chunks/serial-chart-model.js +52 -36
  291. package/dist/chunks/series-types.js +3 -2
  292. package/dist/chunks/series.js +18 -9
  293. package/dist/chunks/sk_SK.js +1 -1
  294. package/dist/chunks/store.js +22 -13
  295. package/dist/chunks/type-guards.js +1 -1
  296. package/dist/chunks/useT9n.js +1 -1
  297. package/dist/chunks/web-component-utils.js +208 -193
  298. package/dist/components/arcgis-chart/customElement.d.ts +529 -56
  299. package/dist/components/arcgis-chart/customElement.js +7969 -7806
  300. package/dist/components/arcgis-charts-action-bar/customElement.d.ts +2 -3
  301. package/dist/components/arcgis-charts-action-bar/customElement.js +57 -48
  302. package/dist/components/arcgis-charts-config-axes/customElement.js +2 -2
  303. package/dist/components/arcgis-charts-config-axis/customElement.js +24 -24
  304. package/dist/components/arcgis-charts-config-axis/resource.d.ts +0 -1
  305. package/dist/components/arcgis-charts-config-bar-chart/customElement.d.ts +5 -0
  306. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +45 -41
  307. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +116 -109
  308. package/dist/components/arcgis-charts-config-bar-chart-data/resource.d.ts +0 -1
  309. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +21 -14
  310. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +27 -17
  311. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.d.ts +1 -1
  312. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +18 -9
  313. package/dist/components/arcgis-charts-config-box-plot/customElement.js +34 -30
  314. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +36 -23
  315. package/dist/components/arcgis-charts-config-box-plot-data/resource.d.ts +0 -1
  316. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.d.ts +10 -0
  317. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +52 -45
  318. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +13 -4
  319. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +24 -15
  320. package/dist/components/arcgis-charts-config-category-format/customElement.js +2 -2
  321. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +26 -23
  322. package/dist/components/arcgis-charts-config-color-style/customElement.js +3 -3
  323. package/dist/components/arcgis-charts-config-colors/customElement.d.ts +1 -1
  324. package/dist/components/arcgis-charts-config-colors/customElement.js +6 -6
  325. package/dist/components/arcgis-charts-config-create-flow/customElement.js +143 -148
  326. package/dist/components/arcgis-charts-config-field-select/customElement.js +2 -2
  327. package/dist/components/arcgis-charts-config-font-style/customElement.js +21 -12
  328. package/dist/components/arcgis-charts-config-format/customElement.js +34 -25
  329. package/dist/components/arcgis-charts-config-format-popover/customElement.js +13 -4
  330. package/dist/components/arcgis-charts-config-general/customElement.js +26 -17
  331. package/dist/components/arcgis-charts-config-guide/customElement.js +31 -32
  332. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +17 -8
  333. package/dist/components/arcgis-charts-config-guides/customElement.js +32 -36
  334. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +21 -12
  335. package/dist/components/arcgis-charts-config-histogram/customElement.js +37 -33
  336. package/dist/components/arcgis-charts-config-histogram-data/customElement.d.ts +5 -0
  337. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +30 -21
  338. package/dist/components/arcgis-charts-config-histogram-popover/customElement.d.ts +5 -0
  339. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +16 -7
  340. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +2 -2
  341. package/dist/components/arcgis-charts-config-line-chart/customElement.d.ts +5 -0
  342. package/dist/components/arcgis-charts-config-line-chart/customElement.js +37 -33
  343. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +68 -51
  344. package/dist/components/arcgis-charts-config-line-chart-data/resource.d.ts +0 -1
  345. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +22 -13
  346. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +36 -27
  347. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +16 -7
  348. package/dist/components/arcgis-charts-config-line-style/customElement.d.ts +10 -0
  349. package/dist/components/arcgis-charts-config-line-style/customElement.js +3 -3
  350. package/dist/components/arcgis-charts-config-number-format/customElement.js +5 -5
  351. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +48 -44
  352. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +49 -36
  353. package/dist/components/arcgis-charts-config-pie-chart-data/resource.d.ts +0 -1
  354. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +46 -37
  355. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +31 -22
  356. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +14 -5
  357. package/dist/components/arcgis-charts-config-scatter-plot/customElement.d.ts +5 -0
  358. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +33 -29
  359. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +60 -45
  360. package/dist/components/arcgis-charts-config-scatter-plot-data/resource.d.ts +0 -1
  361. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +21 -12
  362. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +23 -10
  363. package/dist/components/arcgis-charts-config-view-charts/customElement.js +22 -13
  364. package/dist/docs/api.json +27 -288
  365. package/dist/docs/docs.json +111 -244
  366. package/dist/docs/vscode.html-custom-data.json +6 -35
  367. package/dist/docs/web-types.json +12 -64
  368. package/dist/index.js +426 -405
  369. package/dist/json-schema/index.d.ts +14 -3
  370. package/dist/loader.js +2 -2
  371. package/dist/model/chart-model/chart-model.d.ts +4 -9
  372. package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +30 -43
  373. package/dist/model/heat-chart-model/heat-chart-model.d.ts +75 -10
  374. package/dist/model/heat-chart-model/utils/heat-chart-data.d.ts +63 -8
  375. package/dist/model/mixins/model-with-baseline-stacking.d.ts +4 -10
  376. package/dist/model/mixins/model-with-line-marker-styling.d.ts +13 -17
  377. package/dist/model/mixins/model-with-multi-axes.d.ts +4 -3
  378. package/dist/model/mixins/utils/baseline-stacking.d.ts +5 -11
  379. package/dist/model/mixins/utils/line-marker-styling.d.ts +18 -23
  380. package/dist/model/pie-chart-model/pie-chart-model.d.ts +5 -2
  381. package/dist/model/serial-chart-model/serial-chart-model.d.ts +4 -0
  382. package/dist/model/shared/data.d.ts +44 -2
  383. package/dist/model.js +1 -1
  384. package/dist/spec/chart-object-literals.d.ts +1 -0
  385. package/dist/spec/data-source.d.ts +11 -0
  386. package/dist/spec/web-chart.d.ts +6 -4
  387. package/dist/store.d.ts +24 -3
  388. package/dist/types/lumina.d.ts +1 -1
  389. package/dist/types/preact.d.ts +1 -1
  390. package/dist/types/preact10.d.ts +1 -1
  391. package/dist/types/react.d.ts +1 -1
  392. package/dist/types/stencil.d.ts +1 -1
  393. package/dist/utils/chart-config/converter/index.d.ts +27 -3
  394. package/dist/utils/chart-config/utils/index.d.ts +272 -1
  395. package/dist/utils/chart-config/validator/index.d.ts +10 -10
  396. package/dist/utils/components/config-update.d.ts +22 -25
  397. package/dist/utils/components/data-update.d.ts +36 -0
  398. package/dist/utils/components/watch-handlers.d.ts +12 -12
  399. package/dist/utils/components/web-component-utils.d.ts +8 -2
  400. package/dist/utils/data/index.d.ts +1 -1
  401. package/dist/utils/data/interfaces.d.ts +30 -2
  402. package/dist/utils/data/time-binning/interfaces.d.ts +0 -4
  403. package/dist/utils/defaults/index.d.ts +1 -1
  404. package/dist/utils/defaults/interfaces.d.ts +1 -1
  405. package/dist/utils/layer/index.d.ts +46 -3
  406. package/dist/utils/layer/interfaces.d.ts +1 -0
  407. package/dist/utils/layer/query-features/index.d.ts +3 -3
  408. package/dist/utils/layer/query-parser/index.d.ts +8 -0
  409. package/dist/utils/layer/utils/index.d.ts +3 -3
  410. package/dist/utils/misc/index.d.ts +1 -8
  411. package/dist/utils/misc/interfaces.d.ts +1 -1
  412. package/dist/utils/ui/chart-ui-utils.d.ts +2 -1
  413. package/package.json +5 -5
  414. package/dist/cdn/2CQCJUK3.js +0 -4
  415. package/dist/cdn/2NTY7DVX.js +0 -4
  416. package/dist/cdn/2YMGZECH.js +0 -4
  417. package/dist/cdn/2YQYGHQO.js +0 -4
  418. package/dist/cdn/3RZX4TOQ.js +0 -6
  419. package/dist/cdn/3T5QJ3UH.js +0 -4
  420. package/dist/cdn/3YDBKBBR.js +0 -4
  421. package/dist/cdn/4T53OXS6.js +0 -4
  422. package/dist/cdn/52ZJWBJT.js +0 -4
  423. package/dist/cdn/573TNYY5.js +0 -4
  424. package/dist/cdn/5AALQ6RZ.js +0 -4
  425. package/dist/cdn/5KMNAURG.js +0 -4
  426. package/dist/cdn/5VTYZVJH.js +0 -4
  427. package/dist/cdn/62ZVQ3ZH.js +0 -4
  428. package/dist/cdn/6CQPTE3E.js +0 -4
  429. package/dist/cdn/6HWUT7L4.js +0 -4
  430. package/dist/cdn/6NZ5234Z.js +0 -4
  431. package/dist/cdn/6OJCTSQD.js +0 -4
  432. package/dist/cdn/6SVM5HRB.js +0 -4
  433. package/dist/cdn/7DM5FB6A.js +0 -4
  434. package/dist/cdn/7XU3S5AU.js +0 -42
  435. package/dist/cdn/AD3SQBUO.js +0 -4
  436. package/dist/cdn/AIGJFWPO.js +0 -4
  437. package/dist/cdn/BR5RSKQJ.js +0 -4
  438. package/dist/cdn/BRYCQYEF.js +0 -4
  439. package/dist/cdn/BUZQFX4X.js +0 -4
  440. package/dist/cdn/CB7O2PE3.js +0 -4
  441. package/dist/cdn/CFJM4T24.js +0 -4
  442. package/dist/cdn/DCPP2A6R.js +0 -4
  443. package/dist/cdn/DCYBICHJ.css +0 -1
  444. package/dist/cdn/DI74HOSV.js +0 -4
  445. package/dist/cdn/DIQKH37P.js +0 -4
  446. package/dist/cdn/DRJ4SKBY.js +0 -4
  447. package/dist/cdn/DW3KTB7W.js +0 -4
  448. package/dist/cdn/EHWOH3AS.js +0 -4
  449. package/dist/cdn/EQIVGIV5.js +0 -4
  450. package/dist/cdn/ETWCEC6I.js +0 -4
  451. package/dist/cdn/EV7NZIDI.js +0 -4
  452. package/dist/cdn/G34MOD6Z.js +0 -4
  453. package/dist/cdn/GCWYVEAM.js +0 -4
  454. package/dist/cdn/H7YSSKNX.js +0 -4
  455. package/dist/cdn/HO66RCKA.js +0 -58
  456. package/dist/cdn/HTCGNGWS.js +0 -4
  457. package/dist/cdn/I4W5SN2C.js +0 -4
  458. package/dist/cdn/IDYONL6G.js +0 -4
  459. package/dist/cdn/IMF6T5KA.js +0 -4
  460. package/dist/cdn/IXZG7BYH.js +0 -4
  461. package/dist/cdn/IYCGVT6M.js +0 -4
  462. package/dist/cdn/JBINPRLV.js +0 -4
  463. package/dist/cdn/JFBDHWTH.js +0 -4
  464. package/dist/cdn/KREPFU54.js +0 -4
  465. package/dist/cdn/KSO4FH7T.js +0 -4
  466. package/dist/cdn/KV7MQRID.js +0 -4
  467. package/dist/cdn/KVQGRGTX.js +0 -4
  468. package/dist/cdn/KZ2PASIL.js +0 -4
  469. package/dist/cdn/L7XBIHO4.js +0 -4
  470. package/dist/cdn/LHKTIOAS.js +0 -4
  471. package/dist/cdn/LKQSJH6O.js +0 -4
  472. package/dist/cdn/LO3BV66U.js +0 -4
  473. package/dist/cdn/LU4QMMFH.js +0 -4
  474. package/dist/cdn/MFCXPRPK.js +0 -4
  475. package/dist/cdn/MG2HFVH3.js +0 -4
  476. package/dist/cdn/MJMLISNQ.js +0 -4
  477. package/dist/cdn/NFFCP5DA.js +0 -4
  478. package/dist/cdn/NFFRB4BR.js +0 -4
  479. package/dist/cdn/NG4OYKF4.js +0 -4
  480. package/dist/cdn/NGDMHV44.js +0 -4
  481. package/dist/cdn/NMZIP2MC.js +0 -4
  482. package/dist/cdn/OI5MJGAM.js +0 -4
  483. package/dist/cdn/OIQ4EV4L.js +0 -4
  484. package/dist/cdn/OMKUZSPX.js +0 -4
  485. package/dist/cdn/P2L45OHX.js +0 -4
  486. package/dist/cdn/PUVURJEA.js +0 -4
  487. package/dist/cdn/PYJJGJD5.js +0 -4
  488. package/dist/cdn/Q2IJF3UD.js +0 -4
  489. package/dist/cdn/QGB6IYXA.js +0 -4
  490. package/dist/cdn/QUP7LRZB.js +0 -4
  491. package/dist/cdn/QVM2XZGE.js +0 -4
  492. package/dist/cdn/RKVGZGMT.js +0 -4
  493. package/dist/cdn/RYGSUHPL.js +0 -4
  494. package/dist/cdn/S26GJIZW.js +0 -4
  495. package/dist/cdn/S57HESNZ.js +0 -4
  496. package/dist/cdn/SUSSWOBP.js +0 -4
  497. package/dist/cdn/T3HLSENK.js +0 -4
  498. package/dist/cdn/T4OLCB57.js +0 -4
  499. package/dist/cdn/TC4K2IBN.js +0 -4
  500. package/dist/cdn/TEKM44UI.js +0 -4
  501. package/dist/cdn/THFW5BGS.js +0 -4
  502. package/dist/cdn/TP24LJTV.js +0 -4
  503. package/dist/cdn/TQ6TYM53.js +0 -4
  504. package/dist/cdn/TUSAPA3B.js +0 -4
  505. package/dist/cdn/TZOUXYMP.js +0 -4
  506. package/dist/cdn/UP5YHRAT.js +0 -4
  507. package/dist/cdn/USDDCXSD.js +0 -4
  508. package/dist/cdn/VANVPL7B.js +0 -4
  509. package/dist/cdn/VE7L4QD3.js +0 -4
  510. package/dist/cdn/VUG3AMJW.js +0 -4
  511. package/dist/cdn/VZHZP3WS.js +0 -4
  512. package/dist/cdn/VZOYYSMT.js +0 -4
  513. package/dist/cdn/W3PPNJUI.js +0 -4
  514. package/dist/cdn/W5D44LNY.js +0 -4
  515. package/dist/cdn/WB3AED73.js +0 -4
  516. package/dist/cdn/WFODK6LM.js +0 -4
  517. package/dist/cdn/XATS2GRO.js +0 -4
  518. package/dist/cdn/XIBVZCXM.js +0 -4
  519. package/dist/cdn/XLRLWYNY.js +0 -4
  520. package/dist/cdn/XQ7LOQ6A.js +0 -4
  521. package/dist/cdn/XTYW4JSU.js +0 -4
  522. package/dist/cdn/Y54PXKNX.js +0 -4
  523. package/dist/cdn/YRXQVP63.js +0 -4
  524. package/dist/cdn/ZIRCERSI.js +0 -4
  525. package/dist/cdn/ZM7CB4BA.js +0 -4
  526. package/dist/cdn/stdin.css +0 -1
  527. package/dist/chart-rendering/common/data/utils/misc/interfaces.d.ts +0 -30
  528. package/dist/chunks/index5.js +0 -66
  529. package/dist/chunks/interfaces2.js +0 -18
  530. package/dist/chunks/interfaces3.js +0 -96
  531. package/dist/chunks/interfaces4.js +0 -491
  532. package/dist/test/chart-rendering/test-utils/utils.d.ts +0 -15
  533. package/dist/test/utils/test-utils/utils.d.ts +0 -13
@@ -1,4 +1,7 @@
1
- import { WebChart, WebChartSeriesType, RESTSymbolType, WebChartTypes, WebChartVersionStatus } from '../../../spec';
1
+ import { ChartOptions } from '../../../chart-rendering/common/interfaces';
2
+ import { IField, TimeIntervalInfo, WebBoxPlot, WebChart, WebChartSeriesType, RESTSymbolType, WebChartTypes, WebChartVersionStatus } from '../../../spec';
3
+ import { DataUpdateDetails } from '../../data/interfaces';
4
+ import { LimitBehavior } from '../../defaults/interfaces';
2
5
  import { ChartSubType } from '../../misc/interfaces';
3
6
  import { WebChartSeriesSupportingTemporalBinning } from './interfaces';
4
7
  /**
@@ -124,8 +127,276 @@ export declare function isSeriesUsingTimeBinning(props: {
124
127
  * @param series The series to test
125
128
  */
126
129
  export declare function doesSeriesSupportTemporalBinning(series: WebChartSeriesType): series is WebChartSeriesSupportingTemporalBinning;
130
+ /**
131
+ * Compares the queries from two configs and indicates whether a query changed. Noted that the query comparison
132
+ * includes the orderByFields from the orderOptions.
133
+ *
134
+ * A sort on the series is made before comparing to prevent a false positive on query reorder.
135
+ *
136
+ * @param props.previousConfig The former chart config
137
+ * @param props.newConfig The new chart config
138
+ * @param props.behaviorAfterLimit The chart's behavior once the data limit is reached
139
+ */
140
+ declare function hasQueryChanged(props: {
141
+ previousConfig: WebChart;
142
+ newConfig: WebChart;
143
+ behaviorAfterLimit?: LimitBehavior;
144
+ }): boolean;
145
+ /**
146
+ * Compares two config data filters and returns true if they are identical, false otherwise
147
+ *
148
+ * @param previousConfig
149
+ * @param newConfig
150
+ */
151
+ export declare function hasConfigFilterChanged(previousConfig: WebChart, newConfig: WebChart): boolean;
152
+ /**
153
+ * Indicates whether the filter by selection was enabled or disabled
154
+ * @param previousFilterBySelection The previous valued for the filter by selection
155
+ * @param options The runtime options containing the new value for the filter by selection
156
+ */
157
+ declare function hasFilterBySelectionChanged(previousFilterBySelection?: boolean, options?: ChartOptions): boolean;
158
+ /**
159
+ * Compares the `binTemporalData` property from two configs and returns true if they are identical, false otherwise
160
+ *
161
+ * @param previousConfig
162
+ * @param newConfig
163
+ */
164
+ declare function hasBinTemporalDataChanged(previousConfig: WebChart, newConfig: WebChart): boolean;
165
+ /**
166
+ * Indicates whether a change of value format type requires new data. Two cases require it:
167
+ * - change from date format to numeric format
168
+ * - specific to non aggregated charts: change from category format to value format
169
+ *
170
+ * @param previousConfig The former chart config
171
+ * @param newConfig The new chart config
172
+ */
173
+ declare function isNewDataRequiredForValueFormatChange(previousConfig: WebBoxPlot | WebChart, newConfig: WebBoxPlot | WebChart): boolean;
174
+ /**
175
+ * Compares the `showMean` from two configs and indicates whether they are different
176
+ *
177
+ * @param previousConfig The former chart config
178
+ * @param newConfig The new chart config
179
+ */
180
+ declare function hasShowMeanChanged(previousConfig: WebBoxPlot | WebChart, newConfig: WebBoxPlot | WebChart): boolean;
181
+ /**
182
+ * Compares two gauge configs and indicates whether the series value conversion changed
183
+ *
184
+ * @param previousConfig The previous config
185
+ * @param newConfig The updated config
186
+ */
187
+ declare function hasGaugeValueConversionChanged(previousConfig: WebChart, newConfig: WebChart): boolean;
188
+ /**
189
+ * Compares two heat chart configs to see if binning has changed
190
+ *
191
+ * @param previousConfig The previous config
192
+ * @param newConfig The updated config
193
+ */
194
+ declare function hasHeatChartBinningChanged(previousConfig: WebChart, newConfig: WebChart): boolean;
195
+ /**
196
+ * Compares two configs and indicates whether additional tooltip fields (only non-numeric) changed
197
+ *
198
+ * **NOTE**: (only for scatterplot)
199
+ *
200
+ * @param {WebChart} props.previousConfig The previous config
201
+ * @param {WebChart} props.newConfig The updated config
202
+ * @param {IField[]|undefined} props.fieldList The layer field list
203
+ */
204
+ export declare function hasAdditionalTooltipFieldsChanged(props: {
205
+ previousConfig: WebChart;
206
+ newConfig: WebChart;
207
+ fieldList?: IField[];
208
+ }): boolean;
209
+ /**
210
+ * Compares two configs and indicates whether the color type change
211
+ *
212
+ * @param oldConfig The previous config
213
+ * @param newConfig The updated config
214
+ */
215
+ export declare function hasColorMatchChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
216
+ /**
217
+ * Compares two configs and indicates whether the legend visibilty changed
218
+ *
219
+ * @param oldConfig The previous config
220
+ * @param newConfig The updated config
221
+ */
222
+ export declare function hasHeatLegendConfigChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
223
+ /**
224
+ * Compares two configs and indicates whether the gradient rules changed
225
+ *
226
+ * @param oldConfig The previous config
227
+ * @param newConfig The updated config
228
+ */
229
+ export declare function hasGradientRulesChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
230
+ /**
231
+ * Compares the 'slices' array from the pie series, and indicates whether they are different.
232
+ * Compare only the slices id and label to avoid false positives.
233
+ *
234
+ * @param props.oldConfig The previous chart config
235
+ * @param props.newConfig The newest chart config
236
+ */
237
+ export declare function hasSlicesConfigChanged(props: {
238
+ oldConfig: WebChart;
239
+ newConfig: WebChart;
240
+ }): boolean;
241
+ export declare function hasDataForFilterBySelectionChanged(props: {
242
+ previousSelectionOIDs?: (number | string)[];
243
+ options?: ChartOptions;
244
+ }): boolean;
245
+ /**
246
+ * Compares the split by value for each series element in the box plot config and returns true if the series has different split by value between new and old box plot config, false otherwise.
247
+ *
248
+ * @param oldSeries The former series config
249
+ * @param newSeries The new series config
250
+ */
251
+ export declare function hasSplitByValueChanged(oldSeries: WebChart["series"], newSeries: WebChart["series"]): boolean;
252
+ /**
253
+ * Verify if the order of the numeric fields has changed
254
+ *
255
+ * @param oldSeries - The previous series config
256
+ * @param newSeries - The new series config
257
+ */
258
+ export declare function hasNumericFieldsChanged(oldSeries: WebChart["series"], newSeries: WebChart["series"]): boolean;
259
+ /**
260
+ * Returns true when the time interval info was set previously and are not in the new config
261
+ *
262
+ * @param oldConfig the old chart config
263
+ * @param newConfig the new chart config
264
+ */
265
+ export declare function hasTimeIntervalInfoBeenReset(oldConfig: WebChart, newConfig: WebChart): boolean;
266
+ /**
267
+ * Returns true when the dual axis feature was enabled or disabled (number of axes changed)
268
+ *
269
+ * @param oldConfig the old chart config
270
+ * @param newConfig the new chart config
271
+ */
272
+ export declare function hasDualAxisChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
273
+ /**
274
+ * Returns true when the series are not associated to the same axis anymore
275
+ *
276
+ * @param oldConfig the old chart config
277
+ * @param newConfig the new chart config
278
+ */
279
+ export declare function hasSeriesAxisChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
280
+ /**
281
+ * Returns true when at least one guide's 'above' property changed from an update to another.
282
+ *
283
+ * @param oldConfig The old chart config
284
+ * @param newConfig The new chart config
285
+ * @returns
286
+ */
287
+ export declare function hasAnyGuideAboveChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
288
+ /**
289
+ * Returns true if the rotated property changed since the previous update.
290
+ *
291
+ * @param oldConfig the old chart config
292
+ * @param newConfig the new chart config
293
+ */
294
+ export declare function hasRotationChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
295
+ /**
296
+ * Returns true if the rotated property changed since the previous update.
297
+ *
298
+ * @param oldConfig the old chart config
299
+ * @param newConfig the new chart config
300
+ */
301
+ export declare function hasOutliersVisibilityChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
302
+ /**
303
+ * Returns true if the 'standardizeValues' property changed in the chart config since the previous update.
304
+ *
305
+ * @param oldConfig the old chart config
306
+ * @param newConfig the new chart config
307
+ */
308
+ export declare function hasStandardizeValuesVisibilityChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
309
+ /**
310
+ * Returns true if the 'chartRenderer' property changed in the chart config since the previous update.
311
+ *
312
+ * @param oldConfig the old chart config
313
+ * @param newConfig the new chart config
314
+ */
315
+ export declare function hasChartRendererChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
316
+ /**
317
+ * Returns true if the 'timeZone' property from the axis value format changed in the chart config since the previous update.
318
+ *
319
+ * @param oldConfig the old chart config
320
+ * @param newConfig the new chart config
321
+ */
322
+ export declare function hasIntlTimeZoneChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
323
+ /**
324
+ * Indicates whether the size policy changed from the previous update
325
+ * @param oldConfig the old chart config
326
+ * @param newConfig the new chart config
327
+ */
328
+ export declare function hasSizePolicyChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
329
+ /**
330
+ * Indicates whether a series reinitialization is necessary due to size policy changes
331
+ * @param oldConfig The old chart config
332
+ * @param newConfig The new chart config
333
+ */
334
+ export declare function doSizePolicyChangesRequireSeriesReinit(oldConfig: WebChart, newConfig: WebChart): boolean;
335
+ /**
336
+ * Function saying if a data update is needed. We compare different properties from the former config and the new one
337
+ * in order to decide if the update is needed.
338
+ *
339
+ * @param props
340
+ */
341
+ export declare function doesConfigChangeRequireNewData(props: {
342
+ previousConfig: WebBoxPlot | WebChart;
343
+ newConfig: WebBoxPlot | WebChart;
344
+ options?: ChartOptions;
345
+ previousFilterBySelection?: boolean;
346
+ previousTimeIntervalInfo?: TimeIntervalInfo;
347
+ previousSelectionOIDs?: (number | string)[];
348
+ fieldList?: IField[];
349
+ }): {
350
+ dataUpdateNeeded: boolean;
351
+ dataUpdateDetails: DataUpdateDetails;
352
+ };
353
+ /**
354
+ * Determines if any of the series' name has changed between the previous and the new configs.
355
+ *
356
+ * The order of the series is preserved when comparing for changes.
357
+ *
358
+ * @param oldConfig The previous chart config
359
+ * @param newConfig The new chart config
360
+ * @returns
361
+ */
362
+ declare function hasConfigSeriesNamesChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
363
+ /**
364
+ * Determines if the series order has changed between the old and the new configs.
365
+ *
366
+ * @param oldConfig The previous chart config
367
+ * @param newConfig The new chart config
368
+ * @returns
369
+ */
370
+ declare function hasSeriesOrderChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
371
+ /**
372
+ * Determines whether a sort by series is needed.
373
+ * A sort by series is needed when either the series order has changed or any of the series names have changed.
374
+ *
375
+ * @param oldConfig The previous chart config.
376
+ * @param newConfig The new chart config.
377
+ * @returns
378
+ */
379
+ export declare function isSortBySeriesNeeded(oldConfig: WebChart, newConfig: WebChart): boolean;
380
+ /**
381
+ * Sorts the series in the config based on the series sort options.
382
+ * When no sort option is provide, no sorting is performed.
383
+ *
384
+ * @param chartConfig The optional chart config to sort the series
385
+ * @param chartContainer The HTML chart container
386
+ * @returns The updated chart config with the series sorted, or undefined if the input config is undefined
387
+ */
388
+ export declare function sortConfigSeries<T extends WebChart | undefined>(chartConfig: T, chartContainer?: HTMLElement): T;
127
389
  export declare const chartConfigUtilsPrivateFunctions: {
128
390
  getPieChartChartSubType: typeof getPieChartChartSubType;
129
391
  getBarLineChartSubType: typeof getBarLineChartSubType;
392
+ hasQueryChanged: typeof hasQueryChanged;
393
+ hasFilterBySelectionChanged: typeof hasFilterBySelectionChanged;
394
+ hasBinTemporalDataChanged: typeof hasBinTemporalDataChanged;
395
+ hasGaugeValueConversionChanged: typeof hasGaugeValueConversionChanged;
396
+ isNewDataRequiredForValueFormatChange: typeof isNewDataRequiredForValueFormatChange;
397
+ hasShowMeanChanged: typeof hasShowMeanChanged;
398
+ hasHeatChartBinningChanged: typeof hasHeatChartBinningChanged;
399
+ hasSeriesOrderChanged: typeof hasSeriesOrderChanged;
400
+ hasConfigSeriesNamesChanged: typeof hasConfigSeriesNamesChanged;
130
401
  };
131
402
  export {};
@@ -61,16 +61,6 @@ declare function findWarnings(props: {
61
61
  * @param chartConfig The chart config
62
62
  */
63
63
  declare function findCustomErrors(queryObject?: QueryObject, chartConfig?: WebChart | WebGaugeChart): Promise<CustomErrorObject[]>;
64
- export declare const chartConfigValidatorPrivateFunctions: {
65
- findCustomErrors: typeof findCustomErrors;
66
- findWarnings: typeof findWarnings;
67
- findNumericAggregationWarnings: typeof findNumericAggregationWarnings;
68
- findDuplicateSeriesIDWarnings: typeof findDuplicateSeriesIDWarnings;
69
- findLayerLoadError: typeof findLayerLoadError;
70
- createStartingSchema: typeof createStartingSchema;
71
- extractSchemaNameFromRefPath: typeof extractSchemaNameFromRefPath;
72
- customizeValidationErrors: typeof customizeValidationErrors;
73
- };
74
64
  /**
75
65
  * Validates the `WebChart` config by checking for and displays `Errors` and `Warnings`.
76
66
  * - `Errors` are violations in the config w.r.t the JSON schema.
@@ -90,4 +80,14 @@ export declare function validateWebChart(props: {
90
80
  * @param config The config to analyze
91
81
  */
92
82
  export declare function isPartialConfig(config?: WebChart): boolean;
83
+ export declare const chartConfigValidatorPrivateFunctions: {
84
+ findCustomErrors: typeof findCustomErrors;
85
+ findWarnings: typeof findWarnings;
86
+ findNumericAggregationWarnings: typeof findNumericAggregationWarnings;
87
+ findDuplicateSeriesIDWarnings: typeof findDuplicateSeriesIDWarnings;
88
+ findLayerLoadError: typeof findLayerLoadError;
89
+ createStartingSchema: typeof createStartingSchema;
90
+ extractSchemaNameFromRefPath: typeof extractSchemaNameFromRefPath;
91
+ customizeValidationErrors: typeof customizeValidationErrors;
92
+ };
93
93
  export {};
@@ -1,23 +1,9 @@
1
+ import { default as Graphic } from '@arcgis/core/Graphic';
1
2
  import { default as FeatureLayerView } from '@arcgis/core/views/layers/FeatureLayerView';
2
3
  import { ChartOptions } from '../../chart-rendering/common/interfaces';
3
4
  import { ArcgisChart } from '../../components/arcgis-chart/customElement.js';
4
- import { SupportedLayer, WebChart, WebChartLegendPositions } from '../../spec';
5
- /**
6
- * Updates the legend position for a given WebChart config.
7
- * Returns the updated config.
8
- *
9
- * @param newLegendPosition
10
- * @param config
11
- */
12
- export declare function updateLegendPosition(newLegendPosition: WebChartLegendPositions, config?: WebChart): WebChart | undefined;
13
- /**
14
- * Updates the legend visibility for a given WebChart config.
15
- * Returns the updated config.
16
- *
17
- * @param visible
18
- * @param config
19
- */
20
- export declare function updateLegendVisibility(visible: boolean, config?: WebChart): WebChart | undefined;
5
+ import { SupportedLayer, WebChart } from '../../spec';
6
+ import { QueryObject } from '../../utils';
21
7
  /**
22
8
  * Resets the axes bounds.
23
9
  * Returns the updated config.
@@ -35,12 +21,23 @@ export declare function resetAxesBounds(config?: WebChart): WebChart | undefined
35
21
  */
36
22
  export declare function isValidDataSource(config?: WebChart, layer?: FeatureLayerView | SupportedLayer): boolean;
37
23
  /**
38
- * Will add missing series to the chart config if:
39
- * - the config uses a split-by field
40
- * - adding missing series was requested (through the `updateSplitBySeries` property)
41
- * - unique values for the given split-by field don't have a series associated
42
- *
43
- * @param component The chart component
44
- * @param options The runtime options
24
+ * Alters the providing config to prepare it for rendering:
25
+ * - add the iLayer if missing
26
+ * - convert it to the latest version
27
+ * @param props.configToAlter The config to alter
28
+ * @param props.layer The component's layer
45
29
  */
46
- export declare function addMissingSplitBySeries(component: ArcgisChart, config: WebChart | undefined, options: ChartOptions): Promise<void>;
30
+ export declare function prepareConfigForRendering(props: {
31
+ creation: boolean;
32
+ configToAlter: WebChart | undefined;
33
+ chartContainer?: HTMLElement;
34
+ queryObject: QueryObject;
35
+ options: ChartOptions;
36
+ previousConfig?: WebChart | undefined;
37
+ updateSplitBySeries: ArcgisChart["updateSplitBySeries"];
38
+ addMissingSeries: boolean;
39
+ layer: ArcgisChart["layer"];
40
+ }): Promise<{
41
+ alteredConfig: ArcgisChart["config"];
42
+ preFetchedQueryResponse?: Graphic[];
43
+ }>;
@@ -0,0 +1,36 @@
1
+ import { ChartOptions } from '../../chart-rendering/common/interfaces';
2
+ import { ArcgisChart } from '../../components/arcgis-chart/customElement.js';
3
+ import { IField, WebChart } from '../../spec';
4
+ import { DataUpdateDetails } from '../data/interfaces';
5
+ import { SelectionData } from '../misc/interfaces';
6
+ /**
7
+ * Indicates whether a data update is needed based on the changed properties.
8
+ * Checks for:
9
+ * - specific properties that require a data update when changed,
10
+ * - change of layer type (FeatureLayer to FeatureLayerView or vice-versa),
11
+ * - changes in the config that require a data update.
12
+ * @param props.config The current chart config
13
+ * @param props.previousConfig The previous chart config
14
+ * @param props.dataUpdateNeededProps The list of properties that require a data update when changed
15
+ * @param props.updatedProps A map of the properties that have been updated with their old and new values
16
+ * @param props.filterBySelection The current filterBySelection value
17
+ * @param props.previousSelectionOIDs The previous selection OIDs
18
+ * @param props.chartData The current chart data
19
+ * @param props.options The current chart options
20
+ * @param props.fieldList The list of fields in the layer or feature layer view
21
+ * @returns
22
+ */
23
+ export declare function isDataUpdateNeeded(props: {
24
+ config: WebChart | undefined;
25
+ previousConfig: WebChart | undefined;
26
+ dataUpdateNeededProps: ArcgisChart["dataUpdateNeededProps"];
27
+ updatedProps: ArcgisChart["updatedProps"];
28
+ filterBySelection: ArcgisChart["filterBySelection"];
29
+ previousSelectionOIDs: SelectionData["selectionOIDs"];
30
+ chartData: ArcgisChart["chartData"];
31
+ options: ChartOptions;
32
+ fieldList: IField[];
33
+ }): {
34
+ dataUpdateNeeded: boolean;
35
+ dataUpdateDetails: DataUpdateDetails | undefined;
36
+ };
@@ -1,37 +1,37 @@
1
1
  import { ArcgisChart } from '../../components/arcgis-chart/customElement.js';
2
2
  /**
3
- * Adds a listener on the feature layer, so every time the definition expression (filter) is modified we update
3
+ * Adds a watch handler on the feature layer, so every time the definition expression (filter) is modified we update
4
4
  * the chart.
5
5
  *
6
6
  * @param component The chart component
7
7
  */
8
- export declare function addLayerFilterListener(component: ArcgisChart): Promise<IHandle | undefined>;
8
+ export declare function watchLayerFilter(component: ArcgisChart): IHandle | undefined;
9
9
  /**
10
- * Adds a listener on the feature layer, so every time the renderer is modified we update the chart.
10
+ * Adds a watch handler on the feature layer, so every time the renderer is modified we update the chart.
11
11
  *
12
12
  * @param component The chart component
13
13
  */
14
- export declare function addLayerRendererListener(component: ArcgisChart): Promise<IHandle | undefined>;
14
+ export declare function watchLayerRenderer(component: ArcgisChart): IHandle | undefined;
15
15
  /**
16
- * Adds a listener on the feature layer view, so every time the view's extent is modified we update
16
+ * Adds a watch handler on the feature layer view, so every time the view's extent is modified we update
17
17
  * the chart.
18
18
  *
19
19
  * @param props.component The chart component
20
20
  */
21
- export declare function addExtentChangeListener(component: ArcgisChart): Promise<IHandle[] | undefined>;
21
+ export declare function watchExtentChange(component: ArcgisChart): Promise<IHandle[] | undefined>;
22
22
  /**
23
- * Adds a listener on the view's time extent, so every time extent is modified we update the chart.
23
+ * Adds a watch handler on the view's time extent, so every time extent is modified we update the chart.
24
24
  * @param component The chart component
25
25
  */
26
- export declare function addViewTimeExtentListener(component: ArcgisChart): Promise<IHandle | undefined>;
26
+ export declare function watchViewTimeExtent(component: ArcgisChart): IHandle | undefined;
27
27
  /**
28
- * Adds a listener on the feature layer, so every time the fields are modified we update the chart.
28
+ * Adds a watch handler on the feature layer, so every time the fields are modified we update the chart.
29
29
  *
30
30
  * @param component The chart component
31
31
  */
32
- export declare function addLayerFieldsListener(component: ArcgisChart): Promise<IHandle | undefined>;
32
+ export declare function watchLayerFields(component: ArcgisChart): IHandle | undefined;
33
33
  /**
34
- * Adds a listener on the layer's view; so every time the selection data is modified, we update the chart.
34
+ * Adds a watch handler on the layer's view; so every time the selection data is modified, we update the chart.
35
35
  * @param component The chart component
36
36
  */
37
- export declare function addSelectionsChangeInViewListener(component: ArcgisChart): Promise<IHandle | undefined>;
37
+ export declare function watchSelectionsChangeInView(component: ArcgisChart): IHandle | undefined;
@@ -1,9 +1,9 @@
1
+ import { default as FeatureLayerView } from '@arcgis/core/views/layers/FeatureLayerView.js';
1
2
  import { CSVOptions } from '../../interfaces';
2
3
  import { ModelTypes } from '../../model';
3
4
  import { IField, SupportedLayer } from '../../spec';
4
- import { ChartConfig } from '../types';
5
- import { default as FeatureLayerView } from '@arcgis/core/views/layers/FeatureLayerView.js';
6
5
  import { SupportedLocalesForFormats } from '../localization/interfaces';
6
+ import { ChartConfig } from '../types';
7
7
  /**
8
8
  * A utility function to compare if a value has changed deeply.
9
9
  * @param value
@@ -97,3 +97,9 @@ export declare function transformBoxPlotData<T extends Record<string, unknown>>(
97
97
  * @param {unknown} date - The date to check, should be a string or a number.
98
98
  */
99
99
  export declare const isValidDate: (date: unknown) => date is Date | number | string;
100
+ /**
101
+ * Returns a unique ID associated to a chart
102
+ *
103
+ * @param key A unique identifying the chart
104
+ */
105
+ export declare function getChartUniqueInternalID(key: string): string;
@@ -14,7 +14,7 @@ export declare function getBoxPlotStatisticFieldNames(y?: string): Record<BoxPlo
14
14
  * @param config the chart config
15
15
  * @default false
16
16
  */
17
- export declare function isGaugeByFeature(config: WebGaugeChart): boolean;
17
+ export declare function isGaugeByFeature(config: WebChart): boolean;
18
18
  /**
19
19
  * From fetched data (type: WebChartDataTypes) returns the part containing the data that
20
20
  * is to be assigned to the chart (WebChartDataItem[] | WebChartBin[])
@@ -1,7 +1,6 @@
1
1
  import { WebChartDataTypes, WebChartQuery } from '../../spec';
2
2
  import { DataWarningKeywords } from '../chart-config/validator/interfaces';
3
3
  import { ChartSubType } from '../misc/interfaces';
4
- import { BinnedServerData } from './time-binning/interfaces';
5
4
  export interface DataMinMax {
6
5
  minY: number;
7
6
  maxY: number;
@@ -13,7 +12,6 @@ export interface DataInfo {
13
12
  invalidType?: DataWarningKeywords;
14
13
  count?: number;
15
14
  data?: WebChartDataTypes;
16
- binnedServerData?: BinnedServerData;
17
15
  queryConfig?: WebChartQuery;
18
16
  }
19
17
  export declare const BoxPlotYFieldKeys: {
@@ -37,3 +35,33 @@ export interface BoxPlotYValueProps {
37
35
  showOutliers?: boolean;
38
36
  standardizeValues?: boolean;
39
37
  }
38
+ export interface DataUpdateDetails {
39
+ common: {
40
+ queryChanged: boolean;
41
+ xOrYChanged: boolean;
42
+ numberOfSeriesChanged: boolean;
43
+ configFiltersChanged: boolean;
44
+ filterBySelectionChanged: boolean;
45
+ dataForFilterBySelectionChanged: boolean;
46
+ binTemporalDataChanged: boolean;
47
+ timeBinningChanged: boolean;
48
+ timeIntervalUnitChanged: boolean;
49
+ newTimeBinningWillBeCalculated: boolean;
50
+ valueFormatChangeRequiresNewData: boolean;
51
+ };
52
+ histogram: {
53
+ dataPropsChanged: boolean;
54
+ };
55
+ gauge: {
56
+ valueConversionChanged: boolean;
57
+ };
58
+ boxPlot: {
59
+ showMeanChanged: boolean;
60
+ };
61
+ heatChart: {
62
+ binningChanged: boolean;
63
+ };
64
+ scatterPlot: {
65
+ tooltipFieldsChanged: boolean;
66
+ };
67
+ }
@@ -14,10 +14,6 @@ export interface TimeBinningStatistics {
14
14
  dateRange: DateRange;
15
15
  numberOfFeatures: number;
16
16
  }
17
- export interface BinnedServerData {
18
- data: WebChartDataItem[];
19
- timeBinningStats: TimeBinningStatistics;
20
- }
21
17
  export interface GroupProps {
22
18
  binFirstOrLastIndex: number;
23
19
  data: WebChartDataItem[];
@@ -1,6 +1,6 @@
1
1
  import { CategoryFormatOptions, Color, DateTimeFormatOptions, HistogramOverlays, IFont, ISimpleFillSymbol, ISimpleLineSymbol, ISimpleMarkerSymbol, NumberFormatOptions, ScatterplotOverlays, SizePolicy, WebBoxPlot, WebChart, WebChartAxis, WebChartBarChartSeries, WebChartBoxPlotSeries, WebChartCursorCrosshair, WebChartGaugeAxis, WebChartGaugeSeries, WebChartHeatChartSeries, WebChartHistogramSeries, WebChartLegend, WebChartLineChartSeries, WebChartNeedle, WebChartOverlay, WebChartPieChartSeries, WebChartPieChartTick, WebChartRadarChartSeries, WebChartScatterplotSeries, WebChartText, WebChartTextSymbol, WebGaugeChart, WebChartStackedKinds, WebChartTypes } from '../../spec';
2
- import { ChartElementLimit, ChartElementTechnicalLimit, ChartTextProps, QueryDefaults, TextElements } from './interfaces';
3
2
  import { CommonStrings } from '../localization/interfaces';
3
+ import { ChartElementLimit, ChartElementTechnicalLimit, ChartTextProps, QueryDefaults, TextElements } from './interfaces';
4
4
  export declare const histogramBinCount = 32;
5
5
  export declare const featuresExtentField = "arcgis_charts_features_extent";
6
6
  export declare const queryDefaults: QueryDefaults;
@@ -44,7 +44,7 @@ export interface QueryDefaults {
44
44
  maxParallelRequests: number;
45
45
  maxRecords: number;
46
46
  outStatistics: Readonly<IStatisticDefinition>;
47
- uniqueIdsName: string;
47
+ uniqueIdsName: number | string;
48
48
  orderByJSAPIDelimiter: string;
49
49
  }
50
50
  export interface ChartTextProps {
@@ -1,7 +1,9 @@
1
- import { IFeatureLayer, IField, SupportedLayer, WebChart, WebChartDataFilters, WebChartQuery } from '../../spec';
1
+ /// <reference types="@arcgis/core/interfaces.d.ts" />
2
2
  import { default as FeatureLayer } from '@arcgis/core/layers/FeatureLayer.js';
3
- import { default as SubtypeGroupLayer } from '@arcgis/core/layers/SubtypeGroupLayer';
3
+ import { default as SubtypeGroupLayer } from '@arcgis/core/layers/SubtypeGroupLayer.js';
4
4
  import { default as Renderer } from '@arcgis/core/renderers/Renderer';
5
+ import { default as FeatureLayerView } from '@arcgis/core/views/layers/FeatureLayerView';
6
+ import { IFeatureLayer, IField, SupportedLayer, WebChart, WebChartDataFilters, WebChartQuery } from '../../spec';
5
7
  import { IFeatureType, QueryObject, QueryObjectProps, RendererInfo, SubtypeInfo } from './interfaces';
6
8
  /**
7
9
  * Returns the renderer type and the field and normalization field if applicable.
@@ -38,7 +40,7 @@ export declare function getFieldFromName(fieldName: string, fields?: IField[]):
38
40
  * the field ID (every feature layer has one).
39
41
  * As a consequence the backup value returned if `oidField.name` is `undefined` doesn't matter because it will not happen.
40
42
  */
41
- export declare function getObjectIdField(layerFieldsInfo: IField[]): string;
43
+ export declare function getObjectIdField(layerFieldsInfo?: IField[]): string;
42
44
  /**
43
45
  * Checks whether the given field has a valid numeric type.
44
46
  * Fields descriptions are [here](http://resources.esri.com/help/9.3/ArcGISEngine/ArcObjects/esriGeoDatabase/esriFieldType.htm).
@@ -145,6 +147,21 @@ export declare function findMatchingLayerFieldName(props: {
145
147
  fieldToMatch: string;
146
148
  returnUndefinedIfNotFound?: boolean;
147
149
  }): Promise<string>;
150
+ /**
151
+ * Find the matching field in a list of fields based on the fieldToMatch parameter.
152
+ * It first looks for a perfect match (case-sensitive), then for an approximate match (case-insensitive).
153
+ * @param {IField[]} layerFieldList - The list of fields to search in.
154
+ * @param {string} fieldToMatch - The field name to match.
155
+ * @returns {IField | undefined} - The matching field if found, otherwise undefined.
156
+ *
157
+ * We look for a match in 2 steps:
158
+ *
159
+ * 1. Perfect match: the case of the fields is exactly the same. This helps when the layer has fields with the same name but with a
160
+ * different case (e.g. "field" and "FiElD"). Refer to https://devtopia.esri.com/WebGIS/arcgis-charts/issues/8305
161
+ *
162
+ * 2: Approximate match: we upper-case the fields to compare them
163
+ */
164
+ export declare function findMatchingField(layerFieldList: IField[], fieldToMatch: string): IField | undefined;
148
165
  /**
149
166
  * Finds the matching layer fields for a list of fields.
150
167
  *
@@ -200,6 +217,32 @@ export declare function extractFieldsUsedInConfig(config: WebChart, layer: Suppo
200
217
  * @returns {string[]} The list of layer fields
201
218
  */
202
219
  export declare function extractFieldsFromConfigList(layer: SupportedLayer): Promise<string[]>;
220
+ /**
221
+ * Finds the matching layer in the view based on the provided layer's portal item id.
222
+ * The matching is done based on the portalItem id.
223
+ * If no matching layer is found, returns `undefined`.
224
+ * @param {__esri.MapView | __esri.SceneView | undefined} props.view The map or scene view
225
+ * @param {string} props.portalItemId The portal item id of the layer
226
+ *
227
+ * @returns {FeatureLayerView | SupportedLayer | undefined} The matching layer in the view or undefined if not found
228
+ *
229
+ * @requires
230
+ * - view
231
+ * - portalItemId
232
+ *
233
+ * ```
234
+ *
235
+ * @example
236
+ * ```ts
237
+ * const matchingLayer = findMatchingLayerFromView({ view, portalItemId: 'abc123' });
238
+ * ```
239
+ *
240
+ * @category Public
241
+ */
242
+ export declare function findMatchingLayerFromView(props: {
243
+ view?: __esri.MapView | __esri.SceneView;
244
+ portalItemId: string;
245
+ }): FeatureLayerView | SupportedLayer | undefined;
203
246
  export declare const layerPrivateFunctions: {
204
247
  getServerRestInfo: typeof getServerRestInfo;
205
248
  getSubtypeName: typeof getSubtypeName;
@@ -6,6 +6,7 @@ export interface QueryObjectProps {
6
6
  chartConfig: WebChart;
7
7
  layer?: FeatureLayerView | SupportedLayer;
8
8
  view?: MapView | SceneView;
9
+ filterByExtent?: boolean;
9
10
  }
10
11
  export interface RendererInfo {
11
12
  rendererType?: RESTRendererType;