@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
|
@@ -1754,10 +1754,10 @@ sap.ui.define([
|
|
|
1754
1754
|
|
|
1755
1755
|
/**
|
|
1756
1756
|
* Returns tile height in rem, depending on device type and number of segments the tile consists of.
|
|
1757
|
-
* @param {
|
|
1757
|
+
* @param {int} [iSegments=1] Number of segments the tile will take vertically in the grid (optional).
|
|
1758
1758
|
* Currently expected values are 1, 2, 3, however any positive number is supported.
|
|
1759
1759
|
* Default value is 1.
|
|
1760
|
-
* @
|
|
1760
|
+
* @returns {string} Tile height in rem.
|
|
1761
1761
|
*/
|
|
1762
1762
|
var getTeaserTileHeight = function (iSegments) {
|
|
1763
1763
|
var iReturn;
|
|
@@ -1795,7 +1795,7 @@ sap.ui.define([
|
|
|
1795
1795
|
* Returns the importance (High, Medium, Low) of a given record.
|
|
1796
1796
|
* Necessary as the annotation for importance changed in OData V4 and we'd like to support both V2 and V4.
|
|
1797
1797
|
* @param {object} oRecord as object.
|
|
1798
|
-
* @
|
|
1798
|
+
* @returns {string} Importance of the record (High, Medium, Low).
|
|
1799
1799
|
*/
|
|
1800
1800
|
var getImportanceOfRecord = function (oRecord) {
|
|
1801
1801
|
var sEnumMember = "";
|
|
@@ -5,16 +5,17 @@
|
|
|
5
5
|
xmlns:launchpad="sap.ushell.ui.launchpad"
|
|
6
6
|
controllerName="sap.ushell.components.homeApp.error.HomeAppError"
|
|
7
7
|
height="100%">
|
|
8
|
-
<
|
|
8
|
+
<IllustratedMessage
|
|
9
9
|
id="errorPage"
|
|
10
|
-
|
|
10
|
+
illustrationType="sapIllus-ErrorScreen"
|
|
11
|
+
enableDefaultTitleAndDescription="false"
|
|
11
12
|
icon="{/icon}"
|
|
12
|
-
|
|
13
|
+
title="{/text}"
|
|
13
14
|
description="{/description}">
|
|
14
|
-
<
|
|
15
|
+
<additionalContent>
|
|
15
16
|
<Button
|
|
16
17
|
text="{i18n>HomeApp.CannotLoadApp.CopyButton}"
|
|
17
18
|
press=".onCopyErrorDetailsPress" />
|
|
18
|
-
</
|
|
19
|
-
</
|
|
19
|
+
</additionalContent>
|
|
20
|
+
</IllustratedMessage>
|
|
20
21
|
</mvc:View>
|
|
@@ -236,7 +236,7 @@ sap.ui.define([
|
|
|
236
236
|
mCurrentAction = (bIsGroupRemovable ? mActions.DELETE : oResourceBundle.getText("ResetGroupBtn"));
|
|
237
237
|
|
|
238
238
|
sap.ushell.Container.getServiceAsync("Message").then(function (oMessageSrvc) {
|
|
239
|
-
oMessageSrvc.confirm(oResourceBundle.getText(bIsGroupRemovable ? "delete_group_msg" : "reset_group_msg", sGroupTitle), function (oAction) {
|
|
239
|
+
oMessageSrvc.confirm(oResourceBundle.getText(bIsGroupRemovable ? "delete_group_msg" : "reset_group_msg", [sGroupTitle]), function (oAction) {
|
|
240
240
|
if (oAction === mCurrentAction) {
|
|
241
241
|
oEventBus.publish("launchpad", bIsGroupRemovable ? "deleteGroup" : "resetGroup", {
|
|
242
242
|
groupId: sGroupId
|
|
@@ -265,11 +265,6 @@ sap.ui.define([
|
|
|
265
265
|
utils.recalculateBottomSpace();
|
|
266
266
|
utils.handleTilesVisibility();
|
|
267
267
|
|
|
268
|
-
// "reset" the appRendered event in case the user wants to navigate back to the same app.
|
|
269
|
-
if (EventHub.last("AppRendered") !== undefined) {
|
|
270
|
-
EventHub.emit("AppRendered", undefined);
|
|
271
|
-
}
|
|
272
|
-
|
|
273
268
|
// Layout calculation is relevant only when the dashboard is presented
|
|
274
269
|
if (Layout && jQuery("#dashboardGroups").is(":visible") && this.bModelInitialized) {
|
|
275
270
|
Layout.reRenderGroupsLayout(null);
|
|
@@ -341,7 +336,7 @@ sap.ui.define([
|
|
|
341
336
|
* @param {string} sEventId Not used.
|
|
342
337
|
* @param {object} oData Payload for the event handler.
|
|
343
338
|
*
|
|
344
|
-
* @returns {Promise<
|
|
339
|
+
* @returns {Promise<undefined>} resolves if the scrolling worked, rejects if it didn't.
|
|
345
340
|
*/
|
|
346
341
|
_scrollToGroup: function (sChannelId, sEventId, oData) {
|
|
347
342
|
var sGroupId = oData.group ? oData.group.getGroupId() : oData.groupId;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* with a header of type <code>sap.ushell.ui.launchpad.AnchorNavigationBar</code>
|
|
6
6
|
* and content of type <code>sap.ushell.ui.launchpad.DashboardGroupsContainer</code>.
|
|
7
7
|
*
|
|
8
|
-
* @version 1.
|
|
8
|
+
* @version 1.119.0
|
|
9
9
|
* @name sap.ushell.components.homepage.DashboardContent.view
|
|
10
10
|
*
|
|
11
11
|
* @deprecated since 1.112
|
|
@@ -84,16 +84,14 @@ sap.ui.define([
|
|
|
84
84
|
Core.getEventBus().subscribe("launchpad", "dashboardModelContentLoaded", this._onDashboardShown, this);
|
|
85
85
|
|
|
86
86
|
/**
|
|
87
|
-
* In order to save performance we delay the
|
|
87
|
+
* In order to save performance we delay the ActionMode init, the footer creation and the overflow of the anchorBar
|
|
88
88
|
* till core-ext file has been loaded.
|
|
89
89
|
*/
|
|
90
90
|
this.oDoable = EventHub.once("CoreResourcesComplementLoaded").do(function () {
|
|
91
91
|
this.oAnchorNavigationBar.setOverflowEnabled(true);
|
|
92
92
|
|
|
93
93
|
if (bEnablePersonalization || bEnableTileActionsIcon) {
|
|
94
|
-
|
|
95
|
-
ActionMode.init(this.oModel);
|
|
96
|
-
}.bind(this));
|
|
94
|
+
ActionMode.init(this.oModel);
|
|
97
95
|
}
|
|
98
96
|
if (bEnablePersonalization) {
|
|
99
97
|
this._createFooter();
|
|
@@ -160,8 +158,8 @@ sap.ui.define([
|
|
|
160
158
|
locked: "{isGroupLocked}",
|
|
161
159
|
isGroupDisabled: {
|
|
162
160
|
parts: ["isGroupLocked", "/isInDrag", "/homePageGroupDisplay"],
|
|
163
|
-
formatter: function (bIsGroupLocked, bIsInDrag,
|
|
164
|
-
return bIsGroupLocked && bIsInDrag &&
|
|
161
|
+
formatter: function (bIsGroupLocked, bIsInDrag, sAnchorBarMode) {
|
|
162
|
+
return bIsGroupLocked && bIsInDrag && sAnchorBarMode === "tabs";
|
|
165
163
|
}
|
|
166
164
|
},
|
|
167
165
|
press: function (oEvent) {
|
|
@@ -223,7 +221,7 @@ sap.ui.define([
|
|
|
223
221
|
},
|
|
224
222
|
|
|
225
223
|
_actionModeButtonPress: function () {
|
|
226
|
-
this.oDashboardGroupsBox.getBinding("groups").filter([]); // replace model filter
|
|
224
|
+
this.oDashboardGroupsBox.getBinding("groups").filter([]); // replace model filter in order to show hidden groups
|
|
227
225
|
var dashboardGroups = this.oDashboardGroupsBox.getGroups();
|
|
228
226
|
ActionMode.toggleActionMode(this.oModel, "Menu Item", dashboardGroups);
|
|
229
227
|
this._updateAnchorNavigationBarVisibility();
|
|
@@ -330,7 +328,7 @@ sap.ui.define([
|
|
|
330
328
|
|
|
331
329
|
_handleEditModeChange: function () {
|
|
332
330
|
if (this.oTileActionsButton) {
|
|
333
|
-
this.oTileActionsButton.toggleStyleClass("
|
|
331
|
+
this.oTileActionsButton.toggleStyleClass("sapUshellActionItemActive");
|
|
334
332
|
}
|
|
335
333
|
},
|
|
336
334
|
|
|
@@ -378,9 +376,6 @@ sap.ui.define([
|
|
|
378
376
|
});
|
|
379
377
|
}
|
|
380
378
|
}
|
|
381
|
-
if (EventHub.last("firstSegmentCompleteLoaded")) {
|
|
382
|
-
EventHub.emit("CloseFesrRecord", Date.now());
|
|
383
|
-
}
|
|
384
379
|
}
|
|
385
380
|
},
|
|
386
381
|
|
|
@@ -393,13 +388,18 @@ sap.ui.define([
|
|
|
393
388
|
this.oRenderer.showActionButton(this.oTileActionsButton.getId(), true);
|
|
394
389
|
}
|
|
395
390
|
}
|
|
391
|
+
|
|
392
|
+
// track navigation in ShellAnalytics
|
|
393
|
+
if (EventHub.last("firstSegmentCompleteLoaded")) {
|
|
394
|
+
EventHub.emit("CloseFesrRecord", Date.now());
|
|
395
|
+
}
|
|
396
396
|
},
|
|
397
397
|
|
|
398
398
|
_updateAnchorNavigationBarVisibility: function () {
|
|
399
399
|
var bOldVisible = this.oAnchorNavigationBar.getVisible(),
|
|
400
400
|
bActionModeActive = this.getModel().getObject("/tileActionModeActive"),
|
|
401
401
|
aVisibleGroups = this.getModel().getProperty("/groups").filter(function (oGroup) {
|
|
402
|
-
// Check for group's visibility AND - depending on the ActionMode - the
|
|
402
|
+
// Check for group's visibility AND - depending on the ActionMode - the visibilityMode
|
|
403
403
|
// (see ushell/utils.calcVisibilityModes() for details of visibilityModes)
|
|
404
404
|
if (bActionModeActive) {
|
|
405
405
|
return oGroup.isGroupVisible && oGroup.visibilityModes[1];
|
|
@@ -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) {
|