@vertigis/viewer-spec 43.3.1 → 43.6.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">
@@ -1,4 +1,7 @@
1
1
  import type Geometry from "@arcgis/core/geometry/Geometry";
2
+ import type Point from "@arcgis/core/geometry/Point";
3
+ import type Polygon from "@arcgis/core/geometry/Polygon";
4
+ import type Polyline from "@arcgis/core/geometry/Polyline";
2
5
  import type SpatialReference from "@arcgis/core/geometry/SpatialReference";
3
6
  import type GeographicTransformation from "@arcgis/core/geometry/support/GeographicTransformation";
4
7
  import type { Command } from "../Command.js";
@@ -29,6 +32,10 @@ export interface ProjectArgs {
29
32
  * The units for distance buffers supported by ArcGIS.
30
33
  */
31
34
  export declare type LengthUnits = "meters" | "feet" | "kilometers" | "miles" | "nautical-miles" | "yards";
35
+ /**
36
+ * The units for distance supported by Mobile.
37
+ */
38
+ export declare type LengthUnitsMobile = LengthUnits | "millimeters" | "centimeters" | "inches" | "mm" | "cm" | "m" | "km" | "in" | "ft" | "yd" | "mi" | "nm";
32
39
  /**
33
40
  * The result of a geometry.buffer operation.
34
41
  */
@@ -42,6 +49,142 @@ export interface BufferResult {
42
49
  */
43
50
  maps?: MapsLike;
44
51
  }
52
+ /**
53
+ * Arguments for the geometry.add-point operation.
54
+ */
55
+ export interface AddPointArgs {
56
+ /**
57
+ * The starting geometry.
58
+ */
59
+ geometry: Polyline | Polygon;
60
+ /**
61
+ * The index of the part to which the point will be added.
62
+ * If null, the last part will be used.
63
+ */
64
+ partIndex?: number;
65
+ /**
66
+ * The index at which the point will be added.
67
+ * If null, the point will be added as the last point.
68
+ */
69
+ pointIndex?: number;
70
+ /**
71
+ * The new point to be added to 'geometry'. The spatial reference must
72
+ * match 'geometry' or an error will be thrown.
73
+ */
74
+ newPoint: Point;
75
+ }
76
+ /**
77
+ * Arguments for the geometry.add-part operation.
78
+ */
79
+ export interface AddPartArgs {
80
+ /**
81
+ * The starting geometry.
82
+ */
83
+ geometry: Polyline | Polygon;
84
+ /**
85
+ * The new part to be added to 'geometry'.
86
+ */
87
+ part: Point[];
88
+ }
89
+ /**
90
+ * A reference line used by the geometry.get-point operation.
91
+ */
92
+ export interface ReferenceLine {
93
+ /**
94
+ * The geometry that contains the reference line.
95
+ */
96
+ geometry: Polyline | Polygon;
97
+ /**
98
+ * The index of the part in 'geometry' that contains the reference line.
99
+ * If null, the last part will be used.
100
+ */
101
+ partIndex?: number;
102
+ /**
103
+ * The index of the segment that will be used as the reference line.
104
+ * If null, the last segment will be used.
105
+ */
106
+ segmentIndex?: number;
107
+ }
108
+ /**
109
+ * The different types of curves that can be used for geodetic distance
110
+ * calculations.
111
+ */
112
+ export declare type GeodeticCurveType = "geodesic" | "loxodrome" | "normal-section" | "great-elliptic";
113
+ /**
114
+ * Arguments for the geometry.calculate-point operation.
115
+ */
116
+ export interface CalculatePointArgs {
117
+ /**
118
+ * The units to be used for 'distance' and 'offset'.
119
+ * Defaults to the default units of the map.
120
+ */
121
+ units: LengthUnitsMobile;
122
+ /**
123
+ * The reference line that will be used to calculate the new point.
124
+ */
125
+ referenceLine: ReferenceLine;
126
+ /**
127
+ * The distance that will be used to calculate the new point.
128
+ *
129
+ * If using 'offset', this indicates the distance along
130
+ * the reference line.
131
+ *
132
+ * If using 'angle', this indicates the distance directly
133
+ * from the new point to the start point of the reference line.
134
+ *
135
+ * Cannot be negative.
136
+ */
137
+ distance: number;
138
+ /**
139
+ * The offset that will be used to calculate the new point.
140
+ * The 'offset' corresponds to the distance perpendicularly away from the
141
+ * reference line.
142
+ *
143
+ * Positive values will result in a point to the right of the reference
144
+ * line, negative values will be to the left.
145
+ *
146
+ * Exactly one of 'offset' and 'angle' must be set.
147
+ */
148
+ offset?: number;
149
+ /**
150
+ * The angle, relative to the angle of the reference line, that
151
+ * will be used to calculate the new point. Positive angles are
152
+ * calculated clockwise from the angle of the reference line,
153
+ * negative angles are calculated counter-clockwise.
154
+ *
155
+ * Exactly one of 'offset' and 'angle' must be set.
156
+ */
157
+ angle?: number;
158
+ /**
159
+ * Gets or sets a value indicating whether the distance calculations will
160
+ * be geodetic or planar. Defaults to true.
161
+ */
162
+ geodetic?: boolean;
163
+ /**
164
+ * Gets or sets the geodetic curve type used when calculating the new point.
165
+ * Only applies when 'geodetic' is true. Defaults to 'geodesic'.
166
+ */
167
+ geodeticCurveType: GeodeticCurveType;
168
+ }
169
+ /**
170
+ * Arguments for the geometry.remove-point operation.
171
+ */
172
+ export interface RemovePointArgs {
173
+ /**
174
+ * The starting geometry.
175
+ */
176
+ geometry: Polyline | Polygon;
177
+ /**
178
+ * The index of the part from which the point will be removed.
179
+ * If null, the last part will be used.
180
+ */
181
+ partIndex?: number;
182
+ /**
183
+ * The index of the point to be removed.
184
+ * If null, the last point wil be removed.
185
+ */
186
+ pointIndex?: number;
187
+ }
45
188
  export declare class GeometryOperations extends OperationRegistry {
46
189
  /**
47
190
  * Projects a set of geometries to a new spatial reference.
@@ -76,6 +219,30 @@ export declare class GeometryOperations extends OperationRegistry {
76
219
  * @webOnly
77
220
  */
78
221
  get getBufferUnits(): Operation<void, LengthUnits>;
222
+ /**
223
+ * Adds a point to a given geometry.
224
+ *
225
+ * @mobileOnly
226
+ */
227
+ get addPoint(): Operation<AddPointArgs, Geometry>;
228
+ /**
229
+ * Adds a part to a given geometry.
230
+ *
231
+ * @mobileOnly
232
+ */
233
+ get addPart(): Operation<AddPartArgs, Geometry>;
234
+ /**
235
+ * Calculates a point relative to a given reference line.
236
+ *
237
+ * @mobileOnly
238
+ */
239
+ get calculatePoint(): Operation<CalculatePointArgs, Point>;
240
+ /**
241
+ * Removes a point from a given geometry.
242
+ *
243
+ * @mobileOnly
244
+ */
245
+ get removePoint(): Operation<RemovePointArgs, Geometry>;
79
246
  }
80
247
  export declare class GeometryCommands extends CommandRegistry {
81
248
  /**
@@ -1 +1 @@
1
- import{CommandRegistry}from"../CommandRegistry.js";import{OperationRegistry}from"../OperationRegistry.js";export class GeometryOperations extends OperationRegistry{get project(){return this._messages.operation("geometry.project")}get addPixelTolerance(){return this._messages.operation("geometry.add-pixel-tolerance")}get buffer(){return this._messages.operation("geometry.buffer")}get getBufferDistance(){return this._messages.operation("geometry.get-buffer-distance")}get getBufferUnits(){return this._messages.operation("geometry.get-buffer-units")}}export class GeometryCommands extends CommandRegistry{get setBufferDistance(){return this._messages.command("geometry.set-buffer-distance")}get setBufferUnits(){return this._messages.command("geometry.set-buffer-units")}get showSettings(){return this._messages.command("geometry.show-settings")}}
1
+ import{CommandRegistry}from"../CommandRegistry.js";import{OperationRegistry}from"../OperationRegistry.js";export class GeometryOperations extends OperationRegistry{get project(){return this._messages.operation("geometry.project")}get addPixelTolerance(){return this._messages.operation("geometry.add-pixel-tolerance")}get buffer(){return this._messages.operation("geometry.buffer")}get getBufferDistance(){return this._messages.operation("geometry.get-buffer-distance")}get getBufferUnits(){return this._messages.operation("geometry.get-buffer-units")}get addPoint(){return this._messages.operation("geometry.add-point")}get addPart(){return this._messages.operation("geometry.add-part")}get calculatePoint(){return this._messages.operation("geometry.calculate-point")}get removePoint(){return this._messages.operation("geometry.remove-point")}}export class GeometryCommands extends CommandRegistry{get setBufferDistance(){return this._messages.command("geometry.set-buffer-distance")}get setBufferUnits(){return this._messages.command("geometry.set-buffer-units")}get showSettings(){return this._messages.command("geometry.show-settings")}}
@@ -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,10 +452,12 @@ 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.
459
+ *
460
+ * Deprecated in Mobile, use geometry.add-point instead.
448
461
  */
449
462
  get addNodeToGeometry(): Operation<AddNodeToGeometryArgs, Geometry>;
450
463
  /**
@@ -461,6 +474,12 @@ export declare class SketchingOperations extends OperationRegistry {
461
474
  get getActiveNode(): Operation<ItemRef, GetActiveSketchResult>;
462
475
  }
463
476
  export declare class SketchingCommands extends CommandRegistry {
477
+ /**
478
+ * Cancels the current geometry edit or capture operation.
479
+ *
480
+ * @webOnly
481
+ */
482
+ get cancel(): Command<void>;
464
483
  /**
465
484
  * Undoes the last edit while editing a geometry.
466
485
  */
@@ -495,9 +514,10 @@ export declare class SketchingCommands extends CommandRegistry {
495
514
  */
496
515
  get setPointAtCurrentLocation(): Command<HasMaps>;
497
516
  /**
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).
517
+ * If a point is supplied while a sketching or editing operation is active,
518
+ * the vertex at that point will be deleted from the current geometry. If no
519
+ * point is supplied and a geometry editing session is active, the entire
520
+ * geometry will be deleted.
501
521
  */
502
522
  get delete(): Command<DeleteGeometryArgs>;
503
523
  /**
@@ -518,4 +538,28 @@ export declare class SketchingCommands extends CommandRegistry {
518
538
  * @mobileOnly
519
539
  */
520
540
  get setInteractionMode(): Command<SetInteractionModeArgs>;
541
+ /**
542
+ * Enables free scaling while editing geometries.
543
+ *
544
+ * @webOnly
545
+ */
546
+ get enableFreeScaleMode(): Command<void>;
547
+ /**
548
+ * Disables free scaling while editing geometries.
549
+ *
550
+ * @webOnly
551
+ */
552
+ get disableFreeScaleMode(): Command<void>;
553
+ /**
554
+ * Enables more precise inputs while editing geometries.
555
+ *
556
+ * @webOnly
557
+ */
558
+ get enablePrecisionMode(): Command<void>;
559
+ /**
560
+ * Disables more precise inputs while editing geometries.
561
+ *
562
+ * @webOnly
563
+ */
564
+ get disablePrecisionMode(): Command<void>;
521
565
  }
@@ -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.",
@@ -11107,7 +11124,7 @@
11107
11124
  ]
11108
11125
  },
11109
11126
  "sketching.add-node-to-geometry": {
11110
- "description": "Adds a point to a given polyline or polygon geometry. Returns the resulting geometry.",
11127
+ "description": "Adds a point to a given polyline or polygon geometry. Returns the resulting geometry. Deprecated in Mobile, use geometry.add-point instead.",
11111
11128
  "enum": [
11112
11129
  "sketching.add-node-to-geometry"
11113
11130
  ]
@@ -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"
@@ -506,6 +506,69 @@
506
506
  ],
507
507
  "type": "object"
508
508
  },
509
+ "AddPartArgs": {
510
+ "additionalProperties": false,
511
+ "description": "Arguments for the geometry.add-part operation.",
512
+ "properties": {
513
+ "geometry": {
514
+ "anyOf": [
515
+ {
516
+ "$ref": "#/definitions/esri.Polygon"
517
+ },
518
+ {
519
+ "$ref": "#/definitions/esri.Polyline"
520
+ }
521
+ ],
522
+ "description": "The starting geometry."
523
+ },
524
+ "part": {
525
+ "description": "The new part to be added to 'geometry'.",
526
+ "items": {
527
+ "$ref": "#/definitions/esri.Point"
528
+ },
529
+ "type": "array"
530
+ }
531
+ },
532
+ "required": [
533
+ "geometry",
534
+ "part"
535
+ ],
536
+ "type": "object"
537
+ },
538
+ "AddPointArgs": {
539
+ "additionalProperties": false,
540
+ "description": "Arguments for the geometry.add-point operation.",
541
+ "properties": {
542
+ "geometry": {
543
+ "anyOf": [
544
+ {
545
+ "$ref": "#/definitions/esri.Polygon"
546
+ },
547
+ {
548
+ "$ref": "#/definitions/esri.Polyline"
549
+ }
550
+ ],
551
+ "description": "The starting geometry."
552
+ },
553
+ "newPoint": {
554
+ "$ref": "#/definitions/esri.Point",
555
+ "description": "The new point to be added to 'geometry'. The spatial reference must match 'geometry' or an error will be thrown."
556
+ },
557
+ "partIndex": {
558
+ "description": "The index of the part to which the point will be added. If null, the last part will be used.",
559
+ "type": "number"
560
+ },
561
+ "pointIndex": {
562
+ "description": "The index at which the point will be added. If null, the point will be added as the last point.",
563
+ "type": "number"
564
+ }
565
+ },
566
+ "required": [
567
+ "geometry",
568
+ "newPoint"
569
+ ],
570
+ "type": "object"
571
+ },
509
572
  "AlertCommandArgs": {
510
573
  "additionalProperties": false,
511
574
  "description": "Arguments for the 'ui.alert' command.",
@@ -549,6 +612,47 @@
549
612
  ],
550
613
  "type": "object"
551
614
  },
615
+ "CalculatePointArgs": {
616
+ "additionalProperties": false,
617
+ "description": "Arguments for the geometry.calculate-point operation.",
618
+ "properties": {
619
+ "angle": {
620
+ "description": "The angle, relative to the angle of the reference line, that will be used to calculate the new point. Positive angles are calculated clockwise from the angle of the reference line, negative angles are calculated counter-clockwise. Exactly one of 'offset' and 'angle' must be set.",
621
+ "type": "number"
622
+ },
623
+ "distance": {
624
+ "description": "The distance that will be used to calculate the new point. If using 'offset', this indicates the distance along the reference line. If using 'angle', this indicates the distance directly from the new point to the start point of the reference line. Cannot be negative.",
625
+ "type": "number"
626
+ },
627
+ "geodetic": {
628
+ "description": "Gets or sets a value indicating whether the distance calculations will be geodetic or planar. Defaults to true.",
629
+ "type": "boolean"
630
+ },
631
+ "geodeticCurveType": {
632
+ "$ref": "#/definitions/GeodeticCurveType",
633
+ "description": "Gets or sets the geodetic curve type used when calculating the new point. Only applies when 'geodetic' is true. Defaults to 'geodesic'."
634
+ },
635
+ "offset": {
636
+ "description": "The offset that will be used to calculate the new point. The 'offset' corresponds to the distance perpendicularly away from the reference line. Positive values will result in a point to the right of the reference line, negative values will be to the left. Exactly one of 'offset' and 'angle' must be set.",
637
+ "type": "number"
638
+ },
639
+ "referenceLine": {
640
+ "$ref": "#/definitions/ReferenceLine",
641
+ "description": "The reference line that will be used to calculate the new point."
642
+ },
643
+ "units": {
644
+ "$ref": "#/definitions/LengthUnitsMobile",
645
+ "description": "The units to be used for 'distance' and 'offset'. Defaults to the default units of the map."
646
+ }
647
+ },
648
+ "required": [
649
+ "distance",
650
+ "geodeticCurveType",
651
+ "referenceLine",
652
+ "units"
653
+ ],
654
+ "type": "object"
655
+ },
552
656
  "CaptureGeometryArgs": {
553
657
  "additionalProperties": false,
554
658
  "description": "Arguments for the \"sketching.capture-geometry\" operation.",
@@ -821,6 +925,14 @@
821
925
  "position": {
822
926
  "$ref": "Position",
823
927
  "description": "The position of the notification on the screen."
928
+ },
929
+ "title": {
930
+ "description": "The notification title - only shown for system notifications. Mobile only.",
931
+ "type": "string"
932
+ },
933
+ "type": {
934
+ "$ref": "#/definitions/NotificationType",
935
+ "description": "The type of notification - 'app', 'system', or 'auto'. Defaults to 'auto'. Mobile only."
824
936
  }
825
937
  },
826
938
  "required": [
@@ -1177,6 +1289,16 @@
1177
1289
  ],
1178
1290
  "type": "object"
1179
1291
  },
1292
+ "GeodeticCurveType": {
1293
+ "description": "The different types of curves that can be used for geodetic distance calculations.",
1294
+ "enum": [
1295
+ "geodesic",
1296
+ "great-elliptic",
1297
+ "loxodrome",
1298
+ "normal-section"
1299
+ ],
1300
+ "type": "string"
1301
+ },
1180
1302
  "GeolocateCurrentState": {
1181
1303
  "additionalProperties": false,
1182
1304
  "description": "Result for the \"geolocation.get-current-state\" operation.",
@@ -1584,6 +1706,30 @@
1584
1706
  ],
1585
1707
  "type": "object"
1586
1708
  },
1709
+ "LengthUnitsMobile": {
1710
+ "description": "The units for distance supported by Mobile.",
1711
+ "enum": [
1712
+ "centimeters",
1713
+ "cm",
1714
+ "feet",
1715
+ "ft",
1716
+ "in",
1717
+ "inches",
1718
+ "kilometers",
1719
+ "km",
1720
+ "m",
1721
+ "meters",
1722
+ "mi",
1723
+ "miles",
1724
+ "millimeters",
1725
+ "mm",
1726
+ "nautical-miles",
1727
+ "nm",
1728
+ "yards",
1729
+ "yd"
1730
+ ],
1731
+ "type": "string"
1732
+ },
1587
1733
  "MapExtensionArgs": {
1588
1734
  "additionalProperties": false,
1589
1735
  "description": "One or more map extensions.",
@@ -1651,6 +1797,15 @@
1651
1797
  ],
1652
1798
  "type": "string"
1653
1799
  },
1800
+ "NotificationType": {
1801
+ "description": "The type of notification - 'app', 'system', or 'auto'. Defaults to 'auto'. Mobile only.",
1802
+ "enum": [
1803
+ "app",
1804
+ "auto",
1805
+ "system"
1806
+ ],
1807
+ "type": "string"
1808
+ },
1654
1809
  "OfflineCommandArgs": {
1655
1810
  "additionalProperties": false,
1656
1811
  "description": "Arguments for various offline commands.",
@@ -1833,6 +1988,64 @@
1833
1988
  ],
1834
1989
  "type": "object"
1835
1990
  },
1991
+ "ReferenceLine": {
1992
+ "additionalProperties": false,
1993
+ "description": "A reference line used by the geometry.get-point operation.",
1994
+ "properties": {
1995
+ "geometry": {
1996
+ "anyOf": [
1997
+ {
1998
+ "$ref": "#/definitions/esri.Polygon"
1999
+ },
2000
+ {
2001
+ "$ref": "#/definitions/esri.Polyline"
2002
+ }
2003
+ ],
2004
+ "description": "The geometry that contains the reference line."
2005
+ },
2006
+ "partIndex": {
2007
+ "description": "The index of the part in 'geometry' that contains the reference line. If null, the last part will be used.",
2008
+ "type": "number"
2009
+ },
2010
+ "segmentIndex": {
2011
+ "description": "The index of the segment that will be used as the reference line. If null, the last segment will be used.",
2012
+ "type": "number"
2013
+ }
2014
+ },
2015
+ "required": [
2016
+ "geometry"
2017
+ ],
2018
+ "type": "object"
2019
+ },
2020
+ "RemovePointArgs": {
2021
+ "additionalProperties": false,
2022
+ "description": "Arguments for the geometry.remove-point operation.",
2023
+ "properties": {
2024
+ "geometry": {
2025
+ "anyOf": [
2026
+ {
2027
+ "$ref": "#/definitions/esri.Polygon"
2028
+ },
2029
+ {
2030
+ "$ref": "#/definitions/esri.Polyline"
2031
+ }
2032
+ ],
2033
+ "description": "The starting geometry."
2034
+ },
2035
+ "partIndex": {
2036
+ "description": "The index of the part from which the point will be removed. If null, the last part will be used.",
2037
+ "type": "number"
2038
+ },
2039
+ "pointIndex": {
2040
+ "description": "The index of the point to be removed. If null, the last point wil be removed.",
2041
+ "type": "number"
2042
+ }
2043
+ },
2044
+ "required": [
2045
+ "geometry"
2046
+ ],
2047
+ "type": "object"
2048
+ },
1836
2049
  "ReplaceMapArgs": {
1837
2050
  "additionalProperties": false,
1838
2051
  "description": "Arguments for the \"map.replace*\" operations.",
@@ -2664,9 +2877,15 @@
2664
2877
  "esri.PointSymbol3D": {
2665
2878
  "$ref": "esri/symbols/PointSymbol3D"
2666
2879
  },
2880
+ "esri.Polygon": {
2881
+ "$ref": "esri/geometry/Polygon"
2882
+ },
2667
2883
  "esri.PolygonSymbol3D": {
2668
2884
  "$ref": "esri/symbols/PolygonSymbol3D"
2669
2885
  },
2886
+ "esri.Polyline": {
2887
+ "$ref": "esri/geometry/Polyline"
2888
+ },
2670
2889
  "esri.PopupTemplate": {
2671
2890
  "$ref": "esri/PopupTemplate"
2672
2891
  },
@@ -11575,6 +11794,54 @@
11575
11794
  }
11576
11795
  ]
11577
11796
  },
11797
+ "geometry.add-part": {
11798
+ "description": "Adds a part to a given geometry.",
11799
+ "enum": [
11800
+ "geometry.add-part"
11801
+ ]
11802
+ },
11803
+ "geometry.add-part:input": {
11804
+ "$ref": "#/definitions/AddPartArgs"
11805
+ },
11806
+ "geometry.add-part:output": {
11807
+ "$ref": "#/definitions/esri.Geometry"
11808
+ },
11809
+ "geometry.add-point": {
11810
+ "description": "Adds a point to a given geometry.",
11811
+ "enum": [
11812
+ "geometry.add-point"
11813
+ ]
11814
+ },
11815
+ "geometry.add-point:input": {
11816
+ "$ref": "#/definitions/AddPointArgs"
11817
+ },
11818
+ "geometry.add-point:output": {
11819
+ "$ref": "#/definitions/esri.Geometry"
11820
+ },
11821
+ "geometry.calculate-point": {
11822
+ "description": "Calculates a point relative to a given reference line.",
11823
+ "enum": [
11824
+ "geometry.calculate-point"
11825
+ ]
11826
+ },
11827
+ "geometry.calculate-point:input": {
11828
+ "$ref": "#/definitions/CalculatePointArgs"
11829
+ },
11830
+ "geometry.calculate-point:output": {
11831
+ "$ref": "#/definitions/esri.Point"
11832
+ },
11833
+ "geometry.remove-point": {
11834
+ "description": "Removes a point from a given geometry.",
11835
+ "enum": [
11836
+ "geometry.remove-point"
11837
+ ]
11838
+ },
11839
+ "geometry.remove-point:input": {
11840
+ "$ref": "#/definitions/RemovePointArgs"
11841
+ },
11842
+ "geometry.remove-point:output": {
11843
+ "$ref": "#/definitions/esri.Geometry"
11844
+ },
11578
11845
  "highlights.add": {
11579
11846
  "description": "Applies highlighting to one or more features.",
11580
11847
  "enum": [
@@ -12676,7 +12943,7 @@
12676
12943
  "type": "string"
12677
12944
  },
12678
12945
  "sketching.add-node-to-geometry": {
12679
- "description": "Adds a point to a given polyline or polygon geometry. Returns the resulting geometry.",
12946
+ "description": "Adds a point to a given polyline or polygon geometry. Returns the resulting geometry. Deprecated in Mobile, use geometry.add-point instead.",
12680
12947
  "enum": [
12681
12948
  "sketching.add-node-to-geometry"
12682
12949
  ]
@@ -12718,7 +12985,7 @@
12718
12985
  "$ref": "#/definitions/CaptureGeometryResult"
12719
12986
  },
12720
12987
  "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).",
12988
+ "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
12989
  "enum": [
12723
12990
  "sketching.delete"
12724
12991
  ]
@@ -12781,7 +13048,14 @@
12781
13048
  ]
12782
13049
  },
12783
13050
  "sketching.stop:input": {
12784
- "$ref": "#/definitions/StopGeometryEditArgs"
13051
+ "anyOf": [
13052
+ {
13053
+ "$ref": "#/definitions/StopGeometryEditArgs"
13054
+ },
13055
+ {
13056
+ "type": "null"
13057
+ }
13058
+ ]
12785
13059
  },
12786
13060
  "sketching.stop:output": {
12787
13061
  "$ref": "#/definitions/CaptureGeometryResult"
@@ -14991,6 +15265,70 @@
14991
15265
  ],
14992
15266
  "type": "object"
14993
15267
  },
15268
+ {
15269
+ "additionalProperties": false,
15270
+ "properties": {
15271
+ "arguments": {
15272
+ "$ref": "#/definitions/geometry.add-part:input"
15273
+ },
15274
+ "name": {
15275
+ "$ref": "#/definitions/geometry.add-part"
15276
+ }
15277
+ },
15278
+ "required": [
15279
+ "name",
15280
+ "arguments"
15281
+ ],
15282
+ "type": "object"
15283
+ },
15284
+ {
15285
+ "additionalProperties": false,
15286
+ "properties": {
15287
+ "arguments": {
15288
+ "$ref": "#/definitions/geometry.add-point:input"
15289
+ },
15290
+ "name": {
15291
+ "$ref": "#/definitions/geometry.add-point"
15292
+ }
15293
+ },
15294
+ "required": [
15295
+ "name",
15296
+ "arguments"
15297
+ ],
15298
+ "type": "object"
15299
+ },
15300
+ {
15301
+ "additionalProperties": false,
15302
+ "properties": {
15303
+ "arguments": {
15304
+ "$ref": "#/definitions/geometry.calculate-point:input"
15305
+ },
15306
+ "name": {
15307
+ "$ref": "#/definitions/geometry.calculate-point"
15308
+ }
15309
+ },
15310
+ "required": [
15311
+ "name",
15312
+ "arguments"
15313
+ ],
15314
+ "type": "object"
15315
+ },
15316
+ {
15317
+ "additionalProperties": false,
15318
+ "properties": {
15319
+ "arguments": {
15320
+ "$ref": "#/definitions/geometry.remove-point:input"
15321
+ },
15322
+ "name": {
15323
+ "$ref": "#/definitions/geometry.remove-point"
15324
+ }
15325
+ },
15326
+ "required": [
15327
+ "name",
15328
+ "arguments"
15329
+ ],
15330
+ "type": "object"
15331
+ },
14994
15332
  {
14995
15333
  "additionalProperties": false,
14996
15334
  "properties": {
@@ -15495,6 +15833,18 @@
15495
15833
  {
15496
15834
  "$ref": "#/definitions/geolocation.get-position"
15497
15835
  },
15836
+ {
15837
+ "$ref": "#/definitions/geometry.add-part"
15838
+ },
15839
+ {
15840
+ "$ref": "#/definitions/geometry.add-point"
15841
+ },
15842
+ {
15843
+ "$ref": "#/definitions/geometry.calculate-point"
15844
+ },
15845
+ {
15846
+ "$ref": "#/definitions/geometry.remove-point"
15847
+ },
15498
15848
  {
15499
15849
  "$ref": "#/definitions/map.export-image"
15500
15850
  },
@@ -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": [
@@ -16526,7 +16543,7 @@
16526
16543
  ]
16527
16544
  },
16528
16545
  "sketching.add-node-to-geometry": {
16529
- "description": "Adds a point to a given polyline or polygon geometry. Returns the resulting geometry.",
16546
+ "description": "Adds a point to a given polyline or polygon geometry. Returns the resulting geometry. Deprecated in Mobile, use geometry.add-point instead.",
16530
16547
  "enum": [
16531
16548
  "sketching.add-node-to-geometry"
16532
16549
  ]
@@ -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.1",
3
+ "version": "43.6.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.1";
4
+ export declare const version = "43.6.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.1";
4
+ export const version = "43.6.0";