@vertigis/viewer-spec 61.23.3 → 61.24.1
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/layout/schema/layout-mobile.xsd +14 -0
- package/messaging/registry/network.d.ts +15 -0
- package/messaging/registry/network.js +1 -1
- package/messaging/schema/mobile-event.reference.json +1 -1
- package/messaging/schema/mobile-event.schema.json +1 -1
- package/package.json +2 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -85,6 +85,20 @@
|
|
|
85
85
|
</complexType>
|
|
86
86
|
</element>
|
|
87
87
|
|
|
88
|
+
<element name="load-indicator" substitutionGroup="base:component">
|
|
89
|
+
<annotation>
|
|
90
|
+
<documentation xml:lang="en">
|
|
91
|
+
A component that displays diagnostic information about the load status of the
|
|
92
|
+
map (pending network activity and drawing status).
|
|
93
|
+
</documentation>
|
|
94
|
+
</annotation>
|
|
95
|
+
<complexType>
|
|
96
|
+
<complexContent>
|
|
97
|
+
<extension base="base:Component" />
|
|
98
|
+
</complexContent>
|
|
99
|
+
</complexType>
|
|
100
|
+
</element>
|
|
101
|
+
|
|
88
102
|
<element name="search-new-extent" substitutionGroup="base:component">
|
|
89
103
|
<annotation>
|
|
90
104
|
<documentation xml:lang="en">
|
|
@@ -8,6 +8,15 @@ import { OperationRegistry } from "../OperationRegistry.js";
|
|
|
8
8
|
* The status of a connection to a network host.
|
|
9
9
|
*/
|
|
10
10
|
export type NetworkStatus = "NoConnection" | "ConnectedToCarrierDataNetwork" | "ConnectedToWiFiOrEthernet" | "Restricted";
|
|
11
|
+
/**
|
|
12
|
+
* The current network load.
|
|
13
|
+
*/
|
|
14
|
+
export interface NetworkLoadArgs {
|
|
15
|
+
/**
|
|
16
|
+
* The number of network requests currently in progress.
|
|
17
|
+
*/
|
|
18
|
+
count: number;
|
|
19
|
+
}
|
|
11
20
|
/**
|
|
12
21
|
* Arguments for the network.can-reach-host operation.
|
|
13
22
|
*/
|
|
@@ -54,6 +63,12 @@ export declare class NetworkEvents extends EventRegistry {
|
|
|
54
63
|
* @mobileOnly
|
|
55
64
|
*/
|
|
56
65
|
get webRequestsEnabled(): Event;
|
|
66
|
+
/**
|
|
67
|
+
* Raised when the number of pending network requests changes.
|
|
68
|
+
*
|
|
69
|
+
* @mobileOnly
|
|
70
|
+
*/
|
|
71
|
+
get loadChanged(): Event<NetworkLoadArgs>;
|
|
57
72
|
}
|
|
58
73
|
export declare class NetworkOperations extends OperationRegistry {
|
|
59
74
|
protected readonly _prefix = "network";
|
|
@@ -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 NetworkCommands extends e{_prefix="network";get disableWebRequests(){return this._get("disable-web-requests")}get enableWebRequests(){return this._get("enable-web-requests")}}export class NetworkEvents extends t{_prefix="network";get webRequestsDisabled(){return this._get("web-requests-disabled")}get webRequestsEnabled(){return this._get("web-requests-enabled")}}export class NetworkOperations extends s{_prefix="network";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{CommandRegistry as e}from"../CommandRegistry.js";import{EventRegistry as t}from"../EventRegistry.js";import{OperationRegistry as s}from"../OperationRegistry.js";export class NetworkCommands extends e{_prefix="network";get disableWebRequests(){return this._get("disable-web-requests")}get enableWebRequests(){return this._get("enable-web-requests")}}export class NetworkEvents extends t{_prefix="network";get webRequestsDisabled(){return this._get("web-requests-disabled")}get webRequestsEnabled(){return this._get("web-requests-enabled")}get loadChanged(){return this._get("load-changed")}}export class NetworkOperations extends s{_prefix="network";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")}}
|