@sapui5/sap.ushell 1.117.2 → 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 +5 -7
- 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 +254 -190
- 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/SessionHandler.js +4 -4
- 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 +11 -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 +75 -62
- package/src/main/js/sap/ushell/_ApplicationType/wdaResolution.js +5 -5
- 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 +15 -9
- 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 +11 -9
- package/src/main/js/sap/ushell/adapters/cdm/v3/utilsCdm.js +3 -3
- 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 +3 -2
- 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 +22 -28
- package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntimeContext.js +3 -3
- package/src/main/js/sap/ushell/appRuntime/ui5/SessionHandlerAgent.js +10 -0
- 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 +4 -11
- package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/Ui5ComponentLoaderAdapter.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/SchedulingAgent.js +8 -4
- package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/EventProcessor.js +21 -2
- package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/FLPLoader.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/FLPScheduler.js +23 -7
- package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/StepConfiguration.json +4 -3
- 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 +3 -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/HeaderManager.js +6 -6
- 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 +17 -18
- 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/HierarchyAppsView.js +1 -1
- 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 +16 -16
- package/src/main/js/sap/ushell/components/applicationIntegration/application/Application.js +8 -2
- package/src/main/js/sap/ushell/components/applicationIntegration/application/BlueBoxHandler.js +9 -18
- package/src/main/js/sap/ushell/components/applicationIntegration/application/PostMessageAPI.js +9 -5
- 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 +2 -4
- 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 +25 -23
- package/src/main/js/sap/ushell/components/contentFinder/Component.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/controller/AppSearch.controller.js +3 -3
- 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 +4 -2
- package/src/main/js/sap/ushell/components/contentFinder/view/AppSearch.view.xml +37 -17
- package/src/main/js/sap/ushell/components/contentFinder/view/AppSearchBox.fragment.xml +111 -35
- package/src/main/js/sap/ushell/components/contentFinder/view/AppSearchPaginated.view.xml +37 -18
- package/src/main/js/sap/ushell/components/contentFinder/view/ContentFinderDialog.view.xml +24 -15
- package/src/main/js/sap/ushell/components/contentFinder/view/WidgetGallery.view.xml +67 -39
- 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/factsheet/tools/ODataUrlTemplating.js +1 -1
- 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 +94 -96
- 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 -1
- 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 +3 -3
- 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 +3 -3
- package/src/main/js/sap/ushell/components/shell/Settings/appearance/Appearance.controller.js +43 -40
- 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 +8 -4
- package/src/main/js/sap/ushell/components/shell/Settings/userLanguageRegion/LanguageRegionSelector.controller.js +65 -17
- package/src/main/js/sap/ushell/components/shell/Settings/userLanguageRegion/LanguageRegionSelector.view.xml +18 -1
- 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/Configuration.view.xml +2 -2
- 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/Configuration.view.xml +2 -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 +4 -3
- 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 +332 -153
- 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 +2 -2
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPage.js +9 -11
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageButton.js +48 -48
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageCell.js +12 -12
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumn.js +8 -8
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnRenderer.js +7 -9
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnResizer.js +44 -44
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRenderer.js +7 -4
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRow.js +60 -10
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRowRenderer.js +12 -8
- package/src/main/js/sap/ushell/components/workPageBuilder/manifest.json +8 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources.properties +10 -2
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ar.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_bg.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ca.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_cs.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_cy.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_da.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_de.properties +11 -7
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_el.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_en.properties +6 -2
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_en_GB.properties +6 -2
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_en_US_sappsd.properties +6 -2
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_en_US_saprigi.properties +6 -2
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_en_US_saptrc.properties +13 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_es.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_es_MX.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_et.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_fi.properties +11 -7
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_fr.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_fr_CA.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_hi.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_hr.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_hu.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_id.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_it.properties +11 -7
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_iw.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ja.properties +11 -7
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_kk.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ko.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_lt.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_lv.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ms.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_nl.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_no.properties +11 -7
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_pl.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_pt.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_pt_PT.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ro.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ru.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_sh.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_sk.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_sl.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_sv.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_th.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_tr.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_uk.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_vi.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_zh_CN.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_zh_TW.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/view/WorkPageBuilder.view.xml +50 -34
- package/src/main/js/sap/ushell/components/workPageBuilder/view/WorkPageCellDeleteDialog.fragment.xml +25 -0
- package/src/main/js/sap/ushell/components/workPageBuilder/view/WorkPageRowDeleteDialog.fragment.xml +13 -5
- package/src/main/js/sap/ushell/components/workPageRuntime/Component.js +1 -1
- package/src/main/js/sap/ushell/components/workPageRuntime/controller/WorkPageRuntime.controller.js +7 -3
- package/src/main/js/sap/ushell/components/workPageRuntime/manifest.json +5 -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/components/workPageRuntime/view/WorkPageRuntime.view.xml +5 -4
- 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 +111 -122
- package/src/main/js/sap/ushell/override.js +1 -1
- package/src/main/js/sap/ushell/performance/FesrEnhancer.js +258 -183
- 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/LogonFrameProvider.js +2 -2
- 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 +67 -50
- package/src/main/js/sap/ushell/renderers/fiori2/ShellLayout.js +1 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources.properties +21 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_ar.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_bg.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_ca.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_cs.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_cy.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_da.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_de.properties +15 -4
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_el.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_en.properties +11 -0
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_en_GB.properties +11 -0
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_en_US_sappsd.properties +11 -0
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_en_US_saprigi.properties +11 -0
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_en_US_saptrc.properties +12 -0
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_es.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_es_MX.properties +14 -3
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_et.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_fi.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_fr.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_fr_CA.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_hi.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_hr.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_hu.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_id.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_it.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_iw.properties +16 -5
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_ja.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_kk.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_ko.properties +13 -2
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_lt.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_lv.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_ms.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_nl.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_no.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_pl.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_pt.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_pt_PT.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_ro.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_ru.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_sh.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_sk.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_sl.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_sv.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_th.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_tr.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_uk.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_vi.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_zh_CN.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_zh_TW.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/search/searchComponent/controller/CEPSearchApp.controller.js +4 -4
- package/src/main/js/sap/ushell/renderers/fiori2/search/searchComponent/controller/SearchApp.controller.js +3 -3
- package/src/main/js/sap/ushell/renderers/fiori2/search/searchComponent/manifest.json +1 -1
- package/src/main/js/sap/ushell/renderers/fiori2/search/searchComponent/view/CEPSearchApp.view.js +4 -3
- package/src/main/js/sap/ushell/renderers/fiori2/search/searchComponent/view/SearchApp.view.js +4 -3
- 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 +97 -101
- 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 +70 -43
- 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 +2 -2
- 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 +9 -8
- package/src/main/js/sap/ushell/services/UserInfo.js +8 -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 +6 -26
- 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 +2 -2
- 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/ContentFinder.less +8 -12
- package/src/main/js/sap/ushell/themes/base/SearchCEP.less +11 -4
- package/src/main/js/sap/ushell/themes/base/ShellHeader.less +0 -4
- package/src/main/js/sap/ushell/themes/base/UserSettings.less +3 -46
- package/src/main/js/sap/ushell/themes/base/WorkPage.less +39 -10
- package/src/main/js/sap/ushell/themes/base/WorkPageButton.less +7 -7
- package/src/main/js/sap/ushell/themes/base/WorkPageCell.less +48 -45
- package/src/main/js/sap/ushell/themes/base/WorkPageColumn.less +7 -69
- package/src/main/js/sap/ushell/themes/base/WorkPageColumnResizer.less +43 -38
- package/src/main/js/sap/ushell/themes/base/WorkPageRow.less +879 -29
- package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.eot +0 -0
- package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.ttf +0 -0
- package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.woff +0 -0
- package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.woff2 +0 -0
- package/src/main/js/sap/ushell/themes/sap_horizon/SearchCEP.less +5 -1
- package/src/main/js/sap/ushell/themes/sap_horizon/ToolAreaItem.less +1 -1
- package/src/main/js/sap/ushell/themes/sap_horizon/WorkPageCell.less +2 -1
- package/src/main/js/sap/ushell/themes/sap_horizon_dark/SearchCEP.less +5 -1
- package/src/main/js/sap/ushell/themes/sap_horizon_dark/ToolAreaItem.less +1 -1
- package/src/main/js/sap/ushell/themes/sap_horizon_dark/WorkPageCell.less +2 -1
- package/src/main/js/sap/ushell/themes/sap_horizon_hcb/SearchCEP.less +5 -1
- package/src/main/js/sap/ushell/themes/sap_horizon_hcb/WorkPageCell.less +2 -1
- package/src/main/js/sap/ushell/themes/sap_horizon_hcw/SearchCEP.less +5 -1
- package/src/main/js/sap/ushell/themes/sap_horizon_hcw/WorkPageCell.less +2 -1
- 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 +0 -33
- package/src/main/js/sap/ushell/ui/ShellHeaderRenderer.js +16 -2
- 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 +35 -20
- package/src/main/js/sap/ushell/ui/footerbar/ContactSupportButton.js +5 -5
- package/src/main/js/sap/ushell/ui/footerbar/JamDiscussButton.js +13 -12
- package/src/main/js/sap/ushell/ui/footerbar/JamShareButton.js +30 -23
- 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/TileContainerRenderer.js +3 -3
- 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/ShellAppTitle.js +3 -2
- package/src/main/js/sap/ushell/ui/shell/ShellHeadItem.js +7 -8
- package/src/main/js/sap/ushell/ui/shell/SysInfoBar.js +5 -4
- 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/DynamicTileRequest.js +353 -323
- 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 +167 -37
- package/src/test/js/sap/ushell/bootstrap/sandbox.js +2 -2
- package/ui5.yaml +2 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Menu.js +0 -22
- package/src/main/js/sap/ushell/utils/clone.js +0 -167
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* @fileOverview ActionMode for the PageRuntime view
|
|
4
4
|
*
|
|
5
|
-
* @version 1.
|
|
5
|
+
* @version 1.119.0
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
sap.ui.define([
|
|
@@ -35,7 +35,7 @@ sap.ui.define([
|
|
|
35
35
|
oController.getView().getModel("viewSettings").setProperty("/actionModeEditActive", true);
|
|
36
36
|
}
|
|
37
37
|
oController.getView().getModel("viewSettings").setProperty("/actionModeActive", true);
|
|
38
|
-
oController.handleMyHomeActionMode(true).catch(oController.
|
|
38
|
+
oController.handleMyHomeActionMode(true).catch(oController.navigateToErrorPage.bind(oController));
|
|
39
39
|
|
|
40
40
|
EventHub.emit("enableMenuBarNavigation", false);
|
|
41
41
|
|
|
@@ -83,7 +83,7 @@ sap.ui.define([
|
|
|
83
83
|
ActionMode._cleanup = function () {
|
|
84
84
|
this.oController.getView().getModel("viewSettings").setProperty("/actionModeActive", false);
|
|
85
85
|
this.oController.getView().getModel("viewSettings").setProperty("/actionModeEditActive", false);
|
|
86
|
-
this.oController.handleMyHomeActionMode(false).catch(this.oController.
|
|
86
|
+
this.oController.handleMyHomeActionMode(false).catch(this.oController.navigateToErrorPage.bind(this.oController));
|
|
87
87
|
EventHub.emit("enableMenuBarNavigation", true);
|
|
88
88
|
|
|
89
89
|
var oActionModeButton = Core.byId("ActionModeBtn");
|
|
@@ -136,7 +136,7 @@ sap.ui.define([
|
|
|
136
136
|
* @param {sap.ui.core.Control} oSource Source control
|
|
137
137
|
* @param {object} oParameters Event parameters
|
|
138
138
|
*
|
|
139
|
-
* @returns {Promise<
|
|
139
|
+
* @returns {Promise<undefined>} A promise that is resolved when the Pages service is retrieved.
|
|
140
140
|
*
|
|
141
141
|
* @private
|
|
142
142
|
* @since 1.75.0
|
|
@@ -170,7 +170,7 @@ sap.ui.define([
|
|
|
170
170
|
* @param {sap.ui.base.Event} oEvent Event object
|
|
171
171
|
* @param {sap.ui.core.Control} oSource Source control
|
|
172
172
|
*
|
|
173
|
-
* @returns {Promise<
|
|
173
|
+
* @returns {Promise<undefined>} A promise that is resolved when the Pages service is retrieved.
|
|
174
174
|
*
|
|
175
175
|
* @private
|
|
176
176
|
* @since 1.75.0
|
|
@@ -179,7 +179,7 @@ sap.ui.define([
|
|
|
179
179
|
return sap.ushell.Container.getServiceAsync("Message").then(function (oMessageService) {
|
|
180
180
|
var sTitle = oSource.getTitle();
|
|
181
181
|
var sMsg = sTitle
|
|
182
|
-
? resources.i18n.getText("PageRuntime.Message.Section.Delete", sTitle)
|
|
182
|
+
? resources.i18n.getText("PageRuntime.Message.Section.Delete", [sTitle])
|
|
183
183
|
: resources.i18n.getText("PageRuntime.Message.Section.DeleteNoTitle");
|
|
184
184
|
var sMsgTitle = resources.i18n.getText("PageRuntime.Dialog.Title.Delete");
|
|
185
185
|
|
|
@@ -233,7 +233,7 @@ sap.ui.define([
|
|
|
233
233
|
* @param {sap.ui.base.Event} oEvent Event object
|
|
234
234
|
* @param {sap.ui.core.Control} oSection Source control
|
|
235
235
|
*
|
|
236
|
-
* @returns {Promise<
|
|
236
|
+
* @returns {Promise<undefined>} A promise that is resolved when the Pages service is retrieved.
|
|
237
237
|
*
|
|
238
238
|
* @private
|
|
239
239
|
* @since 1.75.0
|
|
@@ -259,7 +259,7 @@ sap.ui.define([
|
|
|
259
259
|
* @param {sap.ui.core.Control} oSource Source control
|
|
260
260
|
* @param {object} oParameters Event parameters
|
|
261
261
|
*
|
|
262
|
-
* @returns {Promise<
|
|
262
|
+
* @returns {Promise<undefined>} A promise that is resolved when the Pages service is retrieved.
|
|
263
263
|
*
|
|
264
264
|
* @private
|
|
265
265
|
* @since 1.75.0
|
|
@@ -285,7 +285,7 @@ sap.ui.define([
|
|
|
285
285
|
* @param {sap.ui.core.Control} oSource Source control
|
|
286
286
|
* @param {object} oParameters Event parameters
|
|
287
287
|
*
|
|
288
|
-
* @returns {Promise<
|
|
288
|
+
* @returns {Promise<undefined>} A promise that is resolved when the Pages service is retrieved.
|
|
289
289
|
*
|
|
290
290
|
* @private
|
|
291
291
|
* @since 1.75.0
|
|
@@ -330,7 +330,7 @@ sap.ui.define([
|
|
|
330
330
|
* @param {sap.ui.core.Control} oSource Source control
|
|
331
331
|
* @param {object} oParameters Event parameters
|
|
332
332
|
*
|
|
333
|
-
* @returns {Promise<
|
|
333
|
+
* @returns {Promise<undefined>} A promise that is resolved when the Pages service is retrieved.
|
|
334
334
|
*
|
|
335
335
|
* @private
|
|
336
336
|
* @since 1.75.0
|
|
@@ -88,7 +88,7 @@ sap.ui.define([
|
|
|
88
88
|
* @since 1.72.0
|
|
89
89
|
*/
|
|
90
90
|
StateManager._setCurrentPageVisibility = function (visibility, refresh, navFromErrorPage) {
|
|
91
|
-
if (this.oPagesRuntimeNavContainer.getCurrentPage().isA("sap.m.
|
|
91
|
+
if (this.oPagesRuntimeNavContainer.getCurrentPage().isA("sap.m.IllustratedMessage") && !navFromErrorPage) {
|
|
92
92
|
return;
|
|
93
93
|
}
|
|
94
94
|
var oCurrentPage = this.oPagesNavContainer.getCurrentPage();
|
|
@@ -258,7 +258,7 @@ sap.ui.define([
|
|
|
258
258
|
* @since 1.74.0
|
|
259
259
|
*/
|
|
260
260
|
StateManager.exit = function () {
|
|
261
|
-
this.oEventBus.unsubscribe("sap.ushell", "navigated", this.
|
|
261
|
+
this.oEventBus.unsubscribe("sap.ushell", "navigated", this._onShellNavigated, this);
|
|
262
262
|
document.removeEventListener("visibilitychange", this._onTabNavigatedBind);
|
|
263
263
|
this.oPagesNavContainer.detachNavigate(this._onPageNavigated, this);
|
|
264
264
|
this.oPagesRuntimeNavContainer.detachNavigate(this._onErrorPageNavigated, this);
|
|
@@ -128,8 +128,8 @@ sap.ui.define([
|
|
|
128
128
|
*
|
|
129
129
|
* @param {sap.ushell.services.Pages} pagesService The Pages service instance.
|
|
130
130
|
* @param {object} group The group to which the visualization is added.
|
|
131
|
-
* @param {
|
|
132
|
-
* @param {
|
|
131
|
+
* @param {int} index the index of the section, the new visualization should be added to.
|
|
132
|
+
* @param {int} iTargetVizIndex The target visualization index.
|
|
133
133
|
* @param {boolean} defaultGroupImported Indicates if the default group has already been imported.
|
|
134
134
|
* @returns {Promise} A promise resolving when the visualization has been moved.
|
|
135
135
|
* @private
|
|
@@ -151,8 +151,8 @@ sap.ui.define([
|
|
|
151
151
|
* @param {sap.ushell.services.Pages} pagesService The Pages service instance.
|
|
152
152
|
* @param {object} group The group to which the visualization is added.
|
|
153
153
|
* @param {object} tileData The tile data to update.
|
|
154
|
-
* @param {
|
|
155
|
-
* @param {
|
|
154
|
+
* @param {int} index the index of the section, the new visualization should be added to.
|
|
155
|
+
* @param {int} vizIndex The visualization index.
|
|
156
156
|
* @returns {Promise} A promise resolving when the update is done.
|
|
157
157
|
* @param {boolean} defaultGroupImported Indicates if the default group has already been imported.
|
|
158
158
|
* @private
|
|
@@ -180,8 +180,8 @@ sap.ui.define([
|
|
|
180
180
|
*
|
|
181
181
|
* @param {object} group The group to which the visualization is added.
|
|
182
182
|
* @param {object} tile contains important information on how the visualization should be created.
|
|
183
|
-
* @param {
|
|
184
|
-
* @param {
|
|
183
|
+
* @param {int} vizIndex the index of the new visualization.
|
|
184
|
+
* @param {int} index the index of the section, the new visualization should be added to.
|
|
185
185
|
* @param {object} services Ushell services that are need to add the bookmarks and the visualizations.
|
|
186
186
|
* @param {object} contentNode of the current page.
|
|
187
187
|
* @param {boolean} defaultGroupImported Indicates if the default group has already been imported.
|
|
@@ -238,7 +238,7 @@ sap.ui.define([
|
|
|
238
238
|
* Adds visualizations to the existing preset section ('My Apps').
|
|
239
239
|
*
|
|
240
240
|
* @param {object} group contains important information on how the section should be created.
|
|
241
|
-
* @param {
|
|
241
|
+
* @param {int} index the index of the current iteration.
|
|
242
242
|
* @param {object} services Ushell services that are needed to add the sections and the visualizations.
|
|
243
243
|
* @param {object} contentNode of the current page.
|
|
244
244
|
* @param {boolean} defaultGroupImported Indicates if the default group has already been imported.
|
|
@@ -265,7 +265,7 @@ sap.ui.define([
|
|
|
265
265
|
* Generates a new section with all its visualizations.
|
|
266
266
|
*
|
|
267
267
|
* @param {object} group contains important information on how the section should be created.
|
|
268
|
-
* @param {
|
|
268
|
+
* @param {int} index the index of the current iteration.
|
|
269
269
|
* @param {object} services Ushell services that are needed to add the sections and the visualizations.
|
|
270
270
|
* @param {object} contentNode of the current page.
|
|
271
271
|
* @param {boolean} defaultGroupImported Indicates if the default group has already been imported.
|
|
@@ -425,9 +425,9 @@ sap.ui.define([
|
|
|
425
425
|
* Default section already exists, in case default group is not imported the section index needs to skip the default section.
|
|
426
426
|
* @param {sap.ushell.services.Pages} pagesService The Pages service instance.
|
|
427
427
|
* @param {object} group The group.
|
|
428
|
-
* @param {
|
|
428
|
+
* @param {int} current The current index.
|
|
429
429
|
* @param {boolean} defaultGroupImported Indicates if the default group has been imported.
|
|
430
|
-
* @returns {
|
|
430
|
+
* @returns {int} The section index.
|
|
431
431
|
* @private
|
|
432
432
|
*/
|
|
433
433
|
_getSectionIndex: function (pagesService, group, current, defaultGroupImported) {
|
|
@@ -440,7 +440,7 @@ sap.ui.define([
|
|
|
440
440
|
/**
|
|
441
441
|
* Determine the index of the 'My Home' preset section ('My Apps').
|
|
442
442
|
* @param {sap.ushell.services.Pages} pagesService The Pages service instance.
|
|
443
|
-
* @returns {
|
|
443
|
+
* @returns {int} The section index.
|
|
444
444
|
* @private
|
|
445
445
|
*/
|
|
446
446
|
_getPresetSectionIndex: function (pagesService) {
|
|
@@ -454,7 +454,7 @@ sap.ui.define([
|
|
|
454
454
|
* Determine the index of the 'My Home' default section ('Recently added apps').
|
|
455
455
|
*
|
|
456
456
|
* @param {sap.ushell.services.Pages} pagesService The Pages service instance.
|
|
457
|
-
* @returns {
|
|
457
|
+
* @returns {int} The section index.
|
|
458
458
|
* @private
|
|
459
459
|
*/
|
|
460
460
|
_getDefaultSectionIndex: function (pagesService) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @file PageRuntime controller for PageRuntime view
|
|
5
|
-
* @version 1.
|
|
5
|
+
* @version 1.119.0
|
|
6
6
|
*/
|
|
7
7
|
sap.ui.define([
|
|
8
8
|
"sap/ushell/library",
|
|
@@ -25,8 +25,7 @@ sap.ui.define([
|
|
|
25
25
|
"sap/ushell/components/pages/controller/PagesAndSpaceId",
|
|
26
26
|
"sap/ushell/components/pages/MyHomeImport",
|
|
27
27
|
"sap/ui/thirdparty/hasher",
|
|
28
|
-
"sap/base/Log",
|
|
29
|
-
"sap/ui/core/theming/Parameters",
|
|
28
|
+
"sap/base/Log",
|
|
30
29
|
"sap/ushell/ui/launchpad/Section"
|
|
31
30
|
], function (
|
|
32
31
|
ushellLibrary,
|
|
@@ -41,7 +40,7 @@ sap.ui.define([
|
|
|
41
40
|
MessageToast,
|
|
42
41
|
StateManager,
|
|
43
42
|
EventHub,
|
|
44
|
-
|
|
43
|
+
ushellUtils,
|
|
45
44
|
Button,
|
|
46
45
|
capitalize,
|
|
47
46
|
Filter,
|
|
@@ -49,8 +48,7 @@ sap.ui.define([
|
|
|
49
48
|
PagesAndSpaceId,
|
|
50
49
|
MyHomeImport,
|
|
51
50
|
hasher,
|
|
52
|
-
Log,
|
|
53
|
-
Parameters,
|
|
51
|
+
Log,
|
|
54
52
|
Section
|
|
55
53
|
) {
|
|
56
54
|
"use strict";
|
|
@@ -113,8 +111,7 @@ sap.ui.define([
|
|
|
113
111
|
}.bind(this));
|
|
114
112
|
|
|
115
113
|
this._oErrorPageModel = new JSONModel({
|
|
116
|
-
|
|
117
|
-
text: "",
|
|
114
|
+
title: "",
|
|
118
115
|
description: "",
|
|
119
116
|
details: ""
|
|
120
117
|
});
|
|
@@ -130,11 +127,8 @@ sap.ui.define([
|
|
|
130
127
|
this.getView().setModel(aServices[1].getModel());
|
|
131
128
|
}.bind(this));
|
|
132
129
|
|
|
133
|
-
// S/4 my home
|
|
134
|
-
EventHub.emit("S4MyHomePlugin", this.byId("pagesNavContainer").getId());
|
|
135
|
-
|
|
136
130
|
var oRenderer = sap.ushell.Container.getRenderer();
|
|
137
|
-
this.bIsHomeIntentRootIntent =
|
|
131
|
+
this.bIsHomeIntentRootIntent = ushellUtils.isFlpHomeIntent(oRenderer.getShellConfig().rootIntent);
|
|
138
132
|
this.oErrorPage = this.byId("errorPage");
|
|
139
133
|
this.oEmptyPage = this.byId("emptyPage");
|
|
140
134
|
this.oPagesNavContainer = this.byId("pagesNavContainer");
|
|
@@ -200,7 +194,7 @@ sap.ui.define([
|
|
|
200
194
|
/**
|
|
201
195
|
* Set the section grid container gap and row size for different screen sizes
|
|
202
196
|
*/
|
|
203
|
-
_setGridContainerSizes: function () {
|
|
197
|
+
_setGridContainerSizes: async function () {
|
|
204
198
|
var sSizeBehavior = Config.last("/core/home/sizeBehavior");
|
|
205
199
|
var oViewSettingsModel = this.getView().getModel("viewSettings");
|
|
206
200
|
|
|
@@ -212,12 +206,14 @@ sap.ui.define([
|
|
|
212
206
|
? "_sap_ushell_Tile_SpacingXS"
|
|
213
207
|
: "_sap_ushell_Tile_SpacingS";
|
|
214
208
|
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
oViewSettingsModel.setProperty("/gridContainerGap/
|
|
218
|
-
oViewSettingsModel.setProperty("/gridContainerGap/
|
|
219
|
-
oViewSettingsModel.setProperty("/gridContainerGap/
|
|
220
|
-
oViewSettingsModel.setProperty("/gridContainerGap/
|
|
209
|
+
const [sGap, sGapXS, sGapS] = await ushellUtils.getThemingParameters([sTileGapParam, "_sap_ushell_Tile_SpacingXS", sTileGapParamS]);
|
|
210
|
+
|
|
211
|
+
oViewSettingsModel.setProperty("/gridContainerGap/gridContainerGap", this._formatNumericThemeParam(sGap));
|
|
212
|
+
oViewSettingsModel.setProperty("/gridContainerGap/gridContainerGapXS", this._formatNumericThemeParam(sGapXS));
|
|
213
|
+
oViewSettingsModel.setProperty("/gridContainerGap/gridContainerGapS", this._formatNumericThemeParam(sGapS));
|
|
214
|
+
oViewSettingsModel.setProperty("/gridContainerGap/gridContainerGapM", this._formatNumericThemeParam(sGap));
|
|
215
|
+
oViewSettingsModel.setProperty("/gridContainerGap/gridContainerGapL", this._formatNumericThemeParam(sGap));
|
|
216
|
+
oViewSettingsModel.setProperty("/gridContainerGap/gridContainerGapXL", this._formatNumericThemeParam(sGap));
|
|
221
217
|
|
|
222
218
|
var sTileWidthParam = (sSizeBehavior === "Small")
|
|
223
219
|
? "_sap_ushell_Tile_WidthXS"
|
|
@@ -227,22 +223,23 @@ sap.ui.define([
|
|
|
227
223
|
? "_sap_ushell_Tile_WidthXS"
|
|
228
224
|
: "_sap_ushell_Tile_WidthS";
|
|
229
225
|
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
oViewSettingsModel.setProperty("/gridContainerRowSize/
|
|
233
|
-
oViewSettingsModel.setProperty("/gridContainerRowSize/
|
|
234
|
-
oViewSettingsModel.setProperty("/gridContainerRowSize/
|
|
235
|
-
oViewSettingsModel.setProperty("/gridContainerRowSize/
|
|
226
|
+
const [sRowSize, sRowSizeXS, sRowSizeS] = await ushellUtils.getThemingParameters([sTileWidthParam, "_sap_ushell_Tile_WidthXS", sTileWidthParamS]);
|
|
227
|
+
|
|
228
|
+
oViewSettingsModel.setProperty("/gridContainerRowSize/gridContainerRowSize", this._formatNumericThemeParam(sRowSize));
|
|
229
|
+
oViewSettingsModel.setProperty("/gridContainerRowSize/gridContainerRowSizeXS", this._formatNumericThemeParam(sRowSizeXS));
|
|
230
|
+
oViewSettingsModel.setProperty("/gridContainerRowSize/gridContainerRowSizeS", this._formatNumericThemeParam(sRowSizeS));
|
|
231
|
+
oViewSettingsModel.setProperty("/gridContainerRowSize/gridContainerRowSizeM", this._formatNumericThemeParam(sRowSize));
|
|
232
|
+
oViewSettingsModel.setProperty("/gridContainerRowSize/gridContainerRowSizeL", this._formatNumericThemeParam(sRowSize));
|
|
233
|
+
oViewSettingsModel.setProperty("/gridContainerRowSize/gridContainerRowSizeXL", this._formatNumericThemeParam(sRowSize));
|
|
236
234
|
},
|
|
237
235
|
|
|
238
236
|
/**
|
|
239
237
|
* Returns a .rem value based on the tile gap or width parameter
|
|
240
238
|
*
|
|
241
|
-
* @param {string}
|
|
239
|
+
* @param {string} sValue Tile spacing parameter
|
|
242
240
|
* @returns {string} Value in .rem
|
|
243
241
|
*/
|
|
244
|
-
|
|
245
|
-
var sValue = Parameters.get(sParam);
|
|
242
|
+
_formatNumericThemeParam: function (sValue) {
|
|
246
243
|
if (sValue && sValue.indexOf(".") === 0) {
|
|
247
244
|
sValue = "0" + sValue;
|
|
248
245
|
}
|
|
@@ -354,7 +351,7 @@ sap.ui.define([
|
|
|
354
351
|
* @private
|
|
355
352
|
*/
|
|
356
353
|
_setPerformanceMark: function (sMark) {
|
|
357
|
-
|
|
354
|
+
ushellUtils.setPerformanceMark(sMark, {
|
|
358
355
|
bUseUniqueMark: true,
|
|
359
356
|
bUseLastMark: true
|
|
360
357
|
});
|
|
@@ -371,7 +368,7 @@ sap.ui.define([
|
|
|
371
368
|
this._getMyHomeTitle().then(function (sTitle) {
|
|
372
369
|
var oActionModeButton = Core.byId("ActionModeBtn");
|
|
373
370
|
if (oActionModeButton) {
|
|
374
|
-
var sActionModeText = resources.i18n.getText(sTextId, sTitle);
|
|
371
|
+
var sActionModeText = resources.i18n.getText(sTextId, [sTitle]);
|
|
375
372
|
oActionModeButton.setText(sActionModeText);
|
|
376
373
|
oActionModeButton.setTooltip(sActionModeText);
|
|
377
374
|
}
|
|
@@ -409,93 +406,93 @@ sap.ui.define([
|
|
|
409
406
|
*/
|
|
410
407
|
_openFLPPage: function () {
|
|
411
408
|
return PagesAndSpaceId.getPageAndSpaceId()
|
|
412
|
-
.then(
|
|
413
|
-
var sPageId = ids.pageId;
|
|
414
|
-
var sSpaceId = ids.spaceId;
|
|
409
|
+
.then(({pageId, spaceId}) => {
|
|
415
410
|
|
|
416
411
|
// this property may be updated by consecutive calls to _openFLPPage and prevents race conditions when opening pages
|
|
417
|
-
this.sCurrentTargetPageId =
|
|
418
|
-
this.sCurrentTargetSpaceId =
|
|
412
|
+
this.sCurrentTargetPageId = pageId;
|
|
413
|
+
this.sCurrentTargetSpaceId = spaceId;
|
|
419
414
|
|
|
420
415
|
return Promise.all([
|
|
421
416
|
this.oInitFinishedPromise,
|
|
422
417
|
sap.ushell.Container.getServiceAsync("Menu")
|
|
423
418
|
])
|
|
424
|
-
.then(
|
|
425
|
-
|
|
426
|
-
return oMenuService.isSpacePageAssigned(
|
|
419
|
+
.then((aResults) => {
|
|
420
|
+
const oMenuService = aResults[1];
|
|
421
|
+
return oMenuService.isSpacePageAssigned(spaceId, pageId);
|
|
427
422
|
})
|
|
428
|
-
.then(
|
|
423
|
+
.then((bAssigned) => {
|
|
429
424
|
if (!bAssigned) {
|
|
430
425
|
return Promise.reject("The combination of space and page is not assigned to the user.");
|
|
431
426
|
}
|
|
432
427
|
return this.getOwnerComponent().getPagesService();
|
|
433
|
-
}.bind(this))
|
|
434
|
-
.then(function (pagesService) {
|
|
435
|
-
Log.debug("cep/editMode: load Page: " + sPageId, "Page runtime");
|
|
436
|
-
return pagesService.loadPage(sPageId);
|
|
437
428
|
})
|
|
438
|
-
.then(
|
|
439
|
-
Log.debug("cep/editMode: load Page:
|
|
429
|
+
.then((pagesService) => {
|
|
430
|
+
Log.debug("cep/editMode: load Page: " + pageId, "Page runtime");
|
|
431
|
+
return pagesService.loadPage(pageId);
|
|
432
|
+
})
|
|
433
|
+
.then(async () => {
|
|
434
|
+
Log.debug("cep/editMode: load Page: show action mode button " + pageId, "Page runtime");
|
|
440
435
|
this._showActionModeButton();
|
|
441
|
-
if (this.sCurrentTargetPageId ===
|
|
442
|
-
|
|
436
|
+
if (this.sCurrentTargetPageId === pageId) {
|
|
437
|
+
const bMyHomeActive = this._isMyHomeRouteActive();
|
|
443
438
|
|
|
444
439
|
// Special logic for "Add Tiles to My Home" when personalization is disabled.
|
|
445
440
|
this._setActionModeLogic(bMyHomeActive);
|
|
446
441
|
|
|
442
|
+
let oNavigationPromise = Promise.resolve();
|
|
447
443
|
// Placeholder page for empty My Home
|
|
448
444
|
if (bMyHomeActive && this._isMyHomePageEmpty()) { // If the home page is empty, show the splash screen
|
|
449
|
-
|
|
445
|
+
oNavigationPromise = this._navigateToInitialMyHome();
|
|
446
|
+
} else {
|
|
447
|
+
oNavigationPromise = this._navigate(pageId, spaceId);
|
|
450
448
|
}
|
|
451
|
-
return this._navigate(sPageId, sSpaceId);
|
|
452
|
-
}
|
|
453
|
-
return Promise.resolve();
|
|
454
|
-
}.bind(this))
|
|
455
|
-
.then(this._notifyOnPageRuntimeRendered.bind(this)) // S/4 my home - binding introduced to allow the use of this in the function
|
|
456
|
-
.catch(function (error) {
|
|
457
|
-
Log.debug("cep/editMode: open FLP Page: Handle errors", "Page runtime");
|
|
458
|
-
if (error instanceof Error) {
|
|
459
|
-
// E.g. UI5 modules cannot be loaded
|
|
460
|
-
this._oErrorPageModel.setProperty("/text", resources.i18n.getText("PageRuntime.GeneralError.Text"));
|
|
461
|
-
} else {
|
|
462
|
-
var sDescription = resources.i18n.getText("PageRuntime.CannotLoadPage.Description") + JSON.stringify(error);
|
|
463
|
-
|
|
464
|
-
this._oErrorPageModel.setProperty("/icon", "sap-icon://documents");
|
|
465
|
-
this._oErrorPageModel.setProperty("/text", resources.i18n.getText("PageRuntime.CannotLoadPage.Text", [sPageId, sSpaceId]));
|
|
466
|
-
this._oErrorPageModel.setProperty("/description", "");
|
|
467
|
-
this._oErrorPageModel.setProperty("/details", sDescription);
|
|
468
|
-
}
|
|
469
|
-
|
|
470
|
-
this.oPagesRuntimeNavContainer.to(this.oErrorPage);
|
|
471
449
|
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
450
|
+
await oNavigationPromise;
|
|
451
|
+
return this._onAfterPageNavigated(pageId, spaceId);
|
|
452
|
+
}
|
|
453
|
+
})
|
|
454
|
+
.catch((error) => {
|
|
455
|
+
return this.navigateToErrorPage(error, pageId, spaceId);
|
|
456
|
+
});
|
|
457
|
+
})
|
|
458
|
+
.catch(this.navigateToErrorPage.bind(this));
|
|
479
459
|
},
|
|
480
460
|
|
|
481
461
|
/**
|
|
482
462
|
* Displays an error message on a MessagePage.
|
|
483
463
|
*
|
|
484
|
-
* @param {string}
|
|
464
|
+
* @param {Error|string} vError The error message.
|
|
465
|
+
* @param {string} [sPageId] The page id
|
|
466
|
+
* @param {string} [sSpaceId] The space id
|
|
485
467
|
* @private
|
|
486
468
|
*/
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
469
|
+
navigateToErrorPage: function (vError, sPageId, sSpaceId) {
|
|
470
|
+
Log.debug("cep/editMode: open FLP Page: Handle errors", "Page runtime");
|
|
471
|
+
|
|
472
|
+
if (vError instanceof Error) {
|
|
473
|
+
// E.g. UI5 modules cannot be loaded
|
|
474
|
+
this._oErrorPageModel.setProperty("/details", vError.toString());
|
|
475
|
+
|
|
476
|
+
this._oErrorPageModel.setProperty("/title", resources.i18n.getText("PageRuntime.GeneralError.Text"));
|
|
477
|
+
} else {
|
|
478
|
+
this._oErrorPageModel.setProperty("/details", resources.i18n.getText("PageRuntime.CannotLoadPage.Description") + JSON.stringify(vError));
|
|
479
|
+
|
|
480
|
+
if (sPageId && sSpaceId) {
|
|
481
|
+
this._oErrorPageModel.setProperty("/title", resources.i18n.getText("PageRuntime.CannotLoadPage.Text", [sPageId, sSpaceId]));
|
|
482
|
+
} else {
|
|
483
|
+
this._oErrorPageModel.setProperty("/title", resources.i18n.getText("PageRuntime.GeneralError.Text"));
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
// reset description
|
|
490
488
|
this._oErrorPageModel.setProperty("/description", "");
|
|
491
|
-
this._oErrorPageModel.setProperty("/details", "");
|
|
492
489
|
|
|
493
490
|
this.oPagesRuntimeNavContainer.to(this.oErrorPage);
|
|
494
491
|
|
|
495
492
|
this._hideActionModeButton();
|
|
496
493
|
this._cancelActionMode();
|
|
497
494
|
|
|
498
|
-
this.
|
|
495
|
+
this._onAfterPageNavigated();
|
|
499
496
|
},
|
|
500
497
|
|
|
501
498
|
/**
|
|
@@ -604,20 +601,21 @@ sap.ui.define([
|
|
|
604
601
|
* @since 1.79.0
|
|
605
602
|
* @private
|
|
606
603
|
*/
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
Log.error("Error while trying to trigger the PagesRuntimeRendered event for the S/4 My Home plugin");
|
|
604
|
+
_onAfterPageNavigated: function () {
|
|
605
|
+
if (this.sCurrentTargetPageId && this.sCurrentTargetSpaceId) {
|
|
606
|
+
// Save new space and page for ShellAnalytics
|
|
607
|
+
EventHub.emit("PageRendered", {
|
|
608
|
+
time: Date.now(),
|
|
609
|
+
pageId: this.sCurrentTargetPageId,
|
|
610
|
+
spaceId: this.sCurrentTargetSpaceId
|
|
611
|
+
});
|
|
616
612
|
}
|
|
617
|
-
|
|
618
|
-
//
|
|
619
|
-
if (EventHub.last("
|
|
620
|
-
EventHub.emit("
|
|
613
|
+
|
|
614
|
+
// track navigation in ShellAnalytics
|
|
615
|
+
if (!EventHub.last("PagesRuntimeRendered")) {
|
|
616
|
+
EventHub.emit("PagesRuntimeRendered", true);
|
|
617
|
+
} else {
|
|
618
|
+
EventHub.emit("CloseFesrRecord", Date.now());
|
|
621
619
|
}
|
|
622
620
|
},
|
|
623
621
|
|
|
@@ -639,7 +637,7 @@ sap.ui.define([
|
|
|
639
637
|
* @private
|
|
640
638
|
*/
|
|
641
639
|
_copyToClipboard: function () {
|
|
642
|
-
var bResult =
|
|
640
|
+
var bResult = ushellUtils.copyToClipboard(this._oErrorPageModel.getProperty("/description"));
|
|
643
641
|
if (bResult) {
|
|
644
642
|
MessageToast.show(resources.i18n.getText("PageRuntime.CannotLoadPage.CopySuccess"), {
|
|
645
643
|
closeOnBrowserNavigation: false
|
|
@@ -1124,7 +1122,7 @@ sap.ui.define([
|
|
|
1124
1122
|
* @since 1.86.0
|
|
1125
1123
|
*/
|
|
1126
1124
|
_createActionModeButton: function (sPageTitle) {
|
|
1127
|
-
var sButtonText = sPageTitle ? resources.i18n.getText("PageRuntime.EditModeForPage.Activate", sPageTitle)
|
|
1125
|
+
var sButtonText = sPageTitle ? resources.i18n.getText("PageRuntime.EditModeForPage.Activate", [sPageTitle])
|
|
1128
1126
|
: resources.i18n.getText("PageRuntime.EditMode.Activate");
|
|
1129
1127
|
var oActionButtonObjectData = {
|
|
1130
1128
|
id: "ActionModeBtn",
|