@sapui5/sap.ushell 1.121.1 → 1.122.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (351) hide show
  1. package/package.json +2 -2
  2. package/src/main/js/sap/ushell/.library +1 -1
  3. package/src/main/js/sap/ushell/CanvasShapesManager.js +5 -3
  4. package/src/main/js/sap/ushell/Container.js +14 -0
  5. package/src/main/js/sap/ushell/Fiori20Adapter.js +1 -1
  6. package/src/main/js/sap/ushell/Fiori20AdapterTest.js +1 -1
  7. package/src/main/js/sap/ushell/Layout.js +1 -1
  8. package/src/main/js/sap/ushell/NWBCInterface.js +1 -1
  9. package/src/main/js/sap/ushell/SessionHandler.js +14 -9
  10. package/src/main/js/sap/ushell/TechnicalParameters.js +1 -1
  11. package/src/main/js/sap/ushell/URLTemplateProcessor.js +1 -1
  12. package/src/main/js/sap/ushell/Ui5NativeServiceFactory.js +1 -1
  13. package/src/main/js/sap/ushell/Ui5ServiceFactory.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 +1 -1
  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 +1 -1
  26. package/src/main/js/sap/ushell/adapters/cdm/PersonalizationAdapter.js +1 -1
  27. package/src/main/js/sap/ushell/adapters/cdm/PersonalizationV2Adapter.js +1 -1
  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/FlpLaunchPageAdapter.js +1 -1
  37. package/src/main/js/sap/ushell/adapters/cdm/v3/LaunchPageAdapter.js +1 -1
  38. package/src/main/js/sap/ushell/adapters/cdm/v3/StaticGroupsAdapter.js +1 -1
  39. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readApplications.js +1 -1
  40. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readCatalogs.js +1 -1
  41. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readHome.js +1 -1
  42. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readPages.js +1 -1
  43. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readUtils.js +1 -1
  44. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations.js +1 -1
  45. package/src/main/js/sap/ushell/adapters/cep/MenuAdapter.js +1 -1
  46. package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionAdapter.js +8 -185
  47. package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionInternalAdapter.js +198 -0
  48. package/src/main/js/sap/ushell/adapters/cep/SearchCEPAdapter.js +1 -1
  49. package/src/main/js/sap/ushell/adapters/cflp/UserDefaultParameterPersistenceAdapter.js +1 -1
  50. package/src/main/js/sap/ushell/adapters/local/AdapterContainer.js +1 -1
  51. package/src/main/js/sap/ushell/adapters/local/AppStateAdapter.js +6 -5
  52. package/src/main/js/sap/ushell/adapters/local/ClientSideTargetResolutionAdapter.js +5 -4
  53. package/src/main/js/sap/ushell/adapters/local/ContainerAdapter.js +1 -1
  54. package/src/main/js/sap/ushell/adapters/local/FlpLaunchPageAdapter.js +27 -22
  55. package/src/main/js/sap/ushell/adapters/local/LaunchPageAdapter.js +1 -1
  56. package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionAdapter.js +7 -193
  57. package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionInternalAdapter.js +205 -0
  58. package/src/main/js/sap/ushell/adapters/local/PageBuildingAdapter.js +1 -1
  59. package/src/main/js/sap/ushell/adapters/local/PagePersistenceAdapter.js +1 -1
  60. package/src/main/js/sap/ushell/adapters/local/PersonalizationAdapter.js +1 -1
  61. package/src/main/js/sap/ushell/adapters/local/PersonalizationV2Adapter.js +1 -1
  62. package/src/main/js/sap/ushell/adapters/local/SearchAdapter.js +1 -1
  63. package/src/main/js/sap/ushell/adapters/local/SearchCEPAdapter.js +1 -1
  64. package/src/main/js/sap/ushell/adapters/local/SupportTicketAdapter.js +1 -1
  65. package/src/main/js/sap/ushell/adapters/local/Ui5ComponentLoaderAdapter.js +1 -1
  66. package/src/main/js/sap/ushell/adapters/local/UserDefaultParameterPersistenceAdapter.js +1 -1
  67. package/src/main/js/sap/ushell/adapters/local/UserInfoAdapter.js +1 -1
  68. package/src/main/js/sap/ushell/api/workpage/Designtime.js +24 -4
  69. package/src/main/js/sap/ushell/api/workpage/Runtime.js +45 -7
  70. package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntime.js +6 -0
  71. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/baseRta/AppLifeCycleUtils.js +4 -4
  72. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/baseRta/Renderer.js +17 -49
  73. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaAgent/Component.js +13 -18
  74. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaShell/Component.js +24 -36
  75. package/src/main/js/sap/ushell/appRuntime/ui5/services/AppLifeCycleAgent.js +2 -3
  76. package/src/main/js/sap/ushell/appRuntime/ui5/services/CrossApplicationNavigation.js +4 -4
  77. package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolution.js +4 -5
  78. package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolutionInternal.js +113 -0
  79. package/src/main/js/sap/ushell/appRuntime/ui5/services/Navigation.js +2 -2
  80. package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigation.js +1 -1
  81. package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigationInternal.js +1 -1
  82. package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/Ui5ComponentLoaderAdapter.js +1 -1
  83. package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/logger.js +1 -1
  84. package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/state.js +1 -1
  85. package/src/main/js/sap/ushell/bootstrap/cdm/cdm.constants.js +1 -1
  86. package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5datetimeformat.js +1 -1
  87. package/src/main/js/sap/ushell/bootstrap/common/common.create.configcontract.core.js +3 -1
  88. package/src/main/js/sap/ushell/bootstrap/common/common.read.ushell.config.from.url.js +2 -1
  89. package/src/main/js/sap/ushell/bootstrap/common/common.util.js +17 -2
  90. package/src/main/js/sap/ushell/bootstrap/sandbox2/sandboxConfig.json +12 -3
  91. package/src/main/js/sap/ushell/bootstrap/sandbox2.js +54 -22
  92. package/src/main/js/sap/ushell/components/CatalogsManager.js +31 -11
  93. package/src/main/js/sap/ushell/components/ComponentKeysHandler.js +1 -1
  94. package/src/main/js/sap/ushell/components/HomepageManager.js +5 -3
  95. package/src/main/js/sap/ushell/components/appfinder/AppFinder.controller.js +2 -2
  96. package/src/main/js/sap/ushell/components/appfinder/Catalog.controller.js +1 -1
  97. package/src/main/js/sap/ushell/components/appfinder/CatalogView.js +3 -4
  98. package/src/main/js/sap/ushell/components/appfinder/Component.js +5 -2
  99. package/src/main/js/sap/ushell/components/appfinder/HierarchyAppsView.js +3 -3
  100. package/src/main/js/sap/ushell/components/appfinder/manifest.json +1 -1
  101. package/src/main/js/sap/ushell/components/applicationIntegration/AppLifeCycle.js +2 -13
  102. package/src/main/js/sap/ushell/components/applicationIntegration/application/Application.js +1 -1
  103. package/src/main/js/sap/ushell/components/applicationIntegration/application/BlueBoxHandler.js +1 -1
  104. package/src/main/js/sap/ushell/components/applicationIntegration/application/PostMessageAPI.js +64 -8
  105. package/src/main/js/sap/ushell/components/applicationIntegration/configuration/AppMeta.js +67 -83
  106. package/src/main/js/sap/ushell/components/applicationIntegration/elements/model.js +1 -1
  107. package/src/main/js/sap/ushell/components/applicationIntegration/relatedServices/RelatedServices.js +1 -1
  108. package/src/main/js/sap/ushell/components/applicationIntegration/relatedShellElements/RelatedShellElements.js +1 -1
  109. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/AdvancedFormatters.js +3 -3
  110. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/appendStyleVars.js +3 -3
  111. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/categories/Event.js +3 -3
  112. package/src/main/js/sap/ushell/components/container/ApplicationContainer.js +4 -4
  113. package/src/main/js/sap/ushell/components/contentFinder/Component.js +1 -1
  114. package/src/main/js/sap/ushell/components/contentFinder/controller/AppSearch.controller.js +12 -5
  115. package/src/main/js/sap/ushell/components/contentFinder/controller/ContentFinderDialog.controller.js +1 -1
  116. package/src/main/js/sap/ushell/components/contentFinder/controller/WidgetGallery.controller.js +1 -1
  117. package/src/main/js/sap/ushell/components/contentFinder/manifest.json +1 -1
  118. package/src/main/js/sap/ushell/components/contentFinder/resources/resources.properties +1 -1
  119. package/src/main/js/sap/ushell/components/contentFinder/view/AppSearchBox.fragment.xml +3 -1
  120. package/src/main/js/sap/ushell/components/factsheet/Component.js +1 -1
  121. package/src/main/js/sap/ushell/components/factsheet/factory/ThingInspector.js +37 -37
  122. package/src/main/js/sap/ushell/components/homepage/ActionMode.js +1 -1
  123. package/src/main/js/sap/ushell/components/homepage/DashboardContent.controller.js +2 -2
  124. package/src/main/js/sap/ushell/components/homepage/DashboardContent.view.js +1 -1
  125. package/src/main/js/sap/ushell/components/homepage/DashboardGroupsBox.js +2 -2
  126. package/src/main/js/sap/ushell/components/homepage/DashboardUIActions.js +2 -2
  127. package/src/main/js/sap/ushell/components/homepage/manifest.json +1 -1
  128. package/src/main/js/sap/ushell/components/pages/ActionMode.js +1 -1
  129. package/src/main/js/sap/ushell/components/pages/Component.js +1 -1
  130. package/src/main/js/sap/ushell/components/pages/MyHomeImport.js +1 -1
  131. package/src/main/js/sap/ushell/components/pages/controller/PageRuntime.controller.js +1 -1
  132. package/src/main/js/sap/ushell/components/pages/manifest.json +1 -1
  133. package/src/main/js/sap/ushell/components/runtimeSwitcher/controller/RuntimeSwitcher.controller.js +1 -1
  134. package/src/main/js/sap/ushell/components/runtimeSwitcher/manifest.json +1 -1
  135. package/src/main/js/sap/ushell/components/shell/MenuBar/manifest.json +1 -1
  136. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenu.controller.js +1 -1
  137. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/manifest.json +1 -1
  138. package/src/main/js/sap/ushell/components/shell/Notifications/Component.js +1 -1
  139. package/src/main/js/sap/ushell/components/shell/Notifications/Notifications.controller.js +525 -613
  140. package/src/main/js/sap/ushell/components/shell/ProductSwitch/Component.js +1 -1
  141. package/src/main/js/sap/ushell/components/shell/Search/manifest.json +1 -1
  142. package/src/main/js/sap/ushell/components/shell/SearchCEP/Component.js +1 -1
  143. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/FrequentActivityProvider.js +1 -1
  144. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/RecentSearchProvider.js +1 -1
  145. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchProvider.js +1 -1
  146. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchServiceProvider.js +1 -1
  147. package/src/main/js/sap/ushell/components/shell/Settings/Component.js +1 -1
  148. package/src/main/js/sap/ushell/components/shell/Settings/appearance/Appearance.controller.js +4 -4
  149. package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/UserDefaultsEntry.js +3 -5
  150. package/src/main/js/sap/ushell/components/shell/UserActionsMenu/Component.js +1 -1
  151. package/src/main/js/sap/ushell/components/shell/UserImage/Component.js +1 -1
  152. package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/indicatorTileHelper.js +18 -18
  153. package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/smartBusinessUtil.js +1 -1
  154. package/src/main/js/sap/ushell/components/visualizationOrganizer/Component.js +1 -1
  155. package/src/main/js/sap/ushell/components/workPageBuilder/Component.js +1 -1
  156. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.accessibility.js +1 -1
  157. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.controller.js +2 -2
  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 +3 -3
  165. package/src/main/js/sap/ushell/components/workPageRuntime/Component.js +1 -1
  166. package/src/main/js/sap/ushell/components/workPageRuntime/controller/WorkPageRuntime.controller.js +1 -1
  167. package/src/main/js/sap/ushell/components/workPageRuntime/manifest.json +1 -1
  168. package/src/main/js/sap/ushell/designtime/ApplicationContainer.designtime.js +1 -1
  169. package/src/main/js/sap/ushell/library.js +9 -1
  170. package/src/main/js/sap/ushell/navigationMode.js +3 -3
  171. package/src/main/js/sap/ushell/performance/FesrEnhancer.js +33 -4
  172. package/src/main/js/sap/ushell/performance/ShellAnalytics.js +1 -1
  173. package/src/main/js/sap/ushell/performance/StatisticalRecord.js +1 -1
  174. package/src/main/js/sap/ushell/plugins/appwarmup/Component.js +1 -1
  175. package/src/main/js/sap/ushell/plugins/rta-personalize/Component.js +6 -254
  176. package/src/main/js/sap/ushell/plugins/rta-personalize/manifest.json +0 -102
  177. package/src/main/js/sap/ushell/renderer/AccessKeysHandler.js +0 -8
  178. package/src/main/js/sap/ushell/renderer/Renderer.js +2 -2
  179. package/src/main/js/sap/ushell/renderer/Shell.controller.js +7 -7
  180. package/src/main/js/sap/ushell/renderer/Shell.view.js +2 -10
  181. package/src/main/js/sap/ushell/renderer/allMyApps/AllMyApps.controller.js +10 -11
  182. package/src/main/js/sap/ushell/renderer/allMyApps/AllMyApps.view.xml +49 -70
  183. package/src/main/js/sap/ushell/renderer/resources/resources.properties +0 -2
  184. package/src/main/js/sap/ushell/renderer/search/searchComponent/manifest.json +1 -1
  185. package/src/main/js/sap/ushell/renderers/fiori2/Shell.view.js +1 -1
  186. package/src/main/js/sap/ushell/services/AppLifeCycle.js +1 -1
  187. package/src/main/js/sap/ushell/services/AppState.js +1 -1
  188. package/src/main/js/sap/ushell/services/Bookmark.js +2 -2
  189. package/src/main/js/sap/ushell/services/BookmarkV2.js +2 -2
  190. package/src/main/js/sap/ushell/services/ClientSideTargetResolution.js +3 -3
  191. package/src/main/js/sap/ushell/services/CommonDataModel.js +3 -5
  192. package/src/main/js/sap/ushell/services/Configuration.js +1 -1
  193. package/src/main/js/sap/ushell/services/ConfigurationDefaults.js +1 -1
  194. package/src/main/js/sap/ushell/services/ContentExtensionAdapterFactory.js +1 -1
  195. package/src/main/js/sap/ushell/services/CrossApplicationNavigation.js +20 -20
  196. package/src/main/js/sap/ushell/services/DarkModeSupport.js +3 -3
  197. package/src/main/js/sap/ushell/services/Extension/FloatingContainer.js +1 -1
  198. package/src/main/js/sap/ushell/services/Extension/Footer.js +1 -1
  199. package/src/main/js/sap/ushell/services/Extension/Header.js +1 -1
  200. package/src/main/js/sap/ushell/services/Extension/Item.js +1 -1
  201. package/src/main/js/sap/ushell/services/Extension/SidePane.js +1 -1
  202. package/src/main/js/sap/ushell/services/Extension/ToolArea.js +1 -1
  203. package/src/main/js/sap/ushell/services/Extension.js +1 -1
  204. package/src/main/js/sap/ushell/services/FlpLaunchPage.js +1 -1
  205. package/src/main/js/sap/ushell/services/LaunchPage.js +1 -1
  206. package/src/main/js/sap/ushell/services/Menu.js +1 -1
  207. package/src/main/js/sap/ushell/services/Message.js +1 -1
  208. package/src/main/js/sap/ushell/services/MessageBroker.js +1 -1
  209. package/src/main/js/sap/ushell/services/NavTargetResolution.js +24 -995
  210. package/src/main/js/sap/ushell/services/NavTargetResolutionInternal.js +1272 -0
  211. package/src/main/js/sap/ushell/services/Navigation/utils.js +1 -1
  212. package/src/main/js/sap/ushell/services/Navigation.js +11 -11
  213. package/src/main/js/sap/ushell/services/NavigationDataProvider.js +1 -1
  214. package/src/main/js/sap/ushell/services/Notifications.js +0 -14
  215. package/src/main/js/sap/ushell/services/NotificationsV2.js +10 -34
  216. package/src/main/js/sap/ushell/services/PageBuilding.js +1 -1
  217. package/src/main/js/sap/ushell/services/PagePersistence.js +1 -1
  218. package/src/main/js/sap/ushell/services/PageReferencing.js +1 -1
  219. package/src/main/js/sap/ushell/services/Pages.js +1 -1
  220. package/src/main/js/sap/ushell/services/Personalization.js +1 -1
  221. package/src/main/js/sap/ushell/services/PersonalizationV2.js +1 -1
  222. package/src/main/js/sap/ushell/services/PluginManager.js +2 -2
  223. package/src/main/js/sap/ushell/services/ReferenceResolver.js +1 -1
  224. package/src/main/js/sap/ushell/services/Search.js +1 -1
  225. package/src/main/js/sap/ushell/services/SearchCEP.js +1 -1
  226. package/src/main/js/sap/ushell/services/SearchableContent.js +2 -2
  227. package/src/main/js/sap/ushell/services/ShellNavigation.js +1 -1
  228. package/src/main/js/sap/ushell/services/ShellNavigationHashChanger.js +1 -1
  229. package/src/main/js/sap/ushell/services/ShellNavigationInternal.js +3 -2
  230. package/src/main/js/sap/ushell/services/SmartNavigation.js +1 -1
  231. package/src/main/js/sap/ushell/services/SpaceContent.js +1 -1
  232. package/src/main/js/sap/ushell/services/UITracer.js +5 -5
  233. package/src/main/js/sap/ushell/services/URLParsing.js +2 -2
  234. package/src/main/js/sap/ushell/services/URLShortening.js +1 -1
  235. package/src/main/js/sap/ushell/services/URLTemplate.js +1 -1
  236. package/src/main/js/sap/ushell/services/Ui5ComponentLoader.js +1 -1
  237. package/src/main/js/sap/ushell/services/UserDefaultParameterPersistence.js +1 -1
  238. package/src/main/js/sap/ushell/services/UserDefaultParameters.js +1 -1
  239. package/src/main/js/sap/ushell/services/UserInfo.js +1 -1
  240. package/src/main/js/sap/ushell/services/UserRecents.js +1 -1
  241. package/src/main/js/sap/ushell/services/VisualizationDataProvider.js +1 -1
  242. package/src/main/js/sap/ushell/services/VisualizationInstantiation.js +1 -1
  243. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Formatter.js +1 -1
  244. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/InboundIndex.js +1 -1
  245. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/InboundProvider.js +1 -1
  246. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/PrelaunchOperations.js +1 -1
  247. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Search.js +1 -1
  248. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/StagedLogger.js +1 -1
  249. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/SystemContext.js +1 -1
  250. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Utils.js +1 -1
  251. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/VirtualInbounds.js +1 -1
  252. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/XAppStateProcessing.js +1 -1
  253. package/src/main/js/sap/ushell/services/_CommonDataModel/SiteConverter.js +1 -1
  254. package/src/main/js/sap/ushell/services/_CommonDataModel/vizTypeDefaults/VizTypeDefaults.js +1 -1
  255. package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/ContentExtensionAdapterConfig.js +1 -1
  256. package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/FeaturedGroupConfig.js +1 -1
  257. package/src/main/js/sap/ushell/services/_CrossApplicationNavigation/utils.js +1 -1
  258. package/src/main/js/sap/ushell/services/_MessageBroker/MessageBrokerEngine.js +1 -1
  259. package/src/main/js/sap/ushell/services/_PageReferencing/PageReferencer.js +4 -4
  260. package/src/main/js/sap/ushell/services/_PluginManager/Extensions.js +1 -1
  261. package/src/main/js/sap/ushell/services/_PluginManager/HeaderExtensions.js +1 -1
  262. package/src/main/js/sap/ushell/services/_PluginManager/MenuExtensions.js +1 -1
  263. package/src/main/js/sap/ushell/services/_Ui5ComponentLoader/utils.js +1 -1
  264. package/src/main/js/sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin.js +1 -1
  265. package/src/main/js/sap/ushell/themes/base/Catalog.less +12 -2
  266. package/src/main/js/sap/ushell/themes/base/SearchCEP.less +1 -1
  267. package/src/main/js/sap/ushell/themes/base/ShellAppTitle.less +15 -57
  268. package/src/main/js/sap/ushell/themes/base/WorkPageCell.less +0 -1
  269. package/src/main/js/sap/ushell/themes/base/img/launchicons/phone-icon_120x120.png +0 -0
  270. package/src/main/js/sap/ushell/themes/base/img/launchicons/phone-retina_180x180.png +0 -0
  271. package/src/main/js/sap/ushell/themes/base/img/launchicons/tablet-icon_152x152.png +0 -0
  272. package/src/main/js/sap/ushell/themes/base/img/launchicons/tablet-retina_167x167.png +0 -0
  273. package/src/main/js/sap/ushell/themes/sap_belize/ShellHeader.less +11 -36
  274. package/src/main/js/sap/ushell/themes/sap_fiori_3/ShellHeader.less +9 -31
  275. package/src/main/js/sap/ushell/themes/sap_fiori_3_dark/ShellHeader.less +9 -32
  276. package/src/main/js/sap/ushell/themes/sap_horizon/ShellAppTitle.less +11 -39
  277. package/src/main/js/sap/ushell/themes/sap_horizon_dark/ShellAppTitle.less +11 -39
  278. package/src/main/js/sap/ushell/ui/appfinder/AppBox.js +3 -136
  279. package/src/main/js/sap/ushell/ui/appfinder/AppBoxInternal.js +161 -0
  280. package/src/main/js/sap/ushell/ui/appfinder/AppBoxRenderer.js +6 -0
  281. package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +1 -1
  282. package/src/main/js/sap/ushell/ui/footerbar/SaveAsTile.controller.js +1 -1
  283. package/src/main/js/sap/ushell/ui/launchpad/CatalogEntryContainer.js +1 -1
  284. package/src/main/js/sap/ushell/ui/launchpad/ExtendedChangeDetection.js +1 -1
  285. package/src/main/js/sap/ushell/ui/launchpad/Section.js +1 -1
  286. package/src/main/js/sap/ushell/ui/launchpad/TileContainer.js +1 -1
  287. package/src/main/js/sap/ushell/ui/launchpad/VizInstanceLaunchPage.js +1 -1
  288. package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.js +1 -1
  289. package/src/main/js/sap/ushell/ui/shell/ShellAppTitle.js +7 -9
  290. package/src/main/js/sap/ushell/ui/shell/ToolAreaItem.js +1 -1
  291. package/src/main/js/sap/ushell/ui/utils.js +1 -1
  292. package/src/main/js/sap/ushell/ui5service/ShellUIService.js +1 -1
  293. package/src/main/js/sap/ushell/ui5service/UserStatus.js +1 -1
  294. package/src/main/js/sap/ushell/utils/UrlShortening.js +2 -2
  295. package/src/main/js/sap/ushell/utils/workpage/WorkPageHost.js +366 -0
  296. package/src/main/js/sap/ushell/utils/workpage/WorkPageService.js +1 -1
  297. package/src/main/js/sap/ushell/utils/workpage/WorkPageVizInstantiation.js +5 -2
  298. package/src/main/js/sap/ushell/utils/workpage/resources/resources.properties +157 -0
  299. package/src/main/js/sap/ushell/utils/workpage/resources/resources_ar.properties +78 -0
  300. package/src/main/js/sap/ushell/utils/workpage/resources/resources_bg.properties +78 -0
  301. package/src/main/js/sap/ushell/utils/workpage/resources/resources_ca.properties +78 -0
  302. package/src/main/js/sap/ushell/utils/workpage/resources/resources_cs.properties +78 -0
  303. package/src/main/js/sap/ushell/utils/workpage/resources/resources_cy.properties +78 -0
  304. package/src/main/js/sap/ushell/utils/workpage/resources/resources_da.properties +78 -0
  305. package/src/main/js/sap/ushell/utils/workpage/resources/resources_de.properties +78 -0
  306. package/src/main/js/sap/ushell/utils/workpage/resources/resources_el.properties +78 -0
  307. package/src/main/js/sap/ushell/utils/workpage/resources/resources_en.properties +78 -0
  308. package/src/main/js/sap/ushell/utils/workpage/resources/resources_en_GB.properties +78 -0
  309. package/src/main/js/sap/ushell/utils/workpage/resources/resources_en_US_sappsd.properties +78 -0
  310. package/src/main/js/sap/ushell/utils/workpage/resources/resources_en_US_saprigi.properties +78 -0
  311. package/src/main/js/sap/ushell/utils/workpage/resources/resources_en_US_saptrc.properties +78 -0
  312. package/src/main/js/sap/ushell/utils/workpage/resources/resources_es.properties +78 -0
  313. package/src/main/js/sap/ushell/utils/workpage/resources/resources_es_MX.properties +78 -0
  314. package/src/main/js/sap/ushell/utils/workpage/resources/resources_et.properties +78 -0
  315. package/src/main/js/sap/ushell/utils/workpage/resources/resources_fi.properties +78 -0
  316. package/src/main/js/sap/ushell/utils/workpage/resources/resources_fr.properties +78 -0
  317. package/src/main/js/sap/ushell/utils/workpage/resources/resources_fr_CA.properties +78 -0
  318. package/src/main/js/sap/ushell/utils/workpage/resources/resources_hi.properties +78 -0
  319. package/src/main/js/sap/ushell/utils/workpage/resources/resources_hr.properties +78 -0
  320. package/src/main/js/sap/ushell/utils/workpage/resources/resources_hu.properties +78 -0
  321. package/src/main/js/sap/ushell/utils/workpage/resources/resources_id.properties +78 -0
  322. package/src/main/js/sap/ushell/utils/workpage/resources/resources_it.properties +78 -0
  323. package/src/main/js/sap/ushell/utils/workpage/resources/resources_iw.properties +78 -0
  324. package/src/main/js/sap/ushell/utils/workpage/resources/resources_ja.properties +78 -0
  325. package/src/main/js/sap/ushell/utils/workpage/resources/resources_kk.properties +78 -0
  326. package/src/main/js/sap/ushell/utils/workpage/resources/resources_ko.properties +78 -0
  327. package/src/main/js/sap/ushell/utils/workpage/resources/resources_lt.properties +78 -0
  328. package/src/main/js/sap/ushell/utils/workpage/resources/resources_lv.properties +78 -0
  329. package/src/main/js/sap/ushell/utils/workpage/resources/resources_ms.properties +78 -0
  330. package/src/main/js/sap/ushell/utils/workpage/resources/resources_nl.properties +78 -0
  331. package/src/main/js/sap/ushell/utils/workpage/resources/resources_no.properties +78 -0
  332. package/src/main/js/sap/ushell/utils/workpage/resources/resources_pl.properties +78 -0
  333. package/src/main/js/sap/ushell/utils/workpage/resources/resources_pt.properties +78 -0
  334. package/src/main/js/sap/ushell/utils/workpage/resources/resources_pt_PT.properties +78 -0
  335. package/src/main/js/sap/ushell/utils/workpage/resources/resources_ro.properties +78 -0
  336. package/src/main/js/sap/ushell/utils/workpage/resources/resources_ru.properties +78 -0
  337. package/src/main/js/sap/ushell/utils/workpage/resources/resources_sh.properties +78 -0
  338. package/src/main/js/sap/ushell/utils/workpage/resources/resources_sk.properties +78 -0
  339. package/src/main/js/sap/ushell/utils/workpage/resources/resources_sl.properties +78 -0
  340. package/src/main/js/sap/ushell/utils/workpage/resources/resources_sv.properties +78 -0
  341. package/src/main/js/sap/ushell/utils/workpage/resources/resources_th.properties +78 -0
  342. package/src/main/js/sap/ushell/utils/workpage/resources/resources_tr.properties +78 -0
  343. package/src/main/js/sap/ushell/utils/workpage/resources/resources_uk.properties +78 -0
  344. package/src/main/js/sap/ushell/utils/workpage/resources/resources_vi.properties +78 -0
  345. package/src/main/js/sap/ushell/utils/workpage/resources/resources_zh_CN.properties +78 -0
  346. package/src/main/js/sap/ushell/utils/workpage/resources/resources_zh_TW.properties +78 -0
  347. package/src/main/js/sap/ushell/utils.js +2 -2
  348. package/src/test/js/sap/ushell/bootstrap/sandbox.js +70 -60
  349. package/ui5.yaml +30 -2
  350. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageHost.js +0 -350
  351. package/src/main/js/sap/ushell/plugins/rta-personalize/i18n/i18n.properties +0 -38
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @fileOverview defines the post message API for all applications running in iframe within the shell
5
- * @version 1.121.1
5
+ * @version 1.122.0
6
6
  * @private
7
7
  */
8
8
  sap.ui.define([
@@ -454,7 +454,7 @@ sap.ui.define([
454
454
  getShellGroupTiles: {
455
455
  executeServiceCallFn: (oServiceParams) => {
456
456
  var oDeferred = new jQuery.Deferred();
457
- Container.getServiceAsync("LaunchPage").then(function (oLaunchPageService) {
457
+ Container.getServiceAsync("FlpLaunchPage").then(function (oLaunchPageService) {
458
458
  oLaunchPageService.getTilesByGroupId(oServiceParams.oMessageData.body.groupId).then(oDeferred.resolve, oDeferred.reject);
459
459
  });
460
460
  return oDeferred.promise();
@@ -1021,7 +1021,14 @@ sap.ui.define([
1021
1021
  var sSystemAlias = oServiceParams.oContainer.getSystemAlias();
1022
1022
  if (sSystemAlias === null || sSystemAlias === undefined) {
1023
1023
  sSystemAlias = "";
1024
+ } else {
1025
+ const underscoreCount = (sSystemAlias.match(/_/g) || []).length;
1026
+ if (underscoreCount >= 2) {
1027
+ const secondUnderscoreIndex = sSystemAlias.indexOf('_', sSystemAlias.indexOf('_') + 1);
1028
+ sSystemAlias = sSystemAlias.substring(secondUnderscoreIndex + 1);
1029
+ }
1024
1030
  }
1031
+
1025
1032
  return sSystemAlias;
1026
1033
  }
1027
1034
  },
@@ -1263,7 +1270,7 @@ sap.ui.define([
1263
1270
  getDistinctSemanticObjects: {
1264
1271
  executeServiceCallFn: () => {
1265
1272
  var oDeferred = new jQuery.Deferred();
1266
- Container.getServiceAsync("NavTargetResolution").then(function (oNavTargetResolutionService) {
1273
+ Container.getServiceAsync("NavTargetResolutionInternal").then(function (oNavTargetResolutionService) {
1267
1274
  oNavTargetResolutionService.getDistinctSemanticObjects().then(oDeferred.resolve, oDeferred.reject);
1268
1275
  });
1269
1276
  return oDeferred.promise();
@@ -1272,7 +1279,7 @@ sap.ui.define([
1272
1279
  expandCompactHash: {
1273
1280
  executeServiceCallFn: (oServiceParams) => {
1274
1281
  var oDeferred = new jQuery.Deferred();
1275
- Container.getServiceAsync("NavTargetResolution").then(function (oNavTargetResolutionService) {
1282
+ Container.getServiceAsync("NavTargetResolutionInternal").then(function (oNavTargetResolutionService) {
1276
1283
  oNavTargetResolutionService.expandCompactHash(oServiceParams.oMessageData.body.sHashFragment).then(oDeferred.resolve, oDeferred.reject);
1277
1284
  });
1278
1285
  return oDeferred.promise();
@@ -1281,7 +1288,7 @@ sap.ui.define([
1281
1288
  resolveHashFragment: {
1282
1289
  executeServiceCallFn: (oServiceParams) => {
1283
1290
  var oDeferred = new jQuery.Deferred();
1284
- Container.getServiceAsync("NavTargetResolution").then(function (oNavTargetResolutionService) {
1291
+ Container.getServiceAsync("NavTargetResolutionInternal").then(function (oNavTargetResolutionService) {
1285
1292
  oNavTargetResolutionService.resolveHashFragment(oServiceParams.oMessageData.body.sHashFragment).then(oDeferred.resolve, oDeferred.reject);
1286
1293
  });
1287
1294
  return oDeferred.promise();
@@ -1290,7 +1297,7 @@ sap.ui.define([
1290
1297
  isIntentSupported: {
1291
1298
  executeServiceCallFn: (oServiceParams) => {
1292
1299
  var oDeferred = new jQuery.Deferred();
1293
- Container.getServiceAsync("NavTargetResolution").then(function (oNavTargetResolutionService) {
1300
+ Container.getServiceAsync("NavTargetResolutionInternal").then(function (oNavTargetResolutionService) {
1294
1301
  oNavTargetResolutionService.isIntentSupported(oServiceParams.oMessageData.body.aIntents).then(oDeferred.resolve, oDeferred.reject);
1295
1302
  });
1296
1303
  return oDeferred.promise();
@@ -1299,7 +1306,7 @@ sap.ui.define([
1299
1306
  isNavigationSupported: {
1300
1307
  executeServiceCallFn: (oServiceParams) => {
1301
1308
  var oDeferred = new jQuery.Deferred();
1302
- Container.getServiceAsync("NavTargetResolution").then(function (oNavTargetResolutionService) {
1309
+ Container.getServiceAsync("NavTargetResolutionInternal").then(function (oNavTargetResolutionService) {
1303
1310
  oNavTargetResolutionService.isNavigationSupported(oServiceParams.oMessageData.body.aIntents).then(oDeferred.resolve, oDeferred.reject);
1304
1311
  });
1305
1312
  return oDeferred.promise();
@@ -1307,6 +1314,55 @@ sap.ui.define([
1307
1314
  }
1308
1315
  }
1309
1316
  },
1317
+ "sap.ushell.services.NavTargetResolutionInternal": {
1318
+ oServiceCalls: {
1319
+ getDistinctSemanticObjects: {
1320
+ executeServiceCallFn: () => {
1321
+ var oDeferred = new jQuery.Deferred();
1322
+ Container.getServiceAsync("NavTargetResolutionInternal").then(function (oNavigationTargetResolutionService) {
1323
+ oNavigationTargetResolutionService.getDistinctSemanticObjects().then(oDeferred.resolve, oDeferred.reject);
1324
+ });
1325
+ return oDeferred.promise();
1326
+ }
1327
+ },
1328
+ expandCompactHash: {
1329
+ executeServiceCallFn: (oServiceParams) => {
1330
+ var oDeferred = new jQuery.Deferred();
1331
+ Container.getServiceAsync("NavTargetResolutionInternal").then(function (oNavigationTargetResolutionService) {
1332
+ oNavigationTargetResolutionService.expandCompactHash(oServiceParams.oMessageData.body.sHashFragment).then(oDeferred.resolve, oDeferred.reject);
1333
+ });
1334
+ return oDeferred.promise();
1335
+ }
1336
+ },
1337
+ resolveHashFragment: {
1338
+ executeServiceCallFn: (oServiceParams) => {
1339
+ var oDeferred = new jQuery.Deferred();
1340
+ Container.getServiceAsync("NavTargetResolutionInternal").then(function (oNavigationTargetResolutionService) {
1341
+ oNavigationTargetResolutionService.resolveHashFragment(oServiceParams.oMessageData.body.sHashFragment).then(oDeferred.resolve, oDeferred.reject);
1342
+ });
1343
+ return oDeferred.promise();
1344
+ }
1345
+ },
1346
+ isIntentSupported: {
1347
+ executeServiceCallFn: (oServiceParams) => {
1348
+ var oDeferred = new jQuery.Deferred();
1349
+ Container.getServiceAsync("NavTargetResolutionInternal").then(function (oNavigationTargetResolutionService) {
1350
+ oNavigationTargetResolutionService.isIntentSupported(oServiceParams.oMessageData.body.aIntents).then(oDeferred.resolve, oDeferred.reject);
1351
+ });
1352
+ return oDeferred.promise();
1353
+ }
1354
+ },
1355
+ isNavigationSupported: {
1356
+ executeServiceCallFn: (oServiceParams) => {
1357
+ var oDeferred = new jQuery.Deferred();
1358
+ Container.getServiceAsync("NavTargetResolutionInternal").then(function (oNavigationTargetResolutionService) {
1359
+ oNavigationTargetResolutionService.isNavigationSupported(oServiceParams.oMessageData.body.aIntents).then(oDeferred.resolve, oDeferred.reject);
1360
+ });
1361
+ return oDeferred.promise();
1362
+ }
1363
+ }
1364
+ }
1365
+ },
1310
1366
  "sap.ushell.services.Renderer": {
1311
1367
  oServiceCalls: {
1312
1368
  addHeaderItem: {
@@ -1482,7 +1538,7 @@ sap.ui.define([
1482
1538
  getGroupsForBookmarks: {
1483
1539
  executeServiceCallFn: () => {
1484
1540
  var oDeferred = new jQuery.Deferred();
1485
- Container.getServiceAsync("LaunchPage").then(function (oLaunchPageService) {
1541
+ Container.getServiceAsync("FlpLaunchPage").then(function (oLaunchPageService) {
1486
1542
  oLaunchPageService.getGroupsForBookmarks().then(oDeferred.resolve, oDeferred.reject);
1487
1543
  });
1488
1544
  return oDeferred.promise();
@@ -1,7 +1,8 @@
1
1
  // Copyright (c) 2009-2023 SAP SE, All Rights Reserved
2
+
2
3
  /**
3
4
  * @fileOverview handle all the resources for the different applications.
4
- * @version 1.121.1
5
+ * @version 1.122.0
5
6
  */
6
7
  sap.ui.define([
7
8
  "sap/base/util/extend",
@@ -34,9 +35,9 @@ sap.ui.define([
34
35
  Theming,
35
36
  Container
36
37
  ) {
37
- "use strict";
38
+ "use strict";
38
39
 
39
- function AppMeta () {
40
+ function AppMeta() {
40
41
  var isTitleChanged;
41
42
  var isHierarchyChanged;
42
43
  var sRootIntent;
@@ -54,17 +55,15 @@ sap.ui.define([
54
55
  var oHierarchy = [];
55
56
  var sCurrentStateName = Config.last("/core/shell/model/currentState/stateName");
56
57
 
57
- //If we navigate for a page with state == app add home to it
58
- if (sCurrentStateName && ((sCurrentStateName === "app" || sCurrentStateName === "embedded") /*|| sCurrentStateName === "home"*/)) {
59
- //add home entry to hierarchy
60
- oHierarchy = [
61
- {
62
- icon: "sap-icon://home",
63
- title: resources.i18n.getText("actionHomePage"),
64
- // Intent is set to root directly to avoid multiple hash changes.
65
- intent: sRootIntent ? "#" + sRootIntent : "#"
66
- }
67
- ];
58
+ // if we navigate for a page with state == app add home to it
59
+ if (sCurrentStateName && ((sCurrentStateName === "app" || sCurrentStateName === "embedded") /* || sCurrentStateName === "home" */)) {
60
+ // add home entry to hierarchy
61
+ oHierarchy.push({
62
+ icon: "sap-icon://home",
63
+ title: resources.i18n.getText("actionHomePage"),
64
+ // Intent is set to root directly to avoid multiple hash changes.
65
+ intent: sRootIntent ? "#" + sRootIntent : "#"
66
+ });
68
67
 
69
68
  // In spaces mode, additionally add the origin page as a step into the hierarchy.
70
69
  // The page info is set in PageRuntime.controller as custom data of the root control there during navigation to the page.
@@ -94,16 +93,16 @@ sap.ui.define([
94
93
 
95
94
  this.onHierarchyChange = function (oEvent) {
96
95
  isHierarchyChanged = true;
97
- var aHierarchy = oEvent.getParameters().data,
98
- aExtendedHierarchy = [],
99
- sCurrentStateName = Config.last("/core/shell/model/currentState/stateName");
96
+ var aHierarchy = oEvent.getParameters().data;
97
+ var aExtendedHierarchy = [];
98
+ var sCurrentStateName = Config.last("/core/shell/model/currentState/stateName");
100
99
 
101
100
  if (!aHierarchy) {
102
101
  aHierarchy = [];
103
102
  }
104
103
  // we take the default value and save it with the data received
105
104
  var oHierarchyDefaultValue = this.getHierarchyDefaultValue();
106
- //We have to copy the passed array and its objects to prevent direct properties access.
105
+ // we have to copy the passed array and its objects to prevent direct properties access.
107
106
  aHierarchy.forEach(function (oItem, index) {
108
107
  aExtendedHierarchy[index] = extend({}, oItem);
109
108
  });
@@ -117,8 +116,8 @@ sap.ui.define([
117
116
 
118
117
  this.onRelatedAppsChange = function (oEvent) {
119
118
  isRelatedAppsChanged = true;
120
- var oRelatedApps = oEvent.getParameters().data,
121
- sCurrentStateName = Config.last("/core/shell/model/currentState/stateName");
119
+ var oRelatedApps = oEvent.getParameters().data;
120
+ var sCurrentStateName = Config.last("/core/shell/model/currentState/stateName");
122
121
 
123
122
  if (!oRelatedApps) {
124
123
  oRelatedApps = [];
@@ -157,43 +156,41 @@ sap.ui.define([
157
156
  };
158
157
 
159
158
  /**
160
- * Helper function to get the favIcon image URL based on a given theme parameter.
159
+ * Helper function to get the favicon image URL based on a given theme parameter.
161
160
  */
162
- this._getFavIcon = async function () {
163
- let [sFavIcon] = await ushellUtils.getThemingParameters(["sapUiShellFavicon"]);
164
- let bCustomFavIcon = false;
165
- if (sFavIcon) { // custom theme favicon
166
- var match = /url[\s]*\('?"?([^'")]*)'?"?\)/.exec(sFavIcon);
161
+ this._getFavicon = async function () {
162
+ let [sFavicon] = await ushellUtils.getThemingParameters(["sapUiShellFavicon"]);
163
+ let bCustomFavicon = false;
164
+ if (sFavicon) { // custom theme favicon
165
+ var match = /url[\s]*\('?"?([^'")]*)'?"?\)/.exec(sFavicon);
167
166
  if (match) {
168
- sFavIcon = match[1];
169
- bCustomFavIcon = true;
170
- } else if (sFavIcon === "''" || sFavIcon === "none") {
171
- sFavIcon = null;
167
+ sFavicon = match[1];
168
+ bCustomFavicon = true;
169
+ } else if (sFavicon === "''" || sFavicon === "none") {
170
+ sFavicon = null;
172
171
  }
173
172
  }
174
173
 
175
174
  var sConfigFavicon = Config.last("/core/shell/favIcon");
176
- if (sConfigFavicon && (sFavIcon === null || sFavIcon === undefined)) { // configuration favicon
177
- sFavIcon = sConfigFavicon;
178
- bCustomFavIcon = true;
175
+ if (sConfigFavicon && (sFavicon === null || sFavicon === undefined)) { // configuration favicon
176
+ sFavicon = sConfigFavicon;
177
+ bCustomFavicon = true;
179
178
  }
180
179
 
181
- if (!sFavIcon) { // default favicon
180
+ if (!sFavicon) { // default favicon
182
181
  var sModulePath = sap.ui.require.toUrl("sap/ushell");
183
- sFavIcon = sModulePath + "/themes/base/img/launchpad_favicon.ico";
182
+ sFavicon = sModulePath + "/themes/base/img/launchpad_favicon.ico";
184
183
  }
185
184
 
186
185
  return {
187
- favIcon: sFavIcon,
188
- customFavIcon: bCustomFavIcon
186
+ favicon: sFavicon,
187
+ isCustomFavicon: bCustomFavicon
189
188
  };
190
-
191
189
  };
192
190
 
193
191
  this.getAppIcon = function () {
194
- var sIcon = "sap-icon://folder",
195
- appMetaData = AppConfiguration.getMetadata();
196
-
192
+ var sIcon = "sap-icon://folder";
193
+ var appMetaData = AppConfiguration.getMetadata();
197
194
  if (appMetaData && appMetaData.icon) {
198
195
  sIcon = appMetaData.icon;
199
196
  }
@@ -201,56 +198,49 @@ sap.ui.define([
201
198
  };
202
199
 
203
200
  this.setAppIcons = function () {
204
- //Performance Debug
201
+ // performance debug
205
202
  Measurement.start("FLP:ShellController.setAppIcons", "setValues", "FLP");
206
- function onThemeChanged () {
207
- this.setValues();
208
- }
209
- Theming.attachApplied(onThemeChanged.bind(this));
203
+ Theming.attachApplied(() => this.setValues());
210
204
 
211
205
  Measurement.end("FLP:ShellController.setAppIcons");
212
206
  };
213
207
 
214
208
  this.setValues = async function () {
215
209
  var sModulePath = sap.ui.require.toUrl("sap/ushell");
216
- var sLaunchIconPhone = sModulePath + "/themes/base/img/launchicons/57_iPhone_Desktop_Launch.png";
217
- var sLaunchIconPhone2 = sModulePath + "/themes/base/img/launchicons/114_iPhone-Retina_Web_Clip.png";
218
- var sLaunchIconTablet = sModulePath + "/themes/base/img/launchicons/72_iPad_Desktop_Launch.png";
219
- var sLaunchIconTablet2 = sModulePath + "/themes/base/img/launchicons/144_iPad_Retina_Web_Clip.png";
220
- var oDefaultFavIcon = await this._getFavIcon();
221
- var sFavIcon = oDefaultFavIcon.favIcon;
222
-
223
- if (oDefaultFavIcon.customFavIcon) {
210
+ var oDefaultFavicon = await this._getFavicon();
211
+ var sFavicon = oDefaultFavicon.favicon;
212
+
213
+ if (oDefaultFavicon.isCustomFavicon) {
224
214
  Mobile.setIcons({
225
- phone: sFavIcon,
226
- "phone@2": sFavIcon,
227
- tablet: sFavIcon,
228
- "tablet@2": sFavIcon,
229
- favicon: sFavIcon,
215
+ phone: sFavicon,
216
+ "phone@2": sFavicon,
217
+ tablet: sFavicon,
218
+ "tablet@2": sFavicon,
219
+ favicon: sFavicon,
230
220
  precomposed: false
231
221
  });
232
222
  } else {
233
223
  Mobile.setIcons({
234
- phone: sLaunchIconPhone,
235
- "phone@2": sLaunchIconPhone2,
236
- tablet: sLaunchIconTablet,
237
- "tablet@2": sLaunchIconTablet2,
238
- favicon: sFavIcon,
224
+ phone: sModulePath + "/themes/base/img/launchicons/phone-icon_120x120.png",
225
+ "phone@2": sModulePath + "/themes/base/img/launchicons/phone-retina_180x180.png",
226
+ tablet: sModulePath + "/themes/base/img/launchicons/tablet-icon_152x152.png",
227
+ "tablet@2": sModulePath + "/themes/base/img/launchicons/tablet-retina_167x167.png",
228
+ favicon: sFavicon,
239
229
  precomposed: false
240
230
  });
241
231
  }
242
232
  };
243
233
 
244
- //The priority order is (from left to right): UserInfo, application metadata, device type
234
+ // the priority order is (from left to right): UserInfo, application metadata, device type
245
235
  this._applyContentDensityByPriority = function (isCompact, isUserChange) {
246
236
  return new Promise(function (resolve) {
247
237
  Container.getServiceAsync("UserInfo").then(function (userInfoService) {
248
238
  var appMetaData;
249
239
  if (isCompact === undefined) {
250
- //in case non of the below conditions is relevant, then cannot determine cozy or compact
240
+ // in case non of the below conditions is relevant, then cannot determine cozy or compact
251
241
  if (Device.system.combi) {
252
- var oUser = userInfoService.getUser(),
253
- sContentDensity = "autoDetect";
242
+ var oUser = userInfoService.getUser();
243
+ var sContentDensity = "autoDetect";
254
244
  // if oUser doesn't exist - then default is auto detect
255
245
  if (oUser) {
256
246
  sContentDensity = oUser.getContentDensity();
@@ -262,10 +252,10 @@ sap.ui.define([
262
252
  case "compact":
263
253
  isCompact = true;
264
254
  break;
265
- default: //autoDetect
255
+ default: // autoDetect
266
256
  appMetaData = AppConfiguration.getMetadata();
267
257
  // Compact == true , Cozy == false
268
- // All other cases - go to Cozy
258
+ // all other cases - go to Cozy
269
259
  if (appMetaData.compactContentDensity && !appMetaData.cozyContentDensity) {
270
260
  isCompact = true;
271
261
  } else {
@@ -290,13 +280,13 @@ sap.ui.define([
290
280
 
291
281
  this._applyContentDensityClass = function (isCompact, isUserChange) {
292
282
  return new Promise(function (resolve) {
293
- function setClasses (compact) {
283
+ function setClasses(compact) {
294
284
  document.body.classList.toggle("sapUiSizeCompact", compact);
295
285
  document.body.classList.toggle("sapUiSizeCozy", !compact);
296
286
 
297
287
  if (isUserChange === true) {
298
288
  sap.ui.require(["sap/ushell/components/applicationIntegration/application/PostMessageUtils"], function (PostMessageUtils) {
299
- PostMessageUtils.postMessageToMultipleIframes("sap.ushell.appRuntime", "uiDensityChange", {isTouch: (compact ? "0" : "1")});
289
+ PostMessageUtils.postMessageToMultipleIframes("sap.ushell.appRuntime", "uiDensityChange", { isTouch: (compact ? "0" : "1") });
300
290
  });
301
291
  }
302
292
  resolve();
@@ -327,33 +317,27 @@ sap.ui.define([
327
317
  };
328
318
 
329
319
  this.getTitleDefaultValue = function () {
330
- var sTitle = "",
331
- appMetaData = AppConfiguration.getMetadata();
332
-
320
+ var sTitle = "";
321
+ var appMetaData = AppConfiguration.getMetadata();
333
322
  if (appMetaData && appMetaData.title) {
334
323
  sTitle = appMetaData.title;
335
324
  }
336
325
  return sTitle;
337
326
  };
338
327
 
339
- this.create = function () {
340
- };
328
+ this.create = function () { };
341
329
 
342
330
  this.restore = function () {
343
331
  this._applyContentDensityByPriority();
344
332
  this.setAppIcons();
345
333
  };
346
334
 
347
- this.store = function (oInMeta) {
348
- };
349
-
335
+ this.store = function (oInMeta) { };
350
336
 
351
337
  this.destroy = function (oInMeta) {
352
- //handle destroy of the services
338
+ // handle destroy of the services
353
339
  };
354
-
355
340
  }
356
341
 
357
-
358
342
  return new AppMeta();
359
343
  }, /* bExport= */ true);
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @fileOverview The models assosicated with the applciation.
5
- * @version 1.121.1
5
+ * @version 1.122.0
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/ui/core/EventBus",
@@ -1,7 +1,7 @@
1
1
  // Copyright (c) 2009-2023 SAP SE, All Rights Reserved
2
2
  /**
3
3
  * @fileOverview handle all the services for the different applications.
4
- * @version 1.121.1
4
+ * @version 1.122.0
5
5
  */
6
6
  sap.ui.define([
7
7
  "sap/ui/core/EventBus",
@@ -1,7 +1,7 @@
1
1
  // Copyright (c) 2009-2023 SAP SE, All Rights Reserved
2
2
  /**
3
3
  * @fileOverview handle all the related shell elements of the different applications.
4
- * @version 1.121.1
4
+ * @version 1.122.0
5
5
  */
6
6
  sap.ui.define([
7
7
  "sap/base/Log",
@@ -2,8 +2,8 @@
2
2
 
3
3
  sap.ui.define([
4
4
  "sap/ui/core/theming/Parameters",
5
- "sap/ui/core/Core"
6
- ], function (ThemeParameters, Core) {
5
+ "sap/ui/core/Theming"
6
+ ], function (ThemeParameters, Theming) {
7
7
 
8
8
  "use strict";
9
9
 
@@ -13,7 +13,7 @@ sap.ui.define([
13
13
  name: ["sapUiAccent2", "sapUiAccentBackgroundColor2", "sapUiAccent10", "sapUiAccentBackgroundColor10", "sapUiFontFamily"]
14
14
  });
15
15
  }
16
- Core.attachThemeChanged(getThemeParameters);
16
+ Theming.attachApplied(getThemeParameters);
17
17
  getThemeParameters();
18
18
 
19
19
  var sCalendarSvg = [
@@ -2,8 +2,8 @@
2
2
 
3
3
  sap.ui.define([
4
4
  "sap/ui/core/theming/Parameters",
5
- "sap/ui/core/Core"
6
- ], function (ThemeParameters, Core) {
5
+ "sap/ui/core/Theming"
6
+ ], function (ThemeParameters, Theming) {
7
7
 
8
8
  "use strict";
9
9
 
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  }
33
33
  }
34
34
 
35
- Core.attachThemeChanged(function () {
35
+ Theming.attachApplied(function () {
36
36
  // remove old css vars
37
37
  for (var i = 0; i < aAllParams.length; i++) {
38
38
  document.body.style.removeProperty("--" + aAllParams[i]);
@@ -7,7 +7,7 @@ sap.ui.define(
7
7
  "sap/m/FlexBox",
8
8
  "sap/m/Avatar",
9
9
  "sap/m/ObjectIdentifier",
10
- "sap/ui/core/Core",
10
+ "sap/ui/core/Theming",
11
11
  "sap/ui/core/theming/Parameters",
12
12
  "sap/ui/core/format/DateFormat"
13
13
  ],
@@ -18,7 +18,7 @@ sap.ui.define(
18
18
  FlexBox,
19
19
  Avatar,
20
20
  ObjectIdentifier,
21
- Core,
21
+ Theming,
22
22
  ThemeParameters,
23
23
  DateFormat
24
24
  ) {
@@ -35,7 +35,7 @@ sap.ui.define(
35
35
  "sapUiFontFamily"]
36
36
  });
37
37
  }
38
- Core.attachThemeChanged(getThemeParameters);
38
+ Theming.attachApplied(getThemeParameters);
39
39
  getThemeParameters();
40
40
 
41
41
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @fileOverview The UI integration's SAPUI5 control which supports application embedding.
5
- * @version 1.121.1
5
+ * @version 1.122.0
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/base/Log",
@@ -820,11 +820,11 @@ sap.ui.define([
820
820
  }
821
821
 
822
822
  /**
823
- * Amends the NavTargetResolution response with theme, sap-ushell-version, accessibility and post parameters if present.
823
+ * Amends the NavTargetResolutionInternal response with theme, sap-ushell-version, accessibility and post parameters if present.
824
824
  * Theme and accessibility information is only added for the NWBC application type.
825
825
  *
826
826
  * @param {string} sUrl
827
- * Already resolved url (NavTargetResolution response)
827
+ * Already resolved url (NavTargetResolutionInternal response)
828
828
  * @param {string} sUrlApplicationType
829
829
  * The application type of <code>sUrl</code>
830
830
  * @param {string} sTargetNavigationMode
@@ -1475,7 +1475,7 @@ sap.ui.define([
1475
1475
  }
1476
1476
  },
1477
1477
 
1478
- invalidate: function() {
1478
+ invalidate: function () {
1479
1479
  if (this.getDomRef()) {
1480
1480
  //always prevent re-rendering of application container once it's rendered
1481
1481
  return this;
@@ -2,7 +2,7 @@
2
2
  /**
3
3
  * @fileOverview ContentFinder Component
4
4
  *
5
- * @version 1.121.1
5
+ * @version 1.122.0
6
6
  */
7
7
 
8
8
  sap.ui.define([
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @file AppSearch controller for AppSearch view
5
- * @version 1.121.1
5
+ * @version 1.122.0
6
6
  */
7
7
  sap.ui.define([
8
8
  "./ContentFinderDialog.controller",
@@ -226,16 +226,23 @@ sap.ui.define([
226
226
  * @param {string} sTitle The app title.
227
227
  * @param {string} sSubtitle The app subtitle.
228
228
  * @param {boolean} bAdded Flag indicating if the app has already been added to the cell.
229
+ * @param {string} sFioriIdLabel The app title.
230
+ * @param {string} sAppId The app subtitle.
231
+ * @param {string} sInformationLabel The information label
232
+ * @param {string} sInfo The app information
233
+ * @param {string} sFieldEmpty The field empty text
229
234
  * @since 1.115.0
230
235
  * @returns {string} The description.
231
236
  */
232
- formatAppBoxAccDescription: function (sTitle, sSubtitle, bAdded) {
233
- var aDescriptions = [];
234
-
237
+ formatAppBoxAccDescription: function (sTitle, sSubtitle, bAdded, sFioriIdLabel, sAppId, sInformationLabel, sInfo, sFieldEmpty) {
238
+ let aDescriptions = [];
235
239
  if (sTitle) { aDescriptions.push(sTitle); }
236
240
  if (sSubtitle) { aDescriptions.push(sSubtitle); }
237
241
  if (bAdded) { aDescriptions.push(this.oResourceBundle.getText("ContentFinder.AppSearch.Message.AlreadyUsed")); }
238
-
242
+ if (sFioriIdLabel) { aDescriptions.push(sFioriIdLabel); }
243
+ if (sAppId) { aDescriptions.push(sAppId); } else if (sFieldEmpty) { aDescriptions.push(sFieldEmpty); }
244
+ if (sInformationLabel) { aDescriptions.push(sInformationLabel); }
245
+ if (sInfo) { aDescriptions.push(sInfo); } else if (sFieldEmpty) { aDescriptions.push(sFieldEmpty); }
239
246
  return aDescriptions.join(" . ");
240
247
  }
241
248
  });
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @file Controller for ContentFinderDialog root view
5
- * @version 1.121.1
5
+ * @version 1.122.0
6
6
  */
7
7
  sap.ui.define([
8
8
  "../model/formatter",
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @file Controller for WidgetGallery view
5
- * @version 1.121.1
5
+ * @version 1.122.0
6
6
  */
7
7
  sap.ui.define([
8
8
  "./ContentFinderDialog.controller"
@@ -3,7 +3,7 @@
3
3
  "sap.app": {
4
4
  "id": "sap.ushell.components.contentFinder",
5
5
  "applicationVersion": {
6
- "version": "1.121.1"
6
+ "version": "1.122.0"
7
7
  },
8
8
  "i18n": "./resources/resources.properties",
9
9
  "ach": "CA-FLP-FE-UI",
@@ -57,4 +57,4 @@ ContentFinder.AppSearch.Text.FieldEmpty=Not available
57
57
  #XBUT
58
58
  ContentFinder.AppSearch.Button.Preview=Preview
59
59
  #XMSG
60
- ContentFinder.AppSearch.Message.AlreadyUsed=Already Used
60
+ ContentFinder.AppSearch.Message.Select=Select {0}