@sapui5/sap.ushell 1.121.1 → 1.122.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 +2 -2
- package/src/main/js/sap/ushell/.library +1 -1
- package/src/main/js/sap/ushell/CanvasShapesManager.js +5 -3
- package/src/main/js/sap/ushell/Container.js +14 -0
- 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/Layout.js +1 -1
- package/src/main/js/sap/ushell/NWBCInterface.js +1 -1
- package/src/main/js/sap/ushell/SessionHandler.js +14 -9
- 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 -1
- 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/MenuAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionAdapter.js +8 -185
- package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionInternalAdapter.js +198 -0
- 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 +6 -5
- package/src/main/js/sap/ushell/adapters/local/ClientSideTargetResolutionAdapter.js +5 -4
- package/src/main/js/sap/ushell/adapters/local/ContainerAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/FlpLaunchPageAdapter.js +27 -22
- package/src/main/js/sap/ushell/adapters/local/LaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionAdapter.js +7 -193
- package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionInternalAdapter.js +205 -0
- 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 +24 -4
- package/src/main/js/sap/ushell/api/workpage/Runtime.js +45 -7
- package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntime.js +6 -0
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/baseRta/AppLifeCycleUtils.js +4 -4
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/baseRta/Renderer.js +17 -49
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaAgent/Component.js +13 -18
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaShell/Component.js +24 -36
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppLifeCycleAgent.js +2 -3
- package/src/main/js/sap/ushell/appRuntime/ui5/services/CrossApplicationNavigation.js +4 -4
- package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolution.js +4 -5
- package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolutionInternal.js +113 -0
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Navigation.js +2 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigation.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigationInternal.js +1 -1
- 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 +3 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.read.ushell.config.from.url.js +2 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.util.js +17 -2
- package/src/main/js/sap/ushell/bootstrap/sandbox2/sandboxConfig.json +12 -3
- package/src/main/js/sap/ushell/bootstrap/sandbox2.js +54 -22
- package/src/main/js/sap/ushell/components/CatalogsManager.js +31 -11
- package/src/main/js/sap/ushell/components/ComponentKeysHandler.js +1 -1
- package/src/main/js/sap/ushell/components/HomepageManager.js +5 -3
- package/src/main/js/sap/ushell/components/appfinder/AppFinder.controller.js +2 -2
- package/src/main/js/sap/ushell/components/appfinder/Catalog.controller.js +1 -1
- package/src/main/js/sap/ushell/components/appfinder/CatalogView.js +3 -4
- package/src/main/js/sap/ushell/components/appfinder/Component.js +5 -2
- package/src/main/js/sap/ushell/components/appfinder/HierarchyAppsView.js +3 -3
- package/src/main/js/sap/ushell/components/appfinder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/AppLifeCycle.js +2 -13
- 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 +64 -8
- package/src/main/js/sap/ushell/components/applicationIntegration/configuration/AppMeta.js +67 -83
- 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/util/AdvancedFormatters.js +3 -3
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/appendStyleVars.js +3 -3
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/categories/Event.js +3 -3
- package/src/main/js/sap/ushell/components/container/ApplicationContainer.js +4 -4
- package/src/main/js/sap/ushell/components/contentFinder/Component.js +1 -1
- 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/resources/resources.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/view/AppSearchBox.fragment.xml +3 -1
- package/src/main/js/sap/ushell/components/factsheet/Component.js +1 -1
- package/src/main/js/sap/ushell/components/factsheet/factory/ThingInspector.js +37 -37
- package/src/main/js/sap/ushell/components/homepage/ActionMode.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/DashboardContent.controller.js +2 -2
- package/src/main/js/sap/ushell/components/homepage/DashboardContent.view.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/DashboardGroupsBox.js +2 -2
- package/src/main/js/sap/ushell/components/homepage/DashboardUIActions.js +2 -2
- 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 +525 -613
- 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/appearance/Appearance.controller.js +4 -4
- package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/UserDefaultsEntry.js +3 -5
- 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/indicatorTileUtils/indicatorTileHelper.js +18 -18
- package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/smartBusinessUtil.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 +2 -2
- 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 +3 -3
- 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 +9 -1
- package/src/main/js/sap/ushell/navigationMode.js +3 -3
- package/src/main/js/sap/ushell/performance/FesrEnhancer.js +33 -4
- 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/plugins/rta-personalize/Component.js +6 -254
- package/src/main/js/sap/ushell/plugins/rta-personalize/manifest.json +0 -102
- package/src/main/js/sap/ushell/renderer/AccessKeysHandler.js +0 -8
- package/src/main/js/sap/ushell/renderer/Renderer.js +2 -2
- package/src/main/js/sap/ushell/renderer/Shell.controller.js +7 -7
- package/src/main/js/sap/ushell/renderer/Shell.view.js +2 -10
- package/src/main/js/sap/ushell/renderer/allMyApps/AllMyApps.controller.js +10 -11
- package/src/main/js/sap/ushell/renderer/allMyApps/AllMyApps.view.xml +49 -70
- package/src/main/js/sap/ushell/renderer/resources/resources.properties +0 -2
- package/src/main/js/sap/ushell/renderer/search/searchComponent/manifest.json +1 -1
- package/src/main/js/sap/ushell/renderers/fiori2/Shell.view.js +1 -1
- package/src/main/js/sap/ushell/services/AppLifeCycle.js +1 -1
- package/src/main/js/sap/ushell/services/AppState.js +1 -1
- package/src/main/js/sap/ushell/services/Bookmark.js +2 -2
- package/src/main/js/sap/ushell/services/BookmarkV2.js +2 -2
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution.js +3 -3
- package/src/main/js/sap/ushell/services/CommonDataModel.js +3 -5
- 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 +20 -20
- package/src/main/js/sap/ushell/services/DarkModeSupport.js +3 -3
- 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 +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 +1 -1
- package/src/main/js/sap/ushell/services/NavTargetResolution.js +24 -995
- package/src/main/js/sap/ushell/services/NavTargetResolutionInternal.js +1272 -0
- package/src/main/js/sap/ushell/services/Navigation/utils.js +1 -1
- package/src/main/js/sap/ushell/services/Navigation.js +11 -11
- package/src/main/js/sap/ushell/services/NavigationDataProvider.js +1 -1
- package/src/main/js/sap/ushell/services/Notifications.js +0 -14
- package/src/main/js/sap/ushell/services/NotificationsV2.js +10 -34
- 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 +1 -1
- package/src/main/js/sap/ushell/services/Personalization.js +1 -1
- package/src/main/js/sap/ushell/services/PersonalizationV2.js +1 -1
- package/src/main/js/sap/ushell/services/PluginManager.js +2 -2
- 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 +2 -2
- package/src/main/js/sap/ushell/services/ShellNavigation.js +1 -1
- package/src/main/js/sap/ushell/services/ShellNavigationHashChanger.js +1 -1
- package/src/main/js/sap/ushell/services/ShellNavigationInternal.js +3 -2
- package/src/main/js/sap/ushell/services/SmartNavigation.js +1 -1
- package/src/main/js/sap/ushell/services/SpaceContent.js +1 -1
- package/src/main/js/sap/ushell/services/UITracer.js +5 -5
- package/src/main/js/sap/ushell/services/URLParsing.js +2 -2
- 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 +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 +4 -4
- 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/support/plugins/flpConfig/FlpConfigurationPlugin.js +1 -1
- package/src/main/js/sap/ushell/themes/base/Catalog.less +12 -2
- package/src/main/js/sap/ushell/themes/base/SearchCEP.less +1 -1
- package/src/main/js/sap/ushell/themes/base/ShellAppTitle.less +15 -57
- package/src/main/js/sap/ushell/themes/base/WorkPageCell.less +0 -1
- package/src/main/js/sap/ushell/themes/base/img/launchicons/phone-icon_120x120.png +0 -0
- package/src/main/js/sap/ushell/themes/base/img/launchicons/phone-retina_180x180.png +0 -0
- package/src/main/js/sap/ushell/themes/base/img/launchicons/tablet-icon_152x152.png +0 -0
- package/src/main/js/sap/ushell/themes/base/img/launchicons/tablet-retina_167x167.png +0 -0
- package/src/main/js/sap/ushell/themes/sap_belize/ShellHeader.less +11 -36
- package/src/main/js/sap/ushell/themes/sap_fiori_3/ShellHeader.less +9 -31
- package/src/main/js/sap/ushell/themes/sap_fiori_3_dark/ShellHeader.less +9 -32
- package/src/main/js/sap/ushell/themes/sap_horizon/ShellAppTitle.less +11 -39
- package/src/main/js/sap/ushell/themes/sap_horizon_dark/ShellAppTitle.less +11 -39
- package/src/main/js/sap/ushell/ui/appfinder/AppBox.js +3 -136
- package/src/main/js/sap/ushell/ui/appfinder/AppBoxInternal.js +161 -0
- package/src/main/js/sap/ushell/ui/appfinder/AppBoxRenderer.js +6 -0
- package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +1 -1
- package/src/main/js/sap/ushell/ui/footerbar/SaveAsTile.controller.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/CatalogEntryContainer.js +1 -1
- 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/TileContainer.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/VizInstanceLaunchPage.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.js +1 -1
- package/src/main/js/sap/ushell/ui/shell/ShellAppTitle.js +7 -9
- 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/UrlShortening.js +2 -2
- package/src/main/js/sap/ushell/utils/workpage/WorkPageHost.js +366 -0
- package/src/main/js/sap/ushell/utils/workpage/WorkPageService.js +1 -1
- package/src/main/js/sap/ushell/utils/workpage/WorkPageVizInstantiation.js +5 -2
- package/src/main/js/sap/ushell/utils/workpage/resources/resources.properties +157 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_ar.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_bg.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_ca.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_cs.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_cy.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_da.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_de.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_el.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_en.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_en_GB.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_en_US_sappsd.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_en_US_saprigi.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_en_US_saptrc.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_es.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_es_MX.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_et.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_fi.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_fr.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_fr_CA.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_hi.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_hr.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_hu.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_id.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_it.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_iw.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_ja.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_kk.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_ko.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_lt.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_lv.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_ms.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_nl.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_no.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_pl.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_pt.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_pt_PT.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_ro.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_ru.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_sh.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_sk.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_sl.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_sv.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_th.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_tr.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_uk.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_vi.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_zh_CN.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_zh_TW.properties +78 -0
- package/src/main/js/sap/ushell/utils.js +2 -2
- package/src/test/js/sap/ushell/bootstrap/sandbox.js +70 -60
- package/ui5.yaml +30 -2
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageHost.js +0 -350
- package/src/main/js/sap/ushell/plugins/rta-personalize/i18n/i18n.properties +0 -38
package/src/main/js/sap/ushell/components/applicationIntegration/application/PostMessageAPI.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileOverview defines the post message API for all applications running in iframe within the shell
|
|
5
|
-
* @version 1.
|
|
5
|
+
* @version 1.122.0
|
|
6
6
|
* @private
|
|
7
7
|
*/
|
|
8
8
|
sap.ui.define([
|
|
@@ -454,7 +454,7 @@ sap.ui.define([
|
|
|
454
454
|
getShellGroupTiles: {
|
|
455
455
|
executeServiceCallFn: (oServiceParams) => {
|
|
456
456
|
var oDeferred = new jQuery.Deferred();
|
|
457
|
-
Container.getServiceAsync("
|
|
457
|
+
Container.getServiceAsync("FlpLaunchPage").then(function (oLaunchPageService) {
|
|
458
458
|
oLaunchPageService.getTilesByGroupId(oServiceParams.oMessageData.body.groupId).then(oDeferred.resolve, oDeferred.reject);
|
|
459
459
|
});
|
|
460
460
|
return oDeferred.promise();
|
|
@@ -1021,7 +1021,14 @@ sap.ui.define([
|
|
|
1021
1021
|
var sSystemAlias = oServiceParams.oContainer.getSystemAlias();
|
|
1022
1022
|
if (sSystemAlias === null || sSystemAlias === undefined) {
|
|
1023
1023
|
sSystemAlias = "";
|
|
1024
|
+
} else {
|
|
1025
|
+
const underscoreCount = (sSystemAlias.match(/_/g) || []).length;
|
|
1026
|
+
if (underscoreCount >= 2) {
|
|
1027
|
+
const secondUnderscoreIndex = sSystemAlias.indexOf('_', sSystemAlias.indexOf('_') + 1);
|
|
1028
|
+
sSystemAlias = sSystemAlias.substring(secondUnderscoreIndex + 1);
|
|
1029
|
+
}
|
|
1024
1030
|
}
|
|
1031
|
+
|
|
1025
1032
|
return sSystemAlias;
|
|
1026
1033
|
}
|
|
1027
1034
|
},
|
|
@@ -1263,7 +1270,7 @@ sap.ui.define([
|
|
|
1263
1270
|
getDistinctSemanticObjects: {
|
|
1264
1271
|
executeServiceCallFn: () => {
|
|
1265
1272
|
var oDeferred = new jQuery.Deferred();
|
|
1266
|
-
Container.getServiceAsync("
|
|
1273
|
+
Container.getServiceAsync("NavTargetResolutionInternal").then(function (oNavTargetResolutionService) {
|
|
1267
1274
|
oNavTargetResolutionService.getDistinctSemanticObjects().then(oDeferred.resolve, oDeferred.reject);
|
|
1268
1275
|
});
|
|
1269
1276
|
return oDeferred.promise();
|
|
@@ -1272,7 +1279,7 @@ sap.ui.define([
|
|
|
1272
1279
|
expandCompactHash: {
|
|
1273
1280
|
executeServiceCallFn: (oServiceParams) => {
|
|
1274
1281
|
var oDeferred = new jQuery.Deferred();
|
|
1275
|
-
Container.getServiceAsync("
|
|
1282
|
+
Container.getServiceAsync("NavTargetResolutionInternal").then(function (oNavTargetResolutionService) {
|
|
1276
1283
|
oNavTargetResolutionService.expandCompactHash(oServiceParams.oMessageData.body.sHashFragment).then(oDeferred.resolve, oDeferred.reject);
|
|
1277
1284
|
});
|
|
1278
1285
|
return oDeferred.promise();
|
|
@@ -1281,7 +1288,7 @@ sap.ui.define([
|
|
|
1281
1288
|
resolveHashFragment: {
|
|
1282
1289
|
executeServiceCallFn: (oServiceParams) => {
|
|
1283
1290
|
var oDeferred = new jQuery.Deferred();
|
|
1284
|
-
Container.getServiceAsync("
|
|
1291
|
+
Container.getServiceAsync("NavTargetResolutionInternal").then(function (oNavTargetResolutionService) {
|
|
1285
1292
|
oNavTargetResolutionService.resolveHashFragment(oServiceParams.oMessageData.body.sHashFragment).then(oDeferred.resolve, oDeferred.reject);
|
|
1286
1293
|
});
|
|
1287
1294
|
return oDeferred.promise();
|
|
@@ -1290,7 +1297,7 @@ sap.ui.define([
|
|
|
1290
1297
|
isIntentSupported: {
|
|
1291
1298
|
executeServiceCallFn: (oServiceParams) => {
|
|
1292
1299
|
var oDeferred = new jQuery.Deferred();
|
|
1293
|
-
Container.getServiceAsync("
|
|
1300
|
+
Container.getServiceAsync("NavTargetResolutionInternal").then(function (oNavTargetResolutionService) {
|
|
1294
1301
|
oNavTargetResolutionService.isIntentSupported(oServiceParams.oMessageData.body.aIntents).then(oDeferred.resolve, oDeferred.reject);
|
|
1295
1302
|
});
|
|
1296
1303
|
return oDeferred.promise();
|
|
@@ -1299,7 +1306,7 @@ sap.ui.define([
|
|
|
1299
1306
|
isNavigationSupported: {
|
|
1300
1307
|
executeServiceCallFn: (oServiceParams) => {
|
|
1301
1308
|
var oDeferred = new jQuery.Deferred();
|
|
1302
|
-
Container.getServiceAsync("
|
|
1309
|
+
Container.getServiceAsync("NavTargetResolutionInternal").then(function (oNavTargetResolutionService) {
|
|
1303
1310
|
oNavTargetResolutionService.isNavigationSupported(oServiceParams.oMessageData.body.aIntents).then(oDeferred.resolve, oDeferred.reject);
|
|
1304
1311
|
});
|
|
1305
1312
|
return oDeferred.promise();
|
|
@@ -1307,6 +1314,55 @@ sap.ui.define([
|
|
|
1307
1314
|
}
|
|
1308
1315
|
}
|
|
1309
1316
|
},
|
|
1317
|
+
"sap.ushell.services.NavTargetResolutionInternal": {
|
|
1318
|
+
oServiceCalls: {
|
|
1319
|
+
getDistinctSemanticObjects: {
|
|
1320
|
+
executeServiceCallFn: () => {
|
|
1321
|
+
var oDeferred = new jQuery.Deferred();
|
|
1322
|
+
Container.getServiceAsync("NavTargetResolutionInternal").then(function (oNavigationTargetResolutionService) {
|
|
1323
|
+
oNavigationTargetResolutionService.getDistinctSemanticObjects().then(oDeferred.resolve, oDeferred.reject);
|
|
1324
|
+
});
|
|
1325
|
+
return oDeferred.promise();
|
|
1326
|
+
}
|
|
1327
|
+
},
|
|
1328
|
+
expandCompactHash: {
|
|
1329
|
+
executeServiceCallFn: (oServiceParams) => {
|
|
1330
|
+
var oDeferred = new jQuery.Deferred();
|
|
1331
|
+
Container.getServiceAsync("NavTargetResolutionInternal").then(function (oNavigationTargetResolutionService) {
|
|
1332
|
+
oNavigationTargetResolutionService.expandCompactHash(oServiceParams.oMessageData.body.sHashFragment).then(oDeferred.resolve, oDeferred.reject);
|
|
1333
|
+
});
|
|
1334
|
+
return oDeferred.promise();
|
|
1335
|
+
}
|
|
1336
|
+
},
|
|
1337
|
+
resolveHashFragment: {
|
|
1338
|
+
executeServiceCallFn: (oServiceParams) => {
|
|
1339
|
+
var oDeferred = new jQuery.Deferred();
|
|
1340
|
+
Container.getServiceAsync("NavTargetResolutionInternal").then(function (oNavigationTargetResolutionService) {
|
|
1341
|
+
oNavigationTargetResolutionService.resolveHashFragment(oServiceParams.oMessageData.body.sHashFragment).then(oDeferred.resolve, oDeferred.reject);
|
|
1342
|
+
});
|
|
1343
|
+
return oDeferred.promise();
|
|
1344
|
+
}
|
|
1345
|
+
},
|
|
1346
|
+
isIntentSupported: {
|
|
1347
|
+
executeServiceCallFn: (oServiceParams) => {
|
|
1348
|
+
var oDeferred = new jQuery.Deferred();
|
|
1349
|
+
Container.getServiceAsync("NavTargetResolutionInternal").then(function (oNavigationTargetResolutionService) {
|
|
1350
|
+
oNavigationTargetResolutionService.isIntentSupported(oServiceParams.oMessageData.body.aIntents).then(oDeferred.resolve, oDeferred.reject);
|
|
1351
|
+
});
|
|
1352
|
+
return oDeferred.promise();
|
|
1353
|
+
}
|
|
1354
|
+
},
|
|
1355
|
+
isNavigationSupported: {
|
|
1356
|
+
executeServiceCallFn: (oServiceParams) => {
|
|
1357
|
+
var oDeferred = new jQuery.Deferred();
|
|
1358
|
+
Container.getServiceAsync("NavTargetResolutionInternal").then(function (oNavigationTargetResolutionService) {
|
|
1359
|
+
oNavigationTargetResolutionService.isNavigationSupported(oServiceParams.oMessageData.body.aIntents).then(oDeferred.resolve, oDeferred.reject);
|
|
1360
|
+
});
|
|
1361
|
+
return oDeferred.promise();
|
|
1362
|
+
}
|
|
1363
|
+
}
|
|
1364
|
+
}
|
|
1365
|
+
},
|
|
1310
1366
|
"sap.ushell.services.Renderer": {
|
|
1311
1367
|
oServiceCalls: {
|
|
1312
1368
|
addHeaderItem: {
|
|
@@ -1482,7 +1538,7 @@ sap.ui.define([
|
|
|
1482
1538
|
getGroupsForBookmarks: {
|
|
1483
1539
|
executeServiceCallFn: () => {
|
|
1484
1540
|
var oDeferred = new jQuery.Deferred();
|
|
1485
|
-
Container.getServiceAsync("
|
|
1541
|
+
Container.getServiceAsync("FlpLaunchPage").then(function (oLaunchPageService) {
|
|
1486
1542
|
oLaunchPageService.getGroupsForBookmarks().then(oDeferred.resolve, oDeferred.reject);
|
|
1487
1543
|
});
|
|
1488
1544
|
return oDeferred.promise();
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
// Copyright (c) 2009-2023 SAP SE, All Rights Reserved
|
|
2
|
+
|
|
2
3
|
/**
|
|
3
4
|
* @fileOverview handle all the resources for the different applications.
|
|
4
|
-
* @version 1.
|
|
5
|
+
* @version 1.122.0
|
|
5
6
|
*/
|
|
6
7
|
sap.ui.define([
|
|
7
8
|
"sap/base/util/extend",
|
|
@@ -34,9 +35,9 @@ sap.ui.define([
|
|
|
34
35
|
Theming,
|
|
35
36
|
Container
|
|
36
37
|
) {
|
|
37
|
-
"use strict";
|
|
38
|
+
"use strict";
|
|
38
39
|
|
|
39
|
-
function AppMeta
|
|
40
|
+
function AppMeta() {
|
|
40
41
|
var isTitleChanged;
|
|
41
42
|
var isHierarchyChanged;
|
|
42
43
|
var sRootIntent;
|
|
@@ -54,17 +55,15 @@ sap.ui.define([
|
|
|
54
55
|
var oHierarchy = [];
|
|
55
56
|
var sCurrentStateName = Config.last("/core/shell/model/currentState/stateName");
|
|
56
57
|
|
|
57
|
-
//
|
|
58
|
-
if (sCurrentStateName && ((sCurrentStateName === "app" || sCurrentStateName === "embedded")
|
|
59
|
-
//add home entry to hierarchy
|
|
60
|
-
oHierarchy
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
}
|
|
67
|
-
];
|
|
58
|
+
// if we navigate for a page with state == app add home to it
|
|
59
|
+
if (sCurrentStateName && ((sCurrentStateName === "app" || sCurrentStateName === "embedded") /* || sCurrentStateName === "home" */)) {
|
|
60
|
+
// add home entry to hierarchy
|
|
61
|
+
oHierarchy.push({
|
|
62
|
+
icon: "sap-icon://home",
|
|
63
|
+
title: resources.i18n.getText("actionHomePage"),
|
|
64
|
+
// Intent is set to root directly to avoid multiple hash changes.
|
|
65
|
+
intent: sRootIntent ? "#" + sRootIntent : "#"
|
|
66
|
+
});
|
|
68
67
|
|
|
69
68
|
// In spaces mode, additionally add the origin page as a step into the hierarchy.
|
|
70
69
|
// The page info is set in PageRuntime.controller as custom data of the root control there during navigation to the page.
|
|
@@ -94,16 +93,16 @@ sap.ui.define([
|
|
|
94
93
|
|
|
95
94
|
this.onHierarchyChange = function (oEvent) {
|
|
96
95
|
isHierarchyChanged = true;
|
|
97
|
-
var aHierarchy = oEvent.getParameters().data
|
|
98
|
-
|
|
99
|
-
|
|
96
|
+
var aHierarchy = oEvent.getParameters().data;
|
|
97
|
+
var aExtendedHierarchy = [];
|
|
98
|
+
var sCurrentStateName = Config.last("/core/shell/model/currentState/stateName");
|
|
100
99
|
|
|
101
100
|
if (!aHierarchy) {
|
|
102
101
|
aHierarchy = [];
|
|
103
102
|
}
|
|
104
103
|
// we take the default value and save it with the data received
|
|
105
104
|
var oHierarchyDefaultValue = this.getHierarchyDefaultValue();
|
|
106
|
-
//
|
|
105
|
+
// we have to copy the passed array and its objects to prevent direct properties access.
|
|
107
106
|
aHierarchy.forEach(function (oItem, index) {
|
|
108
107
|
aExtendedHierarchy[index] = extend({}, oItem);
|
|
109
108
|
});
|
|
@@ -117,8 +116,8 @@ sap.ui.define([
|
|
|
117
116
|
|
|
118
117
|
this.onRelatedAppsChange = function (oEvent) {
|
|
119
118
|
isRelatedAppsChanged = true;
|
|
120
|
-
var oRelatedApps = oEvent.getParameters().data
|
|
121
|
-
|
|
119
|
+
var oRelatedApps = oEvent.getParameters().data;
|
|
120
|
+
var sCurrentStateName = Config.last("/core/shell/model/currentState/stateName");
|
|
122
121
|
|
|
123
122
|
if (!oRelatedApps) {
|
|
124
123
|
oRelatedApps = [];
|
|
@@ -157,43 +156,41 @@ sap.ui.define([
|
|
|
157
156
|
};
|
|
158
157
|
|
|
159
158
|
/**
|
|
160
|
-
* Helper function to get the
|
|
159
|
+
* Helper function to get the favicon image URL based on a given theme parameter.
|
|
161
160
|
*/
|
|
162
|
-
this.
|
|
163
|
-
let [
|
|
164
|
-
let
|
|
165
|
-
if (
|
|
166
|
-
var match = /url[\s]*\('?"?([^'")]*)'?"?\)/.exec(
|
|
161
|
+
this._getFavicon = async function () {
|
|
162
|
+
let [sFavicon] = await ushellUtils.getThemingParameters(["sapUiShellFavicon"]);
|
|
163
|
+
let bCustomFavicon = false;
|
|
164
|
+
if (sFavicon) { // custom theme favicon
|
|
165
|
+
var match = /url[\s]*\('?"?([^'")]*)'?"?\)/.exec(sFavicon);
|
|
167
166
|
if (match) {
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
} else if (
|
|
171
|
-
|
|
167
|
+
sFavicon = match[1];
|
|
168
|
+
bCustomFavicon = true;
|
|
169
|
+
} else if (sFavicon === "''" || sFavicon === "none") {
|
|
170
|
+
sFavicon = null;
|
|
172
171
|
}
|
|
173
172
|
}
|
|
174
173
|
|
|
175
174
|
var sConfigFavicon = Config.last("/core/shell/favIcon");
|
|
176
|
-
if (sConfigFavicon && (
|
|
177
|
-
|
|
178
|
-
|
|
175
|
+
if (sConfigFavicon && (sFavicon === null || sFavicon === undefined)) { // configuration favicon
|
|
176
|
+
sFavicon = sConfigFavicon;
|
|
177
|
+
bCustomFavicon = true;
|
|
179
178
|
}
|
|
180
179
|
|
|
181
|
-
if (!
|
|
180
|
+
if (!sFavicon) { // default favicon
|
|
182
181
|
var sModulePath = sap.ui.require.toUrl("sap/ushell");
|
|
183
|
-
|
|
182
|
+
sFavicon = sModulePath + "/themes/base/img/launchpad_favicon.ico";
|
|
184
183
|
}
|
|
185
184
|
|
|
186
185
|
return {
|
|
187
|
-
|
|
188
|
-
|
|
186
|
+
favicon: sFavicon,
|
|
187
|
+
isCustomFavicon: bCustomFavicon
|
|
189
188
|
};
|
|
190
|
-
|
|
191
189
|
};
|
|
192
190
|
|
|
193
191
|
this.getAppIcon = function () {
|
|
194
|
-
var sIcon = "sap-icon://folder"
|
|
195
|
-
|
|
196
|
-
|
|
192
|
+
var sIcon = "sap-icon://folder";
|
|
193
|
+
var appMetaData = AppConfiguration.getMetadata();
|
|
197
194
|
if (appMetaData && appMetaData.icon) {
|
|
198
195
|
sIcon = appMetaData.icon;
|
|
199
196
|
}
|
|
@@ -201,56 +198,49 @@ sap.ui.define([
|
|
|
201
198
|
};
|
|
202
199
|
|
|
203
200
|
this.setAppIcons = function () {
|
|
204
|
-
//
|
|
201
|
+
// performance debug
|
|
205
202
|
Measurement.start("FLP:ShellController.setAppIcons", "setValues", "FLP");
|
|
206
|
-
|
|
207
|
-
this.setValues();
|
|
208
|
-
}
|
|
209
|
-
Theming.attachApplied(onThemeChanged.bind(this));
|
|
203
|
+
Theming.attachApplied(() => this.setValues());
|
|
210
204
|
|
|
211
205
|
Measurement.end("FLP:ShellController.setAppIcons");
|
|
212
206
|
};
|
|
213
207
|
|
|
214
208
|
this.setValues = async function () {
|
|
215
209
|
var sModulePath = sap.ui.require.toUrl("sap/ushell");
|
|
216
|
-
var
|
|
217
|
-
var
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
var oDefaultFavIcon = await this._getFavIcon();
|
|
221
|
-
var sFavIcon = oDefaultFavIcon.favIcon;
|
|
222
|
-
|
|
223
|
-
if (oDefaultFavIcon.customFavIcon) {
|
|
210
|
+
var oDefaultFavicon = await this._getFavicon();
|
|
211
|
+
var sFavicon = oDefaultFavicon.favicon;
|
|
212
|
+
|
|
213
|
+
if (oDefaultFavicon.isCustomFavicon) {
|
|
224
214
|
Mobile.setIcons({
|
|
225
|
-
phone:
|
|
226
|
-
"phone@2":
|
|
227
|
-
tablet:
|
|
228
|
-
"tablet@2":
|
|
229
|
-
favicon:
|
|
215
|
+
phone: sFavicon,
|
|
216
|
+
"phone@2": sFavicon,
|
|
217
|
+
tablet: sFavicon,
|
|
218
|
+
"tablet@2": sFavicon,
|
|
219
|
+
favicon: sFavicon,
|
|
230
220
|
precomposed: false
|
|
231
221
|
});
|
|
232
222
|
} else {
|
|
233
223
|
Mobile.setIcons({
|
|
234
|
-
phone:
|
|
235
|
-
"phone@2":
|
|
236
|
-
tablet:
|
|
237
|
-
"tablet@2":
|
|
238
|
-
favicon:
|
|
224
|
+
phone: sModulePath + "/themes/base/img/launchicons/phone-icon_120x120.png",
|
|
225
|
+
"phone@2": sModulePath + "/themes/base/img/launchicons/phone-retina_180x180.png",
|
|
226
|
+
tablet: sModulePath + "/themes/base/img/launchicons/tablet-icon_152x152.png",
|
|
227
|
+
"tablet@2": sModulePath + "/themes/base/img/launchicons/tablet-retina_167x167.png",
|
|
228
|
+
favicon: sFavicon,
|
|
239
229
|
precomposed: false
|
|
240
230
|
});
|
|
241
231
|
}
|
|
242
232
|
};
|
|
243
233
|
|
|
244
|
-
//
|
|
234
|
+
// the priority order is (from left to right): UserInfo, application metadata, device type
|
|
245
235
|
this._applyContentDensityByPriority = function (isCompact, isUserChange) {
|
|
246
236
|
return new Promise(function (resolve) {
|
|
247
237
|
Container.getServiceAsync("UserInfo").then(function (userInfoService) {
|
|
248
238
|
var appMetaData;
|
|
249
239
|
if (isCompact === undefined) {
|
|
250
|
-
//in case non of the below conditions is relevant, then cannot determine cozy or compact
|
|
240
|
+
// in case non of the below conditions is relevant, then cannot determine cozy or compact
|
|
251
241
|
if (Device.system.combi) {
|
|
252
|
-
var oUser = userInfoService.getUser()
|
|
253
|
-
|
|
242
|
+
var oUser = userInfoService.getUser();
|
|
243
|
+
var sContentDensity = "autoDetect";
|
|
254
244
|
// if oUser doesn't exist - then default is auto detect
|
|
255
245
|
if (oUser) {
|
|
256
246
|
sContentDensity = oUser.getContentDensity();
|
|
@@ -262,10 +252,10 @@ sap.ui.define([
|
|
|
262
252
|
case "compact":
|
|
263
253
|
isCompact = true;
|
|
264
254
|
break;
|
|
265
|
-
default: //autoDetect
|
|
255
|
+
default: // autoDetect
|
|
266
256
|
appMetaData = AppConfiguration.getMetadata();
|
|
267
257
|
// Compact == true , Cozy == false
|
|
268
|
-
//
|
|
258
|
+
// all other cases - go to Cozy
|
|
269
259
|
if (appMetaData.compactContentDensity && !appMetaData.cozyContentDensity) {
|
|
270
260
|
isCompact = true;
|
|
271
261
|
} else {
|
|
@@ -290,13 +280,13 @@ sap.ui.define([
|
|
|
290
280
|
|
|
291
281
|
this._applyContentDensityClass = function (isCompact, isUserChange) {
|
|
292
282
|
return new Promise(function (resolve) {
|
|
293
|
-
function setClasses
|
|
283
|
+
function setClasses(compact) {
|
|
294
284
|
document.body.classList.toggle("sapUiSizeCompact", compact);
|
|
295
285
|
document.body.classList.toggle("sapUiSizeCozy", !compact);
|
|
296
286
|
|
|
297
287
|
if (isUserChange === true) {
|
|
298
288
|
sap.ui.require(["sap/ushell/components/applicationIntegration/application/PostMessageUtils"], function (PostMessageUtils) {
|
|
299
|
-
PostMessageUtils.postMessageToMultipleIframes("sap.ushell.appRuntime", "uiDensityChange", {isTouch: (compact ? "0" : "1")});
|
|
289
|
+
PostMessageUtils.postMessageToMultipleIframes("sap.ushell.appRuntime", "uiDensityChange", { isTouch: (compact ? "0" : "1") });
|
|
300
290
|
});
|
|
301
291
|
}
|
|
302
292
|
resolve();
|
|
@@ -327,33 +317,27 @@ sap.ui.define([
|
|
|
327
317
|
};
|
|
328
318
|
|
|
329
319
|
this.getTitleDefaultValue = function () {
|
|
330
|
-
var sTitle = ""
|
|
331
|
-
|
|
332
|
-
|
|
320
|
+
var sTitle = "";
|
|
321
|
+
var appMetaData = AppConfiguration.getMetadata();
|
|
333
322
|
if (appMetaData && appMetaData.title) {
|
|
334
323
|
sTitle = appMetaData.title;
|
|
335
324
|
}
|
|
336
325
|
return sTitle;
|
|
337
326
|
};
|
|
338
327
|
|
|
339
|
-
this.create = function () {
|
|
340
|
-
};
|
|
328
|
+
this.create = function () { };
|
|
341
329
|
|
|
342
330
|
this.restore = function () {
|
|
343
331
|
this._applyContentDensityByPriority();
|
|
344
332
|
this.setAppIcons();
|
|
345
333
|
};
|
|
346
334
|
|
|
347
|
-
this.store = function (oInMeta) {
|
|
348
|
-
};
|
|
349
|
-
|
|
335
|
+
this.store = function (oInMeta) { };
|
|
350
336
|
|
|
351
337
|
this.destroy = function (oInMeta) {
|
|
352
|
-
//handle destroy of the services
|
|
338
|
+
// handle destroy of the services
|
|
353
339
|
};
|
|
354
|
-
|
|
355
340
|
}
|
|
356
341
|
|
|
357
|
-
|
|
358
342
|
return new AppMeta();
|
|
359
343
|
}, /* bExport= */ true);
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
sap.ui.define([
|
|
4
4
|
"sap/ui/core/theming/Parameters",
|
|
5
|
-
"sap/ui/core/
|
|
6
|
-
], function (ThemeParameters,
|
|
5
|
+
"sap/ui/core/Theming"
|
|
6
|
+
], function (ThemeParameters, Theming) {
|
|
7
7
|
|
|
8
8
|
"use strict";
|
|
9
9
|
|
|
@@ -13,7 +13,7 @@ sap.ui.define([
|
|
|
13
13
|
name: ["sapUiAccent2", "sapUiAccentBackgroundColor2", "sapUiAccent10", "sapUiAccentBackgroundColor10", "sapUiFontFamily"]
|
|
14
14
|
});
|
|
15
15
|
}
|
|
16
|
-
|
|
16
|
+
Theming.attachApplied(getThemeParameters);
|
|
17
17
|
getThemeParameters();
|
|
18
18
|
|
|
19
19
|
var sCalendarSvg = [
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
sap.ui.define([
|
|
4
4
|
"sap/ui/core/theming/Parameters",
|
|
5
|
-
"sap/ui/core/
|
|
6
|
-
], function (ThemeParameters,
|
|
5
|
+
"sap/ui/core/Theming"
|
|
6
|
+
], function (ThemeParameters, Theming) {
|
|
7
7
|
|
|
8
8
|
"use strict";
|
|
9
9
|
|
|
@@ -32,7 +32,7 @@ sap.ui.define([
|
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
Theming.attachApplied(function () {
|
|
36
36
|
// remove old css vars
|
|
37
37
|
for (var i = 0; i < aAllParams.length; i++) {
|
|
38
38
|
document.body.style.removeProperty("--" + aAllParams[i]);
|
package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/categories/Event.js
CHANGED
|
@@ -7,7 +7,7 @@ sap.ui.define(
|
|
|
7
7
|
"sap/m/FlexBox",
|
|
8
8
|
"sap/m/Avatar",
|
|
9
9
|
"sap/m/ObjectIdentifier",
|
|
10
|
-
"sap/ui/core/
|
|
10
|
+
"sap/ui/core/Theming",
|
|
11
11
|
"sap/ui/core/theming/Parameters",
|
|
12
12
|
"sap/ui/core/format/DateFormat"
|
|
13
13
|
],
|
|
@@ -18,7 +18,7 @@ sap.ui.define(
|
|
|
18
18
|
FlexBox,
|
|
19
19
|
Avatar,
|
|
20
20
|
ObjectIdentifier,
|
|
21
|
-
|
|
21
|
+
Theming,
|
|
22
22
|
ThemeParameters,
|
|
23
23
|
DateFormat
|
|
24
24
|
) {
|
|
@@ -35,7 +35,7 @@ sap.ui.define(
|
|
|
35
35
|
"sapUiFontFamily"]
|
|
36
36
|
});
|
|
37
37
|
}
|
|
38
|
-
|
|
38
|
+
Theming.attachApplied(getThemeParameters);
|
|
39
39
|
getThemeParameters();
|
|
40
40
|
|
|
41
41
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileOverview The UI integration's SAPUI5 control which supports application embedding.
|
|
5
|
-
* @version 1.
|
|
5
|
+
* @version 1.122.0
|
|
6
6
|
*/
|
|
7
7
|
sap.ui.define([
|
|
8
8
|
"sap/base/Log",
|
|
@@ -820,11 +820,11 @@ sap.ui.define([
|
|
|
820
820
|
}
|
|
821
821
|
|
|
822
822
|
/**
|
|
823
|
-
* Amends the
|
|
823
|
+
* Amends the NavTargetResolutionInternal response with theme, sap-ushell-version, accessibility and post parameters if present.
|
|
824
824
|
* Theme and accessibility information is only added for the NWBC application type.
|
|
825
825
|
*
|
|
826
826
|
* @param {string} sUrl
|
|
827
|
-
* Already resolved url (
|
|
827
|
+
* Already resolved url (NavTargetResolutionInternal response)
|
|
828
828
|
* @param {string} sUrlApplicationType
|
|
829
829
|
* The application type of <code>sUrl</code>
|
|
830
830
|
* @param {string} sTargetNavigationMode
|
|
@@ -1475,7 +1475,7 @@ sap.ui.define([
|
|
|
1475
1475
|
}
|
|
1476
1476
|
},
|
|
1477
1477
|
|
|
1478
|
-
invalidate: function() {
|
|
1478
|
+
invalidate: function () {
|
|
1479
1479
|
if (this.getDomRef()) {
|
|
1480
1480
|
//always prevent re-rendering of application container once it's rendered
|
|
1481
1481
|
return this;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @file AppSearch controller for AppSearch view
|
|
5
|
-
* @version 1.
|
|
5
|
+
* @version 1.122.0
|
|
6
6
|
*/
|
|
7
7
|
sap.ui.define([
|
|
8
8
|
"./ContentFinderDialog.controller",
|
|
@@ -226,16 +226,23 @@ sap.ui.define([
|
|
|
226
226
|
* @param {string} sTitle The app title.
|
|
227
227
|
* @param {string} sSubtitle The app subtitle.
|
|
228
228
|
* @param {boolean} bAdded Flag indicating if the app has already been added to the cell.
|
|
229
|
+
* @param {string} sFioriIdLabel The app title.
|
|
230
|
+
* @param {string} sAppId The app subtitle.
|
|
231
|
+
* @param {string} sInformationLabel The information label
|
|
232
|
+
* @param {string} sInfo The app information
|
|
233
|
+
* @param {string} sFieldEmpty The field empty text
|
|
229
234
|
* @since 1.115.0
|
|
230
235
|
* @returns {string} The description.
|
|
231
236
|
*/
|
|
232
|
-
formatAppBoxAccDescription: function (sTitle, sSubtitle, bAdded) {
|
|
233
|
-
|
|
234
|
-
|
|
237
|
+
formatAppBoxAccDescription: function (sTitle, sSubtitle, bAdded, sFioriIdLabel, sAppId, sInformationLabel, sInfo, sFieldEmpty) {
|
|
238
|
+
let aDescriptions = [];
|
|
235
239
|
if (sTitle) { aDescriptions.push(sTitle); }
|
|
236
240
|
if (sSubtitle) { aDescriptions.push(sSubtitle); }
|
|
237
241
|
if (bAdded) { aDescriptions.push(this.oResourceBundle.getText("ContentFinder.AppSearch.Message.AlreadyUsed")); }
|
|
238
|
-
|
|
242
|
+
if (sFioriIdLabel) { aDescriptions.push(sFioriIdLabel); }
|
|
243
|
+
if (sAppId) { aDescriptions.push(sAppId); } else if (sFieldEmpty) { aDescriptions.push(sFieldEmpty); }
|
|
244
|
+
if (sInformationLabel) { aDescriptions.push(sInformationLabel); }
|
|
245
|
+
if (sInfo) { aDescriptions.push(sInfo); } else if (sFieldEmpty) { aDescriptions.push(sFieldEmpty); }
|
|
239
246
|
return aDescriptions.join(" . ");
|
|
240
247
|
}
|
|
241
248
|
});
|