@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
|
@@ -9,47 +9,67 @@ import type AlgorithmicColorRamp from "../../../rest/support/AlgorithmicColorRam
|
|
|
9
9
|
import type MultipartColorRamp from "../../../rest/support/MultipartColorRamp.js";
|
|
10
10
|
import type { ClassificationMethod } from "../../types.js";
|
|
11
11
|
|
|
12
|
+
/** @since 5.0 */
|
|
12
13
|
export type HillshadeType = "traditional" | "multi-directional";
|
|
13
14
|
|
|
15
|
+
/** @since 5.0 */
|
|
14
16
|
export type RasterStretchType = "none" | "standard-deviation" | "histogram-equalization" | "min-max" | "percent-clip" | "sigmoid";
|
|
15
17
|
|
|
18
|
+
/** @since 5.0 */
|
|
16
19
|
export type RasterColormapName = "random" | "ndvi" | "ndvi2" | "ndvi3" | "elevation" | "gray" | "hillshade";
|
|
17
20
|
|
|
21
|
+
/** @since 5.0 */
|
|
18
22
|
export type RasterColorRampName = "aspect" | "black-to-white" | "blue-bright" | "blue-light-to-dark" | "blue-green-bright" | "blue-green-light-to-dark" | "brown-light-to-dark" | "brown-to-blue-green-diverging-right" | "brown-to-blue-green-diverging-dark" | "coefficient-bias" | "cold-to-hot-diverging" | "condition-number" | "cyan-to-purple" | "cyan-light-to-blue-dark" | "distance" | "elevation1" | "elevation2" | "errors" | "gray-light-to-dark" | "green-bright" | "green-light-to-dark" | "green-to-blue" | "orange-bright" | "orange-light-to-dark" | "partial-spectrum" | "partial-spectrum-1-diverging" | "partial-spectrum-2-diverging" | "pink-to-yellow-green-diverging-bright" | "pink-to-yellow-green-diverging-dark" | "precipitation" | "prediction" | "purple-bright" | "purple-to-green-diverging-bright" | "purple-to-green-diverging-dark" | "purple-blue-bright" | "purple-blue-light-to-dark" | "purple-red-bright" | "purple-red-light-to-dark" | "red-bright" | "red-light-to-dark" | "red-to-blue-diverging-bright" | "red-to-blue-diverging-dark" | "red-to-green" | "red-to-green-diverging-bright" | "red-to-green-diverging-dark" | "slope" | "spectrum-full-bright" | "spectrum-full-dark" | "spectrum-full-light" | "surface" | "temperature" | "white-to-black" | "yellow-to-dark-red" | "yellow-to-green-to-dark-blue" | "yellow-to-red" | "yellow-green-bright" | "yellow-green-light-to-dark";
|
|
19
23
|
|
|
24
|
+
/** @since 5.0 */
|
|
20
25
|
export interface ClassBreaksParameters {
|
|
21
26
|
/**
|
|
22
27
|
* The classification method used for generating breaks.
|
|
23
28
|
*
|
|
24
29
|
* @default natural-breaks
|
|
30
|
+
* @since 5.0
|
|
25
31
|
*/
|
|
26
32
|
classificationMethod?: ClassificationMethod;
|
|
27
|
-
/**
|
|
33
|
+
/**
|
|
34
|
+
* The color ramp to apply to the renderer.
|
|
35
|
+
*
|
|
36
|
+
* @since 5.0
|
|
37
|
+
*/
|
|
28
38
|
colorRamp?: AlgorithmicColorRamp | MultipartColorRamp;
|
|
29
39
|
/**
|
|
30
40
|
* The colors to apply to each class break. This must be a
|
|
31
41
|
* two-dimensional array where each item of the first dimension is an array of 3-4 numbers representing
|
|
32
42
|
* the RGB or RGBA values of each class break. This overrides `colorRamp`.
|
|
43
|
+
*
|
|
44
|
+
* @since 5.0
|
|
33
45
|
*/
|
|
34
46
|
colors?: number[][];
|
|
35
47
|
/**
|
|
36
48
|
* Only applicable when `classificationMethod` is `defined-interval`. Specifies the interval of each break.
|
|
37
49
|
* Note this may cause the last break to extend beyond the actual data max.
|
|
50
|
+
*
|
|
51
|
+
* @since 5.0
|
|
38
52
|
*/
|
|
39
53
|
definedInterval?: number;
|
|
40
54
|
/**
|
|
41
55
|
* The field whose data will be used in the classification.
|
|
42
56
|
*
|
|
43
57
|
* @default value
|
|
58
|
+
* @since 5.0
|
|
44
59
|
*/
|
|
45
60
|
field?: string;
|
|
46
61
|
/**
|
|
47
62
|
* The number of class breaks to generate for the classification. This is ignored if a `standard-deviation` classification method is specified.
|
|
48
63
|
*
|
|
49
64
|
* @default 5
|
|
65
|
+
* @since 5.0
|
|
50
66
|
*/
|
|
51
67
|
numClasses?: number;
|
|
52
68
|
}
|
|
53
69
|
|
|
54
|
-
/**
|
|
70
|
+
/**
|
|
71
|
+
* Union of all raster renderers.
|
|
72
|
+
*
|
|
73
|
+
* @since 5.0
|
|
74
|
+
*/
|
|
55
75
|
export type RasterRendererUnion = ClassBreaksRenderer | FlowRenderer | RasterColormapRenderer | RasterShadedReliefRenderer | RasterStretchRenderer | UniqueValueRenderer | VectorFieldRenderer;
|
|
@@ -1,44 +1,71 @@
|
|
|
1
1
|
import type { LengthUnit } from "../../core/units.js";
|
|
2
2
|
|
|
3
|
+
/** @since 5.0 */
|
|
3
4
|
export interface AuthoringInfoStatistics {
|
|
4
|
-
/**
|
|
5
|
+
/**
|
|
6
|
+
* The maximum data value of the attribute represented by the renderer. Legends displaying `above-and-below` themed data will not display values greater than this number.
|
|
7
|
+
*
|
|
8
|
+
* @since 5.0
|
|
9
|
+
*/
|
|
5
10
|
max: number;
|
|
6
|
-
/**
|
|
11
|
+
/**
|
|
12
|
+
* The minimum data value of the attribute represented by the renderer. Legends displaying `above-and-below` themed data will not display values smaller than this number.
|
|
13
|
+
*
|
|
14
|
+
* @since 5.0
|
|
15
|
+
*/
|
|
7
16
|
min: number;
|
|
8
17
|
}
|
|
9
18
|
|
|
19
|
+
/** @since 5.0 */
|
|
10
20
|
export type AuthoringInfoTypes = "relationship" | "classed-size" | "classed-color" | "class-breaks-size" | "class-breaks-color" | "dot-density" | "predominance" | "univariate-color-size" | "flow";
|
|
11
21
|
|
|
22
|
+
/** @since 5.0 */
|
|
12
23
|
export type AuthoringInfoClassificationMethods = "equal-interval" | "defined-interval" | "manual" | "natural-breaks" | "quantile" | "standard-deviation";
|
|
13
24
|
|
|
25
|
+
/** @since 5.0 */
|
|
14
26
|
export type AuthoringInfoLengthUnits = Exclude<LengthUnit, "us-feet">;
|
|
15
27
|
|
|
28
|
+
/** @since 5.0 */
|
|
16
29
|
export type StandardDeviationInterval = 1 | 0.5 | 0.33 | 0.25;
|
|
17
30
|
|
|
31
|
+
/** @since 5.0 */
|
|
18
32
|
export type RelationshipFocus = "HH" | "LL" | "HL" | "LH";
|
|
19
33
|
|
|
34
|
+
/** @since 5.0 */
|
|
20
35
|
export type UnivariateTheme = "high-to-low" | "above-and-below" | "above" | "below";
|
|
21
36
|
|
|
37
|
+
/** @since 5.0 */
|
|
22
38
|
export type FlowTheme = "flow-line" | "wave-front";
|
|
23
39
|
|
|
40
|
+
/** @since 5.0 */
|
|
24
41
|
export type UnivariateSymbolStyle = "caret" | "circle-caret" | "arrow" | "circle-arrow" | "plus-minus" | "circle-plus-minus" | "square" | "circle" | "triangle" | "happy-sad" | "thumb" | "custom";
|
|
25
42
|
|
|
43
|
+
/** @since 5.0 */
|
|
26
44
|
export type AuthoringInfoVisualVariableTypes = "size" | "color" | "opacity";
|
|
27
45
|
|
|
46
|
+
/** @since 5.0 */
|
|
28
47
|
export type AuthoringInfoVisualVariableStyles = "percent" | "ratio" | "percent-of-total";
|
|
29
48
|
|
|
49
|
+
/** @since 5.0 */
|
|
30
50
|
export type AuthoringInfoColorVariableThemes = "high-to-low" | "above-and-below" | "centered-on" | "extremes" | "above" | "below";
|
|
31
51
|
|
|
52
|
+
/** @since 5.0 */
|
|
32
53
|
export type AuthoringInfoSizeVariableThemes = "high-to-low" | "above-and-below" | "above" | "below" | "reference-size" | "spike";
|
|
33
54
|
|
|
55
|
+
/** @since 5.0 */
|
|
34
56
|
export type AuthoringInfoVisualVariableThemes = AuthoringInfoColorVariableThemes | AuthoringInfoSizeVariableThemes;
|
|
35
57
|
|
|
58
|
+
/** @since 5.0 */
|
|
36
59
|
export type AuthoringInfoVisualVariableUnits = "seconds" | "minutes" | "hours" | "days" | "months" | "years";
|
|
37
60
|
|
|
61
|
+
/** @since 5.0 */
|
|
38
62
|
export type ReferenceSizeSymbolStyle = "circle" | "diamond" | "hexagon-flat" | "hexagon-pointy" | "square";
|
|
39
63
|
|
|
64
|
+
/** @since 5.0 */
|
|
40
65
|
export type SpikeSymbolStyle = "triangle-closed-outline" | "triangle-gradient-fill-closed" | "triangle-gradient-fill-closed-outline" | "triangle-gradient-fill-open" | "triangle-gradient-fill-open-outline" | "triangle-open-outline" | "triangle-solid-fill-closed" | "triangle-solid-fill-closed-outline" | "triangle-solid-fill-open" | "triangle-solid-fill-open-outline";
|
|
41
66
|
|
|
67
|
+
/** @since 5.0 */
|
|
42
68
|
export type RendererLegendOptionsOrder = "ascending-values" | "descending-values";
|
|
43
69
|
|
|
70
|
+
/** @since 5.0 */
|
|
44
71
|
export interface RendererLegendTitleOption {}
|
package/renderers/types.d.ts
CHANGED
|
@@ -13,80 +13,123 @@ import type SizeVariable from "./visualVariables/SizeVariable.js";
|
|
|
13
13
|
import type { AbortOptions } from "../core/promiseUtils.js";
|
|
14
14
|
import type { WebStyleAcceptedFormat } from "../symbols/support/types.js";
|
|
15
15
|
|
|
16
|
+
/** @since 5.0 */
|
|
16
17
|
export type RendererType = RendererUnion["type"];
|
|
17
18
|
|
|
19
|
+
/** @since 5.0 */
|
|
18
20
|
export type NormalizationType = "field" | "log" | "percent-of-total" | "natural-log" | "square-root";
|
|
19
21
|
|
|
22
|
+
/** @since 5.0 */
|
|
20
23
|
export type ClassificationMethod = "equal-interval" | "manual" | "natural-breaks" | "quantile" | "standard-deviation" | "defined-interval";
|
|
21
24
|
|
|
25
|
+
/** @since 5.0 */
|
|
22
26
|
export type SizeVariableAxis = "width" | "depth" | "height" | "width-and-depth" | "all";
|
|
23
27
|
|
|
28
|
+
/** @since 5.0 */
|
|
24
29
|
export type SizeVariableRepresentation = "radius" | "diameter" | "area" | "width" | "distance";
|
|
25
30
|
|
|
31
|
+
/** @since 5.0 */
|
|
26
32
|
export type SizeVariableUnit = "unknown" | "inches" | "feet" | "yards" | "miles" | "nautical-miles" | "millimeters" | "centimeters" | "decimeters" | "meters" | "kilometers";
|
|
27
33
|
|
|
34
|
+
/** @since 5.0 */
|
|
28
35
|
export type VisualVariable = ColorVariable | SizeVariable | OpacityVariable | RotationVariable;
|
|
29
36
|
|
|
37
|
+
/** @since 5.0 */
|
|
30
38
|
export type VisualVariableType = VisualVariable["type"];
|
|
31
39
|
|
|
40
|
+
/** @since 5.0 */
|
|
32
41
|
export interface VisualVariableLegendOptions {
|
|
33
42
|
/**
|
|
34
43
|
* Indicates if the [Legend](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-legend/) should display content
|
|
35
44
|
* describing the generated renderer.
|
|
45
|
+
*
|
|
46
|
+
* @since 5.0
|
|
36
47
|
*/
|
|
37
48
|
showLegend?: boolean;
|
|
38
49
|
/**
|
|
39
50
|
* The title used to represent the age size ramp in the
|
|
40
51
|
* [Legend](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-legend/).
|
|
52
|
+
*
|
|
53
|
+
* @since 5.0
|
|
41
54
|
*/
|
|
42
55
|
title?: string | null;
|
|
43
56
|
}
|
|
44
57
|
|
|
58
|
+
/** @since 5.0 */
|
|
45
59
|
export interface GetSymbolOptions extends AbortOptions {
|
|
46
|
-
/**
|
|
60
|
+
/**
|
|
61
|
+
* The [view scale](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#scale) at which the graphic is displayed.
|
|
62
|
+
*
|
|
63
|
+
* @since 5.0
|
|
64
|
+
*/
|
|
47
65
|
scale?: number | null;
|
|
48
66
|
/**
|
|
49
67
|
* The spatial reference of the view in which the graphic
|
|
50
68
|
* is displayed.
|
|
69
|
+
*
|
|
70
|
+
* @since 5.0
|
|
51
71
|
*/
|
|
52
72
|
spatialReference?: SpatialReference | null;
|
|
53
73
|
/**
|
|
54
74
|
* The [SceneView#viewingMode](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#viewingMode) of the view, if the graphic
|
|
55
75
|
* is displayed in a SceneView.
|
|
76
|
+
*
|
|
77
|
+
* @since 5.0
|
|
56
78
|
*/
|
|
57
79
|
viewingMode?: string | null;
|
|
58
80
|
}
|
|
59
81
|
|
|
82
|
+
/** @since 5.0 */
|
|
60
83
|
export interface GetVisualVariableValuesOptions extends GetSymbolOptions {
|
|
61
84
|
/**
|
|
62
85
|
* The [MapView#resolution](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#resolution) of the view at which
|
|
63
86
|
* the graphic is displayed.
|
|
87
|
+
*
|
|
88
|
+
* @since 5.0
|
|
64
89
|
*/
|
|
65
90
|
resolution?: number;
|
|
66
91
|
}
|
|
67
92
|
|
|
93
|
+
/** @since 5.0 */
|
|
68
94
|
export interface GetDisplaySymbolOptions extends GetVisualVariableValuesOptions {
|
|
69
|
-
/**
|
|
95
|
+
/**
|
|
96
|
+
* The renderer of the layer associated with the `graphic`.
|
|
97
|
+
*
|
|
98
|
+
* @since 5.0
|
|
99
|
+
*/
|
|
70
100
|
renderer?: RendererUnion;
|
|
71
101
|
/**
|
|
72
102
|
* A list of accepted formats when
|
|
73
103
|
* resolving web style symbols. The symbol will resolve to the first accepted format in the list.
|
|
74
104
|
*
|
|
75
105
|
* @default ["web", "cim"]
|
|
106
|
+
* @since 5.0
|
|
76
107
|
*/
|
|
77
108
|
webStyleAcceptedFormats?: WebStyleAcceptedFormat[];
|
|
78
109
|
}
|
|
79
110
|
|
|
111
|
+
/** @since 5.0 */
|
|
80
112
|
export type VectorFieldStyles = "beaufort-ft" | "beaufort-km" | "beaufort-kn" | "beaufort-m" | "beaufort-mi" | "classified-arrow" | "ocean-current-kn" | "ocean-current-m" | "simple-scalar" | "single-arrow" | "wind-barb";
|
|
81
113
|
|
|
114
|
+
/** @since 5.0 */
|
|
82
115
|
export type RelationshipNumClasses = 2 | 3 | 4;
|
|
83
116
|
|
|
117
|
+
/** @since 5.0 */
|
|
84
118
|
export type DictionaryUserConfig = Object;
|
|
85
119
|
|
|
120
|
+
/** @since 5.0 */
|
|
86
121
|
export type DictionaryFieldMap = Record<string, string>;
|
|
87
122
|
|
|
88
|
-
/**
|
|
123
|
+
/**
|
|
124
|
+
* Union of all renderers with visual variables.
|
|
125
|
+
*
|
|
126
|
+
* @since 5.0
|
|
127
|
+
*/
|
|
89
128
|
export type RendererWithVisualVariablesUnion = SimpleRenderer | ClassBreaksRenderer | UniqueValueRenderer | DotDensityRenderer | DictionaryRenderer | PieChartRenderer;
|
|
90
129
|
|
|
91
|
-
/**
|
|
130
|
+
/**
|
|
131
|
+
* Union of renderers.
|
|
132
|
+
*
|
|
133
|
+
* @since 5.0
|
|
134
|
+
*/
|
|
92
135
|
export type RendererUnion = RendererWithVisualVariablesUnion | HeatmapRenderer;
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import type VisualVariableLegendOptions from "./VisualVariableLegendOptions.js";
|
|
2
2
|
import type { VisualVariableLegendOptionsProperties } from "./VisualVariableLegendOptions.js";
|
|
3
3
|
|
|
4
|
+
/** @since 5.0 */
|
|
4
5
|
export interface SizeVariableLegendOptionsProperties extends VisualVariableLegendOptionsProperties, Partial<Pick<SizeVariableLegendOptions, "customValues">> {}
|
|
5
6
|
|
|
7
|
+
/** @since 5.0 */
|
|
6
8
|
export default abstract class SizeVariableLegendOptions extends VisualVariableLegendOptions {
|
|
7
9
|
/**
|
|
8
10
|
* Overrides the legend values with values specified here. This is typically used
|
|
9
11
|
* to round values interpolated from the SizeVariable to rounded numbers.
|
|
12
|
+
*
|
|
13
|
+
* @since 5.0
|
|
10
14
|
*/
|
|
11
15
|
accessor customValues: number[] | null | undefined;
|
|
12
16
|
}
|
|
@@ -1,15 +1,23 @@
|
|
|
1
1
|
import type { ClonableMixin, ClonableMixinProperties } from "../../../core/Clonable.js";
|
|
2
2
|
import type { JSONSupport, JSONSupportMixinProperties } from "../../../core/JSONSupport.js";
|
|
3
3
|
|
|
4
|
+
/** @since 5.0 */
|
|
4
5
|
export interface VisualVariableLegendOptionsProperties extends JSONSupportMixinProperties, ClonableMixinProperties, Partial<Pick<VisualVariableLegendOptions, "showLegend" | "title">> {}
|
|
5
6
|
|
|
7
|
+
/** @since 5.0 */
|
|
6
8
|
export default abstract class VisualVariableLegendOptions extends VisualVariableLegendOptionsSuperclass {
|
|
7
|
-
/**
|
|
9
|
+
/**
|
|
10
|
+
* Indicates whether to show the visual variable in the legend.
|
|
11
|
+
*
|
|
12
|
+
* @since 5.0
|
|
13
|
+
*/
|
|
8
14
|
accessor showLegend: boolean | null | undefined;
|
|
9
15
|
/**
|
|
10
16
|
* The title describing the visualization of
|
|
11
17
|
* the visual variable in the [Legend](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-legend/). This takes precedence over
|
|
12
18
|
* a field alias or [VisualVariable#valueExpressionTitle](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-VisualVariable.html#valueExpressionTitle).
|
|
19
|
+
*
|
|
20
|
+
* @since 5.0
|
|
13
21
|
*/
|
|
14
22
|
accessor title: string | null | undefined;
|
|
15
23
|
}
|
package/request/types.d.ts
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import type Error from "../core/Error.js";
|
|
2
2
|
import type { AbortOptions } from "../core/promiseUtils.js";
|
|
3
3
|
|
|
4
|
-
/**
|
|
4
|
+
/**
|
|
5
|
+
* An object with the following properties that describe the request.
|
|
6
|
+
*
|
|
7
|
+
* @since 5.0
|
|
8
|
+
*/
|
|
5
9
|
export interface RequestOptions extends AbortOptions {
|
|
6
10
|
/**
|
|
7
11
|
* Indicates if and how requests to ArcGIS Services are authenticated.
|
|
@@ -18,12 +22,15 @@ export interface RequestOptions extends AbortOptions {
|
|
|
18
22
|
* > **Note:** This is not supported when used in a custom worker that is not using the [workers](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-workers.html) framework.
|
|
19
23
|
*
|
|
20
24
|
* @default auto
|
|
25
|
+
* @since 5.0
|
|
21
26
|
*/
|
|
22
27
|
authMode?: "anonymous" | "auto" | "immediate" | "no-prompt";
|
|
23
28
|
/**
|
|
24
29
|
* If uploading a file, specify the
|
|
25
30
|
* form data or element used to submit the file here. If specified, the parameters of the
|
|
26
31
|
* `query` will be added to the URL.
|
|
32
|
+
*
|
|
33
|
+
* @since 5.0
|
|
27
34
|
*/
|
|
28
35
|
body?: FormData | HTMLFormElement | string | null;
|
|
29
36
|
/**
|
|
@@ -31,11 +38,14 @@ export interface RequestOptions extends AbortOptions {
|
|
|
31
38
|
* browser's local cache. If `false`, the browser's default cache handling will be used.
|
|
32
39
|
*
|
|
33
40
|
* @default false
|
|
41
|
+
* @since 5.0
|
|
34
42
|
*/
|
|
35
43
|
cacheBust?: boolean;
|
|
36
44
|
/**
|
|
37
45
|
* Headers to use for the request. This is an
|
|
38
46
|
* object whose property names are header names.
|
|
47
|
+
*
|
|
48
|
+
* @since 5.0
|
|
39
49
|
*/
|
|
40
50
|
headers?: Record<string, string>;
|
|
41
51
|
/**
|
|
@@ -43,6 +53,7 @@ export interface RequestOptions extends AbortOptions {
|
|
|
43
53
|
* See also [`keepalive`](https://developer.mozilla.org/en-US/docs/Web/API/Request/keepalive) for more details.
|
|
44
54
|
*
|
|
45
55
|
* @default false
|
|
56
|
+
* @since 5.0
|
|
46
57
|
*/
|
|
47
58
|
keepAlive?: boolean;
|
|
48
59
|
/**
|
|
@@ -50,6 +61,7 @@ export interface RequestOptions extends AbortOptions {
|
|
|
50
61
|
* HTTP DELETE, HEAD, POST, or PUT method. By default, HTTP POST will be used for `auto` if the request size is longer than the `maxUrlLength` property set in [ConfigWithRequest](https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html#ConfigWithRequest).
|
|
51
62
|
*
|
|
52
63
|
* @default auto
|
|
64
|
+
* @since 5.0
|
|
53
65
|
*/
|
|
54
66
|
method?: "auto" | "delete" | "head" | "post" | "put";
|
|
55
67
|
/**
|
|
@@ -58,6 +70,8 @@ export interface RequestOptions extends AbortOptions {
|
|
|
58
70
|
* The query parameters will be added to the URL if a GET request is used, or if the `body` property is set. If the
|
|
59
71
|
* `body` property is not set, the query parameters will be added to the request body when a DELETE, POST, or PUT
|
|
60
72
|
* request is used.
|
|
73
|
+
*
|
|
74
|
+
* @since 5.0
|
|
61
75
|
*/
|
|
62
76
|
query?: Record<string, any> | URLSearchParams | null;
|
|
63
77
|
/**
|
|
@@ -73,6 +87,7 @@ export interface RequestOptions extends AbortOptions {
|
|
|
73
87
|
* [xml](https://developer.mozilla.org/en-US/docs/Web/API/XMLDocument)
|
|
74
88
|
*
|
|
75
89
|
* @default json
|
|
90
|
+
* @since 5.0
|
|
76
91
|
*/
|
|
77
92
|
responseType?: ResponseType;
|
|
78
93
|
/**
|
|
@@ -80,6 +95,7 @@ export interface RequestOptions extends AbortOptions {
|
|
|
80
95
|
* to wait for a response from the server. Set to `0` to wait for the response indefinitely.
|
|
81
96
|
*
|
|
82
97
|
* @default 62000
|
|
98
|
+
* @since 5.0
|
|
83
99
|
*/
|
|
84
100
|
timeout?: number;
|
|
85
101
|
/**
|
|
@@ -87,16 +103,19 @@ export interface RequestOptions extends AbortOptions {
|
|
|
87
103
|
* this is determined automatically based on the domain of the request URL.
|
|
88
104
|
*
|
|
89
105
|
* @default false
|
|
106
|
+
* @since 5.0
|
|
90
107
|
*/
|
|
91
108
|
useProxy?: boolean;
|
|
92
109
|
/**
|
|
93
110
|
* Indicates if cross-site `Access-Control` requests should use credentials. It is also possible to push the domain to the config [trustedServers](https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html#ConfigWithRequest) if an application requires credentials. For additional information on `withCredentials`, please refer to [this documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/withCredentials).
|
|
94
111
|
*
|
|
95
112
|
* @default false
|
|
113
|
+
* @since 5.0
|
|
96
114
|
*/
|
|
97
115
|
withCredentials?: boolean;
|
|
98
116
|
}
|
|
99
117
|
|
|
118
|
+
/** @since 5.0 */
|
|
100
119
|
export type ResponseType = "array-buffer" | "blob" | "document" | "image" | "json" | "native" | "native-request-init" | "text" | "xml";
|
|
101
120
|
|
|
102
121
|
/**
|
|
@@ -104,6 +123,7 @@ export type ResponseType = "array-buffer" | "blob" | "document" | "image" | "jso
|
|
|
104
123
|
* If the request returns an [Error](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Error.html), the error object will
|
|
105
124
|
* include the details specified in [RequestErrorDetails](https://developers.arcgis.com/javascript/latest/api-reference/esri-request-types.html#RequestErrorDetails).
|
|
106
125
|
*
|
|
126
|
+
* @since 5.0
|
|
107
127
|
* @example
|
|
108
128
|
* // request GeoJson data from USGS remote server
|
|
109
129
|
* let url = "https://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/all_hour.geojson";
|
|
@@ -127,19 +147,46 @@ export interface RequestResponse<T> {
|
|
|
127
147
|
* [native-request-init](https://developer.mozilla.org/en-US/docs/Web/API/RequestInit),
|
|
128
148
|
* [document](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument), and
|
|
129
149
|
* [xml](https://developer.mozilla.org/en-US/docs/Web/API/XMLDocument).
|
|
150
|
+
*
|
|
151
|
+
* @since 5.0
|
|
130
152
|
*/
|
|
131
153
|
data: T;
|
|
132
|
-
/**
|
|
154
|
+
/**
|
|
155
|
+
* Method for getting all headers sent from the server.
|
|
156
|
+
*
|
|
157
|
+
* @since 5.0
|
|
158
|
+
*/
|
|
133
159
|
getAllHeaders?: GetAllHeaders;
|
|
134
|
-
/**
|
|
160
|
+
/**
|
|
161
|
+
* Method for getting a header sent from the server.
|
|
162
|
+
*
|
|
163
|
+
* @since 5.0
|
|
164
|
+
*/
|
|
135
165
|
getHeader?: GetHeader;
|
|
136
|
-
/**
|
|
166
|
+
/**
|
|
167
|
+
* The status code of the http response.
|
|
168
|
+
*
|
|
169
|
+
* @since 4.26
|
|
170
|
+
* @since 5.0
|
|
171
|
+
*/
|
|
137
172
|
httpStatus?: number;
|
|
138
|
-
/**
|
|
173
|
+
/**
|
|
174
|
+
* The options specified by the user in the data request. See [RequestOptions](https://developers.arcgis.com/javascript/latest/api-reference/esri-request-types.html#RequestOptions) for available properties.
|
|
175
|
+
*
|
|
176
|
+
* @since 5.0
|
|
177
|
+
*/
|
|
139
178
|
requestOptions?: RequestOptions;
|
|
140
|
-
/**
|
|
179
|
+
/**
|
|
180
|
+
* Indicates if the request required https.
|
|
181
|
+
*
|
|
182
|
+
* @since 5.0
|
|
183
|
+
*/
|
|
141
184
|
ssl?: boolean;
|
|
142
|
-
/**
|
|
185
|
+
/**
|
|
186
|
+
* The URL used to request the data.
|
|
187
|
+
*
|
|
188
|
+
* @since 5.0
|
|
189
|
+
*/
|
|
143
190
|
url?: string;
|
|
144
191
|
}
|
|
145
192
|
|
|
@@ -148,6 +195,7 @@ export interface RequestResponse<T> {
|
|
|
148
195
|
* CORS only allows a few response headers to be read by default, see: [Access-Control-Expose-Headers](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Expose-Headers).
|
|
149
196
|
*
|
|
150
197
|
* @returns An array of all headers returned from the server. Each header is an array containing the header name and its corresponding value.
|
|
198
|
+
* @since 5.0
|
|
151
199
|
* @example
|
|
152
200
|
* esriRequest(url, options)
|
|
153
201
|
* .then((response) => {
|
|
@@ -165,6 +213,7 @@ export type GetAllHeaders = () => [
|
|
|
165
213
|
*
|
|
166
214
|
* @param headerName - The name of the header.
|
|
167
215
|
* @returns The header value.
|
|
216
|
+
* @since 5.0
|
|
168
217
|
* @example
|
|
169
218
|
* esriRequest(url, options)
|
|
170
219
|
* .then((response) => {
|
|
@@ -177,40 +226,92 @@ export type GetHeader = (headerName: string) => string | null | undefined;
|
|
|
177
226
|
/**
|
|
178
227
|
* The specification of the [details object](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Error.html#details) returned in an
|
|
179
228
|
* [Error](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Error.html) object.
|
|
229
|
+
*
|
|
230
|
+
* @since 5.0
|
|
180
231
|
*/
|
|
181
232
|
export interface RequestErrorDetails {
|
|
182
|
-
/**
|
|
233
|
+
/**
|
|
234
|
+
* A function for retrieving all headers sent from the server.
|
|
235
|
+
*
|
|
236
|
+
* @since 5.0
|
|
237
|
+
*/
|
|
183
238
|
getAllHeaders: GetAllHeaders;
|
|
184
|
-
/**
|
|
239
|
+
/**
|
|
240
|
+
* A function to retrieve headers sent from the server.
|
|
241
|
+
*
|
|
242
|
+
* @since 5.0
|
|
243
|
+
*/
|
|
185
244
|
getHeader: GetHeader;
|
|
186
|
-
/**
|
|
245
|
+
/**
|
|
246
|
+
* The status code of the http response.
|
|
247
|
+
*
|
|
248
|
+
* @since 5.0
|
|
249
|
+
*/
|
|
187
250
|
httpStatus: number;
|
|
188
|
-
/**
|
|
251
|
+
/**
|
|
252
|
+
* The error message code.
|
|
253
|
+
*
|
|
254
|
+
* @since 5.0
|
|
255
|
+
*/
|
|
189
256
|
messageCode: string;
|
|
190
|
-
/**
|
|
257
|
+
/**
|
|
258
|
+
* Additional error message(s).
|
|
259
|
+
*
|
|
260
|
+
* @since 5.0
|
|
261
|
+
*/
|
|
191
262
|
messages: string[];
|
|
192
|
-
/**
|
|
263
|
+
/**
|
|
264
|
+
* The raw error object if the server returned a JSON error, or the response text otherwise.
|
|
265
|
+
*
|
|
266
|
+
* @since 5.0
|
|
267
|
+
*/
|
|
193
268
|
raw: string | Object;
|
|
194
|
-
/**
|
|
269
|
+
/**
|
|
270
|
+
* The options used in the http request.
|
|
271
|
+
*
|
|
272
|
+
* @since 5.0
|
|
273
|
+
*/
|
|
195
274
|
requestOptions: RequestOptions;
|
|
196
|
-
/**
|
|
275
|
+
/**
|
|
276
|
+
* Indicates if the request required https.
|
|
277
|
+
*
|
|
278
|
+
* @since 5.0
|
|
279
|
+
*/
|
|
197
280
|
ssl: boolean;
|
|
198
|
-
/**
|
|
281
|
+
/**
|
|
282
|
+
* The error message subcode.
|
|
283
|
+
*
|
|
284
|
+
* @since 5.0
|
|
285
|
+
*/
|
|
199
286
|
subCode: number;
|
|
200
|
-
/**
|
|
287
|
+
/**
|
|
288
|
+
* The URL of the request that returned an error message.
|
|
289
|
+
*
|
|
290
|
+
* @since 5.0
|
|
291
|
+
*/
|
|
201
292
|
url: string;
|
|
202
293
|
}
|
|
203
294
|
|
|
295
|
+
/** @since 5.0 */
|
|
204
296
|
export interface RequestParameters {
|
|
205
|
-
/**
|
|
297
|
+
/**
|
|
298
|
+
* The options specified by the user in the data request. See [RequestOptions](https://developers.arcgis.com/javascript/latest/api-reference/esri-request-types.html#RequestOptions) for available properties.
|
|
299
|
+
*
|
|
300
|
+
* @since 5.0
|
|
301
|
+
*/
|
|
206
302
|
requestOptions: RequestOptions;
|
|
207
|
-
/**
|
|
303
|
+
/**
|
|
304
|
+
* The request URL.
|
|
305
|
+
*
|
|
306
|
+
* @since 5.0
|
|
307
|
+
*/
|
|
208
308
|
url: string;
|
|
209
309
|
}
|
|
210
310
|
|
|
211
311
|
/**
|
|
212
312
|
* Specifies the object used for intercepting and modifying requests made via [esriRequest](https://developers.arcgis.com/javascript/latest/api-reference/esri-request.html).
|
|
213
313
|
*
|
|
314
|
+
* @since 5.0
|
|
214
315
|
* @example
|
|
215
316
|
* const featureLayerUrl = "https://sampleserver6.arcgisonline.com/arcgis/rest/services/USA/MapServer/0";
|
|
216
317
|
*
|
|
@@ -254,24 +355,48 @@ export interface RequestParameters {
|
|
|
254
355
|
* });
|
|
255
356
|
*/
|
|
256
357
|
export interface RequestInterceptor {
|
|
257
|
-
/**
|
|
358
|
+
/**
|
|
359
|
+
* Makes changes to the response after the request is sent, but before it's returned to the caller.
|
|
360
|
+
*
|
|
361
|
+
* @since 5.0
|
|
362
|
+
*/
|
|
258
363
|
after?: AfterInterceptorCallback;
|
|
259
|
-
/**
|
|
364
|
+
/**
|
|
365
|
+
* Make changes to the request URL or options before the request is sent. A returned value will be used as the response data, which would prevent the request from being sent.
|
|
366
|
+
*
|
|
367
|
+
* @since 5.0
|
|
368
|
+
*/
|
|
260
369
|
before?: BeforeInterceptorCallback;
|
|
261
370
|
/**
|
|
262
371
|
* When an error occurs during the request processing, this function is called with an [Error](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Error.html) object giving the details about what happened.
|
|
263
372
|
* For example, this could be used to log specific errors occurring with layers or services.
|
|
373
|
+
*
|
|
374
|
+
* @since 5.0
|
|
264
375
|
*/
|
|
265
376
|
error?: ErrorInterceptorCallback;
|
|
266
|
-
/**
|
|
377
|
+
/**
|
|
378
|
+
* Sets or adds headers into `requestOptions.headers`. See also: [RequestOptions](https://developers.arcgis.com/javascript/latest/api-reference/esri-request-types.html#RequestOptions).
|
|
379
|
+
*
|
|
380
|
+
* @since 5.0
|
|
381
|
+
*/
|
|
267
382
|
headers?: Record<string, string>;
|
|
268
|
-
/**
|
|
383
|
+
/**
|
|
384
|
+
* Sets or adds query parameters into `requestOptions.query`. See also: [RequestOptions](https://developers.arcgis.com/javascript/latest/api-reference/esri-request-types.html#RequestOptions).
|
|
385
|
+
*
|
|
386
|
+
* @since 5.0
|
|
387
|
+
*/
|
|
269
388
|
query?: Object;
|
|
270
|
-
/**
|
|
389
|
+
/**
|
|
390
|
+
* Hardcodes the [response](https://developers.arcgis.com/javascript/latest/api-reference/esri-request-types.html#RequestResponse). The request will not be sent. This is resolved as the response `data`.
|
|
391
|
+
*
|
|
392
|
+
* @since 5.0
|
|
393
|
+
*/
|
|
271
394
|
responseData?: any;
|
|
272
395
|
/**
|
|
273
396
|
* Specifies the URL(s) to apply to the interceptors. If the value is type `String`, then it matches if the request URL starts with that string. If null or undefined, the interceptor will apply to all relevant requests.
|
|
274
397
|
* If using a [`RegExp`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp), the [`g`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/global) and [`y`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/sticky) flags should not be used.
|
|
398
|
+
*
|
|
399
|
+
* @since 5.0
|
|
275
400
|
*/
|
|
276
401
|
urls?: RegExp | string | Array<RegExp | string>;
|
|
277
402
|
}
|
|
@@ -280,6 +405,7 @@ export interface RequestInterceptor {
|
|
|
280
405
|
* Makes changes to the response after the request is sent, but before it's returned to the caller.
|
|
281
406
|
*
|
|
282
407
|
* @param response - The response object.
|
|
408
|
+
* @since 5.0
|
|
283
409
|
* @example
|
|
284
410
|
* const featureLayerUrl = "https://sampleserver6.arcgisonline.com/arcgis/rest/services/USA/MapServer/0";
|
|
285
411
|
*
|
|
@@ -310,6 +436,7 @@ export type AfterInterceptorCallback = (response: RequestResponse<any>) => void;
|
|
|
310
436
|
* @param params - Parameters object that specifies the two properties that can be set.
|
|
311
437
|
* @returns Returns: `null`, `undefined`, [Error](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Error.html), [response data](https://developers.arcgis.com/javascript/latest/api-reference/esri-request-types.html#RequestResponse), or a Promise
|
|
312
438
|
* that resolves to any one of these object types.
|
|
439
|
+
* @since 5.0
|
|
313
440
|
* @example
|
|
314
441
|
* // modifying the query parameters
|
|
315
442
|
* const featureLayerUrl = "https://sampleserver6.arcgisonline.com/arcgis/rest/services/USA/MapServer/0";
|
|
@@ -359,5 +486,6 @@ export type BeforeInterceptorCallback = (params: RequestParameters) => any;
|
|
|
359
486
|
* The error function detailing the reason why the [request](https://developers.arcgis.com/javascript/latest/api-reference/esri-request-types.html#RequestInterceptor) failed.
|
|
360
487
|
*
|
|
361
488
|
* @param error - The error object. See [Error](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Error.html) for more information.
|
|
489
|
+
* @since 5.0
|
|
362
490
|
*/
|
|
363
491
|
export type ErrorInterceptorCallback = (error: Error<unknown>) => void;
|