@sapui5/sap.ushell 1.119.3 → 1.120.1

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 (392) hide show
  1. package/package.json +1 -1
  2. package/src/main/js/sap/ushell/.library +3 -3
  3. package/src/main/js/sap/ushell/Container.js +272 -41
  4. package/src/main/js/sap/ushell/Fiori20Adapter.js +1 -1
  5. package/src/main/js/sap/ushell/Fiori20AdapterTest.js +3 -2
  6. package/src/main/js/sap/ushell/NWBCInterface.js +1 -1
  7. package/src/main/js/sap/ushell/SessionHandler.js +11 -6
  8. package/src/main/js/sap/ushell/TechnicalParameters.js +1 -1
  9. package/src/main/js/sap/ushell/URLTemplateProcessor.js +1 -1
  10. package/src/main/js/sap/ushell/Ui5NativeServiceFactory.js +1 -1
  11. package/src/main/js/sap/ushell/Ui5ServiceFactory.js +1 -1
  12. package/src/main/js/sap/ushell/User.js +26 -35
  13. package/src/main/js/sap/ushell/_ApplicationType/urlTemplateResolution.js +1 -1
  14. package/src/main/js/sap/ushell/_URLTemplateProcessor/DefinitionParameterSetBuilder.js +1 -1
  15. package/src/main/js/sap/ushell/_URLTemplateProcessor/DependencyGraph.js +1 -1
  16. package/src/main/js/sap/ushell/_URLTemplateProcessor/Functions.js +1 -1
  17. package/src/main/js/sap/ushell/_URLTemplateProcessor/Resolvers.js +1 -1
  18. package/src/main/js/sap/ushell/_URLTemplateProcessor/TemplateParameterParser.js +1 -1
  19. package/src/main/js/sap/ushell/_URLTemplateProcessor/utils.js +1 -1
  20. package/src/main/js/sap/ushell/adapters/cdm/ClientSideTargetResolutionAdapter.js +1 -1
  21. package/src/main/js/sap/ushell/adapters/cdm/CommonDataModelAdapter.js +15 -11
  22. package/src/main/js/sap/ushell/adapters/cdm/ConfigurationDefaultsAdapter.js +1 -1
  23. package/src/main/js/sap/ushell/adapters/cdm/ContainerAdapter.js +1 -1
  24. package/src/main/js/sap/ushell/adapters/cdm/LaunchPageAdapter.js +1 -1
  25. package/src/main/js/sap/ushell/adapters/cdm/PagesCommonDataModelAdapter.js +16 -11
  26. package/src/main/js/sap/ushell/adapters/cdm/PersonalizationAdapter.js +1 -1
  27. package/src/main/js/sap/ushell/adapters/cdm/PersonalizationV2Adapter.js +18 -0
  28. package/src/main/js/sap/ushell/adapters/cdm/Ui5ComponentLoaderAdapter.js +1 -1
  29. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/modifyHome.js +1 -1
  30. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readCatalogs.js +1 -1
  31. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readHome.js +1 -1
  32. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/uri.transform.js +1 -1
  33. package/src/main/js/sap/ushell/adapters/cdm/util/AppForInbound.js +1 -1
  34. package/src/main/js/sap/ushell/adapters/cdm/util/cdmSiteUtils.js +1 -1
  35. package/src/main/js/sap/ushell/adapters/cdm/v3/AdapterBase.js +1 -1
  36. package/src/main/js/sap/ushell/adapters/cdm/v3/LaunchPageAdapter.js +1 -1
  37. package/src/main/js/sap/ushell/adapters/cdm/v3/StaticGroupsAdapter.js +1 -1
  38. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readApplications.js +1 -1
  39. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readCatalogs.js +1 -1
  40. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readHome.js +1 -1
  41. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readPages.js +1 -1
  42. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readUtils.js +1 -1
  43. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations.js +1 -1
  44. package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionAdapter.js +1 -1
  45. package/src/main/js/sap/ushell/adapters/cep/SearchCEPAdapter.js +1 -1
  46. package/src/main/js/sap/ushell/adapters/cflp/UserDefaultParameterPersistenceAdapter.js +1 -1
  47. package/src/main/js/sap/ushell/adapters/local/AdapterContainer.js +1 -1
  48. package/src/main/js/sap/ushell/adapters/local/AppStateAdapter.js +24 -18
  49. package/src/main/js/sap/ushell/adapters/local/ClientSideTargetResolutionAdapter.js +1 -1
  50. package/src/main/js/sap/ushell/adapters/local/ContainerAdapter.js +1 -1
  51. package/src/main/js/sap/ushell/adapters/local/LaunchPageAdapter.js +1 -1
  52. package/src/main/js/sap/ushell/adapters/local/MenuAdapter.js +4 -7
  53. package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionAdapter.js +17 -22
  54. package/src/main/js/sap/ushell/adapters/local/PageBuildingAdapter.js +1 -1
  55. package/src/main/js/sap/ushell/adapters/local/PagePersistenceAdapter.js +1 -1
  56. package/src/main/js/sap/ushell/adapters/local/PersonalizationAdapter.js +1 -1
  57. package/src/main/js/sap/ushell/adapters/local/PersonalizationV2Adapter.js +19 -0
  58. package/src/main/js/sap/ushell/adapters/local/SearchAdapter.js +1 -1
  59. package/src/main/js/sap/ushell/adapters/local/SearchCEPAdapter.js +1 -1
  60. package/src/main/js/sap/ushell/adapters/local/SupportTicketAdapter.js +1 -1
  61. package/src/main/js/sap/ushell/adapters/local/Ui5ComponentLoaderAdapter.js +1 -1
  62. package/src/main/js/sap/ushell/adapters/local/UserDefaultParameterPersistenceAdapter.js +11 -7
  63. package/src/main/js/sap/ushell/adapters/local/UserInfoAdapter.js +8 -8
  64. package/src/main/js/sap/ushell/api/RTA.js +47 -0
  65. package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntime.js +12 -5
  66. package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntimeContext.js +2 -2
  67. package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/Ui5ComponentLoaderAdapter.js +1 -1
  68. package/src/main/js/sap/ushell/bootstrap/SchedulingAgent.js +2 -2
  69. package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/logger.js +1 -1
  70. package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/state.js +1 -1
  71. package/src/main/js/sap/ushell/bootstrap/cdm/cdm-def-dev.js +6 -3
  72. package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5datetimeformat.js +1 -1
  73. package/src/main/js/sap/ushell/bootstrap/common/common.configure.ushell.js +3 -0
  74. package/src/main/js/sap/ushell/bootstrap/common/common.load.launchpad.js +1 -1
  75. package/src/main/js/sap/ushell/bootstrap/common/common.util.js +34 -2
  76. package/src/main/js/sap/ushell/bootstrap/sandbox2.js +7 -2
  77. package/src/main/js/sap/ushell/components/ComponentKeysHandler.js +1 -1
  78. package/src/main/js/sap/ushell/components/HomepageManager.js +5 -5
  79. package/src/main/js/sap/ushell/components/SharedComponentUtils.js +7 -10
  80. package/src/main/js/sap/ushell/components/_HeaderManager/ShellHeader.controller.js +3 -3
  81. package/src/main/js/sap/ushell/components/_HomepageManager/DashboardLoadingManager.js +5 -0
  82. package/src/main/js/sap/ushell/components/_HomepageManager/PagingManager.js +5 -0
  83. package/src/main/js/sap/ushell/components/_HomepageManager/PersistentPageOperationAdapter.js +5 -0
  84. package/src/main/js/sap/ushell/components/_HomepageManager/TransientPageOperationAdapter.js +5 -0
  85. package/src/main/js/sap/ushell/components/appfinder/AppFinderView.js +1 -1
  86. package/src/main/js/sap/ushell/components/appfinder/CatalogView.js +1 -1
  87. package/src/main/js/sap/ushell/components/appfinder/EasyAccess.controller.js +3 -3
  88. package/src/main/js/sap/ushell/components/appfinder/EasyAccessView.js +0 -8
  89. package/src/main/js/sap/ushell/components/appfinder/HierarchyApps.controller.js +4 -4
  90. package/src/main/js/sap/ushell/components/appfinder/HierarchyFolders.controller.js +18 -16
  91. package/src/main/js/sap/ushell/components/appfinder/manifest.json +2 -2
  92. package/src/main/js/sap/ushell/components/applicationIntegration/AppLifeCycle.js +2 -2
  93. package/src/main/js/sap/ushell/components/applicationIntegration/application/Application.js +1 -1
  94. package/src/main/js/sap/ushell/components/applicationIntegration/application/BlueBoxHandler.js +1 -1
  95. package/src/main/js/sap/ushell/components/applicationIntegration/application/PostMessageAPI.js +2 -2
  96. package/src/main/js/sap/ushell/components/applicationIntegration/configuration/AppMeta.js +1 -1
  97. package/src/main/js/sap/ushell/components/applicationIntegration/elements/model.js +1 -1
  98. package/src/main/js/sap/ushell/components/applicationIntegration/relatedServices/RelatedServices.js +1 -1
  99. package/src/main/js/sap/ushell/components/applicationIntegration/relatedShellElements/RelatedShellElements.js +1 -1
  100. package/src/main/js/sap/ushell/components/cards/Card.controller.js +2 -2
  101. package/src/main/js/sap/ushell/components/container/ApplicationContainer.js +92 -71
  102. package/src/main/js/sap/ushell/components/contentFinder/Component.js +1 -1
  103. package/src/main/js/sap/ushell/components/contentFinder/controller/AppSearch.controller.js +1 -1
  104. package/src/main/js/sap/ushell/components/contentFinder/controller/ContentFinderDialog.controller.js +1 -1
  105. package/src/main/js/sap/ushell/components/contentFinder/controller/WidgetGallery.controller.js +1 -1
  106. package/src/main/js/sap/ushell/components/contentFinder/manifest.json +1 -1
  107. package/src/main/js/sap/ushell/components/contentFinder/model/formatter.js +4 -4
  108. package/src/main/js/sap/ushell/components/factsheet/Component.js +1 -1
  109. package/src/main/js/sap/ushell/components/homeApp/error/manifest.json +1 -1
  110. package/src/main/js/sap/ushell/components/homepage/ActionMode.js +1 -1
  111. package/src/main/js/sap/ushell/components/homepage/DashboardContent.view.js +1 -1
  112. package/src/main/js/sap/ushell/components/homepage/DashboardGroupsBox.js +1 -1
  113. package/src/main/js/sap/ushell/components/homepage/DashboardUIActions.js +1 -1
  114. package/src/main/js/sap/ushell/components/homepage/manifest.json +2 -2
  115. package/src/main/js/sap/ushell/components/pages/ActionMode.js +5 -5
  116. package/src/main/js/sap/ushell/components/pages/Component.js +1 -1
  117. package/src/main/js/sap/ushell/components/pages/MyHomeImport.js +1 -1
  118. package/src/main/js/sap/ushell/components/pages/StateManager.js +37 -24
  119. package/src/main/js/sap/ushell/components/pages/controller/ImportDialog.controller.js +1 -1
  120. package/src/main/js/sap/ushell/components/pages/controller/PageRuntime.controller.js +1 -1
  121. package/src/main/js/sap/ushell/components/pages/manifest.json +2 -2
  122. package/src/main/js/sap/ushell/components/runtimeSwitcher/controller/RuntimeSwitcher.controller.js +7 -4
  123. package/src/main/js/sap/ushell/components/runtimeSwitcher/manifest.json +1 -1
  124. package/src/main/js/sap/ushell/components/shell/MenuBar/controller/MenuBar.controller.js +6 -7
  125. package/src/main/js/sap/ushell/components/shell/MenuBar/manifest.json +2 -2
  126. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenu.controller.js +39 -13
  127. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/manifest.json +3 -3
  128. package/src/main/js/sap/ushell/components/shell/Notifications/Component.js +5 -5
  129. package/src/main/js/sap/ushell/components/shell/Notifications/Notifications.controller.js +25 -45
  130. package/src/main/js/sap/ushell/components/shell/PostLoadingHeaderEnhancement/Component.js +2 -2
  131. package/src/main/js/sap/ushell/components/shell/ProductSwitch/Component.js +1 -1
  132. package/src/main/js/sap/ushell/components/shell/Search/ESearch.js +1 -1
  133. package/src/main/js/sap/ushell/components/shell/Search/manifest.json +2 -2
  134. package/src/main/js/sap/ushell/components/shell/SearchCEP/Component.js +2 -2
  135. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchCEP.controller.js +3 -3
  136. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/FrequentActivityProvider.js +1 -1
  137. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/RecentSearchProvider.js +1 -1
  138. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchProvider.js +1 -1
  139. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchServiceProvider.js +1 -1
  140. package/src/main/js/sap/ushell/components/shell/Settings/Component.js +4 -4
  141. package/src/main/js/sap/ushell/components/shell/Settings/ProfilingLoader.js +4 -0
  142. package/src/main/js/sap/ushell/components/shell/Settings/UserSettings.controller.js +4 -0
  143. package/src/main/js/sap/ushell/components/shell/Settings/UserSettings.view.xml +4 -3
  144. package/src/main/js/sap/ushell/components/shell/Settings/homepage/HomepageEntry.js +10 -13
  145. package/src/main/js/sap/ushell/components/shell/Settings/notifications/NotificationsSetting.controller.js +13 -22
  146. package/src/main/js/sap/ushell/components/shell/Settings/userAccount/UserAccountSelector.controller.js +2 -2
  147. package/src/main/js/sap/ushell/components/shell/Settings/userActivities/UserActivitiesSetting.controller.js +11 -14
  148. package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/manifest.json +1 -1
  149. package/src/main/js/sap/ushell/components/shell/UserActionsMenu/Component.js +1 -1
  150. package/src/main/js/sap/ushell/components/shell/UserActionsMenu/UserActionsMenu.controller.js +2 -2
  151. package/src/main/js/sap/ushell/components/shell/UserImage/Component.js +2 -2
  152. package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/smartBusinessUtil.js +4 -6
  153. package/src/main/js/sap/ushell/components/visualizationOrganizer/Component.js +14 -18
  154. package/src/main/js/sap/ushell/components/workPageBuilder/Component.js +1 -1
  155. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.accessibility.js +1 -1
  156. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.controller.js +16 -12
  157. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageHost.js +1 -1
  158. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPage.js +1 -1
  159. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageButton.js +1 -1
  160. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageCell.js +1 -1
  161. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumn.js +1 -1
  162. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnResizer.js +1 -1
  163. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRow.js +1 -1
  164. package/src/main/js/sap/ushell/components/workPageBuilder/manifest.json +1 -1
  165. package/src/main/js/sap/ushell/components/workPageBuilder/view/WorkPageBuilder.view.xml +3 -3
  166. package/src/main/js/sap/ushell/components/workPageRuntime/Component.js +1 -1
  167. package/src/main/js/sap/ushell/components/workPageRuntime/controller/WorkPageRuntime.controller.js +1 -2
  168. package/src/main/js/sap/ushell/components/workPageRuntime/manifest.json +1 -1
  169. package/src/main/js/sap/ushell/components/workPageRuntime/services/NavigationResolver.js +1 -1
  170. package/src/main/js/sap/ushell/components/workPageRuntime/services/WorkPage.js +1 -1
  171. package/src/main/js/sap/ushell/designtime/ApplicationContainer.designtime.js +1 -1
  172. package/src/main/js/sap/ushell/library.js +1 -1
  173. package/src/main/js/sap/ushell/navigationMode.js +1 -1
  174. package/src/main/js/sap/ushell/performance/ShellAnalytics.js +1 -1
  175. package/src/main/js/sap/ushell/performance/StatisticalRecord.js +1 -1
  176. package/src/main/js/sap/ushell/plugins/appwarmup/Component.js +1 -1
  177. package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/AccessKeysHandler.js +1 -1
  178. package/src/main/js/sap/ushell/renderer/History.js +84 -0
  179. package/src/main/js/sap/ushell/renderer/LogonFrameProvider.js +96 -0
  180. package/src/main/js/sap/ushell/renderer/Renderer.js +2851 -0
  181. package/src/main/js/sap/ushell/renderer/Shell.controller.js +3155 -0
  182. package/src/main/js/sap/ushell/{renderers/fiori2/ShellAsync.view.js → renderer/Shell.view.js} +29 -18
  183. package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/ShellLayout.js +3 -3
  184. package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/allMyApps/AllMyApps.controller.js +4 -4
  185. package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/allMyApps/AllMyApps.view.xml +1 -1
  186. package/src/main/js/sap/ushell/renderer/allMyApps/AllMyAppsKeyboardHandler.js +108 -0
  187. package/src/main/js/sap/ushell/renderer/allMyApps/AllMyAppsManager.js +453 -0
  188. package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources.properties +4 -0
  189. package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/search/searchComponent/Component.js +3 -3
  190. package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/search/searchComponent/controller/CEPSearchApp.controller.js +1 -1
  191. package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/search/searchComponent/controller/SearchApp.controller.js +1 -1
  192. package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/search/searchComponent/manifest.json +2 -2
  193. package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/search/searchComponent/view/CEPSearchApp.view.js +2 -2
  194. package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/search/searchComponent/view/SearchApp.view.js +2 -2
  195. package/src/main/js/sap/ushell/renderers/fiori2/History.js +7 -68
  196. package/src/main/js/sap/ushell/renderers/fiori2/LogonFrameProvider.js +9 -79
  197. package/src/main/js/sap/ushell/renderers/fiori2/Renderer.js +101 -1882
  198. package/src/main/js/sap/ushell/renderers/fiori2/RendererExtensions.js +2 -3
  199. package/src/main/js/sap/ushell/renderers/fiori2/Shell.controller.js +8 -3130
  200. package/src/main/js/sap/ushell/renderers/fiori2/Shell.view.js +7 -7
  201. package/src/main/js/sap/ushell/renderers/fiori2/allMyApps/AllMyAppsKeyboardHandler.js +7 -92
  202. package/src/main/js/sap/ushell/renderers/fiori2/allMyApps/AllMyAppsManager.js +8 -438
  203. package/src/main/js/sap/ushell/resources.js +1 -1
  204. package/src/main/js/sap/ushell/services/AllMyApps.js +16 -7
  205. package/src/main/js/sap/ushell/services/AppConfiguration.js +12 -0
  206. package/src/main/js/sap/ushell/services/AppLifeCycle.js +11 -14
  207. package/src/main/js/sap/ushell/services/AppState.js +12 -8
  208. package/src/main/js/sap/ushell/services/Bookmark.js +15 -13
  209. package/src/main/js/sap/ushell/services/BookmarkV2.js +919 -0
  210. package/src/main/js/sap/ushell/services/ClientSideTargetResolution.js +229 -241
  211. package/src/main/js/sap/ushell/services/CommonDataModel.js +14 -4
  212. package/src/main/js/sap/ushell/services/Configuration.js +12 -11
  213. package/src/main/js/sap/ushell/services/ConfigurationDefaults.js +13 -10
  214. package/src/main/js/sap/ushell/services/Container.js +1 -1
  215. package/src/main/js/sap/ushell/services/ContentExtensionAdapterFactory.js +1 -1
  216. package/src/main/js/sap/ushell/services/CrossApplicationNavigation.js +8 -6
  217. package/src/main/js/sap/ushell/services/DarkModeSupport.js +16 -10
  218. package/src/main/js/sap/ushell/services/EndUserFeedback.js +1 -1
  219. package/src/main/js/sap/ushell/services/Extension/FloatingContainer.js +103 -0
  220. package/src/main/js/sap/ushell/services/Extension/Footer.js +61 -0
  221. package/src/main/js/sap/ushell/services/Extension/Header.js +193 -0
  222. package/src/main/js/sap/ushell/services/Extension/Item.js +195 -0
  223. package/src/main/js/sap/ushell/services/Extension/SidePane.js +155 -0
  224. package/src/main/js/sap/ushell/services/Extension/ToolArea.js +152 -0
  225. package/src/main/js/sap/ushell/services/Extension.js +381 -0
  226. package/src/main/js/sap/ushell/services/LaunchPage.js +1 -1
  227. package/src/main/js/sap/ushell/services/Menu.js +48 -59
  228. package/src/main/js/sap/ushell/services/Message.js +15 -14
  229. package/src/main/js/sap/ushell/services/MessageBroker.js +12 -12
  230. package/src/main/js/sap/ushell/services/NavTargetResolution.js +48 -70
  231. package/src/main/js/sap/ushell/services/Navigation/utils.js +565 -0
  232. package/src/main/js/sap/ushell/services/Navigation.js +152 -139
  233. package/src/main/js/sap/ushell/services/NavigationDataProvider.js +11 -8
  234. package/src/main/js/sap/ushell/services/Notifications.js +118 -1523
  235. package/src/main/js/sap/ushell/services/NotificationsV2.js +1872 -0
  236. package/src/main/js/sap/ushell/services/PageBuilding.js +11 -8
  237. package/src/main/js/sap/ushell/services/PagePersistence.js +11 -8
  238. package/src/main/js/sap/ushell/services/PageReferencing.js +11 -8
  239. package/src/main/js/sap/ushell/services/Pages.js +11 -15
  240. package/src/main/js/sap/ushell/services/Personalization.js +5 -3
  241. package/src/main/js/sap/ushell/services/PersonalizationV2/ContextContainer.js +410 -0
  242. package/src/main/js/sap/ushell/services/PersonalizationV2/Personalizer.js +109 -0
  243. package/src/main/js/sap/ushell/services/PersonalizationV2/TransientPersonalizer.js +57 -0
  244. package/src/main/js/sap/ushell/services/PersonalizationV2/Variant.js +180 -0
  245. package/src/main/js/sap/ushell/services/PersonalizationV2/VariantSet.js +296 -0
  246. package/src/main/js/sap/ushell/services/PersonalizationV2/VariantSetAdapter.js +125 -0
  247. package/src/main/js/sap/ushell/services/PersonalizationV2/WindowAdapter.js +71 -0
  248. package/src/main/js/sap/ushell/services/PersonalizationV2/WindowAdapterContainer.js +172 -0
  249. package/src/main/js/sap/ushell/services/PersonalizationV2/constants.js +23 -0
  250. package/src/main/js/sap/ushell/services/PersonalizationV2/constants.private.js +18 -0
  251. package/src/main/js/sap/ushell/services/PersonalizationV2/utils.js +233 -0
  252. package/src/main/js/sap/ushell/services/PersonalizationV2.js +641 -0
  253. package/src/main/js/sap/ushell/services/PluginManager.js +47 -55
  254. package/src/main/js/sap/ushell/services/ReferenceResolver.js +61 -54
  255. package/src/main/js/sap/ushell/services/Search.js +15 -2
  256. package/src/main/js/sap/ushell/services/SearchCEP.js +40 -44
  257. package/src/main/js/sap/ushell/services/SearchableContent.js +9 -9
  258. package/src/main/js/sap/ushell/services/ShellNavigation.js +14 -13
  259. package/src/main/js/sap/ushell/services/SmartNavigation.js +1 -1
  260. package/src/main/js/sap/ushell/services/SpaceContent.js +9 -10
  261. package/src/main/js/sap/ushell/services/SupportTicket.js +14 -14
  262. package/src/main/js/sap/ushell/services/UITracer.js +31 -35
  263. package/src/main/js/sap/ushell/services/URLParsing.js +9 -11
  264. package/src/main/js/sap/ushell/services/URLShortening.js +1 -1
  265. package/src/main/js/sap/ushell/services/URLTemplate.js +14 -13
  266. package/src/main/js/sap/ushell/services/Ui5ComponentLoader.js +29 -26
  267. package/src/main/js/sap/ushell/services/UsageAnalytics.js +6 -0
  268. package/src/main/js/sap/ushell/services/UserDefaultParameterPersistence.js +11 -7
  269. package/src/main/js/sap/ushell/services/UserDefaultParameters.js +20 -26
  270. package/src/main/js/sap/ushell/services/UserInfo.js +44 -23
  271. package/src/main/js/sap/ushell/services/UserRecents.js +13 -5
  272. package/src/main/js/sap/ushell/services/VisualizationDataProvider.js +12 -9
  273. package/src/main/js/sap/ushell/services/VisualizationInstantiation.js +10 -8
  274. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Formatter.js +1 -1
  275. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/InboundIndex.js +1 -1
  276. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/InboundProvider.js +1 -1
  277. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/PrelaunchOperations.js +1 -1
  278. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Search.js +1 -1
  279. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/StagedLogger.js +1 -1
  280. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/SystemContext.js +1 -1
  281. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Utils.js +3 -4
  282. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/VirtualInbounds.js +4 -4
  283. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/XAppStateProcessing.js +1 -1
  284. package/src/main/js/sap/ushell/services/_CommonDataModel/SiteConverter.js +1 -1
  285. package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/ContentExtensionAdapterConfig.js +1 -1
  286. package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/FeaturedGroupConfig.js +1 -1
  287. package/src/main/js/sap/ushell/services/_CrossApplicationNavigation/utils.js +2 -1
  288. package/src/main/js/sap/ushell/services/_MessageBroker/MessageBrokerEngine.js +1 -1
  289. package/src/main/js/sap/ushell/services/_PageReferencing/PageReferencer.js +1 -1
  290. package/src/main/js/sap/ushell/services/_Personalization/ContextContainer.js +6 -0
  291. package/src/main/js/sap/ushell/services/_Personalization/PersonalizationContainer.js +5 -1
  292. package/src/main/js/sap/ushell/services/_Personalization/PersonalizationContainerVariant.js +13 -9
  293. package/src/main/js/sap/ushell/services/_Personalization/PersonalizationContainerVariantSet.js +17 -13
  294. package/src/main/js/sap/ushell/services/_Personalization/Personalizer.js +5 -0
  295. package/src/main/js/sap/ushell/services/_Personalization/TransientPersonalizer.js +5 -1
  296. package/src/main/js/sap/ushell/services/_Personalization/Variant.js +4 -0
  297. package/src/main/js/sap/ushell/services/_Personalization/VariantSet.js +17 -9
  298. package/src/main/js/sap/ushell/services/_Personalization/VariantSetAdapter.js +4 -6
  299. package/src/main/js/sap/ushell/services/_Personalization/WindowAdapter.js +5 -44
  300. package/src/main/js/sap/ushell/services/_Personalization/WindowAdapterContainer.js +5 -101
  301. package/src/main/js/sap/ushell/services/_Personalization/constants.js +3 -0
  302. package/src/main/js/sap/ushell/services/_Personalization/constants.private.js +3 -0
  303. package/src/main/js/sap/ushell/services/_Personalization/utils.js +3 -0
  304. package/src/main/js/sap/ushell/services/_PluginManager/Extensions.js +1 -1
  305. package/src/main/js/sap/ushell/services/_PluginManager/HeaderExtensions.js +1 -1
  306. package/src/main/js/sap/ushell/services/_PluginManager/MenuExtensions.js +1 -1
  307. package/src/main/js/sap/ushell/services/_Ui5ComponentLoader/utils.js +29 -5
  308. package/src/main/js/sap/ushell/services/_UserRecents/UserRecentsBase.js +19 -27
  309. package/src/main/js/sap/ushell/services/_VisualizationInstantiation/VizInstance.js +4 -0
  310. package/src/main/js/sap/ushell/services/_VisualizationInstantiation/VizInstanceAbap.js +3 -0
  311. package/src/main/js/sap/ushell/services/_VisualizationInstantiation/VizInstanceLink.js +1 -1
  312. package/src/main/js/sap/ushell/services/personalization/VariantSetAdapter.js +13 -15
  313. package/src/main/js/sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin.js +1 -1
  314. package/src/main/js/sap/ushell/themes/sap_horizon/ShellAppTitle.less +4 -4
  315. package/src/main/js/sap/ushell/themes/sap_horizon_dark/ShellAppTitle.less +4 -4
  316. package/src/main/js/sap/ushell/themes/sap_horizon_hcb/ShellAppTitle.less +2 -2
  317. package/src/main/js/sap/ushell/themes/sap_horizon_hcw/ShellAppTitle.less +2 -2
  318. package/src/main/js/sap/ushell/ui/AppContainer.js +2 -2
  319. package/src/main/js/sap/ushell/ui/ContentNodeSelector.js +2 -2
  320. package/src/main/js/sap/ushell/ui/ShellHeader.js +2 -2
  321. package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +1 -1
  322. package/src/main/js/sap/ushell/ui/footerbar/AddBookmarkButton.js +8 -12
  323. package/src/main/js/sap/ushell/ui/launchpad/ExtendedChangeDetection.js +1 -1
  324. package/src/main/js/sap/ushell/ui/launchpad/Page.js +1 -1
  325. package/src/main/js/sap/ushell/ui/launchpad/Section.js +21 -8
  326. package/src/main/js/sap/ushell/ui/launchpad/TileState.js +0 -1
  327. package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.js +1 -1
  328. package/src/main/js/sap/ushell/ui/shell/ShellAppTitle.js +1 -1
  329. package/src/main/js/sap/ushell/ui/shell/ShellHeadItem.js +1 -1
  330. package/src/main/js/sap/ushell/ui/shell/SysInfoBar.js +1 -1
  331. package/src/main/js/sap/ushell/ui/shell/ToolAreaItem.js +1 -1
  332. package/src/main/js/sap/ushell/ui/utils.js +1 -1
  333. package/src/main/js/sap/ushell/ui5service/ShellUIService.js +1 -1
  334. package/src/main/js/sap/ushell/ui5service/UserStatus.js +1 -1
  335. package/src/main/js/sap/ushell/ui5service/_ShellUIService/shelluiservice.class.factory.js +14 -26
  336. package/src/main/js/sap/ushell/utils/Deferred.js +88 -0
  337. package/src/main/js/sap/ushell/utils/UrlShortening.js +1 -1
  338. package/src/main/js/sap/ushell/utils/WindowUtils.js +8 -8
  339. package/src/main/js/sap/ushell/utils.js +31 -67
  340. package/src/test/js/sap/ushell/bootstrap/sandbox.js +7 -2
  341. package/ui5.yaml +8 -2
  342. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/HeadEndItemsOverflowPopover.fragment.xml +0 -0
  343. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources_ar.properties +0 -0
  344. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources_bg.properties +0 -0
  345. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources_ca.properties +0 -0
  346. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources_cs.properties +0 -0
  347. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources_cy.properties +0 -0
  348. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources_da.properties +0 -0
  349. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources_de.properties +0 -0
  350. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources_el.properties +0 -0
  351. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources_en.properties +0 -0
  352. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources_en_GB.properties +0 -0
  353. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources_en_US_sappsd.properties +0 -0
  354. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources_en_US_saprigi.properties +0 -0
  355. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources_en_US_saptrc.properties +0 -0
  356. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources_es.properties +0 -0
  357. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources_es_MX.properties +0 -0
  358. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources_et.properties +0 -0
  359. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources_fi.properties +0 -0
  360. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources_fr.properties +0 -0
  361. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources_fr_CA.properties +0 -0
  362. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources_hi.properties +0 -0
  363. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources_hr.properties +0 -0
  364. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources_hu.properties +0 -0
  365. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources_id.properties +0 -0
  366. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources_it.properties +0 -0
  367. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources_iw.properties +0 -0
  368. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources_ja.properties +0 -0
  369. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources_kk.properties +0 -0
  370. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources_ko.properties +0 -0
  371. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources_lt.properties +0 -0
  372. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources_lv.properties +0 -0
  373. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources_ms.properties +0 -0
  374. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources_nl.properties +0 -0
  375. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources_no.properties +0 -0
  376. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources_pl.properties +0 -0
  377. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources_pt.properties +0 -0
  378. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources_pt_PT.properties +0 -0
  379. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources_ro.properties +0 -0
  380. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources_ru.properties +0 -0
  381. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources_sh.properties +0 -0
  382. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources_sk.properties +0 -0
  383. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources_sl.properties +0 -0
  384. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources_sv.properties +0 -0
  385. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources_th.properties +0 -0
  386. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources_tr.properties +0 -0
  387. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources_uk.properties +0 -0
  388. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources_vi.properties +0 -0
  389. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources_zh_CN.properties +0 -0
  390. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/resources/resources_zh_TW.properties +0 -0
  391. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/search/util.js +0 -0
  392. /package/src/main/js/sap/ushell/{renderers/fiori2 → renderer}/utils.js +0 -0
@@ -2,14 +2,16 @@
2
2
 
3
3
  /**
4
4
  * @file RuntimeSwitcher's controller for RuntimeSwitcher's view
5
- * @version 1.119.3
5
+ * @version 1.120.1
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/ui/core/mvc/Controller",
9
- "sap/ushell/components/pages/controller/PagesAndSpaceId"
9
+ "sap/ushell/components/pages/controller/PagesAndSpaceId",
10
+ "sap/base/util/UriParameters"
10
11
  ], function (
11
12
  Controller,
12
- PagesAndSpaceId
13
+ PagesAndSpaceId,
14
+ UriParameters
13
15
  ) {
14
16
  "use strict";
15
17
 
@@ -65,7 +67,8 @@
65
67
  return oMenuService.isWorkPage(sPageId);
66
68
  })
67
69
  .then(function (bIsWorkPage) {
68
- if (bIsWorkPage) {
70
+ // allow to force using the workpages runtime via URL parameter
71
+ if (bIsWorkPage || UriParameters.fromQuery(window.location.search).get("sap-ushell-rt") === "workpage") {
69
72
  this._toggleToWorkPagesRuntime();
70
73
  } else {
71
74
  this._toggleToPagesRuntime();
@@ -3,7 +3,7 @@
3
3
  "sap.app": {
4
4
  "id": "sap.ushell.components.runtimeSwitcher",
5
5
  "applicationVersion": {
6
- "version": "1.119.3"
6
+ "version": "1.120.1"
7
7
  },
8
8
  "ach": "CA-FLP-FE-COR",
9
9
  "type": "component",
@@ -106,7 +106,7 @@ sap.ui.define([
106
106
  var oDestinationIntent = this._getNestedMenuEntryByUid(aMenuEntries, sSelectedMenuEntryKey);
107
107
 
108
108
  if (oDestinationIntent.type === "IBN") {
109
- this._performCrossApplicationNavigation(oDestinationIntent.target);
109
+ this._performNavigation(oDestinationIntent.target);
110
110
  }
111
111
 
112
112
  if (oDestinationIntent.type === "URL") {
@@ -155,11 +155,10 @@ sap.ui.define([
155
155
  },
156
156
 
157
157
  /**
158
- * Performs a Cross Application Navigation to the provided intent using the
159
- * CrossApplicationNavigation service.
158
+ * Performs a navigation to the provided intent using the Navigation service.
160
159
  *
161
160
  * @param {object} destinationTarget
162
- * The destination target which is used for the Cross Application Navigation
161
+ * The destination target which is used for the Navigation
163
162
  *
164
163
  * @returns {Promise<undefined>}
165
164
  * A promise which is resolved after the CrossAppNavigation is performed
@@ -167,8 +166,8 @@ sap.ui.define([
167
166
  * @private
168
167
  * @since 1.74.0
169
168
  */
170
- _performCrossApplicationNavigation: function (destinationTarget) {
171
- return sap.ushell.Container.getServiceAsync("CrossApplicationNavigation").then(function (oCANService) {
169
+ _performNavigation: function (destinationTarget) {
170
+ return sap.ushell.Container.getServiceAsync("Navigation").then(function (oNavigationService) {
172
171
  var oParams = {};
173
172
  destinationTarget.parameters.forEach(function (oParameter) {
174
173
  if (oParameter.name && oParameter.value) {
@@ -176,7 +175,7 @@ sap.ui.define([
176
175
  }
177
176
  });
178
177
 
179
- oCANService.toExternal({
178
+ oNavigationService.navigate({
180
179
  target: {
181
180
  semanticObject: destinationTarget.semanticObject,
182
181
  action: destinationTarget.action
@@ -3,10 +3,10 @@
3
3
  "sap.app": {
4
4
  "id": "sap.ushell.components.shell.MenuBar",
5
5
  "applicationVersion": {
6
- "version": "1.119.3"
6
+ "version": "1.120.1"
7
7
  },
8
8
  "i18n": {
9
- "bundleUrl": "../../../renderers/fiori2/resources/resources.properties",
9
+ "bundleUrl": "../../../renderer/resources/resources.properties",
10
10
  "supportedLocales": [
11
11
  "",
12
12
  "ar",
@@ -4,7 +4,7 @@
4
4
  * @fileOverview Controller for the NavigationBarMenu Popover. It is responsible for Popover handling, model binding, persistence
5
5
  * logic to pin, unpin and rearrange pinned spaces as well as executing navigation.
6
6
  *
7
- * @version 1.119.3
7
+ * @version 1.120.1
8
8
  * @private
9
9
  */
10
10
  sap.ui.define([
@@ -172,10 +172,37 @@ sap.ui.define([
172
172
  */
173
173
  unpinAllSpaces: function () {
174
174
  var oPinnedSpaces = this.byId("PinnedSpaces");
175
- var aSpacesToUnpin = oPinnedSpaces.getItems();
176
- aSpacesToUnpin.forEach(function (oSpaceToUnpin) {
177
- this._unpinSpace(oSpaceToUnpin.getBindingContextPath("spaces"), false);
178
- }.bind(this));
175
+ var aNavBarItems = oPinnedSpaces.getModel("spaces").getData();
176
+ aNavBarItems = aNavBarItems.map(function (oNavBarItem) {
177
+ oNavBarItem.pinnedSortOrder = parseInt(oNavBarItem.pinnedSortOrder, 10);
178
+ return oNavBarItem;
179
+ });
180
+ var aSpacesToUnpin = aNavBarItems.sort(function (oItemA, oItemB) {
181
+ if (oItemA.pinnedSortOrder < oItemB.pinnedSortOrder) {
182
+ return -1;
183
+ }
184
+
185
+ if (oItemA.pinnedSortOrder > oItemB.pinnedSortOrder) {
186
+ return 1;
187
+ }
188
+
189
+ return 0;
190
+ });
191
+ var oSpaceToUnpin;
192
+ var bRemovableSpace = false;
193
+ for (var i = 0; i < aSpacesToUnpin.length; ++i) {
194
+ oSpaceToUnpin = aSpacesToUnpin[i];
195
+
196
+ if (bRemovableSpace) {
197
+ oSpaceToUnpin.pinned = false;
198
+ oSpaceToUnpin.pinnedSortOrder = "-1";
199
+ } else {
200
+ oSpaceToUnpin.pinnedSortOrder = "" + oSpaceToUnpin.pinnedSortOrder;
201
+ if (oSpaceToUnpin.type === "separator") {
202
+ bRemovableSpace = true;
203
+ }
204
+ }
205
+ }
179
206
  this._savePinnedSpaces();
180
207
  },
181
208
 
@@ -397,11 +424,10 @@ sap.ui.define([
397
424
  },
398
425
 
399
426
  /**
400
- * Performs a Cross Application Navigation to the provided intent using the
401
- * CrossApplicationNavigation service.
427
+ * Performs a navigation to the provided intent using the Navigation service.
402
428
  *
403
429
  * @param {object} oDestinationTarget
404
- * The destination target which is used for the Cross Application Navigation
430
+ * The destination target which is used for the navigation
405
431
  *
406
432
  * @returns {Promise}
407
433
  * A promise which is resolved after the CrossAppNavigation is performed
@@ -409,9 +435,9 @@ sap.ui.define([
409
435
  * @private
410
436
  * @since 1.114.0
411
437
  */
412
- _performCrossApplicationNavigation: function (oDestinationTarget) {
413
- return sap.ushell.Container.getServiceAsync("CrossApplicationNavigation")
414
- .then(function (oCANService) {
438
+ _performNavigation: function (oDestinationTarget) {
439
+ return sap.ushell.Container.getServiceAsync("Navigation")
440
+ .then(function (oNavigationService) {
415
441
  var oParams = {};
416
442
  oDestinationTarget.parameters.forEach(function (oParameter) {
417
443
  if (oParameter.name && oParameter.value) {
@@ -419,7 +445,7 @@ sap.ui.define([
419
445
  }
420
446
  });
421
447
 
422
- return oCANService.toExternal({
448
+ return oNavigationService.navigate({
423
449
  target: {
424
450
  semanticObject: oDestinationTarget.semanticObject,
425
451
  action: oDestinationTarget.action
@@ -465,7 +491,7 @@ sap.ui.define([
465
491
  if (oListItem.isLeaf()) {
466
492
  // Intent based navigation
467
493
  if (oListItemModelEntry.type === "IBN") {
468
- this._performCrossApplicationNavigation(oListItemModelEntry.target)
494
+ this._performNavigation(oListItemModelEntry.target)
469
495
  .then(this.closeNavigationBarMenuPopover.bind(this));
470
496
  }
471
497
 
@@ -3,10 +3,10 @@
3
3
  "sap.app": {
4
4
  "id": "sap.ushell.components.shell.NavigationBarMenu",
5
5
  "applicationVersion": {
6
- "version": "1.119.3"
6
+ "version": "1.120.1"
7
7
  },
8
8
  "i18n": {
9
- "bundleUrl": "../../../renderers/fiori2/resources/resources.properties",
9
+ "bundleUrl": "../../../renderer/resources/resources.properties",
10
10
  "fallbackLocale": "en"
11
11
  },
12
12
  "type": "component",
@@ -40,7 +40,7 @@
40
40
  "i18n": {
41
41
  "type": "sap.ui.model.resource.ResourceModel",
42
42
  "settings": {
43
- "bundleName": "sap.ushell.renderers.fiori2.resources.resources"
43
+ "bundleName": "sap.ushell.renderer.resources.resources"
44
44
  }
45
45
  }
46
46
  },
@@ -44,7 +44,7 @@ sap.ui.define([
44
44
 
45
45
  return UIComponent.extend("sap.ushell.components.shell.Notifications.Component", {
46
46
  metadata: {
47
- version: "1.119.3",
47
+ version: "1.120.1",
48
48
  library: "sap.ushell.components.shell.Notifications",
49
49
  dependencies: {
50
50
  libs: ["sap.m"]
@@ -55,7 +55,7 @@ sap.ui.define([
55
55
  this._aTimeouts = [];
56
56
  this.oRenderer = sap.ushell.Container.getRenderer("fiori2");
57
57
  this.oShellModel = this.oRenderer.shellCtrl.getModel();
58
- sap.ushell.Container.getServiceAsync("Notifications").then(function (oNotificationsService) {
58
+ sap.ushell.Container.getServiceAsync("NotificationsV2").then(function (oNotificationsService) {
59
59
 
60
60
  this.oNotificationsService = oNotificationsService;
61
61
 
@@ -65,7 +65,7 @@ sap.ui.define([
65
65
  this.oNotificationsService.init();
66
66
  if (this.oRenderer.getShellConfig().enableNotificationsUI === true) {
67
67
  this.oShellModel.setProperty("/enableNotificationsUI", true);
68
- this.oNotificationsService.registerDependencyNotificationsUpdateCallback(this._updateCount.bind(this), true);
68
+ this.oNotificationsService.registerNotificationsUpdateCallback(this._updateCount.bind(this), true);
69
69
  }
70
70
  this._createNotificationButton(this.oShellModel);
71
71
  //ElementsModel, not shell model. Need only 3 state, for this reason call directly
@@ -143,9 +143,9 @@ sap.ui.define([
143
143
  // Update the notifications count in the UI
144
144
  // The new count is also displayed when the notifications popover is already opened
145
145
  _updateCount: function () {
146
- this.oNotificationsService.getUnseenNotificationsCount().done(function (iNumberOfNotifications) {
146
+ this.oNotificationsService.getUnseenNotificationsCount().then(function (iNumberOfNotifications) {
147
147
  this.oShellModel.setProperty("/notificationsCount", parseInt(iNumberOfNotifications, 10));
148
- }.bind(this)).fail(function (data) {
148
+ }.bind(this)).catch(function (data) {
149
149
  Log.error("Notifications - call to notificationsService.getCount failed: ", data);
150
150
  });
151
151
  },
@@ -169,7 +169,7 @@ sap.ui.define([
169
169
  // Fetch a buffer of notification items from notification service
170
170
  oPromise = this.oNotificationsService.getNotificationsBufferBySortingType(sCurrentSorting, iNumberOfItemsInModel, iNumberOfItemsToFetch);
171
171
 
172
- oPromise.done(function (oResult) {
172
+ oPromise.then(function (oResult) {
173
173
  var dNotificationsUserSettingsAvailability = this.oNotificationsService._getNotificationSettingsAvailability();
174
174
  if (dNotificationsUserSettingsAvailability.state() === "pending") {
175
175
  this.oNotificationsService._userSettingInitialization();
@@ -177,7 +177,7 @@ sap.ui.define([
177
177
  this.addBufferToModel(sCurrentSorting, oResult);
178
178
  }.bind(this));
179
179
 
180
- oPromise.fail(function (/*oResult*/) {
180
+ oPromise.catch(function (/*oResult*/) {
181
181
  if (iNumberOfItemsInModel === 0) {
182
182
  this.removeBusyIndicatorToTabFilter(sCurrentSorting);
183
183
  this.handleError();
@@ -210,11 +210,11 @@ sap.ui.define([
210
210
  // Fetch a buffer of notification items from notification service
211
211
  oPromise = this.oNotificationsService.getNotificationsBufferInGroup(selectedTypeId, iNumberOfItemsInModel, this.iMaxNotificationItemsForDevice);
212
212
 
213
- oPromise.done(function (oResult) {
213
+ oPromise.then(function (oResult) {
214
214
  this.addTypeBufferToModel(selectedTypeId, oResult, false);
215
215
  }.bind(this));
216
216
 
217
- oPromise.fail(function (/*oResult*/) {
217
+ oPromise.catch(function (/*oResult*/) {
218
218
  this.getNextBufferFailHandler(sSortingType);
219
219
  }.bind(this));
220
220
  },
@@ -321,9 +321,8 @@ sap.ui.define([
321
321
  * - Registered as callback using a call to this.oNotificationsService.registerNotificationsUpdateCallback
322
322
  * - Called by Notifications service when updated notifications data is obtained
323
323
  * - Gets the updated notifications array and sets the model accordingly
324
- * @param {object} oDependenciesDeferred Dependencies promise
325
324
  */
326
- notificationsUpdateCallback: function (oDependenciesDeferred) {
325
+ notificationsUpdateCallback: function () {
327
326
  var that = this,
328
327
  sCurrentSorting = this.sCurrentSorting,
329
328
  aCurrentItems,
@@ -332,10 +331,6 @@ sap.ui.define([
332
331
 
333
332
  if (sCurrentSorting === this.oSortingType.NOTIFICATIONS_BY_TYPE_DESCENDING) {
334
333
  this.notificationsUpdateCallbackForType();
335
-
336
- // If there is any flow in any module that depends on this flow - release it
337
- // see notification service private API registerDependencyNotificationsUpdateCallback
338
- oDependenciesDeferred.resolve();
339
334
  return;
340
335
  }
341
336
 
@@ -350,18 +345,14 @@ sap.ui.define([
350
345
 
351
346
  iNumberOfItemsToFetch = this.getNumberOfItemsToFetchOnUpdate(iNumberOfItemsInModel);
352
347
 
353
- this.oNotificationsService.getNotificationsBufferBySortingType(sCurrentSorting, 0, iNumberOfItemsToFetch).done(function (aNotifications) {
348
+ this.oNotificationsService.getNotificationsBufferBySortingType(sCurrentSorting, 0, iNumberOfItemsToFetch).then(function (aNotifications) {
354
349
  if (!aNotifications) {
355
350
  return;
356
351
  }
357
352
 
358
- // If there is any flow in any module that depends on this flow - release it
359
- // see notification service private API registerDependencyNotificationsUpdateCallback
360
- oDependenciesDeferred.resolve();
361
-
362
353
  // Updating the model with the updated array of notification objects
363
354
  that.replaceItemsInModel(sCurrentSorting, aNotifications, iNumberOfItemsToFetch);
364
- }).fail(function (data) {
355
+ }).catch(function (data) {
365
356
  Log.error("Notifications control - call to notificationsService.getNotificationsBufferBySortingType failed: ",
366
357
  data,
367
358
  "sap.ushell.components.shell.Notifications.Notifications");
@@ -423,10 +414,10 @@ sap.ui.define([
423
414
  var oPromise = this.oNotificationsService.getNotificationsGroupHeaders(),
424
415
  that = this,
425
416
  aGroups = that.getView().getModel().getProperty("/" + that.oSortingType.NOTIFICATIONS_BY_TYPE_DESCENDING);
426
- oPromise.fail(function (data) {
417
+ oPromise.catch(function (data) {
427
418
  Log.error("Notifications control - call to notificationsService.updateGroupHeaders failed: ", data, "sap.ushell.components.shell.Notifications.Notifications");
428
419
  });
429
- oPromise.done(function (notificationsByType) {
420
+ oPromise.then(function (notificationsByType) {
430
421
  var oJson = JSON.parse(notificationsByType),
431
422
  arr = oJson.value;
432
423
 
@@ -449,24 +440,13 @@ sap.ui.define([
449
440
 
450
441
  updateNotificationsByDate: function () {
451
442
  var iTop = this.getNumberOfItemsToFetchOnScroll(this.sCurrentSorting);
452
- var aCurrentNotifications = this.getView().getModel().getProperty("/" + this.sCurrentSorting);
453
443
 
454
444
  this.oNotificationsService.getNotificationsBufferBySortingType(this.sCurrentSorting, 0, iTop)
455
- .done(function (aNotifications) {
456
- aNotifications.forEach(function (item) {
457
- for (var i = 0; i < aCurrentNotifications.length; i++) {
458
- if (aCurrentNotifications[i].Id === item.Id) {
459
- // Add item at the beginning of the current list of notifications if it did not yet exist.
460
- aCurrentNotifications.unshift(item);
461
- break;
462
- }
463
- }
464
- });
465
-
466
- this.getView().getModel().setProperty("/" + this.sCurrentSorting, aCurrentNotifications);
445
+ .then(function (aNotifications) {
446
+ this.getView().getModel().setProperty("/" + this.sCurrentSorting + "/aNotifications", aNotifications);
467
447
  this.removeBusyIndicatorToTabFilter(this.oSortingType.NOTIFICATIONS_BY_DATE_DESCENDING);
468
448
  }.bind(this))
469
- .fail(function (error) {
449
+ .catch(function (error) {
470
450
  Log.error("Notifications control - call to notificationsService.getNotificationsBufferBySortingType failed: ", error, "sap.ushell.components.shell.Notifications.Notifications");
471
451
  this.removeBusyIndicatorToTabFilter(this.oSortingType.NOTIFICATIONS_BY_DATE_DESCENDING);
472
452
  }.bind(this));
@@ -475,11 +455,11 @@ sap.ui.define([
475
455
  reloadGroupHeaders: function () {
476
456
  var oPromise = this.oNotificationsService.getNotificationsGroupHeaders(),
477
457
  that = this;
478
- oPromise.fail(function (data) {
458
+ oPromise.catch(function (data) {
479
459
  Log.error("Notifications control - call to notificationsService.getNotificationsGroupHeaders failed: ", data, "sap.ushell.components.shell.Notifications.Notifications");
480
460
  that.removeBusyIndicatorToTabFilter(that.oSortingType.NOTIFICATIONS_BY_TYPE_DESCENDING);
481
461
  });
482
- oPromise.done(function (notificationsByType) {
462
+ oPromise.then(function (notificationsByType) {
483
463
  var oJson = JSON.parse(notificationsByType),
484
464
  arr = oJson.value,
485
465
  result = [];
@@ -497,7 +477,7 @@ sap.ui.define([
497
477
  markRead: function (sNotificationId) {
498
478
  var oPromise = this.oNotificationsService.markRead(sNotificationId),
499
479
  that = this;
500
- oPromise.fail(function () {
480
+ oPromise.catch(function () {
501
481
  _errorMessage(resources.i18n.getText("notificationsFailedMarkRead"));
502
482
  that.setMarkReadOnModel(sNotificationId, false);
503
483
  });
@@ -509,7 +489,7 @@ sap.ui.define([
509
489
  onBeforeRendering: function () {
510
490
  if (!this._bDependencyCallbackRegistered) { // register once: the service registration is primitive and does not remove duplicates
511
491
  this._bDependencyCallbackRegistered = true;
512
- this.oNotificationsService.registerDependencyNotificationsUpdateCallback(this.notificationsUpdateCallback.bind(this), false);
492
+ this.oNotificationsService.registerNotificationsUpdateCallback(this.notificationsUpdateCallback.bind(this), false);
513
493
  }
514
494
  },
515
495
 
@@ -531,7 +511,7 @@ sap.ui.define([
531
511
  if (sNotificationTypeDesc === "") {
532
512
  sNotificationTypeDesc = this.getView().getModel().getProperty(sPathToNotification + "/NotificationTypeKey");
533
513
  }
534
- oPromise.fail(function (oResult) {
514
+ oPromise.catch(function (oResult) {
535
515
  this.getView().getModel().setProperty(sPathToNotification + "/Busy", false);
536
516
 
537
517
  if (oResult && oResult.succededNotifications && oResult.succededNotifications.length) {
@@ -566,7 +546,7 @@ sap.ui.define([
566
546
  }
567
547
  }.bind(this));
568
548
 
569
- oPromise.done(function () {
549
+ oPromise.then(function () {
570
550
  sMessage = resources.i18n.getText("notificationsSuccessExecuteBulkAction", [
571
551
  sGroupActionText, sNotificationTypeDesc
572
552
  ]);
@@ -586,7 +566,7 @@ sap.ui.define([
586
566
  oPromise = this.oNotificationsService.dismissNotification(notificationId);
587
567
  // There is need to load again the other 2 tabs, therefore we need to "clean" other models.
588
568
  this.cleanModel();
589
- oPromise.fail(function () {
569
+ oPromise.catch(function () {
590
570
  _errorMessage(resources.i18n.getText("notificationsFailedDismiss"));
591
571
  that.addNotificationToModel(oRemovedNotification.obj, oRemovedNotification.index);
592
572
  });
@@ -597,7 +577,7 @@ sap.ui.define([
597
577
  oPromise = this.oNotificationsService.dismissBulkNotifications(oGroup.Id);
598
578
  // There is need to load again the other 2 tabs, therefore we need to "clean" other models.
599
579
  this.cleanModel();
600
- oPromise.fail(function () {
580
+ oPromise.catch(function () {
601
581
  _errorMessage(resources.i18n.getText("notificationsFailedExecuteBulkAction"));
602
582
  this.reAddFailedGroup(oRemovedGroup);
603
583
  }.bind(this));
@@ -957,7 +937,7 @@ sap.ui.define([
957
937
 
958
938
  oModel.setProperty(sPathToNotification + "/Busy", true);
959
939
 
960
- this.executeAction(sNotificationId, oNotificationModelPart.ActionId).done(function (responseAck) {
940
+ this.executeAction(sNotificationId, oNotificationModelPart.ActionId).then(function (responseAck) {
961
941
  if (responseAck && responseAck.isSucessfull) {
962
942
  sap.ui.require(["sap/m/MessageToast"], function (MessageToast) {
963
943
  if (responseAck.message && responseAck.message.length) {
@@ -982,7 +962,7 @@ sap.ui.define([
982
962
  _errorMessage(resources.i18n.getText("notificationsFailedExecuteAction"));
983
963
  }
984
964
  oModel.setProperty(sPathToNotification + "/Busy", false);
985
- }.bind(this)).fail(function () {
965
+ }.bind(this)).catch(function () {
986
966
  oModel.setProperty(sPathToNotification + "/Busy", false);
987
967
  _errorMessage(resources.i18n.getText("notificationsFailedExecuteAction"));
988
968
  });
@@ -1063,7 +1043,7 @@ sap.ui.define([
1063
1043
  * @returns {int} Basic buffer size
1064
1044
  */
1065
1045
  getNumberOfItemsToFetchOnScroll: function (sSortingType) {
1066
- var iCurrentNumberOfItems = this.getItemsFromModel(sSortingType).length,
1046
+ var iCurrentNumberOfItems = (this.getItemsFromModel(sSortingType) || []).length,
1067
1047
  iBasicBufferSize = this.getBasicBufferSize();
1068
1048
 
1069
1049
  if (iCurrentNumberOfItems >= this.iMaxNotificationItemsForDevice) {
@@ -1192,11 +1172,11 @@ sap.ui.define([
1192
1172
  if (selectedTypeId) {
1193
1173
  oPromise = this.oNotificationsService.getNotificationsBufferInGroup(selectedTypeId, 0, this.getNumberOfItemsToFetchOnUpdate(iNumberOfItemsInModel));
1194
1174
 
1195
- oPromise.done(function (oResult) {
1175
+ oPromise.then(function (oResult) {
1196
1176
  this.addTypeBufferToModel(selectedTypeId, oResult, true);
1197
1177
  }.bind(this));
1198
1178
 
1199
- oPromise.fail(function (oResult) {
1179
+ oPromise.catch(function (oResult) {
1200
1180
  this.getNextBufferFailHandler(oResult);
1201
1181
  }.bind(this));
1202
1182
  }
@@ -107,8 +107,8 @@ sap.ui.define([
107
107
  tooltip: resources.i18n.getText("open_appFinderBtn"),
108
108
  icon: "sap-icon://sys-find",
109
109
  press: function () {
110
- sap.ushell.Container.getServiceAsync("CrossApplicationNavigation").then(function (oCAN) {
111
- oCAN.toExternal({
110
+ sap.ushell.Container.getServiceAsync("Navigation").then(function (oNavService) {
111
+ oNavService.navigate({
112
112
  target: {
113
113
  semanticObject: "Shell",
114
114
  action: "appfinder"
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  return UIComponent.extend("sap.ushell.components.shell.ProductSwitch.Component", {
34
34
 
35
35
  metadata: {
36
- version: "1.119.3",
36
+ version: "1.120.1",
37
37
  library: "sap.ushell.components.shell.ProductSwitch",
38
38
  dependencies: {
39
39
  libs: {
@@ -5,7 +5,7 @@ sap.ui.define([
5
5
  "sap/ui/core/IconPool",
6
6
  "sap/ui/core/routing/HashChanger",
7
7
  "sap/ui/thirdparty/jquery",
8
- "sap/ushell/renderers/fiori2/search/util"
8
+ "sap/ushell/renderer/search/util"
9
9
  ], function (resources, IconPool, HashChanger, jQuery, util) {
10
10
  "use strict";
11
11
 
@@ -4,10 +4,10 @@
4
4
  "id": "sap.ushell.components.shell.Search",
5
5
 
6
6
  "applicationVersion": {
7
- "version": "1.119.3"
7
+ "version": "1.120.1"
8
8
  },
9
9
  "i18n": {
10
- "bundleUrl": "../../../renderers/fiori2/resources/resources.properties",
10
+ "bundleUrl": "../../../renderer/resources/resources.properties",
11
11
  "fallbackLocale": "en"
12
12
  },
13
13
  "type": "component",
@@ -11,7 +11,7 @@ sap.ui.define([
11
11
  "sap/base/Log",
12
12
  "sap/ushell/resources",
13
13
  "sap/ui/core/IconPool",
14
- "sap/ushell/renderers/fiori2/search/util",
14
+ "sap/ushell/renderer/search/util",
15
15
  "sap/ushell/ui/shell/ShellHeadItem",
16
16
  "sap/ui/Device",
17
17
  "sap/ui/core/Core",
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
 
25
25
  return UIComponent.extend("sap.ushell.components.shell.SearchCEP.Component", {
26
26
  metadata: {
27
- version: "1.119.3",
27
+ version: "1.120.1",
28
28
  library: ["sap.ushell", "sap.ushell.components.shell"],
29
29
  dependencies: {
30
30
  libs: ["sap.m"]
@@ -937,9 +937,9 @@ sap.ui.define([
937
937
  sTerm + "\",\"rootCondition\":{\"type\":\"Complex\",\"operator\":\"And\",\"conditions\":[]}}";
938
938
  }
939
939
 
940
- var pNavServicePromise = sap.ushell.Container.getServiceAsync("CrossApplicationNavigation");
941
- pNavServicePromise.then(function (oCrossAppNavService) {
942
- oCrossAppNavService.toExternal({
940
+ var pNavServicePromise = sap.ushell.Container.getServiceAsync("Navigation");
941
+ pNavServicePromise.then(function (oNavigationService) {
942
+ oNavigationService.navigate({
943
943
  target: {
944
944
  shellHash: sHash
945
945
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @fileOverview
5
- * @version 1.119.3
5
+ * @version 1.120.1
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/base/Log"
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @fileOverview
5
- * @version 1.119.3
5
+ * @version 1.120.1
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/base/Log"
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @fileOverview This module is the search provider main interface
5
- * @version 1.119.3
5
+ * @version 1.120.1
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/ushell/resources",
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @fileOverview This module handles the navigation service search actions
5
- * @version 1.119.3
5
+ * @version 1.120.1
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/base/Log",
@@ -48,7 +48,7 @@ sap.ui.define([
48
48
  return UIComponent.extend("sap.ushell.components.shell.Settings.Component", {
49
49
 
50
50
  metadata: {
51
- version: "1.119.3",
51
+ version: "1.120.1",
52
52
  library: "sap.ushell",
53
53
  dependencies: {
54
54
  libs: {
@@ -141,16 +141,16 @@ sap.ui.define([
141
141
  * @private
142
142
  */
143
143
  _addNotificationSettings: function () {
144
- sap.ushell.Container.getServiceAsync("Notifications").then(function (service) {
144
+ sap.ushell.Container.getServiceAsync("NotificationsV2").then(function (service) {
145
145
  service._userSettingInitialization();
146
- service._getNotificationSettingsAvailability().done(function (status) {
146
+ service._getNotificationSettingsAvailability().then(function (status) {
147
147
  if (status.settingsAvailable) {
148
148
  var aEntities = Config.last("/core/userPreferences/entries");
149
149
  aEntities.push(NotificationsEntry.getEntry());
150
150
  Config.emit("/core/userPreferences/entries", aEntities);
151
151
  }
152
152
  });
153
- });
153
+ }).catch(() => {}); // Notification settings are not available, do nothing.
154
154
  },
155
155
 
156
156
  /**
@@ -1,5 +1,9 @@
1
1
  // Copyright (c) 2009-2023 SAP SE, All Rights Reserved
2
2
 
3
+ /**
4
+ * @deprecated since 1.120. UsageAnalytics service is deprecated, because
5
+ * cloud service "SAP Web Analytics" has been retired.
6
+ */
3
7
  sap.ui.define([
4
8
  "sap/ushell/Config"
5
9
  ], function (Config) {
@@ -371,6 +371,10 @@ sap.ui.define([
371
371
  }
372
372
  },
373
373
 
374
+ _afterMasterClose: function () {
375
+ this._updateHeaderButtonVisibility(false);
376
+ },
377
+
374
378
  /**
375
379
  * Handles the entry item press
376
380
  *