@vertigis/viewer-spec 55.2.0 → 56.0.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.
Files changed (139) hide show
  1. package/app-config/common/BrandingThemeProperties.d.ts +1 -1
  2. package/app-config/common/CoordinateModelProperties.d.ts +1 -1
  3. package/app-config/common/HighlightModelProperties.d.ts +3 -4
  4. package/app-config/common/colors.d.ts +1 -1
  5. package/app-config/schema/common-app-config.schema.json +1 -1
  6. package/app-config/schema/mobile-app-config.schema.json +1 -1
  7. package/app-config/schema/web-app-config.schema.json +1 -1
  8. package/app-config/web/CoordinateModelProperties.d.ts +2 -2
  9. package/app-config/web/DrawModelProperties.d.ts +8 -16
  10. package/app-config/web/MapModelProperties.d.ts +4 -4
  11. package/messaging/CommandRegistry.d.ts +13 -1
  12. package/messaging/CommandRegistry.js +1 -1
  13. package/messaging/EventRegistry.d.ts +13 -1
  14. package/messaging/EventRegistry.js +1 -1
  15. package/messaging/OperationRegistry.d.ts +14 -1
  16. package/messaging/OperationRegistry.js +1 -1
  17. package/messaging/common.d.ts +7 -21
  18. package/messaging/common.js +1 -1
  19. package/messaging/registry/Commands.d.ts +1 -0
  20. package/messaging/registry/Commands.js +1 -1
  21. package/messaging/registry/Events.d.ts +1 -0
  22. package/messaging/registry/Events.js +1 -1
  23. package/messaging/registry/Operations.d.ts +1 -0
  24. package/messaging/registry/Operations.js +1 -1
  25. package/messaging/registry/app-config.d.ts +1 -0
  26. package/messaging/registry/app-config.js +1 -1
  27. package/messaging/registry/app.d.ts +19 -15
  28. package/messaging/registry/app.js +1 -1
  29. package/messaging/registry/arcade.d.ts +3 -2
  30. package/messaging/registry/arcade.js +1 -1
  31. package/messaging/registry/auth.d.ts +5 -10
  32. package/messaging/registry/auth.js +1 -1
  33. package/messaging/registry/basemap.d.ts +3 -0
  34. package/messaging/registry/basemap.js +1 -1
  35. package/messaging/registry/bookmark.d.ts +1 -0
  36. package/messaging/registry/bookmark.js +1 -1
  37. package/messaging/registry/charts.d.ts +2 -0
  38. package/messaging/registry/charts.js +1 -1
  39. package/messaging/registry/debugConsole.d.ts +1 -0
  40. package/messaging/registry/debugConsole.js +1 -1
  41. package/messaging/registry/device.d.ts +1 -0
  42. package/messaging/registry/device.js +1 -1
  43. package/messaging/registry/display.d.ts +1 -0
  44. package/messaging/registry/display.js +1 -1
  45. package/messaging/registry/drawing.d.ts +4 -9
  46. package/messaging/registry/drawing.js +1 -1
  47. package/messaging/registry/edit.d.ts +3 -0
  48. package/messaging/registry/edit.js +1 -1
  49. package/messaging/registry/file.d.ts +3 -0
  50. package/messaging/registry/file.js +1 -1
  51. package/messaging/registry/filter-builder.d.ts +2 -0
  52. package/messaging/registry/filter-builder.js +1 -1
  53. package/messaging/registry/geocode.d.ts +1 -0
  54. package/messaging/registry/geocode.js +1 -1
  55. package/messaging/registry/geolocation.d.ts +37 -41
  56. package/messaging/registry/geolocation.js +1 -1
  57. package/messaging/registry/geometry-toolbar.d.ts +1 -0
  58. package/messaging/registry/geometry-toolbar.js +1 -1
  59. package/messaging/registry/geometry.d.ts +2 -0
  60. package/messaging/registry/geometry.js +1 -1
  61. package/messaging/registry/highlights.d.ts +2 -0
  62. package/messaging/registry/highlights.js +1 -1
  63. package/messaging/registry/input.d.ts +1 -0
  64. package/messaging/registry/input.js +1 -1
  65. package/messaging/registry/iwtm.d.ts +1 -0
  66. package/messaging/registry/iwtm.js +1 -1
  67. package/messaging/registry/kpi.d.ts +2 -0
  68. package/messaging/registry/kpi.js +1 -1
  69. package/messaging/registry/layer-comparison.d.ts +1 -0
  70. package/messaging/registry/layer-comparison.js +1 -1
  71. package/messaging/registry/layer-presets.d.ts +2 -0
  72. package/messaging/registry/layer-presets.js +1 -1
  73. package/messaging/registry/layers.d.ts +5 -2
  74. package/messaging/registry/layers.js +1 -1
  75. package/messaging/registry/layout.d.ts +1 -0
  76. package/messaging/registry/layout.js +1 -1
  77. package/messaging/registry/licensing.d.ts +2 -0
  78. package/messaging/registry/licensing.js +1 -1
  79. package/messaging/registry/location-marker.d.ts +4 -5
  80. package/messaging/registry/location-marker.js +1 -1
  81. package/messaging/registry/logViewer.d.ts +1 -0
  82. package/messaging/registry/logViewer.js +1 -1
  83. package/messaging/registry/map.d.ts +9 -15
  84. package/messaging/registry/map.js +1 -1
  85. package/messaging/registry/measurement.d.ts +5 -11
  86. package/messaging/registry/measurement.js +1 -1
  87. package/messaging/registry/messaging.d.ts +1 -0
  88. package/messaging/registry/messaging.js +1 -1
  89. package/messaging/registry/network.d.ts +2 -6
  90. package/messaging/registry/network.js +1 -1
  91. package/messaging/registry/offline.d.ts +54 -51
  92. package/messaging/registry/offline.js +1 -1
  93. package/messaging/registry/panel.d.ts +3 -6
  94. package/messaging/registry/panel.js +1 -1
  95. package/messaging/registry/photos.d.ts +2 -0
  96. package/messaging/registry/photos.js +1 -1
  97. package/messaging/registry/portal.d.ts +2 -0
  98. package/messaging/registry/portal.js +1 -1
  99. package/messaging/registry/printing.d.ts +2 -0
  100. package/messaging/registry/printing.js +1 -1
  101. package/messaging/registry/project.d.ts +3 -0
  102. package/messaging/registry/project.js +1 -1
  103. package/messaging/registry/query-builder.d.ts +2 -0
  104. package/messaging/registry/query-builder.js +1 -1
  105. package/messaging/registry/region.d.ts +2 -0
  106. package/messaging/registry/region.js +1 -1
  107. package/messaging/registry/reports.d.ts +2 -0
  108. package/messaging/registry/reports.js +1 -1
  109. package/messaging/registry/results.d.ts +6 -3
  110. package/messaging/registry/results.js +1 -1
  111. package/messaging/registry/search.d.ts +3 -4
  112. package/messaging/registry/search.js +1 -1
  113. package/messaging/registry/settings.d.ts +2 -6
  114. package/messaging/registry/settings.js +1 -1
  115. package/messaging/registry/shortcut.d.ts +1 -0
  116. package/messaging/registry/shortcut.js +1 -1
  117. package/messaging/registry/sketching.d.ts +10 -15
  118. package/messaging/registry/sketching.js +1 -1
  119. package/messaging/registry/studioAnalytics.d.ts +1 -0
  120. package/messaging/registry/studioAnalytics.js +1 -1
  121. package/messaging/registry/system.d.ts +4 -8
  122. package/messaging/registry/system.js +1 -1
  123. package/messaging/registry/tasks.d.ts +2 -0
  124. package/messaging/registry/tasks.js +1 -1
  125. package/messaging/registry/ui.d.ts +3 -0
  126. package/messaging/registry/ui.js +1 -1
  127. package/messaging/registry/viewer.d.ts +3 -0
  128. package/messaging/registry/viewer.js +1 -1
  129. package/messaging/registry/workflow.d.ts +3 -0
  130. package/messaging/registry/workflow.js +1 -1
  131. package/messaging/schema/common-action.schema.json +6208 -5603
  132. package/messaging/schema/common-event.schema.json +5906 -5323
  133. package/messaging/schema/mobile-action.schema.json +6353 -5755
  134. package/messaging/schema/mobile-event.schema.json +5907 -5316
  135. package/messaging/schema/web-action.schema.json +6446 -5837
  136. package/messaging/schema/web-event.schema.json +5917 -5326
  137. package/package.json +2 -2
  138. package/version.d.ts +1 -1
  139. package/version.js +1 -1
@@ -3,10 +3,7 @@ import type Geometry from "@arcgis/core/geometry/Geometry";
3
3
  import type PictureMarkerSymbol from "@arcgis/core/symbols/PictureMarkerSymbol";
4
4
  import type SimpleMarkerSymbol from "@arcgis/core/symbols/SimpleMarkerSymbol";
5
5
  import type TextSymbol from "@arcgis/core/symbols/TextSymbol";
6
- import type { PictureMarkerSymbol as PictureMarkerSymbolProperties } from "@vertigis/arcgis-extensions/portal/PictureMarkerSymbol";
7
- import type { SimpleMarkerSymbol as SimpleMarkerSymbolProperties } from "@vertigis/arcgis-extensions/portal/SimpleMarkerSymbol";
8
- import type { Color as ColorJson } from "@vertigis/arcgis-extensions/portal/Symbol";
9
- import type { TextSymbol as TextSymbolProperties } from "@vertigis/arcgis-extensions/portal/TextSymbol";
6
+ import type { ColorJson, PictureMarkerSymbolJson, SimpleMarkerSymbolJson, TextSymbolJson } from "@vertigis/arcgis-extensions/json/SymbolJson.js";
10
7
  import type { Action } from "@vertigis/arcgis-extensions/support/Action";
11
8
  import type { Command } from "../Command.js";
12
9
  import { CommandRegistry } from "../CommandRegistry.js";
@@ -29,7 +26,7 @@ export type MapsRef = MapsLike | ModelRef | ModelRef[];
29
26
  /**
30
27
  * Symbols that can be used for location markers.
31
28
  */
32
- export type MarkerSymbolConfig = SimpleMarkerSymbol | SimpleMarkerSymbolProperties | PictureMarkerSymbol | PictureMarkerSymbolProperties | TextSymbol | TextSymbolProperties;
29
+ export type MarkerSymbolConfig = SimpleMarkerSymbol | SimpleMarkerSymbolJson | PictureMarkerSymbol | PictureMarkerSymbolJson | TextSymbol | TextSymbolJson;
33
30
  /**
34
31
  * Arguments for the various location marker events.
35
32
  */
@@ -125,6 +122,7 @@ export interface RemoveLocationMarkerArgs {
125
122
  maps?: MapsRef;
126
123
  }
127
124
  export declare class LocationMarkerEvents extends EventRegistry {
125
+ protected readonly _prefix = "location-marker";
128
126
  /**
129
127
  * Raised when a Marker is created. Web only.
130
128
  *
@@ -145,6 +143,7 @@ export declare class LocationMarkerEvents extends EventRegistry {
145
143
  get updated(): Event<LocationMarkerEvent>;
146
144
  }
147
145
  export declare class LocationMarkerCommands extends CommandRegistry {
146
+ protected readonly _prefix = "location-marker";
148
147
  /**
149
148
  * Removes all Markers. Web only.
150
149
  *
@@ -1 +1 @@
1
- import{CommandRegistry as e}from"../CommandRegistry.js";import{EventRegistry as t}from"../EventRegistry.js";export class LocationMarkerEvents extends t{get created(){return this._messages.event("location-marker.created")}get removed(){return this._messages.event("location-marker.removed")}get updated(){return this._messages.event("location-marker.updated")}}export class LocationMarkerCommands extends e{get clear(){return this._messages.command("location-marker.clear")}get create(){return this._messages.command("location-marker.create")}get remove(){return this._messages.command("location-marker.remove")}get update(){return this._messages.command("location-marker.update")}}
1
+ import{CommandRegistry as e}from"../CommandRegistry.js";import{EventRegistry as t}from"../EventRegistry.js";export class LocationMarkerEvents extends t{constructor(){super(...arguments),this._prefix="location-marker"}get created(){return this._get("created")}get removed(){return this._get("removed")}get updated(){return this._get("updated")}}export class LocationMarkerCommands extends e{constructor(){super(...arguments),this._prefix="location-marker"}get clear(){return this._get("clear")}get create(){return this._get("create")}get remove(){return this._get("remove")}get update(){return this._get("update")}}
@@ -1,6 +1,7 @@
1
1
  import type { Operation } from "../Operation.js";
2
2
  import { OperationRegistry } from "../OperationRegistry.js";
3
3
  export declare class LogViewerOperations extends OperationRegistry {
4
+ protected readonly _prefix = "log-viewer";
4
5
  /**
5
6
  * Displays the Log Viewer. Mobile only.
6
7
  *
@@ -1 +1 @@
1
- import{OperationRegistry as e}from"../OperationRegistry.js";export class LogViewerOperations extends e{get display(){return this._messages.operation("log-viewer.display")}get close(){return this._messages.operation("log-viewer.close")}}
1
+ import{OperationRegistry as e}from"../OperationRegistry.js";export class LogViewerOperations extends e{constructor(){super(...arguments),this._prefix="log-viewer"}get display(){return this._get("display")}get close(){return this._get("close")}}
@@ -7,12 +7,12 @@ import type Point from "@arcgis/core/geometry/Point";
7
7
  import type SpatialReference from "@arcgis/core/geometry/SpatialReference";
8
8
  import type GeographicTransformation from "@arcgis/core/geometry/support/GeographicTransformation";
9
9
  import type Layer from "@arcgis/core/layers/Layer";
10
+ import type { GeometryJsonType } from "@vertigis/arcgis-extensions/json/GeometryJson.js";
11
+ import type { OperationalLayerJson } from "@vertigis/arcgis-extensions/json/OperationalLayerJson.js";
12
+ import type { SymbolJson } from "@vertigis/arcgis-extensions/json/SymbolJson.js";
10
13
  import type { LayerPreset } from "@vertigis/arcgis-extensions/layer-preset/LayerPreset";
11
14
  import type { LayerExtension } from "@vertigis/arcgis-extensions/mapping/LayerExtension";
12
15
  import type { MapExtension, ViewMode } from "@vertigis/arcgis-extensions/mapping/MapExtension";
13
- import type { GeometryType } from "@vertigis/arcgis-extensions/portal/Geometry";
14
- import type { OperationalLayer as OperationalLayerJson } from "@vertigis/arcgis-extensions/portal/OperationalLayer";
15
- import type { Symbol as SymbolJson } from "@vertigis/arcgis-extensions/portal/Symbol";
16
16
  import type { Action } from "@vertigis/arcgis-extensions/support/Action";
17
17
  import type { PortalItemLike } from "@vertigis/arcgis-extensions/utilities/portal";
18
18
  import type { Command } from "../Command.js";
@@ -158,7 +158,7 @@ export interface MarkupArgs extends HasMaps {
158
158
  *
159
159
  * "vgs-active-snapping-guides": The active snap point when snapping.
160
160
  *
161
- * "vgs-buffer": Buffer graphics from OOTB buffer tools.
161
+ * "vgs-buffer": Buffer graphics from out of the box buffer tools.
162
162
  *
163
163
  * "vgs-context-marker": Right click context marker on map.
164
164
  *
@@ -665,7 +665,7 @@ export interface StartSketchArgs {
665
665
  /**
666
666
  * The type of geometry to edit.
667
667
  */
668
- geometryType: GeometryType;
668
+ geometryType: GeometryJsonType;
669
669
  /**
670
670
  * Gets a resume ID for the sketch. Cannot be set.
671
671
  */
@@ -757,17 +757,9 @@ export interface MarkupAddedEvent extends MapEvent {
757
757
  /**
758
758
  * The type of markup.
759
759
  */
760
- export declare enum MarkupType {
761
- UNKNOWN = "Unknown",
762
- POLYGON = "Polygon",
763
- POLYLINE = "Polyline",
764
- TEXT = "Text",
765
- PICTURE_MARKER = "PictureMarker",
766
- PICTURE_FILL = "PictureFill",
767
- COMPOSITE = "Composite",
768
- MULTI = "Multi"
769
- }
760
+ export type MarkupType = "Unknown" | "Polygon" | "Polyline" | "Text" | "PictureMarker" | "PictureFill" | "Composite" | "Multi";
770
761
  export declare class MapCommands extends CommandRegistry {
762
+ protected readonly _prefix = "map";
771
763
  /**
772
764
  * Adds markup to the map(s).
773
765
  */
@@ -1040,6 +1032,7 @@ export declare class MapCommands extends CommandRegistry {
1040
1032
  get zoomToLayerVisibleScale(): Command<ZoomToLayerArgs>;
1041
1033
  }
1042
1034
  export declare class MapEvents extends EventRegistry {
1035
+ protected readonly _prefix = "map";
1043
1036
  /**
1044
1037
  * Raised when a map has completed initialization. MapEvent used in Web,
1045
1038
  * MapInitializedEvent used in Mobile.
@@ -1124,6 +1117,7 @@ export declare class MapEvents extends EventRegistry {
1124
1117
  get imageExported(): Event<ExportMapImageArgs>;
1125
1118
  }
1126
1119
  export declare class MapOperations extends OperationRegistry {
1120
+ protected readonly _prefix = "map";
1127
1121
  /**
1128
1122
  * Prompts the user to enter and return a coordinate. Web only.
1129
1123
  *
@@ -1 +1 @@
1
- import{CommandRegistry as e}from"../CommandRegistry.js";import{EventRegistry as t}from"../EventRegistry.js";import{OperationRegistry as s}from"../OperationRegistry.js";export var MarkupType;!function(e){e.UNKNOWN="Unknown",e.POLYGON="Polygon",e.POLYLINE="Polyline",e.TEXT="Text",e.PICTURE_MARKER="PictureMarker",e.PICTURE_FILL="PictureFill",e.COMPOSITE="Composite",e.MULTI="Multi"}(MarkupType||(MarkupType={}));export class MapCommands extends e{get addMarkup(){return this._messages.command("map.add-markup")}get addLayers(){return this._messages.command("map.add-layers")}get applyFilterEffect(){return this._messages.command("map.apply-filter-effect")}get applyLayerPreset(){return this._messages.command("map.apply-layer-preset")}get createNote(){return this._messages.command("map.create-note")}get editNote(){return this._messages.command("map.edit-note")}get removeFilterEffects(){return this._messages.command("map.remove-filter-effects")}get clearFilterEffects(){return this._messages.command("map.clear-filter-effects")}get clearMarkup(){return this._messages.command("map.clear-markup")}get disableMapClick(){return this._messages.command("map.disable-map-click")}get displayExtentSelector(){return this._messages.command("map.display-extent-selector")}get enableMapClick(){return this._messages.command("map.enable-map-click")}get goToFeatures(){return this._messages.command("map.go-to-features")}get goToGeometry(){return this._messages.command("map.go-to-geometry")}get goToViewpoint(){return this._messages.command("map.go-to-viewpoint")}get goToScale(){return this._messages.command("map.go-to-scale")}get goToInitialViewpoint(){return this._messages.command("map.go-to-initial-viewpoint")}get goToLayerExtent(){return this._messages.command("map.go-to-layer-extent")}get hideExtentSelector(){return this._messages.command("map.hide-extent-selector")}get hideMarkup(){return this._messages.command("map.hide-markup")}get panToFeatures(){return this._messages.command("map.pan-to-features")}get panToGeometry(){return this._messages.command("map.pan-to-geometry")}get pauseSketch(){return this._messages.command("map.pause-sketch")}get removeLayers(){return this._messages.command("map.remove-layers")}get replace(){return this._messages.command("map.replace")}get replaceAdditionalLayers(){return this._messages.command("map.replace-additional-layers")}get replaceMmpk(){return this._messages.command("map.replace-mmpk")}get resumeSketch(){return this._messages.command("map.resume-sketch")}get rotateBy(){return this._messages.command("map.rotate-by")}get rotateTo(){return this._messages.command("map.rotate-to")}get refresh(){return this._messages.command("map.refresh")}get setViewMode(){return this._messages.command("map.set-view-mode")}get showMarkup(){return this._messages.command("map.show-markup")}get updateLayer(){return this._messages.command("map.update-layer")}get zoomToFeatures(){return this._messages.command("map.zoom-to-features")}get zoomToGeometry(){return this._messages.command("map.zoom-to-geometry")}get zoomIn(){return this._messages.command("map.zoom-in")}get zoomOut(){return this._messages.command("map.zoom-out")}get zoomToScale(){return this._messages.command("map.zoom-to-scale")}get zoomToInitialViewpoint(){return this._messages.command("map.zoom-to-initial-viewpoint")}get zoomToViewpoint(){return this._messages.command("map.zoom-to-viewpoint")}get zoomToLayerExtent(){return this._messages.command("map.zoom-to-layer-extent")}get zoomToLayerVisibleScale(){return this._messages.command("map.zoom-to-layer-visible-scale")}}export class MapEvents extends t{get initialized(){return this._messages.event("map.initialized")}get initializing(){return this._messages.event("map.initializing")}get markupAdded(){return this._messages.event("map.markup-added")}get markupCleared(){return this._messages.event("map.markup-cleared")}get navigationCompleted(){return this._messages.event("map.navigation-completed")}get refreshed(){return this._messages.event("map.refreshed")}get refreshing(){return this._messages.event("map.refreshing")}get rotated(){return this._messages.event("map.rotated")}get rotating(){return this._messages.event("map.rotating")}get switched(){return this._messages.event("map.switched")}get viewModeChanged(){return this._messages.event("map.view-mode-changed")}get viewpointChanged(){return this._messages.event("map.viewpoint-changed")}get imageExported(){return this._messages.event("map.image-exported")}}export class MapOperations extends s{get getUserCoordinatesInput(){return this._messages.operation("map.get-user-coordinates-input")}get getCoordinateTransformation(){return this._messages.operation("map.get-coordinate-transformation")}get exportImage(){return this._messages.operation("map.export-image")}get exportWebMapOrScene(){return this._messages.operation("map.export-web-map-or-scene")}get getMarkup(){return this._messages.operation("map.get-markup")}get getExtent(){return this._messages.operation("map.get-extent")}get getGeometryFromSelector(){return this._messages.operation("map.get-geometry-from-selector")}get getInitialViewpoint(){return this._messages.operation("map.get-initial-viewpoint")}get getViewpoint(){return this._messages.operation("map.get-viewpoint")}get getSpatialReference(){return this._messages.operation("map.get-spatial-reference")}get getVisibleCenter(){return this._messages.operation("map.get-visible-center")}get hide(){return this._messages.operation("map.hide")}get show(){return this._messages.operation("map.show")}get startSketch(){return this._messages.operation("map.start-sketch")}get stopSketch(){return this._messages.operation("map.stop-sketch")}get getViewInsets(){return this._messages.operation("map.get-view-insets")}}
1
+ import{CommandRegistry as e}from"../CommandRegistry.js";import{EventRegistry as t}from"../EventRegistry.js";import{OperationRegistry as r}from"../OperationRegistry.js";export class MapCommands extends e{constructor(){super(...arguments),this._prefix="map"}get addMarkup(){return this._get("add-markup")}get addLayers(){return this._get("add-layers")}get applyFilterEffect(){return this._get("apply-filter-effect")}get applyLayerPreset(){return this._get("apply-layer-preset")}get createNote(){return this._get("create-note")}get editNote(){return this._get("edit-note")}get removeFilterEffects(){return this._get("remove-filter-effects")}get clearFilterEffects(){return this._get("clear-filter-effects")}get clearMarkup(){return this._get("clear-markup")}get disableMapClick(){return this._get("disable-map-click")}get displayExtentSelector(){return this._get("display-extent-selector")}get enableMapClick(){return this._get("enable-map-click")}get goToFeatures(){return this._get("go-to-features")}get goToGeometry(){return this._get("go-to-geometry")}get goToViewpoint(){return this._get("go-to-viewpoint")}get goToScale(){return this._get("go-to-scale")}get goToInitialViewpoint(){return this._get("go-to-initial-viewpoint")}get goToLayerExtent(){return this._get("go-to-layer-extent")}get hideExtentSelector(){return this._get("hide-extent-selector")}get hideMarkup(){return this._get("hide-markup")}get panToFeatures(){return this._get("pan-to-features")}get panToGeometry(){return this._get("pan-to-geometry")}get pauseSketch(){return this._get("pause-sketch")}get removeLayers(){return this._get("remove-layers")}get replace(){return this._get("replace")}get replaceAdditionalLayers(){return this._get("replace-additional-layers")}get replaceMmpk(){return this._get("replace-mmpk")}get resumeSketch(){return this._get("resume-sketch")}get rotateBy(){return this._get("rotate-by")}get rotateTo(){return this._get("rotate-to")}get refresh(){return this._get("refresh")}get setViewMode(){return this._get("set-view-mode")}get showMarkup(){return this._get("show-markup")}get updateLayer(){return this._get("update-layer")}get zoomToFeatures(){return this._get("zoom-to-features")}get zoomToGeometry(){return this._get("zoom-to-geometry")}get zoomIn(){return this._get("zoom-in")}get zoomOut(){return this._get("zoom-out")}get zoomToScale(){return this._get("zoom-to-scale")}get zoomToInitialViewpoint(){return this._get("zoom-to-initial-viewpoint")}get zoomToViewpoint(){return this._get("zoom-to-viewpoint")}get zoomToLayerExtent(){return this._get("zoom-to-layer-extent")}get zoomToLayerVisibleScale(){return this._get("zoom-to-layer-visible-scale")}}export class MapEvents extends t{constructor(){super(...arguments),this._prefix="map"}get initialized(){return this._get("initialized")}get initializing(){return this._get("initializing")}get markupAdded(){return this._get("markup-added")}get markupCleared(){return this._get("markup-cleared")}get navigationCompleted(){return this._get("navigation-completed")}get refreshed(){return this._get("refreshed")}get refreshing(){return this._get("refreshing")}get rotated(){return this._get("rotated")}get rotating(){return this._get("rotating")}get switched(){return this._get("switched")}get viewModeChanged(){return this._get("view-mode-changed")}get viewpointChanged(){return this._get("viewpoint-changed")}get imageExported(){return this._get("image-exported")}}export class MapOperations extends r{constructor(){super(...arguments),this._prefix="map"}get getUserCoordinatesInput(){return this._get("get-user-coordinates-input")}get getCoordinateTransformation(){return this._get("get-coordinate-transformation")}get exportImage(){return this._get("export-image")}get exportWebMapOrScene(){return this._get("export-web-map-or-scene")}get getMarkup(){return this._get("get-markup")}get getExtent(){return this._get("get-extent")}get getGeometryFromSelector(){return this._get("get-geometry-from-selector")}get getInitialViewpoint(){return this._get("get-initial-viewpoint")}get getViewpoint(){return this._get("get-viewpoint")}get getSpatialReference(){return this._get("get-spatial-reference")}get getVisibleCenter(){return this._get("get-visible-center")}get hide(){return this._get("hide")}get show(){return this._get("show")}get startSketch(){return this._get("start-sketch")}get stopSketch(){return this._get("stop-sketch")}get getViewInsets(){return this._get("get-view-insets")}}
@@ -9,10 +9,6 @@ import { OperationRegistry } from "../OperationRegistry.js";
9
9
  import type { CreateGraphicsResult, Geometries, HasMaps, HasSymbol, HasUITarget, Maps, SymbolLike } from "../common.js";
10
10
  import type { DrawingSymbolConfig } from "./drawing.js";
11
11
  import type { CaptureGeometryArgs, CaptureGeometryResult } from "./sketching.js";
12
- declare enum GeometryMode {
13
- LINE = "line",
14
- AREA = "area"
15
- }
16
12
  /**
17
13
  * Arguments for the measurement.get-symbol operation. Only available in
18
14
  * VertiGIS Studio Web.
@@ -31,7 +27,7 @@ export interface GeometryModeArgs extends HasMaps {
31
27
  /**
32
28
  * The geometry mode that is used to perform operations.
33
29
  */
34
- geometryMode: GeometryMode;
30
+ geometryMode: "line" | "area";
35
31
  }
36
32
  /**
37
33
  * Result of the "measurement.create-graphics" operation.
@@ -50,12 +46,9 @@ export interface MeasurementEventArgs {
50
46
  /**
51
47
  * The Geometry Editor geometry mode.
52
48
  */
53
- export declare enum GeometryEditorGeometryMode {
54
- LINE = "Line",
55
- AREA = "Area",
56
- POINT = "Point"
57
- }
49
+ export type GeometryEditorGeometryMode = "Line" | "Area" | "Point";
58
50
  export declare class MeasurementCommands extends CommandRegistry {
51
+ protected readonly _prefix = "measurement";
59
52
  /**
60
53
  * Display the measurements settings dialog. This allows you to configure
61
54
  * measurements system, area and length units. Web only.
@@ -113,6 +106,7 @@ export declare class MeasurementCommands extends CommandRegistry {
113
106
  get setGeometryMode(): Command<GeometryModeArgs>;
114
107
  }
115
108
  export declare class MeasurementOperations extends OperationRegistry {
109
+ protected readonly _prefix = "measurement";
116
110
  /**
117
111
  * Creates graphics out of geometries with the default symbology set by the
118
112
  * "measurement.set-default-symbol" command'. Web only.
@@ -158,6 +152,7 @@ export declare class MeasurementOperations extends OperationRegistry {
158
152
  get getLengthUnits(): Operation<void, LengthMeasurementUnits | undefined>;
159
153
  }
160
154
  export declare class MeasurementEvents extends EventRegistry {
155
+ protected readonly _prefix = "measurement";
161
156
  /**
162
157
  * Raised when a measurement is started. Mobile only.
163
158
  *
@@ -171,4 +166,3 @@ export declare class MeasurementEvents extends EventRegistry {
171
166
  */
172
167
  get stopped(): Event<MeasurementEventArgs>;
173
168
  }
174
- export {};
@@ -1 +1 @@
1
- import{CommandRegistry as e}from"../CommandRegistry.js";import{EventRegistry as t}from"../EventRegistry.js";import{OperationRegistry as s}from"../OperationRegistry.js";var r;!function(e){e.LINE="line",e.AREA="area"}(r||(r={}));export var GeometryEditorGeometryMode;!function(e){e.LINE="Line",e.AREA="Area",e.POINT="Point"}(GeometryEditorGeometryMode||(GeometryEditorGeometryMode={}));export class MeasurementCommands extends e{get displaySettings(){return this._messages.command("measurement.display-settings")}get setDefaultSymbol(){return this._messages.command("measurement.set-default-symbol")}get setAreaUnits(){return this._messages.command("measurement.set-area-units")}get setLengthUnits(){return this._messages.command("measurement.set-length-units")}get start(){return this._messages.command("measurement.start")}get stop(){return this._messages.command("measurement.stop")}get clear(){return this._messages.command("measurement.clear")}get setGeometryMode(){return this._messages.command("measurement.set-geometry-mode")}}export class MeasurementOperations extends s{get createGraphics(){return this._messages.operation("measurement.create-graphics")}get captureGeometry(){return this._messages.operation("measurement.capture-geometry")}get getDefaultSymbol(){return this._messages.operation("measurement.get-default-symbol")}get getDefaultSymbol3D(){return this._messages.operation("measurement.get-default-symbol-3d")}get getAreaUnits(){return this._messages.operation("measurement.get-area-units")}get getLengthUnits(){return this._messages.operation("measurement.get-length-units")}}export class MeasurementEvents extends t{get started(){return this._messages.event("measurement.started")}get stopped(){return this._messages.event("measurement.stopped")}}
1
+ import{CommandRegistry as t}from"../CommandRegistry.js";import{EventRegistry as e}from"../EventRegistry.js";import{OperationRegistry as r}from"../OperationRegistry.js";export class MeasurementCommands extends t{constructor(){super(...arguments),this._prefix="measurement"}get displaySettings(){return this._get("display-settings")}get setDefaultSymbol(){return this._get("set-default-symbol")}get setAreaUnits(){return this._get("set-area-units")}get setLengthUnits(){return this._get("set-length-units")}get start(){return this._get("start")}get stop(){return this._get("stop")}get clear(){return this._get("clear")}get setGeometryMode(){return this._get("set-geometry-mode")}}export class MeasurementOperations extends r{constructor(){super(...arguments),this._prefix="measurement"}get createGraphics(){return this._get("create-graphics")}get captureGeometry(){return this._get("capture-geometry")}get getDefaultSymbol(){return this._get("get-default-symbol")}get getDefaultSymbol3D(){return this._get("get-default-symbol-3d")}get getAreaUnits(){return this._get("get-area-units")}get getLengthUnits(){return this._get("get-length-units")}}export class MeasurementEvents extends e{constructor(){super(...arguments),this._prefix="measurement"}get started(){return this._get("started")}get stopped(){return this._get("stopped")}}
@@ -1,6 +1,7 @@
1
1
  import type { Operation } from "../Operation.js";
2
2
  import { OperationRegistry } from "../OperationRegistry.js";
3
3
  export declare class MessagingOperations extends OperationRegistry {
4
+ protected readonly _prefix = "messaging";
4
5
  /**
5
6
  * Attempts to merge an array of values into a single value that can be used
6
7
  * as an argument for a command or operation. For example:
@@ -1 +1 @@
1
- import{OperationRegistry as s}from"../OperationRegistry.js";export class MessagingOperations extends s{get mixInArgs(){return this._messages.operation("messaging.mix-in-args")}}
1
+ import{OperationRegistry as s}from"../OperationRegistry.js";export class MessagingOperations extends s{constructor(){super(...arguments),this._prefix="messaging"}get mixInArgs(){return this._get("mix-in-args")}}
@@ -3,12 +3,7 @@ import { OperationRegistry } from "../OperationRegistry.js";
3
3
  /**
4
4
  * The status of a connection to a network host.
5
5
  */
6
- export declare enum NetworkStatus {
7
- NOCONNECTION = "NoConnection",
8
- CONNECTEDTOCARRIERDATANETWORK = "ConnectedToCarrierDataNetwork",
9
- CONNECTEDTOWIFIORETHERNET = "ConnectedToWiFiOrEthernet",
10
- RESTRICTED = "Restricted"
11
- }
6
+ export type NetworkStatus = "NoConnection" | "ConnectedToCarrierDataNetwork" | "ConnectedToWiFiOrEthernet" | "Restricted";
12
7
  /**
13
8
  * Arguments for the network.can-reach-host operation.
14
9
  */
@@ -23,6 +18,7 @@ export interface HostAndPortArgs {
23
18
  port: number;
24
19
  }
25
20
  export declare class NetworkOperations extends OperationRegistry {
21
+ protected readonly _prefix = "network";
26
22
  /**
27
23
  * Determines if the device has a network connection. Mobile only.
28
24
  *
@@ -1 +1 @@
1
- import{OperationRegistry as t}from"../OperationRegistry.js";export var NetworkStatus;!function(t){t.NOCONNECTION="NoConnection",t.CONNECTEDTOCARRIERDATANETWORK="ConnectedToCarrierDataNetwork",t.CONNECTEDTOWIFIORETHERNET="ConnectedToWiFiOrEthernet",t.RESTRICTED="Restricted"}(NetworkStatus||(NetworkStatus={}));export class NetworkOperations extends t{get hasConnection(){return this._messages.operation("network.has-connection")}get getStatus(){return this._messages.operation("network.get-status")}get canReachHost(){return this._messages.operation("network.can-reach-host")}get canReachUrl(){return this._messages.operation("network.can-reach-url")}}
1
+ import{OperationRegistry as t}from"../OperationRegistry.js";export class NetworkOperations extends t{constructor(){super(...arguments),this._prefix="network"}get hasConnection(){return this._get("has-connection")}get getStatus(){return this._get("get-status")}get canReachHost(){return this._get("can-reach-host")}get canReachUrl(){return this._get("can-reach-url")}}
@@ -44,7 +44,7 @@ export interface OfflineCommandArgs {
44
44
  */
45
45
  maps: MapsLike;
46
46
  /**
47
- * Whether a prelanned map area should update after download. Defaults to
47
+ * Whether a preplanned map area should update after download. Defaults to
48
48
  * false.
49
49
  */
50
50
  updatePreplannedAreaOnDownload: boolean;
@@ -195,8 +195,8 @@ export interface OfflineOperationResult {
195
195
  */
196
196
  error: Exception;
197
197
  /**
198
- * An <see cref="OfflineErrorCode"/> enum value indicating the type of error
199
- * that occurred, or null if successful.
198
+ * An `OfflineErrorCode` value indicating the type of error that occurred,
199
+ * or null if successful.
200
200
  */
201
201
  errorCode: OfflineErrorCode;
202
202
  /**
@@ -252,55 +252,56 @@ export interface OfflineOperationResult {
252
252
  /**
253
253
  * An error code for a known offline operation error.
254
254
  */
255
- export declare enum OfflineErrorCode {
256
- /**
257
- * The operation requires network connectivity, but the network is
258
- * disconnected.
259
- */
260
- NETWORK_CONNECTION_REQUIRED = 100,
261
- /**
262
- * Failed to connect to a Portal.
263
- */
264
- PORTAL_CONNECTION_FAILURE = 101,
265
- /**
266
- * Job is already in progress.
267
- */
268
- ALREADY_STARTED = 102,
269
- /**
270
- * An exception was thrown.
271
- */
272
- EXCEPTION_THROWN = 103,
273
- /**
274
- * The downloaded map area package is invalid.
275
- */
276
- INVALID_MAP_AREA_DATA = 104,
277
- /**
278
- * The amount of allowable time spent with the app in the background was
279
- * exceeded.
280
- */
281
- BACKGROUND_TIME_EXPIRED = 105,
282
- /**
283
- * Multiple errors occurred.
284
- */
285
- MULTIPLE_ERRORS = 106,
286
- /**
287
- * A webmap is required, but one is not availble.
288
- */
289
- WEBMAP_REQUIRED = 200,
290
- /**
291
- * The webmap failed to load.
292
- */
293
- WEBMAP_LOAD_FAILURE = 201,
294
- /**
295
- * The webmap must be loaded before the operation can be completed.
296
- */
297
- WEBMAP_NOT_LOADED = 202,
298
- /**
299
- * Permission denied on the webmap.
300
- */
301
- WEBMAP_UNAUTHORIZED = 203
302
- }
255
+ export type OfflineErrorCode =
256
+ /**
257
+ * NETWORK_CONNECTION_REQUIRED - The operation requires network
258
+ * connectivity, but the network is disconnected.
259
+ */
260
+ 100
261
+ /**
262
+ * PORTAL_CONNECTION_FAILURE - Failed to connect to a Portal.
263
+ */
264
+ | 101
265
+ /**
266
+ * ALREADY_STARTED - Job is already in progress.
267
+ */
268
+ | 102
269
+ /**
270
+ * EXCEPTION_THROWN - An exception was thrown.
271
+ */
272
+ | 103
273
+ /**
274
+ * INVALID_MAP_AREA_DATA - The downloaded map area package is invalid.
275
+ */
276
+ | 104
277
+ /**
278
+ * BACKGROUND_TIME_EXPIRED - The amount of allowable time spent with the app
279
+ * in the background was exceeded.
280
+ */
281
+ | 105
282
+ /**
283
+ * MULTIPLE_ERRORS - Multiple errors occurred.
284
+ */
285
+ | 106
286
+ /**
287
+ * WEBMAP_REQUIRED - A web map is required, but one is not available.
288
+ */
289
+ | 200
290
+ /**
291
+ * WEBMAP_LOAD_FAILURE - The web map failed to load.
292
+ */
293
+ | 201
294
+ /**
295
+ * WEBMAP_NOT_LOADED - The web map must be loaded before the operation can
296
+ * be completed.
297
+ */
298
+ | 202
299
+ /**
300
+ * WEBMAP_UNAUTHORIZED - Permission denied on the web map.
301
+ */
302
+ | 203;
303
303
  export declare class OfflineCommands extends CommandRegistry {
304
+ protected readonly _prefix = "offline";
304
305
  /**
305
306
  * Cancels any create offline map area operation in progress and resets the
306
307
  * form used to create custom offline map areas. Mobile only.
@@ -332,6 +333,7 @@ export declare class OfflineCommands extends CommandRegistry {
332
333
  get displayCreateArea(): Command<MapExtension>;
333
334
  }
334
335
  export declare class OfflineEvents extends EventRegistry {
336
+ protected readonly _prefix = "offline";
335
337
  /**
336
338
  * Raised when an offline area is activated. Mobile only.
337
339
  *
@@ -435,6 +437,7 @@ export declare class OfflineEvents extends EventRegistry {
435
437
  get userWentOnline(): Event<UserWentOnlineEventArgs>;
436
438
  }
437
439
  export declare class OfflineOperations extends OperationRegistry {
440
+ protected readonly _prefix = "offline";
438
441
  /**
439
442
  * Creates a new custom offline map area. Mobile only.
440
443
  *
@@ -1 +1 @@
1
- import{CommandRegistry as e}from"../CommandRegistry.js";import{EventRegistry as t}from"../EventRegistry.js";import{OperationRegistry as a}from"../OperationRegistry.js";export var OfflineErrorCode;!function(e){e[e.NETWORK_CONNECTION_REQUIRED=100]="NETWORK_CONNECTION_REQUIRED",e[e.PORTAL_CONNECTION_FAILURE=101]="PORTAL_CONNECTION_FAILURE",e[e.ALREADY_STARTED=102]="ALREADY_STARTED",e[e.EXCEPTION_THROWN=103]="EXCEPTION_THROWN",e[e.INVALID_MAP_AREA_DATA=104]="INVALID_MAP_AREA_DATA",e[e.BACKGROUND_TIME_EXPIRED=105]="BACKGROUND_TIME_EXPIRED",e[e.MULTIPLE_ERRORS=106]="MULTIPLE_ERRORS",e[e.WEBMAP_REQUIRED=200]="WEBMAP_REQUIRED",e[e.WEBMAP_LOAD_FAILURE=201]="WEBMAP_LOAD_FAILURE",e[e.WEBMAP_NOT_LOADED=202]="WEBMAP_NOT_LOADED",e[e.WEBMAP_UNAUTHORIZED=203]="WEBMAP_UNAUTHORIZED"}(OfflineErrorCode||(OfflineErrorCode={}));export class OfflineCommands extends e{get cancelCreateArea(){return this._messages.command("offline.cancel-create-area")}get cancelDownload(){return this._messages.command("offline.cancel-download")}get deleteArea(){return this._messages.command("offline.delete-area")}get displayCreateArea(){return this._messages.command("offline.display-create-area")}}export class OfflineEvents extends t{get areaActivated(){return this._messages.event("offline.area-activated")}get areaActivating(){return this._messages.event("offline.area-activating")}get areaDeleted(){return this._messages.event("offline.area-deleted")}get areaDownloadStarted(){return this._messages.event("offline.area-download-started")}get areaDownloadCanceled(){return this._messages.event("offline.area-download-canceled")}get areaDownloadFailed(){return this._messages.event("offline.area-download-failed")}get areaDownloaded(){return this._messages.event("offline.area-downloaded")}get areaUpdateStarted(){return this._messages.event("offline.area-update-started")}get areaUpdated(){return this._messages.event("offline.area-updated")}get areaUpdateFailed(){return this._messages.event("offline.area-update-failed")}get areaEditsSubmitStarted(){return this._messages.event("offline.area-edits-submit-started")}get areaEditsSubmitted(){return this._messages.event("offline.area-edits-submitted")}get areaEditsSubmitFailed(){return this._messages.event("offline.area-edits-submit-failed")}get customAreaCreated(){return this._messages.event("offline.custom-area-created")}get customAreaDeleted(){return this._messages.event("offline.custom-area-deleted")}get userWentOnline(){return this._messages.event("offline.user-went-online")}}export class OfflineOperations extends a{get createArea(){return this._messages.operation("offline.create-area")}get getAreas(){return this._messages.operation("offline.get-areas")}get getEdits(){return this._messages.operation("offline.get-edits")}get activateArea(){return this._messages.operation("offline.activate-area")}get downloadArea(){return this._messages.operation("offline.download-area")}get goOnline(){return this._messages.operation("offline.go-online")}get checkForActiveArea(){return this._messages.operation("offline.check-for-active-area")}get submitEdits(){return this._messages.operation("offline.submit-edits")}get updateArea(){return this._messages.operation("offline.update-area")}}
1
+ import{CommandRegistry as e}from"../CommandRegistry.js";import{EventRegistry as t}from"../EventRegistry.js";import{OperationRegistry as a}from"../OperationRegistry.js";export class OfflineCommands extends e{constructor(){super(...arguments),this._prefix="offline"}get cancelCreateArea(){return this._get("cancel-create-area")}get cancelDownload(){return this._get("cancel-download")}get deleteArea(){return this._get("delete-area")}get displayCreateArea(){return this._get("display-create-area")}}export class OfflineEvents extends t{constructor(){super(...arguments),this._prefix="offline"}get areaActivated(){return this._get("area-activated")}get areaActivating(){return this._get("area-activating")}get areaDeleted(){return this._get("area-deleted")}get areaDownloadStarted(){return this._get("area-download-started")}get areaDownloadCanceled(){return this._get("area-download-canceled")}get areaDownloadFailed(){return this._get("area-download-failed")}get areaDownloaded(){return this._get("area-downloaded")}get areaUpdateStarted(){return this._get("area-update-started")}get areaUpdated(){return this._get("area-updated")}get areaUpdateFailed(){return this._get("area-update-failed")}get areaEditsSubmitStarted(){return this._get("area-edits-submit-started")}get areaEditsSubmitted(){return this._get("area-edits-submitted")}get areaEditsSubmitFailed(){return this._get("area-edits-submit-failed")}get customAreaCreated(){return this._get("custom-area-created")}get customAreaDeleted(){return this._get("custom-area-deleted")}get userWentOnline(){return this._get("user-went-online")}}export class OfflineOperations extends a{constructor(){super(...arguments),this._prefix="offline"}get createArea(){return this._get("create-area")}get getAreas(){return this._get("get-areas")}get getEdits(){return this._get("get-edits")}get activateArea(){return this._get("activate-area")}get downloadArea(){return this._get("download-area")}get goOnline(){return this._get("go-online")}get checkForActiveArea(){return this._get("check-for-active-area")}get submitEdits(){return this._get("submit-edits")}get updateArea(){return this._get("update-area")}}
@@ -36,12 +36,7 @@ export interface SnapHostPanelArgs {
36
36
  /**
37
37
  * A snapping position.
38
38
  */
39
- export declare enum SnapPosition {
40
- HIDDEN = "hidden",
41
- MIDDLE = "middle",
42
- TOP = "top",
43
- COLLAPSED = "collapsed"
44
- }
39
+ export type SnapPosition = "hidden" | "middle" | "top" | "collapsed";
45
40
  /**
46
41
  * Corresponds to `VertiGIS.Mobile.Composition.Layout.ComponentBase` in the
47
42
  * VertiGIS.Mobile SDK.
@@ -49,6 +44,7 @@ export declare enum SnapPosition {
49
44
  export interface ComponentBase {
50
45
  }
51
46
  export declare class PanelCommands extends CommandRegistry {
47
+ protected readonly _prefix = "panel";
52
48
  /**
53
49
  * Displays the specified component in the host panel (a view that slides
54
50
  * out from the side of the screen). The component input parameter is
@@ -100,6 +96,7 @@ export declare class PanelCommands extends CommandRegistry {
100
96
  get popOut(): Command<Model["id"] | Model>;
101
97
  }
102
98
  export declare class PanelEvents extends EventRegistry {
99
+ protected readonly _prefix = "panel";
103
100
  /**
104
101
  * Raised when the component that is currently being displayed by the host
105
102
  * panel is changed. Argument is the id of the component. Mobile only.
@@ -1 +1 @@
1
- import{CommandRegistry as e}from"../CommandRegistry.js";import{EventRegistry as n}from"../EventRegistry.js";export var SnapPosition;!function(e){e.HIDDEN="hidden",e.MIDDLE="middle",e.TOP="top",e.COLLAPSED="collapsed"}(SnapPosition||(SnapPosition={}));export class PanelCommands extends e{get openHostPanel(){return this._messages.command("panel.open-host-panel")}get closeHostPanel(){return this._messages.command("panel.close-host-panel")}get anchorHostPanel(){return this._messages.command("panel.anchor-host-panel")}get snapHostPanel(){return this._messages.command("panel.snap-host-panel")}get popIn(){return this._messages.command("panel.pop-in")}get popOut(){return this._messages.command("panel.pop-out")}}export class PanelEvents extends n{get hostPanelComponentChanged(){return this._messages.event("panel.host-panel-component-changed")}get hostPanelComponentChanging(){return this._messages.event("panel.host-panel-component-changing")}}
1
+ import{CommandRegistry as t}from"../CommandRegistry.js";import{EventRegistry as e}from"../EventRegistry.js";export class PanelCommands extends t{constructor(){super(...arguments),this._prefix="panel"}get openHostPanel(){return this._get("open-host-panel")}get closeHostPanel(){return this._get("close-host-panel")}get anchorHostPanel(){return this._get("anchor-host-panel")}get snapHostPanel(){return this._get("snap-host-panel")}get popIn(){return this._get("pop-in")}get popOut(){return this._get("pop-out")}}export class PanelEvents extends e{constructor(){super(...arguments),this._prefix="panel"}get hostPanelComponentChanged(){return this._get("host-panel-component-changed")}get hostPanelComponentChanging(){return this._get("host-panel-component-changing")}}
@@ -22,6 +22,7 @@ export interface DisplayPhotoDetailsArgs {
22
22
  sender: VisualElement;
23
23
  }
24
24
  export declare class PhotosCommands extends CommandRegistry {
25
+ protected readonly _prefix = "photos";
25
26
  /**
26
27
  * Displays a photo in expanded / details view. Mobile only.
27
28
  *
@@ -36,6 +37,7 @@ export declare class PhotosCommands extends CommandRegistry {
36
37
  get hideDetails(): Command;
37
38
  }
38
39
  export declare class PhotosEvents extends EventRegistry {
40
+ protected readonly _prefix = "photos";
39
41
  /**
40
42
  * Raised when photo details are hidden. Mobile only.
41
43
  *
@@ -1 +1 @@
1
- import{CommandRegistry as s}from"../CommandRegistry.js";import{EventRegistry as e}from"../EventRegistry.js";export class PhotosCommands extends s{get displayDetails(){return this._messages.command("photos.display-details")}get hideDetails(){return this._messages.command("photos.hide-details")}}export class PhotosEvents extends e{get detailsHidden(){return this._messages.event("photos.details-hidden")}}
1
+ import{CommandRegistry as t}from"../CommandRegistry.js";import{EventRegistry as e}from"../EventRegistry.js";export class PhotosCommands extends t{constructor(){super(...arguments),this._prefix="photos"}get displayDetails(){return this._get("display-details")}get hideDetails(){return this._get("hide-details")}}export class PhotosEvents extends e{constructor(){super(...arguments),this._prefix="photos"}get detailsHidden(){return this._get("details-hidden")}}
@@ -68,6 +68,7 @@ export interface CreateOrUpdateItemArgs extends PortalItemData {
68
68
  promptForOverwrite?: boolean;
69
69
  }
70
70
  export declare class PortalEvents extends EventRegistry {
71
+ protected readonly _prefix = "portal";
71
72
  /**
72
73
  * Raised when an ArcGIS Portal is initialized. Mobile only.
73
74
  *
@@ -76,6 +77,7 @@ export declare class PortalEvents extends EventRegistry {
76
77
  get initialized(): Event<ArcGISPortalExtension>;
77
78
  }
78
79
  export declare class PortalOperations extends OperationRegistry {
80
+ protected readonly _prefix = "portal";
79
81
  /**
80
82
  * Allows the user to browse/search the application's associated portal for
81
83
  * one or more layers. Web only.
@@ -1 +1 @@
1
- import{EventRegistry as e}from"../EventRegistry.js";import{OperationRegistry as t}from"../OperationRegistry.js";export class PortalEvents extends e{get initialized(){return this._messages.event("portal.initialized")}}export class PortalOperations extends t{get chooseLayers(){return this._messages.operation("portal.choose-layers")}get createOrUpdateItem(){return this._messages.operation("portal.create-or-update-item")}}
1
+ import{EventRegistry as t}from"../EventRegistry.js";import{OperationRegistry as e}from"../OperationRegistry.js";export class PortalEvents extends t{constructor(){super(...arguments),this._prefix="portal"}get initialized(){return this._get("initialized")}}export class PortalOperations extends e{constructor(){super(...arguments),this._prefix="portal"}get chooseLayers(){return this._get("choose-layers")}get createOrUpdateItem(){return this._get("create-or-update-item")}}
@@ -113,12 +113,14 @@ export interface PrintProgressEventArgs extends PrintEventArgsBase {
113
113
  export interface PrintStartedEventArgs extends PrintEventArgsBase {
114
114
  }
115
115
  export declare class PrintCommands extends CommandRegistry {
116
+ protected readonly _prefix = "printing";
116
117
  /**
117
118
  * Run a print job with a given map and template.
118
119
  */
119
120
  get run(): Command<RunPrintArgs>;
120
121
  }
121
122
  export declare class PrintEvents extends EventRegistry {
123
+ protected readonly _prefix = "printing";
122
124
  /**
123
125
  * Raised when a print has started running.
124
126
  */
@@ -1 +1 @@
1
- import{CommandRegistry as t}from"../CommandRegistry.js";import{EventRegistry as r}from"../EventRegistry.js";export class PrintCommands extends t{get run(){return this._messages.command("printing.run")}}export class PrintEvents extends r{get printStarted(){return this._messages.event("printing.print-started")}get printProgress(){return this._messages.event("printing.print-progress")}get printFinished(){return this._messages.event("printing.print-finished")}get printError(){return this._messages.event("printing.print-error")}}
1
+ import{CommandRegistry as r}from"../CommandRegistry.js";import{EventRegistry as t}from"../EventRegistry.js";export class PrintCommands extends r{constructor(){super(...arguments),this._prefix="printing"}get run(){return this._get("run")}}export class PrintEvents extends t{constructor(){super(...arguments),this._prefix="printing"}get printStarted(){return this._get("print-started")}get printProgress(){return this._get("print-progress")}get printFinished(){return this._get("print-finished")}get printError(){return this._get("print-error")}}
@@ -50,6 +50,7 @@ export interface SaveSharedProjectArgs extends Partial<SharedProject>, HasAppCon
50
50
  showConfirm?: boolean;
51
51
  }
52
52
  export declare class ProjectCommands extends CommandRegistry {
53
+ protected readonly _prefix = "project";
53
54
  /**
54
55
  * Loads a project's app config and updates the application's current state,
55
56
  * accordingly. If more than one file is provided, only the first will be
@@ -93,6 +94,7 @@ export declare class ProjectCommands extends CommandRegistry {
93
94
  get deleteShared(): Command<DeleteSharedProjectArgs>;
94
95
  }
95
96
  export declare class ProjectOperations extends OperationRegistry {
97
+ protected readonly _prefix = "project";
96
98
  /**
97
99
  * Creates app config for a project, based on the current state of the
98
100
  * application. Web only.
@@ -120,6 +122,7 @@ export declare class ProjectOperations extends OperationRegistry {
120
122
  get getShared(): Operation<void, SharedProject[]>;
121
123
  }
122
124
  export declare class ProjectEvents extends EventRegistry {
125
+ protected readonly _prefix = "project";
123
126
  /**
124
127
  * Raised when a project is loaded. Web only.
125
128
  *
@@ -1 +1 @@
1
- import{CommandRegistry as e}from"../CommandRegistry.js";import{EventRegistry as t}from"../EventRegistry.js";import{OperationRegistry as s}from"../OperationRegistry.js";export class ProjectCommands extends e{get load(){return this._messages.command("project.load")}get saveShared(){return this._messages.command("project.save-shared")}get ensureCanSaveShared(){return this._messages.command("project.ensure-can-save-shared")}get showSettings(){return this._messages.command("project.show-settings")}get showShareLink(){return this._messages.command("project.show-share-link")}get deleteShared(){return this._messages.command("project.delete-shared")}}export class ProjectOperations extends s{get create(){return this._messages.operation("project.create")}get getSharedContent(){return this._messages.operation("project.get-shared-content")}get getShareLink(){return this._messages.operation("project.get-share-link")}get getShared(){return this._messages.operation("project.get-shared")}}export class ProjectEvents extends t{get loaded(){return this._messages.event("project.loaded")}get shareAdded(){return this._messages.event("project.share-added")}get shareRemoved(){return this._messages.event("project.share-removed")}}
1
+ import{CommandRegistry as e}from"../CommandRegistry.js";import{EventRegistry as t}from"../EventRegistry.js";import{OperationRegistry as r}from"../OperationRegistry.js";export class ProjectCommands extends e{constructor(){super(...arguments),this._prefix="project"}get load(){return this._get("load")}get saveShared(){return this._get("save-shared")}get ensureCanSaveShared(){return this._get("ensure-can-save-shared")}get showSettings(){return this._get("show-settings")}get showShareLink(){return this._get("show-share-link")}get deleteShared(){return this._get("delete-shared")}}export class ProjectOperations extends r{constructor(){super(...arguments),this._prefix="project"}get create(){return this._get("create")}get getSharedContent(){return this._get("get-shared-content")}get getShareLink(){return this._get("get-share-link")}get getShared(){return this._get("get-shared")}}export class ProjectEvents extends t{constructor(){super(...arguments),this._prefix="project"}get loaded(){return this._get("loaded")}get shareAdded(){return this._get("share-added")}get shareRemoved(){return this._get("share-removed")}}
@@ -45,6 +45,7 @@ export interface QueryBuilderArgsBase {
45
45
  export interface SetQueryArgs extends QueryBuilderArgsBase, Query {
46
46
  }
47
47
  export declare class QueryBuilderCommands extends CommandRegistry {
48
+ protected readonly _prefix = "query-builder";
48
49
  /**
49
50
  * Sets the current query criteria in the query builder and also activates
50
51
  * the component. Web only.
@@ -65,6 +66,7 @@ export declare class QueryBuilderCommands extends CommandRegistry {
65
66
  export interface GetQueryArgs extends Required<QueryBuilderArgsBase> {
66
67
  }
67
68
  export declare class QueryBuilderOperations extends OperationRegistry {
69
+ protected readonly _prefix = "query-builder";
68
70
  /**
69
71
  * Gets the currently visible query from the specified query builder
70
72
  * component. Web only.
@@ -1 +1 @@
1
- import{CommandRegistry as e}from"../CommandRegistry.js";import{OperationRegistry as r}from"../OperationRegistry.js";export class QueryBuilderCommands extends e{get displayQuery(){return this._messages.command("query-builder.display-query")}get setQuery(){return this._messages.command("query-builder.set-query")}}export class QueryBuilderOperations extends r{get getQuery(){return this._messages.operation("query-builder.get-query")}}
1
+ import{CommandRegistry as e}from"../CommandRegistry.js";import{OperationRegistry as r}from"../OperationRegistry.js";export class QueryBuilderCommands extends e{constructor(){super(...arguments),this._prefix="query-builder"}get displayQuery(){return this._get("display-query")}get setQuery(){return this._get("set-query")}}export class QueryBuilderOperations extends r{constructor(){super(...arguments),this._prefix="query-builder"}get getQuery(){return this._get("get-query")}}
@@ -4,6 +4,7 @@ import { CommandRegistry } from "../CommandRegistry.js";
4
4
  import type { Event } from "../Event.js";
5
5
  import { EventRegistry } from "../EventRegistry.js";
6
6
  export declare class RegionCommands extends CommandRegistry {
7
+ protected readonly _prefix = "region";
7
8
  /**
8
9
  * Sets the current measurement system. Web only.
9
10
  *
@@ -12,6 +13,7 @@ export declare class RegionCommands extends CommandRegistry {
12
13
  get setMeasurementSystem(): Command<MeasurementSystem>;
13
14
  }
14
15
  export declare class RegionEvents extends EventRegistry {
16
+ protected readonly _prefix = "region";
15
17
  /**
16
18
  * Raised when the current measurement system is changed. Web only.
17
19
  *
@@ -1 +1 @@
1
- import{CommandRegistry as e}from"../CommandRegistry.js";import{EventRegistry as s}from"../EventRegistry.js";export class RegionCommands extends e{get setMeasurementSystem(){return this._messages.command("region.set-measurement-system")}}export class RegionEvents extends s{get measurementSystemChanged(){return this._messages.event("region.measurement-system-changed")}}
1
+ import{CommandRegistry as e}from"../CommandRegistry.js";import{EventRegistry as t}from"../EventRegistry.js";export class RegionCommands extends e{constructor(){super(...arguments),this._prefix="region"}get setMeasurementSystem(){return this._get("set-measurement-system")}}export class RegionEvents extends t{constructor(){super(...arguments),this._prefix="region"}get measurementSystemChanged(){return this._get("measurement-system-changed")}}