@arcgis/map-components 5.0.0-next.161 → 5.0.0-next.163

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 (233) hide show
  1. package/dist/cdn/{JAGDFQG6.js → 25HB2UBJ.js} +1 -1
  2. package/dist/cdn/{VFMEHZZD.js → 2AHY7O7C.js} +1 -1
  3. package/dist/cdn/{IJ55LHCM.js → 2FTXKTA4.js} +1 -1
  4. package/dist/cdn/{HRF5IALK.js → 3HYCJV4V.js} +1 -1
  5. package/dist/cdn/{GQVWDA6I.js → 42WUBROP.js} +1 -1
  6. package/dist/cdn/{SA36LNKO.js → 4WMWNIPN.js} +1 -1
  7. package/dist/cdn/522HNMQI.js +2 -0
  8. package/dist/cdn/55TRWAT7.js +2 -0
  9. package/dist/cdn/{5ZA7DJQS.js → 5LG4S2WV.js} +1 -1
  10. package/dist/cdn/{ZUNZDQUR.js → 6424II7L.js} +1 -1
  11. package/dist/cdn/{W3OOBNAC.js → 67DKLGTW.js} +1 -1
  12. package/dist/cdn/{YMUDLENL.js → 6IPVLMFQ.js} +1 -1
  13. package/dist/cdn/6IUQ5UHX.js +2 -0
  14. package/dist/cdn/{XC73PUXJ.js → 7AGJFQHK.js} +1 -1
  15. package/dist/cdn/{YK2QFDB6.js → 7NOD6U2Y.js} +1 -1
  16. package/dist/cdn/{VZERD7WA.js → 7OOAOM5T.js} +1 -1
  17. package/dist/cdn/{K2WVDLY4.js → AEMKZZZS.js} +1 -1
  18. package/dist/cdn/{QZPZSZPM.js → AJ64UYFM.js} +1 -1
  19. package/dist/cdn/{7SLLFJRR.js → AJIZTCGT.js} +1 -1
  20. package/dist/cdn/{OOUV2QP3.js → ANP7PYGJ.js} +1 -1
  21. package/dist/cdn/{LS7DJQ5K.js → AX23Q2XH.js} +1 -1
  22. package/dist/cdn/{IIMYW42S.js → B7SDETM6.js} +1 -1
  23. package/dist/cdn/{4JVUUWOR.js → BHPXKX47.js} +1 -1
  24. package/dist/cdn/{S74R5TS2.js → BKYII5LQ.js} +1 -1
  25. package/dist/cdn/{227PGZWD.js → CEB3VR24.js} +1 -1
  26. package/dist/cdn/{UUFU74F2.js → CO7UZYM2.js} +1 -1
  27. package/dist/cdn/{WR7YFN6J.js → CSU7GLED.js} +1 -1
  28. package/dist/cdn/{ZM4HRRLA.js → CXHSL2Y4.js} +1 -1
  29. package/dist/cdn/{PFYBNJ7Q.js → D4PJU376.js} +1 -1
  30. package/dist/cdn/{DNDFQB6M.js → DB2NOQ3D.js} +1 -1
  31. package/dist/cdn/{GPRLA5XG.js → E5SXPWDJ.js} +1 -1
  32. package/dist/cdn/{AELXLN3Z.js → EO66UQLI.js} +1 -1
  33. package/dist/cdn/{JM5UC74N.js → ESNK6MCY.js} +1 -1
  34. package/dist/cdn/{KLCFGWID.js → F2HPTFLQ.js} +1 -1
  35. package/dist/cdn/{APTCZIC5.js → F6QNNUIN.js} +1 -1
  36. package/dist/cdn/{PZEM6N6R.js → FA3Z6QOE.js} +1 -1
  37. package/dist/cdn/{USU73B2B.js → FD4A66OJ.js} +1 -1
  38. package/dist/cdn/{OYYIEGIF.js → FKQSJXNW.js} +1 -1
  39. package/dist/cdn/{7BVN4DHV.js → FRGWWVJK.js} +1 -1
  40. package/dist/cdn/{ZFIWGLC3.js → G4FP7GXM.js} +1 -1
  41. package/dist/cdn/{ND443SHN.js → GAH6OGQE.js} +1 -1
  42. package/dist/cdn/{YIMKE3ZS.js → GCFNRINR.js} +1 -1
  43. package/dist/cdn/{TWRNR5SM.js → GMR2QJNU.js} +1 -1
  44. package/dist/cdn/{VPFMRSZ6.js → H5RGMC7S.js} +1 -1
  45. package/dist/cdn/H7O5I4IF.js +2 -0
  46. package/dist/cdn/{ND6JN4YZ.js → HKVQWRPL.js} +1 -1
  47. package/dist/cdn/{ZEJQO6MG.js → HYBTGX3N.js} +1 -1
  48. package/dist/cdn/{CABYEVH5.js → I5M2Z7WS.js} +1 -1
  49. package/dist/cdn/{XOMA7SZS.js → IKOLSNGV.js} +1 -1
  50. package/dist/cdn/{WBIRVQFF.js → IL56ZRDO.js} +1 -1
  51. package/dist/cdn/{JBDUMA6A.js → ILFME5US.js} +1 -1
  52. package/dist/cdn/{ECEHRM4F.js → INYYRLED.js} +1 -1
  53. package/dist/cdn/{COSJIIOV.js → IQ7EVFBF.js} +1 -1
  54. package/dist/cdn/{HAGRUIX6.js → J4XU75P7.js} +1 -1
  55. package/dist/cdn/{XX7YW667.js → JCW65STL.js} +1 -1
  56. package/dist/cdn/{2VP56JYP.js → JUHCPSPF.js} +1 -1
  57. package/dist/cdn/{3PBCQSML.js → JZXMWXVD.js} +1 -1
  58. package/dist/cdn/K4PC3ILQ.js +2 -0
  59. package/dist/cdn/{S2OPU6EB.js → KAZBQ6OA.js} +1 -1
  60. package/dist/cdn/{TEZDBCLU.js → KGJGLAWM.js} +1 -1
  61. package/dist/cdn/{VXRHLDSF.js → KRVBBG4M.js} +1 -1
  62. package/dist/cdn/{FZJKT7BV.js → KWIBK4I5.js} +1 -1
  63. package/dist/cdn/{CNAGRWBY.js → L5JWLRD3.js} +1 -1
  64. package/dist/cdn/L6YZXUBB.js +2 -0
  65. package/dist/cdn/{VWFVE3N5.js → LT5ALQM5.js} +1 -1
  66. package/dist/cdn/{T6MNZWQJ.js → MAM7YHLA.js} +1 -1
  67. package/dist/cdn/{S2WF243X.js → MD36SH63.js} +1 -1
  68. package/dist/cdn/{YGRKF7FM.js → N7QKWBTM.js} +1 -1
  69. package/dist/cdn/{VU4FTMX6.js → NWXN5M4S.js} +1 -1
  70. package/dist/cdn/{GSULD3SQ.js → ODGGFBDK.js} +1 -1
  71. package/dist/cdn/{THO22RHZ.js → OFQNQF6N.js} +1 -1
  72. package/dist/cdn/{NYXESRIT.js → ONPN5M3Z.js} +1 -1
  73. package/dist/cdn/{N472QGAH.js → ORVYHFUJ.js} +1 -1
  74. package/dist/cdn/{CGXCY6GA.js → P76K34HQ.js} +1 -1
  75. package/dist/cdn/{SGG7SP3T.js → P7PWOUNZ.js} +1 -1
  76. package/dist/cdn/{6TBMOJWN.js → PQ5PGLJM.js} +1 -1
  77. package/dist/cdn/{RM2HMUW5.js → PYMUS3H4.js} +1 -1
  78. package/dist/cdn/{BFJ4VLH7.js → PZ2JPHRS.js} +1 -1
  79. package/dist/cdn/{FHDRIX57.js → Q4B4MXH4.js} +1 -1
  80. package/dist/cdn/{XLPNOCX2.js → QF7RABZH.js} +1 -1
  81. package/dist/cdn/{T3ZQTVDW.js → QKSSTPS3.js} +1 -1
  82. package/dist/cdn/{CFNAG4UQ.js → QUHJMEBB.js} +1 -1
  83. package/dist/cdn/{GIIC5RQS.js → R2FIOZIL.js} +1 -1
  84. package/dist/cdn/{ZA6HMKG3.js → RB7GCEEB.js} +1 -1
  85. package/dist/cdn/{U7UXBPOB.js → RE2BXNZ3.js} +1 -1
  86. package/dist/cdn/{OLRMETYO.js → RMFIN5AS.js} +1 -1
  87. package/dist/cdn/{Z2BF5ON2.js → RN57AN5P.js} +1 -1
  88. package/dist/cdn/{7DRCEN4I.js → RU5U2DVA.js} +1 -1
  89. package/dist/cdn/{AR4EHDQE.js → RYKRMJMK.js} +1 -1
  90. package/dist/cdn/{2WRZHA7I.js → RZ4T32PU.js} +1 -1
  91. package/dist/cdn/{K5TOSB65.js → SDWQW3ZX.js} +1 -1
  92. package/dist/cdn/{UBCQ3OXU.js → SK6O74LF.js} +1 -1
  93. package/dist/cdn/SKIP3GUP.js +2 -0
  94. package/dist/cdn/{FKFLM37F.js → T3JWZEB6.js} +1 -1
  95. package/dist/cdn/{WBEN5CWQ.js → TGUIWWDN.js} +1 -1
  96. package/dist/cdn/TQRR2FH6.js +2 -0
  97. package/dist/cdn/{W2Z72SWO.js → U3H7EVCU.js} +1 -1
  98. package/dist/cdn/{Y27IRNJL.js → U4TAMNG3.js} +1 -1
  99. package/dist/cdn/{OE3W5FEW.js → UBGE4QNR.js} +1 -1
  100. package/dist/cdn/{RAXYFKPT.js → UELD2T53.js} +1 -1
  101. package/dist/cdn/{JKBRLNJZ.js → UNLAUFXF.js} +1 -1
  102. package/dist/cdn/URUFNID2.js +2 -0
  103. package/dist/cdn/{H6TQCFMC.js → UW3G2BPO.js} +1 -1
  104. package/dist/cdn/{PTIYROPJ.js → WBGZAAEK.js} +1 -1
  105. package/dist/cdn/{ZX4R6K46.js → WDTFIXMM.js} +1 -1
  106. package/dist/cdn/{NS2J3AS6.js → WLNRPTCN.js} +1 -1
  107. package/dist/cdn/{ETJEFAUU.js → WTTBFFC2.js} +1 -1
  108. package/dist/cdn/{TRID34Q5.js → WV6XSMZW.js} +1 -1
  109. package/dist/cdn/X7QWBVC2.js +2 -0
  110. package/dist/cdn/{KEJZKHZZ.js → XCDPFMHG.js} +1 -1
  111. package/dist/cdn/{C45HGFAM.js → XIOIZK7A.js} +1 -1
  112. package/dist/cdn/{A724KY7J.js → Y4RMI55P.js} +1 -1
  113. package/dist/cdn/YLLIMNEW.js +2 -0
  114. package/dist/cdn/{DETI55RG.js → YXYCWJFF.js} +1 -1
  115. package/dist/cdn/{OE46TF5I.js → Z6LXLPK7.js} +1 -1
  116. package/dist/cdn/{WWASOGVO.js → ZOBY4YF2.js} +1 -1
  117. package/dist/cdn/{DHY6U2TQ.js → ZVTV4UKT.js} +1 -1
  118. package/dist/cdn/assets/elevation-profile/t9n/messages.fr.json +1 -1
  119. package/dist/cdn/index.js +1 -1
  120. package/dist/chunks/useArcgisViewReadyError.js +7 -7
  121. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +5 -5
  122. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +10 -10
  123. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +1 -1
  124. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +5 -7
  125. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +4 -4
  126. package/dist/components/arcgis-bookmarks/customElement.d.ts +3 -3
  127. package/dist/components/arcgis-bookmarks/types.d.ts +1 -1
  128. package/dist/components/arcgis-building-explorer/customElement.d.ts +4 -4
  129. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +4 -6
  130. package/dist/components/arcgis-clipboard/customElement.d.ts +2 -2
  131. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +4 -4
  132. package/dist/components/arcgis-daylight/customElement.d.ts +14 -14
  133. package/dist/components/arcgis-daylight/customElement.js +2 -1
  134. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +7 -7
  135. package/dist/components/arcgis-directions/customElement.d.ts +4 -5
  136. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +5 -5
  137. package/dist/components/arcgis-editor/customElement.d.ts +2 -3
  138. package/dist/components/arcgis-elevation-profile/customElement.d.ts +9 -9
  139. package/dist/components/arcgis-feature/customElement.d.ts +7 -7
  140. package/dist/components/arcgis-feature-fields/customElement.js +7 -7
  141. package/dist/components/arcgis-feature-form/customElement.d.ts +3 -4
  142. package/dist/components/arcgis-feature-image/customElement.d.ts +5 -5
  143. package/dist/components/arcgis-feature-table/customElement.d.ts +16 -23
  144. package/dist/components/arcgis-feature-templates/customElement.d.ts +4 -6
  145. package/dist/components/arcgis-feature-title/customElement.d.ts +3 -3
  146. package/dist/components/arcgis-features/customElement.d.ts +41 -43
  147. package/dist/components/arcgis-features/customElement.js +48 -42
  148. package/dist/components/arcgis-floor-filter/customElement.d.ts +5 -5
  149. package/dist/components/arcgis-grid-controls/customElement.d.ts +8 -8
  150. package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +1 -1
  151. package/dist/components/arcgis-home/customElement.d.ts +2 -2
  152. package/dist/components/arcgis-layer-list/customElement.d.ts +9 -11
  153. package/dist/components/arcgis-legend/customElement.d.ts +4 -4
  154. package/dist/components/arcgis-legend-classic-element/customElement.js +22 -24
  155. package/dist/components/arcgis-line-of-sight/customElement.d.ts +5 -5
  156. package/dist/components/arcgis-link-chart/customElement.d.ts +21 -23
  157. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +1 -1
  158. package/dist/components/arcgis-locate/customElement.d.ts +1 -1
  159. package/dist/components/arcgis-map/customElement.d.ts +58 -60
  160. package/dist/components/arcgis-measurement/customElement.d.ts +3 -3
  161. package/dist/components/arcgis-multi-feature-form/customElement.d.ts +8 -10
  162. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +2 -2
  163. package/dist/components/arcgis-paste/ClipboardMove.d.ts +3 -3
  164. package/dist/components/arcgis-paste/PasteViewModel.d.ts +9 -9
  165. package/dist/components/arcgis-paste/commands/PasteCommand.d.ts +3 -3
  166. package/dist/components/arcgis-paste/commands/PasteCustomCommand.d.ts +2 -2
  167. package/dist/components/arcgis-paste/customElement.d.ts +4 -4
  168. package/dist/components/arcgis-popup/customElement.d.ts +50 -52
  169. package/dist/components/arcgis-popup/customElement.js +50 -55
  170. package/dist/components/arcgis-popup/types.d.ts +1 -1
  171. package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +2 -2
  172. package/dist/components/arcgis-presentation/customElement.d.ts +1 -1
  173. package/dist/components/arcgis-print/customElement.d.ts +12 -13
  174. package/dist/components/arcgis-reverse-geocode-list/customElement.d.ts +1 -1
  175. package/dist/components/arcgis-scale-bar/customElement.d.ts +1 -1
  176. package/dist/components/arcgis-scene/customElement.d.ts +54 -56
  177. package/dist/components/arcgis-search/customElement.d.ts +18 -20
  178. package/dist/components/arcgis-search/customElement.js +8 -9
  179. package/dist/components/arcgis-shadow-cast/customElement.d.ts +29 -29
  180. package/dist/components/arcgis-sketch/customElement.d.ts +3 -4
  181. package/dist/components/arcgis-slice/customElement.d.ts +12 -12
  182. package/dist/components/arcgis-slice/types.d.ts +2 -2
  183. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +11 -11
  184. package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +9 -9
  185. package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +10 -10
  186. package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +13 -13
  187. package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +20 -20
  188. package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +3 -3
  189. package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +9 -9
  190. package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +14 -14
  191. package/dist/components/arcgis-swipe/customElement.d.ts +5 -5
  192. package/dist/components/arcgis-table-list/customElement.d.ts +7 -8
  193. package/dist/components/arcgis-time-slider/customElement.d.ts +3 -3
  194. package/dist/components/arcgis-time-zone-label/customElement.d.ts +7 -30
  195. package/dist/components/arcgis-time-zone-label/customElement.js +15 -48
  196. package/dist/components/arcgis-time-zone-label/index.js +1 -1
  197. package/dist/components/arcgis-track/customElement.d.ts +1 -1
  198. package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.d.ts +2 -2
  199. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +1 -2
  200. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +6 -9
  201. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +4 -4
  202. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +28 -26
  203. package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +3 -3
  204. package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +1 -1
  205. package/dist/components/arcgis-utility-network-trace-results/customElement.js +44 -44
  206. package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +17 -18
  207. package/dist/components/arcgis-version-management/customElement.d.ts +3 -4
  208. package/dist/components/arcgis-video-player/customElement.d.ts +1 -1
  209. package/dist/components/arcgis-volume-measurement/customElement.d.ts +17 -17
  210. package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
  211. package/dist/components/arcgis-weather/customElement.d.ts +5 -5
  212. package/dist/components/types.d.ts +3 -3
  213. package/dist/docs/api.json +1 -1
  214. package/dist/docs/docs.json +1 -1
  215. package/dist/docs/vscode.html-custom-data.json +1 -1
  216. package/dist/docs/web-types.json +1 -1
  217. package/dist/loader.js +1 -1
  218. package/dist/types/lumina.d.ts +1 -2
  219. package/dist/types/preact.d.ts +1 -2
  220. package/dist/types/react.d.ts +1 -2
  221. package/dist/types/stencil.d.ts +1 -2
  222. package/package.json +4 -4
  223. package/dist/cdn/2LQLX6UN.js +0 -2
  224. package/dist/cdn/43GVPQTY.js +0 -2
  225. package/dist/cdn/BVJCLI2O.js +0 -2
  226. package/dist/cdn/F6ZBZTSB.js +0 -2
  227. package/dist/cdn/JWX6Z3ZF.js +0 -2
  228. package/dist/cdn/LEJDJAPO.js +0 -2
  229. package/dist/cdn/LT6PKSRL.js +0 -2
  230. package/dist/cdn/MTTO5ISS.js +0 -2
  231. package/dist/cdn/QCAKPRXK.js +0 -2
  232. package/dist/cdn/RHWPLIDI.js +0 -2
  233. package/dist/cdn/T5J4CTR7.js +0 -2
@@ -2,18 +2,17 @@
2
2
  import type Camera from "@arcgis/core/Camera.js";
3
3
  import type Point from "@arcgis/core/geometry/Point.js";
4
4
  import type SceneView from "@arcgis/core/views/SceneView.js";
5
- import type LayerView from "@arcgis/core/views/layers/LayerView";
6
- import type Layer from "@arcgis/core/layers/Layer";
7
- import type Analysis from "@arcgis/core/analysis/Analysis";
8
- import type Viewpoint from "@arcgis/core/Viewpoint";
9
- import type SceneViewPerformanceInfo from "@arcgis/core/views/3d/support/SceneViewPerformanceInfo";
10
- import type Ground from "@arcgis/core/Ground";
11
- import type GamepadSettings from "@arcgis/core/views/input/gamepad/GamepadSettings";
12
- import type FocusAreas from "@arcgis/core/effects/FocusAreas";
13
- import type Basemap from "@arcgis/core/Basemap";
14
- import type LayerView2 from "@arcgis/core/views/layers/LayerView.js";
5
+ import type LayerView from "@arcgis/core/views/layers/LayerView.js";
6
+ import type Layer from "@arcgis/core/layers/Layer.js";
7
+ import type Analysis from "@arcgis/core/analysis/Analysis.js";
8
+ import type Viewpoint from "@arcgis/core/Viewpoint.js";
9
+ import type SceneViewPerformanceInfo from "@arcgis/core/views/3d/support/SceneViewPerformanceInfo.js";
10
+ import type Ground from "@arcgis/core/Ground.js";
11
+ import type GamepadSettings from "@arcgis/core/views/input/gamepad/GamepadSettings.js";
12
+ import type FocusAreas from "@arcgis/core/effects/FocusAreas.js";
13
+ import type Basemap from "@arcgis/core/Basemap.js";
14
+ import type Map from "@arcgis/core/Map.js";
15
15
  import type Collection from "@arcgis/core/core/Collection.js";
16
- import type Analysis2 from "@arcgis/core/analysis/Analysis.js";
17
16
  import type BasemapView from "@arcgis/core/views/BasemapView.js";
18
17
  import type Extent from "@arcgis/core/geometry/Extent.js";
19
18
  import type Constraints from "@arcgis/core/views/3d/constraints/Constraints.js";
@@ -23,7 +22,6 @@ import type Graphic from "@arcgis/core/Graphic.js";
23
22
  import type GroundView from "@arcgis/core/views/GroundView.js";
24
23
  import type HighlightOptions from "@arcgis/core/views/support/HighlightOptions.js";
25
24
  import type Magnifier from "@arcgis/core/views/Magnifier.js";
26
- import type Map2 from "@arcgis/core/Map.js";
27
25
  import type Navigation from "@arcgis/core/views/navigation/Navigation.js";
28
26
  import type Popup from "@arcgis/core/widgets/Popup.js";
29
27
  import type SpatialReference from "@arcgis/core/geometry/SpatialReference.js";
@@ -33,18 +31,18 @@ import type Polygon from "@arcgis/core/geometry/Polygon.js";
33
31
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
34
32
  import type { LoadErrorSource } from "../types.js";
35
33
  import type { ArcgisPopup } from "../arcgis-popup/customElement.js";
36
- import type { AnalysisView3DFor } from "@arcgis/core/views/3d/analysis/types";
37
- import type { LayerView3DFor } from "@arcgis/core/views/3d/types";
38
- import type { DoubleTapDragEvent, VerticalTwoFingerDragEvent, PointerUpEvent, PointerMoveEvent, PointerLeaveEvent, PointerEnterEvent, PointerDownEvent, ViewMouseWheelEvent, LayerViewDestroyEvent, LayerViewCreateErrorEvent, LayerViewCreateEvent, KeyUpEvent, KeyDownEvent, ImmediateDoubleClickEvent, ImmediateClickEvent, HoldEvent, DragEvent, DoubleClickEvent, ClickEvent } from "@arcgis/core/views/input/types";
39
- import type { AnalysisViewDestroyEvent, AnalysisViewCreateErrorEvent, AnalysisViewCreateEvent, HitTestOptions3D, Screenshot, UserSettings, SceneViewHitTestResult, GoToOptions3D, GoToTarget3D } from "@arcgis/core/views/types";
40
- import type { ScreenPoint } from "@arcgis/core/core/types";
41
- import type { ViewPopupOpenOptions } from "@arcgis/core/views/PopupView";
34
+ import type { AnalysisView3DFor } from "@arcgis/core/views/3d/analysis/types.js";
35
+ import type { LayerView3DFor } from "@arcgis/core/views/3d/types.js";
36
+ import type { DoubleTapDragEvent, VerticalTwoFingerDragEvent, PointerUpEvent, PointerMoveEvent, PointerLeaveEvent, PointerEnterEvent, PointerDownEvent, ViewMouseWheelEvent, LayerViewDestroyEvent, LayerViewCreateErrorEvent, LayerViewCreateEvent, KeyUpEvent, KeyDownEvent, ImmediateDoubleClickEvent, ImmediateClickEvent, HoldEvent, DragEvent, DoubleClickEvent, ClickEvent } from "@arcgis/core/views/input/types.js";
37
+ import type { AnalysisViewDestroyEvent, AnalysisViewCreateErrorEvent, AnalysisViewCreateEvent, HitTestOptions3D, Screenshot, UserSettings, SceneViewHitTestResult, GoToOptions3D, GoToTarget3D } from "@arcgis/core/views/types.js";
38
+ import type { ScreenPoint } from "@arcgis/core/core/types.js";
39
+ import type { ViewPopupOpenOptions } from "@arcgis/core/views/PopupView.js";
42
40
  import type { ReadonlyCollection } from "@arcgis/core/core/Collection.js";
43
41
  import type { ViewPadding } from "@arcgis/core/views/ui/types.js";
44
42
 
45
43
  /**
46
44
  * The ArcGIS Scene component is used to add 3D maps to web applications. For 2D maps, use the
47
- * [ArcGIS Map component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/).
45
+ * [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/).
48
46
  *
49
47
  * The Scene component creates a [SceneView](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/)
50
48
  * and loads a [WebScene](https://developers.arcgis.com/javascript/latest/references/core/WebScene/) item from either
@@ -105,7 +103,7 @@ import type { ViewPadding } from "@arcgis/core/views/ui/types.js";
105
103
  * @slot [top-end] - Slot for components positioned at the top-end (top-right in LTR, top-left in RTL).
106
104
  * @slot [bottom-start] - Slot for components positioned at the bottom-start (bottom-left in LTR, bottom-right in RTL).
107
105
  * @slot [bottom-end] - Slot for components positioned at the bottom-end (bottom-right in LTR, bottom-left in RTL).
108
- * @slot [popup] - Slot for the [Popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/) component to open automatically on click. Only the Popup component can be placed in this slot.
106
+ * @slot [popup] - Slot for the [arcgis-popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/) component to open automatically on click. Only the Popup component can be placed in this slot.
109
107
  * @since 4.28
110
108
  */
111
109
  export abstract class ArcgisScene extends LitElement {
@@ -115,7 +113,7 @@ export abstract class ArcgisScene extends LitElement {
115
113
  *
116
114
  * @see [LayerView](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LayerView/)
117
115
  */
118
- get allLayerViews(): ReadonlyCollection<LayerView2>;
116
+ get allLayerViews(): ReadonlyCollection<LayerView>;
119
117
  /**
120
118
  * Allows the view to be partially or fully transparent when composited with the webpage elements behind it.
121
119
  *
@@ -150,7 +148,7 @@ export abstract class ArcgisScene extends LitElement {
150
148
  * // Removes an analysis from the View
151
149
  * view.analyses.remove(lineOfSightAnalysis);
152
150
  */
153
- accessor analyses: Collection<Analysis2>;
151
+ accessor analyses: Collection<Analysis>;
154
152
  /**
155
153
  * Indicates whether animations are disabled in the view. This includes animated symbols (animated
156
154
  * [CIMSymbol](https://developers.arcgis.com/javascript/latest/references/core/symbols/CIMSymbol/),
@@ -212,20 +210,20 @@ export abstract class ArcgisScene extends LitElement {
212
210
  * Represents the [view for a single basemap](https://developers.arcgis.com/javascript/latest/references/core/views/BasemapView/)
213
211
  * after it has been added to the map.
214
212
  */
215
- accessor basemapView: BasemapView<LayerView2>;
213
+ accessor basemapView: BasemapView<LayerView>;
216
214
  /**
217
215
  * The [camera](https://developers.arcgis.com/javascript/latest/references/core/Camera/) allows to set the observation point from which the visible portion (or perspective)
218
- * of the view is determined. When set in the constructor, this property overrides the [center](#center), [extent](#extent), [scale](#scale), [viewpoint](#viewpoint), and [zoom](#zoom) properties.
216
+ * of the view is determined. When set in the constructor, this property overrides the [center](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#center), [extent](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#extent), [scale](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#scale), [viewpoint](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#viewpoint), and [zoom](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#zoom) properties.
219
217
  *
220
218
  * Setting the camera immediately changes the current view. For animating the view, see this component's
221
- * [goTo()](#goTo) method.
219
+ * [goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#goTo) method.
222
220
  */
223
221
  accessor camera: Camera;
224
222
  /**
225
223
  * The diagonal field of view (fov) angle for the camera. The range of angles must be between 1 and 170 degrees.
226
224
  *
227
225
  * Setting the camera fov immediately changes the current view. For animating the view, see this component's
228
- * [goTo()](#goTo) method.
226
+ * [goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#goTo) method.
229
227
  *
230
228
  * [Read more](https://developers.arcgis.com/javascript/latest/references/core/Camera/#fov)
231
229
  */
@@ -234,7 +232,7 @@ export abstract class ArcgisScene extends LitElement {
234
232
  * The compass heading of the camera in degrees.
235
233
  *
236
234
  * Setting the camera heading immediately changes the current view. For animating the view, see this component's
237
- * [goTo()](#goTo) method.
235
+ * [goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#goTo) method.
238
236
  *
239
237
  * [Read more](https://developers.arcgis.com/javascript/latest/references/core/Camera/#heading)
240
238
  */
@@ -245,7 +243,7 @@ export abstract class ArcgisScene extends LitElement {
245
243
  * or a string in the format: longitude, latitude, elevation. E.g. `"12.3808, 46.3959, 4400"`.
246
244
  *
247
245
  * Setting the camera position immediately changes the current view. For animating the view, see this component's
248
- * [goTo()](#goTo) method.
246
+ * [goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#goTo) method.
249
247
  *
250
248
  * [Read more](https://developers.arcgis.com/javascript/latest/references/core/Camera/#position)
251
249
  */
@@ -254,7 +252,7 @@ export abstract class ArcgisScene extends LitElement {
254
252
  * The tilt of the camera in degrees with respect to the surface as projected down from the camera position.
255
253
  *
256
254
  * Setting the camera tilt immediately changes the current view. For animating the view, see this component's
257
- * [goTo()](#goTo) method.
255
+ * [goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#goTo) method.
258
256
  *
259
257
  * [Read more](https://developers.arcgis.com/javascript/latest/references/core/Camera/#tilt)
260
258
  */
@@ -278,7 +276,7 @@ export abstract class ArcgisScene extends LitElement {
278
276
  * or a [Point](https://developers.arcgis.com/javascript/latest/references/core/geometry/Point/) instance.
279
277
  *
280
278
  * Setting the center immediately changes the current view. For animating the view, see this component's
281
- * [goTo()](#goTo) method.
279
+ * [goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#goTo) method.
282
280
  *
283
281
  * [Read more](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#center)
284
282
  */
@@ -286,7 +284,7 @@ export abstract class ArcgisScene extends LitElement {
286
284
  set center(value: null | undefined | number[] | SceneView["center"] | string);
287
285
  /**
288
286
  * Represents an optional clipping area used to define the visible [extent](https://developers.arcgis.com/javascript/latest/references/core/geometry/Extent/)
289
- * of a Scene in `local` [viewingMode](#viewingMode).
287
+ * of a Scene in `local` [viewingMode](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#viewingMode).
290
288
  *
291
289
  * [Read more](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#clippingArea)
292
290
  *
@@ -367,11 +365,11 @@ export abstract class ArcgisScene extends LitElement {
367
365
  */
368
366
  accessor environment: Environment;
369
367
  /**
370
- * The extent represents the visible portion of a [map](#map) within the view as an instance of
368
+ * The extent represents the visible portion of a [map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#map) within the view as an instance of
371
369
  * [Extent](https://developers.arcgis.com/javascript/latest/references/core/geometry/Extent/).
372
370
  *
373
371
  * Setting the extent immediately changes the view without animation. To animate
374
- * the view, see this component's [goTo()](#goTo) method.
372
+ * the view, see this component's [goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#goTo) method.
375
373
  * When the view is rotated, the extent does not update to include the newly visible portions of the map.
376
374
  *
377
375
  * [Read more](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#extent)
@@ -426,7 +424,7 @@ export abstract class ArcgisScene extends LitElement {
426
424
  */
427
425
  accessor graphics: Collection<Graphic>;
428
426
  /**
429
- * Specifies the surface properties for the [map](#map). It can be either a [Ground](https://developers.arcgis.com/javascript/latest/references/core/Ground/)
427
+ * Specifies the surface properties for the [map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#map). It can be either a [Ground](https://developers.arcgis.com/javascript/latest/references/core/Ground/)
430
428
  * instance or a string with one of the following values:
431
429
  * * `"world-elevation"`
432
430
  * * `"world-topobathymetry"`
@@ -568,11 +566,11 @@ export abstract class ArcgisScene extends LitElement {
568
566
  /**
569
567
  * A collection containing a hierarchical list of all the created
570
568
  * [LayerViews](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LayerView/) of the
571
- * [operational layers](https://developers.arcgis.com/javascript/latest/references/core/Map/#layers) in the [map](#map).
569
+ * [operational layers](https://developers.arcgis.com/javascript/latest/references/core/Map/#layers) in the [map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#map).
572
570
  *
573
571
  * @see [LayerView](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LayerView/)
574
572
  */
575
- get layerViews(): Collection<LayerView2>;
573
+ get layerViews(): Collection<LayerView>;
576
574
  /**
577
575
  * An array of objects that encountered an error while loading the component or any of its dependencies (e.g., basemap, ground, layers, tables). You may inspect the errors by accessing each object's `loadError` property.
578
576
  *
@@ -586,7 +584,7 @@ export abstract class ArcgisScene extends LitElement {
586
584
  */
587
585
  get magnifier(): Magnifier;
588
586
  /** An instance of a [Map](https://developers.arcgis.com/javascript/latest/references/core/Map/) object to display in the view. */
589
- accessor map: Map2 | null | undefined;
587
+ accessor map: Map | null | undefined;
590
588
  /**
591
589
  * Indication whether the view is being navigated (for example when panning).
592
590
  *
@@ -648,7 +646,7 @@ export abstract class ArcgisScene extends LitElement {
648
646
  */
649
647
  accessor popup: Popup | null | undefined;
650
648
  /**
651
- * Indicates whether the [popup component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#popupElement) (beta) is enabled as the default popup. When set to `true`, the [popupElement](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#popupElement) property (representing the component) will be used for popups instead of the [popup](#popup) property (representing the widget).
649
+ * Indicates whether the [popup component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#popupElement) (beta) is enabled as the default popup. When set to `true`, the [popupElement](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#popupElement) property (representing the component) will be used for popups instead of the [popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#popup) property (representing the widget).
652
650
  *
653
651
  * **Note:** This is a beta feature and may change in future releases. At version 6.0, the Popup component will be used by default instead of the Popup widget and the `popup-component-enabled` attribute will no longer be necessary.
654
652
  *
@@ -663,14 +661,14 @@ export abstract class ArcgisScene extends LitElement {
663
661
  */
664
662
  accessor popupComponentEnabled: boolean;
665
663
  /**
666
- * Controls whether the default popup opens automatically when users click on the view. This controls both the [`popupElement`](#popupElement) and [`popup`](#popup) properties. When set to `true`, the popup will not open on click or when triggered programmatically.
664
+ * Controls whether the default popup opens automatically when users click on the view. This controls both the [popupElement](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#popupElement) and [popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#popup) properties. When set to `true`, the popup will not open on click or when triggered programmatically.
667
665
  *
668
666
  * @default false
669
667
  * @see [openPopup()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#openPopup)
670
668
  */
671
669
  accessor popupDisabled: boolean;
672
670
  /**
673
- * A reference to the current [arcgis-popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/) (beta). The [popupComponentEnabled](#popupComponentEnabled) property must be set to `true` to use this property.
671
+ * A reference to the current [arcgis-popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/) (beta). The [popupComponentEnabled](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#popupComponentEnabled) property must be set to `true` to use this property.
674
672
  *
675
673
  * **Note:** This is a beta feature and may change in future releases.
676
674
  *
@@ -716,8 +714,8 @@ export abstract class ArcgisScene extends LitElement {
716
714
  get ready(): boolean;
717
715
  /**
718
716
  * Represents the current value of one pixel in the unit of the view's
719
- * [spatialReference](#spatialReference).
720
- * The resolution is calculated by dividing the Scene component's [extent](#extent) [width](https://developers.arcgis.com/javascript/latest/references/core/geometry/Extent/#width)
717
+ * [spatialReference](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#spatialReference).
718
+ * The resolution is calculated by dividing the Scene component's [extent](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#extent) [width](https://developers.arcgis.com/javascript/latest/references/core/geometry/Extent/#width)
721
719
  * by its width.
722
720
  */
723
721
  get resolution(): number;
@@ -725,7 +723,7 @@ export abstract class ArcgisScene extends LitElement {
725
723
  * Represents the map scale at the center of the view.
726
724
  *
727
725
  * Setting the scale immediately changes the view. For animating
728
- * the view, see this component's [goTo()](#goTo) method.
726
+ * the view, see this component's [goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#goTo) method.
729
727
  *
730
728
  * [Read more](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#scale)
731
729
  */
@@ -737,7 +735,7 @@ export abstract class ArcgisScene extends LitElement {
737
735
  *
738
736
  * The spatial reference can either be set explicitly or automatically derived from the following:
739
737
  *
740
- * * If the [map](#map) is a [WebScene](https://developers.arcgis.com/javascript/latest/references/core/WebScene/) instance,
738
+ * * If the [map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#map) is a [WebScene](https://developers.arcgis.com/javascript/latest/references/core/WebScene/) instance,
741
739
  * the [WebScene.initialViewProperties.spatialReference](https://developers.arcgis.com/javascript/latest/references/core/webscene/InitialViewProperties/#spatialReference) is used.
742
740
  * * Otherwise, the spatial reference is derived from the first layer that loads in this order:
743
741
  * * [map.basemap.baseLayer](https://developers.arcgis.com/javascript/latest/references/core/Map/#basemap)
@@ -747,7 +745,7 @@ export abstract class ArcgisScene extends LitElement {
747
745
  * **Notes**
748
746
  *
749
747
  * * In case the spatial reference is determined from the map layers or the ground layers and they are in WGS84 or Web Mercator, the following rule also applies: the first layer that does not support server side reprojection (tiled layers) determines the spatial reference of the view and all the other layers are reprojected.
750
- * * If no spatial reference can be derived, then the view does not resolve and the [ready](#ready) property is false.
748
+ * * If no spatial reference can be derived, then the view does not resolve and the [ready](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#ready) property is false.
751
749
  * * Prior to changing the spatial reference, check if the [projectOperator](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/)
752
750
  * is loaded by calling [projectOperator.isLoaded()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/#isLoaded) method.
753
751
  * If it is not yet loaded, call [projectOperator.load()](https://developers.arcgis.com/javascript/latest/references/core/geometry/operators/projectOperator/#load) method.
@@ -850,13 +848,13 @@ export abstract class ArcgisScene extends LitElement {
850
848
  * or point of observation on the view.
851
849
  *
852
850
  * Setting the viewpoint immediately changes the current view. For animating
853
- * the view, see this component's [goTo()](#goTo) method.
851
+ * the view, see this component's [goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#goTo) method.
854
852
  *
855
853
  * [Read more](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#viewpoint)
856
854
  */
857
855
  accessor viewpoint: Viewpoint;
858
856
  /**
859
- * The visibleArea represents the visible portion of a [map](#map) within the view as an instance of a
857
+ * The visibleArea represents the visible portion of a [map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#map) within the view as an instance of a
860
858
  * [Polygon](https://developers.arcgis.com/javascript/latest/references/core/geometry/Polygon/).
861
859
  *
862
860
  * [Read more](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#visibleArea)
@@ -869,17 +867,17 @@ export abstract class ArcgisScene extends LitElement {
869
867
  /**
870
868
  * Represents the level of detail (LOD) at the center of the view.
871
869
  *
872
- * Setting the zoom immediately changes the current view. For animating the view, see this component's [goTo()](#goTo) method.
873
- * Setting this property in conjunction with [center](#center)
870
+ * Setting the zoom immediately changes the current view. For animating the view, see this component's [goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#goTo) method.
871
+ * Setting this property in conjunction with [center](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#center)
874
872
  * is a convenient way to set the initial extent of the view.
875
873
  *
876
874
  * [Read more](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#zoom)
877
875
  */
878
876
  accessor zoom: number;
879
- /** Closes the [popup](#popup). */
877
+ /** Closes the [popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#popup). */
880
878
  closePopup(): Promise<void>;
881
879
  /**
882
- * Destroys the Scene component, and any associated resources, including its [map](#map), [popup](#popup),
880
+ * Destroys the Scene component, and any associated resources, including its [map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#map), [popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#popup),
883
881
  * and removes components or other UI DOM elements added to it.
884
882
  */
885
883
  destroy(): Promise<void>;
@@ -997,7 +995,7 @@ export abstract class ArcgisScene extends LitElement {
997
995
  ground?: Ground | string;
998
996
  };
999
997
  /**
1000
- * Fires when a arcgis-scene fails to load or if one of its dependencies fails to load (e.g., basemap, ground, layers).
998
+ * Fires when an arcgis-scene fails to load or if one of its dependencies fails to load (e.g., basemap, ground, layers).
1001
999
  *
1002
1000
  * @since 4.34
1003
1001
  * @see [loadErrorSources](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#loadErrorSources)
@@ -1028,8 +1026,8 @@ export abstract class ArcgisScene extends LitElement {
1028
1026
  */
1029
1027
  readonly arcgisViewAnalysisViewDestroy: import("@arcgis/lumina").TargetedEvent<this, AnalysisViewDestroyEvent>;
1030
1028
  /**
1031
- * This event is for view related property changes: [zoom](#zoom), [scale](#scale), [center](#center), [rotation](#rotation), [extent](#extent),
1032
- * [camera](#camera), [viewpoint](#viewpoint). This event will also emit if [stationary](#stationary) toggles from `true` to `false`.
1029
+ * This event is for view related property changes: [zoom](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#zoom), [scale](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#scale), [center](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#center), [extent](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#extent),
1030
+ * [camera](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#camera), [viewpoint](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#viewpoint). This event will also emit if [stationary](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#stationary) toggles from `true` to `false`.
1033
1031
  */
1034
1032
  readonly arcgisViewChange: import("@arcgis/lumina").TargetedEvent<this, void>;
1035
1033
  /**
@@ -1159,8 +1157,8 @@ export abstract class ArcgisScene extends LitElement {
1159
1157
  */
1160
1158
  readonly arcgisViewPointerUp: import("@arcgis/lumina").TargetedEvent<this, PointerUpEvent>;
1161
1159
  /**
1162
- * This event is for the [ready](#ready) property and will be emitted when the view is ready.
1163
- * This event will also emit if the [map](#map) property is changed.
1160
+ * This event is for the [ready](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#ready) property and will be emitted when the view is ready.
1161
+ * This event will also emit if the [map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#map) property is changed.
1164
1162
  */
1165
1163
  readonly arcgisViewReadyChange: import("@arcgis/lumina").TargetedEvent<this, void>;
1166
1164
  /**
@@ -1,20 +1,18 @@
1
1
  /// <reference path="../../index.d.ts" />
2
- import type Graphic from "@arcgis/core/Graphic";
3
- import type Point from "@arcgis/core/geometry/Point";
4
- import type LocatorSearchSource from "@arcgis/core/widgets/Search/LocatorSearchSource";
5
- import type LayerSearchSource from "@arcgis/core/widgets/Search/LayerSearchSource";
2
+ import type Graphic from "@arcgis/core/Graphic.js";
3
+ import type Point from "@arcgis/core/geometry/Point.js";
4
+ import type LocatorSearchSource from "@arcgis/core/widgets/Search/LocatorSearchSource.js";
5
+ import type LayerSearchSource from "@arcgis/core/widgets/Search/LayerSearchSource.js";
6
6
  import type Collection from "@arcgis/core/core/Collection.js";
7
7
  import type PopupTemplate from "@arcgis/core/PopupTemplate.js";
8
8
  import type Portal from "@arcgis/core/portal/Portal.js";
9
- import type Graphic2 from "@arcgis/core/Graphic.js";
10
9
  import type { SearchViewModelEvents, SearchViewModelSelectResultEvent, SearchViewModelState } from "@arcgis/core/widgets/Search/SearchViewModel.js";
11
10
  import type { ArcgisReferenceElement, IconName } from "../types.js";
12
11
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
13
- import type { SuggestResult, SearchResponse, SuggestResponse } from "@arcgis/core/widgets/Search/types";
12
+ import type { SuggestResult, SuggestResults, SearchResponse, SuggestResponse, SupportedSearchSource, SourcesHandler, SearchResults, SearchResult } from "@arcgis/core/widgets/Search/types.js";
14
13
  import type { T9nMeta } from "@arcgis/lumina/controllers";
15
14
  import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
16
15
  import type { GoToOverride } from "@arcgis/core/widgets/support/types.js";
17
- import type { SupportedSearchSource, SourcesHandler, SearchResults, SearchResult, SuggestResults as SuggestResults2 } from "@arcgis/core/widgets/Search/types.js";
18
16
 
19
17
  /**
20
18
  * The Search component provides a way to perform search operations on locator service(s), map/feature service feature layer(s), SceneLayers with an associated feature layer,
@@ -42,7 +40,7 @@ export abstract class ArcgisSearch extends LitElement {
42
40
  */
43
41
  accessor activeMenu: ActiveMenu;
44
42
  /**
45
- * The [source](#sources) object currently selected. Can be either a
43
+ * The [sources](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-search/#sources) object currently selected. Can be either a
46
44
  * [LayerSearchSource](https://developers.arcgis.com/javascript/latest/references/core/widgets/Search/LayerSearchSource/) or a [LocatorSearchSource](https://developers.arcgis.com/javascript/latest/references/core/widgets/Search/LocatorSearchSource/).
47
45
  *
48
46
  * @default null
@@ -92,7 +90,7 @@ export abstract class ArcgisSearch extends LitElement {
92
90
  * By default, the component will automatically select and zoom to the first geocoded result. When `true`, the
93
91
  * [findAddressCandidates](https://developers.arcgis.com/rest/geocode/api-reference/geocoding-find-address-candidates.htm)
94
92
  * operation will still geocode the input string, but the top result will not be selected. To work with the
95
- * geocoded results, you can set up a [search-complete](#event-search-complete) event handler and get the results
93
+ * geocoded results, you can set up a [@arcgisSearchComplete](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-search/#event-arcgisSearchComplete) event handler and get the results
96
94
  * through the event object.
97
95
  *
98
96
  * @default false
@@ -260,7 +258,7 @@ export abstract class ArcgisSearch extends LitElement {
260
258
  /**
261
259
  * A customized [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) for the selected feature.
262
260
  * Note that any [templates](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/)
263
- * defined on [allSources](#allSources) take precedence over those defined directly on the template.
261
+ * defined on [allSources](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-search/#allSources) take precedence over those defined directly on the template.
264
262
  */
265
263
  accessor popupTemplate: PopupTemplate | null | undefined;
266
264
  /**
@@ -285,15 +283,15 @@ export abstract class ArcgisSearch extends LitElement {
285
283
  * for [layer](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LayerView/)
286
284
  * that do not support the `highlight` method.
287
285
  */
288
- get resultGraphic(): Graphic2 | null | undefined;
286
+ get resultGraphic(): Graphic | null | undefined;
289
287
  /**
290
- * If `true`, the [resultGraphic](#resultGraphic) will not display at the
288
+ * If `true`, the [resultGraphic](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-search/#resultGraphic) will not display at the
291
289
  * location of the selected feature.
292
290
  *
293
291
  * @default false
294
292
  */
295
293
  accessor resultGraphicDisabled: boolean;
296
- /** An array of objects, each containing a [SearchResult](#SearchResult) from the search. */
294
+ /** An array of objects, each containing a search result from the search. */
297
295
  get results(): Array<SearchResults> | null | undefined;
298
296
  /**
299
297
  * By default, the "All" option is displayed by default to search all sources:
@@ -324,7 +322,7 @@ export abstract class ArcgisSearch extends LitElement {
324
322
  * [GeoJSONLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/GeoJSONLayer/), [CSVLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/CSVLayer/) or
325
323
  * [OGCFeatureLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/OGCFeatureLayer/), or [table](https://developers.arcgis.com/javascript/latest/references/core/webdoc/applicationProperties/SearchTable/),
326
324
  * or geocode locations with a [locator](https://developers.arcgis.com/javascript/latest/references/core/rest/locator/). The `sources` property defines the sources from which
327
- * to search for the [view](#view) specified by the Search component instance. There are two types of sources:
325
+ * to search for the [view](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-search/#view) specified by the Search component instance. There are two types of sources:
328
326
  *
329
327
  * * [LayerSearchSource](https://developers.arcgis.com/javascript/latest/references/core/widgets/Search/LayerSearchSource/)
330
328
  * * [LocatorSearchSource](https://developers.arcgis.com/javascript/latest/references/core/widgets/Search/LocatorSearchSource/)
@@ -414,13 +412,13 @@ export abstract class ArcgisSearch extends LitElement {
414
412
  */
415
413
  get state(): SearchViewModelState;
416
414
  /**
417
- * An array of results from the [suggest method](#suggest).
415
+ * An array of results from the [suggest()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-search/#suggest).
418
416
  *
419
417
  * This is available if working with a 10.3 or greater geocoding service that has [suggest capability
420
418
  * loaded](https://developers.arcgis.com/rest/geocode/api-reference/geocoding-suggest.htm) or a
421
419
  * 10.3 or greater feature layer that supports pagination, i.e. `supportsPagination = true`.
422
420
  */
423
- get suggestions(): Array<SuggestResults2> | null | undefined;
421
+ get suggestions(): Array<SuggestResults> | null | undefined;
424
422
  /**
425
423
  * If `true`, disables suggestions for the component.
426
424
  *
@@ -478,15 +476,15 @@ export abstract class ArcgisSearch extends LitElement {
478
476
  readonly arcgisReady: import("@arcgis/lumina").TargetedEvent<this, void>;
479
477
  /** Fires when a result is cleared from the input box or a new result is selected. */
480
478
  readonly arcgisSearchClear: import("@arcgis/lumina").TargetedEvent<this, SearchViewModelEvents["search-clear"]>;
481
- /** Fires when the [search()](#search) method is called and returns its results. */
479
+ /** Fires when the [search()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-search/#search) method is called and returns its results. */
482
480
  readonly arcgisSearchComplete: import("@arcgis/lumina").TargetedEvent<this, SearchResponse>;
483
- /** Fires when the [search()](#search) method starts. */
481
+ /** Fires when the [search()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-search/#search) method starts. */
484
482
  readonly arcgisSearchStart: import("@arcgis/lumina").TargetedEvent<this, SearchViewModelEvents["search-start"]>;
485
483
  /** Fires when a search result is selected. */
486
484
  readonly arcgisSelectResult: import("@arcgis/lumina").TargetedEvent<this, SearchViewModelSelectResultEvent>;
487
- /** Fires when the [suggest](#suggest) method is called and returns its results. */
485
+ /** Fires when the [suggest()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-search/#suggest) method is called and returns its results. */
488
486
  readonly arcgisSuggestComplete: import("@arcgis/lumina").TargetedEvent<this, SearchViewModelEvents["suggest-complete"]>;
489
- /** Fires when the [suggest()](#suggest) method starts. */
487
+ /** Fires when the [suggest()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-search/#suggest) method starts. */
490
488
  readonly arcgisSuggestStart: import("@arcgis/lumina").TargetedEvent<this, SearchViewModelEvents["suggest-start"]>;
491
489
  readonly "@eventTypes": {
492
490
  arcgisPropertyChange: ArcgisSearch["arcgisPropertyChange"]["detail"];
@@ -11,16 +11,16 @@ import { g as y } from "../../chunks/globalCss.js";
11
11
  import { isAbortError as C } from "@arcgis/core/core/promiseUtils.js";
12
12
  import { m as $ } from "../../chunks/useViewModel.js";
13
13
  import { substitute as R } from "@arcgis/core/intl.js";
14
- import { usePropertyChange as E } from "@arcgis/lumina/controllers";
15
- import { u as k } from "../../chunks/useT9n.js";
16
- import { watch as d, on as D } from "@arcgis/core/core/reactiveUtils.js";
14
+ import { usePropertyChange as k } from "@arcgis/lumina/controllers";
15
+ import { u as D } from "../../chunks/useT9n.js";
16
+ import { watch as d, on as E } from "@arcgis/core/core/reactiveUtils.js";
17
17
  const T = m`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-hidden{display:none!important}:host{width:240px}.root{--arcgis-internal-search-width: 240px;display:flex;flex-flow:row nowrap;align-items:center;justify-content:center;width:100%}.dropdown{--calcite-color-border-1: var(--calcite-color-border-input);--calcite-dropdown-width: var(--arcgis-internal-search-width);width:31px}.autocomplete{flex:1}.container{display:flex;position:relative;flex:1 0 100%;flex-flow:row nowrap;align-items:stretch}.form{display:flex;flex:1 0;flex-flow:row nowrap;align-items:stretch;margin:0;padding:0}.submit-button{position:absolute;margin:-1px;border-width:0;padding:0;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip:rect(0,0,0,0)}`, A = $(v);
18
18
  function h(a) {
19
19
  return typeof a == "object" && a !== null && "openPopup" in a && "closePopup" in a;
20
20
  }
21
21
  class L extends w {
22
22
  constructor() {
23
- super(...arguments), this.viewModel = A(this), this._currentLocationValue = "search-use-current-location", this._autocompleteEl = void 0, this._searchResultRendererEl = void 0, this._searchResultRendererContentEl = void 0, this._suggestController = void 0, this._searchController = void 0, this._lastSearchTerm = "", this.messages = k({ blocking: !0 }), this._locateFailed = !1, this._showNoResults = !1, this.view = this.viewModel.view, this.goToOverride = this.viewModel.goToOverride, this.icon = "search", this.activeMenu = "none", this.activeSourceIndex = this.viewModel.activeSourceIndex, this.allPlaceholder = this.viewModel.allPlaceholder, this.allSources = this.viewModel.allSources, this.autoNavigateDisabled = this.viewModel.autoNavigate, this.autoSelectDisabled = this.viewModel.autoSelect, this.defaultSources = this.viewModel.defaultSources, this.disabled = !1, this.includeDefaultSourcesDisabled = this.viewModel.includeDefaultSources, this.locationDisabled = this.viewModel.locationEnabled, this.maxResults = this.viewModel.maxResults, this.maxSuggestions = this.viewModel.maxSuggestions, this.minSuggestCharacters = this.viewModel.minSuggestCharacters, this.popupDisabled = this.viewModel.popupEnabled, this.popupTemplate = this.viewModel.popupTemplate, this.portal = this.viewModel.portal, this.resultGraphic = this.viewModel.resultGraphic, this.resultGraphicDisabled = this.viewModel.resultGraphicEnabled, this.results = this.viewModel.results, this.searchAllDisabled = this.viewModel.searchAllEnabled, this.searchTerm = this.viewModel.searchTerm, this.selectedResult = this.viewModel.selectedResult, this.sources = this.viewModel.sources, this.suggestions = this.viewModel.suggestions, this.suggestionsDisabled = this.viewModel.suggestionsEnabled, this.topLayerDisabled = !1, this.autoDestroyDisabled = !1, this.state = this.viewModel.state, this.arcgisPropertyChange = E()("state"), this.arcgisReady = f(), this.arcgisSearchClear = l(() => this.viewModel, "search-clear"), this.arcgisSearchComplete = l(() => this.viewModel, "search-complete"), this.arcgisSearchStart = l(() => this.viewModel, "search-start"), this.arcgisSelectResult = l(() => this.viewModel, "select-result"), this.arcgisSuggestComplete = l(() => this.viewModel, "suggest-complete"), this.arcgisSuggestStart = l(() => this.viewModel, "suggest-start");
23
+ super(...arguments), this.viewModel = A(this), this._currentLocationValue = "search-use-current-location", this._autocompleteEl = void 0, this._searchResultRendererEl = void 0, this._searchResultRendererContentEl = void 0, this._suggestController = void 0, this._searchController = void 0, this._lastSearchTerm = "", this.messages = D({ blocking: !0 }), this._locateFailed = !1, this._showNoResults = !1, this.view = this.viewModel.view, this.goToOverride = this.viewModel.goToOverride, this.icon = "search", this.activeMenu = "none", this.activeSourceIndex = this.viewModel.activeSourceIndex, this.allPlaceholder = this.viewModel.allPlaceholder, this.allSources = this.viewModel.allSources, this.autoNavigateDisabled = this.viewModel.autoNavigate, this.autoSelectDisabled = this.viewModel.autoSelect, this.defaultSources = this.viewModel.defaultSources, this.disabled = !1, this.includeDefaultSourcesDisabled = this.viewModel.includeDefaultSources, this.locationDisabled = this.viewModel.locationEnabled, this.maxResults = this.viewModel.maxResults, this.maxSuggestions = this.viewModel.maxSuggestions, this.minSuggestCharacters = this.viewModel.minSuggestCharacters, this.popupDisabled = this.viewModel.popupEnabled, this.popupTemplate = this.viewModel.popupTemplate, this.portal = this.viewModel.portal, this.resultGraphic = this.viewModel.resultGraphic, this.resultGraphicDisabled = this.viewModel.resultGraphicEnabled, this.results = this.viewModel.results, this.searchAllDisabled = this.viewModel.searchAllEnabled, this.searchTerm = this.viewModel.searchTerm, this.selectedResult = this.viewModel.selectedResult, this.sources = this.viewModel.sources, this.suggestions = this.viewModel.suggestions, this.suggestionsDisabled = this.viewModel.suggestionsEnabled, this.topLayerDisabled = !1, this.autoDestroyDisabled = !1, this.state = this.viewModel.state, this.arcgisPropertyChange = k()("state"), this.arcgisReady = f(), this.arcgisSearchClear = l(() => this.viewModel, "search-clear"), this.arcgisSearchComplete = l(() => this.viewModel, "search-complete"), this.arcgisSearchStart = l(() => this.viewModel, "search-start"), this.arcgisSelectResult = l(() => this.viewModel, "select-result"), this.arcgisSuggestComplete = l(() => this.viewModel, "suggest-complete"), this.arcgisSuggestStart = l(() => this.viewModel, "suggest-start");
24
24
  }
25
25
  static {
26
26
  this.properties = { _locateFailed: 16, _showNoResults: 16, _isDisabled: 16, _showCurrentLocation: 16, _effectiveActiveMenu: 16, view: 0, referenceElement: 1, goToOverride: 0, icon: 1, activeMenu: 1, activeSource: 32, activeSourceIndex: 9, allPlaceholder: 1, allSources: 0, autoNavigateDisabled: 5, autoSelectDisabled: 5, defaultSources: 0, disabled: 5, includeDefaultSourcesDisabled: 5, locationDisabled: 5, maxResults: 9, maxSuggestions: 9, minSuggestCharacters: 9, popupDisabled: 5, popupTemplate: 0, portal: 0, resultGraphic: 0, resultGraphicDisabled: 5, results: 0, searchAllDisabled: 5, searchTerm: 1, selectedResult: 0, sources: 0, suggestions: 32, suggestionsDisabled: 5, topLayerDisabled: 5, autoDestroyDisabled: 5, messageOverrides: 0, label: 1, state: 32 };
@@ -45,7 +45,7 @@ class L extends w {
45
45
  this._locateFailed = !1, this.viewModel.clear();
46
46
  }
47
47
  async destroy() {
48
- this._cancelQueries(), await this._searchResultRendererEl?.destroy(), await this._searchResultRendererContentEl?.destroy(), await this.manager.destroy();
48
+ this._closePopup(this.viewModel.resultGraphic), this._cancelQueries(), await this._searchResultRendererEl?.destroy(), await this._searchResultRendererContentEl?.destroy(), await this.manager.destroy();
49
49
  }
50
50
  async search(e) {
51
51
  this._cancelQueries();
@@ -86,7 +86,7 @@ class L extends w {
86
86
  }, { initial: !0 }),
87
87
  d(() => this.messages, (e) => this.viewModel.messages = e, { initial: !0 }),
88
88
  d(() => this.viewModel?.resultGraphic, (e, t) => this._closePopup(t)),
89
- D(() => this.viewModel, "select-result", (e) => {
89
+ E(() => this.viewModel, "select-result", (e) => {
90
90
  const { popupEnabled: t } = e;
91
91
  t && this._openPopup();
92
92
  })
@@ -96,9 +96,8 @@ class L extends w {
96
96
  this._searchResultRendererEl = b(o`<arcgis-search-result-renderer auto-destroy-disabled .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-search-result-renderer>`);
97
97
  }
98
98
  _closePopup(e) {
99
- if (!h(this.referenceElement))
100
- return;
101
- (this.referenceElement.popupElement ?? this.referenceElement.popup)?.selectedFeature === e && this.referenceElement?.closePopup();
99
+ const { referenceElement: t, view: i } = this;
100
+ h(t) && t.popupElement?.selectedFeature === e ? t?.closePopup() : i?.popup?.selectedFeature === e && i?.closePopup();
102
101
  }
103
102
  _openPopup() {
104
103
  if (h(this.referenceElement)) {