@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";export class GeometryToolbarCommands extends CommandRegistry{get show(){return this._messages.command("geometry-toolbar.show")}get hide(){return this._messages.command("geometry-toolbar.hide")}}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import type Geometry from "@arcgis/core/geometry/Geometry";
|
|
2
|
+
import type SpatialReference from "@arcgis/core/geometry/SpatialReference";
|
|
3
|
+
import type GeographicTransformation from "@arcgis/core/geometry/support/GeographicTransformation";
|
|
4
|
+
import type { Command } from "../Command.js";
|
|
5
|
+
import { CommandRegistry } from "../CommandRegistry.js";
|
|
6
|
+
import type { Operation } from "../Operation.js";
|
|
7
|
+
import { OperationRegistry } from "../OperationRegistry.js";
|
|
8
|
+
import type { Geometries, HasFeatures, HasGeometry, HasMaps, MapsLike } from "../common.js";
|
|
9
|
+
import type { CaptureGeometryResult } from "./sketching.js";
|
|
10
|
+
/**
|
|
11
|
+
* Arguments for the geometry.project operation.
|
|
12
|
+
*/
|
|
13
|
+
export interface ProjectArgs {
|
|
14
|
+
/**
|
|
15
|
+
* The geometries to project.
|
|
16
|
+
*/
|
|
17
|
+
geometries: Geometry | Geometry[];
|
|
18
|
+
/**
|
|
19
|
+
* The target spatial reference.
|
|
20
|
+
*/
|
|
21
|
+
outSpatialReference: SpatialReference;
|
|
22
|
+
/**
|
|
23
|
+
* The geographic transformation which contains the steps to transform the
|
|
24
|
+
* input spatial reference to the output spatial reference.
|
|
25
|
+
*/
|
|
26
|
+
transformation?: GeographicTransformation;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* The units for distance buffers supported by ArcGIS.
|
|
30
|
+
*/
|
|
31
|
+
export declare type LengthUnits = "meters" | "feet" | "kilometers" | "miles" | "nautical-miles" | "yards";
|
|
32
|
+
/**
|
|
33
|
+
* The result of a geometry.buffer operation.
|
|
34
|
+
*/
|
|
35
|
+
export interface BufferResult {
|
|
36
|
+
/**
|
|
37
|
+
* The buffered geometry.
|
|
38
|
+
*/
|
|
39
|
+
geometry: Geometry | Geometry[];
|
|
40
|
+
/**
|
|
41
|
+
* Any maps that were included within the input arguments.
|
|
42
|
+
*/
|
|
43
|
+
maps?: MapsLike;
|
|
44
|
+
}
|
|
45
|
+
export declare class GeometryOperations extends OperationRegistry {
|
|
46
|
+
/**
|
|
47
|
+
* Projects a set of geometries to a new spatial reference.
|
|
48
|
+
*
|
|
49
|
+
* @webOnly
|
|
50
|
+
*/
|
|
51
|
+
get project(): Operation<ProjectArgs, Geometry[]>;
|
|
52
|
+
/**
|
|
53
|
+
* Buffers a point geometry by a distance equivalent to the number of pixels
|
|
54
|
+
* at the current map scale.
|
|
55
|
+
*
|
|
56
|
+
* @webOnly
|
|
57
|
+
*/
|
|
58
|
+
get addPixelTolerance(): Operation<(HasFeatures | HasGeometry) & Required<HasMaps>, CaptureGeometryResult>;
|
|
59
|
+
/**
|
|
60
|
+
* Buffers a set of geometries by some distance to create a multi-part
|
|
61
|
+
* polygon geometry. The distance value respects the user's preferences and
|
|
62
|
+
* falls back on the default configured for the viewer session.
|
|
63
|
+
*
|
|
64
|
+
* @webOnly
|
|
65
|
+
*/
|
|
66
|
+
get buffer(): Operation<Geometries, BufferResult>;
|
|
67
|
+
/**
|
|
68
|
+
* Returns the default buffer distance for the viewer session.
|
|
69
|
+
*
|
|
70
|
+
* @webOnly
|
|
71
|
+
*/
|
|
72
|
+
get getBufferDistance(): Operation<void, number>;
|
|
73
|
+
/**
|
|
74
|
+
* Returns the default buffer units for the viewer session.
|
|
75
|
+
*
|
|
76
|
+
* @webOnly
|
|
77
|
+
*/
|
|
78
|
+
get getBufferUnits(): Operation<void, LengthUnits>;
|
|
79
|
+
}
|
|
80
|
+
export declare class GeometryCommands extends CommandRegistry {
|
|
81
|
+
/**
|
|
82
|
+
* Sets the default buffer distance for the viewer session. The buffer
|
|
83
|
+
* distance must be a number > 0.
|
|
84
|
+
*
|
|
85
|
+
* @webOnly
|
|
86
|
+
*/
|
|
87
|
+
get setBufferDistance(): Command<number>;
|
|
88
|
+
/**
|
|
89
|
+
* Sets the default buffer units for the viewer session.
|
|
90
|
+
*
|
|
91
|
+
* @webOnly
|
|
92
|
+
*/
|
|
93
|
+
get setBufferUnits(): Command<LengthUnits>;
|
|
94
|
+
/**
|
|
95
|
+
* Show the geometry settings dialog. This allows you to configure buffer
|
|
96
|
+
* distance and buffer units.
|
|
97
|
+
*
|
|
98
|
+
* @webOnly
|
|
99
|
+
*/
|
|
100
|
+
get showSettings(): Command<void>;
|
|
101
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{CommandRegistry}from"../CommandRegistry.js";import{OperationRegistry}from"../OperationRegistry.js";export class GeometryOperations extends OperationRegistry{get project(){return this._messages.operation("geometry.project")}get addPixelTolerance(){return this._messages.operation("geometry.add-pixel-tolerance")}get buffer(){return this._messages.operation("geometry.buffer")}get getBufferDistance(){return this._messages.operation("geometry.get-buffer-distance")}get getBufferUnits(){return this._messages.operation("geometry.get-buffer-units")}}export class GeometryCommands extends CommandRegistry{get setBufferDistance(){return this._messages.command("geometry.set-buffer-distance")}get setBufferUnits(){return this._messages.command("geometry.set-buffer-units")}get showSettings(){return this._messages.command("geometry.show-settings")}}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import type { FeatureSet } from "@vertigis/arcgis-extensions/data/FeatureSet";
|
|
2
|
+
import type { MapExtension } from "@vertigis/arcgis-extensions/mapping/MapExtension";
|
|
3
|
+
import type { Command } from "../Command.js";
|
|
4
|
+
import { CommandRegistry } from "../CommandRegistry.js";
|
|
5
|
+
import type { Operation } from "../Operation.js";
|
|
6
|
+
import { OperationRegistry } from "../OperationRegistry.js";
|
|
7
|
+
import type { Features, Maps } from "../common.js";
|
|
8
|
+
import type { MapExtensionArgs, MapExtensionFeatureArgs } from "../mobile.js";
|
|
9
|
+
export declare class HighlightsCommands extends CommandRegistry {
|
|
10
|
+
/**
|
|
11
|
+
* Applies highlighting to one or more features.
|
|
12
|
+
*/
|
|
13
|
+
get add(): Command<Features>;
|
|
14
|
+
/**
|
|
15
|
+
* Removes highlighting from one or many features.
|
|
16
|
+
*/
|
|
17
|
+
get remove(): Command<Features>;
|
|
18
|
+
/**
|
|
19
|
+
* Removes highlighting from all features on the given map(s). If no map is
|
|
20
|
+
* provided, features from all maps will be cleared.
|
|
21
|
+
*/
|
|
22
|
+
get clear(): Command<Maps | void>;
|
|
23
|
+
/**
|
|
24
|
+
* Adds a temporary focused-state highlight to one or more features.
|
|
25
|
+
*/
|
|
26
|
+
get pulse(): Command<Features>;
|
|
27
|
+
/**
|
|
28
|
+
* Adds focused-state highlighting to one or more features.
|
|
29
|
+
*/
|
|
30
|
+
get addFocus(): Command<Features>;
|
|
31
|
+
/**
|
|
32
|
+
* Removes focused-state highlighting from one or more features.
|
|
33
|
+
*/
|
|
34
|
+
get removeFocus(): Command<Features>;
|
|
35
|
+
/**
|
|
36
|
+
* Removes focused-state highlighting from all features.
|
|
37
|
+
*/
|
|
38
|
+
get clearFocus(): Command<Maps | void>;
|
|
39
|
+
/**
|
|
40
|
+
* Hides all highlight overlays (can be undone with highlights.show).
|
|
41
|
+
*
|
|
42
|
+
* @mobileOnly
|
|
43
|
+
*/
|
|
44
|
+
get hide(): Command<MapExtensionArgs>;
|
|
45
|
+
/**
|
|
46
|
+
* Hides the focus highlight (can be undone with highlights.show-focus).
|
|
47
|
+
*
|
|
48
|
+
* @mobileOnly
|
|
49
|
+
*/
|
|
50
|
+
get hideFocus(): Command<MapExtensionArgs>;
|
|
51
|
+
/**
|
|
52
|
+
* Refreshes highlighting for one or many features.
|
|
53
|
+
*
|
|
54
|
+
* @mobileOnly
|
|
55
|
+
*/
|
|
56
|
+
get refresh(): Command<MapExtensionFeatureArgs>;
|
|
57
|
+
/**
|
|
58
|
+
* Shows all highlight overlays (makes not hidden).
|
|
59
|
+
*
|
|
60
|
+
* @mobileOnly
|
|
61
|
+
*/
|
|
62
|
+
get show(): Command<MapExtensionArgs>;
|
|
63
|
+
/**
|
|
64
|
+
* Shows the highlight focus (makes focus not hidden).
|
|
65
|
+
*
|
|
66
|
+
* @mobileOnly
|
|
67
|
+
*/
|
|
68
|
+
get showFocus(): Command<MapExtensionArgs>;
|
|
69
|
+
}
|
|
70
|
+
export declare class HighlightsOperations extends OperationRegistry {
|
|
71
|
+
/**
|
|
72
|
+
* Returns all highlighted features for a given map.
|
|
73
|
+
*
|
|
74
|
+
* @webOnly
|
|
75
|
+
*/
|
|
76
|
+
get get(): Operation<MapExtension, FeatureSet>;
|
|
77
|
+
/**
|
|
78
|
+
* Returns all focused features for a given map.
|
|
79
|
+
*
|
|
80
|
+
* @webOnly
|
|
81
|
+
*/
|
|
82
|
+
get getFocused(): Operation<MapExtension, FeatureSet>;
|
|
83
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{CommandRegistry}from"../CommandRegistry.js";import{OperationRegistry}from"../OperationRegistry.js";export class HighlightsCommands extends CommandRegistry{get add(){return this._messages.command("highlights.add")}get remove(){return this._messages.command("highlights.remove")}get clear(){return this._messages.command("highlights.clear")}get pulse(){return this._messages.command("highlights.pulse")}get addFocus(){return this._messages.command("highlights.add-focus")}get removeFocus(){return this._messages.command("highlights.remove-focus")}get clearFocus(){return this._messages.command("highlights.clear-focus")}get hide(){return this._messages.command("highlights.hide")}get hideFocus(){return this._messages.command("highlights.hide-focus")}get refresh(){return this._messages.command("highlights.refresh")}get show(){return this._messages.command("highlights.show")}get showFocus(){return this._messages.command("highlights.show-focus")}}export class HighlightsOperations extends OperationRegistry{get get(){return this._messages.operation("highlights.get")}get getFocused(){return this._messages.operation("highlights.get-focused")}}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { Event } from "../Event.js";
|
|
2
|
+
import { EventRegistry } from "../EventRegistry.js";
|
|
3
|
+
/**
|
|
4
|
+
* Arguments for the "input.keyboard-shortcut-pressed" event.
|
|
5
|
+
*/
|
|
6
|
+
export interface ConsoleKeyInfoObj {
|
|
7
|
+
}
|
|
8
|
+
export declare class InputEvents extends EventRegistry {
|
|
9
|
+
/**
|
|
10
|
+
* Raised when the user shakes the device.
|
|
11
|
+
*
|
|
12
|
+
* @mobileOnly
|
|
13
|
+
*/
|
|
14
|
+
get shake(): Event;
|
|
15
|
+
/**
|
|
16
|
+
* Raised when the user presses a keyboard shortcut.
|
|
17
|
+
*
|
|
18
|
+
* @mobileOnly
|
|
19
|
+
*/
|
|
20
|
+
get keyboardShortcutPressed(): Event<ConsoleKeyInfoObj>;
|
|
21
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{EventRegistry}from"../EventRegistry.js";export class InputEvents extends EventRegistry{get shake(){return this._messages.event("input.shake")}get keyboardShortcutPressed(){return this._messages.event("input.keyboard-shortcut-pressed")}}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Command } from "../Command.js";
|
|
2
|
+
import { CommandRegistry } from "../CommandRegistry.js";
|
|
3
|
+
export declare class IwtmCommands extends CommandRegistry {
|
|
4
|
+
/**
|
|
5
|
+
* Displays the I Want To Menu with the given ID.
|
|
6
|
+
*
|
|
7
|
+
* @mobileOnly
|
|
8
|
+
*/
|
|
9
|
+
get open(): Command<string>;
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{CommandRegistry}from"../CommandRegistry.js";export class IwtmCommands extends CommandRegistry{get open(){return this._messages.command("iwtm.open")}}
|
|
@@ -0,0 +1,95 @@
|
|
|
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
|
+
import type { Features, HasFeatures, ModelRef } from "../common.js";
|
|
6
|
+
/**
|
|
7
|
+
* Arguments for various commands that affect a KPI card's features.
|
|
8
|
+
*/
|
|
9
|
+
export interface UpdateKpiCardFeaturesArgs extends HasFeatures {
|
|
10
|
+
/**
|
|
11
|
+
* The KPI card to update, referenced by KPI card model or its ID.
|
|
12
|
+
*/
|
|
13
|
+
kpiCard: ModelRef;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Arguments for the kpi.update-definition command.
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdateKpiCardDefinitionArgs {
|
|
19
|
+
/**
|
|
20
|
+
* The KPI card model or its ID.
|
|
21
|
+
*/
|
|
22
|
+
kpiCard: ModelRef;
|
|
23
|
+
/**
|
|
24
|
+
* The stringified Arcade script used to calculate the 'value' token of the
|
|
25
|
+
* KPI Card.
|
|
26
|
+
*/
|
|
27
|
+
valueExpression?: string;
|
|
28
|
+
/**
|
|
29
|
+
* The stringified Arcade script used to calculate the 'reference' token of
|
|
30
|
+
* the KPI card.
|
|
31
|
+
*/
|
|
32
|
+
referenceExpression?: string;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* The result of the the charts.update-definition operation.
|
|
36
|
+
*/
|
|
37
|
+
export interface GetKpiDefinitionResult {
|
|
38
|
+
/**
|
|
39
|
+
* The stringified Arcade script used to calculate the 'value' token of the
|
|
40
|
+
* KPI card.
|
|
41
|
+
*/
|
|
42
|
+
valueExpression: string;
|
|
43
|
+
/**
|
|
44
|
+
* The stringified Arcade script used to calculate the 'reference' token of
|
|
45
|
+
* the KPI Card.
|
|
46
|
+
*/
|
|
47
|
+
referenceExpression: string;
|
|
48
|
+
}
|
|
49
|
+
export declare class KpiCommands extends CommandRegistry {
|
|
50
|
+
/**
|
|
51
|
+
* Displays the KPI card and updates it with provided features.
|
|
52
|
+
*
|
|
53
|
+
* @webOnly
|
|
54
|
+
*/
|
|
55
|
+
get display(): Command<Features | UpdateKpiCardFeaturesArgs>;
|
|
56
|
+
/**
|
|
57
|
+
* Add one or more features to active KPI cards.
|
|
58
|
+
*
|
|
59
|
+
* @webOnly
|
|
60
|
+
*/
|
|
61
|
+
get addFeatures(): Command<Features | UpdateKpiCardFeaturesArgs>;
|
|
62
|
+
/**
|
|
63
|
+
* Remove one or more features from active KPI cards.
|
|
64
|
+
*
|
|
65
|
+
* @webOnly
|
|
66
|
+
*/
|
|
67
|
+
get removeFeatures(): Command<Features | UpdateKpiCardFeaturesArgs>;
|
|
68
|
+
/**
|
|
69
|
+
* Clear features from active KPI cards.
|
|
70
|
+
*
|
|
71
|
+
* @webOnly
|
|
72
|
+
*/
|
|
73
|
+
get clear(): Command<ModelRef | void>;
|
|
74
|
+
/**
|
|
75
|
+
* Updates the definition of a KPI Card.
|
|
76
|
+
*
|
|
77
|
+
* @webOnly
|
|
78
|
+
*/
|
|
79
|
+
get updateDefinition(): Command<UpdateKpiCardDefinitionArgs>;
|
|
80
|
+
}
|
|
81
|
+
export declare class KpiOperations extends OperationRegistry {
|
|
82
|
+
/**
|
|
83
|
+
* Returns the current set of features from all active KPI Cards.
|
|
84
|
+
*
|
|
85
|
+
* @webOnly
|
|
86
|
+
*/
|
|
87
|
+
get getFeatures(): Operation<ModelRef | void, Features>;
|
|
88
|
+
/**
|
|
89
|
+
* Gets the definition of a KPI card that corresponds to the ID or the
|
|
90
|
+
* instance of the KPI card model that's passed in as an argument.
|
|
91
|
+
*
|
|
92
|
+
* @webOnly
|
|
93
|
+
*/
|
|
94
|
+
get getDefinition(): Operation<ModelRef, GetKpiDefinitionResult>;
|
|
95
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{CommandRegistry}from"../CommandRegistry.js";import{OperationRegistry}from"../OperationRegistry.js";export class KpiCommands extends CommandRegistry{get display(){return this._messages.command("kpi.display")}get addFeatures(){return this._messages.command("kpi.add-features")}get removeFeatures(){return this._messages.command("kpi.remove-features")}get clear(){return this._messages.command("kpi.clear")}get updateDefinition(){return this._messages.command("kpi.update-definition")}}export class KpiOperations extends OperationRegistry{get getFeatures(){return this._messages.operation("kpi.get-features")}get getDefinition(){return this._messages.operation("kpi.get-definition")}}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import type { Command } from "../Command.js";
|
|
2
|
+
import { CommandRegistry } from "../CommandRegistry.js";
|
|
3
|
+
import type { Layers, MapsLike } from "../common.js";
|
|
4
|
+
/**
|
|
5
|
+
* Arguments for the layer-comparison.set-mode command.
|
|
6
|
+
*/
|
|
7
|
+
export interface SetLayerComparisonModeArgs {
|
|
8
|
+
/**
|
|
9
|
+
* Whether or not the layer-comparison mode should be active.
|
|
10
|
+
*/
|
|
11
|
+
active: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* The map(s) on which to set the layer-comparison mode.
|
|
14
|
+
*/
|
|
15
|
+
maps?: MapsLike;
|
|
16
|
+
/**
|
|
17
|
+
* Sets the leading layers on the map.
|
|
18
|
+
*/
|
|
19
|
+
leadingLayers?: Layers;
|
|
20
|
+
/**
|
|
21
|
+
* Sets the trailing layers on the map.
|
|
22
|
+
*/
|
|
23
|
+
trailingLayers?: Layers;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Arguments for the layer-comparison.set-direction command.
|
|
27
|
+
*/
|
|
28
|
+
export interface SetLayerComparisonDirectionArgs {
|
|
29
|
+
/**
|
|
30
|
+
* The direction in which the layer-comparison tool should slide.
|
|
31
|
+
*/
|
|
32
|
+
direction: "horizontal" | "vertical";
|
|
33
|
+
/**
|
|
34
|
+
* The map(s) on which to set the layer-comparison direction.
|
|
35
|
+
*/
|
|
36
|
+
maps?: MapsLike;
|
|
37
|
+
}
|
|
38
|
+
export declare class LayerComparisonCommands extends CommandRegistry {
|
|
39
|
+
/**
|
|
40
|
+
* Activates or deactivates the layer-comparison mode on the map(s).
|
|
41
|
+
*
|
|
42
|
+
* @webOnly
|
|
43
|
+
*/
|
|
44
|
+
get setMode(): Command<SetLayerComparisonModeArgs>;
|
|
45
|
+
/**
|
|
46
|
+
* Changes the orientation of the map(s') layer-comparison bar between
|
|
47
|
+
* 'horizontal' and 'vertical'.
|
|
48
|
+
*
|
|
49
|
+
* @webOnly
|
|
50
|
+
*/
|
|
51
|
+
get setDirection(): Command<SetLayerComparisonDirectionArgs>;
|
|
52
|
+
/**
|
|
53
|
+
* Adds the layer(s) to the map's leading layers, which are used by the
|
|
54
|
+
* layer-comparison tool. Leading layers are positioned at the left of the
|
|
55
|
+
* map if the layer-comparison orientation is 'horizontal' and at the top of
|
|
56
|
+
* the map if the layer-comparison orientation is 'vertical'. Adding a layer
|
|
57
|
+
* to the leading layers will automatically remove it from the trailing
|
|
58
|
+
* layers. Only operational layers that exist within a given map are valid -
|
|
59
|
+
* others will be ignored.
|
|
60
|
+
*
|
|
61
|
+
* @webOnly
|
|
62
|
+
*/
|
|
63
|
+
get addLeadingLayers(): Command<Layers>;
|
|
64
|
+
/**
|
|
65
|
+
* Adds the layer(s) to the map's trailing layers, which are used by the
|
|
66
|
+
* layer-comparison tool. Trailing layers are positioned at the right of the
|
|
67
|
+
* map if the layer-comparison orientation is 'horizontal' and at the bottom
|
|
68
|
+
* of the map if the layer-comparison orientation is 'vertical'. Adding a
|
|
69
|
+
* layer to the trailing layers will automatically remove it from the
|
|
70
|
+
* leading layers. Only operational layers that exist within a given map are
|
|
71
|
+
* valid - others will be ignored.
|
|
72
|
+
*
|
|
73
|
+
* @webOnly
|
|
74
|
+
*/
|
|
75
|
+
get addTrailingLayers(): Command<Layers>;
|
|
76
|
+
/**
|
|
77
|
+
* Removes the layer(s) from the map's leading layers, which are used by the
|
|
78
|
+
* layer-comparison tool.
|
|
79
|
+
*
|
|
80
|
+
* @webOnly
|
|
81
|
+
*/
|
|
82
|
+
get removeLeadingLayers(): Command<Layers>;
|
|
83
|
+
/**
|
|
84
|
+
* Removes the layer(s) from the map's trailing layers, which are used by the
|
|
85
|
+
* layer-comparison tool.
|
|
86
|
+
*
|
|
87
|
+
* @webOnly
|
|
88
|
+
*/
|
|
89
|
+
get removeTrailingLayers(): Command<Layers>;
|
|
90
|
+
/**
|
|
91
|
+
* Removes all leading layers from the map(s).
|
|
92
|
+
*
|
|
93
|
+
* @webOnly
|
|
94
|
+
*/
|
|
95
|
+
get clearLeadingLayers(): Command<MapsLike | void>;
|
|
96
|
+
/**
|
|
97
|
+
* Removes all trailing layers from the map(s).
|
|
98
|
+
*
|
|
99
|
+
* @webOnly
|
|
100
|
+
*/
|
|
101
|
+
get clearTrailingLayers(): Command<MapsLike | void>;
|
|
102
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{CommandRegistry}from"../CommandRegistry.js";export class LayerComparisonCommands extends CommandRegistry{get setMode(){return this._messages.command("layer-comparison.set-mode")}get setDirection(){return this._messages.command("layer-comparison.set-direction")}get addLeadingLayers(){return this._messages.command("layer-comparison.add-leading-layers")}get addTrailingLayers(){return this._messages.command("layer-comparison.add-trailing-layers")}get removeLeadingLayers(){return this._messages.command("layer-comparison.remove-leading-layers")}get removeTrailingLayers(){return this._messages.command("layer-comparison.remove-trailing-layers")}get clearLeadingLayers(){return this._messages.command("layer-comparison.clear-leading-layers")}get clearTrailingLayers(){return this._messages.command("layer-comparison.clear-trailing-layers")}}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { LayerPreset } from "@vertigis/arcgis-extensions/layer-preset/LayerPreset";
|
|
2
|
+
import type { Command } from "../Command.js";
|
|
3
|
+
import { CommandRegistry } from "../CommandRegistry.js";
|
|
4
|
+
import type { MapsLike } from "../common.js";
|
|
5
|
+
/**
|
|
6
|
+
* Arguments for the 'layer-presets.apply' command.
|
|
7
|
+
*/
|
|
8
|
+
export interface LayerPresetsArgs {
|
|
9
|
+
/**
|
|
10
|
+
* The associated map to apply the preset to.
|
|
11
|
+
*/
|
|
12
|
+
maps?: MapsLike;
|
|
13
|
+
/**
|
|
14
|
+
* The LayerPreset to apply to the map.
|
|
15
|
+
*/
|
|
16
|
+
preset: LayerPreset;
|
|
17
|
+
}
|
|
18
|
+
export declare class LayerPresetsCommands extends CommandRegistry {
|
|
19
|
+
/**
|
|
20
|
+
* Applies a layer-preset to a map. Applying a layer-preset means that the
|
|
21
|
+
* layer visibilities, opacity, and the map's basemap are changed to match
|
|
22
|
+
* the layer-preset definition. It's a quick way for a user to toggle the
|
|
23
|
+
* state of the map to a pre-configured state.
|
|
24
|
+
*
|
|
25
|
+
* @mobileOnly
|
|
26
|
+
*/
|
|
27
|
+
get apply(): Command<LayerPresetsArgs>;
|
|
28
|
+
}
|