@vertigis/viewer-spec 53.0.0 → 53.2.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/app-config/web/QueryBuilderModelProperties.d.ts +16 -0
- package/app-config/web/QueryBuilderModelProperties.js +1 -0
- package/layout/schema/layout-web.xsd +56 -3
- package/messaging/common.d.ts +22 -0
- package/messaging/registry/Commands.d.ts +4 -0
- package/messaging/registry/Commands.js +1 -1
- package/messaging/registry/Operations.d.ts +4 -0
- package/messaging/registry/Operations.js +1 -1
- package/messaging/registry/drawing.d.ts +3 -12
- package/messaging/registry/filter-builder.d.ts +70 -0
- package/messaging/registry/filter-builder.js +1 -0
- package/messaging/registry/layers.d.ts +83 -2
- package/messaging/registry/layers.js +1 -1
- package/messaging/registry/query-builder.d.ts +75 -0
- package/messaging/registry/query-builder.js +1 -0
- package/messaging/registry/results.d.ts +33 -17
- package/messaging/registry/results.js +1 -1
- package/messaging/registry/system.d.ts +8 -1
- package/messaging/registry/system.js +1 -1
- package/messaging/registry/tasks.d.ts +58 -0
- package/messaging/registry/tasks.js +1 -1
- package/messaging/registry/ui.d.ts +3 -3
- package/messaging/schema/common-action.schema.json +151 -2
- package/messaging/schema/mobile-action.schema.json +151 -2
- package/messaging/schema/mobile-event.schema.json +2 -2
- package/messaging/schema/web-action.schema.json +1183 -36
- package/messaging/schema/web-event.schema.json +2 -2
- package/package.json +2 -2
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -6,8 +6,9 @@ import type { Attachment } from "@vertigis/arcgis-extensions/data/Attachment";
|
|
|
6
6
|
import type { Feature } from "@vertigis/arcgis-extensions/data/Feature";
|
|
7
7
|
import type { FeatureSettingsProperties } from "@vertigis/arcgis-extensions/data/FeatureSettings";
|
|
8
8
|
import type { FeatureSource } from "@vertigis/arcgis-extensions/data/FeatureSource";
|
|
9
|
+
import type { FeatureStream } from "@vertigis/arcgis-extensions/data/FeatureStream.js";
|
|
9
10
|
import type { SchemaProperties } from "@vertigis/arcgis-extensions/data/Schema";
|
|
10
|
-
import type { FromCsvOptions, FromShapefileOptions, FromXLSXOptions, ToCsvOptions, ToShapefileOptions, ToXLSXOptions } from "@vertigis/arcgis-extensions/data/convert";
|
|
11
|
+
import type { FromCsvOptions, FromShapefileOptions, FromXLSXOptions, ToCsvOptions, ToShapefileOptions, ToXLSXOptions, UploadDataOptions } from "@vertigis/arcgis-extensions/data/convert";
|
|
11
12
|
import type { QueryOptions } from "@vertigis/arcgis-extensions/tasks/query/QueryOptions";
|
|
12
13
|
import type { CardSize, ViewMode } from "../../app-config/web/ResultsModelProperties.js";
|
|
13
14
|
import type { Command } from "../Command.js";
|
|
@@ -16,7 +17,7 @@ import type { Event } from "../Event.js";
|
|
|
16
17
|
import { EventRegistry } from "../EventRegistry.js";
|
|
17
18
|
import type { Operation } from "../Operation.js";
|
|
18
19
|
import { OperationRegistry } from "../OperationRegistry.js";
|
|
19
|
-
import type { Blob, Features, FeaturesLike, File, GraphicsLike, HasFeatures, MapsLike, ModelRef } from "../common.js";
|
|
20
|
+
import type { Blob, Features, FeaturesLike, File, GraphicsLike, HasFeatures, HasFiles, MapsLike, ModelRef } from "../common.js";
|
|
20
21
|
import type { VisualElement } from "../mobile.js";
|
|
21
22
|
/**
|
|
22
23
|
* Well known Results Set Ids.
|
|
@@ -63,13 +64,18 @@ export interface ToCsvConversionArgs extends ToCsvOptions {
|
|
|
63
64
|
features: Features;
|
|
64
65
|
}
|
|
65
66
|
/**
|
|
66
|
-
*
|
|
67
|
+
* Arguements for the "results.upload-data-args-to-feature" operation.
|
|
67
68
|
*/
|
|
68
|
-
export interface
|
|
69
|
+
export interface UploadDataArgs extends UploadDataOptions {
|
|
69
70
|
/**
|
|
70
|
-
*
|
|
71
|
+
* A title for this dataset.
|
|
71
72
|
*/
|
|
72
|
-
|
|
73
|
+
title?: string;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Arguments for the "results.from-csv" operation.
|
|
77
|
+
*/
|
|
78
|
+
export interface FromCsvConversionArgs extends FromCsvOptions, HasFiles {
|
|
73
79
|
}
|
|
74
80
|
/**
|
|
75
81
|
* Arguments for the "results.convert-to-xlsx" operation.
|
|
@@ -83,11 +89,7 @@ export interface ToXLSXConversionArgs extends ToXLSXOptions {
|
|
|
83
89
|
/**
|
|
84
90
|
* Arguments for the "results.from-xlsx" operation.
|
|
85
91
|
*/
|
|
86
|
-
export interface FromXLSXConversionArgs extends FromXLSXOptions {
|
|
87
|
-
/**
|
|
88
|
-
* The blob(s) that contains the xlsx file.
|
|
89
|
-
*/
|
|
90
|
-
blobs: Blob[];
|
|
92
|
+
export interface FromXLSXConversionArgs extends FromXLSXOptions, HasFiles {
|
|
91
93
|
}
|
|
92
94
|
/**
|
|
93
95
|
* Arguments for the "results.convert-to-shapefile" operation.
|
|
@@ -101,11 +103,7 @@ export interface ToShapefileConversionArgs extends ToShapefileOptions {
|
|
|
101
103
|
/**
|
|
102
104
|
* Arguments for the "results.from-shapefile" operation.
|
|
103
105
|
*/
|
|
104
|
-
export interface FromShapefileConversionArgs extends FromShapefileOptions {
|
|
105
|
-
/**
|
|
106
|
-
* The blob(s) that contains the Shapefile file.
|
|
107
|
-
*/
|
|
108
|
-
blobs: Blob[];
|
|
106
|
+
export interface FromShapefileConversionArgs extends FromShapefileOptions, HasFiles {
|
|
109
107
|
}
|
|
110
108
|
/**
|
|
111
109
|
* Arguments for the "results.convert-to-layers" operation.
|
|
@@ -477,6 +475,13 @@ export declare class ResultsEvents extends EventRegistry {
|
|
|
477
475
|
get relatedDetailsShown(): Event<FeatureDetailsEvent>;
|
|
478
476
|
}
|
|
479
477
|
export declare class ResultsOperations extends OperationRegistry {
|
|
478
|
+
/**
|
|
479
|
+
* Display a dialog to configure the arguements for the upload layer
|
|
480
|
+
* operation.
|
|
481
|
+
*
|
|
482
|
+
* @webOnly
|
|
483
|
+
*/
|
|
484
|
+
get configureUploadData(): Operation<UploadDataArgs[], UploadDataArgs[]>;
|
|
480
485
|
/**
|
|
481
486
|
* Check if features are contained in the specified results.
|
|
482
487
|
*
|
|
@@ -523,7 +528,18 @@ export declare class ResultsOperations extends OperationRegistry {
|
|
|
523
528
|
*
|
|
524
529
|
* @webOnly
|
|
525
530
|
*/
|
|
526
|
-
get fromFiles(): Operation<File[]
|
|
531
|
+
get fromFiles(): Operation<FromConverterArgs | File[], Features>;
|
|
532
|
+
/**
|
|
533
|
+
* Convert the specified csv, xlsx or shapefile files to args that can be
|
|
534
|
+
* used to create Features.
|
|
535
|
+
*
|
|
536
|
+
* @webOnly
|
|
537
|
+
*/
|
|
538
|
+
get uploadDataFromFiles(): Operation<FromConverterArgs | File[], UploadDataArgs[]>;
|
|
539
|
+
/**
|
|
540
|
+
* Convert the supplied upload data args to features.
|
|
541
|
+
*/
|
|
542
|
+
get uploadDataToFeatures(): Operation<UploadDataArgs[], FeatureStream[]>;
|
|
527
543
|
/**
|
|
528
544
|
* Convert the specified Shapefile blob to Features.
|
|
529
545
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{CommandRegistry as e}from"../CommandRegistry.js";import{EventRegistry as s}from"../EventRegistry.js";import{OperationRegistry as t}from"../OperationRegistry.js";export var KnownResultSetIds;!function(e){e.STARRED="vgs-starred"}(KnownResultSetIds||(KnownResultSetIds={}));export class ResultsCommands extends e{get activateDisplayComponents(){return this._messages.command("results.activate-display-components")}get display(){return this._messages.command("results.display")}get setDisplayComponents(){return this._messages.command("results.set-display-components")}get displayDetails(){return this._messages.command("results.display-details")}get displaySummary(){return this._messages.command("results.display-summary")}get displayNewDetails(){return this._messages.command("results.display-new-details")}get add(){return this._messages.command("results.add")}get intersect(){return this._messages.command("results.intersect")}get remove(){return this._messages.command("results.remove")}get clear(){return this._messages.command("results.clear")}get clearDetails(){return this._messages.command("results.clear-details")}get hideDetails(){return this._messages.command("results.hide-details")}get openAttachment(){return this._messages.command("results.open-attachment")}get refresh(){return this._messages.command("results.refresh")}get setListViewMode(){return this._messages.command("results.set-list-view-mode")}get setListCardSize(){return this._messages.command("results.set-list-card-size")}}export class ResultsEvents extends s{get changed(){return this._messages.event("results.changed")}get displayed(){return this._messages.event("results.displayed")}get attachmentOpened(){return this._messages.event("results.attachment-opened")}get detailsShown(){return this._messages.event("results.details-shown")}get relatedDetailsShown(){return this._messages.event("results.related-details-shown")}}export class ResultsOperations extends t{get contains(){return this._messages.operation("results.contains")}get convertToCsv(){return this._messages.operation("results.convert-to-csv")}get convertToXlsx(){return this._messages.operation("results.convert-to-xlsx")}get convertToShapefile(){return this._messages.operation("results.convert-to-shapefile")}get convertToLayers(){return this._messages.operation("results.convert-to-layers")}get fromCsv(){return this._messages.operation("results.from-csv")}get fromFiles(){return this._messages.operation("results.from-files")}get fromShapefile(){return this._messages.operation("results.from-shapefile")}get fromXlsx(){return this._messages.operation("results.from-xlsx")}get fromGraphics(){return this._messages.operation("results.from-graphics")}get toGraphics(){return this._messages.operation("results.to-graphics")}get getFeatures(){return this._messages.operation("results.get-features")}get filter(){return this._messages.operation("results.filter")}}
|
|
1
|
+
import{CommandRegistry as e}from"../CommandRegistry.js";import{EventRegistry as s}from"../EventRegistry.js";import{OperationRegistry as t}from"../OperationRegistry.js";export var KnownResultSetIds;!function(e){e.STARRED="vgs-starred"}(KnownResultSetIds||(KnownResultSetIds={}));export class ResultsCommands extends e{get activateDisplayComponents(){return this._messages.command("results.activate-display-components")}get display(){return this._messages.command("results.display")}get setDisplayComponents(){return this._messages.command("results.set-display-components")}get displayDetails(){return this._messages.command("results.display-details")}get displaySummary(){return this._messages.command("results.display-summary")}get displayNewDetails(){return this._messages.command("results.display-new-details")}get add(){return this._messages.command("results.add")}get intersect(){return this._messages.command("results.intersect")}get remove(){return this._messages.command("results.remove")}get clear(){return this._messages.command("results.clear")}get clearDetails(){return this._messages.command("results.clear-details")}get hideDetails(){return this._messages.command("results.hide-details")}get openAttachment(){return this._messages.command("results.open-attachment")}get refresh(){return this._messages.command("results.refresh")}get setListViewMode(){return this._messages.command("results.set-list-view-mode")}get setListCardSize(){return this._messages.command("results.set-list-card-size")}}export class ResultsEvents extends s{get changed(){return this._messages.event("results.changed")}get displayed(){return this._messages.event("results.displayed")}get attachmentOpened(){return this._messages.event("results.attachment-opened")}get detailsShown(){return this._messages.event("results.details-shown")}get relatedDetailsShown(){return this._messages.event("results.related-details-shown")}}export class ResultsOperations extends t{get configureUploadData(){return this._messages.operation("results.configure-upload-data")}get contains(){return this._messages.operation("results.contains")}get convertToCsv(){return this._messages.operation("results.convert-to-csv")}get convertToXlsx(){return this._messages.operation("results.convert-to-xlsx")}get convertToShapefile(){return this._messages.operation("results.convert-to-shapefile")}get convertToLayers(){return this._messages.operation("results.convert-to-layers")}get fromCsv(){return this._messages.operation("results.from-csv")}get fromFiles(){return this._messages.operation("results.from-files")}get uploadDataFromFiles(){return this._messages.operation("results.upload-data-from-files")}get uploadDataToFeatures(){return this._messages.operation("results.upload-data-to-features")}get fromShapefile(){return this._messages.operation("results.from-shapefile")}get fromXlsx(){return this._messages.operation("results.from-xlsx")}get fromGraphics(){return this._messages.operation("results.from-graphics")}get toGraphics(){return this._messages.operation("results.to-graphics")}get getFeatures(){return this._messages.operation("results.get-features")}get filter(){return this._messages.operation("results.filter")}}
|
|
@@ -5,7 +5,7 @@ import type { Event } from "../Event.js";
|
|
|
5
5
|
import { EventRegistry } from "../EventRegistry.js";
|
|
6
6
|
import type { Operation } from "../Operation.js";
|
|
7
7
|
import { OperationRegistry } from "../OperationRegistry.js";
|
|
8
|
-
import type { Blob, File, HasFeatures, HasGeometry, HasLayers, HasMaps, HasUITarget } from "../common.js";
|
|
8
|
+
import type { Blob, File, HasFeatures, HasFiles, HasGeometry, HasLayers, HasMaps, HasUITarget } from "../common.js";
|
|
9
9
|
/**
|
|
10
10
|
* Arguments for the system.download-file operation.
|
|
11
11
|
*/
|
|
@@ -234,6 +234,13 @@ export declare class SystemOperations extends OperationRegistry {
|
|
|
234
234
|
* @webOnly
|
|
235
235
|
*/
|
|
236
236
|
get readFile(): Operation<ReadFileArgs, File[]>;
|
|
237
|
+
/**
|
|
238
|
+
* A synonym for `system.read-file` that attaches the output to an args
|
|
239
|
+
* object for use in command chains.
|
|
240
|
+
*
|
|
241
|
+
* @webOnly
|
|
242
|
+
*/
|
|
243
|
+
get readFiles(): Operation<ReadFileArgs, HasFiles>;
|
|
237
244
|
/**
|
|
238
245
|
* Creates a link to share the shallow state of the application, including
|
|
239
246
|
* map position and scale, layer visibility and current basemap.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{CommandRegistry as e}from"../CommandRegistry.js";import{EventRegistry as s}from"../EventRegistry.js";import{OperationRegistry as t}from"../OperationRegistry.js";export var HapticStyle;!function(e){e.LIGHT="light",e.MEDIUM="medium",e.HEAVY="heavy",e.SUCCESS="success",e.WARNING="warning",e.ERROR="error"}(HapticStyle||(HapticStyle={}));export class SystemCommands extends e{get displaySharingLink(){return this._messages.command("system.display-sharing-link")}get downloadFile(){return this._messages.command("system.download-file")}get openUrl(){return this._messages.command("system.open-url")}get keepScreenOn(){return this._messages.command("system.keep-screen-on")}get enableBackgroundLocationUpdates(){return this._messages.command("system.enable-background-location-updates")}get disableBackgroundLocationUpdates(){return this._messages.command("system.disable-background-location-updates")}get haptics(){return this._messages.command("system.haptics")}}export class SystemOperations extends t{get readUrl(){return this._messages.operation("system.read-url")}get readFile(){return this._messages.operation("system.read-file")}get getSharingLink(){return this._messages.operation("system.get-sharing-link")}}export class SystemEvents extends s{get backgroundLocationUpdatesEnabled(){return this._messages.event("system.background-location-updates-enabled")}get backgroundLocationUpdatesDisabled(){return this._messages.event("system.background-location-updates-disabled")}get urlOpened(){return this._messages.event("system.url-opened")}}
|
|
1
|
+
import{CommandRegistry as e}from"../CommandRegistry.js";import{EventRegistry as s}from"../EventRegistry.js";import{OperationRegistry as t}from"../OperationRegistry.js";export var HapticStyle;!function(e){e.LIGHT="light",e.MEDIUM="medium",e.HEAVY="heavy",e.SUCCESS="success",e.WARNING="warning",e.ERROR="error"}(HapticStyle||(HapticStyle={}));export class SystemCommands extends e{get displaySharingLink(){return this._messages.command("system.display-sharing-link")}get downloadFile(){return this._messages.command("system.download-file")}get openUrl(){return this._messages.command("system.open-url")}get keepScreenOn(){return this._messages.command("system.keep-screen-on")}get enableBackgroundLocationUpdates(){return this._messages.command("system.enable-background-location-updates")}get disableBackgroundLocationUpdates(){return this._messages.command("system.disable-background-location-updates")}get haptics(){return this._messages.command("system.haptics")}}export class SystemOperations extends t{get readUrl(){return this._messages.operation("system.read-url")}get readFile(){return this._messages.operation("system.read-file")}get readFiles(){return this._messages.operation("system.read-files")}get getSharingLink(){return this._messages.operation("system.get-sharing-link")}}export class SystemEvents extends s{get backgroundLocationUpdatesEnabled(){return this._messages.event("system.background-location-updates-enabled")}get backgroundLocationUpdatesDisabled(){return this._messages.event("system.background-location-updates-disabled")}get urlOpened(){return this._messages.event("system.url-opened")}}
|
|
@@ -134,6 +134,43 @@ export interface IdentifyArgs {
|
|
|
134
134
|
*/
|
|
135
135
|
polyTolerance?: number;
|
|
136
136
|
}
|
|
137
|
+
/**
|
|
138
|
+
* Arguments for the tasks.query operation.
|
|
139
|
+
*/
|
|
140
|
+
export interface QueryArgs {
|
|
141
|
+
/**
|
|
142
|
+
* The feature source to query.
|
|
143
|
+
*/
|
|
144
|
+
source: FeatureSource;
|
|
145
|
+
/**
|
|
146
|
+
* The where clause to query by.
|
|
147
|
+
*/
|
|
148
|
+
where: string;
|
|
149
|
+
/**
|
|
150
|
+
* The geometry to query by.
|
|
151
|
+
*/
|
|
152
|
+
geometry?: GeometryLike;
|
|
153
|
+
/**
|
|
154
|
+
* Whether geometry for features should be returned.
|
|
155
|
+
*/
|
|
156
|
+
returnGeometry?: boolean;
|
|
157
|
+
/**
|
|
158
|
+
* Fields that should be returned for each feature.
|
|
159
|
+
*/
|
|
160
|
+
outFields?: string[];
|
|
161
|
+
/**
|
|
162
|
+
* The spatial reference for the returned geometry.
|
|
163
|
+
*/
|
|
164
|
+
outSpatialReference?: SpatialReference;
|
|
165
|
+
/**
|
|
166
|
+
* The maximum allowable offset used for generalizing returned geometries.
|
|
167
|
+
*/
|
|
168
|
+
maxAllowableOffset?: number;
|
|
169
|
+
/**
|
|
170
|
+
* The maximum number of results to return.
|
|
171
|
+
*/
|
|
172
|
+
maxResults?: number;
|
|
173
|
+
}
|
|
137
174
|
/**
|
|
138
175
|
* The arguments for the tasks.supports-identify operation.
|
|
139
176
|
*/
|
|
@@ -151,6 +188,15 @@ export interface SupportsIdentifyArgs {
|
|
|
151
188
|
*/
|
|
152
189
|
options?: IdentifyOptions;
|
|
153
190
|
}
|
|
191
|
+
/**
|
|
192
|
+
* The arguments for the tasks.supports-identify operation.
|
|
193
|
+
*/
|
|
194
|
+
export interface SupportsQueryArgs {
|
|
195
|
+
/**
|
|
196
|
+
* The feature source to query.
|
|
197
|
+
*/
|
|
198
|
+
source: FeatureSource;
|
|
199
|
+
}
|
|
154
200
|
export declare class TasksEvents extends EventRegistry {
|
|
155
201
|
/**
|
|
156
202
|
* Raised when an identify task has been executed.
|
|
@@ -176,6 +222,18 @@ export declare class TasksOperations extends OperationRegistry {
|
|
|
176
222
|
* @webOnly
|
|
177
223
|
*/
|
|
178
224
|
get supportsIdentify(): Operation<FeatureSource | SupportsIdentifyArgs, boolean>;
|
|
225
|
+
/**
|
|
226
|
+
* Returns features that match the supplied where clause.
|
|
227
|
+
*
|
|
228
|
+
* @webOnly
|
|
229
|
+
*/
|
|
230
|
+
get query(): Operation<QueryArgs, Features>;
|
|
231
|
+
/**
|
|
232
|
+
* Returns a boolean depicting whether a FeatureSource supports query.
|
|
233
|
+
*
|
|
234
|
+
* @webOnly
|
|
235
|
+
*/
|
|
236
|
+
get supportsQuery(): Operation<FeatureSource | SupportsQueryArgs, boolean>;
|
|
179
237
|
/**
|
|
180
238
|
* Returns features that match the given search text.
|
|
181
239
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{EventRegistry as
|
|
1
|
+
import{EventRegistry as s}from"../EventRegistry.js";import{OperationRegistry as e}from"../OperationRegistry.js";export class TasksEvents extends s{get identified(){return this._messages.event("tasks.identified")}get reverseGeocoded(){return this._messages.event("tasks.reverse-geocoded")}}export class TasksOperations extends e{get identify(){return this._messages.operation("tasks.identify")}get supportsIdentify(){return this._messages.operation("tasks.supports-identify")}get query(){return this._messages.operation("tasks.query")}get supportsQuery(){return this._messages.operation("tasks.supports-query")}get search(){return this._messages.operation("tasks.search")}get supportsSearch(){return this._messages.operation("tasks.supports-search")}}
|
|
@@ -120,7 +120,7 @@ export declare enum NotificationType {
|
|
|
120
120
|
/**
|
|
121
121
|
* Automatically choose whether to display an app notification or system
|
|
122
122
|
* notification. If the app is in the background, a system notification will
|
|
123
|
-
* be shown. If the app is in the foreground, an in-app
|
|
123
|
+
* be shown. If the app is in the foreground, an in-app notification will be
|
|
124
124
|
* shown. If notifications are unauthorized at the OS level, an in-app
|
|
125
125
|
* notification will always be shown.
|
|
126
126
|
*/
|
|
@@ -178,7 +178,7 @@ export type ComponentId = string;
|
|
|
178
178
|
export interface FocusArgs {
|
|
179
179
|
/**
|
|
180
180
|
* The component to focus. If the selector property is not defined, the
|
|
181
|
-
* first focusable element within the component will
|
|
181
|
+
* first focusable element within the component will receive focus. If this
|
|
182
182
|
* property is not defined, only the selector will be used.
|
|
183
183
|
*/
|
|
184
184
|
component?: ComponentId | Model;
|
|
@@ -234,7 +234,7 @@ export type NarrateArgs = string | NarrateOptions;
|
|
|
234
234
|
*/
|
|
235
235
|
export interface NarrateOptions extends TranslateOptions {
|
|
236
236
|
/**
|
|
237
|
-
* A timeout before the narration is
|
|
237
|
+
* A timeout before the narration is executed. This can be used to avoid
|
|
238
238
|
* focus changes that can interrupt the screen reader. Defaults to 50ms.
|
|
239
239
|
*/
|
|
240
240
|
timeout?: number;
|
|
@@ -154,10 +154,10 @@
|
|
|
154
154
|
"popupTemplate": {
|
|
155
155
|
"anyOf": [
|
|
156
156
|
{
|
|
157
|
-
"$ref": "#/definitions/esri.
|
|
157
|
+
"$ref": "#/definitions/esri.rest-api.PopupInfo.PopupInfo"
|
|
158
158
|
},
|
|
159
159
|
{
|
|
160
|
-
"$ref": "#/definitions/esri.
|
|
160
|
+
"$ref": "#/definitions/esri.PopupTemplate"
|
|
161
161
|
}
|
|
162
162
|
],
|
|
163
163
|
"description": "The template for displaying content in a pop-up when the feature is selected. If not explicitly set, it will be inherited from the associated layer extension if there is one."
|
|
@@ -453,6 +453,36 @@
|
|
|
453
453
|
},
|
|
454
454
|
"type": "object"
|
|
455
455
|
},
|
|
456
|
+
"@vertigis.arcgis-extensions.data.convert.CellData": {
|
|
457
|
+
"additionalProperties": false,
|
|
458
|
+
"description": "Data for a cell in a table.",
|
|
459
|
+
"properties": {
|
|
460
|
+
"formatted": {
|
|
461
|
+
"description": "The formatted value of the cell.",
|
|
462
|
+
"type": "string"
|
|
463
|
+
},
|
|
464
|
+
"raw": {
|
|
465
|
+
"anyOf": [
|
|
466
|
+
{
|
|
467
|
+
"format": "date-time",
|
|
468
|
+
"type": "string"
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
"type": [
|
|
472
|
+
"string",
|
|
473
|
+
"number",
|
|
474
|
+
"boolean"
|
|
475
|
+
]
|
|
476
|
+
}
|
|
477
|
+
],
|
|
478
|
+
"description": "The raw value of the cell."
|
|
479
|
+
}
|
|
480
|
+
},
|
|
481
|
+
"required": [
|
|
482
|
+
"raw"
|
|
483
|
+
],
|
|
484
|
+
"type": "object"
|
|
485
|
+
},
|
|
456
486
|
"@vertigis.arcgis-extensions.mapping.Bookmark.BookmarkProperties": {
|
|
457
487
|
"additionalProperties": false,
|
|
458
488
|
"description": "Properties that can be passed into the constructor for {@link mapping /Bookmark!Bookmark}.",
|
|
@@ -3007,6 +3037,88 @@
|
|
|
3007
3037
|
},
|
|
3008
3038
|
"type": "object"
|
|
3009
3039
|
},
|
|
3040
|
+
"UploadDataArgs": {
|
|
3041
|
+
"additionalProperties": false,
|
|
3042
|
+
"description": "Arguements for the \"results.upload-data-args-to-feature\" operation.",
|
|
3043
|
+
"properties": {
|
|
3044
|
+
"data": {
|
|
3045
|
+
"description": "The cells in the table.",
|
|
3046
|
+
"items": {
|
|
3047
|
+
"items": {
|
|
3048
|
+
"$ref": "#/definitions/@vertigis.arcgis-extensions.data.convert.CellData"
|
|
3049
|
+
},
|
|
3050
|
+
"type": "array"
|
|
3051
|
+
},
|
|
3052
|
+
"type": "array"
|
|
3053
|
+
},
|
|
3054
|
+
"dateFormat": {
|
|
3055
|
+
"description": "The format for dates. The default is DateFormat.ROUND_TRIP. This can be a defined DateFormat string, the \"timestamp\" pseudo-format, or a custom format string.",
|
|
3056
|
+
"type": "string"
|
|
3057
|
+
},
|
|
3058
|
+
"displayField": {
|
|
3059
|
+
"description": "Typically a string field with text formatted for display.",
|
|
3060
|
+
"type": "string"
|
|
3061
|
+
},
|
|
3062
|
+
"escapeFormulaChars": {
|
|
3063
|
+
"description": "Whether to a prefix values that start with typical formula triggering chars (=,-,+,@).",
|
|
3064
|
+
"type": "boolean"
|
|
3065
|
+
},
|
|
3066
|
+
"generatePrimaryKey": {
|
|
3067
|
+
"description": "Indicates if a primary key should be generated if not found, defaults to true.",
|
|
3068
|
+
"type": "boolean"
|
|
3069
|
+
},
|
|
3070
|
+
"geometryFields": {
|
|
3071
|
+
"description": "The names of the geometry field(s).",
|
|
3072
|
+
"items": {
|
|
3073
|
+
"type": "string"
|
|
3074
|
+
},
|
|
3075
|
+
"type": "array"
|
|
3076
|
+
},
|
|
3077
|
+
"geometryFormat": {
|
|
3078
|
+
"$ref": "@vertigis.arcgis-extensions.data.convert.GeometryFormat",
|
|
3079
|
+
"description": "The format of the geometry in this table."
|
|
3080
|
+
},
|
|
3081
|
+
"inSpatialReference": {
|
|
3082
|
+
"$ref": "#/definitions/esri.SpatialReference",
|
|
3083
|
+
"description": "The spatial reference of the geometry in this table."
|
|
3084
|
+
},
|
|
3085
|
+
"includeHeaderRow": {
|
|
3086
|
+
"description": "The header row contains column names.",
|
|
3087
|
+
"type": "boolean"
|
|
3088
|
+
},
|
|
3089
|
+
"numberFormat": {
|
|
3090
|
+
"description": "The format for numbers. The default is NumberFormat.ROUND_TRIP.",
|
|
3091
|
+
"type": "string"
|
|
3092
|
+
},
|
|
3093
|
+
"outFields": {
|
|
3094
|
+
"description": "A list of fields to include. Defaults to the FeatureSources PopupTemplate outfields if available, otherwise \"*\" meaning all fields.",
|
|
3095
|
+
"items": {
|
|
3096
|
+
"type": "string"
|
|
3097
|
+
},
|
|
3098
|
+
"type": "array"
|
|
3099
|
+
},
|
|
3100
|
+
"outSpatialReference": {
|
|
3101
|
+
"$ref": "#/definitions/esri.SpatialReference",
|
|
3102
|
+
"description": "The output spatial reference of the converted table."
|
|
3103
|
+
},
|
|
3104
|
+
"primaryKeyField": {
|
|
3105
|
+
"description": "Optionally the primary key field.",
|
|
3106
|
+
"type": "string"
|
|
3107
|
+
},
|
|
3108
|
+
"title": {
|
|
3109
|
+
"description": "A title for this dataset.",
|
|
3110
|
+
"type": "string"
|
|
3111
|
+
},
|
|
3112
|
+
"useFormattedValues": {
|
|
3113
|
+
"description": "If true, the configured formatters will be run on the raw values in the supplied data and these values will be output with type information if possible. If false, the formatted or presentable values already present in the supplied data will be taken 'as-is'. Field types configured on the input will be ignored and all values will be output as strings.",
|
|
3114
|
+
"type": "boolean"
|
|
3115
|
+
}
|
|
3116
|
+
},
|
|
3117
|
+
"required": [
|
|
3118
|
+
"data"
|
|
3119
|
+
],
|
|
3120
|
+
"type": "object"
|
|
3121
|
+
},
|
|
3010
3122
|
"WebAddAttachmentArgs": {
|
|
3011
3123
|
"additionalProperties": false,
|
|
3012
3124
|
"description": "VertiGIS Studio Web's arguments for the \"edit.add-attachment\" command. Not supported by Mobile.",
|
|
@@ -12938,6 +13050,24 @@
|
|
|
12938
13050
|
},
|
|
12939
13051
|
"type": "array"
|
|
12940
13052
|
},
|
|
13053
|
+
"results.upload-data-to-features": {
|
|
13054
|
+
"description": "Convert the supplied upload data args to features.",
|
|
13055
|
+
"enum": [
|
|
13056
|
+
"results.upload-data-to-features"
|
|
13057
|
+
]
|
|
13058
|
+
},
|
|
13059
|
+
"results.upload-data-to-features:input": {
|
|
13060
|
+
"items": {
|
|
13061
|
+
"$ref": "#/definitions/UploadDataArgs"
|
|
13062
|
+
},
|
|
13063
|
+
"type": "array"
|
|
13064
|
+
},
|
|
13065
|
+
"results.upload-data-to-features:output": {
|
|
13066
|
+
"items": {
|
|
13067
|
+
"$ref": "@vertigis.arcgis-extensions.data.FeatureStream.FeatureStream"
|
|
13068
|
+
},
|
|
13069
|
+
"type": "array"
|
|
13070
|
+
},
|
|
12941
13071
|
"search.clear": {
|
|
12942
13072
|
"description": "Clears the search input.",
|
|
12943
13073
|
"enum": [
|
|
@@ -14406,6 +14536,22 @@
|
|
|
14406
14536
|
],
|
|
14407
14537
|
"type": "object"
|
|
14408
14538
|
},
|
|
14539
|
+
{
|
|
14540
|
+
"additionalProperties": false,
|
|
14541
|
+
"properties": {
|
|
14542
|
+
"arguments": {
|
|
14543
|
+
"$ref": "#/definitions/results.upload-data-to-features:input"
|
|
14544
|
+
},
|
|
14545
|
+
"name": {
|
|
14546
|
+
"$ref": "#/definitions/results.upload-data-to-features"
|
|
14547
|
+
}
|
|
14548
|
+
},
|
|
14549
|
+
"required": [
|
|
14550
|
+
"name",
|
|
14551
|
+
"arguments"
|
|
14552
|
+
],
|
|
14553
|
+
"type": "object"
|
|
14554
|
+
},
|
|
14409
14555
|
{
|
|
14410
14556
|
"additionalProperties": false,
|
|
14411
14557
|
"properties": {
|
|
@@ -14557,6 +14703,9 @@
|
|
|
14557
14703
|
{
|
|
14558
14704
|
"$ref": "#/definitions/results.to-graphics"
|
|
14559
14705
|
},
|
|
14706
|
+
{
|
|
14707
|
+
"$ref": "#/definitions/results.upload-data-to-features"
|
|
14708
|
+
},
|
|
14560
14709
|
{
|
|
14561
14710
|
"$ref": "#/definitions/sketching.add-node-to-geometry"
|
|
14562
14711
|
},
|
|
@@ -165,10 +165,10 @@
|
|
|
165
165
|
"popupTemplate": {
|
|
166
166
|
"anyOf": [
|
|
167
167
|
{
|
|
168
|
-
"$ref": "#/definitions/esri.
|
|
168
|
+
"$ref": "#/definitions/esri.rest-api.PopupInfo.PopupInfo"
|
|
169
169
|
},
|
|
170
170
|
{
|
|
171
|
-
"$ref": "#/definitions/esri.
|
|
171
|
+
"$ref": "#/definitions/esri.PopupTemplate"
|
|
172
172
|
}
|
|
173
173
|
],
|
|
174
174
|
"description": "The template for displaying content in a pop-up when the feature is selected. If not explicitly set, it will be inherited from the associated layer extension if there is one."
|
|
@@ -464,6 +464,36 @@
|
|
|
464
464
|
},
|
|
465
465
|
"type": "object"
|
|
466
466
|
},
|
|
467
|
+
"@vertigis.arcgis-extensions.data.convert.CellData": {
|
|
468
|
+
"additionalProperties": false,
|
|
469
|
+
"description": "Data for a cell in a table.",
|
|
470
|
+
"properties": {
|
|
471
|
+
"formatted": {
|
|
472
|
+
"description": "The formatted value of the cell.",
|
|
473
|
+
"type": "string"
|
|
474
|
+
},
|
|
475
|
+
"raw": {
|
|
476
|
+
"anyOf": [
|
|
477
|
+
{
|
|
478
|
+
"format": "date-time",
|
|
479
|
+
"type": "string"
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
"type": [
|
|
483
|
+
"string",
|
|
484
|
+
"number",
|
|
485
|
+
"boolean"
|
|
486
|
+
]
|
|
487
|
+
}
|
|
488
|
+
],
|
|
489
|
+
"description": "The raw value of the cell."
|
|
490
|
+
}
|
|
491
|
+
},
|
|
492
|
+
"required": [
|
|
493
|
+
"raw"
|
|
494
|
+
],
|
|
495
|
+
"type": "object"
|
|
496
|
+
},
|
|
467
497
|
"@vertigis.arcgis-extensions.mapping._LayerExtension.LayerReference": {
|
|
468
498
|
"additionalProperties": false,
|
|
469
499
|
"description": "Matches an existing layer.",
|
|
@@ -4044,6 +4074,88 @@
|
|
|
4044
4074
|
},
|
|
4045
4075
|
"type": "object"
|
|
4046
4076
|
},
|
|
4077
|
+
"UploadDataArgs": {
|
|
4078
|
+
"additionalProperties": false,
|
|
4079
|
+
"description": "Arguements for the \"results.upload-data-args-to-feature\" operation.",
|
|
4080
|
+
"properties": {
|
|
4081
|
+
"data": {
|
|
4082
|
+
"description": "The cells in the table.",
|
|
4083
|
+
"items": {
|
|
4084
|
+
"items": {
|
|
4085
|
+
"$ref": "#/definitions/@vertigis.arcgis-extensions.data.convert.CellData"
|
|
4086
|
+
},
|
|
4087
|
+
"type": "array"
|
|
4088
|
+
},
|
|
4089
|
+
"type": "array"
|
|
4090
|
+
},
|
|
4091
|
+
"dateFormat": {
|
|
4092
|
+
"description": "The format for dates. The default is DateFormat.ROUND_TRIP. This can be a defined DateFormat string, the \"timestamp\" pseudo-format, or a custom format string.",
|
|
4093
|
+
"type": "string"
|
|
4094
|
+
},
|
|
4095
|
+
"displayField": {
|
|
4096
|
+
"description": "Typically a string field with text formatted for display.",
|
|
4097
|
+
"type": "string"
|
|
4098
|
+
},
|
|
4099
|
+
"escapeFormulaChars": {
|
|
4100
|
+
"description": "Whether to a prefix values that start with typical formula triggering chars (=,-,+,@).",
|
|
4101
|
+
"type": "boolean"
|
|
4102
|
+
},
|
|
4103
|
+
"generatePrimaryKey": {
|
|
4104
|
+
"description": "Indicates if a primary key should be generated if not found, defaults to true.",
|
|
4105
|
+
"type": "boolean"
|
|
4106
|
+
},
|
|
4107
|
+
"geometryFields": {
|
|
4108
|
+
"description": "The names of the geometry field(s).",
|
|
4109
|
+
"items": {
|
|
4110
|
+
"type": "string"
|
|
4111
|
+
},
|
|
4112
|
+
"type": "array"
|
|
4113
|
+
},
|
|
4114
|
+
"geometryFormat": {
|
|
4115
|
+
"$ref": "@vertigis.arcgis-extensions.data.convert.GeometryFormat",
|
|
4116
|
+
"description": "The format of the geometry in this table."
|
|
4117
|
+
},
|
|
4118
|
+
"inSpatialReference": {
|
|
4119
|
+
"$ref": "#/definitions/esri.SpatialReference",
|
|
4120
|
+
"description": "The spatial reference of the geometry in this table."
|
|
4121
|
+
},
|
|
4122
|
+
"includeHeaderRow": {
|
|
4123
|
+
"description": "The header row contains column names.",
|
|
4124
|
+
"type": "boolean"
|
|
4125
|
+
},
|
|
4126
|
+
"numberFormat": {
|
|
4127
|
+
"description": "The format for numbers. The default is NumberFormat.ROUND_TRIP.",
|
|
4128
|
+
"type": "string"
|
|
4129
|
+
},
|
|
4130
|
+
"outFields": {
|
|
4131
|
+
"description": "A list of fields to include. Defaults to the FeatureSources PopupTemplate outfields if available, otherwise \"*\" meaning all fields.",
|
|
4132
|
+
"items": {
|
|
4133
|
+
"type": "string"
|
|
4134
|
+
},
|
|
4135
|
+
"type": "array"
|
|
4136
|
+
},
|
|
4137
|
+
"outSpatialReference": {
|
|
4138
|
+
"$ref": "#/definitions/esri.SpatialReference",
|
|
4139
|
+
"description": "The output spatial reference of the converted table."
|
|
4140
|
+
},
|
|
4141
|
+
"primaryKeyField": {
|
|
4142
|
+
"description": "Optionally the primary key field.",
|
|
4143
|
+
"type": "string"
|
|
4144
|
+
},
|
|
4145
|
+
"title": {
|
|
4146
|
+
"description": "A title for this dataset.",
|
|
4147
|
+
"type": "string"
|
|
4148
|
+
},
|
|
4149
|
+
"useFormattedValues": {
|
|
4150
|
+
"description": "If true, the configured formatters will be run on the raw values in the supplied data and these values will be output with type information if possible. If false, the formatted or presentable values already present in the supplied data will be taken 'as-is'. Field types configured on the input will be ignored and all values will be output as strings.",
|
|
4151
|
+
"type": "boolean"
|
|
4152
|
+
}
|
|
4153
|
+
},
|
|
4154
|
+
"required": [
|
|
4155
|
+
"data"
|
|
4156
|
+
],
|
|
4157
|
+
"type": "object"
|
|
4158
|
+
},
|
|
4047
4159
|
"WebAddAttachmentArgs": {
|
|
4048
4160
|
"additionalProperties": false,
|
|
4049
4161
|
"description": "VertiGIS Studio Web's arguments for the \"edit.add-attachment\" command. Not supported by Mobile.",
|
|
@@ -14952,6 +15064,24 @@
|
|
|
14952
15064
|
},
|
|
14953
15065
|
"type": "array"
|
|
14954
15066
|
},
|
|
15067
|
+
"results.upload-data-to-features": {
|
|
15068
|
+
"description": "Convert the supplied upload data args to features.",
|
|
15069
|
+
"enum": [
|
|
15070
|
+
"results.upload-data-to-features"
|
|
15071
|
+
]
|
|
15072
|
+
},
|
|
15073
|
+
"results.upload-data-to-features:input": {
|
|
15074
|
+
"items": {
|
|
15075
|
+
"$ref": "#/definitions/UploadDataArgs"
|
|
15076
|
+
},
|
|
15077
|
+
"type": "array"
|
|
15078
|
+
},
|
|
15079
|
+
"results.upload-data-to-features:output": {
|
|
15080
|
+
"items": {
|
|
15081
|
+
"$ref": "@vertigis.arcgis-extensions.data.FeatureStream.FeatureStream"
|
|
15082
|
+
},
|
|
15083
|
+
"type": "array"
|
|
15084
|
+
},
|
|
14955
15085
|
"search.clear": {
|
|
14956
15086
|
"description": "Clears the search input.",
|
|
14957
15087
|
"enum": [
|
|
@@ -18357,6 +18487,22 @@
|
|
|
18357
18487
|
],
|
|
18358
18488
|
"type": "object"
|
|
18359
18489
|
},
|
|
18490
|
+
{
|
|
18491
|
+
"additionalProperties": false,
|
|
18492
|
+
"properties": {
|
|
18493
|
+
"arguments": {
|
|
18494
|
+
"$ref": "#/definitions/results.upload-data-to-features:input"
|
|
18495
|
+
},
|
|
18496
|
+
"name": {
|
|
18497
|
+
"$ref": "#/definitions/results.upload-data-to-features"
|
|
18498
|
+
}
|
|
18499
|
+
},
|
|
18500
|
+
"required": [
|
|
18501
|
+
"name",
|
|
18502
|
+
"arguments"
|
|
18503
|
+
],
|
|
18504
|
+
"type": "object"
|
|
18505
|
+
},
|
|
18360
18506
|
{
|
|
18361
18507
|
"additionalProperties": false,
|
|
18362
18508
|
"properties": {
|
|
@@ -18614,6 +18760,9 @@
|
|
|
18614
18760
|
{
|
|
18615
18761
|
"$ref": "#/definitions/results.to-graphics"
|
|
18616
18762
|
},
|
|
18763
|
+
{
|
|
18764
|
+
"$ref": "#/definitions/results.upload-data-to-features"
|
|
18765
|
+
},
|
|
18617
18766
|
{
|
|
18618
18767
|
"$ref": "#/definitions/sketching.add-node-to-geometry"
|
|
18619
18768
|
},
|