@vertigis/viewer-spec 42.10.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 (345) hide show
  1. package/LICENSE +5 -0
  2. package/README.md +3 -0
  3. package/app-config/AppConfig.d.ts +55 -0
  4. package/app-config/AppConfig.js +1 -0
  5. package/app-config/ItemConfig.d.ts +18 -0
  6. package/app-config/ItemConfig.js +1 -0
  7. package/app-config/common/BasemapPickerModelProperties.d.ts +6 -0
  8. package/app-config/common/BasemapPickerModelProperties.js +1 -0
  9. package/app-config/common/BookmarksModelProperties.d.ts +17 -0
  10. package/app-config/common/BookmarksModelProperties.js +1 -0
  11. package/app-config/common/BrandingColors.d.ts +94 -0
  12. package/app-config/common/BrandingColors.js +1 -0
  13. package/app-config/common/BrandingModelProperties.d.ts +23 -0
  14. package/app-config/common/BrandingModelProperties.js +1 -0
  15. package/app-config/common/BrandingThemeProperties.d.ts +35 -0
  16. package/app-config/common/BrandingThemeProperties.js +1 -0
  17. package/app-config/common/CompassModelProperties.d.ts +6 -0
  18. package/app-config/common/CompassModelProperties.js +1 -0
  19. package/app-config/common/ComponentModelProperties.d.ts +14 -0
  20. package/app-config/common/ComponentModelProperties.js +1 -0
  21. package/app-config/common/CoordinateModelProperties.d.ts +34 -0
  22. package/app-config/common/CoordinateModelProperties.js +1 -0
  23. package/app-config/common/DialogModelProperties.d.ts +6 -0
  24. package/app-config/common/DialogModelProperties.js +1 -0
  25. package/app-config/common/ExpandModelProperties.d.ts +6 -0
  26. package/app-config/common/ExpandModelProperties.js +1 -0
  27. package/app-config/common/FeatureDetailsModelProperties.d.ts +27 -0
  28. package/app-config/common/FeatureDetailsModelProperties.js +1 -0
  29. package/app-config/common/GeolocationModelProperties.d.ts +6 -0
  30. package/app-config/common/GeolocationModelProperties.js +1 -0
  31. package/app-config/common/HighlightModelProperties.d.ts +69 -0
  32. package/app-config/common/HighlightModelProperties.js +1 -0
  33. package/app-config/common/ImageModelProperties.d.ts +14 -0
  34. package/app-config/common/ImageModelProperties.js +1 -0
  35. package/app-config/common/ItemRef.d.ts +4 -0
  36. package/app-config/common/ItemRef.js +1 -0
  37. package/app-config/common/LayerListModelProperties.d.ts +12 -0
  38. package/app-config/common/LayerListModelProperties.js +1 -0
  39. package/app-config/common/LayerPresetsModelProperties.d.ts +14 -0
  40. package/app-config/common/LayerPresetsModelProperties.js +1 -0
  41. package/app-config/common/LayoutProperties.d.ts +33 -0
  42. package/app-config/common/LayoutProperties.js +1 -0
  43. package/app-config/common/LegendModelProperties.d.ts +6 -0
  44. package/app-config/common/LegendModelProperties.js +1 -0
  45. package/app-config/common/LicensingModelProperties.d.ts +10 -0
  46. package/app-config/common/LicensingModelProperties.js +1 -0
  47. package/app-config/common/MapCoordinatesModelProperties.d.ts +6 -0
  48. package/app-config/common/MapCoordinatesModelProperties.js +1 -0
  49. package/app-config/common/MapModelProperties.d.ts +7 -0
  50. package/app-config/common/MapModelProperties.js +1 -0
  51. package/app-config/common/MenuModelProperties.d.ts +13 -0
  52. package/app-config/common/MenuModelProperties.js +1 -0
  53. package/app-config/common/ModelProperties.d.ts +6 -0
  54. package/app-config/common/ModelProperties.js +1 -0
  55. package/app-config/common/PanelModelProperties.d.ts +6 -0
  56. package/app-config/common/PanelModelProperties.js +1 -0
  57. package/app-config/common/RegionModelProperties.d.ts +26 -0
  58. package/app-config/common/RegionModelProperties.js +1 -0
  59. package/app-config/common/ResultsModelProperties.d.ts +12 -0
  60. package/app-config/common/ResultsModelProperties.js +1 -0
  61. package/app-config/common/ScalebarModelProperties.d.ts +6 -0
  62. package/app-config/common/ScalebarModelProperties.js +1 -0
  63. package/app-config/common/SearchModelProperties.d.ts +26 -0
  64. package/app-config/common/SearchModelProperties.js +1 -0
  65. package/app-config/common/ServiceModelProperties.d.ts +6 -0
  66. package/app-config/common/ServiceModelProperties.js +1 -0
  67. package/app-config/common/SplitModelProperties.d.ts +6 -0
  68. package/app-config/common/SplitModelProperties.js +1 -0
  69. package/app-config/common/StackModelProperties.d.ts +6 -0
  70. package/app-config/common/StackModelProperties.js +1 -0
  71. package/app-config/common/TextModelProperties.d.ts +10 -0
  72. package/app-config/common/TextModelProperties.js +1 -0
  73. package/app-config/common/TranslatableText.d.ts +27 -0
  74. package/app-config/common/TranslatableText.js +1 -0
  75. package/app-config/common/UserModelProperties.d.ts +6 -0
  76. package/app-config/common/UserModelProperties.js +1 -0
  77. package/app-config/common/WorkflowEventsProperties.d.ts +11 -0
  78. package/app-config/common/WorkflowEventsProperties.js +1 -0
  79. package/app-config/common/WorkflowModelProperties.d.ts +44 -0
  80. package/app-config/common/WorkflowModelProperties.js +1 -0
  81. package/app-config/common/ZoomModelProperties.d.ts +6 -0
  82. package/app-config/common/ZoomModelProperties.js +1 -0
  83. package/app-config/common/colors.d.ts +6 -0
  84. package/app-config/common/colors.js +1 -0
  85. package/app-config/index.d.ts +2 -0
  86. package/app-config/index.js +1 -0
  87. package/app-config/mobile/AddFeatureModelProperties.d.ts +6 -0
  88. package/app-config/mobile/AddFeatureModelProperties.js +1 -0
  89. package/app-config/mobile/AddRelatedFeatureModelProperties.d.ts +6 -0
  90. package/app-config/mobile/AddRelatedFeatureModelProperties.js +1 -0
  91. package/app-config/mobile/BasemapModelProperties.d.ts +11 -0
  92. package/app-config/mobile/BasemapModelProperties.js +1 -0
  93. package/app-config/mobile/FeatureDetailsModelProperties.d.ts +23 -0
  94. package/app-config/mobile/FeatureDetailsModelProperties.js +1 -0
  95. package/app-config/mobile/GeometryToolbarModelProperties.d.ts +6 -0
  96. package/app-config/mobile/GeometryToolbarModelProperties.js +1 -0
  97. package/app-config/mobile/GnssDeviceSelectionModelProperties.d.ts +6 -0
  98. package/app-config/mobile/GnssDeviceSelectionModelProperties.js +1 -0
  99. package/app-config/mobile/GnssDeviceSettingsModelProperties.d.ts +6 -0
  100. package/app-config/mobile/GnssDeviceSettingsModelProperties.js +1 -0
  101. package/app-config/mobile/GnssMetadataModelProperties.d.ts +6 -0
  102. package/app-config/mobile/GnssMetadataModelProperties.js +1 -0
  103. package/app-config/mobile/MapModelProperties.d.ts +45 -0
  104. package/app-config/mobile/MapModelProperties.js +1 -0
  105. package/app-config/mobile/OfflineModelProperties.d.ts +48 -0
  106. package/app-config/mobile/OfflineModelProperties.js +1 -0
  107. package/app-config/mobile/PortalExtensionSettingsProperties.d.ts +27 -0
  108. package/app-config/mobile/PortalExtensionSettingsProperties.js +1 -0
  109. package/app-config/mobile/ScrollModelProperties.d.ts +6 -0
  110. package/app-config/mobile/ScrollModelProperties.js +1 -0
  111. package/app-config/mobile/SelectLayerSettingsModelProperties.d.ts +11 -0
  112. package/app-config/mobile/SelectLayerSettingsModelProperties.js +1 -0
  113. package/app-config/mobile/TaskbarModelProperties.d.ts +6 -0
  114. package/app-config/mobile/TaskbarModelProperties.js +1 -0
  115. package/app-config/mobile/UpdateFeatureModelProperties.d.ts +6 -0
  116. package/app-config/mobile/UpdateFeatureModelProperties.js +1 -0
  117. package/app-config/mobile/VertigisMobileModelProperties.d.ts +65 -0
  118. package/app-config/mobile/VertigisMobileModelProperties.js +1 -0
  119. package/app-config/schema/common-app-config.schema.json +1 -0
  120. package/app-config/schema/mobile-app-config.schema.json +1 -0
  121. package/app-config/schema/web-app-config.schema.json +1 -0
  122. package/app-config/web/AddressModelProperties.d.ts +6 -0
  123. package/app-config/web/AddressModelProperties.js +1 -0
  124. package/app-config/web/BasemapPickerModelProperties.d.ts +7 -0
  125. package/app-config/web/BasemapPickerModelProperties.js +1 -0
  126. package/app-config/web/BookmarksModelProperties.d.ts +7 -0
  127. package/app-config/web/BookmarksModelProperties.js +1 -0
  128. package/app-config/web/BrandingModelProperties.d.ts +14 -0
  129. package/app-config/web/BrandingModelProperties.js +1 -0
  130. package/app-config/web/ChartModelProperties.d.ts +58 -0
  131. package/app-config/web/ChartModelProperties.js +1 -0
  132. package/app-config/web/CompassModelProperties.d.ts +7 -0
  133. package/app-config/web/CompassModelProperties.js +1 -0
  134. package/app-config/web/ComponentModelProperties.d.ts +12 -0
  135. package/app-config/web/ComponentModelProperties.js +1 -0
  136. package/app-config/web/CoordinateModelProperties.d.ts +7 -0
  137. package/app-config/web/CoordinateModelProperties.js +1 -0
  138. package/app-config/web/DialogModelProperties.d.ts +7 -0
  139. package/app-config/web/DialogModelProperties.js +1 -0
  140. package/app-config/web/DrawModelProperties.d.ts +102 -0
  141. package/app-config/web/DrawModelProperties.js +1 -0
  142. package/app-config/web/FeatureDetailsModelProperties.d.ts +12 -0
  143. package/app-config/web/FeatureDetailsModelProperties.js +1 -0
  144. package/app-config/web/FeatureInfoModelProperties.d.ts +22 -0
  145. package/app-config/web/FeatureInfoModelProperties.js +1 -0
  146. package/app-config/web/FeatureListProperties.d.ts +12 -0
  147. package/app-config/web/FeatureListProperties.js +1 -0
  148. package/app-config/web/FeatureSetProperties.d.ts +16 -0
  149. package/app-config/web/FeatureSetProperties.js +1 -0
  150. package/app-config/web/FeatureSummaryModelProperties.d.ts +22 -0
  151. package/app-config/web/FeatureSummaryModelProperties.js +1 -0
  152. package/app-config/web/GeolocationModelProperties.d.ts +7 -0
  153. package/app-config/web/GeolocationModelProperties.js +1 -0
  154. package/app-config/web/GeometryModelProperties.d.ts +27 -0
  155. package/app-config/web/GeometryModelProperties.js +1 -0
  156. package/app-config/web/HasVisibilityFilters.d.ts +35 -0
  157. package/app-config/web/HasVisibilityFilters.js +1 -0
  158. package/app-config/web/ImageModelProperties.d.ts +7 -0
  159. package/app-config/web/ImageModelProperties.js +1 -0
  160. package/app-config/web/KpiCardModelProperties.d.ts +145 -0
  161. package/app-config/web/KpiCardModelProperties.js +1 -0
  162. package/app-config/web/LayerListModelProperties.d.ts +7 -0
  163. package/app-config/web/LayerListModelProperties.js +1 -0
  164. package/app-config/web/LayerPresetsModelProperties.d.ts +7 -0
  165. package/app-config/web/LayerPresetsModelProperties.js +1 -0
  166. package/app-config/web/LegendModelProperties.d.ts +7 -0
  167. package/app-config/web/LegendModelProperties.js +1 -0
  168. package/app-config/web/Map3dToggleModelProperties.d.ts +6 -0
  169. package/app-config/web/Map3dToggleModelProperties.js +1 -0
  170. package/app-config/web/MapCoordinatesModelProperties.d.ts +43 -0
  171. package/app-config/web/MapCoordinatesModelProperties.js +1 -0
  172. package/app-config/web/MapModelProperties.d.ts +81 -0
  173. package/app-config/web/MapModelProperties.js +1 -0
  174. package/app-config/web/MeasurementModelProperties.d.ts +36 -0
  175. package/app-config/web/MeasurementModelProperties.js +1 -0
  176. package/app-config/web/MenuItemModelProperties.d.ts +7 -0
  177. package/app-config/web/MenuItemModelProperties.js +1 -0
  178. package/app-config/web/MenuModelProperties.d.ts +13 -0
  179. package/app-config/web/MenuModelProperties.js +1 -0
  180. package/app-config/web/ModelProperties.d.ts +7 -0
  181. package/app-config/web/ModelProperties.js +1 -0
  182. package/app-config/web/PanelModelProperties.d.ts +7 -0
  183. package/app-config/web/PanelModelProperties.js +1 -0
  184. package/app-config/web/PortalModelProperties.d.ts +10 -0
  185. package/app-config/web/PortalModelProperties.js +1 -0
  186. package/app-config/web/PrintFormModelProperties.d.ts +42 -0
  187. package/app-config/web/PrintFormModelProperties.js +1 -0
  188. package/app-config/web/ReportModelProperties.d.ts +15 -0
  189. package/app-config/web/ReportModelProperties.js +1 -0
  190. package/app-config/web/ResultsModelProperties.d.ts +93 -0
  191. package/app-config/web/ResultsModelProperties.js +1 -0
  192. package/app-config/web/ScaleInputModelProperties.d.ts +6 -0
  193. package/app-config/web/ScaleInputModelProperties.js +1 -0
  194. package/app-config/web/ScalebarModelProperties.d.ts +22 -0
  195. package/app-config/web/ScalebarModelProperties.js +1 -0
  196. package/app-config/web/SearchModelProperties.d.ts +22 -0
  197. package/app-config/web/SearchModelProperties.js +1 -0
  198. package/app-config/web/SplitModelProperties.d.ts +7 -0
  199. package/app-config/web/SplitModelProperties.js +1 -0
  200. package/app-config/web/StackModelProperties.d.ts +7 -0
  201. package/app-config/web/StackModelProperties.js +1 -0
  202. package/app-config/web/TabsModelProperties.d.ts +6 -0
  203. package/app-config/web/TabsModelProperties.js +1 -0
  204. package/app-config/web/TextModelProperties.d.ts +7 -0
  205. package/app-config/web/TextModelProperties.js +1 -0
  206. package/app-config/web/UserModelProperties.d.ts +12 -0
  207. package/app-config/web/UserModelProperties.js +1 -0
  208. package/app-config/web/UserPreferencesModelProperties.d.ts +10 -0
  209. package/app-config/web/UserPreferencesModelProperties.js +1 -0
  210. package/app-config/web/VertigisWebModelProperties.d.ts +84 -0
  211. package/app-config/web/VertigisWebModelProperties.js +1 -0
  212. package/app-config/web/WorkflowModelProperties.d.ts +7 -0
  213. package/app-config/web/WorkflowModelProperties.js +1 -0
  214. package/app-config/web/ZoomModelProperties.d.ts +7 -0
  215. package/app-config/web/ZoomModelProperties.js +1 -0
  216. package/docs/Geocortex Apps.md +311 -0
  217. package/docs/layout-spec.md +720 -0
  218. package/docs/presentation.md +98 -0
  219. package/layout/schema/layout-common.xsd +849 -0
  220. package/layout/schema/layout-mobile.xsd +256 -0
  221. package/layout/schema/layout-web.xsd +248 -0
  222. package/layout/schema/schema-reference-example.xml +14 -0
  223. package/messaging/Command.d.ts +74 -0
  224. package/messaging/Command.js +1 -0
  225. package/messaging/CommandRegistry.d.ts +13 -0
  226. package/messaging/CommandRegistry.js +1 -0
  227. package/messaging/Event.d.ts +25 -0
  228. package/messaging/Event.js +1 -0
  229. package/messaging/EventRegistry.d.ts +13 -0
  230. package/messaging/EventRegistry.js +1 -0
  231. package/messaging/Message.d.ts +23 -0
  232. package/messaging/Message.js +1 -0
  233. package/messaging/MessageBus.d.ts +54 -0
  234. package/messaging/MessageBus.js +1 -0
  235. package/messaging/Operation.d.ts +53 -0
  236. package/messaging/Operation.js +1 -0
  237. package/messaging/OperationRegistry.d.ts +13 -0
  238. package/messaging/OperationRegistry.js +1 -0
  239. package/messaging/common.d.ts +246 -0
  240. package/messaging/common.js +1 -0
  241. package/messaging/mobile.d.ts +13 -0
  242. package/messaging/mobile.js +1 -0
  243. package/messaging/registry/Commands.d.ts +65 -0
  244. package/messaging/registry/Commands.js +1 -0
  245. package/messaging/registry/Events.d.ts +53 -0
  246. package/messaging/registry/Events.js +1 -0
  247. package/messaging/registry/Operations.d.ts +54 -0
  248. package/messaging/registry/Operations.js +1 -0
  249. package/messaging/registry/app-config.d.ts +11 -0
  250. package/messaging/registry/app-config.js +1 -0
  251. package/messaging/registry/app.d.ts +136 -0
  252. package/messaging/registry/app.js +1 -0
  253. package/messaging/registry/auth.d.ts +125 -0
  254. package/messaging/registry/auth.js +1 -0
  255. package/messaging/registry/basemap.d.ts +52 -0
  256. package/messaging/registry/basemap.js +1 -0
  257. package/messaging/registry/charts.d.ts +78 -0
  258. package/messaging/registry/charts.js +1 -0
  259. package/messaging/registry/debugConsole.d.ts +24 -0
  260. package/messaging/registry/debugConsole.js +1 -0
  261. package/messaging/registry/device.d.ts +15 -0
  262. package/messaging/registry/device.js +1 -0
  263. package/messaging/registry/display.d.ts +16 -0
  264. package/messaging/registry/display.js +1 -0
  265. package/messaging/registry/drawing.d.ts +126 -0
  266. package/messaging/registry/drawing.js +1 -0
  267. package/messaging/registry/edit.d.ts +123 -0
  268. package/messaging/registry/edit.js +1 -0
  269. package/messaging/registry/file.d.ts +58 -0
  270. package/messaging/registry/file.js +1 -0
  271. package/messaging/registry/geocode.d.ts +91 -0
  272. package/messaging/registry/geocode.js +1 -0
  273. package/messaging/registry/geolocation.d.ts +268 -0
  274. package/messaging/registry/geolocation.js +1 -0
  275. package/messaging/registry/geometry-toolbar.d.ts +28 -0
  276. package/messaging/registry/geometry-toolbar.js +1 -0
  277. package/messaging/registry/geometry.d.ts +101 -0
  278. package/messaging/registry/geometry.js +1 -0
  279. package/messaging/registry/highlights.d.ts +83 -0
  280. package/messaging/registry/highlights.js +1 -0
  281. package/messaging/registry/input.d.ts +21 -0
  282. package/messaging/registry/input.js +1 -0
  283. package/messaging/registry/iwtm.d.ts +10 -0
  284. package/messaging/registry/iwtm.js +1 -0
  285. package/messaging/registry/kpi.d.ts +95 -0
  286. package/messaging/registry/kpi.js +1 -0
  287. package/messaging/registry/layer-comparison.d.ts +102 -0
  288. package/messaging/registry/layer-comparison.js +1 -0
  289. package/messaging/registry/layer-presets.d.ts +28 -0
  290. package/messaging/registry/layer-presets.js +1 -0
  291. package/messaging/registry/layers.d.ts +45 -0
  292. package/messaging/registry/layers.js +1 -0
  293. package/messaging/registry/layout.d.ts +48 -0
  294. package/messaging/registry/layout.js +1 -0
  295. package/messaging/registry/location-marker.d.ts +172 -0
  296. package/messaging/registry/location-marker.js +1 -0
  297. package/messaging/registry/logViewer.d.ts +16 -0
  298. package/messaging/registry/logViewer.js +1 -0
  299. package/messaging/registry/map.d.ts +893 -0
  300. package/messaging/registry/map.js +1 -0
  301. package/messaging/registry/measurement.d.ts +142 -0
  302. package/messaging/registry/measurement.js +1 -0
  303. package/messaging/registry/messaging.d.ts +22 -0
  304. package/messaging/registry/messaging.js +1 -0
  305. package/messaging/registry/network.d.ts +50 -0
  306. package/messaging/registry/network.js +1 -0
  307. package/messaging/registry/offline.d.ts +357 -0
  308. package/messaging/registry/offline.js +1 -0
  309. package/messaging/registry/panel.d.ts +93 -0
  310. package/messaging/registry/panel.js +1 -0
  311. package/messaging/registry/photos.d.ts +45 -0
  312. package/messaging/registry/photos.js +1 -0
  313. package/messaging/registry/portal.d.ts +47 -0
  314. package/messaging/registry/portal.js +1 -0
  315. package/messaging/registry/printing.d.ts +138 -0
  316. package/messaging/registry/printing.js +1 -0
  317. package/messaging/registry/region.d.ts +21 -0
  318. package/messaging/registry/region.js +1 -0
  319. package/messaging/registry/reports.d.ts +112 -0
  320. package/messaging/registry/reports.js +1 -0
  321. package/messaging/registry/results.d.ts +454 -0
  322. package/messaging/registry/results.js +1 -0
  323. package/messaging/registry/search.d.ts +51 -0
  324. package/messaging/registry/search.js +1 -0
  325. package/messaging/registry/sketching.d.ts +521 -0
  326. package/messaging/registry/sketching.js +1 -0
  327. package/messaging/registry/system.d.ts +117 -0
  328. package/messaging/registry/system.js +1 -0
  329. package/messaging/registry/tasks.d.ts +178 -0
  330. package/messaging/registry/tasks.js +1 -0
  331. package/messaging/registry/ui.d.ts +361 -0
  332. package/messaging/registry/ui.js +1 -0
  333. package/messaging/registry/viewer.d.ts +95 -0
  334. package/messaging/registry/viewer.js +1 -0
  335. package/messaging/registry/workflow.d.ts +134 -0
  336. package/messaging/registry/workflow.js +1 -0
  337. package/messaging/schema/common-action.schema.json +11130 -0
  338. package/messaging/schema/common-event.schema.json +7955 -0
  339. package/messaging/schema/mobile-action.schema.json +14328 -0
  340. package/messaging/schema/mobile-event.schema.json +9245 -0
  341. package/messaging/schema/web-action.schema.json +18896 -0
  342. package/messaging/schema/web-event.schema.json +8515 -0
  343. package/package.json +71 -0
  344. package/version.d.ts +4 -0
  345. package/version.js +4 -0
@@ -0,0 +1 @@
1
+ import{CommandRegistry}from"../CommandRegistry.js";import{OperationRegistry}from"../OperationRegistry.js";export var SketchTool;!function(e){e.POINT="point",e.MULTIPOINT="multipoint",e.LINE="line",e.POLYLINE="polyline",e.POLYGON="polygon",e.EXTENT="extent",e.SQUARE="square",e.CIRCLE="circle"}(SketchTool||(SketchTool={}));export class SketchingOperations extends OperationRegistry{get captureGeometry(){return this._messages.operation("sketching.capture-geometry")}get editGeometry(){return this._messages.operation("sketching.edit-geometry")}get moveGeometry(){return this._messages.operation("sketching.move-geometry")}get scaleGeometry(){return this._messages.operation("sketching.scale-geometry")}get rotateGeometry(){return this._messages.operation("sketching.rotate-geometry")}get stop(){return this._messages.operation("sketching.stop")}get addNodeToGeometry(){return this._messages.operation("sketching.add-node-to-geometry")}get getActiveSketch(){return this._messages.operation("sketching.get-active-sketch")}get getActiveNode(){return this._messages.operation("sketching.get-active-node")}}export class SketchingCommands extends CommandRegistry{get undo(){return this._messages.command("sketching.undo")}get redo(){return this._messages.command("sketching.redo")}get setGeometryMode(){return this._messages.command("sketching.set-geometry-mode")}get addPointAtCenter(){return this._messages.command("sketching.add-point-at-center")}get addPointAtCurrentLocation(){return this._messages.command("sketching.add-point-at-current-location")}get setPointAtCurrentLocation(){return this._messages.command("sketching.set-point-at-current-location")}get delete(){return this._messages.command("sketching.delete")}get moveNode(){return this._messages.command("sketching.move-node")}get switchActiveNode(){return this._messages.command("sketching.switch-active-node")}get setInteractionMode(){return this._messages.command("sketching.set-interaction-mode")}}
@@ -0,0 +1,117 @@
1
+ import type { Command } from "../Command.js";
2
+ import { CommandRegistry } from "../CommandRegistry.js";
3
+ import type { Operation } from "../Operation.js";
4
+ import { OperationRegistry } from "../OperationRegistry.js";
5
+ import type { Blob, File } from "../common.js";
6
+ /**
7
+ * Arguments for the system.download-file operation.
8
+ */
9
+ export interface DownloadArgs {
10
+ /**
11
+ * The blob to download.
12
+ */
13
+ result: Blob | Record<string, unknown> | string;
14
+ /**
15
+ * A filename for the download.
16
+ */
17
+ name: string;
18
+ }
19
+ /**
20
+ * Arguments for the system.read-file operation.
21
+ */
22
+ export interface ReadFileArgs {
23
+ /**
24
+ * The accept parameter for the file input.
25
+ * {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept}.
26
+ */
27
+ accept?: string;
28
+ /**
29
+ * If present, indicates that the user may choose more than one file.
30
+ */
31
+ multiple?: boolean;
32
+ /**
33
+ * If present, overrides the default title of the dialog that prompts the
34
+ * user for a file.
35
+ */
36
+ promptTitle?: string;
37
+ /**
38
+ * If present, overrides the default message of the dialog that prompts the
39
+ * user for a file.
40
+ */
41
+ promptMessage?: string;
42
+ }
43
+ /**
44
+ * Arguments for the system.open-url command.
45
+ */
46
+ export interface OpenUrlArgs {
47
+ /**
48
+ * The URL to open.
49
+ */
50
+ url: string;
51
+ /**
52
+ * An object containing arguments that this command was originally executed
53
+ * with. This property is populated automatically when using a bound action.
54
+ * The URL will be the configured value, and the context is automatically
55
+ * populated as the argument that was passed into the execute method when
56
+ * the command was executed in context.
57
+ */
58
+ context?: unknown;
59
+ }
60
+ export declare class SystemCommands extends CommandRegistry {
61
+ /**
62
+ * Displays a sharing link to the user.
63
+ *
64
+ * @webOnly
65
+ */
66
+ get displaySharingLink(): Command<string>;
67
+ /**
68
+ * Initiates a file download of the specified Blob to the user.
69
+ *
70
+ * @webOnly
71
+ */
72
+ get downloadFile(): Command<DownloadArgs | Record<string, unknown> | string>;
73
+ /**
74
+ * Opens a URL, either in the system browser or whatever app is appropriate
75
+ * for the scheme of the URL. If the context is a {@link Features}, then the
76
+ * URL may contain substitution tokens in the format {FIELD_NAME} where
77
+ * FIELD_NAME is the name of a field in the first feature in the context. In
78
+ * this case, the {FIELD_NAME} is substituted with value of the FIELD_NAME
79
+ * field from the feature feature in the {@link Features}, e.g.
80
+ * https://www.google.com/search?q={NAME}, where the value of the NAME field
81
+ * in the first feature from the context is 'Jasper National Park' would
82
+ * produce the result https://www.google.com/search?q=Jasper National Park.
83
+ * Zero to many substitution tokens may be included.
84
+ *
85
+ * @mobileOnly
86
+ */
87
+ get openUrl(): Command<OpenUrlArgs | string>;
88
+ /**
89
+ * Allows to control if the screen should be kept on. Passing true as parameter
90
+ * will keep the screen on, ignoring possible system settings for screen timeouts.
91
+ * Passing false as parameter will make the app respect system settings again.
92
+ *
93
+ * @mobileOnly
94
+ */
95
+ get keepScreenOn(): Command<boolean>;
96
+ }
97
+ export declare class SystemOperations extends OperationRegistry {
98
+ /**
99
+ * Fetch a file from the specified URL.
100
+ *
101
+ * @webOnly
102
+ */
103
+ get readUrl(): Operation<string, File[]>;
104
+ /**
105
+ * Initiates a file read, using the native browser file input.
106
+ *
107
+ * @webOnly
108
+ */
109
+ get readFile(): Operation<ReadFileArgs, File[]>;
110
+ /**
111
+ * Creates a link to share the shallow state of the application, including
112
+ * map position and scale, layer visibility and current basemap.
113
+ *
114
+ * @webOnly
115
+ */
116
+ get getSharingLink(): Operation<void, string>;
117
+ }
@@ -0,0 +1 @@
1
+ import{CommandRegistry}from"../CommandRegistry.js";import{OperationRegistry}from"../OperationRegistry.js";export class SystemCommands extends CommandRegistry{get displaySharingLink(){return this._messages.command("system.display-sharing-link")}get downloadFile(){return this._messages.command("system.download-file")}get openUrl(){return this._messages.command("system.open-url")}get keepScreenOn(){return this._messages.command("system.keep-screen-on")}}export class SystemOperations extends OperationRegistry{get readUrl(){return this._messages.operation("system.read-url")}get readFile(){return this._messages.operation("system.read-file")}get getSharingLink(){return this._messages.operation("system.get-sharing-link")}}
@@ -0,0 +1,178 @@
1
+ import type Geometry from "@arcgis/core/geometry/Geometry";
2
+ import type Point from "@arcgis/core/geometry/Point";
3
+ import type SpatialReference from "@arcgis/core/geometry/SpatialReference";
4
+ import type { FeatureSource } from "@vertigis/arcgis-extensions/data/FeatureSource";
5
+ import type { FeatureStream } from "@vertigis/arcgis-extensions/data/FeatureStream";
6
+ import type { IdentifyOptions } from "@vertigis/arcgis-extensions/tasks/identify/IdentifyOptions";
7
+ import type { Event } from "../Event.js";
8
+ import { EventRegistry } from "../EventRegistry.js";
9
+ import type { Operation } from "../Operation.js";
10
+ import { OperationRegistry } from "../OperationRegistry.js";
11
+ import type { Features, GeometryLike, MapsLike } from "../common.js";
12
+ /**
13
+ * Arguments for search operations.
14
+ */
15
+ export interface SearchArgs {
16
+ /**
17
+ * By default the search area will be expanded to try and return the
18
+ * specified maxResults. Set to true to disable this behavior. Not supported
19
+ * in Geocortex Mobile Viewer.
20
+ */
21
+ disableSearchAreaExpansion?: boolean;
22
+ /**
23
+ * The text to search for. Required.
24
+ */
25
+ searchText: string;
26
+ /**
27
+ * The feature sources to search. Can be used instead of or in addition to
28
+ * "maps". Not supported in Geocortex Mobile Viewer (use "maps").
29
+ */
30
+ sources?: FeatureSource[];
31
+ /**
32
+ * The map(s) to search. Can be used instead of or in addition to "sources".
33
+ */
34
+ maps?: MapsLike;
35
+ /**
36
+ * Id of source to filter for.
37
+ */
38
+ sourceId?: string;
39
+ /**
40
+ * The maximum number of results to return per source.
41
+ */
42
+ maxResults?: number;
43
+ /**
44
+ * The maximum number of results to query per source, the results
45
+ * per source will still be limited by maxResults.
46
+ */
47
+ maxQueryResults?: number;
48
+ /**
49
+ * If specified, results are limited to features that intersect the
50
+ * geometry.
51
+ */
52
+ searchArea?: Geometry;
53
+ /**
54
+ * If specified, this will influence the score of spatial features based on
55
+ * their proximity to this point. Most commonly this would be the user's
56
+ * current location, but can be any point of interest. This option requires
57
+ * searchArea to also be specified. Not supported in Geocortex Mobile
58
+ * Viewer.
59
+ */
60
+ near?: Point;
61
+ /**
62
+ * The spatial reference for the returned geometry. Not supported in
63
+ * Geocortex Mobile Viewer.
64
+ */
65
+ outSpatialReference?: SpatialReference;
66
+ }
67
+ /**
68
+ * Arguments for the tasks.identify operation.
69
+ */
70
+ export interface IdentifyArgs {
71
+ /**
72
+ * The geometry to identify by.
73
+ */
74
+ geometry: GeometryLike;
75
+ /**
76
+ * The feature sources to identify. Can be used instead of or in addition to
77
+ * "maps". Not supported in Geocortex Mobile Viewer (use "maps").
78
+ */
79
+ sources?: FeatureSource[];
80
+ /**
81
+ * Whether geometry for features should be returned. Not supported in
82
+ * Geocortex Mobile Viewer.
83
+ */
84
+ returnGeometry?: boolean;
85
+ /**
86
+ * The spatial reference for the returned geometry. Not supported in
87
+ * Geocortex Mobile Viewer.
88
+ */
89
+ outSpatialReference?: SpatialReference;
90
+ /**
91
+ * The maximum allowable offset used for generalizing returned geometries.
92
+ * Not supported in Geocortex Mobile Viewer.
93
+ */
94
+ maxAllowableOffset?: number;
95
+ /**
96
+ * The maximum number of results to return per source. Not supported in
97
+ * Geocortex Mobile Viewer.
98
+ */
99
+ maxResults?: number;
100
+ /**
101
+ * The map to identify. Can be used instead of or in addition to "sources".
102
+ * Layers on the map will be used as sources according to the
103
+ * "layersInScaleRangeOnly" and "visibleLayersOnly" flags.
104
+ */
105
+ maps?: MapsLike;
106
+ /**
107
+ * When "map" is specified, this determines whether to include only layers
108
+ * that are in visible scale range. The default is false. Not supported in
109
+ * Geocortex Mobile Viewer.
110
+ */
111
+ layersInScaleRangeOnly?: boolean;
112
+ /**
113
+ * When "map" is specified, this determines whether to include only visible
114
+ * layers. The default is true. Not supported in Geocortex Mobile Viewer.
115
+ */
116
+ visibleLayersOnly?: boolean;
117
+ /**
118
+ * A tolerance value to use for point identify operations. All features
119
+ * falling within a buffer of this many logical pixels around the point will
120
+ * be returned by the identify operation. The default is 10. Not supported
121
+ * in Geocortex Mobile Viewer.
122
+ */
123
+ pointTolerance?: number;
124
+ /**
125
+ * A tolerance value to use for polyline and polygon identify operations.
126
+ * All features falling within a buffer of this many logical pixels around
127
+ * the geometry will be returned by the identify operation. The default is
128
+ * 2. Not supported in Geocortex Mobile Viewer.
129
+ */
130
+ polyTolerance?: number;
131
+ }
132
+ /**
133
+ * The arguments for the tasks.supports-identify operation.
134
+ */
135
+ export interface SupportsIdentifyArgs {
136
+ /**
137
+ * The geometry to identify by.
138
+ */
139
+ geometry?: Geometry;
140
+ /**
141
+ * The feature source to identify.
142
+ */
143
+ source: FeatureSource;
144
+ /**
145
+ * The options for the identify operation.
146
+ */
147
+ options?: IdentifyOptions;
148
+ }
149
+ export declare class TasksEvents extends EventRegistry {
150
+ /**
151
+ * Raised when an identify task has been executed.
152
+ *
153
+ * @mobileOnly
154
+ */
155
+ get identified(): Event<FeatureStream>;
156
+ }
157
+ export declare class TasksOperations extends OperationRegistry {
158
+ /**
159
+ * Returns features that intersect a given geometry.
160
+ */
161
+ get identify(): Operation<IdentifyArgs, Features>;
162
+ /**
163
+ * Returns a boolean depicting whether a FeatureSource supports identify.
164
+ *
165
+ * @webOnly
166
+ */
167
+ get supportsIdentify(): Operation<FeatureSource | SupportsIdentifyArgs, boolean>;
168
+ /**
169
+ * Returns features that match the given search text.
170
+ */
171
+ get search(): Operation<SearchArgs, Features>;
172
+ /**
173
+ * Returns a boolean depicting whether a FeatureSource supports search.
174
+ *
175
+ * @webOnly
176
+ */
177
+ get supportsSearch(): Operation<FeatureSource, boolean>;
178
+ }
@@ -0,0 +1 @@
1
+ import{EventRegistry}from"../EventRegistry.js";import{OperationRegistry}from"../OperationRegistry.js";export class TasksEvents extends EventRegistry{get identified(){return this._messages.event("tasks.identified")}}export class TasksOperations extends OperationRegistry{get identify(){return this._messages.operation("tasks.identify")}get supportsIdentify(){return this._messages.operation("tasks.supports-identify")}get search(){return this._messages.operation("tasks.search")}get supportsSearch(){return this._messages.operation("tasks.supports-search")}}
@@ -0,0 +1,361 @@
1
+ import type { UIDensity } from "../../app-config/common/BrandingModelProperties.js";
2
+ import type { TranslateOptions } from "../../app-config/common/TranslatableText.js";
3
+ import type { Command } from "../Command.js";
4
+ import { CommandRegistry } from "../CommandRegistry.js";
5
+ import type { Event } from "../Event.js";
6
+ import { EventRegistry } from "../EventRegistry.js";
7
+ import type { Operation } from "../Operation.js";
8
+ import { OperationRegistry } from "../OperationRegistry.js";
9
+ import type { Model } from "../common.js";
10
+ /**
11
+ * A category for a notification that affects the color and icon used.
12
+ */
13
+ export declare enum NotificationCategory {
14
+ ERROR = "error",
15
+ INFO = "info",
16
+ SUCCESS = "success",
17
+ WARNING = "warning"
18
+ }
19
+ /**
20
+ * The base args for a command/operation showing a message box.
21
+ */
22
+ export interface MessageBoxArgs {
23
+ /**
24
+ * The title of the Dialog.
25
+ */
26
+ title?: string;
27
+ /**
28
+ * The message to be displayed in the Dialog.
29
+ */
30
+ message?: string;
31
+ }
32
+ /**
33
+ * Arguments for the 'ui.alert' command.
34
+ */
35
+ export interface AlertCommandArgs extends MessageBoxArgs {
36
+ /**
37
+ * The text to display on the dismiss button.
38
+ */
39
+ buttonText?: string;
40
+ }
41
+ /**
42
+ * Arguments for the 'ui.confirm' operation.
43
+ */
44
+ export interface ConfirmOperationArgs extends MessageBoxArgs {
45
+ /**
46
+ * The text to display on the ok button.
47
+ */
48
+ okButtonText?: string;
49
+ /**
50
+ * The text to display on the cancel button.
51
+ */
52
+ cancelButtonText?: string;
53
+ }
54
+ /**
55
+ * Arguments for the 'ui.prompt' operation.
56
+ */
57
+ export interface PromptOperationArgs extends MessageBoxArgs {
58
+ /**
59
+ * The default value to display in the input box.
60
+ */
61
+ defaultInputValue?: string;
62
+ /**
63
+ * The text to display on the ok button.
64
+ */
65
+ okButtonText?: string;
66
+ /**
67
+ * The text to display on the cancel button.
68
+ */
69
+ cancelButtonText?: string;
70
+ }
71
+ /**
72
+ * The arguments for the `ui.display-notification` command.
73
+ */
74
+ export interface DisplayNotificationArgs {
75
+ /**
76
+ * The category of notification, i.e. "error" (default is "info").
77
+ */
78
+ category?: NotificationCategory;
79
+ /**
80
+ * The message to be displayed in the notification.
81
+ */
82
+ message: string;
83
+ /**
84
+ * The position of the notification on the screen.
85
+ */
86
+ position?: Position;
87
+ /**
88
+ * Disable notification timeouts. Timeouts only apply to "info" and "success"
89
+ * categories. Web only.
90
+ */
91
+ disableTimeouts?: boolean;
92
+ }
93
+ /**
94
+ * Arguments for the "ui.set-visual-state" command.
95
+ */
96
+ export interface SetVisualStateArgs {
97
+ /**
98
+ * The component ID.
99
+ */
100
+ id: ComponentId;
101
+ /**
102
+ * The visual state of the component. The set of visual states is specific
103
+ * to the type of component.
104
+ */
105
+ visualState: VisualState;
106
+ }
107
+ /**
108
+ * Arguments for the "ui.display-busy-state" args.
109
+ */
110
+ export interface DisplayBusyStateArgs {
111
+ /**
112
+ * The title to display.
113
+ */
114
+ title?: string;
115
+ /**
116
+ * The message to display.
117
+ */
118
+ message?: string;
119
+ /**
120
+ * The minimum duration, in milliseconds, that the busy state will be
121
+ * displayed. Defaults to 500.
122
+ */
123
+ minimumDisplayDurationMs?: number;
124
+ }
125
+ /**
126
+ * A component's ID in the layout.
127
+ */
128
+ export declare type ComponentId = string;
129
+ /**
130
+ * Arguments for the "ui.focus" command.
131
+ */
132
+ export interface FocusArgs {
133
+ /**
134
+ * The component to focus. If the selector property is not defined, the
135
+ * first focusable element within the component will receieve focus. If this
136
+ * property is not defined, only the selector will be used.
137
+ */
138
+ component?: ComponentId | Model;
139
+ /**
140
+ * The CSS selector used to find an HTML Element in the DOM. If a component
141
+ * is also provided, the selector will only look within the component's
142
+ * element tree in the DOM.
143
+ */
144
+ selector?: string;
145
+ /**
146
+ * The maximum number of milliseconds the command will spend attempting to
147
+ * focus the element. This may be useful in cases where the target
148
+ * component/element requires time to load or render. Defaults to 0.
149
+ */
150
+ timeout?: number;
151
+ }
152
+ /**
153
+ * A component's visual state. The values will vary based on the component type.
154
+ */
155
+ export declare type VisualState = string;
156
+ /**
157
+ * A position for a display notification.
158
+ */
159
+ export declare enum Position {
160
+ BOTTOM = "bottom",
161
+ LEFT = "left",
162
+ RIGHT = "right",
163
+ TOP = "top"
164
+ }
165
+ /**
166
+ * Arguments for the ui.narrate command.
167
+ */
168
+ export declare type NarrateArgs = string | NarrateOptions;
169
+ /**
170
+ * Translate options for the ui.narrate command.
171
+ */
172
+ export interface NarrateOptions extends TranslateOptions {
173
+ /**
174
+ * A timeout before the narration is excecuted. This can be used to avoid
175
+ * focus changes that can interrupt the screen reader. Defaults to 50ms.
176
+ */
177
+ timeout?: number;
178
+ }
179
+ export declare class UICommands extends CommandRegistry {
180
+ /**
181
+ * Activates a component with the given ID or model, causing it to become
182
+ * visible. For Geocortex Mobile Viewer, only ID is supported.
183
+ */
184
+ get activate(): Command<ComponentId | Model>;
185
+ /**
186
+ * Toggles the active state on a component with the given ID.
187
+ *
188
+ * @mobileOnly
189
+ */
190
+ get activeToggle(): Command<ComponentId>;
191
+ /**
192
+ * Shows an alert to the user.
193
+ */
194
+ get alert(): Command<AlertCommandArgs>;
195
+ /**
196
+ * Waits (does nothing) for the specified period. The UI will remain active
197
+ * during this period. This is primarily intended to be used for testing and
198
+ * troubleshooting.
199
+ *
200
+ * @mobileOnly
201
+ */
202
+ get await(): Command<number>;
203
+ /**
204
+ * Deactivates a component with the given ID, causing it to disappear. For
205
+ * Geocortex Mobile Viewer, only ID is supported.
206
+ */
207
+ get deactivate(): Command<ComponentId | Model>;
208
+ /**
209
+ * Displays a spinner and custom message to the user to indicate that the UI
210
+ * is busy.
211
+ *
212
+ * @mobileOnly
213
+ */
214
+ get displayBusyState(): Command<DisplayBusyStateArgs>;
215
+ /**
216
+ * Shows a notification to the user.
217
+ */
218
+ get displayNotification(): Command<DisplayNotificationArgs>;
219
+ /**
220
+ * Focuses on a component or DOM element.
221
+ *
222
+ * @webOnly
223
+ */
224
+ get focus(): Command<FocusArgs>;
225
+ /**
226
+ * Hides the busy state if currently shown.
227
+ *
228
+ * @mobileOnly
229
+ */
230
+ get hideBusyState(): Command;
231
+ /**
232
+ * Hides a notification previously shown to the user.
233
+ *
234
+ * @mobileOnly
235
+ */
236
+ get hideNotification(): Command;
237
+ /**
238
+ * Forces assistive technology (screen readers) to narrate a
239
+ * translatable message to the end user.
240
+ *
241
+ * @webOnly
242
+ */
243
+ get narrate(): Command<NarrateArgs>;
244
+ /**
245
+ * Sets the density level for the UI.
246
+ *
247
+ * @webOnly
248
+ */
249
+ get setDensity(): Command<UIDensity>;
250
+ /**
251
+ * Sets the locale for the application and loads any locale-specific
252
+ * resources. Accepts a valid locale code (example: "en", "fr" or "de-AT").
253
+ *
254
+ * @webOnly
255
+ */
256
+ get setLocale(): Command<string>;
257
+ /**
258
+ * Sets the color theme of the viewer. The required argument is the new
259
+ * theme's ID.
260
+ */
261
+ get setTheme(): Command<string>;
262
+ /**
263
+ * Sets the visual state of a component.
264
+ *
265
+ * @webOnly
266
+ */
267
+ get setVisualState(): Command<SetVisualStateArgs>;
268
+ }
269
+ export declare class UIOperations extends OperationRegistry {
270
+ /**
271
+ * Gets user confirmation by way of a popup box.
272
+ */
273
+ get confirm(): Operation<ConfirmOperationArgs, boolean>;
274
+ /**
275
+ * Prompts the user to enter a value in a popup box.
276
+ *
277
+ * @webOnly
278
+ */
279
+ get prompt(): Operation<PromptOperationArgs, string>;
280
+ /**
281
+ * Gets the visual state of a component.
282
+ *
283
+ * @webOnly
284
+ */
285
+ get getVisualState(): Operation<ComponentId, VisualState | undefined>;
286
+ }
287
+ export declare class UIEvents extends EventRegistry {
288
+ /**
289
+ * Raised when a component is activated. The argument is the component ID.
290
+ */
291
+ get activated(): Event<ComponentId>;
292
+ /**
293
+ * Raised when a component is added to the layout.
294
+ *
295
+ * @webOnly
296
+ */
297
+ get added(): Event<ComponentId>;
298
+ /**
299
+ * Raised when a component's ancestor becomes activated. The argument is the
300
+ * descendant component's ID.
301
+ *
302
+ * @webOnly
303
+ */
304
+ get ancestorActivated(): Event<ComponentId>;
305
+ /**
306
+ * Raised when a component's ancestor becomes deactivated. The argument is
307
+ * the descendant component's ID.
308
+ *
309
+ * @webOnly
310
+ */
311
+ get ancestorDeactivated(): Event<ComponentId>;
312
+ /**
313
+ * Raised when a component is deactivated. The argument is the component ID.
314
+ */
315
+ get deactivated(): Event<ComponentId>;
316
+ /**
317
+ * Raised when the UI density setting is changed.
318
+ *
319
+ * @webOnly
320
+ */
321
+ get densityChanged(): Event<UIDensity>;
322
+ /**
323
+ * Raised when the locale is changed by the user. The argument is the locale
324
+ * code.
325
+ *
326
+ * @webOnly
327
+ */
328
+ get localeChanged(): Event<string>;
329
+ /**
330
+ * Raised when a component begins initialization. The argument is the
331
+ * component ID.
332
+ *
333
+ * @webOnly
334
+ */
335
+ get initializing(): Event<ComponentId>;
336
+ /**
337
+ * Raised when a component and its descendants have been initially
338
+ * activated. The argument is the component ID.
339
+ *
340
+ * @webOnly
341
+ */
342
+ get initialized(): Event<ComponentId>;
343
+ /**
344
+ * Raised when a component is removed from the layout.
345
+ *
346
+ * @webOnly
347
+ */
348
+ get removed(): Event<ComponentId>;
349
+ /**
350
+ * Raised when a component is reordered in the layout relative to its siblings.
351
+ *
352
+ * @webOnly
353
+ */
354
+ get reordered(): Event<ComponentId>;
355
+ /**
356
+ * Raised when the app's theme is changed.
357
+ *
358
+ * @mobileOnly
359
+ */
360
+ get themeChanged(): Event;
361
+ }