@arcgis/core 5.0.0-next.70 → 5.0.0-next.71
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/analysis/Dimension/types.d.ts +5 -1
- package/analysis/DistanceMeasurementAnalysis.d.ts +22 -3
- package/analysis/ElevationProfile/types.d.ts +10 -2
- package/analysis/ShadowCast/DiscreteOptions.d.ts +4 -0
- package/analysis/ShadowCast/MinDurationOptions.d.ts +7 -0
- package/analysis/ShadowCast/TotalDurationOptions.d.ts +4 -0
- package/analysis/ShadowCastAnalysis.d.ts +51 -8
- package/analysis/Slice/types.d.ts +5 -1
- package/analysis/VolumeMeasurement/types.d.ts +5 -1
- package/analysis/VolumeMeasurement/volumeMeasurementConfiguration.js +1 -1
- package/analysis/types.d.ts +39 -7
- package/applications/Components/QuantityFormatter.js +1 -1
- package/applications/Components/imageryUtils.d.ts +2 -2
- package/applications/Components/testUtils.d.ts +2 -0
- package/applications/KnowledgeStudio/dataModelVisualization.d.ts +1 -0
- package/applications/KnowledgeStudio/generalSdkInternalAccess.d.ts +59 -13
- package/applications/KnowledgeStudio/generalSharedKgUtils.d.ts +1 -1
- package/applications/PortalApp/layerUtils.d.ts +1 -0
- package/applications/Urban/LineImagePattern3D.d.ts +2 -0
- package/applications/Urban/imagePatternUtils.d.ts +4 -0
- package/arcade.d.ts +20 -11
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/1b284a6f32effe28aafc.js +1 -0
- package/assets/esri/core/workers/chunks/1bd5b421152fb0f46aa5.js +37 -0
- package/assets/esri/core/workers/chunks/{2e2c47f8a80ee9234350.js → 1d8fc0239c907ff5d1e8.js} +1 -1
- package/assets/esri/core/workers/chunks/{244006d4b0547d574401.js → 25abbe1663e18e677dc2.js} +143 -140
- package/assets/esri/core/workers/chunks/{c448540065690cac0744.js → 6087d5dc40bb62ec48c8.js} +1 -1
- package/assets/esri/core/workers/chunks/{866477acdf03b8a40bc9.js → bd1d159dce4094694c93.js} +1 -1
- package/assets/esri/core/workers/chunks/{401ce5cb98fa14c1a725.js → d8a7004c399d539aed09.js} +1 -1
- package/assets/esri/core/workers/chunks/{8d6641d0f7c93f83c414.js → db9c7182847e8f96ffe3.js} +1 -1
- package/assets/esri/core/workers/chunks/{6c9dac4a869742cc2718.js → e246b256347a281c13fd.js} +1 -1
- package/assets/esri/core/workers/chunks/{a10c6dd3bb8b3602de68.js → ee175fd4ec706f7878c0.js} +1 -1
- package/assets/esri/core/workers/chunks/f65b27fc0bc2f242aac7.js +1 -0
- package/assets/esri/core/workers/chunks/{5dd5be91038df8902dc4.js → f7dfbf24859f4ac2421b.js} +1 -1
- package/config.js +1 -1
- package/core/Version.d.ts +11 -2
- package/core/accessorSupport/types.d.ts +35 -5
- package/core/quantityFormatUtils.js +1 -1
- package/core/sql/types.d.ts +226 -31
- package/core/types.d.ts +24 -4
- package/editing/sharedTemplates/types.d.ts +1 -0
- package/editing/types.d.ts +2 -0
- package/effects/types.d.ts +1 -0
- package/form/ExpressionInfo.d.ts +1 -1
- package/form/FormTemplate.d.ts +4 -4
- package/form/elements/GroupElement.d.ts +1 -1
- package/form/elements/RelationshipElement.d.ts +3 -3
- package/form/elements/inputs/attachments/AttachmentInput.d.ts +2 -1
- package/form/elements/inputs/attachments/AudioInput.d.ts +1 -0
- package/form/elements/inputs/attachments/DocumentInput.d.ts +1 -0
- package/form/elements/inputs/attachments/ImageInput.d.ts +1 -0
- package/form/elements/inputs/attachments/Input.d.ts +5 -1
- package/form/elements/inputs/attachments/SignatureInput.d.ts +1 -0
- package/form/elements/inputs/attachments/VideoInput.d.ts +1 -0
- package/form/elements/inputs/attachments/types.d.ts +12 -3
- package/form/elements/inputs.d.ts +2 -2
- package/form/types.d.ts +3 -0
- package/geometry/geometryEngineTypes.d.ts +49 -9
- package/geometry/operators/types.d.ts +29 -4
- package/geometry/support/MeshVertexAttributes.d.ts +21 -2
- package/geometry/support/meshUtils/types.d.ts +126 -18
- package/geometry/types.d.ts +37 -6
- package/ground/NavigationConstraint.d.ts +3 -0
- package/identity/IdentityManagerBase.d.ts +153 -27
- package/interfaces.d.ts +27 -27
- package/intl/date.d.ts +5 -0
- package/intl/locale.d.ts +1 -0
- package/intl/messages.d.ts +12 -2
- package/intl/number.d.ts +5 -0
- package/intl/substitute.d.ts +28 -5
- package/intl/t9n.d.ts +13 -2
- package/kernel.js +1 -1
- package/layers/GaussianSplatLayer.d.ts +87 -6
- package/layers/ImageryTileLayer.d.ts +8 -8
- package/layers/LinkChartLayer.d.ts +1 -1
- package/layers/buildingSublayers/utils.d.ts +1 -0
- package/layers/effects/types.d.ts +12 -2
- package/layers/graphics/editingSupport.d.ts +202 -38
- package/layers/graphics/sources/ParquetSource.d.ts +23 -4
- package/layers/knowledgeGraph/IdTypePair.d.ts +15 -3
- package/layers/knowledgeGraph/KnowledgeGraphLayerDataManager.d.ts +61 -9
- package/layers/knowledgeGraph/LayoutMode.d.ts +1 -0
- package/layers/knowledgeGraph/dataModelVisualizationUtils.d.ts +6 -0
- package/layers/media/types.d.ts +25 -4
- package/layers/mixins/ArcGISImageService.d.ts +8 -9
- package/layers/mixins/ArcGISMapService.d.ts +5 -1
- package/layers/mixins/EditBusLayer.d.ts +3 -5
- package/layers/mixins/ImageryTileMixin.d.ts +2 -4
- package/layers/mixins/RasterJobHandlerMixin.js +1 -1
- package/layers/mixins/ScaleRange.d.ts +11 -2
- package/layers/mixins/properties/ILayerWithGetFeatureTitle.d.ts +11 -2
- package/layers/mixins/properties/ILayerWithGetField.d.ts +6 -1
- package/layers/ogc/ogcFeatureUtils.d.ts +2 -0
- package/layers/ogc/types.d.ts +55 -10
- package/layers/ogc/wcsUtils.d.ts +1 -0
- package/layers/ogc/wfsUtils.d.ts +8 -17
- package/layers/orientedImagery/core/ElevationSourceDefinitions.d.ts +6 -1
- package/layers/orientedImagery/transformations/types.d.ts +117 -21
- package/layers/orientedImagery/types.d.ts +37 -6
- package/layers/pointCloudFilters/typeUtils.d.ts +1 -0
- package/layers/raster/datasets/TIFFRaster.js +1 -1
- package/layers/raster/datasets/pixelReader.d.ts +2 -0
- package/layers/raster/datasets/types.d.ts +1 -0
- package/layers/raster/datasets/wcsCapabilitiesParser.d.ts +86 -17
- package/layers/raster/datasets/wcsCoverageParser.d.ts +601 -115
- package/layers/raster/formats/ImageCanvasDecoder.js +1 -1
- package/layers/raster/formats/JpgPlus.js +1 -1
- package/layers/raster/formats/RasterCodec.js +1 -1
- package/layers/raster/formats/Raw.js +1 -1
- package/layers/raster/formats/TiffDecoder.js +1 -1
- package/layers/raster/functions/changeDetectionUtils.d.ts +1 -0
- package/layers/raster/functions/creators/createAppearenceFunctions.d.ts +82 -15
- package/layers/raster/functions/creators/createBandIndexFunctions.d.ts +380 -70
- package/layers/raster/functions/creators/createChangeFunctions.d.ts +11 -2
- package/layers/raster/functions/creators/createConversionFunctions.d.ts +18 -3
- package/layers/raster/functions/creators/createDataManagementFunctions.d.ts +179 -35
- package/layers/raster/functions/creators/createLocalFunctions.d.ts +47 -9
- package/layers/raster/functions/creators/createMultiRasterAnalysisFunctions.d.ts +47 -9
- package/layers/raster/functions/creators/createStatisticsFunctions.d.ts +42 -8
- package/layers/raster/functions/creators/createSurfaceFunctions.d.ts +72 -11
- package/layers/raster/functions/focalStatUtils.d.ts +1 -0
- package/layers/raster/functions/rasterProjectionHelper.js +1 -1
- package/layers/raster/functions/types.d.ts +29 -5
- package/layers/raster/types.d.ts +498 -6
- package/layers/support/BuildingFilterBlock.d.ts +19 -3
- package/layers/support/BuildingFilterMode.d.ts +1 -0
- package/layers/support/BuildingFilterModeSolid.d.ts +7 -1
- package/layers/support/BuildingFilterModeWireFrame.d.ts +17 -3
- package/layers/support/BuildingFilterModeXRay.d.ts +7 -1
- package/layers/support/CodedValue.d.ts +16 -3
- package/layers/support/ControlPoint.d.ts +17 -3
- package/layers/support/EditFieldsInfo.d.ts +21 -4
- package/layers/support/EditingCapabilities.d.ts +36 -7
- package/layers/support/ElevationTileData.d.ts +25 -5
- package/layers/support/FieldFormat.d.ts +1 -0
- package/layers/support/GeoreferenceBase.d.ts +1 -0
- package/layers/support/KMLMapImage.d.ts +13 -2
- package/layers/support/LabelExpressionInfo.d.ts +9 -1
- package/layers/support/MosaicRule.d.ts +41 -1
- package/layers/support/ParquetGeometryEncodingLocation.d.ts +13 -2
- package/layers/support/ParquetGeometryEncodingWkb.d.ts +7 -0
- package/layers/support/PixelBlock.d.ts +9 -4
- package/layers/support/PurgeOptions.d.ts +15 -2
- package/layers/support/RasterInfo.d.ts +1 -2
- package/layers/support/RasterJobHandler.js +1 -1
- package/layers/support/RasterWorker.js +1 -1
- package/layers/support/SpriteSource.d.ts +28 -6
- package/layers/support/rasterFunctionConstants.d.ts +39 -0
- package/layers/support/types.d.ts +420 -225
- package/layers/types.d.ts +771 -196
- package/layers/video/types.d.ts +72 -14
- package/layers/voxel/VoxelColorStop.d.ts +17 -3
- package/layers/voxel/VoxelFormat.d.ts +15 -2
- package/layers/voxel/VoxelIsosurface.d.ts +17 -2
- package/layers/voxel/VoxelOpacityStop.d.ts +8 -1
- package/layers/voxel/VoxelRangeFilter.d.ts +12 -2
- package/layers/voxel/VoxelUniqueValue.d.ts +19 -3
- package/layers/wms/types.d.ts +104 -19
- package/layers/wmts/types.d.ts +1 -0
- package/linkChart/ChronologicalLayoutSettings.d.ts +1 -1
- package/linkChart/OrganicLayoutSettings.d.ts +1 -1
- package/linkChart/types.d.ts +2 -0
- package/networks/UtilityNetworkTraceAnalysis.d.ts +61 -10
- package/networks/support/jsonTypes.d.ts +373 -71
- package/networks/support/typeUtils.d.ts +10 -0
- package/networks/support/utils.d.ts +30 -6
- package/package.json +1 -1
- package/popup/content/types.d.ts +1 -0
- package/popup/types.d.ts +33 -5
- package/portal/jsonTypes.d.ts +231 -39
- package/portal/support/resourceUtils.d.ts +49 -9
- package/portal/types.d.ts +98 -14
- package/renderers/FlowRenderer.js +1 -1
- package/renderers/RasterStretchRenderer.d.ts +1 -1
- package/renderers/support/AuthoringInfoClassBreakInfo.d.ts +4 -0
- package/renderers/support/AuthoringInfoFieldInfo.d.ts +15 -2
- package/renderers/support/DotDensityLegendOptions.d.ts +4 -0
- package/renderers/support/HeatmapLegendOptions.d.ts +8 -0
- package/renderers/support/OthersCategory.d.ts +6 -0
- package/renderers/support/RendererLegendOptions.d.ts +14 -2
- package/renderers/support/pointCloud/ColorClassBreakInfo.d.ts +13 -1
- package/renderers/support/pointCloud/ColorModulation.d.ts +6 -0
- package/renderers/support/pointCloud/ColorUniqueValueInfo.d.ts +19 -3
- package/renderers/support/pointCloud/PointSizeAlgorithm.d.ts +1 -0
- package/renderers/support/pointCloud/PointSizeFixedSizeAlgorithm.d.ts +14 -2
- package/renderers/support/pointCloud/PointSizeSplatAlgorithm.d.ts +9 -1
- package/renderers/support/pointCloud/types.d.ts +7 -1
- package/renderers/support/raster/types.d.ts +22 -2
- package/renderers/support/types.d.ts +29 -2
- package/renderers/types.d.ts +47 -4
- package/renderers/visualVariables/support/SizeVariableLegendOptions.d.ts +4 -0
- package/renderers/visualVariables/support/VisualVariableLegendOptions.d.ts +9 -1
- package/request/types.d.ts +152 -24
- package/rest/featureService/types.d.ts +423 -77
- package/rest/geometryService/types.d.ts +23 -1
- package/rest/imageService.d.ts +5 -5
- package/rest/knowledgeGraph/DataModel.d.ts +2 -2
- package/rest/knowledgeGraph/GraphAnyValue.d.ts +1 -0
- package/rest/knowledgeGraph/GraphDataModelSingletonOperationResult.d.ts +12 -2
- package/rest/knowledgeGraph/GraphDeleteNamedTypeResult.d.ts +1 -1
- package/rest/knowledgeGraph/GraphDeletePropertyResult.d.ts +1 -1
- package/rest/knowledgeGraph/GraphQuery.d.ts +1 -1
- package/rest/knowledgeGraph/GraphSearch.d.ts +3 -3
- package/rest/knowledgeGraph/GraphSearchStreaming.d.ts +3 -3
- package/rest/knowledgeGraph/SearchIndex.d.ts +1 -1
- package/rest/knowledgeGraph/toolService/findPaths/CIMFilteredFindPathsPathFilter.d.ts +3 -3
- package/rest/knowledgeGraph/toolService/findPaths/CIMFilteredFindPathsResultJSON.d.ts +151 -29
- package/rest/knowledgeGraph/toolService/findPaths/CIMKGTraversalDirection.d.ts +1 -1
- package/rest/knowledgeGraph/wasmInterface/KnowledgeWasmInterface.d.ts +1 -0
- package/rest/knowledgeGraph/wasmInterface/WasmDataModelWrapperInterfaces.d.ts +9 -0
- package/rest/knowledgeGraphService.d.ts +4 -4
- package/rest/lastMileDelivery/types.d.ts +5 -0
- package/rest/layerSources/DynamicDataLayer.d.ts +12 -0
- package/rest/layerSources/DynamicMapLayer.d.ts +14 -2
- package/rest/layerSources/JoinTableDataSource.d.ts +21 -2
- package/rest/layerSources/QueryTableDataSource.d.ts +32 -5
- package/rest/layerSources/RasterDataSource.d.ts +17 -3
- package/rest/layerSources/TableDataSource.d.ts +22 -4
- package/rest/networks/circuits/support/ExportCircuitsParameters.d.ts +8 -1
- package/rest/networks/circuits/support/QueryCircuitsParameters.d.ts +18 -3
- package/rest/networks/support/QueryNamedTraceConfigurationsParameters.d.ts +22 -4
- package/rest/query/support/AttachmentInfo.d.ts +1 -1
- package/rest/support/AddressToLocationsParameters.d.ts +39 -3
- package/rest/support/AddressesToLocationsParameters.d.ts +14 -0
- package/rest/support/BaseImageMeasureResultValue.d.ts +21 -4
- package/rest/support/DirectionsString.d.ts +16 -3
- package/rest/support/ImageMeasureResultAngleValue.d.ts +12 -2
- package/rest/support/ImageMeasureResultAreaValue.d.ts +12 -2
- package/rest/support/ImageMeasureResultLengthValue.d.ts +12 -2
- package/rest/support/LocateSetting.d.ts +12 -2
- package/rest/support/LocateSettingBase.d.ts +14 -2
- package/rest/support/LocateSettingSource.d.ts +12 -2
- package/rest/support/LocateSettings.d.ts +22 -4
- package/rest/support/LocateSettingsOverrides.d.ts +42 -8
- package/rest/support/LocationToAddressParameters.d.ts +7 -0
- package/rest/support/NetworkAttribute.d.ts +11 -2
- package/rest/support/NetworkServiceDescription.d.ts +20 -4
- package/rest/support/QuantizationParameters.d.ts +9 -0
- package/rest/support/SuggestLocationsParameters.d.ts +10 -0
- package/rest/support/SuggestionCandidate.d.ts +14 -2
- package/rest/support/types.d.ts +53 -3
- package/rest/types.d.ts +50 -5
- package/rest/versionManagement/gdbVersion/support/AlterVersionParameters.d.ts +22 -4
- package/rest/versionManagement/gdbVersion/support/PostResult.d.ts +6 -1
- package/rest/versionManagement/gdbVersion/support/ReconcileParameters.d.ts +10 -1
- package/rest/versionManagement/gdbVersion/support/ReconcileResult.d.ts +8 -1
- package/rest/versionManagement/support/CreateVersionParameters.d.ts +13 -2
- package/rest/versionManagement/support/GetVersionInfosParameters.d.ts +8 -1
- package/smartMapping/heuristics/types.d.ts +50 -6
- package/smartMapping/popup/types.d.ts +29 -5
- package/smartMapping/raster/renderers/types.d.ts +12 -1
- package/smartMapping/raster/support/adapters/types.d.ts +1 -0
- package/smartMapping/renderers/color.d.ts +9 -3
- package/smartMapping/renderers/dotDensity.d.ts +3 -1
- package/smartMapping/renderers/heatmap.d.ts +3 -1
- package/smartMapping/renderers/location.d.ts +3 -1
- package/smartMapping/renderers/opacity.d.ts +3 -1
- package/smartMapping/renderers/pieChart.d.ts +3 -1
- package/smartMapping/renderers/predominance.d.ts +3 -1
- package/smartMapping/renderers/relationship.d.ts +3 -1
- package/smartMapping/renderers/size.d.ts +23 -7
- package/smartMapping/renderers/support/rendererUtils.d.ts +3 -1
- package/smartMapping/renderers/type.d.ts +3 -1
- package/smartMapping/renderers/univariateColorSize.d.ts +3 -1
- package/smartMapping/statistics/types.d.ts +16 -4
- package/smartMapping/symbology/type.d.ts +5 -1
- package/smartMapping/symbology/types.d.ts +1303 -241
- package/smartMapping/types.d.ts +5 -0
- package/statistics/types.d.ts +13 -2
- package/support/revision.js +1 -1
- package/symbols/callouts/LineCallout3DBorder.d.ts +4 -0
- package/symbols/cim/types.d.ts +764 -111
- package/symbols/patterns/LinePattern3D.d.ts +1 -0
- package/symbols/patterns/Pattern3D.d.ts +1 -0
- package/symbols/support/IconSymbol3DLayerResource.d.ts +7 -0
- package/symbols/support/ObjectSymbol3DLayerResource.d.ts +7 -0
- package/symbols/support/OccludedVisibility.d.ts +3 -0
- package/symbols/support/Symbol3DAnchorPosition2D.d.ts +4 -0
- package/symbols/support/Symbol3DAnchorPosition3D.d.ts +5 -0
- package/symbols/support/Symbol3DFillMaterial.d.ts +4 -0
- package/symbols/support/Symbol3DHalo.d.ts +10 -0
- package/symbols/support/Symbol3DIconOutline.d.ts +10 -0
- package/symbols/support/Symbol3DMaterial.d.ts +6 -0
- package/symbols/support/Symbol3DOutline.d.ts +21 -2
- package/symbols/support/Symbol3DTextBackground.d.ts +12 -2
- package/symbols/support/symbolUtils.d.ts +5 -1
- package/symbols/support/types.d.ts +4 -0
- package/symbols/types.d.ts +67 -7
- package/tables/AttributeTableTemplate.d.ts +2 -2
- package/tables/elements/AttributeTableAttachmentElement.d.ts +1 -1
- package/tables/elements/AttributeTableElement.d.ts +2 -2
- package/tables/elements/AttributeTableFieldElement.d.ts +1 -1
- package/tables/elements/AttributeTableGroupElement.d.ts +1 -1
- package/tables/elements/AttributeTableRelationshipElement.d.ts +1 -1
- package/tables/support/FieldOrder.d.ts +16 -3
- package/tables/support/tablesUtils.d.ts +1 -0
- package/time/types.d.ts +4 -0
- package/versionManagement/VersionManagementService.d.ts +3 -6
- package/versionManagement/VersionManager.d.ts +126 -23
- package/versionManagement/VersioningState.d.ts +1 -1
- package/versionManagement/support/jsonTypes.d.ts +152 -30
- package/versionManagement/support/type.d.ts +2 -0
- package/versionManagement/versionAdapters/types.d.ts +25 -5
- package/views/2d/MapViewConstraints.d.ts +37 -5
- package/views/2d/analysis/AnalysisView2D.d.ts +5 -1
- package/views/2d/analysis/AreaMeasurementAnalysisView2D.d.ts +28 -4
- package/views/2d/analysis/DistanceMeasurementAnalysisView2D.d.ts +28 -4
- package/views/2d/analysis/types.d.ts +5 -1
- package/views/2d/engine/flow/BrushFlow.js +1 -1
- package/views/2d/engine/flow/FlowDisplayObject.js +1 -1
- package/views/2d/engine/flow/FlowStrategy.js +1 -1
- package/views/2d/engine/flow/FlowView2D.js +1 -1
- package/views/2d/engine/flow/ProcessingTimeEstimate.js +5 -0
- package/views/2d/engine/flow/animatedValues.js +5 -0
- package/views/2d/engine/flow/dataUtils.js +1 -1
- package/views/2d/engine/flow/flowPathsIO.js +5 -0
- package/views/2d/engine/flow/styles/AFlowResources.js +5 -0
- package/views/2d/engine/flow/styles/Imagery.js +1 -1
- package/views/2d/engine/flow/styles/Particles.js +1 -1
- package/views/2d/engine/flow/styles/Stack.js +1 -1
- package/views/2d/engine/flow/styles/Streamlines.js +1 -1
- package/views/2d/engine/flow/utils.js +1 -1
- package/views/2d/engine/vectorTiles/shaders/sources/shaderRepository.js +1 -1
- package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
- package/views/2d/layers/support/MediaLayerInteractionOptions.d.ts +1 -0
- package/views/2d/layers/types.d.ts +1 -0
- package/views/2d/types.d.ts +93 -6
- package/views/3d/analysis/AnalysisView3D.d.ts +5 -1
- package/views/3d/analysis/DirectLineMeasurement/types.d.ts +24 -4
- package/views/3d/analysis/LineOfSight/types.d.ts +1 -0
- package/views/3d/analysis/ShadowCastAnalysisView3D.d.ts +19 -3
- package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillVisualization.js +1 -1
- package/views/3d/analysis/VolumeMeasurement/types.d.ts +5 -1
- package/views/3d/analysis/types.d.ts +25 -3
- package/views/3d/constraints/AltitudeConstraint.d.ts +5 -0
- package/views/3d/constraints/ClipDistanceConstraint.d.ts +13 -2
- package/views/3d/constraints/Constraints.d.ts +26 -4
- package/views/3d/constraints/TiltConstraint.d.ts +5 -0
- package/views/3d/environment/SceneViewEnvironment.d.ts +9 -0
- package/views/3d/environment/types.d.ts +3 -0
- package/views/3d/layers/ImageryLayerView3D.js +1 -1
- package/views/3d/layers/support/MediaLayerInteractionOptions.d.ts +15 -2
- package/views/3d/layers/support/MediaLayerInteractionReshapeOptions.d.ts +3 -0
- package/views/3d/types.d.ts +52 -0
- package/views/3d/webgl/ManagedColorAttachment.d.ts +2 -0
- package/views/3d/webgl/ManagedDepthAttachment.d.ts +2 -0
- package/views/3d/webgl/ManagedFBO.d.ts +4 -0
- package/views/3d/webgl/ManagedFBOAttachment.d.ts +1 -0
- package/views/3d/webgl/ManagedFBOResource.d.ts +5 -0
- package/views/3d/webgl/types.d.ts +32 -6
- package/views/3d/webgl-engine/core/shaderLibrary/shading/EvaluateSceneLighting.glsl.js +20 -22
- package/views/3d/webgl-engine/core/shaderLibrary/shading/Gamma.glsl.js +9 -5
- package/views/3d/webgl-engine/core/shaderLibrary/terrain/TerrainTexture.glsl.js +8 -6
- package/views/3d/webgl-engine/shaders/OutputColorHighlightOLID.glsl.js +9 -8
- package/views/MapViewOrSceneView.d.ts +1 -0
- package/views/SceneView.d.ts +59 -0
- package/views/SceneView.js +1 -1
- package/views/View.d.ts +2 -2
- package/views/View2D.d.ts +37 -0
- package/views/View2D.js +1 -1
- package/views/Viewport2DMixin.d.ts +9 -6
- package/views/analysis/AnalysisView.d.ts +2 -0
- package/views/analysis/AreaMeasurement/types.d.ts +18 -3
- package/views/analysis/DistanceMeasurement/types.d.ts +13 -2
- package/views/analysis/types.d.ts +7 -1
- package/views/animation/easing.js +1 -1
- package/views/animation/types.d.ts +3 -4
- package/views/draw/CursorUpdateEvent.d.ts +24 -4
- package/views/draw/DrawAction.d.ts +4 -6
- package/views/draw/DrawCompleteEvent.d.ts +18 -3
- package/views/draw/VertexAddEvent.d.ts +19 -3
- package/views/draw/VertexRemoveEvent.d.ts +19 -3
- package/views/draw/types.d.ts +4 -0
- package/views/input/types.d.ts +371 -57
- package/views/interactive/sketch/SketchTooltipVisibleElements.d.ts +19 -1
- package/views/interactive/sketch/Units.d.ts +5 -0
- package/views/interactive/tooltip/types.d.ts +2 -0
- package/views/layers/HighlightLayerViewMixin.d.ts +59 -1
- package/views/layers/HighlightLayerViewMixin.js +1 -1
- package/views/layers/ImageryLayerViewMixin.d.ts +60 -2
- package/views/layers/ImageryTileLayerViewMixin.d.ts +2 -0
- package/views/layers/LayerView.d.ts +6 -0
- package/views/layers/MediaLayerViewMixin.d.ts +8 -1
- package/views/layers/types.d.ts +3 -0
- package/views/navigation/types.d.ts +6 -1
- package/views/support/AttributionItem.d.ts +10 -2
- package/views/types.d.ts +306 -53
- package/views/ui/types.d.ts +42 -6
- package/webdoc/Widgets.d.ts +26 -5
- package/webdoc/geotriggersInfo/support/typeUtils.d.ts +3 -0
- package/webdoc/support/SlideThumbnail.d.ts +4 -0
- package/webdoc/support/types.d.ts +11 -2
- package/webdoc/support/webdocSaveUtils.d.ts +6 -0
- package/webdoc/widgets/FloorFilter.d.ts +25 -4
- package/webmap/Version.d.ts +1 -0
- package/webscene/Version.d.ts +1 -0
- package/webscene/support/Description.d.ts +3 -0
- package/webscene/support/SlideEnvironment.d.ts +6 -0
- package/webscene/support/SlideGround.d.ts +7 -1
- package/webscene/support/SlideVisibleLayer.d.ts +5 -0
- package/webscene/support/Title.d.ts +3 -0
- package/widgets/Attachments/types.d.ts +32 -6
- package/widgets/BasemapGallery/types.d.ts +3 -0
- package/widgets/BasemapLayerList/BasemapLayerListVisibleElements.d.ts +14 -0
- package/widgets/BasemapLayerList/types.d.ts +1 -0
- package/widgets/BatchAttributeForm/VisibleElements.d.ts +7 -1
- package/widgets/BatchAttributeForm/inputs/SingleFeatureInput.d.ts +2 -0
- package/widgets/BatchAttributeForm/inputs/TextElementInput.d.ts +14 -2
- package/widgets/BatchAttributeForm/inputs/types.d.ts +2 -0
- package/widgets/BatchAttributeForm/types.d.ts +75 -14
- package/widgets/BatchAttributeForm.d.ts +2 -2
- package/widgets/Bookmarks/BookmarksVisibleElements.d.ts +30 -9
- package/widgets/Bookmarks/types.d.ts +32 -10
- package/widgets/CatalogLayerList/CatalogLayerListVisibleElements.d.ts +11 -0
- package/widgets/CatalogLayerList/types.d.ts +1 -0
- package/widgets/Daylight/VisibleElements.d.ts +11 -1
- package/widgets/Daylight/types.d.ts +8 -2
- package/widgets/DirectionalPad/VisibleElements.d.ts +6 -0
- package/widgets/DirectionalPad/types.d.ts +13 -2
- package/widgets/Directions/DirectionsVisibleElements.d.ts +8 -0
- package/widgets/Editor/CreateFeaturesWorkflowData.d.ts +3 -3
- package/widgets/Editor/EditorViewModel.d.ts +2 -3
- package/widgets/Editor/Edits.d.ts +1 -2
- package/widgets/Editor/SplitFeatureWorkflow.d.ts +2 -2
- package/widgets/Editor/VisibleElements.d.ts +46 -13
- package/widgets/Editor/support/EditorEditingCapabilities.d.ts +46 -9
- package/widgets/Editor/types.d.ts +149 -24
- package/widgets/ElevationProfile/ElevationProfileVisibleElements.d.ts +13 -1
- package/widgets/ElevationProfile/types.d.ts +87 -14
- package/widgets/Expand.d.ts +2 -2
- package/widgets/Feature/types.d.ts +105 -18
- package/widgets/FeatureForm/GroupInput.d.ts +1 -1
- package/widgets/FeatureForm/RelationshipInput.d.ts +1 -1
- package/widgets/FeatureForm/TextElementInput.d.ts +3 -5
- package/widgets/FeatureForm/UtilityNetworkAssociationInput.d.ts +1 -1
- package/widgets/FeatureForm/VisibleElements.d.ts +7 -1
- package/widgets/FeatureForm/types.d.ts +3 -0
- package/widgets/FeatureForm.d.ts +1 -1
- package/widgets/FeatureTable/ColumnMenuVisibleElements.d.ts +4 -0
- package/widgets/FeatureTable/FeatureTableViewModel.d.ts +14 -4
- package/widgets/FeatureTable/Grid/Column.d.ts +1 -1
- package/widgets/FeatureTable/Grid/GridViewModel.d.ts +2 -0
- package/widgets/FeatureTable/Grid/types.d.ts +137 -24
- package/widgets/FeatureTable/TableMenuVisibleElements.d.ts +10 -0
- package/widgets/FeatureTable/VisibleElements.d.ts +16 -2
- package/widgets/FeatureTable/support/ColumnTemplateBase.d.ts +1 -1
- package/widgets/FeatureTable/support/types.d.ts +155 -27
- package/widgets/FeatureTable.d.ts +3 -3
- package/widgets/FeatureTemplates/VisibleElements.d.ts +4 -0
- package/widgets/FeatureTemplates/types.d.ts +17 -2
- package/widgets/Features/FeaturesVisibleElements.d.ts +12 -0
- package/widgets/FloorFilter/FloorFilterViewModel.js +1 -1
- package/widgets/Histogram/types.d.ts +14 -2
- package/widgets/HistogramRangeSlider/types.d.ts +1 -0
- package/widgets/LayerList/LayerListVisibleElements.d.ts +10 -0
- package/widgets/LayerList/types.d.ts +8 -0
- package/widgets/Legend/styles/card/CardView.d.ts +13 -2
- package/widgets/Legend/styles/classic/ClassicView.d.ts +11 -2
- package/widgets/Measurement/types.d.ts +3 -0
- package/widgets/OrientedImageryViewer/types.d.ts +15 -3
- package/widgets/Popup/PopupVisibleElements.d.ts +11 -0
- package/widgets/Popup/types.d.ts +64 -7
- package/widgets/Print/FileLink.d.ts +36 -6
- package/widgets/Print/types.d.ts +77 -13
- package/widgets/ScaleRangeSlider/types.d.ts +4 -0
- package/widgets/ScaleRangeSlider.d.ts +5 -1
- package/widgets/ShadowCast/ShadowCastVisibleElements.d.ts +15 -1
- package/widgets/ShadowCast/types.d.ts +8 -2
- package/widgets/Sketch/CreateToolVisibilityMap.d.ts +19 -4
- package/widgets/Sketch/SelectionToolVisibilityMap.d.ts +4 -0
- package/widgets/Sketch/VisibleElements.d.ts +38 -6
- package/widgets/Sketch/types.d.ts +364 -60
- package/widgets/Slider/types.d.ts +249 -46
- package/widgets/Swipe/types.d.ts +6 -0
- package/widgets/TableList/TableListVisibleElements.d.ts +11 -0
- package/widgets/TableList/types.d.ts +5 -0
- package/widgets/TimeSlider/types.d.ts +45 -7
- package/widgets/Track/types.d.ts +4 -1
- package/widgets/UtilityNetworkAssociations/VisibleElements.d.ts +23 -4
- package/widgets/UtilityNetworkAssociations/VisibleElementsSettingsPane.d.ts +7 -0
- package/widgets/UtilityNetworkTrace/types.d.ts +26 -5
- package/widgets/ValuePicker/ValuePickerBaseComponent.d.ts +2 -0
- package/widgets/ValuePicker/ValuePickerSliderVisibleElements.d.ts +7 -1
- package/widgets/ValuePicker/ValuePickerVisibleElements.d.ts +9 -1
- package/widgets/ValuePicker/types.d.ts +8 -0
- package/widgets/Weather/VisibleElements.d.ts +6 -1
- package/widgets/Weather/types.d.ts +1 -0
- package/widgets/smartMapping/types.d.ts +63 -6
- package/widgets/support/GridControls/VisibleElements.d.ts +11 -0
- package/widgets/support/GridControls/types.d.ts +1 -0
- package/widgets/support/SnappingControls/VisibleElements.d.ts +26 -4
- package/widgets/support/forms/types.d.ts +2 -0
- package/widgets/support/types.d.ts +19 -3
- package/widgets/types.d.ts +549 -89
- package/assets/esri/core/workers/chunks/329b10897c6965948b84.js +0 -1
- package/assets/esri/core/workers/chunks/35593a9790818b689455.js +0 -1
- package/assets/esri/core/workers/chunks/98d68b145226e7527c84.js +0 -33
- package/views/2d/engine/flow/FlowDisplayData.js +0 -5
|
@@ -3,8 +3,13 @@ import type { Clonable, ClonableMixinProperties } from "../../core/Clonable.js";
|
|
|
3
3
|
import type { ScreenPoint } from "../../core/types.js";
|
|
4
4
|
import type { PointProperties } from "../../geometry/Point.js";
|
|
5
5
|
|
|
6
|
+
/** @since 5.0 */
|
|
6
7
|
export interface ControlPointProperties extends ClonableMixinProperties, Partial<Pick<ControlPoint, "sourcePoint">> {
|
|
7
|
-
/**
|
|
8
|
+
/**
|
|
9
|
+
* The coordinate of the the control point in the map coordinate space.
|
|
10
|
+
*
|
|
11
|
+
* @since 5.0
|
|
12
|
+
*/
|
|
8
13
|
mapPoint?: PointProperties | null;
|
|
9
14
|
}
|
|
10
15
|
|
|
@@ -21,10 +26,19 @@ export interface ControlPointProperties extends ClonableMixinProperties, Partial
|
|
|
21
26
|
* };
|
|
22
27
|
*/
|
|
23
28
|
export default class ControlPoint extends Clonable {
|
|
29
|
+
/** @since 5.0 */
|
|
24
30
|
constructor(properties?: ControlPointProperties);
|
|
25
|
-
/**
|
|
31
|
+
/**
|
|
32
|
+
* The coordinate of the the control point in the map coordinate space.
|
|
33
|
+
*
|
|
34
|
+
* @since 5.0
|
|
35
|
+
*/
|
|
26
36
|
get mapPoint(): Point | null | undefined;
|
|
27
37
|
set mapPoint(value: PointProperties | null | undefined);
|
|
28
|
-
/**
|
|
38
|
+
/**
|
|
39
|
+
* The coordinate of the control point in the image coordinate space in pixels.
|
|
40
|
+
*
|
|
41
|
+
* @since 5.0
|
|
42
|
+
*/
|
|
29
43
|
accessor sourcePoint: ScreenPoint | null | undefined;
|
|
30
44
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { ClonableMixin, ClonableMixinProperties } from "../../core/Clonable.js";
|
|
2
2
|
import type { JSONSupport, JSONSupportMixinProperties } from "../../core/JSONSupport.js";
|
|
3
3
|
|
|
4
|
+
/** @since 5.0 */
|
|
4
5
|
export interface EditFieldsInfoProperties extends JSONSupportMixinProperties, ClonableMixinProperties {}
|
|
5
6
|
|
|
6
7
|
/**
|
|
@@ -9,13 +10,29 @@ export interface EditFieldsInfoProperties extends JSONSupportMixinProperties, Cl
|
|
|
9
10
|
* @since 4.11
|
|
10
11
|
*/
|
|
11
12
|
export default abstract class EditFieldsInfo extends EditFieldsInfoSuperclass {
|
|
12
|
-
/**
|
|
13
|
+
/**
|
|
14
|
+
* The name of the field that stores the date and time the feature was created.
|
|
15
|
+
*
|
|
16
|
+
* @since 5.0
|
|
17
|
+
*/
|
|
13
18
|
get creationDateField(): string;
|
|
14
|
-
/**
|
|
19
|
+
/**
|
|
20
|
+
* The name of the field that stores the name of the user who created the feature.
|
|
21
|
+
*
|
|
22
|
+
* @since 5.0
|
|
23
|
+
*/
|
|
15
24
|
get creatorField(): string;
|
|
16
|
-
/**
|
|
25
|
+
/**
|
|
26
|
+
* The name of the field that stores the date and time the feature was last edited.
|
|
27
|
+
*
|
|
28
|
+
* @since 5.0
|
|
29
|
+
*/
|
|
17
30
|
get editDateField(): string;
|
|
18
|
-
/**
|
|
31
|
+
/**
|
|
32
|
+
* The name of the field that stores the name of the user who last edited the feature.
|
|
33
|
+
*
|
|
34
|
+
* @since 5.0
|
|
35
|
+
*/
|
|
19
36
|
get editorField(): string;
|
|
20
37
|
}
|
|
21
38
|
declare const EditFieldsInfoSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
@@ -2,20 +2,49 @@ import type Accessor from "../../core/Accessor.js";
|
|
|
2
2
|
import type { AttachmentCapabilities, CreateCapabilities, DeleteCapabilities, UpdateCapabilities } from "./types.js";
|
|
3
3
|
import type { EditorLayerUnion } from "../../widgets/Editor/types.js";
|
|
4
4
|
|
|
5
|
+
/** @since 5.0 */
|
|
5
6
|
export interface EditingCapabilitiesProperties extends Partial<Pick<EditingCapabilities, "layer">> {}
|
|
6
7
|
|
|
7
|
-
/**
|
|
8
|
+
/**
|
|
9
|
+
* The default editing capabilities for the provided layer.
|
|
10
|
+
*
|
|
11
|
+
* @since 5.0
|
|
12
|
+
*/
|
|
8
13
|
export default abstract class EditingCapabilities extends Accessor {
|
|
9
|
-
/**
|
|
14
|
+
/**
|
|
15
|
+
* The editing capabilities for attachments.
|
|
16
|
+
*
|
|
17
|
+
* @since 5.0
|
|
18
|
+
*/
|
|
10
19
|
get attachments(): AttachmentCapabilities;
|
|
11
|
-
/**
|
|
20
|
+
/**
|
|
21
|
+
* The editing capabilities for creating features.
|
|
22
|
+
*
|
|
23
|
+
* @since 5.0
|
|
24
|
+
*/
|
|
12
25
|
get create(): CreateCapabilities;
|
|
13
|
-
/**
|
|
26
|
+
/**
|
|
27
|
+
* The editing capabilities for deleting features.
|
|
28
|
+
*
|
|
29
|
+
* @since 5.0
|
|
30
|
+
*/
|
|
14
31
|
get delete(): DeleteCapabilities;
|
|
15
|
-
/**
|
|
32
|
+
/**
|
|
33
|
+
* The associated layer.
|
|
34
|
+
*
|
|
35
|
+
* @since 5.0
|
|
36
|
+
*/
|
|
16
37
|
accessor layer: EditorLayerUnion;
|
|
17
|
-
/**
|
|
38
|
+
/**
|
|
39
|
+
* Indicates when editing is enabled and is *only* due to administrative permissions. It returns `false` for *any* users if editing is generally enabled.
|
|
40
|
+
*
|
|
41
|
+
* @since 5.0
|
|
42
|
+
*/
|
|
18
43
|
get reliesOnOwnerAdminPrivileges(): boolean;
|
|
19
|
-
/**
|
|
44
|
+
/**
|
|
45
|
+
* The editing capabilities for updating features.
|
|
46
|
+
*
|
|
47
|
+
* @since 5.0
|
|
48
|
+
*/
|
|
20
49
|
get update(): UpdateCapabilities;
|
|
21
50
|
}
|
|
@@ -1,12 +1,32 @@
|
|
|
1
1
|
|
|
2
|
-
/**
|
|
2
|
+
/**
|
|
3
|
+
* Describes elevation contained in the pixels that comprise an elevation tile.
|
|
4
|
+
*
|
|
5
|
+
* @since 5.0
|
|
6
|
+
*/
|
|
3
7
|
export default abstract class ElevationTileData {
|
|
4
|
-
/**
|
|
8
|
+
/**
|
|
9
|
+
* The height of the tile in pixels.
|
|
10
|
+
*
|
|
11
|
+
* @since 5.0
|
|
12
|
+
*/
|
|
5
13
|
readonly height: number;
|
|
6
|
-
/**
|
|
14
|
+
/**
|
|
15
|
+
* Indicating the pixel values where no elevation data is present.
|
|
16
|
+
*
|
|
17
|
+
* @since 5.0
|
|
18
|
+
*/
|
|
7
19
|
readonly noDataValue: number;
|
|
8
|
-
/**
|
|
20
|
+
/**
|
|
21
|
+
* The elevation values of each pixel in the tile.
|
|
22
|
+
*
|
|
23
|
+
* @since 5.0
|
|
24
|
+
*/
|
|
9
25
|
readonly values: Float32Array;
|
|
10
|
-
/**
|
|
26
|
+
/**
|
|
27
|
+
* The width of the tile in pixels.
|
|
28
|
+
*
|
|
29
|
+
* @since 5.0
|
|
30
|
+
*/
|
|
11
31
|
readonly width: number;
|
|
12
32
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ClonableMixin } from "../../core/Clonable.js";
|
|
2
2
|
import type { JSONSupport } from "../../core/JSONSupport.js";
|
|
3
3
|
|
|
4
|
+
/** @since 5.0 */
|
|
4
5
|
export default abstract class FieldFormat extends FieldFormatSuperclass {}
|
|
5
6
|
declare const FieldFormatSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
@@ -2,27 +2,38 @@ import type Extent from "../../geometry/Extent.js";
|
|
|
2
2
|
import type { JSONSupport } from "../../core/JSONSupport.js";
|
|
3
3
|
import type { ExtentProperties } from "../../geometry/Extent.js";
|
|
4
4
|
|
|
5
|
-
/**
|
|
5
|
+
/**
|
|
6
|
+
* **MapImage** represents an image overlay draped onto the terrain.
|
|
7
|
+
*
|
|
8
|
+
* @since 5.0
|
|
9
|
+
*/
|
|
6
10
|
export default abstract class KMLMapImage extends JSONSupport {
|
|
7
|
-
/**
|
|
11
|
+
/**
|
|
12
|
+
* The [Extent](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Extent.html) of the map image.
|
|
13
|
+
*
|
|
14
|
+
* @since 5.0
|
|
15
|
+
*/
|
|
8
16
|
get extent(): Extent;
|
|
9
17
|
set extent(value: ExtentProperties);
|
|
10
18
|
/**
|
|
11
19
|
* URL to the map image.
|
|
12
20
|
*
|
|
13
21
|
* @default ""
|
|
22
|
+
* @since 5.0
|
|
14
23
|
*/
|
|
15
24
|
accessor href: string;
|
|
16
25
|
/**
|
|
17
26
|
* Map image id.
|
|
18
27
|
*
|
|
19
28
|
* @default 0
|
|
29
|
+
* @since 5.0
|
|
20
30
|
*/
|
|
21
31
|
accessor id: number;
|
|
22
32
|
/**
|
|
23
33
|
* Rotation of the map image about its center, in degrees. Values can be ±180. The default is 0 (north). Rotations are specified in a counterclockwise direction.
|
|
24
34
|
*
|
|
25
35
|
* @default 0
|
|
36
|
+
* @since 5.0
|
|
26
37
|
*/
|
|
27
38
|
accessor rotation: number;
|
|
28
39
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import type { JSONSupport, JSONSupportMixinProperties } from "../../core/JSONSupport.js";
|
|
2
2
|
|
|
3
|
+
/** @since 5.0 */
|
|
3
4
|
export interface LabelExpressionInfoProperties extends JSONSupportMixinProperties, Partial<Pick<LabelExpressionInfo, "expression" | "title">> {}
|
|
4
5
|
|
|
6
|
+
/** @since 5.0 */
|
|
5
7
|
export default abstract class LabelExpressionInfo extends JSONSupport {
|
|
6
8
|
/**
|
|
7
9
|
* An [Arcade](https://developers.arcgis.com/javascript/latest/arcade/) expression following the specification
|
|
@@ -18,8 +20,14 @@ export default abstract class LabelExpressionInfo extends JSONSupport {
|
|
|
18
20
|
* to add a new line to the label.
|
|
19
21
|
*
|
|
20
22
|
* `IIF($feature.POPULATION > 10000, $feature.NAME + ' city', $feature.NAME + ' town')`
|
|
23
|
+
*
|
|
24
|
+
* @since 5.0
|
|
21
25
|
*/
|
|
22
26
|
accessor expression: string | null | undefined;
|
|
23
|
-
/**
|
|
27
|
+
/**
|
|
28
|
+
* The title of the label expression. This is particularly useful in the case of multiple label classes.
|
|
29
|
+
*
|
|
30
|
+
* @since 5.0
|
|
31
|
+
*/
|
|
24
32
|
accessor title: string | null | undefined;
|
|
25
33
|
}
|
|
@@ -53,8 +53,44 @@ export interface MosaicRuleProperties extends JSONSupportMixinProperties, Partia
|
|
|
53
53
|
viewpoint?: PointProperties | null;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* Defines the mosaic operation used to resolve overlapping pixels.
|
|
59
|
+
*
|
|
60
|
+
* **Possible Values**
|
|
61
|
+
* Value | Description |
|
|
62
|
+
* ----- | ----------- |
|
|
63
|
+
* first | The overlapping areas will contain the cells from the first raster dataset listed in the source.
|
|
64
|
+
* last | The overlapping areas will contain the cells from the last raster dataset listed in the source.
|
|
65
|
+
* min | The overlapping areas will contain the minimum cell values from all the overlapping cells.
|
|
66
|
+
* max | The overlapping areas will contain the maximum cell values from all the overlapping cells.
|
|
67
|
+
* mean | The overlapping areas will contain the mean cell values from all the overlapping cells.
|
|
68
|
+
* blend | The overlapping areas will be a blend of the cell values that overlap. This blend value relies on an algorithm that is weight based and dependent on the distance from the cells to the edge within the overlapping area.
|
|
69
|
+
* sum | The overlapping areas will contain the total sum of the cell values from all the overlapping cells.
|
|
70
|
+
* \@public
|
|
71
|
+
*
|
|
72
|
+
* @see [operation](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-MosaicRule.html#operation)
|
|
73
|
+
*/
|
|
56
74
|
export type OperationType = "first" | "last" | "min" | "max" | "mean" | "blend" | "sum";
|
|
57
75
|
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* The mosaic method determines how the selected rasters are ordered.
|
|
79
|
+
* The mosaic method defines how the mosaicked image is created from these input rasters.
|
|
80
|
+
*
|
|
81
|
+
* **Possible Values**
|
|
82
|
+
* Value | Description |
|
|
83
|
+
* ----- | ----------- |
|
|
84
|
+
* none | Orders rasters based on the order of [objectIds](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-MosaicRule.html#objectIds) in the mosaic dataset attribute table.
|
|
85
|
+
* center | Enables rasters to be sorted based their ZOrder, then PixelSize, and then by a default order where rasters that have their centers closest to the view center are placed on top.
|
|
86
|
+
* nadir | Enables rasters to be sorted by the ZOrder, then PixelSize, and then by the distance between the nadir position and view center. This is similar to the Closest to Center method but uses the nadir point to a raster, which may be different than the center, especially for oblique imagery.
|
|
87
|
+
* viewpoint | Orders rasters based on the ZOrder, then PixelSize, and then by a user-defined location and nadir location for the rasters using the [viewpoint](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-MosaicRule.html#viewpoint).
|
|
88
|
+
* attribute | Enables raster ordering based on ZOrder, then PixelSize, and then by a defined metadata attribute and its difference from a base value.
|
|
89
|
+
* lock-raster | Enables a user to lock the display of single or multiple rasters based on the [lockRasterIds](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-MosaicRule.html#lockRasterIds).
|
|
90
|
+
* northwest | Enables raster ordering by ZOrder, then PixelSize, and then by the shortest distance between the center of a raster to the northwest position.
|
|
91
|
+
* seamline| Cuts the raster using the predefined seamline shape for each raster, using optional feathering along the seams, and orders images based on the ZOrder and then the SOrder fields in the attribute table.
|
|
92
|
+
*
|
|
93
|
+
*/
|
|
58
94
|
export type MethodType = "none" | "center" | "nadir" | "viewpoint" | "attribute" | "lock-raster" | "northwest" | "seamline";
|
|
59
95
|
|
|
60
96
|
/**
|
|
@@ -105,9 +141,11 @@ export default class MosaicRule extends JSONSupport {
|
|
|
105
141
|
*/
|
|
106
142
|
accessor lockRasterIds: number[] | null | undefined;
|
|
107
143
|
/**
|
|
144
|
+
*
|
|
108
145
|
* The mosaic method determines how the selected rasters are ordered.
|
|
109
146
|
* The mosaic method defines how the mosaicked image is created from these input rasters.
|
|
110
147
|
*
|
|
148
|
+
* **Possible Values**
|
|
111
149
|
* Value | Description |
|
|
112
150
|
* ----- | ----------- |
|
|
113
151
|
* none | Orders rasters based on the order of [objectIds](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-MosaicRule.html#objectIds) in the mosaic dataset attribute table.
|
|
@@ -118,6 +156,7 @@ export default class MosaicRule extends JSONSupport {
|
|
|
118
156
|
* lock-raster | Enables a user to lock the display of single or multiple rasters based on the [lockRasterIds](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-MosaicRule.html#lockRasterIds).
|
|
119
157
|
* northwest | Enables raster ordering by ZOrder, then PixelSize, and then by the shortest distance between the center of a raster to the northwest position.
|
|
120
158
|
* seamline| Cuts the raster using the predefined seamline shape for each raster, using optional feathering along the seams, and orders images based on the ZOrder and then the SOrder fields in the attribute table.
|
|
159
|
+
*
|
|
121
160
|
*
|
|
122
161
|
* @default "none"
|
|
123
162
|
* @example
|
|
@@ -156,10 +195,10 @@ export default class MosaicRule extends JSONSupport {
|
|
|
156
195
|
/** Defines a selection using a set of ObjectIDs. This property applies to all mosaic methods. */
|
|
157
196
|
accessor objectIds: number[] | null | undefined;
|
|
158
197
|
/**
|
|
198
|
+
*
|
|
159
199
|
* Defines the mosaic operation used to resolve overlapping pixels.
|
|
160
200
|
*
|
|
161
201
|
* **Possible Values**
|
|
162
|
-
*
|
|
163
202
|
* Value | Description |
|
|
164
203
|
* ----- | ----------- |
|
|
165
204
|
* first | The overlapping areas will contain the cells from the first raster dataset listed in the source.
|
|
@@ -169,6 +208,7 @@ export default class MosaicRule extends JSONSupport {
|
|
|
169
208
|
* mean | The overlapping areas will contain the mean cell values from all the overlapping cells.
|
|
170
209
|
* blend | The overlapping areas will be a blend of the cell values that overlap. This blend value relies on an algorithm that is weight based and dependent on the distance from the cells to the edge within the overlapping area.
|
|
171
210
|
* sum | The overlapping areas will contain the total sum of the cell values from all the overlapping cells.
|
|
211
|
+
* \@public
|
|
172
212
|
*
|
|
173
213
|
* @default "first"
|
|
174
214
|
*/
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { ClonableMixin, ClonableMixinProperties } from "../../core/Clonable.js";
|
|
2
2
|
import type { JSONSupport, JSONSupportMixinProperties } from "../../core/JSONSupport.js";
|
|
3
3
|
|
|
4
|
+
/** @since 5.0 */
|
|
4
5
|
export interface ParquetGeometryEncodingLocationProperties extends JSONSupportMixinProperties, ClonableMixinProperties, Partial<Pick<ParquetGeometryEncodingLocation, "xField" | "yField">> {}
|
|
5
6
|
|
|
6
7
|
/**
|
|
@@ -15,17 +16,27 @@ export interface ParquetGeometryEncodingLocationProperties extends JSONSupportMi
|
|
|
15
16
|
* @see [getParquetLayerInfo()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-parquetUtils.html#getParquetLayerInfo)
|
|
16
17
|
*/
|
|
17
18
|
export default class ParquetGeometryEncodingLocation extends ParquetGeometryEncodingLocationSuperclass {
|
|
19
|
+
/** @since 5.0 */
|
|
18
20
|
constructor(properties?: ParquetGeometryEncodingLocationProperties);
|
|
19
21
|
/**
|
|
20
22
|
* The type of encoding used for the geometries in the parquet file.
|
|
21
23
|
* This will always be "location" for this class.
|
|
22
24
|
*
|
|
23
25
|
* @default "location"
|
|
26
|
+
* @since 5.0
|
|
24
27
|
*/
|
|
25
28
|
get type(): "location";
|
|
26
|
-
/**
|
|
29
|
+
/**
|
|
30
|
+
* The name of the field in the Parquet file that contains the x values.
|
|
31
|
+
*
|
|
32
|
+
* @since 5.0
|
|
33
|
+
*/
|
|
27
34
|
accessor xField: string;
|
|
28
|
-
/**
|
|
35
|
+
/**
|
|
36
|
+
* The name of the field in the Parquet file that contains the y values.
|
|
37
|
+
*
|
|
38
|
+
* @since 5.0
|
|
39
|
+
*/
|
|
29
40
|
accessor yField: string;
|
|
30
41
|
}
|
|
31
42
|
declare const ParquetGeometryEncodingLocationSuperclass: typeof JSONSupport & typeof ClonableMixin
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { ClonableMixin, ClonableMixinProperties } from "../../core/Clonable.js";
|
|
2
2
|
import type { JSONSupport, JSONSupportMixinProperties } from "../../core/JSONSupport.js";
|
|
3
3
|
|
|
4
|
+
/** @since 5.0 */
|
|
4
5
|
export interface ParquetGeometryEncodingWkbProperties extends JSONSupportMixinProperties, ClonableMixinProperties, Partial<Pick<ParquetGeometryEncodingWkb, "field" | "orientation">> {}
|
|
5
6
|
|
|
6
7
|
/**
|
|
@@ -11,16 +12,21 @@ export interface ParquetGeometryEncodingWkbProperties extends JSONSupportMixinPr
|
|
|
11
12
|
* @see [getParquetLayerInfo()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-parquetUtils.html#getParquetLayerInfo)
|
|
12
13
|
*/
|
|
13
14
|
export default class ParquetGeometryEncodingWkb extends ParquetGeometryEncodingWkbSuperclass {
|
|
15
|
+
/** @since 5.0 */
|
|
14
16
|
constructor(properties?: ParquetGeometryEncodingWkbProperties);
|
|
15
17
|
/**
|
|
16
18
|
* The name of the geometry column. When a parquet file contains multiple geometry fields,
|
|
17
19
|
* set this property to specify which geometry column should be used by the ParquetLayer.
|
|
18
20
|
* This field is used to set the [ParquetLayer#geometryType](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ParquetLayer.html#geometryType) of the layer.
|
|
21
|
+
*
|
|
22
|
+
* @since 5.0
|
|
19
23
|
*/
|
|
20
24
|
accessor field: string;
|
|
21
25
|
/**
|
|
22
26
|
* Winding order of exterior ring of polygons. If present must be "counter-clockwise"; interior rings are wound in opposite order. If absent, no assertions
|
|
23
27
|
* are made regarding the winding order.
|
|
28
|
+
*
|
|
29
|
+
* @since 5.0
|
|
24
30
|
*/
|
|
25
31
|
accessor orientation: "counter-clockwise" | null | undefined;
|
|
26
32
|
/**
|
|
@@ -28,6 +34,7 @@ export default class ParquetGeometryEncodingWkb extends ParquetGeometryEncodingW
|
|
|
28
34
|
* This will always be "wkb" for this class.
|
|
29
35
|
*
|
|
30
36
|
* @default "wkb"
|
|
37
|
+
* @since 5.0
|
|
31
38
|
*/
|
|
32
39
|
get type(): "wkb";
|
|
33
40
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { JSONSupport, JSONSupportMixinProperties } from "../../core/JSONSupport.js";
|
|
2
|
-
import type {
|
|
2
|
+
import type { BandValuesArray, RasterPixelType } from "../raster/types.js";
|
|
3
3
|
|
|
4
4
|
export interface PixelBlockProperties extends JSONSupportMixinProperties, Partial<Pick<PixelBlock, "bandMasks" | "height" | "mask" | "maskIsAlpha" | "pixels" | "pixelType" | "statistics" | "validPixelCount" | "width">> {}
|
|
5
5
|
|
|
@@ -43,7 +43,7 @@ export default class PixelBlock extends JSONSupport {
|
|
|
43
43
|
* // An array containing all the pixels in the first band
|
|
44
44
|
* let band1 = pixels[0];
|
|
45
45
|
*/
|
|
46
|
-
accessor pixels:
|
|
46
|
+
accessor pixels: BandValuesArray[];
|
|
47
47
|
/**
|
|
48
48
|
* The pixel type.
|
|
49
49
|
*
|
|
@@ -89,6 +89,7 @@ export default class PixelBlock extends JSONSupport {
|
|
|
89
89
|
getPlaneCount(): number | null | undefined;
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
+
/** The data to add to the PixelBlock via the [addData()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-PixelBlock.html#addData) method. */
|
|
92
93
|
export interface PixelBlockBandData {
|
|
93
94
|
/** An array representing the pixel data to add. */
|
|
94
95
|
pixels: number[];
|
|
@@ -96,10 +97,14 @@ export interface PixelBlockBandData {
|
|
|
96
97
|
statistics?: PixelBlockBandStatistics;
|
|
97
98
|
}
|
|
98
99
|
|
|
100
|
+
/**
|
|
101
|
+
* Pixel block band statistics. Returns the minimum and maximum pixel values for a band in a
|
|
102
|
+
* [PixelBlock](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-PixelBlock.html), as well as the no data value.
|
|
103
|
+
*/
|
|
99
104
|
export interface PixelBlockBandStatistics {
|
|
100
|
-
/** The maximum pixel value in the
|
|
105
|
+
/** The maximum pixel value in the [pixels](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-PixelBlock.html#pixels) array. */
|
|
101
106
|
readonly maxValue: number;
|
|
102
|
-
/** The minimum pixel value in the
|
|
107
|
+
/** The minimum pixel value in the [pixels](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-PixelBlock.html#pixels) array. */
|
|
103
108
|
readonly minValue: number;
|
|
104
109
|
/** Value representing areas of no data. */
|
|
105
110
|
readonly noDataValue?: number | null;
|
|
@@ -1,16 +1,28 @@
|
|
|
1
1
|
import type { JSONSupport, JSONSupportMixinProperties } from "../../core/JSONSupport.js";
|
|
2
2
|
|
|
3
|
+
/** @since 5.0 */
|
|
3
4
|
export interface PurgeOptionsProperties extends JSONSupportMixinProperties, Partial<Pick<PurgeOptions, "age" | "ageReceived" | "displayCount" | "maxObservations">> {}
|
|
4
5
|
|
|
6
|
+
/** @since 5.0 */
|
|
5
7
|
export default abstract class PurgeOptions extends JSONSupport {
|
|
6
8
|
/**
|
|
7
9
|
* Specifies the maximum age of a feature in minutes. It purges features whose `start time` specified in the [TimeInfo#startField](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-TimeInfo.html#startField)
|
|
8
10
|
* of the feature is older than the age. If no new features coming in then the `age` of the application does not advance.
|
|
11
|
+
*
|
|
12
|
+
* @since 5.0
|
|
9
13
|
*/
|
|
10
14
|
accessor age: number | null | undefined;
|
|
11
|
-
/**
|
|
15
|
+
/**
|
|
16
|
+
* Specifies the maximum age of a feature in minutes since it arrived in the application. The features older than specified `ageReceived` will be removed.
|
|
17
|
+
*
|
|
18
|
+
* @since 5.0
|
|
19
|
+
*/
|
|
12
20
|
accessor ageReceived: number | null | undefined;
|
|
13
|
-
/**
|
|
21
|
+
/**
|
|
22
|
+
* Controls the overall maximum number of features.
|
|
23
|
+
*
|
|
24
|
+
* @since 5.0
|
|
25
|
+
*/
|
|
14
26
|
accessor displayCount: number | null | undefined;
|
|
15
27
|
/**
|
|
16
28
|
* Controls the maximum number of observations to show within a [track](https://enterprise.arcgis.com/en/geoevent/latest/get-started/essential-geoevent-server-vocabulary.htm#ESRI_SECTION1_F45BBCE9ADFA4E57AF38DD225921EFCD).
|
|
@@ -18,6 +30,7 @@ export default abstract class PurgeOptions extends JSONSupport {
|
|
|
18
30
|
* no effect. The default is 1.
|
|
19
31
|
*
|
|
20
32
|
* @default 1
|
|
33
|
+
* @since 5.0
|
|
21
34
|
*/
|
|
22
35
|
accessor maxObservations: number | null | undefined;
|
|
23
36
|
}
|
|
@@ -4,8 +4,7 @@ import type RasterBandInfo from "./RasterBandInfo.js";
|
|
|
4
4
|
import type RasterSensorInfo from "./RasterSensorInfo.js";
|
|
5
5
|
import type FeatureSet from "../../rest/support/FeatureSet.js";
|
|
6
6
|
import type { JSONSupport, JSONSupportMixinProperties } from "../../core/JSONSupport.js";
|
|
7
|
-
import type { PixelSize, RasterDataType, RasterPixelType } from "../raster/types.js";
|
|
8
|
-
import type { RasterBandStatistics, RasterHistogram, RasterMultidimensionalInfo } from "./types.js";
|
|
7
|
+
import type { PixelSize, RasterBandStatistics, RasterDataType, RasterHistogram, RasterMultidimensionalInfo, RasterPixelType } from "../raster/types.js";
|
|
9
8
|
import type { ExtentProperties } from "../../geometry/Extent.js";
|
|
10
9
|
import type { SpatialReferenceProperties } from "../../geometry/SpatialReference.js";
|
|
11
10
|
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import e from"../../core/Error.js";import{open as r}from"../../core/workers.js";import t from"./PixelBlock.js";class i{constructor(){this._workerThread=null,this._destroyed=!1}async initialize(){const e=await r("RasterWorker");this._destroyed?e.close():this._workerThread=e}destroy(){this._destroyed=!0,this._workerThread&&(this._workerThread.close(),this._workerThread=null)}async convertVectorFieldData(e,r){a(this._workerThread);const i=e.pixelBlock.getTransferableObject().pixelBlock,s=await this._workerThread.invoke("convertVectorFieldData",{pixelBlock:i,type:e.dataType},r);return s?new t(s):null}async convertPixelBlockToFeatures(e,r){a(this._workerThread);const t=await this._workerThread.invoke("convertPixelBlockToFeatures",{pixelBlock:e.pixelBlock.toJSON(),extent:e.extent.toJSON(),fieldNames:e.fieldNames,skipFactor:e.skipFactor,pixelIdOffset:e.pixelIdOffset,imageRowSize:e.imageRowSize},r),i=e.extent.spatialReference?.toJSON();return t.forEach(e=>e.geometry.spatialReference=i),t}computeStatisticsHistograms(e,r){a(this._workerThread);const{transferList:t,pixelBlock:i}=e.pixelBlock.getTransferableObject();return r?.transferPixelsToWorker&&(r={...r,transferList:t}),this._workerThread.invoke("computeStatisticsHistograms",{...e,pixelBlock:i},r)}async transformPixels(e,r){a(this._workerThread);const{transferList:i,pixelBlock:s}=e.pixelBlock.getTransferableObject();r?.transferPixelsToWorker&&(r={...r,transferList:i});const o=await this._workerThread.invoke("transformPixels",{...e,pixelBlock:s},r);return t.fromJSON(o)}async compositeBands(e,r){a(this._workerThread);const i=e.pixelBlocks.map(e=>e?.getTransferableObject()),s={pixelBlocks:i.map(e=>e?.pixelBlock)};if(r?.transferPixelsToWorker){const e=i.flatMap(e=>e?.transferList).filter(e=>null!=e);r={...r,transferList:e}}const o=await this._workerThread.invoke("compositeBands",s,r);return o?t.fromJSON(o):null}async decode(e,r){a(this._workerThread);const i=await this._workerThread.invoke("decode",e,{...r,transferList:[e.data]});return i?new t(i):null}async symbolize(e,r){a(this._workerThread);const i=e.pixelBlock?.getTransferableObject().pixelBlock,s={extent:e.extent?.toJSON(),pixelBlock:i,simpleStretchParams:e.simpleStretchParams,bandIds:e.bandIds},o=await this._workerThread.invoke("symbolize",s,r);return o?new t(o):null}async highlightPixels(e,r){a(this._workerThread);const t={pixelBlock:e.pixelBlock?.toJSON(),renderedPixelBlock:e.renderedPixelBlock?.toJSON(),highlightOptions:e.highlightOptions},i=await this._workerThread.invoke("highlightPixels",t,r);e.renderedPixelBlock.pixels=i.pixels,e.renderedPixelBlock.mask=i.mask,e.renderedPixelBlock.maskIsAlpha=i.maskIsAlpha}async updateSymbolizer(e,r){a(this._workerThread);const t=e?.rendererJSON?.histograms;await Promise.all(this._workerThread.broadcast("updateSymbolizer",{symbolizerJSON:e.toJSON(),histograms:t},r))}async updateRasterFunction(e,r){a(this._workerThread),await Promise.all(this._workerThread.broadcast("updateRasterFunction",{rasterFunctionJSON:e.toJSON()},r))}async process(e,r){a(this._workerThread);const i=await this._workerThread.invoke("process",{extent:e.extent?.toJSON(),primaryPixelSizes:e.primaryPixelSizes?.map(e=>null!=e?e.toJSON():null),primaryPixelBlocks:e.primaryPixelBlocks.map(e=>e?.getTransferableObject().pixelBlock),primaryRasterIds:e.primaryRasterIds},r);return i?new t(i):null}async stretch(e,r){if(a(this._workerThread),!e?.pixelBlock)return null;const i={srcPixelBlock:e.pixelBlock.getTransferableObject().pixelBlock,stretchParams:e.stretchParams},s=await this._workerThread.invoke("stretch",i,r);return s?new t(s):null}async split(e,r){if(a(this._workerThread),!e?.pixelBlock)return null;const i={srcPixelBlock:e.pixelBlock.getTransferableObject().pixelBlock,tileSize:e.tileSize,maximumPyramidLevel:e.maximumPyramidLevel,useBilinear:e.useBilinear},s=await this._workerThread.invoke("split",i,r);return s&&s.forEach((e,r)=>{s.set(r,e?t.fromJSON(e):null)}),s}async clipTile(e,r){if(a(this._workerThread),!e?.pixelBlock)return null;const i=e.pixelBlock.getTransferableObject().pixelBlock,s={...e,pixelBlock:i},o=await this._workerThread.invoke("clipTile",s,r);return o?t.fromJSON(o):null}async estimateStatisticsHistograms(e,r){if(a(this._workerThread),!e?.pixelBlock)return null;const t={srcPixelBlock:e.pixelBlock.getTransferableObject().pixelBlock};return await this._workerThread.invoke("estimateStatisticsHistograms",t,r)}async mosaicAndTransform(e,r){if(a(this._workerThread),!e?.srcPixelBlocks?.length)return{pixelBlock:null};const i=e.srcPixelBlocks.map(e=>e?.getTransferableObject()),s={...e,srcPixelBlocks:i.map(e=>e?.pixelBlock)};if(r?.transferPixelsToWorker){const e=i.flatMap(e=>e?.transferList).filter(e=>null!=e);r={...r,transferList:e}}const o=await this._workerThread.invoke("mosaicAndTransform",s,r);return{pixelBlock:o.pixelBlock?new t(o.pixelBlock):null,localNorthDirections:o.localNorthDirections}}async createFlowMesh(e,r){a(this._workerThread);const t={buffer:e.flowData.data.buffer,maskBuffer:e.flowData.mask.buffer,width:e.flowData.width,height:e.flowData.height},{meshType:i,simulationSettings:s}=e,
|
|
5
|
+
import e from"../../core/Error.js";import{open as r}from"../../core/workers.js";import t from"./PixelBlock.js";class i{constructor(){this._workerThread=null,this._destroyed=!1}async initialize(){const e=await r("RasterWorker");this._destroyed?e.close():this._workerThread=e}destroy(){this._destroyed=!0,this._workerThread&&(this._workerThread.close(),this._workerThread=null)}async convertVectorFieldData(e,r){a(this._workerThread);const i=e.pixelBlock.getTransferableObject().pixelBlock,s=await this._workerThread.invoke("convertVectorFieldData",{pixelBlock:i,type:e.dataType},r);return s?new t(s):null}async convertPixelBlockToFeatures(e,r){a(this._workerThread);const t=await this._workerThread.invoke("convertPixelBlockToFeatures",{pixelBlock:e.pixelBlock.toJSON(),extent:e.extent.toJSON(),fieldNames:e.fieldNames,skipFactor:e.skipFactor,pixelIdOffset:e.pixelIdOffset,imageRowSize:e.imageRowSize},r),i=e.extent.spatialReference?.toJSON();return t.forEach(e=>e.geometry.spatialReference=i),t}computeStatisticsHistograms(e,r){a(this._workerThread);const{transferList:t,pixelBlock:i}=e.pixelBlock.getTransferableObject();return r?.transferPixelsToWorker&&(r={...r,transferList:t}),this._workerThread.invoke("computeStatisticsHistograms",{...e,pixelBlock:i},r)}async transformPixels(e,r){a(this._workerThread);const{transferList:i,pixelBlock:s}=e.pixelBlock.getTransferableObject();r?.transferPixelsToWorker&&(r={...r,transferList:i});const o=await this._workerThread.invoke("transformPixels",{...e,pixelBlock:s},r);return t.fromJSON(o)}async compositeBands(e,r){a(this._workerThread);const i=e.pixelBlocks.map(e=>e?.getTransferableObject()),s={pixelBlocks:i.map(e=>e?.pixelBlock)};if(r?.transferPixelsToWorker){const e=i.flatMap(e=>e?.transferList).filter(e=>null!=e);r={...r,transferList:e}}const o=await this._workerThread.invoke("compositeBands",s,r);return o?t.fromJSON(o):null}async decode(e,r){a(this._workerThread);const i=await this._workerThread.invoke("decode",e,{...r,transferList:[e.data]});return i?new t(i):null}async symbolize(e,r){a(this._workerThread);const i=e.pixelBlock?.getTransferableObject().pixelBlock,s={extent:e.extent?.toJSON(),pixelBlock:i,simpleStretchParams:e.simpleStretchParams,bandIds:e.bandIds},o=await this._workerThread.invoke("symbolize",s,r);return o?new t(o):null}async highlightPixels(e,r){a(this._workerThread);const t={pixelBlock:e.pixelBlock?.toJSON(),renderedPixelBlock:e.renderedPixelBlock?.toJSON(),highlightOptions:e.highlightOptions},i=await this._workerThread.invoke("highlightPixels",t,r);e.renderedPixelBlock.pixels=i.pixels,e.renderedPixelBlock.mask=i.mask,e.renderedPixelBlock.maskIsAlpha=i.maskIsAlpha}async updateSymbolizer(e,r){a(this._workerThread);const t=e?.rendererJSON?.histograms;await Promise.all(this._workerThread.broadcast("updateSymbolizer",{symbolizerJSON:e.toJSON(),histograms:t},r))}async updateRasterFunction(e,r){a(this._workerThread),await Promise.all(this._workerThread.broadcast("updateRasterFunction",{rasterFunctionJSON:e.toJSON()},r))}async process(e,r){a(this._workerThread);const i=await this._workerThread.invoke("process",{extent:e.extent?.toJSON(),primaryPixelSizes:e.primaryPixelSizes?.map(e=>null!=e?e.toJSON():null),primaryPixelBlocks:e.primaryPixelBlocks.map(e=>e?.getTransferableObject().pixelBlock),primaryRasterIds:e.primaryRasterIds},r);return i?new t(i):null}async stretch(e,r){if(a(this._workerThread),!e?.pixelBlock)return null;const i={srcPixelBlock:e.pixelBlock.getTransferableObject().pixelBlock,stretchParams:e.stretchParams},s=await this._workerThread.invoke("stretch",i,r);return s?new t(s):null}async split(e,r){if(a(this._workerThread),!e?.pixelBlock)return null;const i={srcPixelBlock:e.pixelBlock.getTransferableObject().pixelBlock,tileSize:e.tileSize,maximumPyramidLevel:e.maximumPyramidLevel,useBilinear:e.useBilinear},s=await this._workerThread.invoke("split",i,r);return s&&s.forEach((e,r)=>{s.set(r,e?t.fromJSON(e):null)}),s}async clipTile(e,r){if(a(this._workerThread),!e?.pixelBlock)return null;const i=e.pixelBlock.getTransferableObject().pixelBlock,s={...e,pixelBlock:i},o=await this._workerThread.invoke("clipTile",s,r);return o?t.fromJSON(o):null}async estimateStatisticsHistograms(e,r){if(a(this._workerThread),!e?.pixelBlock)return null;const t={srcPixelBlock:e.pixelBlock.getTransferableObject().pixelBlock};return await this._workerThread.invoke("estimateStatisticsHistograms",t,r)}async mosaicAndTransform(e,r){if(a(this._workerThread),!e?.srcPixelBlocks?.length)return{pixelBlock:null};const i=e.srcPixelBlocks.map(e=>e?.getTransferableObject()),s={...e,srcPixelBlocks:i.map(e=>e?.pixelBlock)};if(r?.transferPixelsToWorker){const e=i.flatMap(e=>e?.transferList).filter(e=>null!=e);r={...r,transferList:e}}const o=await this._workerThread.invoke("mosaicAndTransform",s,r);return{pixelBlock:o.pixelBlock?new t(o.pixelBlock):null,localNorthDirections:o.localNorthDirections}}async createFlowMesh(e,r){a(this._workerThread);const t={buffer:e.flowData.data.buffer,maskBuffer:e.flowData.mask.buffer,width:e.flowData.width,height:e.flowData.height},{meshType:i,simulationSettings:s,startInfo:o}=e,l=await this._workerThread.invoke("createFlowMesh",{meshType:i,flowData:t,simulationSettings:s,startInfo:o},{...r,transferList:[t.buffer,t.maskBuffer]});return{vertexData:new Float32Array(l.vertexBuffer),indexData:new Uint32Array(l.indexBuffer),pathData:new Float32Array(l.pathBuffer)}}getProjectionOffsetGrid(e,r){a(this._workerThread);const t=null!=e.datumTransformation?e.datumTransformation.steps.map(e=>({wkid:e.wkid,wkt:e.wkt,isInverse:e.isInverse})):null,i=null!=e.rasterTransform?e.rasterTransform.toJSON():null,s={projectedExtent:e.projectedExtent.toJSON(),srcBufferExtent:e.srcBufferExtent.toJSON(),pixelSize:e.pixelSize,hasWrapAround:e.hasWrapAround,spacing:e.spacing,datumTransformationSteps:t,rasterTransform:i,isAdaptive:e.isAdaptive,includeGCSGrid:e.includeGCSGrid};return this._workerThread.invoke("getProjectionOffsetGrid",s,r)}}function a(r){if(null==r)throw new e("raster-jobhandler:no-connection","no available worker connection")}export{i as default};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import e from"../../geometry/Extent.js";import r from"../../geometry/Point.js";import t from"../../geometry/operators/support/GeographicTransformation.js";import{decode as s}from"../raster/formats/RasterCodec.js";import{transformPixels as o}from"../raster/functions/pixelTransformUtils.js";import{convertPixelBlockToFeatures as i,compositeBands as n,highlightPixels as l,split as a,clipTile as m,mosaic as c,approximateTransform as f,getLocalArithmeticNorthRotations as p}from"../raster/functions/pixelUtils.js";import{create as u}from"../raster/functions/rasterFunctionHelper.js";import{load as x,getProjectionOffsetGrid as d}from"../raster/functions/rasterProjectionHelper.js";import{computeStatisticsHistograms as S,estimateStatisticsHistograms as h}from"../raster/functions/stretchUtils.js";import{convertVectorFieldData as k,convertToLocalDirections as g}from"../raster/functions/vectorFieldUtils.js";import{readTransform as
|
|
5
|
+
import e from"../../geometry/Extent.js";import r from"../../geometry/Point.js";import t from"../../geometry/operators/support/GeographicTransformation.js";import{decode as s}from"../raster/formats/RasterCodec.js";import{transformPixels as o}from"../raster/functions/pixelTransformUtils.js";import{convertPixelBlockToFeatures as i,compositeBands as n,highlightPixels as l,split as a,clipTile as m,mosaic as c,approximateTransform as f,getLocalArithmeticNorthRotations as p}from"../raster/functions/pixelUtils.js";import{create as u}from"../raster/functions/rasterFunctionHelper.js";import{load as x,getProjectionOffsetGrid as d}from"../raster/functions/rasterProjectionHelper.js";import{computeStatisticsHistograms as S,estimateStatisticsHistograms as h}from"../raster/functions/stretchUtils.js";import{convertVectorFieldData as k,convertToLocalDirections as g}from"../raster/functions/vectorFieldUtils.js";import{readTransform as B}from"../raster/transforms/utils.js";import O from"./PixelBlock.js";import y from"../../renderers/support/RasterSymbolizer.js";import{createFlowMesh as P}from"../../views/2d/engine/flow/dataUtils.js";function N(e){if(!e)return{result:null,transferList:[]};const{pixelBlock:r,transferList:t}=e.getTransferableObject();return{result:r,transferList:t}}class J{convertVectorFieldData(e){const r=O.fromJSON(e.pixelBlock),t=N(k(r,e.type));return Promise.resolve(t)}convertPixelBlockToFeatures(r){const t=i({pixelBlock:O.fromJSON(r.pixelBlock),extent:e.fromJSON(r.extent),fieldNames:r.fieldNames,skipFactor:r.skipFactor,skipSpatialReference:!0,pixelIdOffset:r.pixelIdOffset,imageRowSize:r.imageRowSize});return Promise.resolve(t)}transformPixels(e){const r=O.fromJSON(e.pixelBlock),t=o(r,e.transformType,e.transformParameters);return Promise.resolve(N(t))}computeStatisticsHistograms(e){const r=O.fromJSON(e.pixelBlock),t=S(r,{histogramSize:e.histogramSize,includeSkewnessKurtosis:e.includeSkewnessKurtosis});return Promise.resolve(t)}compositeBands(e){const r=e.pixelBlocks.map(e=>e&&O.fromJSON(e)),t=N(n(r));return Promise.resolve(t)}async decode(e){return N(await s(e.data,e.options))}symbolize(r){const t=r.pixelBlock?O.fromJSON(r.pixelBlock):null,s=r.extent?e.fromJSON(r.extent):null,o=N(this.symbolizer.symbolize({...r,pixelBlock:t,extent:s}));return Promise.resolve(o)}highlightPixels(e){const r=O.fromJSON(e.pixelBlock),t=O.fromJSON(e.renderedPixelBlock);return l({pixelBlock:r,renderedPixelBlock:t,highlightOptions:e.highlightOptions}),Promise.resolve(t.toJSON())}async updateSymbolizer(e){this.symbolizer=y.fromJSON(e.symbolizerJSON),e.histograms&&"rasterStretch"===this.symbolizer?.rendererJSON.type&&(this.symbolizer.rendererJSON.histograms=e.histograms)}async updateRasterFunction(e){this.rasterFunction=u(e.rasterFunctionJSON)}async process(t){return N(this.rasterFunction.process({extent:e.fromJSON(t.extent),primaryPixelBlocks:t.primaryPixelBlocks.map(e=>null!=e?O.fromJSON(e):null),primaryPixelSizes:t.primaryPixelSizes?.map(e=>null!=e?r.fromJSON(e):null),primaryRasterIds:t.primaryRasterIds}))}stretch(e){const r=N(this.symbolizer.simpleStretch(O.fromJSON(e.srcPixelBlock),e.stretchParams));return Promise.resolve(r)}estimateStatisticsHistograms(e){const r=h(O.fromJSON(e.srcPixelBlock));return Promise.resolve(r)}split(e){const r=a(O.fromJSON(e.srcPixelBlock),e.tileSize,e.maximumPyramidLevel??0,!1===e.useBilinear),t=[];let s;return r&&(s=new Map,r.forEach((e,r)=>{if(e){const{pixelBlock:o,transferList:i}=e.getTransferableObject();s.set(r,o),i.forEach(e=>{t.includes(e)||t.push(e)})}})),Promise.resolve({result:s,transferList:t})}clipTile(e){const r=O.fromJSON(e.pixelBlock),t=N(m({...e,pixelBlock:r}));return Promise.resolve(t)}async mosaicAndTransform(e){const r=e.srcPixelBlocks.map(e=>e?new O(e):null),t=c(r,e.srcMosaicSize,{blockWidths:e.blockWidths,alignmentInfo:e.alignmentInfo,clipOffset:e.clipOffset,clipSize:e.clipSize});let s,o=t;e.coefs&&(o=f(t,e.destDimension,e.coefs,e.sampleSpacing,e.interpolation)),e.projectDirections&&e.gcsGrid&&(s=p(e.destDimension,e.gcsGrid),o=g(o,e.isUV?"vector-uv":"vector-magdir",s));const{result:i,transferList:n}=N(o);return{result:{pixelBlock:i,localNorthDirections:s},transferList:n}}async createFlowMesh(e,r){const t={data:new Float32Array(e.flowData.buffer),mask:new Uint8Array(e.flowData.maskBuffer),width:e.flowData.width,height:e.flowData.height},{vertexData:s,indexData:o,pathData:i}=await P(e.meshType,e.simulationSettings,t,e.startInfo,r.signal);return{result:{vertexBuffer:s.buffer,indexBuffer:o.buffer,pathBuffer:i.buffer},transferList:[s.buffer,o.buffer]}}async getProjectionOffsetGrid(r){const s=e.fromJSON(r.projectedExtent),o=e.fromJSON(r.srcBufferExtent);let i=null;r.datumTransformationSteps?.length&&(i=new t({steps:r.datumTransformationSteps})),await x();const n=r.rasterTransform?B(r.rasterTransform):null;return d({...r,projectedExtent:s,srcBufferExtent:o,datumTransformation:i,rasterTransform:n})}}export{J as default};
|
|
@@ -6,28 +6,46 @@ import type { SpriteInfo } from "./types.js";
|
|
|
6
6
|
* SpriteSource holds the resources needed to render patterned (textured) markers, lines and polygons. These resources are
|
|
7
7
|
* both an image and metrics (JSON). Each element is identified by a unique name
|
|
8
8
|
*
|
|
9
|
-
* @since
|
|
9
|
+
* @since 5.0
|
|
10
10
|
*/
|
|
11
11
|
export default abstract class SpriteSource {
|
|
12
|
-
/**
|
|
12
|
+
/**
|
|
13
|
+
* The base URL to where the sprites are (both JSON and PNG)
|
|
14
|
+
*
|
|
15
|
+
* @since 5.0
|
|
16
|
+
*/
|
|
13
17
|
baseURL?: string | null;
|
|
14
18
|
/**
|
|
15
19
|
* The device pixel ratio of the sprite source.
|
|
16
20
|
*
|
|
17
21
|
* @default 1
|
|
22
|
+
* @since 5.0
|
|
18
23
|
*/
|
|
19
24
|
devicePixelRatio: number;
|
|
20
|
-
/**
|
|
25
|
+
/**
|
|
26
|
+
* The height in pixels of the sprite source.
|
|
27
|
+
*
|
|
28
|
+
* @since 5.0
|
|
29
|
+
*/
|
|
21
30
|
readonly height: number;
|
|
22
|
-
/**
|
|
31
|
+
/**
|
|
32
|
+
* The sprite image data.
|
|
33
|
+
*
|
|
34
|
+
* @since 5.0
|
|
35
|
+
*/
|
|
23
36
|
readonly image?: Uint8Array | null;
|
|
24
37
|
/**
|
|
25
38
|
* Indicates whether the sprite source is loaded successfully.
|
|
26
39
|
*
|
|
27
40
|
* @default "not-loaded"
|
|
41
|
+
* @since 5.0
|
|
28
42
|
*/
|
|
29
43
|
loadStatus: "not-loaded" | "loading" | "failed" | "loaded";
|
|
30
|
-
/**
|
|
44
|
+
/**
|
|
45
|
+
* The width in pixels of the sprite source.
|
|
46
|
+
*
|
|
47
|
+
* @since 5.0
|
|
48
|
+
*/
|
|
31
49
|
readonly width: number;
|
|
32
50
|
/**
|
|
33
51
|
* Returns the sprite info for the given sprite.
|
|
@@ -39,5 +57,9 @@ export default abstract class SpriteSource {
|
|
|
39
57
|
getSpriteInfo(name: string): SpriteInfo | null | undefined;
|
|
40
58
|
}
|
|
41
59
|
|
|
42
|
-
/**
|
|
60
|
+
/**
|
|
61
|
+
* Returns information for the specified sprite.
|
|
62
|
+
*
|
|
63
|
+
* @deprecated since 5.0. use [getSpriteInfo()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-SpriteSource.html#getSpriteInfo) instead.
|
|
64
|
+
*/
|
|
43
65
|
export type GetSpriteInfo = SpriteSource["getSpriteInfo"];
|