@conterra/ct-mapapps-typings 4.13.2-next.20220704040728 → 4.13.2-next.20220712041527

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 (331) hide show
  1. package/README.md +23 -3
  2. package/agolauthn/SyncAuthnState.d.ts +1 -1
  3. package/agssearch/FilterStoreFactory.d.ts +1 -6
  4. package/app-portal-registration/PortalItemColumnExtender.d.ts +1 -1
  5. package/appautorefresh/Refresher.d.ts +1 -1
  6. package/appbundlemanagement/ProductInfoService.d.ts +1 -1
  7. package/appbundlemanagement/VersionReplacerService.d.ts +1 -1
  8. package/appbundlemanagement/VersionReplacerToolClickHandler.d.ts +1 -1
  9. package/appbundlemanagement/wizard/ConfirmationPaneFactory.d.ts +1 -1
  10. package/appbundlemanagement/wizard/DataFormPaneFactory.d.ts +1 -1
  11. package/appbundlemanagement/wizard/ProductsPaneFactory.d.ts +1 -1
  12. package/appbundlemanagement/wizard/ReportWidget.d.ts +1 -1
  13. package/appbundlemanagement/wizard/VersionLoadPaneFactory.d.ts +1 -1
  14. package/appbundlemanagement/wizard/VersionPaneFactory.d.ts +1 -1
  15. package/appbundlemanagement/wizard/VersionReplacerView.d.ts +1 -1
  16. package/appmanagement/AppBundlesController.d.ts +1 -1
  17. package/appmanagement/AppColumnExtender.d.ts +1 -1
  18. package/appmanagement/AppDetailsController.d.ts +1 -1
  19. package/appmanagement/AppDetailsWidgetFactory.d.ts +1 -1
  20. package/appmanagement/AppFilesController.d.ts +1 -1
  21. package/appmanagement/AppViewToolRuleProcessor.d.ts +1 -1
  22. package/appmanagement/CreateAppController.d.ts +1 -1
  23. package/appmanagement/CreateTemplateController.d.ts +1 -1
  24. package/appmanagement/CustomActions.d.ts +1 -1
  25. package/appmanagement/TemplateDetailsController.d.ts +1 -1
  26. package/apprt/semver.d.ts +45 -3
  27. package/apprt-binding/Bindable.d.ts +4 -3
  28. package/apprt-binding/Binding.d.ts +19 -18
  29. package/apprt-binding/PropertyAccess.d.ts +11 -10
  30. package/apprt-binding/Watchable.d.ts +2 -1
  31. package/apprt-core/Logger.d.ts +13 -1
  32. package/apprt-core/Mutable.d.ts +7 -6
  33. package/apprt-core/TreeWalker.d.ts +2 -2
  34. package/apprt-core/config-dojo.d.ts +2 -2
  35. package/apprt-core/config.d.ts +79 -54
  36. package/apprt-core/deprecate.d.ts +1 -1
  37. package/apprt-esri-init/IdentityRequestInterceptor.d.ts +11 -0
  38. package/apprt-esri-init/IdentityRequestProcessorRegistration.d.ts +3 -3
  39. package/apprt-esri-init/identityRequestUtils.d.ts +2 -0
  40. package/apprt-fetch/config.d.ts +1 -0
  41. package/apprt-fetch/fetch.d.ts +3 -1
  42. package/apprt-fetch/index.d.ts +160 -5
  43. package/appsoverview/DataViewController.d.ts +1 -1
  44. package/appsstore/AppStoreService.d.ts +1 -1
  45. package/apptemplatemanagement/CreateTemplateController.d.ts +1 -1
  46. package/apptemplatemanagement/TemplateDetailsController.d.ts +1 -1
  47. package/authentication/AuthenticationInfoWidget.d.ts +1 -1
  48. package/authentication/AuthenticationInfoWidgetFactory.d.ts +1 -1
  49. package/authentication/AuthenticationPlugin.d.ts +1 -1
  50. package/authentication/AuthenticationService.d.ts +1 -1
  51. package/authentication/AuthenticationWidgetController.d.ts +1 -1
  52. package/authentication/BlockInputAction.d.ts +1 -1
  53. package/authentication/LoginStateHeartbeat.d.ts +1 -1
  54. package/authentication/LoginUI.d.ts +1 -1
  55. package/authentication/LogoutWarningInfo.d.ts +1 -1
  56. package/authentication/UsernameWidget.d.ts +1 -1
  57. package/bundlemanagement/BundleDetailsController.d.ts +1 -1
  58. package/bundlemanagement/CreateBundleController.d.ts +1 -1
  59. package/bundleupdatechecker/BundleUpdateChecker.d.ts +1 -1
  60. package/bundleupdatechecker/BundleUpdateCheckerController.d.ts +1 -1
  61. package/bundleupdatechecker/BundleVersionWidget.d.ts +1 -1
  62. package/bundleupdatechecker/UpdateCheckerWidget.d.ts +1 -1
  63. package/bundleupdatechecker/UpdateCheckerWidgetFactory.d.ts +1 -1
  64. package/coordinatetransformer/CoordinateTransformer.d.ts +17 -85
  65. package/coordinatetransformer/CustomTransformation.d.ts +6 -5
  66. package/coordinatetransformer/GeometryServiceTransformerStrategy.d.ts +10 -4
  67. package/coordinatetransformer/InternalTransformerStrategy.d.ts +10 -0
  68. package/coordinatetransformer/Proj4jsTransformerStrategy.d.ts +8 -7
  69. package/coordinatetransformer/ProjectionEngineTransformerStrategy.d.ts +10 -6
  70. package/coordinatetransformer/ProjectionStoreFactory.d.ts +7 -43
  71. package/coordinatetransformer/SRSDefinitions.d.ts +15 -10
  72. package/coordinatetransformer/SRSParser.d.ts +6 -4
  73. package/coordinatetransformer/Transformer.d.ts +28 -14
  74. package/coordinatetransformer/api/CoordinateTransformer.d.ts +128 -0
  75. package/coordinatetransformer/api/ProjectionStore.d.ts +47 -0
  76. package/coordinatetransformer/api/TransformationProvider.d.ts +40 -31
  77. package/coordinatetransformer/api/TransformerStrategy.d.ts +28 -20
  78. package/coordinatetransformer/api/index.d.ts +4 -0
  79. package/coordinatetransformer/cloneGeometry.d.ts +8 -6
  80. package/coordinatetransformer/module.d.ts +3 -3
  81. package/ct/DeferredWatcher.d.ts +1 -1
  82. package/ct/Hash.d.ts +1 -1
  83. package/ct/Sequence.d.ts +1 -1
  84. package/ct/Stateful.d.ts +1 -1
  85. package/ct/_Comparable.d.ts +1 -1
  86. package/ct/_Connect.d.ts +1 -1
  87. package/ct/_Equals.d.ts +1 -1
  88. package/ct/api/coordinatetransformer/CoordinateTransformer.d.ts +1 -1
  89. package/ct/api/featureinfo/FeatureInfoHandler.d.ts +1 -1
  90. package/ct/api/featureinfo/ReverseGeocoderHandler.d.ts +1 -1
  91. package/ct/api/geocoder/ReverseGeocoder.d.ts +1 -1
  92. package/ct/api/geolocator/GeolocationHandler.d.ts +1 -1
  93. package/ct/api/notifier/NotifierUI.d.ts +1 -1
  94. package/ct/api/omnisearch/ResultHandler.d.ts +1 -1
  95. package/ct/api/omnisearch/Store.d.ts +1 -1
  96. package/ct/api/system/context/ContextListener.d.ts +1 -1
  97. package/ct/api/system/log/LogEntry.d.ts +1 -1
  98. package/ct/api/system/log/LogListener.d.ts +1 -1
  99. package/ct/api/system/log/LogReaderService.d.ts +1 -1
  100. package/ct/api/system/log/LogService.d.ts +1 -1
  101. package/ct/main.d.ts +1 -1
  102. package/ct/store/ComplexMemory.d.ts +1 -1
  103. package/ct/store/CompositeStore.d.ts +1 -1
  104. package/ct/store/NamedQueries.d.ts +1 -1
  105. package/ct/tools/Tool.d.ts +1 -1
  106. package/ct/tools/ToolButton.d.ts +1 -1
  107. package/ct/tools/ToolButtonFactory.d.ts +1 -1
  108. package/ct/tools/ToolContainer.d.ts +1 -1
  109. package/ct/tools/ToolMenu.d.ts +1 -1
  110. package/ct/tools/ToolMenuBar.d.ts +1 -1
  111. package/ct/tools/ToolMenuBarItem.d.ts +1 -1
  112. package/ct/tools/ToolMenuItem.d.ts +1 -1
  113. package/ct/tools/ToolReference.d.ts +1 -1
  114. package/ct/tools/ToolResolver.d.ts +1 -1
  115. package/ct/tools/ToolWidgetProxy.d.ts +1 -1
  116. package/ct/tools/_CheckedMenuItemMixin.d.ts +1 -1
  117. package/ct/tools/_ToolContainerMixin.d.ts +1 -1
  118. package/ct/tools/_ToolWidgetMixin.d.ts +1 -1
  119. package/ct/ui/_BundleI18nMixin.d.ts +1 -1
  120. package/ct/ui/controls/LoadingIndicator.d.ts +1 -1
  121. package/ct/ui/controls/MessagePane.d.ts +1 -1
  122. package/ct/ui/controls/OKCancelDialog.d.ts +1 -1
  123. package/ct/ui/controls/OKCancelPane.d.ts +1 -1
  124. package/ct/ui/controls/Wizard.d.ts +1 -1
  125. package/ct/ui/controls/_ManagedChildrenMixin.d.ts +1 -1
  126. package/ct/ui/controls/forms/AddTextBox.d.ts +1 -1
  127. package/ct/ui/controls/forms/AutoResizeTextBox.d.ts +1 -1
  128. package/ct/ui/controls/forms/DropDownColorSelector.d.ts +1 -1
  129. package/ct/ui/controls/forms/Editor.d.ts +1 -1
  130. package/ct/ui/controls/forms/PeriodicDateTextBox.d.ts +1 -1
  131. package/ct/ui/controls/forms/ScopedFilter.d.ts +1 -1
  132. package/ct/ui/controls/forms/SearchBox.d.ts +1 -1
  133. package/ct/ui/controls/forms/ShrinkingDropDown.d.ts +1 -1
  134. package/ct/ui/controls/forms/TransparencySlider.d.ts +1 -1
  135. package/ct/ui/controls/mobile/ComboBox.d.ts +1 -1
  136. package/ct/ui/controls/mobile/DropDownMenu.d.ts +1 -1
  137. package/ct/ui/desktop/CollapseGrid.d.ts +1 -1
  138. package/ct/ui/desktop/IFrameContent.d.ts +1 -1
  139. package/ct/ui/desktop/ModalBlocker.d.ts +1 -1
  140. package/ct/ui/desktop/ResizeGrid.d.ts +1 -1
  141. package/ct/ui/desktop/WindowBase.d.ts +1 -1
  142. package/ct/ui/desktop/ZIndexStack.d.ts +1 -1
  143. package/ct/ui/desktop/_FadeInOutMixin.d.ts +1 -1
  144. package/ct/ui/dnd/Avatar.d.ts +1 -1
  145. package/ct/ui/dnd/Container.d.ts +1 -1
  146. package/ct/ui/dnd/ContainerWidgetFactory.d.ts +1 -1
  147. package/ct/ui/dnd/GridContainer.d.ts +1 -1
  148. package/ct/ui/dnd/GridContainerWidget.d.ts +1 -1
  149. package/ct/ui/dnd/Moveable.d.ts +1 -1
  150. package/ct/ui/template/OverlayContainer.d.ts +1 -1
  151. package/ct/ui/toggle/ToggleButtonGroup.d.ts +1 -1
  152. package/ct/util/BinarySortedArray.d.ts +1 -1
  153. package/ct/util/BinarySortedModel.d.ts +1 -1
  154. package/ct/util/LocalStorage.d.ts +1 -1
  155. package/ct/util/Redirect.d.ts +1 -1
  156. package/ct/util/SelectableBinarySortedModel.d.ts +1 -1
  157. package/ct/util/locate/Geolocation.d.ts +1 -1
  158. package/ct/util/tree/ContainerNode.d.ts +1 -1
  159. package/ct/util/tree/Node.d.ts +1 -1
  160. package/ct/util/tree/NodeVisitorChain.d.ts +1 -1
  161. package/custominfo/CustomInfo.d.ts +1 -1
  162. package/custominfo-config/CustomInfoBuilder.d.ts +1 -1
  163. package/custominfo-config/CustomInfoBuilderWidget.d.ts +1 -1
  164. package/custominfo-config/CustomInfoWizardWidget.d.ts +1 -1
  165. package/dataform/AsyncJsonFormBuilder.d.ts +1 -1
  166. package/dataform/DataForm.d.ts +1 -1
  167. package/dataform/DataFormService.d.ts +1 -1
  168. package/dataform/JsonFormBuilder.d.ts +1 -1
  169. package/dataform/JsonFormBuilderResolver.d.ts +1 -1
  170. package/dataform/controls/AccordionPanel.d.ts +1 -1
  171. package/dataform/controls/BorderPanel.d.ts +1 -1
  172. package/dataform/controls/Button.d.ts +1 -1
  173. package/dataform/controls/CheckBox.d.ts +1 -1
  174. package/dataform/controls/ColorPicker.d.ts +1 -1
  175. package/dataform/controls/ComboBox.d.ts +1 -1
  176. package/dataform/controls/DateTextBox.d.ts +1 -1
  177. package/dataform/controls/FormControls.d.ts +1 -1
  178. package/dataform/controls/GridLayoutPanel.d.ts +1 -1
  179. package/dataform/controls/GridPanel.d.ts +1 -1
  180. package/dataform/controls/Image.d.ts +1 -1
  181. package/dataform/controls/Label.d.ts +1 -1
  182. package/dataform/controls/NumberSpinner.d.ts +1 -1
  183. package/dataform/controls/NumberTextBox.d.ts +1 -1
  184. package/dataform/controls/Panel.d.ts +1 -1
  185. package/dataform/controls/RadioButton.d.ts +1 -1
  186. package/dataform/controls/SelectBox.d.ts +1 -1
  187. package/dataform/controls/Slider.d.ts +1 -1
  188. package/dataform/controls/StackPanel.d.ts +1 -1
  189. package/dataform/controls/Switch.d.ts +1 -1
  190. package/dataform/controls/TabPanel.d.ts +1 -1
  191. package/dataform/controls/TablePanel.d.ts +1 -1
  192. package/dataform/controls/TextBox.d.ts +1 -1
  193. package/dataform/controls/Textarea.d.ts +1 -1
  194. package/dataform/controls/TimeTextBox.d.ts +1 -1
  195. package/dataform/controls/ToggleButton.d.ts +1 -1
  196. package/dataform/controls/Uploader.d.ts +1 -1
  197. package/dataform/controls/ValidationIcon.d.ts +1 -1
  198. package/dataform/controls/WizardPanel.d.ts +1 -1
  199. package/dataform/controls/_Control.d.ts +1 -1
  200. package/dataform/controls/_NumberConstraintsMixin.d.ts +1 -1
  201. package/dataform/controls/_StackContainerMixin.d.ts +1 -1
  202. package/dataview/DGridColumnPluginMixin.d.ts +1 -1
  203. package/dataview/DGridViewPlugin.d.ts +1 -1
  204. package/dataview/DataView.d.ts +1 -1
  205. package/dataview/DataViewBase.d.ts +1 -1
  206. package/dataview/DataViewController.d.ts +1 -1
  207. package/dataview/DataViewModel.d.ts +1 -1
  208. package/dataview/IconViewPlugin.d.ts +1 -1
  209. package/dataview/Pager.d.ts +1 -1
  210. package/dataview/_DGridView.d.ts +1 -1
  211. package/dataview/_IconView.d.ts +1 -1
  212. package/dataview/_ViewBase.d.ts +1 -1
  213. package/fileappsstore/FileAppStore.d.ts +1 -1
  214. package/geometryservice/GeometryService.d.ts +1 -1
  215. package/highlights/api.d.ts +2 -4
  216. package/map-actions/OpenPopupAction.d.ts +2 -1
  217. package/map-actions/ZoomToAction.d.ts +2 -1
  218. package/map-actions/api.d.ts +1 -1
  219. package/map-init-config/MapContentBuilderWidget.d.ts +1 -1
  220. package/map-widget/BasemapsParameterResolver.d.ts +9 -11
  221. package/map-widget/BlockedLayersRemover.d.ts +7 -3
  222. package/map-widget/Constraints.d.ts +16 -20
  223. package/map-widget/LODSynchronizer.d.ts +9 -4
  224. package/map-widget/LayerObserver.d.ts +39 -12
  225. package/map-widget/LayerTraverser.d.ts +28 -3
  226. package/map-widget/LayerVisibilityToolRuleProcessor.d.ts +8 -3
  227. package/map-widget/LayersParameterResolver.d.ts +10 -10
  228. package/map-widget/LayersParameterSyntax.d.ts +7 -2
  229. package/map-widget/MapEventBroadcaster.d.ts +7 -3
  230. package/map-widget/MapLoadingInfoWidget.d.ts +3 -2
  231. package/map-widget/MapWidget.d.ts +1 -2
  232. package/map-widget/MapWidgetFactory.d.ts +9 -11
  233. package/map-widget/MapWidgetModel.d.ts +53 -11
  234. package/map-widget/MapWidgetRegistration.d.ts +11 -46
  235. package/map-widget/Navigation.d.ts +6 -9
  236. package/map-widget/OfflineBasemapDefinitionFilter.d.ts +1 -2
  237. package/map-widget/ScaleToolRuleProcessor.d.ts +8 -3
  238. package/map-widget/SrsChangeService.d.ts +10 -29
  239. package/map-widget/SubLayersInfo.d.ts +46 -4
  240. package/map-widget/ViewModeToolRuleProcessor.d.ts +6 -4
  241. package/map-widget/ViewParameterResolver.d.ts +11 -6
  242. package/map-widget/ViewProvider.d.ts +22 -6
  243. package/map-widget/ViewReadyWatcher.d.ts +12 -6
  244. package/map-widget/WebMapLoadingVerification.d.ts +5 -3
  245. package/map-widget/api/Constraints.d.ts +109 -0
  246. package/map-widget/api/MapWidget.d.ts +9 -0
  247. package/map-widget/api/MapWidgetFactory.d.ts +37 -0
  248. package/map-widget/api/MapWidgetModel.d.ts +197 -0
  249. package/map-widget/api/MapWidgetRegistration.d.ts +51 -0
  250. package/map-widget/api/Navigation.d.ts +17 -0
  251. package/map-widget/api/SrsChangeService.d.ts +29 -0
  252. package/map-widget/api/index.d.ts +7 -0
  253. package/map-widget/module.d.ts +14 -12
  254. package/mapdraw-api/DefaultMapDrawing.d.ts +2 -1
  255. package/mapnavigation/HistoryImpl.d.ts +2 -1
  256. package/maptips/MapViewChangeWatcher.d.ts +2 -1
  257. package/notifier/NotifierUI.d.ts +1 -1
  258. package/omnisearch/DropDownMenu.d.ts +1 -1
  259. package/omnisearch/OmniSearchFactory.d.ts +1 -1
  260. package/omnisearch/OmniSearchModel.d.ts +1 -1
  261. package/omnisearch/RadioButton.d.ts +1 -1
  262. package/omnisearch/SearchUI.d.ts +1 -1
  263. package/omnisearch/SettingsWidget.d.ts +1 -1
  264. package/package.json +1 -1
  265. package/parametermanager/api.d.ts +4 -2
  266. package/printing/module.d.ts +1 -1
  267. package/resultcenter/ActionController.d.ts +1 -1
  268. package/resultcenter/BaseCommand.d.ts +1 -1
  269. package/resultcenter/DataModel.d.ts +1 -1
  270. package/resultcenter/DataModelBroadcaster.d.ts +1 -1
  271. package/resultcenter/DataViewController.d.ts +1 -1
  272. package/resultcenter/ExportResultsCommand.d.ts +1 -1
  273. package/resultcenter/PostfixAttributeTableLookupStrategy.d.ts +1 -1
  274. package/resultcenter/ResultcenterToolRuleProcessor.d.ts +1 -1
  275. package/resultcenter/StoreEventReceiver.d.ts +1 -1
  276. package/resultcenter/StoreRegistration.d.ts +1 -1
  277. package/resultcenter/TriggerShowResultCenter.d.ts +1 -1
  278. package/selection-resultcenter/ExecutionsModel.d.ts +1 -1
  279. package/selection-tools/ToolCommand.d.ts +2 -1
  280. package/selection-tools/ToolItem.d.ts +6 -6
  281. package/store-api/QueryExecution.d.ts +1 -1
  282. package/store-api/QueryExecutions.d.ts +1 -1
  283. package/system/component/ComponentConstants.d.ts +1 -1
  284. package/system/config/Configuration.d.ts +1 -1
  285. package/system/config/ManagedServiceFactory.d.ts +1 -1
  286. package/system/user/User.d.ts +1 -1
  287. package/system/user/UserEventRebroadcaster.d.ts +1 -1
  288. package/templatelayout/DefaultLayoutBreakPoints.d.ts +1 -1
  289. package/templatelayout/DojoClickPatch.d.ts +1 -1
  290. package/templatelayout/LayoutState.d.ts +1 -1
  291. package/templatelayout/WidgetDefinitions.d.ts +1 -1
  292. package/templatelayout-dijit/TemplateRenderer.d.ts +1 -1
  293. package/templatelayout-dijit/TemplateWidget.d.ts +1 -1
  294. package/templates/Template.d.ts +1 -1
  295. package/templates/TemplateEventBroadCaster.d.ts +1 -1
  296. package/templates/TemplateModel.d.ts +1 -1
  297. package/templates/TemplateSelector.d.ts +1 -1
  298. package/themes/Theme.d.ts +1 -1
  299. package/themes/ThemeBundleListener.d.ts +1 -1
  300. package/themes/ThemeEventBroadCaster.d.ts +1 -1
  301. package/themes/ThemeModel.d.ts +1 -1
  302. package/themes/ThemeSelector.d.ts +1 -1
  303. package/themes/ThemeStyleWriter.d.ts +1 -1
  304. package/themes/popup.d.ts +1 -1
  305. package/toc/BaseTocItemFactory.d.ts +2 -1
  306. package/toolrules/ToolActiveStateManager.d.ts +42 -2
  307. package/toolrules/ToolEventRebroadcaster.d.ts +16 -2
  308. package/toolrules/ToolRuleManager.d.ts +36 -2
  309. package/toolset/Drawer.d.ts +1 -1
  310. package/toolset/ToolsetManager.d.ts +1 -1
  311. package/toolset/ToolsetWindow.d.ts +1 -1
  312. package/toolset-config/ToolsetBuilderWidget.d.ts +1 -1
  313. package/windowmanager/WindowDnDContainer.d.ts +1 -1
  314. package/windowmanager/WindowDockingBar.d.ts +1 -1
  315. package/windowmanager/WindowDockingBarButton.d.ts +1 -1
  316. package/windowmanager/WindowManager.d.ts +1 -1
  317. package/windowmanager/WindowManagerFactory.d.ts +1 -1
  318. package/windowmanager/WindowReference.d.ts +1 -1
  319. package/windowmanager/WindowToolFactory.d.ts +1 -1
  320. package/wizard/CategoryList.d.ts +1 -1
  321. package/wizard/DataFormBuilderWidget.d.ts +1 -1
  322. package/wizard/DataFormBuilderWidgetFactory.d.ts +1 -1
  323. package/wizard/Menu.d.ts +1 -1
  324. package/wizard/MenuContent.d.ts +1 -1
  325. package/wizard/MenuController.d.ts +1 -1
  326. package/wizard/SaveAction.d.ts +1 -1
  327. package/wizard/ToolsDataFormWidgetFactory.d.ts +1 -1
  328. package/wizard/_BuilderWidget.d.ts +1 -1
  329. package/wizard/_Configurable.d.ts +1 -1
  330. package/apprt-fetch/globalConfig.d.ts +0 -7
  331. package/apprt-request/dconfig.d.ts +0 -2
package/README.md CHANGED
@@ -8,7 +8,7 @@ Type definitions for ct-mapapps
8
8
  npm install --save-dev @conterra/ct-mapapps-typings
9
9
  ```
10
10
 
11
- ## Use in TypeScript module
11
+ ### Use in TypeScript module
12
12
 
13
13
  `tsconfig.json`
14
14
 
@@ -22,7 +22,8 @@ npm install --save-dev @conterra/ct-mapapps-typings
22
22
  }
23
23
  }
24
24
  ```
25
- ## Use in JavaScript module
25
+
26
+ ### Use in JavaScript module
26
27
 
27
28
  `tsconfig.json`
28
29
 
@@ -37,4 +38,23 @@ npm install --save-dev @conterra/ct-mapapps-typings
37
38
  "noEmit": true
38
39
  }
39
40
  }
40
- ```
41
+ ```
42
+
43
+ ## Additional recommended typings
44
+
45
+ We also recommend to install the declaration files for the ArcGIS JavaScript API and the Dojo Toolkit:
46
+
47
+ ```sh
48
+ $ npm install @types/arcgis-js-api
49
+ $ npm install dojo-typings --save-dev
50
+ ```
51
+
52
+ ```json
53
+ // tsconfig.json
54
+ {
55
+ "include": [
56
+ // ...
57
+ "node_modules/dojo-typings/index.d.ts"
58
+ ]
59
+ }
60
+ ```
@@ -1,2 +1,2 @@
1
- declare var _default: any;
1
+ declare const _default: any;
2
2
  export default _default;
@@ -3,12 +3,7 @@ export function FilterStoreFactory(): {
3
3
  _initStore(): any;
4
4
  _logError(id: any, error: any): any;
5
5
  _observeLayer(layerId: any): void;
6
- _buildLayerObserver(mapWidgetModel: any, path: any): {
7
- map: any;
8
- layers: any;
9
- start(skipInitial: any): void;
10
- stop(skipCleanup: any): void;
11
- };
6
+ _buildLayerObserver(mapWidgetModel: any, path: any): import("map-widget/LayerObserver").LayerObserver;
12
7
  _trackLayerChange(path: any, layer: any, removed: any): void;
13
8
  _trackSublayerChange(layer: any, subLayerId: any): void;
14
9
  _trackVisibilityChanges(layerOrSublayer: any): void;
@@ -1,2 +1,2 @@
1
- declare var _default: any;
1
+ declare const _default: any;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare var _default: any;
1
+ declare const _default: any;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare var _default: any;
1
+ declare const _default: any;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare var _default: any;
1
+ declare const _default: any;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare var _default: any;
1
+ declare const _default: any;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare var _default: any;
1
+ declare const _default: any;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare var _default: any;
1
+ declare const _default: any;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare var _default: any;
1
+ declare const _default: any;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare var _default: any;
1
+ declare const _default: any;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare var _default: any;
1
+ declare const _default: any;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare var _default: any;
1
+ declare const _default: any;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare var _default: any;
1
+ declare const _default: any;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare var _default: any;
1
+ declare const _default: any;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare var _default: any;
1
+ declare const _default: any;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare var _default: any;
1
+ declare const _default: any;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare var _default: any;
1
+ declare const _default: any;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare var _default: any;
1
+ declare const _default: any;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare var _default: any;
1
+ declare const _default: any;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare var _default: any;
1
+ declare const _default: any;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare var _default: any;
1
+ declare const _default: any;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare var _default: any;
1
+ declare const _default: any;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare var _default: any;
1
+ declare const _default: any;
2
2
  export default _default;
package/apprt/semver.d.ts CHANGED
@@ -1,13 +1,55 @@
1
1
  export default semver;
2
- declare function semver(...args: any[]): any;
2
+ declare function semver(...args: any[]): {
3
+ major: any;
4
+ minor: any;
5
+ patch: any;
6
+ hotfix: any;
7
+ prerelease: any;
8
+ isPrerelease: any;
9
+ build: any;
10
+ toString: typeof buildVersionString;
11
+ compare: typeof selfCompare;
12
+ equals: typeof selfEquals;
13
+ stripBuild: typeof stripBuild;
14
+ stripPreRelease: typeof self;
15
+ lowestPreRelease: typeof self;
16
+ };
3
17
  declare namespace semver {
4
18
  export { parse };
5
19
  export { create };
6
20
  export { compare };
7
21
  export { equals };
8
22
  }
9
- declare function parse(versionString: any, ignoreBuild: any): any;
10
- declare function create(major: any, minor: any, patch: any, hotfix: any, prerelease: any, build: any): any;
23
+ declare function parse(versionString: any, ignoreBuild: any): {
24
+ major: any;
25
+ minor: any;
26
+ patch: any;
27
+ hotfix: any;
28
+ prerelease: any;
29
+ isPrerelease: any;
30
+ build: any;
31
+ toString: typeof buildVersionString;
32
+ compare: typeof selfCompare;
33
+ equals: typeof selfEquals;
34
+ stripBuild: typeof stripBuild;
35
+ stripPreRelease: typeof self;
36
+ lowestPreRelease: typeof self;
37
+ };
38
+ declare function create(major: any, minor: any, patch: any, hotfix: any, prerelease: any, build: any): {
39
+ major: any;
40
+ minor: any;
41
+ patch: any;
42
+ hotfix: any;
43
+ prerelease: any;
44
+ isPrerelease: any;
45
+ build: any;
46
+ toString: typeof buildVersionString;
47
+ compare: typeof selfCompare;
48
+ equals: typeof selfEquals;
49
+ stripBuild: typeof stripBuild;
50
+ stripPreRelease: typeof self;
51
+ lowestPreRelease: typeof self;
52
+ };
11
53
  /**
12
54
  * Compares two semantic versions
13
55
  */
@@ -1,3 +1,4 @@
1
+ import { PropertyName } from "./Binding";
1
2
  /**
2
3
  * Return type of the {@link Bindable} watch function, used to unregister a watch.
3
4
  */
@@ -22,7 +23,7 @@ export interface BindableInterface {
22
23
  * @param propName the name of the property
23
24
  * @param value the new value of the property
24
25
  */
25
- set?(propName: string, value: any): void;
26
+ set?(propName: PropertyName, value: any): void;
26
27
  /**
27
28
  * Returns the value of the property `propName`. This function will be called,
28
29
  * for example, when the Binding is notified about an update (via watch).
@@ -30,7 +31,7 @@ export interface BindableInterface {
30
31
  * @param propName the name of the property
31
32
  * @returns the current value of the property
32
33
  */
33
- get?(propName: string): any;
34
+ get?(propName: PropertyName): any;
34
35
  /**
35
36
  * Registers a watch callback for the property `propName` on this Bindable.
36
37
  *
@@ -42,7 +43,7 @@ export interface BindableInterface {
42
43
  * @param callback a callback function that takes no arguments
43
44
  * @returns an object implementing {@link WatchHandle} that allows the Binding to unregister the watch.
44
45
  */
45
- watch?(propName: string, callback: WatchCallback): WatchHandle;
46
+ watch?(propName: PropertyName, callback: WatchCallback): WatchHandle;
46
47
  }
47
48
  /**
48
49
  * All methods on the bindable interface are optional, you can also use plain objects.
@@ -29,13 +29,13 @@ export interface Context {
29
29
  /** The target bindable. */
30
30
  readonly target: Bindable;
31
31
  /** The property name on the source side (for single source property). */
32
- readonly sourceName: string;
32
+ readonly sourceName: PropertyName;
33
33
  /** The property names on the source side (for multiple source properties). */
34
- readonly sourceNames: readonly string[];
34
+ readonly sourceNames: readonly PropertyName[];
35
35
  /** The property name on the target side (for single source property). */
36
- readonly targetName: string;
36
+ readonly targetName: PropertyName;
37
37
  /** The property names on the target side (for multiple source properties). */
38
- readonly targetNames: readonly string[];
38
+ readonly targetNames: readonly PropertyName[];
39
39
  /** The old property value. Provided if single source property. */
40
40
  oldValue(): any;
41
41
  /** The new property value. Provided if single source property. */
@@ -57,6 +57,7 @@ export interface Context {
57
57
  */
58
58
  promiseValue<T>(candidate: PromiseLike<T>): any;
59
59
  }
60
+ export declare type PropertyName = string | symbol;
60
61
  /**
61
62
  * Class for two way binding between bindables.
62
63
  */
@@ -104,8 +105,8 @@ export interface Binding {
104
105
  * Binding.for(esriAccessor, vueComponent).sync('textField', 'numberField', Number, String);
105
106
  * ```
106
107
  */
107
- sync(leftProperty: string | string[], rightProperty: string | string[], convertLeftToRight?: ConvertFunction, convertRightToLeft?: ConvertFunction): this;
108
- sync(leftProperty: string | string[], convertLeftToRight?: ConvertFunction, convertRightToLeft?: ConvertFunction): this;
108
+ sync(leftProperty: PropertyName | PropertyName[], rightProperty: PropertyName | PropertyName[], convertLeftToRight?: ConvertFunction, convertRightToLeft?: ConvertFunction): this;
109
+ sync(leftProperty: PropertyName | PropertyName[], convertLeftToRight?: ConvertFunction, convertRightToLeft?: ConvertFunction): this;
109
110
  /**
110
111
  * Define properties to be synchronized and converted from left bindable to right bindable
111
112
  *
@@ -130,8 +131,8 @@ export interface Binding {
130
131
  * Binding.for(esriAccessor, vueComponent).syncToLeft('numberField', 'textField', String);
131
132
  * ```
132
133
  */
133
- syncToLeft(leftProperty: string | string[], rightProperty: string | string[], convertValue?: ConvertFunction): this;
134
- syncToLeft(leftProperty: string | string[], convertValue?: ConvertFunction): this;
134
+ syncToLeft(leftProperty: PropertyName | PropertyName[], rightProperty: PropertyName | PropertyName[], convertValue?: ConvertFunction): this;
135
+ syncToLeft(leftProperty: PropertyName | PropertyName[], convertValue?: ConvertFunction): this;
135
136
  /**
136
137
  * Define properties to be synchronized between two bindables.
137
138
  *
@@ -150,8 +151,8 @@ export interface Binding {
150
151
  * });
151
152
  * ```
152
153
  */
153
- syncAll(properties: Record<string, string>): this;
154
- syncAll(...properties: (string | ConvertFunction | undefined)[]): this;
154
+ syncAll(properties: Record<PropertyName, PropertyName>): this;
155
+ syncAll(...properties: (PropertyName | ConvertFunction | undefined)[]): this;
155
156
  /**
156
157
  * Define properties to be synchronized between from left to right bindables.
157
158
  *
@@ -169,8 +170,8 @@ export interface Binding {
169
170
  * });
170
171
  * ```
171
172
  */
172
- syncAllToRight(properties: Record<string, string>): this;
173
- syncAllToRight(...properties: (string | ConvertFunction | undefined)[]): this;
173
+ syncAllToRight(properties: Record<PropertyName, PropertyName>): this;
174
+ syncAllToRight(...properties: (PropertyName | ConvertFunction | undefined)[]): this;
174
175
  /**
175
176
  * Define properties to be synchronized between from left to right bindables.
176
177
  *
@@ -188,8 +189,8 @@ export interface Binding {
188
189
  * });
189
190
  * ```
190
191
  */
191
- syncAllToLeft(properties: Record<string, string>): this;
192
- syncAllToLeft(...properties: (string | ConvertFunction | undefined)[]): this;
192
+ syncAllToLeft(properties: Record<PropertyName, PropertyName>): this;
193
+ syncAllToLeft(...properties: (PropertyName | ConvertFunction | undefined)[]): this;
193
194
  /**
194
195
  * Trigger the synchronization of the properties of left to their pedants on right.
195
196
  */
@@ -252,9 +253,9 @@ declare const IGNORE: unique symbol;
252
253
  *
253
254
  * @example
254
255
  * ```
255
- * import BindingFactory, { Binding } from "apprt-binding/Binding";
256
- * const binding = BindingFactory.for(left, right);
256
+ * import { Binding } from "apprt-binding/Binding";
257
+ * const binding = Binding.for(left, right);
257
258
  * ```
258
259
  */
259
- declare const factory: Factory;
260
- export default factory;
260
+ export declare const Binding: Factory;
261
+ export default Binding;
@@ -1,4 +1,5 @@
1
1
  import { Bindable, WatchHandle } from "./Bindable";
2
+ import { PropertyName } from "./Binding";
2
3
  declare const ACCESS_IN_INSTANCE_KEY: unique symbol;
3
4
  declare const _state: unique symbol;
4
5
  declare const _instance: unique symbol;
@@ -8,7 +9,7 @@ export declare type PropertyAccessInstance = Bindable & {
8
9
  };
9
10
  export declare type GroupId = number | string;
10
11
  export interface WatchState {
11
- name: string;
12
+ name: PropertyName;
12
13
  value: any;
13
14
  version: number;
14
15
  }
@@ -21,17 +22,17 @@ export declare class PropertyAccess {
21
22
  static for(instance: PropertyAccessInstance, create: true): PropertyAccess;
22
23
  static for(instance: PropertyAccessInstance, create: boolean): PropertyAccess | undefined;
23
24
  get destroyed(): boolean;
24
- get(propertyName: string): any;
25
- getVersionOf(propertyName: string): number;
26
- isVersionOf(propertyName: string, versionNumber: number): boolean;
27
- set(propertyName: string, value: any): boolean | undefined;
28
- setIfVersionMatch(propertyName: string, version: number, value: any): boolean | undefined;
29
- getTrackedProperties(groupId?: GroupId): string[];
25
+ get(propertyName: PropertyName): any;
26
+ getVersionOf(propertyName: PropertyName): number;
27
+ isVersionOf(propertyName: PropertyName, versionNumber: number): boolean;
28
+ set(propertyName: PropertyName, value: any): boolean | undefined;
29
+ setIfVersionMatch(propertyName: PropertyName, version: number, value: any): boolean | undefined;
30
+ getTrackedProperties(groupId?: GroupId): PropertyName[];
30
31
  hasTrackedProperties(): boolean;
31
- track(propertyName: string, groupId?: GroupId): void;
32
+ track(propertyName: PropertyName, groupId?: GroupId): void;
32
33
  untrackGroup(groupId?: GroupId): void;
33
- untrack(propertyName: string, groupId?: GroupId): void;
34
- watch(propertyName: string, watchListener: WatchListener): WatchHandle;
34
+ untrack(propertyName: PropertyName, groupId?: GroupId): void;
35
+ watch(propertyName: PropertyName, watchListener: WatchListener): WatchHandle;
35
36
  destroy(): void;
36
37
  }
37
38
  declare type WatchListener = (state: WatchState, ...args: any[]) => void;
@@ -1,4 +1,5 @@
1
1
  import { Bindable, BindableInterface, WatchHandle } from "./Bindable";
2
+ import { PropertyName } from "./Binding";
2
3
  export interface WatchEvent {
3
4
  name: string;
4
5
  }
@@ -17,7 +18,7 @@ export interface Watchable extends Required<BindableInterface> {
17
18
  * Enhances the definition of watch in Bindable: the property name is passed in the event.
18
19
  * This is currently an implementation detail and not required by the Bindable interface.
19
20
  */
20
- watch(propName: string, callback: InternalWatchCallback): WatchHandle;
21
+ watch(propName: PropertyName, callback: InternalWatchCallback): WatchHandle;
21
22
  /**
22
23
  * Destroys the Watchable and returns the original bindable, if any.
23
24
  */
@@ -195,9 +195,12 @@ export declare function getLogLevel(name: string): LogLevel;
195
195
  /**
196
196
  * Sets the logging configuration state.
197
197
  * Note that this function resets any existing configuration state.
198
+ *
198
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`
199
202
  */
200
- export declare function setLogConfig(config?: [string, LogLevel][]): void;
203
+ export declare function setLogConfig(config?: [string, LogLevel][] | string): void;
201
204
  /**
202
205
  * Gets the current logging configuration state.
203
206
  * @returns Array like: [["", "DEBUG"] , ["apprt-core", "INFO"], ...];
@@ -236,3 +239,12 @@ export interface Writer {
236
239
  * @param newWriter the new Writer. If undefined, the console is used.
237
240
  */
238
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> {
@@ -1,7 +1,7 @@
1
- import { RegisterOptions, ValueOrProvider } from "./config";
1
+ import { RegisterOptions, SupportedValueTypes, ValueOrValueProvider } from "./config";
2
2
  import "dojo/_base/sniff";
3
3
  interface RegisterFunction<T> {
4
- (key: keyof T, valueOrProvider: ValueOrProvider<T>, options?: RegisterOptions): void;
4
+ (key: keyof T, valueOrProvider: ValueOrValueProvider<keyof T, SupportedValueTypes>, options?: RegisterOptions): void;
5
5
  }
6
6
  export declare function registerDojoConfigKey<T>(registerFn: RegisterFunction<T>, name: keyof T, path: string, dconfig?: any): void;
7
7
  export declare function registerHasKey<T>(registerFn: RegisterFunction<T>, name: keyof T): void;