@vertigis/viewer-spec 56.0.0 → 56.2.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/messaging/registry/arcade.d.ts +7 -3
- package/messaging/registry/system.d.ts +9 -0
- package/messaging/schema/common-action.schema.json +67 -0
- package/messaging/schema/mobile-action.schema.json +67 -0
- package/messaging/schema/web-action.schema.json +72 -1
- package/package.json +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -35,11 +35,15 @@ export interface RunArcadeArgs extends HasMaps, HasLayers, HasFeatures {
|
|
|
35
35
|
arguments?: Record<string, unknown | ItemPropertyPath>;
|
|
36
36
|
/**
|
|
37
37
|
* Whether to pass the operation context object into the script. If
|
|
38
|
-
* included, the context object uses the variable name $context.
|
|
39
|
-
*
|
|
40
|
-
* @webOnly
|
|
38
|
+
* included, the context object uses the variable name $context.
|
|
41
39
|
*/
|
|
42
40
|
includeContext?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Whether to pass the current workflow application state into the script.
|
|
43
|
+
* If included, the application state object uses the variable name
|
|
44
|
+
* $workflowdata.
|
|
45
|
+
*/
|
|
46
|
+
includeWorkflowApplicationData?: boolean;
|
|
43
47
|
/**
|
|
44
48
|
* Properties used to set a series of watch handles and/or event listeners
|
|
45
49
|
* on an item that will trigger the canExecuteChanged event for the
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import type Point from "@arcgis/core/geometry/Point.js";
|
|
2
|
+
import type { ItemRef } from "app-config/common/ItemRef.js";
|
|
3
|
+
import type { CoordinateOptionProperties } from "app-config/web/CoordinateModelProperties.js";
|
|
2
4
|
import type { Command } from "../Command.js";
|
|
3
5
|
import { CommandRegistry } from "../CommandRegistry.js";
|
|
4
6
|
import type { Event } from "../Event.js";
|
|
@@ -93,6 +95,13 @@ export interface OpenUrlArgs {
|
|
|
93
95
|
* The URL to open.
|
|
94
96
|
*/
|
|
95
97
|
url: string;
|
|
98
|
+
/**
|
|
99
|
+
* The coordinate option to use when formatting coordinate tokens. Valid
|
|
100
|
+
* options must support latitude and longitude. Can be a reference to an
|
|
101
|
+
* existing 'coordinate-option' item, or inline JSON defining a coordinate
|
|
102
|
+
* option item.
|
|
103
|
+
*/
|
|
104
|
+
coordinateOption?: ItemRef | CoordinateOptionProperties;
|
|
96
105
|
/**
|
|
97
106
|
* An object containing arguments that this command was originally executed
|
|
98
107
|
* with. This property is populated automatically when using a bound action.
|
|
@@ -1021,6 +1021,51 @@
|
|
|
1021
1021
|
},
|
|
1022
1022
|
"type": "object"
|
|
1023
1023
|
},
|
|
1024
|
+
"CoordinateFormat": {
|
|
1025
|
+
"description": "The format in which a map coordinate could be displayed.",
|
|
1026
|
+
"enum": [
|
|
1027
|
+
"lat-long-dd",
|
|
1028
|
+
"lat-long-ddm",
|
|
1029
|
+
"lat-long-dms",
|
|
1030
|
+
"mgrs",
|
|
1031
|
+
"usng",
|
|
1032
|
+
"utm",
|
|
1033
|
+
"xy"
|
|
1034
|
+
],
|
|
1035
|
+
"type": "string"
|
|
1036
|
+
},
|
|
1037
|
+
"CoordinateOptionProperties": {
|
|
1038
|
+
"additionalProperties": false,
|
|
1039
|
+
"description": "Options for configuring the display of map coordinates.",
|
|
1040
|
+
"properties": {
|
|
1041
|
+
"format": {
|
|
1042
|
+
"$ref": "#/definitions/CoordinateFormat",
|
|
1043
|
+
"description": "The format to display map coordinates in."
|
|
1044
|
+
},
|
|
1045
|
+
"id": {
|
|
1046
|
+
"description": "The unique ID of the Coordinate Option.",
|
|
1047
|
+
"type": "string"
|
|
1048
|
+
},
|
|
1049
|
+
"precision": {
|
|
1050
|
+
"description": "For LAT_LONG and XY coordinate formats, this property depicts the number of decimal places displayed. For MGRS and USNG coordinate formats, this property depicts the precision of the coordinates using an integer between 0 and 8 (inclusive). This Value is ignored by UTM coordinate formats. The default values for coordinate formats are as follows: LAT_LONG=4, XY=2, MGRS=5, and USNG=5.",
|
|
1051
|
+
"type": "number"
|
|
1052
|
+
},
|
|
1053
|
+
"spatialReference": {
|
|
1054
|
+
"$ref": "#/definitions/esri.rest-api.SpatialReferenceJson.SpatialReferenceJson",
|
|
1055
|
+
"description": "The spatial reference to display map coordinates in. If this property is not defined, the spatial reference of the map will be used."
|
|
1056
|
+
},
|
|
1057
|
+
"title": {
|
|
1058
|
+
"description": "The display name of the CoordinateOption.",
|
|
1059
|
+
"type": "string"
|
|
1060
|
+
}
|
|
1061
|
+
},
|
|
1062
|
+
"required": [
|
|
1063
|
+
"format",
|
|
1064
|
+
"id",
|
|
1065
|
+
"title"
|
|
1066
|
+
],
|
|
1067
|
+
"type": "object"
|
|
1068
|
+
},
|
|
1024
1069
|
"CreateGraphicsArgs": {
|
|
1025
1070
|
"additionalProperties": false,
|
|
1026
1071
|
"description": "Arguments for the \"drawing.create-graphics\" operation. `GeometryLike`, `FeaturesLike` and `SymbolLike` are only available in Web.",
|
|
@@ -2238,6 +2283,17 @@
|
|
|
2238
2283
|
"context": {
|
|
2239
2284
|
"description": "An object containing arguments that this command was originally executed with. This property is populated automatically when using a bound action. The URL will be the configured value, and the context is automatically populated as the argument that was passed into the execute method when the command was executed in context."
|
|
2240
2285
|
},
|
|
2286
|
+
"coordinateOption": {
|
|
2287
|
+
"anyOf": [
|
|
2288
|
+
{
|
|
2289
|
+
"$ref": "#/definitions/CoordinateOptionProperties"
|
|
2290
|
+
},
|
|
2291
|
+
{
|
|
2292
|
+
"type": "string"
|
|
2293
|
+
}
|
|
2294
|
+
],
|
|
2295
|
+
"description": "The coordinate option to use when formatting coordinate tokens. Valid options must support latitude and longitude. Can be a reference to an existing 'coordinate-option' item, or inline JSON defining a coordinate option item."
|
|
2296
|
+
},
|
|
2241
2297
|
"numberFormatterLocale": {
|
|
2242
2298
|
"description": "The locale to use for number token substitution. Accepts a valid locale code (example: \"en\", \"fr\" or \"de-AT\"), or \"device\" or \"invariant\" which will use the device's current culture or the invariant culture, respectively. Default is invariant culture.",
|
|
2243
2299
|
"type": "string"
|
|
@@ -3198,6 +3254,17 @@
|
|
|
3198
3254
|
"additionalProperties": false,
|
|
3199
3255
|
"description": "VertiGIS Studio Web's arguments for the system.open-url command.",
|
|
3200
3256
|
"properties": {
|
|
3257
|
+
"coordinateOption": {
|
|
3258
|
+
"anyOf": [
|
|
3259
|
+
{
|
|
3260
|
+
"$ref": "#/definitions/CoordinateOptionProperties"
|
|
3261
|
+
},
|
|
3262
|
+
{
|
|
3263
|
+
"type": "string"
|
|
3264
|
+
}
|
|
3265
|
+
],
|
|
3266
|
+
"description": "The coordinate option to use when formatting coordinate tokens. Valid options must support latitude and longitude. Can be a reference to an existing 'coordinate-option' item, or inline JSON defining a coordinate option item."
|
|
3267
|
+
},
|
|
3201
3268
|
"features": {
|
|
3202
3269
|
"$ref": "#/definitions/FeaturesLike",
|
|
3203
3270
|
"description": "Features to use for the command/operation."
|
|
@@ -1141,6 +1141,51 @@
|
|
|
1141
1141
|
},
|
|
1142
1142
|
"type": "object"
|
|
1143
1143
|
},
|
|
1144
|
+
"CoordinateFormat": {
|
|
1145
|
+
"description": "The format in which a map coordinate could be displayed.",
|
|
1146
|
+
"enum": [
|
|
1147
|
+
"lat-long-dd",
|
|
1148
|
+
"lat-long-ddm",
|
|
1149
|
+
"lat-long-dms",
|
|
1150
|
+
"mgrs",
|
|
1151
|
+
"usng",
|
|
1152
|
+
"utm",
|
|
1153
|
+
"xy"
|
|
1154
|
+
],
|
|
1155
|
+
"type": "string"
|
|
1156
|
+
},
|
|
1157
|
+
"CoordinateOptionProperties": {
|
|
1158
|
+
"additionalProperties": false,
|
|
1159
|
+
"description": "Options for configuring the display of map coordinates.",
|
|
1160
|
+
"properties": {
|
|
1161
|
+
"format": {
|
|
1162
|
+
"$ref": "#/definitions/CoordinateFormat",
|
|
1163
|
+
"description": "The format to display map coordinates in."
|
|
1164
|
+
},
|
|
1165
|
+
"id": {
|
|
1166
|
+
"description": "The unique ID of the Coordinate Option.",
|
|
1167
|
+
"type": "string"
|
|
1168
|
+
},
|
|
1169
|
+
"precision": {
|
|
1170
|
+
"description": "For LAT_LONG and XY coordinate formats, this property depicts the number of decimal places displayed. For MGRS and USNG coordinate formats, this property depicts the precision of the coordinates using an integer between 0 and 8 (inclusive). This Value is ignored by UTM coordinate formats. The default values for coordinate formats are as follows: LAT_LONG=4, XY=2, MGRS=5, and USNG=5.",
|
|
1171
|
+
"type": "number"
|
|
1172
|
+
},
|
|
1173
|
+
"spatialReference": {
|
|
1174
|
+
"$ref": "#/definitions/esri.rest-api.SpatialReferenceJson.SpatialReferenceJson",
|
|
1175
|
+
"description": "The spatial reference to display map coordinates in. If this property is not defined, the spatial reference of the map will be used."
|
|
1176
|
+
},
|
|
1177
|
+
"title": {
|
|
1178
|
+
"description": "The display name of the CoordinateOption.",
|
|
1179
|
+
"type": "string"
|
|
1180
|
+
}
|
|
1181
|
+
},
|
|
1182
|
+
"required": [
|
|
1183
|
+
"format",
|
|
1184
|
+
"id",
|
|
1185
|
+
"title"
|
|
1186
|
+
],
|
|
1187
|
+
"type": "object"
|
|
1188
|
+
},
|
|
1144
1189
|
"CoordinateTransformation": {
|
|
1145
1190
|
"additionalProperties": false,
|
|
1146
1191
|
"description": "Result of the \"map.get-coordinate-transformation\" operation.",
|
|
@@ -2944,6 +2989,17 @@
|
|
|
2944
2989
|
"context": {
|
|
2945
2990
|
"description": "An object containing arguments that this command was originally executed with. This property is populated automatically when using a bound action. The URL will be the configured value, and the context is automatically populated as the argument that was passed into the execute method when the command was executed in context."
|
|
2946
2991
|
},
|
|
2992
|
+
"coordinateOption": {
|
|
2993
|
+
"anyOf": [
|
|
2994
|
+
{
|
|
2995
|
+
"$ref": "#/definitions/CoordinateOptionProperties"
|
|
2996
|
+
},
|
|
2997
|
+
{
|
|
2998
|
+
"type": "string"
|
|
2999
|
+
}
|
|
3000
|
+
],
|
|
3001
|
+
"description": "The coordinate option to use when formatting coordinate tokens. Valid options must support latitude and longitude. Can be a reference to an existing 'coordinate-option' item, or inline JSON defining a coordinate option item."
|
|
3002
|
+
},
|
|
2947
3003
|
"numberFormatterLocale": {
|
|
2948
3004
|
"description": "The locale to use for number token substitution. Accepts a valid locale code (example: \"en\", \"fr\" or \"de-AT\"), or \"device\" or \"invariant\" which will use the device's current culture or the invariant culture, respectively. Default is invariant culture.",
|
|
2949
3005
|
"type": "string"
|
|
@@ -4239,6 +4295,17 @@
|
|
|
4239
4295
|
"additionalProperties": false,
|
|
4240
4296
|
"description": "VertiGIS Studio Web's arguments for the system.open-url command.",
|
|
4241
4297
|
"properties": {
|
|
4298
|
+
"coordinateOption": {
|
|
4299
|
+
"anyOf": [
|
|
4300
|
+
{
|
|
4301
|
+
"$ref": "#/definitions/CoordinateOptionProperties"
|
|
4302
|
+
},
|
|
4303
|
+
{
|
|
4304
|
+
"type": "string"
|
|
4305
|
+
}
|
|
4306
|
+
],
|
|
4307
|
+
"description": "The coordinate option to use when formatting coordinate tokens. Valid options must support latitude and longitude. Can be a reference to an existing 'coordinate-option' item, or inline JSON defining a coordinate option item."
|
|
4308
|
+
},
|
|
4242
4309
|
"features": {
|
|
4243
4310
|
"$ref": "#/definitions/FeaturesLike",
|
|
4244
4311
|
"description": "Features to use for the command/operation."
|
|
@@ -1487,6 +1487,51 @@
|
|
|
1487
1487
|
],
|
|
1488
1488
|
"type": "object"
|
|
1489
1489
|
},
|
|
1490
|
+
"CoordinateFormat": {
|
|
1491
|
+
"description": "The format in which a map coordinate could be displayed.",
|
|
1492
|
+
"enum": [
|
|
1493
|
+
"lat-long-dd",
|
|
1494
|
+
"lat-long-ddm",
|
|
1495
|
+
"lat-long-dms",
|
|
1496
|
+
"mgrs",
|
|
1497
|
+
"usng",
|
|
1498
|
+
"utm",
|
|
1499
|
+
"xy"
|
|
1500
|
+
],
|
|
1501
|
+
"type": "string"
|
|
1502
|
+
},
|
|
1503
|
+
"CoordinateOptionProperties": {
|
|
1504
|
+
"additionalProperties": false,
|
|
1505
|
+
"description": "Options for configuring the display of map coordinates.",
|
|
1506
|
+
"properties": {
|
|
1507
|
+
"format": {
|
|
1508
|
+
"$ref": "#/definitions/CoordinateFormat",
|
|
1509
|
+
"description": "The format to display map coordinates in."
|
|
1510
|
+
},
|
|
1511
|
+
"id": {
|
|
1512
|
+
"description": "The unique ID of the Coordinate Option.",
|
|
1513
|
+
"type": "string"
|
|
1514
|
+
},
|
|
1515
|
+
"precision": {
|
|
1516
|
+
"description": "For LAT_LONG and XY coordinate formats, this property depicts the number of decimal places displayed. For MGRS and USNG coordinate formats, this property depicts the precision of the coordinates using an integer between 0 and 8 (inclusive). This Value is ignored by UTM coordinate formats. The default values for coordinate formats are as follows: LAT_LONG=4, XY=2, MGRS=5, and USNG=5.",
|
|
1517
|
+
"type": "number"
|
|
1518
|
+
},
|
|
1519
|
+
"spatialReference": {
|
|
1520
|
+
"$ref": "#/definitions/esri.rest-api.SpatialReferenceJson.SpatialReferenceJson",
|
|
1521
|
+
"description": "The spatial reference to display map coordinates in. If this property is not defined, the spatial reference of the map will be used."
|
|
1522
|
+
},
|
|
1523
|
+
"title": {
|
|
1524
|
+
"description": "The display name of the CoordinateOption.",
|
|
1525
|
+
"type": "string"
|
|
1526
|
+
}
|
|
1527
|
+
},
|
|
1528
|
+
"required": [
|
|
1529
|
+
"format",
|
|
1530
|
+
"id",
|
|
1531
|
+
"title"
|
|
1532
|
+
],
|
|
1533
|
+
"type": "object"
|
|
1534
|
+
},
|
|
1490
1535
|
"CreateFeatureArgs": {
|
|
1491
1536
|
"additionalProperties": false,
|
|
1492
1537
|
"description": "Arguments for the \"edit.create-feature\" operation. A valid feature layer, subtype group layer, or subtype sublayer is required. The geometry is required for non-tabular features. Web only.",
|
|
@@ -4688,6 +4733,17 @@
|
|
|
4688
4733
|
"context": {
|
|
4689
4734
|
"description": "An object containing arguments that this command was originally executed with. This property is populated automatically when using a bound action. The URL will be the configured value, and the context is automatically populated as the argument that was passed into the execute method when the command was executed in context."
|
|
4690
4735
|
},
|
|
4736
|
+
"coordinateOption": {
|
|
4737
|
+
"anyOf": [
|
|
4738
|
+
{
|
|
4739
|
+
"$ref": "#/definitions/CoordinateOptionProperties"
|
|
4740
|
+
},
|
|
4741
|
+
{
|
|
4742
|
+
"type": "string"
|
|
4743
|
+
}
|
|
4744
|
+
],
|
|
4745
|
+
"description": "The coordinate option to use when formatting coordinate tokens. Valid options must support latitude and longitude. Can be a reference to an existing 'coordinate-option' item, or inline JSON defining a coordinate option item."
|
|
4746
|
+
},
|
|
4691
4747
|
"numberFormatterLocale": {
|
|
4692
4748
|
"description": "The locale to use for number token substitution. Accepts a valid locale code (example: \"en\", \"fr\" or \"de-AT\"), or \"device\" or \"invariant\" which will use the device's current culture or the invariant culture, respectively. Default is invariant culture.",
|
|
4693
4749
|
"type": "string"
|
|
@@ -5259,7 +5315,11 @@
|
|
|
5259
5315
|
"description": "Features to use for the command/operation."
|
|
5260
5316
|
},
|
|
5261
5317
|
"includeContext": {
|
|
5262
|
-
"description": "Whether to pass the operation context object into the script. If included, the context object uses the variable name $context.
|
|
5318
|
+
"description": "Whether to pass the operation context object into the script. If included, the context object uses the variable name $context.",
|
|
5319
|
+
"type": "boolean"
|
|
5320
|
+
},
|
|
5321
|
+
"includeWorkflowApplicationData": {
|
|
5322
|
+
"description": "Whether to pass the current workflow application state into the script. If included, the application state object uses the variable name $workflowdata.",
|
|
5263
5323
|
"type": "boolean"
|
|
5264
5324
|
},
|
|
5265
5325
|
"layers": {
|
|
@@ -7446,6 +7506,17 @@
|
|
|
7446
7506
|
"additionalProperties": false,
|
|
7447
7507
|
"description": "VertiGIS Studio Web's arguments for the system.open-url command.",
|
|
7448
7508
|
"properties": {
|
|
7509
|
+
"coordinateOption": {
|
|
7510
|
+
"anyOf": [
|
|
7511
|
+
{
|
|
7512
|
+
"$ref": "#/definitions/CoordinateOptionProperties"
|
|
7513
|
+
},
|
|
7514
|
+
{
|
|
7515
|
+
"type": "string"
|
|
7516
|
+
}
|
|
7517
|
+
],
|
|
7518
|
+
"description": "The coordinate option to use when formatting coordinate tokens. Valid options must support latitude and longitude. Can be a reference to an existing 'coordinate-option' item, or inline JSON defining a coordinate option item."
|
|
7519
|
+
},
|
|
7449
7520
|
"features": {
|
|
7450
7521
|
"$ref": "#/definitions/FeaturesLike",
|
|
7451
7522
|
"description": "Features to use for the command/operation."
|
package/package.json
CHANGED
package/version.d.ts
CHANGED
package/version.js
CHANGED