@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{EventRegistry}from"../EventRegistry.js";import{OperationRegistry}from"../OperationRegistry.js";export var OfflineErrorCode;!function(e){e[e.NETWORK_CONNECTION_REQUIRED=100]="NETWORK_CONNECTION_REQUIRED",e[e.PORTAL_CONNECTION_FAILURE=101]="PORTAL_CONNECTION_FAILURE",e[e.ALREADY_STARTED=102]="ALREADY_STARTED",e[e.EXCEPTION_THROWN=103]="EXCEPTION_THROWN",e[e.INVALID_MAP_AREA_DATA=104]="INVALID_MAP_AREA_DATA",e[e.BACKGROUND_TIME_EXPIRED=105]="BACKGROUND_TIME_EXPIRED",e[e.MULTIPLE_ERRORS=106]="MULTIPLE_ERRORS",e[e.WEBMAP_REQUIRED=200]="WEBMAP_REQUIRED",e[e.WEBMAP_LOAD_FAILURE=201]="WEBMAP_LOAD_FAILURE",e[e.WEBMAP_NOT_LOADED=202]="WEBMAP_NOT_LOADED",e[e.WEBMAP_UNAUTHORIZED=203]="WEBMAP_UNAUTHORIZED"}(OfflineErrorCode||(OfflineErrorCode={}));export class OfflineCommands extends CommandRegistry{get cancelCreateArea(){return this._messages.command("offline.cancel-create-area")}get cancelDownload(){return this._messages.command("offline.cancel-download")}get deleteArea(){return this._messages.command("offline.delete-area")}get displayCreateArea(){return this._messages.command("offline.display-create-area")}}export class OfflineEvents extends EventRegistry{get areaActivated(){return this._messages.event("offline.area-activated")}get areaActivating(){return this._messages.event("offline.area-activating")}get areaDeleted(){return this._messages.event("offline.area-deleted")}get areaDownloadCanceled(){return this._messages.event("offline.area-download-canceled")}get areaDownloadFailed(){return this._messages.event("offline.area-download-failed")}get areaDownloaded(){return this._messages.event("offline.area-downloaded")}get areaUpdated(){return this._messages.event("offline.area-updated")}get areaUpdateFailed(){return this._messages.event("offline.area-update-failed")}get areaEditsSubmitted(){return this._messages.event("offline.area-edits-submitted")}get areaEditsSubmitFailed(){return this._messages.event("offline.area-edits-submit-failed")}get customAreaCreated(){return this._messages.event("offline.custom-area-created")}get userWentOnline(){return this._messages.event("offline.user-went-online")}}export class OfflineOperations extends OperationRegistry{get createArea(){return this._messages.operation("offline.create-area")}get getAreas(){return this._messages.operation("offline.get-areas")}get getEdits(){return this._messages.operation("offline.get-edits")}get activateArea(){return this._messages.operation("offline.activate-area")}get downloadArea(){return this._messages.operation("offline.download-area")}get goOnline(){return this._messages.operation("offline.go-online")}get checkForActiveArea(){return this._messages.operation("offline.check-for-active-area")}get submitEdits(){return this._messages.operation("offline.submit-edits")}get updateArea(){return this._messages.operation("offline.update-area")}}
@@ -0,0 +1,93 @@
1
+ import type { Command } from "../Command.js";
2
+ import { CommandRegistry } from "../CommandRegistry.js";
3
+ import type { Event } from "../Event.js";
4
+ import { EventRegistry } from "../EventRegistry.js";
5
+ /**
6
+ * Arguments for the "panel.anchor-host-panel" command.
7
+ */
8
+ export interface AnchorHostPanelArgs {
9
+ /**
10
+ * The offset from the side of the screen.
11
+ */
12
+ offsetWidth: number;
13
+ /**
14
+ * The offset from the top or bottom of the screen.
15
+ */
16
+ offsetHeight: number;
17
+ /**
18
+ * The component to anchor to.
19
+ */
20
+ anchorComponent: ComponentBase;
21
+ }
22
+ /**
23
+ * Arguments for the "panel.snap-host-panel" command.
24
+ */
25
+ export interface SnapHostPanelArgs {
26
+ /**
27
+ * The position to snap to.
28
+ */
29
+ snapPosition?: SnapPosition;
30
+ /**
31
+ * Snap to the last position set by the user.
32
+ */
33
+ userSet?: boolean;
34
+ }
35
+ /**
36
+ * A snapping position.
37
+ */
38
+ export declare enum SnapPosition {
39
+ HIDDEN = "hidden",
40
+ MIDDLE = "middle",
41
+ TOP = "top"
42
+ }
43
+ /**
44
+ * Corresponds to `VertiGIS.Mobile.Composition.Layout.ComponentBase` in the
45
+ * VertiGIS.Mobile SDK.
46
+ */
47
+ export interface ComponentBase {
48
+ }
49
+ export declare class PanelCommands extends CommandRegistry {
50
+ /**
51
+ * Displays the specified component in the host panel (a view that slides
52
+ * out from the side of the screen). The component input parameter is
53
+ * required, and if you don't provide it, or pass in a component that is
54
+ * already hosted elsewhere in the application, you will get an exception.
55
+ *
56
+ * @mobileOnly
57
+ */
58
+ get openHostPanel(): Command<ComponentBase>;
59
+ /**
60
+ * Closes the host panel. If a component is specified, the panel is only
61
+ * closed if the specified component is currently open in the host panel. If
62
+ * no component is specified (input null), then the host panel will always
63
+ * be closed.
64
+ *
65
+ * @mobileOnly
66
+ */
67
+ get closeHostPanel(): Command<ComponentBase>;
68
+ /**
69
+ * Anchors the host panel so that content will open with a certain offset
70
+ * from the left or right side of the application (depending on if provided
71
+ * anchor component is on the left or right side of the app).
72
+ *
73
+ * @mobileOnly
74
+ */
75
+ get anchorHostPanel(): Command<AnchorHostPanelArgs>;
76
+ /**
77
+ * Snaps the host panel to a particular position (eg. Middle, top, or
78
+ * hidden). For use only with the horizontal taskbar on mobile phones, where
79
+ * the taskbar panel content slides up from the bottom.
80
+ *
81
+ * @mobileOnly
82
+ */
83
+ get snapHostPanel(): Command<SnapHostPanelArgs>;
84
+ }
85
+ export declare class PanelEvents extends EventRegistry {
86
+ /**
87
+ * Raised when the component that is currently being displayed by the host
88
+ * panel is changed.
89
+ *
90
+ * @mobileOnly
91
+ */
92
+ get hostPanelComponentChanged(): Event<string>;
93
+ }
@@ -0,0 +1 @@
1
+ import{CommandRegistry}from"../CommandRegistry.js";import{EventRegistry}from"../EventRegistry.js";export var SnapPosition;!function(e){e.HIDDEN="hidden",e.MIDDLE="middle",e.TOP="top"}(SnapPosition||(SnapPosition={}));export class PanelCommands extends CommandRegistry{get openHostPanel(){return this._messages.command("panel.open-host-panel")}get closeHostPanel(){return this._messages.command("panel.close-host-panel")}get anchorHostPanel(){return this._messages.command("panel.anchor-host-panel")}get snapHostPanel(){return this._messages.command("panel.snap-host-panel")}}export class PanelEvents extends EventRegistry{get hostPanelComponentChanged(){return this._messages.event("panel.host-panel-component-changed")}}
@@ -0,0 +1,45 @@
1
+ import type { Command } from "../Command.js";
2
+ import { CommandRegistry } from "../CommandRegistry.js";
3
+ import type { Event } from "../Event.js";
4
+ import { EventRegistry } from "../EventRegistry.js";
5
+ import type { Photo, VisualElement } from "../mobile.js";
6
+ /**
7
+ * Arguments for the "photos.display-details" command.
8
+ */
9
+ export interface DisplayPhotoDetailsArgs {
10
+ /**
11
+ * The index of the photo to start at.
12
+ */
13
+ startIndex: number;
14
+ /**
15
+ * The photo(s) to display.
16
+ */
17
+ photos: Photo[];
18
+ /**
19
+ * The sender UI element to use as an anchor point for animation when
20
+ * opening the attachment.
21
+ */
22
+ sender: VisualElement;
23
+ }
24
+ export declare class PhotosCommands extends CommandRegistry {
25
+ /**
26
+ * Displays a photo in expanded / details view.
27
+ *
28
+ * @mobileOnly
29
+ */
30
+ get displayDetails(): Command<DisplayPhotoDetailsArgs>;
31
+ /**
32
+ * Hides the currently displayed photo details.
33
+ *
34
+ * @mobileOnly
35
+ */
36
+ get hideDetails(): Command;
37
+ }
38
+ export declare class PhotosEvents extends EventRegistry {
39
+ /**
40
+ * Raised when photo details are hidden.
41
+ *
42
+ * @mobileOnly
43
+ */
44
+ get detailsHidden(): Event;
45
+ }
@@ -0,0 +1 @@
1
+ import{CommandRegistry}from"../CommandRegistry.js";import{EventRegistry}from"../EventRegistry.js";export class PhotosCommands extends CommandRegistry{get displayDetails(){return this._messages.command("photos.display-details")}get hideDetails(){return this._messages.command("photos.hide-details")}}export class PhotosEvents extends EventRegistry{get detailsHidden(){return this._messages.event("panel.details-hidden")}}
@@ -0,0 +1,47 @@
1
+ import type { Event } from "../Event.js";
2
+ import { EventRegistry } from "../EventRegistry.js";
3
+ import type { Operation } from "../Operation.js";
4
+ import { OperationRegistry } from "../OperationRegistry.js";
5
+ import type { HasMaps, LayersLike } from "../common.js";
6
+ /**
7
+ * Corresponds to `VertiGIS.Mobile.Infrastructure.Portal.ArcGISPortalExtension`
8
+ * in the VertiGIS.Mobile SDK.
9
+ */
10
+ export interface ArcGISPortalExtension {
11
+ }
12
+ /**
13
+ * Arguments for the "portal.choose-layers" operation.
14
+ */
15
+ export interface ChooseLayersOptions extends HasMaps {
16
+ /**
17
+ * Whether the user can choose multiple layers, or just one. Default is
18
+ * `false`.
19
+ */
20
+ allowMultiple?: boolean;
21
+ }
22
+ /**
23
+ * Result of the "portal.choose-layers" operation.
24
+ */
25
+ export interface ChooseLayersResult extends HasMaps {
26
+ /**
27
+ * The layer(s) chosen by the user.
28
+ */
29
+ layers?: LayersLike;
30
+ }
31
+ export declare class PortalEvents extends EventRegistry {
32
+ /**
33
+ * Raised when an ArcGIS Portal is initialized.
34
+ *
35
+ * @mobileOnly
36
+ */
37
+ get initialized(): Event<ArcGISPortalExtension>;
38
+ }
39
+ export declare class PortalOperations extends OperationRegistry {
40
+ /**
41
+ * Allows the user to browse/search the application's associated portal for
42
+ * one or more layers.
43
+ *
44
+ * @webOnly
45
+ */
46
+ get chooseLayers(): Operation<ChooseLayersOptions, ChooseLayersResult>;
47
+ }
@@ -0,0 +1 @@
1
+ import{EventRegistry}from"../EventRegistry.js";import{OperationRegistry}from"../OperationRegistry.js";export class PortalEvents extends EventRegistry{get initialized(){return this._messages.event("portal.initialized")}}export class PortalOperations extends OperationRegistry{get chooseLayers(){return this._messages.operation("portal.choose-layers")}}
@@ -0,0 +1,138 @@
1
+ import type Viewpoint from "@arcgis/core/Viewpoint";
2
+ import type Extent from "@arcgis/core/geometry/Extent";
3
+ import type SpatialReference from "@arcgis/core/geometry/SpatialReference";
4
+ import type { PortalItemLike } from "@vertigis/arcgis-extensions/utilities/portal";
5
+ import type { Command } from "../Command.js";
6
+ import { CommandRegistry } from "../CommandRegistry.js";
7
+ import type { Event } from "../Event.js";
8
+ import { EventRegistry } from "../EventRegistry.js";
9
+ import type { MapsLike } from "../common.js";
10
+ /**
11
+ * A set of parameters used to run a job.
12
+ */
13
+ export declare type JobParameters = Record<string, unknown>;
14
+ /**
15
+ * The arguments required by the printing.run command.
16
+ */
17
+ export interface RunPrintArgs {
18
+ /**
19
+ * The map(s) to print.
20
+ */
21
+ maps: MapsLike;
22
+ /**
23
+ * The ID of the report item.
24
+ */
25
+ id?: string;
26
+ /**
27
+ * The title of the report.
28
+ */
29
+ title?: string;
30
+ /**
31
+ * The portal item where the report is located.
32
+ */
33
+ portalItem?: PortalItemLike;
34
+ /**
35
+ * The DPI with which to print.
36
+ */
37
+ dpi?: number;
38
+ /**
39
+ * The scale of the map(s). Defaults to the map's current scale.
40
+ */
41
+ scale?: number;
42
+ /**
43
+ * The initial extent of the 2D map(s). Defaults to the map's current
44
+ * extent. If scale is provided, only the center point is used.
45
+ */
46
+ extent?: Extent;
47
+ /**
48
+ * The initial viewpoint of the 3D map(s). Defaults to the scene's current
49
+ * viewpoint.
50
+ */
51
+ viewpoint?: Viewpoint;
52
+ /**
53
+ * The rotation of the map(s). Defaults to the map's current rotation.
54
+ */
55
+ rotation?: number;
56
+ /**
57
+ * The WKID of the spatial reference used to draw a grid on the map(s).
58
+ */
59
+ grid?: SpatialReference;
60
+ /**
61
+ * Additional parameters used in the print template, specified as key-value pairs.
62
+ */
63
+ parameters?: JobParameters;
64
+ /**
65
+ * A unique ID used to track a print job.
66
+ */
67
+ instanceId?: string;
68
+ }
69
+ /**
70
+ * Base for the Print Event Args interfaces.
71
+ */
72
+ export interface PrintEventArgsBase {
73
+ /**
74
+ * The ID of the print template being used.
75
+ */
76
+ printTemplateId: string;
77
+ /**
78
+ * A unique ID to track the running of this print.
79
+ */
80
+ instanceId: string;
81
+ }
82
+ /**
83
+ * Arguments for the printing.print-error event.
84
+ */
85
+ export interface PrintErrorEventArgs extends PrintEventArgsBase {
86
+ /**
87
+ * The error message.
88
+ */
89
+ message: string;
90
+ /**
91
+ * The HTTP status code associated with the error, if it's a HTTP error.
92
+ */
93
+ errorCode?: number;
94
+ }
95
+ /**
96
+ * Arguments for the printing.print-finished event.
97
+ */
98
+ export interface PrintFinishedEventArgs extends PrintEventArgsBase {
99
+ /**
100
+ * The URL from which to download the print.
101
+ */
102
+ downloadUrl: string;
103
+ }
104
+ /**
105
+ * Arguments for the printing.print-progress event.
106
+ */
107
+ export interface PrintProgressEventArgs extends PrintEventArgsBase {
108
+ }
109
+ /**
110
+ * Arguments for the printing.print-started event.
111
+ */
112
+ export interface PrintStartedEventArgs extends PrintEventArgsBase {
113
+ }
114
+ export declare class PrintCommands extends CommandRegistry {
115
+ /**
116
+ * Run a print job with a given map and template.
117
+ */
118
+ get run(): Command<RunPrintArgs>;
119
+ }
120
+ export declare class PrintEvents extends EventRegistry {
121
+ /**
122
+ * Raised when a print has started running.
123
+ */
124
+ get printStarted(): Event<PrintStartedEventArgs>;
125
+ /**
126
+ * Raised while a print is running to provide updates on its status.
127
+ */
128
+ get printProgress(): Event<PrintProgressEventArgs>;
129
+ /**
130
+ * Raised when a print has finished running. Event arguments include
131
+ * the print download URL.
132
+ */
133
+ get printFinished(): Event<PrintFinishedEventArgs>;
134
+ /**
135
+ * Raised when an error occurs with running a print.
136
+ */
137
+ get printError(): Event<PrintErrorEventArgs>;
138
+ }
@@ -0,0 +1 @@
1
+ import{CommandRegistry}from"../CommandRegistry.js";import{EventRegistry}from"../EventRegistry.js";export class PrintCommands extends CommandRegistry{get run(){return this._messages.command("printing.run")}}export class PrintEvents extends EventRegistry{get printStarted(){return this._messages.event("printing.print-started")}get printProgress(){return this._messages.event("printing.print-progress")}get printFinished(){return this._messages.event("printing.print-finished")}get printError(){return this._messages.event("printing.print-error")}}
@@ -0,0 +1,21 @@
1
+ import type { MeasurementSystem } from "../../app-config/common/RegionModelProperties.js";
2
+ import type { Command } from "../Command.js";
3
+ import { CommandRegistry } from "../CommandRegistry.js";
4
+ import type { Event } from "../Event.js";
5
+ import { EventRegistry } from "../EventRegistry.js";
6
+ export declare class RegionCommands extends CommandRegistry {
7
+ /**
8
+ * Sets the current measurement system.
9
+ *
10
+ * @webOnly
11
+ */
12
+ get setMeasurementSystem(): Command<MeasurementSystem>;
13
+ }
14
+ export declare class RegionEvents extends EventRegistry {
15
+ /**
16
+ * Raised when the current measurement system is changed.
17
+ *
18
+ * @webOnly
19
+ */
20
+ get measurementSystemChanged(): Event<MeasurementSystem>;
21
+ }
@@ -0,0 +1 @@
1
+ import{CommandRegistry}from"../CommandRegistry.js";import{EventRegistry}from"../EventRegistry.js";export class RegionCommands extends CommandRegistry{get setMeasurementSystem(){return this._messages.command("region.set-measurement-system")}}export class RegionEvents extends EventRegistry{get measurementSystemChanged(){return this._messages.event("region.measurement-system-changed")}}
@@ -0,0 +1,112 @@
1
+ import type { PortalItemLike } from "@vertigis/arcgis-extensions/utilities/portal";
2
+ import type { Command } from "../Command.js";
3
+ import { CommandRegistry } from "../CommandRegistry.js";
4
+ import type { Event } from "../Event.js";
5
+ import { EventRegistry } from "../EventRegistry.js";
6
+ import type { FeaturesLike } from "../common.js";
7
+ /**
8
+ * The arguments required by the reports.run command.
9
+ */
10
+ export interface RunReportArgs {
11
+ /**
12
+ * The ID of the report item.
13
+ */
14
+ id?: string;
15
+ /**
16
+ * The title of the report.
17
+ */
18
+ title?: string;
19
+ /**
20
+ * The portal item where the report is located.
21
+ */
22
+ portalItem?: PortalItemLike;
23
+ /**
24
+ * A unique ID to identify an instance of this report running.
25
+ */
26
+ instanceId?: string;
27
+ /**
28
+ * The features passed to the report.
29
+ */
30
+ features?: FeaturesLike;
31
+ }
32
+ /**
33
+ * Base for the Report Event Args interfaces.
34
+ */
35
+ export interface ReportEventArgsBase {
36
+ /**
37
+ * The ID of the report being run.
38
+ */
39
+ reportId: string;
40
+ /**
41
+ * A unique ID to track the running of this report.
42
+ */
43
+ instanceId: string;
44
+ }
45
+ /**
46
+ * Arguments for the reports.report-error event.
47
+ */
48
+ export interface ReportErrorEventArgs extends ReportEventArgsBase {
49
+ /**
50
+ * The error message.
51
+ */
52
+ message: string;
53
+ /**
54
+ * The HTTP status code associated with the error, if it's a HTTP error.
55
+ */
56
+ errorCode?: number;
57
+ }
58
+ /**
59
+ * Arguments for the reports.report-finished event.
60
+ */
61
+ export interface ReportFinishedEventArgs extends ReportEventArgsBase {
62
+ /**
63
+ * The URL to download the report at.
64
+ */
65
+ downloadUrl: string;
66
+ }
67
+ /**
68
+ * Arguments for the reports.report-progress event.
69
+ */
70
+ export interface ReportProgressEventArgs extends ReportEventArgsBase {
71
+ }
72
+ /**
73
+ * Arguments for the reports.report-started event.
74
+ */
75
+ export interface ReportStartedEventArgs extends ReportEventArgsBase {
76
+ }
77
+ export declare class ReportsCommands extends CommandRegistry {
78
+ /**
79
+ * Run a report on the given features. The report URL and feature IDs are
80
+ * provided by the viewer.
81
+ *
82
+ * @webOnly
83
+ */
84
+ get run(): Command<RunReportArgs>;
85
+ }
86
+ export declare class ReportEvents extends EventRegistry {
87
+ /**
88
+ * Raised when a report has started running.
89
+ *
90
+ * @webOnly
91
+ */
92
+ get reportStarted(): Event<ReportStartedEventArgs>;
93
+ /**
94
+ * Raised while a report is running to provide updates on its status.
95
+ *
96
+ * @webOnly
97
+ */
98
+ get reportProgress(): Event<ReportProgressEventArgs>;
99
+ /**
100
+ * Raised when a report has finished running. Event arguments include the
101
+ * report download URL.
102
+ *
103
+ * @webOnly
104
+ */
105
+ get reportFinished(): Event<ReportFinishedEventArgs>;
106
+ /**
107
+ * Raised when an error occurs with running a report.
108
+ *
109
+ * @webOnly
110
+ */
111
+ get reportError(): Event<ReportErrorEventArgs>;
112
+ }