@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
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* To the maximum extent possible, ArcGIS Knowledge Studio should use the same public interface as
|
|
7
7
|
* PS/3rd part developers.
|
|
8
8
|
*
|
|
9
|
-
* @
|
|
9
|
+
* @internal
|
|
10
10
|
* @internal
|
|
11
11
|
*/
|
|
12
12
|
import type WebLinkChart from "../../WebLinkChart.js";
|
|
@@ -21,65 +21,65 @@ import type { RequestOptions } from "../../request/types.js";
|
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* @param extent
|
|
24
|
-
* @
|
|
24
|
+
* @internal
|
|
25
25
|
* @internal
|
|
26
26
|
*/
|
|
27
27
|
export function extentToInBoundsRings(extent: Extent): number[][][];
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
|
-
* @
|
|
30
|
+
* @internal
|
|
31
31
|
* @internal
|
|
32
32
|
*/
|
|
33
33
|
export interface BindParametersFromCypherQueryResult {
|
|
34
|
-
/** @
|
|
34
|
+
/** @internal */
|
|
35
35
|
bindParameters: string[];
|
|
36
|
-
/** @
|
|
36
|
+
/** @internal */
|
|
37
37
|
parseErrors: RecognizerError[] | null;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
/**
|
|
41
|
-
* @
|
|
41
|
+
* @internal
|
|
42
42
|
* @internal
|
|
43
43
|
*/
|
|
44
44
|
export interface RecognizerError {
|
|
45
|
-
/** @
|
|
45
|
+
/** @internal */
|
|
46
46
|
line: number;
|
|
47
|
-
/** @
|
|
47
|
+
/** @internal */
|
|
48
48
|
column: number;
|
|
49
|
-
/** @
|
|
49
|
+
/** @internal */
|
|
50
50
|
msg: string;
|
|
51
|
-
/** @
|
|
51
|
+
/** @internal */
|
|
52
52
|
e?: any;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
/**
|
|
56
56
|
* @param query
|
|
57
|
-
* @
|
|
57
|
+
* @internal
|
|
58
58
|
* @internal
|
|
59
59
|
*/
|
|
60
60
|
export function getBindParametersFromCypherQuery(query: string): Promise<BindParametersFromCypherQueryResult>;
|
|
61
61
|
|
|
62
62
|
/**
|
|
63
63
|
* @param properties
|
|
64
|
-
* @
|
|
64
|
+
* @internal
|
|
65
65
|
* @internal
|
|
66
66
|
*/
|
|
67
67
|
export function newLinkChartLayerWithOptimizedGeometry(properties?: LinkChartLayerWithOptimizedGeometryProperties): LinkChartLayer;
|
|
68
68
|
|
|
69
69
|
/**
|
|
70
|
-
* @
|
|
70
|
+
* @internal
|
|
71
71
|
* @internal
|
|
72
72
|
*/
|
|
73
73
|
export type LinkChartLayerWithOptimizedGeometryProperties = Omit<LinkChartLayerProperties, "initializationInclusionModeDefinition">
|
|
74
74
|
& {
|
|
75
|
-
/** @
|
|
75
|
+
/** @internal */
|
|
76
76
|
initializationInclusionModeDefinition?: InclusionModeDefinitionOptimizedGeometry;
|
|
77
77
|
};
|
|
78
78
|
|
|
79
79
|
/**
|
|
80
80
|
* Defines the sublayer structure and the named types that will be in the KnowledgeGraphLayer
|
|
81
81
|
*
|
|
82
|
-
* @
|
|
82
|
+
* @internal
|
|
83
83
|
* @internal
|
|
84
84
|
*/
|
|
85
85
|
export interface InclusionModeDefinitionOptimizedGeometry {
|
|
@@ -88,20 +88,20 @@ export interface InclusionModeDefinitionOptimizedGeometry {
|
|
|
88
88
|
* regardless of whether or not they are included in the `namedTypeDefinition`. If `true` all named types ([EntityType](https://developers.arcgis.com/javascript/latest/references/core/rest/knowledgeGraph/EntityType/) and
|
|
89
89
|
* [RelationshipType](https://developers.arcgis.com/javascript/latest/references/core/rest/knowledgeGraph/RelationshipType/)) will be added as an empty sublayer.
|
|
90
90
|
*
|
|
91
|
-
* @
|
|
91
|
+
* @internal
|
|
92
92
|
*/
|
|
93
93
|
generateAllSublayers: boolean;
|
|
94
94
|
/**
|
|
95
95
|
* A map of named types and the specific instances
|
|
96
96
|
* of those types to include in the layer.
|
|
97
97
|
*
|
|
98
|
-
* @
|
|
98
|
+
* @internal
|
|
99
99
|
*/
|
|
100
100
|
namedTypeDefinitions: Map<string, LayerInclusionDefinition>;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
/**
|
|
104
|
-
* @
|
|
104
|
+
* @internal
|
|
105
105
|
* @internal
|
|
106
106
|
*/
|
|
107
107
|
export interface LayerInclusionDefinition {
|
|
@@ -109,14 +109,14 @@ export interface LayerInclusionDefinition {
|
|
|
109
109
|
* If `true` all of the instances of the named type will be included regardless of if there is a defined list of members.
|
|
110
110
|
* If `false` only the instances specified in the `members` property will be included.
|
|
111
111
|
*
|
|
112
|
-
* @
|
|
112
|
+
* @internal
|
|
113
113
|
*/
|
|
114
114
|
useAllData: boolean;
|
|
115
115
|
/**
|
|
116
116
|
* A map of the specific members of the named type to be included.
|
|
117
117
|
* The key is the global ID of the instance.
|
|
118
118
|
*
|
|
119
|
-
* @
|
|
119
|
+
* @internal
|
|
120
120
|
*/
|
|
121
121
|
members?: Map<string, LayerInclusionMemberDefinition>;
|
|
122
122
|
}
|
|
@@ -124,20 +124,20 @@ export interface LayerInclusionDefinition {
|
|
|
124
124
|
/**
|
|
125
125
|
* Defines the list of `members` for a named type in the [InclusionModeDefinitionOptimizedGeometry](https://developers.arcgis.com/javascript/latest/references/core/applications/KnowledgeStudio/generalSharedKgUtils/#InclusionModeDefinitionOptimizedGeometry).
|
|
126
126
|
*
|
|
127
|
-
* @
|
|
127
|
+
* @internal
|
|
128
128
|
* @internal
|
|
129
129
|
*/
|
|
130
130
|
export interface LayerInclusionMemberDefinition {
|
|
131
131
|
/**
|
|
132
132
|
* The global ID of the specific instance of the named type to be included in the layer.
|
|
133
133
|
*
|
|
134
|
-
* @
|
|
134
|
+
* @internal
|
|
135
135
|
*/
|
|
136
136
|
id: string;
|
|
137
137
|
/**
|
|
138
138
|
* The exact point location of the entity on the LinkChart.
|
|
139
139
|
*
|
|
140
|
-
* @
|
|
140
|
+
* @internal
|
|
141
141
|
*/
|
|
142
142
|
linkChartLocation?: Point | OptimizedGeometry;
|
|
143
143
|
}
|
|
@@ -145,13 +145,13 @@ export interface LayerInclusionMemberDefinition {
|
|
|
145
145
|
/**
|
|
146
146
|
* An alternative geometry format for serialized geometries
|
|
147
147
|
*
|
|
148
|
-
* @
|
|
148
|
+
* @internal
|
|
149
149
|
* @internal
|
|
150
150
|
*/
|
|
151
151
|
export interface OptimizedGeometry {
|
|
152
|
-
/** @
|
|
152
|
+
/** @internal */
|
|
153
153
|
lengths: number[];
|
|
154
|
-
/** @
|
|
154
|
+
/** @internal */
|
|
155
155
|
coords: number[];
|
|
156
156
|
}
|
|
157
157
|
|
|
@@ -159,7 +159,7 @@ export interface OptimizedGeometry {
|
|
|
159
159
|
* @param graphType
|
|
160
160
|
* @param graphTypeName
|
|
161
161
|
* @param displayLabelProperty
|
|
162
|
-
* @
|
|
162
|
+
* @internal
|
|
163
163
|
* @internal
|
|
164
164
|
*/
|
|
165
165
|
export function getDefaultLinkChartSublayerLabelingInfos(graphType: "entity" | "relationship", graphTypeName: string, displayLabelProperty: string): LabelClass[] | null | undefined;
|
|
@@ -168,7 +168,7 @@ export function getDefaultLinkChartSublayerLabelingInfos(graphType: "entity" | "
|
|
|
168
168
|
* @param graphTypeName
|
|
169
169
|
* @param geometryType
|
|
170
170
|
* @param displayLabelProperty
|
|
171
|
-
* @
|
|
171
|
+
* @internal
|
|
172
172
|
* @internal
|
|
173
173
|
*/
|
|
174
174
|
export function getDefaultKnowledgeSublayerLabelingInfos(graphTypeName: string, geometryType: "point" | "multipoint" | "polyline" | "polygon" | null | undefined, displayLabelProperty: string): LabelClass[] | null | undefined;
|
|
@@ -180,20 +180,20 @@ export function getDefaultKnowledgeSublayerLabelingInfos(graphTypeName: string,
|
|
|
180
180
|
* @param kg - The knowledge graph service that contains the relationships.
|
|
181
181
|
* @param options
|
|
182
182
|
* @returns Returns the origin and destination entity and named types for each relationship.
|
|
183
|
-
* @
|
|
183
|
+
* @internal
|
|
184
184
|
* @internal
|
|
185
185
|
*/
|
|
186
186
|
export function studioGetRelationshipEndNodeIds(records: IdTypePair[], kg: KnowledgeGraph, options?: StudioGetRelationshipEndNodeIdsOptions): Promise<IdTypePair[]>;
|
|
187
187
|
|
|
188
188
|
/**
|
|
189
|
-
* @
|
|
189
|
+
* @internal
|
|
190
190
|
* @internal
|
|
191
191
|
*/
|
|
192
192
|
export interface StudioGetRelationshipEndNodeIdsOptions {
|
|
193
193
|
/**
|
|
194
194
|
* Additional [options](https://developers.arcgis.com/javascript/latest/references/core/request/types/#RequestOptions) to be used for the data request.
|
|
195
195
|
*
|
|
196
|
-
* @
|
|
196
|
+
* @internal
|
|
197
197
|
*/
|
|
198
198
|
requestOptions?: RequestOptions;
|
|
199
199
|
}
|
|
@@ -205,7 +205,7 @@ export interface StudioGetRelationshipEndNodeIdsOptions {
|
|
|
205
205
|
* @param kg - The knowledge graph containing the relationships.
|
|
206
206
|
* @param options
|
|
207
207
|
* @returns Returns the relationship id, and the origin and destination ids.
|
|
208
|
-
* @
|
|
208
|
+
* @internal
|
|
209
209
|
* @internal
|
|
210
210
|
*/
|
|
211
211
|
export function studioGetRelationshipEndNodeMap(records: IdTypePair[], kg: KnowledgeGraph, options?: StudioGetRelationshipEndNodeMapOptions): Promise<Map<string, [
|
|
@@ -214,14 +214,14 @@ export function studioGetRelationshipEndNodeMap(records: IdTypePair[], kg: Knowl
|
|
|
214
214
|
]>>;
|
|
215
215
|
|
|
216
216
|
/**
|
|
217
|
-
* @
|
|
217
|
+
* @internal
|
|
218
218
|
* @internal
|
|
219
219
|
*/
|
|
220
220
|
export interface StudioGetRelationshipEndNodeMapOptions {
|
|
221
221
|
/**
|
|
222
222
|
* Additional [options](https://developers.arcgis.com/javascript/latest/references/core/request/types/#RequestOptions) to be used for the data request.
|
|
223
223
|
*
|
|
224
|
-
* @
|
|
224
|
+
* @internal
|
|
225
225
|
*/
|
|
226
226
|
requestOptions?: RequestOptions;
|
|
227
227
|
}
|
|
@@ -230,7 +230,7 @@ export interface StudioGetRelationshipEndNodeMapOptions {
|
|
|
230
230
|
* Returns a map of origin and destination entities for specific relationships.
|
|
231
231
|
*
|
|
232
232
|
* @param json - The JSON representation of a WebLinkChart.
|
|
233
|
-
* @
|
|
233
|
+
* @internal
|
|
234
234
|
* @internal
|
|
235
235
|
*/
|
|
236
236
|
export function webLinkChartFromJSON(json: any): WebLinkChart;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* To the maximum extent possible, ArcGIS Knowledge Studio should use the same public interface as
|
|
7
7
|
* PS/3rd part developers.
|
|
8
8
|
*
|
|
9
|
-
* @
|
|
9
|
+
* @internal
|
|
10
10
|
* @internal
|
|
11
11
|
*/
|
|
12
12
|
import type KnowledgeGraphLayer from "../../layers/KnowledgeGraphLayer.js";
|
|
@@ -17,7 +17,7 @@ import type { OriginName } from "../../core/accessorSupport/types.js";
|
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* @param layer - The layer to get the inclusion definition from.
|
|
20
|
-
* @
|
|
20
|
+
* @internal
|
|
21
21
|
* @since 4.32
|
|
22
22
|
* @internal
|
|
23
23
|
*/
|
|
@@ -25,7 +25,7 @@ export function getInclusionDefinitionFromLayer(layer: KnowledgeGraphLayer | Lin
|
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* @param layer - The layer to get the inclusion definition from.
|
|
28
|
-
* @
|
|
28
|
+
* @internal
|
|
29
29
|
* @since 4.32
|
|
30
30
|
* @internal
|
|
31
31
|
*/
|
|
@@ -34,7 +34,7 @@ export function removeInclusionDefinitionFromLayer(layer: KnowledgeGraphLayer):
|
|
|
34
34
|
/**
|
|
35
35
|
* @param layer - The layer to add the inclusion definition to.
|
|
36
36
|
* @param inclusionDefinition - The inclusion definition to add to the layer.
|
|
37
|
-
* @
|
|
37
|
+
* @internal
|
|
38
38
|
* @internal
|
|
39
39
|
*/
|
|
40
40
|
export function addInclusionDefinitionToLayer(layer: KnowledgeGraphLayer, inclusionDefinition: InclusionModeDefinitionOptimizedGeometry): void;
|
|
@@ -43,14 +43,14 @@ export function addInclusionDefinitionToLayer(layer: KnowledgeGraphLayer, inclus
|
|
|
43
43
|
* @param layer - The layer to read the JSON onto itself
|
|
44
44
|
* @param json
|
|
45
45
|
* @param originName
|
|
46
|
-
* @
|
|
46
|
+
* @internal
|
|
47
47
|
* @internal
|
|
48
48
|
*/
|
|
49
49
|
export function readKnowledgeLayerJSON(layer: KnowledgeGraphLayer | LinkChartLayer | KnowledgeGraphSublayer, json: any, originName: OriginName): void;
|
|
50
50
|
|
|
51
51
|
/**
|
|
52
52
|
* @param sublayer - The sublayer to convert to JSON.
|
|
53
|
-
* @
|
|
53
|
+
* @internal
|
|
54
54
|
* @internal
|
|
55
55
|
*/
|
|
56
56
|
export function kgSublayerToJSON(sublayer: KnowledgeGraphSublayer): any;
|
|
@@ -58,20 +58,20 @@ export function kgSublayerToJSON(sublayer: KnowledgeGraphSublayer): any;
|
|
|
58
58
|
/**
|
|
59
59
|
* @param sublayer - The sublayer to get the origin ID from.
|
|
60
60
|
* @param propertyName - The property name to get the origin ID for.
|
|
61
|
-
* @
|
|
61
|
+
* @internal
|
|
62
62
|
* @internal
|
|
63
63
|
*/
|
|
64
64
|
export function originIdOfPropertyOnSublayer(sublayer: KnowledgeGraphSublayer, propertyName: string): OriginId;
|
|
65
65
|
|
|
66
66
|
/**
|
|
67
|
-
* @
|
|
67
|
+
* @internal
|
|
68
68
|
* @internal
|
|
69
69
|
*/
|
|
70
70
|
export type OriginId = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7;
|
|
71
71
|
|
|
72
72
|
/**
|
|
73
73
|
* @param sublayer - The sublayer to get the privileges from.
|
|
74
|
-
* @
|
|
74
|
+
* @internal
|
|
75
75
|
* @internal
|
|
76
76
|
*/
|
|
77
77
|
export function getKgSublayerPrivileges(sublayer: KnowledgeGraphSublayer): {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* A utility method for getting a Reshape instance with support for connected reshaping.
|
|
3
3
|
*
|
|
4
|
-
* @
|
|
4
|
+
* @internal
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
7
7
|
import type Graphic from "../../Graphic.js";
|
|
@@ -18,38 +18,38 @@ import type LinkChartView from "../../views/LinkChartView.js";
|
|
|
18
18
|
import type { ResourceHandle } from "../../core/Handles.js";
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
|
-
* @
|
|
21
|
+
* @internal
|
|
22
22
|
* @internal
|
|
23
23
|
*/
|
|
24
24
|
export interface ReshapeInterface {
|
|
25
25
|
/**
|
|
26
26
|
* An array of `ConnectedReshapeProviderFactory` objects that provide connected reshape functionality for the reshape operation.
|
|
27
27
|
*
|
|
28
|
-
* @
|
|
28
|
+
* @internal
|
|
29
29
|
*/
|
|
30
30
|
connectedReshapeProviders?: ConnectedReshapeProviderFactory[] | null;
|
|
31
31
|
/**
|
|
32
32
|
* The graphic being reshaped.
|
|
33
33
|
*
|
|
34
|
-
* @
|
|
34
|
+
* @internal
|
|
35
35
|
*/
|
|
36
36
|
graphic: Graphic;
|
|
37
37
|
/**
|
|
38
38
|
* A GraphicsLayer to be used for temporary graphics during the reshape operation.
|
|
39
39
|
*
|
|
40
|
-
* @
|
|
40
|
+
* @internal
|
|
41
41
|
*/
|
|
42
42
|
layer: GraphicsLayer;
|
|
43
43
|
/**
|
|
44
44
|
* The MapView in which the reshape operation is taking place.
|
|
45
45
|
*
|
|
46
|
-
* @
|
|
46
|
+
* @internal
|
|
47
47
|
*/
|
|
48
48
|
view: MapView;
|
|
49
49
|
/**
|
|
50
50
|
* Destroys the reshape instance.
|
|
51
51
|
*
|
|
52
|
-
* @
|
|
52
|
+
* @internal
|
|
53
53
|
*/
|
|
54
54
|
destroy: () => void;
|
|
55
55
|
}
|
|
@@ -58,13 +58,13 @@ export interface ReshapeInterface {
|
|
|
58
58
|
* Returns a reshape operation.
|
|
59
59
|
*
|
|
60
60
|
* @param properties - The constructor properties.
|
|
61
|
-
* @
|
|
61
|
+
* @internal
|
|
62
62
|
* @internal
|
|
63
63
|
*/
|
|
64
64
|
export function getReshape(properties: ReshapeProperties): Promise<ReshapeInterface>;
|
|
65
65
|
|
|
66
66
|
/**
|
|
67
|
-
* @
|
|
67
|
+
* @internal
|
|
68
68
|
* @internal
|
|
69
69
|
*/
|
|
70
70
|
export type ReshapeProperties = Pick<ReshapeInterface, "connectedReshapeProviders" | "graphic" | "layer" | "view">;
|
|
@@ -76,19 +76,19 @@ export type ReshapeProperties = Pick<ReshapeInterface, "connectedReshapeProvider
|
|
|
76
76
|
* @param targetEntityType - The type of the entity to be moved.
|
|
77
77
|
* @param targetView - The LinkChartView in which the node movement reshape operation will take place.
|
|
78
78
|
* @param options - Optional parameters.
|
|
79
|
-
* @
|
|
79
|
+
* @internal
|
|
80
80
|
* @internal
|
|
81
81
|
*/
|
|
82
82
|
export function studioStartNodeMovement(targetEntityId: string, targetEntityType: string, targetView: LinkChartView, options?: { useSnappingGrid?: boolean; }): Promise<StudioNodeMovementReturnType>;
|
|
83
83
|
|
|
84
84
|
/**
|
|
85
|
-
* @
|
|
85
|
+
* @internal
|
|
86
86
|
* @internal
|
|
87
87
|
*/
|
|
88
88
|
export interface StudioNodeMovementReturnType {
|
|
89
|
-
/** @
|
|
89
|
+
/** @internal */
|
|
90
90
|
commitNodeMovement: () => Promise<Point>;
|
|
91
|
-
/** @
|
|
91
|
+
/** @internal */
|
|
92
92
|
cancelNodeMovement: () => void;
|
|
93
93
|
}
|
|
94
94
|
|
|
@@ -97,64 +97,64 @@ export interface StudioNodeMovementReturnType {
|
|
|
97
97
|
*
|
|
98
98
|
* @param targetView - The LinkChartView in which the node movement reshape operation is taking place.
|
|
99
99
|
* @param movementStopCallback - The callback function to be called when the node movement stops.
|
|
100
|
-
* @
|
|
100
|
+
* @internal
|
|
101
101
|
* @internal
|
|
102
102
|
*/
|
|
103
103
|
export function onNodeMovementStop(targetView: LinkChartView, movementStopCallback: MovementStopCallback): ResourceHandle;
|
|
104
104
|
|
|
105
105
|
/**
|
|
106
106
|
* @param event - The event object containing information about the node movement.
|
|
107
|
-
* @
|
|
107
|
+
* @internal
|
|
108
108
|
* @internal
|
|
109
109
|
*/
|
|
110
110
|
export type MovementStopCallback = (event: MovementStopCallbackEvent) => void;
|
|
111
111
|
|
|
112
112
|
/**
|
|
113
|
-
* @
|
|
113
|
+
* @internal
|
|
114
114
|
* @internal
|
|
115
115
|
*/
|
|
116
116
|
export interface MovementStopCallbackEvent {
|
|
117
117
|
/**
|
|
118
118
|
* The graphic representing the node being moved.
|
|
119
119
|
*
|
|
120
|
-
* @
|
|
120
|
+
* @internal
|
|
121
121
|
*/
|
|
122
122
|
mover: Graphic;
|
|
123
123
|
/**
|
|
124
124
|
* The change in the x-coordinate of the node's position.
|
|
125
125
|
*
|
|
126
|
-
* @
|
|
126
|
+
* @internal
|
|
127
127
|
*/
|
|
128
128
|
dx: number;
|
|
129
129
|
/**
|
|
130
130
|
* The change in the y-coordinate of the node's position.
|
|
131
131
|
*
|
|
132
|
-
* @
|
|
132
|
+
* @internal
|
|
133
133
|
*/
|
|
134
134
|
dy: number;
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
/**
|
|
138
|
-
* @
|
|
138
|
+
* @internal
|
|
139
139
|
* @internal
|
|
140
140
|
*/
|
|
141
141
|
export type ConnectedReshapeSupportedLayer = GeoJSONLayer | FeatureLayer | OrientedImageryLayer | SceneLayer | SubtypeSublayer | GraphicsLayer | KnowledgeGraphSublayer;
|
|
142
142
|
|
|
143
143
|
/**
|
|
144
|
-
* @
|
|
144
|
+
* @internal
|
|
145
145
|
* @internal
|
|
146
146
|
*/
|
|
147
147
|
export interface ReshapeFeature {
|
|
148
148
|
/**
|
|
149
149
|
* The graphic being reshaped.
|
|
150
150
|
*
|
|
151
|
-
* @
|
|
151
|
+
* @internal
|
|
152
152
|
*/
|
|
153
153
|
graphic: Graphic;
|
|
154
154
|
/**
|
|
155
155
|
* The layer to which the graphic belongs.
|
|
156
156
|
*
|
|
157
|
-
* @
|
|
157
|
+
* @internal
|
|
158
158
|
*/
|
|
159
159
|
layer: ConnectedReshapeSupportedLayer;
|
|
160
160
|
}
|
|
@@ -162,32 +162,32 @@ export interface ReshapeFeature {
|
|
|
162
162
|
/**
|
|
163
163
|
* Represents a feature that has been modified by a ConnectedReshapeProvider due to being connected (or otherwise spatially related to) the feature(s) or vertex(es) being reshaped.
|
|
164
164
|
*
|
|
165
|
-
* @
|
|
165
|
+
* @internal
|
|
166
166
|
* @internal
|
|
167
167
|
*/
|
|
168
168
|
export interface ModifiedFeature {
|
|
169
169
|
/**
|
|
170
170
|
* The current version of the feature, with a geometry that reflects whatever translation/transformation has been made as a result of the reshape operation
|
|
171
171
|
*
|
|
172
|
-
* @
|
|
172
|
+
* @internal
|
|
173
173
|
*/
|
|
174
174
|
graphic: Graphic;
|
|
175
175
|
/**
|
|
176
176
|
* The layer to which the feature belongs
|
|
177
177
|
*
|
|
178
|
-
* @
|
|
178
|
+
* @internal
|
|
179
179
|
*/
|
|
180
180
|
layer: ConnectedReshapeSupportedLayer;
|
|
181
181
|
/**
|
|
182
182
|
* The original version of the feature, before the start of the reshape operation
|
|
183
183
|
*
|
|
184
|
-
* @
|
|
184
|
+
* @internal
|
|
185
185
|
*/
|
|
186
186
|
originalGraphic: Graphic;
|
|
187
187
|
/**
|
|
188
188
|
* Some unique identifier of the feature. E.g., the feature's object ID.
|
|
189
189
|
*
|
|
190
|
-
* @
|
|
190
|
+
* @internal
|
|
191
191
|
*/
|
|
192
192
|
uniqueId: string | number;
|
|
193
193
|
}
|
|
@@ -195,20 +195,20 @@ export interface ModifiedFeature {
|
|
|
195
195
|
/**
|
|
196
196
|
* An object that provides "connected reshaping" functionality for a feature or vertex being reshaped. This object is given information about each incremental position change throughout the reshape operation. The object is responsible for identifying and loading features that are connected to the primary feature, and providing, for each incremental change, the current positions of those connected features.
|
|
197
197
|
*
|
|
198
|
-
* @
|
|
198
|
+
* @internal
|
|
199
199
|
* @internal
|
|
200
200
|
*/
|
|
201
201
|
export interface ConnectedReshapeProvider {
|
|
202
202
|
/**
|
|
203
203
|
* Not used at this time. Hard-code this to `false` for now.
|
|
204
204
|
*
|
|
205
|
-
* @
|
|
205
|
+
* @internal
|
|
206
206
|
*/
|
|
207
207
|
updating: boolean;
|
|
208
208
|
/**
|
|
209
209
|
* Called each time the position of the given feature or vertex changes during the reshape operation. This function should return an array of [ModifiedFeature](https://developers.arcgis.com/javascript/latest/references/core/applications/KnowledgeStudio/reshape/#ModifiedFeature) objects representing the current positions of the connected features given the change so far to the position of the feature or vertex being reshaped. Parameters represent the incremental change in position of the feature (or vertex) since the last time `translate` was called. Values are in the units of the spatial reference.
|
|
210
210
|
*
|
|
211
|
-
* @
|
|
211
|
+
* @internal
|
|
212
212
|
*/
|
|
213
213
|
translate: TranslateMethod;
|
|
214
214
|
}
|
|
@@ -220,45 +220,45 @@ export interface ConnectedReshapeProvider {
|
|
|
220
220
|
* @param deltaY - The change in the y-coordinate of the feature or vertex being reshaped, in the units of the spatial reference.
|
|
221
221
|
* @param deltaZ - The change in the z-coordinate of the feature or vertex being reshaped, in the units of the spatial reference. This may be `nil` if the feature does not have a z-coordinate.
|
|
222
222
|
* @returns An array of modified features representing the current positions of the connected features given the change so far to the position of the feature or vertex being reshaped.
|
|
223
|
-
* @
|
|
223
|
+
* @internal
|
|
224
224
|
* @internal
|
|
225
225
|
*/
|
|
226
226
|
export type TranslateMethod = (deltaX: number, deltaY: number, deltaZ: number | null | undefined) => ModifiedFeature[];
|
|
227
227
|
|
|
228
228
|
/**
|
|
229
|
-
* @
|
|
229
|
+
* @internal
|
|
230
230
|
* @internal
|
|
231
231
|
*/
|
|
232
232
|
export interface VertexInfo {
|
|
233
233
|
/**
|
|
234
234
|
* The index of the ring or path in the feature's geometry that contains the vertex.
|
|
235
235
|
*
|
|
236
|
-
* @
|
|
236
|
+
* @internal
|
|
237
237
|
*/
|
|
238
238
|
pathIndex: number;
|
|
239
239
|
/**
|
|
240
240
|
* The index of the vertex in the ring or path.
|
|
241
241
|
*
|
|
242
|
-
* @
|
|
242
|
+
* @internal
|
|
243
243
|
*/
|
|
244
244
|
vertexIndex: number;
|
|
245
245
|
}
|
|
246
246
|
|
|
247
247
|
/**
|
|
248
|
-
* @
|
|
248
|
+
* @internal
|
|
249
249
|
* @internal
|
|
250
250
|
*/
|
|
251
251
|
export interface ConnectedReshapeProviderFactory {
|
|
252
252
|
/**
|
|
253
253
|
* Called at the start a reshape operation involving one or more whole features. Should return a `ConnectedReshapeProvider` that will provide information about features connected to this feature(s) during the reshape operation.
|
|
254
254
|
*
|
|
255
|
-
* @
|
|
255
|
+
* @internal
|
|
256
256
|
*/
|
|
257
257
|
getFeatureReshapeProvider: GetFeatureReshapeProvider;
|
|
258
258
|
/**
|
|
259
259
|
* Called at the start of a reshape operation involving one or more vertices of a feature. Should return a `ConnectedReshapeProvider` that will provide information about features connected to this vertex(es) during the reshape operation.
|
|
260
260
|
*
|
|
261
|
-
* @
|
|
261
|
+
* @internal
|
|
262
262
|
*/
|
|
263
263
|
getVertexReshapeProvider: GetVertexReshapeProvider;
|
|
264
264
|
}
|
|
@@ -266,7 +266,7 @@ export interface ConnectedReshapeProviderFactory {
|
|
|
266
266
|
/**
|
|
267
267
|
* @param features - The features being reshaped.
|
|
268
268
|
* @returns The connected reshape provider for the features.
|
|
269
|
-
* @
|
|
269
|
+
* @internal
|
|
270
270
|
* @internal
|
|
271
271
|
*/
|
|
272
272
|
export type GetFeatureReshapeProvider = (features: ReshapeFeature[]) => ConnectedReshapeProvider | null | undefined;
|
|
@@ -275,7 +275,7 @@ export type GetFeatureReshapeProvider = (features: ReshapeFeature[]) => Connecte
|
|
|
275
275
|
* @param feature - The feature being reshaped.
|
|
276
276
|
* @param vertices - The vertices of the feature being reshaped.
|
|
277
277
|
* @returns The connected reshape provider for the feature.
|
|
278
|
-
* @
|
|
278
|
+
* @internal
|
|
279
279
|
* @internal
|
|
280
280
|
*/
|
|
281
281
|
export type GetVertexReshapeProvider = (feature: ReshapeFeature, vertices: VertexInfo[]) => ConnectedReshapeProvider | null | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @
|
|
2
|
+
* @internal
|
|
3
3
|
* @since 4.32
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
@@ -8,20 +8,20 @@ import type { InclusionModeDefinitionOptimizedGeometry } from "./generalSharedKg
|
|
|
8
8
|
import type { AbortOptions } from "../../core/promiseUtils.js";
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
|
-
* @
|
|
11
|
+
* @internal
|
|
12
12
|
* @internal
|
|
13
13
|
*/
|
|
14
14
|
export interface SerializedResourceURLs {
|
|
15
|
-
/** @
|
|
15
|
+
/** @internal */
|
|
16
16
|
entitiesUrl?: string | null;
|
|
17
|
-
/** @
|
|
17
|
+
/** @internal */
|
|
18
18
|
relationshipsUrl?: string | null;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* @param serializedResourceURLs
|
|
23
23
|
* @param options
|
|
24
|
-
* @
|
|
24
|
+
* @internal
|
|
25
25
|
* @internal
|
|
26
26
|
*/
|
|
27
27
|
export function fetchAndConvertSerializedLinkChart(serializedResourceURLs: SerializedResourceURLs, options?: AbortOptions): Promise<InclusionModeDefinitionOptimizedGeometry>;
|
|
@@ -30,19 +30,19 @@ export function fetchAndConvertSerializedLinkChart(serializedResourceURLs: Seria
|
|
|
30
30
|
* @param idCollectionsUrl
|
|
31
31
|
* @param generateAllSublayers
|
|
32
32
|
* @param options
|
|
33
|
-
* @
|
|
33
|
+
* @internal
|
|
34
34
|
* @internal
|
|
35
35
|
*/
|
|
36
36
|
export function fetchAndConvertSerializedKnowledgeIdMap(idCollectionsUrl: string, generateAllSublayers?: boolean, options?: AbortOptions): Promise<InclusionModeDefinitionOptimizedGeometry>;
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
|
-
* @
|
|
39
|
+
* @internal
|
|
40
40
|
* @internal
|
|
41
41
|
*/
|
|
42
42
|
export interface SerializedFeatureCollections {
|
|
43
|
-
/** @
|
|
43
|
+
/** @internal */
|
|
44
44
|
entitiesFC: Uint8Array<ArrayBuffer>;
|
|
45
|
-
/** @
|
|
45
|
+
/** @internal */
|
|
46
46
|
relationshipsFC: Uint8Array<ArrayBuffer>;
|
|
47
47
|
}
|
|
48
48
|
|
|
@@ -50,7 +50,7 @@ export interface SerializedFeatureCollections {
|
|
|
50
50
|
* @param inclusionDefinition
|
|
51
51
|
* @param kg
|
|
52
52
|
* @param endpointMap
|
|
53
|
-
* @
|
|
53
|
+
* @internal
|
|
54
54
|
* @internal
|
|
55
55
|
*/
|
|
56
56
|
export function serializeInclusionDefinitionToAllPbf(inclusionDefinition: InclusionModeDefinitionOptimizedGeometry, kg: KnowledgeGraph, endpointMap: Map<string, [
|
|
@@ -60,7 +60,7 @@ export function serializeInclusionDefinitionToAllPbf(inclusionDefinition: Inclus
|
|
|
60
60
|
|
|
61
61
|
/**
|
|
62
62
|
* @param inclusionDefinition
|
|
63
|
-
* @
|
|
63
|
+
* @internal
|
|
64
64
|
* @internal
|
|
65
65
|
*/
|
|
66
66
|
export function serializeInclusionDefinitionToIdCollectionsMapPbf(inclusionDefinition: InclusionModeDefinitionOptimizedGeometry): Promise<Uint8Array<ArrayBuffer>>;
|