@arcgis/core 5.1.0-next.20 → 5.1.0-next.21
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/applications/Components/OrientedImageryViewer/galleryUtils.d.ts +45 -15
- package/applications/Components/QuantityFormatter.d.ts +11 -11
- package/applications/Components/SelectionOperation.d.ts +11 -11
- package/applications/Components/SketchTooltipControls.d.ts +9 -9
- package/applications/Components/actionUtils.d.ts +2 -1
- package/applications/Components/analysisUtils.d.ts +27 -26
- package/applications/Components/applySetUtils.d.ts +40 -40
- package/applications/Components/arcadeEditorUtils.d.ts +3 -3
- package/applications/Components/arcadeFeatureUtils.d.ts +12 -12
- package/applications/Components/baUtils.d.ts +8 -8
- package/applications/Components/basemapUtils.d.ts +2 -2
- package/applications/Components/clipboard.d.ts +14 -14
- package/applications/Components/drawUtils.d.ts +3 -3
- package/applications/Components/editUtils.d.ts +14 -14
- package/applications/Components/featureUtils.d.ts +10 -10
- package/applications/Components/fieldFormatUtils.d.ts +2 -2
- package/applications/Components/fontUtils.d.ts +2 -2
- package/applications/Components/formatUtils.d.ts +2 -2
- package/applications/Components/getDefaultUnits.d.ts +2 -2
- package/applications/Components/gfxUtils.d.ts +5 -1
- package/applications/Components/imageryUtils.d.ts +35 -35
- package/applications/Components/layerOriginUtils.d.ts +5 -5
- package/applications/Components/layersEffectsJsonUtils.d.ts +2 -2
- package/applications/Components/previewSymbol2D.d.ts +2 -2
- package/applications/Components/rasterFunctionEditorUtils.d.ts +40 -40
- package/applications/Components/reactiveUtils.d.ts +14 -13
- package/applications/Components/sanitizerUtils.d.ts +2 -2
- package/applications/Components/stringUtils.d.ts +5 -5
- package/applications/Components/styleUtils.d.ts +2 -2
- package/applications/Components/svgUtils.d.ts +4 -4
- package/applications/Components/symbolUtils.d.ts +47 -11
- package/applications/Components/templateUtils.d.ts +73 -17
- package/applications/Components/templateUtils.js +1 -1
- package/applications/Components/testUtils.d.ts +3 -3
- package/applications/Components/unitUtils.d.ts +1 -1
- package/applications/Components/viewUtils.d.ts +2 -2
- package/applications/Components/webStyleSymbolUtils.d.ts +2 -2
- package/applications/Excalibur/imageryLayerUtils.d.ts +3 -3
- package/applications/Excalibur/videoViewUtils.d.ts +8 -8
- package/applications/Excalibur/widgetUtils.d.ts +2 -2
- package/applications/ExperienceBuilder/sketchUtils.d.ts +7 -7
- package/applications/KnowledgeStudio/dataModelVisualization.d.ts +20 -8
- package/applications/KnowledgeStudio/generalSdkInternalAccess.d.ts +21 -21
- package/applications/KnowledgeStudio/generalSharedKgUtils.d.ts +35 -35
- package/applications/KnowledgeStudio/layerInternalAccessUtils.d.ts +9 -9
- package/applications/KnowledgeStudio/reshape.d.ts +40 -40
- package/applications/KnowledgeStudio/resourceSerializationUtils.d.ts +11 -11
- package/applications/MapViewer/layerUtils.d.ts +2 -2
- package/applications/MapViewer/mediaUtils.d.ts +13 -13
- package/applications/MapViewer/templateUtils.d.ts +20 -20
- package/applications/PortalApp/layerUtils.d.ts +2 -2
- package/applications/SceneViewer/colorUtils.d.ts +2 -2
- package/applications/SceneViewer/devEnvironmentUtils.d.ts +4 -3
- package/applications/SceneViewer/layerUtils.d.ts +3 -3
- package/applications/SceneViewer/sceneViewerUtils.d.ts +34 -34
- package/applications/SceneViewer/symbolUtils.d.ts +2 -2
- package/applications/Urban/LineImagePattern3D.d.ts +3 -2
- package/applications/Urban/imagePatternUtils.d.ts +4 -4
- package/applications/Urban/meshUtils.d.ts +2 -2
- package/applications/WebEditor/sketchUtils.d.ts +8 -8
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/{df321c37b61099f6e4c2.js → 11058e660139c427c3e7.js} +1 -1
- package/assets/esri/core/workers/chunks/1dcd057695f8db79eca2.js +1 -0
- package/assets/esri/core/workers/chunks/568d32ceee1409809e5a.js +1 -0
- package/assets/esri/core/workers/chunks/6b56c8ba978ec6edd6b8.js +1 -0
- package/assets/esri/core/workers/chunks/7b59ddad3c73f5f44b4d.js +1 -0
- package/assets/esri/core/workers/chunks/a4919dd9963f853a0077.js +1 -0
- package/assets/esri/core/workers/chunks/a7dbd38bc216713044fc.js +1 -0
- package/assets/esri/core/workers/chunks/{b8b2f160518e3a225d99.js → b364ec104dd59faa41b6.js} +1 -1
- package/assets/esri/core/workers/chunks/{0bb3beedae1b73beb1fc.js → b96dce64bdd7487e862a.js} +1 -1
- package/assets/esri/core/workers/chunks/{23c856265dd24ce54fdb.js → bfeab15d7ac9a2559fe5.js} +1 -1
- package/assets/esri/core/workers/chunks/c3e4f8664988e50bda55.js +1 -0
- package/assets/esri/core/workers/chunks/cf100c80b75ba74b479c.js +1 -0
- package/chunks/Clouds.glsl.js +1 -1
- package/config.js +1 -1
- package/geometry/support/curves/curveUtils.js +1 -1
- package/geometry/support/curves/densifyCurvedGeometry.js +1 -1
- package/graphic/graphicOriginUtils.js +1 -1
- package/kernel.js +1 -1
- package/layers/WMTSLayer.js +1 -1
- package/layers/graphics/editingSupport.js +1 -1
- package/layers/support/Sublayer.d.ts +3 -0
- package/package.json +1 -1
- package/renderers/support/DictionaryControlString.js +1 -1
- package/renderers/support/DictionaryLoader.js +1 -1
- package/rest/featureService/FeatureService.js +1 -1
- package/smartMapping/support/utils.js +1 -1
- package/support/revision.js +1 -1
- package/symbols/cim/CIMSymbolHelper.js +1 -1
- package/symbols/cim/GeometryWalker.js +1 -1
- package/symbols/cim/animationUtils.js +1 -1
- package/symbols/cim/cimAnalyzer.js +1 -1
- package/symbols/cim/effects/EffectDashes.js +1 -1
- package/symbols/cim/effects/EffectDonut.js +1 -1
- package/symbols/cim/effects/EffectOffset.js +1 -1
- package/symbols/cim/effects/EffectWave.js +1 -1
- package/symbols/cim/placements/PlacementAlongLineSameSize.js +1 -1
- package/symbols/cim/placements/PlacementAtExtremities.js +1 -1
- package/symbols/cim/placements/PlacementAtRatioPositions.js +1 -1
- package/symbols/cim/placements/PlacementOnLine.js +1 -1
- package/symbols/cim/rasterizingUtils.js +1 -1
- package/symbols/cim/types.d.ts +220 -117
- package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
- package/views/2d/layers/features/schema/processor/symbols/utils.js +1 -1
- package/views/3d/environment/CloudsRenderer.js +1 -1
- package/views/3d/environment/Fog.js +1 -1
- package/views/3d/environment/FogTechnique.js +1 -1
- package/views/3d/environment/NoiseTextureAtlas.js +1 -1
- package/views/3d/environment/NoiseTextureAtlasTechnique.js +1 -1
- package/views/3d/layers/graphics/polygonUtils.js +1 -1
- package/views/3d/layers/support/patternUtils.js +1 -1
- package/views/3d/support/gaussianSplatting/GaussianSplatTextureAtlas.js +1 -1
- package/views/3d/webgl-engine/core/FBOCache.js +1 -1
- package/views/3d/webgl-engine/core/FBOCacheFormats.js +1 -1
- package/views/3d/webgl-engine/effects/focusArea/FocusAreaMaskNode.js +1 -1
- package/views/3d/webgl-engine/effects/geometry/RenderOccludedRenderNode.js +1 -1
- package/views/3d/webgl-engine/lib/CutFillDepth.js +1 -1
- package/views/3d/webgl-engine/lib/GPUPointOcclusionQuery.js +1 -1
- package/views/3d/webgl-engine/lib/Geometry.js +1 -1
- package/views/3d/webgl-engine/lib/MainFramebuffer.js +1 -1
- package/views/3d/webgl-engine/lib/Material.js +1 -1
- package/views/3d/webgl-engine/lib/RayIntersections.js +1 -1
- package/views/3d/webgl-engine/lib/RenderGeometry.js +1 -1
- package/views/3d/webgl-engine/lib/Renderer.js +1 -1
- package/views/3d/webgl-engine/lib/RenderingContext.js +1 -1
- package/views/3d/webgl-engine/lib/ShadowMap.js +1 -1
- package/views/3d/webgl-engine/lib/ViewshedShadowMap.js +1 -1
- package/views/3d/webgl-engine/lib/geometryDataUtils.js +1 -1
- package/views/3d/webgl-engine/materials/ColorMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/PatternMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/renderers/IndexBufferCache.js +2 -0
- package/views/3d/webgl-engine/materials/renderers/IndexLayout.js +2 -0
- package/views/3d/webgl-engine/materials/renderers/Instance.js +1 -1
- package/views/3d/webgl-engine/materials/renderers/MergedBuffer.js +1 -1
- package/views/3d/webgl-engine/materials/renderers/PerBufferData.js +1 -1
- package/views/3d/webgl-engine/materials/renderers/VaoRenderer.js +1 -1
- package/views/3d/webgl-engine/materials/renderers/VaoWriter.js +1 -1
- package/views/View.d.ts +13 -2
- package/views/draw/support/Reshape.js +1 -1
- package/views/draw/support/reshapeUtils.js +1 -1
- package/views/draw/support/types.d.ts +8 -1
- package/views/interactive/support/utils.js +1 -1
- package/views/webgl/BufferObject.js +1 -1
- package/widgets/Attribution/AttributionViewModel.d.ts +3 -1
- package/widgets/Attribution/AttributionViewModel.js +1 -1
- package/widgets/Attribution.d.ts +1 -1
- package/widgets/Attribution.js +1 -1
- package/widgets/Editor/CreateFeaturesWorkflow.js +1 -1
- package/widgets/Editor/EditorViewModel.d.ts +2 -22
- package/widgets/Editor/EditorViewModel.js +1 -1
- package/widgets/Editor/SplitFeatureWorkflow.js +1 -1
- package/widgets/Editor/UpdateWorkflow.js +1 -1
- package/widgets/Editor/Workflow.js +1 -1
- package/widgets/Editor/support/SketchController.js +1 -1
- package/widgets/Editor/workflowUtils.js +1 -1
- package/widgets/Editor.d.ts +10 -15
- package/widgets/Editor.js +1 -1
- package/widgets/FeatureTable/FeatureTableViewModel.d.ts +0 -15
- package/widgets/FeatureTable/FeatureTableViewModel.js +1 -1
- package/widgets/FeatureTable/support/types.d.ts +0 -1
- package/widgets/FeatureTable.d.ts +1 -19
- package/widgets/FeatureTable.js +1 -1
- package/widgets/HistogramRangeSlider.d.ts +1 -1
- package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
- package/widgets/OrientedImageryViewer/adapters/sketch/MeasurementAdapter.js +1 -1
- package/widgets/OrientedImageryViewer/adapters/view/MapViewAdapter.js +1 -1
- package/widgets/PanoramicVideoViewer.js +1 -1
- package/widgets/PanoramicViewer/PanoramicVideoViewerViewModel.js +1 -1
- package/widgets/PanoramicViewer/support/PanoramicMedia.js +1 -1
- package/widgets/PanoramicViewer/support/PanoramicTileNode.js +1 -1
- package/widgets/PanoramicViewer/support/PanoramicTilePyramid.js +1 -1
- package/widgets/PanoramicViewer/utils.js +1 -1
- package/widgets/Sketch/SketchViewModel.d.ts +4 -22
- package/widgets/Sketch/SketchViewModel.js +1 -1
- package/widgets/Sketch/support/PluginManager.js +1 -1
- package/widgets/Sketch.d.ts +10 -17
- package/widgets/Sketch.js +1 -1
- package/assets/esri/core/workers/chunks/0d56e3b3265a4470aaa6.js +0 -1
- package/assets/esri/core/workers/chunks/5a8b3e5977c233d5c9d0.js +0 -1
- package/assets/esri/core/workers/chunks/bbf2afa05314e267893f.js +0 -1
- package/assets/esri/core/workers/chunks/bd2f577cae61facdde4a.js +0 -1
- package/assets/esri/core/workers/chunks/bf2bfc0d78be8c185d58.js +0 -1
- package/assets/esri/core/workers/chunks/c6e0ada6f2ad74fddfec.js +0 -1
- package/assets/esri/core/workers/chunks/dcc8363faa22e6211351.js +0 -1
- package/assets/esri/core/workers/chunks/e081d6f21a2c01ccaf61.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* OrientedImageryViewer gallery utils for Components.
|
|
3
3
|
*
|
|
4
|
-
* @
|
|
4
|
+
* @internal
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
7
7
|
import type OrientedImageryLayer from "../../../layers/OrientedImageryLayer.js";
|
|
@@ -9,35 +9,53 @@ import type PixelBlock from "../../../layers/support/PixelBlock.js";
|
|
|
9
9
|
import type { AbortOptions } from "../../../core/promiseUtils.js";
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
* @
|
|
12
|
+
* @internal
|
|
13
13
|
* @internal
|
|
14
14
|
*/
|
|
15
15
|
export interface ImageSource {
|
|
16
16
|
/**
|
|
17
17
|
* The dataset format.
|
|
18
18
|
* e.g., "TIFF" | "MRF" | "JPG"
|
|
19
|
+
*
|
|
20
|
+
* @internal
|
|
19
21
|
*/
|
|
20
22
|
datasetFormat: string;
|
|
21
|
-
/**
|
|
23
|
+
/**
|
|
24
|
+
* The url of the image source.
|
|
25
|
+
*
|
|
26
|
+
* @internal
|
|
27
|
+
*/
|
|
22
28
|
url: string;
|
|
23
29
|
}
|
|
24
30
|
|
|
25
31
|
/**
|
|
26
|
-
* @
|
|
32
|
+
* @internal
|
|
27
33
|
* @internal
|
|
28
34
|
*/
|
|
29
35
|
export interface GetImageSourceFromAttachmentProperties {
|
|
30
|
-
/**
|
|
36
|
+
/**
|
|
37
|
+
* The oriented imagery layer.
|
|
38
|
+
*
|
|
39
|
+
* @internal
|
|
40
|
+
*/
|
|
31
41
|
layer: OrientedImageryLayer;
|
|
32
|
-
/**
|
|
42
|
+
/**
|
|
43
|
+
* The object id of the feature.
|
|
44
|
+
*
|
|
45
|
+
* @internal
|
|
46
|
+
*/
|
|
33
47
|
objectId: number;
|
|
34
|
-
/**
|
|
48
|
+
/**
|
|
49
|
+
* The abort options.
|
|
50
|
+
*
|
|
51
|
+
* @internal
|
|
52
|
+
*/
|
|
35
53
|
options?: AbortOptions;
|
|
36
54
|
}
|
|
37
55
|
|
|
38
56
|
/**
|
|
39
57
|
* @param properties - The properties to get the image source from attachment.
|
|
40
|
-
* @
|
|
58
|
+
* @internal
|
|
41
59
|
* @internal
|
|
42
60
|
*/
|
|
43
61
|
export function getImageSourceFromAttachment(properties: GetImageSourceFromAttachmentProperties): Promise<ImageSource>;
|
|
@@ -45,27 +63,39 @@ export function getImageSourceFromAttachment(properties: GetImageSourceFromAttac
|
|
|
45
63
|
/**
|
|
46
64
|
* @param urlOrImageSource - The image source or url to get the thumbnail pixel block from.
|
|
47
65
|
* @param options - The abort options.
|
|
48
|
-
* @
|
|
66
|
+
* @internal
|
|
49
67
|
* @internal
|
|
50
68
|
*/
|
|
51
69
|
export function getThumbnailAsPixelBlock(urlOrImageSource: ImageSource | string, options?: AbortOptions): Promise<PixelBlock | null | undefined>;
|
|
52
70
|
|
|
53
71
|
/**
|
|
54
|
-
* @
|
|
72
|
+
* @internal
|
|
55
73
|
* @internal
|
|
56
74
|
*/
|
|
57
75
|
export interface LoadImageFromAttachmentProperties {
|
|
58
|
-
/**
|
|
76
|
+
/**
|
|
77
|
+
* The oriented imagery layer.
|
|
78
|
+
*
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
59
81
|
layer?: OrientedImageryLayer | null;
|
|
60
|
-
/**
|
|
82
|
+
/**
|
|
83
|
+
* The object id of the feature.
|
|
84
|
+
*
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
61
87
|
objectId: number;
|
|
62
|
-
/**
|
|
88
|
+
/**
|
|
89
|
+
* The abort options.
|
|
90
|
+
*
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
63
93
|
options?: AbortOptions;
|
|
64
94
|
}
|
|
65
95
|
|
|
66
96
|
/**
|
|
67
97
|
* @param properties - The properties to load the image for attachment.
|
|
68
|
-
* @
|
|
98
|
+
* @internal
|
|
69
99
|
* @internal
|
|
70
100
|
*/
|
|
71
101
|
export function loadImageForAttachment(properties: LoadImageFromAttachmentProperties): Promise<PixelBlock | HTMLImageElement | null | undefined>;
|
|
@@ -74,7 +104,7 @@ export function loadImageForAttachment(properties: LoadImageFromAttachmentProper
|
|
|
74
104
|
* @param pixelBlockOrImageElement - The pixel block or HTML image element.
|
|
75
105
|
* @param canvas - The canvas to render the image on.
|
|
76
106
|
* @param rotation - The rotation angle in degrees.
|
|
77
|
-
* @
|
|
107
|
+
* @internal
|
|
78
108
|
* @internal
|
|
79
109
|
*/
|
|
80
110
|
export function renderImageWithRotation(pixelBlockOrImageElement: HTMLImageElement | PixelBlock, canvas: HTMLCanvasElement, rotation?: number): void;
|
|
@@ -3,7 +3,7 @@ import type { Area, Length, RotationType, Volume } from "../../core/quantity.js"
|
|
|
3
3
|
import type { AngleUnit } from "../../core/units.js";
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
* @
|
|
6
|
+
* @internal
|
|
7
7
|
* @internal
|
|
8
8
|
*/
|
|
9
9
|
export interface QuantityFormatterProperties {}
|
|
@@ -11,7 +11,7 @@ export interface QuantityFormatterProperties {}
|
|
|
11
11
|
/**
|
|
12
12
|
* The format to use for the quantity.
|
|
13
13
|
*
|
|
14
|
-
* @
|
|
14
|
+
* @internal
|
|
15
15
|
* @internal
|
|
16
16
|
*/
|
|
17
17
|
export type FormattingStyle = "singular" | "plural" | "abbr";
|
|
@@ -20,11 +20,11 @@ export type FormattingStyle = "singular" | "plural" | "abbr";
|
|
|
20
20
|
* Class which has methods to format quantities like lengths and areas. To be used in components until we have a public
|
|
21
21
|
* API for unit conversion and formatting.
|
|
22
22
|
*
|
|
23
|
-
* @
|
|
23
|
+
* @internal
|
|
24
24
|
* @internal
|
|
25
25
|
*/
|
|
26
26
|
export default class QuantityFormatter extends Accessor {
|
|
27
|
-
/** @
|
|
27
|
+
/** @internal */
|
|
28
28
|
constructor(properties?: QuantityFormatterProperties);
|
|
29
29
|
/**
|
|
30
30
|
* Formats an angle quantity to degrees. Absolute angles are always formatted in the domain [0, 360).
|
|
@@ -35,7 +35,7 @@ export default class QuantityFormatter extends Accessor {
|
|
|
35
35
|
* @param preferredType - The preferred type of the resulting formatted angle.
|
|
36
36
|
* @param precision - Precision to be used when formatting values.
|
|
37
37
|
* @returns The formatted angle.
|
|
38
|
-
* @
|
|
38
|
+
* @internal
|
|
39
39
|
*/
|
|
40
40
|
formatAngleDegrees(angle: number, unit: AngleUnit, rotationType: RotationType, preferredType: RotationType, precision?: number | null | undefined): string;
|
|
41
41
|
/**
|
|
@@ -45,7 +45,7 @@ export default class QuantityFormatter extends Accessor {
|
|
|
45
45
|
* @param precision - The number of decimal places to include in the formatted string.
|
|
46
46
|
* @param format - The format to use for the quantity.
|
|
47
47
|
* @returns The formatted quantity.
|
|
48
|
-
* @
|
|
48
|
+
* @internal
|
|
49
49
|
*/
|
|
50
50
|
formatArea(quantity: Area, precision?: number, format?: FormattingStyle): string;
|
|
51
51
|
/**
|
|
@@ -55,7 +55,7 @@ export default class QuantityFormatter extends Accessor {
|
|
|
55
55
|
* @param precision - The number of decimal places to include in the formatted string.
|
|
56
56
|
* @param format - The format to use for the quantity.
|
|
57
57
|
* @returns The formatted quantity.
|
|
58
|
-
* @
|
|
58
|
+
* @internal
|
|
59
59
|
*/
|
|
60
60
|
formatDecimal(quantity: Length | Area, precision?: number, format?: FormattingStyle): string;
|
|
61
61
|
/**
|
|
@@ -65,7 +65,7 @@ export default class QuantityFormatter extends Accessor {
|
|
|
65
65
|
* @param precision - The number of decimal places to include in the formatted string.
|
|
66
66
|
* @param format - The format to use for the quantity.
|
|
67
67
|
* @returns The formatted length quantity.
|
|
68
|
-
* @
|
|
68
|
+
* @internal
|
|
69
69
|
*/
|
|
70
70
|
formatLength(quantity: Length, precision?: number, format?: FormattingStyle): string;
|
|
71
71
|
/**
|
|
@@ -75,7 +75,7 @@ export default class QuantityFormatter extends Accessor {
|
|
|
75
75
|
* @param precision - The number of decimal places to include in the formatted string.
|
|
76
76
|
* @param format - The format to use for the quantity.
|
|
77
77
|
* @returns The formatted quantity.
|
|
78
|
-
* @
|
|
78
|
+
* @internal
|
|
79
79
|
*/
|
|
80
80
|
formatVerticalLength(quantity: Length, precision?: number, format?: FormattingStyle): string;
|
|
81
81
|
/**
|
|
@@ -85,14 +85,14 @@ export default class QuantityFormatter extends Accessor {
|
|
|
85
85
|
* @param precision - The number of decimal places to include in the formatted string.
|
|
86
86
|
* @param format - The format to use for the quantity.
|
|
87
87
|
* @returns The formatted quantity.
|
|
88
|
-
* @
|
|
88
|
+
* @internal
|
|
89
89
|
*/
|
|
90
90
|
formatVolume(quantity: Volume, precision?: number, format?: FormattingStyle): string;
|
|
91
91
|
/**
|
|
92
92
|
* Returns a promise that resolves when the messages are loaded.
|
|
93
93
|
*
|
|
94
94
|
* @returns A promise that resolves when the messages are loaded.
|
|
95
|
-
* @
|
|
95
|
+
* @internal
|
|
96
96
|
*/
|
|
97
97
|
when(): Promise<void>;
|
|
98
98
|
}
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Utilities for creating a SelectionOperation class instance.
|
|
3
3
|
*
|
|
4
|
-
* @
|
|
4
|
+
* @internal
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
7
7
|
import type { MapViewOrSceneView } from "../../views/MapViewOrSceneView.js";
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
* @
|
|
10
|
+
* @internal
|
|
11
11
|
* @internal
|
|
12
12
|
*/
|
|
13
13
|
export type SelectionOperationType = "add" | "remove" | "replace";
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
|
-
* @
|
|
16
|
+
* @internal
|
|
17
17
|
* @internal
|
|
18
18
|
*/
|
|
19
19
|
export interface OperationOptions {
|
|
20
20
|
/**
|
|
21
21
|
* The tool to create ("point", "polygon", "circle", or "rectangle"). Defaults to "rectangle" if not specified.
|
|
22
22
|
*
|
|
23
|
-
* @
|
|
23
|
+
* @internal
|
|
24
24
|
*/
|
|
25
25
|
createTool?: "point" | "polygon" | "circle" | "rectangle";
|
|
26
26
|
/**
|
|
27
27
|
* The operation mode ("click", "freehand", or "hybrid").
|
|
28
28
|
*
|
|
29
|
-
* @
|
|
29
|
+
* @internal
|
|
30
30
|
*/
|
|
31
31
|
mode?: "click" | "freehand" | "hybrid";
|
|
32
32
|
/**
|
|
33
33
|
* An optional, unique name used to distinguish an operation.
|
|
34
34
|
*
|
|
35
|
-
* @
|
|
35
|
+
* @internal
|
|
36
36
|
*/
|
|
37
37
|
name?: "rectangle" | "lasso" | "point" | string;
|
|
38
38
|
/**
|
|
39
39
|
* Whether the final selection should update the current selection manager.
|
|
40
40
|
*
|
|
41
|
-
* @
|
|
41
|
+
* @internal
|
|
42
42
|
*/
|
|
43
43
|
persistSelection?: boolean;
|
|
44
44
|
/**
|
|
45
45
|
* Whether the selected graphics should include geometries. Defaults to true if not specified.
|
|
46
46
|
*
|
|
47
|
-
* @
|
|
47
|
+
* @internal
|
|
48
48
|
*/
|
|
49
49
|
returnGeometry?: boolean;
|
|
50
50
|
/**
|
|
51
51
|
* Whether to select on complete. Defaults to true if not specified.
|
|
52
52
|
*
|
|
53
|
-
* @
|
|
53
|
+
* @internal
|
|
54
54
|
*/
|
|
55
55
|
selectOnComplete?: boolean;
|
|
56
56
|
/**
|
|
57
57
|
* The type of selection operation ("add", "remove" or "replace"). Defaults to "add" if not specified.
|
|
58
58
|
*
|
|
59
|
-
* @
|
|
59
|
+
* @internal
|
|
60
60
|
*/
|
|
61
61
|
type?: SelectionOperationType;
|
|
62
62
|
}
|
|
@@ -68,7 +68,7 @@ export interface OperationOptions {
|
|
|
68
68
|
* @param sources - An array of source layers.
|
|
69
69
|
* @param options - Additional tool- and selection-related options for the SelectionOperation.
|
|
70
70
|
* @returns The created SelectionOperation instance.
|
|
71
|
-
* @
|
|
71
|
+
* @internal
|
|
72
72
|
* @internal
|
|
73
73
|
*/
|
|
74
74
|
export function createSelectionOperation(view: MapViewOrSceneView, sources: any[] | null | undefined, options?: OperationOptions): any;
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Utilities for creating a SketchTooltipControls class instance.
|
|
3
3
|
*
|
|
4
|
-
* @
|
|
4
|
+
* @internal
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
* @
|
|
9
|
+
* @internal
|
|
10
10
|
* @internal
|
|
11
11
|
*/
|
|
12
12
|
export interface VisibleElements {
|
|
13
13
|
/**
|
|
14
14
|
* Whether the direction mode picker is visible.
|
|
15
15
|
*
|
|
16
|
-
* @
|
|
16
|
+
* @internal
|
|
17
17
|
*/
|
|
18
18
|
directionModePicker?: boolean;
|
|
19
19
|
/**
|
|
20
20
|
* Whether the header is visible.
|
|
21
21
|
*
|
|
22
|
-
* @
|
|
22
|
+
* @internal
|
|
23
23
|
*/
|
|
24
24
|
header?: boolean;
|
|
25
25
|
/**
|
|
26
26
|
* Whether the labels toggle is visible.
|
|
27
27
|
*
|
|
28
|
-
* @
|
|
28
|
+
* @internal
|
|
29
29
|
*/
|
|
30
30
|
labelsToggle?: boolean;
|
|
31
31
|
/**
|
|
32
32
|
* Whether the tooltips toggle is visible.
|
|
33
33
|
*
|
|
34
|
-
* @
|
|
34
|
+
* @internal
|
|
35
35
|
*/
|
|
36
36
|
tooltipsToggle?: boolean;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
|
-
* @
|
|
40
|
+
* @internal
|
|
41
41
|
* @internal
|
|
42
42
|
*/
|
|
43
43
|
export interface SketchTooltipControlsInterface {
|
|
44
|
-
/** @
|
|
44
|
+
/** @internal */
|
|
45
45
|
destroy(): void;
|
|
46
46
|
}
|
|
47
47
|
|
|
@@ -52,7 +52,7 @@ export interface SketchTooltipControlsInterface {
|
|
|
52
52
|
* @param sketchOptions - Determines which sketch options to show, such as labels or tooltips.
|
|
53
53
|
* @param viewType - Type of view; determines whether SegmentLabels toggle will be shown (only for 3D)
|
|
54
54
|
* @returns The created SketchTooltipControls instance.
|
|
55
|
-
* @
|
|
55
|
+
* @internal
|
|
56
56
|
* @internal
|
|
57
57
|
*/
|
|
58
58
|
export function createSketchTooltipControls(visibleElements: VisibleElements, sketchOptions: any, viewType?: "2d" | "3d" | null | undefined): SketchTooltipControlsInterface;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Action utils for Components.
|
|
3
3
|
*
|
|
4
4
|
* @internal
|
|
5
|
+
* @internal
|
|
5
6
|
*/
|
|
6
7
|
import type Graphic from "../../Graphic.js";
|
|
7
8
|
import type MapView from "../../views/MapView.js";
|
|
@@ -13,7 +14,7 @@ import type SceneView from "../../views/SceneView.js";
|
|
|
13
14
|
* @param graphic - The graphic feature to check.
|
|
14
15
|
* @param view - The view associated with the popup.
|
|
15
16
|
* @returns True if the screen size is suitable for zoom actions, otherwise false.
|
|
16
|
-
* @
|
|
17
|
+
* @internal
|
|
17
18
|
* @internal
|
|
18
19
|
*/
|
|
19
20
|
export function isZoomScreenSize(graphic: Graphic | null | undefined, view: MapView | SceneView | null | undefined): Promise<boolean>;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Analysis utility functions for Web Components.
|
|
3
3
|
*
|
|
4
4
|
* @internal
|
|
5
|
+
* @internal
|
|
5
6
|
*/
|
|
6
7
|
import type ElevationProfileAnalysisView2D from "../../views/2d/analysis/ElevationProfileAnalysisView2D.js";
|
|
7
8
|
import type AreaMeasurementAnalysisView3D from "../../views/3d/analysis/AreaMeasurementAnalysisView3D.js";
|
|
@@ -18,7 +19,7 @@ import type { AnalysisViewUnion } from "../../views/analysis/types.js";
|
|
|
18
19
|
* @param analysisView - The analysis view whose `interactive` property is to be forced to `true`.
|
|
19
20
|
* @returns A handle which, when removed, will restore the analysis view to its
|
|
20
21
|
* original interactive state.
|
|
21
|
-
* @
|
|
22
|
+
* @internal
|
|
22
23
|
* @internal
|
|
23
24
|
*/
|
|
24
25
|
export function forceInteractive(analysisView: AnalysisViewUnion): ResourceHandle;
|
|
@@ -28,7 +29,7 @@ export function forceInteractive(analysisView: AnalysisViewUnion): ResourceHandl
|
|
|
28
29
|
*
|
|
29
30
|
* @param length - The length to check.
|
|
30
31
|
* @returns `true` if the specified length is geodesic, `false` otherwise.
|
|
31
|
-
* @
|
|
32
|
+
* @internal
|
|
32
33
|
* @internal
|
|
33
34
|
*/
|
|
34
35
|
export function isAboveGeodesicDistanceThreshold(length: Length): boolean;
|
|
@@ -38,7 +39,7 @@ export function isAboveGeodesicDistanceThreshold(length: Length): boolean;
|
|
|
38
39
|
*
|
|
39
40
|
* @param analysisView - The analysis view to check.
|
|
40
41
|
* @returns `true` if the analysis view contains a valid result, `false` otherwise.
|
|
41
|
-
* @
|
|
42
|
+
* @internal
|
|
42
43
|
* @internal
|
|
43
44
|
*/
|
|
44
45
|
export function hasValidAreaResult(analysisView: AreaMeasurementAnalysisView3D): boolean;
|
|
@@ -47,7 +48,7 @@ export function hasValidAreaResult(analysisView: AreaMeasurementAnalysisView3D):
|
|
|
47
48
|
* Sets the elevation profile to a test configuration which removes timeouts, throtting, etc to make tests faster.
|
|
48
49
|
*
|
|
49
50
|
* @returns A watch handle.
|
|
50
|
-
* @
|
|
51
|
+
* @internal
|
|
51
52
|
* @internal
|
|
52
53
|
*/
|
|
53
54
|
export function setElevationProfileTestConfig(): ResourceHandle;
|
|
@@ -55,81 +56,81 @@ export function setElevationProfileTestConfig(): ResourceHandle;
|
|
|
55
56
|
/**
|
|
56
57
|
* An elevation profile chart.
|
|
57
58
|
*
|
|
58
|
-
* @
|
|
59
|
+
* @internal
|
|
59
60
|
* @internal
|
|
60
61
|
*/
|
|
61
62
|
export interface InternalElevationProfileChart {
|
|
62
63
|
/**
|
|
63
64
|
* The ElevationProfileAnalysisView2D or ElevationProfileAnalysisView3D associated with the chart.
|
|
64
65
|
*
|
|
65
|
-
* @
|
|
66
|
+
* @internal
|
|
66
67
|
*/
|
|
67
68
|
analysisView?: ElevationProfileAnalysisView2D | ElevationProfileAnalysisView3D | null;
|
|
68
69
|
/**
|
|
69
70
|
* Indicates whether the chart should be shown.
|
|
70
71
|
*
|
|
71
|
-
* @
|
|
72
|
+
* @internal
|
|
72
73
|
*/
|
|
73
74
|
chartVisible: boolean;
|
|
74
75
|
/**
|
|
75
76
|
* The messages used in the chart.
|
|
76
77
|
*
|
|
77
|
-
* @
|
|
78
|
+
* @internal
|
|
78
79
|
*/
|
|
79
80
|
messages?: object | null;
|
|
80
81
|
/**
|
|
81
82
|
* Indicates whether the loading spinner should be shown.
|
|
82
83
|
*
|
|
83
|
-
* @
|
|
84
|
+
* @internal
|
|
84
85
|
*/
|
|
85
86
|
spinnerVisible: boolean;
|
|
86
87
|
/**
|
|
87
88
|
* Indicates whether uniform scaling is enabled for the chart axes.
|
|
88
89
|
*
|
|
89
|
-
* @
|
|
90
|
+
* @internal
|
|
90
91
|
*/
|
|
91
92
|
uniformScaling: boolean;
|
|
92
93
|
/**
|
|
93
94
|
* The MapView or SceneView associated with the chart.
|
|
94
95
|
*
|
|
95
|
-
* @
|
|
96
|
+
* @internal
|
|
96
97
|
*/
|
|
97
98
|
view?: MapViewOrSceneView | null;
|
|
98
99
|
/**
|
|
99
100
|
* Destroys the chart and releases resources.
|
|
100
101
|
*
|
|
101
|
-
* @
|
|
102
|
+
* @internal
|
|
102
103
|
*/
|
|
103
104
|
destroy: () => void;
|
|
104
105
|
/**
|
|
105
106
|
* Zooms out the chart to show the full range of data.
|
|
106
107
|
*
|
|
107
|
-
* @
|
|
108
|
+
* @internal
|
|
108
109
|
*/
|
|
109
110
|
zoomOut: () => void;
|
|
110
111
|
/**
|
|
111
112
|
* Testing utilities (only available when the `esri-tests` build flag is set to `true`).
|
|
112
113
|
*
|
|
113
|
-
* @
|
|
114
|
+
* @internal
|
|
114
115
|
*/
|
|
115
116
|
test?: InternalElevationProfileChartTest;
|
|
116
117
|
}
|
|
117
118
|
|
|
118
119
|
/**
|
|
119
|
-
* @
|
|
120
|
+
* @internal
|
|
120
121
|
* @internal
|
|
121
122
|
*/
|
|
122
123
|
export interface InternalElevationProfileChartTest {
|
|
123
124
|
/**
|
|
124
125
|
* Shows the chart tooltip at the specified coordinates.
|
|
125
126
|
*
|
|
126
|
-
* @
|
|
127
|
+
* @internal
|
|
127
128
|
*/
|
|
128
129
|
forceShowTooltipAt: (x: number, y: number) => Promise<void>;
|
|
129
130
|
/**
|
|
130
131
|
* Returns a promise that resolves when the chart is fully ready.
|
|
131
132
|
*
|
|
132
|
-
* @
|
|
133
|
+
* @internal
|
|
133
134
|
*/
|
|
134
135
|
whenReady: () => Promise<void>;
|
|
135
136
|
}
|
|
@@ -140,56 +141,56 @@ export interface InternalElevationProfileChartTest {
|
|
|
140
141
|
*
|
|
141
142
|
* @param parameters
|
|
142
143
|
* @returns The created chart instance.
|
|
143
|
-
* @
|
|
144
|
+
* @internal
|
|
144
145
|
* @internal
|
|
145
146
|
*/
|
|
146
147
|
export function createChart(parameters: InternalCreateChartParameters): Promise<InternalElevationProfileChart>;
|
|
147
148
|
|
|
148
149
|
/**
|
|
149
|
-
* @
|
|
150
|
+
* @internal
|
|
150
151
|
* @internal
|
|
151
152
|
*/
|
|
152
153
|
export interface InternalCreateChartParameters extends AbortOptions {
|
|
153
154
|
/**
|
|
154
155
|
* The container element in which to render the chart.
|
|
155
156
|
*
|
|
156
|
-
* @
|
|
157
|
+
* @internal
|
|
157
158
|
*/
|
|
158
159
|
container: HTMLElement;
|
|
159
160
|
/**
|
|
160
161
|
* The analysis view to associate with the chart.
|
|
161
162
|
*
|
|
162
|
-
* @
|
|
163
|
+
* @internal
|
|
163
164
|
*/
|
|
164
165
|
analysisView?: ElevationProfileAnalysisView2D | ElevationProfileAnalysisView3D | null;
|
|
165
166
|
/**
|
|
166
167
|
* Messages to display in the chart.
|
|
167
168
|
*
|
|
168
|
-
* @
|
|
169
|
+
* @internal
|
|
169
170
|
*/
|
|
170
171
|
messages?: object | null;
|
|
171
172
|
/**
|
|
172
173
|
* Called when the cursor position changes on the chart.
|
|
173
174
|
*
|
|
174
|
-
* @
|
|
175
|
+
* @internal
|
|
175
176
|
*/
|
|
176
177
|
onCursorPositionChange?: null | ((x: number | null | undefined, y: number | null | undefined) => void);
|
|
177
178
|
/**
|
|
178
179
|
* Called when the chart's range changes.
|
|
179
180
|
*
|
|
180
|
-
* @
|
|
181
|
+
* @internal
|
|
181
182
|
*/
|
|
182
183
|
onRangeChange?: null | ((zoomFactorX: number, zoomFactorY: number) => void);
|
|
183
184
|
/**
|
|
184
185
|
* Whether to use uniform scaling for the chart axes.
|
|
185
186
|
*
|
|
186
|
-
* @
|
|
187
|
+
* @internal
|
|
187
188
|
*/
|
|
188
189
|
uniformScaling?: boolean | null;
|
|
189
190
|
/**
|
|
190
191
|
* The MapView or SceneView instance associated with the chart.
|
|
191
192
|
*
|
|
192
|
-
* @
|
|
193
|
+
* @internal
|
|
193
194
|
*/
|
|
194
195
|
view?: MapViewOrSceneView | null;
|
|
195
196
|
}
|