@vertigis/viewer-spec 45.2.0 → 46.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/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/messaging/registry/Operations.d.ts +2 -0
- package/messaging/registry/Operations.js +1 -1
- package/messaging/registry/edit.d.ts +104 -25
- package/messaging/registry/edit.js +1 -1
- package/messaging/registry/sketching.d.ts +227 -55
- package/messaging/registry/sketching.js +1 -1
- package/messaging/registry/system.d.ts +30 -9
- package/messaging/registry/ui.d.ts +5 -4
- package/messaging/schema/common-action.schema.json +584 -11
- package/messaging/schema/common-event.schema.json +36 -0
- package/messaging/schema/mobile-action.schema.json +385 -22
- package/messaging/schema/web-action.schema.json +881 -43
- package/messaging/schema/web-event.schema.json +36 -0
- package/package.json +3 -3
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -302,6 +302,33 @@
|
|
|
302
302
|
"auth.token-refreshed:input": {
|
|
303
303
|
"type": "string"
|
|
304
304
|
},
|
|
305
|
+
"edit.feature-added": {
|
|
306
|
+
"description": "Raised when a feature is added.",
|
|
307
|
+
"enum": [
|
|
308
|
+
"edit.feature-added"
|
|
309
|
+
]
|
|
310
|
+
},
|
|
311
|
+
"edit.feature-added:input": {
|
|
312
|
+
"$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
|
|
313
|
+
},
|
|
314
|
+
"edit.feature-deleted": {
|
|
315
|
+
"description": "Raised when a feature is deleted.",
|
|
316
|
+
"enum": [
|
|
317
|
+
"edit.feature-deleted"
|
|
318
|
+
]
|
|
319
|
+
},
|
|
320
|
+
"edit.feature-deleted:input": {
|
|
321
|
+
"$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
|
|
322
|
+
},
|
|
323
|
+
"edit.feature-updated": {
|
|
324
|
+
"description": "Raised when a feature is updated.",
|
|
325
|
+
"enum": [
|
|
326
|
+
"edit.feature-updated"
|
|
327
|
+
]
|
|
328
|
+
},
|
|
329
|
+
"edit.feature-updated:input": {
|
|
330
|
+
"$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
|
|
331
|
+
},
|
|
305
332
|
"esri.Point": {
|
|
306
333
|
"$ref": "esri/geometry/Point"
|
|
307
334
|
},
|
|
@@ -8844,6 +8871,15 @@
|
|
|
8844
8871
|
{
|
|
8845
8872
|
"$ref": "#/definitions/auth.token-refreshed"
|
|
8846
8873
|
},
|
|
8874
|
+
{
|
|
8875
|
+
"$ref": "#/definitions/edit.feature-added"
|
|
8876
|
+
},
|
|
8877
|
+
{
|
|
8878
|
+
"$ref": "#/definitions/edit.feature-deleted"
|
|
8879
|
+
},
|
|
8880
|
+
{
|
|
8881
|
+
"$ref": "#/definitions/edit.feature-updated"
|
|
8882
|
+
},
|
|
8847
8883
|
{
|
|
8848
8884
|
"$ref": "#/definitions/geolocation.accuracy-changed"
|
|
8849
8885
|
},
|
|
@@ -321,6 +321,29 @@
|
|
|
321
321
|
},
|
|
322
322
|
"type": "object"
|
|
323
323
|
},
|
|
324
|
+
"@vertigis.arcgis-extensions.mapping._LayerExtension.LayerReference": {
|
|
325
|
+
"additionalProperties": false,
|
|
326
|
+
"description": "Matches an existing layer.",
|
|
327
|
+
"properties": {
|
|
328
|
+
"id": {
|
|
329
|
+
"description": "The layer's ID.",
|
|
330
|
+
"type": "string"
|
|
331
|
+
},
|
|
332
|
+
"path": {
|
|
333
|
+
"description": "The path to the geodatabase used by an MMAP layer. Mobile only.",
|
|
334
|
+
"type": "string"
|
|
335
|
+
},
|
|
336
|
+
"subtype": {
|
|
337
|
+
"description": "The Layer's type, used for Layer types with multiple possible layer extension mappings.",
|
|
338
|
+
"type": "string"
|
|
339
|
+
},
|
|
340
|
+
"title": {
|
|
341
|
+
"description": "The layer's title.",
|
|
342
|
+
"type": "string"
|
|
343
|
+
}
|
|
344
|
+
},
|
|
345
|
+
"type": "object"
|
|
346
|
+
},
|
|
324
347
|
"@vertigis.arcgis-extensions.support.Action.Action": {
|
|
325
348
|
"$ref": "#/definitions/viewer-spec.Action"
|
|
326
349
|
},
|
|
@@ -476,7 +499,7 @@
|
|
|
476
499
|
},
|
|
477
500
|
"AddNodeToGeometryArgs": {
|
|
478
501
|
"additionalProperties": false,
|
|
479
|
-
"description": "
|
|
502
|
+
"description": "Deprecated - Mobile users should rather use \"geometry.add-point\"; Web users should use \"sketching.add-point\" with {@link AddPointArgs} or \"sketching.insert-point\" with {@link InsertPointArgs} instead.",
|
|
480
503
|
"properties": {
|
|
481
504
|
"geometry": {
|
|
482
505
|
"$ref": "#/definitions/esri.Geometry",
|
|
@@ -872,12 +895,93 @@
|
|
|
872
895
|
"description": "Arguments for the \"sketching.delete\" command.",
|
|
873
896
|
"properties": {
|
|
874
897
|
"geometry": {
|
|
898
|
+
"$ref": "#/definitions/esri.Geometry",
|
|
899
|
+
"description": "The geometry to remove a point from. If this property is not specified, any active vertices will be deleted."
|
|
900
|
+
},
|
|
901
|
+
"maps": {
|
|
902
|
+
"$ref": "MapsLike",
|
|
903
|
+
"description": "Map(s) to use for the command/operation."
|
|
904
|
+
},
|
|
905
|
+
"partIndex": {
|
|
906
|
+
"description": "The index of the part of the geometry that the point should be removed from. Required for polyline and polygon geometry types when the geometry and pointIndex properties are defined.",
|
|
907
|
+
"type": "number"
|
|
908
|
+
},
|
|
909
|
+
"point": {
|
|
875
910
|
"$ref": "#/definitions/esri.Point",
|
|
876
|
-
"description": "The point to
|
|
911
|
+
"description": "The point to remove from the geometry. If this property is defined, the 'pointIndex' and 'partIndex' properties are ignored. If no point nor pointIndex/partIndex are specified, any active points will be deleted. If there are no active points, the entire geometry will be deleted."
|
|
912
|
+
},
|
|
913
|
+
"pointIndex": {
|
|
914
|
+
"description": "The index of the point that should be removed from the geometry. If this property is defined, the geometry property must also be defined.",
|
|
915
|
+
"type": "number"
|
|
916
|
+
}
|
|
917
|
+
},
|
|
918
|
+
"type": "object"
|
|
919
|
+
},
|
|
920
|
+
"DisplayAddFeatureArgs": {
|
|
921
|
+
"additionalProperties": false,
|
|
922
|
+
"description": "Arguments for the \"edit.display-add-features\" command. Web only.",
|
|
923
|
+
"properties": {
|
|
924
|
+
"attributes": {
|
|
925
|
+
"description": "Optional layout XML attributes to be used for the transient UI container."
|
|
926
|
+
},
|
|
927
|
+
"editAttachments": {
|
|
928
|
+
"description": "Whether to allow editing of feature attachments.",
|
|
929
|
+
"type": "boolean"
|
|
930
|
+
},
|
|
931
|
+
"editAttributes": {
|
|
932
|
+
"description": "Whether to allow editing of feature attributes.",
|
|
933
|
+
"type": "boolean"
|
|
934
|
+
},
|
|
935
|
+
"editGeometry": {
|
|
936
|
+
"description": "Whether to allow editing of feature geometry.",
|
|
937
|
+
"type": "boolean"
|
|
938
|
+
},
|
|
939
|
+
"editGeometryOptions": {
|
|
940
|
+
"$ref": "#/definitions/EditGeometryOptions",
|
|
941
|
+
"description": "Options for the geometry editing session."
|
|
942
|
+
},
|
|
943
|
+
"featureAttributes": {
|
|
944
|
+
"description": "A collection of attributes to apply to the new feature."
|
|
945
|
+
},
|
|
946
|
+
"geometry": {
|
|
947
|
+
"$ref": "#/definitions/GeometryLike",
|
|
948
|
+
"description": "The geometry to use for the command/operation."
|
|
949
|
+
},
|
|
950
|
+
"icon": {
|
|
951
|
+
"description": "Optional icon that may be used by the transient UI container.",
|
|
952
|
+
"type": "string"
|
|
953
|
+
},
|
|
954
|
+
"layers": {
|
|
955
|
+
"$ref": "#/definitions/LayersLike",
|
|
956
|
+
"description": "Layer(s) to use for the command/operation."
|
|
877
957
|
},
|
|
878
958
|
"maps": {
|
|
879
959
|
"$ref": "MapsLike",
|
|
880
960
|
"description": "Map(s) to use for the command/operation."
|
|
961
|
+
},
|
|
962
|
+
"orientation": {
|
|
963
|
+
"description": "The orientation of the template picker.",
|
|
964
|
+
"enum": [
|
|
965
|
+
"horizontal",
|
|
966
|
+
"vertical"
|
|
967
|
+
],
|
|
968
|
+
"type": "string"
|
|
969
|
+
},
|
|
970
|
+
"parent": {
|
|
971
|
+
"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.",
|
|
972
|
+
"type": "string"
|
|
973
|
+
},
|
|
974
|
+
"showNotifications": {
|
|
975
|
+
"description": "Whether to show UI notifications.",
|
|
976
|
+
"type": "boolean"
|
|
977
|
+
},
|
|
978
|
+
"showTitles": {
|
|
979
|
+
"description": "Whether to show titles on the template picker.",
|
|
980
|
+
"type": "boolean"
|
|
981
|
+
},
|
|
982
|
+
"templateName": {
|
|
983
|
+
"description": "The template to use as a starting point for this feature. Requires a layer. The default or first template will be used if not set.",
|
|
984
|
+
"type": "string"
|
|
881
985
|
}
|
|
882
986
|
},
|
|
883
987
|
"type": "object"
|
|
@@ -938,8 +1042,8 @@
|
|
|
938
1042
|
"type": "boolean"
|
|
939
1043
|
},
|
|
940
1044
|
"message": {
|
|
941
|
-
"
|
|
942
|
-
"
|
|
1045
|
+
"$ref": "#/definitions/TranslatableText",
|
|
1046
|
+
"description": "The message to be displayed in the notification. Mobile only supports a string for this property."
|
|
943
1047
|
},
|
|
944
1048
|
"notificationGroup": {
|
|
945
1049
|
"description": "Notifications in the same notification group are mutually exclusive, and will supersede one another. Mobile only.",
|
|
@@ -947,7 +1051,7 @@
|
|
|
947
1051
|
},
|
|
948
1052
|
"position": {
|
|
949
1053
|
"$ref": "Position",
|
|
950
|
-
"description": "The position of the notification on the screen."
|
|
1054
|
+
"description": "The position of the notification on the screen. Web only."
|
|
951
1055
|
},
|
|
952
1056
|
"title": {
|
|
953
1057
|
"description": "The notification title - only shown for system notifications. Mobile only.",
|
|
@@ -990,6 +1094,63 @@
|
|
|
990
1094
|
],
|
|
991
1095
|
"type": "object"
|
|
992
1096
|
},
|
|
1097
|
+
"DisplayUpdateFeatureArgs": {
|
|
1098
|
+
"additionalProperties": false,
|
|
1099
|
+
"description": "Arguments for the \"edit.display-update-features\" operation. Web only.",
|
|
1100
|
+
"properties": {
|
|
1101
|
+
"editAttachments": {
|
|
1102
|
+
"description": "Whether to allow editing of feature attachments.",
|
|
1103
|
+
"type": "boolean"
|
|
1104
|
+
},
|
|
1105
|
+
"editAttributes": {
|
|
1106
|
+
"description": "Whether to allow editing of feature attributes.",
|
|
1107
|
+
"type": "boolean"
|
|
1108
|
+
},
|
|
1109
|
+
"editGeometry": {
|
|
1110
|
+
"description": "Whether to allow editing of feature geometry.",
|
|
1111
|
+
"type": "boolean"
|
|
1112
|
+
},
|
|
1113
|
+
"editGeometryOptions": {
|
|
1114
|
+
"$ref": "#/definitions/EditGeometryOptions",
|
|
1115
|
+
"description": "Options for the geometry editing session."
|
|
1116
|
+
},
|
|
1117
|
+
"featureAttributes": {
|
|
1118
|
+
"description": "A collection of attributes to automatically apply to the updated feature."
|
|
1119
|
+
},
|
|
1120
|
+
"features": {
|
|
1121
|
+
"$ref": "#/definitions/FeaturesLike",
|
|
1122
|
+
"description": "Features to use for the command/operation."
|
|
1123
|
+
},
|
|
1124
|
+
"geometry": {
|
|
1125
|
+
"$ref": "#/definitions/GeometryLike",
|
|
1126
|
+
"description": "The geometry to use for the command/operation."
|
|
1127
|
+
},
|
|
1128
|
+
"maps": {
|
|
1129
|
+
"$ref": "MapsLike",
|
|
1130
|
+
"description": "Map(s) to use for the command/operation."
|
|
1131
|
+
},
|
|
1132
|
+
"showNotifications": {
|
|
1133
|
+
"description": "Whether to show UI notifications.",
|
|
1134
|
+
"type": "boolean"
|
|
1135
|
+
}
|
|
1136
|
+
},
|
|
1137
|
+
"type": "object"
|
|
1138
|
+
},
|
|
1139
|
+
"EditCommandArgs": {
|
|
1140
|
+
"additionalProperties": false,
|
|
1141
|
+
"description": "Arguments for the \"edit.add-features\", \"edit.update-features\" and \"edit.delete-features\" commands. Web only.",
|
|
1142
|
+
"properties": {
|
|
1143
|
+
"features": {
|
|
1144
|
+
"$ref": "#/definitions/FeaturesLike",
|
|
1145
|
+
"description": "Features to use for the command/operation."
|
|
1146
|
+
},
|
|
1147
|
+
"showNotifications": {
|
|
1148
|
+
"description": "Whether to show UI notifications.",
|
|
1149
|
+
"type": "boolean"
|
|
1150
|
+
}
|
|
1151
|
+
},
|
|
1152
|
+
"type": "object"
|
|
1153
|
+
},
|
|
993
1154
|
"EditGeometryArgs": {
|
|
994
1155
|
"additionalProperties": false,
|
|
995
1156
|
"description": "Arguments for the \"sketching.edit-geometry\" operation.",
|
|
@@ -1075,6 +1236,10 @@
|
|
|
1075
1236
|
"description": "Whether to allow scaling of the edited geometry. Defaults to true.",
|
|
1076
1237
|
"type": "boolean"
|
|
1077
1238
|
},
|
|
1239
|
+
"enableVertexEditing": {
|
|
1240
|
+
"description": "Whether to allow the user to add, move, and remove vertices from a geometry. Defaults to true.",
|
|
1241
|
+
"type": "boolean"
|
|
1242
|
+
},
|
|
1078
1243
|
"scaleMode": {
|
|
1079
1244
|
"description": "Setting \"free\" allows independent scaling on the x and y axis, \"preserve-aspect-ratio\" constrains scaling to the original aspect ratio. Defaults to \"preserve-aspect-ratio\".",
|
|
1080
1245
|
"enum": [
|
|
@@ -1082,6 +1247,10 @@
|
|
|
1082
1247
|
"preserve-aspect-ratio"
|
|
1083
1248
|
],
|
|
1084
1249
|
"type": "string"
|
|
1250
|
+
},
|
|
1251
|
+
"validateGeometry": {
|
|
1252
|
+
"description": "Whether the resulting geometry is validated before it's returned from the operation. If the geometry is invalid upon completion, an error is thrown. Defaults to true.",
|
|
1253
|
+
"type": "boolean"
|
|
1085
1254
|
}
|
|
1086
1255
|
},
|
|
1087
1256
|
"type": "object"
|
|
@@ -1710,6 +1879,10 @@
|
|
|
1710
1879
|
"additionalProperties": false,
|
|
1711
1880
|
"description": "Arguments for the \"sketching.insert-point\" command.",
|
|
1712
1881
|
"properties": {
|
|
1882
|
+
"geometry": {
|
|
1883
|
+
"$ref": "#/definitions/esri.Geometry",
|
|
1884
|
+
"description": "The geometry to add the point to, if multiple are present in an active editing session. Not supported by Mobile."
|
|
1885
|
+
},
|
|
1713
1886
|
"maps": {
|
|
1714
1887
|
"$ref": "MapsLike",
|
|
1715
1888
|
"description": "Map(s) to use for the command/operation."
|
|
@@ -1755,6 +1928,54 @@
|
|
|
1755
1928
|
],
|
|
1756
1929
|
"type": "object"
|
|
1757
1930
|
},
|
|
1931
|
+
"LayersLike": {
|
|
1932
|
+
"anyOf": [
|
|
1933
|
+
{
|
|
1934
|
+
"$ref": "#/definitions/esri.Layer"
|
|
1935
|
+
},
|
|
1936
|
+
{
|
|
1937
|
+
"$ref": "esri.SublayerLike"
|
|
1938
|
+
},
|
|
1939
|
+
{
|
|
1940
|
+
"$ref": "#/definitions/@vertigis.arcgis-extensions.mapping._LayerExtension.LayerReference"
|
|
1941
|
+
},
|
|
1942
|
+
{
|
|
1943
|
+
"$ref": "@vertigis.arcgis-extensions.mapping._LayerExtension.LayerExtension"
|
|
1944
|
+
},
|
|
1945
|
+
{
|
|
1946
|
+
"$ref": "@vertigis.arcgis-extensions.mapping._SublayerExtension.SublayerExtension"
|
|
1947
|
+
},
|
|
1948
|
+
{
|
|
1949
|
+
"items": {
|
|
1950
|
+
"anyOf": [
|
|
1951
|
+
{
|
|
1952
|
+
"$ref": "#/definitions/esri.Layer"
|
|
1953
|
+
},
|
|
1954
|
+
{
|
|
1955
|
+
"$ref": "esri.SublayerLike"
|
|
1956
|
+
},
|
|
1957
|
+
{
|
|
1958
|
+
"$ref": "#/definitions/@vertigis.arcgis-extensions.mapping._LayerExtension.LayerReference"
|
|
1959
|
+
},
|
|
1960
|
+
{
|
|
1961
|
+
"$ref": "@vertigis.arcgis-extensions.mapping._LayerExtension.LayerExtension"
|
|
1962
|
+
},
|
|
1963
|
+
{
|
|
1964
|
+
"$ref": "@vertigis.arcgis-extensions.mapping._SublayerExtension.SublayerExtension"
|
|
1965
|
+
},
|
|
1966
|
+
{
|
|
1967
|
+
"type": "string"
|
|
1968
|
+
}
|
|
1969
|
+
]
|
|
1970
|
+
},
|
|
1971
|
+
"type": "array"
|
|
1972
|
+
},
|
|
1973
|
+
{
|
|
1974
|
+
"type": "string"
|
|
1975
|
+
}
|
|
1976
|
+
],
|
|
1977
|
+
"description": "One or more objects that are convertible to layer extensions."
|
|
1978
|
+
},
|
|
1758
1979
|
"LengthUnitsMobile": {
|
|
1759
1980
|
"description": "The units for distance supported by Mobile.",
|
|
1760
1981
|
"enum": [
|
|
@@ -2002,7 +2223,7 @@
|
|
|
2002
2223
|
"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."
|
|
2003
2224
|
},
|
|
2004
2225
|
"numberFormatterLocale": {
|
|
2005
|
-
"description": "The locale to use for number token substitution. Accepts a valid locale
|
|
2226
|
+
"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.",
|
|
2006
2227
|
"type": "string"
|
|
2007
2228
|
},
|
|
2008
2229
|
"url": {
|
|
@@ -2712,6 +2933,61 @@
|
|
|
2712
2933
|
},
|
|
2713
2934
|
"type": "object"
|
|
2714
2935
|
},
|
|
2936
|
+
"TranslatableText": {
|
|
2937
|
+
"anyOf": [
|
|
2938
|
+
{
|
|
2939
|
+
"$ref": "#/definitions/TranslateOptions"
|
|
2940
|
+
},
|
|
2941
|
+
{
|
|
2942
|
+
"type": "string"
|
|
2943
|
+
}
|
|
2944
|
+
],
|
|
2945
|
+
"description": "A translatable string, either a language string or a language string with arguments to pass into it."
|
|
2946
|
+
},
|
|
2947
|
+
"TranslateOptions": {
|
|
2948
|
+
"additionalProperties": false,
|
|
2949
|
+
"description": "The available options for the Locale Service translate function.",
|
|
2950
|
+
"properties": {
|
|
2951
|
+
"args": {
|
|
2952
|
+
"description": "The values to substitute into the format string if it contains substitution placeholders (see utilities/string/format in Geocortex API).",
|
|
2953
|
+
"items": {
|
|
2954
|
+
},
|
|
2955
|
+
"type": "array"
|
|
2956
|
+
},
|
|
2957
|
+
"currency": {
|
|
2958
|
+
"description": "The default unit of currency to use when formatting currency. See {@link NumberSettings.currency}.",
|
|
2959
|
+
"type": "string"
|
|
2960
|
+
},
|
|
2961
|
+
"dateFormat": {
|
|
2962
|
+
"description": "The default format to use when formatting dates. See {@link DateFormatter.format}.",
|
|
2963
|
+
"type": "string"
|
|
2964
|
+
},
|
|
2965
|
+
"fractionalDigits": {
|
|
2966
|
+
"description": "The default number of digits to show after the decimal point when formatting numbers. See {@link NumberSettings.fractionalDigits}.",
|
|
2967
|
+
"type": "number"
|
|
2968
|
+
},
|
|
2969
|
+
"locale": {
|
|
2970
|
+
"description": "The locale to use for translation. If not specified, the current locale will be used.",
|
|
2971
|
+
"type": "string"
|
|
2972
|
+
},
|
|
2973
|
+
"numberFormat": {
|
|
2974
|
+
"description": "The default format to use when formatting numbers. See {@link NumberFormatter.format}.",
|
|
2975
|
+
"type": "string"
|
|
2976
|
+
},
|
|
2977
|
+
"text": {
|
|
2978
|
+
"description": "The string to translate. If the text is a language resource key, then a localized version of that resource will be used if one exists, otherwise the original text is returned.",
|
|
2979
|
+
"type": "string"
|
|
2980
|
+
},
|
|
2981
|
+
"timeZone": {
|
|
2982
|
+
"description": "The time zone of a date being formatted.",
|
|
2983
|
+
"type": "string"
|
|
2984
|
+
}
|
|
2985
|
+
},
|
|
2986
|
+
"required": [
|
|
2987
|
+
"text"
|
|
2988
|
+
],
|
|
2989
|
+
"type": "object"
|
|
2990
|
+
},
|
|
2715
2991
|
"UpdateResultsFeaturesArgs": {
|
|
2716
2992
|
"additionalProperties": false,
|
|
2717
2993
|
"description": "Arguments for various commands that affect a result component's features.",
|
|
@@ -2730,6 +3006,40 @@
|
|
|
2730
3006
|
],
|
|
2731
3007
|
"type": "object"
|
|
2732
3008
|
},
|
|
3009
|
+
"WebOpenUrlArgs": {
|
|
3010
|
+
"additionalProperties": false,
|
|
3011
|
+
"description": "VertiGIS Studio Web's arguments for the system.open-url command.",
|
|
3012
|
+
"properties": {
|
|
3013
|
+
"features": {
|
|
3014
|
+
"$ref": "#/definitions/FeaturesLike",
|
|
3015
|
+
"description": "Features to use for the command/operation."
|
|
3016
|
+
},
|
|
3017
|
+
"geometry": {
|
|
3018
|
+
"$ref": "#/definitions/GeometryLike",
|
|
3019
|
+
"description": "The geometry to use for the command/operation."
|
|
3020
|
+
},
|
|
3021
|
+
"layers": {
|
|
3022
|
+
"$ref": "#/definitions/LayersLike",
|
|
3023
|
+
"description": "Layer(s) to use for the command/operation."
|
|
3024
|
+
},
|
|
3025
|
+
"maps": {
|
|
3026
|
+
"$ref": "MapsLike",
|
|
3027
|
+
"description": "Map(s) to use for the command/operation."
|
|
3028
|
+
},
|
|
3029
|
+
"numberFormatterLocale": {
|
|
3030
|
+
"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.",
|
|
3031
|
+
"type": "string"
|
|
3032
|
+
},
|
|
3033
|
+
"url": {
|
|
3034
|
+
"description": "The URL to open.",
|
|
3035
|
+
"type": "string"
|
|
3036
|
+
}
|
|
3037
|
+
},
|
|
3038
|
+
"required": [
|
|
3039
|
+
"url"
|
|
3040
|
+
],
|
|
3041
|
+
"type": "object"
|
|
3042
|
+
},
|
|
2733
3043
|
"ZoomToViewpointArgs": {
|
|
2734
3044
|
"additionalProperties": false,
|
|
2735
3045
|
"description": "Arguments for the map.zoom-to-viewpoint command.",
|
|
@@ -2888,16 +3198,29 @@
|
|
|
2888
3198
|
"$ref": "#/definitions/AddAttachmentArgs"
|
|
2889
3199
|
},
|
|
2890
3200
|
"edit.add-feature": {
|
|
2891
|
-
"description": "Adds a feature to a particular layer.",
|
|
3201
|
+
"description": "Adds a feature to a particular layer. `Feature[]` and `EditCommandArgs` are not supported on Mobile.",
|
|
2892
3202
|
"enum": [
|
|
2893
3203
|
"edit.add-feature"
|
|
2894
3204
|
]
|
|
2895
3205
|
},
|
|
2896
3206
|
"edit.add-feature:input": {
|
|
2897
|
-
"
|
|
3207
|
+
"anyOf": [
|
|
3208
|
+
{
|
|
3209
|
+
"$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
|
|
3210
|
+
},
|
|
3211
|
+
{
|
|
3212
|
+
"$ref": "#/definitions/EditCommandArgs"
|
|
3213
|
+
},
|
|
3214
|
+
{
|
|
3215
|
+
"items": {
|
|
3216
|
+
"$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
|
|
3217
|
+
},
|
|
3218
|
+
"type": "array"
|
|
3219
|
+
}
|
|
3220
|
+
]
|
|
2898
3221
|
},
|
|
2899
3222
|
"edit.delete-features": {
|
|
2900
|
-
"description": "Deletes the given feature or features from their feature sources.",
|
|
3223
|
+
"description": "Deletes the given feature or features from their feature sources. `EditCommandArgs` is not supported on Mobile.",
|
|
2901
3224
|
"enum": [
|
|
2902
3225
|
"edit.delete-features"
|
|
2903
3226
|
]
|
|
@@ -2907,6 +3230,9 @@
|
|
|
2907
3230
|
{
|
|
2908
3231
|
"$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
|
|
2909
3232
|
},
|
|
3233
|
+
{
|
|
3234
|
+
"$ref": "#/definitions/EditCommandArgs"
|
|
3235
|
+
},
|
|
2910
3236
|
{
|
|
2911
3237
|
"items": {
|
|
2912
3238
|
"$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
|
|
@@ -2916,31 +3242,58 @@
|
|
|
2916
3242
|
]
|
|
2917
3243
|
},
|
|
2918
3244
|
"edit.display-add-feature": {
|
|
2919
|
-
"description": "Display a form for adding a feature.",
|
|
3245
|
+
"description": "Display a form for adding a feature. `DisplayAddFeatureArgs` is not supported on Mobile.",
|
|
2920
3246
|
"enum": [
|
|
2921
3247
|
"edit.display-add-feature"
|
|
2922
3248
|
]
|
|
2923
3249
|
},
|
|
2924
3250
|
"edit.display-add-feature:input": {
|
|
2925
|
-
"
|
|
3251
|
+
"anyOf": [
|
|
3252
|
+
{
|
|
3253
|
+
"$ref": "@vertigis.arcgis-extensions.data.FeatureSource.FeatureSource"
|
|
3254
|
+
},
|
|
3255
|
+
{
|
|
3256
|
+
"$ref": "#/definitions/DisplayAddFeatureArgs"
|
|
3257
|
+
}
|
|
3258
|
+
]
|
|
2926
3259
|
},
|
|
2927
3260
|
"edit.display-update-feature": {
|
|
2928
|
-
"description": "Display a form for updating a feature.",
|
|
3261
|
+
"description": "Display a form for updating a feature. `DisplayUpdateFeatureArgs` is not supported on Mobile.",
|
|
2929
3262
|
"enum": [
|
|
2930
3263
|
"edit.display-update-feature"
|
|
2931
3264
|
]
|
|
2932
3265
|
},
|
|
2933
3266
|
"edit.display-update-feature:input": {
|
|
2934
|
-
"
|
|
3267
|
+
"anyOf": [
|
|
3268
|
+
{
|
|
3269
|
+
"$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
|
|
3270
|
+
},
|
|
3271
|
+
{
|
|
3272
|
+
"$ref": "#/definitions/DisplayUpdateFeatureArgs"
|
|
3273
|
+
}
|
|
3274
|
+
]
|
|
2935
3275
|
},
|
|
2936
3276
|
"edit.update-feature": {
|
|
2937
|
-
"description": "Updates a feature.",
|
|
3277
|
+
"description": "Updates a feature. `Feature[]` and `EditCommandArgs` are not supported on Mobile.",
|
|
2938
3278
|
"enum": [
|
|
2939
3279
|
"edit.update-feature"
|
|
2940
3280
|
]
|
|
2941
3281
|
},
|
|
2942
3282
|
"edit.update-feature:input": {
|
|
2943
|
-
"
|
|
3283
|
+
"anyOf": [
|
|
3284
|
+
{
|
|
3285
|
+
"$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
|
|
3286
|
+
},
|
|
3287
|
+
{
|
|
3288
|
+
"$ref": "#/definitions/EditCommandArgs"
|
|
3289
|
+
},
|
|
3290
|
+
{
|
|
3291
|
+
"items": {
|
|
3292
|
+
"$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
|
|
3293
|
+
},
|
|
3294
|
+
"type": "array"
|
|
3295
|
+
}
|
|
3296
|
+
]
|
|
2944
3297
|
},
|
|
2945
3298
|
"esri.Extent": {
|
|
2946
3299
|
"$ref": "esri/geometry/Extent"
|
|
@@ -13050,7 +13403,7 @@
|
|
|
13050
13403
|
"type": "string"
|
|
13051
13404
|
},
|
|
13052
13405
|
"sketching.add-node-to-geometry": {
|
|
13053
|
-
"description": "
|
|
13406
|
+
"description": "Deprecated - Mobile users should rather use \"geometry.add-point\"; Web users should use \"sketching.add-point\" or \"sketching.insert-point\" instead.",
|
|
13054
13407
|
"enum": [
|
|
13055
13408
|
"sketching.add-node-to-geometry"
|
|
13056
13409
|
]
|
|
@@ -13062,7 +13415,7 @@
|
|
|
13062
13415
|
"$ref": "#/definitions/esri.Geometry"
|
|
13063
13416
|
},
|
|
13064
13417
|
"sketching.add-point": {
|
|
13065
|
-
"description": "Adds a point to polygon or
|
|
13418
|
+
"description": "Adds a point to polygon, polyline, or multipoint using the selected index as the point to insert after.",
|
|
13066
13419
|
"enum": [
|
|
13067
13420
|
"sketching.add-point"
|
|
13068
13421
|
]
|
|
@@ -13110,13 +13463,20 @@
|
|
|
13110
13463
|
"$ref": "#/definitions/ClearConstraintsArgs"
|
|
13111
13464
|
},
|
|
13112
13465
|
"sketching.delete": {
|
|
13113
|
-
"description": "If a point is supplied while a sketching or editing operation is active, the vertex at that point will be deleted from the current geometry. If no point is supplied
|
|
13466
|
+
"description": "If a point is supplied while a sketching or editing operation is active, the vertex at that point will be deleted from the current geometry. If no point is supplied, any active points in the session will be deleted. If there are no active points in the session, the entire geometry will be deleted.",
|
|
13114
13467
|
"enum": [
|
|
13115
13468
|
"sketching.delete"
|
|
13116
13469
|
]
|
|
13117
13470
|
},
|
|
13118
13471
|
"sketching.delete:input": {
|
|
13119
|
-
"
|
|
13472
|
+
"anyOf": [
|
|
13473
|
+
{
|
|
13474
|
+
"$ref": "#/definitions/DeleteGeometryArgs"
|
|
13475
|
+
},
|
|
13476
|
+
{
|
|
13477
|
+
"type": "null"
|
|
13478
|
+
}
|
|
13479
|
+
]
|
|
13120
13480
|
},
|
|
13121
13481
|
"sketching.edit-geometry": {
|
|
13122
13482
|
"description": "Allows the user to edit an existing geometry by drawing on a map. Returns the geometry that was edited, or the supplied feature with the altered geometry applied, along with the map that it was drawn on.",
|
|
@@ -13131,7 +13491,7 @@
|
|
|
13131
13491
|
"$ref": "#/definitions/EditGeometryResult"
|
|
13132
13492
|
},
|
|
13133
13493
|
"sketching.insert-point": {
|
|
13134
|
-
"description": "Inserts a point into a polygon or
|
|
13494
|
+
"description": "Inserts a point into a polygon, polyline, or multipoint at the specified index. If the partIndex is null, then the last part is used. If the pointIndex is null, then the new point is inserted at the end.",
|
|
13135
13495
|
"enum": [
|
|
13136
13496
|
"sketching.insert-point"
|
|
13137
13497
|
]
|
|
@@ -13206,7 +13566,7 @@
|
|
|
13206
13566
|
"$ref": "#/definitions/StartStreamingArgs"
|
|
13207
13567
|
},
|
|
13208
13568
|
"sketching.stop": {
|
|
13209
|
-
"description": "Stops geometry capturing or editing on a given map. Returns the current geometry. If validateGeometry parameter is true and geometry is invalid,
|
|
13569
|
+
"description": "Stops geometry capturing or editing on a given map. Returns the current geometry. If validateGeometry parameter is true and geometry is invalid, the operation will return null.",
|
|
13210
13570
|
"enum": [
|
|
13211
13571
|
"sketching.stop"
|
|
13212
13572
|
]
|
|
@@ -13252,13 +13612,16 @@
|
|
|
13252
13612
|
"type": "boolean"
|
|
13253
13613
|
},
|
|
13254
13614
|
"system.open-url": {
|
|
13255
|
-
"description": "Opens a URL, either in the system browser or whatever app is appropriate for the scheme of the URL. If
|
|
13615
|
+
"description": "Opens a URL, either in the system browser or whatever app is appropriate for the scheme of the URL. If {@link Features} are included as context, then the URL may contain substitution tokens in the format {FIELD_NAME} where FIELD_NAME is the name of a field in the first feature in the context. In this case, the {FIELD_NAME} is substituted with value of the FIELD_NAME field from the feature feature in the {@link Features}, e.g. https://www.google.com/search?q={NAME}, where the value of the NAME field in the first feature from the context is 'Jasper National Park' would produce the result https://www.google.com/search?q=Jasper National Park. Zero to many substitution tokens may be included. If maps are included as context, {@link LocationToken} can be used to access properties on the first map's view. In Web, if both layers and maps are included as context, then {@link LayerToken} can be used to access properties on the first layer.",
|
|
13256
13616
|
"enum": [
|
|
13257
13617
|
"system.open-url"
|
|
13258
13618
|
]
|
|
13259
13619
|
},
|
|
13260
13620
|
"system.open-url:input": {
|
|
13261
13621
|
"anyOf": [
|
|
13622
|
+
{
|
|
13623
|
+
"$ref": "#/definitions/WebOpenUrlArgs"
|
|
13624
|
+
},
|
|
13262
13625
|
{
|
|
13263
13626
|
"$ref": "#/definitions/OpenUrlArgs"
|
|
13264
13627
|
},
|