@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
+ export{};
@@ -0,0 +1,13 @@
1
+ import type { MapsLike } from "./common.js";
2
+ export interface Photo {
3
+ }
4
+ export interface VisualElement {
5
+ }
6
+ /**
7
+ * One or more map extensions.
8
+ */
9
+ export interface MapExtensionArgs {
10
+ maps: MapsLike;
11
+ }
12
+ export interface MapExtensionFeatureArgs {
13
+ }
@@ -0,0 +1 @@
1
+ export{};
@@ -0,0 +1,65 @@
1
+ import { CommandRegistry } from "../CommandRegistry.js";
2
+ import { AppCommands } from "./app.js";
3
+ import { AuthCommands } from "./auth.js";
4
+ import { BasemapCommands } from "./basemap.js";
5
+ import { ChartsCommands } from "./charts.js";
6
+ import { DrawingCommands } from "./drawing.js";
7
+ import { EditCommands } from "./edit.js";
8
+ import { FileCommands } from "./file.js";
9
+ import { GeolocationCommands } from "./geolocation.js";
10
+ import { GeometryToolbarCommands } from "./geometry-toolbar.js";
11
+ import { HighlightsCommands } from "./highlights.js";
12
+ import { IwtmCommands } from "./iwtm.js";
13
+ import { KpiCommands } from "./kpi.js";
14
+ import { LayerComparisonCommands } from "./layer-comparison.js";
15
+ import { LayerPresetsCommands } from "./layer-presets.js";
16
+ import { LayersCommands } from "./layers.js";
17
+ import { LocationMarkerCommands } from "./location-marker.js";
18
+ import { MapCommands } from "./map.js";
19
+ import { MeasurementCommands } from "./measurement.js";
20
+ import { OfflineCommands } from "./offline.js";
21
+ import { PanelCommands } from "./panel.js";
22
+ import { PhotosCommands } from "./photos.js";
23
+ import { PrintCommands } from "./printing.js";
24
+ import { RegionCommands } from "./region.js";
25
+ import { ReportsCommands } from "./reports.js";
26
+ import { ResultsCommands } from "./results.js";
27
+ import { SearchCommands } from "./search.js";
28
+ import { SketchingCommands } from "./sketching.js";
29
+ import { SystemCommands } from "./system.js";
30
+ import { UICommands } from "./ui.js";
31
+ import { ViewerCommands } from "./viewer.js";
32
+ import { WorkflowCommands } from "./workflow.js";
33
+ export declare class Commands extends CommandRegistry {
34
+ readonly app: AppCommands;
35
+ readonly auth: AuthCommands;
36
+ readonly basemap: BasemapCommands;
37
+ readonly charts: ChartsCommands;
38
+ readonly drawing: DrawingCommands;
39
+ readonly edit: EditCommands;
40
+ readonly file: FileCommands;
41
+ readonly geolocation: GeolocationCommands;
42
+ readonly geometryToolbar: GeometryToolbarCommands;
43
+ readonly highlights: HighlightsCommands;
44
+ readonly iwtm: IwtmCommands;
45
+ readonly kpi: KpiCommands;
46
+ readonly layers: LayersCommands;
47
+ readonly layerComparison: LayerComparisonCommands;
48
+ readonly layerPresets: LayerPresetsCommands;
49
+ readonly locationMarker: LocationMarkerCommands;
50
+ readonly map: MapCommands;
51
+ readonly measurement: MeasurementCommands;
52
+ readonly offline: OfflineCommands;
53
+ readonly panel: PanelCommands;
54
+ readonly photos: PhotosCommands;
55
+ readonly printing: PrintCommands;
56
+ readonly region: RegionCommands;
57
+ readonly reports: ReportsCommands;
58
+ readonly results: ResultsCommands;
59
+ readonly search: SearchCommands;
60
+ readonly sketching: SketchingCommands;
61
+ readonly system: SystemCommands;
62
+ readonly ui: UICommands;
63
+ readonly viewer: ViewerCommands;
64
+ readonly workflow: WorkflowCommands;
65
+ }
@@ -0,0 +1 @@
1
+ import{CommandRegistry}from"../CommandRegistry.js";import{AppCommands}from"./app.js";import{AuthCommands}from"./auth.js";import{BasemapCommands}from"./basemap.js";import{ChartsCommands}from"./charts.js";import{DrawingCommands}from"./drawing.js";import{EditCommands}from"./edit.js";import{FileCommands}from"./file.js";import{GeolocationCommands}from"./geolocation.js";import{GeometryToolbarCommands}from"./geometry-toolbar.js";import{HighlightsCommands}from"./highlights.js";import{IwtmCommands}from"./iwtm.js";import{KpiCommands}from"./kpi.js";import{LayerComparisonCommands}from"./layer-comparison.js";import{LayerPresetsCommands}from"./layer-presets.js";import{LayersCommands}from"./layers.js";import{LocationMarkerCommands}from"./location-marker.js";import{MapCommands}from"./map.js";import{MeasurementCommands}from"./measurement.js";import{OfflineCommands}from"./offline.js";import{PanelCommands}from"./panel.js";import{PhotosCommands}from"./photos.js";import{PrintCommands}from"./printing.js";import{RegionCommands}from"./region.js";import{ReportsCommands}from"./reports.js";import{ResultsCommands}from"./results.js";import{SearchCommands}from"./search.js";import{SketchingCommands}from"./sketching.js";import{SystemCommands}from"./system.js";import{UICommands}from"./ui.js";import{ViewerCommands}from"./viewer.js";import{WorkflowCommands}from"./workflow.js";export class Commands extends CommandRegistry{constructor(){super(...arguments),this.app=new AppCommands(this._messages),this.auth=new AuthCommands(this._messages),this.basemap=new BasemapCommands(this._messages),this.charts=new ChartsCommands(this._messages),this.drawing=new DrawingCommands(this._messages),this.edit=new EditCommands(this._messages),this.file=new FileCommands(this._messages),this.geolocation=new GeolocationCommands(this._messages),this.geometryToolbar=new GeometryToolbarCommands(this._messages),this.highlights=new HighlightsCommands(this._messages),this.iwtm=new IwtmCommands(this._messages),this.kpi=new KpiCommands(this._messages),this.layers=new LayersCommands(this._messages),this.layerComparison=new LayerComparisonCommands(this._messages),this.layerPresets=new LayerPresetsCommands(this._messages),this.locationMarker=new LocationMarkerCommands(this._messages),this.map=new MapCommands(this._messages),this.measurement=new MeasurementCommands(this._messages),this.offline=new OfflineCommands(this._messages),this.panel=new PanelCommands(this._messages),this.photos=new PhotosCommands(this._messages),this.printing=new PrintCommands(this._messages),this.region=new RegionCommands(this._messages),this.reports=new ReportsCommands(this._messages),this.results=new ResultsCommands(this._messages),this.search=new SearchCommands(this._messages),this.sketching=new SketchingCommands(this._messages),this.system=new SystemCommands(this._messages),this.ui=new UICommands(this._messages),this.viewer=new ViewerCommands(this._messages),this.workflow=new WorkflowCommands(this._messages)}}
@@ -0,0 +1,53 @@
1
+ import { EventRegistry } from "../EventRegistry.js";
2
+ import { AppConfigEvents } from "./app-config.js";
3
+ import { AppEvents } from "./app.js";
4
+ import { AuthEvents } from "./auth.js";
5
+ import { DeviceEvents } from "./device.js";
6
+ import { DisplayEvents } from "./display.js";
7
+ import { EditEvents } from "./edit.js";
8
+ import { GeolocationEvents } from "./geolocation.js";
9
+ import { InputEvents } from "./input.js";
10
+ import { LayersEvents } from "./layers.js";
11
+ import { LayoutEvents } from "./layout.js";
12
+ import { LocationMarkerEvents } from "./location-marker.js";
13
+ import { MapEvents } from "./map.js";
14
+ import { OfflineEvents } from "./offline.js";
15
+ import { PanelEvents } from "./panel.js";
16
+ import { PhotosEvents } from "./photos.js";
17
+ import { PortalEvents } from "./portal.js";
18
+ import { PrintEvents } from "./printing.js";
19
+ import { RegionEvents } from "./region.js";
20
+ import { ReportEvents } from "./reports.js";
21
+ import { ResultsEvents } from "./results.js";
22
+ import { SearchEvents } from "./search.js";
23
+ import { TasksEvents } from "./tasks.js";
24
+ import { UIEvents } from "./ui.js";
25
+ import { ViewerEvents } from "./viewer.js";
26
+ import { WorkflowEvents } from "./workflow.js";
27
+ export declare class Events extends EventRegistry {
28
+ readonly app: AppEvents;
29
+ readonly appConfig: AppConfigEvents;
30
+ readonly auth: AuthEvents;
31
+ readonly device: DeviceEvents;
32
+ readonly display: DisplayEvents;
33
+ readonly edit: EditEvents;
34
+ readonly geolocation: GeolocationEvents;
35
+ readonly input: InputEvents;
36
+ readonly layers: LayersEvents;
37
+ readonly layout: LayoutEvents;
38
+ readonly locationMarker: LocationMarkerEvents;
39
+ readonly map: MapEvents;
40
+ readonly offline: OfflineEvents;
41
+ readonly panel: PanelEvents;
42
+ readonly photos: PhotosEvents;
43
+ readonly portal: PortalEvents;
44
+ readonly printing: PrintEvents;
45
+ readonly region: RegionEvents;
46
+ readonly reports: ReportEvents;
47
+ readonly results: ResultsEvents;
48
+ readonly search: SearchEvents;
49
+ readonly tasks: TasksEvents;
50
+ readonly ui: UIEvents;
51
+ readonly viewer: ViewerEvents;
52
+ readonly workflow: WorkflowEvents;
53
+ }
@@ -0,0 +1 @@
1
+ import{EventRegistry}from"../EventRegistry.js";import{AppConfigEvents}from"./app-config.js";import{AppEvents}from"./app.js";import{AuthEvents}from"./auth.js";import{DeviceEvents}from"./device.js";import{DisplayEvents}from"./display.js";import{EditEvents}from"./edit.js";import{GeolocationEvents}from"./geolocation.js";import{InputEvents}from"./input.js";import{LayersEvents}from"./layers.js";import{LayoutEvents}from"./layout.js";import{LocationMarkerEvents}from"./location-marker.js";import{MapEvents}from"./map.js";import{OfflineEvents}from"./offline.js";import{PanelEvents}from"./panel.js";import{PhotosEvents}from"./photos.js";import{PortalEvents}from"./portal.js";import{PrintEvents}from"./printing.js";import{RegionEvents}from"./region.js";import{ReportEvents}from"./reports.js";import{ResultsEvents}from"./results.js";import{SearchEvents}from"./search.js";import{TasksEvents}from"./tasks.js";import{UIEvents}from"./ui.js";import{ViewerEvents}from"./viewer.js";import{WorkflowEvents}from"./workflow.js";export class Events extends EventRegistry{constructor(){super(...arguments),this.app=new AppEvents(this._messages),this.appConfig=new AppConfigEvents(this._messages),this.auth=new AuthEvents(this._messages),this.device=new DeviceEvents(this._messages),this.display=new DisplayEvents(this._messages),this.edit=new EditEvents(this._messages),this.geolocation=new GeolocationEvents(this._messages),this.input=new InputEvents(this._messages),this.layers=new LayersEvents(this._messages),this.layout=new LayoutEvents(this._messages),this.locationMarker=new LocationMarkerEvents(this._messages),this.map=new MapEvents(this._messages),this.offline=new OfflineEvents(this._messages),this.panel=new PanelEvents(this._messages),this.photos=new PhotosEvents(this._messages),this.portal=new PortalEvents(this._messages),this.printing=new PrintEvents(this._messages),this.region=new RegionEvents(this._messages),this.reports=new ReportEvents(this._messages),this.results=new ResultsEvents(this._messages),this.search=new SearchEvents(this._messages),this.tasks=new TasksEvents(this._messages),this.ui=new UIEvents(this._messages),this.viewer=new ViewerEvents(this._messages),this.workflow=new WorkflowEvents(this._messages)}}
@@ -0,0 +1,54 @@
1
+ import { OperationRegistry } from "../OperationRegistry.js";
2
+ import { AppOperations } from "./app.js";
3
+ import { AuthOperations } from "./auth.js";
4
+ import { BasemapOperations } from "./basemap.js";
5
+ import { ChartOperations } from "./charts.js";
6
+ import { DebugConsoleOperations } from "./debugConsole.js";
7
+ import { DrawingOperations } from "./drawing.js";
8
+ import { FileOperations } from "./file.js";
9
+ import { GeocodeOperations } from "./geocode.js";
10
+ import { GeolocationOperations } from "./geolocation.js";
11
+ import { GeometryOperations } from "./geometry.js";
12
+ import { HighlightsOperations } from "./highlights.js";
13
+ import { KpiOperations } from "./kpi.js";
14
+ import { LogViewerOperations } from "./logViewer.js";
15
+ import { MapOperations } from "./map.js";
16
+ import { MeasurementOperations } from "./measurement.js";
17
+ import { MessagingOperations } from "./messaging.js";
18
+ import { NetworkOperations } from "./network.js";
19
+ import { OfflineOperations } from "./offline.js";
20
+ import { ResultsOperations } from "./results.js";
21
+ import { SketchingOperations } from "./sketching.js";
22
+ import { SystemOperations } from "./system.js";
23
+ import { TasksOperations } from "./tasks.js";
24
+ import { UIOperations } from "./ui.js";
25
+ import { ViewerOperations } from "./viewer.js";
26
+ export declare class Operations extends OperationRegistry {
27
+ readonly auth: AuthOperations;
28
+ readonly app: AppOperations;
29
+ readonly basemap: BasemapOperations;
30
+ readonly charts: ChartOperations;
31
+ readonly drawing: DrawingOperations;
32
+ readonly file: FileOperations;
33
+ readonly geocode: GeocodeOperations;
34
+ readonly geolocation: GeolocationOperations;
35
+ readonly geometry: GeometryOperations;
36
+ readonly highlights: HighlightsOperations;
37
+ readonly kpi: KpiOperations;
38
+ readonly logViewer: LogViewerOperations;
39
+ readonly map: MapOperations;
40
+ readonly measurement: MeasurementOperations;
41
+ readonly messaging: MessagingOperations;
42
+ readonly network: NetworkOperations;
43
+ readonly offline: OfflineOperations;
44
+ readonly sketching: SketchingOperations;
45
+ readonly system: SystemOperations;
46
+ readonly results: ResultsOperations;
47
+ readonly tasks: TasksOperations;
48
+ readonly ui: UIOperations;
49
+ readonly viewer: ViewerOperations;
50
+ /**
51
+ * @deprecated
52
+ */
53
+ readonly debugConsole: DebugConsoleOperations;
54
+ }
@@ -0,0 +1 @@
1
+ import{OperationRegistry}from"../OperationRegistry.js";import{AppOperations}from"./app.js";import{AuthOperations}from"./auth.js";import{BasemapOperations}from"./basemap.js";import{ChartOperations}from"./charts.js";import{DebugConsoleOperations}from"./debugConsole.js";import{DrawingOperations}from"./drawing.js";import{FileOperations}from"./file.js";import{GeocodeOperations}from"./geocode.js";import{GeolocationOperations}from"./geolocation.js";import{GeometryOperations}from"./geometry.js";import{HighlightsOperations}from"./highlights.js";import{KpiOperations}from"./kpi.js";import{LogViewerOperations}from"./logViewer.js";import{MapOperations}from"./map.js";import{MeasurementOperations}from"./measurement.js";import{MessagingOperations}from"./messaging.js";import{NetworkOperations}from"./network.js";import{OfflineOperations}from"./offline.js";import{ResultsOperations}from"./results.js";import{SketchingOperations}from"./sketching.js";import{SystemOperations}from"./system.js";import{TasksOperations}from"./tasks.js";import{UIOperations}from"./ui.js";import{ViewerOperations}from"./viewer.js";export class Operations extends OperationRegistry{constructor(){super(...arguments),this.auth=new AuthOperations(this._messages),this.app=new AppOperations(this._messages),this.basemap=new BasemapOperations(this._messages),this.charts=new ChartOperations(this._messages),this.drawing=new DrawingOperations(this._messages),this.file=new FileOperations(this._messages),this.geocode=new GeocodeOperations(this._messages),this.geolocation=new GeolocationOperations(this._messages),this.geometry=new GeometryOperations(this._messages),this.highlights=new HighlightsOperations(this._messages),this.kpi=new KpiOperations(this._messages),this.logViewer=new LogViewerOperations(this._messages),this.map=new MapOperations(this._messages),this.measurement=new MeasurementOperations(this._messages),this.messaging=new MessagingOperations(this._messages),this.network=new NetworkOperations(this._messages),this.offline=new OfflineOperations(this._messages),this.sketching=new SketchingOperations(this._messages),this.system=new SystemOperations(this._messages),this.results=new ResultsOperations(this._messages),this.tasks=new TasksOperations(this._messages),this.ui=new UIOperations(this._messages),this.viewer=new ViewerOperations(this._messages),this.debugConsole=new DebugConsoleOperations(this._messages)}}
@@ -0,0 +1,11 @@
1
+ import type { Event } from "../Event.js";
2
+ import { EventRegistry } from "../EventRegistry.js";
3
+ export declare class AppConfigEvents extends EventRegistry {
4
+ /**
5
+ * Raised when the app config is about to be unloaded (in order to switch to
6
+ * a different app config).
7
+ *
8
+ * @mobileOnly
9
+ */
10
+ get unloading(): Event;
11
+ }
@@ -0,0 +1 @@
1
+ import{EventRegistry}from"../EventRegistry.js";export class AppConfigEvents extends EventRegistry{get unloading(){return this._messages.event("app-config.unloading")}}
@@ -0,0 +1,136 @@
1
+ import type { AppConfig } from "../../app-config/index.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
+ import type { Operation } from "../Operation.js";
7
+ import { OperationRegistry } from "../OperationRegistry.js";
8
+ import type { Blob } from "../common.js";
9
+ /**
10
+ * Arguments for the app started events. Only available in the Geocortex Mobile
11
+ * Viewer.
12
+ */
13
+ export interface SpecificAppArgs {
14
+ /**
15
+ * A unique identifier for the app.
16
+ */
17
+ uniqueKey: string;
18
+ }
19
+ /**
20
+ * Arguments for the app.generic.apps-listed event. Only available in the
21
+ * Geocortex Mobile Viewer.
22
+ */
23
+ export interface GenericAppsListedArgs {
24
+ /**
25
+ * The number of dev apps available.
26
+ */
27
+ devApps: number;
28
+ /**
29
+ * The number of test apps available.
30
+ */
31
+ testApps: number;
32
+ /**
33
+ * The number of staging apps available.
34
+ */
35
+ stagingApps: number;
36
+ /**
37
+ * The number of production apps available.
38
+ */
39
+ productionApps: number;
40
+ /**
41
+ * The total number of apps available.
42
+ */
43
+ totalApps: number;
44
+ }
45
+ export declare class AppCommands extends CommandRegistry {
46
+ /**
47
+ * Returns to the Geocortex Go view where the user can select a different
48
+ * app. Only enabled if the current app was launched through Geocortex Go.
49
+ *
50
+ * @mobileOnly
51
+ */
52
+ get goToAppSelector(): Command;
53
+ /**
54
+ * Refreshes the currently loaded app so that it can download updates if
55
+ * available.
56
+ *
57
+ * @mobileOnly
58
+ */
59
+ get refresh(): Command;
60
+ /**
61
+ * Loads a project's app config and updates the application's current state,
62
+ * accordingly. If more than one file is provided, only the first will be
63
+ * loaded.
64
+ *
65
+ * @webOnly
66
+ */
67
+ get loadProject(): Command<AppConfig | Blob | Blob[]>;
68
+ }
69
+ export declare class AppEvents extends EventRegistry {
70
+ readonly custom: AppCustomEvents;
71
+ readonly generic: AppGenericEvents;
72
+ /**
73
+ * Raised when the app is started, restored from a background state, layout
74
+ * switched, or restored from an interrupted state.
75
+ *
76
+ * @mobileOnly
77
+ */
78
+ get activated(): Event;
79
+ /**
80
+ * Raised when the app is backgrounded.
81
+ *
82
+ * @mobileOnly
83
+ */
84
+ get backgrounded(): Event;
85
+ /**
86
+ * Raised when a specific app is started within the generic app.
87
+ *
88
+ * @mobileOnly
89
+ */
90
+ get specificAppStarted(): Event<SpecificAppArgs>;
91
+ /**
92
+ * Raised when the app is interrupted temporarily (eg. Pull down
93
+ * notifications, control center, or OS level prompt or alert).
94
+ *
95
+ * @mobileOnly
96
+ */
97
+ get interrupted(): Event;
98
+ }
99
+ export declare class AppCustomEvents extends EventRegistry {
100
+ /**
101
+ * Raised when a custom app is started.
102
+ *
103
+ * @mobileOnly
104
+ */
105
+ get started(): Event<SpecificAppArgs>;
106
+ }
107
+ export declare class AppGenericEvents extends EventRegistry {
108
+ /**
109
+ * Raised when a generic app is started.
110
+ *
111
+ * @mobileOnly
112
+ */
113
+ get started(): Event;
114
+ /**
115
+ * Raised when apps are listed within the generic app.
116
+ *
117
+ * @mobileOnly
118
+ */
119
+ get appsListed(): Event<GenericAppsListedArgs>;
120
+ }
121
+ export declare class AppOperations extends OperationRegistry {
122
+ /**
123
+ * Gets the current version stamped in the application (i.e. the version of the viewer
124
+ * this application was created with).
125
+ *
126
+ * @webOnly
127
+ */
128
+ get getVersion(): Operation<void, string>;
129
+ /**
130
+ * Creates app config for a project, based on the current state of the
131
+ * application.
132
+ *
133
+ * @webOnly
134
+ */
135
+ get createProject(): Operation<void, AppConfig>;
136
+ }
@@ -0,0 +1 @@
1
+ import{CommandRegistry}from"../CommandRegistry.js";import{EventRegistry}from"../EventRegistry.js";import{OperationRegistry}from"../OperationRegistry.js";export class AppCommands extends CommandRegistry{get goToAppSelector(){return this._messages.command("app.go-to-app-selector")}get refresh(){return this._messages.command("app.refresh")}get loadProject(){return this._messages.command("app.load-project")}}export class AppEvents extends EventRegistry{constructor(){super(...arguments),this.custom=new AppCustomEvents(this._messages),this.generic=new AppGenericEvents(this._messages)}get activated(){return this._messages.event("app.activated")}get backgrounded(){return this._messages.event("app.backgrounded")}get specificAppStarted(){return this._messages.event("app.specific-app-started")}get interrupted(){return this._messages.event("app.interrupted")}}export class AppCustomEvents extends EventRegistry{get started(){return this._messages.event("app.custom.started")}}export class AppGenericEvents extends EventRegistry{get started(){return this._messages.event("app.generic.started")}get appsListed(){return this._messages.event("app.generic.apps-listed")}}export class AppOperations extends OperationRegistry{get getVersion(){return this._messages.operation("app.get-version")}get createProject(){return this._messages.operation("app.create-project")}}
@@ -0,0 +1,125 @@
1
+ /// <reference types="esri-runtime-sdk" />
2
+ import type PortalUser from "@arcgis/core/portal/PortalUser";
3
+ import type Credential from "esri-runtime-sdk/Credential";
4
+ import type CredentialRequestInfo from "esri-runtime-sdk/CredentialRequestInfo";
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 { Operation } from "../Operation.js";
10
+ import { OperationRegistry } from "../OperationRegistry.js";
11
+ /**
12
+ * A type of authentication.
13
+ */
14
+ export declare enum AuthenticationType {
15
+ UNKNOWN = "Unknown",
16
+ OAUTH_2 = "OAuth2",
17
+ NETWORK = "Network",
18
+ TOKEN = "Token"
19
+ }
20
+ /**
21
+ * A user properties interface that contains a portal user.
22
+ */
23
+ export interface Principal {
24
+ /**
25
+ * The ArcGIS JavaScript API PortalUser object containing information about
26
+ * the user.
27
+ */
28
+ portalUser: PortalUser;
29
+ }
30
+ /**
31
+ * Arguments for the auth.sign-in events. Only available in the Geocortex Mobile
32
+ * Viewer.
33
+ */
34
+ export interface SignInEventArgs {
35
+ /**
36
+ * The authentication method used for the sign in process. Not available in
37
+ * Geocortex Web Viewer.
38
+ */
39
+ authenticationType: AuthenticationType;
40
+ /**
41
+ * Information about the resource that is required to sign in. Not available
42
+ * in Geocortex Web Viewer. Will be an instance of
43
+ * esri.security.CredentialRequestInfo for the Geocortex Mobile Viewer.
44
+ */
45
+ requestInfo: unknown;
46
+ }
47
+ /**
48
+ * Arguments for the auth.sign-in-failed event. Only available in the Geocortex
49
+ * Mobile Viewer.
50
+ */
51
+ export interface SignInFailedEventArgs extends SignInEventArgs {
52
+ /**
53
+ * The exception that occurred during the sign in. Not available in
54
+ * Geocortex Web Viewer.
55
+ */
56
+ exception: unknown;
57
+ }
58
+ export declare class AuthCommands extends CommandRegistry {
59
+ /**
60
+ * Initiates user sign-in if they aren't already signed in. The argument
61
+ * indicates whether or not the map should be reloaded when the sign-in is
62
+ * complete. This argument is optional and only supported by Geocortex
63
+ * Mobile Viewer.
64
+ */
65
+ get signIn(): Command<boolean | void>;
66
+ /**
67
+ * Signs the user out. The argument indicates whether or not the map should
68
+ * be reloaded when the sign-out is complete. This argument is optional and
69
+ * only supported by Geocortex Mobile Viewer.
70
+ */
71
+ get signOut(): Command<boolean | void>;
72
+ }
73
+ export declare class AuthOperations extends OperationRegistry {
74
+ /**
75
+ * Gets the user that is currently signed into the application.
76
+ */
77
+ get getCurrentUser(): Operation<void, Principal>;
78
+ /**
79
+ * Looks for an existing Esri credential. Does not prompt the user to
80
+ * sign in if credential cannot be found.
81
+ *
82
+ * @mobileOnly
83
+ */
84
+ get getExistingCredential(): Operation<CredentialRequestInfo, Credential>;
85
+ /**
86
+ * Check if sign-in is currently supported by the authentication manager.
87
+ *
88
+ * @webOnly
89
+ */
90
+ get isSignInAvailable(): Operation<void, boolean>;
91
+ }
92
+ export declare class AuthEvents extends EventRegistry {
93
+ /**
94
+ * Raised when the user cancels a sign-in challenge.
95
+ *
96
+ * @mobileOnly
97
+ */
98
+ get signInCancelled(): Event<SignInEventArgs>;
99
+ /**
100
+ * Raised when successfully signed in.
101
+ */
102
+ get signInCompleted(): Event<Principal>;
103
+ /**
104
+ * Raised when a sign-in attempt fails.
105
+ */
106
+ get signInFailed(): Event<SignInFailedEventArgs | void>;
107
+ /**
108
+ * Raised when the user requests a sign-in.
109
+ */
110
+ get signInRequested(): Event<SignInEventArgs | void>;
111
+ /**
112
+ * Raised when the user is signed out.
113
+ */
114
+ get signOutCompleted(): Event;
115
+ /**
116
+ * Raised when the user requests a sign-out.
117
+ */
118
+ get signOutRequested(): Event;
119
+ /**
120
+ * Raised when the user's token is refreshed. Will be the new token in the
121
+ * Geocortex Web Viewer, and a TokenCredential object in the Geocortex
122
+ * Mobile Viewer.
123
+ */
124
+ get tokenRefreshed(): Event<string>;
125
+ }