@sapui5/sap.ushell 1.122.1 → 1.123.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/main/js/sap/ushell/.library +1 -1
- package/src/main/js/sap/ushell/Container.js +9 -1
- package/src/main/js/sap/ushell/Fiori20Adapter.js +1 -1
- package/src/main/js/sap/ushell/Fiori20AdapterTest.js +1 -1
- package/src/main/js/sap/ushell/NWBCInterface.js +1 -1
- package/src/main/js/sap/ushell/TechnicalParameters.js +1 -1
- package/src/main/js/sap/ushell/URLTemplateProcessor.js +1 -1
- package/src/main/js/sap/ushell/Ui5NativeServiceFactory.js +1 -1
- package/src/main/js/sap/ushell/Ui5ServiceFactory.js +1 -1
- package/src/main/js/sap/ushell/_URLTemplateProcessor/DefinitionParameterSetBuilder.js +1 -1
- package/src/main/js/sap/ushell/_URLTemplateProcessor/DependencyGraph.js +1 -1
- package/src/main/js/sap/ushell/_URLTemplateProcessor/Functions.js +1 -1
- package/src/main/js/sap/ushell/_URLTemplateProcessor/Resolvers.js +1 -1
- package/src/main/js/sap/ushell/_URLTemplateProcessor/TemplateParameterParser.js +1 -1
- package/src/main/js/sap/ushell/_URLTemplateProcessor/utils.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/ClientSideTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/CommonDataModelAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/ConfigurationDefaultsAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/ContainerAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/LaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/PagesCommonDataModelAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/PersonalizationAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/PersonalizationV2Adapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/Ui5ComponentLoaderAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/modifyHome.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readCatalogs.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readHome.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/uri.transform.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/util/AppForInbound.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/util/cdmSiteUtils.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/AdapterBase.js +1 -2
- package/src/main/js/sap/ushell/adapters/cdm/v3/FlpLaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/LaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/StaticGroupsAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readApplications.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readCatalogs.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readHome.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readPages.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readUtils.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations.js +1 -1
- package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionInternalAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cep/SearchCEPAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cflp/UserDefaultParameterPersistenceAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/AdapterContainer.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/AppStateAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/ClientSideTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/ContainerAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/FlpLaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/LaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionInternalAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PageBuildingAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PagePersistenceAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PersonalizationAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PersonalizationV2Adapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/SearchAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/SearchCEPAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/SupportTicketAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/Ui5ComponentLoaderAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/UserDefaultParameterPersistenceAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/UserInfoAdapter.js +1 -1
- package/src/main/js/sap/ushell/api/workpage/Designtime.js +18 -0
- package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntime.js +13 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/RendererExtensions.js +2 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppConfiguration.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppLifeCycleAgent.js +18 -8
- package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/Ui5ComponentLoaderAdapter.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/logger.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/state.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/cdm/cdm.constants.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5datetimeformat.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.create.configcontract.core.js +5 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.util.js +27 -2
- package/src/main/js/sap/ushell/bootstrap/sandbox2/sandboxConfig.json +0 -5
- package/src/main/js/sap/ushell/bootstrap/sandbox2/sandboxSite.json +3 -112
- package/src/main/js/sap/ushell/bootstrap/sandbox2.js +8 -1
- package/src/main/js/sap/ushell/components/_HeaderManager/AddHeadEndItemsStrategy.js +3 -0
- package/src/main/js/sap/ushell/components/_HeaderManager/ControlManager.js +1 -1
- package/src/main/js/sap/ushell/components/appfinder/Catalog.controller.js +2 -2
- package/src/main/js/sap/ushell/components/appfinder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/AppLifeCycle.js +1 -2
- package/src/main/js/sap/ushell/components/applicationIntegration/application/Application.js +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/application/BlueBoxHandler.js +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/application/PostMessageAPI.js +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/configuration/AppMeta.js +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/elements/model.js +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/relatedServices/RelatedServices.js +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/relatedShellElements/RelatedShellElements.js +1 -1
- package/src/main/js/sap/ushell/components/container/ApplicationContainer.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/Component.js +13 -2
- package/src/main/js/sap/ushell/components/contentFinder/controller/AppSearch.controller.js +12 -5
- package/src/main/js/sap/ushell/components/contentFinder/controller/ContentFinderDialog.controller.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/controller/WidgetGallery.controller.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/model/formatter.js +0 -4
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources.properties +2 -0
- package/src/main/js/sap/ushell/components/contentFinder/view/AppSearch.view.xml +159 -137
- package/src/main/js/sap/ushell/components/contentFinder/view/AppSearchCategoryTree.view.xml +24 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/Component.js +31 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/controller/ContentFinderStandalone.controller.js +146 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/manifest.json +59 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/manifestAppSearch.json +50 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/view/ContentFinderStandalone.view.xml +15 -0
- package/src/main/js/sap/ushell/components/factsheet/Component.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/ActionMode.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/DashboardContent.view.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/DashboardGroupsBox.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/DashboardUIActions.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/pages/ActionMode.js +1 -1
- package/src/main/js/sap/ushell/components/pages/Component.js +1 -1
- package/src/main/js/sap/ushell/components/pages/MyHomeImport.js +1 -1
- package/src/main/js/sap/ushell/components/pages/controller/PageRuntime.controller.js +1 -1
- package/src/main/js/sap/ushell/components/pages/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/runtimeSwitcher/controller/RuntimeSwitcher.controller.js +1 -1
- package/src/main/js/sap/ushell/components/runtimeSwitcher/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/MenuBar/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenu.controller.js +1 -1
- package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/Notifications/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Notifications/Notifications.controller.js +0 -4
- package/src/main/js/sap/ushell/components/shell/ProductSwitch/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Search/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/FrequentActivityProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/RecentSearchProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchServiceProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/userLanguageRegion/LanguageRegionSelector.controller.js +1 -1
- package/src/main/js/sap/ushell/components/shell/UserActionsMenu/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/UserImage/Component.js +1 -1
- package/src/main/js/sap/ushell/components/visualizationOrganizer/Component.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/Component.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.accessibility.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.controller.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPage.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageButton.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageCell.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumn.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnResizer.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRow.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/workPageRuntime/Component.js +1 -1
- package/src/main/js/sap/ushell/components/workPageRuntime/controller/WorkPageRuntime.controller.js +1 -1
- package/src/main/js/sap/ushell/components/workPageRuntime/manifest.json +1 -1
- package/src/main/js/sap/ushell/designtime/ApplicationContainer.designtime.js +1 -1
- package/src/main/js/sap/ushell/library.js +2 -1
- package/src/main/js/sap/ushell/navigationMode.js +1 -1
- package/src/main/js/sap/ushell/performance/ShellAnalytics.js +1 -1
- package/src/main/js/sap/ushell/performance/StatisticalRecord.js +1 -1
- package/src/main/js/sap/ushell/plugins/appwarmup/Component.js +1 -1
- package/src/main/js/sap/ushell/renderer/Renderer.js +44 -32
- package/src/main/js/sap/ushell/renderer/Shell.controller.js +2 -24
- package/src/main/js/sap/ushell/renderer/search/searchComponent/manifest.json +1 -1
- package/src/main/js/sap/ushell/renderers/fiori2/Renderer.js +2 -1
- package/src/main/js/sap/ushell/services/AppConfiguration.js +26 -12
- package/src/main/js/sap/ushell/services/AppLifeCycle.js +154 -39
- package/src/main/js/sap/ushell/services/AppState.js +1 -1
- package/src/main/js/sap/ushell/services/Bookmark.js +1 -1
- package/src/main/js/sap/ushell/services/BookmarkV2.js +104 -134
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution.js +1 -1
- package/src/main/js/sap/ushell/services/CommonDataModel.js +1 -1
- package/src/main/js/sap/ushell/services/Configuration.js +1 -1
- package/src/main/js/sap/ushell/services/ConfigurationDefaults.js +1 -1
- package/src/main/js/sap/ushell/services/ContentExtensionAdapterFactory.js +1 -1
- package/src/main/js/sap/ushell/services/CrossApplicationNavigation.js +1 -1
- package/src/main/js/sap/ushell/services/DarkModeSupport.js +1 -1
- package/src/main/js/sap/ushell/services/Extension/FloatingContainer.js +1 -1
- package/src/main/js/sap/ushell/services/Extension/Footer.js +1 -1
- package/src/main/js/sap/ushell/services/Extension/Header.js +1 -1
- package/src/main/js/sap/ushell/services/Extension/Item.js +1 -1
- package/src/main/js/sap/ushell/services/Extension/SidePane.js +1 -1
- package/src/main/js/sap/ushell/services/Extension/ToolArea.js +1 -1
- package/src/main/js/sap/ushell/services/Extension.js +1 -1
- package/src/main/js/sap/ushell/services/FlpLaunchPage.js +9 -2
- package/src/main/js/sap/ushell/services/LaunchPage.js +1 -1
- package/src/main/js/sap/ushell/services/Menu.js +1 -1
- package/src/main/js/sap/ushell/services/Message.js +1 -1
- package/src/main/js/sap/ushell/services/MessageBroker.js +1 -1
- package/src/main/js/sap/ushell/services/Navigation/utils.js +1 -1
- package/src/main/js/sap/ushell/services/Navigation.js +46 -9
- package/src/main/js/sap/ushell/services/NavigationDataProvider.js +1 -1
- package/src/main/js/sap/ushell/services/NotificationsV2.js +141 -9
- package/src/main/js/sap/ushell/services/PageBuilding.js +1 -1
- package/src/main/js/sap/ushell/services/PagePersistence.js +1 -1
- package/src/main/js/sap/ushell/services/PageReferencing.js +1 -1
- package/src/main/js/sap/ushell/services/Pages.js +58 -16
- package/src/main/js/sap/ushell/services/Personalization.js +1 -1
- package/src/main/js/sap/ushell/services/PersonalizationV2/ContextContainer.js +1 -1
- package/src/main/js/sap/ushell/services/PersonalizationV2/VariantSetAdapter.js +1 -1
- package/src/main/js/sap/ushell/services/PersonalizationV2.js +1 -1
- package/src/main/js/sap/ushell/services/PluginManager.js +1 -1
- package/src/main/js/sap/ushell/services/ReferenceResolver.js +1 -1
- package/src/main/js/sap/ushell/services/Search.js +1 -1
- package/src/main/js/sap/ushell/services/SearchCEP.js +1 -1
- package/src/main/js/sap/ushell/services/SearchableContent.js +1 -1
- package/src/main/js/sap/ushell/services/ShellNavigation.js +1 -1
- package/src/main/js/sap/ushell/services/SmartNavigation.js +1 -1
- package/src/main/js/sap/ushell/services/SpaceContent.js +38 -13
- package/src/main/js/sap/ushell/services/UITracer.js +1 -1
- package/src/main/js/sap/ushell/services/URLParsing.js +42 -20
- package/src/main/js/sap/ushell/services/URLShortening.js +1 -1
- package/src/main/js/sap/ushell/services/URLTemplate.js +1 -1
- package/src/main/js/sap/ushell/services/Ui5ComponentLoader.js +1 -1
- package/src/main/js/sap/ushell/services/UserDefaultParameterPersistence.js +1 -1
- package/src/main/js/sap/ushell/services/UserDefaultParameters.js +1 -1
- package/src/main/js/sap/ushell/services/UserInfo.js +17 -4
- package/src/main/js/sap/ushell/services/UserRecents.js +1 -1
- package/src/main/js/sap/ushell/services/VisualizationDataProvider.js +1 -1
- package/src/main/js/sap/ushell/services/VisualizationInstantiation.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Formatter.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/InboundIndex.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/InboundProvider.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/PrelaunchOperations.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Search.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/StagedLogger.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/SystemContext.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Utils.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/VirtualInbounds.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/XAppStateProcessing.js +1 -1
- package/src/main/js/sap/ushell/services/_CommonDataModel/SiteConverter.js +1 -1
- package/src/main/js/sap/ushell/services/_CommonDataModel/vizTypeDefaults/VizTypeDefaults.js +1 -1
- package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/ContentExtensionAdapterConfig.js +1 -1
- package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/FeaturedGroupConfig.js +1 -1
- package/src/main/js/sap/ushell/services/_CrossApplicationNavigation/utils.js +1 -1
- package/src/main/js/sap/ushell/services/_MessageBroker/MessageBrokerEngine.js +1 -1
- package/src/main/js/sap/ushell/services/_PageReferencing/PageReferencer.js +1 -1
- package/src/main/js/sap/ushell/services/_PluginManager/Extensions.js +1 -1
- package/src/main/js/sap/ushell/services/_PluginManager/HeaderExtensions.js +1 -1
- package/src/main/js/sap/ushell/services/_PluginManager/MenuExtensions.js +1 -1
- package/src/main/js/sap/ushell/services/_Ui5ComponentLoader/utils.js +34 -5
- package/src/main/js/sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin.js +1 -1
- package/src/main/js/sap/ushell/ui/AppContainer.js +44 -0
- package/src/main/js/sap/ushell/ui/appfinder/AppBoxInternal.js +3 -3
- package/src/main/js/sap/ushell/ui/appfinder/AppBoxInternalRenderer.js +103 -0
- package/src/main/js/sap/ushell/ui/appfinder/AppBoxRenderer.js +7 -98
- package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/CatalogsContainer.js +5 -3
- package/src/main/js/sap/ushell/ui/launchpad/ExtendedChangeDetection.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/Section.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/ViewPortState.js +2 -1
- package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.js +1 -1
- package/src/main/js/sap/ushell/ui/shell/ToolAreaItem.js +1 -1
- package/src/main/js/sap/ushell/ui/utils.js +1 -1
- package/src/main/js/sap/ushell/ui5service/ShellUIService.js +1 -1
- package/src/main/js/sap/ushell/ui5service/UserStatus.js +1 -1
- package/src/main/js/sap/ushell/ui5service/_ShellUIService/shelluiservice.class.factory.js +30 -48
- package/src/main/js/sap/ushell/utils/UrlShortening.js +1 -1
- package/src/main/js/sap/ushell/utils/tilecard/TileCard.js +342 -0
- package/src/main/js/sap/ushell/utils/tilecard/TileCardExtension.js +384 -0
- package/src/main/js/sap/ushell/utils/tilecard/resources/resources.properties +11 -0
- package/src/main/js/sap/ushell/utils/workpage/WorkPageHost.js +1 -1
- package/src/main/js/sap/ushell/utils/workpage/WorkPageService.js +57 -4
- package/src/main/js/sap/ushell/utils/workpage/WorkPageVizInstantiation.js +44 -17
- package/src/test/js/sap/ushell/bootstrap/sandbox.js +1 -1
- package/ui5.yaml +2 -0
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileOverview The Unified Shell's bookmark service. Allows creating shortcuts on the user's home page.
|
|
5
5
|
*
|
|
6
|
-
* @version 1.
|
|
6
|
+
* @version 1.123.0
|
|
7
7
|
*/
|
|
8
8
|
sap.ui.define([
|
|
9
9
|
"sap/ui/core/EventBus",
|
|
@@ -67,13 +67,91 @@ sap.ui.define([
|
|
|
67
67
|
return this._oPagesServicePromise;
|
|
68
68
|
};
|
|
69
69
|
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Type for data source object.
|
|
73
|
+
* Metadata for parameter serviceUrl. Mandatory to specify if parameter serviceURL contains semantic date ranges.
|
|
74
|
+
* This does not influence the data source of the app itself.
|
|
75
|
+
*
|
|
76
|
+
* Specify the data source as follows:
|
|
77
|
+
* <pre>
|
|
78
|
+
* {
|
|
79
|
+
* type: "OData",
|
|
80
|
+
* settings: {
|
|
81
|
+
* odataVersion: "4.0"
|
|
82
|
+
* }
|
|
83
|
+
* }
|
|
84
|
+
* </pre>
|
|
85
|
+
*
|
|
86
|
+
* <ul>
|
|
87
|
+
* <li>type: The type of the serviceURL's service. Only "OData" is supported.
|
|
88
|
+
* <li>odataVersion: The OData version of parameter serviceURL. Valid values are "2.0" and "4.0".
|
|
89
|
+
* </ul>
|
|
90
|
+
* @typedef {object} sap.ushell.services.BookmarkV2.DataSource
|
|
91
|
+
* @property {string} type The type of the serviceURL's service. Only "OData" is supported.
|
|
92
|
+
* @property {{odataVersion:object}} settings The settings for the data source.
|
|
93
|
+
* @since 1.121.0
|
|
94
|
+
* @public
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Types for bookmark parameter object.
|
|
98
|
+
*
|
|
99
|
+
* In addition to title and URL, a bookmark might allow further
|
|
100
|
+
* settings, such as an icon or a subtitle. Which settings are supported depends
|
|
101
|
+
* on the environment in which the application is running. Unsupported parameters will be
|
|
102
|
+
* ignored.
|
|
103
|
+
* @typedef {object} sap.ushell.services.BookmarkV2.BookmarkParameters
|
|
104
|
+
* @property {string} title The title of the bookmark.
|
|
105
|
+
* @property {sap.ushell.services.navigation.TargetIntent|sap.ui.core.URI} url The URL of the bookmark.
|
|
106
|
+
* The target intent or URL of the bookmark. If the target app runs in the current shell, the URL has
|
|
107
|
+
* to be a valid intent, i.e. in the format <code>"#SO-Action?P1=a&P2=x&/route?RPV=1"</code>.
|
|
108
|
+
* @property {string} [icon] The optional icon URL of the bookmark (e.g. <code>"sap-icon://home"</code>).
|
|
109
|
+
* @property {string} [info] The optional information text of the bookmark.
|
|
110
|
+
* @property {string} [subtitle] The optional subtitle of the bookmark.
|
|
111
|
+
* @property {sap.ui.core.URI} [serviceUrl] The URL to a REST or OData service that provides some dynamic information for the bookmark.
|
|
112
|
+
* The URL to a REST or OData service that provides some dynamic information for the
|
|
113
|
+
* bookmark.
|
|
114
|
+
*
|
|
115
|
+
* <b>Semantic Date Ranges:</b>
|
|
116
|
+
*
|
|
117
|
+
* You can use placeholders for dynamic dates in the query parameters of the service URL.
|
|
118
|
+
* This can be used to create KPI tiles based on user entries in control {@link sap.m.DynamicDateRange},
|
|
119
|
+
* where it is possible to specify dynamic dates like YESTERDAY or THISYEAR.
|
|
120
|
+
*
|
|
121
|
+
* The placeholder format looks like this: {Edm.<type>%%DynamicDate.<operator>.<value1>.<value2>.<position>%%}
|
|
122
|
+
*
|
|
123
|
+
* <ul>
|
|
124
|
+
* <li><type>: The Edm Type of the parameter. Supported types are String, DateTime and DateTimeOffset for OData V2
|
|
125
|
+
* and Date and DateTimeOffset for OData V4.</li>
|
|
126
|
+
* <li><operator>, <value1>, <value2>: Possible values are the ones that can be used in {@link sap.m.DynamicDateRange#toDates} to create a date range.</li>
|
|
127
|
+
* <li><position>: Possible values are 'start' and 'end' which mark the start or end of the interval specified by the operator.</li>
|
|
128
|
+
* </ul>
|
|
129
|
+
*
|
|
130
|
+
* Examples:
|
|
131
|
+
* <ul>
|
|
132
|
+
* <li>/a/url/$count?$filter=(testDate ge {Edm.DateTimeOffset%DynamicDate.YESTERDAY.start%} and testDate le {Edm.DateTimeOffset%DynamicDate.YESTERDAY.end%})</li>
|
|
133
|
+
* <li>/a/url/$count?$filter=(testDate ge {Edm.DateTime%DynamicDate.THISYEAR.start%} and testDate le {Edm.DateTime%DynamicDate.THISYEAR.end%})</li>
|
|
134
|
+
* <li>/a/url/$count?$filter=(testDate ge {Edm.Date%DynamicDate.TODAYFROMTO.1.5.start%} and testDate le {Edm.Date%DynamicDate.TODAYFROMTO.1.5.end%})</li>
|
|
135
|
+
* </ul>
|
|
136
|
+
*
|
|
137
|
+
* Hint:
|
|
138
|
+
* Check the debug log when displaying the resulting KPI tiles to get more information about the resolution of the placeholders.
|
|
139
|
+
*
|
|
140
|
+
* @property {sap.ushell.services.BookmarkV2.DataSource} [dataSource] Metadata for parameter serviceUrl.
|
|
141
|
+
* Mandatory to specify if parameter serviceURL contains semantic date ranges.
|
|
142
|
+
* @property {string} [serviceRefreshInterval] The refresh interval for the <code>serviceUrl</code> in seconds.
|
|
143
|
+
* @property {string} [numberUnit] The unit for the number retrieved from <code>serviceUrl</code>.
|
|
144
|
+
* @since 1.121.0
|
|
145
|
+
* @public
|
|
146
|
+
*/
|
|
147
|
+
|
|
70
148
|
/**
|
|
71
149
|
* Adds bookmarks with the provided bookmark data to the specified content nodes.
|
|
72
150
|
*
|
|
73
|
-
* @param {
|
|
151
|
+
* @param {sap.ushell.services.BookmarkV2.BookmarkParameters} oBookmarkParams Parameters which are necessary to create a bookmark
|
|
74
152
|
* @param {sap.ushell.services.BookmarkV2.ContentNode[]} aContentNodes An array of content nodes to which the bookmark should be added
|
|
75
153
|
* @param {boolean} [bCustom] Whether the bookmark is custom or standard
|
|
76
|
-
* @param {string} [sContentProviderId] The contentProviderId or undefined outside the cFLP
|
|
154
|
+
* @param {string} [sContentProviderId] <b>SAP internal usage only</b> The contentProviderId or undefined outside the cFLP.
|
|
77
155
|
*
|
|
78
156
|
* @returns {Promise<(undefined|string)>}
|
|
79
157
|
* The promise is resolved if the bookmark could be added to all content nodes.
|
|
@@ -89,9 +167,7 @@ sap.ui.define([
|
|
|
89
167
|
if (oContentNode.type === ContentNodeType.Page) {
|
|
90
168
|
return this.addBookmarkToPage(oBookmarkParams, oContentNode.id, sContentProviderId);
|
|
91
169
|
}
|
|
92
|
-
|
|
93
|
-
* @deprecated As of version 1.120
|
|
94
|
-
*/
|
|
170
|
+
// deprecated As of version 1.120
|
|
95
171
|
if (oContentNode.type === ContentNodeType.HomepageGroup) {
|
|
96
172
|
return this._getLaunchPageService()
|
|
97
173
|
.then((oLaunchPageService) => ushellUtils.promisify(oLaunchPageService.getGroupById(oContentNode.id)))
|
|
@@ -107,83 +183,23 @@ sap.ui.define([
|
|
|
107
183
|
return Promise.all(aPromises);
|
|
108
184
|
};
|
|
109
185
|
|
|
186
|
+
|
|
110
187
|
/**
|
|
111
188
|
* Adds a bookmark tile to the provided content nodes.
|
|
112
189
|
*
|
|
113
|
-
* @param {
|
|
190
|
+
* @param {sap.ushell.services.BookmarkV2.BookmarkParameters} oParameters
|
|
114
191
|
* Bookmark parameters. In addition to title and URL, a bookmark might allow further
|
|
115
192
|
* settings, such as an icon or a subtitle. Which settings are supported depends
|
|
116
193
|
* on the environment in which the application is running. Unsupported parameters will be
|
|
117
194
|
* ignored.
|
|
118
195
|
*
|
|
119
|
-
* @param {string} oParameters.title
|
|
120
|
-
* The title of the bookmark.
|
|
121
|
-
* @param {string} oParameters.url
|
|
122
|
-
* The target intent or URL of the bookmark. If the target app runs in the current shell, the URL has
|
|
123
|
-
* to be a valid intent, i.e. in the format <code>"#SO-Action?P1=a&P2=x&/route?RPV=1"</code>.
|
|
124
|
-
* @param {string} [oParameters.icon]
|
|
125
|
-
* The optional icon URL of the bookmark (e.g. <code>"sap-icon://home"</code>).
|
|
126
|
-
* @param {string} [oParameters.info]
|
|
127
|
-
* The information text of the bookmark.
|
|
128
|
-
* @param {string} [oParameters.subtitle]
|
|
129
|
-
* The subtitle of the bookmark.
|
|
130
|
-
* @param {string} [oParameters.serviceUrl]
|
|
131
|
-
* The URL to a REST or OData service that provides some dynamic information for the
|
|
132
|
-
* bookmark.
|
|
133
|
-
*
|
|
134
|
-
* <b>Semantic Date Ranges:</b>
|
|
135
|
-
*
|
|
136
|
-
* You can use placeholders for dynamic dates in the query parameters of the service URL.
|
|
137
|
-
* This can be used to create KPI tiles based on user entries in control {@link sap.m.DynamicDateRange},
|
|
138
|
-
* where it is possible to specify dynamic dates like YESTERDAY or THISYEAR.
|
|
139
|
-
*
|
|
140
|
-
* The placeholder format looks like this: {Edm.<type>%%DynamicDate.<operator>.<value1>.<value2>.<position>%%}
|
|
141
|
-
*
|
|
142
|
-
* <ul>
|
|
143
|
-
* <li><type>: The Edm Type of the parameter. Supported types are String, DateTime and DateTimeOffset for OData V2
|
|
144
|
-
* and Date and DateTimeOffset for OData V4.</li>
|
|
145
|
-
* <li><operator>, <value1>, <value2>: Possible values are the ones that can be used in {@link sap.m.DynamicDateRange#toDates} to create a date range.</li>
|
|
146
|
-
* <li><position>: Possible values are 'start' and 'end' which mark the start or end of the interval specified by the operator.</li>
|
|
147
|
-
* </ul>
|
|
148
|
-
*
|
|
149
|
-
* Examples:
|
|
150
|
-
* <ul>
|
|
151
|
-
* <li>/a/url/$count?$filter=(testDate ge {Edm.DateTimeOffset%DynamicDate.YESTERDAY.start%} and testDate le {Edm.DateTimeOffset%DynamicDate.YESTERDAY.end%})</li>
|
|
152
|
-
* <li>/a/url/$count?$filter=(testDate ge {Edm.DateTime%DynamicDate.THISYEAR.start%} and testDate le {Edm.DateTime%DynamicDate.THISYEAR.end%})</li>
|
|
153
|
-
* <li>/a/url/$count?$filter=(testDate ge {Edm.Date%DynamicDate.TODAYFROMTO.1.5.start%} and testDate le {Edm.Date%DynamicDate.TODAYFROMTO.1.5.end%})</li>
|
|
154
|
-
* </ul>
|
|
155
196
|
*
|
|
156
|
-
* Hint:
|
|
157
|
-
* Check the debug log when displaying the resulting KPI tiles to get more information about the resolution of the placeholders.
|
|
158
|
-
* @param {object} [oParameters.dataSource]
|
|
159
|
-
* Metadata for parameter serviceUrl. Mandatory to specify if parameter serviceURL contains semantic date ranges.
|
|
160
|
-
* This does not influence the data source of the app itself.
|
|
161
|
-
*
|
|
162
|
-
* Specify the data source as follows:
|
|
163
|
-
* <pre>
|
|
164
|
-
* {
|
|
165
|
-
* type: "OData",
|
|
166
|
-
* settings: {
|
|
167
|
-
* odataVersion: "4.0"
|
|
168
|
-
* }
|
|
169
|
-
* }
|
|
170
|
-
* </pre>
|
|
171
|
-
*
|
|
172
|
-
* <ul>
|
|
173
|
-
* <li>type: The type of the serviceURL's service. Only "OData" is supported.
|
|
174
|
-
* <li>odataVersion: The OData version of parameter serviceURL. Valid values are "2.0" and "4.0".
|
|
175
|
-
* </ul>
|
|
176
|
-
* @param {string} [oParameters.serviceRefreshInterval]
|
|
177
|
-
* The refresh interval for the <code>serviceUrl</code> in seconds.
|
|
178
|
-
* @param {string} [oParameters.numberUnit]
|
|
179
|
-
* The unit for the number retrieved from <code>serviceUrl</code>.
|
|
180
197
|
* @param {sap.ushell.services.BookmarkV2.ContentNode|sap.ushell.services.BookmarkV2.ContentNode[]} [vContainer]
|
|
181
198
|
* Either a content node or an array of content nodes (see {@link #getContentNodes}).
|
|
182
199
|
* If not provided, the bookmark will be added to the default page.
|
|
183
200
|
* @param {string} [sContentProviderId] <b>SAP internal usage only</b> The contentProviderId or undefined outside the cFLP.
|
|
184
|
-
*
|
|
185
|
-
* @
|
|
186
|
-
* A <code>Promise</code> which resolves on success, but rejects
|
|
201
|
+
* @returns {Promise} A promise which resolves on success
|
|
202
|
+
* @throws {Error} rejects
|
|
187
203
|
* with a reason-message on failure to add the bookmark to the specified or implied content node.
|
|
188
204
|
* The promise gets resolved if personalization is disabled.
|
|
189
205
|
*
|
|
@@ -276,7 +292,7 @@ sap.ui.define([
|
|
|
276
292
|
*
|
|
277
293
|
* @param {(sap.ushell.services.BookmarkV2.ContentNode|sap.ushell.services.BookmarkV2.ContentNode[])} vContentNodes
|
|
278
294
|
* Either an array of ContentNodes or a single ContentNode in which the Bookmark will be placed.
|
|
279
|
-
* @param {string} [sContentProviderId] The contentProviderId or undefined outside the cFLP
|
|
295
|
+
* @param {string} [sContentProviderId] <b>SAP internal usage only</b> The contentProviderId or undefined outside the cFLP.
|
|
280
296
|
*
|
|
281
297
|
* @returns {Promise<(undefined|string)>}
|
|
282
298
|
* A promise which resolves on success, but rejects
|
|
@@ -320,7 +336,7 @@ sap.ui.define([
|
|
|
320
336
|
*
|
|
321
337
|
* @param {string} oParameters.title
|
|
322
338
|
* The title of the bookmark.
|
|
323
|
-
* @param {
|
|
339
|
+
* @param {sap.ui.core.URI|sap.ushell.services.Navigation.TargetIntent} oParameters.url
|
|
324
340
|
* The URL of the bookmark. If the target application shall run in the Shell the URL has
|
|
325
341
|
* to be in the format <code>"#SO-Action~Context?P1=a&P2=x&/route?RPV=1"</code>.
|
|
326
342
|
* @param {string} [oParameters.icon]
|
|
@@ -330,7 +346,7 @@ sap.ui.define([
|
|
|
330
346
|
* context.
|
|
331
347
|
* @param {string} [oParameters.subtitle]
|
|
332
348
|
* The optional subtitle of the bookmark.
|
|
333
|
-
* @param {
|
|
349
|
+
* @param {sap.ui.core.URI} [oParameters.serviceUrl]
|
|
334
350
|
* The URL to a REST or OData service that provides some dynamic information for the
|
|
335
351
|
* bookmark.
|
|
336
352
|
* @param {string} [oParameters.serviceRefreshInterval]
|
|
@@ -342,7 +358,7 @@ sap.ui.define([
|
|
|
342
358
|
* Optional reference to the group the bookmark tile should be added to.
|
|
343
359
|
* If not given, the default group is used.
|
|
344
360
|
* @param {boolean} [bCustom] Whether the bookmark is custom or standard
|
|
345
|
-
* @param {string} [sContentProviderId] The contentProviderId or undefined outside the cFLP
|
|
361
|
+
* @param {string} [sContentProviderId] <b>SAP internal usage only</b> The contentProviderId or undefined outside the cFLP.
|
|
346
362
|
*
|
|
347
363
|
* @returns {Promise}
|
|
348
364
|
* A promise which resolves on success, but rejects
|
|
@@ -377,34 +393,14 @@ sap.ui.define([
|
|
|
377
393
|
/**
|
|
378
394
|
* Adds a bookmark tile to one of the user's pages in spaces mode.
|
|
379
395
|
*
|
|
380
|
-
* @param {
|
|
396
|
+
* @param {sap.ushell.services.BookmarkV2.BookmarkParameters} oParameters
|
|
381
397
|
* bookmark parameters. In addition to title and URL, a bookmark might allow additional
|
|
382
398
|
* settings, such as an icon or a subtitle. Which settings are supported depends
|
|
383
399
|
* on the environment in which the application is running. Unsupported parameters will be
|
|
384
400
|
* ignored.
|
|
385
401
|
*
|
|
386
|
-
* @param {string} oParameters.title
|
|
387
|
-
* The title of the bookmark.
|
|
388
|
-
* @param {string} oParameters.url
|
|
389
|
-
* The URL of the bookmark. If the target application shall run in the Shell the URL has
|
|
390
|
-
* to be in the format <code>"#SO-Action~Context?P1=a&P2=x&/route?RPV=1"</code>.
|
|
391
|
-
* @param {string} [oParameters.icon]
|
|
392
|
-
* The optional icon URL of the bookmark (e.g. <code>"sap-icon://home"</code>).
|
|
393
|
-
* @param {string} [oParameters.info]
|
|
394
|
-
* The optional information text of the bookmark. This property is not relevant in the CDM
|
|
395
|
-
* context.
|
|
396
|
-
* @param {string} [oParameters.subtitle]
|
|
397
|
-
* The optional subtitle of the bookmark.
|
|
398
|
-
* @param {string} [oParameters.serviceUrl]
|
|
399
|
-
* The URL to a REST or OData service that provides some dynamic information for the
|
|
400
|
-
* bookmark.
|
|
401
|
-
* @param {string} [oParameters.serviceRefreshInterval]
|
|
402
|
-
* The refresh interval for the <code>serviceUrl</code> in seconds.
|
|
403
|
-
* @param {string} [oParameters.numberUnit]
|
|
404
|
-
* The unit for the number retrieved from <code>serviceUrl</code>.
|
|
405
|
-
* This property is not relevant in the CDM context.
|
|
406
402
|
* @param {string} sPageId The ID of the page to which the bookmark should be added.
|
|
407
|
-
* @param {string} [sContentProviderId] The contentProviderId or undefined outside the cFLP
|
|
403
|
+
* @param {string} [sContentProviderId] <b>SAP internal usage only</b> The contentProviderId or undefined outside the cFLP.
|
|
408
404
|
*
|
|
409
405
|
* @returns {Promise}
|
|
410
406
|
* A promise which resolves on success, but rejects
|
|
@@ -449,7 +445,7 @@ sap.ui.define([
|
|
|
449
445
|
* For list of parameters see the description for the addBookmark function
|
|
450
446
|
* @param {string} [groupId]
|
|
451
447
|
* ID of the group the bookmark tile should be added to.
|
|
452
|
-
* @param {string} [sContentProviderId]
|
|
448
|
+
* @param {string} [sContentProviderId] <b>SAP internal usage only</b> The contentProviderId or undefined outside the cFLP.
|
|
453
449
|
* The Content Provider ID.
|
|
454
450
|
*
|
|
455
451
|
* @returns {Promise}
|
|
@@ -573,12 +569,12 @@ sap.ui.define([
|
|
|
573
569
|
* This is a potentially asynchronous operation in case the user's pages have not yet been
|
|
574
570
|
* loaded completely!
|
|
575
571
|
*
|
|
576
|
-
* @param {
|
|
572
|
+
* @param {sap.ushell.services.navigation.TargetIntent|sap.ui.core.URI} sUrl
|
|
577
573
|
* The URL of the bookmarks to be counted, exactly as specified to {@link #addBookmark}.
|
|
578
|
-
* @param {string} sContentProviderId
|
|
574
|
+
* @param {string} [sContentProviderId] <b>SAP internal usage only</b> The contentProviderId or undefined outside the cFLP.
|
|
579
575
|
* The Content Provider ID.
|
|
580
576
|
*
|
|
581
|
-
* @returns {Promise}
|
|
577
|
+
* @returns {Promise<int>}
|
|
582
578
|
* A <code>Promise</code> which informs about success or failure
|
|
583
579
|
* of this asynchronous operation. In case of success, the count of existing bookmarks
|
|
584
580
|
* is provided (which might be zero). In case of failure, an error message is passed.
|
|
@@ -640,11 +636,11 @@ sap.ui.define([
|
|
|
640
636
|
/**
|
|
641
637
|
* Deletes <b>all</b> bookmarks pointing to the given URL from all of the user's pages.
|
|
642
638
|
*
|
|
643
|
-
* @param {
|
|
639
|
+
* @param {sap.ushell.services.navigation.TargetIntent|sap.ui.core.URI} sUrl
|
|
644
640
|
* The URL of the bookmarks to be deleted, exactly as specified to {@link #addBookmark}.
|
|
645
|
-
* @param {string} [sContentProviderId] The contentProviderId or undefined outside the cFLP
|
|
641
|
+
* @param {string} [sContentProviderId] <b>SAP internal usage only</b> The contentProviderId or undefined outside the cFLP.
|
|
646
642
|
*
|
|
647
|
-
* @returns {Promise}
|
|
643
|
+
* @returns {Promise<int>}
|
|
648
644
|
* A <code>Promise</code> which informs about success or
|
|
649
645
|
* failure of this asynchronous operation. In case of success, the number of deleted
|
|
650
646
|
* bookmarks is provided (which might be zero). In case of failure, an error message is
|
|
@@ -722,41 +718,14 @@ sap.ui.define([
|
|
|
722
718
|
* The URL of the bookmarks to be updated, exactly as specified to {@link #addBookmark}.
|
|
723
719
|
* In case you need to update the URL itself, pass the old one here and the new one as
|
|
724
720
|
* <code>oParameters.url</code>!
|
|
725
|
-
* @param {
|
|
721
|
+
* @param {sap.ushell.services.BookmarkV2.BookmarkParameters} oParameters
|
|
726
722
|
* Bookmark parameters. In addition to title and URL, a bookmark might allow additional
|
|
727
723
|
* settings, such as an icon or a subtitle. Which settings are supported depends
|
|
728
724
|
* on the environment in which the application is running. Unsupported parameters will be
|
|
729
725
|
* ignored.
|
|
730
|
-
* @param {string}
|
|
731
|
-
* The title of the bookmark.
|
|
732
|
-
* @param {string} oParameters.url
|
|
733
|
-
* The target URL or intent of the bookmark. If the target application shall run in the current shell, the URL has
|
|
734
|
-
* to be a valid intent, i.e. in the format like <code>"#SO-Action?P1=a&P2=x&/route?RPV=1"</code>.
|
|
735
|
-
* @param {string} [oParameters.icon]
|
|
736
|
-
* The optional icon URL of the bookmark (e.g. <code>"sap-icon://home"</code>).
|
|
737
|
-
* @param {string} [oParameters.info]
|
|
738
|
-
* The information text of the bookmark.
|
|
739
|
-
* @param {string} [oParameters.subtitle]
|
|
740
|
-
* The subtitle of the bookmark.
|
|
741
|
-
* @param {string} [oParameters.serviceUrl]
|
|
742
|
-
* The URL to a REST or OData service that provides some dynamic information for the
|
|
743
|
-
* bookmark.
|
|
744
|
-
* @param {object} [oParameters.dataSource]
|
|
745
|
-
* Metadata for parameter serviceUrl. Mandatory to specify if parameter serviceURL contains semantic date ranges.
|
|
746
|
-
* This does not influence the data source of the app itself.
|
|
747
|
-
* @param {string} [oParameters.dataSource.type]
|
|
748
|
-
* The type of the serviceURL's service. Only "OData" is supported.
|
|
749
|
-
* @param {object} [oParameters.dataSource.settings]
|
|
750
|
-
* Additional settings for the data source.
|
|
751
|
-
* @param {object} [oParameters.dataSource.settings.odataVersion]
|
|
752
|
-
* The OData version of parameter serviceURL. Valid values are "2.0" and "4.0".
|
|
753
|
-
* @param {string} [oParameters.serviceRefreshInterval]
|
|
754
|
-
* The refresh interval for the <code>serviceUrl</code> in seconds.
|
|
755
|
-
* @param {string} [oParameters.numberUnit]
|
|
756
|
-
* The unit for the number retrieved from <code>serviceUrl</code>.
|
|
757
|
-
* @param {string} [sContentProviderId] The contentProviderId or undefined outside the cFLP
|
|
726
|
+
* @param {string} [sContentProviderId] <b>SAP internal usage only</b> The contentProviderId or undefined outside the cFLP.
|
|
758
727
|
*
|
|
759
|
-
* @returns {Promise}
|
|
728
|
+
* @returns {Promise<int>}
|
|
760
729
|
* A <code>Promise</code> which informs about success or
|
|
761
730
|
* failure of this asynchronous operation. In case of success, the number of updated
|
|
762
731
|
* bookmarks is provided (which might be zero). In case of failure, an error message is
|
|
@@ -871,9 +840,10 @@ sap.ui.define([
|
|
|
871
840
|
* A tree of content nodes.
|
|
872
841
|
* @property {string} id ID of the content node
|
|
873
842
|
* @property {string} label Human-readable representation of a content node which can be displayed in a control
|
|
874
|
-
* @property {sap.ushell.ContentNodeType} type Specifies the content node type. E.g: space, page, etc.
|
|
843
|
+
* @property {sap.ushell.ContentNodeType} type Specifies the content node type. E.g: space, page, etc.
|
|
875
844
|
* @property {boolean} isContainer Specifies if a bookmark can be added
|
|
876
845
|
* @property {sap.ushell.services.BookmarkV2.ContentNode[]} [children] Specifies sub-nodes
|
|
846
|
+
* @since 1.121.0
|
|
877
847
|
* @public
|
|
878
848
|
*/
|
|
879
849
|
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
* In the future, the custom resolver mechanism should be probably moved towards modifying (or only adding to the list of Inbounds),
|
|
30
30
|
* this way a single data source has to be altered to support consistently getLinks, isIntentSupported.
|
|
31
31
|
*
|
|
32
|
-
* @version 1.
|
|
32
|
+
* @version 1.123.0
|
|
33
33
|
*/
|
|
34
34
|
sap.ui.define([
|
|
35
35
|
"sap/base/Log",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @fileOverview The Unified Shell's Configuration service enables Components of any kind to consume parts of Configuration
|
|
5
5
|
* provided by the shell. It allows to attach on updates and receive the current values
|
|
6
6
|
*
|
|
7
|
-
* @version 1.
|
|
7
|
+
* @version 1.123.0
|
|
8
8
|
*/
|
|
9
9
|
sap.ui.define([
|
|
10
10
|
"sap/ushell/Config",
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* It exposes interfaces to perform a hash change and/or trigger an external navigation.
|
|
7
7
|
*
|
|
8
8
|
* @deprecated since 1.120 Please use {@link sap.ushell.services.Navigation} instead
|
|
9
|
-
* @version 1.
|
|
9
|
+
* @version 1.123.0
|
|
10
10
|
*/
|
|
11
11
|
sap.ui.define([
|
|
12
12
|
"sap/ushell/services/AppConfiguration",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @file The Unified Shell's page builder service providing the data for the Fiori launchpad's classic Homepage.
|
|
5
5
|
* This is the privately used subset of the previously deprecated public LaunchPage service API
|
|
6
6
|
* @private
|
|
7
|
-
* @version 1.
|
|
7
|
+
* @version 1.123.0
|
|
8
8
|
*/
|
|
9
9
|
sap.ui.define([
|
|
10
10
|
"sap/base/Log",
|
|
@@ -59,10 +59,17 @@ sap.ui.define([
|
|
|
59
59
|
function FlpLaunchPage (oAdapter/*, oContainerInterface*/) {
|
|
60
60
|
var that = this,
|
|
61
61
|
aTileActionsProviders = [],
|
|
62
|
-
oAdaptersPromise
|
|
62
|
+
oAdaptersPromise;
|
|
63
63
|
|
|
64
64
|
this.oAdapters = { default: oAdapter };
|
|
65
65
|
|
|
66
|
+
/**
|
|
67
|
+
* @deprecated As of version 1.120
|
|
68
|
+
*/
|
|
69
|
+
oAdaptersPromise = ContentExtensionAdapterFactory.getAdapters();
|
|
70
|
+
/**
|
|
71
|
+
* @deprecated As of version 1.120
|
|
72
|
+
*/
|
|
66
73
|
oAdaptersPromise.then(function (oAdapters) {
|
|
67
74
|
extend(this.oAdapters, oAdapters);
|
|
68
75
|
}.bind(this));
|