@vertigis/viewer-spec 61.14.0 → 61.14.1

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.
@@ -5,7 +5,7 @@ In Web, creates graphics out of GeometryLike or CreateGraphicsArgs, with the cur
5
5
 
6
6
  In Mobile, creates graphics from the given CreateGraphicsArgs or CreateGraphicsArgs[] (or some GeometryLike args). Any provided symbol parameter is used, otherwise a default symbol is used.
7
7
 
8
- Inputs: `( @vertigis.api-docs.Features FeatureSet|FeatureList|FeatureStream | CreateGraphicsResult | @arcgis.core.Graphic.Graphic | ( @vertigis.arcgis-extensions.data.Feature.FeatureProperties )[] | @arcgis.core.geometry.Extent.Extent | @arcgis.core.geometry.Multipoint.Multipoint | @arcgis.core.geometry.Point.Point | @arcgis.core.geometry.Polyline.Polyline | @arcgis.core.geometry.Mesh.Mesh | esri.rest-api.FeatureJson.FeatureJson | @arcgis.core.rest.support.FeatureSet.FeatureSet | ( @arcgis.core.Graphic.Graphic | esri.rest-api.FeatureJson.FeatureJson )[] | esri.rest-api.GeometryJson.PointJson | esri.rest-api.GeometryJson.MultipointJson | esri.rest-api.GeometryJson.PolylineJson | esri.rest-api.GeometryJson.PolygonJson | esri.rest-api.GeometryJson.ExtentJson | ( @arcgis.core.geometry.Extent.Extent | @arcgis.core.geometry.Multipoint.Multipoint | @arcgis.core.geometry.Point.Point | @arcgis.core.geometry.Polyline.Polyline | @arcgis.core.geometry.Mesh.Mesh | esri.rest-api.GeometryJson.PointJson | esri.rest-api.GeometryJson.MultipointJson | esri.rest-api.GeometryJson.PolylineJson | esri.rest-api.GeometryJson.PolygonJson | esri.rest-api.GeometryJson.ExtentJson )[] | CreateGraphicsArgs | CreateGraphicsArgs[] )`
8
+ Inputs: `( CreateGraphicsResult | @arcgis.core.Graphic.Graphic | @vertigis.api-docs.Features Feature|FeatureSet|FeatureList|FeatureStream|Feature[] | ( @vertigis.arcgis-extensions.data.Feature.FeatureProperties )[] | @arcgis.core.geometry.Extent.Extent | @arcgis.core.geometry.Multipoint.Multipoint | @arcgis.core.geometry.Point.Point | @arcgis.core.geometry.Polyline.Polyline | @arcgis.core.geometry.Mesh.Mesh | esri.rest-api.FeatureJson.FeatureJson | @arcgis.core.rest.support.FeatureSet.FeatureSet | ( @arcgis.core.Graphic.Graphic | esri.rest-api.FeatureJson.FeatureJson )[] | esri.rest-api.GeometryJson.PointJson | esri.rest-api.GeometryJson.MultipointJson | esri.rest-api.GeometryJson.PolylineJson | esri.rest-api.GeometryJson.PolygonJson | esri.rest-api.GeometryJson.ExtentJson | ( @arcgis.core.geometry.Extent.Extent | @arcgis.core.geometry.Multipoint.Multipoint | @arcgis.core.geometry.Point.Point | @arcgis.core.geometry.Polyline.Polyline | @arcgis.core.geometry.Mesh.Mesh | esri.rest-api.GeometryJson.PointJson | esri.rest-api.GeometryJson.MultipointJson | esri.rest-api.GeometryJson.PolylineJson | esri.rest-api.GeometryJson.PolygonJson | esri.rest-api.GeometryJson.ExtentJson )[] | CreateGraphicsArgs | CreateGraphicsArgs[] )`
9
9
 
10
10
  CreateGraphicsResult properties:
11
11
  ```json
@@ -334,6 +334,9 @@ CreateGraphicsArgs properties:
334
334
  {
335
335
  "$ref": "#/definitions/@arcgis.core.Graphic.Graphic"
336
336
  },
337
+ {
338
+ "$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
339
+ },
337
340
  {
338
341
  "$ref": "@vertigis.arcgis-extensions.data.FeatureSet.FeatureSet"
339
342
  },
@@ -348,6 +351,9 @@ CreateGraphicsArgs properties:
348
351
  "anyOf": [
349
352
  {
350
353
  "$ref": "@vertigis.arcgis-extensions.data.Feature.FeatureProperties"
354
+ },
355
+ {
356
+ "$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
351
357
  }
352
358
  ]
353
359
  },
@@ -303,11 +303,11 @@ DisplayAddFeatureArgs properties:
303
303
  # command: edit.display-add-related-feature
304
304
  Description: Begin an interactive feature editing session for a new related feature. The specified feature will be the original feature that the new related feature will be added to in the relationship.
305
305
 
306
- **Example:** Create and edit a new record on a related table, with the option to add attachments. Make sure the 'COMMENTS' field is included in the editable attributes and make it required.
306
+ **Example (Web):** Create and edit a new record on a related table, with the option to add attachments. Make sure the 'COMMENTS' field is included in the editable attributes and make it required.
307
307
 
308
308
  _Notes:_.
309
309
 
310
- 1. The feature used here must come from the running viewer, and cannot be an ad-hoc feature created from a JSON object. For example, you can use the output of `results.get-active-features`, or the feature provided in a command chain context.
310
+ 1. The feature used here must come from the running viewer, and cannot be an ad-hoc feature created from a JSON object. For example, you can use the output of `results.get-active-features` (Web only), or the feature provided in a command chain context.
311
311
  2. `editableExpression` and `requiredExpression` both take an Arcade expression, and here the string "true" is just a simple Arcade expression that always returns true. You can also use a more complex expression, or reference one from your webmap.
312
312
 
313
313
  ```
@@ -325,7 +325,27 @@ _Notes:_.
325
325
  }
326
326
  ```
327
327
 
328
- Inputs: `DisplayAddRelatedFeatureArgs`
328
+ **Example (Mobile):** Create and edit a new record on a feature.
329
+
330
+ _Notes:_.
331
+
332
+ 1. The feature used here must come from the running viewer, and cannot be an
333
+ ad-hoc feature created from a JSON object. For example, the feature
334
+ provided to a Workflow from a Feature Action context (as in this
335
+ example), or from a query.
336
+ 2. The relatedFeatureSource in this example is a table passed in to the
337
+ Workflow as an input like so: `{ "tableSource":
338
+ "item://table-extension/your-table-extension-id" }`
339
+
340
+ ```
341
+ {
342
+ "feature": $getWorkflowInputs.inputs.context[0]
343
+ "relationshipId": "1",
344
+ "relatedFeatureSource": $getWorkflowInputs.inputs.tableSource
345
+ }
346
+ ```
347
+
348
+ Inputs: `( DisplayAddRelatedFeatureArgs | DisplayAddRelatedFeatureMobileArgs )`
329
349
 
330
350
  DisplayAddRelatedFeatureArgs properties:
331
351
  ```json
@@ -378,10 +398,6 @@ DisplayAddRelatedFeatureArgs properties:
378
398
  "pluginSettings": {
379
399
  "description": "Additional settings that are specific to sketching plugins, keyed by plugin ID. The only currently supported plugin is \"snapping\". A boolean value can also be assigned to completely disable, or enable with default settings."
380
400
  },
381
- "relatedFeatureSource": {
382
- "description": "The feature source for the related feature to create. Mobile only.",
383
- "isRequired": "true"
384
- },
385
401
  "relationshipId": {
386
402
  "description": "The ID of the relationship to add a feature to.",
387
403
  "type": "string",
@@ -409,11 +425,30 @@ DisplayAddRelatedFeatureArgs properties:
409
425
  }
410
426
  ```
411
427
 
428
+ DisplayAddRelatedFeatureMobileArgs properties:
429
+ ```json
430
+ {
431
+ "feature": {
432
+ "description": "The original feature to add a related feature to.",
433
+ "isRequired": "true"
434
+ },
435
+ "relatedFeatureSource": {
436
+ "description": "The feature source the related feature belongs to.",
437
+ "isRequired": "true"
438
+ },
439
+ "relationshipId": {
440
+ "description": "The ID of the relationship to add a feature to.",
441
+ "type": "string",
442
+ "isRequired": "true"
443
+ }
444
+ }
445
+ ```
446
+
412
447
  ---
413
448
  # command: edit.display-update-feature
414
449
  Description: Begin an interactive feature editing session with an existing feature. `DisplayUpdateFeatureArgs` is not supported on Mobile.
415
450
 
416
- Inputs: `( DisplayUpdateFeatureArgs )`
451
+ Inputs: `( @vertigis.api-docs.Features Feature | DisplayUpdateFeatureArgs )`
417
452
 
418
453
  DisplayUpdateFeatureArgs properties:
419
454
  ```json
@@ -488,7 +523,7 @@ DisplayUpdateFeatureArgs properties:
488
523
  # command: edit.update-feature
489
524
  Description: Updates a layer feature or features. Edits to the geometry and attributes of the supplied features will be committed to their respective feature sources. `Features` and `EditCommandArgs` are not supported on Mobile.
490
525
 
491
- Inputs: `( @vertigis.api-docs.Features FeatureSet|FeatureList|FeatureStream | ( @vertigis.arcgis-extensions.data.Feature.FeatureProperties )[] | Results | EditCommandArgs )`
526
+ Inputs: `( @vertigis.api-docs.Features Feature|FeatureSet|FeatureList|FeatureStream|Feature[] | ( @vertigis.arcgis-extensions.data.Feature.FeatureProperties )[] | Results | EditCommandArgs )`
492
527
 
493
528
  Results properties:
494
529
  ```json
@@ -104,7 +104,7 @@ ReverseGeocodeArgs properties:
104
104
  }
105
105
  ```
106
106
 
107
- Outputs: `unknown`
107
+ Outputs: `@vertigis.arcgis-extensions.data.Feature.Feature`
108
108
 
109
109
  ---
110
110
  # operation: geocode.suggest
@@ -82,7 +82,7 @@ TargetsResultsSetArgs properties:
82
82
  # command: results.display
83
83
  Description: Presents features to the user within any components that can display features, such as a feature list, feature table, or feature details component. The argument is the features to display, or an object specifying both features and the target results component to update (Web only). If features are specified, they will overwrite any incoming features from previous operations up the action chain.
84
84
 
85
- Inputs: `( @vertigis.api-docs.Features FeatureSet|FeatureList|FeatureStream | ( @vertigis.arcgis-extensions.data.Feature.FeatureProperties )[] | Results | UpdateResultsFeaturesArgs )`
85
+ Inputs: `( @vertigis.api-docs.Features Feature|FeatureSet|FeatureList|FeatureStream|Feature[] | ( @vertigis.arcgis-extensions.data.Feature.FeatureProperties )[] | Results | UpdateResultsFeaturesArgs )`
86
86
 
87
87
  Results properties:
88
88
  ```json
@@ -116,7 +116,7 @@ UpdateResultsFeaturesArgs properties:
116
116
  # command: results.display-details
117
117
  Description: Presents feature details to the user within the feature-details component. The argument is the feature(s) to display, or an object specifying both features and the target results component to update (this object, UpdateResultsFeaturesArgs, is Web only).
118
118
 
119
- Inputs: `( @vertigis.api-docs.Features FeatureSet|FeatureList|FeatureStream | ( @vertigis.arcgis-extensions.data.Feature.FeatureProperties )[] | Results | UpdateResultsFeaturesArgs )`
119
+ Inputs: `( @vertigis.api-docs.Features Feature|FeatureSet|FeatureList|FeatureStream|Feature[] | ( @vertigis.arcgis-extensions.data.Feature.FeatureProperties )[] | Results | UpdateResultsFeaturesArgs )`
120
120
 
121
121
  Results properties:
122
122
  ```json
@@ -150,7 +150,7 @@ UpdateResultsFeaturesArgs properties:
150
150
  # command: results.display-new-details
151
151
  Description: Presents new feature details to the user within the feature-details component. If the feature-details component is contained within a panel, a 'back' button will be provided to navigate to the previous content; otherwise, the content of the feature-details component will be replaced.
152
152
 
153
- Inputs: `( @vertigis.api-docs.Features FeatureSet|FeatureList|FeatureStream | ( @vertigis.arcgis-extensions.data.Feature.FeatureProperties )[] | Results | UpdateResultsFeaturesArgs )`
153
+ Inputs: `( @vertigis.api-docs.Features Feature|FeatureSet|FeatureList|FeatureStream|Feature[] | ( @vertigis.arcgis-extensions.data.Feature.FeatureProperties )[] | Results | UpdateResultsFeaturesArgs )`
154
154
 
155
155
  Results properties:
156
156
  ```json
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vertigis/viewer-spec",
3
- "version": "61.14.0",
3
+ "version": "61.14.1",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "description": "VertiGIS Viewer Specification",
6
6
  "type": "module",
package/version.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * The current version of the VertiGIS Studio Viewer Specification.
3
3
  */
4
- export declare const version = "61.14.0";
4
+ export declare const version = "61.14.1";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * The current version of the VertiGIS Studio Viewer Specification.
3
3
  */
4
- export const version = "61.14.0";
4
+ export const version = "61.14.1";