@vertigis/viewer-spec 56.10.0 → 56.12.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.
@@ -82,6 +82,7 @@ export interface BrandingColors {
82
82
  inputBorderDisabled: ColorConfig;
83
83
  itemHoverBackground: ColorConfig;
84
84
  itemSelectedBackground: ColorConfig;
85
+ loadingBarBackground: ColorConfig;
85
86
  none: ColorConfig;
86
87
  panelBorder: ColorConfig;
87
88
  primaryAccent: ColorConfig;
@@ -1,4 +1,5 @@
1
1
  import type { Action } from "@vertigis/arcgis-extensions/support/Action";
2
+ import type { ItemRef } from "../common/ItemRef.js";
2
3
  import type { ComponentModelProperties } from "./ComponentModelProperties.js";
3
4
  /**
4
5
  * Properties for a query component.
@@ -13,4 +14,9 @@ export interface QueryBuilderModelProperties extends ComponentModelProperties {
13
14
  * instance of `QueryArgs` passed in as context.
14
15
  */
15
16
  onQuery?: Action;
17
+ /**
18
+ * A menu of actions used to help create geometries to use as a custom
19
+ * spatial filter. (MenuModel).
20
+ */
21
+ spatialFilterActions?: ItemRef;
16
22
  }
@@ -177,6 +177,9 @@ export interface MarkupArgs extends HasMaps {
177
177
  *
178
178
  * "vgs-other-snapping-guides": Additional snapping point visualizations.
179
179
  *
180
+ * "vgs-query": Graphics representing the custom spatial filter for the
181
+ * query builder tool.
182
+ *
180
183
  * "vgs-self-snaps": Used internally by snapping.
181
184
  *
182
185
  * "vgs-sketching": Temporary graphics used while drawing geometries.
@@ -3,7 +3,7 @@ import type { Command } from "../Command.js";
3
3
  import { CommandRegistry } from "../CommandRegistry.js";
4
4
  import type { Operation } from "../Operation.js";
5
5
  import { OperationRegistry } from "../OperationRegistry.js";
6
- import type { GeometryLike, LayersLike, ModelRef } from "../common.js";
6
+ import type { GeometryLike, GraphicsLike, LayersLike, ModelRef } from "../common.js";
7
7
  /**
8
8
  * A query that can be displayed in the query builder, or executed using the
9
9
  * `tasks.query` operation.
@@ -25,9 +25,15 @@ export interface Query {
25
25
  where?: string;
26
26
  /**
27
27
  * If specified, limits the results to ones that intersect the given
28
- * geometry.
28
+ * geometry. If both `geometry` and `graphics` are specified, only
29
+ * `graphics` will be used.
29
30
  */
30
31
  geometry?: GeometryLike;
32
+ /**
33
+ * Alias of `geometry`, to facilitate command chaining. If both `geometry`
34
+ * and `graphics` are specified, only `graphics` will be used.
35
+ */
36
+ graphics?: GraphicsLike;
31
37
  }
32
38
  /**
33
39
  * Base arguments for commands/operations that target query builder components.
@@ -164,18 +164,32 @@ export interface SetVisualStateArgs {
164
164
  */
165
165
  export interface DisplayBusyStateArgs {
166
166
  /**
167
- * The title to display.
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.
168
172
  */
169
173
  title?: string;
170
174
  /**
171
175
  * The message to display.
172
176
  */
173
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;
174
183
  /**
175
184
  * The minimum duration, in milliseconds, that the busy state will be
176
- * displayed. Defaults to 500.
185
+ * displayed. Defaults to 500. Mobile only.
177
186
  */
178
187
  minimumDisplayDurationMs?: number;
188
+ /**
189
+ * The maximum number of milliseconds the busy state will be displayed. Web
190
+ * only.
191
+ */
192
+ maximumDisplayDurationMs?: number;
179
193
  }
180
194
  /**
181
195
  * A component's ID in the layout.
@@ -283,10 +297,8 @@ export declare class UICommands extends CommandRegistry {
283
297
  */
284
298
  get deactivate(): Command<ComponentId | Model>;
285
299
  /**
286
- * Displays a spinner and custom message to the user to indicate that the UI
287
- * is busy. Mobile only.
288
- *
289
- * @mobileOnly
300
+ * Displays a loading indicator and custom message to the user to indicate
301
+ * that the UI is busy.
290
302
  */
291
303
  get displayBusyState(): Command<DisplayBusyStateArgs>;
292
304
  /**
@@ -313,11 +325,10 @@ export declare class UICommands extends CommandRegistry {
313
325
  */
314
326
  get focus(): Command<FocusArgs>;
315
327
  /**
316
- * Hides the busy state if currently shown. Mobile only.
317
- *
318
- * @mobileOnly
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.
319
330
  */
320
- get hideBusyState(): Command;
331
+ get hideBusyState(): Command<string | void>;
321
332
  /**
322
333
  * Hides a notification previously shown to the user.
323
334
  */
@@ -709,7 +709,7 @@
709
709
  "description": "Arguments for the \"map.add-markup\" command.",
710
710
  "properties": {
711
711
  "collection": {
712
- "description": "The named collection of markup to operate on. If not specified the default markup collection will be used. Some markup collection names are used internally by Web: \"default\": The default markup layer. \"vgs-active-snapping-guides\": The active snap point when snapping. \"vgs-buffer\": Buffer graphics from out of the box buffer tools. \"vgs-context-marker\": Right click context marker on map. \"vgs-dirty-indicator\": Invalid geometry indicators used when editing. \"vgs-editing-control\": Edit frame and vertices while editing geometries. \"vgs-location-accuracy\": Location accuracy circle when geolocating. \"vgs-location-marker-*\": Location markers have this prefix followed by the marker id. \"vgs-map-notes\": Map Notes. \"vgs-measurement-labels\": Labels on measured graphics. \"vgs-other-snapping-guides\": Additional snapping point visualizations. \"vgs-self-snaps\": Used internally by snapping. \"vgs-sketching\": Temporary graphics used while drawing geometries. \"vgs-snapping-radius\": Snapping radius when snapping is active. \"vgs-transient-measurement-labels\": Measurement labels used while drawing. Web only.",
712
+ "description": "The named collection of markup to operate on. If not specified the default markup collection will be used. Some markup collection names are used internally by Web: \"default\": The default markup layer. \"vgs-active-snapping-guides\": The active snap point when snapping. \"vgs-buffer\": Buffer graphics from out of the box buffer tools. \"vgs-context-marker\": Right click context marker on map. \"vgs-dirty-indicator\": Invalid geometry indicators used when editing. \"vgs-editing-control\": Edit frame and vertices while editing geometries. \"vgs-location-accuracy\": Location accuracy circle when geolocating. \"vgs-location-marker-*\": Location markers have this prefix followed by the marker id. \"vgs-map-notes\": Map Notes. \"vgs-measurement-labels\": Labels on measured graphics. \"vgs-other-snapping-guides\": Additional snapping point visualizations. \"vgs-query\": Graphics representing the custom spatial filter for the query builder tool. \"vgs-self-snaps\": Used internally by snapping. \"vgs-sketching\": Temporary graphics used while drawing geometries. \"vgs-snapping-radius\": Snapping radius when snapping is active. \"vgs-transient-measurement-labels\": Measurement labels used while drawing. Web only.",
713
713
  "type": "string"
714
714
  },
715
715
  "graphics": {
@@ -976,7 +976,7 @@
976
976
  "description": "Arguments for the \"map.clear-markup\" command.",
977
977
  "properties": {
978
978
  "collection": {
979
- "description": "The named collection of markup to operate on. If not specified the default markup collection will be used. Some markup collection names are used internally by Web: \"default\": The default markup layer. \"vgs-active-snapping-guides\": The active snap point when snapping. \"vgs-buffer\": Buffer graphics from out of the box buffer tools. \"vgs-context-marker\": Right click context marker on map. \"vgs-dirty-indicator\": Invalid geometry indicators used when editing. \"vgs-editing-control\": Edit frame and vertices while editing geometries. \"vgs-location-accuracy\": Location accuracy circle when geolocating. \"vgs-location-marker-*\": Location markers have this prefix followed by the marker id. \"vgs-map-notes\": Map Notes. \"vgs-measurement-labels\": Labels on measured graphics. \"vgs-other-snapping-guides\": Additional snapping point visualizations. \"vgs-self-snaps\": Used internally by snapping. \"vgs-sketching\": Temporary graphics used while drawing geometries. \"vgs-snapping-radius\": Snapping radius when snapping is active. \"vgs-transient-measurement-labels\": Measurement labels used while drawing. Web only.",
979
+ "description": "The named collection of markup to operate on. If not specified the default markup collection will be used. Some markup collection names are used internally by Web: \"default\": The default markup layer. \"vgs-active-snapping-guides\": The active snap point when snapping. \"vgs-buffer\": Buffer graphics from out of the box buffer tools. \"vgs-context-marker\": Right click context marker on map. \"vgs-dirty-indicator\": Invalid geometry indicators used when editing. \"vgs-editing-control\": Edit frame and vertices while editing geometries. \"vgs-location-accuracy\": Location accuracy circle when geolocating. \"vgs-location-marker-*\": Location markers have this prefix followed by the marker id. \"vgs-map-notes\": Map Notes. \"vgs-measurement-labels\": Labels on measured graphics. \"vgs-other-snapping-guides\": Additional snapping point visualizations. \"vgs-query\": Graphics representing the custom spatial filter for the query builder tool. \"vgs-self-snaps\": Used internally by snapping. \"vgs-sketching\": Temporary graphics used while drawing geometries. \"vgs-snapping-radius\": Snapping radius when snapping is active. \"vgs-transient-measurement-labels\": Measurement labels used while drawing. Web only.",
980
980
  "type": "string"
981
981
  },
982
982
  "graphics": {
@@ -1298,6 +1298,37 @@
1298
1298
  },
1299
1299
  "type": "object"
1300
1300
  },
1301
+ "DisplayBusyStateArgs": {
1302
+ "additionalProperties": false,
1303
+ "description": "Arguments for the \"ui.display-busy-state\" args.",
1304
+ "properties": {
1305
+ "id": {
1306
+ "description": "The ID used to link a busy state to its caller. Web only.",
1307
+ "type": "string"
1308
+ },
1309
+ "maximumDisplayDurationMs": {
1310
+ "description": "The maximum number of milliseconds the busy state will be displayed. Web only.",
1311
+ "type": "number"
1312
+ },
1313
+ "message": {
1314
+ "description": "The message to display.",
1315
+ "type": "string"
1316
+ },
1317
+ "messageDelayMs": {
1318
+ "description": "The number of milliseconds to wait before displaying the message. Default is 3000. Web only.",
1319
+ "type": "number"
1320
+ },
1321
+ "minimumDisplayDurationMs": {
1322
+ "description": "The minimum duration, in milliseconds, that the busy state will be displayed. Defaults to 500. Mobile only.",
1323
+ "type": "number"
1324
+ },
1325
+ "title": {
1326
+ "description": "The title to display. Mobile only.",
1327
+ "type": "string"
1328
+ }
1329
+ },
1330
+ "type": "object"
1331
+ },
1301
1332
  "DisplayNotificationArgs": {
1302
1333
  "additionalProperties": false,
1303
1334
  "description": "The arguments for the `ui.display-notification` command.",
@@ -14029,6 +14060,15 @@
14029
14060
  }
14030
14061
  ]
14031
14062
  },
14063
+ "ui.display-busy-state": {
14064
+ "description": "Displays a loading indicator and custom message to the user to indicate that the UI is busy.",
14065
+ "enum": [
14066
+ "ui.display-busy-state"
14067
+ ]
14068
+ },
14069
+ "ui.display-busy-state:input": {
14070
+ "$ref": "#/definitions/DisplayBusyStateArgs"
14071
+ },
14032
14072
  "ui.display-notification": {
14033
14073
  "description": "Shows a notification to the user.",
14034
14074
  "enum": [
@@ -14038,6 +14078,18 @@
14038
14078
  "ui.display-notification:input": {
14039
14079
  "$ref": "#/definitions/DisplayNotificationArgs"
14040
14080
  },
14081
+ "ui.hide-busy-state": {
14082
+ "description": "Hides the busy state if currently shown. In Web, requires the ID of the caller that was used to show the busy state.",
14083
+ "enum": [
14084
+ "ui.hide-busy-state"
14085
+ ]
14086
+ },
14087
+ "ui.hide-busy-state:input": {
14088
+ "type": [
14089
+ "string",
14090
+ "null"
14091
+ ]
14092
+ },
14041
14093
  "ui.hide-notification": {
14042
14094
  "description": "Hides a notification previously shown to the user.",
14043
14095
  "enum": [
@@ -14862,6 +14914,22 @@
14862
14914
  ],
14863
14915
  "type": "object"
14864
14916
  },
14917
+ {
14918
+ "additionalProperties": false,
14919
+ "properties": {
14920
+ "arguments": {
14921
+ "$ref": "#/definitions/ui.display-busy-state:input"
14922
+ },
14923
+ "name": {
14924
+ "$ref": "#/definitions/ui.display-busy-state"
14925
+ }
14926
+ },
14927
+ "required": [
14928
+ "name",
14929
+ "arguments"
14930
+ ],
14931
+ "type": "object"
14932
+ },
14865
14933
  {
14866
14934
  "additionalProperties": false,
14867
14935
  "properties": {
@@ -14878,6 +14946,22 @@
14878
14946
  ],
14879
14947
  "type": "object"
14880
14948
  },
14949
+ {
14950
+ "additionalProperties": false,
14951
+ "properties": {
14952
+ "arguments": {
14953
+ "$ref": "#/definitions/ui.hide-busy-state:input"
14954
+ },
14955
+ "name": {
14956
+ "$ref": "#/definitions/ui.hide-busy-state"
14957
+ }
14958
+ },
14959
+ "required": [
14960
+ "name",
14961
+ "arguments"
14962
+ ],
14963
+ "type": "object"
14964
+ },
14881
14965
  {
14882
14966
  "additionalProperties": false,
14883
14967
  "properties": {
@@ -15082,9 +15166,15 @@
15082
15166
  {
15083
15167
  "$ref": "#/definitions/ui.deactivate"
15084
15168
  },
15169
+ {
15170
+ "$ref": "#/definitions/ui.display-busy-state"
15171
+ },
15085
15172
  {
15086
15173
  "$ref": "#/definitions/ui.display-notification"
15087
15174
  },
15175
+ {
15176
+ "$ref": "#/definitions/ui.hide-busy-state"
15177
+ },
15088
15178
  {
15089
15179
  "$ref": "#/definitions/ui.hide-notification"
15090
15180
  },
@@ -693,7 +693,7 @@
693
693
  "description": "Arguments for the \"map.add-markup\" command.",
694
694
  "properties": {
695
695
  "collection": {
696
- "description": "The named collection of markup to operate on. If not specified the default markup collection will be used. Some markup collection names are used internally by Web: \"default\": The default markup layer. \"vgs-active-snapping-guides\": The active snap point when snapping. \"vgs-buffer\": Buffer graphics from out of the box buffer tools. \"vgs-context-marker\": Right click context marker on map. \"vgs-dirty-indicator\": Invalid geometry indicators used when editing. \"vgs-editing-control\": Edit frame and vertices while editing geometries. \"vgs-location-accuracy\": Location accuracy circle when geolocating. \"vgs-location-marker-*\": Location markers have this prefix followed by the marker id. \"vgs-map-notes\": Map Notes. \"vgs-measurement-labels\": Labels on measured graphics. \"vgs-other-snapping-guides\": Additional snapping point visualizations. \"vgs-self-snaps\": Used internally by snapping. \"vgs-sketching\": Temporary graphics used while drawing geometries. \"vgs-snapping-radius\": Snapping radius when snapping is active. \"vgs-transient-measurement-labels\": Measurement labels used while drawing. Web only.",
696
+ "description": "The named collection of markup to operate on. If not specified the default markup collection will be used. Some markup collection names are used internally by Web: \"default\": The default markup layer. \"vgs-active-snapping-guides\": The active snap point when snapping. \"vgs-buffer\": Buffer graphics from out of the box buffer tools. \"vgs-context-marker\": Right click context marker on map. \"vgs-dirty-indicator\": Invalid geometry indicators used when editing. \"vgs-editing-control\": Edit frame and vertices while editing geometries. \"vgs-location-accuracy\": Location accuracy circle when geolocating. \"vgs-location-marker-*\": Location markers have this prefix followed by the marker id. \"vgs-map-notes\": Map Notes. \"vgs-measurement-labels\": Labels on measured graphics. \"vgs-other-snapping-guides\": Additional snapping point visualizations. \"vgs-query\": Graphics representing the custom spatial filter for the query builder tool. \"vgs-self-snaps\": Used internally by snapping. \"vgs-sketching\": Temporary graphics used while drawing geometries. \"vgs-snapping-radius\": Snapping radius when snapping is active. \"vgs-transient-measurement-labels\": Measurement labels used while drawing. Web only.",
697
697
  "type": "string"
698
698
  },
699
699
  "graphics": {
@@ -1096,7 +1096,7 @@
1096
1096
  "description": "Arguments for the \"map.clear-markup\" command.",
1097
1097
  "properties": {
1098
1098
  "collection": {
1099
- "description": "The named collection of markup to operate on. If not specified the default markup collection will be used. Some markup collection names are used internally by Web: \"default\": The default markup layer. \"vgs-active-snapping-guides\": The active snap point when snapping. \"vgs-buffer\": Buffer graphics from out of the box buffer tools. \"vgs-context-marker\": Right click context marker on map. \"vgs-dirty-indicator\": Invalid geometry indicators used when editing. \"vgs-editing-control\": Edit frame and vertices while editing geometries. \"vgs-location-accuracy\": Location accuracy circle when geolocating. \"vgs-location-marker-*\": Location markers have this prefix followed by the marker id. \"vgs-map-notes\": Map Notes. \"vgs-measurement-labels\": Labels on measured graphics. \"vgs-other-snapping-guides\": Additional snapping point visualizations. \"vgs-self-snaps\": Used internally by snapping. \"vgs-sketching\": Temporary graphics used while drawing geometries. \"vgs-snapping-radius\": Snapping radius when snapping is active. \"vgs-transient-measurement-labels\": Measurement labels used while drawing. Web only.",
1099
+ "description": "The named collection of markup to operate on. If not specified the default markup collection will be used. Some markup collection names are used internally by Web: \"default\": The default markup layer. \"vgs-active-snapping-guides\": The active snap point when snapping. \"vgs-buffer\": Buffer graphics from out of the box buffer tools. \"vgs-context-marker\": Right click context marker on map. \"vgs-dirty-indicator\": Invalid geometry indicators used when editing. \"vgs-editing-control\": Edit frame and vertices while editing geometries. \"vgs-location-accuracy\": Location accuracy circle when geolocating. \"vgs-location-marker-*\": Location markers have this prefix followed by the marker id. \"vgs-map-notes\": Map Notes. \"vgs-measurement-labels\": Labels on measured graphics. \"vgs-other-snapping-guides\": Additional snapping point visualizations. \"vgs-query\": Graphics representing the custom spatial filter for the query builder tool. \"vgs-self-snaps\": Used internally by snapping. \"vgs-sketching\": Temporary graphics used while drawing geometries. \"vgs-snapping-radius\": Snapping radius when snapping is active. \"vgs-transient-measurement-labels\": Measurement labels used while drawing. Web only.",
1100
1100
  "type": "string"
1101
1101
  },
1102
1102
  "graphics": {
@@ -1506,16 +1506,28 @@
1506
1506
  "additionalProperties": false,
1507
1507
  "description": "Arguments for the \"ui.display-busy-state\" args.",
1508
1508
  "properties": {
1509
+ "id": {
1510
+ "description": "The ID used to link a busy state to its caller. Web only.",
1511
+ "type": "string"
1512
+ },
1513
+ "maximumDisplayDurationMs": {
1514
+ "description": "The maximum number of milliseconds the busy state will be displayed. Web only.",
1515
+ "type": "number"
1516
+ },
1509
1517
  "message": {
1510
1518
  "description": "The message to display.",
1511
1519
  "type": "string"
1512
1520
  },
1521
+ "messageDelayMs": {
1522
+ "description": "The number of milliseconds to wait before displaying the message. Default is 3000. Web only.",
1523
+ "type": "number"
1524
+ },
1513
1525
  "minimumDisplayDurationMs": {
1514
- "description": "The minimum duration, in milliseconds, that the busy state will be displayed. Defaults to 500.",
1526
+ "description": "The minimum duration, in milliseconds, that the busy state will be displayed. Defaults to 500. Mobile only.",
1515
1527
  "type": "number"
1516
1528
  },
1517
1529
  "title": {
1518
- "description": "The title to display.",
1530
+ "description": "The title to display. Mobile only.",
1519
1531
  "type": "string"
1520
1532
  }
1521
1533
  },
@@ -16184,7 +16196,7 @@
16184
16196
  ]
16185
16197
  },
16186
16198
  "ui.display-busy-state": {
16187
- "description": "Displays a spinner and custom message to the user to indicate that the UI is busy. Mobile only.",
16199
+ "description": "Displays a loading indicator and custom message to the user to indicate that the UI is busy.",
16188
16200
  "enum": [
16189
16201
  "ui.display-busy-state"
16190
16202
  ]
@@ -16202,11 +16214,17 @@
16202
16214
  "$ref": "#/definitions/DisplayNotificationArgs"
16203
16215
  },
16204
16216
  "ui.hide-busy-state": {
16205
- "description": "Hides the busy state if currently shown. Mobile only.",
16217
+ "description": "Hides the busy state if currently shown. In Web, requires the ID of the caller that was used to show the busy state.",
16206
16218
  "enum": [
16207
16219
  "ui.hide-busy-state"
16208
16220
  ]
16209
16221
  },
16222
+ "ui.hide-busy-state:input": {
16223
+ "type": [
16224
+ "string",
16225
+ "null"
16226
+ ]
16227
+ },
16210
16228
  "ui.hide-notification": {
16211
16229
  "description": "Hides a notification previously shown to the user.",
16212
16230
  "enum": [
@@ -18051,6 +18069,22 @@
18051
18069
  ],
18052
18070
  "type": "object"
18053
18071
  },
18072
+ {
18073
+ "additionalProperties": false,
18074
+ "properties": {
18075
+ "arguments": {
18076
+ "$ref": "#/definitions/ui.hide-busy-state:input"
18077
+ },
18078
+ "name": {
18079
+ "$ref": "#/definitions/ui.hide-busy-state"
18080
+ }
18081
+ },
18082
+ "required": [
18083
+ "name",
18084
+ "arguments"
18085
+ ],
18086
+ "type": "object"
18087
+ },
18054
18088
  {
18055
18089
  "additionalProperties": false,
18056
18090
  "properties": {
@@ -952,7 +952,7 @@
952
952
  "description": "Arguments for the \"map.add-markup\" command.",
953
953
  "properties": {
954
954
  "collection": {
955
- "description": "The named collection of markup to operate on. If not specified the default markup collection will be used. Some markup collection names are used internally by Web: \"default\": The default markup layer. \"vgs-active-snapping-guides\": The active snap point when snapping. \"vgs-buffer\": Buffer graphics from out of the box buffer tools. \"vgs-context-marker\": Right click context marker on map. \"vgs-dirty-indicator\": Invalid geometry indicators used when editing. \"vgs-editing-control\": Edit frame and vertices while editing geometries. \"vgs-location-accuracy\": Location accuracy circle when geolocating. \"vgs-location-marker-*\": Location markers have this prefix followed by the marker id. \"vgs-map-notes\": Map Notes. \"vgs-measurement-labels\": Labels on measured graphics. \"vgs-other-snapping-guides\": Additional snapping point visualizations. \"vgs-self-snaps\": Used internally by snapping. \"vgs-sketching\": Temporary graphics used while drawing geometries. \"vgs-snapping-radius\": Snapping radius when snapping is active. \"vgs-transient-measurement-labels\": Measurement labels used while drawing. Web only.",
955
+ "description": "The named collection of markup to operate on. If not specified the default markup collection will be used. Some markup collection names are used internally by Web: \"default\": The default markup layer. \"vgs-active-snapping-guides\": The active snap point when snapping. \"vgs-buffer\": Buffer graphics from out of the box buffer tools. \"vgs-context-marker\": Right click context marker on map. \"vgs-dirty-indicator\": Invalid geometry indicators used when editing. \"vgs-editing-control\": Edit frame and vertices while editing geometries. \"vgs-location-accuracy\": Location accuracy circle when geolocating. \"vgs-location-marker-*\": Location markers have this prefix followed by the marker id. \"vgs-map-notes\": Map Notes. \"vgs-measurement-labels\": Labels on measured graphics. \"vgs-other-snapping-guides\": Additional snapping point visualizations. \"vgs-query\": Graphics representing the custom spatial filter for the query builder tool. \"vgs-self-snaps\": Used internally by snapping. \"vgs-sketching\": Temporary graphics used while drawing geometries. \"vgs-snapping-radius\": Snapping radius when snapping is active. \"vgs-transient-measurement-labels\": Measurement labels used while drawing. Web only.",
956
956
  "type": "string"
957
957
  },
958
958
  "graphics": {
@@ -1426,7 +1426,7 @@
1426
1426
  "description": "Arguments for the \"map.clear-markup\" command.",
1427
1427
  "properties": {
1428
1428
  "collection": {
1429
- "description": "The named collection of markup to operate on. If not specified the default markup collection will be used. Some markup collection names are used internally by Web: \"default\": The default markup layer. \"vgs-active-snapping-guides\": The active snap point when snapping. \"vgs-buffer\": Buffer graphics from out of the box buffer tools. \"vgs-context-marker\": Right click context marker on map. \"vgs-dirty-indicator\": Invalid geometry indicators used when editing. \"vgs-editing-control\": Edit frame and vertices while editing geometries. \"vgs-location-accuracy\": Location accuracy circle when geolocating. \"vgs-location-marker-*\": Location markers have this prefix followed by the marker id. \"vgs-map-notes\": Map Notes. \"vgs-measurement-labels\": Labels on measured graphics. \"vgs-other-snapping-guides\": Additional snapping point visualizations. \"vgs-self-snaps\": Used internally by snapping. \"vgs-sketching\": Temporary graphics used while drawing geometries. \"vgs-snapping-radius\": Snapping radius when snapping is active. \"vgs-transient-measurement-labels\": Measurement labels used while drawing. Web only.",
1429
+ "description": "The named collection of markup to operate on. If not specified the default markup collection will be used. Some markup collection names are used internally by Web: \"default\": The default markup layer. \"vgs-active-snapping-guides\": The active snap point when snapping. \"vgs-buffer\": Buffer graphics from out of the box buffer tools. \"vgs-context-marker\": Right click context marker on map. \"vgs-dirty-indicator\": Invalid geometry indicators used when editing. \"vgs-editing-control\": Edit frame and vertices while editing geometries. \"vgs-location-accuracy\": Location accuracy circle when geolocating. \"vgs-location-marker-*\": Location markers have this prefix followed by the marker id. \"vgs-map-notes\": Map Notes. \"vgs-measurement-labels\": Labels on measured graphics. \"vgs-other-snapping-guides\": Additional snapping point visualizations. \"vgs-query\": Graphics representing the custom spatial filter for the query builder tool. \"vgs-self-snaps\": Used internally by snapping. \"vgs-sketching\": Temporary graphics used while drawing geometries. \"vgs-snapping-radius\": Snapping radius when snapping is active. \"vgs-transient-measurement-labels\": Measurement labels used while drawing. Web only.",
1430
1430
  "type": "string"
1431
1431
  },
1432
1432
  "graphics": {
@@ -1995,6 +1995,37 @@
1995
1995
  },
1996
1996
  "type": "object"
1997
1997
  },
1998
+ "DisplayBusyStateArgs": {
1999
+ "additionalProperties": false,
2000
+ "description": "Arguments for the \"ui.display-busy-state\" args.",
2001
+ "properties": {
2002
+ "id": {
2003
+ "description": "The ID used to link a busy state to its caller. Web only.",
2004
+ "type": "string"
2005
+ },
2006
+ "maximumDisplayDurationMs": {
2007
+ "description": "The maximum number of milliseconds the busy state will be displayed. Web only.",
2008
+ "type": "number"
2009
+ },
2010
+ "message": {
2011
+ "description": "The message to display.",
2012
+ "type": "string"
2013
+ },
2014
+ "messageDelayMs": {
2015
+ "description": "The number of milliseconds to wait before displaying the message. Default is 3000. Web only.",
2016
+ "type": "number"
2017
+ },
2018
+ "minimumDisplayDurationMs": {
2019
+ "description": "The minimum duration, in milliseconds, that the busy state will be displayed. Defaults to 500. Mobile only.",
2020
+ "type": "number"
2021
+ },
2022
+ "title": {
2023
+ "description": "The title to display. Mobile only.",
2024
+ "type": "string"
2025
+ }
2026
+ },
2027
+ "type": "object"
2028
+ },
1998
2029
  "DisplayNotificationArgs": {
1999
2030
  "additionalProperties": false,
2000
2031
  "description": "The arguments for the `ui.display-notification` command.",
@@ -3789,7 +3820,7 @@
3789
3820
  "description": "Arguments for the \"map.get-markup\" operation.",
3790
3821
  "properties": {
3791
3822
  "collection": {
3792
- "description": "The named collection of markup to operate on. If not specified the default markup collection will be used. Some markup collection names are used internally by Web: \"default\": The default markup layer. \"vgs-active-snapping-guides\": The active snap point when snapping. \"vgs-buffer\": Buffer graphics from out of the box buffer tools. \"vgs-context-marker\": Right click context marker on map. \"vgs-dirty-indicator\": Invalid geometry indicators used when editing. \"vgs-editing-control\": Edit frame and vertices while editing geometries. \"vgs-location-accuracy\": Location accuracy circle when geolocating. \"vgs-location-marker-*\": Location markers have this prefix followed by the marker id. \"vgs-map-notes\": Map Notes. \"vgs-measurement-labels\": Labels on measured graphics. \"vgs-other-snapping-guides\": Additional snapping point visualizations. \"vgs-self-snaps\": Used internally by snapping. \"vgs-sketching\": Temporary graphics used while drawing geometries. \"vgs-snapping-radius\": Snapping radius when snapping is active. \"vgs-transient-measurement-labels\": Measurement labels used while drawing. Web only.",
3823
+ "description": "The named collection of markup to operate on. If not specified the default markup collection will be used. Some markup collection names are used internally by Web: \"default\": The default markup layer. \"vgs-active-snapping-guides\": The active snap point when snapping. \"vgs-buffer\": Buffer graphics from out of the box buffer tools. \"vgs-context-marker\": Right click context marker on map. \"vgs-dirty-indicator\": Invalid geometry indicators used when editing. \"vgs-editing-control\": Edit frame and vertices while editing geometries. \"vgs-location-accuracy\": Location accuracy circle when geolocating. \"vgs-location-marker-*\": Location markers have this prefix followed by the marker id. \"vgs-map-notes\": Map Notes. \"vgs-measurement-labels\": Labels on measured graphics. \"vgs-other-snapping-guides\": Additional snapping point visualizations. \"vgs-query\": Graphics representing the custom spatial filter for the query builder tool. \"vgs-self-snaps\": Used internally by snapping. \"vgs-sketching\": Temporary graphics used while drawing geometries. \"vgs-snapping-radius\": Snapping radius when snapping is active. \"vgs-transient-measurement-labels\": Measurement labels used while drawing. Web only.",
3793
3824
  "type": "string"
3794
3825
  },
3795
3826
  "geometry": {
@@ -4500,7 +4531,7 @@
4500
4531
  "description": "Base arguments for markup commands and operations.",
4501
4532
  "properties": {
4502
4533
  "collection": {
4503
- "description": "The named collection of markup to operate on. If not specified the default markup collection will be used. Some markup collection names are used internally by Web: \"default\": The default markup layer. \"vgs-active-snapping-guides\": The active snap point when snapping. \"vgs-buffer\": Buffer graphics from out of the box buffer tools. \"vgs-context-marker\": Right click context marker on map. \"vgs-dirty-indicator\": Invalid geometry indicators used when editing. \"vgs-editing-control\": Edit frame and vertices while editing geometries. \"vgs-location-accuracy\": Location accuracy circle when geolocating. \"vgs-location-marker-*\": Location markers have this prefix followed by the marker id. \"vgs-map-notes\": Map Notes. \"vgs-measurement-labels\": Labels on measured graphics. \"vgs-other-snapping-guides\": Additional snapping point visualizations. \"vgs-self-snaps\": Used internally by snapping. \"vgs-sketching\": Temporary graphics used while drawing geometries. \"vgs-snapping-radius\": Snapping radius when snapping is active. \"vgs-transient-measurement-labels\": Measurement labels used while drawing. Web only.",
4534
+ "description": "The named collection of markup to operate on. If not specified the default markup collection will be used. Some markup collection names are used internally by Web: \"default\": The default markup layer. \"vgs-active-snapping-guides\": The active snap point when snapping. \"vgs-buffer\": Buffer graphics from out of the box buffer tools. \"vgs-context-marker\": Right click context marker on map. \"vgs-dirty-indicator\": Invalid geometry indicators used when editing. \"vgs-editing-control\": Edit frame and vertices while editing geometries. \"vgs-location-accuracy\": Location accuracy circle when geolocating. \"vgs-location-marker-*\": Location markers have this prefix followed by the marker id. \"vgs-map-notes\": Map Notes. \"vgs-measurement-labels\": Labels on measured graphics. \"vgs-other-snapping-guides\": Additional snapping point visualizations. \"vgs-query\": Graphics representing the custom spatial filter for the query builder tool. \"vgs-self-snaps\": Used internally by snapping. \"vgs-sketching\": Temporary graphics used while drawing geometries. \"vgs-snapping-radius\": Snapping radius when snapping is active. \"vgs-transient-measurement-labels\": Measurement labels used while drawing. Web only.",
4504
4535
  "type": "string"
4505
4536
  },
4506
4537
  "maps": {
@@ -5085,7 +5116,11 @@
5085
5116
  "properties": {
5086
5117
  "geometry": {
5087
5118
  "$ref": "#/definitions/GeometryLike",
5088
- "description": "If specified, limits the results to ones that intersect the given geometry."
5119
+ "description": "If specified, limits the results to ones that intersect the given geometry. If both `geometry` and `graphics` are specified, only `graphics` will be used."
5120
+ },
5121
+ "graphics": {
5122
+ "$ref": "#/definitions/GraphicsLike",
5123
+ "description": "Alias of `geometry`, to facilitate command chaining. If both `geometry` and `graphics` are specified, only `graphics` will be used."
5089
5124
  },
5090
5125
  "layers": {
5091
5126
  "$ref": "#/definitions/LayersLike",
@@ -5972,7 +6007,11 @@
5972
6007
  "properties": {
5973
6008
  "geometry": {
5974
6009
  "$ref": "#/definitions/GeometryLike",
5975
- "description": "If specified, limits the results to ones that intersect the given geometry."
6010
+ "description": "If specified, limits the results to ones that intersect the given geometry. If both `geometry` and `graphics` are specified, only `graphics` will be used."
6011
+ },
6012
+ "graphics": {
6013
+ "$ref": "#/definitions/GraphicsLike",
6014
+ "description": "Alias of `geometry`, to facilitate command chaining. If both `geometry` and `graphics` are specified, only `graphics` will be used."
5976
6015
  },
5977
6016
  "layers": {
5978
6017
  "$ref": "#/definitions/LayersLike",
@@ -21585,6 +21624,15 @@
21585
21624
  }
21586
21625
  ]
21587
21626
  },
21627
+ "ui.display-busy-state": {
21628
+ "description": "Displays a loading indicator and custom message to the user to indicate that the UI is busy.",
21629
+ "enum": [
21630
+ "ui.display-busy-state"
21631
+ ]
21632
+ },
21633
+ "ui.display-busy-state:input": {
21634
+ "$ref": "#/definitions/DisplayBusyStateArgs"
21635
+ },
21588
21636
  "ui.display-notification": {
21589
21637
  "description": "Shows a notification to the user.",
21590
21638
  "enum": [
@@ -21657,6 +21705,18 @@
21657
21705
  "ui.get-visual-state:output": {
21658
21706
  "type": "string"
21659
21707
  },
21708
+ "ui.hide-busy-state": {
21709
+ "description": "Hides the busy state if currently shown. In Web, requires the ID of the caller that was used to show the busy state.",
21710
+ "enum": [
21711
+ "ui.hide-busy-state"
21712
+ ]
21713
+ },
21714
+ "ui.hide-busy-state:input": {
21715
+ "type": [
21716
+ "string",
21717
+ "null"
21718
+ ]
21719
+ },
21660
21720
  "ui.hide-notification": {
21661
21721
  "description": "Hides a notification previously shown to the user.",
21662
21722
  "enum": [
@@ -24129,6 +24189,22 @@
24129
24189
  ],
24130
24190
  "type": "object"
24131
24191
  },
24192
+ {
24193
+ "additionalProperties": false,
24194
+ "properties": {
24195
+ "arguments": {
24196
+ "$ref": "#/definitions/ui.display-busy-state:input"
24197
+ },
24198
+ "name": {
24199
+ "$ref": "#/definitions/ui.display-busy-state"
24200
+ }
24201
+ },
24202
+ "required": [
24203
+ "name",
24204
+ "arguments"
24205
+ ],
24206
+ "type": "object"
24207
+ },
24132
24208
  {
24133
24209
  "additionalProperties": false,
24134
24210
  "properties": {
@@ -24161,6 +24237,22 @@
24161
24237
  ],
24162
24238
  "type": "object"
24163
24239
  },
24240
+ {
24241
+ "additionalProperties": false,
24242
+ "properties": {
24243
+ "arguments": {
24244
+ "$ref": "#/definitions/ui.hide-busy-state:input"
24245
+ },
24246
+ "name": {
24247
+ "$ref": "#/definitions/ui.hide-busy-state"
24248
+ }
24249
+ },
24250
+ "required": [
24251
+ "name",
24252
+ "arguments"
24253
+ ],
24254
+ "type": "object"
24255
+ },
24164
24256
  {
24165
24257
  "additionalProperties": false,
24166
24258
  "properties": {
@@ -24785,12 +24877,18 @@
24785
24877
  {
24786
24878
  "$ref": "#/definitions/ui.deactivate"
24787
24879
  },
24880
+ {
24881
+ "$ref": "#/definitions/ui.display-busy-state"
24882
+ },
24788
24883
  {
24789
24884
  "$ref": "#/definitions/ui.display-notification"
24790
24885
  },
24791
24886
  {
24792
24887
  "$ref": "#/definitions/ui.focus"
24793
24888
  },
24889
+ {
24890
+ "$ref": "#/definitions/ui.hide-busy-state"
24891
+ },
24794
24892
  {
24795
24893
  "$ref": "#/definitions/ui.hide-notification"
24796
24894
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vertigis/viewer-spec",
3
- "version": "56.10.0",
3
+ "version": "56.12.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 = "56.10.0";
4
+ export declare const version = "56.12.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 = "56.10.0";
4
+ export const version = "56.12.0";