@vertigis/viewer-spec 59.10.0 → 59.11.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.
@@ -1,3 +1,4 @@
1
+ /// <reference types="node" />
1
2
  import type { TaskSettingsProperties } from "@vertigis/arcgis-extensions/data/TaskSettings.js";
2
3
  import type { LabelingInfoJson } from "@vertigis/arcgis-extensions/json/DrawingInfoJson.js";
3
4
  import type { PopupInfoJson } from "@vertigis/arcgis-extensions/json/PopupInfoJson.js";
@@ -7,9 +8,9 @@ import type { Event } from "../Event.js";
7
8
  import { EventRegistry } from "../EventRegistry.js";
8
9
  import type { Operation } from "../Operation.js";
9
10
  import { OperationRegistry } from "../OperationRegistry.js";
10
- import type { HasLayers, HasMaps, HasSymbol, HasSymbols, LayersLike } from "../common.js";
11
+ import type { HasFiles, HasLayers, HasMaps, HasSymbol, HasSymbols, LayersLike } from "../common.js";
11
12
  /**
12
- * Arguments for the "layer.visibility-changed" event.
13
+ * Arguments for the "layers.visibility-changed" event.
13
14
  */
14
15
  export interface LayerEventArgs {
15
16
  /**
@@ -40,11 +41,11 @@ export interface ILayerContent {
40
41
  export interface SetLabelVisibilityArgs extends HasLayers, HasMaps {
41
42
  }
42
43
  /**
43
- * Arguments for the layer.set-symbol command.
44
+ * Arguments for the layers.set-symbol command.
44
45
  */
45
46
  export type SetSymbolArgs = HasSymbol & HasSymbols & HasLayers & HasMaps;
46
47
  /**
47
- * Arguments for the layer.set-visibility command. If no 'maps' are specified,
48
+ * Arguments for the layers.set-visibility command. If no 'maps' are specified,
48
49
  * all active maps in the layout will be targeted. If no 'layers' are specified,
49
50
  * all viable layers and sublayers within the 'maps' will be affected. If the
50
51
  * 'layers' property includes (Sub)Layer references or ESRI (Sub)Layers, they
@@ -86,6 +87,11 @@ export interface HasLayerSettings {
86
87
  */
87
88
  export interface LayerSettingsArgs extends HasLayerSettings, HasLayers, HasSymbols, HasMaps {
88
89
  }
90
+ /**
91
+ * Arguments for the layers.from-kml operation.
92
+ */
93
+ export interface FromKmlArgs extends HasFiles {
94
+ }
89
95
  export declare class LayersCommands extends CommandRegistry {
90
96
  protected readonly _prefix = "layers";
91
97
  /**
@@ -227,6 +233,12 @@ export declare class LayersOperations extends OperationRegistry {
227
233
  * @webOnly
228
234
  */
229
235
  get editSymbols(): Operation<SetSymbolArgs, HasLayers & HasMaps & HasSymbols>;
236
+ /**
237
+ * Convert the specified KML blob to layers. Web only.
238
+ *
239
+ * @webOnly
240
+ */
241
+ get fromKml(): Operation<FromKmlArgs | Blob | Blob[], HasLayers>;
230
242
  }
231
243
  export declare class LayersEvents extends EventRegistry {
232
244
  protected readonly _prefix = "layers";
@@ -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")}}export class LayersEvents extends t{_prefix="layers";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")}}export class LayersEvents extends t{_prefix="layers";get visibilityChanged(){return this._get("visibility-changed")}}
@@ -306,7 +306,7 @@
306
306
  },
307
307
  "LayerEventArgs": {
308
308
  "additionalProperties": false,
309
- "description": "Arguments for the \"layer.visibility-changed\" event.",
309
+ "description": "Arguments for the \"layers.visibility-changed\" event.",
310
310
  "properties": {
311
311
  "layerContent": {
312
312
  "$ref": "ILayerContent",
@@ -1231,7 +1231,7 @@
1231
1231
  },
1232
1232
  "LayerEventArgs": {
1233
1233
  "additionalProperties": false,
1234
- "description": "Arguments for the \"layer.visibility-changed\" event.",
1234
+ "description": "Arguments for the \"layers.visibility-changed\" event.",
1235
1235
  "properties": {
1236
1236
  "layerContent": {
1237
1237
  "$ref": "ILayerContent",
@@ -7230,7 +7230,7 @@
7230
7230
  },
7231
7231
  "SetSymbolArgs": {
7232
7232
  "additionalProperties": false,
7233
- "description": "Arguments for the layer.set-symbol command.",
7233
+ "description": "Arguments for the layers.set-symbol command.",
7234
7234
  "properties": {
7235
7235
  "layers": {
7236
7236
  "$ref": "#/definitions/LayersLike",
@@ -7364,7 +7364,7 @@
7364
7364
  },
7365
7365
  "SetVisibilityArgs": {
7366
7366
  "additionalProperties": false,
7367
- "description": "Arguments for the layer.set-visibility command. If no 'maps' are specified, all active maps in the layout will be targeted. If no 'layers' are specified, all viable layers and sublayers within the 'maps' will be affected. If the 'layers' property includes (Sub)Layer references or ESRI (Sub)Layers, they must exist within one of the 'maps'.",
7367
+ "description": "Arguments for the layers.set-visibility command. If no 'maps' are specified, all active maps in the layout will be targeted. If no 'layers' are specified, all viable layers and sublayers within the 'maps' will be affected. If the 'layers' property includes (Sub)Layer references or ESRI (Sub)Layers, they must exist within one of the 'maps'.",
7368
7368
  "properties": {
7369
7369
  "layers": {
7370
7370
  "$ref": "#/definitions/LayersLike",
@@ -1384,7 +1384,7 @@
1384
1384
  },
1385
1385
  "LayerEventArgs": {
1386
1386
  "additionalProperties": false,
1387
- "description": "Arguments for the \"layer.visibility-changed\" event.",
1387
+ "description": "Arguments for the \"layers.visibility-changed\" event.",
1388
1388
  "properties": {
1389
1389
  "layerContent": {
1390
1390
  "$ref": "ILayerContent",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vertigis/viewer-spec",
3
- "version": "59.10.0",
3
+ "version": "59.11.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 = "59.10.0";
4
+ export declare const version = "59.11.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 = "59.10.0";
4
+ export const version = "59.11.0";