@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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{CommandRegistry}from"../CommandRegistry.js";import{EventRegistry}from"../EventRegistry.js";export class EditCommands extends CommandRegistry{get addAttachment(){return this._messages.command("edit.add-attachment")}get addFeature(){return this._messages.command("edit.add-feature")}get deleteFeatures(){return this._messages.command("edit.delete-features")}get displayAddFeature(){return this._messages.command("edit.display-add-feature")}get displayUpdateFeature(){return this._messages.command("edit.display-update-feature")}get updateFeature(){return this._messages.command("edit.update-feature")}}export class EditEvents extends EventRegistry{get attachmentAdded(){return this._messages.event("edit.attachment-added")}get attachmentUpdated(){return this._messages.event("edit.attachment-updated")}get attachmentDeleted(){return this._messages.event("edit.attachment-deleted")}get featureAdded(){return this._messages.event("edit.feature-added")}get featureDeleted(){return this._messages.event("edit.feature-deleted")}get featureUpdated(){return this._messages.event("edit.feature-updated")}}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import type { Command } from "../Command.js";
|
|
2
|
+
import { CommandRegistry } from "../CommandRegistry.js";
|
|
3
|
+
import type { Operation } from "../Operation.js";
|
|
4
|
+
import { OperationRegistry } from "../OperationRegistry.js";
|
|
5
|
+
/**
|
|
6
|
+
* A type of attachment.
|
|
7
|
+
*/
|
|
8
|
+
export declare type AttachmentType = "File" | "Media";
|
|
9
|
+
/**
|
|
10
|
+
* The binary contents of the attachment.
|
|
11
|
+
*/
|
|
12
|
+
export interface EnhancedFileData {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Arguments to pick a file.
|
|
16
|
+
*/
|
|
17
|
+
export interface PickFileArgs {
|
|
18
|
+
/**
|
|
19
|
+
* Type of the attachment used to pick a file.
|
|
20
|
+
*
|
|
21
|
+
* @mobileOnly
|
|
22
|
+
*/
|
|
23
|
+
attachmentType: AttachmentType;
|
|
24
|
+
/**
|
|
25
|
+
* Allowed types of file used to pick a file.
|
|
26
|
+
*
|
|
27
|
+
* @mobileOnly
|
|
28
|
+
*/
|
|
29
|
+
allowedFileTypes: string[];
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Arguments to open a file.
|
|
33
|
+
*/
|
|
34
|
+
export interface OpenFileArgs {
|
|
35
|
+
/**
|
|
36
|
+
* Name of the file to open.
|
|
37
|
+
*
|
|
38
|
+
* @mobileOnly
|
|
39
|
+
*/
|
|
40
|
+
fileName: string;
|
|
41
|
+
}
|
|
42
|
+
export declare class FileOperations extends OperationRegistry {
|
|
43
|
+
/**
|
|
44
|
+
* Prompt the user to select a file from the file system, and return the
|
|
45
|
+
* resulting data.
|
|
46
|
+
*
|
|
47
|
+
* @mobileOnly
|
|
48
|
+
*/
|
|
49
|
+
get pickFile(): Operation<PickFileArgs, EnhancedFileData>;
|
|
50
|
+
}
|
|
51
|
+
export declare class FileCommands extends CommandRegistry {
|
|
52
|
+
/**
|
|
53
|
+
* Opens a file in an app assigned to the file type.
|
|
54
|
+
*
|
|
55
|
+
* @mobileOnly
|
|
56
|
+
*/
|
|
57
|
+
get openFile(): Command<OpenFileArgs | string>;
|
|
58
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{CommandRegistry}from"../CommandRegistry.js";import{OperationRegistry}from"../OperationRegistry.js";export class FileOperations extends OperationRegistry{get pickFile(){return this._messages.operation("file.pick-file")}}export class FileCommands extends CommandRegistry{get openFile(){return this._messages.command("file.open-file")}}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import type Geometry from "@arcgis/core/geometry/Geometry";
|
|
2
|
+
import type { AddressLike, GeocodeOptions } from "@vertigis/arcgis-extensions/tasks/geocoding/Geocoder";
|
|
3
|
+
import type { Operation } from "../Operation.js";
|
|
4
|
+
import { OperationRegistry } from "../OperationRegistry.js";
|
|
5
|
+
/**
|
|
6
|
+
* Arguments for the "geocode.geocode" and "geocode.count" operations.
|
|
7
|
+
*/
|
|
8
|
+
export interface GeocodeArgs {
|
|
9
|
+
/**
|
|
10
|
+
* The address to look up.
|
|
11
|
+
*/
|
|
12
|
+
address: AddressLike;
|
|
13
|
+
/**
|
|
14
|
+
* Options that affect geocode results.
|
|
15
|
+
*/
|
|
16
|
+
options: GeocodeOptions;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Arguments for the "geocode.batch-geocode" operation.
|
|
20
|
+
*/
|
|
21
|
+
export interface BatchGeocodeArgs {
|
|
22
|
+
/**
|
|
23
|
+
* The addresses to look up.
|
|
24
|
+
*/
|
|
25
|
+
addresses: AddressLike[];
|
|
26
|
+
/**
|
|
27
|
+
* Options that affect geocode results.
|
|
28
|
+
*/
|
|
29
|
+
options: GeocodeOptions;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Arguments for the "geocode.suggest" operation.
|
|
33
|
+
*/
|
|
34
|
+
export interface SuggestArgs {
|
|
35
|
+
/**
|
|
36
|
+
* The search text entered by the user.
|
|
37
|
+
*/
|
|
38
|
+
searchText: string;
|
|
39
|
+
/**
|
|
40
|
+
* Options that affect geocode results.
|
|
41
|
+
*/
|
|
42
|
+
options: GeocodeOptions;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Arguments for the "geocode.reverse-geocode" operation.
|
|
46
|
+
*/
|
|
47
|
+
export interface ReverseGeocodeArgs {
|
|
48
|
+
/**
|
|
49
|
+
* The location to look up.
|
|
50
|
+
*/
|
|
51
|
+
geometry: Geometry;
|
|
52
|
+
/**
|
|
53
|
+
* Options that affect geocode results.
|
|
54
|
+
*/
|
|
55
|
+
options: GeocodeOptions;
|
|
56
|
+
}
|
|
57
|
+
export declare class GeocodeOperations extends OperationRegistry {
|
|
58
|
+
/**
|
|
59
|
+
* Finds one or more locations corresponding to an address.
|
|
60
|
+
*
|
|
61
|
+
* @webOnly
|
|
62
|
+
*/
|
|
63
|
+
get geocode(): Operation<GeocodeArgs>;
|
|
64
|
+
/**
|
|
65
|
+
* Finds locations corresponding to multiple addresses. The geocoder must
|
|
66
|
+
* have the supportsBatchGeocoding capability.
|
|
67
|
+
*
|
|
68
|
+
* @webOnly
|
|
69
|
+
*/
|
|
70
|
+
get batchGeocode(): Operation<BatchGeocodeArgs>;
|
|
71
|
+
/**
|
|
72
|
+
* Counts the number of locations corresponding to an address.
|
|
73
|
+
*
|
|
74
|
+
* @webOnly
|
|
75
|
+
*/
|
|
76
|
+
get count(): Operation<GeocodeArgs>;
|
|
77
|
+
/**
|
|
78
|
+
* Suggests matching addresses to search for based on some input text. The
|
|
79
|
+
* geocoder must have the supportsSuggest capability.
|
|
80
|
+
*
|
|
81
|
+
* @webOnly
|
|
82
|
+
*/
|
|
83
|
+
get suggest(): Operation<SuggestArgs>;
|
|
84
|
+
/**
|
|
85
|
+
* Finds the address at a particular location. The geocoder must have the
|
|
86
|
+
* supportsReverseGeocoding capability.
|
|
87
|
+
*
|
|
88
|
+
* @webOnly
|
|
89
|
+
*/
|
|
90
|
+
get reverseGeocode(): Operation<ReverseGeocodeArgs>;
|
|
91
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{OperationRegistry}from"../OperationRegistry.js";export class GeocodeOperations extends OperationRegistry{get geocode(){return this._messages.operation("geocode.geocode")}get batchGeocode(){return this._messages.operation("geocode.batch-geocode")}get count(){return this._messages.operation("geocode.count")}get suggest(){return this._messages.operation("geocode.suggest")}get reverseGeocode(){return this._messages.operation("geocode.reverse-geocode")}}
|
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
import type Point from "@arcgis/core/geometry/Point";
|
|
2
|
+
import type { Command } from "../Command.js";
|
|
3
|
+
import { CommandRegistry } from "../CommandRegistry.js";
|
|
4
|
+
import type { Event } from "../Event.js";
|
|
5
|
+
import { EventRegistry } from "../EventRegistry.js";
|
|
6
|
+
import type { Operation } from "../Operation.js";
|
|
7
|
+
import { OperationRegistry } from "../OperationRegistry.js";
|
|
8
|
+
import type { HasMaps, Maps } from "../common.js";
|
|
9
|
+
import type { MapExtensionArgs } from "../mobile.js";
|
|
10
|
+
/**
|
|
11
|
+
* Arguments for the "geolocation.accuracy-changed" event.
|
|
12
|
+
*/
|
|
13
|
+
export interface GeolocateAccuracyChangedEventArgs {
|
|
14
|
+
/**
|
|
15
|
+
* The current geolocation accuracy, in meters.
|
|
16
|
+
*/
|
|
17
|
+
accuracy: number;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Arguments for the "geolocation.metadata-changed" event.
|
|
21
|
+
*/
|
|
22
|
+
export interface GeolocateMetadataChangedEventArgs {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Current GNSS device settings.
|
|
26
|
+
*/
|
|
27
|
+
export interface GnssDeviceSettings {
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Result for the "geolocation.get-current-state" operation.
|
|
31
|
+
*/
|
|
32
|
+
export interface GeolocateCurrentState {
|
|
33
|
+
/**
|
|
34
|
+
* Whether or not a position is actively being reported and received.
|
|
35
|
+
*/
|
|
36
|
+
isGeolocationAvailable: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Whether or not the app has been permitted to use geolocation according to
|
|
39
|
+
* the OS level settings.
|
|
40
|
+
*/
|
|
41
|
+
isGeolocationEnabled: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* The current accuracy in meters.
|
|
44
|
+
*/
|
|
45
|
+
accuracy: number;
|
|
46
|
+
/**
|
|
47
|
+
* The current position.
|
|
48
|
+
*/
|
|
49
|
+
position: Point;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Arguments for the "geolocation.status-changed" event.
|
|
53
|
+
*/
|
|
54
|
+
export interface GeolocationStatusChangedEventArgs {
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Arguments for geolocation events such as "geolocation.position-acquired" and
|
|
58
|
+
* "geolocation.position-lost".
|
|
59
|
+
*/
|
|
60
|
+
export interface GeolocationEvent {
|
|
61
|
+
/**
|
|
62
|
+
* The GNSS source associated with the raised geolocation event.
|
|
63
|
+
*
|
|
64
|
+
* @mobileOnly
|
|
65
|
+
*/
|
|
66
|
+
gnssDeviceConnectionInfo?: GnssDeviceConnectionInfo;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* A geolocation source.
|
|
70
|
+
*/
|
|
71
|
+
export interface GnssDeviceConnectionInfo {
|
|
72
|
+
/**
|
|
73
|
+
* Name of the GNSS device.
|
|
74
|
+
*/
|
|
75
|
+
deviceName: string;
|
|
76
|
+
/**
|
|
77
|
+
* The type of the device. Options are Integrated, Bluetooth, USB, and
|
|
78
|
+
* Emulator.
|
|
79
|
+
*/
|
|
80
|
+
deviceType: GnssDeviceType;
|
|
81
|
+
/**
|
|
82
|
+
* The device settings, including the correction service's spatial
|
|
83
|
+
* reference, the desired datum transformation, and the device's antenna
|
|
84
|
+
* height.
|
|
85
|
+
*/
|
|
86
|
+
settings: GnssDeviceSettings;
|
|
87
|
+
}
|
|
88
|
+
declare enum GnssDeviceType {
|
|
89
|
+
INTEGRATED = "integrated",
|
|
90
|
+
BLUETOOTH = "bluetooth",
|
|
91
|
+
USB = "usb",
|
|
92
|
+
EMULATOR = "emulator"
|
|
93
|
+
}
|
|
94
|
+
export declare class GeolocationCommands extends CommandRegistry {
|
|
95
|
+
/**
|
|
96
|
+
* Centers the map on the user's current location and keeps the location
|
|
97
|
+
* centered as it moves around. The maps parameter is only supported in
|
|
98
|
+
* Geocortex Mobile Viewer. In Geocortex Web Viewer, all maps are affected.
|
|
99
|
+
*/
|
|
100
|
+
get autoRecenter(): Command<Maps | void>;
|
|
101
|
+
/**
|
|
102
|
+
* Centers the map on the user's current location and updates the
|
|
103
|
+
* orientation of the map to face the direction of the device. Keeps the
|
|
104
|
+
* location centered as it moves around. Returns whether guiding started
|
|
105
|
+
* successfully.
|
|
106
|
+
*
|
|
107
|
+
* @mobileOnly
|
|
108
|
+
*/
|
|
109
|
+
get autoRecenterAndReorient(): Command<MapExtensionArgs>;
|
|
110
|
+
/**
|
|
111
|
+
* Show the user's location while the location is in the map's extent.
|
|
112
|
+
*/
|
|
113
|
+
get displayLocation(): Command;
|
|
114
|
+
/**
|
|
115
|
+
* Turns off geolocation.
|
|
116
|
+
*/
|
|
117
|
+
get turnOffGeolocation(): Command;
|
|
118
|
+
/**
|
|
119
|
+
* Displays the GNSS device settings view.
|
|
120
|
+
*
|
|
121
|
+
* @mobileOnly
|
|
122
|
+
*/
|
|
123
|
+
get displayDeviceSettings(): Command<GnssDeviceConnectionInfo>;
|
|
124
|
+
/**
|
|
125
|
+
* Displays the GNSS device metadata view.
|
|
126
|
+
*
|
|
127
|
+
* @mobileOnly
|
|
128
|
+
*/
|
|
129
|
+
get displayDeviceMetadata(): Command;
|
|
130
|
+
/**
|
|
131
|
+
* Displays the GNSS device selection view.
|
|
132
|
+
*
|
|
133
|
+
* @mobileOnly
|
|
134
|
+
*/
|
|
135
|
+
get displayDeviceSelection(): Command;
|
|
136
|
+
}
|
|
137
|
+
export declare class GeolocationOperations extends OperationRegistry {
|
|
138
|
+
/**
|
|
139
|
+
* Updates the currently active GNSS receiver.
|
|
140
|
+
*
|
|
141
|
+
* @mobileOnly
|
|
142
|
+
*/
|
|
143
|
+
get changeSource(): Operation<GnssDeviceConnectionInfo, void>;
|
|
144
|
+
/**
|
|
145
|
+
* Gets the currently active geolocation source.
|
|
146
|
+
*
|
|
147
|
+
* @mobileOnly
|
|
148
|
+
*/
|
|
149
|
+
get getActiveSource(): Operation<GnssDeviceConnectionInfo>;
|
|
150
|
+
/**
|
|
151
|
+
* Gets the list of currently available geolocation sources.
|
|
152
|
+
* Includes integrated receivers, GNSS devices, and emulators.
|
|
153
|
+
*
|
|
154
|
+
* @mobileOnly
|
|
155
|
+
*/
|
|
156
|
+
get getAllSources(): Operation<boolean, GnssDeviceConnectionInfo[]>;
|
|
157
|
+
/**
|
|
158
|
+
* Gets the current geolocate state.
|
|
159
|
+
*/
|
|
160
|
+
get getCurrentState(): Operation<void, GeolocateCurrentState>;
|
|
161
|
+
/**
|
|
162
|
+
* Returns whether integrated location services have been permitted via app
|
|
163
|
+
* or browser permissions.
|
|
164
|
+
*/
|
|
165
|
+
get getLocationPermissionsEnabled(): Operation<boolean>;
|
|
166
|
+
/**
|
|
167
|
+
* Returns the current user position. This Operation can block while the
|
|
168
|
+
* user is prompted for permission, as such it is considered best practice not to
|
|
169
|
+
* perform this during startup.
|
|
170
|
+
*/
|
|
171
|
+
get getPosition(): Operation<void, Point>;
|
|
172
|
+
}
|
|
173
|
+
export declare class GeolocationEvents extends EventRegistry {
|
|
174
|
+
/**
|
|
175
|
+
* Raised when geolocation is activated and the accuracy of geolocation
|
|
176
|
+
* changes.
|
|
177
|
+
*/
|
|
178
|
+
get accuracyChanged(): Event<GeolocateAccuracyChangedEventArgs>;
|
|
179
|
+
/**
|
|
180
|
+
* Raised when a GNSS receiver is active and metadata about the device
|
|
181
|
+
* or location change.
|
|
182
|
+
*
|
|
183
|
+
* @mobileOnly
|
|
184
|
+
*/
|
|
185
|
+
get metadataChanged(): Event<GeolocateMetadataChangedEventArgs>;
|
|
186
|
+
/**
|
|
187
|
+
* Raised when geolocation enters auto recenter mode. For Geocortex Web
|
|
188
|
+
* Viewer, the event will have no parameter (all maps are always affected).
|
|
189
|
+
*/
|
|
190
|
+
get autoRecenterStarted(): Event<HasMaps | void>;
|
|
191
|
+
/**
|
|
192
|
+
* Raised when the user changes the geolocation mode to
|
|
193
|
+
* recenter-and-reorient (updates map orientation to match device
|
|
194
|
+
* direction).
|
|
195
|
+
*
|
|
196
|
+
* @mobileOnly
|
|
197
|
+
*/
|
|
198
|
+
get autoRecenterAndReorientStarted(): Event<MapExtensionArgs>;
|
|
199
|
+
/**
|
|
200
|
+
* Raised when geolocation leaves auto recenter mode. For Geocortex Web
|
|
201
|
+
* Viewer, the event will have no parameter (all maps are always affected).
|
|
202
|
+
*/
|
|
203
|
+
get autoRecenterStopped(): Event<HasMaps | void>;
|
|
204
|
+
/**
|
|
205
|
+
* Raised when the user changes the geolocation mode to not
|
|
206
|
+
* recenter-and-reorient.
|
|
207
|
+
*
|
|
208
|
+
* @mobileOnly
|
|
209
|
+
*/
|
|
210
|
+
get autoRecenterAndReorientStopped(): Event<MapExtensionArgs>;
|
|
211
|
+
/**
|
|
212
|
+
* Raised when detection of connected GNSS receivers begins.
|
|
213
|
+
*
|
|
214
|
+
* @mobileOnly
|
|
215
|
+
*/
|
|
216
|
+
get GnssDeviceDetectionStarted(): Event<GnssDeviceConnectionInfo[]>;
|
|
217
|
+
/**
|
|
218
|
+
* Raised when detection of connected GNSS receivers ends.
|
|
219
|
+
*
|
|
220
|
+
* @mobileOnly
|
|
221
|
+
*/
|
|
222
|
+
get GnssDeviceDetectionStopped(): Event;
|
|
223
|
+
/**
|
|
224
|
+
* Raised when geolocation is activated and the user's heading changes.
|
|
225
|
+
*
|
|
226
|
+
* @webOnly
|
|
227
|
+
*/
|
|
228
|
+
get headingChanged(): Event<number>;
|
|
229
|
+
/**
|
|
230
|
+
* Raised when geolocation is activated and a user position has been
|
|
231
|
+
* received.
|
|
232
|
+
*/
|
|
233
|
+
get positionAcquired(): Event<GeolocationEvent>;
|
|
234
|
+
/**
|
|
235
|
+
* Raised when geolocation is activated and the user's position changes.
|
|
236
|
+
*/
|
|
237
|
+
get positionChanged(): Event<Point>;
|
|
238
|
+
/**
|
|
239
|
+
* Raised when geolocation is disabled, either through signal loss or being
|
|
240
|
+
* turned off, and a user position is not available.
|
|
241
|
+
*/
|
|
242
|
+
get positionLost(): Event<GeolocationEvent>;
|
|
243
|
+
/**
|
|
244
|
+
* Raised when the source of geolocation data is changed to a different
|
|
245
|
+
* source (e.g. a GNSS receiver).
|
|
246
|
+
*
|
|
247
|
+
* @mobileOnly
|
|
248
|
+
*/
|
|
249
|
+
get sourceChanged(): Event<GnssDeviceConnectionInfo>;
|
|
250
|
+
/**
|
|
251
|
+
* Raised when geolocation status (enabled or disabled via app permissions)
|
|
252
|
+
* changes.
|
|
253
|
+
*/
|
|
254
|
+
get statusChanged(): Event<GeolocationStatusChangedEventArgs>;
|
|
255
|
+
/**
|
|
256
|
+
* Raised when geolocation enters displaying location mode.
|
|
257
|
+
*
|
|
258
|
+
* @webOnly
|
|
259
|
+
*/
|
|
260
|
+
get displayLocationStarted(): Event;
|
|
261
|
+
/**
|
|
262
|
+
* Raised when geolocation leaves displaying location mode.
|
|
263
|
+
*
|
|
264
|
+
* @webOnly
|
|
265
|
+
*/
|
|
266
|
+
get displayLocationStopped(): Event;
|
|
267
|
+
}
|
|
268
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{CommandRegistry}from"../CommandRegistry.js";import{EventRegistry}from"../EventRegistry.js";import{OperationRegistry}from"../OperationRegistry.js";var GnssDeviceType;!function(e){e.INTEGRATED="integrated",e.BLUETOOTH="bluetooth",e.USB="usb",e.EMULATOR="emulator"}(GnssDeviceType||(GnssDeviceType={}));export class GeolocationCommands extends CommandRegistry{get autoRecenter(){return this._messages.command("geolocation.auto-recenter")}get autoRecenterAndReorient(){return this._messages.command("geolocation.auto-recenter-and-reorient")}get displayLocation(){return this._messages.command("geolocation.display-location")}get turnOffGeolocation(){return this._messages.command("geolocation.turn-off-geolocation")}get displayDeviceSettings(){return this._messages.command("geolocation.display-device-settings")}get displayDeviceMetadata(){return this._messages.command("geolocation.display-device-metadata")}get displayDeviceSelection(){return this._messages.command("geolocation.display-device-selection")}}export class GeolocationOperations extends OperationRegistry{get changeSource(){return this._messages.operation("geolocation.change-source")}get getActiveSource(){return this._messages.operation("geolocation.get-active-source")}get getAllSources(){return this._messages.operation("geolocation.get-all-sources")}get getCurrentState(){return this._messages.operation("geolocation.get-current-state")}get getLocationPermissionsEnabled(){return this._messages.operation("geolocation.get-location-permissions-enabled")}get getPosition(){return this._messages.operation("geolocation.get-position")}}export class GeolocationEvents extends EventRegistry{get accuracyChanged(){return this._messages.event("geolocation.accuracy-changed")}get metadataChanged(){return this._messages.event("geolocation.metadata-changed")}get autoRecenterStarted(){return this._messages.event("geolocation.auto-recenter-started")}get autoRecenterAndReorientStarted(){return this._messages.event("geolocation.auto-recenter-and-reorient-started")}get autoRecenterStopped(){return this._messages.event("geolocation.auto-recenter-stopped")}get autoRecenterAndReorientStopped(){return this._messages.event("geolocation.auto-recenter-and-reorient-stopped")}get GnssDeviceDetectionStarted(){return this._messages.event("geolocation.gnss-device-detection-started")}get GnssDeviceDetectionStopped(){return this._messages.event("geolocation.gnss-device-detection-stopped")}get headingChanged(){return this._messages.event("geolocation.heading-changed")}get positionAcquired(){return this._messages.event("geolocation.position-acquired")}get positionChanged(){return this._messages.event("geolocation.position-changed")}get positionLost(){return this._messages.event("geolocation.position-lost")}get sourceChanged(){return this._messages.event("geolocation.source-changed")}get statusChanged(){return this._messages.event("geolocation.status-changed")}get displayLocationStarted(){return this._messages.event("geolocation.display-location-started")}get displayLocationStopped(){return this._messages.event("geolocation.display-location-stopped")}}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { Command } from "../Command.js";
|
|
2
|
+
import { CommandRegistry } from "../CommandRegistry.js";
|
|
3
|
+
import type { MapExtensionArgs } from "../mobile.js";
|
|
4
|
+
/**
|
|
5
|
+
* Arguments for the Geometry Toolbar show command. Only available in the
|
|
6
|
+
* Geocortex Mobile Viewer.
|
|
7
|
+
*/
|
|
8
|
+
export interface GeometryToolbarArgs extends MapExtensionArgs {
|
|
9
|
+
/**
|
|
10
|
+
* Whether the toolbar will allow users to toggle between area and line
|
|
11
|
+
* drawing modes. Defaults to true.
|
|
12
|
+
*/
|
|
13
|
+
isAreaToggleable: boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare class GeometryToolbarCommands extends CommandRegistry {
|
|
16
|
+
/**
|
|
17
|
+
* Shows the Geometry Toolbar.
|
|
18
|
+
*
|
|
19
|
+
* @mobileOnly
|
|
20
|
+
*/
|
|
21
|
+
get show(): Command<GeometryToolbarArgs | void>;
|
|
22
|
+
/**
|
|
23
|
+
* Hides the Geometry Toolbar.
|
|
24
|
+
*
|
|
25
|
+
* @mobileOnly
|
|
26
|
+
*/
|
|
27
|
+
get hide(): Command<MapExtensionArgs | void>;
|
|
28
|
+
}
|