@arcgis/core 4.34.0-next.116 → 4.34.0-next.118
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/ElevationProfile/ElevationProfileLineInput.js +1 -1
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/{ecd6f163c1bb039d9736.js → 0c23d180de581ad47290.js} +1 -1
- package/assets/esri/core/workers/chunks/{f7c99e9c8d19352af38d.js → 1847e8ac559085949f6d.js} +1 -1
- package/assets/esri/core/workers/chunks/{9c571ff94911f7c4459a.js → 21f1e12d4e703b59c31c.js} +1 -1
- package/assets/esri/core/workers/chunks/{7748356f4d848254fc66.js → 292403693cba4562a02d.js} +1 -1
- package/assets/esri/core/workers/chunks/2dce02d199a9625abbd9.js +1 -0
- package/assets/esri/core/workers/chunks/{8f3503b2fb6cd38757b9.js → 458e87902abc24b375da.js} +1 -1
- package/assets/esri/core/workers/chunks/{ef5657a2b6f88b16dbe9.js → 618ccc5d922f40fb6597.js} +1 -1
- package/assets/esri/core/workers/chunks/6d5f36fdd6ff081f30e8.js +1 -0
- package/assets/esri/core/workers/chunks/98739414c107ad78e4d8.js +1 -0
- package/assets/esri/core/workers/chunks/{061ffb84aeb5bacebbc8.js → 98ccd88bdb9cb96a7610.js} +1 -1
- package/assets/esri/core/workers/chunks/b113d4f6a014863aaf66.js +1 -0
- package/assets/esri/core/workers/chunks/f18fdfcb3d5d7851e6fc.js +1 -0
- package/assets/esri/core/workers/chunks/f619ab4a3ff3036641a9.js +1 -0
- package/assets/esri/themes/base/widgets/_Editor.scss +2 -1
- package/assets/esri/themes/base/widgets/_FeatureForm.scss +1 -1
- 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/GlowComposition.glsl.js +46 -46
- package/chunks/ShadedColorMaterial.glsl.js +10 -10
- package/config.js +1 -1
- package/editing/templateUtils.js +1 -1
- package/interfaces.d.ts +161 -46
- package/kernel.js +1 -1
- package/layers/PointCloudLayer.js +1 -1
- package/layers/SceneLayer.js +1 -1
- package/layers/VideoLayer.js +1 -1
- package/layers/mixins/SceneService.js +1 -1
- package/layers/support/fieldConfigUtils.js +1 -1
- package/layers/support/fieldFormatUtils.js +1 -1
- package/libs/parquet/parquet.js +1 -1
- package/package.json +1 -1
- package/renderers/support/RasterSymbolizer.js +1 -1
- package/support/revision.js +1 -1
- package/symbols/cim/CIMSymbolDrawHelper.js +1 -1
- package/symbols/cim/cimAnalyzer.js +1 -1
- package/undoredo/support/ServiceVersionInfo.js +1 -1
- package/undoredo/support/Services.js +1 -1
- package/views/2d/analysis/ElevationProfile/ElevationProfileLineVisualization2D.js +1 -1
- package/views/2d/engine/flow/dataUtils.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedLineShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/LineShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/stretch.js +1 -1
- package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillComputation.js +1 -1
- package/views/3d/layers/FlowSubView3D.js +1 -1
- package/views/3d/layers/ImageryTileLayerView3D.js +1 -1
- package/views/3d/layers/PointCloudLayerView3D.js +1 -1
- package/views/3d/layers/TiledLayerView3D.js +1 -1
- package/views/3d/support/flow/FlowSubViewTiles3D.js +1 -1
- package/views/3d/support/flow/FlowWorker.js +1 -1
- package/views/3d/support/flow/FlowWorkerHandle.js +1 -1
- package/views/3d/support/flow/constants.js +1 -1
- package/views/3d/support/flow/loadUtils.js +1 -1
- package/views/3d/support/popupHitTest.js +1 -1
- package/views/3d/terrain/TerrainSurface.js +1 -1
- package/views/3d/terrain/TileAgent.js +1 -1
- package/views/3d/webgl-engine/effects/glow/GlowRenderNode.js +1 -1
- package/views/3d/webgl-engine/materials/CheckerBoardMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/LineMarkerMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/ShadedColorMaterial.js +1 -1
- package/views/SceneView.js +1 -1
- package/widgets/Editor/CreateFeaturesWorkflow.js +1 -1
- package/widgets/Editor/SplitFeatureWorkflow.js +1 -1
- package/widgets/Editor/UpdateFeatureWorkflow.js +1 -1
- package/widgets/Editor/UpdateWorkflow.js +1 -1
- package/widgets/Editor/VisibleElements.js +1 -1
- package/widgets/Editor/Workflow.js +1 -1
- package/widgets/Editor/components/CreateFeaturesPanelContent.js +1 -1
- package/widgets/Editor/components/PendingFeatureList.js +1 -1
- package/widgets/Editor/components/UpdateFeaturePanelContent.js +1 -1
- package/widgets/Editor/workflowUtils.js +1 -1
- package/widgets/Editor.js +1 -1
- package/widgets/Feature/support/featureUtils.js +1 -1
- package/widgets/FeatureForm/FeatureFormUtilityNetworkAssociations/FeatureFormUtilityNetworkAssociationList.js +1 -1
- package/widgets/FeatureForm/FeatureFormUtilityNetworkAssociations/UtilityNetworkAssociationSettings.js +1 -1
- package/widgets/FeatureTable/FieldColumn.js +1 -1
- package/widgets/FeatureTable/Grid/Column.js +1 -1
- package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
- package/widgets/OrientedImageryViewer/adapters/sketch/MeasurementAdapter.js +1 -1
- package/widgets/OrientedImageryViewer/adapters/sketch/TriangulatedMeasurementAdapter.js +1 -1
- package/widgets/OrientedImageryViewer/imageMeasurementUtils.js +1 -1
- package/widgets/OrientedImageryViewer/services/ImageMeasurementService.js +1 -1
- package/widgets/OrientedImageryViewer.js +1 -1
- package/widgets/UtilityNetworkTrace/UtilityNetworkTraceViewModel.js +1 -1
- package/widgets/support/SelectionList/VisibleElements.js +1 -1
- package/widgets/support/SelectionList.js +1 -1
- package/widgets/support/UtilityNetworkAssociations/FeatureUtilityNetworkAssociationsViewModel.js +1 -1
- package/assets/esri/core/workers/chunks/08eb477a375ef882eb2d.js +0 -1
- package/assets/esri/core/workers/chunks/38ee69125da60464d5a1.js +0 -1
- package/assets/esri/core/workers/chunks/4640f9add1cc9af14468.js +0 -1
- package/assets/esri/core/workers/chunks/4a73622445536b8c55f1.js +0 -1
- package/assets/esri/core/workers/chunks/deb2854bb7d082a26f52.js +0 -1
- package/assets/esri/core/workers/chunks/e7b96da2a615086d91a7.js +0 -1
package/interfaces.d.ts
CHANGED
|
@@ -823,7 +823,7 @@ declare namespace __esri {
|
|
|
823
823
|
*/
|
|
824
824
|
lineVisible: boolean;
|
|
825
825
|
/**
|
|
826
|
-
* Provides configuration options for visualizing
|
|
826
|
+
* Provides configuration options, such as its visibility, for visualizing a specific elevation profile line within a chart.
|
|
827
827
|
*
|
|
828
828
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ElevationProfile-ElevationProfileLineChartOptions.html Read more...}
|
|
829
829
|
*/
|
|
@@ -996,7 +996,7 @@ declare namespace __esri {
|
|
|
996
996
|
*/
|
|
997
997
|
lineVisible: boolean;
|
|
998
998
|
/**
|
|
999
|
-
* Provides configuration options for visualizing
|
|
999
|
+
* Provides configuration options, such as its visibility, for visualizing a specific elevation profile line within a view.
|
|
1000
1000
|
*
|
|
1001
1001
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ElevationProfile-ElevationProfileLineViewOptions.html Read more...}
|
|
1002
1002
|
*/
|
|
@@ -1037,7 +1037,8 @@ declare namespace __esri {
|
|
|
1037
1037
|
*/
|
|
1038
1038
|
geometryVisualizationVisible: boolean;
|
|
1039
1039
|
/**
|
|
1040
|
-
* Provides configuration options for visualizing an elevation profile within a view
|
|
1040
|
+
* Provides general configuration options for visualizing an elevation profile within a view,
|
|
1041
|
+
* independent of the profile line type.
|
|
1041
1042
|
*
|
|
1042
1043
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ElevationProfile-ElevationProfileViewOptions.html Read more...}
|
|
1043
1044
|
*/
|
|
@@ -1087,7 +1088,7 @@ declare namespace __esri {
|
|
|
1087
1088
|
get displayUnits(): ElevationProfileDisplayUnits;
|
|
1088
1089
|
set displayUnits(value: ElevationProfileDisplayUnitsProperties);
|
|
1089
1090
|
/**
|
|
1090
|
-
* Specifies how the geometry Z values are interpreted, for example to compute elevations for an
|
|
1091
|
+
* Specifies how the {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ElevationProfileAnalysis.html#geometry geometry's} Z values are interpreted, for example to compute elevations for an
|
|
1091
1092
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ElevationProfile-ElevationProfileLineInput.html input} profile line.
|
|
1092
1093
|
*
|
|
1093
1094
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ElevationProfileAnalysis.html#elevationInfo Read more...}
|
|
@@ -1132,7 +1133,7 @@ declare namespace __esri {
|
|
|
1132
1133
|
*/
|
|
1133
1134
|
displayUnits?: ElevationProfileDisplayUnitsProperties;
|
|
1134
1135
|
/**
|
|
1135
|
-
* Specifies how the geometry Z values are interpreted, for example to compute elevations for an
|
|
1136
|
+
* Specifies how the {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ElevationProfileAnalysis.html#geometry geometry's} Z values are interpreted, for example to compute elevations for an
|
|
1136
1137
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ElevationProfile-ElevationProfileLineInput.html input} profile line.
|
|
1137
1138
|
*
|
|
1138
1139
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ElevationProfileAnalysis.html#elevationInfo Read more...}
|
|
@@ -45918,6 +45919,13 @@ declare namespace __esri {
|
|
|
45918
45919
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VideoLayer.html#buffered Read more...}
|
|
45919
45920
|
*/
|
|
45920
45921
|
readonly buffered: number;
|
|
45922
|
+
/**
|
|
45923
|
+
* Represents available information about the sensor that captured the
|
|
45924
|
+
* stream data.
|
|
45925
|
+
*
|
|
45926
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VideoLayer.html#cameraInfo Read more...}
|
|
45927
|
+
*/
|
|
45928
|
+
readonly cameraInfo: VideoLayerCameraInfo | nullish;
|
|
45921
45929
|
/**
|
|
45922
45930
|
* The capabilities of the video layer.
|
|
45923
45931
|
*
|
|
@@ -45930,6 +45938,12 @@ declare namespace __esri {
|
|
|
45930
45938
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VideoLayer.html#codecs Read more...}
|
|
45931
45939
|
*/
|
|
45932
45940
|
readonly codecs: Codecs | nullish;
|
|
45941
|
+
/**
|
|
45942
|
+
* The connection information for the video layer.
|
|
45943
|
+
*
|
|
45944
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VideoLayer.html#connectionInfo Read more...}
|
|
45945
|
+
*/
|
|
45946
|
+
readonly connectionInfo: any | nullish;
|
|
45933
45947
|
/**
|
|
45934
45948
|
* The copyright information for the video layer.
|
|
45935
45949
|
*
|
|
@@ -46026,6 +46040,12 @@ declare namespace __esri {
|
|
|
46026
46040
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VideoLayer.html#layerId Read more...}
|
|
46027
46041
|
*/
|
|
46028
46042
|
readonly layerId: number | nullish;
|
|
46043
|
+
/**
|
|
46044
|
+
* Provides status details about an ongoing livestream playback.
|
|
46045
|
+
*
|
|
46046
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VideoLayer.html#livestreamStatus Read more...}
|
|
46047
|
+
*/
|
|
46048
|
+
readonly livestreamStatus: LivestreamStatus | nullish;
|
|
46029
46049
|
/**
|
|
46030
46050
|
* Indicates if the video layer should loop.
|
|
46031
46051
|
*
|
|
@@ -46078,6 +46098,12 @@ declare namespace __esri {
|
|
|
46078
46098
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VideoLayer.html#playbackRate Read more...}
|
|
46079
46099
|
*/
|
|
46080
46100
|
playbackRate: number;
|
|
46101
|
+
/**
|
|
46102
|
+
* The URL for use with the video player.
|
|
46103
|
+
*
|
|
46104
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VideoLayer.html#playerUrl Read more...}
|
|
46105
|
+
*/
|
|
46106
|
+
readonly playerUrl: string | nullish;
|
|
46081
46107
|
/**
|
|
46082
46108
|
* Indicates if the video layer is playing.
|
|
46083
46109
|
*
|
|
@@ -46096,6 +46122,15 @@ declare namespace __esri {
|
|
|
46096
46122
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VideoLayer.html#qualities Read more...}
|
|
46097
46123
|
*/
|
|
46098
46124
|
readonly qualities: ("sd" | "hd" | "fhd" | "qhd" | "uhd")[] | nullish;
|
|
46125
|
+
/**
|
|
46126
|
+
* Property is used to define orientation information to compute the
|
|
46127
|
+
* display angle of the sensor location symbol.
|
|
46128
|
+
*
|
|
46129
|
+
* @default { source: "platformHeading", symbolOffset: 0 }
|
|
46130
|
+
*
|
|
46131
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VideoLayer.html#sensorSymbolOrientation Read more...}
|
|
46132
|
+
*/
|
|
46133
|
+
sensorSymbolOrientation: SensorSymbolOrientation;
|
|
46099
46134
|
/**
|
|
46100
46135
|
* The ArcGIS Enterprise Portal item id of the video service.
|
|
46101
46136
|
*
|
|
@@ -46429,6 +46464,13 @@ declare namespace __esri {
|
|
|
46429
46464
|
sensorSymbol?: | (SimpleMarkerSymbolProperties & { type: "simple-marker" })
|
|
46430
46465
|
| (PictureMarkerSymbolProperties & { type: "picture-marker" })
|
|
46431
46466
|
| (CIMSymbolProperties & { type: "cim" });
|
|
46467
|
+
/**
|
|
46468
|
+
* Property is used to define orientation information to compute the
|
|
46469
|
+
* display angle of the sensor location symbol.
|
|
46470
|
+
*
|
|
46471
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VideoLayer.html#sensorSymbolOrientation Read more...}
|
|
46472
|
+
*/
|
|
46473
|
+
sensorSymbolOrientation?: SensorSymbolOrientation;
|
|
46432
46474
|
/**
|
|
46433
46475
|
* A {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleLineSymbol.html SimpleLineSymbol} used for representing the trailing line of travel of a moving video collection sensor.
|
|
46434
46476
|
*
|
|
@@ -46468,6 +46510,21 @@ declare namespace __esri {
|
|
|
46468
46510
|
volume?: number;
|
|
46469
46511
|
}
|
|
46470
46512
|
|
|
46513
|
+
/**
|
|
46514
|
+
* The **CameraInfo** is an object that represents the camera information of the video layer.
|
|
46515
|
+
*
|
|
46516
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VideoLayer.html#CameraInfo Read more...}
|
|
46517
|
+
*/
|
|
46518
|
+
export interface VideoLayerCameraInfo {
|
|
46519
|
+
farDistance: number;
|
|
46520
|
+
fov: number;
|
|
46521
|
+
heading: number;
|
|
46522
|
+
height: number;
|
|
46523
|
+
nearDistance: number;
|
|
46524
|
+
position: CameraInfoPosition;
|
|
46525
|
+
tilt: number;
|
|
46526
|
+
}
|
|
46527
|
+
|
|
46471
46528
|
/**
|
|
46472
46529
|
* The **Codecs** is an object that represents the codecs used by the video layer.
|
|
46473
46530
|
*
|
|
@@ -46479,6 +46536,31 @@ declare namespace __esri {
|
|
|
46479
46536
|
video: string;
|
|
46480
46537
|
}
|
|
46481
46538
|
|
|
46539
|
+
/**
|
|
46540
|
+
* The **LivestreamStatus** is an object that represents the livestream status of a video layer.
|
|
46541
|
+
*
|
|
46542
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VideoLayer.html#LivestreamStatus Read more...}
|
|
46543
|
+
*/
|
|
46544
|
+
export interface LivestreamStatus {
|
|
46545
|
+
atLiveEdge: boolean | nullish;
|
|
46546
|
+
behindLiveEdge: boolean | nullish;
|
|
46547
|
+
liveCurrentTime: number | nullish;
|
|
46548
|
+
liveWindow: number | nullish;
|
|
46549
|
+
pastSeekEnd: number | nullish;
|
|
46550
|
+
seekableEnd: number | nullish;
|
|
46551
|
+
seekableStart: number | nullish;
|
|
46552
|
+
}
|
|
46553
|
+
|
|
46554
|
+
/**
|
|
46555
|
+
* The **SensorSymbolOrientation** type defines the orientation source and symbol offset for the sensor symbol.
|
|
46556
|
+
*
|
|
46557
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VideoLayer.html#SensorSymbolOrientation Read more...}
|
|
46558
|
+
*/
|
|
46559
|
+
export interface SensorSymbolOrientation {
|
|
46560
|
+
source: "platformHeading" | "cameraAzimuth";
|
|
46561
|
+
symbolOffset: number;
|
|
46562
|
+
}
|
|
46563
|
+
|
|
46482
46564
|
export interface VideoLayerCapabilities {
|
|
46483
46565
|
operations: VideoLayerCapabilitiesOperations;
|
|
46484
46566
|
}
|
|
@@ -46535,6 +46617,14 @@ declare namespace __esri {
|
|
|
46535
46617
|
type: "Video Layer";
|
|
46536
46618
|
}
|
|
46537
46619
|
|
|
46620
|
+
export interface CameraInfoPosition {
|
|
46621
|
+
x: number;
|
|
46622
|
+
y: number;
|
|
46623
|
+
z?: number;
|
|
46624
|
+
m?: number;
|
|
46625
|
+
spatialReference?: SpatialReference | any;
|
|
46626
|
+
}
|
|
46627
|
+
|
|
46538
46628
|
export interface ViewshedLayer extends Layer, OperationalLayer {
|
|
46539
46629
|
}
|
|
46540
46630
|
|
|
@@ -96843,7 +96933,7 @@ declare namespace __esri {
|
|
|
96843
96933
|
*/
|
|
96844
96934
|
readonly analysis: ElevationProfileAnalysis;
|
|
96845
96935
|
/**
|
|
96846
|
-
* Units used for all the results and statistics of the elevation profile analysis.
|
|
96936
|
+
* Units used for all the {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-2d-analysis-ElevationProfileAnalysisView2D.html#results results} and {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-2d-analysis-ElevationProfileAnalysisView2D.html#statistics statistics} of the elevation profile analysis.
|
|
96847
96937
|
*
|
|
96848
96938
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-2d-analysis-ElevationProfileAnalysisView2D.html#effectiveDisplayUnits Read more...}
|
|
96849
96939
|
*/
|
|
@@ -96855,13 +96945,13 @@ declare namespace __esri {
|
|
|
96855
96945
|
*/
|
|
96856
96946
|
readonly error: ElevationProfileError | nullish;
|
|
96857
96947
|
/**
|
|
96858
|
-
* Points being hovered in the chart, in the view's spatial reference, computed from the
|
|
96948
|
+
* Points being hovered in the chart, in the view's spatial reference, computed from the {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-2d-analysis-ElevationProfileAnalysisView2D.html#hoveredPosition hoveredPosition} property.
|
|
96859
96949
|
*
|
|
96860
96950
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-2d-analysis-ElevationProfileAnalysisView2D.html#hoveredPoints Read more...}
|
|
96861
96951
|
*/
|
|
96862
96952
|
readonly hoveredPoints: (Point | nullish)[];
|
|
96863
96953
|
/**
|
|
96864
|
-
*
|
|
96954
|
+
* Property to track the position, in [0, 1], that is being hovered in the elevation profile chart.
|
|
96865
96955
|
*
|
|
96866
96956
|
* @default null
|
|
96867
96957
|
*
|
|
@@ -96883,7 +96973,7 @@ declare namespace __esri {
|
|
|
96883
96973
|
*/
|
|
96884
96974
|
readonly progress: number;
|
|
96885
96975
|
/**
|
|
96886
|
-
*
|
|
96976
|
+
* Results of the elevation profile analysis.
|
|
96887
96977
|
*
|
|
96888
96978
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-2d-analysis-ElevationProfileAnalysisView2D.html#results Read more...}
|
|
96889
96979
|
*/
|
|
@@ -96922,7 +97012,7 @@ declare namespace __esri {
|
|
|
96922
97012
|
*/
|
|
96923
97013
|
pickFeature(options?: ElevationProfileAnalysisView2DPickFeatureOptions | nullish): Promise<ElevationProfilePickResult>;
|
|
96924
97014
|
/**
|
|
96925
|
-
* Starts the interactive placement of a new input
|
|
97015
|
+
* Starts the interactive placement of a new input line for the elevation profile analysis.
|
|
96926
97016
|
*
|
|
96927
97017
|
* @param options An object specifying additional options.
|
|
96928
97018
|
*
|
|
@@ -97622,7 +97712,7 @@ declare namespace __esri {
|
|
|
97622
97712
|
*/
|
|
97623
97713
|
readonly analysis: ElevationProfileAnalysis;
|
|
97624
97714
|
/**
|
|
97625
|
-
* Units used for all the results and statistics of the elevation profile analysis.
|
|
97715
|
+
* Units used for all the {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-analysis-ElevationProfileAnalysisView3D.html#results results} and {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-analysis-ElevationProfileAnalysisView3D.html#statistics statistics} of the elevation profile analysis.
|
|
97626
97716
|
*
|
|
97627
97717
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-analysis-ElevationProfileAnalysisView3D.html#effectiveDisplayUnits Read more...}
|
|
97628
97718
|
*/
|
|
@@ -97634,13 +97724,13 @@ declare namespace __esri {
|
|
|
97634
97724
|
*/
|
|
97635
97725
|
readonly error: ElevationProfileError | nullish;
|
|
97636
97726
|
/**
|
|
97637
|
-
* Points being hovered in the chart, in the view's spatial reference, computed from the
|
|
97727
|
+
* Points being hovered in the chart, in the view's spatial reference, computed from the {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-analysis-ElevationProfileAnalysisView3D.html#hoveredPosition hoveredPosition} property.
|
|
97638
97728
|
*
|
|
97639
97729
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-analysis-ElevationProfileAnalysisView3D.html#hoveredPoints Read more...}
|
|
97640
97730
|
*/
|
|
97641
97731
|
readonly hoveredPoints: (Point | nullish)[];
|
|
97642
97732
|
/**
|
|
97643
|
-
*
|
|
97733
|
+
* Property to track the position, in [0, 1], that is being hovered in the elevation profile chart.
|
|
97644
97734
|
*
|
|
97645
97735
|
* @default null
|
|
97646
97736
|
*
|
|
@@ -97662,7 +97752,7 @@ declare namespace __esri {
|
|
|
97662
97752
|
*/
|
|
97663
97753
|
readonly progress: number;
|
|
97664
97754
|
/**
|
|
97665
|
-
*
|
|
97755
|
+
* Results of the elevation profile analysis.
|
|
97666
97756
|
*
|
|
97667
97757
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-analysis-ElevationProfileAnalysisView3D.html#results Read more...}
|
|
97668
97758
|
*/
|
|
@@ -97693,7 +97783,7 @@ declare namespace __esri {
|
|
|
97693
97783
|
visible: boolean;
|
|
97694
97784
|
constructor(properties?: any);
|
|
97695
97785
|
/**
|
|
97696
|
-
* Starts an interactive operation to pick a feature in the view to use as the input for the elevation profile analysis.
|
|
97786
|
+
* Starts an interactive operation to pick a line feature in the view to use as the input for the elevation profile analysis.
|
|
97697
97787
|
*
|
|
97698
97788
|
* @param options An object specifying additional options.
|
|
97699
97789
|
*
|
|
@@ -97701,7 +97791,7 @@ declare namespace __esri {
|
|
|
97701
97791
|
*/
|
|
97702
97792
|
pickFeature(options?: ElevationProfileAnalysisView3DPickFeatureOptions | nullish): Promise<ElevationProfilePickResult>;
|
|
97703
97793
|
/**
|
|
97704
|
-
* Starts the interactive placement of a new input
|
|
97794
|
+
* Starts the interactive placement of a new input line for the elevation profile analysis.
|
|
97705
97795
|
*
|
|
97706
97796
|
* @param options An object specifying additional options.
|
|
97707
97797
|
*
|
|
@@ -98787,7 +98877,7 @@ declare namespace __esri {
|
|
|
98787
98877
|
*/
|
|
98788
98878
|
readonly available: boolean;
|
|
98789
98879
|
/**
|
|
98790
|
-
* The profile line whose elevation is represented by this result.
|
|
98880
|
+
* The {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-ElevationProfileAnalysis.html#profiles profile line} whose elevation is represented by this result.
|
|
98791
98881
|
*
|
|
98792
98882
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-analysis-ElevationProfile-ElevationProfileResult.html#profile Read more...}
|
|
98793
98883
|
*/
|
|
@@ -100385,7 +100475,7 @@ declare namespace __esri {
|
|
|
100385
100475
|
*/
|
|
100386
100476
|
declare readonly dataUpdating: FeatureLayerViewMixin["dataUpdating"];
|
|
100387
100477
|
/**
|
|
100388
|
-
* Indicates whether the layer view contains all available features from the service.
|
|
100478
|
+
* Indicates whether the layer view contains all available features from the service or source.
|
|
100389
100479
|
*
|
|
100390
100480
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-CatalogFootprintLayerView.html#hasAllFeatures Read more...}
|
|
100391
100481
|
*/
|
|
@@ -100398,7 +100488,7 @@ declare namespace __esri {
|
|
|
100398
100488
|
*/
|
|
100399
100489
|
declare readonly hasAllFeaturesInView: FeatureLayerViewMixin["hasAllFeaturesInView"];
|
|
100400
100490
|
/**
|
|
100401
|
-
* Indicates whether the
|
|
100491
|
+
* Indicates whether the LayerView contains geometries at full resolution.
|
|
100402
100492
|
*
|
|
100403
100493
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-CatalogFootprintLayerView.html#hasFullGeometries Read more...}
|
|
100404
100494
|
*/
|
|
@@ -100622,7 +100712,7 @@ declare namespace __esri {
|
|
|
100622
100712
|
*/
|
|
100623
100713
|
declare readonly dataUpdating: FeatureLayerViewMixin["dataUpdating"];
|
|
100624
100714
|
/**
|
|
100625
|
-
* Indicates whether the layer view contains all available features from the service.
|
|
100715
|
+
* Indicates whether the layer view contains all available features from the service or source.
|
|
100626
100716
|
*
|
|
100627
100717
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-CSVLayerView.html#hasAllFeatures Read more...}
|
|
100628
100718
|
*/
|
|
@@ -100635,7 +100725,7 @@ declare namespace __esri {
|
|
|
100635
100725
|
*/
|
|
100636
100726
|
declare readonly hasAllFeaturesInView: FeatureLayerViewMixin["hasAllFeaturesInView"];
|
|
100637
100727
|
/**
|
|
100638
|
-
* Indicates whether the
|
|
100728
|
+
* Indicates whether the LayerView contains geometries at full resolution.
|
|
100639
100729
|
*
|
|
100640
100730
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-CSVLayerView.html#hasFullGeometries Read more...}
|
|
100641
100731
|
*/
|
|
@@ -100904,7 +100994,7 @@ declare namespace __esri {
|
|
|
100904
100994
|
*/
|
|
100905
100995
|
declare readonly dataUpdating: FeatureLayerViewMixin["dataUpdating"];
|
|
100906
100996
|
/**
|
|
100907
|
-
* Indicates whether the layer view contains all available features from the service.
|
|
100997
|
+
* Indicates whether the layer view contains all available features from the service or source.
|
|
100908
100998
|
*
|
|
100909
100999
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html#hasAllFeatures Read more...}
|
|
100910
101000
|
*/
|
|
@@ -100917,7 +101007,7 @@ declare namespace __esri {
|
|
|
100917
101007
|
*/
|
|
100918
101008
|
declare readonly hasAllFeaturesInView: FeatureLayerViewMixin["hasAllFeaturesInView"];
|
|
100919
101009
|
/**
|
|
100920
|
-
* Indicates whether the
|
|
101010
|
+
* Indicates whether the LayerView contains geometries at full resolution.
|
|
100921
101011
|
*
|
|
100922
101012
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html#hasFullGeometries Read more...}
|
|
100923
101013
|
*/
|
|
@@ -101233,7 +101323,7 @@ declare namespace __esri {
|
|
|
101233
101323
|
*/
|
|
101234
101324
|
declare readonly dataUpdating: FeatureLayerViewMixin["dataUpdating"];
|
|
101235
101325
|
/**
|
|
101236
|
-
* Indicates whether the layer view contains all available features from the service.
|
|
101326
|
+
* Indicates whether the layer view contains all available features from the service or source.
|
|
101237
101327
|
*
|
|
101238
101328
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-GeoJSONLayerView.html#hasAllFeatures Read more...}
|
|
101239
101329
|
*/
|
|
@@ -101246,7 +101336,7 @@ declare namespace __esri {
|
|
|
101246
101336
|
*/
|
|
101247
101337
|
declare readonly hasAllFeaturesInView: FeatureLayerViewMixin["hasAllFeaturesInView"];
|
|
101248
101338
|
/**
|
|
101249
|
-
* Indicates whether the
|
|
101339
|
+
* Indicates whether the LayerView contains geometries at full resolution.
|
|
101250
101340
|
*
|
|
101251
101341
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-GeoJSONLayerView.html#hasFullGeometries Read more...}
|
|
101252
101342
|
*/
|
|
@@ -101938,7 +102028,7 @@ declare namespace __esri {
|
|
|
101938
102028
|
*/
|
|
101939
102029
|
declare readonly dataUpdating: FeatureLayerViewMixin["dataUpdating"];
|
|
101940
102030
|
/**
|
|
101941
|
-
* Indicates whether the layer view contains all available features from the service.
|
|
102031
|
+
* Indicates whether the layer view contains all available features from the service or source.
|
|
101942
102032
|
*
|
|
101943
102033
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-OGCFeatureLayerView.html#hasAllFeatures Read more...}
|
|
101944
102034
|
*/
|
|
@@ -101951,7 +102041,7 @@ declare namespace __esri {
|
|
|
101951
102041
|
*/
|
|
101952
102042
|
declare readonly hasAllFeaturesInView: FeatureLayerViewMixin["hasAllFeaturesInView"];
|
|
101953
102043
|
/**
|
|
101954
|
-
* Indicates whether the
|
|
102044
|
+
* Indicates whether the LayerView contains geometries at full resolution.
|
|
101955
102045
|
*
|
|
101956
102046
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-OGCFeatureLayerView.html#hasFullGeometries Read more...}
|
|
101957
102047
|
*/
|
|
@@ -102143,7 +102233,7 @@ declare namespace __esri {
|
|
|
102143
102233
|
*/
|
|
102144
102234
|
declare readonly dataUpdating: FeatureLayerViewMixin["dataUpdating"];
|
|
102145
102235
|
/**
|
|
102146
|
-
* Indicates whether the layer view contains all available features from the service.
|
|
102236
|
+
* Indicates whether the layer view contains all available features from the service or source.
|
|
102147
102237
|
*
|
|
102148
102238
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-ParquetLayerView.html#hasAllFeatures Read more...}
|
|
102149
102239
|
*/
|
|
@@ -102156,7 +102246,7 @@ declare namespace __esri {
|
|
|
102156
102246
|
*/
|
|
102157
102247
|
declare readonly hasAllFeaturesInView: FeatureLayerViewMixin["hasAllFeaturesInView"];
|
|
102158
102248
|
/**
|
|
102159
|
-
* Indicates whether the
|
|
102249
|
+
* Indicates whether the LayerView contains geometries at full resolution.
|
|
102160
102250
|
*
|
|
102161
102251
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-ParquetLayerView.html#hasFullGeometries Read more...}
|
|
102162
102252
|
*/
|
|
@@ -102887,7 +102977,7 @@ declare namespace __esri {
|
|
|
102887
102977
|
*/
|
|
102888
102978
|
declare readonly dataUpdating: FeatureLayerViewMixin["dataUpdating"];
|
|
102889
102979
|
/**
|
|
102890
|
-
* Indicates whether the layer view contains all available features from the service.
|
|
102980
|
+
* Indicates whether the layer view contains all available features from the service or source.
|
|
102891
102981
|
*
|
|
102892
102982
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-WFSLayerView.html#hasAllFeatures Read more...}
|
|
102893
102983
|
*/
|
|
@@ -102900,7 +102990,7 @@ declare namespace __esri {
|
|
|
102900
102990
|
*/
|
|
102901
102991
|
declare readonly hasAllFeaturesInView: FeatureLayerViewMixin["hasAllFeaturesInView"];
|
|
102902
102992
|
/**
|
|
102903
|
-
* Indicates whether the
|
|
102993
|
+
* Indicates whether the LayerView contains geometries at full resolution.
|
|
102904
102994
|
*
|
|
102905
102995
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-WFSLayerView.html#hasFullGeometries Read more...}
|
|
102906
102996
|
*/
|
|
@@ -115929,7 +116019,7 @@ declare namespace __esri {
|
|
|
115929
116019
|
*/
|
|
115930
116020
|
yearPlaying: boolean;
|
|
115931
116021
|
/**
|
|
115932
|
-
* Provides the logic for the {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Daylight.html Daylight} widget
|
|
116022
|
+
* Provides the logic for the {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Daylight.html Daylight} widget.
|
|
115933
116023
|
*
|
|
115934
116024
|
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Daylight-DaylightViewModel.html Read more...}
|
|
115935
116025
|
*/
|
|
@@ -117959,25 +118049,44 @@ declare namespace __esri {
|
|
|
117959
118049
|
interface EditsProperties {
|
|
117960
118050
|
}
|
|
117961
118051
|
|
|
117962
|
-
|
|
117963
|
-
|
|
117964
|
-
|
|
117965
|
-
|
|
117966
|
-
|
|
117967
|
-
|
|
117968
|
-
|
|
118052
|
+
export class MergeFeaturesWorkflow extends Workflow {
|
|
118053
|
+
/**
|
|
118054
|
+
* The instance of
|
|
118055
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureForm-FeatureFormViewModel.html FeatureFormViewModel} used by the
|
|
118056
|
+
* workflow to manage the attributes of the resulting features.
|
|
118057
|
+
*
|
|
118058
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-MergeFeaturesWorkflow.html#formViewModel Read more...}
|
|
118059
|
+
*/
|
|
117969
118060
|
readonly formViewModel: FeatureFormViewModel;
|
|
118061
|
+
/**
|
|
118062
|
+
* The layer to which the features being merged belong.
|
|
118063
|
+
*
|
|
118064
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-MergeFeaturesWorkflow.html#layer Read more...}
|
|
118065
|
+
*/
|
|
117970
118066
|
readonly layer: | GeoJSONLayer
|
|
117971
|
-
|
|
117972
|
-
|
|
117973
|
-
|
|
117974
|
-
|
|
117975
|
-
|
|
117976
|
-
|
|
118067
|
+
| FeatureLayer
|
|
118068
|
+
| OrientedImageryLayer
|
|
118069
|
+
| SceneLayer
|
|
118070
|
+
| SubtypeSublayer
|
|
118071
|
+
| KnowledgeGraphSublayer
|
|
118072
|
+
| nullish;
|
|
118073
|
+
/**
|
|
118074
|
+
* The type of the workflow.
|
|
118075
|
+
*
|
|
118076
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-MergeFeaturesWorkflow.html#type Read more...}
|
|
118077
|
+
*/
|
|
117977
118078
|
readonly type: "merge-features";
|
|
118079
|
+
/**
|
|
118080
|
+
* A read-only class containing the logic used when merging features using the
|
|
118081
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html Editor} widget.
|
|
118082
|
+
*
|
|
118083
|
+
* {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-MergeFeaturesWorkflow.html Read more...}
|
|
118084
|
+
*/
|
|
118085
|
+
constructor(properties?: MergeFeaturesWorkflowProperties);
|
|
117978
118086
|
}
|
|
117979
118087
|
|
|
117980
|
-
|
|
118088
|
+
interface MergeFeaturesWorkflowProperties extends WorkflowProperties {
|
|
118089
|
+
}
|
|
117981
118090
|
|
|
117982
118091
|
/**
|
|
117983
118092
|
* This object contains data for the {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-MergeFeaturesWorkflow.html MergeFeaturesWorkflow}.
|
|
@@ -118620,6 +118729,9 @@ declare namespace __esri {
|
|
|
118620
118729
|
flow?: boolean;
|
|
118621
118730
|
sketch?: boolean;
|
|
118622
118731
|
undoRedoButtons?: boolean;
|
|
118732
|
+
zoomToButton?: boolean;
|
|
118733
|
+
splitButton?: boolean;
|
|
118734
|
+
mergeButton?: boolean;
|
|
118623
118735
|
snappingControls?: boolean;
|
|
118624
118736
|
snappingControlsElements?: VisibleElementsSnappingControlsElementsProperties;
|
|
118625
118737
|
}
|
|
@@ -118640,6 +118752,9 @@ declare namespace __esri {
|
|
|
118640
118752
|
flow: boolean;
|
|
118641
118753
|
sketch: boolean;
|
|
118642
118754
|
undoRedoButtons: boolean;
|
|
118755
|
+
zoomToButton: boolean;
|
|
118756
|
+
splitButton: boolean;
|
|
118757
|
+
mergeButton: boolean;
|
|
118643
118758
|
snappingControls: boolean;
|
|
118644
118759
|
}
|
|
118645
118760
|
|
package/kernel.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/4.34/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import has from"./core/has.js";import{addQueryParameter as o}from"./core/urlUtils.js";export{buildDate,commitHash as revision}from"./support/revision.js";Symbol.dispose??=Symbol("Symbol.dispose"),Symbol.asyncDispose??=Symbol("Symbol.asyncDispose");const e="4.34";let s,r=e;function i(o){s=o}function t(e){const r=s?.findCredential(e);return r?.token?o(e,"token",r.token):e}r="4.34.0-next.
|
|
5
|
+
import has from"./core/has.js";import{addQueryParameter as o}from"./core/urlUtils.js";export{buildDate,commitHash as revision}from"./support/revision.js";Symbol.dispose??=Symbol("Symbol.dispose"),Symbol.asyncDispose??=Symbol("Symbol.asyncDispose");const e="4.34";let s,r=e;function i(o){s=o}function t(e){const r=s?.findCredential(e);return r?.token?o(e,"token",r.token):e}r="4.34.0-next.118",has("host-webworker")||globalThis.$arcgis||Object.defineProperty(globalThis,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),has("host-webworker");export{t as addTokenParameter,r as fullVersion,s as id,i as setId,e as version};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import{__decorate as e}from"tslib";import r from"../PopupTemplate.js";import t from"../request.js";import{ClonableMixin as o}from"../core/Clonable.js";import i from"../core/Error.js";import{clone as s}from"../core/lang.js";import n from"../core/Logger.js";import{MultiOriginJSONMixin as a}from"../core/MultiOriginJSONSupport.js";import{setDeepValue as p}from"../core/object.js";import{throwIfAbortError as l}from"../core/promiseUtils.js";import{join as d}from"../core/urlUtils.js";import{property as u}from"../core/accessorSupport/decorators/property.js";import"../core/has.js";import{reader as m}from"../core/accessorSupport/decorators/reader.js";import{subclass as c}from"../core/accessorSupport/decorators/subclass.js";import{writer as y}from"../core/accessorSupport/decorators/writer.js";import f from"../graphic/PointCloudGraphicOrigin.js";import h from"./Layer.js";import{APIKeyMixin as g}from"./mixins/APIKeyMixin.js";import{ArcGISService as v}from"./mixins/ArcGISService.js";import{CustomParametersMixin as
|
|
5
|
+
import{__decorate as e}from"tslib";import r from"../PopupTemplate.js";import t from"../request.js";import{ClonableMixin as o}from"../core/Clonable.js";import i from"../core/Error.js";import{clone as s}from"../core/lang.js";import n from"../core/Logger.js";import{MultiOriginJSONMixin as a}from"../core/MultiOriginJSONSupport.js";import{setDeepValue as p}from"../core/object.js";import{throwIfAbortError as l}from"../core/promiseUtils.js";import{join as d}from"../core/urlUtils.js";import{property as u}from"../core/accessorSupport/decorators/property.js";import"../core/has.js";import{reader as m}from"../core/accessorSupport/decorators/reader.js";import{subclass as c}from"../core/accessorSupport/decorators/subclass.js";import{writer as y}from"../core/accessorSupport/decorators/writer.js";import f from"../graphic/PointCloudGraphicOrigin.js";import h from"./Layer.js";import{APIKeyMixin as g}from"./mixins/APIKeyMixin.js";import{ArcGISService as v}from"./mixins/ArcGISService.js";import{CustomParametersMixin as w}from"./mixins/CustomParametersMixin.js";import{OperationalLayer as j}from"./mixins/OperationalLayer.js";import{PortalLayer as I}from"./mixins/PortalLayer.js";import{ScaleRangeLayer as b}from"./mixins/ScaleRangeLayer.js";import{SceneService as P,updateExtentFromPageObb as x}from"./mixins/SceneService.js";import{types as S}from"./pointCloudFilters/typeUtils.js";import{popupEnabled as T,elevationInfo as F,legendEnabled as _}from"./support/commonProperties.js";import L from"./support/Field.js";import{defineFieldProperties as C}from"./support/fieldProperties.js";import R from"../popup/ExpressionInfo.js";import{types as E}from"../renderers/support/pointCloud/typeUtils.js";import{logInvalidElevationInfoWarning as O,elevationModeRequiredMessage as N,featureExpressionUnsupportedMessage as A}from"../support/elevationInfoUtils.js";import{createPopupTemplate as U}from"../support/popupUtils.js";const K=C();let V=class extends(P(v(j(I(b(a(w(g(o(h)))))))))){constructor(...e){super(...e),this.operationalLayerType="PointCloudLayer",this.popupEnabled=!0,this.popupTemplate=null,this.opacity=1,this.filters=[],this.fields=null,this.fieldsIndex=null,this.outFields=null,this.path=null,this.legendEnabled=!0,this.renderer=null,this.type="point-cloud",this.graphicOrigin=new f(this),this.rootPagePromise=null}normalizeCtorArgs(e,r){return"string"==typeof e?{url:e,...r}:e}get defaultPopupTemplate(){return this.attributeStorageInfo?this.createPopupTemplate():null}getFieldDomain(e){const r=this.fieldsIndex.get(e);return r?.domain?r.domain:null}readServiceFields(e,r,t){return Array.isArray(e)?e.map(e=>{const r=new L;return"FieldTypeInteger"===e.type&&((e=s(e)).type="esriFieldTypeInteger"),r.read(e,t),r}):Array.isArray(r.attributeStorageInfo)?r.attributeStorageInfo.map(e=>new L({name:e.name,type:"ELEVATION"===e.name?"double":"integer"})):null}set elevationInfo(e){null!=e&&"absolute-height"!==e.mode||this._set("elevationInfo",e),this._validateElevationInfo(e)}writeRenderer(e,r,t,o){p("layerDefinition.drawingInfo.renderer",e.write({},o),r)}load(e){return this.addResolvingPromise(this._load(e)),Promise.resolve(this)}async _load(e){await this.loadFromPortal({supportedTypes:["Scene Service"]},e).catch(l),await this._fetchService(e?.signal),await this._fetchRootPageAndUpdateExtent(e?.signal)}async _fetchRootPageAndUpdateExtent(e){this.rootPagePromise=this._fetchRootPage(e);const{fullExtent:r}=this;if(null!=r&&!r.hasZ){const e=await this.rootPagePromise;x(r,e?.nodes?.[0]?.obb)}}async _fetchRootPage(e){const r=`${this.parsedUrl?.path??""}/nodepages/0`;try{return(await t(r,{query:{f:"json",...this.customParameters,token:this.apiKey},responseType:"json",signal:e})).data}catch(o){throw new i("pointcloudlayer:root-page-missing","Root page missing.",{error:o,url:r})}}createPopupTemplate(e){const r=U(this,e);return r&&(this._formatPopupTemplateReturnsField(r),this._formatPopupTemplateRGBField(r)),r}_formatPopupTemplateReturnsField(e){const r=this.fieldsIndex.get("RETURNS");if(!r)return;const t=e.fieldInfos?.find(e=>e.fieldName===r.name);if(!t)return;const o=new R({name:"pcl-returns-decoded",title:r.alias||r.name,expression:`\n var returnValue = $feature.${r.name};\n return (returnValue % 16) + " / " + Floor(returnValue / 16);\n `});e.expressionInfos=[...e.expressionInfos||[],o],t.fieldName="expression/pcl-returns-decoded"}_formatPopupTemplateRGBField(e){const r=this.fieldsIndex.get("RGB");if(!r)return;const t=e.fieldInfos?.find(e=>e.fieldName===r.name);if(!t)return;const o=new R({name:"pcl-rgb-decoded",title:r.alias||r.name,expression:`\n var rgb = $feature.${r.name};\n var red = Floor(rgb / 65536, 0);\n var green = Floor((rgb - (red * 65536)) / 256,0);\n var blue = rgb - (red * 65536) - (green * 256);\n\n return "rgb(" + red + "," + green + "," + blue + ")";\n `});e.expressionInfos=[...e.expressionInfos||[],o],t.fieldName="expression/pcl-rgb-decoded"}async queryCachedStatistics(e,r){if(await this.load(r),!this.attributeStorageInfo)throw new i("scenelayer:no-cached-statistics","Cached statistics are not available for this layer");const o=this.fieldsIndex.get(e);if(!o)throw new i("pointcloudlayer:field-unexisting",`Field '${e}' does not exist on the layer`);for(const i of this.attributeStorageInfo)if(i.name===o.name){const e=d(this.parsedUrl?.path??"",`./statistics/${i.key}`);return t(e,{query:{f:"json",...this.customParameters,token:this.apiKey},responseType:"json",signal:r?r.signal:null}).then(e=>e.data)}throw new i("pointcloudlayer:no-cached-statistics","Cached statistics for this attribute are not available")}async saveAs(e,r){return this._debouncedSaveOperations(1,{...r,getTypeKeywords:()=>this._getTypeKeywords(),portalItemLayerType:"point-cloud"},e)}async save(){const e={getTypeKeywords:()=>this._getTypeKeywords(),portalItemLayerType:"point-cloud"};return this._debouncedSaveOperations(0,e)}validateLayer(e){if(e.layerType&&"PointCloud"!==e.layerType)throw new i("pointcloudlayer:layer-type-not-supported","PointCloudLayer does not support this layer type",{layerType:e.layerType});if(isNaN(this.version.major)||isNaN(this.version.minor))throw new i("layer:service-version-not-supported","Service version is not supported.",{serviceVersion:this.version.versionString,supportedVersions:"1.x-2.x"});if(this.version.major>2)throw new i("layer:service-version-too-new","Service version is too new.",{serviceVersion:this.version.versionString,supportedVersions:"1.x-2.x"})}hasCachedStatistics(e){return null!=this.attributeStorageInfo&&this.attributeStorageInfo.some(r=>r.name===e)}_getTypeKeywords(){return["PointCloud"]}_validateElevationInfo(e){O(n.getLogger(this),N("Point cloud layers","absolute-height",e)),O(n.getLogger(this),A("Point cloud layers",e))}};e([u({type:["PointCloudLayer"]})],V.prototype,"operationalLayerType",void 0),e([u(T)],V.prototype,"popupEnabled",void 0),e([u({type:r,json:{name:"popupInfo",write:!0}})],V.prototype,"popupTemplate",void 0),e([u({readOnly:!0,json:{read:!1}})],V.prototype,"defaultPopupTemplate",null),e([u({readOnly:!0,json:{write:!1,read:!1,origins:{"web-document":{write:!1,read:!1}}}})],V.prototype,"opacity",void 0),e([u({type:["show","hide"]})],V.prototype,"listMode",void 0),e([u({types:[S],json:{origins:{service:{read:{source:"filters"}}},name:"layerDefinition.filters",write:!0}})],V.prototype,"filters",void 0),e([u({type:[L]})],V.prototype,"fields",void 0),e([u(K.fieldsIndex)],V.prototype,"fieldsIndex",void 0),e([m("service","fields",["fields","attributeStorageInfo"])],V.prototype,"readServiceFields",null),e([u(K.outFields)],V.prototype,"outFields",void 0),e([u({readOnly:!0})],V.prototype,"attributeStorageInfo",void 0),e([u(F)],V.prototype,"elevationInfo",null),e([u({type:String,json:{origins:{"web-scene":{read:!0,write:!0},"portal-item":{read:!0,write:!0}},read:!1}})],V.prototype,"path",void 0),e([u(_)],V.prototype,"legendEnabled",void 0),e([u({types:E,json:{origins:{service:{read:{source:"drawingInfo.renderer"}}},name:"layerDefinition.drawingInfo.renderer",write:{target:{"layerDefinition.drawingInfo.renderer":{types:E},"layerDefinition.drawingInfo.transparency":{type:Number}}}}})],V.prototype,"renderer",void 0),e([y("renderer")],V.prototype,"writeRenderer",null),e([u({json:{read:!1},readOnly:!0})],V.prototype,"type",void 0),e([u({readOnly:!0})],V.prototype,"graphicOrigin",void 0),V=e([c("esri.layers.PointCloudLayer")],V);const $=V;export{$ as default};
|