@vertigis/viewer-spec 56.24.0 → 56.25.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/analytics/AnalyticsContext.d.ts +29 -29
- package/analytics/AnalyticsContext.js +1 -1
- package/analytics/CommonAction.d.ts +90 -90
- package/analytics/CommonAction.js +1 -1
- package/analytics/MobileAction.d.ts +113 -113
- package/analytics/MobileAction.js +1 -1
- package/analytics/WebAction.d.ts +102 -102
- package/analytics/WebAction.js +1 -1
- package/app-config/AppConfig.d.ts +55 -55
- package/app-config/ItemConfig.d.ts +18 -18
- package/app-config/common/AnalyticsModelProperties.d.ts +10 -10
- package/app-config/common/ApplicationModelProperties.d.ts +15 -15
- package/app-config/common/BasemapPickerModelProperties.d.ts +6 -6
- package/app-config/common/BookmarksModelProperties.d.ts +17 -17
- package/app-config/common/BrandingColors.d.ts +102 -102
- package/app-config/common/BrandingModelProperties.d.ts +23 -23
- package/app-config/common/BrandingThemeProperties.d.ts +35 -35
- package/app-config/common/CompassModelProperties.d.ts +6 -6
- package/app-config/common/ComponentModelProperties.d.ts +14 -14
- package/app-config/common/CoordinateFormat.d.ts +4 -4
- package/app-config/common/CoordinateModelProperties.d.ts +43 -43
- package/app-config/common/DialogModelProperties.d.ts +6 -6
- package/app-config/common/EventListenerModelProperties.d.ts +44 -44
- package/app-config/common/ExpandModelProperties.d.ts +6 -6
- package/app-config/common/FeatureDetailsModelProperties.d.ts +27 -27
- package/app-config/common/GeolocationModelProperties.d.ts +6 -6
- package/app-config/common/HighlightModelProperties.d.ts +68 -68
- package/app-config/common/ImageModelProperties.d.ts +14 -14
- package/app-config/common/ItemRef.d.ts +4 -4
- package/app-config/common/LayerListModelProperties.d.ts +6 -6
- package/app-config/common/LayerPresetsModelProperties.d.ts +14 -14
- package/app-config/common/LayoutProperties.d.ts +33 -33
- package/app-config/common/LegendModelProperties.d.ts +6 -6
- package/app-config/common/LicensingModelProperties.d.ts +10 -10
- package/app-config/common/MapCoordinatesModelProperties.d.ts +6 -6
- package/app-config/common/MapModelProperties.d.ts +7 -7
- package/app-config/common/MenuModelProperties.d.ts +13 -13
- package/app-config/common/ModelProperties.d.ts +6 -6
- package/app-config/common/PanelModelProperties.d.ts +6 -6
- package/app-config/common/RegionModelProperties.d.ts +25 -25
- package/app-config/common/ResultsModelProperties.d.ts +13 -13
- package/app-config/common/ScalebarModelProperties.d.ts +6 -6
- package/app-config/common/SearchModelProperties.d.ts +26 -26
- package/app-config/common/ServiceModelProperties.d.ts +6 -6
- package/app-config/common/SplitModelProperties.d.ts +6 -6
- package/app-config/common/StackModelProperties.d.ts +6 -6
- package/app-config/common/TextModelProperties.d.ts +10 -10
- package/app-config/common/TranslatableText.d.ts +35 -35
- package/app-config/common/UserModelProperties.d.ts +6 -6
- package/app-config/common/WorkflowEventsProperties.d.ts +11 -11
- package/app-config/common/WorkflowModelProperties.d.ts +44 -44
- package/app-config/common/ZoomModelProperties.d.ts +6 -6
- package/app-config/common/colors.d.ts +6 -6
- package/app-config/index.d.ts +2 -2
- package/app-config/mobile/AddFeatureModelProperties.d.ts +6 -6
- package/app-config/mobile/AddRelatedFeatureModelProperties.d.ts +6 -6
- package/app-config/mobile/BasemapModelProperties.d.ts +11 -11
- package/app-config/mobile/CoordinateModelProperties.d.ts +10 -10
- package/app-config/mobile/FeatureDetailsModelProperties.d.ts +26 -26
- package/app-config/mobile/GeometryToolbarModelProperties.d.ts +6 -6
- package/app-config/mobile/GnssDeviceSelectionModelProperties.d.ts +6 -6
- package/app-config/mobile/GnssDeviceSettingsModelProperties.d.ts +6 -6
- package/app-config/mobile/GnssMetadataModelProperties.d.ts +6 -6
- package/app-config/mobile/MapModelProperties.d.ts +52 -52
- package/app-config/mobile/OfflineModelProperties.d.ts +48 -48
- package/app-config/mobile/PortalExtensionSettingsProperties.d.ts +27 -27
- package/app-config/mobile/ScrollModelProperties.d.ts +6 -6
- package/app-config/mobile/SearchModelProperties.d.ts +14 -14
- package/app-config/mobile/SelectLayerSettingsModelProperties.d.ts +11 -11
- package/app-config/mobile/TaskbarModelProperties.d.ts +6 -6
- package/app-config/mobile/UpdateFeatureModelProperties.d.ts +6 -6
- package/app-config/mobile/VertigisMobileModelProperties.d.ts +67 -67
- package/app-config/schema/common-app-config.schema.json +1 -1
- package/app-config/schema/web-app-config.schema.json +1 -1
- package/app-config/web/AddressModelProperties.d.ts +6 -6
- package/app-config/web/BasemapModelProperties.d.ts +10 -10
- package/app-config/web/BasemapPickerModelProperties.d.ts +7 -7
- package/app-config/web/BookmarksModelProperties.d.ts +7 -7
- package/app-config/web/BrandingModelProperties.d.ts +14 -14
- package/app-config/web/ChartModelProperties.d.ts +58 -58
- package/app-config/web/CompassModelProperties.d.ts +7 -7
- package/app-config/web/ComponentModelProperties.d.ts +12 -12
- package/app-config/web/CoordinateModelProperties.d.ts +50 -50
- package/app-config/web/DataLinkSourceProperties.d.ts +15 -15
- package/app-config/web/DialogModelProperties.d.ts +7 -7
- package/app-config/web/DrawModelProperties.d.ts +94 -94
- package/app-config/web/FeatureDetailsModelProperties.d.ts +19 -19
- package/app-config/web/FeatureInfoModelProperties.d.ts +38 -38
- package/app-config/web/FeatureListProperties.d.ts +12 -12
- package/app-config/web/FeatureSetProperties.d.ts +16 -16
- package/app-config/web/FeatureSummaryModelProperties.d.ts +27 -27
- package/app-config/web/GeolocationModelProperties.d.ts +7 -7
- package/app-config/web/GeometryModelProperties.d.ts +27 -27
- package/app-config/web/HasVisibilityFilters.d.ts +36 -36
- package/app-config/web/ImageModelProperties.d.ts +7 -7
- package/app-config/web/KpiCardModelProperties.d.ts +146 -146
- package/app-config/web/LayerListModelProperties.d.ts +18 -18
- package/app-config/web/LayerPresetsModelProperties.d.ts +7 -7
- package/app-config/web/LegendModelProperties.d.ts +7 -7
- package/app-config/web/Map3dToggleModelProperties.d.ts +6 -6
- package/app-config/web/MapCoordinatesModelProperties.d.ts +50 -50
- package/app-config/web/MapModelProperties.d.ts +87 -87
- package/app-config/web/MeasurementModelProperties.d.ts +36 -36
- package/app-config/web/MenuItemModelProperties.d.ts +7 -7
- package/app-config/web/MenuModelProperties.d.ts +13 -13
- package/app-config/web/ModelProperties.d.ts +7 -7
- package/app-config/web/PanelModelProperties.d.ts +7 -7
- package/app-config/web/PortalModelProperties.d.ts +11 -11
- package/app-config/web/PrintFormModelProperties.d.ts +42 -42
- package/app-config/web/PrintModelProperties.d.ts +11 -11
- package/app-config/web/ProjectModelProperties.d.ts +12 -12
- package/app-config/web/QueryBuilderModelProperties.d.ts +22 -22
- package/app-config/web/ReportModelProperties.d.ts +15 -15
- package/app-config/web/ResultsModelProperties.d.ts +101 -101
- package/app-config/web/ResultsServiceModelProperties.d.ts +48 -48
- package/app-config/web/ScaleInputModelProperties.d.ts +6 -6
- package/app-config/web/ScalebarModelProperties.d.ts +22 -22
- package/app-config/web/SearchModelProperties.d.ts +22 -22
- package/app-config/web/SearchServiceProperties.d.ts +25 -25
- package/app-config/web/SharedProjectsModelProperties.d.ts +53 -53
- package/app-config/web/SharedStorageModelProperties.d.ts +30 -30
- package/app-config/web/SnappingProperties.d.ts +101 -101
- package/app-config/web/SplitModelProperties.d.ts +7 -7
- package/app-config/web/StackModelProperties.d.ts +7 -7
- package/app-config/web/TabsModelProperties.d.ts +6 -6
- package/app-config/web/TextModelProperties.d.ts +7 -7
- package/app-config/web/UserModelProperties.d.ts +12 -12
- package/app-config/web/UserPreferencesModelProperties.d.ts +10 -10
- package/app-config/web/VertigisWebModelProperties.d.ts +74 -74
- package/app-config/web/WorkflowModelProperties.d.ts +13 -13
- package/app-config/web/ZoomModelProperties.d.ts +7 -7
- package/messaging/Command.d.ts +76 -76
- package/messaging/CommandRegistry.d.ts +25 -25
- package/messaging/CommandRegistry.js +1 -1
- package/messaging/DotNetTypes.d.ts +4 -4
- package/messaging/Event.d.ts +26 -26
- package/messaging/EventRegistry.d.ts +25 -25
- package/messaging/EventRegistry.js +1 -1
- package/messaging/Message.d.ts +50 -50
- package/messaging/MessageBus.d.ts +54 -54
- package/messaging/Operation.d.ts +77 -77
- package/messaging/OperationRegistry.d.ts +26 -26
- package/messaging/OperationRegistry.js +1 -1
- package/messaging/common.d.ts +354 -354
- package/messaging/mobile.d.ts +6 -6
- package/messaging/registry/Commands.d.ts +78 -78
- package/messaging/registry/Commands.js +1 -1
- package/messaging/registry/Events.d.ts +62 -62
- package/messaging/registry/Events.js +1 -1
- package/messaging/registry/Operations.d.ts +69 -69
- package/messaging/registry/Operations.js +1 -1
- package/messaging/registry/app-config.d.ts +12 -12
- package/messaging/registry/app-config.js +1 -1
- package/messaging/registry/app.d.ts +264 -264
- package/messaging/registry/app.js +1 -1
- package/messaging/registry/arcade.d.ts +115 -115
- package/messaging/registry/arcade.js +1 -1
- package/messaging/registry/auth.d.ts +151 -151
- package/messaging/registry/auth.js +1 -1
- package/messaging/registry/basemap.d.ts +74 -74
- package/messaging/registry/basemap.js +1 -1
- package/messaging/registry/bookmark.d.ts +42 -42
- package/messaging/registry/bookmark.js +1 -1
- package/messaging/registry/charts.d.ts +81 -81
- package/messaging/registry/charts.js +1 -1
- package/messaging/registry/debugConsole.d.ts +26 -26
- package/messaging/registry/debugConsole.js +1 -1
- package/messaging/registry/device.d.ts +28 -28
- package/messaging/registry/device.js +1 -1
- package/messaging/registry/display.d.ts +17 -17
- package/messaging/registry/display.js +1 -1
- package/messaging/registry/drawing.d.ts +149 -149
- package/messaging/registry/drawing.js +1 -1
- package/messaging/registry/edit.d.ts +371 -371
- package/messaging/registry/edit.js +1 -1
- package/messaging/registry/file.d.ts +156 -156
- package/messaging/registry/file.js +1 -1
- package/messaging/registry/filter-builder.d.ts +73 -73
- package/messaging/registry/filter-builder.js +1 -1
- package/messaging/registry/geocode.d.ts +87 -87
- package/messaging/registry/geocode.js +1 -1
- package/messaging/registry/geolocation.d.ts +499 -499
- package/messaging/registry/geolocation.js +1 -1
- package/messaging/registry/geometry-toolbar.d.ts +29 -29
- package/messaging/registry/geometry-toolbar.js +1 -1
- package/messaging/registry/geometry.d.ts +278 -278
- package/messaging/registry/geometry.js +1 -1
- package/messaging/registry/highlights.d.ts +86 -86
- package/messaging/registry/highlights.js +1 -1
- package/messaging/registry/input.d.ts +22 -22
- package/messaging/registry/input.js +1 -1
- package/messaging/registry/iwtm.d.ts +11 -11
- package/messaging/registry/iwtm.js +1 -1
- package/messaging/registry/kpi.d.ts +98 -98
- package/messaging/registry/kpi.js +1 -1
- package/messaging/registry/layer-comparison.d.ts +104 -104
- package/messaging/registry/layer-comparison.js +1 -1
- package/messaging/registry/layer-presets.d.ts +49 -49
- package/messaging/registry/layer-presets.js +1 -1
- package/messaging/registry/layers.d.ts +196 -196
- package/messaging/registry/layers.js +1 -1
- package/messaging/registry/layout.d.ts +49 -49
- package/messaging/registry/layout.js +1 -1
- package/messaging/registry/licensing.d.ts +38 -38
- package/messaging/registry/licensing.js +1 -1
- package/messaging/registry/location-marker.d.ts +171 -171
- package/messaging/registry/location-marker.js +1 -1
- package/messaging/registry/logViewer.d.ts +17 -17
- package/messaging/registry/logViewer.js +1 -1
- package/messaging/registry/map.d.ts +1275 -1275
- package/messaging/registry/map.js +1 -1
- package/messaging/registry/measurement.d.ts +168 -168
- package/messaging/registry/measurement.js +1 -1
- package/messaging/registry/messaging.d.ts +23 -23
- package/messaging/registry/messaging.js +1 -1
- package/messaging/registry/network.d.ts +46 -46
- package/messaging/registry/network.js +1 -1
- package/messaging/registry/offline.d.ts +508 -507
- package/messaging/registry/offline.js +1 -1
- package/messaging/registry/panel.d.ts +115 -115
- package/messaging/registry/panel.js +1 -1
- package/messaging/registry/photos.d.ts +47 -47
- package/messaging/registry/photos.js +1 -1
- package/messaging/registry/portal.d.ts +94 -94
- package/messaging/registry/portal.js +1 -1
- package/messaging/registry/printing.d.ts +166 -166
- package/messaging/registry/printing.js +1 -1
- package/messaging/registry/project.d.ts +144 -144
- package/messaging/registry/project.js +1 -1
- package/messaging/registry/query-builder.d.ts +83 -83
- package/messaging/registry/query-builder.js +1 -1
- package/messaging/registry/region.d.ts +23 -23
- package/messaging/registry/region.js +1 -1
- package/messaging/registry/reports.d.ts +135 -135
- package/messaging/registry/reports.js +1 -1
- package/messaging/registry/results.d.ts +671 -671
- package/messaging/registry/results.js +1 -1
- package/messaging/registry/search.d.ts +74 -74
- package/messaging/registry/search.js +1 -1
- package/messaging/registry/settings.d.ts +38 -38
- package/messaging/registry/settings.js +1 -1
- package/messaging/registry/shortcut.d.ts +41 -41
- package/messaging/registry/shortcut.js +1 -1
- package/messaging/registry/sketching.d.ts +960 -960
- package/messaging/registry/sketching.js +1 -1
- package/messaging/registry/studioAnalytics.d.ts +25 -25
- package/messaging/registry/studioAnalytics.js +1 -1
- package/messaging/registry/system.d.ts +277 -277
- package/messaging/registry/system.js +1 -1
- package/messaging/registry/tasks.d.ts +323 -323
- package/messaging/registry/tasks.js +1 -1
- package/messaging/registry/ui.d.ts +518 -518
- package/messaging/registry/ui.js +1 -1
- package/messaging/registry/viewer.d.ts +145 -145
- package/messaging/registry/viewer.js +1 -1
- package/messaging/registry/workflow.d.ts +170 -170
- package/messaging/registry/workflow.js +1 -1
- package/messaging/schema/common-action.schema.json +6437 -12158
- package/messaging/schema/common-event.schema.json +107 -803
- package/messaging/schema/mobile-action.schema.json +7719 -16138
- package/messaging/schema/mobile-event.schema.json +181 -2422
- package/messaging/schema/web-action.schema.json +8397 -23281
- package/messaging/schema/web-event.schema.json +183 -1937
- package/package.json +20 -20
- package/version.d.ts +4 -4
- package/version.js +4 -4
|
@@ -1,671 +1,671 @@
|
|
|
1
|
-
import type Graphic from "@arcgis/core/Graphic";
|
|
2
|
-
import type Layer from "@arcgis/core/layers/Layer";
|
|
3
|
-
import type Sublayer from "@arcgis/core/layers/support/Sublayer";
|
|
4
|
-
import type Symbol from "@arcgis/core/symbols/Symbol";
|
|
5
|
-
import type { Attachment } from "@vertigis/arcgis-extensions/data/Attachment";
|
|
6
|
-
import type { Feature } from "@vertigis/arcgis-extensions/data/Feature";
|
|
7
|
-
import type { FeatureSettingsProperties } from "@vertigis/arcgis-extensions/data/FeatureSettings";
|
|
8
|
-
import type { FeatureSource } from "@vertigis/arcgis-extensions/data/FeatureSource";
|
|
9
|
-
import type { FeatureStream } from "@vertigis/arcgis-extensions/data/FeatureStream.js";
|
|
10
|
-
import type { SchemaProperties } from "@vertigis/arcgis-extensions/data/Schema";
|
|
11
|
-
import type { FromCsvOptions, FromShapefileOptions, FromXLSXOptions, ToCsvOptions, ToShapefileOptions, ToXLSXOptions, UploadDataOptions } from "@vertigis/arcgis-extensions/data/convert";
|
|
12
|
-
import type { QueryOptions } from "@vertigis/arcgis-extensions/tasks/query/QueryOptions";
|
|
13
|
-
import type { CardSize, ViewMode } from "../../app-config/web/ResultsModelProperties.js";
|
|
14
|
-
import type { Command } from "../Command.js";
|
|
15
|
-
import { CommandRegistry } from "../CommandRegistry.js";
|
|
16
|
-
import type { Event } from "../Event.js";
|
|
17
|
-
import { EventRegistry } from "../EventRegistry.js";
|
|
18
|
-
import type { Operation } from "../Operation.js";
|
|
19
|
-
import { OperationRegistry } from "../OperationRegistry.js";
|
|
20
|
-
import type { Blob, Features, FeaturesLike, File, GraphicsLike, HasFeatures, HasFiles, Layers, MapsLike, ModelRef } from "../common.js";
|
|
21
|
-
import type { VisualElement } from "../mobile.js";
|
|
22
|
-
/**
|
|
23
|
-
* Well known Results Set Ids.
|
|
24
|
-
*/
|
|
25
|
-
export declare enum KnownResultSetIds {
|
|
26
|
-
STARRED = "vgs-starred"
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* Args for `results.from-files`.
|
|
30
|
-
*/
|
|
31
|
-
export type FromConverterArgs = FromCsvConversionArgs | FromShapefileConversionArgs | FromXLSXConversionArgs;
|
|
32
|
-
/**
|
|
33
|
-
* Arguments for various commands that target a result set of features.
|
|
34
|
-
*/
|
|
35
|
-
export interface TargetsResultsSetArgs {
|
|
36
|
-
/**
|
|
37
|
-
* If specified the results will be updated in the named results set only.
|
|
38
|
-
* Results sets with the prefix 'vgs' are reserved for system use and should
|
|
39
|
-
* not be used unless you are intentionally targeting a well known results
|
|
40
|
-
* set such as the 'vgs-starred' results. Web only.
|
|
41
|
-
*
|
|
42
|
-
* @webOnly
|
|
43
|
-
*/
|
|
44
|
-
resultsSetId?: KnownResultSetIds | string;
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* Arguments for various commands that affect a result component's features.
|
|
48
|
-
*/
|
|
49
|
-
export interface UpdateResultsFeaturesArgs extends TargetsResultsSetArgs, HasFeatures {
|
|
50
|
-
/**
|
|
51
|
-
* The result component to update, referenced by results model or its ID.
|
|
52
|
-
* Web only.
|
|
53
|
-
*
|
|
54
|
-
* @webOnly
|
|
55
|
-
*/
|
|
56
|
-
results?: ModelRef;
|
|
57
|
-
}
|
|
58
|
-
/**
|
|
59
|
-
* Arguments for the "results.convert-to-csv" operation.
|
|
60
|
-
*/
|
|
61
|
-
export interface ToCsvConversionArgs extends ToCsvOptions {
|
|
62
|
-
/**
|
|
63
|
-
* The feature(s) to convert.
|
|
64
|
-
*/
|
|
65
|
-
features: Features;
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* Arguments for the "results.upload-data-args-to-feature" operation.
|
|
69
|
-
*/
|
|
70
|
-
export interface UploadDataArgs extends UploadDataOptions {
|
|
71
|
-
/**
|
|
72
|
-
* A title for this dataset.
|
|
73
|
-
*/
|
|
74
|
-
title?: string;
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* Arguments for the "results.from-csv" operation.
|
|
78
|
-
*/
|
|
79
|
-
export interface FromCsvConversionArgs extends FromCsvOptions, HasFiles {
|
|
80
|
-
}
|
|
81
|
-
/**
|
|
82
|
-
* Arguments for the "results.convert-to-xlsx" operation.
|
|
83
|
-
*/
|
|
84
|
-
export interface ToXLSXConversionArgs extends ToXLSXOptions {
|
|
85
|
-
/**
|
|
86
|
-
* The feature(s) to convert.
|
|
87
|
-
*/
|
|
88
|
-
features: Features;
|
|
89
|
-
}
|
|
90
|
-
/**
|
|
91
|
-
* Arguments for the "results.from-xlsx" operation.
|
|
92
|
-
*/
|
|
93
|
-
export interface FromXLSXConversionArgs extends FromXLSXOptions, HasFiles {
|
|
94
|
-
}
|
|
95
|
-
/**
|
|
96
|
-
* Arguments for the "results.convert-to-shapefile" operation.
|
|
97
|
-
*/
|
|
98
|
-
export interface ToShapefileConversionArgs extends ToShapefileOptions {
|
|
99
|
-
/**
|
|
100
|
-
* The feature(s) to convert.
|
|
101
|
-
*/
|
|
102
|
-
features: Features;
|
|
103
|
-
}
|
|
104
|
-
/**
|
|
105
|
-
* Arguments for the "results.from-shapefile" operation.
|
|
106
|
-
*/
|
|
107
|
-
export interface FromShapefileConversionArgs extends FromShapefileOptions, HasFiles {
|
|
108
|
-
}
|
|
109
|
-
/**
|
|
110
|
-
* Arguments for the "results.convert-to-layers" operation.
|
|
111
|
-
*/
|
|
112
|
-
export interface LayerConversionArgs {
|
|
113
|
-
/**
|
|
114
|
-
* Optionally a symbol to be used for point geometries.
|
|
115
|
-
*/
|
|
116
|
-
pointSymbol?: Symbol;
|
|
117
|
-
/**
|
|
118
|
-
* Optionally a symbol to be used for multipoint geometries.
|
|
119
|
-
*/
|
|
120
|
-
multipointSymbol?: Symbol;
|
|
121
|
-
/**
|
|
122
|
-
* Optionally a symbol to be used for polyline geometries.
|
|
123
|
-
*/
|
|
124
|
-
polylineSymbol?: Symbol;
|
|
125
|
-
/**
|
|
126
|
-
* Optionally a symbol to be used for polygon geometries.
|
|
127
|
-
*/
|
|
128
|
-
polygonSymbol?: Symbol;
|
|
129
|
-
/**
|
|
130
|
-
* Optionally a symbol to be used for mesh geometries.
|
|
131
|
-
*/
|
|
132
|
-
meshSymbol?: Symbol;
|
|
133
|
-
/**
|
|
134
|
-
* The feature(s) to convert.
|
|
135
|
-
*/
|
|
136
|
-
features: Features;
|
|
137
|
-
}
|
|
138
|
-
/**
|
|
139
|
-
* Result of various operations that convert features into a downloadable file.
|
|
140
|
-
*/
|
|
141
|
-
export interface ConversionResult {
|
|
142
|
-
/**
|
|
143
|
-
* The result of the conversion in the specified form.
|
|
144
|
-
*/
|
|
145
|
-
result: Blob;
|
|
146
|
-
/**
|
|
147
|
-
* A file name representation for the conversion.
|
|
148
|
-
*/
|
|
149
|
-
name: string;
|
|
150
|
-
}
|
|
151
|
-
/**
|
|
152
|
-
* Arguments for the "results.from-graphics" operation.
|
|
153
|
-
*/
|
|
154
|
-
export interface FromGraphicsArgs {
|
|
155
|
-
/**
|
|
156
|
-
* A selection of graphics to be converted to features.
|
|
157
|
-
*/
|
|
158
|
-
graphics: GraphicsLike;
|
|
159
|
-
/**
|
|
160
|
-
* The layer the graphics originate from, or the ID of that layer. Used as
|
|
161
|
-
* the source for created features.
|
|
162
|
-
*/
|
|
163
|
-
layer?: Layer | string;
|
|
164
|
-
/**
|
|
165
|
-
* The sublayer the graphics originate from, or the ID of that sublayer.
|
|
166
|
-
* Used as the source for created features. Will not be used unless layer
|
|
167
|
-
* parameter is also provided.
|
|
168
|
-
*/
|
|
169
|
-
sublayer?: Sublayer | number;
|
|
170
|
-
/**
|
|
171
|
-
* The maps to search for the given layer.
|
|
172
|
-
*/
|
|
173
|
-
maps?: MapsLike;
|
|
174
|
-
/**
|
|
175
|
-
* FeatureSettings to use for feature metadata if the layer is not provided
|
|
176
|
-
* or can't be found.
|
|
177
|
-
*/
|
|
178
|
-
featureSettings?: FeatureSettingsProperties;
|
|
179
|
-
/**
|
|
180
|
-
* The schema to be associated with the returned features. This property is
|
|
181
|
-
* only necessary when no layer nor sublayer are present.
|
|
182
|
-
*/
|
|
183
|
-
schema?: SchemaProperties;
|
|
184
|
-
/**
|
|
185
|
-
* The feature source title to use if no layer or sublayer is associated
|
|
186
|
-
* with the features.
|
|
187
|
-
*/
|
|
188
|
-
title?: string;
|
|
189
|
-
/**
|
|
190
|
-
* The feature source ID to use if the results are associated with a
|
|
191
|
-
* workflow.
|
|
192
|
-
*/
|
|
193
|
-
workflowItemId?: string;
|
|
194
|
-
/**
|
|
195
|
-
* Whether to fetch attachments for the returned features. Defaults to
|
|
196
|
-
* false. Mobile only.
|
|
197
|
-
*
|
|
198
|
-
* @mobileOnly
|
|
199
|
-
*/
|
|
200
|
-
fetchAttachments?: boolean;
|
|
201
|
-
/**
|
|
202
|
-
* Whether to fetch related features for the returned features. Defaults to
|
|
203
|
-
* false. Mobile only.
|
|
204
|
-
*
|
|
205
|
-
* @mobileOnly
|
|
206
|
-
*/
|
|
207
|
-
fetchRelatedFeatures?: boolean;
|
|
208
|
-
}
|
|
209
|
-
/**
|
|
210
|
-
* Arguments for the "results.open-attachment" command.
|
|
211
|
-
*/
|
|
212
|
-
export interface OpenAttachmentArgs {
|
|
213
|
-
/**
|
|
214
|
-
* The index of the photo to start at.
|
|
215
|
-
*/
|
|
216
|
-
startIndex: number;
|
|
217
|
-
/**
|
|
218
|
-
* The attachment to open.
|
|
219
|
-
*/
|
|
220
|
-
attachments: Attachment[];
|
|
221
|
-
/**
|
|
222
|
-
* The sender UI element to use as an anchor point for animation when
|
|
223
|
-
* opening the attachment.
|
|
224
|
-
*/
|
|
225
|
-
sender: VisualElement;
|
|
226
|
-
}
|
|
227
|
-
/**
|
|
228
|
-
* Arguments for the "results.filter" operation.
|
|
229
|
-
*/
|
|
230
|
-
export interface FilterResultsArgs {
|
|
231
|
-
/**
|
|
232
|
-
* Features or Graphics to filter.
|
|
233
|
-
*/
|
|
234
|
-
features: FeaturesLike | GraphicsLike;
|
|
235
|
-
/**
|
|
236
|
-
* An SQL 'where' clause used to filter down a set of results.
|
|
237
|
-
*/
|
|
238
|
-
where?: string;
|
|
239
|
-
/**
|
|
240
|
-
* The source of the Results. This is only necessary if Graphics are passed
|
|
241
|
-
* into the filter operation.
|
|
242
|
-
*/
|
|
243
|
-
source?: FeatureSource;
|
|
244
|
-
/**
|
|
245
|
-
* Additional query options with which to filter the results.
|
|
246
|
-
*/
|
|
247
|
-
options?: QueryOptions;
|
|
248
|
-
}
|
|
249
|
-
/**
|
|
250
|
-
* Arguments for the "results.set-list-view-mode" command.
|
|
251
|
-
*/
|
|
252
|
-
export interface SetListViewModeArgs {
|
|
253
|
-
/**
|
|
254
|
-
* The view mode to activate on the results list component. Web only.
|
|
255
|
-
*
|
|
256
|
-
* @webOnly
|
|
257
|
-
*/
|
|
258
|
-
viewMode: ViewMode;
|
|
259
|
-
/**
|
|
260
|
-
* The result component to update, referenced by results model or its ID.
|
|
261
|
-
* Web only.
|
|
262
|
-
*
|
|
263
|
-
* @webOnly
|
|
264
|
-
*/
|
|
265
|
-
results?: ModelRef;
|
|
266
|
-
}
|
|
267
|
-
/**
|
|
268
|
-
* Arguments for the "results.activate-group" command.
|
|
269
|
-
*/
|
|
270
|
-
export interface ActivateResultGroupArgs {
|
|
271
|
-
/**
|
|
272
|
-
* The layer to activate the corresponding group for in the results
|
|
273
|
-
* component. If more than one layer is included, only the first item in the
|
|
274
|
-
* array will be used. One of `sources` or `layers` is required. If both are
|
|
275
|
-
* specified, `sources` will take precedence. Web only.
|
|
276
|
-
*
|
|
277
|
-
* @webOnly
|
|
278
|
-
*/
|
|
279
|
-
layers?: Layers;
|
|
280
|
-
/**
|
|
281
|
-
* An array of sources to activate the corresponding group for in the
|
|
282
|
-
* results component. Only the first item in the array will be used. One of
|
|
283
|
-
* `sources` or `layers` is required. If both are specified, `sources` will
|
|
284
|
-
* take precedence. Web only.
|
|
285
|
-
*
|
|
286
|
-
* @webOnly
|
|
287
|
-
*/
|
|
288
|
-
sources?: FeatureSource[];
|
|
289
|
-
/**
|
|
290
|
-
* The result component to update, referenced by results model or its ID.
|
|
291
|
-
* Web only.
|
|
292
|
-
*
|
|
293
|
-
* @webOnly
|
|
294
|
-
*/
|
|
295
|
-
results?: ModelRef;
|
|
296
|
-
}
|
|
297
|
-
/**
|
|
298
|
-
* Arguments for the "results.set-list-card-size" command.
|
|
299
|
-
*/
|
|
300
|
-
export interface SetListCardSizeArgs {
|
|
301
|
-
/**
|
|
302
|
-
* The card size to set on the results list component. Web only.
|
|
303
|
-
*
|
|
304
|
-
* @webOnly
|
|
305
|
-
*/
|
|
306
|
-
cardSize: CardSize;
|
|
307
|
-
/**
|
|
308
|
-
* The result component to update, referenced by results model or its ID.
|
|
309
|
-
* Web only.
|
|
310
|
-
*
|
|
311
|
-
* @webOnly
|
|
312
|
-
*/
|
|
313
|
-
results?: ModelRef;
|
|
314
|
-
}
|
|
315
|
-
/**
|
|
316
|
-
* Arguments for various commands that manipulate the current set of shown
|
|
317
|
-
* results.
|
|
318
|
-
*/
|
|
319
|
-
export type ShowResultsArgs = Features | (UpdateResultsFeaturesArgs & {
|
|
320
|
-
/**
|
|
321
|
-
* Whether to activate the component showing the results of the
|
|
322
|
-
* operation. False by default.
|
|
323
|
-
*
|
|
324
|
-
* @mobileOnly
|
|
325
|
-
*/
|
|
326
|
-
activate?: boolean;
|
|
327
|
-
});
|
|
328
|
-
/**
|
|
329
|
-
* Arguments for the "results.set-display-components" command.
|
|
330
|
-
*/
|
|
331
|
-
export interface SetDisplayComponentArgs {
|
|
332
|
-
/**
|
|
333
|
-
* Sets the selector, using CSS selector syntax, which queries for results
|
|
334
|
-
* components in the app layout XML, such as the Results List or Results
|
|
335
|
-
* Table components. The selector is used to determine which components will
|
|
336
|
-
* be activated when displaying results using `results.display`.
|
|
337
|
-
*/
|
|
338
|
-
selector: string;
|
|
339
|
-
/**
|
|
340
|
-
* The result component to update, referenced by results model or its ID.
|
|
341
|
-
* Web only.
|
|
342
|
-
*
|
|
343
|
-
* @webOnly
|
|
344
|
-
*/
|
|
345
|
-
results?: ModelRef;
|
|
346
|
-
}
|
|
347
|
-
/**
|
|
348
|
-
* Arguments for the "results.set-active-feature" command.
|
|
349
|
-
*/
|
|
350
|
-
export interface SetActiveFeatureArgs {
|
|
351
|
-
/**
|
|
352
|
-
* The feature to set as active in the results component, if it exists. If
|
|
353
|
-
* multiple features are specified, only the first will be set as active.
|
|
354
|
-
*/
|
|
355
|
-
features: Features;
|
|
356
|
-
/**
|
|
357
|
-
* The result component to update, referenced by results model or its ID.
|
|
358
|
-
* Web only.
|
|
359
|
-
*
|
|
360
|
-
* @webOnly
|
|
361
|
-
*/
|
|
362
|
-
results?: ModelRef;
|
|
363
|
-
}
|
|
364
|
-
/**
|
|
365
|
-
* Event args for attachment events.
|
|
366
|
-
*/
|
|
367
|
-
export interface AttachmentEventArgs {
|
|
368
|
-
/**
|
|
369
|
-
* The feature to which the attachment belongs.
|
|
370
|
-
*/
|
|
371
|
-
feature: Feature;
|
|
372
|
-
/**
|
|
373
|
-
* The attachment this event relates to.
|
|
374
|
-
*/
|
|
375
|
-
attachment: Attachment;
|
|
376
|
-
}
|
|
377
|
-
/**
|
|
378
|
-
* Event args for feature detail events.
|
|
379
|
-
*/
|
|
380
|
-
export interface FeatureDetailsEvent {
|
|
381
|
-
/**
|
|
382
|
-
* The feature.
|
|
383
|
-
*/
|
|
384
|
-
feature: Feature;
|
|
385
|
-
}
|
|
386
|
-
export declare class ResultsCommands extends CommandRegistry {
|
|
387
|
-
protected readonly _prefix = "results";
|
|
388
|
-
/**
|
|
389
|
-
* Activates the current set of results component(s), which is set via
|
|
390
|
-
* results.set-display-components. Web only.
|
|
391
|
-
*
|
|
392
|
-
* @webOnly
|
|
393
|
-
*/
|
|
394
|
-
get activateDisplayComponents(): Command<void>;
|
|
395
|
-
/**
|
|
396
|
-
* Activates the group with the specified layerId in the results component.
|
|
397
|
-
* Web only.
|
|
398
|
-
*
|
|
399
|
-
* @webOnly
|
|
400
|
-
*/
|
|
401
|
-
get activateGroup(): Command<ActivateResultGroupArgs>;
|
|
402
|
-
/**
|
|
403
|
-
* Presents features to the user within any components that can display
|
|
404
|
-
* features, such as a feature list, feature table, or feature details
|
|
405
|
-
* component. The argument is the features to display, or an object
|
|
406
|
-
* specifying both features and the target results component to update (Web
|
|
407
|
-
* only).
|
|
408
|
-
*/
|
|
409
|
-
get display(): Command<Features | UpdateResultsFeaturesArgs>;
|
|
410
|
-
/**
|
|
411
|
-
* Sets the active feature for a particular results component specified by
|
|
412
|
-
* the `results` arg. Or, if the `results` arg is not defined, sets the
|
|
413
|
-
* active feature for all results components. Note that each results
|
|
414
|
-
* component can only have one active feature at a time, but the active
|
|
415
|
-
* feature can differ between different results components. Web only.
|
|
416
|
-
*
|
|
417
|
-
* @webOnly
|
|
418
|
-
*/
|
|
419
|
-
get setActiveFeature(): Command<SetActiveFeatureArgs>;
|
|
420
|
-
/**
|
|
421
|
-
* Sets the selector, using CSS selector syntax, which queries for results
|
|
422
|
-
* components in the app layout XML, such as the Results List or Results
|
|
423
|
-
* Table components. The selector is used to determine which components will
|
|
424
|
-
* be activated when displaying results using `results.display`. All other
|
|
425
|
-
* components that do not match the selector are deactivated after running
|
|
426
|
-
* this command. Web only.
|
|
427
|
-
*
|
|
428
|
-
* @webOnly
|
|
429
|
-
*/
|
|
430
|
-
get setDisplayComponents(): Command<string | SetDisplayComponentArgs>;
|
|
431
|
-
/**
|
|
432
|
-
* Presents feature details to the user within the feature-details
|
|
433
|
-
* component. The argument is the feature(s) to display, or an object
|
|
434
|
-
* specifying both features and the target results component to update (Web
|
|
435
|
-
* only).
|
|
436
|
-
*/
|
|
437
|
-
get displayDetails(): Command<Features | UpdateResultsFeaturesArgs>;
|
|
438
|
-
/**
|
|
439
|
-
* Presents a feature summary to the user within the feature-summary
|
|
440
|
-
* component. The argument is the feature(s) to display, or an object
|
|
441
|
-
* specifying both features and the target results component to update. Web
|
|
442
|
-
* only.
|
|
443
|
-
*
|
|
444
|
-
* @webOnly
|
|
445
|
-
*/
|
|
446
|
-
get displaySummary(): Command<Features | UpdateResultsFeaturesArgs>;
|
|
447
|
-
/**
|
|
448
|
-
* Presents new feature details to the user within the feature-details
|
|
449
|
-
* component. If the feature-details component is contained within a panel,
|
|
450
|
-
* a 'back' button will be provided to navigate to the previous content;
|
|
451
|
-
* otherwise, the content of the feature-details component will be
|
|
452
|
-
* replaced.
|
|
453
|
-
*/
|
|
454
|
-
get displayNewDetails(): Command<Features | UpdateResultsFeaturesArgs>;
|
|
455
|
-
/**
|
|
456
|
-
* Adds features to a currently shown set of features.
|
|
457
|
-
*/
|
|
458
|
-
get add(): Command<ShowResultsArgs>;
|
|
459
|
-
/**
|
|
460
|
-
* Removes features from the existing results that are not present in the
|
|
461
|
-
* given list of features.
|
|
462
|
-
*/
|
|
463
|
-
get intersect(): Command<ShowResultsArgs>;
|
|
464
|
-
/**
|
|
465
|
-
* Removes features from a currently shown set of features.
|
|
466
|
-
*/
|
|
467
|
-
get remove(): Command<ShowResultsArgs>;
|
|
468
|
-
/**
|
|
469
|
-
* Replaces feature(s) in the shown set of features. If a feature is not
|
|
470
|
-
* contained in the current set it is ignored. Features are uniquely
|
|
471
|
-
* identified by ID and not by object quality. Web only.
|
|
472
|
-
*
|
|
473
|
-
* @webOnly
|
|
474
|
-
*/
|
|
475
|
-
get replace(): Command<ShowResultsArgs>;
|
|
476
|
-
/**
|
|
477
|
-
* Clear features from results list, results table, and results details. If
|
|
478
|
-
* a component model or model ID is given, then only the specified component
|
|
479
|
-
* is cleared (Web only).
|
|
480
|
-
*/
|
|
481
|
-
get clear(): Command<ModelRef | TargetsResultsSetArgs | void>;
|
|
482
|
-
/**
|
|
483
|
-
* Clears the feature details so that no feature data is shown. Mobile only.
|
|
484
|
-
*
|
|
485
|
-
* @mobileOnly
|
|
486
|
-
*/
|
|
487
|
-
get clearDetails(): Command;
|
|
488
|
-
/**
|
|
489
|
-
* Deactivates the feature details component that is displaying the given
|
|
490
|
-
* feature. Mobile only.
|
|
491
|
-
*
|
|
492
|
-
* @mobileOnly
|
|
493
|
-
*/
|
|
494
|
-
get hideDetails(): Command<Feature[] | Feature>;
|
|
495
|
-
/**
|
|
496
|
-
* Opens an attachment and displays it. Mobile only.
|
|
497
|
-
*
|
|
498
|
-
* @mobileOnly
|
|
499
|
-
*/
|
|
500
|
-
get openAttachment(): Command<OpenAttachmentArgs>;
|
|
501
|
-
/**
|
|
502
|
-
* Refreshes one or more features in the results list. Mobile only.
|
|
503
|
-
*
|
|
504
|
-
* @mobileOnly
|
|
505
|
-
*/
|
|
506
|
-
get refresh(): Command<Features>;
|
|
507
|
-
/**
|
|
508
|
-
* Sets the view mode for a particular results list component, or globally
|
|
509
|
-
* for all results list components. Web only.
|
|
510
|
-
*
|
|
511
|
-
* @webOnly
|
|
512
|
-
*/
|
|
513
|
-
get setListViewMode(): Command<ViewMode | SetListViewModeArgs>;
|
|
514
|
-
/**
|
|
515
|
-
* Sets the card size for a particular results list component, or globally
|
|
516
|
-
* for all results list components. Web only.
|
|
517
|
-
*
|
|
518
|
-
* @webOnly
|
|
519
|
-
*/
|
|
520
|
-
get setListCardSize(): Command<CardSize | SetListCardSizeArgs>;
|
|
521
|
-
}
|
|
522
|
-
export declare class ResultsEvents extends EventRegistry {
|
|
523
|
-
protected readonly _prefix = "results";
|
|
524
|
-
/**
|
|
525
|
-
* Raised when results are added or removed to a named results set. Web
|
|
526
|
-
* only.
|
|
527
|
-
*
|
|
528
|
-
* @webOnly
|
|
529
|
-
*/
|
|
530
|
-
get changed(): Event<TargetsResultsSetArgs>;
|
|
531
|
-
/**
|
|
532
|
-
* Raised when results are displayed. Mobile only.
|
|
533
|
-
*
|
|
534
|
-
* @mobileOnly
|
|
535
|
-
*/
|
|
536
|
-
get displayed(): Event<Features>;
|
|
537
|
-
/**
|
|
538
|
-
* Raised when a feature attachment has been opened. Mobile only.
|
|
539
|
-
*
|
|
540
|
-
* @mobileOnly
|
|
541
|
-
*/
|
|
542
|
-
get attachmentOpened(): Event<AttachmentEventArgs>;
|
|
543
|
-
/**
|
|
544
|
-
* Raised when feature details are being shown. Mobile only.
|
|
545
|
-
*
|
|
546
|
-
* @mobileOnly
|
|
547
|
-
*/
|
|
548
|
-
get detailsShown(): Event<FeatureDetailsEvent>;
|
|
549
|
-
/**
|
|
550
|
-
* Raised when feature details of a related feature are being shown. Mobile
|
|
551
|
-
* only.
|
|
552
|
-
*
|
|
553
|
-
* @mobileOnly
|
|
554
|
-
*/
|
|
555
|
-
get relatedDetailsShown(): Event<FeatureDetailsEvent>;
|
|
556
|
-
}
|
|
557
|
-
export declare class ResultsOperations extends OperationRegistry {
|
|
558
|
-
protected readonly _prefix = "results";
|
|
559
|
-
/**
|
|
560
|
-
* Display a dialog to configure the arguments for the upload layer
|
|
561
|
-
* operation. Web only.
|
|
562
|
-
*
|
|
563
|
-
* @webOnly
|
|
564
|
-
*/
|
|
565
|
-
get configureUploadData(): Operation<UploadDataArgs[], UploadDataArgs[]>;
|
|
566
|
-
/**
|
|
567
|
-
* Check if features are contained in the specified results. Web only.
|
|
568
|
-
*
|
|
569
|
-
* @webOnly
|
|
570
|
-
*/
|
|
571
|
-
get contains(): Operation<TargetsResultsSetArgs & HasFeatures, boolean[]>;
|
|
572
|
-
/**
|
|
573
|
-
* Converts the provided Feature(s) to a CSV file grouped by feature source.
|
|
574
|
-
* If there are multiple sources the CSV(s) will be bundled in a zip file.
|
|
575
|
-
* Web only.
|
|
576
|
-
*
|
|
577
|
-
* @webOnly
|
|
578
|
-
*/
|
|
579
|
-
get convertToCsv(): Operation<ToCsvConversionArgs | Features, ConversionResult>;
|
|
580
|
-
/**
|
|
581
|
-
* Converts the provided Feature(s) to a XLSX file grouped by feature
|
|
582
|
-
* source. If there are multiple sources the XLSX(s) will be bundled in a
|
|
583
|
-
* zip file. Web only.
|
|
584
|
-
*
|
|
585
|
-
* @webOnly
|
|
586
|
-
*/
|
|
587
|
-
get convertToXlsx(): Operation<ToXLSXConversionArgs | Features, ConversionResult>;
|
|
588
|
-
/**
|
|
589
|
-
* Converts the provided Feature(s) to a Shapefile grouped by feature
|
|
590
|
-
* source. If there are multiple sources the Shapefile(s) will be bundled in
|
|
591
|
-
* a zip file. Web only.
|
|
592
|
-
*
|
|
593
|
-
* @webOnly
|
|
594
|
-
*/
|
|
595
|
-
get convertToShapefile(): Operation<ToShapefileConversionArgs | Features, ConversionResult>;
|
|
596
|
-
/**
|
|
597
|
-
* Creates layer(s) from the specified features. Web only.
|
|
598
|
-
*
|
|
599
|
-
* @webOnly
|
|
600
|
-
*/
|
|
601
|
-
get convertToLayers(): Operation<LayerConversionArgs | Features, Layer[]>;
|
|
602
|
-
/**
|
|
603
|
-
* Convert the specified csv blob to Features. Web only.
|
|
604
|
-
*
|
|
605
|
-
* @webOnly
|
|
606
|
-
*/
|
|
607
|
-
get fromCsv(): Operation<FromCsvConversionArgs | Blob | Blob[], Features>;
|
|
608
|
-
/**
|
|
609
|
-
* Convert the specified csv, xlsx or shapefile files to Features. Web only.
|
|
610
|
-
*
|
|
611
|
-
* @webOnly
|
|
612
|
-
*/
|
|
613
|
-
get fromFiles(): Operation<FromConverterArgs | File[], Features>;
|
|
614
|
-
/**
|
|
615
|
-
* Returns the current active feature from a specific results component if
|
|
616
|
-
* model ID or model is specified, otherwise returns all active features
|
|
617
|
-
* from all results components. Note that each results component can only
|
|
618
|
-
* have one active feature at a time, but the active feature can differ
|
|
619
|
-
* between different results components. Web only.
|
|
620
|
-
*
|
|
621
|
-
* @webOnly
|
|
622
|
-
*/
|
|
623
|
-
get getActiveFeatures(): Operation<ModelRef | void, Features | undefined>;
|
|
624
|
-
/**
|
|
625
|
-
* Convert the specified csv, xlsx or shapefile files to args that can be
|
|
626
|
-
* used to create Features. Web only.
|
|
627
|
-
*
|
|
628
|
-
* @webOnly
|
|
629
|
-
*/
|
|
630
|
-
get uploadDataFromFiles(): Operation<FromConverterArgs | File[], UploadDataArgs[]>;
|
|
631
|
-
/**
|
|
632
|
-
* Convert the supplied upload data args to features.
|
|
633
|
-
*/
|
|
634
|
-
get uploadDataToFeatures(): Operation<UploadDataArgs[], FeatureStream[]>;
|
|
635
|
-
/**
|
|
636
|
-
* Convert the specified Shapefile blob to Features. Web only.
|
|
637
|
-
*
|
|
638
|
-
* @webOnly
|
|
639
|
-
*/
|
|
640
|
-
get fromShapefile(): Operation<FromShapefileConversionArgs | Blob | Blob[], Features>;
|
|
641
|
-
/**
|
|
642
|
-
* Convert the specified xlsx blob to Features. Web only.
|
|
643
|
-
*
|
|
644
|
-
* @webOnly
|
|
645
|
-
*/
|
|
646
|
-
get fromXlsx(): Operation<FromXLSXConversionArgs | Blob | Blob[], Features>;
|
|
647
|
-
/**
|
|
648
|
-
* Converts provided GraphicsLike to VertiGIS Studio Features using any
|
|
649
|
-
* available metadata.
|
|
650
|
-
*/
|
|
651
|
-
get fromGraphics(): Operation<FromGraphicsArgs, Features>;
|
|
652
|
-
/**
|
|
653
|
-
* Converts VertiGIS Studio Features to Esri graphics.
|
|
654
|
-
*/
|
|
655
|
-
get toGraphics(): Operation<Features, Graphic[]>;
|
|
656
|
-
/**
|
|
657
|
-
* Returns the current set of features from a specific results component if
|
|
658
|
-
* a model or model ID is specified, otherwise from all results components.
|
|
659
|
-
* Web only.
|
|
660
|
-
*
|
|
661
|
-
* @webOnly
|
|
662
|
-
*/
|
|
663
|
-
get getFeatures(): Operation<ModelRef | TargetsResultsSetArgs | void, Features>;
|
|
664
|
-
/**
|
|
665
|
-
* Filters down a set of results using an SQL 'where' clause and/or an
|
|
666
|
-
* intersecting geometry. Web only.
|
|
667
|
-
*
|
|
668
|
-
* @webOnly
|
|
669
|
-
*/
|
|
670
|
-
get filter(): Operation<FilterResultsArgs, Features>;
|
|
671
|
-
}
|
|
1
|
+
import type Graphic from "@arcgis/core/Graphic";
|
|
2
|
+
import type Layer from "@arcgis/core/layers/Layer";
|
|
3
|
+
import type Sublayer from "@arcgis/core/layers/support/Sublayer";
|
|
4
|
+
import type Symbol from "@arcgis/core/symbols/Symbol";
|
|
5
|
+
import type { Attachment } from "@vertigis/arcgis-extensions/data/Attachment";
|
|
6
|
+
import type { Feature } from "@vertigis/arcgis-extensions/data/Feature";
|
|
7
|
+
import type { FeatureSettingsProperties } from "@vertigis/arcgis-extensions/data/FeatureSettings";
|
|
8
|
+
import type { FeatureSource } from "@vertigis/arcgis-extensions/data/FeatureSource";
|
|
9
|
+
import type { FeatureStream } from "@vertigis/arcgis-extensions/data/FeatureStream.js";
|
|
10
|
+
import type { SchemaProperties } from "@vertigis/arcgis-extensions/data/Schema";
|
|
11
|
+
import type { FromCsvOptions, FromShapefileOptions, FromXLSXOptions, ToCsvOptions, ToShapefileOptions, ToXLSXOptions, UploadDataOptions } from "@vertigis/arcgis-extensions/data/convert";
|
|
12
|
+
import type { QueryOptions } from "@vertigis/arcgis-extensions/tasks/query/QueryOptions";
|
|
13
|
+
import type { CardSize, ViewMode } from "../../app-config/web/ResultsModelProperties.js";
|
|
14
|
+
import type { Command } from "../Command.js";
|
|
15
|
+
import { CommandRegistry } from "../CommandRegistry.js";
|
|
16
|
+
import type { Event } from "../Event.js";
|
|
17
|
+
import { EventRegistry } from "../EventRegistry.js";
|
|
18
|
+
import type { Operation } from "../Operation.js";
|
|
19
|
+
import { OperationRegistry } from "../OperationRegistry.js";
|
|
20
|
+
import type { Blob, Features, FeaturesLike, File, GraphicsLike, HasFeatures, HasFiles, Layers, MapsLike, ModelRef } from "../common.js";
|
|
21
|
+
import type { VisualElement } from "../mobile.js";
|
|
22
|
+
/**
|
|
23
|
+
* Well known Results Set Ids.
|
|
24
|
+
*/
|
|
25
|
+
export declare enum KnownResultSetIds {
|
|
26
|
+
STARRED = "vgs-starred"
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Args for `results.from-files`.
|
|
30
|
+
*/
|
|
31
|
+
export type FromConverterArgs = FromCsvConversionArgs | FromShapefileConversionArgs | FromXLSXConversionArgs;
|
|
32
|
+
/**
|
|
33
|
+
* Arguments for various commands that target a result set of features.
|
|
34
|
+
*/
|
|
35
|
+
export interface TargetsResultsSetArgs {
|
|
36
|
+
/**
|
|
37
|
+
* If specified the results will be updated in the named results set only.
|
|
38
|
+
* Results sets with the prefix 'vgs' are reserved for system use and should
|
|
39
|
+
* not be used unless you are intentionally targeting a well known results
|
|
40
|
+
* set such as the 'vgs-starred' results. Web only.
|
|
41
|
+
*
|
|
42
|
+
* @webOnly
|
|
43
|
+
*/
|
|
44
|
+
resultsSetId?: KnownResultSetIds | string;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Arguments for various commands that affect a result component's features.
|
|
48
|
+
*/
|
|
49
|
+
export interface UpdateResultsFeaturesArgs extends TargetsResultsSetArgs, HasFeatures {
|
|
50
|
+
/**
|
|
51
|
+
* The result component to update, referenced by results model or its ID.
|
|
52
|
+
* Web only.
|
|
53
|
+
*
|
|
54
|
+
* @webOnly
|
|
55
|
+
*/
|
|
56
|
+
results?: ModelRef;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Arguments for the "results.convert-to-csv" operation.
|
|
60
|
+
*/
|
|
61
|
+
export interface ToCsvConversionArgs extends ToCsvOptions {
|
|
62
|
+
/**
|
|
63
|
+
* The feature(s) to convert.
|
|
64
|
+
*/
|
|
65
|
+
features: Features;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Arguments for the "results.upload-data-args-to-feature" operation.
|
|
69
|
+
*/
|
|
70
|
+
export interface UploadDataArgs extends UploadDataOptions {
|
|
71
|
+
/**
|
|
72
|
+
* A title for this dataset.
|
|
73
|
+
*/
|
|
74
|
+
title?: string;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Arguments for the "results.from-csv" operation.
|
|
78
|
+
*/
|
|
79
|
+
export interface FromCsvConversionArgs extends FromCsvOptions, HasFiles {
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Arguments for the "results.convert-to-xlsx" operation.
|
|
83
|
+
*/
|
|
84
|
+
export interface ToXLSXConversionArgs extends ToXLSXOptions {
|
|
85
|
+
/**
|
|
86
|
+
* The feature(s) to convert.
|
|
87
|
+
*/
|
|
88
|
+
features: Features;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Arguments for the "results.from-xlsx" operation.
|
|
92
|
+
*/
|
|
93
|
+
export interface FromXLSXConversionArgs extends FromXLSXOptions, HasFiles {
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Arguments for the "results.convert-to-shapefile" operation.
|
|
97
|
+
*/
|
|
98
|
+
export interface ToShapefileConversionArgs extends ToShapefileOptions {
|
|
99
|
+
/**
|
|
100
|
+
* The feature(s) to convert.
|
|
101
|
+
*/
|
|
102
|
+
features: Features;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Arguments for the "results.from-shapefile" operation.
|
|
106
|
+
*/
|
|
107
|
+
export interface FromShapefileConversionArgs extends FromShapefileOptions, HasFiles {
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Arguments for the "results.convert-to-layers" operation.
|
|
111
|
+
*/
|
|
112
|
+
export interface LayerConversionArgs {
|
|
113
|
+
/**
|
|
114
|
+
* Optionally a symbol to be used for point geometries.
|
|
115
|
+
*/
|
|
116
|
+
pointSymbol?: Symbol;
|
|
117
|
+
/**
|
|
118
|
+
* Optionally a symbol to be used for multipoint geometries.
|
|
119
|
+
*/
|
|
120
|
+
multipointSymbol?: Symbol;
|
|
121
|
+
/**
|
|
122
|
+
* Optionally a symbol to be used for polyline geometries.
|
|
123
|
+
*/
|
|
124
|
+
polylineSymbol?: Symbol;
|
|
125
|
+
/**
|
|
126
|
+
* Optionally a symbol to be used for polygon geometries.
|
|
127
|
+
*/
|
|
128
|
+
polygonSymbol?: Symbol;
|
|
129
|
+
/**
|
|
130
|
+
* Optionally a symbol to be used for mesh geometries.
|
|
131
|
+
*/
|
|
132
|
+
meshSymbol?: Symbol;
|
|
133
|
+
/**
|
|
134
|
+
* The feature(s) to convert.
|
|
135
|
+
*/
|
|
136
|
+
features: Features;
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* Result of various operations that convert features into a downloadable file.
|
|
140
|
+
*/
|
|
141
|
+
export interface ConversionResult {
|
|
142
|
+
/**
|
|
143
|
+
* The result of the conversion in the specified form.
|
|
144
|
+
*/
|
|
145
|
+
result: Blob;
|
|
146
|
+
/**
|
|
147
|
+
* A file name representation for the conversion.
|
|
148
|
+
*/
|
|
149
|
+
name: string;
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* Arguments for the "results.from-graphics" operation.
|
|
153
|
+
*/
|
|
154
|
+
export interface FromGraphicsArgs {
|
|
155
|
+
/**
|
|
156
|
+
* A selection of graphics to be converted to features.
|
|
157
|
+
*/
|
|
158
|
+
graphics: GraphicsLike;
|
|
159
|
+
/**
|
|
160
|
+
* The layer the graphics originate from, or the ID of that layer. Used as
|
|
161
|
+
* the source for created features.
|
|
162
|
+
*/
|
|
163
|
+
layer?: Layer | string;
|
|
164
|
+
/**
|
|
165
|
+
* The sublayer the graphics originate from, or the ID of that sublayer.
|
|
166
|
+
* Used as the source for created features. Will not be used unless layer
|
|
167
|
+
* parameter is also provided.
|
|
168
|
+
*/
|
|
169
|
+
sublayer?: Sublayer | number;
|
|
170
|
+
/**
|
|
171
|
+
* The maps to search for the given layer.
|
|
172
|
+
*/
|
|
173
|
+
maps?: MapsLike;
|
|
174
|
+
/**
|
|
175
|
+
* FeatureSettings to use for feature metadata if the layer is not provided
|
|
176
|
+
* or can't be found.
|
|
177
|
+
*/
|
|
178
|
+
featureSettings?: FeatureSettingsProperties;
|
|
179
|
+
/**
|
|
180
|
+
* The schema to be associated with the returned features. This property is
|
|
181
|
+
* only necessary when no layer nor sublayer are present.
|
|
182
|
+
*/
|
|
183
|
+
schema?: SchemaProperties;
|
|
184
|
+
/**
|
|
185
|
+
* The feature source title to use if no layer or sublayer is associated
|
|
186
|
+
* with the features.
|
|
187
|
+
*/
|
|
188
|
+
title?: string;
|
|
189
|
+
/**
|
|
190
|
+
* The feature source ID to use if the results are associated with a
|
|
191
|
+
* workflow.
|
|
192
|
+
*/
|
|
193
|
+
workflowItemId?: string;
|
|
194
|
+
/**
|
|
195
|
+
* Whether to fetch attachments for the returned features. Defaults to
|
|
196
|
+
* false. Mobile only.
|
|
197
|
+
*
|
|
198
|
+
* @mobileOnly
|
|
199
|
+
*/
|
|
200
|
+
fetchAttachments?: boolean;
|
|
201
|
+
/**
|
|
202
|
+
* Whether to fetch related features for the returned features. Defaults to
|
|
203
|
+
* false. Mobile only.
|
|
204
|
+
*
|
|
205
|
+
* @mobileOnly
|
|
206
|
+
*/
|
|
207
|
+
fetchRelatedFeatures?: boolean;
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* Arguments for the "results.open-attachment" command.
|
|
211
|
+
*/
|
|
212
|
+
export interface OpenAttachmentArgs {
|
|
213
|
+
/**
|
|
214
|
+
* The index of the photo to start at.
|
|
215
|
+
*/
|
|
216
|
+
startIndex: number;
|
|
217
|
+
/**
|
|
218
|
+
* The attachment to open.
|
|
219
|
+
*/
|
|
220
|
+
attachments: Attachment[];
|
|
221
|
+
/**
|
|
222
|
+
* The sender UI element to use as an anchor point for animation when
|
|
223
|
+
* opening the attachment.
|
|
224
|
+
*/
|
|
225
|
+
sender: VisualElement;
|
|
226
|
+
}
|
|
227
|
+
/**
|
|
228
|
+
* Arguments for the "results.filter" operation.
|
|
229
|
+
*/
|
|
230
|
+
export interface FilterResultsArgs {
|
|
231
|
+
/**
|
|
232
|
+
* Features or Graphics to filter.
|
|
233
|
+
*/
|
|
234
|
+
features: FeaturesLike | GraphicsLike;
|
|
235
|
+
/**
|
|
236
|
+
* An SQL 'where' clause used to filter down a set of results.
|
|
237
|
+
*/
|
|
238
|
+
where?: string;
|
|
239
|
+
/**
|
|
240
|
+
* The source of the Results. This is only necessary if Graphics are passed
|
|
241
|
+
* into the filter operation.
|
|
242
|
+
*/
|
|
243
|
+
source?: FeatureSource;
|
|
244
|
+
/**
|
|
245
|
+
* Additional query options with which to filter the results.
|
|
246
|
+
*/
|
|
247
|
+
options?: QueryOptions;
|
|
248
|
+
}
|
|
249
|
+
/**
|
|
250
|
+
* Arguments for the "results.set-list-view-mode" command.
|
|
251
|
+
*/
|
|
252
|
+
export interface SetListViewModeArgs {
|
|
253
|
+
/**
|
|
254
|
+
* The view mode to activate on the results list component. Web only.
|
|
255
|
+
*
|
|
256
|
+
* @webOnly
|
|
257
|
+
*/
|
|
258
|
+
viewMode: ViewMode;
|
|
259
|
+
/**
|
|
260
|
+
* The result component to update, referenced by results model or its ID.
|
|
261
|
+
* Web only.
|
|
262
|
+
*
|
|
263
|
+
* @webOnly
|
|
264
|
+
*/
|
|
265
|
+
results?: ModelRef;
|
|
266
|
+
}
|
|
267
|
+
/**
|
|
268
|
+
* Arguments for the "results.activate-group" command.
|
|
269
|
+
*/
|
|
270
|
+
export interface ActivateResultGroupArgs {
|
|
271
|
+
/**
|
|
272
|
+
* The layer to activate the corresponding group for in the results
|
|
273
|
+
* component. If more than one layer is included, only the first item in the
|
|
274
|
+
* array will be used. One of `sources` or `layers` is required. If both are
|
|
275
|
+
* specified, `sources` will take precedence. Web only.
|
|
276
|
+
*
|
|
277
|
+
* @webOnly
|
|
278
|
+
*/
|
|
279
|
+
layers?: Layers;
|
|
280
|
+
/**
|
|
281
|
+
* An array of sources to activate the corresponding group for in the
|
|
282
|
+
* results component. Only the first item in the array will be used. One of
|
|
283
|
+
* `sources` or `layers` is required. If both are specified, `sources` will
|
|
284
|
+
* take precedence. Web only.
|
|
285
|
+
*
|
|
286
|
+
* @webOnly
|
|
287
|
+
*/
|
|
288
|
+
sources?: FeatureSource[];
|
|
289
|
+
/**
|
|
290
|
+
* The result component to update, referenced by results model or its ID.
|
|
291
|
+
* Web only.
|
|
292
|
+
*
|
|
293
|
+
* @webOnly
|
|
294
|
+
*/
|
|
295
|
+
results?: ModelRef;
|
|
296
|
+
}
|
|
297
|
+
/**
|
|
298
|
+
* Arguments for the "results.set-list-card-size" command.
|
|
299
|
+
*/
|
|
300
|
+
export interface SetListCardSizeArgs {
|
|
301
|
+
/**
|
|
302
|
+
* The card size to set on the results list component. Web only.
|
|
303
|
+
*
|
|
304
|
+
* @webOnly
|
|
305
|
+
*/
|
|
306
|
+
cardSize: CardSize;
|
|
307
|
+
/**
|
|
308
|
+
* The result component to update, referenced by results model or its ID.
|
|
309
|
+
* Web only.
|
|
310
|
+
*
|
|
311
|
+
* @webOnly
|
|
312
|
+
*/
|
|
313
|
+
results?: ModelRef;
|
|
314
|
+
}
|
|
315
|
+
/**
|
|
316
|
+
* Arguments for various commands that manipulate the current set of shown
|
|
317
|
+
* results.
|
|
318
|
+
*/
|
|
319
|
+
export type ShowResultsArgs = Features | (UpdateResultsFeaturesArgs & {
|
|
320
|
+
/**
|
|
321
|
+
* Whether to activate the component showing the results of the
|
|
322
|
+
* operation. False by default.
|
|
323
|
+
*
|
|
324
|
+
* @mobileOnly
|
|
325
|
+
*/
|
|
326
|
+
activate?: boolean;
|
|
327
|
+
});
|
|
328
|
+
/**
|
|
329
|
+
* Arguments for the "results.set-display-components" command.
|
|
330
|
+
*/
|
|
331
|
+
export interface SetDisplayComponentArgs {
|
|
332
|
+
/**
|
|
333
|
+
* Sets the selector, using CSS selector syntax, which queries for results
|
|
334
|
+
* components in the app layout XML, such as the Results List or Results
|
|
335
|
+
* Table components. The selector is used to determine which components will
|
|
336
|
+
* be activated when displaying results using `results.display`.
|
|
337
|
+
*/
|
|
338
|
+
selector: string;
|
|
339
|
+
/**
|
|
340
|
+
* The result component to update, referenced by results model or its ID.
|
|
341
|
+
* Web only.
|
|
342
|
+
*
|
|
343
|
+
* @webOnly
|
|
344
|
+
*/
|
|
345
|
+
results?: ModelRef;
|
|
346
|
+
}
|
|
347
|
+
/**
|
|
348
|
+
* Arguments for the "results.set-active-feature" command.
|
|
349
|
+
*/
|
|
350
|
+
export interface SetActiveFeatureArgs {
|
|
351
|
+
/**
|
|
352
|
+
* The feature to set as active in the results component, if it exists. If
|
|
353
|
+
* multiple features are specified, only the first will be set as active.
|
|
354
|
+
*/
|
|
355
|
+
features: Features;
|
|
356
|
+
/**
|
|
357
|
+
* The result component to update, referenced by results model or its ID.
|
|
358
|
+
* Web only.
|
|
359
|
+
*
|
|
360
|
+
* @webOnly
|
|
361
|
+
*/
|
|
362
|
+
results?: ModelRef;
|
|
363
|
+
}
|
|
364
|
+
/**
|
|
365
|
+
* Event args for attachment events.
|
|
366
|
+
*/
|
|
367
|
+
export interface AttachmentEventArgs {
|
|
368
|
+
/**
|
|
369
|
+
* The feature to which the attachment belongs.
|
|
370
|
+
*/
|
|
371
|
+
feature: Feature;
|
|
372
|
+
/**
|
|
373
|
+
* The attachment this event relates to.
|
|
374
|
+
*/
|
|
375
|
+
attachment: Attachment;
|
|
376
|
+
}
|
|
377
|
+
/**
|
|
378
|
+
* Event args for feature detail events.
|
|
379
|
+
*/
|
|
380
|
+
export interface FeatureDetailsEvent {
|
|
381
|
+
/**
|
|
382
|
+
* The feature.
|
|
383
|
+
*/
|
|
384
|
+
feature: Feature;
|
|
385
|
+
}
|
|
386
|
+
export declare class ResultsCommands extends CommandRegistry {
|
|
387
|
+
protected readonly _prefix = "results";
|
|
388
|
+
/**
|
|
389
|
+
* Activates the current set of results component(s), which is set via
|
|
390
|
+
* results.set-display-components. Web only.
|
|
391
|
+
*
|
|
392
|
+
* @webOnly
|
|
393
|
+
*/
|
|
394
|
+
get activateDisplayComponents(): Command<void>;
|
|
395
|
+
/**
|
|
396
|
+
* Activates the group with the specified layerId in the results component.
|
|
397
|
+
* Web only.
|
|
398
|
+
*
|
|
399
|
+
* @webOnly
|
|
400
|
+
*/
|
|
401
|
+
get activateGroup(): Command<ActivateResultGroupArgs>;
|
|
402
|
+
/**
|
|
403
|
+
* Presents features to the user within any components that can display
|
|
404
|
+
* features, such as a feature list, feature table, or feature details
|
|
405
|
+
* component. The argument is the features to display, or an object
|
|
406
|
+
* specifying both features and the target results component to update (Web
|
|
407
|
+
* only).
|
|
408
|
+
*/
|
|
409
|
+
get display(): Command<Features | UpdateResultsFeaturesArgs>;
|
|
410
|
+
/**
|
|
411
|
+
* Sets the active feature for a particular results component specified by
|
|
412
|
+
* the `results` arg. Or, if the `results` arg is not defined, sets the
|
|
413
|
+
* active feature for all results components. Note that each results
|
|
414
|
+
* component can only have one active feature at a time, but the active
|
|
415
|
+
* feature can differ between different results components. Web only.
|
|
416
|
+
*
|
|
417
|
+
* @webOnly
|
|
418
|
+
*/
|
|
419
|
+
get setActiveFeature(): Command<SetActiveFeatureArgs>;
|
|
420
|
+
/**
|
|
421
|
+
* Sets the selector, using CSS selector syntax, which queries for results
|
|
422
|
+
* components in the app layout XML, such as the Results List or Results
|
|
423
|
+
* Table components. The selector is used to determine which components will
|
|
424
|
+
* be activated when displaying results using `results.display`. All other
|
|
425
|
+
* components that do not match the selector are deactivated after running
|
|
426
|
+
* this command. Web only.
|
|
427
|
+
*
|
|
428
|
+
* @webOnly
|
|
429
|
+
*/
|
|
430
|
+
get setDisplayComponents(): Command<string | SetDisplayComponentArgs>;
|
|
431
|
+
/**
|
|
432
|
+
* Presents feature details to the user within the feature-details
|
|
433
|
+
* component. The argument is the feature(s) to display, or an object
|
|
434
|
+
* specifying both features and the target results component to update (Web
|
|
435
|
+
* only).
|
|
436
|
+
*/
|
|
437
|
+
get displayDetails(): Command<Features | UpdateResultsFeaturesArgs>;
|
|
438
|
+
/**
|
|
439
|
+
* Presents a feature summary to the user within the feature-summary
|
|
440
|
+
* component. The argument is the feature(s) to display, or an object
|
|
441
|
+
* specifying both features and the target results component to update. Web
|
|
442
|
+
* only.
|
|
443
|
+
*
|
|
444
|
+
* @webOnly
|
|
445
|
+
*/
|
|
446
|
+
get displaySummary(): Command<Features | UpdateResultsFeaturesArgs>;
|
|
447
|
+
/**
|
|
448
|
+
* Presents new feature details to the user within the feature-details
|
|
449
|
+
* component. If the feature-details component is contained within a panel,
|
|
450
|
+
* a 'back' button will be provided to navigate to the previous content;
|
|
451
|
+
* otherwise, the content of the feature-details component will be
|
|
452
|
+
* replaced.
|
|
453
|
+
*/
|
|
454
|
+
get displayNewDetails(): Command<Features | UpdateResultsFeaturesArgs>;
|
|
455
|
+
/**
|
|
456
|
+
* Adds features to a currently shown set of features.
|
|
457
|
+
*/
|
|
458
|
+
get add(): Command<ShowResultsArgs>;
|
|
459
|
+
/**
|
|
460
|
+
* Removes features from the existing results that are not present in the
|
|
461
|
+
* given list of features.
|
|
462
|
+
*/
|
|
463
|
+
get intersect(): Command<ShowResultsArgs>;
|
|
464
|
+
/**
|
|
465
|
+
* Removes features from a currently shown set of features.
|
|
466
|
+
*/
|
|
467
|
+
get remove(): Command<ShowResultsArgs>;
|
|
468
|
+
/**
|
|
469
|
+
* Replaces feature(s) in the shown set of features. If a feature is not
|
|
470
|
+
* contained in the current set it is ignored. Features are uniquely
|
|
471
|
+
* identified by ID and not by object quality. Web only.
|
|
472
|
+
*
|
|
473
|
+
* @webOnly
|
|
474
|
+
*/
|
|
475
|
+
get replace(): Command<ShowResultsArgs>;
|
|
476
|
+
/**
|
|
477
|
+
* Clear features from results list, results table, and results details. If
|
|
478
|
+
* a component model or model ID is given, then only the specified component
|
|
479
|
+
* is cleared (Web only).
|
|
480
|
+
*/
|
|
481
|
+
get clear(): Command<ModelRef | TargetsResultsSetArgs | void>;
|
|
482
|
+
/**
|
|
483
|
+
* Clears the feature details so that no feature data is shown. Mobile only.
|
|
484
|
+
*
|
|
485
|
+
* @mobileOnly
|
|
486
|
+
*/
|
|
487
|
+
get clearDetails(): Command;
|
|
488
|
+
/**
|
|
489
|
+
* Deactivates the feature details component that is displaying the given
|
|
490
|
+
* feature. Mobile only.
|
|
491
|
+
*
|
|
492
|
+
* @mobileOnly
|
|
493
|
+
*/
|
|
494
|
+
get hideDetails(): Command<Feature[] | Feature>;
|
|
495
|
+
/**
|
|
496
|
+
* Opens an attachment and displays it. Mobile only.
|
|
497
|
+
*
|
|
498
|
+
* @mobileOnly
|
|
499
|
+
*/
|
|
500
|
+
get openAttachment(): Command<OpenAttachmentArgs>;
|
|
501
|
+
/**
|
|
502
|
+
* Refreshes one or more features in the results list. Mobile only.
|
|
503
|
+
*
|
|
504
|
+
* @mobileOnly
|
|
505
|
+
*/
|
|
506
|
+
get refresh(): Command<Features>;
|
|
507
|
+
/**
|
|
508
|
+
* Sets the view mode for a particular results list component, or globally
|
|
509
|
+
* for all results list components. Web only.
|
|
510
|
+
*
|
|
511
|
+
* @webOnly
|
|
512
|
+
*/
|
|
513
|
+
get setListViewMode(): Command<ViewMode | SetListViewModeArgs>;
|
|
514
|
+
/**
|
|
515
|
+
* Sets the card size for a particular results list component, or globally
|
|
516
|
+
* for all results list components. Web only.
|
|
517
|
+
*
|
|
518
|
+
* @webOnly
|
|
519
|
+
*/
|
|
520
|
+
get setListCardSize(): Command<CardSize | SetListCardSizeArgs>;
|
|
521
|
+
}
|
|
522
|
+
export declare class ResultsEvents extends EventRegistry {
|
|
523
|
+
protected readonly _prefix = "results";
|
|
524
|
+
/**
|
|
525
|
+
* Raised when results are added or removed to a named results set. Web
|
|
526
|
+
* only.
|
|
527
|
+
*
|
|
528
|
+
* @webOnly
|
|
529
|
+
*/
|
|
530
|
+
get changed(): Event<TargetsResultsSetArgs>;
|
|
531
|
+
/**
|
|
532
|
+
* Raised when results are displayed. Mobile only.
|
|
533
|
+
*
|
|
534
|
+
* @mobileOnly
|
|
535
|
+
*/
|
|
536
|
+
get displayed(): Event<Features>;
|
|
537
|
+
/**
|
|
538
|
+
* Raised when a feature attachment has been opened. Mobile only.
|
|
539
|
+
*
|
|
540
|
+
* @mobileOnly
|
|
541
|
+
*/
|
|
542
|
+
get attachmentOpened(): Event<AttachmentEventArgs>;
|
|
543
|
+
/**
|
|
544
|
+
* Raised when feature details are being shown. Mobile only.
|
|
545
|
+
*
|
|
546
|
+
* @mobileOnly
|
|
547
|
+
*/
|
|
548
|
+
get detailsShown(): Event<FeatureDetailsEvent>;
|
|
549
|
+
/**
|
|
550
|
+
* Raised when feature details of a related feature are being shown. Mobile
|
|
551
|
+
* only.
|
|
552
|
+
*
|
|
553
|
+
* @mobileOnly
|
|
554
|
+
*/
|
|
555
|
+
get relatedDetailsShown(): Event<FeatureDetailsEvent>;
|
|
556
|
+
}
|
|
557
|
+
export declare class ResultsOperations extends OperationRegistry {
|
|
558
|
+
protected readonly _prefix = "results";
|
|
559
|
+
/**
|
|
560
|
+
* Display a dialog to configure the arguments for the upload layer
|
|
561
|
+
* operation. Web only.
|
|
562
|
+
*
|
|
563
|
+
* @webOnly
|
|
564
|
+
*/
|
|
565
|
+
get configureUploadData(): Operation<UploadDataArgs[], UploadDataArgs[]>;
|
|
566
|
+
/**
|
|
567
|
+
* Check if features are contained in the specified results. Web only.
|
|
568
|
+
*
|
|
569
|
+
* @webOnly
|
|
570
|
+
*/
|
|
571
|
+
get contains(): Operation<TargetsResultsSetArgs & HasFeatures, boolean[]>;
|
|
572
|
+
/**
|
|
573
|
+
* Converts the provided Feature(s) to a CSV file grouped by feature source.
|
|
574
|
+
* If there are multiple sources the CSV(s) will be bundled in a zip file.
|
|
575
|
+
* Web only.
|
|
576
|
+
*
|
|
577
|
+
* @webOnly
|
|
578
|
+
*/
|
|
579
|
+
get convertToCsv(): Operation<ToCsvConversionArgs | Features, ConversionResult>;
|
|
580
|
+
/**
|
|
581
|
+
* Converts the provided Feature(s) to a XLSX file grouped by feature
|
|
582
|
+
* source. If there are multiple sources the XLSX(s) will be bundled in a
|
|
583
|
+
* zip file. Web only.
|
|
584
|
+
*
|
|
585
|
+
* @webOnly
|
|
586
|
+
*/
|
|
587
|
+
get convertToXlsx(): Operation<ToXLSXConversionArgs | Features, ConversionResult>;
|
|
588
|
+
/**
|
|
589
|
+
* Converts the provided Feature(s) to a Shapefile grouped by feature
|
|
590
|
+
* source. If there are multiple sources the Shapefile(s) will be bundled in
|
|
591
|
+
* a zip file. Web only.
|
|
592
|
+
*
|
|
593
|
+
* @webOnly
|
|
594
|
+
*/
|
|
595
|
+
get convertToShapefile(): Operation<ToShapefileConversionArgs | Features, ConversionResult>;
|
|
596
|
+
/**
|
|
597
|
+
* Creates layer(s) from the specified features. Web only.
|
|
598
|
+
*
|
|
599
|
+
* @webOnly
|
|
600
|
+
*/
|
|
601
|
+
get convertToLayers(): Operation<LayerConversionArgs | Features, Layer[]>;
|
|
602
|
+
/**
|
|
603
|
+
* Convert the specified csv blob to Features. Web only.
|
|
604
|
+
*
|
|
605
|
+
* @webOnly
|
|
606
|
+
*/
|
|
607
|
+
get fromCsv(): Operation<FromCsvConversionArgs | Blob | Blob[], Features>;
|
|
608
|
+
/**
|
|
609
|
+
* Convert the specified csv, xlsx or shapefile files to Features. Web only.
|
|
610
|
+
*
|
|
611
|
+
* @webOnly
|
|
612
|
+
*/
|
|
613
|
+
get fromFiles(): Operation<FromConverterArgs | File[], Features>;
|
|
614
|
+
/**
|
|
615
|
+
* Returns the current active feature from a specific results component if
|
|
616
|
+
* model ID or model is specified, otherwise returns all active features
|
|
617
|
+
* from all results components. Note that each results component can only
|
|
618
|
+
* have one active feature at a time, but the active feature can differ
|
|
619
|
+
* between different results components. Web only.
|
|
620
|
+
*
|
|
621
|
+
* @webOnly
|
|
622
|
+
*/
|
|
623
|
+
get getActiveFeatures(): Operation<ModelRef | void, Features | undefined>;
|
|
624
|
+
/**
|
|
625
|
+
* Convert the specified csv, xlsx or shapefile files to args that can be
|
|
626
|
+
* used to create Features. Web only.
|
|
627
|
+
*
|
|
628
|
+
* @webOnly
|
|
629
|
+
*/
|
|
630
|
+
get uploadDataFromFiles(): Operation<FromConverterArgs | File[], UploadDataArgs[]>;
|
|
631
|
+
/**
|
|
632
|
+
* Convert the supplied upload data args to features.
|
|
633
|
+
*/
|
|
634
|
+
get uploadDataToFeatures(): Operation<UploadDataArgs[], FeatureStream[]>;
|
|
635
|
+
/**
|
|
636
|
+
* Convert the specified Shapefile blob to Features. Web only.
|
|
637
|
+
*
|
|
638
|
+
* @webOnly
|
|
639
|
+
*/
|
|
640
|
+
get fromShapefile(): Operation<FromShapefileConversionArgs | Blob | Blob[], Features>;
|
|
641
|
+
/**
|
|
642
|
+
* Convert the specified xlsx blob to Features. Web only.
|
|
643
|
+
*
|
|
644
|
+
* @webOnly
|
|
645
|
+
*/
|
|
646
|
+
get fromXlsx(): Operation<FromXLSXConversionArgs | Blob | Blob[], Features>;
|
|
647
|
+
/**
|
|
648
|
+
* Converts provided GraphicsLike to VertiGIS Studio Features using any
|
|
649
|
+
* available metadata.
|
|
650
|
+
*/
|
|
651
|
+
get fromGraphics(): Operation<FromGraphicsArgs, Features>;
|
|
652
|
+
/**
|
|
653
|
+
* Converts VertiGIS Studio Features to Esri graphics.
|
|
654
|
+
*/
|
|
655
|
+
get toGraphics(): Operation<Features, Graphic[]>;
|
|
656
|
+
/**
|
|
657
|
+
* Returns the current set of features from a specific results component if
|
|
658
|
+
* a model or model ID is specified, otherwise from all results components.
|
|
659
|
+
* Web only.
|
|
660
|
+
*
|
|
661
|
+
* @webOnly
|
|
662
|
+
*/
|
|
663
|
+
get getFeatures(): Operation<ModelRef | TargetsResultsSetArgs | void, Features>;
|
|
664
|
+
/**
|
|
665
|
+
* Filters down a set of results using an SQL 'where' clause and/or an
|
|
666
|
+
* intersecting geometry. Web only.
|
|
667
|
+
*
|
|
668
|
+
* @webOnly
|
|
669
|
+
*/
|
|
670
|
+
get filter(): Operation<FilterResultsArgs, Features>;
|
|
671
|
+
}
|