@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 AuthenticationType;!function(e){e.UNKNOWN="Unknown",e.OAUTH_2="OAuth2",e.NETWORK="Network",e.TOKEN="Token"}(AuthenticationType||(AuthenticationType={}));export class AuthCommands extends CommandRegistry{get signIn(){return this._messages.command("auth.sign-in")}get signOut(){return this._messages.command("auth.sign-out")}}export class AuthOperations extends OperationRegistry{get getCurrentUser(){return this._messages.operation("auth.get-current-user")}get getExistingCredential(){return this._messages.operation("auth.get-existing-credential")}get isSignInAvailable(){return this._messages.operation("auth.is-sign-in-available")}}export class AuthEvents extends EventRegistry{get signInCancelled(){return this._messages.event("auth.sign-in-cancelled")}get signInCompleted(){return this._messages.event("auth.sign-in-completed")}get signInFailed(){return this._messages.event("auth.sign-in-failed")}get signInRequested(){return this._messages.event("auth.sign-in-requested")}get signOutCompleted(){return this._messages.event("auth.sign-out-completed")}get signOutRequested(){return this._messages.event("auth.sign-out-requested")}get tokenRefreshed(){return this._messages.event("auth.token-refreshed")}}
@@ -0,0 +1,52 @@
1
+ import type { BasemapExtension } from "@vertigis/arcgis-extensions/mapping/BasemapExtension";
2
+ import type { Command } from "../Command.js";
3
+ import type { Operation } from "../Operation.js";
4
+ import { OperationRegistry } from "../OperationRegistry.js";
5
+ import { CommandRegistry } from "./../CommandRegistry.js";
6
+ import type { BasemapsLike, MapsLike } from "./../common.js";
7
+ export declare class BasemapCommands extends CommandRegistry {
8
+ /**
9
+ * Switch to a configured basemap.
10
+ */
11
+ get set(): Command<SetBasemapArgs>;
12
+ }
13
+ export declare class BasemapOperations extends OperationRegistry {
14
+ /**
15
+ * Gets all configured basemaps.
16
+ *
17
+ * Having argument:
18
+ * - Multiple maps: the union of all basemap options from each
19
+ * - No maps: the union of all basemap options for every map in the application.
20
+ */
21
+ get getAll(): Operation<MapsLike, BasemapExtension[]>;
22
+ /**
23
+ * Gets currently selected basemap for the given map.
24
+ * If more than one map is specified, only the first map is used.
25
+ */
26
+ get getCurrent(): Operation<MapsLike, BasemapExtension>;
27
+ }
28
+ /**
29
+ * Argument used in case when we have only 1 map in the app
30
+ * or when the first active map should be used.
31
+ * Basemap extension ID or the basemap self.
32
+ * If more than one basemap is specified, only the first one is used.
33
+ */
34
+ export declare type SetBasemapArg = string | BasemapsLike;
35
+ /**
36
+ * Argument used in case when we have more than 1 map in the app,
37
+ * and we need to pass the target map from outside (eg basemap picker in web viewer).
38
+ */
39
+ export interface SetBasemapWithTargetMapArg {
40
+ /**
41
+ * Basemap to be set.
42
+ */
43
+ basemap: SetBasemapArg;
44
+ /**
45
+ * Target map.
46
+ */
47
+ map: MapsLike;
48
+ }
49
+ /**
50
+ * Argument used when setting current basemap in the app.
51
+ */
52
+ export declare type SetBasemapArgs = SetBasemapArg | SetBasemapWithTargetMapArg;
@@ -0,0 +1 @@
1
+ import{OperationRegistry}from"../OperationRegistry.js";import{CommandRegistry}from"./../CommandRegistry.js";export class BasemapCommands extends CommandRegistry{get set(){return this._messages.command("basemap.set")}}export class BasemapOperations extends OperationRegistry{get getAll(){return this._messages.operation("basemap.get-all")}get getCurrent(){return this._messages.operation("basemap.get-current")}}
@@ -0,0 +1,78 @@
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 { Features, HasFeatures, ModelRef } from "../common.js";
6
+ /**
7
+ * Arguments for the charts.update-definition command.
8
+ */
9
+ export interface UpdateChartDefinitionArgs {
10
+ /**
11
+ * The chart to update, referenced by chart model or its ID.
12
+ */
13
+ chart: ModelRef;
14
+ /**
15
+ * The Highcharts definition with which to update the chart.
16
+ */
17
+ definition: Highcharts.Options;
18
+ }
19
+ /**
20
+ * Arguments for various commands that affect a chart's features.
21
+ */
22
+ export interface UpdateChartFeaturesArgs extends HasFeatures {
23
+ /**
24
+ * The chart(s) to update, referenced by layout ID or chart model.
25
+ */
26
+ chart: ModelRef;
27
+ }
28
+ export declare class ChartsCommands extends CommandRegistry {
29
+ /**
30
+ * Updates charts with provided features. Only activated charts that receive
31
+ * features from all required feature sources will displayed.
32
+ *
33
+ * @webOnly
34
+ */
35
+ get display(): Command<Features | UpdateChartFeaturesArgs>;
36
+ /**
37
+ * Adds one or more features to charts. If `chart` is specified, then only
38
+ * the given chart will be updated, otherwise all charts will.
39
+ *
40
+ * @webOnly
41
+ */
42
+ get addFeatures(): Command<Features | UpdateChartFeaturesArgs>;
43
+ /**
44
+ * Remove one or more features from active charts. If `chart` is specified,
45
+ * then only the given chart will be updated, otherwise all charts will.
46
+ *
47
+ * @webOnly
48
+ */
49
+ get removeFeatures(): Command<Features | UpdateChartFeaturesArgs>;
50
+ /**
51
+ * Clear features from active charts. If a chart is specified, then only
52
+ * the given chart will be updated, otherwise all charts will.
53
+ *
54
+ * @webOnly
55
+ */
56
+ get clear(): Command<ModelRef | void>;
57
+ /**
58
+ * Updates the definition of a chart.
59
+ *
60
+ * @webOnly
61
+ */
62
+ get updateDefinition(): Command<UpdateChartDefinitionArgs>;
63
+ }
64
+ export declare class ChartOperations extends OperationRegistry {
65
+ /**
66
+ * Returns the current set of features from all active charts.
67
+ *
68
+ * @webOnly
69
+ */
70
+ get getFeatures(): Operation<ModelRef | void, Features>;
71
+ /**
72
+ * Gets the definition of a chart that corresponds to the ID or the
73
+ * ChartModel instance that's passed in as an argument.
74
+ *
75
+ * @webOnly
76
+ */
77
+ get getDefinition(): Operation<ModelRef, Highcharts.Options>;
78
+ }
@@ -0,0 +1 @@
1
+ import{CommandRegistry}from"../CommandRegistry.js";import{OperationRegistry}from"../OperationRegistry.js";export class ChartsCommands extends CommandRegistry{get display(){return this._messages.command("charts.display")}get addFeatures(){return this._messages.command("charts.add-features")}get removeFeatures(){return this._messages.command("charts.remove-features")}get clear(){return this._messages.command("charts.clear")}get updateDefinition(){return this._messages.command("charts.update-definition")}}export class ChartOperations extends OperationRegistry{get getFeatures(){return this._messages.operation("charts.get-features")}get getDefinition(){return this._messages.operation("charts.get-definition")}}
@@ -0,0 +1,24 @@
1
+ import type { Operation } from "../Operation.js";
2
+ import { OperationRegistry } from "../OperationRegistry.js";
3
+ /**
4
+ * Deprecated; use LogViewerOperations instead.
5
+ *
6
+ * @deprecated
7
+ *
8
+ */
9
+ export declare class DebugConsoleOperations extends OperationRegistry {
10
+ /**
11
+ * Displays the Debug Console. Deprecated; use log-viewer.display instead.
12
+ *
13
+ * @mobileOnly
14
+ * @deprecated
15
+ */
16
+ get display(): Operation<void>;
17
+ /**
18
+ * Closes the Debug Console. Deprecated; use log-viewer.close instead.
19
+ *
20
+ * @mobileOnly
21
+ * @deprecated
22
+ */
23
+ get close(): Operation<void>;
24
+ }
@@ -0,0 +1 @@
1
+ import{OperationRegistry}from"../OperationRegistry.js";export class DebugConsoleOperations extends OperationRegistry{get display(){return this._messages.operation("debug-console.display")}get close(){return this._messages.operation("debug-console.close")}}
@@ -0,0 +1,15 @@
1
+ import type { Event } from "../Event.js";
2
+ import { EventRegistry } from "../EventRegistry.js";
3
+ /**
4
+ * Arguments for the "device.orientation-changed" event.
5
+ */
6
+ export interface DeviceOrientationChangedEventArgs {
7
+ }
8
+ export declare class DeviceEvents extends EventRegistry {
9
+ /**
10
+ * Raised when the device's orientation changes.
11
+ *
12
+ * @mobileOnly
13
+ */
14
+ get orientationChanged(): Event<DeviceOrientationChangedEventArgs>;
15
+ }
@@ -0,0 +1 @@
1
+ import{EventRegistry}from"../EventRegistry.js";export class DeviceEvents extends EventRegistry{get orientationChanged(){return this._messages.event("device.orientation-changed")}}
@@ -0,0 +1,16 @@
1
+ import type { Event } from "../Event.js";
2
+ import { EventRegistry } from "../EventRegistry.js";
3
+ /**
4
+ * Arguments for the "display.overlap-element-translate-started" event.
5
+ */
6
+ export interface ElementTranslationStartedArgs {
7
+ }
8
+ export declare class DisplayEvents extends EventRegistry {
9
+ /**
10
+ * Raised when one UI element is being moved overtop of another, such that
11
+ * the element underneath is partially or fully obscured.
12
+ *
13
+ * @mobileOnly
14
+ */
15
+ get overlapElementTranslateStarted(): Event<ElementTranslationStartedArgs>;
16
+ }
@@ -0,0 +1 @@
1
+ import{EventRegistry}from"../EventRegistry.js";export class DisplayEvents extends EventRegistry{get overlapElementTranslateStarted(){return this._messages.event("display.overlap-element-translate-started")}}
@@ -0,0 +1,126 @@
1
+ import type LineSymbol3D from "@arcgis/core/symbols/LineSymbol3D";
2
+ import type PictureFillSymbol from "@arcgis/core/symbols/PictureFillSymbol";
3
+ import type PictureMarkerSymbol from "@arcgis/core/symbols/PictureMarkerSymbol";
4
+ import type PointSymbol3D from "@arcgis/core/symbols/PointSymbol3D";
5
+ import type PolygonSymbol3D from "@arcgis/core/symbols/PolygonSymbol3D";
6
+ import type SimpleFillSymbol from "@arcgis/core/symbols/SimpleFillSymbol";
7
+ import type SimpleLineSymbol from "@arcgis/core/symbols/SimpleLineSymbol";
8
+ import type SimpleMarkerSymbol from "@arcgis/core/symbols/SimpleMarkerSymbol";
9
+ import type Symbol from "@arcgis/core/symbols/Symbol";
10
+ import type { LineSymbol3D as LineSymbol3DProperties } from "@vertigis/arcgis-extensions/portal/LineSymbol3D";
11
+ import type { PictureFillSymbol as PictureFillSymbolProperties } from "@vertigis/arcgis-extensions/portal/PictureFillSymbol";
12
+ import type { PictureMarkerSymbol as PictureMarkerSymbolProperties } from "@vertigis/arcgis-extensions/portal/PictureMarkerSymbol";
13
+ import type { PointSymbol3D as PointSymbol3DProperties } from "@vertigis/arcgis-extensions/portal/PointSymbol3D";
14
+ import type { PolygonSymbol3D as PolygonSymbol3DProperties } from "@vertigis/arcgis-extensions/portal/PolygonSymbol3D";
15
+ import type { SimpleFillSymbol as SimpleFillSymbolProperties } from "@vertigis/arcgis-extensions/portal/SimpleFillSymbol";
16
+ import type { SimpleLineSymbol as SimpleLineSymbolProperties } from "@vertigis/arcgis-extensions/portal/SimpleLineSymbol";
17
+ import type { SimpleMarkerSymbol as SimpleMarkerSymbolProperties } from "@vertigis/arcgis-extensions/portal/SimpleMarkerSymbol";
18
+ import type { GeometryType } from "@vertigis/arcgis-extensions/support/esri";
19
+ import type { SymbolPresetProperties } from "../../app-config/web/DrawModelProperties.js";
20
+ import type { Command } from "../Command.js";
21
+ import { CommandRegistry } from "../CommandRegistry.js";
22
+ import type { Operation } from "../Operation.js";
23
+ import { OperationRegistry } from "../OperationRegistry.js";
24
+ import type { CreateGraphicsResult, GeometryLike, HasFeatures, HasGraphics, HasLayers, HasMaps, HasSymbol, SymbolLike } from "../common.js";
25
+ /**
26
+ * Symbols supported for drawing.
27
+ */
28
+ export declare type DrawingSymbolConfig = SimpleMarkerSymbol | SimpleMarkerSymbolProperties | PictureMarkerSymbol | PictureMarkerSymbolProperties | SimpleLineSymbol | SimpleLineSymbolProperties | SimpleFillSymbol | SimpleFillSymbolProperties | PictureFillSymbol | PictureFillSymbolProperties | PointSymbol3D | PointSymbol3DProperties | LineSymbol3D | LineSymbol3DProperties | PolygonSymbol3D | PolygonSymbol3DProperties;
29
+ /**
30
+ * Arguments for the drawing.get-symbol operation. Only available in Geocortex
31
+ * Web.
32
+ */
33
+ export interface GetDefaultSymbolArgs {
34
+ /**
35
+ * The geometry type for the default symbol to retrieve.
36
+ */
37
+ geometryType?: GeometryType;
38
+ }
39
+ /**
40
+ * Arguments for the drawing.edit-symbol operation. Only available in Geocortex
41
+ * Web.
42
+ */
43
+ export interface EditSymbolArgs extends HasMaps, HasLayers, HasGraphics, HasFeatures {
44
+ /**
45
+ * The geometry type for the symbol to create.
46
+ */
47
+ geometryType?: GeometryType;
48
+ /**
49
+ * The symbol to edit. (Currently supports only SimpleLineSymbol and
50
+ * SimpleFillSymbol).
51
+ */
52
+ symbol?: Symbol;
53
+ /**
54
+ * Symbol presets that can be assigned to a graphic. If defined, these
55
+ * presets will override any that are configured in the DrawService.
56
+ */
57
+ symbolPresets?: SymbolPresetProperties[];
58
+ /**
59
+ * If the fine-grain controls should be hidden and only the symbol presets
60
+ * should be shown. If no valid symbol presets are configured, this property
61
+ * will be ignored. Default is false. If defined, this will override the
62
+ * value of the DrawService's 'showOnlySymbolPresets' property.
63
+ */
64
+ showOnlySymbolPresets?: boolean;
65
+ }
66
+ /**
67
+ * Arguments for the drawing.edit-symbol operation. Only available in Geocortex
68
+ * Web.
69
+ */
70
+ export interface EditSymbolResult extends HasMaps, HasLayers, HasGraphics, HasFeatures {
71
+ /**
72
+ * The symbol that is the result of the operation.
73
+ */
74
+ symbol: Symbol;
75
+ }
76
+ export declare class DrawingCommands extends CommandRegistry {
77
+ /**
78
+ * Sets a value that determines whether drawings will be synced
79
+ * automatically across maps.
80
+ */
81
+ get setSync(): Command<boolean>;
82
+ /**
83
+ * Sets the value of the default point, line, or polygon symbol. The symbol
84
+ * can be configured with an instance of the Esri symbol or with the Esri
85
+ * WebMap JSON.
86
+ *
87
+ * @webOnly
88
+ */
89
+ get setDefaultSymbol(): Command<SymbolLike | HasSymbol>;
90
+ /**
91
+ * Sets the symbol on a collection of Graphics. The symbol can be configured
92
+ * with an instance of the Esri symbol or with the Esri WebMap JSON.
93
+ *
94
+ * @webOnly
95
+ */
96
+ get setSymbol(): Command<HasSymbol & HasGraphics>;
97
+ }
98
+ export declare class DrawingOperations extends OperationRegistry {
99
+ /**
100
+ * Creates graphics out of geometries with the current symbols that are set
101
+ * on the DrawManager.
102
+ *
103
+ * @webOnly
104
+ */
105
+ get createGraphics(): Operation<GeometryLike, CreateGraphicsResult>;
106
+ /**
107
+ * Gets the value of the default point, line, or polygon symbol for the
108
+ * provided geometry type.
109
+ *
110
+ * @webOnly
111
+ */
112
+ get getDefaultSymbol(): Operation<GetDefaultSymbolArgs | GeometryType, DrawingSymbolConfig>;
113
+ /**
114
+ * Gets the value of the default 3D point, line, or polygon symbol for the
115
+ * provided geometry type.
116
+ *
117
+ * @webOnly
118
+ */
119
+ get getDefaultSymbol3D(): Operation<GetDefaultSymbolArgs | GeometryType, DrawingSymbolConfig>;
120
+ /**
121
+ * Opens the symbol editor toolbox for the specified geometry or type.
122
+ *
123
+ * @webOnly
124
+ */
125
+ get editSymbol(): Operation<EditSymbolArgs | Symbol, EditSymbolResult>;
126
+ }
@@ -0,0 +1 @@
1
+ import{CommandRegistry}from"../CommandRegistry.js";import{OperationRegistry}from"../OperationRegistry.js";export class DrawingCommands extends CommandRegistry{get setSync(){return this._messages.command("drawing.set-sync")}get setDefaultSymbol(){return this._messages.command("drawing.set-default-symbol")}get setSymbol(){return this._messages.command("drawing.set-symbol")}}export class DrawingOperations extends OperationRegistry{get createGraphics(){return this._messages.operation("drawing.create-graphics")}get getDefaultSymbol(){return this._messages.operation("drawing.get-default-symbol")}get getDefaultSymbol3D(){return this._messages.operation("drawing.get-default-symbol-3d")}get editSymbol(){return this._messages.operation("drawing.edit-symbol")}}
@@ -0,0 +1,123 @@
1
+ import type { Attachment } from "@vertigis/arcgis-extensions/data/Attachment";
2
+ import type { Feature } from "@vertigis/arcgis-extensions/data/Feature";
3
+ import type { FeatureSource } from "@vertigis/arcgis-extensions/data/FeatureSource";
4
+ import type { Command } from "../Command.js";
5
+ import { CommandRegistry } from "../CommandRegistry.js";
6
+ import type { Event } from "../Event.js";
7
+ import { EventRegistry } from "../EventRegistry.js";
8
+ import type { MapsLike } from "../common.js";
9
+ /**
10
+ * Arguments for the "edit.add-attachment" command.
11
+ */
12
+ export interface AddAttachmentArgs {
13
+ /**
14
+ * The map.
15
+ */
16
+ maps: MapsLike;
17
+ /**
18
+ * The feature(s) to add the attachment to.
19
+ */
20
+ features: Feature[];
21
+ /**
22
+ * The name of the attachment.
23
+ */
24
+ name: string;
25
+ /**
26
+ * The MIME content type of the attachment.
27
+ */
28
+ contentType: string;
29
+ /**
30
+ * The binary data for the attachment.
31
+ */
32
+ data: number[];
33
+ }
34
+ /**
35
+ * Arguments for various attachment events.
36
+ */
37
+ export interface AttachmentEventArgs {
38
+ /**
39
+ * The feature that had an attachment added/updated/deleted.
40
+ */
41
+ feature: Feature;
42
+ /**
43
+ * The attachment that was added/updated/deleted.
44
+ */
45
+ attachment: Attachment;
46
+ }
47
+ export declare class EditCommands extends CommandRegistry {
48
+ /**
49
+ * Create and add an attachment to a provided feature, using the given
50
+ * attachment data.
51
+ *
52
+ * @mobileOnly
53
+ */
54
+ get addAttachment(): Command<AddAttachmentArgs>;
55
+ /**
56
+ * Adds a feature to a particular layer.
57
+ *
58
+ * @mobileOnly
59
+ */
60
+ get addFeature(): Command<Feature>;
61
+ /**
62
+ * Deletes the given feature or features from their feature sources.
63
+ *
64
+ * @mobileOnly
65
+ */
66
+ get deleteFeatures(): Command<Feature | Feature[]>;
67
+ /**
68
+ * Display a form for adding a feature.
69
+ *
70
+ * @mobileOnly
71
+ */
72
+ get displayAddFeature(): Command<FeatureSource>;
73
+ /**
74
+ * Display a form for updating a feature.
75
+ *
76
+ * @mobileOnly
77
+ */
78
+ get displayUpdateFeature(): Command<Feature>;
79
+ /**
80
+ * Updates a feature.
81
+ *
82
+ * @mobileOnly
83
+ */
84
+ get updateFeature(): Command<Feature>;
85
+ }
86
+ export declare class EditEvents extends EventRegistry {
87
+ /**
88
+ * Raised when an attachment is added to a feature.
89
+ *
90
+ * @mobileOnly
91
+ */
92
+ get attachmentAdded(): Event<AttachmentEventArgs>;
93
+ /**
94
+ * Raised when an attachment is updated.
95
+ *
96
+ * @mobileOnly
97
+ */
98
+ get attachmentUpdated(): Event<AttachmentEventArgs>;
99
+ /**
100
+ * Raised when an attachment is deleted from a feature.
101
+ *
102
+ * @mobileOnly
103
+ */
104
+ get attachmentDeleted(): Event<AttachmentEventArgs>;
105
+ /**
106
+ * Raised when a feature is added.
107
+ *
108
+ * @mobileOnly
109
+ */
110
+ get featureAdded(): Event<Feature>;
111
+ /**
112
+ * Raised when a feature is deleted.
113
+ *
114
+ * @mobileOnly
115
+ */
116
+ get featureDeleted(): Event<Feature>;
117
+ /**
118
+ * Raised when a feature is updated.
119
+ *
120
+ * @mobileOnly
121
+ */
122
+ get featureUpdated(): Event<Feature>;
123
+ }