@vertigis/viewer-spec 43.3.0 → 43.5.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.
@@ -47,6 +47,49 @@
47
47
  </complexType>
48
48
  </element>
49
49
 
50
+ <element name="geometry-toolbar" substitutionGroup="base:component">
51
+ <annotation>
52
+ <documentation xml:lang="en">
53
+ A geometry toolbar consisting of a collection of widgets and a
54
+ configurable toolbar that is displayed while geometry edits are being
55
+ performed.
56
+ </documentation>
57
+ </annotation>
58
+ <complexType>
59
+ <complexContent>
60
+ <extension base="base:Component">
61
+ <attribute name="orientation">
62
+ <annotation>
63
+ <documentation xml:lang="en">
64
+ Determines the orientation of the widgets and toolbar menu items.
65
+ </documentation>
66
+ </annotation>
67
+ <simpleType>
68
+ <restriction base="string">
69
+ <enumeration value="vertical"/>
70
+ <enumeration value="horizontal"/>
71
+ </restriction>
72
+ </simpleType>
73
+ </attribute>
74
+ <attribute name="size">
75
+ <annotation>
76
+ <documentation xml:lang="en">
77
+ The size of the geometry toolbar.
78
+ </documentation>
79
+ </annotation>
80
+ <simpleType>
81
+ <restriction base="string">
82
+ <enumeration value="small"/>
83
+ <enumeration value="medium"/>
84
+ <enumeration value="large"/>
85
+ </restriction>
86
+ </simpleType>
87
+ </attribute>
88
+ </extension>
89
+ </complexContent>
90
+ </complexType>
91
+ </element>
92
+
50
93
  <element name="inline" substitutionGroup="base:component">
51
94
  <annotation>
52
95
  <documentation xml:lang="en">
@@ -27,6 +27,7 @@ import { CommandRegistry } from "../CommandRegistry.js";
27
27
  import type { Operation } from "../Operation.js";
28
28
  import { OperationRegistry } from "../OperationRegistry.js";
29
29
  import type { FeaturesLike, GeometryLike, GraphicsLike, HasMaps, MapsLike } from "../common.js";
30
+ import type { EditSymbolResult } from "./drawing.js";
30
31
  import type { LengthUnits } from "./geometry.js";
31
32
  /**
32
33
  * A representation of a 2D vector or point.
@@ -201,11 +202,15 @@ export interface GeometryOperationBase {
201
202
  export interface EditGeometryArgs extends GeometryOperationBase {
202
203
  /**
203
204
  * The options for this edit operation. Not supported in Mobile.
205
+ *
206
+ * @webOnly
204
207
  */
205
208
  options?: EditGeometryOptions;
206
209
  }
207
210
  /**
208
211
  * Options for the "sketching.edit-geometry operation.
212
+ *
213
+ * @webOnly
209
214
  */
210
215
  export interface EditGeometryOptions {
211
216
  /**
@@ -400,6 +405,12 @@ export declare class SketchingOperations extends OperationRegistry {
400
405
  * geometry that was drawn, along with the map that it was drawn on.
401
406
  */
402
407
  get captureGeometry(): Operation<CaptureGeometryArgs, CaptureGeometryResult>;
408
+ /**
409
+ * Allows the user to edit the symbology used by the graphics actively being edited.
410
+ *
411
+ * @webOnly
412
+ */
413
+ get editActiveSymbol(): Operation<void, EditSymbolResult | undefined>;
403
414
  /**
404
415
  * Allows the user to edit an existing geometry by drawing on a map. Returns
405
416
  * the geometry that was edited, or the supplied feature with the altered
@@ -441,7 +452,7 @@ export declare class SketchingOperations extends OperationRegistry {
441
452
  * geometry. If validateGeometry parameter is true and geometry is invalid,
442
453
  * returns null.
443
454
  */
444
- get stop(): Operation<StopGeometryEditArgs, CaptureGeometryResult>;
455
+ get stop(): Operation<StopGeometryEditArgs | void, CaptureGeometryResult>;
445
456
  /**
446
457
  * Adds a point to a given polyline or polygon geometry. Returns the
447
458
  * resulting geometry.
@@ -461,6 +472,12 @@ export declare class SketchingOperations extends OperationRegistry {
461
472
  get getActiveNode(): Operation<ItemRef, GetActiveSketchResult>;
462
473
  }
463
474
  export declare class SketchingCommands extends CommandRegistry {
475
+ /**
476
+ * Cancels the current geometry edit or capture operation.
477
+ *
478
+ * @webOnly
479
+ */
480
+ get cancel(): Command<void>;
464
481
  /**
465
482
  * Undoes the last edit while editing a geometry.
466
483
  */
@@ -495,9 +512,10 @@ export declare class SketchingCommands extends CommandRegistry {
495
512
  */
496
513
  get setPointAtCurrentLocation(): Command<HasMaps>;
497
514
  /**
498
- * Deletes a point or the entire geometry, depending on which is selected
499
- * while editing a geometry. If a point is specified in the arguments, it
500
- * will be deleted (Web only).
515
+ * If a point is supplied while a sketching or editing operation is active,
516
+ * the vertex at that point will be deleted from the current geometry. If no
517
+ * point is supplied and a geometry editing session is active, the entire
518
+ * geometry will be deleted.
501
519
  */
502
520
  get delete(): Command<DeleteGeometryArgs>;
503
521
  /**
@@ -518,4 +536,28 @@ export declare class SketchingCommands extends CommandRegistry {
518
536
  * @mobileOnly
519
537
  */
520
538
  get setInteractionMode(): Command<SetInteractionModeArgs>;
539
+ /**
540
+ * Enables free scaling while editing geometries.
541
+ *
542
+ * @webOnly
543
+ */
544
+ get enableFreeScaleMode(): Command<void>;
545
+ /**
546
+ * Disables free scaling while editing geometries.
547
+ *
548
+ * @webOnly
549
+ */
550
+ get disableFreeScaleMode(): Command<void>;
551
+ /**
552
+ * Enables more precise inputs while editing geometries.
553
+ *
554
+ * @webOnly
555
+ */
556
+ get enablePrecisionMode(): Command<void>;
557
+ /**
558
+ * Disables more precise inputs while editing geometries.
559
+ *
560
+ * @webOnly
561
+ */
562
+ get disablePrecisionMode(): Command<void>;
521
563
  }
@@ -1 +1 @@
1
- import{CommandRegistry}from"../CommandRegistry.js";import{OperationRegistry}from"../OperationRegistry.js";export var SketchTool;!function(e){e.POINT="point",e.MULTIPOINT="multipoint",e.LINE="line",e.POLYLINE="polyline",e.POLYGON="polygon",e.EXTENT="extent",e.SQUARE="square",e.CIRCLE="circle"}(SketchTool||(SketchTool={}));export class SketchingOperations extends OperationRegistry{get captureGeometry(){return this._messages.operation("sketching.capture-geometry")}get editGeometry(){return this._messages.operation("sketching.edit-geometry")}get moveGeometry(){return this._messages.operation("sketching.move-geometry")}get scaleGeometry(){return this._messages.operation("sketching.scale-geometry")}get rotateGeometry(){return this._messages.operation("sketching.rotate-geometry")}get stop(){return this._messages.operation("sketching.stop")}get addNodeToGeometry(){return this._messages.operation("sketching.add-node-to-geometry")}get getActiveSketch(){return this._messages.operation("sketching.get-active-sketch")}get getActiveNode(){return this._messages.operation("sketching.get-active-node")}}export class SketchingCommands extends CommandRegistry{get undo(){return this._messages.command("sketching.undo")}get redo(){return this._messages.command("sketching.redo")}get setGeometryMode(){return this._messages.command("sketching.set-geometry-mode")}get addPointAtCenter(){return this._messages.command("sketching.add-point-at-center")}get addPointAtCurrentLocation(){return this._messages.command("sketching.add-point-at-current-location")}get setPointAtCurrentLocation(){return this._messages.command("sketching.set-point-at-current-location")}get delete(){return this._messages.command("sketching.delete")}get moveNode(){return this._messages.command("sketching.move-node")}get switchActiveNode(){return this._messages.command("sketching.switch-active-node")}get setInteractionMode(){return this._messages.command("sketching.set-interaction-mode")}}
1
+ import{CommandRegistry}from"../CommandRegistry.js";import{OperationRegistry}from"../OperationRegistry.js";export var SketchTool;!function(e){e.POINT="point",e.MULTIPOINT="multipoint",e.LINE="line",e.POLYLINE="polyline",e.POLYGON="polygon",e.EXTENT="extent",e.SQUARE="square",e.CIRCLE="circle"}(SketchTool||(SketchTool={}));export class SketchingOperations extends OperationRegistry{get captureGeometry(){return this._messages.operation("sketching.capture-geometry")}get editActiveSymbol(){return this._messages.operation("sketching.edit-active-symbol")}get editGeometry(){return this._messages.operation("sketching.edit-geometry")}get moveGeometry(){return this._messages.operation("sketching.move-geometry")}get scaleGeometry(){return this._messages.operation("sketching.scale-geometry")}get rotateGeometry(){return this._messages.operation("sketching.rotate-geometry")}get stop(){return this._messages.operation("sketching.stop")}get addNodeToGeometry(){return this._messages.operation("sketching.add-node-to-geometry")}get getActiveSketch(){return this._messages.operation("sketching.get-active-sketch")}get getActiveNode(){return this._messages.operation("sketching.get-active-node")}}export class SketchingCommands extends CommandRegistry{get cancel(){return this._messages.command("sketching.cancel")}get undo(){return this._messages.command("sketching.undo")}get redo(){return this._messages.command("sketching.redo")}get setGeometryMode(){return this._messages.command("sketching.set-geometry-mode")}get addPointAtCenter(){return this._messages.command("sketching.add-point-at-center")}get addPointAtCurrentLocation(){return this._messages.command("sketching.add-point-at-current-location")}get setPointAtCurrentLocation(){return this._messages.command("sketching.set-point-at-current-location")}get delete(){return this._messages.command("sketching.delete")}get moveNode(){return this._messages.command("sketching.move-node")}get switchActiveNode(){return this._messages.command("sketching.switch-active-node")}get setInteractionMode(){return this._messages.command("sketching.set-interaction-mode")}get enableFreeScaleMode(){return this._messages.command("sketching.enable-free-scale-mode")}get disableFreeScaleMode(){return this._messages.command("sketching.disable-free-scale-mode")}get enablePrecisionMode(){return this._messages.command("sketching.enable-precision-mode")}get disablePrecisionMode(){return this._messages.command("sketching.disable-precision-mode")}}
@@ -94,6 +94,40 @@ export interface DisplayNotificationArgs {
94
94
  * and will supersede one another. Mobile only.
95
95
  */
96
96
  notificationGroup?: string;
97
+ /**
98
+ * The notification title - only shown for system notifications. Mobile
99
+ * only.
100
+ */
101
+ title?: string;
102
+ /**
103
+ * The type of notification - 'app', 'system', or 'auto'. Defaults to
104
+ * 'auto'. Mobile only.
105
+ */
106
+ type?: NotificationType;
107
+ }
108
+ /**
109
+ * The type of notification - 'app', 'system', or 'auto'. Defaults to 'auto'.
110
+ * Mobile only.
111
+ */
112
+ export declare enum NotificationType {
113
+ /**
114
+ * Automatically choose whether to display an app notification or system
115
+ * notification. If the app is in the background, a system notification will
116
+ * be shown. If the app is in the foreground, an in-app notificaiton will be
117
+ * shown. If notifications are unauthorized at the OS level, an in-app
118
+ * notification will always be shown.
119
+ */
120
+ AUTO = "auto",
121
+ /**
122
+ * Display the notification in-app.
123
+ */
124
+ APP = "app",
125
+ /**
126
+ * Display the notification as a system notification using the device's
127
+ * operating system. If system notifications are turned off/disabled in the
128
+ * OS settings, then it will fall back to using an in-app notification.
129
+ */
130
+ SYSTEM = "system"
97
131
  }
98
132
  /**
99
133
  * Arguments for the "ui.set-visual-state" command.
@@ -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 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")}}
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")}}
@@ -693,6 +693,14 @@
693
693
  "position": {
694
694
  "$ref": "Position",
695
695
  "description": "The position of the notification on the screen."
696
+ },
697
+ "title": {
698
+ "description": "The notification title - only shown for system notifications. Mobile only.",
699
+ "type": "string"
700
+ },
701
+ "type": {
702
+ "$ref": "#/definitions/NotificationType",
703
+ "description": "The type of notification - 'app', 'system', or 'auto'. Defaults to 'auto'. Mobile only."
696
704
  }
697
705
  },
698
706
  "required": [
@@ -1289,6 +1297,15 @@
1289
1297
  ],
1290
1298
  "type": "string"
1291
1299
  },
1300
+ "NotificationType": {
1301
+ "description": "The type of notification - 'app', 'system', or 'auto'. Defaults to 'auto'. Mobile only.",
1302
+ "enum": [
1303
+ "app",
1304
+ "auto",
1305
+ "system"
1306
+ ],
1307
+ "type": "string"
1308
+ },
1292
1309
  "Results": {
1293
1310
  "additionalProperties": false,
1294
1311
  "description": "Feature results from an operation.",
@@ -11131,7 +11148,7 @@
11131
11148
  "$ref": "#/definitions/CaptureGeometryResult"
11132
11149
  },
11133
11150
  "sketching.delete": {
11134
- "description": "Deletes a point or the entire geometry, depending on which is selected while editing a geometry. If a point is specified in the arguments, it will be deleted (Web only).",
11151
+ "description": "If a point is supplied while a sketching or editing operation is active, the vertex at that point will be deleted from the current geometry. If no point is supplied and a geometry editing session is active, the entire geometry will be deleted.",
11135
11152
  "enum": [
11136
11153
  "sketching.delete"
11137
11154
  ]
@@ -11176,7 +11193,14 @@
11176
11193
  ]
11177
11194
  },
11178
11195
  "sketching.stop:input": {
11179
- "$ref": "#/definitions/StopGeometryEditArgs"
11196
+ "anyOf": [
11197
+ {
11198
+ "$ref": "#/definitions/StopGeometryEditArgs"
11199
+ },
11200
+ {
11201
+ "type": "null"
11202
+ }
11203
+ ]
11180
11204
  },
11181
11205
  "sketching.stop:output": {
11182
11206
  "$ref": "#/definitions/CaptureGeometryResult"
@@ -821,6 +821,14 @@
821
821
  "position": {
822
822
  "$ref": "Position",
823
823
  "description": "The position of the notification on the screen."
824
+ },
825
+ "title": {
826
+ "description": "The notification title - only shown for system notifications. Mobile only.",
827
+ "type": "string"
828
+ },
829
+ "type": {
830
+ "$ref": "#/definitions/NotificationType",
831
+ "description": "The type of notification - 'app', 'system', or 'auto'. Defaults to 'auto'. Mobile only."
824
832
  }
825
833
  },
826
834
  "required": [
@@ -1651,6 +1659,15 @@
1651
1659
  ],
1652
1660
  "type": "string"
1653
1661
  },
1662
+ "NotificationType": {
1663
+ "description": "The type of notification - 'app', 'system', or 'auto'. Defaults to 'auto'. Mobile only.",
1664
+ "enum": [
1665
+ "app",
1666
+ "auto",
1667
+ "system"
1668
+ ],
1669
+ "type": "string"
1670
+ },
1654
1671
  "OfflineCommandArgs": {
1655
1672
  "additionalProperties": false,
1656
1673
  "description": "Arguments for various offline commands.",
@@ -12718,7 +12735,7 @@
12718
12735
  "$ref": "#/definitions/CaptureGeometryResult"
12719
12736
  },
12720
12737
  "sketching.delete": {
12721
- "description": "Deletes a point or the entire geometry, depending on which is selected while editing a geometry. If a point is specified in the arguments, it will be deleted (Web only).",
12738
+ "description": "If a point is supplied while a sketching or editing operation is active, the vertex at that point will be deleted from the current geometry. If no point is supplied and a geometry editing session is active, the entire geometry will be deleted.",
12722
12739
  "enum": [
12723
12740
  "sketching.delete"
12724
12741
  ]
@@ -12781,7 +12798,14 @@
12781
12798
  ]
12782
12799
  },
12783
12800
  "sketching.stop:input": {
12784
- "$ref": "#/definitions/StopGeometryEditArgs"
12801
+ "anyOf": [
12802
+ {
12803
+ "$ref": "#/definitions/StopGeometryEditArgs"
12804
+ },
12805
+ {
12806
+ "type": "null"
12807
+ }
12808
+ ]
12785
12809
  },
12786
12810
  "sketching.stop:output": {
12787
12811
  "$ref": "#/definitions/CaptureGeometryResult"
@@ -1336,6 +1336,14 @@
1336
1336
  "position": {
1337
1337
  "$ref": "Position",
1338
1338
  "description": "The position of the notification on the screen."
1339
+ },
1340
+ "title": {
1341
+ "description": "The notification title - only shown for system notifications. Mobile only.",
1342
+ "type": "string"
1343
+ },
1344
+ "type": {
1345
+ "$ref": "#/definitions/NotificationType",
1346
+ "description": "The type of notification - 'app', 'system', or 'auto'. Defaults to 'auto'. Mobile only."
1339
1347
  }
1340
1348
  },
1341
1349
  "required": [
@@ -3230,6 +3238,15 @@
3230
3238
  ],
3231
3239
  "type": "string"
3232
3240
  },
3241
+ "NotificationType": {
3242
+ "description": "The type of notification - 'app', 'system', or 'auto'. Defaults to 'auto'. Mobile only.",
3243
+ "enum": [
3244
+ "app",
3245
+ "auto",
3246
+ "system"
3247
+ ],
3248
+ "type": "string"
3249
+ },
3233
3250
  "Orientation": {
3234
3251
  "description": "An orientation for the layout.",
3235
3252
  "enum": [
@@ -16537,6 +16554,12 @@
16537
16554
  "sketching.add-node-to-geometry:output": {
16538
16555
  "$ref": "#/definitions/esri.Geometry"
16539
16556
  },
16557
+ "sketching.cancel": {
16558
+ "description": "Cancels the current geometry edit or capture operation.",
16559
+ "enum": [
16560
+ "sketching.cancel"
16561
+ ]
16562
+ },
16540
16563
  "sketching.capture-geometry": {
16541
16564
  "description": "Allows the user to create geometry by sketching on a map. Returns the geometry that was drawn, along with the map that it was drawn on.",
16542
16565
  "enum": [
@@ -16550,7 +16573,7 @@
16550
16573
  "$ref": "#/definitions/CaptureGeometryResult"
16551
16574
  },
16552
16575
  "sketching.delete": {
16553
- "description": "Deletes a point or the entire geometry, depending on which is selected while editing a geometry. If a point is specified in the arguments, it will be deleted (Web only).",
16576
+ "description": "If a point is supplied while a sketching or editing operation is active, the vertex at that point will be deleted from the current geometry. If no point is supplied and a geometry editing session is active, the entire geometry will be deleted.",
16554
16577
  "enum": [
16555
16578
  "sketching.delete"
16556
16579
  ]
@@ -16558,6 +16581,27 @@
16558
16581
  "sketching.delete:input": {
16559
16582
  "$ref": "#/definitions/DeleteGeometryArgs"
16560
16583
  },
16584
+ "sketching.disable-free-scale-mode": {
16585
+ "description": "Disables free scaling while editing geometries.",
16586
+ "enum": [
16587
+ "sketching.disable-free-scale-mode"
16588
+ ]
16589
+ },
16590
+ "sketching.disable-precision-mode": {
16591
+ "description": "Disables more precise inputs while editing geometries.",
16592
+ "enum": [
16593
+ "sketching.disable-precision-mode"
16594
+ ]
16595
+ },
16596
+ "sketching.edit-active-symbol": {
16597
+ "description": "Allows the user to edit the symbology used by the graphics actively being edited.",
16598
+ "enum": [
16599
+ "sketching.edit-active-symbol"
16600
+ ]
16601
+ },
16602
+ "sketching.edit-active-symbol:output": {
16603
+ "$ref": "#/definitions/EditSymbolResult"
16604
+ },
16561
16605
  "sketching.edit-geometry": {
16562
16606
  "description": "Allows the user to edit an existing geometry by drawing on a map. Returns the geometry that was edited, or the supplied feature with the altered geometry applied, along with the map that it was drawn on.",
16563
16607
  "enum": [
@@ -16570,6 +16614,18 @@
16570
16614
  "sketching.edit-geometry:output": {
16571
16615
  "$ref": "#/definitions/EditGeometryResult"
16572
16616
  },
16617
+ "sketching.enable-free-scale-mode": {
16618
+ "description": "Enables free scaling while editing geometries.",
16619
+ "enum": [
16620
+ "sketching.enable-free-scale-mode"
16621
+ ]
16622
+ },
16623
+ "sketching.enable-precision-mode": {
16624
+ "description": "Enables more precise inputs while editing geometries.",
16625
+ "enum": [
16626
+ "sketching.enable-precision-mode"
16627
+ ]
16628
+ },
16573
16629
  "sketching.get-active-node": {
16574
16630
  "description": "Returns the active point graphic of the active sketch on a map.",
16575
16631
  "enum": [
@@ -16661,7 +16717,14 @@
16661
16717
  ]
16662
16718
  },
16663
16719
  "sketching.stop:input": {
16664
- "$ref": "#/definitions/StopGeometryEditArgs"
16720
+ "anyOf": [
16721
+ {
16722
+ "$ref": "#/definitions/StopGeometryEditArgs"
16723
+ },
16724
+ {
16725
+ "type": "null"
16726
+ }
16727
+ ]
16665
16728
  },
16666
16729
  "sketching.stop:output": {
16667
16730
  "$ref": "#/definitions/CaptureGeometryResult"
@@ -19127,9 +19190,24 @@
19127
19190
  {
19128
19191
  "$ref": "#/definitions/search.clear"
19129
19192
  },
19193
+ {
19194
+ "$ref": "#/definitions/sketching.cancel"
19195
+ },
19130
19196
  {
19131
19197
  "$ref": "#/definitions/sketching.delete"
19132
19198
  },
19199
+ {
19200
+ "$ref": "#/definitions/sketching.disable-free-scale-mode"
19201
+ },
19202
+ {
19203
+ "$ref": "#/definitions/sketching.disable-precision-mode"
19204
+ },
19205
+ {
19206
+ "$ref": "#/definitions/sketching.enable-free-scale-mode"
19207
+ },
19208
+ {
19209
+ "$ref": "#/definitions/sketching.enable-precision-mode"
19210
+ },
19133
19211
  {
19134
19212
  "$ref": "#/definitions/sketching.move-node"
19135
19213
  },
@@ -20189,6 +20267,9 @@
20189
20267
  {
20190
20268
  "$ref": "#/definitions/sketching.capture-geometry"
20191
20269
  },
20270
+ {
20271
+ "$ref": "#/definitions/sketching.edit-active-symbol"
20272
+ },
20192
20273
  {
20193
20274
  "$ref": "#/definitions/sketching.edit-geometry"
20194
20275
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vertigis/viewer-spec",
3
- "version": "43.3.0",
3
+ "version": "43.5.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 Geocortex Viewer Specification.
3
3
  */
4
- export declare const version = "43.3.0";
4
+ export declare const version = "43.5.0";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * The current version of the Geocortex Viewer Specification.
3
3
  */
4
- export const version = "43.3.0";
4
+ export const version = "43.5.0";