@vertigis/viewer-spec 56.14.0 → 56.15.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.
@@ -176,31 +176,36 @@ export interface CreateFeatureArgs extends HasGeometry, HasLayers, HasMaps {
176
176
  typeId?: string;
177
177
  }
178
178
  /**
179
- * Arguments for the "edit.display-add-features" command. Web only.
179
+ * Arguments for the "edit.display-add-feature" command. Web only.
180
180
  */
181
181
  export interface DisplayAddFeatureArgs extends CreateFeatureArgs, HasMaps, EditOptions {
182
182
  /**
183
- * Arguments for the display of the attribute editing form.
183
+ * Arguments for the display of the attribute editing form. Web only.
184
184
  */
185
185
  formUITarget?: HasUITarget;
186
186
  /**
187
- * Arguments for the display of the template picker.
187
+ * Arguments for the display of the template picker. Web only.
188
188
  */
189
189
  templateUITarget?: HasUITarget;
190
190
  /**
191
- * A collection of configuration overrides for the editable fields.
191
+ * A collection of configuration overrides for the editable fields. Web
192
+ * only.
192
193
  */
193
194
  fieldElements?: Partial<FieldElement>[];
194
195
  }
195
196
  /**
196
197
  * Arguments for the "edit.display-add-related-feature" command. A feature and a
197
- * relationship ID are supplied as inputs instead of a layer. Web only.
198
+ * relationship ID are supplied as inputs instead of a layer.
198
199
  */
199
200
  export interface DisplayAddRelatedFeatureArgs extends Omit<DisplayAddFeatureArgs, "layers">, HasFeatures {
200
201
  /**
201
202
  * The ID of the relationship to add a feature to.
202
203
  */
203
204
  relationshipId: string;
205
+ /**
206
+ * The feature source for the related feature to create. Mobile only.
207
+ */
208
+ relatedFeatureSource: FeatureSource;
204
209
  }
205
210
  /**
206
211
  * Arguments for the "edit.display-update-features" operation. Web only.
@@ -267,6 +272,12 @@ export declare class EditCommands extends CommandRegistry {
267
272
  * `DisplayAddFeatureArgs` is not supported on Mobile.
268
273
  */
269
274
  get displayAddFeature(): Command<FeatureSource | DisplayAddFeatureArgs>;
275
+ /**
276
+ * Begin an interactive feature editing session for a new related feature.
277
+ * The specified feature will be the original feature that the new related
278
+ * feature will be added to in the relationship.
279
+ */
280
+ get displayAddRelatedFeature(): Command<DisplayAddRelatedFeatureArgs>;
270
281
  /**
271
282
  * Begin an interactive feature editing session with an existing feature.
272
283
  * `DisplayUpdateFeatureArgs` is not supported on Mobile.
@@ -286,6 +297,13 @@ export declare class EditCommands extends CommandRegistry {
286
297
  * @webOnly
287
298
  */
288
299
  get updateSession(): Command<UpdateSessionArgs>;
300
+ /**
301
+ * Clears a feature's GNSS metadata. This command will clear the well known
302
+ * GNSS attributes, such as "esrignss_longitude" and "esrignss_latitude".
303
+ *
304
+ * @mobileOnly
305
+ */
306
+ get clearGnssMetadata(): Command<Feature>;
289
307
  }
290
308
  export declare class EditOperations extends OperationRegistry {
291
309
  protected readonly _prefix = "edit";
@@ -297,6 +315,16 @@ export declare class EditOperations extends OperationRegistry {
297
315
  * @webOnly
298
316
  */
299
317
  get createFeature(): Operation<CreateFeatureArgs, HasFeatures>;
318
+ /**
319
+ * Automatically populates the well known GNSS attributes from the current
320
+ * location data. Examples of well known GNSS attributes are
321
+ * "esrignss_longitude" and "esrignss_latitude". The input feature argument
322
+ * may be null, in which case a new feature will be created. Returns the
323
+ * input feature, or a new feature if one was created.
324
+ *
325
+ * @mobileOnly
326
+ */
327
+ get updateGnssMetadata(): Operation<Feature, Feature>;
300
328
  }
301
329
  export declare class EditEvents extends EventRegistry {
302
330
  protected readonly _prefix = "edit";
@@ -1 +1 @@
1
- import{CommandRegistry as e}from"../CommandRegistry.js";import{EventRegistry as t}from"../EventRegistry.js";import{OperationRegistry as r}from"../OperationRegistry.js";export class EditCommands extends e{constructor(){super(...arguments),this._prefix="edit"}get addAttachment(){return this._get("add-attachment")}get deleteAttachment(){return this._get("delete-attachment")}get addFeature(){return this._get("add-feature")}get cancel(){return this._get("cancel")}get complete(){return this._get("complete")}get deleteFeatures(){return this._get("delete-features")}get displayAddFeature(){return this._get("display-add-feature")}get displayUpdateFeature(){return this._get("display-update-feature")}get updateFeature(){return this._get("update-feature")}get updateSession(){return this._get("update-session")}}export class EditOperations extends r{constructor(){super(...arguments),this._prefix="edit"}get createFeature(){return this._get("create-feature")}}export class EditEvents extends t{constructor(){super(...arguments),this._prefix="edit"}get attachmentAdded(){return this._get("attachment-added")}get attachmentUpdated(){return this._get("attachment-updated")}get attachmentDeleted(){return this._get("attachment-deleted")}get featureAdded(){return this._get("feature-added")}get featureDeleted(){return this._get("feature-deleted")}get featureUpdated(){return this._get("feature-updated")}get sessionUpdated(){return this._get("session-updated")}}
1
+ import{CommandRegistry as e}from"../CommandRegistry.js";import{EventRegistry as t}from"../EventRegistry.js";import{OperationRegistry as a}from"../OperationRegistry.js";export class EditCommands extends e{constructor(){super(...arguments),this._prefix="edit"}get addAttachment(){return this._get("add-attachment")}get deleteAttachment(){return this._get("delete-attachment")}get addFeature(){return this._get("add-feature")}get cancel(){return this._get("cancel")}get complete(){return this._get("complete")}get deleteFeatures(){return this._get("delete-features")}get displayAddFeature(){return this._get("display-add-feature")}get displayAddRelatedFeature(){return this._get("display-add-related-feature")}get displayUpdateFeature(){return this._get("display-update-feature")}get updateFeature(){return this._get("update-feature")}get updateSession(){return this._get("update-session")}get clearGnssMetadata(){return this._get("clear-gnss-metadata")}}export class EditOperations extends a{constructor(){super(...arguments),this._prefix="edit"}get createFeature(){return this._get("create-feature")}get updateGnssMetadata(){return this._get("update-gnss-metadata")}}export class EditEvents extends t{constructor(){super(...arguments),this._prefix="edit"}get attachmentAdded(){return this._get("attachment-added")}get attachmentUpdated(){return this._get("attachment-updated")}get attachmentDeleted(){return this._get("attachment-deleted")}get featureAdded(){return this._get("feature-added")}get featureDeleted(){return this._get("feature-deleted")}get featureUpdated(){return this._get("feature-updated")}get sessionUpdated(){return this._get("session-updated")}}
@@ -1226,7 +1226,7 @@
1226
1226
  },
1227
1227
  "DisplayAddFeatureArgs": {
1228
1228
  "additionalProperties": false,
1229
- "description": "Arguments for the \"edit.display-add-features\" command. Web only.",
1229
+ "description": "Arguments for the \"edit.display-add-feature\" command. Web only.",
1230
1230
  "properties": {
1231
1231
  "editAttachments": {
1232
1232
  "description": "Whether to allow editing of feature attachments.",
@@ -1248,7 +1248,7 @@
1248
1248
  "description": "A collection of attributes to apply to the new feature."
1249
1249
  },
1250
1250
  "fieldElements": {
1251
- "description": "A collection of configuration overrides for the editable fields.",
1251
+ "description": "A collection of configuration overrides for the editable fields. Web only.",
1252
1252
  "items": {
1253
1253
  "$ref": "__type"
1254
1254
  },
@@ -1256,7 +1256,7 @@
1256
1256
  },
1257
1257
  "formUITarget": {
1258
1258
  "$ref": "#/definitions/HasUITarget",
1259
- "description": "Arguments for the display of the attribute editing form."
1259
+ "description": "Arguments for the display of the attribute editing form. Web only."
1260
1260
  },
1261
1261
  "geometry": {
1262
1262
  "$ref": "#/definitions/GeometryLike",
@@ -1295,7 +1295,7 @@
1295
1295
  },
1296
1296
  "templateUITarget": {
1297
1297
  "$ref": "#/definitions/HasUITarget",
1298
- "description": "Arguments for the display of the template picker."
1298
+ "description": "Arguments for the display of the template picker. Web only."
1299
1299
  },
1300
1300
  "typeId": {
1301
1301
  "description": "A type id to use as a starting point for this feature. This may return one or more templates and requires a layer with types defined.",
@@ -1304,6 +1304,98 @@
1304
1304
  },
1305
1305
  "type": "object"
1306
1306
  },
1307
+ "DisplayAddRelatedFeatureArgs": {
1308
+ "additionalProperties": false,
1309
+ "description": "Arguments for the \"edit.display-add-related-feature\" command. A feature and a relationship ID are supplied as inputs instead of a layer.",
1310
+ "properties": {
1311
+ "editAttachments": {
1312
+ "description": "Whether to allow editing of feature attachments.",
1313
+ "type": "boolean"
1314
+ },
1315
+ "editAttributes": {
1316
+ "description": "Whether to allow editing of feature attributes.",
1317
+ "type": "boolean"
1318
+ },
1319
+ "editGeometry": {
1320
+ "description": "Whether to allow editing of feature geometry.",
1321
+ "type": "boolean"
1322
+ },
1323
+ "editGeometryOptions": {
1324
+ "$ref": "#/definitions/EditGeometryOptions",
1325
+ "description": "Options for the geometry editing session."
1326
+ },
1327
+ "featureAttributes": {
1328
+ "description": "A collection of attributes to apply to the new feature."
1329
+ },
1330
+ "features": {
1331
+ "$ref": "#/definitions/FeaturesLike",
1332
+ "description": "Features to use for the command/operation."
1333
+ },
1334
+ "fieldElements": {
1335
+ "description": "A collection of configuration overrides for the editable fields. Web only.",
1336
+ "items": {
1337
+ "$ref": "__type"
1338
+ },
1339
+ "type": "array"
1340
+ },
1341
+ "formUITarget": {
1342
+ "$ref": "#/definitions/HasUITarget",
1343
+ "description": "Arguments for the display of the attribute editing form. Web only."
1344
+ },
1345
+ "geometry": {
1346
+ "$ref": "#/definitions/GeometryLike",
1347
+ "description": "The geometry to use for the command/operation."
1348
+ },
1349
+ "maps": {
1350
+ "$ref": "MapsLike",
1351
+ "description": "Map(s) to use for the command/operation."
1352
+ },
1353
+ "orientation": {
1354
+ "description": "The orientation of the template picker. Defaults to \"vertical\".",
1355
+ "enum": [
1356
+ "horizontal",
1357
+ "vertical"
1358
+ ],
1359
+ "type": "string"
1360
+ },
1361
+ "pluginSettings": {
1362
+ "description": "Web only. 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."
1363
+ },
1364
+ "relatedFeatureSource": {
1365
+ "$ref": "@vertigis.arcgis-extensions.data.FeatureSource.FeatureSource",
1366
+ "description": "The feature source for the related feature to create. Mobile only."
1367
+ },
1368
+ "relationshipId": {
1369
+ "description": "The ID of the relationship to add a feature to.",
1370
+ "type": "string"
1371
+ },
1372
+ "showNotifications": {
1373
+ "description": "Whether to show UI notifications. Defaults to `true`.",
1374
+ "type": "boolean"
1375
+ },
1376
+ "showTitles": {
1377
+ "description": "Whether to show titles on the template picker. Defaults to `true`.",
1378
+ "type": "boolean"
1379
+ },
1380
+ "templateName": {
1381
+ "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.",
1382
+ "type": "string"
1383
+ },
1384
+ "templateUITarget": {
1385
+ "$ref": "#/definitions/HasUITarget",
1386
+ "description": "Arguments for the display of the template picker. Web only."
1387
+ },
1388
+ "typeId": {
1389
+ "description": "A type id to use as a starting point for this feature. This may return one or more templates and requires a layer with types defined.",
1390
+ "type": "string"
1391
+ }
1392
+ },
1393
+ "required": [
1394
+ "relatedFeatureSource",
1395
+ "relationshipId"
1396
+ ],
1397
+ "type": "object"
1398
+ },
1307
1399
  "DisplayBusyStateArgs": {
1308
1400
  "additionalProperties": false,
1309
1401
  "description": "Arguments for the \"ui.display-busy-state\" args.",
@@ -3724,6 +3816,15 @@
3724
3816
  }
3725
3817
  ]
3726
3818
  },
3819
+ "edit.display-add-related-feature": {
3820
+ "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.",
3821
+ "enum": [
3822
+ "edit.display-add-related-feature"
3823
+ ]
3824
+ },
3825
+ "edit.display-add-related-feature:input": {
3826
+ "$ref": "#/definitions/DisplayAddRelatedFeatureArgs"
3827
+ },
3727
3828
  "edit.display-update-feature": {
3728
3829
  "description": "Begin an interactive feature editing session with an existing feature. `DisplayUpdateFeatureArgs` is not supported on Mobile.",
3729
3830
  "enum": [
@@ -14296,6 +14397,22 @@
14296
14397
  ],
14297
14398
  "type": "object"
14298
14399
  },
14400
+ {
14401
+ "additionalProperties": false,
14402
+ "properties": {
14403
+ "arguments": {
14404
+ "$ref": "#/definitions/edit.display-add-related-feature:input"
14405
+ },
14406
+ "name": {
14407
+ "$ref": "#/definitions/edit.display-add-related-feature"
14408
+ }
14409
+ },
14410
+ "required": [
14411
+ "name",
14412
+ "arguments"
14413
+ ],
14414
+ "type": "object"
14415
+ },
14299
14416
  {
14300
14417
  "additionalProperties": false,
14301
14418
  "properties": {
@@ -15046,6 +15163,9 @@
15046
15163
  {
15047
15164
  "$ref": "#/definitions/edit.display-add-feature"
15048
15165
  },
15166
+ {
15167
+ "$ref": "#/definitions/edit.display-add-related-feature"
15168
+ },
15049
15169
  {
15050
15170
  "$ref": "#/definitions/edit.display-update-feature"
15051
15171
  },
@@ -1430,7 +1430,7 @@
1430
1430
  },
1431
1431
  "DisplayAddFeatureArgs": {
1432
1432
  "additionalProperties": false,
1433
- "description": "Arguments for the \"edit.display-add-features\" command. Web only.",
1433
+ "description": "Arguments for the \"edit.display-add-feature\" command. Web only.",
1434
1434
  "properties": {
1435
1435
  "editAttachments": {
1436
1436
  "description": "Whether to allow editing of feature attachments.",
@@ -1452,7 +1452,7 @@
1452
1452
  "description": "A collection of attributes to apply to the new feature."
1453
1453
  },
1454
1454
  "fieldElements": {
1455
- "description": "A collection of configuration overrides for the editable fields.",
1455
+ "description": "A collection of configuration overrides for the editable fields. Web only.",
1456
1456
  "items": {
1457
1457
  "$ref": "__type"
1458
1458
  },
@@ -1460,7 +1460,7 @@
1460
1460
  },
1461
1461
  "formUITarget": {
1462
1462
  "$ref": "#/definitions/HasUITarget",
1463
- "description": "Arguments for the display of the attribute editing form."
1463
+ "description": "Arguments for the display of the attribute editing form. Web only."
1464
1464
  },
1465
1465
  "geometry": {
1466
1466
  "$ref": "#/definitions/GeometryLike",
@@ -1499,7 +1499,7 @@
1499
1499
  },
1500
1500
  "templateUITarget": {
1501
1501
  "$ref": "#/definitions/HasUITarget",
1502
- "description": "Arguments for the display of the template picker."
1502
+ "description": "Arguments for the display of the template picker. Web only."
1503
1503
  },
1504
1504
  "typeId": {
1505
1505
  "description": "A type id to use as a starting point for this feature. This may return one or more templates and requires a layer with types defined.",
@@ -1508,6 +1508,98 @@
1508
1508
  },
1509
1509
  "type": "object"
1510
1510
  },
1511
+ "DisplayAddRelatedFeatureArgs": {
1512
+ "additionalProperties": false,
1513
+ "description": "Arguments for the \"edit.display-add-related-feature\" command. A feature and a relationship ID are supplied as inputs instead of a layer.",
1514
+ "properties": {
1515
+ "editAttachments": {
1516
+ "description": "Whether to allow editing of feature attachments.",
1517
+ "type": "boolean"
1518
+ },
1519
+ "editAttributes": {
1520
+ "description": "Whether to allow editing of feature attributes.",
1521
+ "type": "boolean"
1522
+ },
1523
+ "editGeometry": {
1524
+ "description": "Whether to allow editing of feature geometry.",
1525
+ "type": "boolean"
1526
+ },
1527
+ "editGeometryOptions": {
1528
+ "$ref": "#/definitions/EditGeometryOptions",
1529
+ "description": "Options for the geometry editing session."
1530
+ },
1531
+ "featureAttributes": {
1532
+ "description": "A collection of attributes to apply to the new feature."
1533
+ },
1534
+ "features": {
1535
+ "$ref": "#/definitions/FeaturesLike",
1536
+ "description": "Features to use for the command/operation."
1537
+ },
1538
+ "fieldElements": {
1539
+ "description": "A collection of configuration overrides for the editable fields. Web only.",
1540
+ "items": {
1541
+ "$ref": "__type"
1542
+ },
1543
+ "type": "array"
1544
+ },
1545
+ "formUITarget": {
1546
+ "$ref": "#/definitions/HasUITarget",
1547
+ "description": "Arguments for the display of the attribute editing form. Web only."
1548
+ },
1549
+ "geometry": {
1550
+ "$ref": "#/definitions/GeometryLike",
1551
+ "description": "The geometry to use for the command/operation."
1552
+ },
1553
+ "maps": {
1554
+ "$ref": "MapsLike",
1555
+ "description": "Map(s) to use for the command/operation."
1556
+ },
1557
+ "orientation": {
1558
+ "description": "The orientation of the template picker. Defaults to \"vertical\".",
1559
+ "enum": [
1560
+ "horizontal",
1561
+ "vertical"
1562
+ ],
1563
+ "type": "string"
1564
+ },
1565
+ "pluginSettings": {
1566
+ "description": "Web only. 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."
1567
+ },
1568
+ "relatedFeatureSource": {
1569
+ "$ref": "@vertigis.arcgis-extensions.data.FeatureSource.FeatureSource",
1570
+ "description": "The feature source for the related feature to create. Mobile only."
1571
+ },
1572
+ "relationshipId": {
1573
+ "description": "The ID of the relationship to add a feature to.",
1574
+ "type": "string"
1575
+ },
1576
+ "showNotifications": {
1577
+ "description": "Whether to show UI notifications. Defaults to `true`.",
1578
+ "type": "boolean"
1579
+ },
1580
+ "showTitles": {
1581
+ "description": "Whether to show titles on the template picker. Defaults to `true`.",
1582
+ "type": "boolean"
1583
+ },
1584
+ "templateName": {
1585
+ "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.",
1586
+ "type": "string"
1587
+ },
1588
+ "templateUITarget": {
1589
+ "$ref": "#/definitions/HasUITarget",
1590
+ "description": "Arguments for the display of the template picker. Web only."
1591
+ },
1592
+ "typeId": {
1593
+ "description": "A type id to use as a starting point for this feature. This may return one or more templates and requires a layer with types defined.",
1594
+ "type": "string"
1595
+ }
1596
+ },
1597
+ "required": [
1598
+ "relatedFeatureSource",
1599
+ "relationshipId"
1600
+ ],
1601
+ "type": "object"
1602
+ },
1511
1603
  "DisplayBusyStateArgs": {
1512
1604
  "additionalProperties": false,
1513
1605
  "description": "Arguments for the \"ui.display-busy-state\" args.",
@@ -4755,6 +4847,15 @@
4755
4847
  }
4756
4848
  ]
4757
4849
  },
4850
+ "edit.clear-gnss-metadata": {
4851
+ "description": "Clears a feature's GNSS metadata. This command will clear the well known GNSS attributes, such as \"esrignss_longitude\" and \"esrignss_latitude\".",
4852
+ "enum": [
4853
+ "edit.clear-gnss-metadata"
4854
+ ]
4855
+ },
4856
+ "edit.clear-gnss-metadata:input": {
4857
+ "$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
4858
+ },
4758
4859
  "edit.delete-attachment": {
4759
4860
  "description": "Deletes attachments from feature(s).",
4760
4861
  "enum": [
@@ -4821,6 +4922,15 @@
4821
4922
  }
4822
4923
  ]
4823
4924
  },
4925
+ "edit.display-add-related-feature": {
4926
+ "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.",
4927
+ "enum": [
4928
+ "edit.display-add-related-feature"
4929
+ ]
4930
+ },
4931
+ "edit.display-add-related-feature:input": {
4932
+ "$ref": "#/definitions/DisplayAddRelatedFeatureArgs"
4933
+ },
4824
4934
  "edit.display-update-feature": {
4825
4935
  "description": "Begin an interactive feature editing session with an existing feature. `DisplayUpdateFeatureArgs` is not supported on Mobile.",
4826
4936
  "enum": [
@@ -4878,6 +4988,18 @@
4878
4988
  }
4879
4989
  ]
4880
4990
  },
4991
+ "edit.update-gnss-metadata": {
4992
+ "description": "Automatically populates the well known GNSS attributes from the current location data. Examples of well known GNSS attributes are \"esrignss_longitude\" and \"esrignss_latitude\". The input feature argument may be null, in which case a new feature will be created. Returns the input feature, or a new feature if one was created.",
4993
+ "enum": [
4994
+ "edit.update-gnss-metadata"
4995
+ ]
4996
+ },
4997
+ "edit.update-gnss-metadata:input": {
4998
+ "$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
4999
+ },
5000
+ "edit.update-gnss-metadata:output": {
5001
+ "$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
5002
+ },
4881
5003
  "esri.Color": {
4882
5004
  "$ref": "esri/Color"
4883
5005
  },
@@ -16475,6 +16597,22 @@
16475
16597
  ],
16476
16598
  "type": "object"
16477
16599
  },
16600
+ {
16601
+ "additionalProperties": false,
16602
+ "properties": {
16603
+ "arguments": {
16604
+ "$ref": "#/definitions/edit.clear-gnss-metadata:input"
16605
+ },
16606
+ "name": {
16607
+ "$ref": "#/definitions/edit.clear-gnss-metadata"
16608
+ }
16609
+ },
16610
+ "required": [
16611
+ "name",
16612
+ "arguments"
16613
+ ],
16614
+ "type": "object"
16615
+ },
16478
16616
  {
16479
16617
  "additionalProperties": false,
16480
16618
  "properties": {
@@ -16523,6 +16661,22 @@
16523
16661
  ],
16524
16662
  "type": "object"
16525
16663
  },
16664
+ {
16665
+ "additionalProperties": false,
16666
+ "properties": {
16667
+ "arguments": {
16668
+ "$ref": "#/definitions/edit.display-add-related-feature:input"
16669
+ },
16670
+ "name": {
16671
+ "$ref": "#/definitions/edit.display-add-related-feature"
16672
+ }
16673
+ },
16674
+ "required": [
16675
+ "name",
16676
+ "arguments"
16677
+ ],
16678
+ "type": "object"
16679
+ },
16526
16680
  {
16527
16681
  "additionalProperties": false,
16528
16682
  "properties": {
@@ -18267,6 +18421,9 @@
18267
18421
  {
18268
18422
  "$ref": "#/definitions/edit.add-feature"
18269
18423
  },
18424
+ {
18425
+ "$ref": "#/definitions/edit.clear-gnss-metadata"
18426
+ },
18270
18427
  {
18271
18428
  "$ref": "#/definitions/edit.delete-attachment"
18272
18429
  },
@@ -18276,6 +18433,9 @@
18276
18433
  {
18277
18434
  "$ref": "#/definitions/edit.display-add-feature"
18278
18435
  },
18436
+ {
18437
+ "$ref": "#/definitions/edit.display-add-related-feature"
18438
+ },
18279
18439
  {
18280
18440
  "$ref": "#/definitions/edit.display-update-feature"
18281
18441
  },
@@ -18707,6 +18867,22 @@
18707
18867
  ],
18708
18868
  "type": "object"
18709
18869
  },
18870
+ {
18871
+ "additionalProperties": false,
18872
+ "properties": {
18873
+ "arguments": {
18874
+ "$ref": "#/definitions/edit.update-gnss-metadata:input"
18875
+ },
18876
+ "name": {
18877
+ "$ref": "#/definitions/edit.update-gnss-metadata"
18878
+ }
18879
+ },
18880
+ "required": [
18881
+ "name",
18882
+ "arguments"
18883
+ ],
18884
+ "type": "object"
18885
+ },
18710
18886
  {
18711
18887
  "additionalProperties": false,
18712
18888
  "properties": {
@@ -19410,6 +19586,9 @@
19410
19586
  {
19411
19587
  "$ref": "#/definitions/drawing.create-graphics"
19412
19588
  },
19589
+ {
19590
+ "$ref": "#/definitions/edit.update-gnss-metadata"
19591
+ },
19413
19592
  {
19414
19593
  "$ref": "#/definitions/file.pick-file"
19415
19594
  },
@@ -1942,7 +1942,7 @@
1942
1942
  },
1943
1943
  "DisplayAddFeatureArgs": {
1944
1944
  "additionalProperties": false,
1945
- "description": "Arguments for the \"edit.display-add-features\" command. Web only.",
1945
+ "description": "Arguments for the \"edit.display-add-feature\" command. Web only.",
1946
1946
  "properties": {
1947
1947
  "editAttachments": {
1948
1948
  "description": "Whether to allow editing of feature attachments.",
@@ -1964,7 +1964,7 @@
1964
1964
  "description": "A collection of attributes to apply to the new feature."
1965
1965
  },
1966
1966
  "fieldElements": {
1967
- "description": "A collection of configuration overrides for the editable fields.",
1967
+ "description": "A collection of configuration overrides for the editable fields. Web only.",
1968
1968
  "items": {
1969
1969
  "$ref": "__type"
1970
1970
  },
@@ -1972,7 +1972,7 @@
1972
1972
  },
1973
1973
  "formUITarget": {
1974
1974
  "$ref": "#/definitions/HasUITarget",
1975
- "description": "Arguments for the display of the attribute editing form."
1975
+ "description": "Arguments for the display of the attribute editing form. Web only."
1976
1976
  },
1977
1977
  "geometry": {
1978
1978
  "$ref": "#/definitions/GeometryLike",
@@ -2011,7 +2011,7 @@
2011
2011
  },
2012
2012
  "templateUITarget": {
2013
2013
  "$ref": "#/definitions/HasUITarget",
2014
- "description": "Arguments for the display of the template picker."
2014
+ "description": "Arguments for the display of the template picker. Web only."
2015
2015
  },
2016
2016
  "typeId": {
2017
2017
  "description": "A type id to use as a starting point for this feature. This may return one or more templates and requires a layer with types defined.",
@@ -2020,6 +2020,98 @@
2020
2020
  },
2021
2021
  "type": "object"
2022
2022
  },
2023
+ "DisplayAddRelatedFeatureArgs": {
2024
+ "additionalProperties": false,
2025
+ "description": "Arguments for the \"edit.display-add-related-feature\" command. A feature and a relationship ID are supplied as inputs instead of a layer.",
2026
+ "properties": {
2027
+ "editAttachments": {
2028
+ "description": "Whether to allow editing of feature attachments.",
2029
+ "type": "boolean"
2030
+ },
2031
+ "editAttributes": {
2032
+ "description": "Whether to allow editing of feature attributes.",
2033
+ "type": "boolean"
2034
+ },
2035
+ "editGeometry": {
2036
+ "description": "Whether to allow editing of feature geometry.",
2037
+ "type": "boolean"
2038
+ },
2039
+ "editGeometryOptions": {
2040
+ "$ref": "#/definitions/EditGeometryOptions",
2041
+ "description": "Options for the geometry editing session."
2042
+ },
2043
+ "featureAttributes": {
2044
+ "description": "A collection of attributes to apply to the new feature."
2045
+ },
2046
+ "features": {
2047
+ "$ref": "#/definitions/FeaturesLike",
2048
+ "description": "Features to use for the command/operation."
2049
+ },
2050
+ "fieldElements": {
2051
+ "description": "A collection of configuration overrides for the editable fields. Web only.",
2052
+ "items": {
2053
+ "$ref": "__type"
2054
+ },
2055
+ "type": "array"
2056
+ },
2057
+ "formUITarget": {
2058
+ "$ref": "#/definitions/HasUITarget",
2059
+ "description": "Arguments for the display of the attribute editing form. Web only."
2060
+ },
2061
+ "geometry": {
2062
+ "$ref": "#/definitions/GeometryLike",
2063
+ "description": "The geometry to use for the command/operation."
2064
+ },
2065
+ "maps": {
2066
+ "$ref": "MapsLike",
2067
+ "description": "Map(s) to use for the command/operation."
2068
+ },
2069
+ "orientation": {
2070
+ "description": "The orientation of the template picker. Defaults to \"vertical\".",
2071
+ "enum": [
2072
+ "horizontal",
2073
+ "vertical"
2074
+ ],
2075
+ "type": "string"
2076
+ },
2077
+ "pluginSettings": {
2078
+ "description": "Web only. 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."
2079
+ },
2080
+ "relatedFeatureSource": {
2081
+ "$ref": "@vertigis.arcgis-extensions.data.FeatureSource.FeatureSource",
2082
+ "description": "The feature source for the related feature to create. Mobile only."
2083
+ },
2084
+ "relationshipId": {
2085
+ "description": "The ID of the relationship to add a feature to.",
2086
+ "type": "string"
2087
+ },
2088
+ "showNotifications": {
2089
+ "description": "Whether to show UI notifications. Defaults to `true`.",
2090
+ "type": "boolean"
2091
+ },
2092
+ "showTitles": {
2093
+ "description": "Whether to show titles on the template picker. Defaults to `true`.",
2094
+ "type": "boolean"
2095
+ },
2096
+ "templateName": {
2097
+ "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.",
2098
+ "type": "string"
2099
+ },
2100
+ "templateUITarget": {
2101
+ "$ref": "#/definitions/HasUITarget",
2102
+ "description": "Arguments for the display of the template picker. Web only."
2103
+ },
2104
+ "typeId": {
2105
+ "description": "A type id to use as a starting point for this feature. This may return one or more templates and requires a layer with types defined.",
2106
+ "type": "string"
2107
+ }
2108
+ },
2109
+ "required": [
2110
+ "relatedFeatureSource",
2111
+ "relationshipId"
2112
+ ],
2113
+ "type": "object"
2114
+ },
2023
2115
  "DisplayBusyStateArgs": {
2024
2116
  "additionalProperties": false,
2025
2117
  "description": "Arguments for the \"ui.display-busy-state\" args.",
@@ -8538,6 +8630,15 @@
8538
8630
  }
8539
8631
  ]
8540
8632
  },
8633
+ "edit.display-add-related-feature": {
8634
+ "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.",
8635
+ "enum": [
8636
+ "edit.display-add-related-feature"
8637
+ ]
8638
+ },
8639
+ "edit.display-add-related-feature:input": {
8640
+ "$ref": "#/definitions/DisplayAddRelatedFeatureArgs"
8641
+ },
8541
8642
  "edit.display-update-feature": {
8542
8643
  "description": "Begin an interactive feature editing session with an existing feature. `DisplayUpdateFeatureArgs` is not supported on Mobile.",
8543
8644
  "enum": [
@@ -22340,6 +22441,22 @@
22340
22441
  ],
22341
22442
  "type": "object"
22342
22443
  },
22444
+ {
22445
+ "additionalProperties": false,
22446
+ "properties": {
22447
+ "arguments": {
22448
+ "$ref": "#/definitions/edit.display-add-related-feature:input"
22449
+ },
22450
+ "name": {
22451
+ "$ref": "#/definitions/edit.display-add-related-feature"
22452
+ }
22453
+ },
22454
+ "required": [
22455
+ "name",
22456
+ "arguments"
22457
+ ],
22458
+ "type": "object"
22459
+ },
22343
22460
  {
22344
22461
  "additionalProperties": false,
22345
22462
  "properties": {
@@ -24675,6 +24792,9 @@
24675
24792
  {
24676
24793
  "$ref": "#/definitions/edit.display-add-feature"
24677
24794
  },
24795
+ {
24796
+ "$ref": "#/definitions/edit.display-add-related-feature"
24797
+ },
24678
24798
  {
24679
24799
  "$ref": "#/definitions/edit.display-update-feature"
24680
24800
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vertigis/viewer-spec",
3
- "version": "56.14.0",
3
+ "version": "56.15.0",
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 = "56.14.0";
4
+ export declare const version = "56.15.0";
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 = "56.14.0";
4
+ export const version = "56.15.0";