@arcgis/map-components 4.34.0-next.134 → 4.34.0-next.136

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 (456) hide show
  1. package/dist/cdn/2AWXJ2VU.js +4 -0
  2. package/dist/cdn/2CKO64N5.js +4 -0
  3. package/dist/cdn/{UUARFPPX.js → 2E3IZCNJ.js} +2 -2
  4. package/dist/cdn/2PRC7BRZ.js +4 -0
  5. package/dist/cdn/{YX36NVYE.js → 2QPWIWX2.js} +2 -2
  6. package/dist/cdn/{Q4K3CT7V.js → 2UJM4TWQ.js} +2 -2
  7. package/dist/cdn/2WH7KFN4.js +4 -0
  8. package/dist/cdn/2YE6ZN5G.js +4 -0
  9. package/dist/cdn/{6OH77X6Q.js → 36NTTKGP.js} +2 -2
  10. package/dist/cdn/{HJBWF5OA.js → 37YNS273.js} +2 -2
  11. package/dist/cdn/{WEHDS3F4.js → 3DTHXZVD.js} +2 -2
  12. package/dist/cdn/{PE7POGGR.js → 3F67DNOF.js} +2 -2
  13. package/dist/cdn/{QUZMLVKP.js → 3FCF5HOT.js} +2 -2
  14. package/dist/cdn/3RNZBAFP.js +4 -0
  15. package/dist/cdn/{C3DZ5YQC.js → 3YLMJHRP.js} +2 -2
  16. package/dist/cdn/{FKWFWPPQ.js → 43GYMCKX.js} +2 -2
  17. package/dist/cdn/{54MLARHW.js → 444BDG3E.js} +2 -2
  18. package/dist/cdn/{HGY4MNJJ.js → 47DSQKC5.js} +2 -2
  19. package/dist/cdn/{MXB5LBNL.js → 4B77EZUJ.js} +2 -2
  20. package/dist/cdn/{SOOCYZVO.js → 4BKHKOJQ.js} +2 -2
  21. package/dist/cdn/{P2S5LVEJ.js → 4LSSHT4R.js} +2 -2
  22. package/dist/cdn/{XWLZT6GW.js → 4MOVYO26.js} +2 -2
  23. package/dist/cdn/{JCV6NA33.js → 4NIIU33K.js} +2 -2
  24. package/dist/cdn/{MONJXBIA.js → 4SY4JB5I.js} +2 -2
  25. package/dist/cdn/{W7UCSPBE.js → 4VQTMTGJ.js} +2 -2
  26. package/dist/cdn/52DDEKR2.js +4 -0
  27. package/dist/cdn/{2FE25NNX.js → 5MBXFKNH.js} +2 -2
  28. package/dist/cdn/{6HITIHOY.js → 5MMOUO55.js} +2 -2
  29. package/dist/cdn/5OMPOZXM.js +4 -0
  30. package/dist/cdn/6F2NFRIO.js +4 -0
  31. package/dist/cdn/{Z3QV7DHJ.js → 6J4EHT5D.js} +2 -2
  32. package/dist/cdn/6MBCKRZT.js +4 -0
  33. package/dist/cdn/{5WU4B5MM.js → 73DSDZ2Z.js} +2 -2
  34. package/dist/cdn/7ATYBWVM.js +4 -0
  35. package/dist/cdn/7EFFBKWT.js +4 -0
  36. package/dist/cdn/{OUDN2GI4.js → 7FKU6S2W.js} +1 -1
  37. package/dist/cdn/{5DO6WOG5.js → 7FS3USGD.js} +2 -2
  38. package/dist/cdn/7LMNNSRZ.js +4 -0
  39. package/dist/cdn/{7F6MYIJ6.js → 7MWUFJF7.js} +2 -2
  40. package/dist/cdn/{5CSTIRMA.js → 7NPYRIVG.js} +2 -2
  41. package/dist/cdn/{7G7H2OUJ.js → 7OHDMLNT.js} +2 -2
  42. package/dist/cdn/{TFAHOPVO.js → 7R2O2X62.js} +2 -2
  43. package/dist/cdn/A7VWO3LK.js +4 -0
  44. package/dist/cdn/{N5VVNVGO.js → ADDDUIVU.js} +1 -1
  45. package/dist/cdn/{NJGTA6M2.js → AHQTSHI7.js} +2 -2
  46. package/dist/cdn/{KMNGR3LX.js → AJINQUSG.js} +2 -2
  47. package/dist/cdn/{LTG4AL7H.js → AL5RYMBF.js} +2 -2
  48. package/dist/cdn/ALJFMU24.js +4 -0
  49. package/dist/cdn/{OKNRREFK.js → AOV5HUGZ.js} +2 -2
  50. package/dist/cdn/{AKHN5OCL.js → AROMXD7P.js} +2 -2
  51. package/dist/cdn/{XYFAJOAI.js → AUVCMP74.js} +1 -1
  52. package/dist/cdn/{F4RISB35.js → AXHXIZUR.js} +2 -2
  53. package/dist/cdn/{AQ3UJDKT.js → AYLAVP7O.js} +2 -2
  54. package/dist/cdn/{COKFGMPE.js → B2KBZZPF.js} +2 -2
  55. package/dist/cdn/B6DWC4HR.js +4 -0
  56. package/dist/cdn/B77F2BMY.js +4 -0
  57. package/dist/cdn/BC6KFOZG.js +4 -0
  58. package/dist/cdn/BCS2QZPQ.js +4 -0
  59. package/dist/cdn/BG7MF33P.js +4 -0
  60. package/dist/cdn/BLBBPPO2.js +4 -0
  61. package/dist/cdn/{PGLKEHLS.js → C66LOUBH.js} +1 -1
  62. package/dist/cdn/{VFBSKRDQ.js → CHF6YHQU.js} +2 -2
  63. package/dist/cdn/CPWEMALT.js +4 -0
  64. package/dist/cdn/{JWMTN423.js → DAUZUSCL.js} +2 -2
  65. package/dist/cdn/DAYAKCAT.js +4 -0
  66. package/dist/cdn/{AGZOSJ3A.js → DNSW76CW.js} +2 -2
  67. package/dist/cdn/{WCN7OQML.js → DOPWEHXE.js} +2 -2
  68. package/dist/cdn/{HRJUI6MM.js → DXPSZVAQ.js} +2 -2
  69. package/dist/cdn/E2MOK67P.js +4 -0
  70. package/dist/cdn/E5OVVVCE.js +4 -0
  71. package/dist/cdn/{KWXIL65J.js → ECO32H6J.js} +2 -2
  72. package/dist/cdn/{HBUWXMAT.js → EDNWA4N3.js} +2 -2
  73. package/dist/cdn/{WAGIEVEF.js → EI4RXA5Z.js} +2 -2
  74. package/dist/cdn/{ISWYNTU4.js → EJ3SSH55.js} +1 -1
  75. package/dist/cdn/{722BRSEV.js → EKEUD63G.js} +2 -2
  76. package/dist/cdn/{LCDT4WTA.js → EWHFLI2D.js} +2 -2
  77. package/dist/cdn/EWIW3XM7.js +4 -0
  78. package/dist/cdn/{GXAPMWUN.js → F3OTS54K.js} +2 -2
  79. package/dist/cdn/F5PBNMNH.js +4 -0
  80. package/dist/cdn/{VYYE7B6S.js → F6KABHJZ.js} +2 -2
  81. package/dist/cdn/{62PLVYLI.js → F7RRAK7E.js} +2 -2
  82. package/dist/cdn/{YRP5AGQY.js → FOEADGJF.js} +1 -1
  83. package/dist/cdn/{JVMITHWY.js → FP5H2JON.js} +2 -2
  84. package/dist/cdn/{3LOZGPZW.js → FQV2S3CQ.js} +3 -3
  85. package/dist/cdn/{SLI2O4IP.js → FRUZARDE.js} +2 -2
  86. package/dist/cdn/{ITD6MLK4.js → FW6MIZNR.js} +2 -2
  87. package/dist/cdn/{QSXRT7VX.js → FWL4OKRC.js} +2 -2
  88. package/dist/cdn/G2KBVZH5.js +4 -0
  89. package/dist/cdn/G3U5A7GA.js +4 -0
  90. package/dist/cdn/{BQJ2G3T2.js → GHNGRNVF.js} +2 -2
  91. package/dist/cdn/GPBTCLYS.js +4 -0
  92. package/dist/cdn/{EHZATRNU.js → GXH4MWGY.js} +2 -2
  93. package/dist/cdn/{M6BDLGUY.js → H2AW4ONA.js} +2 -2
  94. package/dist/cdn/{XFIIKDF4.js → H7TFNNAC.js} +2 -2
  95. package/dist/cdn/{G66J2LJ2.js → HBO3CQKU.js} +2 -2
  96. package/dist/cdn/{CLCF7EC6.js → HE6V5EJX.js} +2 -2
  97. package/dist/cdn/{VWUD3TWO.js → HFRYGY6B.js} +2 -2
  98. package/dist/cdn/{NS42CN5H.js → HHASMZFK.js} +2 -2
  99. package/dist/cdn/HNN3FSPB.js +4 -0
  100. package/dist/cdn/HY6MHY7Z.js +4 -0
  101. package/dist/cdn/HYMLHJFF.js +4 -0
  102. package/dist/cdn/HZAAL4NE.js +4 -0
  103. package/dist/cdn/{TX4LAEAJ.js → I56GR5A6.js} +2 -2
  104. package/dist/cdn/{3DQ4N76V.js → I5AGHG3B.js} +2 -2
  105. package/dist/cdn/{OG4OJXG7.js → I7XLAPQ4.js} +2 -2
  106. package/dist/cdn/II62YVQZ.js +4 -0
  107. package/dist/cdn/{7G47VMUV.js → IOPC5OG3.js} +2 -2
  108. package/dist/cdn/IR36NKTC.js +4 -0
  109. package/dist/cdn/{WBQ3XF24.js → J6KXJQQP.js} +2 -2
  110. package/dist/cdn/J7DWBXDG.js +4 -0
  111. package/dist/cdn/JD2WCBCB.js +4 -0
  112. package/dist/cdn/{MSAHFPH5.js → JEWE6P7J.js} +1 -1
  113. package/dist/cdn/{AVCMAM3H.js → JHZVKHWJ.js} +2 -2
  114. package/dist/cdn/JJME2ZJC.js +4 -0
  115. package/dist/cdn/{CAEKE3MV.js → JLLYTTWC.js} +1 -1
  116. package/dist/cdn/{FTCBOHFX.js → JZNBQ4KD.js} +2 -2
  117. package/dist/cdn/{QW7UTJSI.js → K2HR77UZ.js} +2 -2
  118. package/dist/cdn/KINN5GXM.js +4 -0
  119. package/dist/cdn/{JSXXKMEZ.js → L77T27NC.js} +1 -1
  120. package/dist/cdn/LGCFIT47.js +4 -0
  121. package/dist/cdn/{I33BSJSU.js → LNXI2LKX.js} +2 -2
  122. package/dist/cdn/{JA2EZ7JR.js → LV25MVTC.js} +2 -2
  123. package/dist/cdn/{45HN63IS.js → LWBMF76X.js} +1 -1
  124. package/dist/cdn/{EVL5CCGU.js → M7ESO7GN.js} +2 -2
  125. package/dist/cdn/{YRBQVWNY.js → MADDW32S.js} +2 -2
  126. package/dist/cdn/{FSDQZJUP.js → MFMJ4UE7.js} +2 -2
  127. package/dist/cdn/{EP73D7NC.js → MYRUVBXH.js} +2 -2
  128. package/dist/cdn/{PXY4VFMX.js → MYRXKP2G.js} +2 -2
  129. package/dist/cdn/{KFJ3F6AU.js → N4LXGTRF.js} +2 -2
  130. package/dist/cdn/N6AY5IPK.js +4 -0
  131. package/dist/cdn/{SAWQSLP7.js → N6VRFZ2H.js} +2 -2
  132. package/dist/cdn/{BRF7AB4R.js → NAV4WQUO.js} +2 -2
  133. package/dist/cdn/NL273BFN.js +4 -0
  134. package/dist/cdn/{KHWHU6M3.js → NMMUNIQE.js} +2 -2
  135. package/dist/cdn/{DBJW3EVE.js → NXBYYB6O.js} +2 -2
  136. package/dist/cdn/{G3A5UEB4.js → O4G2N5ZD.js} +2 -2
  137. package/dist/cdn/{OTKVP4N2.js → O4Y6VEOJ.js} +2 -2
  138. package/dist/cdn/{MI6MD7EC.js → O755C4EN.js} +2 -2
  139. package/dist/cdn/{GQRH4DLZ.js → OCN3VWKD.js} +2 -2
  140. package/dist/cdn/{IV75Z5D6.js → OGVUSVQJ.js} +2 -2
  141. package/dist/cdn/OKXOZWDO.js +4 -0
  142. package/dist/cdn/{36MSZWZB.js → OLIT7V6Y.js} +2 -2
  143. package/dist/cdn/ONQDBKYE.js +4 -0
  144. package/dist/cdn/{TJ4ORLQN.js → ONZGCMYA.js} +2 -2
  145. package/dist/cdn/{JRJ7XAQM.js → OON3R2RE.js} +2 -2
  146. package/dist/cdn/{LEZVALQR.js → OROLTFCS.js} +2 -2
  147. package/dist/cdn/{T6PRZN5A.js → ORPJBWUM.js} +2 -2
  148. package/dist/cdn/{4ALK7I2B.js → P2QCOSKK.js} +2 -2
  149. package/dist/cdn/{SDQVMJHA.js → P47ZNKYA.js} +2 -2
  150. package/dist/cdn/PCR5WF3E.js +4 -0
  151. package/dist/cdn/{W3JMPEMY.js → PE2CAQBP.js} +2 -2
  152. package/dist/cdn/PHQ4BYYY.js +4 -0
  153. package/dist/cdn/{FD5C3NON.js → PP44LBZN.js} +2 -2
  154. package/dist/cdn/{EOGD7KHE.js → PTKZS7E4.js} +2 -2
  155. package/dist/cdn/{M5CXARRG.js → PWYUI526.js} +2 -2
  156. package/dist/cdn/{XMM5QJNY.js → QCCHBRS3.js} +2 -2
  157. package/dist/cdn/{DWMURSSX.js → QCKIO3P2.js} +2 -2
  158. package/dist/cdn/{OS6FGPP7.js → QEJCWG7B.js} +2 -2
  159. package/dist/cdn/{JCRMJZZS.js → QGN4AYAN.js} +2 -2
  160. package/dist/cdn/QJJWKQ6N.js +4 -0
  161. package/dist/cdn/QLHBA6NY.js +4 -0
  162. package/dist/cdn/QULNDV6D.js +4 -0
  163. package/dist/cdn/{DMWOWPOJ.js → QW6IT3OR.js} +2 -2
  164. package/dist/cdn/{NZVTMNU5.js → RHNCCT7R.js} +2 -2
  165. package/dist/cdn/{3KWJRXUO.js → RKGQ2QC4.js} +2 -2
  166. package/dist/cdn/{22EFCSSD.js → RN5OGTAB.js} +1 -1
  167. package/dist/cdn/RXURZ7FU.js +4 -0
  168. package/dist/cdn/{3ME6SBWH.js → S27SCNE7.js} +2 -2
  169. package/dist/cdn/{LSUIN7L5.js → S5UVF3XJ.js} +2 -2
  170. package/dist/cdn/{5F2VVIG4.js → SB2PJC33.js} +2 -2
  171. package/dist/cdn/{LUVZWVTW.js → SBQD7YKY.js} +2 -2
  172. package/dist/cdn/{BNXA45HP.js → SGIK65YM.js} +2 -2
  173. package/dist/cdn/{GWHTRMJM.js → SQMWKIXD.js} +2 -2
  174. package/dist/cdn/{SQQ6S4OA.js → SXDKUG2C.js} +2 -2
  175. package/dist/cdn/{LA3XHTIJ.js → SZWSCCHN.js} +2 -2
  176. package/dist/cdn/{XFDKD5MT.js → T2QRV3ZN.js} +2 -2
  177. package/dist/cdn/{QZWTIQUV.js → T32EUXH7.js} +2 -2
  178. package/dist/cdn/{C5DSCCPL.js → T7O3XCWH.js} +2 -2
  179. package/dist/cdn/{AYO4BZ3L.js → TDCNBHTW.js} +2 -2
  180. package/dist/cdn/{DTJL2WXY.js → TP3BGHUZ.js} +2 -2
  181. package/dist/cdn/{AYB576YX.js → TQW32XE4.js} +2 -2
  182. package/dist/cdn/{2LSNEJZ2.js → UALJAA7A.js} +2 -2
  183. package/dist/cdn/{HOYFZOPS.js → UJTALBBU.js} +2 -2
  184. package/dist/cdn/{F5TR63WW.js → UKQSHT44.js} +1 -1
  185. package/dist/cdn/UR627OKC.js +4 -0
  186. package/dist/cdn/{U6KBFEOA.js → UUKCXJ5Q.js} +2 -2
  187. package/dist/cdn/{ILR5OQ27.js → UXJRK5GA.js} +2 -2
  188. package/dist/cdn/VAF25EZN.js +4 -0
  189. package/dist/cdn/VBENI2PY.js +4 -0
  190. package/dist/cdn/VBRUDX2O.js +4 -0
  191. package/dist/cdn/{RMPW45HN.js → VJXUIR23.js} +2 -2
  192. package/dist/cdn/{5KL34Q5B.js → VYEHWPBP.js} +2 -2
  193. package/dist/cdn/{WXWTNEGG.js → WATZOJI3.js} +2 -2
  194. package/dist/cdn/WEYI4P3K.js +4 -0
  195. package/dist/cdn/WGP5REG2.js +4 -0
  196. package/dist/cdn/{HY63LDZG.js → WISRHD3J.js} +2 -2
  197. package/dist/cdn/{5JSSMSUK.js → WOUP5ADA.js} +2 -2
  198. package/dist/cdn/{NHM6IZ4D.js → WWO5HKYQ.js} +1 -1
  199. package/dist/cdn/{XDVWHCLN.js → WYXHPC2J.js} +2 -2
  200. package/dist/cdn/{KGDDNXTL.js → WZSLPNWJ.js} +2 -2
  201. package/dist/cdn/{Y7USR2HB.js → X3AVSJWF.js} +2 -2
  202. package/dist/cdn/{O4H72BWM.js → XAFCKHB2.js} +2 -2
  203. package/dist/cdn/{OS7OK24K.js → XBINAH5L.js} +2 -2
  204. package/dist/cdn/{I2MTYK2R.js → XKPEFGKS.js} +2 -2
  205. package/dist/cdn/{C25XCIII.js → XMOXXRZH.js} +2 -2
  206. package/dist/cdn/{ZQJQQLK5.js → XW2CGTMO.js} +2 -2
  207. package/dist/cdn/{KCANY5A7.js → Y267NLPJ.js} +2 -2
  208. package/dist/cdn/{NGP67CBQ.js → YDB3RSCC.js} +2 -2
  209. package/dist/cdn/{I6V4DZ5G.js → YJZ3SHNV.js} +2 -2
  210. package/dist/cdn/{327KKNL4.js → YMF77Z7I.js} +2 -2
  211. package/dist/cdn/{DGTC6637.js → Z5AGAZNK.js} +2 -2
  212. package/dist/cdn/{DQ7XSVJU.js → Z6YDHIBR.js} +2 -2
  213. package/dist/cdn/Z7ZJPEGG.js +4 -0
  214. package/dist/cdn/ZGSURGBG.js +4 -0
  215. package/dist/cdn/ZIETGZHZ.js +4 -0
  216. package/dist/cdn/assets/coordinate-conversion/t9n/messages.en.json +1 -0
  217. package/dist/cdn/index.js +2 -2
  218. package/dist/chunks/AnalysisViewModel.js +1 -1
  219. package/dist/chunks/action-utils.js +1 -1
  220. package/dist/chunks/async-utils.js +1 -1
  221. package/dist/chunks/basemap-gallery-resources.js +1 -1
  222. package/dist/chunks/chart-utils.js +1 -1
  223. package/dist/chunks/chartCommon.js +1 -1
  224. package/dist/chunks/component-utils.js +1 -1
  225. package/dist/chunks/createCloseEvent.js +1 -1
  226. package/dist/chunks/esri-main.js +2 -2
  227. package/dist/chunks/feature-utils.js +1 -1
  228. package/dist/chunks/globalCss.js +1 -1
  229. package/dist/chunks/heading.js +12 -12
  230. package/dist/chunks/layer-list.js +2 -2
  231. package/dist/chunks/legacyIcon.js +1 -1
  232. package/dist/chunks/maybe.js +1 -1
  233. package/dist/chunks/measurementUtils.js +1 -1
  234. package/dist/chunks/runtime.js +1 -1
  235. package/dist/chunks/screenLocation.js +1 -1
  236. package/dist/chunks/slots.js +8 -8
  237. package/dist/chunks/svgUtils.js +1 -1
  238. package/dist/chunks/uiController.js +1 -1
  239. package/dist/chunks/univariateUtils.js +1 -1
  240. package/dist/chunks/useHandles.js +1 -1
  241. package/dist/chunks/useT9n.js +1 -1
  242. package/dist/chunks/useView.js +1 -1
  243. package/dist/chunks/useViewModel.js +1 -1
  244. package/dist/chunks/useWidget.js +1 -1
  245. package/dist/chunks/utils.js +1 -1
  246. package/dist/chunks/utils2.js +1 -1
  247. package/dist/components/arcgis-area-measurement-2d/customElement.js +8 -8
  248. package/dist/components/arcgis-area-measurement-3d/customElement.js +14 -14
  249. package/dist/components/arcgis-attachments/customElement.js +2 -2
  250. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +44 -1
  251. package/dist/components/arcgis-basemap-gallery/customElement.js +11 -11
  252. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  253. package/dist/components/arcgis-basemap-layer-list/customElement.js +2 -2
  254. package/dist/components/arcgis-basemap-toggle/customElement.js +11 -11
  255. package/dist/components/arcgis-bookmarks/customElement.js +13 -13
  256. package/dist/components/arcgis-building-explorer/customElement.js +2 -2
  257. package/dist/components/arcgis-catalog-layer-list/customElement.js +2 -2
  258. package/dist/components/arcgis-compass/customElement.js +10 -10
  259. package/dist/components/arcgis-coordinate-conversion/css.d.ts +26 -0
  260. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +209 -69
  261. package/dist/components/arcgis-coordinate-conversion/customElement.js +319 -16
  262. package/dist/components/arcgis-coordinate-conversion/index.d.ts +7 -0
  263. package/dist/components/arcgis-coordinate-conversion/index.js +7 -0
  264. package/dist/components/arcgis-coordinate-conversion/interfaces.d.ts +20 -0
  265. package/dist/components/arcgis-daylight/customElement.js +216 -216
  266. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +17 -17
  267. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  268. package/dist/components/arcgis-directions/customElement.js +11 -11
  269. package/dist/components/arcgis-distance-measurement-2d/customElement.js +6 -6
  270. package/dist/components/arcgis-editor/customElement.d.ts +1 -1
  271. package/dist/components/arcgis-editor/customElement.js +2 -2
  272. package/dist/components/arcgis-elevation-profile/customElement.js +2 -2
  273. package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
  274. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
  275. package/dist/components/arcgis-elevation-profile-next/customElement.js +10 -10
  276. package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
  277. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
  278. package/dist/components/arcgis-expand/customElement.js +1 -1
  279. package/dist/components/arcgis-feature/customElement.js +6 -6
  280. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  281. package/dist/components/arcgis-feature-content/customElement.js +1 -1
  282. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  283. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  284. package/dist/components/arcgis-feature-fields/customElement.js +1 -1
  285. package/dist/components/arcgis-feature-form/customElement.js +2 -2
  286. package/dist/components/arcgis-feature-media/customElement.js +2 -2
  287. package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
  288. package/dist/components/arcgis-feature-table/customElement.js +2 -2
  289. package/dist/components/arcgis-feature-templates/customElement.js +2 -2
  290. package/dist/components/arcgis-features/customElement.d.ts +6 -9
  291. package/dist/components/arcgis-features/customElement.js +3 -3
  292. package/dist/components/arcgis-floor-filter/customElement.js +4 -4
  293. package/dist/components/arcgis-fullscreen/customElement.js +5 -5
  294. package/dist/components/arcgis-grid-controls/customElement.js +2 -2
  295. package/dist/components/arcgis-histogram-range-slider/customElement.js +2 -2
  296. package/dist/components/arcgis-home/customElement.js +7 -7
  297. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  298. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  299. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  300. package/dist/components/arcgis-legend/customElement.js +5 -5
  301. package/dist/components/arcgis-legend-card-color-ramp/customElement.js +8 -8
  302. package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
  303. package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
  304. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
  305. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
  306. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  307. package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
  308. package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
  309. package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
  310. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
  311. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
  312. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  313. package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
  314. package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
  315. package/dist/components/arcgis-line-of-sight/customElement.js +2 -2
  316. package/dist/components/arcgis-link-chart/customElement.js +1 -1
  317. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  318. package/dist/components/arcgis-locate/customElement.js +13 -13
  319. package/dist/components/arcgis-map/customElement.js +1 -1
  320. package/dist/components/arcgis-measurement/customElement.js +6 -6
  321. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  322. package/dist/components/arcgis-navigation-toggle/customElement.js +4 -4
  323. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  324. package/dist/components/arcgis-placement/customElement.js +1 -1
  325. package/dist/components/arcgis-popup/customElement.d.ts +313 -316
  326. package/dist/components/arcgis-popup/customElement.js +62 -62
  327. package/dist/components/arcgis-popup/interfaces.d.ts +1 -1
  328. package/dist/components/arcgis-print/customElement.js +8 -8
  329. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  330. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  331. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  332. package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
  333. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  334. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  335. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  336. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  337. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  338. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  339. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  340. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  341. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  342. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  343. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  344. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  345. package/dist/components/arcgis-result-feature-list/customElement.js +1 -1
  346. package/dist/components/arcgis-scale-bar/customElement.js +12 -12
  347. package/dist/components/arcgis-scale-range-slider/customElement.js +8 -8
  348. package/dist/components/arcgis-scene/customElement.js +1 -1
  349. package/dist/components/arcgis-search/customElement.js +2 -2
  350. package/dist/components/arcgis-search-result-renderer/customElement.js +16 -16
  351. package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
  352. package/dist/components/arcgis-sketch/customElement.js +9 -9
  353. package/dist/components/arcgis-slice/customElement.js +6 -6
  354. package/dist/components/arcgis-spinner/customElement.js +1 -1
  355. package/dist/components/arcgis-swipe/customElement.js +1 -1
  356. package/dist/components/arcgis-table-list/customElement.js +4 -4
  357. package/dist/components/arcgis-time-slider/customElement.js +2 -2
  358. package/dist/components/arcgis-time-zone-label/customElement.js +7 -7
  359. package/dist/components/arcgis-track/customElement.js +4 -4
  360. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  361. package/dist/components/arcgis-utility-network-associations/customElement.js +5 -5
  362. package/dist/components/arcgis-utility-network-trace/customElement.js +2 -2
  363. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +2 -2
  364. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +1 -1
  365. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +2 -2
  366. package/dist/components/arcgis-value-picker/customElement.js +2 -2
  367. package/dist/components/arcgis-version-management/customElement.js +6 -6
  368. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  369. package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
  370. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  371. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  372. package/dist/components/arcgis-video/customElement.js +1 -1
  373. package/dist/components/arcgis-video-player/customElement.js +1 -1
  374. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  375. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  376. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  377. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  378. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  379. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  380. package/dist/components/arcgis-weather/customElement.js +46 -46
  381. package/dist/components/arcgis-zoom/customElement.js +10 -10
  382. package/dist/docs/api.json +528 -311
  383. package/dist/docs/docs.json +434 -284
  384. package/dist/docs/vscode.css-custom-data.json +16 -16
  385. package/dist/docs/vscode.html-custom-data.json +76 -36
  386. package/dist/docs/web-types.json +160 -104
  387. package/dist/index.d.ts +1 -0
  388. package/dist/index.js +1 -1
  389. package/dist/loader.js +4 -4
  390. package/dist/support/heading.d.ts +2 -1
  391. package/dist/types/lumina.d.ts +4 -3
  392. package/dist/types/preact.d.ts +4 -3
  393. package/dist/types/preact10.d.ts +4 -3
  394. package/dist/types/react.d.ts +4 -3
  395. package/dist/types/stencil.d.ts +4 -3
  396. package/package.json +4 -4
  397. package/dist/cdn/36T2B4QE.js +0 -4
  398. package/dist/cdn/4QTHNIWZ.js +0 -4
  399. package/dist/cdn/4URHM24J.js +0 -4
  400. package/dist/cdn/5FGKOY7J.js +0 -4
  401. package/dist/cdn/5NH4GPGY.js +0 -4
  402. package/dist/cdn/5NJFZZEW.js +0 -4
  403. package/dist/cdn/AC2VB62C.js +0 -4
  404. package/dist/cdn/B2IN65Q7.js +0 -4
  405. package/dist/cdn/BNOXXX7Q.js +0 -4
  406. package/dist/cdn/BPWXXZB3.js +0 -4
  407. package/dist/cdn/CIM5I4HG.js +0 -4
  408. package/dist/cdn/CJOMIXWQ.js +0 -4
  409. package/dist/cdn/DVED5GOP.js +0 -4
  410. package/dist/cdn/E4SPSWIX.js +0 -4
  411. package/dist/cdn/ECZMSGLS.js +0 -4
  412. package/dist/cdn/EXNNOMKQ.js +0 -4
  413. package/dist/cdn/FMPZKTVA.js +0 -4
  414. package/dist/cdn/FSNKDY5N.js +0 -4
  415. package/dist/cdn/G6EVUMPV.js +0 -4
  416. package/dist/cdn/HTXOHTSB.js +0 -4
  417. package/dist/cdn/ICECQXTU.js +0 -4
  418. package/dist/cdn/ICWQNZHR.js +0 -4
  419. package/dist/cdn/IF4BTXQ4.js +0 -4
  420. package/dist/cdn/IRZZOTCJ.js +0 -4
  421. package/dist/cdn/JC5FECSI.js +0 -4
  422. package/dist/cdn/KFCT42O5.js +0 -4
  423. package/dist/cdn/KZLZV6IK.js +0 -4
  424. package/dist/cdn/LPGOGQSL.js +0 -4
  425. package/dist/cdn/LQ4E2REN.js +0 -4
  426. package/dist/cdn/LU7KIWX4.js +0 -4
  427. package/dist/cdn/MOGEVM7H.js +0 -4
  428. package/dist/cdn/MWFVXB2E.js +0 -4
  429. package/dist/cdn/MWV7UIU2.js +0 -4
  430. package/dist/cdn/O4Z2TD3J.js +0 -4
  431. package/dist/cdn/OFODJ5TB.js +0 -4
  432. package/dist/cdn/OOFR3YDD.js +0 -4
  433. package/dist/cdn/PJZPKNJI.js +0 -4
  434. package/dist/cdn/PWIANIP6.js +0 -4
  435. package/dist/cdn/Q3TSJ5P6.js +0 -4
  436. package/dist/cdn/QPZ3LMOA.js +0 -4
  437. package/dist/cdn/QQDDLH6S.js +0 -4
  438. package/dist/cdn/QWMC4PJA.js +0 -4
  439. package/dist/cdn/RCTZEGUO.js +0 -4
  440. package/dist/cdn/SLA3EAPY.js +0 -4
  441. package/dist/cdn/SRCC6TOL.js +0 -4
  442. package/dist/cdn/T5CFGDQC.js +0 -4
  443. package/dist/cdn/TWLYT6SK.js +0 -4
  444. package/dist/cdn/UKMJ3ZPM.js +0 -4
  445. package/dist/cdn/UXGU6GBT.js +0 -4
  446. package/dist/cdn/VFPAFQWU.js +0 -4
  447. package/dist/cdn/VIEQXBWQ.js +0 -4
  448. package/dist/cdn/W3XE4XZH.js +0 -4
  449. package/dist/cdn/WCNGLFV7.js +0 -4
  450. package/dist/cdn/WXZJ7SV7.js +0 -4
  451. package/dist/cdn/XEYXPXDI.js +0 -4
  452. package/dist/cdn/XGO73VQC.js +0 -4
  453. package/dist/cdn/XXJNWIO5.js +0 -4
  454. package/dist/cdn/YOOE3OXE.js +0 -4
  455. package/dist/cdn/Z6T3HIZD.js +0 -4
  456. package/dist/cdn/ZBJC2BPG.js +0 -4
@@ -12,157 +12,73 @@ 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.
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.
110
39
  *
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.
114
- *
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;
146
62
  /**
147
- * [Collection](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html) of [action](https://developers.arcgis.com/javascript/latest/api-reference/esri-support-actions-ActionButton.html) or [action](https://developers.arcgis.com/javascript/latest/api-reference/esri-support-actions-ActionToggle.html) objects.
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.
148
64
  * Each action may be executed by clicking the icon or image symbolizing them.
149
- * By default, popups have a `Zoom To` action styled with a magnifying glass icon ![popupTemplate-zoom-action](../assets/img/apiref/widgets/popup/popuptemplate-zoom-action.png).
150
- * When this icon is clicked, the view zooms in four LODs and centers on the selected feature.
151
65
  *
152
- * You may remove this default action by setting [includeDefaultActions](#includeDefaultActions) to `false`, or by setting the
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
153
69
  * [`overwriteActions`](esri-PopupTemplate.html#overwriteActions) property to `true` in a [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html).
154
- * 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).
155
70
  *
156
- * The [trigger-action](#event-trigger-action) event fires each time an action is clicked.
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).
157
72
  *
158
- * Actions are defined with the properties listed in the [ActionButton](https://developers.arcgis.com/javascript/latest/api-reference/esri-support-actions-ActionButton.html) or [ActionToggle](https://developers.arcgis.com/javascript/latest/api-reference/esri-support-actions-ActionToggle.html) classes.
73
+ * The [arcgisTriggerAction](#arcgisTriggerAction) event fires each time an action is clicked.
159
74
  *
160
75
  * @autocast { "value": "Object[]", "typedCollection": true, "byTypeProperty": true }
161
- * @see [trigger-action](#event-trigger-action)
76
+ * @see [arcgisTriggerAction](#arcgisTriggerAction)
162
77
  * @see [Sample - Popup actions](../sample-code/popup-actions/index.html)
163
78
  * @see [Sample - Custom popup actions per feature](../sample-code/popup-custom-action/index.html)
164
79
  * @see [Sample - Popup with edit action](../sample-code/popup-editaction/index.html)
165
80
  * @example
81
+ * ```js
166
82
  * // Defines an action button to zoom out from the selected feature
167
83
  * const zoomOutAction = {
168
84
  * type: "button",
@@ -174,13 +90,13 @@ export declare class ArcgisPopup extends LitElement {
174
90
  * icon: "magnifying-glass-minus"
175
91
  * };
176
92
  * // Adds the custom action to the popup.
177
- * view.popup.actions.push(zoomOutAction);
93
+ * popupComponent.actions.push(zoomOutAction);
94
+ * ```
178
95
  */
179
96
  actions: __esri.Collection<ActionButton | __esri.ActionToggle>;
180
97
  /**
181
- * Indicates if the widget is active when it is visible and is not [waiting](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup-PopupViewModel.html#waitingForResult).
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).
182
99
  *
183
- * @since 4.30
184
100
  * @default false
185
101
  */
186
102
  readonly active: boolean;
@@ -190,20 +106,55 @@ export declare class ArcgisPopup extends LitElement {
190
106
  * to explicitly control where the popup displays in relation to the feature, choose
191
107
  * an option besides `auto`.
192
108
  *
193
- * @since 4.8
194
109
  * @example
110
+ * ```js
195
111
  * // Popup will display on the bottom-right of the selected feature regardless of where that feature is located
196
- * view.popup.alignment = "bottom-right";
112
+ * popupComponent.alignment = "bottom-right";
113
+ * ```
197
114
  * @default "auto"
198
115
  */
199
116
  alignment: Alignment;
200
117
  /**
201
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.
202
119
  *
203
- * @since 4.5
204
120
  * @default false
205
121
  */
206
122
  autoCloseEnabled: boolean;
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
+ */
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. */
157
+ get currentDockPosition(): nil | PopupPositionResult;
207
158
  /**
208
159
  * Enables automatic creation of a popup template for layers that have popups enabled but no
209
160
  * popupTemplate defined. Automatic popup templates are supported for layers that
@@ -218,7 +169,7 @@ export declare class ArcgisPopup extends LitElement {
218
169
  * [ImageryLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ImageryLayer.html), and
219
170
  * [VoxelLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VoxelLayer.html)).
220
171
  *
221
- * ::: esri-md class="warning"
172
+ * **Note:**
222
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
223
174
  * wildcard, e.g. `*`. Instead, set the `defaultPopupTemplateEnabled` property to `true`.
224
175
  * * Starting with 4.16, the default popup has been improved to no longer display system
@@ -228,36 +179,35 @@ export declare class ArcgisPopup extends LitElement {
228
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)
229
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`.
230
181
  * For example, previously a date that may have appeared as `"December 30, 1997"` will now appear as `"12/30/1997 6:00 PM"`.
231
- * :::
232
182
  *
233
- * @since 4.11
234
183
  * @default false
235
184
  */
236
185
  defaultPopupTemplateEnabled: boolean;
237
186
  /**
238
- * The content of the popup. When set directly on the Popup, this content is
239
- * static and cannot use fields to set content templates. To set a template
240
- * for the content based on field or attribute names, see
241
- * [PopupTemplate.content](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html#content).
187
+ * Indicates whether the placement of the popup is docked to the side of the view.
242
188
  *
243
- * @noautocast
244
- * @see [Sample - Popup Docking](../sample-code/popup-docking-position/index.html)
245
- * @see [Sample - Popup with DOM node](../sample-code/popup-domnode/index.html)
246
- * @example
247
- * // This sets generic instructions in the popup that will always be displayed
248
- * // unless it is overridden by a PopupTemplate
249
- * view.popup.content = "Click a feature on the map to view its attributes";
250
- */
251
- content: string | HTMLElement | nullish | __esri.Widget;
252
- /**
253
- * Indicates whether the popup displays its content. If `true`, only the header displays.
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.
254
195
  *
255
- * @since 4.5
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
+ * ```
256
208
  * @default false
257
209
  */
258
- readonly collapsed: boolean;
259
- /** Dock position in the [View](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html). */
260
- get currentDockPosition(): nil | PopupPositionResult;
210
+ dockEnabled: boolean;
261
211
  /**
262
212
  * Docking the popup allows for a better user experience, particularly when opening
263
213
  * popups in apps on mobile devices. When a popup is "dockEnabled" it means the popup no
@@ -269,7 +219,8 @@ export declare class ArcgisPopup extends LitElement {
269
219
  *
270
220
  * @see [Sample - Popup docking](../sample-code/popup-docking-position/index.html)
271
221
  * @example
272
- * view.popup.dockOptions = {
222
+ * ```js
223
+ * popupComponent.dockOptions = {
273
224
  * // Disable the dock button so users cannot undock the popup
274
225
  * buttonEnabled: false,
275
226
  * // Dock the popup when the size of the view is less than or equal to 600x1000 pixels
@@ -278,26 +229,10 @@ export declare class ArcgisPopup extends LitElement {
278
229
  * height: 1000
279
230
  * }
280
231
  * };
232
+ * ```
281
233
  */
282
234
  get dockOptions(): DockOptions;
283
235
  set dockOptions(dockOptions: DockOptions);
284
- /**
285
- * Indicates whether the placement of the popup is docked to the side of the view.
286
- *
287
- * Docking the popup allows for a better user experience, particularly when opening
288
- * popups in apps on mobile devices. When a popup is "dockEnabled" it means the popup no
289
- * longer points to the [selected feature](#selectedFeature) or the [location](#location)
290
- * assigned to it. Rather it is attached to a side, the top, or the bottom of the view.
291
- *
292
- * See [dockOptions](#dockOptions) to override default options related to docking the popup.
293
- *
294
- * @see [Sample - Popup docking](../sample-code/popup-docking-position/index.html)
295
- * @example
296
- * // The popup will automatically be dockEnabled when made visible
297
- * view.popup.dockEnabled = true;
298
- * @default false
299
- */
300
- dockEnabled: boolean;
301
236
  /**
302
237
  * The number of selected [features](#features) available to the popup.
303
238
  *
@@ -305,9 +240,9 @@ export declare class ArcgisPopup extends LitElement {
305
240
  */
306
241
  readonly featureCount: number;
307
242
  /**
308
- * This property enables showing the list of features.
309
- *
310
- * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Features-FeaturesViewModel.html#featureMenuOpen)
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".
311
246
  *
312
247
  * @default false
313
248
  */
@@ -328,6 +263,7 @@ export declare class ArcgisPopup extends LitElement {
328
263
  *
329
264
  * @noautocast
330
265
  * @example
266
+ * ```js
331
267
  * // When setting the features property, the graphics pushed to this property
332
268
  * // must have a PopupTemplate set.
333
269
  * let g1 = new Graphic();
@@ -339,53 +275,132 @@ export declare class ArcgisPopup extends LitElement {
339
275
  * // the popup will be set depending on the PopupTemplate of the graphics.
340
276
  * // Each graphic may share the same PopupTemplate or have a unique PopupTemplate
341
277
  * let graphics = [g1, g2, g3, g4, g5];
342
- * view.popup.features = graphics;
278
+ * popupComponent.features = graphics;
279
+ * ```
343
280
  */
344
281
  features: __esri.Graphic[];
345
282
  /**
346
- * This function provides the ability to override either the
347
- * [MapView goTo()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#goTo) or
348
- * [SceneView goTo()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#goTo) methods.
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.
349
284
  *
350
- * [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Features-FeaturesViewModel.html#goToOverride)
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
+ * ```
351
294
  */
352
295
  goToOverride: nullish | __esri.GoToOverride;
353
296
  /**
354
- * The current state of the component.
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.
355
301
  *
356
- * @default "disabled"
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
+ * ```
357
315
  */
358
- readonly state: "ready" | "disabled";
316
+ heading: string | nullish;
359
317
  /**
360
- * Indicates the heading level to use for the [title](#title) of the popup.
361
- * By default, the title is rendered
362
- * as a level 2 heading (e.g. `<h2>Popup title</h2>`). Depending on the widget's placement
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
363
321
  * in your app, you may need to adjust this heading for proper semantics. This is
364
322
  * important for meeting accessibility standards.
365
323
  *
366
- * @since 4.20
367
324
  * @see [Heading Elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements)
325
+ * @see [heading](#heading)
368
326
  * @example
369
- * // popup title will render as an <h3>
370
- * popup.headingLevel = 3;
327
+ * ```html
328
+ * <!-- Render the popup heading as a level 3 heading -->
329
+ * <arcgis-popup heading="Popup title" heading-level="3"></arcgis-popup>
330
+ * ```
371
331
  * @default 2
372
332
  */
373
333
  headingLevel: HeadingLevel;
374
334
  /**
375
- * Highlight the selected popup feature using the [highlights](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#highlights)
376
- * set on the [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html) or the [highlights](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#highlights)
377
- * set on the [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html).
335
+ * Indicates whether to hide the action bar that holds the feature's [actions](#actions).
336
+ *
337
+ * @default false
338
+ */
339
+ hideActionBar: boolean;
340
+ /**
341
+ * Indicates whether to hide the close button in the component.
342
+ *
343
+ * @default false
344
+ */
345
+ hideCloseButton: boolean;
346
+ /**
347
+ * Indicates whether to hide the collapse button in the component.
348
+ *
349
+ * @default false
350
+ */
351
+ hideCollapseButton: boolean;
352
+ /**
353
+ * Indicates whether to hide a heading and description on the component feature menu list.
354
+ *
355
+ * @default false
356
+ */
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
+ */
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
+ */
369
+ hideFeatureListLayerTitle: boolean;
370
+ /**
371
+ * Indicates whether to hide the heading in the component.
372
+ *
373
+ * @default false
374
+ */
375
+ hideHeading: boolean;
376
+ /**
377
+ * Indicates whether to hide the spinner in the component.
378
+ *
379
+ * @default false
380
+ */
381
+ hideSpinner: boolean;
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).
378
385
  *
379
386
  * @default false
380
387
  */
381
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;
382
396
  /**
383
397
  * Indicates whether to initially display a list of features, or the content for one feature.
384
398
  *
385
- * @since 4.32
386
399
  * @default "feature"
387
400
  */
388
401
  initialDisplayMode: "list" | "feature";
402
+ /** The component's default label. */
403
+ label?: string;
389
404
  /**
390
405
  * Point used to position the popup. This is automatically set when viewing the
391
406
  * popup by selecting a feature. If using the Popup to display content not related
@@ -395,23 +410,31 @@ export declare class ArcgisPopup extends LitElement {
395
410
  * @autocast { "byTypeProperty": false }
396
411
  * @see [Intro to popups](../sample-code/intro-popup/index.html)
397
412
  * @example
413
+ * ```js
398
414
  * // Sets the location of the popup to the center of the view
399
- * view.popup.location = view.center;
415
+ * popupComponent.location = viewELement.center;
400
416
  * // Displays the popup
401
- * view.popup.visible = true;
417
+ * popupComponent.visible = true;
418
+ * ```
402
419
  * @example
420
+ * ```js
403
421
  * // Sets the location of the popup to a specific place (using autocast)
404
422
  * // Note: using latitude/longitude only works if view is in Web Mercator or WGS84 spatial reference.
405
- * view.popup.location = {latitude: 34.0571, longitude: -117.1968};
423
+ * popupComponent.location = {latitude: 34.0571, longitude: -117.1968};
424
+ * ```
406
425
  * @example
426
+ * ```js
407
427
  * // Sets the location of the popup to the location of a click on the view
408
- * reactiveUtils.on(()=>view, "click", (event)=>{
409
- * view.popup.location = event.mapPoint;
428
+ * reactiveUtils.on(()=>viewElement, "arcgisViewClick", (event)=>{
429
+ * popupComponent.location = event.detail.mapPoint;
410
430
  * // Displays the popup
411
- * view.popup.visible = true;
431
+ * popupComponent.visible = true;
412
432
  * });
433
+ * ```
413
434
  */
414
435
  location: nullish | __esri.Point;
436
+ /** Overwrite localized strings for this component */
437
+ messageOverrides?: typeof this.messages._overrides;
415
438
  /**
416
439
  * An array of pending Promises that have not yet been fulfilled. If there are
417
440
  * no pending promises, the value is `null`. When the pending promises are
@@ -419,6 +442,17 @@ export declare class ArcgisPopup extends LitElement {
419
442
  * are pushed into the [features](#features) array.
420
443
  */
421
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;
422
456
  /**
423
457
  * The selected feature accessed by the popup. The content of the Popup is
424
458
  * determined based on the [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) assigned to
@@ -426,112 +460,33 @@ export declare class ArcgisPopup extends LitElement {
426
460
  */
427
461
  readonly selectedFeature: nullish | __esri.Graphic;
428
462
  /**
429
- * The feature that the widget has drilled into.
430
- * 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](https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-UtilityNetworkAssociationsContent.html).
431
- *
432
- * @since 4.32
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.
433
465
  */
434
- get selectedDrillInFeature(): __esri.Graphic | nil;
466
+ get selectedFeatureComponent(): HTMLArcgisFeatureElement | null;
435
467
  /**
436
468
  * Index of the feature that is [selected](#selectedFeature). When [features](#features) are set,
437
469
  * the first index is automatically selected.
438
470
  */
439
471
  selectedFeatureIndex: number;
440
472
  /**
441
- * Returns a reference to the current [Feature](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Feature.html) that the Popup is using.
442
- * This is useful if needing to get a reference to the widget in order to make any changes to it.
443
- *
444
- * @since 4.7
445
- */
446
- get selectedFeatureComponent(): HTMLArcgisFeatureElement | null;
447
- /**
448
- * The title of the popup. This can be set generically on the popup no
449
- * matter the features that are selected. If the [selected feature](#selectedFeature)
450
- * has a [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html), then the title set in the
451
- * corresponding template is used here.
452
- *
453
- * @see [headingLevel](#headingLevel)
454
- * @example
455
- * // This title will display in the popup unless a selected feature's
456
- * // PopupTemplate overrides it
457
- * view.popup.title = "Population by zip codes in Southern California";
458
- */
459
- heading: string | nullish;
460
- /**
461
- * This property provides the ability to turn individual elements of the component's display on/off.
462
- *
463
- * @default false
464
- */
465
- hideActionBar: boolean;
466
- /**
467
- * This property provides the ability to turn individual elements of the component's display on/off.
468
- *
469
- * @default false
470
- */
471
- hideCloseButton: boolean;
472
- /**
473
- * This property provides the ability to turn individual elements of the component's display on/off.
474
- *
475
- * @default false
476
- */
477
- hideCollapseButton: boolean;
478
- /**
479
- * This property provides the ability to turn individual elements of the component's display on/off.
480
- *
481
- * @default false
482
- */
483
- hideFeatureMenuHeading: boolean;
484
- /**
485
- * This property provides the ability to turn individual elements of the component's display on/off.
486
- *
487
- * @default false
488
- */
489
- hideFeatureNavigation: boolean;
490
- /**
491
- * This property provides the ability to turn individual elements of the component's display on/off.
492
- *
493
- * @default false
494
- */
495
- hideFeatureListLayerTitle: boolean;
496
- /**
497
- * This property provides the ability to turn individual elements of the component's display on/off.
498
- *
499
- * @default false
500
- */
501
- hideHeading: boolean;
502
- /**
503
- * This property provides the ability to turn individual elements of the component's display on/off.
504
- *
505
- * @default false
506
- */
507
- hideSpinner: boolean;
508
- /**
509
- * If true, the component will not be destroyed automatically when it is
510
- * disconnected from the document. This is useful when you want to move the
511
- * component to a different place on the page, or temporarily hide it. If this
512
- * 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
513
- * prevent memory leaks.
473
+ * The current state of the component.
514
474
  *
515
- * @default false
475
+ * @default "disabled"
516
476
  */
517
- autoDestroyDisabled: boolean;
518
- /** Overwrite localized strings for this component */
519
- messageOverrides?: typeof this.messages._overrides;
520
- /** The widget's default label. */
521
- label?: string;
477
+ readonly state: "ready" | "disabled";
522
478
  /**
523
- * Indicates whether the popup is visible. This property is `true` when the popup is querying for results, even if it is not open in the view.
524
- * Use the property to check if the popup is visible and is not
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.
525
481
  *
526
482
  * @name visible
527
- * @instance
528
483
  * @type {boolean}
529
484
  * @default false
530
485
  */
531
486
  visible: boolean;
532
487
  /**
533
- * Removes [promises](#promises), [features](#features), [content](#content),
534
- * [title](#title) and [location](#location) from the Popup.
488
+ * Removes all [promises](#promises), [features](#features), [content](#content),
489
+ * [heading](#heading) and [location](#location) from the Popup.
535
490
  */
536
491
  clear(): Promise<void>;
537
492
  /** Permanently destroy the component. */
@@ -541,29 +496,27 @@ export declare class ArcgisPopup extends LitElement {
541
496
  * These features are fetched from all of the [LayerViews](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html)
542
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
543
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).
544
- * These features can then be used within a custom [Popup](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html)
545
- * or [Feature](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Feature.html) widget experience.
546
- * One example could be a custom side panel that displays feature-specific information based on
547
- * an end user's click location. This method allows a developer the ability to
548
- * control how the input location is handled, and then subsequently, what to do with the results.
549
499
  *
550
500
  * @example
551
- * // Add Feature widget to UI
552
- * view.ui.add(featureWidget, "top-right");
553
- *
554
- * // Get view's click event
555
- * reactiveUtils.on(()=>view, "click", (event)=>{
556
- * // Call fetchFeatures and pass in the click event screenPoint
557
- * view.popup.fetchFeatures(event.screenPoint).then((response) => {
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) => {
558
512
  * // Access the response from fetchFeatures
559
513
  * response.allGraphicsPromise.then((graphics) => {
560
- * // Set the feature widget's graphic to the returned graphic from fetchFeatures
561
- * featureWidget.graphic = graphics[0];
514
+ * // Set the feature component's graphic to the returned graphic from fetchFeatures
515
+ * featureComponent.graphic = graphics[0];
562
516
  * });
563
517
  * });
564
518
  * });
565
- * @since 4.15
566
- * @see [Sample - Feature widget - Query graphics from multiple layers](../sample-code/widgets-feature-multiplelayers/index.html)
519
+ * ```
567
520
  */
568
521
  fetchFeatures(screenPoint: __esri.ScreenPoint, options?: FetchFeaturesOptions): Promise<__esri.FetchPopupFeaturesResult>;
569
522
  /**
@@ -578,45 +531,50 @@ export declare class ArcgisPopup extends LitElement {
578
531
  * the popup's [visible](#visible) property to `true`. Users can alternatively open the popup
579
532
  * by directly setting the [visible](#visible) property to `true`.
580
533
  *
581
- * ::: esri-md class="warning"
582
- * The popup will only display if
583
- * the view's size constraints in [dockOptions](#dockOptions) are met or the [location](#location)
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)
584
536
  * property is set to a geometry.
585
- * :::
586
537
  *
587
- * @see [Intro to popups](../sample-code/intro-popup/index.html)
588
- * @see [Popup.visible](#visible)
589
- * @see [Sample - Query with `rest/query`](../sample-code/query/index.html)
590
- * @see [Sample - Popup with DOM node](../sample-code/popup-domnode/index.html)
538
+ * @see [visible](#visible)
591
539
  * @example
592
- * reactiveUtils.on(()=>view, "click", (event)=>{
593
- * view.popup.open({
594
- * location: event.mapPoint, // location of the click on the view
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
595
545
  * title: "You clicked here", // title displayed in the popup
596
546
  * content: "This is a point of interest" // content displayed in the popup
597
547
  * });
598
548
  * });
549
+ * ```
599
550
  * @example
600
- * reactiveUtils.on(()=>view, "click", (event)=>{
601
- * view.popup.open({
602
- * location: event.mapPoint, // location of the click on the view
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
603
556
  * fetchFeatures: true // display the content for the selected feature if a popupTemplate is defined.
604
557
  * });
605
558
  * });
559
+ * ```
606
560
  * @example
607
- * view.popup.open({
561
+ * ```js
562
+ * popupComponent.open({
608
563
  * title: "You clicked here", // title displayed in the popup
609
564
  * content: "This is a point of interest", // content displayed in the popup
610
- * location: event.mapPoint,
565
+ * location: event.detail.mapPoint,
611
566
  * updateLocationEnabled: true // updates the location of popup based on
612
567
  * // selected feature's geometry
613
568
  * });
569
+ * ```
614
570
  * @example
615
- * view.popup.open({
571
+ * ```js
572
+ * popupComponent.open({
616
573
  * features: graphics, // array of graphics
617
574
  * featureMenuOpen: true, // selected features initially display in a list
618
575
  * location: graphics[0].geometry // location of the first graphic in the array of graphics
619
576
  * });
577
+ * ```
620
578
  */
621
579
  open(options?: __esri.FeaturesViewModelOpenOptions): Promise<void>;
622
580
  /**
@@ -625,14 +583,10 @@ export declare class ArcgisPopup extends LitElement {
625
583
  * @see [selectedFeatureIndex](#selectedFeatureIndex)
626
584
  */
627
585
  previous(): Promise<FeaturesViewModel>;
628
- /**
629
- * Use this method to give focus to the Widget if the widget is able to be focused.
630
- *
631
- * @since 4.6
632
- */
586
+ /** Use this method to give focus to the Widget if the widget is able to be focused. */
633
587
  setFocus(): Promise<void>;
634
588
  /**
635
- * Triggers the [trigger-action](#event-trigger-action) event and executes the [action](#actions)
589
+ * Triggers the [arcgisTriggerAction](#arcgisTriggerAction) event and executes the [action](#actions)
636
590
  * at the specified index in the [actions](#actions) array.
637
591
  */
638
592
  triggerAction(action: __esri.ActionButton | __esri.ActionToggle): Promise<void>;
@@ -643,6 +597,49 @@ export declare class ArcgisPopup extends LitElement {
643
597
  readonly arcgisReady: TargetedEvent<this, void>;
644
598
  /** Emitted when the component's close button is clicked. */
645
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
+ */
646
643
  readonly arcgisTriggerAction: TargetedEvent<this, __esri.PopupTriggerActionEvent>;
647
644
  private messages;
648
645
  }