@sapui5/sap.ushell 1.118.0 → 1.119.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 +6 -5
- package/src/main/js/sap/ushell/.library +1 -1
- package/src/main/js/sap/ushell/ApplicationType.js +1 -1
- package/src/main/js/sap/ushell/CanvasShapesManager.js +13 -7
- package/src/main/js/sap/ushell/Config.js +1 -1
- package/src/main/js/sap/ushell/Container.js +255 -185
- package/src/main/js/sap/ushell/EventHub.js +1 -1
- package/src/main/js/sap/ushell/Fiori20Adapter.js +1 -1
- package/src/main/js/sap/ushell/Fiori20AdapterTest.js +2 -2
- package/src/main/js/sap/ushell/Layout.js +3 -3
- package/src/main/js/sap/ushell/NWBCInterface.js +3 -3
- package/src/main/js/sap/ushell/TechnicalParameters.js +3 -3
- package/src/main/js/sap/ushell/UIActions.js +44 -44
- 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 +4 -4
- package/src/main/js/sap/ushell/User.js +1 -1
- package/src/main/js/sap/ushell/UserActivityLog.js +8 -8
- package/src/main/js/sap/ushell/_ApplicationType/guiResolution.js +5 -5
- package/src/main/js/sap/ushell/_ApplicationType/systemAlias.js +1 -1
- package/src/main/js/sap/ushell/_ApplicationType/urlTemplateResolution.js +12 -7
- package/src/main/js/sap/ushell/_Config/utils.js +5 -5
- 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 +14 -8
- package/src/main/js/sap/ushell/adapters/cdm/CommonDataModelAdapter.js +4 -5
- package/src/main/js/sap/ushell/adapters/cdm/ConfigurationDefaultsAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/ContainerAdapter.js +1 -2
- package/src/main/js/sap/ushell/adapters/cdm/LaunchPageAdapter.js +12 -13
- package/src/main/js/sap/ushell/adapters/cdm/MenuAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/PagesCommonDataModelAdapter.js +4 -3
- package/src/main/js/sap/ushell/adapters/cdm/PersonalizationAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/Ui5ComponentLoaderAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/modifyHome.js +2 -2
- 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/_Personalization/internals.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/util/AppForInbound.js +5 -2
- package/src/main/js/sap/ushell/adapters/cdm/util/cdmSiteUtils.js +4 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/AdapterBase.js +3 -4
- package/src/main/js/sap/ushell/adapters/cdm/v3/LaunchPageAdapter.js +10 -11
- 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/cdm/v3/utilsCdm.js +2 -2
- package/src/main/js/sap/ushell/adapters/cep/MenuAdapter.js +0 -1
- package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionAdapter.js +3 -4
- package/src/main/js/sap/ushell/adapters/cep/SearchCEPAdapter.js +3 -2
- package/src/main/js/sap/ushell/adapters/cflp/UserDefaultParameterPersistenceAdapter.js +3 -3
- package/src/main/js/sap/ushell/adapters/local/AdapterContainer.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/AppStateAdapter.js +2 -3
- package/src/main/js/sap/ushell/adapters/local/ClientSideTargetResolutionAdapter.js +3 -3
- package/src/main/js/sap/ushell/adapters/local/ContainerAdapter.js +1 -3
- package/src/main/js/sap/ushell/adapters/local/LaunchPageAdapter.js +2 -3
- package/src/main/js/sap/ushell/adapters/local/MenuAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PageBuildingAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PagePersistenceAdapter.js +2 -2
- package/src/main/js/sap/ushell/adapters/local/PersonalizationAdapter.js +1 -2
- 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 -2
- package/src/main/js/sap/ushell/adapters/local/UserInfoAdapter.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntime.js +5 -9
- package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/Renderer.js +5 -3
- package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/RendererExtensions.js +31 -3
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppLifeCycleAgent.js +2 -0
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Bookmark.js +7 -3
- package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/Ui5ComponentLoaderAdapter.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/FLPLoader.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 +3 -3
- package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5.js +2 -2
- package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5datetimeformat.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.create.configcontract.core.js +1 -0
- package/src/main/js/sap/ushell/bootstrap/common/common.load.core-min.js +2 -2
- package/src/main/js/sap/ushell/bootstrap/common/common.load.launchpad.js +7 -3
- package/src/main/js/sap/ushell/bootstrap/common/common.load.script.js +4 -4
- package/src/main/js/sap/ushell/bootstrap/common/common.util.js +7 -7
- package/src/main/js/sap/ushell/bootstrap/sandbox2/sandboxConfig.json +214 -0
- package/src/main/js/sap/ushell/bootstrap/sandbox2/sandboxSite.json +511 -0
- package/src/main/js/sap/ushell/bootstrap/sandbox2.js +398 -0
- package/src/main/js/sap/ushell/components/CatalogsManager.js +26 -25
- package/src/main/js/sap/ushell/components/ComponentKeysHandler.js +20 -15
- package/src/main/js/sap/ushell/components/DestroyHelper.js +2 -2
- package/src/main/js/sap/ushell/components/HomepageManager.js +6 -6
- package/src/main/js/sap/ushell/components/_HeaderManager/ControlManager.js +1 -1
- package/src/main/js/sap/ushell/components/_HomepageManager/PagingManager.js +5 -5
- package/src/main/js/sap/ushell/components/appfinder/AppFinder.controller.js +19 -15
- package/src/main/js/sap/ushell/components/appfinder/AppFinderView.js +12 -12
- package/src/main/js/sap/ushell/components/appfinder/Catalog.controller.js +18 -18
- package/src/main/js/sap/ushell/components/appfinder/CatalogView.js +1 -1
- package/src/main/js/sap/ushell/components/appfinder/EasyAccess.controller.js +2 -2
- package/src/main/js/sap/ushell/components/appfinder/HierarchyApps.controller.js +6 -6
- package/src/main/js/sap/ushell/components/appfinder/VisualizationOrganizerHelper.js +4 -4
- package/src/main/js/sap/ushell/components/appfinder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/AppLifeCycle.js +8 -6
- package/src/main/js/sap/ushell/components/applicationIntegration/application/Application.js +2 -2
- package/src/main/js/sap/ushell/components/applicationIntegration/application/BlueBoxHandler.js +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/application/PostMessageAPI.js +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/application/WebGUIStatefulHandler.js +5 -5
- package/src/main/js/sap/ushell/components/applicationIntegration/configuration/AppMeta.js +21 -26
- 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/cards/Configuration.controller.js +2 -2
- package/src/main/js/sap/ushell/components/cepsearchresult/app/Main.controller.js +6 -2
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/Category.js +44 -6
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/categories/Application.js +22 -9
- package/src/main/js/sap/ushell/components/container/ApplicationContainer.js +23 -16
- package/src/main/js/sap/ushell/components/contentFinder/Component.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/controller/AppSearch.controller.js +1 -1
- 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/factsheet/Component.js +1 -1
- package/src/main/js/sap/ushell/components/factsheet/controls/PictureTile.js +1 -2
- package/src/main/js/sap/ushell/components/factsheet/controls/PictureViewer.js +5 -6
- package/src/main/js/sap/ushell/components/factsheet/controls/PictureViewerItem.js +1 -2
- package/src/main/js/sap/ushell/components/factsheet/factory/ThingInspector.js +3 -3
- package/src/main/js/sap/ushell/components/homeApp/error/HomeAppError.controller.js +0 -1
- package/src/main/js/sap/ushell/components/homeApp/error/HomeAppError.view.xml +7 -6
- package/src/main/js/sap/ushell/components/homepage/ActionMode.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/DashboardContent.controller.js +2 -7
- package/src/main/js/sap/ushell/components/homepage/DashboardContent.view.js +13 -13
- package/src/main/js/sap/ushell/components/homepage/DashboardGroupsBox.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/DashboardUIActions.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/pages/ActionMode.js +10 -10
- 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/StateManager.js +2 -2
- package/src/main/js/sap/ushell/components/pages/controller/ImportDialog.controller.js +12 -12
- package/src/main/js/sap/ushell/components/pages/controller/PageRuntime.controller.js +93 -95
- package/src/main/js/sap/ushell/components/pages/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/pages/view/PageRuntime.view.xml +31 -23
- 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/controller/MenuBar.controller.js +7 -6
- 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 -3
- package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/manifest.json +2 -2
- 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 +2 -2
- package/src/main/js/sap/ushell/components/shell/ProductSwitch/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Search/ESearch.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 +2 -2
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchCEP.controller.js +74 -16
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchFieldFragment.fragment.xml +2 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/FrequentActivityProvider.js +1 -2
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/RecentSearchProvider.js +1 -2
- 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 -2
- package/src/main/js/sap/ushell/components/shell/Settings/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/ErrorMessageHelper.js +8 -9
- package/src/main/js/sap/ushell/components/shell/Settings/UserSettings.controller.js +53 -13
- package/src/main/js/sap/ushell/components/shell/Settings/UserSettings.view.xml +5 -0
- package/src/main/js/sap/ushell/components/shell/Settings/appearance/Appearance.controller.js +41 -38
- package/src/main/js/sap/ushell/components/shell/Settings/notifications/NotificationsSetting.controller.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/userActivities/UserActivitiesSetting.controller.js +2 -2
- package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/UserDefaultsForm.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/controller/UserDefaultsSetting.controller.js +7 -3
- 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/applauncher/StaticTile.view.js +0 -2
- package/src/main/js/sap/ushell/components/tiles/applauncher/StaticTileTmp.view.js +0 -2
- package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/DynamicTileTmp.view.js +0 -2
- package/src/main/js/sap/ushell/components/tiles/cdm/applauncher/StaticTile.view.js +0 -2
- package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/DynamicTile.controller.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/DynamicTile.view.js +0 -2
- package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/oData4Analytics.js +41 -48
- package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/smartBusinessUtil.js +3 -3
- package/src/main/js/sap/ushell/components/tiles/utils.js +1 -1
- package/src/main/js/sap/ushell/components/visualizationOrganizer/Component.js +5 -18
- package/src/main/js/sap/ushell/components/visualizationOrganizer/VisualizationOrganizerPopover.fragment.xml +3 -3
- 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 +65 -95
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.layout.js +182 -90
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageHost.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPage.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageButton.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageCell.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumn.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnRenderer.js +0 -2
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnResizer.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRow.js +53 -3
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRowRenderer.js +3 -0
- package/src/main/js/sap/ushell/components/workPageBuilder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/view/WorkPageBuilder.view.xml +1 -0
- package/src/main/js/sap/ushell/components/workPageRuntime/Component.js +1 -1
- package/src/main/js/sap/ushell/components/workPageRuntime/controller/WorkPageRuntime.controller.js +6 -2
- package/src/main/js/sap/ushell/components/workPageRuntime/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/workPageRuntime/services/NavigationResolver.js +1 -2
- package/src/main/js/sap/ushell/components/workPageRuntime/services/WorkPage.js +1 -2
- package/src/main/js/sap/ushell/designtime/ApplicationContainer.designtime.js +1 -1
- package/src/main/js/sap/ushell/library.js +4 -2
- package/src/main/js/sap/ushell/navigationMode.js +10 -5
- package/src/main/js/sap/ushell/override.js +1 -1
- package/src/main/js/sap/ushell/performance/FesrEnhancer.js +248 -187
- package/src/main/js/sap/ushell/performance/ShellAnalytics.js +206 -207
- package/src/main/js/sap/ushell/performance/StatisticalRecord.js +366 -230
- package/src/main/js/sap/ushell/plugins/appwarmup/Component.js +1 -1
- package/src/main/js/sap/ushell/renderers/fiori2/Renderer.js +39 -23
- package/src/main/js/sap/ushell/renderers/fiori2/RendererExtensions.js +105 -25
- package/src/main/js/sap/ushell/renderers/fiori2/Shell.controller.js +63 -52
- package/src/main/js/sap/ushell/renderers/fiori2/ShellLayout.js +1 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources.properties +1 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_ko.properties +1 -1
- package/src/main/js/sap/ushell/renderers/fiori2/search/searchComponent/manifest.json +1 -1
- package/src/main/js/sap/ushell/services/AppConfiguration.js +3 -3
- package/src/main/js/sap/ushell/services/AppLifeCycle.js +1 -1
- package/src/main/js/sap/ushell/services/AppState.js +2 -3
- package/src/main/js/sap/ushell/services/Bookmark.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution.js +1 -1
- package/src/main/js/sap/ushell/services/CommonDataModel.js +4 -5
- package/src/main/js/sap/ushell/services/Configuration.js +1 -2
- package/src/main/js/sap/ushell/services/ConfigurationDefaults.js +2 -2
- package/src/main/js/sap/ushell/services/ContentExtensionAdapterFactory.js +1 -1
- package/src/main/js/sap/ushell/services/CrossApplicationNavigation.js +36 -33
- package/src/main/js/sap/ushell/services/DarkModeSupport.js +2 -2
- package/src/main/js/sap/ushell/services/EndUserFeedback.js +2 -2
- package/src/main/js/sap/ushell/services/LaunchPage.js +11 -8
- package/src/main/js/sap/ushell/services/Menu.js +31 -37
- package/src/main/js/sap/ushell/services/Message.js +1 -2
- package/src/main/js/sap/ushell/services/MessageBroker.js +1 -2
- package/src/main/js/sap/ushell/services/NavTargetResolution.js +58 -9
- package/src/main/js/sap/ushell/services/Navigation.js +1356 -0
- package/src/main/js/sap/ushell/services/NavigationDataProvider.js +7 -5
- package/src/main/js/sap/ushell/services/Notifications.js +16 -16
- package/src/main/js/sap/ushell/services/PageBuilding.js +1 -2
- package/src/main/js/sap/ushell/services/PagePersistence.js +6 -6
- package/src/main/js/sap/ushell/services/PageReferencing.js +2 -2
- package/src/main/js/sap/ushell/services/Pages.js +24 -25
- package/src/main/js/sap/ushell/services/Personalization.js +5 -5
- package/src/main/js/sap/ushell/services/PluginManager.js +1 -2
- package/src/main/js/sap/ushell/services/ReferenceResolver.js +2 -2
- package/src/main/js/sap/ushell/services/Search.js +1 -1
- package/src/main/js/sap/ushell/services/SearchCEP.js +2 -1
- package/src/main/js/sap/ushell/services/SearchableContent.js +85 -59
- package/src/main/js/sap/ushell/services/ShellNavigation.js +59 -17
- package/src/main/js/sap/ushell/services/ShellNavigationHashChanger.js +115 -39
- package/src/main/js/sap/ushell/services/SmartNavigation.js +4 -4
- package/src/main/js/sap/ushell/services/SpaceContent.js +5 -6
- package/src/main/js/sap/ushell/services/SupportTicket.js +1 -1
- package/src/main/js/sap/ushell/services/UITracer.js +5 -3
- package/src/main/js/sap/ushell/services/URLShortening.js +1 -1
- package/src/main/js/sap/ushell/services/URLTemplate.js +2 -2
- package/src/main/js/sap/ushell/services/Ui5ComponentLoader.js +7 -7
- package/src/main/js/sap/ushell/services/UserDefaultParameterPersistence.js +1 -2
- 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 +91 -69
- package/src/main/js/sap/ushell/services/VisualizationDataProvider.js +10 -6
- package/src/main/js/sap/ushell/services/VisualizationInstantiation.js +1 -3
- 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 +2 -5
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/PrelaunchOperations.js +2 -2
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Search.js +11 -11
- 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 +6 -6
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/VirtualInbounds.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/XAppStateProcessing.js +2 -2
- package/src/main/js/sap/ushell/services/_CommonDataModel/PersonalizationProcessor.js +1 -2
- package/src/main/js/sap/ushell/services/_CommonDataModel/SiteConverter.js +1 -1
- package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/ContentExtensionAdapterConfig.js +1 -1
- package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/FeaturedGroupConfig.js +1 -1
- package/src/main/js/sap/ushell/services/_CrossApplicationNavigation/utils.js +9 -14
- package/src/main/js/sap/ushell/services/_MessageBroker/MessageBrokerEngine.js +1 -1
- package/src/main/js/sap/ushell/services/_PageReferencing/PageReferencer.js +1 -1
- package/src/main/js/sap/ushell/services/_Personalization/ContextContainer.js +34 -21
- package/src/main/js/sap/ushell/services/_Personalization/Variant.js +5 -2
- package/src/main/js/sap/ushell/services/_Personalization/VariantSet.js +18 -12
- package/src/main/js/sap/ushell/services/_Personalization/utils.js +2 -2
- package/src/main/js/sap/ushell/services/_PluginManager/Extensions.js +1 -1
- package/src/main/js/sap/ushell/services/_PluginManager/HeaderExtensions.js +3 -3
- package/src/main/js/sap/ushell/services/_PluginManager/MenuExtensions.js +1 -1
- package/src/main/js/sap/ushell/services/_Ui5ComponentLoader/utils.js +1 -1
- package/src/main/js/sap/ushell/services/_UserRecents/RecentActivity.js +206 -214
- package/src/main/js/sap/ushell/services/_UserRecents/RecentAppsUsage.js +46 -54
- package/src/main/js/sap/ushell/services/_UserRecents/RecentsList.js +39 -40
- package/src/main/js/sap/ushell/services/_UserRecents/UserRecentsBase.js +29 -36
- package/src/main/js/sap/ushell/services/_VisualizationInstantiation/VizInstance.js +1 -1
- package/src/main/js/sap/ushell/services/_VisualizationInstantiation/VizInstanceAbap.js +1 -1
- package/src/main/js/sap/ushell/services/_VisualizationInstantiation/VizInstanceCdm.js +1 -1
- package/src/main/js/sap/ushell/services/_VisualizationInstantiation/VizInstanceLaunchPage.js +10 -8
- package/src/main/js/sap/ushell/services/_VisualizationInstantiation/VizInstanceLink.js +2 -2
- package/src/main/js/sap/ushell/services/appstate/LimitedBuffer.js +1 -2
- package/src/main/js/sap/ushell/services/appstate/Sequentializer.js +1 -1
- package/src/main/js/sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin.js +1 -1
- package/src/main/js/sap/ushell/themes/base/SearchCEP.less +8 -0
- package/src/main/js/sap/ushell/themes/base/ShellHeader.less +12 -6
- package/src/main/js/sap/ushell/themes/base/WorkPage.less +34 -4
- package/src/main/js/sap/ushell/themes/base/WorkPageCell.less +3 -1
- package/src/main/js/sap/ushell/themes/base/WorkPageColumn.less +3 -76
- package/src/main/js/sap/ushell/themes/base/WorkPageColumnResizer.less +2 -1
- package/src/main/js/sap/ushell/themes/base/WorkPageRow.less +822 -6
- package/src/main/js/sap/ushell/themes/sap_horizon/SearchCEP.less +4 -0
- package/src/main/js/sap/ushell/themes/sap_horizon/ToolAreaItem.less +1 -1
- package/src/main/js/sap/ushell/themes/sap_horizon_dark/SearchCEP.less +4 -0
- package/src/main/js/sap/ushell/themes/sap_horizon_dark/ToolAreaItem.less +1 -1
- package/src/main/js/sap/ushell/themes/sap_horizon_hcb/SearchCEP.less +5 -0
- package/src/main/js/sap/ushell/themes/sap_horizon_hcw/SearchCEP.less +5 -0
- package/src/main/js/sap/ushell/ui/AppContainer.js +0 -1
- package/src/main/js/sap/ushell/ui/ContentNodeSelector.js +1 -1
- package/src/main/js/sap/ushell/ui/QuickAccess.js +2 -2
- package/src/main/js/sap/ushell/ui/ShellHeader.js +21 -5
- package/src/main/js/sap/ushell/ui/ShellHeaderRenderer.js +1 -0
- package/src/main/js/sap/ushell/ui/appfinder/AppBox.js +0 -1
- package/src/main/js/sap/ushell/ui/bookmark/SaveOnPage.view.xml +6 -6
- package/src/main/js/sap/ushell/ui/cards/FrequentActivitiesExtension.js +1 -1
- package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +1 -1
- package/src/main/js/sap/ushell/ui/footerbar/AboutButton.js +0 -1
- package/src/main/js/sap/ushell/ui/footerbar/AddBookmarkButton.js +32 -17
- package/src/main/js/sap/ushell/ui/footerbar/ContactSupportButton.js +0 -1
- package/src/main/js/sap/ushell/ui/footerbar/JamDiscussButton.js +0 -1
- package/src/main/js/sap/ushell/ui/footerbar/JamShareButton.js +0 -1
- package/src/main/js/sap/ushell/ui/footerbar/LogoutButton.js +0 -1
- package/src/main/js/sap/ushell/ui/footerbar/SaveAsTile.view.js +1 -12
- package/src/main/js/sap/ushell/ui/footerbar/SendAsEmailButton.js +0 -1
- package/src/main/js/sap/ushell/ui/launchpad/ActionItem.js +0 -1
- package/src/main/js/sap/ushell/ui/launchpad/AnchorItem.js +0 -1
- package/src/main/js/sap/ushell/ui/launchpad/AnchorNavigationBar.js +0 -1
- package/src/main/js/sap/ushell/ui/launchpad/ExtendedChangeDetection.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/FailedTileDialog.js +4 -4
- package/src/main/js/sap/ushell/ui/launchpad/GroupHeaderActions.js +0 -1
- package/src/main/js/sap/ushell/ui/launchpad/GroupListItem.js +0 -1
- package/src/main/js/sap/ushell/ui/launchpad/LinkTileWrapper.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/LoadingDialog.js +0 -1
- package/src/main/js/sap/ushell/ui/launchpad/Page.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/PlusTile.js +0 -1
- package/src/main/js/sap/ushell/ui/launchpad/Section.js +3 -3
- package/src/main/js/sap/ushell/ui/launchpad/Tile.js +0 -1
- package/src/main/js/sap/ushell/ui/launchpad/TileContainer.js +0 -1
- package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.js +4 -5
- package/src/main/js/sap/ushell/ui/shell/RightFloatingContainer.js +1 -1
- package/src/main/js/sap/ushell/ui/shell/ShellHeadItem.js +7 -8
- package/src/main/js/sap/ushell/ui/shell/SysInfoBar.js +1 -1
- package/src/main/js/sap/ushell/ui/shell/ToolAreaItem.js +1 -2
- package/src/main/js/sap/ushell/ui/tile/DynamicTile.js +0 -1
- package/src/main/js/sap/ushell/ui/tile/ImageTile.js +0 -1
- package/src/main/js/sap/ushell/ui/tile/StaticTile.js +0 -1
- package/src/main/js/sap/ushell/ui/tile/TileBase.js +0 -1
- package/src/main/js/sap/ushell/ui/utils.js +1 -1
- package/src/main/js/sap/ushell/ui5service/ShellUIService.js +1 -1
- package/src/main/js/sap/ushell/ui5service/UserStatus.js +1 -1
- package/src/main/js/sap/ushell/ui5service/_ShellUIService/shelluiservice.class.factory.js +1 -1
- package/src/main/js/sap/ushell/utils/HttpClient.js +0 -1
- package/src/main/js/sap/ushell/utils/RestrictedJSONModel.js +1 -1
- package/src/main/js/sap/ushell/utils/UrlParsing.js +18 -14
- package/src/main/js/sap/ushell/utils/UrlShortening.js +2 -2
- package/src/main/js/sap/ushell/utils/objectOperations.js +1 -1
- package/src/main/js/sap/ushell/utils/type.js +1 -1
- package/src/main/js/sap/ushell/utils/utilsCdm.js +3 -3
- package/src/main/js/sap/ushell/utils.js +128 -21
- package/src/test/js/sap/ushell/bootstrap/sandbox.js +2 -2
- package/ui5.yaml +1 -0
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Menu.js +0 -22
|
@@ -996,8 +996,8 @@ sap.ui.define([
|
|
|
996
996
|
/**
|
|
997
997
|
* Add the group to the end of groups model
|
|
998
998
|
*
|
|
999
|
-
* @param {
|
|
1000
|
-
* @returns {
|
|
999
|
+
* @param {object} oGroup The group object
|
|
1000
|
+
* @returns {object} The group context
|
|
1001
1001
|
*/
|
|
1002
1002
|
addGroupToModel: function (oGroup) {
|
|
1003
1003
|
var oGroupModel = this.oPageOperationAdapter.getPreparedGroupModel(oGroup, false, true, { isRendered: true });
|
|
@@ -1036,7 +1036,7 @@ sap.ui.define([
|
|
|
1036
1036
|
* As the "plus tile" is always available if personalization is possible,
|
|
1037
1037
|
* this will be focused if the aggregation of the tile/link is empty.
|
|
1038
1038
|
*
|
|
1039
|
-
* @param {
|
|
1039
|
+
* @param {int} tileIndex the index of the tile in the group model
|
|
1040
1040
|
* @param {object} group the group model object containing the tile
|
|
1041
1041
|
* @param {string} tileType determines the aggregation, the tile was in (tiles or links)
|
|
1042
1042
|
*/
|
|
@@ -1527,7 +1527,7 @@ sap.ui.define([
|
|
|
1527
1527
|
* Function to update the settings of the HomepageManager.
|
|
1528
1528
|
* This allows us to adjust settings we might not know yet after the constructor was called.
|
|
1529
1529
|
*
|
|
1530
|
-
* @param {
|
|
1530
|
+
* @param {object} oSettings The new settings
|
|
1531
1531
|
* @private
|
|
1532
1532
|
*/
|
|
1533
1533
|
updateSettings: function (oSettings) {
|
|
@@ -1957,9 +1957,9 @@ sap.ui.define([
|
|
|
1957
1957
|
|
|
1958
1958
|
/**
|
|
1959
1959
|
* Update the group in the model
|
|
1960
|
-
* @param {
|
|
1960
|
+
* @param {int} nIndex
|
|
1961
1961
|
* The index at which the group should be added. 0 is reserved for the default group.
|
|
1962
|
-
* @param {
|
|
1962
|
+
* @param {object} oNewGroupModel
|
|
1963
1963
|
* The prepared group model
|
|
1964
1964
|
*/
|
|
1965
1965
|
_loadGroup: function (nIndex, oNewGroupModel) {
|
|
@@ -44,7 +44,7 @@ sap.ui.define([
|
|
|
44
44
|
function _createUserActionsMenuButton (oShellModel) {
|
|
45
45
|
var sId = "userActionsMenuHeaderButton",
|
|
46
46
|
oUser = sap.ushell.Container.getUser(),
|
|
47
|
-
sTooltip = resources.i18n.getText("UserActionsMenuToggleButtonAria", oUser.getFullName());
|
|
47
|
+
sTooltip = resources.i18n.getText("UserActionsMenuToggleButtonAria", [oUser.getFullName()]);
|
|
48
48
|
|
|
49
49
|
var oUserActionsMenuAvatar = new Avatar({
|
|
50
50
|
id: sId,
|
|
@@ -44,8 +44,8 @@ sap.ui.define([
|
|
|
44
44
|
|
|
45
45
|
/**
|
|
46
46
|
* Return a tile height depend on the size behavior
|
|
47
|
-
* @param {
|
|
48
|
-
* @returns {
|
|
47
|
+
* @param {boolean} bIsSmallSizeBehavior is small size behavior
|
|
48
|
+
* @returns {int} the height of a tile in px
|
|
49
49
|
*/
|
|
50
50
|
_getTileHeight: function (bIsSmallSizeBehavior) {
|
|
51
51
|
return bIsSmallSizeBehavior ? 148 : 176;
|
|
@@ -53,9 +53,9 @@ sap.ui.define([
|
|
|
53
53
|
|
|
54
54
|
/**
|
|
55
55
|
* Return a tile width depend on the size behavior
|
|
56
|
-
* @param {
|
|
57
|
-
* @param {
|
|
58
|
-
* @returns {
|
|
56
|
+
* @param {boolean} bIsLongTile is a tile long
|
|
57
|
+
* @param {boolean} bIsSmallSizeBehavior is small size behavior
|
|
58
|
+
* @returns {int} the width of a tile in px
|
|
59
59
|
*/
|
|
60
60
|
_getTileWidth: function (bIsLongTile, bIsSmallSizeBehavior) {
|
|
61
61
|
if (bIsLongTile) {
|
|
@@ -43,15 +43,14 @@ sap.ui.define([
|
|
|
43
43
|
|
|
44
44
|
oView.setModel(oModel);
|
|
45
45
|
|
|
46
|
-
|
|
47
46
|
oCatalogsManager = oComponent.oCatalogsManager;
|
|
48
47
|
|
|
49
48
|
this.bEnableEasyAccessSAPMenu = oModel.getProperty("/enableEasyAccessSAPMenu");
|
|
50
49
|
this.bEnableEasyAccessUserMenu = oModel.getProperty("/enableEasyAccessUserMenu");
|
|
51
|
-
this.
|
|
50
|
+
this.bEnableEasyAccessOnTablet = oModel.getProperty("/enableEasyAccessOnTablet");
|
|
52
51
|
|
|
53
52
|
var bEnableOneEasyAccessMenu = this.bEnableEasyAccessSAPMenu || this.bEnableEasyAccessUserMenu;
|
|
54
|
-
var bIsDeviceEasyAccessMenuCompatible = !Device.system.phone && !Device.system.tablet || Device.system.tablet && this.
|
|
53
|
+
var bIsDeviceEasyAccessMenuCompatible = !Device.system.phone && !Device.system.tablet || Device.system.tablet && this.bEnableEasyAccessOnTablet || Device.system.combi;
|
|
55
54
|
|
|
56
55
|
this.bShowEasyAccessMenu = bEnableOneEasyAccessMenu && bIsDeviceEasyAccessMenuCompatible;
|
|
57
56
|
|
|
@@ -110,7 +109,7 @@ sap.ui.define([
|
|
|
110
109
|
if (bShowOpenCloseSplitAppButton !== bCurrentShowOpenCloseSplitAppButton) {
|
|
111
110
|
this.oSubHeaderModel.setProperty("/openCloseSplitAppButtonVisible", bShowOpenCloseSplitAppButton);
|
|
112
111
|
|
|
113
|
-
// in case we now show the button, then it must be
|
|
112
|
+
// in case we now show the button, then it must be forced untoggled, as the left panel closes automatically
|
|
114
113
|
if (bShowOpenCloseSplitAppButton) {
|
|
115
114
|
this.oSubHeaderModel.setProperty("/openCloseSplitAppButtonToggled", false);
|
|
116
115
|
}
|
|
@@ -146,7 +145,7 @@ sap.ui.define([
|
|
|
146
145
|
// toggle class on app finder page
|
|
147
146
|
this._toggleViewWithToggleButtonClass(this._showOpenCloseSplitAppButton());
|
|
148
147
|
if (this.bShowEasyAccessMenu) {
|
|
149
|
-
// in case we need to show the easy access menu buttons, update sub header
|
|
148
|
+
// in case we need to show the easy access menu buttons, update sub header accordingly (within the onShow)
|
|
150
149
|
this.onShow(oEvent);
|
|
151
150
|
} else if (oView._showSearch("catalog")) {
|
|
152
151
|
// else no easy access menu buttons, update sub header accordingly
|
|
@@ -161,6 +160,11 @@ sap.ui.define([
|
|
|
161
160
|
// Id is included for UserActivityLog
|
|
162
161
|
EventHub.emit("showCatalog", { sId: "showCatalog", oData: Date.now() });
|
|
163
162
|
Core.getEventBus().publish("launchpad", "contentRendered");
|
|
163
|
+
|
|
164
|
+
// track navigation in ShellAnalytics
|
|
165
|
+
if (EventHub.last("firstCatalogSegmentCompleteLoaded")) {
|
|
166
|
+
EventHub.emit("CloseFesrRecord", Date.now());
|
|
167
|
+
}
|
|
164
168
|
},
|
|
165
169
|
|
|
166
170
|
_showOpenCloseSplitAppButton: function () {
|
|
@@ -238,14 +242,14 @@ sap.ui.define([
|
|
|
238
242
|
// we are in search mode and on Phone
|
|
239
243
|
if (oSearchData.searchMode && Device.system.phone) {
|
|
240
244
|
// in case we are in phone we untoggle the toggle button when search is invoked as
|
|
241
|
-
// the detailed page of the search results is
|
|
245
|
+
// the detailed page of the search results is navigated to and opened.
|
|
242
246
|
// therefore we untoggle the button of the master page
|
|
243
247
|
this.oSubHeaderModel.setProperty("/openCloseSplitAppButtonToggled", false);
|
|
244
248
|
}
|
|
245
249
|
|
|
246
250
|
// check and update the search term
|
|
247
251
|
if (sSearchTerm !== oSearchData.searchTerm) {
|
|
248
|
-
if (this.
|
|
252
|
+
if (this.containsOnlyWhiteSpaces(sSearchTerm)) {
|
|
249
253
|
sSearchTerm = "*";
|
|
250
254
|
}
|
|
251
255
|
oSearchData.searchTerm = sSearchTerm;
|
|
@@ -304,13 +308,13 @@ sap.ui.define([
|
|
|
304
308
|
_filterSystemModelsOnTablet: function (aReturnSystems) {
|
|
305
309
|
var oDeferredReturnSystems = new jQuery.Deferred();
|
|
306
310
|
|
|
307
|
-
if (this.
|
|
308
|
-
// We need to filter out the Shell-startWDA and Shell-startGUI
|
|
311
|
+
if (this.bEnableEasyAccessOnTablet) {
|
|
312
|
+
// We need to filter out the Shell-startWDA and Shell-startGUI systems
|
|
309
313
|
// that do not support tablet
|
|
310
314
|
sap.ushell.Container.getServiceAsync("NavTargetResolution").then(function (oService) {
|
|
311
315
|
// Shell-startWDA often requires the additional parameter sap-ui2-wd-app-id
|
|
312
|
-
// and Shell-startGUI requires the additional
|
|
313
|
-
// We are
|
|
316
|
+
// and Shell-startGUI requires the additional parameter sap-ui2-tcode
|
|
317
|
+
// We are providing these with a placeholder value to be able to use
|
|
314
318
|
// the resolution service.
|
|
315
319
|
var aFilteredReturnSystemsPromises = aReturnSystems.reduce(function (aResult, oSystem) {
|
|
316
320
|
var oNavigationPromise;
|
|
@@ -641,10 +645,10 @@ sap.ui.define([
|
|
|
641
645
|
var systemsModel = [];
|
|
642
646
|
var aSystemsID = Object.keys(oSystems);
|
|
643
647
|
for (var i = 0; i < aSystemsID.length; i++) {
|
|
644
|
-
var
|
|
648
|
+
var sCurrentSystemID = aSystemsID[i];
|
|
645
649
|
systemsModel[i] = {
|
|
646
|
-
systemName: oSystems[
|
|
647
|
-
systemId:
|
|
650
|
+
systemName: oSystems[sCurrentSystemID].text,
|
|
651
|
+
systemId: sCurrentSystemID
|
|
648
652
|
};
|
|
649
653
|
}
|
|
650
654
|
oDeferred.resolve(systemsModel);
|
|
@@ -678,7 +682,7 @@ sap.ui.define([
|
|
|
678
682
|
* @returns {boolean} True if the input field is ' ' (space) or ' ' (a few spaces).
|
|
679
683
|
* False if the input field contains not only spaces (for example 'a b') or if it is an empty string.
|
|
680
684
|
*/
|
|
681
|
-
|
|
685
|
+
containsOnlyWhiteSpaces: function (sTerm) {
|
|
682
686
|
if (!sTerm || sTerm === "") {
|
|
683
687
|
return false;
|
|
684
688
|
}
|
|
@@ -34,14 +34,14 @@ sap.ui.define([
|
|
|
34
34
|
AccessibilityCustomData,
|
|
35
35
|
Toolbar,
|
|
36
36
|
Page,
|
|
37
|
-
|
|
37
|
+
ushellResources,
|
|
38
38
|
Device
|
|
39
39
|
) {
|
|
40
40
|
"use strict";
|
|
41
41
|
|
|
42
42
|
return View.extend("sap.ushell.components.appfinder.AppFinderView", {
|
|
43
43
|
createContent: function () {
|
|
44
|
-
var oResourceBundle =
|
|
44
|
+
var oResourceBundle = ushellResources.i18n;
|
|
45
45
|
|
|
46
46
|
this.oPage = new Page("appFinderPage", {
|
|
47
47
|
showHeader: false,
|
|
@@ -52,7 +52,7 @@ sap.ui.define([
|
|
|
52
52
|
title: {
|
|
53
53
|
parts: ["/groupContext/title"],
|
|
54
54
|
formatter: function (title) {
|
|
55
|
-
return !title ? oResourceBundle.getText("appFinderTitle") : oResourceBundle.getText("appFinder_group_context_title", title);
|
|
55
|
+
return !title ? oResourceBundle.getText("appFinderTitle") : oResourceBundle.getText("appFinder_group_context_title", [title]);
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
});
|
|
@@ -116,10 +116,10 @@ sap.ui.define([
|
|
|
116
116
|
press: function (oEvent) {
|
|
117
117
|
this.getController().oSubHeaderModel.setProperty("/openCloseSplitAppButtonToggled", oEvent.getSource().getPressed());
|
|
118
118
|
this.openCloseSplitAppButton.setTooltip(oEvent.getParameter("pressed") ?
|
|
119
|
-
|
|
120
|
-
|
|
119
|
+
ushellResources.i18n.getText("ToggleButtonHide") :
|
|
120
|
+
ushellResources.i18n.getText("ToggleButtonShow"));
|
|
121
121
|
}.bind(this),
|
|
122
|
-
tooltip:
|
|
122
|
+
tooltip: ushellResources.i18n.getText("ToggleButtonShow")
|
|
123
123
|
});
|
|
124
124
|
|
|
125
125
|
this.openCloseSplitAppButton.setModel(this.getController().oSubHeaderModel);
|
|
@@ -158,10 +158,10 @@ sap.ui.define([
|
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
var oController = this.getController();
|
|
161
|
-
var oResourceBundle =
|
|
161
|
+
var oResourceBundle = ushellResources.i18n;
|
|
162
162
|
|
|
163
163
|
var oCatalogSBIInvisibleText = new InvisibleText({
|
|
164
|
-
text:
|
|
164
|
+
text: oResourceBundle.getText("AppFinder.SegmentedButton.Catalog.Describedby")
|
|
165
165
|
}).toStatic();
|
|
166
166
|
this.addDependent(oCatalogSBIInvisibleText);
|
|
167
167
|
this.segmentedButton = new SegmentedButton("appFinderSegmentedButtons", {
|
|
@@ -190,7 +190,7 @@ sap.ui.define([
|
|
|
190
190
|
|
|
191
191
|
if (oController.bEnableEasyAccessUserMenu) {
|
|
192
192
|
var oUserMenuSBIInvisibleText = new InvisibleText({
|
|
193
|
-
text:
|
|
193
|
+
text: oResourceBundle.getText("AppFinder.SegmentedButton.UserMenu.Describedby")
|
|
194
194
|
}).toStatic();
|
|
195
195
|
this.addDependent(oUserMenuSBIInvisibleText);
|
|
196
196
|
this.segmentedButton.addItem(new SegmentedButtonItem("userMenu", {
|
|
@@ -215,7 +215,7 @@ sap.ui.define([
|
|
|
215
215
|
}
|
|
216
216
|
if (oController.bEnableEasyAccessSAPMenu) {
|
|
217
217
|
var oSAPMenuSBIInvisibleText = new InvisibleText({
|
|
218
|
-
text:
|
|
218
|
+
text: oResourceBundle.getText("AppFinder.SegmentedButton.SAPMenu.Describedby")
|
|
219
219
|
}).toStatic();
|
|
220
220
|
this.addDependent(oSAPMenuSBIInvisibleText);
|
|
221
221
|
this.segmentedButton.addItem(new SegmentedButtonItem("sapMenu", {
|
|
@@ -317,8 +317,8 @@ sap.ui.define([
|
|
|
317
317
|
}
|
|
318
318
|
|
|
319
319
|
if (sSearchPlaceHolderKey && this.oAppFinderSearchControl) {
|
|
320
|
-
this.oAppFinderSearchControl.setPlaceholder(
|
|
321
|
-
this.oAppFinderSearchControl.setTooltip(
|
|
320
|
+
this.oAppFinderSearchControl.setPlaceholder(ushellResources.i18n.getText(sSearchPlaceHolderKey));
|
|
321
|
+
this.oAppFinderSearchControl.setTooltip(ushellResources.i18n.getText(sSearchPlaceHolderKey));
|
|
322
322
|
}
|
|
323
323
|
},
|
|
324
324
|
|
|
@@ -990,9 +990,9 @@ sap.ui.define([
|
|
|
990
990
|
var oErrorMessage;
|
|
991
991
|
|
|
992
992
|
if (bTileAdded) {
|
|
993
|
-
oErrorMessage =
|
|
993
|
+
oErrorMessage = { messageId: "fail_tile_operation_add_to_group", parameters: [oCatalogTileModel.tileData.title, oGroupModel.title]};
|
|
994
994
|
} else {
|
|
995
|
-
oErrorMessage =
|
|
995
|
+
oErrorMessage = { messageId: "fail_tile_operation_remove_from_group", parameters: [oCatalogTileModel.tileData.title, oGroupModel.title]};
|
|
996
996
|
}
|
|
997
997
|
|
|
998
998
|
oCatalogsManager.notifyOnActionFailure(oErrorMessage.messageId, oErrorMessage.parameters);
|
|
@@ -1001,7 +1001,7 @@ sap.ui.define([
|
|
|
1001
1001
|
prepareErrorMessage: function (aErroneousActions, sTileTitle) {
|
|
1002
1002
|
var sFirstErroneousAddGroup;
|
|
1003
1003
|
var sFirstErroneousRemoveGroup;
|
|
1004
|
-
var
|
|
1004
|
+
var oMessage;
|
|
1005
1005
|
var iNumberOfFailAddActions = 0;
|
|
1006
1006
|
var iNumberOfFailDeleteActions = 0;
|
|
1007
1007
|
var bCreateNewGroupFailed = false;
|
|
@@ -1034,26 +1034,26 @@ sap.ui.define([
|
|
|
1034
1034
|
// First - Handle bCreateNewGroupFailed
|
|
1035
1035
|
if (bCreateNewGroupFailed) {
|
|
1036
1036
|
if (aErroneousActions.length === 1) {
|
|
1037
|
-
|
|
1037
|
+
oMessage = { messageId: "fail_tile_operation_create_new_group" };
|
|
1038
1038
|
} else {
|
|
1039
|
-
|
|
1039
|
+
oMessage = { messageId: "fail_tile_operation_some_actions" };
|
|
1040
1040
|
}
|
|
1041
1041
|
// Single error - it can be either one add action or one remove action
|
|
1042
1042
|
} else if (aErroneousActions.length === 1) {
|
|
1043
1043
|
if (iNumberOfFailAddActions) {
|
|
1044
|
-
|
|
1044
|
+
oMessage = { messageId: "fail_tile_operation_add_to_group", parameters: [sTileTitle, sFirstErroneousAddGroup] };
|
|
1045
1045
|
} else {
|
|
1046
|
-
|
|
1046
|
+
oMessage = { messageId: "fail_tile_operation_remove_from_group", parameters: [sTileTitle, sFirstErroneousRemoveGroup] };
|
|
1047
1047
|
}
|
|
1048
1048
|
// Many errors (iErrorCount > 1) - it can be several remove actions, or several add actions, or a mix of both
|
|
1049
1049
|
} else if (iNumberOfFailDeleteActions === 0) {
|
|
1050
|
-
|
|
1050
|
+
oMessage = { messageId: "fail_tile_operation_add_to_several_groups", parameters: [sTileTitle] };
|
|
1051
1051
|
} else if (iNumberOfFailAddActions === 0) {
|
|
1052
|
-
|
|
1052
|
+
oMessage = { messageId: "fail_tile_operation_remove_from_several_groups", parameters: [sTileTitle] };
|
|
1053
1053
|
} else {
|
|
1054
|
-
|
|
1054
|
+
oMessage = { messageId: "fail_tile_operation_some_actions" };
|
|
1055
1055
|
}
|
|
1056
|
-
return
|
|
1056
|
+
return oMessage;
|
|
1057
1057
|
},
|
|
1058
1058
|
|
|
1059
1059
|
prepareDetailedMessage: function (tileTitle, numberOfAddedGroups, numberOfRemovedGroups, firstAddedGroupTitle, firstRemovedGroupTitle) {
|
|
@@ -1086,8 +1086,8 @@ sap.ui.define([
|
|
|
1086
1086
|
},
|
|
1087
1087
|
|
|
1088
1088
|
/**
|
|
1089
|
-
* @param {
|
|
1090
|
-
* @returns {
|
|
1089
|
+
* @param {object} oSourceContext model context
|
|
1090
|
+
* @returns {object} Returns the part of the model that contains the IDs of the groups that contain the relevant Tile
|
|
1091
1091
|
*/
|
|
1092
1092
|
getCatalogTileDataFromModel: function (oSourceContext) {
|
|
1093
1093
|
var sBindingCtxPath = oSourceContext.getPath();
|
|
@@ -1109,7 +1109,7 @@ sap.ui.define([
|
|
|
1109
1109
|
*
|
|
1110
1110
|
* @param {sap.ui.model.Context} oTileContext the catalog tile to add
|
|
1111
1111
|
* @param {sap.ui.model.Context} oGroupContext the group where the tile should be added
|
|
1112
|
-
* @returns {
|
|
1112
|
+
* @returns {object} deferred
|
|
1113
1113
|
* @private
|
|
1114
1114
|
*
|
|
1115
1115
|
* @deprecated since 1.112
|
|
@@ -1133,9 +1133,9 @@ sap.ui.define([
|
|
|
1133
1133
|
*
|
|
1134
1134
|
* Send request to delete a tile from a group. Request is triggered asynchronously, so UI is not blocked.
|
|
1135
1135
|
*
|
|
1136
|
-
* @param {
|
|
1137
|
-
* @param {
|
|
1138
|
-
* @returns {
|
|
1136
|
+
* @param {int} tileCatalogId the id of the tile
|
|
1137
|
+
* @param {int} index the index of the group in the model
|
|
1138
|
+
* @returns {object} deferred
|
|
1139
1139
|
* @private
|
|
1140
1140
|
*
|
|
1141
1141
|
* @deprecated since 1.112
|
|
@@ -1163,7 +1163,7 @@ sap.ui.define([
|
|
|
1163
1163
|
*
|
|
1164
1164
|
* @param {sap.ui.model.Context} oTileContext the catalog tile to add
|
|
1165
1165
|
* @param {string} newGroupName the name of the new group where the tile should be added
|
|
1166
|
-
* @returns {
|
|
1166
|
+
* @returns {object} deferred
|
|
1167
1167
|
* @private
|
|
1168
1168
|
*
|
|
1169
1169
|
* @deprecated since 1.112
|
|
@@ -358,7 +358,7 @@ sap.ui.define([
|
|
|
358
358
|
if (oIllustratedMessageDomRef) {
|
|
359
359
|
var aIllustratedMessageMainTexts = oIllustratedMessageDomRef.getElementsByClassName("sapMTitle");
|
|
360
360
|
if (aIllustratedMessageMainTexts.length) {
|
|
361
|
-
aIllustratedMessageMainTexts[0].removeAttribute();
|
|
361
|
+
aIllustratedMessageMainTexts[0].removeAttribute("tabindex");
|
|
362
362
|
}
|
|
363
363
|
}
|
|
364
364
|
}.bind(this)
|
|
@@ -403,14 +403,14 @@ sap.ui.define([
|
|
|
403
403
|
}
|
|
404
404
|
return this.translationBundle.getText("easyAccessErrorGetDataErrorMsg", [sMenuNameString, oError]);
|
|
405
405
|
}
|
|
406
|
-
return this.translationBundle.getText("easyAccessErrorGetDataErrorMsgNoReason", sMenuNameString);
|
|
406
|
+
return this.translationBundle.getText("easyAccessErrorGetDataErrorMsgNoReason", [sMenuNameString]);
|
|
407
407
|
},
|
|
408
408
|
|
|
409
409
|
/**
|
|
410
410
|
* @param {string} menuType - the service that need to be called (can be USER_MENU or SAP_MENU)
|
|
411
411
|
* @param {string} systemId - the system that the user choose in the system selector
|
|
412
412
|
* @param {string} entityId - the "root" entity. Can be a specific id or "" in case it is the first call
|
|
413
|
-
* @param {
|
|
413
|
+
* @param {int} entityLevel - the entity level (if it is the root entity the level should be 0)
|
|
414
414
|
* @param {string} numberOfNextLevels - how much levels would like to retrieve. id no value is passed the default value is 3
|
|
415
415
|
* @returns {*} - an object to add to the system easy access model
|
|
416
416
|
*/
|
|
@@ -141,7 +141,7 @@ sap.ui.define([
|
|
|
141
141
|
sFirstErroneousAddGroup,
|
|
142
142
|
iNumberOfFailAddActions = 0,
|
|
143
143
|
bCreateNewGroupFailed = false,
|
|
144
|
-
|
|
144
|
+
oMessage;
|
|
145
145
|
|
|
146
146
|
for (var index in aErroneousActions) {
|
|
147
147
|
// Get the data of the error (i.e. action name and group object).
|
|
@@ -175,17 +175,17 @@ sap.ui.define([
|
|
|
175
175
|
// First - Handle bCreateNewGroupFailed
|
|
176
176
|
if (bCreateNewGroupFailed) {
|
|
177
177
|
if (aErroneousActions.length === 1) {
|
|
178
|
-
|
|
178
|
+
oMessage = { messageId: "fail_tile_operation_create_new_group" };
|
|
179
179
|
} else {
|
|
180
|
-
|
|
180
|
+
oMessage = { messageId: "fail_tile_operation_some_actions" };
|
|
181
181
|
}
|
|
182
182
|
// Single error - it can be either one add action or one remove action
|
|
183
183
|
} else if (aErroneousActions.length === 1) {
|
|
184
|
-
|
|
184
|
+
oMessage = { messageId: "fail_app_operation_add_to_group", parameters: [sAppTitle, sFirstErroneousAddGroup] };
|
|
185
185
|
} else {
|
|
186
|
-
|
|
186
|
+
oMessage = { messageId: "fail_app_operation_add_to_several_groups", parameters: [sAppTitle] };
|
|
187
187
|
}
|
|
188
|
-
return
|
|
188
|
+
return oMessage;
|
|
189
189
|
},
|
|
190
190
|
|
|
191
191
|
/**
|
|
@@ -34,7 +34,7 @@ sap.ui.define([
|
|
|
34
34
|
/**
|
|
35
35
|
* VisualizationOrganizerHelper constructor.
|
|
36
36
|
*
|
|
37
|
-
* @
|
|
37
|
+
* @class
|
|
38
38
|
* @protected
|
|
39
39
|
*/
|
|
40
40
|
function VisualizationOrganizerHelper () {
|
|
@@ -87,7 +87,7 @@ sap.ui.define([
|
|
|
87
87
|
}
|
|
88
88
|
var oAppFinderView = getAppFinderView();
|
|
89
89
|
if (oAppFinderView && oVisualizationOrganizer.getPersonalizablePages().length === 1) {
|
|
90
|
-
var sTitle = resources.i18n.getText("VisualizationOrganizer.PageContextTitle", oVisualizationOrganizer.getPersonalizablePages()[0].title);
|
|
90
|
+
var sTitle = resources.i18n.getText("VisualizationOrganizer.PageContextTitle", [oVisualizationOrganizer.getPersonalizablePages()[0].title]);
|
|
91
91
|
oAppFinderView.getController()._updateShellHeader(sTitle);
|
|
92
92
|
}
|
|
93
93
|
}.bind(this))
|
|
@@ -285,8 +285,8 @@ sap.ui.define([
|
|
|
285
285
|
this.oView.getModel().updateBindings(true);
|
|
286
286
|
if (oSectionContext) {
|
|
287
287
|
var sTitle = oSectionContext.sectionTitle
|
|
288
|
-
? resources.i18n.getText("VisualizationOrganizer.AppFinderSectionContextTitle", oSectionContext.sectionTitle)
|
|
289
|
-
: resources.i18n.getText("VisualizationOrganizer.AppFinderSectionContextTitle", oSectionContext.pageTitle);
|
|
288
|
+
? resources.i18n.getText("VisualizationOrganizer.AppFinderSectionContextTitle", [oSectionContext.sectionTitle])
|
|
289
|
+
: resources.i18n.getText("VisualizationOrganizer.AppFinderSectionContextTitle", [oSectionContext.pageTitle]);
|
|
290
290
|
this.oView.oPage.setTitle(sTitle);
|
|
291
291
|
if (this._updateShellHeader) {
|
|
292
292
|
return new Promise(function (resolve) {
|
|
@@ -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.119.0
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
7
7
|
"sap/ushell/components/applicationIntegration/elements/model",
|
|
@@ -296,6 +296,13 @@ sap.ui.define([
|
|
|
296
296
|
oPromiseAppClose,
|
|
297
297
|
oDeferredAppClose;
|
|
298
298
|
|
|
299
|
+
//this code must be at the beginning of the function to allow it to be processed once in
|
|
300
|
+
//a cycle of openning an app
|
|
301
|
+
if (sToId && oTo && oTo.getIframeReusedForApp && oTo.getIframeReusedForApp() === true) {
|
|
302
|
+
oTo.setProperty("iframeReusedForApp", false, true);
|
|
303
|
+
PostMessageUtils.postMessageToIframeApp(oTo, "sap.ushell.sessionHandler", "afterApplicationShow", {}, false);
|
|
304
|
+
}
|
|
305
|
+
|
|
299
306
|
//if called from onAfterNavigate, do nothing if oFrom is stateful container, because
|
|
300
307
|
//application was already closed at the beginning of 'handleControl'
|
|
301
308
|
if (isHomePage === false && bFromAfterNavigate === true && (BlueBoxHandler.isStatefulContainer(oFrom) || BlueBoxHandler.isStatefulContainerInKeepAlivePool(oFrom))) {
|
|
@@ -306,11 +313,6 @@ sap.ui.define([
|
|
|
306
313
|
sFromId = oFrom.getCurrentAppId();
|
|
307
314
|
}
|
|
308
315
|
|
|
309
|
-
if (sToId && oTo && oTo.getIframeReusedForApp && oTo.getIframeReusedForApp() === true) {
|
|
310
|
-
oTo.setProperty("iframeReusedForApp", false, true);
|
|
311
|
-
PostMessageUtils.postMessageToIframeApp(oTo, "sap.ushell.sessionHandler", "afterApplicationShow", {}, false);
|
|
312
|
-
}
|
|
313
|
-
|
|
314
316
|
if (sFromId && oFrom) {
|
|
315
317
|
if (BlueBoxHandler.isStatefulContainer(oFrom)) {
|
|
316
318
|
oPromiseAppClose = this.handleExitStateful(sFromId, oFrom, isHomePage);
|
|
@@ -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.119.0
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
7
7
|
"sap/ushell/components/container/ApplicationContainer",
|
|
@@ -301,7 +301,7 @@ sap.ui.define([
|
|
|
301
301
|
* @param {string} sSidOrName
|
|
302
302
|
* The sid or name representation of the system alias
|
|
303
303
|
*
|
|
304
|
-
* @
|
|
304
|
+
* @returns {boolean}
|
|
305
305
|
* Whether the given system is in sid format and matches the local system.
|
|
306
306
|
*
|
|
307
307
|
* @private
|
package/src/main/js/sap/ushell/components/applicationIntegration/application/BlueBoxHandler.js
CHANGED
|
@@ -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.119.0
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
7
7
|
"sap/ushell/components/applicationIntegration/application/BlueBoxesCache",
|
|
@@ -6,7 +6,7 @@ sap.ui.define([
|
|
|
6
6
|
"sap/ushell/utils",
|
|
7
7
|
"sap/ushell/components/applicationIntegration/application/PostMessageUtils"
|
|
8
8
|
], function (
|
|
9
|
-
|
|
9
|
+
ushellUtils, PostMessageUtils
|
|
10
10
|
) {
|
|
11
11
|
"use strict";
|
|
12
12
|
|
|
@@ -37,7 +37,7 @@ sap.ui.define([
|
|
|
37
37
|
};
|
|
38
38
|
|
|
39
39
|
function createGuiApp (oContainer, oTarget) {
|
|
40
|
-
return new Promise(function (fnResolve, fnReject) {
|
|
40
|
+
return new Promise(async function (fnResolve, fnReject) {
|
|
41
41
|
var oPostParams,
|
|
42
42
|
oFLPParams,
|
|
43
43
|
sUrl = oTarget.url;
|
|
@@ -51,14 +51,14 @@ sap.ui.define([
|
|
|
51
51
|
PostMessageUtils.postMessageToIframeApp(oContainer, "sap.its", "startService", oPostParams, true).then(fnResolve, fnReject);
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
sUrl =
|
|
55
|
-
sUrl =
|
|
54
|
+
sUrl = await ushellUtils.appendSapShellParam(sUrl);
|
|
55
|
+
sUrl = ushellUtils.filterOutParamsFromLegacyAppURL(sUrl);
|
|
56
56
|
|
|
57
57
|
oPostParams = {
|
|
58
58
|
url: sUrl
|
|
59
59
|
};
|
|
60
60
|
if (oContainer.getIframeWithPost && oContainer.getIframeWithPost() === true) {
|
|
61
|
-
var oAppStatesInfo =
|
|
61
|
+
var oAppStatesInfo = ushellUtils.getParamKeys(sUrl);
|
|
62
62
|
|
|
63
63
|
if (oAppStatesInfo.aAppStateNamesArray.length > 0) {
|
|
64
64
|
sap.ushell.Container.getServiceAsync("CrossApplicationNavigation").then(function (oService) {
|