@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
@@ -95,6 +95,7 @@ export interface ReportProgressEventArgs extends ReportEventArgsBase {
95
95
  export interface ReportStartedEventArgs extends ReportEventArgsBase {
96
96
  }
97
97
  export declare class ReportsCommands extends CommandRegistry {
98
+ protected readonly _prefix = "reports";
98
99
  /**
99
100
  * Run a report on the given features. The report URL and feature IDs are
100
101
  * provided by the viewer. Web only.
@@ -104,6 +105,7 @@ export declare class ReportsCommands extends CommandRegistry {
104
105
  get run(): Command<RunReportArgs>;
105
106
  }
106
107
  export declare class ReportEvents extends EventRegistry {
108
+ protected readonly _prefix = "reports";
107
109
  /**
108
110
  * Raised when a report has started running. Web only.
109
111
  *
@@ -1 +1 @@
1
- import{CommandRegistry as e}from"../CommandRegistry.js";import{EventRegistry as r}from"../EventRegistry.js";export class ReportsCommands extends e{get run(){return this._messages.command("reports.run")}}export class ReportEvents extends r{get reportStarted(){return this._messages.event("reports.report-started")}get reportProgress(){return this._messages.event("reports.report-progress")}get reportFinished(){return this._messages.event("reports.report-finished")}get reportError(){return this._messages.event("reports.report-error")}}
1
+ import{CommandRegistry as r}from"../CommandRegistry.js";import{EventRegistry as t}from"../EventRegistry.js";export class ReportsCommands extends r{constructor(){super(...arguments),this._prefix="reports"}get run(){return this._get("run")}}export class ReportEvents extends t{constructor(){super(...arguments),this._prefix="reports"}get reportStarted(){return this._get("report-started")}get reportProgress(){return this._get("report-progress")}get reportFinished(){return this._get("report-finished")}get reportError(){return this._get("report-error")}}
@@ -65,7 +65,7 @@ export interface ToCsvConversionArgs extends ToCsvOptions {
65
65
  features: Features;
66
66
  }
67
67
  /**
68
- * Arguements for the "results.upload-data-args-to-feature" operation.
68
+ * Arguments for the "results.upload-data-args-to-feature" operation.
69
69
  */
70
70
  export interface UploadDataArgs extends UploadDataOptions {
71
71
  /**
@@ -315,7 +315,7 @@ export interface SetDisplayComponentArgs {
315
315
  results?: ModelRef;
316
316
  }
317
317
  /**
318
- * Event args for attachement events.
318
+ * Event args for attachment events.
319
319
  */
320
320
  export interface AttachmentEventArgs {
321
321
  /**
@@ -337,6 +337,7 @@ export interface FeatureDetailsEvent {
337
337
  feature: Feature;
338
338
  }
339
339
  export declare class ResultsCommands extends CommandRegistry {
340
+ protected readonly _prefix = "results";
340
341
  /**
341
342
  * Activates the current set of results component(s), which is set via
342
343
  * results.set-display-components. Web only.
@@ -455,6 +456,7 @@ export declare class ResultsCommands extends CommandRegistry {
455
456
  get setListCardSize(): Command<CardSize | SetListCardSizeArgs>;
456
457
  }
457
458
  export declare class ResultsEvents extends EventRegistry {
459
+ protected readonly _prefix = "results";
458
460
  /**
459
461
  * Raised when results are added or removed to a named results set. Web
460
462
  * only.
@@ -489,8 +491,9 @@ export declare class ResultsEvents extends EventRegistry {
489
491
  get relatedDetailsShown(): Event<FeatureDetailsEvent>;
490
492
  }
491
493
  export declare class ResultsOperations extends OperationRegistry {
494
+ protected readonly _prefix = "results";
492
495
  /**
493
- * Display a dialog to configure the arguements for the upload layer
496
+ * Display a dialog to configure the arguments for the upload layer
494
497
  * operation. Web only.
495
498
  *
496
499
  * @webOnly
@@ -1 +1 @@
1
- import{CommandRegistry as e}from"../CommandRegistry.js";import{EventRegistry as s}from"../EventRegistry.js";import{OperationRegistry as t}from"../OperationRegistry.js";export var KnownResultSetIds;!function(e){e.STARRED="vgs-starred"}(KnownResultSetIds||(KnownResultSetIds={}));export class ResultsCommands extends e{get activateDisplayComponents(){return this._messages.command("results.activate-display-components")}get display(){return this._messages.command("results.display")}get setDisplayComponents(){return this._messages.command("results.set-display-components")}get displayDetails(){return this._messages.command("results.display-details")}get displaySummary(){return this._messages.command("results.display-summary")}get displayNewDetails(){return this._messages.command("results.display-new-details")}get add(){return this._messages.command("results.add")}get intersect(){return this._messages.command("results.intersect")}get remove(){return this._messages.command("results.remove")}get replace(){return this._messages.command("results.replace")}get clear(){return this._messages.command("results.clear")}get clearDetails(){return this._messages.command("results.clear-details")}get hideDetails(){return this._messages.command("results.hide-details")}get openAttachment(){return this._messages.command("results.open-attachment")}get refresh(){return this._messages.command("results.refresh")}get setListViewMode(){return this._messages.command("results.set-list-view-mode")}get setListCardSize(){return this._messages.command("results.set-list-card-size")}}export class ResultsEvents extends s{get changed(){return this._messages.event("results.changed")}get displayed(){return this._messages.event("results.displayed")}get attachmentOpened(){return this._messages.event("results.attachment-opened")}get detailsShown(){return this._messages.event("results.details-shown")}get relatedDetailsShown(){return this._messages.event("results.related-details-shown")}}export class ResultsOperations extends t{get configureUploadData(){return this._messages.operation("results.configure-upload-data")}get contains(){return this._messages.operation("results.contains")}get convertToCsv(){return this._messages.operation("results.convert-to-csv")}get convertToXlsx(){return this._messages.operation("results.convert-to-xlsx")}get convertToShapefile(){return this._messages.operation("results.convert-to-shapefile")}get convertToLayers(){return this._messages.operation("results.convert-to-layers")}get fromCsv(){return this._messages.operation("results.from-csv")}get fromFiles(){return this._messages.operation("results.from-files")}get uploadDataFromFiles(){return this._messages.operation("results.upload-data-from-files")}get uploadDataToFeatures(){return this._messages.operation("results.upload-data-to-features")}get fromShapefile(){return this._messages.operation("results.from-shapefile")}get fromXlsx(){return this._messages.operation("results.from-xlsx")}get fromGraphics(){return this._messages.operation("results.from-graphics")}get toGraphics(){return this._messages.operation("results.to-graphics")}get getFeatures(){return this._messages.operation("results.get-features")}get filter(){return this._messages.operation("results.filter")}}
1
+ import{CommandRegistry as t}from"../CommandRegistry.js";import{EventRegistry as e}from"../EventRegistry.js";import{OperationRegistry as r}from"../OperationRegistry.js";export var KnownResultSetIds;!function(t){t.STARRED="vgs-starred"}(KnownResultSetIds||(KnownResultSetIds={}));export class ResultsCommands extends t{constructor(){super(...arguments),this._prefix="results"}get activateDisplayComponents(){return this._get("activate-display-components")}get display(){return this._get("display")}get setDisplayComponents(){return this._get("set-display-components")}get displayDetails(){return this._get("display-details")}get displaySummary(){return this._get("display-summary")}get displayNewDetails(){return this._get("display-new-details")}get add(){return this._get("add")}get intersect(){return this._get("intersect")}get remove(){return this._get("remove")}get replace(){return this._get("replace")}get clear(){return this._get("clear")}get clearDetails(){return this._get("clear-details")}get hideDetails(){return this._get("hide-details")}get openAttachment(){return this._get("open-attachment")}get refresh(){return this._get("refresh")}get setListViewMode(){return this._get("set-list-view-mode")}get setListCardSize(){return this._get("set-list-card-size")}}export class ResultsEvents extends e{constructor(){super(...arguments),this._prefix="results"}get changed(){return this._get("changed")}get displayed(){return this._get("displayed")}get attachmentOpened(){return this._get("attachment-opened")}get detailsShown(){return this._get("details-shown")}get relatedDetailsShown(){return this._get("related-details-shown")}}export class ResultsOperations extends r{constructor(){super(...arguments),this._prefix="results"}get configureUploadData(){return this._get("configure-upload-data")}get contains(){return this._get("contains")}get convertToCsv(){return this._get("convert-to-csv")}get convertToXlsx(){return this._get("convert-to-xlsx")}get convertToShapefile(){return this._get("convert-to-shapefile")}get convertToLayers(){return this._get("convert-to-layers")}get fromCsv(){return this._get("from-csv")}get fromFiles(){return this._get("from-files")}get uploadDataFromFiles(){return this._get("upload-data-from-files")}get uploadDataToFeatures(){return this._get("upload-data-to-features")}get fromShapefile(){return this._get("from-shapefile")}get fromXlsx(){return this._get("from-xlsx")}get fromGraphics(){return this._get("from-graphics")}get toGraphics(){return this._get("to-graphics")}get getFeatures(){return this._get("get-features")}get filter(){return this._get("filter")}}
@@ -8,10 +8,7 @@ import type { SearchArgs } from "./tasks.js";
8
8
  /**
9
9
  * The search source.
10
10
  */
11
- export declare enum SearchSource {
12
- ADDRESSES = "addresses",
13
- FEATURES = "features"
14
- }
11
+ export type SearchSource = "addresses" | "features";
15
12
  /**
16
13
  * Arguments for the search.completed event.
17
14
  */
@@ -30,6 +27,7 @@ export interface SearchCompletedArgs extends MapsFeatureResultArgs {
30
27
  mapViewpoint: Viewpoint;
31
28
  }
32
29
  export declare class SearchCommands extends CommandRegistry {
30
+ protected readonly _prefix = "search";
33
31
  /**
34
32
  * Clears the search input.
35
33
  */
@@ -42,6 +40,7 @@ export declare class SearchCommands extends CommandRegistry {
42
40
  get setSource(): Command<SearchSource>;
43
41
  }
44
42
  export declare class SearchEvents extends EventRegistry {
43
+ protected readonly _prefix = "search";
45
44
  /**
46
45
  * Raised when a search component is activated. Mobile only.
47
46
  *
@@ -1 +1 @@
1
- import{CommandRegistry as e}from"../CommandRegistry.js";import{EventRegistry as s}from"../EventRegistry.js";export var SearchSource;!function(e){e.ADDRESSES="addresses",e.FEATURES="features"}(SearchSource||(SearchSource={}));export class SearchCommands extends e{get clear(){return this._messages.command("search.clear")}get setSource(){return this._messages.command("search.set-source")}}export class SearchEvents extends s{get activated(){return this._messages.event("search.activated")}get cleared(){return this._messages.event("search.cleared")}get deactivated(){return this._messages.event("search.deactivated")}get completed(){return this._messages.event("search.completed")}get started(){return this._messages.event("search.started")}}
1
+ import{CommandRegistry as e}from"../CommandRegistry.js";import{EventRegistry as t}from"../EventRegistry.js";export class SearchCommands extends e{constructor(){super(...arguments),this._prefix="search"}get clear(){return this._get("clear")}get setSource(){return this._get("set-source")}}export class SearchEvents extends t{constructor(){super(...arguments),this._prefix="search"}get activated(){return this._get("activated")}get cleared(){return this._get("cleared")}get deactivated(){return this._get("deactivated")}get completed(){return this._get("completed")}get started(){return this._get("started")}}
@@ -1,6 +1,7 @@
1
1
  import type { Event } from "../Event.js";
2
2
  import { EventRegistry } from "../EventRegistry.js";
3
3
  export declare class SettingsEvents extends EventRegistry {
4
+ protected readonly _prefix = "settings";
4
5
  /**
5
6
  * Raised when application settings have been updated. Mobile only.
6
7
  *
@@ -34,9 +35,4 @@ export interface SettingsInfo {
34
35
  /**
35
36
  * The approximate size / resolution that photos should be resized to.
36
37
  */
37
- export declare enum PhotoResizeOption {
38
- ORIGINAL = "Original",
39
- LARGE = "Large",
40
- MEDIUM = "Medium",
41
- SMALL = "Small"
42
- }
38
+ export type PhotoResizeOption = "Original" | "Large" | "Medium" | "Small";
@@ -1 +1 @@
1
- import{EventRegistry as e}from"../EventRegistry.js";export class SettingsEvents extends e{get updated(){return this._messages.event("settings.updated")}}export var PhotoResizeOption;!function(e){e.ORIGINAL="Original",e.LARGE="Large",e.MEDIUM="Medium",e.SMALL="Small"}(PhotoResizeOption||(PhotoResizeOption={}));
1
+ import{EventRegistry as t}from"../EventRegistry.js";export class SettingsEvents extends t{constructor(){super(...arguments),this._prefix="settings"}get updated(){return this._get("updated")}}
@@ -3,6 +3,7 @@ import type { Event } from "../Event.js";
3
3
  import { EventRegistry } from "../EventRegistry.js";
4
4
  import type { Message } from "../Message.js";
5
5
  export declare class ShortcutEvents extends EventRegistry {
6
+ protected readonly _prefix = "shortcut";
6
7
  /**
7
8
  * Raised when a shortcut was added. Mobile only.
8
9
  *
@@ -1 +1 @@
1
- import{EventRegistry as e}from"../EventRegistry.js";export class ShortcutEvents extends e{get shortcutAdded(){return this._messages.event("shortcut.added")}get shortcutRemoved(){return this._messages.event("shortcut.removed")}}
1
+ import{EventRegistry as t}from"../EventRegistry.js";export class ShortcutEvents extends t{constructor(){super(...arguments),this._prefix="shortcut"}get shortcutAdded(){return this._get("added")}get shortcutRemoved(){return this._get("removed")}}
@@ -11,16 +11,8 @@ import type SimpleLineSymbol from "@arcgis/core/symbols/SimpleLineSymbol";
11
11
  import type SimpleMarkerSymbol from "@arcgis/core/symbols/SimpleMarkerSymbol";
12
12
  import type Symbol from "@arcgis/core/symbols/Symbol";
13
13
  import type TextSymbol from "@arcgis/core/symbols/TextSymbol";
14
+ import type { LineSymbol3DJson, PictureFillSymbolJson, PictureMarkerSymbolJson, PointSymbol3DJson, PolygonSymbol3DJson, SimpleFillSymbolJson, SimpleLineSymbolJson, SimpleMarkerSymbolJson, SymbolJson } from "@vertigis/arcgis-extensions/json/SymbolJson.js";
14
15
  import type { MapExtension } from "@vertigis/arcgis-extensions/mapping/MapExtension";
15
- import type { LineSymbol3D as LineSymbol3DProperties } from "@vertigis/arcgis-extensions/portal/LineSymbol3D";
16
- import type { PictureFillSymbol as PictureFillSymbolProperties } from "@vertigis/arcgis-extensions/portal/PictureFillSymbol";
17
- import type { PictureMarkerSymbol as PictureMarkerSymbolProperties } from "@vertigis/arcgis-extensions/portal/PictureMarkerSymbol";
18
- import type { PointSymbol3D as PointSymbol3DProperties } from "@vertigis/arcgis-extensions/portal/PointSymbol3D";
19
- import type { PolygonSymbol3D as PolygonSymbol3DProperties } from "@vertigis/arcgis-extensions/portal/PolygonSymbol3D";
20
- import type { SimpleFillSymbol as SimpleFillSymbolProperties } from "@vertigis/arcgis-extensions/portal/SimpleFillSymbol";
21
- import type { SimpleLineSymbol as SimpleLineSymbolProperties } from "@vertigis/arcgis-extensions/portal/SimpleLineSymbol";
22
- import type { SimpleMarkerSymbol as SimpleMarkerSymbolProperties } from "@vertigis/arcgis-extensions/portal/SimpleMarkerSymbol";
23
- import type { Symbol as SymbolJson } from "@vertigis/arcgis-extensions/portal/Symbol";
24
16
  import type { SnappingProperties } from "app-config/web/SnappingProperties.js";
25
17
  import type { Command } from "../Command.js";
26
18
  import { CommandRegistry } from "../CommandRegistry.js";
@@ -51,27 +43,27 @@ export interface SymbolSet {
51
43
  /**
52
44
  * The symbol used to draw points.
53
45
  */
54
- pointSymbol?: SimpleMarkerSymbol | SimpleMarkerSymbolProperties | PictureMarkerSymbol | PictureMarkerSymbolProperties;
46
+ pointSymbol?: SimpleMarkerSymbol | SimpleMarkerSymbolJson | PictureMarkerSymbol | PictureMarkerSymbolJson;
55
47
  /**
56
48
  * The symbol used to draw 3D points.
57
49
  */
58
- pointSymbol3D?: PointSymbol3D | PointSymbol3DProperties;
50
+ pointSymbol3D?: PointSymbol3D | PointSymbol3DJson;
59
51
  /**
60
52
  * The symbol used to draw lines.
61
53
  */
62
- lineSymbol?: SimpleLineSymbol | SimpleLineSymbolProperties;
54
+ lineSymbol?: SimpleLineSymbol | SimpleLineSymbolJson;
63
55
  /**
64
56
  * The symbol used to draw 3D lines.
65
57
  */
66
- lineSymbol3D?: LineSymbol3D | LineSymbol3DProperties;
58
+ lineSymbol3D?: LineSymbol3D | LineSymbol3DJson;
67
59
  /**
68
60
  * The symbol used to draw polygons.
69
61
  */
70
- polygonSymbol?: SimpleFillSymbol | SimpleFillSymbolProperties | PictureFillSymbol | PictureFillSymbolProperties;
62
+ polygonSymbol?: SimpleFillSymbol | SimpleFillSymbolJson | PictureFillSymbol | PictureFillSymbolJson;
71
63
  /**
72
64
  * The symbol used to draw 3D polygons.
73
65
  */
74
- polygonSymbol3D?: PolygonSymbol3D | PolygonSymbol3DProperties;
66
+ polygonSymbol3D?: PolygonSymbol3D | PolygonSymbol3DJson;
75
67
  }
76
68
  /**
77
69
  * The type of tool used for sketching.
@@ -692,6 +684,7 @@ export interface SetSnappingConfigurationArgs extends HasMaps {
692
684
  mode?: "replace" | "merge";
693
685
  }
694
686
  export declare class SketchingOperations extends OperationRegistry {
687
+ protected readonly _prefix = "sketching";
695
688
  /**
696
689
  * Allows the user to create geometry by sketching on a map. Returns the
697
690
  * geometry that was drawn, along with the map that it was drawn on.
@@ -789,6 +782,7 @@ export declare class SketchingOperations extends OperationRegistry {
789
782
  get isStreaming(): Operation<HasMaps, boolean>;
790
783
  }
791
784
  export declare class SketchingCommands extends CommandRegistry {
785
+ protected readonly _prefix = "sketching";
792
786
  /**
793
787
  * Set the snapping default to 'on' for all subsequent operations. Web only.
794
788
  *
@@ -950,6 +944,7 @@ export declare class SketchingCommands extends CommandRegistry {
950
944
  get stopStreaming(): Command<HasMaps>;
951
945
  }
952
946
  export declare class SketchingEvents extends EventRegistry {
947
+ protected readonly _prefix = "sketching";
953
948
  /**
954
949
  * Raised when streaming has begun. Mobile only.
955
950
  *
@@ -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 SketchTool;!function(e){e.POINT="point",e.MULTIPOINT="multipoint",e.LINE="line",e.POLYLINE="polyline",e.POLYGON="polygon",e.EXTENT="extent",e.SQUARE="square",e.CIRCLE="circle"}(SketchTool||(SketchTool={}));export class SketchingOperations extends s{get captureGeometry(){return this._messages.operation("sketching.capture-geometry")}get editActiveSymbol(){return this._messages.operation("sketching.edit-active-symbol")}get editGeometry(){return this._messages.operation("sketching.edit-geometry")}get moveGeometry(){return this._messages.operation("sketching.move-geometry")}get scaleGeometry(){return this._messages.operation("sketching.scale-geometry")}get rotateGeometry(){return this._messages.operation("sketching.rotate-geometry")}get stop(){return this._messages.operation("sketching.stop")}get addNodeToGeometry(){return this._messages.operation("sketching.add-node-to-geometry")}get getActiveSketch(){return this._messages.operation("sketching.get-active-sketch")}get getActiveNode(){return this._messages.operation("sketching.get-active-node")}get getActivePoints(){return this._messages.operation("sketching.get-active-points")}get getAdjacentPoint(){return this._messages.operation("sketching.get-adjacent-point")}get isStreaming(){return this._messages.operation("sketching.is-streaming")}}export class SketchingCommands extends e{get activateSnapping(){return this._messages.command("sketching.activate-snapping")}get cancel(){return this._messages.command("sketching.cancel")}get deactivateSnapping(){return this._messages.command("sketching.deactivate-snapping")}get undo(){return this._messages.command("sketching.undo")}get redo(){return this._messages.command("sketching.redo")}get setGeometryMode(){return this._messages.command("sketching.set-geometry-mode")}get setSnappingConfiguration(){return this._messages.command("sketching.set-snapping-configuration")}get addPointAtCenter(){return this._messages.command("sketching.add-point-at-center")}get addPointAtCurrentLocation(){return this._messages.command("sketching.add-point-at-current-location")}get setPointAtCurrentLocation(){return this._messages.command("sketching.set-point-at-current-location")}get delete(){return this._messages.command("sketching.delete")}get moveNode(){return this._messages.command("sketching.move-node")}get movePoint(){return this._messages.command("sketching.move-point")}get switchActiveNode(){return this._messages.command("sketching.switch-active-node")}get setActivePoints(){return this._messages.command("sketching.set-active-points")}get setInteractionMode(){return this._messages.command("sketching.set-interaction-mode")}get enableFreeScaleMode(){return this._messages.command("sketching.enable-free-scale-mode")}get disableFreeScaleMode(){return this._messages.command("sketching.disable-free-scale-mode")}get enablePrecisionMode(){return this._messages.command("sketching.enable-precision-mode")}get disablePrecisionMode(){return this._messages.command("sketching.disable-precision-mode")}get setConstraints(){return this._messages.command("sketching.set-constraints")}get clearConstraints(){return this._messages.command("sketching.clear-constraints")}get insertPoint(){return this._messages.command("sketching.insert-point")}get addPoint(){return this._messages.command("sketching.add-point")}get startStreaming(){return this._messages.command("sketching.start-streaming")}get stopStreaming(){return this._messages.command("sketching.stop-streaming")}}export class SketchingEvents extends t{get streamingStarted(){return this._messages.event("sketching.streaming-started")}get streamingStopped(){return this._messages.event("sketching.streaming-stopped")}}
1
+ import{CommandRegistry as t}from"../CommandRegistry.js";import{EventRegistry as e}from"../EventRegistry.js";import{OperationRegistry as r}from"../OperationRegistry.js";export var SketchTool;!function(t){t.POINT="point",t.MULTIPOINT="multipoint",t.LINE="line",t.POLYLINE="polyline",t.POLYGON="polygon",t.EXTENT="extent",t.SQUARE="square",t.CIRCLE="circle"}(SketchTool||(SketchTool={}));export class SketchingOperations extends r{constructor(){super(...arguments),this._prefix="sketching"}get captureGeometry(){return this._get("capture-geometry")}get editActiveSymbol(){return this._get("edit-active-symbol")}get editGeometry(){return this._get("edit-geometry")}get moveGeometry(){return this._get("move-geometry")}get scaleGeometry(){return this._get("scale-geometry")}get rotateGeometry(){return this._get("rotate-geometry")}get stop(){return this._get("stop")}get addNodeToGeometry(){return this._get("add-node-to-geometry")}get getActiveSketch(){return this._get("get-active-sketch")}get getActiveNode(){return this._get("get-active-node")}get getActivePoints(){return this._get("get-active-points")}get getAdjacentPoint(){return this._get("get-adjacent-point")}get isStreaming(){return this._get("is-streaming")}}export class SketchingCommands extends t{constructor(){super(...arguments),this._prefix="sketching"}get activateSnapping(){return this._get("activate-snapping")}get cancel(){return this._get("cancel")}get deactivateSnapping(){return this._get("deactivate-snapping")}get undo(){return this._get("undo")}get redo(){return this._get("redo")}get setGeometryMode(){return this._get("set-geometry-mode")}get setSnappingConfiguration(){return this._get("set-snapping-configuration")}get addPointAtCenter(){return this._get("add-point-at-center")}get addPointAtCurrentLocation(){return this._get("add-point-at-current-location")}get setPointAtCurrentLocation(){return this._get("set-point-at-current-location")}get delete(){return this._get("delete")}get moveNode(){return this._get("move-node")}get movePoint(){return this._get("move-point")}get switchActiveNode(){return this._get("switch-active-node")}get setActivePoints(){return this._get("set-active-points")}get setInteractionMode(){return this._get("set-interaction-mode")}get enableFreeScaleMode(){return this._get("enable-free-scale-mode")}get disableFreeScaleMode(){return this._get("disable-free-scale-mode")}get enablePrecisionMode(){return this._get("enable-precision-mode")}get disablePrecisionMode(){return this._get("disable-precision-mode")}get setConstraints(){return this._get("set-constraints")}get clearConstraints(){return this._get("clear-constraints")}get insertPoint(){return this._get("insert-point")}get addPoint(){return this._get("add-point")}get startStreaming(){return this._get("start-streaming")}get stopStreaming(){return this._get("stop-streaming")}}export class SketchingEvents extends e{constructor(){super(...arguments),this._prefix="sketching"}get streamingStarted(){return this._get("streaming-started")}get streamingStopped(){return this._get("streaming-stopped")}}
@@ -16,6 +16,7 @@ export interface TrackCustomEventArgs {
16
16
  payload?: string;
17
17
  }
18
18
  export declare class StudioAnalyticsCommands extends CommandRegistry {
19
+ protected readonly _prefix = "studio-analytics";
19
20
  /**
20
21
  * Sends a custom event to VertiGIS Studio Analytics. If the app is not
21
22
  * configured to use Analytics, then nothing will happen.
@@ -1 +1 @@
1
- import{CommandRegistry as t}from"../CommandRegistry.js";export class StudioAnalyticsCommands extends t{get trackCustomEvent(){return this._messages.command("studio-analytics.track-custom-event")}}
1
+ import{CommandRegistry as t}from"../CommandRegistry.js";export class StudioAnalyticsCommands extends t{constructor(){super(...arguments),this._prefix="studio-analytics"}get trackCustomEvent(){return this._get("track-custom-event")}}
@@ -79,14 +79,7 @@ export type LayerToken = "Layer.Extent.TopLeft.Latitude" | "Layer.Extent.TopLeft
79
79
  /**
80
80
  * The haptic style.
81
81
  */
82
- export declare enum HapticStyle {
83
- LIGHT = "light",
84
- MEDIUM = "medium",
85
- HEAVY = "heavy",
86
- SUCCESS = "success",
87
- WARNING = "warning",
88
- ERROR = "error"
89
- }
82
+ export type HapticStyle = "light" | "medium" | "heavy" | "success" | "warning" | "error";
90
83
  /**
91
84
  * VertiGIS Studio Web's arguments for the system.open-url command.
92
85
  */
@@ -159,6 +152,7 @@ export interface UrlOpenedArgs {
159
152
  locations: Point[];
160
153
  }
161
154
  export declare class SystemCommands extends CommandRegistry {
155
+ protected readonly _prefix = "system";
162
156
  /**
163
157
  * Displays a sharing link to the user. Web only.
164
158
  *
@@ -222,6 +216,7 @@ export declare class SystemCommands extends CommandRegistry {
222
216
  get haptics(): Command<HapticStyle>;
223
217
  }
224
218
  export declare class SystemOperations extends OperationRegistry {
219
+ protected readonly _prefix = "system";
225
220
  /**
226
221
  * Fetch a file from the specified URL. Web only.
227
222
  *
@@ -250,6 +245,7 @@ export declare class SystemOperations extends OperationRegistry {
250
245
  get getSharingLink(): Operation<void, string>;
251
246
  }
252
247
  export declare class SystemEvents extends EventRegistry {
248
+ protected readonly _prefix = "system";
253
249
  /**
254
250
  * Raised when background location updates are enabled. Mobile only.
255
251
  *
@@ -1 +1 @@
1
- import{CommandRegistry as e}from"../CommandRegistry.js";import{EventRegistry as s}from"../EventRegistry.js";import{OperationRegistry as t}from"../OperationRegistry.js";export var HapticStyle;!function(e){e.LIGHT="light",e.MEDIUM="medium",e.HEAVY="heavy",e.SUCCESS="success",e.WARNING="warning",e.ERROR="error"}(HapticStyle||(HapticStyle={}));export class SystemCommands extends e{get displaySharingLink(){return this._messages.command("system.display-sharing-link")}get downloadFile(){return this._messages.command("system.download-file")}get openUrl(){return this._messages.command("system.open-url")}get keepScreenOn(){return this._messages.command("system.keep-screen-on")}get enableBackgroundLocationUpdates(){return this._messages.command("system.enable-background-location-updates")}get disableBackgroundLocationUpdates(){return this._messages.command("system.disable-background-location-updates")}get haptics(){return this._messages.command("system.haptics")}}export class SystemOperations extends t{get readUrl(){return this._messages.operation("system.read-url")}get readFile(){return this._messages.operation("system.read-file")}get readFiles(){return this._messages.operation("system.read-files")}get getSharingLink(){return this._messages.operation("system.get-sharing-link")}}export class SystemEvents extends s{get backgroundLocationUpdatesEnabled(){return this._messages.event("system.background-location-updates-enabled")}get backgroundLocationUpdatesDisabled(){return this._messages.event("system.background-location-updates-disabled")}get urlOpened(){return this._messages.event("system.url-opened")}}
1
+ import{CommandRegistry as e}from"../CommandRegistry.js";import{EventRegistry as t}from"../EventRegistry.js";import{OperationRegistry as r}from"../OperationRegistry.js";export class SystemCommands extends e{constructor(){super(...arguments),this._prefix="system"}get displaySharingLink(){return this._get("display-sharing-link")}get downloadFile(){return this._get("download-file")}get openUrl(){return this._get("open-url")}get keepScreenOn(){return this._get("keep-screen-on")}get enableBackgroundLocationUpdates(){return this._get("enable-background-location-updates")}get disableBackgroundLocationUpdates(){return this._get("disable-background-location-updates")}get haptics(){return this._get("haptics")}}export class SystemOperations extends r{constructor(){super(...arguments),this._prefix="system"}get readUrl(){return this._get("read-url")}get readFile(){return this._get("read-file")}get readFiles(){return this._get("read-files")}get getSharingLink(){return this._get("get-sharing-link")}}export class SystemEvents extends t{constructor(){super(...arguments),this._prefix="system"}get backgroundLocationUpdatesEnabled(){return this._get("background-location-updates-enabled")}get backgroundLocationUpdatesDisabled(){return this._get("background-location-updates-disabled")}get urlOpened(){return this._get("url-opened")}}
@@ -198,6 +198,7 @@ export interface SupportsQueryArgs {
198
198
  source: FeatureSource;
199
199
  }
200
200
  export declare class TasksEvents extends EventRegistry {
201
+ protected readonly _prefix = "tasks";
201
202
  /**
202
203
  * Raised when an identify task has been executed. Mobile only.
203
204
  *
@@ -212,6 +213,7 @@ export declare class TasksEvents extends EventRegistry {
212
213
  get reverseGeocoded(): Event<MapsFeatureResultArgs>;
213
214
  }
214
215
  export declare class TasksOperations extends OperationRegistry {
216
+ protected readonly _prefix = "tasks";
215
217
  /**
216
218
  * Returns features that intersect a given geometry.
217
219
  */
@@ -1 +1 @@
1
- import{EventRegistry as s}from"../EventRegistry.js";import{OperationRegistry as e}from"../OperationRegistry.js";export class TasksEvents extends s{get identified(){return this._messages.event("tasks.identified")}get reverseGeocoded(){return this._messages.event("tasks.reverse-geocoded")}}export class TasksOperations extends e{get identify(){return this._messages.operation("tasks.identify")}get supportsIdentify(){return this._messages.operation("tasks.supports-identify")}get query(){return this._messages.operation("tasks.query")}get supportsQuery(){return this._messages.operation("tasks.supports-query")}get search(){return this._messages.operation("tasks.search")}get supportsSearch(){return this._messages.operation("tasks.supports-search")}}
1
+ import{EventRegistry as e}from"../EventRegistry.js";import{OperationRegistry as t}from"../OperationRegistry.js";export class TasksEvents extends e{constructor(){super(...arguments),this._prefix="tasks"}get identified(){return this._get("identified")}get reverseGeocoded(){return this._get("reverse-geocoded")}}export class TasksOperations extends t{constructor(){super(...arguments),this._prefix="tasks"}get identify(){return this._get("identify")}get supportsIdentify(){return this._get("supports-identify")}get query(){return this._get("query")}get supportsQuery(){return this._get("supports-query")}get search(){return this._get("search")}get supportsSearch(){return this._get("supports-search")}}
@@ -253,6 +253,7 @@ export interface NarrateOptions extends TranslateOptions {
253
253
  timeout?: number;
254
254
  }
255
255
  export declare class UICommands extends CommandRegistry {
256
+ protected readonly _prefix = "ui";
256
257
  /**
257
258
  * Activates a component with the given ID or model, causing it to become
258
259
  * visible. For VertiGIS Studio Mobile, only ID is supported.
@@ -376,6 +377,7 @@ export declare class UICommands extends CommandRegistry {
376
377
  get setVisualState(): Command<SetVisualStateArgs>;
377
378
  }
378
379
  export declare class UIOperations extends OperationRegistry {
380
+ protected readonly _prefix = "ui";
379
381
  /**
380
382
  * Gets user confirmation by way of a popup box.
381
383
  */
@@ -423,6 +425,7 @@ export declare class UIOperations extends OperationRegistry {
423
425
  get prompt(): Operation<PromptOperationArgs, string>;
424
426
  }
425
427
  export declare class UIEvents extends EventRegistry {
428
+ protected readonly _prefix = "ui";
426
429
  /**
427
430
  * Raised when a component is activated. The argument is the component ID.
428
431
  */
@@ -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 NotificationCategory;!function(e){e.ERROR="error",e.INFO="info",e.SUCCESS="success",e.WARNING="warning"}(NotificationCategory||(NotificationCategory={}));export var NotificationType;!function(e){e.AUTO="auto",e.APP="app",e.SYSTEM="system"}(NotificationType||(NotificationType={}));export var Position;!function(e){e.BOTTOM="bottom",e.LEFT="left",e.RIGHT="right",e.TOP="top"}(Position||(Position={}));export class UICommands extends e{get activate(){return this._messages.command("ui.activate")}get activeToggle(){return this._messages.command("ui.active-toggle")}get alert(){return this._messages.command("ui.alert")}get await(){return this._messages.command("ui.await")}get deactivate(){return this._messages.command("ui.deactivate")}get displayBusyState(){return this._messages.command("ui.display-busy-state")}get displayNotification(){return this._messages.command("ui.display-notification")}get pauseNotifications(){return this._messages.command("ui.pause-notifications")}get resumeNotifications(){return this._messages.command("ui.resume-notifications")}get focus(){return this._messages.command("ui.focus")}get hideBusyState(){return this._messages.command("ui.hide-busy-state")}get hideNotification(){return this._messages.command("ui.hide-notification")}get makeAvailable(){return this._messages.command("ui.make-available")}get makeUnavailable(){return this._messages.command("ui.make-unavailable")}get narrate(){return this._messages.command("ui.narrate")}get setDensity(){return this._messages.command("ui.set-density")}get setLocale(){return this._messages.command("ui.set-locale")}get setTheme(){return this._messages.command("ui.set-theme")}get setVisualState(){return this._messages.command("ui.set-visual-state")}}export class UIOperations extends s{get confirm(){return this._messages.operation("ui.confirm")}get getComponentIds(){return this._messages.operation("ui.get-component-ids")}get getLocale(){return this._messages.operation("ui.get-locale")}get getTheme(){return this._messages.operation("ui.get-theme")}get getThemes(){return this._messages.operation("ui.get-themes")}get getVisualState(){return this._messages.operation("ui.get-visual-state")}get prompt(){return this._messages.operation("ui.prompt")}}export class UIEvents extends t{get activated(){return this._messages.event("ui.activated")}get added(){return this._messages.event("ui.added")}get ancestorActivated(){return this._messages.event("ui.ancestor-activated")}get ancestorDeactivated(){return this._messages.event("ui.ancestor-deactivated")}get deactivated(){return this._messages.event("ui.deactivated")}get densityChanged(){return this._messages.event("ui.density-changed")}get localeChanged(){return this._messages.event("ui.locale-changed")}get initializing(){return this._messages.event("ui.initializing")}get initialized(){return this._messages.event("ui.initialized")}get removed(){return this._messages.event("ui.removed")}get reordered(){return this._messages.event("ui.reordered")}get themeChanged(){return this._messages.event("ui.theme-changed")}get visualStateChanged(){return this._messages.event("ui.visual-state-changed")}}
1
+ import{CommandRegistry as t}from"../CommandRegistry.js";import{EventRegistry as e}from"../EventRegistry.js";import{OperationRegistry as i}from"../OperationRegistry.js";export var NotificationCategory;!function(t){t.ERROR="error",t.INFO="info",t.SUCCESS="success",t.WARNING="warning"}(NotificationCategory||(NotificationCategory={}));export var NotificationType;!function(t){t.AUTO="auto",t.APP="app",t.SYSTEM="system"}(NotificationType||(NotificationType={}));export var Position;!function(t){t.BOTTOM="bottom",t.LEFT="left",t.RIGHT="right",t.TOP="top"}(Position||(Position={}));export class UICommands extends t{constructor(){super(...arguments),this._prefix="ui"}get activate(){return this._get("activate")}get activeToggle(){return this._get("active-toggle")}get alert(){return this._get("alert")}get await(){return this._get("await")}get deactivate(){return this._get("deactivate")}get displayBusyState(){return this._get("display-busy-state")}get displayNotification(){return this._get("display-notification")}get pauseNotifications(){return this._get("pause-notifications")}get resumeNotifications(){return this._get("resume-notifications")}get focus(){return this._get("focus")}get hideBusyState(){return this._get("hide-busy-state")}get hideNotification(){return this._get("hide-notification")}get makeAvailable(){return this._get("make-available")}get makeUnavailable(){return this._get("make-unavailable")}get narrate(){return this._get("narrate")}get setDensity(){return this._get("set-density")}get setLocale(){return this._get("set-locale")}get setTheme(){return this._get("set-theme")}get setVisualState(){return this._get("set-visual-state")}}export class UIOperations extends i{constructor(){super(...arguments),this._prefix="ui"}get confirm(){return this._get("confirm")}get getComponentIds(){return this._get("get-component-ids")}get getLocale(){return this._get("get-locale")}get getTheme(){return this._get("get-theme")}get getThemes(){return this._get("get-themes")}get getVisualState(){return this._get("get-visual-state")}get prompt(){return this._get("prompt")}}export class UIEvents extends e{constructor(){super(...arguments),this._prefix="ui"}get activated(){return this._get("activated")}get added(){return this._get("added")}get ancestorActivated(){return this._get("ancestor-activated")}get ancestorDeactivated(){return this._get("ancestor-deactivated")}get deactivated(){return this._get("deactivated")}get densityChanged(){return this._get("density-changed")}get localeChanged(){return this._get("locale-changed")}get initializing(){return this._get("initializing")}get initialized(){return this._get("initialized")}get removed(){return this._get("removed")}get reordered(){return this._get("reordered")}get themeChanged(){return this._get("theme-changed")}get visualStateChanged(){return this._get("visual-state-changed")}}
@@ -7,6 +7,7 @@ import type { Operation } from "../Operation.js";
7
7
  import { OperationRegistry } from "../OperationRegistry.js";
8
8
  import type { Model } from "../common.js";
9
9
  export declare class ViewerCommands extends CommandRegistry {
10
+ protected readonly _prefix = "viewer";
10
11
  /**
11
12
  * Loads a new layout. Can be a layout URL or layout XML, or a Layout
12
13
  * object. Web only.
@@ -42,6 +43,7 @@ export declare class ViewerCommands extends CommandRegistry {
42
43
  get setDebugMode(): Command<boolean>;
43
44
  }
44
45
  export declare class ViewerEvents extends EventRegistry {
46
+ protected readonly _prefix = "viewer";
45
47
  /**
46
48
  * Raised when the viewer finishes loading a layout. Web only.
47
49
  *
@@ -50,6 +52,7 @@ export declare class ViewerEvents extends EventRegistry {
50
52
  get layoutChanged(): Event;
51
53
  }
52
54
  export declare class ViewerOperations extends OperationRegistry {
55
+ protected readonly _prefix = "viewer";
53
56
  /**
54
57
  * Gets all Layout models from the application. Web only.
55
58
  *
@@ -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 ViewerCommands extends e{get loadLayout(){return this._messages.command("viewer.load-layout")}get logDebug(){return this._messages.command("viewer.log-debug")}get postMessage(){return this._messages.command("viewer.post-message")}get publishEvent(){return this._messages.command("viewer.publish-event")}get setDebugMode(){return this._messages.command("viewer.set-debug-mode")}}export class ViewerEvents extends t{get layoutChanged(){return this._messages.event("viewer.layout-changed")}}export class ViewerOperations extends s{get getAllLayouts(){return this._messages.operation("viewer.get-all-layouts")}get getCurrentLayout(){return this._messages.operation("viewer.get-current-layout")}get getCapabilities(){return this._messages.operation("viewer.get-capabilities")}get getInDebugMode(){return this._messages.operation("viewer.get-in-debug-mode")}get getVersion(){return this._messages.operation("viewer.get-version")}get postMessageAwaitReply(){return this._messages.operation("viewer.post-message-await-reply")}}
1
+ import{CommandRegistry as e}from"../CommandRegistry.js";import{EventRegistry as t}from"../EventRegistry.js";import{OperationRegistry as r}from"../OperationRegistry.js";export class ViewerCommands extends e{constructor(){super(...arguments),this._prefix="viewer"}get loadLayout(){return this._get("load-layout")}get logDebug(){return this._get("log-debug")}get postMessage(){return this._get("post-message")}get publishEvent(){return this._get("publish-event")}get setDebugMode(){return this._get("set-debug-mode")}}export class ViewerEvents extends t{constructor(){super(...arguments),this._prefix="viewer"}get layoutChanged(){return this._get("layout-changed")}}export class ViewerOperations extends r{constructor(){super(...arguments),this._prefix="viewer"}get getAllLayouts(){return this._get("get-all-layouts")}get getCurrentLayout(){return this._get("get-current-layout")}get getCapabilities(){return this._get("get-capabilities")}get getInDebugMode(){return this._get("get-in-debug-mode")}get getVersion(){return this._get("get-version")}get postMessageAwaitReply(){return this._get("post-message-await-reply")}}
@@ -106,6 +106,7 @@ export interface WorkflowStartingEventArgs extends WorkflowEventBase {
106
106
  export interface WorkflowFinishedEventArgs extends WorkflowEventBase {
107
107
  }
108
108
  export declare class WorkflowCommands extends CommandRegistry {
109
+ protected readonly _prefix = "workflow";
109
110
  /**
110
111
  * Runs a workflow with the given arguments. See the `workflow.evaluate`
111
112
  * operation if you want to run a workflow and expect output values to be
@@ -134,6 +135,7 @@ export declare class WorkflowCommands extends CommandRegistry {
134
135
  get cancelAll(): Command;
135
136
  }
136
137
  export declare class WorkflowOperations extends OperationRegistry {
138
+ protected readonly _prefix = "workflow";
137
139
  /**
138
140
  * Runs a workflow with the given arguments and returns the workflow's
139
141
  * output as the result of the operation. The output in the workflow is set
@@ -143,6 +145,7 @@ export declare class WorkflowOperations extends OperationRegistry {
143
145
  get evaluate(): Operation<EvaluateWorkflowArgs, Record<string, unknown>>;
144
146
  }
145
147
  export declare class WorkflowEvents extends EventRegistry {
148
+ protected readonly _prefix = "workflow";
146
149
  /**
147
150
  * Raised when a workflow has started running. Web only.
148
151
  *
@@ -1 +1 @@
1
- import{CommandRegistry as e}from"../CommandRegistry.js";import{EventRegistry as r}from"../EventRegistry.js";import{OperationRegistry as s}from"../OperationRegistry.js";export class WorkflowCommands extends e{get run(){return this._messages.command("workflow.run")}get refresh(){return this._messages.command("workflow.refresh")}get cancel(){return this._messages.command("workflow.cancel")}get cancelAll(){return this._messages.command("workflow.cancel-all")}}export class WorkflowOperations extends s{get evaluate(){return this._messages.operation("workflow.evaluate")}}export class WorkflowEvents extends r{get workflowStarted(){return this._messages.event("workflow.workflow-started")}get starting(){return this._messages.event("workflow.starting")}get workflowFinished(){return this._messages.event("workflow.workflow-finished")}get workflowError(){return this._messages.event("workflow.workflow-error")}}
1
+ import{CommandRegistry as r}from"../CommandRegistry.js";import{EventRegistry as t}from"../EventRegistry.js";import{OperationRegistry as e}from"../OperationRegistry.js";export class WorkflowCommands extends r{constructor(){super(...arguments),this._prefix="workflow"}get run(){return this._get("run")}get refresh(){return this._get("refresh")}get cancel(){return this._get("cancel")}get cancelAll(){return this._get("cancel-all")}}export class WorkflowOperations extends e{constructor(){super(...arguments),this._prefix="workflow"}get evaluate(){return this._get("evaluate")}}export class WorkflowEvents extends t{constructor(){super(...arguments),this._prefix="workflow"}get workflowStarted(){return this._get("workflow-started")}get starting(){return this._get("starting")}get workflowFinished(){return this._get("workflow-finished")}get workflowError(){return this._get("workflow-error")}}