@vertigis/viewer-spec 50.5.0 → 50.5.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/README.md +1 -1
- package/analytics/AnalyticsContext.d.ts +2 -1
- package/analytics/CommonAction.d.ts +2 -1
- package/analytics/MobileAction.d.ts +6 -3
- package/app-config/AppConfig.d.ts +11 -8
- package/app-config/common/BrandingThemeProperties.d.ts +4 -2
- package/app-config/common/HighlightModelProperties.d.ts +4 -2
- package/app-config/common/LayerPresetsModelProperties.d.ts +2 -1
- package/app-config/common/LicensingModelProperties.d.ts +1 -1
- package/app-config/common/ResultsModelProperties.d.ts +2 -1
- package/app-config/common/TranslatableText.d.ts +2 -1
- package/app-config/common/WorkflowModelProperties.d.ts +4 -2
- package/app-config/mobile/FeatureDetailsModelProperties.d.ts +4 -2
- package/app-config/mobile/VertigisMobileModelProperties.d.ts +4 -3
- 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 -1
- package/app-config/web/DrawModelProperties.d.ts +2 -1
- package/app-config/web/HasVisibilityFilters.d.ts +2 -1
- package/app-config/web/KpiCardModelProperties.d.ts +2 -1
- package/app-config/web/MapCoordinatesModelProperties.d.ts +2 -1
- package/app-config/web/MapModelProperties.d.ts +4 -2
- package/app-config/web/MeasurementModelProperties.d.ts +2 -1
- package/app-config/web/PortalModelProperties.d.ts +2 -1
- package/app-config/web/ResultsModelProperties.d.ts +4 -2
- package/app-config/web/SearchModelProperties.d.ts +2 -1
- package/app-config/web/VertigisWebModelProperties.d.ts +6 -3
- package/docs/Geocortex Apps.md +8 -8
- package/docs/layout-spec.md +105 -94
- package/layout/schema/layout-common.xsd +1 -1
- package/layout/schema/layout-web.xsd +1 -1
- package/messaging/Command.d.ts +4 -2
- package/messaging/Event.d.ts +4 -2
- package/messaging/Message.d.ts +2 -1
- package/messaging/Operation.d.ts +4 -2
- package/messaging/common.d.ts +12 -6
- package/messaging/registry/app.d.ts +12 -6
- package/messaging/registry/arcade.d.ts +6 -3
- package/messaging/registry/auth.d.ts +12 -7
- package/messaging/registry/basemap.d.ts +2 -1
- package/messaging/registry/drawing.d.ts +8 -4
- package/messaging/registry/edit.d.ts +6 -3
- package/messaging/registry/file.d.ts +2 -1
- package/messaging/registry/geocode.d.ts +8 -5
- package/messaging/registry/geolocation.d.ts +20 -11
- package/messaging/registry/geometry.d.ts +10 -5
- package/messaging/registry/kpi.d.ts +4 -2
- package/messaging/registry/layout.d.ts +2 -1
- package/messaging/registry/location-marker.d.ts +10 -5
- package/messaging/registry/map.d.ts +15 -8
- package/messaging/registry/measurement.d.ts +4 -2
- package/messaging/registry/messaging.d.ts +1 -1
- package/messaging/registry/offline.d.ts +16 -9
- package/messaging/registry/panel.d.ts +2 -1
- package/messaging/registry/portal.d.ts +8 -4
- package/messaging/registry/printing.d.ts +4 -2
- package/messaging/registry/results.d.ts +19 -10
- package/messaging/registry/settings.d.ts +4 -2
- package/messaging/registry/sketching.d.ts +38 -26
- package/messaging/registry/tasks.d.ts +7 -4
- package/messaging/registry/ui.d.ts +14 -7
- package/messaging/registry/viewer.d.ts +2 -1
- package/messaging/registry/workflow.d.ts +6 -3
- package/messaging/schema/common-action.schema.json +269 -236
- package/messaging/schema/common-event.schema.json +118 -122
- package/messaging/schema/mobile-action.schema.json +266 -233
- package/messaging/schema/mobile-event.schema.json +146 -153
- package/messaging/schema/web-action.schema.json +305 -269
- package/messaging/schema/web-event.schema.json +144 -151
- package/package.json +17 -17
- package/version.d.ts +2 -2
- package/version.js +2 -2
package/README.md
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
#
|
|
1
|
+
# VertiGIS Viewer Specification
|
|
2
2
|
|
|
3
3
|
This package contains specifications for app config JSON, layout XML, and a reference of all commands, operations, and events for VertiGIS Studio Web and Mobile. For more information on extending these products, visit our [Developer Center](https://developers.vertigisstudio.com).
|
|
@@ -32,7 +32,8 @@ export declare type CommonAction =
|
|
|
32
32
|
*/
|
|
33
33
|
| "bookmark-update"
|
|
34
34
|
/**
|
|
35
|
-
* Map action, if the bookmark is admin-defined in a map. Payload: bookmark
|
|
35
|
+
* Map action, if the bookmark is admin-defined in a map. Payload: bookmark
|
|
36
|
+
* title.
|
|
36
37
|
*/
|
|
37
38
|
| "bookmark-view"
|
|
38
39
|
/**
|
|
@@ -89,7 +89,8 @@ export declare type MobileAction = CommonAction
|
|
|
89
89
|
*/
|
|
90
90
|
| "settings-log-level-set"
|
|
91
91
|
/**
|
|
92
|
-
* Generic action. Payload: boolean value indicating if setting is set to
|
|
92
|
+
* Generic action. Payload: boolean value indicating if setting is set to
|
|
93
|
+
* true.
|
|
93
94
|
*/
|
|
94
95
|
| "settings-measurement-system-set"
|
|
95
96
|
/**
|
|
@@ -97,11 +98,13 @@ export declare type MobileAction = CommonAction
|
|
|
97
98
|
*/
|
|
98
99
|
| "settings-photo-quality-set"
|
|
99
100
|
/**
|
|
100
|
-
* Generic action. Payload: boolean value indicating if setting is set to
|
|
101
|
+
* Generic action. Payload: boolean value indicating if setting is set to
|
|
102
|
+
* true.
|
|
101
103
|
*/
|
|
102
104
|
| "settings-remember-layer-visibility-set"
|
|
103
105
|
/**
|
|
104
|
-
* Generic action. Payload: boolean value indicating if setting is set to
|
|
106
|
+
* Generic action. Payload: boolean value indicating if setting is set to
|
|
107
|
+
* true.
|
|
105
108
|
*/
|
|
106
109
|
| "settings-remember-map-extent-set"
|
|
107
110
|
/**
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import type { FailureMode } from "@vertigis/arcgis-extensions/FailureMode";
|
|
2
2
|
import type { ItemConfig } from "./ItemConfig.js";
|
|
3
3
|
/**
|
|
4
|
-
* The most recent
|
|
4
|
+
* The most recent VertiGIS Studio App configuration schema version supported by
|
|
5
|
+
* this API.
|
|
5
6
|
*/
|
|
6
7
|
export declare const CURRENT_SCHEMA_VERSION = "1.0";
|
|
7
8
|
/**
|
|
8
|
-
* Configuration for a
|
|
9
|
-
* the items and settings used by
|
|
10
|
-
* within an App (e.g. menus, layer extensions, web maps, etc.)
|
|
11
|
-
* by loading the App configuration into an {@link AppContainer}
|
|
12
|
-
* {@link AppContainer.get} method.
|
|
9
|
+
* Configuration for a VertiGIS Studio App. An App is a portable format for
|
|
10
|
+
* describing the items and settings used by VertiGIS Studio applications. Items
|
|
11
|
+
* that are defined within an App (e.g. menus, layer extensions, web maps, etc.)
|
|
12
|
+
* can be retrieved by loading the App configuration into an {@link AppContainer}
|
|
13
|
+
* and using its {@link AppContainer.get} method.
|
|
13
14
|
*/
|
|
14
15
|
export interface AppConfig {
|
|
15
16
|
/**
|
|
@@ -18,7 +19,8 @@ export interface AppConfig {
|
|
|
18
19
|
*/
|
|
19
20
|
schemaVersion: string;
|
|
20
21
|
/**
|
|
21
|
-
* Specifies zero or more App configurations that are imported into this
|
|
22
|
+
* Specifies zero or more App configurations that are imported into this
|
|
23
|
+
* one.
|
|
22
24
|
*
|
|
23
25
|
* Imports are processed in the order specified, followed by items and
|
|
24
26
|
* settings that are locally defined in this AppConfig. If the same item is
|
|
@@ -36,7 +38,8 @@ export interface AppConfig {
|
|
|
36
38
|
[setting: string]: string | number | boolean;
|
|
37
39
|
};
|
|
38
40
|
/**
|
|
39
|
-
* User-defined failure modes for particular items. Items are referenced by
|
|
41
|
+
* User-defined failure modes for particular items. Items are referenced by
|
|
42
|
+
* item uri.
|
|
40
43
|
*/
|
|
41
44
|
failureModes?: {
|
|
42
45
|
[itemUri: string]: FailureMode;
|
|
@@ -15,7 +15,8 @@ export interface BrandingThemeProperties {
|
|
|
15
15
|
*/
|
|
16
16
|
id: string;
|
|
17
17
|
/**
|
|
18
|
-
* The accent color used to generate this theme, if it was automatically
|
|
18
|
+
* The accent color used to generate this theme, if it was automatically
|
|
19
|
+
* generated.
|
|
19
20
|
*/
|
|
20
21
|
accentColor?: Color | ColorJson;
|
|
21
22
|
/**
|
|
@@ -27,7 +28,8 @@ export interface BrandingThemeProperties {
|
|
|
27
28
|
*/
|
|
28
29
|
title: string;
|
|
29
30
|
/**
|
|
30
|
-
* The template used to generate this theme, if it was automatically
|
|
31
|
+
* The template used to generate this theme, if it was automatically
|
|
32
|
+
* generated.
|
|
31
33
|
*/
|
|
32
34
|
template?: BrandingThemeTemplate;
|
|
33
35
|
}
|
|
@@ -18,7 +18,8 @@ export interface HighlightModelProperties extends ServiceModelProperties {
|
|
|
18
18
|
/**
|
|
19
19
|
* The color used for rendering highlight graphics on a map. A different
|
|
20
20
|
* border color for highlight graphics will be derived from this color
|
|
21
|
-
* value. If this property is undefined, no highlight graphics will get
|
|
21
|
+
* value. If this property is undefined, no highlight graphics will get
|
|
22
|
+
* rendered.
|
|
22
23
|
*/
|
|
23
24
|
highlightColor?: Color | ColorJson;
|
|
24
25
|
/**
|
|
@@ -39,7 +40,8 @@ export interface HighlightModelProperties extends ServiceModelProperties {
|
|
|
39
40
|
focusColor?: Color | ColorJson;
|
|
40
41
|
/**
|
|
41
42
|
* The symbol properties used for rendering a focus marker on the map. If
|
|
42
|
-
* this property is undefined, no markers will be rendered for in-scale
|
|
43
|
+
* this property is undefined, no markers will be rendered for in-scale
|
|
44
|
+
* focusing.
|
|
43
45
|
*/
|
|
44
46
|
focusMarkerSymbol?: Symbol | SymbolJson;
|
|
45
47
|
/**
|
|
@@ -7,7 +7,8 @@ import type { ComponentModelProperties } from "./ComponentModelProperties.js";
|
|
|
7
7
|
export interface LayerPresetsModelProperties extends ComponentModelProperties {
|
|
8
8
|
/**
|
|
9
9
|
* A collection of layer presets. Each element can be a reference to an
|
|
10
|
-
* existing 'layer-preset' item, or inline JSON defining a layer-preset
|
|
10
|
+
* existing 'layer-preset' item, or inline JSON defining a layer-preset
|
|
11
|
+
* item.
|
|
11
12
|
*/
|
|
12
13
|
layerPresets?: (ItemRef | LayerPresetProperties)[];
|
|
13
14
|
}
|
|
@@ -4,7 +4,7 @@ import type { ModelProperties } from "./ModelProperties.js";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface LicensingModelProperties extends ModelProperties {
|
|
6
6
|
/**
|
|
7
|
-
* The organization's
|
|
7
|
+
* The organization's VertiGIS Studio account ID.
|
|
8
8
|
*/
|
|
9
9
|
accountId?: string;
|
|
10
10
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { ComponentModelProperties } from "./ComponentModelProperties.js";
|
|
2
2
|
import type { ItemRef } from "./ItemRef.js";
|
|
3
3
|
/**
|
|
4
|
-
* Configuration for a results component (e.g. results list or results table in
|
|
4
|
+
* Configuration for a results component (e.g. results list or results table in
|
|
5
|
+
* Web).
|
|
5
6
|
*/
|
|
6
7
|
export interface ResultsModelProperties extends ComponentModelProperties {
|
|
7
8
|
/**
|
|
@@ -21,7 +21,8 @@ export interface TranslateOptions extends FormatSettings {
|
|
|
21
21
|
locale?: string;
|
|
22
22
|
/**
|
|
23
23
|
* The values to substitute into the format string if it contains
|
|
24
|
-
* substitution placeholders (see utilities/string/format in
|
|
24
|
+
* substitution placeholders (see utilities/string/format in ArcGIS
|
|
25
|
+
* Extensions API).
|
|
25
26
|
*/
|
|
26
27
|
args?: unknown[];
|
|
27
28
|
}
|
|
@@ -24,7 +24,8 @@ export interface WorkflowModelProperties extends ComponentModelProperties {
|
|
|
24
24
|
* The layout ID of the workflow component to use for any workflow forms, or
|
|
25
25
|
* the ID of a container component like taskbar, panel, stack, etc. In the
|
|
26
26
|
* latter case, a new workflow component will be created dynamically as a
|
|
27
|
-
* child of the targeted container, and removed when the workflow finishes
|
|
27
|
+
* child of the targeted container, and removed when the workflow finishes
|
|
28
|
+
* running.
|
|
28
29
|
*/
|
|
29
30
|
target?: string;
|
|
30
31
|
/**
|
|
@@ -32,7 +33,8 @@ export interface WorkflowModelProperties extends ComponentModelProperties {
|
|
|
32
33
|
*/
|
|
33
34
|
portalItem?: PortalItemLike;
|
|
34
35
|
/**
|
|
35
|
-
* The name of the workflow input parameter that the command's context will
|
|
36
|
+
* The name of the workflow input parameter that the command's context will
|
|
37
|
+
* map to.
|
|
36
38
|
*/
|
|
37
39
|
commandArgumentInput?: string;
|
|
38
40
|
/**
|
|
@@ -9,11 +9,13 @@ export interface FeatureDetailsModelProperties extends CommonFeatureDetailsModel
|
|
|
9
9
|
*/
|
|
10
10
|
maxAttachmentSize?: number;
|
|
11
11
|
/**
|
|
12
|
-
* The action to perform when delete is called from the feature details
|
|
12
|
+
* The action to perform when delete is called from the feature details
|
|
13
|
+
* view.
|
|
13
14
|
*/
|
|
14
15
|
onFeatureDelete?: Action;
|
|
15
16
|
/**
|
|
16
|
-
* The action to perform when delete is called from the feature details
|
|
17
|
+
* The action to perform when delete is called from the feature details
|
|
18
|
+
* view.
|
|
17
19
|
*/
|
|
18
20
|
onFeatureEdit?: Action;
|
|
19
21
|
/**
|
|
@@ -52,9 +52,10 @@ export interface VertigisMobileModelProperties extends ApplicationModelPropertie
|
|
|
52
52
|
privacyPolicyUrl?: string;
|
|
53
53
|
/**
|
|
54
54
|
* An optional URL specifying the endpoint of a Portal app item containing
|
|
55
|
-
* the latest version of the app configuration. Upon launching the
|
|
56
|
-
* Mobile Viewer, the referenced remote app configuration will be
|
|
57
|
-
* and loaded if it is more recent than the embedded or cached
|
|
55
|
+
* the latest version of the app configuration. Upon launching the VertiGIS
|
|
56
|
+
* Studio Mobile Viewer, the referenced remote app configuration will be
|
|
57
|
+
* downloaded and loaded if it is more recent than the embedded or cached
|
|
58
|
+
* app configuration.
|
|
58
59
|
*/
|
|
59
60
|
remoteConfigUrl?: string;
|
|
60
61
|
/**
|