@arcgis/core 5.0.0-next.70 → 5.0.0-next.72
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/Ground.js +1 -1
- 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/analysisUtils.d.ts +1 -2
- package/applications/Components/analysisUtils.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/00631252e8bd4a456253.js +1 -0
- package/assets/esri/core/workers/chunks/{322085d63719da6e443c.js → 0c02b084ae30ba138c5d.js} +1 -1
- package/assets/esri/core/workers/chunks/0f2f1731543ed21db0a8.js +1 -0
- package/assets/esri/core/workers/chunks/1b201d83e9ba7d8615c0.js +1 -0
- 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/{b4f944ef6c174b20b619.js → 23545a9adc75564ecf6e.js} +1 -1
- package/assets/esri/core/workers/chunks/261b5a5db022ef580a1b.js +1 -0
- package/assets/esri/core/workers/chunks/2bd59ece927b5c1c9f80.js +1 -0
- package/assets/esri/core/workers/chunks/{37e46461da3000949a26.js → 2d8b8880e6bff4414e95.js} +1 -1
- package/assets/esri/core/workers/chunks/2fba74bae99ece15706c.js +1 -0
- package/assets/esri/core/workers/chunks/2fc64404bc42b7250086.js +1 -0
- package/assets/esri/core/workers/chunks/33cbfc34d5e2fc1a1a4f.js +1 -0
- package/assets/esri/core/workers/chunks/35887be3e4a218268d99.js +1 -0
- package/assets/esri/core/workers/chunks/3596ae4cb2bd2f3f35d9.js +1 -0
- package/assets/esri/core/workers/chunks/37814bf052ab59a5fb9e.js +1 -0
- package/assets/esri/core/workers/chunks/4e0d299054da075e5103.js +1 -0
- package/assets/esri/core/workers/chunks/50186162cd6d7c2ef0f9.js +1 -0
- package/assets/esri/core/workers/chunks/543ea1a0e7a6f1d267d1.js +1 -0
- package/assets/esri/core/workers/chunks/{dbfb00fb28b8b9f687a1.js → 5bbf20135c87a1cc8a18.js} +1 -1
- package/assets/esri/core/workers/chunks/5ed31ec0f53c1d55c4ea.js +1 -0
- package/assets/esri/core/workers/chunks/{c448540065690cac0744.js → 6087d5dc40bb62ec48c8.js} +1 -1
- package/assets/esri/core/workers/chunks/6309e8beedf5e7f2a50f.js +1 -0
- package/assets/esri/core/workers/chunks/{1a45b4b4803337f4b99f.js → 64985e9b6e2edb3ceb37.js} +38 -38
- package/assets/esri/core/workers/chunks/65475370cc4ebe2aa657.js +1 -0
- package/assets/esri/core/workers/chunks/65d9f3bc88472008443a.js +1 -0
- package/assets/esri/core/workers/chunks/6ab0f16f5c8806855c47.js +1 -0
- package/assets/esri/core/workers/chunks/7e37a3005f2ad2c0a918.js +1 -0
- package/assets/esri/core/workers/chunks/7f2496a59379e1a61ee5.js +1 -0
- package/assets/esri/core/workers/chunks/88379cd8e8e1c7ae3c7c.js +1 -0
- package/assets/esri/core/workers/chunks/{244006d4b0547d574401.js → 935a6dccb88557f98189.js} +143 -140
- package/assets/esri/core/workers/chunks/{a808be466812db51813d.js → 9382af94bf6bf1b09c8c.js} +1 -1
- package/assets/esri/core/workers/chunks/{8e83c133b201b9b61e70.js → 979bc762ccc0d3fc2467.js} +1 -1
- package/assets/esri/core/workers/chunks/9c417f4dfb19e4c4bd71.js +1 -0
- package/assets/esri/core/workers/chunks/a554ad74be03b1ed1a72.js +1 -0
- package/assets/esri/core/workers/chunks/{e6e837e43b9348050832.js → a67c86f4254807eb6a05.js} +1 -1
- package/assets/esri/core/workers/chunks/{1ec1a1997b5577619040.js → b211b53aa7616a093b90.js} +1 -1
- package/assets/esri/core/workers/chunks/{866477acdf03b8a40bc9.js → bd1d159dce4094694c93.js} +1 -1
- package/assets/esri/core/workers/chunks/c31babdb59382b6bc007.js +1 -0
- package/assets/esri/core/workers/chunks/c8182c2cbb0ead202af6.js +1 -0
- package/assets/esri/core/workers/chunks/ce218c10b209b58e04fd.js +1 -0
- package/assets/esri/core/workers/chunks/ceef586d8cc8adc4d249.js +1 -0
- package/assets/esri/core/workers/chunks/d13e8ce9270dc0662b87.js +1 -0
- package/assets/esri/core/workers/chunks/db28d00171240b4fffac.js +1 -0
- package/assets/esri/core/workers/chunks/{8d6641d0f7c93f83c414.js → db9c7182847e8f96ffe3.js} +1 -1
- package/assets/esri/core/workers/chunks/dbd382546837aa7709e2.js +1 -0
- package/assets/esri/core/workers/chunks/{6c9dac4a869742cc2718.js → e246b256347a281c13fd.js} +1 -1
- package/assets/esri/core/workers/chunks/ea6f897f21b4f30e8e99.js +1 -0
- package/assets/esri/core/workers/chunks/{a10c6dd3bb8b3602de68.js → ee175fd4ec706f7878c0.js} +1 -1
- package/assets/esri/core/workers/chunks/{e8a3ad00936f2ccaf362.js → f0a667d8d33bc51c795d.js} +1 -1
- package/assets/esri/core/workers/chunks/f65b27fc0bc2f242aac7.js +1 -0
- package/assets/esri/core/workers/chunks/{29b09db309ff75fb3e97.js → f65d26588d2d80680a26.js} +1 -1
- package/assets/esri/core/workers/chunks/f72e6c903f55ce95a6c5.js +1 -0
- package/assets/esri/core/workers/chunks/{5dd5be91038df8902dc4.js → f7dfbf24859f4ac2421b.js} +1 -1
- package/assets/esri/core/workers/chunks/f893e10d660e819cca45.js +1 -0
- package/assets/esri/core/workers/chunks/{878010ca23da0bca9405.js → fb1ed5ef2f95ab093346.js} +1 -1
- package/assets/esri/libs/lyr3d/lyr3DMain.wasm +0 -0
- package/assets/esri/libs/lyr3d/lyr3DWorker.wasm +0 -0
- package/chunks/lyr3DMain.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/core/workers/registry.js +1 -1
- 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/spatialReferenceEllipsoidUtils.js +1 -1
- 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/IntegratedMesh3DTilesLayer.js +1 -1
- package/layers/LinkChartLayer.d.ts +1 -1
- package/layers/Lyr3DWasmPerSceneView.js +1 -1
- package/layers/RouteLayer.d.ts +3 -3
- 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/ElevationQuery.js +1 -1
- package/layers/support/ElevationTileData.d.ts +25 -5
- package/layers/support/FieldFormat.d.ts +1 -0
- package/layers/support/GeometryDescriptor.js +1 -1
- 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/layerUtils.d.ts +4 -0
- package/layers/support/rasterFunctionConstants.d.ts +39 -0
- package/layers/support/types.d.ts +423 -227
- 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/FeatureService.d.ts +1 -1
- package/rest/featureService/types.d.ts +426 -80
- package/rest/geometryService/types.d.ts +23 -1
- package/rest/geoprocessor/GPOptions.d.ts +5 -5
- package/rest/geoprocessor/execute.d.ts +6 -0
- 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 +14 -2
- package/rest/layerSources/DynamicMapLayer.d.ts +14 -2
- package/rest/layerSources/JoinTableDataSource.d.ts +21 -2
- package/rest/layerSources/QueryTableDataSource.d.ts +33 -6
- 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/print.d.ts +1 -1
- 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/ClosestFacilityParameters.d.ts +3 -3
- package/rest/support/ClosestFacilitySolveResult.d.ts +2 -2
- 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/Query.d.ts +2 -2
- package/rest/support/RouteParameters.d.ts +2 -5
- package/rest/support/RouteResult.d.ts +1 -1
- package/rest/support/ServiceAreaParameters.d.ts +1 -1
- package/rest/support/ServiceAreaSolveResult.d.ts +2 -2
- package/rest/support/SuggestLocationsParameters.d.ts +10 -0
- package/rest/support/SuggestionCandidate.d.ts +14 -2
- package/rest/support/types.d.ts +54 -4
- package/rest/symbolService.d.ts +2 -2
- 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/AreaMeasurement/support/AreaMeasurementController.js +1 -1
- package/views/3d/analysis/AreaMeasurement/support/AreaMeasurementVisualization.js +1 -1
- package/views/3d/analysis/AreaMeasurement/support/MeasurementData.js +1 -1
- package/views/3d/analysis/AreaMeasurementAnalysisView3D.js +1 -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/support/measurementUtils.js +1 -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/interactive/measurementTools/areaMeasurement3D/AreaMeasurement3DView.js +1 -1
- package/views/3d/interactive/visualElements/LineVisualElement.js +1 -1
- package/views/3d/interactive/visualElements/MeasurementAreaVisualElement.js +1 -1
- package/views/3d/interactive/visualElements/support/Segment.js +1 -1
- package/views/3d/layers/ImageryLayerView3D.js +1 -1
- package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
- package/views/3d/layers/i3s/LayerElevationProvider.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/effects/RenderPlugin.js +1 -1
- package/views/3d/webgl-engine/effects/RenderPluginManager.js +1 -1
- package/views/3d/webgl-engine/effects/geometry/RenderOccludedRenderNode.js +1 -1
- package/views/3d/webgl-engine/lib/Material.js +1 -1
- package/views/3d/webgl-engine/lib/Renderer.js +1 -1
- package/views/3d/webgl-engine/materials/HUDMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/SlicePlaneMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/VisualVariablePassParameters.js +1 -1
- package/views/3d/webgl-engine/materials/renderers/MergedRenderer.js +1 -1
- package/views/3d/webgl-engine/shaders/DefaultMaterialTechnique.js +1 -1
- 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/ElevationProfile/ElevationProfileLineGroundComputation.js +1 -1
- package/views/analysis/ElevationProfile/elevationProfileGenerationUtils.js +1 -1
- 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/support/MeasurementWorker.js +5 -0
- package/views/support/MeasurementWorkerHandle.js +5 -0
- package/views/support/automaticAreaMeasurementUtils.js +1 -1
- package/views/support/geodesicAreaMeasurementUtils.js +1 -1
- package/views/support/geodesicLengthMeasurementUtils.js +1 -1
- 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/AreaMeasurement3D/AreaMeasurement3DViewModel.js +1 -1
- 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/DirectionsViewModel.d.ts +2 -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/Search/SearchResultRenderer.d.ts +0 -2
- package/widgets/Search/SearchSource.d.ts +2 -2
- package/widgets/Search/SearchViewModel.d.ts +6 -7
- package/widgets/Search/types.d.ts +4 -4
- 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/0367a8580fede8f804f9.js +0 -1
- package/assets/esri/core/workers/chunks/14f4f5b7549cea7b5a6a.js +0 -1
- package/assets/esri/core/workers/chunks/1b475593c80d7bccdda5.js +0 -1
- package/assets/esri/core/workers/chunks/27ec8688f72130239b98.js +0 -1
- package/assets/esri/core/workers/chunks/2dd347aa2a061d536e69.js +0 -1
- package/assets/esri/core/workers/chunks/2f6fa33692478e99d24b.js +0 -1
- 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/3e7ea06b342e33bc48a5.js +0 -1
- package/assets/esri/core/workers/chunks/401ce5cb98fa14c1a725.js +0 -1
- package/assets/esri/core/workers/chunks/4387aaf9d5e8f6d1833d.js +0 -1
- package/assets/esri/core/workers/chunks/668a868fe2dcb6384ac9.js +0 -1
- package/assets/esri/core/workers/chunks/6acfa51b81e6f4255118.js +0 -1
- package/assets/esri/core/workers/chunks/6f8098f9fe233833245a.js +0 -1
- package/assets/esri/core/workers/chunks/76dbaef0d0794913f36f.js +0 -1
- package/assets/esri/core/workers/chunks/7c5218eae13d3bd30598.js +0 -1
- package/assets/esri/core/workers/chunks/7fc09382f934e9223a9b.js +0 -1
- package/assets/esri/core/workers/chunks/822ef6a043c7e147b4b6.js +0 -1
- package/assets/esri/core/workers/chunks/980313a6c35e79812d17.js +0 -1
- package/assets/esri/core/workers/chunks/98d68b145226e7527c84.js +0 -33
- package/assets/esri/core/workers/chunks/9c157c0eeadb824ad01e.js +0 -1
- package/assets/esri/core/workers/chunks/a39ac9127a215d14d412.js +0 -1
- package/assets/esri/core/workers/chunks/a893f8db2477cf677ac8.js +0 -1
- package/assets/esri/core/workers/chunks/a95e28ade258b144cbb5.js +0 -1
- package/assets/esri/core/workers/chunks/abcee7cfd53cfe1d91e9.js +0 -1
- package/assets/esri/core/workers/chunks/b9f0d313f59fc7c43560.js +0 -1
- package/assets/esri/core/workers/chunks/bbe2eaef7edfa33b6eea.js +0 -1
- package/assets/esri/core/workers/chunks/bfdf646d4c8f175a4236.js +0 -1
- package/assets/esri/core/workers/chunks/d749aa62ad694147aebe.js +0 -1
- package/assets/esri/core/workers/chunks/d7d9656b990ce8be2152.js +0 -1
- package/assets/esri/core/workers/chunks/df92239eefff04471a0b.js +0 -1
- package/assets/esri/core/workers/chunks/ee2ca25048a920e43743.js +0 -1
- package/assets/esri/core/workers/chunks/eeb24a4ab4993f1f4e8e.js +0 -1
- package/assets/esri/core/workers/chunks/fe5d2735f057c7789f4b.js +0 -1
- package/views/2d/engine/flow/FlowDisplayData.js +0 -5
- package/views/support/GeodesicMeasurementWorker.js +0 -5
- package/views/support/GeodesicMeasurementWorkerHandle.js +0 -5
package/views/input/types.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import type Layer from "../../layers/Layer.js";
|
|
|
2
2
|
import type Point from "../../geometry/Point.js";
|
|
3
3
|
import type LayerView from "../layers/LayerView.js";
|
|
4
4
|
|
|
5
|
+
/** @since 5.0 */
|
|
5
6
|
export type PointerType = "mouse" | "touch" | "pen";
|
|
6
7
|
|
|
7
8
|
/**
|
|
@@ -16,21 +17,38 @@ export type PointerType = "mouse" | "touch" | "pen";
|
|
|
16
17
|
* 3 | back click
|
|
17
18
|
* 4 | forward click
|
|
18
19
|
* -1 | unknown button
|
|
20
|
+
*
|
|
21
|
+
* @since 5.0
|
|
19
22
|
*/
|
|
20
23
|
export type MouseButton = 0 | 1 | 2 | 3 | 4 | -1;
|
|
21
24
|
|
|
25
|
+
/** @since 5.0 */
|
|
22
26
|
export interface ViewEvent<T extends Event = Event> {
|
|
23
27
|
/**
|
|
24
28
|
* A function that can be called to defer event propagation until
|
|
25
29
|
* the passed in asynchronous function is completed. Calling defer will stall the entire event pipeline and should
|
|
26
30
|
* be used with caution.
|
|
31
|
+
*
|
|
32
|
+
* @since 5.0
|
|
27
33
|
*/
|
|
28
34
|
defer: EventDefer;
|
|
29
|
-
/**
|
|
35
|
+
/**
|
|
36
|
+
* A standard [DOM Event](https://developer.mozilla.org/en-US/docs/Web/API/Event).
|
|
37
|
+
*
|
|
38
|
+
* @since 5.0
|
|
39
|
+
*/
|
|
30
40
|
native: T;
|
|
31
|
-
/**
|
|
41
|
+
/**
|
|
42
|
+
* Time stamp (in milliseconds) at which the event was created.
|
|
43
|
+
*
|
|
44
|
+
* @since 5.0
|
|
45
|
+
*/
|
|
32
46
|
timestamp: number;
|
|
33
|
-
/**
|
|
47
|
+
/**
|
|
48
|
+
* Prevents the event bubbling up the event chain.
|
|
49
|
+
*
|
|
50
|
+
* @since 5.0
|
|
51
|
+
*/
|
|
34
52
|
stopPropagation(): void;
|
|
35
53
|
}
|
|
36
54
|
|
|
@@ -50,6 +68,7 @@ export interface ViewEvent<T extends Event = Event> {
|
|
|
50
68
|
* }
|
|
51
69
|
* });
|
|
52
70
|
* });
|
|
71
|
+
* @since 5.0
|
|
53
72
|
*/
|
|
54
73
|
export type EventDefer = <T>(operation: EventDeferredOperation<T>) => Promise<T>;
|
|
55
74
|
|
|
@@ -58,14 +77,20 @@ export type EventDefer = <T>(operation: EventDeferredOperation<T>) => Promise<T>
|
|
|
58
77
|
*
|
|
59
78
|
* @returns The event pipeline is deferred until the promise is resolved.
|
|
60
79
|
* @since 4.33
|
|
61
|
-
* @see
|
|
80
|
+
* @see [EventDefer](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-input-types.html#EventDefer)
|
|
62
81
|
*/
|
|
63
82
|
export type EventDeferredOperation<T> = () => Promise<T>;
|
|
64
83
|
|
|
84
|
+
/** @since 5.0 */
|
|
65
85
|
export type PointerId = number;
|
|
66
86
|
|
|
87
|
+
/** @since 5.0 */
|
|
67
88
|
export interface ClickEvent extends ViewEvent<PointerEvent | MouseEvent> {
|
|
68
|
-
/**
|
|
89
|
+
/**
|
|
90
|
+
* Indicates which mouse button was clicked.
|
|
91
|
+
*
|
|
92
|
+
* @since 5.0
|
|
93
|
+
*/
|
|
69
94
|
button: MouseButton;
|
|
70
95
|
/**
|
|
71
96
|
* Indicates the current mouse button state.
|
|
@@ -75,23 +100,44 @@ export interface ClickEvent extends ViewEvent<PointerEvent | MouseEvent> {
|
|
|
75
100
|
* 0 | left click (or touch)
|
|
76
101
|
* 1 | middle click
|
|
77
102
|
* 2 | right click
|
|
103
|
+
*
|
|
104
|
+
* @since 5.0
|
|
78
105
|
*/
|
|
79
106
|
buttons: number;
|
|
80
107
|
/**
|
|
81
108
|
* The point location of the click on the view in the spatial
|
|
82
109
|
* reference of the map.
|
|
110
|
+
*
|
|
111
|
+
* @since 5.0
|
|
83
112
|
*/
|
|
84
113
|
mapPoint: Point;
|
|
85
|
-
/**
|
|
114
|
+
/**
|
|
115
|
+
* The event type.
|
|
116
|
+
*
|
|
117
|
+
* @since 5.0
|
|
118
|
+
*/
|
|
86
119
|
type: "click";
|
|
87
|
-
/**
|
|
120
|
+
/**
|
|
121
|
+
* The horizontal screen coordinate of the click on the view.
|
|
122
|
+
*
|
|
123
|
+
* @since 5.0
|
|
124
|
+
*/
|
|
88
125
|
x: number;
|
|
89
|
-
/**
|
|
126
|
+
/**
|
|
127
|
+
* The vertical screen coordinate of the click on the view.
|
|
128
|
+
*
|
|
129
|
+
* @since 5.0
|
|
130
|
+
*/
|
|
90
131
|
y: number;
|
|
91
132
|
}
|
|
92
133
|
|
|
134
|
+
/** @since 5.0 */
|
|
93
135
|
export interface DoubleClickEvent extends ViewEvent<PointerEvent | MouseEvent> {
|
|
94
|
-
/**
|
|
136
|
+
/**
|
|
137
|
+
* Indicates which mouse button was clicked.
|
|
138
|
+
*
|
|
139
|
+
* @since 5.0
|
|
140
|
+
*/
|
|
95
141
|
button: MouseButton;
|
|
96
142
|
/**
|
|
97
143
|
* Indicates the current mouse button state.
|
|
@@ -101,21 +147,38 @@ export interface DoubleClickEvent extends ViewEvent<PointerEvent | MouseEvent> {
|
|
|
101
147
|
* 0 | left click (or touch)
|
|
102
148
|
* 1 | middle click
|
|
103
149
|
* 2 | right click
|
|
150
|
+
*
|
|
151
|
+
* @since 5.0
|
|
104
152
|
*/
|
|
105
153
|
buttons: number;
|
|
106
154
|
/**
|
|
107
155
|
* The point location of the click on the view in the spatial
|
|
108
156
|
* reference of the map.
|
|
157
|
+
*
|
|
158
|
+
* @since 5.0
|
|
109
159
|
*/
|
|
110
160
|
mapPoint: Point;
|
|
111
|
-
/**
|
|
161
|
+
/**
|
|
162
|
+
* The event type.
|
|
163
|
+
*
|
|
164
|
+
* @since 5.0
|
|
165
|
+
*/
|
|
112
166
|
type: "double-click";
|
|
113
|
-
/**
|
|
167
|
+
/**
|
|
168
|
+
* The horizontal screen coordinate of the click on the view.
|
|
169
|
+
*
|
|
170
|
+
* @since 5.0
|
|
171
|
+
*/
|
|
114
172
|
x: number;
|
|
115
|
-
/**
|
|
173
|
+
/**
|
|
174
|
+
* The vertical screen coordinate of the click on the view.
|
|
175
|
+
*
|
|
176
|
+
* @since 5.0
|
|
177
|
+
*/
|
|
116
178
|
y: number;
|
|
117
179
|
}
|
|
118
180
|
|
|
181
|
+
/** @since 5.0 */
|
|
119
182
|
export interface ImmediateClickEvent extends ViewEvent<PointerEvent | MouseEvent> {
|
|
120
183
|
/**
|
|
121
184
|
* Indicates which mouse button was clicked.
|
|
@@ -126,26 +189,45 @@ export interface ImmediateClickEvent extends ViewEvent<PointerEvent | MouseEvent
|
|
|
126
189
|
* 0 | left click (or touch)
|
|
127
190
|
* 1 | middle click
|
|
128
191
|
* 2 | right click
|
|
192
|
+
*
|
|
193
|
+
* @since 5.0
|
|
129
194
|
*/
|
|
130
195
|
button: MouseButton;
|
|
131
196
|
/**
|
|
132
197
|
* Indicates which buttons are pressed when the event is triggered.
|
|
133
198
|
* See [MouseEvent.buttons](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/buttons).
|
|
199
|
+
*
|
|
200
|
+
* @since 5.0
|
|
134
201
|
*/
|
|
135
202
|
buttons: number;
|
|
136
203
|
/**
|
|
137
204
|
* The point location of the click on the view in the spatial
|
|
138
205
|
* reference of the map.
|
|
206
|
+
*
|
|
207
|
+
* @since 5.0
|
|
139
208
|
*/
|
|
140
209
|
mapPoint: Point;
|
|
141
|
-
/**
|
|
210
|
+
/**
|
|
211
|
+
* The event type.
|
|
212
|
+
*
|
|
213
|
+
* @since 5.0
|
|
214
|
+
*/
|
|
142
215
|
type: "immediate-click";
|
|
143
|
-
/**
|
|
216
|
+
/**
|
|
217
|
+
* The horizontal screen coordinate of the click on the view.
|
|
218
|
+
*
|
|
219
|
+
* @since 5.0
|
|
220
|
+
*/
|
|
144
221
|
x: number;
|
|
145
|
-
/**
|
|
222
|
+
/**
|
|
223
|
+
* The vertical screen coordinate of the click on the view.
|
|
224
|
+
*
|
|
225
|
+
* @since 5.0
|
|
226
|
+
*/
|
|
146
227
|
y: number;
|
|
147
228
|
}
|
|
148
229
|
|
|
230
|
+
/** @since 5.0 */
|
|
149
231
|
export interface ImmediateDoubleClickEvent extends ViewEvent<PointerEvent | MouseEvent> {
|
|
150
232
|
/**
|
|
151
233
|
* Indicates which mouse button was clicked.
|
|
@@ -156,26 +238,45 @@ export interface ImmediateDoubleClickEvent extends ViewEvent<PointerEvent | Mous
|
|
|
156
238
|
* 0 | left click (or touch)
|
|
157
239
|
* 1 | middle click
|
|
158
240
|
* 2 | right click
|
|
241
|
+
*
|
|
242
|
+
* @since 5.0
|
|
159
243
|
*/
|
|
160
244
|
button: MouseButton;
|
|
161
245
|
/**
|
|
162
246
|
* Indicates which buttons are pressed when the event is triggered.
|
|
163
247
|
* See [MouseEvent.buttons](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/buttons).
|
|
248
|
+
*
|
|
249
|
+
* @since 5.0
|
|
164
250
|
*/
|
|
165
251
|
buttons: number;
|
|
166
252
|
/**
|
|
167
253
|
* The point location of the click on the view in the spatial
|
|
168
254
|
* reference of the map.
|
|
255
|
+
*
|
|
256
|
+
* @since 5.0
|
|
169
257
|
*/
|
|
170
258
|
mapPoint: Point;
|
|
171
|
-
/**
|
|
259
|
+
/**
|
|
260
|
+
* The event type.
|
|
261
|
+
*
|
|
262
|
+
* @since 5.0
|
|
263
|
+
*/
|
|
172
264
|
type: "immediate-double-click";
|
|
173
|
-
/**
|
|
265
|
+
/**
|
|
266
|
+
* The horizontal screen coordinate of the click on the view.
|
|
267
|
+
*
|
|
268
|
+
* @since 5.0
|
|
269
|
+
*/
|
|
174
270
|
x: number;
|
|
175
|
-
/**
|
|
271
|
+
/**
|
|
272
|
+
* The vertical screen coordinate of the click on the view.
|
|
273
|
+
*
|
|
274
|
+
* @since 5.0
|
|
275
|
+
*/
|
|
176
276
|
y: number;
|
|
177
277
|
}
|
|
178
278
|
|
|
279
|
+
/** @since 5.0 */
|
|
179
280
|
export interface HoldEvent extends ViewEvent<PointerEvent | MouseEvent> {
|
|
180
281
|
/**
|
|
181
282
|
* Indicates which mouse button was held down.
|
|
@@ -186,33 +287,58 @@ export interface HoldEvent extends ViewEvent<PointerEvent | MouseEvent> {
|
|
|
186
287
|
* 0 | left mouse button (or touch)
|
|
187
288
|
* 1 | middle mouse button
|
|
188
289
|
* 2 | right mouse button
|
|
290
|
+
*
|
|
291
|
+
* @since 5.0
|
|
189
292
|
*/
|
|
190
293
|
button: MouseButton;
|
|
191
294
|
/**
|
|
192
295
|
* Indicates which mouse buttons are pressed when the event is triggered.
|
|
193
296
|
* See [MouseEvent.buttons](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/buttons).
|
|
297
|
+
*
|
|
298
|
+
* @since 5.0
|
|
194
299
|
*/
|
|
195
300
|
buttons: number;
|
|
196
301
|
/**
|
|
197
302
|
* The point location of the click on the view in the spatial
|
|
198
303
|
* reference of the map.
|
|
304
|
+
*
|
|
305
|
+
* @since 5.0
|
|
199
306
|
*/
|
|
200
307
|
mapPoint: Point;
|
|
201
|
-
/**
|
|
308
|
+
/**
|
|
309
|
+
* The event type.
|
|
310
|
+
*
|
|
311
|
+
* @since 5.0
|
|
312
|
+
*/
|
|
202
313
|
type: "hold";
|
|
203
|
-
/**
|
|
314
|
+
/**
|
|
315
|
+
* The horizontal screen coordinate of the hold on the view.
|
|
316
|
+
*
|
|
317
|
+
* @since 5.0
|
|
318
|
+
*/
|
|
204
319
|
x: number;
|
|
205
|
-
/**
|
|
320
|
+
/**
|
|
321
|
+
* The vertical screen coordinate of the hold on the view.
|
|
322
|
+
*
|
|
323
|
+
* @since 5.0
|
|
324
|
+
*/
|
|
206
325
|
y: number;
|
|
207
326
|
}
|
|
208
327
|
|
|
328
|
+
/** @since 5.0 */
|
|
209
329
|
export interface DragEvent extends ViewEvent<PointerEvent | MouseEvent> {
|
|
210
330
|
/**
|
|
211
331
|
* Indicates the state of the drag.
|
|
212
332
|
* The two values `added` and `removed` indicate a change in the number of pointers involved.
|
|
333
|
+
*
|
|
334
|
+
* @since 5.0
|
|
213
335
|
*/
|
|
214
336
|
action: "start" | "update" | "added" | "removed" | "end";
|
|
215
|
-
/**
|
|
337
|
+
/**
|
|
338
|
+
* Amount of rotation (in degrees) since the last event of type `start`.
|
|
339
|
+
*
|
|
340
|
+
* @since 5.0
|
|
341
|
+
*/
|
|
216
342
|
angle: number;
|
|
217
343
|
/**
|
|
218
344
|
* Indicates which mouse button was clicked at the start of the drag.
|
|
@@ -223,161 +349,317 @@ export interface DragEvent extends ViewEvent<PointerEvent | MouseEvent> {
|
|
|
223
349
|
* 0 | left mouse button (or touch)
|
|
224
350
|
* 1 | middle mouse button
|
|
225
351
|
* 2 | right mouse button
|
|
352
|
+
*
|
|
353
|
+
* @since 5.0
|
|
226
354
|
*/
|
|
227
355
|
button: MouseButton;
|
|
228
356
|
/**
|
|
229
357
|
* Indicates which mouse buttons are pressed when the event is triggered.
|
|
230
358
|
* See [MouseEvent.buttons](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/buttons).
|
|
359
|
+
*
|
|
360
|
+
* @since 5.0
|
|
231
361
|
*/
|
|
232
362
|
buttons: number;
|
|
233
|
-
/**
|
|
363
|
+
/**
|
|
364
|
+
* Screen coordinates of the start of the drag.
|
|
365
|
+
*
|
|
366
|
+
* @since 5.0
|
|
367
|
+
*/
|
|
234
368
|
origin: DragEventOrigin;
|
|
235
|
-
/**
|
|
369
|
+
/**
|
|
370
|
+
* The radius of a sphere around the multiple pointers involved in this drag. Or 0 while only a single pointer is used.
|
|
371
|
+
*
|
|
372
|
+
* @since 5.0
|
|
373
|
+
*/
|
|
236
374
|
radius: number;
|
|
237
|
-
/**
|
|
375
|
+
/**
|
|
376
|
+
* The event type.
|
|
377
|
+
*
|
|
378
|
+
* @since 5.0
|
|
379
|
+
*/
|
|
238
380
|
type: "drag";
|
|
239
|
-
/**
|
|
381
|
+
/**
|
|
382
|
+
* The horizontal screen coordinate of the pointer on the view.
|
|
383
|
+
*
|
|
384
|
+
* @since 5.0
|
|
385
|
+
*/
|
|
240
386
|
x: number;
|
|
241
|
-
/**
|
|
387
|
+
/**
|
|
388
|
+
* The vertical screen coordinate of the pointer on the view.
|
|
389
|
+
*
|
|
390
|
+
* @since 5.0
|
|
391
|
+
*/
|
|
242
392
|
y: number;
|
|
243
393
|
}
|
|
244
394
|
|
|
395
|
+
/** @since 5.0 */
|
|
245
396
|
export interface DragEventOrigin {
|
|
246
|
-
/**
|
|
397
|
+
/**
|
|
398
|
+
* The horizontal screen coordinate of the pointer on the view.
|
|
399
|
+
*
|
|
400
|
+
* @since 5.0
|
|
401
|
+
*/
|
|
247
402
|
x: number;
|
|
248
|
-
/**
|
|
403
|
+
/**
|
|
404
|
+
* The vertical screen coordinate of the pointer on the view.
|
|
405
|
+
*
|
|
406
|
+
* @since 5.0
|
|
407
|
+
*/
|
|
249
408
|
y: number;
|
|
250
409
|
}
|
|
251
410
|
|
|
411
|
+
/** @since 5.0 */
|
|
252
412
|
export interface KeyDownEvent extends ViewEvent<KeyboardEvent> {
|
|
253
413
|
/**
|
|
254
414
|
* The key value that was pressed, according to the
|
|
255
415
|
* [MDN full list of key values](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key/Key_Values).
|
|
416
|
+
*
|
|
417
|
+
* @since 5.0
|
|
256
418
|
*/
|
|
257
419
|
key: string;
|
|
258
420
|
/**
|
|
259
421
|
* Indicates whether this is the first event emitted
|
|
260
422
|
* due to the key press, or a repeat.
|
|
423
|
+
*
|
|
424
|
+
* @since 5.0
|
|
261
425
|
*/
|
|
262
426
|
repeat: boolean;
|
|
263
|
-
/**
|
|
427
|
+
/**
|
|
428
|
+
* The event type.
|
|
429
|
+
*
|
|
430
|
+
* @since 5.0
|
|
431
|
+
*/
|
|
264
432
|
type: "key-down";
|
|
265
433
|
}
|
|
266
434
|
|
|
435
|
+
/** @since 5.0 */
|
|
267
436
|
export interface KeyUpEvent extends ViewEvent<KeyboardEvent> {
|
|
268
437
|
/**
|
|
269
438
|
* The key value that was released, according to the
|
|
270
439
|
* [MDN full list of key values](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key/Key_Values).
|
|
440
|
+
*
|
|
441
|
+
* @since 5.0
|
|
271
442
|
*/
|
|
272
443
|
key: string;
|
|
273
|
-
/**
|
|
444
|
+
/**
|
|
445
|
+
* The event type.
|
|
446
|
+
*
|
|
447
|
+
* @since 5.0
|
|
448
|
+
*/
|
|
274
449
|
type: "key-up";
|
|
275
450
|
}
|
|
276
451
|
|
|
452
|
+
/** @since 5.0 */
|
|
277
453
|
export interface PointerEventCommon extends ViewEvent<PointerEvent> {
|
|
278
|
-
/**
|
|
454
|
+
/**
|
|
455
|
+
* Indicates which mouse button was clicked.
|
|
456
|
+
*
|
|
457
|
+
* @since 5.0
|
|
458
|
+
*/
|
|
279
459
|
button: MouseButton;
|
|
280
460
|
/**
|
|
281
461
|
* Indicates which mouse buttons are pressed when the event is triggered.
|
|
282
462
|
* See [MouseEvent.buttons](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/buttons).
|
|
463
|
+
*
|
|
464
|
+
* @since 5.0
|
|
283
465
|
*/
|
|
284
466
|
buttons: number;
|
|
285
467
|
/**
|
|
286
468
|
* Uniquely identifies a pointer between multiple down, move, and up events.
|
|
287
469
|
* Ids might get reused after a pointer-up event.
|
|
470
|
+
*
|
|
471
|
+
* @since 5.0
|
|
288
472
|
*/
|
|
289
473
|
pointerId: PointerId;
|
|
290
|
-
/**
|
|
474
|
+
/**
|
|
475
|
+
* Indicates the pointer type.
|
|
476
|
+
*
|
|
477
|
+
* @since 5.0
|
|
478
|
+
*/
|
|
291
479
|
pointerType: PointerType;
|
|
292
|
-
/**
|
|
480
|
+
/**
|
|
481
|
+
* The horizontal screen coordinate of the pointer on the view.
|
|
482
|
+
*
|
|
483
|
+
* @since 5.0
|
|
484
|
+
*/
|
|
293
485
|
x: number;
|
|
294
|
-
/**
|
|
486
|
+
/**
|
|
487
|
+
* The vertical screen coordinate of the pointer on the view.
|
|
488
|
+
*
|
|
489
|
+
* @since 5.0
|
|
490
|
+
*/
|
|
295
491
|
y: number;
|
|
296
492
|
}
|
|
297
493
|
|
|
494
|
+
/** @since 5.0 */
|
|
298
495
|
export interface PointerDownEvent extends PointerEventCommon {
|
|
299
|
-
/**
|
|
496
|
+
/**
|
|
497
|
+
* The event type.
|
|
498
|
+
*
|
|
499
|
+
* @since 5.0
|
|
500
|
+
*/
|
|
300
501
|
type: "pointer-down";
|
|
301
502
|
}
|
|
302
503
|
|
|
504
|
+
/** @since 5.0 */
|
|
303
505
|
export interface PointerMoveEvent extends PointerEventCommon {
|
|
304
|
-
/**
|
|
506
|
+
/**
|
|
507
|
+
* The event type.
|
|
508
|
+
*
|
|
509
|
+
* @since 5.0
|
|
510
|
+
*/
|
|
305
511
|
type: "pointer-move";
|
|
306
512
|
}
|
|
307
513
|
|
|
514
|
+
/** @since 5.0 */
|
|
308
515
|
export interface PointerUpEvent extends PointerEventCommon {
|
|
309
|
-
/**
|
|
516
|
+
/**
|
|
517
|
+
* The event type.
|
|
518
|
+
*
|
|
519
|
+
* @since 5.0
|
|
520
|
+
*/
|
|
310
521
|
type: "pointer-up";
|
|
311
522
|
}
|
|
312
523
|
|
|
524
|
+
/** @since 5.0 */
|
|
313
525
|
export interface PointerEnterEvent extends PointerEventCommon {
|
|
314
|
-
/**
|
|
526
|
+
/**
|
|
527
|
+
* The event type.
|
|
528
|
+
*
|
|
529
|
+
* @since 5.0
|
|
530
|
+
*/
|
|
315
531
|
type: "pointer-enter";
|
|
316
532
|
}
|
|
317
533
|
|
|
534
|
+
/** @since 5.0 */
|
|
318
535
|
export interface PointerLeaveEvent extends PointerEventCommon {
|
|
319
|
-
/**
|
|
536
|
+
/**
|
|
537
|
+
* The event type.
|
|
538
|
+
*
|
|
539
|
+
* @since 5.0
|
|
540
|
+
*/
|
|
320
541
|
type: "pointer-leave";
|
|
321
542
|
}
|
|
322
543
|
|
|
544
|
+
/** @since 5.0 */
|
|
323
545
|
export interface ViewMouseWheelEvent extends ViewEvent<WheelEvent> {
|
|
324
|
-
/**
|
|
546
|
+
/**
|
|
547
|
+
* Number representing the vertical scroll amount.
|
|
548
|
+
*
|
|
549
|
+
* @since 5.0
|
|
550
|
+
*/
|
|
325
551
|
deltaY: number;
|
|
326
|
-
/**
|
|
552
|
+
/**
|
|
553
|
+
* The event type.
|
|
554
|
+
*
|
|
555
|
+
* @since 5.0
|
|
556
|
+
*/
|
|
327
557
|
type: "mouse-wheel";
|
|
328
|
-
/**
|
|
558
|
+
/**
|
|
559
|
+
* The horizontal screen coordinate of the click on the view.
|
|
560
|
+
*
|
|
561
|
+
* @since 5.0
|
|
562
|
+
*/
|
|
329
563
|
x: number;
|
|
330
|
-
/**
|
|
564
|
+
/**
|
|
565
|
+
* The vertical screen coordinate of the click on the view.
|
|
566
|
+
*
|
|
567
|
+
* @since 5.0
|
|
568
|
+
*/
|
|
331
569
|
y: number;
|
|
332
570
|
}
|
|
333
571
|
|
|
572
|
+
/** @since 5.0 */
|
|
334
573
|
export interface ViewFocusEvent extends ViewEvent<FocusEvent> {}
|
|
335
574
|
|
|
575
|
+
/** @since 5.0 */
|
|
336
576
|
export interface ViewBlurEvent extends ViewEvent<FocusEvent> {}
|
|
337
577
|
|
|
578
|
+
/** @since 5.0 */
|
|
338
579
|
export interface ViewResizeEvent {
|
|
339
|
-
/**
|
|
580
|
+
/**
|
|
581
|
+
* The new measured view height in pixels
|
|
582
|
+
*
|
|
583
|
+
* @since 5.0
|
|
584
|
+
*/
|
|
340
585
|
height: number;
|
|
341
|
-
/**
|
|
586
|
+
/**
|
|
587
|
+
* The previous view height in pixels
|
|
588
|
+
*
|
|
589
|
+
* @since 5.0
|
|
590
|
+
*/
|
|
342
591
|
oldHeight: number;
|
|
343
|
-
/**
|
|
592
|
+
/**
|
|
593
|
+
* The previous view width in pixels
|
|
594
|
+
*
|
|
595
|
+
* @since 5.0
|
|
596
|
+
*/
|
|
344
597
|
oldWidth: number;
|
|
345
|
-
/**
|
|
598
|
+
/**
|
|
599
|
+
* The new measured view width in pixels
|
|
600
|
+
*
|
|
601
|
+
* @since 5.0
|
|
602
|
+
*/
|
|
346
603
|
width: number;
|
|
347
604
|
}
|
|
348
605
|
|
|
606
|
+
/** @since 5.0 */
|
|
349
607
|
export interface LayerViewCreateEvent {
|
|
350
|
-
/**
|
|
608
|
+
/**
|
|
609
|
+
* The layer in the map for which the `layerView` was created.
|
|
610
|
+
*
|
|
611
|
+
* @since 5.0
|
|
612
|
+
*/
|
|
351
613
|
layer: Layer;
|
|
352
614
|
/**
|
|
353
615
|
* The LayerView rendered
|
|
354
616
|
* in the view representing the layer in `layer`.
|
|
617
|
+
*
|
|
618
|
+
* @since 5.0
|
|
355
619
|
*/
|
|
356
620
|
layerView: LayerView;
|
|
357
621
|
}
|
|
358
622
|
|
|
623
|
+
/** @since 5.0 */
|
|
359
624
|
export interface LayerViewCreateErrorEvent {
|
|
360
|
-
/**
|
|
625
|
+
/**
|
|
626
|
+
* An error object describing why the layer view could not be created.
|
|
627
|
+
*
|
|
628
|
+
* @since 5.0
|
|
629
|
+
*/
|
|
361
630
|
error: Error;
|
|
362
631
|
/**
|
|
363
632
|
* The layer in the map for which the view emitting this event
|
|
364
633
|
* failed to create a layer view.
|
|
634
|
+
*
|
|
635
|
+
* @since 5.0
|
|
365
636
|
*/
|
|
366
637
|
layer: Layer;
|
|
367
638
|
}
|
|
368
639
|
|
|
640
|
+
/** @since 5.0 */
|
|
369
641
|
export interface LayerViewDestroyEvent {
|
|
370
|
-
/**
|
|
642
|
+
/**
|
|
643
|
+
* The layer in the map for which the `layerView` was destroyed.
|
|
644
|
+
*
|
|
645
|
+
* @since 5.0
|
|
646
|
+
*/
|
|
371
647
|
layer: Layer;
|
|
372
|
-
/**
|
|
648
|
+
/**
|
|
649
|
+
* The LayerView that was destroyed in the view.
|
|
650
|
+
*
|
|
651
|
+
* @since 5.0
|
|
652
|
+
*/
|
|
373
653
|
layerView: LayerView;
|
|
374
654
|
}
|
|
375
655
|
|
|
656
|
+
/** @since 5.0 */
|
|
376
657
|
export interface ViewBaseEventTypes {
|
|
377
658
|
/**
|
|
378
659
|
* Fires after each layer in the map has a corresponding [LayerView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html) created
|
|
379
660
|
* and rendered in the view.
|
|
380
661
|
*
|
|
662
|
+
* @since 5.0
|
|
381
663
|
* @see [View#whenLayerView()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html#whenLayerView)
|
|
382
664
|
* @example
|
|
383
665
|
* // This function fires each time a layer view is created for a layer in
|
|
@@ -397,6 +679,7 @@ export interface ViewBaseEventTypes {
|
|
|
397
679
|
* Fires when an error occurs during the creation of a [LayerView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html)
|
|
398
680
|
* after a layer has been added to the map.
|
|
399
681
|
*
|
|
682
|
+
* @since 5.0
|
|
400
683
|
* @see [View#whenLayerView()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html#whenLayerView)
|
|
401
684
|
* @example
|
|
402
685
|
* // This function fires each time an error occurs during the creation of a layerview
|
|
@@ -409,11 +692,14 @@ export interface ViewBaseEventTypes {
|
|
|
409
692
|
* Fires after a [LayerView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html) is destroyed and is
|
|
410
693
|
* no longer rendered in the view. This happens for example when a layer is
|
|
411
694
|
* removed from the map of the view.
|
|
695
|
+
*
|
|
696
|
+
* @since 5.0
|
|
412
697
|
*/
|
|
413
698
|
"layerview-destroy": LayerViewDestroyEvent;
|
|
414
699
|
/**
|
|
415
700
|
* Fires when the view's size changes.
|
|
416
701
|
*
|
|
702
|
+
* @since 5.0
|
|
417
703
|
* @see [MapView#size](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#size)
|
|
418
704
|
* @see [MapView#height](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#height)
|
|
419
705
|
* @see [MapView#width](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#width)
|
|
@@ -421,6 +707,7 @@ export interface ViewBaseEventTypes {
|
|
|
421
707
|
resize: ViewResizeEvent;
|
|
422
708
|
}
|
|
423
709
|
|
|
710
|
+
/** @since 5.0 */
|
|
424
711
|
export interface ViewEventTypes extends ViewBaseEventTypes {
|
|
425
712
|
/**
|
|
426
713
|
* Fires when browser focus is moved away from the view.
|
|
@@ -434,6 +721,7 @@ export interface ViewEventTypes extends ViewBaseEventTypes {
|
|
|
434
721
|
* event isn't triggered instead. The [View#@immediate-click](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html#event-immediate-click) event can be used
|
|
435
722
|
* for responding to a click event without delay.
|
|
436
723
|
*
|
|
724
|
+
* @since 5.0
|
|
437
725
|
* @see [Sample: Access features with click events](https://developers.arcgis.com/javascript/latest/sample-code/view-hittest/)
|
|
438
726
|
* @example
|
|
439
727
|
* view.on("click", function(event){
|
|
@@ -472,6 +760,7 @@ export interface ViewEventTypes extends ViewBaseEventTypes {
|
|
|
472
760
|
/**
|
|
473
761
|
* Fires after double-clicking on the view.
|
|
474
762
|
*
|
|
763
|
+
* @since 5.0
|
|
475
764
|
* @example
|
|
476
765
|
* view.on("double-click", function(event) {
|
|
477
766
|
* // The event object contains the mapPoint and the screen coordinates of the location
|
|
@@ -484,6 +773,7 @@ export interface ViewEventTypes extends ViewBaseEventTypes {
|
|
|
484
773
|
/**
|
|
485
774
|
* Fires during a pointer drag on the view.
|
|
486
775
|
*
|
|
776
|
+
* @since 5.0
|
|
487
777
|
* @example
|
|
488
778
|
* view.on("drag", function(event){
|
|
489
779
|
* // Print out the current state of the
|
|
@@ -501,6 +791,7 @@ export interface ViewEventTypes extends ViewBaseEventTypes {
|
|
|
501
791
|
/**
|
|
502
792
|
* Fires after holding either a mouse button or a single finger on the view for a short amount of time.
|
|
503
793
|
*
|
|
794
|
+
* @since 5.0
|
|
504
795
|
* @example
|
|
505
796
|
* view.on("hold", function(event) {
|
|
506
797
|
* // The event object contains the mapPoint and the screen coordinates of the location
|
|
@@ -540,6 +831,7 @@ export interface ViewEventTypes extends ViewBaseEventTypes {
|
|
|
540
831
|
/**
|
|
541
832
|
* Fires after a keyboard key is pressed.
|
|
542
833
|
*
|
|
834
|
+
* @since 5.0
|
|
543
835
|
* @example
|
|
544
836
|
* // Zoom in when user clicks on "a" button
|
|
545
837
|
* // Zoom out when user clicks on "s" button
|
|
@@ -565,11 +857,16 @@ export interface ViewEventTypes extends ViewBaseEventTypes {
|
|
|
565
857
|
* });
|
|
566
858
|
*/
|
|
567
859
|
"key-down": KeyDownEvent;
|
|
568
|
-
/**
|
|
860
|
+
/**
|
|
861
|
+
* Fires after a keyboard key is released.
|
|
862
|
+
*
|
|
863
|
+
* @since 5.0
|
|
864
|
+
*/
|
|
569
865
|
"key-up": KeyUpEvent;
|
|
570
866
|
/**
|
|
571
867
|
* Fires when a wheel button of a pointing device (typically a mouse) is scrolled on the view.
|
|
572
868
|
*
|
|
869
|
+
* @since 5.0
|
|
573
870
|
* @example
|
|
574
871
|
* view.on("mouse-wheel", function(event){
|
|
575
872
|
* // deltaY value is positive when wheel is scrolled up
|
|
@@ -578,15 +875,28 @@ export interface ViewEventTypes extends ViewBaseEventTypes {
|
|
|
578
875
|
* });
|
|
579
876
|
*/
|
|
580
877
|
"mouse-wheel": ViewMouseWheelEvent;
|
|
581
|
-
/**
|
|
878
|
+
/**
|
|
879
|
+
* Fires after a mouse button is pressed, or a finger touches the display.
|
|
880
|
+
*
|
|
881
|
+
* @since 5.0
|
|
882
|
+
*/
|
|
582
883
|
"pointer-down": PointerDownEvent;
|
|
583
|
-
/**
|
|
884
|
+
/**
|
|
885
|
+
* Fires after a mouse cursor enters the view, or a display touch begins.
|
|
886
|
+
*
|
|
887
|
+
* @since 5.0
|
|
888
|
+
*/
|
|
584
889
|
"pointer-enter": PointerEnterEvent;
|
|
585
|
-
/**
|
|
890
|
+
/**
|
|
891
|
+
* Fires after a mouse cursor leaves the view, or a display touch ends.
|
|
892
|
+
*
|
|
893
|
+
* @since 5.0
|
|
894
|
+
*/
|
|
586
895
|
"pointer-leave": PointerLeaveEvent;
|
|
587
896
|
/**
|
|
588
897
|
* Fires after the mouse or a finger on the display moves.
|
|
589
898
|
*
|
|
899
|
+
* @since 5.0
|
|
590
900
|
* @example
|
|
591
901
|
* // Fires `pointer-move` event when user clicks on "Shift"
|
|
592
902
|
* // key and moves the pointer on the view.
|
|
@@ -596,6 +906,10 @@ export interface ViewEventTypes extends ViewBaseEventTypes {
|
|
|
596
906
|
* });
|
|
597
907
|
*/
|
|
598
908
|
"pointer-move": PointerMoveEvent;
|
|
599
|
-
/**
|
|
909
|
+
/**
|
|
910
|
+
* Fires after a mouse button is released, or a display touch ends.
|
|
911
|
+
*
|
|
912
|
+
* @since 5.0
|
|
913
|
+
*/
|
|
600
914
|
"pointer-up": PointerUpEvent;
|
|
601
915
|
}
|