@vertigis/viewer-spec 52.1.0 → 53.1.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 (41) hide show
  1. package/analytics/WebAction.d.ts +1 -1
  2. package/app-config/schema/common-app-config.schema.json +1 -1
  3. package/app-config/schema/mobile-app-config.schema.json +1 -1
  4. package/app-config/schema/web-app-config.schema.json +1 -1
  5. package/app-config/web/HasVisibilityFilters.d.ts +2 -2
  6. package/app-config/web/ProjectModelProperties.d.ts +12 -0
  7. package/app-config/web/ProjectModelProperties.js +1 -0
  8. package/app-config/web/SharedProjectsModelProperties.d.ts +53 -0
  9. package/app-config/web/SharedProjectsModelProperties.js +1 -0
  10. package/app-config/web/SharedStorageModelProperties.d.ts +30 -0
  11. package/app-config/web/SharedStorageModelProperties.js +1 -0
  12. package/app-config/web/VertigisWebModelProperties.d.ts +0 -6
  13. package/layout/schema/layout-web.xsd +13 -0
  14. package/messaging/common.d.ts +22 -0
  15. package/messaging/registry/Commands.d.ts +2 -0
  16. package/messaging/registry/Commands.js +1 -1
  17. package/messaging/registry/Events.d.ts +2 -0
  18. package/messaging/registry/Events.js +1 -1
  19. package/messaging/registry/Operations.d.ts +2 -0
  20. package/messaging/registry/Operations.js +1 -1
  21. package/messaging/registry/app.d.ts +4 -2
  22. package/messaging/registry/drawing.d.ts +3 -12
  23. package/messaging/registry/layers.d.ts +83 -2
  24. package/messaging/registry/layers.js +1 -1
  25. package/messaging/registry/project.d.ts +141 -0
  26. package/messaging/registry/project.js +1 -0
  27. package/messaging/registry/results.d.ts +33 -17
  28. package/messaging/registry/results.js +1 -1
  29. package/messaging/registry/system.d.ts +25 -3
  30. package/messaging/registry/system.js +1 -1
  31. package/messaging/registry/ui.d.ts +9 -0
  32. package/messaging/registry/ui.js +1 -1
  33. package/messaging/schema/common-action.schema.json +634 -502
  34. package/messaging/schema/common-event.schema.json +371 -412
  35. package/messaging/schema/mobile-action.schema.json +665 -524
  36. package/messaging/schema/mobile-event.schema.json +406 -447
  37. package/messaging/schema/web-action.schema.json +2264 -856
  38. package/messaging/schema/web-event.schema.json +542 -481
  39. package/package.json +5 -2
  40. package/version.d.ts +1 -1
  41. package/version.js +1 -1
@@ -6,8 +6,9 @@ import type { Attachment } from "@vertigis/arcgis-extensions/data/Attachment";
6
6
  import type { Feature } from "@vertigis/arcgis-extensions/data/Feature";
7
7
  import type { FeatureSettingsProperties } from "@vertigis/arcgis-extensions/data/FeatureSettings";
8
8
  import type { FeatureSource } from "@vertigis/arcgis-extensions/data/FeatureSource";
9
+ import type { FeatureStream } from "@vertigis/arcgis-extensions/data/FeatureStream.js";
9
10
  import type { SchemaProperties } from "@vertigis/arcgis-extensions/data/Schema";
10
- import type { FromCsvOptions, FromShapefileOptions, FromXLSXOptions, ToCsvOptions, ToShapefileOptions, ToXLSXOptions } from "@vertigis/arcgis-extensions/data/convert";
11
+ import type { FromCsvOptions, FromShapefileOptions, FromXLSXOptions, ToCsvOptions, ToShapefileOptions, ToXLSXOptions, UploadDataOptions } from "@vertigis/arcgis-extensions/data/convert";
11
12
  import type { QueryOptions } from "@vertigis/arcgis-extensions/tasks/query/QueryOptions";
12
13
  import type { CardSize, ViewMode } from "../../app-config/web/ResultsModelProperties.js";
13
14
  import type { Command } from "../Command.js";
@@ -16,7 +17,7 @@ import type { Event } from "../Event.js";
16
17
  import { EventRegistry } from "../EventRegistry.js";
17
18
  import type { Operation } from "../Operation.js";
18
19
  import { OperationRegistry } from "../OperationRegistry.js";
19
- import type { Blob, Features, FeaturesLike, File, GraphicsLike, HasFeatures, MapsLike, ModelRef } from "../common.js";
20
+ import type { Blob, Features, FeaturesLike, File, GraphicsLike, HasFeatures, HasFiles, MapsLike, ModelRef } from "../common.js";
20
21
  import type { VisualElement } from "../mobile.js";
21
22
  /**
22
23
  * Well known Results Set Ids.
@@ -63,13 +64,18 @@ export interface ToCsvConversionArgs extends ToCsvOptions {
63
64
  features: Features;
64
65
  }
65
66
  /**
66
- * Arguments for the "results.from-csv" operation.
67
+ * Arguements for the "results.upload-data-args-to-feature" operation.
67
68
  */
68
- export interface FromCsvConversionArgs extends FromCsvOptions {
69
+ export interface UploadDataArgs extends UploadDataOptions {
69
70
  /**
70
- * The blob(s) that contains the csv file.
71
+ * A title for this dataset.
71
72
  */
72
- blobs: Blob[];
73
+ title?: string;
74
+ }
75
+ /**
76
+ * Arguments for the "results.from-csv" operation.
77
+ */
78
+ export interface FromCsvConversionArgs extends FromCsvOptions, HasFiles {
73
79
  }
74
80
  /**
75
81
  * Arguments for the "results.convert-to-xlsx" operation.
@@ -83,11 +89,7 @@ export interface ToXLSXConversionArgs extends ToXLSXOptions {
83
89
  /**
84
90
  * Arguments for the "results.from-xlsx" operation.
85
91
  */
86
- export interface FromXLSXConversionArgs extends FromXLSXOptions {
87
- /**
88
- * The blob(s) that contains the xlsx file.
89
- */
90
- blobs: Blob[];
92
+ export interface FromXLSXConversionArgs extends FromXLSXOptions, HasFiles {
91
93
  }
92
94
  /**
93
95
  * Arguments for the "results.convert-to-shapefile" operation.
@@ -101,11 +103,7 @@ export interface ToShapefileConversionArgs extends ToShapefileOptions {
101
103
  /**
102
104
  * Arguments for the "results.from-shapefile" operation.
103
105
  */
104
- export interface FromShapefileConversionArgs extends FromShapefileOptions {
105
- /**
106
- * The blob(s) that contains the Shapefile file.
107
- */
108
- blobs: Blob[];
106
+ export interface FromShapefileConversionArgs extends FromShapefileOptions, HasFiles {
109
107
  }
110
108
  /**
111
109
  * Arguments for the "results.convert-to-layers" operation.
@@ -477,6 +475,13 @@ export declare class ResultsEvents extends EventRegistry {
477
475
  get relatedDetailsShown(): Event<FeatureDetailsEvent>;
478
476
  }
479
477
  export declare class ResultsOperations extends OperationRegistry {
478
+ /**
479
+ * Display a dialog to configure the arguements for the upload layer
480
+ * operation.
481
+ *
482
+ * @webOnly
483
+ */
484
+ get configureUploadData(): Operation<UploadDataArgs[], UploadDataArgs[]>;
480
485
  /**
481
486
  * Check if features are contained in the specified results.
482
487
  *
@@ -523,7 +528,18 @@ export declare class ResultsOperations extends OperationRegistry {
523
528
  *
524
529
  * @webOnly
525
530
  */
526
- get fromFiles(): Operation<File[] | FromConverterArgs, Features>;
531
+ get fromFiles(): Operation<FromConverterArgs | File[], Features>;
532
+ /**
533
+ * Convert the specified csv, xlsx or shapefile files to args that can be
534
+ * used to create Features.
535
+ *
536
+ * @webOnly
537
+ */
538
+ get uploadDataFromFiles(): Operation<FromConverterArgs | File[], UploadDataArgs[]>;
539
+ /**
540
+ * Convert the supplied upload data args to features.
541
+ */
542
+ get uploadDataToFeatures(): Operation<UploadDataArgs[], FeatureStream[]>;
527
543
  /**
528
544
  * Convert the specified Shapefile blob to Features.
529
545
  *
@@ -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 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 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 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 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 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")}}
@@ -5,7 +5,7 @@ import type { Event } from "../Event.js";
5
5
  import { EventRegistry } from "../EventRegistry.js";
6
6
  import type { Operation } from "../Operation.js";
7
7
  import { OperationRegistry } from "../OperationRegistry.js";
8
- import type { Blob, File, HasFeatures, HasGeometry, HasLayers, HasMaps, HasUITarget } from "../common.js";
8
+ import type { Blob, File, HasFeatures, HasFiles, HasGeometry, HasLayers, HasMaps, HasUITarget } from "../common.js";
9
9
  /**
10
10
  * Arguments for the system.download-file operation.
11
11
  */
@@ -13,11 +13,26 @@ export interface DownloadArgs {
13
13
  /**
14
14
  * The blob to download.
15
15
  */
16
- result: Blob | Record<string, unknown> | string;
16
+ result?: Blob | Record<string, unknown> | string;
17
17
  /**
18
18
  * A filename for the download.
19
19
  */
20
- name: string;
20
+ name?: string;
21
+ /**
22
+ * Optionally specify the record attribute to be used as the result content.
23
+ * Defaults to 'result'.
24
+ */
25
+ resultAttribute?: string;
26
+ /**
27
+ * Optionally specify the record attribute to be used as the file name.
28
+ * Defaults to 'name'.
29
+ */
30
+ fileNameAttribute?: string;
31
+ /**
32
+ * Optionally specify the file name extension to be used if the file name
33
+ * does not end with one. Defaults to '.json'.
34
+ */
35
+ fileNameExtension?: string;
21
36
  }
22
37
  /**
23
38
  * Arguments for the system.read-file operation.
@@ -219,6 +234,13 @@ export declare class SystemOperations extends OperationRegistry {
219
234
  * @webOnly
220
235
  */
221
236
  get readFile(): Operation<ReadFileArgs, File[]>;
237
+ /**
238
+ * A synonym for `system.read-file` that attaches the output to an args
239
+ * object for use in command chains.
240
+ *
241
+ * @webOnly
242
+ */
243
+ get readFiles(): Operation<ReadFileArgs, HasFiles>;
222
244
  /**
223
245
  * Creates a link to share the shallow state of the application, including
224
246
  * map position and scale, layer visibility and current basemap.
@@ -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 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 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,3 +1,4 @@
1
+ import type { ItemRef } from "app-config/common/ItemRef.js";
1
2
  import type { UIDensity } from "../../app-config/common/BrandingModelProperties.js";
2
3
  import type { TranslatableText, TranslateOptions } from "../../app-config/common/TranslatableText.js";
3
4
  import type { Command } from "../Command.js";
@@ -363,6 +364,14 @@ export declare class UIOperations extends OperationRegistry {
363
364
  * Gets user confirmation by way of a popup box.
364
365
  */
365
366
  get confirm(): Operation<ConfirmOperationArgs, boolean>;
367
+ /**
368
+ * Get the IDs of components in the current layout that are backed by the
369
+ * given model. Most models are used by a single component, but in some
370
+ * cases multiple components can share a model.
371
+ *
372
+ * @webOnly
373
+ */
374
+ get getComponentIds(): Operation<ItemRef, string>;
366
375
  /**
367
376
  * Gets the current locale code for the application. (example: "en", "fr" or
368
377
  * "de-AT").
@@ -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 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 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")}}