@vertigis/viewer-spec 49.9.0 → 50.0.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 +54 -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 +6 -0
  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 +91 -79
  61. package/messaging/schema/mobile-event.schema.json +1075 -107
  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
@@ -1,6 +1,10 @@
1
1
  {
2
2
  "$ref": "#/definitions/viewer-spec.Event",
3
3
  "definitions": {
4
+ "ArcGISPortalIdentity": {
5
+ "additionalProperties": false,
6
+ "type": "object"
7
+ },
4
8
  "AuthenticationType": {
5
9
  "description": "A type of authentication.",
6
10
  "enum": [
@@ -11,6 +15,25 @@
11
15
  ],
12
16
  "type": "string"
13
17
  },
18
+ "Error": {
19
+ "additionalProperties": false,
20
+ "properties": {
21
+ "message": {
22
+ "type": "string"
23
+ },
24
+ "name": {
25
+ "type": "string"
26
+ },
27
+ "stack": {
28
+ "type": "string"
29
+ }
30
+ },
31
+ "required": [
32
+ "message",
33
+ "name"
34
+ ],
35
+ "type": "object"
36
+ },
14
37
  "GeolocateAccuracyChangedEventArgs": {
15
38
  "additionalProperties": false,
16
39
  "description": "Arguments for the \"geolocation.accuracy-changed\" event.",
@@ -39,12 +62,25 @@
39
62
  "GeolocationStatusChangedEventArgs": {
40
63
  "additionalProperties": false,
41
64
  "description": "Arguments for the \"geolocation.status-changed\" event.",
65
+ "properties": {
66
+ "isEnabled": {
67
+ "description": "Indicates whether the geolocation is now enabled.",
68
+ "type": "boolean"
69
+ }
70
+ },
71
+ "required": [
72
+ "isEnabled"
73
+ ],
42
74
  "type": "object"
43
75
  },
44
76
  "GnssDeviceConnectionInfo": {
45
77
  "additionalProperties": false,
46
78
  "description": "A geolocation source.",
47
79
  "properties": {
80
+ "deviceFullName": {
81
+ "description": "Full name of the GNSS device.",
82
+ "type": "string"
83
+ },
48
84
  "deviceName": {
49
85
  "description": "Name of the GNSS device.",
50
86
  "type": "string"
@@ -59,6 +95,7 @@
59
95
  }
60
96
  },
61
97
  "required": [
98
+ "deviceFullName",
62
99
  "deviceName",
63
100
  "deviceType",
64
101
  "settings"
@@ -89,11 +126,41 @@
89
126
  "additionalProperties": false,
90
127
  "description": "Arguments for the various map events.",
91
128
  "properties": {
129
+ "mapExtension": {
130
+ "$ref": "@vertigis.arcgis-extensions.mapping.MapExtension.MapExtension",
131
+ "description": "The map extension for which the event was generated."
132
+ },
92
133
  "maps": {
93
134
  "$ref": "#/definitions/MapsLike",
94
135
  "description": "The map from which the event was generated."
95
136
  }
96
137
  },
138
+ "required": [
139
+ "mapExtension"
140
+ ],
141
+ "type": "object"
142
+ },
143
+ "MapInitializedEvent": {
144
+ "additionalProperties": false,
145
+ "description": "Event args for the map.initialized event.",
146
+ "properties": {
147
+ "loadTime": {
148
+ "$ref": "#/definitions/TimeSpan",
149
+ "description": "The amount of time that the map took to load. Mobile only."
150
+ },
151
+ "mapExtension": {
152
+ "$ref": "@vertigis.arcgis-extensions.mapping.MapExtension.MapExtension",
153
+ "description": "The map extension for which the event was generated."
154
+ },
155
+ "maps": {
156
+ "$ref": "#/definitions/MapsLike",
157
+ "description": "The map from which the event was generated."
158
+ }
159
+ },
160
+ "required": [
161
+ "loadTime",
162
+ "mapExtension"
163
+ ],
97
164
  "type": "object"
98
165
  },
99
166
  "MapsLike": {
@@ -175,6 +242,14 @@
175
242
  ],
176
243
  "description": "An operational layer in a web map/scene."
177
244
  },
245
+ "PortalType": {
246
+ "description": "The type of Portal.",
247
+ "enum": [
248
+ "AGOL",
249
+ "ArcGISEnterprise"
250
+ ],
251
+ "type": "string"
252
+ },
178
253
  "PrintErrorEventArgs": {
179
254
  "additionalProperties": false,
180
255
  "description": "Arguments for the printing.print-error event.",
@@ -265,20 +340,44 @@
265
340
  ],
266
341
  "type": "object"
267
342
  },
343
+ "SignInCompletedEventArgs": {
344
+ "additionalProperties": false,
345
+ "description": "Arguments for the auth.sign-in-completed and auth.portal-sign-in-completed events. Only available in VertiGIS Studio Mobile.",
346
+ "properties": {
347
+ "credential": {
348
+ "$ref": "esriRuntimeSdk.Credential",
349
+ "description": "The credential resulting from the sign in."
350
+ },
351
+ "identity": {
352
+ "$ref": "#/definitions/ArcGISPortalIdentity",
353
+ "description": "The identity that was obtained from the sign in."
354
+ }
355
+ },
356
+ "required": [
357
+ "credential",
358
+ "identity"
359
+ ],
360
+ "type": "object"
361
+ },
268
362
  "SignInEventArgs": {
269
363
  "additionalProperties": false,
270
- "description": "Arguments for the auth.sign-in events. Only available in the Geocortex Mobile Viewer.",
364
+ "description": "Arguments for the auth.sign-in events. Only available in VertiGIS Studio Mobile.",
271
365
  "properties": {
272
366
  "authenticationType": {
273
367
  "$ref": "#/definitions/AuthenticationType",
274
- "description": "The authentication method used for the sign in process. Not available in Geocortex Web Viewer."
368
+ "description": "The authentication method used for the sign in process. Not available in VertiGIS Studio Web."
369
+ },
370
+ "portalType": {
371
+ "$ref": "#/definitions/PortalType",
372
+ "description": "The type of Portal: AGOL or Enterprise."
275
373
  },
276
374
  "requestInfo": {
277
- "description": "Information about the resource that is required to sign in. Not available in Geocortex Web Viewer. Will be an instance of esri.security.CredentialRequestInfo for the Geocortex Mobile Viewer."
375
+ "description": "Information about the resource that is required to sign in. Not available in VertiGIS Studio Web. Will be an instance of esri.security.CredentialRequestInfo for VertiGIS Studio Mobile."
278
376
  }
279
377
  },
280
378
  "required": [
281
379
  "authenticationType",
380
+ "portalType",
282
381
  "requestInfo"
283
382
  ],
284
383
  "type": "object"
@@ -289,30 +388,82 @@
289
388
  "properties": {
290
389
  "authenticationType": {
291
390
  "$ref": "#/definitions/AuthenticationType",
292
- "description": "The authentication method used for the sign in process. Not available in Geocortex Web Viewer."
391
+ "description": "The authentication method used for the sign in process. Not available in VertiGIS Studio Web."
293
392
  },
294
393
  "exception": {
295
- "description": "The exception that occurred during the sign in. Not available in Geocortex Web Viewer."
394
+ "description": "The exception that occurred during the sign in. Not available in VertiGIS Studio Web."
395
+ },
396
+ "portalType": {
397
+ "$ref": "#/definitions/PortalType",
398
+ "description": "The type of Portal: AGOL or Enterprise."
296
399
  },
297
400
  "requestInfo": {
298
- "description": "Information about the resource that is required to sign in. Not available in Geocortex Web Viewer. Will be an instance of esri.security.CredentialRequestInfo for the Geocortex Mobile Viewer."
401
+ "description": "Information about the resource that is required to sign in. Not available in VertiGIS Studio Web. Will be an instance of esri.security.CredentialRequestInfo for VertiGIS Studio Mobile."
299
402
  }
300
403
  },
301
404
  "required": [
302
405
  "authenticationType",
303
406
  "exception",
407
+ "portalType",
304
408
  "requestInfo"
305
409
  ],
306
410
  "type": "object"
307
411
  },
412
+ "TimeSpan": {
413
+ "additionalProperties": false,
414
+ "type": "object"
415
+ },
416
+ "WorkflowErrorEventArgs": {
417
+ "additionalProperties": false,
418
+ "description": "Arguments for the \"workflow.workflow-error\" event.",
419
+ "properties": {
420
+ "errorMessage": {
421
+ "description": "The human readable error message.",
422
+ "type": "string"
423
+ },
424
+ "exception": {
425
+ "$ref": "#/definitions/Error",
426
+ "description": "The Error object containing detailed information about the error."
427
+ },
428
+ "workflow": {
429
+ "$ref": "WorkflowModel",
430
+ "description": "The workflow pertaining to the event."
431
+ }
432
+ },
433
+ "required": [
434
+ "workflow"
435
+ ],
436
+ "type": "object"
437
+ },
438
+ "WorkflowFinishedEventArgs": {
439
+ "additionalProperties": false,
440
+ "description": "Arguments for the \"workflow.workflow-finished\" event.",
441
+ "properties": {
442
+ "workflow": {
443
+ "$ref": "WorkflowModel",
444
+ "description": "The workflow pertaining to the event."
445
+ }
446
+ },
447
+ "required": [
448
+ "workflow"
449
+ ],
450
+ "type": "object"
451
+ },
308
452
  "auth.sign-in-completed": {
309
- "description": "Raised when successfully signed in.",
453
+ "description": "Raised when successfully signed in. Principal event type used in Web, SignInCompletedEventArgs used in Mobile.",
310
454
  "enum": [
311
455
  "auth.sign-in-completed"
312
456
  ]
313
457
  },
314
458
  "auth.sign-in-completed:input": {
315
- "$ref": "Principal"
459
+ "anyOf": [
460
+ {
461
+ "$ref": "Principal"
462
+ },
463
+ {
464
+ "$ref": "#/definitions/SignInCompletedEventArgs"
465
+ }
466
+ ]
316
467
  },
317
468
  "auth.sign-in-failed": {
318
469
  "description": "Raised when a sign-in attempt fails.",
@@ -359,7 +510,7 @@
359
510
  ]
360
511
  },
361
512
  "auth.token-refreshed": {
362
- "description": "Raised when the user's token is refreshed. Will be the new token in the Geocortex Web Viewer, and a TokenCredential object in the Geocortex Mobile Viewer.",
513
+ "description": "Raised when the user's token is refreshed. Will be the new token in the VertiGIS Studio Web, and a TokenCredential object in VertiGIS Studio Mobile.",
363
514
  "enum": [
364
515
  "auth.token-refreshed"
365
516
  ]
@@ -8933,13 +9084,20 @@
8933
9084
  "$ref": "#/definitions/GeolocationStatusChangedEventArgs"
8934
9085
  },
8935
9086
  "map.initialized": {
8936
- "description": "Raised when a map has completed initialization.",
9087
+ "description": "Raised when a map has completed initialization. MapEvent used in Web, MapInitializedEvent used in Mobile.",
8937
9088
  "enum": [
8938
9089
  "map.initialized"
8939
9090
  ]
8940
9091
  },
8941
9092
  "map.initialized:input": {
8942
- "$ref": "#/definitions/MapEvent"
9093
+ "anyOf": [
9094
+ {
9095
+ "$ref": "#/definitions/MapEvent"
9096
+ },
9097
+ {
9098
+ "$ref": "#/definitions/MapInitializedEvent"
9099
+ }
9100
+ ]
8943
9101
  },
8944
9102
  "map.viewpoint-changed": {
8945
9103
  "description": "Raised when the a map extent is changed. This event is raised in extremely high frequency - for example, every few pixels the map is repositioned during a pan.",
@@ -9077,8 +9235,32 @@
9077
9235
  },
9078
9236
  {
9079
9237
  "$ref": "#/definitions/ui.deactivated"
9238
+ },
9239
+ {
9240
+ "$ref": "#/definitions/workflow.workflow-error"
9241
+ },
9242
+ {
9243
+ "$ref": "#/definitions/workflow.workflow-finished"
9080
9244
  }
9081
9245
  ]
9246
+ },
9247
+ "workflow.workflow-error": {
9248
+ "description": "Raised when an error occurs while running a workflow.",
9249
+ "enum": [
9250
+ "workflow.workflow-error"
9251
+ ]
9252
+ },
9253
+ "workflow.workflow-error:input": {
9254
+ "$ref": "#/definitions/WorkflowErrorEventArgs"
9255
+ },
9256
+ "workflow.workflow-finished": {
9257
+ "description": "Raised when a workflow finishes running.",
9258
+ "enum": [
9259
+ "workflow.workflow-finished"
9260
+ ]
9261
+ },
9262
+ "workflow.workflow-finished:input": {
9263
+ "$ref": "#/definitions/WorkflowFinishedEventArgs"
9082
9264
  }
9083
9265
  }
9084
9266
  }