@sapui5/sap.ushell 1.118.0 → 1.119.2
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 +16 -11
- 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
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileOverview The Unified Shell's user activity service.
|
|
5
|
-
* @version 1.
|
|
5
|
+
* @version 1.119.2
|
|
6
6
|
*/
|
|
7
7
|
sap.ui.define([
|
|
8
8
|
"sap/ui/base/Object",
|
|
9
|
-
"sap/ui/thirdparty/jquery",
|
|
10
9
|
"sap/ushell/utils",
|
|
11
10
|
"sap/base/util/ObjectPath",
|
|
12
11
|
"./_UserRecents/RecentsList",
|
|
@@ -14,7 +13,6 @@ sap.ui.define([
|
|
|
14
13
|
"./_UserRecents/RecentAppsUsage"
|
|
15
14
|
], function (
|
|
16
15
|
BaseObject,
|
|
17
|
-
jQuery,
|
|
18
16
|
utils,
|
|
19
17
|
ObjectPath,
|
|
20
18
|
RecentsList,
|
|
@@ -25,7 +23,6 @@ sap.ui.define([
|
|
|
25
23
|
|
|
26
24
|
/**
|
|
27
25
|
* @class The Unified Shell's page user recents service. It used for managing recent searches and recently viewed apps.
|
|
28
|
-
* @constructor
|
|
29
26
|
* @see sap.ushell.services.Container#getServiceAsync
|
|
30
27
|
* @since 1.15.0
|
|
31
28
|
*/
|
|
@@ -101,30 +98,30 @@ sap.ui.define([
|
|
|
101
98
|
* Adds the given activity item to the list of activities.
|
|
102
99
|
*
|
|
103
100
|
* @param {object} oActionItem The activity to be added.
|
|
104
|
-
* @returns {
|
|
101
|
+
* @returns {Promise} A Promise that is resolved to the list of updated activities.
|
|
105
102
|
* @since 1.32.0
|
|
106
103
|
* @public
|
|
107
104
|
* @alias sap.ushell.services.UserRecents#addActivity
|
|
108
105
|
*/
|
|
109
106
|
UserRecents.prototype.addActivity = function (oActionItem) {
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
return oDeferred.promise();
|
|
107
|
+
return new Promise((resolve, reject) => {
|
|
108
|
+
this.oRecentActivity.newItem(oActionItem)
|
|
109
|
+
.then(() => {
|
|
110
|
+
this.oRecentActivity.getRecentItems()
|
|
111
|
+
.then(resolve)
|
|
112
|
+
.catch(reject);
|
|
113
|
+
})
|
|
114
|
+
.catch(reject);
|
|
115
|
+
|
|
116
|
+
});
|
|
121
117
|
};
|
|
122
118
|
|
|
119
|
+
|
|
123
120
|
/**
|
|
124
121
|
* Clears the list of activities.
|
|
125
122
|
*
|
|
126
123
|
* @since 1.54.0
|
|
127
|
-
* @returns {
|
|
124
|
+
* @returns {Promise} A promise that is resolved once all activities are cleared.
|
|
128
125
|
* @public
|
|
129
126
|
* @alias sap.ushell.services.UserRecents#clearRecentActivities
|
|
130
127
|
*/
|
|
@@ -135,7 +132,7 @@ sap.ui.define([
|
|
|
135
132
|
/**
|
|
136
133
|
* Resolves to the list of activities.
|
|
137
134
|
*
|
|
138
|
-
* @returns {
|
|
135
|
+
* @returns {Promise} A Promise that is resolved to the list of activities.
|
|
139
136
|
* @since 1.32.0
|
|
140
137
|
* @public
|
|
141
138
|
* @alias sap.ushell.services.UserRecents#getRecentActivity
|
|
@@ -145,7 +142,7 @@ sap.ui.define([
|
|
|
145
142
|
};
|
|
146
143
|
|
|
147
144
|
/**
|
|
148
|
-
* @returns {
|
|
145
|
+
* @returns {Promise} A Promise that is resolved to a list of frequently used activities.
|
|
149
146
|
* @since 1.42.0
|
|
150
147
|
* @public
|
|
151
148
|
* @alias sap.ushell.services.UserRecents#getFrequentActivity
|
|
@@ -159,12 +156,11 @@ sap.ui.define([
|
|
|
159
156
|
* Adds the search to the LRU list of data sources.
|
|
160
157
|
*
|
|
161
158
|
* @param {object} oDataSource The data source identified by the string parameter <code>objectName.value</code>
|
|
162
|
-
* @returns {
|
|
159
|
+
* @returns {Promise} A Promise that is resolved to the list of updated entries for data sources.
|
|
163
160
|
* @since 1.19.0
|
|
164
161
|
* @deprecated since 1.93. Please use {@link #addDataSourceActivity} instead.
|
|
165
162
|
* @public
|
|
166
163
|
* @alias sap.ushell.services.UserRecents#noticeDataSource
|
|
167
|
-
* @alias sap.ushell.services.UserRecents#addDataSourceActivity
|
|
168
164
|
*/
|
|
169
165
|
UserRecents.prototype.noticeDataSource = function (oDataSource) {
|
|
170
166
|
var sObjectNameValue = ObjectPath.get("objectName.value", oDataSource) || "";
|
|
@@ -174,17 +170,12 @@ sap.ui.define([
|
|
|
174
170
|
|
|
175
171
|
// Don't save $$ALL$$
|
|
176
172
|
if (!bValueIsAll && !bObjectNameIsAll) {
|
|
177
|
-
var oDeferred = new jQuery.Deferred();
|
|
178
|
-
|
|
179
173
|
this.oRecentDataSources.newItem(oDataSource)
|
|
180
|
-
.
|
|
174
|
+
.then(() => new Promise((resolve, reject) => {
|
|
181
175
|
this.oRecentDataSources.getRecentItems()
|
|
182
|
-
.
|
|
183
|
-
.
|
|
184
|
-
}
|
|
185
|
-
.fail(oDeferred.reject);
|
|
186
|
-
|
|
187
|
-
return oDeferred.promise();
|
|
176
|
+
.then(resolve)
|
|
177
|
+
.catch(reject);
|
|
178
|
+
}));
|
|
188
179
|
}
|
|
189
180
|
|
|
190
181
|
return this.oRecentDataSources.getRecentItems();
|
|
@@ -194,18 +185,37 @@ sap.ui.define([
|
|
|
194
185
|
* Notifies the service that the given data source has been used recently.
|
|
195
186
|
*
|
|
196
187
|
* @param {object} oDataSource The data source identified by the string parameter <code>objectName.value</code>
|
|
197
|
-
* @returns {
|
|
188
|
+
* @returns {Promise} A Promise that is resolved to the list of updated entries for data sources.
|
|
198
189
|
* @since 1.93.0
|
|
199
190
|
* @public
|
|
200
|
-
* @alias sap.ushell.services.UserRecents#noticeDataSource
|
|
201
191
|
* @alias sap.ushell.services.UserRecents#addDataSourceActivity
|
|
202
192
|
*/
|
|
203
|
-
UserRecents.prototype.addDataSourceActivity =
|
|
193
|
+
UserRecents.prototype.addDataSourceActivity = function (oDataSource) {
|
|
194
|
+
const sObjectNameValue = ObjectPath.get("objectName.value", oDataSource) || "";
|
|
195
|
+
const sObjectName = ObjectPath.get("objectName", oDataSource) || "";
|
|
196
|
+
const bValueIsAll = sObjectNameValue.toLowerCase() === "$$all$$";
|
|
197
|
+
const bObjectNameIsAll = sObjectName.toLowerCase() === "$$all$$";
|
|
198
|
+
|
|
199
|
+
// Don't save $$ALL$$
|
|
200
|
+
if (!bValueIsAll && !bObjectNameIsAll) {
|
|
201
|
+
return new Promise((resolve, reject) => {
|
|
202
|
+
this.oRecentDataSources.newItem(oDataSource)
|
|
203
|
+
.then(() => {
|
|
204
|
+
this.oRecentDataSources.getRecentItems()
|
|
205
|
+
.then(resolve)
|
|
206
|
+
.catch(reject);
|
|
207
|
+
})
|
|
208
|
+
.catch(reject);
|
|
209
|
+
});
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
return this.oRecentDataSources.getRecentItems();
|
|
213
|
+
};
|
|
204
214
|
|
|
205
215
|
/**
|
|
206
216
|
* Returns the list of recently used data sources.
|
|
207
217
|
*
|
|
208
|
-
* @returns {
|
|
218
|
+
* @returns {Promise} A Promise that is resolved to the list of updated entries for data sources.
|
|
209
219
|
* @since 1.19.0
|
|
210
220
|
* @public
|
|
211
221
|
* @alias sap.ushell.services.UserRecents#getRecentDataSources
|
|
@@ -219,43 +229,49 @@ sap.ui.define([
|
|
|
219
229
|
* Adds the search to the list of recently done searches.
|
|
220
230
|
*
|
|
221
231
|
* @param {object} oSearchItem The search item identified by the string parameter <code>sTerm</code>
|
|
222
|
-
* @returns {
|
|
232
|
+
* @returns {Promise} A Promise that is resolved to the updated list of recent searches.
|
|
223
233
|
* @since 1.15.0
|
|
224
234
|
* @deprecated since 1.93. Please use {@link #addSearchActivity} instead.
|
|
225
235
|
* @public
|
|
226
236
|
* @alias sap.ushell.services.UserRecents#noticeSearch
|
|
227
|
-
* @alias sap.ushell.services.UserRecents#addSearchActivity
|
|
228
237
|
*/
|
|
229
238
|
UserRecents.prototype.noticeSearch = function (oSearchItem) {
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
return oDeferred.promise();
|
|
239
|
+
return new Promise((resolve, reject) => {
|
|
240
|
+
this.oRecentSearches.newItem(oSearchItem)
|
|
241
|
+
.then(() => {
|
|
242
|
+
this.oRecentSearches.getRecentItems()
|
|
243
|
+
.then(resolve)
|
|
244
|
+
.catch(reject);
|
|
245
|
+
})
|
|
246
|
+
.catch(reject);
|
|
247
|
+
});
|
|
241
248
|
};
|
|
242
249
|
|
|
243
250
|
/**
|
|
244
251
|
* Notifies the service that the given search item has been used recently.
|
|
245
252
|
*
|
|
246
253
|
* @param {object} oSearchItem The search item identified by the string parameter <code>sTerm</code>
|
|
247
|
-
* @returns {
|
|
254
|
+
* @returns {Promise} A Promise that is resolved to the updated list of recent searches.
|
|
248
255
|
* @since 1.93.0
|
|
249
256
|
* @public
|
|
250
257
|
* @alias sap.ushell.services.UserRecents#addSearchActivity
|
|
251
|
-
* @alias sap.ushell.services.UserRecents#noticeSearch
|
|
252
258
|
*/
|
|
253
|
-
UserRecents.prototype.addSearchActivity =
|
|
259
|
+
UserRecents.prototype.addSearchActivity = function (oSearchItem) {
|
|
260
|
+
return new Promise((resolve, reject) => {
|
|
261
|
+
this.oRecentSearches.newItem(oSearchItem)
|
|
262
|
+
.then(() => {
|
|
263
|
+
this.oRecentSearches.getRecentItems()
|
|
264
|
+
.then(resolve)
|
|
265
|
+
.catch(reject);
|
|
266
|
+
})
|
|
267
|
+
.catch(reject);
|
|
268
|
+
});
|
|
269
|
+
};
|
|
254
270
|
|
|
255
271
|
/**
|
|
256
272
|
* Returns the list of recently done searches.
|
|
257
273
|
*
|
|
258
|
-
* @returns {
|
|
274
|
+
* @returns {Promise} A Promise that is resolved to the list of recent searches.
|
|
259
275
|
* @since 1.15.0
|
|
260
276
|
* @public
|
|
261
277
|
* @alias sap.ushell.services.UserRecents#getRecentSearches
|
|
@@ -269,43 +285,49 @@ sap.ui.define([
|
|
|
269
285
|
* Adds the search to the list of recently done searches.
|
|
270
286
|
*
|
|
271
287
|
* @param {object} oAppItem The app item identified by the string parameter <code>id</code>
|
|
272
|
-
* @returns {
|
|
288
|
+
* @returns {Promise} A Promise that is resolved to the updated list of recent apps.
|
|
273
289
|
* @since 1.15.0
|
|
274
290
|
* @deprecated since 1.93. Please use {@link #addAppActivity} instead.
|
|
275
291
|
* @public
|
|
276
292
|
* @alias sap.ushell.services.UserRecents#noticeApp
|
|
277
|
-
* @alias sap.ushell.services.UserRecents#addAppActivity
|
|
278
293
|
*/
|
|
279
294
|
UserRecents.prototype.noticeApp = function (oAppItem) {
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
return oDeferred.promise();
|
|
295
|
+
return new Promise((resolve, reject) => {
|
|
296
|
+
this.oRecentApps.newItem(oAppItem)
|
|
297
|
+
.then(() => {
|
|
298
|
+
this.oRecentApps.getRecentItems()
|
|
299
|
+
.then(resolve)
|
|
300
|
+
.catch(reject);
|
|
301
|
+
})
|
|
302
|
+
.catch(reject);
|
|
303
|
+
});
|
|
291
304
|
};
|
|
292
305
|
|
|
293
306
|
/**
|
|
294
307
|
* Notifies the service that the given app item has been used recently.
|
|
295
308
|
*
|
|
296
309
|
* @param {object} oAppItem The app item identified by the string parameter <code>id</code>
|
|
297
|
-
* @returns {
|
|
310
|
+
* @returns {Promise} A Promise that is resolved to the updated list of recent apps.
|
|
298
311
|
* @since 1.93.0
|
|
299
312
|
* @public
|
|
300
313
|
* @alias sap.ushell.services.UserRecents#addAppActivity
|
|
301
|
-
* @alias sap.ushell.services.UserRecents#noticeApp
|
|
302
314
|
*/
|
|
303
|
-
UserRecents.prototype.addAppActivity =
|
|
315
|
+
UserRecents.prototype.addAppActivity = function (oAppItem) {
|
|
316
|
+
return new Promise((resolve, reject) => {
|
|
317
|
+
this.oRecentApps.newItem(oAppItem)
|
|
318
|
+
.then(() => {
|
|
319
|
+
this.oRecentApps.getRecentItems()
|
|
320
|
+
.then(resolve)
|
|
321
|
+
.catch(reject);
|
|
322
|
+
})
|
|
323
|
+
.catch(reject);
|
|
324
|
+
});
|
|
325
|
+
};
|
|
304
326
|
|
|
305
327
|
/**
|
|
306
328
|
* Returns the list of recently used apps.
|
|
307
329
|
*
|
|
308
|
-
* @returns {
|
|
330
|
+
* @returns {Promise} A Promise that is resolved to the list of recent apps.
|
|
309
331
|
* @since 1.15.0
|
|
310
332
|
* @public
|
|
311
333
|
* @alias sap.ushell.services.UserRecents#getRecentApps
|
|
@@ -330,7 +352,7 @@ sap.ui.define([
|
|
|
330
352
|
* API function for the New VD 1 - user action Collector
|
|
331
353
|
* Returns a map of total usage of all (used) applications, plus the maximum and minimum values.
|
|
332
354
|
*
|
|
333
|
-
* @returns {
|
|
355
|
+
* @returns {Promise} A Promise that is resolved to an object containing usage-per-hash map and the minimum and maximum values.
|
|
334
356
|
*/
|
|
335
357
|
UserRecents.prototype.getAppsUsage = function () {
|
|
336
358
|
return this.oAppsUsage.getAppsUsage();
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
// Copyright (c) 2009-2023 SAP SE, All Rights Reserved
|
|
2
|
-
|
|
3
2
|
/**
|
|
4
|
-
* @
|
|
5
|
-
*
|
|
3
|
+
* @fileOverview Deals with the retrieval of visualization data in a platform independent way.
|
|
4
|
+
*
|
|
5
|
+
* It provides the (catalog) tile data of pages in the pages runtime.
|
|
6
|
+
* Only used on the ABAP platform and on local for testing.
|
|
7
|
+
*
|
|
8
|
+
* Configured with the LaunchPageAdapter.
|
|
9
|
+
*
|
|
10
|
+
* @version 1.119.2
|
|
6
11
|
*/
|
|
7
|
-
|
|
8
12
|
sap.ui.define([
|
|
9
13
|
"sap/ushell/resources",
|
|
10
14
|
"sap/ui/thirdparty/jquery",
|
|
@@ -32,7 +36,7 @@ sap.ui.define([
|
|
|
32
36
|
*
|
|
33
37
|
* @namespace sap.ushell.services.VisualizationDataProvider
|
|
34
38
|
*
|
|
35
|
-
* @
|
|
39
|
+
* @class
|
|
36
40
|
* @see sap.ushell.services.Container#getServiceAsync
|
|
37
41
|
* @since 1.68.0
|
|
38
42
|
*
|
|
@@ -76,7 +80,7 @@ sap.ui.define([
|
|
|
76
80
|
/**
|
|
77
81
|
* Retrieves and returns a map of all catalog tiles.
|
|
78
82
|
*
|
|
79
|
-
* @returns {Promise<
|
|
83
|
+
* @returns {Promise<object>} The map of catalog tiles
|
|
80
84
|
* @since 1.70.0
|
|
81
85
|
*
|
|
82
86
|
* @private
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileOverview This module deals with the instantiation of visualizations in a platform independent way.
|
|
5
|
-
* @version 1.
|
|
5
|
+
* @version 1.119.2
|
|
6
6
|
*/
|
|
7
7
|
sap.ui.define([
|
|
8
8
|
"sap/ushell/services/_VisualizationInstantiation/VizInstance",
|
|
@@ -40,8 +40,6 @@ sap.ui.define([
|
|
|
40
40
|
* Constructs a new instance of the VisualizationInstantiation service.
|
|
41
41
|
*
|
|
42
42
|
* @namespace sap.ushell.services.VisualizationInstantiation
|
|
43
|
-
*
|
|
44
|
-
* @constructor
|
|
45
43
|
* @class
|
|
46
44
|
* @see {@link sap.ushell.services.Container#getServiceAsync}
|
|
47
45
|
* @since 1.77.0
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
* <p>This is a dependency of ClientSideTargetResolution. Interfaces exposed
|
|
35
35
|
* by this module may change at any time without notice.</p>
|
|
36
36
|
*
|
|
37
|
-
* @version 1.
|
|
37
|
+
* @version 1.119.2
|
|
38
38
|
*/
|
|
39
39
|
sap.ui.define([
|
|
40
40
|
"sap/ushell/services/_ClientSideTargetResolution/VirtualInbounds",
|
|
@@ -42,18 +42,15 @@ sap.ui.define([
|
|
|
42
42
|
], function (oVirtualInbounds, oInboundIndex) {
|
|
43
43
|
"use strict";
|
|
44
44
|
|
|
45
|
-
/* global Promise */
|
|
46
|
-
|
|
47
45
|
/**
|
|
48
46
|
* Creates an InboundProvider object.
|
|
49
47
|
*
|
|
50
|
-
* @constructor
|
|
51
48
|
* @class
|
|
52
49
|
* @private
|
|
53
50
|
*/
|
|
54
51
|
function InboundProvider () {
|
|
55
52
|
this._init.apply(this, arguments);
|
|
56
|
-
}
|
|
53
|
+
}
|
|
57
54
|
|
|
58
55
|
InboundProvider.prototype._init = function (fnRetrieveInbounds) {
|
|
59
56
|
this._fnRetrieveInbounds = fnRetrieveInbounds;
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
* @file PrelaunchOperations are executed just before launching the application (post parameter mapping and app state merging) if the
|
|
5
5
|
* <code>sap-prelaunch-operations</code> parameter is specified as a technical parameter.
|
|
6
6
|
*
|
|
7
|
-
* @version 1.
|
|
7
|
+
* @version 1.119.2
|
|
8
8
|
*/
|
|
9
9
|
sap.ui.define([
|
|
10
10
|
"sap/base/Log",
|
|
11
11
|
"sap/base/util/deepExtend",
|
|
12
|
-
"sap/
|
|
12
|
+
"sap/fe/navigation/SelectionVariant"
|
|
13
13
|
], function (
|
|
14
14
|
Log,
|
|
15
15
|
deepExtend,
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* <p>This is a dependency of ClientSideTargetResolution. Interfaces exposed
|
|
9
9
|
* by this module may change at any time without notice.</p>
|
|
10
10
|
*
|
|
11
|
-
* @version 1.
|
|
11
|
+
* @version 1.119.2
|
|
12
12
|
*/
|
|
13
13
|
sap.ui.define([
|
|
14
14
|
"sap/ushell/utils",
|
|
@@ -369,7 +369,7 @@ sap.ui.define([
|
|
|
369
369
|
* @param {object} oMatchResult
|
|
370
370
|
* The matching target.
|
|
371
371
|
*
|
|
372
|
-
* @returns {
|
|
372
|
+
* @returns {int}
|
|
373
373
|
* Matching can occur at different levels, depending whether the a
|
|
374
374
|
* default or required parameter has matched. Therefore the result is
|
|
375
375
|
* manyfold, as follows:
|
|
@@ -403,7 +403,7 @@ sap.ui.define([
|
|
|
403
403
|
* @param {object} oMatchResult
|
|
404
404
|
* The matching target.
|
|
405
405
|
*
|
|
406
|
-
* @returns {
|
|
406
|
+
* @returns {int}
|
|
407
407
|
* An integer representing the match result.
|
|
408
408
|
*
|
|
409
409
|
* <ul>
|
|
@@ -551,7 +551,7 @@ sap.ui.define([
|
|
|
551
551
|
* @param {object} oMatchResult
|
|
552
552
|
* The match result.
|
|
553
553
|
*
|
|
554
|
-
* @returns {
|
|
554
|
+
* @returns {int}
|
|
555
555
|
* An integer representing the priority of a the technology in the
|
|
556
556
|
* given matched target. The higher the number, the more priority has
|
|
557
557
|
* the technology.
|
|
@@ -717,12 +717,12 @@ sap.ui.define([
|
|
|
717
717
|
|
|
718
718
|
/**
|
|
719
719
|
* @typedef {object} InboundStats Inbound statistic based on the intent parameters
|
|
720
|
-
* @property {
|
|
721
|
-
* @property {
|
|
722
|
-
* @property {
|
|
723
|
-
* @property {
|
|
724
|
-
* @property {
|
|
725
|
-
* @property {
|
|
720
|
+
* @property {int} countDefaultedParams Number of the default parameters without technical parameters
|
|
721
|
+
* @property {int} countMatchingParams Number of inbound parameters that match the intent
|
|
722
|
+
* @property {int} countMatchingRequiredParams Number inbound parameters that match the intent and are required.
|
|
723
|
+
* @property {int} countMatchingFilterParams Number inbound parameters that match the intent and specify a filter value.
|
|
724
|
+
* @property {int} countFreeInboundParams Number inbound parameters were not found in the intent
|
|
725
|
+
* @property {int} countPotentiallyMatchingParams Number of intent parameters that can potentially match the inbound.
|
|
726
726
|
* @property {boolean} isCurrentContentProvider Only true if sap-app-origin-hint intent parameter matches contentProviderId from the inbound
|
|
727
727
|
*/
|
|
728
728
|
|
|
@@ -867,7 +867,7 @@ sap.ui.define([
|
|
|
867
867
|
* noMatchReason: "...",
|
|
868
868
|
* noMatchDebug: "...", // interpret this in combination with noMatchReason
|
|
869
869
|
* inbound: {object},
|
|
870
|
-
* [one or more count* keys]: {
|
|
870
|
+
* [one or more count* keys]: {int}
|
|
871
871
|
* }
|
|
872
872
|
* </pre>
|
|
873
873
|
*
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* This is a dependency of ClientSideTargetResolution.
|
|
7
7
|
* Interfaces exposed by this module may change at any time without notice.
|
|
8
8
|
*
|
|
9
|
-
* @version 1.
|
|
9
|
+
* @version 1.119.2
|
|
10
10
|
*/
|
|
11
11
|
sap.ui.define([
|
|
12
12
|
"sap/base/util/deepExtend"
|
|
@@ -24,7 +24,7 @@ sap.ui.define([
|
|
|
24
24
|
* @param {object} oIntentParamsPlusAllDefaults Intent params with defaults map.
|
|
25
25
|
* @param {string[]} aDefaultedParamNames Defaulted Parameter names.
|
|
26
26
|
* @param {object} oParameterDominatorMap See {@link _constructParameterDominatorMap}.
|
|
27
|
-
* @
|
|
27
|
+
* @returns {object} An object with dominated default parameters that must be deleted:
|
|
28
28
|
* <pre>
|
|
29
29
|
* {
|
|
30
30
|
* defaultParam6: true, // value is always true
|
|
@@ -66,7 +66,7 @@ sap.ui.define([
|
|
|
66
66
|
* E: {}
|
|
67
67
|
* }
|
|
68
68
|
* </pre>
|
|
69
|
-
* @
|
|
69
|
+
* @returns {object} The parameter dominator map. An object like:
|
|
70
70
|
* <pre>
|
|
71
71
|
* { A: { renameTo: "ANew", dominatedBy: ["A", "B"] },
|
|
72
72
|
* { B: { renameTo: "ANew", dominatedBy: ["A", "B"] },
|
|
@@ -116,7 +116,7 @@ sap.ui.define([
|
|
|
116
116
|
*
|
|
117
117
|
* @param {object} oObject The object to filter.
|
|
118
118
|
* @param {function} fnFilter The filter function.
|
|
119
|
-
* @
|
|
119
|
+
* @returns {object} The object filtered based on the filter function.
|
|
120
120
|
* This is a new object, but the values assigned to the keys are not cloned from the original object.
|
|
121
121
|
* @private
|
|
122
122
|
*/
|
|
@@ -153,7 +153,7 @@ sap.ui.define([
|
|
|
153
153
|
* </pre>
|
|
154
154
|
* Supported options are explained in the public documentation of the
|
|
155
155
|
* <code>sap.ushell.services.CrossApplicationNavigation</code> public service.
|
|
156
|
-
* @
|
|
156
|
+
* @returns {boolean} Whether the inbound signature conforms to the parameter filter options.
|
|
157
157
|
*/
|
|
158
158
|
function inboundSignatureMeetsParameterOptions (oInboundSignatureParameters, aParsedParametersWithOptions) {
|
|
159
159
|
// Check each parameter as defined by the options.
|
|
@@ -184,7 +184,7 @@ sap.ui.define([
|
|
|
184
184
|
*
|
|
185
185
|
* @param {string[]} aParamsToExtract An array of Parameters passed to determine what parameters are meant to be extracted.
|
|
186
186
|
* @param {object} oWithParameters The object the parameters should be extracted from.
|
|
187
|
-
* @
|
|
187
|
+
* @returns {object} An object containing the extracted parameters.
|
|
188
188
|
*/
|
|
189
189
|
function extractParameters (aParamsToExtract, oWithParameters) {
|
|
190
190
|
var oExtractedParameters = {};
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Operations in this module are assumed to be executed after the target mapping has been identified (post search).
|
|
7
7
|
*
|
|
8
8
|
* @private
|
|
9
|
-
* @version 1.
|
|
9
|
+
* @version 1.119.2
|
|
10
10
|
*/
|
|
11
11
|
sap.ui.define([
|
|
12
12
|
"sap/ushell/services/_ClientSideTargetResolution/Utils",
|
|
@@ -14,7 +14,7 @@ sap.ui.define([
|
|
|
14
14
|
"sap/base/util/ObjectPath",
|
|
15
15
|
"sap/base/util/isEmptyObject",
|
|
16
16
|
"sap/base/util/isPlainObject",
|
|
17
|
-
"sap/
|
|
17
|
+
"sap/fe/navigation/SelectionVariant",
|
|
18
18
|
"sap/base/Log"
|
|
19
19
|
], function (
|
|
20
20
|
oCSTRUtils,
|
|
@@ -22,7 +22,6 @@ sap.ui.define([
|
|
|
22
22
|
* The PersonalizationProcessor, mixing in and out the personalization to and from site objects.
|
|
23
23
|
*
|
|
24
24
|
* @class
|
|
25
|
-
* @constructor
|
|
26
25
|
* @see {@link sap.ushell.services.CommonDataModel}
|
|
27
26
|
* @since 1.38.0
|
|
28
27
|
*/
|
|
@@ -39,7 +38,7 @@ sap.ui.define([
|
|
|
39
38
|
* @param {string} sItemId
|
|
40
39
|
* ID of the item, which position should be returned.
|
|
41
40
|
*
|
|
42
|
-
* @returns {
|
|
41
|
+
* @returns {int}
|
|
43
42
|
* Array-index of given item as described before - or "-1", if not found.
|
|
44
43
|
* Note: The index counts from zero, as usual.
|
|
45
44
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileOverview Because the personalization processor only works with a CDM 3.0 site, this converter is used to transform a dedicated
|
|
5
5
|
* CDM 3.1 site object into a CDM 3.0 site and backwards.
|
|
6
|
-
* @version 1.
|
|
6
|
+
* @version 1.119.2
|
|
7
7
|
*/
|
|
8
8
|
sap.ui.define([
|
|
9
9
|
"sap/base/Log"
|