@arcgis/core 5.1.0-next.64 → 5.1.0-next.65

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 (346) hide show
  1. package/Camera.d.ts +1 -1
  2. package/Ground.d.ts +7 -7
  3. package/PopupTemplate.d.ts +8 -8
  4. package/WebDocument2D.js +1 -1
  5. package/WebScene.d.ts +1 -1
  6. package/WebScene.js +1 -1
  7. package/analysis/AreaMeasurementAnalysis.d.ts +1 -1
  8. package/analysis/DirectLineMeasurementAnalysis.d.ts +1 -1
  9. package/analysis/LengthDimension.d.ts +4 -4
  10. package/analysis/ShadowCastAnalysis.d.ts +3 -3
  11. package/analysis/SliceAnalysis.d.ts +1 -1
  12. package/analysis/SlicePlane.d.ts +1 -1
  13. package/applications/Components/featureUtils.d.ts +24 -0
  14. package/applications/Components/featureUtils.js +1 -1
  15. package/arcade/geometry/wkt.js +1 -1
  16. package/assets/esri/core/workers/RemoteClient.js +1 -1
  17. package/assets/esri/core/workers/chunks/{8166ad6bbd7d7a8f91cf.js → 0f3b8a08f843a080af0d.js} +1 -1
  18. package/assets/esri/core/workers/chunks/{354351ab3fc79dedf9a8.js → 4eca871ca51a59f6540a.js} +1 -1
  19. package/assets/esri/core/workers/chunks/7e97684e851274efd11f.js +1 -0
  20. package/assets/esri/core/workers/chunks/86f1aa2c108f5224d8b5.js +1 -0
  21. package/assets/esri/core/workers/chunks/b8acb6c2538053c01cc6.js +1 -0
  22. package/assets/esri/core/workers/chunks/d9d69cf2496ebe76eade.js +1 -0
  23. package/assets/esri/core/workers/chunks/{6c72dbd5275bffde1583.js → e622a23034f055de8b55.js} +1 -1
  24. package/assets/esri/core/workers/chunks/ec9d5dcf2a0a11c85341.js +1 -0
  25. package/config.js +1 -1
  26. package/effects/FocusAreas.d.ts +1 -1
  27. package/form/elements/FieldElement.d.ts +1 -1
  28. package/form/elements/GroupElement.d.ts +1 -1
  29. package/form/elements/TextElement.d.ts +1 -1
  30. package/form/elements/inputs/ComboBoxInput.d.ts +1 -1
  31. package/form/elements/inputs/RadioButtonsInput.d.ts +1 -1
  32. package/form/elements/inputs/SwitchInput.d.ts +1 -1
  33. package/geometry/Mesh.d.ts +7 -7
  34. package/geometry/operators/alphaShapeOperator.d.ts +1 -1
  35. package/geometry/operators/areaOperator.d.ts +1 -1
  36. package/geometry/operators/bufferOperator.d.ts +1 -1
  37. package/geometry/operators/centroidOperator.d.ts +1 -1
  38. package/geometry/operators/clipOperator.d.ts +1 -1
  39. package/geometry/operators/containsOperator.d.ts +1 -1
  40. package/geometry/operators/convexHullOperator.d.ts +1 -1
  41. package/geometry/operators/crossesOperator.d.ts +1 -1
  42. package/geometry/operators/cutOperator.d.ts +1 -1
  43. package/geometry/operators/densifyOperator.d.ts +1 -1
  44. package/geometry/operators/differenceOperator.d.ts +1 -1
  45. package/geometry/operators/disjointOperator.d.ts +1 -1
  46. package/geometry/operators/distanceOperator.d.ts +1 -1
  47. package/geometry/operators/generalizeOperator.d.ts +1 -1
  48. package/geometry/operators/geodesicProximityOperator.d.ts +1 -1
  49. package/geometry/operators/geodeticDistanceOperator.d.ts +1 -1
  50. package/geometry/operators/geodeticUtilsOperator.d.ts +2 -2
  51. package/geometry/operators/graphicBufferOperator.d.ts +1 -1
  52. package/geometry/operators/intersectionOperator.d.ts +1 -1
  53. package/geometry/operators/intersectsOperator.d.ts +1 -1
  54. package/geometry/operators/isNearOperator.d.ts +1 -1
  55. package/geometry/operators/lengthOperator.d.ts +1 -1
  56. package/geometry/operators/locateBetweenOperator.d.ts +1 -1
  57. package/geometry/operators/multiPartToSinglePartOperator.d.ts +1 -1
  58. package/geometry/operators/offsetOperator.d.ts +5 -5
  59. package/geometry/operators/overlapsOperator.d.ts +1 -1
  60. package/geometry/operators/proximityOperator.d.ts +1 -1
  61. package/geometry/operators/simplifyOGCOperator.d.ts +1 -1
  62. package/geometry/operators/simplifyOperator.d.ts +1 -1
  63. package/geometry/operators/support/Transformation.d.ts +6 -6
  64. package/geometry/operators/symmetricDifferenceOperator.d.ts +1 -1
  65. package/geometry/operators/touchesOperator.d.ts +1 -1
  66. package/geometry/operators/unionOperator.d.ts +1 -1
  67. package/geometry/operators/withinOperator.d.ts +1 -1
  68. package/geometry/support/MeshMaterialMetallicRoughness.d.ts +1 -1
  69. package/geometry/support/vcsData.js +2 -0
  70. package/geometry/support/vcsLookup.js +2 -0
  71. package/kernel.js +1 -1
  72. package/layers/BuildingSceneLayer.d.ts +4 -4
  73. package/layers/CSVLayer.d.ts +2 -2
  74. package/layers/CatalogLayer.d.ts +2 -2
  75. package/layers/ElevationLayer.d.ts +1 -1
  76. package/layers/FeatureLayer.d.ts +2 -2
  77. package/layers/GeoJSONLayer.d.ts +2 -2
  78. package/layers/GeoRSSLayer.d.ts +1 -1
  79. package/layers/GraphicsLayer.d.ts +2 -2
  80. package/layers/ImageryLayer.d.ts +3 -3
  81. package/layers/ImageryTileLayer.d.ts +2 -2
  82. package/layers/IntegratedMesh3DTilesLayer.d.ts +6 -6
  83. package/layers/IntegratedMeshLayer.d.ts +7 -7
  84. package/layers/MapImageLayer.d.ts +1 -1
  85. package/layers/MediaLayer.d.ts +1 -1
  86. package/layers/OGCFeatureLayer.d.ts +2 -2
  87. package/layers/PointCloudLayer.d.ts +1 -1
  88. package/layers/SceneLayer.d.ts +9 -9
  89. package/layers/StreamLayer.d.ts +2 -2
  90. package/layers/VectorTileLayer.d.ts +2 -2
  91. package/layers/VideoLayer.d.ts +1 -1
  92. package/layers/VoxelLayer.d.ts +8 -8
  93. package/layers/WFSLayer.d.ts +6 -6
  94. package/layers/catalog/CatalogFootprintLayer.d.ts +1 -1
  95. package/layers/graphics/sources/geojson/GeoJSONSourceWorker.js +1 -1
  96. package/layers/graphics/sources/support/MemorySourceWorker.js +1 -1
  97. package/layers/mixins/ArcGISImageService.js +1 -1
  98. package/layers/mixins/BlendLayer.d.ts +6 -6
  99. package/layers/pointCloudFilters/PointCloudReturnFilter.d.ts +1 -1
  100. package/layers/pointCloudFilters/PointCloudValueFilter.d.ts +1 -1
  101. package/layers/support/DimensionalDefinition.d.ts +2 -2
  102. package/layers/support/FeatureEffect.d.ts +4 -4
  103. package/layers/support/FeatureFilter.d.ts +17 -17
  104. package/layers/support/FeatureReductionBinning.d.ts +1 -1
  105. package/layers/support/FeatureReductionCluster.d.ts +9 -9
  106. package/layers/support/FeatureReductionSelection.d.ts +1 -1
  107. package/layers/support/LabelClass.d.ts +2 -2
  108. package/layers/support/RasterFunction.d.ts +1 -1
  109. package/layers/support/SceneFilter.d.ts +2 -2
  110. package/layers/support/SceneModification.d.ts +3 -3
  111. package/layers/support/capabilities.js +1 -1
  112. package/layers/support/featureLayerUtils.js +1 -1
  113. package/layers/support/serviceCapabilitiesUtils.js +1 -1
  114. package/layers/types.d.ts +6 -0
  115. package/package.json +1 -1
  116. package/popup/Feature.d.ts +6 -6
  117. package/popup/Feature.js +1 -1
  118. package/popup/Features.d.ts +3 -14
  119. package/popup/Features.js +1 -1
  120. package/popup/content/AttachmentsContent.d.ts +1 -1
  121. package/popup/content/BarChartMediaInfo.d.ts +1 -1
  122. package/popup/content/ColumnChartMediaInfo.d.ts +1 -1
  123. package/popup/content/FieldsContent.d.ts +1 -1
  124. package/popup/content/ImageMediaInfo.d.ts +1 -1
  125. package/popup/content/LineChartMediaInfo.d.ts +1 -1
  126. package/popup/content/MediaContent.d.ts +1 -1
  127. package/popup/content/PieChartMediaInfo.d.ts +1 -1
  128. package/popup/content/RelationshipContent.d.ts +1 -1
  129. package/popup/content/TextContent.d.ts +1 -1
  130. package/popup/support/featureUtils.js +1 -1
  131. package/popup/types.d.ts +193 -8
  132. package/portal/schemas/definitions.js +1 -1
  133. package/renderers/ClassBreaksRenderer.d.ts +1 -1
  134. package/renderers/DictionaryRenderer.d.ts +1 -1
  135. package/renderers/DotDensityRenderer.d.ts +3 -3
  136. package/renderers/FlowRenderer.d.ts +5 -5
  137. package/renderers/HeatmapRenderer.d.ts +3 -3
  138. package/renderers/PieChartRenderer.d.ts +1 -1
  139. package/renderers/RasterShadedReliefRenderer.d.ts +1 -1
  140. package/renderers/Renderer.d.ts +4 -4
  141. package/renderers/SimpleRenderer.d.ts +2 -2
  142. package/renderers/UniqueValueRenderer.d.ts +2 -2
  143. package/renderers/VectorFieldRenderer.d.ts +1 -1
  144. package/renderers/mixins/VisualVariablesMixin.d.ts +12 -12
  145. package/renderers/visualVariables/ColorVariable.d.ts +1 -1
  146. package/renderers/visualVariables/OpacityVariable.d.ts +1 -1
  147. package/renderers/visualVariables/RotationVariable.d.ts +1 -1
  148. package/renderers/visualVariables/SizeVariable.d.ts +1 -1
  149. package/renderers/visualVariables/VisualVariable.d.ts +1 -1
  150. package/rest/query/support/AttachmentInfo.d.ts +1 -1
  151. package/rest/support/AttributeBinsQuery.d.ts +8 -8
  152. package/rest/support/AutoIntervalBinParameters.d.ts +1 -1
  153. package/rest/support/DateBinParameters.d.ts +1 -1
  154. package/rest/support/FixedBoundariesBinParameters.d.ts +1 -1
  155. package/rest/support/FixedIntervalBinParameters.d.ts +1 -1
  156. package/rest/support/Query.d.ts +8 -8
  157. package/rest/support/TopFeaturesQuery.d.ts +8 -8
  158. package/smartMapping/labels/clusters.d.ts +1 -1
  159. package/smartMapping/popup/clusters.d.ts +2 -2
  160. package/smartMapping/popup/templates.d.ts +1 -1
  161. package/smartMapping/raster/renderers/flow.d.ts +2 -2
  162. package/smartMapping/renderers/color.d.ts +12 -12
  163. package/smartMapping/renderers/predominance.d.ts +3 -3
  164. package/smartMapping/renderers/relationship.d.ts +15 -15
  165. package/smartMapping/renderers/univariateColorSize.d.ts +4 -4
  166. package/smartMapping/symbology/color.d.ts +4 -4
  167. package/smartMapping/symbology/flow.d.ts +2 -2
  168. package/smartMapping/symbology/types.d.ts +18 -18
  169. package/support/actions/ActionButton.d.ts +1 -1
  170. package/support/revision.js +1 -1
  171. package/symbols/CIMSymbol.d.ts +1 -1
  172. package/symbols/ExtrudeSymbol3DLayer.d.ts +1 -1
  173. package/symbols/FillSymbol3DLayer.d.ts +3 -3
  174. package/symbols/IconSymbol3DLayer.d.ts +1 -1
  175. package/symbols/LabelSymbol3D.d.ts +2 -2
  176. package/symbols/LineStyleMarker3D.d.ts +7 -7
  177. package/symbols/LineSymbol3D.d.ts +2 -2
  178. package/symbols/LineSymbol3DLayer.d.ts +7 -7
  179. package/symbols/LineSymbolMarker.d.ts +6 -6
  180. package/symbols/MarkerSymbol.d.ts +1 -1
  181. package/symbols/MeshSymbol3D.d.ts +2 -2
  182. package/symbols/ObjectSymbol3DLayer.d.ts +1 -1
  183. package/symbols/PathSymbol3DLayer.d.ts +14 -14
  184. package/symbols/PictureFillSymbol.d.ts +1 -1
  185. package/symbols/PictureMarkerSymbol.d.ts +1 -1
  186. package/symbols/PointSymbol3D.d.ts +3 -3
  187. package/symbols/PolygonSymbol3D.d.ts +5 -5
  188. package/symbols/SimpleFillSymbol.d.ts +8 -8
  189. package/symbols/SimpleLineSymbol.d.ts +20 -20
  190. package/symbols/SimpleMarkerSymbol.d.ts +7 -7
  191. package/symbols/Symbol3DLayer.d.ts +16 -16
  192. package/symbols/TextSymbol.d.ts +1 -1
  193. package/symbols/TextSymbol3DLayer.d.ts +1 -1
  194. package/symbols/WaterSymbol3DLayer.d.ts +3 -3
  195. package/symbols/WebStyleSymbol.d.ts +12 -12
  196. package/symbols/callouts/Callout3D.d.ts +1 -1
  197. package/symbols/callouts/LineCallout3D.d.ts +3 -3
  198. package/symbols/cim/types.d.ts +23 -23
  199. package/symbols/edges/Edges3D.d.ts +1 -1
  200. package/symbols/edges/SolidEdges3D.d.ts +1 -1
  201. package/symbols/patterns/LineStylePattern3D.d.ts +11 -11
  202. package/symbols/patterns/StylePattern3D.d.ts +8 -8
  203. package/symbols/support/ElevationInfo.d.ts +2 -2
  204. package/symbols/support/IconSymbol3DLayerResource.d.ts +6 -6
  205. package/symbols/support/ObjectSymbol3DLayerResource.d.ts +7 -7
  206. package/symbols/support/Symbol3DEmissive.d.ts +2 -2
  207. package/symbols/support/Symbol3DVerticalOffset.d.ts +2 -2
  208. package/views/2d/engine/flow/FlowStrategy.js +1 -1
  209. package/views/2d/engine/flow/styles/Imagery.js +1 -1
  210. package/views/2d/engine/flow/styles/Particles.js +1 -1
  211. package/views/2d/engine/flow/styles/Stack.js +1 -1
  212. package/views/2d/engine/flow/styles/Streamlines.js +1 -1
  213. package/views/2d/engine/vectorTiles/style/StyleLayer.js +1 -1
  214. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  215. package/views/2d/layers/BaseLayerViewGL2D.d.ts +1 -1
  216. package/views/2d/layers/ImageryTileLayerView2D.js +1 -1
  217. package/views/2d/layers/imagery/BaseImageryTileSubView2D.js +1 -1
  218. package/views/2d/types.d.ts +3 -3
  219. package/views/3d/FocusAreasView.js +1 -1
  220. package/views/3d/analysis/Slice/sliceToolUtils.js +1 -1
  221. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillController.js +1 -1
  222. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillVisualization.js +1 -1
  223. package/views/3d/environment/CloudyWeather.d.ts +1 -1
  224. package/views/3d/environment/Environment.d.ts +4 -4
  225. package/views/3d/environment/FoggyWeather.d.ts +1 -1
  226. package/views/3d/environment/RainyWeather.d.ts +1 -1
  227. package/views/3d/environment/SnowyWeather.d.ts +1 -1
  228. package/views/3d/environment/SunLighting.d.ts +1 -1
  229. package/views/3d/environment/SunnyWeather.d.ts +1 -1
  230. package/views/3d/environment/VirtualLighting.d.ts +1 -1
  231. package/views/3d/layers/graphics/extrudeUtils.js +1 -1
  232. package/views/3d/support/renderInfoUtils/polygon.js +1 -1
  233. package/views/3d/webgl/RenderNode.d.ts +2 -2
  234. package/views/3d/webgl-engine/effects/focusArea/FocusAreaMaskNode.js +1 -1
  235. package/views/3d/webgl-engine/lib/CutFillComputationRenderNode.js +1 -1
  236. package/views/3d/webgl-engine/lib/CutFillVisualizationRenderNode.js +1 -1
  237. package/views/3d/webgl.d.ts +1 -1
  238. package/views/Magnifier.d.ts +3 -3
  239. package/views/MapView.d.ts +7 -7
  240. package/views/SceneView.d.ts +16 -16
  241. package/views/View.d.ts +17 -3
  242. package/views/View.js +1 -1
  243. package/views/interactive/sketch/SketchLabelOptions.d.ts +1 -1
  244. package/views/interactive/sketch/SketchTooltipOptions.d.ts +1 -1
  245. package/views/interactive/snapping/SnappingOptions.d.ts +7 -7
  246. package/views/layers/LineOfSightLayerView.d.ts +3 -2
  247. package/views/support/HighlightOptions.d.ts +1 -1
  248. package/views/types.d.ts +59 -2
  249. package/views/ui/DefaultUI.d.ts +2 -2
  250. package/webscene/Environment.d.ts +10 -10
  251. package/webscene/Glow.d.ts +1 -1
  252. package/webscene/background/ColorBackground.d.ts +1 -1
  253. package/widgets/AreaMeasurement2D.d.ts +1 -1
  254. package/widgets/AreaMeasurement3D.d.ts +2 -2
  255. package/widgets/Attachments.d.ts +1 -1
  256. package/widgets/Attribution.d.ts +1 -1
  257. package/widgets/BasemapGallery.d.ts +1 -1
  258. package/widgets/BasemapLayerList.d.ts +3 -3
  259. package/widgets/BasemapToggle.d.ts +1 -1
  260. package/widgets/Bookmarks/BookmarksVisibleElements.d.ts +1 -1
  261. package/widgets/Bookmarks.d.ts +2 -2
  262. package/widgets/BuildingExplorer.d.ts +1 -1
  263. package/widgets/CatalogLayerList.d.ts +3 -3
  264. package/widgets/Compass.d.ts +2 -2
  265. package/widgets/CoordinateConversion.d.ts +1 -1
  266. package/widgets/Daylight.d.ts +5 -5
  267. package/widgets/DirectLineMeasurement3D.d.ts +2 -2
  268. package/widgets/Directions.d.ts +4 -4
  269. package/widgets/DistanceMeasurement2D.d.ts +1 -1
  270. package/widgets/Editor/CreateFeaturesWorkflow.d.ts +1 -1
  271. package/widgets/Editor.d.ts +8 -8
  272. package/widgets/ElevationProfile/ElevationProfileLineGround.d.ts +1 -1
  273. package/widgets/ElevationProfile/ElevationProfileLineInput.d.ts +1 -1
  274. package/widgets/ElevationProfile/ElevationProfileLineView.d.ts +1 -1
  275. package/widgets/ElevationProfile.d.ts +3 -3
  276. package/widgets/Expand.d.ts +1 -1
  277. package/widgets/FeatureForm.d.ts +1 -1
  278. package/widgets/FeatureTable/ActionColumn.d.ts +2 -2
  279. package/widgets/FeatureTable/AttachmentsColumn.d.ts +1 -1
  280. package/widgets/FeatureTable/FeatureTableViewModel.d.ts +3 -3
  281. package/widgets/FeatureTable/Grid/GroupColumn.d.ts +1 -1
  282. package/widgets/FeatureTable/RelationshipColumn.d.ts +1 -1
  283. package/widgets/FeatureTable/VisibleElements.d.ts +1 -1
  284. package/widgets/FeatureTable.d.ts +10 -10
  285. package/widgets/FeatureTemplates/FeatureTemplatesViewModel.d.ts +5 -5
  286. package/widgets/FeatureTemplates.d.ts +8 -8
  287. package/widgets/Features/FeaturesViewModel.d.ts +2 -2
  288. package/widgets/Features/FeaturesVisibleElements.d.ts +2 -2
  289. package/widgets/Features.d.ts +1 -1
  290. package/widgets/FloorFilter/FloorFilterViewModel.js +1 -1
  291. package/widgets/FloorFilter.d.ts +2 -2
  292. package/widgets/Histogram.d.ts +2 -2
  293. package/widgets/HistogramRangeSlider.d.ts +1 -1
  294. package/widgets/Home.d.ts +1 -1
  295. package/widgets/LayerList/ListItemPanel.d.ts +1 -1
  296. package/widgets/LayerList.d.ts +4 -4
  297. package/widgets/Legend.d.ts +8 -8
  298. package/widgets/LineOfSight.d.ts +1 -1
  299. package/widgets/Locate.d.ts +2 -2
  300. package/widgets/Measurement.d.ts +1 -1
  301. package/widgets/NavigationToggle/NavigationToggleViewModel.d.ts +1 -1
  302. package/widgets/NavigationToggle.d.ts +3 -3
  303. package/widgets/Popup/PopupVisibleElements.d.ts +2 -2
  304. package/widgets/Popup.d.ts +5 -5
  305. package/widgets/Print/CustomTemplate.d.ts +1 -1
  306. package/widgets/Print/TemplateOptions.d.ts +4 -4
  307. package/widgets/ScaleRangeSlider.d.ts +1 -1
  308. package/widgets/Search/SearchViewModel.d.ts +4 -4
  309. package/widgets/Search.d.ts +5 -5
  310. package/widgets/ShadowCast.d.ts +3 -3
  311. package/widgets/Sketch/SketchViewModel.d.ts +39 -39
  312. package/widgets/Sketch.d.ts +43 -43
  313. package/widgets/Slice.d.ts +2 -2
  314. package/widgets/Slider/SliderViewModel.d.ts +2 -2
  315. package/widgets/Slider.d.ts +9 -9
  316. package/widgets/Swipe/SwipeViewModel.d.ts +1 -1
  317. package/widgets/Swipe.d.ts +2 -2
  318. package/widgets/TableList/ListItemPanel.d.ts +1 -1
  319. package/widgets/TableList.d.ts +1 -1
  320. package/widgets/TimeSlider/TimeSliderViewModel.d.ts +10 -10
  321. package/widgets/TimeSlider/TimeSliderViewModel.js +1 -1
  322. package/widgets/TimeSlider/types.d.ts +1 -1
  323. package/widgets/TimeSlider.d.ts +13 -13
  324. package/widgets/Track.d.ts +2 -2
  325. package/widgets/UtilityNetworkAssociations.d.ts +3 -3
  326. package/widgets/UtilityNetworkTrace.d.ts +4 -4
  327. package/widgets/UtilityNetworkValidateTopology.d.ts +1 -1
  328. package/widgets/ValuePicker.d.ts +5 -5
  329. package/widgets/VideoPlayer.d.ts +1 -1
  330. package/widgets/smartMapping/ClassedColorSlider.d.ts +1 -1
  331. package/widgets/smartMapping/ClassedSizeSlider.d.ts +1 -1
  332. package/widgets/smartMapping/ColorSizeSlider.d.ts +2 -2
  333. package/widgets/smartMapping/ColorSlider.d.ts +1 -1
  334. package/widgets/smartMapping/HeatmapSlider.d.ts +1 -1
  335. package/widgets/smartMapping/OpacitySlider.d.ts +1 -1
  336. package/widgets/smartMapping/SizeSlider.d.ts +1 -1
  337. package/widgets/smartMapping/SmartMappingSliderBase.d.ts +4 -4
  338. package/widgets/smartMapping/SmartMappingSliderViewModel.d.ts +6 -6
  339. package/widgets/support/GridControls.d.ts +1 -1
  340. package/widgets/support/SnappingControls/VisibleElements.d.ts +1 -1
  341. package/widgets/support/SnappingControls.d.ts +6 -6
  342. package/assets/esri/core/workers/chunks/2aaeaf022af8493281dc.js +0 -1
  343. package/assets/esri/core/workers/chunks/2d92ba11781a3cfc3a78.js +0 -1
  344. package/assets/esri/core/workers/chunks/5c6e5f22450dd0583074.js +0 -1
  345. package/assets/esri/core/workers/chunks/75f7c1f600c4051bc905.js +0 -1
  346. package/assets/esri/core/workers/chunks/ee8cd91c27e9cdfc3b2e.js +0 -1
@@ -247,7 +247,7 @@ export interface MapViewProperties extends View2DProperties {}
247
247
  * is set to `true` (default). To enable zooming in MapView, `view.constraints.snapToZoom` must be set to `false` (default is `true`).
248
248
  * Please see [GamepadInputDevice](https://developers.arcgis.com/javascript/latest/references/core/views/input/gamepad/GamepadInputDevice/) for supported devices.
249
249
  *
250
- * ![Gamepad](https://developers.arcgis.com/javascript/latest/assets/references/core/views/input/standard-gamepad.png)
250
+ * ![Gamepad](https://developers.arcgis.com/javascript/latest/assets/references/core/views/input/standard-gamepad.avif)
251
251
  *
252
252
  * Gamepad Action | MapView behavior
253
253
  * ------|------------
@@ -258,11 +258,11 @@ export interface MapViewProperties extends View2DProperties {}
258
258
  *
259
259
  * Action Image | SpaceMouse Action | MapView behavior
260
260
  * ------|------|------------
261
- * ![3DMousePan](https://developers.arcgis.com/javascript/latest/assets/references/core/views/input/3dmouse-pan.png) | Push (left/right/forward/backward) | Pan the view
262
- * ![3DMousePan](https://developers.arcgis.com/javascript/latest/assets/references/core/views/input/pull-up.png) | Pull up | Zoom out
263
- * ![3DMousePan](https://developers.arcgis.com/javascript/latest/assets/references/core/views/input/push-down.png) | Push down | Zoom in
264
- * ![3DMousePan](https://developers.arcgis.com/javascript/latest/assets/references/core/views/input/rotate-clockwise.png) | Rotate clockwise | Rotate the view clockwise
265
- * ![3DMousePan](https://developers.arcgis.com/javascript/latest/assets/references/core/views/input/rotate-counterclockwise.png) | Rotate counterclockwise | Rotate the view counterclockwise
261
+ * ![3DMousePan](https://developers.arcgis.com/javascript/latest/assets/references/core/views/input/3dmouse-pan.avif) | Push (left/right/forward/backward) | Pan the view
262
+ * ![3DMousePan](https://developers.arcgis.com/javascript/latest/assets/references/core/views/input/pull-up.avif) | Pull up | Zoom out
263
+ * ![3DMousePan](https://developers.arcgis.com/javascript/latest/assets/references/core/views/input/push-down.avif) | Push down | Zoom in
264
+ * ![3DMousePan](https://developers.arcgis.com/javascript/latest/assets/references/core/views/input/rotate-clockwise.avif) | Rotate clockwise | Rotate the view clockwise
265
+ * ![3DMousePan](https://developers.arcgis.com/javascript/latest/assets/references/core/views/input/rotate-counterclockwise.avif) | Rotate counterclockwise | Rotate the view counterclockwise
266
266
  *
267
267
  * To disable gamepad navigation, you can set `view.navigation.gamepad.enabled` to `false`.
268
268
  *
@@ -295,7 +295,7 @@ export interface MapViewProperties extends View2DProperties {}
295
295
  * to user interaction without delay. The [@click](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#event-click) event is only triggered after making sure that the
296
296
  * user doesn't click a second time (in which case it would trigger a [@double-click](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#event-double-click) event).
297
297
  *
298
- * ![Various events](https://developers.arcgis.com/javascript/latest/assets/references/core/views/events.png "Click and double-click events")
298
+ * ![Various events](https://developers.arcgis.com/javascript/latest/assets/references/core/views/events.avif "Click and double-click events")
299
299
  *
300
300
  * In the case of a double-click, the same event chain is repeated after the first click. However, if the user clicks
301
301
  * a second time within a close time range, then the [@click](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#event-click) event is not emitted anymore, but the
@@ -180,7 +180,7 @@ export interface SceneViewProperties extends ViewProperties, DOMContainerPropert
180
180
  *
181
181
  * The `clippingArea` property only applies to [local](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#viewingMode) scenes.
182
182
  *
183
- * ![scene-clipping-area](https://developers.arcgis.com/javascript/latest/assets/references/core/views/scene-clipping-area.png "Local scene with clippingArea")
183
+ * ![scene-clipping-area](https://developers.arcgis.com/javascript/latest/assets/references/core/views/scene-clipping-area.avif "Local scene with clippingArea")
184
184
  *
185
185
  * The clippingArea property contains an internal reference which may be modified in the future. To persist or
186
186
  * modify the clippingArea, create a clone using [clippingArea.clone()](https://developers.arcgis.com/javascript/latest/references/core/geometry/Extent/#clone).
@@ -328,8 +328,8 @@ export interface SceneViewProperties extends ViewProperties, DOMContainerPropert
328
328
  *
329
329
  * Value | Example | Description
330
330
  * ------|-------|------------
331
- * global | ![scene-global](https://developers.arcgis.com/javascript/latest/assets/references/core/views/scene-global.png) | Global scenes allow the entire globe to render in the view, showing the curvature of the earth.
332
- * local | ![scene-local](https://developers.arcgis.com/javascript/latest/assets/references/core/views/scene-local.png) | Local scenes render the earth on a flat surface. They can be constrained to only show a "local" area by setting the [clippingArea](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#clippingArea) property. Local scenes also allow for displaying and exploring data that would otherwise be hidden by the surface of the earth.
331
+ * global | ![scene-global](https://developers.arcgis.com/javascript/latest/assets/references/core/views/scene-global.avif) | Global scenes allow the entire globe to render in the view, showing the curvature of the earth.
332
+ * local | ![scene-local](https://developers.arcgis.com/javascript/latest/assets/references/core/views/scene-local.avif) | Local scenes render the earth on a flat surface. They can be constrained to only show a "local" area by setting the [clippingArea](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#clippingArea) property. Local scenes also allow for displaying and exploring data that would otherwise be hidden by the surface of the earth.
333
333
  *
334
334
  * Depending on the viewing mode different [supported coordinate systems](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#supported-coordinate-systems) are available.
335
335
  *
@@ -377,7 +377,7 @@ export interface SceneViewProperties extends ViewProperties, DOMContainerPropert
377
377
  * for [MapView](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/). For a general overview of views,
378
378
  * see [View](https://developers.arcgis.com/javascript/latest/references/core/views/View/).
379
379
  *
380
- * ![Various scenes](https://developers.arcgis.com/javascript/latest/assets/references/core/views/scene-mosaic.png "Various example scenes")
380
+ * ![Various scenes](https://developers.arcgis.com/javascript/latest/assets/references/core/views/scene-mosaic.avif "Various example scenes")
381
381
  *
382
382
  * For a map to be visible to the user in the DOM, a SceneView must have both a
383
383
  * valid [Map instance](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#map) and a [DOM element](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#container) with a non-zero
@@ -502,7 +502,7 @@ export interface SceneViewProperties extends ViewProperties, DOMContainerPropert
502
502
  * <details>
503
503
  * <summary>Read More</summary>
504
504
  *
505
- * ![Gamepad](https://developers.arcgis.com/javascript/latest/assets/references/core/views/input/standard-gamepad.png)
505
+ * ![Gamepad](https://developers.arcgis.com/javascript/latest/assets/references/core/views/input/standard-gamepad.avif)
506
506
  *
507
507
  * Gamepad Action | SceneView behavior
508
508
  * ------|------------
@@ -513,12 +513,12 @@ export interface SceneViewProperties extends ViewProperties, DOMContainerPropert
513
513
  *
514
514
  * Action Image | SpaceMouse Action | SceneView behavior
515
515
  * -------|------|------------
516
- * ![3DMousePan](https://developers.arcgis.com/javascript/latest/assets/references/core/views/input/3dmouse-pan.png) | Push (left/right/forward/backward)| Pan
517
- * ![3DMousePan](https://developers.arcgis.com/javascript/latest/assets/references/core/views/input/pull-up.png) | Pull up | Ascend
518
- * ![3DMousePan](https://developers.arcgis.com/javascript/latest/assets/references/core/views/input/push-down.png) | Push down | Descend
519
- * ![3DMousePan](https://developers.arcgis.com/javascript/latest/assets/references/core/views/input/rotate-clockwise.png) | Rotate clockwise | Rotate the view clockwise
520
- * ![3DMousePan](https://developers.arcgis.com/javascript/latest/assets/references/core/views/input/rotate-counterclockwise.png) | Rotate counterclockwise | Rotate the view counterclockwise
521
- * ![3DMousePan](https://developers.arcgis.com/javascript/latest/assets/references/core/views/input/tilt.png) | Tilt | Tilt the scene
516
+ * ![3DMousePan](https://developers.arcgis.com/javascript/latest/assets/references/core/views/input/3dmouse-pan.avif) | Push (left/right/forward/backward)| Pan
517
+ * ![3DMousePan](https://developers.arcgis.com/javascript/latest/assets/references/core/views/input/pull-up.avif) | Pull up | Ascend
518
+ * ![3DMousePan](https://developers.arcgis.com/javascript/latest/assets/references/core/views/input/push-down.avif) | Push down | Descend
519
+ * ![3DMousePan](https://developers.arcgis.com/javascript/latest/assets/references/core/views/input/rotate-clockwise.avif) | Rotate clockwise | Rotate the view clockwise
520
+ * ![3DMousePan](https://developers.arcgis.com/javascript/latest/assets/references/core/views/input/rotate-counterclockwise.avif) | Rotate counterclockwise | Rotate the view counterclockwise
521
+ * ![3DMousePan](https://developers.arcgis.com/javascript/latest/assets/references/core/views/input/tilt.avif) | Tilt | Tilt the scene
522
522
  *
523
523
  * To disable gamepad navigation, you can set `view.navigation.gamepad.enabled` to `false`.
524
524
  *
@@ -625,7 +625,7 @@ export interface SceneViewProperties extends ViewProperties, DOMContainerPropert
625
625
  * <span id="viewing-modes"></span>
626
626
  * ## Viewing modes
627
627
  *
628
- * ![global vs local](https://developers.arcgis.com/javascript/latest/assets/references/core/views/scene-global-vs-local.png "Showing global scene vs local scene")
628
+ * ![global vs local](https://developers.arcgis.com/javascript/latest/assets/references/core/views/scene-global-vs-local.avif "Showing global scene vs local scene")
629
629
  *
630
630
  * The SceneView supports two different viewing modes, `global` (left picture above) and `local` (right picture above),
631
631
  * specified by the [viewingMode](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#viewingMode) property. Global scenes render the
@@ -722,7 +722,7 @@ export interface SceneViewProperties extends ViewProperties, DOMContainerPropert
722
722
  * to user interaction without delay. The [@click](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#event-click) event is only triggered after making sure that the
723
723
  * user doesn't click a second time (in which case it would trigger a [@double-click](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#event-double-click) event).
724
724
  *
725
- * ![Various events](https://developers.arcgis.com/javascript/latest/assets/references/core/views/events.png "Click and double-click events")
725
+ * ![Various events](https://developers.arcgis.com/javascript/latest/assets/references/core/views/events.avif "Click and double-click events")
726
726
  *
727
727
  * In the case of a double-click, the same event chain is repeated after the first click. However, if the user clicks
728
728
  * a second time within a close time range, then the [@click](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#event-click) event is not emitted anymore, but the
@@ -966,7 +966,7 @@ export default class SceneView extends SceneViewSuperclass {
966
966
  *
967
967
  * The `clippingArea` property only applies to [local](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#viewingMode) scenes.
968
968
  *
969
- * ![scene-clipping-area](https://developers.arcgis.com/javascript/latest/assets/references/core/views/scene-clipping-area.png "Local scene with clippingArea")
969
+ * ![scene-clipping-area](https://developers.arcgis.com/javascript/latest/assets/references/core/views/scene-clipping-area.avif "Local scene with clippingArea")
970
970
  *
971
971
  * The clippingArea property contains an internal reference which may be modified in the future. To persist or
972
972
  * modify the clippingArea, create a clone using [clippingArea.clone()](https://developers.arcgis.com/javascript/latest/references/core/geometry/Extent/#clone).
@@ -1204,8 +1204,8 @@ export default class SceneView extends SceneViewSuperclass {
1204
1204
  *
1205
1205
  * Value | Example | Description
1206
1206
  * ------|-------|------------
1207
- * global | ![scene-global](https://developers.arcgis.com/javascript/latest/assets/references/core/views/scene-global.png) | Global scenes allow the entire globe to render in the view, showing the curvature of the earth.
1208
- * local | ![scene-local](https://developers.arcgis.com/javascript/latest/assets/references/core/views/scene-local.png) | Local scenes render the earth on a flat surface. They can be constrained to only show a "local" area by setting the [clippingArea](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#clippingArea) property. Local scenes also allow for displaying and exploring data that would otherwise be hidden by the surface of the earth.
1207
+ * global | ![scene-global](https://developers.arcgis.com/javascript/latest/assets/references/core/views/scene-global.avif) | Global scenes allow the entire globe to render in the view, showing the curvature of the earth.
1208
+ * local | ![scene-local](https://developers.arcgis.com/javascript/latest/assets/references/core/views/scene-local.avif) | Local scenes render the earth on a flat surface. They can be constrained to only show a "local" area by setting the [clippingArea](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#clippingArea) property. Local scenes also allow for displaying and exploring data that would otherwise be hidden by the surface of the earth.
1209
1209
  *
1210
1210
  * Depending on the viewing mode different [supported coordinate systems](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#supported-coordinate-systems) are available.
1211
1211
  *
package/views/View.d.ts CHANGED
@@ -19,7 +19,7 @@ import type { ReadonlyArrayOrCollection, ReadonlyCollection } from "../core/Coll
19
19
  import type { EventedMixin } from "../core/Evented.js";
20
20
  import type { EsriPromise } from "../core/Promise.js";
21
21
  import type { SpatialReferenceProperties } from "../geometry/SpatialReference.js";
22
- import type { SceneViewEventTypes } from "./types.js";
22
+ import type { SceneViewEventTypes, PersistableComponent } from "./types.js";
23
23
  import type { ViewPadding } from "./ui/types.js";
24
24
  import type { GraphicProperties } from "../Graphic.js";
25
25
  import type { HighlightOptionsProperties } from "./support/HighlightOptions.js";
@@ -222,7 +222,7 @@ export type ViewEvents = SceneViewEventTypes;
222
222
  *
223
223
  * | MapView (2D) | SceneView (3D) |
224
224
  * |--------------|----------------|
225
- * | [![mapview](https://developers.arcgis.com/javascript/latest/assets/references/core/views/mapview.png)](https://developers.arcgis.com/javascript/latest/sample-code/intro-mapview/) | [![sceneview](https://developers.arcgis.com/javascript/latest/assets/references/core/views/sceneview.png)](https://developers.arcgis.com/javascript/latest/sample-code/intro-sceneview/) |
225
+ * | [![mapview](https://developers.arcgis.com/javascript/latest/assets/references/core/views/mapview.avif)](https://developers.arcgis.com/javascript/latest/sample-code/intro-mapview/) | [![sceneview](https://developers.arcgis.com/javascript/latest/assets/references/core/views/sceneview.avif)](https://developers.arcgis.com/javascript/latest/sample-code/intro-sceneview/) |
226
226
  *
227
227
  * To associate a view with a map, you must set the [map](https://developers.arcgis.com/javascript/latest/references/core/views/View/#map) property to an instance of [Map](https://developers.arcgis.com/javascript/latest/references/core/Map/).
228
228
  *
@@ -320,7 +320,7 @@ export default abstract class View<TLayerView extends LayerView = LayerView> ext
320
320
  /**
321
321
  * The array of attribution items to be displayed in the view's attribution. This property is populated once the view has finished updating. Items are ordered based on descending [score](https://developers.arcgis.com/javascript/latest/references/core/views/support/AttributionItem/#score) with higher scored items appearing first in the attribution.
322
322
  *
323
- * ![attribution](https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/attribution.png)
323
+ * ![attribution](https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/attribution.avif)
324
324
  *
325
325
  * @since 5.0
326
326
  * @example
@@ -754,6 +754,13 @@ export default abstract class View<TLayerView extends LayerView = LayerView> ext
754
754
  * @see [WebScene.destroy()](https://developers.arcgis.com/javascript/latest/references/core/WebScene/#destroy)
755
755
  */
756
756
  destroy(): void;
757
+ /**
758
+ * Registers a component with the view so that it can participate in web document persistence.
759
+ *
760
+ * @param component - The component to register with the view for web document persistence.
761
+ * @internal
762
+ */
763
+ registerComponent(component: PersistableComponent): void;
757
764
  /**
758
765
  * Call this method to clear any [fatal errors](https://developers.arcgis.com/javascript/latest/references/core/views/View/#fatalError) resulting from a lost WebGL context.
759
766
  *
@@ -766,6 +773,13 @@ export default abstract class View<TLayerView extends LayerView = LayerView> ext
766
773
  * );
767
774
  */
768
775
  tryFatalErrorRecovery(): void;
776
+ /**
777
+ * Unregisters a component from the view so that it no longer participates in web document persistence.
778
+ *
779
+ * @param component - The component to unregister from the view for web document persistence.
780
+ * @internal
781
+ */
782
+ unregisterComponent(component: PersistableComponent): void;
769
783
  /**
770
784
  * Gets the [LayerView](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LayerView/) created
771
785
  * on the view for the given layer. The returned promise resolves when
package/views/View.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{__decorate as e}from"tslib";import t from"../Map.js";import{createTask as i}from"../core/asyncUtils.js";import r from"../core/Collection.js";import s from"../core/CollectionFlattener.js";import{referenceSetter as a}from"../core/collectionUtils.js";import o from"../core/Error.js";import{EventedMixin as n}from"../core/Evented.js";import l from"../core/Handles.js";import{makeHandle as p}from"../core/handleUtils.js";import has from"../core/has.js";import{isLoadable as h}from"../core/Loadable.js";import d from"../core/Logger.js";import{destroyMaybe as y,abortMaybe as u}from"../core/maybe.js";import{EsriPromise as m}from"../core/Promise.js";import{after as c}from"../core/promiseUtils.js";import{watch as g,sync as f,whenOnce as w,when as v,syncAndInitial as _}from"../core/reactiveUtils.js";import{property as V,subclass as M}from"../core/accessorSupport/decorators.js";import{owningCollectionProperty as b}from"../core/support/OwningCollection.js";import{UpdatingHandles as R}from"../core/support/UpdatingHandles.js";import S from"../geometry/Extent.js";import T from"../geometry/HeightModelInfo.js";import j from"../geometry/SpatialReference.js";import{equals as E}from"../geometry/support/spatialReferenceUtils.js";import{AnalysesCollection as L}from"../support/AnalysesCollection.js";import{GraphicsCollection as x}from"../support/GraphicsCollection.js";import{system as F}from"../time/constants.js";import k from"../time/TimeExtent.js";import{isTimeZoneValid as O}from"../time/timeZoneUtils.js";import C from"./BasemapView.js";import H from"./Magnifier.js";import I from"./SelectionManager.js";import Z from"./Theme.js";import{ToolViewManager as W}from"./ToolViewManager.js";import{makeDefaultHighlightOptions as q}from"./3d/support/DefaultHighlights.js";import A from"./input/Input.js";import{ViewEvents as P}from"./input/ViewEvents.js";import D from"./navigation/Navigation.js";import{deduplicateAttributionItems as U}from"./support/attributionUtils.js";import{DefaultsFromMap as z}from"./support/DefaultsFromMap.js";import{defaultHighlightName as N}from"./support/HighlightDefaults.js";import G from"./support/HighlightOptions.js";import $ from"./support/LayerViewManager.js";import B from"./support/RequiredFieldsOptions.js";import{checkWebAssemblyRequirements as J}from"./support/WebAssemblyRequirements.js";import{checkWebGLRequirements as K}from"./support/WebGLRequirements.js";var Q;let X=class extends(n(m)){static{Q=this}constructor(e){super(e),this._userSpatialReference=null,this.handles=new l,this.updatingHandles=new R,this.allLayerViews=new s({getCollections:()=>this.layerviewCollections,getChildrenFunction:te}),this.animationsEnabled=!0,this.attributionVisible=!0,this.basemapView=null,this.dependencies={popup:void 0},this.displayFilterEnabled=!0,this.fatalError=null,this.graphics=new x,this.typeSpecificPreconditionsReady=!0,this.layerViews=new r,this.magnifier=new H,this.padding={left:0,top:0,right:0,bottom:0},this.ready=!1,this._readyStateWaitingTask=null,this.type=null,this.scale=null,this.updating=!1,this.initialExtentRequired=!0,this._lowPriorityCursorHandles=new r,this._highPriorityCursorHandles=new r,this.input=new A,this.navigation=new D,this.layerViewManager=null,this.analysisViewManager=null,this.isHeightModelInfoRequired=!1,this.width=null,this.height=null,this.resizing=!1,this.suspended=!1,this.viewEvents=new P(this),this.persistableViewModels=new r,this.requiredFieldsOptions=new B,this._isValid=!1,this._readyCycleForced=!1,this._lockedSpatialReference=null,this._userTimeZone=null,this._lockedTimeZone=null,this._userTimeExtent=null,this._lockedTimeExtent=null,this.theme=null,this.handles.add(g(()=>this.preconditionsReady,e=>{const t=this.ready;if(e?(this._lockedSpatialReference=this.spatialReference,this._lockedTimeZone=this.timeZone,this._lockedTimeExtent=this.timeExtent,Q.views.add(this)):(this._lockedSpatialReference=null,Q.views.remove(this)),this.notifyChange("spatialReference"),!e&&t)this.toolViewManager?.detach(),this.analysisViewManager?.detach(),this.layerViewManager?.clear(),this._teardown();else if(e&&!t){try{this._startup()}catch(i){return void queueMicrotask(()=>{this.fatalError=new o("view:startup-error","View._startup failed",i)})}this.analysisViewManager?.attach(),this.toolViewManager.attach()}},f)),this.analyses=new L}initialize(){this.addResolvingPromise(Promise.all([this.loadAsyncDependencies(),this.validate()]).then(()=>(this._isValid=!0,w(()=>this.ready)))),this.basemapView=new C({view:this}),this.layerViewManager=new $({view:this,layerViewFilter:e=>this.layerViewFilter?.(e)??!0,layerViewImporter:{importLayerView:e=>this.importLayerView(e),hasLayerViewModule:e=>this.hasLayerViewModule(e)},layerviewMapping:this._layerToLayerviewMapping}),this.toolViewManager=new W({view:this}),this.selectionManager=new I({view:this}),this.addHandles([v(()=>"map-content-error"===this.readyState&&!this.spatialReference,()=>{d.getLogger(this).warn("#spatialReference","no spatial reference could be derived from the currently added map layers")}),g(()=>this.initialExtentRequired,e=>this.defaultsFromMap.required={...this.defaultsFromMap.required,extent:e},_),g(()=>this.ready,e=>{this.defaultsFromMap&&(this.defaultsFromMap.suspended=e,this.defaultsFromMap.userSpatialReference=e?this.spatialReference:this._userSpatialReference)},f),g(()=>this._userSpatialReference,e=>{this.defaultsFromMap&&(this.defaultsFromMap.userSpatialReference=e)},_)])}get _layerToLayerviewMapping(){return Q._layerToLayerview}static{this._layerToLayerview=[["view.map.basemap.baseLayers","view.basemapView.baseLayerViews"],["view.map.basemap.groundLayers","view.basemapView.groundLayerViews"],["view.map.basemap.referenceLayers","view.basemapView.referenceLayerViews"],["view.map.layers","view.layerViews"]]}destroy(){this.destroyed||(Q.views.remove(this),this.viewEvents.destroy(),this.allLayerViews.destroy(),this.navigation&&(this.navigation.destroy(),this._set("navigation",null)),this.graphics=y(this.graphics),this.analyses=y(this.analyses),this.defaultsFromMap.destroy(),this._set("defaultsFromMap",null),this.analysisViewManager=y(this.analysisViewManager),this.toolViewManager=y(this.toolViewManager),this.layerViewManager=y(this.layerViewManager),this.selectionManager=y(this.selectionManager),this.basemapView=y(this.basemapView),this.layerViews.destroyAll(),this.invalidate(),this.handles.destroy(),this.map=y(this.map),this.updatingHandles.destroy())}_startup(){this._set("ready",!0)}_teardown(){this._set("ready",!1)}whenReady(){return Promise.resolve(this)}toMap(){return d.getLogger(this).error("#toMap()","Not implemented on this instance of View"),null}get activeTool(){return this.toolViewManager?.activeTool}set activeTool(e){this.toolViewManager&&(this.toolViewManager.activeTool=e)}get layerviewCollections(){return[this.basemapView?.baseLayerViews,this.basemapView?.groundLayerViews,this.layerViews,this.basemapView?.referenceLayerViews]}get analyses(){return this._get("analyses")}set analyses(e){this._set("analyses",e)}get animation(){return this._get("animation")}set animation(e){this._set("animation",e)}get attributionItems(){return this.suspended?[]:U(this._get("attributionItems"),this.getAttributionItems())}get center(){return null}get defaultsFromMapSettings(){return{}}get defaultsFromMap(){return new z({required:{tileInfo:!1,heightModelInfo:!1,extent:!1},map:()=>this.map,getSpatialReferenceSupport:(e,t)=>this.getSpatialReferenceSupport(e,t),...this.defaultsFromMapSettings})}get extent(){return this._get("extent")}set extent(e){this._set("extent",e)}get heightModelInfo(){return this.getDefaultHeightModelInfo()}get highlights(){return this._get("highlights")??q()}set highlights(e){this._set("highlights",a(e,this._get("highlights"),r.ofType(G)))}get defaultHighlight(){return this.highlights.find(({name:e})=>e===N)}get interacting(){return this.navigating}get navigating(){return!1}get preconditionsReady(){if(this.destroying||this.destroyed)return!1;const{map:e,spatialReference:t}=this;return!(this.fatalError||!this._isValid||this._readyCycleForced||!e||h(e)&&!e.loaded||0===this.width||0===this.height||!t||!this._validateSpatialReference(t)||!this._lockedSpatialReference&&!this.defaultsFromMap?.ready||!this.typeSpecificPreconditionsReady)}get resolution(){return 0}set map(e){e!==this._get("map")&&(e?.destroyed&&(d.getLogger(this).warn("#map","The provided map is already destroyed",{map:e}),e=null),h(e)&&e.load().catch(()=>{}),this.constructed&&!this.destroyed&&(this.forceReadyCycle(),this._lockedSpatialReference=null),this._set("map",e))}get canZoomIn(){return!!this.ready}get canZoomOut(){return!!this.ready}get readyState(){if(this.destroyed)return this._get("readyState");if(!this.map)return"missing-map";if("container"in this&&!this.container)return"missing-container";if(this.fatalError)return"rendering-error";if((this.defaultsFromMap?.ready??!1)&&!this.spatialReference){const e=!("loaded"in this.map)||this.map.loaded,t=this.map.ground.loaded,r=this.map.basemap?.loaded??!0;return e&&r&&t&&!this.map?.allLayers.length?"empty-map":(this._readyStateWaitingTask||(this._readyStateWaitingTask=i(e=>c(has("view-readyState-waiting-delay"),null,e)),this.addHandles(this._readyStateWaitingTask),this.addHandles(this._readyStateWaitingTask,"ready-state-task")),this._readyStateWaitingTask?.finished?"map-content-error":"loading")}return this._readyStateWaitingTask=u(this._readyStateWaitingTask),this.removeHandles("ready-state-task"),this.ready?"ready":"loading"}get spatialReference(){const{_userSpatialReference:e}=this;if(e&&null!==e.vcsWkid)return e;const t=e||this._lockedSpatialReference||this.getDefaultSpatialReference()||null;if(t&&this.defaultsFromMap?.required?.heightModelInfo){const e=t.clone();return e.vcsWkid=this.defaultsFromMap.vcsWkid,e.latestVcsWkid=this.defaultsFromMap.latestVcsWkid,e}return t}set spatialReference(e){const t=!E(e,this._get("spatialReference"));this._set("_userSpatialReference",e),t&&(this._set("spatialReference",e),this._spatialReferenceChanged(e))}_spatialReferenceChanged(e){}get stationary(){return!this.animation&&!this.navigating&&!this.resizing}get timeExtent(){return this._userTimeExtent??this._lockedTimeExtent??this.getDefaultTimeExtent()??null}set timeExtent(e){this._userTimeExtent=e}get timeZone(){return this._userTimeZone??this._lockedTimeZone??this.getDefaultTimeZone()??F}set timeZone(e){this._userTimeZone=e,O(e)||d.getLogger(this).warn("#timeZone",`the parsed value '${e}' may not be a valid IANA time zone`)}get tools(){return this.toolViewManager?.tools}get initialExtent(){return this.defaultsFromMap?.extent}get cursor(){return this.toolViewManager?.cursor??this._highPriorityCursorHandles.at(-1)?.cursor??this._lowPriorityCursorHandles.at(-1)?.cursor??"default"}acquireCursor(e,t="low"){const i="high"===t?this._highPriorityCursorHandles:this._lowPriorityCursorHandles,r={cursor:e},s=p(()=>i.remove(r));return i.add(r),this.addHandles(s),s}get size(){return[this.width,this.height]}get effectiveTheme(){return this.theme??new Z}whenLayerView(e){return this.layerViewManager?.whenLayerView(e)??Promise.reject()}getAttributionItems(){return this.allLayerViews.items.flatMap(e=>e.attributionItems)}getDefaultSpatialReference(){return this.defaultsFromMap?.spatialReference}getDefaultHeightModelInfo(){return(this.map&&"heightModelInfo"in this.map?this.map.heightModelInfo:void 0)??this.defaultsFromMap?.heightModelInfo??null}getDefaultTimeZone(){return null}getDefaultTimeExtent(){return null}getSurface(){return null}importLayerView(e){throw new o("view:importLayerView-missing","importLayerView() not implemented")}hasLayerViewModule(e){return!1}async validate(){const e=K(this.type);if(e)throw this._displayWebGLError(),d.getLogger(this).warn("#validate()",e.message),e;const t=await J();if(t)throw d.getLogger(this).warn("#validate()",t.message),t}async loadAsyncDependencies(){}invalidate(){this._isValid=!1}getSpatialReferenceSupport(){return{constraints:null}}_validateSpatialReference(e){return null!=this.getSpatialReferenceSupport(e)}when(e,t){return this.isResolved()&&!this.ready&&d.getLogger(this).warn("#when()","Calling view.when() while the view is no longer ready but was already resolved once will resolve immediately. Use reactiveUtils.whenOnce(() => view.ready).then(...) instead."),super.when(e,t)}forceReadyCycle(){this.ready&&(v(()=>this.destroyed||!1===this.preconditionsReady,()=>this._readyCycleForced=!1,{once:!0}),this._readyCycleForced=!0)}on(e,t){return super.on(e,t)}addAndActivateTool(e){this.toolViewManager.tools.add(e),this.activeTool=e}tryFatalErrorRecovery(){this.fatalError=null}static{this.views=new r}_displayWebGLError(){const e=document.createElement("div");e.setAttribute("style","display: flex; flex-direction: column; gap: 8px; padding: 20px; height: 100%; justify-content: center; color: black; background: white; font-family: sans-serif;");const t=document.createElement("div");t.innerHTML="Unable to display map. WebGL2 support is required.",t.setAttribute("style","font-size: 24px; font-weight: bold;");const i=document.createElement("div");i.innerHTML="Ensure that your browser and hardware meet the minimum requirements.",i.setAttribute("style","font-size: 18px;");const r=document.createElement("a");r.innerHTML="https://esriurl.com/webgl-faq",r.target="_blank",r.setAttribute("style","font-size: 18px;"),r.href="https://esriurl.com/webgl-faq",e.appendChild(t),e.appendChild(i),e.appendChild(r);const s=this.getSurface();s&&s.appendChild(e)}};e([V()],X.prototype,"_userSpatialReference",void 0),e([V()],X.prototype,"activeTool",null),e([V({readOnly:!0})],X.prototype,"allLayerViews",void 0),e([V({readOnly:!0})],X.prototype,"layerviewCollections",null),e([V(b(L,"analyses"))],X.prototype,"analyses",null),e([V()],X.prototype,"animation",null),e([V()],X.prototype,"animationsEnabled",void 0),e([V({readOnly:!0})],X.prototype,"attributionItems",null),e([V()],X.prototype,"attributionVisible",void 0),e([V()],X.prototype,"basemapView",void 0),e([V()],X.prototype,"center",null),e([V()],X.prototype,"defaultsFromMapSettings",null),e([V()],X.prototype,"defaultsFromMap",null),e([V()],X.prototype,"dependencies",void 0),e([V()],X.prototype,"displayFilterEnabled",void 0),e([V({type:S})],X.prototype,"extent",null),e([V()],X.prototype,"fatalError",void 0),e([V(b(x,"graphics"))],X.prototype,"graphics",void 0),e([V({readOnly:!0,type:T})],X.prototype,"heightModelInfo",null),e([V({type:r.ofType(G)})],X.prototype,"highlights",null),e([V({readOnly:!0})],X.prototype,"interacting",null),e([V({constructOnly:!0})],X.prototype,"layerViewFilter",void 0),e([V({readOnly:!0})],X.prototype,"navigating",null),e([V({readOnly:!0})],X.prototype,"preconditionsReady",null),e([V({readOnly:!0})],X.prototype,"typeSpecificPreconditionsReady",void 0),e([V({type:r,readOnly:!0})],X.prototype,"layerViews",void 0),e([V()],X.prototype,"resolution",null),e([V({type:H})],X.prototype,"magnifier",void 0),e([V({value:null,type:t})],X.prototype,"map",null),e([V()],X.prototype,"padding",void 0),e([V({readOnly:!0})],X.prototype,"ready",void 0),e([V({readOnly:!0})],X.prototype,"canZoomIn",null),e([V({readOnly:!0})],X.prototype,"canZoomOut",null),e([V()],X.prototype,"_readyStateWaitingTask",void 0),e([V({readOnly:!0})],X.prototype,"readyState",null),e([V({type:j})],X.prototype,"spatialReference",null),e([V()],X.prototype,"stationary",null),e([V({type:k})],X.prototype,"timeExtent",null),e([V({type:String,nonNullable:!0})],X.prototype,"timeZone",null),e([V()],X.prototype,"tools",null),e([V()],X.prototype,"toolViewManager",void 0),e([V({readOnly:!0})],X.prototype,"type",void 0),e([V({type:Number})],X.prototype,"scale",void 0),e([V({readOnly:!0})],X.prototype,"updating",void 0),e([V({readOnly:!0})],X.prototype,"initialExtentRequired",void 0),e([V({readOnly:!0})],X.prototype,"initialExtent",null),e([V()],X.prototype,"cursor",null),e([V({readOnly:!0})],X.prototype,"input",void 0),e([V({type:D,nonNullable:!0})],X.prototype,"navigation",void 0),e([V()],X.prototype,"layerViewManager",void 0),e([V()],X.prototype,"analysisViewManager",void 0),e([V()],X.prototype,"selectionManager",void 0),e([V()],X.prototype,"width",void 0),e([V()],X.prototype,"height",void 0),e([V({readOnly:!0})],X.prototype,"resizing",void 0),e([V({value:null,readOnly:!0})],X.prototype,"size",null),e([V({readOnly:!0})],X.prototype,"suspended",void 0),e([V({readOnly:!0})],X.prototype,"viewEvents",void 0),e([V({readOnly:!0})],X.prototype,"persistableViewModels",void 0),e([V()],X.prototype,"_isValid",void 0),e([V()],X.prototype,"_readyCycleForced",void 0),e([V()],X.prototype,"_lockedSpatialReference",void 0),e([V()],X.prototype,"_userTimeZone",void 0),e([V()],X.prototype,"_lockedTimeZone",void 0),e([V()],X.prototype,"_userTimeExtent",void 0),e([V()],X.prototype,"_lockedTimeExtent",void 0),e([V({type:Z})],X.prototype,"theme",void 0),e([V({readOnly:!0,type:Z})],X.prototype,"effectiveTheme",null),X=Q=e([M("esri.views.View")],X);const Y=globalThis.$arcgis;Y&&!Y.views&&Object.defineProperty(Y,"views",{configurable:!1,enumerable:!0,writable:!1,value:X.views});const ee=X;function te(e){return e.layerViews}export{ee as default};
2
+ import{__decorate as e}from"tslib";import t from"../Map.js";import{createTask as i}from"../core/asyncUtils.js";import r from"../core/Collection.js";import s from"../core/CollectionFlattener.js";import{referenceSetter as a}from"../core/collectionUtils.js";import o from"../core/Error.js";import{EventedMixin as n}from"../core/Evented.js";import l from"../core/Handles.js";import{makeHandle as p}from"../core/handleUtils.js";import has from"../core/has.js";import{isLoadable as h}from"../core/Loadable.js";import d from"../core/Logger.js";import{destroyMaybe as y,abortMaybe as u}from"../core/maybe.js";import{EsriPromise as m}from"../core/Promise.js";import{after as c}from"../core/promiseUtils.js";import g from"../core/ReactiveSet.js";import{watch as f,sync as w,whenOnce as v,when as _,syncAndInitial as V}from"../core/reactiveUtils.js";import{property as M,subclass as b}from"../core/accessorSupport/decorators.js";import{owningCollectionProperty as R}from"../core/support/OwningCollection.js";import{UpdatingHandles as S}from"../core/support/UpdatingHandles.js";import T from"../geometry/Extent.js";import j from"../geometry/HeightModelInfo.js";import E from"../geometry/SpatialReference.js";import{equals as L}from"../geometry/support/spatialReferenceUtils.js";import{AnalysesCollection as x}from"../support/AnalysesCollection.js";import{GraphicsCollection as C}from"../support/GraphicsCollection.js";import{system as F}from"../time/constants.js";import k from"../time/TimeExtent.js";import{isTimeZoneValid as O}from"../time/timeZoneUtils.js";import H from"./BasemapView.js";import I from"./Magnifier.js";import Z from"./SelectionManager.js";import W from"./Theme.js";import{ToolViewManager as q}from"./ToolViewManager.js";import{makeDefaultHighlightOptions as A}from"./3d/support/DefaultHighlights.js";import P from"./input/Input.js";import{ViewEvents as D}from"./input/ViewEvents.js";import U from"./navigation/Navigation.js";import{deduplicateAttributionItems as z}from"./support/attributionUtils.js";import{DefaultsFromMap as N}from"./support/DefaultsFromMap.js";import{defaultHighlightName as G}from"./support/HighlightDefaults.js";import $ from"./support/HighlightOptions.js";import B from"./support/LayerViewManager.js";import J from"./support/RequiredFieldsOptions.js";import{checkWebAssemblyRequirements as K}from"./support/WebAssemblyRequirements.js";import{checkWebGLRequirements as Q}from"./support/WebGLRequirements.js";var X;let Y=class extends(n(m)){static{X=this}constructor(e){super(e),this._userSpatialReference=null,this.handles=new l,this.updatingHandles=new S,this.allLayerViews=new s({getCollections:()=>this.layerviewCollections,getChildrenFunction:ie}),this.animationsEnabled=!0,this.attributionVisible=!0,this.basemapView=null,this.dependencies={popup:void 0},this.displayFilterEnabled=!0,this.fatalError=null,this.graphics=new C,this.typeSpecificPreconditionsReady=!0,this.layerViews=new r,this.magnifier=new I,this.padding={left:0,top:0,right:0,bottom:0},this.ready=!1,this._readyStateWaitingTask=null,this.type=null,this.scale=null,this.updating=!1,this.initialExtentRequired=!0,this._lowPriorityCursorHandles=new r,this._highPriorityCursorHandles=new r,this.input=new P,this.navigation=new U,this.layerViewManager=null,this.analysisViewManager=null,this.isHeightModelInfoRequired=!1,this.width=null,this.height=null,this.resizing=!1,this.suspended=!1,this.viewEvents=new D(this),this.requiredFieldsOptions=new J,this._isValid=!1,this._readyCycleForced=!1,this._lockedSpatialReference=null,this._userTimeZone=null,this._lockedTimeZone=null,this._userTimeExtent=null,this._lockedTimeExtent=null,this.theme=null,this.registeredComponents=new g,this.handles.add(f(()=>this.preconditionsReady,e=>{const t=this.ready;if(e?(this._lockedSpatialReference=this.spatialReference,this._lockedTimeZone=this.timeZone,this._lockedTimeExtent=this.timeExtent,X.views.add(this)):(this._lockedSpatialReference=null,X.views.remove(this)),this.notifyChange("spatialReference"),!e&&t)this.toolViewManager?.detach(),this.analysisViewManager?.detach(),this.layerViewManager?.clear(),this._teardown();else if(e&&!t){try{this._startup()}catch(i){return void queueMicrotask(()=>{this.fatalError=new o("view:startup-error","View._startup failed",i)})}this.analysisViewManager?.attach(),this.toolViewManager.attach()}},w)),this.analyses=new x}initialize(){this.addResolvingPromise(Promise.all([this.loadAsyncDependencies(),this.validate()]).then(()=>(this._isValid=!0,v(()=>this.ready)))),this.basemapView=new H({view:this}),this.layerViewManager=new B({view:this,layerViewFilter:e=>this.layerViewFilter?.(e)??!0,layerViewImporter:{importLayerView:e=>this.importLayerView(e),hasLayerViewModule:e=>this.hasLayerViewModule(e)},layerviewMapping:this._layerToLayerviewMapping}),this.toolViewManager=new q({view:this}),this.selectionManager=new Z({view:this}),this.addHandles([_(()=>"map-content-error"===this.readyState&&!this.spatialReference,()=>{d.getLogger(this).warn("#spatialReference","no spatial reference could be derived from the currently added map layers")}),f(()=>this.initialExtentRequired,e=>this.defaultsFromMap.required={...this.defaultsFromMap.required,extent:e},V),f(()=>this.ready,e=>{this.defaultsFromMap&&(this.defaultsFromMap.suspended=e,this.defaultsFromMap.userSpatialReference=e?this.spatialReference:this._userSpatialReference)},w),f(()=>this._userSpatialReference,e=>{this.defaultsFromMap&&(this.defaultsFromMap.userSpatialReference=e)},V)])}get _layerToLayerviewMapping(){return X._layerToLayerview}static{this._layerToLayerview=[["view.map.basemap.baseLayers","view.basemapView.baseLayerViews"],["view.map.basemap.groundLayers","view.basemapView.groundLayerViews"],["view.map.basemap.referenceLayers","view.basemapView.referenceLayerViews"],["view.map.layers","view.layerViews"]]}destroy(){this.destroyed||(X.views.remove(this),this.viewEvents.destroy(),this.allLayerViews.destroy(),this.navigation&&(this.navigation.destroy(),this._set("navigation",null)),this.graphics=y(this.graphics),this.analyses=y(this.analyses),this.defaultsFromMap.destroy(),this._set("defaultsFromMap",null),this.analysisViewManager=y(this.analysisViewManager),this.toolViewManager=y(this.toolViewManager),this.layerViewManager=y(this.layerViewManager),this.selectionManager=y(this.selectionManager),this.basemapView=y(this.basemapView),this.layerViews.destroyAll(),this.invalidate(),this.handles.destroy(),this.map=y(this.map),this.updatingHandles.destroy())}_startup(){this._set("ready",!0)}_teardown(){this._set("ready",!1)}whenReady(){return Promise.resolve(this)}toMap(){return d.getLogger(this).error("#toMap()","Not implemented on this instance of View"),null}get activeTool(){return this.toolViewManager?.activeTool}set activeTool(e){this.toolViewManager&&(this.toolViewManager.activeTool=e)}get layerviewCollections(){return[this.basemapView?.baseLayerViews,this.basemapView?.groundLayerViews,this.layerViews,this.basemapView?.referenceLayerViews]}get analyses(){return this._get("analyses")}set analyses(e){this._set("analyses",e)}get animation(){return this._get("animation")}set animation(e){this._set("animation",e)}get attributionItems(){return this.suspended?[]:z(this._get("attributionItems"),this.getAttributionItems())}get center(){return null}get defaultsFromMapSettings(){return{}}get defaultsFromMap(){return new N({required:{tileInfo:!1,heightModelInfo:!1,extent:!1},map:()=>this.map,getSpatialReferenceSupport:(e,t)=>this.getSpatialReferenceSupport(e,t),...this.defaultsFromMapSettings})}get extent(){return this._get("extent")}set extent(e){this._set("extent",e)}get heightModelInfo(){return this.getDefaultHeightModelInfo()}get highlights(){return this._get("highlights")??A()}set highlights(e){this._set("highlights",a(e,this._get("highlights"),r.ofType($)))}get defaultHighlight(){return this.highlights.find(({name:e})=>e===G)}get interacting(){return this.navigating}get navigating(){return!1}get preconditionsReady(){if(this.destroying||this.destroyed)return!1;const{map:e,spatialReference:t}=this;return!(this.fatalError||!this._isValid||this._readyCycleForced||!e||h(e)&&!e.loaded||0===this.width||0===this.height||!t||!this._validateSpatialReference(t)||!this._lockedSpatialReference&&!this.defaultsFromMap?.ready||!this.typeSpecificPreconditionsReady)}get resolution(){return 0}set map(e){e!==this._get("map")&&(e?.destroyed&&(d.getLogger(this).warn("#map","The provided map is already destroyed",{map:e}),e=null),h(e)&&e.load().catch(()=>{}),this.constructed&&!this.destroyed&&(this.forceReadyCycle(),this._lockedSpatialReference=null),this._set("map",e))}get canZoomIn(){return!!this.ready}get canZoomOut(){return!!this.ready}get readyState(){if(this.destroyed)return this._get("readyState");if(!this.map)return"missing-map";if("container"in this&&!this.container)return"missing-container";if(this.fatalError)return"rendering-error";if((this.defaultsFromMap?.ready??!1)&&!this.spatialReference){const e=!("loaded"in this.map)||this.map.loaded,t=this.map.ground.loaded,r=this.map.basemap?.loaded??!0;return e&&r&&t&&!this.map?.allLayers.length?"empty-map":(this._readyStateWaitingTask||(this._readyStateWaitingTask=i(e=>c(has("view-readyState-waiting-delay"),null,e)),this.addHandles(this._readyStateWaitingTask),this.addHandles(this._readyStateWaitingTask,"ready-state-task")),this._readyStateWaitingTask?.finished?"map-content-error":"loading")}return this._readyStateWaitingTask=u(this._readyStateWaitingTask),this.removeHandles("ready-state-task"),this.ready?"ready":"loading"}get spatialReference(){const{_userSpatialReference:e}=this;if(e&&null!==e.vcsWkid)return e;const t=e||this._lockedSpatialReference||this.getDefaultSpatialReference()||null;if(t&&this.defaultsFromMap?.required?.heightModelInfo){const e=t.clone();return e.vcsWkid=this.defaultsFromMap.vcsWkid,e.latestVcsWkid=this.defaultsFromMap.latestVcsWkid,e}return t}set spatialReference(e){const t=!L(e,this._get("spatialReference"));this._set("_userSpatialReference",e),t&&(this._set("spatialReference",e),this._spatialReferenceChanged(e))}_spatialReferenceChanged(e){}get stationary(){return!this.animation&&!this.navigating&&!this.resizing}get timeExtent(){return this._userTimeExtent??this._lockedTimeExtent??this.getDefaultTimeExtent()??null}set timeExtent(e){this._userTimeExtent=e}get timeZone(){return this._userTimeZone??this._lockedTimeZone??this.getDefaultTimeZone()??F}set timeZone(e){this._userTimeZone=e,O(e)||d.getLogger(this).warn("#timeZone",`the parsed value '${e}' may not be a valid IANA time zone`)}get tools(){return this.toolViewManager?.tools}get initialExtent(){return this.defaultsFromMap?.extent}get cursor(){return this.toolViewManager?.cursor??this._highPriorityCursorHandles.at(-1)?.cursor??this._lowPriorityCursorHandles.at(-1)?.cursor??"default"}acquireCursor(e,t="low"){const i="high"===t?this._highPriorityCursorHandles:this._lowPriorityCursorHandles,r={cursor:e},s=p(()=>i.remove(r));return i.add(r),this.addHandles(s),s}get size(){return[this.width,this.height]}get effectiveTheme(){return this.theme??new W}registerComponent(e){this.registeredComponents.add(e)}unregisterComponent(e){this.registeredComponents.delete(e)}whenLayerView(e){return this.layerViewManager?.whenLayerView(e)??Promise.reject()}getAttributionItems(){return this.allLayerViews.items.flatMap(e=>e.attributionItems)}getDefaultSpatialReference(){return this.defaultsFromMap?.spatialReference}getDefaultHeightModelInfo(){return(this.map&&"heightModelInfo"in this.map?this.map.heightModelInfo:void 0)??this.defaultsFromMap?.heightModelInfo??null}getDefaultTimeZone(){return null}getDefaultTimeExtent(){return null}getSurface(){return null}importLayerView(e){throw new o("view:importLayerView-missing","importLayerView() not implemented")}hasLayerViewModule(e){return!1}async validate(){const e=Q(this.type);if(e)throw this._displayWebGLError(),d.getLogger(this).warn("#validate()",e.message),e;const t=await K();if(t)throw d.getLogger(this).warn("#validate()",t.message),t}async loadAsyncDependencies(){}invalidate(){this._isValid=!1}getSpatialReferenceSupport(){return{constraints:null}}_validateSpatialReference(e){return null!=this.getSpatialReferenceSupport(e)}when(e,t){return this.isResolved()&&!this.ready&&d.getLogger(this).warn("#when()","Calling view.when() while the view is no longer ready but was already resolved once will resolve immediately. Use reactiveUtils.whenOnce(() => view.ready).then(...) instead."),super.when(e,t)}forceReadyCycle(){this.ready&&(_(()=>this.destroyed||!1===this.preconditionsReady,()=>this._readyCycleForced=!1,{once:!0}),this._readyCycleForced=!0)}on(e,t){return super.on(e,t)}addAndActivateTool(e){this.toolViewManager.tools.add(e),this.activeTool=e}tryFatalErrorRecovery(){this.fatalError=null}static{this.views=new r}_displayWebGLError(){const e=document.createElement("div");e.setAttribute("style","display: flex; flex-direction: column; gap: 8px; padding: 20px; height: 100%; justify-content: center; color: black; background: white; font-family: sans-serif;");const t=document.createElement("div");t.innerHTML="Unable to display map. WebGL2 support is required.",t.setAttribute("style","font-size: 24px; font-weight: bold;");const i=document.createElement("div");i.innerHTML="Ensure that your browser and hardware meet the minimum requirements.",i.setAttribute("style","font-size: 18px;");const r=document.createElement("a");r.innerHTML="https://esriurl.com/webgl-faq",r.target="_blank",r.setAttribute("style","font-size: 18px;"),r.href="https://esriurl.com/webgl-faq",e.appendChild(t),e.appendChild(i),e.appendChild(r);const s=this.getSurface();s&&s.appendChild(e)}};e([M()],Y.prototype,"_userSpatialReference",void 0),e([M()],Y.prototype,"activeTool",null),e([M({readOnly:!0})],Y.prototype,"allLayerViews",void 0),e([M({readOnly:!0})],Y.prototype,"layerviewCollections",null),e([M(R(x,"analyses"))],Y.prototype,"analyses",null),e([M()],Y.prototype,"animation",null),e([M()],Y.prototype,"animationsEnabled",void 0),e([M({readOnly:!0})],Y.prototype,"attributionItems",null),e([M()],Y.prototype,"attributionVisible",void 0),e([M()],Y.prototype,"basemapView",void 0),e([M()],Y.prototype,"center",null),e([M()],Y.prototype,"defaultsFromMapSettings",null),e([M()],Y.prototype,"defaultsFromMap",null),e([M()],Y.prototype,"dependencies",void 0),e([M()],Y.prototype,"displayFilterEnabled",void 0),e([M({type:T})],Y.prototype,"extent",null),e([M()],Y.prototype,"fatalError",void 0),e([M(R(C,"graphics"))],Y.prototype,"graphics",void 0),e([M({readOnly:!0,type:j})],Y.prototype,"heightModelInfo",null),e([M({type:r.ofType($)})],Y.prototype,"highlights",null),e([M({readOnly:!0})],Y.prototype,"interacting",null),e([M({constructOnly:!0})],Y.prototype,"layerViewFilter",void 0),e([M({readOnly:!0})],Y.prototype,"navigating",null),e([M({readOnly:!0})],Y.prototype,"preconditionsReady",null),e([M({readOnly:!0})],Y.prototype,"typeSpecificPreconditionsReady",void 0),e([M({type:r,readOnly:!0})],Y.prototype,"layerViews",void 0),e([M()],Y.prototype,"resolution",null),e([M({type:I})],Y.prototype,"magnifier",void 0),e([M({value:null,type:t})],Y.prototype,"map",null),e([M()],Y.prototype,"padding",void 0),e([M({readOnly:!0})],Y.prototype,"ready",void 0),e([M({readOnly:!0})],Y.prototype,"canZoomIn",null),e([M({readOnly:!0})],Y.prototype,"canZoomOut",null),e([M()],Y.prototype,"_readyStateWaitingTask",void 0),e([M({readOnly:!0})],Y.prototype,"readyState",null),e([M({type:E})],Y.prototype,"spatialReference",null),e([M()],Y.prototype,"stationary",null),e([M({type:k})],Y.prototype,"timeExtent",null),e([M({type:String,nonNullable:!0})],Y.prototype,"timeZone",null),e([M()],Y.prototype,"tools",null),e([M()],Y.prototype,"toolViewManager",void 0),e([M({readOnly:!0})],Y.prototype,"type",void 0),e([M({type:Number})],Y.prototype,"scale",void 0),e([M({readOnly:!0})],Y.prototype,"updating",void 0),e([M({readOnly:!0})],Y.prototype,"initialExtentRequired",void 0),e([M({readOnly:!0})],Y.prototype,"initialExtent",null),e([M()],Y.prototype,"cursor",null),e([M({readOnly:!0})],Y.prototype,"input",void 0),e([M({type:U,nonNullable:!0})],Y.prototype,"navigation",void 0),e([M()],Y.prototype,"layerViewManager",void 0),e([M()],Y.prototype,"analysisViewManager",void 0),e([M()],Y.prototype,"selectionManager",void 0),e([M()],Y.prototype,"width",void 0),e([M()],Y.prototype,"height",void 0),e([M({readOnly:!0})],Y.prototype,"resizing",void 0),e([M({value:null,readOnly:!0})],Y.prototype,"size",null),e([M({readOnly:!0})],Y.prototype,"suspended",void 0),e([M({readOnly:!0})],Y.prototype,"viewEvents",void 0),e([M()],Y.prototype,"_isValid",void 0),e([M()],Y.prototype,"_readyCycleForced",void 0),e([M()],Y.prototype,"_lockedSpatialReference",void 0),e([M()],Y.prototype,"_userTimeZone",void 0),e([M()],Y.prototype,"_lockedTimeZone",void 0),e([M()],Y.prototype,"_userTimeExtent",void 0),e([M()],Y.prototype,"_lockedTimeExtent",void 0),e([M({type:W})],Y.prototype,"theme",void 0),e([M({readOnly:!0,type:W})],Y.prototype,"effectiveTheme",null),e([M({readOnly:!0})],Y.prototype,"registeredComponents",void 0),Y=X=e([b("esri.views.View")],Y);const ee=globalThis.$arcgis;ee&&!ee.views&&Object.defineProperty(ee,"views",{configurable:!1,enumerable:!0,writable:!1,value:Y.views});const te=Y;function ie(e){return e.layerViews}export{te as default};
@@ -7,7 +7,7 @@ export interface SketchLabelOptionsProperties extends Partial<Pick<SketchLabelOp
7
7
  * segment of a graphic while sketching and editing. The labels display each segment's
8
8
  * horizontal length and are not shown for non-planar polygons and polylines.
9
9
  *
10
- * [![sketch-3d](https://developers.arcgis.com/javascript/latest/assets/references/core/views/interactive/sketch/sketchlabels.png)](https://developers.arcgis.com/javascript/latest/sample-code/sketch-3d/)
10
+ * [![sketch-3d](https://developers.arcgis.com/javascript/latest/assets/references/core/views/interactive/sketch/sketchlabels.avif)](https://developers.arcgis.com/javascript/latest/sample-code/sketch-3d/)
11
11
  *
12
12
  * How the segment lengths are computed depends on the view's spatial reference. In geographic coordinate systems (GCS)
13
13
  * and in Web Mercator, the lengths are computed geodetically. In projected coordinate systems (PCS),
@@ -15,7 +15,7 @@ export interface SketchTooltipOptionsProperties extends Partial<Pick<SketchToolt
15
15
  * To enter the tooltip UI's [input mode](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/sketch/SketchTooltipOptions/#inputEnabled),
16
16
  * press the `Tab` key while drawing a new feature, or when editing a point, mesh, or a selected vertex.
17
17
  *
18
- * [![sketch-3d-with-constraints](https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/editor/editing-constraints.gif)](https://developers.arcgis.com/javascript/latest/sample-code/sketch-3d/)
18
+ * [![sketch-3d-with-constraints](https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/editor/editing-constraints.webm)](https://developers.arcgis.com/javascript/latest/sample-code/sketch-3d/)
19
19
  *
20
20
  * #### Available tooltip inputs and constraints
21
21
  *
@@ -19,15 +19,15 @@ export interface SnappingOptionsProperties extends Partial<Pick<SnappingOptions,
19
19
  * #### Self snapping (Geometry guides)
20
20
  * Self snapping is set via the [selfEnabled](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/snapping/SnappingOptions/#selfEnabled) property. This means that while a user is actively creating or updating a feature or graphic, they will see visualizations to help identify perpendicular and parallel lines, in addition to visualizations which aid in snapping to an extension of an existing feature. The following briefly demonstrates what self snapping looks like in a 2D application. Although this is shown for 2D, the same premise applies for 3D as well.
21
21
  *
22
- * ![self-snapping](https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/snapping-self-2d.gif)
22
+ * ![self-snapping](https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/snapping-self-2d.webm)
23
23
  * #### Feature snapping
24
24
  * Feature snapping is set via the [featureEnabled](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/snapping/SnappingOptions/#featureEnabled) property. It provides the ability to snap vertices of a graphic or feature that is currently being drawn or reshaped to that of an existing feature's vertex, edge, or end point. These existing features belong to layers within the [Map](https://developers.arcgis.com/javascript/latest/references/core/Map/) and must be specified in the [featureSources](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/snapping/SnappingOptions/#featureSources) property. The following two images demonstrate feature snapping in a 2D application. Similar to self snapping, the same premise applies for 3D as well.
25
25
  *
26
- * ![feature-snapping-create](https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/snapping-feature-2d.gif)
26
+ * ![feature-snapping-create](https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/snapping-feature-2d.webm)
27
27
  *
28
28
  * The above shows feature snapping to an existing feature's vertex endpoint and edge while creating a new feature. The bottom demonstrates taking an existing feature and reshaping its geometry to snap to another feature's vertex points.
29
29
  *
30
- * ![feature-snapping-update](https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/snapping-reshape-2d.gif)
30
+ * ![feature-snapping-update](https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/snapping-reshape-2d.webm)
31
31
  *
32
32
  * > [!WARNING]
33
33
  * >
@@ -41,10 +41,10 @@ export interface SnappingOptionsProperties extends Partial<Pick<SnappingOptions,
41
41
  *
42
42
  * Name | Details | 3D Example | 2D Example |
43
43
  * ---------|---------|----------|:-----------:|
44
- * Rectangle | Snap lines that are perpendicular to each other | <img alt="Rectangle" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/snapping-rectangle.png" width="268px"> | <img alt="Rectangle-2d" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/snapping-rectangle-2d.png" width="268px"> |
45
- * Parallel | Snap to all parallel lines | <img alt="Parallel" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/snapping-parallel.png" width="268px"> | <img alt="Parallel-2d" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/snapping-parallel-2.png" width="268px"> |
46
- * Extension | Snap to an extension of the current shape | <img alt="Extension" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/snapping-extension.png" width="268px"> | <img alt="Extension-2" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/snapping-extension-2.png" width="268px"> |
47
- * Vertex (as seen when updating geometries)| Snap vertices to an existing vertex | <img alt="Vertex" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/snapping-vertex-3d.png" width="143px"> | <img alt="Vertex-2" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/snapping-vertex-2.png" width="143px"> |
44
+ * Rectangle | Snap lines that are perpendicular to each other | <img alt="Rectangle" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/snapping-rectangle.avif" width="268px"> | <img alt="Rectangle-2d" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/snapping-rectangle-2d.avif" width="268px"> |
45
+ * Parallel | Snap to all parallel lines | <img alt="Parallel" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/snapping-parallel.avif" width="268px"> | <img alt="Parallel-2d" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/snapping-parallel-2.avif" width="268px"> |
46
+ * Extension | Snap to an extension of the current shape | <img alt="Extension" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/snapping-extension.avif" width="268px"> | <img alt="Extension-2" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/snapping-extension-2.avif" width="268px"> |
47
+ * Vertex (as seen when updating geometries)| Snap vertices to an existing vertex | <img alt="Vertex" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/snapping-vertex-3d.avif" width="143px"> | <img alt="Vertex-2" src="https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/sketch/snapping-vertex-2.avif" width="143px"> |
48
48
  *
49
49
  * @since 4.19
50
50
  * @see [FeatureSnappingLayerSource](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/snapping/FeatureSnappingLayerSource/)
@@ -1,5 +1,6 @@
1
+ import type Collection from "../../core/Collection.js";
1
2
  import type LineOfSightLayer from "../../layers/LineOfSightLayer.js";
2
- import type LineOfSightAnalysisView3D from "../3d/analysis/LineOfSightAnalysisView3D.js";
3
+ import type LineOfSightAnalysisResult from "../3d/analysis/LineOfSightAnalysisResult.js";
3
4
  import type LayerView from "./LayerView.js";
4
5
  import type { AbortOptions } from "../../core/promiseUtils.js";
5
6
  import type { LineOfSightPlacementResult } from "../3d/analysis/LineOfSight/types.js";
@@ -69,7 +70,7 @@ export default abstract class LineOfSightLayerView extends LayerView {
69
70
  * const result = layerView.results.find((result) => result.target === targetObject);
70
71
  * ```
71
72
  */
72
- get results(): LineOfSightAnalysisView3D["results"];
73
+ get results(): Collection<LineOfSightAnalysisResult | null | undefined>;
73
74
  /**
74
75
  * Starts the interactive placement of an observer and/or targets on the [layer](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LineOfSightLayerView/#layer)'s
75
76
  * [LineOfSightLayer.analysis](https://developers.arcgis.com/javascript/latest/references/core/layers/LineOfSightLayer/#analysis).
@@ -180,7 +180,7 @@ export default class HighlightOptions extends Accessor {
180
180
  * highlights only the difference between the shadow areas, so the overlapping shadow areas aren't highlighted at
181
181
  * all. Here is an example of what the shadow highlight looks like with different values:
182
182
  *
183
- * ![shadow-highlight](https://developers.arcgis.com/javascript/latest/assets/references/core/views/shadow-highlight.png)
183
+ * ![shadow-highlight](https://developers.arcgis.com/javascript/latest/assets/references/core/views/shadow-highlight.avif)
184
184
  *
185
185
  * > [!WARNING]
186
186
  * >
package/views/types.d.ts CHANGED
@@ -7,14 +7,19 @@ import type Camera from "../Camera.js";
7
7
  import type Graphic from "../Graphic.js";
8
8
  import type Ground from "../Ground.js";
9
9
  import type Viewpoint from "../Viewpoint.js";
10
+ import type WebDocument2D from "../WebDocument2D.js";
11
+ import type WebScene from "../WebScene.js";
10
12
  import type Analysis from "../analysis/Analysis.js";
11
13
  import type Collection from "../core/Collection.js";
12
14
  import type Extent from "../geometry/Extent.js";
13
15
  import type Point from "../geometry/Point.js";
14
16
  import type Polygon from "../geometry/Polygon.js";
17
+ import type ImageryLayer from "../layers/ImageryLayer.js";
18
+ import type ImageryTileLayer from "../layers/ImageryTileLayer.js";
15
19
  import type Layer from "../layers/Layer.js";
16
20
  import type MediaLayer from "../layers/MediaLayer.js";
17
21
  import type RouteLayer from "../layers/RouteLayer.js";
22
+ import type WCSLayer from "../layers/WCSLayer.js";
18
23
  import type BuildingSublayer from "../layers/buildingSublayers/BuildingSublayer.js";
19
24
  import type SubtypeSublayer from "../layers/support/SubtypeSublayer.js";
20
25
  import type { ReadonlyArrayOrCollection } from "../core/Collection.js";
@@ -342,7 +347,7 @@ export interface FetchPopupFeaturesResult {
342
347
  *
343
348
  * @since 4.24
344
349
  */
345
- export type ViewHit = GraphicHit | MediaHit | RouteHit | LayerHit;
350
+ export type ViewHit = GraphicHit | MediaHit | RouteHit | LayerHit | RasterHit;
346
351
 
347
352
  /**
348
353
  * Object specification for the graphic hit result returned in [ViewHitTestResult](https://developers.arcgis.com/javascript/latest/references/core/views/types/#ViewHitTestResult) of the [MapView.hitTest()](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#hitTest) method.
@@ -463,6 +468,46 @@ export interface LayerHit {
463
468
  mapPoint: Point;
464
469
  }
465
470
 
471
+ /**
472
+ * Object specification for the raster hit results returned from [ImageryLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/ImageryLayer/), [ImageryTileLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/ImageryTileLayer/), or [WCSLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/WCSLayer/) in [ViewHitTestResult](https://developers.arcgis.com/javascript/latest/references/core/views/types/#ViewHitTestResult) of the [MapView.hitTest()](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#hitTest) method.
473
+ *
474
+ * @since 5.1
475
+ */
476
+ export interface RasterHit {
477
+ /** @since 5.1 */
478
+ type: "raster";
479
+ /**
480
+ * The raster layer that contains the element.
481
+ *
482
+ * @since 5.1
483
+ */
484
+ layer: ImageryTileLayer | ImageryLayer | WCSLayer;
485
+ /**
486
+ * The point geometry in the spatial reference of the view corresponding with the input screen coordinates.
487
+ *
488
+ * @since 5.1
489
+ */
490
+ mapPoint?: Point | null;
491
+ /**
492
+ * The pixel values at the hit location.
493
+ *
494
+ * @since 5.1
495
+ */
496
+ pixelValue: number[];
497
+ /**
498
+ * The band IDs corresponding to the pixel values.
499
+ *
500
+ * @since 5.1
501
+ */
502
+ bandIds: number[];
503
+ /**
504
+ * Indicates whether the pixel values represent magnitude and direction.
505
+ *
506
+ * @since 5.1
507
+ */
508
+ isMagnitudeAndDirection: boolean;
509
+ }
510
+
466
511
  /**
467
512
  * Object specification for the result of the [MapView.hitTest()](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#hitTest) method.
468
513
  *
@@ -979,4 +1024,16 @@ export interface AnalysisViewEvents {
979
1024
 
980
1025
  /** @since 5.0 */
981
1026
  export type SceneViewEventTypes = ViewEventTypes
982
- & AnalysisViewEvents;
1027
+ & AnalysisViewEvents;
1028
+
1029
+ /** @internal */
1030
+ export interface PersistableComponent {
1031
+ /**
1032
+ * Updates the web document (either a [WebDocument2D](https://developers.arcgis.com/javascript/latest/references/core/WebDocument2D/) or [WebScene](https://developers.arcgis.com/javascript/latest/references/core/WebScene/)) with the state of this component
1033
+ * so that it can be persisted as part of the web document.
1034
+ *
1035
+ * @param document - The web document to update with the state of this component.
1036
+ * @internal
1037
+ */
1038
+ updateWebDocument(document: WebDocument2D | WebScene): void;
1039
+ }
@@ -19,7 +19,7 @@ export interface DefaultUIProperties extends UIProperties, Partial<Pick<DefaultU
19
19
  * the upper region are stacked vertically, while widgets in the lower region are stacked horizontally.
20
20
  * The available positions are indicated in the image below.
21
21
  *
22
- * ![views-ui-layout](https://developers.arcgis.com/javascript/latest/assets/references/core/views/views-ui-layout.jpg)
22
+ * ![views-ui-layout](https://developers.arcgis.com/javascript/latest/assets/references/core/views/views-ui-layout.avif)
23
23
  *
24
24
  * Methods, such as [add()](https://developers.arcgis.com/javascript/latest/references/core/views/ui/DefaultUI/#add) and [move()](https://developers.arcgis.com/javascript/latest/references/core/views/ui/DefaultUI/#move) can be used to place widgets in specific
25
25
  * positions of the UI. In the image below, the [Search](https://developers.arcgis.com/javascript/latest/references/core/widgets/Search/) and
@@ -37,7 +37,7 @@ export interface DefaultUIProperties extends UIProperties, Partial<Pick<DefaultU
37
37
  * view.ui.add(bmToggleWidget, "bottom-right");
38
38
  * ```
39
39
  *
40
- * ![views-ui-demo](https://developers.arcgis.com/javascript/latest/assets/references/core/views/views-ui-demo.png)
40
+ * ![views-ui-demo](https://developers.arcgis.com/javascript/latest/assets/references/core/views/views-ui-demo.avif)
41
41
  *
42
42
  * If you dive into the doc of the methods [add()](https://developers.arcgis.com/javascript/latest/references/core/views/ui/DefaultUI/#add), [empty()](https://developers.arcgis.com/javascript/latest/references/core/views/ui/DefaultUI/#empty) and [move()](https://developers.arcgis.com/javascript/latest/references/core/views/ui/DefaultUI/#move), you'll notice some of the
43
43
  * possible values include "leading" and "trailing". That's because the ArcGIS Maps SDK for JavaScript provides
@@ -27,11 +27,11 @@ export interface EnvironmentProperties extends Partial<Pick<Environment, "atmosp
27
27
  *
28
28
  * Known Value | Example
29
29
  * ------------|---------
30
- * [SunnyWeather](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/SunnyWeather/) | ![scene-atmosphere](https://developers.arcgis.com/javascript/latest/assets/references/core/views/scene-weather-sunny.png)
31
- * [CloudyWeather](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/CloudyWeather/) | ![scene-atmosphere](https://developers.arcgis.com/javascript/latest/assets/references/core/views/scene-weather-cloudy.png)
32
- * [RainyWeather](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/RainyWeather/) | ![scene-atmosphere](https://developers.arcgis.com/javascript/latest/assets/references/core/views/scene-weather-rainy.png)
33
- * [SnowyWeather](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/SnowyWeather/) | ![scene-atmosphere](https://developers.arcgis.com/javascript/latest/assets/references/core/views/scene-weather-snowy.png)
34
- * [FoggyWeather](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/FoggyWeather/) | ![scene-atmosphere](https://developers.arcgis.com/javascript/latest/assets/references/core/views/scene-weather-foggy.png)
30
+ * [SunnyWeather](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/SunnyWeather/) | ![scene-atmosphere](https://developers.arcgis.com/javascript/latest/assets/references/core/views/scene-weather-sunny.avif)
31
+ * [CloudyWeather](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/CloudyWeather/) | ![scene-atmosphere](https://developers.arcgis.com/javascript/latest/assets/references/core/views/scene-weather-cloudy.avif)
32
+ * [RainyWeather](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/RainyWeather/) | ![scene-atmosphere](https://developers.arcgis.com/javascript/latest/assets/references/core/views/scene-weather-rainy.avif)
33
+ * [SnowyWeather](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/SnowyWeather/) | ![scene-atmosphere](https://developers.arcgis.com/javascript/latest/assets/references/core/views/scene-weather-snowy.avif)
34
+ * [FoggyWeather](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/FoggyWeather/) | ![scene-atmosphere](https://developers.arcgis.com/javascript/latest/assets/references/core/views/scene-weather-foggy.avif)
35
35
  *
36
36
  * @default SunnyWeather
37
37
  */
@@ -83,11 +83,11 @@ export default class Environment extends JSONSupport {
83
83
  *
84
84
  * Known Value | Example
85
85
  * ------------|---------
86
- * [SunnyWeather](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/SunnyWeather/) | ![scene-atmosphere](https://developers.arcgis.com/javascript/latest/assets/references/core/views/scene-weather-sunny.png)
87
- * [CloudyWeather](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/CloudyWeather/) | ![scene-atmosphere](https://developers.arcgis.com/javascript/latest/assets/references/core/views/scene-weather-cloudy.png)
88
- * [RainyWeather](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/RainyWeather/) | ![scene-atmosphere](https://developers.arcgis.com/javascript/latest/assets/references/core/views/scene-weather-rainy.png)
89
- * [SnowyWeather](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/SnowyWeather/) | ![scene-atmosphere](https://developers.arcgis.com/javascript/latest/assets/references/core/views/scene-weather-snowy.png)
90
- * [FoggyWeather](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/FoggyWeather/) | ![scene-atmosphere](https://developers.arcgis.com/javascript/latest/assets/references/core/views/scene-weather-foggy.png)
86
+ * [SunnyWeather](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/SunnyWeather/) | ![scene-atmosphere](https://developers.arcgis.com/javascript/latest/assets/references/core/views/scene-weather-sunny.avif)
87
+ * [CloudyWeather](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/CloudyWeather/) | ![scene-atmosphere](https://developers.arcgis.com/javascript/latest/assets/references/core/views/scene-weather-cloudy.avif)
88
+ * [RainyWeather](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/RainyWeather/) | ![scene-atmosphere](https://developers.arcgis.com/javascript/latest/assets/references/core/views/scene-weather-rainy.avif)
89
+ * [SnowyWeather](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/SnowyWeather/) | ![scene-atmosphere](https://developers.arcgis.com/javascript/latest/assets/references/core/views/scene-weather-snowy.avif)
90
+ * [FoggyWeather](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/FoggyWeather/) | ![scene-atmosphere](https://developers.arcgis.com/javascript/latest/assets/references/core/views/scene-weather-foggy.avif)
91
91
  *
92
92
  * @default SunnyWeather
93
93
  */
@@ -16,7 +16,7 @@ export interface GlowProperties extends Partial<Pick<Glow, "intensity">> {}
16
16
  * materials with an emissive color or factor). See the [Visualization with light-emitting symbols](https://developers.arcgis.com/javascript/latest/sample-code/light-emitting-symbols/) sample to learn how
17
17
  * to use emissive materials and glow to highlight features and build nighttime scenes.
18
18
  *
19
- * |<img src="https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbol3Dmaterial/emissiveStrength1.png" style="width:250px;"/>|<img src="https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbol3Dmaterial/glow0.png" style="width:250px;"/>|<img src="https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbol3Dmaterial/glow1.png" style="width:250px;"/>|
19
+ * |<img src="https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbol3Dmaterial/emissiveStrength1.avif" style="width:250px;"/>|<img src="https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbol3Dmaterial/glow0.avif" style="width:250px;"/>|<img src="https://developers.arcgis.com/javascript/latest/assets/references/core/symbols/symbol3Dmaterial/glow1.avif" style="width:250px;"/>|
20
20
  * | ---------- | ----------- | ----------- |
21
21
  * | `glow: null`|`glow: { intensity: 0 }`|`glow: { intensity: 1 }`|
22
22
  * | Without glow, emissive elements display with a bright, natural appearance. | Glow enables a more stylized look of emissive elements across the scene. `intensity:0` adds a subtle glow only. | `intensity:1` adds an exaggerated glow, helpful for strong emphasis of emissive elements.
@@ -23,7 +23,7 @@ export interface ColorBackgroundProperties extends BackgroundProperties {
23
23
  *
24
24
  * The default for ColorBackground is a fully opaque, black color. The example below shows how to change this:
25
25
  *
26
- * ![background-color](https://developers.arcgis.com/javascript/latest/assets/references/core/views/background-color.png)
26
+ * ![background-color](https://developers.arcgis.com/javascript/latest/assets/references/core/views/background-color.avif)
27
27
  *
28
28
  * ```js
29
29
  * const view = new SceneView({
@@ -86,7 +86,7 @@ export interface AreaMeasurement2DProperties extends WidgetProperties, Partial<P
86
86
  * * In geographic coordinate systems (GCS) and in Web Mercator, they are computed geodetically.
87
87
  * * In projected coordinate systems (PCS), apart from Web Mercator, they are computed in a Euclidean manner (in their respective PCS).
88
88
  *
89
- * [![measurement-area-2d](https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/AreaMeasurement2D_widget.png)](https://developers.arcgis.com/javascript/latest/sample-code/widgets-measurement-2d/)
89
+ * [![measurement-area-2d](https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/AreaMeasurement2D_widget.avif)](https://developers.arcgis.com/javascript/latest/sample-code/widgets-measurement-2d/)
90
90
  *
91
91
  * ### Undo / Redo
92
92
  *
@@ -76,7 +76,7 @@ export interface AreaMeasurement3DProperties extends WidgetProperties, Partial<P
76
76
  * The AreaMeasurement3D widget calculates and displays the area and perimeter of a polygon.
77
77
  * This widget can be used in a [SceneView](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/) to measure the area and perimeter of a polygon.
78
78
  *
79
- * [![measurement-line-3d](https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/3D_AreaMeasurement_widget.png)](https://developers.arcgis.com/javascript/latest/sample-code/widgets-measurement-3d/)
79
+ * [![measurement-line-3d](https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/3D_AreaMeasurement_widget.avif)](https://developers.arcgis.com/javascript/latest/sample-code/widgets-measurement-3d/)
80
80
  *
81
81
  * How the area and perimeter are computed depends on the scene's spatial reference and the length of the measured perimeter.
82
82
  *
@@ -95,7 +95,7 @@ export interface AreaMeasurement3DProperties extends WidgetProperties, Partial<P
95
95
  * 2. If the vertices have varying z-values and they create a **non-planar** surface, the visualization and the
96
96
  * measurements show the area and perimeter that are projected to a horizontal plane.
97
97
  *
98
- * ![area-measurement-3d-types](https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/area-measurement-3d-types.png)
98
+ * ![area-measurement-3d-types](https://developers.arcgis.com/javascript/latest/assets/references/core/widgets/area-measurement-3d-types.avif)
99
99
  *
100
100
  * When the widget is active, a horizontal "laser" line is drawn which indicates the height at the current mouse position.
101
101
  * This line can help in analyzing the heights of objects relative to each other and the terrain.