@vertigis/viewer-spec 61.4.0 → 61.6.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.
- package/messaging/registry/layers.d.ts +11 -0
- package/messaging/registry/layers.js +1 -1
- package/messaging/registry/system.d.ts +1 -1
- package/messaging/schema/common-action.schema.json +2 -2
- package/messaging/schema/mobile-action.schema.json +2 -2
- package/messaging/schema/web-action.schema.json +60 -2
- package/messaging/schema/web-layers-operation-definitions.md +22 -0
- package/messaging/schema/web-system-command-definitions.md +2 -2
- package/package.json +3 -2
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -94,6 +94,11 @@ export interface LayerSettingsArgs extends HasLayerSettings, HasLayers, HasSymbo
|
|
|
94
94
|
*/
|
|
95
95
|
export interface FromKmlArgs extends HasFiles {
|
|
96
96
|
}
|
|
97
|
+
/**
|
|
98
|
+
* Arguments for the layers.from-fgdb operation.
|
|
99
|
+
*/
|
|
100
|
+
export interface FromFgdbArgs extends HasFiles {
|
|
101
|
+
}
|
|
97
102
|
/**
|
|
98
103
|
* Arguments for the layers.from-dxf operation. When the spatial references are
|
|
99
104
|
* omitted, Web defaults both input and output to the active map's current
|
|
@@ -276,6 +281,12 @@ export declare class LayersOperations extends OperationRegistry {
|
|
|
276
281
|
* @webOnly
|
|
277
282
|
*/
|
|
278
283
|
get fromKml(): Operation<FromKmlArgs | Blob | Blob[], HasLayers>;
|
|
284
|
+
/**
|
|
285
|
+
* Convert the specified FGDB blob to layers. Web only.
|
|
286
|
+
*
|
|
287
|
+
* @webOnly
|
|
288
|
+
*/
|
|
289
|
+
get fromFgdb(): Operation<FromFgdbArgs | Blob | Blob[], HasLayers>;
|
|
279
290
|
/**
|
|
280
291
|
* Convert the specified DXF blob to layers. If spatial references are not
|
|
281
292
|
* specified, Web defaults both the input and output to the active map's
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{CommandRegistry as e}from"../CommandRegistry.js";import{EventRegistry as t}from"../EventRegistry.js";import{OperationRegistry as s}from"../OperationRegistry.js";export class LayersCommands extends e{_prefix="layers";get ensureCanSetSymbol(){return this._get("ensure-can-set-symbol")}get resetDefinitionExpression(){return this._get("reset-definition-expression")}get resetSymbol(){return this._get("reset-symbol")}get setDefinitionExpression(){return this._get("set-definition-expression")}get setLabelClasses(){return this._get("set-label-classes")}get setPopupTemplate(){return this._get("set-popup-template")}get setSymbol(){return this._get("set-symbol")}get setTaskSettings(){return this._get("set-task-settings")}get setTitle(){return this._get("set-title")}get setVisibility(){return this._get("set-visibility")}get showLabels(){return this._get("show-labels")}get hideLabels(){return this._get("hide-labels")}}export class LayersOperations extends s{_prefix="layers";get getPopupTemplate(){return this._get("get-popup-template")}get getLabelClasses(){return this._get("get-label-classes")}get getTaskSettings(){return this._get("get-task-settings")}get getTitle(){return this._get("get-title")}get editSettings(){return this._get("edit-settings")}get editLabelSettings(){return this._get("edit-symbol-settings")}get editSymbols(){return this._get("edit-symbols")}get fromKml(){return this._get("from-kml")}get fromDxf(){return this._get("from-dxf")}get fromUrl(){return this._get("from-url")}}export class LayersEvents extends t{_prefix="layers";get definitionExpressionChanged(){return this._get("definition-expression-changed")}get visibilityChanged(){return this._get("visibility-changed")}}
|
|
1
|
+
import{CommandRegistry as e}from"../CommandRegistry.js";import{EventRegistry as t}from"../EventRegistry.js";import{OperationRegistry as s}from"../OperationRegistry.js";export class LayersCommands extends e{_prefix="layers";get ensureCanSetSymbol(){return this._get("ensure-can-set-symbol")}get resetDefinitionExpression(){return this._get("reset-definition-expression")}get resetSymbol(){return this._get("reset-symbol")}get setDefinitionExpression(){return this._get("set-definition-expression")}get setLabelClasses(){return this._get("set-label-classes")}get setPopupTemplate(){return this._get("set-popup-template")}get setSymbol(){return this._get("set-symbol")}get setTaskSettings(){return this._get("set-task-settings")}get setTitle(){return this._get("set-title")}get setVisibility(){return this._get("set-visibility")}get showLabels(){return this._get("show-labels")}get hideLabels(){return this._get("hide-labels")}}export class LayersOperations extends s{_prefix="layers";get getPopupTemplate(){return this._get("get-popup-template")}get getLabelClasses(){return this._get("get-label-classes")}get getTaskSettings(){return this._get("get-task-settings")}get getTitle(){return this._get("get-title")}get editSettings(){return this._get("edit-settings")}get editLabelSettings(){return this._get("edit-symbol-settings")}get editSymbols(){return this._get("edit-symbols")}get fromKml(){return this._get("from-kml")}get fromFgdb(){return this._get("from-fgdb")}get fromDxf(){return this._get("from-dxf")}get fromUrl(){return this._get("from-url")}}export class LayersEvents extends t{_prefix="layers";get definitionExpressionChanged(){return this._get("definition-expression-changed")}get visibilityChanged(){return this._get("visibility-changed")}}
|
|
@@ -107,7 +107,7 @@ export interface WebOpenUrlArgs extends Omit<OpenUrlArgs, "context">, HasMaps, H
|
|
|
107
107
|
*/
|
|
108
108
|
export interface OpenUrlArgs {
|
|
109
109
|
/**
|
|
110
|
-
* The URL to open.
|
|
110
|
+
* The URL to open. In Web, the supported schemes include http, and https.
|
|
111
111
|
*/
|
|
112
112
|
url: string;
|
|
113
113
|
/**
|
|
@@ -4579,7 +4579,7 @@
|
|
|
4579
4579
|
"type": "string"
|
|
4580
4580
|
},
|
|
4581
4581
|
"url": {
|
|
4582
|
-
"description": "The URL to open.",
|
|
4582
|
+
"description": "The URL to open. In Web, the supported schemes include http, and https.",
|
|
4583
4583
|
"type": "string"
|
|
4584
4584
|
}
|
|
4585
4585
|
},
|
|
@@ -5933,7 +5933,7 @@
|
|
|
5933
5933
|
"type": "string"
|
|
5934
5934
|
},
|
|
5935
5935
|
"url": {
|
|
5936
|
-
"description": "The URL to open.",
|
|
5936
|
+
"description": "The URL to open. In Web, the supported schemes include http, and https.",
|
|
5937
5937
|
"type": "string"
|
|
5938
5938
|
}
|
|
5939
5939
|
},
|
|
@@ -5460,7 +5460,7 @@
|
|
|
5460
5460
|
"type": "string"
|
|
5461
5461
|
},
|
|
5462
5462
|
"url": {
|
|
5463
|
-
"description": "The URL to open.",
|
|
5463
|
+
"description": "The URL to open. In Web, the supported schemes include http, and https.",
|
|
5464
5464
|
"type": "string"
|
|
5465
5465
|
}
|
|
5466
5466
|
},
|
|
@@ -7246,7 +7246,7 @@
|
|
|
7246
7246
|
"type": "string"
|
|
7247
7247
|
},
|
|
7248
7248
|
"url": {
|
|
7249
|
-
"description": "The URL to open.",
|
|
7249
|
+
"description": "The URL to open. In Web, the supported schemes include http, and https.",
|
|
7250
7250
|
"type": "string"
|
|
7251
7251
|
}
|
|
7252
7252
|
},
|
|
@@ -5739,6 +5739,20 @@
|
|
|
5739
5739
|
},
|
|
5740
5740
|
"type": "object"
|
|
5741
5741
|
},
|
|
5742
|
+
"FromFgdbArgs": {
|
|
5743
|
+
"additionalProperties": false,
|
|
5744
|
+
"description": "Arguments for the layers.from-fgdb operation.",
|
|
5745
|
+
"properties": {
|
|
5746
|
+
"blobs": {
|
|
5747
|
+
"description": "The data files to use for the command/operation.",
|
|
5748
|
+
"items": {
|
|
5749
|
+
"$ref": "FileLike"
|
|
5750
|
+
},
|
|
5751
|
+
"type": "array"
|
|
5752
|
+
}
|
|
5753
|
+
},
|
|
5754
|
+
"type": "object"
|
|
5755
|
+
},
|
|
5742
5756
|
"FromGraphicsArgs": {
|
|
5743
5757
|
"additionalProperties": false,
|
|
5744
5758
|
"description": "Arguments for the \"results.from-graphics\" operation.",
|
|
@@ -7921,7 +7935,7 @@
|
|
|
7921
7935
|
"type": "string"
|
|
7922
7936
|
},
|
|
7923
7937
|
"url": {
|
|
7924
|
-
"description": "The URL to open.",
|
|
7938
|
+
"description": "The URL to open. In Web, the supported schemes include http, and https.",
|
|
7925
7939
|
"type": "string"
|
|
7926
7940
|
}
|
|
7927
7941
|
},
|
|
@@ -11962,7 +11976,7 @@
|
|
|
11962
11976
|
"type": "string"
|
|
11963
11977
|
},
|
|
11964
11978
|
"url": {
|
|
11965
|
-
"description": "The URL to open.",
|
|
11979
|
+
"description": "The URL to open. In Web, the supported schemes include http, and https.",
|
|
11966
11980
|
"type": "string"
|
|
11967
11981
|
}
|
|
11968
11982
|
},
|
|
@@ -25123,6 +25137,31 @@
|
|
|
25123
25137
|
"layers.from-dxf:output": {
|
|
25124
25138
|
"$ref": "#/definitions/HasLayers"
|
|
25125
25139
|
},
|
|
25140
|
+
"layers.from-fgdb": {
|
|
25141
|
+
"description": "Convert the specified FGDB blob to layers. Web only.",
|
|
25142
|
+
"enum": [
|
|
25143
|
+
"layers.from-fgdb"
|
|
25144
|
+
]
|
|
25145
|
+
},
|
|
25146
|
+
"layers.from-fgdb:input": {
|
|
25147
|
+
"anyOf": [
|
|
25148
|
+
{
|
|
25149
|
+
"$ref": "#/definitions/FromFgdbArgs"
|
|
25150
|
+
},
|
|
25151
|
+
{
|
|
25152
|
+
"$ref": "global.Blob"
|
|
25153
|
+
},
|
|
25154
|
+
{
|
|
25155
|
+
"items": {
|
|
25156
|
+
"$ref": "global.Blob"
|
|
25157
|
+
},
|
|
25158
|
+
"type": "array"
|
|
25159
|
+
}
|
|
25160
|
+
]
|
|
25161
|
+
},
|
|
25162
|
+
"layers.from-fgdb:output": {
|
|
25163
|
+
"$ref": "#/definitions/HasLayers"
|
|
25164
|
+
},
|
|
25126
25165
|
"layers.from-kml": {
|
|
25127
25166
|
"description": "Convert the specified KML blob to layers. Web only.",
|
|
25128
25167
|
"enum": [
|
|
@@ -32276,6 +32315,22 @@
|
|
|
32276
32315
|
],
|
|
32277
32316
|
"type": "object"
|
|
32278
32317
|
},
|
|
32318
|
+
{
|
|
32319
|
+
"additionalProperties": false,
|
|
32320
|
+
"properties": {
|
|
32321
|
+
"arguments": {
|
|
32322
|
+
"$ref": "#/definitions/layers.from-fgdb:input"
|
|
32323
|
+
},
|
|
32324
|
+
"name": {
|
|
32325
|
+
"$ref": "#/definitions/layers.from-fgdb"
|
|
32326
|
+
}
|
|
32327
|
+
},
|
|
32328
|
+
"required": [
|
|
32329
|
+
"name",
|
|
32330
|
+
"arguments"
|
|
32331
|
+
],
|
|
32332
|
+
"type": "object"
|
|
32333
|
+
},
|
|
32279
32334
|
{
|
|
32280
32335
|
"additionalProperties": false,
|
|
32281
32336
|
"properties": {
|
|
@@ -33488,6 +33543,9 @@
|
|
|
33488
33543
|
{
|
|
33489
33544
|
"$ref": "#/definitions/layers.from-dxf"
|
|
33490
33545
|
},
|
|
33546
|
+
{
|
|
33547
|
+
"$ref": "#/definitions/layers.from-fgdb"
|
|
33548
|
+
},
|
|
33491
33549
|
{
|
|
33492
33550
|
"$ref": "#/definitions/layers.from-kml"
|
|
33493
33551
|
},
|
|
@@ -498,6 +498,28 @@ FromDxfArgs properties:
|
|
|
498
498
|
|
|
499
499
|
Outputs: `HasLayers`
|
|
500
500
|
|
|
501
|
+
---
|
|
502
|
+
# operation: layers.from-fgdb
|
|
503
|
+
Description: Convert the specified FGDB blob to layers. Web only.
|
|
504
|
+
|
|
505
|
+
Inputs: `( FromFgdbArgs | global.Blob | global.Blob[] )`
|
|
506
|
+
|
|
507
|
+
FromFgdbArgs properties:
|
|
508
|
+
```json
|
|
509
|
+
{
|
|
510
|
+
"blobs": {
|
|
511
|
+
"description": "The data files to use for the command/operation.",
|
|
512
|
+
"items": {
|
|
513
|
+
"$ref": "FileLike",
|
|
514
|
+
"FileLike": {}
|
|
515
|
+
},
|
|
516
|
+
"type": "array"
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
```
|
|
520
|
+
|
|
521
|
+
Outputs: `HasLayers`
|
|
522
|
+
|
|
501
523
|
---
|
|
502
524
|
# operation: layers.from-kml
|
|
503
525
|
Description: Convert the specified KML blob to layers. Web only.
|
|
@@ -83,7 +83,7 @@ WebOpenUrlArgs properties:
|
|
|
83
83
|
"type": "string"
|
|
84
84
|
},
|
|
85
85
|
"url": {
|
|
86
|
-
"description": "The URL to open.",
|
|
86
|
+
"description": "The URL to open. In Web, the supported schemes include http, and https.",
|
|
87
87
|
"type": "string",
|
|
88
88
|
"isRequired": "true"
|
|
89
89
|
}
|
|
@@ -115,7 +115,7 @@ OpenUrlArgs properties:
|
|
|
115
115
|
"type": "string"
|
|
116
116
|
},
|
|
117
117
|
"url": {
|
|
118
|
-
"description": "The URL to open.",
|
|
118
|
+
"description": "The URL to open. In Web, the supported schemes include http, and https.",
|
|
119
119
|
"type": "string",
|
|
120
120
|
"isRequired": "true"
|
|
121
121
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vertigis/viewer-spec",
|
|
3
|
-
"version": "61.
|
|
3
|
+
"version": "61.6.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"description": "VertiGIS Viewer Specification",
|
|
6
6
|
"type": "module",
|
|
@@ -72,7 +72,8 @@
|
|
|
72
72
|
"weaktuplemap": "1.0.0"
|
|
73
73
|
},
|
|
74
74
|
"overrides": {
|
|
75
|
-
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz"
|
|
75
|
+
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz",
|
|
76
|
+
"flatted": "3.4.2"
|
|
76
77
|
},
|
|
77
78
|
"simple-git-hooks": {
|
|
78
79
|
"pre-commit": "npx lint-staged"
|
package/version.d.ts
CHANGED
package/version.js
CHANGED