@arcgis/map-components 4.34.0-next.133 → 4.34.0-next.135

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 (572) hide show
  1. package/dist/cdn/{LOL2IS6N.js → 24G4KXF4.js} +2 -2
  2. package/dist/cdn/{S5HHBRBG.js → 264NOLBX.js} +2 -2
  3. package/dist/cdn/{XFOMKQBM.js → 2A5SP3FY.js} +2 -2
  4. package/dist/cdn/{OPI2P667.js → 2BJON3MS.js} +2 -2
  5. package/dist/cdn/2NFD3DLX.js +4 -0
  6. package/dist/cdn/2WOVVHNS.js +4 -0
  7. package/dist/cdn/32GN4GF6.js +4 -0
  8. package/dist/cdn/3EWV2UDG.js +4 -0
  9. package/dist/cdn/3KBDOGHF.js +4 -0
  10. package/dist/cdn/3ZNR75MJ.js +4 -0
  11. package/dist/cdn/{3L66IRCG.js → 4CJ777MB.js} +2 -2
  12. package/dist/cdn/{OKTJ26YW.js → 4HX3NLQ5.js} +2 -2
  13. package/dist/cdn/{FTKUTQFI.js → 4OHWKEBH.js} +2 -2
  14. package/dist/cdn/{I7TF7AUF.js → 4QIHENSS.js} +2 -2
  15. package/dist/cdn/4QNNS53Y.js +4 -0
  16. package/dist/cdn/{EQLQJ6MB.js → 55RLV3XN.js} +2 -2
  17. package/dist/cdn/{SMPFHXUH.js → 57UAA5RQ.js} +2 -2
  18. package/dist/cdn/{46ETRS3K.js → 5AOHDKA5.js} +2 -2
  19. package/dist/cdn/{PYL7Z2W7.js → 5DSKIMHA.js} +2 -2
  20. package/dist/cdn/{GTXGX2VL.js → 5F6DTRLQ.js} +2 -2
  21. package/dist/cdn/{LKBBTZBH.js → 5KYPGW4S.js} +2 -2
  22. package/dist/cdn/5T5GV4GI.js +4 -0
  23. package/dist/cdn/5TU3LUBS.js +4 -0
  24. package/dist/cdn/64L5YHK2.js +4 -0
  25. package/dist/cdn/64PCOXHU.js +4 -0
  26. package/dist/cdn/{DPT27LMS.js → 66AU52N3.js} +2 -2
  27. package/dist/cdn/{PMI55QLI.js → 6PHRGCCS.js} +2 -2
  28. package/dist/cdn/6V5CIFPF.js +4 -0
  29. package/dist/cdn/{74SUH53T.js → 6W26HVIN.js} +2 -2
  30. package/dist/cdn/{ARSQ2M6R.js → 6ZCZBY2B.js} +2 -2
  31. package/dist/cdn/72YLQ2CB.js +4 -0
  32. package/dist/cdn/{YLRX44WW.js → 757V342B.js} +2 -2
  33. package/dist/cdn/{AJCOE4FW.js → 7G6CHYW5.js} +2 -2
  34. package/dist/cdn/{QREAX6T4.js → 7I3DAAV3.js} +2 -2
  35. package/dist/cdn/7ICOHWUX.js +4 -0
  36. package/dist/cdn/{WJMTBFOT.js → 7JOTCTMB.js} +2 -2
  37. package/dist/cdn/{BQDX5X62.js → 7NCUHQ4Q.js} +2 -2
  38. package/dist/cdn/7SH234WN.js +4 -0
  39. package/dist/cdn/{A3O3VXYT.js → 7SJJDINO.js} +2 -2
  40. package/dist/cdn/{SOAJC5OE.js → 7SYH3CBS.js} +2 -2
  41. package/dist/cdn/{HDL5KPOZ.js → 7YLHJUKW.js} +2 -2
  42. package/dist/cdn/A2Z2OVCJ.js +4 -0
  43. package/dist/cdn/A5XFBRR4.js +4 -0
  44. package/dist/cdn/AC4F7N6Z.js +4 -0
  45. package/dist/cdn/{TRHJKH4Y.js → AHSOTRYK.js} +2 -2
  46. package/dist/cdn/ANRWYRKZ.js +4 -0
  47. package/dist/cdn/{N2GGOJYR.js → BBHGEMM6.js} +2 -2
  48. package/dist/cdn/{SEP5SEJA.js → BERCN4WK.js} +2 -2
  49. package/dist/cdn/BHKKC7I3.js +4 -0
  50. package/dist/cdn/{QJRMFXTR.js → BZ64WIOC.js} +2 -2
  51. package/dist/cdn/{FKJ5GRT2.js → C2LLHWNX.js} +2 -2
  52. package/dist/cdn/{KVDMXAG7.js → C43Z7ZK5.js} +2 -2
  53. package/dist/cdn/{ZOYDWFG2.js → CAM63JR6.js} +2 -2
  54. package/dist/cdn/{CGI4SPUC.js → CGL53F3M.js} +2 -2
  55. package/dist/cdn/CUXZRRNQ.js +4 -0
  56. package/dist/cdn/{DHYV7QYP.js → D3J7GOCH.js} +2 -2
  57. package/dist/cdn/{IML6V74T.js → D4NWB6DX.js} +2 -2
  58. package/dist/cdn/D5KP4JLY.js +4 -0
  59. package/dist/cdn/{QI5R4SWT.js → D5NTDQ3O.js} +2 -2
  60. package/dist/cdn/{AIV3S2HK.js → D6T5ALXG.js} +2 -2
  61. package/dist/cdn/D7U2T34S.js +4 -0
  62. package/dist/cdn/DBBSW6MT.js +4 -0
  63. package/dist/cdn/{4TADWPXC.js → DJE3X6R7.js} +2 -2
  64. package/dist/cdn/{VRWIVXKN.js → DOKXCLLT.js} +2 -2
  65. package/dist/cdn/DYIIIKP4.js +4 -0
  66. package/dist/cdn/DZFFQGVC.js +4 -0
  67. package/dist/cdn/{NZXTSKAO.js → E3OCCK4M.js} +2 -2
  68. package/dist/cdn/EBZSGQYG.js +4 -0
  69. package/dist/cdn/{TJBW6LMV.js → EFDM7AQ5.js} +2 -2
  70. package/dist/cdn/EHI67J76.js +4 -0
  71. package/dist/cdn/EQMK75JU.js +4 -0
  72. package/dist/cdn/{SZRR3V4F.js → ETMOWVT6.js} +2 -2
  73. package/dist/cdn/{5YV2ME2C.js → EU36DQG5.js} +2 -2
  74. package/dist/cdn/{MJBYXK4R.js → F4RW4VP6.js} +2 -2
  75. package/dist/cdn/F4VZQC52.js +4 -0
  76. package/dist/cdn/{4XK46X44.js → F6W46JTS.js} +2 -2
  77. package/dist/cdn/FB67RDMQ.js +4 -0
  78. package/dist/cdn/{TNRTOBB7.js → FBO7P2RW.js} +2 -2
  79. package/dist/cdn/FL4MZSJR.js +4 -0
  80. package/dist/cdn/{OVLRLYZG.js → FMKKP2ZS.js} +2 -2
  81. package/dist/cdn/FNCZ3ZJK.js +4 -0
  82. package/dist/cdn/FWZXXV64.js +4 -0
  83. package/dist/cdn/{VYD63UBY.js → FYV3WPAV.js} +2 -2
  84. package/dist/cdn/{6FDOTFMC.js → G443PEPV.js} +2 -2
  85. package/dist/cdn/{BP5IKO2W.js → GEHNQE6L.js} +2 -2
  86. package/dist/cdn/{SZVINOSR.js → GIJMJVL3.js} +2 -2
  87. package/dist/cdn/{JYMNGGAN.js → GS5LA5GX.js} +1 -1
  88. package/dist/cdn/{KD6CNBIX.js → GUIKE26S.js} +2 -2
  89. package/dist/cdn/{H7OJ3ADS.js → HDV6ELSV.js} +2 -2
  90. package/dist/cdn/{QP5XD7EP.js → HGPEH3VF.js} +1 -1
  91. package/dist/cdn/HN4AT6JQ.js +4 -0
  92. package/dist/cdn/I2AB3ZHX.js +4 -0
  93. package/dist/cdn/{ZG2QLCVN.js → IEDCOT4Z.js} +2 -2
  94. package/dist/cdn/{2IJEHLYV.js → IJREQ7LE.js} +2 -2
  95. package/dist/cdn/{FOQSPMMT.js → ITGNHGFO.js} +2 -2
  96. package/dist/cdn/{CRDFDB4R.js → ITSAYHM7.js} +1 -1
  97. package/dist/cdn/{RRFBG5HD.js → IYHY5KI2.js} +2 -2
  98. package/dist/cdn/J4BW42ZE.js +4 -0
  99. package/dist/cdn/{JWTWQYMT.js → J7HG4ZH4.js} +2 -2
  100. package/dist/cdn/{5KY5FNP3.js → JNGGQPSW.js} +2 -2
  101. package/dist/cdn/{PPGQ7KJ2.js → JOUYINWG.js} +2 -2
  102. package/dist/cdn/{GDXUZGJL.js → JS4DD37B.js} +2 -2
  103. package/dist/cdn/{H4YVZYJF.js → K3DLY7YD.js} +2 -2
  104. package/dist/cdn/{KIUNSHU2.js → KHND5PEY.js} +2 -2
  105. package/dist/cdn/KIIHE4GM.js +4 -0
  106. package/dist/cdn/{O6VHOOAC.js → KJ7C22DL.js} +3 -3
  107. package/dist/cdn/KLOJICVI.js +4 -0
  108. package/dist/cdn/{M72S34GW.js → KTJ7BNX6.js} +2 -2
  109. package/dist/cdn/KUFO6RJ4.js +4 -0
  110. package/dist/cdn/{FC5KUYKW.js → KURHJODN.js} +2 -2
  111. package/dist/cdn/KWPHHM2X.js +4 -0
  112. package/dist/cdn/{LWK56WWB.js → KZNPXDP5.js} +2 -2
  113. package/dist/cdn/L3Y3BPRR.js +4 -0
  114. package/dist/cdn/{6MRAWRE5.js → L7GBHPKE.js} +2 -2
  115. package/dist/cdn/{BLO3PH63.js → L7QT7WG6.js} +1 -1
  116. package/dist/cdn/L7THQQXD.js +4 -0
  117. package/dist/cdn/{DZCXVCEA.js → LHSHAI3I.js} +1 -1
  118. package/dist/cdn/{DKVRCSPL.js → LI77S7L5.js} +1 -1
  119. package/dist/cdn/{QUVHG4VI.js → LUGCCBM4.js} +2 -2
  120. package/dist/cdn/{KD4F5NQR.js → LVFAANQ5.js} +1 -1
  121. package/dist/cdn/M5HPQTUP.js +4 -0
  122. package/dist/cdn/MLU4LLAN.js +4 -0
  123. package/dist/cdn/{FEQGF7DG.js → MN4TRI2D.js} +2 -2
  124. package/dist/cdn/{UPZIPW6L.js → MNXKIZHM.js} +2 -2
  125. package/dist/cdn/{ESQCPXNG.js → MPSSP4H3.js} +2 -2
  126. package/dist/cdn/{Y7TJKEQJ.js → MQAJ2B2M.js} +2 -2
  127. package/dist/cdn/{SRKZXRDQ.js → N7BVQ6RN.js} +2 -2
  128. package/dist/cdn/NHEID6C7.js +4 -0
  129. package/dist/cdn/{CEILZGTG.js → NRV6ZVQT.js} +2 -2
  130. package/dist/cdn/NUJBYA6R.js +4 -0
  131. package/dist/cdn/{PRRW75AG.js → NVUG33B6.js} +2 -2
  132. package/dist/cdn/{ZXKVHQCT.js → NZDV4UUN.js} +2 -2
  133. package/dist/cdn/{K54GN2OA.js → O4ZHDDL5.js} +2 -2
  134. package/dist/cdn/{EVZACT2Q.js → OLF4UO6H.js} +2 -2
  135. package/dist/cdn/{DXCCOUDT.js → ONFSDX3Z.js} +2 -2
  136. package/dist/cdn/{7TVV3P7P.js → ONL7EUL3.js} +2 -2
  137. package/dist/cdn/{454X6TWM.js → OOPLLTER.js} +2 -2
  138. package/dist/cdn/{5PLFYAP7.js → OQ5NKSMC.js} +2 -2
  139. package/dist/cdn/{XK44F75N.js → OT7W6BQB.js} +2 -2
  140. package/dist/cdn/OY54SPKL.js +4 -0
  141. package/dist/cdn/PC6DT567.js +4 -0
  142. package/dist/cdn/{GFTBGEHF.js → PD5IDQ7D.js} +2 -2
  143. package/dist/cdn/{2YY2TNL3.js → PHFF2DME.js} +2 -2
  144. package/dist/cdn/{XGJO7D77.js → PQBS7HYH.js} +2 -2
  145. package/dist/cdn/{YO5D24AF.js → PSREMJQR.js} +2 -2
  146. package/dist/cdn/{YXQM3OY4.js → PWLFY6B7.js} +2 -2
  147. package/dist/cdn/{GCD75UHB.js → PWM7DSFP.js} +2 -2
  148. package/dist/cdn/Q4DAYIDP.js +4 -0
  149. package/dist/cdn/{O4QZN6PX.js → QCLAADHB.js} +2 -2
  150. package/dist/cdn/{YZPYENRQ.js → QCWA3ZS3.js} +2 -2
  151. package/dist/cdn/{5XRDVKLQ.js → QKOQA623.js} +2 -2
  152. package/dist/cdn/{RAGSKOED.js → QRLTIUD2.js} +2 -2
  153. package/dist/cdn/QU6EUKD5.js +4 -0
  154. package/dist/cdn/{VNGPOITT.js → R5TXNP22.js} +2 -2
  155. package/dist/cdn/{KYUKYL7I.js → R7VUWD3S.js} +2 -2
  156. package/dist/cdn/{6RT63RR3.js → RDBBBBCG.js} +2 -2
  157. package/dist/cdn/{WP3NQCWY.js → RF5PSFKI.js} +2 -2
  158. package/dist/cdn/{7LHBDH44.js → RN43MDI3.js} +2 -2
  159. package/dist/cdn/{72VRO56J.js → RTHSQUH3.js} +2 -2
  160. package/dist/cdn/RVKWSYM4.js +4 -0
  161. package/dist/cdn/{U2LQNCA7.js → RZZJBZ74.js} +2 -2
  162. package/dist/cdn/{H2QBZPWQ.js → S2DXVBCK.js} +2 -2
  163. package/dist/cdn/{UPT6RSNI.js → S76VT3Z2.js} +2 -2
  164. package/dist/cdn/{V4YHBNOT.js → SFPNCIUP.js} +2 -2
  165. package/dist/cdn/SI7IEN5N.js +4 -0
  166. package/dist/cdn/SPVXZ5DW.js +4 -0
  167. package/dist/cdn/{YKICJUIU.js → SRFCJ4KP.js} +2 -2
  168. package/dist/cdn/STMFD7OE.js +4 -0
  169. package/dist/cdn/{73KR4UUG.js → STZLVHSH.js} +2 -2
  170. package/dist/cdn/{BFX2CXI3.js → SW4FXTYN.js} +2 -2
  171. package/dist/cdn/SZA23EJE.js +4 -0
  172. package/dist/cdn/T5UHCKZQ.js +4 -0
  173. package/dist/cdn/TGRHIFYX.js +4 -0
  174. package/dist/cdn/{5B6RPQW5.js → TH66C4YJ.js} +2 -2
  175. package/dist/cdn/{F5L564NB.js → TKGKESXY.js} +2 -2
  176. package/dist/cdn/TMVF2T6U.js +4 -0
  177. package/dist/cdn/{KG3A4QD7.js → TRSDIDJG.js} +2 -2
  178. package/dist/cdn/{KN6UIK2Q.js → TUVNY665.js} +1 -1
  179. package/dist/cdn/UOY7EBH4.js +4 -0
  180. package/dist/cdn/{FCGYD4F2.js → UPZMSWOV.js} +2 -2
  181. package/dist/cdn/{WWX6LKRR.js → USFXWQ7A.js} +2 -2
  182. package/dist/cdn/V22DWTVI.js +4 -0
  183. package/dist/cdn/{YZ4U4IWO.js → V4JZ434T.js} +1 -1
  184. package/dist/cdn/{PU6DA3OE.js → VFWDMDA4.js} +2 -2
  185. package/dist/cdn/VI4ZJU62.js +4 -0
  186. package/dist/cdn/{5LWU7TBO.js → VIYVJIVZ.js} +2 -2
  187. package/dist/cdn/VNNW3GJU.js +4 -0
  188. package/dist/cdn/W3B2PM2Z.js +4 -0
  189. package/dist/cdn/{ITYUH45Q.js → WMMA3Y5T.js} +2 -2
  190. package/dist/cdn/{Q3NEG6FB.js → WT7S4T2J.js} +2 -2
  191. package/dist/cdn/WVZWEUIS.js +4 -0
  192. package/dist/cdn/{IJ4OXERF.js → X2ZTYVSJ.js} +2 -2
  193. package/dist/cdn/{FD7TDTK7.js → XBKVHMXN.js} +2 -2
  194. package/dist/cdn/{GKMA7IAU.js → XKGVCJS7.js} +2 -2
  195. package/dist/cdn/{I7IE2OIU.js → XOQTZETE.js} +2 -2
  196. package/dist/cdn/{M7X6UEEV.js → XYKZOXXS.js} +2 -2
  197. package/dist/cdn/{5K6FVVGM.js → XZGYMLEG.js} +2 -2
  198. package/dist/cdn/{LETMD3L6.js → Y6Z6ESI6.js} +2 -2
  199. package/dist/cdn/{KYSXOKCO.js → YCVLRBJZ.js} +2 -2
  200. package/dist/cdn/{4QHSR24N.js → YHAVKIZ4.js} +2 -2
  201. package/dist/cdn/{35S344QP.js → YMENMSXM.js} +2 -2
  202. package/dist/cdn/{RR6GB7E5.js → YN3CIS3T.js} +2 -2
  203. package/dist/cdn/{CTQFFZJH.js → YODO4JMG.js} +2 -2
  204. package/dist/cdn/{KX4K5NCB.js → YPE3VKQ2.js} +2 -2
  205. package/dist/cdn/{7RKIIL6Q.js → YSDIKWKH.js} +2 -2
  206. package/dist/cdn/{OHQMB32N.js → Z2SKTWLG.js} +2 -2
  207. package/dist/cdn/{VPKP2LJT.js → ZCYRWXWO.js} +1 -1
  208. package/dist/cdn/{Z2IRJXHS.js → ZDPZJ6WF.js} +1 -1
  209. package/dist/cdn/{GNLXYSEG.js → ZEOFEXBN.js} +2 -2
  210. package/dist/cdn/ZHYT4QQD.js +4 -0
  211. package/dist/cdn/{LGC6RK6O.js → ZLTISH33.js} +1 -1
  212. package/dist/cdn/ZN5RNFDT.js +4 -0
  213. package/dist/cdn/ZPNSI43G.js +4 -0
  214. package/dist/cdn/{HZM7E55B.js → ZSDHEU3N.js} +2 -2
  215. package/dist/cdn/{6NQXSZ4F.js → ZU26UOHH.js} +2 -2
  216. package/dist/cdn/assets/coordinate-conversion/t9n/messages.en.json +1 -0
  217. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.en.json +1 -1
  218. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.en.json +1 -0
  219. package/dist/cdn/index.js +2 -2
  220. package/dist/cdn/main.css +1 -1
  221. package/dist/chunks/AnalysisViewModel.js +1 -1
  222. package/dist/chunks/action-utils.js +1 -1
  223. package/dist/chunks/async-utils.js +45 -38
  224. package/dist/chunks/basemap-gallery-resources.js +1 -1
  225. package/dist/chunks/chart-utils.js +1 -1
  226. package/dist/chunks/chartCommon.js +1 -1
  227. package/dist/chunks/component-utils.js +1 -1
  228. package/dist/chunks/createCloseEvent.js +1 -1
  229. package/dist/chunks/esri-main.js +2 -2
  230. package/dist/chunks/feature-utils.js +1 -1
  231. package/dist/chunks/globalCss.js +1 -1
  232. package/dist/chunks/heading.js +12 -12
  233. package/dist/chunks/layer-list.js +2 -2
  234. package/dist/chunks/legacyIcon.js +1 -1
  235. package/dist/chunks/maybe.js +1 -1
  236. package/dist/chunks/measurementUtils.js +1 -1
  237. package/dist/chunks/runtime.js +1 -1
  238. package/dist/chunks/screenLocation.js +1 -1
  239. package/dist/chunks/slots.js +8 -6
  240. package/dist/chunks/svgUtils.js +1 -1
  241. package/dist/chunks/uiController.js +45 -0
  242. package/dist/chunks/univariateUtils.js +1 -1
  243. package/dist/chunks/useHandles.js +1 -1
  244. package/dist/chunks/useT9n.js +1 -1
  245. package/dist/chunks/useView.js +1 -1
  246. package/dist/chunks/useViewModel.js +1 -1
  247. package/dist/chunks/useWidget.js +1 -1
  248. package/dist/chunks/utils.js +1 -1
  249. package/dist/chunks/utils2.js +1 -1
  250. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +56 -0
  251. package/dist/components/arcgis-area-measurement-2d/customElement.js +8 -8
  252. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +88 -0
  253. package/dist/components/arcgis-area-measurement-3d/customElement.js +14 -14
  254. package/dist/components/arcgis-attachments/customElement.d.ts +70 -0
  255. package/dist/components/arcgis-attachments/customElement.js +2 -2
  256. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +57 -0
  257. package/dist/components/arcgis-basemap-gallery/customElement.js +11 -11
  258. package/dist/components/arcgis-basemap-gallery-item/customElement.d.ts +1 -0
  259. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  260. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +151 -0
  261. package/dist/components/arcgis-basemap-layer-list/customElement.js +2 -2
  262. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +48 -0
  263. package/dist/components/arcgis-basemap-toggle/customElement.js +11 -11
  264. package/dist/components/arcgis-bookmarks/customElement.d.ts +256 -0
  265. package/dist/components/arcgis-bookmarks/customElement.js +13 -13
  266. package/dist/components/arcgis-building-explorer/customElement.d.ts +69 -0
  267. package/dist/components/arcgis-building-explorer/customElement.js +2 -2
  268. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +118 -0
  269. package/dist/components/arcgis-catalog-layer-list/customElement.js +2 -2
  270. package/dist/components/arcgis-compass/customElement.d.ts +52 -0
  271. package/dist/components/arcgis-compass/customElement.js +10 -10
  272. package/dist/components/arcgis-coordinate-conversion/css.d.ts +26 -0
  273. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +286 -40
  274. package/dist/components/arcgis-coordinate-conversion/customElement.js +319 -16
  275. package/dist/components/arcgis-coordinate-conversion/index.d.ts +7 -0
  276. package/dist/components/arcgis-coordinate-conversion/index.js +7 -0
  277. package/dist/components/arcgis-coordinate-conversion/interfaces.d.ts +20 -0
  278. package/dist/components/arcgis-daylight/animation.d.ts +7 -1
  279. package/dist/components/arcgis-daylight/customElement.d.ts +125 -8
  280. package/dist/components/arcgis-daylight/customElement.js +392 -295
  281. package/dist/components/arcgis-daylight/daylight-time-slider.d.ts +2 -0
  282. package/dist/components/arcgis-daylight/daylight-utils.d.ts +2 -2
  283. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +88 -0
  284. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +17 -17
  285. package/dist/components/arcgis-directional-pad/customElement.d.ts +67 -0
  286. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  287. package/dist/components/arcgis-directions/customElement.d.ts +91 -2
  288. package/dist/components/arcgis-directions/customElement.js +11 -11
  289. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +56 -0
  290. package/dist/components/arcgis-distance-measurement-2d/customElement.js +6 -6
  291. package/dist/components/arcgis-editor/customElement.d.ts +81 -0
  292. package/dist/components/arcgis-editor/customElement.js +2 -2
  293. package/dist/components/arcgis-elevation-profile/customElement.d.ts +101 -1
  294. package/dist/components/arcgis-elevation-profile/customElement.js +2 -2
  295. package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
  296. package/dist/components/arcgis-elevation-profile-legend-item/customElement.d.ts +3 -1
  297. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
  298. package/dist/components/arcgis-elevation-profile-next/customElement.d.ts +141 -1
  299. package/dist/components/arcgis-elevation-profile-next/customElement.js +11 -11
  300. package/dist/components/arcgis-elevation-profile-settings/customElement.d.ts +3 -0
  301. package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
  302. package/dist/components/arcgis-elevation-profile-statistics/customElement.d.ts +1 -1
  303. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
  304. package/dist/components/arcgis-expand/customElement.d.ts +151 -0
  305. package/dist/components/arcgis-expand/customElement.js +1 -1
  306. package/dist/components/arcgis-feature/customElement.d.ts +303 -0
  307. package/dist/components/arcgis-feature/customElement.js +104 -62
  308. package/dist/components/arcgis-feature-attachments/customElement.d.ts +1 -0
  309. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  310. package/dist/components/arcgis-feature-content/customElement.js +1 -1
  311. package/dist/components/arcgis-feature-element-info/customElement.d.ts +1 -0
  312. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  313. package/dist/components/arcgis-feature-expression/customElement.d.ts +1 -0
  314. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  315. package/dist/components/arcgis-feature-fields/customElement.d.ts +1 -0
  316. package/dist/components/arcgis-feature-fields/customElement.js +1 -1
  317. package/dist/components/arcgis-feature-form/customElement.d.ts +76 -0
  318. package/dist/components/arcgis-feature-form/customElement.js +2 -2
  319. package/dist/components/arcgis-feature-media/customElement.d.ts +4 -0
  320. package/dist/components/arcgis-feature-media/customElement.js +2 -2
  321. package/dist/components/arcgis-feature-relationship/customElement.d.ts +25 -0
  322. package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
  323. package/dist/components/arcgis-feature-table/customElement.d.ts +470 -2
  324. package/dist/components/arcgis-feature-table/customElement.js +2 -2
  325. package/dist/components/arcgis-feature-templates/customElement.d.ts +73 -0
  326. package/dist/components/arcgis-feature-templates/customElement.js +2 -2
  327. package/dist/components/arcgis-features/customElement.d.ts +497 -4
  328. package/dist/components/arcgis-features/customElement.js +15 -3
  329. package/dist/components/arcgis-floor-filter/customElement.d.ts +60 -0
  330. package/dist/components/arcgis-floor-filter/customElement.js +4 -4
  331. package/dist/components/arcgis-fullscreen/customElement.d.ts +15 -0
  332. package/dist/components/arcgis-fullscreen/customElement.js +5 -5
  333. package/dist/components/arcgis-grid-controls/customElement.d.ts +179 -0
  334. package/dist/components/arcgis-grid-controls/customElement.js +2 -2
  335. package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +102 -0
  336. package/dist/components/arcgis-histogram-range-slider/customElement.js +2 -2
  337. package/dist/components/arcgis-home/customElement.d.ts +86 -0
  338. package/dist/components/arcgis-home/customElement.js +7 -7
  339. package/dist/components/arcgis-labeled-switch/customElement.d.ts +20 -0
  340. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  341. package/dist/components/arcgis-layer-list/customElement.d.ts +144 -0
  342. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  343. package/dist/components/arcgis-layer-list-item/customElement.d.ts +22 -0
  344. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  345. package/dist/components/arcgis-legend/customElement.d.ts +241 -0
  346. package/dist/components/arcgis-legend/customElement.js +11 -11
  347. package/dist/components/arcgis-legend-card-color-ramp/customElement.d.ts +1 -0
  348. package/dist/components/arcgis-legend-card-color-ramp/customElement.js +8 -8
  349. package/dist/components/arcgis-legend-card-element/customElement.d.ts +2 -0
  350. package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
  351. package/dist/components/arcgis-legend-card-size-ramp/customElement.d.ts +2 -0
  352. package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
  353. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.d.ts +1 -0
  354. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
  355. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.d.ts +1 -0
  356. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
  357. package/dist/components/arcgis-legend-card-view/customElement.d.ts +7 -0
  358. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  359. package/dist/components/arcgis-legend-classic-color-ramp/customElement.d.ts +1 -0
  360. package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
  361. package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
  362. package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
  363. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.d.ts +1 -0
  364. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
  365. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.d.ts +1 -0
  366. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
  367. package/dist/components/arcgis-legend-classic-view/customElement.d.ts +2 -0
  368. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  369. package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
  370. package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
  371. package/dist/components/arcgis-line-of-sight/customElement.d.ts +94 -0
  372. package/dist/components/arcgis-line-of-sight/customElement.js +2 -2
  373. package/dist/components/arcgis-link-chart/customElement.d.ts +293 -1
  374. package/dist/components/arcgis-link-chart/customElement.js +29 -21
  375. package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +77 -0
  376. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  377. package/dist/components/arcgis-locate/customElement.d.ts +53 -0
  378. package/dist/components/arcgis-locate/customElement.js +13 -13
  379. package/dist/components/arcgis-map/customElement.d.ts +410 -0
  380. package/dist/components/arcgis-map/customElement.js +25 -17
  381. package/dist/components/arcgis-measurement/customElement.d.ts +61 -0
  382. package/dist/components/arcgis-measurement/customElement.js +6 -6
  383. package/dist/components/arcgis-measurement-content/customElement.d.ts +2 -0
  384. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  385. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +38 -0
  386. package/dist/components/arcgis-navigation-toggle/customElement.js +4 -4
  387. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +103 -0
  388. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  389. package/dist/components/arcgis-placement/customElement.d.ts +11 -0
  390. package/dist/components/arcgis-placement/customElement.js +1 -1
  391. package/dist/components/arcgis-popup/css.d.ts +1 -0
  392. package/dist/components/arcgis-popup/customElement.d.ts +569 -123
  393. package/dist/components/arcgis-popup/customElement.js +111 -112
  394. package/dist/components/arcgis-popup/interfaces.d.ts +1 -1
  395. package/dist/components/arcgis-print/customElement.d.ts +132 -0
  396. package/dist/components/arcgis-print/customElement.js +8 -8
  397. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  398. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  399. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  400. package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
  401. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  402. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  403. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  404. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  405. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  406. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  407. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  408. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  409. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  410. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  411. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  412. package/dist/components/arcgis-print-template-selector/customElement.d.ts +1 -0
  413. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  414. package/dist/components/arcgis-result-feature-list/customElement.d.ts +3 -0
  415. package/dist/components/arcgis-result-feature-list/customElement.js +1 -1
  416. package/dist/components/arcgis-scale-bar/customElement.d.ts +46 -0
  417. package/dist/components/arcgis-scale-bar/customElement.js +12 -12
  418. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +83 -1
  419. package/dist/components/arcgis-scale-range-slider/customElement.js +8 -8
  420. package/dist/components/arcgis-scene/customElement.d.ts +689 -0
  421. package/dist/components/arcgis-scene/customElement.js +32 -24
  422. package/dist/components/arcgis-search/customElement.d.ts +274 -0
  423. package/dist/components/arcgis-search/customElement.js +2 -2
  424. package/dist/components/arcgis-search-result-renderer/customElement.d.ts +11 -0
  425. package/dist/components/arcgis-search-result-renderer/customElement.js +16 -16
  426. package/dist/components/arcgis-shadow-cast/customElement.d.ts +109 -0
  427. package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
  428. package/dist/components/arcgis-sketch/customElement.d.ts +151 -3
  429. package/dist/components/arcgis-sketch/customElement.js +12 -14
  430. package/dist/components/arcgis-slice/customElement.d.ts +148 -0
  431. package/dist/components/arcgis-slice/customElement.js +6 -6
  432. package/dist/components/arcgis-spinner/customElement.d.ts +3 -0
  433. package/dist/components/arcgis-spinner/customElement.js +1 -1
  434. package/dist/components/arcgis-swipe/customElement.d.ts +89 -0
  435. package/dist/components/arcgis-swipe/customElement.js +1 -1
  436. package/dist/components/arcgis-table-list/customElement.d.ts +118 -0
  437. package/dist/components/arcgis-table-list/customElement.js +5 -5
  438. package/dist/components/arcgis-time-slider/customElement.d.ts +108 -0
  439. package/dist/components/arcgis-time-slider/customElement.js +2 -2
  440. package/dist/components/arcgis-time-zone-label/customElement.d.ts +37 -0
  441. package/dist/components/arcgis-time-zone-label/customElement.js +7 -7
  442. package/dist/components/arcgis-track/customElement.d.ts +110 -0
  443. package/dist/components/arcgis-track/customElement.js +4 -4
  444. package/dist/components/arcgis-unit-select/customElement.d.ts +6 -0
  445. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  446. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +162 -0
  447. package/dist/components/arcgis-utility-network-associations/customElement.js +5 -5
  448. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +119 -0
  449. package/dist/components/arcgis-utility-network-trace/customElement.js +2 -2
  450. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +30 -2
  451. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +41 -61
  452. package/dist/components/arcgis-utility-network-trace-analysis/index.d.ts +2 -5
  453. package/dist/components/arcgis-utility-network-trace-analysis/index.js +2 -5
  454. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +36 -0
  455. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +103 -0
  456. package/dist/components/arcgis-utility-network-trace-inputs/index.d.ts +7 -0
  457. package/dist/components/arcgis-utility-network-trace-inputs/index.js +7 -0
  458. package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +45 -0
  459. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +2 -2
  460. package/dist/components/arcgis-value-picker/customElement.d.ts +85 -1
  461. package/dist/components/arcgis-value-picker/customElement.js +2 -2
  462. package/dist/components/arcgis-version-management/customElement.d.ts +45 -0
  463. package/dist/components/arcgis-version-management/customElement.js +6 -6
  464. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  465. package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
  466. package/dist/components/arcgis-version-management-version-list/customElement.d.ts +3 -0
  467. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  468. package/dist/components/arcgis-version-management-version-properties/customElement.d.ts +2 -0
  469. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  470. package/dist/components/arcgis-video/customElement.d.ts +21 -0
  471. package/dist/components/arcgis-video/customElement.js +1 -1
  472. package/dist/components/arcgis-video-player/customElement.d.ts +56 -0
  473. package/dist/components/arcgis-video-player/customElement.js +1 -1
  474. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  475. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  476. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  477. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  478. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  479. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  480. package/dist/components/arcgis-weather/customElement.d.ts +55 -0
  481. package/dist/components/arcgis-weather/customElement.js +46 -46
  482. package/dist/components/arcgis-zoom/customElement.d.ts +47 -0
  483. package/dist/components/arcgis-zoom/customElement.js +10 -10
  484. package/dist/controllers/uiController.d.ts +21 -0
  485. package/dist/docs/api.json +1541 -539
  486. package/dist/docs/docs.json +1272 -470
  487. package/dist/docs/vscode.css-custom-data.json +16 -16
  488. package/dist/docs/vscode.html-custom-data.json +212 -104
  489. package/dist/docs/web-types.json +562 -295
  490. package/dist/index.d.ts +21 -0
  491. package/dist/index.js +1 -1
  492. package/dist/loader.js +9 -8
  493. package/dist/support/earth-utils.d.ts +1 -2
  494. package/dist/support/heading.d.ts +2 -1
  495. package/dist/support/measurementUtils.d.ts +1 -1
  496. package/dist/support/resources.d.ts +2 -0
  497. package/dist/support/slots.d.ts +2 -2
  498. package/dist/support/time-utils.d.ts +5 -1
  499. package/dist/types/lumina.d.ts +16 -7
  500. package/dist/types/preact.d.ts +81 -71
  501. package/dist/types/preact10.d.ts +756 -0
  502. package/dist/types/react.d.ts +18 -7
  503. package/dist/types/stencil.d.ts +16 -7
  504. package/dist/utils/math-utils.d.ts +6 -0
  505. package/dist/utils/signal-utils.d.ts +26 -0
  506. package/package.json +3 -3
  507. package/dist/cdn/27WMEF5S.js +0 -4
  508. package/dist/cdn/2VWA3OG6.js +0 -4
  509. package/dist/cdn/2W3TJFMA.js +0 -4
  510. package/dist/cdn/35RXSHVS.js +0 -4
  511. package/dist/cdn/35VOLBPZ.js +0 -4
  512. package/dist/cdn/4W3CFH6E.js +0 -4
  513. package/dist/cdn/4Y5GUCNJ.js +0 -4
  514. package/dist/cdn/6NZIJ433.js +0 -4
  515. package/dist/cdn/6XVYZVBO.js +0 -4
  516. package/dist/cdn/7KK2WCWD.js +0 -4
  517. package/dist/cdn/7S7BRL2R.js +0 -4
  518. package/dist/cdn/AFDQOEM2.js +0 -4
  519. package/dist/cdn/AX2KA2M6.js +0 -4
  520. package/dist/cdn/B3SUUTAF.js +0 -4
  521. package/dist/cdn/BC3RKC5I.js +0 -4
  522. package/dist/cdn/BOFZNXI7.js +0 -4
  523. package/dist/cdn/C4KSUDG6.js +0 -4
  524. package/dist/cdn/C6Z7X55M.js +0 -4
  525. package/dist/cdn/CC6NJOP5.js +0 -4
  526. package/dist/cdn/CER3LIOO.js +0 -4
  527. package/dist/cdn/CLCAUVIP.js +0 -4
  528. package/dist/cdn/DO6OZIXK.js +0 -4
  529. package/dist/cdn/DRTV25UV.js +0 -4
  530. package/dist/cdn/GXAGQIF7.js +0 -4
  531. package/dist/cdn/HJ7M6BW2.js +0 -4
  532. package/dist/cdn/HJJJLIV3.js +0 -4
  533. package/dist/cdn/HNNTLPL3.js +0 -4
  534. package/dist/cdn/HUF2RSHK.js +0 -4
  535. package/dist/cdn/IC55LEKW.js +0 -4
  536. package/dist/cdn/IDZMCIOS.js +0 -4
  537. package/dist/cdn/IXAGZ3RI.js +0 -4
  538. package/dist/cdn/JINI3JGE.js +0 -4
  539. package/dist/cdn/L7R3YPKP.js +0 -4
  540. package/dist/cdn/LC4VWZNC.js +0 -4
  541. package/dist/cdn/LKBS3726.js +0 -4
  542. package/dist/cdn/LWQXR2JI.js +0 -4
  543. package/dist/cdn/MV2H5AQC.js +0 -4
  544. package/dist/cdn/NKJONXTQ.js +0 -4
  545. package/dist/cdn/NOTSC5KN.js +0 -4
  546. package/dist/cdn/NW2XB2K6.js +0 -4
  547. package/dist/cdn/O4CVKIFA.js +0 -4
  548. package/dist/cdn/O6TE36QE.js +0 -4
  549. package/dist/cdn/PY2SF5ID.js +0 -4
  550. package/dist/cdn/QBYT6BW5.js +0 -4
  551. package/dist/cdn/QCPNRNPU.js +0 -4
  552. package/dist/cdn/QTQL5KV5.js +0 -4
  553. package/dist/cdn/QYAP7DBK.js +0 -4
  554. package/dist/cdn/R73NZWQJ.js +0 -4
  555. package/dist/cdn/R7B2MYES.js +0 -4
  556. package/dist/cdn/RAUV2KQ7.js +0 -4
  557. package/dist/cdn/RNFXIHDL.js +0 -4
  558. package/dist/cdn/RTDCXUDE.js +0 -4
  559. package/dist/cdn/SXHML6YB.js +0 -4
  560. package/dist/cdn/T7VH64WD.js +0 -4
  561. package/dist/cdn/TI3S4F6E.js +0 -4
  562. package/dist/cdn/TJP4VNIA.js +0 -4
  563. package/dist/cdn/TRSSX2OL.js +0 -4
  564. package/dist/cdn/UBKZ3TB5.js +0 -4
  565. package/dist/cdn/UUPK5JKU.js +0 -4
  566. package/dist/cdn/VSJMGGJE.js +0 -4
  567. package/dist/cdn/X24VUFUZ.js +0 -4
  568. package/dist/cdn/XTAVU3CZ.js +0 -4
  569. package/dist/cdn/Y4HMSIMF.js +0 -4
  570. package/dist/cdn/YAFQZDIF.js +0 -4
  571. package/dist/cdn/YOCFMRO4.js +0 -4
  572. package/dist/cdn/ZIILBGPX.js +0 -4
@@ -12,188 +12,634 @@ import { default as ActionButton } from '@arcgis/core/support/actions/ActionButt
12
12
  declare const useFeaturesViewModel: (component: LitElement & Pick<FeaturesViewModel, never> & import('../../controllers/useViewModel').ViewModelControllerUses<FeaturesViewModel>) => FeaturesViewModel;
13
13
 
14
14
  /**
15
- * <a name="overview"></a>
16
- *
17
15
  * ## Overview
18
- * The Popup widget allows users to view content from feature attributes. Popups enhance web applications
16
+ * The Popup component allows users to view content from feature attributes. Popups enhance web applications
19
17
  * by providing users with a simple way to interact with and view attributes in a layer.
20
18
  * They play an important role in relaying information to the user, which improves the storytelling capabilities of the application.
21
19
  *
22
- * <a name="loading-the-popup"></a>
23
- *
24
- * ## Loading the Popup
25
- * At [version 4.27](../release-notes#popup-performance-improvements), the view's default popup is loaded on demand when [`popupEnabled`](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View2D.html#popupEnabled) is set to `true` (which is the default), when the [`openPopup()`](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View2D.html#openPopup) method is called,
26
- * or when some widgets need the popup, such as [Search](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html). Please see the read more section below for details on how to manually load the popup or take
27
- * advantage of the API lazy loading.
28
- *
29
- * >>> esri-read-more
30
- *
31
- * The Popup class can be loaded when the [View](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html) is instantiated, however, this does not take advantage of the performance improvements of lazily loading the popup.
32
- * ```js
33
- * // Create a new MapView
34
- * const view = new MapView({
35
- * // set the popup property to a new instance of Popup
36
- * popup: new Popup(...)
37
- * });
38
- * ```
39
- * To utilize the performance improvements and the API automatically lazy loading the popup:
40
- * - Set options/properties on the view's popup:
41
- * ```js
42
- * const view = MapView({
43
- * popup: {
44
- * dockEnabled: true,
45
- * dockOptions: {
46
- * position: true,
47
- * ...
48
- * }
49
- * }
50
- * });
51
- * ```
52
- * - Use [`popupEnabled`](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View2D.html#popupEnabled) to prevent the popup appearing when the user clicks the view.
53
- * ```js
54
- * // The popup doesn't show for features on selection, but will on Search results and when `openPopup()` is called.
55
- * view.popupEnabled = false;
56
- * ```
57
- * - Use [`openPopup()`](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View2D.html#openPopup) instead of [`open()`](#open) and [`closePopup()`](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View2D.html#closePopup) instead of [`close()`](#close).
58
- * ```js
59
- * // A deprecation warning is prompted if the popup isn't created
60
- * // and calls view.openPopup() or view.closePopup() respectively under the hood.
61
- * view.popup.open(...);
62
- * view.popup.close(...);
63
- *
64
- * // Opens or closes the popup on the View.
65
- * view.openPopup(...);
66
- * view.closePopup(...);
67
- * ```
68
- * - Use [reactiveUtils](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-reactiveUtils.html) to watch properties on the popup and its view model instead of the [`watch()`](#watch) method.
69
- * ```js
70
- * // This will throw an error that watch() is not a method
71
- * // since the popup hasn't been created yet.
72
- * view.popup.watch("selectedFeature", ...)
73
- *
74
- * // Call reactiveUtils.watch() on popup properties with optional chaining.
75
- * reactiveUtils.watch(() => view.popup?.selectedFeature, ...);
76
- * ```
77
- * - Use the [`reactiveUtils.when()`](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-reactiveUtils.html#when) method to check when the popup instance is created. Once its created, then it's properties or methods can be accessed and called.
78
- * ```js
79
- * // This will throw an error that actions is not a property.
80
- * view.popup.actions.push(...);
81
- *
82
- * // Wait for the popup to load before accessing properties.
83
- * reactiveUtils.when(() => view.popup?.actions, ()=>{
84
- * view.popup.actions.push(...);
85
- * });
86
- * ```
87
- *
88
- * >>>
89
- *
90
- * <a name="popup-ui"></a>
91
- *
92
20
  * ## Popup UI
93
- * All [Views](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html) contain a default popup.
94
- * This popup can display generic content, which is set in its [title](#title)
21
+ * The [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/), [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/), or [arcgis-link-chart](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-link-chart/) components contain a default popup.
22
+ * This popup can display generic content, which is set in its [heading](#heading)
95
23
  * and [content](#content) properties.
96
24
  * When content is set directly on the Popup instance it is not tied to a specific feature or layer.
97
25
  *
98
- * [![popup-basic-example](../assets/img/apiref/widgets/popup/popup-basic.png)](../sample-code/sandbox/?sample=intro-popup)
26
+ * [![popup-basic-example](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/popup/popup-basic.png)](../sample-code/sandbox/?sample=intro-popup)
99
27
  *
100
- * In the image above, the text "Marriage in New York County Census Tract 8" is the popup's `title`. The remaining text is
101
- * its `content`. A dock button ![popup-dock-btn](../assets/img/apiref/widgets/popup/popup-dock.png) may also be available in the
102
- * top right corner of the popup. This allows the user to dock the popup to one of the sides or corners of the view.
28
+ * In the image above, the text "Marriage in Nassau County Census Tract 5177.01" is the popup's [heading](#heading).
29
+ * The remaining text is the popup's [`content`](#content).
30
+ * A dock button is displayed in the top right corner of the popup allowing the user to dock the popup to one of the sides or corners of the view.
103
31
  * The options for docking may be set in the [dockOptions](#dockOptions) property.
32
+ * The popup may also be collapsed by clicking the collapse button (the down arrow icon) in the top right corner of the popup.
33
+ * When collapsed, only the heading of the popup displays.
34
+ * The popup may be closed by clicking the close button (the "x" icon) in the top right corner of the popup.
104
35
  *
105
- * Popups can also contain [actions](#actions) that act like buttons,
106
- * which execute a function defined by the developer when clicked.
107
- * By default, every popup has a "Zoom to" action ![popupTemplate-zoom-action](../assets/img/apiref/widgets/popup/popuptemplate-zoom-action.png)
108
- * that allows users to zoom to the selected feature. See the [actions](#actions)
109
- * property for information about adding custom actions to a popup.
110
- *
111
- * The Popup widget is tied to the [View](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html), whether it's docked or anchored to the selected feature.
112
- * If wanting to utilize the Popup functionality outside of the View, the [Features](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Features.html) widget can be used to display the same content
113
- * in its own container that's not tied to the View.
36
+ * Popups can also contain [actions](#actions) which execute a function defined by the developer when clicked.
37
+ * By default, every popup has a "Zoom to" action (as shown in the image above with the magnifying glass) that allows users to zoom to the selected feature.
38
+ * See the [actions](#actions) property for information about adding custom actions to a popup.
114
39
  *
115
- * <a name="popup-and-popuptemplate"></a>
40
+ * The Popup component is tied to a [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/), [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/), or [arcgis-link-chart](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-link-chart/) component, whether it's docked or anchored to the selected feature.
41
+ * If wanting to utilize the Popup functionality outside of [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/), [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/), or [arcgis-link-chart](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-link-chart/), the [arcgis-features](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-features/) component can be used to display the same content
42
+ * in its own container.
116
43
  *
117
44
  * ## Popup and PopupTemplate
118
- * [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) is closely related to Popup, but is more specific to [layers](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html)
119
- * and [graphics](https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html). It allows you to define custom titles and content templates based on the source of the
45
+ * [PopupTemplates](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) are closely related to Popup, but are more specific to [layers](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html)
46
+ * and [graphics](https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html). Popup templates allow you to define custom titles and content templates based on the source of the
120
47
  * [selected feature](#selectedFeature). When a layer or a graphic has a defined
121
- * PopupTemplate, the popup will display the content
122
- * defined in the PopupTemplate when the feature is clicked. The content may contain field values from the attributes of the [selected feature](#selectedFeature).
48
+ * popup template, the popup will display the content defined in the popup template when the feature is clicked.
49
+ * The content may contain field values from the attributes of the [selected feature](#selectedFeature).
123
50
  *
124
51
  * Custom PopupTemplates may also be assigned directly to a popup by setting [graphics](https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html) on the
125
- * [features](#features) property. For more information about Popup
126
- * and how it relates to [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) see the samples listed below.
52
+ * [features](#features) property.
127
53
  *
128
54
  * [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-popup/)
129
55
  *
130
- * @since 4.0
56
+ * @since 4.34
57
+ * @beta
131
58
  * @see module :esri/PopupTemplate
132
- * @see module :esri/views/SceneView#popup
133
- * @see module :esri/views/View2D#popup
134
- * @see [Sample - Intro to popups](../sample-code/intro-popup/index.html)
135
- * @see [Sample - to PopupTemplate](../sample-code/intro-popuptemplate/index.html)
136
- * @see [Sample - Dock positions with popup](../sample-code/popup-docking-position/index.html)
137
- * @see [Sample - Popup actions](../sample-code/popup-actions/index.html)
138
- * @see [Sample - Custom popup actions per feature](../sample-code/popup-custom-action/index.html)
139
- * @see [Sample - Popup with edit action](../sample-code/popup-editaction/index.html)
140
- * @see [Sample - Popup with DOM node](../sample-code/popup-domnode/index.html)
141
59
  * @see [Guide - Esri Icon Font](../guide/esri-icon-font/index.html)
142
- * @see module :esri/widgets/Popup/PopupViewModel
143
60
  */
144
61
  export declare class ArcgisPopup extends LitElement {
145
- referenceElement?: ArcgisReferenceElement | string;
62
+ /**
63
+ * A [collection](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html) of [action button](https://developers.arcgis.com/javascript/latest/api-reference/esri-support-actions-ActionButton.html) or [action toggle](https://developers.arcgis.com/javascript/latest/api-reference/esri-support-actions-ActionToggle.html) objects.
64
+ * Each action may be executed by clicking the icon or image symbolizing them.
65
+ *
66
+ * By default, popups have a `Zoom To` action styled with a magnifying glass icon.
67
+ * When this icon is clicked, the view zooms in four LODs and centers on the selected feature.
68
+ * You may remove this default action by setting [includeDefaultActionsDisabled](#includeDefaultActionsDisabled) to `true`, or by setting the
69
+ * [`overwriteActions`](esri-PopupTemplate.html#overwriteActions) property to `true` in a [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html).
70
+ *
71
+ * The order of each action is the order in which they appear in the actions [Collection](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html).
72
+ *
73
+ * The [arcgisTriggerAction](#arcgisTriggerAction) event fires each time an action is clicked.
74
+ *
75
+ * @autocast { "value": "Object[]", "typedCollection": true, "byTypeProperty": true }
76
+ * @see [arcgisTriggerAction](#arcgisTriggerAction)
77
+ * @see [Sample - Popup actions](../sample-code/popup-actions/index.html)
78
+ * @see [Sample - Custom popup actions per feature](../sample-code/popup-custom-action/index.html)
79
+ * @see [Sample - Popup with edit action](../sample-code/popup-editaction/index.html)
80
+ * @example
81
+ * ```js
82
+ * // Defines an action button to zoom out from the selected feature
83
+ * const zoomOutAction = {
84
+ * type: "button",
85
+ * // This text is displayed as a tooltip
86
+ * title: "Zoom out",
87
+ * // The ID by which to reference the action in the event handler
88
+ * id: "zoom-out",
89
+ * // Sets the icon used to style the action button
90
+ * icon: "magnifying-glass-minus"
91
+ * };
92
+ * // Adds the custom action to the popup.
93
+ * popupComponent.actions.push(zoomOutAction);
94
+ * ```
95
+ */
146
96
  actions: __esri.Collection<ActionButton | __esri.ActionToggle>;
97
+ /**
98
+ * Indicates if the component is active when it is visible and is not [waiting](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup-PopupViewModel.html#waitingForResult).
99
+ *
100
+ * @default false
101
+ */
147
102
  readonly active: boolean;
103
+ /**
104
+ * Position of the popup in relation to the selected feature. The default behavior
105
+ * is to display above the feature and adjust if not enough room. If needing
106
+ * to explicitly control where the popup displays in relation to the feature, choose
107
+ * an option besides `auto`.
108
+ *
109
+ * @example
110
+ * ```js
111
+ * // Popup will display on the bottom-right of the selected feature regardless of where that feature is located
112
+ * popupComponent.alignment = "bottom-right";
113
+ * ```
114
+ * @default "auto"
115
+ */
148
116
  alignment: Alignment;
117
+ /**
118
+ * This closes the popup when the [View](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html) camera or [Viewpoint](https://developers.arcgis.com/javascript/latest/api-reference/esri-Viewpoint.html) changes.
119
+ *
120
+ * @default false
121
+ */
149
122
  autoCloseEnabled: boolean;
150
- defaultPopupTemplateEnabled: boolean;
151
- content: string | HTMLElement | nullish | __esri.Widget;
123
+ /**
124
+ * If true, the component will not be destroyed automatically when it is
125
+ * disconnected from the document. This is useful when you want to move the
126
+ * component to a different place on the page, or temporarily hide it. If this
127
+ * is set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-popup/#destroy) method when you are done to
128
+ * prevent memory leaks.
129
+ *
130
+ * @default false
131
+ */
132
+ autoDestroyDisabled: boolean;
133
+ /**
134
+ * Indicates whether the popup displays its content. If `true`, only the header displays.
135
+ *
136
+ * @default false
137
+ */
152
138
  readonly collapsed: boolean;
139
+ /**
140
+ * The content of the popup. When set directly on the Popup, this content is
141
+ * static and cannot use fields to set content templates. To set a template
142
+ * for the content based on field or attribute names, see
143
+ * [PopupTemplate.content](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html#content).
144
+ *
145
+ * @noautocast
146
+ * @see [Sample - Popup Docking](../sample-code/popup-docking-position/index.html)
147
+ * @see [Sample - Popup with DOM node](../sample-code/popup-domnode/index.html)
148
+ * @example
149
+ * ```js
150
+ * // This sets generic instructions in the popup that will always be displayed
151
+ * // unless it is overridden by a PopupTemplate
152
+ * popupComponent.content = "Click a feature on the map to view its attributes";
153
+ * ```
154
+ */
155
+ content: string | HTMLElement | nullish | __esri.Widget;
156
+ /** Dock position in the [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/), [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/), or [arcgis-link-chart](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-link-chart/) component. */
153
157
  get currentDockPosition(): nil | PopupPositionResult;
158
+ /**
159
+ * Enables automatic creation of a popup template for layers that have popups enabled but no
160
+ * popupTemplate defined. Automatic popup templates are supported for layers that
161
+ * support the `createPopupTemplate` method. (Supported for
162
+ * [FeatureLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html),
163
+ * [GeoJSONLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GeoJSONLayer.html),
164
+ * [OGCFeatureLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-OGCFeatureLayer.html),
165
+ * [SceneLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-SceneLayer.html),
166
+ * [CSVLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-CSVLayer.html),
167
+ * [PointCloudLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-PointCloudLayer.html),
168
+ * [StreamLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-StreamLayer.html),
169
+ * [ImageryLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ImageryLayer.html), and
170
+ * [VoxelLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VoxelLayer.html)).
171
+ *
172
+ * **Note:**
173
+ * * Starting with version 4.12, [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) content can no longer be set using a
174
+ * wildcard, e.g. `*`. Instead, set the `defaultPopupTemplateEnabled` property to `true`.
175
+ * * Starting with 4.16, the default popup has been improved to no longer display system
176
+ * [fields](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-FieldInfo.html)
177
+ * that do not hold significant value, e.g. `Shape__Area` and `Shape__Length` are two fields that
178
+ * no longer display.
179
+ * * Starting with version 4.28, `date` fields are formatted using the `short-date-short-time` preset [dateFormat](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-support-FieldInfoFormat.html#dateFormat)
180
+ * rather than `long-month-day-year` in default [popup](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) created by setting the `defaultPopupTemplateEnabled` property to `true`.
181
+ * For example, previously a date that may have appeared as `"December 30, 1997"` will now appear as `"12/30/1997 6:00 PM"`.
182
+ *
183
+ * @default false
184
+ */
185
+ defaultPopupTemplateEnabled: boolean;
186
+ /**
187
+ * Indicates whether the placement of the popup is docked to the side of the view.
188
+ *
189
+ * Docking the popup allows for a better user experience, particularly when opening
190
+ * popups in apps on mobile devices. When a popup is "dockEnabled" it means the popup no
191
+ * longer points to the [selected feature](#selectedFeature) or the [location](#location)
192
+ * assigned to it. Rather it is attached to a side, the top, or the bottom of the view.
193
+ *
194
+ * See [dockOptions](#dockOptions) to override default options related to docking the popup.
195
+ *
196
+ * @see [Sample - Popup docking](../sample-code/popup-docking-position/index.html)
197
+ * @example
198
+ * ```html
199
+ * <!-- Setting this property in HTML -->
200
+ * <arcgis-popup dock-enabled></arcgis-popup>
201
+ * ```
202
+ * @example
203
+ * ```js
204
+ * // Setting this property using JS.
205
+ * // The popup will automatically be dockEnabled when made visible
206
+ * popupComponent.dockEnabled = true;
207
+ * ```
208
+ * @default false
209
+ */
210
+ dockEnabled: boolean;
211
+ /**
212
+ * Docking the popup allows for a better user experience, particularly when opening
213
+ * popups in apps on mobile devices. When a popup is "dockEnabled" it means the popup no
214
+ * longer points to the [selected feature](#selectedFeature) or the [location](#location)
215
+ * assigned to it. Rather it is placed in one of the corners of the view or to the top or bottom
216
+ * of it. This property allows the developer to set various options for docking the popup.
217
+ *
218
+ * See the object specification table below to override default docking properties on the popup.
219
+ *
220
+ * @see [Sample - Popup docking](../sample-code/popup-docking-position/index.html)
221
+ * @example
222
+ * ```js
223
+ * popupComponent.dockOptions = {
224
+ * // Disable the dock button so users cannot undock the popup
225
+ * buttonEnabled: false,
226
+ * // Dock the popup when the size of the view is less than or equal to 600x1000 pixels
227
+ * breakpoint: {
228
+ * width: 600,
229
+ * height: 1000
230
+ * }
231
+ * };
232
+ * ```
233
+ */
154
234
  get dockOptions(): DockOptions;
155
235
  set dockOptions(dockOptions: DockOptions);
156
- dockEnabled: boolean;
236
+ /**
237
+ * The number of selected [features](#features) available to the popup.
238
+ *
239
+ * @default 0
240
+ */
157
241
  readonly featureCount: number;
242
+ /**
243
+ * This property enables showing a list of features.
244
+ * Setting this to `true` allows the user to scroll through the list of features.
245
+ * This value will only be honored if [`initialDisplayMode`](#initialDisplayMode) is set to "feature".
246
+ *
247
+ * @default false
248
+ */
158
249
  featureMenuOpen: boolean;
250
+ /**
251
+ * An array of features associated with the popup. Each graphic in this array must
252
+ * have a valid [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) set. They may share the same
253
+ * [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) or have unique
254
+ * [PopupTemplates](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) depending on their attributes.
255
+ * The [content](#content) and [title](#title)
256
+ * of the popup is set based on the `content` and `title` properties of each graphic's respective
257
+ * [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html).
258
+ *
259
+ * When more than one graphic exists in this array, the current content of the
260
+ * Popup is set based on the value of the [selected feature](#selectedFeature).
261
+ *
262
+ * This value is `null` if no features are associated with the popup.
263
+ *
264
+ * @noautocast
265
+ * @example
266
+ * ```js
267
+ * // When setting the features property, the graphics pushed to this property
268
+ * // must have a PopupTemplate set.
269
+ * let g1 = new Graphic();
270
+ * g1.popupTemplate = new PopupTemplate({
271
+ * title: "Results title",
272
+ * content: "Results: {ATTRIBUTE_NAME}"
273
+ * });
274
+ * // Set the graphics as an array to the popup instance. The content and title of
275
+ * // the popup will be set depending on the PopupTemplate of the graphics.
276
+ * // Each graphic may share the same PopupTemplate or have a unique PopupTemplate
277
+ * let graphics = [g1, g2, g3, g4, g5];
278
+ * popupComponent.features = graphics;
279
+ * ```
280
+ */
159
281
  features: __esri.Graphic[];
282
+ /**
283
+ * This function provides the ability to override either the [arcgis-map.goTo](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/#goTo) or [arcgis-scene.goTo](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#goTo) methods.
284
+ *
285
+ * @example
286
+ * ```js
287
+ * popupComponent.goToOverride = (viewElement, goToParams)=> {
288
+ * goToParams.options = {
289
+ * speedFactor: 2
290
+ * };
291
+ * return viewElement.goTo(goToParams.target, goToParams.options);
292
+ * };
293
+ * ```
294
+ */
160
295
  goToOverride: nullish | __esri.GoToOverride;
161
- readonly state: "ready" | "disabled";
162
- headingLevel: HeadingLevel;
163
- highlightDisabled: boolean;
164
- initialDisplayMode: "list" | "feature";
165
- location: nullish | __esri.Point;
166
- promises: Promise<__esri.Graphic[]>[];
167
- readonly selectedFeature: nullish | __esri.Graphic;
168
- get selectedDrillInFeature(): __esri.Graphic | nil;
169
- selectedFeatureIndex: number;
170
- get selectedFeatureComponent(): HTMLArcgisFeatureElement | null;
296
+ /**
297
+ * The title of the popup. This can be set generically on the popup no
298
+ * matter the features that are selected. If the [selected feature](#selectedFeature)
299
+ * has a [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html), then the title set in the
300
+ * corresponding template is used here.
301
+ *
302
+ * @see [headingLevel](#headingLevel)
303
+ * @example
304
+ * ```html
305
+ * <!-- This title will display in the popup unless a selected feature's
306
+ * PopupTemplate overrides it -->
307
+ * <arcgis-popup heading="Population by zip codes in Southern California"></arcgis-popup>
308
+ * ```
309
+ * @example
310
+ * ```js
311
+ * // This title will display in the popup unless a selected feature's
312
+ * // PopupTemplate overrides it
313
+ * popupComponent.title = "Population by zip codes in Southern California";
314
+ * ```
315
+ */
171
316
  heading: string | nullish;
317
+ /**
318
+ * Indicates the heading level to use for the [heading](#heading) of the popup.
319
+ * By default, the heading is rendered
320
+ * as a level 2 heading (e.g. `<h2>Popup title</h2>`). Depending on the component's placement
321
+ * in your app, you may need to adjust this heading for proper semantics. This is
322
+ * important for meeting accessibility standards.
323
+ *
324
+ * @see [Heading Elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements)
325
+ * @see [heading](#heading)
326
+ * @example
327
+ * ```html
328
+ * <!-- Render the popup heading as a level 3 heading -->
329
+ * <arcgis-popup heading="Popup title" heading-level="3"></arcgis-popup>
330
+ * ```
331
+ * @default 2
332
+ */
333
+ headingLevel: HeadingLevel;
334
+ /**
335
+ * Indicates whether to hide the action bar that holds the feature's [actions](#actions).
336
+ *
337
+ * @default false
338
+ */
172
339
  hideActionBar: boolean;
340
+ /**
341
+ * Indicates whether to hide the close button in the component.
342
+ *
343
+ * @default false
344
+ */
173
345
  hideCloseButton: boolean;
346
+ /**
347
+ * Indicates whether to hide the collapse button in the component.
348
+ *
349
+ * @default false
350
+ */
174
351
  hideCollapseButton: boolean;
352
+ /**
353
+ * Indicates whether to hide a heading and description on the component feature menu list.
354
+ *
355
+ * @default false
356
+ */
175
357
  hideFeatureMenuHeading: boolean;
358
+ /**
359
+ * Indicates whether pagination for feature navigation will be displayed. This allows the user to scroll through various [selected features](#features) using pagination arrows.
360
+ *
361
+ * @default false
362
+ */
176
363
  hideFeatureNavigation: boolean;
364
+ /**
365
+ * Indicates whether to hide the group heading for a list of multiple features in the feature menu.
366
+ *
367
+ * @default false
368
+ */
177
369
  hideFeatureListLayerTitle: boolean;
370
+ /**
371
+ * Indicates whether to hide the heading in the component.
372
+ *
373
+ * @default false
374
+ */
178
375
  hideHeading: boolean;
376
+ /**
377
+ * Indicates whether to hide the spinner in the component.
378
+ *
379
+ * @default false
380
+ */
179
381
  hideSpinner: boolean;
180
- autoDestroyDisabled: boolean;
181
- messageOverrides?: typeof this.messages._overrides;
382
+ /**
383
+ * Indicates if the selected feature will be highlighted.
384
+ * This is done using the [arcgis-map.highlights](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/#highlights) or the [arcgis-scene.highlights](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#highlights).
385
+ *
386
+ * @default false
387
+ */
388
+ highlightDisabled: boolean;
389
+ /**
390
+ * Indicates whether to include the default actions in the component.
391
+ * In order to disable any default actions, it is necessary to set `includeDefaultActionsDisabled` to `true`.
392
+ *
393
+ * @default false
394
+ */
395
+ includeDefaultActionsDisabled: boolean;
396
+ /**
397
+ * Indicates whether to initially display a list of features, or the content for one feature.
398
+ *
399
+ * @default "feature"
400
+ */
401
+ initialDisplayMode: "list" | "feature";
402
+ /** The component's default label. */
182
403
  label?: string;
404
+ /**
405
+ * Point used to position the popup. This is automatically set when viewing the
406
+ * popup by selecting a feature. If using the Popup to display content not related
407
+ * to features in the map, such as the results from a task, then you must set this
408
+ * property before making the popup [visible](#visible) to the user.
409
+ *
410
+ * @autocast { "byTypeProperty": false }
411
+ * @see [Intro to popups](../sample-code/intro-popup/index.html)
412
+ * @example
413
+ * ```js
414
+ * // Sets the location of the popup to the center of the view
415
+ * popupComponent.location = viewELement.center;
416
+ * // Displays the popup
417
+ * popupComponent.visible = true;
418
+ * ```
419
+ * @example
420
+ * ```js
421
+ * // Sets the location of the popup to a specific place (using autocast)
422
+ * // Note: using latitude/longitude only works if view is in Web Mercator or WGS84 spatial reference.
423
+ * popupComponent.location = {latitude: 34.0571, longitude: -117.1968};
424
+ * ```
425
+ * @example
426
+ * ```js
427
+ * // Sets the location of the popup to the location of a click on the view
428
+ * reactiveUtils.on(()=>viewElement, "arcgisViewClick", (event)=>{
429
+ * popupComponent.location = event.detail.mapPoint;
430
+ * // Displays the popup
431
+ * popupComponent.visible = true;
432
+ * });
433
+ * ```
434
+ */
435
+ location: nullish | __esri.Point;
436
+ /** Overwrite localized strings for this component */
437
+ messageOverrides?: typeof this.messages._overrides;
438
+ /**
439
+ * An array of pending Promises that have not yet been fulfilled. If there are
440
+ * no pending promises, the value is `null`. When the pending promises are
441
+ * resolved they are removed from this array and the features they return
442
+ * are pushed into the [features](#features) array.
443
+ */
444
+ promises: Promise<__esri.Graphic[]>[];
445
+ /**
446
+ * By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
447
+ *
448
+ * @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
449
+ */
450
+ referenceElement?: ArcgisReferenceElement | string;
451
+ /**
452
+ * The feature that the component has drilled into.
453
+ * This feature is either associated with the selected feature in a [relationship](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-RelationshipContent.html) or [utility network](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-UtilityNetworkAssociationsContent.html) element.
454
+ */
455
+ get selectedDrillInFeature(): __esri.Graphic | nil;
456
+ /**
457
+ * The selected feature accessed by the popup. The content of the Popup is
458
+ * determined based on the [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) assigned to
459
+ * this feature.
460
+ */
461
+ readonly selectedFeature: nullish | __esri.Graphic;
462
+ /**
463
+ * Returns a reference to the current [arcgis-feature](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-feature/) that the Popup is using.
464
+ * This is useful if needing to get a reference to the component in order to make any changes to it.
465
+ */
466
+ get selectedFeatureComponent(): HTMLArcgisFeatureElement | null;
467
+ /**
468
+ * Index of the feature that is [selected](#selectedFeature). When [features](#features) are set,
469
+ * the first index is automatically selected.
470
+ */
471
+ selectedFeatureIndex: number;
472
+ /**
473
+ * The current state of the component.
474
+ *
475
+ * @default "disabled"
476
+ */
477
+ readonly state: "ready" | "disabled";
478
+ /**
479
+ * Indicates whether the popup is visible. This property is `true` when the popup is querying for results, even if it is not open.
480
+ * Use the property to check if the popup is visible and is not.
481
+ *
482
+ * @name visible
483
+ * @type {boolean}
484
+ * @default false
485
+ */
183
486
  visible: boolean;
487
+ /**
488
+ * Removes all [promises](#promises), [features](#features), [content](#content),
489
+ * [heading](#heading) and [location](#location) from the Popup.
490
+ */
184
491
  clear(): Promise<void>;
492
+ /** Permanently destroy the component. */
185
493
  destroy(): Promise<void>;
494
+ /**
495
+ * Use this method to return feature(s) at a given screen location.
496
+ * These features are fetched from all of the [LayerViews](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html)
497
+ * in the [view](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html). In order to use this, a layer must already have an
498
+ * associated [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) and have its [popupEnabled](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#popupEnabled).
499
+ *
500
+ * @example
501
+ * ```js
502
+ * // Example showing how to use fetchFeatures in an application
503
+ * // with the popup and feature components.
504
+ * const popupComponent = document.querySelector("arcgis-popup");
505
+ * const viewElement = document.querySelector("arcgis-map");
506
+ * const featureComponent = document.querySelector("arcgis-feature");
507
+ * // Get viewElement's click event
508
+ * reactiveUtils.on(()=>viewElement, "arcgisViewClick", (event)=>{
509
+ * const { screenPoint } = event.detail;
510
+ * // Call fetchFeatures on the popup and pass in the click event screenPoint
511
+ * popupComponent.fetchFeatures(screenPoint).then((response) => {
512
+ * // Access the response from fetchFeatures
513
+ * response.allGraphicsPromise.then((graphics) => {
514
+ * // Set the feature component's graphic to the returned graphic from fetchFeatures
515
+ * featureComponent.graphic = graphics[0];
516
+ * });
517
+ * });
518
+ * });
519
+ * ```
520
+ */
186
521
  fetchFeatures(screenPoint: __esri.ScreenPoint, options?: FetchFeaturesOptions): Promise<__esri.FetchPopupFeaturesResult>;
522
+ /**
523
+ * Selects the feature at the next index in relation to the selected feature.
524
+ *
525
+ * @see [selectedFeatureIndex](#selectedFeatureIndex)
526
+ */
187
527
  next(): Promise<FeaturesViewModel>;
528
+ /**
529
+ * Opens the popup at the given location with content defined either explicitly with `content`
530
+ * or driven from the [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) of input features. This method sets
531
+ * the popup's [visible](#visible) property to `true`. Users can alternatively open the popup
532
+ * by directly setting the [visible](#visible) property to `true`.
533
+ *
534
+ * ***Note:***
535
+ * The popup will only display if the [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/) or [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/) size constraints in [dockOptions](#dockOptions) are met or the [location](#location)
536
+ * property is set to a geometry.
537
+ *
538
+ * @see [visible](#visible)
539
+ * @example
540
+ * ```js
541
+ * reactiveUtils.on(()=>viewElement, "arcgisViewClick", (event)=>{
542
+ * const { mapPoint } = event.detail;
543
+ * popupComponent.open({
544
+ * location: mapPoint, // location of the click on the view
545
+ * title: "You clicked here", // title displayed in the popup
546
+ * content: "This is a point of interest" // content displayed in the popup
547
+ * });
548
+ * });
549
+ * ```
550
+ * @example
551
+ * ```js
552
+ * reactiveUtils.on(()=>viewElement, "arcgisViewClick", (event)=>{
553
+ * const { mapPoint } = event.detail;
554
+ * popupComponent.open({
555
+ * location: mapPoint, // location of the click on the view
556
+ * fetchFeatures: true // display the content for the selected feature if a popupTemplate is defined.
557
+ * });
558
+ * });
559
+ * ```
560
+ * @example
561
+ * ```js
562
+ * popupComponent.open({
563
+ * title: "You clicked here", // title displayed in the popup
564
+ * content: "This is a point of interest", // content displayed in the popup
565
+ * location: event.detail.mapPoint,
566
+ * updateLocationEnabled: true // updates the location of popup based on
567
+ * // selected feature's geometry
568
+ * });
569
+ * ```
570
+ * @example
571
+ * ```js
572
+ * popupComponent.open({
573
+ * features: graphics, // array of graphics
574
+ * featureMenuOpen: true, // selected features initially display in a list
575
+ * location: graphics[0].geometry // location of the first graphic in the array of graphics
576
+ * });
577
+ * ```
578
+ */
188
579
  open(options?: __esri.FeaturesViewModelOpenOptions): Promise<void>;
580
+ /**
581
+ * Selects the feature at the previous index in relation to the selected feature.
582
+ *
583
+ * @see [selectedFeatureIndex](#selectedFeatureIndex)
584
+ */
189
585
  previous(): Promise<FeaturesViewModel>;
586
+ /** Use this method to give focus to the Widget if the widget is able to be focused. */
190
587
  setFocus(): Promise<void>;
588
+ /**
589
+ * Triggers the [arcgisTriggerAction](#arcgisTriggerAction) event and executes the [action](#actions)
590
+ * at the specified index in the [actions](#actions) array.
591
+ */
191
592
  triggerAction(action: __esri.ActionButton | __esri.ActionToggle): Promise<void>;
192
593
  readonly arcgisPropertyChange: TargetedEvent<this, {
193
- name: "state" | "active" | "collapsed" | "featureCount" | "featureMenuOpen" | "features" | "promises" | "selectedDrillInFeature" | "selectedFeature" | "selectedFeatureComponent" | "selectedFeatureIndex" | "visible" | "currentAlignment" | "dockEnabled";
594
+ name: "state" | "active" | "collapsed" | "featureCount" | "visible" | "selectedFeature" | "featureMenuOpen" | "features" | "promises" | "selectedFeatureIndex" | "selectedDrillInFeature" | "selectedFeatureComponent" | "currentAlignment" | "dockEnabled";
194
595
  }>;
596
+ /** Emitted when the component associated with a map or scene view is ready to be interacted with. */
195
597
  readonly arcgisReady: TargetedEvent<this, void>;
598
+ /** Emitted when the component's close button is clicked. */
196
599
  readonly arcgisClose: TargetedEvent<this, void>;
600
+ /**
601
+ * Fires after the user clicks on an action in the Popup component.
602
+ * This event may be used to define a custom function to execute when particular actions are clicked.
603
+ *
604
+ * @see [actions](#actions)
605
+ * @see [PopupTemplate.actions](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html#actions)
606
+ * @see [open()](#open)
607
+ * @example
608
+ * ```js
609
+ * viewElement.addEventListener("arcgisViewClick", (event) => {
610
+ * const { mapPoint } = event.detail;
611
+ * popupComponent.open({
612
+ * location: mapPoint,
613
+ * fetchFeatures: true,
614
+ * actions: [{
615
+ * // This text is displayed as a tooltip
616
+ * title: "Zoom out",
617
+ * // The ID used to reference this action in the event handler
618
+ * id: "zoom-out",
619
+ * // Sets the icon font used to style the action button
620
+ * icon: "magnifying-glass-minus"
621
+ * },
622
+ * {
623
+ * title: "Delete Feature",
624
+ * id: "delete-feature-action",
625
+ * icon: "trash"
626
+ * }]
627
+ * });
628
+ * });
629
+ *
630
+ * // Fires each time an action is clicked
631
+ * reactiveUtils.on(()=> popupComponent, "arcgisTriggerAction", (event)=>{
632
+ * // If the zoom-out action is clicked, execute the following code
633
+ * if(event.detail.action.id === "zoom-out"){
634
+ * // Zoom out two levels (LODs)
635
+ * viewElement.goTo({
636
+ * center: viewElement.center,
637
+ * zoom: viewElement.zoom - 2
638
+ * });
639
+ * }
640
+ * });
641
+ * ```
642
+ */
197
643
  readonly arcgisTriggerAction: TargetedEvent<this, __esri.PopupTriggerActionEvent>;
198
644
  private messages;
199
645
  }