@conterra/ct-mapapps-typings 4.13.0 → 4.13.2-PRE-1

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 (664) hide show
  1. package/README.md +23 -3
  2. package/agolauthn/AuthenticationPlugin.d.ts +4 -4
  3. package/agolauthn/SyncAuthnState.d.ts +4 -2
  4. package/agolauthn/module.d.ts +2 -1
  5. package/agssearch/AGSStoreFactory.d.ts +3 -3
  6. package/agssearch/AutoStoreRegistration.d.ts +1 -1
  7. package/agssearch/FilterStoreFactory.d.ts +1 -6
  8. package/agssearch/LayerStore.d.ts +9 -8
  9. package/app-portal-registration/PortalItemColumnExtender.d.ts +1 -1
  10. package/app-portal-registration/PortalItemRegistrationModel.d.ts +1 -1
  11. package/app-portal-registration/module.d.ts +5 -1
  12. package/appautorefresh/Refresher.d.ts +1 -1
  13. package/appautorefresh/module.d.ts +1 -1
  14. package/appbundlemanagement/ProductInfoService.d.ts +1 -1
  15. package/appbundlemanagement/VersionReplacerService.d.ts +1 -1
  16. package/appbundlemanagement/VersionReplacerToolClickHandler.d.ts +1 -1
  17. package/appbundlemanagement/module.d.ts +4 -1
  18. package/appbundlemanagement/wizard/ConfirmationPaneFactory.d.ts +1 -1
  19. package/appbundlemanagement/wizard/DataFormPaneFactory.d.ts +1 -1
  20. package/appbundlemanagement/wizard/ProductsPaneFactory.d.ts +1 -1
  21. package/appbundlemanagement/wizard/ReportWidget.d.ts +1 -1
  22. package/appbundlemanagement/wizard/VersionLoadPaneFactory.d.ts +1 -1
  23. package/appbundlemanagement/wizard/VersionPaneFactory.d.ts +1 -1
  24. package/appbundlemanagement/wizard/VersionReplacerView.d.ts +1 -1
  25. package/appmanagement/AppBundlesController.d.ts +1 -1
  26. package/appmanagement/AppColumnExtender.d.ts +1 -1
  27. package/appmanagement/AppDetailsController.d.ts +1 -1
  28. package/appmanagement/AppDetailsWidgetFactory.d.ts +1 -1
  29. package/appmanagement/AppFilesController.d.ts +1 -1
  30. package/appmanagement/AppViewToolRuleProcessor.d.ts +1 -1
  31. package/appmanagement/CreateAppController.d.ts +1 -1
  32. package/appmanagement/CreateTemplateController.d.ts +1 -1
  33. package/appmanagement/CustomActions.d.ts +1 -1
  34. package/appmanagement/TemplateDetailsController.d.ts +1 -1
  35. package/appmanagement/module.d.ts +11 -1
  36. package/apprt/BundleException.d.ts +1 -1
  37. package/apprt/ExecutionEnvironment.d.ts +1 -1
  38. package/apprt/I18N.d.ts +4 -4
  39. package/apprt/launch/Launcher.d.ts +1 -1
  40. package/apprt/semver.d.ts +45 -3
  41. package/apprt-binding/Bindable.d.ts +4 -3
  42. package/apprt-binding/Binding.d.ts +19 -18
  43. package/apprt-binding/PropertyAccess.d.ts +11 -10
  44. package/apprt-binding/Watchable.d.ts +2 -1
  45. package/apprt-core/Cancel.d.ts +1 -0
  46. package/apprt-core/Locale.d.ts +18 -2
  47. package/apprt-core/Logger.d.ts +23 -1
  48. package/apprt-core/Mutable.d.ts +7 -6
  49. package/apprt-core/TreeWalker.d.ts +2 -2
  50. package/apprt-core/Types.d.ts +4 -0
  51. package/apprt-core/base64.d.ts +73 -0
  52. package/apprt-core/comparators.d.ts +8 -0
  53. package/apprt-core/config-dojo.d.ts +8 -0
  54. package/apprt-core/config.d.ts +339 -23
  55. package/apprt-core/deprecate.d.ts +1 -1
  56. package/apprt-core/string-escape.d.ts +1 -0
  57. package/apprt-core/url-utils.d.ts +15 -1
  58. package/apprt-dom/geometry.d.ts +40 -0
  59. package/apprt-dom/index.d.ts +2 -1
  60. package/apprt-esri-init/CredentialStorage.d.ts +1 -1
  61. package/apprt-esri-init/IdentityRequestInterceptor.d.ts +11 -0
  62. package/apprt-esri-init/IdentityRequestProcessorRegistration.d.ts +3 -3
  63. package/apprt-esri-init/identityRequestUtils.d.ts +18 -0
  64. package/apprt-esri-init/init-config.d.ts +1 -2
  65. package/apprt-fetch/ContentType.d.ts +58 -0
  66. package/apprt-fetch/TimeoutController.d.ts +16 -0
  67. package/apprt-fetch/config.d.ts +30 -0
  68. package/apprt-fetch/fetch.d.ts +58 -0
  69. package/apprt-fetch/index.d.ts +470 -0
  70. package/apprt-fetch/origin.d.ts +26 -0
  71. package/apprt-fetch/package.json +5 -0
  72. package/apprt-request/impl/ProxyRule.d.ts +1 -1
  73. package/apprt-streams/Stream.d.ts +53 -4
  74. package/apprt-streams/StreamPiece.d.ts +0 -3
  75. package/apprt-tokens/TokenRequestInterceptor.d.ts +10 -0
  76. package/apprt-tokens/TokenServiceImpl.d.ts +4 -0
  77. package/apprt-tokens/module.d.ts +1 -0
  78. package/appsoverview/DataViewController.d.ts +1 -1
  79. package/appsoverview/module.d.ts +1 -1
  80. package/appsstore/AppStore.d.ts +1 -1
  81. package/appsstore/AppStoreService.d.ts +1 -1
  82. package/appsstore/TemplateStore.d.ts +1 -1
  83. package/appsstore/module.d.ts +4 -1
  84. package/apptemplatemanagement/CreateTemplateController.d.ts +1 -1
  85. package/apptemplatemanagement/TemplateDetailsController.d.ts +1 -1
  86. package/apptemplatemanagement/module.d.ts +2 -1
  87. package/authentication/AuthenticationInfoWidget.d.ts +1 -1
  88. package/authentication/AuthenticationInfoWidgetFactory.d.ts +1 -1
  89. package/authentication/AuthenticationPlugin.d.ts +1 -1
  90. package/authentication/AuthenticationService.d.ts +1 -1
  91. package/authentication/AuthenticationWidgetController.d.ts +1 -1
  92. package/authentication/BlockInputAction.d.ts +1 -1
  93. package/authentication/LoginStateHeartbeat.d.ts +1 -1
  94. package/authentication/LoginUI.d.ts +1 -1
  95. package/authentication/LogoutWarningInfo.d.ts +1 -1
  96. package/authentication/UsernameWidget.d.ts +1 -1
  97. package/authentication/module.d.ts +10 -1
  98. package/banner/module.d.ts +1 -1
  99. package/banner-config/DataFormBuilderWidgetFactory.d.ts +7 -2
  100. package/banner-config/module.d.ts +1 -1
  101. package/bundlemanagement/BundleDetailsController.d.ts +1 -1
  102. package/bundlemanagement/BundleStore.d.ts +2 -1
  103. package/bundlemanagement/CreateBundleController.d.ts +1 -1
  104. package/bundlemanagement/module.d.ts +5 -1
  105. package/bundletools/BundleToolController.d.ts +1 -1
  106. package/bundleupdatechecker/BundleUpdateChecker.d.ts +1 -1
  107. package/bundleupdatechecker/BundleUpdateCheckerController.d.ts +1 -1
  108. package/bundleupdatechecker/BundleVersionWidget.d.ts +1 -1
  109. package/bundleupdatechecker/UpdateCheckerWidget.d.ts +1 -1
  110. package/bundleupdatechecker/UpdateCheckerWidgetFactory.d.ts +1 -1
  111. package/bundleupdatechecker/module.d.ts +2 -1
  112. package/coordinateconversion/FormatterUtil.d.ts +2 -2
  113. package/coordinateconversion/module.d.ts +2 -1
  114. package/coordinatetransformer/CoordinateTransformer.d.ts +17 -85
  115. package/coordinatetransformer/CustomTransformation.d.ts +6 -5
  116. package/coordinatetransformer/GeometryServiceTransformerStrategy.d.ts +10 -4
  117. package/coordinatetransformer/InternalTransformerStrategy.d.ts +10 -0
  118. package/coordinatetransformer/Proj4jsTransformerStrategy.d.ts +8 -7
  119. package/coordinatetransformer/ProjectionEngineTransformerStrategy.d.ts +10 -6
  120. package/coordinatetransformer/ProjectionStoreFactory.d.ts +7 -43
  121. package/coordinatetransformer/SRSDefinitions.d.ts +15 -10
  122. package/coordinatetransformer/SRSParser.d.ts +6 -4
  123. package/coordinatetransformer/Transformer.d.ts +28 -14
  124. package/coordinatetransformer/api/CoordinateTransformer.d.ts +128 -0
  125. package/coordinatetransformer/api/ProjectionStore.d.ts +47 -0
  126. package/coordinatetransformer/api/TransformationProvider.d.ts +40 -31
  127. package/coordinatetransformer/api/TransformerStrategy.d.ts +28 -20
  128. package/coordinatetransformer/api/index.d.ts +4 -0
  129. package/coordinatetransformer/cloneGeometry.d.ts +8 -6
  130. package/coordinatetransformer/module.d.ts +3 -1
  131. package/coordinateviewer/CoordinateViewerWidgetModel.d.ts +1 -1
  132. package/coordinateviewer/module.d.ts +2 -1
  133. package/ct/DeferredWatcher.d.ts +1 -1
  134. package/ct/Filter.d.ts +1 -1
  135. package/ct/Hash.d.ts +1 -1
  136. package/ct/I18N.d.ts +1 -1
  137. package/ct/Sequence.d.ts +1 -1
  138. package/ct/Stateful.d.ts +1 -1
  139. package/ct/_Comparable.d.ts +1 -1
  140. package/ct/_Connect.d.ts +1 -1
  141. package/ct/_Equals.d.ts +1 -1
  142. package/ct/api/coordinatetransformer/CoordinateTransformer.d.ts +1 -1
  143. package/ct/api/featureinfo/FeatureInfoHandler.d.ts +1 -1
  144. package/ct/api/featureinfo/ReverseGeocoderHandler.d.ts +1 -1
  145. package/ct/api/geocoder/ReverseGeocoder.d.ts +1 -1
  146. package/ct/api/geolocator/GeolocationHandler.d.ts +1 -1
  147. package/ct/api/notifier/NotifierUI.d.ts +1 -1
  148. package/ct/api/omnisearch/ResultHandler.d.ts +1 -1
  149. package/ct/api/omnisearch/Store.d.ts +1 -1
  150. package/ct/api/system/context/ContextListener.d.ts +1 -1
  151. package/ct/api/system/log/LogEntry.d.ts +1 -1
  152. package/ct/api/system/log/LogListener.d.ts +1 -1
  153. package/ct/api/system/log/LogReaderService.d.ts +1 -1
  154. package/ct/api/system/log/LogService.d.ts +1 -1
  155. package/ct/main.d.ts +1 -1
  156. package/ct/stacktrace.d.ts +1 -1
  157. package/ct/store/ComplexMemory.d.ts +1 -1
  158. package/ct/store/ComplexQuery.d.ts +1 -1
  159. package/ct/store/ComplexQueryEngine.d.ts +1 -1
  160. package/ct/store/ComplexQueryToRQL.d.ts +2 -2
  161. package/ct/store/ComplexQueryToSQL.d.ts +3 -3
  162. package/ct/store/ComplexQueryToSolrQL.d.ts +4 -4
  163. package/ct/store/CompositeStore.d.ts +1 -1
  164. package/ct/store/NamedQueries.d.ts +1 -1
  165. package/ct/store/RQLStore.d.ts +1 -1
  166. package/ct/store/SQLStore.d.ts +1 -1
  167. package/ct/store/SpatialQuery.d.ts +1 -1
  168. package/ct/store/StoreUtil.d.ts +4 -4
  169. package/ct/store/_RestStore.d.ts +1 -1
  170. package/ct/tools/Tool.d.ts +1 -1
  171. package/ct/tools/ToolButton.d.ts +1 -1
  172. package/ct/tools/ToolButtonFactory.d.ts +1 -1
  173. package/ct/tools/ToolContainer.d.ts +1 -1
  174. package/ct/tools/ToolMenu.d.ts +1 -1
  175. package/ct/tools/ToolMenuBar.d.ts +1 -1
  176. package/ct/tools/ToolMenuBarItem.d.ts +1 -1
  177. package/ct/tools/ToolMenuItem.d.ts +1 -1
  178. package/ct/tools/ToolReference.d.ts +1 -1
  179. package/ct/tools/ToolResolver.d.ts +1 -1
  180. package/ct/tools/ToolWidgetProxy.d.ts +1 -1
  181. package/ct/tools/_CheckedMenuItemMixin.d.ts +1 -1
  182. package/ct/tools/_ToolContainerMixin.d.ts +1 -1
  183. package/ct/tools/_ToolWidgetMixin.d.ts +1 -1
  184. package/ct/ui/_BundleI18nMixin.d.ts +1 -1
  185. package/ct/ui/controls/LoadingIndicator.d.ts +1 -1
  186. package/ct/ui/controls/MessagePane.d.ts +1 -1
  187. package/ct/ui/controls/OKCancelDialog.d.ts +1 -1
  188. package/ct/ui/controls/OKCancelPane.d.ts +1 -1
  189. package/ct/ui/controls/Pager.d.ts +1 -1
  190. package/ct/ui/controls/Wizard.d.ts +1 -1
  191. package/ct/ui/controls/_ManagedChildrenMixin.d.ts +1 -1
  192. package/ct/ui/controls/dataview/DataView.d.ts +1 -1
  193. package/ct/ui/controls/dataview/DataViewController.d.ts +1 -1
  194. package/ct/ui/controls/dataview/DataViewModel.d.ts +1 -1
  195. package/ct/ui/controls/dataview/toolsColumn.d.ts +1 -1
  196. package/ct/ui/controls/forms/AddTextBox.d.ts +1 -1
  197. package/ct/ui/controls/forms/AutoResizeTextBox.d.ts +1 -1
  198. package/ct/ui/controls/forms/DropDownColorSelector.d.ts +1 -1
  199. package/ct/ui/controls/forms/Editor.d.ts +1 -1
  200. package/ct/ui/controls/forms/PeriodicDateTextBox.d.ts +1 -1
  201. package/ct/ui/controls/forms/ScopedFilter.d.ts +1 -1
  202. package/ct/ui/controls/forms/SearchBox.d.ts +1 -1
  203. package/ct/ui/controls/forms/ShrinkingDropDown.d.ts +1 -1
  204. package/ct/ui/controls/forms/TransparencySlider.d.ts +1 -1
  205. package/ct/ui/controls/mobile/ComboBox.d.ts +1 -1
  206. package/ct/ui/controls/mobile/Drawer.d.ts +1 -1
  207. package/ct/ui/controls/mobile/DropDownMenu.d.ts +1 -1
  208. package/ct/ui/desktop/CollapseGrid.d.ts +1 -1
  209. package/ct/ui/desktop/IFrameContent.d.ts +1 -1
  210. package/ct/ui/desktop/ModalBlocker.d.ts +1 -1
  211. package/ct/ui/desktop/ResizeGrid.d.ts +1 -1
  212. package/ct/ui/desktop/WindowBase.d.ts +1 -1
  213. package/ct/ui/desktop/ZIndexStack.d.ts +1 -1
  214. package/ct/ui/desktop/_FadeInOutMixin.d.ts +1 -1
  215. package/ct/ui/desktop/util.d.ts +7 -1
  216. package/ct/ui/dnd/Avatar.d.ts +1 -1
  217. package/ct/ui/dnd/Container.d.ts +1 -1
  218. package/ct/ui/dnd/ContainerWidgetFactory.d.ts +1 -1
  219. package/ct/ui/dnd/GridContainer.d.ts +1 -1
  220. package/ct/ui/dnd/GridContainerWidget.d.ts +1 -1
  221. package/ct/ui/dnd/Moveable.d.ts +1 -1
  222. package/ct/ui/template/OverlayContainer.d.ts +1 -1
  223. package/ct/ui/toggle/ToggleButtonGroup.d.ts +1 -1
  224. package/ct/util/BinarySortedArray.d.ts +1 -1
  225. package/ct/util/BinarySortedModel.d.ts +1 -1
  226. package/ct/util/LocalStorage.d.ts +1 -1
  227. package/ct/util/Redirect.d.ts +1 -1
  228. package/ct/util/SelectableBinarySortedModel.d.ts +1 -1
  229. package/ct/util/TypeFormat.d.ts +15 -5
  230. package/ct/util/css.d.ts +2 -3
  231. package/ct/util/locate/Geolocation.d.ts +1 -1
  232. package/ct/util/tree/ContainerNode.d.ts +1 -1
  233. package/ct/util/tree/Node.d.ts +1 -1
  234. package/ct/util/tree/NodeVisitorChain.d.ts +1 -1
  235. package/custominfo/CustomInfo.d.ts +1 -1
  236. package/custominfo/CustomInfoController.d.ts +16 -2
  237. package/custominfo/module.d.ts +1 -1
  238. package/custominfo-config/CustomInfoBuilder.d.ts +1 -1
  239. package/custominfo-config/CustomInfoBuilderWidget.d.ts +1 -1
  240. package/custominfo-config/CustomInfoWizardWidget.d.ts +1 -1
  241. package/custominfo-config/module.d.ts +1 -1
  242. package/dataform/AsyncJsonFormBuilder.d.ts +1 -1
  243. package/dataform/DataForm.d.ts +1 -1
  244. package/dataform/DataFormService.d.ts +1 -1
  245. package/dataform/JsonFormBuilder.d.ts +1 -1
  246. package/dataform/JsonFormBuilderResolver.d.ts +1 -1
  247. package/dataform/ObjectBinding.d.ts +9 -2
  248. package/dataform/ObjectBindingResolver.d.ts +9 -2
  249. package/dataform/StatefulBinding.d.ts +14 -2
  250. package/dataform/controls/AccordionPanel.d.ts +1 -1
  251. package/dataform/controls/BorderPanel.d.ts +1 -1
  252. package/dataform/controls/Button.d.ts +1 -1
  253. package/dataform/controls/CheckBox.d.ts +1 -1
  254. package/dataform/controls/ColorPicker.d.ts +1 -1
  255. package/dataform/controls/ComboBox.d.ts +1 -1
  256. package/dataform/controls/DateTextBox.d.ts +1 -1
  257. package/dataform/controls/FormControls.d.ts +1 -1
  258. package/dataform/controls/GridLayoutPanel.d.ts +1 -1
  259. package/dataform/controls/GridPanel.d.ts +1 -1
  260. package/dataform/controls/Image.d.ts +1 -1
  261. package/dataform/controls/Label.d.ts +1 -1
  262. package/dataform/controls/NumberSpinner.d.ts +1 -1
  263. package/dataform/controls/NumberTextBox.d.ts +1 -1
  264. package/dataform/controls/Panel.d.ts +1 -1
  265. package/dataform/controls/RadioButton.d.ts +1 -1
  266. package/dataform/controls/SelectBox.d.ts +1 -1
  267. package/dataform/controls/Slider.d.ts +1 -1
  268. package/dataform/controls/StackPanel.d.ts +1 -1
  269. package/dataform/controls/Switch.d.ts +1 -1
  270. package/dataform/controls/TabPanel.d.ts +1 -1
  271. package/dataform/controls/TablePanel.d.ts +1 -1
  272. package/dataform/controls/TextBox.d.ts +1 -1
  273. package/dataform/controls/Textarea.d.ts +1 -1
  274. package/dataform/controls/TimeTextBox.d.ts +1 -1
  275. package/dataform/controls/ToggleButton.d.ts +1 -1
  276. package/dataform/controls/Uploader.d.ts +1 -1
  277. package/dataform/controls/ValidationIcon.d.ts +1 -1
  278. package/dataform/controls/WizardPanel.d.ts +1 -1
  279. package/dataform/controls/_Control.d.ts +1 -1
  280. package/dataform/controls/_NumberConstraintsMixin.d.ts +1 -1
  281. package/dataform/controls/_StackContainerMixin.d.ts +1 -1
  282. package/dataform/module.d.ts +4 -1
  283. package/dataview/DGridColumnPluginMixin.d.ts +1 -1
  284. package/dataview/DGridViewPlugin.d.ts +1 -1
  285. package/dataview/DataView.d.ts +1 -1
  286. package/dataview/DataViewBase.d.ts +1 -1
  287. package/dataview/DataViewController.d.ts +1 -1
  288. package/dataview/DataViewModel.d.ts +1 -1
  289. package/dataview/IconViewPlugin.d.ts +1 -1
  290. package/dataview/Pager.d.ts +1 -1
  291. package/dataview/_DGridView.d.ts +1 -1
  292. package/dataview/_IconView.d.ts +1 -1
  293. package/dataview/_ViewBase.d.ts +1 -1
  294. package/editing/module.d.ts +1 -1
  295. package/fileappsstore/FileAppStore.d.ts +1 -1
  296. package/fileappsstore/module.d.ts +1 -1
  297. package/filesaver/FileSaver.d.ts +5 -2
  298. package/filesaver/lib/FileSaver.d.ts +1 -5
  299. package/filesaver/module.d.ts +1 -1
  300. package/geojson/Transformer.d.ts +54 -2
  301. package/geojson/module.d.ts +1 -1
  302. package/geometryservice/GeometryService.d.ts +1 -1
  303. package/highlights/api.d.ts +3 -5
  304. package/integration-map/IntegrationExtensionImpl.d.ts +6 -5
  305. package/integration-map/api.d.ts +3 -3
  306. package/locateme/LocateMeModel.d.ts +2 -2
  307. package/locateme/module.d.ts +3 -1
  308. package/locateme-gpsgate/module.d.ts +1 -1
  309. package/locator-store/MetadataProvider.d.ts +2 -2
  310. package/locator-store/module.d.ts +1 -1
  311. package/managementlayout/module.d.ts +1 -1
  312. package/managementlayout/template/template.d.ts +1 -1
  313. package/manager-monaco/EditorControlFactory.d.ts +1 -0
  314. package/manager-monaco/EditorWidget.d.ts +1 -0
  315. package/manager-monaco/plugins/{BundleValidationPlugin.d.ts → AppValidationPlugin.d.ts} +4 -3
  316. package/manager-monaco/plugins/BundleInfoHoverPlugin.d.ts +5 -5
  317. package/manager-monaco/plugins/BundleRepository.d.ts +7 -12
  318. package/manager-monaco/plugins/Registry.d.ts +25 -23
  319. package/map-actions/HighlightAction.d.ts +1 -1
  320. package/map-actions/OpenPopupAction.d.ts +2 -1
  321. package/map-actions/ZoomToAction.d.ts +2 -1
  322. package/map-actions/api.d.ts +16 -6
  323. package/map-basemaps-api/BasemapItem.d.ts +1 -1
  324. package/map-basemaps-api/BasemapsModel.d.ts +1 -1
  325. package/map-config-api/BasemapConfigParser.d.ts +27 -10
  326. package/map-init-config/MapContentBuilderWidget.d.ts +1 -1
  327. package/map-init-config/module.d.ts +4 -1
  328. package/map-widget/BasemapsParameterResolver.d.ts +9 -11
  329. package/map-widget/BlockedLayersRemover.d.ts +7 -3
  330. package/map-widget/Constraints.d.ts +16 -20
  331. package/map-widget/LODSynchronizer.d.ts +9 -4
  332. package/map-widget/LayerObserver.d.ts +39 -12
  333. package/map-widget/LayerTraverser.d.ts +28 -3
  334. package/map-widget/LayerVisibilityToolRuleProcessor.d.ts +8 -3
  335. package/map-widget/LayersParameterResolver.d.ts +10 -10
  336. package/map-widget/LayersParameterSyntax.d.ts +7 -2
  337. package/map-widget/MapEventBroadcaster.d.ts +7 -3
  338. package/map-widget/MapLoadingInfoWidget.d.ts +3 -2
  339. package/map-widget/MapWidget.d.ts +1 -2
  340. package/map-widget/MapWidgetFactory.d.ts +9 -11
  341. package/map-widget/MapWidgetModel.d.ts +54 -11
  342. package/map-widget/MapWidgetRegistration.d.ts +11 -46
  343. package/map-widget/Navigation.d.ts +6 -9
  344. package/map-widget/OfflineBasemapDefinitionFilter.d.ts +1 -2
  345. package/map-widget/ScaleToolRuleProcessor.d.ts +8 -3
  346. package/map-widget/SrsChangeService.d.ts +10 -29
  347. package/map-widget/SubLayersInfo.d.ts +47 -4
  348. package/map-widget/ViewModeToolRuleProcessor.d.ts +6 -4
  349. package/map-widget/ViewParameterResolver.d.ts +11 -6
  350. package/map-widget/ViewProvider.d.ts +22 -6
  351. package/map-widget/ViewReadyWatcher.d.ts +12 -6
  352. package/map-widget/WebMapLoadingVerification.d.ts +5 -3
  353. package/map-widget/api/Constraints.d.ts +109 -0
  354. package/map-widget/api/MapWidget.d.ts +9 -0
  355. package/map-widget/api/MapWidgetFactory.d.ts +37 -0
  356. package/map-widget/api/MapWidgetModel.d.ts +203 -0
  357. package/map-widget/api/MapWidgetRegistration.d.ts +51 -0
  358. package/map-widget/api/Navigation.d.ts +17 -0
  359. package/map-widget/api/SrsChangeService.d.ts +29 -0
  360. package/map-widget/api/index.d.ts +7 -0
  361. package/map-widget/module.d.ts +14 -12
  362. package/mapdraw-api/DefaultMapDrawing.d.ts +2 -1
  363. package/mapdraw-api/DrawAction.d.ts +1 -1
  364. package/mapdraw-api/Drawing.d.ts +1 -1
  365. package/mapnavigation/HistoryImpl.d.ts +2 -1
  366. package/mapnavigation/module.d.ts +0 -1
  367. package/maptips/MapViewChangeWatcher.d.ts +2 -1
  368. package/maptips/TipConfig.d.ts +1 -1
  369. package/measurement-2d/module.d.ts +2 -1
  370. package/measurement-3d/module.d.ts +1 -1
  371. package/native-app-exporter/module.d.ts +4 -1
  372. package/notifier/NotifierUI.d.ts +1 -1
  373. package/omnisearch/DropDownMenu.d.ts +1 -1
  374. package/omnisearch/OmniSearchFactory.d.ts +1 -1
  375. package/omnisearch/OmniSearchModel.d.ts +1 -1
  376. package/omnisearch/RadioButton.d.ts +1 -1
  377. package/omnisearch/SearchUI.d.ts +1 -1
  378. package/omnisearch/SettingsWidget.d.ts +1 -1
  379. package/omnisearch/module.d.ts +9 -1
  380. package/omnisearch-portalitem/module.d.ts +1 -1
  381. package/package.json +1 -1
  382. package/parametermanager/api.d.ts +4 -2
  383. package/parametersearch/Config.d.ts +2 -1
  384. package/parametersearch/SearchTrigger.d.ts +1 -1
  385. package/popups/LayerPopupTemplateCustomizer.d.ts +1 -1
  386. package/popups/PopupConfig.d.ts +1 -1
  387. package/popups/PopupCustomizationsResolver.d.ts +9 -9
  388. package/popups/PopupInterceptor.d.ts +2 -2
  389. package/popups/StorePopupTemplateCustomizer.d.ts +1 -1
  390. package/popups/TypedFactoryIndex.d.ts +2 -2
  391. package/popups/arc/ActionFactory.d.ts +2 -2
  392. package/popups/arc/PopupDefinitionFactory.d.ts +3 -3
  393. package/portal-app-security/CheckAccess.d.ts +4 -0
  394. package/portal-item-service/PortalItemService.d.ts +3 -3
  395. package/portal-item-service/module.d.ts +1 -1
  396. package/portal-search/PortalStoreFactory.d.ts +1 -1
  397. package/portal-search/module.d.ts +2 -1
  398. package/portal-security/module.d.ts +1 -1
  399. package/portal-security-config/module.d.ts +1 -1
  400. package/portal-token-conversion/module.d.ts +1 -1
  401. package/portal-webitem-map/module.d.ts +2 -1
  402. package/portal-webitem-map-config/AGOLStore.d.ts +18 -2
  403. package/portal-webitem-map-config/module.d.ts +3 -1
  404. package/portal-webscene-slides/module.d.ts +7 -1
  405. package/printing/module.d.ts +1 -1
  406. package/reportmanagement/module.d.ts +3 -1
  407. package/reportstore/ReportStore.d.ts +1 -1
  408. package/reportstore/module.d.ts +1 -1
  409. package/reporttool/module.d.ts +5 -1
  410. package/result-api/AbstractTableModel.d.ts +55 -0
  411. package/result-api/OpenResultsServiceImpl.d.ts +3 -3
  412. package/result-api/ResultModelFactoryImpl.d.ts +5 -0
  413. package/result-api/ResultModelImpl.d.ts +22 -0
  414. package/result-api/SelectionEventHandler.d.ts +8 -0
  415. package/result-api/StoreBackedTableModel.d.ts +32 -0
  416. package/result-api/TableActionResolverImpl.d.ts +23 -0
  417. package/result-api/actions/CsvConverter.d.ts +18 -0
  418. package/result-api/actions/ExportCsvAction.d.ts +15 -0
  419. package/result-api/actions/ZoomToItemAction.d.ts +14 -0
  420. package/result-api/actions/ZoomToSelectedAction.d.ts +13 -0
  421. package/result-api/api/actions.d.ts +209 -0
  422. package/result-api/api/{all.d.ts → index.d.ts} +1 -0
  423. package/result-api/api/model.d.ts +181 -60
  424. package/result-api/api/service.d.ts +24 -5
  425. package/result-api/api/ui.d.ts +2 -3
  426. package/result-api/module.d.ts +6 -0
  427. package/result-ui/CellRenderer.d.ts +27 -0
  428. package/result-ui/ConditionalTooltip.d.ts +19 -0
  429. package/result-ui/RecordVisualizer.d.ts +50 -0
  430. package/result-ui/ResultUIFactory.d.ts +13 -1
  431. package/result-ui/ResultUIImpl.d.ts +23 -0
  432. package/result-ui/Store.d.ts +157 -0
  433. package/result-ui/TableStateToolRuleProcessor.d.ts +17 -0
  434. package/result-ui/VisualizationLayerResolver.d.ts +14 -0
  435. package/result-ui/formatting.d.ts +9 -0
  436. package/result-ui/module.d.ts +3 -3
  437. package/result-ui/types.d.ts +6 -29
  438. package/resultcenter/ActionController.d.ts +1 -1
  439. package/resultcenter/BaseCommand.d.ts +1 -1
  440. package/resultcenter/DataModel.d.ts +1 -1
  441. package/resultcenter/DataModelBroadcaster.d.ts +1 -1
  442. package/resultcenter/DataViewController.d.ts +1 -1
  443. package/resultcenter/ExportResultsCommand.d.ts +1 -1
  444. package/resultcenter/PostfixAttributeTableLookupStrategy.d.ts +1 -1
  445. package/resultcenter/RemoveResultsCommand.d.ts +4 -2
  446. package/resultcenter/ResultcenterToolRuleProcessor.d.ts +1 -1
  447. package/resultcenter/StoreEventReceiver.d.ts +1 -1
  448. package/resultcenter/StoreRegistration.d.ts +1 -1
  449. package/resultcenter/TriggerShowResultCenter.d.ts +1 -1
  450. package/resultcenter/VisualizationLayerResolver.d.ts +4 -1
  451. package/resultcenter/module.d.ts +18 -1
  452. package/scalebar/module.d.ts +1 -1
  453. package/search-api/SearchServiceImpl.d.ts +8 -1
  454. package/search-api/StoreFacade.d.ts +3 -5
  455. package/search-ui/HighlightedString.d.ts +2 -2
  456. package/search-ui/SearchController.d.ts +2 -2
  457. package/search-ui/module.d.ts +0 -1
  458. package/selection-resultcenter/CachingStore.d.ts +3 -4
  459. package/selection-resultcenter/ExecutionsController.d.ts +2 -2
  460. package/selection-resultcenter/ExecutionsModel.d.ts +1 -1
  461. package/selection-resultcenter/MemoryStore.d.ts +1 -1
  462. package/selection-resultcenter/module.d.ts +5 -1
  463. package/selection-services/DrawingSpatialInputAction.d.ts +1 -1
  464. package/selection-services/SearchSource.d.ts +2 -1
  465. package/selection-services/SearchSourceModel.d.ts +1 -1
  466. package/selection-services/SpatialInputAction.d.ts +1 -1
  467. package/selection-services/SpatialInputActionService.d.ts +1 -1
  468. package/selection-services/module.d.ts +5 -1
  469. package/selection-tools/ToolCommand.d.ts +2 -1
  470. package/selection-tools/ToolItem.d.ts +7 -7
  471. package/selection-tools/ToolRegistry.d.ts +1 -1
  472. package/selection-tools/ToolRegistryTracker.d.ts +1 -1
  473. package/selection-tools/module.d.ts +3 -1
  474. package/selection-ui/module.d.ts +1 -1
  475. package/selection-ui-config/module.d.ts +1 -1
  476. package/share-link-shim/WebShareUI.d.ts +1 -1
  477. package/sketching/Sketching.d.ts +1 -1
  478. package/sketching/module.d.ts +1 -1
  479. package/store-api/QueryExecution.d.ts +1 -1
  480. package/store-api/QueryExecutions.d.ts +1 -1
  481. package/store-api/api/Store.d.ts +8 -1
  482. package/store-api/rest/BaseRestStore.d.ts +5 -0
  483. package/style-guide/style-guide-layout/template.d.ts +2 -2
  484. package/system/component/ComponentConstants.d.ts +1 -1
  485. package/system/component/ComponentException.d.ts +1 -1
  486. package/system/config/Configuration.d.ts +1 -1
  487. package/system/config/ConfigurationAdmin.d.ts +1 -1
  488. package/system/config/ConfigurationException.d.ts +1 -1
  489. package/system/config/ConfigurationPlugin.d.ts +84 -2
  490. package/system/config/ConfigurationStore.d.ts +23 -2
  491. package/system/config/DefaultPersistencePlugin.d.ts +1 -1
  492. package/system/config/JSONConfigurationAdapter.d.ts +36 -2
  493. package/system/config/ManagedService.d.ts +113 -2
  494. package/system/config/ManagedServiceFactory.d.ts +1 -1
  495. package/system/user/User.d.ts +1 -1
  496. package/system/user/UserEventRebroadcaster.d.ts +1 -1
  497. package/template-appsoverview/template.d.ts +2 -2
  498. package/template-seasons/seasons.d.ts +3 -3
  499. package/templatelayout/AppRootSizeController.d.ts +10 -2
  500. package/templatelayout/DefaultLayoutBreakPoints.d.ts +1 -1
  501. package/templatelayout/DojoClickPatch.d.ts +1 -1
  502. package/templatelayout/LayoutState.d.ts +1 -1
  503. package/templatelayout/LayoutTemplateToolRuleProcessor.d.ts +14 -2
  504. package/templatelayout/WidgetDefinitions.d.ts +1 -1
  505. package/templatelayout-dijit/TemplateRenderer.d.ts +1 -1
  506. package/templatelayout-dijit/TemplateWidget.d.ts +1 -1
  507. package/templates/Template.d.ts +1 -1
  508. package/templates/TemplateEventBroadCaster.d.ts +1 -1
  509. package/templates/TemplateModel.d.ts +1 -1
  510. package/templates/TemplateSelector.d.ts +1 -1
  511. package/test-utils/later.d.ts +39 -0
  512. package/test-utils/waitForProperty.d.ts +27 -0
  513. package/theme-tester/test-layout/test-layout.d.ts +2 -2
  514. package/themes/Theme.d.ts +1 -1
  515. package/themes/ThemeBundleListener.d.ts +1 -1
  516. package/themes/ThemeEventBroadCaster.d.ts +1 -1
  517. package/themes/ThemeModel.d.ts +1 -1
  518. package/themes/ThemeSelector.d.ts +1 -1
  519. package/themes/ThemeStyleWriter.d.ts +1 -1
  520. package/themes/popup.d.ts +1 -1
  521. package/toc/ActionResolver.d.ts +1 -1
  522. package/toc/BaseTocItemFactory.d.ts +2 -1
  523. package/toc/StateCheckExecutor.d.ts +1 -1
  524. package/toc/model/TocItem.d.ts +3 -1
  525. package/toolrules/StoreToolRuleProcessor.d.ts +11 -2
  526. package/toolrules/ToolActiveStateManager.d.ts +42 -2
  527. package/toolrules/ToolEventRebroadcaster.d.ts +14 -2
  528. package/toolrules/ToolRuleContext.d.ts +18 -2
  529. package/toolrules/ToolRuleManager.d.ts +36 -2
  530. package/toolrules/ToolStateEventListener.d.ts +23 -2
  531. package/toolrules/UserInRoleToolRuleProcessor.d.ts +16 -2
  532. package/toolset/Drawer.d.ts +1 -1
  533. package/toolset/ToolsetManager.d.ts +1 -1
  534. package/toolset/ToolsetWindow.d.ts +1 -1
  535. package/toolset-config/ToolsetBuilderWidget.d.ts +1 -1
  536. package/toolset-config/ToolsetBuilderWidgetFactory.d.ts +1 -1
  537. package/viewmodeswitcher/module.d.ts +1 -1
  538. package/vuetify-component-overview/component-overview-layout/template.d.ts +2 -2
  539. package/windowmanager/WindowDnDContainer.d.ts +1 -1
  540. package/windowmanager/WindowDockingBar.d.ts +1 -1
  541. package/windowmanager/WindowDockingBarButton.d.ts +1 -1
  542. package/windowmanager/WindowManager.d.ts +1 -1
  543. package/windowmanager/WindowManagerFactory.d.ts +1 -1
  544. package/windowmanager/WindowReference.d.ts +1 -1
  545. package/windowmanager/WindowToolFactory.d.ts +1 -1
  546. package/wizard/CategoryList.d.ts +1 -1
  547. package/wizard/DataFormBuilderWidget.d.ts +1 -1
  548. package/wizard/DataFormBuilderWidgetFactory.d.ts +1 -1
  549. package/wizard/Menu.d.ts +1 -1
  550. package/wizard/MenuContent.d.ts +1 -1
  551. package/wizard/MenuController.d.ts +1 -1
  552. package/wizard/SaveAction.d.ts +1 -1
  553. package/wizard/ToolsDataFormWidgetFactory.d.ts +1 -1
  554. package/wizard/_BuilderWidget.d.ts +1 -1
  555. package/wizard/_Configurable.d.ts +1 -1
  556. package/wizard/module.d.ts +11 -1
  557. package/agssearch-config/main.d.ts +0 -1
  558. package/agssearch-config/package.json +0 -5
  559. package/app-portal-registration/main.d.ts +0 -1
  560. package/app-portal-registration/package.json +0 -5
  561. package/appbundlemanagement/main.d.ts +0 -1
  562. package/appbundlemanagement/package.json +0 -5
  563. package/appmanagement/main.d.ts +0 -1
  564. package/appmanagement/package.json +0 -5
  565. package/apprt-request/dconfig.d.ts +0 -2
  566. package/appsoverview/main.d.ts +0 -1
  567. package/appsoverview/package.json +0 -5
  568. package/appsstore/main.d.ts +0 -1
  569. package/appsstore/package.json +0 -5
  570. package/apptemplatemanagement/main.d.ts +0 -1
  571. package/apptemplatemanagement/package.json +0 -5
  572. package/authentication/main.d.ts +0 -1
  573. package/authentication/package.json +0 -5
  574. package/banner-config/main.d.ts +0 -1
  575. package/banner-config/package.json +0 -5
  576. package/bundlemanagement/main.d.ts +0 -1
  577. package/bundlemanagement/package.json +0 -5
  578. package/bundletools/main.d.ts +0 -1
  579. package/bundletools/package.json +0 -5
  580. package/bundleupdatechecker/main.d.ts +0 -1
  581. package/bundleupdatechecker/package.json +0 -5
  582. package/console/main.d.ts +0 -1
  583. package/console/package.json +0 -5
  584. package/coordinateconversion/main.d.ts +0 -1
  585. package/coordinateconversion-config/main.d.ts +0 -1
  586. package/coordinatetransformer/main.d.ts +0 -1
  587. package/coordinatetransformer/package.json +0 -5
  588. package/coordinateviewer/main.d.ts +0 -1
  589. package/coordinateviewer-config/main.d.ts +0 -1
  590. package/custominfo-config/main.d.ts +0 -1
  591. package/custominfo-config/package.json +0 -5
  592. package/editing/main.d.ts +0 -1
  593. package/editing-config/main.d.ts +0 -1
  594. package/graphics/module.d.ts +0 -1
  595. package/locateme/main.d.ts +0 -1
  596. package/locateme/package.json +0 -5
  597. package/locateme-config/main.d.ts +0 -1
  598. package/locateme-config/package.json +0 -5
  599. package/locator-store/main.d.ts +0 -1
  600. package/locator-store/package.json +0 -5
  601. package/locator-store-config/main.d.ts +0 -1
  602. package/locator-store-config/package.json +0 -5
  603. package/manager-monaco/plugins/ExcludeFromSuggest.d.ts +0 -5
  604. package/map-init-config/main.d.ts +0 -1
  605. package/map-init-config/package.json +0 -5
  606. package/measurement-2d/main.d.ts +0 -1
  607. package/measurement-2d-config/main.d.ts +0 -1
  608. package/measurement-3d/main.d.ts +0 -1
  609. package/measurement-3d-config/main.d.ts +0 -1
  610. package/native-app-exporter/main.d.ts +0 -1
  611. package/native-app-exporter/package.json +0 -5
  612. package/omnisearch/main.d.ts +0 -1
  613. package/omnisearch/package.json +0 -5
  614. package/omnisearch-config/main.d.ts +0 -1
  615. package/omnisearch-config/package.json +0 -5
  616. package/portal-search/main.d.ts +0 -1
  617. package/portal-search/package.json +0 -5
  618. package/portal-security-config/main.d.ts +0 -1
  619. package/portal-security-config/package.json +0 -5
  620. package/portal-webitem-map/main.d.ts +0 -1
  621. package/portal-webitem-map-config/main.d.ts +0 -1
  622. package/portal-webitem-map-config/package.json +0 -5
  623. package/portal-webscene-slides/main.d.ts +0 -1
  624. package/portal-webscene-slides/package.json +0 -5
  625. package/printing/main.d.ts +0 -1
  626. package/printing-config/main.d.ts +0 -1
  627. package/printing-config/package.json +0 -5
  628. package/reportmanagement/main.d.ts +0 -1
  629. package/reportmanagement/package.json +0 -5
  630. package/reporttool/main.d.ts +0 -1
  631. package/result-ui/ResultUIController.d.ts +0 -8
  632. package/result-ui/SelectionBridge.d.ts +0 -6
  633. package/resultcenter/main.d.ts +0 -1
  634. package/resultcenter/package.json +0 -5
  635. package/scalebar/main.d.ts +0 -1
  636. package/scalebar-config/main.d.ts +0 -1
  637. package/scalebar-config/package.json +0 -5
  638. package/selection-resultcenter/main.d.ts +0 -1
  639. package/selection-resultcenter/package.json +0 -5
  640. package/selection-services/main.d.ts +0 -1
  641. package/selection-tools/main.d.ts +0 -1
  642. package/selection-ui/main.d.ts +0 -1
  643. package/selection-ui-config/main.d.ts +0 -1
  644. package/selection-ui-config/package.json +0 -5
  645. package/sketching/main.d.ts +0 -1
  646. package/sketching/package.json +0 -5
  647. package/sketching-config/main.d.ts +0 -1
  648. package/template-appsoverview/module.d.ts +0 -1
  649. package/template-seasons/module.d.ts +0 -1
  650. package/templates/main.d.ts +0 -1
  651. package/templates/package.json +0 -5
  652. package/templates-config/main.d.ts +0 -1
  653. package/templates-config/package.json +0 -5
  654. package/themes/main.d.ts +0 -1
  655. package/themes/package.json +0 -5
  656. package/themes-config/main.d.ts +0 -1
  657. package/themes-config/package.json +0 -5
  658. package/toolset-config/main.d.ts +0 -1
  659. package/toolset-config/package.json +0 -5
  660. package/viewmodeswitcher/main.d.ts +0 -1
  661. package/windowmanager/main.d.ts +0 -1
  662. package/windowmanager/package.json +0 -5
  663. package/wizard/main.d.ts +0 -1
  664. package/wizard/package.json +0 -5
@@ -2,8 +2,9 @@
2
2
  * Represents a locale.
3
3
  */
4
4
  export declare class Locale {
5
- private lang;
6
- private country;
5
+ #private;
6
+ private get lang();
7
+ private get country();
7
8
  /**
8
9
  * Creates a Locale
9
10
  *
@@ -33,5 +34,20 @@ export declare class Locale {
33
34
  * @returns The country code.
34
35
  */
35
36
  getCountry(): string;
37
+ /**
38
+ * Checks if country is present.
39
+ * @returns true if country has non empty value.
40
+ */
41
+ hasCountry(): boolean;
42
+ /**
43
+ * The locale string.
44
+ * @returns e.g. de-DE or de if no country is present.
45
+ */
46
+ getLocaleString(): string;
47
+ /**
48
+ * Creates a Intl.Locale instance.
49
+ * @returns Intl.Locale
50
+ */
51
+ getIntlLocale(): Intl.Locale;
36
52
  }
37
53
  export default Locale;
@@ -112,6 +112,11 @@ export interface Logger {
112
112
  * @param args arguments filled into the placeholder or directly logged.
113
113
  */
114
114
  warn(msg: string, ...args: any[]): void;
115
+ /**
116
+ * Convenience method to log an error (without an additional message) as a warning.
117
+ * @param error the error to log
118
+ */
119
+ warn(error: Error): void;
115
120
  /**
116
121
  * Log a message at level ERROR.
117
122
  *
@@ -121,6 +126,11 @@ export interface Logger {
121
126
  * @param args arguments filled into the placeholder or directly logged.
122
127
  */
123
128
  error(msg: string, ...args: any[]): void;
129
+ /**
130
+ * Convenience method to log an error (without an additional message) as an error.
131
+ * @param error the error to log
132
+ */
133
+ error(error: Error): void;
124
134
  /**
125
135
  * Creates a new Logger, which will prefix each log message with the given prefix.
126
136
  *
@@ -185,9 +195,12 @@ export declare function getLogLevel(name: string): LogLevel;
185
195
  /**
186
196
  * Sets the logging configuration state.
187
197
  * Note that this function resets any existing configuration state.
198
+ *
188
199
  * @param config the new configuration. If empty or undefined, the configuration is cleared.
200
+ * It can be string with the syntax `bundle:LEVEL,otherbundle:LEVEL`,
201
+ * e.g. `apprt-core:DEBUG, map-init:WARN`
189
202
  */
190
- export declare function setLogConfig(config?: [string, LogLevel][]): void;
203
+ export declare function setLogConfig(config?: [string, LogLevel][] | string): void;
191
204
  /**
192
205
  * Gets the current logging configuration state.
193
206
  * @returns Array like: [["", "DEBUG"] , ["apprt-core", "INFO"], ...];
@@ -226,3 +239,12 @@ export interface Writer {
226
239
  * @param newWriter the new Writer. If undefined, the console is used.
227
240
  */
228
241
  export declare function setWriter(newWriter?: Writer): void;
242
+ /**
243
+ * Parses a configuration string into a logging configuration.
244
+ * @param loggingConfStr a string in the format `logger-name:LEVEL, other-logger-name: LEVEL`.
245
+ * e.g. `apprt-core:DEBUG, map-init:WARN`
246
+ * or `DEBUG` for the root level.
247
+ * or `apprt-core` to set it to DEBUG.
248
+ * @returns the parsed logging configuration.
249
+ */
250
+ export declare function readConfigFromString(loggingConfStr?: string): [string, LogLevel][];
@@ -3,18 +3,17 @@ interface MembersTag<Members> {
3
3
  [_mutableMembers]: Members;
4
4
  }
5
5
  declare type PropertyKey = string | symbol;
6
- declare type Constructor<T> = new (...args: any[]) => T;
7
6
  declare type SimpleValueSpec = null | undefined | boolean | number | PropertyKey | bigint | any[];
8
7
  interface ComplexValueSpec<T> {
9
8
  value?: T;
10
- type?: Constructor<T> | PropType<T>;
9
+ type?: PropType<T>;
11
10
  required?: boolean;
12
11
  writable?: boolean;
13
12
  depends?: PropertyKey[];
14
13
  init?(): T;
15
14
  get?(): T;
16
15
  set?(value: T): void;
17
- cast?(value: T): T;
16
+ cast?(value: unknown): T;
18
17
  clone?(value: T): T;
19
18
  }
20
19
  declare type ValueSpec = SimpleValueSpec | ComplexValueSpec<any>;
@@ -34,7 +33,7 @@ export declare type MutableDefinition<T> = {
34
33
  };
35
34
  declare type IsEmptyObject<T> = T extends {} ? ({} extends T ? true : false) : false;
36
35
  declare type ResolveSpecType<Spec> = Spec extends {
37
- type: PropType<infer T> | Constructor<infer T>;
36
+ type: PropType<infer T>;
38
37
  } ? T : Spec extends {
39
38
  value: infer V;
40
39
  } ? V : Spec extends ComplexValueSpec<infer V> ? V : never;
@@ -97,7 +96,7 @@ interface MutableBase<Members> extends MembersTag<Members> {
97
96
  * @param callback will be invoked when a property changes.
98
97
  * @returns a handle to stop watching
99
98
  */
100
- watch(property: "*", callback: WatchCallback<PropertyName<this>, Properties<this>[PropertyName<this>]>): WatchHandle;
99
+ watch(property: "*", callback: WatchCallback<PublicPropertyName<this>, Properties<this>[PublicPropertyName<this>]>): WatchHandle;
101
100
  }
102
101
  /**
103
102
  * Represents the type of mutable instances built from some definition.
@@ -129,7 +128,7 @@ declare type RemoveFunctions<T> = {
129
128
  export declare type PropType<T> = {
130
129
  (): T;
131
130
  } | {
132
- new (...args: never[]): T;
131
+ new (...args: never[]): T & object;
133
132
  } | {
134
133
  new (...args: string[]): Function;
135
134
  };
@@ -141,6 +140,8 @@ export declare type Properties<M extends Mutable<any>> = M extends MembersTag<in
141
140
  * This type is a union listing all valid property identifiers for the given mutable.
142
141
  */
143
142
  export declare type PropertyName<M extends Mutable<any>> = Extract<keyof Properties<M>, PropertyKey>;
143
+ /** Excludes symbol properties from the list of property names (they are not watchable via '*') */
144
+ declare type PublicPropertyName<M extends Mutable<any>> = Exclude<PropertyName<M>, symbol>;
144
145
  /**
145
146
  * Represents the type of a mutable class created from a definition.
146
147
  * Instances of this type are created by calling the `declare()` function.
@@ -68,14 +68,14 @@ export interface Visitor<NodeType extends Node> {
68
68
  * @param context The walker's context at current node.
69
69
  * @returns Indicates how the walker shall proceed, the default is VisitCodes.CONTINUE.
70
70
  */
71
- getChildren(node: NodeType, context: Context<NodeType>): NodeType[] | void | undefined;
71
+ getChildren(node: NodeType, context: Context<NodeType>): NodeType[] | Iterable<NodeType> | void | undefined;
72
72
  }
73
73
  /** Base type of tree nodes. */
74
74
  export interface Node {
75
75
  /** Optional array of child nodes. */
76
76
  children?: Node[];
77
77
  /** Optional accessor function for child nodes. */
78
- getChildren?(): Node[] | void | undefined;
78
+ getChildren?(): Node[] | Iterable<Node> | void | undefined;
79
79
  }
80
80
  /** Current visitor context. */
81
81
  export interface Context<NodeType extends Node> {
@@ -14,6 +14,10 @@ export declare type DeepWritable<T> = T extends Primitive ? T : T extends {} ? {
14
14
  export declare type DeepReadonly<T> = T extends Primitive ? T : T extends {} ? {
15
15
  readonly [P in keyof T]: DeepReadonly<T[P]>;
16
16
  } : T;
17
+ /**
18
+ * Makes optional properties in the type `T` required.
19
+ */
20
+ export declare type RequiredProps<T, K extends keyof T> = T & Required<Pick<T, K>>;
17
21
  interface IndexMap {
18
22
  "0": 0;
19
23
  "1": 1;
@@ -0,0 +1,73 @@
1
+ /**
2
+ * Base64 / binary data / UTF-8 strings utilities
3
+ *
4
+ * It ensures that UTF-8 characters are used when encoding to Base64.
5
+ *
6
+ * Based on code of: <https://developer.mozilla.org/en-US/docs/Web/JavaScript/Base64_encoding_and_decoding>
7
+ *
8
+ * @module
9
+ *
10
+ * @example Encode string to Base64
11
+ * ```js
12
+ * import { encodeBase64 } from "apprt-core/base64";
13
+ *
14
+ * const base64str = encodeBase64("hello world");
15
+ * // base64str === "aGVsbG8gd29ybGQ="
16
+ * ```
17
+ *
18
+ * @example Decode Base64 string
19
+ * ```js
20
+ * import { decodeBase64 } from "apprt-core/base64";
21
+ *
22
+ * const str = decodeBase64("aGVsbG8gd29ybGQ=");
23
+ * // str === "hello world"
24
+ * ```
25
+ */
26
+ /**
27
+ * Encodes a string into a Base64-encoded string.
28
+ * The string is first converted into a UTF-8 array and then encoded as Base64 string.
29
+ * @param input a string to encode.
30
+ * @returns Base64-encoded input
31
+ */
32
+ export declare function encodeBase64(input: string): string;
33
+ /**
34
+ * Decodes a Base64 string into the raw string.
35
+ * The Base64 string is first decoded into a UTF-8 array and then converted into a string.
36
+ * @param input Base64 string.
37
+ * @returns decoded input.
38
+ */
39
+ export declare function decodeBase64(input: string): string;
40
+ /**
41
+ * Converts a Base64 string into a UTF-8 array.
42
+ *
43
+ * If your aim is to build a buffer of 16-bit / 32-bit / 64-bit raw data,
44
+ * use the blocksSize argument, which is the number of bytes
45
+ * of which the uint8Array.buffer.bytesLength property must result a multiple.
46
+ * - 1 or omitted for ASCII, binary strings
47
+ * (i.e., a string in which each character in the string is treated as a byte of binary data)
48
+ * or UTF-8-encoded strings,
49
+ * - 2 for UTF-16 strings,
50
+ * - 4 for UTF-32 strings
51
+ * @param base64Input the base64 input
52
+ * @param blocksSize 1, 2 or 4 see above.
53
+ * @returns decoded bytes.
54
+ */
55
+ export declare function base64DecodeToUtf8Arr(base64Input: string, blocksSize?: number): Uint8Array;
56
+ /**
57
+ * Encodes a byte array into a Base64 string representation.
58
+ * @param utf8Array array of bytes.
59
+ * @returns Base64 string
60
+ */
61
+ export declare function base64EncodeUtf8Arr(utf8Array: Uint8Array): string;
62
+ /**
63
+ * Converts a UTF-8 byte array into a string.
64
+ * @param utf8Array byte array.
65
+ * @returns string.
66
+ */
67
+ export declare function utf8ArrToStr(utf8Array: Uint8Array): string;
68
+ /**
69
+ * Converts a string into a UTF-8 byte array.
70
+ * @param input string to encode as UTF-8 bytes.
71
+ * @returns UTF-8 byte array.
72
+ */
73
+ export declare function strToUtf8Arr(input: string): Uint8Array;
@@ -18,6 +18,14 @@ export declare type Comparator<T> = (a: T, b: T) => number;
18
18
  * @implements Comparator
19
19
  */
20
20
  export declare const DEFAULT_COMPARE: (a: any, b: any) => number;
21
+ /**
22
+ * A comparison function suitable for sorting heterogenous primitive values to a predictable order.
23
+ * Values are ordered by type first and then compared by value.
24
+ * Note that `null` is treated as its own type for the purpose of this function, sorting directly after `undefined`.
25
+ *
26
+ * Symbols, objects and functions are grouped but have no useful ordering between them.
27
+ */
28
+ export declare const TYPE_BASED_COMPARE: (a: any, b: any) => number;
21
29
  /**
22
30
  * Compares strings while treating uppercase and lowercase characters as equal.
23
31
  * This methods will throw an error if the objects are no strings.
@@ -0,0 +1,8 @@
1
+ import { RegisterOptions, SupportedValueTypes, ValueOrValueProvider } from "./config";
2
+ import "dojo/_base/sniff";
3
+ interface RegisterFunction<T> {
4
+ (key: keyof T, valueOrProvider: ValueOrValueProvider<keyof T, SupportedValueTypes>, options?: RegisterOptions): void;
5
+ }
6
+ export declare function registerDojoConfigKey<T>(registerFn: RegisterFunction<T>, name: keyof T, path: string, dconfig?: any): void;
7
+ export declare function registerHasKey<T>(registerFn: RegisterFunction<T>, name: keyof T): void;
8
+ export {};
@@ -1,47 +1,363 @@
1
1
  import { DeepReadonly } from "./Types";
2
- import "dojo/_base/sniff";
3
2
  /**
4
3
  * Lists well known config property names and their types.
5
- *
6
- * TODO: will be split into config and environment detection!
7
4
  */
8
- export interface ConfigProperties {
9
- /** True if deprecation messages shall be logged. */
10
- "ct-log-deprecations": boolean;
11
- /** TODO ?? */
12
- "ct-fix-viewport": boolean;
13
- "ct-fix-viewport-force": boolean;
14
- "ct-dgrid-touchscroll": boolean;
15
- /** True if content security policy settings prevent eval() etc. */
5
+ export interface WellknownConfigKeys {
6
+ /**
7
+ * True if deprecation messages shall be logged.
8
+ */
9
+ "log-deprecations": boolean;
10
+ /**
11
+ * Is the debug mode enabled
12
+ */
13
+ "debug": boolean;
14
+ /**
15
+ * The configured locale.
16
+ * Use `apprt-core/Locale.getCurrent()` to access the value.
17
+ */
18
+ "locale": string;
19
+ /**
20
+ * The globally supported locales.
21
+ */
22
+ "supported-locales": string[];
23
+ /**
24
+ * URL pointing to the current app directory.
25
+ */
26
+ "app-base-url": string;
27
+ /**
28
+ * The global logging configuration.
29
+ * A string of the format `logger:LEVEL,other:LEVEL`.
30
+ * Level = DEBUG, INFO, WARN, ERROR, OFF
31
+ * Is interpreted by apprt-core/Logger
32
+ */
33
+ "logging": string;
34
+ /**
35
+ * URL to the js-registry providing the test bundles.
36
+ * Only available during test execution.
37
+ */
38
+ "testing-jsregistry-url": string;
39
+ /**
40
+ * Registry URL used to fetch the apprt system.
41
+ */
42
+ "apprt-jsregistry-url": string;
43
+ /**
44
+ * The name of the default application.
45
+ */
46
+ "app-launch-default-app": string;
47
+ /**
48
+ * Defines that pre-fetching of module.js files via registry/layer.js is enabled.
49
+ */
50
+ "app-launch-prefetch-enabled": boolean;
51
+ /**
52
+ * Defines that during the pre-fetching main.js files should be included.
53
+ * @deprecated the settings is obsolete.
54
+ */
55
+ "app-launch-prefetch-main": boolean;
56
+ /**
57
+ * Defines that switching to HTTP POST is allowed during layer.js pre-fetching.
58
+ */
59
+ "app-launch-prefetch-with-post-enabled": boolean;
60
+ /**
61
+ * Defines that the layer.js request is using gzip encoded parameters to keep the parameter size short.
62
+ */
63
+ "app-launch-prefetch-params-compressed": boolean;
64
+ /**
65
+ * Defines that the app.json and bundles.json requests should use jsonp.
66
+ * @deprecated this support will be dropped for security reasons.
67
+ */
68
+ "app-launch-jsonp-enabled": boolean;
69
+ /**
70
+ * Enables statistics calculation during app start.
71
+ */
72
+ "app-launch-statistics-enabled": boolean;
73
+ /**
74
+ * Information of apprt-boot for the Launcher.
75
+ */
76
+ "apprt-boot-loader-info": any;
77
+ /**
78
+ * A global configured Enterprise-Portal URL.
79
+ */
80
+ "arcgis-portal-url": string;
81
+ /**
82
+ * URL to the /agol/token endpoint of map.apps.
83
+ * Which provides an technical user token to e.g. consume a geolocation service as anonymous app user.
84
+ */
85
+ "esri-identity-app-token-url": string;
86
+ /**
87
+ * Enables the use of the /agol/token endpoint.
88
+ */
89
+ "esri-identity-app-token-enabled": boolean;
90
+ /**
91
+ * Enables the persistence of the esri/identity/IdentityManager state in the local storage.
92
+ */
93
+ "esri-identity-state-persist": boolean;
94
+ /**
95
+ * The name of the state in the local storage.
96
+ */
97
+ "esri-identity-state-name": string;
98
+ /**
99
+ * The prefix of the state in the local storage.
100
+ * If this is not configured then the default prefix is the app location.
101
+ * This should prevent interferences between apps.
102
+ */
103
+ "esri-identity-state-name-prefix": string;
104
+ /**
105
+ * Allows the esri/IdentityManager to send credentials via http.
106
+ * Note this is only intended for development purpose
107
+ * and should never be enabled during production.
108
+ */
109
+ "esri-identity-allow-credentials-over-http": boolean;
110
+ /**
111
+ * Enables client side oauth for the application.
112
+ */
113
+ "oauth-enabled": boolean;
114
+ /**
115
+ * Which expiration should the requested oauth token have.
116
+ */
117
+ "oauth-access-token-expiration": number;
118
+ /**
119
+ * The client-id or app-id to authenticated with.
120
+ */
121
+ "oauth-app-id": string;
122
+ /**
123
+ * A special namespace value.
124
+ * Experimental, ignore that.
125
+ */
126
+ "oauth-namespace": string;
127
+ /**
128
+ * Should the login dialog be shown inside a popup.
129
+ */
130
+ "oauth-use-popup": boolean;
131
+ /**
132
+ * URL to a callback page which consumes the access token.
133
+ * Only of interest if oauth-use-popup is true.
134
+ */
135
+ "oauth-popup-callback-page": string;
136
+ /**
137
+ * Flag to enforce a login,
138
+ * Experimental, ignore that.
139
+ */
140
+ "oauth-force-login": string;
141
+ /**
142
+ * Refresh interval for geo-location updates.
143
+ */
144
+ "geolocation-update-interval": number;
145
+ /**
146
+ * Maximal allowed URL length before automatically switching to POST.
147
+ */
148
+ "request-max-url-length": number;
149
+ /**
150
+ * Default request timeout.
151
+ */
152
+ "request-timeout": number;
153
+ /**
154
+ * Disables automatic CORS proxy fallback.
155
+ */
156
+ "request-proxy-disabled": boolean;
157
+ /**
158
+ * The default proxy URL.
159
+ */
160
+ "request-proxy-url": string;
161
+ /**
162
+ * Proxy use rules.
163
+ */
164
+ "request-proxy-rules": {
165
+ origin: string;
166
+ proxyUrl?: string;
167
+ }[];
168
+ /**
169
+ * The trusted servers.
170
+ * Required for secure CORS communication.
171
+ */
172
+ "request-trusted-servers": string[];
173
+ /**
174
+ * Flag for apprt-request to return dojo/Deferred instead of Promises.
175
+ */
176
+ "request-return-dojo-deferred": boolean;
177
+ /**
178
+ * Plain esri key, provides a way to configure the properties in esri/config.
179
+ * Used by apprt-esri-init.
180
+ */
181
+ "esri-conf": {
182
+ [prop: string]: SupportedValueTypes;
183
+ };
184
+ /**
185
+ * Is an algorithm to re-calcuate the viewport size for mobile enabled.
186
+ */
187
+ "mobile-fix-viewport": boolean;
188
+ /**
189
+ * Should the use of the fix algorithm be enforced.
190
+ */
191
+ "mobile-fix-viewport-force": boolean;
192
+ /**
193
+ * Is touch scroll enabled for dgrid.
194
+ */
195
+ "dgrid-touchscroll": boolean;
196
+ }
197
+ /** Valid configuration property names. */
198
+ export declare type ConfigKey = keyof WellknownConfigKeys;
199
+ /**
200
+ * Lists well known environment property names and their types.
201
+ */
202
+ export interface WellknownEnvKeys {
203
+ /**
204
+ * True if content security policy settings prevent eval() etc.
205
+ */
16
206
  "csp-restrictions": boolean;
207
+ /**
208
+ * True if WebAssembly is enabled.
209
+ */
210
+ "webassembly": boolean;
211
+ /**
212
+ * Detection if the client device is touch enabled.
213
+ */
17
214
  "touch": boolean;
215
+ /**
216
+ * Detection if the client is a mobile device.
217
+ */
18
218
  "mobile": boolean;
219
+ /**
220
+ * Detection if the client is the Internet Explorer.
221
+ */
19
222
  "ie": number;
223
+ /**
224
+ * Detection if the client is FireFox.
225
+ */
20
226
  "ff": number;
227
+ /**
228
+ * Detection if the client is Safari.
229
+ */
21
230
  "safari": number;
231
+ /**
232
+ * Detection if the client is an Android device.
233
+ */
22
234
  "android": number;
23
- "native-xhr2": boolean;
24
235
  }
25
- /** Valid configuration property names. */
26
- export declare type ConfigPropertyKey = keyof ConfigProperties;
236
+ /** Valid environment property names. */
237
+ export declare type EnvKey = keyof WellknownEnvKeys;
27
238
  /** Supported value types. */
28
- export declare type ConfigValue = undefined | null | boolean | number | string | ConfigValue[] | {
29
- [prop: string]: ConfigValue;
239
+ export declare type SupportedValueTypes = undefined | null | boolean | number | string | SupportedValueTypes[] | {
240
+ [prop: string]: SupportedValueTypes;
30
241
  };
31
- declare type ValueProvider<T> = T | (() => T);
242
+ /**
243
+ * A function producing a result for a given key.
244
+ */
245
+ export declare type ValueProvider<KeyType, ResultType> = (key: KeyType) => ResultType | undefined;
246
+ /**
247
+ * Type used by the register functions to
248
+ * distinguish a plain value or a function providing the value.
249
+ */
250
+ export declare type ValueOrValueProvider<KeyType, ResultType> = ResultType | ValueProvider<KeyType, ResultType>;
251
+ /**
252
+ * Options accepted by the register* functions.
253
+ */
254
+ export interface RegisterOptions {
255
+ /**
256
+ * If `true` and the value is a provider function, it is only invoked once.
257
+ * Otherwise the function is invoked for every call for key.
258
+ * Default is `true`.
259
+ */
260
+ cacheProvidedValue?: boolean;
261
+ /**
262
+ * If `true` and there is a provider already, the existing provider is replaced.
263
+ * Otherwise an error is thrown.
264
+ */
265
+ overwrite?: boolean;
266
+ }
267
+ /**
268
+ * A value interceptor.
269
+ */
270
+ export interface Interceptor {
271
+ /**
272
+ * An interceptor is informed about any config key access.
273
+ * The lookupValue function can be used to fetch the original configuration value.
274
+ * An interceptor may return custom values.
275
+ *
276
+ * @param key config key
277
+ * @param lookupValue a function providing the original config value
278
+ * @returns the intercepted config value or undefined
279
+ */
280
+ (key: string, lookupValue: () => SupportedValueTypes): SupportedValueTypes | undefined;
281
+ }
282
+ /**
283
+ * This class implements the internal lazy configuration state.
284
+ * It is exported for test purpose only.
285
+ *
286
+ * @internal
287
+ */
288
+ export declare class LazyValues<SupportedKeys, Key extends keyof SupportedKeys = keyof SupportedKeys> {
289
+ #private;
290
+ interceptor: Interceptor | undefined;
291
+ get<K extends Key>(key: K): DeepReadonly<SupportedKeys[K]> | undefined;
292
+ registeredKeys(): Set<Key>;
293
+ register(key: Key, valueProvider: ValueOrValueProvider<Key, SupportedValueTypes>, { cacheProvidedValue, overwrite }?: RegisterOptions): void;
294
+ isRegistered(key: Key): boolean;
295
+ unregister(key: Key): boolean;
296
+ }
32
297
  /**
33
298
  * Returns the configuration value associated with the given key.
34
- * Throws an exception if the key is not known.
299
+ * Returns `undefined` if the key is unknown.
300
+ *
301
+ * @param key one of the WellknownConfigKeys
302
+ * @returns the config value matching the key.
35
303
  */
36
- export declare function config<K extends ConfigPropertyKey>(key: K): DeepReadonly<ConfigProperties[K]> | undefined;
37
- export default config;
304
+ export declare function configValue<Key extends ConfigKey>(key: Key): DeepReadonly<WellknownConfigKeys[Key]> | undefined;
38
305
  /**
39
306
  * Registers a new key with the configuration.
40
- * Keys and values must also be declared at the type level by extending the `ConfigProperties` interface.
307
+ * Keys and values must also be declared at the type-level by extending the `WellknownConfigKeys` interface.
41
308
  *
42
309
  * Throws an exception if the key was already registered.
43
310
  *
44
311
  * @param key the configuration key
45
- * @param value the value or a function returning the value (for lazy evaluation).
312
+ * @param valueOrProvider the value or a function returning the value (for lazy evaluation).
313
+ * @param options registration flags
314
+ */
315
+ export declare function registerConfigValue(key: ConfigKey, valueOrProvider: ValueOrValueProvider<ConfigKey, SupportedValueTypes>, options?: RegisterOptions): void;
316
+ /**
317
+ * The intention of this function is to make testing simpler.
318
+ * A test can register a config value and unregister it afterwards.
319
+ *
320
+ * @param key a config key
321
+ * @returns true if conf value was un-registered(previously registered)
322
+ */
323
+ export declare function unregisterConfigValue(key: ConfigKey): boolean;
324
+ /**
325
+ * The intention of this function is to make testing simpler.
326
+ *
327
+ * Do not forget to unset your interceptor after the tests by invoking this function with no arguments.
328
+ * @param interceptor a callback informed about any config value access.
329
+ */
330
+ export declare function setConfigValueInterceptor(interceptor?: Interceptor): void;
331
+ /**
332
+ * Returns the environment value associated with the given key.
333
+ * Returns `undefined` if the key is not known.
334
+ *
335
+ * @param key one of the WellknownEnvKeys
336
+ * @returns the environment value matching the key.
337
+ */
338
+ export declare function envValue<Key extends EnvKey>(key: Key): DeepReadonly<WellknownEnvKeys[Key]> | undefined;
339
+ /**
340
+ * Registers a new environment key with the configuration.
341
+ * Keys and values must also be declared at the type-level by extending the `WellknownEnvKeys` interface.
342
+ *
343
+ * Throws an exception if the key was already registered.
344
+ *
345
+ * @param key the env key
346
+ * @param valueOrProvider the value or a function returning the value (for lazy evaluation).
347
+ * @param options registration flags
348
+ */
349
+ export declare function registerEnvValue(key: EnvKey, valueOrProvider: ValueOrValueProvider<EnvKey, SupportedValueTypes>, options?: RegisterOptions): void;
350
+ /**
351
+ * The intention of this function is to make testing simpler.
352
+ * A test can register a env value and unregister it afterwards.
353
+ * @param key a env key
354
+ * @returns true if env value was un-registered(previously registered)
355
+ */
356
+ export declare function unregisterEnvValue(key: EnvKey): boolean;
357
+ /**
358
+ * The intention of this function is to make testing simpler.
359
+ *
360
+ * Do not forget to unset the interceptor after the tests.
361
+ * @param interceptor a callback informed about any env value access.
46
362
  */
47
- export declare function register<K extends ConfigPropertyKey>(key: K, value: ValueProvider<Extract<ConfigProperties[K], ConfigValue>>): void;
363
+ export declare function setEnvValueInterceptor(interceptor?: Interceptor): void;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Logs a deprecation warning.
3
- * Deprecation logs can be configured via `ct-log-deprecations` flag.
3
+ * Deprecation logs can be configured via `log-deprecations` flag.
4
4
  * @example
5
5
  * ```js
6
6
  * import deprecate from "apprt-core/deprecate";
@@ -14,4 +14,5 @@
14
14
  * ```
15
15
  */
16
16
  export declare function stringEscape(str: string | number): string;
17
+ export { stringEscape as escapeHtml };
17
18
  export default stringEscape;