@vertigis/viewer-spec 56.14.0 → 56.16.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")}}
@@ -3,12 +3,59 @@ import type Geometry from "@arcgis/core/geometry/Geometry";
3
3
  import type Point from "@arcgis/core/geometry/Point";
4
4
  import type SpatialReference from "@arcgis/core/geometry/SpatialReference";
5
5
  import type { FeatureSource } from "@vertigis/arcgis-extensions/data/FeatureSource";
6
+ import type { GeometryJsonType } from "@vertigis/arcgis-extensions/json/GeometryJson.js";
6
7
  import type { IdentifyOptions } from "@vertigis/arcgis-extensions/tasks/identify/IdentifyOptions";
7
8
  import type { Event } from "../Event.js";
8
9
  import { EventRegistry } from "../EventRegistry.js";
9
10
  import type { Operation } from "../Operation.js";
10
11
  import { OperationRegistry } from "../OperationRegistry.js";
11
- import type { Features, GeometryLike, MapsFeatureResultArgs, MapsLike } from "../common.js";
12
+ import type { Features, GeometryLike, LayerLike, MapsFeatureResultArgs, MapsLike } from "../common.js";
13
+ interface FilterSourcesBaseArgs {
14
+ /**
15
+ * The map from which to retrieve the sources. This argument will not be
16
+ * forwarded in the result of this operation.
17
+ */
18
+ maps?: MapsLike;
19
+ /**
20
+ * The sources to search in. This can be used in combination with the "maps"
21
+ * argument to search both.
22
+ */
23
+ sources?: FeatureSource[];
24
+ }
25
+ interface FilterSourcesBaseResult {
26
+ /**
27
+ * The filtered sources from the map and/or sources.
28
+ */
29
+ sources?: FeatureSource[];
30
+ /**
31
+ * The filtered layers from the map and/or sources.
32
+ */
33
+ layers?: LayerLike[];
34
+ }
35
+ /**
36
+ * Arguments for the "tasks.filter-sources.by-geometry-type" operation.
37
+ */
38
+ export interface FilterSourcesByGeometryTypeArgs extends FilterSourcesBaseArgs {
39
+ /**
40
+ * The geometry type to filter the sources by.
41
+ */
42
+ geometryType?: GeometryJsonType | GeometryJsonType[];
43
+ }
44
+ /**
45
+ * Result of the "tasks.filter-sources.by-geometry-type" operation.
46
+ */
47
+ export interface FilterSourcesByGeometryTypeResult extends FilterSourcesBaseResult {
48
+ }
49
+ /**
50
+ * Arguments for the "tasks.filter-sources.first-visible" operation.
51
+ */
52
+ export interface FilterSourcesFirstVisibleArgs extends FilterSourcesBaseArgs {
53
+ }
54
+ /**
55
+ * Result of the "tasks.filter-sources.first-visible" operation.
56
+ */
57
+ export interface FilterSourcesFirstVisibleResult extends FilterSourcesBaseResult {
58
+ }
12
59
  /**
13
60
  * Arguments for search operations.
14
61
  */
@@ -218,6 +265,7 @@ export declare class TasksEvents extends EventRegistry {
218
265
  get reverseGeocoded(): Event<MapsFeatureResultArgs>;
219
266
  }
220
267
  export declare class TasksOperations extends OperationRegistry {
268
+ readonly filterResults: FilterSourcesOperations;
221
269
  protected readonly _prefix = "tasks";
222
270
  /**
223
271
  * Returns features that intersect a given geometry.
@@ -255,3 +303,21 @@ export declare class TasksOperations extends OperationRegistry {
255
303
  */
256
304
  get supportsSearch(): Operation<FeatureSource, boolean>;
257
305
  }
306
+ declare class FilterSourcesOperations extends OperationRegistry {
307
+ readonly _prefix = "filterSources";
308
+ /**
309
+ * Returns FeatureSources that have a geometry type that matches the
310
+ * supplied type. Web only.
311
+ *
312
+ * @webOnly
313
+ */
314
+ get byGeometryType(): Operation<FilterSourcesByGeometryTypeArgs, FilterSourcesByGeometryTypeResult>;
315
+ /**
316
+ * Returns the first visible FeatureSource in the web map within the current
317
+ * scale range. Web only.
318
+ *
319
+ * @webOnly
320
+ */
321
+ get firstVisible(): Operation<FilterSourcesFirstVisibleArgs, FilterSourcesFirstVisibleResult>;
322
+ }
323
+ export {};
@@ -1 +1 @@
1
- import{EventRegistry as e}from"../EventRegistry.js";import{OperationRegistry as t}from"../OperationRegistry.js";export class TasksEvents extends e{constructor(){super(...arguments),this._prefix="tasks"}get identified(){return this._get("identified")}get reverseGeocoded(){return this._get("reverse-geocoded")}}export class TasksOperations extends t{constructor(){super(...arguments),this._prefix="tasks"}get identify(){return this._get("identify")}get supportsIdentify(){return this._get("supports-identify")}get query(){return this._get("query")}get supportsQuery(){return this._get("supports-query")}get search(){return this._get("search")}get supportsSearch(){return this._get("supports-search")}}
1
+ import{EventRegistry as e}from"../EventRegistry.js";import{OperationRegistry as t}from"../OperationRegistry.js";export class TasksEvents extends e{constructor(){super(...arguments),this._prefix="tasks"}get identified(){return this._get("identified")}get reverseGeocoded(){return this._get("reverse-geocoded")}}export class TasksOperations extends t{constructor(){super(...arguments),this.filterResults=new s(this._messages),this._prefix="tasks"}get identify(){return this._get("identify")}get supportsIdentify(){return this._get("supports-identify")}get query(){return this._get("query")}get supportsQuery(){return this._get("supports-query")}get search(){return this._get("search")}get supportsSearch(){return this._get("supports-search")}}class s extends t{constructor(){super(...arguments),this._prefix="filterSources"}get byGeometryType(){return this._get("by-geometry-type")}get firstVisible(){return this._get("first-visible")}}
@@ -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.",
@@ -2115,7 +2207,7 @@
2115
2207
  "type": "number"
2116
2208
  },
2117
2209
  "outFields": {
2118
- "description": "List of fields that should be returned that overrides the default out fields. Not supported in VertiGIS Studio Mobile.",
2210
+ "description": "List of fields that should be returned that overrides the default out fields. Not supported in VertiGIS Studio Mobile.",
2119
2211
  "items": {
2120
2212
  "type": "string"
2121
2213
  },
@@ -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.",
@@ -2609,7 +2701,7 @@
2609
2701
  "type": "number"
2610
2702
  },
2611
2703
  "outFields": {
2612
- "description": "List of fields that should be returned that overrides the default out fields. Not supported in VertiGIS Studio Mobile.",
2704
+ "description": "List of fields that should be returned that overrides the default out fields. Not supported in VertiGIS Studio Mobile.",
2613
2705
  "items": {
2614
2706
  "type": "string"
2615
2707
  },
@@ -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.",
@@ -3004,6 +3096,105 @@
3004
3096
  ],
3005
3097
  "type": "object"
3006
3098
  },
3099
+ "FilterSourcesByGeometryTypeArgs": {
3100
+ "additionalProperties": false,
3101
+ "description": "Arguments for the \"tasks.filter-sources.by-geometry-type\" operation.",
3102
+ "properties": {
3103
+ "geometryType": {
3104
+ "anyOf": [
3105
+ {
3106
+ "items": {
3107
+ "$ref": "#/definitions/esri.rest-api.GeometryJson.GeometryJsonType"
3108
+ },
3109
+ "type": "array"
3110
+ },
3111
+ {
3112
+ "enum": [
3113
+ "esriGeometryEnvelope",
3114
+ "esriGeometryMultipoint",
3115
+ "esriGeometryPoint",
3116
+ "esriGeometryPolygon",
3117
+ "esriGeometryPolyline"
3118
+ ],
3119
+ "type": "string"
3120
+ }
3121
+ ],
3122
+ "description": "The geometry type to filter the sources by."
3123
+ },
3124
+ "maps": {
3125
+ "$ref": "MapsLike",
3126
+ "description": "The map from which to retrieve the sources. This argument will not be forwarded in the result of this operation."
3127
+ },
3128
+ "sources": {
3129
+ "description": "The sources to search in. This can be used in combination with the \"maps\" argument to search both.",
3130
+ "items": {
3131
+ "$ref": "@vertigis.arcgis-extensions.data.FeatureSource.FeatureSource"
3132
+ },
3133
+ "type": "array"
3134
+ }
3135
+ },
3136
+ "type": "object"
3137
+ },
3138
+ "FilterSourcesByGeometryTypeResult": {
3139
+ "additionalProperties": false,
3140
+ "description": "Result of the \"tasks.filter-sources.by-geometry-type\" operation.",
3141
+ "properties": {
3142
+ "layers": {
3143
+ "description": "The filtered layers from the map and/or sources.",
3144
+ "items": {
3145
+ "$ref": "#/definitions/LayerLike"
3146
+ },
3147
+ "type": "array"
3148
+ },
3149
+ "sources": {
3150
+ "description": "The filtered sources from the map and/or sources.",
3151
+ "items": {
3152
+ "$ref": "@vertigis.arcgis-extensions.data.FeatureSource.FeatureSource"
3153
+ },
3154
+ "type": "array"
3155
+ }
3156
+ },
3157
+ "type": "object"
3158
+ },
3159
+ "FilterSourcesFirstVisibleArgs": {
3160
+ "additionalProperties": false,
3161
+ "description": "Arguments for the \"tasks.filter-sources.first-visible\" operation.",
3162
+ "properties": {
3163
+ "maps": {
3164
+ "$ref": "MapsLike",
3165
+ "description": "The map from which to retrieve the sources. This argument will not be forwarded in the result of this operation."
3166
+ },
3167
+ "sources": {
3168
+ "description": "The sources to search in. This can be used in combination with the \"maps\" argument to search both.",
3169
+ "items": {
3170
+ "$ref": "@vertigis.arcgis-extensions.data.FeatureSource.FeatureSource"
3171
+ },
3172
+ "type": "array"
3173
+ }
3174
+ },
3175
+ "type": "object"
3176
+ },
3177
+ "FilterSourcesFirstVisibleResult": {
3178
+ "additionalProperties": false,
3179
+ "description": "Result of the \"tasks.filter-sources.first-visible\" operation.",
3180
+ "properties": {
3181
+ "layers": {
3182
+ "description": "The filtered layers from the map and/or sources.",
3183
+ "items": {
3184
+ "$ref": "#/definitions/LayerLike"
3185
+ },
3186
+ "type": "array"
3187
+ },
3188
+ "sources": {
3189
+ "description": "The filtered sources from the map and/or sources.",
3190
+ "items": {
3191
+ "$ref": "@vertigis.arcgis-extensions.data.FeatureSource.FeatureSource"
3192
+ },
3193
+ "type": "array"
3194
+ }
3195
+ },
3196
+ "type": "object"
3197
+ },
3007
3198
  "FilterSpatialRelationship": {
3008
3199
  "description": "The spatial relationship for a filter effect.",
3009
3200
  "enum": [
@@ -4100,7 +4291,7 @@
4100
4291
  "type": "number"
4101
4292
  },
4102
4293
  "outFields": {
4103
- "description": "List of fields that should be returned that overrides the default out fields. Not supported in VertiGIS Studio Mobile.",
4294
+ "description": "List of fields that should be returned that overrides the default out fields. Not supported in VertiGIS Studio Mobile.",
4104
4295
  "items": {
4105
4296
  "type": "string"
4106
4297
  },
@@ -8538,6 +8729,15 @@
8538
8729
  }
8539
8730
  ]
8540
8731
  },
8732
+ "edit.display-add-related-feature": {
8733
+ "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.",
8734
+ "enum": [
8735
+ "edit.display-add-related-feature"
8736
+ ]
8737
+ },
8738
+ "edit.display-add-related-feature:input": {
8739
+ "$ref": "#/definitions/DisplayAddRelatedFeatureArgs"
8740
+ },
8541
8741
  "edit.display-update-feature": {
8542
8742
  "description": "Begin an interactive feature editing session with an existing feature. `DisplayUpdateFeatureArgs` is not supported on Mobile.",
8543
8743
  "enum": [
@@ -21684,6 +21884,30 @@
21684
21884
  },
21685
21885
  "type": "array"
21686
21886
  },
21887
+ "tasks.filter-results.by-geometry-type": {
21888
+ "description": "Returns FeatureSources that have a geometry type that matches the supplied type. Web only.",
21889
+ "enum": [
21890
+ "tasks.filter-results.by-geometry-type"
21891
+ ]
21892
+ },
21893
+ "tasks.filter-results.by-geometry-type:input": {
21894
+ "$ref": "#/definitions/FilterSourcesByGeometryTypeArgs"
21895
+ },
21896
+ "tasks.filter-results.by-geometry-type:output": {
21897
+ "$ref": "#/definitions/FilterSourcesByGeometryTypeResult"
21898
+ },
21899
+ "tasks.filter-results.first-visible": {
21900
+ "description": "Returns the first visible FeatureSource in the web map within the current scale range. Web only.",
21901
+ "enum": [
21902
+ "tasks.filter-results.first-visible"
21903
+ ]
21904
+ },
21905
+ "tasks.filter-results.first-visible:input": {
21906
+ "$ref": "#/definitions/FilterSourcesFirstVisibleArgs"
21907
+ },
21908
+ "tasks.filter-results.first-visible:output": {
21909
+ "$ref": "#/definitions/FilterSourcesFirstVisibleResult"
21910
+ },
21687
21911
  "tasks.identify": {
21688
21912
  "description": "Returns features that intersect a given geometry.",
21689
21913
  "enum": [
@@ -22340,6 +22564,22 @@
22340
22564
  ],
22341
22565
  "type": "object"
22342
22566
  },
22567
+ {
22568
+ "additionalProperties": false,
22569
+ "properties": {
22570
+ "arguments": {
22571
+ "$ref": "#/definitions/edit.display-add-related-feature:input"
22572
+ },
22573
+ "name": {
22574
+ "$ref": "#/definitions/edit.display-add-related-feature"
22575
+ }
22576
+ },
22577
+ "required": [
22578
+ "name",
22579
+ "arguments"
22580
+ ],
22581
+ "type": "object"
22582
+ },
22343
22583
  {
22344
22584
  "additionalProperties": false,
22345
22585
  "properties": {
@@ -24675,6 +24915,9 @@
24675
24915
  {
24676
24916
  "$ref": "#/definitions/edit.display-add-feature"
24677
24917
  },
24918
+ {
24919
+ "$ref": "#/definitions/edit.display-add-related-feature"
24920
+ },
24678
24921
  {
24679
24922
  "$ref": "#/definitions/edit.display-update-feature"
24680
24923
  },
@@ -26206,6 +26449,38 @@
26206
26449
  ],
26207
26450
  "type": "object"
26208
26451
  },
26452
+ {
26453
+ "additionalProperties": false,
26454
+ "properties": {
26455
+ "arguments": {
26456
+ "$ref": "#/definitions/tasks.filter-results.by-geometry-type:input"
26457
+ },
26458
+ "name": {
26459
+ "$ref": "#/definitions/tasks.filter-results.by-geometry-type"
26460
+ }
26461
+ },
26462
+ "required": [
26463
+ "name",
26464
+ "arguments"
26465
+ ],
26466
+ "type": "object"
26467
+ },
26468
+ {
26469
+ "additionalProperties": false,
26470
+ "properties": {
26471
+ "arguments": {
26472
+ "$ref": "#/definitions/tasks.filter-results.first-visible:input"
26473
+ },
26474
+ "name": {
26475
+ "$ref": "#/definitions/tasks.filter-results.first-visible"
26476
+ }
26477
+ },
26478
+ "required": [
26479
+ "name",
26480
+ "arguments"
26481
+ ],
26482
+ "type": "object"
26483
+ },
26209
26484
  {
26210
26485
  "additionalProperties": false,
26211
26486
  "properties": {
@@ -26609,6 +26884,12 @@
26609
26884
  {
26610
26885
  "$ref": "#/definitions/system.read-url"
26611
26886
  },
26887
+ {
26888
+ "$ref": "#/definitions/tasks.filter-results.by-geometry-type"
26889
+ },
26890
+ {
26891
+ "$ref": "#/definitions/tasks.filter-results.first-visible"
26892
+ },
26612
26893
  {
26613
26894
  "$ref": "#/definitions/tasks.identify"
26614
26895
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vertigis/viewer-spec",
3
- "version": "56.14.0",
3
+ "version": "56.16.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.16.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.16.0";