@vertigis/viewer-spec 46.0.0 → 46.1.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/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/schema/common-action.schema.json +390 -0
- package/messaging/schema/common-event.schema.json +36 -0
- package/messaging/schema/mobile-action.schema.json +249 -9
- package/messaging/schema/web-action.schema.json +392 -0
- package/messaging/schema/web-event.schema.json +36 -0
- package/package.json +2 -2
- 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
|
},
|
|
@@ -894,6 +917,75 @@
|
|
|
894
917
|
},
|
|
895
918
|
"type": "object"
|
|
896
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."
|
|
957
|
+
},
|
|
958
|
+
"maps": {
|
|
959
|
+
"$ref": "MapsLike",
|
|
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"
|
|
985
|
+
}
|
|
986
|
+
},
|
|
987
|
+
"type": "object"
|
|
988
|
+
},
|
|
897
989
|
"DisplayBusyStateArgs": {
|
|
898
990
|
"additionalProperties": false,
|
|
899
991
|
"description": "Arguments for the \"ui.display-busy-state\" args.",
|
|
@@ -1002,6 +1094,63 @@
|
|
|
1002
1094
|
],
|
|
1003
1095
|
"type": "object"
|
|
1004
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
|
+
},
|
|
1005
1154
|
"EditGeometryArgs": {
|
|
1006
1155
|
"additionalProperties": false,
|
|
1007
1156
|
"description": "Arguments for the \"sketching.edit-geometry\" operation.",
|
|
@@ -1779,6 +1928,54 @@
|
|
|
1779
1928
|
],
|
|
1780
1929
|
"type": "object"
|
|
1781
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
|
+
},
|
|
1782
1979
|
"LengthUnitsMobile": {
|
|
1783
1980
|
"description": "The units for distance supported by Mobile.",
|
|
1784
1981
|
"enum": [
|
|
@@ -2967,16 +3164,29 @@
|
|
|
2967
3164
|
"$ref": "#/definitions/AddAttachmentArgs"
|
|
2968
3165
|
},
|
|
2969
3166
|
"edit.add-feature": {
|
|
2970
|
-
"description": "Adds a feature to a particular layer.",
|
|
3167
|
+
"description": "Adds a feature to a particular layer. `Feature[]` and `EditCommandArgs` are not supported on Mobile.",
|
|
2971
3168
|
"enum": [
|
|
2972
3169
|
"edit.add-feature"
|
|
2973
3170
|
]
|
|
2974
3171
|
},
|
|
2975
3172
|
"edit.add-feature:input": {
|
|
2976
|
-
"
|
|
3173
|
+
"anyOf": [
|
|
3174
|
+
{
|
|
3175
|
+
"$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
|
|
3176
|
+
},
|
|
3177
|
+
{
|
|
3178
|
+
"$ref": "#/definitions/EditCommandArgs"
|
|
3179
|
+
},
|
|
3180
|
+
{
|
|
3181
|
+
"items": {
|
|
3182
|
+
"$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
|
|
3183
|
+
},
|
|
3184
|
+
"type": "array"
|
|
3185
|
+
}
|
|
3186
|
+
]
|
|
2977
3187
|
},
|
|
2978
3188
|
"edit.delete-features": {
|
|
2979
|
-
"description": "Deletes the given feature or features from their feature sources.",
|
|
3189
|
+
"description": "Deletes the given feature or features from their feature sources. `EditCommandArgs` is not supported on Mobile.",
|
|
2980
3190
|
"enum": [
|
|
2981
3191
|
"edit.delete-features"
|
|
2982
3192
|
]
|
|
@@ -2986,6 +3196,9 @@
|
|
|
2986
3196
|
{
|
|
2987
3197
|
"$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
|
|
2988
3198
|
},
|
|
3199
|
+
{
|
|
3200
|
+
"$ref": "#/definitions/EditCommandArgs"
|
|
3201
|
+
},
|
|
2989
3202
|
{
|
|
2990
3203
|
"items": {
|
|
2991
3204
|
"$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
|
|
@@ -2995,31 +3208,58 @@
|
|
|
2995
3208
|
]
|
|
2996
3209
|
},
|
|
2997
3210
|
"edit.display-add-feature": {
|
|
2998
|
-
"description": "Display a form for adding a feature.",
|
|
3211
|
+
"description": "Display a form for adding a feature. `DisplayAddFeatureArgs` is not supported on Mobile.",
|
|
2999
3212
|
"enum": [
|
|
3000
3213
|
"edit.display-add-feature"
|
|
3001
3214
|
]
|
|
3002
3215
|
},
|
|
3003
3216
|
"edit.display-add-feature:input": {
|
|
3004
|
-
"
|
|
3217
|
+
"anyOf": [
|
|
3218
|
+
{
|
|
3219
|
+
"$ref": "@vertigis.arcgis-extensions.data.FeatureSource.FeatureSource"
|
|
3220
|
+
},
|
|
3221
|
+
{
|
|
3222
|
+
"$ref": "#/definitions/DisplayAddFeatureArgs"
|
|
3223
|
+
}
|
|
3224
|
+
]
|
|
3005
3225
|
},
|
|
3006
3226
|
"edit.display-update-feature": {
|
|
3007
|
-
"description": "Display a form for updating a feature.",
|
|
3227
|
+
"description": "Display a form for updating a feature. `DisplayUpdateFeatureArgs` is not supported on Mobile.",
|
|
3008
3228
|
"enum": [
|
|
3009
3229
|
"edit.display-update-feature"
|
|
3010
3230
|
]
|
|
3011
3231
|
},
|
|
3012
3232
|
"edit.display-update-feature:input": {
|
|
3013
|
-
"
|
|
3233
|
+
"anyOf": [
|
|
3234
|
+
{
|
|
3235
|
+
"$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
|
|
3236
|
+
},
|
|
3237
|
+
{
|
|
3238
|
+
"$ref": "#/definitions/DisplayUpdateFeatureArgs"
|
|
3239
|
+
}
|
|
3240
|
+
]
|
|
3014
3241
|
},
|
|
3015
3242
|
"edit.update-feature": {
|
|
3016
|
-
"description": "Updates a feature.",
|
|
3243
|
+
"description": "Updates a feature. `Feature[]` and `EditCommandArgs` are not supported on Mobile.",
|
|
3017
3244
|
"enum": [
|
|
3018
3245
|
"edit.update-feature"
|
|
3019
3246
|
]
|
|
3020
3247
|
},
|
|
3021
3248
|
"edit.update-feature:input": {
|
|
3022
|
-
"
|
|
3249
|
+
"anyOf": [
|
|
3250
|
+
{
|
|
3251
|
+
"$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
|
|
3252
|
+
},
|
|
3253
|
+
{
|
|
3254
|
+
"$ref": "#/definitions/EditCommandArgs"
|
|
3255
|
+
},
|
|
3256
|
+
{
|
|
3257
|
+
"items": {
|
|
3258
|
+
"$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
|
|
3259
|
+
},
|
|
3260
|
+
"type": "array"
|
|
3261
|
+
}
|
|
3262
|
+
]
|
|
3023
3263
|
},
|
|
3024
3264
|
"esri.Extent": {
|
|
3025
3265
|
"$ref": "esri/geometry/Extent"
|