@sapui5/sap.ushell 1.117.1 → 1.118.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 (386) hide show
  1. package/package.json +4 -4
  2. package/src/main/js/sap/ushell/.library +1 -1
  3. package/src/main/js/sap/ushell/ApplicationType.js +4 -6
  4. package/src/main/js/sap/ushell/Container.js +0 -6
  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/NWBCInterface.js +1 -1
  8. package/src/main/js/sap/ushell/SessionHandler.js +4 -4
  9. package/src/main/js/sap/ushell/TechnicalParameters.js +1 -1
  10. package/src/main/js/sap/ushell/URLTemplateProcessor.js +1 -1
  11. package/src/main/js/sap/ushell/Ui5NativeServiceFactory.js +1 -1
  12. package/src/main/js/sap/ushell/Ui5ServiceFactory.js +1 -1
  13. package/src/main/js/sap/ushell/User.js +10 -0
  14. package/src/main/js/sap/ushell/_ApplicationType/urlTemplateResolution.js +64 -56
  15. package/src/main/js/sap/ushell/_ApplicationType/wdaResolution.js +5 -5
  16. package/src/main/js/sap/ushell/_URLTemplateProcessor/DefinitionParameterSetBuilder.js +1 -1
  17. package/src/main/js/sap/ushell/_URLTemplateProcessor/DependencyGraph.js +1 -1
  18. package/src/main/js/sap/ushell/_URLTemplateProcessor/Functions.js +1 -1
  19. package/src/main/js/sap/ushell/_URLTemplateProcessor/Resolvers.js +1 -1
  20. package/src/main/js/sap/ushell/_URLTemplateProcessor/TemplateParameterParser.js +1 -1
  21. package/src/main/js/sap/ushell/_URLTemplateProcessor/utils.js +1 -1
  22. package/src/main/js/sap/ushell/adapters/cdm/ClientSideTargetResolutionAdapter.js +2 -2
  23. package/src/main/js/sap/ushell/adapters/cdm/CommonDataModelAdapter.js +1 -1
  24. package/src/main/js/sap/ushell/adapters/cdm/ConfigurationDefaultsAdapter.js +1 -1
  25. package/src/main/js/sap/ushell/adapters/cdm/ContainerAdapter.js +1 -1
  26. package/src/main/js/sap/ushell/adapters/cdm/LaunchPageAdapter.js +1 -1
  27. package/src/main/js/sap/ushell/adapters/cdm/PagesCommonDataModelAdapter.js +1 -1
  28. package/src/main/js/sap/ushell/adapters/cdm/PersonalizationAdapter.js +1 -1
  29. package/src/main/js/sap/ushell/adapters/cdm/Ui5ComponentLoaderAdapter.js +1 -1
  30. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/modifyHome.js +1 -1
  31. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readCatalogs.js +1 -1
  32. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readHome.js +1 -1
  33. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/uri.transform.js +1 -1
  34. package/src/main/js/sap/ushell/adapters/cdm/util/AppForInbound.js +1 -1
  35. package/src/main/js/sap/ushell/adapters/cdm/util/cdmSiteUtils.js +1 -1
  36. package/src/main/js/sap/ushell/adapters/cdm/v3/AdapterBase.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 +11 -9
  45. package/src/main/js/sap/ushell/adapters/cdm/v3/utilsCdm.js +1 -1
  46. package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionAdapter.js +1 -1
  47. package/src/main/js/sap/ushell/adapters/cep/SearchCEPAdapter.js +1 -1
  48. package/src/main/js/sap/ushell/adapters/cflp/UserDefaultParameterPersistenceAdapter.js +1 -1
  49. package/src/main/js/sap/ushell/adapters/local/AdapterContainer.js +1 -1
  50. package/src/main/js/sap/ushell/adapters/local/AppStateAdapter.js +1 -1
  51. package/src/main/js/sap/ushell/adapters/local/ClientSideTargetResolutionAdapter.js +1 -1
  52. package/src/main/js/sap/ushell/adapters/local/ContainerAdapter.js +1 -1
  53. package/src/main/js/sap/ushell/adapters/local/LaunchPageAdapter.js +1 -1
  54. package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionAdapter.js +3 -2
  55. package/src/main/js/sap/ushell/adapters/local/PageBuildingAdapter.js +1 -1
  56. package/src/main/js/sap/ushell/adapters/local/PagePersistenceAdapter.js +1 -1
  57. package/src/main/js/sap/ushell/adapters/local/PersonalizationAdapter.js +1 -1
  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 +1 -1
  63. package/src/main/js/sap/ushell/adapters/local/UserInfoAdapter.js +1 -1
  64. package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntime.js +17 -19
  65. package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntimeContext.js +3 -3
  66. package/src/main/js/sap/ushell/appRuntime/ui5/SessionHandlerAgent.js +10 -0
  67. package/src/main/js/sap/ushell/appRuntime/ui5/services/AppLifeCycleAgent.js +2 -11
  68. package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/Ui5ComponentLoaderAdapter.js +1 -1
  69. package/src/main/js/sap/ushell/bootstrap/SchedulingAgent.js +8 -4
  70. package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/EventProcessor.js +21 -2
  71. package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/FLPScheduler.js +23 -7
  72. package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/StepConfiguration.json +4 -3
  73. package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/logger.js +1 -1
  74. package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/state.js +1 -1
  75. package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5.js +1 -0
  76. package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5datetimeformat.js +1 -1
  77. package/src/main/js/sap/ushell/components/HeaderManager.js +6 -6
  78. package/src/main/js/sap/ushell/components/appfinder/CatalogView.js +17 -18
  79. package/src/main/js/sap/ushell/components/appfinder/HierarchyAppsView.js +1 -1
  80. package/src/main/js/sap/ushell/components/appfinder/manifest.json +1 -1
  81. package/src/main/js/sap/ushell/components/applicationIntegration/AppLifeCycle.js +9 -11
  82. package/src/main/js/sap/ushell/components/applicationIntegration/application/Application.js +7 -1
  83. package/src/main/js/sap/ushell/components/applicationIntegration/application/BlueBoxHandler.js +9 -18
  84. package/src/main/js/sap/ushell/components/applicationIntegration/application/PostMessageAPI.js +9 -5
  85. package/src/main/js/sap/ushell/components/applicationIntegration/configuration/AppMeta.js +1 -1
  86. package/src/main/js/sap/ushell/components/applicationIntegration/elements/model.js +1 -1
  87. package/src/main/js/sap/ushell/components/applicationIntegration/relatedServices/RelatedServices.js +1 -1
  88. package/src/main/js/sap/ushell/components/applicationIntegration/relatedShellElements/RelatedShellElements.js +2 -4
  89. package/src/main/js/sap/ushell/components/container/ApplicationContainer.js +3 -8
  90. package/src/main/js/sap/ushell/components/contentFinder/Component.js +1 -1
  91. package/src/main/js/sap/ushell/components/contentFinder/controller/AppSearch.controller.js +3 -3
  92. package/src/main/js/sap/ushell/components/contentFinder/controller/ContentFinderDialog.controller.js +1 -1
  93. package/src/main/js/sap/ushell/components/contentFinder/controller/WidgetGallery.controller.js +1 -1
  94. package/src/main/js/sap/ushell/components/contentFinder/manifest.json +4 -2
  95. package/src/main/js/sap/ushell/components/contentFinder/view/AppSearch.view.xml +37 -17
  96. package/src/main/js/sap/ushell/components/contentFinder/view/AppSearchBox.fragment.xml +111 -35
  97. package/src/main/js/sap/ushell/components/contentFinder/view/AppSearchPaginated.view.xml +37 -18
  98. package/src/main/js/sap/ushell/components/contentFinder/view/ContentFinderDialog.view.xml +24 -15
  99. package/src/main/js/sap/ushell/components/contentFinder/view/WidgetGallery.view.xml +67 -39
  100. package/src/main/js/sap/ushell/components/factsheet/Component.js +1 -1
  101. package/src/main/js/sap/ushell/components/factsheet/tools/ODataUrlTemplating.js +1 -1
  102. package/src/main/js/sap/ushell/components/homepage/ActionMode.js +1 -1
  103. package/src/main/js/sap/ushell/components/homepage/DashboardContent.view.js +1 -1
  104. package/src/main/js/sap/ushell/components/homepage/DashboardGroupsBox.js +1 -1
  105. package/src/main/js/sap/ushell/components/homepage/DashboardUIActions.js +1 -1
  106. package/src/main/js/sap/ushell/components/homepage/FLPAnalytics.js +1 -1
  107. package/src/main/js/sap/ushell/components/homepage/manifest.json +1 -1
  108. package/src/main/js/sap/ushell/components/pages/ActionMode.js +1 -1
  109. package/src/main/js/sap/ushell/components/pages/Component.js +1 -1
  110. package/src/main/js/sap/ushell/components/pages/MyHomeImport.js +1 -1
  111. package/src/main/js/sap/ushell/components/pages/controller/PageRuntime.controller.js +2 -2
  112. package/src/main/js/sap/ushell/components/pages/manifest.json +1 -1
  113. package/src/main/js/sap/ushell/components/runtimeSwitcher/controller/RuntimeSwitcher.controller.js +1 -1
  114. package/src/main/js/sap/ushell/components/runtimeSwitcher/manifest.json +1 -1
  115. package/src/main/js/sap/ushell/components/shell/MenuBar/manifest.json +1 -1
  116. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenu.controller.js +1 -1
  117. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/manifest.json +1 -1
  118. package/src/main/js/sap/ushell/components/shell/Notifications/Component.js +1 -1
  119. package/src/main/js/sap/ushell/components/shell/Notifications/Notifications.controller.js +1 -1
  120. package/src/main/js/sap/ushell/components/shell/ProductSwitch/Component.js +1 -1
  121. package/src/main/js/sap/ushell/components/shell/Search/manifest.json +1 -1
  122. package/src/main/js/sap/ushell/components/shell/SearchCEP/Component.js +1 -1
  123. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/FrequentActivityProvider.js +1 -1
  124. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/RecentSearchProvider.js +1 -1
  125. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchProvider.js +1 -1
  126. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchServiceProvider.js +1 -1
  127. package/src/main/js/sap/ushell/components/shell/Settings/Component.js +1 -1
  128. package/src/main/js/sap/ushell/components/shell/Settings/appearance/Appearance.controller.js +2 -2
  129. package/src/main/js/sap/ushell/components/shell/Settings/userAccount/UserAccountEntry.js +2 -2
  130. package/src/main/js/sap/ushell/components/shell/Settings/userAccount/UserAccountSelector.view.xml +27 -16
  131. package/src/main/js/sap/ushell/components/shell/Settings/userAccount/UserAccountSetting.view.xml +12 -6
  132. package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/controller/UserDefaultsSetting.controller.js +1 -1
  133. package/src/main/js/sap/ushell/components/shell/Settings/userLanguageRegion/LanguageRegionSelector.controller.js +65 -17
  134. package/src/main/js/sap/ushell/components/shell/Settings/userLanguageRegion/LanguageRegionSelector.view.xml +18 -1
  135. package/src/main/js/sap/ushell/components/shell/UserActionsMenu/Component.js +1 -1
  136. package/src/main/js/sap/ushell/components/shell/UserImage/Component.js +1 -1
  137. package/src/main/js/sap/ushell/components/tiles/applauncher/Configuration.view.xml +2 -2
  138. package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/Configuration.view.xml +2 -2
  139. package/src/main/js/sap/ushell/components/tiles/utils.js +3 -2
  140. package/src/main/js/sap/ushell/components/visualizationOrganizer/Component.js +1 -1
  141. package/src/main/js/sap/ushell/components/workPageBuilder/Component.js +1 -1
  142. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.accessibility.js +1 -1
  143. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.controller.js +274 -65
  144. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageHost.js +2 -2
  145. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPage.js +9 -11
  146. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageButton.js +48 -48
  147. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageCell.js +12 -12
  148. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumn.js +8 -8
  149. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnRenderer.js +9 -9
  150. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnResizer.js +44 -44
  151. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRenderer.js +7 -4
  152. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRow.js +8 -8
  153. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRowRenderer.js +9 -8
  154. package/src/main/js/sap/ushell/components/workPageBuilder/manifest.json +8 -1
  155. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources.properties +10 -2
  156. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ar.properties +10 -6
  157. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_bg.properties +10 -6
  158. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ca.properties +10 -6
  159. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_cs.properties +10 -6
  160. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_cy.properties +10 -6
  161. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_da.properties +10 -6
  162. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_de.properties +11 -7
  163. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_el.properties +10 -6
  164. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_en.properties +6 -2
  165. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_en_GB.properties +6 -2
  166. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_en_US_sappsd.properties +6 -2
  167. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_en_US_saprigi.properties +6 -2
  168. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_en_US_saptrc.properties +13 -6
  169. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_es.properties +10 -6
  170. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_es_MX.properties +10 -6
  171. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_et.properties +10 -6
  172. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_fi.properties +11 -7
  173. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_fr.properties +10 -6
  174. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_fr_CA.properties +10 -6
  175. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_hi.properties +10 -6
  176. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_hr.properties +10 -6
  177. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_hu.properties +10 -6
  178. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_id.properties +10 -6
  179. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_it.properties +11 -7
  180. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_iw.properties +10 -6
  181. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ja.properties +11 -7
  182. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_kk.properties +10 -6
  183. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ko.properties +10 -6
  184. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_lt.properties +10 -6
  185. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_lv.properties +10 -6
  186. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ms.properties +10 -6
  187. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_nl.properties +10 -6
  188. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_no.properties +11 -7
  189. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_pl.properties +10 -6
  190. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_pt.properties +10 -6
  191. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_pt_PT.properties +10 -6
  192. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ro.properties +10 -6
  193. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ru.properties +10 -6
  194. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_sh.properties +10 -6
  195. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_sk.properties +10 -6
  196. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_sl.properties +10 -6
  197. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_sv.properties +10 -6
  198. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_th.properties +10 -6
  199. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_tr.properties +10 -6
  200. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_uk.properties +10 -6
  201. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_vi.properties +10 -6
  202. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_zh_CN.properties +10 -6
  203. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_zh_TW.properties +10 -6
  204. package/src/main/js/sap/ushell/components/workPageBuilder/view/WorkPageBuilder.view.xml +49 -34
  205. package/src/main/js/sap/ushell/components/workPageBuilder/view/WorkPageCellDeleteDialog.fragment.xml +25 -0
  206. package/src/main/js/sap/ushell/components/workPageBuilder/view/WorkPageRowDeleteDialog.fragment.xml +13 -5
  207. package/src/main/js/sap/ushell/components/workPageRuntime/Component.js +1 -1
  208. package/src/main/js/sap/ushell/components/workPageRuntime/controller/WorkPageRuntime.controller.js +2 -2
  209. package/src/main/js/sap/ushell/components/workPageRuntime/manifest.json +5 -1
  210. package/src/main/js/sap/ushell/components/workPageRuntime/services/NavigationResolver.js +1 -1
  211. package/src/main/js/sap/ushell/components/workPageRuntime/services/WorkPage.js +1 -1
  212. package/src/main/js/sap/ushell/components/workPageRuntime/view/WorkPageRuntime.view.xml +5 -4
  213. package/src/main/js/sap/ushell/designtime/ApplicationContainer.designtime.js +1 -1
  214. package/src/main/js/sap/ushell/library.js +1 -1
  215. package/src/main/js/sap/ushell/navigationMode.js +105 -121
  216. package/src/main/js/sap/ushell/performance/FesrEnhancer.js +16 -2
  217. package/src/main/js/sap/ushell/performance/ShellAnalytics.js +1 -1
  218. package/src/main/js/sap/ushell/performance/StatisticalRecord.js +1 -1
  219. package/src/main/js/sap/ushell/plugins/appwarmup/Component.js +1 -1
  220. package/src/main/js/sap/ushell/renderers/fiori2/LogonFrameProvider.js +2 -2
  221. package/src/main/js/sap/ushell/renderers/fiori2/Renderer.js +2 -2
  222. package/src/main/js/sap/ushell/renderers/fiori2/Shell.controller.js +6 -0
  223. package/src/main/js/sap/ushell/renderers/fiori2/ShellLayout.js +1 -1
  224. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources.properties +20 -0
  225. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_ar.properties +12 -1
  226. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_bg.properties +12 -1
  227. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_ca.properties +12 -1
  228. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_cs.properties +12 -1
  229. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_cy.properties +12 -1
  230. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_da.properties +12 -1
  231. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_de.properties +15 -4
  232. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_el.properties +12 -1
  233. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_en.properties +11 -0
  234. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_en_GB.properties +11 -0
  235. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_en_US_sappsd.properties +11 -0
  236. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_en_US_saprigi.properties +11 -0
  237. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_en_US_saptrc.properties +12 -0
  238. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_es.properties +12 -1
  239. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_es_MX.properties +14 -3
  240. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_et.properties +12 -1
  241. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_fi.properties +12 -1
  242. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_fr.properties +12 -1
  243. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_fr_CA.properties +12 -1
  244. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_hi.properties +12 -1
  245. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_hr.properties +12 -1
  246. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_hu.properties +12 -1
  247. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_id.properties +12 -1
  248. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_it.properties +12 -1
  249. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_iw.properties +16 -5
  250. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_ja.properties +12 -1
  251. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_kk.properties +12 -1
  252. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_ko.properties +12 -1
  253. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_lt.properties +12 -1
  254. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_lv.properties +12 -1
  255. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_ms.properties +12 -1
  256. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_nl.properties +12 -1
  257. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_no.properties +12 -1
  258. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_pl.properties +12 -1
  259. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_pt.properties +12 -1
  260. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_pt_PT.properties +12 -1
  261. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_ro.properties +12 -1
  262. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_ru.properties +12 -1
  263. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_sh.properties +12 -1
  264. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_sk.properties +12 -1
  265. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_sl.properties +12 -1
  266. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_sv.properties +12 -1
  267. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_th.properties +12 -1
  268. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_tr.properties +12 -1
  269. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_uk.properties +12 -1
  270. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_vi.properties +12 -1
  271. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_zh_CN.properties +12 -1
  272. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_zh_TW.properties +12 -1
  273. package/src/main/js/sap/ushell/renderers/fiori2/search/searchComponent/controller/CEPSearchApp.controller.js +4 -4
  274. package/src/main/js/sap/ushell/renderers/fiori2/search/searchComponent/controller/SearchApp.controller.js +3 -3
  275. package/src/main/js/sap/ushell/renderers/fiori2/search/searchComponent/manifest.json +1 -1
  276. package/src/main/js/sap/ushell/renderers/fiori2/search/searchComponent/view/CEPSearchApp.view.js +4 -3
  277. package/src/main/js/sap/ushell/renderers/fiori2/search/searchComponent/view/SearchApp.view.js +4 -3
  278. package/src/main/js/sap/ushell/services/AppLifeCycle.js +1 -1
  279. package/src/main/js/sap/ushell/services/AppState.js +1 -1
  280. package/src/main/js/sap/ushell/services/Bookmark.js +1 -1
  281. package/src/main/js/sap/ushell/services/ClientSideTargetResolution.js +97 -101
  282. package/src/main/js/sap/ushell/services/CommonDataModel.js +1 -1
  283. package/src/main/js/sap/ushell/services/Configuration.js +1 -1
  284. package/src/main/js/sap/ushell/services/ConfigurationDefaults.js +1 -1
  285. package/src/main/js/sap/ushell/services/ContentExtensionAdapterFactory.js +1 -1
  286. package/src/main/js/sap/ushell/services/CrossApplicationNavigation.js +1 -1
  287. package/src/main/js/sap/ushell/services/DarkModeSupport.js +1 -1
  288. package/src/main/js/sap/ushell/services/LaunchPage.js +1 -1
  289. package/src/main/js/sap/ushell/services/Menu.js +1 -1
  290. package/src/main/js/sap/ushell/services/Message.js +1 -1
  291. package/src/main/js/sap/ushell/services/MessageBroker.js +1 -1
  292. package/src/main/js/sap/ushell/services/NavTargetResolution.js +12 -34
  293. package/src/main/js/sap/ushell/services/NavigationDataProvider.js +1 -1
  294. package/src/main/js/sap/ushell/services/PageBuilding.js +1 -1
  295. package/src/main/js/sap/ushell/services/PagePersistence.js +1 -1
  296. package/src/main/js/sap/ushell/services/PageReferencing.js +1 -1
  297. package/src/main/js/sap/ushell/services/Pages.js +1 -1
  298. package/src/main/js/sap/ushell/services/Personalization.js +1 -1
  299. package/src/main/js/sap/ushell/services/PluginManager.js +1 -1
  300. package/src/main/js/sap/ushell/services/ReferenceResolver.js +1 -1
  301. package/src/main/js/sap/ushell/services/Search.js +1 -1
  302. package/src/main/js/sap/ushell/services/SearchCEP.js +1 -1
  303. package/src/main/js/sap/ushell/services/SearchableContent.js +1 -1
  304. package/src/main/js/sap/ushell/services/SmartNavigation.js +1 -1
  305. package/src/main/js/sap/ushell/services/SpaceContent.js +1 -1
  306. package/src/main/js/sap/ushell/services/UITracer.js +1 -1
  307. package/src/main/js/sap/ushell/services/URLShortening.js +2 -2
  308. package/src/main/js/sap/ushell/services/URLTemplate.js +1 -1
  309. package/src/main/js/sap/ushell/services/Ui5ComponentLoader.js +1 -1
  310. package/src/main/js/sap/ushell/services/UserDefaultParameterPersistence.js +1 -1
  311. package/src/main/js/sap/ushell/services/UserDefaultParameters.js +9 -8
  312. package/src/main/js/sap/ushell/services/UserInfo.js +8 -1
  313. package/src/main/js/sap/ushell/services/UserRecents.js +1 -1
  314. package/src/main/js/sap/ushell/services/VisualizationDataProvider.js +1 -1
  315. package/src/main/js/sap/ushell/services/VisualizationInstantiation.js +1 -1
  316. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Formatter.js +1 -1
  317. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/InboundIndex.js +1 -1
  318. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/InboundProvider.js +1 -1
  319. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/PrelaunchOperations.js +1 -1
  320. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Search.js +1 -1
  321. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/StagedLogger.js +1 -1
  322. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/SystemContext.js +1 -1
  323. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Utils.js +1 -1
  324. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/VirtualInbounds.js +1 -1
  325. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/XAppStateProcessing.js +5 -25
  326. package/src/main/js/sap/ushell/services/_CommonDataModel/SiteConverter.js +1 -1
  327. package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/ContentExtensionAdapterConfig.js +1 -1
  328. package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/FeaturedGroupConfig.js +2 -2
  329. package/src/main/js/sap/ushell/services/_CrossApplicationNavigation/utils.js +1 -1
  330. package/src/main/js/sap/ushell/services/_MessageBroker/MessageBrokerEngine.js +1 -1
  331. package/src/main/js/sap/ushell/services/_PageReferencing/PageReferencer.js +1 -1
  332. package/src/main/js/sap/ushell/services/_PluginManager/Extensions.js +1 -1
  333. package/src/main/js/sap/ushell/services/_PluginManager/HeaderExtensions.js +1 -1
  334. package/src/main/js/sap/ushell/services/_PluginManager/MenuExtensions.js +1 -1
  335. package/src/main/js/sap/ushell/services/_Ui5ComponentLoader/utils.js +1 -1
  336. package/src/main/js/sap/ushell/services/_VisualizationInstantiation/VizInstanceLink.js +1 -1
  337. package/src/main/js/sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin.js +1 -1
  338. package/src/main/js/sap/ushell/themes/base/ContentFinder.less +8 -12
  339. package/src/main/js/sap/ushell/themes/base/SearchCEP.less +3 -4
  340. package/src/main/js/sap/ushell/themes/base/ShellHeader.less +0 -4
  341. package/src/main/js/sap/ushell/themes/base/UserSettings.less +3 -46
  342. package/src/main/js/sap/ushell/themes/base/WorkPage.less +7 -8
  343. package/src/main/js/sap/ushell/themes/base/WorkPageButton.less +7 -7
  344. package/src/main/js/sap/ushell/themes/base/WorkPageCell.less +46 -45
  345. package/src/main/js/sap/ushell/themes/base/WorkPageColumn.less +49 -38
  346. package/src/main/js/sap/ushell/themes/base/WorkPageColumnResizer.less +42 -38
  347. package/src/main/js/sap/ushell/themes/base/WorkPageRow.less +59 -25
  348. package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.eot +0 -0
  349. package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.ttf +0 -0
  350. package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.woff +0 -0
  351. package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.woff2 +0 -0
  352. package/src/main/js/sap/ushell/themes/sap_horizon/SearchCEP.less +1 -1
  353. package/src/main/js/sap/ushell/themes/sap_horizon/ToolAreaItem.less +49 -20
  354. package/src/main/js/sap/ushell/themes/sap_horizon/WorkPageCell.less +2 -1
  355. package/src/main/js/sap/ushell/themes/sap_horizon_dark/SearchCEP.less +1 -1
  356. package/src/main/js/sap/ushell/themes/sap_horizon_dark/ToolAreaItem.less +48 -20
  357. package/src/main/js/sap/ushell/themes/sap_horizon_dark/WorkPageCell.less +2 -1
  358. package/src/main/js/sap/ushell/themes/sap_horizon_hcb/SearchCEP.less +0 -1
  359. package/src/main/js/sap/ushell/themes/sap_horizon_hcb/WorkPageCell.less +2 -1
  360. package/src/main/js/sap/ushell/themes/sap_horizon_hcw/SearchCEP.less +0 -1
  361. package/src/main/js/sap/ushell/themes/sap_horizon_hcw/WorkPageCell.less +2 -1
  362. package/src/main/js/sap/ushell/ui/ShellHeader.js +0 -33
  363. package/src/main/js/sap/ushell/ui/ShellHeaderRenderer.js +15 -2
  364. package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +1 -1
  365. package/src/main/js/sap/ushell/ui/footerbar/AddBookmarkButton.js +3 -3
  366. package/src/main/js/sap/ushell/ui/footerbar/ContactSupportButton.js +5 -4
  367. package/src/main/js/sap/ushell/ui/footerbar/JamDiscussButton.js +13 -11
  368. package/src/main/js/sap/ushell/ui/footerbar/JamShareButton.js +30 -22
  369. package/src/main/js/sap/ushell/ui/launchpad/ExtendedChangeDetection.js +1 -1
  370. package/src/main/js/sap/ushell/ui/launchpad/Page.js +1 -1
  371. package/src/main/js/sap/ushell/ui/launchpad/Section.js +2 -2
  372. package/src/main/js/sap/ushell/ui/launchpad/TileContainerRenderer.js +3 -3
  373. package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.js +1 -1
  374. package/src/main/js/sap/ushell/ui/shell/ShellAppTitle.js +3 -2
  375. package/src/main/js/sap/ushell/ui/shell/ShellHeadItem.js +1 -1
  376. package/src/main/js/sap/ushell/ui/shell/SysInfoBar.js +5 -4
  377. package/src/main/js/sap/ushell/ui/shell/ToolAreaItem.js +1 -1
  378. package/src/main/js/sap/ushell/ui/utils.js +1 -1
  379. package/src/main/js/sap/ushell/ui5service/ShellUIService.js +1 -1
  380. package/src/main/js/sap/ushell/ui5service/UserStatus.js +1 -1
  381. package/src/main/js/sap/ushell/utils/DynamicTileRequest.js +353 -323
  382. package/src/main/js/sap/ushell/utils/UrlShortening.js +1 -1
  383. package/src/main/js/sap/ushell/utils.js +43 -20
  384. package/src/test/js/sap/ushell/bootstrap/sandbox.js +1 -1
  385. package/ui5.yaml +1 -1
  386. package/src/main/js/sap/ushell/utils/clone.js +0 -167
@@ -29,7 +29,7 @@
29
29
  * In the future, the custom resolver mechanism should be probably moved towards modifying (or only adding to the list of Inbounds),
30
30
  * this way a single data source has to be altered to support consistently getLinks, isIntentSupported.
31
31
  *
32
- * @version 1.117.1
32
+ * @version 1.118.0
33
33
  */
34
34
  sap.ui.define([
35
35
  "sap/base/Log",
@@ -38,7 +38,6 @@ sap.ui.define([
38
38
  "sap/base/util/extend",
39
39
  "sap/ui/thirdparty/jquery",
40
40
  "sap/ushell/ApplicationType",
41
- "sap/ushell/Config",
42
41
  "sap/ushell/navigationMode",
43
42
  "sap/ushell/services/_ClientSideTargetResolution/Formatter",
44
43
  "sap/ushell/services/_ClientSideTargetResolution/InboundIndex",
@@ -51,7 +50,6 @@ sap.ui.define([
51
50
  "sap/ushell/services/_ClientSideTargetResolution/Utils",
52
51
  "sap/ushell/services/_ClientSideTargetResolution/VirtualInbounds",
53
52
  "sap/ushell/services/_ClientSideTargetResolution/XAppStateProcessing",
54
- "sap/ushell/services/AppConfiguration",
55
53
  "sap/ushell/TechnicalParameters",
56
54
  "sap/ushell/utils",
57
55
  "sap/ushell/utils/UrlParsing"
@@ -59,10 +57,9 @@ sap.ui.define([
59
57
  Log,
60
58
  fnIsPlainObject,
61
59
  ObjectPath,
62
- Extend,
60
+ fnExtend,
63
61
  jQuery,
64
62
  ApplicationType,
65
- Config,
66
63
  NavigationMode,
67
64
  _Formatter,
68
65
  _InboundIndex,
@@ -75,7 +72,6 @@ sap.ui.define([
75
72
  _Utils,
76
73
  _VirtualInbounds,
77
74
  _XAppStateProcessing,
78
- AppConfiguration,
79
75
  TechnicalParameters,
80
76
  UshellUtils,
81
77
  UrlParsing
@@ -162,7 +158,7 @@ sap.ui.define([
162
158
  * Checks whether the platform adapter has a compatible service interface.
163
159
  *
164
160
  * @param {object} oAdapter An instance of ClientSideTargetResolution Adapter for the platform at hand.
165
- * @return {boolean} Whether the adapter implements the ClientSideTargetResolution required interface.
161
+ * @returns {boolean} Whether the adapter implements the ClientSideTargetResolution required interface.
166
162
  */
167
163
  ClientSideTargetResolution.prototype._implementsServiceInterface = function (oAdapter) {
168
164
  if (typeof oAdapter.getInbounds === "function") {
@@ -244,7 +240,7 @@ sap.ui.define([
244
240
  * Resolves a given intent to information that can be used to render a tile.
245
241
  *
246
242
  * @param {string} sHashFragment The intent to be resolved (including the "#" sign).
247
- * @return {jQuery.Deferred.promise} Resolves with an object containing the necessary information to render a tile,
243
+ * @returns {jQuery.Deferred.promise} Resolves with an object containing the necessary information to render a tile,
248
244
  * or rejects with an error message or <code>undefined</code>.
249
245
  * @private
250
246
  * @since 1.38.0
@@ -350,9 +346,7 @@ sap.ui.define([
350
346
  }
351
347
 
352
348
  that._resolveSingleMatchingTarget(oMatchingTarget, fnBoundFallback, sFixedHashFragment)
353
- .done(function (o) {
354
- oDeferred.resolve(o);
355
- })
349
+ .done(oDeferred.resolve.bind(oDeferred))
356
350
  .fail(oDeferred.reject.bind(oDeferred));
357
351
  });
358
352
 
@@ -402,25 +396,22 @@ sap.ui.define([
402
396
  var bHasUrlTemplate = !!oMatchingTarget.inbound.templateContext;
403
397
  var fnEasyAccessMenuResolver = ApplicationType.getEasyAccessMenuResolver(sIntent, sApplicationType);
404
398
  if (fnEasyAccessMenuResolver && !bHasUrlTemplate) {
405
- fnEasyAccessMenuResolver(oIntent, oMatchingTarget, fnExternalSystemAliasResolver, ApplicationType.WDA.enableWdaCompatibilityMode).then(
406
- function (oResolutionResult) {
407
- // compute NavigationMode
408
- var oNavModeProperties = NavigationMode.compute(
409
- ObjectPath.get("inbound.resolutionResult.applicationType", oMatchingTarget),
410
- (oMatchingTarget.intentParamsPlusAllDefaults["sap-ushell-next-navmode"] || [])[0],
411
- (oMatchingTarget.intentParamsPlusAllDefaults["sap-ushell-navmode"] || [])[0],
412
- (AppConfiguration.getCurrentApplication() || {}).applicationType,
413
- Config.last("/core/navigation/enableInPlaceForClassicUIs")
414
- );
415
-
416
- UshellUtils.shallowMergeObject(oResolutionResult, oNavModeProperties);
417
- oResolutionResult.inboundPermanentKey = oMatchingTarget.inbound.permanentKey || oMatchingTarget.inbound.id;
418
- oDeferred.resolve(oResolutionResult);
419
- },
420
- function (sError) {
421
- oDeferred.reject(sError);
422
- }
423
- );
399
+ fnEasyAccessMenuResolver(oIntent, oMatchingTarget, fnExternalSystemAliasResolver, ApplicationType.WDA.enableWdaCompatibilityMode)
400
+ .then(
401
+ function (oResolutionResult) {
402
+ var oNavModeProperties = NavigationMode.getNavigationMode(
403
+ oResolutionResult,
404
+ (oMatchingTarget.intentParamsPlusAllDefaults["sap-ushell-navmode"] || [])[0],
405
+ (oMatchingTarget.intentParamsPlusAllDefaults["sap-ushell-next-navmode"] || [])[0]
406
+ );
407
+ UshellUtils.shallowMergeObject(oResolutionResult, oNavModeProperties);
408
+ oResolutionResult.inboundPermanentKey = oMatchingTarget.inbound.permanentKey || oMatchingTarget.inbound.id;
409
+ oDeferred.resolve(oResolutionResult);
410
+ },
411
+ function (sError) {
412
+ oDeferred.reject(sError);
413
+ }
414
+ );
424
415
  return oDeferred.promise();
425
416
  }
426
417
 
@@ -430,43 +421,46 @@ sap.ui.define([
430
421
  _ParameterMapping.mapParameterNamesAndRemoveObjects(oMatchingTarget);
431
422
  sap.ushell.Container.getServiceAsync("AppState").then(function (AppStateService) {
432
423
  _XAppStateProcessing.mixAppStateIntoResolutionResultAndRename(oMatchingTarget, AppStateService)
433
- .done(function (oMatchingTarget) {
434
- var fnResultProcessor = function () {
435
- return that._constructFallbackResolutionResult.call(that, oMatchingTarget, fnBoundFallback, sFixedHashFragment);
436
- };
437
- if (ApplicationType[sApplicationType]) {
438
- fnResultProcessor = ApplicationType[sApplicationType].generateResolutionResult;
439
- }
424
+ .done(function (oMatchingTarget) {
425
+ var fnResultProcessor = function () {
426
+ return that._constructFallbackResolutionResult(oMatchingTarget, fnBoundFallback, sFixedHashFragment);
427
+ };
428
+ if (ApplicationType[sApplicationType]) {
429
+ fnResultProcessor = ApplicationType[sApplicationType].generateResolutionResult;
430
+ }
440
431
 
441
- // remove parameters that should not make it to the URL (in any case!)
442
- delete oMatchingTarget.intentParamsPlusAllDefaults["sap-tag"];
443
- delete oMatchingTarget.mappedIntentParamsPlusSimpleDefaults["sap-tag"];
444
- oMatchingTarget.mappedDefaultedParamNames = oMatchingTarget.mappedDefaultedParamNames.filter(function (sParameterName) {
445
- return sParameterName !== "sap-tag";
446
- });
432
+ // remove parameters that should not make it to the URL (in any case!)
433
+ delete oMatchingTarget.intentParamsPlusAllDefaults["sap-tag"];
434
+ delete oMatchingTarget.mappedIntentParamsPlusSimpleDefaults["sap-tag"];
435
+ oMatchingTarget.mappedDefaultedParamNames = oMatchingTarget.mappedDefaultedParamNames.filter(function (sParameterName) {
436
+ return sParameterName !== "sap-tag";
437
+ });
447
438
 
448
- var sBaseUrl = ObjectPath.get("inbound.resolutionResult.url", oMatchingTarget);
439
+ var sBaseUrl = ObjectPath.get("inbound.resolutionResult.url", oMatchingTarget);
449
440
 
450
- _PrelaunchOperations.executePrelaunchOperations(oMatchingTarget, oReservedParameters["sap-prelaunch-operations"])
451
- .then(function () {
452
- return fnResultProcessor(oMatchingTarget, sBaseUrl, fnExternalSystemAliasResolver);
453
- })
454
- .then(function (oResolutionResult) {
455
- oResolutionResult.reservedParameters = oReservedParameters;
456
- oResolutionResult.inboundPermanentKey = oMatchingTarget.inbound.permanentKey || oMatchingTarget.inbound.id;
457
- return oResolutionResult;
458
- })
459
- .then(
460
- function (oResolutionResult) {
441
+ _PrelaunchOperations.executePrelaunchOperations(oMatchingTarget, oReservedParameters["sap-prelaunch-operations"])
442
+ .then(function () {
443
+ return fnResultProcessor(oMatchingTarget, sBaseUrl, fnExternalSystemAliasResolver);
444
+ })
445
+ .then(function (oResolutionResult) {
446
+
447
+ var oNavModeProperties = NavigationMode.getNavigationMode(
448
+ oResolutionResult,
449
+ (oMatchingTarget.intentParamsPlusAllDefaults["sap-ushell-navmode"] || [])[0],
450
+ (oMatchingTarget.intentParamsPlusAllDefaults["sap-ushell-next-navmode"] || [])[0]
451
+ );
452
+ UshellUtils.shallowMergeObject(oResolutionResult, oNavModeProperties);
453
+
454
+ oResolutionResult.reservedParameters = oReservedParameters;
455
+ oResolutionResult.inboundPermanentKey = oMatchingTarget.inbound.permanentKey || oMatchingTarget.inbound.id;
461
456
  Log.debug(
462
457
  "Intent was resolved to the following target",
463
- JSON.stringify(oMatchingTarget.resolutionResult, null, 3),
458
+ JSON.stringify(oResolutionResult, null, 3),
464
459
  "sap.ushell.services.ClientSideTargetResolution"
465
460
  );
466
461
  UshellUtils.shallowMergeObject(oMatchingTarget.resolutionResult, oResolutionResult);
467
462
  oDeferred.resolve(oMatchingTarget.resolutionResult);
468
- },
469
- function (vMessage) {
463
+ }, function (vMessage) {
470
464
  if (typeof vMessage === "string" && vMessage.indexOf("fallback:") >= 0) {
471
465
  that._constructFallbackResolutionResult.call(this, oMatchingTarget, fnBoundFallback, sFixedHashFragment)
472
466
  .then(
@@ -479,14 +473,13 @@ sap.ui.define([
479
473
  } else {
480
474
  oDeferred.reject(vMessage);
481
475
  }
482
- }
483
- );
484
- });
476
+ });
477
+ });
485
478
  });
486
479
  return oDeferred.promise();
487
480
  };
488
481
 
489
- /**
482
+ /**‚
490
483
  * Takes the parameters from startup parameters and inbound parameters.
491
484
  * For startup parameters, an array of parameter names is returned.
492
485
  * For inbound parameters, it is taken from inbound signature.
@@ -598,47 +591,50 @@ sap.ui.define([
598
591
  _ParameterMapping.mapParameterNamesAndRemoveObjects(oMatchingTarget);
599
592
  sap.ushell.Container.getServiceAsync("AppState").then(function (AppStateService) {
600
593
  _XAppStateProcessing.mixAppStateIntoResolutionResultAndRename(oMatchingTarget, AppStateService)
601
- .done(function (oMatchingTarget) {
602
- var fnResultProcessor = function () {
603
- return that._constructFallbackResolutionResult.call(that, oMatchingTarget, fnBoundFallback, sFixedHashFragment);
604
- };
605
- if (ApplicationType[sApplicationType]) {
606
- fnResultProcessor = ApplicationType[sApplicationType].generateResolutionResult;
607
- }
594
+ .done(function (oMatchingTarget) {
595
+ var fnResultProcessor = function () {
596
+ return that._constructFallbackResolutionResult(oMatchingTarget, fnBoundFallback, sFixedHashFragment);
597
+ };
598
+ if (ApplicationType[sApplicationType]) {
599
+ fnResultProcessor = ApplicationType[sApplicationType].generateResolutionResult;
600
+ }
608
601
 
609
- // remove parameters that should not make it to the URL (in any case!)
610
- delete oMatchingTarget.intentParamsPlusAllDefaults["sap-tag"];
611
- delete oMatchingTarget.mappedIntentParamsPlusSimpleDefaults["sap-tag"];
612
- oMatchingTarget.mappedDefaultedParamNames = oMatchingTarget.mappedDefaultedParamNames.filter(function (sParameterName) {
613
- return sParameterName !== "sap-tag";
614
- });
602
+ // remove parameters that should not make it to the URL (in any case!)
603
+ delete oMatchingTarget.intentParamsPlusAllDefaults["sap-tag"];
604
+ delete oMatchingTarget.mappedIntentParamsPlusSimpleDefaults["sap-tag"];
605
+ oMatchingTarget.mappedDefaultedParamNames = oMatchingTarget.mappedDefaultedParamNames.filter(function (sParameterName) {
606
+ return sParameterName !== "sap-tag";
607
+ });
615
608
 
616
- var sBaseUrl = ObjectPath.get("inbound.resolutionResult.url", oMatchingTarget);
609
+ var sBaseUrl = ObjectPath.get("inbound.resolutionResult.url", oMatchingTarget);
617
610
 
618
- fnResultProcessor(oMatchingTarget, sBaseUrl, fnExternalSystemAliasResolver).then(
619
- function (oResolutionResult) {
620
- UshellUtils.shallowMergeObject(oMatchingTarget.resolutionResult, oResolutionResult);
611
+ fnResultProcessor(oMatchingTarget, sBaseUrl, fnExternalSystemAliasResolver)
612
+ .then(function (oResolutionResult) {
613
+ UshellUtils.shallowMergeObject(oMatchingTarget.resolutionResult, oResolutionResult);
621
614
 
622
- // beware, shallow copy of central object! only modify root properties!
623
- var oTileResolutionResult = Extend({}, oMatchingTarget.inbound.tileResolutionResult);
615
+ // beware, shallow copy of central object! only modify root properties!
616
+ var oTileResolutionResult = fnExtend({}, oMatchingTarget.inbound.tileResolutionResult);
624
617
 
625
- oTileResolutionResult.startupParameters = oMatchingTarget.effectiveParameters;
626
- oTileResolutionResult.navigationMode = oMatchingTarget.resolutionResult.navigationMode;
627
- if (!oTileResolutionResult.navigationMode) {
628
- oTileResolutionResult.navigationMode = NavigationMode.getNavigationMode(oMatchingTarget.resolutionResult);
629
- }
630
- oDeferred.resolve(oTileResolutionResult);
631
- Log.debug(
632
- "Tile Intent was resolved to the following target",
633
- JSON.stringify(oTileResolutionResult, null, 3),
634
- "sap.ushell.services.ClientSideTargetResolution"
618
+ oTileResolutionResult.startupParameters = oMatchingTarget.effectiveParameters;
619
+
620
+ var oNavModeProperties = NavigationMode.getNavigationMode(
621
+ oResolutionResult,
622
+ (oMatchingTarget.intentParamsPlusAllDefaults["sap-ushell-navmode"] || [])[0],
623
+ (oMatchingTarget.intentParamsPlusAllDefaults["sap-ushell-next-navmode"] || [])[0]
624
+ );
625
+ UshellUtils.shallowMergeObject(oTileResolutionResult, oNavModeProperties);
626
+
627
+ oDeferred.resolve(oTileResolutionResult);
628
+ Log.debug(
629
+ "Tile Intent was resolved to the following target",
630
+ JSON.stringify(oTileResolutionResult, null, 3),
631
+ "sap.ushell.services.ClientSideTargetResolution"
632
+ );
633
+ }, function (sMessage) {
634
+ oDeferred.reject(sMessage);
635
+ }
635
636
  );
636
- },
637
- function (sMessage) {
638
- oDeferred.reject(sMessage);
639
- }
640
- );
641
- });
637
+ });
642
638
  });
643
639
  return oDeferred.promise();
644
640
  };
@@ -721,7 +717,7 @@ sap.ui.define([
721
717
  return new Promise(function (fnResolve, fnReject) {
722
718
  fnBoundFallback(
723
719
  sFixedHashFragment,
724
- Extend({}, oMatchingTarget.inbound), // don't let adapters to change the inbound member
720
+ fnExtend({}, oMatchingTarget.inbound), // don't let adapters to change the inbound member
725
721
  oEffectiveParameters
726
722
  )
727
723
  .done(function (oFallbackResolutionResult) {
@@ -828,7 +824,7 @@ sap.ui.define([
828
824
 
829
825
  if (arguments.length === 1 && fnIsPlainObject(arguments[0])) {
830
826
  oNominalArgs = arguments[0];
831
- oCallArgs = Extend({}, oNominalArgs);
827
+ oCallArgs = fnExtend({}, oNominalArgs);
832
828
  // assure action: undefined in transported, as there is a check on this below !?!
833
829
  ["action", "semanticObject"].forEach(function (sArg) {
834
830
  if (oNominalArgs.hasOwnProperty(sArg)) {
@@ -1608,8 +1604,8 @@ sap.ui.define([
1608
1604
  /**
1609
1605
  * Sets the result for the given intent as indicated.
1610
1606
  *
1611
- * @param {string} sIntent
1612
- * @param {boolean} bSupported
1607
+ * @param {string} sIntent Intent string
1608
+ * @param {boolean} bSupported Supported flag
1613
1609
  */
1614
1610
  function setResult (sIntent, bSupported) {
1615
1611
  mSupportedByIntent[sIntent] = {
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @file Exposes a CommonDataModel based site document in a platform neutral format to it's clients
5
- * @version 1.117.1
5
+ * @version 1.118.0
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/ushell/services/_CommonDataModel/PersonalizationProcessor",
@@ -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.117.1
7
+ * @version 1.118.0
8
8
  */
9
9
  sap.ui.define([
10
10
  "sap/ushell/Config",
@@ -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.117.1
6
+ * @version 1.118.0
7
7
  */
8
8
  sap.ui.define([
9
9
  "sap/base/Log",
@@ -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.117.1
7
+ * @version 1.118.0
8
8
  */
9
9
  sap.ui.define([
10
10
  "sap/ushell/Config",
@@ -5,7 +5,7 @@
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
- * @version 1.117.1
8
+ * @version 1.118.0
9
9
  */
10
10
  sap.ui.define([
11
11
  "sap/ushell/services/AppConfiguration",
@@ -5,7 +5,7 @@
5
5
  *
6
6
  * The service provide dark mode support functionality
7
7
  *
8
- * @version 1.117.1
8
+ * @version 1.118.0
9
9
  */
10
10
  sap.ui.define([
11
11
  "sap/base/Log",
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @file The Unified Shell's page builder service providing the data for the Fiori launchpad's classic Homepage.
5
- * @version 1.117.1
5
+ * @version 1.118.0
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/base/Log",
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @fileOverview The menu service provides the entries for the menu bar
5
- * @version 1.117.1
5
+ * @version 1.118.0
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/ushell/Config",
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @fileOverview The Unified Shell's message service.
5
- * @version 1.117.1
5
+ * @version 1.118.0
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/base/Log",
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @fileOverview This module exposes API enpoints for Generic Communication
5
- * @version 1.117.1
5
+ * @version 1.118.0
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/ushell/services/_MessageBroker/MessageBrokerEngine",
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  UrlParsing,
22
22
  UrlShortening,
23
23
  HttpClient,
24
- oNavigationMode,
24
+ NavigationMode,
25
25
  jQuery,
26
26
  Measurement,
27
27
  deepExtend,
@@ -119,7 +119,7 @@ sap.ui.define([
119
119
  * and fixes any "SAPUI5" applicationType returned in the response to "URL", to avoid backward compatibility problems.
120
120
  *
121
121
  * @param {string} sFragmentNoHash the hash fragment to resolve
122
- * @return {jQuery.Promise} A jQuery Promise that resolves to an object representing the resolution result
122
+ * @returns {jQuery.Promise} A jQuery Promise that resolves to an object representing the resolution result
123
123
  * @private
124
124
  * @since 1.34.0
125
125
  */
@@ -149,7 +149,7 @@ sap.ui.define([
149
149
  * NOTE: throws a {@link sap.ushell.utils#Error} in case the given hash fragment does not start with "#".
150
150
  *
151
151
  * @param {string} sHashFragment the hash fragment to be validated
152
- * @return {object} the validation result. An object like:
152
+ * @returns {object} the validation result. An object like:
153
153
  * <pre>
154
154
  * {
155
155
  * success: {boolean}, // whether the hash fragment looks valid
@@ -231,22 +231,6 @@ sap.ui.define([
231
231
 
232
232
  var aWDAGUIAppType = ["NWBC", "WDA", "TR"];
233
233
 
234
- /**
235
- * Returns the navigation mode of a given resolved hash fragment
236
- *
237
- * @param {object} oResolvedHashFragment the hash fragment resolved by one of the registered resolvers
238
- * @param {object} [oCurrentlyOpenedApp] an object describing the currently opened app
239
- * @returns {string} the navigation mode for the given hash fragment.
240
- * Returns the following values, each corresponding to a specific way the application should be navigated to:
241
- * <ul>
242
- * <li><code>"embedded"</code>: the application should be opened in the current window, and rendered within the launchpad shell.</li>
243
- * <li><code>"newWindow"</code>: the application should be rendered in a new window, but no launchpad header must be present.</li>
244
- * <li><code>"newWindowThenEmbedded"</code>: the application should be opened in a new window but rendered within the launchpad shell.</li>
245
- * <li><code>undefined</code>: it was not possible to determine a navigation mode for the app. An error should be displayed in this case.</li>
246
- * </ul>
247
- * @private
248
- */
249
-
250
234
  /**
251
235
  * Adjusts the applicationType &quot;SAPUI5&quot; to &quot;URL&quot; and extracts the component name from a resolution result and
252
236
  * sets it as separate property <code>ui5ComponentName</code> in the specified object.
@@ -419,6 +403,7 @@ sap.ui.define([
419
403
  * </p>
420
404
  * <p>No navigation should occur when the promise is resolved to <code>undefined</code>.</p>
421
405
  * @public
406
+ *
422
407
  * @alias sap.ushell.services.NavTargetResolution#resolveHashFragment
423
408
  */
424
409
  this.resolveHashFragment = function (sHashFragment) {
@@ -465,14 +450,7 @@ sap.ui.define([
465
450
 
466
451
  // Add navigation mode if it's not already there
467
452
  if (isPlainObject(oResult)) {
468
- if (!oResult.hasOwnProperty("navigationMode")) {
469
- oResult.navigationMode = oNavigationMode.getNavigationMode(
470
- oResult,
471
- appConfiguration.getCurrentApplication()
472
- );
473
- }
474
-
475
- oResult.targetNavigationMode = oNavigationMode.getExternalNavigationMode(
453
+ oResult.targetNavigationMode = NavigationMode.getExternalNavigationMode(
476
454
  oResult.navigationMode
477
455
  );
478
456
  }
@@ -509,7 +487,7 @@ sap.ui.define([
509
487
 
510
488
  /**
511
489
  * Returns the method that allows to return results for the getLinks method along with meta information to handle the method call.
512
- *
490
+ * @param {object} oArgs argument object
513
491
  * @returns {object} an object like:
514
492
  * <pre>
515
493
  * {
@@ -740,7 +718,7 @@ sap.ui.define([
740
718
 
741
719
  // Use the adapter if it implements this functionality
742
720
  if (oAdapter && oAdapter.getDistinctSemanticObjects) {
743
- return oAdapter.getDistinctSemanticObjects.call(oAdapter);
721
+ return oAdapter.getDistinctSemanticObjects();
744
722
  }
745
723
 
746
724
  Log.error(
@@ -1006,7 +984,7 @@ sap.ui.define([
1006
984
  * @param {string} sFunctionName The name of the function called.
1007
985
  * @param {object} oParameters The input parameters of the function.
1008
986
  * @param {object|array} vResult The output result of the function.
1009
- * @return {object|array} The output result for further processing.
987
+ * @returns {object|array} The output result for further processing.
1010
988
  * @private
1011
989
  */
1012
990
  this._recordNavigation = function (sFunctionName, oParameters, vResult) {
@@ -1034,7 +1012,7 @@ sap.ui.define([
1034
1012
  * The resolver must be JavaScript object with a string property name, and two functions
1035
1013
  * resolveHashFragment(sHashFragment,nextResolver) returning a promise and isApplicable(sHashFragment) returning a boolean
1036
1014
  *
1037
- * @param {Object} oResolver the custom resolver
1015
+ * @param {object} oResolver the custom resolver
1038
1016
  * @returns {boolean} true if resolver was registered, false otherwise
1039
1017
  */
1040
1018
  this.registerCustomResolver = function (oResolver) {
@@ -1166,8 +1144,8 @@ sap.ui.define([
1166
1144
  "#Test-config": {
1167
1145
  applicationType: "URL",
1168
1146
  url: "/sap/bc/ui5_ui5/ui2/ushell/test-resources/sap/ushell/demoapps/FioriSandboxConfigApp",
1169
- additionalInformation: //"SAPUI5.Component=AppNavSample"
1170
- "SAPUI5.Component=sap.ushell.demoapps.FioriSandboxConfigApp"
1147
+ additionalInformation: "SAPUI5.Component=sap.ushell.demoapps.FioriSandboxConfigApp",
1148
+ navigationMode: "embedded"
1171
1149
  },
1172
1150
  none: {
1173
1151
  applicationType: "URL",
@@ -1206,7 +1184,7 @@ sap.ui.define([
1206
1184
  } else if (sHashFragment === "#Test-local1" || sHashFragment === "#Test-local2" || sHashFragment === "#Test-url") {
1207
1185
  res = getFromLocalStorage("sap.ushell." + sHashFragment);
1208
1186
  if (!res || res === "undefined") {
1209
- oLocal = { applicationType: "URL" };
1187
+ oLocal = { applicationType: "URL", navigationMode: "embedded" };
1210
1188
  } else {
1211
1189
  oLocal = JSON.parse(res);
1212
1190
  }
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * <p>This module prepares the navigation data needed by the page dereferencer.</p>
6
6
  *
7
- * @version 1.117.1
7
+ * @version 1.118.0
8
8
  */
9
9
 
10
10
  sap.ui.define([
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * @fileOverview The Unified Shell's page building service.
5
5
  *
6
- * @version 1.117.1
6
+ * @version 1.118.0
7
7
  */
8
8
  sap.ui.define([
9
9
  "sap/ui/thirdparty/jquery"
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * <p>This module deals with the page persistence.</p>
6
6
  *
7
- * @version 1.117.1
7
+ * @version 1.118.0
8
8
  */
9
9
 
10
10
  sap.ui.define([], function () {
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @fileOverview This module deals with page related referencing and dereferencing.
5
- * @version 1.117.1
5
+ * @version 1.118.0
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/ushell/services/_PageReferencing/PageReferencer"
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @fileOverview This module exposes a model containing the pages hierarchy to its clients.
5
- * @version 1.117.1
5
+ * @version 1.118.0
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/base/Log",
@@ -4,7 +4,7 @@
4
4
  * @fileOverview The Unified Shell's personalization service, which provides generic read and write access to the currently logged on user's
5
5
  * personalization settings for the app currently executed in the shell.
6
6
  *
7
- * @version 1.117.1
7
+ * @version 1.118.0
8
8
  */
9
9
  sap.ui.define([
10
10
  "sap/base/Log",
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @fileOverview The Unified Shell's PluginManager service, which allows you to handle the loading of Fiori Launchpad plugins.
5
- * @version 1.117.1
5
+ * @version 1.118.0
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/base/Log",
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @fileOverview resolves references
5
- * @version 1.117.1
5
+ * @version 1.118.0
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/base/Log",
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @fileOverview The Unified Shell's search service which provides Enterprise Search via SINA.
5
- * @version 1.117.1
5
+ * @version 1.118.0
6
6
  */
7
7
  sap.ui.define([], function () {
8
8
  "use strict";