@vertigis/viewer-spec 43.2.0 → 43.4.1
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/messaging/common.d.ts +21 -0
- package/messaging/registry/drawing.d.ts +2 -2
- package/messaging/registry/geometry.d.ts +2 -2
- package/messaging/registry/map.d.ts +4 -4
- package/messaging/registry/measurement.d.ts +2 -2
- package/messaging/registry/portal.d.ts +2 -2
- package/messaging/registry/system.d.ts +2 -2
- package/messaging/registry/ui.d.ts +34 -0
- package/messaging/registry/ui.js +1 -1
- package/messaging/schema/common-action.schema.json +17 -0
- package/messaging/schema/mobile-action.schema.json +17 -0
- package/messaging/schema/web-action.schema.json +109 -0
- package/package.json +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/messaging/common.d.ts
CHANGED
|
@@ -33,6 +33,7 @@ import type { SimpleLineSymbol as SimpleLineSymbolProperties } from "@vertigis/a
|
|
|
33
33
|
import type { SimpleMarkerSymbol as SimpleMarkerSymbolProperties } from "@vertigis/arcgis-extensions/portal/SimpleMarkerSymbol";
|
|
34
34
|
import type { Viewpoint as ViewpointJson } from "@vertigis/arcgis-extensions/portal/Viewpoint";
|
|
35
35
|
import type { SublayerLike } from "@vertigis/arcgis-extensions/support/esri";
|
|
36
|
+
import type { ItemRef } from "app-config/common/ItemRef";
|
|
36
37
|
/**
|
|
37
38
|
* A model belonging to a component.
|
|
38
39
|
*/
|
|
@@ -143,6 +144,26 @@ export interface HasGraphics {
|
|
|
143
144
|
*/
|
|
144
145
|
graphics?: GraphicsLike;
|
|
145
146
|
}
|
|
147
|
+
/**
|
|
148
|
+
* An object with arguments for a command or operation that can display
|
|
149
|
+
* temporary UI.
|
|
150
|
+
*/
|
|
151
|
+
export interface HasUITarget {
|
|
152
|
+
/**
|
|
153
|
+
* The layout ID or ItemRef to target for the command/operation. This
|
|
154
|
+
* component will be the parent of the temporary UI that will be removed
|
|
155
|
+
* after the command/operation completes.
|
|
156
|
+
*/
|
|
157
|
+
parent?: string | ItemRef;
|
|
158
|
+
/**
|
|
159
|
+
* Optional layout XML attributes to be used for the transient UI container.
|
|
160
|
+
*/
|
|
161
|
+
attributes?: Record<string, string | number | boolean | undefined>;
|
|
162
|
+
/**
|
|
163
|
+
* Optional icon that may be used by the transient UI container.
|
|
164
|
+
*/
|
|
165
|
+
icon?: string;
|
|
166
|
+
}
|
|
146
167
|
/**
|
|
147
168
|
* An object that is convertible to Esri Graphic or set of graphics, or an
|
|
148
169
|
* object that has graphics.
|
|
@@ -21,7 +21,7 @@ import type { Command } from "../Command.js";
|
|
|
21
21
|
import { CommandRegistry } from "../CommandRegistry.js";
|
|
22
22
|
import type { Operation } from "../Operation.js";
|
|
23
23
|
import { OperationRegistry } from "../OperationRegistry.js";
|
|
24
|
-
import type { CreateGraphicsResult, GeometryLike, HasFeatures, HasGraphics, HasLayers, HasMaps, HasSymbol, SymbolLike } from "../common.js";
|
|
24
|
+
import type { CreateGraphicsResult, GeometryLike, HasFeatures, HasGraphics, HasLayers, HasMaps, HasSymbol, HasUITarget, SymbolLike } from "../common.js";
|
|
25
25
|
/**
|
|
26
26
|
* Symbols supported for drawing.
|
|
27
27
|
*/
|
|
@@ -40,7 +40,7 @@ export interface GetDefaultSymbolArgs {
|
|
|
40
40
|
* Arguments for the drawing.edit-symbol operation. Only available in Geocortex
|
|
41
41
|
* Web.
|
|
42
42
|
*/
|
|
43
|
-
export interface EditSymbolArgs extends HasMaps, HasLayers, HasGraphics, HasFeatures {
|
|
43
|
+
export interface EditSymbolArgs extends HasMaps, HasLayers, HasGraphics, HasFeatures, HasUITarget {
|
|
44
44
|
/**
|
|
45
45
|
* The geometry type for the symbol to create.
|
|
46
46
|
*/
|
|
@@ -5,7 +5,7 @@ import type { Command } from "../Command.js";
|
|
|
5
5
|
import { CommandRegistry } from "../CommandRegistry.js";
|
|
6
6
|
import type { Operation } from "../Operation.js";
|
|
7
7
|
import { OperationRegistry } from "../OperationRegistry.js";
|
|
8
|
-
import type { Geometries, HasFeatures, HasGeometry, HasMaps, MapsLike } from "../common.js";
|
|
8
|
+
import type { Geometries, HasFeatures, HasGeometry, HasMaps, HasUITarget, MapsLike } from "../common.js";
|
|
9
9
|
import type { CaptureGeometryResult } from "./sketching.js";
|
|
10
10
|
/**
|
|
11
11
|
* Arguments for the geometry.project operation.
|
|
@@ -97,5 +97,5 @@ export declare class GeometryCommands extends CommandRegistry {
|
|
|
97
97
|
*
|
|
98
98
|
* @webOnly
|
|
99
99
|
*/
|
|
100
|
-
get showSettings(): Command<
|
|
100
|
+
get showSettings(): Command<HasUITarget>;
|
|
101
101
|
}
|
|
@@ -19,7 +19,7 @@ import type { Event } from "../Event.js";
|
|
|
19
19
|
import { EventRegistry } from "../EventRegistry.js";
|
|
20
20
|
import type { Operation } from "../Operation.js";
|
|
21
21
|
import { OperationRegistry } from "../OperationRegistry.js";
|
|
22
|
-
import type { Features, FeaturesLike, Geometries, GeometryLike, GraphicsLike, Layers, LayersLike, Maps, MapsLike, ViewpointLike } from "../common.js";
|
|
22
|
+
import type { Features, FeaturesLike, Geometries, GeometryLike, GraphicsLike, HasUITarget, Layers, LayersLike, Maps, MapsLike, ViewpointLike } from "../common.js";
|
|
23
23
|
import type { MapExtensionArgs } from "../mobile.js";
|
|
24
24
|
import type { EnhancedFileData } from "./file.js";
|
|
25
25
|
import type { GeometryEditorSettings } from "./sketching.js";
|
|
@@ -200,7 +200,7 @@ export interface UpdateLayerArgs {
|
|
|
200
200
|
/**
|
|
201
201
|
* Arguments for the map.create-note command.
|
|
202
202
|
*/
|
|
203
|
-
export interface CreateMapNoteArgs {
|
|
203
|
+
export interface CreateMapNoteArgs extends HasUITarget {
|
|
204
204
|
/**
|
|
205
205
|
* Optionally the features that can be referenced for inserting snippets.
|
|
206
206
|
*/
|
|
@@ -217,7 +217,7 @@ export interface CreateMapNoteArgs {
|
|
|
217
217
|
/**
|
|
218
218
|
* Arguments for the map.edit-note command.
|
|
219
219
|
*/
|
|
220
|
-
export interface EditMapNotesArgs {
|
|
220
|
+
export interface EditMapNotesArgs extends HasUITarget {
|
|
221
221
|
/**
|
|
222
222
|
* Optionally the features that can be referenced for inserting snippets.
|
|
223
223
|
*/
|
|
@@ -234,7 +234,7 @@ export interface EditMapNotesArgs {
|
|
|
234
234
|
/**
|
|
235
235
|
* Arguments for the map.get-user-coordinates-input operation.
|
|
236
236
|
*/
|
|
237
|
-
export interface GetCoordinateArgs {
|
|
237
|
+
export interface GetCoordinateArgs extends HasUITarget {
|
|
238
238
|
/**
|
|
239
239
|
* The map on which to select the result.
|
|
240
240
|
*/
|
|
@@ -4,7 +4,7 @@ import type { Command } from "../Command.js";
|
|
|
4
4
|
import { CommandRegistry } from "../CommandRegistry.js";
|
|
5
5
|
import type { Operation } from "../Operation.js";
|
|
6
6
|
import { OperationRegistry } from "../OperationRegistry.js";
|
|
7
|
-
import type { CreateGraphicsResult, Geometries, HasSymbol, Maps, SymbolLike } from "../common.js";
|
|
7
|
+
import type { CreateGraphicsResult, Geometries, HasSymbol, HasUITarget, Maps, SymbolLike } from "../common.js";
|
|
8
8
|
import type { MapExtensionArgs } from "../mobile.js";
|
|
9
9
|
import type { DrawingSymbolConfig } from "./drawing.js";
|
|
10
10
|
import type { CaptureGeometryArgs, CaptureGeometryResult } from "./sketching.js";
|
|
@@ -66,7 +66,7 @@ export declare class MeasurementCommands extends CommandRegistry {
|
|
|
66
66
|
*
|
|
67
67
|
* @webOnly
|
|
68
68
|
*/
|
|
69
|
-
get showSettings(): Command<
|
|
69
|
+
get showSettings(): Command<HasUITarget>;
|
|
70
70
|
/**
|
|
71
71
|
* Starts drawing a measurement on the map. If a drawing has previously been
|
|
72
72
|
* started and stopped it will be resumed.
|
|
@@ -2,7 +2,7 @@ import type { Event } from "../Event.js";
|
|
|
2
2
|
import { EventRegistry } from "../EventRegistry.js";
|
|
3
3
|
import type { Operation } from "../Operation.js";
|
|
4
4
|
import { OperationRegistry } from "../OperationRegistry.js";
|
|
5
|
-
import type { HasMaps, LayersLike } from "../common.js";
|
|
5
|
+
import type { HasMaps, HasUITarget, LayersLike } from "../common.js";
|
|
6
6
|
/**
|
|
7
7
|
* Corresponds to `VertiGIS.Mobile.Infrastructure.Portal.ArcGISPortalExtension`
|
|
8
8
|
* in the VertiGIS.Mobile SDK.
|
|
@@ -12,7 +12,7 @@ export interface ArcGISPortalExtension {
|
|
|
12
12
|
/**
|
|
13
13
|
* Arguments for the "portal.choose-layers" operation.
|
|
14
14
|
*/
|
|
15
|
-
export interface ChooseLayersOptions extends HasMaps {
|
|
15
|
+
export interface ChooseLayersOptions extends HasMaps, HasUITarget {
|
|
16
16
|
/**
|
|
17
17
|
* Whether the user can choose multiple layers, or just one. Default is
|
|
18
18
|
* `false`.
|
|
@@ -2,7 +2,7 @@ import type { Command } from "../Command.js";
|
|
|
2
2
|
import { CommandRegistry } from "../CommandRegistry.js";
|
|
3
3
|
import type { Operation } from "../Operation.js";
|
|
4
4
|
import { OperationRegistry } from "../OperationRegistry.js";
|
|
5
|
-
import type { Blob, File } from "../common.js";
|
|
5
|
+
import type { Blob, File, HasUITarget } from "../common.js";
|
|
6
6
|
/**
|
|
7
7
|
* Arguments for the system.download-file operation.
|
|
8
8
|
*/
|
|
@@ -19,7 +19,7 @@ export interface DownloadArgs {
|
|
|
19
19
|
/**
|
|
20
20
|
* Arguments for the system.read-file operation.
|
|
21
21
|
*/
|
|
22
|
-
export interface ReadFileArgs {
|
|
22
|
+
export interface ReadFileArgs extends HasUITarget {
|
|
23
23
|
/**
|
|
24
24
|
* The accept parameter for the file input.
|
|
25
25
|
* {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept}.
|
|
@@ -94,6 +94,40 @@ export interface DisplayNotificationArgs {
|
|
|
94
94
|
* and will supersede one another. Mobile only.
|
|
95
95
|
*/
|
|
96
96
|
notificationGroup?: string;
|
|
97
|
+
/**
|
|
98
|
+
* The notification title - only shown for system notifications. Mobile
|
|
99
|
+
* only.
|
|
100
|
+
*/
|
|
101
|
+
title?: string;
|
|
102
|
+
/**
|
|
103
|
+
* The type of notification - 'app', 'system', or 'auto'. Defaults to
|
|
104
|
+
* 'auto'. Mobile only.
|
|
105
|
+
*/
|
|
106
|
+
type?: NotificationType;
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* The type of notification - 'app', 'system', or 'auto'. Defaults to 'auto'.
|
|
110
|
+
* Mobile only.
|
|
111
|
+
*/
|
|
112
|
+
export declare enum NotificationType {
|
|
113
|
+
/**
|
|
114
|
+
* Automatically choose whether to display an app notification or system
|
|
115
|
+
* notification. If the app is in the background, a system notification will
|
|
116
|
+
* be shown. If the app is in the foreground, an in-app notificaiton will be
|
|
117
|
+
* shown. If notifications are unauthorized at the OS level, an in-app
|
|
118
|
+
* notification will always be shown.
|
|
119
|
+
*/
|
|
120
|
+
AUTO = "auto",
|
|
121
|
+
/**
|
|
122
|
+
* Display the notification in-app.
|
|
123
|
+
*/
|
|
124
|
+
APP = "app",
|
|
125
|
+
/**
|
|
126
|
+
* Display the notification as a system notification using the device's
|
|
127
|
+
* operating system. If system notifications are turned off/disabled in the
|
|
128
|
+
* OS settings, then it will fall back to using an in-app notification.
|
|
129
|
+
*/
|
|
130
|
+
SYSTEM = "system"
|
|
97
131
|
}
|
|
98
132
|
/**
|
|
99
133
|
* Arguments for the "ui.set-visual-state" command.
|
package/messaging/registry/ui.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{CommandRegistry}from"../CommandRegistry.js";import{EventRegistry}from"../EventRegistry.js";import{OperationRegistry}from"../OperationRegistry.js";export var NotificationCategory;!function(e){e.ERROR="error",e.INFO="info",e.SUCCESS="success",e.WARNING="warning"}(NotificationCategory||(NotificationCategory={}));export var Position;!function(e){e.BOTTOM="bottom",e.LEFT="left",e.RIGHT="right",e.TOP="top"}(Position||(Position={}));export class UICommands extends CommandRegistry{get activate(){return this._messages.command("ui.activate")}get activeToggle(){return this._messages.command("ui.active-toggle")}get alert(){return this._messages.command("ui.alert")}get await(){return this._messages.command("ui.await")}get deactivate(){return this._messages.command("ui.deactivate")}get displayBusyState(){return this._messages.command("ui.display-busy-state")}get displayNotification(){return this._messages.command("ui.display-notification")}get pauseNotifications(){return this._messages.command("ui.pause-notifications")}get resumeNotifications(){return this._messages.command("ui.resume-notifications")}get focus(){return this._messages.command("ui.focus")}get hideBusyState(){return this._messages.command("ui.hide-busy-state")}get hideNotification(){return this._messages.command("ui.hide-notification")}get narrate(){return this._messages.command("ui.narrate")}get setDensity(){return this._messages.command("ui.set-density")}get setLocale(){return this._messages.command("ui.set-locale")}get setTheme(){return this._messages.command("ui.set-theme")}get setVisualState(){return this._messages.command("ui.set-visual-state")}}export class UIOperations extends OperationRegistry{get confirm(){return this._messages.operation("ui.confirm")}get prompt(){return this._messages.operation("ui.prompt")}get getTheme(){return this._messages.operation("ui.get-theme")}get getThemes(){return this._messages.operation("ui.get-themes")}get getVisualState(){return this._messages.operation("ui.get-visual-state")}}export class UIEvents extends EventRegistry{get activated(){return this._messages.event("ui.activated")}get added(){return this._messages.event("ui.added")}get ancestorActivated(){return this._messages.event("ui.ancestor-activated")}get ancestorDeactivated(){return this._messages.event("ui.ancestor-deactivated")}get deactivated(){return this._messages.event("ui.deactivated")}get densityChanged(){return this._messages.event("ui.density-changed")}get localeChanged(){return this._messages.event("ui.locale-changed")}get initializing(){return this._messages.event("ui.initializing")}get initialized(){return this._messages.event("ui.initialized")}get removed(){return this._messages.event("ui.removed")}get reordered(){return this._messages.event("ui.reordered")}get themeChanged(){return this._messages.event("ui.theme-changed")}}
|
|
1
|
+
import{CommandRegistry}from"../CommandRegistry.js";import{EventRegistry}from"../EventRegistry.js";import{OperationRegistry}from"../OperationRegistry.js";export var NotificationCategory;!function(e){e.ERROR="error",e.INFO="info",e.SUCCESS="success",e.WARNING="warning"}(NotificationCategory||(NotificationCategory={}));export var NotificationType;!function(e){e.AUTO="auto",e.APP="app",e.SYSTEM="system"}(NotificationType||(NotificationType={}));export var Position;!function(e){e.BOTTOM="bottom",e.LEFT="left",e.RIGHT="right",e.TOP="top"}(Position||(Position={}));export class UICommands extends CommandRegistry{get activate(){return this._messages.command("ui.activate")}get activeToggle(){return this._messages.command("ui.active-toggle")}get alert(){return this._messages.command("ui.alert")}get await(){return this._messages.command("ui.await")}get deactivate(){return this._messages.command("ui.deactivate")}get displayBusyState(){return this._messages.command("ui.display-busy-state")}get displayNotification(){return this._messages.command("ui.display-notification")}get pauseNotifications(){return this._messages.command("ui.pause-notifications")}get resumeNotifications(){return this._messages.command("ui.resume-notifications")}get focus(){return this._messages.command("ui.focus")}get hideBusyState(){return this._messages.command("ui.hide-busy-state")}get hideNotification(){return this._messages.command("ui.hide-notification")}get narrate(){return this._messages.command("ui.narrate")}get setDensity(){return this._messages.command("ui.set-density")}get setLocale(){return this._messages.command("ui.set-locale")}get setTheme(){return this._messages.command("ui.set-theme")}get setVisualState(){return this._messages.command("ui.set-visual-state")}}export class UIOperations extends OperationRegistry{get confirm(){return this._messages.operation("ui.confirm")}get prompt(){return this._messages.operation("ui.prompt")}get getTheme(){return this._messages.operation("ui.get-theme")}get getThemes(){return this._messages.operation("ui.get-themes")}get getVisualState(){return this._messages.operation("ui.get-visual-state")}}export class UIEvents extends EventRegistry{get activated(){return this._messages.event("ui.activated")}get added(){return this._messages.event("ui.added")}get ancestorActivated(){return this._messages.event("ui.ancestor-activated")}get ancestorDeactivated(){return this._messages.event("ui.ancestor-deactivated")}get deactivated(){return this._messages.event("ui.deactivated")}get densityChanged(){return this._messages.event("ui.density-changed")}get localeChanged(){return this._messages.event("ui.locale-changed")}get initializing(){return this._messages.event("ui.initializing")}get initialized(){return this._messages.event("ui.initialized")}get removed(){return this._messages.event("ui.removed")}get reordered(){return this._messages.event("ui.reordered")}get themeChanged(){return this._messages.event("ui.theme-changed")}}
|
|
@@ -693,6 +693,14 @@
|
|
|
693
693
|
"position": {
|
|
694
694
|
"$ref": "Position",
|
|
695
695
|
"description": "The position of the notification on the screen."
|
|
696
|
+
},
|
|
697
|
+
"title": {
|
|
698
|
+
"description": "The notification title - only shown for system notifications. Mobile only.",
|
|
699
|
+
"type": "string"
|
|
700
|
+
},
|
|
701
|
+
"type": {
|
|
702
|
+
"$ref": "#/definitions/NotificationType",
|
|
703
|
+
"description": "The type of notification - 'app', 'system', or 'auto'. Defaults to 'auto'. Mobile only."
|
|
696
704
|
}
|
|
697
705
|
},
|
|
698
706
|
"required": [
|
|
@@ -1289,6 +1297,15 @@
|
|
|
1289
1297
|
],
|
|
1290
1298
|
"type": "string"
|
|
1291
1299
|
},
|
|
1300
|
+
"NotificationType": {
|
|
1301
|
+
"description": "The type of notification - 'app', 'system', or 'auto'. Defaults to 'auto'. Mobile only.",
|
|
1302
|
+
"enum": [
|
|
1303
|
+
"app",
|
|
1304
|
+
"auto",
|
|
1305
|
+
"system"
|
|
1306
|
+
],
|
|
1307
|
+
"type": "string"
|
|
1308
|
+
},
|
|
1292
1309
|
"Results": {
|
|
1293
1310
|
"additionalProperties": false,
|
|
1294
1311
|
"description": "Feature results from an operation.",
|
|
@@ -821,6 +821,14 @@
|
|
|
821
821
|
"position": {
|
|
822
822
|
"$ref": "Position",
|
|
823
823
|
"description": "The position of the notification on the screen."
|
|
824
|
+
},
|
|
825
|
+
"title": {
|
|
826
|
+
"description": "The notification title - only shown for system notifications. Mobile only.",
|
|
827
|
+
"type": "string"
|
|
828
|
+
},
|
|
829
|
+
"type": {
|
|
830
|
+
"$ref": "#/definitions/NotificationType",
|
|
831
|
+
"description": "The type of notification - 'app', 'system', or 'auto'. Defaults to 'auto'. Mobile only."
|
|
824
832
|
}
|
|
825
833
|
},
|
|
826
834
|
"required": [
|
|
@@ -1651,6 +1659,15 @@
|
|
|
1651
1659
|
],
|
|
1652
1660
|
"type": "string"
|
|
1653
1661
|
},
|
|
1662
|
+
"NotificationType": {
|
|
1663
|
+
"description": "The type of notification - 'app', 'system', or 'auto'. Defaults to 'auto'. Mobile only.",
|
|
1664
|
+
"enum": [
|
|
1665
|
+
"app",
|
|
1666
|
+
"auto",
|
|
1667
|
+
"system"
|
|
1668
|
+
],
|
|
1669
|
+
"type": "string"
|
|
1670
|
+
},
|
|
1654
1671
|
"OfflineCommandArgs": {
|
|
1655
1672
|
"additionalProperties": false,
|
|
1656
1673
|
"description": "Arguments for various offline commands.",
|
|
@@ -1247,6 +1247,9 @@
|
|
|
1247
1247
|
"additionalProperties": false,
|
|
1248
1248
|
"description": "Arguments for the map.create-note command.",
|
|
1249
1249
|
"properties": {
|
|
1250
|
+
"attributes": {
|
|
1251
|
+
"description": "Optional layout XML attributes to be used for the transient UI container."
|
|
1252
|
+
},
|
|
1250
1253
|
"features": {
|
|
1251
1254
|
"$ref": "#/definitions/FeaturesLike",
|
|
1252
1255
|
"description": "Optionally the features that can be referenced for inserting snippets."
|
|
@@ -1255,9 +1258,17 @@
|
|
|
1255
1258
|
"$ref": "#/definitions/esri.Point",
|
|
1256
1259
|
"description": "The location for the map note."
|
|
1257
1260
|
},
|
|
1261
|
+
"icon": {
|
|
1262
|
+
"description": "Optional icon that may be used by the transient UI container.",
|
|
1263
|
+
"type": "string"
|
|
1264
|
+
},
|
|
1258
1265
|
"maps": {
|
|
1259
1266
|
"$ref": "MapsLike",
|
|
1260
1267
|
"description": "The map that should show the created note."
|
|
1268
|
+
},
|
|
1269
|
+
"parent": {
|
|
1270
|
+
"description": "The layout ID or ItemRef to target for the command/operation. This component will be the parent of the temporary UI that will be removed after the command/operation completes.",
|
|
1271
|
+
"type": "string"
|
|
1261
1272
|
}
|
|
1262
1273
|
},
|
|
1263
1274
|
"required": [
|
|
@@ -1325,6 +1336,14 @@
|
|
|
1325
1336
|
"position": {
|
|
1326
1337
|
"$ref": "Position",
|
|
1327
1338
|
"description": "The position of the notification on the screen."
|
|
1339
|
+
},
|
|
1340
|
+
"title": {
|
|
1341
|
+
"description": "The notification title - only shown for system notifications. Mobile only.",
|
|
1342
|
+
"type": "string"
|
|
1343
|
+
},
|
|
1344
|
+
"type": {
|
|
1345
|
+
"$ref": "#/definitions/NotificationType",
|
|
1346
|
+
"description": "The type of notification - 'app', 'system', or 'auto'. Defaults to 'auto'. Mobile only."
|
|
1328
1347
|
}
|
|
1329
1348
|
},
|
|
1330
1349
|
"required": [
|
|
@@ -1566,6 +1585,9 @@
|
|
|
1566
1585
|
"additionalProperties": false,
|
|
1567
1586
|
"description": "Arguments for the map.edit-note command.",
|
|
1568
1587
|
"properties": {
|
|
1588
|
+
"attributes": {
|
|
1589
|
+
"description": "Optional layout XML attributes to be used for the transient UI container."
|
|
1590
|
+
},
|
|
1569
1591
|
"features": {
|
|
1570
1592
|
"$ref": "#/definitions/FeaturesLike",
|
|
1571
1593
|
"description": "Optionally the features that can be referenced for inserting snippets."
|
|
@@ -1574,9 +1596,17 @@
|
|
|
1574
1596
|
"$ref": "#/definitions/esri.Point",
|
|
1575
1597
|
"description": "The geometry from which to attempt to select the Note."
|
|
1576
1598
|
},
|
|
1599
|
+
"icon": {
|
|
1600
|
+
"description": "Optional icon that may be used by the transient UI container.",
|
|
1601
|
+
"type": "string"
|
|
1602
|
+
},
|
|
1577
1603
|
"maps": {
|
|
1578
1604
|
"$ref": "MapsLike",
|
|
1579
1605
|
"description": "The map on which to edit the result."
|
|
1606
|
+
},
|
|
1607
|
+
"parent": {
|
|
1608
|
+
"description": "The layout ID or ItemRef to target for the command/operation. This component will be the parent of the temporary UI that will be removed after the command/operation completes.",
|
|
1609
|
+
"type": "string"
|
|
1580
1610
|
}
|
|
1581
1611
|
},
|
|
1582
1612
|
"required": [
|
|
@@ -1588,6 +1618,9 @@
|
|
|
1588
1618
|
"additionalProperties": false,
|
|
1589
1619
|
"description": "Arguments for the drawing.edit-symbol operation. Only available in Geocortex Web.",
|
|
1590
1620
|
"properties": {
|
|
1621
|
+
"attributes": {
|
|
1622
|
+
"description": "Optional layout XML attributes to be used for the transient UI container."
|
|
1623
|
+
},
|
|
1591
1624
|
"features": {
|
|
1592
1625
|
"$ref": "#/definitions/FeaturesLike",
|
|
1593
1626
|
"description": "Features to use for the command/operation."
|
|
@@ -1600,6 +1633,10 @@
|
|
|
1600
1633
|
"$ref": "#/definitions/GraphicsLike",
|
|
1601
1634
|
"description": "Graphics to use for the command/operation."
|
|
1602
1635
|
},
|
|
1636
|
+
"icon": {
|
|
1637
|
+
"description": "Optional icon that may be used by the transient UI container.",
|
|
1638
|
+
"type": "string"
|
|
1639
|
+
},
|
|
1603
1640
|
"layers": {
|
|
1604
1641
|
"$ref": "#/definitions/LayersLike",
|
|
1605
1642
|
"description": "Layer(s) to use for the command/operation."
|
|
@@ -1608,6 +1645,10 @@
|
|
|
1608
1645
|
"$ref": "MapsLike",
|
|
1609
1646
|
"description": "Map(s) to use for the command/operation."
|
|
1610
1647
|
},
|
|
1648
|
+
"parent": {
|
|
1649
|
+
"description": "The layout ID or ItemRef to target for the command/operation. This component will be the parent of the temporary UI that will be removed after the command/operation completes.",
|
|
1650
|
+
"type": "string"
|
|
1651
|
+
},
|
|
1611
1652
|
"showOnlySymbolPresets": {
|
|
1612
1653
|
"description": "If the fine-grain controls should be hidden and only the symbol presets should be shown. If no valid symbol presets are configured, this property will be ignored. Default is false. If defined, this will override the value of the DrawService's 'showOnlySymbolPresets' property.",
|
|
1613
1654
|
"type": "boolean"
|
|
@@ -2476,13 +2517,24 @@
|
|
|
2476
2517
|
"description": "Indicates if the user should be given the option to select a point from the map.",
|
|
2477
2518
|
"type": "boolean"
|
|
2478
2519
|
},
|
|
2520
|
+
"attributes": {
|
|
2521
|
+
"description": "Optional layout XML attributes to be used for the transient UI container."
|
|
2522
|
+
},
|
|
2479
2523
|
"geometry": {
|
|
2480
2524
|
"$ref": "#/definitions/esri.Point",
|
|
2481
2525
|
"description": "An optional starting coordinate."
|
|
2482
2526
|
},
|
|
2527
|
+
"icon": {
|
|
2528
|
+
"description": "Optional icon that may be used by the transient UI container.",
|
|
2529
|
+
"type": "string"
|
|
2530
|
+
},
|
|
2483
2531
|
"maps": {
|
|
2484
2532
|
"$ref": "MapsLike",
|
|
2485
2533
|
"description": "The map on which to select the result."
|
|
2534
|
+
},
|
|
2535
|
+
"parent": {
|
|
2536
|
+
"description": "The layout ID or ItemRef to target for the command/operation. This component will be the parent of the temporary UI that will be removed after the command/operation completes.",
|
|
2537
|
+
"type": "string"
|
|
2486
2538
|
}
|
|
2487
2539
|
},
|
|
2488
2540
|
"type": "object"
|
|
@@ -2713,6 +2765,24 @@
|
|
|
2713
2765
|
},
|
|
2714
2766
|
"type": "object"
|
|
2715
2767
|
},
|
|
2768
|
+
"HasUITarget": {
|
|
2769
|
+
"additionalProperties": false,
|
|
2770
|
+
"description": "An object with arguments for a command or operation that can display temporary UI.",
|
|
2771
|
+
"properties": {
|
|
2772
|
+
"attributes": {
|
|
2773
|
+
"description": "Optional layout XML attributes to be used for the transient UI container."
|
|
2774
|
+
},
|
|
2775
|
+
"icon": {
|
|
2776
|
+
"description": "Optional icon that may be used by the transient UI container.",
|
|
2777
|
+
"type": "string"
|
|
2778
|
+
},
|
|
2779
|
+
"parent": {
|
|
2780
|
+
"description": "The layout ID or ItemRef to target for the command/operation. This component will be the parent of the temporary UI that will be removed after the command/operation completes.",
|
|
2781
|
+
"type": "string"
|
|
2782
|
+
}
|
|
2783
|
+
},
|
|
2784
|
+
"type": "object"
|
|
2785
|
+
},
|
|
2716
2786
|
"IdentifyArgs": {
|
|
2717
2787
|
"additionalProperties": false,
|
|
2718
2788
|
"description": "Arguments for the tasks.identify operation.",
|
|
@@ -3168,6 +3238,15 @@
|
|
|
3168
3238
|
],
|
|
3169
3239
|
"type": "string"
|
|
3170
3240
|
},
|
|
3241
|
+
"NotificationType": {
|
|
3242
|
+
"description": "The type of notification - 'app', 'system', or 'auto'. Defaults to 'auto'. Mobile only.",
|
|
3243
|
+
"enum": [
|
|
3244
|
+
"app",
|
|
3245
|
+
"auto",
|
|
3246
|
+
"system"
|
|
3247
|
+
],
|
|
3248
|
+
"type": "string"
|
|
3249
|
+
},
|
|
3171
3250
|
"Orientation": {
|
|
3172
3251
|
"description": "An orientation for the layout.",
|
|
3173
3252
|
"enum": [
|
|
@@ -3244,10 +3323,21 @@
|
|
|
3244
3323
|
"description": "The accept parameter for the file input. {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept}.",
|
|
3245
3324
|
"type": "string"
|
|
3246
3325
|
},
|
|
3326
|
+
"attributes": {
|
|
3327
|
+
"description": "Optional layout XML attributes to be used for the transient UI container."
|
|
3328
|
+
},
|
|
3329
|
+
"icon": {
|
|
3330
|
+
"description": "Optional icon that may be used by the transient UI container.",
|
|
3331
|
+
"type": "string"
|
|
3332
|
+
},
|
|
3247
3333
|
"multiple": {
|
|
3248
3334
|
"description": "If present, indicates that the user may choose more than one file.",
|
|
3249
3335
|
"type": "boolean"
|
|
3250
3336
|
},
|
|
3337
|
+
"parent": {
|
|
3338
|
+
"description": "The layout ID or ItemRef to target for the command/operation. This component will be the parent of the temporary UI that will be removed after the command/operation completes.",
|
|
3339
|
+
"type": "string"
|
|
3340
|
+
},
|
|
3251
3341
|
"promptMessage": {
|
|
3252
3342
|
"description": "If present, overrides the default message of the dialog that prompts the user for a file.",
|
|
3253
3343
|
"type": "string"
|
|
@@ -15819,6 +15909,9 @@
|
|
|
15819
15909
|
"measurement.show-settings"
|
|
15820
15910
|
]
|
|
15821
15911
|
},
|
|
15912
|
+
"measurement.show-settings:input": {
|
|
15913
|
+
"$ref": "#/definitions/HasUITarget"
|
|
15914
|
+
},
|
|
15822
15915
|
"messaging.mix-in-args": {
|
|
15823
15916
|
"description": "Attempts to merge an array of values into a single value that can be used as an argument for a command or operation. For example: ``` [features, { chart: \"average-household-income\" }] ``` This would mix `features` obtained from some other source into arguments intended for the \"charts.display\" command. If the values cannot be merged, then the leftmost value is returned. Note that argument merging already occurs automatically in command chains; this explicit operation exists for advanced scenarios like Geocortex Workflow or custom code written using the SDK.",
|
|
15824
15917
|
"enum": [
|
|
@@ -18168,6 +18261,22 @@
|
|
|
18168
18261
|
],
|
|
18169
18262
|
"type": "object"
|
|
18170
18263
|
},
|
|
18264
|
+
{
|
|
18265
|
+
"additionalProperties": false,
|
|
18266
|
+
"properties": {
|
|
18267
|
+
"arguments": {
|
|
18268
|
+
"$ref": "#/definitions/measurement.show-settings:input"
|
|
18269
|
+
},
|
|
18270
|
+
"name": {
|
|
18271
|
+
"$ref": "#/definitions/measurement.show-settings"
|
|
18272
|
+
}
|
|
18273
|
+
},
|
|
18274
|
+
"required": [
|
|
18275
|
+
"name",
|
|
18276
|
+
"arguments"
|
|
18277
|
+
],
|
|
18278
|
+
"type": "object"
|
|
18279
|
+
},
|
|
18171
18280
|
{
|
|
18172
18281
|
"additionalProperties": false,
|
|
18173
18282
|
"properties": {
|
package/package.json
CHANGED
package/version.d.ts
CHANGED
package/version.js
CHANGED