@arcgis/charts-components 5.2.0-next.9 → 5.2.0-next.91

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 (482) hide show
  1. package/LICENSE.md +4 -2
  2. package/README.md +2 -2
  3. package/dist/cdn/{YJ6TRXMU.js → 24MSASQQ.js} +1 -1
  4. package/dist/cdn/2B4DKL3R.js +2 -0
  5. package/dist/cdn/{4USHOYLT.js → 2BE3GYK4.js} +1 -1
  6. package/dist/cdn/{VY3KBD6N.js → 2YDNWOWT.js} +1 -1
  7. package/dist/cdn/3HG6OEAW.js +2 -0
  8. package/dist/cdn/3K7H52Y5.js +2 -0
  9. package/dist/cdn/{Y7HBWU3M.js → 3ZKNY2GI.js} +1 -1
  10. package/dist/cdn/{IYA7HQMS.js → 3ZNZH5XV.js} +1 -1
  11. package/dist/cdn/44ICH2UX.js +2 -0
  12. package/dist/cdn/4A42J7HF.js +2 -0
  13. package/dist/cdn/{CHLE2QGU.js → 4DXGXATO.js} +1 -1
  14. package/dist/cdn/{3TZEMBXR.js → 4EWMZYXM.js} +1 -1
  15. package/dist/cdn/{TFPQDMER.js → 4JBUJYUG.js} +1 -1
  16. package/dist/cdn/4JMHK7HK.js +2 -0
  17. package/dist/cdn/{WASEMNYV.js → 4JWNKQ22.js} +1 -1
  18. package/dist/cdn/4O4L6CM3.js +2 -0
  19. package/dist/cdn/4QQRIMTI.js +2 -0
  20. package/dist/cdn/4VW736DF.js +2 -0
  21. package/dist/cdn/54LUEUIT.js +2 -0
  22. package/dist/cdn/57PMXO2G.js +2 -0
  23. package/dist/cdn/{H2A5GZ55.js → 5D2QRMC6.js} +1 -1
  24. package/dist/cdn/{XY4TRZCG.js → 5JV6PU34.js} +1 -1
  25. package/dist/cdn/{LUSFGRHV.js → 5WIR3JWC.js} +1 -1
  26. package/dist/cdn/5YBMIR4F.js +2 -0
  27. package/dist/cdn/62EUOXR7.js +45 -0
  28. package/dist/cdn/62GSQDTE.js +2 -0
  29. package/dist/cdn/{VT4WJZN6.js → 64B7ILJI.js} +1 -1
  30. package/dist/cdn/65HVRSR6.js +2 -0
  31. package/dist/cdn/6K6Z6CQE.js +2 -0
  32. package/dist/cdn/{7LYAWWOE.js → 6WKTHJQK.js} +1 -1
  33. package/dist/cdn/73DFT5MR.js +2 -0
  34. package/dist/cdn/{II2ZPEUZ.js → 7C2LVFNV.js} +1 -1
  35. package/dist/cdn/{4Z23HWDH.js → 7COM5REK.js} +1 -1
  36. package/dist/cdn/7HANUCEA.js +2 -0
  37. package/dist/cdn/{OJ5X6I3H.js → ADI63OO7.js} +1 -1
  38. package/dist/cdn/{5SIAOUPO.js → AI2WUG3K.js} +1 -1
  39. package/dist/cdn/{XYKXBWIT.js → AKEVK6VK.js} +1 -1
  40. package/dist/cdn/{TXB2I2U5.js → B2SUC7VR.js} +1 -1
  41. package/dist/cdn/{AASL4RKT.js → B4HOQOHS.js} +1 -1
  42. package/dist/cdn/{TACQVUBU.js → BDEDEGCZ.js} +1 -1
  43. package/dist/cdn/{MK5ZYSOD.js → BG4CYK7C.js} +1 -1
  44. package/dist/cdn/BHJHX65O.js +2 -0
  45. package/dist/cdn/{CNFBNAPJ.js → BK7DHYA7.js} +1 -1
  46. package/dist/cdn/BYSUABOV.js +2 -0
  47. package/dist/cdn/BZEYWH2F.js +2 -0
  48. package/dist/cdn/BZIGQJAH.js +2 -0
  49. package/dist/cdn/{S3ZSZXYG.js → C6UUBWI2.js} +1 -1
  50. package/dist/cdn/CDWFPVYG.js +2 -0
  51. package/dist/cdn/{FWAXKDYV.js → CHHARRJP.js} +1 -1
  52. package/dist/cdn/{2GJX5OO6.js → CKRZTUGB.js} +1 -1
  53. package/dist/cdn/COSE26XR.js +2 -0
  54. package/dist/cdn/CPDE3ZSY.js +2 -0
  55. package/dist/cdn/{ZFJFTDJF.js → CYGMXV56.js} +1 -1
  56. package/dist/cdn/{FOYOG3G7.js → D3ZXHZRV.js} +1 -1
  57. package/dist/cdn/D5O2M65G.js +2 -0
  58. package/dist/cdn/D7LBGWWL.js +2 -0
  59. package/dist/cdn/{ULWJ57VT.js → DF2SKHUD.js} +1 -1
  60. package/dist/cdn/DLCJMSYG.js +2 -0
  61. package/dist/cdn/DOE5S7EP.js +2 -0
  62. package/dist/cdn/{WAINRCCJ.js → E45CPXW6.js} +1 -1
  63. package/dist/cdn/EFXNPF4V.js +2 -0
  64. package/dist/cdn/ELNZ7PTF.js +2 -0
  65. package/dist/cdn/{J5NHXQLA.js → EQZBQP5A.js} +1 -1
  66. package/dist/cdn/{N5ZUO6F3.js → ESBQKSZF.js} +1 -1
  67. package/dist/cdn/F66W272X.js +2 -0
  68. package/dist/cdn/F6VXAPTT.js +2 -0
  69. package/dist/cdn/{3JYZJUOM.js → FPM6WDQ4.js} +1 -1
  70. package/dist/cdn/{SSQ3VCZ2.js → FXBSBXWY.js} +1 -1
  71. package/dist/cdn/{H3EXGCE7.js → G7W2RL4I.js} +1 -1
  72. package/dist/cdn/GK6IJBRW.js +2 -0
  73. package/dist/cdn/GUMN6KPP.js +2 -0
  74. package/dist/cdn/{73BVFUAA.js → GUWBPR2H.js} +1 -1
  75. package/dist/cdn/GVJF3VFV.js +2 -0
  76. package/dist/cdn/{CHQDKVVQ.js → H2NVXIPH.js} +2 -2
  77. package/dist/cdn/H4R2P2BO.js +2 -0
  78. package/dist/cdn/HIVJRWLF.js +2 -0
  79. package/dist/cdn/{UYXCGSXU.js → HPNWQANQ.js} +1 -1
  80. package/dist/cdn/{UT4TYXFO.js → HSIYQNVK.js} +1 -1
  81. package/dist/cdn/{ANN3O54W.js → HVWOLFLT.js} +1 -1
  82. package/dist/cdn/HZEGDF6W.js +2 -0
  83. package/dist/cdn/{AZOBLYAP.js → I2BM5KSH.js} +1 -1
  84. package/dist/cdn/{7QXRWMUN.js → IBLGAXGT.js} +1 -1
  85. package/dist/cdn/{LROW4Y6O.js → IC7XUYKD.js} +1 -1
  86. package/dist/cdn/{JQKRGUBU.js → IDAOLPMA.js} +1 -1
  87. package/dist/cdn/IGE2Z7GO.js +2 -0
  88. package/dist/cdn/IHDWXIBS.js +3 -0
  89. package/dist/cdn/IIV6X3KV.js +2 -0
  90. package/dist/cdn/{RSNZMJ6I.js → IUZFB3JE.js} +1 -1
  91. package/dist/cdn/JSPNXGH3.js +2 -0
  92. package/dist/cdn/JXAPOWHG.js +2 -0
  93. package/dist/cdn/{RCK5VONL.js → KAUOH4F3.js} +1 -1
  94. package/dist/cdn/KHC2DMSU.js +2 -0
  95. package/dist/cdn/{PRFJNHPS.js → KHWZ54IX.js} +1 -1
  96. package/dist/cdn/{N4L5KE23.js → KIIS7OLN.js} +1 -1
  97. package/dist/cdn/KJAMXKR3.js +2 -0
  98. package/dist/cdn/{D3CFPMAR.js → KOY5DWSR.js} +1 -1
  99. package/dist/cdn/KPEBWOLJ.js +2 -0
  100. package/dist/cdn/KQUI4CT6.js +2 -0
  101. package/dist/cdn/KVWM73YN.js +2 -0
  102. package/dist/cdn/KYCNUCTQ.js +2 -0
  103. package/dist/cdn/KZ4SCRQT.js +2 -0
  104. package/dist/cdn/KZSCAJDG.js +2 -0
  105. package/dist/cdn/L5JZ5COY.js +2 -0
  106. package/dist/cdn/L6IM34J7.js +2 -0
  107. package/dist/cdn/{AY6IOQ3H.js → LAEUROZM.js} +1 -1
  108. package/dist/cdn/LCJVASMQ.js +2 -0
  109. package/dist/cdn/{QR2OOC4D.js → LCRLYOX6.js} +1 -1
  110. package/dist/cdn/LJJPOUVA.js +2 -0
  111. package/dist/cdn/LKC6J4IQ.js +2 -0
  112. package/dist/cdn/LU7UO6PR.js +2 -0
  113. package/dist/cdn/LZ3ZRY2F.js +2 -0
  114. package/dist/cdn/{YKDW7ZW3.js → MCWIIGOW.js} +1 -1
  115. package/dist/cdn/MF2ZBHWI.js +2 -0
  116. package/dist/cdn/MTFWTSTG.js +2 -0
  117. package/dist/cdn/{BDGHBTPU.js → MW6VSJEF.js} +1 -1
  118. package/dist/cdn/{JRN2TZSV.js → N4XXKTCN.js} +1 -1
  119. package/dist/cdn/NGGJIQHT.js +2 -0
  120. package/dist/cdn/{XG2KN6YJ.js → NKPZCF5U.js} +1 -1
  121. package/dist/cdn/{VE3GFNNM.js → NRXCKYYY.js} +1 -1
  122. package/dist/cdn/{4C6KWLWN.js → NWLNHFHJ.js} +1 -1
  123. package/dist/cdn/NYR4K242.js +2 -0
  124. package/dist/cdn/OCT2KA4Q.js +2 -0
  125. package/dist/cdn/{NAXNRCMZ.js → OD2NWPCL.js} +1 -1
  126. package/dist/cdn/{4ZIZEJXS.js → OISERMTF.js} +1 -1
  127. package/dist/cdn/{ETOGNYFU.js → OKAZOAYZ.js} +1 -1
  128. package/dist/cdn/OPMACXLA.js +2 -0
  129. package/dist/cdn/{VRZ2SY6M.js → OQFM5DBD.js} +1 -1
  130. package/dist/cdn/OQQIDPDH.js +2 -0
  131. package/dist/cdn/{C5K6XOCR.js → P37JASN4.js} +1 -1
  132. package/dist/cdn/{KDJ5RVHA.js → P3AYFJRV.js} +1 -1
  133. package/dist/cdn/{244ZX2UP.js → P5I5RQTN.js} +1 -1
  134. package/dist/cdn/{BJ7Q7LCT.js → PIZPF2BH.js} +1 -1
  135. package/dist/cdn/{4OH4NSIW.js → PSQDO4QK.js} +1 -1
  136. package/dist/cdn/PWJBGZPW.js +2 -0
  137. package/dist/cdn/{2OHFSVV5.js → PWSEK3XV.js} +1 -1
  138. package/dist/cdn/QBBUOEKF.js +4 -0
  139. package/dist/cdn/QFXCVZYG.js +2 -0
  140. package/dist/cdn/QIBUTVUN.js +2 -0
  141. package/dist/cdn/{7UQHB6KY.js → QIG5H6WA.js} +1 -1
  142. package/dist/cdn/{XMPLEHTW.js → QKZK6MTN.js} +1 -1
  143. package/dist/cdn/{X2LW7GTR.js → QOQ5QNZV.js} +1 -1
  144. package/dist/cdn/QVLDIB2N.js +2 -0
  145. package/dist/cdn/QYRHZJH3.js +2 -0
  146. package/dist/cdn/RAJO727X.js +2 -0
  147. package/dist/cdn/RCAJJ24P.js +2 -0
  148. package/dist/cdn/RPUEIRTH.js +2 -0
  149. package/dist/cdn/SBJGOYJL.js +2 -0
  150. package/dist/cdn/SBZKGQBV.js +2 -0
  151. package/dist/cdn/SJBJ2N5C.js +104 -0
  152. package/dist/cdn/{OXYJKZEP.js → SLQPIX6X.js} +1 -1
  153. package/dist/cdn/SMTDJE55.js +2 -0
  154. package/dist/cdn/SOR4DYKA.js +2 -0
  155. package/dist/cdn/SQHEWY2J.js +2 -0
  156. package/dist/cdn/{DNTLH5RT.js → SSOL6PCL.js} +1 -1
  157. package/dist/cdn/SZNZAD56.js +2 -0
  158. package/dist/cdn/{ZBIVDGNH.js → SZXVQMQV.js} +1 -1
  159. package/dist/cdn/{ZYOWZCR7.js → TB7JE5XK.js} +1 -1
  160. package/dist/cdn/{AK7X7SGI.js → TENIFMA5.js} +1 -1
  161. package/dist/cdn/{WMPWOPRZ.js → TRAVRA3M.js} +1 -1
  162. package/dist/cdn/{VDKFC44J.js → TVKP2GAI.js} +1 -1
  163. package/dist/cdn/{P5AO3V3M.js → UD724V36.js} +1 -1
  164. package/dist/cdn/ULF3LG3W.js +2 -0
  165. package/dist/cdn/{DSIFL2DF.js → UQSD6YZM.js} +1 -1
  166. package/dist/cdn/{Q7J7EKQW.js → UUVJGPFG.js} +1 -1
  167. package/dist/cdn/UZHQF5CV.js +2 -0
  168. package/dist/cdn/VBDLVCPP.js +2 -0
  169. package/dist/cdn/VCBFPEET.js +2 -0
  170. package/dist/cdn/{ZQDADGLQ.js → VLCUXTLC.js} +1 -1
  171. package/dist/cdn/{I6UPUSLQ.js → VQLXOQMY.js} +1 -1
  172. package/dist/cdn/VQU2TVX7.js +3 -0
  173. package/dist/cdn/VVOQ4Q2X.js +2 -0
  174. package/dist/cdn/{Y6ZCTPJW.js → WJY4AWHX.js} +1 -1
  175. package/dist/cdn/{L47EGLUH.js → WNDLNCF7.js} +1 -1
  176. package/dist/cdn/WOGALV3T.js +2 -0
  177. package/dist/cdn/{ZAHVBXAQ.js → WPLJ5BXE.js} +1 -1
  178. package/dist/cdn/WTABMFFY.js +2 -0
  179. package/dist/cdn/{6B7JCDQC.js → WTF2PFHV.js} +1 -1
  180. package/dist/cdn/XW5I2M45.js +2 -0
  181. package/dist/cdn/XYJJ2PIL.js +2 -0
  182. package/dist/cdn/{BXYNEUQY.js → YCQLYXH4.js} +1 -1
  183. package/dist/cdn/{SERX6V5M.js → YNED6356.js} +1 -1
  184. package/dist/cdn/YOUTTWJN.js +2 -0
  185. package/dist/cdn/YQL5A2WS.js +2 -0
  186. package/dist/cdn/YX7WAUQZ.js +2 -0
  187. package/dist/cdn/{XDMGH7YU.js → YZCWFNPW.js} +1 -1
  188. package/dist/cdn/{2XXW3WF3.js → ZEQF2W7Y.js} +1 -1
  189. package/dist/cdn/ZFHU5I2O.js +2 -0
  190. package/dist/cdn/{5ZGALYWZ.js → ZLCRTIQH.js} +1 -1
  191. package/dist/cdn/{GQ3TDTO5.js → ZO4GRLG6.js} +1 -1
  192. package/dist/cdn/{OFWEHJDH.js → ZYK4DWCN.js} +1 -1
  193. package/dist/cdn/{TYUVXRBO.js → ZZHKDFTA.js} +1 -1
  194. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.en.json +1 -1
  195. package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
  196. package/dist/cdn/index.js +1 -1
  197. package/dist/cdn/main.css +1 -1
  198. package/dist/cdn/model/shared/setup-utils.js +1 -1
  199. package/dist/chart-rendering/common/interfaces.d.ts +46 -20
  200. package/dist/chunks/{type-guards3.js → action-bar-utils.js} +37 -45
  201. package/dist/chunks/axis-lines-symbol.js +7 -7
  202. package/dist/chunks/bar-chart-model.js +46 -38
  203. package/dist/chunks/box-plot-data.js +291 -274
  204. package/dist/chunks/box-plot-model.js +143 -130
  205. package/dist/chunks/chart-model.js +194 -153
  206. package/dist/chunks/chart-object-literals.js +26 -25
  207. package/dist/chunks/chart-ui-utils.js +148 -66
  208. package/dist/chunks/chart-ui-utils2.js +68 -149
  209. package/dist/chunks/class-breaks.js +30 -30
  210. package/dist/chunks/combo-bar-line-chart-model.js +122 -101
  211. package/dist/chunks/data-labels-symbol.js +39 -24
  212. package/dist/chunks/data-labels-visibility.js +8 -8
  213. package/dist/chunks/data.js +68 -68
  214. package/dist/chunks/default.js +6 -6
  215. package/dist/chunks/gauge-model.js +61 -61
  216. package/dist/chunks/generate-x-axis-title.js +15 -15
  217. package/dist/chunks/heat-chart-model.js +95 -66
  218. package/dist/chunks/histogram-data.js +23 -23
  219. package/dist/chunks/histogram-model.js +9 -9
  220. package/dist/chunks/index.js +9401 -1079
  221. package/dist/chunks/index2.js +851 -8751
  222. package/dist/chunks/index3.js +1169 -847
  223. package/dist/chunks/index4.js +467 -250
  224. package/dist/chunks/index5.js +63 -100
  225. package/dist/chunks/interfaces.js +9 -9
  226. package/dist/chunks/line-chart-model.js +40 -24
  227. package/dist/chunks/model-setter.js +59 -64
  228. package/dist/chunks/model-types.js +1 -1
  229. package/dist/chunks/model-with-line-marker-styling.js +72 -47
  230. package/dist/chunks/model-with-y-guides.js +52 -67
  231. package/dist/chunks/negative-values-stacked-to-baseline.js +122 -71
  232. package/dist/chunks/pie-chart-data.js +175 -193
  233. package/dist/chunks/pie-chart-model.js +388 -320
  234. package/dist/chunks/radar-chart-model.js +413 -46
  235. package/dist/chunks/resource.js +1 -1
  236. package/dist/chunks/rest-js-object-literals.js +10 -10
  237. package/dist/chunks/rotated-state.js +1 -1
  238. package/dist/chunks/rounded-corners.js +90 -0
  239. package/dist/chunks/scatterplot-model.js +12 -12
  240. package/dist/chunks/serial-chart-data.js +869 -746
  241. package/dist/chunks/serial-chart-model.js +145 -123
  242. package/dist/chunks/series-length.js +17 -17
  243. package/dist/chunks/series-types.js +22 -18
  244. package/dist/chunks/series.js +1 -1
  245. package/dist/chunks/type-guards.js +49 -23
  246. package/dist/chunks/type-guards2.js +61 -52
  247. package/dist/chunks/utils.js +101 -91
  248. package/dist/chunks/utils2.js +9 -9
  249. package/dist/chunks/web-component-utils.js +591 -540
  250. package/dist/chunks/x-bounds.js +98 -97
  251. package/dist/components/arcgis-chart/customElement.d.ts +611 -234
  252. package/dist/components/arcgis-chart/customElement.js +10433 -10078
  253. package/dist/components/arcgis-charts-action-bar/customElement.d.ts +8 -0
  254. package/dist/components/arcgis-charts-action-bar/customElement.js +34 -31
  255. package/dist/components/arcgis-charts-config-axis/customElement.js +70 -64
  256. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +39 -33
  257. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +29 -29
  258. package/dist/components/arcgis-charts-config-bar-chart-data/index.js +1 -1
  259. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +35 -37
  260. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +44 -43
  261. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +13 -15
  262. package/dist/components/arcgis-charts-config-box-plot/customElement.js +31 -39
  263. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +16 -16
  264. package/dist/components/arcgis-charts-config-box-plot-data/index.js +1 -1
  265. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +26 -28
  266. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +4 -4
  267. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +14 -17
  268. package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
  269. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +18 -20
  270. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  271. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  272. package/dist/components/arcgis-charts-config-create-flow/customElement.js +243 -229
  273. package/dist/components/arcgis-charts-config-field-picker/customElement.js +30 -0
  274. package/dist/components/arcgis-charts-config-font-style/customElement.js +4 -4
  275. package/dist/components/arcgis-charts-config-format/customElement.js +94 -87
  276. package/dist/components/arcgis-charts-config-format-popover/customElement.js +8 -11
  277. package/dist/components/arcgis-charts-config-general/customElement.js +3 -3
  278. package/dist/components/arcgis-charts-config-guide/customElement.js +23 -24
  279. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +10 -13
  280. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  281. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +12 -13
  282. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +65 -77
  283. package/dist/components/arcgis-charts-config-heat-chart-data/index.js +1 -1
  284. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +57 -58
  285. package/dist/components/arcgis-charts-config-histogram/customElement.js +27 -23
  286. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +28 -28
  287. package/dist/components/arcgis-charts-config-histogram-data/index.js +1 -1
  288. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +35 -36
  289. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
  290. package/dist/components/arcgis-charts-config-line-chart/customElement.js +5 -6
  291. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +19 -19
  292. package/dist/components/arcgis-charts-config-line-chart-data/index.js +1 -1
  293. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +42 -44
  294. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +8 -8
  295. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +7 -8
  296. package/dist/components/arcgis-charts-config-line-style/customElement.js +2 -2
  297. package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
  298. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +5 -6
  299. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +41 -48
  300. package/dist/components/arcgis-charts-config-pie-chart-data/index.js +1 -1
  301. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +56 -57
  302. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +66 -67
  303. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +7 -10
  304. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +27 -23
  305. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +15 -15
  306. package/dist/components/arcgis-charts-config-scatter-plot-data/index.js +1 -1
  307. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +18 -19
  308. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +9 -11
  309. package/dist/components/arcgis-charts-config-view-charts/customElement.js +57 -26
  310. package/dist/components/arcgis-charts-info-modal/customElement.js +7 -7
  311. package/dist/docs/api.json +1 -1
  312. package/dist/docs/docs.json +1 -1
  313. package/dist/docs/vscode.html-custom-data.json +1 -1
  314. package/dist/docs/web-types.json +1 -1
  315. package/dist/index.d.ts +1 -1
  316. package/dist/index.js +488 -466
  317. package/dist/interfaces.d.ts +57 -14
  318. package/dist/json-schema/index.d.ts +211 -6
  319. package/dist/loader.js +2 -2
  320. package/dist/model/bar-chart-model/bar-chart-model.d.ts +6 -4
  321. package/dist/model/box-plot-model/box-plot-model.d.ts +11 -5
  322. package/dist/model/chart-model/chart-model-base.d.ts +10 -0
  323. package/dist/model/chart-model/chart-model-wrapper.d.ts +24 -0
  324. package/dist/model/chart-model/chart-model.d.ts +2 -1
  325. package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +33 -21
  326. package/dist/model/heat-chart-model/heat-chart-model.d.ts +41 -8
  327. package/dist/model/interfaces/chart-interfaces.d.ts +2 -2
  328. package/dist/model/interfaces/common.d.ts +0 -2
  329. package/dist/model/mixins/model-with-guides.d.ts +1 -1
  330. package/dist/model/mixins/model-with-line-marker-styling.d.ts +28 -19
  331. package/dist/model/mixins/model-with-multi-axes.d.ts +62 -99
  332. package/dist/model/pie-chart-model/pie-chart-legend-model.d.ts +7 -55
  333. package/dist/model/pie-chart-model/pie-chart-model.d.ts +61 -2
  334. package/dist/model/properties/data-labels/data-labels-symbol.d.ts +26 -0
  335. package/dist/model/properties/data-tooltip-font-size.d.ts +20 -0
  336. package/dist/model/properties/rounded-corners.d.ts +18 -0
  337. package/dist/model/radar-chart-model/radar-chart-model.d.ts +190 -0
  338. package/dist/model/serial-chart-model/serial-chart-model.d.ts +27 -1
  339. package/dist/model/shared/setup-utils.d.ts +3 -3
  340. package/dist/model/shared/type-guards.d.ts +38 -22
  341. package/dist/spec/chart-object-literals.d.ts +1 -0
  342. package/dist/spec/data-source.d.ts +17 -3
  343. package/dist/spec/rest-js-types.d.ts +22 -8
  344. package/dist/spec/web-chart.d.ts +42 -6
  345. package/dist/types/lumina.d.ts +1 -1
  346. package/dist/types/preact.d.ts +1 -1
  347. package/dist/types/react.d.ts +1 -1
  348. package/dist/types/stencil.d.ts +3 -3
  349. package/dist/utils/chart-config/converter/index.js +210 -191
  350. package/dist/utils/chart-config/utils/index.d.ts +30 -9
  351. package/dist/utils/chart-config/validator/index.d.ts +2 -0
  352. package/dist/utils/chart-config/validator/interfaces.d.ts +4 -3
  353. package/dist/utils/components/interfaces.d.ts +2 -0
  354. package/dist/utils/cursor/interfaces.d.ts +21 -0
  355. package/dist/utils/data/categorical-data/index.d.ts +1 -1
  356. package/dist/utils/data/index.d.ts +28 -22
  357. package/dist/utils/data/interfaces.d.ts +4 -3
  358. package/dist/utils/defaults/index.d.ts +31 -5
  359. package/dist/utils/defaults/interfaces.d.ts +73 -4
  360. package/dist/utils/errors/index.d.ts +1 -1
  361. package/dist/utils/layer/index.d.ts +26 -8
  362. package/dist/utils/layer/inline-conversion/index.d.ts +0 -3
  363. package/dist/utils/layer/inline-conversion/interfaces.d.ts +0 -2
  364. package/dist/utils/layer/interfaces.d.ts +0 -12
  365. package/dist/utils/layer/query-features/index.d.ts +8 -3
  366. package/dist/utils/layer/query-parser/index.d.ts +13 -9
  367. package/dist/utils/layer/utils/index.d.ts +22 -5
  368. package/dist/utils/localization/interfaces.d.ts +9 -1
  369. package/dist/utils/misc/index.d.ts +2 -3
  370. package/dist/utils/misc/interfaces.d.ts +1 -0
  371. package/dist/utils/type-guards/chart-types.d.ts +10 -0
  372. package/dist/utils/type-guards/series-types.d.ts +9 -2
  373. package/dist/utils/types/index.d.ts +1 -5
  374. package/package.json +8 -9
  375. package/dist/cdn/2B4S6PH2.js +0 -2
  376. package/dist/cdn/3EIVHDDK.js +0 -2
  377. package/dist/cdn/3X5JIVJJ.js +0 -3
  378. package/dist/cdn/44GWFKSR.js +0 -2
  379. package/dist/cdn/4LLOMGO7.js +0 -2
  380. package/dist/cdn/4P7S3KIY.js +0 -2
  381. package/dist/cdn/547RDEMV.js +0 -2
  382. package/dist/cdn/55UVN4AF.js +0 -4
  383. package/dist/cdn/5F54SB3S.js +0 -2
  384. package/dist/cdn/667DYS3D.js +0 -2
  385. package/dist/cdn/7DD3FFI5.js +0 -2
  386. package/dist/cdn/7LXWQH6J.js +0 -2
  387. package/dist/cdn/7TRRNFTL.js +0 -2
  388. package/dist/cdn/7XLZ42N6.js +0 -2
  389. package/dist/cdn/A5GIBV5W.js +0 -2
  390. package/dist/cdn/ADGMA3ST.js +0 -3
  391. package/dist/cdn/BBURKBKE.js +0 -2
  392. package/dist/cdn/BSP7U5YN.js +0 -58
  393. package/dist/cdn/CAGJKKOW.js +0 -2
  394. package/dist/cdn/CG6PLENK.js +0 -2
  395. package/dist/cdn/CKRMYU2S.js +0 -2
  396. package/dist/cdn/CQTLTJ52.js +0 -2
  397. package/dist/cdn/CY7GY33F.js +0 -2
  398. package/dist/cdn/CZ5XRXCE.js +0 -2
  399. package/dist/cdn/D57ESYPO.js +0 -2
  400. package/dist/cdn/DJACBOFO.js +0 -2
  401. package/dist/cdn/DKXRIXFG.js +0 -2
  402. package/dist/cdn/EDSF5KGV.js +0 -233
  403. package/dist/cdn/EPUNY3VI.js +0 -2
  404. package/dist/cdn/EZD3FBJU.js +0 -2
  405. package/dist/cdn/EZV7JSQJ.js +0 -2
  406. package/dist/cdn/FATECLIQ.js +0 -2
  407. package/dist/cdn/FFS73X36.js +0 -142
  408. package/dist/cdn/FGNRWY57.js +0 -2
  409. package/dist/cdn/FJ4UGRMY.js +0 -2
  410. package/dist/cdn/G7YZE67F.js +0 -2
  411. package/dist/cdn/GGHRYV36.js +0 -2
  412. package/dist/cdn/GOP2GNGE.js +0 -2
  413. package/dist/cdn/H2DP7HXE.js +0 -2
  414. package/dist/cdn/H42V247N.js +0 -2
  415. package/dist/cdn/H7TZ42RW.js +0 -2
  416. package/dist/cdn/HZR4NSZV.js +0 -2
  417. package/dist/cdn/I5B6REVT.js +0 -2
  418. package/dist/cdn/IXKYQBM7.js +0 -2
  419. package/dist/cdn/J7XXIAQJ.js +0 -2
  420. package/dist/cdn/JNNB2DIA.js +0 -2
  421. package/dist/cdn/JRUIUNQA.js +0 -2
  422. package/dist/cdn/KI2YCXW6.js +0 -2
  423. package/dist/cdn/KPPNRDOP.js +0 -2
  424. package/dist/cdn/LB6EF2UN.js +0 -2
  425. package/dist/cdn/M7QVV7WC.js +0 -2
  426. package/dist/cdn/MICVGPGC.js +0 -2
  427. package/dist/cdn/MRTKZZTF.js +0 -2
  428. package/dist/cdn/MZHOWTY3.js +0 -2
  429. package/dist/cdn/NALKWY43.js +0 -2
  430. package/dist/cdn/NZR4L5AA.js +0 -2
  431. package/dist/cdn/OCE4FAJ4.js +0 -2
  432. package/dist/cdn/P4HSSZRL.js +0 -2
  433. package/dist/cdn/PAIRUVLU.js +0 -2
  434. package/dist/cdn/PQHVQQSI.js +0 -2
  435. package/dist/cdn/QJC3FDWG.js +0 -2
  436. package/dist/cdn/QNUCPXBU.js +0 -2
  437. package/dist/cdn/QW5KML7L.js +0 -2
  438. package/dist/cdn/QXUR76TF.js +0 -2
  439. package/dist/cdn/RJW2DOIR.js +0 -102
  440. package/dist/cdn/RR63Q3C2.js +0 -2
  441. package/dist/cdn/RRC5ESYH.js +0 -2
  442. package/dist/cdn/SS42OW45.js +0 -2
  443. package/dist/cdn/STM26XZG.js +0 -2
  444. package/dist/cdn/THTYR6IL.js +0 -2
  445. package/dist/cdn/TX43YOVC.js +0 -2
  446. package/dist/cdn/TYAN5HWQ.js +0 -2
  447. package/dist/cdn/U67P6YAZ.js +0 -2
  448. package/dist/cdn/UAGGYOZB.js +0 -2
  449. package/dist/cdn/UDKG7LGN.js +0 -2
  450. package/dist/cdn/UHQGJR3U.js +0 -2
  451. package/dist/cdn/UYOCWLLG.js +0 -2
  452. package/dist/cdn/UYTPOUP7.js +0 -2
  453. package/dist/cdn/VKYQGU2R.js +0 -2
  454. package/dist/cdn/VOSE67U2.js +0 -2
  455. package/dist/cdn/VOTZAPI3.js +0 -2
  456. package/dist/cdn/W3OA4MKU.js +0 -2
  457. package/dist/cdn/W6KE6F3T.js +0 -2
  458. package/dist/cdn/W7X6L2OB.js +0 -127
  459. package/dist/cdn/WCJ5W5TE.js +0 -2
  460. package/dist/cdn/WHYRYWPW.js +0 -2
  461. package/dist/cdn/WNKDEOFZ.js +0 -2
  462. package/dist/cdn/WOJQ6BTB.js +0 -2
  463. package/dist/cdn/WPPMMVD5.js +0 -2
  464. package/dist/cdn/XJFVSX2E.js +0 -2
  465. package/dist/cdn/XP6RGZ2N.js +0 -2
  466. package/dist/cdn/XRUOXTHH.js +0 -2
  467. package/dist/cdn/XTNDUDWE.js +0 -2
  468. package/dist/cdn/XUERYUEG.js +0 -2
  469. package/dist/cdn/Y3CXVO2M.js +0 -2
  470. package/dist/cdn/YAR2TF55.js +0 -2
  471. package/dist/cdn/YEZL5KRS.js +0 -2
  472. package/dist/cdn/YRFSWIDQ.js +0 -2
  473. package/dist/cdn/YYK7SPXC.js +0 -2
  474. package/dist/cdn/ZG7SUAGR.js +0 -2
  475. package/dist/cdn/ZTX2ULE6.js +0 -2
  476. package/dist/cdn/ZY44M3QZ.js +0 -2
  477. package/dist/chunks/bar-chart-series.js +0 -15
  478. package/dist/chunks/index6.js +0 -66
  479. package/dist/chunks/time-zone.js +0 -38
  480. package/dist/components/arcgis-charts-config-field-select/customElement.js +0 -30
  481. /package/dist/cdn/{IVLVCLDE.js → 7NWEE7T2.js} +0 -0
  482. /package/dist/components/{arcgis-charts-config-field-select → arcgis-charts-config-field-picker}/index.js +0 -0
@@ -1,18 +1,18 @@
1
- import type Extent from "@arcgis/core/geometry/Extent.js";
2
1
  import type FeatureLayer from "@arcgis/core/layers/FeatureLayer.js";
3
2
  import type ImageryLayer from "@arcgis/core/layers/ImageryLayer.js";
4
3
  import type ImageryTileLayer from "@arcgis/core/layers/ImageryTileLayer.js";
5
4
  import type Layer from "@arcgis/core/layers/Layer.js";
6
- import type WCSLayer from "@arcgis/core/layers/WCSLayer.js";
7
5
  import type CodedValueDomain from "@arcgis/core/layers/support/CodedValueDomain.js";
6
+ import type WCSLayer from "@arcgis/core/layers/WCSLayer.js";
8
7
  import type Renderer from "@arcgis/core/renderers/Renderer.js";
9
8
  import type FeatureLayerView from "@arcgis/core/views/layers/FeatureLayerView.js";
10
9
  import type MapView from "@arcgis/core/views/MapView.js";
11
10
  import type SceneView from "@arcgis/core/views/SceneView.js";
11
+ import type { ChartOptions } from "../../chart-rendering/common/interfaces.js";
12
12
  import type { SupportedLayer, SupportedRasterLayer } from "../../interfaces.js";
13
13
  import type { IFeatureLayer, IField, IImageServiceLayer, ITiledImageServiceLayer, IWCSLayer } from "../../spec/rest-js-types.js";
14
14
  import type { WebChart, WebChartDataFilters, WebChartQuery } from "../../spec/web-chart.js";
15
- import type { QueryObject, QueryObjectOrRaster, QueryObjectProps, RendererInfo } from "./interfaces.js";
15
+ import type { QueryObject, QueryObjectOrRaster, RendererInfo } from "./interfaces.js";
16
16
 
17
17
  /**
18
18
  * Returns the renderer type and the field and normalization field if applicable.
@@ -22,6 +22,16 @@ import type { QueryObject, QueryObjectOrRaster, QueryObjectProps, RendererInfo }
22
22
  */
23
23
  export function getRendererInfo(layerRenderer?: Renderer): RendererInfo;
24
24
 
25
+ /**
26
+ * Function creating a FeatureLayer from a set of parameters.
27
+ * It returns the created Feature Layer.
28
+ * It is memoized (cached) to avoid multiple creations for a same feature layer.
29
+ *
30
+ * @param featureLayer
31
+ * @internal
32
+ */
33
+ export function getFeatureLayerUnloaded(featureLayer: IFeatureLayer): FeatureLayer;
34
+
25
35
  /**
26
36
  * Function creating a FeatureLayer from a set of parameters.
27
37
  * It returns the created Feature Layer.
@@ -58,13 +68,18 @@ export function getLayer(iLayer: IFeatureLayer | IImageServiceLayer | ITiledImag
58
68
  export function getLayer(iLayer: IFeatureLayer | IImageServiceLayer | ITiledImageServiceLayer | IWCSLayer, abortSignal?: AbortSignal): Promise<FeatureLayer | ImageryLayer | ImageryTileLayer | WCSLayer>;
59
69
 
60
70
  /**
61
- * Returns the proper query object to use according to the situation.
62
- * It can return either a FeatureLayer, an ImageryLayer, an ImageryTileLayer, a WCSLayer, or a FeatureLayerView (and possibly nothing).
71
+ * Returns the layer object for the given layer or ILayer synchronously (without loading it).
72
+ * It can return either a FeatureLayer, an ImageryLayer, an ImageryTileLayer, or a WCSLayer (and possibly nothing).
63
73
  *
64
74
  * @param props
65
75
  * @internal
66
76
  */
67
- export function getQueryObject(props: QueryObjectProps): Promise<QueryObjectOrRaster | undefined>;
77
+ export function getQueryObjectUnloaded(props: {
78
+ layerOrLayerView?: QueryObjectOrRaster;
79
+ iLayer?: WebChart["iLayer"];
80
+ view?: MapView | SceneView;
81
+ layerItemId?: string;
82
+ }): QueryObjectOrRaster | undefined;
68
83
 
69
84
  /**
70
85
  * Fetches all the fields info from a layer.
@@ -187,6 +202,7 @@ export function getFieldCodedValueDomain(queryObject: QueryObject, field?: strin
187
202
  *
188
203
  * @param fieldValue - The field value to get the description for
189
204
  * @param domain - The domain of the field
205
+ * @internal
190
206
  */
191
207
  export function getFieldDescriptionFromDomain(fieldValue: number | string, domain?: CodedValueDomain): string | undefined;
192
208
 
@@ -194,6 +210,7 @@ export function getFieldDescriptionFromDomain(fieldValue: number | string, domai
194
210
  * Get the field description from the query object given a field name and a field value.
195
211
  *
196
212
  * @param props - The query object (layer or feature layer view)
213
+ * @internal
197
214
  */
198
215
  export function getFieldDescriptionFromQueryObject(props: {
199
216
  queryObject: QueryObjectOrRaster;
@@ -273,8 +290,9 @@ export function buildQueryConfig(props: {
273
290
  queryObject?: QueryObjectOrRaster;
274
291
  chartConfig: WebChart;
275
292
  runtimeDataFilters?: WebChartDataFilters;
293
+ filterByViewExtent?: boolean;
276
294
  ignoreViewExtent?: boolean;
277
- viewExtent?: Extent;
295
+ view?: ChartOptions["view"];
278
296
  }): WebChartQuery;
279
297
 
280
298
  /**
@@ -332,4 +350,4 @@ export function findMatchingLayerFromView(props: {
332
350
  * @param layer - The layer
333
351
  * @param abortSignal - Optional abort signal to cancel the request
334
352
  */
335
- export function loadLayer(layer: Layer | SupportedLayer | SupportedRasterLayer, abortSignal?: AbortSignal): Promise<void>;
353
+ export function loadLayer(layer: Layer | SupportedLayer | SupportedRasterLayer | undefined, abortSignal?: AbortSignal): Promise<void>;
@@ -8,7 +8,6 @@ import type { WebChart } from "../../../spec/web-chart.js";
8
8
  * Creates a chart renderer based on the provided config fields and inline data.
9
9
  *
10
10
  * @param props - The category field, the numeric fields, the config fields and the data to convert.
11
- * @internal
12
11
  */
13
12
  export function convertConfigFieldsToChartRenderer(props: {
14
13
  categoryField: string;
@@ -21,7 +20,6 @@ export function convertConfigFieldsToChartRenderer(props: {
21
20
  * Converts an array of inline data to a feature set and returns an `IFeatureLayer`.
22
21
  *
23
22
  * @param props - The category field, the category type, the numeric fields and the inline data to convert.
24
- * @internal
25
23
  */
26
24
  export function convertInlineDataToLayerDefinition(props: {
27
25
  categoryField: string;
@@ -34,7 +32,6 @@ export function convertInlineDataToLayerDefinition(props: {
34
32
  * Converts an array of inline data into a feature collection. Also returns a `chartRenderer` if the `configFields` are provided.
35
33
  *
36
34
  * @param props - The category field, the category type, the numeric fields, the config fields and the inline data to convert.
37
- * @internal
38
35
  */
39
36
  export function convertInlineConfigToLayerConfig(props: {
40
37
  categoryField: string;
@@ -1,8 +1,6 @@
1
1
  /**
2
2
  * Former interface describing the property `configFields` from an inline data source.
3
3
  * Is an object which dictate which data-item field should be used for defining a property of the rendered element (line, point, bars, etc). Used in inline data source mode only.
4
- *
5
- * @internal
6
4
  */
7
5
  export interface WebChartConfigFields {
8
6
  fillColor?: string;
@@ -1,18 +1,6 @@
1
- import type MapView from "@arcgis/core/views/MapView.js";
2
- import type SceneView from "@arcgis/core/views/SceneView.js";
3
1
  import type FeatureLayerView from "@arcgis/core/views/layers/FeatureLayerView.js";
4
2
  import type { SupportedLayer, SupportedRasterLayer } from "../../interfaces.js";
5
3
  import type { RESTRendererType } from "../../spec/rest-js-object-literals.js";
6
- import type { WebChart } from "../../spec/web-chart.js";
7
-
8
- /** @internal */
9
- export interface QueryObjectProps {
10
- chartConfig?: WebChart;
11
- layer?: QueryObjectOrRaster;
12
- view?: MapView | SceneView;
13
- filterByViewExtent?: boolean;
14
- abortSignal?: AbortSignal;
15
- }
16
4
 
17
5
  /** @internal */
18
6
  export interface RendererInfo {
@@ -1,12 +1,12 @@
1
1
  import type AttributeBinsGraphic from "@arcgis/core/AttributeBinsGraphic.js";
2
2
  import type AttributeBinsFeatureSet from "@arcgis/core/rest/support/AttributeBinsFeatureSet.js";
3
+ import type { ChartOptions } from "../../../chart-rendering/common/interfaces.js";
3
4
  import type { WebChartDataItem } from "../../../spec/data-source.js";
4
5
  import type { WebChartQuery, WebChartTemporalBinning, WebHeatChart } from "../../../spec/web-chart.js";
5
6
  import type { ErrorStrings } from "../../localization/interfaces.js";
6
7
  import type { ChartSubType } from "../../misc/interfaces.js";
7
8
  import type { QueryObject } from "../interfaces.js";
8
9
  import type { AbortControllerKeyType, Features } from "./interfaces.js";
9
- import type { ChartOptions } from "../../../chart-rendering/common/interfaces.js";
10
10
 
11
11
  /**
12
12
  * Performs a query analytic.
@@ -48,7 +48,8 @@ export function queryAttributeBinsForHeatChart(props: {
48
48
  queryObject: QueryObject;
49
49
  queryConfig: WebChartQuery;
50
50
  view?: ChartOptions["view"];
51
- syncViewTimeZone?: ChartOptions["syncViewTimeZone"];
51
+ syncViewTimeZone?: boolean;
52
+ returnStatisticsAggregatedIds: boolean;
52
53
  errorStrings: ErrorStrings;
53
54
  abortSignal?: AbortSignal;
54
55
  }): Promise<AttributeBinsFeatureSet | undefined>;
@@ -64,6 +65,7 @@ export function queryFeaturesForMatrixHeatChart(props: {
64
65
  queryObject: QueryObject;
65
66
  queryConfig: WebChartQuery;
66
67
  returnFeaturesExtent?: boolean;
68
+ returnStatisticsAggregatedIds: boolean;
67
69
  errorStrings: ErrorStrings;
68
70
  abortKey?: AbortControllerKeyType;
69
71
  abortSignal?: AbortSignal;
@@ -84,6 +86,7 @@ export function queryAttributeBinsForScatterplot(props: {
84
86
  xMax: number;
85
87
  x: string;
86
88
  y: string;
89
+ returnStatisticsAggregatedIds: boolean;
87
90
  errorStrings: ErrorStrings;
88
91
  abortSignal?: AbortSignal;
89
92
  }): Promise<AttributeBinsFeatureSet | undefined>;
@@ -126,6 +129,7 @@ export function queryFeatures(props: {
126
129
  queryObject: QueryObject;
127
130
  queryConfig?: WebChartQuery;
128
131
  returnUniqueIdsOnly?: boolean;
132
+ returnStatisticsAggregatedIds: boolean;
129
133
  errorStrings: ErrorStrings;
130
134
  abortKey?: AbortControllerKeyType;
131
135
  abortSignal?: AbortSignal;
@@ -144,6 +148,7 @@ export function queryAllFeatures(props: {
144
148
  returnUniqueIdsOnly?: boolean;
145
149
  featureCount?: number;
146
150
  noBatch?: boolean;
151
+ returnStatisticsAggregatedIds: boolean;
147
152
  errorStrings: ErrorStrings;
148
153
  abortKey?: AbortControllerKeyType;
149
154
  abortSignal?: AbortSignal;
@@ -199,6 +204,6 @@ export function queryAttributeBinsForTemporalData(props: {
199
204
  errorStrings: ErrorStrings;
200
205
  view?: ChartOptions["view"];
201
206
  syncViewTimeZone?: boolean;
202
- abortKey?: AbortControllerKeyType;
207
+ returnStatisticsAggregatedIds: boolean;
203
208
  abortSignal?: AbortSignal;
204
209
  }): Promise<AttributeBinsGraphic[]>;
@@ -1,5 +1,4 @@
1
1
  import type Geometry from "@arcgis/core/geometry/Geometry.js";
2
- import type FeatureLayer from "@arcgis/core/layers/FeatureLayer.js";
3
2
  import type SubtypeSublayer from "@arcgis/core/layers/support/SubtypeSublayer.js";
4
3
  import type AttributeBinsQuery from "@arcgis/core/rest/support/AttributeBinsQuery.js";
5
4
  import type Query from "@arcgis/core/rest/support/Query.js";
@@ -8,7 +7,8 @@ import type { QueryProperties } from "@arcgis/core/rest/support/Query.js";
8
7
  import type { ChartOptions } from "../../../chart-rendering/common/interfaces.js";
9
8
  import type { RESTFieldType } from "../../../spec/rest-js-object-literals.js";
10
9
  import type { WebChartHeatChartSeries, WebChartQuery, WebChartTemporalBinning } from "../../../spec/web-chart.js";
11
- import type { QueryObject, QueryObjectOrRaster } from "../interfaces.js";
10
+ import type { QueryObject } from "../interfaces.js";
11
+ import type { ChartLayer, SupportedLayer } from "../../../interfaces.js";
12
12
 
13
13
  /**
14
14
  * Indicates whether a query can be cached. It is not when:
@@ -24,7 +24,7 @@ export function isQueryCacheable(query: AttributeBinsQuery | Query | QueryProper
24
24
  * @param layer
25
25
  * @internal
26
26
  */
27
- export function getMaxRecords(layer?: Pick<FeatureLayer, "sourceJSON"> | SubtypeSublayer): number;
27
+ export function getMaxRecords(layer?: Pick<ChartLayer, "sourceJSON"> | SubtypeSublayer): number;
28
28
 
29
29
  /**
30
30
  * Function building a where clause by concatenating a list of filters by using the AND operator.
@@ -33,16 +33,16 @@ export function getMaxRecords(layer?: Pick<FeatureLayer, "sourceJSON"> | Subtype
33
33
  * @param operand - The operand to use to combine the filters (OR, AND...)
34
34
  * @internal
35
35
  */
36
- export function combineFilters(filterList: (string | null | undefined)[], operand?: string): string;
36
+ export function combineFilters(filterList: (number | string | null | undefined)[], operand?: string): string;
37
37
 
38
38
  /**
39
39
  * Computes the time extent to be used by the query.
40
40
  *
41
- * @param queryObject - The layer or feature layer view
41
+ * @param viewTimeExtent - The layer or feature layer view
42
42
  * @param defaultTimeExtent - The time extent defined at the series config level or provided at runtime
43
43
  * @internal
44
44
  */
45
- export function getQueryTimeExtent(queryObject?: QueryObjectOrRaster, defaultTimeExtent?: WebChartQuery["timeExtent"]): WebChartQuery["timeExtent"] | undefined;
45
+ export function getQueryTimeExtent(viewTimeExtent?: TimeExtent | null, defaultTimeExtent?: WebChartQuery["timeExtent"]): WebChartQuery["timeExtent"] | undefined;
46
46
 
47
47
  /**
48
48
  * Computes the extent to be used by the query. We prioritize the feature layer view extent
@@ -87,7 +87,8 @@ export function mapAttributeBinsQueryForTemporalData(props: {
87
87
  splitByField?: string;
88
88
  axisTimeZone?: string;
89
89
  view?: ChartOptions["view"];
90
- syncViewTimeZone?: ChartOptions["syncViewTimeZone"];
90
+ syncViewTimeZone?: boolean;
91
+ returnStatisticsAggregatedIds: boolean;
91
92
  }): AttributeBinsQuery;
92
93
 
93
94
  /**
@@ -128,7 +129,8 @@ export function mapAttributeBinsQueryForHeatChart(props: {
128
129
  configTimeZone?: string;
129
130
  includeLeapDay?: boolean;
130
131
  view?: ChartOptions["view"];
131
- syncViewTimeZone?: ChartOptions["syncViewTimeZone"];
132
+ syncViewTimeZone?: boolean;
133
+ returnStatisticsAggregatedIds: boolean;
132
134
  }): AttributeBinsQuery;
133
135
 
134
136
  /**
@@ -146,6 +148,7 @@ export function mapAttributeBinsQueryForScatterplot(props: {
146
148
  xMax: number;
147
149
  x: string;
148
150
  y: string;
151
+ returnStatisticsAggregatedIds: boolean;
149
152
  }): AttributeBinsQuery;
150
153
 
151
154
  /**
@@ -158,10 +161,11 @@ export function mapQuery(props: {
158
161
  queryObject: QueryObject;
159
162
  queryConfig?: WebChartQuery;
160
163
  maxRecordCountFactor?: number;
164
+ returnStatisticsAggregatedIds: boolean;
161
165
  }): Query;
162
166
 
163
167
  /**
164
168
  * @param layer
165
169
  * @internal
166
170
  */
167
- export function getMaxRecordCountFactor(layer?: Pick<FeatureLayer, "sourceJSON"> | SubtypeSublayer): number | undefined;
171
+ export function getMaxRecordCountFactor(layer?: Pick<ChartLayer, "sourceJSON"> | SupportedLayer): number | undefined;
@@ -4,8 +4,9 @@ import type SubtypeSublayer from "@arcgis/core/layers/support/SubtypeSublayer.js
4
4
  import type FeatureLayerView from "@arcgis/core/views/layers/FeatureLayerView.js";
5
5
  import type LayerView from "@arcgis/core/views/layers/LayerView.js";
6
6
  import type Layer from "@arcgis/core/layers/Layer.js";
7
+ import type { SelectableLayerWithObjectIds } from "@arcgis/core/views/selection/types.js";
7
8
  import type { QueryObject, QueryObjectOrRaster } from "../interfaces.js";
8
- import type { SupportedLayer, SupportedRasterLayer } from "../../../interfaces.js";
9
+ import type { ChartLayer, ChartLayerInput, SupportedLayer, SupportedRasterLayer } from "../../../interfaces.js";
9
10
  import type { WebChart } from "../../../spec/web-chart.js";
10
11
  import type { ChartOptions } from "../../../chart-rendering/common/interfaces.js";
11
12
 
@@ -33,6 +34,22 @@ export function isFeatureLayerView(queryObject: LayerView | QueryObjectOrRaster
33
34
  */
34
35
  export function isFeatureLayer(queryObject: Layer | QueryObjectOrRaster | undefined): queryObject is FeatureLayer;
35
36
 
37
+ /**
38
+ * Indicates whether an input exposes the feature-layer contract required by charts.
39
+ *
40
+ * @param queryObject
41
+ * @internal
42
+ */
43
+ export function isFeatureLayerLike(queryObject: Layer | QueryObjectOrRaster | undefined): queryObject is ChartLayer;
44
+
45
+ /**
46
+ * Indicates whether a chart layer exposes the object ID selection contract.
47
+ *
48
+ * @param queryObject
49
+ * @internal
50
+ */
51
+ export function isSelectableLayerWithObjectIds(queryObject: ChartLayerInput | undefined): queryObject is ChartLayerInput & SelectableLayerWithObjectIds;
52
+
36
53
  /**
37
54
  * Indicates whether the input object is an instance of `SubtypeGroupLayer`.
38
55
  *
@@ -65,7 +82,7 @@ export function isSupportedLayer(queryObject: Layer | QueryObjectOrRaster | unde
65
82
  * @param layer
66
83
  * @internal
67
84
  */
68
- export function getMainLayer(layer: FeatureLayer | SubtypeSublayer | undefined): FeatureLayer | SubtypeGroupLayer | undefined;
85
+ export function getMainLayer(layer: ChartLayer | SubtypeSublayer | undefined): ChartLayer | SubtypeGroupLayer | undefined;
69
86
 
70
87
  /**
71
88
  * @param layer
@@ -77,19 +94,19 @@ export function getMainLayer(layer: SupportedRasterLayer): SupportedRasterLayer;
77
94
  * @param layer
78
95
  * @internal
79
96
  */
80
- export function getMainLayer(layer: FeatureLayer | SubtypeSublayer | SupportedRasterLayer): FeatureLayer | SubtypeGroupLayer | SupportedRasterLayer;
97
+ export function getMainLayer(layer: ChartLayer | SubtypeSublayer | SupportedRasterLayer): ChartLayer | SubtypeGroupLayer | SupportedRasterLayer;
81
98
 
82
99
  /**
83
100
  * @param layer
84
101
  * @internal
85
102
  */
86
- export function getMainLayer(layer: FeatureLayer | SubtypeSublayer | SupportedRasterLayer | undefined): FeatureLayer | SubtypeGroupLayer | SupportedRasterLayer | undefined;
103
+ export function getMainLayer(layer: ChartLayer | SubtypeSublayer | SupportedRasterLayer | undefined): ChartLayer | SubtypeGroupLayer | SupportedRasterLayer | undefined;
87
104
 
88
105
  /**
89
106
  * @param layer
90
107
  * @internal
91
108
  */
92
- export function getMainLayer(layer: FeatureLayer | SubtypeSublayer | SupportedRasterLayer | undefined): FeatureLayer | SubtypeGroupLayer | SupportedRasterLayer | undefined;
109
+ export function getMainLayer(layer: ChartLayer | SubtypeSublayer | SupportedRasterLayer | undefined): ChartLayer | SubtypeGroupLayer | SupportedRasterLayer | undefined;
93
110
 
94
111
  /**
95
112
  * Indicates whether a layer supports queries with a `distance` parameter
@@ -19,7 +19,7 @@ export interface ComponentLocaleItem<T extends LocaleItem> {
19
19
  }
20
20
 
21
21
  /** @internal */
22
- export const SupportedLocalesForFormats: (("id" | "ar" | "bg" | "bs" | "ca" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "he" | "hr" | "hu" | "it" | "ja" | "ko" | "lt" | "lv" | "nl" | "nb" | "no" | "pl" | "pt-BR" | "pt-PT" | "ro" | "ru" | "sk" | "sl" | "sr" | "sv" | "th" | "tr" | "uk" | "vi" | "zh-CN" | "zh-HK" | "zh-TW") | string | string | string | string | string | string | string | string | string | string | string)[];
22
+ export const SupportedLocalesForFormats: (SupportedLocale | string | string | string | string | string | string | string | string | string | string | string)[];
23
23
 
24
24
  /** @internal */
25
25
  export type SupportedLocalesForFormats = SupportedLocale | "ar-u-nu-latn" | "de-AT" | "de-CH" | "de-DE" | "en-AU" | "en-GB" | "es-ES" | "es-MX" | "fr-CA" | "it-CH" | "it-IT";
@@ -169,6 +169,10 @@ export const CommonStringsIdentity: (value: {
169
169
  twoTemporalSeriesLineCountCannotExceedLimit: string;
170
170
  threePlusTemporalSeriesLineCountCannotExceedLimit: string;
171
171
  lineSeriesCountCannotExceedLimit: string;
172
+ uniqueSeriesRadarCountCannotExceedLimit: string;
173
+ twoSeriesRadarCountCannotExceedLimit: string;
174
+ threePlusSeriesRadarCountCannotExceedLimit: string;
175
+ radarSeriesCountCannotExceedLimit: string;
172
176
  uniqueSeriesBoxCountCannotExceedLimit: string;
173
177
  twoSeriesBoxCountCannotExceedLimit: string;
174
178
  threePlusBoxLineCountCannotExceedLimit: string;
@@ -436,6 +440,10 @@ export const CommonStringsIdentity: (value: {
436
440
  twoTemporalSeriesLineCountCannotExceedLimit: string;
437
441
  threePlusTemporalSeriesLineCountCannotExceedLimit: string;
438
442
  lineSeriesCountCannotExceedLimit: string;
443
+ uniqueSeriesRadarCountCannotExceedLimit: string;
444
+ twoSeriesRadarCountCannotExceedLimit: string;
445
+ threePlusSeriesRadarCountCannotExceedLimit: string;
446
+ radarSeriesCountCannotExceedLimit: string;
439
447
  uniqueSeriesBoxCountCannotExceedLimit: string;
440
448
  twoSeriesBoxCountCannotExceedLimit: string;
441
449
  threePlusBoxLineCountCannotExceedLimit: string;
@@ -15,7 +15,6 @@ export type SerialChartType = typeof WebChartTypes.BarSeries | typeof WebChartTy
15
15
  /** @internal */
16
16
  export type SupportedChartType = typeof WebChartTypes.BarSeries | typeof WebChartTypes.BoxPlotSeries | typeof WebChartTypes.HeatSeries | typeof WebChartTypes.HistogramSeries | typeof WebChartTypes.LineSeries | typeof WebChartTypes.PieSeries | typeof WebChartTypes.RadarSeries | typeof WebChartTypes.ScatterSeries;
17
17
 
18
- /** @internal */
19
18
  export type ChartTypes = Extract<WebChartTypes, WebChartType>;
20
19
 
21
20
  /** @internal */
@@ -251,8 +250,8 @@ export function sanitizeHTMLOutput(inputToSanitize: string): string;
251
250
  * Indicates if a provided number value is valid.
252
251
  * An invalid value is: undefined | NaN | Infinite | -Infinite | null
253
252
  * See for more details:
254
- * - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isFinite
255
- * - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isNaN
253
+ * - https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number/isFinite
254
+ * - https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number/isNaN
256
255
  *
257
256
  * @param value
258
257
  * @internal
@@ -43,6 +43,7 @@ export interface SelectionData {
43
43
  selectionOIDs?: (number | string)[];
44
44
  selectionSource?: SelectionSource;
45
45
  selectionPixelTarget?: PixelHighlightTarget;
46
+ selectionFilters?: string[];
46
47
  }
47
48
 
48
49
  export interface SelectionThemeProperties {
@@ -0,0 +1,10 @@
1
+ import type { WebChart } from "../../spec/web-chart.js";
2
+
3
+ /**
4
+ * Check the `subType` in the chart config to determine whether the chart is a gauge by feature.
5
+ * If `subType` is not defined, the chart is defaulted to be a statistic gauge.
6
+ *
7
+ * @param config - the chart config
8
+ * @internal
9
+ */
10
+ export function isGaugeByFeature(config: WebChart): boolean;
@@ -1,4 +1,4 @@
1
- import type { WebChartCalendarDatePartsBinning, WebChartHeatChartSeries, WebChartSeries, WebChartTemporalBinning } from "../../spec/web-chart.js";
1
+ import type { WebChartBarChartSeries, WebChartCalendarDatePartsBinning, WebChartHeatChartSeries, WebChartLineChartSeries, WebChartRadarChartSeries, WebChartSeries, WebChartTemporalBinning } from "../../spec/web-chart.js";
2
2
  import type { ChartTypes } from "../misc/index.js";
3
3
 
4
4
  /**
@@ -35,4 +35,11 @@ export function getChartOrSeriesType(chartSeries: WebChartSeries[] | undefined,
35
35
  * @returns The binning type for the specified axis
36
36
  * @internal
37
37
  */
38
- export function getHeatChartBinningType(chartSeries: WebChartHeatChartSeries | undefined, isXAxis?: boolean): WebChartCalendarDatePartsBinning | WebChartTemporalBinning | undefined;
38
+ export function getHeatChartBinningType(chartSeries: WebChartHeatChartSeries | undefined, isXAxis?: boolean): WebChartCalendarDatePartsBinning | WebChartTemporalBinning | undefined;
39
+
40
+ /**
41
+ * Type guard to know if the series type supports null category
42
+ *
43
+ * @param series - series The series to check
44
+ */
45
+ export function supportsNullCategory(series: WebChartSeries): series is WebChartBarChartSeries | WebChartLineChartSeries | WebChartRadarChartSeries;
@@ -104,11 +104,7 @@ export type BoxPlotConfig = WebBoxPlot;
104
104
  */
105
105
  export type HeatChartConfig = WebHeatChart;
106
106
 
107
- /**
108
- * Type alias for the supported chart series types.
109
- *
110
- * @internal
111
- */
107
+ /** Type alias for the supported chart series types. */
112
108
  export type SupportedChartSeries = WebChartBarChartSeries | WebChartBoxPlotSeries | WebChartGaugeSeries | WebChartHistogramSeries | WebChartLineChartSeries | WebChartPieChartSeries | WebChartRadarChartSeries | WebChartScatterplotSeries;
113
109
 
114
110
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/charts-components",
3
- "version": "5.2.0-next.9",
3
+ "version": "5.2.0-next.91",
4
4
  "description": "Reusable ArcGIS charting Web Components.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -29,25 +29,24 @@
29
29
  "license": "SEE LICENSE IN LICENSE.md",
30
30
  "dependencies": {
31
31
  "@amcharts/amcharts4": "^4.10.31",
32
- "@amcharts/amcharts5": "~5.18.0",
32
+ "@amcharts/amcharts5": "~5.20.3",
33
+ "@arcgis/lumina": "5.2.0-next.91",
34
+ "@arcgis/toolkit": "5.2.0-next.91",
33
35
  "@esri/arcgis-html-sanitizer": "~4.1.0",
34
36
  "@lit/task": "^1.0.3",
37
+ "@zumer/snapdom": "^2.24.1",
35
38
  "ajv": "6.12.6",
36
39
  "d3-shape": "^3.2.0",
37
- "fastq": "~1.13.0",
38
- "html2canvas": "^1.4.1",
39
40
  "jszip": "^3.10.1",
40
41
  "lit": "^3.3.0",
41
42
  "lodash-es": "^4.18.1",
42
43
  "luxon": "~3.7.2",
43
44
  "simple-statistics": "^7.8.8",
44
- "tslib": "^2.8.1",
45
- "@arcgis/toolkit": "5.2.0-next.9",
46
- "@arcgis/lumina": "5.2.0-next.9"
45
+ "tslib": "^2.8.1"
47
46
  },
48
47
  "peerDependencies": {
49
- "@arcgis/core": "^5.2.0-next",
50
- "@esri/calcite-components": "^5.1.1-next.3"
48
+ "@arcgis/core": "5.2.0-next.91",
49
+ "@esri/calcite-components": "^5.2.0-next.52"
51
50
  },
52
51
  "css.customData": [
53
52
  "dist/docs/vscode.css-custom-data.json"
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{a as y}from"./VOTZAPI3.js";import{a as $}from"./JNNB2DIA.js";import{b as _,c as B}from"./IHO3OLL3.js";import g from"./ZAHVBXAQ.js";import{a as f}from"./MRTKZZTF.js";import{f as s}from"./AK7X7SGI.js";import e from"./STM26XZG.js";import"./WNKDEOFZ.js";import d from"./3X5JIVJJ.js";import"./EZV7JSQJ.js";import{n as E,u as S}from"./ADGMA3ST.js";import{wa as x,xa as A}from"./PAIRUVLU.js";import{a as P}from"./KX7KGXKQ.js";import{l as b}from"./SP2IPHWF.js";import"./NZR4L5AA.js";import{A as I,B as c,G as F,g as L,i as a,n as u,y as h,z as m}from"./CHQDKVVQ.js";import"./QP5UAIC6.js";import"./XJFVSX2E.js";import{k as r,o as p}from"./547RDEMV.js";import"./U67P6YAZ.js";export default $arcgis.t(([{pb:v,qb:D,sb:T,tb:z},,{a:w,c:C,g:K,k:d,o:N}])=>{var j=L`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.name{display:flex;flex-direction:column;margin:.5rem;padding:.5rem;background:#fff;min-width:250px}.header{margin:0;font-weight:bolder}.fab{display:flex;justify-content:stretch}.pick-list-item-label{font-size:small}.sort-icon-color{color:#000}.sort-y-axis{transform:rotate(90deg)}calcite-panel{max-height:60vh}calcite-panel .size-section{width:19rem;margin:1rem 0;display:flex;flex-wrap:wrap;justify-content:space-evenly}calcite-panel .size-section calcite-label{width:8rem;margin-bottom:.25rem}calcite-panel .apply-button{width:17rem}`,o={jsAppFlyout:"js-app-flyout",name:"line-chart-data-popover",numericFieldPickList:"line-chart-data-numeric-fields-pick-list",header:"header",fab:"fab",pickListItemLabel:"pick-list-item-label",sizeSection:"size-section",applyButton:"apply-button"},k=class extends I{constructor(){super(...arguments),this._messages=f(),this.commonStrings=f({name:"common",blocking:!0}),this.picklist=h(),this.intervalSizeElement=h(),this.intervalTypeElement=h(),this.popoverElement=h(),this.placement="leading",this.offsetDistance=-200,this.pickListHasChanged=!1,this.open=!1,this.layerFieldsInfo=[],this.arcgisChartsConfigLineChartDataPopoverChange=u(),this.arcgisChartsConfigLineChartPopoverClose=u()}static{this.properties={aggregationLabels:16,timeAggregationLabels:16,messageOverrides:0,headingTitle:1,referenceElement:0,open:5,contentKind:1,layerFieldsInfo:0,selectedContent:1}}static{this.styles=j}async reposition(){await this.popoverElement.value?.reposition()}willUpdate(e){e.has("selectedContent")&&this.selectedContentChange(this.selectedContent,e.get("selectedContent"));let t=C.map(l=>x(l,this.commonStrings));b(this.aggregationLabels,t)||(this.aggregationLabels=t);let i=[p.Start,p.End].map(l=>A(l,this.commonStrings));b(this.timeAggregationLabels,i)||(this.timeAggregationLabels=i)}updated(){setTimeout(()=>{typeof this.picklist.value?.setFocus=="function"&&this.picklist.value?.setFocus()},w.PopoverTimer),_(this.popoverElement.value,this.open)}selectedContentChange(e,t){this.pickListHasChanged=B(e,t)}buildAggregationPickListItems(){return y(C,e=>e,(e,t)=>a`<calcite-list-item .label=${this.aggregationLabels?.[t]} .value=${e} .selected=${d(e,this.selectedContent)}></calcite-list-item>`)}buildIntervalAlignmentPickListItems(){let e=[p.Start,p.End];return y(e,t=>t,(t,i)=>a`<calcite-list-item .label=${this.timeAggregationLabels?.[i]} .value=${t} .selected=${d(t,this.selectedContent)}></calcite-list-item>`)}buildPickListItem(e){return $(e.name,a`<calcite-list-item .label=${E(this.layerFieldsInfo,e.name)} .value=${e.name} .selected=${d(e.name,this.selectedContent)}></calcite-list-item>`)}buildPickListItems(e){let t=this.layerFieldsInfo?.length??0,i=[];switch(e){case s.numericFields:{for(let l=0;l<t;l+=1){let n=this.layerFieldsInfo?.[l];n&&v(n)&&i.push(this.buildPickListItem(n))}break}case s.xAxisField:{for(let l=0;l<t;l+=1){let n=this.layerFieldsInfo?.[l];n&&(v(n)||D(n)||T(n))&&i.push(this.buildPickListItem(n))}break}case s.splitByField:{let l=$(" ",a`<calcite-list-item label=" " value=" " .selected=${d("",this.selectedContent)}></calcite-list-item>`);i.push(l);for(let n=0;n<t;n+=1){let g=this.layerFieldsInfo?.[n];g&&(z(g)||g.type===P.String)&&i.push(this.buildPickListItem(g))}break}}return i}closePopover(){if(this.contentKind===s.numericFields&&this.pickListHasChanged){let e={pickListElement:this.picklist.value,eventEmitter:this.arcgisChartsConfigLineChartDataPopoverChange,contentKind:this.contentKind};N(e)}this.open=!1,this.arcgisChartsConfigLineChartPopoverClose.emit()}onDataContentTypeChange(e){this.pickListHasChanged=!0;let t=e.target.selectedItems;this.arcgisChartsConfigLineChartDataPopoverChange.emit({contentKind:this.contentKind,value:t.map(i=>i.value)}),this.open=!1}intervalChange(){let e=Number.parseInt(this.intervalSizeElement.value?.value??""),t=this.intervalTypeElement.value?.selectedOption?.value;!Number.isNaN(e)&&e>0&&this.arcgisChartsConfigLineChartDataPopoverChange.emit({contentKind:this.contentKind,value:[{intervalSize:e,intervalUnits:t}]}),this.open=!1}onNumericFieldsChange(e){e.target!==null&&(this.selectedContent=e.target.selectedItems.map(t=>t.value))}onNumericFieldSelectionDone(){this.closePopover()}renderAggregationType(){let e=this.buildAggregationPickListItems();return a`<calcite-list label class=${c(o.pickListItemLabel)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`}renderXAxisField(){let e=this.buildPickListItems(s.xAxisField);return a`<calcite-list label class=${c(o.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${m(this.picklist)}>${e}</calcite-list>`}renderNumericFields(){let e=this.buildPickListItems(s.numericFields);return a`<calcite-list label class=${c(o.numericFieldPickList)} selection-mode=multiple filter-enabled @calciteListChange=${this.onNumericFieldsChange} ${m(this.picklist)}>${e}</calcite-list>`}renderSplitByField(){let e=this.buildPickListItems(s.splitByField);return a`<calcite-list label class=${c(o.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${m(this.picklist)}>${e}</calcite-list>`}renderIntervalAlignment(){let e=this.buildIntervalAlignmentPickListItems();return a`<calcite-list label class=${c(o.pickListItemLabel)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`}renderInterval(){let e=this.selectedContent,t=[r.Second,r.Minute,r.Hour,r.Day,r.Week,r.Month,r.Year];return a`<div><div class=${c(o.sizeSection)}><calcite-label scale=m>${this._messages.intervalSize}<calcite-input type=number scale=m min=1 step=any .value=${K(e?.size,1)} ${m(this.intervalSizeElement)}></calcite-input></calcite-label><calcite-label scale=m>${this._messages.intervalType}<calcite-select .label=${this._messages.intervalType??""} ${m(this.intervalTypeElement)}>${t.map(i=>a`<calcite-option .value=${i} .label=${S(i,this._messages)} .selected=${e?.unit===i}></calcite-option>`)}</calcite-select></calcite-label><calcite-button class=${c(o.applyButton)} appearance=outline @click=${this.intervalChange}>${this._messages.apply}</calcite-button></div></div>`}renderPopoverInfo(){let e;switch(this.contentKind){case s.aggregation:e=this.renderAggregationType();break;case s.xAxisField:e=this.renderXAxisField();break;case s.numericFields:e=this.renderNumericFields();break;case s.splitByField:e=this.renderSplitByField();break;case s.intervalAlignment:e=this.renderIntervalAlignment();break;case s.interval:e=this.renderInterval();break}return e}render(){let e;return this.contentKind===s.numericFields&&(e=a`<div slot=footer><calcite-fab class=${c(o.fab)} appearance=outline-fill kind=neutral .icon=${void 0} .label=${this._messages.selectionDone} scale=s text-enabled .text=${this._messages.selectionDone} @click=${this.onNumericFieldSelectionDone}></calcite-fab></div>`),a`<div class=${c(o.jsAppFlyout)}><calcite-popover class=${c(o.name)} .referenceElement=${this.referenceElement??document.body} .placement=${this.placement} .offsetDistance=${this.offsetDistance} @calcitePopoverClose=${this.closePopover} .open=${this.open} label auto-close ${m(this.popoverElement)}><calcite-panel closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${c(o.header)}>${this.headingTitle??""}</div>${this.renderPopoverInfo()}${e}</calcite-panel></calcite-popover></div>`}};F("arcgis-charts-config-line-chart-popover",k);return k},d,e,g)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{a as i}from"./P4HSSZRL.js";import{b as m}from"./IHO3OLL3.js";import{a as g}from"./MRTKZZTF.js";import{f as h}from"./KX7KGXKQ.js";import"./SP2IPHWF.js";import"./NZR4L5AA.js";import{A as n,B as p,G as c,i as o,n as t,y as a,z as l}from"./CHQDKVVQ.js";import"./547RDEMV.js";import"./U67P6YAZ.js";var C={jsAppFlyout:"js-app-flyout"},r=class extends n{constructor(){super(...arguments),this._messages=g(),this.popoverElement=a(),this.placement="leading",this.open=!1,this.arcgisChartsConfigGuidePopoverColorChange=t(),this.arcgisChartsConfigGuidePopoverSymbolChange=t(),this.arcgisChartsConfigPopoverClose=t()}static{this.properties={messageOverrides:0,selectedElement:0,referenceElement:0,placement:1,open:5}}async reposition(){await this.popoverElement.value?.reposition()}updated(){m(this.popoverElement.value,this.open)}guidePopoverClose(){this.open=!1,this.arcgisChartsConfigPopoverClose.emit()}updateColorProperties(s){let e=s.detail;e!==void 0&&(e[3]=i),this.selectedElement=e,this.arcgisChartsConfigGuidePopoverColorChange.emit(this.selectedElement)}updateSymbolProperties(s){let{lineStyle:e}=s.target;e?.color!==void 0&&(e.color[3]=i),this.selectedElement=e,this.arcgisChartsConfigGuidePopoverSymbolChange.emit(s.detail)}render(){let s=this.selectedElement,e=this.selectedElement;return o`<div class=${p(C.jsAppFlyout)}><calcite-popover .referenceElement=${this.referenceElement??document.body} .placement=${this.placement} .open=${this.open} offset-distance=20 offset-skidding=60 label pointer-disabled @calcitePopoverClose=${this.guidePopoverClose} auto-close ${l(this.popoverElement)}>${Array.isArray(s)&&o`<arcgis-charts-config-color-style .header=${this._messages.fillStyle} enable-close .open=${this.open} .selectedColor=${s} @arcgisChartsConfigColorStyleClose=${this.guidePopoverClose} @arcgisChartsConfigColorStyleChange=${this.updateColorProperties}></arcgis-charts-config-color-style>`||""}${e?.type===h.SLS&&o`<arcgis-charts-config-line-style .header=${this._messages.lineStyle} .open=${this.open} enable-close .lineStyle=${e} @arcgisChartsConfigLineStyleClose=${this.guidePopoverClose} @arcgisChartsConfigLineStyleChange=${this.updateSymbolProperties}></arcgis-charts-config-line-style>`||""}</calcite-popover></div>`}};c("arcgis-charts-config-guide-popover",r);export{r as ArcgisChartsConfigGuidePopover};