@arcgis/core 5.0.0-next.130 → 5.0.0-next.131
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/1dcd057695f8db79eca2.js +1 -0
- package/assets/esri/core/workers/chunks/1f3074ab4dc6e2eff97e.js +1 -0
- package/assets/esri/core/workers/chunks/{5746140c33cb206ad4b8.js → 22181db586c6ccbcb279.js} +1 -1
- package/assets/esri/core/workers/chunks/58ef550435cef99d99ff.js +1 -0
- package/assets/esri/core/workers/chunks/{56e3c34ebdee61ff4b33.js → 75bf83c6367227712a11.js} +1 -1
- package/assets/esri/core/workers/chunks/844771d532b5352dc848.js +1 -0
- package/assets/esri/core/workers/chunks/{9332db133a0925d522fe.js → b9c9dd3621b92212b104.js} +1 -1
- package/assets/esri/core/workers/chunks/c3e4f8664988e50bda55.js +1 -0
- package/assets/esri/core/workers/chunks/cf100c80b75ba74b479c.js +1 -0
- package/assets/esri/core/workers/chunks/ef8cc520d3977759b80c.js +1 -0
- 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/rest/featureService/FeatureService.js +1 -1
- package/smartMapping/support/utils.js +1 -1
- package/support/revision.js +1 -1
- package/symbols/cim/GeometryWalker.js +1 -1
- package/symbols/cim/effects/EffectDashes.js +1 -1
- package/symbols/cim/placements/PlacementAlongLineSameSize.js +1 -1
- package/symbols/cim/placements/PlacementAtRatioPositions.js +1 -1
- package/symbols/cim/rasterizingUtils.js +1 -1
- package/views/2d/engine/webgl/shaders/sources/shaderRepository.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/interactive/support/utils.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/5a8b3e5977c233d5c9d0.js +0 -1
- package/assets/esri/core/workers/chunks/71ad08a5b69cf2e6714e.js +0 -1
- package/assets/esri/core/workers/chunks/7ec83fc059325e207825.js +0 -1
- package/assets/esri/core/workers/chunks/a7d4d257f49f3b153c26.js +0 -1
- package/assets/esri/core/workers/chunks/bf2bfc0d78be8c185d58.js +0 -1
- package/assets/esri/core/workers/chunks/e081d6f21a2c01ccaf61.js +0 -1
- package/assets/esri/core/workers/chunks/eae1c098c16e2faaf90d.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* General layer utilities for the map viewer application.
|
|
3
3
|
*
|
|
4
|
-
* @
|
|
4
|
+
* @internal
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
7
7
|
import type Layer from "../../layers/Layer.js";
|
|
@@ -12,7 +12,7 @@ import type { FeatureLayerBase } from "../../layers/mixins/FeatureLayerBase.js";
|
|
|
12
12
|
* advertised in its metadata via `preferredHost` property.
|
|
13
13
|
*
|
|
14
14
|
* @param layer - The layer to check.
|
|
15
|
-
* @
|
|
15
|
+
* @internal
|
|
16
16
|
* @internal
|
|
17
17
|
*/
|
|
18
18
|
export function isUrlHostModified(layer: Layer & Partial<FeatureLayerBase>): boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Media layer utilities for the map viewer application.
|
|
3
3
|
*
|
|
4
|
-
* @
|
|
4
|
+
* @internal
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
7
7
|
import type Extent from "../../geometry/Extent.js";
|
|
@@ -15,7 +15,7 @@ import type { MediaElement } from "../../layers/media/types.js";
|
|
|
15
15
|
* @param mediaElement - The media element to create the georeference for.
|
|
16
16
|
* @param extent - The view extent in which fits the georeference.
|
|
17
17
|
* @returns The georeference fitting in the view extent.
|
|
18
|
-
* @
|
|
18
|
+
* @internal
|
|
19
19
|
* @internal
|
|
20
20
|
*/
|
|
21
21
|
export function createDefaultControlPointsGeoreference(mediaElement: MediaElement, extent: Extent): Promise<ControlPointsGeoreference>;
|
|
@@ -26,7 +26,7 @@ export function createDefaultControlPointsGeoreference(mediaElement: MediaElemen
|
|
|
26
26
|
*
|
|
27
27
|
* @param mediaElement - The media element to create the georeference for.
|
|
28
28
|
* @returns A georeference with map points in pixels.
|
|
29
|
-
* @
|
|
29
|
+
* @internal
|
|
30
30
|
* @internal
|
|
31
31
|
*/
|
|
32
32
|
export function createLocalModeControlPointsGeoreference(mediaElement: MediaElement): ControlPointsGeoreference | null | undefined;
|
|
@@ -36,7 +36,7 @@ export function createLocalModeControlPointsGeoreference(mediaElement: MediaElem
|
|
|
36
36
|
*
|
|
37
37
|
* @param properties - Properties
|
|
38
38
|
* @returns A MediaTransformToolsWrapper instance or nil.
|
|
39
|
-
* @
|
|
39
|
+
* @internal
|
|
40
40
|
* @internal
|
|
41
41
|
*/
|
|
42
42
|
export function createMediaTransformToolsWrapper(properties: MediaTransformToolsWrapperProperties): any | null | undefined;
|
|
@@ -44,38 +44,38 @@ export function createMediaTransformToolsWrapper(properties: MediaTransformTools
|
|
|
44
44
|
/**
|
|
45
45
|
* MediaTransformToolsWrapperConstructProperties
|
|
46
46
|
*
|
|
47
|
-
* @
|
|
47
|
+
* @internal
|
|
48
48
|
* @internal
|
|
49
49
|
*/
|
|
50
50
|
export interface MediaTransformToolsWrapperProperties {
|
|
51
51
|
/**
|
|
52
52
|
* The MapView instance
|
|
53
53
|
*
|
|
54
|
-
* @
|
|
54
|
+
* @internal
|
|
55
55
|
*/
|
|
56
56
|
view: MapView;
|
|
57
57
|
/**
|
|
58
58
|
* The ImageElement or VideoElement
|
|
59
59
|
*
|
|
60
|
-
* @
|
|
60
|
+
* @internal
|
|
61
61
|
*/
|
|
62
62
|
mediaElement: MediaElement;
|
|
63
63
|
/**
|
|
64
64
|
* Whether or not to preserve the aspect ration
|
|
65
65
|
*
|
|
66
|
-
* @
|
|
66
|
+
* @internal
|
|
67
67
|
*/
|
|
68
68
|
preserveAspectRatio?: boolean | null;
|
|
69
69
|
/**
|
|
70
70
|
* Should snapping be enabled for rotation?
|
|
71
71
|
*
|
|
72
|
-
* @
|
|
72
|
+
* @internal
|
|
73
73
|
*/
|
|
74
74
|
snapRotation?: boolean | null;
|
|
75
75
|
/**
|
|
76
76
|
* The advanced mode view and media element
|
|
77
77
|
*
|
|
78
|
-
* @
|
|
78
|
+
* @internal
|
|
79
79
|
*/
|
|
80
80
|
advancedMode: AdvancedMediaTransformToolsWrapperProperties;
|
|
81
81
|
}
|
|
@@ -83,20 +83,20 @@ export interface MediaTransformToolsWrapperProperties {
|
|
|
83
83
|
/**
|
|
84
84
|
* AdvancedMediaTransformToolsWrapperConstructProperties
|
|
85
85
|
*
|
|
86
|
-
* @
|
|
86
|
+
* @internal
|
|
87
87
|
* @internal
|
|
88
88
|
*/
|
|
89
89
|
export interface AdvancedMediaTransformToolsWrapperProperties {
|
|
90
90
|
/**
|
|
91
91
|
* The advanced mode MapView instance
|
|
92
92
|
*
|
|
93
|
-
* @
|
|
93
|
+
* @internal
|
|
94
94
|
*/
|
|
95
95
|
view: MapView;
|
|
96
96
|
/**
|
|
97
97
|
* The advanced mode ImageElement or VideoElement
|
|
98
98
|
*
|
|
99
|
-
* @
|
|
99
|
+
* @internal
|
|
100
100
|
*/
|
|
101
101
|
mediaElement: MediaElement;
|
|
102
102
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Table template utilities for the map viewer application.
|
|
3
3
|
*
|
|
4
|
-
* @
|
|
4
|
+
* @internal
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
7
7
|
import type CSVLayer from "../../layers/CSVLayer.js";
|
|
@@ -26,7 +26,7 @@ import type { FeatureTableSupportedLayer } from "../../widgets/FeatureTable/supp
|
|
|
26
26
|
* @param template - Template to update with the provided table.
|
|
27
27
|
* @param includeHiddenColumns - Indicates hidden columns should be included in orderByFields (defaults to true).
|
|
28
28
|
* @returns The updated template.
|
|
29
|
-
* @
|
|
29
|
+
* @internal
|
|
30
30
|
* @internal
|
|
31
31
|
*/
|
|
32
32
|
export function syncAttributeTableTemplate(table: FeatureTable, template: AttributeTableTemplate, includeHiddenColumns?: boolean): AttributeTableTemplate;
|
|
@@ -39,38 +39,38 @@ export function syncAttributeTableTemplate(table: FeatureTable, template: Attrib
|
|
|
39
39
|
*
|
|
40
40
|
* @param options - Method parameters.
|
|
41
41
|
* @returns Newly generated AttributeTableTemplate.
|
|
42
|
-
* @
|
|
42
|
+
* @internal
|
|
43
43
|
* @internal
|
|
44
44
|
*/
|
|
45
45
|
export function createDefaultAttributeTableTemplateFromLayer(options: CreateDefaultAttributeTableTemplateFromLayerOptions): Promise<AttributeTableTemplate>;
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
|
-
* @
|
|
48
|
+
* @internal
|
|
49
49
|
* @internal
|
|
50
50
|
*/
|
|
51
51
|
export interface CreateDefaultAttributeTableTemplateFromLayerOptions {
|
|
52
52
|
/**
|
|
53
53
|
* Layer from which to generate a default template.
|
|
54
54
|
*
|
|
55
|
-
* @
|
|
55
|
+
* @internal
|
|
56
56
|
*/
|
|
57
57
|
layer: CatalogFootprintLayer | CSVLayer | FeatureLayer | GeoJSONLayer | ImageryLayer | KnowledgeGraphSublayer | SceneLayer | WFSLayer;
|
|
58
58
|
/**
|
|
59
59
|
* Indicates 'attachment' columns should be excluded.
|
|
60
60
|
*
|
|
61
|
-
* @
|
|
61
|
+
* @internal
|
|
62
62
|
*/
|
|
63
63
|
excludeAttachments?: boolean;
|
|
64
64
|
/**
|
|
65
65
|
* Indicates 'relationship' columns should be excluded.
|
|
66
66
|
*
|
|
67
|
-
* @
|
|
67
|
+
* @internal
|
|
68
68
|
*/
|
|
69
69
|
excludeRelationships?: boolean;
|
|
70
70
|
/**
|
|
71
71
|
* Indicates field types that should be excluded. Defaults to: ["geometry", "blob", "raster", "guid", "xml"].
|
|
72
72
|
*
|
|
73
|
-
* @
|
|
73
|
+
* @internal
|
|
74
74
|
*/
|
|
75
75
|
excludedFieldTypesOverride?: FieldType[];
|
|
76
76
|
}
|
|
@@ -83,38 +83,38 @@ export interface CreateDefaultAttributeTableTemplateFromLayerOptions {
|
|
|
83
83
|
*
|
|
84
84
|
* @param options - Method parameters.
|
|
85
85
|
* @returns Newly generated TableTemplate.
|
|
86
|
-
* @
|
|
86
|
+
* @internal
|
|
87
87
|
* @internal
|
|
88
88
|
*/
|
|
89
89
|
export function createDefaultTableTemplateFromLayer(options: CreateDefaultTableTemplateFromLayerOptions): Promise<TableTemplate>;
|
|
90
90
|
|
|
91
91
|
/**
|
|
92
|
-
* @
|
|
92
|
+
* @internal
|
|
93
93
|
* @internal
|
|
94
94
|
*/
|
|
95
95
|
export interface CreateDefaultTableTemplateFromLayerOptions {
|
|
96
96
|
/**
|
|
97
97
|
* Layer from which to generate a default template.
|
|
98
98
|
*
|
|
99
|
-
* @
|
|
99
|
+
* @internal
|
|
100
100
|
*/
|
|
101
101
|
layer: FeatureTableSupportedLayer;
|
|
102
102
|
/**
|
|
103
103
|
* Indicates 'attachment' columns should be excluded.
|
|
104
104
|
*
|
|
105
|
-
* @
|
|
105
|
+
* @internal
|
|
106
106
|
*/
|
|
107
107
|
excludeAttachments?: boolean;
|
|
108
108
|
/**
|
|
109
109
|
* Indicates 'relationship' columns should be excluded.
|
|
110
110
|
*
|
|
111
|
-
* @
|
|
111
|
+
* @internal
|
|
112
112
|
*/
|
|
113
113
|
excludeRelationships?: boolean;
|
|
114
114
|
/**
|
|
115
115
|
* Indicates field types that should be excluded. Defaults to: ["geometry", "blob", "raster", "guid", "xml"].
|
|
116
116
|
*
|
|
117
|
-
* @
|
|
117
|
+
* @internal
|
|
118
118
|
*/
|
|
119
119
|
excludedFieldTypesOverride?: FieldType[];
|
|
120
120
|
}
|
|
@@ -128,38 +128,38 @@ export interface CreateDefaultTableTemplateFromLayerOptions {
|
|
|
128
128
|
*
|
|
129
129
|
* @param parameters - Method parameters.
|
|
130
130
|
* @returns Newly generated TableTemplate.
|
|
131
|
-
* @
|
|
131
|
+
* @internal
|
|
132
132
|
* @internal
|
|
133
133
|
*/
|
|
134
134
|
export function createTableTemplateFromAttributeTableTemplate(parameters: CreateTableTemplateFromAttributeTableTemplateParameters): Promise<TableTemplate>;
|
|
135
135
|
|
|
136
136
|
/**
|
|
137
|
-
* @
|
|
137
|
+
* @internal
|
|
138
138
|
* @internal
|
|
139
139
|
*/
|
|
140
140
|
export interface CreateTableTemplateFromAttributeTableTemplateParameters {
|
|
141
141
|
/**
|
|
142
142
|
* Layer from which to generate a default template.
|
|
143
143
|
*
|
|
144
|
-
* @
|
|
144
|
+
* @internal
|
|
145
145
|
*/
|
|
146
146
|
layer: FeatureTableSupportedLayer;
|
|
147
147
|
/**
|
|
148
148
|
* Instance of an AttributeTableTemplate used to configure a new TableTemplate.
|
|
149
149
|
*
|
|
150
|
-
* @
|
|
150
|
+
* @internal
|
|
151
151
|
*/
|
|
152
152
|
template: AttributeTableTemplate;
|
|
153
153
|
/**
|
|
154
154
|
* Indicates columns should be generated for fields without associated elements.
|
|
155
155
|
*
|
|
156
|
-
* @
|
|
156
|
+
* @internal
|
|
157
157
|
*/
|
|
158
158
|
includeHiddenFields?: boolean;
|
|
159
159
|
/**
|
|
160
160
|
* Indicates field types that should be excluded. Defaults to: ["geometry", "blob", "raster", "guid", "xml"].
|
|
161
161
|
*
|
|
162
|
-
* @
|
|
162
|
+
* @internal
|
|
163
163
|
*/
|
|
164
164
|
excludedFieldTypesOverride?: FieldType[];
|
|
165
165
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* General layer utilities for the portal application.
|
|
3
3
|
*
|
|
4
|
-
* @
|
|
4
|
+
* @internal
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
7
7
|
import type FeatureLayer from "../../layers/FeatureLayer.js";
|
|
@@ -11,8 +11,8 @@ import type FeatureLayer from "../../layers/FeatureLayer.js";
|
|
|
11
11
|
*
|
|
12
12
|
* @param layer - The layer to check.
|
|
13
13
|
* @returns `true` if the layer supports field configuration, `false` otherwise.
|
|
14
|
+
* @internal
|
|
14
15
|
* @since 5.0
|
|
15
|
-
* @experimental
|
|
16
16
|
* @internal
|
|
17
17
|
*/
|
|
18
18
|
export function supportsFieldConfiguration(layer: unknown): layer is FeatureLayer;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Color utilities for the Scene Viewer application.
|
|
3
3
|
*
|
|
4
|
-
* @
|
|
4
|
+
* @internal
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
7
7
|
import type Color from "../../Color.js";
|
|
@@ -12,7 +12,7 @@ import type Color from "../../Color.js";
|
|
|
12
12
|
*
|
|
13
13
|
* @param color - Color
|
|
14
14
|
* @returns `true` if color is bright
|
|
15
|
-
* @
|
|
15
|
+
* @internal
|
|
16
16
|
* @internal
|
|
17
17
|
*/
|
|
18
18
|
export function isBright(color: Color): boolean;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Development environment utilities used in the SceneViewer.
|
|
3
3
|
*
|
|
4
4
|
* @internal
|
|
5
|
+
* @internal
|
|
5
6
|
*/
|
|
6
7
|
|
|
7
8
|
/**
|
|
@@ -10,7 +11,7 @@
|
|
|
10
11
|
*
|
|
11
12
|
* @param hostname - the window location hostname,
|
|
12
13
|
* automatically determined if not provided
|
|
13
|
-
* @
|
|
14
|
+
* @internal
|
|
14
15
|
* @internal
|
|
15
16
|
*/
|
|
16
17
|
export function isDevEnvironment(hostname?: string): boolean;
|
|
@@ -21,7 +22,7 @@ export function isDevEnvironment(hostname?: string): boolean;
|
|
|
21
22
|
*
|
|
22
23
|
* @param hostname - the window location hostname,
|
|
23
24
|
* automatically determined if not provided
|
|
24
|
-
* @
|
|
25
|
+
* @internal
|
|
25
26
|
* @internal
|
|
26
27
|
*/
|
|
27
28
|
export function isTelemetryDevEnvironment(hostname?: string): boolean;
|
|
@@ -33,7 +34,7 @@ export function isTelemetryDevEnvironment(hostname?: string): boolean;
|
|
|
33
34
|
* @param url
|
|
34
35
|
* @param hostname - the window location hostname,
|
|
35
36
|
* automatically determined if not provided
|
|
36
|
-
* @
|
|
37
|
+
* @internal
|
|
37
38
|
* @internal
|
|
38
39
|
*/
|
|
39
40
|
export function adjustStaticAGOUrl(url?: string | null | undefined, hostname?: string): string | null | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Various layer utilities for the Scene Viewer application.
|
|
3
3
|
*
|
|
4
|
-
* @
|
|
4
|
+
* @internal
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
7
7
|
import type { OriginName, ReadableOriginName } from "../../core/accessorSupport/types.js";
|
|
@@ -14,7 +14,7 @@ import type { OperationalLayer } from "../../layers/mixins/OperationalLayer.js";
|
|
|
14
14
|
* @param layer - layer.
|
|
15
15
|
* @param property - layer property to revert.
|
|
16
16
|
* @param origin - to revert to.
|
|
17
|
-
* @
|
|
17
|
+
* @internal
|
|
18
18
|
* @internal
|
|
19
19
|
*/
|
|
20
20
|
export function revertLayerProperty(layer: OperationalLayer, property: string, origin: ReadableOriginName): void;
|
|
@@ -25,7 +25,7 @@ export function revertLayerProperty(layer: OperationalLayer, property: string, o
|
|
|
25
25
|
* @param layer - layer.
|
|
26
26
|
* @param property - layer property to revert.
|
|
27
27
|
* @returns origin of property.
|
|
28
|
-
* @
|
|
28
|
+
* @internal
|
|
29
29
|
* @internal
|
|
30
30
|
*/
|
|
31
31
|
export function originOfLayerProperty(layer: OperationalLayer, property: string): OriginName | null | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Various utilities for the Scene Viewer application.
|
|
3
3
|
*
|
|
4
|
-
* @
|
|
4
|
+
* @internal
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
7
7
|
import type Graphic from "../../Graphic.js";
|
|
@@ -20,47 +20,47 @@ import type EditorViewModel from "../../widgets/Editor/EditorViewModel.js";
|
|
|
20
20
|
import type { Unit } from "../../core/units.js";
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
|
-
* @
|
|
23
|
+
* @internal
|
|
24
24
|
* @internal
|
|
25
25
|
*/
|
|
26
26
|
export interface DefaultsFromMapRequiredComponents {
|
|
27
|
-
/** @
|
|
27
|
+
/** @internal */
|
|
28
28
|
tileInfo: boolean;
|
|
29
|
-
/** @
|
|
29
|
+
/** @internal */
|
|
30
30
|
heightModelInfo: boolean;
|
|
31
|
-
/** @
|
|
31
|
+
/** @internal */
|
|
32
32
|
extent: boolean;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
/**
|
|
36
36
|
* Settings to be used for the `defaultsFromMap` of a view.
|
|
37
37
|
*
|
|
38
|
-
* @
|
|
38
|
+
* @internal
|
|
39
39
|
* @internal
|
|
40
40
|
*/
|
|
41
41
|
export interface DefaultsFromMapSettings {
|
|
42
42
|
/**
|
|
43
43
|
* The default spatial reference.
|
|
44
44
|
*
|
|
45
|
-
* @
|
|
45
|
+
* @internal
|
|
46
46
|
*/
|
|
47
47
|
defaultSpatialReference?: SpatialReference;
|
|
48
48
|
/**
|
|
49
49
|
* Function which checks if a spatial reference is supported.
|
|
50
50
|
*
|
|
51
|
-
* @
|
|
51
|
+
* @internal
|
|
52
52
|
*/
|
|
53
53
|
isSpatialReferenceSupported?: IsSpatialReferenceSupportedCallback;
|
|
54
54
|
/**
|
|
55
55
|
* Layers to prioritize.
|
|
56
56
|
*
|
|
57
|
-
* @
|
|
57
|
+
* @internal
|
|
58
58
|
*/
|
|
59
59
|
priorityLayers?: Layer[];
|
|
60
60
|
/**
|
|
61
61
|
* The required components.
|
|
62
62
|
*
|
|
63
|
-
* @
|
|
63
|
+
* @internal
|
|
64
64
|
*/
|
|
65
65
|
required?: DefaultsFromMapRequiredComponents;
|
|
66
66
|
}
|
|
@@ -71,7 +71,7 @@ export interface DefaultsFromMapSettings {
|
|
|
71
71
|
* @param spatialReference - The spatial reference to check.
|
|
72
72
|
* @param layer - The layer to check.
|
|
73
73
|
* @returns `true` if the spatial reference is supported.
|
|
74
|
-
* @
|
|
74
|
+
* @internal
|
|
75
75
|
* @internal
|
|
76
76
|
*/
|
|
77
77
|
export type IsSpatialReferenceSupportedCallback = (spatialReference: SpatialReference, layer?: Layer) => boolean;
|
|
@@ -81,7 +81,7 @@ export type IsSpatialReferenceSupportedCallback = (spatialReference: SpatialRefe
|
|
|
81
81
|
*
|
|
82
82
|
* @param view
|
|
83
83
|
* @param settings
|
|
84
|
-
* @
|
|
84
|
+
* @internal
|
|
85
85
|
* @internal
|
|
86
86
|
*/
|
|
87
87
|
export function setDefaultsFromMapSettings(view: SceneView, settings: DefaultsFromMapSettings): void;
|
|
@@ -92,7 +92,7 @@ export function setDefaultsFromMapSettings(view: SceneView, settings: DefaultsFr
|
|
|
92
92
|
* to discard their changes.
|
|
93
93
|
*
|
|
94
94
|
* @param viewModel - view model.
|
|
95
|
-
* @
|
|
95
|
+
* @internal
|
|
96
96
|
* @internal
|
|
97
97
|
*/
|
|
98
98
|
export function editorNavigateBack(viewModel: EditorViewModel): Promise<void>;
|
|
@@ -102,7 +102,7 @@ export function editorNavigateBack(viewModel: EditorViewModel): Promise<void>;
|
|
|
102
102
|
* discarded/destroyed (e.g. when navigating to another pane in the SceneViewer).
|
|
103
103
|
*
|
|
104
104
|
* @param viewModel - view model.
|
|
105
|
-
* @
|
|
105
|
+
* @internal
|
|
106
106
|
* @internal
|
|
107
107
|
*/
|
|
108
108
|
export function editorHasPendingEdits(viewModel: EditorViewModel): boolean;
|
|
@@ -112,7 +112,7 @@ export function editorHasPendingEdits(viewModel: EditorViewModel): boolean;
|
|
|
112
112
|
*
|
|
113
113
|
* @param warningMessage - A warning message for the end user.
|
|
114
114
|
* @param error - The returned error message.
|
|
115
|
-
* @
|
|
115
|
+
* @internal
|
|
116
116
|
* @internal
|
|
117
117
|
*/
|
|
118
118
|
export function saveStateWarning(warningMessage: string, error: any): void;
|
|
@@ -120,7 +120,7 @@ export function saveStateWarning(warningMessage: string, error: any): void;
|
|
|
120
120
|
/**
|
|
121
121
|
* @param url - URL to the hosted AGOL service.
|
|
122
122
|
* @returns Indicates whether the service is an AGOL service.
|
|
123
|
-
* @
|
|
123
|
+
* @internal
|
|
124
124
|
* @internal
|
|
125
125
|
*/
|
|
126
126
|
export function isHostedAgolServiceUrl(url: string): boolean;
|
|
@@ -133,7 +133,7 @@ export function isHostedAgolServiceUrl(url: string): boolean;
|
|
|
133
133
|
* @param height - height
|
|
134
134
|
* @param options - additional options
|
|
135
135
|
* @returns if it is an hosted AGOL service.
|
|
136
|
-
* @
|
|
136
|
+
* @internal
|
|
137
137
|
* @internal
|
|
138
138
|
*/
|
|
139
139
|
export function renderSVG(swatch: any[][], width: number, height: number, options?: any): any;
|
|
@@ -145,7 +145,7 @@ export function renderSVG(swatch: any[][], width: number, height: number, option
|
|
|
145
145
|
*
|
|
146
146
|
* @param webscene - The webscene to be checked.
|
|
147
147
|
* @returns `true` if the webscene can be copied, `false` otherwise.
|
|
148
|
-
* @
|
|
148
|
+
* @internal
|
|
149
149
|
* @internal
|
|
150
150
|
*/
|
|
151
151
|
export function canSaveAs(webscene: WebScene): boolean;
|
|
@@ -156,7 +156,7 @@ export function canSaveAs(webscene: WebScene): boolean;
|
|
|
156
156
|
* @param spatialReference - The spatial reference to check.
|
|
157
157
|
* @param viewingMode - The viewing mode to check.
|
|
158
158
|
* @returns `true` if the provided spatial reference is supported in the provided viewing mode, `false` otherwise.
|
|
159
|
-
* @
|
|
159
|
+
* @internal
|
|
160
160
|
* @internal
|
|
161
161
|
*/
|
|
162
162
|
export function isSpatialReferenceSupported(spatialReference: SpatialReference, viewingMode: "global" | "local"): boolean;
|
|
@@ -167,7 +167,7 @@ export function isSpatialReferenceSupported(spatialReference: SpatialReference,
|
|
|
167
167
|
* @param tileInfo - input tileInfo to be compatible with
|
|
168
168
|
* @param expectedTileSize - the expected tile size.
|
|
169
169
|
* @returns the tileInfo with the correct tile size.
|
|
170
|
-
* @
|
|
170
|
+
* @internal
|
|
171
171
|
* @internal
|
|
172
172
|
*/
|
|
173
173
|
export function getCompatibleTileInfoForVTL(tileInfo: TileInfo, expectedTileSize: 256 | 512): TileInfo | null | undefined;
|
|
@@ -177,7 +177,7 @@ export function getCompatibleTileInfoForVTL(tileInfo: TileInfo, expectedTileSize
|
|
|
177
177
|
*
|
|
178
178
|
* @param tileInfo - tileInfo to create TilingScheme
|
|
179
179
|
* @returns the tiling scheme
|
|
180
|
-
* @
|
|
180
|
+
* @internal
|
|
181
181
|
* @internal
|
|
182
182
|
*/
|
|
183
183
|
export function createTilingScheme(tileInfo: TileInfo): any;
|
|
@@ -187,7 +187,7 @@ export function createTilingScheme(tileInfo: TileInfo): any;
|
|
|
187
187
|
*
|
|
188
188
|
* @param tileInfo - tileInfo to check
|
|
189
189
|
* @returns `true` if the given `tileInfo` is supported.
|
|
190
|
-
* @
|
|
190
|
+
* @internal
|
|
191
191
|
* @internal
|
|
192
192
|
*/
|
|
193
193
|
export function isSupportedTileInfo(tileInfo: TileInfo): boolean;
|
|
@@ -196,7 +196,7 @@ export function isSupportedTileInfo(tileInfo: TileInfo): boolean;
|
|
|
196
196
|
* Initializes all the schema validators so that validation is performed when saving web scenes or
|
|
197
197
|
* layers.
|
|
198
198
|
*
|
|
199
|
-
* @
|
|
199
|
+
* @internal
|
|
200
200
|
* @internal
|
|
201
201
|
*/
|
|
202
202
|
export function initializeSchemaValidators(): void;
|
|
@@ -206,7 +206,7 @@ export function initializeSchemaValidators(): void;
|
|
|
206
206
|
*
|
|
207
207
|
* @param saveError - error thrown during webscene serialization.
|
|
208
208
|
* @returns `true` if the error is a schema validation error.
|
|
209
|
-
* @
|
|
209
|
+
* @internal
|
|
210
210
|
* @internal
|
|
211
211
|
*/
|
|
212
212
|
export function isSchemaValidationError(saveError: EsriError): boolean;
|
|
@@ -216,7 +216,7 @@ export function isSchemaValidationError(saveError: EsriError): boolean;
|
|
|
216
216
|
*
|
|
217
217
|
* @param view
|
|
218
218
|
* @returns The start position of the drag while zooming.
|
|
219
|
-
* @
|
|
219
|
+
* @internal
|
|
220
220
|
* @internal
|
|
221
221
|
*/
|
|
222
222
|
export function zoomDragBeginPoint(view: SceneView): number[] | null | undefined;
|
|
@@ -225,7 +225,7 @@ export function zoomDragBeginPoint(view: SceneView): number[] | null | undefined
|
|
|
225
225
|
* Helper function to close a catalog layer in the layer list.
|
|
226
226
|
*
|
|
227
227
|
* @param layerList
|
|
228
|
-
* @
|
|
228
|
+
* @internal
|
|
229
229
|
* @internal
|
|
230
230
|
*/
|
|
231
231
|
export function closeCatalogLayer(layerList: LayerList): void;
|
|
@@ -236,7 +236,7 @@ export function closeCatalogLayer(layerList: LayerList): void;
|
|
|
236
236
|
* @param layerView
|
|
237
237
|
* @param graphics
|
|
238
238
|
* @returns The graphics populated with popup attributes.
|
|
239
|
-
* @
|
|
239
|
+
* @internal
|
|
240
240
|
* @internal
|
|
241
241
|
*/
|
|
242
242
|
export function fetchPopupFeaturesFromGraphics(layerView: LayerView | BuildingComponentSublayerView, graphics: Graphic[]): Promise<Graphic[]>;
|
|
@@ -248,7 +248,7 @@ export function fetchPopupFeaturesFromGraphics(layerView: LayerView | BuildingCo
|
|
|
248
248
|
* @param srcUnit
|
|
249
249
|
* @param destUnit
|
|
250
250
|
* @returns The converted quantity based on the destination unit.
|
|
251
|
-
* @
|
|
251
|
+
* @internal
|
|
252
252
|
* @internal
|
|
253
253
|
*/
|
|
254
254
|
export function convertToUnit(quantity: number, srcUnit: Unit, destUnit: Unit): number;
|
|
@@ -257,7 +257,7 @@ export function convertToUnit(quantity: number, srcUnit: Unit, destUnit: Unit):
|
|
|
257
257
|
* Helper function to remove the html element (container) from a widget.
|
|
258
258
|
*
|
|
259
259
|
* @param widget
|
|
260
|
-
* @
|
|
260
|
+
* @internal
|
|
261
261
|
* @internal
|
|
262
262
|
*/
|
|
263
263
|
export function removeWidgetContainer(widget: Widget): void;
|
|
@@ -265,7 +265,7 @@ export function removeWidgetContainer(widget: Widget): void;
|
|
|
265
265
|
/**
|
|
266
266
|
* Helper function to get the widgets rendered with JSX.
|
|
267
267
|
*
|
|
268
|
-
* @
|
|
268
|
+
* @internal
|
|
269
269
|
* @internal
|
|
270
270
|
*/
|
|
271
271
|
export function getJsxWidgetMap(): Map<HTMLElement, Widget>;
|
|
@@ -273,7 +273,7 @@ export function getJsxWidgetMap(): Map<HTMLElement, Widget>;
|
|
|
273
273
|
/**
|
|
274
274
|
* Helper function to get the symbol to access the projector on the JSX widget.
|
|
275
275
|
*
|
|
276
|
-
* @
|
|
276
|
+
* @internal
|
|
277
277
|
* @internal
|
|
278
278
|
*/
|
|
279
279
|
export function getWidgetTestDataSymbol(): symbol;
|
|
@@ -284,7 +284,7 @@ export function getWidgetTestDataSymbol(): symbol;
|
|
|
284
284
|
*
|
|
285
285
|
* @param viewType
|
|
286
286
|
* @returns An error if the client does not fulfill the WebGL requirements.
|
|
287
|
-
* @
|
|
287
|
+
* @internal
|
|
288
288
|
* @internal
|
|
289
289
|
*/
|
|
290
290
|
export function checkWebGLRequirements(viewType: "2d" | "3d"): EsriError | null | undefined;
|
|
@@ -294,7 +294,7 @@ export function checkWebGLRequirements(viewType: "2d" | "3d"): EsriError | null
|
|
|
294
294
|
*
|
|
295
295
|
* @param graphic
|
|
296
296
|
* @returns The source BuildingComponentSublayer of the graphic.
|
|
297
|
-
* @
|
|
297
|
+
* @internal
|
|
298
298
|
* @internal
|
|
299
299
|
*/
|
|
300
300
|
export function getSourceLayerFromBuildingComponentSublayerGraphic(graphic: Graphic): BuildingComponentSublayer | null | undefined;
|
|
@@ -304,7 +304,7 @@ export function getSourceLayerFromBuildingComponentSublayerGraphic(graphic: Grap
|
|
|
304
304
|
*
|
|
305
305
|
* @param graphic
|
|
306
306
|
* @param sublayer
|
|
307
|
-
* @
|
|
307
|
+
* @internal
|
|
308
308
|
* @internal
|
|
309
309
|
*/
|
|
310
310
|
export function setSourceLayerOfBuildingComponentSublayerGraphic(graphic: Graphic, sublayer: BuildingComponentSublayer): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Symbol utilities for the Scene Viewer application.
|
|
3
3
|
*
|
|
4
|
-
* @
|
|
4
|
+
* @internal
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
7
7
|
import type ObjectSymbol3DLayer from "../../symbols/ObjectSymbol3DLayer.js";
|
|
@@ -12,7 +12,7 @@ import type ObjectSymbol3DLayer from "../../symbols/ObjectSymbol3DLayer.js";
|
|
|
12
12
|
*
|
|
13
13
|
* @param symbolLayer - the symbol layer.
|
|
14
14
|
* @returns an array containing the width, height and depth of the object symbol layer resource.
|
|
15
|
-
* @
|
|
15
|
+
* @internal
|
|
16
16
|
* @internal
|
|
17
17
|
*/
|
|
18
18
|
export function computeObjectLayerSize(symbolLayer: ObjectSymbol3DLayer): Promise<readonly number[]>;
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import type LinePattern3D from "../../symbols/patterns/LinePattern3D.js";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
+
* @internal
|
|
4
5
|
* @since 5.0
|
|
5
|
-
* @experimental
|
|
6
6
|
* @internal
|
|
7
7
|
*/
|
|
8
8
|
export interface LineImagePattern3DProperties {}
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
|
+
* @internal
|
|
11
12
|
* @since 5.0
|
|
12
|
-
* @experimental
|
|
13
13
|
* @internal
|
|
14
14
|
*/
|
|
15
15
|
export default class LineImagePattern3D extends LinePattern3D {
|
|
16
|
+
/** @internal */
|
|
16
17
|
constructor(properties?: LineImagePattern3DProperties);
|
|
17
18
|
}
|