@vertigis/viewer-spec 49.9.0 → 50.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.
Files changed (66) hide show
  1. package/README.md +1 -1
  2. package/analytics/MobileAction.d.ts +102 -0
  3. package/analytics/MobileAction.js +1 -0
  4. package/app-config/mobile/BasemapModelProperties.d.ts +1 -1
  5. package/app-config/mobile/VertigisMobileModelProperties.d.ts +2 -2
  6. package/app-config/schema/mobile-app-config.schema.json +1 -1
  7. package/app-config/schema/web-app-config.schema.json +1 -1
  8. package/app-config/web/ResultsModelProperties.d.ts +1 -1
  9. package/app-config/web/VertigisWebModelProperties.d.ts +2 -3
  10. package/docs/presentation.md +30 -23
  11. package/messaging/DotNetTypes.d.ts +4 -0
  12. package/messaging/DotNetTypes.js +1 -0
  13. package/messaging/common.d.ts +53 -2
  14. package/messaging/common.js +1 -1
  15. package/messaging/mobile.d.ts +1 -8
  16. package/messaging/registry/Events.d.ts +6 -0
  17. package/messaging/registry/Events.js +1 -1
  18. package/messaging/registry/app.d.ts +32 -32
  19. package/messaging/registry/app.js +1 -1
  20. package/messaging/registry/auth.d.ts +44 -11
  21. package/messaging/registry/auth.js +1 -1
  22. package/messaging/registry/basemap.d.ts +19 -1
  23. package/messaging/registry/basemap.js +1 -1
  24. package/messaging/registry/bookmark.d.ts +41 -0
  25. package/messaging/registry/bookmark.js +1 -0
  26. package/messaging/registry/device.d.ts +12 -0
  27. package/messaging/registry/device.js +1 -1
  28. package/messaging/registry/file.d.ts +10 -0
  29. package/messaging/registry/file.js +1 -1
  30. package/messaging/registry/geolocation.d.ts +163 -7
  31. package/messaging/registry/geolocation.js +1 -1
  32. package/messaging/registry/geometry-toolbar.d.ts +5 -5
  33. package/messaging/registry/highlights.d.ts +6 -7
  34. package/messaging/registry/map.d.ts +85 -14
  35. package/messaging/registry/map.js +1 -1
  36. package/messaging/registry/measurement.d.ts +36 -4
  37. package/messaging/registry/measurement.js +1 -1
  38. package/messaging/registry/offline.d.ts +106 -9
  39. package/messaging/registry/offline.js +1 -1
  40. package/messaging/registry/panel.d.ts +8 -1
  41. package/messaging/registry/panel.js +1 -1
  42. package/messaging/registry/photos.js +1 -1
  43. package/messaging/registry/results.d.ts +40 -0
  44. package/messaging/registry/results.js +1 -1
  45. package/messaging/registry/search.d.ts +31 -7
  46. package/messaging/registry/search.js +1 -1
  47. package/messaging/registry/settings.d.ts +40 -0
  48. package/messaging/registry/settings.js +1 -0
  49. package/messaging/registry/shortcut.d.ts +40 -0
  50. package/messaging/registry/shortcut.js +1 -0
  51. package/messaging/registry/sketching.d.ts +4 -4
  52. package/messaging/registry/system.d.ts +21 -0
  53. package/messaging/registry/system.js +1 -1
  54. package/messaging/registry/tasks.d.ts +26 -16
  55. package/messaging/registry/tasks.js +1 -1
  56. package/messaging/registry/ui.d.ts +4 -4
  57. package/messaging/registry/workflow.d.ts +6 -9
  58. package/messaging/schema/common-action.schema.json +43 -38
  59. package/messaging/schema/common-event.schema.json +193 -11
  60. package/messaging/schema/mobile-action.schema.json +101 -79
  61. package/messaging/schema/mobile-event.schema.json +1186 -98
  62. package/messaging/schema/web-action.schema.json +67 -62
  63. package/messaging/schema/web-event.schema.json +130 -20
  64. package/package.json +1 -1
  65. package/version.d.ts +1 -1
  66. package/version.js +1 -1
@@ -60,6 +60,9 @@
60
60
  },
61
61
  "geometry": {
62
62
  "anyOf": [
63
+ {
64
+ "$ref": "#/definitions/esri.Geometry"
65
+ },
63
66
  {
64
67
  "$ref": "#/definitions/esri.rest-api.Point.Point"
65
68
  },
@@ -74,9 +77,6 @@
74
77
  },
75
78
  {
76
79
  "$ref": "#/definitions/esri.rest-api.Extent.Extent"
77
- },
78
- {
79
- "$ref": "#/definitions/esri.Geometry"
80
80
  }
81
81
  ],
82
82
  "description": "The feature's geometry."
@@ -1174,7 +1174,7 @@
1174
1174
  },
1175
1175
  "symbol": {
1176
1176
  "$ref": "#/definitions/esri.Symbol",
1177
- "description": "The symbol that was used. Unavailable in Geocortex Web Viewer."
1177
+ "description": "The symbol that was used. Unavailable in VertiGIS Studio Web."
1178
1178
  }
1179
1179
  },
1180
1180
  "required": [
@@ -2593,6 +2593,9 @@
2593
2593
  {
2594
2594
  "$ref": "#/definitions/HasFeatures"
2595
2595
  },
2596
+ {
2597
+ "$ref": "#/definitions/esri.Geometry"
2598
+ },
2596
2599
  {
2597
2600
  "$ref": "#/definitions/esri.rest-api.Feature.Feature"
2598
2601
  },
@@ -2627,12 +2630,12 @@
2627
2630
  {
2628
2631
  "$ref": "#/definitions/esri.rest-api.Extent.Extent"
2629
2632
  },
2630
- {
2631
- "$ref": "#/definitions/esri.Geometry"
2632
- },
2633
2633
  {
2634
2634
  "items": {
2635
2635
  "anyOf": [
2636
+ {
2637
+ "$ref": "#/definitions/esri.Geometry"
2638
+ },
2636
2639
  {
2637
2640
  "$ref": "#/definitions/esri.rest-api.Point.Point"
2638
2641
  },
@@ -2647,9 +2650,6 @@
2647
2650
  },
2648
2651
  {
2649
2652
  "$ref": "#/definitions/esri.rest-api.Extent.Extent"
2650
- },
2651
- {
2652
- "$ref": "#/definitions/esri.Geometry"
2653
2653
  }
2654
2654
  ]
2655
2655
  },
@@ -2729,6 +2729,9 @@
2729
2729
  },
2730
2730
  "type": "array"
2731
2731
  },
2732
+ {
2733
+ "$ref": "#/definitions/esri.Geometry"
2734
+ },
2732
2735
  {
2733
2736
  "$ref": "#/definitions/esri.rest-api.Feature.Feature"
2734
2737
  },
@@ -2763,12 +2766,12 @@
2763
2766
  {
2764
2767
  "$ref": "#/definitions/esri.rest-api.Extent.Extent"
2765
2768
  },
2766
- {
2767
- "$ref": "#/definitions/esri.Geometry"
2768
- },
2769
2769
  {
2770
2770
  "items": {
2771
2771
  "anyOf": [
2772
+ {
2773
+ "$ref": "#/definitions/esri.Geometry"
2774
+ },
2772
2775
  {
2773
2776
  "$ref": "#/definitions/esri.rest-api.Point.Point"
2774
2777
  },
@@ -2783,9 +2786,6 @@
2783
2786
  },
2784
2787
  {
2785
2788
  "$ref": "#/definitions/esri.rest-api.Extent.Extent"
2786
- },
2787
- {
2788
- "$ref": "#/definitions/esri.Geometry"
2789
2789
  }
2790
2790
  ]
2791
2791
  },
@@ -3214,7 +3214,7 @@
3214
3214
  "description": "The geometry to identify by."
3215
3215
  },
3216
3216
  "layersInScaleRangeOnly": {
3217
- "description": "When \"map\" is specified, this determines whether to include only layers that are in visible scale range. The default is false. Not supported in Geocortex Mobile Viewer.",
3217
+ "description": "When \"map\" is specified, this determines whether to include only layers that are in visible scale range. The default is false. Not supported in VertiGIS Studio Mobile.",
3218
3218
  "type": "boolean"
3219
3219
  },
3220
3220
  "maps": {
@@ -3222,38 +3222,38 @@
3222
3222
  "description": "The map to identify. Can be used instead of or in addition to \"sources\". Layers on the map will be used as sources according to the \"layersInScaleRangeOnly\" and \"visibleLayersOnly\" flags."
3223
3223
  },
3224
3224
  "maxAllowableOffset": {
3225
- "description": "The maximum allowable offset used for generalizing returned geometries. Not supported in Geocortex Mobile Viewer.",
3225
+ "description": "The maximum allowable offset used for generalizing returned geometries. Not supported in VertiGIS Studio Mobile.",
3226
3226
  "type": "number"
3227
3227
  },
3228
3228
  "maxResults": {
3229
- "description": "The maximum number of results to return per source. Not supported in Geocortex Mobile Viewer.",
3229
+ "description": "The maximum number of results to return per source. Not supported in VertiGIS Studio Mobile.",
3230
3230
  "type": "number"
3231
3231
  },
3232
3232
  "outSpatialReference": {
3233
3233
  "$ref": "#/definitions/esri.SpatialReference",
3234
- "description": "The spatial reference for the returned geometry. Not supported in Geocortex Mobile Viewer."
3234
+ "description": "The spatial reference for the returned geometry. Not supported in VertiGIS Studio Mobile."
3235
3235
  },
3236
3236
  "pointTolerance": {
3237
- "description": "A tolerance value to use for point identify operations. All features falling within a buffer of this many logical pixels around the point will be returned by the identify operation. The default is 10. Not supported in Geocortex Mobile Viewer.",
3237
+ "description": "A tolerance value to use for point identify operations. All features falling within a buffer of this many logical pixels around the point will be returned by the identify operation. The default is 10. Not supported in VertiGIS Studio Mobile.",
3238
3238
  "type": "number"
3239
3239
  },
3240
3240
  "polyTolerance": {
3241
- "description": "A tolerance value to use for polyline and polygon identify operations. All features falling within a buffer of this many logical pixels around the geometry will be returned by the identify operation. The default is 2. Not supported in Geocortex Mobile Viewer.",
3241
+ "description": "A tolerance value to use for polyline and polygon identify operations. All features falling within a buffer of this many logical pixels around the geometry will be returned by the identify operation. The default is 2. Not supported in VertiGIS Studio Mobile.",
3242
3242
  "type": "number"
3243
3243
  },
3244
3244
  "returnGeometry": {
3245
- "description": "Whether geometry for features should be returned. Not supported in Geocortex Mobile Viewer.",
3245
+ "description": "Whether geometry for features should be returned. Not supported in VertiGIS Studio Mobile.",
3246
3246
  "type": "boolean"
3247
3247
  },
3248
3248
  "sources": {
3249
- "description": "The feature sources to identify. Can be used instead of or in addition to \"maps\". Not supported in Geocortex Mobile Viewer (use \"maps\").",
3249
+ "description": "The feature sources to identify. Can be used instead of or in addition to \"maps\". Not supported in VertiGIS Studio Mobile (use \"maps\").",
3250
3250
  "items": {
3251
3251
  "$ref": "@vertigis.arcgis-extensions.data.FeatureSource.FeatureSource"
3252
3252
  },
3253
3253
  "type": "array"
3254
3254
  },
3255
3255
  "visibleLayersOnly": {
3256
- "description": "When \"map\" is specified, this determines whether to include only visible layers. The default is true. Not supported in Geocortex Mobile Viewer.",
3256
+ "description": "When \"map\" is specified, this determines whether to include only visible layers. The default is true. Not supported in VertiGIS Studio Mobile.",
3257
3257
  "type": "boolean"
3258
3258
  }
3259
3259
  },
@@ -4326,9 +4326,13 @@
4326
4326
  "description": "Arguments for search operations.",
4327
4327
  "properties": {
4328
4328
  "disableSearchAreaExpansion": {
4329
- "description": "By default the search area will be expanded to try and return the specified maxResults. Set to true to disable this behavior. Not supported in Geocortex Mobile Viewer.",
4329
+ "description": "By default the search area will be expanded to try and return the specified maxResults. Set to true to disable this behavior. Not supported in VertiGIS Studio Mobile.",
4330
4330
  "type": "boolean"
4331
4331
  },
4332
+ "mapViewpoint": {
4333
+ "$ref": "#/definitions/esri.Viewpoint",
4334
+ "description": "The map Viewpoint at the time of the search. Mobile only."
4335
+ },
4332
4336
  "maps": {
4333
4337
  "$ref": "MapsLike",
4334
4338
  "description": "The map(s) to search. Can be used instead of or in addition to \"sources\"."
@@ -4343,11 +4347,11 @@
4343
4347
  },
4344
4348
  "near": {
4345
4349
  "$ref": "#/definitions/esri.Point",
4346
- "description": "If specified, this will influence the score of spatial features based on their proximity to this point. Most commonly this would be the user's current location, but can be any point of interest. This option requires searchArea to also be specified. Not supported in Geocortex Mobile Viewer."
4350
+ "description": "If specified, this will influence the score of spatial features based on their proximity to this point. Most commonly this would be the user's current location, but can be any point of interest. This option requires searchArea to also be specified. Not supported in VertiGIS Studio Mobile."
4347
4351
  },
4348
4352
  "outSpatialReference": {
4349
4353
  "$ref": "#/definitions/esri.SpatialReference",
4350
- "description": "The spatial reference for the returned geometry. Not supported in Geocortex Mobile Viewer."
4354
+ "description": "The spatial reference for the returned geometry. Not supported in VertiGIS Studio Mobile."
4351
4355
  },
4352
4356
  "searchArea": {
4353
4357
  "$ref": "#/definitions/esri.Geometry",
@@ -4362,7 +4366,7 @@
4362
4366
  "type": "string"
4363
4367
  },
4364
4368
  "sources": {
4365
- "description": "The feature sources to search. Can be used instead of or in addition to \"maps\". Not supported in Geocortex Mobile Viewer (use \"maps\").",
4369
+ "description": "The feature sources to search. Can be used instead of or in addition to \"maps\". Not supported in VertiGIS Studio Mobile (use \"maps\").",
4366
4370
  "items": {
4367
4371
  "$ref": "@vertigis.arcgis-extensions.data.FeatureSource.FeatureSource"
4368
4372
  },
@@ -4370,6 +4374,7 @@
4370
4374
  }
4371
4375
  },
4372
4376
  "required": [
4377
+ "mapViewpoint",
4373
4378
  "searchText"
4374
4379
  ],
4375
4380
  "type": "object"
@@ -4450,7 +4455,7 @@
4450
4455
  },
4451
4456
  "SetBasemapWithTargetMapArg": {
4452
4457
  "additionalProperties": false,
4453
- "description": "Argument used in case when we have more than 1 map in the app, and we need to pass the target map from outside (eg basemap picker in web viewer).",
4458
+ "description": "Argument used in case when we have more than 1 map in the app, and we need to pass the target map from outside (eg basemap picker in VertiGIS Studio Web).",
4454
4459
  "properties": {
4455
4460
  "basemap": {
4456
4461
  "$ref": "#/definitions/SetBasemapArg",
@@ -4712,7 +4717,7 @@
4712
4717
  },
4713
4718
  "StorageDataArgs": {
4714
4719
  "additionalProperties": false,
4715
- "description": "Arguments for the reading app.*-persistent-data operations. Only available in the Geocortex Mobile Viewer.",
4720
+ "description": "Arguments for the reading app.*-persistent-data operations. Only available in VertiGIS Studio Mobile.",
4716
4721
  "properties": {
4717
4722
  "key": {
4718
4723
  "description": "The key of the data to store.",
@@ -5756,7 +5761,7 @@
5756
5761
  "type": "boolean"
5757
5762
  },
5758
5763
  "auth.sign-in": {
5759
- "description": "Initiates user sign-in if they aren't already signed in. The argument indicates whether or not the map should be reloaded when the sign-in is complete. This argument is optional and only supported by Geocortex Mobile Viewer.",
5764
+ "description": "Initiates user sign-in if they aren't already signed in. The argument indicates whether or not the map should be reloaded when the sign-in is complete. This argument is optional and only supported by VertiGIS Studio Mobile.",
5760
5765
  "enum": [
5761
5766
  "auth.sign-in"
5762
5767
  ]
@@ -5768,7 +5773,7 @@
5768
5773
  ]
5769
5774
  },
5770
5775
  "auth.sign-out": {
5771
- "description": "Signs the user out. The argument indicates whether or not the map should be reloaded when the sign-out is complete. This argument is optional and only supported by Geocortex Mobile Viewer.",
5776
+ "description": "Signs the user out. The argument indicates whether or not the map should be reloaded when the sign-out is complete. This argument is optional and only supported by VertiGIS Studio Mobile.",
5772
5777
  "enum": [
5773
5778
  "auth.sign-out"
5774
5779
  ]
@@ -6039,6 +6044,9 @@
6039
6044
  },
6040
6045
  "type": "array"
6041
6046
  },
6047
+ {
6048
+ "$ref": "#/definitions/esri.Geometry"
6049
+ },
6042
6050
  {
6043
6051
  "$ref": "#/definitions/esri.rest-api.Feature.Feature"
6044
6052
  },
@@ -6073,12 +6081,12 @@
6073
6081
  {
6074
6082
  "$ref": "#/definitions/esri.rest-api.Extent.Extent"
6075
6083
  },
6076
- {
6077
- "$ref": "#/definitions/esri.Geometry"
6078
- },
6079
6084
  {
6080
6085
  "items": {
6081
6086
  "anyOf": [
6087
+ {
6088
+ "$ref": "#/definitions/esri.Geometry"
6089
+ },
6082
6090
  {
6083
6091
  "$ref": "#/definitions/esri.rest-api.Point.Point"
6084
6092
  },
@@ -6093,9 +6101,6 @@
6093
6101
  },
6094
6102
  {
6095
6103
  "$ref": "#/definitions/esri.rest-api.Extent.Extent"
6096
- },
6097
- {
6098
- "$ref": "#/definitions/esri.Geometry"
6099
6104
  }
6100
6105
  ]
6101
6106
  },
@@ -6420,10 +6425,10 @@
6420
6425
  "edit.display-add-feature:input": {
6421
6426
  "anyOf": [
6422
6427
  {
6423
- "$ref": "#/definitions/DisplayAddFeatureArgs"
6428
+ "$ref": "@vertigis.arcgis-extensions.data.FeatureSource.FeatureSource"
6424
6429
  },
6425
6430
  {
6426
- "$ref": "@vertigis.arcgis-extensions.data.FeatureSource.FeatureSource"
6431
+ "$ref": "#/definitions/DisplayAddFeatureArgs"
6427
6432
  }
6428
6433
  ]
6429
6434
  },
@@ -15427,7 +15432,7 @@
15427
15432
  "$ref": "#/definitions/SuggestArgs"
15428
15433
  },
15429
15434
  "geolocation.auto-recenter": {
15430
- "description": "Centers the map on the user's current location and keeps the location centered as it moves around. The maps parameter is only supported in Geocortex Mobile Viewer. In Geocortex Web Viewer, all maps are affected.",
15435
+ "description": "Centers the map on the user's current location and keeps the location centered as it moves around. The maps parameter is only supported in VertiGIS Studio Mobile. In VertiGIS Studio Web, all maps are affected.",
15431
15436
  "enum": [
15432
15437
  "geolocation.auto-recenter"
15433
15438
  ]
@@ -16412,6 +16417,9 @@
16412
16417
  {
16413
16418
  "$ref": "#/definitions/HasFeatures"
16414
16419
  },
16420
+ {
16421
+ "$ref": "#/definitions/esri.Geometry"
16422
+ },
16415
16423
  {
16416
16424
  "$ref": "#/definitions/esri.rest-api.Feature.Feature"
16417
16425
  },
@@ -16446,12 +16454,12 @@
16446
16454
  {
16447
16455
  "$ref": "#/definitions/esri.rest-api.Extent.Extent"
16448
16456
  },
16449
- {
16450
- "$ref": "#/definitions/esri.Geometry"
16451
- },
16452
16457
  {
16453
16458
  "items": {
16454
16459
  "anyOf": [
16460
+ {
16461
+ "$ref": "#/definitions/esri.Geometry"
16462
+ },
16455
16463
  {
16456
16464
  "$ref": "#/definitions/esri.rest-api.Point.Point"
16457
16465
  },
@@ -16466,9 +16474,6 @@
16466
16474
  },
16467
16475
  {
16468
16476
  "$ref": "#/definitions/esri.rest-api.Extent.Extent"
16469
- },
16470
- {
16471
- "$ref": "#/definitions/esri.Geometry"
16472
16477
  }
16473
16478
  ]
16474
16479
  },
@@ -16601,6 +16606,9 @@
16601
16606
  {
16602
16607
  "$ref": "#/definitions/HasFeatures"
16603
16608
  },
16609
+ {
16610
+ "$ref": "#/definitions/esri.Geometry"
16611
+ },
16604
16612
  {
16605
16613
  "$ref": "#/definitions/esri.rest-api.Feature.Feature"
16606
16614
  },
@@ -16635,12 +16643,12 @@
16635
16643
  {
16636
16644
  "$ref": "#/definitions/esri.rest-api.Extent.Extent"
16637
16645
  },
16638
- {
16639
- "$ref": "#/definitions/esri.Geometry"
16640
- },
16641
16646
  {
16642
16647
  "items": {
16643
16648
  "anyOf": [
16649
+ {
16650
+ "$ref": "#/definitions/esri.Geometry"
16651
+ },
16644
16652
  {
16645
16653
  "$ref": "#/definitions/esri.rest-api.Point.Point"
16646
16654
  },
@@ -16655,9 +16663,6 @@
16655
16663
  },
16656
16664
  {
16657
16665
  "$ref": "#/definitions/esri.rest-api.Extent.Extent"
16658
- },
16659
- {
16660
- "$ref": "#/definitions/esri.Geometry"
16661
16666
  }
16662
16667
  ]
16663
16668
  },
@@ -16885,6 +16890,9 @@
16885
16890
  {
16886
16891
  "$ref": "#/definitions/HasFeatures"
16887
16892
  },
16893
+ {
16894
+ "$ref": "#/definitions/esri.Geometry"
16895
+ },
16888
16896
  {
16889
16897
  "$ref": "#/definitions/esri.rest-api.Feature.Feature"
16890
16898
  },
@@ -16919,12 +16927,12 @@
16919
16927
  {
16920
16928
  "$ref": "#/definitions/esri.rest-api.Extent.Extent"
16921
16929
  },
16922
- {
16923
- "$ref": "#/definitions/esri.Geometry"
16924
- },
16925
16930
  {
16926
16931
  "items": {
16927
16932
  "anyOf": [
16933
+ {
16934
+ "$ref": "#/definitions/esri.Geometry"
16935
+ },
16928
16936
  {
16929
16937
  "$ref": "#/definitions/esri.rest-api.Point.Point"
16930
16938
  },
@@ -16939,9 +16947,6 @@
16939
16947
  },
16940
16948
  {
16941
16949
  "$ref": "#/definitions/esri.rest-api.Extent.Extent"
16942
- },
16943
- {
16944
- "$ref": "#/definitions/esri.Geometry"
16945
16950
  }
16946
16951
  ]
16947
16952
  },
@@ -18352,7 +18357,7 @@
18352
18357
  "type": "boolean"
18353
18358
  },
18354
18359
  "ui.activate": {
18355
- "description": "Activates a component with the given ID or model, causing it to become visible. For Geocortex Mobile Viewer, only ID is supported.",
18360
+ "description": "Activates a component with the given ID or model, causing it to become visible. For VertiGIS Studio Mobile, only ID is supported.",
18356
18361
  "enum": [
18357
18362
  "ui.activate"
18358
18363
  ]
@@ -18389,7 +18394,7 @@
18389
18394
  "type": "boolean"
18390
18395
  },
18391
18396
  "ui.deactivate": {
18392
- "description": "Deactivates a component with the given ID, causing it to disappear. For Geocortex Mobile Viewer, only ID is supported.",
18397
+ "description": "Deactivates a component with the given ID, causing it to disappear. For VertiGIS Studio Mobile, only ID is supported.",
18393
18398
  "enum": [
18394
18399
  "ui.deactivate"
18395
18400
  ]