@vertigis/viewer-spec 50.10.4 → 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.
@@ -61,10 +61,6 @@ export declare enum PortalType {
61
61
  * events. Only available in VertiGIS Studio Mobile.
62
62
  */
63
63
  export interface SignInCompletedEventArgs {
64
- /**
65
- * The credential resulting from the sign in.
66
- */
67
- credential: Credential;
68
64
  /**
69
65
  * The identity that was obtained from the sign in.
70
66
  */
@@ -344,11 +344,12 @@ export declare class UIOperations extends OperationRegistry {
344
344
  */
345
345
  get confirm(): Operation<ConfirmOperationArgs, boolean>;
346
346
  /**
347
- * Prompts the user to enter a value in a popup box.
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 prompt(): Operation<PromptOperationArgs, string>;
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
  /**
@@ -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 prompt(){return this._messages.operation("ui.prompt")}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")}}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")}}
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")}}
@@ -340,17 +340,12 @@
340
340
  "additionalProperties": false,
341
341
  "description": "Arguments for the auth.sign-in-completed and auth.portal-sign-in-completed events. Only available in VertiGIS Studio Mobile.",
342
342
  "properties": {
343
- "credential": {
344
- "$ref": "esriRuntimeSdk.Credential",
345
- "description": "The credential resulting from the sign in."
346
- },
347
343
  "identity": {
348
344
  "$ref": "#/definitions/ArcGISPortalIdentity",
349
345
  "description": "The identity that was obtained from the sign in."
350
346
  }
351
347
  },
352
348
  "required": [
353
- "credential",
354
349
  "identity"
355
350
  ],
356
351
  "type": "object"
@@ -1571,17 +1571,12 @@
1571
1571
  "additionalProperties": false,
1572
1572
  "description": "Arguments for the auth.sign-in-completed and auth.portal-sign-in-completed events. Only available in VertiGIS Studio Mobile.",
1573
1573
  "properties": {
1574
- "credential": {
1575
- "$ref": "esriRuntimeSdk.Credential",
1576
- "description": "The credential resulting from the sign in."
1577
- },
1578
1574
  "identity": {
1579
1575
  "$ref": "#/definitions/ArcGISPortalIdentity",
1580
1576
  "description": "The identity that was obtained from the sign in."
1581
1577
  }
1582
1578
  },
1583
1579
  "required": [
1584
- "credential",
1585
1580
  "identity"
1586
1581
  ],
1587
1582
  "type": "object"
@@ -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
  },
@@ -1115,17 +1115,12 @@
1115
1115
  "additionalProperties": false,
1116
1116
  "description": "Arguments for the auth.sign-in-completed and auth.portal-sign-in-completed events. Only available in VertiGIS Studio Mobile.",
1117
1117
  "properties": {
1118
- "credential": {
1119
- "$ref": "esriRuntimeSdk.Credential",
1120
- "description": "The credential resulting from the sign in."
1121
- },
1122
1118
  "identity": {
1123
1119
  "$ref": "#/definitions/ArcGISPortalIdentity",
1124
1120
  "description": "The identity that was obtained from the sign in."
1125
1121
  }
1126
1122
  },
1127
1123
  "required": [
1128
- "credential",
1129
1124
  "identity"
1130
1125
  ],
1131
1126
  "type": "object"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vertigis/viewer-spec",
3
- "version": "50.10.4",
3
+ "version": "51.1.0",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "description": "VertiGIS Viewer Specification",
6
6
  "type": "module",
package/version.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * The current version of the VertiGIS Studio Viewer Specification.
3
3
  */
4
- export declare const version = "50.10.4";
4
+ export declare const version = "51.1.0";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * The current version of the VertiGIS Studio Viewer Specification.
3
3
  */
4
- export const version = "50.10.4";
4
+ export const version = "51.1.0";