@vertigis/viewer-spec 47.5.0 → 48.0.0
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/app-config/AppConfig.d.ts +3 -6
- package/app-config/common/AnalyticsModelProperties.d.ts +10 -0
- package/app-config/common/AnalyticsModelProperties.js +1 -0
- package/app-config/common/BrandingThemeProperties.d.ts +2 -4
- package/app-config/common/HighlightModelProperties.d.ts +2 -4
- package/app-config/common/LayerPresetsModelProperties.d.ts +1 -2
- package/app-config/common/LayoutProperties.d.ts +3 -3
- package/app-config/common/RegionModelProperties.d.ts +1 -2
- package/app-config/common/SearchModelProperties.d.ts +2 -2
- package/app-config/common/WorkflowModelProperties.d.ts +2 -4
- package/app-config/mobile/FeatureDetailsModelProperties.d.ts +2 -1
- package/app-config/mobile/SearchModelProperties.d.ts +3 -1
- package/app-config/mobile/VertigisMobileModelProperties.d.ts +17 -16
- package/app-config/schema/common-app-config.schema.json +1 -1
- package/app-config/schema/mobile-app-config.schema.json +1 -1
- package/app-config/schema/web-app-config.schema.json +1 -1
- package/app-config/web/DrawModelProperties.d.ts +1 -2
- package/app-config/web/FeatureDetailsModelProperties.d.ts +2 -2
- package/app-config/web/HasVisibilityFilters.d.ts +4 -4
- package/app-config/web/KpiCardModelProperties.d.ts +10 -10
- package/app-config/web/MapCoordinatesModelProperties.d.ts +1 -2
- package/app-config/web/MapModelProperties.d.ts +2 -4
- package/app-config/web/MeasurementModelProperties.d.ts +1 -2
- package/app-config/web/ResultsModelProperties.d.ts +2 -2
- package/app-config/web/SearchModelProperties.d.ts +1 -2
- package/app-config/web/VertigisWebModelProperties.d.ts +8 -10
- package/layout/schema/layout-common.xsd +843 -830
- package/layout/schema/layout-mobile.xsd +241 -234
- package/layout/schema/layout-web.xsd +281 -277
- package/layout/schema/schema-reference-example.xml +11 -10
- package/messaging/Command.d.ts +1 -2
- package/messaging/Event.d.ts +2 -4
- package/messaging/MessageBus.d.ts +2 -2
- package/messaging/Operation.d.ts +1 -2
- package/messaging/common.d.ts +9 -14
- package/messaging/registry/app.d.ts +6 -10
- package/messaging/registry/arcade.d.ts +3 -7
- package/messaging/registry/auth.d.ts +6 -10
- package/messaging/registry/basemap.d.ts +8 -8
- package/messaging/registry/charts.d.ts +2 -2
- package/messaging/registry/debugConsole.d.ts +3 -4
- package/messaging/registry/drawing.d.ts +3 -6
- package/messaging/registry/edit.d.ts +9 -14
- package/messaging/registry/geolocation.d.ts +13 -20
- package/messaging/registry/geometry.d.ts +26 -31
- package/messaging/registry/kpi.d.ts +2 -4
- package/messaging/registry/layer-comparison.d.ts +2 -2
- package/messaging/registry/layout.d.ts +1 -2
- package/messaging/registry/location-marker.d.ts +5 -10
- package/messaging/registry/map.d.ts +21 -22
- package/messaging/registry/measurement.d.ts +6 -8
- package/messaging/registry/messaging.d.ts +3 -3
- package/messaging/registry/offline.d.ts +19 -24
- package/messaging/registry/panel.d.ts +1 -2
- package/messaging/registry/portal.d.ts +1 -2
- package/messaging/registry/printing.d.ts +3 -4
- package/messaging/registry/results.d.ts +8 -16
- package/messaging/registry/sketching.d.ts +27 -40
- package/messaging/registry/system.d.ts +6 -6
- package/messaging/registry/tasks.d.ts +4 -6
- package/messaging/registry/ui.d.ts +12 -18
- package/messaging/registry/viewer.d.ts +1 -2
- package/messaging/registry/workflow.d.ts +2 -4
- package/messaging/schema/web-action.schema.json +1 -1
- package/package.json +17 -17
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/messaging/Operation.d.ts
CHANGED
|
@@ -23,8 +23,7 @@ export interface Operation<T = void, TResult = undefined> extends Message {
|
|
|
23
23
|
* Executes the operation and returns its result.
|
|
24
24
|
*
|
|
25
25
|
* @param argument The argument to the operation.
|
|
26
|
-
* @param options CancelToken or options to apply to the Operation execute
|
|
27
|
-
* behavior.
|
|
26
|
+
* @param options CancelToken or options to apply to the Operation execute behavior.
|
|
28
27
|
*/
|
|
29
28
|
execute: (argument: T, options?: CancelToken | MessageExecuteOptions) => Promise<TResult>;
|
|
30
29
|
/**
|
package/messaging/common.d.ts
CHANGED
|
@@ -44,8 +44,7 @@ export interface Model extends Entity {
|
|
|
44
44
|
*/
|
|
45
45
|
export declare type ModelRef = string | Model;
|
|
46
46
|
/**
|
|
47
|
-
* Result of the "drawing.create-graphics" and "measurement.create-graphics"
|
|
48
|
-
* operations.
|
|
47
|
+
* Result of the "drawing.create-graphics" and "measurement.create-graphics" operations.
|
|
49
48
|
*/
|
|
50
49
|
export interface CreateGraphicsResult {
|
|
51
50
|
/**
|
|
@@ -97,8 +96,7 @@ export interface HasMaps {
|
|
|
97
96
|
*/
|
|
98
97
|
export declare type Maps = MapsLike | HasMaps;
|
|
99
98
|
/**
|
|
100
|
-
* A reference to an existing layer, which is the ID or title of the layer (or
|
|
101
|
-
* both).
|
|
99
|
+
* A reference to an existing layer, which is the ID or title of the layer (or both).
|
|
102
100
|
*/
|
|
103
101
|
export declare type LayerReference = string | LayerReferenceObject;
|
|
104
102
|
/**
|
|
@@ -119,8 +117,7 @@ export interface HasLayers {
|
|
|
119
117
|
layers?: LayersLike;
|
|
120
118
|
}
|
|
121
119
|
/**
|
|
122
|
-
* One or more layer extensions, or an object that has one or more layer
|
|
123
|
-
* extensions.
|
|
120
|
+
* One or more layer extensions, or an object that has one or more layer extensions.
|
|
124
121
|
*/
|
|
125
122
|
export declare type Layers = LayersLike | HasLayers;
|
|
126
123
|
/**
|
|
@@ -145,8 +142,7 @@ export interface HasGraphics {
|
|
|
145
142
|
graphics?: GraphicsLike;
|
|
146
143
|
}
|
|
147
144
|
/**
|
|
148
|
-
* An object with arguments for a command or operation that can display
|
|
149
|
-
* temporary UI.
|
|
145
|
+
* An object with arguments for a command or operation that can display temporary UI.
|
|
150
146
|
*/
|
|
151
147
|
export interface HasUITarget {
|
|
152
148
|
/**
|
|
@@ -214,8 +210,7 @@ export interface HasSymbol {
|
|
|
214
210
|
symbol?: SymbolLike;
|
|
215
211
|
}
|
|
216
212
|
/**
|
|
217
|
-
* An object that is convertible to an Esri Viewpoint, or that has a viewpoint
|
|
218
|
-
* property.
|
|
213
|
+
* An object that is convertible to an Esri Viewpoint, or that has a viewpoint property.
|
|
219
214
|
*/
|
|
220
215
|
export declare type ViewpointArg = ViewpointLike | HasViewPoint;
|
|
221
216
|
/**
|
|
@@ -240,12 +235,12 @@ export interface Blob {
|
|
|
240
235
|
* on which it's called.
|
|
241
236
|
*
|
|
242
237
|
* @param start An index into the Blob indicating the first byte to include
|
|
243
|
-
*
|
|
238
|
+
* in the new Blob.
|
|
244
239
|
* @param end An index into the Blob indicating the first byte that will
|
|
245
|
-
*
|
|
246
|
-
* not included).
|
|
240
|
+
* _not_ be included in the new Blob (i.e. the byte exactly at this index
|
|
241
|
+
* is not included).
|
|
247
242
|
* @param contentType The content type to assign to the new Blob; this will
|
|
248
|
-
*
|
|
243
|
+
* be the value of its type property. The default value is an empty string.
|
|
249
244
|
*/
|
|
250
245
|
slice(start?: number, end?: number, contentType?: string): Blob;
|
|
251
246
|
/**
|
|
@@ -7,8 +7,7 @@ import type { Operation } from "../Operation.js";
|
|
|
7
7
|
import { OperationRegistry } from "../OperationRegistry.js";
|
|
8
8
|
import type { Blob } from "../common.js";
|
|
9
9
|
/**
|
|
10
|
-
* Arguments for the app started events. Only available in the Geocortex Mobile
|
|
11
|
-
* Viewer.
|
|
10
|
+
* Arguments for the app started events. Only available in the Geocortex Mobile Viewer.
|
|
12
11
|
*/
|
|
13
12
|
export interface SpecificAppArgs {
|
|
14
13
|
/**
|
|
@@ -51,8 +50,7 @@ export declare class AppCommands extends CommandRegistry {
|
|
|
51
50
|
*/
|
|
52
51
|
get goToAppSelector(): Command;
|
|
53
52
|
/**
|
|
54
|
-
* Refreshes the currently loaded app so that it can download updates if
|
|
55
|
-
* available.
|
|
53
|
+
* Refreshes the currently loaded app so that it can download updates if available.
|
|
56
54
|
*
|
|
57
55
|
* @mobileOnly
|
|
58
56
|
*/
|
|
@@ -71,8 +69,7 @@ export declare class AppCommands extends CommandRegistry {
|
|
|
71
69
|
get unfavorite(): Command;
|
|
72
70
|
/**
|
|
73
71
|
* Loads a project's app config and updates the application's current state,
|
|
74
|
-
* accordingly. If more than one file is provided, only the first will be
|
|
75
|
-
* loaded.
|
|
72
|
+
* accordingly. If more than one file is provided, only the first will be loaded.
|
|
76
73
|
*
|
|
77
74
|
* @webOnly
|
|
78
75
|
*/
|
|
@@ -132,15 +129,14 @@ export declare class AppGenericEvents extends EventRegistry {
|
|
|
132
129
|
}
|
|
133
130
|
export declare class AppOperations extends OperationRegistry {
|
|
134
131
|
/**
|
|
135
|
-
* Gets the current version stamped in the application (i.e. the version of
|
|
136
|
-
* this application was created with).
|
|
132
|
+
* Gets the current version stamped in the application (i.e. the version of
|
|
133
|
+
* the viewer this application was created with).
|
|
137
134
|
*
|
|
138
135
|
* @webOnly
|
|
139
136
|
*/
|
|
140
137
|
get getVersion(): Operation<void, string>;
|
|
141
138
|
/**
|
|
142
|
-
* Creates app config for a project, based on the current state of the
|
|
143
|
-
* application.
|
|
139
|
+
* Creates app config for a project, based on the current state of the application.
|
|
144
140
|
*
|
|
145
141
|
* @webOnly
|
|
146
142
|
*/
|
|
@@ -21,8 +21,7 @@ export interface RunArcadeArgs {
|
|
|
21
21
|
canExecuteScript?: string;
|
|
22
22
|
/**
|
|
23
23
|
* An arguments object that provides named variables and associated values,
|
|
24
|
-
* which can be referenced from within the executeScript and
|
|
25
|
-
* canExecuteScript.
|
|
24
|
+
* which can be referenced from within the executeScript and canExecuteScript.
|
|
26
25
|
*
|
|
27
26
|
* NOTE: All variable keys must consist of only lowercase letters;
|
|
28
27
|
* camel-cased context variables will break the script when they are
|
|
@@ -60,13 +59,11 @@ export declare class ArcadeOperations extends OperationRegistry {
|
|
|
60
59
|
* the operation will throw a {@link Cancellation}.
|
|
61
60
|
*
|
|
62
61
|
* @webOnly
|
|
63
|
-
*
|
|
64
62
|
*/
|
|
65
63
|
get run(): Operation<RunArcadeArgs | string, unknown>;
|
|
66
64
|
}
|
|
67
65
|
/**
|
|
68
|
-
* Properties used to set a series of watch handles and/or event listeners on
|
|
69
|
-
* an item.
|
|
66
|
+
* Properties used to set a series of watch handles and/or event listeners on an item.
|
|
70
67
|
*/
|
|
71
68
|
export interface WatchEventHandleProperties {
|
|
72
69
|
/**
|
|
@@ -77,8 +74,7 @@ export interface WatchEventHandleProperties {
|
|
|
77
74
|
* One or more properties on the item that will be watched for changes
|
|
78
75
|
* and/or events. Any strings will be used as propertyPaths that will be
|
|
79
76
|
* watched for changes; for this to work, the item and all properties
|
|
80
|
-
* referenced within the path (except for the last) must implement
|
|
81
|
-
* {@link Observable}.
|
|
77
|
+
* referenced within the path (except for the last) must implement {@link Observable}.
|
|
82
78
|
*/
|
|
83
79
|
watch: string | WatchEventProperty | (string | WatchEventProperty)[];
|
|
84
80
|
}
|
|
@@ -22,14 +22,12 @@ export declare enum AuthenticationType {
|
|
|
22
22
|
*/
|
|
23
23
|
export interface Principal {
|
|
24
24
|
/**
|
|
25
|
-
* The ArcGIS JavaScript API PortalUser object containing information about
|
|
26
|
-
* the user.
|
|
25
|
+
* The ArcGIS JavaScript API PortalUser object containing information about the user.
|
|
27
26
|
*/
|
|
28
27
|
portalUser: PortalUser;
|
|
29
28
|
}
|
|
30
29
|
/**
|
|
31
|
-
* Arguments for the auth.sign-in events. Only available in the Geocortex Mobile
|
|
32
|
-
* Viewer.
|
|
30
|
+
* Arguments for the auth.sign-in events. Only available in the Geocortex Mobile Viewer.
|
|
33
31
|
*/
|
|
34
32
|
export interface SignInEventArgs {
|
|
35
33
|
/**
|
|
@@ -59,8 +57,7 @@ export declare class AuthCommands extends CommandRegistry {
|
|
|
59
57
|
/**
|
|
60
58
|
* Initiates user sign-in if they aren't already signed in. The argument
|
|
61
59
|
* indicates whether or not the map should be reloaded when the sign-in is
|
|
62
|
-
* complete. This argument is optional and only supported by Geocortex
|
|
63
|
-
* Mobile Viewer.
|
|
60
|
+
* complete. This argument is optional and only supported by Geocortex Mobile Viewer.
|
|
64
61
|
*/
|
|
65
62
|
get signIn(): Command<boolean | void>;
|
|
66
63
|
/**
|
|
@@ -76,8 +73,8 @@ export declare class AuthOperations extends OperationRegistry {
|
|
|
76
73
|
*/
|
|
77
74
|
get getCurrentUser(): Operation<void, Principal>;
|
|
78
75
|
/**
|
|
79
|
-
* Looks for an existing Esri credential. Does not prompt the user to
|
|
80
|
-
*
|
|
76
|
+
* Looks for an existing Esri credential. Does not prompt the user to sign
|
|
77
|
+
* in if credential cannot be found.
|
|
81
78
|
*
|
|
82
79
|
* @mobileOnly
|
|
83
80
|
*/
|
|
@@ -118,8 +115,7 @@ export declare class AuthEvents extends EventRegistry {
|
|
|
118
115
|
get signOutRequested(): Event;
|
|
119
116
|
/**
|
|
120
117
|
* Raised when the user's token is refreshed. Will be the new token in the
|
|
121
|
-
* Geocortex Web Viewer, and a TokenCredential object in the Geocortex
|
|
122
|
-
* Mobile Viewer.
|
|
118
|
+
* Geocortex Web Viewer, and a TokenCredential object in the Geocortex Mobile Viewer.
|
|
123
119
|
*/
|
|
124
120
|
get tokenRefreshed(): Event<string>;
|
|
125
121
|
}
|
|
@@ -15,26 +15,26 @@ export declare class BasemapOperations extends OperationRegistry {
|
|
|
15
15
|
* Gets all configured basemaps.
|
|
16
16
|
*
|
|
17
17
|
* Having argument:
|
|
18
|
+
*
|
|
18
19
|
* - Multiple maps: the union of all basemap options from each
|
|
19
20
|
* - No maps: the union of all basemap options for every map in the application.
|
|
20
21
|
*/
|
|
21
22
|
get getAll(): Operation<MapsLike, BasemapExtension[]>;
|
|
22
23
|
/**
|
|
23
|
-
* Gets currently selected basemap for the given map.
|
|
24
|
-
*
|
|
24
|
+
* Gets currently selected basemap for the given map. If more than one map
|
|
25
|
+
* is specified, only the first map is used.
|
|
25
26
|
*/
|
|
26
27
|
get getCurrent(): Operation<MapsLike, BasemapExtension>;
|
|
27
28
|
}
|
|
28
29
|
/**
|
|
29
|
-
* Argument used in case when we have only 1 map in the app
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
* If more than one basemap is specified, only the first one is used.
|
|
30
|
+
* Argument used in case when we have only 1 map in the app or when the first
|
|
31
|
+
* active map should be used. Basemap extension ID or the basemap self. If more
|
|
32
|
+
* than one basemap is specified, only the first one is used.
|
|
33
33
|
*/
|
|
34
34
|
export declare type SetBasemapArg = string | BasemapsLike;
|
|
35
35
|
/**
|
|
36
|
-
* Argument used in case when we have more than 1 map in the app,
|
|
37
|
-
*
|
|
36
|
+
* Argument used in case when we have more than 1 map in the app, and we need to
|
|
37
|
+
* pass the target map from outside (eg basemap picker in web viewer).
|
|
38
38
|
*/
|
|
39
39
|
export interface SetBasemapWithTargetMapArg {
|
|
40
40
|
/**
|
|
@@ -48,8 +48,8 @@ export declare class ChartsCommands extends CommandRegistry {
|
|
|
48
48
|
*/
|
|
49
49
|
get removeFeatures(): Command<Features | UpdateChartFeaturesArgs>;
|
|
50
50
|
/**
|
|
51
|
-
* Clear features from active charts. If a chart is specified, then only
|
|
52
|
-
*
|
|
51
|
+
* Clear features from active charts. If a chart is specified, then only the
|
|
52
|
+
* given chart will be updated, otherwise all charts will.
|
|
53
53
|
*
|
|
54
54
|
* @webOnly
|
|
55
55
|
*/
|
|
@@ -3,22 +3,21 @@ import { OperationRegistry } from "../OperationRegistry.js";
|
|
|
3
3
|
/**
|
|
4
4
|
* Deprecated; use LogViewerOperations instead.
|
|
5
5
|
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
6
|
+
* @deprecated
|
|
8
7
|
*/
|
|
9
8
|
export declare class DebugConsoleOperations extends OperationRegistry {
|
|
10
9
|
/**
|
|
11
10
|
* Displays the Debug Console. Deprecated; use log-viewer.display instead.
|
|
12
11
|
*
|
|
13
|
-
* @mobileOnly
|
|
14
12
|
* @deprecated
|
|
13
|
+
* @mobileOnly
|
|
15
14
|
*/
|
|
16
15
|
get display(): Operation<void>;
|
|
17
16
|
/**
|
|
18
17
|
* Closes the Debug Console. Deprecated; use log-viewer.close instead.
|
|
19
18
|
*
|
|
20
|
-
* @mobileOnly
|
|
21
19
|
* @deprecated
|
|
20
|
+
* @mobileOnly
|
|
22
21
|
*/
|
|
23
22
|
get close(): Operation<void>;
|
|
24
23
|
}
|
|
@@ -27,8 +27,7 @@ import type { CreateGraphicsResult, GeometryLike, HasFeatures, HasGraphics, HasL
|
|
|
27
27
|
*/
|
|
28
28
|
export declare type DrawingSymbolConfig = SimpleMarkerSymbol | SimpleMarkerSymbolProperties | PictureMarkerSymbol | PictureMarkerSymbolProperties | SimpleLineSymbol | SimpleLineSymbolProperties | SimpleFillSymbol | SimpleFillSymbolProperties | PictureFillSymbol | PictureFillSymbolProperties | PointSymbol3D | PointSymbol3DProperties | LineSymbol3D | LineSymbol3DProperties | PolygonSymbol3D | PolygonSymbol3DProperties;
|
|
29
29
|
/**
|
|
30
|
-
* Arguments for the drawing.get-symbol operation. Only available in Geocortex
|
|
31
|
-
* Web.
|
|
30
|
+
* Arguments for the drawing.get-symbol operation. Only available in Geocortex Web.
|
|
32
31
|
*/
|
|
33
32
|
export interface GetDefaultSymbolArgs {
|
|
34
33
|
/**
|
|
@@ -37,8 +36,7 @@ export interface GetDefaultSymbolArgs {
|
|
|
37
36
|
geometryType?: GeometryType;
|
|
38
37
|
}
|
|
39
38
|
/**
|
|
40
|
-
* Arguments for the drawing.edit-symbol operation. Only available in Geocortex
|
|
41
|
-
* Web.
|
|
39
|
+
* Arguments for the drawing.edit-symbol operation. Only available in Geocortex Web.
|
|
42
40
|
*/
|
|
43
41
|
export interface EditSymbolArgs extends HasMaps, HasLayers, HasGraphics, HasFeatures, HasUITarget {
|
|
44
42
|
/**
|
|
@@ -64,8 +62,7 @@ export interface EditSymbolArgs extends HasMaps, HasLayers, HasGraphics, HasFeat
|
|
|
64
62
|
showOnlySymbolPresets?: boolean;
|
|
65
63
|
}
|
|
66
64
|
/**
|
|
67
|
-
* Arguments for the drawing.edit-symbol operation. Only available in Geocortex
|
|
68
|
-
* Web.
|
|
65
|
+
* Arguments for the drawing.edit-symbol operation. Only available in Geocortex Web.
|
|
69
66
|
*/
|
|
70
67
|
export interface EditSymbolResult extends HasMaps, HasLayers, HasGraphics, HasFeatures {
|
|
71
68
|
/**
|
|
@@ -10,8 +10,7 @@ import { OperationRegistry } from "../OperationRegistry.js";
|
|
|
10
10
|
import type { Features, File, HasFeatures, HasGeometry, HasLayers, HasMaps, HasUITarget, MapsLike } from "../common.js";
|
|
11
11
|
import type { EditGeometryOptions } from "./sketching.js";
|
|
12
12
|
/**
|
|
13
|
-
* Arguments for the "edit.add-attachment" command. Supported by both Web and
|
|
14
|
-
* Mobile.
|
|
13
|
+
* Arguments for the "edit.add-attachment" command. Supported by both Web and Mobile.
|
|
15
14
|
*/
|
|
16
15
|
export interface AddAttachmentArgs {
|
|
17
16
|
/**
|
|
@@ -62,8 +61,7 @@ export interface DeleteAttachmentArgs {
|
|
|
62
61
|
/**
|
|
63
62
|
* The attachment(s) to remove from the feature(s). This property can be
|
|
64
63
|
* populated with the title(s) or ID(s) of the attachments(s). Any and all
|
|
65
|
-
* matching attachments found on the input features will be deleted. Web
|
|
66
|
-
* only.
|
|
64
|
+
* matching attachments found on the input features will be deleted. Web only.
|
|
67
65
|
*/
|
|
68
66
|
attachments?: string[];
|
|
69
67
|
/**
|
|
@@ -102,8 +100,7 @@ export interface EditUIOptions {
|
|
|
102
100
|
showTitles?: boolean;
|
|
103
101
|
}
|
|
104
102
|
/**
|
|
105
|
-
* A collection of options common to interactive feature editing sessions. Web
|
|
106
|
-
* only.
|
|
103
|
+
* A collection of options common to interactive feature editing sessions. Web only.
|
|
107
104
|
*/
|
|
108
105
|
export interface EditOptions {
|
|
109
106
|
/**
|
|
@@ -136,8 +133,8 @@ export interface UpdateSessionArgs extends HasGeometry {
|
|
|
136
133
|
attachments?: Attachment[];
|
|
137
134
|
}
|
|
138
135
|
/**
|
|
139
|
-
* Arguments for the "edit.create-feature" operation. A valid feature layer is
|
|
140
|
-
* The geometry is required for non-tabular features. Web only.
|
|
136
|
+
* Arguments for the "edit.create-feature" operation. A valid feature layer is
|
|
137
|
+
* required. The geometry is required for non-tabular features. Web only.
|
|
141
138
|
*/
|
|
142
139
|
export interface CreateFeatureArgs extends HasGeometry, HasLayers, HasMaps, EditUIOptions {
|
|
143
140
|
/**
|
|
@@ -195,17 +192,15 @@ export declare class EditCommands extends CommandRegistry {
|
|
|
195
192
|
/**
|
|
196
193
|
* Create and add an attachment to a provided feature, using the given
|
|
197
194
|
* attachment data.
|
|
198
|
-
*
|
|
199
195
|
*/
|
|
200
196
|
get addAttachment(): Command<AddAttachmentArgs | WebAddAttachmentArgs>;
|
|
201
197
|
/**
|
|
202
198
|
* Deletes attachments from feature(s).
|
|
203
|
-
*
|
|
204
199
|
*/
|
|
205
200
|
get deleteAttachment(): Command<DeleteAttachmentArgs>;
|
|
206
201
|
/**
|
|
207
|
-
* Adds a feature to a particular layer. `Features` and
|
|
208
|
-
*
|
|
202
|
+
* Adds a feature to a particular layer. `Features` and `EditCommandArgs`
|
|
203
|
+
* are not supported on Mobile.
|
|
209
204
|
*/
|
|
210
205
|
get addFeature(): Command<Feature | Features | EditCommandArgs>;
|
|
211
206
|
/**
|
|
@@ -240,8 +235,8 @@ export declare class EditCommands extends CommandRegistry {
|
|
|
240
235
|
get displayUpdateFeature(): Command<Feature | DisplayUpdateFeatureArgs>;
|
|
241
236
|
/**
|
|
242
237
|
* Updates a layer feature or features. Edits to the geometry and attributes
|
|
243
|
-
* of the supplied features will be committed to their respective feature
|
|
244
|
-
* `Features` and `EditCommandArgs` are not supported on Mobile.
|
|
238
|
+
* of the supplied features will be committed to their respective feature
|
|
239
|
+
* sources. `Features` and `EditCommandArgs` are not supported on Mobile.
|
|
245
240
|
*/
|
|
246
241
|
get updateFeature(): Command<Feature | Features | EditCommandArgs>;
|
|
247
242
|
/**
|
|
@@ -74,14 +74,12 @@ export interface GnssDeviceConnectionInfo {
|
|
|
74
74
|
*/
|
|
75
75
|
deviceName: string;
|
|
76
76
|
/**
|
|
77
|
-
* The type of the device. Options are Integrated, Bluetooth, USB, and
|
|
78
|
-
* Emulator.
|
|
77
|
+
* The type of the device. Options are Integrated, Bluetooth, USB, and Emulator.
|
|
79
78
|
*/
|
|
80
79
|
deviceType: GnssDeviceType;
|
|
81
80
|
/**
|
|
82
81
|
* The device settings, including the correction service's spatial
|
|
83
|
-
* reference, the desired datum transformation, and the device's antenna
|
|
84
|
-
* height.
|
|
82
|
+
* reference, the desired datum transformation, and the device's antenna height.
|
|
85
83
|
*/
|
|
86
84
|
settings: GnssDeviceSettings;
|
|
87
85
|
}
|
|
@@ -148,8 +146,8 @@ export declare class GeolocationOperations extends OperationRegistry {
|
|
|
148
146
|
*/
|
|
149
147
|
get getActiveSource(): Operation<GnssDeviceConnectionInfo>;
|
|
150
148
|
/**
|
|
151
|
-
* Gets the list of currently available geolocation sources.
|
|
152
|
-
*
|
|
149
|
+
* Gets the list of currently available geolocation sources. Includes
|
|
150
|
+
* integrated receivers, GNSS devices, and emulators.
|
|
153
151
|
*
|
|
154
152
|
* @mobileOnly
|
|
155
153
|
*/
|
|
@@ -165,20 +163,19 @@ export declare class GeolocationOperations extends OperationRegistry {
|
|
|
165
163
|
get getLocationPermissionsEnabled(): Operation<boolean>;
|
|
166
164
|
/**
|
|
167
165
|
* Returns the current user position. This Operation can block while the
|
|
168
|
-
* user is prompted for permission, as such it is considered best practice
|
|
169
|
-
* perform this during startup.
|
|
166
|
+
* user is prompted for permission, as such it is considered best practice
|
|
167
|
+
* not to perform this during startup.
|
|
170
168
|
*/
|
|
171
169
|
get getPosition(): Operation<void, Point>;
|
|
172
170
|
}
|
|
173
171
|
export declare class GeolocationEvents extends EventRegistry {
|
|
174
172
|
/**
|
|
175
|
-
* Raised when geolocation is activated and the accuracy of geolocation
|
|
176
|
-
* changes.
|
|
173
|
+
* Raised when geolocation is activated and the accuracy of geolocation changes.
|
|
177
174
|
*/
|
|
178
175
|
get accuracyChanged(): Event<GeolocateAccuracyChangedEventArgs>;
|
|
179
176
|
/**
|
|
180
|
-
* Raised when a GNSS receiver is active and metadata about the device
|
|
181
|
-
*
|
|
177
|
+
* Raised when a GNSS receiver is active and metadata about the device or
|
|
178
|
+
* location change.
|
|
182
179
|
*
|
|
183
180
|
* @mobileOnly
|
|
184
181
|
*/
|
|
@@ -190,8 +187,7 @@ export declare class GeolocationEvents extends EventRegistry {
|
|
|
190
187
|
get autoRecenterStarted(): Event<HasMaps | void>;
|
|
191
188
|
/**
|
|
192
189
|
* Raised when the user changes the geolocation mode to
|
|
193
|
-
* recenter-and-reorient (updates map orientation to match device
|
|
194
|
-
* direction).
|
|
190
|
+
* recenter-and-reorient (updates map orientation to match device direction).
|
|
195
191
|
*
|
|
196
192
|
* @mobileOnly
|
|
197
193
|
*/
|
|
@@ -202,8 +198,7 @@ export declare class GeolocationEvents extends EventRegistry {
|
|
|
202
198
|
*/
|
|
203
199
|
get autoRecenterStopped(): Event<HasMaps | void>;
|
|
204
200
|
/**
|
|
205
|
-
* Raised when the user changes the geolocation mode to not
|
|
206
|
-
* recenter-and-reorient.
|
|
201
|
+
* Raised when the user changes the geolocation mode to not recenter-and-reorient.
|
|
207
202
|
*
|
|
208
203
|
* @mobileOnly
|
|
209
204
|
*/
|
|
@@ -227,8 +222,7 @@ export declare class GeolocationEvents extends EventRegistry {
|
|
|
227
222
|
*/
|
|
228
223
|
get headingChanged(): Event<number>;
|
|
229
224
|
/**
|
|
230
|
-
* Raised when geolocation is activated and a user position has been
|
|
231
|
-
* received.
|
|
225
|
+
* Raised when geolocation is activated and a user position has been received.
|
|
232
226
|
*/
|
|
233
227
|
get positionAcquired(): Event<GeolocationEvent>;
|
|
234
228
|
/**
|
|
@@ -248,8 +242,7 @@ export declare class GeolocationEvents extends EventRegistry {
|
|
|
248
242
|
*/
|
|
249
243
|
get sourceChanged(): Event<GnssDeviceConnectionInfo>;
|
|
250
244
|
/**
|
|
251
|
-
* Raised when geolocation status (enabled or disabled via app permissions)
|
|
252
|
-
* changes.
|
|
245
|
+
* Raised when geolocation status (enabled or disabled via app permissions) changes.
|
|
253
246
|
*/
|
|
254
247
|
get statusChanged(): Event<GeolocationStatusChangedEventArgs>;
|
|
255
248
|
/**
|
|
@@ -58,18 +58,18 @@ export interface AddPointArgs {
|
|
|
58
58
|
*/
|
|
59
59
|
geometry: Polyline | Polygon;
|
|
60
60
|
/**
|
|
61
|
-
* The index of the part to which the point will be added.
|
|
62
|
-
*
|
|
61
|
+
* The index of the part to which the point will be added. If null, the last
|
|
62
|
+
* part will be used.
|
|
63
63
|
*/
|
|
64
64
|
partIndex?: number;
|
|
65
65
|
/**
|
|
66
|
-
* The index at which the point will be added.
|
|
67
|
-
*
|
|
66
|
+
* The index at which the point will be added. If null, the point will be
|
|
67
|
+
* added as the last point.
|
|
68
68
|
*/
|
|
69
69
|
pointIndex?: number;
|
|
70
70
|
/**
|
|
71
|
-
* The new point to be added to 'geometry'. The spatial reference must
|
|
72
|
-
*
|
|
71
|
+
* The new point to be added to 'geometry'. The spatial reference must match
|
|
72
|
+
* 'geometry' or an error will be thrown.
|
|
73
73
|
*/
|
|
74
74
|
newPoint: Point;
|
|
75
75
|
}
|
|
@@ -95,19 +95,18 @@ export interface ReferenceLine {
|
|
|
95
95
|
*/
|
|
96
96
|
geometry: Polyline | Polygon;
|
|
97
97
|
/**
|
|
98
|
-
* The index of the part in 'geometry' that contains the reference line.
|
|
99
|
-
*
|
|
98
|
+
* The index of the part in 'geometry' that contains the reference line. If
|
|
99
|
+
* null, the last part will be used.
|
|
100
100
|
*/
|
|
101
101
|
partIndex?: number;
|
|
102
102
|
/**
|
|
103
|
-
* The index of the segment that will be used as the reference line.
|
|
104
|
-
*
|
|
103
|
+
* The index of the segment that will be used as the reference line. If
|
|
104
|
+
* null, the last segment will be used.
|
|
105
105
|
*/
|
|
106
106
|
segmentIndex?: number;
|
|
107
107
|
}
|
|
108
108
|
/**
|
|
109
|
-
* The different types of curves that can be used for geodetic distance
|
|
110
|
-
* calculations.
|
|
109
|
+
* The different types of curves that can be used for geodetic distance calculations.
|
|
111
110
|
*/
|
|
112
111
|
export declare type GeodeticCurveType = "geodesic" | "loxodrome" | "normal-section" | "great-elliptic";
|
|
113
112
|
/**
|
|
@@ -115,8 +114,8 @@ export declare type GeodeticCurveType = "geodesic" | "loxodrome" | "normal-secti
|
|
|
115
114
|
*/
|
|
116
115
|
export interface CalculatePointArgs {
|
|
117
116
|
/**
|
|
118
|
-
* The units to be used for 'distance' and 'offset'.
|
|
119
|
-
*
|
|
117
|
+
* The units to be used for 'distance' and 'offset'. Defaults to the default
|
|
118
|
+
* units of the map.
|
|
120
119
|
*/
|
|
121
120
|
units: LengthUnitsMobile;
|
|
122
121
|
/**
|
|
@@ -126,19 +125,17 @@ export interface CalculatePointArgs {
|
|
|
126
125
|
/**
|
|
127
126
|
* The distance that will be used to calculate the new point.
|
|
128
127
|
*
|
|
129
|
-
* If using 'offset', this indicates the distance along
|
|
130
|
-
* the reference line.
|
|
128
|
+
* If using 'offset', this indicates the distance along the reference line.
|
|
131
129
|
*
|
|
132
|
-
* If using 'angle', this indicates the distance directly
|
|
133
|
-
*
|
|
130
|
+
* If using 'angle', this indicates the distance directly from the new point
|
|
131
|
+
* to the start point of the reference line.
|
|
134
132
|
*
|
|
135
133
|
* Cannot be negative.
|
|
136
134
|
*/
|
|
137
135
|
distance: number;
|
|
138
136
|
/**
|
|
139
|
-
* The offset that will be used to calculate the new point.
|
|
140
|
-
*
|
|
141
|
-
* reference line.
|
|
137
|
+
* The offset that will be used to calculate the new point. The 'offset'
|
|
138
|
+
* corresponds to the distance perpendicularly away from the reference line.
|
|
142
139
|
*
|
|
143
140
|
* Positive values will result in a point to the right of the reference
|
|
144
141
|
* line, negative values will be to the left.
|
|
@@ -147,17 +144,16 @@ export interface CalculatePointArgs {
|
|
|
147
144
|
*/
|
|
148
145
|
offset?: number;
|
|
149
146
|
/**
|
|
150
|
-
* The angle, relative to the angle of the reference line, that
|
|
151
|
-
*
|
|
152
|
-
*
|
|
153
|
-
* negative angles are calculated counter-clockwise.
|
|
147
|
+
* The angle, relative to the angle of the reference line, that will be used
|
|
148
|
+
* to calculate the new point. Positive angles are calculated clockwise from
|
|
149
|
+
* the angle of the reference line, negative angles are calculated counter-clockwise.
|
|
154
150
|
*
|
|
155
151
|
* Exactly one of 'offset' and 'angle' must be set.
|
|
156
152
|
*/
|
|
157
153
|
angle?: number;
|
|
158
154
|
/**
|
|
159
|
-
* Gets or sets a value indicating whether the distance calculations will
|
|
160
|
-
*
|
|
155
|
+
* Gets or sets a value indicating whether the distance calculations will be
|
|
156
|
+
* geodetic or planar. Defaults to true.
|
|
161
157
|
*/
|
|
162
158
|
geodetic?: boolean;
|
|
163
159
|
/**
|
|
@@ -175,13 +171,12 @@ export interface RemovePointArgs {
|
|
|
175
171
|
*/
|
|
176
172
|
geometry: Polyline | Polygon;
|
|
177
173
|
/**
|
|
178
|
-
* The index of the part from which the point will be removed.
|
|
179
|
-
*
|
|
174
|
+
* The index of the part from which the point will be removed. If null, the
|
|
175
|
+
* last part will be used.
|
|
180
176
|
*/
|
|
181
177
|
partIndex?: number;
|
|
182
178
|
/**
|
|
183
|
-
* The index of the point to be removed.
|
|
184
|
-
* If null, the last point wil be removed.
|
|
179
|
+
* The index of the point to be removed. If null, the last point wil be removed.
|
|
185
180
|
*/
|
|
186
181
|
pointIndex?: number;
|
|
187
182
|
}
|
|
@@ -21,8 +21,7 @@ export interface UpdateKpiCardDefinitionArgs {
|
|
|
21
21
|
*/
|
|
22
22
|
kpiCard: ModelRef;
|
|
23
23
|
/**
|
|
24
|
-
* The stringified Arcade script used to calculate the 'value' token of the
|
|
25
|
-
* KPI Card.
|
|
24
|
+
* The stringified Arcade script used to calculate the 'value' token of the KPI Card.
|
|
26
25
|
*/
|
|
27
26
|
valueExpression?: string;
|
|
28
27
|
/**
|
|
@@ -36,8 +35,7 @@ export interface UpdateKpiCardDefinitionArgs {
|
|
|
36
35
|
*/
|
|
37
36
|
export interface GetKpiDefinitionResult {
|
|
38
37
|
/**
|
|
39
|
-
* The stringified Arcade script used to calculate the 'value' token of the
|
|
40
|
-
* KPI card.
|
|
38
|
+
* The stringified Arcade script used to calculate the 'value' token of the KPI card.
|
|
41
39
|
*/
|
|
42
40
|
valueExpression: string;
|
|
43
41
|
/**
|
|
@@ -81,8 +81,8 @@ export declare class LayerComparisonCommands extends CommandRegistry {
|
|
|
81
81
|
*/
|
|
82
82
|
get removeLeadingLayers(): Command<Layers>;
|
|
83
83
|
/**
|
|
84
|
-
* Removes the layer(s) from the map's trailing layers, which are used by
|
|
85
|
-
* layer-comparison tool.
|
|
84
|
+
* Removes the layer(s) from the map's trailing layers, which are used by
|
|
85
|
+
* the layer-comparison tool.
|
|
86
86
|
*
|
|
87
87
|
* @webOnly
|
|
88
88
|
*/
|
|
@@ -33,8 +33,7 @@ export declare class LayoutEvents extends EventRegistry {
|
|
|
33
33
|
*/
|
|
34
34
|
get loaded(): Event<Page>;
|
|
35
35
|
/**
|
|
36
|
-
* Raised when a layout is unloaded (typically so that a new layout can be
|
|
37
|
-
* loaded).
|
|
36
|
+
* Raised when a layout is unloaded (typically so that a new layout can be loaded).
|
|
38
37
|
*
|
|
39
38
|
* @mobileOnly
|
|
40
39
|
*/
|