@vertigis/viewer-spec 52.0.0 → 52.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.
|
@@ -222,6 +222,17 @@
|
|
|
222
222
|
</documentation>
|
|
223
223
|
</annotation>
|
|
224
224
|
</attribute>
|
|
225
|
+
<attribute name="available" type="boolean">
|
|
226
|
+
<annotation>
|
|
227
|
+
<documentation xml:lang="en">
|
|
228
|
+
This property marks a component as being available. The
|
|
229
|
+
interpretation of what effect this has is up to the component.
|
|
230
|
+
Currently the only component that will react to this property
|
|
231
|
+
is the task-bar, which will have the effect of showing/hiding
|
|
232
|
+
the tab/button for that component. Defaults to true. Mobile only.
|
|
233
|
+
</documentation>
|
|
234
|
+
</annotation>
|
|
235
|
+
</attribute>
|
|
225
236
|
</complexType>
|
|
226
237
|
|
|
227
238
|
<!-- Basic Components -->
|
|
@@ -306,6 +306,26 @@ export declare class UICommands extends CommandRegistry {
|
|
|
306
306
|
* Hides a notification previously shown to the user.
|
|
307
307
|
*/
|
|
308
308
|
get hideNotification(): Command;
|
|
309
|
+
/**
|
|
310
|
+
* Marks a component as being available. The interpretation of what effect
|
|
311
|
+
* this has is up to the component. Currently the only component that will
|
|
312
|
+
* react to this is the task-bar, which will have the effect of showing the
|
|
313
|
+
* tab/button for that component. The argument can be an id of the
|
|
314
|
+
* component, or the model for the component.
|
|
315
|
+
*
|
|
316
|
+
* @mobileOnly
|
|
317
|
+
*/
|
|
318
|
+
get makeAvailable(): Command<ComponentId | Model>;
|
|
319
|
+
/**
|
|
320
|
+
* Marks a component as being unavailable. The interpretation of what effect
|
|
321
|
+
* this has is up to the component. Currently the only component that will
|
|
322
|
+
* react to this is the task-bar, which will have the effect of hiding the
|
|
323
|
+
* tab/button for that component, and deactivating the component. The
|
|
324
|
+
* argument can be an id of the component, or the model for the component.
|
|
325
|
+
*
|
|
326
|
+
* @mobileOnly
|
|
327
|
+
*/
|
|
328
|
+
get makeUnavailable(): Command<ComponentId | Model>;
|
|
309
329
|
/**
|
|
310
330
|
* Forces assistive technology (screen readers) to narrate a translatable
|
|
311
331
|
* message to the end user.
|
package/messaging/registry/ui.js
CHANGED
|
@@ -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 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 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")}}
|
|
@@ -15373,6 +15373,38 @@
|
|
|
15373
15373
|
"ui.hide-notification"
|
|
15374
15374
|
]
|
|
15375
15375
|
},
|
|
15376
|
+
"ui.make-available": {
|
|
15377
|
+
"description": "Marks a component as being available. The interpretation of what effect this has is up to the component. Currently the only component that will react to this is the task-bar, which will have the effect of showing the tab/button for that component. The argument can be an id of the component, or the model for the component.",
|
|
15378
|
+
"enum": [
|
|
15379
|
+
"ui.make-available"
|
|
15380
|
+
]
|
|
15381
|
+
},
|
|
15382
|
+
"ui.make-available:input": {
|
|
15383
|
+
"anyOf": [
|
|
15384
|
+
{
|
|
15385
|
+
"$ref": "#/definitions/Model"
|
|
15386
|
+
},
|
|
15387
|
+
{
|
|
15388
|
+
"type": "string"
|
|
15389
|
+
}
|
|
15390
|
+
]
|
|
15391
|
+
},
|
|
15392
|
+
"ui.make-unavailable": {
|
|
15393
|
+
"description": "Marks a component as being unavailable. The interpretation of what effect this has is up to the component. Currently the only component that will react to this is the task-bar, which will have the effect of hiding the tab/button for that component, and deactivating the component. The argument can be an id of the component, or the model for the component.",
|
|
15394
|
+
"enum": [
|
|
15395
|
+
"ui.make-unavailable"
|
|
15396
|
+
]
|
|
15397
|
+
},
|
|
15398
|
+
"ui.make-unavailable:input": {
|
|
15399
|
+
"anyOf": [
|
|
15400
|
+
{
|
|
15401
|
+
"$ref": "#/definitions/Model"
|
|
15402
|
+
},
|
|
15403
|
+
{
|
|
15404
|
+
"type": "string"
|
|
15405
|
+
}
|
|
15406
|
+
]
|
|
15407
|
+
},
|
|
15376
15408
|
"ui.pause-notifications": {
|
|
15377
15409
|
"description": "Pauses display of notifications until resumed.",
|
|
15378
15410
|
"enum": [
|
|
@@ -17179,6 +17211,38 @@
|
|
|
17179
17211
|
],
|
|
17180
17212
|
"type": "object"
|
|
17181
17213
|
},
|
|
17214
|
+
{
|
|
17215
|
+
"additionalProperties": false,
|
|
17216
|
+
"properties": {
|
|
17217
|
+
"arguments": {
|
|
17218
|
+
"$ref": "#/definitions/ui.make-available:input"
|
|
17219
|
+
},
|
|
17220
|
+
"name": {
|
|
17221
|
+
"$ref": "#/definitions/ui.make-available"
|
|
17222
|
+
}
|
|
17223
|
+
},
|
|
17224
|
+
"required": [
|
|
17225
|
+
"name",
|
|
17226
|
+
"arguments"
|
|
17227
|
+
],
|
|
17228
|
+
"type": "object"
|
|
17229
|
+
},
|
|
17230
|
+
{
|
|
17231
|
+
"additionalProperties": false,
|
|
17232
|
+
"properties": {
|
|
17233
|
+
"arguments": {
|
|
17234
|
+
"$ref": "#/definitions/ui.make-unavailable:input"
|
|
17235
|
+
},
|
|
17236
|
+
"name": {
|
|
17237
|
+
"$ref": "#/definitions/ui.make-unavailable"
|
|
17238
|
+
}
|
|
17239
|
+
},
|
|
17240
|
+
"required": [
|
|
17241
|
+
"name",
|
|
17242
|
+
"arguments"
|
|
17243
|
+
],
|
|
17244
|
+
"type": "object"
|
|
17245
|
+
},
|
|
17182
17246
|
{
|
|
17183
17247
|
"additionalProperties": false,
|
|
17184
17248
|
"properties": {
|
|
@@ -17659,6 +17723,12 @@
|
|
|
17659
17723
|
{
|
|
17660
17724
|
"$ref": "#/definitions/ui.hide-notification"
|
|
17661
17725
|
},
|
|
17726
|
+
{
|
|
17727
|
+
"$ref": "#/definitions/ui.make-available"
|
|
17728
|
+
},
|
|
17729
|
+
{
|
|
17730
|
+
"$ref": "#/definitions/ui.make-unavailable"
|
|
17731
|
+
},
|
|
17662
17732
|
{
|
|
17663
17733
|
"$ref": "#/definitions/ui.pause-notifications"
|
|
17664
17734
|
},
|
package/package.json
CHANGED
package/version.d.ts
CHANGED
package/version.js
CHANGED