@vertigis/viewer-spec 46.0.0 → 46.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/messaging/registry/Operations.d.ts +2 -0
- package/messaging/registry/Operations.js +1 -1
- package/messaging/registry/edit.d.ts +104 -25
- package/messaging/registry/edit.js +1 -1
- package/messaging/schema/common-action.schema.json +390 -0
- package/messaging/schema/common-event.schema.json +36 -0
- package/messaging/schema/mobile-action.schema.json +249 -9
- package/messaging/schema/web-action.schema.json +392 -0
- package/messaging/schema/web-event.schema.json +36 -0
- package/package.json +2 -2
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -6,6 +6,7 @@ import { BasemapOperations } from "./basemap.js";
|
|
|
6
6
|
import { ChartOperations } from "./charts.js";
|
|
7
7
|
import { DebugConsoleOperations } from "./debugConsole.js";
|
|
8
8
|
import { DrawingOperations } from "./drawing.js";
|
|
9
|
+
import { EditOperations } from "./edit.js";
|
|
9
10
|
import { FileOperations } from "./file.js";
|
|
10
11
|
import { GeocodeOperations } from "./geocode.js";
|
|
11
12
|
import { GeolocationOperations } from "./geolocation.js";
|
|
@@ -30,6 +31,7 @@ export declare class Operations extends OperationRegistry {
|
|
|
30
31
|
readonly app: AppOperations;
|
|
31
32
|
readonly basemap: BasemapOperations;
|
|
32
33
|
readonly charts: ChartOperations;
|
|
34
|
+
readonly edit: EditOperations;
|
|
33
35
|
readonly drawing: DrawingOperations;
|
|
34
36
|
readonly file: FileOperations;
|
|
35
37
|
readonly geocode: GeocodeOperations;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{OperationRegistry}from"../OperationRegistry.js";import{AppOperations}from"./app.js";import{ArcadeOperations}from"./arcade.js";import{AuthOperations}from"./auth.js";import{BasemapOperations}from"./basemap.js";import{ChartOperations}from"./charts.js";import{DebugConsoleOperations}from"./debugConsole.js";import{DrawingOperations}from"./drawing.js";import{FileOperations}from"./file.js";import{GeocodeOperations}from"./geocode.js";import{GeolocationOperations}from"./geolocation.js";import{GeometryOperations}from"./geometry.js";import{HighlightsOperations}from"./highlights.js";import{KpiOperations}from"./kpi.js";import{LogViewerOperations}from"./logViewer.js";import{MapOperations}from"./map.js";import{MeasurementOperations}from"./measurement.js";import{MessagingOperations}from"./messaging.js";import{NetworkOperations}from"./network.js";import{OfflineOperations}from"./offline.js";import{ResultsOperations}from"./results.js";import{SketchingOperations}from"./sketching.js";import{SystemOperations}from"./system.js";import{TasksOperations}from"./tasks.js";import{UIOperations}from"./ui.js";import{ViewerOperations}from"./viewer.js";export class Operations extends OperationRegistry{constructor(){super(...arguments),this.arcade=new ArcadeOperations(this._messages),this.auth=new AuthOperations(this._messages),this.app=new AppOperations(this._messages),this.basemap=new BasemapOperations(this._messages),this.charts=new ChartOperations(this._messages),this.drawing=new DrawingOperations(this._messages),this.file=new FileOperations(this._messages),this.geocode=new GeocodeOperations(this._messages),this.geolocation=new GeolocationOperations(this._messages),this.geometry=new GeometryOperations(this._messages),this.highlights=new HighlightsOperations(this._messages),this.kpi=new KpiOperations(this._messages),this.logViewer=new LogViewerOperations(this._messages),this.map=new MapOperations(this._messages),this.measurement=new MeasurementOperations(this._messages),this.messaging=new MessagingOperations(this._messages),this.network=new NetworkOperations(this._messages),this.offline=new OfflineOperations(this._messages),this.sketching=new SketchingOperations(this._messages),this.system=new SystemOperations(this._messages),this.results=new ResultsOperations(this._messages),this.tasks=new TasksOperations(this._messages),this.ui=new UIOperations(this._messages),this.viewer=new ViewerOperations(this._messages),this.debugConsole=new DebugConsoleOperations(this._messages)}}
|
|
1
|
+
import{OperationRegistry}from"../OperationRegistry.js";import{AppOperations}from"./app.js";import{ArcadeOperations}from"./arcade.js";import{AuthOperations}from"./auth.js";import{BasemapOperations}from"./basemap.js";import{ChartOperations}from"./charts.js";import{DebugConsoleOperations}from"./debugConsole.js";import{DrawingOperations}from"./drawing.js";import{EditOperations}from"./edit.js";import{FileOperations}from"./file.js";import{GeocodeOperations}from"./geocode.js";import{GeolocationOperations}from"./geolocation.js";import{GeometryOperations}from"./geometry.js";import{HighlightsOperations}from"./highlights.js";import{KpiOperations}from"./kpi.js";import{LogViewerOperations}from"./logViewer.js";import{MapOperations}from"./map.js";import{MeasurementOperations}from"./measurement.js";import{MessagingOperations}from"./messaging.js";import{NetworkOperations}from"./network.js";import{OfflineOperations}from"./offline.js";import{ResultsOperations}from"./results.js";import{SketchingOperations}from"./sketching.js";import{SystemOperations}from"./system.js";import{TasksOperations}from"./tasks.js";import{UIOperations}from"./ui.js";import{ViewerOperations}from"./viewer.js";export class Operations extends OperationRegistry{constructor(){super(...arguments),this.arcade=new ArcadeOperations(this._messages),this.auth=new AuthOperations(this._messages),this.app=new AppOperations(this._messages),this.basemap=new BasemapOperations(this._messages),this.charts=new ChartOperations(this._messages),this.edit=new EditOperations(this._messages),this.drawing=new DrawingOperations(this._messages),this.file=new FileOperations(this._messages),this.geocode=new GeocodeOperations(this._messages),this.geolocation=new GeolocationOperations(this._messages),this.geometry=new GeometryOperations(this._messages),this.highlights=new HighlightsOperations(this._messages),this.kpi=new KpiOperations(this._messages),this.logViewer=new LogViewerOperations(this._messages),this.map=new MapOperations(this._messages),this.measurement=new MeasurementOperations(this._messages),this.messaging=new MessagingOperations(this._messages),this.network=new NetworkOperations(this._messages),this.offline=new OfflineOperations(this._messages),this.sketching=new SketchingOperations(this._messages),this.system=new SystemOperations(this._messages),this.results=new ResultsOperations(this._messages),this.tasks=new TasksOperations(this._messages),this.ui=new UIOperations(this._messages),this.viewer=new ViewerOperations(this._messages),this.debugConsole=new DebugConsoleOperations(this._messages)}}
|
|
@@ -5,7 +5,10 @@ import type { Command } from "../Command.js";
|
|
|
5
5
|
import { CommandRegistry } from "../CommandRegistry.js";
|
|
6
6
|
import type { Event } from "../Event.js";
|
|
7
7
|
import { EventRegistry } from "../EventRegistry.js";
|
|
8
|
-
import type {
|
|
8
|
+
import type { Operation } from "../Operation.js";
|
|
9
|
+
import { OperationRegistry } from "../OperationRegistry.js";
|
|
10
|
+
import type { HasFeatures, HasGeometry, HasLayers, HasMaps, HasUITarget, MapsLike } from "../common.js";
|
|
11
|
+
import type { EditGeometryOptions } from "./sketching.js";
|
|
9
12
|
/**
|
|
10
13
|
* Arguments for the "edit.add-attachment" command.
|
|
11
14
|
*/
|
|
@@ -44,6 +47,85 @@ export interface AttachmentEventArgs {
|
|
|
44
47
|
*/
|
|
45
48
|
attachment: Attachment;
|
|
46
49
|
}
|
|
50
|
+
/**
|
|
51
|
+
* Options for editing operations that display a UI.
|
|
52
|
+
*/
|
|
53
|
+
export interface EditUIOptions {
|
|
54
|
+
/**
|
|
55
|
+
* Whether to show UI notifications.
|
|
56
|
+
*/
|
|
57
|
+
showNotifications?: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* The orientation of the template picker.
|
|
60
|
+
*/
|
|
61
|
+
orientation?: "horizontal" | "vertical";
|
|
62
|
+
/**
|
|
63
|
+
* Whether to show titles on the template picker.
|
|
64
|
+
*/
|
|
65
|
+
showTitles?: boolean;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* A collection of options common to interactive feature editing sessions. Web
|
|
69
|
+
* only.
|
|
70
|
+
*/
|
|
71
|
+
export interface EditOptions {
|
|
72
|
+
/**
|
|
73
|
+
* Whether to allow editing of feature geometry.
|
|
74
|
+
*/
|
|
75
|
+
editGeometry?: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* Whether to allow editing of feature attributes.
|
|
78
|
+
*/
|
|
79
|
+
editAttributes?: boolean;
|
|
80
|
+
/**
|
|
81
|
+
* Whether to allow editing of feature attachments.
|
|
82
|
+
*/
|
|
83
|
+
editAttachments?: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* Options for the geometry editing session.
|
|
86
|
+
*/
|
|
87
|
+
editGeometryOptions?: EditGeometryOptions;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Arguments for the "edit.create-feature" operation. Also may be supplied to
|
|
91
|
+
* augment an interactive editing session. A valid feature layer is required.
|
|
92
|
+
* The geometry is required for non-tabular features. Web only.
|
|
93
|
+
*/
|
|
94
|
+
export interface CreateFeatureArgs extends HasGeometry, HasLayers, HasMaps, EditUIOptions {
|
|
95
|
+
/**
|
|
96
|
+
* A collection of attributes to apply to the new feature.
|
|
97
|
+
*/
|
|
98
|
+
featureAttributes?: Record<string, unknown>;
|
|
99
|
+
/**
|
|
100
|
+
* The template to use as a starting point for this feature. Requires a
|
|
101
|
+
* layer. The default or first template will be used if not set.
|
|
102
|
+
*/
|
|
103
|
+
templateName?: string;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Arguments for the "edit.display-add-features" command. Web only.
|
|
107
|
+
*/
|
|
108
|
+
export interface DisplayAddFeatureArgs extends CreateFeatureArgs, HasMaps, HasUITarget, EditOptions, EditUIOptions {
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Arguments for the "edit.display-update-features" operation. Web only.
|
|
112
|
+
*/
|
|
113
|
+
export interface DisplayUpdateFeatureArgs extends EditCommandArgs, HasGeometry, HasMaps, EditOptions {
|
|
114
|
+
/**
|
|
115
|
+
* A collection of attributes to automatically apply to the updated feature.
|
|
116
|
+
*/
|
|
117
|
+
featureAttributes?: Record<string, unknown>;
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* Arguments for the "edit.add-features", "edit.update-features" and
|
|
121
|
+
* "edit.delete-features" commands. Web only.
|
|
122
|
+
*/
|
|
123
|
+
export interface EditCommandArgs extends HasFeatures {
|
|
124
|
+
/**
|
|
125
|
+
* Whether to show UI notifications.
|
|
126
|
+
*/
|
|
127
|
+
showNotifications?: boolean;
|
|
128
|
+
}
|
|
47
129
|
export declare class EditCommands extends CommandRegistry {
|
|
48
130
|
/**
|
|
49
131
|
* Create and add an attachment to a provided feature, using the given
|
|
@@ -53,35 +135,38 @@ export declare class EditCommands extends CommandRegistry {
|
|
|
53
135
|
*/
|
|
54
136
|
get addAttachment(): Command<AddAttachmentArgs>;
|
|
55
137
|
/**
|
|
56
|
-
* Adds a feature to a particular layer.
|
|
57
|
-
*
|
|
58
|
-
* @mobileOnly
|
|
138
|
+
* Adds a feature to a particular layer. `Feature[]` and
|
|
139
|
+
* `EditCommandArgs` are not supported on Mobile.
|
|
59
140
|
*/
|
|
60
|
-
get addFeature(): Command<Feature>;
|
|
141
|
+
get addFeature(): Command<Feature | Feature[] | EditCommandArgs>;
|
|
61
142
|
/**
|
|
62
143
|
* Deletes the given feature or features from their feature sources.
|
|
63
|
-
*
|
|
64
|
-
* @mobileOnly
|
|
144
|
+
* `EditCommandArgs` is not supported on Mobile.
|
|
65
145
|
*/
|
|
66
|
-
get deleteFeatures(): Command<Feature | Feature[]>;
|
|
146
|
+
get deleteFeatures(): Command<Feature | Feature[] | EditCommandArgs>;
|
|
67
147
|
/**
|
|
68
|
-
* Display a form for adding a feature.
|
|
69
|
-
*
|
|
70
|
-
* @mobileOnly
|
|
148
|
+
* Display a form for adding a feature. `DisplayAddFeatureArgs` is not
|
|
149
|
+
* supported on Mobile.
|
|
71
150
|
*/
|
|
72
|
-
get displayAddFeature(): Command<FeatureSource>;
|
|
151
|
+
get displayAddFeature(): Command<FeatureSource | DisplayAddFeatureArgs>;
|
|
73
152
|
/**
|
|
74
|
-
* Display a form for updating a feature.
|
|
75
|
-
*
|
|
76
|
-
* @mobileOnly
|
|
153
|
+
* Display a form for updating a feature. `DisplayUpdateFeatureArgs` is not
|
|
154
|
+
* supported on Mobile.
|
|
77
155
|
*/
|
|
78
|
-
get displayUpdateFeature(): Command<Feature>;
|
|
156
|
+
get displayUpdateFeature(): Command<Feature | DisplayUpdateFeatureArgs>;
|
|
157
|
+
/**
|
|
158
|
+
* Updates a feature. `Feature[]` and `EditCommandArgs` are not
|
|
159
|
+
* supported on Mobile.
|
|
160
|
+
*/
|
|
161
|
+
get updateFeature(): Command<Feature | Feature[] | EditCommandArgs>;
|
|
162
|
+
}
|
|
163
|
+
export declare class EditOperations extends OperationRegistry {
|
|
79
164
|
/**
|
|
80
|
-
*
|
|
165
|
+
* Creates a new `Feature` for the supplied layer from the supplied data.
|
|
81
166
|
*
|
|
82
|
-
* @
|
|
167
|
+
* @webOnly
|
|
83
168
|
*/
|
|
84
|
-
get
|
|
169
|
+
get createFeature(): Operation<CreateFeatureArgs, HasFeatures>;
|
|
85
170
|
}
|
|
86
171
|
export declare class EditEvents extends EventRegistry {
|
|
87
172
|
/**
|
|
@@ -104,20 +189,14 @@ export declare class EditEvents extends EventRegistry {
|
|
|
104
189
|
get attachmentDeleted(): Event<AttachmentEventArgs>;
|
|
105
190
|
/**
|
|
106
191
|
* Raised when a feature is added.
|
|
107
|
-
*
|
|
108
|
-
* @mobileOnly
|
|
109
192
|
*/
|
|
110
193
|
get featureAdded(): Event<Feature>;
|
|
111
194
|
/**
|
|
112
195
|
* Raised when a feature is deleted.
|
|
113
|
-
*
|
|
114
|
-
* @mobileOnly
|
|
115
196
|
*/
|
|
116
197
|
get featureDeleted(): Event<Feature>;
|
|
117
198
|
/**
|
|
118
199
|
* Raised when a feature is updated.
|
|
119
|
-
*
|
|
120
|
-
* @mobileOnly
|
|
121
200
|
*/
|
|
122
201
|
get featureUpdated(): Event<Feature>;
|
|
123
202
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{CommandRegistry}from"../CommandRegistry.js";import{EventRegistry}from"../EventRegistry.js";export class EditCommands extends CommandRegistry{get addAttachment(){return this._messages.command("edit.add-attachment")}get addFeature(){return this._messages.command("edit.add-feature")}get deleteFeatures(){return this._messages.command("edit.delete-features")}get displayAddFeature(){return this._messages.command("edit.display-add-feature")}get displayUpdateFeature(){return this._messages.command("edit.display-update-feature")}get updateFeature(){return this._messages.command("edit.update-feature")}}export class EditEvents extends EventRegistry{get attachmentAdded(){return this._messages.event("edit.attachment-added")}get attachmentUpdated(){return this._messages.event("edit.attachment-updated")}get attachmentDeleted(){return this._messages.event("edit.attachment-deleted")}get featureAdded(){return this._messages.event("edit.feature-added")}get featureDeleted(){return this._messages.event("edit.feature-deleted")}get featureUpdated(){return this._messages.event("edit.feature-updated")}}
|
|
1
|
+
import{CommandRegistry}from"../CommandRegistry.js";import{EventRegistry}from"../EventRegistry.js";import{OperationRegistry}from"../OperationRegistry.js";export class EditCommands extends CommandRegistry{get addAttachment(){return this._messages.command("edit.add-attachment")}get addFeature(){return this._messages.command("edit.add-feature")}get deleteFeatures(){return this._messages.command("edit.delete-features")}get displayAddFeature(){return this._messages.command("edit.display-add-feature")}get displayUpdateFeature(){return this._messages.command("edit.display-update-feature")}get updateFeature(){return this._messages.command("edit.update-feature")}}export class EditOperations extends OperationRegistry{get createFeature(){return this._messages.operation("edit.create-feature")}}export class EditEvents extends EventRegistry{get attachmentAdded(){return this._messages.event("edit.attachment-added")}get attachmentUpdated(){return this._messages.event("edit.attachment-updated")}get attachmentDeleted(){return this._messages.event("edit.attachment-deleted")}get featureAdded(){return this._messages.event("edit.feature-added")}get featureDeleted(){return this._messages.event("edit.feature-deleted")}get featureUpdated(){return this._messages.event("edit.feature-updated")}}
|
|
@@ -351,6 +351,29 @@
|
|
|
351
351
|
},
|
|
352
352
|
"type": "object"
|
|
353
353
|
},
|
|
354
|
+
"@vertigis.arcgis-extensions.mapping._LayerExtension.LayerReference": {
|
|
355
|
+
"additionalProperties": false,
|
|
356
|
+
"description": "Matches an existing layer.",
|
|
357
|
+
"properties": {
|
|
358
|
+
"id": {
|
|
359
|
+
"description": "The layer's ID.",
|
|
360
|
+
"type": "string"
|
|
361
|
+
},
|
|
362
|
+
"path": {
|
|
363
|
+
"description": "The path to the geodatabase used by an MMAP layer. Mobile only.",
|
|
364
|
+
"type": "string"
|
|
365
|
+
},
|
|
366
|
+
"subtype": {
|
|
367
|
+
"description": "The Layer's type, used for Layer types with multiple possible layer extension mappings.",
|
|
368
|
+
"type": "string"
|
|
369
|
+
},
|
|
370
|
+
"title": {
|
|
371
|
+
"description": "The layer's title.",
|
|
372
|
+
"type": "string"
|
|
373
|
+
}
|
|
374
|
+
},
|
|
375
|
+
"type": "object"
|
|
376
|
+
},
|
|
354
377
|
"@vertigis.arcgis-extensions.support.FormatSettings.FormatSettingsProperties": {
|
|
355
378
|
"additionalProperties": false,
|
|
356
379
|
"description": "Properties that can be passed into the constructor for {@link FormatSettings}.",
|
|
@@ -708,6 +731,75 @@
|
|
|
708
731
|
},
|
|
709
732
|
"type": "object"
|
|
710
733
|
},
|
|
734
|
+
"DisplayAddFeatureArgs": {
|
|
735
|
+
"additionalProperties": false,
|
|
736
|
+
"description": "Arguments for the \"edit.display-add-features\" command. Web only.",
|
|
737
|
+
"properties": {
|
|
738
|
+
"attributes": {
|
|
739
|
+
"description": "Optional layout XML attributes to be used for the transient UI container."
|
|
740
|
+
},
|
|
741
|
+
"editAttachments": {
|
|
742
|
+
"description": "Whether to allow editing of feature attachments.",
|
|
743
|
+
"type": "boolean"
|
|
744
|
+
},
|
|
745
|
+
"editAttributes": {
|
|
746
|
+
"description": "Whether to allow editing of feature attributes.",
|
|
747
|
+
"type": "boolean"
|
|
748
|
+
},
|
|
749
|
+
"editGeometry": {
|
|
750
|
+
"description": "Whether to allow editing of feature geometry.",
|
|
751
|
+
"type": "boolean"
|
|
752
|
+
},
|
|
753
|
+
"editGeometryOptions": {
|
|
754
|
+
"$ref": "#/definitions/EditGeometryOptions",
|
|
755
|
+
"description": "Options for the geometry editing session."
|
|
756
|
+
},
|
|
757
|
+
"featureAttributes": {
|
|
758
|
+
"description": "A collection of attributes to apply to the new feature."
|
|
759
|
+
},
|
|
760
|
+
"geometry": {
|
|
761
|
+
"$ref": "#/definitions/GeometryLike",
|
|
762
|
+
"description": "The geometry to use for the command/operation."
|
|
763
|
+
},
|
|
764
|
+
"icon": {
|
|
765
|
+
"description": "Optional icon that may be used by the transient UI container.",
|
|
766
|
+
"type": "string"
|
|
767
|
+
},
|
|
768
|
+
"layers": {
|
|
769
|
+
"$ref": "#/definitions/LayersLike",
|
|
770
|
+
"description": "Layer(s) to use for the command/operation."
|
|
771
|
+
},
|
|
772
|
+
"maps": {
|
|
773
|
+
"$ref": "MapsLike",
|
|
774
|
+
"description": "Map(s) to use for the command/operation."
|
|
775
|
+
},
|
|
776
|
+
"orientation": {
|
|
777
|
+
"description": "The orientation of the template picker.",
|
|
778
|
+
"enum": [
|
|
779
|
+
"horizontal",
|
|
780
|
+
"vertical"
|
|
781
|
+
],
|
|
782
|
+
"type": "string"
|
|
783
|
+
},
|
|
784
|
+
"parent": {
|
|
785
|
+
"description": "The layout ID or ItemRef to target for the command/operation. This component will be the parent of the temporary UI that will be removed after the command/operation completes.",
|
|
786
|
+
"type": "string"
|
|
787
|
+
},
|
|
788
|
+
"showNotifications": {
|
|
789
|
+
"description": "Whether to show UI notifications.",
|
|
790
|
+
"type": "boolean"
|
|
791
|
+
},
|
|
792
|
+
"showTitles": {
|
|
793
|
+
"description": "Whether to show titles on the template picker.",
|
|
794
|
+
"type": "boolean"
|
|
795
|
+
},
|
|
796
|
+
"templateName": {
|
|
797
|
+
"description": "The template to use as a starting point for this feature. Requires a layer. The default or first template will be used if not set.",
|
|
798
|
+
"type": "string"
|
|
799
|
+
}
|
|
800
|
+
},
|
|
801
|
+
"type": "object"
|
|
802
|
+
},
|
|
711
803
|
"DisplayNotificationArgs": {
|
|
712
804
|
"additionalProperties": false,
|
|
713
805
|
"description": "The arguments for the `ui.display-notification` command.",
|
|
@@ -746,6 +838,63 @@
|
|
|
746
838
|
],
|
|
747
839
|
"type": "object"
|
|
748
840
|
},
|
|
841
|
+
"DisplayUpdateFeatureArgs": {
|
|
842
|
+
"additionalProperties": false,
|
|
843
|
+
"description": "Arguments for the \"edit.display-update-features\" operation. Web only.",
|
|
844
|
+
"properties": {
|
|
845
|
+
"editAttachments": {
|
|
846
|
+
"description": "Whether to allow editing of feature attachments.",
|
|
847
|
+
"type": "boolean"
|
|
848
|
+
},
|
|
849
|
+
"editAttributes": {
|
|
850
|
+
"description": "Whether to allow editing of feature attributes.",
|
|
851
|
+
"type": "boolean"
|
|
852
|
+
},
|
|
853
|
+
"editGeometry": {
|
|
854
|
+
"description": "Whether to allow editing of feature geometry.",
|
|
855
|
+
"type": "boolean"
|
|
856
|
+
},
|
|
857
|
+
"editGeometryOptions": {
|
|
858
|
+
"$ref": "#/definitions/EditGeometryOptions",
|
|
859
|
+
"description": "Options for the geometry editing session."
|
|
860
|
+
},
|
|
861
|
+
"featureAttributes": {
|
|
862
|
+
"description": "A collection of attributes to automatically apply to the updated feature."
|
|
863
|
+
},
|
|
864
|
+
"features": {
|
|
865
|
+
"$ref": "#/definitions/FeaturesLike",
|
|
866
|
+
"description": "Features to use for the command/operation."
|
|
867
|
+
},
|
|
868
|
+
"geometry": {
|
|
869
|
+
"$ref": "#/definitions/GeometryLike",
|
|
870
|
+
"description": "The geometry to use for the command/operation."
|
|
871
|
+
},
|
|
872
|
+
"maps": {
|
|
873
|
+
"$ref": "MapsLike",
|
|
874
|
+
"description": "Map(s) to use for the command/operation."
|
|
875
|
+
},
|
|
876
|
+
"showNotifications": {
|
|
877
|
+
"description": "Whether to show UI notifications.",
|
|
878
|
+
"type": "boolean"
|
|
879
|
+
}
|
|
880
|
+
},
|
|
881
|
+
"type": "object"
|
|
882
|
+
},
|
|
883
|
+
"EditCommandArgs": {
|
|
884
|
+
"additionalProperties": false,
|
|
885
|
+
"description": "Arguments for the \"edit.add-features\", \"edit.update-features\" and \"edit.delete-features\" commands. Web only.",
|
|
886
|
+
"properties": {
|
|
887
|
+
"features": {
|
|
888
|
+
"$ref": "#/definitions/FeaturesLike",
|
|
889
|
+
"description": "Features to use for the command/operation."
|
|
890
|
+
},
|
|
891
|
+
"showNotifications": {
|
|
892
|
+
"description": "Whether to show UI notifications.",
|
|
893
|
+
"type": "boolean"
|
|
894
|
+
}
|
|
895
|
+
},
|
|
896
|
+
"type": "object"
|
|
897
|
+
},
|
|
749
898
|
"EditGeometryArgs": {
|
|
750
899
|
"additionalProperties": false,
|
|
751
900
|
"description": "Arguments for the \"sketching.edit-geometry\" operation.",
|
|
@@ -1301,6 +1450,54 @@
|
|
|
1301
1450
|
"description": "A set of parameters used to run a job.",
|
|
1302
1451
|
"type": "object"
|
|
1303
1452
|
},
|
|
1453
|
+
"LayersLike": {
|
|
1454
|
+
"anyOf": [
|
|
1455
|
+
{
|
|
1456
|
+
"$ref": "#/definitions/esri.Layer"
|
|
1457
|
+
},
|
|
1458
|
+
{
|
|
1459
|
+
"$ref": "esri.SublayerLike"
|
|
1460
|
+
},
|
|
1461
|
+
{
|
|
1462
|
+
"$ref": "#/definitions/@vertigis.arcgis-extensions.mapping._LayerExtension.LayerReference"
|
|
1463
|
+
},
|
|
1464
|
+
{
|
|
1465
|
+
"$ref": "@vertigis.arcgis-extensions.mapping._LayerExtension.LayerExtension"
|
|
1466
|
+
},
|
|
1467
|
+
{
|
|
1468
|
+
"$ref": "@vertigis.arcgis-extensions.mapping._SublayerExtension.SublayerExtension"
|
|
1469
|
+
},
|
|
1470
|
+
{
|
|
1471
|
+
"items": {
|
|
1472
|
+
"anyOf": [
|
|
1473
|
+
{
|
|
1474
|
+
"$ref": "#/definitions/esri.Layer"
|
|
1475
|
+
},
|
|
1476
|
+
{
|
|
1477
|
+
"$ref": "esri.SublayerLike"
|
|
1478
|
+
},
|
|
1479
|
+
{
|
|
1480
|
+
"$ref": "#/definitions/@vertigis.arcgis-extensions.mapping._LayerExtension.LayerReference"
|
|
1481
|
+
},
|
|
1482
|
+
{
|
|
1483
|
+
"$ref": "@vertigis.arcgis-extensions.mapping._LayerExtension.LayerExtension"
|
|
1484
|
+
},
|
|
1485
|
+
{
|
|
1486
|
+
"$ref": "@vertigis.arcgis-extensions.mapping._SublayerExtension.SublayerExtension"
|
|
1487
|
+
},
|
|
1488
|
+
{
|
|
1489
|
+
"type": "string"
|
|
1490
|
+
}
|
|
1491
|
+
]
|
|
1492
|
+
},
|
|
1493
|
+
"type": "array"
|
|
1494
|
+
},
|
|
1495
|
+
{
|
|
1496
|
+
"type": "string"
|
|
1497
|
+
}
|
|
1498
|
+
],
|
|
1499
|
+
"description": "One or more objects that are convertible to layer extensions."
|
|
1500
|
+
},
|
|
1304
1501
|
"MapRotateArgs": {
|
|
1305
1502
|
"additionalProperties": false,
|
|
1306
1503
|
"description": "Arguments for the \"map.rotate-by\" and \"map.rotate-to\" commands.",
|
|
@@ -2021,6 +2218,104 @@
|
|
|
2021
2218
|
"drawing.set-sync:input": {
|
|
2022
2219
|
"type": "boolean"
|
|
2023
2220
|
},
|
|
2221
|
+
"edit.add-feature": {
|
|
2222
|
+
"description": "Adds a feature to a particular layer. `Feature[]` and `EditCommandArgs` are not supported on Mobile.",
|
|
2223
|
+
"enum": [
|
|
2224
|
+
"edit.add-feature"
|
|
2225
|
+
]
|
|
2226
|
+
},
|
|
2227
|
+
"edit.add-feature:input": {
|
|
2228
|
+
"anyOf": [
|
|
2229
|
+
{
|
|
2230
|
+
"$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
|
|
2231
|
+
},
|
|
2232
|
+
{
|
|
2233
|
+
"$ref": "#/definitions/EditCommandArgs"
|
|
2234
|
+
},
|
|
2235
|
+
{
|
|
2236
|
+
"items": {
|
|
2237
|
+
"$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
|
|
2238
|
+
},
|
|
2239
|
+
"type": "array"
|
|
2240
|
+
}
|
|
2241
|
+
]
|
|
2242
|
+
},
|
|
2243
|
+
"edit.delete-features": {
|
|
2244
|
+
"description": "Deletes the given feature or features from their feature sources. `EditCommandArgs` is not supported on Mobile.",
|
|
2245
|
+
"enum": [
|
|
2246
|
+
"edit.delete-features"
|
|
2247
|
+
]
|
|
2248
|
+
},
|
|
2249
|
+
"edit.delete-features:input": {
|
|
2250
|
+
"anyOf": [
|
|
2251
|
+
{
|
|
2252
|
+
"$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
|
|
2253
|
+
},
|
|
2254
|
+
{
|
|
2255
|
+
"$ref": "#/definitions/EditCommandArgs"
|
|
2256
|
+
},
|
|
2257
|
+
{
|
|
2258
|
+
"items": {
|
|
2259
|
+
"$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
|
|
2260
|
+
},
|
|
2261
|
+
"type": "array"
|
|
2262
|
+
}
|
|
2263
|
+
]
|
|
2264
|
+
},
|
|
2265
|
+
"edit.display-add-feature": {
|
|
2266
|
+
"description": "Display a form for adding a feature. `DisplayAddFeatureArgs` is not supported on Mobile.",
|
|
2267
|
+
"enum": [
|
|
2268
|
+
"edit.display-add-feature"
|
|
2269
|
+
]
|
|
2270
|
+
},
|
|
2271
|
+
"edit.display-add-feature:input": {
|
|
2272
|
+
"anyOf": [
|
|
2273
|
+
{
|
|
2274
|
+
"$ref": "@vertigis.arcgis-extensions.data.FeatureSource.FeatureSource"
|
|
2275
|
+
},
|
|
2276
|
+
{
|
|
2277
|
+
"$ref": "#/definitions/DisplayAddFeatureArgs"
|
|
2278
|
+
}
|
|
2279
|
+
]
|
|
2280
|
+
},
|
|
2281
|
+
"edit.display-update-feature": {
|
|
2282
|
+
"description": "Display a form for updating a feature. `DisplayUpdateFeatureArgs` is not supported on Mobile.",
|
|
2283
|
+
"enum": [
|
|
2284
|
+
"edit.display-update-feature"
|
|
2285
|
+
]
|
|
2286
|
+
},
|
|
2287
|
+
"edit.display-update-feature:input": {
|
|
2288
|
+
"anyOf": [
|
|
2289
|
+
{
|
|
2290
|
+
"$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
|
|
2291
|
+
},
|
|
2292
|
+
{
|
|
2293
|
+
"$ref": "#/definitions/DisplayUpdateFeatureArgs"
|
|
2294
|
+
}
|
|
2295
|
+
]
|
|
2296
|
+
},
|
|
2297
|
+
"edit.update-feature": {
|
|
2298
|
+
"description": "Updates a feature. `Feature[]` and `EditCommandArgs` are not supported on Mobile.",
|
|
2299
|
+
"enum": [
|
|
2300
|
+
"edit.update-feature"
|
|
2301
|
+
]
|
|
2302
|
+
},
|
|
2303
|
+
"edit.update-feature:input": {
|
|
2304
|
+
"anyOf": [
|
|
2305
|
+
{
|
|
2306
|
+
"$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
|
|
2307
|
+
},
|
|
2308
|
+
{
|
|
2309
|
+
"$ref": "#/definitions/EditCommandArgs"
|
|
2310
|
+
},
|
|
2311
|
+
{
|
|
2312
|
+
"items": {
|
|
2313
|
+
"$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
|
|
2314
|
+
},
|
|
2315
|
+
"type": "array"
|
|
2316
|
+
}
|
|
2317
|
+
]
|
|
2318
|
+
},
|
|
2024
2319
|
"esri.Extent": {
|
|
2025
2320
|
"$ref": "esri/geometry/Extent"
|
|
2026
2321
|
},
|
|
@@ -11554,6 +11849,86 @@
|
|
|
11554
11849
|
],
|
|
11555
11850
|
"type": "object"
|
|
11556
11851
|
},
|
|
11852
|
+
{
|
|
11853
|
+
"additionalProperties": false,
|
|
11854
|
+
"properties": {
|
|
11855
|
+
"arguments": {
|
|
11856
|
+
"$ref": "#/definitions/edit.add-feature:input"
|
|
11857
|
+
},
|
|
11858
|
+
"name": {
|
|
11859
|
+
"$ref": "#/definitions/edit.add-feature"
|
|
11860
|
+
}
|
|
11861
|
+
},
|
|
11862
|
+
"required": [
|
|
11863
|
+
"name",
|
|
11864
|
+
"arguments"
|
|
11865
|
+
],
|
|
11866
|
+
"type": "object"
|
|
11867
|
+
},
|
|
11868
|
+
{
|
|
11869
|
+
"additionalProperties": false,
|
|
11870
|
+
"properties": {
|
|
11871
|
+
"arguments": {
|
|
11872
|
+
"$ref": "#/definitions/edit.delete-features:input"
|
|
11873
|
+
},
|
|
11874
|
+
"name": {
|
|
11875
|
+
"$ref": "#/definitions/edit.delete-features"
|
|
11876
|
+
}
|
|
11877
|
+
},
|
|
11878
|
+
"required": [
|
|
11879
|
+
"name",
|
|
11880
|
+
"arguments"
|
|
11881
|
+
],
|
|
11882
|
+
"type": "object"
|
|
11883
|
+
},
|
|
11884
|
+
{
|
|
11885
|
+
"additionalProperties": false,
|
|
11886
|
+
"properties": {
|
|
11887
|
+
"arguments": {
|
|
11888
|
+
"$ref": "#/definitions/edit.display-add-feature:input"
|
|
11889
|
+
},
|
|
11890
|
+
"name": {
|
|
11891
|
+
"$ref": "#/definitions/edit.display-add-feature"
|
|
11892
|
+
}
|
|
11893
|
+
},
|
|
11894
|
+
"required": [
|
|
11895
|
+
"name",
|
|
11896
|
+
"arguments"
|
|
11897
|
+
],
|
|
11898
|
+
"type": "object"
|
|
11899
|
+
},
|
|
11900
|
+
{
|
|
11901
|
+
"additionalProperties": false,
|
|
11902
|
+
"properties": {
|
|
11903
|
+
"arguments": {
|
|
11904
|
+
"$ref": "#/definitions/edit.display-update-feature:input"
|
|
11905
|
+
},
|
|
11906
|
+
"name": {
|
|
11907
|
+
"$ref": "#/definitions/edit.display-update-feature"
|
|
11908
|
+
}
|
|
11909
|
+
},
|
|
11910
|
+
"required": [
|
|
11911
|
+
"name",
|
|
11912
|
+
"arguments"
|
|
11913
|
+
],
|
|
11914
|
+
"type": "object"
|
|
11915
|
+
},
|
|
11916
|
+
{
|
|
11917
|
+
"additionalProperties": false,
|
|
11918
|
+
"properties": {
|
|
11919
|
+
"arguments": {
|
|
11920
|
+
"$ref": "#/definitions/edit.update-feature:input"
|
|
11921
|
+
},
|
|
11922
|
+
"name": {
|
|
11923
|
+
"$ref": "#/definitions/edit.update-feature"
|
|
11924
|
+
}
|
|
11925
|
+
},
|
|
11926
|
+
"required": [
|
|
11927
|
+
"name",
|
|
11928
|
+
"arguments"
|
|
11929
|
+
],
|
|
11930
|
+
"type": "object"
|
|
11931
|
+
},
|
|
11557
11932
|
{
|
|
11558
11933
|
"additionalProperties": false,
|
|
11559
11934
|
"properties": {
|
|
@@ -12190,6 +12565,21 @@
|
|
|
12190
12565
|
{
|
|
12191
12566
|
"$ref": "#/definitions/drawing.set-sync"
|
|
12192
12567
|
},
|
|
12568
|
+
{
|
|
12569
|
+
"$ref": "#/definitions/edit.add-feature"
|
|
12570
|
+
},
|
|
12571
|
+
{
|
|
12572
|
+
"$ref": "#/definitions/edit.delete-features"
|
|
12573
|
+
},
|
|
12574
|
+
{
|
|
12575
|
+
"$ref": "#/definitions/edit.display-add-feature"
|
|
12576
|
+
},
|
|
12577
|
+
{
|
|
12578
|
+
"$ref": "#/definitions/edit.display-update-feature"
|
|
12579
|
+
},
|
|
12580
|
+
{
|
|
12581
|
+
"$ref": "#/definitions/edit.update-feature"
|
|
12582
|
+
},
|
|
12193
12583
|
{
|
|
12194
12584
|
"$ref": "#/definitions/geocode.count"
|
|
12195
12585
|
},
|