@vertigis/viewer-spec 58.15.0 → 58.17.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,4 +1,6 @@
1
1
  import type { Command } from "../Command.js";
2
+ import type { Event } from "../Event.js";
3
+ import { EventRegistry } from "../EventRegistry.js";
2
4
  import type { Operation } from "../Operation.js";
3
5
  import { OperationRegistry } from "../OperationRegistry.js";
4
6
  /** The status of a connection to a network host. */
@@ -10,6 +12,23 @@ export interface HostAndPortArgs {
10
12
  /** The port number to connect to. Must be an integer. */
11
13
  port: number;
12
14
  }
15
+ export declare class NetworkEvents extends EventRegistry {
16
+ protected readonly _prefix = "network";
17
+ /**
18
+ * Raised when the user has blocked the app from making web requests. Mobile
19
+ * only.
20
+ *
21
+ * @mobileOnly
22
+ */
23
+ get webRequestsDisabled(): Event;
24
+ /**
25
+ * Raised when the user has allowed the app to make web requests. Mobile
26
+ * only.
27
+ *
28
+ * @mobileOnly
29
+ */
30
+ get webRequestsEnabled(): Event;
31
+ }
13
32
  export declare class NetworkOperations extends OperationRegistry {
14
33
  protected readonly _prefix = "network";
15
34
  /**
@@ -1 +1 @@
1
- import{OperationRegistry as e}from"../OperationRegistry.js";export class NetworkOperations extends e{_prefix="network";get disableWebRequests(){return this._get("disable-web-requests")}get enableWebRequests(){return this._get("enable-web-requests")}get areWebRequestsDisabled(){return this._get("are-web-requests-disabled")}get hasConnection(){return this._get("has-connection")}get getStatus(){return this._get("get-status")}get canReachHost(){return this._get("can-reach-host")}get canReachUrl(){return this._get("can-reach-url")}}
1
+ import{EventRegistry as e}from"../EventRegistry.js";import{OperationRegistry as t}from"../OperationRegistry.js";export class NetworkEvents extends e{_prefix="network";get webRequestsDisabled(){return this._get("web-requests-disabled")}get webRequestsEnabled(){return this._get("web-requests-enabled")}}export class NetworkOperations extends t{_prefix="network";get disableWebRequests(){return this._get("disable-web-requests")}get enableWebRequests(){return this._get("enable-web-requests")}get areWebRequestsDisabled(){return this._get("are-web-requests-disabled")}get hasConnection(){return this._get("has-connection")}get getStatus(){return this._get("get-status")}get canReachHost(){return this._get("can-reach-host")}get canReachUrl(){return this._get("can-reach-url")}}
@@ -209,6 +209,7 @@ export interface CaptureGeometryArgs {
209
209
  * "point" is the first of multiple options in the list, click actions will
210
210
  * create points while click-and-drag actions will automatically begin the
211
211
  * freehand variation of the next included geometry type.
212
+ * The types "point", "line" and "square" are supported only in Web.
212
213
  */
213
214
  geometryType: SketchTool | SketchTool[];
214
215
  /**
@@ -933,7 +933,7 @@
933
933
  "type": "string"
934
934
  }
935
935
  ],
936
- "description": "The geometry/shape to use for sketching. * Multiple sketch tools are only supported by VertiGIS Studio Web. When multiple sketch tools are provided, the sketch will begin with the first one in the list. If \"point\" is the first of multiple options in the list, click actions will create points while click-and-drag actions will automatically begin the freehand variation of the next included geometry type."
936
+ "description": "The geometry/shape to use for sketching. * Multiple sketch tools are only supported by VertiGIS Studio Web. When multiple sketch tools are provided, the sketch will begin with the first one in the list. If \"point\" is the first of multiple options in the list, click actions will create points while click-and-drag actions will automatically begin the freehand variation of the next included geometry type. The types \"point\", \"line\" and \"square\" are supported only in Web."
937
937
  },
938
938
  "maps": {
939
939
  "$ref": "MapsLike",
@@ -1034,7 +1034,7 @@
1034
1034
  "type": "string"
1035
1035
  }
1036
1036
  ],
1037
- "description": "The geometry/shape to use for sketching. * Multiple sketch tools are only supported by VertiGIS Studio Web. When multiple sketch tools are provided, the sketch will begin with the first one in the list. If \"point\" is the first of multiple options in the list, click actions will create points while click-and-drag actions will automatically begin the freehand variation of the next included geometry type."
1037
+ "description": "The geometry/shape to use for sketching. * Multiple sketch tools are only supported by VertiGIS Studio Web. When multiple sketch tools are provided, the sketch will begin with the first one in the list. If \"point\" is the first of multiple options in the list, click actions will create points while click-and-drag actions will automatically begin the freehand variation of the next included geometry type. The types \"point\", \"line\" and \"square\" are supported only in Web."
1038
1038
  },
1039
1039
  "maps": {
1040
1040
  "$ref": "MapsLike",
@@ -1444,7 +1444,7 @@
1444
1444
  "type": "string"
1445
1445
  }
1446
1446
  ],
1447
- "description": "The geometry/shape to use for sketching. * Multiple sketch tools are only supported by VertiGIS Studio Web. When multiple sketch tools are provided, the sketch will begin with the first one in the list. If \"point\" is the first of multiple options in the list, click actions will create points while click-and-drag actions will automatically begin the freehand variation of the next included geometry type."
1447
+ "description": "The geometry/shape to use for sketching. * Multiple sketch tools are only supported by VertiGIS Studio Web. When multiple sketch tools are provided, the sketch will begin with the first one in the list. If \"point\" is the first of multiple options in the list, click actions will create points while click-and-drag actions will automatically begin the freehand variation of the next included geometry type. The types \"point\", \"line\" and \"square\" are supported only in Web."
1448
1448
  },
1449
1449
  "maps": {
1450
1450
  "$ref": "MapsLike",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vertigis/viewer-spec",
3
- "version": "58.15.0",
3
+ "version": "58.17.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 = "58.15.0";
4
+ export declare const version = "58.17.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 = "58.15.0";
4
+ export const version = "58.17.0";