@sapui5/sap.ushell 1.130.1 → 1.131.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 (512) hide show
  1. package/package.json +1 -1
  2. package/src/main/js/sap/ushell/.library +1 -1
  3. package/src/main/js/sap/ushell/AppInfoParameters.js +2 -1
  4. package/src/main/js/sap/ushell/ApplicationType/systemAlias.js +83 -40
  5. package/src/main/js/sap/ushell/ApplicationType/urlTemplateResolution.js +1 -0
  6. package/src/main/js/sap/ushell/Container.js +8 -5
  7. package/src/main/js/sap/ushell/Fiori20Adapter.js +1 -1
  8. package/src/main/js/sap/ushell/Fiori20AdapterTest.js +1 -1
  9. package/src/main/js/sap/ushell/NWBCInterface.js +1 -1
  10. package/src/main/js/sap/ushell/TechnicalParameters.js +1 -1
  11. package/src/main/js/sap/ushell/URLTemplateProcessor/DefinitionParameterSetBuilder.js +1 -1
  12. package/src/main/js/sap/ushell/URLTemplateProcessor/DependencyGraph.js +1 -1
  13. package/src/main/js/sap/ushell/URLTemplateProcessor/Functions.js +1 -1
  14. package/src/main/js/sap/ushell/URLTemplateProcessor/Resolvers.js +1 -1
  15. package/src/main/js/sap/ushell/URLTemplateProcessor/TemplateParameterParser.js +1 -1
  16. package/src/main/js/sap/ushell/URLTemplateProcessor/utils.js +1 -1
  17. package/src/main/js/sap/ushell/URLTemplateProcessor.js +1 -1
  18. package/src/main/js/sap/ushell/Ui5NativeServiceFactory.js +1 -1
  19. package/src/main/js/sap/ushell/Ui5ServiceFactory.js +1 -1
  20. package/src/main/js/sap/ushell/adapters/cdm/ClientSideTargetResolutionAdapter.js +1 -1
  21. package/src/main/js/sap/ushell/adapters/cdm/CommonDataModelAdapter.js +1 -1
  22. package/src/main/js/sap/ushell/adapters/cdm/ConfigurationDefaultsAdapter.js +1 -1
  23. package/src/main/js/sap/ushell/adapters/cdm/ContainerAdapter.js +1 -1
  24. package/src/main/js/sap/ushell/adapters/cdm/LaunchPageAdapter.js +12 -2
  25. package/src/main/js/sap/ushell/adapters/cdm/PagesCommonDataModelAdapter.js +1 -1
  26. package/src/main/js/sap/ushell/adapters/cdm/PersonalizationAdapter.js +1 -1
  27. package/src/main/js/sap/ushell/adapters/cdm/PersonalizationV2Adapter.js +1 -1
  28. package/src/main/js/sap/ushell/adapters/cdm/Ui5ComponentLoaderAdapter.js +1 -1
  29. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/modifyHome.js +1 -1
  30. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readCatalogs.js +1 -1
  31. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readHome.js +1 -1
  32. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/uri.transform.js +1 -1
  33. package/src/main/js/sap/ushell/adapters/cdm/util/AppForInbound.js +1 -1
  34. package/src/main/js/sap/ushell/adapters/cdm/util/cdmSiteUtils.js +1 -1
  35. package/src/main/js/sap/ushell/adapters/cdm/v3/AdapterBase.js +1 -1
  36. package/src/main/js/sap/ushell/adapters/cdm/v3/FlpLaunchPageAdapter.js +12 -2
  37. package/src/main/js/sap/ushell/adapters/cdm/v3/LaunchPageAdapter.js +1 -1
  38. package/src/main/js/sap/ushell/adapters/cdm/v3/StaticGroupsAdapter.js +1 -1
  39. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readApplications.js +1 -1
  40. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readCatalogs.js +1 -1
  41. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readHome.js +1 -1
  42. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readPages.js +1 -1
  43. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readUtils.js +1 -1
  44. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations.js +1 -1
  45. package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionAdapter.js +1 -1
  46. package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionInternalAdapter.js +1 -1
  47. package/src/main/js/sap/ushell/adapters/cep/SearchCEPAdapter.js +5 -2
  48. package/src/main/js/sap/ushell/adapters/cflp/UserDefaultParameterPersistenceAdapter.js +1 -1
  49. package/src/main/js/sap/ushell/adapters/local/AdapterContainer.js +1 -1
  50. package/src/main/js/sap/ushell/adapters/local/AppStateAdapter.js +1 -1
  51. package/src/main/js/sap/ushell/adapters/local/ClientSideTargetResolutionAdapter.js +1 -1
  52. package/src/main/js/sap/ushell/adapters/local/ContainerAdapter.js +1 -1
  53. package/src/main/js/sap/ushell/adapters/local/FlpLaunchPageAdapter.js +1 -1
  54. package/src/main/js/sap/ushell/adapters/local/LaunchPageAdapter.js +1 -1
  55. package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionAdapter.js +1 -1
  56. package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionInternalAdapter.js +1 -1
  57. package/src/main/js/sap/ushell/adapters/local/PageBuildingAdapter.js +1 -1
  58. package/src/main/js/sap/ushell/adapters/local/PagePersistenceAdapter.js +1 -1
  59. package/src/main/js/sap/ushell/adapters/local/PersonalizationAdapter.js +1 -1
  60. package/src/main/js/sap/ushell/adapters/local/PersonalizationV2Adapter.js +1 -1
  61. package/src/main/js/sap/ushell/adapters/local/SearchAdapter.js +1 -1
  62. package/src/main/js/sap/ushell/adapters/local/SearchCEPAdapter.js +1 -1
  63. package/src/main/js/sap/ushell/adapters/local/SupportTicketAdapter.js +1 -1
  64. package/src/main/js/sap/ushell/adapters/local/Ui5ComponentLoaderAdapter.js +1 -1
  65. package/src/main/js/sap/ushell/adapters/local/UserDefaultParameterPersistenceAdapter.js +1 -1
  66. package/src/main/js/sap/ushell/adapters/local/UserInfoAdapter.js +1 -1
  67. package/src/main/js/sap/ushell/api/BootstrapObserver.js +61 -0
  68. package/src/main/js/sap/ushell/appRuntime/ui5/AppCommunicationMgr.js +43 -24
  69. package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntimeService.js +13 -5
  70. package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/RendererExtensions.js +1 -1
  71. package/src/main/js/sap/ushell/appRuntime/ui5/services/AppConfiguration.js +1 -1
  72. package/src/main/js/sap/ushell/appRuntime/ui5/services/AppLifeCycle.js +1 -1
  73. package/src/main/js/sap/ushell/appRuntime/ui5/services/AppState.js +1 -1
  74. package/src/main/js/sap/ushell/appRuntime/ui5/services/Bookmark.js +1 -1
  75. package/src/main/js/sap/ushell/appRuntime/ui5/services/BookmarkV2.js +1 -1
  76. package/src/main/js/sap/ushell/appRuntime/ui5/services/CommonDataModel.js +1 -1
  77. package/src/main/js/sap/ushell/appRuntime/ui5/services/Container.js +1 -1
  78. package/src/main/js/sap/ushell/appRuntime/ui5/services/CrossApplicationNavigation.js +1 -1
  79. package/src/main/js/sap/ushell/appRuntime/ui5/services/Extension/Item.js +1 -1
  80. package/src/main/js/sap/ushell/appRuntime/ui5/services/Extension.js +1 -1
  81. package/src/main/js/sap/ushell/appRuntime/ui5/services/FrameBoundExtension.js +1 -1
  82. package/src/main/js/sap/ushell/appRuntime/ui5/services/LaunchPage.js +1 -1
  83. package/src/main/js/sap/ushell/appRuntime/ui5/services/MessageBroker.js +1 -1
  84. package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolution.js +1 -1
  85. package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolutionInternal.js +1 -1
  86. package/src/main/js/sap/ushell/appRuntime/ui5/services/Navigation.js +1 -1
  87. package/src/main/js/sap/ushell/appRuntime/ui5/services/ReferenceResolver.js +1 -1
  88. package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigation.js +1 -1
  89. package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigationInternal.js +1 -1
  90. package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellUIService.js +1 -1
  91. package/src/main/js/sap/ushell/appRuntime/ui5/services/UserInfo.js +1 -1
  92. package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/Ui5ComponentLoaderAdapter.js +1 -1
  93. package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/logger.js +1 -1
  94. package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/state.js +1 -1
  95. package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5datetimeformat.js +1 -1
  96. package/src/main/js/sap/ushell/bootstrap/common/common.create.configcontract.core.js +2 -2
  97. package/src/main/js/sap/ushell/bootstrap/sandbox2.js +1 -1
  98. package/src/main/js/sap/ushell/components/ComponentKeysHandler.js +1 -1
  99. package/src/main/js/sap/ushell/components/appfinder/AppFinder.controller.js +15 -16
  100. package/src/main/js/sap/ushell/components/appfinder/manifest.json +1 -1
  101. package/src/main/js/sap/ushell/components/applicationIntegration/AppLifeCycle.js +86 -83
  102. package/src/main/js/sap/ushell/components/applicationIntegration/application/Application.js +19 -11
  103. package/src/main/js/sap/ushell/components/applicationIntegration/application/BlueBoxHandler.js +164 -153
  104. package/src/main/js/sap/ushell/components/applicationIntegration/application/BlueBoxesCache.js +227 -168
  105. package/src/main/js/sap/ushell/components/applicationIntegration/application/PostMessageAPI.js +1 -1
  106. package/src/main/js/sap/ushell/components/applicationIntegration/application/PostMessageUtils.js +1 -0
  107. package/src/main/js/sap/ushell/components/applicationIntegration/application/WebGUIStatefulHandler.js +1 -1
  108. package/src/main/js/sap/ushell/components/applicationIntegration/configuration/AppMeta.js +51 -81
  109. package/src/main/js/sap/ushell/components/applicationIntegration/relatedServices/RelatedServices.js +1 -1
  110. package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/i18n/i18n_da.properties +7 -7
  111. package/src/main/js/sap/ushell/components/container/ApplicationContainer.js +99 -29
  112. package/src/main/js/sap/ushell/components/container/IframePOSTUtils.js +12 -9
  113. package/src/main/js/sap/ushell/components/contentFinder/CatalogService.js +1 -1
  114. package/src/main/js/sap/ushell/components/contentFinder/Component.js +135 -105
  115. package/src/main/js/sap/ushell/components/contentFinder/controller/AppSearch.controller.js +32 -45
  116. package/src/main/js/sap/ushell/components/contentFinder/controller/ContentFinderDialog.controller.js +2 -4
  117. package/src/main/js/sap/ushell/components/contentFinder/controller/WidgetGallery.controller.js +1 -1
  118. package/src/main/js/sap/ushell/components/contentFinder/manifest.json +1 -1
  119. package/src/main/js/sap/ushell/components/contentFinder/model/GraphQLListBinding.js +34 -1
  120. package/src/main/js/sap/ushell/components/contentFinder/model/formatter.js +72 -24
  121. package/src/main/js/sap/ushell/components/contentFinder/resources/resources.properties +8 -2
  122. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_ar.properties +10 -4
  123. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_bg.properties +10 -4
  124. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_ca.properties +10 -4
  125. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_cnr.properties +10 -4
  126. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_cs.properties +10 -4
  127. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_cy.properties +10 -4
  128. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_da.properties +10 -4
  129. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_de.properties +10 -4
  130. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_el.properties +10 -4
  131. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_en.properties +10 -4
  132. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_en_GB.properties +10 -4
  133. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_en_US_saprigi.properties +7 -3
  134. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_es.properties +10 -4
  135. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_es_MX.properties +10 -4
  136. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_et.properties +10 -4
  137. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_fi.properties +10 -4
  138. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_fr.properties +10 -4
  139. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_fr_CA.properties +10 -4
  140. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_hi.properties +10 -4
  141. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_hr.properties +10 -4
  142. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_hu.properties +10 -4
  143. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_id.properties +9 -3
  144. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_it.properties +10 -4
  145. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_iw.properties +10 -4
  146. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_ja.properties +10 -4
  147. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_kk.properties +10 -4
  148. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_ko.properties +10 -4
  149. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_lt.properties +10 -4
  150. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_lv.properties +10 -4
  151. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_mk.properties +10 -4
  152. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_ms.properties +10 -4
  153. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_nl.properties +10 -4
  154. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_no.properties +10 -4
  155. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_pl.properties +10 -4
  156. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_pt.properties +10 -4
  157. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_pt_PT.properties +10 -4
  158. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_ro.properties +10 -4
  159. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_ru.properties +10 -4
  160. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_sh.properties +10 -4
  161. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_sk.properties +10 -4
  162. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_sl.properties +10 -4
  163. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_sr.properties +10 -4
  164. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_sv.properties +10 -4
  165. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_th.properties +10 -4
  166. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_tr.properties +10 -4
  167. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_uk.properties +10 -4
  168. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_vi.properties +10 -4
  169. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_zh_CN.properties +10 -4
  170. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_zh_TW.properties +10 -4
  171. package/src/main/js/sap/ushell/components/contentFinder/view/AppSearch.view.xml +332 -289
  172. package/src/main/js/sap/ushell/components/contentFinder/view/AppSearchBox.fragment.xml +22 -18
  173. package/src/main/js/sap/ushell/components/contentFinder/view/AppSearchCategoryTree.fragment.xml +1 -1
  174. package/src/main/js/sap/ushell/components/contentFinder/view/AppSearchList.fragment.xml +8 -4
  175. package/src/main/js/sap/ushell/components/contentFinder/view/ContentFinderDialog.view.xml +1 -1
  176. package/src/main/js/sap/ushell/components/contentFinderStandalone/Component.js +1 -1
  177. package/src/main/js/sap/ushell/components/contentFinderStandalone/controller/ContentFinderStandalone.controller.js +2 -3
  178. package/src/main/js/sap/ushell/components/contentFinderStandalone/manifest.json +1 -1
  179. package/src/main/js/sap/ushell/components/contentFinderStandalone/manifestAppSearch.json +1 -1
  180. package/src/main/js/sap/ushell/components/factsheet/Component.js +1 -1
  181. package/src/main/js/sap/ushell/components/homepage/ActionMode.js +1 -1
  182. package/src/main/js/sap/ushell/components/homepage/DashboardContent.view.js +1 -1
  183. package/src/main/js/sap/ushell/components/homepage/DashboardGroupsBox.js +1 -1
  184. package/src/main/js/sap/ushell/components/homepage/DashboardUIActions.js +1 -1
  185. package/src/main/js/sap/ushell/components/homepage/manifest.json +1 -1
  186. package/src/main/js/sap/ushell/components/pages/ActionMode.js +1 -1
  187. package/src/main/js/sap/ushell/components/pages/Component.js +1 -1
  188. package/src/main/js/sap/ushell/components/pages/MyHomeImport.js +1 -1
  189. package/src/main/js/sap/ushell/components/pages/controller/PageRuntime.controller.js +1 -1
  190. package/src/main/js/sap/ushell/components/pages/manifest.json +1 -1
  191. package/src/main/js/sap/ushell/components/runtimeSwitcher/controller/RuntimeSwitcher.controller.js +1 -1
  192. package/src/main/js/sap/ushell/components/runtimeSwitcher/manifest.json +1 -1
  193. package/src/main/js/sap/ushell/components/shell/FloatingContainer/Component.js +8 -7
  194. package/src/main/js/sap/ushell/components/shell/FloatingContainer/manifest.json +1 -1
  195. package/src/main/js/sap/ushell/components/shell/MenuBar/manifest.json +1 -1
  196. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenu.controller.js +131 -69
  197. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/manifest.json +5 -4
  198. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/view/ContextMenu.fragment.xml +32 -0
  199. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/view/NavigationBarMenuPopover.fragment.xml +16 -2
  200. package/src/main/js/sap/ushell/components/shell/Notifications/Component.js +1 -1
  201. package/src/main/js/sap/ushell/components/shell/ProductSwitch/Component.js +1 -1
  202. package/src/main/js/sap/ushell/components/shell/Search/manifest.json +1 -1
  203. package/src/main/js/sap/ushell/components/shell/SearchCEP/Component.js +7 -1
  204. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/FrequentActivityProvider.js +1 -1
  205. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/RecentSearchProvider.js +1 -1
  206. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchProvider.js +1 -1
  207. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchServiceProvider.js +1 -1
  208. package/src/main/js/sap/ushell/components/shell/Settings/Component.js +1 -1
  209. package/src/main/js/sap/ushell/components/shell/Settings/appearance/Appearance.controller.js +14 -7
  210. package/src/main/js/sap/ushell/components/shell/Settings/appearance/Appearance.view.xml +1 -0
  211. package/src/main/js/sap/ushell/components/shell/UserActionsMenu/Component.js +1 -1
  212. package/src/main/js/sap/ushell/components/shell/UserImage/Component.js +1 -1
  213. package/src/main/js/sap/ushell/components/visualizationOrganizer/Component.js +1 -1
  214. package/src/main/js/sap/ushell/components/workPageBuilder/Component.js +1 -1
  215. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.accessibility.js +1 -1
  216. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.controller.js +25 -18
  217. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPage.js +1 -1
  218. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageButton.js +1 -1
  219. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageCell.js +1 -1
  220. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumn.js +1 -1
  221. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnResizer.js +1 -1
  222. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRow.js +1 -1
  223. package/src/main/js/sap/ushell/components/workPageBuilder/manifest.json +1 -1
  224. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ar.properties +9 -1
  225. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_bg.properties +9 -1
  226. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ca.properties +9 -1
  227. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_cnr.properties +9 -1
  228. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_cs.properties +9 -1
  229. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_cy.properties +9 -1
  230. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_da.properties +9 -1
  231. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_de.properties +9 -1
  232. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_el.properties +9 -1
  233. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_en.properties +9 -1
  234. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_en_GB.properties +9 -1
  235. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_en_US_saprigi.properties +9 -1
  236. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_es.properties +9 -1
  237. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_es_MX.properties +9 -1
  238. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_et.properties +9 -1
  239. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_fi.properties +9 -1
  240. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_fr.properties +9 -1
  241. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_fr_CA.properties +9 -1
  242. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_hi.properties +9 -1
  243. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_hr.properties +9 -1
  244. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_hu.properties +9 -1
  245. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_id.properties +9 -1
  246. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_it.properties +9 -1
  247. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_iw.properties +9 -1
  248. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ja.properties +9 -1
  249. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_kk.properties +9 -1
  250. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ko.properties +9 -1
  251. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_lt.properties +9 -1
  252. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_lv.properties +9 -1
  253. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_mk.properties +9 -1
  254. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ms.properties +9 -1
  255. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_nl.properties +9 -1
  256. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_no.properties +9 -1
  257. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_pl.properties +9 -1
  258. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_pt.properties +9 -1
  259. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_pt_PT.properties +9 -1
  260. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ro.properties +9 -1
  261. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ru.properties +9 -1
  262. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_sh.properties +9 -1
  263. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_sk.properties +9 -1
  264. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_sl.properties +9 -1
  265. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_sr.properties +9 -1
  266. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_sv.properties +9 -1
  267. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_th.properties +9 -1
  268. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_tr.properties +9 -1
  269. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_uk.properties +9 -1
  270. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_vi.properties +9 -1
  271. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_zh_CN.properties +9 -1
  272. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_zh_TW.properties +9 -1
  273. package/src/main/js/sap/ushell/components/workPageRuntime/Component.js +1 -1
  274. package/src/main/js/sap/ushell/components/workPageRuntime/controller/WorkPageRuntime.controller.js +1 -1
  275. package/src/main/js/sap/ushell/components/workPageRuntime/manifest.json +1 -1
  276. package/src/main/js/sap/ushell/designtime/ApplicationContainer.designtime.js +1 -1
  277. package/src/main/js/sap/ushell/library.js +1 -1
  278. package/src/main/js/sap/ushell/navigationMode.js +1 -1
  279. package/src/main/js/sap/ushell/performance/ShellAnalytics.js +9 -1
  280. package/src/main/js/sap/ushell/performance/StatisticalRecord.js +1 -1
  281. package/src/main/js/sap/ushell/plugins/appwarmup/Component.js +1 -1
  282. package/src/main/js/sap/ushell/renderer/Renderer.js +12 -2
  283. package/src/main/js/sap/ushell/renderer/Shell.controller.js +17 -10
  284. package/src/main/js/sap/ushell/renderer/Shell.view.js +10 -9
  285. package/src/main/js/sap/ushell/renderer/ShellLayout.js +152 -25
  286. package/src/main/js/sap/ushell/renderer/resources/resources.properties +3 -3
  287. package/src/main/js/sap/ushell/renderer/resources/resources_ar.properties +28 -8
  288. package/src/main/js/sap/ushell/renderer/resources/resources_bg.properties +29 -9
  289. package/src/main/js/sap/ushell/renderer/resources/resources_ca.properties +27 -7
  290. package/src/main/js/sap/ushell/renderer/resources/resources_cnr.properties +27 -7
  291. package/src/main/js/sap/ushell/renderer/resources/resources_cs.properties +25 -5
  292. package/src/main/js/sap/ushell/renderer/resources/resources_cy.properties +26 -6
  293. package/src/main/js/sap/ushell/renderer/resources/resources_da.properties +33 -13
  294. package/src/main/js/sap/ushell/renderer/resources/resources_de.properties +28 -8
  295. package/src/main/js/sap/ushell/renderer/resources/resources_el.properties +29 -9
  296. package/src/main/js/sap/ushell/renderer/resources/resources_en.properties +27 -7
  297. package/src/main/js/sap/ushell/renderer/resources/resources_en_GB.properties +27 -7
  298. package/src/main/js/sap/ushell/renderer/resources/resources_en_US_saprigi.properties +27 -10
  299. package/src/main/js/sap/ushell/renderer/resources/resources_es.properties +30 -10
  300. package/src/main/js/sap/ushell/renderer/resources/resources_es_MX.properties +25 -5
  301. package/src/main/js/sap/ushell/renderer/resources/resources_et.properties +27 -7
  302. package/src/main/js/sap/ushell/renderer/resources/resources_fi.properties +26 -6
  303. package/src/main/js/sap/ushell/renderer/resources/resources_fr.properties +26 -6
  304. package/src/main/js/sap/ushell/renderer/resources/resources_fr_CA.properties +25 -5
  305. package/src/main/js/sap/ushell/renderer/resources/resources_hi.properties +25 -5
  306. package/src/main/js/sap/ushell/renderer/resources/resources_hr.properties +26 -6
  307. package/src/main/js/sap/ushell/renderer/resources/resources_hu.properties +26 -6
  308. package/src/main/js/sap/ushell/renderer/resources/resources_id.properties +28 -8
  309. package/src/main/js/sap/ushell/renderer/resources/resources_it.properties +25 -5
  310. package/src/main/js/sap/ushell/renderer/resources/resources_iw.properties +25 -5
  311. package/src/main/js/sap/ushell/renderer/resources/resources_ja.properties +26 -6
  312. package/src/main/js/sap/ushell/renderer/resources/resources_kk.properties +27 -7
  313. package/src/main/js/sap/ushell/renderer/resources/resources_ko.properties +28 -8
  314. package/src/main/js/sap/ushell/renderer/resources/resources_lt.properties +26 -6
  315. package/src/main/js/sap/ushell/renderer/resources/resources_lv.properties +26 -6
  316. package/src/main/js/sap/ushell/renderer/resources/resources_mk.properties +27 -7
  317. package/src/main/js/sap/ushell/renderer/resources/resources_ms.properties +26 -6
  318. package/src/main/js/sap/ushell/renderer/resources/resources_nl.properties +26 -6
  319. package/src/main/js/sap/ushell/renderer/resources/resources_no.properties +25 -5
  320. package/src/main/js/sap/ushell/renderer/resources/resources_pl.properties +26 -6
  321. package/src/main/js/sap/ushell/renderer/resources/resources_pt.properties +26 -6
  322. package/src/main/js/sap/ushell/renderer/resources/resources_pt_PT.properties +25 -5
  323. package/src/main/js/sap/ushell/renderer/resources/resources_ro.properties +25 -5
  324. package/src/main/js/sap/ushell/renderer/resources/resources_ru.properties +25 -5
  325. package/src/main/js/sap/ushell/renderer/resources/resources_sh.properties +27 -7
  326. package/src/main/js/sap/ushell/renderer/resources/resources_sk.properties +26 -6
  327. package/src/main/js/sap/ushell/renderer/resources/resources_sl.properties +27 -7
  328. package/src/main/js/sap/ushell/renderer/resources/resources_sr.properties +27 -7
  329. package/src/main/js/sap/ushell/renderer/resources/resources_sv.properties +25 -5
  330. package/src/main/js/sap/ushell/renderer/resources/resources_th.properties +25 -5
  331. package/src/main/js/sap/ushell/renderer/resources/resources_tr.properties +25 -5
  332. package/src/main/js/sap/ushell/renderer/resources/resources_uk.properties +28 -8
  333. package/src/main/js/sap/ushell/renderer/resources/resources_vi.properties +26 -6
  334. package/src/main/js/sap/ushell/renderer/resources/resources_zh_CN.properties +25 -5
  335. package/src/main/js/sap/ushell/renderer/resources/resources_zh_TW.properties +29 -9
  336. package/src/main/js/sap/ushell/renderer/search/searchComponent/controller/CEPSearchApp.controller.js +0 -3
  337. package/src/main/js/sap/ushell/renderer/search/searchComponent/controller/SearchApp.controller.js +0 -3
  338. package/src/main/js/sap/ushell/renderer/search/searchComponent/manifest.json +1 -1
  339. package/src/main/js/sap/ushell/renderers/fiori2/Shell.view.js +10 -9
  340. package/src/main/js/sap/ushell/services/AppLifeCycle.js +33 -1
  341. package/src/main/js/sap/ushell/services/AppState.js +1 -1
  342. package/src/main/js/sap/ushell/services/Bookmark.js +1 -1
  343. package/src/main/js/sap/ushell/services/BookmarkV2.js +1 -1
  344. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Formatter.js +1 -1
  345. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/InboundIndex.js +1 -1
  346. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/InboundProvider.js +1 -1
  347. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/PrelaunchOperations.js +1 -1
  348. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Search.js +1 -1
  349. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/StagedLogger.js +1 -1
  350. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/SystemContext.js +1 -1
  351. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Utils.js +1 -1
  352. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/VirtualInbounds.js +1 -1
  353. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/XAppStateProcessing.js +1 -1
  354. package/src/main/js/sap/ushell/services/ClientSideTargetResolution.js +190 -234
  355. package/src/main/js/sap/ushell/services/CommonDataModel/SiteConverter.js +1 -1
  356. package/src/main/js/sap/ushell/services/CommonDataModel/vizTypeDefaults/VizTypeDefaults.js +1 -1
  357. package/src/main/js/sap/ushell/services/CommonDataModel.js +1 -1
  358. package/src/main/js/sap/ushell/services/Configuration.js +1 -1
  359. package/src/main/js/sap/ushell/services/ConfigurationDefaults.js +1 -1
  360. package/src/main/js/sap/ushell/services/ContentExtensionAdapterFactory.js +1 -1
  361. package/src/main/js/sap/ushell/services/CrossApplicationNavigation.js +1 -1
  362. package/src/main/js/sap/ushell/services/DarkModeSupport.js +1 -1
  363. package/src/main/js/sap/ushell/services/Extension/Item.js +1 -1
  364. package/src/main/js/sap/ushell/services/Extension.js +1 -1
  365. package/src/main/js/sap/ushell/services/FlpLaunchPage.js +1 -1
  366. package/src/main/js/sap/ushell/services/FrameBoundExtension/FloatingContainer.js +1 -1
  367. package/src/main/js/sap/ushell/services/FrameBoundExtension/Footer.js +1 -1
  368. package/src/main/js/sap/ushell/services/FrameBoundExtension/Item.js +1 -1
  369. package/src/main/js/sap/ushell/services/FrameBoundExtension/SidePane.js +1 -1
  370. package/src/main/js/sap/ushell/services/FrameBoundExtension/ToolArea.js +1 -1
  371. package/src/main/js/sap/ushell/services/FrameBoundExtension.js +1 -1
  372. package/src/main/js/sap/ushell/services/LaunchPage.js +1 -1
  373. package/src/main/js/sap/ushell/services/Menu.js +1 -1
  374. package/src/main/js/sap/ushell/services/Message.js +1 -1
  375. package/src/main/js/sap/ushell/services/MessageBroker/MessageBrokerEngine.js +1 -1
  376. package/src/main/js/sap/ushell/services/MessageBroker.js +1 -1
  377. package/src/main/js/sap/ushell/services/MessageInternal.js +1 -1
  378. package/src/main/js/sap/ushell/services/NavTargetResolutionInternal.js +16 -21
  379. package/src/main/js/sap/ushell/services/Navigation/compatibility.js +1 -1
  380. package/src/main/js/sap/ushell/services/Navigation/utils.js +1 -1
  381. package/src/main/js/sap/ushell/services/Navigation.js +1 -1
  382. package/src/main/js/sap/ushell/services/NavigationDataProvider.js +1 -1
  383. package/src/main/js/sap/ushell/services/PageBuilding.js +1 -1
  384. package/src/main/js/sap/ushell/services/PagePersistence.js +1 -1
  385. package/src/main/js/sap/ushell/services/PageReferencing.js +1 -1
  386. package/src/main/js/sap/ushell/services/Pages.js +12 -13
  387. package/src/main/js/sap/ushell/services/Personalization.js +1 -1
  388. package/src/main/js/sap/ushell/services/PersonalizationV2.js +1 -1
  389. package/src/main/js/sap/ushell/services/PluginManager/Extensions.js +1 -1
  390. package/src/main/js/sap/ushell/services/PluginManager/HeaderExtensions.js +1 -1
  391. package/src/main/js/sap/ushell/services/PluginManager/MenuExtensions.js +1 -1
  392. package/src/main/js/sap/ushell/services/PluginManager.js +1 -1
  393. package/src/main/js/sap/ushell/services/ReferenceResolver.js +1 -1
  394. package/src/main/js/sap/ushell/services/Search.js +1 -1
  395. package/src/main/js/sap/ushell/services/SearchCEP.js +1 -1
  396. package/src/main/js/sap/ushell/services/SearchableContent.js +2 -4
  397. package/src/main/js/sap/ushell/services/ShellNavigation.js +1 -1
  398. package/src/main/js/sap/ushell/services/SmartNavigation.js +1 -1
  399. package/src/main/js/sap/ushell/services/SpaceContent.js +1 -1
  400. package/src/main/js/sap/ushell/services/UITracer.js +1 -1
  401. package/src/main/js/sap/ushell/services/URLShortening.js +1 -1
  402. package/src/main/js/sap/ushell/services/URLTemplate.js +1 -1
  403. package/src/main/js/sap/ushell/services/Ui5ComponentLoader/utils.js +1 -1
  404. package/src/main/js/sap/ushell/services/Ui5ComponentLoader.js +1 -1
  405. package/src/main/js/sap/ushell/services/UserDefaultParameterPersistence.js +1 -1
  406. package/src/main/js/sap/ushell/services/UserDefaultParameters.js +3 -5
  407. package/src/main/js/sap/ushell/services/UserInfo.js +1 -1
  408. package/src/main/js/sap/ushell/services/UserRecents.js +1 -1
  409. package/src/main/js/sap/ushell/services/VisualizationDataProvider.js +1 -1
  410. package/src/main/js/sap/ushell/services/VisualizationInstantiation.js +1 -1
  411. package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/ContentExtensionAdapterConfig.js +1 -1
  412. package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/FeaturedGroupConfig.js +1 -1
  413. package/src/main/js/sap/ushell/services/_CrossApplicationNavigation/utils.js +1 -1
  414. package/src/main/js/sap/ushell/services/_PageReferencing/PageReferencer.js +1 -1
  415. package/src/main/js/sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin.js +1 -1
  416. package/src/main/js/sap/ushell/themes/base/ApplicationContainer.less +7 -0
  417. package/src/main/js/sap/ushell/themes/base/Catalog.less +4 -5
  418. package/src/main/js/sap/ushell/themes/base/IconFonts.less +2 -2
  419. package/src/main/js/sap/ushell/themes/base/SearchCEP.less +5 -1
  420. package/src/main/js/sap/ushell/themes/base/Tile.less +6 -10
  421. package/src/main/js/sap/ushell/themes/base/TilePlaceholder.less +7 -11
  422. package/src/main/js/sap/ushell/themes/base/TileState.less +32 -33
  423. package/src/main/js/sap/ushell/themes/base/UserSettings.less +7 -5
  424. package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.json +2 -1
  425. package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.ttf +0 -0
  426. package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.woff +0 -0
  427. package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.woff2 +0 -0
  428. package/src/main/js/sap/ushell/themes/base/fonts/sap-launch-icons.woff +0 -0
  429. package/src/main/js/sap/ushell/themes/base/fonts/sap-launch-icons.woff2 +0 -0
  430. package/src/main/js/sap/ushell/themes/sap_belize_base/Catalog.less +3 -5
  431. package/src/main/js/sap/ushell/themes/sap_belize_base/IconFonts.less +2 -2
  432. package/src/main/js/sap/ushell/themes/sap_belize_base/Tile.less +6 -10
  433. package/src/main/js/sap/ushell/themes/sap_belize_base/TilePlaceholder.less +7 -11
  434. package/src/main/js/sap/ushell/themes/sap_belize_base/TileState.less +32 -33
  435. package/src/main/js/sap/ushell/themes/sap_bluecrystal_base/Catalog.less +3 -5
  436. package/src/main/js/sap/ushell/themes/sap_bluecrystal_base/IconFonts.less +2 -2
  437. package/src/main/js/sap/ushell/themes/sap_bluecrystal_base/Tile.less +4 -8
  438. package/src/main/js/sap/ushell/themes/sap_hcb/base_Catalog.less +3 -5
  439. package/src/main/js/sap/ushell/themes/sap_hcb/base_IconFonts.less +2 -2
  440. package/src/main/js/sap/ushell/themes/sap_hcb/base_Tile.less +4 -8
  441. package/src/main/js/sap/ushell/themes/sap_horizon/Tile.less +55 -58
  442. package/src/main/js/sap/ushell/themes/sap_horizon/library.source.less +1 -1
  443. package/src/main/js/sap/ushell/themes/sap_horizon_dark/Tile.less +52 -55
  444. package/src/main/js/sap/ushell/themes/sap_horizon_hcb/Tile.less +2 -2
  445. package/src/main/js/sap/ushell/themes/sap_horizon_hcw/Tile.less +1 -2
  446. package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +1 -1
  447. package/src/main/js/sap/ushell/ui/footerbar/AboutDialog.fragment.xml +2 -2
  448. package/src/main/js/sap/ushell/ui/launchpad/ExtendedChangeDetection.js +1 -1
  449. package/src/main/js/sap/ushell/ui/launchpad/Section.js +1 -1
  450. package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.js +1 -1
  451. package/src/main/js/sap/ushell/ui/shell/ToolAreaItem.js +1 -1
  452. package/src/main/js/sap/ushell/ui/utils.js +1 -1
  453. package/src/main/js/sap/ushell/ui5service/ShellUIService.js +4 -3
  454. package/src/main/js/sap/ushell/ui5service/ShellUIServiceFactory.js +1 -1
  455. package/src/main/js/sap/ushell/ui5service/UserStatus.js +1 -1
  456. package/src/main/js/sap/ushell/utils/UrlParsing.js +53 -5
  457. package/src/main/js/sap/ushell/utils/UrlShortening.js +1 -1
  458. package/src/main/js/sap/ushell/utils/workpage/WorkPageHost.js +1 -1
  459. package/src/main/js/sap/ushell/utils/workpage/WorkPageService.js +1 -1
  460. package/src/main/js/sap/ushell/utils/workpage/WorkPageVizInstantiation.js +1 -1
  461. package/src/main/js/sap/ushell/utils/workpage/resources/resources_ar.properties +12 -5
  462. package/src/main/js/sap/ushell/utils/workpage/resources/resources_bg.properties +12 -5
  463. package/src/main/js/sap/ushell/utils/workpage/resources/resources_ca.properties +12 -5
  464. package/src/main/js/sap/ushell/utils/workpage/resources/resources_cnr.properties +13 -6
  465. package/src/main/js/sap/ushell/utils/workpage/resources/resources_cs.properties +16 -9
  466. package/src/main/js/sap/ushell/utils/workpage/resources/resources_cy.properties +15 -8
  467. package/src/main/js/sap/ushell/utils/workpage/resources/resources_da.properties +15 -8
  468. package/src/main/js/sap/ushell/utils/workpage/resources/resources_de.properties +16 -9
  469. package/src/main/js/sap/ushell/utils/workpage/resources/resources_el.properties +15 -8
  470. package/src/main/js/sap/ushell/utils/workpage/resources/resources_en.properties +17 -10
  471. package/src/main/js/sap/ushell/utils/workpage/resources/resources_en_GB.properties +17 -10
  472. package/src/main/js/sap/ushell/utils/workpage/resources/resources_en_US_saprigi.properties +17 -10
  473. package/src/main/js/sap/ushell/utils/workpage/resources/resources_es.properties +12 -5
  474. package/src/main/js/sap/ushell/utils/workpage/resources/resources_es_MX.properties +17 -10
  475. package/src/main/js/sap/ushell/utils/workpage/resources/resources_et.properties +9 -2
  476. package/src/main/js/sap/ushell/utils/workpage/resources/resources_fi.properties +13 -6
  477. package/src/main/js/sap/ushell/utils/workpage/resources/resources_fr.properties +14 -7
  478. package/src/main/js/sap/ushell/utils/workpage/resources/resources_fr_CA.properties +8 -1
  479. package/src/main/js/sap/ushell/utils/workpage/resources/resources_hi.properties +9 -2
  480. package/src/main/js/sap/ushell/utils/workpage/resources/resources_hr.properties +15 -8
  481. package/src/main/js/sap/ushell/utils/workpage/resources/resources_hu.properties +8 -1
  482. package/src/main/js/sap/ushell/utils/workpage/resources/resources_id.properties +15 -8
  483. package/src/main/js/sap/ushell/utils/workpage/resources/resources_it.properties +15 -8
  484. package/src/main/js/sap/ushell/utils/workpage/resources/resources_iw.properties +15 -8
  485. package/src/main/js/sap/ushell/utils/workpage/resources/resources_ja.properties +14 -7
  486. package/src/main/js/sap/ushell/utils/workpage/resources/resources_kk.properties +15 -8
  487. package/src/main/js/sap/ushell/utils/workpage/resources/resources_ko.properties +15 -8
  488. package/src/main/js/sap/ushell/utils/workpage/resources/resources_lt.properties +12 -5
  489. package/src/main/js/sap/ushell/utils/workpage/resources/resources_lv.properties +17 -10
  490. package/src/main/js/sap/ushell/utils/workpage/resources/resources_mk.properties +8 -1
  491. package/src/main/js/sap/ushell/utils/workpage/resources/resources_ms.properties +15 -8
  492. package/src/main/js/sap/ushell/utils/workpage/resources/resources_nl.properties +17 -10
  493. package/src/main/js/sap/ushell/utils/workpage/resources/resources_no.properties +15 -8
  494. package/src/main/js/sap/ushell/utils/workpage/resources/resources_pl.properties +15 -8
  495. package/src/main/js/sap/ushell/utils/workpage/resources/resources_pt.properties +15 -8
  496. package/src/main/js/sap/ushell/utils/workpage/resources/resources_pt_PT.properties +15 -8
  497. package/src/main/js/sap/ushell/utils/workpage/resources/resources_ro.properties +15 -8
  498. package/src/main/js/sap/ushell/utils/workpage/resources/resources_ru.properties +15 -8
  499. package/src/main/js/sap/ushell/utils/workpage/resources/resources_sh.properties +13 -6
  500. package/src/main/js/sap/ushell/utils/workpage/resources/resources_sk.properties +17 -10
  501. package/src/main/js/sap/ushell/utils/workpage/resources/resources_sl.properties +17 -10
  502. package/src/main/js/sap/ushell/utils/workpage/resources/resources_sr.properties +13 -6
  503. package/src/main/js/sap/ushell/utils/workpage/resources/resources_sv.properties +13 -6
  504. package/src/main/js/sap/ushell/utils/workpage/resources/resources_th.properties +16 -9
  505. package/src/main/js/sap/ushell/utils/workpage/resources/resources_tr.properties +15 -8
  506. package/src/main/js/sap/ushell/utils/workpage/resources/resources_uk.properties +15 -8
  507. package/src/main/js/sap/ushell/utils/workpage/resources/resources_vi.properties +15 -8
  508. package/src/main/js/sap/ushell/utils/workpage/resources/resources_zh_CN.properties +15 -8
  509. package/src/main/js/sap/ushell/utils/workpage/resources/resources_zh_TW.properties +15 -8
  510. package/src/test/js/sap/ushell/bootstrap/sandbox.js +1 -1
  511. package/src/main/js/sap/ushell/themes/base/fonts/sap-launch-icons.eot +0 -0
  512. package/src/main/js/sap/ushell/themes/base/fonts/sap-launch-icons.ttf +0 -0
@@ -1,7 +1,7 @@
1
1
  // Copyright (c) 2009-2023 SAP SE, All Rights Reserved
2
2
  /**
3
3
  * @fileOverview handle all the resources for the different applications.
4
- * @version 1.130.1
4
+ * @version 1.131.0
5
5
  */
6
6
  sap.ui.define([
7
7
  "sap/base/util/Deferred",
@@ -23,58 +23,46 @@ sap.ui.define([
23
23
  "use strict";
24
24
 
25
25
  function BlueBoxHandler () {
26
- var oBlueBoxContainer = {},
27
- oBasicStatefulCapabilities = [
28
- {
29
- service: "sap.ushell.services.AppLifeCycle",
30
- action: "create"
31
- }, {
32
- service: "sap.ushell.services.AppLifeCycle",
33
- action: "destroy"
34
- }
35
- ];
26
+ const aBasicStatefulCapabilities = [{
27
+ service: "sap.ushell.services.AppLifeCycle",
28
+ action: "create"
29
+ }, {
30
+ service: "sap.ushell.services.AppLifeCycle",
31
+ action: "destroy"
32
+ }];
36
33
 
37
34
  this.STATEFUL_TYPES = {
35
+ FLP_V2_KEEP_ALIVE: -2,
36
+ GUI_V1_KEEP_ALIVE: -1,
38
37
  NOT_SUPPORTED: 0,
39
38
  GUI_V1: 1,
40
39
  FLP_V2: 2
41
40
  };
42
41
 
43
42
  this.init = function () {
44
- oBlueBoxContainer = {};
43
+ // contains applicationContainers and manages the state of usage based on iframe properties
45
44
  BlueBoxesCache.init();
46
45
  };
47
46
 
48
- this.addNewBlueBox = function (oApplicationContainer, oResolvedHashFragment, oInitialCapabilities) {
49
- oBlueBoxContainer[oApplicationContainer] = oApplicationContainer;
50
- BlueBoxesCache.add(oResolvedHashFragment.url, oApplicationContainer);
51
- if (oApplicationContainer.setBlueBoxCapabilities) {
52
- oApplicationContainer.setProperty("blueBoxCapabilities", {}, true);
53
- }
54
- if (oInitialCapabilities) {
55
- this.addCapabilities(oApplicationContainer, oInitialCapabilities);
47
+ this.addNewBlueBox = function (oApplicationContainer, oResolvedHashFragment) {
48
+ if (!oApplicationContainer || !oResolvedHashFragment) {
49
+ return;
56
50
  }
51
+
52
+ BlueBoxesCache.add(oResolvedHashFragment.url, oApplicationContainer);
53
+ oApplicationContainer.setProperty("blueBoxCapabilities", {}, true);
57
54
  };
58
55
 
59
56
  this.deleteBlueBoxByUrl = function (sUrl) {
60
- if (sUrl) {
61
- var oContainer = BlueBoxesCache.get(sUrl);
62
- if (oContainer && oBlueBoxContainer[oContainer]) {
63
- delete oBlueBoxContainer[oContainer];
64
- }
65
- BlueBoxesCache.remove(sUrl);
66
- }
57
+ BlueBoxesCache.remove(sUrl);
67
58
  };
68
59
 
69
60
  this.deleteBlueBoxByContainer = function (oApplicationContainer) {
70
- if (oApplicationContainer && oBlueBoxContainer[oApplicationContainer]) {
71
- delete oBlueBoxContainer[oApplicationContainer];
72
- BlueBoxesCache.removeByContainer(oApplicationContainer);
73
- }
61
+ BlueBoxesCache.removeByContainer(oApplicationContainer);
74
62
  };
75
63
 
76
64
  this.getBlueBoxesCount = function () {
77
- return Object.keys(oBlueBoxContainer).length + BlueBoxesCache.getSize(true);
65
+ return BlueBoxesCache.getLength() + BlueBoxesCache.getPoolLength();
78
66
  };
79
67
 
80
68
  this.getBlueBoxByUrl = function (sUrl) {
@@ -82,41 +70,19 @@ sap.ui.define([
82
70
  };
83
71
 
84
72
  this.getBlueBoxById = function (sId) {
85
- return BlueBoxesCache.getById(sId);
86
- };
87
-
88
- this.addCapabilities = function (oApplicationContainer, oCapabilities) {
89
- if (!oBlueBoxContainer[oApplicationContainer] || !oApplicationContainer.getBlueBoxCapabilities) {
90
- return;
91
- }
92
-
93
- var oCapMap = oApplicationContainer.getBlueBoxCapabilities();
94
- oCapabilities.forEach(function (oCap) {
95
- if (oCap.service === "sap.ushell.services.appLifeCycle") {
96
- oCap.service = "sap.ushell.services.AppLifeCycle";
97
- }
98
- oCapMap[oCap.service + "." + oCap.action] = true;
99
- });
100
- if (oCapMap["sap.ushell.services.AppLifeCycle.create"]) {
101
- oApplicationContainer.setProperty("statefulType", this.STATEFUL_TYPES.FLP_V2, true);
102
- }
73
+ return BlueBoxesCache.getByApplicationContainerId(sId);
103
74
  };
104
75
 
76
+ // the second param is only called for the retrieval of regular frames for future keepAlive use
105
77
  this.removeCapabilities = function (oApplicationContainer, oCapabilities) {
106
- if (!oBlueBoxContainer[oApplicationContainer] || !oApplicationContainer.getBlueBoxCapabilities) {
78
+ if (!oApplicationContainer || !BlueBoxesCache.isApplicationContainerActive(oApplicationContainer)) {
107
79
  return;
108
80
  }
109
81
 
110
- if (!oCapabilities) {
111
- oApplicationContainer.setProperty("blueBoxCapabilities", {}, true);
112
- } else {
113
- var oCapMap = oApplicationContainer.getBlueBoxCapabilities();
114
- oCapabilities.forEach(function (oCap) {
115
- delete oCapMap[oCap.service + "." + oCap.action];
116
- if (oCap.service + "." + oCap.action === "sap.ushell.services.AppLifeCycle.create") {
117
- oApplicationContainer.setProperty("statefulType", 0 - oApplicationContainer.getStatefulType(), true);
118
- }
119
- });
82
+ oApplicationContainer.removeBlueBoxCapabilities(oCapabilities);
83
+ if (this.isStatefulContainer(oApplicationContainer)) {
84
+ // todo [FLPCOREANDUX-10024] remove side effect setProperty
85
+ oApplicationContainer.setProperty("statefulType", this.STATEFUL_TYPES.FLP_V2_KEEP_ALIVE, true);
120
86
  }
121
87
  };
122
88
 
@@ -166,9 +132,28 @@ sap.ui.define([
166
132
  }
167
133
 
168
134
  EventBus.getInstance().publish("launchpad", "appOpening", oResolvedHashFragment);
135
+
136
+ // If the iframe is hidden, calls of setTimeout and setInterval are throttled within the iframe for certain browsers
137
+ // (currently Chrome and Edge) if the iframe content comes from a third-party domain.
138
+ // This can lead to a delayed app start as the following post message to create the app within the iFrame waits until the app is created.
139
+ // Currently this is only relevant for the UI5 app runtime when its UI5 bootstrap is not switched to async.
140
+ // In this case UI5 uses many setTimeouts with a delay of 0 during component creation to simulate async behavior.
141
+ const bIsHidden = oApplicationContainer.hasStyleClass("hidden");
142
+ if (bIsHidden) {
143
+ // With this approach the new app is not visible yet but the iframe is not throttled.
144
+ oApplicationContainer.addStyleClass("sapUShellApplicationContainerIframeHiddenButActive");
145
+ oApplicationContainer.removeStyleClass("hidden");
146
+ }
147
+
169
148
  const oResult = await PostMessageUtils.postMessageToIframeApp(oApplicationContainer, "sap.ushell.services.appLifeCycle", "create", oPostParams, true);
170
- const AppLifeCycle = await Container.getServiceAsync("AppLifeCycle");
171
149
 
150
+ if (bIsHidden) {
151
+ // Add the hidden class again as the AppContainer relies on its existence to navigate between its content.
152
+ oApplicationContainer.addStyleClass("hidden");
153
+ oApplicationContainer.removeStyleClass("sapUShellApplicationContainerIframeHiddenButActive");
154
+ }
155
+
156
+ const AppLifeCycle = await Container.getServiceAsync("AppLifeCycle");
172
157
  if (bNavigationInSameStatefulContainer === true) {
173
158
  AppLifeCycle.prepareCurrentAppObject("URL", undefined, false, oApplicationContainer);
174
159
  }
@@ -177,108 +162,142 @@ sap.ui.define([
177
162
  return oResult?.body?.result;
178
163
  };
179
164
 
180
- this.statefulDestroyApp = function (oApplicationContainer, sStorageKey) {
181
- var oPromise,
182
- oAppTarget;
183
-
165
+ this.statefulDestroyApp = async function (oApplicationContainer, sStorageKey) {
166
+ const oAppTarget = oApplicationContainer.getCurrentAppTargetResolution();
184
167
  oApplicationContainer.setProperty("currentAppUrl", "", true);
185
168
  oApplicationContainer.setProperty("currentAppId", "", true);
186
- oAppTarget = oApplicationContainer.getCurrentAppTargetResolution();
187
169
  oApplicationContainer.setProperty("currentAppTargetResolution", undefined, true);
188
170
  Container.setAsyncDirtyStateProvider(undefined);
189
- oPromise = PostMessageUtils.postMessageToIframeApp(oApplicationContainer, "sap.ushell.services.appLifeCycle", "destroy", {
171
+
172
+ await PostMessageUtils.postMessageToIframeApp(oApplicationContainer, "sap.ushell.services.appLifeCycle", "destroy", {
190
173
  sCacheId: sStorageKey
191
174
  }, true);
192
175
 
193
- oPromise.then(function () {
194
- EventBus.getInstance().publish("sap.ushell", "appClosed", oAppTarget);
195
- });
196
- return oPromise;
176
+ EventBus.getInstance().publish("sap.ushell", "appClosed", oAppTarget);
197
177
  };
198
178
 
199
- this.statefulStoreKeepAliveApp = function (oApplicationContainer, sStorageKey) {
200
- var oPromise,
201
- oAppTarget;
179
+ this.statefulStoreKeepAliveApp = async function (oApplicationContainer, sStorageKey) {
180
+ const oAppTarget = oApplicationContainer.getCurrentAppTargetResolution();
202
181
 
203
182
  oApplicationContainer.setProperty("currentAppUrl", "", true);
204
183
  oApplicationContainer.setProperty("currentAppId", "", true);
205
- oAppTarget = oApplicationContainer.getCurrentAppTargetResolution();
206
184
  oApplicationContainer.setProperty("currentAppTargetResolution", undefined, true);
207
185
  Container.setAsyncDirtyStateProvider(undefined);
208
- oPromise = PostMessageUtils.postMessageToIframeApp(oApplicationContainer, "sap.ushell.services.appLifeCycle", "store", {
186
+
187
+ await PostMessageUtils.postMessageToIframeApp(oApplicationContainer, "sap.ushell.services.appLifeCycle", "store", {
209
188
  sCacheId: sStorageKey
210
189
  }, true);
211
190
 
212
- oPromise.then(function () {
213
- EventBus.getInstance().publish("sap.ushell", "appClosed", oAppTarget);
214
- });
215
- return oPromise;
191
+ EventBus.getInstance().publish("sap.ushell", "appClosed", oAppTarget);
216
192
  };
217
193
 
218
- this.statefulRestoreKeepAliveApp = function (oApplicationContainer, sUrl, sStorageKey, oResolvedHashFragment, bNavigationInSameStatefullContainer) {
219
- return new Promise(function (fnResolve) {
220
- oApplicationContainer.setProperty("currentAppUrl", sUrl, true);
221
- oApplicationContainer.setProperty("currentAppId", sStorageKey, true);
222
- oApplicationContainer.setProperty("currentAppTargetResolution", oResolvedHashFragment, true);
223
- EventBus.getInstance().publish("launchpad", "appOpening", oResolvedHashFragment);
224
- PostMessageUtils.postMessageToIframeApp(oApplicationContainer, "sap.ushell.services.appLifeCycle", "restore", {
225
- sCacheId: sStorageKey,
226
- sUrl: oResolvedHashFragment.url,
227
- sHash: hasher.getHash()
228
- }, true).then(function () {
229
- Container.getServiceAsync("AppLifeCycle").then(function (oAppLifeCycleService) {
230
- if (bNavigationInSameStatefullContainer === true) {
231
- oAppLifeCycleService.prepareCurrentAppObject("URL", undefined, false, oApplicationContainer);
232
- }
233
- EventBus.getInstance().publish("sap.ushell", "appOpened", oResolvedHashFragment);
234
- fnResolve();
235
- });
236
- });
237
- });
194
+ this.statefulRestoreKeepAliveApp = async function (oApplicationContainer, sUrl, sStorageKey, oResolvedHashFragment, bNavigationInSameStatefulContainer) {
195
+ oApplicationContainer.setProperty("currentAppUrl", sUrl, true);
196
+ oApplicationContainer.setProperty("currentAppId", sStorageKey, true);
197
+ oApplicationContainer.setProperty("currentAppTargetResolution", oResolvedHashFragment, true);
198
+
199
+ EventBus.getInstance().publish("launchpad", "appOpening", oResolvedHashFragment);
200
+
201
+ await PostMessageUtils.postMessageToIframeApp(oApplicationContainer, "sap.ushell.services.appLifeCycle", "restore", {
202
+ sCacheId: sStorageKey,
203
+ sUrl: oResolvedHashFragment.url,
204
+ sHash: hasher.getHash()
205
+ }, true);
206
+
207
+ if (bNavigationInSameStatefulContainer) {
208
+ const AppLifeCycle = await Container.getServiceAsync("AppLifeCycle");
209
+ AppLifeCycle.prepareCurrentAppObject("URL", undefined, false, oApplicationContainer);
210
+ }
211
+
212
+ EventBus.getInstance().publish("sap.ushell", "appOpened", oResolvedHashFragment);
238
213
  };
239
214
 
240
215
  this.isCapabilitySupported = function (oApplicationContainer, sServiceName, sInterface) {
241
- if (oApplicationContainer && oApplicationContainer.getBlueBoxCapabilities && oApplicationContainer.getBlueBoxCapabilities()[sServiceName + "." + sInterface]) {
242
- return true;
216
+ if (!oApplicationContainer) {
217
+ return false;
243
218
  }
244
- return false;
219
+
220
+ return oApplicationContainer.supportsBlueBoxCapabilities([
221
+ { service: sServiceName, action: sInterface }
222
+ ]);
223
+ };
224
+
225
+ this.isReusableContainer = function (oApplicationContainer) {
226
+ if (!oApplicationContainer) {
227
+ return false;
228
+ }
229
+
230
+ // todo: [FLPCOREANDUX-10024] when removing the keepAlive enum types this check should be adjusted
231
+ return oApplicationContainer.getStatefulType() !== this.STATEFUL_TYPES.NOT_SUPPORTED;
245
232
  };
246
233
 
247
234
  this.isStatefulContainer = function (oApplicationContainer) {
248
- return this.isCapabilitySupported(oApplicationContainer, "sap.ushell.services.AppLifeCycle", "create");
235
+ if (!oApplicationContainer) {
236
+ return false;
237
+ }
238
+
239
+ return oApplicationContainer.supportsBlueBoxCapabilities([
240
+ { service: "sap.ushell.services.AppLifeCycle", action: "create" },
241
+ { service: "sap.ushell.services.appLifeCycle", action: "destroy" }
242
+ ]);
243
+ };
244
+
245
+ this.isStatefulContainerSupportingKeepAlive = function (oApplicationContainer) {
246
+ if (!oApplicationContainer) {
247
+ return false;
248
+ }
249
+
250
+ return oApplicationContainer.supportsBlueBoxCapabilities([
251
+ // stateful capabilities
252
+ { service: "sap.ushell.services.AppLifeCycle", action: "create" },
253
+ { service: "sap.ushell.services.appLifeCycle", action: "destroy" },
254
+ // keep alive capabilities
255
+ { service: "sap.ushell.services.appLifeCycle", action: "store" },
256
+ { service: "sap.ushell.services.appLifeCycle", action: "restore" }
257
+ ]);
249
258
  };
250
259
 
251
260
  this.isIframeIsValidSupported = function (oApplicationContainer) {
252
- return this.isCapabilitySupported(oApplicationContainer, "sap.ushell.appRuntime", "iframeIsValid");
261
+ return oApplicationContainer.supportsBlueBoxCapabilities([
262
+ { service: "sap.ushell.services.appRuntime", action: "iframeIsValid" }
263
+ ]);
253
264
  };
254
265
 
255
266
  this.isStatefulContainerInKeepAlivePool = function (oApplicationContainer) {
256
- return !!(oApplicationContainer && oApplicationContainer.getStatefulType && oApplicationContainer.getStatefulType() < this.STATEFUL_TYPES.NOT_SUPPORTED);
267
+ // todo: [FLPCOREANDUX-10024] this is only a marker for the keepAlive application not for pool
268
+ // maybe this references the scenario: stateful -> reuse for keepAlive
269
+ return !!(oApplicationContainer && oApplicationContainer.getStatefulType() < this.STATEFUL_TYPES.NOT_SUPPORTED);
257
270
  };
258
271
 
259
272
  this.findFreeContainerForNewKeepAliveApp = function (oResolvedHashFragment) {
260
273
  if (!oResolvedHashFragment) {
261
- return undefined;
274
+ return;
262
275
  }
263
- if (!utils.isSAPLegacyApplicationType(oResolvedHashFragment.applicationType, oResolvedHashFragment.appCapabilities && oResolvedHashFragment.appCapabilities.appFrameworkId)) {
264
- return undefined;
276
+ // todo: [FLPCOREANDUX-10024] this check should come from capabilities
277
+ if (!utils.isSAPLegacyApplicationType(oResolvedHashFragment.applicationType, oResolvedHashFragment.appCapabilities?.appFrameworkId)) {
278
+ // do not handle appruntime
279
+ return;
265
280
  }
266
281
 
267
- var oFreeApplicationContainer;
268
- var sTmpUrl = oResolvedHashFragment.url.replaceAll("sap-keep-alive", "sap-temp");
282
+ // first from KeepAlive pool
283
+ let oFreeApplicationContainer = BlueBoxesCache.getFromPool(oResolvedHashFragment.url);
284
+ if (!oFreeApplicationContainer) {
285
+ // second from stateful container, but change it to keep alive
286
+ oFreeApplicationContainer = BlueBoxesCache.get(oResolvedHashFragment.url, true);
269
287
 
270
- oFreeApplicationContainer = BlueBoxesCache.get(sTmpUrl, true);
271
- if (oFreeApplicationContainer) {
272
- oBlueBoxContainer[oFreeApplicationContainer] = oFreeApplicationContainer;
273
- } else {
274
- oFreeApplicationContainer = BlueBoxesCache.get(sTmpUrl);
275
288
  if (oFreeApplicationContainer && oFreeApplicationContainer.getStatefulType() > this.STATEFUL_TYPES.NOT_SUPPORTED) {
289
+ // only take stateful container and ignore the regular iframes
290
+ BlueBoxesCache.removeByContainer(oFreeApplicationContainer);
291
+
292
+ // contract v2 stateful container
276
293
  if (oFreeApplicationContainer.getStatefulType() === this.STATEFUL_TYPES.FLP_V2) {
277
- this.removeCapabilities(oFreeApplicationContainer, oBasicStatefulCapabilities);
294
+ oFreeApplicationContainer.removeBlueBoxCapabilities(aBasicStatefulCapabilities);
295
+ oFreeApplicationContainer.setProperty("statefulType", this.STATEFUL_TYPES.FLP_V2_KEEP_ALIVE, true);
296
+ // now the container is not stateful anymore based on its capabilities
278
297
  } else {
279
- oFreeApplicationContainer.setProperty("statefulType", 0 - oFreeApplicationContainer.getStatefulType(), true);
298
+ // v1 stateful container
299
+ oFreeApplicationContainer.setProperty("statefulType", this.STATEFUL_TYPES.GUI_V1_KEEP_ALIVE, true);
280
300
  }
281
- BlueBoxesCache.remove(sTmpUrl);
282
301
  }
283
302
  }
284
303
 
@@ -286,50 +305,45 @@ sap.ui.define([
286
305
  BlueBoxesCache.add(oResolvedHashFragment.url, oFreeApplicationContainer);
287
306
  oFreeApplicationContainer.setProperty("currentAppUrl", "", true);
288
307
  oFreeApplicationContainer.setProperty("isFetchedFromCache", true, true);
308
+ oFreeApplicationContainer.setProperty("isKeepAlive", true, true);
289
309
  }
290
310
 
291
311
  return oFreeApplicationContainer;
292
312
  };
293
313
 
294
- this.returnUnusedKeepAliveContainer = function (oAppContainer) {
295
- if (!oAppContainer) {
296
- return false;
314
+ this.returnUnusedKeepAliveContainer = function (oApplicationContainer) {
315
+ if (!oApplicationContainer) {
316
+ return;
297
317
  }
298
- if (!utils.isSAPLegacyApplicationType(oAppContainer.getApplicationType && oAppContainer.getApplicationType(),
299
- oAppContainer.getFrameworkId && oAppContainer.getFrameworkId())) {
300
- return false;
318
+
319
+ // todo: [FLPCOREANDUX-10024] this check should come from capabilities
320
+ if (this.isStatefulContainerSupportingKeepAlive(oApplicationContainer)) {
321
+ // do not handle appruntime or iframes which are capable of keepAlive
322
+ return;
301
323
  }
302
324
 
303
- if (oAppContainer.getStatefulType() < this.STATEFUL_TYPES.NOT_SUPPORTED) {
304
- var sUrl = oAppContainer.getCurrentAppUrl();
305
- var sKey = BlueBoxesCache.getBlueBoxCacheKeyValues(sUrl.replaceAll("sap-keep-alive", "sap-temp")).sKey;
306
- var oHostMainContainer = BlueBoxesCache.get(sKey);
307
- if (oHostMainContainer) {
308
- //If we're here, it means that there's already a stateful container Iframe, so we need to add
309
- //this oAppContainer to the keep alive pool
310
- BlueBoxesCache.add(sUrl.replaceAll("sap-keep-alive", "sap-temp"), oAppContainer, true);
311
- this.deleteBlueBoxByUrl(sUrl);
312
- } else {
313
- BlueBoxesCache.remove(sUrl);
314
- BlueBoxesCache.add(sUrl.replaceAll("sap-keep-alive", "sap-temp"), oAppContainer);
315
- if (oAppContainer.getStatefulType() === -this.STATEFUL_TYPES.FLP_V2) {
316
- this.addCapabilities(oAppContainer, oBasicStatefulCapabilities);
325
+ // keep alive iframe
326
+ if (oApplicationContainer.getStatefulType() < this.STATEFUL_TYPES.NOT_SUPPORTED) {
327
+ const bWasMovedToPool = BlueBoxesCache.moveKeepAliveToPool(oApplicationContainer);
328
+
329
+ if (!bWasMovedToPool) { // is now stateful container
330
+ oApplicationContainer.setProperty("isKeepAlive", false, true);
331
+
332
+ if (oApplicationContainer.getStatefulType() === this.STATEFUL_TYPES.FLP_V2_KEEP_ALIVE) {
333
+ oApplicationContainer.addBlueBoxCapabilities(aBasicStatefulCapabilities);
334
+ oApplicationContainer.setProperty("statefulType", this.STATEFUL_TYPES.FLP_V2, true);
335
+
317
336
  } else {
318
- oAppContainer.setProperty("statefulType", this.STATEFUL_TYPES.GUI_V1, true);
337
+ oApplicationContainer.setProperty("statefulType", this.STATEFUL_TYPES.GUI_V1, true);
319
338
  }
320
339
  }
321
- oAppContainer.setProperty("currentAppUrl", "", true);
322
- oAppContainer.setProperty("isFetchedFromCache", false, true);
323
- return true;
340
+ oApplicationContainer.setProperty("currentAppUrl", "", true);
341
+ oApplicationContainer.setProperty("isFetchedFromCache", false, true);
324
342
  }
325
- return false;
326
343
  };
327
344
 
328
345
  this.getStatefulContainerType = function (sUrl, bIgnoreKeepAlive) {
329
- if (bIgnoreKeepAlive === true) {
330
- sUrl = sUrl.replaceAll("sap-keep-alive", "sap-temp");
331
- }
332
- var oApplicationContainer = BlueBoxesCache.get(sUrl);
346
+ var oApplicationContainer = BlueBoxesCache.get(sUrl, bIgnoreKeepAlive);
333
347
  if (oApplicationContainer) {
334
348
  return oApplicationContainer.getStatefulType();
335
349
  }
@@ -337,12 +351,10 @@ sap.ui.define([
337
351
  };
338
352
 
339
353
  this.forEach = function (callback) {
340
- Object.keys(oBlueBoxContainer).forEach(function (key) {
341
- callback(oBlueBoxContainer[key]);
342
- });
343
354
  BlueBoxesCache.forEach(callback);
344
355
  };
345
356
 
357
+ // todo: [FLPCOREANDUX-10024] the post messages below are async
346
358
  this.destroyApp = function (sAppId) {
347
359
  PostMessageUtils.postMessageToMultipleIframes("sap.ushell.services.appLifeCycle", "destroy", {
348
360
  appId: sAppId
@@ -365,7 +377,6 @@ sap.ui.define([
365
377
 
366
378
  this._getStorageForDebug = function () {
367
379
  return {
368
- oBlueBoxContainer: oBlueBoxContainer,
369
380
  oBlueBoxesCache: BlueBoxesCache._getStorageForDebug()
370
381
  };
371
382
  };