@arcgis/map-components 4.34.0-next.20 → 4.34.0-next.22

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 (265) hide show
  1. package/dist/cdn/{FMHODF2P.js → 25YX3VJ4.js} +2 -2
  2. package/dist/cdn/{Q6H72XC6.js → 2FWLSG35.js} +2 -2
  3. package/dist/cdn/{OF2ETBRA.js → 2GUKPC66.js} +2 -2
  4. package/dist/cdn/{EM5YT262.js → 2UFYBD2U.js} +1 -1
  5. package/dist/cdn/{ULK3ELJZ.js → 2WVNYSEX.js} +2 -2
  6. package/dist/cdn/{NA5XNR6C.js → 2YDE3VZK.js} +2 -2
  7. package/dist/cdn/{7FIG5C46.js → 3P72CQUA.js} +2 -2
  8. package/dist/cdn/{LBIFHUDZ.js → 3UJXY5CM.js} +2 -2
  9. package/dist/cdn/{A2OIDY5B.js → 4T6LS676.js} +2 -2
  10. package/dist/cdn/{TVKSSFHU.js → 4U3WDWUW.js} +2 -2
  11. package/dist/cdn/{Q3ISTJOO.js → 4YN6VAUU.js} +2 -2
  12. package/dist/cdn/{BUUMZNCV.js → 552DOJ2A.js} +2 -2
  13. package/dist/cdn/{MAD2J6QQ.js → 55PCGFRY.js} +2 -2
  14. package/dist/cdn/{37OOSZJN.js → 56B22H6M.js} +2 -2
  15. package/dist/cdn/5KL7Q2I7.js +4 -0
  16. package/dist/cdn/{TOK4URPS.js → 5NJPPRVO.js} +2 -2
  17. package/dist/cdn/{HRGZVM26.js → 5RQ356NJ.js} +2 -2
  18. package/dist/cdn/{3JZFTPDS.js → 6HWJXVFY.js} +2 -2
  19. package/dist/cdn/{CTVODY2L.js → 726PFCAV.js} +2 -2
  20. package/dist/cdn/{XEWUFL5A.js → 7ETKBQFF.js} +1 -1
  21. package/dist/cdn/{ZA6LS2DT.js → 7GVJPUR7.js} +2 -2
  22. package/dist/cdn/{YROEKDLY.js → 7JZ2MOKZ.js} +2 -2
  23. package/dist/cdn/{R4TRCPYE.js → 7K2TEWE5.js} +1 -1
  24. package/dist/cdn/{XTOCNPIF.js → ADFWMOOF.js} +2 -2
  25. package/dist/cdn/{TP2UXACR.js → AFPI56ST.js} +2 -2
  26. package/dist/cdn/{GIAR3I4T.js → AIQBFOZW.js} +2 -2
  27. package/dist/cdn/{T5CZQJOU.js → AY3IVWND.js} +2 -2
  28. package/dist/cdn/{WRW2ZSOO.js → BA2W3PDL.js} +2 -2
  29. package/dist/cdn/{6IO6EDU6.js → BBJX2JVB.js} +2 -2
  30. package/dist/cdn/{5W5GGIWL.js → BETMBDBD.js} +2 -2
  31. package/dist/cdn/{KMWZKUYI.js → CEONUUPY.js} +2 -2
  32. package/dist/cdn/{5ZFQYKDQ.js → CHLWLN7B.js} +2 -2
  33. package/dist/cdn/{WERCUHHX.js → CSVOP2IL.js} +2 -2
  34. package/dist/cdn/{GBHPLHDP.js → CZM3NKU7.js} +2 -2
  35. package/dist/cdn/{5F4KKKR2.js → DBWZSRM5.js} +2 -2
  36. package/dist/cdn/{KP2PRNMR.js → DIAZ3DOA.js} +2 -2
  37. package/dist/cdn/{KYAT2EEX.js → DT673XVS.js} +2 -2
  38. package/dist/cdn/{S6JGYQ4Y.js → DXVGDEDP.js} +2 -2
  39. package/dist/cdn/{YCEOOMPS.js → DXXMCV42.js} +2 -2
  40. package/dist/cdn/{3COE2Z3B.js → E6RYARX2.js} +1 -1
  41. package/dist/cdn/{HBJ2ZDE6.js → EEJF2Z2K.js} +2 -2
  42. package/dist/cdn/{ZUD7WKRS.js → EGQAY4UW.js} +2 -2
  43. package/dist/cdn/{7CEESMMF.js → EHAGDRQK.js} +2 -2
  44. package/dist/cdn/{6HAPOXM4.js → EJNBY7MG.js} +2 -2
  45. package/dist/cdn/{TVWHW67R.js → EVCAUJA6.js} +2 -2
  46. package/dist/cdn/{5N3A2V7I.js → FC7NWW2H.js} +2 -2
  47. package/dist/cdn/{BEBNYXEO.js → G67QY2KK.js} +2 -2
  48. package/dist/cdn/{YTHUO5OY.js → GCAPZZ6M.js} +2 -2
  49. package/dist/cdn/{6YVLN2P3.js → GT2NFOKO.js} +1 -1
  50. package/dist/cdn/{MWU37I6K.js → H253A4J4.js} +2 -2
  51. package/dist/cdn/{W4YLM5Q7.js → HGQOTV4T.js} +2 -2
  52. package/dist/cdn/{TZW53V7V.js → HKB6BUEQ.js} +2 -2
  53. package/dist/cdn/{53VD6INF.js → HOSMZZ2I.js} +1 -1
  54. package/dist/cdn/{WAA675KF.js → HS7OXW73.js} +2 -2
  55. package/dist/cdn/{BSLJTO5W.js → I5OUHIAV.js} +2 -2
  56. package/dist/cdn/{3XFKPFZ6.js → IIDFCCUV.js} +2 -2
  57. package/dist/cdn/{BCW2OD35.js → ILNGOPLK.js} +2 -2
  58. package/dist/cdn/{L4NZQKEH.js → IPNLECA6.js} +2 -2
  59. package/dist/cdn/{7QSEE732.js → J4NHTJMU.js} +2 -2
  60. package/dist/cdn/{66WLGZBK.js → JNNQQAAI.js} +2 -2
  61. package/dist/cdn/{VIZKBNB3.js → JVWLA3M3.js} +2 -2
  62. package/dist/cdn/{6YA5EHG3.js → K6BNCUPD.js} +2 -2
  63. package/dist/cdn/{BNSB5DBF.js → KFE4TIWZ.js} +2 -2
  64. package/dist/cdn/{XRFFTEP7.js → LHZTD7D5.js} +2 -2
  65. package/dist/cdn/{3FHU5J5V.js → LWRNDHG7.js} +2 -2
  66. package/dist/cdn/{XNV22S4H.js → LX3GEZ7F.js} +2 -2
  67. package/dist/cdn/{QD4I6M3K.js → M7NMAEXW.js} +2 -2
  68. package/dist/cdn/{JWUDTAKH.js → MAKSSUXI.js} +2 -2
  69. package/dist/cdn/{KHLYVIBR.js → MVFLZYZT.js} +2 -2
  70. package/dist/cdn/{OVBHUV5Z.js → NBYLBYD7.js} +2 -2
  71. package/dist/cdn/{JXDNAFBS.js → NLTOGDO2.js} +2 -2
  72. package/dist/cdn/{WLZQNP7J.js → NPOX3RWA.js} +2 -2
  73. package/dist/cdn/{YMCFBT2L.js → OAXSAOP5.js} +2 -2
  74. package/dist/cdn/OKTT7PXA.js +4 -0
  75. package/dist/cdn/{NKRS33IA.js → OS4NVE5Z.js} +2 -2
  76. package/dist/cdn/{GNWBPZXN.js → P67TJWE4.js} +2 -2
  77. package/dist/cdn/{W44LCN2B.js → P67WZNA5.js} +2 -2
  78. package/dist/cdn/{BMQSD5DM.js → PK7MU53P.js} +2 -2
  79. package/dist/cdn/{DPJONPCK.js → PKEFD3M4.js} +2 -2
  80. package/dist/cdn/{K2V4Y6OT.js → PZRD4FGG.js} +2 -2
  81. package/dist/cdn/{2WYOLZ2S.js → QIHWD5QJ.js} +2 -2
  82. package/dist/cdn/{FJUUINMO.js → QTX3CY5Q.js} +1 -1
  83. package/dist/cdn/{JRDPLJJ2.js → QYSFXCB3.js} +2 -2
  84. package/dist/cdn/{XHWF5J4T.js → S3I4HKYA.js} +2 -2
  85. package/dist/cdn/{6PKZGLPN.js → SAVOAY46.js} +2 -2
  86. package/dist/cdn/{32BNVHFB.js → SJTQOJEZ.js} +2 -2
  87. package/dist/cdn/{5YIGSG3W.js → SLZZJRFR.js} +2 -2
  88. package/dist/cdn/{GM5SPCJW.js → SQ34NFA5.js} +2 -2
  89. package/dist/cdn/{QBOTK4ZT.js → SRJECCTT.js} +2 -2
  90. package/dist/cdn/{XIQPDWHH.js → SXXDZ2ZC.js} +2 -2
  91. package/dist/cdn/{42RDF2D7.js → SYSR6VPW.js} +2 -2
  92. package/dist/cdn/{UBDHT42U.js → TCIRPN2N.js} +2 -2
  93. package/dist/cdn/{6W5JZE6P.js → TCRPXFHC.js} +2 -2
  94. package/dist/cdn/{H673H72F.js → TITMVOVH.js} +2 -2
  95. package/dist/cdn/{ENR5OCHD.js → TSVDDDSC.js} +2 -2
  96. package/dist/cdn/{YSBU56II.js → UKPKO5SI.js} +2 -2
  97. package/dist/cdn/{IFK2ZTSD.js → USQULHSG.js} +2 -2
  98. package/dist/cdn/{7WH4STWU.js → UUHL2MHB.js} +2 -2
  99. package/dist/cdn/{Y3ZQAMRW.js → V7SPYRAH.js} +2 -2
  100. package/dist/cdn/{JQ63WQ5N.js → VGR5OFZW.js} +2 -2
  101. package/dist/cdn/{BQIFQSW3.js → VUUYBPXL.js} +2 -2
  102. package/dist/cdn/{SKMKH5YG.js → WAKRN2ZO.js} +2 -2
  103. package/dist/cdn/{I2FMQPO7.js → WR7MFPII.js} +2 -2
  104. package/dist/cdn/{CMKO5P4W.js → WV6I6WVY.js} +2 -2
  105. package/dist/cdn/{57BL5AOQ.js → XHG7FPG7.js} +2 -2
  106. package/dist/cdn/{WPILVNC3.js → XMUYBHY2.js} +2 -2
  107. package/dist/cdn/{NJMTMY57.js → XSCH4NDR.js} +2 -2
  108. package/dist/cdn/{QJZTOJZ7.js → XVFO5GER.js} +2 -2
  109. package/dist/cdn/{PG7FQ7KL.js → XX5PCY54.js} +2 -2
  110. package/dist/cdn/{7ARDNPNQ.js → Y4VEY2IV.js} +2 -2
  111. package/dist/cdn/{6UECA53W.js → YJXH3TGO.js} +2 -2
  112. package/dist/cdn/{E5FAANO2.js → YOQTRLAP.js} +2 -2
  113. package/dist/cdn/{SGEYUE62.js → YQIEM4E4.js} +2 -2
  114. package/dist/cdn/{MBBASR7O.js → YWAD7NK2.js} +2 -2
  115. package/dist/cdn/{LWUM7FWM.js → ZEVN4FAP.js} +2 -2
  116. package/dist/cdn/{Y7WZVBSC.js → ZGDY26SD.js} +1 -1
  117. package/dist/cdn/{XF6S3AC3.js → ZLRYK5GL.js} +2 -2
  118. package/dist/cdn/{T2JV2ISV.js → ZM2LP2PK.js} +2 -2
  119. package/dist/cdn/{Y7TD4V23.js → ZXCDUPJ4.js} +2 -2
  120. package/dist/cdn/{EROQMNHF.js → ZZUJUUAR.js} +2 -2
  121. package/dist/cdn/index.js +2 -2
  122. package/dist/cdn/main.css +1 -1
  123. package/dist/chunks/AnalysisViewModel.js +1 -1
  124. package/dist/chunks/async-utils.js +1 -1
  125. package/dist/chunks/basemap-gallery-resources.js +1 -1
  126. package/dist/chunks/component-utils.js +1 -1
  127. package/dist/chunks/createCloseEvent.js +1 -1
  128. package/dist/chunks/globalCss.js +1 -1
  129. package/dist/chunks/heading.js +1 -1
  130. package/dist/chunks/layer-list.js +1 -1
  131. package/dist/chunks/legacyIcon.js +1 -1
  132. package/dist/chunks/maybe.js +1 -1
  133. package/dist/chunks/measurementUtils.js +1 -1
  134. package/dist/chunks/runtime.js +1 -1
  135. package/dist/chunks/useHandles.js +4 -4
  136. package/dist/chunks/useT9n.js +1 -1
  137. package/dist/chunks/useView.js +1 -1
  138. package/dist/chunks/useViewModel.js +1 -1
  139. package/dist/chunks/useWidget.js +1 -1
  140. package/dist/chunks/utils.js +1 -1
  141. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  142. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  143. package/dist/components/arcgis-attachments/customElement.js +1 -1
  144. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  145. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  146. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  147. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  148. package/dist/components/arcgis-bookmarks/customElement.d.ts +1 -3
  149. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  150. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  151. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  152. package/dist/components/arcgis-compass/customElement.js +1 -1
  153. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  154. package/dist/components/arcgis-daylight/customElement.js +1 -1
  155. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
  156. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  157. package/dist/components/arcgis-directions/customElement.js +1 -1
  158. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  159. package/dist/components/arcgis-editor/customElement.js +1 -1
  160. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  161. package/dist/components/arcgis-expand/customElement.d.ts +1 -0
  162. package/dist/components/arcgis-expand/customElement.js +1 -1
  163. package/dist/components/arcgis-feature/customElement.js +1 -1
  164. package/dist/components/arcgis-feature-content/customElement.d.ts +25 -0
  165. package/dist/components/arcgis-feature-content/customElement.js +92 -0
  166. package/dist/components/arcgis-feature-content/index.d.ts +2 -0
  167. package/dist/components/arcgis-feature-content/index.js +2 -0
  168. package/dist/components/arcgis-feature-form/customElement.d.ts +1 -1
  169. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  170. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  171. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  172. package/dist/components/arcgis-features/customElement.js +1 -1
  173. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  174. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  175. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  176. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  177. package/dist/components/arcgis-home/customElement.js +1 -1
  178. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  179. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  180. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  181. package/dist/components/arcgis-legend/customElement.js +1 -1
  182. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  183. package/dist/components/arcgis-link-chart/customElement.d.ts +11 -2
  184. package/dist/components/arcgis-link-chart/customElement.js +1 -1
  185. package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +1 -1
  186. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  187. package/dist/components/arcgis-locate/customElement.d.ts +3 -4
  188. package/dist/components/arcgis-locate/customElement.js +29 -29
  189. package/dist/components/arcgis-map/customElement.d.ts +12 -2
  190. package/dist/components/arcgis-map/customElement.js +1 -1
  191. package/dist/components/arcgis-measurement/customElement.js +1 -1
  192. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  193. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  194. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  195. package/dist/components/arcgis-placement/customElement.js +1 -1
  196. package/dist/components/arcgis-print/customElement.d.ts +3 -3
  197. package/dist/components/arcgis-print/customElement.js +1 -1
  198. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  199. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  200. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  201. package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
  202. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  203. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  204. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  205. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  206. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  207. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  208. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  209. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  210. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  211. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  212. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  213. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  214. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  215. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  216. package/dist/components/arcgis-scene/customElement.d.ts +12 -2
  217. package/dist/components/arcgis-scene/customElement.js +1 -1
  218. package/dist/components/arcgis-search/customElement.js +10 -7
  219. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  220. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  221. package/dist/components/arcgis-sketch/customElement.js +1 -1
  222. package/dist/components/arcgis-slice/customElement.js +1 -1
  223. package/dist/components/arcgis-slider/customElement.js +1 -1
  224. package/dist/components/arcgis-swipe/customElement.js +1 -1
  225. package/dist/components/arcgis-table-list/customElement.js +1 -1
  226. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  227. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  228. package/dist/components/arcgis-track/customElement.js +1 -1
  229. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  230. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  231. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  232. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  233. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  234. package/dist/components/arcgis-version-management/customElement.js +1 -1
  235. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  236. package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
  237. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  238. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  239. package/dist/components/arcgis-video/customElement.js +1 -1
  240. package/dist/components/arcgis-video-player/customElement.js +1 -1
  241. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  242. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  243. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  244. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  245. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  246. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  247. package/dist/components/arcgis-weather/customElement.js +1 -1
  248. package/dist/components/arcgis-zoom/customElement.js +1 -1
  249. package/dist/controllers/Handles.d.ts +2 -2
  250. package/dist/controllers/useHandles.d.ts +4 -4
  251. package/dist/docs/api.json +238 -19
  252. package/dist/docs/docs.json +241 -16
  253. package/dist/docs/vscode.html-custom-data.json +22 -5
  254. package/dist/docs/web-types.json +59 -9
  255. package/dist/geolocation/GeolocationPositioning.d.ts +5 -6
  256. package/dist/index.d.ts +19 -0
  257. package/dist/index.js +1 -1
  258. package/dist/loader.js +2 -1
  259. package/dist/types/lumina.d.ts +6 -0
  260. package/dist/types/preact.d.ts +7 -0
  261. package/dist/types/react.d.ts +8 -0
  262. package/dist/types/stencil.d.ts +6 -0
  263. package/dist/utils/feature-utils.d.ts +10 -0
  264. package/package.json +4 -4
  265. package/dist/cdn/JLC7B3OG.js +0 -4
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@arcgis/map-components",
4
- "version": "4.34.0-next.20",
4
+ "version": "4.34.0-next.22",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -4989,6 +4989,56 @@
4989
4989
  ]
4990
4990
  }
4991
4991
  },
4992
+ {
4993
+ "name": "arcgis-feature-content",
4994
+ "description": "### Events\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.",
4995
+ "doc-url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-feature-content/",
4996
+ "attributes": [
4997
+ {
4998
+ "name": "auto-destroy-disabled",
4999
+ "description": "If true, the component will not be destroyed automatically when it is\ndisconnected from the document. This is useful when you want to move the\ncomponent to a different place on the page, or temporarily hide it. If this\nis set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-feature-content/#destroy) method when you are done to\nprevent memory leaks.",
5000
+ "default": "false",
5001
+ "value": {
5002
+ "type": "boolean"
5003
+ }
5004
+ }
5005
+ ],
5006
+ "events": [
5007
+ {
5008
+ "name": "arcgisReady",
5009
+ "type": "void",
5010
+ "description": "Emitted when the component associated with a map or scene view is is ready to be interacted with."
5011
+ }
5012
+ ],
5013
+ "js": {
5014
+ "properties": [
5015
+ {
5016
+ "name": "autoDestroyDisabled",
5017
+ "description": "If true, the component will not be destroyed automatically when it is\ndisconnected from the document. This is useful when you want to move the\ncomponent to a different place on the page, or temporarily hide it. If this\nis set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-feature-content/#destroy) method when you are done to\nprevent memory leaks.",
5018
+ "type": "boolean"
5019
+ },
5020
+ {
5021
+ "name": "creator",
5022
+ "type": "(((event?: PopupTemplateCreatorEvent | undefined) => PopupTemplateContent | Promise<PopupTemplateContent>))"
5023
+ },
5024
+ {
5025
+ "name": "destroyer",
5026
+ "type": "(((event?: PopupTemplateCreatorEvent | undefined) => PopupTemplateContent | Promise<PopupTemplateContent>))"
5027
+ },
5028
+ {
5029
+ "name": "graphic",
5030
+ "type": "Graphic"
5031
+ }
5032
+ ],
5033
+ "events": [
5034
+ {
5035
+ "name": "arcgisReady",
5036
+ "type": "void",
5037
+ "description": "Emitted when the component associated with a map or scene view is is ready to be interacted with."
5038
+ }
5039
+ ]
5040
+ }
5041
+ },
4992
5042
  {
4993
5043
  "name": "arcgis-feature-form",
4994
5044
  "description": "### Events\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n- **arcgisSubmit**\n- **arcgisValueChange** - Fires when a field value is updated.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.\n- `getValues(): Promise<any>` - Returns all of the field values, regardless of update status.\n- `submit(): Promise<void>` - Fires the submit event.",
@@ -5139,7 +5189,7 @@
5139
5189
  {
5140
5190
  "name": "layer",
5141
5191
  "description": "Layer containing the editable feature attributes.\n\n[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureForm.html#layer)",
5142
- "type": "FeatureLayer | GeoJSONLayer | OrientedImageryLayer | SceneLayer | SubtypeSublayer"
5192
+ "type": "FeatureLayer | GeoJSONLayer | KnowledgeGraphSublayer | OrientedImageryLayer | SceneLayer | SubtypeSublayer"
5143
5193
  },
5144
5194
  {
5145
5195
  "name": "position",
@@ -8680,7 +8730,7 @@
8680
8730
  },
8681
8731
  {
8682
8732
  "name": "arcgis-link-chart",
8683
- "description": "Loads a [WebLinkChart](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebLinkChart.html) from an [ArcGIS Enterprise portal](https://enterprise.arcgis.com/en/portal/latest/administer/windows/what-is-portal-for-arcgis-.htm) into a [LinkChartView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-LinkChartView.html).\n\n\nNote: Sign in to access the data in this demo, U/P: `viewer01`/`I68VGU^nMurF`\n--\n\n### Events\n- **arcgisViewChange** - This event is for view related property changes: zoom, scale, center, rotation, extent, camera, viewpoint.\nThis event will also emit if stationary toggles from true to false.\n- **arcgisViewClick** - Fires after a user clicks on the view.\n- **arcgisViewDoubleClick** - Fires after double-clicking on the view.\n- **arcgisViewDrag** - Fires during a pointer drag on the view.\n- **arcgisViewHold** - Fires during a pointer drag on the view.\n- **arcgisViewImmediateClick** - Fires right after a user clicks on the view.\n- **arcgisViewImmediateDoubleClick** - Is emitted after two consecutive immediate-click events.\n- **arcgisViewKeyDown** - Fires after a keyboard key is pressed.\n- **arcgisViewKeyUp** - Fires after a keyboard key is pressed.\n- **arcgisViewLayerviewCreate** - Fires after each layer in the link chart has a corresponding LayerView created and rendered in the view.\n- **arcgisViewLayerviewCreateError** - Fires when an error emits during the creation of a LayerView after a layer has been added to the link chart.\n- **arcgisViewLayerviewDestroy** - Fires after a LayerView is destroyed and is no longer rendered in the view.\n- **arcgisViewMouseWheel** - Fires when a wheel button of a pointing device (typically a mouse) is scrolled on the view.\n- **arcgisViewPointerDown** - Fires after a mouse button is pressed, or a finger touches the display.\n- **arcgisViewPointerEnter** - Fires after a mouse cursor enters the view, or a display touch begins.\n- **arcgisViewPointerLeave** - Fires after a mouse cursor leaves the view, or a display touch ends.\n- **arcgisViewPointerMove** - Fires after the mouse or a finger on the display moves.\n- **arcgisViewPointerUp** - Fires after a mouse button is released, or a display touch ends.\n- **arcgisViewReadyChange** - This event is for the `ready` property and will be emitted when the view is ready.\nThis event will also emit if the `map` property is changed.\n\n### Methods\n- `addLayer(layer: __esri.Layer | Promise<any>, index?: number): Promise<void>` - **Deprecated**: since 4.33. Use `element.map.add(layer)` instead.\n\nAdds a layer to the map layers collection.. \n- `addLayers(layers: __esri.Layer[], index?: number): Promise<void>` - **Deprecated**: since 4.33. Use `element.map.addMany([layer])` instead.\n\nAdds a layer or array of layers to the map layers collection.. \n- `closePopup(): Promise<void>` - Closes the popup.\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Destroys the view, and any associated resources, including its map, popup, and UI elements.\n- `goTo(target: __esri.GoToTarget2D, options?: __esri.GoToOptions2D): Promise<unknown>` - Sets the view to a given target.\n- `openPopup(options?: __esri.PopupViewOpenPopupOptions): Promise<void>` - Opens the popup at the given location with content defined either explicitly with content or driven\nfrom the PopupTemplate of input features.\n- `toMap(screenPoint: __esri.MapViewScreenPoint | MouseEvent): __esri.Point`\n- `toScreen(point: __esri.Point, options?: __esri.ToScreenOptions2D): __esri.MapViewScreenPoint | nullish`\n- `tryFatalErrorRecovery(): Promise<void>` - Call this method to clear any fatal errors resulting from a lost WebGL context.\n- `viewOnReady(callback?: (): void, errback?: (error: Error) => void): Promise<void>` - `viewOnReady()` may be leveraged once an instance of the component is created and ready.\nThis method takes two input parameters: a `callback` function and an `errback` function.\n- `whenLayerView(layer: __esri.Layer): Promise<__esri.LayerView>` - Gets the LayerView created on the view for the given layer.",
8733
+ "description": "Loads a [WebLinkChart](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebLinkChart.html) from an [ArcGIS Enterprise portal](https://enterprise.arcgis.com/en/portal/latest/administer/windows/what-is-portal-for-arcgis-.htm) into a [LinkChartView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-LinkChartView.html).\n\n\nNote: Sign in to access the data in this demo, U/P: `viewer01`/`I68VGU^nMurF`\n--\n\n### Events\n- **arcgisViewChange** - This event is for view related property changes: zoom, scale, center, rotation, extent, camera, viewpoint.\nThis event will also emit if stationary toggles from true to false.\n- **arcgisViewClick** - Fires after a user clicks on the view.\n- **arcgisViewDoubleClick** - Fires after double-clicking on the view.\n- **arcgisViewDrag** - Fires during a pointer drag on the view.\n- **arcgisViewHold** - Fires during a pointer drag on the view.\n- **arcgisViewImmediateClick** - Fires right after a user clicks on the view.\n- **arcgisViewImmediateDoubleClick** - Is emitted after two consecutive immediate-click events.\n- **arcgisViewKeyDown** - Fires after a keyboard key is pressed.\n- **arcgisViewKeyUp** - Fires after a keyboard key is pressed.\n- **arcgisViewLayerviewCreate** - Fires after each layer in the link chart has a corresponding LayerView created and rendered in the view.\n- **arcgisViewLayerviewCreateError** - Fires when an error emits during the creation of a LayerView after a layer has been added to the link chart.\n- **arcgisViewLayerviewDestroy** - Fires after a LayerView is destroyed and is no longer rendered in the view.\n- **arcgisViewMouseWheel** - Fires when a wheel button of a pointing device (typically a mouse) is scrolled on the view.\n- **arcgisViewPointerDown** - Fires after a mouse button is pressed, or a finger touches the display.\n- **arcgisViewPointerEnter** - Fires after a mouse cursor enters the view, or a display touch begins.\n- **arcgisViewPointerLeave** - Fires after a mouse cursor leaves the view, or a display touch ends.\n- **arcgisViewPointerMove** - Fires after the mouse or a finger on the display moves.\n- **arcgisViewPointerUp** - Fires after a mouse button is released, or a display touch ends.\n- **arcgisViewReadyChange** - This event is for the `ready` property and will be emitted when the view is ready.\nThis event will also emit if the `map` property is changed.\n\n### Methods\n- `addLayer(layer: __esri.Layer | Promise<any>, index?: number): Promise<void>` - **Deprecated**: since 4.33. Use `element.map.add(layer)` instead.\n\nAdds a layer to the map layers collection.. \n- `addLayers(layers: __esri.Layer[], index?: number): Promise<void>` - **Deprecated**: since 4.33. Use `element.map.addMany([layer])` instead.\n\nAdds a layer or array of layers to the map layers collection.. \n- `closePopup(): Promise<void>` - Closes the popup.\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Destroys the view, and any associated resources, including its map, popup, and UI elements.\n- `goTo(target: __esri.GoToTarget2D, options?: __esri.GoToOptions2D): Promise<unknown>` - Sets the view to a given target.\n- `openPopup(options?: __esri.PopupViewOpenPopupOptions): Promise<void>` - Opens the popup at the given location with content defined either explicitly with content or driven\nfrom the PopupTemplate of input features.\n- `toMap(screenPoint: __esri.MapViewScreenPoint | MouseEvent): __esri.Point`\n- `toScreen(point: __esri.Point, options?: __esri.ToScreenOptions2D): __esri.MapViewScreenPoint | nullish`\n- `tryFatalErrorRecovery(): Promise<void>` - Call this method to clear any fatal errors resulting from a lost WebGL context.\n- `viewOnReady(callback?: (): void, errback?: (error: Error) => void): Promise<void>` - `viewOnReady()` may be leveraged once an instance of the component and its underlying [view](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-link-chart/#view) is created and ready.\nThis method takes two input parameters, a `callback` function and an `errback` function, and returns a promise. The `callback` executes when the promise resolves, and the `errback` executes if the promise is rejected.\n- `whenLayerView(layer: __esri.Layer): Promise<__esri.LayerView>` - Gets the LayerView created on the view for the given layer.",
8684
8734
  "doc-url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-link-chart/",
8685
8735
  "attributes": [
8686
8736
  {
@@ -9550,7 +9600,7 @@
9550
9600
  },
9551
9601
  {
9552
9602
  "name": "arcgis-map",
9553
- "description": "The ArcGIS Map component is used to add 2D maps to web applications. For 3D maps, use the\n[ArcGIS Scene component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/).\n\nThe Map component creates a [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html) and loads a WebMap from either [ArcGIS Online](https://www.arcgis.com/home/index.html) or [ArcGIS Enterprise portal](https://enterprise.arcgis.com/en/portal/latest/administer/windows/what-is-portal-for-arcgis-.htm).\n\n```html\n<arcgis-map item-id=\"05e015c5f0314db9a487a9b46cb37eca\"></arcgis-map>\n```\n\nAlternatively, the Map component can be initialized without a WebMap item.\n\n```html\n<arcgis-map basemap=\"satellite\" center=\"-154.88, 19.46\" zoom=\"15\"></arcgis-map>\n```\n\nOther components can be added and connected to the Map component.\n\n```html\n<arcgis-map item-id=\"05e015c5f0314db9a487a9b46cb37eca\">\n <arcgis-zoom position=\"top-left\"></arcgis-zoom>\n <arcgis-legend position=\"bottom-left\"></arcgis-legend>\n</arcgis-map>\n```\n\nThe Map component can be customized further using any of the [core API functionalities](https://developers.arcgis.com/javascript/latest/api-reference/) of the ArcGIS Maps SDK for JavaScript.\n\n```js\nconst viewElement = document.querySelector(\"arcgis-map\");\nviewElement.addEventListener(\"arcgisViewReadyChange\", () => {\n const layer = new GraphicsLayer({ title: \"My Layer\" });\n viewElement.map.add(layer);\n});\n```\n\nSee also:\n- [SDK sample apps using the Map component](https://developers.arcgis.com/javascript/latest/sample-code/?tagged=arcgis-map)\n- [Getting started](https://developers.arcgis.com/javascript/latest/get-started-overview/)\n- [Programming patterns](https://developers.arcgis.com/javascript/latest/programming-patterns/)\n--\n\n### Events\n- **arcgisViewChange** - This event is for view related property changes: zoom, scale, center, rotation, extent, camera, viewpoint.\nThis event will also emit if stationary toggles from true to false.\n- **arcgisViewClick** - Fires after a user clicks on the view.\n- **arcgisViewDoubleClick** - Fires after double-clicking on the view.\n- **arcgisViewDrag** - Fires during a pointer drag on the view.\n- **arcgisViewHold** - Fires during a pointer drag on the view.\n- **arcgisViewImmediateClick** - Fires right after a user clicks on the view.\n- **arcgisViewImmediateDoubleClick** - Is emitted after two consecutive immediate-click events.\n- **arcgisViewKeyDown** - Fires after a keyboard key is pressed.\n- **arcgisViewKeyUp** - Fires after a keyboard key is pressed.\n- **arcgisViewLayerviewCreate** - Fires after each layer in the map has a corresponding LayerView created and rendered in the view.\n- **arcgisViewLayerviewCreateError** - Fires when an error emits during the creation of a LayerView after a layer has been added to the map.\n- **arcgisViewLayerviewDestroy** - Fires after a LayerView is destroyed and is no longer rendered in the view.\n- **arcgisViewMouseWheel** - Fires when a wheel button of a pointing device (typically a mouse) is scrolled on the view.\n- **arcgisViewPointerDown** - Fires after a mouse button is pressed, or a finger touches the display.\n- **arcgisViewPointerEnter** - Fires after a mouse cursor enters the view, or a display touch begins.\n- **arcgisViewPointerLeave** - Fires after a mouse cursor leaves the view, or a display touch ends.\n- **arcgisViewPointerMove** - Fires after the mouse or a finger on the display moves.\n- **arcgisViewPointerUp** - Fires after a mouse button is released, or a display touch ends.\n- **arcgisViewReadyChange** - This event is for the `ready` property and will be emitted when the view is ready.\nThis event will also emit if the `map` property is changed.\n\n### Methods\n- `addLayer(layer: __esri.Layer | Promise<any>, index?: number): Promise<void>` - **Deprecated**: since 4.33. Use `element.map.add(layer)` instead.\n\nAdds a layer to the map layers collection.. \n- `addLayers(layers: __esri.Layer[], index?: number): Promise<void>` - **Deprecated**: since 4.33. Use `element.map.addMany([layer])` instead.\n\nAdds a layer or array of layers to the map layers collection.. \n- `addTable(table: __esri.FeatureLayer): Promise<void>` - **Deprecated**: since 4.33. Use `element.map.tables.add(table)` instead.\n\nAdds a table to the map tables collection.. \n- `addTables(tables: __esri.FeatureLayer[], index?: number): Promise<void>` - **Deprecated**: since 4.33. Use `element.map.tables.addMany([table])` instead.\n\nAdds a table or array of tables to the map tables collection.. \n- `closePopup(): Promise<void>` - Closes the popup.\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Destroys the view, and any associated resources, including its map, popup, and UI elements.\n- `goTo(target: __esri.GoToTarget2D, options?: __esri.GoToOptions2D): Promise<unknown>` - Sets the view to a given target.\n- `hitTest(screenPoint: __esri.MapViewScreenPoint | MouseEvent, options?: __esri.MapViewHitTestOptions): Promise<__esri.HitTestResult>` - Returns hit test results from each layer that intersects the specified screen coordinates.\n- `openPopup(options?: __esri.PopupViewOpenPopupOptions): Promise<void>` - Opens the popup at the given location with content defined either explicitly with content or driven\nfrom the PopupTemplate of input features.\n- `takeScreenshot(options?: __esri.MapViewTakeScreenshotOptions): Promise<__esri.Screenshot>` - Create a screenshot of the current view.\n- `toMap(screenPoint: __esri.MapViewScreenPoint | MouseEvent): __esri.Point`\n- `toScreen(point: __esri.Point, options?: __esri.ToScreenOptions2D): __esri.MapViewScreenPoint | nullish`\n- `tryFatalErrorRecovery(): Promise<void>` - Call this method to clear any fatal errors resulting from a lost WebGL context.\n- `viewOnReady(callback?: (): void, errback?: (error: Error) => void): Promise<void>` - `viewOnReady()` may be leveraged once an instance of the component is created and ready.\nThis method takes two input parameters: a `callback` function and an `errback` function.\n- `whenLayerView(layer: __esri.Layer): Promise<__esri.LayerView>` - Gets the LayerView created on the view for the given layer.",
9603
+ "description": "The ArcGIS Map component is used to add 2D maps to web applications. For 3D maps, use the\n[ArcGIS Scene component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/).\n\nThe Map component creates a [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html) and loads a WebMap from either [ArcGIS Online](https://www.arcgis.com/home/index.html) or [ArcGIS Enterprise portal](https://enterprise.arcgis.com/en/portal/latest/administer/windows/what-is-portal-for-arcgis-.htm).\n\n```html\n<arcgis-map item-id=\"05e015c5f0314db9a487a9b46cb37eca\"></arcgis-map>\n```\n\nAlternatively, the Map component can be initialized without a WebMap item.\n\n```html\n<arcgis-map basemap=\"satellite\" center=\"-154.88, 19.46\" zoom=\"15\"></arcgis-map>\n```\n\nOther components can be added and connected to the Map component.\n\n```html\n<arcgis-map item-id=\"05e015c5f0314db9a487a9b46cb37eca\">\n <arcgis-zoom position=\"top-left\"></arcgis-zoom>\n <arcgis-legend position=\"bottom-left\"></arcgis-legend>\n</arcgis-map>\n```\n\nThe Map component can be customized further using any of the [core API functionalities](https://developers.arcgis.com/javascript/latest/api-reference/) of the ArcGIS Maps SDK for JavaScript.\n\n```js\nconst viewElement = document.querySelector(\"arcgis-map\");\nviewElement.addEventListener(\"arcgisViewReadyChange\", () => {\n const layer = new GraphicsLayer({ title: \"My Layer\" });\n viewElement.map.add(layer);\n});\n```\n\nSee also:\n- [SDK sample apps using the Map component](https://developers.arcgis.com/javascript/latest/sample-code/?tagged=arcgis-map)\n- [Getting started](https://developers.arcgis.com/javascript/latest/get-started-overview/)\n- [Programming patterns](https://developers.arcgis.com/javascript/latest/programming-patterns/)\n--\n\n### Events\n- **arcgisViewChange** - This event is for view related property changes: zoom, scale, center, rotation, extent, camera, viewpoint.\nThis event will also emit if stationary toggles from true to false.\n- **arcgisViewClick** - Fires after a user clicks on the view.\n- **arcgisViewDoubleClick** - Fires after double-clicking on the view.\n- **arcgisViewDrag** - Fires during a pointer drag on the view.\n- **arcgisViewHold** - Fires during a pointer drag on the view.\n- **arcgisViewImmediateClick** - Fires right after a user clicks on the view.\n- **arcgisViewImmediateDoubleClick** - Is emitted after two consecutive immediate-click events.\n- **arcgisViewKeyDown** - Fires after a keyboard key is pressed.\n- **arcgisViewKeyUp** - Fires after a keyboard key is pressed.\n- **arcgisViewLayerviewCreate** - Fires after each layer in the map has a corresponding LayerView created and rendered in the view.\n- **arcgisViewLayerviewCreateError** - Fires when an error emits during the creation of a LayerView after a layer has been added to the map.\n- **arcgisViewLayerviewDestroy** - Fires after a LayerView is destroyed and is no longer rendered in the view.\n- **arcgisViewMouseWheel** - Fires when a wheel button of a pointing device (typically a mouse) is scrolled on the view.\n- **arcgisViewPointerDown** - Fires after a mouse button is pressed, or a finger touches the display.\n- **arcgisViewPointerEnter** - Fires after a mouse cursor enters the view, or a display touch begins.\n- **arcgisViewPointerLeave** - Fires after a mouse cursor leaves the view, or a display touch ends.\n- **arcgisViewPointerMove** - Fires after the mouse or a finger on the display moves.\n- **arcgisViewPointerUp** - Fires after a mouse button is released, or a display touch ends.\n- **arcgisViewReadyChange** - This event is for the `ready` property and will be emitted when the view is ready.\nThis event will also emit if the `map` property is changed.\n\n### Methods\n- `addLayer(layer: __esri.Layer | Promise<any>, index?: number): Promise<void>` - **Deprecated**: since 4.33. Use `element.map.add(layer)` instead.\n\nAdds a layer to the map layers collection.. \n- `addLayers(layers: __esri.Layer[], index?: number): Promise<void>` - **Deprecated**: since 4.33. Use `element.map.addMany([layer])` instead.\n\nAdds a layer or array of layers to the map layers collection.. \n- `addTable(table: __esri.FeatureLayer): Promise<void>` - **Deprecated**: since 4.33. Use `element.map.tables.add(table)` instead.\n\nAdds a table to the map tables collection.. \n- `addTables(tables: __esri.FeatureLayer[], index?: number): Promise<void>` - **Deprecated**: since 4.33. Use `element.map.tables.addMany([table])` instead.\n\nAdds a table or array of tables to the map tables collection.. \n- `closePopup(): Promise<void>` - Closes the popup.\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Destroys the view, and any associated resources, including its map, popup, and UI elements.\n- `goTo(target: __esri.GoToTarget2D, options?: __esri.GoToOptions2D): Promise<unknown>` - Sets the view to a given target.\n- `hitTest(screenPoint: __esri.MapViewScreenPoint | MouseEvent, options?: __esri.MapViewHitTestOptions): Promise<__esri.HitTestResult>` - Returns hit test results from each layer that intersects the specified screen coordinates.\n- `openPopup(options?: __esri.PopupViewOpenPopupOptions): Promise<void>` - Opens the popup at the given location with content defined either explicitly with content or driven\nfrom the PopupTemplate of input features.\n- `takeScreenshot(options?: __esri.MapViewTakeScreenshotOptions): Promise<__esri.Screenshot>` - Create a screenshot of the current view.\n- `toMap(screenPoint: __esri.MapViewScreenPoint | MouseEvent): __esri.Point`\n- `toScreen(point: __esri.Point, options?: __esri.ToScreenOptions2D): __esri.MapViewScreenPoint | nullish`\n- `tryFatalErrorRecovery(): Promise<void>` - Call this method to clear any fatal errors resulting from a lost WebGL context.\n- `viewOnReady(callback?: (): void, errback?: (error: Error) => void): Promise<void>` - `viewOnReady()` may be leveraged once an instance of the component and its underlying [view](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/#view) is created and ready.\nThis method takes two input parameters, a `callback` function and an `errback` function, and returns a promise. The `callback` executes when the promise resolves, and the `errback` executes if the promise is rejected.\n- `whenLayerView(layer: __esri.Layer): Promise<__esri.LayerView>` - Gets the LayerView created on the view for the given layer.",
9554
9604
  "doc-url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/",
9555
9605
  "attributes": [
9556
9606
  {
@@ -10862,7 +10912,7 @@
10862
10912
  },
10863
10913
  {
10864
10914
  "name": "reference-element",
10865
- "description": "By passing the `id` of the Map or Scene component into this property, you can position components from the `@arcgis/map-components`\npackage anywhere in the DOM while still maintaining a connection to the Map or Scene.\n\nSee [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component).",
10915
+ "description": "By passing the `id` of the Map or Scene component into this property, you can position components from the `@arcgis/map-components`\npackage anywhere in the DOM while still maintaining a connection to the Map or Scene.\n\nSee [Associate components with a Map or Scene component](https://next.sites.afd.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component).",
10866
10916
  "value": {
10867
10917
  "type": "string"
10868
10918
  }
@@ -10984,12 +11034,12 @@
10984
11034
  },
10985
11035
  {
10986
11036
  "name": "outSpatialReference",
10987
- "description": "The [spatial reference](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-SpatialReference.html) used to render the printed map on the server.",
11037
+ "description": "The [spatial reference](https://next.sites.afd.arcgis.com/javascript/latest/api-reference/esri-geometry-SpatialReference.html) used to render the printed map on the server.",
10988
11038
  "type": "SpatialReference"
10989
11039
  },
10990
11040
  {
10991
11041
  "name": "portal",
10992
- "description": "It is possible to search a specified portal instance's [locator services](https://enterprise.arcgis.com/en/portal/latest/administer/windows/configure-portal-to-geocode-addresses.htm).\nUse this property to set this [ArcGIS Portal](https://enterprise.arcgis.com/en/portal/) instance to search.\nThis is especially helpful when working with a [custom template](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Print-CustomTemplate.html).\n\nIf this property is set, it is not necessary to set the [printServiceUrl](#printServiceUrl) property.",
11042
+ "description": "It is possible to search a specified portal instance's [locator services](https://enterprise.arcgis.com/en/portal/latest/administer/windows/configure-portal-to-geocode-addresses.htm).\nUse this property to set this [ArcGIS Portal](https://enterprise.arcgis.com/en/portal/) instance to search.\nThis is especially helpful when working with a [custom](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Print-CustomTemplate.html).\n\nIf this property is set, it is not necessary to set the [printServiceUrl](#printServiceUrl) property.",
10993
11043
  "type": "Portal"
10994
11044
  },
10995
11045
  {
@@ -11004,7 +11054,7 @@
11004
11054
  },
11005
11055
  {
11006
11056
  "name": "referenceElement",
11007
- "description": "By passing the `id` of the Map or Scene component into this property, you can position components from the `@arcgis/map-components`\npackage anywhere in the DOM while still maintaining a connection to the Map or Scene.\n\nSee [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component).",
11057
+ "description": "By passing the `id` of the Map or Scene component into this property, you can position components from the `@arcgis/map-components`\npackage anywhere in the DOM while still maintaining a connection to the Map or Scene.\n\nSee [Associate components with a Map or Scene component](https://next.sites.afd.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component).",
11008
11058
  "type": "HTMLArcgisLinkChartElement | HTMLArcgisMapElement | HTMLArcgisSceneElement | string"
11009
11059
  },
11010
11060
  {
@@ -11430,7 +11480,7 @@
11430
11480
  },
11431
11481
  {
11432
11482
  "name": "arcgis-scene",
11433
- "description": "The ArcGIS Scene component is used to add 3D maps to web applications. For 2D maps, use the\n[ArcGIS Map component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/).\n\nThe Scene component creates a [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html)\nand loads a [WebScene](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebScene.html) item from either\n[ArcGIS Online](https://www.arcgis.com/home/index.html) or [ArcGIS Enterprise portal](https://enterprise.arcgis.com/en/portal/latest/administer/windows/what-is-portal-for-arcgis-.htm).\n\n```html\n<arcgis-scene item-id=\"e2da7564e4f24eaaa918ffd70378056a\"></arcgis-scene>\n```\n\nAlternatively, the Scene component can be initialized without a WebScene item:\n\n```html\n<arcgis-scene\n basemap=\"satellite\"\n ground=\"world-elevation\"\n camera-position=\"12.3808, 46.3959, 4400\"\n camera-tilt=\"75\"\n camera-heading=\"300\">\n</arcgis-scene>\n```\n\nFurther components can be added and connected to the Scene component:\n\n```html\n<arcgis-scene item-id=\"e2da7564e4f24eaaa918ffd70378056a\">\n <arcgis-layer-list position=\"bottom-right\"></arcgis-layer-list>\n</arcgis-scene>\n```\n\nThe Scene component can be customized further using any of the [core API functionalities](https://developers.arcgis.com/javascript/latest/api-reference/)\nof the ArcGIS Maps SDK for JavaScript.\n\n```js\nconst viewElement = document.querySelector(\"arcgis-scene\");\nviewElement.addEventListener(\"arcgisViewReadyChange\", () => {\n const layer = new GraphicsLayer({ title: \"My layer\"});\n viewElement.map.add(layer);\n});\n```\n\nSee also:\n- [SDK sample apps using the Scene component](https://developers.arcgis.com/javascript/latest/sample-code/?tagged=arcgis-scene)\n- [Getting started](https://developers.arcgis.com/javascript/latest/get-started-overview/)\n- [Programming patterns](https://developers.arcgis.com/javascript/latest/programming-patterns/)\n--\n\n### Events\n- **arcgisViewChange** - This event is for view related property changes:\n[zoom](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#zoom),\n[scale](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#scale),\n[center](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#center),\n[rotation](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#rotation),\n[extent](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#extent),\n[camera](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#camera),\n[viewpoint](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#viewpoint).\nThis event will also emit if [stationary](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#stationary)\ntoggles from `true` to `false`.\n- **arcgisViewClick** - Fires after a user clicks on the view.\n\n```js\nviewElement.addEventListener(\"arcgisViewClick\", (event) => {\n viewElement.hitTest(event.detail).then((response) => {\n const result = response.results[0];\n // ....\n });\n});\n```\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-click)\n- **arcgisViewDoubleClick** - Fires after double-clicking on the view.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-double-click)\n- **arcgisViewDrag** - Fires during a pointer drag on the view.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-drag)\n- **arcgisViewHold** - Fires after holding either a mouse button or a single finger on the view for a short amount of time.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-hold)\n- **arcgisViewImmediateClick** - Fires right after a user clicks on the view.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-immediate-click)\n- **arcgisViewImmediateDoubleClick** - Is emitted after two consecutive immediate-click events.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-immediate-double-click)\n- **arcgisViewKeyDown** - Fires after a keyboard key is pressed.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-key-down)\n- **arcgisViewKeyUp** - Fires after a keyboard key is released.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-key-up)\n- **arcgisViewLayerviewCreate** - Fires after each layer in the map has a corresponding LayerView created and rendered in the view.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-layerview-create)\n- **arcgisViewLayerviewCreateError** - Fires when an error emits during the creation of a LayerView after a layer has been added to the map.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-layerview-create-error)\n- **arcgisViewLayerviewDestroy** - Fires after a LayerView is destroyed and is no longer rendered in the view.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-layerview-destroy)\n- **arcgisViewMouseWheel** - Fires when a wheel button of a pointing device (typically a mouse) is scrolled on the view.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-mouse-wheel)\n- **arcgisViewPointerDown** - Fires after a mouse button is pressed, or a finger touches the display.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-pointer-down)\n- **arcgisViewPointerEnter** - Fires after a mouse cursor enters the view, or a display touch begins.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-pointer-enter)\n- **arcgisViewPointerLeave** - Fires after a mouse cursor leaves the view, or a display touch ends.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-pointer-leave)\n- **arcgisViewPointerMove** - Fires after the mouse or a finger on the display moves.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-pointer-move)\n- **arcgisViewPointerUp** - Fires after a mouse button is released, or a display touch ends.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-pointer-up)\n- **arcgisViewReadyChange** - This event is for the [ready](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#ready)\nproperty and will be emitted when the view is ready.\nThis event will also emit if the [map](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#map) property is changed.\n\n```js\nviewElement.addEventListener(\"arcgisViewReadyChange\", () => {\n const layer = new GraphicsLayer({ title: \"My layer\"});\n viewElement.map.add(layer);\n});\n```\n\n### Methods\n- `addLayer(layer: __esri.Layer | Promise<any>, index?: number): Promise<void>` - **Deprecated**: since 4.33. Use `element.map.add(layer)` instead.\n\nAdds a layer to the [map's](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#map) `layers` collection.. \n- `addLayers(layers: __esri.Layer[], index?: number): Promise<void>` - **Deprecated**: since 4.33. Use `element.map.addMany([layer])` instead.\n\nAdds a layer or array of layers to the [map's](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#map) `layers` collection.. \n- `addTable(table: __esri.FeatureLayer): Promise<void>` - **Deprecated**: since 4.33. Use `element.map.tables.add(table)` instead.\n\nAdds a table to the [map's](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#map) `tables` collection.. \n- `addTables(tables: __esri.FeatureLayer[], index?: number): Promise<void>` - **Deprecated**: since 4.33. Use `element.map.tables.addMany([table])` instead.\n\nAdds a table or array of tables to the [map's](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#map) `tables` collection.. \n- `closePopup(): Promise<void>` - Closes the [popup](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#popup).\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Destroys the Scene component, and any associated resources, including its\n[map](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#map),\n[popup](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#popup),\nand removes components or other UI DOM elements added to it.\n- `goTo(target: __esri.GoToTarget3D, options?: __esri.GoToOptions3D): Promise<unknown>` - Sets the view to a given target.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#goTo)\n- `hitTest(screenPoint: __esri.SceneViewScreenPoint | MouseEvent, options?: __esri.SceneViewHitTestOptions): Promise<__esri.SceneViewHitTestResult>` - Returns [hit test results](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#HitTestResult)\nfrom each layer that intersects the specified screen coordinates.\n\n```js\nviewElement.addEventListener(\"arcgisViewClick\", (event) => {\n viewElement.hitTest(event.detail).then((response) => {\n const result = response.results[0];\n if (result?.type === \"graphic\") {\n const { longitude, latitude } = result.mapPoint;\n console.log(\"Hit graphic at (\" + longitude + \", \" + latitude + \")\", result.graphic);\n } else {\n console.log(\"Did not hit any graphic\");\n }\n });\n});\n```\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#hitTest)\n- `openPopup(options?: __esri.PopupViewOpenPopupOptions): Promise<void>` - Opens the popup based on input options.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#openPopup)\n- `takeScreenshot(options?: __esri.SceneViewTakeScreenshotOptions): Promise<__esri.SceneViewScreenshot>` - Creates a screenshot of the current view.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#takeScreenshot)\n- `toMap(screenPoint: __esri.SceneViewScreenPoint | MouseEvent, options?: __esri.SceneViewToMapOptions): __esri.Point | nullish` - Converts the given screen point to a [map point](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Point.html).\n- `toScreen(point: __esri.Point): __esri.SceneViewScreenPoint` - Converts the given [map point](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Point.html) to a screen point.\n- `tryFatalErrorRecovery(): Promise<void>` - Call this method to clear any fatal errors resulting from a lost WebGL context.\n- `viewOnReady(callback?: (): void, errback?: (error: Error) => void): Promise<void>` - `viewOnReady()` may be leveraged once an instance of the component is created and ready.\nThis method takes two input parameters: a `callback` function and an `errback` function.\n- `whenAnalysisView(analysis: __esri.AreaMeasurementAnalysis | __esri.DimensionAnalysis | __esri.DirectLineMeasurementAnalysis | __esri.LineOfSightAnalysis | __esri.SliceAnalysis | __esri.ViewshedAnalysis): Promise<__esri.AreaMeasurementAnalysisView3D | __esri.DimensionAnalysisView3D | __esri.DirectLineMeasurementAnalysisView3D | __esri.LineOfSightAnalysisView3D | __esri.SliceAnalysisView3D | __esri.ViewshedAnalysisView3D>` - Gets the analysis view created for the given analysis object.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#whenAnalysisView)\n- `whenLayerView(layer: __esri.Layer): Promise<__esri.LayerView>` - Gets the layer view created on the view for the given layer.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#whenLayerView)",
11483
+ "description": "The ArcGIS Scene component is used to add 3D maps to web applications. For 2D maps, use the\n[ArcGIS Map component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/).\n\nThe Scene component creates a [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html)\nand loads a [WebScene](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebScene.html) item from either\n[ArcGIS Online](https://www.arcgis.com/home/index.html) or [ArcGIS Enterprise portal](https://enterprise.arcgis.com/en/portal/latest/administer/windows/what-is-portal-for-arcgis-.htm).\n\n```html\n<arcgis-scene item-id=\"e2da7564e4f24eaaa918ffd70378056a\"></arcgis-scene>\n```\n\nAlternatively, the Scene component can be initialized without a WebScene item:\n\n```html\n<arcgis-scene\n basemap=\"satellite\"\n ground=\"world-elevation\"\n camera-position=\"12.3808, 46.3959, 4400\"\n camera-tilt=\"75\"\n camera-heading=\"300\">\n</arcgis-scene>\n```\n\nFurther components can be added and connected to the Scene component:\n\n```html\n<arcgis-scene item-id=\"e2da7564e4f24eaaa918ffd70378056a\">\n <arcgis-layer-list position=\"bottom-right\"></arcgis-layer-list>\n</arcgis-scene>\n```\n\nThe Scene component can be customized further using any of the [core API functionalities](https://developers.arcgis.com/javascript/latest/api-reference/)\nof the ArcGIS Maps SDK for JavaScript.\n\n```js\nconst viewElement = document.querySelector(\"arcgis-scene\");\nviewElement.addEventListener(\"arcgisViewReadyChange\", () => {\n const layer = new GraphicsLayer({ title: \"My layer\"});\n viewElement.map.add(layer);\n});\n```\n\nSee also:\n- [SDK sample apps using the Scene component](https://developers.arcgis.com/javascript/latest/sample-code/?tagged=arcgis-scene)\n- [Getting started](https://developers.arcgis.com/javascript/latest/get-started-overview/)\n- [Programming patterns](https://developers.arcgis.com/javascript/latest/programming-patterns/)\n--\n\n### Events\n- **arcgisViewChange** - This event is for view related property changes:\n[zoom](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#zoom),\n[scale](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#scale),\n[center](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#center),\n[rotation](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#rotation),\n[extent](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#extent),\n[camera](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#camera),\n[viewpoint](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#viewpoint).\nThis event will also emit if [stationary](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#stationary)\ntoggles from `true` to `false`.\n- **arcgisViewClick** - Fires after a user clicks on the view.\n\n```js\nviewElement.addEventListener(\"arcgisViewClick\", (event) => {\n viewElement.hitTest(event.detail).then((response) => {\n const result = response.results[0];\n // ....\n });\n});\n```\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-click)\n- **arcgisViewDoubleClick** - Fires after double-clicking on the view.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-double-click)\n- **arcgisViewDrag** - Fires during a pointer drag on the view.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-drag)\n- **arcgisViewHold** - Fires after holding either a mouse button or a single finger on the view for a short amount of time.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-hold)\n- **arcgisViewImmediateClick** - Fires right after a user clicks on the view.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-immediate-click)\n- **arcgisViewImmediateDoubleClick** - Is emitted after two consecutive immediate-click events.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-immediate-double-click)\n- **arcgisViewKeyDown** - Fires after a keyboard key is pressed.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-key-down)\n- **arcgisViewKeyUp** - Fires after a keyboard key is released.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-key-up)\n- **arcgisViewLayerviewCreate** - Fires after each layer in the map has a corresponding LayerView created and rendered in the view.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-layerview-create)\n- **arcgisViewLayerviewCreateError** - Fires when an error emits during the creation of a LayerView after a layer has been added to the map.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-layerview-create-error)\n- **arcgisViewLayerviewDestroy** - Fires after a LayerView is destroyed and is no longer rendered in the view.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-layerview-destroy)\n- **arcgisViewMouseWheel** - Fires when a wheel button of a pointing device (typically a mouse) is scrolled on the view.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-mouse-wheel)\n- **arcgisViewPointerDown** - Fires after a mouse button is pressed, or a finger touches the display.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-pointer-down)\n- **arcgisViewPointerEnter** - Fires after a mouse cursor enters the view, or a display touch begins.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-pointer-enter)\n- **arcgisViewPointerLeave** - Fires after a mouse cursor leaves the view, or a display touch ends.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-pointer-leave)\n- **arcgisViewPointerMove** - Fires after the mouse or a finger on the display moves.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-pointer-move)\n- **arcgisViewPointerUp** - Fires after a mouse button is released, or a display touch ends.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-pointer-up)\n- **arcgisViewReadyChange** - This event is for the [ready](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#ready)\nproperty and will be emitted when the view is ready.\nThis event will also emit if the [map](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#map) property is changed.\n\n```js\nviewElement.addEventListener(\"arcgisViewReadyChange\", () => {\n const layer = new GraphicsLayer({ title: \"My layer\"});\n viewElement.map.add(layer);\n});\n```\n\n### Methods\n- `addLayer(layer: __esri.Layer | Promise<any>, index?: number): Promise<void>` - **Deprecated**: since 4.33. Use `element.map.add(layer)` instead.\n\nAdds a layer to the [map's](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#map) `layers` collection.. \n- `addLayers(layers: __esri.Layer[], index?: number): Promise<void>` - **Deprecated**: since 4.33. Use `element.map.addMany([layer])` instead.\n\nAdds a layer or array of layers to the [map's](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#map) `layers` collection.. \n- `addTable(table: __esri.FeatureLayer): Promise<void>` - **Deprecated**: since 4.33. Use `element.map.tables.add(table)` instead.\n\nAdds a table to the [map's](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#map) `tables` collection.. \n- `addTables(tables: __esri.FeatureLayer[], index?: number): Promise<void>` - **Deprecated**: since 4.33. Use `element.map.tables.addMany([table])` instead.\n\nAdds a table or array of tables to the [map's](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#map) `tables` collection.. \n- `closePopup(): Promise<void>` - Closes the [popup](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#popup).\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Destroys the Scene component, and any associated resources, including its\n[map](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#map),\n[popup](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#popup),\nand removes components or other UI DOM elements added to it.\n- `goTo(target: __esri.GoToTarget3D, options?: __esri.GoToOptions3D): Promise<unknown>` - Sets the view to a given target.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#goTo)\n- `hitTest(screenPoint: __esri.SceneViewScreenPoint | MouseEvent, options?: __esri.SceneViewHitTestOptions): Promise<__esri.SceneViewHitTestResult>` - Returns [hit test results](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#HitTestResult)\nfrom each layer that intersects the specified screen coordinates.\n\n```js\nviewElement.addEventListener(\"arcgisViewClick\", (event) => {\n viewElement.hitTest(event.detail).then((response) => {\n const result = response.results[0];\n if (result?.type === \"graphic\") {\n const { longitude, latitude } = result.mapPoint;\n console.log(\"Hit graphic at (\" + longitude + \", \" + latitude + \")\", result.graphic);\n } else {\n console.log(\"Did not hit any graphic\");\n }\n });\n});\n```\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#hitTest)\n- `openPopup(options?: __esri.PopupViewOpenPopupOptions): Promise<void>` - Opens the popup based on input options.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#openPopup)\n- `takeScreenshot(options?: __esri.SceneViewTakeScreenshotOptions): Promise<__esri.SceneViewScreenshot>` - Creates a screenshot of the current view.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#takeScreenshot)\n- `toMap(screenPoint: __esri.SceneViewScreenPoint | MouseEvent, options?: __esri.SceneViewToMapOptions): __esri.Point | nullish` - Converts the given screen point to a [map point](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Point.html).\n- `toScreen(point: __esri.Point): __esri.SceneViewScreenPoint` - Converts the given [map point](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Point.html) to a screen point.\n- `tryFatalErrorRecovery(): Promise<void>` - Call this method to clear any fatal errors resulting from a lost WebGL context.\n- `viewOnReady(callback?: (): void, errback?: (error: Error) => void): Promise<void>` - `viewOnReady()` may be leveraged once an instance of the component and its underlying [view](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#view) is created and ready.\nThis method takes two input parameters, a `callback` function and an `errback` function, and returns a promise. The `callback` executes when the promise resolves, and the `errback` executes if the promise is rejected.\n- `whenAnalysisView(analysis: __esri.AreaMeasurementAnalysis | __esri.DimensionAnalysis | __esri.DirectLineMeasurementAnalysis | __esri.LineOfSightAnalysis | __esri.SliceAnalysis | __esri.ViewshedAnalysis): Promise<__esri.AreaMeasurementAnalysisView3D | __esri.DimensionAnalysisView3D | __esri.DirectLineMeasurementAnalysisView3D | __esri.LineOfSightAnalysisView3D | __esri.SliceAnalysisView3D | __esri.ViewshedAnalysisView3D>` - Gets the analysis view created for the given analysis object.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#whenAnalysisView)\n- `whenLayerView(layer: __esri.Layer): Promise<__esri.LayerView>` - Gets the layer view created on the view for the given layer.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#whenLayerView)",
11434
11484
  "doc-url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/",
11435
11485
  "attributes": [
11436
11486
  {
@@ -3,19 +3,18 @@ import { default as Accessor } from '@arcgis/core/core/Accessor.js';
3
3
  import { default as Graphic } from '@arcgis/core/Graphic.js';
4
4
  import { default as MapView } from '@arcgis/core/views/MapView.js';
5
5
  import { default as SceneView } from '@arcgis/core/views/SceneView.js';
6
- import { Nil } from '@arcgis/components-utils';
7
6
  declare class GeolocationPositioning extends Accessor {
8
7
  protected initialize(): void;
9
8
  destroy(): void;
10
9
  protected _geolocationUsable: boolean;
11
- geolocationOptions: Nil | PositionOptions;
10
+ geolocationOptions?: PositionOptions;
12
11
  /**
13
12
  * Indicates whether to navigate the view to the position and scale of the geolocated result.
14
13
  *
15
14
  * @default true
16
15
  */
17
16
  goToLocationEnabled: boolean;
18
- goToOverride: __esri.GoToOverride | Nil;
17
+ goToOverride?: __esri.GoToOverride;
19
18
  /**
20
19
  * The graphic used to show the user's location on the map.
21
20
  */
@@ -26,9 +25,9 @@ declare class GeolocationPositioning extends Accessor {
26
25
  *
27
26
  * @default null
28
27
  */
29
- scale: Nil | number;
28
+ scale?: number;
30
29
  /**
31
- * A convenience property that overrides the view's [rotationEnabled](https://next.sites.afd.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#constraints) constraint.
30
+ * A convenience property that overrides the view's [rotationEnabled](https://next.gha.afd.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#constraints) constraint.
32
31
  *
33
32
  * @default true
34
33
  */
@@ -36,7 +35,7 @@ declare class GeolocationPositioning extends Accessor {
36
35
  /**
37
36
  * The view associated with the Module.
38
37
  */
39
- view: MapView | Nil | SceneView;
38
+ view?: MapView | SceneView;
40
39
  /**
41
40
  * Clears the locate graphic from the view.
42
41
  */
package/dist/index.d.ts CHANGED
@@ -19,6 +19,7 @@ import type { ArcgisEditor } from "./components/arcgis-editor";
19
19
  import type { ArcgisElevationProfile } from "./components/arcgis-elevation-profile";
20
20
  import type { ArcgisExpand } from "./components/arcgis-expand";
21
21
  import type { ArcgisFeature } from "./components/arcgis-feature";
22
+ import type { ArcgisFeatureContent } from "./components/arcgis-feature-content";
22
23
  import type { ArcgisFeatureForm } from "./components/arcgis-feature-form";
23
24
  import type { ArcgisFeatureTable } from "./components/arcgis-feature-table";
24
25
  import type { ArcgisFeatureTemplates } from "./components/arcgis-feature-templates";
@@ -180,6 +181,11 @@ export interface ArcgisFeatureCustomEvent<T> extends CustomEvent<T> {
180
181
  target: HTMLArcgisFeatureElement;
181
182
  currentTarget: HTMLArcgisFeatureElement;
182
183
  }
184
+ export interface ArcgisFeatureContentCustomEvent<T> extends CustomEvent<T> {
185
+ detail: T;
186
+ target: HTMLArcgisFeatureContentElement;
187
+ currentTarget: HTMLArcgisFeatureContentElement;
188
+ }
183
189
  export interface ArcgisFeatureFormCustomEvent<T> extends CustomEvent<T> {
184
190
  detail: T;
185
191
  target: HTMLArcgisFeatureFormElement;
@@ -426,6 +432,7 @@ declare global {
426
432
  "arcgis-elevation-profile": HTMLArcgisElevationProfileElement;
427
433
  "arcgis-expand": HTMLArcgisExpandElement;
428
434
  "arcgis-feature": HTMLArcgisFeatureElement;
435
+ "arcgis-feature-content": HTMLArcgisFeatureContentElement;
429
436
  "arcgis-feature-form": HTMLArcgisFeatureFormElement;
430
437
  "arcgis-feature-table": HTMLArcgisFeatureTableElement;
431
438
  "arcgis-feature-templates": HTMLArcgisFeatureTemplatesElement;
@@ -751,6 +758,18 @@ declare global {
751
758
  removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
752
759
  removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
753
760
  }
761
+ interface HTMLArcgisFeatureContentElementEventMap {
762
+ "arcgisReady": ArcgisFeatureContent["arcgisReady"]["detail"];
763
+ }
764
+
765
+ interface HTMLArcgisFeatureContentElement extends ArcgisFeatureContent {
766
+ addEventListener<K extends keyof HTMLArcgisFeatureContentElementEventMap>(type: K, listener: (this: HTMLArcgisFeatureContentElement, ev: ArcgisFeatureContentCustomEvent<HTMLArcgisFeatureContentElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
767
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
768
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
769
+ removeEventListener<K extends keyof HTMLArcgisFeatureContentElementEventMap>(type: K, listener: (this: HTMLArcgisFeatureContentElement, ev: ArcgisFeatureContentCustomEvent<HTMLArcgisFeatureContentElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
770
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
771
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
772
+ }
754
773
  interface HTMLArcgisFeatureFormElementEventMap {
755
774
  "arcgisPropertyChange": ArcgisFeatureForm["arcgisPropertyChange"]["detail"];
756
775
  "arcgisReady": ArcgisFeatureForm["arcgisReady"]["detail"];
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { s, g as t } from "./chunks/runtime.js";
2
2
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
4
- v4.34.0-next.20 */
4
+ v4.34.0-next.22 */
5
5
  const a = s, A = t;
6
6
  export {
7
7
  A as getArcgisAssetPath,
package/dist/loader.js CHANGED
@@ -2,7 +2,7 @@ import { r as e } from "./chunks/runtime.js";
2
2
  import { makeDefineCustomElements as t } from "@arcgis/lumina";
3
3
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
4
4
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
5
- v4.34.0-next.20 */
5
+ v4.34.0-next.22 */
6
6
  const a = t(e, {
7
7
  "arcgis-area-measurement-2d": [() => import("./components/arcgis-area-measurement-2d/customElement.js"), "autoDestroyDisabled,icon,label,position,referenceElement,snappingOptions:,state,unit,unitOptions:;clear,destroy,start"],
8
8
  "arcgis-area-measurement-3d": [() => import("./components/arcgis-area-measurement-3d/customElement.js"), "analysis:,autoDestroyDisabled,icon,label,position,referenceElement,state,unit,unitOptions:;clear,destroy,start"],
@@ -26,6 +26,7 @@ const a = t(e, {
26
26
  "arcgis-elevation-profile": [() => import("./components/arcgis-elevation-profile/customElement.js"), "autoDestroyDisabled,effectiveUnits:,hideChart,hideClearButton,hideLegend,hideSelectButton,hideSettingsButton,hideSketchButton,hideUniformChartScalingToggle,hideUnitSelector,highlightEnabled,hoveredChartPosition,icon,input:,label,position,profiles:,progress:,referenceElement,state,uniformChartScaling,unit,unitOptions:;destroy,start,stop"],
27
27
  "arcgis-expand": [() => import("./components/arcgis-expand/customElement.js"), "autoCollapse,autoDestroyDisabled,closeOnEsc,collapseIcon,collapseTooltip,content,expanded,expandIcon,expandTooltip,focusTrapDisabled,focusTrapEnabled,group,icon,iconNumber,label,mode,placement,position,referenceElement;collapse,destroy,expand,toggle"],
28
28
  "arcgis-feature": [() => import("./components/arcgis-feature/customElement.js"), "autoDestroyDisabled,defaultPopupTemplateEnabled,graphic:,headingLevel,hideContentAttachments,hideContentExpression,hideContentFields,hideContentMedia,hideContentText,hideLastEditedInfo,hideLastEditInfo,hideTitle,icon,label,location:,map:,position,referenceElement,spatialReference:,state,timeZone;destroy,nextMedia,previousMedia,setActiveMedia"],
29
+ "arcgis-feature-content": [() => import("./components/arcgis-feature-content/customElement.js"), "autoDestroyDisabled,creator:,destroyer:,graphic:;destroy"],
29
30
  "arcgis-feature-form": [() => import("./components/arcgis-feature-form/customElement.js"), "autoDestroyDisabled,feature:,formTemplate:,groupDisplay,headingLevel,icon,label,layer:,position,referenceElement,state,timeZone;destroy,getValues,submit"],
30
31
  "arcgis-feature-table": [() => import("./components/arcgis-feature-table/customElement.js"), "actionColumn:,actionColumnConfig:,activeFilters:,activeSortOrders:,allColumns:,allRelatedTablesVisible:,allVisibleColumns:,attachmentsColumns:,attachmentsEnabled,attachmentsViewOptions:,attributeTableTemplate:,autoDestroyDisabled,autoRefreshDisabled,columnPerformanceModeDisabled,columnReorderingDisabled,columns:,definitionExpression,description,editingEnabled,effectiveSize:,fieldColumns:,filterBySelectionEnabled,filterGeometry:,groupColumns:,hiddenFields:,hideColumnDescriptions,hideColumnMenuItemsSortAscending,hideColumnMenuItemsSortDescending,hideColumnMenus,hideHeader,hideLayerDropdownIcons,hideMenu,hideMenuItemsClearSelection,hideMenuItemsDeleteSelection,hideMenuItemsExportSelectionToCsv,hideMenuItemsRefreshData,hideMenuItemsSelectedRecordsShowAllToggle,hideMenuItemsSelectedRecordsShowSelectedToggle,hideMenuItemsToggleColumns,hideMenuItemsZoomToSelection,hideProgress,hideSelectionColumn,hideTooltips,highlightDisabled,highlightIds:,icon,initialSize,isQueryingOrSyncing:,label,layer:,layerItemId,layers:,layerUrl,layerView:,maxSize,menuConfig:,multipleSelectionDisabled,multipleSortEnabled,multipleSortPriority,navigationScale,noDataMessage,objectIds:,outFields:,pageCount:,pageIndex,pageSize,paginationEnabled,position,referenceElement,relatedRecordsEnabled,relatedTable:,relatedTables:,relationshipColumns:,returnGeometryEnabled,returnMEnabled,returnZEnabled,rowHighlightIds:,showLayerDropdown,size:,state,supportsAddAttachments:,supportsAttachments:,supportsDeleteAttachments:,supportsResizeAttachments:,supportsUpdateAttachments:,syncTemplateOnChangesDisabled,tableController:,tableDisabled,tableParent:,tableTemplate:,timeExtent:,timeZone,visibleColumns:;deleteSelection,destroy,exportSelectionToCSV,findColumn,goToPage,hideColumn,nextPage,previousPage,refresh,scrollToBottom,scrollToIndex,scrollToLeft,scrollToRow,scrollToTop,showAllColumns,showColumn,sortColumn,zoomToSelection"],
31
32
  "arcgis-feature-templates": [() => import("./components/arcgis-feature-templates/customElement.js"), "autoDestroyDisabled,enableListScroll,filterFunction:,filterText,groupBy,headingLevel,hideFilter,icon,label,layers:,position,referenceElement,selectionMode,state;destroy"],
@@ -20,6 +20,7 @@ import type { ArcgisEditor } from "../components/arcgis-editor";
20
20
  import type { ArcgisElevationProfile } from "../components/arcgis-elevation-profile";
21
21
  import type { ArcgisExpand } from "../components/arcgis-expand";
22
22
  import type { ArcgisFeature } from "../components/arcgis-feature";
23
+ import type { ArcgisFeatureContent } from "../components/arcgis-feature-content";
23
24
  import type { ArcgisFeatureForm } from "../components/arcgis-feature-form";
24
25
  import type { ArcgisFeatureTable } from "../components/arcgis-feature-table";
25
26
  import type { ArcgisFeatureTemplates } from "../components/arcgis-feature-templates";
@@ -177,6 +178,10 @@ interface LuminaArcgisFeature extends Partial<Pick<ArcgisFeature, 'autoDestroyDi
177
178
  onarcgisReady?: EventHandler<HTMLArcgisFeatureElement["arcgisReady"]>;
178
179
  }
179
180
 
181
+ interface LuminaArcgisFeatureContent extends Partial<Pick<ArcgisFeatureContent, 'autoDestroyDisabled' | 'creator' | 'destroyer' | 'graphic'>>, h.JSX.HTMLAttributes<HTMLArcgisFeatureContentElement> {
182
+ onarcgisReady?: EventHandler<HTMLArcgisFeatureContentElement["arcgisReady"]>;
183
+ }
184
+
180
185
  interface LuminaArcgisFeatureForm extends Partial<Pick<ArcgisFeatureForm, 'autoDestroyDisabled' | 'feature' | 'formTemplate' | 'groupDisplay' | 'headingLevel' | 'icon' | 'label' | 'layer' | 'position' | 'referenceElement' | 'timeZone'>>, h.JSX.HTMLAttributes<HTMLArcgisFeatureFormElement> {
181
186
  onarcgisPropertyChange?: EventHandler<HTMLArcgisFeatureFormElement["arcgisPropertyChange"]>;
182
187
  onarcgisReady?: EventHandler<HTMLArcgisFeatureFormElement["arcgisReady"]>;
@@ -529,6 +534,7 @@ declare module "@arcgis/lumina" {
529
534
  "arcgis-elevation-profile": LuminaArcgisElevationProfile;
530
535
  "arcgis-expand": LuminaArcgisExpand;
531
536
  "arcgis-feature": LuminaArcgisFeature;
537
+ "arcgis-feature-content": LuminaArcgisFeatureContent;
532
538
  "arcgis-feature-form": LuminaArcgisFeatureForm;
533
539
  "arcgis-feature-table": LuminaArcgisFeatureTable;
534
540
  "arcgis-feature-templates": LuminaArcgisFeatureTemplates;
@@ -20,6 +20,7 @@ import type { ArcgisEditor } from "../components/arcgis-editor";
20
20
  import type { ArcgisElevationProfile } from "../components/arcgis-elevation-profile";
21
21
  import type { ArcgisExpand } from "../components/arcgis-expand";
22
22
  import type { ArcgisFeature } from "../components/arcgis-feature";
23
+ import type { ArcgisFeatureContent } from "../components/arcgis-feature-content";
23
24
  import type { ArcgisFeatureForm } from "../components/arcgis-feature-form";
24
25
  import type { ArcgisFeatureTable } from "../components/arcgis-feature-table";
25
26
  import type { ArcgisFeatureTemplates } from "../components/arcgis-feature-templates";
@@ -178,6 +179,10 @@ interface PreactArcgisFeature extends Partial<Pick<ArcgisFeature, 'autoDestroyDi
178
179
  onarcgisReady?: EventHandler<HTMLArcgisFeatureElement["arcgisReady"]>;
179
180
  }
180
181
 
182
+ interface PreactArcgisFeatureContent extends Partial<Pick<ArcgisFeatureContent, 'autoDestroyDisabled' | 'creator' | 'destroyer' | 'graphic'>>, PreactJsx.HTMLAttributes<HTMLArcgisFeatureContentElement> {
183
+ onarcgisReady?: EventHandler<HTMLArcgisFeatureContentElement["arcgisReady"]>;
184
+ }
185
+
181
186
  interface PreactArcgisFeatureForm extends Partial<Pick<ArcgisFeatureForm, 'autoDestroyDisabled' | 'feature' | 'formTemplate' | 'groupDisplay' | 'headingLevel' | 'icon' | 'label' | 'layer' | 'position' | 'referenceElement' | 'timeZone'>>, PreactJsx.HTMLAttributes<HTMLArcgisFeatureFormElement> {
182
187
  onarcgisPropertyChange?: EventHandler<HTMLArcgisFeatureFormElement["arcgisPropertyChange"]>;
183
188
  onarcgisReady?: EventHandler<HTMLArcgisFeatureFormElement["arcgisReady"]>;
@@ -530,6 +535,7 @@ declare module 'preact' {
530
535
  "arcgis-elevation-profile": PreactArcgisElevationProfile;
531
536
  "arcgis-expand": PreactArcgisExpand;
532
537
  "arcgis-feature": PreactArcgisFeature;
538
+ "arcgis-feature-content": PreactArcgisFeatureContent;
533
539
  "arcgis-feature-form": PreactArcgisFeatureForm;
534
540
  "arcgis-feature-table": PreactArcgisFeatureTable;
535
541
  "arcgis-feature-templates": PreactArcgisFeatureTemplates;
@@ -599,6 +605,7 @@ declare module 'preact' {
599
605
  "arcgis-elevation-profile": PreactArcgisElevationProfile;
600
606
  "arcgis-expand": PreactArcgisExpand;
601
607
  "arcgis-feature": PreactArcgisFeature;
608
+ "arcgis-feature-content": PreactArcgisFeatureContent;
602
609
  "arcgis-feature-form": PreactArcgisFeatureForm;
603
610
  "arcgis-feature-table": PreactArcgisFeatureTable;
604
611
  "arcgis-feature-templates": PreactArcgisFeatureTemplates;
@@ -20,6 +20,7 @@ import type { ArcgisEditor } from "../components/arcgis-editor";
20
20
  import type { ArcgisElevationProfile } from "../components/arcgis-elevation-profile";
21
21
  import type { ArcgisExpand } from "../components/arcgis-expand";
22
22
  import type { ArcgisFeature } from "../components/arcgis-feature";
23
+ import type { ArcgisFeatureContent } from "../components/arcgis-feature-content";
23
24
  import type { ArcgisFeatureForm } from "../components/arcgis-feature-form";
24
25
  import type { ArcgisFeatureTable } from "../components/arcgis-feature-table";
25
26
  import type { ArcgisFeatureTemplates } from "../components/arcgis-feature-templates";
@@ -178,6 +179,10 @@ interface ReactArcgisFeature extends Partial<Pick<ArcgisFeature, 'autoDestroyDis
178
179
  onarcgisReady?: EventHandler<HTMLArcgisFeatureElement["arcgisReady"]>;
179
180
  }
180
181
 
182
+ interface ReactArcgisFeatureContent extends Partial<Pick<ArcgisFeatureContent, 'autoDestroyDisabled' | 'creator' | 'destroyer' | 'graphic'>>, HTMLProps<HTMLArcgisFeatureContentElement> {
183
+ onarcgisReady?: EventHandler<HTMLArcgisFeatureContentElement["arcgisReady"]>;
184
+ }
185
+
181
186
  interface ReactArcgisFeatureForm extends Partial<Pick<ArcgisFeatureForm, 'autoDestroyDisabled' | 'feature' | 'formTemplate' | 'groupDisplay' | 'headingLevel' | 'icon' | 'label' | 'layer' | 'position' | 'referenceElement' | 'timeZone'>>, HTMLProps<HTMLArcgisFeatureFormElement> {
182
187
  onarcgisPropertyChange?: EventHandler<HTMLArcgisFeatureFormElement["arcgisPropertyChange"]>;
183
188
  onarcgisReady?: EventHandler<HTMLArcgisFeatureFormElement["arcgisReady"]>;
@@ -530,6 +535,7 @@ declare module "react" {
530
535
  "arcgis-elevation-profile": ReactArcgisElevationProfile;
531
536
  "arcgis-expand": ReactArcgisExpand;
532
537
  "arcgis-feature": ReactArcgisFeature;
538
+ "arcgis-feature-content": ReactArcgisFeatureContent;
533
539
  "arcgis-feature-form": ReactArcgisFeatureForm;
534
540
  "arcgis-feature-table": ReactArcgisFeatureTable;
535
541
  "arcgis-feature-templates": ReactArcgisFeatureTemplates;
@@ -601,6 +607,7 @@ declare module "react/jsx-runtime" {
601
607
  "arcgis-elevation-profile": ReactArcgisElevationProfile;
602
608
  "arcgis-expand": ReactArcgisExpand;
603
609
  "arcgis-feature": ReactArcgisFeature;
610
+ "arcgis-feature-content": ReactArcgisFeatureContent;
604
611
  "arcgis-feature-form": ReactArcgisFeatureForm;
605
612
  "arcgis-feature-table": ReactArcgisFeatureTable;
606
613
  "arcgis-feature-templates": ReactArcgisFeatureTemplates;
@@ -672,6 +679,7 @@ declare module "react/jsx-dev-runtime" {
672
679
  "arcgis-elevation-profile": ReactArcgisElevationProfile;
673
680
  "arcgis-expand": ReactArcgisExpand;
674
681
  "arcgis-feature": ReactArcgisFeature;
682
+ "arcgis-feature-content": ReactArcgisFeatureContent;
675
683
  "arcgis-feature-form": ReactArcgisFeatureForm;
676
684
  "arcgis-feature-table": ReactArcgisFeatureTable;
677
685
  "arcgis-feature-templates": ReactArcgisFeatureTemplates;
@@ -20,6 +20,7 @@ import type { ArcgisEditor } from "../components/arcgis-editor";
20
20
  import type { ArcgisElevationProfile } from "../components/arcgis-elevation-profile";
21
21
  import type { ArcgisExpand } from "../components/arcgis-expand";
22
22
  import type { ArcgisFeature } from "../components/arcgis-feature";
23
+ import type { ArcgisFeatureContent } from "../components/arcgis-feature-content";
23
24
  import type { ArcgisFeatureForm } from "../components/arcgis-feature-form";
24
25
  import type { ArcgisFeatureTable } from "../components/arcgis-feature-table";
25
26
  import type { ArcgisFeatureTemplates } from "../components/arcgis-feature-templates";
@@ -178,6 +179,10 @@ interface StencilArcgisFeature extends Partial<Pick<ArcgisFeature, 'autoDestroyD
178
179
  onArcgisReady?: EventHandler<HTMLArcgisFeatureElement["arcgisReady"]>;
179
180
  }
180
181
 
182
+ interface StencilArcgisFeatureContent extends Partial<Pick<ArcgisFeatureContent, 'autoDestroyDisabled' | 'creator' | 'destroyer' | 'graphic'>>, StencilJsx.HTMLAttributes<HTMLArcgisFeatureContentElement> {
183
+ onArcgisReady?: EventHandler<HTMLArcgisFeatureContentElement["arcgisReady"]>;
184
+ }
185
+
181
186
  interface StencilArcgisFeatureForm extends Partial<Pick<ArcgisFeatureForm, 'autoDestroyDisabled' | 'feature' | 'formTemplate' | 'groupDisplay' | 'headingLevel' | 'icon' | 'label' | 'layer' | 'position' | 'referenceElement' | 'timeZone'>>, StencilJsx.HTMLAttributes<HTMLArcgisFeatureFormElement> {
182
187
  onArcgisPropertyChange?: EventHandler<HTMLArcgisFeatureFormElement["arcgisPropertyChange"]>;
183
188
  onArcgisReady?: EventHandler<HTMLArcgisFeatureFormElement["arcgisReady"]>;
@@ -528,6 +533,7 @@ interface ExposedElements {
528
533
  "arcgis-elevation-profile": StencilArcgisElevationProfile;
529
534
  "arcgis-expand": StencilArcgisExpand;
530
535
  "arcgis-feature": StencilArcgisFeature;
536
+ "arcgis-feature-content": StencilArcgisFeatureContent;
531
537
  "arcgis-feature-form": StencilArcgisFeatureForm;
532
538
  "arcgis-feature-table": StencilArcgisFeatureTable;
533
539
  "arcgis-feature-templates": StencilArcgisFeatureTemplates;
@@ -0,0 +1,10 @@
1
+ /// <reference types="@arcgis/core/interfaces.d.ts" />
2
+ import { Nil } from '@arcgis/components-utils';
3
+ export declare function shouldOpenInNewTab(url: string): boolean;
4
+ export declare function shouldOpenInNewTab(url: undefined): undefined;
5
+ export declare function shouldOpenInNewTab(url: string | undefined): boolean | undefined;
6
+ export declare function graphicCallback<T extends Nil | number | object | string>({ type, value, event, }: {
7
+ type: "content" | "title";
8
+ value: Promise<T> | T | ((event: __esri.PopupTemplateCreatorEvent) => T);
9
+ event: __esri.PopupTemplateCreatorEvent;
10
+ }): Promise<T | undefined>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/map-components",
3
- "version": "4.34.0-next.20",
3
+ "version": "4.34.0-next.22",
4
4
  "description": "ArcGIS Map Components",
5
5
  "keywords": [
6
6
  "ArcGIS",
@@ -42,13 +42,13 @@
42
42
  ],
43
43
  "license": "SEE LICENSE IN LICENSE.md",
44
44
  "dependencies": {
45
- "@arcgis/components-utils": "4.34.0-next.20",
46
- "@arcgis/lumina": "4.34.0-next.20",
45
+ "@arcgis/components-utils": "4.34.0-next.22",
46
+ "@arcgis/lumina": "4.34.0-next.22",
47
47
  "tslib": "^2.8.1"
48
48
  },
49
49
  "peerDependencies": {
50
50
  "@arcgis/core": ">=4.34.0-next <4.35",
51
- "@esri/calcite-components": "^3.2.0"
51
+ "@esri/calcite-components": "^3.2.1"
52
52
  },
53
53
  "css.customData": [
54
54
  "dist/docs/vscode.css-custom-data.json"
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.20 */
4
- import{a as D}from"./EM5YT262.js";import d from"./UBDHT42U.js";import"./Y7WZVBSC.js";import c from"./YSBU56II.js";import{a as R}from"./SGEYUE62.js";import{a as v}from"./6YVLN2P3.js";import b from"./7QSEE732.js";import a from"./KHLYVIBR.js";import{e as L}from"./5ZFQYKDQ.js";import"./6HAPOXM4.js";import"./FJUUINMO.js";import{A as g,D as P,O,P as w,R as T,T as N,a as S,i as C,j as h}from"./R4TRCPYE.js";export default $arcgis.t(([{watch:A},{property:n,subclass:F},u,{onLocaleChange:W},X,B,Z,G,Y,$,y,I,{geographicToWebMercator:ee},te,{project:oe},ie,,,U,{a:x,c:b}])=>{var re=C`@layer{arcgis-locate{display:block}}`,k=!1,ae={maximumAge:0,timeout:15e3,enableHighAccuracy:!0};function se(){let t="geolocation"in navigator;return t||console.warn("geolocation-unsupported","Geolocation unsupported."),t}function ne(){let t=window.isSecureContext;return t||k||(k=!0,console.warn("insecure-context","Geolocation requires a secure origin.")),t}function le(){return se()&&ne()}function ce(t){return t??=ae,new Promise((e,o)=>{setTimeout(()=>o(new u("geolocation:timeout","getting the current geolocation position timed out")),t?.timeout??15e3),navigator.geolocation.getCurrentPosition(e,o,t??void 0)})}function pe(t,e){let{position:o,view:r}=t,i=de(o)?.coords;if(!i)throw new u("geometry-service:no-coords","Geolocation has no coordinates");let a=ue(i);return he(a,r,e)}function de(t){let e=t?.coords||{},o={accuracy:e.accuracy,altitude:e.altitude,altitudeAccuracy:e.altitudeAccuracy,heading:e.heading,latitude:e.latitude,longitude:e.longitude,speed:e.speed,toJSON(){return{}}};return t&&{coords:o,timestamp:t.timestamp,toJSON(){return{}}}}function ue({longitude:t,latitude:e,altitude:o}){return new $({longitude:t,latitude:e,z:o||void 0,spatialReference:{wkid:4326}})}async function he(t,e,o){if(!e)return await Promise.resolve(t);let r=e.spatialReference;return r.isWGS84?await Promise.resolve(t):r.isWebMercator?await Promise.resolve(ee(t)):y.isLoaded()?await Promise.resolve(y.execute(t,r)):await me(o).then(async i=>{if(!i)throw new u("geometry-service:missing-url","Geometry service URL is missing");let a=new ie({geometries:[t],outSpatialReference:r});return(await oe(i,a,o))[0]})}async function me(t){if(I.geometryServiceUrl)return await Promise.resolve(I.geometryServiceUrl);let e=te.getDefault();try{await e.load(t)}catch{}return e.helperServices?.geometry?.url}var ge=Object.defineProperty,ye=Object.getOwnPropertyDescriptor,p=(t,e,o,r)=>{for(var i=r>1?void 0:r?ye(e,o):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(i=(r?s(e,o,i):s(i))||i);return r&&i&&ge(e,o,i),i},fe=2500;function Q(t){let e={type:"CIMVectorMarker",enable:!0,anchorPoint:{x:0,y:0},anchorPointUnits:"Relative",dominantSizeAxis3D:"Y",size:t==="background"?16:14,billboardMode3D:"FaceNearPlane",frame:{xmin:0,ymin:0,xmax:17,ymax:17},markerGraphics:[{type:"CIMMarkerGraphic",geometry:{rings:[[[8.5,0],[7.02,.13],[5.59,.51],[4.25,1.14],[3.04,1.99],[1.99,3.04],[1.14,4.25],[.51,5.59],[.13,7.02],[0,8.5],[.13,9.98],[.51,11.41],[1.14,12.75],[1.99,13.96],[3.04,15.01],[4.25,15.86],[5.59,16.49],[7.02,16.87],[8.5,17],[9.98,16.87],[11.41,16.49],[12.75,15.86],[13.96,15.01],[15.01,13.96],[15.86,12.75],[16.49,11.41],[16.87,9.98],[17,8.5],[16.87,7.02],[16.49,5.59],[15.86,4.25],[15.01,3.04],[13.96,1.99],[12.75,1.14],[11.41,.51],[9.98,.13],[8.5,0]]]},symbol:{type:"CIMPolygonSymbol",symbolLayers:[{type:"CIMSolidStroke",enable:!0,capStyle:"Round",joinStyle:"Round",lineStyle3D:"Strip",miterLimit:10,width:t==="background"?0:2,color:[255,255,255,255]},{type:"CIMSolidFill",enable:!0,color:t==="background"?[0,0,0,66]:[0,122,194,255]}]}}],scaleSymbolsProportionally:!0,respectFrame:!0};return t==="background"&&(e.offsetX=0,e.offsetY=-1),e}var H={type:"CIMPictureMarker",primitiveName:"headingOverride",enable:!0,anchorPoint:{x:0,y:-.5},anchorPointUnits:"Relative",dominantSizeAxis3D:"Y",size:36,billboardMode3D:"FaceNearPlane",invertBackfaceTexture:!0,scaleX:1,textureFilter:"Picture",url:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAkCAYAAACe0YppAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAYaSURBVHgBvVfNb1VFFD/nzP16xRYJKYREEiJoDLLShQkrSNzoHv8I2QgxwY8FJWHhxoVxISEu2AordWNiQjAxEBeEsKAmhCCwkPDRAn1t33v33jnH37n3Fam0pa8kTjOde+/MnN/5+J0z85jW08yYTpxgfzx0bS+fO0R0YHqyeb9w7YEtLTv+9rSdOH7ciNleJJJX/Do1JQ3AltdlT35fiN6gG8kD8akdmzO+6w/zM7wdw725rUY78DBXtmATA6PZntFgm9Kjm6o/HFJpdi5Xhp+16sDBC+H+gUmZfjIXHKC+35U42ZHZfpe30BZS7okNFnhu8wTRk2ek5LEV2q+N8nEj6yuNVRjHddftrt4ahyJbOxF+Uppi/Rf47NlA05Pp9vkyRNkkD8sqUJHwOGfSpYFQFXhTJryQBaZSeAxbFus+U1K0gJm2oy3QKwuZzqeuSK5kpW6BEsE6+nCsAHDXQWuaOljzU8uP/ToxUW4KcwKg8QzOSdFL6Swm0hurAC7N2qIW7ncwNgYKF4la3/w7RnzrUK29KseXWqmTKXGl45Zrd9CLrsSjr96fcw4kS46mTsJznSTrVBR6VQJQdDbpZTWexxgCYCFz30cquD8oYVQgtUAUzfo8wGtqGoNRFmFZ1KKulJMQu3Vpm/I8Pup3ekvES57GaabXo4lsszEA6zrkhcmAAkBNshi59O9wVsokBLZUCQAxllXVBkyCDRQuTlLLiLSEqw3gfUqU0kVdsKymsnzyPLm8fXZxDxVZgvUhg9QyaKDI7AhpSlRVEaA83JM+/V8pGO0PMTHyZwra9FQVk4i1e0D6dPK9v5agkmXAhc0Bw5MjlAQQE0lSDbUmbBX4kGfsiiQWuSZtdle1S4F73cUKJgviyw4mmmqlVSoR/FAK2d1noWQZ8N79MySw0tgNzhN00jRFaPM6y3IyLWBxXuOdvMfhaIy1MQctmvnEMGrMq2Y/ekC3dHF14I84gmZP2s0pgiJFHVwYhIIrMC1zgT4fQgsS0CG48LWtslAsgeKZK5U1c5Slj+nEvvJZqOWubr5ks8iE3bVqCMQCz4p5aiUqpMrOdHz2qLFTxAMSPLwY8WpmntNwrXIMCWvESGH+7n9hVi6ZJ6/sR5gnycFFQgsCQEEB8T9TbsCGy4PrZrEBjGyIt4EApoGRXWKP6Mt3fnvOvhWBjR4gdjtJEDmGQQkBSCS6Teys5qECABTPWOBwcPWgAPIU+E2+Rq3J8lsrQawMHNPbqAXvRqasWcMB/mK42N3twM6/FsbJTZK2Fru15K7niPVIp6RHn++9vRKErAg8ta+MFq4LBxAJKY1EajpxLj5KUzFzOMTni4btxoUzXPzIIOwLnEPxGVqlyWoTdO/WNRUXJhDmAgNAJVd0eABj8FTCvLbpEnxdOycJlFNXVq6MDvzthwOQ654LaMGGVofQWIWtXhM9xaCQp85QIZFMPXcpuUPH3uquJj6htVonvySD+KY6c2AulPAzHdVaZElvPCGBgvkIRUECr1J4qmV6LdGyJvAnu+94HZMla1Eg1AuGVyQWnNCwzqsUXK5+AIsUyPRc1Rbpi93X1xK9tsXtkj9U7INWSWvU0DaZ6OlVAmUDiqgbrwY2Z3ThRVKFXrgi/R0x9GMplxAyER6ynAtZin1DQoLVznLMU+/mywMf3dlDpbyMlbjLQDhLw/Sh24sm5dhTrlHKgS/T0X2zLw/sLeGr5OlEbg2uHwAFw5reKuKsJj8kcIj0zq9H5PqAj+z6E8y+YRIaUhnAEOrcWgv9m3shQ1H7mz5duVJtDLhZqZcNlrEDwXKwCzncdFg+PJeVf1m3uPUupLR7Hq6tHNyLhw1TCmdGbm0BmaUjr63LzaMBH943D9f+yO5uZ7HfcLktqdwqMU0jtPUDN6vDOfzgKFrXtta6q83vfHU4M5KoURbT4W3zsPIqrgQFO8GozV8ocZGOTN4dRdRowN6CnOLmKkk5t7H1i+HPNGJj2kj7buYajoRXh2+36eOt+2nENrrF3ozODEmFC0D4hjbQNgYc+DSYjd9qqGSJXqL/tZ16/DWdfvw9bbCt41hcpYn9RAEX9Q22fwC74ny5v9iplQAAAABJRU5ErkJggg=="},we=Q("layer"),ve=Q("background"),be=new Y({data:{type:"CIMSymbolReference",symbol:{type:"CIMPointSymbol",symbolLayers:[we,ve,H],angleAlignment:"Map"},primitiveOverrides:[{type:"CIMPrimitiveOverride",primitiveName:"headingOverride",propertyName:"Rotation",valueExpressionInfo:{type:"CIMExpressionInfo",title:"Rotation override",expression:"360 - $feature.heading",returnType:"Default"}},{type:"CIMPrimitiveOverride",primitiveName:"headingOverride",propertyName:"TintColor",valueExpressionInfo:{type:"CIMExpressionInfo",title:"TintColor override",expression:"IIF(IsEmpty($feature.heading), [255, 255, 255, 0], [255, 255, 255, 1])",returnType:"Default"}}]}}),l=class extends Z{constructor(){super(...arguments),this._geolocationUsable=!0,this.geolocationOptions=null,this.goToLocationEnabled=!0,this.goToOverride=null,this.graphic=new G({symbol:be}),this.scale=null,this.rotationEnabled=!0,this.view=null}initialize(){le()||(this._geolocationUsable=!1),this.addHandles([A(()=>this.view?.type,()=>this._handleViewTypeChange(),{initial:!0})])}destroy(){this._clearGraphic(),this.view=null}_clearGraphic(){let{view:t,graphic:e}=this;t&&e&&t.graphics.remove(e)}_addGraphic(){let{view:t,graphic:e}=this;!t?.graphics||!e||t.graphics.includes(e)||t.graphics.push(e)}_handleViewTypeChange(){H.enable=this.view?.type==="2d"}_getScaleWithinConstraints(t,e){if(!e)return t;if(e.type==="2d"){let{effectiveMaxScale:o,effectiveMinScale:r}=e.constraints;return Math.min(r,Math.max(o,t))}return t}_getScale(t){let{scale:e}=this,o=typeof e=="number"?e:fe;return this._getScaleWithinConstraints(o,t)}_getHeading(t,e){let o=e?.spatialReference,r=o?.isWebMercator||o?.isGeographic,i=t.coords?.heading;return!r||typeof i!="number"||Number.isNaN(i)||i<0||i>360?null:i}_addHeading(t){let{heading:e,target:o,view:r}=t;if(!(!r||e===null)){if(r.type==="3d"){o.heading=e;return}r.type==="2d"&&(o.rotation=360-e)}}async _animatePoint(t,e,o,r){let{view:i}=this;if(!this.goToLocationEnabled||!i)return;let a={target:t,scale:e};this.rotationEnabled&&this._addHeading({heading:o,target:a,view:i});let s={signal:r.signal};x(s),this.goToOverride&&i&&this.goToOverride(i,{target:a,options:s}),await i.goTo(a,s)}async updatePosition(t,e){try{let o=this.view,r=await pe({position:t,view:o},{signal:e.signal}),{graphic:i}=this,{timestamp:a,coords:s}=t,{accuracy:f,altitude:m,altitudeAccuracy:K,latitude:V,longitude:J,speed:_}=s,E=this._getHeading(t,o),j={timestamp:a,accuracy:f,altitude:m,altitudeAccuracy:K,heading:E,latitude:V,longitude:J,speed:_};i&&(i.geometry=r,i.attributes=j);let q=this._getScale(o);await this._animatePoint(r,q,E,e)}catch(o){if(!b(o))throw new u("geolocation-positioning:invalid-point","Cannot position invalid point",{error:o})}return t}};p([n()],l.prototype,"_geolocationUsable",2);p([n()],l.prototype,"geolocationOptions",2);p([n()],l.prototype,"goToLocationEnabled",2);p([n()],l.prototype,"goToOverride",2);p([n({type:G})],l.prototype,"graphic",2);p([n()],l.prototype,"scale",2);p([n()],l.prototype,"rotationEnabled",2);p([n()],l.prototype,"view",2);l=p([F("map-components.geolocation.GeolocationPositioning")],l);var Ae=Object.defineProperty,Me=Object.getOwnPropertyDescriptor,d=(t,e,o,r)=>{for(var i=r>1?void 0:r?Me(e,o):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(i=(r?s(e,o,i):s(i))||i);return r&&i&&Ae(e,o,i),i},Ee=new B({icon:"trash",id:"remove-selected-feature",title:"{messages.remove}",className:"esri-icon-trash"});function Se(t){return new X({title:t.currentLocation,fieldInfos:[{fieldName:"timestamp",label:t.timestamp,format:{dateFormat:"short-date-short-time"}},{fieldName:"latitude",label:t.latitude,format:{places:4,digitSeparator:!0}},{fieldName:"longitude",label:t.longitude,format:{places:4,digitSeparator:!0}},{fieldName:"accuracy",label:t.accuracy,format:{places:0,digitSeparator:!0}},{fieldName:"altitude",label:t.altitude,format:{places:0,digitSeparator:!0}},{fieldName:"altitudeAccuracy",label:t.altitudeAccuracy,format:{places:0,digitSeparator:!0}},{fieldName:"heading",label:t.heading,format:{places:0,digitSeparator:!0}},{fieldName:"speed",label:t.speed,format:{places:0,digitSeparator:!0}}],actions:[Ee.clone()],content:[{type:"fields"}]})}var c=class extends l{constructor(t){super(t),this._locateController=null,this.currentPosition=null,this.error=void 0,this.messages=null,this.popupEnabled=!0,this.locate=this.locate.bind(this)}initialize(){this.addHandles([W(()=>{let{graphic:t,view:e}=this;t&&e?.graphics?.includes(t)&&this._updatePopupTemplate(t)})])}destroy(){this.cancelLocate()}get state(){return this._geolocationUsable?this.view?.ready?this._locateController?"locating":this.error!=null?"error":"ready":"disabled":"feature-unsupported"}async locate(){if(this.cancelLocate(),this.state==="disabled")throw new u("locate:disabled-state","Cannot locate when disabled.");if(this.state==="feature-unsupported")throw new u("locate:feature-unsupported-state","Cannot locate in unsecure domain.");let t=new AbortController;this._locateController=t,this.error=void 0;try{let e=await ce(this.geolocationOptions);if(await this.updatePosition(e,t),this._locateController!==t)return null;let{graphic:o}=this;return o&&this._updatePopupTemplate(o),this._addGraphic(),this.currentPosition=e,this._locateController=null,e}catch(e){if(b(e))return null;throw t===this._locateController&&(this._locateController=null),this.error=e,e}}cancelLocate(){this._clearGraphic(),this._locateController&&this._locateController.abort(),this._locateController=null}_updatePopupTemplate(t){if(!this.popupEnabled)return;let e=Se(this.messages),o=t!==this.graphic;this.destroyed||o||(t.popupTemplate=e)}};d([n()],c.prototype,"_locateController",2);d([n()],c.prototype,"currentPosition",2);d([n()],c.prototype,"error",2);d([n()],c.prototype,"messages",2);d([n()],c.prototype,"popupEnabled",2);d([n({readOnly:!0})],c.prototype,"state",1);c=d([F("map-components.locate.LocateViewModel")],c);var Ce={base:"esri-locate"},z="gps-off",Pe=U(c),M=class extends O{constructor(){super(...arguments),this.messages=R(),this.viewModel=Pe(this),this.autoDestroyDisabled=!1,this.geolocationOptions=this.viewModel.geolocationOptions,this.goToLocationDisabled=this.viewModel.goToLocationEnabled,this.goToOverride=this.viewModel.goToOverride,this.graphic=this.viewModel.graphic,this.icon=z,this.popupDisabled=this.viewModel.popupEnabled,this.position="top-left",this.scale=this.viewModel.scale,this.state=this.viewModel.state,this.arcgisError=g(),this.arcgisPropertyChange=L()("state"),this.arcgisReady=g(),this.arcgisSuccess=g()}static{this.properties={autoDestroyDisabled:5,geolocationOptions:0,goToLocationDisabled:7,goToOverride:0,graphic:0,icon:1,label:1,messageOverrides:0,popupDisabled:5,position:3,referenceElement:1,scale:9,state:3}}static{this.shadowRootOptions=P}static{this.styles=re}async cancelLocate(){this.viewModel.cancelLocate()}async destroy(){await this.manager.destroy()}async locate(){return await this.viewModel.locate()}loaded(){this.viewModel.messages={...this.messages,...this.messageOverrides},this.manager.onLifecycle(()=>[A(()=>this.viewModel.error,e=>{this.arcgisError.emit({error:e})}),A(()=>this.viewModel.currentPosition,e=>{this.arcgisSuccess.emit({position:e})})])}_localizeError(e){if(e instanceof GeolocationPositionError)return e.code===GeolocationPositionError.PERMISSION_DENIED?this.messages?.permissionError:e.code===GeolocationPositionError.TIMEOUT?this.messages?.timeoutError:this.messages?.positionUnavailable;if(e instanceof Error)return e.message}_locate(){let{viewModel:e}=this;e.state==="locating"?e.cancelLocate():e.locate().catch(()=>{})}render(){let{viewModel:e,icon:o}=this,{state:r}=e,i=r==="locating",a=i?this.messages.cancel:this.messages.title,s=r==="feature-unsupported",f=D===void 0?z:void 0,m=this._localizeError(this.viewModel?.error);return h`<div class=${w(S(Ce.base,v.widget))}>${!s&&h`<calcite-button class=${w(v.widgetButton)} .disabled=${r==="disabled"} .iconStart=${i?void 0:o??f} kind=neutral .label=${a} @click=${this._locate} title=${a??T}>${i?h`<calcite-loader inline label></calcite-loader>`:null}</calcite-button>`||""}${m?h`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${m}</calcite-tooltip>`:null}</div>`}};N("arcgis-locate",M);return M},"core/reactiveUtils","core/accessorSupport/decorators","core/Error","intl","PopupTemplate","support/actions/ActionButton","core/Accessor","Graphic","symbols/CIMSymbol","geometry/Point","geometry/operators/projectOperator","config","geometry/support/webMercatorUtils","portal/Portal","rest/geometryService","rest/support/ProjectParameters",a,b,c,d)