@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.
- package/README.md +23 -3
- package/agolauthn/SyncAuthnState.d.ts +1 -1
- package/agssearch/FilterStoreFactory.d.ts +1 -6
- package/app-portal-registration/PortalItemColumnExtender.d.ts +1 -1
- package/appautorefresh/Refresher.d.ts +1 -1
- package/appbundlemanagement/ProductInfoService.d.ts +1 -1
- package/appbundlemanagement/VersionReplacerService.d.ts +1 -1
- package/appbundlemanagement/VersionReplacerToolClickHandler.d.ts +1 -1
- package/appbundlemanagement/wizard/ConfirmationPaneFactory.d.ts +1 -1
- package/appbundlemanagement/wizard/DataFormPaneFactory.d.ts +1 -1
- package/appbundlemanagement/wizard/ProductsPaneFactory.d.ts +1 -1
- package/appbundlemanagement/wizard/ReportWidget.d.ts +1 -1
- package/appbundlemanagement/wizard/VersionLoadPaneFactory.d.ts +1 -1
- package/appbundlemanagement/wizard/VersionPaneFactory.d.ts +1 -1
- package/appbundlemanagement/wizard/VersionReplacerView.d.ts +1 -1
- package/appmanagement/AppBundlesController.d.ts +1 -1
- package/appmanagement/AppColumnExtender.d.ts +1 -1
- package/appmanagement/AppDetailsController.d.ts +1 -1
- package/appmanagement/AppDetailsWidgetFactory.d.ts +1 -1
- package/appmanagement/AppFilesController.d.ts +1 -1
- package/appmanagement/AppViewToolRuleProcessor.d.ts +1 -1
- package/appmanagement/CreateAppController.d.ts +1 -1
- package/appmanagement/CreateTemplateController.d.ts +1 -1
- package/appmanagement/CustomActions.d.ts +1 -1
- package/appmanagement/TemplateDetailsController.d.ts +1 -1
- package/apprt/semver.d.ts +45 -3
- package/apprt-binding/Bindable.d.ts +4 -3
- package/apprt-binding/Binding.d.ts +19 -18
- package/apprt-binding/PropertyAccess.d.ts +11 -10
- package/apprt-binding/Watchable.d.ts +2 -1
- package/apprt-core/Logger.d.ts +13 -1
- package/apprt-core/Mutable.d.ts +7 -6
- package/apprt-core/TreeWalker.d.ts +2 -2
- package/apprt-core/config-dojo.d.ts +2 -2
- package/apprt-core/config.d.ts +79 -54
- package/apprt-core/deprecate.d.ts +1 -1
- package/apprt-esri-init/IdentityRequestInterceptor.d.ts +11 -0
- package/apprt-esri-init/IdentityRequestProcessorRegistration.d.ts +3 -3
- package/apprt-esri-init/identityRequestUtils.d.ts +2 -0
- package/apprt-fetch/config.d.ts +1 -0
- package/apprt-fetch/fetch.d.ts +3 -1
- package/apprt-fetch/index.d.ts +160 -5
- package/appsoverview/DataViewController.d.ts +1 -1
- package/appsstore/AppStoreService.d.ts +1 -1
- package/apptemplatemanagement/CreateTemplateController.d.ts +1 -1
- package/apptemplatemanagement/TemplateDetailsController.d.ts +1 -1
- package/authentication/AuthenticationInfoWidget.d.ts +1 -1
- package/authentication/AuthenticationInfoWidgetFactory.d.ts +1 -1
- package/authentication/AuthenticationPlugin.d.ts +1 -1
- package/authentication/AuthenticationService.d.ts +1 -1
- package/authentication/AuthenticationWidgetController.d.ts +1 -1
- package/authentication/BlockInputAction.d.ts +1 -1
- package/authentication/LoginStateHeartbeat.d.ts +1 -1
- package/authentication/LoginUI.d.ts +1 -1
- package/authentication/LogoutWarningInfo.d.ts +1 -1
- package/authentication/UsernameWidget.d.ts +1 -1
- package/bundlemanagement/BundleDetailsController.d.ts +1 -1
- package/bundlemanagement/CreateBundleController.d.ts +1 -1
- package/bundleupdatechecker/BundleUpdateChecker.d.ts +1 -1
- package/bundleupdatechecker/BundleUpdateCheckerController.d.ts +1 -1
- package/bundleupdatechecker/BundleVersionWidget.d.ts +1 -1
- package/bundleupdatechecker/UpdateCheckerWidget.d.ts +1 -1
- package/bundleupdatechecker/UpdateCheckerWidgetFactory.d.ts +1 -1
- package/coordinatetransformer/CoordinateTransformer.d.ts +17 -85
- package/coordinatetransformer/CustomTransformation.d.ts +6 -5
- package/coordinatetransformer/GeometryServiceTransformerStrategy.d.ts +10 -4
- package/coordinatetransformer/InternalTransformerStrategy.d.ts +10 -0
- package/coordinatetransformer/Proj4jsTransformerStrategy.d.ts +8 -7
- package/coordinatetransformer/ProjectionEngineTransformerStrategy.d.ts +10 -6
- package/coordinatetransformer/ProjectionStoreFactory.d.ts +7 -43
- package/coordinatetransformer/SRSDefinitions.d.ts +15 -10
- package/coordinatetransformer/SRSParser.d.ts +6 -4
- package/coordinatetransformer/Transformer.d.ts +28 -14
- package/coordinatetransformer/api/CoordinateTransformer.d.ts +128 -0
- package/coordinatetransformer/api/ProjectionStore.d.ts +47 -0
- package/coordinatetransformer/api/TransformationProvider.d.ts +40 -31
- package/coordinatetransformer/api/TransformerStrategy.d.ts +28 -20
- package/coordinatetransformer/api/index.d.ts +4 -0
- package/coordinatetransformer/cloneGeometry.d.ts +8 -6
- package/coordinatetransformer/module.d.ts +3 -3
- package/ct/DeferredWatcher.d.ts +1 -1
- package/ct/Hash.d.ts +1 -1
- package/ct/Sequence.d.ts +1 -1
- package/ct/Stateful.d.ts +1 -1
- package/ct/_Comparable.d.ts +1 -1
- package/ct/_Connect.d.ts +1 -1
- package/ct/_Equals.d.ts +1 -1
- package/ct/api/coordinatetransformer/CoordinateTransformer.d.ts +1 -1
- package/ct/api/featureinfo/FeatureInfoHandler.d.ts +1 -1
- package/ct/api/featureinfo/ReverseGeocoderHandler.d.ts +1 -1
- package/ct/api/geocoder/ReverseGeocoder.d.ts +1 -1
- package/ct/api/geolocator/GeolocationHandler.d.ts +1 -1
- package/ct/api/notifier/NotifierUI.d.ts +1 -1
- package/ct/api/omnisearch/ResultHandler.d.ts +1 -1
- package/ct/api/omnisearch/Store.d.ts +1 -1
- package/ct/api/system/context/ContextListener.d.ts +1 -1
- package/ct/api/system/log/LogEntry.d.ts +1 -1
- package/ct/api/system/log/LogListener.d.ts +1 -1
- package/ct/api/system/log/LogReaderService.d.ts +1 -1
- package/ct/api/system/log/LogService.d.ts +1 -1
- package/ct/main.d.ts +1 -1
- package/ct/store/ComplexMemory.d.ts +1 -1
- package/ct/store/CompositeStore.d.ts +1 -1
- package/ct/store/NamedQueries.d.ts +1 -1
- package/ct/tools/Tool.d.ts +1 -1
- package/ct/tools/ToolButton.d.ts +1 -1
- package/ct/tools/ToolButtonFactory.d.ts +1 -1
- package/ct/tools/ToolContainer.d.ts +1 -1
- package/ct/tools/ToolMenu.d.ts +1 -1
- package/ct/tools/ToolMenuBar.d.ts +1 -1
- package/ct/tools/ToolMenuBarItem.d.ts +1 -1
- package/ct/tools/ToolMenuItem.d.ts +1 -1
- package/ct/tools/ToolReference.d.ts +1 -1
- package/ct/tools/ToolResolver.d.ts +1 -1
- package/ct/tools/ToolWidgetProxy.d.ts +1 -1
- package/ct/tools/_CheckedMenuItemMixin.d.ts +1 -1
- package/ct/tools/_ToolContainerMixin.d.ts +1 -1
- package/ct/tools/_ToolWidgetMixin.d.ts +1 -1
- package/ct/ui/_BundleI18nMixin.d.ts +1 -1
- package/ct/ui/controls/LoadingIndicator.d.ts +1 -1
- package/ct/ui/controls/MessagePane.d.ts +1 -1
- package/ct/ui/controls/OKCancelDialog.d.ts +1 -1
- package/ct/ui/controls/OKCancelPane.d.ts +1 -1
- package/ct/ui/controls/Wizard.d.ts +1 -1
- package/ct/ui/controls/_ManagedChildrenMixin.d.ts +1 -1
- package/ct/ui/controls/forms/AddTextBox.d.ts +1 -1
- package/ct/ui/controls/forms/AutoResizeTextBox.d.ts +1 -1
- package/ct/ui/controls/forms/DropDownColorSelector.d.ts +1 -1
- package/ct/ui/controls/forms/Editor.d.ts +1 -1
- package/ct/ui/controls/forms/PeriodicDateTextBox.d.ts +1 -1
- package/ct/ui/controls/forms/ScopedFilter.d.ts +1 -1
- package/ct/ui/controls/forms/SearchBox.d.ts +1 -1
- package/ct/ui/controls/forms/ShrinkingDropDown.d.ts +1 -1
- package/ct/ui/controls/forms/TransparencySlider.d.ts +1 -1
- package/ct/ui/controls/mobile/ComboBox.d.ts +1 -1
- package/ct/ui/controls/mobile/DropDownMenu.d.ts +1 -1
- package/ct/ui/desktop/CollapseGrid.d.ts +1 -1
- package/ct/ui/desktop/IFrameContent.d.ts +1 -1
- package/ct/ui/desktop/ModalBlocker.d.ts +1 -1
- package/ct/ui/desktop/ResizeGrid.d.ts +1 -1
- package/ct/ui/desktop/WindowBase.d.ts +1 -1
- package/ct/ui/desktop/ZIndexStack.d.ts +1 -1
- package/ct/ui/desktop/_FadeInOutMixin.d.ts +1 -1
- package/ct/ui/dnd/Avatar.d.ts +1 -1
- package/ct/ui/dnd/Container.d.ts +1 -1
- package/ct/ui/dnd/ContainerWidgetFactory.d.ts +1 -1
- package/ct/ui/dnd/GridContainer.d.ts +1 -1
- package/ct/ui/dnd/GridContainerWidget.d.ts +1 -1
- package/ct/ui/dnd/Moveable.d.ts +1 -1
- package/ct/ui/template/OverlayContainer.d.ts +1 -1
- package/ct/ui/toggle/ToggleButtonGroup.d.ts +1 -1
- package/ct/util/BinarySortedArray.d.ts +1 -1
- package/ct/util/BinarySortedModel.d.ts +1 -1
- package/ct/util/LocalStorage.d.ts +1 -1
- package/ct/util/Redirect.d.ts +1 -1
- package/ct/util/SelectableBinarySortedModel.d.ts +1 -1
- package/ct/util/locate/Geolocation.d.ts +1 -1
- package/ct/util/tree/ContainerNode.d.ts +1 -1
- package/ct/util/tree/Node.d.ts +1 -1
- package/ct/util/tree/NodeVisitorChain.d.ts +1 -1
- package/custominfo/CustomInfo.d.ts +1 -1
- package/custominfo-config/CustomInfoBuilder.d.ts +1 -1
- package/custominfo-config/CustomInfoBuilderWidget.d.ts +1 -1
- package/custominfo-config/CustomInfoWizardWidget.d.ts +1 -1
- package/dataform/AsyncJsonFormBuilder.d.ts +1 -1
- package/dataform/DataForm.d.ts +1 -1
- package/dataform/DataFormService.d.ts +1 -1
- package/dataform/JsonFormBuilder.d.ts +1 -1
- package/dataform/JsonFormBuilderResolver.d.ts +1 -1
- package/dataform/controls/AccordionPanel.d.ts +1 -1
- package/dataform/controls/BorderPanel.d.ts +1 -1
- package/dataform/controls/Button.d.ts +1 -1
- package/dataform/controls/CheckBox.d.ts +1 -1
- package/dataform/controls/ColorPicker.d.ts +1 -1
- package/dataform/controls/ComboBox.d.ts +1 -1
- package/dataform/controls/DateTextBox.d.ts +1 -1
- package/dataform/controls/FormControls.d.ts +1 -1
- package/dataform/controls/GridLayoutPanel.d.ts +1 -1
- package/dataform/controls/GridPanel.d.ts +1 -1
- package/dataform/controls/Image.d.ts +1 -1
- package/dataform/controls/Label.d.ts +1 -1
- package/dataform/controls/NumberSpinner.d.ts +1 -1
- package/dataform/controls/NumberTextBox.d.ts +1 -1
- package/dataform/controls/Panel.d.ts +1 -1
- package/dataform/controls/RadioButton.d.ts +1 -1
- package/dataform/controls/SelectBox.d.ts +1 -1
- package/dataform/controls/Slider.d.ts +1 -1
- package/dataform/controls/StackPanel.d.ts +1 -1
- package/dataform/controls/Switch.d.ts +1 -1
- package/dataform/controls/TabPanel.d.ts +1 -1
- package/dataform/controls/TablePanel.d.ts +1 -1
- package/dataform/controls/TextBox.d.ts +1 -1
- package/dataform/controls/Textarea.d.ts +1 -1
- package/dataform/controls/TimeTextBox.d.ts +1 -1
- package/dataform/controls/ToggleButton.d.ts +1 -1
- package/dataform/controls/Uploader.d.ts +1 -1
- package/dataform/controls/ValidationIcon.d.ts +1 -1
- package/dataform/controls/WizardPanel.d.ts +1 -1
- package/dataform/controls/_Control.d.ts +1 -1
- package/dataform/controls/_NumberConstraintsMixin.d.ts +1 -1
- package/dataform/controls/_StackContainerMixin.d.ts +1 -1
- package/dataview/DGridColumnPluginMixin.d.ts +1 -1
- package/dataview/DGridViewPlugin.d.ts +1 -1
- package/dataview/DataView.d.ts +1 -1
- package/dataview/DataViewBase.d.ts +1 -1
- package/dataview/DataViewController.d.ts +1 -1
- package/dataview/DataViewModel.d.ts +1 -1
- package/dataview/IconViewPlugin.d.ts +1 -1
- package/dataview/Pager.d.ts +1 -1
- package/dataview/_DGridView.d.ts +1 -1
- package/dataview/_IconView.d.ts +1 -1
- package/dataview/_ViewBase.d.ts +1 -1
- package/fileappsstore/FileAppStore.d.ts +1 -1
- package/geometryservice/GeometryService.d.ts +1 -1
- package/highlights/api.d.ts +2 -4
- package/map-actions/OpenPopupAction.d.ts +2 -1
- package/map-actions/ZoomToAction.d.ts +2 -1
- package/map-actions/api.d.ts +1 -1
- package/map-init-config/MapContentBuilderWidget.d.ts +1 -1
- package/map-widget/BasemapsParameterResolver.d.ts +9 -11
- package/map-widget/BlockedLayersRemover.d.ts +7 -3
- package/map-widget/Constraints.d.ts +16 -20
- package/map-widget/LODSynchronizer.d.ts +9 -4
- package/map-widget/LayerObserver.d.ts +39 -12
- package/map-widget/LayerTraverser.d.ts +28 -3
- package/map-widget/LayerVisibilityToolRuleProcessor.d.ts +8 -3
- package/map-widget/LayersParameterResolver.d.ts +10 -10
- package/map-widget/LayersParameterSyntax.d.ts +7 -2
- package/map-widget/MapEventBroadcaster.d.ts +7 -3
- package/map-widget/MapLoadingInfoWidget.d.ts +3 -2
- package/map-widget/MapWidget.d.ts +1 -2
- package/map-widget/MapWidgetFactory.d.ts +9 -11
- package/map-widget/MapWidgetModel.d.ts +53 -11
- package/map-widget/MapWidgetRegistration.d.ts +11 -46
- package/map-widget/Navigation.d.ts +6 -9
- package/map-widget/OfflineBasemapDefinitionFilter.d.ts +1 -2
- package/map-widget/ScaleToolRuleProcessor.d.ts +8 -3
- package/map-widget/SrsChangeService.d.ts +10 -29
- package/map-widget/SubLayersInfo.d.ts +46 -4
- package/map-widget/ViewModeToolRuleProcessor.d.ts +6 -4
- package/map-widget/ViewParameterResolver.d.ts +11 -6
- package/map-widget/ViewProvider.d.ts +22 -6
- package/map-widget/ViewReadyWatcher.d.ts +12 -6
- package/map-widget/WebMapLoadingVerification.d.ts +5 -3
- package/map-widget/api/Constraints.d.ts +109 -0
- package/map-widget/api/MapWidget.d.ts +9 -0
- package/map-widget/api/MapWidgetFactory.d.ts +37 -0
- package/map-widget/api/MapWidgetModel.d.ts +197 -0
- package/map-widget/api/MapWidgetRegistration.d.ts +51 -0
- package/map-widget/api/Navigation.d.ts +17 -0
- package/map-widget/api/SrsChangeService.d.ts +29 -0
- package/map-widget/api/index.d.ts +7 -0
- package/map-widget/module.d.ts +14 -12
- package/mapdraw-api/DefaultMapDrawing.d.ts +2 -1
- package/mapnavigation/HistoryImpl.d.ts +2 -1
- package/maptips/MapViewChangeWatcher.d.ts +2 -1
- package/notifier/NotifierUI.d.ts +1 -1
- package/omnisearch/DropDownMenu.d.ts +1 -1
- package/omnisearch/OmniSearchFactory.d.ts +1 -1
- package/omnisearch/OmniSearchModel.d.ts +1 -1
- package/omnisearch/RadioButton.d.ts +1 -1
- package/omnisearch/SearchUI.d.ts +1 -1
- package/omnisearch/SettingsWidget.d.ts +1 -1
- package/package.json +1 -1
- package/parametermanager/api.d.ts +4 -2
- package/printing/module.d.ts +1 -1
- package/resultcenter/ActionController.d.ts +1 -1
- package/resultcenter/BaseCommand.d.ts +1 -1
- package/resultcenter/DataModel.d.ts +1 -1
- package/resultcenter/DataModelBroadcaster.d.ts +1 -1
- package/resultcenter/DataViewController.d.ts +1 -1
- package/resultcenter/ExportResultsCommand.d.ts +1 -1
- package/resultcenter/PostfixAttributeTableLookupStrategy.d.ts +1 -1
- package/resultcenter/ResultcenterToolRuleProcessor.d.ts +1 -1
- package/resultcenter/StoreEventReceiver.d.ts +1 -1
- package/resultcenter/StoreRegistration.d.ts +1 -1
- package/resultcenter/TriggerShowResultCenter.d.ts +1 -1
- package/selection-resultcenter/ExecutionsModel.d.ts +1 -1
- package/selection-tools/ToolCommand.d.ts +2 -1
- package/selection-tools/ToolItem.d.ts +6 -6
- package/store-api/QueryExecution.d.ts +1 -1
- package/store-api/QueryExecutions.d.ts +1 -1
- package/system/component/ComponentConstants.d.ts +1 -1
- package/system/config/Configuration.d.ts +1 -1
- package/system/config/ManagedServiceFactory.d.ts +1 -1
- package/system/user/User.d.ts +1 -1
- package/system/user/UserEventRebroadcaster.d.ts +1 -1
- package/templatelayout/DefaultLayoutBreakPoints.d.ts +1 -1
- package/templatelayout/DojoClickPatch.d.ts +1 -1
- package/templatelayout/LayoutState.d.ts +1 -1
- package/templatelayout/WidgetDefinitions.d.ts +1 -1
- package/templatelayout-dijit/TemplateRenderer.d.ts +1 -1
- package/templatelayout-dijit/TemplateWidget.d.ts +1 -1
- package/templates/Template.d.ts +1 -1
- package/templates/TemplateEventBroadCaster.d.ts +1 -1
- package/templates/TemplateModel.d.ts +1 -1
- package/templates/TemplateSelector.d.ts +1 -1
- package/themes/Theme.d.ts +1 -1
- package/themes/ThemeBundleListener.d.ts +1 -1
- package/themes/ThemeEventBroadCaster.d.ts +1 -1
- package/themes/ThemeModel.d.ts +1 -1
- package/themes/ThemeSelector.d.ts +1 -1
- package/themes/ThemeStyleWriter.d.ts +1 -1
- package/themes/popup.d.ts +1 -1
- package/toc/BaseTocItemFactory.d.ts +2 -1
- package/toolrules/ToolActiveStateManager.d.ts +42 -2
- package/toolrules/ToolEventRebroadcaster.d.ts +16 -2
- package/toolrules/ToolRuleManager.d.ts +36 -2
- package/toolset/Drawer.d.ts +1 -1
- package/toolset/ToolsetManager.d.ts +1 -1
- package/toolset/ToolsetWindow.d.ts +1 -1
- package/toolset-config/ToolsetBuilderWidget.d.ts +1 -1
- package/windowmanager/WindowDnDContainer.d.ts +1 -1
- package/windowmanager/WindowDockingBar.d.ts +1 -1
- package/windowmanager/WindowDockingBarButton.d.ts +1 -1
- package/windowmanager/WindowManager.d.ts +1 -1
- package/windowmanager/WindowManagerFactory.d.ts +1 -1
- package/windowmanager/WindowReference.d.ts +1 -1
- package/windowmanager/WindowToolFactory.d.ts +1 -1
- package/wizard/CategoryList.d.ts +1 -1
- package/wizard/DataFormBuilderWidget.d.ts +1 -1
- package/wizard/DataFormBuilderWidgetFactory.d.ts +1 -1
- package/wizard/Menu.d.ts +1 -1
- package/wizard/MenuContent.d.ts +1 -1
- package/wizard/MenuController.d.ts +1 -1
- package/wizard/SaveAction.d.ts +1 -1
- package/wizard/ToolsDataFormWidgetFactory.d.ts +1 -1
- package/wizard/_BuilderWidget.d.ts +1 -1
- package/wizard/_Configurable.d.ts +1 -1
- package/apprt-fetch/globalConfig.d.ts +0 -7
- 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
|
-
|
|
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
|
-
|
|
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
|
|
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
|
|
1
|
+
declare const _default: any;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare const _default: any;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare const _default: any;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare const _default: any;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare const _default: any;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare const _default: any;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare const _default: any;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare const _default: any;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare const _default: any;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare const _default: any;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare const _default: any;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare const _default: any;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare const _default: any;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare const _default: any;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare const _default: any;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare const _default: any;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare const _default: any;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare const _default: any;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare const _default: any;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare const _default: any;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare const _default: any;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare
|
|
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[]):
|
|
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):
|
|
10
|
-
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
32
|
+
readonly sourceName: PropertyName;
|
|
33
33
|
/** The property names on the source side (for multiple source properties). */
|
|
34
|
-
readonly sourceNames: readonly
|
|
34
|
+
readonly sourceNames: readonly PropertyName[];
|
|
35
35
|
/** The property name on the target side (for single source property). */
|
|
36
|
-
readonly targetName:
|
|
36
|
+
readonly targetName: PropertyName;
|
|
37
37
|
/** The property names on the target side (for multiple source properties). */
|
|
38
|
-
readonly targetNames: readonly
|
|
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:
|
|
108
|
-
sync(leftProperty:
|
|
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:
|
|
134
|
-
syncToLeft(leftProperty:
|
|
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<
|
|
154
|
-
syncAll(...properties: (
|
|
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<
|
|
173
|
-
syncAllToRight(...properties: (
|
|
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<
|
|
192
|
-
syncAllToLeft(...properties: (
|
|
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
|
|
256
|
-
* const binding =
|
|
256
|
+
* import { Binding } from "apprt-binding/Binding";
|
|
257
|
+
* const binding = Binding.for(left, right);
|
|
257
258
|
* ```
|
|
258
259
|
*/
|
|
259
|
-
declare const
|
|
260
|
-
export default
|
|
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:
|
|
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:
|
|
25
|
-
getVersionOf(propertyName:
|
|
26
|
-
isVersionOf(propertyName:
|
|
27
|
-
set(propertyName:
|
|
28
|
-
setIfVersionMatch(propertyName:
|
|
29
|
-
getTrackedProperties(groupId?: GroupId):
|
|
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:
|
|
32
|
+
track(propertyName: PropertyName, groupId?: GroupId): void;
|
|
32
33
|
untrackGroup(groupId?: GroupId): void;
|
|
33
|
-
untrack(propertyName:
|
|
34
|
-
watch(propertyName:
|
|
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:
|
|
21
|
+
watch(propName: PropertyName, callback: InternalWatchCallback): WatchHandle;
|
|
21
22
|
/**
|
|
22
23
|
* Destroys the Watchable and returns the original bindable, if any.
|
|
23
24
|
*/
|
package/apprt-core/Logger.d.ts
CHANGED
|
@@ -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][];
|
package/apprt-core/Mutable.d.ts
CHANGED
|
@@ -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?:
|
|
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:
|
|
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
|
|
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<
|
|
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,
|
|
1
|
+
import { RegisterOptions, SupportedValueTypes, ValueOrValueProvider } from "./config";
|
|
2
2
|
import "dojo/_base/sniff";
|
|
3
3
|
interface RegisterFunction<T> {
|
|
4
|
-
(key: keyof T, valueOrProvider:
|
|
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;
|