@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
package/widgets/types.d.ts
CHANGED
|
@@ -9,30 +9,61 @@ import type { RelationshipFocus } from "../renderers/support/types.js";
|
|
|
9
9
|
import type { SymbolUnion } from "../symbols/types.js";
|
|
10
10
|
type LegendMessages = Record<string, unknown>;
|
|
11
11
|
|
|
12
|
-
/**
|
|
12
|
+
/**
|
|
13
|
+
* The z axis orientation.
|
|
14
|
+
*
|
|
15
|
+
* @since 5.0
|
|
16
|
+
*/
|
|
13
17
|
export interface Axes {
|
|
14
|
-
/**
|
|
18
|
+
/**
|
|
19
|
+
* z axis orientation.
|
|
20
|
+
*
|
|
21
|
+
* @since 5.0
|
|
22
|
+
*/
|
|
15
23
|
z?: number;
|
|
16
24
|
}
|
|
17
25
|
|
|
18
|
-
/**
|
|
26
|
+
/**
|
|
27
|
+
* Describes a point in terms of a location, a [Point](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Point.html), and a coordinate, a string.
|
|
28
|
+
*
|
|
29
|
+
* @since 5.0
|
|
30
|
+
*/
|
|
19
31
|
export interface Position {
|
|
20
|
-
/**
|
|
32
|
+
/**
|
|
33
|
+
* A string representing the location.
|
|
34
|
+
*
|
|
35
|
+
* @since 5.0
|
|
36
|
+
*/
|
|
21
37
|
coordinate?: string | null;
|
|
22
|
-
/**
|
|
38
|
+
/**
|
|
39
|
+
* A point geometry representing the location described by the conversion.
|
|
40
|
+
*
|
|
41
|
+
* @since 5.0
|
|
42
|
+
*/
|
|
23
43
|
location?: Point | null;
|
|
24
44
|
}
|
|
25
45
|
|
|
46
|
+
/** @since 5.0 */
|
|
26
47
|
export type Mode = "live" | "capture";
|
|
27
48
|
|
|
28
49
|
/**
|
|
29
50
|
* This object describes how a Format should be projected and formatted for display. Used to define
|
|
30
51
|
* custom Formats that require custom conversion and/or projection logic.
|
|
52
|
+
*
|
|
53
|
+
* @since 5.0
|
|
31
54
|
*/
|
|
32
55
|
export interface ConversionInfo {
|
|
33
|
-
/**
|
|
56
|
+
/**
|
|
57
|
+
* A function that takes a point and returns a [Position](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-types.html#Position).
|
|
58
|
+
*
|
|
59
|
+
* @since 5.0
|
|
60
|
+
*/
|
|
34
61
|
convert?: ConvertFunction;
|
|
35
|
-
/**
|
|
62
|
+
/**
|
|
63
|
+
* A function that takes a string and returns a Point.
|
|
64
|
+
*
|
|
65
|
+
* @since 5.0
|
|
66
|
+
*/
|
|
36
67
|
reverseConvert?: ReverseConvertFunction;
|
|
37
68
|
}
|
|
38
69
|
|
|
@@ -44,6 +75,7 @@ export interface ConversionInfo {
|
|
|
44
75
|
*
|
|
45
76
|
* @param point - A point to be converted.
|
|
46
77
|
* @returns The returned position.
|
|
78
|
+
* @since 5.0
|
|
47
79
|
*/
|
|
48
80
|
export type ConvertFunction = (point: Point) => Position;
|
|
49
81
|
|
|
@@ -54,6 +86,7 @@ export type ConvertFunction = (point: Point) => Position;
|
|
|
54
86
|
*
|
|
55
87
|
* @param coordinate - The string to be reversed.
|
|
56
88
|
* @returns The returned point
|
|
89
|
+
* @since 5.0
|
|
57
90
|
*/
|
|
58
91
|
export type ReverseConvertFunction = (coordinate: string) => Point;
|
|
59
92
|
|
|
@@ -67,13 +100,27 @@ export type ReverseConvertFunction = (coordinate: string) => Point;
|
|
|
67
100
|
* > 2. Alias `S`, the 100,000 meter square designator: `VG`
|
|
68
101
|
* > 3. Alias `X`, the easting (x coordinate with respect to the 10,000 meter square): `898`
|
|
69
102
|
* > 4. Alias `Y`, the northing (y coordinate with respect to the 10,000 meter square): `998`
|
|
103
|
+
*
|
|
104
|
+
* @since 5.0
|
|
70
105
|
*/
|
|
71
106
|
export interface CoordinateSegment {
|
|
72
|
-
/**
|
|
107
|
+
/**
|
|
108
|
+
* A string that provides the name for this segment of a coordinate string.
|
|
109
|
+
*
|
|
110
|
+
* @since 5.0
|
|
111
|
+
*/
|
|
73
112
|
alias: string;
|
|
74
|
-
/**
|
|
113
|
+
/**
|
|
114
|
+
* A string that describes the role of this segment.
|
|
115
|
+
*
|
|
116
|
+
* @since 5.0
|
|
117
|
+
*/
|
|
75
118
|
description: string;
|
|
76
|
-
/**
|
|
119
|
+
/**
|
|
120
|
+
* A regular expression that should extract this segment from the complete coordinate.
|
|
121
|
+
*
|
|
122
|
+
* @since 5.0
|
|
123
|
+
*/
|
|
77
124
|
searchPattern: RegExp;
|
|
78
125
|
}
|
|
79
126
|
|
|
@@ -81,341 +128,667 @@ export interface CoordinateSegment {
|
|
|
81
128
|
* An object that defines a layer, optional sublayer IDs, and a custom title for legend display.
|
|
82
129
|
* Use this to specify which layers and sublayers appear in the legend and how they are labeled with
|
|
83
130
|
* [layerInfos](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend-LegendViewModel.html).
|
|
131
|
+
*
|
|
132
|
+
* @since 5.0
|
|
84
133
|
*/
|
|
85
134
|
export interface LayerInfo {
|
|
86
|
-
/**
|
|
135
|
+
/**
|
|
136
|
+
* A layer to display in the legend.
|
|
137
|
+
*
|
|
138
|
+
* @since 5.0
|
|
139
|
+
*/
|
|
87
140
|
layer: Layer | Sublayer;
|
|
88
141
|
/**
|
|
89
142
|
* The IDs of the sublayers for which to display legend information.
|
|
90
143
|
* Only applicable if the `layer` is a [MapImageLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-MapImageLayer.html), [SubtypeGroupLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-SubtypeGroupLayer.html)
|
|
91
144
|
* or [WMSLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WMSLayer.html).
|
|
145
|
+
*
|
|
146
|
+
* @since 5.0
|
|
92
147
|
*/
|
|
93
148
|
sublayerIds?: number[];
|
|
94
149
|
/**
|
|
95
150
|
* Specifies a title for the layer to display above its symbols and descriptions.
|
|
96
151
|
* If no title is specified the service name is used.
|
|
152
|
+
*
|
|
153
|
+
* @since 5.0
|
|
97
154
|
*/
|
|
98
155
|
title: string;
|
|
99
156
|
}
|
|
100
157
|
|
|
101
|
-
/**
|
|
158
|
+
/**
|
|
159
|
+
* Properties defining the scheme of each of the supported [legendElement](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend-support-ActiveLayerInfo.html#legendElements).
|
|
160
|
+
*
|
|
161
|
+
* @since 5.0
|
|
162
|
+
*/
|
|
102
163
|
export type LegendElement = SymbolTableElement | ColorRampElement | StretchRampElement | OpacityRampElement | SizeRampElement | HeatmapRampElement | RelationshipRampElement | UnivariateColorSizeRampElement | PieChartRampElement;
|
|
103
164
|
|
|
104
|
-
/**
|
|
165
|
+
/**
|
|
166
|
+
* Properties defining the scheme of each SymbolTableElementType.
|
|
167
|
+
*
|
|
168
|
+
* @since 5.0
|
|
169
|
+
*/
|
|
105
170
|
export type SymbolTableElementType = ImageSymbolTableElementInfo | SymbolTableElementInfo | LegendElement;
|
|
106
171
|
|
|
107
172
|
/**
|
|
108
173
|
* Describes the schema of the SymbolTableElement used as a [legendElement](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend-support-ActiveLayerInfo.html#legendElements). This
|
|
109
174
|
* legend element is used for [UniqueValueRenderer](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-UniqueValueRenderer.html) and
|
|
110
175
|
* [ClassBreaksRenderer](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-ClassBreaksRenderer.html). See the table below for more details of the properties in this object.
|
|
176
|
+
*
|
|
177
|
+
* @since 5.0
|
|
111
178
|
*/
|
|
112
179
|
export interface SymbolTableElement {
|
|
113
180
|
/**
|
|
114
181
|
* An
|
|
115
182
|
* array of each symbol/category/break rendered for the symbol table. For example, this may be individual
|
|
116
183
|
* breaks for a ClassBreaksRenderer, or unique values for a UniqueValueRenderer.
|
|
184
|
+
*
|
|
185
|
+
* @since 5.0
|
|
117
186
|
*/
|
|
118
187
|
infos: SymbolTableElementType[];
|
|
119
188
|
/**
|
|
120
189
|
* Only used for renderers set to ImageryLayers. Indicates the type of
|
|
121
190
|
* renderer set on the layer (e.g. `stretched` or `Unique Values`).
|
|
191
|
+
*
|
|
192
|
+
* @since 5.0
|
|
122
193
|
*/
|
|
123
194
|
legendType?: string | null;
|
|
124
|
-
/**
|
|
195
|
+
/**
|
|
196
|
+
* The title of the renderer as displayed in the legend.
|
|
197
|
+
*
|
|
198
|
+
* @since 5.0
|
|
199
|
+
*/
|
|
125
200
|
title?: RendererTitle | DotDensityTitle | string | null;
|
|
126
|
-
/**
|
|
201
|
+
/**
|
|
202
|
+
* The type of this element is always `symbol-table`.
|
|
203
|
+
*
|
|
204
|
+
* @since 5.0
|
|
205
|
+
*/
|
|
127
206
|
type: "symbol-table";
|
|
128
207
|
}
|
|
129
208
|
|
|
130
|
-
/**
|
|
209
|
+
/**
|
|
210
|
+
* Properties defining the scheme of the SymbolTableElementInfo.
|
|
211
|
+
*
|
|
212
|
+
* @since 5.0
|
|
213
|
+
*/
|
|
131
214
|
export interface SymbolTableElementInfo {
|
|
132
215
|
/**
|
|
133
216
|
* The
|
|
134
217
|
* title of the renderer as displayed in the Legend.
|
|
218
|
+
*
|
|
219
|
+
* @since 5.0
|
|
135
220
|
*/
|
|
136
221
|
label?: RampTitle | string | null;
|
|
137
|
-
/**
|
|
222
|
+
/**
|
|
223
|
+
* A preview of the symbol element as displayed in the legend.
|
|
224
|
+
*
|
|
225
|
+
* @since 5.0
|
|
226
|
+
*/
|
|
138
227
|
preview?: HTMLElement | null;
|
|
139
|
-
/**
|
|
228
|
+
/**
|
|
229
|
+
* The aria-label for the preview element.
|
|
230
|
+
*
|
|
231
|
+
* @since 5.0
|
|
232
|
+
*/
|
|
140
233
|
previewAriaLabel?: RendererTitle | DotDensityTitle | string | null;
|
|
141
|
-
/**
|
|
234
|
+
/**
|
|
235
|
+
* The size of the symbol in points.
|
|
236
|
+
*
|
|
237
|
+
* @since 5.0
|
|
238
|
+
*/
|
|
142
239
|
size?: number | null;
|
|
143
|
-
/**
|
|
240
|
+
/**
|
|
241
|
+
* The symbol for the corresponding `value` in the legend.
|
|
242
|
+
*
|
|
243
|
+
* @since 5.0
|
|
244
|
+
*/
|
|
144
245
|
symbol: SymbolUnion;
|
|
145
|
-
/**
|
|
246
|
+
/**
|
|
247
|
+
* The value corresponding with the given `symbol` in the legend.
|
|
248
|
+
*
|
|
249
|
+
* @since 5.0
|
|
250
|
+
*/
|
|
146
251
|
value?: any;
|
|
147
252
|
}
|
|
148
253
|
|
|
149
254
|
/**
|
|
150
255
|
* Properties defining the scheme of each of the ImageSymbolTableElementInfo. This applies only to
|
|
151
256
|
* ImageryLayer renderers.
|
|
257
|
+
*
|
|
258
|
+
* @since 5.0
|
|
152
259
|
*/
|
|
153
260
|
export interface ImageSymbolTableElementInfo {
|
|
154
|
-
/**
|
|
261
|
+
/**
|
|
262
|
+
* The height of the image in pixels.
|
|
263
|
+
*
|
|
264
|
+
* @since 5.0
|
|
265
|
+
*/
|
|
155
266
|
height?: number | null;
|
|
156
|
-
/**
|
|
267
|
+
/**
|
|
268
|
+
* The label of the category corresponding to the given image.
|
|
269
|
+
*
|
|
270
|
+
* @since 5.0
|
|
271
|
+
*/
|
|
157
272
|
label?: StretchMultibandTitle | string | null;
|
|
158
|
-
/**
|
|
273
|
+
/**
|
|
274
|
+
* The opacity of the image (`0` to `1`).
|
|
275
|
+
*
|
|
276
|
+
* @since 5.0
|
|
277
|
+
*/
|
|
159
278
|
opacity?: number | null;
|
|
160
|
-
/**
|
|
279
|
+
/**
|
|
280
|
+
* The aria-label for the preview element.
|
|
281
|
+
*
|
|
282
|
+
* @since 5.0
|
|
283
|
+
*/
|
|
161
284
|
previewAriaLabel?: RendererTitle | DotDensityTitle | string | null;
|
|
162
|
-
/**
|
|
285
|
+
/**
|
|
286
|
+
* The data URI of the image representing a colored pixel in the renderer.
|
|
287
|
+
*
|
|
288
|
+
* @since 5.0
|
|
289
|
+
*/
|
|
163
290
|
src: string;
|
|
164
|
-
/**
|
|
291
|
+
/**
|
|
292
|
+
* The width of the image in pixels.
|
|
293
|
+
*
|
|
294
|
+
* @since 5.0
|
|
295
|
+
*/
|
|
165
296
|
width?: number | null;
|
|
166
297
|
}
|
|
167
298
|
|
|
168
299
|
/**
|
|
169
300
|
* Describes the schema of the ColorRampElement used as a [legendElement](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend-support-ActiveLayerInfo.html#legendElements).
|
|
170
301
|
* See the table below for more details of the properties in this object.
|
|
302
|
+
*
|
|
303
|
+
* @since 5.0
|
|
171
304
|
*/
|
|
172
305
|
export interface ColorRampElement {
|
|
173
306
|
/**
|
|
174
307
|
* The
|
|
175
308
|
* individual color stops rendered in the legend that correspond to the color visual variable in the renderer.
|
|
309
|
+
*
|
|
310
|
+
* @since 5.0
|
|
176
311
|
*/
|
|
177
312
|
infos: ColorRampStop[];
|
|
178
|
-
/**
|
|
313
|
+
/**
|
|
314
|
+
* A preview of the element as displayed in the legend.
|
|
315
|
+
*
|
|
316
|
+
* @since 5.0
|
|
317
|
+
*/
|
|
179
318
|
preview?: HTMLElement | null;
|
|
180
|
-
/**
|
|
319
|
+
/**
|
|
320
|
+
* The title of the color ramp as displayed in the legend.
|
|
321
|
+
*
|
|
322
|
+
* @since 5.0
|
|
323
|
+
*/
|
|
181
324
|
title?: RampTitle | string | null;
|
|
182
|
-
/**
|
|
325
|
+
/**
|
|
326
|
+
* The type of this element is always `color-ramp`.
|
|
327
|
+
*
|
|
328
|
+
* @since 5.0
|
|
329
|
+
*/
|
|
183
330
|
type: "color-ramp";
|
|
184
331
|
}
|
|
185
332
|
|
|
186
333
|
/**
|
|
187
334
|
* Describes the schema of the StretchRampElement used as a [legendElement](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend-support-ActiveLayerInfo.html#legendElements).
|
|
188
335
|
* See the table below for more details of the properties in this object.
|
|
336
|
+
*
|
|
337
|
+
* @since 5.0
|
|
189
338
|
*/
|
|
190
339
|
export interface StretchRampElement {
|
|
191
340
|
/**
|
|
192
341
|
* The
|
|
193
342
|
* individual color stops rendered in the legend that correspond to the color visual variable in the renderer.
|
|
343
|
+
*
|
|
344
|
+
* @since 5.0
|
|
194
345
|
*/
|
|
195
346
|
infos: ColorRampStop[];
|
|
196
|
-
/**
|
|
347
|
+
/**
|
|
348
|
+
* A preview of the element as displayed in the legend.
|
|
349
|
+
*
|
|
350
|
+
* @since 5.0
|
|
351
|
+
*/
|
|
197
352
|
preview?: HTMLElement | null;
|
|
198
|
-
/**
|
|
353
|
+
/**
|
|
354
|
+
* The title of the color ramp as displayed in the legend.
|
|
355
|
+
*
|
|
356
|
+
* @since 5.0
|
|
357
|
+
*/
|
|
199
358
|
title?: RampTitle | string | null;
|
|
200
|
-
/**
|
|
359
|
+
/**
|
|
360
|
+
* The type of this element is always `stretch-ramp`.
|
|
361
|
+
*
|
|
362
|
+
* @since 5.0
|
|
363
|
+
*/
|
|
201
364
|
type: "stretch-ramp";
|
|
202
365
|
}
|
|
203
366
|
|
|
204
367
|
/**
|
|
205
368
|
* Describes the schema of the OpacityRampElement used as a [legendElement](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend-support-ActiveLayerInfo.html#legendElements).
|
|
206
369
|
* See the table below for more details of the properties in this object.
|
|
370
|
+
*
|
|
371
|
+
* @since 5.0
|
|
207
372
|
*/
|
|
208
373
|
export interface OpacityRampElement {
|
|
209
374
|
/**
|
|
210
375
|
* The
|
|
211
376
|
* individual opacity stops rendered in the legend that correspond to the opacity visual variable in the renderer.
|
|
377
|
+
*
|
|
378
|
+
* @since 5.0
|
|
212
379
|
*/
|
|
213
380
|
infos: OpacityRampStop[];
|
|
214
|
-
/**
|
|
381
|
+
/**
|
|
382
|
+
* A preview of the element as displayed in the legend.
|
|
383
|
+
*
|
|
384
|
+
* @since 5.0
|
|
385
|
+
*/
|
|
215
386
|
preview?: HTMLElement | null;
|
|
216
|
-
/**
|
|
387
|
+
/**
|
|
388
|
+
* The title of the opacity ramp as displayed in the legend.
|
|
389
|
+
*
|
|
390
|
+
* @since 5.0
|
|
391
|
+
*/
|
|
217
392
|
title?: RampTitle | string | null;
|
|
218
|
-
/**
|
|
393
|
+
/**
|
|
394
|
+
* The type of this element is always `opacity-ramp`.
|
|
395
|
+
*
|
|
396
|
+
* @since 5.0
|
|
397
|
+
*/
|
|
219
398
|
type: "opacity-ramp";
|
|
220
399
|
}
|
|
221
400
|
|
|
222
401
|
/**
|
|
223
402
|
* Describes the schema of the SizeRampElement used as a [legendElement](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend-support-ActiveLayerInfo.html#legendElements).
|
|
224
403
|
* See the table below for more details of the properties in this object.
|
|
404
|
+
*
|
|
405
|
+
* @since 5.0
|
|
225
406
|
*/
|
|
226
407
|
export interface SizeRampElement {
|
|
227
408
|
/**
|
|
228
409
|
* The
|
|
229
410
|
* individual size stops rendered in the legend that correspond to the size visual variable in the renderer.
|
|
411
|
+
*
|
|
412
|
+
* @since 5.0
|
|
230
413
|
*/
|
|
231
414
|
infos: SizeRampStop[];
|
|
232
|
-
/**
|
|
415
|
+
/**
|
|
416
|
+
* The theme of this element.
|
|
417
|
+
*
|
|
418
|
+
* @since 5.0
|
|
419
|
+
*/
|
|
233
420
|
theme?: "spike" | null;
|
|
234
|
-
/**
|
|
421
|
+
/**
|
|
422
|
+
* The title of the size ramp as displayed in the legend.
|
|
423
|
+
*
|
|
424
|
+
* @since 5.0
|
|
425
|
+
*/
|
|
235
426
|
title?: ClusterTitle | RampTitle | string | null;
|
|
236
|
-
/**
|
|
427
|
+
/**
|
|
428
|
+
* The type of this element is always `size-ramp`.
|
|
429
|
+
*
|
|
430
|
+
* @since 5.0
|
|
431
|
+
*/
|
|
237
432
|
type: "size-ramp";
|
|
238
433
|
}
|
|
239
434
|
|
|
240
435
|
/**
|
|
241
436
|
* Describes the schema of the HeatmapRampElement used as a [legendElement](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend-support-ActiveLayerInfo.html#legendElements).
|
|
242
437
|
* See the table below for more details of the properties in this object.
|
|
438
|
+
*
|
|
439
|
+
* @since 5.0
|
|
243
440
|
*/
|
|
244
441
|
export interface HeatmapRampElement {
|
|
245
442
|
/**
|
|
246
443
|
* The
|
|
247
444
|
* individual color stops rendered in the legend that correspond to the heatmap colorStops in the renderer.
|
|
445
|
+
*
|
|
446
|
+
* @since 5.0
|
|
248
447
|
*/
|
|
249
448
|
infos: HeatmapRampStop[];
|
|
250
|
-
/**
|
|
449
|
+
/**
|
|
450
|
+
* A preview of the element as displayed in the legend.
|
|
451
|
+
*
|
|
452
|
+
* @since 5.0
|
|
453
|
+
*/
|
|
251
454
|
preview?: HTMLElement | null;
|
|
252
|
-
/**
|
|
455
|
+
/**
|
|
456
|
+
* The title of the heatmap ramp as displayed in the legend.
|
|
457
|
+
*
|
|
458
|
+
* @since 5.0
|
|
459
|
+
*/
|
|
253
460
|
title?: RendererTitle | string | null;
|
|
254
|
-
/**
|
|
461
|
+
/**
|
|
462
|
+
* The type of this element is always `heatmap-ramp`.
|
|
463
|
+
*
|
|
464
|
+
* @since 5.0
|
|
465
|
+
*/
|
|
255
466
|
type: "heatmap-ramp";
|
|
256
467
|
}
|
|
257
468
|
|
|
258
469
|
/**
|
|
259
470
|
* Describes the schema of the RelationshipRampElement used as a [legendElement](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend-support-ActiveLayerInfo.html#legendElements).
|
|
260
471
|
* See the table below for more details of the properties in this object.
|
|
472
|
+
*
|
|
473
|
+
* @since 5.0
|
|
261
474
|
*/
|
|
262
475
|
export interface RelationshipRampElement {
|
|
263
|
-
/**
|
|
476
|
+
/**
|
|
477
|
+
* A 2-dimensional array of colors as displayed in the legend grid.
|
|
478
|
+
*
|
|
479
|
+
* @since 5.0
|
|
480
|
+
*/
|
|
264
481
|
colors: Color[][];
|
|
265
|
-
/**
|
|
482
|
+
/**
|
|
483
|
+
* Determines the orientation of the Legend. Values can be `HH`, `HL`, `LH`, `LL`.
|
|
484
|
+
*
|
|
485
|
+
* @since 5.0
|
|
486
|
+
*/
|
|
266
487
|
focus: RelationshipFocus;
|
|
267
|
-
/**
|
|
488
|
+
/**
|
|
489
|
+
* Info objects associated with the relationship renderer.
|
|
490
|
+
*
|
|
491
|
+
* @since 5.0
|
|
492
|
+
*/
|
|
268
493
|
infos?: any[] | null;
|
|
269
494
|
/**
|
|
270
495
|
* The labels for
|
|
271
496
|
* each corner of the legend.
|
|
497
|
+
*
|
|
498
|
+
* @since 5.0
|
|
272
499
|
*/
|
|
273
500
|
labels: RelationshipLabels;
|
|
274
501
|
/**
|
|
275
502
|
* The number of classes for each field comprising the renderer. Can either
|
|
276
503
|
* be 2, 3, or 4.
|
|
504
|
+
*
|
|
505
|
+
* @since 5.0
|
|
277
506
|
*/
|
|
278
507
|
numClasses: number;
|
|
279
508
|
/**
|
|
280
509
|
* The rotation of the legend in degrees (0-360). `0` degrees displays the legend
|
|
281
510
|
* as a square with the `LL` cell in the bottom left corner of the legend and the `HH` cell in the top right corner.
|
|
511
|
+
*
|
|
512
|
+
* @since 5.0
|
|
282
513
|
*/
|
|
283
514
|
rotation: number;
|
|
284
|
-
/**
|
|
515
|
+
/**
|
|
516
|
+
* The title of the renderer as displayed in the legend.
|
|
517
|
+
*
|
|
518
|
+
* @since 5.0
|
|
519
|
+
*/
|
|
285
520
|
title?: string | null;
|
|
286
|
-
/**
|
|
521
|
+
/**
|
|
522
|
+
* The type of this element is always `relationship-ramp`.
|
|
523
|
+
*
|
|
524
|
+
* @since 5.0
|
|
525
|
+
*/
|
|
287
526
|
type: "relationship-ramp";
|
|
288
527
|
}
|
|
289
528
|
|
|
290
529
|
/**
|
|
291
530
|
* Describes the schema of the UnivariateColorSizeRampElement used as a [legendElement](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend-support-ActiveLayerInfo.html#legendElements).
|
|
292
531
|
* See the table below for more details of the properties in this object.
|
|
532
|
+
*
|
|
533
|
+
* @since 5.0
|
|
293
534
|
*/
|
|
294
535
|
export interface UnivariateColorSizeRampElement {
|
|
295
536
|
/**
|
|
296
537
|
* The
|
|
297
538
|
* individual color stops rendered in the legend that correspond to the color visual variable in the renderer.
|
|
539
|
+
*
|
|
540
|
+
* @since 5.0
|
|
298
541
|
*/
|
|
299
542
|
infos: (SizeRampElement | ColorRampElement)[];
|
|
300
|
-
/**
|
|
543
|
+
/**
|
|
544
|
+
* The title of the color ramp as displayed in the legend.
|
|
545
|
+
*
|
|
546
|
+
* @since 5.0
|
|
547
|
+
*/
|
|
301
548
|
title?: ClusterTitle | RampTitle | string | null;
|
|
302
|
-
/**
|
|
549
|
+
/**
|
|
550
|
+
* The type of this element is `univariate-above-and-below-ramp` or `univariate-color-size-ramp`.
|
|
551
|
+
*
|
|
552
|
+
* @since 5.0
|
|
553
|
+
*/
|
|
303
554
|
type: "univariate-above-and-below-ramp" | "univariate-color-size-ramp";
|
|
304
555
|
}
|
|
305
556
|
|
|
306
557
|
/**
|
|
307
558
|
* Describes the schema of the UnivariateColorSizeRampElement used as a [legendElement](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend-support-ActiveLayerInfo.html#legendElements).
|
|
308
559
|
* See the table below for more details of the properties in this object.
|
|
560
|
+
*
|
|
561
|
+
* @since 5.0
|
|
309
562
|
*/
|
|
310
563
|
export interface PieChartRampElement {
|
|
311
564
|
/**
|
|
312
565
|
* The
|
|
313
566
|
* individual color stops rendered in the legend that correspond to the color visual variable in the renderer.
|
|
567
|
+
*
|
|
568
|
+
* @since 5.0
|
|
314
569
|
*/
|
|
315
570
|
infos: SymbolTableElementInfo[];
|
|
316
|
-
/**
|
|
571
|
+
/**
|
|
572
|
+
* A preview of the element as displayed in the legend.
|
|
573
|
+
*
|
|
574
|
+
* @since 5.0
|
|
575
|
+
*/
|
|
317
576
|
preview?: HTMLElement | null;
|
|
318
|
-
/**
|
|
577
|
+
/**
|
|
578
|
+
* The title of the color ramp as displayed in the legend.
|
|
579
|
+
*
|
|
580
|
+
* @since 5.0
|
|
581
|
+
*/
|
|
319
582
|
title?: RendererTitle | string | null;
|
|
320
|
-
/**
|
|
583
|
+
/**
|
|
584
|
+
* The type of this element is always `pie-chart-ramp`.
|
|
585
|
+
*
|
|
586
|
+
* @since 5.0
|
|
587
|
+
*/
|
|
321
588
|
type: "pie-chart-ramp";
|
|
322
589
|
}
|
|
323
590
|
|
|
324
|
-
/**
|
|
591
|
+
/**
|
|
592
|
+
* Describes the schema of the RendererTitle element.
|
|
593
|
+
*
|
|
594
|
+
* @since 5.0
|
|
595
|
+
*/
|
|
325
596
|
export interface RendererTitle {
|
|
326
597
|
/**
|
|
327
598
|
* The field name used in the renderer. This is used in the
|
|
328
599
|
* generated title of the renderer in the legend.
|
|
600
|
+
*
|
|
601
|
+
* @since 5.0
|
|
329
602
|
*/
|
|
330
603
|
field?: string | null;
|
|
331
604
|
/**
|
|
332
605
|
* Indicates if a percentage is used in the normalization of the
|
|
333
606
|
* renderer. This is used to create a more readable legend for that scenario.
|
|
607
|
+
*
|
|
608
|
+
* @since 5.0
|
|
334
609
|
*/
|
|
335
610
|
normByPct?: boolean | null;
|
|
336
611
|
/**
|
|
337
612
|
* If a normalization field is provided to the renderer, this field
|
|
338
613
|
* is also used in the generated title for the renderer in the legend.
|
|
614
|
+
*
|
|
615
|
+
* @since 5.0
|
|
339
616
|
*/
|
|
340
617
|
normField?: string | null;
|
|
341
|
-
/**
|
|
618
|
+
/**
|
|
619
|
+
* The title of the renderer as displayed in the legend.
|
|
620
|
+
*
|
|
621
|
+
* @since 5.0
|
|
622
|
+
*/
|
|
342
623
|
title?: string | null;
|
|
343
624
|
}
|
|
344
625
|
|
|
345
|
-
/**
|
|
626
|
+
/**
|
|
627
|
+
* Describes the schema of the DotDensityTitle element.
|
|
628
|
+
*
|
|
629
|
+
* @since 5.0
|
|
630
|
+
*/
|
|
346
631
|
export interface DotDensityTitle {
|
|
347
|
-
/**
|
|
632
|
+
/**
|
|
633
|
+
* The unit.
|
|
634
|
+
*
|
|
635
|
+
* @since 5.0
|
|
636
|
+
*/
|
|
348
637
|
unit?: string | null;
|
|
349
|
-
/**
|
|
638
|
+
/**
|
|
639
|
+
* The value.
|
|
640
|
+
*
|
|
641
|
+
* @since 5.0
|
|
642
|
+
*/
|
|
350
643
|
value: number;
|
|
351
644
|
}
|
|
352
645
|
|
|
353
|
-
/**
|
|
646
|
+
/**
|
|
647
|
+
* Describes the schema of the ClusterTitle element.
|
|
648
|
+
*
|
|
649
|
+
* @since 5.0
|
|
650
|
+
*/
|
|
354
651
|
export interface ClusterTitle {
|
|
355
|
-
/**
|
|
652
|
+
/**
|
|
653
|
+
* Whether to show the count.
|
|
654
|
+
*
|
|
655
|
+
* @since 5.0
|
|
656
|
+
*/
|
|
356
657
|
showCount: boolean;
|
|
357
658
|
}
|
|
358
659
|
|
|
359
|
-
/**
|
|
660
|
+
/**
|
|
661
|
+
* Describes the schema of the RampTitle element.
|
|
662
|
+
*
|
|
663
|
+
* @since 5.0
|
|
664
|
+
*/
|
|
360
665
|
export interface RampTitle {
|
|
361
666
|
/**
|
|
362
667
|
* The field name used in a visual variable of a renderer. This is used in the
|
|
363
668
|
* generated title of the corresponding ramp in the legend.
|
|
669
|
+
*
|
|
670
|
+
* @since 5.0
|
|
364
671
|
*/
|
|
365
672
|
field?: string | null;
|
|
366
673
|
/**
|
|
367
674
|
* If provided, the normalization field name used in a visual variable of a renderer.
|
|
368
675
|
* This is used in the generated title of the corresponding ramp in the legend.
|
|
676
|
+
*
|
|
677
|
+
* @since 5.0
|
|
369
678
|
*/
|
|
370
679
|
normField?: string | null;
|
|
371
|
-
/**
|
|
680
|
+
/**
|
|
681
|
+
* If `true`, the legend formats to display the field and normalization field as a ratio.
|
|
682
|
+
*
|
|
683
|
+
* @since 5.0
|
|
684
|
+
*/
|
|
372
685
|
ratio: boolean;
|
|
373
|
-
/**
|
|
686
|
+
/**
|
|
687
|
+
* If `true`, the legend formats to display the field and normalization field as a percentage.
|
|
688
|
+
*
|
|
689
|
+
* @since 5.0
|
|
690
|
+
*/
|
|
374
691
|
ratioPercent: boolean;
|
|
375
|
-
/**
|
|
692
|
+
/**
|
|
693
|
+
* If `true`, the legend formats to display the field and normalization field as a percentage of total.
|
|
694
|
+
*
|
|
695
|
+
* @since 5.0
|
|
696
|
+
*/
|
|
376
697
|
ratioPercentTotal: boolean;
|
|
377
698
|
}
|
|
378
699
|
|
|
379
|
-
/**
|
|
700
|
+
/**
|
|
701
|
+
* Describes the schema of the StretchMultibandTitle element.
|
|
702
|
+
*
|
|
703
|
+
* @since 5.0
|
|
704
|
+
*/
|
|
380
705
|
export interface StretchMultibandTitle {
|
|
381
|
-
/**
|
|
706
|
+
/**
|
|
707
|
+
* The band name.
|
|
708
|
+
*
|
|
709
|
+
* @since 5.0
|
|
710
|
+
*/
|
|
382
711
|
bandName: string;
|
|
383
|
-
/**
|
|
712
|
+
/**
|
|
713
|
+
* The color name.
|
|
714
|
+
*
|
|
715
|
+
* @since 5.0
|
|
716
|
+
*/
|
|
384
717
|
colorName: keyof LegendMessages;
|
|
385
718
|
}
|
|
386
719
|
|
|
387
720
|
/**
|
|
388
721
|
* Describes the schema of the SizeRampStop element. Each SizeRampStop represents a single stop of the
|
|
389
722
|
* [SizeVariable](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-SizeVariable.html) referenced in the renderer.
|
|
723
|
+
*
|
|
724
|
+
* @since 5.0
|
|
390
725
|
*/
|
|
391
726
|
export interface SizeRampStop {
|
|
392
|
-
/**
|
|
727
|
+
/**
|
|
728
|
+
* The label in the legend describing features with the given `symbol` and `value`.
|
|
729
|
+
*
|
|
730
|
+
* @since 5.0
|
|
731
|
+
*/
|
|
393
732
|
label: string;
|
|
394
|
-
/**
|
|
733
|
+
/**
|
|
734
|
+
* The width of the outline in points.
|
|
735
|
+
*
|
|
736
|
+
* @since 5.0
|
|
737
|
+
*/
|
|
395
738
|
outlineSize?: number | null;
|
|
396
|
-
/**
|
|
739
|
+
/**
|
|
740
|
+
* The HTML element rendered in the legend representing features with the given value.
|
|
741
|
+
*
|
|
742
|
+
* @since 5.0
|
|
743
|
+
*/
|
|
397
744
|
preview?: HTMLElement | null;
|
|
398
|
-
/**
|
|
745
|
+
/**
|
|
746
|
+
* The size of the visual variable [stop](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-ColorVariable.html#stops) in points.
|
|
747
|
+
*
|
|
748
|
+
* @since 5.0
|
|
749
|
+
*/
|
|
399
750
|
size?: number | {
|
|
400
751
|
width: number;
|
|
401
752
|
height: number;
|
|
402
753
|
} | null;
|
|
403
|
-
/**
|
|
754
|
+
/**
|
|
755
|
+
* The symbol corresponding to the value of the stop in the renderer.
|
|
756
|
+
*
|
|
757
|
+
* @since 5.0
|
|
758
|
+
*/
|
|
404
759
|
symbol: SymbolUnion;
|
|
405
|
-
/**
|
|
760
|
+
/**
|
|
761
|
+
* The value of the size visual variable [stop](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-SizeVariable.html#stops).
|
|
762
|
+
*
|
|
763
|
+
* @since 5.0
|
|
764
|
+
*/
|
|
406
765
|
value?: any | null;
|
|
407
766
|
}
|
|
408
767
|
|
|
409
768
|
/**
|
|
410
769
|
* Describes the schema of the ColorRampStop element. Each ColorRampStop represents a single stop of the
|
|
411
770
|
* [ColorVariable](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-ColorVariable.html) referenced in the renderer.
|
|
771
|
+
*
|
|
772
|
+
* @since 5.0
|
|
412
773
|
*/
|
|
413
774
|
export interface ColorRampStop {
|
|
414
|
-
/**
|
|
775
|
+
/**
|
|
776
|
+
* The color of the visual variable [stop](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-ColorVariable.html#stops).
|
|
777
|
+
*
|
|
778
|
+
* @since 5.0
|
|
779
|
+
*/
|
|
415
780
|
color: Color;
|
|
416
|
-
/**
|
|
781
|
+
/**
|
|
782
|
+
* The label in the legend describing features with the given `color` and `value`.
|
|
783
|
+
*
|
|
784
|
+
* @since 5.0
|
|
785
|
+
*/
|
|
417
786
|
label: string | null;
|
|
418
|
-
/**
|
|
787
|
+
/**
|
|
788
|
+
* The value of the color visual variable [stop](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-ColorVariable.html#stops).
|
|
789
|
+
*
|
|
790
|
+
* @since 5.0
|
|
791
|
+
*/
|
|
419
792
|
value: number | string | null;
|
|
420
793
|
}
|
|
421
794
|
|
|
@@ -423,37 +796,57 @@ export interface ColorRampStop {
|
|
|
423
796
|
* Describes the schema of the OpacityRampStop element. Each OpacityRampStop represents a single stop of the
|
|
424
797
|
* [OpacityVariable](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-OpacityVariable.html) referenced in the renderer. The opacity value of
|
|
425
798
|
* each stop is indicated in the [alpha](https://developers.arcgis.com/javascript/latest/api-reference/esri-Color.html#a) property of the `color` object.
|
|
799
|
+
*
|
|
800
|
+
* @since 5.0
|
|
426
801
|
*/
|
|
427
802
|
export interface OpacityRampStop {
|
|
428
803
|
/**
|
|
429
804
|
* The color of the visual variable [stop](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-OpacityVariable.html#stops).
|
|
430
805
|
* The opacity corresponding to the given `value` is indicated in the [alpha](https://developers.arcgis.com/javascript/latest/api-reference/esri-Color.html#a) property of the color object.
|
|
806
|
+
*
|
|
807
|
+
* @since 5.0
|
|
431
808
|
*/
|
|
432
809
|
color: Color;
|
|
433
|
-
/**
|
|
810
|
+
/**
|
|
811
|
+
* The label in the legend describing features with the given `color` and `value`.
|
|
812
|
+
*
|
|
813
|
+
* @since 5.0
|
|
814
|
+
*/
|
|
434
815
|
label: string;
|
|
435
|
-
/**
|
|
816
|
+
/**
|
|
817
|
+
* The value of the opacity visual variable [stop](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-OpacityVariable.html#stops).
|
|
818
|
+
*
|
|
819
|
+
* @since 5.0
|
|
820
|
+
*/
|
|
436
821
|
value: number;
|
|
437
822
|
}
|
|
438
823
|
|
|
439
824
|
/**
|
|
440
825
|
* Describes the schema of the HeatmapRampStop element. Each HeatmapRampStop represents a single `colorStop` of the
|
|
441
826
|
* [Heatmap color stops](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-HeatmapRenderer.html#colorStops) referenced in the renderer.
|
|
827
|
+
*
|
|
828
|
+
* @since 5.0
|
|
442
829
|
*/
|
|
443
830
|
export interface HeatmapRampStop {
|
|
444
831
|
/**
|
|
445
832
|
* The color of the pixel corresponding to the appropriate pixel `ratio`. This value is typically
|
|
446
833
|
* between `0` and `1`.
|
|
834
|
+
*
|
|
835
|
+
* @since 5.0
|
|
447
836
|
*/
|
|
448
837
|
color: Color;
|
|
449
838
|
/**
|
|
450
839
|
* The label of the color stop displayed in the legend. Typically only the first and last
|
|
451
840
|
* stops have labels.
|
|
841
|
+
*
|
|
842
|
+
* @since 5.0
|
|
452
843
|
*/
|
|
453
844
|
label: string;
|
|
454
845
|
/**
|
|
455
846
|
* The ratio of a pixel's intensity value to the minPixelIntensity of the renderer.
|
|
456
847
|
* The ratio of each pixel is matched to the corresponding color.
|
|
848
|
+
*
|
|
849
|
+
* @since 5.0
|
|
457
850
|
*/
|
|
458
851
|
ratio: number;
|
|
459
852
|
}
|
|
@@ -461,71 +854,134 @@ export interface HeatmapRampStop {
|
|
|
461
854
|
/**
|
|
462
855
|
* Describes the schema of the RelationshipLabels element. These labels are rendered in the corners of the square
|
|
463
856
|
* that represent the relationship renderer in the legend.
|
|
857
|
+
*
|
|
858
|
+
* @since 5.0
|
|
464
859
|
*/
|
|
465
860
|
export interface RelationshipLabels {
|
|
466
861
|
/**
|
|
467
862
|
* The label corresponding with the bottom corner of the legend if the focus is
|
|
468
863
|
* set to `HH`. This
|
|
469
864
|
* describes values that are considered low in both field 1 and field 2 (LL).
|
|
865
|
+
*
|
|
866
|
+
* @since 5.0
|
|
470
867
|
*/
|
|
471
868
|
bottom: string;
|
|
472
869
|
/**
|
|
473
870
|
* The label corresponding with the left corner of the legend (if the focus
|
|
474
871
|
* is set to `HH`). This describes features where the value of field 1 is high and the value of field 2 is low (HL).
|
|
872
|
+
*
|
|
873
|
+
* @since 5.0
|
|
475
874
|
*/
|
|
476
875
|
left: string;
|
|
477
876
|
/**
|
|
478
877
|
* The label corresponding with the right corner of the legend (if the focus
|
|
479
878
|
* is set to `HH`). This describes features where the value of field 2 is high and the value of field 1 is low (LH).
|
|
879
|
+
*
|
|
880
|
+
* @since 5.0
|
|
480
881
|
*/
|
|
481
882
|
right: string;
|
|
482
883
|
/**
|
|
483
884
|
* The label corresponding with the top corner of the legend if the focus
|
|
484
885
|
* is set to `HH`. This
|
|
485
886
|
* describes values that are considered high in both field 1 and field 2 (HH).
|
|
887
|
+
*
|
|
888
|
+
* @since 5.0
|
|
486
889
|
*/
|
|
487
890
|
top: string;
|
|
488
891
|
}
|
|
489
892
|
|
|
490
|
-
/**
|
|
893
|
+
/**
|
|
894
|
+
* The following properties define an attribution item that contains the attribution text for a layer.
|
|
895
|
+
*
|
|
896
|
+
* @since 5.0
|
|
897
|
+
*/
|
|
491
898
|
export interface AttributionItem {
|
|
492
|
-
/**
|
|
899
|
+
/**
|
|
900
|
+
* The layer view that has the attribution text.
|
|
901
|
+
*
|
|
902
|
+
* @since 5.0
|
|
903
|
+
*/
|
|
493
904
|
readonly layerView: LayerView;
|
|
494
|
-
/**
|
|
905
|
+
/**
|
|
906
|
+
* The attribution text.
|
|
907
|
+
*
|
|
908
|
+
* @since 5.0
|
|
909
|
+
*/
|
|
495
910
|
readonly text: string;
|
|
496
911
|
}
|
|
497
912
|
|
|
913
|
+
/** @since 5.0 */
|
|
498
914
|
export type MeasurementState = "disabled" | "ready" | "measuring" | "measured";
|
|
499
915
|
|
|
916
|
+
/** @since 5.0 */
|
|
500
917
|
export interface AreaMeasurement {
|
|
501
|
-
/**
|
|
918
|
+
/**
|
|
919
|
+
* The area (m²).
|
|
920
|
+
*
|
|
921
|
+
* @since 5.0
|
|
922
|
+
*/
|
|
502
923
|
area: number;
|
|
503
|
-
/**
|
|
924
|
+
/**
|
|
925
|
+
* Measurement area.
|
|
926
|
+
*
|
|
927
|
+
* @since 5.0
|
|
928
|
+
*/
|
|
504
929
|
geometry: Polygon;
|
|
505
|
-
/**
|
|
930
|
+
/**
|
|
931
|
+
* The perimeter (m).
|
|
932
|
+
*
|
|
933
|
+
* @since 5.0
|
|
934
|
+
*/
|
|
506
935
|
perimeter: number;
|
|
507
936
|
}
|
|
508
937
|
|
|
938
|
+
/** @since 5.0 */
|
|
509
939
|
export interface AreaMeasurementLabel {
|
|
510
|
-
/**
|
|
940
|
+
/**
|
|
941
|
+
* The area (m²).
|
|
942
|
+
*
|
|
943
|
+
* @since 5.0
|
|
944
|
+
*/
|
|
511
945
|
area: string;
|
|
512
|
-
/**
|
|
946
|
+
/**
|
|
947
|
+
* The perimeter (m).
|
|
948
|
+
*
|
|
949
|
+
* @since 5.0
|
|
950
|
+
*/
|
|
513
951
|
perimeter: string;
|
|
514
952
|
}
|
|
515
953
|
|
|
954
|
+
/** @since 5.0 */
|
|
516
955
|
export interface LinearMeasurement {
|
|
517
|
-
/**
|
|
956
|
+
/**
|
|
957
|
+
* Measurement line.
|
|
958
|
+
*
|
|
959
|
+
* @since 5.0
|
|
960
|
+
*/
|
|
518
961
|
geometry: Polyline;
|
|
519
|
-
/**
|
|
962
|
+
/**
|
|
963
|
+
* Line length (m).
|
|
964
|
+
*
|
|
965
|
+
* @since 5.0
|
|
966
|
+
*/
|
|
520
967
|
length: number;
|
|
521
968
|
}
|
|
522
969
|
|
|
523
|
-
/**
|
|
970
|
+
/**
|
|
971
|
+
* A dom node owner.
|
|
972
|
+
*
|
|
973
|
+
* @since 5.0
|
|
974
|
+
*/
|
|
524
975
|
export interface DomNodeOwner {
|
|
525
|
-
/**
|
|
976
|
+
/**
|
|
977
|
+
* The dom node.
|
|
978
|
+
*
|
|
979
|
+
* @since 5.0
|
|
980
|
+
*/
|
|
526
981
|
domNode: HTMLElement;
|
|
527
982
|
}
|
|
528
983
|
|
|
984
|
+
/** @since 5.0 */
|
|
529
985
|
export type SliderFormatType = "average" | "min" | "max" | "tick" | "value";
|
|
530
986
|
|
|
531
987
|
/**
|
|
@@ -537,6 +993,7 @@ export type SliderFormatType = "average" | "min" | "max" | "tick" | "value";
|
|
|
537
993
|
* @param type - The label type. Currently, the only supported type is `average`.
|
|
538
994
|
* @param index - The index of the data line.
|
|
539
995
|
* @returns The formatted value of the label.
|
|
996
|
+
* @since 5.0
|
|
540
997
|
*/
|
|
541
998
|
export type HistogramLabelFormatFunction = (value: number, type?: "average", index?: number) => string;
|
|
542
999
|
|
|
@@ -549,6 +1006,7 @@ export type HistogramLabelFormatFunction = (value: number, type?: "average", ind
|
|
|
549
1006
|
* @param type - The label type. Valid types include `average`, `min`, `max`, `tick`, and `value`.
|
|
550
1007
|
* @param index - The index of the thumb (or [value](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#values)).
|
|
551
1008
|
* @returns The formatted value of the label.
|
|
1009
|
+
* @since 5.0
|
|
552
1010
|
*/
|
|
553
1011
|
export type LabelFormatFunction = (value: number, type?: SliderFormatType, index?: number) => string;
|
|
554
1012
|
|
|
@@ -557,6 +1015,7 @@ export type LabelFormatFunction = (value: number, type?: SliderFormatType, index
|
|
|
557
1015
|
* [SmartMappingSliderBase#labelFormatFunction](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-smartMapping-SmartMappingSliderBase.html#labelFormatFunction) property. This function fires
|
|
558
1016
|
* every time a label is created or updated on the slider.
|
|
559
1017
|
*
|
|
1018
|
+
* @since 5.0
|
|
560
1019
|
* @param value - The value of the thumb.
|
|
561
1020
|
* @param type - The label type. Valid types include `average`, `min`, `max`, and `value`.
|
|
562
1021
|
* @param index - The index of the thumb (or {@link widgets/smartMapping/SmartMappingSliderBase#values value}).
|
|
@@ -573,5 +1032,6 @@ export type InputFormatFunction = LabelFormatFunction;
|
|
|
573
1032
|
* @param type - The label type. Valid types include `average`, `min`, `max`, `tick`, and `value`.
|
|
574
1033
|
* @param index - The index of the thumb (or [value](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slider.html#values)).
|
|
575
1034
|
* @returns The parsed number value of the thumb.
|
|
1035
|
+
* @since 5.0
|
|
576
1036
|
*/
|
|
577
1037
|
export type InputParseFunction = (value: string, type?: "average" | "min" | "max" | "tick" | "value", index?: number) => number;
|