@vertigis/viewer-spec 58.20.0 → 58.21.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.
@@ -20,6 +20,7 @@ import { LicensingCommands } from "./licensing.js";
20
20
  import { LocationMarkerCommands } from "./location-marker.js";
21
21
  import { MapCommands } from "./map.js";
22
22
  import { MeasurementCommands } from "./measurement.js";
23
+ import { NetworkCommands } from "./network.js";
23
24
  import { OfflineCommands } from "./offline.js";
24
25
  import { PanelCommands } from "./panel.js";
25
26
  import { PhotosCommands } from "./photos.js";
@@ -58,6 +59,7 @@ export declare class Commands extends CommandRegistry {
58
59
  readonly locationMarker: LocationMarkerCommands;
59
60
  readonly map: MapCommands;
60
61
  readonly measurement: MeasurementCommands;
62
+ readonly network: NetworkCommands;
61
63
  readonly offline: OfflineCommands;
62
64
  readonly panel: PanelCommands;
63
65
  readonly project: ProjectCommands;
@@ -1 +1 @@
1
- import{CommandRegistry as s}from"../CommandRegistry.js";import{AppCommands as e}from"./app.js";import{AuthCommands as m}from"./auth.js";import{BasemapCommands as r}from"./basemap.js";import{ChartsCommands as i}from"./charts.js";import{DrawingCommands as t}from"./drawing.js";import{EditCommands as o}from"./edit.js";import{FileCommands as a}from"./file.js";import{FilterBuilderCommands as n}from"./filter-builder.js";import{GeolocationCommands as p}from"./geolocation.js";import{GeometryToolbarCommands as g}from"./geometry-toolbar.js";import{GeometryCommands as h}from"./geometry.js";import{HighlightsCommands as f}from"./highlights.js";import{IwtmCommands as w}from"./iwtm.js";import{KpiCommands as j}from"./kpi.js";import{LayerComparisonCommands as _}from"./layer-comparison.js";import{LayerPresetsCommands as l}from"./layer-presets.js";import{LayersCommands as c}from"./layers.js";import{LicensingCommands as y}from"./licensing.js";import{LocationMarkerCommands as u}from"./location-marker.js";import{MapCommands as d}from"./map.js";import{MeasurementCommands as k}from"./measurement.js";import{OfflineCommands as b}from"./offline.js";import{PanelCommands as x}from"./panel.js";import{PhotosCommands as C}from"./photos.js";import{PrintCommands as q}from"./printing.js";import{ProjectCommands as v}from"./project.js";import{QueryBuilderCommands as A}from"./query-builder.js";import{RegionCommands as B}from"./region.js";import{ReportsCommands as M}from"./reports.js";import{ResultsCommands as P}from"./results.js";import{SearchCommands as R}from"./search.js";import{SketchingCommands as T}from"./sketching.js";import{StudioAnalyticsCommands as z}from"./studioAnalytics.js";import{SystemCommands as D}from"./system.js";import{UICommands as E}from"./ui.js";import{ViewerCommands as F}from"./viewer.js";import{WorkflowCommands as G}from"./workflow.js";export class Commands extends s{app=new e(this._messages);auth=new m(this._messages);basemap=new r(this._messages);charts=new i(this._messages);drawing=new t(this._messages);edit=new o(this._messages);file=new a(this._messages);filterBuilder=new n(this._messages);geolocation=new p(this._messages);geometry=new h(this._messages);geometryToolbar=new g(this._messages);highlights=new f(this._messages);iwtm=new w(this._messages);kpi=new j(this._messages);layers=new c(this._messages);layerComparison=new _(this._messages);layerPresets=new l(this._messages);licensing=new y(this._messages);locationMarker=new u(this._messages);map=new d(this._messages);measurement=new k(this._messages);offline=new b(this._messages);panel=new x(this._messages);project=new v(this._messages);photos=new C(this._messages);printing=new q(this._messages);queryBuilder=new A(this._messages);region=new B(this._messages);reports=new M(this._messages);results=new P(this._messages);search=new R(this._messages);sketching=new T(this._messages);studioAnalytics=new z(this._messages);system=new D(this._messages);ui=new E(this._messages);viewer=new F(this._messages);workflow=new G(this._messages);_prefix=""}
1
+ import{CommandRegistry as s}from"../CommandRegistry.js";import{AppCommands as e}from"./app.js";import{AuthCommands as m}from"./auth.js";import{BasemapCommands as r}from"./basemap.js";import{ChartsCommands as i}from"./charts.js";import{DrawingCommands as t}from"./drawing.js";import{EditCommands as o}from"./edit.js";import{FileCommands as a}from"./file.js";import{FilterBuilderCommands as n}from"./filter-builder.js";import{GeolocationCommands as p}from"./geolocation.js";import{GeometryToolbarCommands as g}from"./geometry-toolbar.js";import{GeometryCommands as h}from"./geometry.js";import{HighlightsCommands as f}from"./highlights.js";import{IwtmCommands as w}from"./iwtm.js";import{KpiCommands as j}from"./kpi.js";import{LayerComparisonCommands as _}from"./layer-comparison.js";import{LayerPresetsCommands as l}from"./layer-presets.js";import{LayersCommands as c}from"./layers.js";import{LicensingCommands as y}from"./licensing.js";import{LocationMarkerCommands as u}from"./location-marker.js";import{MapCommands as d}from"./map.js";import{MeasurementCommands as k}from"./measurement.js";import{NetworkCommands as b}from"./network.js";import{OfflineCommands as x}from"./offline.js";import{PanelCommands as C}from"./panel.js";import{PhotosCommands as q}from"./photos.js";import{PrintCommands as v}from"./printing.js";import{ProjectCommands as A}from"./project.js";import{QueryBuilderCommands as B}from"./query-builder.js";import{RegionCommands as M}from"./region.js";import{ReportsCommands as P}from"./reports.js";import{ResultsCommands as R}from"./results.js";import{SearchCommands as T}from"./search.js";import{SketchingCommands as z}from"./sketching.js";import{StudioAnalyticsCommands as D}from"./studioAnalytics.js";import{SystemCommands as E}from"./system.js";import{UICommands as F}from"./ui.js";import{ViewerCommands as G}from"./viewer.js";import{WorkflowCommands as H}from"./workflow.js";export class Commands extends s{app=new e(this._messages);auth=new m(this._messages);basemap=new r(this._messages);charts=new i(this._messages);drawing=new t(this._messages);edit=new o(this._messages);file=new a(this._messages);filterBuilder=new n(this._messages);geolocation=new p(this._messages);geometry=new h(this._messages);geometryToolbar=new g(this._messages);highlights=new f(this._messages);iwtm=new w(this._messages);kpi=new j(this._messages);layers=new c(this._messages);layerComparison=new _(this._messages);layerPresets=new l(this._messages);licensing=new y(this._messages);locationMarker=new u(this._messages);map=new d(this._messages);measurement=new k(this._messages);network=new b(this._messages);offline=new x(this._messages);panel=new C(this._messages);project=new A(this._messages);photos=new q(this._messages);printing=new v(this._messages);queryBuilder=new B(this._messages);region=new M(this._messages);reports=new P(this._messages);results=new R(this._messages);search=new T(this._messages);sketching=new z(this._messages);studioAnalytics=new D(this._messages);system=new E(this._messages);ui=new F(this._messages);viewer=new G(this._messages);workflow=new H(this._messages);_prefix=""}
@@ -12,6 +12,7 @@ import { LayersEvents } from "./layers.js";
12
12
  import { LayoutEvents } from "./layout.js";
13
13
  import { LocationMarkerEvents } from "./location-marker.js";
14
14
  import { MapEvents } from "./map.js";
15
+ import { NetworkEvents } from "./network.js";
15
16
  import { OfflineEvents } from "./offline.js";
16
17
  import { PanelEvents } from "./panel.js";
17
18
  import { PhotosEvents } from "./photos.js";
@@ -42,6 +43,7 @@ export declare class Events extends EventRegistry {
42
43
  readonly layout: LayoutEvents;
43
44
  readonly locationMarker: LocationMarkerEvents;
44
45
  readonly map: MapEvents;
46
+ readonly network: NetworkEvents;
45
47
  readonly offline: OfflineEvents;
46
48
  readonly panel: PanelEvents;
47
49
  readonly project: ProjectEvents;
@@ -1 +1 @@
1
- import{EventRegistry as s}from"../EventRegistry.js";import{AppConfigEvents as e}from"./app-config.js";import{AppEvents as o}from"./app.js";import{AuthEvents as t}from"./auth.js";import{BookmarkEvents as m}from"./bookmark.js";import{DeviceEvents as r}from"./device.js";import{DisplayEvents as i}from"./display.js";import{EditEvents as a}from"./edit.js";import{GeolocationEvents as p}from"./geolocation.js";import{InputEvents as n}from"./input.js";import{LayersEvents as g}from"./layers.js";import{LayoutEvents as f}from"./layout.js";import{LocationMarkerEvents as h}from"./location-marker.js";import{MapEvents as w}from"./map.js";import{OfflineEvents as j}from"./offline.js";import{PanelEvents as _}from"./panel.js";import{PhotosEvents as l}from"./photos.js";import{PortalEvents as c}from"./portal.js";import{PrintEvents as u}from"./printing.js";import{ProjectEvents as k}from"./project.js";import{RegionEvents as d}from"./region.js";import{ReportEvents as y}from"./reports.js";import{ResultsEvents as v}from"./results.js";import{SearchEvents as x}from"./search.js";import{SettingsEvents as b}from"./settings.js";import{ShortcutEvents as E}from"./shortcut.js";import{TasksEvents as C}from"./tasks.js";import{UIEvents as M}from"./ui.js";import{ViewerEvents as R}from"./viewer.js";import{WorkflowEvents as q}from"./workflow.js";export class Events extends s{app=new o(this._messages);appConfig=new e(this._messages);auth=new t(this._messages);bookmark=new m(this._messages);device=new r(this._messages);display=new i(this._messages);edit=new a(this._messages);geolocation=new p(this._messages);input=new n(this._messages);layers=new g(this._messages);layout=new f(this._messages);locationMarker=new h(this._messages);map=new w(this._messages);offline=new j(this._messages);panel=new _(this._messages);project=new k(this._messages);photos=new l(this._messages);portal=new c(this._messages);printing=new u(this._messages);region=new d(this._messages);reports=new y(this._messages);results=new v(this._messages);search=new x(this._messages);settings=new b(this._messages);shortcuts=new E(this._messages);tasks=new C(this._messages);ui=new M(this._messages);viewer=new R(this._messages);workflow=new q(this._messages);_prefix=""}
1
+ import{EventRegistry as s}from"../EventRegistry.js";import{AppConfigEvents as e}from"./app-config.js";import{AppEvents as o}from"./app.js";import{AuthEvents as t}from"./auth.js";import{BookmarkEvents as m}from"./bookmark.js";import{DeviceEvents as r}from"./device.js";import{DisplayEvents as i}from"./display.js";import{EditEvents as a}from"./edit.js";import{GeolocationEvents as p}from"./geolocation.js";import{InputEvents as n}from"./input.js";import{LayersEvents as g}from"./layers.js";import{LayoutEvents as f}from"./layout.js";import{LocationMarkerEvents as h}from"./location-marker.js";import{MapEvents as w}from"./map.js";import{NetworkEvents as j}from"./network.js";import{OfflineEvents as _}from"./offline.js";import{PanelEvents as l}from"./panel.js";import{PhotosEvents as c}from"./photos.js";import{PortalEvents as k}from"./portal.js";import{PrintEvents as u}from"./printing.js";import{ProjectEvents as d}from"./project.js";import{RegionEvents as y}from"./region.js";import{ReportEvents as v}from"./reports.js";import{ResultsEvents as x}from"./results.js";import{SearchEvents as b}from"./search.js";import{SettingsEvents as E}from"./settings.js";import{ShortcutEvents as C}from"./shortcut.js";import{TasksEvents as M}from"./tasks.js";import{UIEvents as R}from"./ui.js";import{ViewerEvents as q}from"./viewer.js";import{WorkflowEvents as z}from"./workflow.js";export class Events extends s{app=new o(this._messages);appConfig=new e(this._messages);auth=new t(this._messages);bookmark=new m(this._messages);device=new r(this._messages);display=new i(this._messages);edit=new a(this._messages);geolocation=new p(this._messages);input=new n(this._messages);layers=new g(this._messages);layout=new f(this._messages);locationMarker=new h(this._messages);map=new w(this._messages);network=new j(this._messages);offline=new _(this._messages);panel=new l(this._messages);project=new d(this._messages);photos=new c(this._messages);portal=new k(this._messages);printing=new u(this._messages);region=new y(this._messages);reports=new v(this._messages);results=new x(this._messages);search=new b(this._messages);settings=new E(this._messages);shortcuts=new C(this._messages);tasks=new M(this._messages);ui=new R(this._messages);viewer=new q(this._messages);workflow=new z(this._messages);_prefix=""}
@@ -7,13 +7,21 @@ import type { Event } from "../Event.js";
7
7
  import { EventRegistry } from "../EventRegistry.js";
8
8
  import type { Operation } from "../Operation.js";
9
9
  import { OperationRegistry } from "../OperationRegistry.js";
10
- import type { HasLayers, HasMaps, HasSymbol, HasSymbols } from "../common.js";
10
+ import type { HasLayers, HasMaps, HasSymbol, HasSymbols, LayersLike } from "../common.js";
11
11
  /**
12
12
  * Arguments for the "layer.visibility-changed" event.
13
13
  */
14
14
  export interface LayerEventArgs {
15
15
  /**
16
- * The layer whose visibility was changed.
16
+ * The layer whose visibility was changed. Web only.
17
+ *
18
+ * @webOnly
19
+ */
20
+ layers?: LayersLike;
21
+ /**
22
+ * The layer whose visibility was changed. Mobile only.
23
+ *
24
+ * @mobileOnly
17
25
  */
18
26
  layerContent: ILayerContent;
19
27
  }
@@ -207,9 +215,7 @@ export declare class LayersOperations extends OperationRegistry {
207
215
  export declare class LayersEvents extends EventRegistry {
208
216
  protected readonly _prefix = "layers";
209
217
  /**
210
- * Raised when a layer's visibility changes. Mobile only.
211
- *
212
- * @mobileOnly
218
+ * Raised when a layer's visibility changes.
213
219
  */
214
220
  get visibilityChanged(): Event<LayerEventArgs>;
215
221
  }
@@ -1,4 +1,5 @@
1
1
  import type { Command } from "../Command.js";
2
+ import { CommandRegistry } from "../CommandRegistry.js";
2
3
  import type { Event } from "../Event.js";
3
4
  import { EventRegistry } from "../EventRegistry.js";
4
5
  import type { Operation } from "../Operation.js";
@@ -12,39 +13,42 @@ export interface HostAndPortArgs {
12
13
  /** The port number to connect to. Must be an integer. */
13
14
  port: number;
14
15
  }
15
- export declare class NetworkEvents extends EventRegistry {
16
+ export declare class NetworkCommands extends CommandRegistry {
16
17
  protected readonly _prefix = "network";
17
18
  /**
18
- * Raised when the user has blocked the app from making web requests. Mobile
19
- * only.
19
+ * Turns on Disconnected Mode which prevents the app from making web
20
+ * requests independent of the device's network connectivity.
20
21
  *
21
22
  * @mobileOnly
22
23
  */
23
- get webRequestsDisabled(): Event;
24
+ get disableWebRequests(): Command<void>;
24
25
  /**
25
- * Raised when the user has allowed the app to make web requests. Mobile
26
- * only.
26
+ * Turns off Disconnected Mode allowing the device to make web requests if
27
+ * it has a network connection.
27
28
  *
28
29
  * @mobileOnly
29
30
  */
30
- get webRequestsEnabled(): Event;
31
+ get enableWebRequests(): Command<void>;
31
32
  }
32
- export declare class NetworkOperations extends OperationRegistry {
33
+ export declare class NetworkEvents extends EventRegistry {
33
34
  protected readonly _prefix = "network";
34
35
  /**
35
- * Turns on Disconnected Mode which prevents the app from making web
36
- * requests independent of the device's network connectivity.
36
+ * Raised when the user has blocked the app from making web requests. Mobile
37
+ * only.
37
38
  *
38
39
  * @mobileOnly
39
40
  */
40
- get disableWebRequests(): Command<void>;
41
+ get webRequestsDisabled(): Event;
41
42
  /**
42
- * Turns off Disconnected Mode allowing the device to make web requests if
43
- * it has a network connection.
43
+ * Raised when the user has allowed the app to make web requests. Mobile
44
+ * only.
44
45
  *
45
46
  * @mobileOnly
46
47
  */
47
- get enableWebRequests(): Command<void>;
48
+ get webRequestsEnabled(): Event;
49
+ }
50
+ export declare class NetworkOperations extends OperationRegistry {
51
+ protected readonly _prefix = "network";
48
52
  /**
49
53
  * Determines if Disconnected Mode is enabled and web requests can be sent
50
54
  * by the app.
@@ -1 +1 @@
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")}}
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,6 +1,48 @@
1
1
  {
2
2
  "$ref": "#/definitions/viewer-spec.Event",
3
3
  "definitions": {
4
+ "@vertigis.arcgis-extensions.data._TableExtension.TableReference": {
5
+ "additionalProperties": false,
6
+ "description": "Matches an existing table in a map.",
7
+ "properties": {
8
+ "id": {
9
+ "description": "The table's ID.",
10
+ "type": "string"
11
+ },
12
+ "title": {
13
+ "description": "The table's title.",
14
+ "type": "string"
15
+ }
16
+ },
17
+ "type": "object"
18
+ },
19
+ "@vertigis.arcgis-extensions.mapping._LayerExtension.LayerReference": {
20
+ "additionalProperties": false,
21
+ "description": "Matches an existing layer.",
22
+ "properties": {
23
+ "id": {
24
+ "description": "The layer's ID.",
25
+ "type": "string"
26
+ },
27
+ "path": {
28
+ "description": "The path to the geodatabase used by an MMAP layer. Mobile only.",
29
+ "type": "string"
30
+ },
31
+ "subtype": {
32
+ "description": "The Layer's type, used for Layer types with multiple possible layer extension mappings.",
33
+ "type": "string"
34
+ },
35
+ "title": {
36
+ "description": "The layer's title.",
37
+ "type": "string"
38
+ },
39
+ "url": {
40
+ "description": "The layer's url.",
41
+ "type": "string"
42
+ }
43
+ },
44
+ "type": "object"
45
+ },
4
46
  "ArcGISPortalIdentity": {
5
47
  "additionalProperties": false,
6
48
  "type": "object"
@@ -161,6 +203,88 @@
161
203
  },
162
204
  "type": "object"
163
205
  },
206
+ "LayerEventArgs": {
207
+ "additionalProperties": false,
208
+ "description": "Arguments for the \"layer.visibility-changed\" event.",
209
+ "properties": {
210
+ "layerContent": {
211
+ "$ref": "ILayerContent",
212
+ "description": "The layer whose visibility was changed. Mobile only."
213
+ },
214
+ "layers": {
215
+ "$ref": "#/definitions/LayersLike",
216
+ "description": "The layer whose visibility was changed. Web only."
217
+ }
218
+ },
219
+ "required": [
220
+ "layerContent"
221
+ ],
222
+ "type": "object"
223
+ },
224
+ "LayerLike": {
225
+ "anyOf": [
226
+ {
227
+ "$ref": "#/definitions/@vertigis.arcgis-extensions.mapping._LayerExtension.LayerReference"
228
+ },
229
+ {
230
+ "$ref": "#/definitions/@vertigis.arcgis-extensions.data._TableExtension.TableReference"
231
+ },
232
+ {
233
+ "$ref": "#/definitions/esri.Layer"
234
+ },
235
+ {
236
+ "$ref": "@vertigis.arcgis-extensions.mapping._LayerExtension.LayerExtension"
237
+ },
238
+ {
239
+ "$ref": "esri.SublayerLike"
240
+ },
241
+ {
242
+ "$ref": "@vertigis.arcgis-extensions.mapping._SublayerExtension.SublayerExtension"
243
+ },
244
+ {
245
+ "$ref": "@vertigis.arcgis-extensions.data._TableExtension.TableExtension"
246
+ },
247
+ {
248
+ "type": "string"
249
+ }
250
+ ],
251
+ "description": "A (sub)layer extension, or an object that is convertible to one."
252
+ },
253
+ "LayersLike": {
254
+ "anyOf": [
255
+ {
256
+ "$ref": "#/definitions/@vertigis.arcgis-extensions.mapping._LayerExtension.LayerReference"
257
+ },
258
+ {
259
+ "$ref": "#/definitions/@vertigis.arcgis-extensions.data._TableExtension.TableReference"
260
+ },
261
+ {
262
+ "$ref": "#/definitions/esri.Layer"
263
+ },
264
+ {
265
+ "$ref": "@vertigis.arcgis-extensions.mapping._LayerExtension.LayerExtension"
266
+ },
267
+ {
268
+ "$ref": "esri.SublayerLike"
269
+ },
270
+ {
271
+ "$ref": "@vertigis.arcgis-extensions.mapping._SublayerExtension.SublayerExtension"
272
+ },
273
+ {
274
+ "$ref": "@vertigis.arcgis-extensions.data._TableExtension.TableExtension"
275
+ },
276
+ {
277
+ "items": {
278
+ "$ref": "#/definitions/LayerLike"
279
+ },
280
+ "type": "array"
281
+ },
282
+ {
283
+ "type": "string"
284
+ }
285
+ ],
286
+ "description": "One or more objects that are convertible to layer extensions."
287
+ },
164
288
  "MapEvent": {
165
289
  "additionalProperties": false,
166
290
  "description": "Arguments for the various map events.",
@@ -595,6 +719,9 @@
595
719
  "edit.feature-updated:input": {
596
720
  "$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
597
721
  },
722
+ "esri.Layer": {
723
+ "$ref": "esri/layers/Layer"
724
+ },
598
725
  "esri.Point": {
599
726
  "$ref": "esri/geometry/Point"
600
727
  },
@@ -9770,6 +9897,15 @@
9770
9897
  "geolocation.status-changed:input": {
9771
9898
  "$ref": "#/definitions/GeolocationStatusChangedEventArgs"
9772
9899
  },
9900
+ "layers.visibility-changed": {
9901
+ "description": "Raised when a layer's visibility changes.",
9902
+ "enum": [
9903
+ "layers.visibility-changed"
9904
+ ]
9905
+ },
9906
+ "layers.visibility-changed:input": {
9907
+ "$ref": "#/definitions/LayerEventArgs"
9908
+ },
9773
9909
  "map.initialized": {
9774
9910
  "description": "Raised when a map has completed initialization. MapEvent used in Web, MapInitializedEvent used in Mobile.",
9775
9911
  "enum": [
@@ -9908,6 +10044,9 @@
9908
10044
  {
9909
10045
  "$ref": "#/definitions/geolocation.status-changed"
9910
10046
  },
10047
+ {
10048
+ "$ref": "#/definitions/layers.visibility-changed"
10049
+ },
9911
10050
  {
9912
10051
  "$ref": "#/definitions/map.initialized"
9913
10052
  },
@@ -15687,6 +15687,18 @@
15687
15687
  "network.can-reach-url:output": {
15688
15688
  "type": "boolean"
15689
15689
  },
15690
+ "network.disable-web-requests": {
15691
+ "description": "Turns on Disconnected Mode which prevents the app from making web requests independent of the device's network connectivity.",
15692
+ "enum": [
15693
+ "network.disable-web-requests"
15694
+ ]
15695
+ },
15696
+ "network.enable-web-requests": {
15697
+ "description": "Turns off Disconnected Mode allowing the device to make web requests if it has a network connection.",
15698
+ "enum": [
15699
+ "network.enable-web-requests"
15700
+ ]
15701
+ },
15690
15702
  "network.get-status": {
15691
15703
  "description": "Returns the network status. Mobile only.",
15692
15704
  "enum": [
@@ -18795,6 +18807,12 @@
18795
18807
  {
18796
18808
  "$ref": "#/definitions/measurement.stop"
18797
18809
  },
18810
+ {
18811
+ "$ref": "#/definitions/network.disable-web-requests"
18812
+ },
18813
+ {
18814
+ "$ref": "#/definitions/network.enable-web-requests"
18815
+ },
18798
18816
  {
18799
18817
  "$ref": "#/definitions/offline.cancel-create-area"
18800
18818
  },
@@ -450,6 +450,48 @@
450
450
  },
451
451
  "type": "object"
452
452
  },
453
+ "@vertigis.arcgis-extensions.data._TableExtension.TableReference": {
454
+ "additionalProperties": false,
455
+ "description": "Matches an existing table in a map.",
456
+ "properties": {
457
+ "id": {
458
+ "description": "The table's ID.",
459
+ "type": "string"
460
+ },
461
+ "title": {
462
+ "description": "The table's title.",
463
+ "type": "string"
464
+ }
465
+ },
466
+ "type": "object"
467
+ },
468
+ "@vertigis.arcgis-extensions.mapping._LayerExtension.LayerReference": {
469
+ "additionalProperties": false,
470
+ "description": "Matches an existing layer.",
471
+ "properties": {
472
+ "id": {
473
+ "description": "The layer's ID.",
474
+ "type": "string"
475
+ },
476
+ "path": {
477
+ "description": "The path to the geodatabase used by an MMAP layer. Mobile only.",
478
+ "type": "string"
479
+ },
480
+ "subtype": {
481
+ "description": "The Layer's type, used for Layer types with multiple possible layer extension mappings.",
482
+ "type": "string"
483
+ },
484
+ "title": {
485
+ "description": "The layer's title.",
486
+ "type": "string"
487
+ },
488
+ "url": {
489
+ "description": "The layer's url.",
490
+ "type": "string"
491
+ }
492
+ },
493
+ "type": "object"
494
+ },
453
495
  "@vertigis.arcgis-extensions.support.FormatSettings.FormatSettingsProperties": {
454
496
  "additionalProperties": false,
455
497
  "description": "Properties that can be passed into the constructor for {@link FormatSettings}.",
@@ -1050,7 +1092,11 @@
1050
1092
  "properties": {
1051
1093
  "layerContent": {
1052
1094
  "$ref": "ILayerContent",
1053
- "description": "The layer whose visibility was changed."
1095
+ "description": "The layer whose visibility was changed. Mobile only."
1096
+ },
1097
+ "layers": {
1098
+ "$ref": "#/definitions/LayersLike",
1099
+ "description": "The layer whose visibility was changed. Web only."
1054
1100
  }
1055
1101
  },
1056
1102
  "required": [
@@ -1058,6 +1104,70 @@
1058
1104
  ],
1059
1105
  "type": "object"
1060
1106
  },
1107
+ "LayerLike": {
1108
+ "anyOf": [
1109
+ {
1110
+ "$ref": "#/definitions/@vertigis.arcgis-extensions.mapping._LayerExtension.LayerReference"
1111
+ },
1112
+ {
1113
+ "$ref": "#/definitions/@vertigis.arcgis-extensions.data._TableExtension.TableReference"
1114
+ },
1115
+ {
1116
+ "$ref": "#/definitions/esri.Layer"
1117
+ },
1118
+ {
1119
+ "$ref": "@vertigis.arcgis-extensions.mapping._LayerExtension.LayerExtension"
1120
+ },
1121
+ {
1122
+ "$ref": "esri.SublayerLike"
1123
+ },
1124
+ {
1125
+ "$ref": "@vertigis.arcgis-extensions.mapping._SublayerExtension.SublayerExtension"
1126
+ },
1127
+ {
1128
+ "$ref": "@vertigis.arcgis-extensions.data._TableExtension.TableExtension"
1129
+ },
1130
+ {
1131
+ "type": "string"
1132
+ }
1133
+ ],
1134
+ "description": "A (sub)layer extension, or an object that is convertible to one."
1135
+ },
1136
+ "LayersLike": {
1137
+ "anyOf": [
1138
+ {
1139
+ "$ref": "#/definitions/@vertigis.arcgis-extensions.mapping._LayerExtension.LayerReference"
1140
+ },
1141
+ {
1142
+ "$ref": "#/definitions/@vertigis.arcgis-extensions.data._TableExtension.TableReference"
1143
+ },
1144
+ {
1145
+ "$ref": "#/definitions/esri.Layer"
1146
+ },
1147
+ {
1148
+ "$ref": "@vertigis.arcgis-extensions.mapping._LayerExtension.LayerExtension"
1149
+ },
1150
+ {
1151
+ "$ref": "esri.SublayerLike"
1152
+ },
1153
+ {
1154
+ "$ref": "@vertigis.arcgis-extensions.mapping._SublayerExtension.SublayerExtension"
1155
+ },
1156
+ {
1157
+ "$ref": "@vertigis.arcgis-extensions.data._TableExtension.TableExtension"
1158
+ },
1159
+ {
1160
+ "items": {
1161
+ "$ref": "#/definitions/LayerLike"
1162
+ },
1163
+ "type": "array"
1164
+ },
1165
+ {
1166
+ "type": "string"
1167
+ }
1168
+ ],
1169
+ "description": "One or more objects that are convertible to layer extensions."
1170
+ },
1061
1171
  "LayoutMarginChangedArgs": {
1062
1172
  "additionalProperties": false,
1063
1173
  "description": "Arguments for the \"layout.margin-changed\" event.",
@@ -2144,6 +2254,9 @@
2144
2254
  "esri.Geometry": {
2145
2255
  "$ref": "esri/geometry/Geometry"
2146
2256
  },
2257
+ "esri.Layer": {
2258
+ "$ref": "esri/layers/Layer"
2259
+ },
2147
2260
  "esri.Map": {
2148
2261
  "$ref": "esri/Map"
2149
2262
  },
@@ -11431,7 +11544,7 @@
11431
11544
  ]
11432
11545
  },
11433
11546
  "layers.visibility-changed": {
11434
- "description": "Raised when a layer's visibility changes. Mobile only.",
11547
+ "description": "Raised when a layer's visibility changes.",
11435
11548
  "enum": [
11436
11549
  "layers.visibility-changed"
11437
11550
  ]
@@ -11584,6 +11697,18 @@
11584
11697
  "map.viewpoint-changed:input": {
11585
11698
  "$ref": "MapEvent"
11586
11699
  },
11700
+ "network.web-requests-disabled": {
11701
+ "description": "Raised when the user has blocked the app from making web requests. Mobile only.",
11702
+ "enum": [
11703
+ "network.web-requests-disabled"
11704
+ ]
11705
+ },
11706
+ "network.web-requests-enabled": {
11707
+ "description": "Raised when the user has allowed the app to make web requests. Mobile only.",
11708
+ "enum": [
11709
+ "network.web-requests-enabled"
11710
+ ]
11711
+ },
11587
11712
  "offline.area-activated": {
11588
11713
  "description": "Raised when an offline area is activated. Mobile only.",
11589
11714
  "enum": [
@@ -12156,6 +12281,12 @@
12156
12281
  {
12157
12282
  "$ref": "#/definitions/map.viewpoint-changed"
12158
12283
  },
12284
+ {
12285
+ "$ref": "#/definitions/network.web-requests-disabled"
12286
+ },
12287
+ {
12288
+ "$ref": "#/definitions/network.web-requests-enabled"
12289
+ },
12159
12290
  {
12160
12291
  "$ref": "#/definitions/offline.area-activated"
12161
12292
  },
@@ -450,6 +450,21 @@
450
450
  },
451
451
  "type": "object"
452
452
  },
453
+ "@vertigis.arcgis-extensions.data._TableExtension.TableReference": {
454
+ "additionalProperties": false,
455
+ "description": "Matches an existing table in a map.",
456
+ "properties": {
457
+ "id": {
458
+ "description": "The table's ID.",
459
+ "type": "string"
460
+ },
461
+ "title": {
462
+ "description": "The table's title.",
463
+ "type": "string"
464
+ }
465
+ },
466
+ "type": "object"
467
+ },
453
468
  "@vertigis.arcgis-extensions.mapping.MapExtension.ViewMode": {
454
469
  "description": "Viewing mode for a map (2D map or 3D scene).",
455
470
  "enum": [
@@ -458,6 +473,33 @@
458
473
  ],
459
474
  "type": "string"
460
475
  },
476
+ "@vertigis.arcgis-extensions.mapping._LayerExtension.LayerReference": {
477
+ "additionalProperties": false,
478
+ "description": "Matches an existing layer.",
479
+ "properties": {
480
+ "id": {
481
+ "description": "The layer's ID.",
482
+ "type": "string"
483
+ },
484
+ "path": {
485
+ "description": "The path to the geodatabase used by an MMAP layer. Mobile only.",
486
+ "type": "string"
487
+ },
488
+ "subtype": {
489
+ "description": "The Layer's type, used for Layer types with multiple possible layer extension mappings.",
490
+ "type": "string"
491
+ },
492
+ "title": {
493
+ "description": "The layer's title.",
494
+ "type": "string"
495
+ },
496
+ "url": {
497
+ "description": "The layer's url.",
498
+ "type": "string"
499
+ }
500
+ },
501
+ "type": "object"
502
+ },
461
503
  "@vertigis.arcgis-extensions.support.FormatSettings.FormatSettingsProperties": {
462
504
  "additionalProperties": false,
463
505
  "description": "Properties that can be passed into the constructor for {@link FormatSettings}.",
@@ -781,6 +823,88 @@
781
823
  },
782
824
  "type": "object"
783
825
  },
826
+ "LayerEventArgs": {
827
+ "additionalProperties": false,
828
+ "description": "Arguments for the \"layer.visibility-changed\" event.",
829
+ "properties": {
830
+ "layerContent": {
831
+ "$ref": "ILayerContent",
832
+ "description": "The layer whose visibility was changed. Mobile only."
833
+ },
834
+ "layers": {
835
+ "$ref": "#/definitions/LayersLike",
836
+ "description": "The layer whose visibility was changed. Web only."
837
+ }
838
+ },
839
+ "required": [
840
+ "layerContent"
841
+ ],
842
+ "type": "object"
843
+ },
844
+ "LayerLike": {
845
+ "anyOf": [
846
+ {
847
+ "$ref": "#/definitions/@vertigis.arcgis-extensions.mapping._LayerExtension.LayerReference"
848
+ },
849
+ {
850
+ "$ref": "#/definitions/@vertigis.arcgis-extensions.data._TableExtension.TableReference"
851
+ },
852
+ {
853
+ "$ref": "#/definitions/esri.Layer"
854
+ },
855
+ {
856
+ "$ref": "@vertigis.arcgis-extensions.mapping._LayerExtension.LayerExtension"
857
+ },
858
+ {
859
+ "$ref": "esri.SublayerLike"
860
+ },
861
+ {
862
+ "$ref": "@vertigis.arcgis-extensions.mapping._SublayerExtension.SublayerExtension"
863
+ },
864
+ {
865
+ "$ref": "@vertigis.arcgis-extensions.data._TableExtension.TableExtension"
866
+ },
867
+ {
868
+ "type": "string"
869
+ }
870
+ ],
871
+ "description": "A (sub)layer extension, or an object that is convertible to one."
872
+ },
873
+ "LayersLike": {
874
+ "anyOf": [
875
+ {
876
+ "$ref": "#/definitions/@vertigis.arcgis-extensions.mapping._LayerExtension.LayerReference"
877
+ },
878
+ {
879
+ "$ref": "#/definitions/@vertigis.arcgis-extensions.data._TableExtension.TableReference"
880
+ },
881
+ {
882
+ "$ref": "#/definitions/esri.Layer"
883
+ },
884
+ {
885
+ "$ref": "@vertigis.arcgis-extensions.mapping._LayerExtension.LayerExtension"
886
+ },
887
+ {
888
+ "$ref": "esri.SublayerLike"
889
+ },
890
+ {
891
+ "$ref": "@vertigis.arcgis-extensions.mapping._SublayerExtension.SublayerExtension"
892
+ },
893
+ {
894
+ "$ref": "@vertigis.arcgis-extensions.data._TableExtension.TableExtension"
895
+ },
896
+ {
897
+ "items": {
898
+ "$ref": "#/definitions/LayerLike"
899
+ },
900
+ "type": "array"
901
+ },
902
+ {
903
+ "type": "string"
904
+ }
905
+ ],
906
+ "description": "One or more objects that are convertible to layer extensions."
907
+ },
784
908
  "LocationMarkerEvent": {
785
909
  "additionalProperties": false,
786
910
  "description": "Arguments for the various location marker events.",
@@ -1638,6 +1762,9 @@
1638
1762
  "esri.Graphic": {
1639
1763
  "$ref": "esri/Graphic"
1640
1764
  },
1765
+ "esri.Layer": {
1766
+ "$ref": "esri/layers/Layer"
1767
+ },
1641
1768
  "esri.PictureMarkerSymbol": {
1642
1769
  "$ref": "esri/symbols/PictureMarkerSymbol"
1643
1770
  },
@@ -10849,6 +10976,15 @@
10849
10976
  "geolocation.status-changed:input": {
10850
10977
  "$ref": "#/definitions/GeolocationStatusChangedEventArgs"
10851
10978
  },
10979
+ "layers.visibility-changed": {
10980
+ "description": "Raised when a layer's visibility changes.",
10981
+ "enum": [
10982
+ "layers.visibility-changed"
10983
+ ]
10984
+ },
10985
+ "layers.visibility-changed:input": {
10986
+ "$ref": "#/definitions/LayerEventArgs"
10987
+ },
10852
10988
  "location-marker.created": {
10853
10989
  "description": "Raised when a Marker is created. Web only.",
10854
10990
  "enum": [
@@ -11233,6 +11369,9 @@
11233
11369
  {
11234
11370
  "$ref": "#/definitions/geolocation.status-changed"
11235
11371
  },
11372
+ {
11373
+ "$ref": "#/definitions/layers.visibility-changed"
11374
+ },
11236
11375
  {
11237
11376
  "$ref": "#/definitions/location-marker.created"
11238
11377
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vertigis/viewer-spec",
3
- "version": "58.20.0",
3
+ "version": "58.21.1",
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.20.0";
4
+ export declare const version = "58.21.1";
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.20.0";
4
+ export const version = "58.21.1";