@vertigis/viewer-spec 51.0.0 → 51.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.
|
@@ -344,11 +344,12 @@ export declare class UIOperations extends OperationRegistry {
|
|
|
344
344
|
*/
|
|
345
345
|
get confirm(): Operation<ConfirmOperationArgs, boolean>;
|
|
346
346
|
/**
|
|
347
|
-
*
|
|
347
|
+
* Gets the current locale code for the application. (example: "en", "fr" or
|
|
348
|
+
* "de-AT").
|
|
348
349
|
*
|
|
349
350
|
* @webOnly
|
|
350
351
|
*/
|
|
351
|
-
get
|
|
352
|
+
get getLocale(): Operation<void, string>;
|
|
352
353
|
/**
|
|
353
354
|
* Gets the active color theme of the viewer. Returns the theme's ID.
|
|
354
355
|
*
|
|
@@ -367,6 +368,12 @@ export declare class UIOperations extends OperationRegistry {
|
|
|
367
368
|
* @webOnly
|
|
368
369
|
*/
|
|
369
370
|
get getVisualState(): Operation<ComponentId, VisualState | undefined>;
|
|
371
|
+
/**
|
|
372
|
+
* Prompts the user to enter a value in a popup box.
|
|
373
|
+
*
|
|
374
|
+
* @webOnly
|
|
375
|
+
*/
|
|
376
|
+
get prompt(): Operation<PromptOperationArgs, string>;
|
|
370
377
|
}
|
|
371
378
|
export declare class UIEvents extends EventRegistry {
|
|
372
379
|
/**
|
package/messaging/registry/ui.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{CommandRegistry}from"../CommandRegistry.js";import{EventRegistry}from"../EventRegistry.js";import{OperationRegistry}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 CommandRegistry{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 OperationRegistry{get confirm(){return this._messages.operation("ui.confirm")}get
|
|
1
|
+
import{CommandRegistry}from"../CommandRegistry.js";import{EventRegistry}from"../EventRegistry.js";import{OperationRegistry}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 CommandRegistry{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 OperationRegistry{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 EventRegistry{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")}}
|
|
@@ -18824,6 +18824,15 @@
|
|
|
18824
18824
|
"ui.focus:input": {
|
|
18825
18825
|
"$ref": "#/definitions/FocusArgs"
|
|
18826
18826
|
},
|
|
18827
|
+
"ui.get-locale": {
|
|
18828
|
+
"description": "Gets the current locale code for the application. (example: \"en\", \"fr\" or \"de-AT\").",
|
|
18829
|
+
"enum": [
|
|
18830
|
+
"ui.get-locale"
|
|
18831
|
+
]
|
|
18832
|
+
},
|
|
18833
|
+
"ui.get-locale:output": {
|
|
18834
|
+
"type": "string"
|
|
18835
|
+
},
|
|
18827
18836
|
"ui.get-theme": {
|
|
18828
18837
|
"description": "Gets the active color theme of the viewer. Returns the theme's ID.",
|
|
18829
18838
|
"enum": [
|
|
@@ -22845,6 +22854,9 @@
|
|
|
22845
22854
|
{
|
|
22846
22855
|
"$ref": "#/definitions/ui.confirm"
|
|
22847
22856
|
},
|
|
22857
|
+
{
|
|
22858
|
+
"$ref": "#/definitions/ui.get-locale"
|
|
22859
|
+
},
|
|
22848
22860
|
{
|
|
22849
22861
|
"$ref": "#/definitions/ui.get-theme"
|
|
22850
22862
|
},
|
package/package.json
CHANGED
package/version.d.ts
CHANGED
package/version.js
CHANGED