@sapui5/sap.ushell 1.121.2 → 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 +1 -1
- package/src/main/js/sap/ushell/TechnicalParameters.js +1 -1
- package/src/main/js/sap/ushell/URLTemplateProcessor.js +1 -1
- package/src/main/js/sap/ushell/Ui5NativeServiceFactory.js +1 -1
- package/src/main/js/sap/ushell/Ui5ServiceFactory.js +1 -1
- package/src/main/js/sap/ushell/_URLTemplateProcessor/DefinitionParameterSetBuilder.js +1 -1
- package/src/main/js/sap/ushell/_URLTemplateProcessor/DependencyGraph.js +1 -1
- package/src/main/js/sap/ushell/_URLTemplateProcessor/Functions.js +1 -1
- package/src/main/js/sap/ushell/_URLTemplateProcessor/Resolvers.js +1 -1
- package/src/main/js/sap/ushell/_URLTemplateProcessor/TemplateParameterParser.js +1 -1
- package/src/main/js/sap/ushell/_URLTemplateProcessor/utils.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/ClientSideTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/CommonDataModelAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/ConfigurationDefaultsAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/ContainerAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/LaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/PagesCommonDataModelAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/PersonalizationAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/PersonalizationV2Adapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/Ui5ComponentLoaderAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/modifyHome.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readCatalogs.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readHome.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/uri.transform.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/util/AppForInbound.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/util/cdmSiteUtils.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/AdapterBase.js +1 -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 -71
- 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
|
@@ -137,6 +137,7 @@ sap.ui.define([
|
|
|
137
137
|
name: "sap.ushell.components.workPageRuntime",
|
|
138
138
|
asyncHints: {
|
|
139
139
|
preloadBundles: [
|
|
140
|
+
"sap/ushell/preload-bundles/workpage-rt-common.js",
|
|
140
141
|
"sap/ushell/preload-bundles/workpage-rt-0.js",
|
|
141
142
|
"sap/ushell/preload-bundles/workpage-rt-1.js",
|
|
142
143
|
"sap/ushell/preload-bundles/workpage-rt-2.js",
|
|
@@ -380,7 +381,8 @@ sap.ui.define([
|
|
|
380
381
|
catalog: {
|
|
381
382
|
enabled: getEnablePersonalization() || getConfigValue("renderers/fiori2/componentData/config/enableAppFinder", false),
|
|
382
383
|
appFinderDisplayMode:
|
|
383
|
-
getConfigValue("renderers/fiori2/componentData/config/applications/Shell-home/
|
|
384
|
+
getConfigValue("renderers/fiori2/componentData/config/applications/Shell-home/AppFinderDisplayMode",
|
|
385
|
+
getConfigValue("renderers/fiori2/componentData/config/applications/Shell-home/appFinderDisplayMode", undefined)),
|
|
384
386
|
easyAccessNumbersOfLevels:
|
|
385
387
|
getConfigValue("renderers/fiori2/componentData/config/applications/Shell-home/easyAccessNumbersOfLevels",
|
|
386
388
|
undefined),
|
|
@@ -39,7 +39,8 @@ sap.ui.define([
|
|
|
39
39
|
"services/Container/adapter/config/userProfile/defaults/fullName": [],
|
|
40
40
|
|
|
41
41
|
// The usageRecorder serviceUrl must not be overwritten for security reasons
|
|
42
|
-
"services/NavTargetResolution/config/usageRecorder/serviceUrl": []
|
|
42
|
+
"services/NavTargetResolution/config/usageRecorder/serviceUrl": [],
|
|
43
|
+
"services/NavTargetResolutionInternal/config/usageRecorder/serviceUrl": []
|
|
43
44
|
};
|
|
44
45
|
|
|
45
46
|
function isBlockListed (oConsideredBlockList, oEntry) {
|
|
@@ -134,6 +134,13 @@ sap.ui.define([
|
|
|
134
134
|
* @private
|
|
135
135
|
*/
|
|
136
136
|
function migrateV2ServiceConfig (ushellConfig) {
|
|
137
|
+
/**
|
|
138
|
+
* Store whether some migration happened.
|
|
139
|
+
* This allows us to provide a fallback as part of {@link sap.ushell.bootstrap}
|
|
140
|
+
* @deprecated As of version 1.120
|
|
141
|
+
*/
|
|
142
|
+
window["sap-ushell-config-migration"] = true;
|
|
143
|
+
|
|
137
144
|
// migrate service config
|
|
138
145
|
[
|
|
139
146
|
{ from: "services.Bookmark", to: "services.BookmarkV2" },
|
|
@@ -141,7 +148,8 @@ sap.ui.define([
|
|
|
141
148
|
{ from: "services.Notifications", to: "services.NotificationsV2" },
|
|
142
149
|
{ from: "services.Personalization", to: "services.PersonalizationV2" },
|
|
143
150
|
{ from: "services.LaunchPage", to: "services.FlpLaunchPage" },
|
|
144
|
-
{ from: "services.ShellNavigation", to: "services.ShellNavigationInternal" }
|
|
151
|
+
{ from: "services.ShellNavigation", to: "services.ShellNavigationInternal" },
|
|
152
|
+
{ from: "services.NavTargetResolution", to: "services.NavTargetResolutionInternal" }
|
|
145
153
|
].forEach((oMigration) => {
|
|
146
154
|
const oConfigFrom = ObjectPath.get(oMigration.from, ushellConfig);
|
|
147
155
|
const oConfigTo = ObjectPath.get(oMigration.to, ushellConfig);
|
|
@@ -155,12 +163,19 @@ sap.ui.define([
|
|
|
155
163
|
/**
|
|
156
164
|
* Migrates the config for the v2 services based on their predecessor.
|
|
157
165
|
* @param {object} ushellConfig The ushell config
|
|
158
|
-
* @returns {object} The migrated config
|
|
166
|
+
* @returns {object} The migrated config, ONLY the migrated part
|
|
159
167
|
*
|
|
160
168
|
* @since 1.121.0
|
|
161
169
|
* @private
|
|
162
170
|
*/
|
|
163
171
|
function getV2ServiceMigrationConfig (ushellConfig) {
|
|
172
|
+
/**
|
|
173
|
+
* Store whether some migration happened.
|
|
174
|
+
* This allows us to provide a fallback as part of {@link sap.ushell.bootstrap}
|
|
175
|
+
* @deprecated As of version 1.120
|
|
176
|
+
*/
|
|
177
|
+
window["sap-ushell-config-migration"] = true;
|
|
178
|
+
|
|
164
179
|
// migrate service config
|
|
165
180
|
const oConfig = {};
|
|
166
181
|
[
|
|
@@ -156,6 +156,15 @@
|
|
|
156
156
|
"module": "sap.ushell.adapters.local.NavTargetResolutionAdapter"
|
|
157
157
|
}
|
|
158
158
|
},
|
|
159
|
+
"NavTargetResolutionInternal": {
|
|
160
|
+
"config": {
|
|
161
|
+
"allowTestUrlComponentConfig": false,
|
|
162
|
+
"enableClientSideTargetResolution": true
|
|
163
|
+
},
|
|
164
|
+
"adapter": {
|
|
165
|
+
"module": "sap.ushell.adapters.local.NavTargetResolutionInternalAdapter"
|
|
166
|
+
}
|
|
167
|
+
},
|
|
159
168
|
"SupportTicket": {
|
|
160
169
|
"config": {
|
|
161
170
|
"enabled": false
|
|
@@ -181,7 +190,7 @@
|
|
|
181
190
|
},
|
|
182
191
|
"VisualizationDataProvider": {
|
|
183
192
|
"adapter": {
|
|
184
|
-
"module": "sap.ushell.adapters.cdm.v3.
|
|
193
|
+
"module": "sap.ushell.adapters.cdm.v3.FlpLaunchPageAdapter"
|
|
185
194
|
}
|
|
186
195
|
},
|
|
187
196
|
"CommonDataModel": {
|
|
@@ -195,7 +204,7 @@
|
|
|
195
204
|
},
|
|
196
205
|
"LaunchPage": {
|
|
197
206
|
"adapter": {
|
|
198
|
-
"module": "sap.ushell.adapters.cdm.v3.
|
|
207
|
+
"module": "sap.ushell.adapters.cdm.v3.FlpLaunchPageAdapter"
|
|
199
208
|
}
|
|
200
209
|
},
|
|
201
210
|
"Search": {
|
|
@@ -211,4 +220,4 @@
|
|
|
211
220
|
"sap.ushell": true
|
|
212
221
|
}
|
|
213
222
|
}
|
|
214
|
-
}
|
|
223
|
+
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @fileOverview The Unified Shell's bootstrap code for development sandbox scenarios.
|
|
5
5
|
* This is the version that creates spaces/pages runtime environment.
|
|
6
6
|
*
|
|
7
|
-
* @version 1.
|
|
7
|
+
* @version 1.122.0
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/* eslint-disable quote-props */
|
|
@@ -75,11 +75,15 @@
|
|
|
75
75
|
/**
|
|
76
76
|
* Add custom applications and tiles from the provided custom configuration to the template site:
|
|
77
77
|
* 1. Applications and tiles from oConfig.applications (documented way, My Home section)
|
|
78
|
-
* 2. Applications from oConfig.services.
|
|
78
|
+
* 2. Applications from oConfig.services.NavTargetResolutionInternal.adapter.config.applications
|
|
79
79
|
* 3. Applications from oConfig.services.ClientSideTargetResolution.adapter.config.inbounds
|
|
80
80
|
* 4. Groups and tiles from oConfig.services.LaunchPage.adapter.config.groups (a new section is created for each group)
|
|
81
|
-
|
|
81
|
+
*
|
|
82
|
+
* @param {object} oConfig The current ushell configuration
|
|
83
|
+
*/
|
|
82
84
|
function _addAppsToSite (oConfig) {
|
|
85
|
+
const oApplicationConfig = {};
|
|
86
|
+
|
|
83
87
|
function getComponentName (oApplication) {
|
|
84
88
|
return oApplication.additionalInformation.replace("SAPUI5.Component=", "");
|
|
85
89
|
}
|
|
@@ -226,7 +230,7 @@
|
|
|
226
230
|
// predefined site is found here
|
|
227
231
|
const oSiteData = oConfig.services.CommonDataModel.adapter.config.siteData;
|
|
228
232
|
|
|
229
|
-
// generate applications and tiles from
|
|
233
|
+
// generate applications and tiles from oConfig.applications and add them to the site
|
|
230
234
|
const oApplications = ObjectPath.get("applications", oConfig) || {};
|
|
231
235
|
for (let [sAppKey, oApplication] of Object.entries(oApplications)) {
|
|
232
236
|
const sVizId = "custom_viz_" + sAppKey;
|
|
@@ -240,8 +244,9 @@
|
|
|
240
244
|
};
|
|
241
245
|
}
|
|
242
246
|
|
|
243
|
-
// generate applications from
|
|
244
|
-
const oNavTargetApps = ObjectPath.get("services.
|
|
247
|
+
// generate applications from NavTargetResolutionInternal config
|
|
248
|
+
const oNavTargetApps = JSON.parse(JSON.stringify(ObjectPath.get("services.NavTargetResolutionInternal.adapter.config.applications", oConfig) || {}));
|
|
249
|
+
ObjectPath.set("services.NavTargetResolutionInternal.adapter.config.applications", oNavTargetApps, oApplicationConfig);
|
|
245
250
|
for (let [sNTAppKey, oNTApp] of Object.entries(oNavTargetApps)) {
|
|
246
251
|
if (oNTApp.additionalInformation) {
|
|
247
252
|
oSiteData.applications[sNTAppKey] = createApp(oNTApp, sNTAppKey);
|
|
@@ -249,13 +254,15 @@
|
|
|
249
254
|
}
|
|
250
255
|
|
|
251
256
|
// generate applications from ClientSideTargetResolution config (application dependencies not taken into account yet)
|
|
252
|
-
const oClientTargetApps = ObjectPath.get("services.ClientSideTargetResolution.adapter.config.inbounds", oConfig) || {};
|
|
257
|
+
const oClientTargetApps = JSON.parse(JSON.stringify(ObjectPath.get("services.ClientSideTargetResolution.adapter.config.inbounds", oConfig) || {}));
|
|
258
|
+
ObjectPath.set("services.ClientSideTargetResolution.adapter.config.inbounds", oClientTargetApps, oApplicationConfig);
|
|
253
259
|
for (let oInbound of Object.values(oClientTargetApps)) {
|
|
254
260
|
oSiteData.applications[oInbound.semanticObject + "-" + oInbound.action] = createAppFromInbound(oInbound);
|
|
255
261
|
}
|
|
256
262
|
|
|
257
263
|
// generate sections and tiles from the LaunchPage adapter config and add them to the site
|
|
258
|
-
const aGroups = ObjectPath.get("services.LaunchPage.adapter.config.groups", oConfig) || [];
|
|
264
|
+
const aGroups = JSON.parse(JSON.stringify(ObjectPath.get("services.LaunchPage.adapter.config.groups", oConfig) || []));
|
|
265
|
+
ObjectPath.set("services.LaunchPage.adapter.config.groups", aGroups, oApplicationConfig);
|
|
259
266
|
aGroups.forEach((oGroup, index) => {
|
|
260
267
|
const sGroupId = oGroup.id || "GROUP_" + index;
|
|
261
268
|
const oPage = oSiteData.pages.page1; // predefined page
|
|
@@ -306,17 +313,37 @@
|
|
|
306
313
|
};
|
|
307
314
|
});
|
|
308
315
|
});
|
|
309
|
-
|
|
310
316
|
delete oConfig.applications;
|
|
317
|
+
|
|
318
|
+
const oServiceMigration = commonUtils.getV2ServiceMigrationConfig(oApplicationConfig);
|
|
319
|
+
mergeConfig(oConfig, oServiceMigration, true);
|
|
320
|
+
mergeConfig(oConfig, oApplicationConfig, true);
|
|
321
|
+
|
|
311
322
|
return oConfig;
|
|
312
323
|
}
|
|
313
324
|
|
|
314
|
-
|
|
315
|
-
|
|
325
|
+
/**
|
|
326
|
+
* Apply the default Ushell Config and merge into
|
|
327
|
+
* window["sap-ushell-config"].
|
|
328
|
+
*
|
|
329
|
+
* @param {object} oConfig The config to be merged into the window object
|
|
330
|
+
* @param {object} oUshellConfig The current ushell configuration
|
|
331
|
+
*/
|
|
332
|
+
function _applyDefaultUshellConfig (oConfig, oUshellConfig) {
|
|
333
|
+
const oDefaultApplicationMigration = commonUtils.getV2ServiceMigrationConfig(oConfig);
|
|
334
|
+
|
|
335
|
+
mergeConfig(oUshellConfig, oDefaultApplicationMigration, true);
|
|
336
|
+
mergeConfig(oUshellConfig, oConfig, true);
|
|
316
337
|
}
|
|
317
338
|
|
|
318
|
-
|
|
319
|
-
|
|
339
|
+
/**
|
|
340
|
+
* Apply the default site data and delete the siteDataUrl from the adapter config.
|
|
341
|
+
*
|
|
342
|
+
* @param {object} oSiteData The site data to be merged into the window object
|
|
343
|
+
* @param {object} oUshellConfig The current ushell configuration
|
|
344
|
+
*/
|
|
345
|
+
function _applyDefaultSiteData (oSiteData, oUshellConfig) {
|
|
346
|
+
const oAdapterConfig = oUshellConfig.services.CommonDataModel.adapter.config;
|
|
320
347
|
oAdapterConfig.siteData = oSiteData;
|
|
321
348
|
delete oAdapterConfig.siteDataUrl;
|
|
322
349
|
}
|
|
@@ -326,12 +353,16 @@
|
|
|
326
353
|
* window["sap-ushell-config"].
|
|
327
354
|
*
|
|
328
355
|
* @param {string} sUrlPrefix URL of JSON file to be merged into the configuration
|
|
356
|
+
* @param {object} oUshellConfig The current ushell configuration
|
|
329
357
|
*/
|
|
330
|
-
async function _applyJsonApplicationConfig (sUrlPrefix) {
|
|
358
|
+
async function _applyJsonApplicationConfig (sUrlPrefix, oUshellConfig) {
|
|
331
359
|
const sUrl = /\.json/i.test(sUrlPrefix) ? sUrlPrefix : sUrlPrefix + ".json";
|
|
332
360
|
const oAppConfig = await _loadJSON(sUrl);
|
|
333
361
|
if (oAppConfig) {
|
|
334
|
-
|
|
362
|
+
const oDefaultApplicationMigration = commonUtils.getV2ServiceMigrationConfig(oAppConfig);
|
|
363
|
+
|
|
364
|
+
mergeConfig(oUshellConfig, oDefaultApplicationMigration, true);
|
|
365
|
+
mergeConfig(oUshellConfig, oAppConfig, true);
|
|
335
366
|
}
|
|
336
367
|
}
|
|
337
368
|
|
|
@@ -361,27 +392,28 @@
|
|
|
361
392
|
// otherwise, /appconfig/fioriSandboxConfig.json is the convention for WebIDE developers
|
|
362
393
|
if (aConfigFiles.length === 0) {
|
|
363
394
|
aConfigFiles.push("/appconfig/fioriSandboxConfig.json");
|
|
395
|
+
aConfigFiles.push("../appconfig/fioriSandboxConfig.json"); // some configurations work with relative path only
|
|
364
396
|
}
|
|
365
397
|
|
|
366
398
|
if (!window["sap-ushell-config"]) {
|
|
367
399
|
window["sap-ushell-config"] = {};
|
|
368
400
|
}
|
|
401
|
+
const oUshellConfig = window["sap-ushell-config"];
|
|
402
|
+
// migrate config set via window object
|
|
403
|
+
commonUtils.migrateV2ServiceConfig(oUshellConfig);
|
|
369
404
|
|
|
370
405
|
// load the predefined ushell configuration and site contents
|
|
371
406
|
const [oDefaultConfig, oDefaultSite] = await Promise.all([_loadJSON(sDefaultConfigUrl), _loadJSON(sDefaultSiteUrl)]);
|
|
372
|
-
_applyDefaultUshellConfig(oDefaultConfig);
|
|
373
|
-
_applyDefaultSiteData(oDefaultSite);
|
|
407
|
+
_applyDefaultUshellConfig(oDefaultConfig, oUshellConfig);
|
|
408
|
+
_applyDefaultSiteData(oDefaultSite, oUshellConfig);
|
|
374
409
|
|
|
375
410
|
// merge with the custom configuration
|
|
376
411
|
for (const sConfigFile of aConfigFiles) {
|
|
377
|
-
await _applyJsonApplicationConfig(sConfigFile);
|
|
412
|
+
await _applyJsonApplicationConfig(sConfigFile, oUshellConfig);
|
|
378
413
|
}
|
|
379
414
|
|
|
380
415
|
// convert custom data to the site data
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
// migrate adapter config
|
|
384
|
-
commonUtils.migrateV2ServiceConfig(oUshellConfig);
|
|
416
|
+
_addAppsToSite(oUshellConfig);
|
|
385
417
|
|
|
386
418
|
// merge custom application module paths for the loader, if provided
|
|
387
419
|
if (oUshellConfig.modulePaths) {
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
// Copyright (c) 2009-2023 SAP SE, All Rights Reserved
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* @deprecated since 1.112
|
|
4
|
+
* @fileoverview Catalogs manager. Used in AppFinder to assign tiles to groups.
|
|
5
|
+
* Part of CatalogsManager is used to load all catalogs in space mode. See loadAllCatalogs.
|
|
7
6
|
*/
|
|
8
7
|
sap.ui.define([
|
|
9
8
|
"sap/ui/base/Object",
|
|
@@ -66,8 +65,9 @@ sap.ui.define([
|
|
|
66
65
|
_aDoables: [],
|
|
67
66
|
|
|
68
67
|
constructor: function (sId, mSettings) {
|
|
69
|
-
this.oLaunchPageServicePromise = sap.ushell.Container.getServiceAsync("
|
|
68
|
+
this.oLaunchPageServicePromise = sap.ushell.Container.getServiceAsync("FlpLaunchPage").then(function (oLaunchPageService) {
|
|
70
69
|
this.oLaunchPageService = oLaunchPageService;
|
|
70
|
+
return oLaunchPageService;
|
|
71
71
|
}.bind(this));
|
|
72
72
|
|
|
73
73
|
//TODO should be removed when AppFinder and Homepage use separate model
|
|
@@ -96,10 +96,15 @@ sap.ui.define([
|
|
|
96
96
|
var oEventBus = EventBus.getInstance();
|
|
97
97
|
oEventBus.subscribe("renderCatalog", this.loadAllCatalogs, this);
|
|
98
98
|
// Doable objects are kept in a global array to enable their off-ing later on.
|
|
99
|
-
this._aDoables = [
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
99
|
+
this._aDoables = [];
|
|
100
|
+
/**
|
|
101
|
+
* @deprecated As of version 1.121
|
|
102
|
+
*/
|
|
103
|
+
this._aDoables.push(EventHub.on("showCatalog").do(this.updateTilesAssociation.bind(this)));
|
|
104
|
+
/**
|
|
105
|
+
* @deprecated As of version 1.121
|
|
106
|
+
*/
|
|
107
|
+
this._aDoables.push(EventHub.on("updateGroups").do(this.updateTilesAssociation.bind(this)));
|
|
103
108
|
},
|
|
104
109
|
|
|
105
110
|
unregisterEvents: function () {
|
|
@@ -127,6 +132,9 @@ sap.ui.define([
|
|
|
127
132
|
// this is a local function (which could be invoked at 2 points in this method).
|
|
128
133
|
// this sets a Done callback on the promise object of the groups.
|
|
129
134
|
var setDoneCBForGroups = function () {
|
|
135
|
+
/**
|
|
136
|
+
* @deprecated As of version 1.121
|
|
137
|
+
*/
|
|
130
138
|
oGroupsPromise.done(function () {
|
|
131
139
|
var aGroups = that.getModel().getProperty("/groups");
|
|
132
140
|
if (aGroups && aGroups.length !== 0) {
|
|
@@ -162,7 +170,7 @@ sap.ui.define([
|
|
|
162
170
|
Measurement.pause("FLP:DashboardManager.BuildCatalogModelWithRendering");
|
|
163
171
|
|
|
164
172
|
// Trigger loading of catalogs
|
|
165
|
-
|
|
173
|
+
this.oLaunchPageServicePromise.then(function (oLaunchPageService) {
|
|
166
174
|
oLaunchPageService.getCatalogs()
|
|
167
175
|
// There's a need to make sure that onDoneLoadingCatalogs is called only after all catalogs are loaded
|
|
168
176
|
// (i.e. all calls to addCatalogToModel are finished).
|
|
@@ -193,12 +201,18 @@ sap.ui.define([
|
|
|
193
201
|
}
|
|
194
202
|
},
|
|
195
203
|
|
|
204
|
+
/**
|
|
205
|
+
* @deprecated As of version 1.121
|
|
206
|
+
*/
|
|
196
207
|
updateTilesAssociation: function () {
|
|
197
208
|
this.mapCatalogTilesToGroups();
|
|
198
209
|
// update the catalogTile model after mapCatalogTilesToGroups() was called
|
|
199
210
|
this.updateCatalogTilesToGroupsMap();
|
|
200
211
|
},
|
|
201
212
|
|
|
213
|
+
/**
|
|
214
|
+
* @deprecated As of version 1.121
|
|
215
|
+
*/
|
|
202
216
|
mapCatalogTilesToGroups: function () {
|
|
203
217
|
var that = this;
|
|
204
218
|
this.oTileCatalogToGroupsMap = {};
|
|
@@ -227,6 +241,9 @@ sap.ui.define([
|
|
|
227
241
|
});
|
|
228
242
|
},
|
|
229
243
|
|
|
244
|
+
/**
|
|
245
|
+
* @deprecated As of version 1.121
|
|
246
|
+
*/
|
|
230
247
|
updateCatalogTilesToGroupsMap: function () {
|
|
231
248
|
var tileId;
|
|
232
249
|
var associatedGroups;
|
|
@@ -864,6 +881,9 @@ sap.ui.define([
|
|
|
864
881
|
*/
|
|
865
882
|
resetAssociationOnFailure: function (sMsgId, aParameters) {
|
|
866
883
|
this.notifyOnActionFailure(sMsgId, aParameters);
|
|
884
|
+
/**
|
|
885
|
+
* @deprecated As of version 1.121
|
|
886
|
+
*/
|
|
867
887
|
this.updateTilesAssociation();
|
|
868
888
|
},
|
|
869
889
|
|
|
@@ -882,10 +902,10 @@ sap.ui.define([
|
|
|
882
902
|
*/
|
|
883
903
|
|
|
884
904
|
// get appFinder display mode from configuration
|
|
885
|
-
var sAppFinderDisplayMode = this.oModel.getProperty("/appFinderDisplayMode");
|
|
905
|
+
var sAppFinderDisplayMode = this.oModel.getProperty("/appFinderDisplayMode") || "appBoxes";
|
|
886
906
|
|
|
887
907
|
// determine the catalog tile display mode:
|
|
888
|
-
if (sAppFinderDisplayMode === "tiles") {
|
|
908
|
+
if (sAppFinderDisplayMode.toLowerCase() === "tiles") {
|
|
889
909
|
bIsAppBox = false;
|
|
890
910
|
} else {
|
|
891
911
|
bIsAppBox = !!(
|
|
@@ -57,7 +57,7 @@ sap.ui.define([
|
|
|
57
57
|
* @deprecated As of version 1.120
|
|
58
58
|
*/
|
|
59
59
|
if (!this.oLaunchPageService) {
|
|
60
|
-
return sap.ushell.Container.getServiceAsync("
|
|
60
|
+
return sap.ushell.Container.getServiceAsync("FlpLaunchPage").then(function (oLaunchPageService) {
|
|
61
61
|
this.oLaunchPageService = oLaunchPageService;
|
|
62
62
|
}.bind(this));
|
|
63
63
|
}
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
sap.ui.define([
|
|
9
9
|
"sap/ui/thirdparty/jquery",
|
|
10
10
|
"sap/ui/core/Core",
|
|
11
|
+
"sap/ui/core/Theming",
|
|
11
12
|
"sap/ui/base/Object",
|
|
12
13
|
"sap/ui/Device",
|
|
13
14
|
"sap/ui/model/Filter",
|
|
@@ -37,6 +38,7 @@ sap.ui.define([
|
|
|
37
38
|
], function (
|
|
38
39
|
jQuery,
|
|
39
40
|
Core,
|
|
41
|
+
Theming,
|
|
40
42
|
BaseObject,
|
|
41
43
|
Device,
|
|
42
44
|
Filter,
|
|
@@ -106,7 +108,7 @@ sap.ui.define([
|
|
|
106
108
|
return oHomepageManagerInstance;
|
|
107
109
|
}
|
|
108
110
|
|
|
109
|
-
this.oServiceLoadingPromise = sap.ushell.Container.getServiceAsync("
|
|
111
|
+
this.oServiceLoadingPromise = sap.ushell.Container.getServiceAsync("FlpLaunchPage")
|
|
110
112
|
.then(function (oLaunchPageService) {
|
|
111
113
|
this.oPageBuilderService = oLaunchPageService;
|
|
112
114
|
// add Remove action for all tiles
|
|
@@ -118,7 +120,7 @@ sap.ui.define([
|
|
|
118
120
|
// when the core theme changes, it's required to calculate again, which tiles are visible. In case of
|
|
119
121
|
// dynamic tiles, a request should be triggered. In some cases it can happen, that the tile visibility
|
|
120
122
|
// is calculated before the initial theme is applied. Also these cases are covered, when we react to the theme changed event.
|
|
121
|
-
|
|
123
|
+
Theming.attachApplied(oUtils.handleTilesVisibility);
|
|
122
124
|
|
|
123
125
|
// eslint-disable-next-line consistent-this
|
|
124
126
|
oHomepageManagerInstance = this;
|
|
@@ -459,7 +461,7 @@ sap.ui.define([
|
|
|
459
461
|
oEventBus.unsubscribe("launchpad", "sortableStart", this._sortableStart, this);
|
|
460
462
|
oEventBus.unsubscribe("launchpad", "sortableStop", this._sortableStop, this);
|
|
461
463
|
oEventBus.unsubscribe("launchpad", "dashboardModelContentLoaded", this._modelLoaded, this);
|
|
462
|
-
|
|
464
|
+
Theming.detachApplied(oUtils.handleTilesVisibility);
|
|
463
465
|
|
|
464
466
|
aDoables.forEach(function (oDoable) {
|
|
465
467
|
oDoable.off();
|
|
@@ -311,7 +311,7 @@ sap.ui.define([
|
|
|
311
311
|
if (this.bEnableEasyAccessOnTablet) {
|
|
312
312
|
// We need to filter out the Shell-startWDA and Shell-startGUI systems
|
|
313
313
|
// that do not support tablet
|
|
314
|
-
sap.ushell.Container.getServiceAsync("
|
|
314
|
+
sap.ushell.Container.getServiceAsync("NavTargetResolutionInternal").then(function (oService) {
|
|
315
315
|
// Shell-startWDA often requires the additional parameter sap-ui2-wd-app-id
|
|
316
316
|
// and Shell-startGUI requires the additional parameter sap-ui2-tcode
|
|
317
317
|
// We are providing these with a placeholder value to be able to use
|
|
@@ -617,7 +617,7 @@ sap.ui.define([
|
|
|
617
617
|
// If sPath is defined and is different than empty string - set the group context id.
|
|
618
618
|
// The recursive call is needed in order to wait until groups data is inserted to the model
|
|
619
619
|
if (sPath && sPath !== "") {
|
|
620
|
-
sap.ushell.Container.getServiceAsync("
|
|
620
|
+
sap.ushell.Container.getServiceAsync("FlpLaunchPage").then(function (oLaunchPageService) {
|
|
621
621
|
var timeoutGetGroupDataFromModel = function () {
|
|
622
622
|
var aModelGroups = oModel.getProperty("/groups");
|
|
623
623
|
if (aModelGroups.length) {
|
|
@@ -61,7 +61,7 @@ sap.ui.define([
|
|
|
61
61
|
/**
|
|
62
62
|
* @deprecated As of version 1.120
|
|
63
63
|
*/
|
|
64
|
-
sap.ushell.Container.getServiceAsync("
|
|
64
|
+
sap.ushell.Container.getServiceAsync("FlpLaunchPage").then(function (oLaunchPageService) {
|
|
65
65
|
this.oLaunchPageService = oLaunchPageService;
|
|
66
66
|
}.bind(this));
|
|
67
67
|
|
|
@@ -16,7 +16,7 @@ sap.ui.define([
|
|
|
16
16
|
"sap/ui/Device",
|
|
17
17
|
"sap/ui/performance/Measurement",
|
|
18
18
|
"sap/ushell/components/appfinder/VisualizationOrganizerHelper",
|
|
19
|
-
"sap/ushell/ui/appfinder/
|
|
19
|
+
"sap/ushell/ui/appfinder/AppBoxInternal",
|
|
20
20
|
"sap/ushell/ui/appfinder/PinButton",
|
|
21
21
|
"sap/ushell/ui/launchpad/AccessibilityCustomData",
|
|
22
22
|
"sap/ushell/ui/launchpad/CatalogEntryContainer",
|
|
@@ -39,7 +39,7 @@ sap.ui.define([
|
|
|
39
39
|
Device,
|
|
40
40
|
Measurement,
|
|
41
41
|
VisualizationOrganizerHelper,
|
|
42
|
-
|
|
42
|
+
AppBoxInternal,
|
|
43
43
|
PinButton,
|
|
44
44
|
AccessibilityCustomData,
|
|
45
45
|
CatalogEntryContainer,
|
|
@@ -131,14 +131,13 @@ sap.ui.define([
|
|
|
131
131
|
visible: false
|
|
132
132
|
});
|
|
133
133
|
|
|
134
|
-
this.oAppBoxesTemplate = new
|
|
134
|
+
this.oAppBoxesTemplate = new AppBoxInternal({
|
|
135
135
|
title: "{title}",
|
|
136
136
|
icon: "{icon}",
|
|
137
137
|
subtitle: "{subtitle}",
|
|
138
138
|
url: "{url}",
|
|
139
139
|
navigationMode: "{navigationMode}",
|
|
140
140
|
pinButton: oAppBoxPinButton,
|
|
141
|
-
contentProviderId: "{contentProviderId}",
|
|
142
141
|
contentProviderLabel: "{contentProviderLabel}",
|
|
143
142
|
press: [oController.onAppBoxPressed, oController]
|
|
144
143
|
});
|
|
@@ -49,7 +49,10 @@ sap.ui.define([
|
|
|
49
49
|
oSharedComponentUtils.getEffectiveHomepageSetting("/core/home/homePageGroupDisplay", "/core/home/enableHomePageSettings");
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
|
|
52
|
+
/**
|
|
53
|
+
* Relevant for functions in views and controllers, used by CLASSIC HOMEPAGE
|
|
54
|
+
* @deprecated As of version 1.121
|
|
55
|
+
*/
|
|
53
56
|
this.oCatalogsManager = new CatalogsManager("dashboardMgr", {
|
|
54
57
|
model: this.oModel
|
|
55
58
|
});
|
|
@@ -102,7 +105,7 @@ sap.ui.define([
|
|
|
102
105
|
destroy: function () {
|
|
103
106
|
return Promise.all([
|
|
104
107
|
UIComponent.prototype.destroy.apply(this, arguments),
|
|
105
|
-
this.oCatalogsManager.destroy()
|
|
108
|
+
this.oCatalogsManager && this.oCatalogsManager.destroy()
|
|
106
109
|
]);
|
|
107
110
|
}
|
|
108
111
|
});
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
sap.ui.define([
|
|
4
4
|
"sap/ui/core/library",
|
|
5
5
|
"sap/ui/core/mvc/View",
|
|
6
|
-
"sap/ushell/ui/appfinder/
|
|
6
|
+
"sap/ushell/ui/appfinder/AppBoxInternal",
|
|
7
7
|
"sap/ushell/ui/appfinder/PinButton",
|
|
8
8
|
"sap/ushell/resources",
|
|
9
9
|
"sap/ushell/ui/launchpad/AccessibilityCustomData",
|
|
@@ -22,7 +22,7 @@ sap.ui.define([
|
|
|
22
22
|
], function (
|
|
23
23
|
coreLibrary,
|
|
24
24
|
View,
|
|
25
|
-
|
|
25
|
+
AppBoxInternal,
|
|
26
26
|
PinButton,
|
|
27
27
|
resources,
|
|
28
28
|
AccessibilityCustomData,
|
|
@@ -76,7 +76,7 @@ sap.ui.define([
|
|
|
76
76
|
}));
|
|
77
77
|
oPinButton.addStyleClass("sapUshellPinButton");
|
|
78
78
|
|
|
79
|
-
this.oItemTemplate = new
|
|
79
|
+
this.oItemTemplate = new AppBoxInternal({
|
|
80
80
|
title: "{easyAccess>text}",
|
|
81
81
|
subtitle: "{easyAccess>subtitle}",
|
|
82
82
|
url: "{easyAccess>url}",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Copyright (c) 2009-2023 SAP SE, All Rights Reserved
|
|
2
2
|
/**
|
|
3
3
|
* @fileOverview handle all the resources for the different applications.
|
|
4
|
-
* @version 1.
|
|
4
|
+
* @version 1.122.0
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
7
7
|
"sap/ui/core/Element",
|
|
@@ -1113,7 +1113,7 @@ sap.ui.define([
|
|
|
1113
1113
|
/**
|
|
1114
1114
|
* Creates a new object Expose a minimal set of values to public external stakeholders
|
|
1115
1115
|
* only expose what you can guarantee under any evolution of the unified shell on all platforms
|
|
1116
|
-
* @param {object} oApplication an internal result of
|
|
1116
|
+
* @param {object} oApplication an internal result of NavTargetResolutionInternal
|
|
1117
1117
|
* @returns {object} an object exposing certain information to external stakeholders
|
|
1118
1118
|
*/
|
|
1119
1119
|
this._publicEventDataFromResolutionResult = function (oApplication) {
|
|
@@ -1503,17 +1503,6 @@ sap.ui.define([
|
|
|
1503
1503
|
//Process Dangling UI elements.
|
|
1504
1504
|
this.shellElements().setDangling(false);
|
|
1505
1505
|
this.shellElements().processDangling();
|
|
1506
|
-
|
|
1507
|
-
if (sState === "searchResults") {
|
|
1508
|
-
this.getElementsModel().setProperty("/lastSearchScreen", "");
|
|
1509
|
-
if (!hasher.getHash().indexOf("Action-search") === 0) {
|
|
1510
|
-
var searchModel = Core.getModel("searchModel");
|
|
1511
|
-
hasher.setHash("Action-search&/searchTerm=" +
|
|
1512
|
-
searchModel.getProperty("/uiFilter/searchTerms") +
|
|
1513
|
-
"&dataSource=" +
|
|
1514
|
-
JSON.stringify(searchModel.getProperty("/uiFilter/dataSource").getJson()));
|
|
1515
|
-
}
|
|
1516
|
-
}
|
|
1517
1506
|
};
|
|
1518
1507
|
|
|
1519
1508
|
this.registerShellCommunicationHandler = function (oCommunicationHandler) {
|