@vertigis/viewer-spec 61.7.0 → 61.8.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.
@@ -64,6 +64,15 @@ export interface ToCsvConversionArgs extends ToCsvOptions {
64
64
  */
65
65
  features: Features;
66
66
  }
67
+ /**
68
+ * Arguments for the "results.convert-to-gpx" operation.
69
+ */
70
+ export interface ToGpxConversionArgs {
71
+ /**
72
+ * The feature(s) to convert.
73
+ */
74
+ features: Features;
75
+ }
67
76
  /**
68
77
  * Arguments for the "results.upload-data-args-to-feature" operation.
69
78
  */
@@ -578,6 +587,14 @@ export declare class ResultsOperations extends OperationRegistry {
578
587
  * @webOnly
579
588
  */
580
589
  get convertToCsv(): Operation<ToCsvConversionArgs | Features, ConversionResult>;
590
+ /**
591
+ * Converts the provided Feature(s) to a CSV file grouped by feature source.
592
+ * If there are multiple sources the CSV(s) will be bundled in a zip file.
593
+ * Web only.
594
+ *
595
+ * @webOnly
596
+ */
597
+ get convertToGpx(): Operation<ToGpxConversionArgs | Features, ConversionResult>;
581
598
  /**
582
599
  * Converts the provided Feature(s) to a XLSX file grouped by feature
583
600
  * source. If there are multiple sources the XLSX(s) will be bundled in a
@@ -1 +1 @@
1
- import{CommandRegistry as t}from"../CommandRegistry.js";import{EventRegistry as e}from"../EventRegistry.js";import{OperationRegistry as r}from"../OperationRegistry.js";export var KnownResultSetIds;!function(t){t.STARRED="vgs-starred"}(KnownResultSetIds||(KnownResultSetIds={}));export class ResultsCommands extends t{_prefix="results";get activateDisplayComponents(){return this._get("activate-display-components")}get activateGroup(){return this._get("activate-group")}get display(){return this._get("display")}get setActiveFeature(){return this._get("set-active-feature")}get setDisplayComponents(){return this._get("set-display-components")}get displayDetails(){return this._get("display-details")}get displaySummary(){return this._get("display-summary")}get displayNewDetails(){return this._get("display-new-details")}get add(){return this._get("add")}get intersect(){return this._get("intersect")}get remove(){return this._get("remove")}get replace(){return this._get("replace")}get clear(){return this._get("clear")}get clearDetails(){return this._get("clear-details")}get hideDetails(){return this._get("hide-details")}get openAttachment(){return this._get("open-attachment")}get refresh(){return this._get("refresh")}get setListViewMode(){return this._get("set-list-view-mode")}get setListCardSize(){return this._get("set-list-card-size")}}export class ResultsEvents extends e{_prefix="results";get changed(){return this._get("changed")}get displayed(){return this._get("displayed")}get attachmentOpened(){return this._get("attachment-opened")}get detailsShown(){return this._get("details-shown")}get relatedDetailsShown(){return this._get("related-details-shown")}}export class ResultsOperations extends r{_prefix="results";get configureUploadData(){return this._get("configure-upload-data")}get contains(){return this._get("contains")}get convertToCsv(){return this._get("convert-to-csv")}get convertToXlsx(){return this._get("convert-to-xlsx")}get convertToShapefile(){return this._get("convert-to-shapefile")}get convertToLayers(){return this._get("convert-to-layers")}get fromCsv(){return this._get("from-csv")}get fromFiles(){return this._get("from-files")}get getActiveFeatures(){return this._get("get-active-features")}get uploadDataFromFiles(){return this._get("upload-data-from-files")}get uploadDataToFeatures(){return this._get("upload-data-to-features")}get fromShapefile(){return this._get("from-shapefile")}get fromXlsx(){return this._get("from-xlsx")}get fromGraphics(){return this._get("from-graphics")}get toGraphics(){return this._get("to-graphics")}get getFeatures(){return this._get("get-features")}get filter(){return this._get("filter")}}
1
+ import{CommandRegistry as t}from"../CommandRegistry.js";import{EventRegistry as e}from"../EventRegistry.js";import{OperationRegistry as r}from"../OperationRegistry.js";export var KnownResultSetIds;!function(t){t.STARRED="vgs-starred"}(KnownResultSetIds||(KnownResultSetIds={}));export class ResultsCommands extends t{_prefix="results";get activateDisplayComponents(){return this._get("activate-display-components")}get activateGroup(){return this._get("activate-group")}get display(){return this._get("display")}get setActiveFeature(){return this._get("set-active-feature")}get setDisplayComponents(){return this._get("set-display-components")}get displayDetails(){return this._get("display-details")}get displaySummary(){return this._get("display-summary")}get displayNewDetails(){return this._get("display-new-details")}get add(){return this._get("add")}get intersect(){return this._get("intersect")}get remove(){return this._get("remove")}get replace(){return this._get("replace")}get clear(){return this._get("clear")}get clearDetails(){return this._get("clear-details")}get hideDetails(){return this._get("hide-details")}get openAttachment(){return this._get("open-attachment")}get refresh(){return this._get("refresh")}get setListViewMode(){return this._get("set-list-view-mode")}get setListCardSize(){return this._get("set-list-card-size")}}export class ResultsEvents extends e{_prefix="results";get changed(){return this._get("changed")}get displayed(){return this._get("displayed")}get attachmentOpened(){return this._get("attachment-opened")}get detailsShown(){return this._get("details-shown")}get relatedDetailsShown(){return this._get("related-details-shown")}}export class ResultsOperations extends r{_prefix="results";get configureUploadData(){return this._get("configure-upload-data")}get contains(){return this._get("contains")}get convertToCsv(){return this._get("convert-to-csv")}get convertToGpx(){return this._get("convert-to-gpx")}get convertToXlsx(){return this._get("convert-to-xlsx")}get convertToShapefile(){return this._get("convert-to-shapefile")}get convertToLayers(){return this._get("convert-to-layers")}get fromCsv(){return this._get("from-csv")}get fromFiles(){return this._get("from-files")}get getActiveFeatures(){return this._get("get-active-features")}get uploadDataFromFiles(){return this._get("upload-data-from-files")}get uploadDataToFeatures(){return this._get("upload-data-to-features")}get fromShapefile(){return this._get("from-shapefile")}get fromXlsx(){return this._get("from-xlsx")}get fromGraphics(){return this._get("from-graphics")}get toGraphics(){return this._get("to-graphics")}get getFeatures(){return this._get("get-features")}get filter(){return this._get("filter")}}
@@ -11102,6 +11102,20 @@
11102
11102
  ],
11103
11103
  "type": "object"
11104
11104
  },
11105
+ "ToGpxConversionArgs": {
11106
+ "additionalProperties": false,
11107
+ "description": "Arguments for the \"results.convert-to-gpx\" operation.",
11108
+ "properties": {
11109
+ "features": {
11110
+ "$ref": "#/definitions/Features",
11111
+ "description": "The feature(s) to convert."
11112
+ }
11113
+ },
11114
+ "required": [
11115
+ "features"
11116
+ ],
11117
+ "type": "object"
11118
+ },
11105
11119
  "ToShapefileConversionArgs": {
11106
11120
  "additionalProperties": false,
11107
11121
  "description": "Arguments for the \"results.convert-to-shapefile\" operation.",
@@ -27198,6 +27212,50 @@
27198
27212
  "results.convert-to-csv:output": {
27199
27213
  "$ref": "#/definitions/ConversionResult"
27200
27214
  },
27215
+ "results.convert-to-gpx": {
27216
+ "description": "Converts the provided Feature(s) to a CSV file grouped by feature source. If there are multiple sources the CSV(s) will be bundled in a zip file. Web only.",
27217
+ "enum": [
27218
+ "results.convert-to-gpx"
27219
+ ]
27220
+ },
27221
+ "results.convert-to-gpx:input": {
27222
+ "anyOf": [
27223
+ {
27224
+ "$ref": "T_13"
27225
+ },
27226
+ {
27227
+ "$ref": "@vertigis.arcgis-extensions.data.FeatureSet.FeatureSet"
27228
+ },
27229
+ {
27230
+ "$ref": "@vertigis.arcgis-extensions.data.FeatureList.FeatureList"
27231
+ },
27232
+ {
27233
+ "$ref": "@vertigis.arcgis-extensions.data.FeatureStream.FeatureStream"
27234
+ },
27235
+ {
27236
+ "items": {
27237
+ "anyOf": [
27238
+ {
27239
+ "$ref": "@vertigis.arcgis-extensions.data.Feature.FeatureProperties"
27240
+ },
27241
+ {
27242
+ "$ref": "T_13"
27243
+ }
27244
+ ]
27245
+ },
27246
+ "type": "array"
27247
+ },
27248
+ {
27249
+ "$ref": "#/definitions/Results"
27250
+ },
27251
+ {
27252
+ "$ref": "ToGpxConversionArgs"
27253
+ }
27254
+ ]
27255
+ },
27256
+ "results.convert-to-gpx:output": {
27257
+ "$ref": "#/definitions/ConversionResult"
27258
+ },
27201
27259
  "results.convert-to-layers": {
27202
27260
  "description": "Creates layer(s) from the specified features. Web only.",
27203
27261
  "enum": [
@@ -32818,6 +32876,22 @@
32818
32876
  ],
32819
32877
  "type": "object"
32820
32878
  },
32879
+ {
32880
+ "additionalProperties": false,
32881
+ "properties": {
32882
+ "arguments": {
32883
+ "$ref": "#/definitions/results.convert-to-gpx:input"
32884
+ },
32885
+ "name": {
32886
+ "$ref": "#/definitions/results.convert-to-gpx"
32887
+ }
32888
+ },
32889
+ "required": [
32890
+ "name",
32891
+ "arguments"
32892
+ ],
32893
+ "type": "object"
32894
+ },
32821
32895
  {
32822
32896
  "additionalProperties": false,
32823
32897
  "properties": {
@@ -33700,6 +33774,9 @@
33700
33774
  {
33701
33775
  "$ref": "#/definitions/results.convert-to-csv"
33702
33776
  },
33777
+ {
33778
+ "$ref": "#/definitions/results.convert-to-gpx"
33779
+ },
33703
33780
  {
33704
33781
  "$ref": "#/definitions/results.convert-to-layers"
33705
33782
  },
@@ -180,6 +180,105 @@ ToCsvConversionArgs properties:
180
180
 
181
181
  Outputs: `ConversionResult`
182
182
 
183
+ ---
184
+ # operation: results.convert-to-gpx
185
+ Description: Converts the provided Feature(s) to a CSV file grouped by feature source. If there are multiple sources the CSV(s) will be bundled in a zip file. Web only.
186
+
187
+ Inputs: `( @vertigis.api-docs.Features FeatureSet|FeatureList|FeatureStream | T_13 | ( @vertigis.arcgis-extensions.data.Feature.FeatureProperties | T_13 )[] | Results | ToGpxConversionArgs )`
188
+
189
+ @vertigis.arcgis-extensions.data.Feature.FeatureProperties properties:
190
+ ```json
191
+ {
192
+ "attributes": {
193
+ "anyOf": [
194
+ {},
195
+ {
196
+ "$ref": "Map"
197
+ }
198
+ ],
199
+ "description": "The feature's attributes, keyed by field name."
200
+ },
201
+ "failureMode": {
202
+ "description": "See {@link support /InitializableBase!InitializableBase.failureMode}."
203
+ },
204
+ "geometry": {
205
+ "anyOf": [
206
+ {
207
+ "$ref": "#/definitions/@arcgis.core.geometry.Extent.Extent"
208
+ },
209
+ {
210
+ "$ref": "#/definitions/@arcgis.core.geometry.Multipoint.Multipoint"
211
+ },
212
+ {
213
+ "$ref": "#/definitions/@arcgis.core.geometry.Point.Point"
214
+ },
215
+ {
216
+ "$ref": "T_6"
217
+ },
218
+ {
219
+ "$ref": "#/definitions/@arcgis.core.geometry.Polyline.Polyline"
220
+ },
221
+ {
222
+ "$ref": "#/definitions/@arcgis.core.geometry.Mesh.Mesh"
223
+ },
224
+ {
225
+ "$ref": "#/definitions/esri.rest-api.GeometryJson.PointJson"
226
+ },
227
+ {
228
+ "$ref": "#/definitions/esri.rest-api.GeometryJson.MultipointJson"
229
+ },
230
+ {
231
+ "$ref": "#/definitions/esri.rest-api.GeometryJson.PolylineJson"
232
+ },
233
+ {
234
+ "$ref": "#/definitions/esri.rest-api.GeometryJson.PolygonJson"
235
+ },
236
+ {
237
+ "$ref": "#/definitions/esri.rest-api.GeometryJson.ExtentJson"
238
+ }
239
+ ],
240
+ "description": "The feature's geometry."
241
+ },
242
+ "id": {
243
+ "description": "The unique ID to assign to the entity. If not specified, one will be generated.",
244
+ "type": "string"
245
+ },
246
+ "schema": {
247
+ "description": "Metadata about the feature, such as fields, domains, geometry type, etc."
248
+ },
249
+ "settings": {
250
+ "description": "Settings for this feature."
251
+ },
252
+ "source": {
253
+ "description": "The source of the feature."
254
+ }
255
+ }
256
+ ```
257
+
258
+ Results properties:
259
+ ```json
260
+ {
261
+ "features": {
262
+ "description": "Features to use for the command/operation."
263
+ },
264
+ "maps": {
265
+ "description": "Map(s) to use for the command/operation."
266
+ }
267
+ }
268
+ ```
269
+
270
+ ToGpxConversionArgs properties:
271
+ ```json
272
+ {
273
+ "features": {
274
+ "description": "The feature(s) to convert.",
275
+ "isRequired": "true"
276
+ }
277
+ }
278
+ ```
279
+
280
+ Outputs: `ConversionResult`
281
+
183
282
  ---
184
283
  # operation: results.convert-to-layers
185
284
  Description: Creates layer(s) from the specified features. Web only.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vertigis/viewer-spec",
3
- "version": "61.7.0",
3
+ "version": "61.8.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 = "61.7.0";
4
+ export declare const version = "61.8.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 = "61.7.0";
4
+ export const version = "61.8.0";