@vertigis/viewer-spec 42.10.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/LICENSE +5 -0
- package/README.md +3 -0
- package/app-config/AppConfig.d.ts +55 -0
- package/app-config/AppConfig.js +1 -0
- package/app-config/ItemConfig.d.ts +18 -0
- package/app-config/ItemConfig.js +1 -0
- package/app-config/common/BasemapPickerModelProperties.d.ts +6 -0
- package/app-config/common/BasemapPickerModelProperties.js +1 -0
- package/app-config/common/BookmarksModelProperties.d.ts +17 -0
- package/app-config/common/BookmarksModelProperties.js +1 -0
- package/app-config/common/BrandingColors.d.ts +94 -0
- package/app-config/common/BrandingColors.js +1 -0
- package/app-config/common/BrandingModelProperties.d.ts +23 -0
- package/app-config/common/BrandingModelProperties.js +1 -0
- package/app-config/common/BrandingThemeProperties.d.ts +35 -0
- package/app-config/common/BrandingThemeProperties.js +1 -0
- package/app-config/common/CompassModelProperties.d.ts +6 -0
- package/app-config/common/CompassModelProperties.js +1 -0
- package/app-config/common/ComponentModelProperties.d.ts +14 -0
- package/app-config/common/ComponentModelProperties.js +1 -0
- package/app-config/common/CoordinateModelProperties.d.ts +34 -0
- package/app-config/common/CoordinateModelProperties.js +1 -0
- package/app-config/common/DialogModelProperties.d.ts +6 -0
- package/app-config/common/DialogModelProperties.js +1 -0
- package/app-config/common/ExpandModelProperties.d.ts +6 -0
- package/app-config/common/ExpandModelProperties.js +1 -0
- package/app-config/common/FeatureDetailsModelProperties.d.ts +27 -0
- package/app-config/common/FeatureDetailsModelProperties.js +1 -0
- package/app-config/common/GeolocationModelProperties.d.ts +6 -0
- package/app-config/common/GeolocationModelProperties.js +1 -0
- package/app-config/common/HighlightModelProperties.d.ts +69 -0
- package/app-config/common/HighlightModelProperties.js +1 -0
- package/app-config/common/ImageModelProperties.d.ts +14 -0
- package/app-config/common/ImageModelProperties.js +1 -0
- package/app-config/common/ItemRef.d.ts +4 -0
- package/app-config/common/ItemRef.js +1 -0
- package/app-config/common/LayerListModelProperties.d.ts +12 -0
- package/app-config/common/LayerListModelProperties.js +1 -0
- package/app-config/common/LayerPresetsModelProperties.d.ts +14 -0
- package/app-config/common/LayerPresetsModelProperties.js +1 -0
- package/app-config/common/LayoutProperties.d.ts +33 -0
- package/app-config/common/LayoutProperties.js +1 -0
- package/app-config/common/LegendModelProperties.d.ts +6 -0
- package/app-config/common/LegendModelProperties.js +1 -0
- package/app-config/common/LicensingModelProperties.d.ts +10 -0
- package/app-config/common/LicensingModelProperties.js +1 -0
- package/app-config/common/MapCoordinatesModelProperties.d.ts +6 -0
- package/app-config/common/MapCoordinatesModelProperties.js +1 -0
- package/app-config/common/MapModelProperties.d.ts +7 -0
- package/app-config/common/MapModelProperties.js +1 -0
- package/app-config/common/MenuModelProperties.d.ts +13 -0
- package/app-config/common/MenuModelProperties.js +1 -0
- package/app-config/common/ModelProperties.d.ts +6 -0
- package/app-config/common/ModelProperties.js +1 -0
- package/app-config/common/PanelModelProperties.d.ts +6 -0
- package/app-config/common/PanelModelProperties.js +1 -0
- package/app-config/common/RegionModelProperties.d.ts +26 -0
- package/app-config/common/RegionModelProperties.js +1 -0
- package/app-config/common/ResultsModelProperties.d.ts +12 -0
- package/app-config/common/ResultsModelProperties.js +1 -0
- package/app-config/common/ScalebarModelProperties.d.ts +6 -0
- package/app-config/common/ScalebarModelProperties.js +1 -0
- package/app-config/common/SearchModelProperties.d.ts +26 -0
- package/app-config/common/SearchModelProperties.js +1 -0
- package/app-config/common/ServiceModelProperties.d.ts +6 -0
- package/app-config/common/ServiceModelProperties.js +1 -0
- package/app-config/common/SplitModelProperties.d.ts +6 -0
- package/app-config/common/SplitModelProperties.js +1 -0
- package/app-config/common/StackModelProperties.d.ts +6 -0
- package/app-config/common/StackModelProperties.js +1 -0
- package/app-config/common/TextModelProperties.d.ts +10 -0
- package/app-config/common/TextModelProperties.js +1 -0
- package/app-config/common/TranslatableText.d.ts +27 -0
- package/app-config/common/TranslatableText.js +1 -0
- package/app-config/common/UserModelProperties.d.ts +6 -0
- package/app-config/common/UserModelProperties.js +1 -0
- package/app-config/common/WorkflowEventsProperties.d.ts +11 -0
- package/app-config/common/WorkflowEventsProperties.js +1 -0
- package/app-config/common/WorkflowModelProperties.d.ts +44 -0
- package/app-config/common/WorkflowModelProperties.js +1 -0
- package/app-config/common/ZoomModelProperties.d.ts +6 -0
- package/app-config/common/ZoomModelProperties.js +1 -0
- package/app-config/common/colors.d.ts +6 -0
- package/app-config/common/colors.js +1 -0
- package/app-config/index.d.ts +2 -0
- package/app-config/index.js +1 -0
- package/app-config/mobile/AddFeatureModelProperties.d.ts +6 -0
- package/app-config/mobile/AddFeatureModelProperties.js +1 -0
- package/app-config/mobile/AddRelatedFeatureModelProperties.d.ts +6 -0
- package/app-config/mobile/AddRelatedFeatureModelProperties.js +1 -0
- package/app-config/mobile/BasemapModelProperties.d.ts +11 -0
- package/app-config/mobile/BasemapModelProperties.js +1 -0
- package/app-config/mobile/FeatureDetailsModelProperties.d.ts +23 -0
- package/app-config/mobile/FeatureDetailsModelProperties.js +1 -0
- package/app-config/mobile/GeometryToolbarModelProperties.d.ts +6 -0
- package/app-config/mobile/GeometryToolbarModelProperties.js +1 -0
- package/app-config/mobile/GnssDeviceSelectionModelProperties.d.ts +6 -0
- package/app-config/mobile/GnssDeviceSelectionModelProperties.js +1 -0
- package/app-config/mobile/GnssDeviceSettingsModelProperties.d.ts +6 -0
- package/app-config/mobile/GnssDeviceSettingsModelProperties.js +1 -0
- package/app-config/mobile/GnssMetadataModelProperties.d.ts +6 -0
- package/app-config/mobile/GnssMetadataModelProperties.js +1 -0
- package/app-config/mobile/MapModelProperties.d.ts +45 -0
- package/app-config/mobile/MapModelProperties.js +1 -0
- package/app-config/mobile/OfflineModelProperties.d.ts +48 -0
- package/app-config/mobile/OfflineModelProperties.js +1 -0
- package/app-config/mobile/PortalExtensionSettingsProperties.d.ts +27 -0
- package/app-config/mobile/PortalExtensionSettingsProperties.js +1 -0
- package/app-config/mobile/ScrollModelProperties.d.ts +6 -0
- package/app-config/mobile/ScrollModelProperties.js +1 -0
- package/app-config/mobile/SelectLayerSettingsModelProperties.d.ts +11 -0
- package/app-config/mobile/SelectLayerSettingsModelProperties.js +1 -0
- package/app-config/mobile/TaskbarModelProperties.d.ts +6 -0
- package/app-config/mobile/TaskbarModelProperties.js +1 -0
- package/app-config/mobile/UpdateFeatureModelProperties.d.ts +6 -0
- package/app-config/mobile/UpdateFeatureModelProperties.js +1 -0
- package/app-config/mobile/VertigisMobileModelProperties.d.ts +65 -0
- package/app-config/mobile/VertigisMobileModelProperties.js +1 -0
- package/app-config/schema/common-app-config.schema.json +1 -0
- package/app-config/schema/mobile-app-config.schema.json +1 -0
- package/app-config/schema/web-app-config.schema.json +1 -0
- package/app-config/web/AddressModelProperties.d.ts +6 -0
- package/app-config/web/AddressModelProperties.js +1 -0
- package/app-config/web/BasemapPickerModelProperties.d.ts +7 -0
- package/app-config/web/BasemapPickerModelProperties.js +1 -0
- package/app-config/web/BookmarksModelProperties.d.ts +7 -0
- package/app-config/web/BookmarksModelProperties.js +1 -0
- package/app-config/web/BrandingModelProperties.d.ts +14 -0
- package/app-config/web/BrandingModelProperties.js +1 -0
- package/app-config/web/ChartModelProperties.d.ts +58 -0
- package/app-config/web/ChartModelProperties.js +1 -0
- package/app-config/web/CompassModelProperties.d.ts +7 -0
- package/app-config/web/CompassModelProperties.js +1 -0
- package/app-config/web/ComponentModelProperties.d.ts +12 -0
- package/app-config/web/ComponentModelProperties.js +1 -0
- package/app-config/web/CoordinateModelProperties.d.ts +7 -0
- package/app-config/web/CoordinateModelProperties.js +1 -0
- package/app-config/web/DialogModelProperties.d.ts +7 -0
- package/app-config/web/DialogModelProperties.js +1 -0
- package/app-config/web/DrawModelProperties.d.ts +102 -0
- package/app-config/web/DrawModelProperties.js +1 -0
- package/app-config/web/FeatureDetailsModelProperties.d.ts +12 -0
- package/app-config/web/FeatureDetailsModelProperties.js +1 -0
- package/app-config/web/FeatureInfoModelProperties.d.ts +22 -0
- package/app-config/web/FeatureInfoModelProperties.js +1 -0
- package/app-config/web/FeatureListProperties.d.ts +12 -0
- package/app-config/web/FeatureListProperties.js +1 -0
- package/app-config/web/FeatureSetProperties.d.ts +16 -0
- package/app-config/web/FeatureSetProperties.js +1 -0
- package/app-config/web/FeatureSummaryModelProperties.d.ts +22 -0
- package/app-config/web/FeatureSummaryModelProperties.js +1 -0
- package/app-config/web/GeolocationModelProperties.d.ts +7 -0
- package/app-config/web/GeolocationModelProperties.js +1 -0
- package/app-config/web/GeometryModelProperties.d.ts +27 -0
- package/app-config/web/GeometryModelProperties.js +1 -0
- package/app-config/web/HasVisibilityFilters.d.ts +35 -0
- package/app-config/web/HasVisibilityFilters.js +1 -0
- package/app-config/web/ImageModelProperties.d.ts +7 -0
- package/app-config/web/ImageModelProperties.js +1 -0
- package/app-config/web/KpiCardModelProperties.d.ts +145 -0
- package/app-config/web/KpiCardModelProperties.js +1 -0
- package/app-config/web/LayerListModelProperties.d.ts +7 -0
- package/app-config/web/LayerListModelProperties.js +1 -0
- package/app-config/web/LayerPresetsModelProperties.d.ts +7 -0
- package/app-config/web/LayerPresetsModelProperties.js +1 -0
- package/app-config/web/LegendModelProperties.d.ts +7 -0
- package/app-config/web/LegendModelProperties.js +1 -0
- package/app-config/web/Map3dToggleModelProperties.d.ts +6 -0
- package/app-config/web/Map3dToggleModelProperties.js +1 -0
- package/app-config/web/MapCoordinatesModelProperties.d.ts +43 -0
- package/app-config/web/MapCoordinatesModelProperties.js +1 -0
- package/app-config/web/MapModelProperties.d.ts +81 -0
- package/app-config/web/MapModelProperties.js +1 -0
- package/app-config/web/MeasurementModelProperties.d.ts +36 -0
- package/app-config/web/MeasurementModelProperties.js +1 -0
- package/app-config/web/MenuItemModelProperties.d.ts +7 -0
- package/app-config/web/MenuItemModelProperties.js +1 -0
- package/app-config/web/MenuModelProperties.d.ts +13 -0
- package/app-config/web/MenuModelProperties.js +1 -0
- package/app-config/web/ModelProperties.d.ts +7 -0
- package/app-config/web/ModelProperties.js +1 -0
- package/app-config/web/PanelModelProperties.d.ts +7 -0
- package/app-config/web/PanelModelProperties.js +1 -0
- package/app-config/web/PortalModelProperties.d.ts +10 -0
- package/app-config/web/PortalModelProperties.js +1 -0
- package/app-config/web/PrintFormModelProperties.d.ts +42 -0
- package/app-config/web/PrintFormModelProperties.js +1 -0
- package/app-config/web/ReportModelProperties.d.ts +15 -0
- package/app-config/web/ReportModelProperties.js +1 -0
- package/app-config/web/ResultsModelProperties.d.ts +93 -0
- package/app-config/web/ResultsModelProperties.js +1 -0
- package/app-config/web/ScaleInputModelProperties.d.ts +6 -0
- package/app-config/web/ScaleInputModelProperties.js +1 -0
- package/app-config/web/ScalebarModelProperties.d.ts +22 -0
- package/app-config/web/ScalebarModelProperties.js +1 -0
- package/app-config/web/SearchModelProperties.d.ts +22 -0
- package/app-config/web/SearchModelProperties.js +1 -0
- package/app-config/web/SplitModelProperties.d.ts +7 -0
- package/app-config/web/SplitModelProperties.js +1 -0
- package/app-config/web/StackModelProperties.d.ts +7 -0
- package/app-config/web/StackModelProperties.js +1 -0
- package/app-config/web/TabsModelProperties.d.ts +6 -0
- package/app-config/web/TabsModelProperties.js +1 -0
- package/app-config/web/TextModelProperties.d.ts +7 -0
- package/app-config/web/TextModelProperties.js +1 -0
- package/app-config/web/UserModelProperties.d.ts +12 -0
- package/app-config/web/UserModelProperties.js +1 -0
- package/app-config/web/UserPreferencesModelProperties.d.ts +10 -0
- package/app-config/web/UserPreferencesModelProperties.js +1 -0
- package/app-config/web/VertigisWebModelProperties.d.ts +84 -0
- package/app-config/web/VertigisWebModelProperties.js +1 -0
- package/app-config/web/WorkflowModelProperties.d.ts +7 -0
- package/app-config/web/WorkflowModelProperties.js +1 -0
- package/app-config/web/ZoomModelProperties.d.ts +7 -0
- package/app-config/web/ZoomModelProperties.js +1 -0
- package/docs/Geocortex Apps.md +311 -0
- package/docs/layout-spec.md +720 -0
- package/docs/presentation.md +98 -0
- package/layout/schema/layout-common.xsd +849 -0
- package/layout/schema/layout-mobile.xsd +256 -0
- package/layout/schema/layout-web.xsd +248 -0
- package/layout/schema/schema-reference-example.xml +14 -0
- package/messaging/Command.d.ts +74 -0
- package/messaging/Command.js +1 -0
- package/messaging/CommandRegistry.d.ts +13 -0
- package/messaging/CommandRegistry.js +1 -0
- package/messaging/Event.d.ts +25 -0
- package/messaging/Event.js +1 -0
- package/messaging/EventRegistry.d.ts +13 -0
- package/messaging/EventRegistry.js +1 -0
- package/messaging/Message.d.ts +23 -0
- package/messaging/Message.js +1 -0
- package/messaging/MessageBus.d.ts +54 -0
- package/messaging/MessageBus.js +1 -0
- package/messaging/Operation.d.ts +53 -0
- package/messaging/Operation.js +1 -0
- package/messaging/OperationRegistry.d.ts +13 -0
- package/messaging/OperationRegistry.js +1 -0
- package/messaging/common.d.ts +246 -0
- package/messaging/common.js +1 -0
- package/messaging/mobile.d.ts +13 -0
- package/messaging/mobile.js +1 -0
- package/messaging/registry/Commands.d.ts +65 -0
- package/messaging/registry/Commands.js +1 -0
- package/messaging/registry/Events.d.ts +53 -0
- package/messaging/registry/Events.js +1 -0
- package/messaging/registry/Operations.d.ts +54 -0
- package/messaging/registry/Operations.js +1 -0
- package/messaging/registry/app-config.d.ts +11 -0
- package/messaging/registry/app-config.js +1 -0
- package/messaging/registry/app.d.ts +136 -0
- package/messaging/registry/app.js +1 -0
- package/messaging/registry/auth.d.ts +125 -0
- package/messaging/registry/auth.js +1 -0
- package/messaging/registry/basemap.d.ts +52 -0
- package/messaging/registry/basemap.js +1 -0
- package/messaging/registry/charts.d.ts +78 -0
- package/messaging/registry/charts.js +1 -0
- package/messaging/registry/debugConsole.d.ts +24 -0
- package/messaging/registry/debugConsole.js +1 -0
- package/messaging/registry/device.d.ts +15 -0
- package/messaging/registry/device.js +1 -0
- package/messaging/registry/display.d.ts +16 -0
- package/messaging/registry/display.js +1 -0
- package/messaging/registry/drawing.d.ts +126 -0
- package/messaging/registry/drawing.js +1 -0
- package/messaging/registry/edit.d.ts +123 -0
- package/messaging/registry/edit.js +1 -0
- package/messaging/registry/file.d.ts +58 -0
- package/messaging/registry/file.js +1 -0
- package/messaging/registry/geocode.d.ts +91 -0
- package/messaging/registry/geocode.js +1 -0
- package/messaging/registry/geolocation.d.ts +268 -0
- package/messaging/registry/geolocation.js +1 -0
- package/messaging/registry/geometry-toolbar.d.ts +28 -0
- package/messaging/registry/geometry-toolbar.js +1 -0
- package/messaging/registry/geometry.d.ts +101 -0
- package/messaging/registry/geometry.js +1 -0
- package/messaging/registry/highlights.d.ts +83 -0
- package/messaging/registry/highlights.js +1 -0
- package/messaging/registry/input.d.ts +21 -0
- package/messaging/registry/input.js +1 -0
- package/messaging/registry/iwtm.d.ts +10 -0
- package/messaging/registry/iwtm.js +1 -0
- package/messaging/registry/kpi.d.ts +95 -0
- package/messaging/registry/kpi.js +1 -0
- package/messaging/registry/layer-comparison.d.ts +102 -0
- package/messaging/registry/layer-comparison.js +1 -0
- package/messaging/registry/layer-presets.d.ts +28 -0
- package/messaging/registry/layer-presets.js +1 -0
- package/messaging/registry/layers.d.ts +45 -0
- package/messaging/registry/layers.js +1 -0
- package/messaging/registry/layout.d.ts +48 -0
- package/messaging/registry/layout.js +1 -0
- package/messaging/registry/location-marker.d.ts +172 -0
- package/messaging/registry/location-marker.js +1 -0
- package/messaging/registry/logViewer.d.ts +16 -0
- package/messaging/registry/logViewer.js +1 -0
- package/messaging/registry/map.d.ts +893 -0
- package/messaging/registry/map.js +1 -0
- package/messaging/registry/measurement.d.ts +142 -0
- package/messaging/registry/measurement.js +1 -0
- package/messaging/registry/messaging.d.ts +22 -0
- package/messaging/registry/messaging.js +1 -0
- package/messaging/registry/network.d.ts +50 -0
- package/messaging/registry/network.js +1 -0
- package/messaging/registry/offline.d.ts +357 -0
- package/messaging/registry/offline.js +1 -0
- package/messaging/registry/panel.d.ts +93 -0
- package/messaging/registry/panel.js +1 -0
- package/messaging/registry/photos.d.ts +45 -0
- package/messaging/registry/photos.js +1 -0
- package/messaging/registry/portal.d.ts +47 -0
- package/messaging/registry/portal.js +1 -0
- package/messaging/registry/printing.d.ts +138 -0
- package/messaging/registry/printing.js +1 -0
- package/messaging/registry/region.d.ts +21 -0
- package/messaging/registry/region.js +1 -0
- package/messaging/registry/reports.d.ts +112 -0
- package/messaging/registry/reports.js +1 -0
- package/messaging/registry/results.d.ts +454 -0
- package/messaging/registry/results.js +1 -0
- package/messaging/registry/search.d.ts +51 -0
- package/messaging/registry/search.js +1 -0
- package/messaging/registry/sketching.d.ts +521 -0
- package/messaging/registry/sketching.js +1 -0
- package/messaging/registry/system.d.ts +117 -0
- package/messaging/registry/system.js +1 -0
- package/messaging/registry/tasks.d.ts +178 -0
- package/messaging/registry/tasks.js +1 -0
- package/messaging/registry/ui.d.ts +361 -0
- package/messaging/registry/ui.js +1 -0
- package/messaging/registry/viewer.d.ts +95 -0
- package/messaging/registry/viewer.js +1 -0
- package/messaging/registry/workflow.d.ts +134 -0
- package/messaging/registry/workflow.js +1 -0
- package/messaging/schema/common-action.schema.json +11130 -0
- package/messaging/schema/common-event.schema.json +7955 -0
- package/messaging/schema/mobile-action.schema.json +14328 -0
- package/messaging/schema/mobile-event.schema.json +9245 -0
- package/messaging/schema/web-action.schema.json +18896 -0
- package/messaging/schema/web-event.schema.json +8515 -0
- package/package.json +71 -0
- package/version.d.ts +4 -0
- package/version.js +4 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
VertiGIS North America Ltd. ("VERTIGIS NA") hereby grants You, free of charge, a personal, non-exclusive, nontransferable, license to access and use this software and associated documentation files (the "Software") for development purposes only. You shall not deploy the Software into production or use for revenue generating purposes. If You wish to deploy the Software into production, then the use of the Software shall be governed by VERTIGIS NA's Master License Agreement, which can be found at www.geocortex.com/legal and shall supersede all other terms of use.
|
|
2
|
+
|
|
3
|
+
You shall include copyright and this permission notice in all copies or works involving the Software.
|
|
4
|
+
|
|
5
|
+
You acknowledge and agree that Software is provided AS IS and that VERTIGIS NA makes no representations and expressly disclaims any and all warranties of any kind, express or implied, including, but not limited to, any warranties regarding merchantability, fitness for a particular purpose, and noninfringement of intellectual property. In no event shall VERTIGIS NA be liable for any claim, damages, or other liability, whether in contract, tort, or other causes of action, arising from, out of, or in connection with the Software or use or other dealings with the Software. You shall bear all risk and liability regarding Your use of the Software and expressly acknowledge and agree that Your use of the Software is at Your own risk. You shall comply with all applicable laws.
|
package/README.md
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
# Geocortex Viewer Specification
|
|
2
|
+
|
|
3
|
+
This package contains specifications for app config JSON, layout XML, and a reference of all commands, operations, and events for the Geocortex Web and Geocortex Mobile viewers. For more information on extending these products, visit our [Developer Center](https://developers.geocortex.com/).
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import type { FailureMode } from "@vertigis/arcgis-extensions/FailureMode";
|
|
2
|
+
import type { ItemConfig } from "./ItemConfig.js";
|
|
3
|
+
/**
|
|
4
|
+
* The most recent Geocortex App configuration schema version supported by this
|
|
5
|
+
* API.
|
|
6
|
+
*/
|
|
7
|
+
export declare const CURRENT_SCHEMA_VERSION = "1.0";
|
|
8
|
+
/**
|
|
9
|
+
* Configuration for a Geocortex App. An App is a portable format for describing
|
|
10
|
+
* the items and settings used by Geocortex applications. Items that are defined
|
|
11
|
+
* within an App (e.g. menus, layer extensions, web maps, etc.) can be retrieved
|
|
12
|
+
* by loading the App configuration into an {@link AppContainer} and using its
|
|
13
|
+
* {@link AppContainer.get} method.
|
|
14
|
+
*/
|
|
15
|
+
export interface AppConfig {
|
|
16
|
+
/**
|
|
17
|
+
* The version of the App configuration schema that is being used. Current
|
|
18
|
+
* version is available via the {@link CURRENT_SCHEMA_VERSION } constant.
|
|
19
|
+
*/
|
|
20
|
+
schemaVersion: string;
|
|
21
|
+
/**
|
|
22
|
+
* Specifies zero or more App configurations that are imported into this
|
|
23
|
+
* one.
|
|
24
|
+
*
|
|
25
|
+
* Imports are processed in the order specified, followed by items and
|
|
26
|
+
* settings that are locally defined in this AppConfig. If the same item is
|
|
27
|
+
* defined multiple times, then the items' properties will get merged in
|
|
28
|
+
* such a way that the later definitions will override earlier ones.
|
|
29
|
+
* Similarly if a setting is defined several times, then the most recent
|
|
30
|
+
* definition wins.
|
|
31
|
+
*/
|
|
32
|
+
import?: string[];
|
|
33
|
+
/**
|
|
34
|
+
* User-defined settings. These can be referenced via URIs in the form
|
|
35
|
+
* setting://setting-name.
|
|
36
|
+
*/
|
|
37
|
+
settings?: {
|
|
38
|
+
[setting: string]: string | number | boolean;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* User-defined failure modes for particular items. Items are referenced by
|
|
42
|
+
* item uri.
|
|
43
|
+
*/
|
|
44
|
+
failureModes?: {
|
|
45
|
+
[itemUri: string]: FailureMode;
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* The set of items defined in the App (order is irrelevant).
|
|
49
|
+
*/
|
|
50
|
+
items?: ItemConfig[];
|
|
51
|
+
/**
|
|
52
|
+
* A human-readable name for the App.
|
|
53
|
+
*/
|
|
54
|
+
title?: string;
|
|
55
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const CURRENT_SCHEMA_VERSION="1.0";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* An item in an {@link AppConfig}.
|
|
3
|
+
*/
|
|
4
|
+
export interface ItemConfig {
|
|
5
|
+
/**
|
|
6
|
+
* The item's type. See {@link ItemType}.
|
|
7
|
+
*/
|
|
8
|
+
$type?: string;
|
|
9
|
+
/**
|
|
10
|
+
* The item's ID. No two items of the same type within an App can have the
|
|
11
|
+
* same ID (however, items of different types can have the same ID).
|
|
12
|
+
*/
|
|
13
|
+
id?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Type-specific properties of the item.
|
|
16
|
+
*/
|
|
17
|
+
[properties: string]: unknown;
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { BookmarkProperties } from "@vertigis/arcgis-extensions/mapping/Bookmark";
|
|
2
|
+
import type { Action } from "@vertigis/arcgis-extensions/support/Action";
|
|
3
|
+
import type { ComponentModelProperties } from "./ComponentModelProperties.js";
|
|
4
|
+
import type { ItemRef } from "./ItemRef.js";
|
|
5
|
+
/**
|
|
6
|
+
* Configuration for a bookmarks component.
|
|
7
|
+
*/
|
|
8
|
+
export interface BookmarksModelProperties extends ComponentModelProperties {
|
|
9
|
+
/**
|
|
10
|
+
* The command to execute when the user clicks a bookmark.
|
|
11
|
+
*/
|
|
12
|
+
onClick?: Action;
|
|
13
|
+
/**
|
|
14
|
+
* User preferences bookmarks.
|
|
15
|
+
*/
|
|
16
|
+
userBookmarks?: (ItemRef | BookmarkProperties)[];
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import type { ColorConfig } from "./colors.js";
|
|
2
|
+
/**
|
|
3
|
+
* Configuration for a branding theme's colors.
|
|
4
|
+
*/
|
|
5
|
+
export interface BrandingColors {
|
|
6
|
+
accentIconBackground: ColorConfig;
|
|
7
|
+
accentIconBackgroundHover: ColorConfig;
|
|
8
|
+
accentIconBorder: ColorConfig;
|
|
9
|
+
accentIconBorderHover: ColorConfig;
|
|
10
|
+
accentIconForeground: ColorConfig;
|
|
11
|
+
accentIconForegroundHover: ColorConfig;
|
|
12
|
+
alertAmberBackground: ColorConfig;
|
|
13
|
+
alertAmberBackgroundHover: ColorConfig;
|
|
14
|
+
alertAmberBorder: ColorConfig;
|
|
15
|
+
alertAmberBorderHover: ColorConfig;
|
|
16
|
+
alertAmberForeground: ColorConfig;
|
|
17
|
+
alertAmberForegroundHover: ColorConfig;
|
|
18
|
+
alertAmberIcon: ColorConfig;
|
|
19
|
+
alertAmberIconHover: ColorConfig;
|
|
20
|
+
alertGrayBackground: ColorConfig;
|
|
21
|
+
alertGrayBackgroundHover: ColorConfig;
|
|
22
|
+
alertGrayBorder: ColorConfig;
|
|
23
|
+
alertGrayBorderHover: ColorConfig;
|
|
24
|
+
alertGrayForeground: ColorConfig;
|
|
25
|
+
alertGrayForegroundHover: ColorConfig;
|
|
26
|
+
alertGrayIcon: ColorConfig;
|
|
27
|
+
alertGrayIconHover: ColorConfig;
|
|
28
|
+
alertGreenBackground: ColorConfig;
|
|
29
|
+
alertGreenBackgroundHover: ColorConfig;
|
|
30
|
+
alertGreenBorder: ColorConfig;
|
|
31
|
+
alertGreenBorderHover: ColorConfig;
|
|
32
|
+
alertGreenForeground: ColorConfig;
|
|
33
|
+
alertGreenForegroundHover: ColorConfig;
|
|
34
|
+
alertGreenIcon: ColorConfig;
|
|
35
|
+
alertGreenIconHover: ColorConfig;
|
|
36
|
+
alertRedBackground: ColorConfig;
|
|
37
|
+
alertRedBackgroundHover: ColorConfig;
|
|
38
|
+
alertRedBorder: ColorConfig;
|
|
39
|
+
alertRedBorderHover: ColorConfig;
|
|
40
|
+
alertRedForeground: ColorConfig;
|
|
41
|
+
alertRedForegroundHover: ColorConfig;
|
|
42
|
+
alertRedIcon: ColorConfig;
|
|
43
|
+
alertRedIconHover: ColorConfig;
|
|
44
|
+
alertBackgroundDisabled: ColorConfig;
|
|
45
|
+
alertBorderDisabled: ColorConfig;
|
|
46
|
+
alertForegroundDisabled: ColorConfig;
|
|
47
|
+
alertIconDisabled: ColorConfig;
|
|
48
|
+
buttonBackground: ColorConfig;
|
|
49
|
+
buttonBackgroundDisabled: ColorConfig;
|
|
50
|
+
buttonBackgroundHover: ColorConfig;
|
|
51
|
+
buttonBorder: ColorConfig;
|
|
52
|
+
buttonBorderDisabled: ColorConfig;
|
|
53
|
+
buttonBorderHover: ColorConfig;
|
|
54
|
+
buttonForeground: ColorConfig;
|
|
55
|
+
buttonForegroundDisabled: ColorConfig;
|
|
56
|
+
buttonForegroundHover: ColorConfig;
|
|
57
|
+
buttonIcon: ColorConfig;
|
|
58
|
+
buttonIconDisabled: ColorConfig;
|
|
59
|
+
buttonIconHover: ColorConfig;
|
|
60
|
+
disabledIconFill: ColorConfig;
|
|
61
|
+
emphasizedButtonBackground: ColorConfig;
|
|
62
|
+
emphasizedButtonBackgroundDisabled: ColorConfig;
|
|
63
|
+
emphasizedButtonBackgroundHover: ColorConfig;
|
|
64
|
+
emphasizedButtonBorder: ColorConfig;
|
|
65
|
+
emphasizedButtonBorderDisabled: ColorConfig;
|
|
66
|
+
emphasizedButtonBorderHover: ColorConfig;
|
|
67
|
+
emphasizedButtonForeground: ColorConfig;
|
|
68
|
+
emphasizedButtonForegroundDisabled: ColorConfig;
|
|
69
|
+
emphasizedButtonForegroundHover: ColorConfig;
|
|
70
|
+
emphasizedButtonIcon: ColorConfig;
|
|
71
|
+
emphasizedButtonIconDisabled: ColorConfig;
|
|
72
|
+
emphasizedButtonIconHover: ColorConfig;
|
|
73
|
+
inlineTableHeaderBackground: ColorConfig;
|
|
74
|
+
inlineTableRowBackground: ColorConfig;
|
|
75
|
+
inlineTableBorder: ColorConfig;
|
|
76
|
+
inputBorder: ColorConfig;
|
|
77
|
+
itemSelectedBackground: ColorConfig;
|
|
78
|
+
itemHoverBackground: ColorConfig;
|
|
79
|
+
none: ColorConfig;
|
|
80
|
+
panelBorder: ColorConfig;
|
|
81
|
+
primaryAccent: ColorConfig;
|
|
82
|
+
primaryAccentDisabled: ColorConfig;
|
|
83
|
+
primaryAccentHover: ColorConfig;
|
|
84
|
+
primaryAccentLarge: ColorConfig;
|
|
85
|
+
primaryBackground: ColorConfig;
|
|
86
|
+
primaryBorder: ColorConfig;
|
|
87
|
+
primaryForeground: ColorConfig;
|
|
88
|
+
primaryForegroundDisabled: ColorConfig;
|
|
89
|
+
secondaryBackground: ColorConfig;
|
|
90
|
+
secondaryBorder: ColorConfig;
|
|
91
|
+
secondaryForeground: ColorConfig;
|
|
92
|
+
tabPrimaryForeground: ColorConfig;
|
|
93
|
+
tabSecondaryForeground: ColorConfig;
|
|
94
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { BrandingThemeProperties } from "./BrandingThemeProperties.js";
|
|
2
|
+
import type { ServiceModelProperties } from "./ServiceModelProperties.js";
|
|
3
|
+
/**
|
|
4
|
+
* Specifies the visual density of components in the application.
|
|
5
|
+
*/
|
|
6
|
+
export declare type UIDensity = "standard" | "compact";
|
|
7
|
+
/**
|
|
8
|
+
* Configuration.
|
|
9
|
+
*/
|
|
10
|
+
export interface BrandingModelProperties extends ServiceModelProperties {
|
|
11
|
+
/**
|
|
12
|
+
* The currently active theme.
|
|
13
|
+
*/
|
|
14
|
+
activeTheme?: string;
|
|
15
|
+
/**
|
|
16
|
+
* A list of configured themes.
|
|
17
|
+
*/
|
|
18
|
+
themes?: BrandingThemeProperties[];
|
|
19
|
+
/**
|
|
20
|
+
* Specifies the density of UI elements in the application.
|
|
21
|
+
*/
|
|
22
|
+
density?: UIDensity;
|
|
23
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type Color from "@arcgis/core/Color";
|
|
2
|
+
import type { Color as ColorJson } from "@vertigis/arcgis-extensions/portal/Symbol";
|
|
3
|
+
import type { BrandingColors } from "./BrandingColors.js";
|
|
4
|
+
/**
|
|
5
|
+
* The App Designer template that was used to generate a branding theme, if it
|
|
6
|
+
* was generated.
|
|
7
|
+
*/
|
|
8
|
+
export declare type BrandingThemeTemplate = "light" | "dark";
|
|
9
|
+
/**
|
|
10
|
+
* A branding theme specifies the look and feel of the viewer.
|
|
11
|
+
*/
|
|
12
|
+
export interface BrandingThemeProperties {
|
|
13
|
+
/**
|
|
14
|
+
* A unique ID for this theme.
|
|
15
|
+
*/
|
|
16
|
+
id: string;
|
|
17
|
+
/**
|
|
18
|
+
* The accent color used to generate this theme, if it was automatically
|
|
19
|
+
* generated.
|
|
20
|
+
*/
|
|
21
|
+
accentColor?: Color | ColorJson;
|
|
22
|
+
/**
|
|
23
|
+
* The color keys and values.
|
|
24
|
+
*/
|
|
25
|
+
colors: BrandingColors;
|
|
26
|
+
/**
|
|
27
|
+
* The display title for this theme.
|
|
28
|
+
*/
|
|
29
|
+
title: string;
|
|
30
|
+
/**
|
|
31
|
+
* The template used to generate this theme, if it was automatically
|
|
32
|
+
* generated.
|
|
33
|
+
*/
|
|
34
|
+
template?: BrandingThemeTemplate;
|
|
35
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ModelProperties } from "./ModelProperties.js";
|
|
2
|
+
/**
|
|
3
|
+
* Properties that can be used to create or update a component model.
|
|
4
|
+
*/
|
|
5
|
+
export interface ComponentModelProperties extends ModelProperties {
|
|
6
|
+
/**
|
|
7
|
+
* An icon ID for this model.
|
|
8
|
+
*/
|
|
9
|
+
icon?: string;
|
|
10
|
+
/**
|
|
11
|
+
* A human-readable title for this model.
|
|
12
|
+
*/
|
|
13
|
+
title?: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { SpatialReference as SpatialReferenceJson } from "@vertigis/arcgis-extensions/portal/SpatialReference";
|
|
2
|
+
import type { GeographicTransformationJson, Transformation } from "@vertigis/arcgis-extensions/utilities/geometry";
|
|
3
|
+
import type { ServiceModelProperties } from "./ServiceModelProperties.js";
|
|
4
|
+
/**
|
|
5
|
+
* Specifies a transformation to use between two spatial references.
|
|
6
|
+
*/
|
|
7
|
+
export interface TransformationJson {
|
|
8
|
+
/**
|
|
9
|
+
* The spatial reference that the data is collected in.
|
|
10
|
+
*/
|
|
11
|
+
inSpatialReference?: SpatialReferenceJson;
|
|
12
|
+
/**
|
|
13
|
+
* The spatial reference that the data is displayed in (typically the SR of
|
|
14
|
+
* the configured map's feature layers, or the SR of the map itself).
|
|
15
|
+
*/
|
|
16
|
+
outSpatialReference?: SpatialReferenceJson;
|
|
17
|
+
/**
|
|
18
|
+
* The transformation to get from in SR to out SR.
|
|
19
|
+
*/
|
|
20
|
+
transformation?: GeographicTransformationJson;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Configuration for the coordinate service.
|
|
24
|
+
*/
|
|
25
|
+
export interface CoordinateModelProperties extends ServiceModelProperties {
|
|
26
|
+
/**
|
|
27
|
+
* Whether the coordinates can be overridden by the end user.
|
|
28
|
+
*/
|
|
29
|
+
canOverride?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Rules to apply when transforming coordinates between coordinate systems.
|
|
32
|
+
*/
|
|
33
|
+
transformations?: (Transformation | TransformationJson)[];
|
|
34
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { Action } from "@vertigis/arcgis-extensions/support/Action";
|
|
2
|
+
import type { ComponentModelProperties } from "./ComponentModelProperties.js";
|
|
3
|
+
import type { ItemRef } from "./ItemRef.js";
|
|
4
|
+
/**
|
|
5
|
+
* Base properties for a feature-details component.
|
|
6
|
+
*/
|
|
7
|
+
export interface FeatureDetailsModelProperties extends ComponentModelProperties {
|
|
8
|
+
/**
|
|
9
|
+
* A menu of actions used to create clickable action buttons within the
|
|
10
|
+
* component. (MenuModel). For Mobile, the first four actions are designated
|
|
11
|
+
* as primary actions, with the remainder designated as secondary actions.
|
|
12
|
+
* If feature actions are configured globally as well as for the feature's
|
|
13
|
+
* source, then all actions will be displayed, with the feature source level
|
|
14
|
+
* actions shown first.
|
|
15
|
+
*/
|
|
16
|
+
featureActions?: ItemRef;
|
|
17
|
+
/**
|
|
18
|
+
* A command or set of commands to execute when a feature becomes visible
|
|
19
|
+
* within the component.
|
|
20
|
+
*/
|
|
21
|
+
onFeatureShow?: Action;
|
|
22
|
+
/**
|
|
23
|
+
* A command or set of commands to execute when a feature becomes invisible
|
|
24
|
+
* within the component.
|
|
25
|
+
*/
|
|
26
|
+
onFeatureHide?: Action;
|
|
27
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import type Color from "@arcgis/core/Color";
|
|
2
|
+
import type Symbol from "@arcgis/core/symbols/Symbol";
|
|
3
|
+
import type { Color as ColorJson, Symbol as SymbolJson } from "@vertigis/arcgis-extensions/portal/Symbol";
|
|
4
|
+
import type { TextSymbol } from "@vertigis/arcgis-extensions/portal/TextSymbol";
|
|
5
|
+
import type { ServiceModelProperties } from "./ServiceModelProperties.js";
|
|
6
|
+
/**
|
|
7
|
+
* Specifies which map mode(s) to display highlights.
|
|
8
|
+
*/
|
|
9
|
+
export declare enum DisplayMode {
|
|
10
|
+
MAP = "map",
|
|
11
|
+
SCENE = "scene",
|
|
12
|
+
BOTH = "both"
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Configuration for the highlight service.
|
|
16
|
+
*/
|
|
17
|
+
export interface HighlightModelProperties extends ServiceModelProperties {
|
|
18
|
+
/**
|
|
19
|
+
* The color used for rendering highlight graphics on a map. A different
|
|
20
|
+
* border color for highlight graphics will be derived from this color
|
|
21
|
+
* value. If this property is undefined, no highlight graphics will get
|
|
22
|
+
* rendered.
|
|
23
|
+
*/
|
|
24
|
+
highlightColor?: Color | ColorJson;
|
|
25
|
+
/**
|
|
26
|
+
* The symbol properties used for rendering a highlight marker on the map.
|
|
27
|
+
* If this property is undefined, no markers will be rendered for in-scale
|
|
28
|
+
* highlighting.
|
|
29
|
+
*/
|
|
30
|
+
highlightMarkerSymbol?: Symbol | SymbolJson;
|
|
31
|
+
/**
|
|
32
|
+
* The symbol properties used for rendering highlight text on the map.
|
|
33
|
+
*/
|
|
34
|
+
highlightLabelTextSymbol?: TextSymbol;
|
|
35
|
+
/**
|
|
36
|
+
* The color used for rendering focus graphics on a map. A different border
|
|
37
|
+
* color for focus graphics will be derived from this color value. If this
|
|
38
|
+
* property is undefined, no focus graphics will get rendered.
|
|
39
|
+
*/
|
|
40
|
+
focusColor?: Color | ColorJson;
|
|
41
|
+
/**
|
|
42
|
+
* The symbol properties used for rendering a focus marker on the map. If
|
|
43
|
+
* this property is undefined, no markers will be rendered for in-scale
|
|
44
|
+
* focusing.
|
|
45
|
+
*/
|
|
46
|
+
focusMarkerSymbol?: Symbol | SymbolJson;
|
|
47
|
+
/**
|
|
48
|
+
* The symbol properties used for rendering focus text on the map.
|
|
49
|
+
*/
|
|
50
|
+
focusLabelTextSymbol?: TextSymbol;
|
|
51
|
+
/**
|
|
52
|
+
* The maximum allowed deviation from the generalized geometry to the
|
|
53
|
+
* original geometry.
|
|
54
|
+
*/
|
|
55
|
+
maxDeviationInMeters?: number;
|
|
56
|
+
/**
|
|
57
|
+
* The maximum number of vertices a polyline or polygon geometry can have
|
|
58
|
+
* before it gets generalized.
|
|
59
|
+
*/
|
|
60
|
+
maxVertices?: number;
|
|
61
|
+
/**
|
|
62
|
+
* The map view modes in which to display the highlight markers.
|
|
63
|
+
*/
|
|
64
|
+
highlightMarkerDisplay?: DisplayMode;
|
|
65
|
+
/**
|
|
66
|
+
* The map view modes in which to display the focus markers.
|
|
67
|
+
*/
|
|
68
|
+
focusMarkerDisplay?: DisplayMode;
|
|
69
|
+
}
|