@arcgis/core 5.0.0-next.69 → 5.0.0-next.70
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/Map.d.ts +3 -1
- package/analysis/Analysis.d.ts +1 -0
- package/analysis/Dimension/types.d.ts +1 -0
- package/analysis/DimensionAnalysis.d.ts +10 -10
- package/analysis/DimensionSimpleStyle.d.ts +14 -13
- package/analysis/DirectLineMeasurementAnalysis.d.ts +1 -1
- package/analysis/DistanceMeasurementAnalysis.d.ts +2 -1
- package/analysis/ElevationProfile/ElevationProfileLineScene.d.ts +3 -3
- package/analysis/ElevationProfile/ElevationProfileLineViewOptions.d.ts +1 -1
- package/analysis/ElevationProfile/types.d.ts +2 -0
- package/analysis/LengthDimension.d.ts +22 -21
- package/analysis/LineOfSightAnalysis.d.ts +2 -2
- package/analysis/ShadowCast/MinDurationOptions.d.ts +2 -2
- package/analysis/ShadowCast/types.d.ts +6 -2
- package/analysis/Slice/types.d.ts +1 -0
- package/analysis/Viewshed.d.ts +22 -20
- package/analysis/ViewshedAnalysis.d.ts +13 -13
- package/analysis/VolumeMeasurement/VolumeMeasurementDisplayUnits.d.ts +1 -2
- package/analysis/VolumeMeasurement/VolumeMeasurementInputUnits.d.ts +2 -2
- package/analysis/VolumeMeasurement/types.d.ts +1 -0
- package/analysis/VolumeMeasurementAnalysis.d.ts +1 -0
- package/analysis/types.d.ts +5 -0
- package/arcade.d.ts +2 -2
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/04364f3dd7578c2acb71.js +1 -0
- package/assets/esri/core/workers/chunks/18ed69d563986dc2eb21.js +1 -0
- package/assets/esri/core/workers/chunks/{4c04c54330b693892cfc.js → 1a45b4b4803337f4b99f.js} +2 -2
- package/assets/esri/core/workers/chunks/{60c7f896f2246a8aa6d7.js → 244006d4b0547d574401.js} +53 -53
- package/assets/esri/core/workers/chunks/329b10897c6965948b84.js +1 -0
- package/assets/esri/core/workers/chunks/4387aaf9d5e8f6d1833d.js +1 -0
- package/assets/esri/core/workers/chunks/{944dfa9309da8f49a616.js → 6a3d66d7c92f90cc2a17.js} +1 -1
- package/assets/esri/core/workers/chunks/760a759f9697adde6dd4.js +1 -0
- package/assets/esri/core/workers/chunks/798d227205bd958de6a7.js +1 -0
- package/assets/esri/core/workers/chunks/{9d88b4ba8e511da64583.js → 98d68b145226e7527c84.js} +1 -1
- package/assets/esri/core/workers/chunks/{8ad6595ad44c2d60c1ce.js → a79fad422d41019c8232.js} +1 -1
- package/assets/esri/core/workers/chunks/{10e474d664b20adcd917.js → db4661fd82dc61162115.js} +1 -1
- package/assets/esri/core/workers/chunks/{1d1e25bb61eeeee8ee94.js → df2ba5f9d57080fca183.js} +1 -1
- package/assets/esri/themes/base/widgets/_UtilityNetworkAssociations.scss +5 -3
- package/assets/esri/themes/base/widgets/_UtilityNetworkValidateTopology.scss +15 -11
- package/assets/esri/themes/dark/main.css +1 -1
- package/assets/esri/themes/light/main.css +1 -1
- package/assets/esri/themes/light/view.css +1 -1
- package/chunks/ComponentShader.glsl.js +43 -43
- package/chunks/DefaultMaterial.glsl.js +1 -1
- package/config.js +1 -1
- package/form/elements/inputs/attachments/Input.d.ts +6 -6
- package/geometry/Mesh.d.ts +20 -21
- package/geometry/Polygon.d.ts +1 -8
- package/geometry/Polygon.js +1 -1
- package/geometry/geometryEngine.d.ts +19 -19
- package/geometry/support/MeshComponent.d.ts +3 -3
- package/geometry/support/MeshGeoreferencedVertexSpace.d.ts +2 -2
- package/geometry/support/MeshLocalVertexSpace.d.ts +2 -2
- package/geometry/support/MeshMaterial.d.ts +8 -8
- package/geometry/support/MeshMaterialMetallicRoughness.d.ts +1 -1
- package/geometry/support/MeshTexture.d.ts +3 -3
- package/geometry/support/MeshTextureTransform.d.ts +3 -3
- package/geometry/support/MeshTransform.d.ts +1 -1
- package/geometry/support/MeshVertexAttributes.d.ts +13 -5
- package/geometry/support/intersects.js +1 -1
- package/geometry/support/intersectsBase.js +1 -1
- package/geometry/support/meshUtils/centerAt.js +1 -1
- package/geometry/support/meshUtils/geographicUtils.js +1 -1
- package/geometry/support/meshUtils/georeference.js +1 -1
- package/geometry/support/meshUtils/rotate.js +1 -1
- package/geometry/support/meshUtils/scale.js +1 -1
- package/geometry/support/meshUtils/types.d.ts +44 -52
- package/geometry/support/meshUtils.d.ts +6 -50
- package/geometry/support/meshUtils.js +1 -1
- package/interfaces.d.ts +5 -151
- package/kernel.js +1 -1
- package/layers/BaseDynamicLayer.d.ts +2 -2
- package/layers/BaseElevationLayer.d.ts +2 -2
- package/layers/BuildingSceneLayer.d.ts +2 -2
- package/layers/CSVLayer.d.ts +2 -2
- package/layers/CatalogLayer.d.ts +2 -2
- package/layers/DimensionLayer.d.ts +2 -2
- package/layers/ElevationLayer.d.ts +2 -2
- package/layers/FeatureLayer.d.ts +2 -2
- package/layers/GeoJSONLayer.d.ts +2 -2
- package/layers/GeoRSSLayer.d.ts +2 -2
- package/layers/GraphicsLayer.d.ts +2 -2
- package/layers/GroupLayer.d.ts +2 -2
- package/layers/ImageryLayer.d.ts +2 -2
- package/layers/ImageryTileLayer.d.ts +2 -2
- package/layers/IntegratedMesh3DTilesLayer.d.ts +2 -2
- package/layers/IntegratedMeshLayer.d.ts +2 -2
- package/layers/KMLLayer.d.ts +2 -2
- package/layers/Layer.d.ts +9 -7
- package/layers/LineOfSightLayer.d.ts +3 -3
- package/layers/MapImageLayer.d.ts +2 -2
- package/layers/MapNotesLayer.d.ts +2 -2
- package/layers/MediaLayer.d.ts +2 -2
- package/layers/OGCFeatureLayer.d.ts +2 -2
- package/layers/OrientedImageryLayer.d.ts +2 -2
- package/layers/ParquetLayer.d.ts +2 -2
- package/layers/PointCloudLayer.d.ts +2 -2
- package/layers/RouteLayer.d.ts +2 -2
- package/layers/SceneLayer.d.ts +2 -2
- package/layers/SubtypeGroupLayer.d.ts +2 -2
- package/layers/TileLayer.d.ts +2 -2
- package/layers/UnknownLayer.d.ts +2 -2
- package/layers/UnsupportedLayer.d.ts +2 -2
- package/layers/VectorTileLayer.d.ts +2 -2
- package/layers/VideoLayer.d.ts +2 -2
- package/layers/ViewshedLayer.d.ts +2 -2
- package/layers/VoxelLayer.d.ts +2 -2
- package/layers/WCSLayer.d.ts +2 -2
- package/layers/WFSLayer.d.ts +2 -2
- package/layers/WMSLayer.d.ts +2 -2
- package/layers/WMTSLayer.d.ts +2 -2
- package/layers/catalog/CatalogDynamicGroupLayer.d.ts +2 -2
- package/layers/catalog/CatalogFootprintLayer.d.ts +2 -2
- package/layers/knowledgeGraph/KnowledgeGraphSublayer.d.ts +2 -2
- package/layers/orientedImagery/core/ExposurePoint.js +1 -1
- package/layers/orientedImagery/core/coverageUtils.js +1 -1
- package/layers/orientedImagery/transformations/utils.js +1 -1
- package/layers/raster/types.d.ts +8 -1
- package/layers/support/PixelBlock.d.ts +7 -7
- package/layers/support/RasterInfo.d.ts +2 -9
- package/layers/types.d.ts +77 -2
- package/networks/support/CircuitSection.d.ts +20 -2
- package/networks/support/CircuitSection.js +1 -1
- package/networks/support/Subcircuit.d.ts +12 -10
- package/networks/support/Subcircuit.js +1 -1
- package/networks/support/typeUtils.d.ts +2 -0
- package/networks/support/typeUtils.js +1 -1
- package/package.json +2 -2
- package/rest/support/AttributeBinsQuery.d.ts +7 -1
- package/rest/support/NormalizationBinParametersMixin.d.ts +29 -9
- package/support/revision.js +1 -1
- package/symbols/patterns/LinePattern3D.d.ts +3 -3
- package/symbols/patterns/Pattern3D.d.ts +3 -3
- package/unionTypes.d.ts +17 -17
- package/views/2d/analysis/AreaMeasurementAnalysisView2D.d.ts +6 -5
- package/views/2d/analysis/DistanceMeasurementAnalysisView2D.d.ts +7 -6
- 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/types.d.ts +1 -1
- package/views/3d/analysis/AreaMeasurementAnalysisView3D.d.ts +2 -2
- package/views/3d/analysis/DirectLineMeasurement/types.d.ts +1 -0
- package/views/3d/analysis/ElevationProfile/ElevationProfileLineSceneComputation.js +1 -1
- package/views/3d/analysis/VolumeMeasurement/types.d.ts +1 -0
- package/views/3d/analysis/types.d.ts +2 -0
- package/views/3d/constraints/Constraints.d.ts +2 -2
- package/views/3d/environment/ChapmanApproximation.glsl.js +1 -1
- package/views/3d/environment/CloudsComposition.js +1 -1
- package/views/3d/environment/Fog.js +1 -1
- package/views/3d/layers/DimensionLayerView3D.js +1 -1
- package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
- package/views/3d/layers/I3SMeshView3D.js +1 -1
- package/views/3d/layers/ImageryLayerView3D.js +1 -1
- package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
- package/views/3d/layers/LineOfSightLayerView3D.js +1 -1
- package/views/3d/layers/ViewshedLayerView3D.js +1 -1
- package/views/3d/layers/i3s/I3SMaterialUtil.js +1 -1
- package/views/3d/support/LayerPerformanceInfo.d.ts +1 -1
- package/views/3d/support/gaussianSplatting/GaussianSplatDataStore.js +1 -1
- package/views/3d/webgl-engine/collections/Component/ComponentObject.js +1 -1
- package/views/3d/webgl-engine/collections/Component/ComponentObjectCollection.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentShader.glsl.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/collections/Component/SourceGeometry.js +1 -1
- package/views/3d/webgl-engine/core/renderPasses/RenderPassManager.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/ForwardLinearDepthToWriteShadowMap.glsl.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/ShaderOutput.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/Slice.glsl.js +3 -3
- package/views/3d/webgl-engine/core/shaderLibrary/shading/ComputeNormalTexture.glsl.js +7 -7
- package/views/3d/webgl-engine/core/shaderTechnique/ShaderTechnique.js +1 -1
- package/views/3d/webgl-engine/materials/DefaultMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/DefaultTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/materials/PathMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/ViewingModeConfiguration.js +5 -0
- package/views/3d/webgl-engine/shaders/SphereDepthInterpolate.glsl.js +2 -2
- package/views/BreakpointsOwner.d.ts +9 -10
- package/views/MapView.d.ts +18 -17
- package/views/SceneView.d.ts +30 -89
- package/views/SceneView.js +1 -1
- package/views/View2D.d.ts +0 -37
- package/views/View2D.js +1 -1
- package/views/ViewAnimation.d.ts +2 -3
- package/views/analysis/ElevationProfile/types.d.ts +7 -6
- package/views/analysis/types.d.ts +1 -0
- package/views/animation/types.d.ts +3 -1
- package/views/layers/DimensionLayerView.d.ts +97 -4
- package/views/layers/DimensionLayerView.js +1 -1
- package/views/layers/HighlightLayerViewMixin.d.ts +1 -59
- package/views/layers/HighlightLayerViewMixin.js +1 -1
- package/views/layers/ImageryLayerViewMixin.d.ts +1 -55
- package/views/layers/LineOfSightLayerView.d.ts +77 -4
- package/views/layers/LineOfSightLayerView.js +1 -1
- package/views/layers/ViewshedLayerView.d.ts +96 -5
- package/views/layers/ViewshedLayerView.js +1 -1
- package/views/navigation/Navigation.d.ts +1 -22
- package/views/navigation/Navigation.js +1 -1
- package/views/support/Scheduler.js +1 -1
- package/views/types.d.ts +75 -5
- package/widgets/AreaMeasurement3D/AreaMeasurement3DViewModel.d.ts +4 -4
- package/widgets/AreaMeasurement3D.d.ts +2 -2
- package/widgets/BasemapGallery.d.ts +1 -1
- package/widgets/BasemapToggle.d.ts +1 -1
- package/widgets/Bookmarks.d.ts +1 -1
- package/widgets/BuildingExplorer/BuildingExplorerViewModel.d.ts +2 -2
- package/widgets/BuildingExplorer/BuildingLevel.d.ts +2 -2
- package/widgets/BuildingExplorer/BuildingNumericFilterViewModel.d.ts +2 -2
- package/widgets/BuildingExplorer/BuildingPhase.d.ts +2 -2
- package/widgets/BuildingExplorer.d.ts +3 -3
- package/widgets/Compass.d.ts +1 -1
- package/widgets/CoordinateConversion.d.ts +1 -1
- package/widgets/Daylight/DaylightViewModel.d.ts +3 -3
- package/widgets/Daylight/VisibleElements.d.ts +2 -2
- package/widgets/Daylight/types.d.ts +2 -2
- package/widgets/Daylight.d.ts +3 -3
- package/widgets/DirectLineMeasurement3D/DirectLineMeasurement3DViewModel.d.ts +4 -4
- package/widgets/DirectLineMeasurement3D.d.ts +2 -2
- package/widgets/DirectionalPad.d.ts +1 -1
- package/widgets/ElevationProfile/ElevationProfileLine.d.ts +2 -2
- package/widgets/ElevationProfile/ElevationProfileLineGround.d.ts +2 -2
- package/widgets/ElevationProfile/ElevationProfileLineInput.d.ts +2 -2
- package/widgets/ElevationProfile/ElevationProfileLineQuery.d.ts +2 -2
- package/widgets/ElevationProfile/ElevationProfileLineView.d.ts +3 -3
- package/widgets/ElevationProfile/ElevationProfileViewModel.d.ts +2 -2
- package/widgets/ElevationProfile/ElevationProfileVisibleElements.d.ts +2 -2
- package/widgets/ElevationProfile/types.d.ts +9 -9
- package/widgets/ElevationProfile.d.ts +2 -2
- package/widgets/Expand/ExpandViewModel.d.ts +1 -1
- package/widgets/Expand.d.ts +1 -1
- package/widgets/Feature.d.ts +1 -1
- package/widgets/FeatureTable/FeatureTableViewModel.d.ts +1 -1
- package/widgets/Features.d.ts +1 -1
- package/widgets/Fullscreen/FullscreenViewModel.d.ts +1 -1
- package/widgets/Fullscreen.d.ts +1 -1
- package/widgets/Home.d.ts +1 -1
- package/widgets/LayerList.d.ts +12 -0
- package/widgets/Legend.d.ts +1 -1
- package/widgets/LineOfSight/LineOfSightTarget.d.ts +2 -2
- package/widgets/LineOfSight/LineOfSightViewModel.d.ts +2 -2
- package/widgets/LineOfSight.d.ts +2 -2
- package/widgets/Locate/LocateViewModel.d.ts +1 -1
- package/widgets/Locate.d.ts +1 -1
- package/widgets/NavigationToggle/NavigationToggleViewModel.d.ts +1 -1
- package/widgets/NavigationToggle.d.ts +1 -1
- package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
- package/widgets/OrientedImageryViewer/components/Arrow.js +1 -1
- package/widgets/OrientedImageryViewer/components/ImageViewer.js +1 -1
- package/widgets/OrientedImageryViewer/components/ImageViewerViewModel.js +1 -1
- package/widgets/OrientedImageryViewer/components/NavigationNode.js +1 -1
- package/widgets/OrientedImageryViewer/components/NavigationUI360.js +1 -1
- package/widgets/OrientedImageryViewer/components/NavigationUIPanoramicViewModel.js +1 -1
- package/widgets/OrientedImageryViewer/components/NavigationUIViewModel.js +1 -1
- package/widgets/OrientedImageryViewer/components/SequentialNavigationUI.js +1 -1
- package/widgets/OrientedImageryViewer/constants.js +1 -1
- package/widgets/OrientedImageryViewer/navigation/NavigationManager.js +1 -1
- package/widgets/OrientedImageryViewer/navigation/NavigationManagerPanoramic.js +1 -1
- package/widgets/OrientedImageryViewer/navigation/utils.js +1 -1
- package/widgets/OrientedImageryViewer/support/MediaPrefetcher.js +5 -0
- package/widgets/OrientedImageryViewer/support/NonPanoramicMedia.js +1 -1
- package/widgets/OrientedImageryViewer/support/NonPanoramicMediaCollection.js +1 -1
- package/widgets/OrientedImageryViewer/support/resolveMediaProps.js +5 -0
- package/widgets/OrientedImageryViewer/utils.js +1 -1
- package/widgets/OrientedImageryViewer.js +1 -1
- package/widgets/PanoramicViewer/PanoramicViewerViewModel.js +1 -1
- package/widgets/PanoramicViewer.js +1 -1
- package/widgets/Print/CustomTemplate.d.ts +1 -1
- package/widgets/Print/PrintViewModel.d.ts +1 -1
- package/widgets/Print.d.ts +1 -1
- package/widgets/ScaleBar.d.ts +1 -1
- package/widgets/Search.d.ts +1 -1
- package/widgets/ShadowCast/DiscreteOptions.d.ts +2 -2
- package/widgets/ShadowCast/DurationOptions.d.ts +2 -2
- package/widgets/ShadowCast/ShadowCastViewModel.d.ts +3 -3
- package/widgets/ShadowCast/ShadowCastVisibleElements.d.ts +2 -2
- package/widgets/ShadowCast/ThresholdOptions.d.ts +2 -2
- package/widgets/ShadowCast/types.d.ts +2 -2
- package/widgets/ShadowCast.d.ts +1 -1
- package/widgets/Slice/SliceViewModel.d.ts +2 -2
- package/widgets/Slice.d.ts +2 -2
- package/widgets/Swipe.d.ts +1 -1
- package/widgets/TimeZoneLabel.d.ts +1 -1
- package/widgets/Track.d.ts +1 -1
- package/widgets/UtilityNetworkValidateTopology.js +1 -1
- package/widgets/VideoPlayer.d.ts +1 -1
- package/widgets/VideoPlayer.js +1 -1
- package/widgets/Weather/VisibleElements.d.ts +2 -2
- package/widgets/Weather/WeatherViewModel.d.ts +2 -2
- package/widgets/Weather/types.d.ts +1 -1
- package/widgets/Weather.d.ts +2 -2
- package/widgets/Zoom.d.ts +1 -1
- package/widgets/support/GridControls.d.ts +1 -1
- package/assets/esri/core/workers/chunks/35961e71f69ae1d24b9e.js +0 -1
- package/assets/esri/core/workers/chunks/3cce8e894bf37c3e598e.js +0 -1
- package/assets/esri/core/workers/chunks/7ee68f67f9cc48a328f0.js +0 -1
- package/assets/esri/core/workers/chunks/a931515a2569713e743b.js +0 -1
- package/assets/esri/core/workers/chunks/bb4574a87ca21e719f0d.js +0 -1
- package/assets/esri/core/workers/chunks/c9f868f85d740ee32715.js +0 -1
- package/geometry.d.ts +0 -136
- package/geometry.js +0 -5
- package/pointCloudRenderers.d.ts +0 -112
- package/pointCloudRenderers.js +0 -5
- package/rasterRenderers.d.ts +0 -151
- package/rasterRenderers.js +0 -5
- package/renderers.d.ts +0 -166
- package/renderers.js +0 -5
- package/views/layers/DimensionLayerViewMixin.d.ts +0 -1
- package/views/layers/DimensionLayerViewMixin.js +0 -5
- package/views/layers/LineOfSightLayerViewMixin.d.ts +0 -1
- package/views/layers/LineOfSightLayerViewMixin.js +0 -5
- package/views/layers/ViewshedLayerViewMixin.d.ts +0 -98
- package/views/layers/ViewshedLayerViewMixin.js +0 -5
|
@@ -54,17 +54,17 @@ export default class PixelBlock extends JSONSupport {
|
|
|
54
54
|
* An array of objects containing numeric statistical properties. Each object
|
|
55
55
|
* has the following specification if defined.
|
|
56
56
|
*/
|
|
57
|
-
accessor statistics:
|
|
57
|
+
accessor statistics: PixelBlockBandStatistics[] | null | undefined;
|
|
58
58
|
/** Number of valid pixels */
|
|
59
59
|
accessor validPixelCount: number | null | undefined;
|
|
60
60
|
/** The width (or number of columns) of the PixelBlock in pixels. */
|
|
61
61
|
accessor width: number;
|
|
62
62
|
/**
|
|
63
|
-
* Adds another
|
|
63
|
+
* Adds another band to the PixelBlock.
|
|
64
64
|
*
|
|
65
|
-
* @param
|
|
65
|
+
* @param bandData - The data to add to the PixelBlock.
|
|
66
66
|
*/
|
|
67
|
-
addData(
|
|
67
|
+
addData(bandData: PixelBlockBandData): void;
|
|
68
68
|
/**
|
|
69
69
|
* Returns pixels and masks using a single array in bip format
|
|
70
70
|
* (e.g. [p_00_r, p_00_g, p_00_b, p_00_a, p_10_r, p_10_g, p_10_b, p_10_a, .....]).
|
|
@@ -89,14 +89,14 @@ export default class PixelBlock extends JSONSupport {
|
|
|
89
89
|
getPlaneCount(): number | null | undefined;
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
export interface
|
|
92
|
+
export interface PixelBlockBandData {
|
|
93
93
|
/** An array representing the pixel data to add. */
|
|
94
94
|
pixels: number[];
|
|
95
95
|
/** An object containing numeric statistical properties. */
|
|
96
|
-
statistics?:
|
|
96
|
+
statistics?: PixelBlockBandStatistics;
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
-
export interface
|
|
99
|
+
export interface PixelBlockBandStatistics {
|
|
100
100
|
/** The maximum pixel value in the {@link layers/support/SimpleBandStatistics#pixels} array. */
|
|
101
101
|
readonly maxValue: number;
|
|
102
102
|
/** The minimum pixel value in the {@link layers/support/SimpleBandStatistics#pixels} array. */
|
|
@@ -4,7 +4,7 @@ import type RasterBandInfo from "./RasterBandInfo.js";
|
|
|
4
4
|
import type RasterSensorInfo from "./RasterSensorInfo.js";
|
|
5
5
|
import type FeatureSet from "../../rest/support/FeatureSet.js";
|
|
6
6
|
import type { JSONSupport, JSONSupportMixinProperties } from "../../core/JSONSupport.js";
|
|
7
|
-
import type { RasterDataType, RasterPixelType } from "../raster/types.js";
|
|
7
|
+
import type { PixelSize, RasterDataType, RasterPixelType } from "../raster/types.js";
|
|
8
8
|
import type { RasterBandStatistics, RasterHistogram, RasterMultidimensionalInfo } from "./types.js";
|
|
9
9
|
import type { ExtentProperties } from "../../geometry/Extent.js";
|
|
10
10
|
import type { SpatialReferenceProperties } from "../../geometry/SpatialReference.js";
|
|
@@ -136,7 +136,7 @@ export default abstract class RasterInfo extends JSONSupport {
|
|
|
136
136
|
* Raster pixel size. Specifies the pixel size being identified on the x and y axis.
|
|
137
137
|
* Defaults to the base resolution of the dataset when not specified.
|
|
138
138
|
*/
|
|
139
|
-
accessor pixelSize:
|
|
139
|
+
accessor pixelSize: PixelSize;
|
|
140
140
|
/**
|
|
141
141
|
* Pixel type for the raster data source.
|
|
142
142
|
*
|
|
@@ -170,11 +170,4 @@ export default abstract class RasterInfo extends JSONSupport {
|
|
|
170
170
|
* @since 4.15
|
|
171
171
|
*/
|
|
172
172
|
accessor width: number;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
export interface RasterInfoPixelSize {
|
|
176
|
-
/** Pixel size along the x axis. */
|
|
177
|
-
x: number;
|
|
178
|
-
/** Pixel size along the y axis. */
|
|
179
|
-
y: number;
|
|
180
173
|
}
|
package/layers/types.d.ts
CHANGED
|
@@ -22,12 +22,40 @@ import type { AbortOptions } from "../core/promiseUtils.js";
|
|
|
22
22
|
import type { CurveType } from "../geometry/types.js";
|
|
23
23
|
import type { RasterInterpolation } from "./raster/types.js";
|
|
24
24
|
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* The layer type provides a convenient way to check the type of the layer without the need to import specific layer modules.
|
|
28
|
+
*
|
|
29
|
+
* @see [Layer#type](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html#type)
|
|
30
|
+
*/
|
|
25
31
|
export type LayerType = "base-dynamic" | "base-elevation" | "base-tile" | "bing-maps" | "building-scene" | "catalog" | "catalog-footprint" | "catalog-dynamic-group" | "csv" | "dimension" | "elevation" | "feature" | "geo-rss" | "geojson" | "parquet" | "gaussian-splat" | "graphics" | "group" | "imagery" | "imagery-tile" | "integrated-mesh" | "integrated-mesh-3dtiles" | "kml" | "knowledge-graph" | "knowledge-graph-sublayer" | "line-of-sight" | "link-chart" | "map-image" | "map-notes" | "media" | "video" | "ogc-feature" | "open-street-map" | "oriented-imagery" | "point-cloud" | "route" | "scene" | "stream" | "subtype-group" | "tile" | "unknown" | "unsupported" | "vector-tile" | "viewshed" | "voxel" | "wcs" | "web-tile" | "wfs" | "wms" | "wmts";
|
|
26
32
|
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* Indicates how the layer should display in the [Layer List](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-layer-list/) component.
|
|
36
|
+
* The possible values are listed below.
|
|
37
|
+
*
|
|
38
|
+
* alue | Description
|
|
39
|
+
* -----|------------
|
|
40
|
+
* show | The layer is visible in the table of contents.
|
|
41
|
+
* hide | The layer is hidden in the table of contents.
|
|
42
|
+
* hide-children | If the layer is a [GroupLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GroupLayer.html), [BuildingSceneLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-BuildingSceneLayer.html), [KMLLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-KMLLayer.html), [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), [TileLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-TileLayer.html), or [WMSLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WMSLayer.html), hide the children layers from the table of contents.
|
|
43
|
+
*
|
|
44
|
+
*
|
|
45
|
+
* @see [Layer#listMode](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html#listMode)
|
|
46
|
+
*/
|
|
27
47
|
export type LayerListMode = "show" | "hide" | "hide-children";
|
|
28
48
|
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* A collection of editable layers. Layers are considered editable if they have editing capabilities, and if the authenticated user has the
|
|
52
|
+
* necessary privileges needed to edit the layers.
|
|
53
|
+
*
|
|
54
|
+
* @see [Map#editableLayers](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#editableLayers)
|
|
55
|
+
*/
|
|
29
56
|
export type EditableLayerUnion = FeatureLayer | GeoJSONLayer | OrientedImageryLayer | SceneLayer | SubtypeGroupLayer | KnowledgeGraphSublayer;
|
|
30
57
|
|
|
58
|
+
/** Union of layer types that support feature templates. */
|
|
31
59
|
export type LayerWithFeatureTemplatesUnion = Exclude<EditableLayerUnion, SubtypeGroupLayer> | SubtypeSublayer | KnowledgeGraphSublayer;
|
|
32
60
|
|
|
33
61
|
/**
|
|
@@ -40,6 +68,7 @@ export interface EditingInfo {
|
|
|
40
68
|
lastEditDate?: Date | null;
|
|
41
69
|
}
|
|
42
70
|
|
|
71
|
+
/** Indicates which spatial aggregation statistic geometries are supported. */
|
|
43
72
|
export interface SupportedSpatialAggregationStatistics {
|
|
44
73
|
/** Indicates if the layer can return centroid for each distinct group for [Query#groupByFieldsForStatistics](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-Query.html#groupByFieldsForStatistics). */
|
|
45
74
|
centroid: boolean;
|
|
@@ -49,6 +78,7 @@ export interface SupportedSpatialAggregationStatistics {
|
|
|
49
78
|
envelope: boolean;
|
|
50
79
|
}
|
|
51
80
|
|
|
81
|
+
/** Indicates which statistics are supported for attribute binning queries. */
|
|
52
82
|
export interface SupportedBinStatistics extends SupportedSpatialAggregationStatistics {
|
|
53
83
|
/** Indicates if the layer supports `avg` statistics function. */
|
|
54
84
|
avg?: boolean;
|
|
@@ -70,6 +100,7 @@ export interface SupportedBinStatistics extends SupportedSpatialAggregationStati
|
|
|
70
100
|
var?: boolean;
|
|
71
101
|
}
|
|
72
102
|
|
|
103
|
+
/** Indicates which normalization types are supported for attribute [binning queries](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-AttributeBinsQuery.html). */
|
|
73
104
|
export interface SupportedBinNormalizationTypes {
|
|
74
105
|
/** Indicates if the queryAttributeBins supports field normalization. */
|
|
75
106
|
field?: boolean;
|
|
@@ -83,6 +114,7 @@ export interface SupportedBinNormalizationTypes {
|
|
|
83
114
|
squareRoot?: boolean;
|
|
84
115
|
}
|
|
85
116
|
|
|
117
|
+
/** Describes characteristics of the data in the layer. */
|
|
86
118
|
export interface DataCapabilities {
|
|
87
119
|
/** Indicates if the feature service is branch versioned. */
|
|
88
120
|
isBranchVersioned: boolean;
|
|
@@ -103,6 +135,7 @@ export interface DataCapabilities {
|
|
|
103
135
|
supportsZ: boolean;
|
|
104
136
|
}
|
|
105
137
|
|
|
138
|
+
/** Describes the metadata contained on features in the layer. */
|
|
106
139
|
export interface MetadataCapabilities {
|
|
107
140
|
/**
|
|
108
141
|
* Indicates whether to provide a user-defined field description.
|
|
@@ -111,6 +144,7 @@ export interface MetadataCapabilities {
|
|
|
111
144
|
supportsAdvancedFieldProperties: boolean;
|
|
112
145
|
}
|
|
113
146
|
|
|
147
|
+
/** Describes operations that can be performed on features in the layer. */
|
|
114
148
|
export interface OperationCapabilities {
|
|
115
149
|
/** Indicates if new features can be [added](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#applyEdits) to the layer. */
|
|
116
150
|
supportsAdd: boolean;
|
|
@@ -151,6 +185,7 @@ export interface OperationCapabilities {
|
|
|
151
185
|
supportsValidateSql: boolean;
|
|
152
186
|
}
|
|
153
187
|
|
|
188
|
+
/** Describes [Query](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-Query.html) operations that can be performed on features in the layer. */
|
|
154
189
|
export interface QueryCapabilities {
|
|
155
190
|
/** The maximum number of records that will be returned for a given query. */
|
|
156
191
|
maxRecordCount?: number | null;
|
|
@@ -229,11 +264,12 @@ export interface QueryCapabilities {
|
|
|
229
264
|
/**
|
|
230
265
|
* Indicates if the layer supports geometries with true curves.
|
|
231
266
|
*
|
|
232
|
-
* @deprecated since 5.0. Use
|
|
267
|
+
* @deprecated since version 5.0. Use [DataCapabilities.supportsTrueCurve](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-types.html#DataCapabilities) instead.
|
|
233
268
|
*/
|
|
234
269
|
supportsTrueCurve: boolean;
|
|
235
270
|
}
|
|
236
271
|
|
|
272
|
+
/** Indicates if the layer's query operation supports querying features or records related to features in the layer. */
|
|
237
273
|
export interface QueryRelatedCapabilities {
|
|
238
274
|
/**
|
|
239
275
|
* Indicates if the [relationship query operation](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-RelationshipQuery.html) supports a cache hint. This is valid only for
|
|
@@ -248,6 +284,7 @@ export interface QueryRelatedCapabilities {
|
|
|
248
284
|
supportsPagination: boolean;
|
|
249
285
|
}
|
|
250
286
|
|
|
287
|
+
/** Describes editing capabilities that can be performed on the features in the layer via `applyEdits()`. */
|
|
251
288
|
export interface EditingCapabilities {
|
|
252
289
|
/** Indicates if anonymous users can delete features created by others. */
|
|
253
290
|
supportsDeleteByAnonymous: boolean;
|
|
@@ -277,6 +314,7 @@ export interface EditingCapabilities {
|
|
|
277
314
|
supportsUploadWithItemId: boolean;
|
|
278
315
|
}
|
|
279
316
|
|
|
317
|
+
/** Describes what attachment capabilities are enabled on the layer. */
|
|
280
318
|
export interface AttachmentCapabilities {
|
|
281
319
|
/**
|
|
282
320
|
* Indicates if the [attachment operations](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-AttachmentQuery.html) support a cache hint. This is valid only for
|
|
@@ -304,11 +342,13 @@ export interface AttachmentCapabilities {
|
|
|
304
342
|
supportsTypeWildcard: boolean;
|
|
305
343
|
}
|
|
306
344
|
|
|
345
|
+
/** Describes what analytics capabilities are enabled on the layer. */
|
|
307
346
|
export interface AnalyticsCapabilities {
|
|
308
347
|
/** Indicates if the feature service supports cache hint. */
|
|
309
348
|
supportsCacheHint: boolean;
|
|
310
349
|
}
|
|
311
350
|
|
|
351
|
+
/** Describes [top features query](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-TopFeaturesQuery.html) operations that can be performed on features in the layer. */
|
|
312
352
|
export interface QueryTopFeaturesCapabilities {
|
|
313
353
|
/**
|
|
314
354
|
* Indicates if the [top query operation](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-TopFeaturesQuery.html) supports a cache hint. This is valid only for
|
|
@@ -317,6 +357,7 @@ export interface QueryTopFeaturesCapabilities {
|
|
|
317
357
|
supportsCacheHint: boolean;
|
|
318
358
|
}
|
|
319
359
|
|
|
360
|
+
/** Describes [AttributeBinsQuery](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-AttributeBinsQuery.html) operations that can be performed on features in the layer. */
|
|
320
361
|
export interface QueryBinsCapabilities {
|
|
321
362
|
/** Normalization types supported by the queryBins operation. */
|
|
322
363
|
supportedNormalizationTypes?: SupportedBinNormalizationTypes | null;
|
|
@@ -371,11 +412,13 @@ export interface FeatureLayerCapabilities {
|
|
|
371
412
|
queryTopFeatures: QueryTopFeaturesCapabilities;
|
|
372
413
|
}
|
|
373
414
|
|
|
415
|
+
/** The capabilities of the [VideoLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VideoLayer.html#capabilities). The capabilities describe the operations the video layer supports and are defined by the video service. */
|
|
374
416
|
export interface VideoLayerCapabilities {
|
|
375
417
|
/** The operations capabilities of the video layer. */
|
|
376
418
|
operations: VideoLayerCapabilitiesOperations;
|
|
377
419
|
}
|
|
378
420
|
|
|
421
|
+
/** Describes the video layer's supported capabilities. */
|
|
379
422
|
export interface VideoLayerCapabilitiesOperations {
|
|
380
423
|
/** Indicates if the video layer supports appending data. */
|
|
381
424
|
supportsAppend: boolean;
|
|
@@ -393,6 +436,7 @@ export interface VideoLayerCapabilitiesOperations {
|
|
|
393
436
|
supportsUpdate: boolean;
|
|
394
437
|
}
|
|
395
438
|
|
|
439
|
+
/** Capabilities of the [VectorTileLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VectorTileLayer.html#capabilities). The capabilities describe the operations the vector tile layer supports and are defined by the vector tile service. */
|
|
396
440
|
export interface VectorTileLayerCapabilities {
|
|
397
441
|
/** Indicates options supported by the exportTiles operation. Will be `null` if the `supportsExportTiles` is `false`. */
|
|
398
442
|
exportTiles?: VectorTileLayerCapabilitiesExportTiles | null;
|
|
@@ -400,18 +444,27 @@ export interface VectorTileLayerCapabilities {
|
|
|
400
444
|
operations: VectorTileLayerCapabilitiesOperations;
|
|
401
445
|
}
|
|
402
446
|
|
|
447
|
+
/** Describes the vector tile layer's supported operations capabilities. */
|
|
403
448
|
export interface VectorTileLayerCapabilitiesOperations {
|
|
404
449
|
/** Indicates if the tiles from the service can be exported. */
|
|
405
450
|
supportsExportTiles: boolean;
|
|
406
|
-
/**
|
|
451
|
+
/** Indicates if the service exposes a tile map that describes the presence of tiles. */
|
|
407
452
|
supportsTileMap: boolean;
|
|
408
453
|
}
|
|
409
454
|
|
|
455
|
+
/** Describes the export tiles options supported by the vector tile layer. */
|
|
410
456
|
export interface VectorTileLayerCapabilitiesExportTiles {
|
|
411
457
|
/** Specifies the maximum number of tiles that can be exported to a cache dataset or a tile package. */
|
|
412
458
|
maxExportTilesCount: number;
|
|
413
459
|
}
|
|
414
460
|
|
|
461
|
+
/**
|
|
462
|
+
* Options for fetching raster pixel data from imagery tile layers.
|
|
463
|
+
*
|
|
464
|
+
* @see [ImageryTileLayer#fetchTile()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ImageryTileLayer.html#fetchTile)
|
|
465
|
+
* @see [ImageryTileLayer#fetchPixels()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ImageryTileLayer.html#fetchPixels)
|
|
466
|
+
* @see [WCSLayer#fetchPixels()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WCSLayer.html#fetchPixels)
|
|
467
|
+
*/
|
|
415
468
|
export interface FetchRasterOptions extends AbortOptions {
|
|
416
469
|
/** Returns pixel data only for the specified bands, if provided. Added at version 4.34. */
|
|
417
470
|
bandIds?: number[] | null;
|
|
@@ -419,6 +472,11 @@ export interface FetchRasterOptions extends AbortOptions {
|
|
|
419
472
|
interpolation?: RasterInterpolation;
|
|
420
473
|
}
|
|
421
474
|
|
|
475
|
+
/**
|
|
476
|
+
* Options for fetching raster pixel data from dynamic imagery services.
|
|
477
|
+
*
|
|
478
|
+
* @see [ImageryLayer#fetchPixels()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ImageryLayer.html#fetchPixels)
|
|
479
|
+
*/
|
|
422
480
|
export interface DynamicFetchRasterOptions extends AbortOptions {
|
|
423
481
|
/**
|
|
424
482
|
* When `true`, request a rendered image from server using layer's rendering configuration, including
|
|
@@ -454,6 +512,11 @@ export interface RasterIdentifyOptions extends AbortOptions {
|
|
|
454
512
|
transposedVariableName?: string;
|
|
455
513
|
}
|
|
456
514
|
|
|
515
|
+
/**
|
|
516
|
+
* Options for fetching exported images from a map image service.
|
|
517
|
+
*
|
|
518
|
+
* @see [MapImageLayer#fetchImage()](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-MapImageLayer.html#fetchImage)
|
|
519
|
+
*/
|
|
457
520
|
export interface FetchImageOptions extends AbortOptions {
|
|
458
521
|
/** The ratio of the resolution in physical pixels of the image to the resolution it will be displayed at. */
|
|
459
522
|
pixelRatio?: number | null;
|
|
@@ -480,10 +543,13 @@ export interface SceneLayerCapabilities {
|
|
|
480
543
|
queryRelated: FeatureLayerCapabilities["queryRelated"];
|
|
481
544
|
}
|
|
482
545
|
|
|
546
|
+
/** Subset of FeatureLayer data capabilities exposed for SceneLayers. */
|
|
483
547
|
export type SceneLayerCapabilitiesData = Pick<FeatureLayerCapabilities["data"], "supportsZ" | "supportsM" | "isVersioned" | "supportsAttachment">;
|
|
484
548
|
|
|
549
|
+
/** Subset of FeatureLayer editing capabilities exposed for SceneLayers. */
|
|
485
550
|
export type SceneLayerCapabilitiesEditing = Pick<FeatureLayerCapabilities["editing"], "supportsGlobalId" | "supportsGeometryUpdate" | "supportsRollbackOnFailure" | "supportsUploadWithItemId">;
|
|
486
551
|
|
|
552
|
+
/** Subset of FeatureLayer operation capabilities exposed for SceneLayers. */
|
|
487
553
|
export type SceneLayerCapabilitiesOperations = Pick<FeatureLayerCapabilities["operations"], "supportsQuery" | "supportsQueryAttachments" | "supportsAdd" | "supportsDelete" | "supportsEditing" | "supportsUpdate">;
|
|
488
554
|
|
|
489
555
|
/** The results of computing a route and directions. */
|
|
@@ -504,15 +570,24 @@ export interface RouteLayerSolveResult {
|
|
|
504
570
|
stops: Collection<Stop>;
|
|
505
571
|
}
|
|
506
572
|
|
|
573
|
+
/**
|
|
574
|
+
* Blend modes are used to blend layers together to create an interesting effect in a layer, or even to produce what seems like a new layer.
|
|
575
|
+
* Blend modes can create a variety of very vibrant and intriguing results by blending a layer with the layer(s) below it.
|
|
576
|
+
*
|
|
577
|
+
* @see [Layer blendMode](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-BlendLayer.html#blendMode)
|
|
578
|
+
*/
|
|
507
579
|
export type BlendMode = "average" | "color-burn" | "color-dodge" | "color" | "darken" | "destination-atop" | "destination-in" | "destination-out" | "destination-over" | "difference" | "exclusion" | "hard-light" | "hue" | "invert" | "lighten" | "lighter" | "luminosity" | "minus" | "multiply" | "normal" | "overlay" | "plus" | "reflect" | "saturation" | "screen" | "soft-light" | "source-atop" | "source-in" | "source-out" | "vivid-light" | "xor";
|
|
508
580
|
|
|
581
|
+
/** Union of supported ground elevation layer types. */
|
|
509
582
|
export type GroundElevationLayerUnion = ElevationLayer | BaseElevationLayer;
|
|
510
583
|
|
|
584
|
+
/** Options for saving a layer as a portal item. */
|
|
511
585
|
export interface LayerSaveOptions {
|
|
512
586
|
/** Indicates whether to ignore saving unsupported layers or layers with unsupported content, such as unsupported symbology. */
|
|
513
587
|
ignoreUnsupported?: boolean;
|
|
514
588
|
}
|
|
515
589
|
|
|
590
|
+
/** Options for saving a layer as a new portal item. */
|
|
516
591
|
export interface LayerSaveAsOptions extends LayerSaveOptions {
|
|
517
592
|
/** The portal folder where the layer's portal item will be saved. */
|
|
518
593
|
folder?: PortalFolder;
|
|
@@ -6,7 +6,7 @@ import type { CircuitSectionRoleType, CircuitType } from "./typeUtils.js";
|
|
|
6
6
|
import type { CircuitLocationProperties } from "./CircuitLocation.js";
|
|
7
7
|
import type { SubcircuitProperties } from "./Subcircuit.js";
|
|
8
8
|
|
|
9
|
-
export interface CircuitSectionProperties extends JSONSupportMixinProperties, Partial<Pick<CircuitSection, "sectionId" | "sectionType">> {
|
|
9
|
+
export interface CircuitSectionProperties extends JSONSupportMixinProperties, Partial<Pick<CircuitSection, "attributes" | "globalId" | "sectionId" | "sectionType">> {
|
|
10
10
|
/**
|
|
11
11
|
* The start location associated with the circuit section.
|
|
12
12
|
* This property is null if the circuit section consumes a subcircuit.
|
|
@@ -75,7 +75,7 @@ export interface CircuitSectionProperties extends JSONSupportMixinProperties, Pa
|
|
|
75
75
|
* sectionType: "physical",
|
|
76
76
|
* subcircuit: new Subcircuit({
|
|
77
77
|
* name: "SUBCIRCUITVALUE1",
|
|
78
|
-
*
|
|
78
|
+
* state: "available",
|
|
79
79
|
* }),
|
|
80
80
|
* });
|
|
81
81
|
* ```
|
|
@@ -101,6 +101,10 @@ export interface CircuitSectionProperties extends JSONSupportMixinProperties, Pa
|
|
|
101
101
|
*/
|
|
102
102
|
export default class CircuitSection extends JSONSupport {
|
|
103
103
|
constructor(properties?: CircuitSectionProperties);
|
|
104
|
+
/** User-defined attributes on the circuit section. */
|
|
105
|
+
accessor attributes: Record<string, any> | null | undefined;
|
|
106
|
+
/** The global ID of the circuit section. */
|
|
107
|
+
accessor globalId: string | null | undefined;
|
|
104
108
|
/**
|
|
105
109
|
* The path between the circuit's start and stop locations.
|
|
106
110
|
* This property is null unless the circuit section is returned by a circuit trace on a sectioned circuit.
|
|
@@ -140,6 +144,20 @@ export default class CircuitSection extends JSONSupport {
|
|
|
140
144
|
/** The subcircuit being consumed by the circuit section. */
|
|
141
145
|
get subcircuit(): Subcircuit | null | undefined;
|
|
142
146
|
set subcircuit(value: SubcircuitProperties | null | undefined);
|
|
147
|
+
/**
|
|
148
|
+
* Returns the value of the specified attribute.
|
|
149
|
+
*
|
|
150
|
+
* @param name - The name of the attribute.
|
|
151
|
+
* @returns Returns the value of the attribute specified by `name`.
|
|
152
|
+
*/
|
|
153
|
+
getAttribute<T = any>(name: string): T;
|
|
154
|
+
/**
|
|
155
|
+
* Sets a new value for the specified attribute.
|
|
156
|
+
*
|
|
157
|
+
* @param name - The name of the attribute to set.
|
|
158
|
+
* @param newValue - The new value to set on the named attribute.
|
|
159
|
+
*/
|
|
160
|
+
setAttribute(name: string, newValue: any): void;
|
|
143
161
|
/**
|
|
144
162
|
* Sets the start and stop locations of the circuit section.
|
|
145
163
|
* This method sets the section's `subcircuit` to null.
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{__decorate as t}from"tslib";import{JSONSupport as o}from"../../core/JSONSupport.js";import i from"../../core/Logger.js";import{property as r,subclass as s}from"../../core/accessorSupport/decorators.js";import e from"./CircuitLocation.js";import a from"./CircuitPath.js";import n from"./Subcircuit.js";import{CircuitSectionRoleKebabDict as
|
|
5
|
+
import{__decorate as t}from"tslib";import{JSONSupport as o}from"../../core/JSONSupport.js";import i from"../../core/Logger.js";import{property as r,subclass as s}from"../../core/accessorSupport/decorators.js";import e from"./CircuitLocation.js";import a from"./CircuitPath.js";import n from"./Subcircuit.js";import{CircuitSectionRoleKebabDict as p,CircuitTypeKebabDict as u}from"./typeUtils.js";let c=class extends o{constructor(t){super(t),this.attributes=null,this.globalId=null,this.sectionId=null,this.role="start-and-end",this.sectionType="physical",this.startLocation=null,this.stopLocation=null,this.subcircuit=null,this.path=null}normalizeCtorArgs(t){if(void 0===t)return t;const{sectionId:o,startLocation:r,stopLocation:s,subcircuit:e}=t;return(r||s)&&e?(delete t.startLocation,delete t.stopLocation,i.getLogger(this).warn("Cannot instantiate CircuitSection with both start/stop locations and subcircuit.",`CircuitSection with ID '${o}' was defaulted to having a subcircuit only.`)):(r&&!s||!r&&s)&&!e&&i.getLogger(this).warn(`CircuitSection with ID '${o}' must have both start and stop locations.`,"Create/alter operations involving this section will fail unless both are populated."),t}setStartStopLocations(t,o){this.startLocation=t,this.stopLocation=o,this.subcircuit=null}setSubcircuit(t){this.subcircuit=t,this.startLocation=null,this.stopLocation=null}getAttribute(t){return this.attributes?.[t]}setAttribute(t,o){this.attributes?this.attributes[t]=o:this.attributes={[t]:o}}};t([r({json:{write:{allowNull:!0,writer:(t,o)=>o.attributes=t??{}}}})],c.prototype,"attributes",void 0),t([r({type:String,json:{write:!0}})],c.prototype,"globalId",void 0),t([r({type:Number,json:{write:!0}})],c.prototype,"sectionId",void 0),t([r({type:p.apiValues,json:{type:p.jsonValues,read:p.read},readOnly:!0})],c.prototype,"role",void 0),t([r({type:u.apiValues,json:{type:u.jsonValues,read:u.read,write:u.write}})],c.prototype,"sectionType",void 0),t([r({type:e,json:{write:!0}})],c.prototype,"startLocation",void 0),t([r({type:e,json:{write:!0}})],c.prototype,"stopLocation",void 0),t([r({type:n,json:{write:!0}})],c.prototype,"subcircuit",void 0),t([r({type:a,readOnly:!0})],c.prototype,"path",void 0),c=t([s("esri.networks.support.CircuitSection")],c);export{c as default};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { JSONSupport, JSONSupportMixinProperties } from "../../core/JSONSupport.js";
|
|
2
|
+
import type { SubcircuitState } from "./typeUtils.js";
|
|
2
3
|
|
|
3
|
-
export interface SubcircuitProperties extends JSONSupportMixinProperties, Partial<Pick<Subcircuit, "attributes" | "consumerId" | "globalId" | "
|
|
4
|
+
export interface SubcircuitProperties extends JSONSupportMixinProperties, Partial<Pick<Subcircuit, "attributes" | "consumerId" | "globalId" | "name" | "providerId" | "state">> {}
|
|
4
5
|
|
|
5
6
|
/**
|
|
6
7
|
* Represents a subcircuit in a telecom domain network.
|
|
@@ -22,15 +23,6 @@ export default class Subcircuit extends JSONSupport {
|
|
|
22
23
|
accessor consumerId: string | null | undefined;
|
|
23
24
|
/** The global ID of the subcircuit. */
|
|
24
25
|
accessor globalId: string | null | undefined;
|
|
25
|
-
/**
|
|
26
|
-
* Whether the subcircuit is reserved for use by its own circuit.
|
|
27
|
-
*
|
|
28
|
-
* When a subcircuit is reserved, it is assigned to its provider circuit and is not available for consumption by other circuits.
|
|
29
|
-
* A subcircuit is reserved when provider ID and consumer ID are the same.
|
|
30
|
-
*
|
|
31
|
-
* @default false
|
|
32
|
-
*/
|
|
33
|
-
accessor isReserved: boolean;
|
|
34
26
|
/**
|
|
35
27
|
* The name of the subcircuit.
|
|
36
28
|
* This name is unique within a circuit.
|
|
@@ -38,6 +30,16 @@ export default class Subcircuit extends JSONSupport {
|
|
|
38
30
|
accessor name: string;
|
|
39
31
|
/** The global ID of the provider circuit in which the subcircuit participates. */
|
|
40
32
|
accessor providerId: string | null | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* The state of the subcircuit. A subcircuit can be in one of three states:
|
|
35
|
+
*
|
|
36
|
+
* 1. Consumed: The subcircuit is used in the definition of another circuit.
|
|
37
|
+
* 2. Reserved: The subcircuit is assigned to its provider circuit and is not available for consumption by other circuits.
|
|
38
|
+
* 3. Available: The subcircuit is not used in the definition of another circuit (consumed) or assigned to the provider (reserved).
|
|
39
|
+
*
|
|
40
|
+
* @default "available"
|
|
41
|
+
*/
|
|
42
|
+
accessor state: SubcircuitState;
|
|
41
43
|
/**
|
|
42
44
|
* Returns the value of the specified attribute.
|
|
43
45
|
*
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{__decorate as t}from"tslib";import{JSONSupport as r}from"../../core/JSONSupport.js";import{property as e,subclass as o}from"../../core/accessorSupport/decorators.js";let i=class extends r{constructor(t){super(t),this.name=null,this.globalId=null,this.providerId=null,this.consumerId=null,this.
|
|
5
|
+
import{__decorate as t}from"tslib";import{JSONSupport as r}from"../../core/JSONSupport.js";import{property as e,subclass as o}from"../../core/accessorSupport/decorators.js";import{subcircuitStateKebabDict as s}from"./typeUtils.js";let i=class extends r{constructor(t){super(t),this.name=null,this.globalId=null,this.providerId=null,this.consumerId=null,this.state="available",this.attributes=null}getAttribute(t){return this.attributes?.[t]}setAttribute(t,r){this.attributes?this.attributes[t]=r:this.attributes={[t]:r}}};t([e({type:String,json:{write:!0}})],i.prototype,"name",void 0),t([e({type:String,json:{write:!0}})],i.prototype,"globalId",void 0),t([e({type:String})],i.prototype,"providerId",void 0),t([e({type:String})],i.prototype,"consumerId",void 0),t([e({type:s.apiValues,json:{type:s.jsonValues,read:{reader:s.read,source:"state"},write:{writer:s.write,target:"state"}}})],i.prototype,"state",void 0),t([e({json:{write:{allowNull:!0,writer:(t,r)=>r.attributes=t??{}}}})],i.prototype,"attributes",void 0),i=t([o("esri.networks.support.Subcircuit")],i);const p=i;export{p as default};
|
|
@@ -5,6 +5,8 @@ export type CircuitType = "physical" | "virtual";
|
|
|
5
5
|
|
|
6
6
|
export type CircuitSectionRoleType = "start-and-end" | "start" | "midspan" | "end";
|
|
7
7
|
|
|
8
|
+
export type SubcircuitState = "available" | "consumed" | "reserved";
|
|
9
|
+
|
|
8
10
|
export type TraceLocationType = "starting-point" | "barrier" | "stopping-point";
|
|
9
11
|
|
|
10
12
|
export type TraceType = "connected" | "upstream" | "downstream" | "shortest-path" | "subnetwork" | "subnetwork-controller" | "loops" | "isolation" | "path" | "circuit";
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{JSONMap as n}from"../../core/jsonMap.js";const t=new n({Clean:"clean",Dirty:"dirty"}),
|
|
5
|
+
import{JSONMap as n}from"../../core/jsonMap.js";const t=new n({Clean:"clean",Dirty:"dirty"}),e=new n({Physical:"physical",Virtual:"virtual"}),i=new n({"Start and end":"start-and-end",Start:"start",Midspan:"midspan",End:"end"}),o=new n({Available:"available",Consumed:"consumed",Reserved:"reserved"}),c=new n({startingPoint:"starting-point",barrier:"barrier",stoppingPoint:"stopping-point"}),r=new n({connected:"connected",upstream:"upstream",downstream:"downstream",shortestPath:"shortest-path",subnetwork:"subnetwork",subnetworkController:"subnetwork-controller",loops:"loops",isolation:"isolation",path:"path",circuit:"circuit"}),a="{00000000-0000-0000-0000-000000000000}",s=new n({junctionJunctionConnectivity:"junction-junction-connectivity",connectivity:"connectivity",attachment:"attachment",containment:"containment",junctionEdgeFromConnectivity:"junction-edge-from-connectivity",junctionEdgeMidspanConnectivity:"junction-edge-midspan-connectivity",junctionEdgeToConnectivity:"junction-edge-to-connectivity"}),d={connectivity:1,"junction-junction-connectivity":1,containment:2,attachment:3,"junction-edge-from-connectivity":4,"junction-edge-midspan-connectivity":5,"junction-edge-to-connectivity":6},u=new n({normal:"normal",rebuild:"rebuild",forceRebuild:"force-rebuild"});export{d as AssociationTypeEnum,i as CircuitSectionRoleKebabDict,t as CircuitStatusKebabDict,e as CircuitTypeKebabDict,s as associationTypeKebabDict,a as nullGuid,o as subcircuitStateKebabDict,c as traceLocationTypeKebabDict,r as traceTypeKebabDict,u as validationTypeKebabDict};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/core",
|
|
3
|
-
"version": "5.0.0-next.
|
|
3
|
+
"version": "5.0.0-next.70",
|
|
4
4
|
"homepage": "https://js.arcgis.com",
|
|
5
5
|
"description": "ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API",
|
|
6
6
|
"keywords": [
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"license": "SEE LICENSE IN copyright.txt",
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@amcharts/amcharts5": "~5.14.4",
|
|
22
|
-
"@arcgis/toolkit": "^5.0.0-next.
|
|
22
|
+
"@arcgis/toolkit": "^5.0.0-next.94",
|
|
23
23
|
"@esri/arcgis-html-sanitizer": "~4.1.0",
|
|
24
24
|
"@esri/calcite-components": "^5.0.0-next.28",
|
|
25
25
|
"@vaadin/grid": "~24.9.6",
|
|
@@ -14,7 +14,7 @@ import type { DateBinParametersProperties } from "./DateBinParameters.js";
|
|
|
14
14
|
import type { AutoIntervalBinParametersProperties } from "./AutoIntervalBinParameters.js";
|
|
15
15
|
import type { StatisticDefinitionProperties } from "./StatisticDefinition.js";
|
|
16
16
|
|
|
17
|
-
export interface AttributeBinsQueryProperties extends JSONSupportMixinProperties, ClonableMixinProperties, QueryMixinProperties, Partial<Pick<AttributeBinsQuery, "binOrder" | "datumTransformation" | "lowerBoundaryAlias" | "outTimeZone" | "upperBoundaryAlias">> {
|
|
17
|
+
export interface AttributeBinsQueryProperties extends JSONSupportMixinProperties, ClonableMixinProperties, QueryMixinProperties, Partial<Pick<AttributeBinsQuery, "binOrder" | "datumTransformation" | "lowerBoundaryAlias" | "outTimeZone" | "returnDistinctValues" | "upperBoundaryAlias">> {
|
|
18
18
|
/**
|
|
19
19
|
* Bin parameters describe the characteristics of the bins, including their size and starting value. Each bin's size can either be specified by a parameter
|
|
20
20
|
* or calculated dynamically. Additionally, bins can be based on either date or numeric values.
|
|
@@ -143,6 +143,12 @@ export default class AttributeBinsQuery extends AttributeBinsQuerySuperclass {
|
|
|
143
143
|
* });
|
|
144
144
|
*/
|
|
145
145
|
accessor outTimeZone: IANATimeZone | null | undefined;
|
|
146
|
+
/**
|
|
147
|
+
* If `true`, all aggregations apply on distinct values.
|
|
148
|
+
*
|
|
149
|
+
* @default false
|
|
150
|
+
*/
|
|
151
|
+
accessor returnDistinctValues: boolean | null | undefined;
|
|
146
152
|
/** Sets the name of the upper boundary property in the response. By default, the upper boundary is name `upperBoundary` and indicates the value at the edge of each bin. */
|
|
147
153
|
accessor upperBoundaryAlias: string | null | undefined;
|
|
148
154
|
}
|
|
@@ -1,6 +1,24 @@
|
|
|
1
1
|
|
|
2
2
|
export interface NormalizationBinParametersMixinProperties extends Partial<Pick<NormalizationBinParametersMixin, "normalizationField" | "normalizationMaxValue" | "normalizationMinValue" | "normalizationTotal" | "normalizationType">> {}
|
|
3
3
|
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* Normalization type used to normalize data during binning. Some analytical methods require that data be normally distributed.
|
|
7
|
+
* When the data is skewed (the distribution is lopsided) you can transform the data to make it normal.
|
|
8
|
+
*
|
|
9
|
+
* The following normalization types are supported:
|
|
10
|
+
*
|
|
11
|
+
* | Value | Description |
|
|
12
|
+
* |------------------|-----------------------------------------------------------------------------|
|
|
13
|
+
* | natural-log | Natural logarithmic transformation can be used when the data has a positively skewed distribution and there are a few large values. If these large values are located in the dataset, the log transformation will help make the variances more constant and normalize the data. |
|
|
14
|
+
* | log | The logarithmic transformation (base 10) is similar to the natural logarithmic transformation. It is used to reduce skewness, particularly in datasets with large values. |
|
|
15
|
+
* | square-root | Square root transformation is similar to a logarithmic transformation in that it reduces right skewness of a dataset. Unlike logarithmic transformations, square root transformations can be applied to zero. |
|
|
16
|
+
* | percent-of-total | Percent of total takes each data value, divides it by the [normalizationTotal](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-NormalizationBinParametersMixin.html#normalizationTotal) of all values, and then multiplies by 100 to turn it into a percentage. If you don’t provide a `normalizationTotal`, it will be calculated automatically. |
|
|
17
|
+
* | field | Divides the data value by the value from the specified field. You must provide the [normalizationField](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-NormalizationBinParametersMixin.html#normalizationField), and values of 0 are filtered out. |
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
* @see [normalizationType](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-NormalizationBinParametersMixin.html#normalizationType)
|
|
21
|
+
*/
|
|
4
22
|
export type NormalizationType = "natural-log" | "square-root" | "percent-of-total" | "log" | "field";
|
|
5
23
|
|
|
6
24
|
/**
|
|
@@ -41,18 +59,20 @@ export abstract class NormalizationBinParametersMixin {
|
|
|
41
59
|
*/
|
|
42
60
|
accessor normalizationTotal: number | null | undefined;
|
|
43
61
|
/**
|
|
62
|
+
*
|
|
44
63
|
* Normalization type used to normalize data during binning. Some analytical methods require that data be normally distributed.
|
|
45
|
-
*
|
|
64
|
+
* When the data is skewed (the distribution is lopsided) you can transform the data to make it normal.
|
|
46
65
|
*
|
|
47
|
-
*
|
|
66
|
+
* The following normalization types are supported:
|
|
48
67
|
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
68
|
+
* | Value | Description |
|
|
69
|
+
* |------------------|-----------------------------------------------------------------------------|
|
|
70
|
+
* | natural-log | Natural logarithmic transformation can be used when the data has a positively skewed distribution and there are a few large values. If these large values are located in the dataset, the log transformation will help make the variances more constant and normalize the data. |
|
|
71
|
+
* | log | The logarithmic transformation (base 10) is similar to the natural logarithmic transformation. It is used to reduce skewness, particularly in datasets with large values. |
|
|
72
|
+
* | square-root | Square root transformation is similar to a logarithmic transformation in that it reduces right skewness of a dataset. Unlike logarithmic transformations, square root transformations can be applied to zero. |
|
|
73
|
+
* | percent-of-total | Percent of total takes each data value, divides it by the [normalizationTotal](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-NormalizationBinParametersMixin.html#normalizationTotal) of all values, and then multiplies by 100 to turn it into a percentage. If you don’t provide a `normalizationTotal`, it will be calculated automatically. |
|
|
74
|
+
* | field | Divides the data value by the value from the specified field. You must provide the [normalizationField](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-NormalizationBinParametersMixin.html#normalizationField), and values of 0 are filtered out. |
|
|
75
|
+
*
|
|
56
76
|
*/
|
|
57
77
|
accessor normalizationType: NormalizationType | null | undefined;
|
|
58
78
|
}
|
package/support/revision.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
const e="
|
|
5
|
+
const e="20251219",f="c2836e950f29469eb0a40e2cef0ff04a6231d18f";export{e as buildDate,f as commitHash};
|
|
@@ -3,10 +3,10 @@ import type { JSONSupport, JSONSupportMixinProperties } from "../../core/JSONSup
|
|
|
3
3
|
export interface LinePattern3DProperties extends JSONSupportMixinProperties {}
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
* LinePattern3D is the base class for patterns on
|
|
7
|
-
* outlines on
|
|
6
|
+
* LinePattern3D is the base class for patterns on [LineSymbol3DLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-LineSymbol3DLayer.html) and
|
|
7
|
+
* outlines on [FillSymbol3DLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-FillSymbol3DLayer.html).
|
|
8
8
|
*
|
|
9
|
-
* Currently only patterns of type `style` are supported. For more information see
|
|
9
|
+
* Currently only patterns of type `style` are supported. For more information see [LineStylePattern3D](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-patterns-LineStylePattern3D.html).
|
|
10
10
|
*
|
|
11
11
|
* @since 4.22
|
|
12
12
|
*/
|
|
@@ -3,11 +3,11 @@ import type { JSONSupport, JSONSupportMixinProperties } from "../../core/JSONSup
|
|
|
3
3
|
export interface Pattern3DProperties extends JSONSupportMixinProperties {}
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
* Pattern3D is the base class for pattern fills on
|
|
6
|
+
* Pattern3D is the base class for pattern fills on [FillSymbol3DLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-FillSymbol3DLayer.html).
|
|
7
7
|
*
|
|
8
|
-
* Patterns can only be set when the fill is used on a
|
|
8
|
+
* Patterns can only be set when the fill is used on a [PolygonSymbol3D](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-PolygonSymbol3D.html).
|
|
9
9
|
*
|
|
10
|
-
* Currently only patterns of type `style` are supported. For more information see
|
|
10
|
+
* Currently only patterns of type `style` are supported. For more information see [StylePattern3D](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-patterns-StylePattern3D.html).
|
|
11
11
|
*
|
|
12
12
|
* @since 4.17
|
|
13
13
|
*/
|