@arcgis/map-components 5.2.0-next.0 → 5.2.0-next.10

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 (470) hide show
  1. package/dist/cdn/{O7FJMEMD.js → 2HPEYG66.js} +1 -1
  2. package/dist/cdn/{UHHTJK2I.js → 2LRS7XSQ.js} +1 -1
  3. package/dist/cdn/{OUW4GHOA.js → 2RPBZ63W.js} +1 -1
  4. package/dist/cdn/{VGY3SY4N.js → 2SGIMHBR.js} +1 -1
  5. package/dist/cdn/{TNILH7D7.js → 2X7DYSZN.js} +1 -1
  6. package/dist/cdn/{LIUWARHG.js → 33H2BYBU.js} +1 -1
  7. package/dist/cdn/{6UZE2NMX.js → 3IJCXYVS.js} +1 -1
  8. package/dist/cdn/{5DX23PKC.js → 3NET2XNA.js} +1 -1
  9. package/dist/cdn/{6B3LWOSR.js → 3PF6PWNS.js} +1 -1
  10. package/dist/cdn/462X4ZCG.js +2 -0
  11. package/dist/cdn/{6FLKFYZS.js → 56DOE2Z5.js} +1 -1
  12. package/dist/cdn/{JBJLMUHX.js → 5GIEYYKL.js} +1 -1
  13. package/dist/cdn/{C53XXDLL.js → 5L26MT7T.js} +1 -1
  14. package/dist/cdn/6633XT4Y.js +2 -0
  15. package/dist/cdn/{Y4LAL4D3.js → 6DVVJ6UQ.js} +1 -1
  16. package/dist/cdn/6N6IQMKG.js +2 -0
  17. package/dist/cdn/{XRTJ3EUO.js → 6S2YQK4D.js} +1 -1
  18. package/dist/cdn/{UC4ZZXFO.js → 6U7SFUIF.js} +1 -1
  19. package/dist/cdn/72ABM47G.js +2 -0
  20. package/dist/cdn/{TMDT3QFH.js → 7IZCHCV2.js} +1 -1
  21. package/dist/cdn/{QEPCYJLX.js → 7YHULYNL.js} +1 -1
  22. package/dist/cdn/A2BZKW2V.js +2 -0
  23. package/dist/cdn/A2W2G6ZQ.js +2 -0
  24. package/dist/cdn/{5YLWFVCR.js → ACAJBRVF.js} +1 -1
  25. package/dist/cdn/{6RVCU3XX.js → AHGRASYK.js} +1 -1
  26. package/dist/cdn/{TOKXAMIO.js → ALKSU6PT.js} +1 -1
  27. package/dist/cdn/{6WJC22XL.js → ALX2QTSD.js} +1 -1
  28. package/dist/cdn/AUGAOAKN.js +2 -0
  29. package/dist/cdn/{XDPTVNYI.js → AVU5N7N6.js} +1 -1
  30. package/dist/cdn/{ENVZLZTN.js → C3QMAJ2O.js} +1 -1
  31. package/dist/cdn/{OYGDLBCN.js → CERDSXEF.js} +1 -1
  32. package/dist/cdn/{NGGYUKKX.js → CLAEZUSG.js} +1 -1
  33. package/dist/cdn/CP5XCMNN.js +2 -0
  34. package/dist/cdn/{GSMQDS7C.js → CW7J5L5W.js} +1 -1
  35. package/dist/cdn/{677ZJV57.js → CWUG2MGN.js} +1 -1
  36. package/dist/cdn/D2JUQOOB.js +2 -0
  37. package/dist/cdn/{O33Q3AY4.js → D3OAWQ5Z.js} +1 -1
  38. package/dist/cdn/{NTGB5SHW.js → D6DLKKWM.js} +1 -1
  39. package/dist/cdn/{SZUSZJBL.js → DBCTQ7ZD.js} +1 -1
  40. package/dist/cdn/{RPVITNNA.js → DLR57QBH.js} +1 -1
  41. package/dist/cdn/{UGIPDM5B.js → DNUCOUYU.js} +1 -1
  42. package/dist/cdn/{MH6OJCJ6.js → DSNTT27D.js} +1 -1
  43. package/dist/cdn/{OMUMDPCJ.js → DWLPX47U.js} +1 -1
  44. package/dist/cdn/{PSILIICR.js → E7264Z6I.js} +1 -1
  45. package/dist/cdn/EGGKSLR2.js +2 -0
  46. package/dist/cdn/{QHO6KMH2.js → EI6H5VOO.js} +1 -1
  47. package/dist/cdn/EWYSBOXF.js +2 -0
  48. package/dist/cdn/{J23UDIAN.js → F2KOZSQD.js} +1 -1
  49. package/dist/cdn/{3WUFMA2I.js → FGPO275L.js} +1 -1
  50. package/dist/cdn/FQRS5UJF.js +2 -0
  51. package/dist/cdn/FU4GWX2G.js +2 -0
  52. package/dist/cdn/FWCUCVK4.js +2 -0
  53. package/dist/cdn/{BHPWS2QK.js → FWHB7TJS.js} +1 -1
  54. package/dist/cdn/{32HC6PWY.js → GLR6Y532.js} +1 -1
  55. package/dist/cdn/{CK4PHS32.js → GRAS7JP7.js} +1 -1
  56. package/dist/cdn/{SITKA5S5.js → GX45UPO4.js} +1 -1
  57. package/dist/cdn/{2IHSVTUV.js → HDFFXUXA.js} +1 -1
  58. package/dist/cdn/{L4EHCDIJ.js → HLDFAUXU.js} +1 -1
  59. package/dist/cdn/{EJT4UYVM.js → HLRWMA4I.js} +1 -1
  60. package/dist/cdn/{6BUPJWLA.js → HRK2DQJO.js} +1 -1
  61. package/dist/cdn/HXDS4O7D.js +2 -0
  62. package/dist/cdn/HXHMU23F.js +2 -0
  63. package/dist/cdn/{Z5YGVWFI.js → HYFMWTWO.js} +1 -1
  64. package/dist/cdn/{RVM3LW65.js → I7XEJYNZ.js} +1 -1
  65. package/dist/cdn/{VBWKWSWH.js → IJTFLZTR.js} +1 -1
  66. package/dist/cdn/{247JB6HC.js → IYCMJ2Q7.js} +1 -1
  67. package/dist/cdn/{5G3WPEKE.js → J2VDU3S5.js} +1 -1
  68. package/dist/cdn/{AD3PXUFR.js → J4MKTTB4.js} +1 -1
  69. package/dist/cdn/{RMW557ZN.js → JAANZHBL.js} +1 -1
  70. package/dist/cdn/{4KS4DINK.js → JCQMPSDG.js} +1 -1
  71. package/dist/cdn/{NEJ3H2LB.js → JPRKITN4.js} +1 -1
  72. package/dist/cdn/{OAUNPVAN.js → K7HIGO6U.js} +1 -1
  73. package/dist/cdn/{4OTJYTTQ.js → KC4OLX6Q.js} +1 -1
  74. package/dist/cdn/{BIOHRZG4.js → KFZTGKIF.js} +1 -1
  75. package/dist/cdn/KLEUYLUA.js +2 -0
  76. package/dist/cdn/KNGWBAKB.js +2 -0
  77. package/dist/cdn/KP3AJBKW.js +2 -0
  78. package/dist/cdn/KU63IINR.js +2 -0
  79. package/dist/cdn/{PNBNM2CX.js → KU6KNKRU.js} +1 -1
  80. package/dist/cdn/{AJJQYWT2.js → L3S2G2RR.js} +1 -1
  81. package/dist/cdn/{LID7GFUT.js → L6HQV4QC.js} +1 -1
  82. package/dist/cdn/LM56QFP5.js +2 -0
  83. package/dist/cdn/{ZBKRBSVS.js → LPUBRZAO.js} +1 -1
  84. package/dist/cdn/{ZSI6JMCS.js → LTJDTDLL.js} +1 -1
  85. package/dist/cdn/{IG4R2XLP.js → M4VOJ3WM.js} +1 -1
  86. package/dist/cdn/{M6KJCZWB.js → MC2UKG72.js} +1 -1
  87. package/dist/cdn/MFYO6QLJ.js +2 -0
  88. package/dist/cdn/{HZ5Z3AFP.js → MJR5WG2I.js} +1 -1
  89. package/dist/cdn/{GDYHCLUR.js → MQS6S5NN.js} +1 -1
  90. package/dist/cdn/{M3U7I4H6.js → N24CODZ6.js} +1 -1
  91. package/dist/cdn/{H6ZQZLZH.js → N7OKY3SS.js} +1 -1
  92. package/dist/cdn/{SWOFXLPC.js → N7SH7GMY.js} +1 -1
  93. package/dist/cdn/NBDIFUEK.js +2 -0
  94. package/dist/cdn/{4FZ4IAPL.js → NBVIGTR7.js} +1 -1
  95. package/dist/cdn/{4UMLJTUD.js → NCI5CMYE.js} +1 -1
  96. package/dist/cdn/{P7JISRFX.js → NFER2CWJ.js} +1 -1
  97. package/dist/cdn/{CLRULE43.js → NUK55ZZ5.js} +1 -1
  98. package/dist/cdn/{SNPNJWEW.js → OHIN4KCU.js} +1 -1
  99. package/dist/cdn/OLYGDPEW.js +2 -0
  100. package/dist/cdn/{ICMAOGTU.js → OO3T24WP.js} +1 -1
  101. package/dist/cdn/ORLHLWJQ.js +2 -0
  102. package/dist/cdn/{WL5U5CAI.js → P6NMMVED.js} +1 -1
  103. package/dist/cdn/{WSAN54E7.js → P7CHT5MB.js} +1 -1
  104. package/dist/cdn/{TQUEVR5G.js → QA4JBRQF.js} +1 -1
  105. package/dist/cdn/{5HLB5EA2.js → QII4DMIB.js} +1 -1
  106. package/dist/cdn/{WNQPFJIY.js → QNV6J5E7.js} +1 -1
  107. package/dist/cdn/QQQ4XVOM.js +2 -0
  108. package/dist/cdn/QRAFTVPJ.js +2 -0
  109. package/dist/cdn/{A2HZCAZE.js → R5OJIDB6.js} +1 -1
  110. package/dist/cdn/RJ6JENWK.js +2 -0
  111. package/dist/cdn/{TJCT3W5Z.js → RLHBDF4V.js} +1 -1
  112. package/dist/cdn/{UNGXK2Y7.js → RWLNOF6V.js} +1 -1
  113. package/dist/cdn/{A5ST5PJ5.js → S62BCFBA.js} +1 -1
  114. package/dist/cdn/{GV4HF2GT.js → SDLJ2WAX.js} +1 -1
  115. package/dist/cdn/SFH6ANCF.js +2 -0
  116. package/dist/cdn/{UBAD7GRA.js → SI56MY7Q.js} +1 -1
  117. package/dist/cdn/{MJYIEJPU.js → SMZ2ZORV.js} +2 -2
  118. package/dist/cdn/SNGGG7FD.js +2 -0
  119. package/dist/cdn/{646E35Z7.js → SWRI7BSF.js} +1 -1
  120. package/dist/cdn/{TCLL6YSI.js → TCDBO2BE.js} +1 -1
  121. package/dist/cdn/{LA4S2O5W.js → TFIPBSXB.js} +1 -1
  122. package/dist/cdn/THRRGHTM.js +2 -0
  123. package/dist/cdn/{AOIJ5WKT.js → TPMUBBLR.js} +1 -1
  124. package/dist/cdn/{ABGIEQOM.js → TQSA5HN6.js} +1 -1
  125. package/dist/cdn/TQYGI7O4.js +4 -0
  126. package/dist/cdn/{M7XQTF3M.js → TTOHBNNF.js} +1 -1
  127. package/dist/cdn/{E6YUUO2H.js → TXVKQEZW.js} +1 -1
  128. package/dist/cdn/TYX3FZAF.js +2 -0
  129. package/dist/cdn/{MVJ7QDW6.js → U42D6C4Y.js} +1 -1
  130. package/dist/cdn/U6FG3DCW.js +2 -0
  131. package/dist/cdn/{D5CSONNZ.js → UADZMW3G.js} +1 -1
  132. package/dist/cdn/{5MIR5GO7.js → UDUEFY4H.js} +1 -1
  133. package/dist/cdn/{HEXBGK66.js → UM6MGJRJ.js} +1 -1
  134. package/dist/cdn/{T4E43QYP.js → UML33FPY.js} +1 -1
  135. package/dist/cdn/{PB2LBPTM.js → URAXEQY4.js} +1 -1
  136. package/dist/cdn/{Z2I526XO.js → UUDCO37F.js} +1 -1
  137. package/dist/cdn/{LDM5UMZM.js → UUDUO3NV.js} +1 -1
  138. package/dist/cdn/{QV5MMPOA.js → VBGDIK4L.js} +1 -1
  139. package/dist/cdn/VCRESLPM.js +2 -0
  140. package/dist/cdn/{FMAUG4J6.js → VPKDM54C.js} +1 -1
  141. package/dist/cdn/{AZBJOEWG.js → VYQTGTRF.js} +1 -1
  142. package/dist/cdn/W42XLSER.js +2 -0
  143. package/dist/cdn/{OF5Q7FRP.js → W4PBGG53.js} +1 -1
  144. package/dist/cdn/W6CL72LN.js +2 -0
  145. package/dist/cdn/{CXNLXDLW.js → WA7IUOYU.js} +1 -1
  146. package/dist/cdn/WEVTZJPH.js +2 -0
  147. package/dist/cdn/{FMV55CW5.js → WF5XAE3M.js} +1 -1
  148. package/dist/cdn/WMH7TCIP.js +2 -0
  149. package/dist/cdn/WOTMBIQE.js +2 -0
  150. package/dist/cdn/{VNYFKVJ2.js → WQDUJLSY.js} +1 -1
  151. package/dist/cdn/WSFJMJKU.js +2 -0
  152. package/dist/cdn/{XUPZR2SQ.js → WVQJOSGR.js} +1 -1
  153. package/dist/cdn/{GBFRPLDY.js → X4F7SYRQ.js} +1 -1
  154. package/dist/cdn/X7M3MX36.js +2 -0
  155. package/dist/cdn/{TLCRVU3X.js → XAEEIDZQ.js} +1 -1
  156. package/dist/cdn/{WIWQH44O.js → XGCBKRFU.js} +1 -1
  157. package/dist/cdn/{ZNYLFGEB.js → XMYIWNY6.js} +1 -1
  158. package/dist/cdn/XZHBWJTY.js +2 -0
  159. package/dist/cdn/{AC4VLUR7.js → YHOPKV64.js} +1 -1
  160. package/dist/cdn/{GHWKTOPC.js → YRKL7O2R.js} +1 -1
  161. package/dist/cdn/{QZF3RIPB.js → YRNFO3WV.js} +1 -1
  162. package/dist/cdn/{ENZYELFC.js → Z3J2NO3P.js} +1 -1
  163. package/dist/cdn/{B3FETUUC.js → Z6N4FCMR.js} +1 -1
  164. package/dist/cdn/{WTL3FIGS.js → ZHSOQIU2.js} +1 -1
  165. package/dist/cdn/assets/coordinate-conversion/t9n/messages.ar.json +1 -1
  166. package/dist/cdn/assets/coordinate-conversion/t9n/messages.bg.json +1 -1
  167. package/dist/cdn/assets/coordinate-conversion/t9n/messages.bs.json +1 -1
  168. package/dist/cdn/assets/coordinate-conversion/t9n/messages.ca.json +1 -1
  169. package/dist/cdn/assets/coordinate-conversion/t9n/messages.cs.json +1 -1
  170. package/dist/cdn/assets/coordinate-conversion/t9n/messages.da.json +1 -1
  171. package/dist/cdn/assets/coordinate-conversion/t9n/messages.de.json +1 -1
  172. package/dist/cdn/assets/coordinate-conversion/t9n/messages.el.json +1 -1
  173. package/dist/cdn/assets/coordinate-conversion/t9n/messages.en.json +1 -1
  174. package/dist/cdn/assets/coordinate-conversion/t9n/messages.es.json +1 -1
  175. package/dist/cdn/assets/coordinate-conversion/t9n/messages.et.json +1 -1
  176. package/dist/cdn/assets/coordinate-conversion/t9n/messages.fi.json +1 -1
  177. package/dist/cdn/assets/coordinate-conversion/t9n/messages.fr.json +1 -1
  178. package/dist/cdn/assets/coordinate-conversion/t9n/messages.he.json +1 -1
  179. package/dist/cdn/assets/coordinate-conversion/t9n/messages.hr.json +1 -1
  180. package/dist/cdn/assets/coordinate-conversion/t9n/messages.hu.json +1 -1
  181. package/dist/cdn/assets/coordinate-conversion/t9n/messages.id.json +1 -1
  182. package/dist/cdn/assets/coordinate-conversion/t9n/messages.it.json +1 -1
  183. package/dist/cdn/assets/coordinate-conversion/t9n/messages.ja.json +1 -1
  184. package/dist/cdn/assets/coordinate-conversion/t9n/messages.ko.json +1 -1
  185. package/dist/cdn/assets/coordinate-conversion/t9n/messages.lt.json +1 -1
  186. package/dist/cdn/assets/coordinate-conversion/t9n/messages.lv.json +1 -1
  187. package/dist/cdn/assets/coordinate-conversion/t9n/messages.nl.json +1 -1
  188. package/dist/cdn/assets/coordinate-conversion/t9n/messages.no.json +1 -1
  189. package/dist/cdn/assets/coordinate-conversion/t9n/messages.pl.json +1 -1
  190. package/dist/cdn/assets/coordinate-conversion/t9n/messages.pt-BR.json +1 -1
  191. package/dist/cdn/assets/coordinate-conversion/t9n/messages.pt-PT.json +1 -1
  192. package/dist/cdn/assets/coordinate-conversion/t9n/messages.ro.json +1 -1
  193. package/dist/cdn/assets/coordinate-conversion/t9n/messages.ru.json +1 -1
  194. package/dist/cdn/assets/coordinate-conversion/t9n/messages.sk.json +1 -1
  195. package/dist/cdn/assets/coordinate-conversion/t9n/messages.sl.json +1 -1
  196. package/dist/cdn/assets/coordinate-conversion/t9n/messages.sr.json +1 -1
  197. package/dist/cdn/assets/coordinate-conversion/t9n/messages.sv.json +1 -1
  198. package/dist/cdn/assets/coordinate-conversion/t9n/messages.th.json +1 -1
  199. package/dist/cdn/assets/coordinate-conversion/t9n/messages.tr.json +1 -1
  200. package/dist/cdn/assets/coordinate-conversion/t9n/messages.uk.json +1 -1
  201. package/dist/cdn/assets/coordinate-conversion/t9n/messages.vi.json +1 -1
  202. package/dist/cdn/assets/coordinate-conversion/t9n/messages.zh-CN.json +1 -1
  203. package/dist/cdn/assets/coordinate-conversion/t9n/messages.zh-HK.json +1 -1
  204. package/dist/cdn/assets/coordinate-conversion/t9n/messages.zh-TW.json +1 -1
  205. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.ar.json +1 -0
  206. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.bg.json +1 -0
  207. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.bs.json +1 -0
  208. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.ca.json +1 -0
  209. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.cs.json +1 -0
  210. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.da.json +1 -0
  211. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.de.json +1 -0
  212. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.el.json +1 -0
  213. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.en.json +1 -0
  214. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.es.json +1 -0
  215. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.et.json +1 -0
  216. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.fi.json +1 -0
  217. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.fr.json +1 -0
  218. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.he.json +1 -0
  219. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.hr.json +1 -0
  220. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.hu.json +1 -0
  221. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.id.json +1 -0
  222. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.it.json +1 -0
  223. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.ja.json +1 -0
  224. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.ko.json +1 -0
  225. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.lt.json +1 -0
  226. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.lv.json +1 -0
  227. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.nl.json +1 -0
  228. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.no.json +1 -0
  229. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.pl.json +1 -0
  230. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.pt-BR.json +1 -0
  231. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.pt-PT.json +1 -0
  232. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.ro.json +1 -0
  233. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.ru.json +1 -0
  234. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.sk.json +1 -0
  235. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.sl.json +1 -0
  236. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.sr.json +1 -0
  237. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.sv.json +1 -0
  238. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.th.json +1 -0
  239. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.tr.json +1 -0
  240. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.uk.json +1 -0
  241. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.vi.json +1 -0
  242. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.zh-CN.json +1 -0
  243. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.zh-HK.json +1 -0
  244. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.zh-TW.json +1 -0
  245. package/dist/cdn/assets/feature-templates/t9n/messages.ar.json +1 -0
  246. package/dist/cdn/assets/feature-templates/t9n/messages.bg.json +1 -0
  247. package/dist/cdn/assets/feature-templates/t9n/messages.bs.json +1 -0
  248. package/dist/cdn/assets/feature-templates/t9n/messages.ca.json +1 -0
  249. package/dist/cdn/assets/feature-templates/t9n/messages.cs.json +1 -0
  250. package/dist/cdn/assets/feature-templates/t9n/messages.da.json +1 -0
  251. package/dist/cdn/assets/feature-templates/t9n/messages.de.json +1 -0
  252. package/dist/cdn/assets/feature-templates/t9n/messages.el.json +1 -0
  253. package/dist/cdn/assets/feature-templates/t9n/messages.en.json +1 -0
  254. package/dist/cdn/assets/feature-templates/t9n/messages.es.json +1 -0
  255. package/dist/cdn/assets/feature-templates/t9n/messages.et.json +1 -0
  256. package/dist/cdn/assets/feature-templates/t9n/messages.fi.json +1 -0
  257. package/dist/cdn/assets/feature-templates/t9n/messages.fr.json +1 -0
  258. package/dist/cdn/assets/feature-templates/t9n/messages.he.json +1 -0
  259. package/dist/cdn/assets/feature-templates/t9n/messages.hr.json +1 -0
  260. package/dist/cdn/assets/feature-templates/t9n/messages.hu.json +1 -0
  261. package/dist/cdn/assets/feature-templates/t9n/messages.id.json +1 -0
  262. package/dist/cdn/assets/feature-templates/t9n/messages.it.json +1 -0
  263. package/dist/cdn/assets/feature-templates/t9n/messages.ja.json +1 -0
  264. package/dist/cdn/assets/feature-templates/t9n/messages.ko.json +1 -0
  265. package/dist/cdn/assets/feature-templates/t9n/messages.lt.json +1 -0
  266. package/dist/cdn/assets/feature-templates/t9n/messages.lv.json +1 -0
  267. package/dist/cdn/assets/feature-templates/t9n/messages.nl.json +1 -0
  268. package/dist/cdn/assets/feature-templates/t9n/messages.no.json +1 -0
  269. package/dist/cdn/assets/feature-templates/t9n/messages.pl.json +1 -0
  270. package/dist/cdn/assets/feature-templates/t9n/messages.pt-BR.json +1 -0
  271. package/dist/cdn/assets/feature-templates/t9n/messages.pt-PT.json +1 -0
  272. package/dist/cdn/assets/feature-templates/t9n/messages.ro.json +1 -0
  273. package/dist/cdn/assets/feature-templates/t9n/messages.ru.json +1 -0
  274. package/dist/cdn/assets/feature-templates/t9n/messages.sk.json +1 -0
  275. package/dist/cdn/assets/feature-templates/t9n/messages.sl.json +1 -0
  276. package/dist/cdn/assets/feature-templates/t9n/messages.sr.json +1 -0
  277. package/dist/cdn/assets/feature-templates/t9n/messages.sv.json +1 -0
  278. package/dist/cdn/assets/feature-templates/t9n/messages.th.json +1 -0
  279. package/dist/cdn/assets/feature-templates/t9n/messages.tr.json +1 -0
  280. package/dist/cdn/assets/feature-templates/t9n/messages.uk.json +1 -0
  281. package/dist/cdn/assets/feature-templates/t9n/messages.vi.json +1 -0
  282. package/dist/cdn/assets/feature-templates/t9n/messages.zh-CN.json +1 -0
  283. package/dist/cdn/assets/feature-templates/t9n/messages.zh-HK.json +1 -0
  284. package/dist/cdn/assets/feature-templates/t9n/messages.zh-TW.json +1 -0
  285. package/dist/cdn/index.js +1 -1
  286. package/dist/cdn/main.css +1 -1
  287. package/dist/chunks/esri-main.js +2 -2
  288. package/dist/chunks/slots.js +1 -1
  289. package/dist/chunks/time-utils.js +14 -14
  290. package/dist/chunks/useArcgisViewReadyError.js +60 -111
  291. package/dist/chunks/useLayerById.js +5 -5
  292. package/dist/components/arcgis-bookmarks/customElement.js +38 -38
  293. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +51 -110
  294. package/dist/components/arcgis-coordinate-conversion/customElement.js +198 -250
  295. package/dist/components/arcgis-coordinate-conversion/index.js +3 -12
  296. package/dist/components/arcgis-coordinate-conversion-next/customElement.d.ts +427 -0
  297. package/dist/components/arcgis-coordinate-conversion-next/customElement.js +361 -0
  298. package/dist/components/arcgis-coordinate-conversion-next/index.d.ts +1 -0
  299. package/dist/components/arcgis-coordinate-conversion-next/index.js +19 -0
  300. package/dist/components/arcgis-coordinate-conversion-next/types.d.ts +1 -0
  301. package/dist/components/arcgis-daylight/customElement.d.ts +1 -0
  302. package/dist/components/arcgis-daylight/customElement.js +258 -226
  303. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +20 -20
  304. package/dist/components/arcgis-directions/customElement.d.ts +5 -5
  305. package/dist/components/arcgis-directions/customElement.js +3 -3
  306. package/dist/components/arcgis-elevation-profile/customElement.d.ts +14 -0
  307. package/dist/components/arcgis-elevation-profile/customElement.js +77 -75
  308. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
  309. package/dist/components/arcgis-elevation-profile-settings/customElement.js +21 -21
  310. package/dist/components/arcgis-expand/customElement.js +5 -5
  311. package/dist/components/arcgis-feature/customElement.d.ts +4 -1
  312. package/dist/components/arcgis-feature-next/customElement.d.ts +27 -65
  313. package/dist/components/arcgis-feature-table/customElement.d.ts +36 -20
  314. package/dist/components/arcgis-feature-table/customElement.js +36 -30
  315. package/dist/components/arcgis-feature-templates/customElement.d.ts +277 -0
  316. package/dist/components/arcgis-feature-templates/customElement.js +511 -0
  317. package/dist/components/arcgis-feature-templates/index.d.ts +1 -0
  318. package/dist/components/arcgis-feature-templates/index.js +13 -0
  319. package/dist/components/arcgis-features/customElement.d.ts +14 -28
  320. package/dist/components/arcgis-features-next/customElement.d.ts +67 -126
  321. package/dist/components/arcgis-features-next/customElement.js +70 -64
  322. package/dist/components/arcgis-features-next/index.js +1 -0
  323. package/dist/components/arcgis-layer-list/customElement.d.ts +3 -0
  324. package/dist/components/arcgis-layer-list-next/customElement.d.ts +319 -32
  325. package/dist/components/arcgis-layer-list-next/customElement.js +7 -3
  326. package/dist/components/arcgis-layer-list-next/layer-list-item/customElement.js +27 -24
  327. package/dist/components/arcgis-legend/customElement.js +6 -6
  328. package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
  329. package/dist/components/arcgis-legend-classic-view/customElement.js +16 -16
  330. package/dist/components/arcgis-link-chart/customElement.d.ts +35 -4
  331. package/dist/components/arcgis-link-chart/customElement.js +11 -11
  332. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.js +1 -1
  333. package/dist/components/arcgis-map/customElement.d.ts +102 -42
  334. package/dist/components/arcgis-map/customElement.js +9 -9
  335. package/dist/components/arcgis-measurement-content/customElement.js +5 -5
  336. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +12 -12
  337. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +23 -20
  338. package/dist/components/arcgis-paste/PasteViewModel.d.ts +2 -2
  339. package/dist/components/arcgis-paste/customElement.js +27 -38
  340. package/dist/components/arcgis-paste/index.js +1 -1
  341. package/dist/components/arcgis-popup/customElement.d.ts +26 -29
  342. package/dist/components/arcgis-popup/customElement.js +9 -9
  343. package/dist/components/arcgis-print/customElement.js +10 -4
  344. package/dist/components/arcgis-print-dpi-input/customElement.js +22 -14
  345. package/dist/components/arcgis-scene/customElement.d.ts +34 -3
  346. package/dist/components/arcgis-scene/customElement.js +24 -24
  347. package/dist/components/arcgis-search/customElement.d.ts +7 -0
  348. package/dist/components/arcgis-search/customElement.js +38 -38
  349. package/dist/components/arcgis-sketch-tooltip-controls/customElement.js +1 -1
  350. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +10 -10
  351. package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +6 -6
  352. package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +6 -6
  353. package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +10 -10
  354. package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +10 -10
  355. package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +10 -10
  356. package/dist/components/arcgis-slider-scale-range/customElement.d.ts +1 -1
  357. package/dist/components/arcgis-slider-scale-range/customElement.js +65 -31
  358. package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +10 -10
  359. package/dist/components/arcgis-template-image/customElement.d.ts +14 -0
  360. package/dist/components/arcgis-template-image/customElement.js +122 -0
  361. package/dist/components/arcgis-template-image/index.d.ts +1 -0
  362. package/dist/components/arcgis-template-image/index.js +2 -0
  363. package/dist/components/arcgis-unit-radio-button-group/customElement.js +1 -1
  364. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +1 -2
  365. package/dist/components/arcgis-utility-network-trace-location/customElement.js +16 -16
  366. package/dist/components/arcgis-version-management/customElement.d.ts +9 -1
  367. package/dist/components/arcgis-version-management/customElement.js +21 -20
  368. package/dist/components/arcgis-version-management/index.js +1 -0
  369. package/dist/components/arcgis-version-management-version-properties/customElement.js +7 -4
  370. package/dist/components/arcgis-video/customElement.d.ts +15 -2
  371. package/dist/components/arcgis-video/customElement.js +5 -5
  372. package/dist/components/arcgis-video-player/customElement.d.ts +7 -0
  373. package/dist/components/arcgis-video-player/customElement.js +14 -11
  374. package/dist/components/arcgis-video-player-controls-group/customElement.js +19 -17
  375. package/dist/components/arcgis-video-player-settings/customElement.js +20 -18
  376. package/dist/components/arcgis-video-player-settings/index.js +1 -0
  377. package/dist/components/arcgis-weather/customElement.js +112 -104
  378. package/dist/docs/api.json +1 -1
  379. package/dist/docs/docs.json +1 -1
  380. package/dist/docs/vscode.html-custom-data.json +1 -1
  381. package/dist/docs/web-types.json +1 -1
  382. package/dist/index.d.ts +24 -0
  383. package/dist/loader.js +16 -13
  384. package/dist/types/lumina.d.ts +32 -10
  385. package/dist/types/preact.d.ts +35 -10
  386. package/dist/types/react.d.ts +38 -10
  387. package/dist/types/stencil.d.ts +32 -10
  388. package/package.json +7 -7
  389. package/dist/cdn/25DYY7HH.js +0 -2
  390. package/dist/cdn/274IEJH2.js +0 -2
  391. package/dist/cdn/4XR7RDUC.js +0 -2
  392. package/dist/cdn/4XVCI45D.js +0 -2
  393. package/dist/cdn/65P3TECS.js +0 -2
  394. package/dist/cdn/6DIRMUKS.js +0 -2
  395. package/dist/cdn/7HVDHWKE.js +0 -2
  396. package/dist/cdn/7LPXFLXF.js +0 -2
  397. package/dist/cdn/AKNID6WJ.js +0 -2
  398. package/dist/cdn/AU2KKQT7.js +0 -2
  399. package/dist/cdn/CPQQEWKH.js +0 -2
  400. package/dist/cdn/CZ3FVANK.js +0 -2
  401. package/dist/cdn/FNOJC6RY.js +0 -2
  402. package/dist/cdn/GSXZL5BA.js +0 -2
  403. package/dist/cdn/IBTOXDST.js +0 -2
  404. package/dist/cdn/ICPGYJTW.js +0 -2
  405. package/dist/cdn/IGXBF2RY.js +0 -2
  406. package/dist/cdn/IHDWD72J.js +0 -2
  407. package/dist/cdn/JFVZHHIX.js +0 -2
  408. package/dist/cdn/JH45FDUO.js +0 -2
  409. package/dist/cdn/JK33HXYG.js +0 -2
  410. package/dist/cdn/KRJOFH5A.js +0 -4
  411. package/dist/cdn/L5SSZOSL.js +0 -2
  412. package/dist/cdn/M4CPJTHZ.js +0 -2
  413. package/dist/cdn/MF5STJJO.js +0 -2
  414. package/dist/cdn/MHRXFE7S.js +0 -2
  415. package/dist/cdn/NLHFLEWT.js +0 -2
  416. package/dist/cdn/OFUAKDTE.js +0 -2
  417. package/dist/cdn/PECOFR7Q.js +0 -2
  418. package/dist/cdn/PMZAIPWC.js +0 -2
  419. package/dist/cdn/RAQVHNVI.js +0 -2
  420. package/dist/cdn/TFLKRVDZ.js +0 -2
  421. package/dist/cdn/UZ3CMTNE.js +0 -2
  422. package/dist/cdn/UZWPHO3G.js +0 -2
  423. package/dist/cdn/W2ANYMK4.js +0 -2
  424. package/dist/cdn/WTGXVWSL.js +0 -2
  425. package/dist/cdn/YJCBT5VK.js +0 -2
  426. package/dist/cdn/YJDTB6TD.js +0 -2
  427. package/dist/cdn/YMUQ7JSB.js +0 -2
  428. package/dist/cdn/ZCULSTYU.js +0 -2
  429. /package/dist/cdn/{3IBA2E3M.js → 2IJFHZMD.js} +0 -0
  430. /package/dist/cdn/{7EFRKXP6.js → 2KJOV5HK.js} +0 -0
  431. /package/dist/cdn/{IJMXE77N.js → 2SUHVYCI.js} +0 -0
  432. /package/dist/cdn/{VF6C5V2D.js → 2YXRZJMN.js} +0 -0
  433. /package/dist/cdn/{YDJ7YXWL.js → 3JMCA4ZR.js} +0 -0
  434. /package/dist/cdn/{2EP5VXD6.js → 4GKDVLBA.js} +0 -0
  435. /package/dist/cdn/{HGQ44436.js → 4XU4I5VY.js} +0 -0
  436. /package/dist/cdn/{GIM5WRSV.js → 5DCYVSSO.js} +0 -0
  437. /package/dist/cdn/{VQSQJFKX.js → 5UPND3OG.js} +0 -0
  438. /package/dist/cdn/{2TRD5SF7.js → 6CGHMQTL.js} +0 -0
  439. /package/dist/cdn/{SMZ3OJKR.js → AQB6HLVS.js} +0 -0
  440. /package/dist/cdn/{342CXNII.js → B4A4RH4L.js} +0 -0
  441. /package/dist/cdn/{7JIQFRV4.js → B5D6OPEJ.js} +0 -0
  442. /package/dist/cdn/{WP4KFUY3.js → C3LA23CB.js} +0 -0
  443. /package/dist/cdn/{COD4GW2E.js → C436KPG7.js} +0 -0
  444. /package/dist/cdn/{IYDUUPIY.js → CGISH4NH.js} +0 -0
  445. /package/dist/cdn/{R2EB7EHT.js → DF5Q25A7.js} +0 -0
  446. /package/dist/cdn/{V4CD5PGC.js → DIZDIIUN.js} +0 -0
  447. /package/dist/cdn/{DXLEA2EP.js → DJ3VJDLN.js} +0 -0
  448. /package/dist/cdn/{4JEJXGJU.js → DVZKG2WC.js} +0 -0
  449. /package/dist/cdn/{TBYXPWDW.js → EFUEICKE.js} +0 -0
  450. /package/dist/cdn/{7RZWWLDN.js → ELJCC3WK.js} +0 -0
  451. /package/dist/cdn/{527J47AJ.js → EPLP4YMK.js} +0 -0
  452. /package/dist/cdn/{E4CZXX27.js → F7DW6VHH.js} +0 -0
  453. /package/dist/cdn/{RVUYYH7M.js → FBXUEXNZ.js} +0 -0
  454. /package/dist/cdn/{XX2NQ7F7.js → FZYHVESP.js} +0 -0
  455. /package/dist/cdn/{3N4S6FME.js → HAADLXJX.js} +0 -0
  456. /package/dist/cdn/{RKUTQD6Q.js → HQZQCK6J.js} +0 -0
  457. /package/dist/cdn/{73S5NFVN.js → L3L24SIA.js} +0 -0
  458. /package/dist/cdn/{M63QHTM6.js → LM6ZA4HA.js} +0 -0
  459. /package/dist/cdn/{UPU33OD4.js → LXZ2GZTN.js} +0 -0
  460. /package/dist/cdn/{6R766RG6.js → O263Z4SH.js} +0 -0
  461. /package/dist/cdn/{NBH6PROL.js → O4PQUMJR.js} +0 -0
  462. /package/dist/cdn/{W2JV27PM.js → PU6QKY7I.js} +0 -0
  463. /package/dist/cdn/{7NPPDW6X.js → TW24OEJB.js} +0 -0
  464. /package/dist/cdn/{3X7ZHD6L.js → UJA6BLTS.js} +0 -0
  465. /package/dist/cdn/{EACNQTOQ.js → UUCYWMS2.js} +0 -0
  466. /package/dist/cdn/{NT3F6SCH.js → VKIVTDAN.js} +0 -0
  467. /package/dist/cdn/{ECVDZYOP.js → WBNMJ4VE.js} +0 -0
  468. /package/dist/cdn/{PE2SVZDC.js → WGGJPXPR.js} +0 -0
  469. /package/dist/cdn/{AXN2DJ6L.js → YJMFI5UV.js} +0 -0
  470. /package/dist/cdn/{M7EKIG3O.js → YLLLSHFK.js} +0 -0
@@ -0,0 +1,511 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import { c as T } from "../../chunks/runtime.js";
3
+ import { css as g, html as o } from "lit";
4
+ import { LitElement as b, createEvent as h } from "@arcgis/lumina";
5
+ import { u as w } from "../../chunks/useT9n.js";
6
+ import { u as F } from "../../chunks/useView.js";
7
+ import { m as M } from "../../chunks/useViewModel.js";
8
+ import { property as l, subclass as S } from "@arcgis/core/core/accessorSupport/decorators.js";
9
+ import _ from "@arcgis/core/core/Accessor.js";
10
+ import u from "@arcgis/core/editing/templates/TemplateListItem.js";
11
+ import { getAllStandardFeatureTemplatesForLayer as $, getTemplatesForLayers as x } from "@arcgis/core/applications/Components/templateUtils.js";
12
+ import { i as y, c as v } from "../../chunks/layer-utils.js";
13
+ import { isTable as m, getEffectiveLayerCapabilities as B } from "@arcgis/core/applications/Components/layerUtils.js";
14
+ import { usePropertyChange as D } from "@arcgis/lumina/controllers";
15
+ import { watch as f } from "@arcgis/core/core/reactiveUtils.js";
16
+ import { debounce as L } from "@arcgis/toolkit/function";
17
+ const E = g`:host{display:flex;position:relative;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.filter-no-results{padding:var(--calcite-spacing-md) var(--calcite-spacing-lg)}.root{display:flex;flex:1 1 auto;overflow:hidden auto;transition:max-height .25s ease-in-out}.root>*{width:100%;box-sizing:border-box}.feature-template-tabs{--calcite-tab-background-color: transparent}`;
18
+ var U = Object.defineProperty, I = Object.getOwnPropertyDescriptor, a = (t, e, i, r) => {
19
+ for (var n = r > 1 ? void 0 : r ? I(e, i) : e, p = t.length - 1, c; p >= 0; p--)
20
+ (c = t[p]) && (n = (r ? c(e, i, n) : c(n)) || n);
21
+ return r && n && U(e, i, n), n;
22
+ };
23
+ function C(t) {
24
+ switch (t) {
25
+ case "point":
26
+ case "multipoint":
27
+ case "polyline":
28
+ case "polygon":
29
+ case "extent":
30
+ case "mesh":
31
+ return t;
32
+ }
33
+ return "noneSpecified";
34
+ }
35
+ const R = (t) => C(t.layer.geometryType ?? "");
36
+ let s = class extends _ {
37
+ //#region Lifecycle
38
+ constructor(t) {
39
+ super(t), this._hasRunInitialLoad = !1, this.favoritesEnabled = !1, this.recentlyUsedEnabled = !1, this.hideTemplateDescription = !1, this.filterText = "", this.recentFilterText = "", this.favoritesFilterText = "", this.display = "grouped", this.groupBy = "layer", this.hideTemplatesMode = "never", this.disableTemplatesMode = "never", this.sectionSortBy = "system", this.templateSortBy = "alphabetical", this.sharedTemplatesDisabled = !1, this.excludeTables = !1, this.favorites = /* @__PURE__ */ new Set(), this.fetchingTemplateMetaData = !1, this.recentlyUsed = [];
40
+ }
41
+ //#endregion
42
+ //#region Public methods
43
+ /*
44
+ * The template source has changed. This maybe because layers
45
+ * have been added or removed, the map changed or application templates
46
+ * supplied.
47
+ */
48
+ async handleTemplateSourceDefinitionChanged() {
49
+ if (this._hasRunInitialLoad = !1, this.applicationTemplates) {
50
+ await this._restore();
51
+ return;
52
+ }
53
+ try {
54
+ this.fetchingTemplateMetaData = !0;
55
+ const t = this.activeLayers;
56
+ if (await Promise.allSettled(t.map((e) => e.load())), this.sharedTemplatesDisabled) {
57
+ const e = [];
58
+ for (const i of t) {
59
+ const r = $(i);
60
+ r.length > 0 && e.push({
61
+ layer: i,
62
+ templates: r
63
+ });
64
+ }
65
+ this.mapTemplates = e;
66
+ return;
67
+ }
68
+ this.mapTemplates = await x(t, this.view, void 0, {
69
+ returnVisibleTemplatesOnly: !0
70
+ }), await this._restore();
71
+ } catch {
72
+ this.mapTemplates = [];
73
+ } finally {
74
+ this.fetchingTemplateMetaData = !1;
75
+ }
76
+ }
77
+ get loading() {
78
+ return !this._hasRunInitialLoad || this.layers !== void 0 || this.applicationTemplates !== void 0 || !this.view?.ready;
79
+ }
80
+ /*
81
+ * Add a favorite
82
+ */
83
+ async addFavorite(t) {
84
+ this.favorites.add(t.id), this.favorites = new Set(this.favorites);
85
+ }
86
+ /*
87
+ * Remove a favorite
88
+ */
89
+ async removeFavorite(t) {
90
+ this.favorites.delete(t.id), this.favorites = new Set(this.favorites);
91
+ }
92
+ /*
93
+ * Add a recently selected Template
94
+ */
95
+ addRecent(t) {
96
+ if (!this.recentlyUsedEnabled)
97
+ return;
98
+ const e = this.recentlyUsed.filter((i) => i !== t.id);
99
+ e.unshift(t.id) > 20 && (e.length = 20), this.recentlyUsed = e;
100
+ }
101
+ /*
102
+ * Remove a favorite
103
+ */
104
+ async removeRecent(t) {
105
+ this.recentlyUsed = this.recentlyUsed.filter((e) => e !== t.id);
106
+ }
107
+ //#endregion
108
+ //#region Private methods
109
+ /*
110
+ * Restore favorites and recents, if there is a provider.
111
+ */
112
+ async _restore() {
113
+ try {
114
+ if (this.favoritesEnabled && this.restoreFavorites) {
115
+ const t = await this.restoreFavorites();
116
+ this.favorites = new Set(t ?? []);
117
+ }
118
+ } catch {
119
+ }
120
+ try {
121
+ if (this.recentlyUsedEnabled && this.restoreRecentlyUsed) {
122
+ const t = await this.restoreRecentlyUsed();
123
+ this.recentlyUsed = t ?? [];
124
+ }
125
+ } catch {
126
+ }
127
+ }
128
+ /*
129
+ * Sort the templates based on a function or alphabetical.
130
+ */
131
+ _sortTemplates(t) {
132
+ if (this.templateSortByFunction) {
133
+ const e = this.templateSortByFunction(t) ?? null;
134
+ return e === null ? t : e;
135
+ }
136
+ return this.templateSortBy === "alphabetical" ? t.toSorted((e, i) => e.label.localeCompare(i.label)) : t;
137
+ }
138
+ /*
139
+ * Sort the sections based on a function or alphabetical, and sort the templates within the sections as well.
140
+ */
141
+ _sortSections(t) {
142
+ if (this.sectionSortByFunction) {
143
+ const e = this.sectionSortByFunction(t);
144
+ e && (t = e);
145
+ } else if (this.sectionSortBy === "alphabetical")
146
+ t = t.toSorted((e, i) => e.sectionName.localeCompare(i.sectionName));
147
+ else if (this.groupBy === "geometry" && !this.groupByFunction) {
148
+ const e = {
149
+ point: 1,
150
+ multipoint: 2,
151
+ polyline: 3,
152
+ polygon: 4,
153
+ extent: 5,
154
+ mesh: 6,
155
+ noneSpecified: 7
156
+ };
157
+ t = t.toSorted((i, r) => {
158
+ const n = e[i.sectionName] ?? 10, p = e[r.sectionName] ?? 10;
159
+ return n - p;
160
+ });
161
+ }
162
+ for (const e of t)
163
+ e.templates = this._sortTemplates(e.templates);
164
+ return t;
165
+ }
166
+ _layerIsVisibleAtCurrentScale(t) {
167
+ if (!this.view)
168
+ return !0;
169
+ let e = t;
170
+ y(t) && (e = t.parent);
171
+ const i = this.view.allLayerViews.find((r) => r.layer === e);
172
+ if (!i)
173
+ return !0;
174
+ if (y(t)) {
175
+ const r = this.view.scale;
176
+ if (i.visibleAtCurrentScale) {
177
+ const n = t.minScale, p = t.maxScale;
178
+ let c = !n, d = !p;
179
+ return !c && r <= n && (c = !0), !d && r >= p && (d = !0), c && d;
180
+ }
181
+ }
182
+ return i.visibleAtCurrentScale;
183
+ }
184
+ get activeLayers() {
185
+ const t = [];
186
+ for (const e of this.layers ?? [])
187
+ if (v(e))
188
+ for (const i of e.sublayers)
189
+ t.push(i);
190
+ else
191
+ t.push(e);
192
+ if (this.layers === void 0 || this.layers === null) {
193
+ for (const e of [
194
+ ...this.view?.map?.allLayers?.slice(0).reverse() ?? [],
195
+ ...this.excludeTables ? [] : this.view?.map?.allTables?.slice(0).reverse() ?? []
196
+ ])
197
+ if (e.type === "feature" || e.type === "scene" || e.type === "geojson" || e.type === "oriented-imagery" || e.type === "knowledge-graph")
198
+ t.push(e);
199
+ else if (v(e))
200
+ for (const i of e.sublayers)
201
+ t.push(i);
202
+ }
203
+ return t;
204
+ }
205
+ get selectedTemplate() {
206
+ return this.allTemplates.find((t) => t.id === this.selectedTemplateId);
207
+ }
208
+ get effectiveTemplates() {
209
+ return this.templates.map((t) => ({ ...t, templates: t.templates.filter((e) => this.inclusionFilter(e)) })).filter((t) => t.templates.length > 0);
210
+ }
211
+ get templateList() {
212
+ return this._sortTemplates(this.effectiveTemplates.flatMap((t) => t.templates));
213
+ }
214
+ get allTemplates() {
215
+ return this._sortTemplates(this.templates.flatMap((t) => t.templates));
216
+ }
217
+ inclusionFilter(t) {
218
+ if (this.excludeTables && m(t.layer) || this.applicationFilterFunction?.(t) === !1)
219
+ return !1;
220
+ const e = B(t.layer)?.operations;
221
+ return e?.supportsEditing === !1 && !e?.supportsAdd ? !1 : m(t.layer) ? !0 : !(this.hideTemplatesMode === "visible" && !t.layer.visible || this.hideTemplatesMode === "scale" && !this._layerIsVisibleAtCurrentScale(t.layer));
222
+ }
223
+ get templateSetKey() {
224
+ return this._sortTemplates(this.allTemplates).map((t) => t.id).join(",");
225
+ }
226
+ get disabledTemplates() {
227
+ const t = /* @__PURE__ */ new Set();
228
+ for (const e of this.allTemplates) {
229
+ if (this.applicationDisabledFunction && this.applicationDisabledFunction(e)) {
230
+ t.add(e);
231
+ continue;
232
+ }
233
+ if (!m(e.layer)) {
234
+ if (this.disableTemplatesMode === "visible" && !e.layer.visible) {
235
+ t.add(e);
236
+ continue;
237
+ }
238
+ if (this.disableTemplatesMode === "scale" && this.view && !this._layerIsVisibleAtCurrentScale(e.layer)) {
239
+ t.add(e);
240
+ continue;
241
+ }
242
+ }
243
+ }
244
+ return t;
245
+ }
246
+ get templates() {
247
+ return this.applicationTemplates ?? this.organizedMapTemplates;
248
+ }
249
+ get organizedMapTemplates() {
250
+ if (this.groupByFunction || this.groupBy === "geometry") {
251
+ const t = !this.groupByFunction, e = this.groupByFunction ?? R, i = /* @__PURE__ */ new Map();
252
+ for (const r of this.mapTemplates ?? [])
253
+ for (const n of r.templates) {
254
+ const p = new u({ template: n, layer: r.layer }), c = e(p);
255
+ if (c != null)
256
+ if (i.has(c))
257
+ i.get(c)?.templates.push(p);
258
+ else {
259
+ const d = {
260
+ sectionName: c,
261
+ ...t ? { autoTranslate: !0 } : {},
262
+ templates: [p]
263
+ };
264
+ i.set(c, d);
265
+ }
266
+ }
267
+ return this._sortSections(Array.from(i.values()));
268
+ }
269
+ return this._sortSections(
270
+ (this.mapTemplates ?? []).map(({ layer: t, templates: e }) => ({
271
+ sectionName: t.title ?? "",
272
+ templates: e.map((i) => new u({ layer: t, template: i }))
273
+ })).filter((t) => t.templates.length > 0)
274
+ );
275
+ }
276
+ get updating() {
277
+ return this.fetchingTemplateMetaData;
278
+ }
279
+ get favoriteTemplates() {
280
+ const t = [];
281
+ for (const e of this.effectiveTemplates)
282
+ for (const i of e.templates)
283
+ this.favorites.has(i.id) && t.push(i);
284
+ return t;
285
+ }
286
+ get recentTemplates() {
287
+ const t = /* @__PURE__ */ new Map();
288
+ for (const i of this.effectiveTemplates)
289
+ for (const r of i.templates)
290
+ t.set(r.id, r);
291
+ const e = [];
292
+ for (const i of this.recentlyUsed)
293
+ t.has(i) && e.push(t.get(i));
294
+ return e;
295
+ }
296
+ //#endregion
297
+ };
298
+ a([
299
+ l()
300
+ ], s.prototype, "loading", 1);
301
+ a([
302
+ l()
303
+ ], s.prototype, "_hasRunInitialLoad", 2);
304
+ a([
305
+ l()
306
+ ], s.prototype, "activeLayers", 1);
307
+ a([
308
+ l()
309
+ ], s.prototype, "favoritesEnabled", 2);
310
+ a([
311
+ l()
312
+ ], s.prototype, "recentlyUsedEnabled", 2);
313
+ a([
314
+ l()
315
+ ], s.prototype, "hideTemplateDescription", 2);
316
+ a([
317
+ l()
318
+ ], s.prototype, "filterText", 2);
319
+ a([
320
+ l()
321
+ ], s.prototype, "recentFilterText", 2);
322
+ a([
323
+ l()
324
+ ], s.prototype, "favoritesFilterText", 2);
325
+ a([
326
+ l()
327
+ ], s.prototype, "selectedTemplateId", 2);
328
+ a([
329
+ l()
330
+ ], s.prototype, "selectedTemplate", 1);
331
+ a([
332
+ l()
333
+ ], s.prototype, "layers", 2);
334
+ a([
335
+ l()
336
+ ], s.prototype, "restoreFavorites", 2);
337
+ a([
338
+ l()
339
+ ], s.prototype, "restoreRecentlyUsed", 2);
340
+ a([
341
+ l()
342
+ ], s.prototype, "applicationDisabledFunction", 2);
343
+ a([
344
+ l()
345
+ ], s.prototype, "applicationFilterFunction", 2);
346
+ a([
347
+ l()
348
+ ], s.prototype, "display", 2);
349
+ a([
350
+ l()
351
+ ], s.prototype, "groupBy", 2);
352
+ a([
353
+ l()
354
+ ], s.prototype, "hideTemplatesMode", 2);
355
+ a([
356
+ l()
357
+ ], s.prototype, "disableTemplatesMode", 2);
358
+ a([
359
+ l()
360
+ ], s.prototype, "groupByFunction", 2);
361
+ a([
362
+ l()
363
+ ], s.prototype, "sectionSortBy", 2);
364
+ a([
365
+ l()
366
+ ], s.prototype, "templateSortBy", 2);
367
+ a([
368
+ l()
369
+ ], s.prototype, "sectionSortByFunction", 2);
370
+ a([
371
+ l()
372
+ ], s.prototype, "templateSortByFunction", 2);
373
+ a([
374
+ l()
375
+ ], s.prototype, "sharedTemplatesDisabled", 2);
376
+ a([
377
+ l()
378
+ ], s.prototype, "excludeTables", 2);
379
+ a([
380
+ l()
381
+ ], s.prototype, "favorites", 2);
382
+ a([
383
+ l()
384
+ ], s.prototype, "effectiveTemplates", 1);
385
+ a([
386
+ l()
387
+ ], s.prototype, "templateList", 1);
388
+ a([
389
+ l()
390
+ ], s.prototype, "allTemplates", 1);
391
+ a([
392
+ l()
393
+ ], s.prototype, "templateSetKey", 1);
394
+ a([
395
+ l()
396
+ ], s.prototype, "disabledTemplates", 1);
397
+ a([
398
+ l()
399
+ ], s.prototype, "templates", 1);
400
+ a([
401
+ l()
402
+ ], s.prototype, "mapTemplates", 2);
403
+ a([
404
+ l()
405
+ ], s.prototype, "organizedMapTemplates", 1);
406
+ a([
407
+ l()
408
+ ], s.prototype, "fetchingTemplateMetaData", 2);
409
+ a([
410
+ l()
411
+ ], s.prototype, "updating", 1);
412
+ a([
413
+ l()
414
+ ], s.prototype, "applicationTemplates", 2);
415
+ a([
416
+ l()
417
+ ], s.prototype, "favoriteTemplates", 1);
418
+ a([
419
+ l()
420
+ ], s.prototype, "recentTemplates", 1);
421
+ a([
422
+ l()
423
+ ], s.prototype, "recentlyUsed", 2);
424
+ a([
425
+ l()
426
+ ], s.prototype, "view", 2);
427
+ s = a([
428
+ S("components.feature-templates.FeatureTemplatesViewModel")
429
+ ], s);
430
+ const A = M(s);
431
+ class P extends b {
432
+ constructor() {
433
+ super(...arguments), this._messages = w(), this.viewModel = A(this), this.favoritesEnabled = this.viewModel.favoritesEnabled, this.favorites = this.viewModel.favorites, this.restoreFavorites = this.viewModel.restoreFavorites, this.restoreRecentlyUsed = this.viewModel.restoreRecentlyUsed, this.recentlyUsed = this.viewModel.recentlyUsed, this.sharedTemplatesDisabled = this.viewModel.sharedTemplatesDisabled, this.filterText = this.viewModel.filterText, this.recentFilterText = this.viewModel.recentFilterText, this.favoritesFilterText = this.viewModel.favoritesFilterText, this.recentlyUsedEnabled = this.viewModel.recentlyUsedEnabled, this.excludeTables = this.viewModel.excludeTables, this.effectiveTemplates = this.viewModel.effectiveTemplates, this.applicationTemplates = this.viewModel.applicationTemplates, this.selectedTemplateId = this.viewModel.selectedTemplateId, this.selectedTemplate = this.viewModel.selectedTemplate, this.applicationFilterFunction = this.viewModel.applicationFilterFunction, this.applicationDisabledFunction = this.viewModel.applicationDisabledFunction, this.display = this.viewModel.display, this.groupBy = this.viewModel.groupBy, this.sectionSortBy = this.viewModel.sectionSortBy, this.templateSortBy = this.viewModel.templateSortBy, this.templateSortByFunction = this.viewModel.templateSortByFunction, this.sectionSortByFunction = this.viewModel.sectionSortByFunction, this.hideTemplatesMode = this.viewModel.hideTemplatesMode, this.disableTemplatesMode = this.viewModel.disableTemplatesMode, this.groupByFunction = this.viewModel.groupByFunction, this.hideTemplateDescription = this.viewModel.hideTemplateDescription, this.layers = this.viewModel.layers, this.view = F(this), this.autoDestroyDisabled = !1, this.updating = this.viewModel.updating, this.disabled = !1, this.showCollapseButton = !1, this.showFilter = !1, this.arcgisPropertyChange = D()("effectiveTemplates", "filterText", "recentlyUsed", "favorites"), this.arcgisReady = h(), this.arcgisTemplatesChanged = h(), this.arcgisSelectTemplate = h();
434
+ }
435
+ static {
436
+ this.properties = { favoritesEnabled: 5, favorites: 32, restoreFavorites: 0, restoreRecentlyUsed: 0, recentlyUsed: 32, sharedTemplatesDisabled: 5, filterText: 1, recentFilterText: 1, favoritesFilterText: 1, recentlyUsedEnabled: 5, excludeTables: 5, effectiveTemplates: 32, applicationTemplates: 0, selectedTemplateId: 1, selectedTemplate: 32, applicationFilterFunction: 0, applicationDisabledFunction: 0, display: 1, groupBy: 1, sectionSortBy: 1, templateSortBy: 1, templateSortByFunction: 0, sectionSortByFunction: 0, hideTemplatesMode: 1, disableTemplatesMode: 1, groupByFunction: 0, hideTemplateDescription: 5, layers: 0, view: 0, referenceElement: 1, autoDestroyDisabled: 5, updating: 32, disabled: 5, showCollapseButton: 5, showFilter: 5 };
437
+ }
438
+ static {
439
+ this.styles = E;
440
+ }
441
+ async destroy() {
442
+ await this.manager.destroy();
443
+ }
444
+ loaded() {
445
+ this.manager.onLifecycle(() => [
446
+ // Ensure the view is always mapped to the viewmodel
447
+ f(() => this.view, () => {
448
+ this.viewModel.view = this.view;
449
+ }, { initial: !0 }),
450
+ f(() => this.viewModel.templateSetKey, () => {
451
+ this.arcgisTemplatesChanged.emit();
452
+ }),
453
+ // Watch if the list of active layers changes. This will trigger a reload
454
+ f(() => [
455
+ this.viewModel.activeLayers?.map((e) => e.id).join(","),
456
+ this.viewModel?.applicationTemplates,
457
+ this.viewModel?.sharedTemplatesDisabled
458
+ ], L(() => (
459
+ // Trigger refetching of templates
460
+ this.viewModel.handleTemplateSourceDefinitionChanged()
461
+ ), 10), { initial: !0 })
462
+ ]);
463
+ }
464
+ _handleSelectTemplate(e) {
465
+ this.selectedTemplateId = e.id, this.arcgisSelectTemplate.emit({ template: e }), this.viewModel.addRecent(e);
466
+ }
467
+ _removeTemplateFromList(e, i) {
468
+ if (i === "favorites") {
469
+ this.viewModel.removeFavorite(e);
470
+ return;
471
+ }
472
+ this.viewModel.removeRecent(e);
473
+ }
474
+ _renderTemplates() {
475
+ return this.effectiveTemplates.length === 0 ? o`<calcite-notice icon=list open class="filter-no-results"><div slot=message>${this._messages.noTemplates}</div></calcite-notice>` : o`<calcite-list .filterPlaceholder=${this._messages.filterPlaceholder ?? ""} .filterText=${this.filterText} .label=${this._messages?.templates ?? ""} .filterEnabled=${this.showFilter} selection-appearance=border selection-mode=single @calciteListFilter=${(e) => {
476
+ this.filterText = e.target.filterText;
477
+ }}>${this.display === "grouped" ? this.effectiveTemplates.map((e) => o`<calcite-list-item-group .heading=${e.autoTranslate ? this._messages[e.sectionName] ?? "" : e.sectionName}>${e.templates.map((i) => o`<calcite-list-item .disabled=${this.viewModel.disabledTemplates.has(i)} .label=${i.label} .selected=${i.id === this.selectedTemplateId} .description=${this.hideTemplateDescription ? void 0 : i.description} .value=${i.id} @calciteListItemSelect=${() => {
478
+ this._handleSelectTemplate(i);
479
+ }}><arcgis-template-image slot=content-start .template=${i}></arcgis-template-image>${this._renderAddFavorite(i)}</calcite-list-item>`)}</calcite-list-item-group>`) : this.viewModel.templateList.map((e) => o`<calcite-list-item .disabled=${this.viewModel.disabledTemplates.has(e)} .label=${e.label} .selected=${e.id === this.selectedTemplateId} .description=${this.hideTemplateDescription ? void 0 : e.description} .value=${e.id} @calciteListItemSelect=${() => {
480
+ this._handleSelectTemplate(e);
481
+ }}><arcgis-template-image slot=content-start .template=${e}></arcgis-template-image>${this._renderAddFavorite(e)}</calcite-list-item>`)}${this._renderFilteredEmpty()}</calcite-list>`;
482
+ }
483
+ _renderAddFavorite(e) {
484
+ return this.viewModel.favoritesEnabled ? o`<calcite-action slot=actions-end .icon=${this.viewModel.favorites.has(e.id) ? "heart-f" : "heart"} @click=${() => {
485
+ this.viewModel.favorites.has(e.id) ? this.viewModel.removeFavorite(e) : this.viewModel.addFavorite(e);
486
+ }} .text=${this._messages.addFavorite ?? ""}></calcite-action>` : "";
487
+ }
488
+ _renderList(e) {
489
+ const i = e === "favorites" ? this.viewModel.favoriteTemplates : this.viewModel.recentTemplates;
490
+ return i.length === 0 ? o`<calcite-notice icon=list open class="filter-no-results"><div slot=message>${e === "favorites" ? this._messages.noFavorites : this._messages.noRecent}</div></calcite-notice>` : o`<calcite-list .filterText=${e === "favorites" ? this.favoritesFilterText : this.recentFilterText} .filterPlaceholder=${this._messages.filterPlaceholder ?? ""} .label=${(e === "favorites" ? this._messages.favorites : this._messages.recent) ?? ""} .filterEnabled=${this.showFilter} selection-appearance=border selection-mode=single @calciteListFilter=${(r) => {
491
+ this.filterText = r.target.filterText;
492
+ }}>${i.map((r) => o`<calcite-list-item .disabled=${this.viewModel.disabledTemplates.has(r)} .label=${r.label} .description=${this.hideTemplateDescription ? void 0 : r.description} .value=${r.id} @calciteListItemSelect=${() => {
493
+ this._handleSelectTemplate(r);
494
+ }}><arcgis-template-image slot=content-start .template=${r}></arcgis-template-image><calcite-action slot=actions-end icon=x @click=${() => {
495
+ this._removeTemplateFromList(r, e);
496
+ }} .text=${(e === "favorites" ? this._messages.removeFavorite : this._messages.removeRecent) ?? ""}></calcite-action></calcite-list-item>`)}${this._renderFilteredEmpty()}</calcite-list>`;
497
+ }
498
+ _renderFilteredEmpty() {
499
+ return o`<calcite-notice icon=filter slot=filter-no-results open class="filter-no-results"><div slot=message>${this._messages.noMatchingTemplates}</div></calcite-notice>`;
500
+ }
501
+ _renderContent() {
502
+ return this.effectiveTemplates.length === 0 && this.viewModel.loading ? null : this.favoritesEnabled || this.recentlyUsedEnabled ? o`<calcite-tabs class="feature-template-tabs"><calcite-tab-nav slot=title-group><calcite-tab-title icon-start=templates selected>${this._messages.templates}</calcite-tab-title>${this.recentlyUsedEnabled ? o`<calcite-tab-title icon-start=clock>${this._messages.recent}</calcite-tab-title>` : ""}${this.favoritesEnabled ? o`<calcite-tab-title icon-start=heart>${this._messages.favorites}</calcite-tab-title>` : ""}</calcite-tab-nav><calcite-tab selected>${this._renderTemplates()}</calcite-tab><calcite-tab>${this._renderList("recent")}</calcite-tab><calcite-tab>${this._renderList("favorites")}</calcite-tab></calcite-tabs>` : this._renderTemplates();
503
+ }
504
+ render() {
505
+ return o`<div class="root">${this._renderContent()}${this.viewModel.updating || this.disabled ? o`<calcite-scrim><calcite-loader scale=s label .hidden=${!this.viewModel.updating}></calcite-loader></calcite-scrim>` : null}</div>`;
506
+ }
507
+ }
508
+ T("arcgis-feature-templates", P);
509
+ export {
510
+ P as ArcgisFeatureTemplates
511
+ };
@@ -0,0 +1 @@
1
+ export * from "./customElement.js";
@@ -0,0 +1,13 @@
1
+ import "@esri/calcite-components/components/calcite-notice";
2
+ import "@esri/calcite-components/components/calcite-list";
3
+ import "@esri/calcite-components/components/calcite-list-item-group";
4
+ import "@esri/calcite-components/components/calcite-list-item";
5
+ import "../arcgis-template-image/index.js";
6
+ import "@esri/calcite-components/components/calcite-action";
7
+ import "@esri/calcite-components/components/calcite-tabs";
8
+ import "@esri/calcite-components/components/calcite-tab-nav";
9
+ import "@esri/calcite-components/components/calcite-tab-title";
10
+ import "@esri/calcite-components/components/calcite-tab";
11
+ import "@esri/calcite-components/components/calcite-scrim";
12
+ import "@esri/calcite-components/components/calcite-loader";
13
+ export * from "./customElement.js";
@@ -33,9 +33,12 @@ import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.j
33
33
  * list of features to be displayed so the user can choose which feature content to display in the component. The component also respects
34
34
  * feature reduction PopupTemplates for [binning](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureReductionBinning/#popupTemplate) and [clustering](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureReductionCluster/#popupTemplate).
35
35
  *
36
- * The Features component should be used if needing to use the Popup functionality outside of the map or scene component. If wanting to show a single feature's content without
36
+ * The Features component should be used if needing to use the Popup functionality outside of the map or scene component. To show a single feature's content without
37
37
  * actions, related records, clustering configuration, etc., then use the [arcgis-feature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/) component.
38
38
  *
39
+ * > [!WARNING]
40
+ * > In version 6.0, the implementation of [arcgis-features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/) will be updated under the hood to that of [arcgis-features-next](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/), and deprecated properties on this component will be removed. We encourage using the [arcgis-features-next](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/) component and providing feedback.
41
+ *
39
42
  * @see [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/)
40
43
  * @since 4.28
41
44
  */
@@ -102,7 +105,7 @@ export abstract class ArcgisFeatures extends LitElement {
102
105
  */
103
106
  accessor defaultPopupTemplateEnabled: boolean;
104
107
  /**
105
- * The heading currently displayed for the selected feature. This value resolves to the [selected feature item's heading](https://developers.arcgis.com/javascript/latest/references/core/popup/Features/#effectiveHeading) when available, otherwise it falls back to the component's [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#heading).
108
+ * The heading currently displayed for the selected feature. This value resolves to the selected feature's [PopupTemplate title](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/#title) when available, otherwise it falls back to the component's [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#heading).
106
109
  *
107
110
  * @since 5.1
108
111
  * @see [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#heading)
@@ -137,9 +140,9 @@ export abstract class ArcgisFeatures extends LitElement {
137
140
  */
138
141
  accessor featureNavigationTop: boolean;
139
142
  /**
140
- * An array of features associated with the component. Each graphic in this array must have a valid [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) set. They may share the same [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) or have unique [PopupTemplates](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) depending on their attributes. The [content](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#content) and [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#heading) of the component is set based on the `content` and `title` properties of each graphic's respective [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/).
143
+ * An array of graphics associated with the component. Each graphic in this array must have a valid [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) set. They may share the same [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) or have unique [PopupTemplates](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) depending on their attributes. The [content](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#content) and [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#heading) of the component is set based on the `content` and `title` properties of each graphic's respective [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/).
141
144
  *
142
- * When more than one graphic exists in this array, the current content of the component is set based on the value of the [selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#selectedFeature)).
145
+ * When more than one graphic exists in this array, the current content of the component is set based on the value of the [selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#selectedFeature).
143
146
  *
144
147
  * This value is `null` if no features are associated with the component.
145
148
  *
@@ -278,7 +281,7 @@ export abstract class ArcgisFeatures extends LitElement {
278
281
  */
279
282
  accessor hideFieldsContent: boolean;
280
283
  /**
281
- * Indicates whether to hide the heading in the component.
284
+ * Indicates whether to hide the component's [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#heading).
282
285
  *
283
286
  * @default false
284
287
  */
@@ -468,11 +471,8 @@ export abstract class ArcgisFeatures extends LitElement {
468
471
  /**
469
472
  * Indicates whether the component is visible. This property is `true` when the component is querying for results, even if it is not open. Use this property to check if the component is visible.
470
473
  *
471
- * When setting the [content](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#content) and [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#heading) directly, it is recommended to call [clear()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#clear) before setting `open` to `true` to remove any existing promises, features, heading, location, and content from the component. Otherwise, the old content will display.
472
- *
473
474
  * @default false
474
- * @see [fetchFeatures()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#fetchFeatures)
475
- * @see [active](https://developers.arcgis.com/javascript/latest/references/core/popup/Features/#active)
475
+ * @see [active](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#active)
476
476
  * @see [clear()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#clear)
477
477
  * @since 5.0
478
478
  * @example
@@ -480,7 +480,6 @@ export abstract class ArcgisFeatures extends LitElement {
480
480
  * // Listen for clicks on the view and open the component at the clicked location with custom content.
481
481
  * viewElement.addEventListener("arcgisViewClick", (event) => {
482
482
  * const { mapPoint } = event.detail;
483
- * component.clear();
484
483
  * component.location = mapPoint;
485
484
  * component.heading = "You clicked here";
486
485
  * component.content = "Latitude: " + mapPoint.latitude.toFixed(3) + ", Longitude: " + mapPoint.longitude.toFixed(3);
@@ -494,6 +493,8 @@ export abstract class ArcgisFeatures extends LitElement {
494
493
  * no pending promises, the value is `null`. When the pending promises are
495
494
  * resolved they are removed from this array and the features they return
496
495
  * are pushed into the [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#features) array.
496
+ *
497
+ * @deprecated since 5.1.
497
498
  */
498
499
  accessor promises: Array<Promise<Array<Graphic>>>;
499
500
  /**
@@ -564,7 +565,7 @@ export abstract class ArcgisFeatures extends LitElement {
564
565
  */
565
566
  accessor timeZone: string;
566
567
  /**
567
- * Indicates whether to update the [location](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#location) when the [selectedFeatureIndex](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#selectedFeatureIndex) changes.
568
+ * Indicates whether to update the component's location when the [selectedFeatureIndex](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#selectedFeatureIndex) changes.
568
569
  *
569
570
  * @default false
570
571
  * @since 5.0
@@ -577,7 +578,6 @@ export abstract class ArcgisFeatures extends LitElement {
577
578
  * - Content is displayed from the popup template of an [aggregate feature](https://developers.arcgis.com/javascript/latest/references/core/Graphic/#isAggregate) (i.e. a [cluster](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureReductionCluster/) or [bin](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureReductionBinning/)).
578
579
  * - Values from `date` and `timestamp-offset` fields should respect the view's [time zone](https://developers.arcgis.com/javascript/latest/references/core/views/View/#timeZone).
579
580
  * Alternatively, set the [timeZone](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#timeZone) property.
580
- * - Using the [fetchFeatures()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#fetchFeatures) method or the `fetchFeatures` option in the [open](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#open) method.
581
581
  * - Using the `Zoom to` default action. If the `view` is not specified, set the [includeDefaultActionsDisabled](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#includeDefaultActionsDisabled) property to `true` to remove this default action.
582
582
  *
583
583
  * @since 4.34
@@ -600,25 +600,11 @@ export abstract class ArcgisFeatures extends LitElement {
600
600
  /**
601
601
  * Use this method to return feature(s) at a given screen location. These features are fetched from all of the [LayerViews](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LayerView/) in the [view](https://developers.arcgis.com/javascript/latest/references/core/views/View/). In order to use this, a layer must already have an associated [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) and have its [popupEnabled](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#popupEnabled). This method allows a developer to control how the input location is handled. For example, you may want to fetch features on a `click` event or on a `pointer-move` event. This method automatically sets the location based on the input event's screen coordinates.
602
602
  *
603
+ * @deprecated since 5.1. Use the `fetchPopupFeatures` method on the [Map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#fetchPopupFeatures), [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#fetchPopupFeatures), or [Link Chart](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/#fetchPopupFeatures) component to fetch features based on a screen location.
603
604
  * @param screenPoint
604
605
  * @param options
606
+ * @deprecated
605
607
  * @see [open](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#open)
606
- * @example
607
- * ```js
608
- * const viewElement = document.querySelector("arcgis-map");
609
- * // Get viewElement's click event
610
- * reactiveUtils.on(()=>viewElement, "arcgisViewClick", async (event)=>{
611
- * // Call fetchFeatures on the component and pass in the click event detail
612
- * await component.fetchFeatures(event.detail);
613
- * });
614
- * // Watch for changes to the features property and open the component when features are available.
615
- * reactiveUtils.watch(
616
- * () => component.features,
617
- * () => {
618
- * component.open = component.features ? true : false;
619
- * },
620
- * );
621
- * ```
622
608
  */
623
609
  fetchFeatures(screenPoint?: ScreenPoint, options?: FetchFeaturesOptions): Promise<void>;
624
610
  /**