@sapui5/sap.ushell 1.121.2 → 1.122.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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
|
@@ -1,34 +1,14 @@
|
|
|
1
1
|
// Copyright (c) 2009-2023 SAP SE, All Rights Reserved
|
|
2
2
|
|
|
3
3
|
sap.ui.define([
|
|
4
|
-
"sap/base/
|
|
5
|
-
"sap/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
"sap/ui/core/EventBus",
|
|
10
|
-
"sap/ui/fl/Utils",
|
|
11
|
-
"sap/ui/fl/apply/_internal/preprocessors/EventHistory",
|
|
12
|
-
"sap/ushell/plugins/BaseRTAPlugin",
|
|
13
|
-
"sap/ushell/appRuntime/ui5/plugins/baseRta/CheckConditions",
|
|
14
|
-
"sap/ushell/appRuntime/ui5/plugins/baseRta/Renderer"
|
|
15
|
-
], function(
|
|
16
|
-
UriParameters,
|
|
17
|
-
MessageBox,
|
|
18
|
-
MessageToast,
|
|
19
|
-
Component,
|
|
20
|
-
Element,
|
|
21
|
-
EventBus,
|
|
22
|
-
FlexUtils,
|
|
23
|
-
EventHistory,
|
|
24
|
-
BaseRTAPlugin,
|
|
25
|
-
CheckConditions,
|
|
26
|
-
Renderer
|
|
4
|
+
"sap/base/Log",
|
|
5
|
+
"sap/ushell/plugins/BaseRTAPlugin"
|
|
6
|
+
], function (
|
|
7
|
+
Log,
|
|
8
|
+
BaseRTAPlugin
|
|
27
9
|
) {
|
|
28
10
|
"use strict";
|
|
29
11
|
|
|
30
|
-
var sButtonId = "PERSONALIZE_Plugin_ActionButton";
|
|
31
|
-
|
|
32
12
|
var RTAPlugin = BaseRTAPlugin.extend("sap.ushell.plugins.rta-personalize.Component", {
|
|
33
13
|
sType: "rta-personalize",
|
|
34
14
|
|
|
@@ -38,235 +18,7 @@ sap.ui.define([
|
|
|
38
18
|
},
|
|
39
19
|
|
|
40
20
|
init: function () {
|
|
41
|
-
|
|
42
|
-
sComponentName: "sap.ushell.plugins.rta-personalize",
|
|
43
|
-
layer: "USER",
|
|
44
|
-
developerMode: false,
|
|
45
|
-
id: sButtonId,
|
|
46
|
-
text: "PERSONALIZE_BUTTON_TEXT",
|
|
47
|
-
icon: "sap-icon://edit",
|
|
48
|
-
visible: false,
|
|
49
|
-
checkRestartRTA: false
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
BaseRTAPlugin.prototype.init.call(this, oConfig);
|
|
53
|
-
CheckConditions.checkUI5App()
|
|
54
|
-
.then(function (bIsUI5App) {
|
|
55
|
-
var bButtonIsVisible = this.mConfig.visible && bIsUI5App;
|
|
56
|
-
return Renderer.createActionButton(this, this._onAdapt.bind(this), bButtonIsVisible);
|
|
57
|
-
}.bind(this))
|
|
58
|
-
.then(this._checkForEnabledControls.bind(this));
|
|
59
|
-
},
|
|
60
|
-
|
|
61
|
-
removePersonalizableControl: function (oControl) {
|
|
62
|
-
var iIndex = this._aPersonalizableControls.indexOf(oControl);
|
|
63
|
-
this._aPersonalizableControls.splice(iIndex, 1);
|
|
64
|
-
this._aOriginalFooterVisibility.splice(iIndex, 1);
|
|
65
|
-
if (this._aPersonalizableControls.length === 0) {
|
|
66
|
-
this._oObserver.disconnect();
|
|
67
|
-
delete this._oObserver;
|
|
68
|
-
this._adaptButtonVisibility(sButtonId, false);
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
|
|
72
|
-
_checkForEnabledControls: function () {
|
|
73
|
-
this._aPersonalizableControls = [];
|
|
74
|
-
this._aOriginalFooterVisibility = [];
|
|
75
|
-
|
|
76
|
-
function addPersonalizableControl (oControl) {
|
|
77
|
-
if (this._aPersonalizableControls.indexOf(oControl) === -1) {
|
|
78
|
-
this._aPersonalizableControls.push(oControl);
|
|
79
|
-
CheckConditions.checkUI5App()
|
|
80
|
-
.then(function (bIsUI5App) {
|
|
81
|
-
this._adaptButtonVisibility(sButtonId, bIsUI5App);
|
|
82
|
-
}.bind(this));
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
function onPersonalizableControlRendered (sChannelId, sEventId, vControl) {
|
|
87
|
-
if (FlexUtils.checkControlId(vControl)) {
|
|
88
|
-
var oControl = this._getControlInstance(vControl);
|
|
89
|
-
addPersonalizableControl.call(this, oControl);
|
|
90
|
-
if (!this._oObserver) {
|
|
91
|
-
this._oObserver = new MutationObserver(function (mutations) {
|
|
92
|
-
this._aPersonalizableControls.forEach(function (oPersonalizableControl) {
|
|
93
|
-
if (!oPersonalizableControl.getDomRef()) {
|
|
94
|
-
this.removePersonalizableControl(oPersonalizableControl);
|
|
95
|
-
}
|
|
96
|
-
}.bind(this));
|
|
97
|
-
}.bind(this));
|
|
98
|
-
var oObserverConfig = {
|
|
99
|
-
attributes: true,
|
|
100
|
-
childList: true,
|
|
101
|
-
characterData: false,
|
|
102
|
-
subtree: true,
|
|
103
|
-
attributeFilter: ["style", "class"]
|
|
104
|
-
};
|
|
105
|
-
this._oObserver.observe(window.document, oObserverConfig);
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
EventBus.getInstance().subscribe("sap.ui", "ControlForPersonalizationRendered", onPersonalizableControlRendered, this);
|
|
111
|
-
var aEvents = EventHistory.getHistoryAndStop("ControlForPersonalizationRendered");
|
|
112
|
-
aEvents.forEach(function (oEvent) {
|
|
113
|
-
onPersonalizableControlRendered.call(this, oEvent.channelId, oEvent.eventId, oEvent.parameters);
|
|
114
|
-
}.bind(this));
|
|
115
|
-
},
|
|
116
|
-
|
|
117
|
-
_getControlInstance: function (vElement) {
|
|
118
|
-
if (typeof vElement === "string") {
|
|
119
|
-
var oElement = Element.getElementById(vElement);
|
|
120
|
-
return oElement || Component.getComponentById(vElement);
|
|
121
|
-
}
|
|
122
|
-
return vElement;
|
|
123
|
-
},
|
|
124
|
-
|
|
125
|
-
_onAppLoaded: function () {
|
|
126
|
-
// remove all personalizable controls if a new app is loaded and hide the button
|
|
127
|
-
// the listener for such controls is already active at this point
|
|
128
|
-
var iLength = this._aPersonalizableControls.length;
|
|
129
|
-
for (var i = iLength; i > 0; i--) {
|
|
130
|
-
this.removePersonalizableControl(this._aPersonalizableControls[i - 1]);
|
|
131
|
-
}
|
|
132
|
-
},
|
|
133
|
-
|
|
134
|
-
/**
|
|
135
|
-
* This function is called when the start event of RTA was fired
|
|
136
|
-
*
|
|
137
|
-
* @param {sap.ui.base.Event} oEvent the RTA start event
|
|
138
|
-
* @private
|
|
139
|
-
* @override
|
|
140
|
-
*/
|
|
141
|
-
_onStartHandler: function (oEvent) {
|
|
142
|
-
var iEditablePlugins = oEvent.getParameter("editablePluginsCount");
|
|
143
|
-
if (iEditablePlugins !== undefined && iEditablePlugins <= 0) {
|
|
144
|
-
MessageBox.information(this.mConfig.i18n.getText("MSG_STARTUP_NO_OVERLAYS"), {
|
|
145
|
-
onClose: function () {
|
|
146
|
-
this.oTrigger.triggerStopRta(/*bSkipSave = */true, /*bSkipRestart = */true);
|
|
147
|
-
}.bind(this)
|
|
148
|
-
});
|
|
149
|
-
}
|
|
150
|
-
},
|
|
151
|
-
|
|
152
|
-
/**
|
|
153
|
-
* This function should be used when custom plugins are needed
|
|
154
|
-
*
|
|
155
|
-
* @param {sap.ui.rta.RuntimeAuthoring} oRTA Instance of RuntimeAuthoring
|
|
156
|
-
* @private
|
|
157
|
-
* @override
|
|
158
|
-
*/
|
|
159
|
-
_loadPlugins: function (oRTA) {
|
|
160
|
-
// only require the needed plugins when RTA is started
|
|
161
|
-
var oPromise = new Promise(function (resolve) {
|
|
162
|
-
sap.ui.require([
|
|
163
|
-
"sap/ui/rta/plugin/EasyAdd",
|
|
164
|
-
"sap/ui/rta/plugin/EasyRemove"
|
|
165
|
-
], function (EasyAddPlugin, EasyRemovePlugin) {
|
|
166
|
-
var mPlugins = oRTA.getDefaultPlugins(),
|
|
167
|
-
oRemovePlugin = mPlugins.remove;
|
|
168
|
-
mPlugins.remove = new EasyRemovePlugin({ commandFactory: oRemovePlugin.getCommandFactory() });
|
|
169
|
-
|
|
170
|
-
var oAdditionalElementsPlugin = mPlugins.additionalElements;
|
|
171
|
-
mPlugins.additionalElements = new EasyAddPlugin({
|
|
172
|
-
commandFactory: oAdditionalElementsPlugin.getCommandFactory()
|
|
173
|
-
});
|
|
174
|
-
|
|
175
|
-
mPlugins.contextMenu.setOpenOnClick(false);
|
|
176
|
-
|
|
177
|
-
oRTA.setPlugins(mPlugins);
|
|
178
|
-
resolve();
|
|
179
|
-
});
|
|
180
|
-
});
|
|
181
|
-
return oPromise;
|
|
182
|
-
},
|
|
183
|
-
|
|
184
|
-
/**
|
|
185
|
-
* Event handler for the "Adapt" button of the RTA FLP Plugin
|
|
186
|
-
*
|
|
187
|
-
* @param {sap.ui.base.Event} oEvent the button click event
|
|
188
|
-
* @private
|
|
189
|
-
* @override
|
|
190
|
-
*/
|
|
191
|
-
_onAdapt: function (oEvent) {
|
|
192
|
-
var oSource = oEvent.getSource();
|
|
193
|
-
if (oSource.getText() === this.mConfig.i18n.getText("PERSONALIZE_BUTTON_TEXT")) {
|
|
194
|
-
var oUriParams = UriParameters.fromURL(window.location.href),
|
|
195
|
-
sSapUiLayer = oUriParams.mParams["sap-ui-layer"] && oUriParams.mParams["sap-ui-layer"][0];
|
|
196
|
-
if (!sSapUiLayer || sSapUiLayer === "USER") {
|
|
197
|
-
oSource.setText(this.mConfig.i18n.getText("END_PERSONALIZE_BUTTON_TEXT"));
|
|
198
|
-
|
|
199
|
-
this._adaptButtonVisibility("RTA_Plugin_ActionButton", false);
|
|
200
|
-
|
|
201
|
-
// Store the original values for the Footer Visibility
|
|
202
|
-
this._aPersonalizableControls.forEach(function (oControl) {
|
|
203
|
-
if (oControl.setShowFooter) {
|
|
204
|
-
this._aOriginalFooterVisibility.push(oControl.getShowFooter());
|
|
205
|
-
} else {
|
|
206
|
-
this._aOriginalFooterVisibility.push(undefined);
|
|
207
|
-
}
|
|
208
|
-
}.bind(this));
|
|
209
|
-
|
|
210
|
-
this._adaptFooterVisibility(false);
|
|
211
|
-
|
|
212
|
-
var oSearchButton = this._getFlpSearchButton();
|
|
213
|
-
this._bOriginalSearchButtonVisibility = oSearchButton && oSearchButton.getVisible();
|
|
214
|
-
if (this._bOriginalSearchButtonVisibility) {
|
|
215
|
-
this._adaptButtonVisibility(oSearchButton, false);
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
BaseRTAPlugin.prototype._onAdapt.call(this);
|
|
219
|
-
} else {
|
|
220
|
-
MessageBox.information(this.mConfig.i18n.getText("MSG_STARTUP_WRONG_LAYER"));
|
|
221
|
-
}
|
|
222
|
-
} else {
|
|
223
|
-
this.oTrigger.triggerStopRta(/*bSkipSave = */false, /*bSkipRestart = */true);
|
|
224
|
-
}
|
|
225
|
-
return Promise.resolve();
|
|
226
|
-
},
|
|
227
|
-
|
|
228
|
-
/**
|
|
229
|
-
* Leaves the personalization mode
|
|
230
|
-
* @private
|
|
231
|
-
* @override
|
|
232
|
-
*/
|
|
233
|
-
_switchToDefaultMode: function () {
|
|
234
|
-
Element.getElementById(sButtonId).setText(this.mConfig.i18n.getText("PERSONALIZE_BUTTON_TEXT"));
|
|
235
|
-
|
|
236
|
-
this._adaptButtonVisibility("RTA_Plugin_ActionButton", true);
|
|
237
|
-
this._adaptFooterVisibility(true);
|
|
238
|
-
|
|
239
|
-
if (this._bOriginalSearchButtonVisibility !== undefined) {
|
|
240
|
-
this._adaptButtonVisibility(this._getFlpSearchButton(), this._bOriginalSearchButtonVisibility);
|
|
241
|
-
delete this._bOriginalSearchButtonVisibility;
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
MessageToast.show(this.mConfig.i18n.getText("SAVE_SUCCESSFUL"), {
|
|
245
|
-
duration: 4000,
|
|
246
|
-
offset: "0 -50"
|
|
247
|
-
});
|
|
248
|
-
},
|
|
249
|
-
|
|
250
|
-
/**
|
|
251
|
-
* Sets the Footer visibility of the personalizable Controls
|
|
252
|
-
*
|
|
253
|
-
* @param {boolean} bVisible new visibility of the Footer
|
|
254
|
-
* @private
|
|
255
|
-
*/
|
|
256
|
-
_adaptFooterVisibility: function (bVisible) {
|
|
257
|
-
this._aPersonalizableControls.forEach(function (oControl, iIndex) {
|
|
258
|
-
if (this._aOriginalFooterVisibility[iIndex]) {
|
|
259
|
-
oControl.setShowFooter(bVisible);
|
|
260
|
-
}
|
|
261
|
-
}.bind(this));
|
|
262
|
-
},
|
|
263
|
-
|
|
264
|
-
_getFlpSearchButton: function () {
|
|
265
|
-
return this.oRenderer.getRootControl().getShellHeader().getHeadEndItems()[0];
|
|
266
|
-
},
|
|
267
|
-
|
|
268
|
-
_getFLPViewPort: function () {
|
|
269
|
-
return Element.getElementById("viewPortContainer");
|
|
21
|
+
Log.error("[Deprecated] The FLP plugin for RTA Personalization (sap.ushell.plugins.rta-personalize) is no longer supported.");
|
|
270
22
|
}
|
|
271
23
|
});
|
|
272
24
|
|
|
@@ -3,56 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
"sap.app": {
|
|
5
5
|
"_version": "1.1.0",
|
|
6
|
-
"i18n": {
|
|
7
|
-
"bundleUrl": "i18n/i18n.properties",
|
|
8
|
-
"supportedLocales": [
|
|
9
|
-
"",
|
|
10
|
-
"ar",
|
|
11
|
-
"bg",
|
|
12
|
-
"ca",
|
|
13
|
-
"cs",
|
|
14
|
-
"da",
|
|
15
|
-
"de",
|
|
16
|
-
"el",
|
|
17
|
-
"en",
|
|
18
|
-
"en_US_sappsd",
|
|
19
|
-
"en_US_saptrc",
|
|
20
|
-
"es",
|
|
21
|
-
"et",
|
|
22
|
-
"fi",
|
|
23
|
-
"fr",
|
|
24
|
-
"hi",
|
|
25
|
-
"hr",
|
|
26
|
-
"hu",
|
|
27
|
-
"it",
|
|
28
|
-
"iw",
|
|
29
|
-
"ja",
|
|
30
|
-
"kk",
|
|
31
|
-
"ko",
|
|
32
|
-
"lt",
|
|
33
|
-
"lv",
|
|
34
|
-
"ms",
|
|
35
|
-
"nl",
|
|
36
|
-
"no",
|
|
37
|
-
"pl",
|
|
38
|
-
"pt",
|
|
39
|
-
"ro",
|
|
40
|
-
"ru",
|
|
41
|
-
"sh",
|
|
42
|
-
"sk",
|
|
43
|
-
"sl",
|
|
44
|
-
"sv",
|
|
45
|
-
"th",
|
|
46
|
-
"tr",
|
|
47
|
-
"uk",
|
|
48
|
-
"vi",
|
|
49
|
-
"zh_CN",
|
|
50
|
-
"zh_TW"
|
|
51
|
-
],
|
|
52
|
-
"fallbackLocale": "en"
|
|
53
|
-
},
|
|
54
6
|
"id": "sap.ushell.plugins.rta-personalize",
|
|
55
|
-
"title": "{{APP_TITLE}}",
|
|
56
7
|
"type": "component",
|
|
57
8
|
"applicationVersion": {
|
|
58
9
|
"version": "1.0.0"
|
|
@@ -99,59 +50,6 @@
|
|
|
99
50
|
"lazy": true
|
|
100
51
|
}
|
|
101
52
|
}
|
|
102
|
-
},
|
|
103
|
-
"models": {
|
|
104
|
-
"i18n": {
|
|
105
|
-
"type": "sap.ui.model.resource.ResourceModel",
|
|
106
|
-
"uri": "i18n/i18n.properties",
|
|
107
|
-
"settings": {
|
|
108
|
-
"supportedLocales": [
|
|
109
|
-
"",
|
|
110
|
-
"ar",
|
|
111
|
-
"bg",
|
|
112
|
-
"ca",
|
|
113
|
-
"cs",
|
|
114
|
-
"da",
|
|
115
|
-
"de",
|
|
116
|
-
"el",
|
|
117
|
-
"en",
|
|
118
|
-
"en_US_sappsd",
|
|
119
|
-
"en_US_saptrc",
|
|
120
|
-
"es",
|
|
121
|
-
"et",
|
|
122
|
-
"fi",
|
|
123
|
-
"fr",
|
|
124
|
-
"hi",
|
|
125
|
-
"hr",
|
|
126
|
-
"hu",
|
|
127
|
-
"it",
|
|
128
|
-
"iw",
|
|
129
|
-
"ja",
|
|
130
|
-
"kk",
|
|
131
|
-
"ko",
|
|
132
|
-
"lt",
|
|
133
|
-
"lv",
|
|
134
|
-
"ms",
|
|
135
|
-
"nl",
|
|
136
|
-
"no",
|
|
137
|
-
"pl",
|
|
138
|
-
"pt",
|
|
139
|
-
"ro",
|
|
140
|
-
"ru",
|
|
141
|
-
"sh",
|
|
142
|
-
"sk",
|
|
143
|
-
"sl",
|
|
144
|
-
"sv",
|
|
145
|
-
"th",
|
|
146
|
-
"tr",
|
|
147
|
-
"uk",
|
|
148
|
-
"vi",
|
|
149
|
-
"zh_CN",
|
|
150
|
-
"zh_TW"
|
|
151
|
-
],
|
|
152
|
-
"fallbackLocale": "en"
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
53
|
}
|
|
156
54
|
},
|
|
157
55
|
"sap.flp": {
|
|
@@ -381,8 +381,6 @@ sap.ui.define([
|
|
|
381
381
|
if (oEvent.shiftKey) {
|
|
382
382
|
if (oEvent.keyCode === 70) { // CTRL + SHIFT + F
|
|
383
383
|
if (this._isFocusInDialog()) {
|
|
384
|
-
oEvent.preventDefault();
|
|
385
|
-
oEvent.stopPropagation();
|
|
386
384
|
return;
|
|
387
385
|
}
|
|
388
386
|
|
|
@@ -406,16 +404,12 @@ sap.ui.define([
|
|
|
406
404
|
}
|
|
407
405
|
} else if (oEvent.keyCode === 112) { // CTRL + F1
|
|
408
406
|
if (this._isFocusInDialog()) {
|
|
409
|
-
oEvent.preventDefault();
|
|
410
|
-
oEvent.stopPropagation();
|
|
411
407
|
return;
|
|
412
408
|
}
|
|
413
409
|
|
|
414
410
|
this._handleAccessOverviewKey(bAdvancedShellActions);
|
|
415
411
|
} else if (oEvent.keyCode === 83) { // CTRL + S
|
|
416
412
|
if (this._isFocusInDialog()) {
|
|
417
|
-
oEvent.preventDefault();
|
|
418
|
-
oEvent.stopPropagation();
|
|
419
413
|
return;
|
|
420
414
|
}
|
|
421
415
|
|
|
@@ -427,8 +421,6 @@ sap.ui.define([
|
|
|
427
421
|
}
|
|
428
422
|
} else if (oEvent.keyCode === 13) { // CTRL + Enter
|
|
429
423
|
if (this._isFocusInDialog()) {
|
|
430
|
-
oEvent.preventDefault();
|
|
431
|
-
oEvent.stopPropagation();
|
|
432
424
|
return;
|
|
433
425
|
}
|
|
434
426
|
|
|
@@ -83,9 +83,9 @@ sap.ui.define([
|
|
|
83
83
|
*/
|
|
84
84
|
var Renderer = UIComponent.extend("sap.ushell.renderer.Renderer", /** @lends sap.ushell.renderer.Renderer.prototype */ {
|
|
85
85
|
metadata: {
|
|
86
|
-
version: "1.
|
|
86
|
+
version: "1.122.1",
|
|
87
87
|
dependencies: {
|
|
88
|
-
version: "1.
|
|
88
|
+
version: "1.122.1",
|
|
89
89
|
libs: ["sap.ui.core", "sap.m"],
|
|
90
90
|
components: []
|
|
91
91
|
},
|
|
@@ -752,7 +752,7 @@ sap.ui.define([
|
|
|
752
752
|
var bIsBackNavigation = Ui5History.getInstance().getHistoryStateOffset() < 0;
|
|
753
753
|
Promise.all([
|
|
754
754
|
this._waitForHash(currentIntent),
|
|
755
|
-
sap.ushell.Container.getServiceAsync("
|
|
755
|
+
sap.ushell.Container.getServiceAsync("NavTargetResolutionInternal"),
|
|
756
756
|
sap.ushell.Container.getDirtyFlagsAsync()
|
|
757
757
|
])
|
|
758
758
|
.then(function (aResults) {
|
|
@@ -1126,7 +1126,7 @@ sap.ui.define([
|
|
|
1126
1126
|
var oConfig = oShellController._getConfig();
|
|
1127
1127
|
var bComponentLoaded = !!(oResolvedHashFragment && oResolvedHashFragment.componentHandle);
|
|
1128
1128
|
// for SAPUI5 apps, the application type is still "URL" due to backwards compatibility, but the
|
|
1129
|
-
//
|
|
1129
|
+
// NavTargetResolutionInternal service already extracts the component name, so this can directly be used as indicator
|
|
1130
1130
|
var sTargetUi5ComponentName = oResolvedHashFragment && oResolvedHashFragment.ui5ComponentName;
|
|
1131
1131
|
|
|
1132
1132
|
// calculate effective Navigation Mode with resolution result and current Application,
|
|
@@ -1373,7 +1373,7 @@ sap.ui.define([
|
|
|
1373
1373
|
*
|
|
1374
1374
|
* @param {string} sShellHash the hash fragment to parse (must start with "#")
|
|
1375
1375
|
* @returns {jQuery.Promise} Resolves with an object containing the resolved hash fragment (i.e., the result of
|
|
1376
|
-
* {@link sap.ushell.services.
|
|
1376
|
+
* {@link sap.ushell.services.NavTargetResolutionInternal#resolveHashFragment}), the parsed shell hash obtained via
|
|
1377
1377
|
* {@link sap.ushell.services.URLParsing#parseShellHash}, and a boolean value indicating whether application dependencies
|
|
1378
1378
|
* <b>and</b> core-ext-light were loaded earlier. The promise is rejected with an error message in case errors occur.
|
|
1379
1379
|
*/
|
|
@@ -1402,7 +1402,7 @@ sap.ui.define([
|
|
|
1402
1402
|
}
|
|
1403
1403
|
|
|
1404
1404
|
// Perform target resolution as normal...
|
|
1405
|
-
sap.ushell.Container.getServiceAsync("
|
|
1405
|
+
sap.ushell.Container.getServiceAsync("NavTargetResolutionInternal").then(function (oNavTargetResolution) {
|
|
1406
1406
|
oNavTargetResolution.resolveHashFragment(sShellHash)
|
|
1407
1407
|
.done(function (oResolvedHashFragment) {
|
|
1408
1408
|
//@FIXME: Should be also executed for directstart
|
|
@@ -1430,7 +1430,7 @@ sap.ui.define([
|
|
|
1430
1430
|
*
|
|
1431
1431
|
* {@link #navigate}.
|
|
1432
1432
|
*
|
|
1433
|
-
* @param {object} oResolvedHashFragment the hash fragment resolved via {@link sap.ushell.services.
|
|
1433
|
+
* @param {object} oResolvedHashFragment the hash fragment resolved via {@link sap.ushell.services.NavTargetResolutionInternal#resolveHashFragment}
|
|
1434
1434
|
* @returns {object} a new, potentially altered resolution result. Note that url and navigation mode may have been changed!
|
|
1435
1435
|
* For navigation in new window, the URL is replaced with the current location hash.
|
|
1436
1436
|
* NOTE: refactor this; we should not have these implicit changes of the navigation target
|
|
@@ -1525,7 +1525,7 @@ sap.ui.define([
|
|
|
1525
1525
|
* @param {object} oParsedShellHash the parsed shell hash obtained via {@link sap.ushell.services.URLParsing} service
|
|
1526
1526
|
* @param {string} sFixedShellHash the hash fragment to navigate to. It must start with "#" (i.e., fixed).
|
|
1527
1527
|
* @param {object} oMetadata the metadata object obtained via {@link sap.ushell.services.AppConfiguration#parseShellHash}
|
|
1528
|
-
* @param {object} oResolvedHashFragment the hash fragment resolved via {@link sap.ushell.services.
|
|
1528
|
+
* @param {object} oResolvedHashFragment the hash fragment resolved via {@link sap.ushell.services.NavTargetResolutionInternal#resolveHashFragment}
|
|
1529
1529
|
*
|
|
1530
1530
|
* @returns {Promise} Navigation Promise
|
|
1531
1531
|
*/
|
|
@@ -2216,7 +2216,7 @@ sap.ui.define([
|
|
|
2216
2216
|
* Notifies the UITracer service about the navigation (app launch) by emitting
|
|
2217
2217
|
* a corresponding event on the event hub.
|
|
2218
2218
|
*
|
|
2219
|
-
* @param {object} oResolvedHashFragment - the result of the
|
|
2219
|
+
* @param {object} oResolvedHashFragment - the result of the NavTargetResolutionInternal service
|
|
2220
2220
|
*/
|
|
2221
2221
|
_notifyUITracer: function (oResolvedHashFragment) {
|
|
2222
2222
|
try {
|
|
@@ -15,7 +15,6 @@ sap.ui.define([
|
|
|
15
15
|
"sap/ui/core/mvc/View",
|
|
16
16
|
"sap/ui/core/mvc/XMLView",
|
|
17
17
|
"sap/ui/core/Fragment",
|
|
18
|
-
"sap/ui/core/Core",
|
|
19
18
|
"sap/ushell/renderer/ShellLayout",
|
|
20
19
|
"sap/ushell/renderer/Shell.controller" // controller must be preloaded to avoid naming clashes
|
|
21
20
|
], function (
|
|
@@ -33,7 +32,6 @@ sap.ui.define([
|
|
|
33
32
|
View,
|
|
34
33
|
XMLView,
|
|
35
34
|
Fragment,
|
|
36
|
-
Core,
|
|
37
35
|
ShellLayout,
|
|
38
36
|
ShellController
|
|
39
37
|
) {
|
|
@@ -229,14 +227,8 @@ sap.ui.define([
|
|
|
229
227
|
},
|
|
230
228
|
|
|
231
229
|
createCanvasShapesManager: function () {
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
clearInterval(iInterval);
|
|
235
|
-
sap.ui.require(["sap/ushell/CanvasShapesManager"], function (CanvasShapesManager) {
|
|
236
|
-
CanvasShapesManager.drawShapes();
|
|
237
|
-
});
|
|
238
|
-
}
|
|
239
|
-
}, 200);
|
|
230
|
+
// The initial drawing of the canvas shapes is triggered within the manager
|
|
231
|
+
sap.ui.require(["sap/ushell/CanvasShapesManager"]);
|
|
240
232
|
},
|
|
241
233
|
|
|
242
234
|
createSubHeader: function () {
|
|
@@ -103,8 +103,7 @@ sap.ui.define([
|
|
|
103
103
|
|
|
104
104
|
/**
|
|
105
105
|
* Adjusts the amount of columns for the ItemNavigation of the ItemContainerList.
|
|
106
|
-
* The custom
|
|
107
|
-
* This way, if the screen size allows it, the items can be shown in two columns instead of one.
|
|
106
|
+
* The custom CSS class "sapUshellAllMyAppsListItem" decides whether to display the items in one or two columns.
|
|
108
107
|
*
|
|
109
108
|
* @private
|
|
110
109
|
* @since 1.121
|
|
@@ -137,7 +136,7 @@ sap.ui.define([
|
|
|
137
136
|
},
|
|
138
137
|
|
|
139
138
|
/**
|
|
140
|
-
* Loads apps data (that needs to be updated each time
|
|
139
|
+
* Loads apps data (that needs to be updated each time AllMyApps UI is opened)
|
|
141
140
|
* and switches the UI to the initial state
|
|
142
141
|
*
|
|
143
142
|
* @returns {Promise} For testing
|
|
@@ -152,7 +151,7 @@ sap.ui.define([
|
|
|
152
151
|
var oMasterPage = oView.byId("sapUshellAllMyAppsMasterPage");
|
|
153
152
|
var oDetailsPage = oView.byId("sapUshellAllMyAppsDetailsPage");
|
|
154
153
|
|
|
155
|
-
//Show busy indicator only upon initial loading of "AllMyApps".
|
|
154
|
+
// Show busy indicator only upon initial loading of "AllMyApps".
|
|
156
155
|
if (!this.bAfterInitialLoading) {
|
|
157
156
|
if (oMasterPage) {
|
|
158
157
|
oMasterPage.setBusy(true);
|
|
@@ -161,8 +160,8 @@ sap.ui.define([
|
|
|
161
160
|
oDetailsPage.setBusy(true);
|
|
162
161
|
}
|
|
163
162
|
oSplitApp.toMaster(this.createId("sapUshellAllMyAppsMasterPage"), "show");
|
|
164
|
-
//On "Phones" the sap.m.SplitApp displays only Detail or Master context at once.
|
|
165
|
-
//Consequently, calling 'toDetail' on phones changes also the context to the Detail and this should be avoided.
|
|
163
|
+
// On "Phones" the sap.m.SplitApp displays only Detail or Master context at once.
|
|
164
|
+
// Consequently, calling 'toDetail' on phones changes also the context to the Detail and this should be avoided.
|
|
166
165
|
if (!Device.system.phone) {
|
|
167
166
|
oSplitApp.toDetail("sapUshellAllMyAppsDetailsPage", "show");
|
|
168
167
|
}
|
|
@@ -469,14 +468,14 @@ sap.ui.define([
|
|
|
469
468
|
var oCustomPanelLabel = this._getCustomPanelLabel();
|
|
470
469
|
var oCustomPanelLink = this._getCustomPanelLink();
|
|
471
470
|
var oBindingContext;
|
|
472
|
-
var
|
|
471
|
+
var oBoundEntryObject;
|
|
473
472
|
|
|
474
473
|
if (bSingleDataSource === true) {
|
|
475
474
|
oBindingContext = oAllMyAppsModel.createBindingContext("/AppsData/0/groups/0");
|
|
476
|
-
|
|
475
|
+
oBoundEntryObject = oAllMyAppsModel.getProperty(oBindingContext.getPath());
|
|
477
476
|
} else {
|
|
478
477
|
oBindingContext = oAllMyAppsModel.createBindingContext("/AppsData/" + iFirstSelectedDataSourceIndex);
|
|
479
|
-
|
|
478
|
+
oBoundEntryObject = oAllMyAppsModel.getProperty(oBindingContext.getPath());
|
|
480
479
|
}
|
|
481
480
|
|
|
482
481
|
// Set the context of the details area to point the items/apps of the first catalog or (if no catalogs) the first group
|
|
@@ -488,9 +487,9 @@ sap.ui.define([
|
|
|
488
487
|
oCustomPanelLink.setBindingContext(oBindingContext, "allMyAppsModel");
|
|
489
488
|
}
|
|
490
489
|
|
|
491
|
-
if (
|
|
490
|
+
if (oBoundEntryObject !== undefined) {
|
|
492
491
|
// Set the text of the details area header to show the title of the first catalog or (if no catalogs) the first group
|
|
493
|
-
this._getDetailsHeaderLabel().setText(
|
|
492
|
+
this._getDetailsHeaderLabel().setText(oBoundEntryObject.title);
|
|
494
493
|
}
|
|
495
494
|
|
|
496
495
|
if (oData.bFirstCatalogLoadedEvent === true) {
|