@vertigis/viewer-spec 61.5.0 → 61.7.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.
@@ -94,6 +94,16 @@ 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-lpkx operation.
99
+ */
100
+ export interface FromLpkxArgs extends HasFiles {
101
+ }
102
+ /**
103
+ * Arguments for the layers.from-fgdb operation.
104
+ */
105
+ export interface FromFgdbArgs extends HasFiles {
106
+ }
97
107
  /**
98
108
  * Arguments for the layers.from-dxf operation. When the spatial references are
99
109
  * omitted, Web defaults both input and output to the active map's current
@@ -276,6 +286,18 @@ export declare class LayersOperations extends OperationRegistry {
276
286
  * @webOnly
277
287
  */
278
288
  get fromKml(): Operation<FromKmlArgs | Blob | Blob[], HasLayers>;
289
+ /**
290
+ * Convert the specified FGDB blob to layers. Web only.
291
+ *
292
+ * @webOnly
293
+ */
294
+ get fromFgdb(): Operation<FromFgdbArgs | Blob | Blob[], HasLayers>;
295
+ /**
296
+ * Convert the specified LPKX blob to layers. Web only.
297
+ *
298
+ * @webOnly
299
+ */
300
+ get fromLpkx(): Operation<FromLpkxArgs | Blob | Blob[], HasLayers>;
279
301
  /**
280
302
  * Convert the specified DXF blob to layers. If spatial references are not
281
303
  * 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 fromLpkx(){return this._get("from-lpkx")}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")}}
@@ -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.",
@@ -5817,6 +5831,20 @@
5817
5831
  },
5818
5832
  "type": "object"
5819
5833
  },
5834
+ "FromLpkxArgs": {
5835
+ "additionalProperties": false,
5836
+ "description": "Arguments for the layers.from-lpkx operation.",
5837
+ "properties": {
5838
+ "blobs": {
5839
+ "description": "The data files to use for the command/operation.",
5840
+ "items": {
5841
+ "$ref": "FileLike"
5842
+ },
5843
+ "type": "array"
5844
+ }
5845
+ },
5846
+ "type": "object"
5847
+ },
5820
5848
  "FromShapefileConversionArgs": {
5821
5849
  "additionalProperties": false,
5822
5850
  "description": "Arguments for the \"results.from-shapefile\" operation.",
@@ -25123,6 +25151,31 @@
25123
25151
  "layers.from-dxf:output": {
25124
25152
  "$ref": "#/definitions/HasLayers"
25125
25153
  },
25154
+ "layers.from-fgdb": {
25155
+ "description": "Convert the specified FGDB blob to layers. Web only.",
25156
+ "enum": [
25157
+ "layers.from-fgdb"
25158
+ ]
25159
+ },
25160
+ "layers.from-fgdb:input": {
25161
+ "anyOf": [
25162
+ {
25163
+ "$ref": "#/definitions/FromFgdbArgs"
25164
+ },
25165
+ {
25166
+ "$ref": "global.Blob"
25167
+ },
25168
+ {
25169
+ "items": {
25170
+ "$ref": "global.Blob"
25171
+ },
25172
+ "type": "array"
25173
+ }
25174
+ ]
25175
+ },
25176
+ "layers.from-fgdb:output": {
25177
+ "$ref": "#/definitions/HasLayers"
25178
+ },
25126
25179
  "layers.from-kml": {
25127
25180
  "description": "Convert the specified KML blob to layers. Web only.",
25128
25181
  "enum": [
@@ -25148,6 +25201,31 @@
25148
25201
  "layers.from-kml:output": {
25149
25202
  "$ref": "#/definitions/HasLayers"
25150
25203
  },
25204
+ "layers.from-lpkx": {
25205
+ "description": "Convert the specified LPKX blob to layers. Web only.",
25206
+ "enum": [
25207
+ "layers.from-lpkx"
25208
+ ]
25209
+ },
25210
+ "layers.from-lpkx:input": {
25211
+ "anyOf": [
25212
+ {
25213
+ "$ref": "#/definitions/FromLpkxArgs"
25214
+ },
25215
+ {
25216
+ "$ref": "global.Blob"
25217
+ },
25218
+ {
25219
+ "items": {
25220
+ "$ref": "global.Blob"
25221
+ },
25222
+ "type": "array"
25223
+ }
25224
+ ]
25225
+ },
25226
+ "layers.from-lpkx:output": {
25227
+ "$ref": "#/definitions/HasLayers"
25228
+ },
25151
25229
  "layers.from-url": {
25152
25230
  "description": "Attempts to create layer(s) from a url. Web only.\n\nThe url could be to an ArcGIS Server Url, WMS, WFS, WMTS, GeoJson, GeoRss, Csv, Kml, kmz, OGC Feature Layer, or an Arcgis Portal Item.",
25153
25231
  "enum": [
@@ -32276,6 +32354,22 @@
32276
32354
  ],
32277
32355
  "type": "object"
32278
32356
  },
32357
+ {
32358
+ "additionalProperties": false,
32359
+ "properties": {
32360
+ "arguments": {
32361
+ "$ref": "#/definitions/layers.from-fgdb:input"
32362
+ },
32363
+ "name": {
32364
+ "$ref": "#/definitions/layers.from-fgdb"
32365
+ }
32366
+ },
32367
+ "required": [
32368
+ "name",
32369
+ "arguments"
32370
+ ],
32371
+ "type": "object"
32372
+ },
32279
32373
  {
32280
32374
  "additionalProperties": false,
32281
32375
  "properties": {
@@ -32292,6 +32386,22 @@
32292
32386
  ],
32293
32387
  "type": "object"
32294
32388
  },
32389
+ {
32390
+ "additionalProperties": false,
32391
+ "properties": {
32392
+ "arguments": {
32393
+ "$ref": "#/definitions/layers.from-lpkx:input"
32394
+ },
32395
+ "name": {
32396
+ "$ref": "#/definitions/layers.from-lpkx"
32397
+ }
32398
+ },
32399
+ "required": [
32400
+ "name",
32401
+ "arguments"
32402
+ ],
32403
+ "type": "object"
32404
+ },
32295
32405
  {
32296
32406
  "additionalProperties": false,
32297
32407
  "properties": {
@@ -33488,9 +33598,15 @@
33488
33598
  {
33489
33599
  "$ref": "#/definitions/layers.from-dxf"
33490
33600
  },
33601
+ {
33602
+ "$ref": "#/definitions/layers.from-fgdb"
33603
+ },
33491
33604
  {
33492
33605
  "$ref": "#/definitions/layers.from-kml"
33493
33606
  },
33607
+ {
33608
+ "$ref": "#/definitions/layers.from-lpkx"
33609
+ },
33494
33610
  {
33495
33611
  "$ref": "#/definitions/layers.from-url"
33496
33612
  },
@@ -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.
@@ -520,6 +542,28 @@ FromKmlArgs properties:
520
542
 
521
543
  Outputs: `HasLayers`
522
544
 
545
+ ---
546
+ # operation: layers.from-lpkx
547
+ Description: Convert the specified LPKX blob to layers. Web only.
548
+
549
+ Inputs: `( FromLpkxArgs | global.Blob | global.Blob[] )`
550
+
551
+ FromLpkxArgs properties:
552
+ ```json
553
+ {
554
+ "blobs": {
555
+ "description": "The data files to use for the command/operation.",
556
+ "items": {
557
+ "$ref": "FileLike",
558
+ "FileLike": {}
559
+ },
560
+ "type": "array"
561
+ }
562
+ }
563
+ ```
564
+
565
+ Outputs: `HasLayers`
566
+
523
567
  ---
524
568
  # operation: layers.from-url
525
569
  Description: Attempts to create layer(s) from a url. Web only.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vertigis/viewer-spec",
3
- "version": "61.5.0",
3
+ "version": "61.7.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
@@ -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.5.0";
4
+ export declare const version = "61.7.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.5.0";
4
+ export const version = "61.7.0";