@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
|
* Shared template utils for Components.
|
|
3
3
|
*
|
|
4
|
-
* @
|
|
4
|
+
* @internal
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
7
7
|
import type SharedTemplate from "../../editing/sharedTemplates/SharedTemplate.js";
|
|
@@ -10,16 +10,18 @@ import type FeatureLayer from "../../layers/FeatureLayer.js";
|
|
|
10
10
|
import type SubtypeGroupLayer from "../../layers/SubtypeGroupLayer.js";
|
|
11
11
|
import type FeatureTemplate from "../../layers/support/FeatureTemplate.js";
|
|
12
12
|
import type FeatureService from "../../rest/featureService/FeatureService.js";
|
|
13
|
+
import type View from "../../views/View.js";
|
|
14
|
+
import type { LayerWithFeatureTemplatesUnion } from "../../layers/types.js";
|
|
13
15
|
import type { MapViewOrSceneView } from "../../views/MapViewOrSceneView.js";
|
|
14
16
|
|
|
15
17
|
/**
|
|
16
|
-
* @
|
|
18
|
+
* @internal
|
|
17
19
|
* @internal
|
|
18
20
|
*/
|
|
19
21
|
export type AnyLoadedEditingTemplate = FeatureTemplate | LoadedSharedTemplate;
|
|
20
22
|
|
|
21
23
|
/**
|
|
22
|
-
* @
|
|
24
|
+
* @internal
|
|
23
25
|
* @internal
|
|
24
26
|
*/
|
|
25
27
|
export type LoadedSharedTemplate = SharedTemplate
|
|
@@ -27,34 +29,76 @@ export type LoadedSharedTemplate = SharedTemplate
|
|
|
27
29
|
/**
|
|
28
30
|
* The definition of the template
|
|
29
31
|
*
|
|
30
|
-
* @
|
|
32
|
+
* @internal
|
|
31
33
|
*/
|
|
32
34
|
definition: object;
|
|
33
35
|
/**
|
|
34
36
|
* The feature service from which the template was loaded
|
|
35
37
|
*
|
|
36
|
-
* @
|
|
38
|
+
* @internal
|
|
37
39
|
*/
|
|
38
40
|
featureService: FeatureService;
|
|
39
41
|
/**
|
|
40
42
|
* The layer which the template is associated with.
|
|
41
43
|
*
|
|
42
|
-
* @
|
|
44
|
+
* @internal
|
|
43
45
|
*/
|
|
44
46
|
layer: FeatureLayer | SubtypeGroupLayer | null;
|
|
45
47
|
/**
|
|
46
48
|
* The view for which the template has been loaded for.
|
|
47
49
|
*
|
|
48
|
-
* @
|
|
50
|
+
* @internal
|
|
49
51
|
*/
|
|
50
52
|
view: MapViewOrSceneView;
|
|
51
53
|
};
|
|
52
54
|
|
|
55
|
+
/**
|
|
56
|
+
* @internal
|
|
57
|
+
* @internal
|
|
58
|
+
*/
|
|
59
|
+
export type AnyEditingTemplateInfo = FeatureTemplate | SharedTemplateMetadata;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* @internal
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
65
|
+
export interface LayerTemplateInfos {
|
|
66
|
+
/**
|
|
67
|
+
* Layer which supports feature templates.
|
|
68
|
+
*
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
71
|
+
layer: LayerWithFeatureTemplatesUnion;
|
|
72
|
+
/**
|
|
73
|
+
* Standard and shared templates for the given layer.
|
|
74
|
+
*
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
77
|
+
templates: AnyEditingTemplateInfo[];
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
84
|
+
export interface QuerySharedTemplatesParameters {
|
|
85
|
+
/** @internal */
|
|
86
|
+
layers?: number[];
|
|
87
|
+
/** @internal */
|
|
88
|
+
restrictTemplatesToReferencedLayers?: boolean;
|
|
89
|
+
/** @internal */
|
|
90
|
+
returnVisibleTemplatesOnly?: boolean;
|
|
91
|
+
/** @internal */
|
|
92
|
+
templateIds?: number[];
|
|
93
|
+
/** @internal */
|
|
94
|
+
tags?: string[];
|
|
95
|
+
}
|
|
96
|
+
|
|
53
97
|
/**
|
|
54
98
|
* Test if template is a Shared Group Template
|
|
55
99
|
*
|
|
56
100
|
* @param template
|
|
57
|
-
* @
|
|
101
|
+
* @internal
|
|
58
102
|
* @internal
|
|
59
103
|
*/
|
|
60
104
|
export function isSharedGroupTemplate(template: FeatureTemplate | SharedTemplate | null | undefined): boolean;
|
|
@@ -63,7 +107,7 @@ export function isSharedGroupTemplate(template: FeatureTemplate | SharedTemplate
|
|
|
63
107
|
* Test if template is a Shared Preset Template
|
|
64
108
|
*
|
|
65
109
|
* @param template
|
|
66
|
-
* @
|
|
110
|
+
* @internal
|
|
67
111
|
* @internal
|
|
68
112
|
*/
|
|
69
113
|
export function isSharedPresetTemplate(template: FeatureTemplate | SharedTemplate | null | undefined): boolean;
|
|
@@ -72,7 +116,7 @@ export function isSharedPresetTemplate(template: FeatureTemplate | SharedTemplat
|
|
|
72
116
|
* Test if template is a standard Feature Template
|
|
73
117
|
*
|
|
74
118
|
* @param template
|
|
75
|
-
* @
|
|
119
|
+
* @internal
|
|
76
120
|
* @internal
|
|
77
121
|
*/
|
|
78
122
|
export function isStandardFeatureTemplate(template: FeatureTemplate | SharedTemplateMetadata | null | undefined): template is FeatureTemplate;
|
|
@@ -81,7 +125,7 @@ export function isStandardFeatureTemplate(template: FeatureTemplate | SharedTemp
|
|
|
81
125
|
* Test if template is a shared feature template
|
|
82
126
|
*
|
|
83
127
|
* @param template
|
|
84
|
-
* @
|
|
128
|
+
* @internal
|
|
85
129
|
* @internal
|
|
86
130
|
*/
|
|
87
131
|
export function isSharedFeatureTemplate(template: FeatureTemplate | SharedTemplate | null | undefined): template is FeatureTemplate;
|
|
@@ -90,7 +134,7 @@ export function isSharedFeatureTemplate(template: FeatureTemplate | SharedTempla
|
|
|
90
134
|
* Test if template info is Meta data for a Shared Template
|
|
91
135
|
*
|
|
92
136
|
* @param template
|
|
93
|
-
* @
|
|
137
|
+
* @internal
|
|
94
138
|
* @internal
|
|
95
139
|
*/
|
|
96
140
|
export function isSharedTemplateMetadata(template: FeatureTemplate | SharedTemplateMetadata | null | undefined): template is SharedTemplateMetadata;
|
|
@@ -99,7 +143,7 @@ export function isSharedTemplateMetadata(template: FeatureTemplate | SharedTempl
|
|
|
99
143
|
* Test if template is a Shared Template
|
|
100
144
|
*
|
|
101
145
|
* @param template
|
|
102
|
-
* @
|
|
146
|
+
* @internal
|
|
103
147
|
* @internal
|
|
104
148
|
*/
|
|
105
149
|
export function isSharedTemplate(template: FeatureTemplate | SharedTemplateMetadata | null | undefined): template is SharedTemplate;
|
|
@@ -108,7 +152,7 @@ export function isSharedTemplate(template: FeatureTemplate | SharedTemplateMetad
|
|
|
108
152
|
* Test if template is a Template or Template Info
|
|
109
153
|
*
|
|
110
154
|
* @param template
|
|
111
|
-
* @
|
|
155
|
+
* @internal
|
|
112
156
|
* @internal
|
|
113
157
|
*/
|
|
114
158
|
export function isSharedTemplateOrMetadata(template: FeatureTemplate | SharedTemplateMetadata | null | undefined): template is SharedTemplateMetadata;
|
|
@@ -118,7 +162,7 @@ export function isSharedTemplateOrMetadata(template: FeatureTemplate | SharedTem
|
|
|
118
162
|
*
|
|
119
163
|
* @param view
|
|
120
164
|
* @param templateInfo
|
|
121
|
-
* @
|
|
165
|
+
* @internal
|
|
122
166
|
* @internal
|
|
123
167
|
*/
|
|
124
168
|
export function getFullTemplate(view: MapViewOrSceneView, templateInfo: FeatureTemplate | SharedTemplateMetadata): Promise<AnyLoadedEditingTemplate | null>;
|
|
@@ -128,7 +172,19 @@ export function getFullTemplate(view: MapViewOrSceneView, templateInfo: FeatureT
|
|
|
128
172
|
*
|
|
129
173
|
* @param template
|
|
130
174
|
* @param overrides
|
|
131
|
-
* @
|
|
175
|
+
* @internal
|
|
176
|
+
* @internal
|
|
177
|
+
*/
|
|
178
|
+
export function getCreationAttributes(template: FeatureTemplate | SharedTemplate | null | undefined, overrides?: Record<string, unknown>): Record<string, unknown>;
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* Retrieves all standard and shared templates for the provided layers
|
|
182
|
+
*
|
|
183
|
+
* @param layers
|
|
184
|
+
* @param view
|
|
185
|
+
* @param signal
|
|
186
|
+
* @param queryOptions
|
|
187
|
+
* @internal
|
|
132
188
|
* @internal
|
|
133
189
|
*/
|
|
134
|
-
export function
|
|
190
|
+
export function getTemplatesForLayers(layers: LayerWithFeatureTemplatesUnion[], view?: View | null | undefined, signal?: AbortSignal, queryOptions?: Omit<QuerySharedTemplatesParameters, "layers">): Promise<LayerTemplateInfos[]>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
|
-
import{getCreationAttributes as e,
|
|
2
|
+
import{getCreationAttributes as e,getTemplatesForLayers as t,isSharedFeatureTemplate as a,isSharedGroupTemplate as r,isSharedPresetTemplate as n,isSharedTemplate as i,isSharedTemplateMetadata as s,isSharedTemplateOrMetadata as u,isStandardFeatureTemplate as o}from"../../editing/templateUtils.js";import{getFullTemplate as l}from"../../editing/sharedTemplates/templateLoader.js";function p(e){return r(e)}function m(e){return n(e)}function d(e){return o(e)}function c(e){return a(e)}function f(e){return s(e)}function T(e){return i(e)}function h(e){return u(e)}async function S(e,t){return await l(e,t)}function g(t,a={}){return e(t,a)}async function y(e,a,r,n){return await t({layers:e,view:a,signal:r,queryOptions:n})}export{g as getCreationAttributes,S as getFullTemplate,y as getTemplatesForLayers,c as isSharedFeatureTemplate,p as isSharedGroupTemplate,m as isSharedPresetTemplate,T as isSharedTemplate,f as isSharedTemplateMetadata,h as isSharedTemplateOrMetadata,d as isStandardFeatureTemplate};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* View utils for components
|
|
3
3
|
*
|
|
4
|
-
* @
|
|
4
|
+
* @internal
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
7
7
|
import type { MapViewOrSceneView } from "../../views/MapViewOrSceneView.js";
|
|
@@ -10,8 +10,8 @@ import type { MapViewOrSceneView } from "../../views/MapViewOrSceneView.js";
|
|
|
10
10
|
* Waits until the specified view is not updating anymore.
|
|
11
11
|
*
|
|
12
12
|
* @param view
|
|
13
|
+
* @internal
|
|
13
14
|
* @since 5.0
|
|
14
|
-
* @experimental
|
|
15
15
|
* @internal
|
|
16
16
|
*/
|
|
17
17
|
export function waitUpdated(view: MapViewOrSceneView): Promise<void>;
|
|
@@ -19,8 +19,8 @@ export function waitUpdated(view: MapViewOrSceneView): Promise<void>;
|
|
|
19
19
|
/**
|
|
20
20
|
* Gets all the service mock dependencies.
|
|
21
21
|
*
|
|
22
|
+
* @internal
|
|
22
23
|
* @since 5.0
|
|
23
|
-
* @experimental
|
|
24
24
|
* @internal
|
|
25
25
|
*/
|
|
26
26
|
export function getServiceMockDependencies(): Promise<any>;
|
|
@@ -7,7 +7,7 @@ import type { Unit } from "../../core/units.js";
|
|
|
7
7
|
* @param srcUnit
|
|
8
8
|
* @param destUnit
|
|
9
9
|
* @returns The converted quantity based on the destination unit.
|
|
10
|
-
* @
|
|
10
|
+
* @internal
|
|
11
11
|
* @internal
|
|
12
12
|
*/
|
|
13
13
|
export function convertUnit(quantity: number, srcUnit: Unit, destUnit: Unit): number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* View utils for components
|
|
3
3
|
*
|
|
4
|
-
* @
|
|
4
|
+
* @internal
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
7
7
|
import type { MapViewOrSceneView } from "../../views/MapViewOrSceneView.js";
|
|
@@ -10,7 +10,7 @@ import type { MapViewOrSceneView } from "../../views/MapViewOrSceneView.js";
|
|
|
10
10
|
* Waits until the specified view is not updating anymore.
|
|
11
11
|
*
|
|
12
12
|
* @param view
|
|
13
|
-
* @
|
|
13
|
+
* @internal
|
|
14
14
|
* @internal
|
|
15
15
|
*/
|
|
16
16
|
export function waitUpdated(view: MapViewOrSceneView): Promise<void>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Web Style Symbol utils for Components.
|
|
3
3
|
*
|
|
4
|
-
* @
|
|
4
|
+
* @internal
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
7
7
|
import type { AbortOptions } from "../../core/promiseUtils.js";
|
|
@@ -20,7 +20,7 @@ import type { Symbol2D3DUnion } from "../../symbols/types.js";
|
|
|
20
20
|
* @param type
|
|
21
21
|
* @param symbolUrlFromStyleItem
|
|
22
22
|
* @param options
|
|
23
|
-
* @
|
|
23
|
+
* @internal
|
|
24
24
|
* @internal
|
|
25
25
|
*/
|
|
26
26
|
export function fetchSymbolFromStyle(styleResponse: any, symbolName: string, context: object, type: string, symbolUrlFromStyleItem: (...args: any[]) => string | null | undefined, options?: AbortOptions | null | undefined): Promise<Symbol2D3DUnion>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Imagery Layer properties to expose to Excalibur.
|
|
3
3
|
*
|
|
4
|
-
* @
|
|
4
|
+
* @internal
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
7
7
|
import type ImageryLayer from "../../layers/ImageryLayer.js";
|
|
@@ -13,7 +13,7 @@ import type { PixelData, RasterPixelType } from "../../layers/raster/types.js";
|
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* @param layer - ImageryLayer
|
|
16
|
-
* @
|
|
16
|
+
* @internal
|
|
17
17
|
* @internal
|
|
18
18
|
*/
|
|
19
19
|
export function getRasterInfo(layer: ImageryLayer): RasterInfo;
|
|
@@ -23,7 +23,7 @@ export function getRasterInfo(layer: ImageryLayer): RasterInfo;
|
|
|
23
23
|
* @param pixelData - PixelData
|
|
24
24
|
* @param simpleStretchParams - SimpleStretchParameters
|
|
25
25
|
* @param options - AbortOptions
|
|
26
|
-
* @
|
|
26
|
+
* @internal
|
|
27
27
|
* @internal
|
|
28
28
|
*/
|
|
29
29
|
export function applyRenderer(layer: ImageryTileLayer, pixelData: PixelData, simpleStretchParams: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* VideoView utilities for the Excalibur application.
|
|
3
3
|
*
|
|
4
|
-
* @
|
|
4
|
+
* @internal
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
7
7
|
import type Point from "../../geometry/Point.js";
|
|
@@ -13,7 +13,7 @@ import type VideoView from "../../views/VideoView.js";
|
|
|
13
13
|
*
|
|
14
14
|
* @param properties - The properties for the VideoView constructor.
|
|
15
15
|
* @returns A new VideoView instance.
|
|
16
|
-
* @
|
|
16
|
+
* @internal
|
|
17
17
|
* @internal
|
|
18
18
|
*/
|
|
19
19
|
export function createVideoView(properties: VideoViewProperties): InternalVideoView;
|
|
@@ -24,7 +24,7 @@ export function createVideoView(properties: VideoViewProperties): InternalVideoV
|
|
|
24
24
|
* @param layer - Video Layer to use for screen to ground conversion
|
|
25
25
|
* @param x - x image coordinate
|
|
26
26
|
* @param y - y image coordinate
|
|
27
|
-
* @
|
|
27
|
+
* @internal
|
|
28
28
|
* @internal
|
|
29
29
|
*/
|
|
30
30
|
export function toGround(layer: VideoLayer, x: number, y: number): Point | null | undefined;
|
|
@@ -32,20 +32,20 @@ export function toGround(layer: VideoLayer, x: number, y: number): Point | null
|
|
|
32
32
|
/**
|
|
33
33
|
* VideoViewParams
|
|
34
34
|
*
|
|
35
|
-
* @
|
|
35
|
+
* @internal
|
|
36
36
|
* @internal
|
|
37
37
|
*/
|
|
38
38
|
export interface VideoViewProperties {
|
|
39
39
|
/**
|
|
40
40
|
* The `id` or node representing the DOM element containing the view.
|
|
41
41
|
*
|
|
42
|
-
* @
|
|
42
|
+
* @internal
|
|
43
43
|
*/
|
|
44
44
|
container?: HTMLDivElement | null;
|
|
45
45
|
/**
|
|
46
46
|
* The VideoLayer.
|
|
47
47
|
*
|
|
48
|
-
* @
|
|
48
|
+
* @internal
|
|
49
49
|
*/
|
|
50
50
|
layer?: VideoLayer | null;
|
|
51
51
|
}
|
|
@@ -53,14 +53,14 @@ export interface VideoViewProperties {
|
|
|
53
53
|
/**
|
|
54
54
|
* VideoView
|
|
55
55
|
*
|
|
56
|
-
* @
|
|
56
|
+
* @internal
|
|
57
57
|
* @internal
|
|
58
58
|
*/
|
|
59
59
|
export interface InternalVideoView extends VideoView {
|
|
60
60
|
/**
|
|
61
61
|
* Determines if the operational data overlay is visible
|
|
62
62
|
*
|
|
63
|
-
* @
|
|
63
|
+
* @internal
|
|
64
64
|
*/
|
|
65
65
|
operationalDataVisible: boolean;
|
|
66
66
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* widgetUtils methods to expose to Excalibur.
|
|
3
3
|
*
|
|
4
|
-
* @
|
|
4
|
+
* @internal
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* @param args
|
|
10
|
-
* @
|
|
10
|
+
* @internal
|
|
11
11
|
* @internal
|
|
12
12
|
*/
|
|
13
13
|
export function classesInternal(...args: (string | string[] | Record<string, boolean> | null | undefined | false)[]): string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Sketch utilities for the experience builder application.
|
|
3
3
|
*
|
|
4
|
-
* @
|
|
4
|
+
* @internal
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
7
7
|
import type Sketch from "../../widgets/Sketch.js";
|
|
@@ -14,7 +14,7 @@ import type { CustomActionProperties, CustomToolOptions } from "../../widgets/Sk
|
|
|
14
14
|
* @param createToolOptions - Options for the custom tools.
|
|
15
15
|
* @param customActionOptions - Options for the custom tools.
|
|
16
16
|
* @returns The passed in sketch widget.
|
|
17
|
-
* @
|
|
17
|
+
* @internal
|
|
18
18
|
* @internal
|
|
19
19
|
*/
|
|
20
20
|
export function setCustomTools(sketch: Sketch, createToolOptions?: CustomToolOptions[] | null, customActionOptions?: CustomActionProperties[] | null): Sketch;
|
|
@@ -23,7 +23,7 @@ export function setCustomTools(sketch: Sketch, createToolOptions?: CustomToolOpt
|
|
|
23
23
|
* Closes the settings popover, if it is open.
|
|
24
24
|
*
|
|
25
25
|
* @param sketch - Reference to the sketch widget to configure.
|
|
26
|
-
* @
|
|
26
|
+
* @internal
|
|
27
27
|
* @since 4.32
|
|
28
28
|
* @internal
|
|
29
29
|
*/
|
|
@@ -35,14 +35,14 @@ export function dismissFloatingElements(sketch: Sketch): void;
|
|
|
35
35
|
* @param sketch - Reference to the sketch widget to configure.
|
|
36
36
|
* @param location - Selection tool location.
|
|
37
37
|
* @returns The passed in sketch widget.
|
|
38
|
-
* @
|
|
38
|
+
* @internal
|
|
39
39
|
* @since 4.32
|
|
40
40
|
* @internal
|
|
41
41
|
*/
|
|
42
42
|
export function setContextualToolLocation(sketch: Sketch, location: "inline" | "inline-end" | "separate"): Sketch;
|
|
43
43
|
|
|
44
44
|
/**
|
|
45
|
-
* @
|
|
45
|
+
* @internal
|
|
46
46
|
* @internal
|
|
47
47
|
*/
|
|
48
48
|
export type SketchGroupName = "selectionTools" | "selectionSet" | "createTools" | "undoRedo" | "settings";
|
|
@@ -56,7 +56,7 @@ export type SketchGroupName = "selectionTools" | "selectionSet" | "createTools"
|
|
|
56
56
|
* @param sketch - Reference to the sketch widget to configure.
|
|
57
57
|
* @param priorities - Group priorities.
|
|
58
58
|
* @returns The passed in sketch widget.
|
|
59
|
-
* @
|
|
59
|
+
* @internal
|
|
60
60
|
* @since 4.32
|
|
61
61
|
* @internal
|
|
62
62
|
*/
|
|
@@ -70,7 +70,7 @@ export function setGroupCollapsePriorities(sketch: Sketch, priorities: Map<Sketc
|
|
|
70
70
|
* @param sketch - Reference to the sketch widget to configure.
|
|
71
71
|
* @param options - Group collapse options.
|
|
72
72
|
* @returns The passed in sketch widget.
|
|
73
|
-
* @
|
|
73
|
+
* @internal
|
|
74
74
|
* @since 4.33
|
|
75
75
|
* @internal
|
|
76
76
|
*/
|
|
@@ -6,40 +6,52 @@
|
|
|
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 KnowledgeGraph from "../../rest/knowledgeGraph/KnowledgeGraph.js";
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
|
-
* @
|
|
15
|
+
* @internal
|
|
16
16
|
* @since 5.0
|
|
17
17
|
* @internal
|
|
18
18
|
*/
|
|
19
19
|
export interface DataModelViewProperties {
|
|
20
|
-
/**
|
|
20
|
+
/**
|
|
21
|
+
* @internal
|
|
22
|
+
* @since 5.0
|
|
23
|
+
*/
|
|
21
24
|
container: HTMLDivElement;
|
|
22
|
-
/**
|
|
25
|
+
/**
|
|
26
|
+
* @internal
|
|
27
|
+
* @since 5.0
|
|
28
|
+
*/
|
|
23
29
|
kg: KnowledgeGraph;
|
|
24
30
|
}
|
|
25
31
|
|
|
26
32
|
/**
|
|
27
|
-
* @
|
|
33
|
+
* @internal
|
|
28
34
|
* @since 5.0
|
|
29
35
|
* @internal
|
|
30
36
|
*/
|
|
31
37
|
export interface DataModelViewReturnType {
|
|
32
|
-
/**
|
|
38
|
+
/**
|
|
39
|
+
* @internal
|
|
40
|
+
* @since 5.0
|
|
41
|
+
*/
|
|
33
42
|
load: () => Promise<void>;
|
|
34
|
-
/**
|
|
43
|
+
/**
|
|
44
|
+
* @internal
|
|
45
|
+
* @since 5.0
|
|
46
|
+
*/
|
|
35
47
|
destroy: () => void;
|
|
36
48
|
}
|
|
37
49
|
|
|
38
50
|
/**
|
|
39
51
|
* @param properties - The options object for the datamodel view.
|
|
40
52
|
* @returns An object with load and destroy functions for the data model view.
|
|
53
|
+
* @internal
|
|
41
54
|
* @since 5.0
|
|
42
|
-
* @experimental
|
|
43
55
|
* @internal
|
|
44
56
|
*/
|
|
45
57
|
export function getDataModelView(properties: DataModelViewProperties): DataModelViewReturnType;
|
|
@@ -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 party developers.
|
|
8
8
|
*
|
|
9
|
-
* @
|
|
9
|
+
* @internal
|
|
10
10
|
* @internal
|
|
11
11
|
*/
|
|
12
12
|
import type Graphic from "../../Graphic.js";
|
|
@@ -18,106 +18,106 @@ import type MapView from "../../views/MapView.js";
|
|
|
18
18
|
import type { Evented } from "../../core/Evented.js";
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
|
+
* @internal
|
|
21
22
|
* @since 5.0
|
|
22
|
-
* @experimental
|
|
23
23
|
* @internal
|
|
24
24
|
*/
|
|
25
25
|
export interface TypedSelectionToolbarViewModel extends Evented {
|
|
26
26
|
/**
|
|
27
|
+
* @internal
|
|
27
28
|
* @since 5.0
|
|
28
|
-
* @experimental
|
|
29
29
|
*/
|
|
30
30
|
"@eventTypes": TypedSelectionToolbarViewModelEvents;
|
|
31
31
|
/**
|
|
32
|
+
* @internal
|
|
32
33
|
* @since 5.0
|
|
33
|
-
* @experimental
|
|
34
34
|
*/
|
|
35
35
|
activate: TypedSelectionToolbarViewModelActivate;
|
|
36
36
|
/**
|
|
37
|
+
* @internal
|
|
37
38
|
* @since 5.0
|
|
38
|
-
* @experimental
|
|
39
39
|
*/
|
|
40
40
|
cancel: () => void;
|
|
41
41
|
/**
|
|
42
|
+
* @internal
|
|
42
43
|
* @since 5.0
|
|
43
|
-
* @experimental
|
|
44
44
|
*/
|
|
45
45
|
destroy: () => void;
|
|
46
46
|
/**
|
|
47
|
+
* @internal
|
|
47
48
|
* @since 5.0
|
|
48
|
-
* @experimental
|
|
49
49
|
*/
|
|
50
50
|
sources?: Array<FeatureLayer | KnowledgeGraphLayer | LinkChartLayer> | null;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
/**
|
|
54
54
|
* @param parameters - The selection operation parameters.
|
|
55
|
+
* @internal
|
|
55
56
|
* @since 5.0
|
|
56
|
-
* @experimental
|
|
57
57
|
* @internal
|
|
58
58
|
*/
|
|
59
59
|
export type TypedSelectionToolbarViewModelActivate = (parameters: SelectionOperationParameters) => void;
|
|
60
60
|
|
|
61
61
|
/**
|
|
62
|
+
* @internal
|
|
62
63
|
* @since 5.0
|
|
63
|
-
* @experimental
|
|
64
64
|
* @internal
|
|
65
65
|
*/
|
|
66
66
|
export interface SelectionOperationParameters {
|
|
67
67
|
/**
|
|
68
|
+
* @internal
|
|
68
69
|
* @since 5.0
|
|
69
|
-
* @experimental
|
|
70
70
|
*/
|
|
71
71
|
createTool: "point" | "polygon" | "circle" | "rectangle";
|
|
72
72
|
/**
|
|
73
|
+
* @internal
|
|
73
74
|
* @since 5.0
|
|
74
|
-
* @experimental
|
|
75
75
|
*/
|
|
76
76
|
mode: "freehand" | "click";
|
|
77
77
|
/**
|
|
78
|
+
* @internal
|
|
78
79
|
* @since 5.0
|
|
79
|
-
* @experimental
|
|
80
80
|
*/
|
|
81
81
|
selectOnComplete?: boolean;
|
|
82
82
|
/**
|
|
83
|
+
* @internal
|
|
83
84
|
* @since 5.0
|
|
84
|
-
* @experimental
|
|
85
85
|
*/
|
|
86
86
|
type?: "add" | "remove" | "replace";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
/**
|
|
90
|
+
* @internal
|
|
90
91
|
* @since 5.0
|
|
91
|
-
* @experimental
|
|
92
92
|
* @internal
|
|
93
93
|
*/
|
|
94
94
|
export interface TypedSelectionToolbarViewModelEvents {
|
|
95
95
|
/**
|
|
96
|
+
* @internal
|
|
96
97
|
* @since 5.0
|
|
97
|
-
* @experimental
|
|
98
98
|
*/
|
|
99
99
|
complete: TypedSelectionToolbarViewModelSelectionResultType;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
/**
|
|
103
|
+
* @internal
|
|
103
104
|
* @since 5.0
|
|
104
|
-
* @experimental
|
|
105
105
|
* @internal
|
|
106
106
|
*/
|
|
107
107
|
export interface TypedSelectionToolbarViewModelSelectionResultType {
|
|
108
108
|
/**
|
|
109
|
+
* @internal
|
|
109
110
|
* @since 5.0
|
|
110
|
-
* @experimental
|
|
111
111
|
*/
|
|
112
112
|
aborted: boolean;
|
|
113
113
|
/**
|
|
114
|
+
* @internal
|
|
114
115
|
* @since 5.0
|
|
115
|
-
* @experimental
|
|
116
116
|
*/
|
|
117
117
|
operationType: "add" | "remove" | "replace";
|
|
118
118
|
/**
|
|
119
|
+
* @internal
|
|
119
120
|
* @since 5.0
|
|
120
|
-
* @experimental
|
|
121
121
|
*/
|
|
122
122
|
selection: Graphic[];
|
|
123
123
|
}
|
|
@@ -126,16 +126,16 @@ export interface TypedSelectionToolbarViewModelSelectionResultType {
|
|
|
126
126
|
* @param view - The MapView instance.
|
|
127
127
|
* @param sources - An array of layers to be used as sources for selection.
|
|
128
128
|
* @returns A new instance of SelectionToolbarViewModel.
|
|
129
|
+
* @internal
|
|
129
130
|
* @since 5.0
|
|
130
|
-
* @experimental
|
|
131
131
|
* @internal
|
|
132
132
|
*/
|
|
133
133
|
export function getNewTypedSelectionToolbarViewModel(view: MapView | LinkChartView, sources?: Array<FeatureLayer | KnowledgeGraphLayer | LinkChartLayer>): TypedSelectionToolbarViewModel;
|
|
134
134
|
|
|
135
135
|
/**
|
|
136
136
|
* @param domains - An array of domain strings to be registered as no-CORS domains.
|
|
137
|
+
* @internal
|
|
137
138
|
* @since 5.0
|
|
138
|
-
* @experimental
|
|
139
139
|
* @internal
|
|
140
140
|
*/
|
|
141
141
|
export function typedRegisterNoCorsDomain(domains: string[]): void;
|