@sapui5/sap.ushell 1.134.1 → 1.135.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 (723) hide show
  1. package/package.json +1 -1
  2. package/src/main/js/sap/ushell/.library +2 -1
  3. package/src/main/js/sap/ushell/AppInfoParameters.js +29 -6
  4. package/src/main/js/sap/ushell/ApplicationType/UrlPostProcessing.js +3 -3
  5. package/src/main/js/sap/ushell/ApplicationType/guiResolution.js +185 -174
  6. package/src/main/js/sap/ushell/ApplicationType/urlTemplateResolution.js +1 -1
  7. package/src/main/js/sap/ushell/ApplicationType/wdaResolution.js +69 -61
  8. package/src/main/js/sap/ushell/EventHub.js +1 -3
  9. package/src/main/js/sap/ushell/Fiori20Adapter.js +1 -1
  10. package/src/main/js/sap/ushell/Fiori20AdapterTest.js +1 -1
  11. package/src/main/js/sap/ushell/NWBCInterface.js +2 -2
  12. package/src/main/js/sap/ushell/SessionHandler.js +3 -3
  13. package/src/main/js/sap/ushell/TechnicalParameters.js +1 -1
  14. package/src/main/js/sap/ushell/URLTemplateProcessor/DefinitionParameterSetBuilder.js +1 -1
  15. package/src/main/js/sap/ushell/URLTemplateProcessor/DependencyGraph.js +1 -1
  16. package/src/main/js/sap/ushell/URLTemplateProcessor/Functions.js +1 -1
  17. package/src/main/js/sap/ushell/URLTemplateProcessor/Resolvers.js +1 -1
  18. package/src/main/js/sap/ushell/URLTemplateProcessor/TemplateParameterParser.js +1 -1
  19. package/src/main/js/sap/ushell/URLTemplateProcessor/utils.js +1 -1
  20. package/src/main/js/sap/ushell/URLTemplateProcessor.js +1 -1
  21. package/src/main/js/sap/ushell/Ui5NativeServiceFactory.js +1 -1
  22. package/src/main/js/sap/ushell/Ui5ServiceFactory.js +1 -1
  23. package/src/main/js/sap/ushell/User.js +1 -1
  24. package/src/main/js/sap/ushell/adapters/cdm/ClientSideTargetResolutionAdapter.js +1 -1
  25. package/src/main/js/sap/ushell/adapters/cdm/CommonDataModelAdapter.js +1 -1
  26. package/src/main/js/sap/ushell/adapters/cdm/ConfigurationDefaultsAdapter.js +1 -1
  27. package/src/main/js/sap/ushell/adapters/cdm/ContainerAdapter.js +3 -11
  28. package/src/main/js/sap/ushell/adapters/cdm/LaunchPageAdapter.js +13 -4
  29. package/src/main/js/sap/ushell/adapters/cdm/PagesCommonDataModelAdapter.js +1 -1
  30. package/src/main/js/sap/ushell/adapters/cdm/PersonalizationAdapter.js +1 -1
  31. package/src/main/js/sap/ushell/adapters/cdm/PersonalizationV2Adapter.js +1 -1
  32. package/src/main/js/sap/ushell/adapters/cdm/Settings/UserLanguageAndRegion/UserLanguageAndRegion.view.xml +4 -2
  33. package/src/main/js/sap/ushell/adapters/cdm/Ui5ComponentLoaderAdapter.js +1 -1
  34. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/modifyHome.js +1 -1
  35. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readCatalogs.js +1 -1
  36. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readHome.js +1 -1
  37. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/uri.transform.js +1 -1
  38. package/src/main/js/sap/ushell/adapters/cdm/util/AppForInbound.js +1 -1
  39. package/src/main/js/sap/ushell/adapters/cdm/util/cdmSiteUtils.js +1 -1
  40. package/src/main/js/sap/ushell/adapters/cdm/v3/AdapterBase.js +12 -3
  41. package/src/main/js/sap/ushell/adapters/cdm/v3/FlpLaunchPageAdapter.js +1 -1
  42. package/src/main/js/sap/ushell/adapters/cdm/v3/LaunchPageAdapter.js +1 -1
  43. package/src/main/js/sap/ushell/adapters/cdm/v3/StaticGroupsAdapter.js +1 -1
  44. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readApplications.js +1 -1
  45. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readCatalogs.js +1 -1
  46. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readHome.js +1 -1
  47. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readPages.js +1 -1
  48. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readUtils.js +1 -1
  49. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations.js +1 -1
  50. package/src/main/js/sap/ushell/adapters/cep/MenuAdapter.js +11 -5
  51. package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionAdapter.js +1 -1
  52. package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionInternalAdapter.js +1 -1
  53. package/src/main/js/sap/ushell/adapters/cep/SearchCEPAdapter.js +1 -1
  54. package/src/main/js/sap/ushell/adapters/cflp/UserDefaultParameterPersistenceAdapter.js +1 -1
  55. package/src/main/js/sap/ushell/adapters/local/AdapterContainer.js +1 -1
  56. package/src/main/js/sap/ushell/adapters/local/AppStateAdapter.js +1 -1
  57. package/src/main/js/sap/ushell/adapters/local/ClientSideTargetResolutionAdapter.js +1 -1
  58. package/src/main/js/sap/ushell/adapters/local/ContainerAdapter.js +1 -1
  59. package/src/main/js/sap/ushell/adapters/local/FlpLaunchPageAdapter.js +1 -1
  60. package/src/main/js/sap/ushell/adapters/local/LaunchPageAdapter.js +1 -1
  61. package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionAdapter.js +1 -1
  62. package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionInternalAdapter.js +1 -1
  63. package/src/main/js/sap/ushell/adapters/local/PageBuildingAdapter.js +1 -1
  64. package/src/main/js/sap/ushell/adapters/local/PagePersistenceAdapter.js +1 -1
  65. package/src/main/js/sap/ushell/adapters/local/PersonalizationAdapter.js +1 -1
  66. package/src/main/js/sap/ushell/adapters/local/PersonalizationV2Adapter.js +1 -1
  67. package/src/main/js/sap/ushell/adapters/local/SearchAdapter.js +1 -1
  68. package/src/main/js/sap/ushell/adapters/local/SearchCEPAdapter.js +1 -1
  69. package/src/main/js/sap/ushell/adapters/local/SupportTicketAdapter.js +1 -1
  70. package/src/main/js/sap/ushell/adapters/local/Ui5ComponentLoaderAdapter.js +1 -1
  71. package/src/main/js/sap/ushell/adapters/local/UserDefaultParameterPersistenceAdapter.js +1 -1
  72. package/src/main/js/sap/ushell/adapters/local/UserInfoAdapter.js +1 -1
  73. package/src/main/js/sap/ushell/api/DWS.js +87 -0
  74. package/src/main/js/sap/ushell/api/Inbox.js +20 -4
  75. package/src/main/js/sap/ushell/api/common/ComponentInstantiation.js +36 -36
  76. package/src/main/js/sap/ushell/appIntegration/AppLifeCycle/KeepAliveMode.js +43 -0
  77. package/src/main/js/sap/ushell/appIntegration/AppLifeCycle.js +1667 -0
  78. package/src/main/js/sap/ushell/{components/applicationIntegration → appIntegration}/ApplicationContainer.js +136 -11
  79. package/src/main/js/sap/ushell/appIntegration/ApplicationContainerRenderer.js +54 -0
  80. package/src/main/js/sap/ushell/appIntegration/ApplicationHandle.js +57 -0
  81. package/src/main/js/sap/ushell/{components/applicationIntegration → appIntegration}/IframeApplicationContainer.js +102 -15
  82. package/src/main/js/sap/ushell/{components/applicationIntegration → appIntegration}/IframeApplicationContainerRenderer.js +26 -20
  83. package/src/main/js/sap/ushell/{components/applicationIntegration → appIntegration}/KeepAliveApps.js +1 -1
  84. package/src/main/js/sap/ushell/{components/applicationIntegration → appIntegration}/PostMessageManager/AppruntimeHandler.js +7 -5
  85. package/src/main/js/sap/ushell/{components/applicationIntegration → appIntegration}/PostMessageManager/LifecycleHandler.js +17 -17
  86. package/src/main/js/sap/ushell/{components/applicationIntegration → appIntegration}/PostMessageManager/MessageBrokerHandler.js +1 -1
  87. package/src/main/js/sap/ushell/{components/applicationIntegration → appIntegration}/PostMessageManager/NWBCHandler.js +4 -4
  88. package/src/main/js/sap/ushell/{components/applicationIntegration → appIntegration}/PostMessageManager/ServiceHandler.js +4 -3
  89. package/src/main/js/sap/ushell/{components/applicationIntegration → appIntegration}/PostMessageManager.js +37 -20
  90. package/src/main/js/sap/ushell/{components/applicationIntegration → appIntegration}/PostMessagePluginInterface.js +1 -1
  91. package/src/main/js/sap/ushell/{components/applicationIntegration → appIntegration}/UI5ApplicationContainer.js +31 -8
  92. package/src/main/js/sap/ushell/{components/applicationIntegration → appIntegration}/UI5ApplicationContainerRenderer.js +14 -1
  93. package/src/main/js/sap/ushell/{components/applicationIntegration → appIntegration}/contracts/EmbeddedUI5Handler.js +10 -9
  94. package/src/main/js/sap/ushell/{components/applicationIntegration → appIntegration}/contracts/StatefulContainerV1Handler.js +6 -19
  95. package/src/main/js/sap/ushell/{components/applicationIntegration → appIntegration}/contracts/StatefulContainerV2Handler.js +20 -55
  96. package/src/main/js/sap/ushell/appRuntime/ui5/AppCommunicationMgr.js +1 -1
  97. package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntime.js +15 -0
  98. package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/RendererExtensions.js +1 -1
  99. package/src/main/js/sap/ushell/appRuntime/ui5/services/AppConfiguration.js +1 -1
  100. package/src/main/js/sap/ushell/appRuntime/ui5/services/AppLifeCycle.js +1 -1
  101. package/src/main/js/sap/ushell/appRuntime/ui5/services/AppState.js +1 -1
  102. package/src/main/js/sap/ushell/appRuntime/ui5/services/Bookmark.js +1 -1
  103. package/src/main/js/sap/ushell/appRuntime/ui5/services/BookmarkV2.js +1 -1
  104. package/src/main/js/sap/ushell/appRuntime/ui5/services/CommonDataModel.js +1 -1
  105. package/src/main/js/sap/ushell/appRuntime/ui5/services/Container.js +1 -1
  106. package/src/main/js/sap/ushell/appRuntime/ui5/services/CrossApplicationNavigation.js +1 -1
  107. package/src/main/js/sap/ushell/appRuntime/ui5/services/Extension/Item.js +1 -1
  108. package/src/main/js/sap/ushell/appRuntime/ui5/services/Extension.js +1 -1
  109. package/src/main/js/sap/ushell/appRuntime/ui5/services/FlpLaunchPage.js +30 -0
  110. package/src/main/js/sap/ushell/appRuntime/ui5/services/FrameBoundExtension.js +1 -1
  111. package/src/main/js/sap/ushell/appRuntime/ui5/services/LaunchPage.js +1 -1
  112. package/src/main/js/sap/ushell/appRuntime/ui5/services/MessageBroker.js +1 -1
  113. package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolution.js +1 -1
  114. package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolutionInternal.js +1 -1
  115. package/src/main/js/sap/ushell/appRuntime/ui5/services/Navigation.js +1 -1
  116. package/src/main/js/sap/ushell/appRuntime/ui5/services/ReferenceResolver.js +1 -1
  117. package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigation.js +1 -1
  118. package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigationInternal.js +1 -1
  119. package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellUIService.js +1 -1
  120. package/src/main/js/sap/ushell/appRuntime/ui5/services/UserInfo.js +1 -1
  121. package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/Ui5ComponentLoaderAdapter.js +1 -1
  122. package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/logger.js +1 -1
  123. package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/state.js +1 -1
  124. package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5datetimeformat.js +1 -1
  125. package/src/main/js/sap/ushell/bootstrap/common/common.create.configcontract.core.js +62 -35
  126. package/src/main/js/sap/ushell/bootstrap/sandbox2.js +1 -1
  127. package/src/main/js/sap/ushell/components/HomepageManager.js +1 -0
  128. package/src/main/js/sap/ushell/components/appfinder/manifest.json +1 -1
  129. package/src/main/js/sap/ushell/components/applicationIntegration/AppLifeCycle.js +6 -1684
  130. package/src/main/js/sap/ushell/components/applicationIntegration/Storage.js +1 -7
  131. package/src/main/js/sap/ushell/components/applicationIntegration/application/Application.js +2 -35
  132. package/src/main/js/sap/ushell/components/applicationIntegration/application/BlueBoxHandler.js +1 -1
  133. package/src/main/js/sap/ushell/components/applicationIntegration/application/PostMessageAPI.js +1 -1
  134. package/src/main/js/sap/ushell/components/applicationIntegration/configuration/AppMeta.js +2 -176
  135. package/src/main/js/sap/ushell/components/applicationIntegration/relatedServices/RelatedServices.js +1 -1
  136. package/src/main/js/sap/ushell/components/applicationIntegrationOld/AppLifeCycle.js +1 -1
  137. package/src/main/js/sap/ushell/components/applicationIntegrationOld/application/Application.js +3 -3
  138. package/src/main/js/sap/ushell/components/applicationIntegrationOld/application/BlueBoxHandler.js +1 -1
  139. package/src/main/js/sap/ushell/components/applicationIntegrationOld/application/PostMessageAPI.js +1 -1
  140. package/src/main/js/sap/ushell/components/applicationIntegrationOld/configuration/AppMeta.js +1 -1
  141. package/src/main/js/sap/ushell/components/applicationIntegrationOld/relatedServices/RelatedServices.js +1 -1
  142. package/src/main/js/sap/ushell/components/container/ApplicationContainer.js +1 -1
  143. package/src/main/js/sap/ushell/components/contentFinder/CatalogService.js +12 -6
  144. package/src/main/js/sap/ushell/components/contentFinder/Component.js +41 -3
  145. package/src/main/js/sap/ushell/components/contentFinder/controller/AppSearch.controller.js +103 -38
  146. package/src/main/js/sap/ushell/components/contentFinder/controller/ContentFinderDialog.controller.js +1 -1
  147. package/src/main/js/sap/ushell/components/contentFinder/dialog/Component.js +1 -1
  148. package/src/main/js/sap/ushell/components/contentFinder/dialog/manifest.json +1 -1
  149. package/src/main/js/sap/ushell/components/contentFinder/manifest.json +1 -1
  150. package/src/main/js/sap/ushell/components/contentFinder/resources/resources.properties +1 -1
  151. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_ar.properties +3 -1
  152. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_bg.properties +3 -1
  153. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_ca.properties +3 -1
  154. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_cnr.properties +3 -1
  155. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_cs.properties +3 -1
  156. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_cy.properties +3 -1
  157. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_da.properties +3 -1
  158. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_de.properties +3 -1
  159. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_el.properties +3 -1
  160. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_en.properties +3 -1
  161. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_en_GB.properties +3 -1
  162. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_en_US_saprigi.properties +4 -2
  163. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_es.properties +3 -1
  164. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_es_MX.properties +3 -1
  165. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_et.properties +3 -1
  166. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_fi.properties +4 -2
  167. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_fr.properties +4 -2
  168. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_fr_CA.properties +3 -1
  169. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_hi.properties +3 -1
  170. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_hr.properties +3 -1
  171. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_hu.properties +3 -1
  172. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_id.properties +4 -2
  173. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_it.properties +3 -1
  174. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_iw.properties +3 -1
  175. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_ja.properties +3 -1
  176. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_kk.properties +3 -1
  177. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_ko.properties +3 -1
  178. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_lt.properties +3 -1
  179. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_lv.properties +3 -1
  180. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_mk.properties +3 -1
  181. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_ms.properties +3 -1
  182. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_nl.properties +3 -1
  183. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_no.properties +3 -1
  184. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_pl.properties +3 -1
  185. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_pt.properties +3 -1
  186. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_pt_PT.properties +3 -1
  187. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_ro.properties +3 -1
  188. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_ru.properties +3 -1
  189. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_sh.properties +3 -1
  190. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_sk.properties +3 -1
  191. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_sl.properties +3 -1
  192. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_sr.properties +3 -1
  193. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_sv.properties +3 -1
  194. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_th.properties +3 -1
  195. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_tr.properties +3 -1
  196. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_uk.properties +3 -1
  197. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_vi.properties +3 -1
  198. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_zh_CN.properties +3 -1
  199. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_zh_TW.properties +3 -1
  200. package/src/main/js/sap/ushell/components/contentFinder/view/AppSearch.view.xml +6 -0
  201. package/src/main/js/sap/ushell/components/contentFinder/view/AppSearchCategoryTree.fragment.xml +2 -2
  202. package/src/main/js/sap/ushell/components/contentFinder/view/AppSearchCategoryTreeTable.fragment.xml +70 -0
  203. package/src/main/js/sap/ushell/components/contentFinderStandalone/Component.js +1 -1
  204. package/src/main/js/sap/ushell/components/contentFinderStandalone/controller/ContentFinderStandalone.controller.js +8 -3
  205. package/src/main/js/sap/ushell/components/contentFinderStandalone/manifest.json +1 -1
  206. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_ar.properties +3 -0
  207. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_bg.properties +3 -0
  208. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_ca.properties +3 -0
  209. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_cnr.properties +3 -0
  210. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_cs.properties +3 -0
  211. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_cy.properties +3 -0
  212. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_da.properties +3 -0
  213. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_de.properties +3 -0
  214. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_el.properties +3 -0
  215. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_en.properties +3 -0
  216. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_en_GB.properties +3 -0
  217. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_en_US_saprigi.properties +3 -0
  218. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_es.properties +3 -0
  219. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_es_MX.properties +3 -0
  220. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_et.properties +3 -0
  221. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_fi.properties +3 -0
  222. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_fr.properties +3 -0
  223. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_fr_CA.properties +3 -0
  224. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_hi.properties +3 -0
  225. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_hr.properties +3 -0
  226. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_hu.properties +3 -0
  227. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_id.properties +3 -0
  228. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_it.properties +3 -0
  229. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_iw.properties +3 -0
  230. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_ja.properties +3 -0
  231. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_kk.properties +3 -0
  232. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_ko.properties +3 -0
  233. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_lt.properties +3 -0
  234. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_lv.properties +3 -0
  235. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_mk.properties +3 -0
  236. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_ms.properties +3 -0
  237. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_nl.properties +3 -0
  238. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_no.properties +3 -0
  239. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_pl.properties +3 -0
  240. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_pt.properties +3 -0
  241. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_pt_PT.properties +3 -0
  242. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_ro.properties +3 -0
  243. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_ru.properties +3 -0
  244. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_sh.properties +3 -0
  245. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_sk.properties +3 -0
  246. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_sl.properties +3 -0
  247. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_sr.properties +3 -0
  248. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_sv.properties +3 -0
  249. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_th.properties +3 -0
  250. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_tr.properties +3 -0
  251. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_uk.properties +3 -0
  252. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_vi.properties +3 -0
  253. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_zh_CN.properties +3 -0
  254. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_zh_TW.properties +3 -0
  255. package/src/main/js/sap/ushell/components/factsheet/Component.js +1 -1
  256. package/src/main/js/sap/ushell/components/homepage/ActionMode.js +1 -1
  257. package/src/main/js/sap/ushell/components/homepage/DashboardContent.view.js +1 -1
  258. package/src/main/js/sap/ushell/components/homepage/DashboardGroupsBox.js +4 -4
  259. package/src/main/js/sap/ushell/components/homepage/DashboardUIActions.js +1 -1
  260. package/src/main/js/sap/ushell/components/homepage/manifest.json +1 -1
  261. package/src/main/js/sap/ushell/components/pages/ActionMode.js +1 -1
  262. package/src/main/js/sap/ushell/components/pages/Component.js +1 -1
  263. package/src/main/js/sap/ushell/components/pages/MyHomeImport.js +1 -1
  264. package/src/main/js/sap/ushell/components/pages/controller/PageRuntime.controller.js +3 -3
  265. package/src/main/js/sap/ushell/components/pages/manifest.json +1 -1
  266. package/src/main/js/sap/ushell/components/runtimeSwitcher/controller/RuntimeSwitcher.controller.js +1 -1
  267. package/src/main/js/sap/ushell/components/runtimeSwitcher/manifest.json +1 -1
  268. package/src/main/js/sap/ushell/components/shell/FloatingContainer/manifest.json +1 -1
  269. package/src/main/js/sap/ushell/components/shell/MenuBar/Component.js +9 -8
  270. package/src/main/js/sap/ushell/components/shell/MenuBar/controller/MenuBar.controller.js +0 -1
  271. package/src/main/js/sap/ushell/components/shell/MenuBar/manifest.json +1 -1
  272. package/src/main/js/sap/ushell/components/shell/MenuBar/view/MenuBarPersonalized.view.xml +25 -0
  273. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/Component.js +10 -21
  274. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenu.controller.js +12 -5
  275. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenuButton.controller.js +1 -1
  276. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/manifest.json +1 -7
  277. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/view/ContextMenu.fragment.xml +6 -4
  278. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/view/NavigationBarMenu.fragment.xml +76 -0
  279. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/view/NavigationBarMenu.view.xml +6 -65
  280. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/view/NavigationBarMenuButton.view.xml +2 -2
  281. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/view/NavigationBarMenuPopover.fragment.xml +6 -65
  282. package/src/main/js/sap/ushell/components/shell/Notifications/Component.js +1 -1
  283. package/src/main/js/sap/ushell/components/shell/ProductSwitch/Component.js +1 -1
  284. package/src/main/js/sap/ushell/components/shell/Search/ESearch.js +15 -2
  285. package/src/main/js/sap/ushell/components/shell/Search/manifest.json +1 -1
  286. package/src/main/js/sap/ushell/components/shell/SearchCEP/Component.js +1 -1
  287. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/FrequentActivityProvider.js +1 -1
  288. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/RecentSearchProvider.js +1 -1
  289. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchProvider.js +1 -1
  290. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchServiceProvider.js +1 -1
  291. package/src/main/js/sap/ushell/components/shell/Settings/Component.js +23 -11
  292. package/src/main/js/sap/ushell/components/shell/Settings/userLanguageRegion/LanguageRegionSelector.controller.js +1 -1
  293. package/src/main/js/sap/ushell/components/shell/ShellBar/Component.js +114 -0
  294. package/src/main/js/sap/ushell/components/shell/ShellBar/controller/ShellBar.controller.js +248 -0
  295. package/src/main/js/sap/ushell/components/shell/ShellBar/manifest.json +48 -0
  296. package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources.properties +11 -0
  297. package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_en_US_saprigi.properties +5 -0
  298. package/src/main/js/sap/ushell/components/shell/ShellBar/view/ShellBar.view.xml +48 -0
  299. package/src/main/js/sap/ushell/components/shell/SideNavigation/Component.js +74 -51
  300. package/src/main/js/sap/ushell/components/shell/SideNavigation/controller/SideNavigation.controller.js +27 -30
  301. package/src/main/js/sap/ushell/components/shell/SideNavigation/fragment/AllSpaces.fragment.xml +21 -0
  302. package/src/main/js/sap/ushell/components/shell/SideNavigation/fragment/Popover.fragment.xml +6 -1
  303. package/src/main/js/sap/ushell/components/shell/SideNavigation/manifest.json +5 -1
  304. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/AllSpaces.js +56 -5
  305. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/Favorites.js +24 -9
  306. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/GenericNavigationListProvider.js +46 -67
  307. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/MyHome.js +22 -4
  308. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/NavigationHelper.js +3 -2
  309. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/Spaces.js +187 -160
  310. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/SpacesNavigationListProvider.js +27 -11
  311. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources.properties +3 -1
  312. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_ar.properties +3 -1
  313. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_bg.properties +3 -1
  314. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_ca.properties +3 -1
  315. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_cnr.properties +3 -1
  316. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_cs.properties +3 -1
  317. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_cy.properties +3 -1
  318. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_da.properties +3 -1
  319. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_de.properties +3 -1
  320. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_el.properties +3 -1
  321. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_en.properties +3 -1
  322. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_en_GB.properties +3 -1
  323. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_en_US_saprigi.properties +3 -1
  324. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_es.properties +3 -1
  325. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_es_MX.properties +3 -1
  326. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_et.properties +3 -1
  327. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_fi.properties +4 -2
  328. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_fr.properties +3 -1
  329. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_fr_CA.properties +3 -1
  330. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_hi.properties +3 -1
  331. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_hr.properties +3 -1
  332. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_hu.properties +3 -1
  333. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_id.properties +3 -1
  334. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_it.properties +3 -1
  335. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_iw.properties +3 -1
  336. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_ja.properties +3 -1
  337. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_kk.properties +3 -1
  338. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_ko.properties +3 -1
  339. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_lt.properties +3 -1
  340. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_lv.properties +3 -1
  341. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_mk.properties +3 -1
  342. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_ms.properties +3 -1
  343. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_nl.properties +3 -1
  344. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_no.properties +3 -1
  345. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_pl.properties +3 -1
  346. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_pt.properties +3 -1
  347. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_pt_PT.properties +3 -1
  348. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_ro.properties +3 -1
  349. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_ru.properties +3 -1
  350. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_sh.properties +3 -1
  351. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_sk.properties +3 -1
  352. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_sl.properties +3 -1
  353. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_sr.properties +3 -1
  354. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_sv.properties +3 -1
  355. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_th.properties +3 -1
  356. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_tr.properties +3 -1
  357. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_uk.properties +3 -1
  358. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_vi.properties +3 -1
  359. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_zh_CN.properties +3 -1
  360. package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_zh_TW.properties +3 -1
  361. package/src/main/js/sap/ushell/components/shell/SideNavigation/view/Main.view.xml +21 -6
  362. package/src/main/js/sap/ushell/components/shell/UserActionsMenu/Component.js +1 -1
  363. package/src/main/js/sap/ushell/components/shell/UserImage/Component.js +1 -1
  364. package/src/main/js/sap/ushell/components/visualizationOrganizer/Component.js +1 -1
  365. package/src/main/js/sap/ushell/components/workPageBuilder/Component.js +1 -1
  366. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.accessibility.js +1 -1
  367. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.controller.js +1 -1
  368. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPage.js +1 -1
  369. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageButton.js +1 -1
  370. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageCell.js +1 -1
  371. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumn.js +1 -1
  372. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnResizer.js +1 -1
  373. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRow.js +1 -1
  374. package/src/main/js/sap/ushell/components/workPageBuilder/manifest.json +1 -1
  375. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_fr.properties +1 -1
  376. package/src/main/js/sap/ushell/components/workPageRuntime/Component.js +1 -1
  377. package/src/main/js/sap/ushell/components/workPageRuntime/controller/WorkPageRuntime.controller.js +1 -1
  378. package/src/main/js/sap/ushell/components/workPageRuntime/manifest.json +1 -1
  379. package/src/main/js/sap/ushell/designtime/ApplicationContainer.designtime.js +1 -1
  380. package/src/main/js/sap/ushell/library.js +30 -10
  381. package/src/main/js/sap/ushell/navigationMode.js +1 -1
  382. package/src/main/js/sap/ushell/performance/ShellAnalytics.js +1 -1
  383. package/src/main/js/sap/ushell/performance/StatisticalRecord.js +1 -1
  384. package/src/main/js/sap/ushell/plugins/appwarmup/Component.js +1 -1
  385. package/src/main/js/sap/ushell/renderer/NavContainer.js +266 -0
  386. package/src/main/js/sap/ushell/renderer/NavContainerRenderer.js +42 -0
  387. package/src/main/js/sap/ushell/renderer/Renderer.js +129 -112
  388. package/src/main/js/sap/ushell/renderer/RendererRootView.fragment.xml +2 -2
  389. package/src/main/js/sap/ushell/renderer/RendererRootViewFallback.fragment.xml +8 -0
  390. package/src/main/js/sap/ushell/renderer/Shell.controller.js +119 -60
  391. package/src/main/js/sap/ushell/renderer/Shell.view.js +78 -26
  392. package/src/main/js/sap/ushell/renderer/resources/resources.properties +3 -1
  393. package/src/main/js/sap/ushell/renderer/resources/resources_ar.properties +9 -0
  394. package/src/main/js/sap/ushell/renderer/resources/resources_bg.properties +9 -0
  395. package/src/main/js/sap/ushell/renderer/resources/resources_ca.properties +9 -0
  396. package/src/main/js/sap/ushell/renderer/resources/resources_cnr.properties +9 -0
  397. package/src/main/js/sap/ushell/renderer/resources/resources_cs.properties +10 -1
  398. package/src/main/js/sap/ushell/renderer/resources/resources_cy.properties +9 -0
  399. package/src/main/js/sap/ushell/renderer/resources/resources_da.properties +9 -0
  400. package/src/main/js/sap/ushell/renderer/resources/resources_de.properties +9 -0
  401. package/src/main/js/sap/ushell/renderer/resources/resources_el.properties +9 -0
  402. package/src/main/js/sap/ushell/renderer/resources/resources_en.properties +9 -0
  403. package/src/main/js/sap/ushell/renderer/resources/resources_en_GB.properties +9 -0
  404. package/src/main/js/sap/ushell/renderer/resources/resources_en_US_saprigi.properties +9 -0
  405. package/src/main/js/sap/ushell/renderer/resources/resources_es.properties +9 -0
  406. package/src/main/js/sap/ushell/renderer/resources/resources_es_MX.properties +10 -1
  407. package/src/main/js/sap/ushell/renderer/resources/resources_et.properties +9 -0
  408. package/src/main/js/sap/ushell/renderer/resources/resources_fi.properties +9 -0
  409. package/src/main/js/sap/ushell/renderer/resources/resources_fr.properties +11 -2
  410. package/src/main/js/sap/ushell/renderer/resources/resources_fr_CA.properties +14 -5
  411. package/src/main/js/sap/ushell/renderer/resources/resources_hi.properties +9 -0
  412. package/src/main/js/sap/ushell/renderer/resources/resources_hr.properties +42 -33
  413. package/src/main/js/sap/ushell/renderer/resources/resources_hu.properties +9 -0
  414. package/src/main/js/sap/ushell/renderer/resources/resources_id.properties +9 -0
  415. package/src/main/js/sap/ushell/renderer/resources/resources_it.properties +12 -3
  416. package/src/main/js/sap/ushell/renderer/resources/resources_iw.properties +9 -0
  417. package/src/main/js/sap/ushell/renderer/resources/resources_ja.properties +9 -0
  418. package/src/main/js/sap/ushell/renderer/resources/resources_kk.properties +11 -2
  419. package/src/main/js/sap/ushell/renderer/resources/resources_ko.properties +9 -0
  420. package/src/main/js/sap/ushell/renderer/resources/resources_lt.properties +9 -0
  421. package/src/main/js/sap/ushell/renderer/resources/resources_lv.properties +9 -0
  422. package/src/main/js/sap/ushell/renderer/resources/resources_mk.properties +9 -0
  423. package/src/main/js/sap/ushell/renderer/resources/resources_ms.properties +11 -2
  424. package/src/main/js/sap/ushell/renderer/resources/resources_nl.properties +9 -0
  425. package/src/main/js/sap/ushell/renderer/resources/resources_no.properties +9 -0
  426. package/src/main/js/sap/ushell/renderer/resources/resources_pl.properties +9 -0
  427. package/src/main/js/sap/ushell/renderer/resources/resources_pt.properties +9 -0
  428. package/src/main/js/sap/ushell/renderer/resources/resources_pt_PT.properties +9 -0
  429. package/src/main/js/sap/ushell/renderer/resources/resources_ro.properties +9 -0
  430. package/src/main/js/sap/ushell/renderer/resources/resources_ru.properties +11 -2
  431. package/src/main/js/sap/ushell/renderer/resources/resources_sh.properties +9 -0
  432. package/src/main/js/sap/ushell/renderer/resources/resources_sk.properties +9 -0
  433. package/src/main/js/sap/ushell/renderer/resources/resources_sl.properties +9 -0
  434. package/src/main/js/sap/ushell/renderer/resources/resources_sr.properties +9 -0
  435. package/src/main/js/sap/ushell/renderer/resources/resources_sv.properties +9 -0
  436. package/src/main/js/sap/ushell/renderer/resources/resources_th.properties +11 -2
  437. package/src/main/js/sap/ushell/renderer/resources/resources_tr.properties +11 -2
  438. package/src/main/js/sap/ushell/renderer/resources/resources_uk.properties +11 -2
  439. package/src/main/js/sap/ushell/renderer/resources/resources_vi.properties +9 -0
  440. package/src/main/js/sap/ushell/renderer/resources/resources_zh_CN.properties +9 -0
  441. package/src/main/js/sap/ushell/renderer/resources/resources_zh_TW.properties +9 -0
  442. package/src/main/js/sap/ushell/renderer/search/searchComponent/manifest.json +1 -1
  443. package/src/main/js/sap/ushell/renderers/fiori2/Shell.view.js +18 -2
  444. package/src/main/js/sap/ushell/services/AppConfiguration.js +4 -4
  445. package/src/main/js/sap/ushell/services/AppLifeCycle.js +374 -377
  446. package/src/main/js/sap/ushell/services/AppState.js +1 -1
  447. package/src/main/js/sap/ushell/services/Bookmark.js +2 -2
  448. package/src/main/js/sap/ushell/services/BookmarkV2.js +2 -2
  449. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Formatter.js +1 -1
  450. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/InboundIndex.js +1 -1
  451. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/InboundProvider.js +1 -1
  452. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/PrelaunchOperations.js +1 -1
  453. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Search.js +1 -1
  454. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/StagedLogger.js +1 -1
  455. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/SystemContext.js +1 -1
  456. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Utils.js +1 -1
  457. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/VirtualInbounds.js +1 -1
  458. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/XAppStateProcessing.js +1 -1
  459. package/src/main/js/sap/ushell/services/ClientSideTargetResolution.js +298 -198
  460. package/src/main/js/sap/ushell/services/CommonDataModel/SiteConverter.js +1 -1
  461. package/src/main/js/sap/ushell/services/CommonDataModel/vizTypeDefaults/VizTypeDefaults.js +1 -1
  462. package/src/main/js/sap/ushell/services/CommonDataModel.js +1 -1
  463. package/src/main/js/sap/ushell/services/Configuration.js +1 -1
  464. package/src/main/js/sap/ushell/services/ConfigurationDefaults.js +1 -1
  465. package/src/main/js/sap/ushell/services/ContentExtensionAdapterFactory.js +1 -1
  466. package/src/main/js/sap/ushell/services/CrossApplicationNavigation.js +2 -2
  467. package/src/main/js/sap/ushell/services/DarkModeSupport.js +1 -1
  468. package/src/main/js/sap/ushell/services/Extension/Item.js +1 -1
  469. package/src/main/js/sap/ushell/services/Extension.js +1 -1
  470. package/src/main/js/sap/ushell/services/FlpLaunchPage.js +2 -1
  471. package/src/main/js/sap/ushell/services/FrameBoundExtension/FloatingContainer.js +1 -1
  472. package/src/main/js/sap/ushell/services/FrameBoundExtension/Footer.js +1 -1
  473. package/src/main/js/sap/ushell/services/FrameBoundExtension/Item.js +1 -1
  474. package/src/main/js/sap/ushell/services/FrameBoundExtension/SidePane.js +1 -1
  475. package/src/main/js/sap/ushell/services/FrameBoundExtension/ToolArea.js +1 -1
  476. package/src/main/js/sap/ushell/services/FrameBoundExtension/UserSettingsEntry.js +1 -1
  477. package/src/main/js/sap/ushell/services/FrameBoundExtension.js +1 -1
  478. package/src/main/js/sap/ushell/services/LaunchPage.js +98 -7
  479. package/src/main/js/sap/ushell/services/Menu.js +1 -1
  480. package/src/main/js/sap/ushell/services/Message.js +1 -1
  481. package/src/main/js/sap/ushell/services/MessageBroker/MessageBrokerEngine.js +5 -5
  482. package/src/main/js/sap/ushell/services/MessageBroker.js +1 -1
  483. package/src/main/js/sap/ushell/services/MessageInternal.js +1 -1
  484. package/src/main/js/sap/ushell/services/Navigation/compatibility.js +2 -2
  485. package/src/main/js/sap/ushell/services/Navigation/utils.js +1 -1
  486. package/src/main/js/sap/ushell/services/Navigation.js +3 -3
  487. package/src/main/js/sap/ushell/services/NavigationDataProvider.js +12 -11
  488. package/src/main/js/sap/ushell/services/PageBuilding.js +1 -1
  489. package/src/main/js/sap/ushell/services/PagePersistence.js +1 -1
  490. package/src/main/js/sap/ushell/services/PageReferencing.js +1 -1
  491. package/src/main/js/sap/ushell/services/Pages.js +1 -1
  492. package/src/main/js/sap/ushell/services/Personalization.js +1 -1
  493. package/src/main/js/sap/ushell/services/PersonalizationV2.js +1 -1
  494. package/src/main/js/sap/ushell/services/PluginManager/Extensions.js +1 -1
  495. package/src/main/js/sap/ushell/services/PluginManager/HeaderExtensions.js +1 -1
  496. package/src/main/js/sap/ushell/services/PluginManager/MenuExtensions.js +1 -1
  497. package/src/main/js/sap/ushell/services/PluginManager/SimpleExpression.js +1 -1
  498. package/src/main/js/sap/ushell/services/PluginManager.js +81 -63
  499. package/src/main/js/sap/ushell/services/ReferenceResolver.js +1 -1
  500. package/src/main/js/sap/ushell/services/Search.js +1 -1
  501. package/src/main/js/sap/ushell/services/SearchCEP.js +1 -1
  502. package/src/main/js/sap/ushell/services/SearchableContent.js +1 -1
  503. package/src/main/js/sap/ushell/services/ShellNavigation.js +1 -1
  504. package/src/main/js/sap/ushell/services/SmartNavigation.js +1 -1
  505. package/src/main/js/sap/ushell/services/SpaceContent.js +1 -1
  506. package/src/main/js/sap/ushell/services/UITracer.js +1 -1
  507. package/src/main/js/sap/ushell/services/URLShortening.js +1 -1
  508. package/src/main/js/sap/ushell/services/URLTemplate.js +1 -1
  509. package/src/main/js/sap/ushell/services/Ui5ComponentLoader.js +687 -272
  510. package/src/main/js/sap/ushell/services/UserDefaultParameterPersistence.js +1 -1
  511. package/src/main/js/sap/ushell/services/UserDefaultParameters.js +1 -1
  512. package/src/main/js/sap/ushell/services/UserInfo.js +1 -1
  513. package/src/main/js/sap/ushell/services/UserRecents.js +1 -1
  514. package/src/main/js/sap/ushell/services/VisualizationDataProvider.js +1 -1
  515. package/src/main/js/sap/ushell/services/VisualizationInstantiation.js +1 -1
  516. package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/ContentExtensionAdapterConfig.js +1 -1
  517. package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/FeaturedGroupConfig.js +1 -1
  518. package/src/main/js/sap/ushell/services/_CrossApplicationNavigation/utils.js +1 -1
  519. package/src/main/js/sap/ushell/services/_PageReferencing/PageReferencer.js +1 -1
  520. package/src/main/js/sap/ushell/state/BackNavigation.js +1 -1
  521. package/src/main/js/sap/ushell/state/ContentDensity.js +213 -0
  522. package/src/main/js/sap/ushell/state/Favicon.js +119 -0
  523. package/src/main/js/sap/ushell/state/StateManager.js +1 -0
  524. package/src/main/js/sap/ushell/state/StrategyFactory/UserActionsStrategy.js +3 -2
  525. package/src/main/js/sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin.js +1 -1
  526. package/src/main/js/sap/ushell/themes/base/ApplicationContainer.less +3 -2
  527. package/src/main/js/sap/ushell/themes/base/FlexibleColumnLayout.less +10 -0
  528. package/src/main/js/sap/ushell/themes/base/NavContainer.less +6 -0
  529. package/src/main/js/sap/ushell/themes/base/ShellHeader.less +8 -8
  530. package/src/main/js/sap/ushell/themes/base/library.source.less +2 -0
  531. package/src/main/js/sap/ushell/themes/sap_belize_base/ApplicationContainer.less +9 -1
  532. package/src/main/js/sap/ushell/themes/sap_belize_base/NavContainer.less +6 -0
  533. package/src/main/js/sap/ushell/themes/sap_belize_base/library.source.less +1 -0
  534. package/src/main/js/sap/ushell/themes/sap_bluecrystal_base/ApplicationContainer.less +9 -1
  535. package/src/main/js/sap/ushell/themes/sap_bluecrystal_base/NavContainer.less +6 -0
  536. package/src/main/js/sap/ushell/themes/sap_bluecrystal_base/library.source.less +1 -0
  537. package/src/main/js/sap/ushell/themes/sap_hcb/base_ApplicationContainer.less +9 -1
  538. package/src/main/js/sap/ushell/themes/sap_hcb/base_NavContainer.less +6 -0
  539. package/src/main/js/sap/ushell/themes/sap_hcb/base_ShellHeader.less +1 -1
  540. package/src/main/js/sap/ushell/themes/sap_hcb/library.source.less +1 -0
  541. package/src/main/js/sap/ushell/thirdparty/Icons.js +49 -49
  542. package/src/main/js/sap/ushell/thirdparty/MenuItem.js +355 -0
  543. package/src/main/js/sap/ushell/thirdparty/ShellBar.js +1892 -0
  544. package/src/main/js/sap/ushell/thirdparty/ShellBarItem.js +89 -0
  545. package/src/main/js/sap/ushell/thirdparty/ShellBarSpacer.js +40 -0
  546. package/src/main/js/sap/ushell/thirdparty/UserMenu.js +120 -204
  547. package/src/main/js/sap/ushell/thirdparty/UserMenuAccount.js +10 -0
  548. package/src/main/js/sap/ushell/thirdparty/UserMenuItem.js +55 -414
  549. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ar2.js +15 -0
  550. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ar3.js +41 -5
  551. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_bg2.js +16 -1
  552. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_bg3.js +41 -5
  553. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ca2.js +15 -0
  554. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ca3.js +41 -5
  555. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cnr2.js +15 -0
  556. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cnr3.js +41 -5
  557. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cs2.js +15 -0
  558. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cs3.js +44 -8
  559. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cy2.js +15 -0
  560. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cy3.js +41 -5
  561. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_da2.js +15 -0
  562. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_da3.js +43 -7
  563. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_de2.js +16 -1
  564. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_de3.js +41 -5
  565. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_el2.js +15 -0
  566. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_el3.js +41 -5
  567. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en2.js +15 -0
  568. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en3.js +41 -5
  569. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_GB2.js +15 -0
  570. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_GB3.js +41 -5
  571. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_sappsd2.js +15 -0
  572. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_sappsd3.js +41 -5
  573. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saprigi2.js +9 -0
  574. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saprigi3.js +16 -4
  575. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saptrc2.js +15 -0
  576. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saptrc3.js +41 -5
  577. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es2.js +16 -1
  578. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es3.js +41 -5
  579. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es_MX2.js +15 -0
  580. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es_MX3.js +41 -5
  581. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_et2.js +15 -0
  582. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_et3.js +41 -5
  583. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fi2.js +15 -0
  584. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fi3.js +41 -5
  585. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr2.js +20 -5
  586. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr3.js +43 -7
  587. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr_CA2.js +15 -0
  588. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr_CA3.js +41 -5
  589. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hi2.js +15 -0
  590. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hi3.js +41 -5
  591. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hr2.js +21 -6
  592. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hr3.js +42 -6
  593. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hu2.js +15 -0
  594. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hu3.js +41 -5
  595. package/src/main/js/sap/ushell/thirdparty/_dynamics/{messagebundle_in.js → messagebundle_id.js} +2 -2
  596. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_id2.js +665 -0
  597. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_id3.js +551 -0
  598. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_it2.js +33 -18
  599. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_it3.js +76 -40
  600. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_iw2.js +15 -0
  601. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_iw3.js +41 -5
  602. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ja2.js +15 -0
  603. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ja3.js +41 -5
  604. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_kk2.js +15 -0
  605. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_kk3.js +41 -5
  606. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ko2.js +15 -0
  607. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ko3.js +43 -7
  608. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lt2.js +15 -0
  609. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lt3.js +41 -5
  610. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lv2.js +26 -11
  611. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lv3.js +41 -5
  612. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_mk2.js +15 -0
  613. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_mk3.js +43 -7
  614. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ms2.js +17 -2
  615. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ms3.js +42 -6
  616. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_nl2.js +15 -0
  617. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_nl3.js +41 -5
  618. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_no2.js +15 -0
  619. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_no3.js +41 -5
  620. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pl2.js +20 -5
  621. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pl3.js +41 -5
  622. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt2.js +16 -1
  623. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt3.js +41 -5
  624. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt_PT2.js +15 -0
  625. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt_PT3.js +41 -5
  626. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ro2.js +16 -1
  627. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ro3.js +41 -5
  628. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ru2.js +18 -3
  629. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ru3.js +41 -5
  630. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sh2.js +15 -0
  631. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sh3.js +41 -5
  632. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sk2.js +16 -1
  633. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sk3.js +41 -5
  634. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sl2.js +16 -1
  635. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sl3.js +42 -6
  636. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sr2.js +15 -0
  637. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sr3.js +41 -5
  638. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sv2.js +16 -1
  639. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sv3.js +43 -7
  640. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_th2.js +15 -0
  641. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_th3.js +41 -5
  642. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_tr2.js +15 -0
  643. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_tr3.js +41 -5
  644. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_uk2.js +15 -0
  645. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_uk3.js +42 -6
  646. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_vi2.js +15 -0
  647. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_vi3.js +41 -5
  648. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_CN2.js +15 -0
  649. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_CN3.js +41 -5
  650. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_TW2.js +15 -0
  651. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_TW3.js +41 -5
  652. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css.js +1 -1
  653. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css10.js +1 -1
  654. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css11.js +1 -1
  655. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css12.js +1 -1
  656. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css13.js +1 -1
  657. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css14.js +1 -1
  658. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css15.js +1 -1
  659. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css16.js +1 -1
  660. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css17.js +1 -1
  661. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css18.js +1 -1
  662. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css19.js +1 -1
  663. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css2.js +1 -1
  664. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css20.js +1 -1
  665. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css21.js +1 -1
  666. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css22.js +1 -1
  667. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css23.js +1 -1
  668. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css24.js +1 -1
  669. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css3.js +1 -1
  670. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css4.js +1 -1
  671. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css5.js +1 -1
  672. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css6.js +1 -1
  673. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css7.js +1 -1
  674. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css8.js +1 -1
  675. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css9.js +1 -1
  676. package/src/main/js/sap/ushell/thirdparty/event-strict.js +7 -0
  677. package/src/main/js/sap/ushell/thirdparty/i18n-defaults.js +146 -0
  678. package/src/main/js/sap/ushell/thirdparty/parameters-bundle.css25.js +99 -82
  679. package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents/dist/MenuItem.js +5 -0
  680. package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-base.js +1 -1
  681. package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-fiori/ShellBar.js +4 -0
  682. package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-fiori/ShellBarItem.js +4 -0
  683. package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-fiori/ShellBarSpacer.js +4 -0
  684. package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-fiori/dist/ShellBar.js +138 -0
  685. package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-fiori/dist/ShellBarItem.js +61 -0
  686. package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-fiori/dist/ShellBarSpacer.js +46 -0
  687. package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-fiori/dist/UserMenuAccount.js +5 -0
  688. package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-fiori.js +6 -2
  689. package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents.js +2 -1
  690. package/src/main/js/sap/ushell/thirdparty/webcomponents-base.js +8 -8
  691. package/src/main/js/sap/ushell/thirdparty/webcomponents-fiori.js +2 -2
  692. package/src/main/js/sap/ushell/thirdparty/webcomponents.js +4 -4
  693. package/src/main/js/sap/ushell/ui/AppContainer.js +6 -0
  694. package/src/main/js/sap/ushell/ui/ShellHeader.js +4 -40
  695. package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +1 -1
  696. package/src/main/js/sap/ushell/ui/footerbar/AboutDialog.controller.js +28 -27
  697. package/src/main/js/sap/ushell/ui/footerbar/SaveAsTile.controller.js +1 -1
  698. package/src/main/js/sap/ushell/ui/launchpad/ExtendedChangeDetection.js +1 -1
  699. package/src/main/js/sap/ushell/ui/launchpad/Section.js +1 -1
  700. package/src/main/js/sap/ushell/ui/launchpad/VizInstanceCdm.js +1 -7
  701. package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.js +1 -1
  702. package/src/main/js/sap/ushell/ui/shell/RightFloatingContainer.js +249 -249
  703. package/src/main/js/sap/ushell/ui/shell/ShellAppTitle.js +35 -3
  704. package/src/main/js/sap/ushell/ui/shell/ToolAreaItem.js +1 -1
  705. package/src/main/js/sap/ushell/ui/utils.js +1 -1
  706. package/src/main/js/sap/ushell/ui5service/ShellUIServiceFactory.js +1 -1
  707. package/src/main/js/sap/ushell/ui5service/UserStatus.js +1 -1
  708. package/src/main/js/sap/ushell/utils/RestrictedJSONModel.js +16 -0
  709. package/src/main/js/sap/ushell/utils/UrlParsing.js +96 -94
  710. package/src/main/js/sap/ushell/utils/UrlShortening.js +1 -1
  711. package/src/main/js/sap/ushell/utils/workpage/WorkPageHost.js +2 -2
  712. package/src/main/js/sap/ushell/utils/workpage/WorkPageService.js +12 -6
  713. package/src/main/js/sap/ushell/utils/workpage/WorkPageVizInstantiation.js +1 -1
  714. package/src/test/js/sap/ushell/bootstrap/sandbox.js +1 -1
  715. package/ui5.yaml +1 -1
  716. package/src/main/js/sap/ushell/components/applicationIntegration/ApplicationContainerRenderer.js +0 -35
  717. package/src/main/js/sap/ushell/components/shell/SideNavigation/view/SideNavigation.view.xml +0 -52
  718. package/src/main/js/sap/ushell/services/Ui5ComponentLoader/utils.js +0 -375
  719. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_in2.js +0 -266
  720. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_in3.js +0 -143
  721. /package/src/main/js/sap/ushell/{components/applicationIntegration → appIntegration}/ApplicationContainerCache.js +0 -0
  722. /package/src/main/js/sap/ushell/{components/applicationIntegration → appIntegration}/PostMessageManager/ExtensionItems.js +0 -0
  723. /package/src/main/js/sap/ushell/components/shell/MenuBar/view/{MenuBarPersonalization.view.xml → MenuBarWithPersonalizationButton.view.xml} +0 -0
@@ -4,21 +4,159 @@
4
4
  * @fileOverview The Unified Shell's UI5 component loader service.
5
5
  * This is a shell-internal service and no public or application facing API!
6
6
  *
7
- * @version 1.134.1
7
+ * @version 1.135.0
8
8
  */
9
9
  sap.ui.define([
10
10
  "sap/base/Log",
11
+ "sap/base/util/deepExtend",
12
+ "sap/ui/core/Component",
11
13
  "sap/ui/core/Lib",
14
+ "sap/ui/core/util/AsyncHintsHelper",
15
+ "sap/ui/thirdparty/jquery",
16
+ "sap/ui/thirdparty/URI",
12
17
  "sap/ushell/Config",
13
- "sap/ushell/utils",
14
- "sap/ushell/services/Ui5ComponentHandle",
15
- "sap/ushell/services/Ui5ComponentLoader/utils",
16
18
  "sap/ushell/EventHub",
17
- "sap/ui/thirdparty/jquery",
18
- "sap/ui/thirdparty/URI"
19
- ], function (Log, Library, Config, oUshellUtils, Ui5ComponentHandle, oUtils, oEventHub, jQuery, URI) {
19
+ "sap/ushell/services/Ui5ComponentHandle",
20
+ "sap/ushell/utils",
21
+ "sap/ushell/utils/UriParameters"
22
+ ], (
23
+ Log,
24
+ deepExtend,
25
+ Component,
26
+ Lib,
27
+ AsyncHintsHelper,
28
+ jQuery,
29
+ URI,
30
+ Config,
31
+ EventHub,
32
+ Ui5ComponentHandle,
33
+ ushellUtils,
34
+ UriParameters
35
+ ) => {
20
36
  "use strict";
21
37
 
38
+ /**
39
+ * @typedef {object} sap.ushell.services.Ui5ComponentLoader.AppProperties
40
+ * The input data structure for creating a UI5 component.
41
+ *
42
+ * @property {string} ui5ComponentName The name of the UI5 component
43
+ * @property {string} [ui5ComponentId] The id of the UI5 component
44
+ * @property {string} [url] The URL of the component resource
45
+ * @property {object} [componentData] The component data
46
+ * @property {object} [reservedParameters] Technical parameters
47
+ * @property {function} [getExtensions] Function for getting extensions
48
+ * This is only used for Plugins
49
+ * @property {sap.ushell.appIntegration.PostMessagePluginInterface} [oPostMessageInterface] Interface for post message communication.
50
+ * This is only used for Plugins
51
+ * @property {object} [applicationDependencies] Application dependencies
52
+ * @property {string} [applicationDependencies.name] The name of the component
53
+ * @property {string} [applicationDependencies.manifest] The URL of the manifest
54
+ * @property {object} [applicationDependencies.asyncHints] The asyncHints object
55
+ * @property {sap.ushell.services.Ui5ComponentLoader.ApplicationDependenciesMessage[]} [applicationDependencies.messages] messages to be logged.
56
+ * @property {object} [applicationConfiguration] The application configuration
57
+ * @property {boolean} [loadCoreExt] Whether the core-ext-light bundle should be loaded
58
+ * @property {boolean} [loadDefaultDependencies] Whether the default dependencies should be loaded
59
+ *
60
+ * @since 1.135.0
61
+ * @private
62
+ */
63
+
64
+ /**
65
+ * @typedef {object} sap.ushell.services.Ui5ComponentLoader.ApplicationDependenciesMessage
66
+ *
67
+ * @property {string} [text] The message
68
+ * @property {string} [severity] The severity
69
+ * @property {string} [details] The details
70
+ * @since 1.135.0
71
+ * @private
72
+ */
73
+
74
+ /**
75
+ * @typedef {sap.ushell.services.Ui5ComponentLoader.AppProperties} sap.ushell.services.Ui5ComponentLoader.AppPropertiesResult
76
+ * The application properties enriched with the component handle.
77
+ * This data structure is the result of the instantiation of a UI5 component.
78
+ *
79
+ * @property {sap.ushell.services.Ui5ComponentHandle} componentHandle The component handle
80
+ *
81
+ * @since 1.135.0
82
+ * @private
83
+ */
84
+
85
+ /**
86
+ * @typedef {object} sap.ushell.services.Ui5ComponentLoader.ComponentData
87
+ * Data which is handed over to the component as component data.
88
+ *
89
+ * @property {object} startupParameters Application startup parameters.
90
+ * Derived from <code>AppProperties.url</code>.
91
+ * If not provided it uses the current URL.
92
+ * @property {object} [technicalParameters] Technical parameters
93
+ * Derived from <code>AppProperties.reservedParameters</code>.
94
+ * @property {function} [getExtensions] Function to get extensions
95
+ * Derived from <code>AppProperties.getExtensions</code>.
96
+ * @property {sap.ushell.appIntegration.PostMessagePluginInterface} [oPostMessageInterface] Post message interface
97
+ * Derived from <code>AppProperties.oPostMessageInterface</code>.
98
+ * @property {object} [config] Application configuration
99
+ * Derived from <code>AppProperties.applicationConfiguration</code>.
100
+ *
101
+ * @since 1.135.0
102
+ * @private
103
+ */
104
+
105
+ /**
106
+ * @typedef {object} sap.ushell.services.Ui5ComponentLoader.ComponentProperties
107
+ * Intermediate data structure for the instantiation of a UI5 component
108
+ * It can possibly contain all properties available for the instantiation of a UI5 component. {@link sap.ui.core.Component#create}
109
+ * This data structure derived from <code>AppProperties.applicationDependencies</code>.
110
+ *
111
+ * @property {string} [id] The id of the component.
112
+ * If parsed shell hash is provided it is derived from the semantic object and action.
113
+ * @property {string} name The component name.
114
+ * The name provided in <code>AppProperties.applicationDependencies.name</code> has priority over <code>AppProperties.name</code>.
115
+ * @property {string} url The URL of the component resource.
116
+ * The URL is derived from <code>AppProperties.url</code>.
117
+ * @property {string} [manifest] The URL of the manifest.
118
+ * The manifest is derived from <code>AppProperties.applicationDependencies.manifest</code>.
119
+ * @property {object} asyncHints The asyncHints object.
120
+ * The asyncHints object is derived from <code>AppProperties.applicationDependencies.asyncHints</code>.
121
+ * @property {string[]} [asyncHints.libs] The libraries to be loaded.
122
+ * The libraries are provided via <code>AppProperties.applicationDependencies.asyncHints.libs</code>.
123
+ * If not provided the libraries are set default libraries when <code>AppProperties.loadDefaultDependencies</code> is set to <code>true</code>.
124
+ * @property {string[]} [asyncHints.components] The components to be loaded.
125
+ * The components are provided via <code>AppProperties.applicationDependencies.asyncHints.components</code>.
126
+ * @property {string[]} [asyncHints.preloadBundles] The preload bundles to load.
127
+ * The preload bundles are provided via <code>AppProperties.applicationDependencies.asyncHints.preloadBundles</code>.
128
+ * This is extended with the core-ext-light bundle if <code>AppProperties.loadCoreExt</code> is set to <code>true</code>.
129
+ * @property {Promise[]} [asyncHints.waitFor] The promises to wait for before instantiating the component.
130
+ *
131
+ * @since 1.135.0
132
+ * @private
133
+ */
134
+
135
+ /**
136
+ * @typedef {object} sap.ushell.services.Ui5ComponentLoader.InstantiationData
137
+ * This data structure contains all data needed for the instantiation of a UI5 component.
138
+ * It is a internal data structure used as interface.
139
+ *
140
+ * @property {sap.ushell.services.Ui5ComponentLoader.ComponentData} componentData The component data
141
+ * @property {sap.ushell.services.Ui5ComponentLoader.ComponentProperties} componentProperties The component properties
142
+ * @property {sap.ushell.services.Ui5ComponentLoader.AppProperties} appPropertiesSafe The original input properties. This is later extended with the componentHandle.
143
+ * @property {boolean} loadCoreExt Whether the core-ext-light bundle was loaded as part of the asyncHints
144
+ *
145
+ * @since 1.135.0
146
+ * @private
147
+ */
148
+
149
+ /**
150
+ * Those libraries are added as asyncHints in case the manifest does not provide any asyncHints
151
+ */
152
+ let aDefaultDependencies = ["sap.ui.unified"];
153
+
154
+ /**
155
+ * The libraries are deprecated and shall not be added in 2.x
156
+ * @deprecated since 1.120.0
157
+ */
158
+ aDefaultDependencies = ["sap.ca.scfld.md", "sap.ca.ui", "sap.me", "sap.ui.unified"];
159
+
22
160
  /**
23
161
  * @alias sap.ushell.services.Ui5ComponentLoader
24
162
  * @class
@@ -66,289 +204,566 @@ sap.ui.define([
66
204
  this._oAdapter = oAdapter;
67
205
 
68
206
  /**
69
- * Logger adding a trace an propagates the error
70
- * @param {object} oComponentProperties The component properties
71
- * @param {object} vError The error to be logged
72
- * @returns {Promise} Promise that resolves with vError
207
+ * Load the Core-Ext-Light bundle when the appropriate Event is emitted
73
208
  */
74
- this._logStackTrace = function (oComponentProperties, vError) {
75
- var sComponentProperties = JSON.stringify(oComponentProperties, null, 4);
76
-
77
- oUtils.logInstantiateComponentError(
78
- oComponentProperties.name,
79
- vError + "",
80
- vError.status,
81
- vError.stack,
82
- sComponentProperties
83
- );
84
- return Promise.reject(vError);
85
- };
209
+ EventHub.once("loadCoreResourcesComplement")
210
+ .do(() => {
211
+ this.loadCoreResourcesComplement();
212
+ });
213
+ }
86
214
 
87
- /**
88
- * Modifies the component properties.
89
- * It is the wrapper for the adapter, that may implement this method or not
90
- * @param {object} oData The oData with component properties as a member
91
- * @param {string} sUI5ComponentType Type used to define the type of loading a ui5component by FLP
92
- * @returns {Promise} oPromise The promise that resolves with the modified oData
93
- */
94
- this.modifyComponentProperties = function (oData, sUI5ComponentType) {
95
- if (!this._oAdapter.modifyComponentProperties) {
96
- return Promise.resolve(oData);
215
+ /**
216
+ * Modifies the component properties.
217
+ * It is the wrapper for the adapter, that may implement this method or not
218
+ * @param {sap.ushell.services.Ui5ComponentLoader.InstantiationData} oInstantiationData The oData with component properties as a member
219
+ * @param {sap.ushell.UI5ComponentType} sUI5ComponentType Type used to define the type of loading a ui5component by FLP
220
+ * @returns {Promise} The promise that resolves with the modified oData
221
+ *
222
+ * @private
223
+ */
224
+ Ui5ComponentLoader.prototype.modifyComponentProperties = async function (oInstantiationData, sUI5ComponentType) {
225
+ if (this._oAdapter.modifyComponentProperties) {
226
+ const oComponentProperties = await this._oAdapter.modifyComponentProperties(oInstantiationData.componentProperties, sUI5ComponentType);
227
+ oInstantiationData.componentProperties = oComponentProperties;
228
+ }
229
+
230
+ return oInstantiationData;
231
+ };
232
+
233
+ /**
234
+ * Loads and creates the UI5 component from the specified application properties object
235
+ * (the result of a navigation target resolution).
236
+ *
237
+ * @param {sap.ushell.services.Ui5ComponentLoader.AppProperties} oAppProperties Application properties as typically produced by resolveHashFragment,
238
+ * note that some members of componentData are propagated, this is used in the myinbox scenario,
239
+ * see (CrossApplicationNavigation.createComponentInstance)
240
+ * @param {sap.ushell.services.URLParsing.DecomposedHash} [oParsedShellHash] The shell hash of the application that is to be opened already parsed via
241
+ * <code>sap.ushell.services.URLParsing#parseShellHash</code><code>sap.ushell.services.URLParsing#parseShellHash</code>.
242
+ * @param {Promise[]} aWaitForBeforeInstantiation An array of promises which delays the instantiation of
243
+ * the Component class until those Promises are resolved.
244
+ * @param {sap.ushell.UI5ComponentType} sUI5ComponentType Type used to define the type of loading a ui5component by FLP
245
+ * as defined ushellLibrary
246
+ * @returns {Promise<sap.ushell.services.Ui5ComponentLoader.AppPropertiesResult>} Resolves with the application properties object which is enriched
247
+ * with an <code>componentHandle<code> object that encapsulates the loaded component.
248
+ * If the UI5 core resources have been loaded completely as a result of this call
249
+ * (either customPreload is disabled or the core-ext-light.js module is loaded as part of this call or was already loaded),
250
+ * the result object also gets a flag <code>coreResourcesFullyLoaded</code> which is true.
251
+ *
252
+ * @private
253
+ */
254
+ Ui5ComponentLoader.prototype.createComponent = async function (oAppProperties, oParsedShellHash = {}, aWaitForBeforeInstantiation, sUI5ComponentType) {
255
+ let oInstantiationData;
256
+ try {
257
+ oInstantiationData = await this.createComponentData(oAppProperties, oParsedShellHash, aWaitForBeforeInstantiation);
258
+ oInstantiationData = await this.modifyComponentProperties(oInstantiationData, sUI5ComponentType);
259
+ } catch (oError) {
260
+ Log.error("Ui5ComponentLoader: Error while creating component data", oError, "sap.ushell.services.Ui5ComponentLoader");
261
+ return oAppProperties;
262
+ }
263
+
264
+ const oEnrichedAppProperties = await this.instantiateComponent(oInstantiationData);
265
+ return oEnrichedAppProperties;
266
+ };
267
+
268
+ /**
269
+ * Loads the UI5 component from the specified application properties object
270
+ * (the result of a navigation target resolution).
271
+ *
272
+ * @param {sap.ushell.services.Ui5ComponentLoader.AppProperties} oAppProperties Application properties as typically produced by resolveHashFragment,
273
+ * note that some members of componentData are propagated, this is used in the myinbox scenario,
274
+ * see (CrossApplicationNavigation.createComponentInstance)
275
+ * @param {sap.ushell.services.URLParsing.DecomposedHash} oParsedShellHash The shell hash of the application that is to be opened already parsed via
276
+ * <code>sap.ushell.services.URLParsing#parseShellHash</code><code>sap.ushell.services.URLParsing#parseShellHash</code>.
277
+ * @param {Promise[]} aWaitForBeforeInstantiation An array of promises which delays the instantiation of
278
+ * the Component class until those Promises are resolved.
279
+ * @returns {Promise<sap.ushell.services.Ui5ComponentLoader.InstantiationData>} Resolves component data.
280
+ *
281
+ * @private
282
+ */
283
+ Ui5ComponentLoader.prototype.createComponentData = async function (oAppProperties = {}, oParsedShellHash = {}, aWaitForBeforeInstantiation) {
284
+ const oInstantiationData = {};
285
+ const oApplicationDependencies = oAppProperties.applicationDependencies || {};
286
+
287
+ this._logAnyApplicationDependenciesMessages(
288
+ oApplicationDependencies.name,
289
+ oApplicationDependencies.messages
290
+ );
291
+
292
+ if (!oAppProperties.ui5ComponentName) {
293
+ throw new Error("Ui5ComponentLoader: ui5ComponentName is mandatory");
294
+ }
295
+
296
+ oInstantiationData.appPropertiesSafe = oAppProperties;
297
+ oInstantiationData.loadCoreExt = this._shouldLoadCoreExt(oAppProperties);
298
+
299
+ oInstantiationData.componentData = this._createComponentData(oAppProperties);
300
+
301
+ const bCustomPreloadEnabled = Config.last("/core/customPreload/enabled");
302
+ const bAddCoreExtPreloadBundle = oInstantiationData.loadCoreExt && bCustomPreloadEnabled;
303
+ const bLoadDefaultDependencies = this._shouldLoadDefaultDependencies(oAppProperties);
304
+ const sComponentId = oAppProperties.ui5ComponentId || this._constructAppComponentId(oParsedShellHash);
305
+
306
+ oInstantiationData.componentProperties = await this._createComponentProperties(
307
+ sComponentId,
308
+ oAppProperties,
309
+ aWaitForBeforeInstantiation,
310
+ bAddCoreExtPreloadBundle,
311
+ bLoadDefaultDependencies
312
+ );
313
+
314
+ // Avoid warnings in ApplicationContainer.
315
+ // TODO: can be removed when ApplicationContainer construction is changed.
316
+ delete oInstantiationData.appPropertiesSafe.loadCoreExt;
317
+ delete oInstantiationData.appPropertiesSafe.loadDefaultDependencies;
318
+
319
+ return oInstantiationData;
320
+ };
321
+
322
+ /**
323
+ * Creates the UI5 component from the specified application properties object
324
+ * (the result of a navigation target resolution).
325
+ *
326
+ * @param {sap.ushell.services.Ui5ComponentLoader.InstantiationData} oInstantiationData Contains all application & component properties and data
327
+ * @returns {Promise<sap.ushell.services.Ui5ComponentLoader.AppPropertiesResult>} Resolves with the application properties object which is enriched
328
+ * with an <code>componentHandle<code> object that encapsulates the loaded component.
329
+ * If the UI5 core resources have been loaded completely as a result of this call
330
+ * (either customPreload is disabled or the core-ext-light.js module is loaded as part of this call or was already loaded),
331
+ * the result object also gets a flag <code>coreResourcesFullyLoaded</code> which is true.
332
+ *
333
+ * @private
334
+ */
335
+ Ui5ComponentLoader.prototype.instantiateComponent = async function (oInstantiationData) {
336
+ const oComponentProperties = oInstantiationData.componentProperties;
337
+ oComponentProperties.componentData = oInstantiationData.componentData;
338
+
339
+ // notify we are about to create component
340
+ Ui5ComponentHandle.onBeforeApplicationInstanceCreated.call(null, oComponentProperties);
341
+
342
+ try {
343
+ const oComponent = await this._createUi5Component(oComponentProperties);
344
+
345
+ const oOriginalInputAppProperties = oInstantiationData.appPropertiesSafe;
346
+ oOriginalInputAppProperties.componentHandle = new Ui5ComponentHandle(oComponent);
347
+
348
+ const bCoreResourcesFullyLoaded = oInstantiationData.loadCoreExt;
349
+ if (bCoreResourcesFullyLoaded) {
350
+ oOriginalInputAppProperties.coreResourcesFullyLoaded = bCoreResourcesFullyLoaded;
351
+ EventHub.emit("CoreResourcesComplementLoaded", { status: "success" });
97
352
  }
98
- return this._oAdapter.modifyComponentProperties(oData.componentProperties, sUI5ComponentType)
99
- .then(function (oComponentProperties) {
100
- oData.componentProperties = oComponentProperties;
101
- return oData;
102
- });
103
- };
104
353
 
105
- /**
106
- * Loads and creates the UI5 component from the specified application properties object
107
- * (the result of a navigation target resolution).
108
- *
109
- * @param {object} oAppProperties Application properties as typically produced by resolveHashFragment,
110
- * note that some members of componentData are propagated, this is used in the myinbox scenario,
111
- * see (CrossApplicationNavigation.createComponentInstance)
112
- * @param {object} oParsedShellHash The shell hash of the application that is to be opened already parsed via
113
- * <code>sap.ushell.services.URLParsing#parseShellHash</code><code>sap.ushell.services.URLParsing#parseShellHash</code>.
114
- * @param {Promise[]} aWaitForBeforeInstantiation An array of promises which delays the instantiation of
115
- * the Component class until those Promises are resolved.
116
- * @param {string} sUI5ComponentType Type used to define the type of loading a ui5component by FLP
117
- * as defined ushellLibrary
118
- * @returns {jQuery.Promise} Resolves with the application properties object which is enriched
119
- * with an <code>componentHandle<code> object that encapsulates the loaded component.
120
- * If the UI5 core resources have been loaded completely as a result of this call
121
- * (either customPreload is disabled or the core-ext-light.js module is loaded as part of this call or was already loaded),
122
- * the result object also gets a flag <code>coreResourcesFullyLoaded</code> which is true.
123
- * @private
124
- */
125
- this.createComponent = function (oAppProperties, oParsedShellHash, aWaitForBeforeInstantiation, sUI5ComponentType) {
126
- var oDeferred = new jQuery.Deferred();
127
- var that = this;
128
-
129
- this.createComponentData(oAppProperties, oParsedShellHash, aWaitForBeforeInstantiation)
130
- .then(function (oComponentData) {
131
- return that.modifyComponentProperties(oComponentData, sUI5ComponentType);
132
- })
133
- .then(function (oData) {
134
- that.instantiateComponent(oData).then(oDeferred.resolve, oDeferred.reject);
135
- },
136
- function () {
137
- oDeferred.resolve(oAppProperties);
138
- }
139
- );
140
- return oDeferred.promise();
141
- };
354
+ return oOriginalInputAppProperties;
355
+ } catch (vError) {
356
+ const sApplicationName = oComponentProperties.name;
357
+ const sComponentProperties = JSON.stringify(oComponentProperties, null, 4);
142
358
 
143
- /**
144
- * Loads the UI5 component from the specified application properties object
145
- * (the result of a navigation target resolution).
146
- *
147
- * @param {object} oAppProperties Application properties as typically produced by resolveHashFragment,
148
- * note that some members of componentData are propagated, this is used in the myinbox scenario,
149
- * see (CrossApplicationNavigation.createComponentInstance)
150
- * @param {object} oParsedShellHash The shell hash of the application that is to be opened already parsed via
151
- * <code>sap.ushell.services.URLParsing#parseShellHash</code><code>sap.ushell.services.URLParsing#parseShellHash</code>.
152
- * @param {Promise[]} aWaitForBeforeInstantiation An array of promises which delays the instantiation of
153
- * the Component class until those Promises are resolved.
154
- * @returns {Promise} Resolves component data.
155
- * @private
156
- */
157
- this.createComponentData = function (oAppProperties, oParsedShellHash, aWaitForBeforeInstantiation) {
158
- var that = this;
159
- return new Promise(function (fnResolve, fnReject) {
160
- var oData = {};
161
- var oAppPropertiesSafe = oAppProperties || {};
162
- var bLoadCoreExt = oUtils.shouldLoadCoreExt(oAppPropertiesSafe);
163
- var bCustomPreloadEnabled = Config.last("/core/customPreload/enabled");
164
- var bAddCoreExtPreloadBundle = bLoadCoreExt && bCustomPreloadEnabled;
165
- var bLoadDefaultDependencies = oUtils.shouldLoadDefaultDependencies(oAppPropertiesSafe, that._oServiceConfig);
166
- var bNoCachebusterTokens = oUshellUtils.getParameterValueBoolean("sap-ushell-nocb");
167
- var oApplicationDependencies = oAppPropertiesSafe.applicationDependencies || {};
168
- var sComponentId = oUtils.constructAppComponentId(oParsedShellHash || {});
169
- var aCoreResourcesComplement = Config.last("/core/customPreload/coreResourcesComplement");
170
- var oComponentData;
171
- var oComponentProperties;
172
-
173
- oUtils.logAnyApplicationDependenciesMessages(
174
- oApplicationDependencies.name,
175
- oApplicationDependencies.messages
176
- );
177
-
178
- if (!oAppPropertiesSafe.ui5ComponentName) {
179
- fnReject();
180
- return;
181
- }
182
- // Avoid warnings in ApplicationContainer.
183
- // TODO: can be removed when ApplicationContainer construction is changed.
184
- delete oAppPropertiesSafe.loadCoreExt;
185
- delete oAppPropertiesSafe.loadDefaultDependencies;
186
-
187
- oComponentData = oUtils.createComponentData(
188
- oAppPropertiesSafe.componentData || {},
189
- oAppPropertiesSafe.url,
190
- oAppPropertiesSafe.applicationConfiguration,
191
- oAppPropertiesSafe.reservedParameters
192
- );
193
-
194
- if (oAppPropertiesSafe.getExtensions) {
195
- oComponentData.getExtensions = oAppPropertiesSafe.getExtensions;
196
- delete oAppPropertiesSafe.getExtensions;
197
- }
198
- if (oAppPropertiesSafe.oPostMessageInterface) {
199
- oComponentData.oPostMessageInterface = oAppPropertiesSafe.oPostMessageInterface;
200
- delete oAppPropertiesSafe.oPostMessageInterface;
201
- }
359
+ let sErrorReason = `The issue is most likely caused by application ${sApplicationName}`;
360
+ let sAppPropertiesErrorMsg = `Failed to load UI5 component with properties: '${sComponentProperties}'.`;
202
361
 
203
- oComponentProperties = oUtils.createComponentProperties(
204
- bAddCoreExtPreloadBundle,
205
- bLoadDefaultDependencies,
206
- bNoCachebusterTokens,
207
- aWaitForBeforeInstantiation,
208
- oAppPropertiesSafe.applicationDependencies || {},
209
- oAppPropertiesSafe.ui5ComponentName,
210
- oAppPropertiesSafe.url,
211
- sComponentId,
212
- aCoreResourcesComplement
213
- );
214
-
215
- oData.componentData = oComponentData;
216
- oData.componentProperties = oComponentProperties;
217
- oData.appPropertiesSafe = oAppPropertiesSafe;
218
- oData.loadCoreExt = bLoadCoreExt;
219
-
220
- //This code is for the Flexible UI team, to allow loading appliction with a specific manifest version:
221
- // 1. first, we need to check if the "sap.ui.fl" is loaded
222
- // 2. then we need to call special api provided by the FL team to give us the manifest
223
- // version to load based on the app id
224
- // 3. last, we concatinate the version to the manifest url
225
- if (typeof oComponentProperties.manifest === "string" && oComponentProperties.manifest.length > 0 && "sap.ui.fl" in Library.all()) {
226
- sap.ui.require(["sap/ui/fl/apply/api/FlexRuntimeInfoAPI"], (FlexRuntimeInfoAPI) => {
227
- try {
228
- const sNewVersion = FlexRuntimeInfoAPI.getFlexVersion({ reference: oData.appPropertiesSafe.ui5ComponentName });
229
- if (typeof sNewVersion === "string" && sNewVersion.length > 0) {
230
- const oManifestUrl = new URI(oComponentProperties.manifest);
231
- oManifestUrl.addQuery("version", sNewVersion);
232
- oComponentProperties.manifest = oManifestUrl.toString();
233
- }
234
- fnResolve(oData);
235
- } catch (ex) {
236
- //if exception occured in the process of getting the manifest version, continue without it so the component
237
- //can be created
238
- Log.error("Error when trying to get manifest version from 'sap.ui.fl.apply.api.FlexRuntimeInfoAPI'",
239
- ex,
240
- "sap.ushell.services.Ui5ComponentLoader");
241
- fnResolve(oData);
242
- }
243
- }, (ex) => {
244
- //if the "sap.ui.require" fails, we simply resolve in order to continue as is, so the component
245
- //will be created without the manifest version (to avoid empty UI)
246
- Log.error("Error when trying to load 'sap/ui/fl/apply/api/FlexRuntimeInfoAPI'",
247
- ex,
248
- "sap.ushell.services.Ui5ComponentLoader");
249
- fnResolve(oData);
250
- });
251
- return;
252
- }
362
+ if (vError.stack) {
363
+ sAppPropertiesErrorMsg += ` Error likely caused by:\n${vError.stack}`;
364
+ } else {
365
+ // Error usually appears in the stack trace if the app
366
+ // threw with new Error... but if it didn't we add it here:
367
+ sAppPropertiesErrorMsg += ` Error: '${vError}'`;
368
+ }
369
+
370
+ if (vError.status === "parsererror") {
371
+ sErrorReason += ", as one or more of its resources could not be parsed";
372
+ }
373
+ sErrorReason += ". Please create a support incident and assign it to the support component of the respective application.";
253
374
 
254
- fnResolve(oData);
375
+ Log.error(sErrorReason, sAppPropertiesErrorMsg, sApplicationName);
376
+
377
+ throw vError;
378
+ }
379
+ };
380
+
381
+ /**
382
+ * Returns the CoreResources complement bundle information configured in the service
383
+ *
384
+ * @returns {string[]} The bundle resources that can be set as <code>preloadBundles</code>
385
+ * when loading UI5 components; an empty array is returned when the custom preload is disabled
386
+ *
387
+ * @since 1.102.0
388
+ * @private
389
+ */
390
+ Ui5ComponentLoader.prototype.getCoreResourcesComplementBundle = function () {
391
+ if (Config.last("/core/customPreload/enabled")) {
392
+ return Config.last("/core/customPreload/coreResourcesComplement");
393
+ }
394
+ return [];
395
+ };
396
+
397
+ /**
398
+ * Loads a Bundle that complements the Core Resources as configured in the configuration (default core-ext-light)
399
+ *
400
+ * This should normally be triggered by the corresponding EventHub Event (loadCoreExtLight)
401
+ * Can also be called directly and returns a promise if used that way.
402
+ *
403
+ * @returns {Promise} A Promise that resolves as soon as the Core Complements bundle is loaded
404
+ *
405
+ * @private
406
+ */
407
+ Ui5ComponentLoader.prototype.loadCoreResourcesComplement = function () {
408
+ if (!this.loadCoreResourcesComplementPromise) {
409
+ this.loadCoreResourcesComplementPromise = new Promise(async (resolve, reject) => {
410
+ try {
411
+ await this._loadBundle(this.getCoreResourcesComplementBundle());
412
+ EventHub.emit("CoreResourcesComplementLoaded", { status: "success" });
413
+ resolve();
414
+ } catch (oError) {
415
+ EventHub.emit("CoreResourcesComplementLoaded", { status: "failed" });
416
+ reject(oError);
417
+ }
255
418
  });
419
+ this.loadCoreResourcesComplementPromise.finally(() => {
420
+ // Reset... to allow requesting again
421
+ this.loadCoreResourcesComplementPromise = undefined;
422
+ });
423
+ }
424
+
425
+ return this.loadCoreResourcesComplementPromise;
426
+ };
427
+
428
+ /**
429
+ * Creates a UI5 component instance asynchronously.
430
+ *
431
+ * @param {sap.ushell.services.Ui5ComponentLoader.ComponentProperties} oComponentProperties the Ui5 component properties
432
+ *
433
+ * @returns {Promise<sap.ui.core.Component>} Resolves with an instance of
434
+ * <code>sap.ui.component</code> containing the instantiated Ui5 component.
435
+ *
436
+ * @private
437
+ */
438
+ Ui5ComponentLoader.prototype._createUi5Component = function (oComponentProperties) {
439
+ if (oComponentProperties.manifest === undefined) {
440
+ oComponentProperties.manifest = false;
441
+ }
442
+
443
+ return Component.create(oComponentProperties);
444
+ };
445
+
446
+ /**
447
+ * Decides based on the application properties whether the core-ext-light bundle should be loaded.
448
+ * @param {sap.ushell.services.Ui5ComponentLoader.AppProperties} oAppProperties The application properties.
449
+ * @returns {boolean} Whether the core-ext-light bundle should be loaded.
450
+ *
451
+ * @private
452
+ */
453
+ Ui5ComponentLoader.prototype._shouldLoadCoreExt = function (oAppProperties) {
454
+ let bLoadCoreExt = true; /* default */
455
+ if (oAppProperties.hasOwnProperty("loadCoreExt")) {
456
+ bLoadCoreExt = oAppProperties.loadCoreExt;
457
+ }
458
+ return bLoadCoreExt;
459
+ };
460
+
461
+ /**
462
+ * Defines whether the default dependencies should be loaded.
463
+ * Can be overridden by the service configuration.
464
+ * @param {sap.ushell.services.Ui5ComponentLoader.AppProperties} oAppProperties The application properties.
465
+ * @returns {boolean} Whether the default dependencies should be loaded.
466
+ *
467
+ * @private
468
+ */
469
+ Ui5ComponentLoader.prototype._shouldLoadDefaultDependencies = function (oAppProperties) {
470
+ // default dependencies loading can be skipped explicitly (homepage component use case)
471
+ let bLoadDefaultDependencies = true;
472
+ if (oAppProperties.hasOwnProperty("loadDefaultDependencies")) {
473
+ bLoadDefaultDependencies = oAppProperties.loadDefaultDependencies;
474
+ }
475
+
476
+ // or via service configuration (needed for unit tests)
477
+ if (this._oServiceConfig && this._oServiceConfig.hasOwnProperty("loadDefaultDependencies")) {
478
+ bLoadDefaultDependencies = bLoadDefaultDependencies && this._oServiceConfig.loadDefaultDependencies;
479
+ }
480
+
481
+ return bLoadDefaultDependencies;
482
+ };
483
+
484
+ /**
485
+ * Constructs the app id based on the parsed shell hash.
486
+ * @param {sap.ushell.services.URLParsing.DecomposedHash} [oParsedShellHash] The parsed shell hash.
487
+ * @returns {string} The constructed app component ID.
488
+ *
489
+ * @private
490
+ */
491
+ Ui5ComponentLoader.prototype._constructAppComponentId = function (oParsedShellHash = {}) {
492
+ const sSemanticObject = oParsedShellHash.semanticObject || null;
493
+ const sAction = oParsedShellHash.action || null;
494
+
495
+ if (!sSemanticObject || !sAction) {
496
+ return null;
497
+ }
498
+
499
+ // todo: [FLPCOREANDUX-10024] Get rid of this calculation
500
+ return `application-${sSemanticObject}-${sAction}-component`;
501
+ };
502
+
503
+ /**
504
+ * Removes the cachebuster token from the given URL if any is present.
505
+ *
506
+ * @param {string} sUrl The URL to remove the change buster token from
507
+ * @returns {string} The URL without the cachebuster token. The same URL is returned if no cachebuster token was present in the original URL.
508
+ *
509
+ * @private
510
+ */
511
+ Ui5ComponentLoader.prototype._removeCacheBusterTokenFromUrl = function (sUrl) {
512
+ const rCacheBusterToken = new RegExp("[/]~[\\w-]+~[A-Z0-9]?");
513
+ return sUrl.replace(rCacheBusterToken, "");
514
+ };
515
+
516
+ /**
517
+ * Remove any parameters from the given URL.
518
+ * @param {string} sUrl The URL to remove the parameters from.
519
+ * @returns {string} The URL without any parameters.
520
+ *
521
+ * @private
522
+ */
523
+ Ui5ComponentLoader.prototype._removeParametersFromUrl = function (sUrl) {
524
+ if (!sUrl) { return sUrl; }
525
+
526
+ const iIndex = sUrl.indexOf("?");
527
+ if (iIndex >= 0) {
528
+ return sUrl.slice(0, iIndex);
529
+ }
530
+ return sUrl;
531
+ };
532
+
533
+ /**
534
+ * Returns a map of all search parameters present in the search string of the given URL.
535
+ *
536
+ * @param {string} sUrl the URL
537
+ * @returns {object}
538
+ * in member <code>startupParameters</code> <code>map&lt;string, string[]}></code> from key to array of values,
539
+ * in members <code>sap-xapp-state</code> an array of Cross application Navigation state keys, if present
540
+ * Note that this key is removed from startupParameters!
541
+ *
542
+ * @private
543
+ */
544
+ Ui5ComponentLoader.prototype._getParameterMap = function (sUrl) {
545
+ const mParams = UriParameters.fromURL(sUrl || window.location.href).mParams;
546
+ const xAppState = mParams["sap-xapp-state"];
547
+ const xAppStateData = mParams["sap-xapp-state-data"];
548
+ delete mParams["sap-xapp-state"];
549
+ delete mParams["sap-xapp-state-data"];
550
+ const oResult = {
551
+ startupParameters: mParams
256
552
  };
553
+ if (xAppStateData) {
554
+ oResult["sap-xapp-state"] = xAppStateData;
555
+ }
556
+ if (xAppState) { // sap-xapp-state has priority over sap-xapp-state-data
557
+ oResult["sap-xapp-state"] = xAppState;
558
+ }
559
+ return oResult;
560
+ };
257
561
 
258
- /**
259
- * Creates the UI5 component from the specified application properties object
260
- * (the result of a navigation target resolution).
261
- *
262
- * @param {object} oData Contains all application & component properties and data
263
- * @returns {jQuery.Promise} Resolves with the application properties object which is enriched
264
- * with an <code>componentHandle<code> object that encapsulates the loaded component.
265
- * If the UI5 core resources have been loaded completely as a result of this call
266
- * (either customPreload is disabled or the core-ext-light.js module is loaded as part of this call or was already loaded),
267
- * the result object also gets a flag <code>coreResourcesFullyLoaded</code> which is true.
268
- * @private
269
- */
270
- this.instantiateComponent = function (oData) {
271
- var oComponentProperties = oData.componentProperties;
272
- var oComponentData = oData.componentData;
273
- var oAppPropertiesSafe = oData.appPropertiesSafe;
274
- var bLoadCoreExt = oData.loadCoreExt;
275
-
276
- // notify we are about to create component
277
- Ui5ComponentHandle.onBeforeApplicationInstanceCreated.call(null, oComponentProperties);
278
-
279
- var oDeferred = new jQuery.Deferred();
280
-
281
- oUtils.createUi5Component(oComponentProperties, oComponentData)
282
- .then(function (oComponent) {
283
- var oComponentHandle = new Ui5ComponentHandle(oComponent);
284
- oAppPropertiesSafe.componentHandle = oComponentHandle;
285
-
286
- var bCoreResourcesFullyLoaded = bLoadCoreExt;
287
- if (bCoreResourcesFullyLoaded) {
288
- oAppPropertiesSafe.coreResourcesFullyLoaded = bCoreResourcesFullyLoaded;
289
- oEventHub.emit("CoreResourcesComplementLoaded", { status: "success" });
562
+ /**
563
+ * Loads the specified bundle resources asynchronously.
564
+ *
565
+ * @param {string[]} aBundleResources - the resources to be loaded;
566
+ * must follow the UI5 module definition spec (i.e. w/o .js extension)
567
+ * @returns {Promise} Promise that resolves as soon as all bundle resources are loaded.
568
+ *
569
+ * @private
570
+ */
571
+ Ui5ComponentLoader.prototype._loadBundle = function (aBundleResources) {
572
+ if (!Array.isArray(aBundleResources)) {
573
+ Log.error("Ui5ComponentLoader: loadBundle called with invalid arguments");
574
+ return null;
575
+ }
576
+
577
+ return Promise.all(aBundleResources.map((sResource) => {
578
+ // since 1.46, multiple calls of sap.ui.loader._.loadJSResourceAsync
579
+ // for the same module will return the same promise,
580
+ // i.e. there is no need to check if the module has been loaded before
581
+ // TODO: sap.ui.loader._.loadJSResourceAsync is private.
582
+ return sap.ui.loader._.loadJSResourceAsync(sResource);
583
+ })).catch((vError) => {
584
+ Log.error(`Ui5ComponentLoader: failed to load bundle resources: [${aBundleResources.join(", ")}]`);
585
+ return Promise.reject(vError);
586
+ });
587
+ };
588
+
589
+ /**
590
+ * Creates a componentProperties object that can be used to instantiate a ui5 component
591
+ * excluding the component data.
592
+ * @param {string} sAppComponentId The ID of the app component.
593
+ * @param {sap.ushell.services.Ui5ComponentLoader.AppProperties} oAppProperties The original application properties.
594
+ * @param {string[]} aWaitForBeforeInstantiation The list of components to wait for before instantiating the component.
595
+ * @param {boolean} bAddCoreExtPreloadBundle Whether to add the core-ext-light-preload bundle to the component properties.
596
+ * @param {boolean} bLoadDefaultDependencies Whether to load default dependencies.
597
+ *
598
+ * @returns {Promise<sap.ushell.services.Ui5ComponentLoader.ComponentProperties>} The component properties that can be used to instantiate the UI5 component.
599
+ */
600
+ Ui5ComponentLoader.prototype._createComponentProperties = async function (sAppComponentId, oAppProperties, aWaitForBeforeInstantiation, bAddCoreExtPreloadBundle, bLoadDefaultDependencies) {
601
+ const sUi5ComponentName = oAppProperties.ui5ComponentName;
602
+ const sComponentUrl = oAppProperties.url;
603
+ const oApplicationDependencies = oAppProperties.applicationDependencies || {};
604
+ const bNoCachebusterTokens = ushellUtils.getParameterValueBoolean("sap-ushell-nocb");
605
+ // take over all properties of applicationDependencies to enable extensions in server w/o
606
+ // necessary changes in client
607
+ const oComponentProperties = deepExtend({}, oApplicationDependencies);
608
+
609
+ // set default library dependencies if no asyncHints defined (apps without manifest)
610
+ // TODO: move fallback logic to server implementation
611
+ if (!oComponentProperties.asyncHints) {
612
+ oComponentProperties.asyncHints = bLoadDefaultDependencies ? { libs: aDefaultDependencies } : {};
613
+ }
614
+
615
+ if (bAddCoreExtPreloadBundle) {
616
+ const aCoreResourcesComplement = Config.last("/core/customPreload/coreResourcesComplement");
617
+
618
+ oComponentProperties.asyncHints.preloadBundles = [
619
+ ...(oComponentProperties.asyncHints.preloadBundles || []),
620
+ ...aCoreResourcesComplement
621
+ ];
622
+ }
623
+
624
+ if (aWaitForBeforeInstantiation) {
625
+ oComponentProperties.asyncHints.waitFor = aWaitForBeforeInstantiation;
626
+ }
627
+
628
+ // Use component name from app properties (target mapping) only if no name
629
+ // was provided in the component properties (applicationDependencies)
630
+ // for supporting application variants, we have to differentiate between app ID
631
+ // and component name
632
+ if (!oComponentProperties.name) {
633
+ oComponentProperties.name = sUi5ComponentName;
634
+ }
635
+
636
+ if (sComponentUrl) {
637
+ oComponentProperties.url = this._removeParametersFromUrl(sComponentUrl);
638
+ }
639
+
640
+ if (sAppComponentId) {
641
+ oComponentProperties.id = sAppComponentId;
642
+ }
643
+
644
+ if (bNoCachebusterTokens && oComponentProperties.asyncHints) {
645
+ AsyncHintsHelper.modifyUrls(oComponentProperties.asyncHints, this._removeCacheBusterTokenFromUrl);
646
+ }
647
+
648
+ //This code is for the Flexible UI team, to allow loading application with a specific manifest version:
649
+ // 1. first, we need to check if the "sap.ui.fl" is loaded
650
+ // 2. then we need to call special api provided by the FL team to give us the manifest
651
+ // version to load based on the app id
652
+ // 3. last, we concatenate the version to the manifest url
653
+ const sManifest = oComponentProperties.manifest;
654
+ if (typeof sManifest === "string" && sManifest.length > 0 && "sap.ui.fl" in Lib.all()) {
655
+ try {
656
+ const [FlexRuntimeInfoAPI] = await ushellUtils.requireAsync(["sap/ui/fl/apply/api/FlexRuntimeInfoAPI"]);
657
+ try {
658
+ const sNewVersion = FlexRuntimeInfoAPI.getFlexVersion({ reference: sUi5ComponentName });
659
+ if (typeof sNewVersion === "string" && sNewVersion.length > 0) {
660
+ const oManifestUrl = new URI(sManifest);
661
+ oManifestUrl.addQuery("version", sNewVersion);
662
+ oComponentProperties.manifest = oManifestUrl.toString();
290
663
  }
664
+ return oComponentProperties;
665
+ } catch (ex) {
666
+ //if exception occurred in the process of getting the manifest version, continue without it so the component
667
+ //can be created
668
+ Log.error("Error when trying to get manifest version from 'sap.ui.fl.apply.api.FlexRuntimeInfoAPI'",
669
+ ex,
670
+ "sap.ushell.services.Ui5ComponentLoader");
671
+ return oComponentProperties;
672
+ }
673
+ } catch (ex) {
674
+ //if the "sap.ui.require" fails, we simply resolve in order to continue as is, so the component
675
+ //will be created without the manifest version (to avoid empty UI)
676
+ Log.error("Error when trying to load 'sap/ui/fl/apply/api/FlexRuntimeInfoAPI'",
677
+ ex,
678
+ "sap.ushell.services.Ui5ComponentLoader");
679
+ return oComponentProperties;
680
+ }
681
+ }
291
682
 
292
- oDeferred.resolve(oAppPropertiesSafe);
293
- })
294
- .fail(this._logStackTrace.bind(this, oComponentProperties))
295
- .catch(oDeferred.reject);
683
+ return oComponentProperties;
684
+ };
296
685
 
297
- return oDeferred.promise();
298
- };
686
+ /**
687
+ * Creates a componentData object that can be used to instantiate a ui5 component.
688
+ * @param {sap.ushell.services.Ui5ComponentLoader.AppProperties} oAppProperties The safe application properties.
689
+ * @returns {sap.ushell.services.Ui5ComponentLoader.ComponentData} The component data that is handed over to the component as component data.
690
+ *
691
+ * @private
692
+ */
693
+ Ui5ComponentLoader.prototype._createComponentData = function (oAppProperties) {
694
+ const oBaseComponentData = oAppProperties.componentData || {};
695
+ const sComponentUrl = oAppProperties.url;
696
+ const oApplicationConfiguration = oAppProperties.applicationConfiguration;
697
+ const oTechnicalParameters = oAppProperties.reservedParameters;
299
698
 
300
- /**
301
- * Returns the CoreResources complement bundle informations configured in the service
302
- *
303
- * @returns {string[]} The bundle resources that can be set as <code>preloadBundles</code>
304
- * when loading UI5 components; an empty array is returned when the custom preload is disabled
305
- *
306
- * @since 1.102.0
307
- * @private
308
- */
309
- this.getCoreResourcesComplementBundle = function () {
310
- return Config.last("/core/customPreload/enabled") ? Config.last("/core/customPreload/coreResourcesComplement") : [];
311
- };
699
+ const oComponentData = deepExtend({
700
+ startupParameters: {}
701
+ }, oBaseComponentData);
312
702
 
313
- /**
314
- * Loads a Bundle that complements the Core Resources as configured in the configuration (default core-ext-light)
315
- *
316
- * This should normally be triggered by the corresponding EventHub Event (loadCoreExtLight)
317
- * Can also be called directly and returns a promise if used that way.
318
- *
319
- * @returns {Promise} A Promise that resolves as soon as the Core Complements bundle is loaded
320
- * @private
321
- */
322
- this.loadCoreResourcesComplement = function () {
323
- if (!this.loadCoreResourcesComplementPromise) {
324
- this.loadCoreResourcesComplementPromise = new Promise(function (resolve, reject) {
325
- oUtils.loadBundle(this.getCoreResourcesComplementBundle())
326
- .then(function () {
327
- oEventHub.emit("CoreResourcesComplementLoaded", { status: "success" });
328
- resolve();
329
- })
330
- .catch(function () {
331
- oEventHub.emit("CoreResourcesComplementLoaded", { status: "failed" });
332
- reject();
333
- });
334
- }.bind(this));
335
- this.loadCoreResourcesComplementPromise.finally(function () {
336
- // Reset... to allow requesting again
337
- this.loadCoreResourcesComplementPromise = undefined;
338
- }.bind(this));
703
+ if (oApplicationConfiguration) {
704
+ oComponentData.config = oApplicationConfiguration;
705
+ }
706
+ if (oTechnicalParameters) {
707
+ oComponentData.technicalParameters = oTechnicalParameters;
708
+ }
709
+
710
+ const bComponentUrlHasParameters = sComponentUrl && sComponentUrl.indexOf("?") >= 0;
711
+ if (bComponentUrlHasParameters) {
712
+ const oUrlData = this._getParameterMap(sComponentUrl);
713
+
714
+ // pass GET parameters of URL via component data as member
715
+ // startupParameters and as xAppState (to allow blending with
716
+ // other oComponentData usage, e.g. extensibility use case)
717
+ oComponentData.startupParameters = oUrlData.startupParameters;
718
+ if (oUrlData["sap-xapp-state-data"]) {
719
+ oComponentData["sap-xapp-state"] = oUrlData["sap-xapp-state-data"];
339
720
  }
721
+ if (oUrlData["sap-xapp-state"]) { // sap-xapp-state has priority over sap-xapp-state-data
722
+ oComponentData["sap-xapp-state"] = oUrlData["sap-xapp-state"];
723
+ }
724
+ }
340
725
 
341
- return this.loadCoreResourcesComplementPromise;
342
- };
726
+ if (oAppProperties.getExtensions) {
727
+ oComponentData.getExtensions = oAppProperties.getExtensions;
728
+ delete oAppProperties.getExtensions;
729
+ }
730
+ if (oAppProperties.oPostMessageInterface) {
731
+ oComponentData.oPostMessageInterface = oAppProperties.oPostMessageInterface;
732
+ delete oAppProperties.oPostMessageInterface;
733
+ }
343
734
 
344
- /**
345
- * Load the Core-Ext-Light bundle when the appropriate Event is emitted
346
- */
347
- oEventHub.once("loadCoreResourcesComplement")
348
- .do(function () {
349
- this.loadCoreResourcesComplement();
350
- }.bind(this));
351
- }
735
+ return oComponentData;
736
+ };
737
+
738
+ /**
739
+ * The applicationDependencies might contain messages which are logged.
740
+ * @param {string} sApplicationDependenciesName The component name provided in the applicationDependencies.
741
+ * @param {sap.ushell.services.Ui5ComponentLoader.ApplicationDependenciesMessage[]} aMessages The messages to be logged.
742
+ *
743
+ * @private
744
+ */
745
+ Ui5ComponentLoader.prototype._logAnyApplicationDependenciesMessages = function (sApplicationDependenciesName, aMessages) {
746
+ if (!Array.isArray(aMessages)) {
747
+ return;
748
+ }
749
+
750
+ aMessages.forEach((oMessage) => {
751
+ let sSeverity = String.prototype.toLowerCase.call(oMessage.severity || "");
752
+ sSeverity = ["trace", "debug", "info", "warning", "error", "fatal"].indexOf(sSeverity) !== -1 ? sSeverity : "error";
753
+ Log[sSeverity](oMessage.text, oMessage.details, sApplicationDependenciesName);
754
+ });
755
+ };
756
+
757
+ /**
758
+ * Overwrites the default dependencies used for components which don't define asyncHints
759
+ * @param {string[]} aNewDefaultDependencies List of dependencies
760
+ *
761
+ * @since 1.120.0
762
+ * @private
763
+ */
764
+ Ui5ComponentLoader.prototype._setDefaultDependencies = function (aNewDefaultDependencies) {
765
+ aDefaultDependencies = aNewDefaultDependencies;
766
+ };
352
767
 
353
768
  Ui5ComponentLoader.hasNoAdapter = false;
354
769
  return Ui5ComponentLoader;