@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.
Files changed (372) hide show
  1. package/package.json +6 -5
  2. package/src/main/js/sap/ushell/.library +1 -1
  3. package/src/main/js/sap/ushell/ApplicationType.js +1 -1
  4. package/src/main/js/sap/ushell/CanvasShapesManager.js +13 -7
  5. package/src/main/js/sap/ushell/Config.js +1 -1
  6. package/src/main/js/sap/ushell/Container.js +255 -185
  7. package/src/main/js/sap/ushell/EventHub.js +1 -1
  8. package/src/main/js/sap/ushell/Fiori20Adapter.js +1 -1
  9. package/src/main/js/sap/ushell/Fiori20AdapterTest.js +2 -2
  10. package/src/main/js/sap/ushell/Layout.js +3 -3
  11. package/src/main/js/sap/ushell/NWBCInterface.js +3 -3
  12. package/src/main/js/sap/ushell/TechnicalParameters.js +3 -3
  13. package/src/main/js/sap/ushell/UIActions.js +44 -44
  14. package/src/main/js/sap/ushell/URLTemplateProcessor.js +1 -1
  15. package/src/main/js/sap/ushell/Ui5NativeServiceFactory.js +1 -1
  16. package/src/main/js/sap/ushell/Ui5ServiceFactory.js +4 -4
  17. package/src/main/js/sap/ushell/User.js +1 -1
  18. package/src/main/js/sap/ushell/UserActivityLog.js +8 -8
  19. package/src/main/js/sap/ushell/_ApplicationType/guiResolution.js +5 -5
  20. package/src/main/js/sap/ushell/_ApplicationType/systemAlias.js +1 -1
  21. package/src/main/js/sap/ushell/_ApplicationType/urlTemplateResolution.js +16 -11
  22. package/src/main/js/sap/ushell/_Config/utils.js +5 -5
  23. package/src/main/js/sap/ushell/_URLTemplateProcessor/DefinitionParameterSetBuilder.js +1 -1
  24. package/src/main/js/sap/ushell/_URLTemplateProcessor/DependencyGraph.js +1 -1
  25. package/src/main/js/sap/ushell/_URLTemplateProcessor/Functions.js +1 -1
  26. package/src/main/js/sap/ushell/_URLTemplateProcessor/Resolvers.js +1 -1
  27. package/src/main/js/sap/ushell/_URLTemplateProcessor/TemplateParameterParser.js +1 -1
  28. package/src/main/js/sap/ushell/_URLTemplateProcessor/utils.js +1 -1
  29. package/src/main/js/sap/ushell/adapters/cdm/ClientSideTargetResolutionAdapter.js +14 -8
  30. package/src/main/js/sap/ushell/adapters/cdm/CommonDataModelAdapter.js +4 -5
  31. package/src/main/js/sap/ushell/adapters/cdm/ConfigurationDefaultsAdapter.js +1 -1
  32. package/src/main/js/sap/ushell/adapters/cdm/ContainerAdapter.js +1 -2
  33. package/src/main/js/sap/ushell/adapters/cdm/LaunchPageAdapter.js +12 -13
  34. package/src/main/js/sap/ushell/adapters/cdm/MenuAdapter.js +1 -1
  35. package/src/main/js/sap/ushell/adapters/cdm/PagesCommonDataModelAdapter.js +4 -3
  36. package/src/main/js/sap/ushell/adapters/cdm/PersonalizationAdapter.js +1 -1
  37. package/src/main/js/sap/ushell/adapters/cdm/Ui5ComponentLoaderAdapter.js +1 -1
  38. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/modifyHome.js +2 -2
  39. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readCatalogs.js +1 -1
  40. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readHome.js +1 -1
  41. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/uri.transform.js +1 -1
  42. package/src/main/js/sap/ushell/adapters/cdm/_Personalization/internals.js +1 -1
  43. package/src/main/js/sap/ushell/adapters/cdm/util/AppForInbound.js +5 -2
  44. package/src/main/js/sap/ushell/adapters/cdm/util/cdmSiteUtils.js +4 -1
  45. package/src/main/js/sap/ushell/adapters/cdm/v3/AdapterBase.js +3 -4
  46. package/src/main/js/sap/ushell/adapters/cdm/v3/LaunchPageAdapter.js +10 -11
  47. package/src/main/js/sap/ushell/adapters/cdm/v3/StaticGroupsAdapter.js +1 -1
  48. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readApplications.js +1 -1
  49. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readCatalogs.js +1 -1
  50. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readHome.js +1 -1
  51. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readPages.js +1 -1
  52. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readUtils.js +1 -1
  53. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations.js +1 -1
  54. package/src/main/js/sap/ushell/adapters/cdm/v3/utilsCdm.js +2 -2
  55. package/src/main/js/sap/ushell/adapters/cep/MenuAdapter.js +0 -1
  56. package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionAdapter.js +3 -4
  57. package/src/main/js/sap/ushell/adapters/cep/SearchCEPAdapter.js +3 -2
  58. package/src/main/js/sap/ushell/adapters/cflp/UserDefaultParameterPersistenceAdapter.js +3 -3
  59. package/src/main/js/sap/ushell/adapters/local/AdapterContainer.js +1 -1
  60. package/src/main/js/sap/ushell/adapters/local/AppStateAdapter.js +2 -3
  61. package/src/main/js/sap/ushell/adapters/local/ClientSideTargetResolutionAdapter.js +3 -3
  62. package/src/main/js/sap/ushell/adapters/local/ContainerAdapter.js +1 -3
  63. package/src/main/js/sap/ushell/adapters/local/LaunchPageAdapter.js +2 -3
  64. package/src/main/js/sap/ushell/adapters/local/MenuAdapter.js +1 -1
  65. package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionAdapter.js +1 -1
  66. package/src/main/js/sap/ushell/adapters/local/PageBuildingAdapter.js +1 -1
  67. package/src/main/js/sap/ushell/adapters/local/PagePersistenceAdapter.js +2 -2
  68. package/src/main/js/sap/ushell/adapters/local/PersonalizationAdapter.js +1 -2
  69. package/src/main/js/sap/ushell/adapters/local/SearchAdapter.js +1 -1
  70. package/src/main/js/sap/ushell/adapters/local/SearchCEPAdapter.js +1 -1
  71. package/src/main/js/sap/ushell/adapters/local/SupportTicketAdapter.js +1 -1
  72. package/src/main/js/sap/ushell/adapters/local/Ui5ComponentLoaderAdapter.js +1 -1
  73. package/src/main/js/sap/ushell/adapters/local/UserDefaultParameterPersistenceAdapter.js +1 -2
  74. package/src/main/js/sap/ushell/adapters/local/UserInfoAdapter.js +1 -1
  75. package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntime.js +5 -9
  76. package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/Renderer.js +5 -3
  77. package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/RendererExtensions.js +31 -3
  78. package/src/main/js/sap/ushell/appRuntime/ui5/services/AppLifeCycleAgent.js +2 -0
  79. package/src/main/js/sap/ushell/appRuntime/ui5/services/Bookmark.js +7 -3
  80. package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/Ui5ComponentLoaderAdapter.js +1 -1
  81. package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/FLPLoader.js +1 -1
  82. package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/logger.js +1 -1
  83. package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/state.js +3 -3
  84. package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5.js +2 -2
  85. package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5datetimeformat.js +1 -1
  86. package/src/main/js/sap/ushell/bootstrap/common/common.create.configcontract.core.js +1 -0
  87. package/src/main/js/sap/ushell/bootstrap/common/common.load.core-min.js +2 -2
  88. package/src/main/js/sap/ushell/bootstrap/common/common.load.launchpad.js +7 -3
  89. package/src/main/js/sap/ushell/bootstrap/common/common.load.script.js +4 -4
  90. package/src/main/js/sap/ushell/bootstrap/common/common.util.js +7 -7
  91. package/src/main/js/sap/ushell/bootstrap/sandbox2/sandboxConfig.json +214 -0
  92. package/src/main/js/sap/ushell/bootstrap/sandbox2/sandboxSite.json +511 -0
  93. package/src/main/js/sap/ushell/bootstrap/sandbox2.js +398 -0
  94. package/src/main/js/sap/ushell/components/CatalogsManager.js +26 -25
  95. package/src/main/js/sap/ushell/components/ComponentKeysHandler.js +20 -15
  96. package/src/main/js/sap/ushell/components/DestroyHelper.js +2 -2
  97. package/src/main/js/sap/ushell/components/HomepageManager.js +6 -6
  98. package/src/main/js/sap/ushell/components/_HeaderManager/ControlManager.js +1 -1
  99. package/src/main/js/sap/ushell/components/_HomepageManager/PagingManager.js +5 -5
  100. package/src/main/js/sap/ushell/components/appfinder/AppFinder.controller.js +19 -15
  101. package/src/main/js/sap/ushell/components/appfinder/AppFinderView.js +12 -12
  102. package/src/main/js/sap/ushell/components/appfinder/Catalog.controller.js +18 -18
  103. package/src/main/js/sap/ushell/components/appfinder/CatalogView.js +1 -1
  104. package/src/main/js/sap/ushell/components/appfinder/EasyAccess.controller.js +2 -2
  105. package/src/main/js/sap/ushell/components/appfinder/HierarchyApps.controller.js +6 -6
  106. package/src/main/js/sap/ushell/components/appfinder/VisualizationOrganizerHelper.js +4 -4
  107. package/src/main/js/sap/ushell/components/appfinder/manifest.json +1 -1
  108. package/src/main/js/sap/ushell/components/applicationIntegration/AppLifeCycle.js +8 -6
  109. package/src/main/js/sap/ushell/components/applicationIntegration/application/Application.js +2 -2
  110. package/src/main/js/sap/ushell/components/applicationIntegration/application/BlueBoxHandler.js +1 -1
  111. package/src/main/js/sap/ushell/components/applicationIntegration/application/PostMessageAPI.js +1 -1
  112. package/src/main/js/sap/ushell/components/applicationIntegration/application/WebGUIStatefulHandler.js +5 -5
  113. package/src/main/js/sap/ushell/components/applicationIntegration/configuration/AppMeta.js +21 -26
  114. package/src/main/js/sap/ushell/components/applicationIntegration/elements/model.js +1 -1
  115. package/src/main/js/sap/ushell/components/applicationIntegration/relatedServices/RelatedServices.js +1 -1
  116. package/src/main/js/sap/ushell/components/applicationIntegration/relatedShellElements/RelatedShellElements.js +1 -1
  117. package/src/main/js/sap/ushell/components/cards/Configuration.controller.js +2 -2
  118. package/src/main/js/sap/ushell/components/cepsearchresult/app/Main.controller.js +6 -2
  119. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/Category.js +44 -6
  120. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/categories/Application.js +22 -9
  121. package/src/main/js/sap/ushell/components/container/ApplicationContainer.js +23 -16
  122. package/src/main/js/sap/ushell/components/contentFinder/Component.js +1 -1
  123. package/src/main/js/sap/ushell/components/contentFinder/controller/AppSearch.controller.js +1 -1
  124. package/src/main/js/sap/ushell/components/contentFinder/controller/ContentFinderDialog.controller.js +1 -1
  125. package/src/main/js/sap/ushell/components/contentFinder/controller/WidgetGallery.controller.js +1 -1
  126. package/src/main/js/sap/ushell/components/contentFinder/manifest.json +1 -1
  127. package/src/main/js/sap/ushell/components/factsheet/Component.js +1 -1
  128. package/src/main/js/sap/ushell/components/factsheet/controls/PictureTile.js +1 -2
  129. package/src/main/js/sap/ushell/components/factsheet/controls/PictureViewer.js +5 -6
  130. package/src/main/js/sap/ushell/components/factsheet/controls/PictureViewerItem.js +1 -2
  131. package/src/main/js/sap/ushell/components/factsheet/factory/ThingInspector.js +3 -3
  132. package/src/main/js/sap/ushell/components/homeApp/error/HomeAppError.controller.js +0 -1
  133. package/src/main/js/sap/ushell/components/homeApp/error/HomeAppError.view.xml +7 -6
  134. package/src/main/js/sap/ushell/components/homepage/ActionMode.js +1 -1
  135. package/src/main/js/sap/ushell/components/homepage/DashboardContent.controller.js +2 -7
  136. package/src/main/js/sap/ushell/components/homepage/DashboardContent.view.js +13 -13
  137. package/src/main/js/sap/ushell/components/homepage/DashboardGroupsBox.js +1 -1
  138. package/src/main/js/sap/ushell/components/homepage/DashboardUIActions.js +1 -1
  139. package/src/main/js/sap/ushell/components/homepage/manifest.json +1 -1
  140. package/src/main/js/sap/ushell/components/pages/ActionMode.js +10 -10
  141. package/src/main/js/sap/ushell/components/pages/Component.js +1 -1
  142. package/src/main/js/sap/ushell/components/pages/MyHomeImport.js +1 -1
  143. package/src/main/js/sap/ushell/components/pages/StateManager.js +2 -2
  144. package/src/main/js/sap/ushell/components/pages/controller/ImportDialog.controller.js +12 -12
  145. package/src/main/js/sap/ushell/components/pages/controller/PageRuntime.controller.js +93 -95
  146. package/src/main/js/sap/ushell/components/pages/manifest.json +1 -1
  147. package/src/main/js/sap/ushell/components/pages/view/PageRuntime.view.xml +31 -23
  148. package/src/main/js/sap/ushell/components/runtimeSwitcher/controller/RuntimeSwitcher.controller.js +1 -1
  149. package/src/main/js/sap/ushell/components/runtimeSwitcher/manifest.json +1 -1
  150. package/src/main/js/sap/ushell/components/shell/MenuBar/controller/MenuBar.controller.js +7 -6
  151. package/src/main/js/sap/ushell/components/shell/MenuBar/manifest.json +1 -1
  152. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenu.controller.js +1 -3
  153. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/manifest.json +2 -2
  154. package/src/main/js/sap/ushell/components/shell/Notifications/Component.js +1 -1
  155. package/src/main/js/sap/ushell/components/shell/Notifications/Notifications.controller.js +2 -2
  156. package/src/main/js/sap/ushell/components/shell/ProductSwitch/Component.js +1 -1
  157. package/src/main/js/sap/ushell/components/shell/Search/ESearch.js +1 -1
  158. package/src/main/js/sap/ushell/components/shell/Search/manifest.json +1 -1
  159. package/src/main/js/sap/ushell/components/shell/SearchCEP/Component.js +2 -2
  160. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchCEP.controller.js +74 -16
  161. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchFieldFragment.fragment.xml +2 -1
  162. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/FrequentActivityProvider.js +1 -2
  163. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/RecentSearchProvider.js +1 -2
  164. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchProvider.js +1 -1
  165. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchServiceProvider.js +1 -2
  166. package/src/main/js/sap/ushell/components/shell/Settings/Component.js +1 -1
  167. package/src/main/js/sap/ushell/components/shell/Settings/ErrorMessageHelper.js +8 -9
  168. package/src/main/js/sap/ushell/components/shell/Settings/UserSettings.controller.js +53 -13
  169. package/src/main/js/sap/ushell/components/shell/Settings/UserSettings.view.xml +5 -0
  170. package/src/main/js/sap/ushell/components/shell/Settings/appearance/Appearance.controller.js +41 -38
  171. package/src/main/js/sap/ushell/components/shell/Settings/notifications/NotificationsSetting.controller.js +1 -1
  172. package/src/main/js/sap/ushell/components/shell/Settings/userActivities/UserActivitiesSetting.controller.js +2 -2
  173. package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/UserDefaultsForm.js +1 -1
  174. package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/controller/UserDefaultsSetting.controller.js +7 -3
  175. package/src/main/js/sap/ushell/components/shell/UserActionsMenu/Component.js +1 -1
  176. package/src/main/js/sap/ushell/components/shell/UserImage/Component.js +1 -1
  177. package/src/main/js/sap/ushell/components/tiles/applauncher/StaticTile.view.js +0 -2
  178. package/src/main/js/sap/ushell/components/tiles/applauncher/StaticTileTmp.view.js +0 -2
  179. package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/DynamicTileTmp.view.js +0 -2
  180. package/src/main/js/sap/ushell/components/tiles/cdm/applauncher/StaticTile.view.js +0 -2
  181. package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/DynamicTile.controller.js +1 -1
  182. package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/DynamicTile.view.js +0 -2
  183. package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/oData4Analytics.js +41 -48
  184. package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/smartBusinessUtil.js +3 -3
  185. package/src/main/js/sap/ushell/components/tiles/utils.js +1 -1
  186. package/src/main/js/sap/ushell/components/visualizationOrganizer/Component.js +5 -18
  187. package/src/main/js/sap/ushell/components/visualizationOrganizer/VisualizationOrganizerPopover.fragment.xml +3 -3
  188. package/src/main/js/sap/ushell/components/workPageBuilder/Component.js +1 -1
  189. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.accessibility.js +1 -1
  190. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.controller.js +65 -95
  191. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.layout.js +182 -90
  192. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageHost.js +1 -1
  193. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPage.js +1 -1
  194. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageButton.js +1 -1
  195. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageCell.js +1 -1
  196. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumn.js +1 -1
  197. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnRenderer.js +0 -2
  198. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnResizer.js +1 -1
  199. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRow.js +53 -3
  200. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRowRenderer.js +3 -0
  201. package/src/main/js/sap/ushell/components/workPageBuilder/manifest.json +1 -1
  202. package/src/main/js/sap/ushell/components/workPageBuilder/view/WorkPageBuilder.view.xml +1 -0
  203. package/src/main/js/sap/ushell/components/workPageRuntime/Component.js +1 -1
  204. package/src/main/js/sap/ushell/components/workPageRuntime/controller/WorkPageRuntime.controller.js +6 -2
  205. package/src/main/js/sap/ushell/components/workPageRuntime/manifest.json +1 -1
  206. package/src/main/js/sap/ushell/components/workPageRuntime/services/NavigationResolver.js +1 -2
  207. package/src/main/js/sap/ushell/components/workPageRuntime/services/WorkPage.js +1 -2
  208. package/src/main/js/sap/ushell/designtime/ApplicationContainer.designtime.js +1 -1
  209. package/src/main/js/sap/ushell/library.js +4 -2
  210. package/src/main/js/sap/ushell/navigationMode.js +10 -5
  211. package/src/main/js/sap/ushell/override.js +1 -1
  212. package/src/main/js/sap/ushell/performance/FesrEnhancer.js +248 -187
  213. package/src/main/js/sap/ushell/performance/ShellAnalytics.js +206 -207
  214. package/src/main/js/sap/ushell/performance/StatisticalRecord.js +366 -230
  215. package/src/main/js/sap/ushell/plugins/appwarmup/Component.js +1 -1
  216. package/src/main/js/sap/ushell/renderers/fiori2/Renderer.js +39 -23
  217. package/src/main/js/sap/ushell/renderers/fiori2/RendererExtensions.js +105 -25
  218. package/src/main/js/sap/ushell/renderers/fiori2/Shell.controller.js +63 -52
  219. package/src/main/js/sap/ushell/renderers/fiori2/ShellLayout.js +1 -1
  220. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources.properties +1 -1
  221. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_ko.properties +1 -1
  222. package/src/main/js/sap/ushell/renderers/fiori2/search/searchComponent/manifest.json +1 -1
  223. package/src/main/js/sap/ushell/services/AppConfiguration.js +3 -3
  224. package/src/main/js/sap/ushell/services/AppLifeCycle.js +1 -1
  225. package/src/main/js/sap/ushell/services/AppState.js +2 -3
  226. package/src/main/js/sap/ushell/services/Bookmark.js +1 -1
  227. package/src/main/js/sap/ushell/services/ClientSideTargetResolution.js +1 -1
  228. package/src/main/js/sap/ushell/services/CommonDataModel.js +4 -5
  229. package/src/main/js/sap/ushell/services/Configuration.js +1 -2
  230. package/src/main/js/sap/ushell/services/ConfigurationDefaults.js +2 -2
  231. package/src/main/js/sap/ushell/services/ContentExtensionAdapterFactory.js +1 -1
  232. package/src/main/js/sap/ushell/services/CrossApplicationNavigation.js +36 -33
  233. package/src/main/js/sap/ushell/services/DarkModeSupport.js +2 -2
  234. package/src/main/js/sap/ushell/services/EndUserFeedback.js +2 -2
  235. package/src/main/js/sap/ushell/services/LaunchPage.js +11 -8
  236. package/src/main/js/sap/ushell/services/Menu.js +31 -37
  237. package/src/main/js/sap/ushell/services/Message.js +1 -2
  238. package/src/main/js/sap/ushell/services/MessageBroker.js +1 -2
  239. package/src/main/js/sap/ushell/services/NavTargetResolution.js +58 -9
  240. package/src/main/js/sap/ushell/services/Navigation.js +1356 -0
  241. package/src/main/js/sap/ushell/services/NavigationDataProvider.js +7 -5
  242. package/src/main/js/sap/ushell/services/Notifications.js +16 -16
  243. package/src/main/js/sap/ushell/services/PageBuilding.js +1 -2
  244. package/src/main/js/sap/ushell/services/PagePersistence.js +6 -6
  245. package/src/main/js/sap/ushell/services/PageReferencing.js +2 -2
  246. package/src/main/js/sap/ushell/services/Pages.js +24 -25
  247. package/src/main/js/sap/ushell/services/Personalization.js +5 -5
  248. package/src/main/js/sap/ushell/services/PluginManager.js +1 -2
  249. package/src/main/js/sap/ushell/services/ReferenceResolver.js +2 -2
  250. package/src/main/js/sap/ushell/services/Search.js +1 -1
  251. package/src/main/js/sap/ushell/services/SearchCEP.js +2 -1
  252. package/src/main/js/sap/ushell/services/SearchableContent.js +85 -59
  253. package/src/main/js/sap/ushell/services/ShellNavigation.js +59 -17
  254. package/src/main/js/sap/ushell/services/ShellNavigationHashChanger.js +115 -39
  255. package/src/main/js/sap/ushell/services/SmartNavigation.js +4 -4
  256. package/src/main/js/sap/ushell/services/SpaceContent.js +5 -6
  257. package/src/main/js/sap/ushell/services/SupportTicket.js +1 -1
  258. package/src/main/js/sap/ushell/services/UITracer.js +5 -3
  259. package/src/main/js/sap/ushell/services/URLShortening.js +1 -1
  260. package/src/main/js/sap/ushell/services/URLTemplate.js +2 -2
  261. package/src/main/js/sap/ushell/services/Ui5ComponentLoader.js +7 -7
  262. package/src/main/js/sap/ushell/services/UserDefaultParameterPersistence.js +1 -2
  263. package/src/main/js/sap/ushell/services/UserDefaultParameters.js +1 -1
  264. package/src/main/js/sap/ushell/services/UserInfo.js +1 -1
  265. package/src/main/js/sap/ushell/services/UserRecents.js +91 -69
  266. package/src/main/js/sap/ushell/services/VisualizationDataProvider.js +10 -6
  267. package/src/main/js/sap/ushell/services/VisualizationInstantiation.js +1 -3
  268. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Formatter.js +1 -1
  269. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/InboundIndex.js +1 -1
  270. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/InboundProvider.js +2 -5
  271. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/PrelaunchOperations.js +2 -2
  272. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Search.js +11 -11
  273. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/StagedLogger.js +1 -1
  274. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/SystemContext.js +1 -1
  275. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Utils.js +6 -6
  276. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/VirtualInbounds.js +1 -1
  277. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/XAppStateProcessing.js +2 -2
  278. package/src/main/js/sap/ushell/services/_CommonDataModel/PersonalizationProcessor.js +1 -2
  279. package/src/main/js/sap/ushell/services/_CommonDataModel/SiteConverter.js +1 -1
  280. package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/ContentExtensionAdapterConfig.js +1 -1
  281. package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/FeaturedGroupConfig.js +1 -1
  282. package/src/main/js/sap/ushell/services/_CrossApplicationNavigation/utils.js +9 -14
  283. package/src/main/js/sap/ushell/services/_MessageBroker/MessageBrokerEngine.js +1 -1
  284. package/src/main/js/sap/ushell/services/_PageReferencing/PageReferencer.js +1 -1
  285. package/src/main/js/sap/ushell/services/_Personalization/ContextContainer.js +34 -21
  286. package/src/main/js/sap/ushell/services/_Personalization/Variant.js +5 -2
  287. package/src/main/js/sap/ushell/services/_Personalization/VariantSet.js +18 -12
  288. package/src/main/js/sap/ushell/services/_Personalization/utils.js +2 -2
  289. package/src/main/js/sap/ushell/services/_PluginManager/Extensions.js +1 -1
  290. package/src/main/js/sap/ushell/services/_PluginManager/HeaderExtensions.js +3 -3
  291. package/src/main/js/sap/ushell/services/_PluginManager/MenuExtensions.js +1 -1
  292. package/src/main/js/sap/ushell/services/_Ui5ComponentLoader/utils.js +1 -1
  293. package/src/main/js/sap/ushell/services/_UserRecents/RecentActivity.js +206 -214
  294. package/src/main/js/sap/ushell/services/_UserRecents/RecentAppsUsage.js +46 -54
  295. package/src/main/js/sap/ushell/services/_UserRecents/RecentsList.js +39 -40
  296. package/src/main/js/sap/ushell/services/_UserRecents/UserRecentsBase.js +29 -36
  297. package/src/main/js/sap/ushell/services/_VisualizationInstantiation/VizInstance.js +1 -1
  298. package/src/main/js/sap/ushell/services/_VisualizationInstantiation/VizInstanceAbap.js +1 -1
  299. package/src/main/js/sap/ushell/services/_VisualizationInstantiation/VizInstanceCdm.js +1 -1
  300. package/src/main/js/sap/ushell/services/_VisualizationInstantiation/VizInstanceLaunchPage.js +10 -8
  301. package/src/main/js/sap/ushell/services/_VisualizationInstantiation/VizInstanceLink.js +2 -2
  302. package/src/main/js/sap/ushell/services/appstate/LimitedBuffer.js +1 -2
  303. package/src/main/js/sap/ushell/services/appstate/Sequentializer.js +1 -1
  304. package/src/main/js/sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin.js +1 -1
  305. package/src/main/js/sap/ushell/themes/base/SearchCEP.less +8 -0
  306. package/src/main/js/sap/ushell/themes/base/ShellHeader.less +12 -6
  307. package/src/main/js/sap/ushell/themes/base/WorkPage.less +34 -4
  308. package/src/main/js/sap/ushell/themes/base/WorkPageCell.less +3 -1
  309. package/src/main/js/sap/ushell/themes/base/WorkPageColumn.less +3 -76
  310. package/src/main/js/sap/ushell/themes/base/WorkPageColumnResizer.less +2 -1
  311. package/src/main/js/sap/ushell/themes/base/WorkPageRow.less +822 -6
  312. package/src/main/js/sap/ushell/themes/sap_horizon/SearchCEP.less +4 -0
  313. package/src/main/js/sap/ushell/themes/sap_horizon/ToolAreaItem.less +1 -1
  314. package/src/main/js/sap/ushell/themes/sap_horizon_dark/SearchCEP.less +4 -0
  315. package/src/main/js/sap/ushell/themes/sap_horizon_dark/ToolAreaItem.less +1 -1
  316. package/src/main/js/sap/ushell/themes/sap_horizon_hcb/SearchCEP.less +5 -0
  317. package/src/main/js/sap/ushell/themes/sap_horizon_hcw/SearchCEP.less +5 -0
  318. package/src/main/js/sap/ushell/ui/AppContainer.js +0 -1
  319. package/src/main/js/sap/ushell/ui/ContentNodeSelector.js +1 -1
  320. package/src/main/js/sap/ushell/ui/QuickAccess.js +2 -2
  321. package/src/main/js/sap/ushell/ui/ShellHeader.js +21 -5
  322. package/src/main/js/sap/ushell/ui/ShellHeaderRenderer.js +1 -0
  323. package/src/main/js/sap/ushell/ui/appfinder/AppBox.js +0 -1
  324. package/src/main/js/sap/ushell/ui/bookmark/SaveOnPage.view.xml +6 -6
  325. package/src/main/js/sap/ushell/ui/cards/FrequentActivitiesExtension.js +1 -1
  326. package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +1 -1
  327. package/src/main/js/sap/ushell/ui/footerbar/AboutButton.js +0 -1
  328. package/src/main/js/sap/ushell/ui/footerbar/AddBookmarkButton.js +32 -17
  329. package/src/main/js/sap/ushell/ui/footerbar/ContactSupportButton.js +0 -1
  330. package/src/main/js/sap/ushell/ui/footerbar/JamDiscussButton.js +0 -1
  331. package/src/main/js/sap/ushell/ui/footerbar/JamShareButton.js +0 -1
  332. package/src/main/js/sap/ushell/ui/footerbar/LogoutButton.js +0 -1
  333. package/src/main/js/sap/ushell/ui/footerbar/SaveAsTile.view.js +1 -12
  334. package/src/main/js/sap/ushell/ui/footerbar/SendAsEmailButton.js +0 -1
  335. package/src/main/js/sap/ushell/ui/launchpad/ActionItem.js +0 -1
  336. package/src/main/js/sap/ushell/ui/launchpad/AnchorItem.js +0 -1
  337. package/src/main/js/sap/ushell/ui/launchpad/AnchorNavigationBar.js +0 -1
  338. package/src/main/js/sap/ushell/ui/launchpad/ExtendedChangeDetection.js +1 -1
  339. package/src/main/js/sap/ushell/ui/launchpad/FailedTileDialog.js +4 -4
  340. package/src/main/js/sap/ushell/ui/launchpad/GroupHeaderActions.js +0 -1
  341. package/src/main/js/sap/ushell/ui/launchpad/GroupListItem.js +0 -1
  342. package/src/main/js/sap/ushell/ui/launchpad/LinkTileWrapper.js +1 -1
  343. package/src/main/js/sap/ushell/ui/launchpad/LoadingDialog.js +0 -1
  344. package/src/main/js/sap/ushell/ui/launchpad/Page.js +1 -1
  345. package/src/main/js/sap/ushell/ui/launchpad/PlusTile.js +0 -1
  346. package/src/main/js/sap/ushell/ui/launchpad/Section.js +3 -3
  347. package/src/main/js/sap/ushell/ui/launchpad/Tile.js +0 -1
  348. package/src/main/js/sap/ushell/ui/launchpad/TileContainer.js +0 -1
  349. package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.js +4 -5
  350. package/src/main/js/sap/ushell/ui/shell/RightFloatingContainer.js +1 -1
  351. package/src/main/js/sap/ushell/ui/shell/ShellHeadItem.js +7 -8
  352. package/src/main/js/sap/ushell/ui/shell/SysInfoBar.js +1 -1
  353. package/src/main/js/sap/ushell/ui/shell/ToolAreaItem.js +1 -2
  354. package/src/main/js/sap/ushell/ui/tile/DynamicTile.js +0 -1
  355. package/src/main/js/sap/ushell/ui/tile/ImageTile.js +0 -1
  356. package/src/main/js/sap/ushell/ui/tile/StaticTile.js +0 -1
  357. package/src/main/js/sap/ushell/ui/tile/TileBase.js +0 -1
  358. package/src/main/js/sap/ushell/ui/utils.js +1 -1
  359. package/src/main/js/sap/ushell/ui5service/ShellUIService.js +1 -1
  360. package/src/main/js/sap/ushell/ui5service/UserStatus.js +1 -1
  361. package/src/main/js/sap/ushell/ui5service/_ShellUIService/shelluiservice.class.factory.js +1 -1
  362. package/src/main/js/sap/ushell/utils/HttpClient.js +0 -1
  363. package/src/main/js/sap/ushell/utils/RestrictedJSONModel.js +1 -1
  364. package/src/main/js/sap/ushell/utils/UrlParsing.js +18 -14
  365. package/src/main/js/sap/ushell/utils/UrlShortening.js +2 -2
  366. package/src/main/js/sap/ushell/utils/objectOperations.js +1 -1
  367. package/src/main/js/sap/ushell/utils/type.js +1 -1
  368. package/src/main/js/sap/ushell/utils/utilsCdm.js +3 -3
  369. package/src/main/js/sap/ushell/utils.js +128 -21
  370. package/src/test/js/sap/ushell/bootstrap/sandbox.js +2 -2
  371. package/ui5.yaml +1 -0
  372. 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.118.0
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 {jQuery.Promise} A jQuery Promise that is resolved to the list of updated activities.
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
- var oDeferred = new jQuery.Deferred();
111
-
112
- this.oRecentActivity.newItem(oActionItem)
113
- .done(function () {
114
- this.oRecentActivity.getRecentItems()
115
- .done(oDeferred.resolve)
116
- .fail(oDeferred.reject);
117
- }.bind(this))
118
- .fail(oDeferred.reject);
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 {jQuery.Promise} A jQuery promise that is resolved once all activities are cleared.
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 {jQuery.Promise} A jQuery Promise that is resolved to the list of activities.
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 {jQuery.Promise} A jQuery Promise that is resolved to a list of frequently used activities.
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 {jQuery.Promise} A jQuery Promise that is resolved to the list of updated entries for data sources.
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
- .done(function () {
174
+ .then(() => new Promise((resolve, reject) => {
181
175
  this.oRecentDataSources.getRecentItems()
182
- .done(oDeferred.resolve)
183
- .fail(oDeferred.reject);
184
- }.bind(this))
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 {jQuery.Promise} A jQuery Promise that is resolved to the list of updated entries for data sources.
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 = UserRecents.prototype.noticeDataSource;
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 {jQuery.Promise} A jQuery Promise that is resolved to the list of updated entries for data sources.
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 {jQuery.Promise} A jQuery Promise that is resolved to the updated list of recent searches.
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
- var oDeferred = new jQuery.Deferred();
231
-
232
- this.oRecentSearches.newItem(oSearchItem)
233
- .done(function () {
234
- this.oRecentSearches.getRecentItems()
235
- .done(oDeferred.resolve)
236
- .fail(oDeferred.reject);
237
- }.bind(this))
238
- .fail(oDeferred.reject);
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 {jQuery.Promise} A jQuery Promise that is resolved to the updated list of recent searches.
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 = UserRecents.prototype.noticeSearch;
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 {jQuery.Promise} A jQuery Promise that is resolved to the list of recent searches.
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 {jQuery.Promise} A jQuery Promise that is resolved to the updated list of recent apps.
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
- var oDeferred = new jQuery.Deferred();
281
-
282
- this.oRecentApps.newItem(oAppItem)
283
- .done(function () {
284
- this.oRecentApps.getRecentItems()
285
- .done(oDeferred.resolve)
286
- .fail(oDeferred.reject);
287
- }.bind(this))
288
- .fail(oDeferred.reject);
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 {jQuery.Promise} A jQuery Promise that is resolved to the updated list of recent apps.
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 = UserRecents.prototype.noticeApp;
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 {jQuery.Promise} A jQuery Promise that is resolved to the list of recent apps.
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 {jQuery.Promise} A jQuery Promise that is resolved to an object containing usage-per-hash map and the minimum and maximum values.
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
- * @file deals with the retrieval of visualization data in a platform independent way.
5
- * @version 1.118.0
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
- * @constructor
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<Object>} The map of catalog tiles
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.118.0
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
@@ -13,7 +13,7 @@
13
13
  * <p>This is a dependency of ClientSideTargetResolution. Interfaces exposed
14
14
  * by this module may change at any time without notice.</p>
15
15
  *
16
- * @version 1.118.0
16
+ * @version 1.119.2
17
17
  */
18
18
  sap.ui.define([
19
19
  ], function () {
@@ -27,7 +27,7 @@
27
27
  *
28
28
  * @private
29
29
  *
30
- * @version 1.118.0
30
+ * @version 1.119.2
31
31
  */
32
32
  sap.ui.define([
33
33
  "sap/base/util/ObjectPath",
@@ -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.118.0
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.118.0
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/ui/generic/app/navigation/service/SelectionVariant"
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.118.0
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 {number}
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 {number}
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 {number}
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 {number} countDefaultedParams Number of the default parameters without technical parameters
721
- * @property {number} countMatchingParams Number of inbound parameters that match the intent
722
- * @property {number} countMatchingRequiredParams Number inbound parameters that match the intent and are required.
723
- * @property {number} countMatchingFilterParams Number inbound parameters that match the intent and specify a filter value.
724
- * @property {number} countFreeInboundParams Number inbound parameters were not found in the intent
725
- * @property {number} countPotentiallyMatchingParams Number of intent parameters that can potentially match the inbound.
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]: {number}
870
+ * [one or more count* keys]: {int}
871
871
  * }
872
872
  * </pre>
873
873
  *
@@ -39,7 +39,7 @@
39
39
  *
40
40
  * This is a dependency of ClientSideTargetResolution. Interfaces exposed by this module may change at any time without notice.
41
41
  *
42
- * @version 1.118.0
42
+ * @version 1.119.2
43
43
  */
44
44
  sap.ui.define([
45
45
  "sap/base/Log",
@@ -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.118.0
11
+ * @version 1.119.2
12
12
  */
13
13
  sap.ui.define([
14
14
  "sap/base/util/ObjectPath",
@@ -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.118.0
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
- * @return {object} An object with dominated default parameters that must be deleted:
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
- * @return {object} The parameter dominator map. An object like:
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
- * @return {object} The object filtered based on the filter function.
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
- * @return {boolean} Whether the inbound signature conforms to the parameter filter options.
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
- * @return {object} An object containing the extracted parameters.
187
+ * @returns {object} An object containing the extracted parameters.
188
188
  */
189
189
  function extractParameters (aParamsToExtract, oWithParameters) {
190
190
  var oExtractedParameters = {};
@@ -12,7 +12,7 @@
12
12
  * <p>This is a dependency of ClientSideTargetResolution. Interfaces
13
13
  * exposed by this module may change at any time without notice.</p>
14
14
  *
15
- * @version 1.118.0
15
+ * @version 1.119.2
16
16
  */
17
17
  sap.ui.define([], function () {
18
18
  "use strict";
@@ -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.118.0
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/ui/generic/app/navigation/service/SelectionVariant",
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 {integer}
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.118.0
6
+ * @version 1.119.2
7
7
  */
8
8
  sap.ui.define([
9
9
  "sap/base/Log"
@@ -7,7 +7,7 @@
7
7
  * config handler which is called by the factory to generate an explicit
8
8
  * Adapter configuration
9
9
  *
10
- * @version 1.118.0
10
+ * @version 1.119.2
11
11
  * @private
12
12
  */
13
13
  sap.ui.define([
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * @fileOverview Provide mock feature group data
5
5
  *
6
- * @version 1.118.0
6
+ * @version 1.119.2
7
7
  * @private
8
8
  */
9
9
  sap.ui.define([