@conterra/ct-mapapps-typings 4.13.1 → 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.
- package/README.md +23 -3
- package/agolauthn/AuthenticationPlugin.d.ts +2 -2
- package/agolauthn/SyncAuthnState.d.ts +4 -2
- package/agolauthn/module.d.ts +2 -1
- package/agssearch/AGSStoreFactory.d.ts +2 -2
- package/agssearch/FilterStoreFactory.d.ts +1 -6
- package/agssearch/LayerStore.d.ts +9 -8
- package/app-portal-registration/PortalItemColumnExtender.d.ts +1 -1
- package/app-portal-registration/module.d.ts +5 -1
- package/appautorefresh/Refresher.d.ts +1 -1
- package/appautorefresh/module.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/module.d.ts +4 -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/appmanagement/module.d.ts +11 -1
- package/apprt/I18N.d.ts +4 -4
- 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/Cancel.d.ts +1 -0
- package/apprt-core/Locale.d.ts +18 -2
- package/apprt-core/Logger.d.ts +23 -1
- package/apprt-core/Mutable.d.ts +7 -6
- package/apprt-core/TreeWalker.d.ts +2 -2
- package/apprt-core/Types.d.ts +4 -0
- package/apprt-core/base64.d.ts +73 -0
- package/apprt-core/comparators.d.ts +8 -0
- package/apprt-core/config-dojo.d.ts +8 -0
- package/apprt-core/config.d.ts +339 -23
- package/apprt-core/deprecate.d.ts +1 -1
- package/apprt-core/string-escape.d.ts +1 -0
- package/apprt-core/url-utils.d.ts +15 -1
- package/apprt-dom/geometry.d.ts +40 -0
- package/apprt-dom/index.d.ts +2 -1
- package/apprt-esri-init/CredentialStorage.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 +18 -0
- package/apprt-esri-init/init-config.d.ts +1 -2
- package/apprt-fetch/ContentType.d.ts +58 -0
- package/apprt-fetch/TimeoutController.d.ts +16 -0
- package/apprt-fetch/config.d.ts +30 -0
- package/apprt-fetch/fetch.d.ts +58 -0
- package/apprt-fetch/index.d.ts +470 -0
- package/apprt-fetch/origin.d.ts +26 -0
- package/apprt-fetch/package.json +5 -0
- package/apprt-request/impl/ProxyRule.d.ts +1 -1
- package/apprt-streams/Stream.d.ts +53 -4
- package/apprt-streams/StreamPiece.d.ts +0 -3
- package/apprt-tokens/TokenRequestInterceptor.d.ts +10 -0
- package/apprt-tokens/TokenServiceImpl.d.ts +4 -0
- package/apprt-tokens/module.d.ts +1 -0
- package/appsoverview/DataViewController.d.ts +1 -1
- package/appsoverview/module.d.ts +1 -1
- package/appsstore/AppStoreService.d.ts +1 -1
- package/appsstore/module.d.ts +4 -1
- package/apptemplatemanagement/CreateTemplateController.d.ts +1 -1
- package/apptemplatemanagement/TemplateDetailsController.d.ts +1 -1
- package/apptemplatemanagement/module.d.ts +2 -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/authentication/module.d.ts +10 -1
- package/banner/module.d.ts +1 -1
- package/banner-config/DataFormBuilderWidgetFactory.d.ts +7 -2
- package/banner-config/module.d.ts +1 -1
- package/bundlemanagement/BundleDetailsController.d.ts +1 -1
- package/bundlemanagement/BundleStore.d.ts +1 -0
- package/bundlemanagement/CreateBundleController.d.ts +1 -1
- package/bundlemanagement/module.d.ts +5 -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/bundleupdatechecker/module.d.ts +2 -1
- package/coordinateconversion/FormatterUtil.d.ts +2 -2
- package/coordinateconversion/module.d.ts +2 -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 -1
- package/coordinateviewer/module.d.ts +2 -1
- 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/desktop/util.d.ts +7 -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/TypeFormat.d.ts +15 -5
- package/ct/util/css.d.ts +1 -2
- 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/CustomInfoController.d.ts +16 -2
- package/custominfo/module.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/custominfo-config/module.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/ObjectBinding.d.ts +9 -2
- package/dataform/ObjectBindingResolver.d.ts +9 -2
- package/dataform/StatefulBinding.d.ts +14 -2
- 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/dataform/module.d.ts +4 -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/editing/module.d.ts +1 -1
- package/fileappsstore/FileAppStore.d.ts +1 -1
- package/fileappsstore/module.d.ts +1 -1
- package/filesaver/FileSaver.d.ts +5 -2
- package/filesaver/lib/FileSaver.d.ts +1 -5
- package/filesaver/module.d.ts +1 -1
- package/geojson/Transformer.d.ts +54 -2
- package/geojson/module.d.ts +1 -1
- package/geometryservice/GeometryService.d.ts +1 -1
- package/highlights/api.d.ts +3 -5
- package/integration-map/IntegrationExtensionImpl.d.ts +6 -5
- package/integration-map/api.d.ts +3 -3
- package/locateme/module.d.ts +3 -1
- package/locateme-gpsgate/module.d.ts +1 -1
- package/locator-store/MetadataProvider.d.ts +2 -2
- package/locator-store/module.d.ts +1 -1
- package/managementlayout/module.d.ts +1 -1
- package/managementlayout/template/template.d.ts +1 -1
- package/manager-monaco/EditorControlFactory.d.ts +1 -0
- package/manager-monaco/EditorWidget.d.ts +1 -0
- package/manager-monaco/plugins/{BundleValidationPlugin.d.ts → AppValidationPlugin.d.ts} +4 -3
- package/manager-monaco/plugins/BundleInfoHoverPlugin.d.ts +5 -5
- package/manager-monaco/plugins/BundleRepository.d.ts +7 -12
- package/manager-monaco/plugins/Registry.d.ts +25 -23
- package/map-actions/HighlightAction.d.ts +1 -1
- package/map-actions/OpenPopupAction.d.ts +2 -1
- package/map-actions/ZoomToAction.d.ts +2 -1
- package/map-actions/api.d.ts +16 -6
- package/map-config-api/BasemapConfigParser.d.ts +27 -10
- package/map-init-config/MapContentBuilderWidget.d.ts +1 -1
- package/map-init-config/module.d.ts +4 -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 +54 -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 +47 -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 +203 -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/mapnavigation/module.d.ts +0 -1
- package/maptips/MapViewChangeWatcher.d.ts +2 -1
- package/measurement-2d/module.d.ts +2 -1
- package/measurement-3d/module.d.ts +1 -1
- package/native-app-exporter/module.d.ts +4 -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/omnisearch/module.d.ts +9 -1
- package/omnisearch-portalitem/module.d.ts +1 -1
- package/package.json +1 -1
- package/parametermanager/api.d.ts +4 -2
- package/parametersearch/Config.d.ts +1 -0
- package/popups/PopupCustomizationsResolver.d.ts +8 -8
- package/popups/TypedFactoryIndex.d.ts +2 -2
- package/popups/arc/ActionFactory.d.ts +2 -2
- package/popups/arc/PopupDefinitionFactory.d.ts +2 -2
- package/portal-app-security/CheckAccess.d.ts +4 -0
- package/portal-item-service/PortalItemService.d.ts +3 -3
- package/portal-item-service/module.d.ts +1 -1
- package/portal-search/PortalStoreFactory.d.ts +1 -1
- package/portal-search/module.d.ts +2 -1
- package/portal-security/module.d.ts +1 -1
- package/portal-security-config/module.d.ts +1 -1
- package/portal-token-conversion/module.d.ts +1 -1
- package/portal-webitem-map/module.d.ts +2 -1
- package/portal-webitem-map-config/AGOLStore.d.ts +18 -2
- package/portal-webitem-map-config/module.d.ts +3 -1
- package/portal-webscene-slides/module.d.ts +7 -1
- package/printing/module.d.ts +1 -1
- package/reportmanagement/module.d.ts +3 -1
- package/reportstore/module.d.ts +1 -1
- package/reporttool/module.d.ts +5 -1
- package/result-api/AbstractTableModel.d.ts +55 -0
- package/result-api/OpenResultsServiceImpl.d.ts +3 -3
- package/result-api/ResultModelFactoryImpl.d.ts +5 -0
- package/result-api/ResultModelImpl.d.ts +22 -0
- package/result-api/SelectionEventHandler.d.ts +8 -0
- package/result-api/StoreBackedTableModel.d.ts +32 -0
- package/result-api/TableActionResolverImpl.d.ts +23 -0
- package/result-api/actions/CsvConverter.d.ts +18 -0
- package/result-api/actions/ExportCsvAction.d.ts +15 -0
- package/result-api/actions/ZoomToItemAction.d.ts +14 -0
- package/result-api/actions/ZoomToSelectedAction.d.ts +13 -0
- package/result-api/api/actions.d.ts +209 -0
- package/result-api/api/{all.d.ts → index.d.ts} +1 -0
- package/result-api/api/model.d.ts +181 -60
- package/result-api/api/service.d.ts +24 -5
- package/result-api/api/ui.d.ts +2 -3
- package/result-api/module.d.ts +6 -0
- package/result-ui/CellRenderer.d.ts +27 -0
- package/result-ui/ConditionalTooltip.d.ts +19 -0
- package/result-ui/RecordVisualizer.d.ts +50 -0
- package/result-ui/ResultUIFactory.d.ts +13 -1
- package/result-ui/ResultUIImpl.d.ts +23 -0
- package/result-ui/Store.d.ts +157 -0
- package/result-ui/TableStateToolRuleProcessor.d.ts +17 -0
- package/result-ui/VisualizationLayerResolver.d.ts +14 -0
- package/result-ui/formatting.d.ts +9 -0
- package/result-ui/module.d.ts +3 -3
- package/result-ui/types.d.ts +6 -29
- 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/RemoveResultsCommand.d.ts +4 -2
- 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/resultcenter/VisualizationLayerResolver.d.ts +4 -1
- package/resultcenter/module.d.ts +18 -1
- package/scalebar/module.d.ts +1 -1
- package/search-api/SearchServiceImpl.d.ts +8 -1
- package/search-api/StoreFacade.d.ts +3 -5
- package/search-ui/HighlightedString.d.ts +2 -2
- package/search-ui/SearchController.d.ts +2 -2
- package/search-ui/module.d.ts +0 -1
- package/selection-resultcenter/CachingStore.d.ts +3 -4
- package/selection-resultcenter/ExecutionsController.d.ts +1 -1
- package/selection-resultcenter/ExecutionsModel.d.ts +1 -1
- package/selection-resultcenter/module.d.ts +5 -1
- package/selection-services/SearchSource.d.ts +1 -0
- package/selection-services/module.d.ts +5 -1
- package/selection-tools/ToolCommand.d.ts +2 -1
- package/selection-tools/ToolItem.d.ts +6 -6
- package/selection-tools/module.d.ts +3 -1
- package/selection-ui/module.d.ts +1 -1
- package/selection-ui-config/module.d.ts +1 -1
- package/sketching/module.d.ts +1 -1
- package/store-api/QueryExecution.d.ts +1 -1
- package/store-api/QueryExecutions.d.ts +1 -1
- package/store-api/api/Store.d.ts +8 -1
- package/store-api/rest/BaseRestStore.d.ts +5 -0
- package/style-guide/style-guide-layout/template.d.ts +2 -2
- package/system/component/ComponentConstants.d.ts +1 -1
- package/system/config/Configuration.d.ts +1 -1
- package/system/config/ConfigurationPlugin.d.ts +84 -2
- package/system/config/ConfigurationStore.d.ts +23 -2
- package/system/config/DefaultPersistencePlugin.d.ts +1 -1
- package/system/config/JSONConfigurationAdapter.d.ts +36 -2
- package/system/config/ManagedService.d.ts +113 -2
- 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/template-appsoverview/template.d.ts +2 -2
- package/template-seasons/seasons.d.ts +3 -3
- package/templatelayout/AppRootSizeController.d.ts +10 -2
- package/templatelayout/DefaultLayoutBreakPoints.d.ts +1 -1
- package/templatelayout/DojoClickPatch.d.ts +1 -1
- package/templatelayout/LayoutState.d.ts +1 -1
- package/templatelayout/LayoutTemplateToolRuleProcessor.d.ts +14 -2
- 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/test-utils/later.d.ts +39 -0
- package/test-utils/waitForProperty.d.ts +27 -0
- package/theme-tester/test-layout/test-layout.d.ts +2 -2
- 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/toc/model/TocItem.d.ts +3 -1
- package/toolrules/StoreToolRuleProcessor.d.ts +11 -2
- package/toolrules/ToolActiveStateManager.d.ts +42 -2
- package/toolrules/ToolEventRebroadcaster.d.ts +14 -2
- package/toolrules/ToolRuleContext.d.ts +18 -2
- package/toolrules/ToolRuleManager.d.ts +36 -2
- package/toolrules/ToolStateEventListener.d.ts +23 -2
- package/toolrules/UserInRoleToolRuleProcessor.d.ts +16 -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/viewmodeswitcher/module.d.ts +1 -1
- package/vuetify-component-overview/component-overview-layout/template.d.ts +2 -2
- 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/wizard/module.d.ts +11 -1
- package/agssearch-config/main.d.ts +0 -1
- package/agssearch-config/package.json +0 -5
- package/app-portal-registration/main.d.ts +0 -1
- package/app-portal-registration/package.json +0 -5
- package/appbundlemanagement/main.d.ts +0 -1
- package/appbundlemanagement/package.json +0 -5
- package/appmanagement/main.d.ts +0 -1
- package/appmanagement/package.json +0 -5
- package/apprt-request/dconfig.d.ts +0 -2
- package/appsoverview/main.d.ts +0 -1
- package/appsoverview/package.json +0 -5
- package/appsstore/main.d.ts +0 -1
- package/appsstore/package.json +0 -5
- package/apptemplatemanagement/main.d.ts +0 -1
- package/apptemplatemanagement/package.json +0 -5
- package/authentication/main.d.ts +0 -1
- package/authentication/package.json +0 -5
- package/banner-config/main.d.ts +0 -1
- package/banner-config/package.json +0 -5
- package/bundlemanagement/main.d.ts +0 -1
- package/bundlemanagement/package.json +0 -5
- package/bundletools/main.d.ts +0 -1
- package/bundletools/package.json +0 -5
- package/bundleupdatechecker/main.d.ts +0 -1
- package/bundleupdatechecker/package.json +0 -5
- package/console/main.d.ts +0 -1
- package/console/package.json +0 -5
- package/coordinateconversion/main.d.ts +0 -1
- package/coordinateconversion-config/main.d.ts +0 -1
- package/coordinatetransformer/main.d.ts +0 -1
- package/coordinatetransformer/package.json +0 -5
- package/coordinateviewer/main.d.ts +0 -1
- package/coordinateviewer-config/main.d.ts +0 -1
- package/custominfo-config/main.d.ts +0 -1
- package/custominfo-config/package.json +0 -5
- package/editing/main.d.ts +0 -1
- package/editing-config/main.d.ts +0 -1
- package/graphics/module.d.ts +0 -1
- package/locateme/main.d.ts +0 -1
- package/locateme/package.json +0 -5
- package/locateme-config/main.d.ts +0 -1
- package/locateme-config/package.json +0 -5
- package/locator-store/main.d.ts +0 -1
- package/locator-store/package.json +0 -5
- package/locator-store-config/main.d.ts +0 -1
- package/locator-store-config/package.json +0 -5
- package/manager-monaco/plugins/ExcludeFromSuggest.d.ts +0 -5
- package/map-init-config/main.d.ts +0 -1
- package/map-init-config/package.json +0 -5
- package/measurement-2d/main.d.ts +0 -1
- package/measurement-2d-config/main.d.ts +0 -1
- package/measurement-3d/main.d.ts +0 -1
- package/measurement-3d-config/main.d.ts +0 -1
- package/native-app-exporter/main.d.ts +0 -1
- package/native-app-exporter/package.json +0 -5
- package/omnisearch/main.d.ts +0 -1
- package/omnisearch/package.json +0 -5
- package/omnisearch-config/main.d.ts +0 -1
- package/omnisearch-config/package.json +0 -5
- package/portal-search/main.d.ts +0 -1
- package/portal-search/package.json +0 -5
- package/portal-security-config/main.d.ts +0 -1
- package/portal-security-config/package.json +0 -5
- package/portal-webitem-map/main.d.ts +0 -1
- package/portal-webitem-map-config/main.d.ts +0 -1
- package/portal-webitem-map-config/package.json +0 -5
- package/portal-webscene-slides/main.d.ts +0 -1
- package/portal-webscene-slides/package.json +0 -5
- package/printing/main.d.ts +0 -1
- package/printing-config/main.d.ts +0 -1
- package/printing-config/package.json +0 -5
- package/reportmanagement/main.d.ts +0 -1
- package/reportmanagement/package.json +0 -5
- package/reporttool/main.d.ts +0 -1
- package/result-ui/ResultUIController.d.ts +0 -8
- package/result-ui/SelectionBridge.d.ts +0 -6
- package/resultcenter/main.d.ts +0 -1
- package/resultcenter/package.json +0 -5
- package/scalebar/main.d.ts +0 -1
- package/scalebar-config/main.d.ts +0 -1
- package/scalebar-config/package.json +0 -5
- package/selection-resultcenter/main.d.ts +0 -1
- package/selection-resultcenter/package.json +0 -5
- package/selection-services/main.d.ts +0 -1
- package/selection-tools/main.d.ts +0 -1
- package/selection-ui/main.d.ts +0 -1
- package/selection-ui-config/main.d.ts +0 -1
- package/selection-ui-config/package.json +0 -5
- package/sketching/main.d.ts +0 -1
- package/sketching/package.json +0 -5
- package/sketching-config/main.d.ts +0 -1
- package/template-appsoverview/module.d.ts +0 -1
- package/template-seasons/module.d.ts +0 -1
- package/templates/main.d.ts +0 -1
- package/templates/package.json +0 -5
- package/templates-config/main.d.ts +0 -1
- package/templates-config/package.json +0 -5
- package/themes/main.d.ts +0 -1
- package/themes/package.json +0 -5
- package/themes-config/main.d.ts +0 -1
- package/themes-config/package.json +0 -5
- package/toolset-config/main.d.ts +0 -1
- package/toolset-config/package.json +0 -5
- package/viewmodeswitcher/main.d.ts +0 -1
- package/windowmanager/main.d.ts +0 -1
- package/windowmanager/package.json +0 -5
- package/wizard/main.d.ts +0 -1
- package/wizard/package.json +0 -5
|
@@ -1,111 +1,230 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
1
|
+
/// <reference types="arcgis-js-api" />
|
|
2
|
+
import type { EventSource } from "apprt-core/Events";
|
|
3
|
+
import type { DeepReadonly } from "apprt-core/Types";
|
|
4
|
+
import type { Geometry, SpatialReference } from "esri/geometry";
|
|
3
5
|
/**
|
|
4
6
|
* The event specifiers for the result model.
|
|
5
7
|
* Key: event name, Type: event type in event handler.
|
|
6
8
|
*/
|
|
7
9
|
export interface ResultModelEvents {
|
|
8
|
-
/**
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
/** Emitted after a new table has been added to the model. */
|
|
11
|
+
"table-added": {
|
|
12
|
+
id: string;
|
|
13
|
+
};
|
|
14
|
+
/** Emitted after a table has been removed from the model. */
|
|
15
|
+
"table-removed": {
|
|
16
|
+
id: string;
|
|
15
17
|
};
|
|
18
|
+
/** Emitted when the model is destroyed. */
|
|
19
|
+
"destroyed": void;
|
|
16
20
|
}
|
|
21
|
+
/**
|
|
22
|
+
* A result model represents a collection of result tables.
|
|
23
|
+
*/
|
|
17
24
|
export interface ResultModel extends EventSource<ResultModelEvents> {
|
|
18
25
|
/**
|
|
19
|
-
*
|
|
20
|
-
* The UI should display this title in a prominent position and size.
|
|
26
|
+
* A model may have multiple result tables, each conceptually resembling a table of records.
|
|
21
27
|
*/
|
|
22
|
-
readonly
|
|
28
|
+
readonly tables: readonly TableModel<any>[];
|
|
29
|
+
/** Destroys all its child table models. Destruction emits the 'destroyed' event. */
|
|
30
|
+
destroy(): void;
|
|
23
31
|
/**
|
|
24
|
-
*
|
|
32
|
+
* Attempts to remove the table model with the given `id`.
|
|
33
|
+
* Returns `true` and emits the `table-removed` events if the table was found.
|
|
34
|
+
* Returns `false` and does nothing otherwise.
|
|
25
35
|
*/
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* A model may have multiple result sets, each conceptually resembling a table of records.
|
|
29
|
-
*/
|
|
30
|
-
readonly results: readonly ResultSet<any>[];
|
|
36
|
+
removeTableModel(id: string): boolean;
|
|
31
37
|
}
|
|
32
38
|
/**
|
|
33
|
-
* The event specifiers for the result
|
|
39
|
+
* The event specifiers for the result table.
|
|
34
40
|
* Key: event name, Type: event type in event handler.
|
|
35
41
|
*/
|
|
36
|
-
export interface
|
|
37
|
-
/** Emitted when the state of the result
|
|
42
|
+
export interface TableModelEvents {
|
|
43
|
+
/** Emitted when the state of the result table changed. */
|
|
38
44
|
"state-changed": {
|
|
39
|
-
state:
|
|
45
|
+
state: TableState;
|
|
40
46
|
};
|
|
41
|
-
/** Emitted when the total number of results in the
|
|
42
|
-
"total-changed": {
|
|
43
|
-
|
|
47
|
+
/** Emitted when the total number of results in the table changed. */
|
|
48
|
+
"total-items-changed": {
|
|
49
|
+
totalItems: TotalItemInfo | undefined;
|
|
44
50
|
};
|
|
45
51
|
/** Emitted when the sort order changed. */
|
|
46
|
-
"
|
|
47
|
-
|
|
52
|
+
"sorted-by-changed": {
|
|
53
|
+
sortedBy: DeepReadonly<SortSpecifier> | undefined;
|
|
48
54
|
};
|
|
55
|
+
/** Emitted when the table model is destroyed. */
|
|
56
|
+
"destroyed": void;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Represents the most generic form of a result item.
|
|
60
|
+
* Note that table models must not be changed directly from the outside.
|
|
61
|
+
* Use modifying methods on the table model instead!
|
|
62
|
+
*/
|
|
63
|
+
export interface TableItem {
|
|
64
|
+
/** Unique id in its model. */
|
|
65
|
+
id: string;
|
|
66
|
+
/** Raw attributes of this item (see `fields` in model interface). */
|
|
67
|
+
attributes: Record<string, unknown>;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Returned by the model when loading item geometries.
|
|
71
|
+
*/
|
|
72
|
+
export interface ItemGeometry {
|
|
73
|
+
/** Unique id of the table item that this geometry belongs to. */
|
|
74
|
+
id: string;
|
|
75
|
+
/** Item geometry */
|
|
76
|
+
geometry: Geometry;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Represents a collection of result items.
|
|
80
|
+
* All items in a table have the same shape.
|
|
81
|
+
*/
|
|
82
|
+
export declare type TableModel<T extends TableItem = TableItem> = TableModelBase<T> & EnforceInvariants<TableModelBase<T>>;
|
|
83
|
+
/** Holds information about the total number of items in a model. */
|
|
84
|
+
export interface TotalItemInfo {
|
|
85
|
+
/** The number of items shown to the user. */
|
|
86
|
+
count: number;
|
|
87
|
+
/** Whether there were more items that are not shown (e.g. query limits exceeded). */
|
|
88
|
+
hasMoreItems: boolean;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Options of this type can be passed to a model during load.
|
|
92
|
+
*/
|
|
93
|
+
export interface LoadOptions {
|
|
94
|
+
maxItems?: number;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Represents the capabilities of a table model.
|
|
98
|
+
*/
|
|
99
|
+
export interface TableModelCapabilities {
|
|
100
|
+
/** Whether items in this model have a geometry. */
|
|
101
|
+
supportsGeometry: boolean;
|
|
49
102
|
}
|
|
50
|
-
/**
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
103
|
+
/**
|
|
104
|
+
* Represents a collection of table items.
|
|
105
|
+
* This interface must be implemented by a table model.
|
|
106
|
+
*
|
|
107
|
+
* Note that this interface does not express all invariants through the type model.
|
|
108
|
+
* For example, when a model has been loaded successfully, `fields` and other metadata must be available.
|
|
109
|
+
* You can cast instances of `TableModelBase<T>` to `TableModel<T>` manually to *promise* that you respect the
|
|
110
|
+
* invariants of this interface.
|
|
111
|
+
*/
|
|
112
|
+
export interface TableModelBase<T extends TableItem = TableItem> extends EventSource<TableModelEvents> {
|
|
113
|
+
/** The unique id of this table within its parent model. */
|
|
57
114
|
readonly id: string;
|
|
58
|
-
/** A human readable title for this
|
|
115
|
+
/** A human readable title for this table. */
|
|
59
116
|
readonly title: string;
|
|
60
|
-
/** The current load state of this
|
|
61
|
-
readonly state:
|
|
62
|
-
/**
|
|
63
|
-
|
|
117
|
+
/** The current load state of this table. */
|
|
118
|
+
readonly state: TableState;
|
|
119
|
+
/**
|
|
120
|
+
* Capabilities of this model.
|
|
121
|
+
* Present if `state === "loaded"`, although it may change.
|
|
122
|
+
*/
|
|
123
|
+
readonly capabilities: DeepReadonly<TableModelCapabilities> | undefined;
|
|
124
|
+
/**
|
|
125
|
+
* The set of fields used by the items in this store.
|
|
126
|
+
* Present if `state === "loaded"`.
|
|
127
|
+
*/
|
|
128
|
+
readonly fields: DeepReadonly<TableField[]> | undefined;
|
|
64
129
|
/** The current sort order. */
|
|
65
|
-
readonly
|
|
66
|
-
/**
|
|
67
|
-
|
|
68
|
-
|
|
130
|
+
readonly sortedBy: DeepReadonly<SortSpecifier> | undefined;
|
|
131
|
+
/**
|
|
132
|
+
* The total number of results that can be shown to the user.
|
|
133
|
+
* Present if `state === "loaded"`, although it may change.
|
|
134
|
+
*/
|
|
135
|
+
readonly totalItems: TotalItemInfo | undefined;
|
|
136
|
+
/**
|
|
137
|
+
* An error that occurred while loading this table.
|
|
138
|
+
* Present if `state === "error"`.
|
|
139
|
+
*/
|
|
69
140
|
readonly loadError: Error | undefined;
|
|
141
|
+
/** Performs cleanup. Destruction emits the `destroyed` event.*/
|
|
142
|
+
destroy(): void;
|
|
143
|
+
/**
|
|
144
|
+
* Called once by the UI on initialization.
|
|
145
|
+
* The UI can provide initial options such as the maximum number of items to fetch.
|
|
146
|
+
* This method should trigger a state change from `not-loaded` to `loading` / `loaded`,
|
|
147
|
+
* after which metadata should be available.
|
|
148
|
+
*/
|
|
149
|
+
load(options?: LoadOptions): Promise<void>;
|
|
150
|
+
/**
|
|
151
|
+
* Waits until the table is loaded.
|
|
152
|
+
* After the promise resolved, the model's state will be "loaded",
|
|
153
|
+
* i.e. metadata will be available.
|
|
154
|
+
*/
|
|
155
|
+
whenLoaded(): Promise<void>;
|
|
156
|
+
/**
|
|
157
|
+
* Updates the sort order.
|
|
158
|
+
* May throw an exception if the field is not known or if it does not support sorting.
|
|
159
|
+
*
|
|
160
|
+
* On success, the `sortBy` property is updated and the `sort-by-changed` event is thrown.
|
|
161
|
+
*/
|
|
162
|
+
setSortedBy(spec: SortSpecifier): void;
|
|
70
163
|
/**
|
|
71
164
|
* Returns up to `count` items starting from `startIndex`.
|
|
72
165
|
* This is typically used by the UI to render the contents of a page.
|
|
166
|
+
*
|
|
167
|
+
* The items order for this method is affected by the sort order.
|
|
168
|
+
*
|
|
169
|
+
* This method should only return fewer than `count` items if the query
|
|
170
|
+
* goes beyond the `total` number of items.
|
|
171
|
+
*
|
|
172
|
+
* TODO: Probably does not need to be async if we require that all items are always loaded
|
|
173
|
+
* or that only loaded items may be accessed.
|
|
73
174
|
*/
|
|
74
|
-
|
|
175
|
+
getItemsByRows(startIndex: number, count: number): Promise<T[]>;
|
|
75
176
|
/**
|
|
76
|
-
*
|
|
77
|
-
*
|
|
177
|
+
* Searches for the items with the given ids and returns them.
|
|
178
|
+
*
|
|
179
|
+
* NOTE: May currently throw if an unknown item id is used.
|
|
78
180
|
*/
|
|
79
|
-
|
|
181
|
+
getItemsById(itemIds: string[]): Promise<T[]>;
|
|
182
|
+
/**
|
|
183
|
+
* Returns all item ids known to the model.
|
|
184
|
+
*/
|
|
185
|
+
getAllItemIds(): Promise<string[]>;
|
|
186
|
+
/**
|
|
187
|
+
* Returns an array of geometries for the selected results.
|
|
188
|
+
* This is typically used to show the results in the map.
|
|
189
|
+
* The requested spatial reference system is forwarded to the underlying implementation.
|
|
190
|
+
* The implementation must return geometries in the requested SRS or thrown an error.
|
|
191
|
+
*
|
|
192
|
+
* NOTE: This API is unfinished - it will always fetch all geometries.
|
|
193
|
+
*
|
|
194
|
+
* This method is optional as not every data source supports geometries.
|
|
195
|
+
*/
|
|
196
|
+
getGeometries?(sr: SpatialReference): Promise<ItemGeometry[]>;
|
|
80
197
|
}
|
|
81
198
|
/**
|
|
82
|
-
* Represents the state of a
|
|
199
|
+
* Represents the state of a table model.
|
|
83
200
|
*
|
|
84
201
|
* The different states must behave as follows:
|
|
85
202
|
*
|
|
86
203
|
* - "loading":
|
|
87
|
-
* The
|
|
204
|
+
* The table is currently loading. Metadata (e.g. fields, total etc.) may not be available.
|
|
88
205
|
*
|
|
89
206
|
* - "loaded":
|
|
90
|
-
* The
|
|
207
|
+
* The table has initialized.
|
|
91
208
|
* Metadata must be available (e.g. fields must be a valid array).
|
|
92
209
|
* Note that this does not mean that all _Items_ need to be loaded, those can be fetched later.
|
|
93
210
|
*
|
|
94
211
|
* - "error":
|
|
95
|
-
* An error occurred while loading the
|
|
212
|
+
* An error occurred while loading the table.
|
|
96
213
|
* The `loadError` field must contain a valid error value explaining what happened.
|
|
97
214
|
*/
|
|
98
|
-
export declare type
|
|
99
|
-
/** Represents an item field (or attribute) within a
|
|
100
|
-
export interface
|
|
215
|
+
export declare type TableState = "not-loaded" | "loading" | "loaded" | "error";
|
|
216
|
+
/** Represents an item field (or attribute) within a table model. */
|
|
217
|
+
export interface TableField {
|
|
101
218
|
/** The raw property name of this field. */
|
|
102
219
|
name: string;
|
|
103
|
-
/** The
|
|
104
|
-
type
|
|
220
|
+
/** The UI implementation can select an appropriate style based on the field type. */
|
|
221
|
+
type: string;
|
|
105
222
|
/** The display title of this field, e.g. used as a column header. */
|
|
106
|
-
|
|
223
|
+
title: string;
|
|
224
|
+
/** Whether this field represents an object identifier. Default: false. */
|
|
225
|
+
identifier?: boolean;
|
|
107
226
|
}
|
|
108
|
-
/** Specifies the sort order in a result
|
|
227
|
+
/** Specifies the sort order in a result table. */
|
|
109
228
|
export interface SortSpecifier {
|
|
110
229
|
/** The field being sorted by. */
|
|
111
230
|
fieldName: string;
|
|
@@ -115,11 +234,13 @@ export interface SortSpecifier {
|
|
|
115
234
|
declare type MakeRequired<T, K extends keyof T> = {
|
|
116
235
|
[P in K]: NonNullable<T[P]>;
|
|
117
236
|
};
|
|
118
|
-
declare type EnforceInvariants<T extends
|
|
237
|
+
declare type EnforceInvariants<T extends TableModelBase<any>> = ({
|
|
238
|
+
readonly state: "not-loaded";
|
|
239
|
+
}) | ({
|
|
119
240
|
readonly state: "loading";
|
|
120
241
|
}) | ({
|
|
121
242
|
readonly state: "loaded";
|
|
122
|
-
} & MakeRequired<T, "fields" | "
|
|
243
|
+
} & MakeRequired<T, "fields" | "totalItems">) | ({
|
|
123
244
|
readonly state: "error";
|
|
124
245
|
} & MakeRequired<T, "loadError">);
|
|
125
246
|
export {};
|
|
@@ -1,11 +1,30 @@
|
|
|
1
|
+
import { ComplexQueryExpression } from "store-api/api/ComplexQueryLang";
|
|
2
|
+
import { AsyncStore, QueryOptions } from "store-api/api/Store";
|
|
1
3
|
import { ResultModel } from "./model";
|
|
2
4
|
export interface Handle {
|
|
3
5
|
remove(): void;
|
|
4
6
|
}
|
|
5
|
-
/**
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
/**
|
|
8
|
+
* Provides a service to show a result model in the UI.
|
|
9
|
+
*
|
|
10
|
+
* The service can be injected by referencing `"result-api.OpenResultsService"`.
|
|
11
|
+
*/
|
|
9
12
|
export interface OpenResultsService {
|
|
10
|
-
|
|
13
|
+
/**
|
|
14
|
+
* Opens the given model in the UI and returns a handle that allows the caller
|
|
15
|
+
* to hide the model again.
|
|
16
|
+
*/
|
|
17
|
+
open(model: ResultModel): Handle;
|
|
18
|
+
}
|
|
19
|
+
export interface ResultModelFactoryOptions {
|
|
20
|
+
topicTitle: string;
|
|
21
|
+
store: AsyncStore<any>;
|
|
22
|
+
queryExpression: ComplexQueryExpression;
|
|
23
|
+
queryOptions?: QueryOptions;
|
|
24
|
+
}
|
|
25
|
+
export interface ResultModelFactory {
|
|
26
|
+
/**
|
|
27
|
+
* Creates a result model from a store and a complex query.
|
|
28
|
+
*/
|
|
29
|
+
fromStoreAndQuery(options: ResultModelFactoryOptions): Promise<ResultModel>;
|
|
11
30
|
}
|
package/result-api/api/ui.d.ts
CHANGED
|
@@ -6,13 +6,11 @@ import { ResultModel } from "./model";
|
|
|
6
6
|
export interface ResultUIFactory {
|
|
7
7
|
/**
|
|
8
8
|
* Creates a new UI instance.
|
|
9
|
-
*
|
|
10
|
-
* TODO: Options
|
|
11
9
|
*/
|
|
12
10
|
createUI(): ResultUI;
|
|
13
11
|
}
|
|
14
12
|
/**
|
|
15
|
-
*
|
|
13
|
+
* Displays a single result model.
|
|
16
14
|
*/
|
|
17
15
|
export interface ResultUI {
|
|
18
16
|
/**
|
|
@@ -21,6 +19,7 @@ export interface ResultUI {
|
|
|
21
19
|
destroy(): void;
|
|
22
20
|
/**
|
|
23
21
|
* Displays the content of the given model.
|
|
22
|
+
* Existing content for previous models is replaced.
|
|
24
23
|
*/
|
|
25
24
|
show(model: ResultModel): void;
|
|
26
25
|
/**
|
package/result-api/module.d.ts
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
1
|
export { OpenResultsServiceImpl as OpenResultsService } from "./OpenResultsServiceImpl";
|
|
2
|
+
export { ResultModelFactoryImpl as ResultModelFactory } from "./ResultModelFactoryImpl";
|
|
3
|
+
export { TableActionResolverImpl as TableActionResolver } from "./TableActionResolverImpl";
|
|
4
|
+
export { ExportCsvAction } from "./actions/ExportCsvAction";
|
|
5
|
+
export { ZoomToSelectedAction } from "./actions/ZoomToSelectedAction";
|
|
6
|
+
export { ZoomToItemAction } from "./actions/ZoomToItemAction";
|
|
7
|
+
export { SelectionEventHandler } from "./SelectionEventHandler";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export declare const CellRenderer: import("vue/types/v3-define-component").DefineComponent<{
|
|
2
|
+
type: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
identifier: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
value: {
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
}, import("vue").Data, import("vue").Data, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
14
|
+
type: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
identifier: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
value: {
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
}>>, {
|
|
26
|
+
identifier: boolean;
|
|
27
|
+
}>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { VNode } from "vue";
|
|
2
|
+
declare const _default: import("vue/types/v3-define-component").DefineComponent<{
|
|
3
|
+
text: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
default: undefined;
|
|
6
|
+
};
|
|
7
|
+
}, import("vue").Data, import("vue").Data, {}, {
|
|
8
|
+
renderActivator(data: {
|
|
9
|
+
on: Record<string, any>;
|
|
10
|
+
} | undefined): VNode | undefined;
|
|
11
|
+
}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
+
text: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: undefined;
|
|
15
|
+
};
|
|
16
|
+
}>>, {
|
|
17
|
+
text: string;
|
|
18
|
+
}>;
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/// <reference types="arcgis-js-api" />
|
|
2
|
+
import { Geometry } from "esri/geometry";
|
|
3
|
+
import type { HighlighterFactory } from "highlights/api";
|
|
4
|
+
import type { MapWidgetModel } from "map-widget/api";
|
|
5
|
+
export declare type HighlightState = "none" | "default" | "selected" | "focussed";
|
|
6
|
+
export interface RecordGeometry {
|
|
7
|
+
id: string;
|
|
8
|
+
geometry: Geometry;
|
|
9
|
+
}
|
|
10
|
+
export interface RecordVisualizer {
|
|
11
|
+
destroy(): void;
|
|
12
|
+
/**
|
|
13
|
+
* Removes all highlights.
|
|
14
|
+
*/
|
|
15
|
+
clear(): void;
|
|
16
|
+
/**
|
|
17
|
+
* Replaces the current set of items with the given `items`.
|
|
18
|
+
* Item highlights are initialized to the given highlight state (or "default" if omitted).
|
|
19
|
+
*/
|
|
20
|
+
setItems(items: RecordGeometry[], initialState?: HighlightState): void;
|
|
21
|
+
/**
|
|
22
|
+
* Updates the highlight state of the given items.
|
|
23
|
+
*/
|
|
24
|
+
setState(itemIds: string[], state: HighlightState): void;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Visualizes items in the map.
|
|
28
|
+
*/
|
|
29
|
+
export declare class RecordVisualizerImpl implements RecordVisualizer {
|
|
30
|
+
private highlighterFactory;
|
|
31
|
+
private mapWidgetModel;
|
|
32
|
+
private observers;
|
|
33
|
+
private highlightedItems;
|
|
34
|
+
private defaultLayerResolver;
|
|
35
|
+
private selectionLayerResolver;
|
|
36
|
+
private defaultHighlighter;
|
|
37
|
+
private selectionHighlighter;
|
|
38
|
+
private focusHighlighter;
|
|
39
|
+
private lastSpatialReference;
|
|
40
|
+
constructor(mapWidgetModel: MapWidgetModel, highlighterFactory: HighlighterFactory);
|
|
41
|
+
destroy(): void;
|
|
42
|
+
clear(): void;
|
|
43
|
+
setItems(items: RecordGeometry[], initialState?: HighlightState): void;
|
|
44
|
+
setState(itemIds: string[], state: HighlightState): void;
|
|
45
|
+
private refresh;
|
|
46
|
+
private applyHighlightState;
|
|
47
|
+
private getHighlighter;
|
|
48
|
+
private createHighlighter;
|
|
49
|
+
private handleViewUpdate;
|
|
50
|
+
}
|
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
import type { InjectedReference } from "apprt-core/InjectedReference";
|
|
2
|
-
import type { ResultUI, ResultUIFactory as ResultsUIFactoryInterface } from "result-api/api
|
|
2
|
+
import type { TableActionResolver, ResultUI, ResultUIFactory as ResultsUIFactoryInterface } from "result-api/api";
|
|
3
|
+
import type { MapWidgetModel } from "map-widget/api";
|
|
4
|
+
import type { ActionService } from "map-actions/api";
|
|
5
|
+
import { HighlighterFactory } from "highlights/api";
|
|
6
|
+
import { UIRuleContextUpdater } from "./TableStateToolRuleProcessor";
|
|
3
7
|
export declare class ResultUIFactory implements ResultsUIFactoryInterface {
|
|
8
|
+
#private;
|
|
4
9
|
toggleTool: InjectedReference<any>;
|
|
10
|
+
mapWidgetModel: InjectedReference<MapWidgetModel>;
|
|
11
|
+
highlighterFactory: InjectedReference<HighlighterFactory>;
|
|
12
|
+
actionService: InjectedReference<ActionService>;
|
|
13
|
+
tableActionResolver: InjectedReference<TableActionResolver>;
|
|
14
|
+
logService: InjectedReference<any>;
|
|
15
|
+
ruleContextUpdater: InjectedReference<UIRuleContextUpdater>;
|
|
16
|
+
constructor(properties: Record<string, any>);
|
|
5
17
|
createUI(): ResultUI;
|
|
6
18
|
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { HighlighterFactory } from "highlights/api";
|
|
2
|
+
import { ActionService } from "map-actions/api";
|
|
3
|
+
import { MapWidgetModel } from "map-widget/api";
|
|
4
|
+
import type { TableActionResolver, ResultModel, ResultUI } from "result-api/api";
|
|
5
|
+
import { UIRuleContextUpdater } from "./TableStateToolRuleProcessor";
|
|
6
|
+
export interface ResultUIConstructorOptions {
|
|
7
|
+
properties: Record<string, any>;
|
|
8
|
+
bundleContext: any;
|
|
9
|
+
toggleTool: any;
|
|
10
|
+
mapWidgetModel: MapWidgetModel;
|
|
11
|
+
highlighterFactory: HighlighterFactory;
|
|
12
|
+
actionService: ActionService;
|
|
13
|
+
logService: any;
|
|
14
|
+
tableActionResolver: TableActionResolver;
|
|
15
|
+
ruleContextUpdater: UIRuleContextUpdater;
|
|
16
|
+
}
|
|
17
|
+
export declare class ResultUIImpl implements ResultUI {
|
|
18
|
+
#private;
|
|
19
|
+
constructor(options: ResultUIConstructorOptions);
|
|
20
|
+
destroy(): void;
|
|
21
|
+
show(resultsModel: ResultModel): void;
|
|
22
|
+
hide(): void;
|
|
23
|
+
}
|