@sapui5/sap.ushell 1.128.1 → 1.129.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (531) hide show
  1. package/package.json +1 -1
  2. package/src/main/js/sap/ushell/.library +1 -1
  3. package/src/main/js/sap/ushell/Fiori20Adapter.js +32 -10
  4. package/src/main/js/sap/ushell/Fiori20AdapterTest.js +17 -14
  5. package/src/main/js/sap/ushell/NWBCInterface.js +1 -1
  6. package/src/main/js/sap/ushell/TechnicalParameters.js +1 -1
  7. package/src/main/js/sap/ushell/UIActions.js +11 -0
  8. package/src/main/js/sap/ushell/URLTemplateProcessor/DefinitionParameterSetBuilder.js +1 -1
  9. package/src/main/js/sap/ushell/URLTemplateProcessor/DependencyGraph.js +1 -1
  10. package/src/main/js/sap/ushell/URLTemplateProcessor/Functions.js +1 -1
  11. package/src/main/js/sap/ushell/URLTemplateProcessor/Resolvers.js +1 -1
  12. package/src/main/js/sap/ushell/URLTemplateProcessor/TemplateParameterParser.js +1 -1
  13. package/src/main/js/sap/ushell/URLTemplateProcessor/utils.js +1 -1
  14. package/src/main/js/sap/ushell/URLTemplateProcessor.js +1 -1
  15. package/src/main/js/sap/ushell/Ui5NativeServiceFactory.js +1 -1
  16. package/src/main/js/sap/ushell/Ui5ServiceFactory.js +1 -1
  17. package/src/main/js/sap/ushell/adapters/AppVariantPersonalizationAdapter.js +1 -1
  18. package/src/main/js/sap/ushell/adapters/cdm/ClientSideTargetResolutionAdapter.js +1 -1
  19. package/src/main/js/sap/ushell/adapters/cdm/CommonDataModelAdapter.js +1 -1
  20. package/src/main/js/sap/ushell/adapters/cdm/ConfigurationDefaultsAdapter.js +1 -1
  21. package/src/main/js/sap/ushell/adapters/cdm/ContainerAdapter.js +1 -1
  22. package/src/main/js/sap/ushell/adapters/cdm/LaunchPageAdapter.js +1 -1
  23. package/src/main/js/sap/ushell/adapters/cdm/PagesCommonDataModelAdapter.js +1 -1
  24. package/src/main/js/sap/ushell/adapters/cdm/PersonalizationAdapter.js +1 -1
  25. package/src/main/js/sap/ushell/adapters/cdm/PersonalizationV2Adapter.js +1 -1
  26. package/src/main/js/sap/ushell/adapters/cdm/Ui5ComponentLoaderAdapter.js +1 -1
  27. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/modifyHome.js +1 -1
  28. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readCatalogs.js +1 -1
  29. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readHome.js +1 -1
  30. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/uri.transform.js +1 -1
  31. package/src/main/js/sap/ushell/adapters/cdm/util/AppForInbound.js +1 -1
  32. package/src/main/js/sap/ushell/adapters/cdm/util/cdmSiteUtils.js +1 -1
  33. package/src/main/js/sap/ushell/adapters/cdm/v3/AdapterBase.js +1 -1
  34. package/src/main/js/sap/ushell/adapters/cdm/v3/FlpLaunchPageAdapter.js +1 -1
  35. package/src/main/js/sap/ushell/adapters/cdm/v3/LaunchPageAdapter.js +1 -1
  36. package/src/main/js/sap/ushell/adapters/cdm/v3/StaticGroupsAdapter.js +1 -1
  37. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readApplications.js +1 -1
  38. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readCatalogs.js +1 -1
  39. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readHome.js +1 -1
  40. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readPages.js +1 -1
  41. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readUtils.js +1 -1
  42. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations.js +1 -1
  43. package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionAdapter.js +1 -1
  44. package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionInternalAdapter.js +2 -2
  45. package/src/main/js/sap/ushell/adapters/cep/SearchCEPAdapter.js +1 -1
  46. package/src/main/js/sap/ushell/adapters/cflp/UserDefaultParameterPersistenceAdapter.js +1 -1
  47. package/src/main/js/sap/ushell/adapters/local/AdapterContainer.js +1 -1
  48. package/src/main/js/sap/ushell/adapters/local/AppStateAdapter.js +1 -1
  49. package/src/main/js/sap/ushell/adapters/local/ClientSideTargetResolutionAdapter.js +1 -1
  50. package/src/main/js/sap/ushell/adapters/local/ContainerAdapter.js +1 -1
  51. package/src/main/js/sap/ushell/adapters/local/FlpLaunchPageAdapter.js +1 -1
  52. package/src/main/js/sap/ushell/adapters/local/LaunchPageAdapter.js +1 -1
  53. package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionAdapter.js +1 -1
  54. package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionInternalAdapter.js +1 -1
  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/PersonalizationV2Adapter.js +1 -1
  59. package/src/main/js/sap/ushell/adapters/local/SearchAdapter.js +1 -1
  60. package/src/main/js/sap/ushell/adapters/local/SearchCEPAdapter.js +1 -1
  61. package/src/main/js/sap/ushell/adapters/local/SupportTicketAdapter.js +1 -1
  62. package/src/main/js/sap/ushell/adapters/local/Ui5ComponentLoaderAdapter.js +1 -1
  63. package/src/main/js/sap/ushell/adapters/local/UserDefaultParameterPersistenceAdapter.js +1 -1
  64. package/src/main/js/sap/ushell/adapters/local/UserInfoAdapter.js +1 -1
  65. package/src/main/js/sap/ushell/api/Copilot.js +42 -0
  66. package/src/main/js/sap/ushell/api/Inbox.js +5 -164
  67. package/src/main/js/sap/ushell/api/S4MyHome.js +132 -0
  68. package/src/main/js/sap/ushell/api/common/ComponentInstantiation.js +215 -0
  69. package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntime.js +26 -23
  70. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaAgent/i18n/i18n_en_US_sappsd.properties +3 -3
  71. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaAgent/i18n/i18n_en_US_saptrc.properties +5 -5
  72. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaShell/i18n/i18n_en_US_sappsd.properties +1 -1
  73. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaShell/i18n/i18n_en_US_saptrc.properties +2 -2
  74. package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/RendererExtensions.js +1 -1
  75. package/src/main/js/sap/ushell/appRuntime/ui5/services/AppConfiguration.js +1 -1
  76. package/src/main/js/sap/ushell/appRuntime/ui5/services/AppLifeCycle.js +1 -1
  77. package/src/main/js/sap/ushell/appRuntime/ui5/services/AppState.js +1 -1
  78. package/src/main/js/sap/ushell/appRuntime/ui5/services/Bookmark.js +1 -1
  79. package/src/main/js/sap/ushell/appRuntime/ui5/services/BookmarkV2.js +1 -1
  80. package/src/main/js/sap/ushell/appRuntime/ui5/services/CommonDataModel.js +1 -1
  81. package/src/main/js/sap/ushell/appRuntime/ui5/services/Container.js +1 -1
  82. package/src/main/js/sap/ushell/appRuntime/ui5/services/CrossApplicationNavigation.js +1 -1
  83. package/src/main/js/sap/ushell/appRuntime/ui5/services/Extension/Item.js +1 -1
  84. package/src/main/js/sap/ushell/appRuntime/ui5/services/Extension.js +1 -1
  85. package/src/main/js/sap/ushell/appRuntime/ui5/services/FrameBoundExtension.js +1 -1
  86. package/src/main/js/sap/ushell/appRuntime/ui5/services/LaunchPage.js +1 -1
  87. package/src/main/js/sap/ushell/appRuntime/ui5/services/MessageBroker.js +1 -1
  88. package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolution.js +1 -1
  89. package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolutionInternal.js +1 -1
  90. package/src/main/js/sap/ushell/appRuntime/ui5/services/Navigation.js +1 -1
  91. package/src/main/js/sap/ushell/appRuntime/ui5/services/ReferenceResolver.js +1 -1
  92. package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigation.js +1 -1
  93. package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigationInternal.js +1 -1
  94. package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellUIService.js +10 -12
  95. package/src/main/js/sap/ushell/appRuntime/ui5/services/UserInfo.js +1 -1
  96. package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/Ui5ComponentLoaderAdapter.js +1 -1
  97. package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/logger.js +1 -1
  98. package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/state.js +1 -1
  99. package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5datetimeformat.js +1 -1
  100. package/src/main/js/sap/ushell/bootstrap/common/common.create.configcontract.core.js +2 -1
  101. package/src/main/js/sap/ushell/bootstrap/common/common.load.model.js +2 -8
  102. package/src/main/js/sap/ushell/bootstrap/sandbox2.js +1 -1
  103. package/src/main/js/sap/ushell/components/_HomepageManager/PagingManager.js +1 -3
  104. package/src/main/js/sap/ushell/components/appfinder/AppFinder.controller.js +5 -7
  105. package/src/main/js/sap/ushell/components/appfinder/Component.js +9 -9
  106. package/src/main/js/sap/ushell/components/appfinder/manifest.json +6 -1
  107. package/src/main/js/sap/ushell/components/applicationIntegration/AppLifeCycle.js +689 -592
  108. package/src/main/js/sap/ushell/components/applicationIntegration/application/Application.js +29 -18
  109. package/src/main/js/sap/ushell/components/applicationIntegration/application/BlueBoxHandler.js +5 -5
  110. package/src/main/js/sap/ushell/components/applicationIntegration/application/PostMessageAPI.js +2 -2
  111. package/src/main/js/sap/ushell/components/applicationIntegration/configuration/AppMeta.js +6 -163
  112. package/src/main/js/sap/ushell/components/applicationIntegration/relatedServices/RelatedServices.js +1 -1
  113. package/src/main/js/sap/ushell/components/cepsearchresult/app/Main.controller.js +9 -4
  114. package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/i18n/i18n_en_US_sappsd.properties +4 -4
  115. package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/i18n/i18n_en_US_saptrc.properties +37 -37
  116. package/src/main/js/sap/ushell/components/cepsearchresult/app/i18n/i18n_en_US_sappsd.properties +1 -1
  117. package/src/main/js/sap/ushell/components/cepsearchresult/app/i18n/i18n_en_US_saptrc.properties +9 -9
  118. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_en_US_sappsd.properties +32 -32
  119. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_en_US_saptrc.properties +109 -109
  120. package/src/main/js/sap/ushell/components/container/ApplicationContainer.js +1 -1
  121. package/src/main/js/sap/ushell/components/container/IframePOSTUtils.js +1 -1
  122. package/src/main/js/sap/ushell/components/container/resources/resources_en_US_saptrc.properties +6 -6
  123. package/src/main/js/sap/ushell/components/contentFinder/CatalogService.js +18 -15
  124. package/src/main/js/sap/ushell/components/contentFinder/Component.js +27 -20
  125. package/src/main/js/sap/ushell/components/contentFinder/controller/AppSearch.controller.js +100 -7
  126. package/src/main/js/sap/ushell/components/contentFinder/controller/ContentFinderDialog.controller.js +1 -1
  127. package/src/main/js/sap/ushell/components/contentFinder/controller/WidgetGallery.controller.js +1 -1
  128. package/src/main/js/sap/ushell/components/contentFinder/manifest.json +2 -2
  129. package/src/main/js/sap/ushell/components/contentFinder/model/formatter.js +13 -8
  130. package/src/main/js/sap/ushell/components/contentFinder/resources/resources.properties +16 -0
  131. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_ar.properties +4 -1
  132. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_bg.properties +4 -1
  133. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_ca.properties +4 -1
  134. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_cnr.properties +4 -1
  135. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_cs.properties +4 -1
  136. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_cy.properties +4 -1
  137. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_da.properties +4 -1
  138. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_de.properties +4 -1
  139. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_el.properties +4 -1
  140. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_en.properties +4 -1
  141. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_en_GB.properties +4 -1
  142. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_en_US_sappsd.properties +7 -5
  143. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_en_US_saprigi.properties +7 -1
  144. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_en_US_saptrc.properties +26 -24
  145. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_es.properties +4 -1
  146. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_es_MX.properties +4 -1
  147. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_et.properties +4 -1
  148. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_fi.properties +4 -1
  149. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_fr.properties +4 -1
  150. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_fr_CA.properties +4 -1
  151. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_hi.properties +4 -1
  152. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_hr.properties +4 -1
  153. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_hu.properties +6 -3
  154. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_id.properties +4 -1
  155. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_it.properties +4 -1
  156. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_iw.properties +4 -1
  157. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_ja.properties +4 -1
  158. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_kk.properties +4 -1
  159. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_ko.properties +6 -3
  160. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_lt.properties +4 -1
  161. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_lv.properties +4 -1
  162. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_mk.properties +4 -1
  163. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_ms.properties +4 -1
  164. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_nl.properties +4 -1
  165. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_no.properties +4 -1
  166. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_pl.properties +4 -1
  167. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_pt.properties +4 -1
  168. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_pt_PT.properties +4 -1
  169. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_ro.properties +4 -1
  170. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_ru.properties +4 -1
  171. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_sh.properties +4 -1
  172. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_sk.properties +4 -1
  173. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_sl.properties +4 -1
  174. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_sr.properties +4 -1
  175. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_sv.properties +4 -1
  176. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_th.properties +4 -1
  177. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_tr.properties +4 -1
  178. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_uk.properties +4 -1
  179. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_vi.properties +4 -1
  180. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_zh_CN.properties +4 -1
  181. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_zh_TW.properties +4 -1
  182. package/src/main/js/sap/ushell/components/contentFinder/view/AppSearch.view.xml +275 -127
  183. package/src/main/js/sap/ushell/components/contentFinder/view/AppSearchBox.fragment.xml +61 -24
  184. package/src/main/js/sap/ushell/components/contentFinder/view/AppSearchList.fragment.xml +73 -0
  185. package/src/main/js/sap/ushell/components/contentFinder/view/ContentFinderDialog.view.xml +20 -10
  186. package/src/main/js/sap/ushell/components/contentFinderStandalone/Component.js +1 -1
  187. package/src/main/js/sap/ushell/components/contentFinderStandalone/controller/ContentFinderStandalone.controller.js +1 -1
  188. package/src/main/js/sap/ushell/components/contentFinderStandalone/manifest.json +1 -1
  189. package/src/main/js/sap/ushell/components/contentFinderStandalone/manifestAppSearch.json +1 -1
  190. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_ar.properties +3 -0
  191. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_bg.properties +3 -0
  192. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_ca.properties +3 -0
  193. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_cnr.properties +3 -0
  194. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_cs.properties +3 -0
  195. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_cy.properties +3 -0
  196. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_da.properties +3 -0
  197. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_de.properties +3 -0
  198. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_el.properties +3 -0
  199. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_en.properties +3 -0
  200. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_en_GB.properties +3 -0
  201. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_en_US_saprigi.properties +3 -0
  202. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_es.properties +3 -0
  203. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_es_MX.properties +3 -0
  204. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_et.properties +3 -0
  205. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_fi.properties +3 -0
  206. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_fr.properties +3 -0
  207. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_fr_CA.properties +3 -0
  208. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_hi.properties +3 -0
  209. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_hr.properties +3 -0
  210. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_hu.properties +3 -0
  211. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_id.properties +3 -0
  212. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_it.properties +3 -0
  213. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_iw.properties +3 -0
  214. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_ja.properties +3 -0
  215. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_kk.properties +3 -0
  216. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_ko.properties +3 -0
  217. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_lt.properties +3 -0
  218. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_lv.properties +3 -0
  219. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_mk.properties +3 -0
  220. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_ms.properties +3 -0
  221. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_nl.properties +3 -0
  222. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_no.properties +3 -0
  223. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_pl.properties +3 -0
  224. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_pt.properties +3 -0
  225. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_pt_PT.properties +3 -0
  226. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_ro.properties +3 -0
  227. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_ru.properties +3 -0
  228. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_sh.properties +3 -0
  229. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_sk.properties +3 -0
  230. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_sl.properties +3 -0
  231. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_sr.properties +3 -0
  232. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_sv.properties +3 -0
  233. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_th.properties +3 -0
  234. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_tr.properties +3 -0
  235. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_uk.properties +3 -0
  236. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_vi.properties +3 -0
  237. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_zh_CN.properties +3 -0
  238. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_zh_TW.properties +3 -0
  239. package/src/main/js/sap/ushell/components/factsheet/Component.js +1 -1
  240. package/src/main/js/sap/ushell/components/homepage/ActionMode.js +1 -1
  241. package/src/main/js/sap/ushell/components/homepage/DashboardContent.view.js +1 -1
  242. package/src/main/js/sap/ushell/components/homepage/DashboardGroupsBox.js +1 -1
  243. package/src/main/js/sap/ushell/components/homepage/DashboardUIActions.js +1 -1
  244. package/src/main/js/sap/ushell/components/homepage/manifest.json +1 -1
  245. package/src/main/js/sap/ushell/components/pages/ActionMode.js +1 -1
  246. package/src/main/js/sap/ushell/components/pages/Component.js +1 -1
  247. package/src/main/js/sap/ushell/components/pages/MyHomeImport.js +1 -1
  248. package/src/main/js/sap/ushell/components/pages/controller/PageRuntime.controller.js +12 -1
  249. package/src/main/js/sap/ushell/components/pages/manifest.json +1 -1
  250. package/src/main/js/sap/ushell/components/runtimeSwitcher/controller/RuntimeSwitcher.controller.js +1 -1
  251. package/src/main/js/sap/ushell/components/runtimeSwitcher/manifest.json +1 -1
  252. package/src/main/js/sap/ushell/components/shell/FloatingContainer/Component.js +1158 -0
  253. package/src/main/js/sap/ushell/components/shell/FloatingContainer/FloatingContainer.fragment.xml +17 -0
  254. package/src/main/js/sap/ushell/components/shell/FloatingContainer/controls/FloatingContainer.js +55 -0
  255. package/src/main/js/sap/ushell/components/shell/FloatingContainer/manifest.json +84 -0
  256. package/src/main/js/sap/ushell/components/shell/MenuBar/manifest.json +1 -1
  257. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenu.controller.js +1 -1
  258. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/manifest.json +1 -1
  259. package/src/main/js/sap/ushell/components/shell/Notifications/Component.js +1 -1
  260. package/src/main/js/sap/ushell/components/shell/PostLoadingHeaderEnhancement/Component.js +1 -1
  261. package/src/main/js/sap/ushell/components/shell/ProductSwitch/Component.js +1 -1
  262. package/src/main/js/sap/ushell/components/shell/Search/manifest.json +1 -1
  263. package/src/main/js/sap/ushell/components/shell/SearchCEP/Component.js +1 -1
  264. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/FrequentActivityProvider.js +1 -1
  265. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/RecentSearchProvider.js +1 -1
  266. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchProvider.js +1 -1
  267. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchServiceProvider.js +1 -1
  268. package/src/main/js/sap/ushell/components/shell/Settings/Component.js +1 -1
  269. package/src/main/js/sap/ushell/components/shell/Settings/UserSettings.view.xml +1 -1
  270. package/src/main/js/sap/ushell/components/shell/Settings/notifications/NotificationsSetting.controller.js +3 -0
  271. package/src/main/js/sap/ushell/components/shell/Settings/notifications/NotificationsSetting.view.xml +3 -1
  272. package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/UserDefaultsForm.js +15 -6
  273. package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/controller/UserDefaultsSetting.controller.js +43 -62
  274. package/src/main/js/sap/ushell/components/shell/UserActionsMenu/Component.js +1 -1
  275. package/src/main/js/sap/ushell/components/shell/UserImage/Component.js +1 -1
  276. package/src/main/js/sap/ushell/components/visualizationOrganizer/Component.js +1 -1
  277. package/src/main/js/sap/ushell/components/workPageBuilder/Component.js +2 -2
  278. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.accessibility.js +1 -1
  279. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.controller.js +1 -1
  280. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPage.js +9 -5
  281. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageButton.js +1 -1
  282. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageCell.js +8 -5
  283. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumn.js +1 -1
  284. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnResizer.js +1 -1
  285. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRow.js +1 -1
  286. package/src/main/js/sap/ushell/components/workPageBuilder/manifest.json +1 -1
  287. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_en_US_sappsd.properties +27 -26
  288. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_en_US_saptrc.properties +68 -67
  289. package/src/main/js/sap/ushell/components/workPageRuntime/Component.js +1 -1
  290. package/src/main/js/sap/ushell/components/workPageRuntime/controller/WorkPageRuntime.controller.js +1 -1
  291. package/src/main/js/sap/ushell/components/workPageRuntime/manifest.json +1 -1
  292. package/src/main/js/sap/ushell/components/workPageRuntime/view/WorkPageRuntime.view.xml +3 -4
  293. package/src/main/js/sap/ushell/designtime/ApplicationContainer.designtime.js +1 -1
  294. package/src/main/js/sap/ushell/iconfonts.js +36 -420
  295. package/src/main/js/sap/ushell/library.js +1 -1
  296. package/src/main/js/sap/ushell/navigationMode.js +1 -1
  297. package/src/main/js/sap/ushell/performance/ShellAnalytics.js +1 -1
  298. package/src/main/js/sap/ushell/performance/StatisticalRecord.js +1 -1
  299. package/src/main/js/sap/ushell/plugins/appwarmup/Component.js +1 -1
  300. package/src/main/js/sap/ushell/plugins/rta/i18n/i18n_en_US_sappsd.properties +3 -3
  301. package/src/main/js/sap/ushell/plugins/rta/i18n/i18n_en_US_saptrc.properties +8 -8
  302. package/src/main/js/sap/ushell/renderer/Renderer.js +127 -127
  303. package/src/main/js/sap/ushell/renderer/Shell.controller.js +694 -1182
  304. package/src/main/js/sap/ushell/renderer/Shell.view.js +38 -102
  305. package/src/main/js/sap/ushell/renderer/resources/resources.properties +4 -4
  306. package/src/main/js/sap/ushell/renderer/resources/resources_ar.properties +1 -0
  307. package/src/main/js/sap/ushell/renderer/resources/resources_bg.properties +1 -0
  308. package/src/main/js/sap/ushell/renderer/resources/resources_ca.properties +1 -0
  309. package/src/main/js/sap/ushell/renderer/resources/resources_cnr.properties +1 -0
  310. package/src/main/js/sap/ushell/renderer/resources/resources_cs.properties +1 -0
  311. package/src/main/js/sap/ushell/renderer/resources/resources_cy.properties +1 -0
  312. package/src/main/js/sap/ushell/renderer/resources/resources_da.properties +1 -0
  313. package/src/main/js/sap/ushell/renderer/resources/resources_de.properties +1 -0
  314. package/src/main/js/sap/ushell/renderer/resources/resources_el.properties +1 -0
  315. package/src/main/js/sap/ushell/renderer/resources/resources_en.properties +1 -0
  316. package/src/main/js/sap/ushell/renderer/resources/resources_en_GB.properties +1 -0
  317. package/src/main/js/sap/ushell/renderer/resources/resources_en_US_sappsd.properties +128 -130
  318. package/src/main/js/sap/ushell/renderer/resources/resources_en_US_saprigi.properties +1 -0
  319. package/src/main/js/sap/ushell/renderer/resources/resources_en_US_saptrc.properties +989 -991
  320. package/src/main/js/sap/ushell/renderer/resources/resources_es.properties +1 -0
  321. package/src/main/js/sap/ushell/renderer/resources/resources_es_MX.properties +1 -0
  322. package/src/main/js/sap/ushell/renderer/resources/resources_et.properties +1 -0
  323. package/src/main/js/sap/ushell/renderer/resources/resources_fi.properties +1 -0
  324. package/src/main/js/sap/ushell/renderer/resources/resources_fr.properties +1 -0
  325. package/src/main/js/sap/ushell/renderer/resources/resources_fr_CA.properties +1 -0
  326. package/src/main/js/sap/ushell/renderer/resources/resources_hi.properties +1 -0
  327. package/src/main/js/sap/ushell/renderer/resources/resources_hr.properties +1 -0
  328. package/src/main/js/sap/ushell/renderer/resources/resources_hu.properties +2 -1
  329. package/src/main/js/sap/ushell/renderer/resources/resources_id.properties +1 -0
  330. package/src/main/js/sap/ushell/renderer/resources/resources_it.properties +1 -0
  331. package/src/main/js/sap/ushell/renderer/resources/resources_iw.properties +1 -0
  332. package/src/main/js/sap/ushell/renderer/resources/resources_ja.properties +1 -0
  333. package/src/main/js/sap/ushell/renderer/resources/resources_kk.properties +1 -0
  334. package/src/main/js/sap/ushell/renderer/resources/resources_ko.properties +1 -0
  335. package/src/main/js/sap/ushell/renderer/resources/resources_lt.properties +1 -0
  336. package/src/main/js/sap/ushell/renderer/resources/resources_lv.properties +1 -0
  337. package/src/main/js/sap/ushell/renderer/resources/resources_mk.properties +1 -0
  338. package/src/main/js/sap/ushell/renderer/resources/resources_ms.properties +1 -0
  339. package/src/main/js/sap/ushell/renderer/resources/resources_nl.properties +1 -0
  340. package/src/main/js/sap/ushell/renderer/resources/resources_no.properties +1 -0
  341. package/src/main/js/sap/ushell/renderer/resources/resources_pl.properties +1 -0
  342. package/src/main/js/sap/ushell/renderer/resources/resources_pt.properties +1 -0
  343. package/src/main/js/sap/ushell/renderer/resources/resources_pt_PT.properties +1 -0
  344. package/src/main/js/sap/ushell/renderer/resources/resources_ro.properties +1 -0
  345. package/src/main/js/sap/ushell/renderer/resources/resources_ru.properties +1 -0
  346. package/src/main/js/sap/ushell/renderer/resources/resources_sh.properties +1 -0
  347. package/src/main/js/sap/ushell/renderer/resources/resources_sk.properties +1 -0
  348. package/src/main/js/sap/ushell/renderer/resources/resources_sl.properties +1 -0
  349. package/src/main/js/sap/ushell/renderer/resources/resources_sr.properties +1 -0
  350. package/src/main/js/sap/ushell/renderer/resources/resources_sv.properties +1 -0
  351. package/src/main/js/sap/ushell/renderer/resources/resources_th.properties +1 -0
  352. package/src/main/js/sap/ushell/renderer/resources/resources_tr.properties +1 -0
  353. package/src/main/js/sap/ushell/renderer/resources/resources_uk.properties +1 -0
  354. package/src/main/js/sap/ushell/renderer/resources/resources_vi.properties +1 -0
  355. package/src/main/js/sap/ushell/renderer/resources/resources_zh_CN.properties +1 -0
  356. package/src/main/js/sap/ushell/renderer/resources/resources_zh_TW.properties +1 -0
  357. package/src/main/js/sap/ushell/renderer/search/searchComponent/manifest.json +1 -1
  358. package/src/main/js/sap/ushell/{components/_HeaderManager → renderer/shellHeader}/ShellHeader.controller.js +1 -5
  359. package/src/main/js/sap/ushell/{ui → renderer/shellHeader}/ShellHeader.fragment.xml +6 -3
  360. package/src/main/js/sap/ushell/renderers/fiori2/Shell.view.js +36 -100
  361. package/src/main/js/sap/ushell/services/AppLifeCycle.js +2 -2
  362. package/src/main/js/sap/ushell/services/AppState.js +1 -1
  363. package/src/main/js/sap/ushell/services/Bookmark.js +1 -1
  364. package/src/main/js/sap/ushell/services/BookmarkV2.js +1 -1
  365. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Formatter.js +1 -1
  366. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/InboundIndex.js +1 -1
  367. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/InboundProvider.js +1 -1
  368. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/PrelaunchOperations.js +1 -1
  369. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Search.js +1 -1
  370. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/StagedLogger.js +1 -1
  371. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/SystemContext.js +1 -1
  372. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Utils.js +1 -1
  373. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/VirtualInbounds.js +1 -1
  374. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/XAppStateProcessing.js +1 -1
  375. package/src/main/js/sap/ushell/services/ClientSideTargetResolution.js +1 -1
  376. package/src/main/js/sap/ushell/services/CommonDataModel/SiteConverter.js +1 -1
  377. package/src/main/js/sap/ushell/services/CommonDataModel/vizTypeDefaults/VizTypeDefaults.js +1 -1
  378. package/src/main/js/sap/ushell/services/CommonDataModel.js +1 -1
  379. package/src/main/js/sap/ushell/services/Configuration.js +1 -1
  380. package/src/main/js/sap/ushell/services/ConfigurationDefaults.js +1 -1
  381. package/src/main/js/sap/ushell/services/ContentExtensionAdapterFactory.js +1 -1
  382. package/src/main/js/sap/ushell/services/CrossApplicationNavigation.js +44 -156
  383. package/src/main/js/sap/ushell/services/DarkModeSupport.js +1 -1
  384. package/src/main/js/sap/ushell/services/Extension/Item.js +1 -1
  385. package/src/main/js/sap/ushell/services/Extension.js +1 -1
  386. package/src/main/js/sap/ushell/services/FlpLaunchPage.js +1 -1
  387. package/src/main/js/sap/ushell/services/FrameBoundExtension/FloatingContainer.js +1 -1
  388. package/src/main/js/sap/ushell/services/FrameBoundExtension/Footer.js +1 -1
  389. package/src/main/js/sap/ushell/services/FrameBoundExtension/Item.js +1 -1
  390. package/src/main/js/sap/ushell/services/FrameBoundExtension/SidePane.js +1 -1
  391. package/src/main/js/sap/ushell/services/FrameBoundExtension/ToolArea.js +1 -1
  392. package/src/main/js/sap/ushell/services/FrameBoundExtension.js +1 -1
  393. package/src/main/js/sap/ushell/services/LaunchPage.js +1 -1
  394. package/src/main/js/sap/ushell/services/Menu.js +1 -1
  395. package/src/main/js/sap/ushell/services/Message.js +1 -1
  396. package/src/main/js/sap/ushell/services/MessageBroker/MessageBrokerEngine.js +1 -1
  397. package/src/main/js/sap/ushell/services/MessageBroker.js +1 -1
  398. package/src/main/js/sap/ushell/services/MessageInternal.js +1 -1
  399. package/src/main/js/sap/ushell/services/Navigation/compatibility.js +1 -1
  400. package/src/main/js/sap/ushell/services/Navigation/utils.js +1 -1
  401. package/src/main/js/sap/ushell/services/Navigation.js +1 -1
  402. package/src/main/js/sap/ushell/services/NavigationDataProvider.js +1 -1
  403. package/src/main/js/sap/ushell/services/PageBuilding.js +1 -1
  404. package/src/main/js/sap/ushell/services/PagePersistence.js +1 -1
  405. package/src/main/js/sap/ushell/services/PageReferencing.js +1 -1
  406. package/src/main/js/sap/ushell/services/Pages.js +1 -1
  407. package/src/main/js/sap/ushell/services/Personalization.js +1 -1
  408. package/src/main/js/sap/ushell/services/PersonalizationV2.js +1 -1
  409. package/src/main/js/sap/ushell/services/PluginManager/Extensions.js +1 -1
  410. package/src/main/js/sap/ushell/services/PluginManager/HeaderExtensions.js +1 -1
  411. package/src/main/js/sap/ushell/services/PluginManager/MenuExtensions.js +1 -1
  412. package/src/main/js/sap/ushell/services/PluginManager.js +1 -1
  413. package/src/main/js/sap/ushell/services/ReferenceResolver.js +1 -1
  414. package/src/main/js/sap/ushell/services/Search.js +1 -1
  415. package/src/main/js/sap/ushell/services/SearchCEP.js +1 -1
  416. package/src/main/js/sap/ushell/services/SearchableContent.js +1 -1
  417. package/src/main/js/sap/ushell/services/ShellNavigation.js +1 -1
  418. package/src/main/js/sap/ushell/services/SmartNavigation.js +1 -1
  419. package/src/main/js/sap/ushell/services/SpaceContent.js +1 -1
  420. package/src/main/js/sap/ushell/services/UITracer.js +5 -4
  421. package/src/main/js/sap/ushell/services/URLShortening.js +1 -1
  422. package/src/main/js/sap/ushell/services/URLTemplate.js +1 -1
  423. package/src/main/js/sap/ushell/services/Ui5ComponentLoader/utils.js +1 -1
  424. package/src/main/js/sap/ushell/services/Ui5ComponentLoader.js +1 -1
  425. package/src/main/js/sap/ushell/services/UserDefaultParameterPersistence.js +1 -1
  426. package/src/main/js/sap/ushell/services/UserDefaultParameters.js +100 -65
  427. package/src/main/js/sap/ushell/services/UserInfo.js +1 -1
  428. package/src/main/js/sap/ushell/services/UserRecents/RecentActivity.js +2 -3
  429. package/src/main/js/sap/ushell/services/UserRecents/RecentAppsUsage.js +4 -4
  430. package/src/main/js/sap/ushell/services/UserRecents/RecentsList.js +1 -1
  431. package/src/main/js/sap/ushell/services/UserRecents.js +1 -1
  432. package/src/main/js/sap/ushell/services/VisualizationDataProvider.js +1 -1
  433. package/src/main/js/sap/ushell/services/VisualizationInstantiation.js +2 -2
  434. package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/ContentExtensionAdapterConfig.js +1 -1
  435. package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/FeaturedGroupConfig.js +1 -1
  436. package/src/main/js/sap/ushell/services/_CrossApplicationNavigation/utils.js +1 -1
  437. package/src/main/js/sap/ushell/services/_PageReferencing/PageReferencer.js +1 -1
  438. package/src/main/js/sap/ushell/state/BindingHelper.js +79 -0
  439. package/src/main/js/sap/ushell/state/StateManager.js +4 -2
  440. package/src/main/js/sap/ushell/state/StrategyFactory/FloatingContainerStrategy.js +36 -0
  441. package/src/main/js/sap/ushell/state/StrategyFactory.js +6 -0
  442. package/src/main/js/sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin.js +1 -1
  443. package/src/main/js/sap/ushell/themes/base/UserSettings.less +0 -12
  444. package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.json +393 -384
  445. package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.ttf +0 -0
  446. package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.woff +0 -0
  447. package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.woff2 +0 -0
  448. package/src/main/js/sap/ushell/themes/sap_belize_base/UserSettings.less +0 -13
  449. package/src/main/js/sap/ushell/themes/sap_bluecrystal_base/UserSettings.less +0 -13
  450. package/src/main/js/sap/ushell/themes/sap_hcb/base_UserSettings.less +0 -13
  451. package/src/main/js/sap/ushell/ui/ContentNodeSelector.js +18 -6
  452. package/src/main/js/sap/ushell/ui/bookmark/SaveOnPage.view.xml +6 -6
  453. package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +1 -1
  454. package/src/main/js/sap/ushell/ui/footerbar/SaveAsTile.view.js +3 -0
  455. package/src/main/js/sap/ushell/ui/launchpad/ExtendedChangeDetection.js +1 -1
  456. package/src/main/js/sap/ushell/ui/launchpad/Section.js +1 -1
  457. package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.js +1 -1
  458. package/src/main/js/sap/ushell/ui/shell/ToolAreaItem.js +1 -1
  459. package/src/main/js/sap/ushell/ui/utils.js +1 -1
  460. package/src/main/js/sap/ushell/ui5service/ShellUIService.js +811 -22
  461. package/src/main/js/sap/ushell/ui5service/ShellUIServiceFactory.js +477 -0
  462. package/src/main/js/sap/ushell/ui5service/UserStatus.js +1 -1
  463. package/src/main/js/sap/ushell/utils/UrlShortening.js +1 -1
  464. package/src/main/js/sap/ushell/utils/WindowUtils.js +21 -18
  465. package/src/main/js/sap/ushell/utils/tilecard/resources/resources_en_US_sappsd.properties +5 -0
  466. package/src/main/js/sap/ushell/utils/tilecard/resources/resources_en_US_saptrc.properties +5 -0
  467. package/src/main/js/sap/ushell/utils/workpage/DestinationResolver.js +68 -25
  468. package/src/main/js/sap/ushell/utils/workpage/WorkPageHost.js +64 -9
  469. package/src/main/js/sap/ushell/utils/workpage/WorkPageService.js +3 -2
  470. package/src/main/js/sap/ushell/utils/workpage/WorkPageVizInstantiation.js +1 -1
  471. package/src/main/js/sap/ushell/utils/workpage/resources/resources.properties +14 -2
  472. package/src/main/js/sap/ushell/utils/workpage/resources/resources_ar.properties +28 -16
  473. package/src/main/js/sap/ushell/utils/workpage/resources/resources_bg.properties +29 -17
  474. package/src/main/js/sap/ushell/utils/workpage/resources/resources_ca.properties +26 -14
  475. package/src/main/js/sap/ushell/utils/workpage/resources/resources_cnr.properties +11 -0
  476. package/src/main/js/sap/ushell/utils/workpage/resources/resources_cs.properties +15 -3
  477. package/src/main/js/sap/ushell/utils/workpage/resources/resources_cy.properties +15 -3
  478. package/src/main/js/sap/ushell/utils/workpage/resources/resources_da.properties +19 -7
  479. package/src/main/js/sap/ushell/utils/workpage/resources/resources_de.properties +16 -4
  480. package/src/main/js/sap/ushell/utils/workpage/resources/resources_el.properties +16 -4
  481. package/src/main/js/sap/ushell/utils/workpage/resources/resources_en.properties +13 -2
  482. package/src/main/js/sap/ushell/utils/workpage/resources/resources_en_GB.properties +18 -6
  483. package/src/main/js/sap/ushell/utils/workpage/resources/resources_en_US_sappsd.properties +28 -27
  484. package/src/main/js/sap/ushell/utils/workpage/resources/resources_en_US_saprigi.properties +78 -66
  485. package/src/main/js/sap/ushell/utils/workpage/resources/resources_en_US_saptrc.properties +68 -67
  486. package/src/main/js/sap/ushell/utils/workpage/resources/resources_es.properties +44 -32
  487. package/src/main/js/sap/ushell/utils/workpage/resources/resources_es_MX.properties +16 -4
  488. package/src/main/js/sap/ushell/utils/workpage/resources/resources_et.properties +24 -12
  489. package/src/main/js/sap/ushell/utils/workpage/resources/resources_fi.properties +16 -4
  490. package/src/main/js/sap/ushell/utils/workpage/resources/resources_fr.properties +29 -17
  491. package/src/main/js/sap/ushell/utils/workpage/resources/resources_fr_CA.properties +19 -7
  492. package/src/main/js/sap/ushell/utils/workpage/resources/resources_hi.properties +20 -8
  493. package/src/main/js/sap/ushell/utils/workpage/resources/resources_hr.properties +27 -15
  494. package/src/main/js/sap/ushell/utils/workpage/resources/resources_hu.properties +19 -7
  495. package/src/main/js/sap/ushell/utils/workpage/resources/resources_id.properties +13 -1
  496. package/src/main/js/sap/ushell/utils/workpage/resources/resources_it.properties +18 -6
  497. package/src/main/js/sap/ushell/utils/workpage/resources/resources_iw.properties +13 -1
  498. package/src/main/js/sap/ushell/utils/workpage/resources/resources_ja.properties +19 -7
  499. package/src/main/js/sap/ushell/utils/workpage/resources/resources_kk.properties +21 -9
  500. package/src/main/js/sap/ushell/utils/workpage/resources/resources_ko.properties +14 -2
  501. package/src/main/js/sap/ushell/utils/workpage/resources/resources_lt.properties +19 -7
  502. package/src/main/js/sap/ushell/utils/workpage/resources/resources_lv.properties +31 -19
  503. package/src/main/js/sap/ushell/utils/workpage/resources/resources_mk.properties +11 -0
  504. package/src/main/js/sap/ushell/utils/workpage/resources/resources_ms.properties +17 -5
  505. package/src/main/js/sap/ushell/utils/workpage/resources/resources_nl.properties +17 -5
  506. package/src/main/js/sap/ushell/utils/workpage/resources/resources_no.properties +16 -4
  507. package/src/main/js/sap/ushell/utils/workpage/resources/resources_pl.properties +17 -5
  508. package/src/main/js/sap/ushell/utils/workpage/resources/resources_pt.properties +17 -5
  509. package/src/main/js/sap/ushell/utils/workpage/resources/resources_pt_PT.properties +34 -22
  510. package/src/main/js/sap/ushell/utils/workpage/resources/resources_ro.properties +15 -3
  511. package/src/main/js/sap/ushell/utils/workpage/resources/resources_ru.properties +15 -3
  512. package/src/main/js/sap/ushell/utils/workpage/resources/resources_sh.properties +11 -0
  513. package/src/main/js/sap/ushell/utils/workpage/resources/resources_sk.properties +16 -4
  514. package/src/main/js/sap/ushell/utils/workpage/resources/resources_sl.properties +27 -15
  515. package/src/main/js/sap/ushell/utils/workpage/resources/resources_sr.properties +11 -0
  516. package/src/main/js/sap/ushell/utils/workpage/resources/resources_sv.properties +14 -2
  517. package/src/main/js/sap/ushell/utils/workpage/resources/resources_th.properties +18 -6
  518. package/src/main/js/sap/ushell/utils/workpage/resources/resources_tr.properties +22 -10
  519. package/src/main/js/sap/ushell/utils/workpage/resources/resources_uk.properties +15 -3
  520. package/src/main/js/sap/ushell/utils/workpage/resources/resources_vi.properties +24 -12
  521. package/src/main/js/sap/ushell/utils/workpage/resources/resources_zh_CN.properties +13 -1
  522. package/src/main/js/sap/ushell/utils/workpage/resources/resources_zh_TW.properties +17 -5
  523. package/src/main/js/sap/ushell/utils.js +14 -1
  524. package/src/test/js/sap/ushell/bootstrap/sandbox.js +1 -1
  525. package/ui5.yaml +5 -3
  526. package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.ttf +0 -0
  527. package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.woff +0 -0
  528. package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.woff2 +0 -0
  529. package/src/main/js/sap/ushell/ui/shell/FloatingContainer.js +0 -238
  530. package/src/main/js/sap/ushell/ui5service/_ShellUIService/shelluiservice.class.factory.js +0 -746
  531. /package/src/main/js/sap/ushell/{ui → renderer}/RendererRootView.fragment.xml +0 -0
@@ -1,746 +0,0 @@
1
- // Copyright (c) 2009-2023 SAP SE, All Rights Reserved
2
-
3
- sap.ui.define([
4
- "sap/ui/base/EventProvider",
5
- "sap/ui/thirdparty/hasher",
6
- "sap/base/util/isPlainObject",
7
- "sap/base/util/Version",
8
- "sap/base/Log",
9
- "sap/ushell/utils/UrlParsing",
10
- "sap/ui/core/Configuration"
11
- ], function (
12
- EventProvider,
13
- hasher,
14
- isPlainObject,
15
- Version,
16
- Log,
17
- UrlParsing,
18
- Configuration
19
- ) {
20
- "use strict";
21
-
22
- return function (oSetting) {
23
- var ServiceFactoryRegistry = oSetting.serviceRegistry;
24
- var ServiceFactory = oSetting.serviceFactory;
25
- var Service = oSetting.service;
26
-
27
- var sLastSetTitle;
28
-
29
- var oEventProvider = new EventProvider();
30
-
31
- var O_EVENT_NAME = {
32
- hierarchyChanged: "hierarchyChanged",
33
- relatedAppsChanged: "relatedAppsChanged",
34
- titleChanged: "titleChanged",
35
- backNavigationChanged: "backNavigationChanged"
36
- };
37
-
38
- var sActiveComponentId;
39
-
40
- /**
41
- * Returns an instance of the ShellUIService. This constructor must only be
42
- * called internally by the Fiori Launchpad renderer and never by
43
- * applications.
44
- *
45
- * Instead, this service should be consumed by app components as described
46
- * in the overview section of this class.
47
- *
48
- * @alias sap.ushell.ui5service.ShellUIService
49
- * @class
50
- *
51
- * @classdesc The Unified Shell's ShellUIService service.
52
- *
53
- * Allows apps to interact with the Fiori Launchpad UI.
54
- * The service is injected in the app components by the FLP renderer before the corresponding apps start.
55
- * To consume the service, app components should declare it in their "manifest.json" as follows:
56
- * <pre>
57
- * {
58
- * ...
59
- * "sap.ui5": {
60
- * "services" : {
61
- * "ShellUIService": {
62
- * "factoryName": "sap.ushell.ui5service.ShellUIService"
63
- * }
64
- * }
65
- * }
66
- * ...
67
- * }
68
- * </pre>
69
- *
70
- * The service can be then retrieved and consumed from the app root component
71
- * as in the following example:
72
- * <pre>
73
- * // Component.js (the app root component)
74
- * ...
75
- * this.getService("ShellUIService").then( // promise is returned
76
- * function (oService) {
77
- * oService.setTitle("Application Title");
78
- * },
79
- * function (oError) {
80
- * Log.error("Cannot get ShellUIService", oError, "my.app.Component");
81
- * }
82
- * );
83
- * ...
84
- * </pre>
85
- *
86
- * The ShellUIService can work together with the routing defined in a UI5
87
- * app to set title and hierarchy automatically, as the navigation within
88
- * the app occurs. This can be achieved by enabling the ShellUIService to
89
- * load instantly and configuring one or both <code>setTitle</code> and
90
- * <code>setHierarchy</code> options to
91
- * <code>auto</code> in the app manifest, as shown in the example below:
92
- *
93
- * <pre>
94
- * {
95
- * "sap.ui5": {
96
- * "services" : {
97
- * "ShellUIService": {
98
- * "lazy": false,
99
- * "factoryName": "sap.ushell.ui5service.ShellUIService",
100
- * "settings": {
101
- * "setHierarchy": "auto",
102
- * "setTitle": "auto"
103
- * }
104
- * }
105
- * }
106
- * }
107
- * }
108
- * </pre>
109
- *
110
- * Note that the <code>setHierarchy</code> or <code>setTitle</code>
111
- * methods should not be actively called by the application when title and
112
- * hierarchy are set automatically.
113
- *
114
- * <strong>Note:</strong> Please be aware that the sapFiori2Adaptation configuration
115
- * of the application may cause the ShellUIService service to work incorrectly.
116
- * We recommend to disable the sapFiori2Adaptation configuration for the new applications
117
- * if you use ShellUIService.
118
- *
119
- * @param {object} oCallerContext
120
- * The context in which the service was instantiated. Must have the
121
- * format:
122
- * <pre>
123
- * {
124
- * scopeType: "component",
125
- * scopeObject: [a UI5 Component in the sap.ushell package]
126
- * }
127
- * </pre>
128
- *
129
- * @public
130
- * @hideconstructor
131
- * @extends sap.ui.core.service.Service
132
- * @since 1.38.0
133
- */
134
- // @ts-ignore
135
- var ShellUIService = Service.extend("sap.ushell.ui5service.ShellUIService", /** @lends sap.ushell.ui5service.ShellUIService.prototype */ {
136
-
137
- /**
138
- * Defines essential information about an app.
139
- *
140
- * Example:
141
- * <pre>
142
- * {
143
- * title: "App 1",
144
- * icon: "sap-icon://folder",
145
- * subtitle: "go to app 1",
146
- * intent: "#Action-toapp1"
147
- * }
148
- * </pre>
149
- *
150
- * @typedef {object} sap.ushell.ui5service.ShellUIService.AppInfo
151
- * @property {string} title The title of the app.
152
- * @property {string} icon The icon src representing the app.
153
- * @property {string} [subtitle] An optional subtitle of the app.
154
- * @property {string} intent The navigation intent of the app.
155
- *
156
- * @since 1.120.0
157
- * @public
158
- */
159
-
160
- init: function () {
161
- // Service injection
162
- var that = this;
163
- var oPublicInterface = this.getInterface();
164
-
165
- // Only one component can set/get at a given time. Here we try to
166
- // avoid that no yet-to-be-destroyed apps call set/get methods by
167
- // giving priority to the last instantiated component.
168
- oPublicInterface.init = function () {
169
- that._amendPublicServiceInstance.call(
170
- that, // always the "private" service
171
- this // public service instance
172
- );
173
- };
174
-
175
- ServiceFactoryRegistry.register(
176
- "sap.ushell.ui5service.ShellUIService",
177
- new ServiceFactory(oPublicInterface)
178
- );
179
- },
180
- /**
181
- * Sets the id of the active component, that is, the component allowed
182
- * to call public methods of this service. This method is mainly here
183
- * for supportability purposes.
184
- *
185
- * @param {string} sId
186
- * The id of the active component.
187
- * @private
188
- * @since 1.38.0
189
- */
190
- _setActiveComponentId: function (sId) {
191
- sActiveComponentId = sId;
192
- },
193
- /**
194
- * Getter for the id of the active component. This method is mainly
195
- * here for supportability purposes.
196
- *
197
- * @returns {string}
198
- * The id of the component currently active in the Launchpad.
199
- * @private
200
- * @since 1.38.0
201
- */
202
- _getActiveComponentId: function () {
203
- return sActiveComponentId;
204
- },
205
- /**
206
- * Determines whether the hierarchy should be set automatically
207
- * using the UI5 router for the given App component.
208
- *
209
- * @param {object} oAppComponent
210
- * The UI5 App root component.
211
- *
212
- * @returns {boolean}
213
- * Whether the hierarchy should be set automatically in the given
214
- * app component.
215
- *
216
- * @private
217
- * @since 1.44.0
218
- */
219
- _shouldEnableAutoHierarchy: function (oAppComponent) {
220
- return typeof oAppComponent.getManifestEntry === "function"
221
- && oAppComponent.getManifestEntry("/sap.ui5/services/ShellUIService/settings/setHierarchy") === "auto";
222
- },
223
- /**
224
- * Determines whether the title should be set automatically using the
225
- * UI5 router for the given App component.
226
- *
227
- * @param {object} oAppComponent
228
- * The UI5 App root component.
229
- *
230
- * @returns {boolean}
231
- * Whether the title should be set automatically in the given
232
- * app component.
233
- *
234
- * @private
235
- * @since 1.44.0
236
- */
237
- _shouldEnableAutoTitle: function (oAppComponent) {
238
- return typeof oAppComponent.getManifestEntry === "function"
239
- && oAppComponent.getManifestEntry("/sap.ui5/services/ShellUIService/settings/setTitle") === "auto";
240
- },
241
- /**
242
- * Enables automatic <code>setHierarchy</code> calls based on
243
- * UI5 Router on the given app component.
244
- *
245
- * @param {object} oAppComponent
246
- * The UI5 root app component with a router.
247
- *
248
- * @private
249
- * @since 1.44.0
250
- */
251
- _enableAutoHierarchy: function (oAppComponent) {
252
- var that = this;
253
- var oRouter = oAppComponent.getRouter && oAppComponent.getRouter();
254
- if (!oRouter) {
255
- Log.error(
256
- "Could not enable automatic setHierarchy on the current app",
257
- "Router could not be obtained on the app root component via getRouter",
258
- "sap.ushell.ui5service.ShellUIService"
259
- );
260
- return;
261
- }
262
-
263
- oRouter.attachTitleChanged(function (oEvent) {
264
- var aHistory = oEvent.getParameter("history");
265
- that.setHierarchy(aHistory.reverse().map(function (oUi5HierarchyItem) {
266
- var sShellHash = that._getCurrentShellHashWithoutAppRoute();
267
-
268
- return {
269
- title: oUi5HierarchyItem.title,
270
- intent: sShellHash + "&/" + oUi5HierarchyItem.hash
271
- };
272
- }));
273
- });
274
- },
275
- /**
276
- * Enables automatic <code>setTitle</code> calls based on
277
- * UI5 Router on the given app component.
278
- *
279
- * @param {object} oAppComponent
280
- * The UI5 root app component with a router.
281
- *
282
- * @private
283
- * @since 1.44.0
284
- */
285
- _enableAutoTitle: function (oAppComponent) {
286
- var that = this;
287
- var oRouter = oAppComponent.getRouter && oAppComponent.getRouter();
288
- if (!oRouter) {
289
- Log.error(
290
- "Could not enable automatic setTitle on the current app",
291
- "Router could not be obtained on the app root component via getRouter",
292
- "sap.ushell.ui5service.ShellUIService"
293
- );
294
- return;
295
- }
296
-
297
- // set the initial title
298
- var oTitleHistory = oRouter.getTitleHistory()[0];
299
- if (oTitleHistory && oTitleHistory.title) {
300
- setTimeout(function () {
301
- that.setTitle(oTitleHistory.title);
302
- }, 0);
303
- }
304
-
305
- oRouter.attachTitleChanged(function (oEvent) {
306
- // set title after navigation
307
- var sTitle = oEvent.getParameter("title");
308
- that.setTitle(sTitle);
309
- });
310
- },
311
- /**
312
- * Helper function that returns the Hash part of the current URL
313
- * without the inner app hash part.
314
- *
315
- * @returns {string}
316
- * The intent (i.e., URL hash) without any inner app hash part.
317
- *
318
- * @private
319
- * @since 1.44.0
320
- */
321
- _getCurrentShellHashWithoutAppRoute: function () {
322
- var sFullURL = "#" + hasher.getHash();
323
- var sURLHashWithParams = UrlParsing.getShellHash(sFullURL);
324
-
325
- if (!sURLHashWithParams) {
326
- Log.error(
327
- "Cannot get the current shell hash",
328
- "UrlParsing service returned a falsy value for " + sFullURL,
329
- "sap.ushell.ui5service.ShellUIService"
330
- );
331
- return "";
332
- }
333
-
334
- return "#" + sURLHashWithParams;
335
- },
336
- /**
337
- * Getter for the event provider. This method is mainly
338
- * here for supportability purposes.
339
- *
340
- * @returns {object}
341
- * The event provider
342
- * @private
343
- * @since 1.38.0
344
- */
345
- _getEventProvider: function () {
346
- return oEventProvider;
347
- },
348
- /**
349
- * Getter for the title. This method is mainly
350
- * here for supportability purposes.
351
- *
352
- * @returns {object}
353
- * The event provider
354
- * @private
355
- * @since 1.38.0
356
- */
357
- _getLastSetTitle: function () {
358
- return sLastSetTitle;
359
- },
360
- /**
361
- * Ensures that the given argument is an array of object, having all string values.
362
- * This method logs an error message in case this is not the case.
363
- *
364
- * <pre>
365
- * IMPORTANT: this method must not rely on its context when called or
366
- * produce side effects.
367
- * </pre>
368
- *
369
- * @param {variant} vArg
370
- * Any value.
371
- * @param {string} sMethodName
372
- * The name of the method that called this function.
373
- * @returns {boolean}
374
- * Whether <code>vArg</code> is a string. Logs an error message
375
- * reporting <code>sMethodName</code> in case <code>vArg</code> is
376
- * not a string.
377
- *
378
- * @private
379
- * @since 1.38.0
380
- */
381
- _ensureArrayOfObjectOfStrings: function (vArg, sMethodName) {
382
- var bValidates = Array.isArray(vArg) && vArg.every(function (oObject) {
383
- return isPlainObject(oObject)
384
- && Object.keys(oObject).length > 0
385
- && Object.keys(oObject).every(function (sKey) {
386
- return typeof oObject[sKey] === "string";
387
- });
388
- });
389
-
390
- if (!bValidates) {
391
- Log.error(
392
- "'" + sMethodName + "' was called with invalid parameters",
393
- "An array of non-empty objects with string values is expected",
394
- "sap.ushell.ui5service.ShellUIService"
395
- );
396
- }
397
-
398
- return bValidates;
399
- },
400
- /**
401
- * Ensures that the given argument is a function, logging an error
402
- * message in case it's not.
403
- *
404
- * <pre>
405
- * IMPORTANT: this method must not rely on its context when called or
406
- * produce side effects.
407
- * </pre>
408
- *
409
- * @param {variant} vArg
410
- * Any value.
411
- * @param {string} sMethodName
412
- * The name of the method that called this function.
413
- * @returns {boolean}
414
- * Whether <code>vArg</code> is a function. Logs an error message
415
- * reporting <code>sMethodName</code> in case <code>vArg</code> is
416
- * not a function.
417
- *
418
- * @private
419
- * @since 1.38.0
420
- */
421
- _ensureFunction: function (vArg, sMethodName) {
422
- var sType = typeof vArg;
423
- if (sType !== "function") {
424
- Log.error(
425
- "'" + sMethodName + "' was called with invalid arguments",
426
- "the parameter should be a function, got '" + sType + "' instead",
427
- "sap.ushell.ui5service.ShellUIService"
428
- );
429
- return false;
430
- }
431
- return true;
432
- },
433
- /**
434
- * Ensures that the given argument is a string, logging an error
435
- * message in case it's not.
436
- *
437
- * <pre>
438
- * IMPORTANT: this method must not rely on its context when called or
439
- * produce side effects.
440
- * </pre>
441
- *
442
- * @param {variant} vArg
443
- * Any value.
444
- * @param {string} sMethodName
445
- * The name of the method that called this function.
446
- * @returns {boolean}
447
- * Whether <code>vArg</code> is a string. Logs an error message
448
- * reporting <code>sMethodName</code> in case <code>vArg</code> is
449
- * not a string.
450
- *
451
- * @private
452
- * @since 1.38.0
453
- */
454
- _ensureString: function (vArg, sMethodName) {
455
- var sType = typeof vArg;
456
- if (sType !== "string") {
457
- Log.error(
458
- "'" + sMethodName + "' was called with invalid arguments",
459
- "the parameter should be a string, got '" + sType + "' instead",
460
- "sap.ushell.ui5service.ShellUIService"
461
- );
462
- return false;
463
- }
464
- return true;
465
- },
466
- /**
467
- * Wraps a given public service interface method with a check that
468
- * determines whether the method can be called. This helps preventing
469
- * cases in which calling the method would disrupt the functionality of
470
- * the currently running app. For example, this check would prevent a
471
- * still alive app to change the header title while another app is
472
- * being displayed.
473
- *
474
- * @param {object} oPublicServiceInstance
475
- * The instance of the public service interface.
476
- * @param {string} sPublicServiceMethod
477
- * The method to be wrapped with the check.
478
- *
479
- * @private
480
- * @since 1.38.0
481
- */
482
- _addCallAllowedCheck: function (oPublicServiceInstance, sPublicServiceMethod) {
483
- var that = this;
484
- oPublicServiceInstance[sPublicServiceMethod] = function () {
485
- var oContext = oPublicServiceInstance.getContext(); // undefined -> don't authorize
486
-
487
- if (!oContext || oContext.scopeObject.getId() !== sActiveComponentId) {
488
- Log.warning(
489
- "Call to " + sPublicServiceMethod + " is not allowed",
490
- "This may be caused by an app component other than the active '" + sActiveComponentId + "' that tries to call the method",
491
- "sap.ushell.ui5service.ShellUIService"
492
- );
493
- return undefined; // eslint
494
- }
495
-
496
- if (sPublicServiceMethod === "setHierarchy" /* app called setHierarchy... */
497
- && oContext.scopeType === "component"
498
- && oContext.scopeObject
499
- && that._shouldEnableAutoHierarchy(oContext.scopeObject) /* ... but should be called automatically */) {
500
- Log.warning(
501
- "Call to " + sPublicServiceMethod + " is not allowed",
502
- "The app defines that setHierarchy should be called automatically",
503
- "sap.ushell.ui5service.ShellUIService"
504
- );
505
- return undefined; // eslint
506
- }
507
- if (sPublicServiceMethod === "setTitle" /* app called setHierarchy... */
508
- && oContext.scopeType === "component"
509
- && oContext.scopeObject
510
- && that._shouldEnableAutoTitle(oContext.scopeObject) /* ... but should be called automatically */) {
511
- Log.warning(
512
- "Call to " + sPublicServiceMethod + " is not allowed",
513
- "The app defines that setTitle should be called automatically",
514
- "sap.ushell.ui5service.ShellUIService"
515
- );
516
- return undefined; // eslint
517
- }
518
-
519
- return that[sPublicServiceMethod].apply(oPublicServiceInstance, arguments);
520
- };
521
- },
522
- /**
523
- * Adjusts the method of the public service instance.
524
- * Specifically:
525
- * <ul>
526
- * <li>Adds safety checks to public methods</li>
527
- * <li>Register the component that called <code>.getService</code> as
528
- * the currently active component.
529
- * </ul>
530
- *
531
- * @param {sap.ui.base.Interface} oPublicServiceInstance
532
- * The public service interface.
533
- *
534
- * @private
535
- * @since 1.38.0
536
- */
537
- _amendPublicServiceInstance: function (oPublicServiceInstance) {
538
- var that = this;
539
-
540
- // attempt to register this as the "active component"
541
- var oContext = oPublicServiceInstance.getContext();
542
- if (typeof oContext === "undefined") {
543
- // ServiceFactoryRegistry#get static method was used on the
544
- // service factory to obtain the service. Don't record the
545
- // currently active component so that future call from an
546
- // active app succeed. E.g., on view change.
547
- //
548
- return;
549
- }
550
-
551
- // must re-bind all public methods to the public interface
552
- // instance, as they would be otherwise called in the context of
553
- // the service instance.
554
- ["setTitle", "setHierarchy", "setRelatedApps", "setBackNavigation"].forEach(function (sMethodToSetup) {
555
- that._addCallAllowedCheck(oPublicServiceInstance, sMethodToSetup);
556
- });
557
-
558
- var oAppComponent = oContext.scopeObject;
559
- if (oContext.scopeType === "component" && oAppComponent) {
560
- this._setActiveComponentId(oAppComponent.getId());
561
-
562
- if (this._shouldEnableAutoHierarchy(oAppComponent)) {
563
- this._enableAutoHierarchy(oAppComponent);
564
- }
565
- if (this._shouldEnableAutoTitle(oAppComponent)) {
566
- this._enableAutoTitle(oAppComponent);
567
- }
568
-
569
- return;
570
- }
571
-
572
- Log.error(
573
- "Invalid context for ShellUIService interface",
574
- "The context must be empty or an object like { scopeType: ..., scopeObject: ... }",
575
- "sap.ushell.ui5service.ShellUIService"
576
- );
577
- },
578
-
579
- /**
580
- * Displays the given hierarchy in the shell header.
581
- *
582
- * @param {sap.ushell.ui5service.ShellUIService.AppInfo[]} [aHierarchyLevels]
583
- * An array representing hierarchies of the currently displayed
584
- * app.
585
- *
586
- * The default app hierarchy is applied if no parameter is given.
587
- *
588
- * @since 1.38.0
589
- * @public
590
- */
591
- setHierarchy: function (aHierarchyLevels) {
592
- /*
593
- * IMPORTANT: this method may be called in the context of the
594
- * service or the public service instance. In the latter case
595
- * "this" has no access to private methods.
596
- */
597
-
598
- // validate input
599
- if (typeof aHierarchyLevels !== "undefined"
600
- && !ShellUIService.prototype._ensureArrayOfObjectOfStrings(aHierarchyLevels, "setHierarchy")) {
601
- return;
602
- }
603
-
604
- var oComponent = this.getContext().scopeObject;
605
-
606
- oEventProvider.fireEvent(O_EVENT_NAME.hierarchyChanged, {
607
- data: aHierarchyLevels,
608
- component: oComponent
609
- });
610
- },
611
- /**
612
- * Displays the given title in the shell header. This method should not
613
- * be called if the app calling the method is not currently displayed
614
- * in the Fiori Launchpad.
615
- *
616
- * @param {string} [sTitle]
617
- * The new title. The default title is set if this argument is not given.
618
- *
619
- * @since 1.38.0
620
- * @public
621
- */
622
- setTitle: function (sTitle) {
623
- /*
624
- * IMPORTANT: this method may be called in the context of the
625
- * service or the public service instance. In the latter case
626
- * "this" has no access to private methods.
627
- */
628
-
629
- // validate input
630
- if (typeof sTitle !== "undefined"
631
- && !ShellUIService.prototype._ensureString(sTitle, "setTitle")) {
632
- return;
633
- }
634
-
635
- sLastSetTitle = sTitle;
636
- var oEventData = {
637
- data: sTitle,
638
- component: this.getContext().scopeObject
639
- };
640
- if (typeof arguments[1] === "boolean" && arguments[1]) {
641
- oEventData.bAcceptEmptyString = true;
642
- }
643
- oEventProvider.fireEvent(O_EVENT_NAME.titleChanged, oEventData);
644
- },
645
- /**
646
- * Displays the back button in the shell header.
647
- *
648
- * @param {function} [fnCallback]
649
- * A callback function called when the button is clicked in the UI.
650
- *
651
- * @since 1.38.0
652
- * @private
653
- * @ui5-restricted sap.fe, sap.suite.ui.generic
654
- */
655
- setBackNavigation: function (fnCallback) {
656
- /*
657
- * IMPORTANT: this method may be called in the context of the
658
- * service or the public service instance. In the latter case
659
- * "this" has no access to private methods.
660
- */
661
-
662
- // validate input
663
- if (typeof fnCallback !== "undefined"
664
- && !ShellUIService.prototype._ensureFunction(fnCallback, "setBackNavigation")) {
665
- return;
666
- }
667
-
668
- var oComponent = this.getContext().scopeObject;
669
-
670
- oEventProvider.fireEvent(O_EVENT_NAME.backNavigationChanged, {
671
- data: fnCallback,
672
- component: oComponent
673
- });
674
- },
675
- /**
676
- * Returns the title that was last set via {@link setTitle}.
677
- *
678
- * @returns {string}
679
- * The title that was last set via {@link setTitle}.
680
- *
681
- * @since 1.38.0
682
- * @public
683
- */
684
- getTitle: function () {
685
- return this._getLastSetTitle();
686
- },
687
- /**
688
- * Used by apps to set related apps. This setting is propagated
689
- * towards the Shell Header via corresponding events.
690
- *
691
- * @param {sap.ushell.ui5service.ShellUIService.AppInfo[]} [aRelatedApps]
692
- * An array of related apps.
693
- *
694
- * @since 1.40.0
695
- * @public
696
- */
697
- setRelatedApps: function (aRelatedApps) {
698
- /*
699
- * IMPORTANT: this method may be called in the context of the
700
- * service or the public service instance. In the latter case
701
- * "this" has no access to private methods.
702
- */
703
-
704
- // validate input
705
- if (typeof aRelatedApps !== "undefined"
706
- && !ShellUIService.prototype._ensureArrayOfObjectOfStrings(aRelatedApps, "setRelatedApps")) {
707
- return;
708
- }
709
-
710
- var oComponent = this.getContext().scopeObject;
711
-
712
- oEventProvider.fireEvent(O_EVENT_NAME.relatedAppsChanged, {
713
- data: aRelatedApps,
714
- component: oComponent
715
- });
716
- },
717
-
718
- _attachHierarchyChanged: function (fnFunction) {
719
- this._getEventProvider().attachEvent(O_EVENT_NAME.hierarchyChanged, fnFunction);
720
- },
721
- _detachHierarchyChanged: function (fnFunction) {
722
- this._getEventProvider().detachEvent(O_EVENT_NAME.hierarchyChanged, fnFunction);
723
- },
724
- _attachTitleChanged: function (fnFunction) {
725
- this._getEventProvider().attachEvent(O_EVENT_NAME.titleChanged, fnFunction);
726
- },
727
- _attachBackNavigationChanged: function (fnFunction) {
728
- this._getEventProvider().attachEvent(O_EVENT_NAME.backNavigationChanged, fnFunction);
729
- },
730
- _detachBackNavigationChanged: function (fnFunction) {
731
- this._getEventProvider().detachEvent(O_EVENT_NAME.backNavigationChanged, fnFunction);
732
- },
733
- _detachTitleChanged: function (fnFunction) {
734
- this._getEventProvider().detachEvent(O_EVENT_NAME.titleChanged, fnFunction);
735
- },
736
- _attachRelatedAppsChanged: function (fnFunction) {
737
- this._getEventProvider().attachEvent(O_EVENT_NAME.relatedAppsChanged, fnFunction);
738
- },
739
- _detachRelatedAppsChanged: function (fnFunction) {
740
- this._getEventProvider().detachEvent(O_EVENT_NAME.relatedAppsChanged, fnFunction);
741
- }
742
- });
743
-
744
- return ShellUIService;
745
- };
746
- });