@vertigis/viewer-spec 56.18.0 → 56.19.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.
|
@@ -17,7 +17,7 @@ import type { Event } from "../Event.js";
|
|
|
17
17
|
import { EventRegistry } from "../EventRegistry.js";
|
|
18
18
|
import type { Operation } from "../Operation.js";
|
|
19
19
|
import { OperationRegistry } from "../OperationRegistry.js";
|
|
20
|
-
import type { Blob, Features, FeaturesLike, File, GraphicsLike, HasFeatures, HasFiles, MapsLike, ModelRef } from "../common.js";
|
|
20
|
+
import type { Blob, Features, FeaturesLike, File, GraphicsLike, HasFeatures, HasFiles, Layers, MapsLike, ModelRef } from "../common.js";
|
|
21
21
|
import type { VisualElement } from "../mobile.js";
|
|
22
22
|
/**
|
|
23
23
|
* Well known Results Set Ids.
|
|
@@ -264,6 +264,36 @@ export interface SetListViewModeArgs {
|
|
|
264
264
|
*/
|
|
265
265
|
results?: ModelRef;
|
|
266
266
|
}
|
|
267
|
+
/**
|
|
268
|
+
* Arguments for the "results.activate-group" command.
|
|
269
|
+
*/
|
|
270
|
+
export interface ActivateResultGroupArgs {
|
|
271
|
+
/**
|
|
272
|
+
* The layer to activate the corresponding group for in the results
|
|
273
|
+
* component. If more than one layer is included, only the first item in the
|
|
274
|
+
* array will be used. One of `sources` or `layers` is required. If both are
|
|
275
|
+
* specified, `sources` will take precedence. Web only.
|
|
276
|
+
*
|
|
277
|
+
* @webOnly
|
|
278
|
+
*/
|
|
279
|
+
layers?: Layers;
|
|
280
|
+
/**
|
|
281
|
+
* An array of sources to activate the corresponding group for in the
|
|
282
|
+
* results component. Only the first item in the array will be used. One of
|
|
283
|
+
* `sources` or `layers` is required. If both are specified, `sources` will
|
|
284
|
+
* take precedence. Web only.
|
|
285
|
+
*
|
|
286
|
+
* @webOnly
|
|
287
|
+
*/
|
|
288
|
+
sources?: FeatureSource[];
|
|
289
|
+
/**
|
|
290
|
+
* The result component to update, referenced by results model or its ID.
|
|
291
|
+
* Web only.
|
|
292
|
+
*
|
|
293
|
+
* @webOnly
|
|
294
|
+
*/
|
|
295
|
+
results?: ModelRef;
|
|
296
|
+
}
|
|
267
297
|
/**
|
|
268
298
|
* Arguments for the "results.set-list-card-size" command.
|
|
269
299
|
*/
|
|
@@ -345,6 +375,13 @@ export declare class ResultsCommands extends CommandRegistry {
|
|
|
345
375
|
* @webOnly
|
|
346
376
|
*/
|
|
347
377
|
get activateDisplayComponents(): Command<void>;
|
|
378
|
+
/**
|
|
379
|
+
* Activates the group with the specified layerId in the results component.
|
|
380
|
+
* Web only.
|
|
381
|
+
*
|
|
382
|
+
* @webOnly
|
|
383
|
+
*/
|
|
384
|
+
get activateGroup(): Command<ActivateResultGroupArgs>;
|
|
348
385
|
/**
|
|
349
386
|
* Presents features to the user within any components that can display
|
|
350
387
|
* features, such as a feature list, feature table, or feature details
|
|
@@ -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{constructor(){super(...arguments),this._prefix="results"}get activateDisplayComponents(){return this._get("activate-display-components")}get display(){return this._get("display")}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{constructor(){super(...arguments),this._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{constructor(){super(...arguments),this._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 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{constructor(){super(...arguments),this._prefix="results"}get activateDisplayComponents(){return this._get("activate-display-components")}get activateGroup(){return this._get("activate-group")}get display(){return this._get("display")}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{constructor(){super(...arguments),this._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{constructor(){super(...arguments),this._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 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")}}
|
|
@@ -802,6 +802,28 @@
|
|
|
802
802
|
],
|
|
803
803
|
"description": "A reference to a portal item."
|
|
804
804
|
},
|
|
805
|
+
"ActivateResultGroupArgs": {
|
|
806
|
+
"additionalProperties": false,
|
|
807
|
+
"description": "Arguments for the \"results.activate-group\" command.",
|
|
808
|
+
"properties": {
|
|
809
|
+
"layers": {
|
|
810
|
+
"$ref": "#/definitions/Layers",
|
|
811
|
+
"description": "The layer to activate the corresponding group for in the results component. If more than one layer is included, only the first item in the array will be used. One of `sources` or `layers` is required. If both are specified, `sources` will take precedence. Web only."
|
|
812
|
+
},
|
|
813
|
+
"results": {
|
|
814
|
+
"$ref": "#/definitions/ModelRef",
|
|
815
|
+
"description": "The result component to update, referenced by results model or its ID. Web only."
|
|
816
|
+
},
|
|
817
|
+
"sources": {
|
|
818
|
+
"description": "An array of sources to activate the corresponding group for in the results component. Only the first item in the array will be used. One of `sources` or `layers` is required. If both are specified, `sources` will take precedence. Web only.",
|
|
819
|
+
"items": {
|
|
820
|
+
"$ref": "@vertigis.arcgis-extensions.data.FeatureSource.FeatureSource"
|
|
821
|
+
},
|
|
822
|
+
"type": "array"
|
|
823
|
+
}
|
|
824
|
+
},
|
|
825
|
+
"type": "object"
|
|
826
|
+
},
|
|
805
827
|
"AddAttachmentArgs": {
|
|
806
828
|
"additionalProperties": false,
|
|
807
829
|
"description": "Arguments for the \"edit.add-attachment\" command. Supported by both Web and Mobile.",
|
|
@@ -20767,6 +20789,15 @@
|
|
|
20767
20789
|
"results.activate-display-components"
|
|
20768
20790
|
]
|
|
20769
20791
|
},
|
|
20792
|
+
"results.activate-group": {
|
|
20793
|
+
"description": "Activates the group with the specified layerId in the results component. Web only.",
|
|
20794
|
+
"enum": [
|
|
20795
|
+
"results.activate-group"
|
|
20796
|
+
]
|
|
20797
|
+
},
|
|
20798
|
+
"results.activate-group:input": {
|
|
20799
|
+
"$ref": "#/definitions/ActivateResultGroupArgs"
|
|
20800
|
+
},
|
|
20770
20801
|
"results.add": {
|
|
20771
20802
|
"description": "Adds features to a currently shown set of features.",
|
|
20772
20803
|
"enum": [
|
|
@@ -24168,6 +24199,22 @@
|
|
|
24168
24199
|
],
|
|
24169
24200
|
"type": "object"
|
|
24170
24201
|
},
|
|
24202
|
+
{
|
|
24203
|
+
"additionalProperties": false,
|
|
24204
|
+
"properties": {
|
|
24205
|
+
"arguments": {
|
|
24206
|
+
"$ref": "#/definitions/results.activate-group:input"
|
|
24207
|
+
},
|
|
24208
|
+
"name": {
|
|
24209
|
+
"$ref": "#/definitions/results.activate-group"
|
|
24210
|
+
}
|
|
24211
|
+
},
|
|
24212
|
+
"required": [
|
|
24213
|
+
"name",
|
|
24214
|
+
"arguments"
|
|
24215
|
+
],
|
|
24216
|
+
"type": "object"
|
|
24217
|
+
},
|
|
24171
24218
|
{
|
|
24172
24219
|
"additionalProperties": false,
|
|
24173
24220
|
"properties": {
|
|
@@ -25228,6 +25275,9 @@
|
|
|
25228
25275
|
{
|
|
25229
25276
|
"$ref": "#/definitions/results.activate-display-components"
|
|
25230
25277
|
},
|
|
25278
|
+
{
|
|
25279
|
+
"$ref": "#/definitions/results.activate-group"
|
|
25280
|
+
},
|
|
25231
25281
|
{
|
|
25232
25282
|
"$ref": "#/definitions/results.add"
|
|
25233
25283
|
},
|
package/package.json
CHANGED
package/version.d.ts
CHANGED
package/version.js
CHANGED