@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.
Files changed (266) hide show
  1. package/analytics/AnalyticsContext.d.ts +29 -29
  2. package/analytics/AnalyticsContext.js +1 -1
  3. package/analytics/CommonAction.d.ts +90 -90
  4. package/analytics/CommonAction.js +1 -1
  5. package/analytics/MobileAction.d.ts +113 -113
  6. package/analytics/MobileAction.js +1 -1
  7. package/analytics/WebAction.d.ts +102 -102
  8. package/analytics/WebAction.js +1 -1
  9. package/app-config/AppConfig.d.ts +55 -55
  10. package/app-config/ItemConfig.d.ts +18 -18
  11. package/app-config/common/AnalyticsModelProperties.d.ts +10 -10
  12. package/app-config/common/ApplicationModelProperties.d.ts +15 -15
  13. package/app-config/common/BasemapPickerModelProperties.d.ts +6 -6
  14. package/app-config/common/BookmarksModelProperties.d.ts +17 -17
  15. package/app-config/common/BrandingColors.d.ts +102 -102
  16. package/app-config/common/BrandingModelProperties.d.ts +23 -23
  17. package/app-config/common/BrandingThemeProperties.d.ts +35 -35
  18. package/app-config/common/CompassModelProperties.d.ts +6 -6
  19. package/app-config/common/ComponentModelProperties.d.ts +14 -14
  20. package/app-config/common/CoordinateFormat.d.ts +4 -4
  21. package/app-config/common/CoordinateModelProperties.d.ts +43 -43
  22. package/app-config/common/DialogModelProperties.d.ts +6 -6
  23. package/app-config/common/EventListenerModelProperties.d.ts +44 -44
  24. package/app-config/common/ExpandModelProperties.d.ts +6 -6
  25. package/app-config/common/FeatureDetailsModelProperties.d.ts +27 -27
  26. package/app-config/common/GeolocationModelProperties.d.ts +6 -6
  27. package/app-config/common/HighlightModelProperties.d.ts +68 -68
  28. package/app-config/common/ImageModelProperties.d.ts +14 -14
  29. package/app-config/common/ItemRef.d.ts +4 -4
  30. package/app-config/common/LayerListModelProperties.d.ts +6 -6
  31. package/app-config/common/LayerPresetsModelProperties.d.ts +14 -14
  32. package/app-config/common/LayoutProperties.d.ts +33 -33
  33. package/app-config/common/LegendModelProperties.d.ts +6 -6
  34. package/app-config/common/LicensingModelProperties.d.ts +10 -10
  35. package/app-config/common/MapCoordinatesModelProperties.d.ts +6 -6
  36. package/app-config/common/MapModelProperties.d.ts +7 -7
  37. package/app-config/common/MenuModelProperties.d.ts +13 -13
  38. package/app-config/common/ModelProperties.d.ts +6 -6
  39. package/app-config/common/PanelModelProperties.d.ts +6 -6
  40. package/app-config/common/RegionModelProperties.d.ts +25 -25
  41. package/app-config/common/ResultsModelProperties.d.ts +13 -13
  42. package/app-config/common/ScalebarModelProperties.d.ts +6 -6
  43. package/app-config/common/SearchModelProperties.d.ts +26 -26
  44. package/app-config/common/ServiceModelProperties.d.ts +6 -6
  45. package/app-config/common/SplitModelProperties.d.ts +6 -6
  46. package/app-config/common/StackModelProperties.d.ts +6 -6
  47. package/app-config/common/TextModelProperties.d.ts +10 -10
  48. package/app-config/common/TranslatableText.d.ts +35 -35
  49. package/app-config/common/UserModelProperties.d.ts +6 -6
  50. package/app-config/common/WorkflowEventsProperties.d.ts +11 -11
  51. package/app-config/common/WorkflowModelProperties.d.ts +44 -44
  52. package/app-config/common/ZoomModelProperties.d.ts +6 -6
  53. package/app-config/common/colors.d.ts +6 -6
  54. package/app-config/index.d.ts +2 -2
  55. package/app-config/mobile/AddFeatureModelProperties.d.ts +6 -6
  56. package/app-config/mobile/AddRelatedFeatureModelProperties.d.ts +6 -6
  57. package/app-config/mobile/BasemapModelProperties.d.ts +11 -11
  58. package/app-config/mobile/CoordinateModelProperties.d.ts +10 -10
  59. package/app-config/mobile/FeatureDetailsModelProperties.d.ts +26 -26
  60. package/app-config/mobile/GeometryToolbarModelProperties.d.ts +6 -6
  61. package/app-config/mobile/GnssDeviceSelectionModelProperties.d.ts +6 -6
  62. package/app-config/mobile/GnssDeviceSettingsModelProperties.d.ts +6 -6
  63. package/app-config/mobile/GnssMetadataModelProperties.d.ts +6 -6
  64. package/app-config/mobile/MapModelProperties.d.ts +52 -52
  65. package/app-config/mobile/OfflineModelProperties.d.ts +48 -48
  66. package/app-config/mobile/PortalExtensionSettingsProperties.d.ts +27 -27
  67. package/app-config/mobile/ScrollModelProperties.d.ts +6 -6
  68. package/app-config/mobile/SearchModelProperties.d.ts +14 -14
  69. package/app-config/mobile/SelectLayerSettingsModelProperties.d.ts +11 -11
  70. package/app-config/mobile/TaskbarModelProperties.d.ts +6 -6
  71. package/app-config/mobile/UpdateFeatureModelProperties.d.ts +6 -6
  72. package/app-config/mobile/VertigisMobileModelProperties.d.ts +67 -67
  73. package/app-config/schema/common-app-config.schema.json +1 -1
  74. package/app-config/schema/web-app-config.schema.json +1 -1
  75. package/app-config/web/AddressModelProperties.d.ts +6 -6
  76. package/app-config/web/BasemapModelProperties.d.ts +10 -10
  77. package/app-config/web/BasemapPickerModelProperties.d.ts +7 -7
  78. package/app-config/web/BookmarksModelProperties.d.ts +7 -7
  79. package/app-config/web/BrandingModelProperties.d.ts +14 -14
  80. package/app-config/web/ChartModelProperties.d.ts +58 -58
  81. package/app-config/web/CompassModelProperties.d.ts +7 -7
  82. package/app-config/web/ComponentModelProperties.d.ts +12 -12
  83. package/app-config/web/CoordinateModelProperties.d.ts +50 -50
  84. package/app-config/web/DataLinkSourceProperties.d.ts +15 -15
  85. package/app-config/web/DialogModelProperties.d.ts +7 -7
  86. package/app-config/web/DrawModelProperties.d.ts +94 -94
  87. package/app-config/web/FeatureDetailsModelProperties.d.ts +19 -19
  88. package/app-config/web/FeatureInfoModelProperties.d.ts +38 -38
  89. package/app-config/web/FeatureListProperties.d.ts +12 -12
  90. package/app-config/web/FeatureSetProperties.d.ts +16 -16
  91. package/app-config/web/FeatureSummaryModelProperties.d.ts +27 -27
  92. package/app-config/web/GeolocationModelProperties.d.ts +7 -7
  93. package/app-config/web/GeometryModelProperties.d.ts +27 -27
  94. package/app-config/web/HasVisibilityFilters.d.ts +36 -36
  95. package/app-config/web/ImageModelProperties.d.ts +7 -7
  96. package/app-config/web/KpiCardModelProperties.d.ts +146 -146
  97. package/app-config/web/LayerListModelProperties.d.ts +18 -18
  98. package/app-config/web/LayerPresetsModelProperties.d.ts +7 -7
  99. package/app-config/web/LegendModelProperties.d.ts +7 -7
  100. package/app-config/web/Map3dToggleModelProperties.d.ts +6 -6
  101. package/app-config/web/MapCoordinatesModelProperties.d.ts +50 -50
  102. package/app-config/web/MapModelProperties.d.ts +87 -87
  103. package/app-config/web/MeasurementModelProperties.d.ts +36 -36
  104. package/app-config/web/MenuItemModelProperties.d.ts +7 -7
  105. package/app-config/web/MenuModelProperties.d.ts +13 -13
  106. package/app-config/web/ModelProperties.d.ts +7 -7
  107. package/app-config/web/PanelModelProperties.d.ts +7 -7
  108. package/app-config/web/PortalModelProperties.d.ts +11 -11
  109. package/app-config/web/PrintFormModelProperties.d.ts +42 -42
  110. package/app-config/web/PrintModelProperties.d.ts +11 -11
  111. package/app-config/web/ProjectModelProperties.d.ts +12 -12
  112. package/app-config/web/QueryBuilderModelProperties.d.ts +22 -22
  113. package/app-config/web/ReportModelProperties.d.ts +15 -15
  114. package/app-config/web/ResultsModelProperties.d.ts +101 -101
  115. package/app-config/web/ResultsServiceModelProperties.d.ts +48 -48
  116. package/app-config/web/ScaleInputModelProperties.d.ts +6 -6
  117. package/app-config/web/ScalebarModelProperties.d.ts +22 -22
  118. package/app-config/web/SearchModelProperties.d.ts +22 -22
  119. package/app-config/web/SearchServiceProperties.d.ts +25 -25
  120. package/app-config/web/SharedProjectsModelProperties.d.ts +53 -53
  121. package/app-config/web/SharedStorageModelProperties.d.ts +30 -30
  122. package/app-config/web/SnappingProperties.d.ts +101 -101
  123. package/app-config/web/SplitModelProperties.d.ts +7 -7
  124. package/app-config/web/StackModelProperties.d.ts +7 -7
  125. package/app-config/web/TabsModelProperties.d.ts +6 -6
  126. package/app-config/web/TextModelProperties.d.ts +7 -7
  127. package/app-config/web/UserModelProperties.d.ts +12 -12
  128. package/app-config/web/UserPreferencesModelProperties.d.ts +10 -10
  129. package/app-config/web/VertigisWebModelProperties.d.ts +74 -74
  130. package/app-config/web/WorkflowModelProperties.d.ts +13 -13
  131. package/app-config/web/ZoomModelProperties.d.ts +7 -7
  132. package/messaging/Command.d.ts +76 -76
  133. package/messaging/CommandRegistry.d.ts +25 -25
  134. package/messaging/CommandRegistry.js +1 -1
  135. package/messaging/DotNetTypes.d.ts +4 -4
  136. package/messaging/Event.d.ts +26 -26
  137. package/messaging/EventRegistry.d.ts +25 -25
  138. package/messaging/EventRegistry.js +1 -1
  139. package/messaging/Message.d.ts +50 -50
  140. package/messaging/MessageBus.d.ts +54 -54
  141. package/messaging/Operation.d.ts +77 -77
  142. package/messaging/OperationRegistry.d.ts +26 -26
  143. package/messaging/OperationRegistry.js +1 -1
  144. package/messaging/common.d.ts +354 -354
  145. package/messaging/mobile.d.ts +6 -6
  146. package/messaging/registry/Commands.d.ts +78 -78
  147. package/messaging/registry/Commands.js +1 -1
  148. package/messaging/registry/Events.d.ts +62 -62
  149. package/messaging/registry/Events.js +1 -1
  150. package/messaging/registry/Operations.d.ts +69 -69
  151. package/messaging/registry/Operations.js +1 -1
  152. package/messaging/registry/app-config.d.ts +12 -12
  153. package/messaging/registry/app-config.js +1 -1
  154. package/messaging/registry/app.d.ts +264 -264
  155. package/messaging/registry/app.js +1 -1
  156. package/messaging/registry/arcade.d.ts +115 -115
  157. package/messaging/registry/arcade.js +1 -1
  158. package/messaging/registry/auth.d.ts +151 -151
  159. package/messaging/registry/auth.js +1 -1
  160. package/messaging/registry/basemap.d.ts +74 -74
  161. package/messaging/registry/basemap.js +1 -1
  162. package/messaging/registry/bookmark.d.ts +42 -42
  163. package/messaging/registry/bookmark.js +1 -1
  164. package/messaging/registry/charts.d.ts +81 -81
  165. package/messaging/registry/charts.js +1 -1
  166. package/messaging/registry/debugConsole.d.ts +26 -26
  167. package/messaging/registry/debugConsole.js +1 -1
  168. package/messaging/registry/device.d.ts +28 -28
  169. package/messaging/registry/device.js +1 -1
  170. package/messaging/registry/display.d.ts +17 -17
  171. package/messaging/registry/display.js +1 -1
  172. package/messaging/registry/drawing.d.ts +149 -149
  173. package/messaging/registry/drawing.js +1 -1
  174. package/messaging/registry/edit.d.ts +371 -371
  175. package/messaging/registry/edit.js +1 -1
  176. package/messaging/registry/file.d.ts +156 -156
  177. package/messaging/registry/file.js +1 -1
  178. package/messaging/registry/filter-builder.d.ts +73 -73
  179. package/messaging/registry/filter-builder.js +1 -1
  180. package/messaging/registry/geocode.d.ts +87 -87
  181. package/messaging/registry/geocode.js +1 -1
  182. package/messaging/registry/geolocation.d.ts +499 -499
  183. package/messaging/registry/geolocation.js +1 -1
  184. package/messaging/registry/geometry-toolbar.d.ts +29 -29
  185. package/messaging/registry/geometry-toolbar.js +1 -1
  186. package/messaging/registry/geometry.d.ts +278 -278
  187. package/messaging/registry/geometry.js +1 -1
  188. package/messaging/registry/highlights.d.ts +86 -86
  189. package/messaging/registry/highlights.js +1 -1
  190. package/messaging/registry/input.d.ts +22 -22
  191. package/messaging/registry/input.js +1 -1
  192. package/messaging/registry/iwtm.d.ts +11 -11
  193. package/messaging/registry/iwtm.js +1 -1
  194. package/messaging/registry/kpi.d.ts +98 -98
  195. package/messaging/registry/kpi.js +1 -1
  196. package/messaging/registry/layer-comparison.d.ts +104 -104
  197. package/messaging/registry/layer-comparison.js +1 -1
  198. package/messaging/registry/layer-presets.d.ts +49 -49
  199. package/messaging/registry/layer-presets.js +1 -1
  200. package/messaging/registry/layers.d.ts +196 -196
  201. package/messaging/registry/layers.js +1 -1
  202. package/messaging/registry/layout.d.ts +49 -49
  203. package/messaging/registry/layout.js +1 -1
  204. package/messaging/registry/licensing.d.ts +38 -38
  205. package/messaging/registry/licensing.js +1 -1
  206. package/messaging/registry/location-marker.d.ts +171 -171
  207. package/messaging/registry/location-marker.js +1 -1
  208. package/messaging/registry/logViewer.d.ts +17 -17
  209. package/messaging/registry/logViewer.js +1 -1
  210. package/messaging/registry/map.d.ts +1275 -1275
  211. package/messaging/registry/map.js +1 -1
  212. package/messaging/registry/measurement.d.ts +168 -168
  213. package/messaging/registry/measurement.js +1 -1
  214. package/messaging/registry/messaging.d.ts +23 -23
  215. package/messaging/registry/messaging.js +1 -1
  216. package/messaging/registry/network.d.ts +46 -46
  217. package/messaging/registry/network.js +1 -1
  218. package/messaging/registry/offline.d.ts +508 -507
  219. package/messaging/registry/offline.js +1 -1
  220. package/messaging/registry/panel.d.ts +115 -115
  221. package/messaging/registry/panel.js +1 -1
  222. package/messaging/registry/photos.d.ts +47 -47
  223. package/messaging/registry/photos.js +1 -1
  224. package/messaging/registry/portal.d.ts +94 -94
  225. package/messaging/registry/portal.js +1 -1
  226. package/messaging/registry/printing.d.ts +166 -166
  227. package/messaging/registry/printing.js +1 -1
  228. package/messaging/registry/project.d.ts +144 -144
  229. package/messaging/registry/project.js +1 -1
  230. package/messaging/registry/query-builder.d.ts +83 -83
  231. package/messaging/registry/query-builder.js +1 -1
  232. package/messaging/registry/region.d.ts +23 -23
  233. package/messaging/registry/region.js +1 -1
  234. package/messaging/registry/reports.d.ts +135 -135
  235. package/messaging/registry/reports.js +1 -1
  236. package/messaging/registry/results.d.ts +671 -671
  237. package/messaging/registry/results.js +1 -1
  238. package/messaging/registry/search.d.ts +74 -74
  239. package/messaging/registry/search.js +1 -1
  240. package/messaging/registry/settings.d.ts +38 -38
  241. package/messaging/registry/settings.js +1 -1
  242. package/messaging/registry/shortcut.d.ts +41 -41
  243. package/messaging/registry/shortcut.js +1 -1
  244. package/messaging/registry/sketching.d.ts +960 -960
  245. package/messaging/registry/sketching.js +1 -1
  246. package/messaging/registry/studioAnalytics.d.ts +25 -25
  247. package/messaging/registry/studioAnalytics.js +1 -1
  248. package/messaging/registry/system.d.ts +277 -277
  249. package/messaging/registry/system.js +1 -1
  250. package/messaging/registry/tasks.d.ts +323 -323
  251. package/messaging/registry/tasks.js +1 -1
  252. package/messaging/registry/ui.d.ts +518 -518
  253. package/messaging/registry/ui.js +1 -1
  254. package/messaging/registry/viewer.d.ts +145 -145
  255. package/messaging/registry/viewer.js +1 -1
  256. package/messaging/registry/workflow.d.ts +170 -170
  257. package/messaging/registry/workflow.js +1 -1
  258. package/messaging/schema/common-action.schema.json +6437 -12158
  259. package/messaging/schema/common-event.schema.json +107 -803
  260. package/messaging/schema/mobile-action.schema.json +7719 -16138
  261. package/messaging/schema/mobile-event.schema.json +181 -2422
  262. package/messaging/schema/web-action.schema.json +8397 -23281
  263. package/messaging/schema/web-event.schema.json +183 -1937
  264. package/package.json +20 -20
  265. package/version.d.ts +4 -4
  266. package/version.js +4 -4
@@ -1 +1 @@
1
- import{CommandRegistry as t}from"../CommandRegistry.js";import{EventRegistry as e}from"../EventRegistry.js";import{OperationRegistry as n}from"../OperationRegistry.js";export class GeolocationCommands extends t{constructor(){super(...arguments),this._prefix="geolocation"}get autoRecenter(){return this._get("auto-recenter")}get autoRecenterAndReorient(){return this._get("auto-recenter-and-reorient")}get displayLocation(){return this._get("display-location")}get turnOffGeolocation(){return this._get("turn-off-geolocation")}get displayDeviceSettings(){return this._get("display-device-settings")}get displayDeviceMetadata(){return this._get("display-device-metadata")}get displayDeviceSelection(){return this._get("display-device-selection")}get applyDatumTransformation(){return this._get("apply-datum-transformation")}get setLocationSymbol(){return this._get("set-location-symbol")}}export class GeolocationOperations extends n{constructor(){super(...arguments),this._prefix="geolocation"}get changeSource(){return this._get("change-source")}get getActiveSource(){return this._get("get-active-source")}get getAllSources(){return this._get("get-all-sources")}get getCurrentState(){return this._get("get-current-state")}get getLocationPermissionsEnabled(){return this._get("get-location-permissions-enabled")}get getPosition(){return this._get("get-position")}get getCoordinateTransformations(){return this._get("get-coordinate-transformations")}}export class GeolocationEvents extends e{constructor(){super(...arguments),this._prefix="geolocation"}get accuracyChanged(){return this._get("accuracy-changed")}get metadataChanged(){return this._get("metadata-changed")}get autoRecenterStarted(){return this._get("auto-recenter-started")}get autoRecenterAndReorientStarted(){return this._get("auto-recenter-and-reorient-started")}get autoRecenterStopped(){return this._get("auto-recenter-stopped")}get autoRecenterAndReorientStopped(){return this._get("auto-recenter-and-reorient-stopped")}get gnssDeviceDetectionStarted(){return this._get("gnss-device-detection-started")}get gnssDeviceDetectionStopped(){return this._get("gnss-device-detection-stopped")}get gnssLockStatusChanged(){return this._get("gnss-lock-status-changed")}get headingChanged(){return this._get("heading-changed")}get positionAcquired(){return this._get("position-acquired")}get positionChanged(){return this._get("position-changed")}get positionLost(){return this._get("position-lost")}get sourceChanged(){return this._get("source-changed")}get statusChanged(){return this._get("status-changed")}get displayLocationStarted(){return this._get("display-location-started")}get displayLocationStopped(){return this._get("display-location-stopped")}get transformationChanged(){return this._get("gnss-transformation-changed")}get antennaHeightChanged(){return this._get("gnss-antenna-height-changed")}get locationDisplayModeChanged(){return this._get("display-mode-changed")}}
1
+ import{CommandRegistry as t}from"../CommandRegistry.js";import{EventRegistry as e}from"../EventRegistry.js";import{OperationRegistry as n}from"../OperationRegistry.js";export class GeolocationCommands extends t{_prefix="geolocation";get autoRecenter(){return this._get("auto-recenter")}get autoRecenterAndReorient(){return this._get("auto-recenter-and-reorient")}get displayLocation(){return this._get("display-location")}get turnOffGeolocation(){return this._get("turn-off-geolocation")}get displayDeviceSettings(){return this._get("display-device-settings")}get displayDeviceMetadata(){return this._get("display-device-metadata")}get displayDeviceSelection(){return this._get("display-device-selection")}get applyDatumTransformation(){return this._get("apply-datum-transformation")}get setLocationSymbol(){return this._get("set-location-symbol")}}export class GeolocationOperations extends n{_prefix="geolocation";get changeSource(){return this._get("change-source")}get getActiveSource(){return this._get("get-active-source")}get getAllSources(){return this._get("get-all-sources")}get getCurrentState(){return this._get("get-current-state")}get getLocationPermissionsEnabled(){return this._get("get-location-permissions-enabled")}get getPosition(){return this._get("get-position")}get getCoordinateTransformations(){return this._get("get-coordinate-transformations")}}export class GeolocationEvents extends e{_prefix="geolocation";get accuracyChanged(){return this._get("accuracy-changed")}get metadataChanged(){return this._get("metadata-changed")}get autoRecenterStarted(){return this._get("auto-recenter-started")}get autoRecenterAndReorientStarted(){return this._get("auto-recenter-and-reorient-started")}get autoRecenterStopped(){return this._get("auto-recenter-stopped")}get autoRecenterAndReorientStopped(){return this._get("auto-recenter-and-reorient-stopped")}get gnssDeviceDetectionStarted(){return this._get("gnss-device-detection-started")}get gnssDeviceDetectionStopped(){return this._get("gnss-device-detection-stopped")}get gnssLockStatusChanged(){return this._get("gnss-lock-status-changed")}get headingChanged(){return this._get("heading-changed")}get positionAcquired(){return this._get("position-acquired")}get positionChanged(){return this._get("position-changed")}get positionLost(){return this._get("position-lost")}get sourceChanged(){return this._get("source-changed")}get statusChanged(){return this._get("status-changed")}get displayLocationStarted(){return this._get("display-location-started")}get displayLocationStopped(){return this._get("display-location-stopped")}get transformationChanged(){return this._get("gnss-transformation-changed")}get antennaHeightChanged(){return this._get("gnss-antenna-height-changed")}get locationDisplayModeChanged(){return this._get("display-mode-changed")}}
@@ -1,29 +1,29 @@
1
- import type { Command } from "../Command.js";
2
- import { CommandRegistry } from "../CommandRegistry.js";
3
- import type { HasMaps } from "../common.js";
4
- /**
5
- * Arguments for the Geometry Toolbar show command. Only available in VertiGIS
6
- * Studio Mobile.
7
- */
8
- export interface GeometryToolbarArgs extends HasMaps {
9
- /**
10
- * Whether the toolbar will allow users to toggle between area and line
11
- * drawing modes. Defaults to true.
12
- */
13
- isAreaToggleable: boolean;
14
- }
15
- export declare class GeometryToolbarCommands extends CommandRegistry {
16
- protected readonly _prefix = "geometry-toolbar";
17
- /**
18
- * Shows the Geometry Toolbar. Mobile only.
19
- *
20
- * @mobileOnly
21
- */
22
- get show(): Command<GeometryToolbarArgs | void>;
23
- /**
24
- * Hides the Geometry Toolbar. Mobile only.
25
- *
26
- * @mobileOnly
27
- */
28
- get hide(): Command<HasMaps | void>;
29
- }
1
+ import type { Command } from "../Command.js";
2
+ import { CommandRegistry } from "../CommandRegistry.js";
3
+ import type { HasMaps } from "../common.js";
4
+ /**
5
+ * Arguments for the Geometry Toolbar show command. Only available in VertiGIS
6
+ * Studio Mobile.
7
+ */
8
+ export interface GeometryToolbarArgs extends HasMaps {
9
+ /**
10
+ * Whether the toolbar will allow users to toggle between area and line
11
+ * drawing modes. Defaults to true.
12
+ */
13
+ isAreaToggleable: boolean;
14
+ }
15
+ export declare class GeometryToolbarCommands extends CommandRegistry {
16
+ protected readonly _prefix = "geometry-toolbar";
17
+ /**
18
+ * Shows the Geometry Toolbar. Mobile only.
19
+ *
20
+ * @mobileOnly
21
+ */
22
+ get show(): Command<GeometryToolbarArgs | void>;
23
+ /**
24
+ * Hides the Geometry Toolbar. Mobile only.
25
+ *
26
+ * @mobileOnly
27
+ */
28
+ get hide(): Command<HasMaps | void>;
29
+ }
@@ -1 +1 @@
1
- import{CommandRegistry as e}from"../CommandRegistry.js";export class GeometryToolbarCommands extends e{constructor(){super(...arguments),this._prefix="geometry-toolbar"}get show(){return this._get("show")}get hide(){return this._get("hide")}}
1
+ import{CommandRegistry as e}from"../CommandRegistry.js";export class GeometryToolbarCommands extends e{_prefix="geometry-toolbar";get show(){return this._get("show")}get hide(){return this._get("hide")}}
@@ -1,278 +1,278 @@
1
- import type Geometry from "@arcgis/core/geometry/Geometry";
2
- import type Point from "@arcgis/core/geometry/Point";
3
- import type Polygon from "@arcgis/core/geometry/Polygon";
4
- import type Polyline from "@arcgis/core/geometry/Polyline";
5
- import type SpatialReference from "@arcgis/core/geometry/SpatialReference";
6
- import type GeographicTransformation from "@arcgis/core/geometry/support/GeographicTransformation";
7
- import type { Command } from "../Command.js";
8
- import { CommandRegistry } from "../CommandRegistry.js";
9
- import type { Operation } from "../Operation.js";
10
- import { OperationRegistry } from "../OperationRegistry.js";
11
- import type { Geometries, HasFeatures, HasGeometry, HasMaps, HasUITarget, MapsLike } from "../common.js";
12
- import type { CaptureGeometryResult } from "./sketching.js";
13
- /**
14
- * Arguments for the geometry.project operation.
15
- */
16
- export interface ProjectArgs {
17
- /**
18
- * The geometries to project.
19
- */
20
- geometries: Geometry | Geometry[];
21
- /**
22
- * The target spatial reference.
23
- */
24
- outSpatialReference: SpatialReference;
25
- /**
26
- * The geographic transformation which contains the steps to transform the
27
- * input spatial reference to the output spatial reference.
28
- */
29
- transformation?: GeographicTransformation;
30
- }
31
- /**
32
- * The units for distance buffers supported by ArcGIS.
33
- */
34
- export type LengthUnits = "meters" | "feet" | "kilometers" | "miles" | "nautical-miles" | "yards";
35
- /**
36
- * The units for distance supported by Mobile.
37
- */
38
- export type LengthUnitsMobile = LengthUnits | "millimeters" | "centimeters" | "inches" | "mm" | "cm" | "m" | "km" | "in" | "ft" | "yd" | "mi" | "nm";
39
- /**
40
- * The result of a geometry.buffer operation.
41
- */
42
- export interface BufferResult {
43
- /**
44
- * The buffered geometry.
45
- */
46
- geometry: Geometry | Geometry[];
47
- /**
48
- * Any maps that were included within the input arguments.
49
- */
50
- maps?: MapsLike;
51
- }
52
- /**
53
- * Arguments for the geometry.add-point operation.
54
- */
55
- export interface AddPointArgs {
56
- /**
57
- * The starting geometry.
58
- */
59
- geometry: Polyline | Polygon;
60
- /**
61
- * The index of the part to which the point will be added. If null, the last
62
- * part will be used.
63
- */
64
- partIndex?: number;
65
- /**
66
- * The index at which the point will be added. If null, the point will be
67
- * added as the last point.
68
- */
69
- pointIndex?: number;
70
- /**
71
- * The new point to be added to 'geometry'. The spatial reference must match
72
- * 'geometry' or an error will be thrown.
73
- */
74
- newPoint: Point;
75
- }
76
- /**
77
- * Arguments for the geometry.add-part operation.
78
- */
79
- export interface AddPartArgs {
80
- /**
81
- * The starting geometry.
82
- */
83
- geometry: Polyline | Polygon;
84
- /**
85
- * The new part to be added to 'geometry'.
86
- */
87
- part: Point[];
88
- }
89
- /**
90
- * A reference line used by the geometry.get-point operation.
91
- */
92
- export interface ReferenceLine {
93
- /**
94
- * The geometry that contains the reference line.
95
- */
96
- geometry: Polyline | Polygon;
97
- /**
98
- * The index of the part in 'geometry' that contains the reference line. If
99
- * null, the last part will be used.
100
- */
101
- partIndex?: number;
102
- /**
103
- * The index of the segment that will be used as the reference line. If
104
- * null, the last segment will be used.
105
- */
106
- segmentIndex?: number;
107
- }
108
- /**
109
- * The different types of curves that can be used for geodetic distance
110
- * calculations.
111
- */
112
- export type GeodeticCurveType = "geodesic" | "loxodrome" | "normal-section" | "great-elliptic";
113
- /**
114
- * Arguments for the geometry.calculate-point operation.
115
- */
116
- export interface CalculatePointArgs {
117
- /**
118
- * The units to be used for 'distance' and 'offset'. Defaults to the default
119
- * units of the map.
120
- */
121
- units: LengthUnitsMobile;
122
- /**
123
- * The reference line that will be used to calculate the new point.
124
- */
125
- referenceLine: ReferenceLine;
126
- /**
127
- * The distance that will be used to calculate the new point.
128
- *
129
- * If using 'offset', this indicates the distance along the reference line.
130
- *
131
- * If using 'angle', this indicates the distance directly from the new point
132
- * to the start point of the reference line.
133
- *
134
- * Cannot be negative.
135
- */
136
- distance: number;
137
- /**
138
- * The offset that will be used to calculate the new point. The 'offset'
139
- * corresponds to the distance perpendicularly away from the reference
140
- * line.
141
- *
142
- * Positive values will result in a point to the right of the reference
143
- * line, negative values will be to the left.
144
- *
145
- * Exactly one of 'offset' and 'angle' must be set.
146
- */
147
- offset?: number;
148
- /**
149
- * The angle, relative to the angle of the reference line, that will be used
150
- * to calculate the new point. Positive angles are calculated clockwise from
151
- * the angle of the reference line, negative angles are calculated
152
- * counter-clockwise.
153
- *
154
- * Exactly one of 'offset' and 'angle' must be set.
155
- */
156
- angle?: number;
157
- /**
158
- * Whether the distance calculations will be geodetic or planar. Defaults to
159
- * true.
160
- */
161
- geodetic?: boolean;
162
- /**
163
- * The geodetic curve type used when calculating the new point. Only applies
164
- * when 'geodetic' is true. Defaults to 'geodesic'.
165
- */
166
- geodeticCurveType: GeodeticCurveType;
167
- }
168
- /**
169
- * Arguments for the geometry.remove-point operation.
170
- */
171
- export interface RemovePointArgs {
172
- /**
173
- * The starting geometry.
174
- */
175
- geometry: Polyline | Polygon;
176
- /**
177
- * The index of the part from which the point will be removed. If null, the
178
- * last part will be used.
179
- */
180
- partIndex?: number;
181
- /**
182
- * The index of the point to be removed. If null, the last point wil be
183
- * removed.
184
- */
185
- pointIndex?: number;
186
- }
187
- /**
188
- * Arguments for the geometry.buffer operation.
189
- */
190
- export interface BufferGeometryArgs extends HasGeometry, HasFeatures {
191
- /**
192
- * Optionally override the configured buffer distance.
193
- */
194
- bufferDistance?: number;
195
- }
196
- export declare class GeometryOperations extends OperationRegistry {
197
- protected readonly _prefix = "geometry";
198
- /**
199
- * Projects a set of geometries to a new spatial reference. Web only.
200
- *
201
- * @webOnly
202
- */
203
- get project(): Operation<ProjectArgs, Geometry[]>;
204
- /**
205
- * Buffers a point geometry by a distance equivalent to the number of pixels
206
- * at the current map scale. Web only.
207
- *
208
- * @webOnly
209
- */
210
- get addPixelTolerance(): Operation<(HasFeatures | HasGeometry) & Required<HasMaps>, CaptureGeometryResult>;
211
- /**
212
- * Buffers a set of geometries by some distance to create a multi-part
213
- * polygon geometry. The distance value respects the user's preferences and
214
- * falls back on the default configured for the viewer session. Web only.
215
- *
216
- * @webOnly
217
- */
218
- get buffer(): Operation<BufferGeometryArgs | Geometries, BufferResult>;
219
- /**
220
- * Returns the default buffer distance for the viewer session. Web only.
221
- *
222
- * @webOnly
223
- */
224
- get getBufferDistance(): Operation<void, number>;
225
- /**
226
- * Returns the default buffer units for the viewer session. Web only.
227
- *
228
- * @webOnly
229
- */
230
- get getBufferUnits(): Operation<void, LengthUnits>;
231
- /**
232
- * Adds a point to a given geometry. Mobile only.
233
- *
234
- * @mobileOnly
235
- */
236
- get addPoint(): Operation<AddPointArgs, Geometry>;
237
- /**
238
- * Adds a part to a given geometry. Mobile only.
239
- *
240
- * @mobileOnly
241
- */
242
- get addPart(): Operation<AddPartArgs, Geometry>;
243
- /**
244
- * Calculates a point relative to a given reference line. Mobile only.
245
- *
246
- * @mobileOnly
247
- */
248
- get calculatePoint(): Operation<CalculatePointArgs, Point>;
249
- /**
250
- * Removes a point from a given geometry. Mobile only.
251
- *
252
- * @mobileOnly
253
- */
254
- get removePoint(): Operation<RemovePointArgs, Geometry>;
255
- }
256
- export declare class GeometryCommands extends CommandRegistry {
257
- protected readonly _prefix = "geometry";
258
- /**
259
- * Display the geometry settings dialog. This allows you to configure buffer
260
- * distance and buffer units. Web only.
261
- *
262
- * @webOnly
263
- */
264
- get displaySettings(): Command<HasUITarget>;
265
- /**
266
- * Sets the default buffer distance for the viewer session. The buffer
267
- * distance must be a number > 0. Web only.
268
- *
269
- * @webOnly
270
- */
271
- get setBufferDistance(): Command<number>;
272
- /**
273
- * Sets the default buffer units for the viewer session. Web only.
274
- *
275
- * @webOnly
276
- */
277
- get setBufferUnits(): Command<LengthUnits>;
278
- }
1
+ import type Geometry from "@arcgis/core/geometry/Geometry";
2
+ import type Point from "@arcgis/core/geometry/Point";
3
+ import type Polygon from "@arcgis/core/geometry/Polygon";
4
+ import type Polyline from "@arcgis/core/geometry/Polyline";
5
+ import type SpatialReference from "@arcgis/core/geometry/SpatialReference";
6
+ import type GeographicTransformation from "@arcgis/core/geometry/support/GeographicTransformation";
7
+ import type { Command } from "../Command.js";
8
+ import { CommandRegistry } from "../CommandRegistry.js";
9
+ import type { Operation } from "../Operation.js";
10
+ import { OperationRegistry } from "../OperationRegistry.js";
11
+ import type { Geometries, HasFeatures, HasGeometry, HasMaps, HasUITarget, MapsLike } from "../common.js";
12
+ import type { CaptureGeometryResult } from "./sketching.js";
13
+ /**
14
+ * Arguments for the geometry.project operation.
15
+ */
16
+ export interface ProjectArgs {
17
+ /**
18
+ * The geometries to project.
19
+ */
20
+ geometries: Geometry | Geometry[];
21
+ /**
22
+ * The target spatial reference.
23
+ */
24
+ outSpatialReference: SpatialReference;
25
+ /**
26
+ * The geographic transformation which contains the steps to transform the
27
+ * input spatial reference to the output spatial reference.
28
+ */
29
+ transformation?: GeographicTransformation;
30
+ }
31
+ /**
32
+ * The units for distance buffers supported by ArcGIS.
33
+ */
34
+ export type LengthUnits = "meters" | "feet" | "kilometers" | "miles" | "nautical-miles" | "yards";
35
+ /**
36
+ * The units for distance supported by Mobile.
37
+ */
38
+ export type LengthUnitsMobile = LengthUnits | "millimeters" | "centimeters" | "inches" | "mm" | "cm" | "m" | "km" | "in" | "ft" | "yd" | "mi" | "nm";
39
+ /**
40
+ * The result of a geometry.buffer operation.
41
+ */
42
+ export interface BufferResult {
43
+ /**
44
+ * The buffered geometry.
45
+ */
46
+ geometry: Geometry | Geometry[];
47
+ /**
48
+ * Any maps that were included within the input arguments.
49
+ */
50
+ maps?: MapsLike;
51
+ }
52
+ /**
53
+ * Arguments for the geometry.add-point operation.
54
+ */
55
+ export interface AddPointArgs {
56
+ /**
57
+ * The starting geometry.
58
+ */
59
+ geometry: Polyline | Polygon;
60
+ /**
61
+ * The index of the part to which the point will be added. If null, the last
62
+ * part will be used.
63
+ */
64
+ partIndex?: number;
65
+ /**
66
+ * The index at which the point will be added. If null, the point will be
67
+ * added as the last point.
68
+ */
69
+ pointIndex?: number;
70
+ /**
71
+ * The new point to be added to 'geometry'. The spatial reference must match
72
+ * 'geometry' or an error will be thrown.
73
+ */
74
+ newPoint: Point;
75
+ }
76
+ /**
77
+ * Arguments for the geometry.add-part operation.
78
+ */
79
+ export interface AddPartArgs {
80
+ /**
81
+ * The starting geometry.
82
+ */
83
+ geometry: Polyline | Polygon;
84
+ /**
85
+ * The new part to be added to 'geometry'.
86
+ */
87
+ part: Point[];
88
+ }
89
+ /**
90
+ * A reference line used by the geometry.get-point operation.
91
+ */
92
+ export interface ReferenceLine {
93
+ /**
94
+ * The geometry that contains the reference line.
95
+ */
96
+ geometry: Polyline | Polygon;
97
+ /**
98
+ * The index of the part in 'geometry' that contains the reference line. If
99
+ * null, the last part will be used.
100
+ */
101
+ partIndex?: number;
102
+ /**
103
+ * The index of the segment that will be used as the reference line. If
104
+ * null, the last segment will be used.
105
+ */
106
+ segmentIndex?: number;
107
+ }
108
+ /**
109
+ * The different types of curves that can be used for geodetic distance
110
+ * calculations.
111
+ */
112
+ export type GeodeticCurveType = "geodesic" | "loxodrome" | "normal-section" | "great-elliptic";
113
+ /**
114
+ * Arguments for the geometry.calculate-point operation.
115
+ */
116
+ export interface CalculatePointArgs {
117
+ /**
118
+ * The units to be used for 'distance' and 'offset'. Defaults to the default
119
+ * units of the map.
120
+ */
121
+ units: LengthUnitsMobile;
122
+ /**
123
+ * The reference line that will be used to calculate the new point.
124
+ */
125
+ referenceLine: ReferenceLine;
126
+ /**
127
+ * The distance that will be used to calculate the new point.
128
+ *
129
+ * If using 'offset', this indicates the distance along the reference line.
130
+ *
131
+ * If using 'angle', this indicates the distance directly from the new point
132
+ * to the start point of the reference line.
133
+ *
134
+ * Cannot be negative.
135
+ */
136
+ distance: number;
137
+ /**
138
+ * The offset that will be used to calculate the new point. The 'offset'
139
+ * corresponds to the distance perpendicularly away from the reference
140
+ * line.
141
+ *
142
+ * Positive values will result in a point to the right of the reference
143
+ * line, negative values will be to the left.
144
+ *
145
+ * Exactly one of 'offset' and 'angle' must be set.
146
+ */
147
+ offset?: number;
148
+ /**
149
+ * The angle, relative to the angle of the reference line, that will be used
150
+ * to calculate the new point. Positive angles are calculated clockwise from
151
+ * the angle of the reference line, negative angles are calculated
152
+ * counter-clockwise.
153
+ *
154
+ * Exactly one of 'offset' and 'angle' must be set.
155
+ */
156
+ angle?: number;
157
+ /**
158
+ * Whether the distance calculations will be geodetic or planar. Defaults to
159
+ * true.
160
+ */
161
+ geodetic?: boolean;
162
+ /**
163
+ * The geodetic curve type used when calculating the new point. Only applies
164
+ * when 'geodetic' is true. Defaults to 'geodesic'.
165
+ */
166
+ geodeticCurveType: GeodeticCurveType;
167
+ }
168
+ /**
169
+ * Arguments for the geometry.remove-point operation.
170
+ */
171
+ export interface RemovePointArgs {
172
+ /**
173
+ * The starting geometry.
174
+ */
175
+ geometry: Polyline | Polygon;
176
+ /**
177
+ * The index of the part from which the point will be removed. If null, the
178
+ * last part will be used.
179
+ */
180
+ partIndex?: number;
181
+ /**
182
+ * The index of the point to be removed. If null, the last point wil be
183
+ * removed.
184
+ */
185
+ pointIndex?: number;
186
+ }
187
+ /**
188
+ * Arguments for the geometry.buffer operation.
189
+ */
190
+ export interface BufferGeometryArgs extends HasGeometry, HasFeatures {
191
+ /**
192
+ * Optionally override the configured buffer distance.
193
+ */
194
+ bufferDistance?: number;
195
+ }
196
+ export declare class GeometryOperations extends OperationRegistry {
197
+ protected readonly _prefix = "geometry";
198
+ /**
199
+ * Projects a set of geometries to a new spatial reference. Web only.
200
+ *
201
+ * @webOnly
202
+ */
203
+ get project(): Operation<ProjectArgs, Geometry[]>;
204
+ /**
205
+ * Buffers a point geometry by a distance equivalent to the number of pixels
206
+ * at the current map scale. Web only.
207
+ *
208
+ * @webOnly
209
+ */
210
+ get addPixelTolerance(): Operation<(HasFeatures | HasGeometry) & Required<HasMaps>, CaptureGeometryResult>;
211
+ /**
212
+ * Buffers a set of geometries by some distance to create a multi-part
213
+ * polygon geometry. The distance value respects the user's preferences and
214
+ * falls back on the default configured for the viewer session. Web only.
215
+ *
216
+ * @webOnly
217
+ */
218
+ get buffer(): Operation<BufferGeometryArgs | Geometries, BufferResult>;
219
+ /**
220
+ * Returns the default buffer distance for the viewer session. Web only.
221
+ *
222
+ * @webOnly
223
+ */
224
+ get getBufferDistance(): Operation<void, number>;
225
+ /**
226
+ * Returns the default buffer units for the viewer session. Web only.
227
+ *
228
+ * @webOnly
229
+ */
230
+ get getBufferUnits(): Operation<void, LengthUnits>;
231
+ /**
232
+ * Adds a point to a given geometry. Mobile only.
233
+ *
234
+ * @mobileOnly
235
+ */
236
+ get addPoint(): Operation<AddPointArgs, Geometry>;
237
+ /**
238
+ * Adds a part to a given geometry. Mobile only.
239
+ *
240
+ * @mobileOnly
241
+ */
242
+ get addPart(): Operation<AddPartArgs, Geometry>;
243
+ /**
244
+ * Calculates a point relative to a given reference line. Mobile only.
245
+ *
246
+ * @mobileOnly
247
+ */
248
+ get calculatePoint(): Operation<CalculatePointArgs, Point>;
249
+ /**
250
+ * Removes a point from a given geometry. Mobile only.
251
+ *
252
+ * @mobileOnly
253
+ */
254
+ get removePoint(): Operation<RemovePointArgs, Geometry>;
255
+ }
256
+ export declare class GeometryCommands extends CommandRegistry {
257
+ protected readonly _prefix = "geometry";
258
+ /**
259
+ * Display the geometry settings dialog. This allows you to configure buffer
260
+ * distance and buffer units. Web only.
261
+ *
262
+ * @webOnly
263
+ */
264
+ get displaySettings(): Command<HasUITarget>;
265
+ /**
266
+ * Sets the default buffer distance for the viewer session. The buffer
267
+ * distance must be a number > 0. Web only.
268
+ *
269
+ * @webOnly
270
+ */
271
+ get setBufferDistance(): Command<number>;
272
+ /**
273
+ * Sets the default buffer units for the viewer session. Web only.
274
+ *
275
+ * @webOnly
276
+ */
277
+ get setBufferUnits(): Command<LengthUnits>;
278
+ }
@@ -1 +1 @@
1
- import{CommandRegistry as t}from"../CommandRegistry.js";import{OperationRegistry as e}from"../OperationRegistry.js";export class GeometryOperations extends e{constructor(){super(...arguments),this._prefix="geometry"}get project(){return this._get("project")}get addPixelTolerance(){return this._get("add-pixel-tolerance")}get buffer(){return this._get("buffer")}get getBufferDistance(){return this._get("get-buffer-distance")}get getBufferUnits(){return this._get("get-buffer-units")}get addPoint(){return this._get("add-point")}get addPart(){return this._get("add-part")}get calculatePoint(){return this._get("calculate-point")}get removePoint(){return this._get("remove-point")}}export class GeometryCommands extends t{constructor(){super(...arguments),this._prefix="geometry"}get displaySettings(){return this._get("display-settings")}get setBufferDistance(){return this._get("set-buffer-distance")}get setBufferUnits(){return this._get("set-buffer-units")}}
1
+ import{CommandRegistry as t}from"../CommandRegistry.js";import{OperationRegistry as e}from"../OperationRegistry.js";export class GeometryOperations extends e{_prefix="geometry";get project(){return this._get("project")}get addPixelTolerance(){return this._get("add-pixel-tolerance")}get buffer(){return this._get("buffer")}get getBufferDistance(){return this._get("get-buffer-distance")}get getBufferUnits(){return this._get("get-buffer-units")}get addPoint(){return this._get("add-point")}get addPart(){return this._get("add-part")}get calculatePoint(){return this._get("calculate-point")}get removePoint(){return this._get("remove-point")}}export class GeometryCommands extends t{_prefix="geometry";get displaySettings(){return this._get("display-settings")}get setBufferDistance(){return this._get("set-buffer-distance")}get setBufferUnits(){return this._get("set-buffer-units")}}