@vertigis/viewer-spec 56.21.0 → 56.22.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.
|
@@ -344,6 +344,23 @@ export interface SetDisplayComponentArgs {
|
|
|
344
344
|
*/
|
|
345
345
|
results?: ModelRef;
|
|
346
346
|
}
|
|
347
|
+
/**
|
|
348
|
+
* Arguments for the "results.set-active-feature" command.
|
|
349
|
+
*/
|
|
350
|
+
export interface SetActiveFeatureArgs {
|
|
351
|
+
/**
|
|
352
|
+
* The feature to set as active in the results component, if it exists. If
|
|
353
|
+
* multiple features are specified, only the first will be set as active.
|
|
354
|
+
*/
|
|
355
|
+
features: Features;
|
|
356
|
+
/**
|
|
357
|
+
* The result component to update, referenced by results model or its ID.
|
|
358
|
+
* Web only.
|
|
359
|
+
*
|
|
360
|
+
* @webOnly
|
|
361
|
+
*/
|
|
362
|
+
results?: ModelRef;
|
|
363
|
+
}
|
|
347
364
|
/**
|
|
348
365
|
* Event args for attachment events.
|
|
349
366
|
*/
|
|
@@ -390,6 +407,16 @@ export declare class ResultsCommands extends CommandRegistry {
|
|
|
390
407
|
* only).
|
|
391
408
|
*/
|
|
392
409
|
get display(): Command<Features | UpdateResultsFeaturesArgs>;
|
|
410
|
+
/**
|
|
411
|
+
* Sets the active feature for a particular results component specified by
|
|
412
|
+
* the `results` arg. Or, if the `results` arg is not defined, sets the
|
|
413
|
+
* active feature for all results components. Note that each results
|
|
414
|
+
* component can only have one active feature at a time, but the active
|
|
415
|
+
* feature can differ between different results components. Web only.
|
|
416
|
+
*
|
|
417
|
+
* @webOnly
|
|
418
|
+
*/
|
|
419
|
+
get setActiveFeature(): Command<SetActiveFeatureArgs>;
|
|
393
420
|
/**
|
|
394
421
|
* Sets the selector, using CSS selector syntax, which queries for results
|
|
395
422
|
* components in the app layout XML, such as the Results List or Results
|
|
@@ -584,6 +611,16 @@ export declare class ResultsOperations extends OperationRegistry {
|
|
|
584
611
|
* @webOnly
|
|
585
612
|
*/
|
|
586
613
|
get fromFiles(): Operation<FromConverterArgs | File[], Features>;
|
|
614
|
+
/**
|
|
615
|
+
* Returns the current active feature from a specific results component if
|
|
616
|
+
* model ID or model is specified, otherwise returns all active features
|
|
617
|
+
* from all results components. Note that each results component can only
|
|
618
|
+
* have one active feature at a time, but the active feature can differ
|
|
619
|
+
* between different results components. Web only.
|
|
620
|
+
*
|
|
621
|
+
* @webOnly
|
|
622
|
+
*/
|
|
623
|
+
get getActiveFeatures(): Operation<ModelRef | void, Features | undefined>;
|
|
587
624
|
/**
|
|
588
625
|
* Convert the specified csv, xlsx or shapefile files to args that can be
|
|
589
626
|
* used to create Features. Web only.
|
|
@@ -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 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")}}
|
|
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 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{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 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")}}
|
|
@@ -6101,6 +6101,24 @@
|
|
|
6101
6101
|
],
|
|
6102
6102
|
"type": "object"
|
|
6103
6103
|
},
|
|
6104
|
+
"SetActiveFeatureArgs": {
|
|
6105
|
+
"additionalProperties": false,
|
|
6106
|
+
"description": "Arguments for the \"results.set-active-feature\" command.",
|
|
6107
|
+
"properties": {
|
|
6108
|
+
"features": {
|
|
6109
|
+
"$ref": "#/definitions/Features",
|
|
6110
|
+
"description": "The feature to set as active in the results component, if it exists. If multiple features are specified, only the first will be set as active."
|
|
6111
|
+
},
|
|
6112
|
+
"results": {
|
|
6113
|
+
"$ref": "#/definitions/ModelRef",
|
|
6114
|
+
"description": "The result component to update, referenced by results model or its ID. Web only."
|
|
6115
|
+
}
|
|
6116
|
+
},
|
|
6117
|
+
"required": [
|
|
6118
|
+
"features"
|
|
6119
|
+
],
|
|
6120
|
+
"type": "object"
|
|
6121
|
+
},
|
|
6104
6122
|
"SetActivePointsArgs": {
|
|
6105
6123
|
"additionalProperties": false,
|
|
6106
6124
|
"description": "The arguments for the \"sketching.set-active-points\" command.",
|
|
@@ -21432,6 +21450,28 @@
|
|
|
21432
21450
|
"results.from-xlsx:output": {
|
|
21433
21451
|
"$ref": "#/definitions/Features"
|
|
21434
21452
|
},
|
|
21453
|
+
"results.get-active-features": {
|
|
21454
|
+
"description": "Returns the current active feature from a specific results component if model ID or model is specified, otherwise returns all active features from all results components. Note that each results component can only have one active feature at a time, but the active feature can differ between different results components. Web only.",
|
|
21455
|
+
"enum": [
|
|
21456
|
+
"results.get-active-features"
|
|
21457
|
+
]
|
|
21458
|
+
},
|
|
21459
|
+
"results.get-active-features:input": {
|
|
21460
|
+
"anyOf": [
|
|
21461
|
+
{
|
|
21462
|
+
"$ref": "#/definitions/Model"
|
|
21463
|
+
},
|
|
21464
|
+
{
|
|
21465
|
+
"type": [
|
|
21466
|
+
"string",
|
|
21467
|
+
"null"
|
|
21468
|
+
]
|
|
21469
|
+
}
|
|
21470
|
+
]
|
|
21471
|
+
},
|
|
21472
|
+
"results.get-active-features:output": {
|
|
21473
|
+
"$ref": "#/definitions/Features"
|
|
21474
|
+
},
|
|
21435
21475
|
"results.get-features": {
|
|
21436
21476
|
"description": "Returns the current set of features from a specific results component if a model or model ID is specified, otherwise from all results components. Web only.",
|
|
21437
21477
|
"enum": [
|
|
@@ -21484,6 +21524,15 @@
|
|
|
21484
21524
|
"results.replace:input": {
|
|
21485
21525
|
"$ref": "#/definitions/ShowResultsArgs"
|
|
21486
21526
|
},
|
|
21527
|
+
"results.set-active-feature": {
|
|
21528
|
+
"description": "Sets the active feature for a particular results component specified by the `results` arg. Or, if the `results` arg is not defined, sets the active feature for all results components. Note that each results component can only have one active feature at a time, but the active feature can differ between different results components. Web only.",
|
|
21529
|
+
"enum": [
|
|
21530
|
+
"results.set-active-feature"
|
|
21531
|
+
]
|
|
21532
|
+
},
|
|
21533
|
+
"results.set-active-feature:input": {
|
|
21534
|
+
"$ref": "#/definitions/SetActiveFeatureArgs"
|
|
21535
|
+
},
|
|
21487
21536
|
"results.set-display-components": {
|
|
21488
21537
|
"description": "Sets the selector, using CSS selector syntax, which queries for results components in the app layout XML, such as the Results List or Results Table components. The selector is used to determine which components will be activated when displaying results using `results.display`. All other components that do not match the selector are deactivated after running this command. Web only.",
|
|
21489
21538
|
"enum": [
|
|
@@ -24448,6 +24497,22 @@
|
|
|
24448
24497
|
],
|
|
24449
24498
|
"type": "object"
|
|
24450
24499
|
},
|
|
24500
|
+
{
|
|
24501
|
+
"additionalProperties": false,
|
|
24502
|
+
"properties": {
|
|
24503
|
+
"arguments": {
|
|
24504
|
+
"$ref": "#/definitions/results.set-active-feature:input"
|
|
24505
|
+
},
|
|
24506
|
+
"name": {
|
|
24507
|
+
"$ref": "#/definitions/results.set-active-feature"
|
|
24508
|
+
}
|
|
24509
|
+
},
|
|
24510
|
+
"required": [
|
|
24511
|
+
"name",
|
|
24512
|
+
"arguments"
|
|
24513
|
+
],
|
|
24514
|
+
"type": "object"
|
|
24515
|
+
},
|
|
24451
24516
|
{
|
|
24452
24517
|
"additionalProperties": false,
|
|
24453
24518
|
"properties": {
|
|
@@ -25394,6 +25459,9 @@
|
|
|
25394
25459
|
{
|
|
25395
25460
|
"$ref": "#/definitions/results.replace"
|
|
25396
25461
|
},
|
|
25462
|
+
{
|
|
25463
|
+
"$ref": "#/definitions/results.set-active-feature"
|
|
25464
|
+
},
|
|
25397
25465
|
{
|
|
25398
25466
|
"$ref": "#/definitions/results.set-display-components"
|
|
25399
25467
|
},
|
|
@@ -26320,6 +26388,22 @@
|
|
|
26320
26388
|
],
|
|
26321
26389
|
"type": "object"
|
|
26322
26390
|
},
|
|
26391
|
+
{
|
|
26392
|
+
"additionalProperties": false,
|
|
26393
|
+
"properties": {
|
|
26394
|
+
"arguments": {
|
|
26395
|
+
"$ref": "#/definitions/results.get-active-features:input"
|
|
26396
|
+
},
|
|
26397
|
+
"name": {
|
|
26398
|
+
"$ref": "#/definitions/results.get-active-features"
|
|
26399
|
+
}
|
|
26400
|
+
},
|
|
26401
|
+
"required": [
|
|
26402
|
+
"name",
|
|
26403
|
+
"arguments"
|
|
26404
|
+
],
|
|
26405
|
+
"type": "object"
|
|
26406
|
+
},
|
|
26323
26407
|
{
|
|
26324
26408
|
"additionalProperties": false,
|
|
26325
26409
|
"properties": {
|
|
@@ -26967,6 +27051,9 @@
|
|
|
26967
27051
|
{
|
|
26968
27052
|
"$ref": "#/definitions/results.from-xlsx"
|
|
26969
27053
|
},
|
|
27054
|
+
{
|
|
27055
|
+
"$ref": "#/definitions/results.get-active-features"
|
|
27056
|
+
},
|
|
26970
27057
|
{
|
|
26971
27058
|
"$ref": "#/definitions/results.get-features"
|
|
26972
27059
|
},
|
package/package.json
CHANGED
package/version.d.ts
CHANGED
package/version.js
CHANGED