@arcgis/core 5.1.0-next.7 → 5.1.0-next.9
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.
- package/Basemap.d.ts +3 -3
- package/Map.d.ts +1 -1
- package/PopupTemplate.d.ts +4 -4
- package/README.md +1 -1
- package/analysis/AreaMeasurementAnalysis.d.ts +2 -2
- package/analysis/DirectLineMeasurementAnalysis.d.ts +2 -2
- package/analysis/ElevationProfileAnalysis.d.ts +2 -2
- package/analysis/LineOfSightAnalysis.d.ts +2 -2
- package/analysis/LineOfSightAnalysisObserver.d.ts +1 -1
- package/analysis/LineOfSightAnalysisTarget.d.ts +1 -1
- package/analysis/ShadowCast/DiscreteOptions.d.ts +1 -1
- package/analysis/ShadowCast/MinDurationOptions.d.ts +1 -1
- package/analysis/ShadowCast/TotalDurationOptions.d.ts +1 -1
- package/analysis/ShadowCastAnalysis.d.ts +4 -4
- package/analysis/SliceAnalysis.d.ts +2 -2
- package/analysis/SlicePlane.d.ts +2 -2
- package/analysis/VolumeMeasurementAnalysis.d.ts +5 -0
- package/arcade/featureset/sources/FeatureLayerMemory.js +1 -1
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/0485ae33a8b327974751.js +1 -0
- package/assets/esri/core/workers/chunks/147d0f7a2e471442c95c.js +2 -0
- package/assets/esri/core/workers/chunks/2431a5480f0d22f00e00.js +1 -0
- package/assets/esri/core/workers/chunks/2541724a29f6058718f8.js +1 -0
- package/assets/esri/core/workers/chunks/25c189e894927099c239.js +1 -0
- package/assets/esri/core/workers/chunks/2e50b7651f8c037bb3b0.js +1 -0
- package/assets/esri/core/workers/chunks/{a5486bfdd6a51dc5d705.js → 3114cbf7298239e1269d.js} +1 -1
- package/assets/esri/core/workers/chunks/{e4b9b2aee458e3f3caae.js → 319226db47849acbe321.js} +1 -1
- package/assets/esri/core/workers/chunks/360dd5cd63d132b5c7d5.js +2 -0
- package/assets/esri/core/workers/chunks/4bd98d025bcd713eddca.js +2 -0
- package/assets/esri/core/workers/chunks/{15202aa51407a0d925c4.js → 4ee618a256b06221ea8f.js} +16 -16
- package/assets/esri/core/workers/chunks/{b52c5ef90f2678b9b856.js → 5aab1db039b2b61c6c6b.js} +1 -1
- package/assets/esri/core/workers/chunks/768ee8d940b5eb353ec3.js +1 -0
- package/assets/esri/core/workers/chunks/{e2661d39c48376163adf.js → 77fc225259f1c5800095.js} +1 -1
- package/assets/esri/core/workers/chunks/7a85e08cb968586f8d74.js +2 -0
- package/assets/esri/core/workers/chunks/{1d1afb5d8d53c9cb7fff.js → 7cf8fc491877d59caf3a.js} +1 -1
- package/assets/esri/core/workers/chunks/88fe7d75dc3b619b8543.js +1 -0
- package/assets/esri/core/workers/chunks/8ba1c7919e898ef4557f.js +1 -0
- package/assets/esri/core/workers/chunks/{17a9af97f8acc93b12ae.js → 8c5e834c2d243fc369fe.js} +1 -1
- package/assets/esri/core/workers/chunks/ad688eee6a9f2be6df4a.js +1 -0
- package/assets/esri/core/workers/chunks/aefc089928ada18bc4d4.js +2 -0
- package/assets/esri/core/workers/chunks/{d43053e655694dce9411.js → c064025d0dc69bb44f0d.js} +1 -1
- package/assets/esri/core/workers/chunks/{fb1d5e61ea27514f0422.js → ca6a65f149e7f34dab9c.js} +1 -1
- package/assets/esri/core/workers/chunks/cc245eb1c5aaaac5916e.js +1 -0
- package/assets/esri/core/workers/chunks/d84af069f1057044c879.js +1 -0
- package/assets/esri/core/workers/chunks/da40c63408affee86ac4.js +1 -0
- package/assets/esri/core/workers/chunks/{10e4004603502487f805.js → dc65843654dc25bd8f97.js} +1 -1
- package/assets/esri/core/workers/chunks/e03bf0ca545dce221ea0.js +1 -0
- package/assets/esri/core/workers/chunks/{dcf09b8f9af63fafb87b.js → e1827e86226bf9a0f4ea.js} +1 -1
- package/assets/esri/core/workers/chunks/{1f61e5aca7d1641b12c9.js → e880d7738155a4de4b0e.js} +1 -1
- package/assets/esri/core/workers/chunks/{8dff816ca66a316646d9.js → ee2ae61fc747b5f9827b.js} +1 -1
- package/assets/esri/core/workers/chunks/f0e7207fd2c899b9fe9f.js +1 -0
- package/assets/esri/core/workers/chunks/f3022255054e8d09c38b.js +1 -0
- package/assets/esri/core/workers/chunks/{fb703fde2dde16a57577.js → f7e25a85a79c4e3c1c9f.js} +1 -1
- package/assets/esri/core/workers/chunks/{76625d7718821efb8a55.js → fb57a07b76580dcdde46.js} +1 -1
- package/assets/esri/libs/lyr3d/lyr3DMain.wasm +0 -0
- package/assets/esri/libs/parquet/pkg/bundle_bg.wasm +0 -0
- package/chunks/HUDMaterial.glsl.js +56 -51
- package/chunks/LineCallout.glsl.js +1 -1
- package/chunks/PointRenderer.glsl.js +4 -3
- package/config.d.ts +3 -3
- package/config.js +1 -1
- package/core/Accessor.d.ts +20 -4
- package/core/accessorSupport/decorators.d.ts +1 -0
- package/core/accessorSupport/types.d.ts +2 -5
- package/core/has.js +1 -1
- package/core/reactiveUtils.d.ts +1 -1
- package/core/screenUtils.js +1 -1
- package/geometry/SpatialReference.d.ts +47 -7
- package/geometry/support/meshUtils/centerAt.js +1 -1
- package/graphic/BuildingGraphicOrigin.d.ts +1 -1
- package/graphic/CSVGraphicOrigin.d.ts +2 -2
- package/graphic/CatalogGraphicOrigin.d.ts +2 -2
- package/graphic/FeatureGraphicOrigin.d.ts +2 -2
- package/graphic/GeoJSONGraphicOrigin.d.ts +2 -2
- package/graphic/GeoRSSGraphicOrigin.d.ts +1 -1
- package/graphic/GraphicOrigin.d.ts +2 -2
- package/graphic/MapNotesGraphicOrigin.d.ts +1 -1
- package/graphic/OGCFeatureGraphicOrigin.d.ts +2 -2
- package/graphic/OrientedImageryGraphicOrigin.d.ts +2 -2
- package/graphic/ParquetGraphicOrigin.d.ts +1 -1
- package/graphic/PointCloudGraphicOrigin.d.ts +1 -1
- package/graphic/SceneGraphicOrigin.d.ts +1 -1
- package/graphic/StreamGraphicOrigin.d.ts +2 -2
- package/graphic/SubtypeGroupGraphicOrigin.d.ts +1 -1
- package/graphic/VectorTileGraphicOrigin.d.ts +1 -1
- package/graphic/VoxelGraphicOrigin.d.ts +1 -1
- package/graphic/WFSGraphicOrigin.d.ts +2 -2
- package/interfaces.d.ts +7 -7
- package/kernel.js +1 -1
- package/layers/BuildingSceneLayer.d.ts +2 -2
- package/layers/CSVLayer.d.ts +2 -2
- package/layers/DimensionLayer.d.ts +4 -4
- package/layers/FeatureLayer.d.ts +4 -4
- package/layers/GeoJSONLayer.d.ts +4 -4
- package/layers/GeoRSSLayer.d.ts +2 -2
- package/layers/ImageryTileLayer.d.ts +5 -5
- package/layers/Layer.d.ts +10 -4
- package/layers/LineOfSightLayer.d.ts +3 -3
- package/layers/Lyr3DWasmPerSceneView.js +1 -1
- package/layers/MapImageLayer.d.ts +2 -2
- package/layers/MapNotesLayer.d.ts +1 -1
- package/layers/MediaLayer.d.ts +1 -1
- package/layers/OGCFeatureLayer.d.ts +2 -2
- package/layers/OpenStreetMapLayer.d.ts +1 -1
- package/layers/ParquetLayer.d.ts +6 -8
- package/layers/ParquetLayer.js +1 -1
- package/layers/PointCloudLayer.d.ts +2 -2
- package/layers/RouteLayer.d.ts +1 -1
- package/layers/SceneLayer.d.ts +2 -2
- package/layers/TileLayer.d.ts +2 -2
- package/layers/VideoLayer.d.ts +5 -5
- package/layers/ViewshedLayer.d.ts +4 -4
- package/layers/WFSLayer.d.ts +6 -8
- package/layers/WFSLayer.js +1 -1
- package/layers/WMSLayer.d.ts +2 -2
- package/layers/buildingSublayers/BuildingSublayer.d.ts +1 -1
- package/layers/graphics/sources/support/ParquetSourceWorker.js +1 -1
- package/layers/mixins/FeatureLayerBase.d.ts +3 -3
- package/layers/raster/datasets/MRFRaster.js +1 -1
- package/layers/support/AggregateField.d.ts +1 -1
- package/layers/support/FieldConfiguration.d.ts +2 -2
- package/layers/support/KMLSublayer.d.ts +1 -1
- package/layers/support/LabelClass.d.ts +2 -2
- package/layers/support/Sublayer.d.ts +1 -1
- package/layers/support/SubtypeSublayer.d.ts +1 -1
- package/layers/support/WMSSublayer.d.ts +1 -1
- package/layers/support/WMTSStyle.d.ts +1 -1
- package/layers/support/WMTSSublayer.d.ts +1 -1
- package/layers/support/serviceCapabilitiesUtils.js +1 -1
- package/layers/support/timeSupport.js +1 -1
- package/layers/support/types.d.ts +11 -4
- package/layers/types.d.ts +1 -1
- package/networks/Network.js +1 -1
- package/package.json +2 -2
- package/renderers/ClassBreaksRenderer.d.ts +2 -2
- package/renderers/DictionaryRenderer.d.ts +1 -1
- package/renderers/DotDensityRenderer.d.ts +3 -3
- package/renderers/HeatmapRenderer.d.ts +3 -3
- package/renderers/PieChartRenderer.d.ts +1 -1
- package/renderers/SimpleRenderer.d.ts +2 -2
- package/renderers/UniqueValueRenderer.d.ts +2 -2
- package/renderers/VectorFieldRenderer.d.ts +1 -1
- package/renderers/support/AttributeColorInfo.d.ts +2 -2
- package/renderers/support/AuthoringInfo.d.ts +6 -6
- package/renderers/support/ClassBreakInfo.d.ts +1 -1
- package/renderers/support/DotDensityLegendOptions.d.ts +1 -1
- package/renderers/support/HeatmapLegendOptions.d.ts +1 -1
- package/renderers/support/OthersCategory.d.ts +1 -1
- package/renderers/support/RendererLegendOptions.d.ts +1 -1
- package/renderers/support/UniqueValueClass.d.ts +1 -1
- package/renderers/support/UniqueValueGroup.d.ts +1 -1
- package/renderers/support/UniqueValueInfo.d.ts +1 -1
- package/renderers/types.d.ts +2 -2
- package/renderers/visualVariables/SizeVariable.d.ts +2 -2
- package/renderers/visualVariables/VisualVariable.d.ts +3 -3
- package/renderers/visualVariables/support/ColorSizeStop.d.ts +1 -1
- package/renderers/visualVariables/support/ColorStop.d.ts +1 -1
- package/renderers/visualVariables/support/OpacityStop.d.ts +1 -1
- package/renderers/visualVariables/support/SizeStop.d.ts +1 -1
- package/renderers/visualVariables/support/VisualVariableLegendOptions.d.ts +1 -1
- package/rest/featureService/FeatureService.d.ts +89 -36
- package/rest/featureService/types.d.ts +30 -2
- package/rest/print.d.ts +3 -3
- package/rest/support/RouteResult.d.ts +1 -1
- package/smartMapping/raster/renderers/flow.d.ts +1 -1
- package/smartMapping/renderers/color.d.ts +5 -5
- package/smartMapping/renderers/dotDensity.d.ts +1 -1
- package/smartMapping/renderers/opacity.d.ts +2 -2
- package/smartMapping/renderers/pieChart.d.ts +2 -2
- package/smartMapping/renderers/predominance.d.ts +2 -2
- package/smartMapping/renderers/relationship.d.ts +7 -7
- package/smartMapping/renderers/size.d.ts +5 -5
- package/smartMapping/renderers/type.d.ts +4 -4
- package/smartMapping/renderers/univariateColorSize.d.ts +4 -4
- package/smartMapping/statistics/types.d.ts +1 -1
- package/support/MapFloorInfo.d.ts +8 -8
- package/support/revision.js +1 -1
- package/support/timeUtils.d.ts +2 -1
- package/symbols/CIMSymbol.d.ts +58 -4
- package/symbols/PictureFillSymbol.d.ts +53 -0
- package/symbols/PictureFillSymbol.js +1 -1
- package/symbols/PictureMarkerSymbol.d.ts +55 -0
- package/symbols/Symbol3D.d.ts +49 -0
- package/symbols/cim/CIMSymbolHelper.js +1 -1
- package/symbols/cim/types.d.ts +1 -1
- package/symbols/support/symbolUtils.d.ts +1 -1
- package/versionManagement/VersionManagementService.d.ts +2 -2
- package/versionManagement/VersioningState.d.ts +1 -1
- package/views/2d/engine/vectorTiles/SourceLayerData.js +1 -1
- package/views/2d/engine/vectorTiles/SpriteMosaic.js +1 -1
- package/views/2d/engine/vectorTiles/TileHandler3D.js +1 -1
- package/views/2d/engine/vectorTiles/TileManager.js +1 -1
- package/views/2d/engine/vectorTiles/VectorTile.js +1 -1
- package/views/2d/engine/vectorTiles/VectorTileContainer.js +1 -1
- package/views/2d/engine/vectorTiles/VectorTileFeatureIndex.js +1 -1
- package/views/2d/engine/vectorTiles/VectorTileRendererHelper3D.js +1 -1
- package/views/2d/engine/vectorTiles/buckets/BaseBucket.js +1 -1
- package/views/2d/engine/vectorTiles/buckets/SymbolBucket.js +1 -1
- package/views/2d/engine/vectorTiles/constants.js +1 -1
- package/views/2d/engine/vectorTiles/decluttering/SymbolRepository.js +1 -1
- package/views/2d/engine/vectorTiles/decluttering/jobsUtil.js +1 -1
- package/views/2d/engine/vectorTiles/style/StyleLayer.js +1 -1
- package/views/2d/engine/webgl/meshing/Mesh.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueSymbol.js +1 -1
- package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
- package/views/2d/interactive/editingTools/draw/DrawToolRenderer2D.js +1 -1
- package/views/2d/layers/FeatureLikeLayerView2D.js +1 -1
- package/views/2d/layers/VectorTileLayerView2D.js +1 -1
- package/views/2d/layers/features/layerAdapters/InMemoryLayerAdapter.js +1 -1
- package/views/2d/layers/features/schema/SourceSchema.js +1 -1
- package/views/3d/analysis/AreaMeasurementAnalysisView3D.d.ts +2 -2
- package/views/3d/analysis/DirectLineMeasurementAnalysisView3D.d.ts +2 -2
- package/views/3d/analysis/LineOfSightAnalysisView3D.d.ts +2 -2
- package/views/3d/analysis/ShadowCastAnalysisView3D.d.ts +1 -1
- package/views/3d/analysis/SliceAnalysisView3D.d.ts +2 -2
- package/views/3d/environment/SunLighting.js +1 -1
- package/views/3d/environment/VirtualLighting.js +1 -1
- package/views/3d/interactive/editingTools/ManipulatedObject3DGraphic.js +1 -1
- package/views/3d/interactive/visualElements/PointVisualElement.js +1 -1
- package/views/3d/layers/FeatureLikeLayerViewBase3D.js +1 -1
- package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
- package/views/3d/layers/graphics/Deconflictor.js +1 -1
- package/views/3d/layers/graphics/Graphics3DIconSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DLineCalloutSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DMeshObject3DGraphicLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DTextSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/LabelParameters.js +1 -1
- package/views/3d/layers/graphics/Labeler.js +1 -1
- package/views/3d/layers/graphics/elevationAlignmentUtils.js +1 -1
- package/views/3d/layers/i3s/PointCloudRenderer.js +1 -1
- package/views/3d/state/GoToOperation.js +1 -1
- package/views/3d/state/ViewStateManager.js +1 -1
- package/views/3d/state/helpers/SceneIntersectionHelper.js +1 -1
- package/views/3d/support/GaussianSplatSortWorker.js +1 -1
- package/views/3d/support/gaussianSplatting/GaussianSplatIntersectionHandler.js +1 -1
- package/views/3d/terrain/TerrainSurface.js +1 -1
- package/views/3d/terrain/Tile.js +1 -1
- package/views/3d/webgl/ManagedColorAttachment.js +1 -1
- package/views/3d/webgl/ManagedDepthAttachment.js +1 -1
- package/views/3d/webgl/ManagedFBO.js +1 -1
- package/views/3d/webgl/ManagedFBOAttachment.js +1 -1
- package/views/3d/webgl/ManagedFBOResource.d.ts +3 -1
- package/views/3d/webgl/ManagedFBOResource.js +1 -1
- package/views/3d/webgl-engine/Stage.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/hud/HUD.glsl.js +2 -4
- package/views/3d/webgl-engine/effects/smaa/SMAA.js +1 -1
- package/views/3d/webgl-engine/lib/GeometryUtil.js +1 -1
- package/views/3d/webgl-engine/lib/GridLocalOriginFactory.js +1 -1
- package/views/3d/webgl-engine/materials/HUDMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/LineCalloutMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/internal/bufferWriterUtils.js +1 -1
- package/views/3d/webgl-engine/materials/renderers/MergedBuffer.js +1 -1
- package/views/3d/webgl-engine/materials/renderers/PerBufferData.js +1 -1
- package/views/3d/webgl-engine/parts/RenderView.js +1 -1
- package/views/3d/webgl-engine/shaders/HUDMaterial.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/HUDMaterialTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/HUDMaterialTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/LineCalloutTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/LineCalloutTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/PointRendererTechnique.js +1 -1
- package/views/DOMContainer.js +1 -1
- package/views/VideoView.d.ts +1 -1
- package/views/View2D.d.ts +1 -1
- package/views/draw/DrawTool.js +2 -0
- package/views/draw/plugins/BezierSegmentPlugin.js +1 -1
- package/views/draw/plugins/PluginBase.js +1 -1
- package/views/draw/plugins/PolylinePlugin.js +1 -1
- package/views/draw/support/InteractiveHandle.js +1 -1
- package/views/draw/support/PluginContext.js +2 -0
- package/views/draw/support/drawToolUtils.js +2 -0
- package/views/draw/support/input/drawToolInput.js +2 -0
- package/views/draw/support/managers/GlobalStateManager.js +2 -0
- package/views/draw/support/managers/InteractiveHandleManager.js +1 -1
- package/views/draw/support/managers/MeasurementManager.js +1 -1
- package/views/draw/support/managers/PluginLifecycleManager.js +1 -1
- package/views/draw/support/managers/SurfaceManager.js +1 -1
- package/views/draw/support/managers/TooltipManager.js +1 -1
- package/views/draw/support/types.d.ts +58 -30
- package/views/interactive/keybindings.js +1 -1
- package/views/layers/CatalogDynamicGroupLayerView.d.ts +2 -2
- package/views/layers/CatalogFootprintLayerView.d.ts +2 -2
- package/views/layers/CatalogLayerView.d.ts +2 -2
- package/views/layers/FeatureLikeLayerView.d.ts +4 -2
- package/views/layers/FeatureLikeLayerView.js +1 -1
- package/views/layers/GeoJSONLayerView.d.ts +2 -2
- package/views/layers/GroupLayerView.d.ts +2 -2
- package/views/layers/ImageryLayerView.d.ts +2 -2
- package/views/layers/ImageryTileLayerView.d.ts +2 -2
- package/views/layers/LayerView.d.ts +5 -5
- package/views/layers/LineOfSightLayerView.d.ts +2 -2
- package/views/layers/MediaLayerView.d.ts +2 -2
- package/views/layers/MediaLayerViewMixin.d.ts +1 -1
- package/views/layers/OGCFeatureLayerView.d.ts +2 -2
- package/views/layers/OrientedImageryLayerView.d.ts +2 -2
- package/views/layers/StreamLayerView.d.ts +2 -2
- package/views/layers/WFSLayerView.d.ts +2 -2
- package/views/support/angularMeasurementUtils.js +1 -1
- package/views/ui/DefaultUI.js +1 -1
- package/{views/3d/environment → webscene}/Glow.d.ts +2 -2
- package/webscene/Glow.js +2 -0
- package/webscene/SunLighting.d.ts +2 -2
- package/webscene/SunLighting.js +1 -1
- package/webscene/VirtualLighting.d.ts +2 -2
- package/webscene/VirtualLighting.js +1 -1
- package/widgets/AreaMeasurement2D/AreaMeasurement2DViewModel.d.ts +2 -2
- package/widgets/AreaMeasurement2D.d.ts +1 -1
- package/widgets/AreaMeasurement3D/AreaMeasurement3DViewModel.d.ts +6 -6
- package/widgets/AreaMeasurement3D.d.ts +3 -3
- package/widgets/Attachments/types.d.ts +2 -2
- package/widgets/Attachments.d.ts +1 -1
- package/widgets/Attribution.d.ts +1 -1
- package/widgets/BasemapGallery/BasemapGalleryViewModel.d.ts +2 -2
- package/widgets/BasemapGallery.d.ts +2 -2
- package/widgets/BasemapLayerList/BasemapLayerListViewModel.d.ts +2 -2
- package/widgets/BasemapLayerList.d.ts +1 -1
- package/widgets/BasemapToggle/BasemapToggleViewModel.d.ts +3 -3
- package/widgets/BasemapToggle.d.ts +1 -1
- package/widgets/BatchAttributeForm.d.ts +1 -1
- package/widgets/Bookmarks/BookmarksViewModel.d.ts +3 -3
- package/widgets/Bookmarks.d.ts +1 -1
- package/widgets/BuildingExplorer/BuildingExplorerViewModel.d.ts +4 -4
- package/widgets/BuildingExplorer/BuildingLevel.d.ts +4 -4
- package/widgets/BuildingExplorer/BuildingNumericFilterViewModel.d.ts +2 -2
- package/widgets/BuildingExplorer/BuildingPhase.d.ts +4 -4
- package/widgets/BuildingExplorer.d.ts +4 -4
- package/widgets/CatalogLayerList/CatalogLayerListViewModel.d.ts +2 -2
- package/widgets/CatalogLayerList.d.ts +1 -1
- package/widgets/Compass/CompassViewModel.d.ts +3 -3
- package/widgets/Compass.d.ts +1 -1
- package/widgets/CoordinateConversion/CoordinateConversionViewModel.d.ts +3 -3
- package/widgets/CoordinateConversion.d.ts +2 -2
- package/widgets/Daylight/DaylightViewModel.d.ts +4 -4
- package/widgets/Daylight/VisibleElements.d.ts +2 -2
- package/widgets/Daylight/types.d.ts +2 -2
- package/widgets/Daylight.d.ts +3 -3
- package/widgets/DirectLineMeasurement3D/DirectLineMeasurement3DViewModel.d.ts +6 -6
- package/widgets/DirectLineMeasurement3D.d.ts +3 -3
- package/widgets/DirectionalPad/DirectionalPadViewModel.d.ts +3 -3
- package/widgets/DirectionalPad.d.ts +1 -1
- package/widgets/Directions/DirectionsViewModel.d.ts +2 -2
- package/widgets/Directions.d.ts +2 -2
- package/widgets/DistanceMeasurement2D/DistanceMeasurement2DViewModel.d.ts +2 -2
- package/widgets/DistanceMeasurement2D.d.ts +1 -1
- package/widgets/Editor/EditorViewModel.d.ts +2 -2
- package/widgets/Editor.d.ts +1 -1
- package/widgets/ElevationProfile/ElevationProfileLine.d.ts +3 -3
- package/widgets/ElevationProfile/ElevationProfileLineGround.d.ts +3 -3
- package/widgets/ElevationProfile/ElevationProfileLineInput.d.ts +3 -3
- package/widgets/ElevationProfile/ElevationProfileLineQuery.d.ts +3 -3
- package/widgets/ElevationProfile/ElevationProfileLineView.d.ts +4 -4
- package/widgets/ElevationProfile/ElevationProfileViewModel.d.ts +3 -3
- package/widgets/ElevationProfile/ElevationProfileVisibleElements.d.ts +2 -2
- package/widgets/ElevationProfile/types.d.ts +9 -9
- package/widgets/ElevationProfile.d.ts +3 -3
- package/widgets/Expand/ExpandViewModel.d.ts +4 -4
- package/widgets/Expand.d.ts +1 -1
- package/widgets/Feature/FeatureViewModel.d.ts +3 -3
- package/widgets/Feature.d.ts +1 -1
- package/widgets/FeatureForm.d.ts +1 -1
- package/widgets/FeatureTable/FeatureTableViewModel.d.ts +24 -5
- package/widgets/FeatureTable/FeatureTableViewModel.js +1 -1
- package/widgets/FeatureTable.d.ts +36 -4
- package/widgets/FeatureTable.js +1 -1
- package/widgets/FeatureTemplates.d.ts +1 -1
- package/widgets/Features/FeaturesViewModel.d.ts +3 -3
- package/widgets/Features/FeaturesVisibleElements.d.ts +1 -1
- package/widgets/Features.d.ts +1 -1
- package/widgets/FloorFilter/FloorFilterViewModel.d.ts +2 -2
- package/widgets/FloorFilter.d.ts +1 -1
- package/widgets/Fullscreen/FullscreenViewModel.d.ts +2 -2
- package/widgets/Fullscreen.d.ts +1 -1
- package/widgets/Histogram.d.ts +1 -1
- package/widgets/HistogramRangeSlider.d.ts +1 -1
- package/widgets/Home/HomeViewModel.d.ts +3 -3
- package/widgets/Home.d.ts +1 -1
- package/widgets/LayerList/LayerListViewModel.d.ts +2 -2
- package/widgets/LayerList.d.ts +1 -1
- package/widgets/Legend/LegendViewModel.d.ts +3 -3
- package/widgets/Legend/support/ActiveLayerInfo.d.ts +1 -1
- package/widgets/Legend.d.ts +1 -1
- package/widgets/LineOfSight/LineOfSightTarget.d.ts +1 -1
- package/widgets/LineOfSight/LineOfSightViewModel.d.ts +4 -4
- package/widgets/LineOfSight.d.ts +3 -3
- package/widgets/LinkChartLayoutSwitcher/LinkChartLayoutSwitcherViewModel.d.ts +2 -2
- package/widgets/Locate/LocateViewModel.d.ts +4 -4
- package/widgets/Locate.d.ts +1 -1
- package/widgets/Measurement.d.ts +1 -1
- package/widgets/NavigationToggle/NavigationToggleViewModel.d.ts +2 -2
- package/widgets/NavigationToggle.d.ts +2 -2
- package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.d.ts +2 -2
- package/widgets/OrientedImageryViewer.d.ts +1 -1
- package/widgets/OrientedImageryViewer.js +1 -1
- package/widgets/Popup/PopupViewModel.d.ts +2 -2
- package/widgets/Popup/PopupVisibleElements.d.ts +1 -1
- package/widgets/Popup.d.ts +1 -1
- package/widgets/Print/CustomTemplate.d.ts +4 -4
- package/widgets/Print/PrintViewModel.d.ts +4 -4
- package/widgets/Print/TemplateOptions.d.ts +3 -3
- package/widgets/Print.d.ts +2 -2
- package/widgets/ScaleBar/ScaleBarViewModel.d.ts +3 -3
- package/widgets/ScaleBar.d.ts +1 -1
- package/widgets/ScaleRangeSlider/ScaleRangeSliderViewModel.d.ts +2 -2
- package/widgets/ScaleRangeSlider.d.ts +1 -1
- package/widgets/Search/LayerSearchSource.d.ts +3 -3
- package/widgets/Search/LocatorSearchSource.d.ts +3 -3
- package/widgets/Search/SearchResultRenderer.d.ts +3 -3
- package/widgets/Search/SearchSource.d.ts +3 -3
- package/widgets/Search/SearchViewModel.d.ts +3 -3
- package/widgets/Search.d.ts +1 -1
- package/widgets/ShadowCast/DiscreteOptions.d.ts +5 -5
- package/widgets/ShadowCast/DurationOptions.d.ts +5 -5
- package/widgets/ShadowCast/ShadowCastViewModel.d.ts +6 -6
- package/widgets/ShadowCast/ShadowCastVisibleElements.d.ts +2 -2
- package/widgets/ShadowCast/ThresholdOptions.d.ts +5 -5
- package/widgets/ShadowCast/types.d.ts +2 -2
- package/widgets/ShadowCast.d.ts +2 -2
- package/widgets/Sketch/SketchViewModel.d.ts +52 -2
- package/widgets/Sketch/SketchViewModel.js +1 -1
- package/widgets/Sketch/support/PluginManager.js +2 -0
- package/widgets/Sketch.d.ts +1 -1
- package/widgets/Sketch.js +1 -1
- package/widgets/Slice/SliceViewModel.d.ts +4 -4
- package/widgets/Slice.d.ts +3 -3
- package/widgets/Slider.d.ts +1 -1
- package/widgets/Swipe/SwipeViewModel.d.ts +2 -2
- package/widgets/Swipe.d.ts +2 -2
- package/widgets/TableList/TableListViewModel.d.ts +2 -2
- package/widgets/TableList.d.ts +1 -1
- package/widgets/TimeSlider/TimeSliderViewModel.d.ts +2 -2
- package/widgets/TimeSlider.d.ts +1 -1
- package/widgets/TimeZoneLabel.d.ts +1 -1
- package/widgets/Track/TrackViewModel.d.ts +3 -3
- package/widgets/Track.d.ts +1 -1
- package/widgets/UtilityNetworkAssociations/UtilityNetworkAssociationsViewModel.d.ts +2 -2
- package/widgets/UtilityNetworkAssociations.d.ts +1 -1
- package/widgets/UtilityNetworkTrace/UtilityNetworkTraceViewModel.d.ts +2 -2
- package/widgets/UtilityNetworkTrace.d.ts +1 -1
- package/widgets/UtilityNetworkValidateTopology/UtilityNetworkValidateTopologyViewModel.d.ts +2 -2
- package/widgets/UtilityNetworkValidateTopology.d.ts +1 -1
- package/widgets/ValuePicker.d.ts +1 -1
- package/widgets/VideoPlayer/VideoPlayerViewModel.d.ts +2 -2
- package/widgets/VideoPlayer.d.ts +1 -1
- package/widgets/Weather/VisibleElements.d.ts +2 -2
- package/widgets/Weather/WeatherViewModel.d.ts +3 -3
- package/widgets/Weather/types.d.ts +1 -1
- package/widgets/Weather.d.ts +3 -3
- package/widgets/Zoom/ZoomViewModel.d.ts +2 -2
- package/widgets/Zoom.d.ts +1 -1
- package/widgets/smartMapping/BinaryColorSizeSlider.d.ts +1 -1
- package/widgets/smartMapping/ClassedColorSlider.d.ts +1 -1
- package/widgets/smartMapping/ClassedSizeSlider.d.ts +1 -1
- package/widgets/smartMapping/ColorSizeSlider.d.ts +1 -1
- package/widgets/smartMapping/ColorSlider.d.ts +1 -1
- package/widgets/smartMapping/HeatmapSlider.d.ts +1 -1
- package/widgets/smartMapping/OpacitySlider.d.ts +1 -1
- package/widgets/smartMapping/SizeSlider.d.ts +1 -1
- package/widgets/support/GridControls/GridControlsViewModel.d.ts +1 -1
- package/widgets/support/GridControls.d.ts +1 -1
- package/assets/esri/core/workers/chunks/02e164fb9412da14e2d2.js +0 -1
- package/assets/esri/core/workers/chunks/071fcd2b4d08c24147d1.js +0 -2
- package/assets/esri/core/workers/chunks/145c2813b04044b4dccf.js +0 -2
- package/assets/esri/core/workers/chunks/185ad5b95ea0d415556c.js +0 -2
- package/assets/esri/core/workers/chunks/1ddbb954fe47034a915c.js +0 -1
- package/assets/esri/core/workers/chunks/202306ff2e52355899e1.js +0 -2
- package/assets/esri/core/workers/chunks/2af0bdead6a9ce49a2c0.js +0 -1
- package/assets/esri/core/workers/chunks/3c7fa5299856e7149770.js +0 -1
- package/assets/esri/core/workers/chunks/56a42c4056dda5567a20.js +0 -1
- package/assets/esri/core/workers/chunks/7810479a1a9179d77999.js +0 -1
- package/assets/esri/core/workers/chunks/7ac5b6d55555e09dd5ec.js +0 -1
- package/assets/esri/core/workers/chunks/7b8aaa21ce58ae769154.js +0 -1
- package/assets/esri/core/workers/chunks/8d8ce1ba9879c2d3f1dc.js +0 -1
- package/assets/esri/core/workers/chunks/aa0c648bd37787f62b1f.js +0 -1
- package/assets/esri/core/workers/chunks/ba695208a440846582aa.js +0 -1
- package/assets/esri/core/workers/chunks/cd26358acee8b8868bee.js +0 -1
- package/assets/esri/core/workers/chunks/d1574611d0a6423dc7e4.js +0 -2
- package/assets/esri/core/workers/chunks/d4edd542819020e1d3a1.js +0 -1
- package/assets/esri/core/workers/chunks/da5d778a44f041aee453.js +0 -1
- package/assets/esri/core/workers/chunks/ff16a922e9d4960373d8.js +0 -1
- package/views/3d/environment/Glow.js +0 -2
- /package/assets/esri/core/workers/chunks/{d1574611d0a6423dc7e4.js.LICENSE.txt → 147d0f7a2e471442c95c.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{071fcd2b4d08c24147d1.js.LICENSE.txt → 360dd5cd63d132b5c7d5.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{145c2813b04044b4dccf.js.LICENSE.txt → 4bd98d025bcd713eddca.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{202306ff2e52355899e1.js.LICENSE.txt → 7a85e08cb968586f8d74.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{185ad5b95ea0d415556c.js.LICENSE.txt → aefc089928ada18bc4d4.js.LICENSE.txt} +0 -0
package/Basemap.d.ts
CHANGED
|
@@ -172,8 +172,8 @@ export interface BasemapProperties extends LoadableMixinProperties, Partial<Pick
|
|
|
172
172
|
*
|
|
173
173
|
* @since 4.0
|
|
174
174
|
* @see [Basemap Layers](https://developers.arcgis.com/documentation/mapping-apis-and-services/maps/basemap-layers/)
|
|
175
|
-
* @see [Basemap Gallery component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-basemap-gallery/)
|
|
176
|
-
* @see [Basemap Toggle component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-basemap-toggle/)
|
|
175
|
+
* @see [Basemap Gallery component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-gallery/)
|
|
176
|
+
* @see [Basemap Toggle component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-toggle/)
|
|
177
177
|
* @see [Map](https://developers.arcgis.com/javascript/latest/references/core/Map/)
|
|
178
178
|
* @see [Zoom and LODs](https://developers.arcgis.com/javascript/latest/references/core/Basemap/#mapview-lods)
|
|
179
179
|
* @see [Sample - Create a custom basemap](https://developers.arcgis.com/javascript/latest/sample-code/basemap-custom/)
|
|
@@ -274,7 +274,7 @@ export default class Basemap extends BasemapSuperclass {
|
|
|
274
274
|
set style(value: BasemapStyleProperties | null | undefined);
|
|
275
275
|
/**
|
|
276
276
|
* The URL pointing to an image that represents the basemap. When using a custom
|
|
277
|
-
* basemap in the [Basemap Toggle](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-basemap-toggle/) component, the image
|
|
277
|
+
* basemap in the [Basemap Toggle](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-toggle/) component, the image
|
|
278
278
|
* specified here will display in the component. When the user clicks the image,
|
|
279
279
|
* the map's basemap will update to the basemap associated with the image.
|
|
280
280
|
*
|
package/Map.d.ts
CHANGED
|
@@ -416,7 +416,7 @@ export default class Map extends MapSuperclass {
|
|
|
416
416
|
* necessary privileges needed to edit the layers.
|
|
417
417
|
*
|
|
418
418
|
* @since 4.20
|
|
419
|
-
* @see [Editor component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-editor/)
|
|
419
|
+
* @see [Editor component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-editor/)
|
|
420
420
|
* @see [Sample - Edit features with the Editor component](https://developers.arcgis.com/javascript/latest/sample-code/editor-basic/)
|
|
421
421
|
*/
|
|
422
422
|
get editableLayers(): ReadonlyCollection<EditableLayerUnion>;
|
package/PopupTemplate.d.ts
CHANGED
|
@@ -429,12 +429,12 @@ export interface PopupTemplateProperties extends Partial<Pick<PopupTemplate, "la
|
|
|
429
429
|
* defined by the developer. See the [actions](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/#actions) property for more details.
|
|
430
430
|
*
|
|
431
431
|
* @since 4.0
|
|
432
|
-
* @see [Popup component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-popup/)
|
|
432
|
+
* @see [Popup component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/)
|
|
433
433
|
* @see [Popup](https://developers.arcgis.com/javascript/latest/references/core/widgets/Popup/)
|
|
434
434
|
* @see [FieldInfo](https://developers.arcgis.com/javascript/latest/references/core/popup/FieldInfo/)
|
|
435
|
-
* @see [Map component popup](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/#popup)
|
|
436
|
-
* @see [Scene component popup](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#popup)
|
|
437
|
-
* @see [Link Chart component popup](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-link-chart/#popup)
|
|
435
|
+
* @see [Map component popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#popup)
|
|
436
|
+
* @see [Scene component popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#popup)
|
|
437
|
+
* @see [Link Chart component popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/#popup)
|
|
438
438
|
* @see [MapView.popup](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#popup)
|
|
439
439
|
* @see [SceneView.popup](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#popup)
|
|
440
440
|
* @see [PopupTemplate samples](https://developers.arcgis.com/javascript/latest/sample-code/?tagged=PopupTemplate)
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
A minified, unbuilt version of the [ArcGIS Maps SDK for JavaScript](https://developers.arcgis.com/javascript/) core API's ES modules. Use the ArcGIS Maps SDK for JavaScript to build compelling web apps that unlock your data's potential with interactive user experiences and stunning 2D and 3D visualizations. The SDK includes the core API and a set of [web component](https://developer.mozilla.org/en-US/docs/Web/API/Web_components) libraries that encapsulate the API's functionality into ready-to-use UI elements.
|
|
4
4
|
|
|
5
|
-
Want to get started immediately? See [Get started](https://developers.arcgis.com/javascript/latest/get-started/) or try out the [sample applications](https://github.com/Esri/jsapi-resources/tree/main/
|
|
5
|
+
Want to get started immediately? See [Get started](https://developers.arcgis.com/javascript/latest/get-started/) or try out the [sample applications](https://github.com/Esri/jsapi-resources/tree/main/templates) for a variety of popular frameworks, module bundlers, and TypeScript.
|
|
6
6
|
|
|
7
7
|
## Documentation
|
|
8
8
|
|
|
@@ -88,13 +88,13 @@ export interface AreaMeasurementAnalysisProperties extends AnalysisProperties, P
|
|
|
88
88
|
*
|
|
89
89
|
* 
|
|
90
90
|
*
|
|
91
|
-
* Use the [Area Measurement 3D component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-area-measurement-3d/) to display a user
|
|
91
|
+
* Use the [Area Measurement 3D component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-area-measurement-3d/) to display a user
|
|
92
92
|
* interface for the area measurement analysis.
|
|
93
93
|
*
|
|
94
94
|
* @since 4.23
|
|
95
95
|
* @see [AreaMeasurementAnalysisView2D](https://developers.arcgis.com/javascript/latest/references/core/views/2d/analysis/AreaMeasurementAnalysisView2D/)
|
|
96
96
|
* @see [AreaMeasurementAnalysisView3D](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/AreaMeasurementAnalysisView3D/)
|
|
97
|
-
* @see [Area Measurement 3D component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-area-measurement-3d/)
|
|
97
|
+
* @see [Area Measurement 3D component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-area-measurement-3d/)
|
|
98
98
|
* @see [Sample - Area measurement analysis object](https://developers.arcgis.com/javascript/latest/sample-code/analysis-area-measurement/)
|
|
99
99
|
* @see [Sample - Analysis objects](https://developers.arcgis.com/javascript/latest/sample-code/analysis-objects/)
|
|
100
100
|
*/
|
|
@@ -84,7 +84,7 @@ export interface DirectLineMeasurementAnalysisProperties extends AnalysisPropert
|
|
|
84
84
|
*
|
|
85
85
|
* 
|
|
86
86
|
*
|
|
87
|
-
* Use the [Direct Line Measurement 3D component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-direct-line-measurement-3d/) to
|
|
87
|
+
* Use the [Direct Line Measurement 3D component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-direct-line-measurement-3d/) to
|
|
88
88
|
* display a user interface for the direct line measurement analysis.
|
|
89
89
|
*
|
|
90
90
|
* > [!WARNING]
|
|
@@ -95,7 +95,7 @@ export interface DirectLineMeasurementAnalysisProperties extends AnalysisPropert
|
|
|
95
95
|
*
|
|
96
96
|
* @since 4.23
|
|
97
97
|
* @see [DirectLineMeasurementAnalysisView3D](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/DirectLineMeasurementAnalysisView3D/)
|
|
98
|
-
* @see [Direct Line Measurement 3D component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-direct-line-measurement-3d/)
|
|
98
|
+
* @see [Direct Line Measurement 3D component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-direct-line-measurement-3d/)
|
|
99
99
|
* @see [Sample - Analysis objects](https://developers.arcgis.com/javascript/latest/sample-code/analysis-objects/)
|
|
100
100
|
*/
|
|
101
101
|
export default class DirectLineMeasurementAnalysis extends Analysis {
|
|
@@ -123,7 +123,7 @@ export interface ElevationProfileAnalysisProperties extends AnalysisProperties {
|
|
|
123
123
|
* curvature of the planet into consideration.
|
|
124
124
|
* * In projected coordinate systems (PCS), apart from Web Mercator, the distances are computed in a Euclidean manner (in their respective PCS).
|
|
125
125
|
*
|
|
126
|
-
* For a ready-to-use UI, use the [Elevation Profile component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-elevation-profile/),
|
|
126
|
+
* For a ready-to-use UI, use the [Elevation Profile component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-elevation-profile/),
|
|
127
127
|
* which allows users to interactively place an elevation profile and view the results in a chart.
|
|
128
128
|
*
|
|
129
129
|
* @since 4.34
|
|
@@ -131,7 +131,7 @@ export interface ElevationProfileAnalysisProperties extends AnalysisProperties {
|
|
|
131
131
|
* @see [ElevationProfileAnalysisView3D](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/ElevationProfileAnalysisView3D/)
|
|
132
132
|
* @see [Sample - Elevation Profile analysis](https://developers.arcgis.com/javascript/latest/sample-code/analysis-elevation-profile/)
|
|
133
133
|
* @see [Sample - Analysis objects](https://developers.arcgis.com/javascript/latest/sample-code/analysis-objects/)
|
|
134
|
-
* @see [Elevation Profile component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-elevation-profile/)
|
|
134
|
+
* @see [Elevation Profile component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-elevation-profile/)
|
|
135
135
|
* @see [Async cancellation with AbortController](https://developers.arcgis.com/javascript/latest/async-cancellation-with-abortcontroller/)
|
|
136
136
|
*/
|
|
137
137
|
export default class ElevationProfileAnalysis extends Analysis {
|
|
@@ -85,7 +85,7 @@ export interface LineOfSightAnalysisProperties extends AnalysisProperties {
|
|
|
85
85
|
* When the line of sight cannot be calculated, it will be displayed with a gray color. This may happen if either
|
|
86
86
|
* the target or the observer is not in the view.
|
|
87
87
|
*
|
|
88
|
-
* Use the [Line Of Sight component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-line-of-sight/) to display a user interface
|
|
88
|
+
* Use the [Line Of Sight component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-line-of-sight/) to display a user interface
|
|
89
89
|
* for the line of sight analysis.
|
|
90
90
|
*
|
|
91
91
|
* > [!WARNING]
|
|
@@ -101,7 +101,7 @@ export interface LineOfSightAnalysisProperties extends AnalysisProperties {
|
|
|
101
101
|
* @see [LineOfSightLayerView](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LineOfSightLayerView/)
|
|
102
102
|
* @see [LineOfSightAnalysisTarget](https://developers.arcgis.com/javascript/latest/references/core/analysis/LineOfSightAnalysisTarget/)
|
|
103
103
|
* @see [LineOfSightAnalysisObserver](https://developers.arcgis.com/javascript/latest/references/core/analysis/LineOfSightAnalysisObserver/)
|
|
104
|
-
* @see [Line Of Sight component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-line-of-sight/)
|
|
104
|
+
* @see [Line Of Sight component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-line-of-sight/)
|
|
105
105
|
* @see [Sample - Analysis objects](https://developers.arcgis.com/javascript/latest/sample-code/analysis-objects/)
|
|
106
106
|
* @see [Sample - Line of sight component](https://developers.arcgis.com/javascript/latest/sample-code/line-of-sight/)
|
|
107
107
|
*/
|
|
@@ -37,7 +37,7 @@ export interface LineOfSightAnalysisObserverProperties extends Partial<Pick<Line
|
|
|
37
37
|
* @since 4.23
|
|
38
38
|
* @see [LineOfSightAnalysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/LineOfSightAnalysis/)
|
|
39
39
|
* @see [LineOfSightAnalysisView3D](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/LineOfSightAnalysisView3D/)
|
|
40
|
-
* @see [Line Of Sight component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-line-of-sight/)
|
|
40
|
+
* @see [Line Of Sight component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-line-of-sight/)
|
|
41
41
|
* @see [Sample - Analysis objects](https://developers.arcgis.com/javascript/latest/sample-code/analysis-objects/)
|
|
42
42
|
* @see [Sample - Line of sight component](https://developers.arcgis.com/javascript/latest/sample-code/line-of-sight/)
|
|
43
43
|
*/
|
|
@@ -33,7 +33,7 @@ export interface LineOfSightAnalysisTargetProperties extends Partial<Pick<LineOf
|
|
|
33
33
|
* @see [LineOfSightAnalysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/LineOfSightAnalysis/)
|
|
34
34
|
* @see [LineOfSightAnalysisObserver](https://developers.arcgis.com/javascript/latest/references/core/analysis/LineOfSightAnalysisObserver/)
|
|
35
35
|
* @see [LineOfSightAnalysisView3D](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/LineOfSightAnalysisView3D/)
|
|
36
|
-
* @see [Line Of Sight component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-line-of-sight/)
|
|
36
|
+
* @see [Line Of Sight component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-line-of-sight/)
|
|
37
37
|
* @see [Sample - Analysis objects](https://developers.arcgis.com/javascript/latest/sample-code/analysis-objects/)
|
|
38
38
|
* @see [Sample - Line of sight component](https://developers.arcgis.com/javascript/latest/sample-code/line-of-sight/)
|
|
39
39
|
*/
|
|
@@ -22,7 +22,7 @@ export interface DiscreteOptionsProperties extends Partial<Pick<DiscreteOptions,
|
|
|
22
22
|
* @see [ShadowCastAnalysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/)
|
|
23
23
|
* @see [ShadowCastAnalysisView3D](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/ShadowCastAnalysisView3D/)
|
|
24
24
|
* @see [Sample - Shadow Cast analysis](https://developers.arcgis.com/javascript/latest/sample-code/shadow-cast/)
|
|
25
|
-
* @see [Shadow Cast component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-shadow-cast/)
|
|
25
|
+
* @see [Shadow Cast component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-shadow-cast/)
|
|
26
26
|
*/
|
|
27
27
|
export default class DiscreteOptions extends Clonable {
|
|
28
28
|
/** @since 5.0 */
|
|
@@ -32,7 +32,7 @@ export interface MinDurationOptionsProperties extends Partial<Pick<MinDurationOp
|
|
|
32
32
|
* @see [ShadowCastAnalysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/)
|
|
33
33
|
* @see [ShadowCastAnalysisView3D](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/ShadowCastAnalysisView3D/)
|
|
34
34
|
* @see [Sample - Shadow Cast analysis](https://developers.arcgis.com/javascript/latest/sample-code/shadow-cast/)
|
|
35
|
-
* @see [Shadow Cast component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-shadow-cast/)
|
|
35
|
+
* @see [Shadow Cast component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-shadow-cast/)
|
|
36
36
|
*/
|
|
37
37
|
export default class MinDurationOptions extends Clonable {
|
|
38
38
|
/** @since 5.0 */
|
|
@@ -23,7 +23,7 @@ export interface TotalDurationOptionsProperties extends Partial<Pick<TotalDurati
|
|
|
23
23
|
* @see [ShadowCastAnalysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCastAnalysis/)
|
|
24
24
|
* @see [ShadowCastAnalysisView3D](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/ShadowCastAnalysisView3D/)
|
|
25
25
|
* @see [Sample - Shadow Cast analysis](https://developers.arcgis.com/javascript/latest/sample-code/shadow-cast/)
|
|
26
|
-
* @see [Shadow Cast component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-shadow-cast/)
|
|
26
|
+
* @see [Shadow Cast component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-shadow-cast/)
|
|
27
27
|
*/
|
|
28
28
|
export default class TotalDurationOptions extends Clonable {
|
|
29
29
|
/** @since 5.0 */
|
|
@@ -46,11 +46,11 @@ export interface ShadowCastAnalysisProperties extends AnalysisProperties, Partia
|
|
|
46
46
|
* The analysis calculates the cumulative shadows for a time range during a single day. The user can
|
|
47
47
|
* configure the time range and select a calendar date. This time range and calendar date are only used
|
|
48
48
|
* for the shadow analysis and are not connected to the lighting in the scene.
|
|
49
|
-
* To control the lighting in the scene, use the [Daylight](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-daylight/) component.
|
|
49
|
+
* To control the lighting in the scene, use the [Daylight](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-daylight/) component.
|
|
50
50
|
* Changing the timezone in the analysis updates the visualization by interpreting the time range as being
|
|
51
|
-
* in that timezone. This behavior is different than for the [Daylight](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-daylight/)
|
|
51
|
+
* in that timezone. This behavior is different than for the [Daylight](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-daylight/)
|
|
52
52
|
* component where selecting a timezone updates the
|
|
53
|
-
* [environment lighting's](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#environment)
|
|
53
|
+
* [environment lighting's](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#environment)
|
|
54
54
|
* date and time according to the camera position.
|
|
55
55
|
*
|
|
56
56
|
* The analysis provides three visualization modes.
|
|
@@ -144,7 +144,7 @@ export interface ShadowCastAnalysisProperties extends AnalysisProperties, Partia
|
|
|
144
144
|
* @see [MinDurationOptions](https://developers.arcgis.com/javascript/latest/references/core/analysis/ShadowCast/MinDurationOptions/)
|
|
145
145
|
* @see [Sample - Shadow Cast analysis object](https://developers.arcgis.com/javascript/latest/sample-code/analysis-shadow-cast/)
|
|
146
146
|
* @see [Sample - Analysis objects](https://developers.arcgis.com/javascript/latest/sample-code/analysis-objects/)
|
|
147
|
-
* @see [Shadow Cast component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-shadow-cast/)
|
|
147
|
+
* @see [Shadow Cast component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-shadow-cast/)
|
|
148
148
|
*/
|
|
149
149
|
export default class ShadowCastAnalysis extends Analysis {
|
|
150
150
|
/** @since 5.0 */
|
|
@@ -92,7 +92,7 @@ export interface SliceAnalysisProperties extends AnalysisProperties, Partial<Pic
|
|
|
92
92
|
* abortController.abort();
|
|
93
93
|
* ```
|
|
94
94
|
*
|
|
95
|
-
* Use the [Slice component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slice/) to display a user interface for the slice
|
|
95
|
+
* Use the [Slice component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slice/) to display a user interface for the slice
|
|
96
96
|
* analysis. The component allows users to interactively place a slice and exclude layers from the analysis.
|
|
97
97
|
*
|
|
98
98
|
* > [!WARNING]
|
|
@@ -104,7 +104,7 @@ export interface SliceAnalysisProperties extends AnalysisProperties, Partial<Pic
|
|
|
104
104
|
* @since 4.23
|
|
105
105
|
* @see [SliceAnalysisView3D](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/SliceAnalysisView3D/)
|
|
106
106
|
* @see [SlicePlane](https://developers.arcgis.com/javascript/latest/references/core/analysis/SlicePlane/)
|
|
107
|
-
* @see [Slice component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slice/)
|
|
107
|
+
* @see [Slice component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slice/)
|
|
108
108
|
* @see [Sample - Analysis objects](https://developers.arcgis.com/javascript/latest/sample-code/analysis-objects/)
|
|
109
109
|
*/
|
|
110
110
|
export default class SliceAnalysis extends Analysis {
|
package/analysis/SlicePlane.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export interface SlicePlaneProperties extends Partial<Pick<SlicePlane, "heading"
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
* Provides the shape definition of a slice plane for a [Slice component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slice/)
|
|
12
|
+
* Provides the shape definition of a slice plane for a [Slice component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slice/)
|
|
13
13
|
* or [SliceAnalysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/SliceAnalysis/).
|
|
14
14
|
* The slice plane is defined by a position, heading and tilt. Its size is defined by width and height.
|
|
15
15
|
*
|
|
@@ -35,7 +35,7 @@ export interface SlicePlaneProperties extends Partial<Pick<SlicePlane, "heading"
|
|
|
35
35
|
* @since 4.23
|
|
36
36
|
* @see [SliceAnalysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/SliceAnalysis/)
|
|
37
37
|
* @see [SliceAnalysisView3D](https://developers.arcgis.com/javascript/latest/references/core/views/3d/analysis/SliceAnalysisView3D/)
|
|
38
|
-
* @see [Slice component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slice/)
|
|
38
|
+
* @see [Slice component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slice/)
|
|
39
39
|
* @see [Sample - Analysis objects](https://developers.arcgis.com/javascript/latest/sample-code/analysis-objects/)
|
|
40
40
|
*/
|
|
41
41
|
export default class SlicePlane extends SlicePlaneSuperclass {
|
|
@@ -27,6 +27,11 @@ export interface VolumeMeasurementAnalysisProperties extends AnalysisProperties,
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
|
+
* > [!CAUTION]
|
|
31
|
+
* >
|
|
32
|
+
* > VolumeMeasurementAnalysis is currently in _preview_.
|
|
33
|
+
* > To learn about features in preview, see the [Frequently Asked Questions](https://developers.arcgis.com/javascript/latest/faq/#what-does-the-preview-tag-mean).
|
|
34
|
+
*
|
|
30
35
|
* VolumeMeasurementAnalysis calculates and visualizes the volume of ground surfaces within a
|
|
31
36
|
* defined polygonal area, offering multiple measure types and displaying results in a 3D [SceneView](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/).
|
|
32
37
|
*
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{neverAbortedSignal as e}from"../../arcadeEnvironment.js";import{throwIfCancelled as t,FeatureSetError as r}from"../support/errorsupport.js";import{RootFeatureSet as i,emptyFeaturesResult as s,assignSpatialReferenceOnFeatures as a}from"../support/FeatureSet.js";import{defaultMaxRecords as l}from"../support/shared.js";import{toWhereClause as n}from"../support/sqlUtils.js";import{splitIntoChunks as o}from"../../../core/arrayUtils.js";import{sqlAnd as y}from"../../../core/sql.js";import u from"../../../geometry/Geometry.js";import p from"../../../layers/FeatureLayer.js";import h from"../../../layers/support/FeatureType.js";import d from"../../../layers/support/Field.js";class c extends i{constructor(e){super(),this.declaredClass="esri.arcade.featureset.sources.FeatureLayerMemory",this._removeGeometry=!1,this._overrideFields=null,this._forceIsTable=!1,this._maxProcessing=1e3,this._layer=e.layer,e.spatialReference&&(this.spatialReference=e.spatialReference),!0===e.isTable&&(this._forceIsTable=!0),void 0!==e.outFields&&(this._overrideFields=e.outFields),void 0!==e.includeGeometry&&(this._removeGeometry=!1===e.includeGeometry)}_maxQueryRate(){return l}async loadImpl(){return!0===this._layer.loaded?(this._initialiseFeatureSet(),this):(await this._layer.load(),this._initialiseFeatureSet(),this)}get gdbVersion(){return""}_initialiseFeatureSet(){if(this.spatialReference??=this._layer.spatialReference,this.geometryType=this._layer.geometryType??"",this.fields=this._layer.fields.slice(),null!==this._overrideFields)if(1===this._overrideFields.length&&"*"===this._overrideFields[0])this._overrideFields=null;else{const e=new Set(this._overrideFields.map(e=>e.toLowerCase()));this.fields=this.fields.filter(({type:t,name:r})=>"oid"===t||this._layer.objectIdField===r||e.has(r.toLowerCase())),this._overrideFields=this.fields.map(({name:e})=>e)}this.objectIdField=this._layer.objectIdField;for(const e of this.fields)"global-id"===e.type&&(this.globalIdField=e.name);this._databaseType=0,this.hasZ=!0===this._layer.capabilities?.data?.supportsZ,this.hasM=!0===this._layer.capabilities?.data?.supportsM,this.subtypeField=("subtypeField"in this._layer?this._layer.subtypeField:null)??"",this.subtypes="subtypes"in this._layer?this._layer.subtypes:null,this.typeIdField=("typeIdField"in this._layer?this._layer.typeIdField:null)??"",this.types="types"in this._layer?this._layer.types:null}isTable(){return this._forceIsTable||"isTable"in this._layer&&this._layer.isTable||"table"===this._layer.type||!this._layer.geometryType}async _queryAll(){return(await this.query({abortSignal:e})).features}_queryLayerFeaturesJSON(e){return"queryFeaturesJSON"in this._layer?this._layer.queryFeaturesJSON(e):this._layer.source.queryFeaturesJSON(e)}async query(e){await this._ensureLoaded();let r="",i=!1;if(null!=e.orderBy&&(r=e.orderBy.constructClause(),i=!0),this.isTable()&&null!=e.spatialFilter)return s;const l=this._createQuery();return l.where=y(l.where,null==e.where?null==e.spatialFilter?"1=1":"":n(e.where,0)),null!=e.spatialFilter&&(l.spatialRelationship=this._makeRelationshipEnum(e.spatialFilter.relation),l.relationParameter=this._makeRelationshipParam(e.spatialFilter.relation),l.geometry=e.spatialFilter.geometry),l.outSpatialReference=this.spatialReference,l.orderByFields=""!==r?r.split(","):null,{filterApplied:!0,spatialFilterApplied:!0,ordered:i,features:async function*(){const r=await this._queryLayerFeaturesJSON(l);t(e.abortSignal);for(const e of o(r.features,this._maxQueryRate()))a(e,r.spatialReference??this.spatialReference.toJSON()),yield e}.apply(this)}}async queryStat(e){return{calculated:!1}}async canQueryAggregate(e){return!1}async queryAggregate(e){throw new r("NeverReach")}_createQuery(){const e=this._layer.createQuery();return e.returnZ=this.hasZ,e.returnM=this.hasM,e.outFields=this._overrideFields??["*"],e.returnGeometry=!this._removeGeometry,e}_makeRelationshipEnum(e){if(e.includes("esriSpatialRelRelation"))return"relation";switch(e){case"esriSpatialRelRelation":return"relation";case"esriSpatialRelIntersects":return"intersects";case"esriSpatialRelContains":return"contains";case"esriSpatialRelOverlaps":return"overlaps";case"esriSpatialRelWithin":return"within";case"esriSpatialRelTouches":return"touches";case"esriSpatialRelCrosses":return"crosses";case"esriSpatialRelEnvelopeIntersects":return"envelope-intersects"}return e}_makeRelationshipParam(e){return e.includes("esriSpatialRelRelation")?e.split(":")[1]:""}relationshipMetadata(){return[]}nativeCapabilities(){return{title:this._layer.title??"",canQueryRelated:!1,source:this,capabilities:this._layer.capabilities,databaseType:this._databaseType,requestStandardised:!0}}static create(e,t){let r=e.layerDefinition.objectIdField;const i=e.layerDefinition.typeIdField??"",s=[];if(e.layerDefinition.types)for(const u of e.layerDefinition.types)s.push(h.fromJSON(u));let a=e.layerDefinition.geometryType;void 0===a&&(a=e.featureSet.geometryType||"");let l=e.featureSet.features;if(!r){let t=!1;for(const i of e.layerDefinition.fields)if("oid"===i.type||"esriFieldTypeOID"===i.type){r=i.name,t=!0;break}if(!1===t){let t="FID",i=!0,s=0;for(;i;){let r=!0;for(const i of e.layerDefinition.fields)if(i.name===t){r=!1;break}!0===r?i=!1:(s++,t="FID"+s.toString())}e.layerDefinition.fields.push({type:"esriFieldTypeOID",name:t,alias:t});const a=[];for(let r=0;r<l.length;r++)a.push({geometry:e.featureSet.features[r].geometry,attributes:{...e.featureSet.features[r].attributes,[t]:r}});l=a,r=t}}const n=[];for(const u of e.layerDefinition.fields)u instanceof d?n.push(u):n.push(d.fromJSON(u));let o=a;switch(o||(o=""),o){case"esriGeometryPoint":o="point";break;case"esriGeometryPolyline":o="polyline";break;case"esriGeometryPolygon":o="polygon";break;case"esriGeometryEnvelope":o="extent";break;case"esriGeometryMultipoint":o="multipoint";break;case"":case"esriGeometryNull":o="esriGeometryNull"}if("esriGeometryNull"!==o){const e=t.toJSON();for(const t of l)t.geometry&&t.geometry instanceof u==!1&&(t.geometry.type=o,void 0===t.geometry.spatialReference&&(t.geometry.spatialReference=e))}else for(const u of l)u.geometry&&(u.geometry=null);const y={outFields:["*"],source:l,fields:n,hasZ:!0===e.layerDefinition.hasZ||!0===e.featureSet.hasZ,hasM:!0===e.layerDefinition.hasM||!0===e.featureSet.hasM,types:s,typeIdField:i,objectIdField:r,spatialReference:t},f="esriGeometryNull"===o||null===o;f||(y.geometryType=o);const m=new p(y);return e.layerDefinition.subtypeField&&e.layerDefinition.subtypes&&m.read({subtypes:e.layerDefinition.subtypes,subtypeField:e.layerDefinition.subtypeField}),new c({layer:m,spatialReference:t,isTable:f})}async queryAttachments(){return[]}async getFeatureByObjectId(e){const t=this._createQuery();t.where=this.objectIdField+"="+e.toString();const r=await this._queryLayerFeaturesJSON(t);return 1===r.features.length?(a(r.features,r.spatialReference??this.spatialReference.toJSON()),r.features[0]):null}serviceUrl(){return""}async getOwningSystemUrl(){return""}async getIdentityUser(){return""}get preferredTimeZone(){return"preferredTimeZone"in this._layer?this._layer.preferredTimeZone:null}get dateFieldsTimeZone(){return"dateFieldsTimeZone"in this._layer?this._layer.dateFieldsTimeZone:null}get datesInUnknownTimezone(){return"datesInUnknownTimezone"in this._layer&&this._layer.datesInUnknownTimezone}get editFieldsInfo(){return"editFieldsInfo"in this._layer?this._layer.editFieldsInfo:null}get timeInfo(){return this._layer.timeInfo}async getFeatureSetInfo(){const e=this._layer.title&&this._layer.parent;return{layerId:null,layerName:null,itemId:null,serviceLayerUrl:null,webMapLayerId:e?this._layer.id??null:null,webMapLayerTitle:e?this._layer.title??null:null,className:null,objectClassId:null}}}export{c as default};
|
|
2
|
+
import{neverAbortedSignal as e}from"../../arcadeEnvironment.js";import{throwIfCancelled as t,FeatureSetError as r}from"../support/errorsupport.js";import{RootFeatureSet as i,emptyFeaturesResult as s,assignSpatialReferenceOnFeatures as a}from"../support/FeatureSet.js";import{defaultMaxRecords as l}from"../support/shared.js";import{toWhereClause as n}from"../support/sqlUtils.js";import{splitIntoChunks as o}from"../../../core/arrayUtils.js";import{sqlAnd as y}from"../../../core/sql.js";import u from"../../../geometry/Geometry.js";import p from"../../../layers/FeatureLayer.js";import h from"../../../layers/support/FeatureType.js";import d from"../../../layers/support/Field.js";class c extends i{constructor(e){super(),this.declaredClass="esri.arcade.featureset.sources.FeatureLayerMemory",this._removeGeometry=!1,this._overrideFields=null,this._forceIsTable=!1,this._maxProcessing=1e3,this._layer=e.layer,e.spatialReference&&(this.spatialReference=e.spatialReference),!0===e.isTable&&(this._forceIsTable=!0),void 0!==e.outFields&&(this._overrideFields=e.outFields),void 0!==e.includeGeometry&&(this._removeGeometry=!1===e.includeGeometry)}_maxQueryRate(){return l}async loadImpl(){return!0===this._layer.loaded?(this._initialiseFeatureSet(),this):(await this._layer.load(),this._initialiseFeatureSet(),this)}get gdbVersion(){return""}_initialiseFeatureSet(){if(this.spatialReference??=this._layer.spatialReference,this.geometryType=this._layer.geometryType??"",this.fields=this._layer.fields.slice(),null!==this._overrideFields)if(1===this._overrideFields.length&&"*"===this._overrideFields[0])this._overrideFields=null;else{const e=new Set(this._overrideFields.map(e=>e.toLowerCase()));this.fields=this.fields.filter(({type:t,name:r})=>"oid"===t||this._layer.objectIdField===r||e.has(r.toLowerCase())),this._overrideFields=this.fields.map(({name:e})=>e)}this.objectIdField=this._layer.objectIdField;for(const e of this.fields)"global-id"===e.type&&(this.globalIdField=e.name);this._databaseType=0,this.hasZ=!0===this._layer.capabilities?.data?.supportsZ,this.hasM=!0===this._layer.capabilities?.data?.supportsM,this.subtypeField=("subtypeField"in this._layer?this._layer.subtypeField:null)??"",this.subtypes="subtypes"in this._layer?this._layer.subtypes:null,this.typeIdField=("typeIdField"in this._layer?this._layer.typeIdField:null)??"",this.types="types"in this._layer?this._layer.types:null}isTable(){return this._forceIsTable||"isTable"in this._layer&&this._layer.isTable||"table"===this._layer.type||!this._layer.geometryType}async _queryAll(){return(await this.query({abortSignal:e})).features}_queryLayerFeaturesJSON(e){return"queryFeaturesJSON"in this._layer?this._layer.queryFeaturesJSON(e):this._layer.source.queryFeaturesJSON(e)}async query(e){await this._ensureLoaded();let r="",i=!1;if(null!=e.orderBy&&(r=e.orderBy.constructClause(),i=!0),this.isTable()&&null!=e.spatialFilter)return s;const l=this._createQuery();return l.where=y(l.where,null==e.where?null==e.spatialFilter?"1=1":"":n(e.where,0)),null!=e.spatialFilter&&(l.spatialRelationship=this._makeRelationshipEnum(e.spatialFilter.relation),l.relationParameter=this._makeRelationshipParam(e.spatialFilter.relation),l.geometry=e.spatialFilter.geometry),l.outSpatialReference=this.spatialReference,l.orderByFields=""!==r?r.split(","):null,{filterApplied:!0,spatialFilterApplied:!0,ordered:i,features:async function*(){const r=await this._queryLayerFeaturesJSON(l);t(e.abortSignal);for(const e of o(r.features,this._maxQueryRate()))a(e,r.spatialReference??this.spatialReference.toJSON()),yield e}.apply(this)}}async queryStat(e){return{calculated:!1}}async canQueryAggregate(e){return!1}async queryAggregate(e){throw new r("NeverReach")}_createQuery(){const e=this._layer.createQuery();return e.returnZ=this.hasZ,e.returnM=this.hasM,e.outFields=this._overrideFields??["*"],e.returnGeometry=!this._removeGeometry,e}_makeRelationshipEnum(e){if(e.includes("esriSpatialRelRelation"))return"relation";switch(e){case"esriSpatialRelRelation":return"relation";case"esriSpatialRelIntersects":return"intersects";case"esriSpatialRelContains":return"contains";case"esriSpatialRelOverlaps":return"overlaps";case"esriSpatialRelWithin":return"within";case"esriSpatialRelTouches":return"touches";case"esriSpatialRelCrosses":return"crosses";case"esriSpatialRelEnvelopeIntersects":return"envelope-intersects"}return e}_makeRelationshipParam(e){return e.includes("esriSpatialRelRelation")?e.split(":")[1]:""}relationshipMetadata(){return[]}nativeCapabilities(){return{title:this._layer.title??"",canQueryRelated:!1,source:this,capabilities:this._layer.capabilities,databaseType:this._databaseType,requestStandardised:!0}}static create(e,t){let r=e.layerDefinition.objectIdField;const i=e.layerDefinition.typeIdField??"",s=[];if(e.layerDefinition.types)for(const u of e.layerDefinition.types)s.push(h.fromJSON(u));let a=e.layerDefinition.geometryType;void 0===a&&(a=e.featureSet.geometryType||"");let l=e.featureSet.features;if(!r){let t=!1;for(const i of e.layerDefinition.fields)if("oid"===i.type||"esriFieldTypeOID"===i.type){r=i.name,t=!0;break}if(!1===t){let t="FID",i=!0,s=0;for(;i;){let r=!0;for(const i of e.layerDefinition.fields)if(i.name===t){r=!1;break}!0===r?i=!1:(s++,t="FID"+s.toString())}e.layerDefinition.fields.push({type:"esriFieldTypeOID",name:t,alias:t});const a=[];for(let r=0;r<l.length;r++)a.push({geometry:e.featureSet.features[r].geometry,attributes:{...e.featureSet.features[r].attributes,[t]:r}});l=a,r=t}}const n=[];for(const u of e.layerDefinition.fields)u instanceof d?n.push(u):n.push(d.fromJSON(u));let o=a;switch(o||(o=""),o){case"esriGeometryPoint":o="point";break;case"esriGeometryPolyline":o="polyline";break;case"esriGeometryPolygon":o="polygon";break;case"esriGeometryEnvelope":o="extent";break;case"esriGeometryMultipoint":o="multipoint";break;case"":case"esriGeometryNull":o="esriGeometryNull"}if("esriGeometryNull"!==o){const e=t.toJSON();for(const t of l)t.geometry&&t.geometry instanceof u==!1&&(t.geometry.type=o,void 0===t.geometry.spatialReference&&(t.geometry.spatialReference=e))}else for(const u of l)u.geometry&&(u.geometry=null);const y={outFields:["*"],source:l,fields:n,hasZ:!0===e.layerDefinition.hasZ||!0===e.featureSet.hasZ,hasM:!0===e.layerDefinition.hasM||!0===e.featureSet.hasM,types:s,typeIdField:i,objectIdField:r,spatialReference:t},f="esriGeometryNull"===o||null===o;f||(y.geometryType=o);const m=new p(y);return e.layerDefinition.subtypeField&&e.layerDefinition.subtypes&&m.read({subtypes:e.layerDefinition.subtypes,subtypeField:e.layerDefinition.subtypeField}),new c({layer:m,spatialReference:t,isTable:f})}async queryAttachments(){return[]}async getFeatureByObjectId(e){const t=this._createQuery();t.where=this.objectIdField+"="+e.toString();const r=await this._queryLayerFeaturesJSON(t);return 1===r.features.length?(a(r.features,r.spatialReference??this.spatialReference.toJSON()),r.features[0]):null}serviceUrl(){return""}async getOwningSystemUrl(){return""}async getIdentityUser(){return""}get preferredTimeZone(){return"preferredTimeZone"in this._layer?this._layer.preferredTimeZone:null}get dateFieldsTimeZone(){return"dateFieldsTimeZone"in this._layer?this._layer.dateFieldsTimeZone:null}get datesInUnknownTimezone(){return"datesInUnknownTimezone"in this._layer&&this._layer.datesInUnknownTimezone}get editFieldsInfo(){return"editFieldsInfo"in this._layer?this._layer.editFieldsInfo:null}get timeInfo(){return"timeInfo"in this._layer?this._layer.timeInfo:null}async getFeatureSetInfo(){const e=this._layer.title&&this._layer.parent;return{layerId:null,layerName:null,itemId:null,serviceLayerUrl:null,webMapLayerId:e?this._layer.id??null:null,webMapLayerTitle:e?this._layer.title??null:null,className:null,objectClassId:null}}}export{c as default};
|