@vertigis/viewer-spec 58.2.0 → 58.4.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.
@@ -141,6 +141,12 @@ export declare class LocationMarkerEvents extends EventRegistry {
141
141
  * @webOnly
142
142
  */
143
143
  get updated(): Event<LocationMarkerEvent>;
144
+ /**
145
+ * Raised when a Marker is updating. Web only.
146
+ *
147
+ * @webOnly
148
+ */
149
+ get updating(): Event<LocationMarkerEvent>;
144
150
  }
145
151
  export declare class LocationMarkerCommands extends CommandRegistry {
146
152
  protected readonly _prefix = "location-marker";
@@ -1 +1 @@
1
- import{CommandRegistry as e}from"../CommandRegistry.js";import{EventRegistry as t}from"../EventRegistry.js";export class LocationMarkerEvents extends t{_prefix="location-marker";get created(){return this._get("created")}get removed(){return this._get("removed")}get updated(){return this._get("updated")}}export class LocationMarkerCommands extends e{_prefix="location-marker";get clear(){return this._get("clear")}get create(){return this._get("create")}get remove(){return this._get("remove")}get update(){return this._get("update")}}
1
+ import{CommandRegistry as e}from"../CommandRegistry.js";import{EventRegistry as t}from"../EventRegistry.js";export class LocationMarkerEvents extends t{_prefix="location-marker";get created(){return this._get("created")}get removed(){return this._get("removed")}get updated(){return this._get("updated")}get updating(){return this._get("updating")}}export class LocationMarkerCommands extends e{_prefix="location-marker";get clear(){return this._get("clear")}get create(){return this._get("create")}get remove(){return this._get("remove")}get update(){return this._get("update")}}
@@ -239,6 +239,16 @@ export interface VisualStateChangeEvent {
239
239
  * A component's visual state. The values will vary based on the component type.
240
240
  */
241
241
  export type VisualState = string;
242
+ /**
243
+ * Represents the state of a layout node.
244
+ */
245
+ export declare enum State {
246
+ UNLOADED = 0,
247
+ SUSPENDED = 1,
248
+ ACTIVATED = 2,
249
+ DEACTIVATED = 3,
250
+ FAILED = 4
251
+ }
242
252
  /**
243
253
  * A position for a display notification.
244
254
  */
@@ -428,6 +438,12 @@ export declare class UIOperations extends OperationRegistry {
428
438
  * @webOnly
429
439
  */
430
440
  get getVisualState(): Operation<ComponentId, VisualState | undefined>;
441
+ /**
442
+ * Gets the state of a component. Web only.
443
+ *
444
+ * @webOnly
445
+ */
446
+ get getComponentState(): Operation<ComponentId, State | undefined>;
431
447
  /**
432
448
  * Prompts the user to enter a value in a popup box. Web only.
433
449
  *
@@ -1 +1 @@
1
- import{CommandRegistry as t}from"../CommandRegistry.js";import{EventRegistry as e}from"../EventRegistry.js";import{OperationRegistry as i}from"../OperationRegistry.js";export var NotificationCategory;!function(t){t.ERROR="error",t.INFO="info",t.SUCCESS="success",t.WARNING="warning"}(NotificationCategory||(NotificationCategory={}));export var NotificationType;!function(t){t.AUTO="auto",t.APP="app",t.SYSTEM="system"}(NotificationType||(NotificationType={}));export var Position;!function(t){t.BOTTOM="bottom",t.LEFT="left",t.RIGHT="right",t.TOP="top"}(Position||(Position={}));export class UICommands extends t{_prefix="ui";get activate(){return this._get("activate")}get activeToggle(){return this._get("active-toggle")}get alert(){return this._get("alert")}get await(){return this._get("await")}get deactivate(){return this._get("deactivate")}get displayBusyState(){return this._get("display-busy-state")}get displayNotification(){return this._get("display-notification")}get pauseNotifications(){return this._get("pause-notifications")}get resumeNotifications(){return this._get("resume-notifications")}get focus(){return this._get("focus")}get hideBusyState(){return this._get("hide-busy-state")}get hideNotification(){return this._get("hide-notification")}get makeAvailable(){return this._get("make-available")}get makeUnavailable(){return this._get("make-unavailable")}get narrate(){return this._get("narrate")}get setDensity(){return this._get("set-density")}get setLocale(){return this._get("set-locale")}get setTheme(){return this._get("set-theme")}get setVisualState(){return this._get("set-visual-state")}}export class UIOperations extends i{_prefix="ui";get confirm(){return this._get("confirm")}get getComponentIds(){return this._get("get-component-ids")}get getLocale(){return this._get("get-locale")}get getTheme(){return this._get("get-theme")}get getThemes(){return this._get("get-themes")}get getVisualState(){return this._get("get-visual-state")}get prompt(){return this._get("prompt")}}export class UIEvents extends e{_prefix="ui";get activated(){return this._get("activated")}get added(){return this._get("added")}get ancestorActivated(){return this._get("ancestor-activated")}get ancestorDeactivated(){return this._get("ancestor-deactivated")}get deactivated(){return this._get("deactivated")}get densityChanged(){return this._get("density-changed")}get localeChanged(){return this._get("locale-changed")}get initializing(){return this._get("initializing")}get initialized(){return this._get("initialized")}get removed(){return this._get("removed")}get reordered(){return this._get("reordered")}get themeChanged(){return this._get("theme-changed")}get visualStateChanged(){return this._get("visual-state-changed")}}
1
+ import{CommandRegistry as t}from"../CommandRegistry.js";import{EventRegistry as e}from"../EventRegistry.js";import{OperationRegistry as i}from"../OperationRegistry.js";export var NotificationCategory;!function(t){t.ERROR="error",t.INFO="info",t.SUCCESS="success",t.WARNING="warning"}(NotificationCategory||(NotificationCategory={}));export var NotificationType;!function(t){t.AUTO="auto",t.APP="app",t.SYSTEM="system"}(NotificationType||(NotificationType={}));export var State;!function(t){t[t.UNLOADED=0]="UNLOADED",t[t.SUSPENDED=1]="SUSPENDED",t[t.ACTIVATED=2]="ACTIVATED",t[t.DEACTIVATED=3]="DEACTIVATED",t[t.FAILED=4]="FAILED"}(State||(State={}));export var Position;!function(t){t.BOTTOM="bottom",t.LEFT="left",t.RIGHT="right",t.TOP="top"}(Position||(Position={}));export class UICommands extends t{_prefix="ui";get activate(){return this._get("activate")}get activeToggle(){return this._get("active-toggle")}get alert(){return this._get("alert")}get await(){return this._get("await")}get deactivate(){return this._get("deactivate")}get displayBusyState(){return this._get("display-busy-state")}get displayNotification(){return this._get("display-notification")}get pauseNotifications(){return this._get("pause-notifications")}get resumeNotifications(){return this._get("resume-notifications")}get focus(){return this._get("focus")}get hideBusyState(){return this._get("hide-busy-state")}get hideNotification(){return this._get("hide-notification")}get makeAvailable(){return this._get("make-available")}get makeUnavailable(){return this._get("make-unavailable")}get narrate(){return this._get("narrate")}get setDensity(){return this._get("set-density")}get setLocale(){return this._get("set-locale")}get setTheme(){return this._get("set-theme")}get setVisualState(){return this._get("set-visual-state")}}export class UIOperations extends i{_prefix="ui";get confirm(){return this._get("confirm")}get getComponentIds(){return this._get("get-component-ids")}get getLocale(){return this._get("get-locale")}get getTheme(){return this._get("get-theme")}get getThemes(){return this._get("get-themes")}get getVisualState(){return this._get("get-visual-state")}get getComponentState(){return this._get("get-component-state")}get prompt(){return this._get("prompt")}}export class UIEvents extends e{_prefix="ui";get activated(){return this._get("activated")}get added(){return this._get("added")}get ancestorActivated(){return this._get("ancestor-activated")}get ancestorDeactivated(){return this._get("ancestor-deactivated")}get deactivated(){return this._get("deactivated")}get densityChanged(){return this._get("density-changed")}get localeChanged(){return this._get("locale-changed")}get initializing(){return this._get("initializing")}get initialized(){return this._get("initialized")}get removed(){return this._get("removed")}get reordered(){return this._get("reordered")}get themeChanged(){return this._get("theme-changed")}get visualStateChanged(){return this._get("visual-state-changed")}}
@@ -7058,6 +7058,17 @@
7058
7058
  ],
7059
7059
  "type": "string"
7060
7060
  },
7061
+ "State": {
7062
+ "description": "Represents the state of a layout node.",
7063
+ "enum": [
7064
+ 0,
7065
+ 1,
7066
+ 2,
7067
+ 3,
7068
+ 4
7069
+ ],
7070
+ "type": "number"
7071
+ },
7061
7072
  "StopGeometryEditArgs": {
7062
7073
  "additionalProperties": false,
7063
7074
  "description": "Arguments for the \"sketching.stop\" operation.",
@@ -22557,6 +22568,18 @@
22557
22568
  "ui.get-component-ids:output": {
22558
22569
  "type": "string"
22559
22570
  },
22571
+ "ui.get-component-state": {
22572
+ "description": "Gets the state of a component. Web only.",
22573
+ "enum": [
22574
+ "ui.get-component-state"
22575
+ ]
22576
+ },
22577
+ "ui.get-component-state:input": {
22578
+ "type": "string"
22579
+ },
22580
+ "ui.get-component-state:output": {
22581
+ "$ref": "#/definitions/State"
22582
+ },
22560
22583
  "ui.get-locale": {
22561
22584
  "description": "Gets the current locale code for the application. (example: \"en\", \"fr\" or \"de-AT\"). Web only.",
22562
22585
  "enum": [
@@ -27189,6 +27212,22 @@
27189
27212
  ],
27190
27213
  "type": "object"
27191
27214
  },
27215
+ {
27216
+ "additionalProperties": false,
27217
+ "properties": {
27218
+ "arguments": {
27219
+ "$ref": "#/definitions/ui.get-component-state:input"
27220
+ },
27221
+ "name": {
27222
+ "$ref": "#/definitions/ui.get-component-state"
27223
+ }
27224
+ },
27225
+ "required": [
27226
+ "name",
27227
+ "arguments"
27228
+ ],
27229
+ "type": "object"
27230
+ },
27192
27231
  {
27193
27232
  "additionalProperties": false,
27194
27233
  "properties": {
@@ -27547,6 +27586,9 @@
27547
27586
  {
27548
27587
  "$ref": "#/definitions/ui.get-component-ids"
27549
27588
  },
27589
+ {
27590
+ "$ref": "#/definitions/ui.get-component-state"
27591
+ },
27550
27592
  {
27551
27593
  "$ref": "#/definitions/ui.get-locale"
27552
27594
  },
@@ -10818,6 +10818,15 @@
10818
10818
  "location-marker.updated:input": {
10819
10819
  "$ref": "#/definitions/LocationMarkerEvent"
10820
10820
  },
10821
+ "location-marker.updating": {
10822
+ "description": "Raised when a Marker is updating. Web only.",
10823
+ "enum": [
10824
+ "location-marker.updating"
10825
+ ]
10826
+ },
10827
+ "location-marker.updating:input": {
10828
+ "$ref": "#/definitions/LocationMarkerEvent"
10829
+ },
10821
10830
  "map.initialized": {
10822
10831
  "description": "Raised when a map has completed initialization. MapEvent used in Web, MapInitializedEvent used in Mobile.",
10823
10832
  "enum": [
@@ -11157,6 +11166,9 @@
11157
11166
  {
11158
11167
  "$ref": "#/definitions/location-marker.updated"
11159
11168
  },
11169
+ {
11170
+ "$ref": "#/definitions/location-marker.updating"
11171
+ },
11160
11172
  {
11161
11173
  "$ref": "#/definitions/map.initialized"
11162
11174
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vertigis/viewer-spec",
3
- "version": "58.2.0",
3
+ "version": "58.4.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 = "58.2.0";
4
+ export declare const version = "58.4.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 = "58.2.0";
4
+ export const version = "58.4.0";