@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
@@ -1,8 +1,8 @@
1
1
  // Copyright (c) 2009-2023 SAP SE, All Rights Reserved
2
2
 
3
3
  /**
4
- * @file Exposes a CommonDataModel based site document in a platform neutral format to it's clients
5
- * @version 1.119.3
4
+ * @file Exposes a CommonDataModel-based site document in a platform-neutral format to it's clients
5
+ * @version 1.120.1
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/ushell/services/_CommonDataModel/PersonalizationProcessor",
@@ -59,6 +59,15 @@ sap.ui.define([
59
59
  };
60
60
 
61
61
  /**
62
+ * @alias sap.ushell.services.CommonDataModel
63
+ * @class
64
+ * @classdesc The Unified Shell's CommonDataModel service.
65
+ * Exposes a CommonDataModel-based site document in a platform-neutral format to its clients.
66
+ *
67
+ * <b>Note:</b> To retrieve a valid instance of this service, it is necessary to call
68
+ * <code>sap.ushell.Container.getServiceAsync("CommonDataModel")</code>. For details, see
69
+ * {@link sap.ushell.services.Container#getServiceAsync}.
70
+ *
62
71
  * @param {object} oAdapter
63
72
  * Adapter, provides an array of Inbounds
64
73
  * @param {object} oContainerInterface
@@ -68,9 +77,10 @@ sap.ui.define([
68
77
  * @param {object} oServiceConfiguration
69
78
  * The service configuration not in use
70
79
  *
71
- * @class
72
- * @see {@link sap.ushell.services.Container#getServiceAsync}
80
+ * @hideconstructor
81
+ *
73
82
  * @since 1.40.0
83
+ * @private
74
84
  */
75
85
  function CommonDataModel (oAdapter, oContainerInterface, sParameters, oServiceConfiguration) {
76
86
  this._oAdapter = oAdapter;
@@ -4,7 +4,7 @@
4
4
  * @fileOverview The Unified Shell's Configuration service enables Components of any kind to consume parts of Configuration
5
5
  * provided by the shell. It allows to attach on updates and receive the current values
6
6
  *
7
- * @version 1.119.3
7
+ * @version 1.120.1
8
8
  */
9
9
  sap.ui.define([
10
10
  "sap/ushell/Config",
@@ -13,17 +13,18 @@ sap.ui.define([
13
13
  "use strict";
14
14
 
15
15
  /**
16
- * This method MUST be called by the Unified Shell's container only, others MUST call
17
- * <code>sap.ushell.Container.getServiceAsync("Configuration").then(function (Configuration) {});</code>.
18
- * Constructs a new Configuration service.
16
+ * @alias sap.ushell.services.Configuration
17
+ * @class
18
+ * @classdesc The unified shell's Configuration service.
19
+ * Allows attaching to <b>selected</b> launchpad configuration settings and their value changes.
19
20
  *
20
- * @name sap.ushell.services.Configuration
21
+ * <b>Note:</b> To retrieve a valid instance of this service, it is necessary to call
22
+ * <code>sap.ushell.Container.getServiceAsync("Configuration")</code>. For details, see
23
+ * {@link sap.ushell.services.Container#getServiceAsync}.
21
24
  *
22
- * @class The unified shell's Configuration service, which allows to attach to <b>selected</b>
23
- * launchpad configuration settings and their value changes.
25
+ * @hideconstructor
24
26
  *
25
27
  * @since 1.64.0
26
- * @see sap.ushell.services.Container#getServiceAsync
27
28
  * @public
28
29
  */
29
30
  function Configuration () {
@@ -33,9 +34,9 @@ sap.ui.define([
33
34
  * The returned value can directly be used in {@link sap.m.GenericTile#sizeBehavior}.
34
35
  *
35
36
  * Once attached, <code>fnCallback</code> will be called once initially for the <b>current value</b>
36
- * and afterwards everytime the value changed.
37
+ * and afterwards every time the value changed.
37
38
  *
38
- * Please ensure to detach from the registry by calling <code>.detach</code> on the retuned object
39
+ * Please ensure to detach from the registry by calling <code>.detach</code> on the returned object
39
40
  * e.g. in the destroy function of your component or controller! Make sure that you do not attach
40
41
  * twice with the same function as otherwise a detach cannot be performed later!
41
42
  *
@@ -46,7 +47,7 @@ sap.ui.define([
46
47
  * // the callback that is called whenever the property changes
47
48
  * var fnCallback = function (sSizeBehavior) {
48
49
  * // do something with sSizeBehavior like setting it on a
49
- * // sap.m.GernericTile via model and data binding!
50
+ * // sap.m.GenericTile via model and data binding!
50
51
  * };
51
52
  *
52
53
  *
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * @fileOverview The Unified Shell's Configuration Defaults service exposes default configurations set in the code base.
5
5
  *
6
- * @version 1.119.3
6
+ * @version 1.120.1
7
7
  */
8
8
  sap.ui.define([
9
9
  "sap/base/Log",
@@ -12,17 +12,20 @@ sap.ui.define([
12
12
  "use strict";
13
13
 
14
14
  /**
15
- * This method MUST be called by the Unified Shell's container only, others MUST call
16
- * <code>sap.ushell.Container.getServiceAsync("ConfigurationDefaults").then(function (ConfigurationDefaults) {});</code>.
17
- * Constructs a new Configuration service.
15
+ * @alias sap.ushell.services.ConfigurationDefaults
16
+ * @class
17
+ * @classdesc The Unified Shell's Configuration Defaults service.
18
+ * Exposes default configurations set in the code base.
18
19
  *
19
- * @name sap.ushell.services.ConfigurationDefaults
20
+ * <b>Note:</b> To retrieve a valid instance of this service, it is necessary to call
21
+ * <code>sap.ushell.Container.getServiceAsync("ConfigurationDefaults")</code>. For details, see
22
+ * {@link sap.ushell.services.Container#getServiceAsync}.
20
23
  *
21
24
  * @param {object} oAdapter The service adapter for the ConfigurationDefaults service
22
25
  *
23
- * @class
26
+ * @hideconstructor
27
+ *
24
28
  * @since 1.70.0
25
- * @see sap.ushell.services.Container#getServiceAsync
26
29
  * @private
27
30
  */
28
31
  function ConfigurationDefaults (oAdapter) {
@@ -57,9 +60,9 @@ sap.ui.define([
57
60
  var aResult = aConfigurationPaths.reduce(function (oDefaultsResult, sPath) {
58
61
  var oResolvedDefaults;
59
62
  if (that._isValidConfigPath(sPath)) {
60
- var aPath = sPath.split("/"),
61
- sPropertyName = aPath.pop(),
62
- oObject = oDefaultConfig;
63
+ var aPath = sPath.split("/");
64
+ var sPropertyName = aPath.pop();
65
+ var oObject = oDefaultConfig;
63
66
 
64
67
  for (var i = 0; i < aPath.length && oObject; i++) {
65
68
  oObject = oObject[aPath[i]];
@@ -14,7 +14,7 @@ sap.ui.define([
14
14
  *
15
15
  * @param {object} oAdapter the platform-specific adapter corresponding to this service
16
16
  * @class
17
- * @classdesc The Unified Shell's container which manages renderers, services, and adapters.
17
+ * @classdesc The Unified Shell's container. Manages renderers, services, and adapters.
18
18
  * @alias sap.ushell.services.Container
19
19
  * @since 1.15.0
20
20
  * @deprecated since 1.101
@@ -4,7 +4,7 @@
4
4
  * default adapter.
5
5
  * Once instantiated, returns a map of adapters to be used by the LaunchPage Service
6
6
  *
7
- * @version 1.119.3
7
+ * @version 1.120.1
8
8
  */
9
9
  sap.ui.define([
10
10
  "sap/ushell/Config",
@@ -5,8 +5,8 @@
5
5
  * This file exposes an API to perform (invoke) Cross Application Navigation for applications.
6
6
  * It exposes interfaces to perform a hash change and/or trigger an external navigation.
7
7
  *
8
- * @deprecated since 1.120
9
- * @version 1.119.3
8
+ * @deprecated since 1.120 Please use {@link sap.ushell.services.Navigation} instead
9
+ * @version 1.120.1
10
10
  */
11
11
  sap.ui.define([
12
12
  "sap/ushell/services/AppConfiguration",
@@ -50,8 +50,9 @@ sap.ui.define([
50
50
  /**
51
51
  * @alias sap.ushell.services.CrossApplicationNavigation
52
52
  * @class
53
- * @classdesc The Unified Shell's CrossApplicationNavigation service allows to navigate to "external" targets outside of the currently running app (but still in scope
54
- * of the current Fiori launchpad) or create links to such external targets.
53
+ * @classdesc The Unified Shell's CrossApplicationNavigation service.
54
+ * Allows navigating to "external" targets outside of the currently running app (but still in scope of the current Fiori launchpad)
55
+ * or to create links to such external targets.
55
56
  *
56
57
  * To use the CrossApplicationNavigation service you can retrieve an instance via ushell's Container:
57
58
  * <pre>
@@ -113,6 +114,7 @@ sap.ui.define([
113
114
  * @see sap.ushell.services.Container#getServiceAsync
114
115
  *
115
116
  * @since 1.15.0
117
+ * @deprecated since 1.120 Please use {@link sap.ushell.services.Navigation} instead
116
118
  * @public
117
119
  */
118
120
  function CrossApplicationNavigation (oContainerInterface, sParameters, oServiceConf) {
@@ -746,7 +748,7 @@ sap.ui.define([
746
748
  * A navigation to the Fiori launchpad Home is performed when this method is called on a first navigation.
747
749
  * In all other cases, this function simply performs a browser back navigation.
748
750
  *
749
- * Please note that the behavior of this method is subject to change and therefore it may not yield to the expected results
751
+ * Note that the behavior of this method is subject to change and therefore it may not yield to the expected results
750
752
  * especially on mobile devices where "back" is the previous inner-app state if these are put into the history!
751
753
  *
752
754
  * @returns {Promise<undefined>} A promise which resolves once the back navigation was triggered
@@ -1387,7 +1389,7 @@ sap.ui.define([
1387
1389
  * <ul>
1388
1390
  * <li>
1389
1391
  * <b>required</b>: whether the parameter must be required (true) or not required (false) in the signature of the matching target
1390
- * (once the navigation occurs to the returned link). Please note that this option will be effective if the Fiori Launchpad is
1392
+ * (once the navigation occurs to the returned link). Note that this option will be effective if the Fiori Launchpad is
1391
1393
  * configured to resolve navigation targets via <code>sap.ushell.services.ClientSideTargetResolution</code>
1392
1394
  * and therefore may not be supported in all platforms.<br />
1393
1395
  *
@@ -5,7 +5,7 @@
5
5
  *
6
6
  * The service provide dark mode support functionality
7
7
  *
8
- * @version 1.119.3
8
+ * @version 1.120.1
9
9
  */
10
10
  sap.ui.define([
11
11
  "sap/base/Log",
@@ -27,10 +27,16 @@ sap.ui.define([
27
27
  var PREFERS_DARK_COLOR_QUERY = "(prefers-color-scheme: dark)";
28
28
 
29
29
  /**
30
- * Dark Mode service.
31
- *
32
- * @name sap.ushell.services.DarkModeSupport
30
+ * @alias sap.ushell.services.DarkModeSupport
33
31
  * @class
32
+ * @classdesc Dark Mode service.
33
+ *
34
+ * <b>Note:</b> To retrieve a valid instance of this service, it is necessary to call
35
+ * <code>sap.ushell.Container.getServiceAsync("DarkModeSupport")</code>. For details, see
36
+ * {@link sap.ushell.services.Container#getServiceAsync}.
37
+ *
38
+ * @hideconstructor
39
+ *
34
40
  * @since 1.72.0
35
41
  * @private
36
42
  */
@@ -130,8 +136,8 @@ sap.ui.define([
130
136
  DarkModeSupport.prototype._toggleDarkModeBasedOnSystemColorScheme = function () {
131
137
  var sCurrentTheme = this._getCurrentTheme();
132
138
  if (this.darkMediaQueryList && this.isThemeSupportDarkMode(sCurrentTheme)) {
133
- var oSupportedThemePair = this._findSupportedThemePair(sCurrentTheme),
134
- bIsDarkModeInSystem = this.darkMediaQueryList.matches;
139
+ var oSupportedThemePair = this._findSupportedThemePair(sCurrentTheme);
140
+ var bIsDarkModeInSystem = this.darkMediaQueryList.matches;
135
141
 
136
142
  var sToTheme = bIsDarkModeInSystem ? oSupportedThemePair.dark : oSupportedThemePair.light;
137
143
  sap.ushell.Container.getUser().applyTheme(sToTheme);
@@ -152,8 +158,8 @@ sap.ui.define([
152
158
  * @private
153
159
  */
154
160
  DarkModeSupport.prototype.toggleModeChange = function () {
155
- var sCurrentTheme = this._getCurrentTheme(),
156
- oSupportedThemePair = this._findSupportedThemePair(sCurrentTheme);
161
+ var sCurrentTheme = this._getCurrentTheme();
162
+ var oSupportedThemePair = this._findSupportedThemePair(sCurrentTheme);
157
163
  if (oSupportedThemePair) {
158
164
  var sToTheme = sCurrentTheme === oSupportedThemePair.light
159
165
  ? oSupportedThemePair.dark
@@ -211,8 +217,8 @@ sap.ui.define([
211
217
  * @private
212
218
  */
213
219
  DarkModeSupport.prototype.getCurrentThemeMode = function () {
214
- var sCurrentTheme = this._getCurrentTheme(),
215
- oSupportedThemePair = this._findSupportedThemePair(sCurrentTheme);
220
+ var sCurrentTheme = this._getCurrentTheme();
221
+ var oSupportedThemePair = this._findSupportedThemePair(sCurrentTheme);
216
222
  if (oSupportedThemePair) {
217
223
  return sCurrentTheme === oSupportedThemePair.light
218
224
  ? DarkModeSupport.Mode.LIGHT
@@ -17,7 +17,7 @@ sap.ui.define([
17
17
  * @class
18
18
  * @classdesc The Unified Shell's end user feedback service.
19
19
  * This service is deprecated and does nothing.
20
- * End user feedback functionality s not part of the ushell library.
20
+ * End user feedback functionality is not part of the ushell library.
21
21
  *
22
22
  * @public
23
23
  * @see sap.ushell.services.Container#getServiceAsync
@@ -0,0 +1,103 @@
1
+ // Copyright (c) 2009-2023 SAP SE, All Rights Reserved
2
+
3
+ /**
4
+ * @fileOverview Defines the interface for extensions in the FloatingContainer ShellArea.
5
+ *
6
+ * @version 1.120.1
7
+ */
8
+ sap.ui.define([
9
+ "sap/ushell/Container"
10
+ ], function (
11
+ Container
12
+ ) {
13
+ "use strict";
14
+
15
+ /**
16
+ * @alias sap.ushell.services.Extension.FloatingContainer
17
+ * @class
18
+ * @classdesc The FloatingContainer.
19
+ * To be instantiated by {@link sap.ushell.services.Extension}.
20
+ * <p><b>Restriction:</b> Might be ignored for apps running in an iframe</p>
21
+ *
22
+ * @hideconstructor
23
+ *
24
+ * @since 1.120.0
25
+ * @experimental since 1.120.0
26
+ * @private
27
+ * @ui5-restricted
28
+ */
29
+ class FloatingContainer {
30
+ #renderer = Container.getRendererInternal();
31
+ #eventDelegate = null;
32
+
33
+ /**
34
+ * Sets the content of the FloatingContainer.
35
+ * @param {sap.ui.core.Control} control The actual content of the extension.
36
+ * @param {string} dragSelector CSS selector describing the drag handle to enable drag and drop.
37
+ * @returns {sap.ushell.services.Extension.FloatingContainer} this to allow method chaining.
38
+ *
39
+ * @since 1.120.0
40
+ * @private
41
+ * @ui5-restricted
42
+ */
43
+ setContent (control, dragSelector) {
44
+ this.#renderer.setFloatingContainerContent(control);
45
+ this.#eventDelegate = {
46
+ onAfterRendering: () => {
47
+ this.#renderer.setFloatingContainerDragSelector(dragSelector);
48
+ }
49
+ };
50
+ control.addEventDelegate(this.#eventDelegate, this);
51
+ return this;
52
+ }
53
+
54
+ /**
55
+ * @returns {sap.ushell.services.Extension.FloatingContainer} this to allow method chaining.
56
+ *
57
+ * @since 1.120.0
58
+ * @private
59
+ * @ui5-restricted
60
+ */
61
+ show () {
62
+ this.#renderer.setFloatingContainerVisibility(true);
63
+ return this;
64
+ }
65
+
66
+ /**
67
+ * @returns {sap.ushell.services.Extension.FloatingContainer} this to allow method chaining.
68
+ *
69
+ * @since 1.120.0
70
+ * @private
71
+ * @ui5-restricted
72
+ */
73
+ hide () {
74
+ this.#renderer.setFloatingContainerVisibility(false);
75
+ return this;
76
+ }
77
+
78
+ /**
79
+ * @returns {Promise<boolean>} Whether the floating container is currently in <code>docked</code> state.
80
+ *
81
+ * @since 1.120.0
82
+ * @private
83
+ * @ui5-restricted
84
+ */
85
+ async isDocked () {
86
+ const sFloatingContainerState = this.#renderer.getFloatingContainerState() || "";
87
+ return sFloatingContainerState.startsWith("docked");
88
+ }
89
+
90
+ /**
91
+ * @returns {Promise<boolean>} Whether the floating container is currently visible.
92
+ *
93
+ * @since 1.120.0
94
+ * @private
95
+ * @ui5-restricted
96
+ */
97
+ async isVisible () {
98
+ return this.#renderer.getFloatingContainerVisiblity();
99
+ }
100
+ }
101
+
102
+ return FloatingContainer;
103
+ });
@@ -0,0 +1,61 @@
1
+ // Copyright (c) 2009-2023 SAP SE, All Rights Reserved
2
+
3
+ /**
4
+ * @fileOverview Defines the interface for extensions in the Footer ShellArea.
5
+ *
6
+ * @version 1.120.1
7
+ */
8
+ sap.ui.define([
9
+ "sap/ushell/Container"
10
+ ], function (
11
+ Container
12
+ ) {
13
+ "use strict";
14
+
15
+ /**
16
+ * @alias sap.ushell.services.Extension.Footer
17
+ * @class
18
+ * @classdesc The footer extension point is positioned below the launchpad content.
19
+ * To be instantiated by {@link sap.ushell.services.Extension}.
20
+ * <p><b>Restriction:</b> Might be ignored for apps running in an iframe</p>
21
+ *
22
+ * @hideconstructor
23
+ *
24
+ * @since 1.120.0
25
+ * @experimental since 1.120.0
26
+ * @public
27
+ */
28
+ class Footer {
29
+ #renderer = Container.getRendererInternal();
30
+ #control = null;
31
+
32
+ constructor (control) {
33
+ this.#control = control;
34
+ }
35
+
36
+ /**
37
+ * Returns the related control instance.
38
+ * @returns {Promise<sap.ui.core.Control>} The control.
39
+ *
40
+ * @since 1.120.0
41
+ * @private
42
+ * @ui5-restricted
43
+ */
44
+ async getControl () {
45
+ return this.#control;
46
+ }
47
+
48
+ /**
49
+ * Destroys the footer.
50
+ * @returns {Promise} Resolves once the footer was destroyed.
51
+ *
52
+ * @since 1.120.0
53
+ * @public
54
+ */
55
+ async destroy () {
56
+ this.#renderer.removeFooterById(this.#control.getId());
57
+ }
58
+ }
59
+
60
+ return Footer;
61
+ });
@@ -0,0 +1,193 @@
1
+ // Copyright (c) 2009-2023 SAP SE, All Rights Reserved
2
+
3
+ /**
4
+ * @fileOverview Defines the interface for extensions in the ShellHeader ShellArea.
5
+ *
6
+ * @version 1.120.1
7
+ */
8
+ sap.ui.define([
9
+ "sap/base/Log",
10
+ "sap/ushell/Config",
11
+ "sap/ushell/Container",
12
+ "sap/ushell/utils"
13
+ ], function (
14
+ Log,
15
+ Config,
16
+ Container,
17
+ ushellUtils
18
+ ) {
19
+ "use strict";
20
+
21
+ /**
22
+ * @alias sap.ushell.services.Extension.Header
23
+ * @class
24
+ * @classdesc Extension point of the Header.
25
+ * To be instantiated by {@link sap.ushell.services.Extension}.
26
+ *
27
+ * @hideconstructor
28
+ *
29
+ * @since 1.120.0
30
+ * @experimental since 1.120.0
31
+ * @private
32
+ * @ui5-restricted
33
+ */
34
+ class Header {
35
+ #renderer = Container.getRendererInternal();
36
+ #visibilityMap = {};
37
+
38
+ /**
39
+ * @param {boolean} visible
40
+ * Whether the item shall be visible or not.
41
+ * @param {boolean} currentState
42
+ * Whether the new visibility shall be applied only to the 'currentState'.
43
+ * @param {sap.ushell.renderer.Renderer.LaunchpadState} launchpadState
44
+ * To which launchpad state the new visibility shall be applied.
45
+ * Is only Considered if <code>currentState</code> is <code>false</code>.
46
+ * @returns {Promise} Resolves after visibility was changed.
47
+ */
48
+ #visibilityHandler = async (visible, currentState, launchpadState) => {
49
+ const states = launchpadState ? [launchpadState] : undefined;
50
+ await ushellUtils.promisify(this.#renderer.setHeaderVisibility(visible, currentState, states));
51
+ };
52
+
53
+ /**
54
+ * Overwrites the title in the header
55
+ * @param {string} newTitle The new title
56
+ * @returns {sap.ushell.services.Extension.Header} this to allow method chaining.
57
+ *
58
+ * @since 1.120.0
59
+ * @private
60
+ * @ui5-restricted
61
+ */
62
+ setTitle (newTitle) {
63
+ this.#renderer.setHeaderTitle(newTitle);
64
+ return this;
65
+ }
66
+
67
+ /**
68
+ * @param {boolean} visible Whether the item should be visible or not
69
+ *
70
+ * @since 1.120.0
71
+ * @private
72
+ */
73
+ setVisibilityForCurrentApp (visible) {
74
+ if (!visible && this.#visibilityMap[this.#getCurrentState()]) {
75
+ Log.warning("The header was set to 'visible' for the current launchpad state and cannot be turned off for this app");
76
+ }
77
+ this.#visibilityHandler(visible, true, undefined);
78
+ }
79
+
80
+ /**
81
+ * @param {sap.ushell.renderer.Renderer.LaunchpadState} launchpadState The launchpad state to change
82
+ * @param {boolean} visible Whether the item should be visible or not
83
+ *
84
+ * @since 1.120.0
85
+ * @private
86
+ */
87
+ setVisibilityForLaunchpadState (launchpadState, visible) {
88
+ this.#visibilityMap[launchpadState] = visible;
89
+ this.#visibilityHandler(visible, false, launchpadState);
90
+ }
91
+
92
+ /**
93
+ * Shows the item for the current application.
94
+ * The item will be hidden after the user navigates away from this application.
95
+ * The item will <b>not<b> be added again if the user navigates back to the application.
96
+ * @returns {sap.ushell.services.Extension.Header} this to allow method chaining.
97
+ *
98
+ * @since 1.120.0
99
+ * @private
100
+ * @ui5-restricted
101
+ */
102
+ showForCurrentApp () {
103
+ this.setVisibilityForCurrentApp(true);
104
+ return this;
105
+ }
106
+
107
+ /**
108
+ * Hides the item for the current application.
109
+ * Note: The item will not be hidden if it was set visible for all apps {@link #showForAllApps}
110
+ * @returns {sap.ushell.services.Extension.Header} this to allow method chaining.
111
+ *
112
+ * @since 1.120.0
113
+ * @private
114
+ * @ui5-restricted
115
+ */
116
+ hideForCurrentApp () {
117
+ if (this.#visibilityMap[this.#getCurrentState()]) {
118
+ Log.warning("The extension was set visible for the current launchpad state and cannot be turned off for this app");
119
+ }
120
+ this.setVisibilityForCurrentApp(false);
121
+ return this;
122
+ }
123
+
124
+ /**
125
+ * Shows the item for all applications.
126
+ * Does not change the visibility of the item for the launchpad "home".
127
+ * @returns {sap.ushell.services.Extension.Header} this to allow method chaining.
128
+ *
129
+ * @since 1.120.0
130
+ * @private
131
+ * @ui5-restricted
132
+ */
133
+ showForAllApps () {
134
+ this.setVisibilityForLaunchpadState("app", true);
135
+ return this;
136
+ }
137
+
138
+ /**
139
+ * Shows the item for all applications.
140
+ * Does not change the visibility of the item for the launchpad "home".
141
+ * @returns {sap.ushell.services.Extension.Header} this to allow method chaining.
142
+ *
143
+ * @since 1.120.0
144
+ * @private
145
+ * @ui5-restricted
146
+ */
147
+ hideForAllApps () {
148
+ this.setVisibilityForLaunchpadState("app", false);
149
+ return this;
150
+ }
151
+
152
+ /**
153
+ * Shows the item for launchpad "home".
154
+ * Does not change the visibility of the item within applications.
155
+ * @returns {sap.ushell.services.Extension.Header} this to allow method chaining.
156
+ *
157
+ * @since 1.120.0
158
+ * @private
159
+ * @ui5-restricted
160
+ */
161
+ showOnHome () {
162
+ this.setVisibilityForLaunchpadState("home", true);
163
+ return this;
164
+ }
165
+
166
+ /**
167
+ * Hides the item for launchpad "home".
168
+ * Does not change the visibility of the item within applications.
169
+ * @returns {sap.ushell.services.Extension.Header} this to allow method chaining.
170
+ *
171
+ * @since 1.120.0
172
+ * @private
173
+ * @ui5-restricted
174
+ */
175
+ hideOnHome () {
176
+ this.setVisibilityForLaunchpadState("home", false);
177
+ return this;
178
+ }
179
+
180
+ /**
181
+ * @returns {sap.ushell.renderer.Renderer.LaunchpadState} The current state.
182
+ *
183
+ * @since 1.120.0
184
+ * @private
185
+ */
186
+ #getCurrentState () {
187
+ const sCurrentState = Config.last("/core/shell/model/currentState/stateName");
188
+ return sCurrentState;
189
+ }
190
+ }
191
+
192
+ return Header;
193
+ });