@sapui5/sap.ushell 1.111.0 → 1.112.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/AppInfoParameters.js +104 -4
- package/src/main/js/sap/ushell/ApplicationType.js +11 -4
- package/src/main/js/sap/ushell/Container.js +0 -32
- 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 +51 -21
- 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 +24 -158
- 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/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/LaunchPageAdapter.js +22 -140
- 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 +2 -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/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/LaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionAdapter.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/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/appRuntime/ui5/AppRuntime.js +12 -0
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppLifeCycleAgent.js +10 -0
- package/src/main/js/sap/ushell/appRuntime/ui5/services/CrossApplicationNavigation.js +28 -4
- package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolution.js +7 -5
- 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/common/common.configure.ui5datetimeformat.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.create.configcontract.core.js +1 -0
- package/src/main/js/sap/ushell/bootstrap/common/common.read.ushell.config.from.url.js +26 -23
- package/src/main/js/sap/ushell/components/appfinder/AppFinderView.js +69 -33
- package/src/main/js/sap/ushell/components/appfinder/VisualizationOrganizerHelper.js +3 -0
- package/src/main/js/sap/ushell/components/appfinder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/AppLifeCycle.js +17 -4
- package/src/main/js/sap/ushell/components/applicationIntegration/Storage.js +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/application/Application.js +29 -18
- package/src/main/js/sap/ushell/components/applicationIntegration/application/BlueBoxHandler.js +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/application/PostMessageAPI.js +21 -2
- package/src/main/js/sap/ushell/components/applicationIntegration/configuration/AppMeta.js +9 -4
- 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/cepsearchresult/app/Main.controller.js +1 -7
- package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/controls/Paginator.css +14 -3
- package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/controls/Paginator.js +57 -11
- package/src/main/js/sap/ushell/components/container/ApplicationContainer.js +16 -3
- package/src/main/js/sap/ushell/components/contentFinder/Component.js +470 -23
- package/src/main/js/sap/ushell/components/contentFinder/controller/AppSearch.controller.js +308 -6
- package/src/main/js/sap/ushell/components/contentFinder/controller/ContentFinderDialog.controller.js +83 -12
- package/src/main/js/sap/ushell/components/contentFinder/controller/WidgetGallery.controller.js +33 -6
- package/src/main/js/sap/ushell/components/contentFinder/manifest.json +7 -7
- package/src/main/js/sap/ushell/components/contentFinder/model/formatter.js +96 -0
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources.properties +44 -14
- package/src/main/js/sap/ushell/components/contentFinder/view/AppSearch.view.xml +82 -25
- package/src/main/js/sap/ushell/components/contentFinder/view/ContentFinderDialog.view.xml +18 -10
- package/src/main/js/sap/ushell/components/contentFinder/view/WidgetGallery.view.xml +52 -1
- package/src/main/js/sap/ushell/components/contentFinderAppSearch/Component.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinderAppSearch/controller/ContentFinderAppSearch.controller.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinderAppSearch/manifest.json +1 -1
- 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 +116 -40
- 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/Notifications/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/PostLoadingHeaderEnhancement/Component.js +17 -6
- 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/NavigationSvcSearchProvider.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/Settings/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/ContentWrapper.fragment.xml +7 -1
- package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/UserDefaultsForm.js +9 -10
- package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/controller/UserDefaultsSetting.controller.js +49 -57
- 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/tiles/cdm/applauncherdynamic/DynamicTile.controller.js +4 -1
- package/src/main/js/sap/ushell/components/visualizationOrganizer/Component.js +26 -27
- package/src/main/js/sap/ushell/components/workPageBuilder/Component.js +23 -4
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/ContentFinderDialog.controller.js +12 -9
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.controller.js +67 -16
- 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/WorkPageColumnRenderer.js +3 -0
- 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/workPageBuilder/resources/resources.properties +5 -3
- package/src/main/js/sap/ushell/components/workPageBuilder/view/WorkPageBuilder.view.xml +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 +4 -262
- package/src/main/js/sap/ushell/components/workPageRuntime/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/workPageRuntime/services/NavigationResolver.js +1 -1
- package/src/main/js/sap/ushell/components/workPageRuntime/services/WorkPage.js +1 -170
- package/src/main/js/sap/ushell/designtime/ApplicationContainer.designtime.js +1 -1
- package/src/main/js/sap/ushell/library.js +1 -3
- 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/renderers/fiori2/AccessKeysHandler.js +3 -1
- package/src/main/js/sap/ushell/renderers/fiori2/Renderer.js +2 -2
- package/src/main/js/sap/ushell/renderers/fiori2/allMyApps/AllMyApps.controller.js +2 -1
- package/src/main/js/sap/ushell/renderers/fiori2/allMyApps/AllMyApps.view.xml +10 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources.properties +15 -5
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_de.properties +1 -1
- package/src/main/js/sap/ushell/renderers/fiori2/search/searchComponent/manifest.json +1 -1
- package/src/main/js/sap/ushell/services/AppConfiguration.js +0 -37
- package/src/main/js/sap/ushell/services/AppLifeCycle.js +50 -3
- package/src/main/js/sap/ushell/services/AppState.js +1 -1
- package/src/main/js/sap/ushell/services/Bookmark.js +93 -30
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution.js +1 -1
- package/src/main/js/sap/ushell/services/CommonDataModel.js +5 -243
- 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/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 +31 -12
- package/src/main/js/sap/ushell/services/NavTargetResolution.js +4 -2
- package/src/main/js/sap/ushell/services/NavigationDataProvider.js +1 -1
- 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 +21 -3
- package/src/main/js/sap/ushell/services/Personalization.js +1 -1
- package/src/main/js/sap/ushell/services/PluginManager.js +1 -3
- package/src/main/js/sap/ushell/services/ReferenceResolver.js +178 -125
- 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/ShellNavigationHashChanger.js +15 -18
- package/src/main/js/sap/ushell/services/SmartNavigation.js +32 -6
- package/src/main/js/sap/ushell/services/SpaceContent.js +1 -1
- 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 +1 -1
- 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 +5 -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 +2 -2
- 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/_ContentExtensionAdapterFactory/ContentExtensionAdapterConfig.js +1 -1
- package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/FeaturedGroupConfig.js +131 -135
- package/src/main/js/sap/ushell/services/_CrossApplicationNavigation/utils.js +1 -1
- package/src/main/js/sap/ushell/services/_MessageBroker/MessageBrokerEngine.js +341 -308
- 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 +1 -1
- package/src/main/js/sap/ushell/services/_VisualizationInstantiation/VizInstanceLink.js +1 -1
- package/src/main/js/sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin.js +1 -1
- package/src/main/js/sap/ushell/themes/base/Catalog.less +4 -0
- package/src/main/js/sap/ushell/themes/base/ContentFinder.less +5 -1
- package/src/main/js/sap/ushell/themes/base/SearchFLP.less +0 -5
- package/src/main/js/sap/ushell/themes/base/ShellAppTitle.less +6 -9
- package/src/main/js/sap/ushell/themes/base/WorkPageCell.less +2 -2
- package/src/main/js/sap/ushell/themes/base/WorkPageColumn.less +8 -0
- package/src/main/js/sap/ushell/themes/base/WorkPageRow.less +2 -2
- package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.eot +0 -0
- package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.json +16 -1
- package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.ttf +0 -0
- package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.woff +0 -0
- package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.woff2 +0 -0
- package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.eot +0 -0
- package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.ttf +0 -0
- package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.woff +0 -0
- package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.woff2 +0 -0
- package/src/main/js/sap/ushell/themes/base/library.source.less +0 -2
- package/src/main/js/sap/ushell/themes/sap_belize/ShellHeader.less +0 -9
- package/src/main/js/sap/ushell/themes/sap_belize/library.source.less +0 -1
- package/src/main/js/sap/ushell/themes/sap_belize_hcb/ShellHeader.less +0 -27
- package/src/main/js/sap/ushell/themes/sap_belize_hcb/library.source.less +0 -2
- package/src/main/js/sap/ushell/themes/sap_belize_hcw/ShellHeader.less +0 -25
- package/src/main/js/sap/ushell/themes/sap_belize_hcw/library.source.less +0 -2
- package/src/main/js/sap/ushell/themes/sap_bluecrystal/library.source.less +0 -2
- package/src/main/js/sap/ushell/themes/sap_fiori_3/ShellHeader.less +2 -11
- package/src/main/js/sap/ushell/themes/sap_fiori_3/library.source.less +0 -1
- package/src/main/js/sap/ushell/themes/sap_fiori_3_dark/ShellHeader.less +2 -11
- package/src/main/js/sap/ushell/themes/sap_fiori_3_dark/library.source.less +0 -1
- package/src/main/js/sap/ushell/themes/sap_fiori_3_hcb/ShellHeader.less +0 -25
- package/src/main/js/sap/ushell/themes/sap_fiori_3_hcb/library.source.less +0 -2
- package/src/main/js/sap/ushell/themes/sap_fiori_3_hcw/ShellHeader.less +0 -25
- package/src/main/js/sap/ushell/themes/sap_fiori_3_hcw/library.source.less +0 -2
- package/src/main/js/sap/ushell/themes/sap_hcb/ShellHeader.less +0 -24
- package/src/main/js/sap/ushell/themes/sap_hcb/library.source.less +0 -2
- package/src/main/js/sap/ushell/themes/sap_horizon/ShellAppTitle.less +2 -12
- package/src/main/js/sap/ushell/themes/sap_horizon/library.source.less +0 -1
- package/src/main/js/sap/ushell/themes/sap_horizon_dark/ShellAppTitle.less +2 -12
- package/src/main/js/sap/ushell/themes/sap_horizon_dark/library.source.less +0 -1
- package/src/main/js/sap/ushell/themes/sap_horizon_hcb/ShellAppTitle.less +0 -25
- package/src/main/js/sap/ushell/themes/sap_horizon_hcb/library.source.less +0 -1
- package/src/main/js/sap/ushell/themes/sap_horizon_hcw/ShellAppTitle.less +0 -25
- package/src/main/js/sap/ushell/themes/sap_horizon_hcw/library.source.less +0 -1
- package/src/main/js/sap/ushell/ui/appfinder/AppBoxRenderer.js +0 -15
- package/src/main/js/sap/ushell/ui/cards/FrequentActivitiesExtension.js +199 -0
- package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +202 -0
- package/src/main/js/sap/ushell/ui/contentFinder/AppBox.js +17 -2
- package/src/main/js/sap/ushell/ui/launchpad/ExtendedChangeDetection.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/LoadingDialogRenderer.js +2 -45
- package/src/main/js/sap/ushell/ui/launchpad/Page.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/Section.js +2 -2
- package/src/main/js/sap/ushell/ui/launchpad/TileRenderer.js +4 -21
- package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.js +1 -1
- package/src/main/js/sap/ushell/ui/shell/ShellAppTitle.js +6 -8
- package/src/main/js/sap/ushell/ui/shell/ShellHeadItem.js +1 -1
- package/src/main/js/sap/ushell/ui/shell/ShellLayout.js +1 -1
- package/src/main/js/sap/ushell/ui/shell/ShellNavigationMenu.js +21 -62
- package/src/main/js/sap/ushell/ui/shell/SplitContainer.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/utils/DynamicTileRequest.js +25 -5
- package/src/main/js/sap/ushell/utils/UrlShortening.js +1 -1
- package/src/test/js/sap/ushell/bootstrap/sandbox.js +1 -1
- package/ui5.yaml +53 -51
- package/src/main/js/sap/ushell/services/ContentExtension.js +0 -114
- package/src/main/js/sap/ushell/themes/base/UserPreferencesButton.less +0 -35
- package/src/main/js/sap/ushell/themes/base/flower-standalone.less +0 -774
- package/src/main/js/sap/ushell/themes/sap_belize/UserPreferencesButton.less +0 -7
- package/src/main/js/sap/ushell/themes/sap_belize_hcb/UserPreferencesButton.less +0 -7
- package/src/main/js/sap/ushell/themes/sap_belize_hcb/flower-standalone.less +0 -34
- package/src/main/js/sap/ushell/themes/sap_belize_hcw/UserPreferencesButton.less +0 -7
- package/src/main/js/sap/ushell/themes/sap_belize_hcw/flower-standalone.less +0 -34
- package/src/main/js/sap/ushell/themes/sap_bluecrystal/UserPreferencesButton.less +0 -7
- package/src/main/js/sap/ushell/themes/sap_bluecrystal/flower-standalone.less +0 -23
- package/src/main/js/sap/ushell/themes/sap_fiori_3_hcb/flower-standalone.less +0 -34
- package/src/main/js/sap/ushell/themes/sap_fiori_3_hcw/flower-standalone.less +0 -33
- package/src/main/js/sap/ushell/themes/sap_hcb/UserPreferencesButton.less +0 -7
- package/src/main/js/sap/ushell/themes/sap_hcb/flower-standalone.less +0 -34
- package/src/main/js/sap/ushell/themes/sap_horizon/UserPreferencesButton.less +0 -9
- package/src/main/js/sap/ushell/themes/sap_horizon_dark/UserPreferencesButton.less +0 -8
- package/src/main/js/sap/ushell/ui/footerbar/SettingsButton.js +0 -90
- package/src/main/js/sap/ushell/ui/footerbar/UserPreferencesButton.js +0 -505
- package/src/main/js/sap/ushell/ui5service/CardNavigation.js +0 -131
- package/src/main/js/sap/ushell/ui5service/CardUserFrequents.js +0 -138
- package/src/main/js/sap/ushell/ui5service/CardUserRecents.js +0 -101
- package/src/main/js/sap/ushell/ui5service/_CardUserRecents/CardUserRecentsBase.js +0 -108
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* </p>
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
|
-
* @version 1.
|
|
10
|
+
* @version 1.112.0
|
|
11
11
|
*/
|
|
12
12
|
sap.ui.define([
|
|
13
13
|
"sap/ushell/services/_CommonDataModel/PersonalizationProcessor",
|
|
@@ -1077,251 +1077,13 @@ sap.ui.define([
|
|
|
1077
1077
|
};
|
|
1078
1078
|
|
|
1079
1079
|
/**
|
|
1080
|
-
*
|
|
1081
|
-
*
|
|
1082
|
-
* @param {object} oExtensionSite
|
|
1083
|
-
* The extension site to be checked
|
|
1084
|
-
*
|
|
1085
|
-
* @returns {object}
|
|
1086
|
-
* An object indicating which apps from which catalogs are invalid:
|
|
1087
|
-
* {
|
|
1088
|
-
* CatalogId1: { // only lists invalid apps
|
|
1089
|
-
* AppId1: true,
|
|
1090
|
-
* AppId2: true,
|
|
1091
|
-
* ...
|
|
1092
|
-
* AppIdN: true
|
|
1093
|
-
* },
|
|
1094
|
-
* ...
|
|
1095
|
-
* }
|
|
1096
|
-
* </pre>
|
|
1097
|
-
* This method guarantees non-empty objects. Therefore it can be assumed
|
|
1098
|
-
* that if the result is an empty object, there are no errors
|
|
1080
|
+
* Registers extension catalogs. The functionality was removed. The funciton is void.
|
|
1099
1081
|
*
|
|
1082
|
+
* @deprecated
|
|
1100
1083
|
* @private
|
|
1101
1084
|
*/
|
|
1102
|
-
CommonDataModel.prototype.
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
// the id property counts in the end...
|
|
1106
|
-
var oAllApplicationIdsIndex = Object.keys(oExtensionSite.applications)
|
|
1107
|
-
.map(function (sAppId) {
|
|
1108
|
-
return oExtensionSite.applications[sAppId]["sap.app"].id;
|
|
1109
|
-
})
|
|
1110
|
-
.reduce(function (oIndex, sAppId) {
|
|
1111
|
-
oIndex[sAppId] = true;
|
|
1112
|
-
return oIndex;
|
|
1113
|
-
}, {});
|
|
1114
|
-
|
|
1115
|
-
var oCatalogs = oExtensionSite.catalogs;
|
|
1116
|
-
|
|
1117
|
-
Object.keys(oCatalogs).forEach(function (sCatalog) {
|
|
1118
|
-
var aAppDescriptors = oCatalogs[sCatalog].payload.appDescriptors;
|
|
1119
|
-
|
|
1120
|
-
aAppDescriptors.map(function (oAppDescriptor) {
|
|
1121
|
-
return oAppDescriptor.id;
|
|
1122
|
-
}).filter(function (sAppIdFromAppDescriptors) {
|
|
1123
|
-
// only invalid: avoids empty catalogs
|
|
1124
|
-
return !oAllApplicationIdsIndex[sAppIdFromAppDescriptors];
|
|
1125
|
-
}).forEach(function (sBadAppIdFromAppDescriptors) {
|
|
1126
|
-
if (!oUnreferencedApplicationPerCatalogIndex.hasOwnProperty(sCatalog)) {
|
|
1127
|
-
oUnreferencedApplicationPerCatalogIndex[sCatalog] = {};
|
|
1128
|
-
}
|
|
1129
|
-
|
|
1130
|
-
// mark as invalid
|
|
1131
|
-
oUnreferencedApplicationPerCatalogIndex[sCatalog][sBadAppIdFromAppDescriptors]
|
|
1132
|
-
= true;
|
|
1133
|
-
});
|
|
1134
|
-
});
|
|
1135
|
-
|
|
1136
|
-
return oUnreferencedApplicationPerCatalogIndex;
|
|
1137
|
-
};
|
|
1138
|
-
|
|
1139
|
-
/**
|
|
1140
|
-
* Formats an invalid application index into a human readable string.
|
|
1141
|
-
*
|
|
1142
|
-
* @param {string} sContentProviderId
|
|
1143
|
-
* The id of the provider that returned the site.
|
|
1144
|
-
*
|
|
1145
|
-
* @param {object} oUnreferencedApplicationPerCatalogIndex
|
|
1146
|
-
* An index of all the invalid applications per catalog as returned by
|
|
1147
|
-
* <code>#_getUnreferencedCatalogApplications</code>.
|
|
1148
|
-
*
|
|
1149
|
-
* @returns {string}
|
|
1150
|
-
* A nice error message
|
|
1151
|
-
*
|
|
1152
|
-
* @private
|
|
1153
|
-
*/
|
|
1154
|
-
CommonDataModel.prototype._formatUnreferencedApplications = function (sContentProviderId, oUnreferencedApplicationPerCatalogIndex) {
|
|
1155
|
-
return "One or more apps from " + sContentProviderId
|
|
1156
|
-
+ " content provider are not listed among the applications section " +
|
|
1157
|
-
"of the extended site and will be discarded - "
|
|
1158
|
-
+ Object.keys(oUnreferencedApplicationPerCatalogIndex)
|
|
1159
|
-
.map(function (sCatalogId) {
|
|
1160
|
-
|
|
1161
|
-
var aBadCatalogAppsQuoted = Object.keys(oUnreferencedApplicationPerCatalogIndex[sCatalogId])
|
|
1162
|
-
.map(function (sUnquoted) {
|
|
1163
|
-
return "'" + sUnquoted + "'";
|
|
1164
|
-
});
|
|
1165
|
-
|
|
1166
|
-
return "From catalog '" + sCatalogId + "': "
|
|
1167
|
-
+ aBadCatalogAppsQuoted.join(", ");
|
|
1168
|
-
|
|
1169
|
-
}).join("; ");
|
|
1170
|
-
};
|
|
1171
|
-
/**
|
|
1172
|
-
* Removes invalid appDescriptors from an extended site according to the
|
|
1173
|
-
* index. This method operates in place on the site.
|
|
1174
|
-
*
|
|
1175
|
-
* @param {object} oExtensionSite
|
|
1176
|
-
* The extended site
|
|
1177
|
-
*
|
|
1178
|
-
* @param {object} oUnreferencedApplicationPerCatalogIndex
|
|
1179
|
-
* An index of all the invalid applications per catalog as returned by
|
|
1180
|
-
* <code>#_getUnreferencedCatalogApplications</code>.
|
|
1181
|
-
*/
|
|
1182
|
-
CommonDataModel.prototype._removeUnreferencedApplications = function (oExtensionSite, oUnreferencedApplicationPerCatalogIndex) {
|
|
1183
|
-
Object.keys(oExtensionSite.catalogs).forEach(function (sCatalogId) {
|
|
1184
|
-
var oCatalogPayload = oExtensionSite.catalogs[sCatalogId].payload;
|
|
1185
|
-
var aAppDescriptors = oCatalogPayload.appDescriptors;
|
|
1186
|
-
|
|
1187
|
-
oCatalogPayload.appDescriptors = aAppDescriptors.filter(function (oAppDescriptor) {
|
|
1188
|
-
return oUnreferencedApplicationPerCatalogIndex[sCatalogId]
|
|
1189
|
-
&& !oUnreferencedApplicationPerCatalogIndex[sCatalogId][oAppDescriptor.id];
|
|
1190
|
-
});
|
|
1191
|
-
});
|
|
1192
|
-
};
|
|
1193
|
-
|
|
1194
|
-
/**
|
|
1195
|
-
* Loads extension sites from ContentProvider plugins.
|
|
1196
|
-
*
|
|
1197
|
-
* @returns {jQuery.promise}
|
|
1198
|
-
* A promise that resolves when all the ContentProviders have returned a
|
|
1199
|
-
* site or failed to do so. This promise is always resolved (and never
|
|
1200
|
-
* rejected) with an array of "report" objects also indicating if the
|
|
1201
|
-
* operation of retrieving the site was successful. For example, when the
|
|
1202
|
-
* site is correctly retrieved, an item of this array is an object like:
|
|
1203
|
-
* <pre>
|
|
1204
|
-
* {
|
|
1205
|
-
* providerId: "SomeProviderId",
|
|
1206
|
-
* success: true,
|
|
1207
|
-
* site: { ... } // the extension site
|
|
1208
|
-
* }
|
|
1209
|
-
* </pre>
|
|
1210
|
-
* Likewise, when the operation fails, the object looks more like:
|
|
1211
|
-
* <pre>
|
|
1212
|
-
* {
|
|
1213
|
-
* providerId: "SomeProviderId",
|
|
1214
|
-
* success: false,
|
|
1215
|
-
* error: "..."
|
|
1216
|
-
* }
|
|
1217
|
-
* </pre>
|
|
1218
|
-
* The promise .progress handler is called only when a site is
|
|
1219
|
-
* successfully loaded, therefore the consumer must check the result of
|
|
1220
|
-
* the done handler to inspect or report failures.
|
|
1221
|
-
*
|
|
1222
|
-
* @private
|
|
1223
|
-
*/
|
|
1224
|
-
CommonDataModel.prototype.getExtensionSites = function () {
|
|
1225
|
-
var oDeferred = new jQuery.Deferred();
|
|
1226
|
-
|
|
1227
|
-
sap.ushell.Container.getServiceAsync("PluginManager")
|
|
1228
|
-
.then(function (PluginManagerService) {
|
|
1229
|
-
PluginManagerService.loadPlugins("ContentProvider")
|
|
1230
|
-
.done(function () {
|
|
1231
|
-
var aContentProviderIds = Object.keys(this._oContentProviderIndex),
|
|
1232
|
-
iTotalContentProviders = aContentProviderIds.length;
|
|
1233
|
-
|
|
1234
|
-
if (iTotalContentProviders === 0) {
|
|
1235
|
-
oDeferred.resolve([]);
|
|
1236
|
-
return;
|
|
1237
|
-
}
|
|
1238
|
-
|
|
1239
|
-
// assumption: all ContentProvider register themselves on init
|
|
1240
|
-
var aGetSitePromises = aContentProviderIds.map(function (sContentProviderId) {
|
|
1241
|
-
var oContentProvider = this._oContentProviderIndex[sContentProviderId];
|
|
1242
|
-
|
|
1243
|
-
var oGetSitePromise;
|
|
1244
|
-
try {
|
|
1245
|
-
oGetSitePromise = oContentProvider.getSite();
|
|
1246
|
-
|
|
1247
|
-
if (!oGetSitePromise || typeof oGetSitePromise.then !== "function") {
|
|
1248
|
-
oGetSitePromise = Promise.reject("Call to getSite failed: getSite did not return a Promise");
|
|
1249
|
-
}
|
|
1250
|
-
} catch (oError) {
|
|
1251
|
-
oGetSitePromise = Promise.reject("Call to getSite failed: " + oError);
|
|
1252
|
-
}
|
|
1253
|
-
|
|
1254
|
-
return oGetSitePromise
|
|
1255
|
-
.then(function (/* bound */ sContentProviderId, oExtensionSite) {
|
|
1256
|
-
var oExtensionSiteClone = deepExtend({}, oExtensionSite);
|
|
1257
|
-
|
|
1258
|
-
var oUnreferencedApplicationPerCatalogIndex = this._getUnreferencedCatalogApplications(oExtensionSite);
|
|
1259
|
-
|
|
1260
|
-
if (Object.keys(oUnreferencedApplicationPerCatalogIndex).length > 0) {
|
|
1261
|
-
var sErrorMessage = this._formatUnreferencedApplications(sContentProviderId, oUnreferencedApplicationPerCatalogIndex);
|
|
1262
|
-
|
|
1263
|
-
Log.error(sErrorMessage, null, S_COMPONENT_NAME);
|
|
1264
|
-
|
|
1265
|
-
this._removeUnreferencedApplications(oExtensionSiteClone, oUnreferencedApplicationPerCatalogIndex);
|
|
1266
|
-
}
|
|
1267
|
-
|
|
1268
|
-
var oLoadResult = {
|
|
1269
|
-
providerId: sContentProviderId,
|
|
1270
|
-
success: true,
|
|
1271
|
-
site: oExtensionSiteClone
|
|
1272
|
-
};
|
|
1273
|
-
|
|
1274
|
-
oDeferred.notify(oLoadResult);
|
|
1275
|
-
|
|
1276
|
-
return oLoadResult;
|
|
1277
|
-
}.bind(this, sContentProviderId))
|
|
1278
|
-
.catch(function (/* bound */ sContentProviderId, sErrorMessage) {
|
|
1279
|
-
return {
|
|
1280
|
-
providerId: sContentProviderId,
|
|
1281
|
-
success: false,
|
|
1282
|
-
error: sErrorMessage
|
|
1283
|
-
};
|
|
1284
|
-
}.bind(null, sContentProviderId));
|
|
1285
|
-
}.bind(this));
|
|
1286
|
-
|
|
1287
|
-
Promise.all(aGetSitePromises).then(oDeferred.resolve);
|
|
1288
|
-
}.bind(this));
|
|
1289
|
-
// .fail({
|
|
1290
|
-
// On failure just leave promise in pending state. This should be fine
|
|
1291
|
-
// with the caller.
|
|
1292
|
-
// });
|
|
1293
|
-
}.bind(this)); // See comment above: no .catch here either.
|
|
1294
|
-
|
|
1295
|
-
return oDeferred.promise();
|
|
1296
|
-
|
|
1297
|
-
};
|
|
1298
|
-
|
|
1299
|
-
/**
|
|
1300
|
-
* Registers extension catalogs (i.e., 3rd Party catalogs).
|
|
1301
|
-
*
|
|
1302
|
-
* @param {string} sId
|
|
1303
|
-
* The unique id of the content provider.
|
|
1304
|
-
* @param {object} oSiteContentProvider
|
|
1305
|
-
* The site content provider implementation.
|
|
1306
|
-
* @private
|
|
1307
|
-
*/
|
|
1308
|
-
CommonDataModel.prototype.registerContentProvider = function (sId, oSiteContentProvider) {
|
|
1309
|
-
if (this._oContentProviderIndex[sId]) {
|
|
1310
|
-
Log.error(
|
|
1311
|
-
"a content provider with ID '" + sId + "' is already registered",
|
|
1312
|
-
null,
|
|
1313
|
-
S_COMPONENT_NAME
|
|
1314
|
-
);
|
|
1315
|
-
return;
|
|
1316
|
-
}
|
|
1317
|
-
|
|
1318
|
-
this._oContentProviderIndex[sId] = oSiteContentProvider;
|
|
1319
|
-
|
|
1320
|
-
Log.debug(
|
|
1321
|
-
"ContentProvider '" + sId + "' was registered",
|
|
1322
|
-
null,
|
|
1323
|
-
S_COMPONENT_NAME
|
|
1324
|
-
);
|
|
1085
|
+
CommonDataModel.prototype.registerContentProvider = function () {
|
|
1086
|
+
Log.error("CommonDataModel.registerContentProvider is obsolete and should not be used.");
|
|
1325
1087
|
};
|
|
1326
1088
|
|
|
1327
1089
|
/**
|
|
@@ -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.112.0
|
|
8
8
|
*/
|
|
9
9
|
sap.ui.define([
|
|
10
10
|
"sap/ushell/Config",
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* This file exposes an API to perform (invoke) Cross Application Navigation for applications.
|
|
6
6
|
* It exposes interfaces to perform a hash change and/or trigger an external navigation.
|
|
7
7
|
*
|
|
8
|
-
* @version 1.
|
|
8
|
+
* @version 1.112.0
|
|
9
9
|
*/
|
|
10
10
|
sap.ui.define([
|
|
11
11
|
"sap/ushell/services/AppConfiguration",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileOverview This module exposes API enpoints for Generic Communication
|
|
5
|
-
* @version 1.
|
|
5
|
+
* @version 1.112.0
|
|
6
6
|
*/
|
|
7
7
|
sap.ui.define([
|
|
8
8
|
"sap/ushell/services/_MessageBroker/MessageBrokerEngine"
|
|
@@ -27,11 +27,35 @@ sap.ui.define([
|
|
|
27
27
|
var MessageBroker = function () {};
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
*
|
|
31
|
+
* @param {string} sClientId client id.
|
|
32
|
+
* @returns {Promise} Promise result.
|
|
33
|
+
*
|
|
34
|
+
* @since 1.110.0
|
|
35
|
+
* @private
|
|
36
|
+
*/
|
|
37
|
+
|
|
38
|
+
MessageBroker.prototype.connect = function (sClientId) {
|
|
39
|
+
return MessageBrokerEngine.connect(sClientId);
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @param {string} sClientId client ID.
|
|
45
|
+
* @returns {Promise} Promise result.
|
|
46
|
+
*
|
|
47
|
+
* @since 1.110.0
|
|
48
|
+
* @private
|
|
49
|
+
*/
|
|
50
|
+
|
|
51
|
+
MessageBroker.prototype.disconnect = function (sClientId) {
|
|
52
|
+
return MessageBrokerEngine.disconnect(sClientId);
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
/**
|
|
31
56
|
*
|
|
32
57
|
* @param {string} sClientId client id.
|
|
33
58
|
* @param {array} aSubscribedChannels array of channel-objects.
|
|
34
|
-
* @param {object} data additional data.
|
|
35
59
|
* @param {function} fnMessageCallback callback function returns promise.
|
|
36
60
|
* @param {function} fnClientConnectionCallback callback function returns promise.
|
|
37
61
|
* @returns {Promise} Promise result.
|
|
@@ -43,35 +67,32 @@ sap.ui.define([
|
|
|
43
67
|
MessageBroker.prototype.subscribe = function (
|
|
44
68
|
sClientId,
|
|
45
69
|
aSubscribedChannels,
|
|
46
|
-
data,
|
|
47
70
|
fnMessageCallback,
|
|
48
71
|
fnClientConnectionCallback
|
|
49
72
|
) {
|
|
50
73
|
return MessageBrokerEngine.subscribe(
|
|
51
74
|
sClientId,
|
|
52
75
|
aSubscribedChannels,
|
|
53
|
-
data,
|
|
54
76
|
fnMessageCallback,
|
|
55
77
|
fnClientConnectionCallback
|
|
56
78
|
);
|
|
57
79
|
};
|
|
58
80
|
|
|
59
81
|
/**
|
|
60
|
-
* This is an api for Shell Container UI5 clients.
|
|
61
82
|
*
|
|
62
83
|
* @param {string} sClientId client ID.
|
|
84
|
+
* @param {array} aUnsubscribedChannels channels to unsubscribe from.
|
|
63
85
|
* @returns {Promise} Promise result.
|
|
64
86
|
*
|
|
65
87
|
* @since 1.110.0
|
|
66
88
|
* @private
|
|
67
89
|
*/
|
|
68
90
|
|
|
69
|
-
MessageBroker.prototype.unsubscribe = function (sClientId) {
|
|
70
|
-
return MessageBrokerEngine.unsubscribe(sClientId);
|
|
91
|
+
MessageBroker.prototype.unsubscribe = function (sClientId, aUnsubscribedChannels) {
|
|
92
|
+
return MessageBrokerEngine.unsubscribe(sClientId, aUnsubscribedChannels);
|
|
71
93
|
};
|
|
72
94
|
|
|
73
95
|
/**
|
|
74
|
-
* This is an api for Shell Container UI5 clients.
|
|
75
96
|
*
|
|
76
97
|
* @param {string} sChannelId channel Id.
|
|
77
98
|
* @param {string} sClientId client Id.
|
|
@@ -103,7 +124,6 @@ sap.ui.define([
|
|
|
103
124
|
};
|
|
104
125
|
|
|
105
126
|
/**
|
|
106
|
-
* This is an api for Shell Container UI5 clients.
|
|
107
127
|
*
|
|
108
128
|
* @param {string} sOrigin iframe src.
|
|
109
129
|
*
|
|
@@ -116,7 +136,6 @@ sap.ui.define([
|
|
|
116
136
|
};
|
|
117
137
|
|
|
118
138
|
/**
|
|
119
|
-
* This is an api for Shell Container UI5 clients.
|
|
120
139
|
*
|
|
121
140
|
* @param {string} sOrigin iframe src.
|
|
122
141
|
*
|
|
@@ -129,7 +148,7 @@ sap.ui.define([
|
|
|
129
148
|
};
|
|
130
149
|
|
|
131
150
|
/**
|
|
132
|
-
*
|
|
151
|
+
*
|
|
133
152
|
* @returns {Promise} Promise result.
|
|
134
153
|
* @since 1.110.0
|
|
135
154
|
* @private
|
|
@@ -1005,8 +1005,10 @@ sap.ui.define([
|
|
|
1005
1005
|
* @private
|
|
1006
1006
|
*/
|
|
1007
1007
|
this._recordNavigation = function (sFunctionName, oParameters, vResult) {
|
|
1008
|
-
|
|
1009
|
-
|
|
1008
|
+
var oUsageRecorderConfig = oServiceConfig && oServiceConfig.usageRecorder || {};
|
|
1009
|
+
if (oUsageRecorderConfig.enabled) {
|
|
1010
|
+
var sUsageRecorderEndpoint = oUsageRecorderConfig.serviceUrl || "/navigation/api/v2/record";
|
|
1011
|
+
oHttpClient.post(sUsageRecorderEndpoint, {
|
|
1010
1012
|
data: {
|
|
1011
1013
|
function: sFunctionName,
|
|
1012
1014
|
parameters: JSON.stringify(oParameters),
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileOverview This module exposes a model containing the pages hierarchy to its clients.
|
|
5
|
-
* @version 1.
|
|
5
|
+
* @version 1.112.0
|
|
6
6
|
*/
|
|
7
7
|
sap.ui.define([
|
|
8
8
|
"sap/base/Log",
|
|
@@ -15,7 +15,8 @@ sap.ui.define([
|
|
|
15
15
|
"sap/ushell/Config",
|
|
16
16
|
"sap/ushell/adapters/cdm/v3/utilsCdm",
|
|
17
17
|
"sap/ushell/adapters/cdm/v3/_LaunchPage/readUtils",
|
|
18
|
-
"sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations"
|
|
18
|
+
"sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations",
|
|
19
|
+
"sap/base/util/ObjectPath"
|
|
19
20
|
], function (
|
|
20
21
|
Log,
|
|
21
22
|
RestrictedJSONModel,
|
|
@@ -27,7 +28,8 @@ sap.ui.define([
|
|
|
27
28
|
Config,
|
|
28
29
|
utilsCdm,
|
|
29
30
|
readUtils,
|
|
30
|
-
readVisualizations
|
|
31
|
+
readVisualizations,
|
|
32
|
+
ObjectPath
|
|
31
33
|
) {
|
|
32
34
|
"use strict";
|
|
33
35
|
|
|
@@ -1321,6 +1323,13 @@ sap.ui.define([
|
|
|
1321
1323
|
* The optional subtitle of the bookmark.
|
|
1322
1324
|
* @param {string} [bookmark.serviceUrl]
|
|
1323
1325
|
* The URL to a REST or OData service that provides some dynamic information for the bookmark.
|
|
1326
|
+
* @param {object} [oParameters.dataSource]
|
|
1327
|
+
* Metadata for parameter serivceUrl. Mandatory to specify if parameter serviceURL contains semantic date ranges.
|
|
1328
|
+
* This does not influence the data source of the app itself.
|
|
1329
|
+
* @param {string} [oParameters.dataSource.type]
|
|
1330
|
+
* The type of the serviceURL's service. Only "OData" is supported.
|
|
1331
|
+
* @param {object} [oParameters.dataSource.settings.odataVersion]
|
|
1332
|
+
* The OData version of parameter serviceURL. Valid values are "2.0" and "4.0".
|
|
1324
1333
|
* @param {string} [bookmark.serviceRefreshInterval]
|
|
1325
1334
|
* The refresh interval for the <code>serviceUrl</code> in seconds.
|
|
1326
1335
|
* @param {string} [bookmark.numberUnit]
|
|
@@ -1403,6 +1412,15 @@ sap.ui.define([
|
|
|
1403
1412
|
isBookmark: true
|
|
1404
1413
|
};
|
|
1405
1414
|
|
|
1415
|
+
if (bookmark.dataSource) {
|
|
1416
|
+
oVizRef.dataSource = {
|
|
1417
|
+
type: bookmark.dataSource.type,
|
|
1418
|
+
settings: {
|
|
1419
|
+
odataVersion: ObjectPath.get(["dataSource", "settings", "odataVersion"], bookmark)
|
|
1420
|
+
}
|
|
1421
|
+
};
|
|
1422
|
+
}
|
|
1423
|
+
|
|
1406
1424
|
if (sContentProviderId) {
|
|
1407
1425
|
oVizRef.contentProviderId = sContentProviderId;
|
|
1408
1426
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @fileOverview The Unified Shell's personalization service, which provides generic read and write access to the currently logged on user's
|
|
5
5
|
* personalization settings for the app currently executed in the shell.
|
|
6
6
|
*
|
|
7
|
-
* @version 1.
|
|
7
|
+
* @version 1.112.0
|
|
8
8
|
*/
|
|
9
9
|
sap.ui.define([
|
|
10
10
|
"sap/base/Log",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileOverview The Unified Shell's PluginManager service, which allows you to handle the loading of Fiori Launchpad plugins.
|
|
5
|
-
* @version 1.
|
|
5
|
+
* @version 1.112.0
|
|
6
6
|
*/
|
|
7
7
|
sap.ui.define([
|
|
8
8
|
"sap/base/Log",
|
|
@@ -27,10 +27,8 @@ sap.ui.define([
|
|
|
27
27
|
var S_FLP_AREAS_PLUGIN_COMPONENT = "sap.ushell.components.shell.defaults"; // contains Me Area and Notifications Area
|
|
28
28
|
var aSupportedPluginCategories = [
|
|
29
29
|
S_DEFAULT_PLUGIN_CATEGORY,
|
|
30
|
-
"EarlyLoading",
|
|
31
30
|
"UserDefaults",
|
|
32
31
|
"UserImage",
|
|
33
|
-
"ContentProvider",
|
|
34
32
|
"AppWarmup"
|
|
35
33
|
];
|
|
36
34
|
|