@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
|
+
export{};
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import type { EntityProperties } from "@vertigis/arcgis-extensions/Entity";
|
|
2
|
+
import type { FormatSettingsProperties } from "@vertigis/arcgis-extensions/support/FormatSettings";
|
|
3
|
+
import type { ItemRef } from "../common/ItemRef.js";
|
|
4
|
+
import type { ColorConfig } from "../common/colors.js";
|
|
5
|
+
import type { ComponentModelProperties } from "./ComponentModelProperties.js";
|
|
6
|
+
import type { FeatureSetProperties } from "./FeatureSetProperties.js";
|
|
7
|
+
/**
|
|
8
|
+
* Configuration for a KPI card component.
|
|
9
|
+
*/
|
|
10
|
+
export interface KpiCardModelProperties extends ComponentModelProperties {
|
|
11
|
+
/**
|
|
12
|
+
* The background color for the KPI card. If not specified, the branding
|
|
13
|
+
* theme color will be used.
|
|
14
|
+
*/
|
|
15
|
+
backgroundColor?: ColorConfig;
|
|
16
|
+
/**
|
|
17
|
+
* Configuration for the bottom section.
|
|
18
|
+
*/
|
|
19
|
+
bottom?: KpiCardSectionModelProperties;
|
|
20
|
+
/**
|
|
21
|
+
* A set of conditions to evaluated. If a condition's expression is true,
|
|
22
|
+
* its configuration will take effect. For any given configuration property,
|
|
23
|
+
* conditions that appear earlier in this list will take precedence over
|
|
24
|
+
* ones that come later.
|
|
25
|
+
*/
|
|
26
|
+
conditions?: KpiCardConditionModelProperties[];
|
|
27
|
+
/**
|
|
28
|
+
* Configuration for the middle section.
|
|
29
|
+
*/
|
|
30
|
+
middle?: KpiCardSectionModelProperties;
|
|
31
|
+
/**
|
|
32
|
+
* A reference value to use for comparison. This is available as a
|
|
33
|
+
* predefined `reference` variable within Arcade expressions.
|
|
34
|
+
*/
|
|
35
|
+
reference?: number;
|
|
36
|
+
/**
|
|
37
|
+
* The type of reference to use.
|
|
38
|
+
*/
|
|
39
|
+
referenceType?: ReferenceType;
|
|
40
|
+
/**
|
|
41
|
+
* When `referenceType` is "statistic", this Arcade expression will be used
|
|
42
|
+
* to calculate the reference value.
|
|
43
|
+
*/
|
|
44
|
+
referenceExpression?: string;
|
|
45
|
+
/**
|
|
46
|
+
* The feature source (e.g. layer, sublayer, table, etc.) that this KPI card
|
|
47
|
+
* is associated with.
|
|
48
|
+
*/
|
|
49
|
+
source?: ItemRef;
|
|
50
|
+
/**
|
|
51
|
+
* Configuration for the top section.
|
|
52
|
+
*/
|
|
53
|
+
top?: KpiCardSectionModelProperties;
|
|
54
|
+
/**
|
|
55
|
+
* The initial KPI value. Normally this is computed from `valueExpression`
|
|
56
|
+
* rather than set directly.
|
|
57
|
+
*/
|
|
58
|
+
value?: number;
|
|
59
|
+
/**
|
|
60
|
+
* An Arcade expression that calculates the KPI value from a feature set.
|
|
61
|
+
* The feature set is made available via a `$features` variable that is
|
|
62
|
+
* available for use within the expression.
|
|
63
|
+
*/
|
|
64
|
+
valueExpression?: string;
|
|
65
|
+
/**
|
|
66
|
+
* The set of features contained by the kpi-card model. This property is only
|
|
67
|
+
* serialized into saved projects. Web only.
|
|
68
|
+
*/
|
|
69
|
+
results?: FeatureSetProperties;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Configuration for a specific section of a KPI card (top, middle, or bottom).
|
|
73
|
+
*/
|
|
74
|
+
export interface KpiCardSectionModelProperties {
|
|
75
|
+
/**
|
|
76
|
+
* The text to display for this section. The text can contain embedded
|
|
77
|
+
* Arcade expressions, surrounded by braces ("{" and "}").
|
|
78
|
+
*/
|
|
79
|
+
text?: string;
|
|
80
|
+
/**
|
|
81
|
+
* The ID of the icon to display in this section, or undefined to show no
|
|
82
|
+
* icon.
|
|
83
|
+
*/
|
|
84
|
+
icon?: string;
|
|
85
|
+
/**
|
|
86
|
+
* The size of the text and icon.
|
|
87
|
+
*/
|
|
88
|
+
size?: KpiCardSectionSize;
|
|
89
|
+
/**
|
|
90
|
+
* The foreground color to use for the text and icon. If undefined, it will
|
|
91
|
+
* use the theme's color.
|
|
92
|
+
*/
|
|
93
|
+
color?: ColorConfig;
|
|
94
|
+
/**
|
|
95
|
+
* Format settings that affect how numbers and dates are formatted. Any
|
|
96
|
+
* setting that isn't specified will use the equivalent setting in the
|
|
97
|
+
* region service by default.
|
|
98
|
+
*/
|
|
99
|
+
formatSettings?: FormatSettingsProperties;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Conditional configuration that is applied when the given expression is true.
|
|
103
|
+
*/
|
|
104
|
+
export interface KpiCardConditionModelProperties extends EntityProperties {
|
|
105
|
+
/**
|
|
106
|
+
* The Arcade expression to evaluate. If the return value is "truthy", the
|
|
107
|
+
* configuration in this condition will take effect.
|
|
108
|
+
*/
|
|
109
|
+
expression?: string;
|
|
110
|
+
/**
|
|
111
|
+
* The background color to use if the condition is true.
|
|
112
|
+
*/
|
|
113
|
+
backgroundColor?: ColorConfig;
|
|
114
|
+
/**
|
|
115
|
+
* Settings to apply to the top section if the condition is true.
|
|
116
|
+
*/
|
|
117
|
+
top?: KpiCardSectionModelProperties;
|
|
118
|
+
/**
|
|
119
|
+
* Settings to apply to the middle section if the condition is true.
|
|
120
|
+
*/
|
|
121
|
+
middle?: KpiCardSectionModelProperties;
|
|
122
|
+
/**
|
|
123
|
+
* Settings to apply to the bottom section if the condition is true.
|
|
124
|
+
*/
|
|
125
|
+
bottom?: KpiCardSectionModelProperties;
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* Determines how the reference value for a KPI card is calculated. A reference
|
|
129
|
+
* is a number to compare against.
|
|
130
|
+
* - "none": No reference value is used for this card.
|
|
131
|
+
* - "previous": The reference value will reflect the previous KPI value
|
|
132
|
+
* whenever it changes. Initially it will be undefined.
|
|
133
|
+
* - "fixed": A constant value.
|
|
134
|
+
* - "statistic": A calculated value determined via an Arcade expression (see
|
|
135
|
+
* `referenceExpression`).
|
|
136
|
+
*/
|
|
137
|
+
export declare type ReferenceType = "none" | "previous" | "fixed" | "statistic";
|
|
138
|
+
/**
|
|
139
|
+
* Determines how large the text and icon are for a KPI card section.
|
|
140
|
+
*/
|
|
141
|
+
export declare type KpiCardSectionSize = "extra-small" | "small" | "medium" | "large" | "extra-large";
|
|
142
|
+
/**
|
|
143
|
+
* Identifies one of the three possible sections in a KPI card.
|
|
144
|
+
*/
|
|
145
|
+
export declare type KpiCardSectionName = "top" | "middle" | "bottom";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { LayerListModelProperties as CommonLayerListModelProperties } from "../common/LayerListModelProperties.js";
|
|
2
|
+
import type { ComponentModelProperties } from "./ComponentModelProperties.js";
|
|
3
|
+
/**
|
|
4
|
+
* @inheritdoc
|
|
5
|
+
*/
|
|
6
|
+
export interface LayerListModelProperties extends CommonLayerListModelProperties, ComponentModelProperties {
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { LayerPresetsModelProperties as CommonLayerPresetsModelProperties } from "../common/LayerPresetsModelProperties.js";
|
|
2
|
+
import type { ComponentModelProperties } from "./ComponentModelProperties.js";
|
|
3
|
+
/**
|
|
4
|
+
* @inheritdoc
|
|
5
|
+
*/
|
|
6
|
+
export interface LayerPresetsModelProperties extends CommonLayerPresetsModelProperties, ComponentModelProperties {
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { LegendModelProperties as CommonLegendModelProperties } from "../common/LegendModelProperties.js";
|
|
2
|
+
import type { ComponentModelProperties } from "./ComponentModelProperties.js";
|
|
3
|
+
/**
|
|
4
|
+
* @inheritdoc
|
|
5
|
+
*/
|
|
6
|
+
export interface LegendModelProperties extends CommonLegendModelProperties, ComponentModelProperties {
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import type { MapCoordinatesModelProperties as CommonMapCoordinatesModelProperties } from "../common/MapCoordinatesModelProperties.js";
|
|
2
|
+
import type { ComponentModelProperties } from "./ComponentModelProperties.js";
|
|
3
|
+
/**
|
|
4
|
+
* The coordinate formats that can be shown by the MapCoordinates component.
|
|
5
|
+
*/
|
|
6
|
+
export declare type CoordinateFormat = "xy" | "lat-long-dd" | "lat-long-ddm" | "lat-long-dms" | "mgrs" | "usng" | "utm";
|
|
7
|
+
/**
|
|
8
|
+
* @inheritdoc
|
|
9
|
+
*/
|
|
10
|
+
export interface MapCoordinatesModelProperties extends CommonMapCoordinatesModelProperties, ComponentModelProperties {
|
|
11
|
+
/**
|
|
12
|
+
* The coordinate format that is displayed. The default is XY.
|
|
13
|
+
*/
|
|
14
|
+
coordinateFormat?: CoordinateFormat;
|
|
15
|
+
/**
|
|
16
|
+
* The number of decimal places displayed for LAT_LONG coordinate formats.
|
|
17
|
+
* The value must be an integer between 0 and 8 (inclusive). The default is
|
|
18
|
+
* 4.
|
|
19
|
+
*/
|
|
20
|
+
decimalPlacesLatLong?: number;
|
|
21
|
+
/**
|
|
22
|
+
* The number of decimal places displayed for the XY coordinate format. The
|
|
23
|
+
* value must be an integer between 0 and 8 (inclusive). The default is 2.
|
|
24
|
+
*/
|
|
25
|
+
decimalPlacesXY?: number;
|
|
26
|
+
/**
|
|
27
|
+
* The precision with which to represent the coordinates, when using the
|
|
28
|
+
* MGRS format. The value must be an integer between 0 and 8 (inclusive).
|
|
29
|
+
* The default is 5.
|
|
30
|
+
*/
|
|
31
|
+
precisionMGRS?: number;
|
|
32
|
+
/**
|
|
33
|
+
* The precision with which to represent the coordinates, when using the
|
|
34
|
+
* USNG format. The value must be an integer between 0 and 8 (inclusive).
|
|
35
|
+
* The default is 5.
|
|
36
|
+
*/
|
|
37
|
+
precisionUSNG?: number;
|
|
38
|
+
/**
|
|
39
|
+
* Whether or not the corresponding component should render the coordinate
|
|
40
|
+
* format selector. The default is true.
|
|
41
|
+
*/
|
|
42
|
+
showCoordinateFormats?: boolean;
|
|
43
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import type { Feature as GraphicJson } from "@vertigis/arcgis-extensions/portal/Feature";
|
|
2
|
+
import type { Symbol as SymbolJson } from "@vertigis/arcgis-extensions/portal/Symbol";
|
|
3
|
+
import type { Viewpoint as ViewpointJson } from "@vertigis/arcgis-extensions/portal/Viewpoint";
|
|
4
|
+
import type { ItemRef } from "../common/ItemRef.js";
|
|
5
|
+
import type { MapModelProperties as CommonMapModelProperties } from "../common/MapModelProperties.js";
|
|
6
|
+
import type { ComponentModelProperties } from "./ComponentModelProperties.js";
|
|
7
|
+
/**
|
|
8
|
+
* Direction in which the layer-comparison bar can slide.
|
|
9
|
+
*/
|
|
10
|
+
export declare type LayerComparisonDirection = "horizontal" | "vertical";
|
|
11
|
+
/**
|
|
12
|
+
* The position of the label relative to the slider bar.
|
|
13
|
+
*/
|
|
14
|
+
export declare type LayerComparisonLabelPosition = "start" | "center" | "end";
|
|
15
|
+
/**
|
|
16
|
+
* Properties for configuring a MapModel.
|
|
17
|
+
*/
|
|
18
|
+
export interface MapModelProperties extends CommonMapModelProperties, ComponentModelProperties {
|
|
19
|
+
/**
|
|
20
|
+
* The symbology for the map's context menu marker.
|
|
21
|
+
*/
|
|
22
|
+
contextMarkerSymbol?: Symbol | SymbolJson;
|
|
23
|
+
/**
|
|
24
|
+
* Whether or not to pulse new features that are dynamically added to the
|
|
25
|
+
* map's stream layers. The default is false.
|
|
26
|
+
*/
|
|
27
|
+
pulseNewStreamFeatures?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Layers used within the map's layer-comparison tool, positioned on the
|
|
30
|
+
* left if the layer-comparison orientation is 'horizontal' or on the top if
|
|
31
|
+
* the layer-comparison orientation is 'vertical'.
|
|
32
|
+
*/
|
|
33
|
+
leadingLayers?: ItemRef[];
|
|
34
|
+
/**
|
|
35
|
+
* The label shown on the map for the leading layers, when the
|
|
36
|
+
* layer-comparison tool is active.
|
|
37
|
+
*/
|
|
38
|
+
leadingLayersLabel?: string;
|
|
39
|
+
/**
|
|
40
|
+
* Layers used within the map's layer-comparison tool, positioned on the
|
|
41
|
+
* right if the layer-comparison orientation is 'horizontal' or on the
|
|
42
|
+
* bottom if the layer-comparison orientation is 'vertical'.
|
|
43
|
+
*/
|
|
44
|
+
trailingLayers?: ItemRef[];
|
|
45
|
+
/**
|
|
46
|
+
* The label shown on the map for the trailing layers, when the
|
|
47
|
+
* layer-comparison tool is active.
|
|
48
|
+
*/
|
|
49
|
+
trailingLayersLabel?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Whether or not the layer-comparison tool is active on the map.
|
|
52
|
+
*/
|
|
53
|
+
layerComparisonIsActive?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* The direction in which the layer-comparison bar slides. 'horizontal'
|
|
56
|
+
* positions the leading layers on the left and trailing layers on the
|
|
57
|
+
* right; 'vertical' positions the leading layers on the top and the
|
|
58
|
+
* trailing layers on the bottom.
|
|
59
|
+
*/
|
|
60
|
+
layerComparisonDirection?: LayerComparisonDirection;
|
|
61
|
+
/**
|
|
62
|
+
* The position of the label relative to the slider bar. The default is
|
|
63
|
+
* "start".
|
|
64
|
+
*/
|
|
65
|
+
layerComparisonLabelPosition?: LayerComparisonLabelPosition;
|
|
66
|
+
/**
|
|
67
|
+
* Whether or not the leading and trailing layers are configurable from the
|
|
68
|
+
* label buttons on the map. The default is true.
|
|
69
|
+
*/
|
|
70
|
+
layerComparisonIsConfigurable?: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* The viewpoint of the map. This property is only serialized to saved
|
|
73
|
+
* projects.
|
|
74
|
+
*/
|
|
75
|
+
viewpoint?: ViewpointJson;
|
|
76
|
+
/**
|
|
77
|
+
* The markup graphics currently present on the map. This property is only
|
|
78
|
+
* serialized to saved projects.
|
|
79
|
+
*/
|
|
80
|
+
markupGraphics?: GraphicJson[];
|
|
81
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { DrawModelBaseProperties } from "./DrawModelProperties.js";
|
|
2
|
+
/**
|
|
3
|
+
* Properties used to create and config a MeasurementModel.
|
|
4
|
+
*/
|
|
5
|
+
export interface MeasurementModelProperties extends DrawModelBaseProperties {
|
|
6
|
+
/**
|
|
7
|
+
* The number of decimal places to use in measurement labels. The default is
|
|
8
|
+
* 2.
|
|
9
|
+
*/
|
|
10
|
+
decimalPlaces?: number;
|
|
11
|
+
/**
|
|
12
|
+
* The units used when creating measurement labels for polylines. When left
|
|
13
|
+
* undefined, measurement units will be intelligently assigned based on the
|
|
14
|
+
* locale. The default is undefined.
|
|
15
|
+
*/
|
|
16
|
+
lengthUnits?: LengthMeasurementUnits;
|
|
17
|
+
/**
|
|
18
|
+
* The units used when creating measurement labels for polygons. When left
|
|
19
|
+
* undefined, measurement units will be intelligently assigned based on the
|
|
20
|
+
* locale. The default is undefined.
|
|
21
|
+
*/
|
|
22
|
+
areaUnits?: AreaMeasurementUnits;
|
|
23
|
+
/**
|
|
24
|
+
* Whether measurements are geodesic. The default is true. If set to false,
|
|
25
|
+
* measurements will be planar.
|
|
26
|
+
*/
|
|
27
|
+
isGeodesic?: boolean;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* The units for area measurements supported by ArcGIS.
|
|
31
|
+
*/
|
|
32
|
+
export declare type AreaMeasurementUnits = "acres" | "ares" | "hectares" | "square-feet" | "square-meters" | "square-yards" | "square-kilometers" | "square-miles";
|
|
33
|
+
/**
|
|
34
|
+
* The units for length measurements supported by ArcGIS.
|
|
35
|
+
*/
|
|
36
|
+
export declare type LengthMeasurementUnits = "meters" | "feet" | "kilometers" | "miles" | "nautical-miles" | "yards";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { MenuItemProperties } from "@vertigis/arcgis-extensions/menus/MenuItem";
|
|
2
|
+
import type { HasVisibilityFilters } from "./HasVisibilityFilters.js";
|
|
3
|
+
/**
|
|
4
|
+
* @inheritdoc
|
|
5
|
+
*/
|
|
6
|
+
export interface MenuItemModelProperties extends MenuItemProperties, HasVisibilityFilters {
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ItemRef } from "../common/ItemRef.js";
|
|
2
|
+
import type { MenuModelProperties as CommonMenuModelProperties } from "../common/MenuModelProperties.js";
|
|
3
|
+
import type { ComponentModelProperties } from "./ComponentModelProperties.js";
|
|
4
|
+
import type { MenuItemModelProperties } from "./MenuItemModelProperties.js";
|
|
5
|
+
/**
|
|
6
|
+
* @inheritdoc
|
|
7
|
+
*/
|
|
8
|
+
export interface MenuModelProperties extends CommonMenuModelProperties, ComponentModelProperties {
|
|
9
|
+
/**
|
|
10
|
+
* Individual menu items for this menu.
|
|
11
|
+
*/
|
|
12
|
+
items: (ItemRef | MenuItemModelProperties)[];
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { InitializableBaseProperties } from "@vertigis/arcgis-extensions/support/InitializableBase";
|
|
2
|
+
import type { ModelProperties as CommonModelProperties } from "../common/ModelProperties.js";
|
|
3
|
+
/**
|
|
4
|
+
* Properties that can be used to create or update a model.
|
|
5
|
+
*/
|
|
6
|
+
export interface ModelProperties extends CommonModelProperties, InitializableBaseProperties {
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { PanelModelProperties as CommonPanelModelProperties } from "../common/PanelModelProperties.js";
|
|
2
|
+
import type { ComponentModelProperties } from "./ComponentModelProperties.js";
|
|
3
|
+
/**
|
|
4
|
+
* @inheritdoc
|
|
5
|
+
*/
|
|
6
|
+
export interface PanelModelProperties extends CommonPanelModelProperties, ComponentModelProperties {
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ModelProperties } from "../common/ModelProperties.js";
|
|
2
|
+
/**
|
|
3
|
+
* Properties that are used for the Portal service.
|
|
4
|
+
*/
|
|
5
|
+
export interface PortalModelProperties extends ModelProperties {
|
|
6
|
+
/**
|
|
7
|
+
* Tags by which the Choose Layer modal will filter out the displayed layers.
|
|
8
|
+
*/
|
|
9
|
+
layerFilterTags?: string[];
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|