@vertigis/viewer-spec 55.2.0 → 56.0.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.
- package/app-config/common/BrandingThemeProperties.d.ts +1 -1
- package/app-config/common/CoordinateModelProperties.d.ts +1 -1
- package/app-config/common/HighlightModelProperties.d.ts +3 -4
- package/app-config/common/colors.d.ts +1 -1
- package/app-config/schema/common-app-config.schema.json +1 -1
- package/app-config/schema/mobile-app-config.schema.json +1 -1
- package/app-config/schema/web-app-config.schema.json +1 -1
- package/app-config/web/CoordinateModelProperties.d.ts +2 -2
- package/app-config/web/DrawModelProperties.d.ts +8 -16
- package/app-config/web/MapModelProperties.d.ts +4 -4
- package/messaging/CommandRegistry.d.ts +13 -1
- package/messaging/CommandRegistry.js +1 -1
- package/messaging/EventRegistry.d.ts +13 -1
- package/messaging/EventRegistry.js +1 -1
- package/messaging/OperationRegistry.d.ts +14 -1
- package/messaging/OperationRegistry.js +1 -1
- package/messaging/common.d.ts +7 -21
- package/messaging/common.js +1 -1
- package/messaging/registry/Commands.d.ts +1 -0
- package/messaging/registry/Commands.js +1 -1
- package/messaging/registry/Events.d.ts +1 -0
- package/messaging/registry/Events.js +1 -1
- package/messaging/registry/Operations.d.ts +1 -0
- package/messaging/registry/Operations.js +1 -1
- package/messaging/registry/app-config.d.ts +1 -0
- package/messaging/registry/app-config.js +1 -1
- package/messaging/registry/app.d.ts +19 -15
- package/messaging/registry/app.js +1 -1
- package/messaging/registry/arcade.d.ts +3 -2
- package/messaging/registry/arcade.js +1 -1
- package/messaging/registry/auth.d.ts +5 -10
- package/messaging/registry/auth.js +1 -1
- package/messaging/registry/basemap.d.ts +3 -0
- package/messaging/registry/basemap.js +1 -1
- package/messaging/registry/bookmark.d.ts +1 -0
- package/messaging/registry/bookmark.js +1 -1
- package/messaging/registry/charts.d.ts +2 -0
- package/messaging/registry/charts.js +1 -1
- package/messaging/registry/debugConsole.d.ts +1 -0
- package/messaging/registry/debugConsole.js +1 -1
- package/messaging/registry/device.d.ts +1 -0
- package/messaging/registry/device.js +1 -1
- package/messaging/registry/display.d.ts +1 -0
- package/messaging/registry/display.js +1 -1
- package/messaging/registry/drawing.d.ts +4 -9
- package/messaging/registry/drawing.js +1 -1
- package/messaging/registry/edit.d.ts +3 -0
- package/messaging/registry/edit.js +1 -1
- package/messaging/registry/file.d.ts +3 -0
- package/messaging/registry/file.js +1 -1
- package/messaging/registry/filter-builder.d.ts +2 -0
- package/messaging/registry/filter-builder.js +1 -1
- package/messaging/registry/geocode.d.ts +1 -0
- package/messaging/registry/geocode.js +1 -1
- package/messaging/registry/geolocation.d.ts +37 -41
- package/messaging/registry/geolocation.js +1 -1
- package/messaging/registry/geometry-toolbar.d.ts +1 -0
- package/messaging/registry/geometry-toolbar.js +1 -1
- package/messaging/registry/geometry.d.ts +2 -0
- package/messaging/registry/geometry.js +1 -1
- package/messaging/registry/highlights.d.ts +2 -0
- package/messaging/registry/highlights.js +1 -1
- package/messaging/registry/input.d.ts +1 -0
- package/messaging/registry/input.js +1 -1
- package/messaging/registry/iwtm.d.ts +1 -0
- package/messaging/registry/iwtm.js +1 -1
- package/messaging/registry/kpi.d.ts +2 -0
- package/messaging/registry/kpi.js +1 -1
- package/messaging/registry/layer-comparison.d.ts +1 -0
- package/messaging/registry/layer-comparison.js +1 -1
- package/messaging/registry/layer-presets.d.ts +2 -0
- package/messaging/registry/layer-presets.js +1 -1
- package/messaging/registry/layers.d.ts +5 -2
- package/messaging/registry/layers.js +1 -1
- package/messaging/registry/layout.d.ts +1 -0
- package/messaging/registry/layout.js +1 -1
- package/messaging/registry/licensing.d.ts +2 -0
- package/messaging/registry/licensing.js +1 -1
- package/messaging/registry/location-marker.d.ts +4 -5
- package/messaging/registry/location-marker.js +1 -1
- package/messaging/registry/logViewer.d.ts +1 -0
- package/messaging/registry/logViewer.js +1 -1
- package/messaging/registry/map.d.ts +9 -15
- package/messaging/registry/map.js +1 -1
- package/messaging/registry/measurement.d.ts +5 -11
- package/messaging/registry/measurement.js +1 -1
- package/messaging/registry/messaging.d.ts +1 -0
- package/messaging/registry/messaging.js +1 -1
- package/messaging/registry/network.d.ts +2 -6
- package/messaging/registry/network.js +1 -1
- package/messaging/registry/offline.d.ts +54 -51
- package/messaging/registry/offline.js +1 -1
- package/messaging/registry/panel.d.ts +3 -6
- package/messaging/registry/panel.js +1 -1
- package/messaging/registry/photos.d.ts +2 -0
- package/messaging/registry/photos.js +1 -1
- package/messaging/registry/portal.d.ts +2 -0
- package/messaging/registry/portal.js +1 -1
- package/messaging/registry/printing.d.ts +2 -0
- package/messaging/registry/printing.js +1 -1
- package/messaging/registry/project.d.ts +3 -0
- package/messaging/registry/project.js +1 -1
- package/messaging/registry/query-builder.d.ts +2 -0
- package/messaging/registry/query-builder.js +1 -1
- package/messaging/registry/region.d.ts +2 -0
- package/messaging/registry/region.js +1 -1
- package/messaging/registry/reports.d.ts +2 -0
- package/messaging/registry/reports.js +1 -1
- package/messaging/registry/results.d.ts +6 -3
- package/messaging/registry/results.js +1 -1
- package/messaging/registry/search.d.ts +3 -4
- package/messaging/registry/search.js +1 -1
- package/messaging/registry/settings.d.ts +2 -6
- package/messaging/registry/settings.js +1 -1
- package/messaging/registry/shortcut.d.ts +1 -0
- package/messaging/registry/shortcut.js +1 -1
- package/messaging/registry/sketching.d.ts +10 -15
- package/messaging/registry/sketching.js +1 -1
- package/messaging/registry/studioAnalytics.d.ts +1 -0
- package/messaging/registry/studioAnalytics.js +1 -1
- package/messaging/registry/system.d.ts +4 -8
- package/messaging/registry/system.js +1 -1
- package/messaging/registry/tasks.d.ts +2 -0
- package/messaging/registry/tasks.js +1 -1
- package/messaging/registry/ui.d.ts +3 -0
- package/messaging/registry/ui.js +1 -1
- package/messaging/registry/viewer.d.ts +3 -0
- package/messaging/registry/viewer.js +1 -1
- package/messaging/registry/workflow.d.ts +3 -0
- package/messaging/registry/workflow.js +1 -1
- package/messaging/schema/common-action.schema.json +6208 -5603
- package/messaging/schema/common-event.schema.json +5906 -5323
- package/messaging/schema/mobile-action.schema.json +6353 -5755
- package/messaging/schema/mobile-event.schema.json +5907 -5316
- package/messaging/schema/web-action.schema.json +6446 -5837
- package/messaging/schema/web-event.schema.json +5917 -5326
- package/package.json +2 -2
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { SpatialReferenceJson } from "@vertigis/arcgis-extensions/json/SpatialReferenceJson.js";
|
|
2
2
|
import type { CoordinateFormat } from "../common/CoordinateFormat.js";
|
|
3
3
|
import type { CoordinateModelProperties as CommonCoordinateModelProperties } from "../common/CoordinateModelProperties.js";
|
|
4
4
|
import type { ServiceModelProperties } from "../common/ServiceModelProperties.js";
|
|
@@ -37,7 +37,7 @@ export interface CoordinateOptionProperties {
|
|
|
37
37
|
* The spatial reference to display map coordinates in. If this property is
|
|
38
38
|
* not defined, the spatial reference of the map will be used.
|
|
39
39
|
*/
|
|
40
|
-
spatialReference?:
|
|
40
|
+
spatialReference?: SpatialReferenceJson;
|
|
41
41
|
/**
|
|
42
42
|
* For LAT_LONG and XY coordinate formats, this property depicts the number
|
|
43
43
|
* of decimal places displayed. For MGRS and USNG coordinate formats, this
|
|
@@ -7,15 +7,7 @@ import type SimpleFillSymbol from "@arcgis/core/symbols/SimpleFillSymbol";
|
|
|
7
7
|
import type SimpleLineSymbol from "@arcgis/core/symbols/SimpleLineSymbol";
|
|
8
8
|
import type SimpleMarkerSymbol from "@arcgis/core/symbols/SimpleMarkerSymbol";
|
|
9
9
|
import type TextSymbol from "@arcgis/core/symbols/TextSymbol";
|
|
10
|
-
import type {
|
|
11
|
-
import type { PictureFillSymbol as PictureFillSymbolProperties } from "@vertigis/arcgis-extensions/portal/PictureFillSymbol";
|
|
12
|
-
import type { PictureMarkerSymbol as PictureMarkerSymbolProperties } from "@vertigis/arcgis-extensions/portal/PictureMarkerSymbol";
|
|
13
|
-
import type { PointSymbol3D as PointSymbol3DProperties } from "@vertigis/arcgis-extensions/portal/PointSymbol3D";
|
|
14
|
-
import type { PolygonSymbol3D as PolygonSymbol3DProperties } from "@vertigis/arcgis-extensions/portal/PolygonSymbol3D";
|
|
15
|
-
import type { SimpleFillSymbol as SimpleFillSymbolProperties } from "@vertigis/arcgis-extensions/portal/SimpleFillSymbol";
|
|
16
|
-
import type { SimpleLineSymbol as SimpleLineSymbolProperties } from "@vertigis/arcgis-extensions/portal/SimpleLineSymbol";
|
|
17
|
-
import type { SimpleMarkerSymbol as SimpleMarkerSymbolProperties } from "@vertigis/arcgis-extensions/portal/SimpleMarkerSymbol";
|
|
18
|
-
import type { TextSymbol as TextSymbolProperties } from "@vertigis/arcgis-extensions/portal/TextSymbol";
|
|
10
|
+
import type { LineSymbol3DJson, PictureFillSymbolJson, PictureMarkerSymbolJson, PointSymbol3DJson, PolygonSymbol3DJson, SimpleFillSymbolJson, SimpleLineSymbolJson, SimpleMarkerSymbolJson, TextSymbolJson } from "@vertigis/arcgis-extensions/json/SymbolJson.js";
|
|
19
11
|
import type { SymbolLike } from "../../messaging/common.js";
|
|
20
12
|
import type { ModelProperties } from "../common/ModelProperties.js";
|
|
21
13
|
/**
|
|
@@ -25,31 +17,31 @@ export interface DrawModelBaseProperties extends ModelProperties {
|
|
|
25
17
|
/**
|
|
26
18
|
* The symbol used to draw point markup.
|
|
27
19
|
*/
|
|
28
|
-
pointSymbol?: SimpleMarkerSymbol |
|
|
20
|
+
pointSymbol?: SimpleMarkerSymbol | SimpleMarkerSymbolJson | PictureMarkerSymbol | PictureMarkerSymbolJson;
|
|
29
21
|
/**
|
|
30
22
|
* The symbol used to draw 3D point markup.
|
|
31
23
|
*/
|
|
32
|
-
pointSymbol3D?: PointSymbol3D |
|
|
24
|
+
pointSymbol3D?: PointSymbol3D | PointSymbol3DJson;
|
|
33
25
|
/**
|
|
34
26
|
* The symbol used to draw line markup.
|
|
35
27
|
*/
|
|
36
|
-
lineSymbol?: SimpleLineSymbol |
|
|
28
|
+
lineSymbol?: SimpleLineSymbol | SimpleLineSymbolJson;
|
|
37
29
|
/**
|
|
38
30
|
* The symbol used to draw 3D line markup.
|
|
39
31
|
*/
|
|
40
|
-
lineSymbol3D?: LineSymbol3D |
|
|
32
|
+
lineSymbol3D?: LineSymbol3D | LineSymbol3DJson;
|
|
41
33
|
/**
|
|
42
34
|
* The symbol used to draw polygon markup.
|
|
43
35
|
*/
|
|
44
|
-
polygonSymbol?: PictureFillSymbol |
|
|
36
|
+
polygonSymbol?: PictureFillSymbol | PictureFillSymbolJson | SimpleFillSymbol | SimpleFillSymbolJson;
|
|
45
37
|
/**
|
|
46
38
|
* The symbol used to draw 3D polygon markup.
|
|
47
39
|
*/
|
|
48
|
-
polygonSymbol3D?: PolygonSymbol3D |
|
|
40
|
+
polygonSymbol3D?: PolygonSymbol3D | PolygonSymbol3DJson;
|
|
49
41
|
/**
|
|
50
42
|
* The symbol used to draw text markup.
|
|
51
43
|
*/
|
|
52
|
-
textSymbol?: TextSymbol |
|
|
44
|
+
textSymbol?: TextSymbol | TextSymbolJson;
|
|
53
45
|
/**
|
|
54
46
|
* A list of SymbolPresets that can be assigned to graphics.
|
|
55
47
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
1
|
+
import type { FeatureJson } from "@vertigis/arcgis-extensions/json/FeatureJson.js";
|
|
2
|
+
import type { SymbolJson } from "@vertigis/arcgis-extensions/json/SymbolJson.js";
|
|
3
|
+
import type { ViewpointJson } from "@vertigis/arcgis-extensions/json/ViewpointJson.js";
|
|
4
4
|
import type { ItemRef } from "../common/ItemRef.js";
|
|
5
5
|
import type { MapModelProperties as CommonMapModelProperties } from "../common/MapModelProperties.js";
|
|
6
6
|
import type { ComponentModelProperties } from "./ComponentModelProperties.js";
|
|
@@ -78,7 +78,7 @@ export interface MapModelProperties extends CommonMapModelProperties, ComponentM
|
|
|
78
78
|
* The markup graphics currently present on the map. This property is only
|
|
79
79
|
* serialized to saved projects.
|
|
80
80
|
*/
|
|
81
|
-
markupGraphics?:
|
|
81
|
+
markupGraphics?: FeatureJson[];
|
|
82
82
|
/**
|
|
83
83
|
* Specify the configuration to be used for snapping during drawing and
|
|
84
84
|
* editing when enabled.
|
|
@@ -1,13 +1,25 @@
|
|
|
1
|
+
import type { Command } from "./Command.js";
|
|
1
2
|
import type { MessageBus } from "./MessageBus.js";
|
|
2
3
|
/**
|
|
3
4
|
* A registry of well-known commands.
|
|
4
5
|
*/
|
|
5
|
-
export declare class CommandRegistry {
|
|
6
|
+
export declare abstract class CommandRegistry {
|
|
6
7
|
protected readonly _messages: MessageBus;
|
|
8
|
+
/**
|
|
9
|
+
* Command name prefix that will be added to all commands in this registry.
|
|
10
|
+
*/
|
|
11
|
+
protected abstract readonly _prefix: string;
|
|
7
12
|
/**
|
|
8
13
|
* Creates a registry.
|
|
9
14
|
*
|
|
10
15
|
* @param messages The message bus to use.
|
|
11
16
|
*/
|
|
12
17
|
constructor(messages: MessageBus);
|
|
18
|
+
/**
|
|
19
|
+
* Returns the command corresponding to the given unqualified name.
|
|
20
|
+
*
|
|
21
|
+
* @param name The name of the command without the common prefix associated
|
|
22
|
+
* with this registry.
|
|
23
|
+
*/
|
|
24
|
+
protected _get<T = void>(name: string): Command<T>;
|
|
13
25
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export class CommandRegistry{constructor(s){this._messages=s}}
|
|
1
|
+
export class CommandRegistry{constructor(s){this._messages=s}_get(s){return this._messages.command(this._prefix?`${this._prefix}.${s}`:s)}}
|
|
@@ -1,13 +1,25 @@
|
|
|
1
|
+
import type { Event } from "./Event.js";
|
|
1
2
|
import type { MessageBus } from "./MessageBus.js";
|
|
2
3
|
/**
|
|
3
4
|
* A registry of well-known events.
|
|
4
5
|
*/
|
|
5
|
-
export declare class EventRegistry {
|
|
6
|
+
export declare abstract class EventRegistry {
|
|
6
7
|
protected readonly _messages: MessageBus;
|
|
8
|
+
/**
|
|
9
|
+
* Event name prefix that will be added to all events in this registry.
|
|
10
|
+
*/
|
|
11
|
+
protected abstract readonly _prefix: string;
|
|
7
12
|
/**
|
|
8
13
|
* Creates a registry.
|
|
9
14
|
*
|
|
10
15
|
* @param messages The message bus to use.
|
|
11
16
|
*/
|
|
12
17
|
constructor(messages: MessageBus);
|
|
18
|
+
/**
|
|
19
|
+
* Returns the event corresponding to the given unqualified name.
|
|
20
|
+
*
|
|
21
|
+
* @param name The name of the event without the common prefix associated
|
|
22
|
+
* with this registry.
|
|
23
|
+
*/
|
|
24
|
+
protected _get<T = void>(name: string): Event<T>;
|
|
13
25
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export class EventRegistry{constructor(s){this._messages=s}}
|
|
1
|
+
export class EventRegistry{constructor(s){this._messages=s}_get(s){return this._messages.event(this._prefix?`${this._prefix}.${s}`:s)}}
|
|
@@ -1,13 +1,26 @@
|
|
|
1
1
|
import type { MessageBus } from "./MessageBus.js";
|
|
2
|
+
import type { Operation } from "./Operation.js";
|
|
2
3
|
/**
|
|
3
4
|
* A registry of well-known operations.
|
|
4
5
|
*/
|
|
5
|
-
export declare class OperationRegistry {
|
|
6
|
+
export declare abstract class OperationRegistry {
|
|
6
7
|
protected readonly _messages: MessageBus;
|
|
8
|
+
/**
|
|
9
|
+
* Operation name prefix that will be added to all operations in this
|
|
10
|
+
* registry.
|
|
11
|
+
*/
|
|
12
|
+
protected abstract readonly _prefix: string;
|
|
7
13
|
/**
|
|
8
14
|
* Creates a registry.
|
|
9
15
|
*
|
|
10
16
|
* @param messages The message bus to use.
|
|
11
17
|
*/
|
|
12
18
|
constructor(messages: MessageBus);
|
|
19
|
+
/**
|
|
20
|
+
* Returns the operation corresponding to the given unqualified name.
|
|
21
|
+
*
|
|
22
|
+
* @param name The name of the operation without the common prefix
|
|
23
|
+
* associated with this registry.
|
|
24
|
+
*/
|
|
25
|
+
protected _get<T = void, TResult = undefined>(name: string): Operation<T, TResult>;
|
|
13
26
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export class OperationRegistry{constructor(s){this._messages=s}}
|
|
1
|
+
export class OperationRegistry{constructor(s){this._messages=s}_get(s){return this._messages.operation(this._prefix?`${this._prefix}.${s}`:s)}}
|
package/messaging/common.d.ts
CHANGED
|
@@ -18,22 +18,15 @@ import type { FeatureSet } from "@vertigis/arcgis-extensions/data/FeatureSet";
|
|
|
18
18
|
import type { FeatureSource } from "@vertigis/arcgis-extensions/data/FeatureSource";
|
|
19
19
|
import type { FeatureStream } from "@vertigis/arcgis-extensions/data/FeatureStream";
|
|
20
20
|
import type { TableExtension, TableReference as TableReferenceObject } from "@vertigis/arcgis-extensions/data/TableExtension";
|
|
21
|
+
import type { FeatureJson } from "@vertigis/arcgis-extensions/json/FeatureJson";
|
|
22
|
+
import type { GeometryJson } from "@vertigis/arcgis-extensions/json/GeometryJson";
|
|
23
|
+
import type { LineSymbol3DJson, PictureFillSymbolJson, PictureMarkerSymbolJson, PointSymbol3DJson, PolygonSymbol3DJson, SimpleFillSymbolJson, SimpleLineSymbolJson, SimpleMarkerSymbolJson } from "@vertigis/arcgis-extensions/json/SymbolJson";
|
|
24
|
+
import type { ViewpointJson } from "@vertigis/arcgis-extensions/json/ViewpointJson";
|
|
21
25
|
import type { BasemapExtension } from "@vertigis/arcgis-extensions/mapping/BasemapExtension";
|
|
22
26
|
import type { Bookmark, BookmarkProperties } from "@vertigis/arcgis-extensions/mapping/Bookmark";
|
|
23
27
|
import type { LayerExtension, LayerReference as LayerReferenceObject } from "@vertigis/arcgis-extensions/mapping/LayerExtension";
|
|
24
28
|
import type { MapExtension } from "@vertigis/arcgis-extensions/mapping/MapExtension";
|
|
25
29
|
import type { SublayerExtension } from "@vertigis/arcgis-extensions/mapping/SublayerExtension";
|
|
26
|
-
import type { Feature as GraphicJson } from "@vertigis/arcgis-extensions/portal/Feature";
|
|
27
|
-
import type { Geometry as GeometryJson } from "@vertigis/arcgis-extensions/portal/Geometry";
|
|
28
|
-
import type { LineSymbol3D as LineSymbol3DProperties } from "@vertigis/arcgis-extensions/portal/LineSymbol3D";
|
|
29
|
-
import type { PictureFillSymbol as PictureFillSymbolProperties } from "@vertigis/arcgis-extensions/portal/PictureFillSymbol";
|
|
30
|
-
import type { PictureMarkerSymbol as PictureMarkerSymbolProperties } from "@vertigis/arcgis-extensions/portal/PictureMarkerSymbol";
|
|
31
|
-
import type { PointSymbol3D as PointSymbol3DProperties } from "@vertigis/arcgis-extensions/portal/PointSymbol3D";
|
|
32
|
-
import type { PolygonSymbol3D as PolygonSymbol3DProperties } from "@vertigis/arcgis-extensions/portal/PolygonSymbol3D";
|
|
33
|
-
import type { SimpleFillSymbol as SimpleFillSymbolProperties } from "@vertigis/arcgis-extensions/portal/SimpleFillSymbol";
|
|
34
|
-
import type { SimpleLineSymbol as SimpleLineSymbolProperties } from "@vertigis/arcgis-extensions/portal/SimpleLineSymbol";
|
|
35
|
-
import type { SimpleMarkerSymbol as SimpleMarkerSymbolProperties } from "@vertigis/arcgis-extensions/portal/SimpleMarkerSymbol";
|
|
36
|
-
import type { Viewpoint as ViewpointJson } from "@vertigis/arcgis-extensions/portal/Viewpoint";
|
|
37
30
|
import type { SublayerLike } from "@vertigis/arcgis-extensions/support/esri";
|
|
38
31
|
import type { ItemRef } from "app-config/common/ItemRef";
|
|
39
32
|
import type { TimeSpan } from "./DotNetTypes";
|
|
@@ -119,14 +112,7 @@ export interface MapsFeatureResultArgs extends HasMapsAndFeatures {
|
|
|
119
112
|
/**
|
|
120
113
|
* Describes the source of results.
|
|
121
114
|
*/
|
|
122
|
-
export
|
|
123
|
-
UNKNOWN = "Unknown",
|
|
124
|
-
IDENTIFY = "Identify",
|
|
125
|
-
SEARCH = "Search",
|
|
126
|
-
ADD = "Add",
|
|
127
|
-
WORKFLOW = "Workflow",
|
|
128
|
-
GEOCODE = "Geocode"
|
|
129
|
-
}
|
|
115
|
+
export type SourceOperation = "Unknown" | "Identify" | "Search" | "Add" | "Workflow" | "Geocode";
|
|
130
116
|
/**
|
|
131
117
|
* One or more features, or an object that has features.
|
|
132
118
|
*/
|
|
@@ -191,7 +177,7 @@ export type Basemaps = BasemapsLike;
|
|
|
191
177
|
/**
|
|
192
178
|
* An object that is convertible to Esri Graphic or set of graphics.
|
|
193
179
|
*/
|
|
194
|
-
export type GraphicsLike = Graphic |
|
|
180
|
+
export type GraphicsLike = Graphic | FeatureJson | (Graphic | FeatureJson)[] | CreateGraphicsResult | EsriFeatureSet;
|
|
195
181
|
/**
|
|
196
182
|
* An object that has a `graphics` property.
|
|
197
183
|
*/
|
|
@@ -260,7 +246,7 @@ export interface HasViewPoint {
|
|
|
260
246
|
/**
|
|
261
247
|
* Symbols supported for drawing.
|
|
262
248
|
*/
|
|
263
|
-
export type SymbolLike = SimpleMarkerSymbol |
|
|
249
|
+
export type SymbolLike = SimpleMarkerSymbol | SimpleMarkerSymbolJson | PictureMarkerSymbol | PictureMarkerSymbolJson | SimpleLineSymbol | SimpleLineSymbolJson | SimpleFillSymbol | SimpleFillSymbolJson | PictureFillSymbol | PictureFillSymbolJson | PointSymbol3D | PointSymbol3DJson | LineSymbol3D | LineSymbol3DJson | PolygonSymbol3D | PolygonSymbol3DJson;
|
|
264
250
|
/**
|
|
265
251
|
* An object that has a `symbol` property.
|
|
266
252
|
*/
|
package/messaging/common.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export{};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{CommandRegistry as s}from"../CommandRegistry.js";import{AppCommands as e}from"./app.js";import{AuthCommands as i}from"./auth.js";import{BasemapCommands as t}from"./basemap.js";import{ChartsCommands as m}from"./charts.js";import{DrawingCommands as r}from"./drawing.js";import{EditCommands as o}from"./edit.js";import{FileCommands as h}from"./file.js";import{FilterBuilderCommands as a}from"./filter-builder.js";import{GeolocationCommands as n}from"./geolocation.js";import{GeometryToolbarCommands as p}from"./geometry-toolbar.js";import{GeometryCommands as g}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 u}from"./licensing.js";import{LocationMarkerCommands as y}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
|
|
1
|
+
import{CommandRegistry as s}from"../CommandRegistry.js";import{AppCommands as e}from"./app.js";import{AuthCommands as i}from"./auth.js";import{BasemapCommands as t}from"./basemap.js";import{ChartsCommands as m}from"./charts.js";import{DrawingCommands as r}from"./drawing.js";import{EditCommands as o}from"./edit.js";import{FileCommands as h}from"./file.js";import{FilterBuilderCommands as a}from"./filter-builder.js";import{GeolocationCommands as n}from"./geolocation.js";import{GeometryToolbarCommands as p}from"./geometry-toolbar.js";import{GeometryCommands as g}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 u}from"./licensing.js";import{LocationMarkerCommands as y}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{constructor(){super(...arguments),this.app=new e(this._messages),this.auth=new i(this._messages),this.basemap=new t(this._messages),this.charts=new m(this._messages),this.drawing=new r(this._messages),this.edit=new o(this._messages),this.file=new h(this._messages),this.filterBuilder=new a(this._messages),this.geolocation=new n(this._messages),this.geometry=new g(this._messages),this.geometryToolbar=new p(this._messages),this.highlights=new f(this._messages),this.iwtm=new w(this._messages),this.kpi=new j(this._messages),this.layers=new c(this._messages),this.layerComparison=new _(this._messages),this.layerPresets=new l(this._messages),this.licensing=new u(this._messages),this.locationMarker=new y(this._messages),this.map=new d(this._messages),this.measurement=new k(this._messages),this.offline=new b(this._messages),this.panel=new x(this._messages),this.project=new v(this._messages),this.photos=new C(this._messages),this.printing=new q(this._messages),this.queryBuilder=new A(this._messages),this.region=new B(this._messages),this.reports=new M(this._messages),this.results=new P(this._messages),this.search=new R(this._messages),this.sketching=new T(this._messages),this.studioAnalytics=new z(this._messages),this.system=new D(this._messages),this.ui=new E(this._messages),this.viewer=new F(this._messages),this.workflow=new G(this._messages),this._prefix=""}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{EventRegistry as s}from"../EventRegistry.js";import{AppConfigEvents as t}from"./app-config.js";import{AppEvents as e}from"./app.js";import{AuthEvents as i}from"./auth.js";import{BookmarkEvents as o}from"./bookmark.js";import{DeviceEvents as r}from"./device.js";import{DisplayEvents as m}from"./display.js";import{EditEvents as h}from"./edit.js";import{GeolocationEvents as a}from"./geolocation.js";import{InputEvents as p}from"./input.js";import{LayersEvents as n}from"./layers.js";import{LayoutEvents as g}from"./layout.js";import{LocationMarkerEvents as f}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
|
|
1
|
+
import{EventRegistry as s}from"../EventRegistry.js";import{AppConfigEvents as t}from"./app-config.js";import{AppEvents as e}from"./app.js";import{AuthEvents as i}from"./auth.js";import{BookmarkEvents as o}from"./bookmark.js";import{DeviceEvents as r}from"./device.js";import{DisplayEvents as m}from"./display.js";import{EditEvents as h}from"./edit.js";import{GeolocationEvents as a}from"./geolocation.js";import{InputEvents as p}from"./input.js";import{LayersEvents as n}from"./layers.js";import{LayoutEvents as g}from"./layout.js";import{LocationMarkerEvents as f}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{constructor(){super(...arguments),this.app=new e(this._messages),this.appConfig=new t(this._messages),this.auth=new i(this._messages),this.bookmark=new o(this._messages),this.device=new r(this._messages),this.display=new m(this._messages),this.edit=new h(this._messages),this.geolocation=new a(this._messages),this.input=new p(this._messages),this.layers=new n(this._messages),this.layout=new g(this._messages),this.locationMarker=new f(this._messages),this.map=new w(this._messages),this.offline=new j(this._messages),this.panel=new _(this._messages),this.project=new k(this._messages),this.photos=new l(this._messages),this.portal=new c(this._messages),this.printing=new u(this._messages),this.region=new d(this._messages),this.reports=new y(this._messages),this.results=new v(this._messages),this.search=new x(this._messages),this.settings=new b(this._messages),this.shortcuts=new E(this._messages),this.tasks=new C(this._messages),this.ui=new M(this._messages),this.viewer=new R(this._messages),this.workflow=new q(this._messages),this._prefix=""}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{OperationRegistry as s}from"../OperationRegistry.js";import{AppOperations as e}from"./app.js";import{ArcadeOperations as i}from"./arcade.js";import{AuthOperations as t}from"./auth.js";import{BasemapOperations as m}from"./basemap.js";import{ChartOperations as r}from"./charts.js";import{DebugConsoleOperations as o}from"./debugConsole.js";import{DrawingOperations as h}from"./drawing.js";import{EditOperations as a}from"./edit.js";import{FileOperations as g}from"./file.js";import{FilterBuilderOperations as n}from"./filter-builder.js";import{GeocodeOperations as p}from"./geocode.js";import{GeolocationOperations as
|
|
1
|
+
import{OperationRegistry as s}from"../OperationRegistry.js";import{AppOperations as e}from"./app.js";import{ArcadeOperations as i}from"./arcade.js";import{AuthOperations as t}from"./auth.js";import{BasemapOperations as m}from"./basemap.js";import{ChartOperations as r}from"./charts.js";import{DebugConsoleOperations as o}from"./debugConsole.js";import{DrawingOperations as h}from"./drawing.js";import{EditOperations as a}from"./edit.js";import{FileOperations as g}from"./file.js";import{FilterBuilderOperations as n}from"./filter-builder.js";import{GeocodeOperations as p}from"./geocode.js";import{GeolocationOperations as f}from"./geolocation.js";import{GeometryOperations as w}from"./geometry.js";import{HighlightsOperations as j}from"./highlights.js";import{KpiOperations as _}from"./kpi.js";import{LicensingOperations as l}from"./licensing.js";import{LogViewerOperations as u}from"./logViewer.js";import{MapOperations as c}from"./map.js";import{MeasurementOperations as d}from"./measurement.js";import{MessagingOperations as k}from"./messaging.js";import{NetworkOperations as y}from"./network.js";import{OfflineOperations as b}from"./offline.js";import{ProjectOperations as x}from"./project.js";import{QueryBuilderOperations as q}from"./query-builder.js";import{ResultsOperations as v}from"./results.js";import{SketchingOperations as B}from"./sketching.js";import{SystemOperations as C}from"./system.js";import{TasksOperations as O}from"./tasks.js";import{UIOperations as V}from"./ui.js";import{ViewerOperations as R}from"./viewer.js";import{WorkflowOperations as z}from"./workflow.js";export class Operations extends s{constructor(){super(...arguments),this.arcade=new i(this._messages),this.auth=new t(this._messages),this.app=new e(this._messages),this.basemap=new m(this._messages),this.charts=new r(this._messages),this.edit=new a(this._messages),this.drawing=new h(this._messages),this.file=new g(this._messages),this.filterBuilder=new n(this._messages),this.geocode=new p(this._messages),this.geolocation=new f(this._messages),this.geometry=new w(this._messages),this.highlights=new j(this._messages),this.kpi=new _(this._messages),this.licensing=new l(this._messages),this.logViewer=new u(this._messages),this.map=new c(this._messages),this.measurement=new d(this._messages),this.messaging=new k(this._messages),this.network=new y(this._messages),this.offline=new b(this._messages),this.project=new x(this._messages),this.queryBuilder=new q(this._messages),this.sketching=new B(this._messages),this.system=new C(this._messages),this.results=new v(this._messages),this.tasks=new O(this._messages),this.ui=new V(this._messages),this.viewer=new R(this._messages),this.workflow=new z(this._messages),this.debugConsole=new o(this._messages),this._prefix=""}}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { Event } from "../Event.js";
|
|
2
2
|
import { EventRegistry } from "../EventRegistry.js";
|
|
3
3
|
export declare class AppConfigEvents extends EventRegistry {
|
|
4
|
+
protected readonly _prefix = "app-config";
|
|
4
5
|
/**
|
|
5
6
|
* Raised when the app config is about to be unloaded (in order to switch to
|
|
6
7
|
* a different app config). Mobile only.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{EventRegistry as
|
|
1
|
+
import{EventRegistry as t}from"../EventRegistry.js";export class AppConfigEvents extends t{constructor(){super(...arguments),this._prefix="app-config"}get unloading(){return this._get("unloading")}}
|
|
@@ -53,6 +53,7 @@ export interface GenericAppsListedArgs {
|
|
|
53
53
|
totalApps: number;
|
|
54
54
|
}
|
|
55
55
|
export declare class AppCommands extends CommandRegistry {
|
|
56
|
+
protected readonly _prefix = "app";
|
|
56
57
|
/**
|
|
57
58
|
* Returns to the app selector view where the user can select a different
|
|
58
59
|
* app. Only enabled if the current app was launched through VertiGIS Studio
|
|
@@ -108,6 +109,7 @@ export declare class AppCommands extends CommandRegistry {
|
|
|
108
109
|
export declare class AppEvents extends EventRegistry {
|
|
109
110
|
readonly custom: AppCustomEvents;
|
|
110
111
|
readonly generic: AppGenericEvents;
|
|
112
|
+
protected readonly _prefix = "app";
|
|
111
113
|
/**
|
|
112
114
|
* Raised when the app is started, restored from a background state, layout
|
|
113
115
|
* switched, or restored from an interrupted state. Mobile only.
|
|
@@ -162,6 +164,7 @@ export declare class AppEvents extends EventRegistry {
|
|
|
162
164
|
get unfavorited(): Event<GcxAppInfo>;
|
|
163
165
|
}
|
|
164
166
|
export declare class AppCustomEvents extends EventRegistry {
|
|
167
|
+
protected readonly _prefix = "app.custom";
|
|
165
168
|
/**
|
|
166
169
|
* Raised when a custom app is started. Mobile only.
|
|
167
170
|
*
|
|
@@ -170,6 +173,7 @@ export declare class AppCustomEvents extends EventRegistry {
|
|
|
170
173
|
get started(): Event<SpecificAppArgs>;
|
|
171
174
|
}
|
|
172
175
|
export declare class AppGenericEvents extends EventRegistry {
|
|
176
|
+
protected readonly _prefix = "app.generic";
|
|
173
177
|
/**
|
|
174
178
|
* Raised when apps are listed within VertiGIS Studio Go. Mobile only.
|
|
175
179
|
*
|
|
@@ -198,6 +202,7 @@ export declare class AppGenericEvents extends EventRegistry {
|
|
|
198
202
|
get started(): Event;
|
|
199
203
|
}
|
|
200
204
|
export declare class AppOperations extends OperationRegistry {
|
|
205
|
+
protected readonly _prefix = "app";
|
|
201
206
|
/**
|
|
202
207
|
* Gets the current version stamped in the application (i.e. the version of
|
|
203
208
|
* the viewer this application was created with). Web only.
|
|
@@ -242,19 +247,18 @@ export interface SaveStorageDataArgs extends StorageDataArgs {
|
|
|
242
247
|
*/
|
|
243
248
|
data: unknown;
|
|
244
249
|
}
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
}
|
|
250
|
+
type StorageScope =
|
|
251
|
+
/**
|
|
252
|
+
* Defines the global storage that is accessible from all apps.
|
|
253
|
+
*/
|
|
254
|
+
"global"
|
|
255
|
+
/**
|
|
256
|
+
* Defines the app specific storage that only is accessible from within the
|
|
257
|
+
* very app.
|
|
258
|
+
*/
|
|
259
|
+
| "app"
|
|
260
|
+
/**
|
|
261
|
+
* Defines in memory storage, that doesn't get persisted on app shutdown.
|
|
262
|
+
*/
|
|
263
|
+
| "memory";
|
|
260
264
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{CommandRegistry as
|
|
1
|
+
import{CommandRegistry as t}from"../CommandRegistry.js";import{EventRegistry as e}from"../EventRegistry.js";import{OperationRegistry as r}from"../OperationRegistry.js";export class AppCommands extends t{constructor(){super(...arguments),this._prefix="app"}get goToAppSelector(){return this._get("go-to-app-selector")}get refresh(){return this._get("refresh")}get setPersistentData(){return this._get("set-persistent-data")}get removePersistentData(){return this._get("remove-persistent-data")}get favorite(){return this._get("favorite")}get unfavorite(){return this._get("unfavorite")}get loadProject(){return this._get("load-project")}}export class AppEvents extends e{constructor(){super(...arguments),this.custom=new AppCustomEvents(this._messages),this.generic=new AppGenericEvents(this._messages),this._prefix="app"}get activated(){return this._get("activated")}get backgrounded(){return this._get("backgrounded")}get interrupted(){return this._get("interrupted")}get goingToAppSelector(){return this._get("navigating-to-app-selector")}get refreshed(){return this._get("refreshed")}get refreshing(){return this._get("refreshing")}get favorited(){return this._get("favorited")}get unfavorited(){return this._get("unfavorited")}}export class AppCustomEvents extends e{constructor(){super(...arguments),this._prefix="app.custom"}get started(){return this._get("started")}}export class AppGenericEvents extends e{constructor(){super(...arguments),this._prefix="app.generic"}get appsListed(){return this._get("apps-listed")}get specificAppStarting(){return this._get("generic.specific-app-starting")}get specificAppStarted(){return this._get("generic.specific-app-started")}get started(){return this._get("generic.started")}}export class AppOperations extends r{constructor(){super(...arguments),this._prefix="app"}get getVersion(){return this._get("get-version")}get createProject(){return this._get("create-project")}get getPersistentData(){return this._get("get-persistent-data")}}
|
|
@@ -15,7 +15,7 @@ export interface RunArcadeArgs extends HasMaps, HasLayers, HasFeatures {
|
|
|
15
15
|
* The stringified Arcade script used to determine whether or not the
|
|
16
16
|
* executeScript can/should be run. If no executeScript is provided and the
|
|
17
17
|
* canExecuteScript returns a truthy value, the operation will return its
|
|
18
|
-
* input arguments; otherwise, if the canExecuteScript returns a
|
|
18
|
+
* input arguments; otherwise, if the canExecuteScript returns a falsy
|
|
19
19
|
* value, it will throw a {@link Cancellation}.
|
|
20
20
|
*/
|
|
21
21
|
canExecuteScript?: string;
|
|
@@ -62,12 +62,13 @@ export interface ItemPropertyPath {
|
|
|
62
62
|
propertyPath: string;
|
|
63
63
|
}
|
|
64
64
|
export declare class ArcadeOperations extends OperationRegistry {
|
|
65
|
+
protected readonly _prefix = "arcade";
|
|
65
66
|
/**
|
|
66
67
|
* Runs a stringified Arcade script. If only a string is passed in as an
|
|
67
68
|
* argument, it is interpreted as an executeScript. If an executeScript is
|
|
68
69
|
* provided, the operation will return its result. If only a canExecute
|
|
69
70
|
* script is provided and it returns a truthy result, the operation will
|
|
70
|
-
* return its input arguments. If a canExecuteScript returns a
|
|
71
|
+
* return its input arguments. If a canExecuteScript returns a falsy value,
|
|
71
72
|
* the operation will throw a {@link Cancellation}. Web only.
|
|
72
73
|
*
|
|
73
74
|
* @webOnly
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{OperationRegistry as
|
|
1
|
+
import{OperationRegistry as r}from"../OperationRegistry.js";export class ArcadeOperations extends r{constructor(){super(...arguments),this._prefix="arcade"}get run(){return this._get("run")}}
|
|
@@ -12,12 +12,7 @@ import type { ArcGISPortalIdentity } from "../mobile.js";
|
|
|
12
12
|
/**
|
|
13
13
|
* A type of authentication.
|
|
14
14
|
*/
|
|
15
|
-
export
|
|
16
|
-
UNKNOWN = "Unknown",
|
|
17
|
-
OAUTH_2 = "OAuth2",
|
|
18
|
-
NETWORK = "Network",
|
|
19
|
-
TOKEN = "Token"
|
|
20
|
-
}
|
|
15
|
+
export type AuthenticationType = "Unknown" | "OAuth2" | "Network" | "Token";
|
|
21
16
|
/**
|
|
22
17
|
* A user properties interface that contains a portal user.
|
|
23
18
|
*/
|
|
@@ -52,10 +47,7 @@ export interface SignInEventArgs {
|
|
|
52
47
|
/**
|
|
53
48
|
* The type of Portal.
|
|
54
49
|
*/
|
|
55
|
-
export
|
|
56
|
-
ARCGIS_ENTERPRISE = "ArcGISEnterprise",
|
|
57
|
-
AGOL = "AGOL"
|
|
58
|
-
}
|
|
50
|
+
export type PortalType = "ArcGISEnterprise" | "AGOL";
|
|
59
51
|
/**
|
|
60
52
|
* Arguments for the auth.sign-in-completed and auth.portal-sign-in-completed
|
|
61
53
|
* events. Only available in VertiGIS Studio Mobile.
|
|
@@ -78,6 +70,7 @@ export interface SignInFailedEventArgs extends SignInEventArgs {
|
|
|
78
70
|
exception: unknown;
|
|
79
71
|
}
|
|
80
72
|
export declare class AuthCommands extends CommandRegistry {
|
|
73
|
+
protected readonly _prefix = "auth";
|
|
81
74
|
/**
|
|
82
75
|
* Initiates user sign-in if they aren't already signed in. The argument
|
|
83
76
|
* indicates whether or not the map should be reloaded when the sign-in is
|
|
@@ -93,6 +86,7 @@ export declare class AuthCommands extends CommandRegistry {
|
|
|
93
86
|
get signOut(): Command<boolean | void>;
|
|
94
87
|
}
|
|
95
88
|
export declare class AuthOperations extends OperationRegistry {
|
|
89
|
+
protected readonly _prefix = "auth";
|
|
96
90
|
/**
|
|
97
91
|
* Gets the user that is currently signed into the application.
|
|
98
92
|
*/
|
|
@@ -113,6 +107,7 @@ export declare class AuthOperations extends OperationRegistry {
|
|
|
113
107
|
get isSignInAvailable(): Operation<void, boolean>;
|
|
114
108
|
}
|
|
115
109
|
export declare class AuthEvents extends EventRegistry {
|
|
110
|
+
protected readonly _prefix = "auth";
|
|
116
111
|
/**
|
|
117
112
|
* Raised when the user cancels a sign-in challenge. Mobile only.
|
|
118
113
|
*
|
|
@@ -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
|
|
1
|
+
import{CommandRegistry as e}from"../CommandRegistry.js";import{EventRegistry as t}from"../EventRegistry.js";import{OperationRegistry as s}from"../OperationRegistry.js";export class AuthCommands extends e{constructor(){super(...arguments),this._prefix="auth"}get signIn(){return this._get("sign-in")}get signOut(){return this._get("sign-out")}}export class AuthOperations extends s{constructor(){super(...arguments),this._prefix="auth"}get getCurrentUser(){return this._get("get-current-user")}get getExistingCredential(){return this._get("get-existing-credential")}get isSignInAvailable(){return this._get("is-sign-in-available")}}export class AuthEvents extends t{constructor(){super(...arguments),this._prefix="auth"}get signInCancelled(){return this._get("sign-in-cancelled")}get signInCompleted(){return this._get("sign-in-completed")}get portalSignInCompleted(){return this._get("portal-sign-in-completed")}get signInFailed(){return this._get("sign-in-failed")}get signInRequested(){return this._get("sign-in-requested")}get signOutCompleted(){return this._get("sign-out-completed")}get signOutRequested(){return this._get("sign-out-requested")}get tokenRefreshed(){return this._get("token-refreshed")}}
|
|
@@ -8,12 +8,14 @@ import { CommandRegistry } from "./../CommandRegistry.js";
|
|
|
8
8
|
import type { BasemapsLike, MapsLike } from "./../common.js";
|
|
9
9
|
import type { MapEvent } from "./map.js";
|
|
10
10
|
export declare class BasemapCommands extends CommandRegistry {
|
|
11
|
+
protected readonly _prefix = "basemap";
|
|
11
12
|
/**
|
|
12
13
|
* Switch to a configured basemap.
|
|
13
14
|
*/
|
|
14
15
|
get set(): Command<SetBasemapArgs>;
|
|
15
16
|
}
|
|
16
17
|
export declare class BasemapOperations extends OperationRegistry {
|
|
18
|
+
protected readonly _prefix = "basemap";
|
|
17
19
|
/**
|
|
18
20
|
* Gets all configured basemaps.
|
|
19
21
|
*
|
|
@@ -55,6 +57,7 @@ export interface SetBasemapWithTargetMapArg {
|
|
|
55
57
|
*/
|
|
56
58
|
export type SetBasemapArgs = SetBasemapArg | SetBasemapWithTargetMapArg;
|
|
57
59
|
export declare class BasemapEvents extends EventRegistry {
|
|
60
|
+
protected readonly _prefix = "basemap";
|
|
58
61
|
/**
|
|
59
62
|
* Raised when the basemap is changed by any means. Mobile only.
|
|
60
63
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{EventRegistry as e}from"../EventRegistry.js";import{OperationRegistry as
|
|
1
|
+
import{EventRegistry as e}from"../EventRegistry.js";import{OperationRegistry as t}from"../OperationRegistry.js";import{CommandRegistry as s}from"./../CommandRegistry.js";export class BasemapCommands extends s{constructor(){super(...arguments),this._prefix="basemap"}get set(){return this._get("set")}}export class BasemapOperations extends t{constructor(){super(...arguments),this._prefix="basemap"}get getAll(){return this._get("get-all")}get getCurrent(){return this._get("get-current")}}export class BasemapEvents extends e{constructor(){super(...arguments),this._prefix="basemap"}get changed(){return this._get("changed")}get set(){return this._get("set")}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{EventRegistry as e}from"../EventRegistry.js";export class BookmarkEvents extends e{get added(){return this.
|
|
1
|
+
import{EventRegistry as e}from"../EventRegistry.js";export class BookmarkEvents extends e{constructor(){super(...arguments),this._prefix="bookmark"}get added(){return this._get("added")}get deleted(){return this._get("deleted")}get viewed(){return this._get("viewed")}get updated(){return this._get("updated")}}
|
|
@@ -26,6 +26,7 @@ export interface UpdateChartFeaturesArgs extends HasFeatures {
|
|
|
26
26
|
chart: ModelRef;
|
|
27
27
|
}
|
|
28
28
|
export declare class ChartsCommands extends CommandRegistry {
|
|
29
|
+
protected readonly _prefix = "charts";
|
|
29
30
|
/**
|
|
30
31
|
* Updates charts with provided features. Only activated charts that receive
|
|
31
32
|
* features from all required feature sources will displayed. Web only.
|
|
@@ -63,6 +64,7 @@ export declare class ChartsCommands extends CommandRegistry {
|
|
|
63
64
|
get updateDefinition(): Command<UpdateChartDefinitionArgs>;
|
|
64
65
|
}
|
|
65
66
|
export declare class ChartOperations extends OperationRegistry {
|
|
67
|
+
protected readonly _prefix = "charts";
|
|
66
68
|
/**
|
|
67
69
|
* Returns the current set of features from all active charts. Web only.
|
|
68
70
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{CommandRegistry as
|
|
1
|
+
import{CommandRegistry as t}from"../CommandRegistry.js";import{OperationRegistry as e}from"../OperationRegistry.js";export class ChartsCommands extends t{constructor(){super(...arguments),this._prefix="charts"}get display(){return this._get("display")}get addFeatures(){return this._get("add-features")}get removeFeatures(){return this._get("remove-features")}get clear(){return this._get("clear")}get updateDefinition(){return this._get("update-definition")}}export class ChartOperations extends e{constructor(){super(...arguments),this._prefix="charts"}get getFeatures(){return this._get("get-features")}get getDefinition(){return this._get("get-definition")}}
|
|
@@ -6,6 +6,7 @@ import { OperationRegistry } from "../OperationRegistry.js";
|
|
|
6
6
|
* @deprecated
|
|
7
7
|
*/
|
|
8
8
|
export declare class DebugConsoleOperations extends OperationRegistry {
|
|
9
|
+
protected readonly _prefix = "debug-console";
|
|
9
10
|
/**
|
|
10
11
|
* Displays the Debug Console. Deprecated; use log-viewer.display instead.
|
|
11
12
|
* Mobile only.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{OperationRegistry as e}from"../OperationRegistry.js";export class DebugConsoleOperations extends e{get display(){return this.
|
|
1
|
+
import{OperationRegistry as e}from"../OperationRegistry.js";export class DebugConsoleOperations extends e{constructor(){super(...arguments),this._prefix="debug-console"}get display(){return this._get("display")}get close(){return this._get("close")}}
|
|
@@ -6,6 +6,7 @@ import { EventRegistry } from "../EventRegistry.js";
|
|
|
6
6
|
export interface DeviceOrientationChangedEventArgs {
|
|
7
7
|
}
|
|
8
8
|
export declare class DeviceEvents extends EventRegistry {
|
|
9
|
+
protected readonly _prefix = "device";
|
|
9
10
|
/**
|
|
10
11
|
* Raised when the device's orientation changes. Mobile only.
|
|
11
12
|
*
|