@vertigis/viewer-spec 56.23.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/layout/schema/layout-common.xsd +20 -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,149 +1,149 @@
|
|
|
1
|
-
import type Geometry from "@arcgis/core/geometry/Geometry.js";
|
|
2
|
-
import type LineSymbol3D from "@arcgis/core/symbols/LineSymbol3D";
|
|
3
|
-
import type PictureFillSymbol from "@arcgis/core/symbols/PictureFillSymbol";
|
|
4
|
-
import type PictureMarkerSymbol from "@arcgis/core/symbols/PictureMarkerSymbol";
|
|
5
|
-
import type PointSymbol3D from "@arcgis/core/symbols/PointSymbol3D";
|
|
6
|
-
import type PolygonSymbol3D from "@arcgis/core/symbols/PolygonSymbol3D";
|
|
7
|
-
import type SimpleFillSymbol from "@arcgis/core/symbols/SimpleFillSymbol";
|
|
8
|
-
import type SimpleLineSymbol from "@arcgis/core/symbols/SimpleLineSymbol";
|
|
9
|
-
import type SimpleMarkerSymbol from "@arcgis/core/symbols/SimpleMarkerSymbol";
|
|
10
|
-
import type Symbol from "@arcgis/core/symbols/Symbol";
|
|
11
|
-
import type { LineSymbol3DJson, PictureFillSymbolJson, PictureMarkerSymbolJson, PointSymbol3DJson, PolygonSymbol3DJson, SimpleFillSymbolJson, SimpleLineSymbolJson, SimpleMarkerSymbolJson } from "@vertigis/arcgis-extensions/json/SymbolJson.js";
|
|
12
|
-
import type { GeometryType } from "@vertigis/arcgis-extensions/support/esri";
|
|
13
|
-
import type { SymbolPresetProperties } from "../../app-config/web/DrawModelProperties.js";
|
|
14
|
-
import type { Command } from "../Command.js";
|
|
15
|
-
import { CommandRegistry } from "../CommandRegistry.js";
|
|
16
|
-
import type { Operation } from "../Operation.js";
|
|
17
|
-
import { OperationRegistry } from "../OperationRegistry.js";
|
|
18
|
-
import type { CreateGraphicsResult, FeaturesLike, GeometryLike, HasFeatures, HasGraphics, HasLayers, HasMaps, HasSymbol, HasSymbols, HasUITarget, SymbolLike } from "../common.js";
|
|
19
|
-
import type { CaptureGeometryArgs } from "./sketching.js";
|
|
20
|
-
/**
|
|
21
|
-
* Symbols supported for drawing.
|
|
22
|
-
*/
|
|
23
|
-
export type DrawingSymbolConfig = SimpleMarkerSymbol | SimpleMarkerSymbolJson | PictureMarkerSymbol | PictureMarkerSymbolJson | SimpleLineSymbol | SimpleLineSymbolJson | SimpleFillSymbol | SimpleFillSymbolJson | PictureFillSymbol | PictureFillSymbolJson | PointSymbol3D | PointSymbol3DJson | LineSymbol3D | LineSymbol3DJson | PolygonSymbol3D | PolygonSymbol3DJson;
|
|
24
|
-
/**
|
|
25
|
-
* Arguments for the drawing.get-symbol operation. Only available in VertiGIS
|
|
26
|
-
* Studio Web.
|
|
27
|
-
*/
|
|
28
|
-
export interface GetDefaultSymbolArgs {
|
|
29
|
-
/**
|
|
30
|
-
* The geometry type for the default symbol to retrieve.
|
|
31
|
-
*/
|
|
32
|
-
geometryType?: GeometryType;
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Arguments for the drawing.edit-symbol operation. Only available in VertiGIS
|
|
36
|
-
* Studio Web.
|
|
37
|
-
*/
|
|
38
|
-
export interface EditSymbolArgs extends HasSymbol, HasSymbols, HasMaps, HasLayers, HasGraphics, HasFeatures, HasUITarget {
|
|
39
|
-
/**
|
|
40
|
-
* The geometry type for the symbol to create.
|
|
41
|
-
*/
|
|
42
|
-
geometryType?: GeometryType;
|
|
43
|
-
/**
|
|
44
|
-
* Symbol presets that can be assigned to a graphic. If defined, these
|
|
45
|
-
* presets will override any that are configured in the DrawService.
|
|
46
|
-
*/
|
|
47
|
-
symbolPresets?: SymbolPresetProperties[];
|
|
48
|
-
/**
|
|
49
|
-
* If the fine-grain controls should be hidden and only the symbol presets
|
|
50
|
-
* should be shown. If no valid symbol presets are configured, this property
|
|
51
|
-
* will be ignored. Default is false. If defined, this will override the
|
|
52
|
-
* value of the DrawService's 'showOnlySymbolPresets' property.
|
|
53
|
-
*/
|
|
54
|
-
showOnlySymbolPresets?: boolean;
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* Arguments for the drawing.edit-symbol operation. Only available in VertiGIS
|
|
58
|
-
* Studio Web.
|
|
59
|
-
*/
|
|
60
|
-
export interface EditSymbolResult extends HasMaps, HasLayers, HasGraphics, HasFeatures, HasSymbols, HasSymbol {
|
|
61
|
-
}
|
|
62
|
-
/**
|
|
63
|
-
* Arguments for the "drawing.create-graphics" operation. `GeometryLike`,
|
|
64
|
-
* `FeaturesLike` and `SymbolLike` are only available in Web.
|
|
65
|
-
*/
|
|
66
|
-
export interface CreateGraphicsArgs extends HasMaps {
|
|
67
|
-
/**
|
|
68
|
-
* The geometry that was captured.
|
|
69
|
-
*/
|
|
70
|
-
geometry: Geometry | GeometryLike;
|
|
71
|
-
/**
|
|
72
|
-
* Features containing geometry to create graphics from. Web only.
|
|
73
|
-
*/
|
|
74
|
-
features?: FeaturesLike;
|
|
75
|
-
/**
|
|
76
|
-
* The symbol that should be used to create the graphic. If null, a default
|
|
77
|
-
* is provided.
|
|
78
|
-
*/
|
|
79
|
-
symbol?: Symbol | SymbolLike;
|
|
80
|
-
}
|
|
81
|
-
export declare class DrawingCommands extends CommandRegistry {
|
|
82
|
-
protected readonly _prefix = "drawing";
|
|
83
|
-
/**
|
|
84
|
-
* Allows the user to draw on the map by capturing geometry, creating a
|
|
85
|
-
* graphic, and persisting the graphic on the map. This is a shortcut for
|
|
86
|
-
* the command chain ["sketching.capture-geometry",
|
|
87
|
-
* "drawing.create-graphics", "map.add-markup"]. Some default
|
|
88
|
-
* geometryEditorSettings are also applied. Mobile only.
|
|
89
|
-
*
|
|
90
|
-
* @mobileOnly
|
|
91
|
-
*/
|
|
92
|
-
get draw(): Command<CaptureGeometryArgs>;
|
|
93
|
-
/**
|
|
94
|
-
* Sets a value that determines whether drawings will be synced
|
|
95
|
-
* automatically across maps.
|
|
96
|
-
*/
|
|
97
|
-
get setSync(): Command<boolean>;
|
|
98
|
-
/**
|
|
99
|
-
* Sets the value of the default point, line, or polygon symbol. The symbol
|
|
100
|
-
* can be configured with an instance of the Esri symbol or with the Esri
|
|
101
|
-
* WebMap JSON. Web only.
|
|
102
|
-
*
|
|
103
|
-
* @webOnly
|
|
104
|
-
*/
|
|
105
|
-
get setDefaultSymbol(): Command<SymbolLike | HasSymbol>;
|
|
106
|
-
/**
|
|
107
|
-
* Sets the symbol on a collection of Graphics. The symbol can be configured
|
|
108
|
-
* with an instance of the Esri symbol or with the Esri WebMap JSON. Web
|
|
109
|
-
* only.
|
|
110
|
-
*
|
|
111
|
-
* @webOnly
|
|
112
|
-
*/
|
|
113
|
-
get setSymbol(): Command<HasSymbol & HasGraphics>;
|
|
114
|
-
}
|
|
115
|
-
export declare class DrawingOperations extends OperationRegistry {
|
|
116
|
-
protected readonly _prefix = "drawing";
|
|
117
|
-
/**
|
|
118
|
-
* Creates graphics.
|
|
119
|
-
*
|
|
120
|
-
* In Web, creates graphics out of GeometryLike or CreateGraphicsArgs, with
|
|
121
|
-
* the current symbols that are set on the DrawManager.
|
|
122
|
-
*
|
|
123
|
-
* In Mobile, creates graphics from the given CreateGraphicsArgs or
|
|
124
|
-
* CreateGraphicsArgs[] (or some GeometryLike args). Any provided symbol
|
|
125
|
-
* parameter is used, otherwise a default symbol is used.
|
|
126
|
-
*/
|
|
127
|
-
get createGraphics(): Operation<CreateGraphicsArgs | CreateGraphicsArgs[] | GeometryLike, CreateGraphicsResult>;
|
|
128
|
-
/**
|
|
129
|
-
* Gets the value of the default point, line, or polygon symbol for the
|
|
130
|
-
* provided geometry type. Web only.
|
|
131
|
-
*
|
|
132
|
-
* @webOnly
|
|
133
|
-
*/
|
|
134
|
-
get getDefaultSymbol(): Operation<GetDefaultSymbolArgs | GeometryType, DrawingSymbolConfig>;
|
|
135
|
-
/**
|
|
136
|
-
* Gets the value of the default 3D point, line, or polygon symbol for the
|
|
137
|
-
* provided geometry type. Web only.
|
|
138
|
-
*
|
|
139
|
-
* @webOnly
|
|
140
|
-
*/
|
|
141
|
-
get getDefaultSymbol3D(): Operation<GetDefaultSymbolArgs | GeometryType, DrawingSymbolConfig>;
|
|
142
|
-
/**
|
|
143
|
-
* Opens the symbol editor toolbox for the specified geometry or type. Web
|
|
144
|
-
* only.
|
|
145
|
-
*
|
|
146
|
-
* @webOnly
|
|
147
|
-
*/
|
|
148
|
-
get editSymbol(): Operation<EditSymbolArgs | Symbol, EditSymbolResult>;
|
|
149
|
-
}
|
|
1
|
+
import type Geometry from "@arcgis/core/geometry/Geometry.js";
|
|
2
|
+
import type LineSymbol3D from "@arcgis/core/symbols/LineSymbol3D";
|
|
3
|
+
import type PictureFillSymbol from "@arcgis/core/symbols/PictureFillSymbol";
|
|
4
|
+
import type PictureMarkerSymbol from "@arcgis/core/symbols/PictureMarkerSymbol";
|
|
5
|
+
import type PointSymbol3D from "@arcgis/core/symbols/PointSymbol3D";
|
|
6
|
+
import type PolygonSymbol3D from "@arcgis/core/symbols/PolygonSymbol3D";
|
|
7
|
+
import type SimpleFillSymbol from "@arcgis/core/symbols/SimpleFillSymbol";
|
|
8
|
+
import type SimpleLineSymbol from "@arcgis/core/symbols/SimpleLineSymbol";
|
|
9
|
+
import type SimpleMarkerSymbol from "@arcgis/core/symbols/SimpleMarkerSymbol";
|
|
10
|
+
import type Symbol from "@arcgis/core/symbols/Symbol";
|
|
11
|
+
import type { LineSymbol3DJson, PictureFillSymbolJson, PictureMarkerSymbolJson, PointSymbol3DJson, PolygonSymbol3DJson, SimpleFillSymbolJson, SimpleLineSymbolJson, SimpleMarkerSymbolJson } from "@vertigis/arcgis-extensions/json/SymbolJson.js";
|
|
12
|
+
import type { GeometryType } from "@vertigis/arcgis-extensions/support/esri";
|
|
13
|
+
import type { SymbolPresetProperties } from "../../app-config/web/DrawModelProperties.js";
|
|
14
|
+
import type { Command } from "../Command.js";
|
|
15
|
+
import { CommandRegistry } from "../CommandRegistry.js";
|
|
16
|
+
import type { Operation } from "../Operation.js";
|
|
17
|
+
import { OperationRegistry } from "../OperationRegistry.js";
|
|
18
|
+
import type { CreateGraphicsResult, FeaturesLike, GeometryLike, HasFeatures, HasGraphics, HasLayers, HasMaps, HasSymbol, HasSymbols, HasUITarget, SymbolLike } from "../common.js";
|
|
19
|
+
import type { CaptureGeometryArgs } from "./sketching.js";
|
|
20
|
+
/**
|
|
21
|
+
* Symbols supported for drawing.
|
|
22
|
+
*/
|
|
23
|
+
export type DrawingSymbolConfig = SimpleMarkerSymbol | SimpleMarkerSymbolJson | PictureMarkerSymbol | PictureMarkerSymbolJson | SimpleLineSymbol | SimpleLineSymbolJson | SimpleFillSymbol | SimpleFillSymbolJson | PictureFillSymbol | PictureFillSymbolJson | PointSymbol3D | PointSymbol3DJson | LineSymbol3D | LineSymbol3DJson | PolygonSymbol3D | PolygonSymbol3DJson;
|
|
24
|
+
/**
|
|
25
|
+
* Arguments for the drawing.get-symbol operation. Only available in VertiGIS
|
|
26
|
+
* Studio Web.
|
|
27
|
+
*/
|
|
28
|
+
export interface GetDefaultSymbolArgs {
|
|
29
|
+
/**
|
|
30
|
+
* The geometry type for the default symbol to retrieve.
|
|
31
|
+
*/
|
|
32
|
+
geometryType?: GeometryType;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Arguments for the drawing.edit-symbol operation. Only available in VertiGIS
|
|
36
|
+
* Studio Web.
|
|
37
|
+
*/
|
|
38
|
+
export interface EditSymbolArgs extends HasSymbol, HasSymbols, HasMaps, HasLayers, HasGraphics, HasFeatures, HasUITarget {
|
|
39
|
+
/**
|
|
40
|
+
* The geometry type for the symbol to create.
|
|
41
|
+
*/
|
|
42
|
+
geometryType?: GeometryType;
|
|
43
|
+
/**
|
|
44
|
+
* Symbol presets that can be assigned to a graphic. If defined, these
|
|
45
|
+
* presets will override any that are configured in the DrawService.
|
|
46
|
+
*/
|
|
47
|
+
symbolPresets?: SymbolPresetProperties[];
|
|
48
|
+
/**
|
|
49
|
+
* If the fine-grain controls should be hidden and only the symbol presets
|
|
50
|
+
* should be shown. If no valid symbol presets are configured, this property
|
|
51
|
+
* will be ignored. Default is false. If defined, this will override the
|
|
52
|
+
* value of the DrawService's 'showOnlySymbolPresets' property.
|
|
53
|
+
*/
|
|
54
|
+
showOnlySymbolPresets?: boolean;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Arguments for the drawing.edit-symbol operation. Only available in VertiGIS
|
|
58
|
+
* Studio Web.
|
|
59
|
+
*/
|
|
60
|
+
export interface EditSymbolResult extends HasMaps, HasLayers, HasGraphics, HasFeatures, HasSymbols, HasSymbol {
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Arguments for the "drawing.create-graphics" operation. `GeometryLike`,
|
|
64
|
+
* `FeaturesLike` and `SymbolLike` are only available in Web.
|
|
65
|
+
*/
|
|
66
|
+
export interface CreateGraphicsArgs extends HasMaps {
|
|
67
|
+
/**
|
|
68
|
+
* The geometry that was captured.
|
|
69
|
+
*/
|
|
70
|
+
geometry: Geometry | GeometryLike;
|
|
71
|
+
/**
|
|
72
|
+
* Features containing geometry to create graphics from. Web only.
|
|
73
|
+
*/
|
|
74
|
+
features?: FeaturesLike;
|
|
75
|
+
/**
|
|
76
|
+
* The symbol that should be used to create the graphic. If null, a default
|
|
77
|
+
* is provided.
|
|
78
|
+
*/
|
|
79
|
+
symbol?: Symbol | SymbolLike;
|
|
80
|
+
}
|
|
81
|
+
export declare class DrawingCommands extends CommandRegistry {
|
|
82
|
+
protected readonly _prefix = "drawing";
|
|
83
|
+
/**
|
|
84
|
+
* Allows the user to draw on the map by capturing geometry, creating a
|
|
85
|
+
* graphic, and persisting the graphic on the map. This is a shortcut for
|
|
86
|
+
* the command chain ["sketching.capture-geometry",
|
|
87
|
+
* "drawing.create-graphics", "map.add-markup"]. Some default
|
|
88
|
+
* geometryEditorSettings are also applied. Mobile only.
|
|
89
|
+
*
|
|
90
|
+
* @mobileOnly
|
|
91
|
+
*/
|
|
92
|
+
get draw(): Command<CaptureGeometryArgs>;
|
|
93
|
+
/**
|
|
94
|
+
* Sets a value that determines whether drawings will be synced
|
|
95
|
+
* automatically across maps.
|
|
96
|
+
*/
|
|
97
|
+
get setSync(): Command<boolean>;
|
|
98
|
+
/**
|
|
99
|
+
* Sets the value of the default point, line, or polygon symbol. The symbol
|
|
100
|
+
* can be configured with an instance of the Esri symbol or with the Esri
|
|
101
|
+
* WebMap JSON. Web only.
|
|
102
|
+
*
|
|
103
|
+
* @webOnly
|
|
104
|
+
*/
|
|
105
|
+
get setDefaultSymbol(): Command<SymbolLike | HasSymbol>;
|
|
106
|
+
/**
|
|
107
|
+
* Sets the symbol on a collection of Graphics. The symbol can be configured
|
|
108
|
+
* with an instance of the Esri symbol or with the Esri WebMap JSON. Web
|
|
109
|
+
* only.
|
|
110
|
+
*
|
|
111
|
+
* @webOnly
|
|
112
|
+
*/
|
|
113
|
+
get setSymbol(): Command<HasSymbol & HasGraphics>;
|
|
114
|
+
}
|
|
115
|
+
export declare class DrawingOperations extends OperationRegistry {
|
|
116
|
+
protected readonly _prefix = "drawing";
|
|
117
|
+
/**
|
|
118
|
+
* Creates graphics.
|
|
119
|
+
*
|
|
120
|
+
* In Web, creates graphics out of GeometryLike or CreateGraphicsArgs, with
|
|
121
|
+
* the current symbols that are set on the DrawManager.
|
|
122
|
+
*
|
|
123
|
+
* In Mobile, creates graphics from the given CreateGraphicsArgs or
|
|
124
|
+
* CreateGraphicsArgs[] (or some GeometryLike args). Any provided symbol
|
|
125
|
+
* parameter is used, otherwise a default symbol is used.
|
|
126
|
+
*/
|
|
127
|
+
get createGraphics(): Operation<CreateGraphicsArgs | CreateGraphicsArgs[] | GeometryLike, CreateGraphicsResult>;
|
|
128
|
+
/**
|
|
129
|
+
* Gets the value of the default point, line, or polygon symbol for the
|
|
130
|
+
* provided geometry type. Web only.
|
|
131
|
+
*
|
|
132
|
+
* @webOnly
|
|
133
|
+
*/
|
|
134
|
+
get getDefaultSymbol(): Operation<GetDefaultSymbolArgs | GeometryType, DrawingSymbolConfig>;
|
|
135
|
+
/**
|
|
136
|
+
* Gets the value of the default 3D point, line, or polygon symbol for the
|
|
137
|
+
* provided geometry type. Web only.
|
|
138
|
+
*
|
|
139
|
+
* @webOnly
|
|
140
|
+
*/
|
|
141
|
+
get getDefaultSymbol3D(): Operation<GetDefaultSymbolArgs | GeometryType, DrawingSymbolConfig>;
|
|
142
|
+
/**
|
|
143
|
+
* Opens the symbol editor toolbox for the specified geometry or type. Web
|
|
144
|
+
* only.
|
|
145
|
+
*
|
|
146
|
+
* @webOnly
|
|
147
|
+
*/
|
|
148
|
+
get editSymbol(): Operation<EditSymbolArgs | Symbol, EditSymbolResult>;
|
|
149
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{CommandRegistry as t}from"../CommandRegistry.js";import{OperationRegistry as e}from"../OperationRegistry.js";export class DrawingCommands extends t{
|
|
1
|
+
import{CommandRegistry as t}from"../CommandRegistry.js";import{OperationRegistry as e}from"../OperationRegistry.js";export class DrawingCommands extends t{_prefix="drawing";get draw(){return this._get("draw")}get setSync(){return this._get("set-sync")}get setDefaultSymbol(){return this._get("set-default-symbol")}get setSymbol(){return this._get("set-symbol")}}export class DrawingOperations extends e{_prefix="drawing";get createGraphics(){return this._get("create-graphics")}get getDefaultSymbol(){return this._get("get-default-symbol")}get getDefaultSymbol3D(){return this._get("get-default-symbol-3d")}get editSymbol(){return this._get("edit-symbol")}}
|