@vertigis/viewer-spec 56.24.0 → 56.26.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 (268) hide show
  1. package/analytics/AnalyticsContext.d.ts +29 -29
  2. package/analytics/AnalyticsContext.js +1 -1
  3. package/analytics/CommonAction.d.ts +90 -90
  4. package/analytics/CommonAction.js +1 -1
  5. package/analytics/MobileAction.d.ts +113 -113
  6. package/analytics/MobileAction.js +1 -1
  7. package/analytics/WebAction.d.ts +102 -102
  8. package/analytics/WebAction.js +1 -1
  9. package/app-config/AppConfig.d.ts +55 -55
  10. package/app-config/ItemConfig.d.ts +18 -18
  11. package/app-config/common/AnalyticsModelProperties.d.ts +10 -10
  12. package/app-config/common/ApplicationModelProperties.d.ts +15 -15
  13. package/app-config/common/BasemapPickerModelProperties.d.ts +6 -6
  14. package/app-config/common/BookmarksModelProperties.d.ts +17 -17
  15. package/app-config/common/BrandingColors.d.ts +102 -102
  16. package/app-config/common/BrandingModelProperties.d.ts +23 -23
  17. package/app-config/common/BrandingThemeProperties.d.ts +35 -35
  18. package/app-config/common/CompassModelProperties.d.ts +6 -6
  19. package/app-config/common/ComponentModelProperties.d.ts +14 -14
  20. package/app-config/common/CoordinateFormat.d.ts +4 -4
  21. package/app-config/common/CoordinateModelProperties.d.ts +43 -43
  22. package/app-config/common/DialogModelProperties.d.ts +6 -6
  23. package/app-config/common/EventListenerModelProperties.d.ts +44 -44
  24. package/app-config/common/ExpandModelProperties.d.ts +6 -6
  25. package/app-config/common/FeatureDetailsModelProperties.d.ts +27 -27
  26. package/app-config/common/GeolocationModelProperties.d.ts +6 -6
  27. package/app-config/common/HighlightModelProperties.d.ts +68 -68
  28. package/app-config/common/ImageModelProperties.d.ts +14 -14
  29. package/app-config/common/ItemRef.d.ts +4 -4
  30. package/app-config/common/LayerListModelProperties.d.ts +6 -6
  31. package/app-config/common/LayerPresetsModelProperties.d.ts +14 -14
  32. package/app-config/common/LayoutProperties.d.ts +33 -33
  33. package/app-config/common/LegendModelProperties.d.ts +6 -6
  34. package/app-config/common/LicensingModelProperties.d.ts +10 -10
  35. package/app-config/common/MapCoordinatesModelProperties.d.ts +6 -6
  36. package/app-config/common/MapModelProperties.d.ts +7 -7
  37. package/app-config/common/MenuModelProperties.d.ts +13 -13
  38. package/app-config/common/ModelProperties.d.ts +6 -6
  39. package/app-config/common/PanelModelProperties.d.ts +6 -6
  40. package/app-config/common/RegionModelProperties.d.ts +25 -25
  41. package/app-config/common/ResultsModelProperties.d.ts +13 -13
  42. package/app-config/common/ScalebarModelProperties.d.ts +6 -6
  43. package/app-config/common/SearchModelProperties.d.ts +26 -26
  44. package/app-config/common/ServiceModelProperties.d.ts +6 -6
  45. package/app-config/common/SplitModelProperties.d.ts +6 -6
  46. package/app-config/common/StackModelProperties.d.ts +6 -6
  47. package/app-config/common/TextModelProperties.d.ts +10 -10
  48. package/app-config/common/TranslatableText.d.ts +35 -35
  49. package/app-config/common/UserModelProperties.d.ts +6 -6
  50. package/app-config/common/WorkflowEventsProperties.d.ts +11 -11
  51. package/app-config/common/WorkflowModelProperties.d.ts +44 -44
  52. package/app-config/common/ZoomModelProperties.d.ts +6 -6
  53. package/app-config/common/colors.d.ts +6 -6
  54. package/app-config/index.d.ts +2 -2
  55. package/app-config/mobile/AddFeatureModelProperties.d.ts +6 -6
  56. package/app-config/mobile/AddRelatedFeatureModelProperties.d.ts +6 -6
  57. package/app-config/mobile/BasemapModelProperties.d.ts +11 -11
  58. package/app-config/mobile/CoordinateModelProperties.d.ts +10 -10
  59. package/app-config/mobile/FeatureDetailsModelProperties.d.ts +26 -26
  60. package/app-config/mobile/GeometryToolbarModelProperties.d.ts +6 -6
  61. package/app-config/mobile/GnssDeviceSelectionModelProperties.d.ts +6 -6
  62. package/app-config/mobile/GnssDeviceSettingsModelProperties.d.ts +6 -6
  63. package/app-config/mobile/GnssMetadataModelProperties.d.ts +6 -6
  64. package/app-config/mobile/MapModelProperties.d.ts +52 -52
  65. package/app-config/mobile/OfflineModelProperties.d.ts +48 -48
  66. package/app-config/mobile/PortalExtensionSettingsProperties.d.ts +27 -27
  67. package/app-config/mobile/ScrollModelProperties.d.ts +6 -6
  68. package/app-config/mobile/SearchModelProperties.d.ts +14 -14
  69. package/app-config/mobile/SelectLayerSettingsModelProperties.d.ts +11 -11
  70. package/app-config/mobile/TaskbarModelProperties.d.ts +6 -6
  71. package/app-config/mobile/UpdateFeatureModelProperties.d.ts +6 -6
  72. package/app-config/mobile/VertigisMobileModelProperties.d.ts +67 -67
  73. package/app-config/schema/common-app-config.schema.json +1 -1
  74. package/app-config/schema/web-app-config.schema.json +1 -1
  75. package/app-config/web/AddressModelProperties.d.ts +6 -6
  76. package/app-config/web/BasemapModelProperties.d.ts +10 -10
  77. package/app-config/web/BasemapPickerModelProperties.d.ts +7 -7
  78. package/app-config/web/BookmarksModelProperties.d.ts +7 -7
  79. package/app-config/web/BrandingModelProperties.d.ts +14 -14
  80. package/app-config/web/ChartModelProperties.d.ts +58 -58
  81. package/app-config/web/CompassModelProperties.d.ts +7 -7
  82. package/app-config/web/ComponentModelProperties.d.ts +12 -12
  83. package/app-config/web/CoordinateModelProperties.d.ts +50 -50
  84. package/app-config/web/DataLinkSourceProperties.d.ts +15 -15
  85. package/app-config/web/DialogModelProperties.d.ts +7 -7
  86. package/app-config/web/DrawModelProperties.d.ts +94 -94
  87. package/app-config/web/FeatureDetailsModelProperties.d.ts +19 -19
  88. package/app-config/web/FeatureInfoModelProperties.d.ts +38 -38
  89. package/app-config/web/FeatureListProperties.d.ts +12 -12
  90. package/app-config/web/FeatureSetProperties.d.ts +16 -16
  91. package/app-config/web/FeatureSummaryModelProperties.d.ts +27 -27
  92. package/app-config/web/GeolocationModelProperties.d.ts +7 -7
  93. package/app-config/web/GeometryModelProperties.d.ts +27 -27
  94. package/app-config/web/HasVisibilityFilters.d.ts +36 -36
  95. package/app-config/web/ImageModelProperties.d.ts +7 -7
  96. package/app-config/web/KpiCardModelProperties.d.ts +146 -146
  97. package/app-config/web/LayerListModelProperties.d.ts +18 -18
  98. package/app-config/web/LayerPresetsModelProperties.d.ts +7 -7
  99. package/app-config/web/LegendModelProperties.d.ts +7 -7
  100. package/app-config/web/Map3dToggleModelProperties.d.ts +6 -6
  101. package/app-config/web/MapCoordinatesModelProperties.d.ts +50 -50
  102. package/app-config/web/MapModelProperties.d.ts +93 -87
  103. package/app-config/web/MeasurementModelProperties.d.ts +36 -36
  104. package/app-config/web/MenuItemModelProperties.d.ts +7 -7
  105. package/app-config/web/MenuModelProperties.d.ts +13 -13
  106. package/app-config/web/ModelProperties.d.ts +7 -7
  107. package/app-config/web/PanelModelProperties.d.ts +7 -7
  108. package/app-config/web/PortalModelProperties.d.ts +11 -11
  109. package/app-config/web/PrintFormModelProperties.d.ts +42 -42
  110. package/app-config/web/PrintModelProperties.d.ts +11 -11
  111. package/app-config/web/ProjectModelProperties.d.ts +12 -12
  112. package/app-config/web/QueryBuilderModelProperties.d.ts +22 -22
  113. package/app-config/web/ReportModelProperties.d.ts +15 -15
  114. package/app-config/web/ResultsModelProperties.d.ts +101 -101
  115. package/app-config/web/ResultsServiceModelProperties.d.ts +48 -48
  116. package/app-config/web/ScaleInputModelProperties.d.ts +6 -6
  117. package/app-config/web/ScalebarModelProperties.d.ts +22 -22
  118. package/app-config/web/SearchModelProperties.d.ts +22 -22
  119. package/app-config/web/SearchServiceProperties.d.ts +25 -25
  120. package/app-config/web/SharedProjectsModelProperties.d.ts +53 -53
  121. package/app-config/web/SharedStorageModelProperties.d.ts +30 -30
  122. package/app-config/web/SnappingProperties.d.ts +101 -101
  123. package/app-config/web/SplitModelProperties.d.ts +7 -7
  124. package/app-config/web/StackModelProperties.d.ts +7 -7
  125. package/app-config/web/TabsModelProperties.d.ts +6 -6
  126. package/app-config/web/TextModelProperties.d.ts +7 -7
  127. package/app-config/web/TopologyProperties.d.ts +67 -0
  128. package/app-config/web/TopologyProperties.js +1 -0
  129. package/app-config/web/UserModelProperties.d.ts +12 -12
  130. package/app-config/web/UserPreferencesModelProperties.d.ts +10 -10
  131. package/app-config/web/VertigisWebModelProperties.d.ts +74 -74
  132. package/app-config/web/WorkflowModelProperties.d.ts +13 -13
  133. package/app-config/web/ZoomModelProperties.d.ts +7 -7
  134. package/messaging/Command.d.ts +76 -76
  135. package/messaging/CommandRegistry.d.ts +25 -25
  136. package/messaging/CommandRegistry.js +1 -1
  137. package/messaging/DotNetTypes.d.ts +4 -4
  138. package/messaging/Event.d.ts +26 -26
  139. package/messaging/EventRegistry.d.ts +25 -25
  140. package/messaging/EventRegistry.js +1 -1
  141. package/messaging/Message.d.ts +50 -50
  142. package/messaging/MessageBus.d.ts +54 -54
  143. package/messaging/Operation.d.ts +77 -77
  144. package/messaging/OperationRegistry.d.ts +26 -26
  145. package/messaging/OperationRegistry.js +1 -1
  146. package/messaging/common.d.ts +354 -354
  147. package/messaging/mobile.d.ts +6 -6
  148. package/messaging/registry/Commands.d.ts +78 -78
  149. package/messaging/registry/Commands.js +1 -1
  150. package/messaging/registry/Events.d.ts +62 -62
  151. package/messaging/registry/Events.js +1 -1
  152. package/messaging/registry/Operations.d.ts +69 -69
  153. package/messaging/registry/Operations.js +1 -1
  154. package/messaging/registry/app-config.d.ts +12 -12
  155. package/messaging/registry/app-config.js +1 -1
  156. package/messaging/registry/app.d.ts +264 -264
  157. package/messaging/registry/app.js +1 -1
  158. package/messaging/registry/arcade.d.ts +115 -115
  159. package/messaging/registry/arcade.js +1 -1
  160. package/messaging/registry/auth.d.ts +151 -151
  161. package/messaging/registry/auth.js +1 -1
  162. package/messaging/registry/basemap.d.ts +74 -74
  163. package/messaging/registry/basemap.js +1 -1
  164. package/messaging/registry/bookmark.d.ts +42 -42
  165. package/messaging/registry/bookmark.js +1 -1
  166. package/messaging/registry/charts.d.ts +81 -81
  167. package/messaging/registry/charts.js +1 -1
  168. package/messaging/registry/debugConsole.d.ts +26 -26
  169. package/messaging/registry/debugConsole.js +1 -1
  170. package/messaging/registry/device.d.ts +28 -28
  171. package/messaging/registry/device.js +1 -1
  172. package/messaging/registry/display.d.ts +17 -17
  173. package/messaging/registry/display.js +1 -1
  174. package/messaging/registry/drawing.d.ts +149 -149
  175. package/messaging/registry/drawing.js +1 -1
  176. package/messaging/registry/edit.d.ts +371 -371
  177. package/messaging/registry/edit.js +1 -1
  178. package/messaging/registry/file.d.ts +156 -156
  179. package/messaging/registry/file.js +1 -1
  180. package/messaging/registry/filter-builder.d.ts +73 -73
  181. package/messaging/registry/filter-builder.js +1 -1
  182. package/messaging/registry/geocode.d.ts +87 -87
  183. package/messaging/registry/geocode.js +1 -1
  184. package/messaging/registry/geolocation.d.ts +499 -499
  185. package/messaging/registry/geolocation.js +1 -1
  186. package/messaging/registry/geometry-toolbar.d.ts +29 -29
  187. package/messaging/registry/geometry-toolbar.js +1 -1
  188. package/messaging/registry/geometry.d.ts +278 -278
  189. package/messaging/registry/geometry.js +1 -1
  190. package/messaging/registry/highlights.d.ts +86 -86
  191. package/messaging/registry/highlights.js +1 -1
  192. package/messaging/registry/input.d.ts +22 -22
  193. package/messaging/registry/input.js +1 -1
  194. package/messaging/registry/iwtm.d.ts +11 -11
  195. package/messaging/registry/iwtm.js +1 -1
  196. package/messaging/registry/kpi.d.ts +98 -98
  197. package/messaging/registry/kpi.js +1 -1
  198. package/messaging/registry/layer-comparison.d.ts +104 -104
  199. package/messaging/registry/layer-comparison.js +1 -1
  200. package/messaging/registry/layer-presets.d.ts +49 -49
  201. package/messaging/registry/layer-presets.js +1 -1
  202. package/messaging/registry/layers.d.ts +196 -196
  203. package/messaging/registry/layers.js +1 -1
  204. package/messaging/registry/layout.d.ts +49 -49
  205. package/messaging/registry/layout.js +1 -1
  206. package/messaging/registry/licensing.d.ts +38 -38
  207. package/messaging/registry/licensing.js +1 -1
  208. package/messaging/registry/location-marker.d.ts +171 -171
  209. package/messaging/registry/location-marker.js +1 -1
  210. package/messaging/registry/logViewer.d.ts +17 -17
  211. package/messaging/registry/logViewer.js +1 -1
  212. package/messaging/registry/map.d.ts +1275 -1275
  213. package/messaging/registry/map.js +1 -1
  214. package/messaging/registry/measurement.d.ts +168 -168
  215. package/messaging/registry/measurement.js +1 -1
  216. package/messaging/registry/messaging.d.ts +23 -23
  217. package/messaging/registry/messaging.js +1 -1
  218. package/messaging/registry/network.d.ts +46 -46
  219. package/messaging/registry/network.js +1 -1
  220. package/messaging/registry/offline.d.ts +508 -507
  221. package/messaging/registry/offline.js +1 -1
  222. package/messaging/registry/panel.d.ts +115 -115
  223. package/messaging/registry/panel.js +1 -1
  224. package/messaging/registry/photos.d.ts +47 -47
  225. package/messaging/registry/photos.js +1 -1
  226. package/messaging/registry/portal.d.ts +94 -94
  227. package/messaging/registry/portal.js +1 -1
  228. package/messaging/registry/printing.d.ts +166 -166
  229. package/messaging/registry/printing.js +1 -1
  230. package/messaging/registry/project.d.ts +144 -144
  231. package/messaging/registry/project.js +1 -1
  232. package/messaging/registry/query-builder.d.ts +83 -83
  233. package/messaging/registry/query-builder.js +1 -1
  234. package/messaging/registry/region.d.ts +23 -23
  235. package/messaging/registry/region.js +1 -1
  236. package/messaging/registry/reports.d.ts +135 -135
  237. package/messaging/registry/reports.js +1 -1
  238. package/messaging/registry/results.d.ts +671 -671
  239. package/messaging/registry/results.js +1 -1
  240. package/messaging/registry/search.d.ts +74 -74
  241. package/messaging/registry/search.js +1 -1
  242. package/messaging/registry/settings.d.ts +38 -38
  243. package/messaging/registry/settings.js +1 -1
  244. package/messaging/registry/shortcut.d.ts +41 -41
  245. package/messaging/registry/shortcut.js +1 -1
  246. package/messaging/registry/sketching.d.ts +1019 -960
  247. package/messaging/registry/sketching.js +1 -1
  248. package/messaging/registry/studioAnalytics.d.ts +25 -25
  249. package/messaging/registry/studioAnalytics.js +1 -1
  250. package/messaging/registry/system.d.ts +277 -277
  251. package/messaging/registry/system.js +1 -1
  252. package/messaging/registry/tasks.d.ts +323 -323
  253. package/messaging/registry/tasks.js +1 -1
  254. package/messaging/registry/ui.d.ts +518 -518
  255. package/messaging/registry/ui.js +1 -1
  256. package/messaging/registry/viewer.d.ts +145 -145
  257. package/messaging/registry/viewer.js +1 -1
  258. package/messaging/registry/workflow.d.ts +170 -170
  259. package/messaging/registry/workflow.js +1 -1
  260. package/messaging/schema/common-action.schema.json +6437 -12158
  261. package/messaging/schema/common-event.schema.json +107 -803
  262. package/messaging/schema/mobile-action.schema.json +7719 -16138
  263. package/messaging/schema/mobile-event.schema.json +181 -2422
  264. package/messaging/schema/web-action.schema.json +8415 -23272
  265. package/messaging/schema/web-event.schema.json +183 -1937
  266. package/package.json +20 -20
  267. package/version.d.ts +4 -4
  268. package/version.js +4 -4
@@ -1,518 +1,518 @@
1
- import type { ItemRef } from "app-config/common/ItemRef.js";
2
- import type { UIDensity } from "../../app-config/common/BrandingModelProperties.js";
3
- import type { TranslatableText, TranslateOptions } from "../../app-config/common/TranslatableText.js";
4
- import type { Command } from "../Command.js";
5
- import { CommandRegistry } from "../CommandRegistry.js";
6
- import type { Event } from "../Event.js";
7
- import { EventRegistry } from "../EventRegistry.js";
8
- import type { Operation } from "../Operation.js";
9
- import { OperationRegistry } from "../OperationRegistry.js";
10
- import type { Model } from "../common.js";
11
- /**
12
- * A category for a notification that affects the color and icon used.
13
- */
14
- export declare enum NotificationCategory {
15
- ERROR = "error",
16
- INFO = "info",
17
- SUCCESS = "success",
18
- WARNING = "warning"
19
- }
20
- /**
21
- * The base args for a command/operation showing a message box.
22
- */
23
- export interface MessageBoxArgs {
24
- /**
25
- * The title of the dialog.
26
- */
27
- title?: string;
28
- /**
29
- * The message to be displayed in the dialog.
30
- */
31
- message?: string;
32
- /**
33
- * Whether the dialog is draggable or not. Defaults to true. Web only.
34
- */
35
- isDraggable?: boolean;
36
- /**
37
- * Where the dialog appears in the app when it is created. Defaults to
38
- * center position. Web only.
39
- */
40
- initialPosition?: MessageBoxPosition;
41
- }
42
- /**
43
- * Arguments for the 'ui.alert' command.
44
- */
45
- export interface AlertCommandArgs extends MessageBoxArgs {
46
- /**
47
- * The text to display on the dismiss button.
48
- */
49
- buttonText?: string;
50
- }
51
- /**
52
- * Arguments for the 'ui.confirm' operation.
53
- */
54
- export interface ConfirmOperationArgs extends MessageBoxArgs {
55
- /**
56
- * The text to display on the ok button.
57
- */
58
- okButtonText?: string;
59
- /**
60
- * The text to display on the cancel button.
61
- */
62
- cancelButtonText?: string;
63
- }
64
- /**
65
- * Arguments for the 'ui.prompt' operation.
66
- */
67
- export interface PromptOperationArgs extends MessageBoxArgs {
68
- /**
69
- * The default value to display in the input box.
70
- */
71
- defaultInputValue?: string;
72
- /**
73
- * The text to display on the ok button.
74
- */
75
- okButtonText?: string;
76
- /**
77
- * The text to display on the cancel button.
78
- */
79
- cancelButtonText?: string;
80
- }
81
- /**
82
- * The arguments for the `ui.display-notification` command.
83
- */
84
- export interface DisplayNotificationArgs {
85
- /**
86
- * The category of notification, i.e. "error" (default is "info").
87
- */
88
- category?: NotificationCategory;
89
- /**
90
- * The message to be displayed in the notification. Mobile only supports a
91
- * string for this property.
92
- */
93
- message: TranslatableText;
94
- /**
95
- * The position of the notification on the screen. Web only.
96
- */
97
- position?: Position;
98
- /**
99
- * Disable notification timeouts. Timeouts only apply to "info" and
100
- * "success" categories. Web only.
101
- */
102
- disableTimeouts?: boolean;
103
- /**
104
- * Notifications in the same notification group are mutually exclusive, and
105
- * will supersede one another. Mobile only.
106
- */
107
- notificationGroup?: string;
108
- /**
109
- * The notification title - only shown for system notifications. Mobile
110
- * only.
111
- */
112
- title?: string;
113
- /**
114
- * The type of notification - 'app', 'system', or 'auto'. Defaults to
115
- * 'auto'. Mobile only.
116
- */
117
- type?: NotificationType;
118
- /**
119
- * Indicates if the notification should auto-close after a time duration.
120
- * Defaults to true. Mobile only.
121
- */
122
- autoClose?: boolean;
123
- }
124
- /**
125
- * The type of notification - 'app', 'system', or 'auto'. Defaults to 'auto'.
126
- * Mobile only.
127
- */
128
- export declare enum NotificationType {
129
- /**
130
- * Automatically choose whether to display an app notification or system
131
- * notification. If the app is in the background, a system notification will
132
- * be shown. If the app is in the foreground, an in-app notification will be
133
- * shown. If notifications are unauthorized at the OS level, an in-app
134
- * notification will always be shown.
135
- */
136
- AUTO = "auto",
137
- /**
138
- * Display the notification in-app.
139
- */
140
- APP = "app",
141
- /**
142
- * Display the notification as a system notification using the device's
143
- * operating system. If system notifications are turned off/disabled in the
144
- * OS settings, then it will fall back to using an in-app notification.
145
- */
146
- SYSTEM = "system"
147
- }
148
- /**
149
- * Arguments for the "ui.set-visual-state" command.
150
- */
151
- export interface SetVisualStateArgs {
152
- /**
153
- * The component ID.
154
- */
155
- id: ComponentId;
156
- /**
157
- * The visual state of the component. The set of visual states is specific
158
- * to the type of component.
159
- */
160
- visualState: VisualState;
161
- }
162
- /**
163
- * Arguments for the "ui.display-busy-state" args.
164
- */
165
- export interface DisplayBusyStateArgs {
166
- /**
167
- * The ID used to link a busy state to its caller. Web only.
168
- */
169
- id?: string;
170
- /**
171
- * The title to display. Mobile only.
172
- */
173
- title?: string;
174
- /**
175
- * The message to display.
176
- */
177
- message?: string;
178
- /**
179
- * The number of milliseconds to wait before displaying the message. Default
180
- * is 3000. Web only.
181
- */
182
- messageDelayMs?: number;
183
- /**
184
- * The minimum duration, in milliseconds, that the busy state will be
185
- * displayed. Defaults to 500. Mobile only.
186
- */
187
- minimumDisplayDurationMs?: number;
188
- /**
189
- * The maximum number of milliseconds the busy state will be displayed. Web
190
- * only.
191
- */
192
- maximumDisplayDurationMs?: number;
193
- }
194
- /**
195
- * A component's ID in the layout.
196
- */
197
- export type ComponentId = string;
198
- /**
199
- * Arguments for the "ui.focus" command.
200
- */
201
- export interface FocusArgs {
202
- /**
203
- * The component to focus. If the selector property is not defined, the
204
- * first focusable element within the component will receive focus. If this
205
- * property is not defined, only the selector will be used.
206
- */
207
- component?: ComponentId | Model;
208
- /**
209
- * The CSS selector used to find an HTML Element in the DOM. If a component
210
- * is also provided, the selector will only look within the component's
211
- * element tree in the DOM.
212
- */
213
- selector?: string;
214
- /**
215
- * The maximum number of milliseconds the command will spend attempting to
216
- * focus the element. This may be useful in cases where the target
217
- * component/element requires time to load or render. Defaults to 0.
218
- */
219
- timeout?: number;
220
- }
221
- /**
222
- * Payload for a VisualStateChangeEvent.
223
- */
224
- export interface VisualStateChangeEvent {
225
- /**
226
- * The ID of the component whose visual state has changed.
227
- */
228
- component: ComponentId;
229
- /**
230
- * The visual state of the component before the change.
231
- */
232
- previous: VisualState;
233
- /**
234
- * The new visual state of the component.
235
- */
236
- current: VisualState;
237
- }
238
- /**
239
- * A component's visual state. The values will vary based on the component type.
240
- */
241
- export type VisualState = string;
242
- /**
243
- * A position for a display notification.
244
- */
245
- export declare enum Position {
246
- BOTTOM = "bottom",
247
- LEFT = "left",
248
- RIGHT = "right",
249
- TOP = "top"
250
- }
251
- /**
252
- * A position for the MessageBox dialog.
253
- */
254
- export type MessageBoxPosition = "bottom" | "start" | "end" | "top" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "center";
255
- /**
256
- * Arguments for the ui.narrate command.
257
- */
258
- export type NarrateArgs = string | NarrateOptions;
259
- /**
260
- * Translate options for the ui.narrate command.
261
- */
262
- export interface NarrateOptions extends TranslateOptions {
263
- /**
264
- * A timeout before the narration is executed. This can be used to avoid
265
- * focus changes that can interrupt the screen reader. Defaults to 50ms.
266
- */
267
- timeout?: number;
268
- }
269
- export declare class UICommands extends CommandRegistry {
270
- protected readonly _prefix = "ui";
271
- /**
272
- * Activates a component with the given ID or model, causing it to become
273
- * visible. For VertiGIS Studio Mobile, only ID is supported.
274
- */
275
- get activate(): Command<ComponentId | Model>;
276
- /**
277
- * Toggles the active state on a component with the given ID. Mobile only.
278
- *
279
- * @mobileOnly
280
- */
281
- get activeToggle(): Command<ComponentId>;
282
- /**
283
- * Shows an alert to the user.
284
- */
285
- get alert(): Command<AlertCommandArgs>;
286
- /**
287
- * Waits (does nothing) for the specified period. The UI will remain active
288
- * during this period. This is primarily intended to be used for testing and
289
- * troubleshooting. Mobile only.
290
- *
291
- * @mobileOnly
292
- */
293
- get await(): Command<number>;
294
- /**
295
- * Deactivates a component with the given ID, causing it to disappear. For
296
- * VertiGIS Studio Mobile, only ID is supported.
297
- */
298
- get deactivate(): Command<ComponentId | Model>;
299
- /**
300
- * Displays a loading indicator and custom message to the user to indicate
301
- * that the UI is busy.
302
- */
303
- get displayBusyState(): Command<DisplayBusyStateArgs>;
304
- /**
305
- * Shows a notification to the user.
306
- */
307
- get displayNotification(): Command<DisplayNotificationArgs>;
308
- /**
309
- * Pauses display of notifications until resumed. Mobile only.
310
- *
311
- * @mobileOnly
312
- */
313
- get pauseNotifications(): Command;
314
- /**
315
- * If notifications are currently paused, resumes displaying notifications.
316
- * Mobile only.
317
- *
318
- * @mobileOnly
319
- */
320
- get resumeNotifications(): Command;
321
- /**
322
- * Focuses on a component or DOM element. Web only.
323
- *
324
- * @webOnly
325
- */
326
- get focus(): Command<FocusArgs>;
327
- /**
328
- * Hides the busy state if currently shown. In Web, requires the ID of the
329
- * caller that was used to show the busy state.
330
- */
331
- get hideBusyState(): Command<string | void>;
332
- /**
333
- * Hides a notification previously shown to the user.
334
- */
335
- get hideNotification(): Command;
336
- /**
337
- * Marks a component as being available. The interpretation of what effect
338
- * this has is up to the component. Currently the only component that will
339
- * react to this is the task-bar, which will have the effect of showing the
340
- * tab/button for that component. The argument can be an id of the
341
- * component, or the model for the component. Mobile only.
342
- *
343
- * @mobileOnly
344
- */
345
- get makeAvailable(): Command<ComponentId | Model>;
346
- /**
347
- * Marks a component as being unavailable. The interpretation of what effect
348
- * this has is up to the component. Currently the only component that will
349
- * react to this is the task-bar, which will have the effect of hiding the
350
- * tab/button for that component, and deactivating the component. The
351
- * argument can be an id of the component, or the model for the component.
352
- * Mobile only.
353
- *
354
- * @mobileOnly
355
- */
356
- get makeUnavailable(): Command<ComponentId | Model>;
357
- /**
358
- * Forces assistive technology (screen readers) to narrate a translatable
359
- * message to the end user. Web only.
360
- *
361
- * @webOnly
362
- */
363
- get narrate(): Command<NarrateArgs>;
364
- /**
365
- * Sets the density level for the UI. Web only.
366
- *
367
- * @webOnly
368
- */
369
- get setDensity(): Command<UIDensity>;
370
- /**
371
- * Sets the locale for the application and loads any locale-specific
372
- * resources. Accepts a valid locale code (example: "en", "fr" or "de-AT").
373
- * Web only.
374
- *
375
- * @webOnly
376
- */
377
- get setLocale(): Command<string>;
378
- /**
379
- * Sets the color theme of the viewer. The required argument is the new
380
- * theme's ID.
381
- */
382
- get setTheme(): Command<string>;
383
- /**
384
- * Sets the visual state of a component. Web only.
385
- *
386
- * @webOnly
387
- */
388
- get setVisualState(): Command<SetVisualStateArgs>;
389
- }
390
- export declare class UIOperations extends OperationRegistry {
391
- protected readonly _prefix = "ui";
392
- /**
393
- * Gets user confirmation by way of a popup box.
394
- */
395
- get confirm(): Operation<ConfirmOperationArgs, boolean>;
396
- /**
397
- * Get the IDs of components in the current layout that are backed by the
398
- * given model. Most models are used by a single component, but in some
399
- * cases multiple components can share a model. Web only.
400
- *
401
- * @webOnly
402
- */
403
- get getComponentIds(): Operation<ItemRef, string>;
404
- /**
405
- * Gets the current locale code for the application. (example: "en", "fr" or
406
- * "de-AT"). Web only.
407
- *
408
- * @webOnly
409
- */
410
- get getLocale(): Operation<void, string>;
411
- /**
412
- * Gets the active color theme of the viewer. Returns the theme's ID. Web
413
- * only.
414
- *
415
- * @webOnly
416
- */
417
- get getTheme(): Operation<void, string>;
418
- /**
419
- * Gets all color themes available to the viewer. Returns the theme IDs. Web
420
- * only.
421
- *
422
- * @webOnly
423
- */
424
- get getThemes(): Operation<void, string[]>;
425
- /**
426
- * Gets the visual state of a component. Web only.
427
- *
428
- * @webOnly
429
- */
430
- get getVisualState(): Operation<ComponentId, VisualState | undefined>;
431
- /**
432
- * Prompts the user to enter a value in a popup box. Web only.
433
- *
434
- * @webOnly
435
- */
436
- get prompt(): Operation<PromptOperationArgs, string>;
437
- }
438
- export declare class UIEvents extends EventRegistry {
439
- protected readonly _prefix = "ui";
440
- /**
441
- * Raised when a component is activated. The argument is the component ID.
442
- */
443
- get activated(): Event<ComponentId>;
444
- /**
445
- * Raised when a component is added to the layout. Web only.
446
- *
447
- * @webOnly
448
- */
449
- get added(): Event<ComponentId>;
450
- /**
451
- * Raised when a component's ancestor becomes activated. The argument is the
452
- * descendant component's ID. Web only.
453
- *
454
- * @webOnly
455
- */
456
- get ancestorActivated(): Event<ComponentId>;
457
- /**
458
- * Raised when a component's ancestor becomes deactivated. The argument is
459
- * the descendant component's ID. Web only.
460
- *
461
- * @webOnly
462
- */
463
- get ancestorDeactivated(): Event<ComponentId>;
464
- /**
465
- * Raised when a component is deactivated. The argument is the component ID.
466
- */
467
- get deactivated(): Event<ComponentId>;
468
- /**
469
- * Raised when the UI density setting is changed. Web only.
470
- *
471
- * @webOnly
472
- */
473
- get densityChanged(): Event<UIDensity>;
474
- /**
475
- * Raised when the locale is changed by the user. The argument is the locale
476
- * code. Web only.
477
- *
478
- * @webOnly
479
- */
480
- get localeChanged(): Event<string>;
481
- /**
482
- * Raised when a component begins initialization. The argument is the
483
- * component ID. Web only.
484
- *
485
- * @webOnly
486
- */
487
- get initializing(): Event<ComponentId>;
488
- /**
489
- * Raised when a component and its descendants have been initially
490
- * activated. The argument is the component ID. Web only.
491
- *
492
- * @webOnly
493
- */
494
- get initialized(): Event<ComponentId>;
495
- /**
496
- * Raised when a component is removed from the layout. Web only.
497
- *
498
- * @webOnly
499
- */
500
- get removed(): Event<ComponentId>;
501
- /**
502
- * Raised when a component is reordered in the layout relative to its
503
- * siblings. Web only.
504
- *
505
- * @webOnly
506
- */
507
- get reordered(): Event<ComponentId>;
508
- /**
509
- * Raised when the app's theme is changed. The argument is the theme id.
510
- */
511
- get themeChanged(): Event<string>;
512
- /**
513
- * Raised when a component's visual state is changed. Web only.
514
- *
515
- * @webOnly
516
- */
517
- get visualStateChanged(): Event<VisualStateChangeEvent>;
518
- }
1
+ import type { ItemRef } from "app-config/common/ItemRef.js";
2
+ import type { UIDensity } from "../../app-config/common/BrandingModelProperties.js";
3
+ import type { TranslatableText, TranslateOptions } from "../../app-config/common/TranslatableText.js";
4
+ import type { Command } from "../Command.js";
5
+ import { CommandRegistry } from "../CommandRegistry.js";
6
+ import type { Event } from "../Event.js";
7
+ import { EventRegistry } from "../EventRegistry.js";
8
+ import type { Operation } from "../Operation.js";
9
+ import { OperationRegistry } from "../OperationRegistry.js";
10
+ import type { Model } from "../common.js";
11
+ /**
12
+ * A category for a notification that affects the color and icon used.
13
+ */
14
+ export declare enum NotificationCategory {
15
+ ERROR = "error",
16
+ INFO = "info",
17
+ SUCCESS = "success",
18
+ WARNING = "warning"
19
+ }
20
+ /**
21
+ * The base args for a command/operation showing a message box.
22
+ */
23
+ export interface MessageBoxArgs {
24
+ /**
25
+ * The title of the dialog.
26
+ */
27
+ title?: string;
28
+ /**
29
+ * The message to be displayed in the dialog.
30
+ */
31
+ message?: string;
32
+ /**
33
+ * Whether the dialog is draggable or not. Defaults to true. Web only.
34
+ */
35
+ isDraggable?: boolean;
36
+ /**
37
+ * Where the dialog appears in the app when it is created. Defaults to
38
+ * center position. Web only.
39
+ */
40
+ initialPosition?: MessageBoxPosition;
41
+ }
42
+ /**
43
+ * Arguments for the 'ui.alert' command.
44
+ */
45
+ export interface AlertCommandArgs extends MessageBoxArgs {
46
+ /**
47
+ * The text to display on the dismiss button.
48
+ */
49
+ buttonText?: string;
50
+ }
51
+ /**
52
+ * Arguments for the 'ui.confirm' operation.
53
+ */
54
+ export interface ConfirmOperationArgs extends MessageBoxArgs {
55
+ /**
56
+ * The text to display on the ok button.
57
+ */
58
+ okButtonText?: string;
59
+ /**
60
+ * The text to display on the cancel button.
61
+ */
62
+ cancelButtonText?: string;
63
+ }
64
+ /**
65
+ * Arguments for the 'ui.prompt' operation.
66
+ */
67
+ export interface PromptOperationArgs extends MessageBoxArgs {
68
+ /**
69
+ * The default value to display in the input box.
70
+ */
71
+ defaultInputValue?: string;
72
+ /**
73
+ * The text to display on the ok button.
74
+ */
75
+ okButtonText?: string;
76
+ /**
77
+ * The text to display on the cancel button.
78
+ */
79
+ cancelButtonText?: string;
80
+ }
81
+ /**
82
+ * The arguments for the `ui.display-notification` command.
83
+ */
84
+ export interface DisplayNotificationArgs {
85
+ /**
86
+ * The category of notification, i.e. "error" (default is "info").
87
+ */
88
+ category?: NotificationCategory;
89
+ /**
90
+ * The message to be displayed in the notification. Mobile only supports a
91
+ * string for this property.
92
+ */
93
+ message: TranslatableText;
94
+ /**
95
+ * The position of the notification on the screen. Web only.
96
+ */
97
+ position?: Position;
98
+ /**
99
+ * Disable notification timeouts. Timeouts only apply to "info" and
100
+ * "success" categories. Web only.
101
+ */
102
+ disableTimeouts?: boolean;
103
+ /**
104
+ * Notifications in the same notification group are mutually exclusive, and
105
+ * will supersede one another. Mobile only.
106
+ */
107
+ notificationGroup?: string;
108
+ /**
109
+ * The notification title - only shown for system notifications. Mobile
110
+ * only.
111
+ */
112
+ title?: string;
113
+ /**
114
+ * The type of notification - 'app', 'system', or 'auto'. Defaults to
115
+ * 'auto'. Mobile only.
116
+ */
117
+ type?: NotificationType;
118
+ /**
119
+ * Indicates if the notification should auto-close after a time duration.
120
+ * Defaults to true. Mobile only.
121
+ */
122
+ autoClose?: boolean;
123
+ }
124
+ /**
125
+ * The type of notification - 'app', 'system', or 'auto'. Defaults to 'auto'.
126
+ * Mobile only.
127
+ */
128
+ export declare enum NotificationType {
129
+ /**
130
+ * Automatically choose whether to display an app notification or system
131
+ * notification. If the app is in the background, a system notification will
132
+ * be shown. If the app is in the foreground, an in-app notification will be
133
+ * shown. If notifications are unauthorized at the OS level, an in-app
134
+ * notification will always be shown.
135
+ */
136
+ AUTO = "auto",
137
+ /**
138
+ * Display the notification in-app.
139
+ */
140
+ APP = "app",
141
+ /**
142
+ * Display the notification as a system notification using the device's
143
+ * operating system. If system notifications are turned off/disabled in the
144
+ * OS settings, then it will fall back to using an in-app notification.
145
+ */
146
+ SYSTEM = "system"
147
+ }
148
+ /**
149
+ * Arguments for the "ui.set-visual-state" command.
150
+ */
151
+ export interface SetVisualStateArgs {
152
+ /**
153
+ * The component ID.
154
+ */
155
+ id: ComponentId;
156
+ /**
157
+ * The visual state of the component. The set of visual states is specific
158
+ * to the type of component.
159
+ */
160
+ visualState: VisualState;
161
+ }
162
+ /**
163
+ * Arguments for the "ui.display-busy-state" args.
164
+ */
165
+ export interface DisplayBusyStateArgs {
166
+ /**
167
+ * The ID used to link a busy state to its caller. Web only.
168
+ */
169
+ id?: string;
170
+ /**
171
+ * The title to display. Mobile only.
172
+ */
173
+ title?: string;
174
+ /**
175
+ * The message to display.
176
+ */
177
+ message?: string;
178
+ /**
179
+ * The number of milliseconds to wait before displaying the message. Default
180
+ * is 3000. Web only.
181
+ */
182
+ messageDelayMs?: number;
183
+ /**
184
+ * The minimum duration, in milliseconds, that the busy state will be
185
+ * displayed. Defaults to 500. Mobile only.
186
+ */
187
+ minimumDisplayDurationMs?: number;
188
+ /**
189
+ * The maximum number of milliseconds the busy state will be displayed. Web
190
+ * only.
191
+ */
192
+ maximumDisplayDurationMs?: number;
193
+ }
194
+ /**
195
+ * A component's ID in the layout.
196
+ */
197
+ export type ComponentId = string;
198
+ /**
199
+ * Arguments for the "ui.focus" command.
200
+ */
201
+ export interface FocusArgs {
202
+ /**
203
+ * The component to focus. If the selector property is not defined, the
204
+ * first focusable element within the component will receive focus. If this
205
+ * property is not defined, only the selector will be used.
206
+ */
207
+ component?: ComponentId | Model;
208
+ /**
209
+ * The CSS selector used to find an HTML Element in the DOM. If a component
210
+ * is also provided, the selector will only look within the component's
211
+ * element tree in the DOM.
212
+ */
213
+ selector?: string;
214
+ /**
215
+ * The maximum number of milliseconds the command will spend attempting to
216
+ * focus the element. This may be useful in cases where the target
217
+ * component/element requires time to load or render. Defaults to 0.
218
+ */
219
+ timeout?: number;
220
+ }
221
+ /**
222
+ * Payload for a VisualStateChangeEvent.
223
+ */
224
+ export interface VisualStateChangeEvent {
225
+ /**
226
+ * The ID of the component whose visual state has changed.
227
+ */
228
+ component: ComponentId;
229
+ /**
230
+ * The visual state of the component before the change.
231
+ */
232
+ previous: VisualState;
233
+ /**
234
+ * The new visual state of the component.
235
+ */
236
+ current: VisualState;
237
+ }
238
+ /**
239
+ * A component's visual state. The values will vary based on the component type.
240
+ */
241
+ export type VisualState = string;
242
+ /**
243
+ * A position for a display notification.
244
+ */
245
+ export declare enum Position {
246
+ BOTTOM = "bottom",
247
+ LEFT = "left",
248
+ RIGHT = "right",
249
+ TOP = "top"
250
+ }
251
+ /**
252
+ * A position for the MessageBox dialog.
253
+ */
254
+ export type MessageBoxPosition = "bottom" | "start" | "end" | "top" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "center";
255
+ /**
256
+ * Arguments for the ui.narrate command.
257
+ */
258
+ export type NarrateArgs = string | NarrateOptions;
259
+ /**
260
+ * Translate options for the ui.narrate command.
261
+ */
262
+ export interface NarrateOptions extends TranslateOptions {
263
+ /**
264
+ * A timeout before the narration is executed. This can be used to avoid
265
+ * focus changes that can interrupt the screen reader. Defaults to 50ms.
266
+ */
267
+ timeout?: number;
268
+ }
269
+ export declare class UICommands extends CommandRegistry {
270
+ protected readonly _prefix = "ui";
271
+ /**
272
+ * Activates a component with the given ID or model, causing it to become
273
+ * visible. For VertiGIS Studio Mobile, only ID is supported.
274
+ */
275
+ get activate(): Command<ComponentId | Model>;
276
+ /**
277
+ * Toggles the active state on a component with the given ID. Mobile only.
278
+ *
279
+ * @mobileOnly
280
+ */
281
+ get activeToggle(): Command<ComponentId>;
282
+ /**
283
+ * Shows an alert to the user.
284
+ */
285
+ get alert(): Command<AlertCommandArgs>;
286
+ /**
287
+ * Waits (does nothing) for the specified period. The UI will remain active
288
+ * during this period. This is primarily intended to be used for testing and
289
+ * troubleshooting. Mobile only.
290
+ *
291
+ * @mobileOnly
292
+ */
293
+ get await(): Command<number>;
294
+ /**
295
+ * Deactivates a component with the given ID, causing it to disappear. For
296
+ * VertiGIS Studio Mobile, only ID is supported.
297
+ */
298
+ get deactivate(): Command<ComponentId | Model>;
299
+ /**
300
+ * Displays a loading indicator and custom message to the user to indicate
301
+ * that the UI is busy.
302
+ */
303
+ get displayBusyState(): Command<DisplayBusyStateArgs>;
304
+ /**
305
+ * Shows a notification to the user.
306
+ */
307
+ get displayNotification(): Command<DisplayNotificationArgs>;
308
+ /**
309
+ * Pauses display of notifications until resumed. Mobile only.
310
+ *
311
+ * @mobileOnly
312
+ */
313
+ get pauseNotifications(): Command;
314
+ /**
315
+ * If notifications are currently paused, resumes displaying notifications.
316
+ * Mobile only.
317
+ *
318
+ * @mobileOnly
319
+ */
320
+ get resumeNotifications(): Command;
321
+ /**
322
+ * Focuses on a component or DOM element. Web only.
323
+ *
324
+ * @webOnly
325
+ */
326
+ get focus(): Command<FocusArgs>;
327
+ /**
328
+ * Hides the busy state if currently shown. In Web, requires the ID of the
329
+ * caller that was used to show the busy state.
330
+ */
331
+ get hideBusyState(): Command<string | void>;
332
+ /**
333
+ * Hides a notification previously shown to the user.
334
+ */
335
+ get hideNotification(): Command;
336
+ /**
337
+ * Marks a component as being available. The interpretation of what effect
338
+ * this has is up to the component. Currently the only component that will
339
+ * react to this is the task-bar, which will have the effect of showing the
340
+ * tab/button for that component. The argument can be an id of the
341
+ * component, or the model for the component. Mobile only.
342
+ *
343
+ * @mobileOnly
344
+ */
345
+ get makeAvailable(): Command<ComponentId | Model>;
346
+ /**
347
+ * Marks a component as being unavailable. The interpretation of what effect
348
+ * this has is up to the component. Currently the only component that will
349
+ * react to this is the task-bar, which will have the effect of hiding the
350
+ * tab/button for that component, and deactivating the component. The
351
+ * argument can be an id of the component, or the model for the component.
352
+ * Mobile only.
353
+ *
354
+ * @mobileOnly
355
+ */
356
+ get makeUnavailable(): Command<ComponentId | Model>;
357
+ /**
358
+ * Forces assistive technology (screen readers) to narrate a translatable
359
+ * message to the end user. Web only.
360
+ *
361
+ * @webOnly
362
+ */
363
+ get narrate(): Command<NarrateArgs>;
364
+ /**
365
+ * Sets the density level for the UI. Web only.
366
+ *
367
+ * @webOnly
368
+ */
369
+ get setDensity(): Command<UIDensity>;
370
+ /**
371
+ * Sets the locale for the application and loads any locale-specific
372
+ * resources. Accepts a valid locale code (example: "en", "fr" or "de-AT").
373
+ * Web only.
374
+ *
375
+ * @webOnly
376
+ */
377
+ get setLocale(): Command<string>;
378
+ /**
379
+ * Sets the color theme of the viewer. The required argument is the new
380
+ * theme's ID.
381
+ */
382
+ get setTheme(): Command<string>;
383
+ /**
384
+ * Sets the visual state of a component. Web only.
385
+ *
386
+ * @webOnly
387
+ */
388
+ get setVisualState(): Command<SetVisualStateArgs>;
389
+ }
390
+ export declare class UIOperations extends OperationRegistry {
391
+ protected readonly _prefix = "ui";
392
+ /**
393
+ * Gets user confirmation by way of a popup box.
394
+ */
395
+ get confirm(): Operation<ConfirmOperationArgs, boolean>;
396
+ /**
397
+ * Get the IDs of components in the current layout that are backed by the
398
+ * given model. Most models are used by a single component, but in some
399
+ * cases multiple components can share a model. Web only.
400
+ *
401
+ * @webOnly
402
+ */
403
+ get getComponentIds(): Operation<ItemRef, string>;
404
+ /**
405
+ * Gets the current locale code for the application. (example: "en", "fr" or
406
+ * "de-AT"). Web only.
407
+ *
408
+ * @webOnly
409
+ */
410
+ get getLocale(): Operation<void, string>;
411
+ /**
412
+ * Gets the active color theme of the viewer. Returns the theme's ID. Web
413
+ * only.
414
+ *
415
+ * @webOnly
416
+ */
417
+ get getTheme(): Operation<void, string>;
418
+ /**
419
+ * Gets all color themes available to the viewer. Returns the theme IDs. Web
420
+ * only.
421
+ *
422
+ * @webOnly
423
+ */
424
+ get getThemes(): Operation<void, string[]>;
425
+ /**
426
+ * Gets the visual state of a component. Web only.
427
+ *
428
+ * @webOnly
429
+ */
430
+ get getVisualState(): Operation<ComponentId, VisualState | undefined>;
431
+ /**
432
+ * Prompts the user to enter a value in a popup box. Web only.
433
+ *
434
+ * @webOnly
435
+ */
436
+ get prompt(): Operation<PromptOperationArgs, string>;
437
+ }
438
+ export declare class UIEvents extends EventRegistry {
439
+ protected readonly _prefix = "ui";
440
+ /**
441
+ * Raised when a component is activated. The argument is the component ID.
442
+ */
443
+ get activated(): Event<ComponentId>;
444
+ /**
445
+ * Raised when a component is added to the layout. Web only.
446
+ *
447
+ * @webOnly
448
+ */
449
+ get added(): Event<ComponentId>;
450
+ /**
451
+ * Raised when a component's ancestor becomes activated. The argument is the
452
+ * descendant component's ID. Web only.
453
+ *
454
+ * @webOnly
455
+ */
456
+ get ancestorActivated(): Event<ComponentId>;
457
+ /**
458
+ * Raised when a component's ancestor becomes deactivated. The argument is
459
+ * the descendant component's ID. Web only.
460
+ *
461
+ * @webOnly
462
+ */
463
+ get ancestorDeactivated(): Event<ComponentId>;
464
+ /**
465
+ * Raised when a component is deactivated. The argument is the component ID.
466
+ */
467
+ get deactivated(): Event<ComponentId>;
468
+ /**
469
+ * Raised when the UI density setting is changed. Web only.
470
+ *
471
+ * @webOnly
472
+ */
473
+ get densityChanged(): Event<UIDensity>;
474
+ /**
475
+ * Raised when the locale is changed by the user. The argument is the locale
476
+ * code. Web only.
477
+ *
478
+ * @webOnly
479
+ */
480
+ get localeChanged(): Event<string>;
481
+ /**
482
+ * Raised when a component begins initialization. The argument is the
483
+ * component ID. Web only.
484
+ *
485
+ * @webOnly
486
+ */
487
+ get initializing(): Event<ComponentId>;
488
+ /**
489
+ * Raised when a component and its descendants have been initially
490
+ * activated. The argument is the component ID. Web only.
491
+ *
492
+ * @webOnly
493
+ */
494
+ get initialized(): Event<ComponentId>;
495
+ /**
496
+ * Raised when a component is removed from the layout. Web only.
497
+ *
498
+ * @webOnly
499
+ */
500
+ get removed(): Event<ComponentId>;
501
+ /**
502
+ * Raised when a component is reordered in the layout relative to its
503
+ * siblings. Web only.
504
+ *
505
+ * @webOnly
506
+ */
507
+ get reordered(): Event<ComponentId>;
508
+ /**
509
+ * Raised when the app's theme is changed. The argument is the theme id.
510
+ */
511
+ get themeChanged(): Event<string>;
512
+ /**
513
+ * Raised when a component's visual state is changed. Web only.
514
+ *
515
+ * @webOnly
516
+ */
517
+ get visualStateChanged(): Event<VisualStateChangeEvent>;
518
+ }