@sapui5/sap.ushell 1.116.0 → 1.117.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 (465) 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/ApplicationType.js +47 -939
  4. package/src/main/js/sap/ushell/Container.js +3 -3
  5. package/src/main/js/sap/ushell/Fiori20Adapter.js +1 -1
  6. package/src/main/js/sap/ushell/Fiori20AdapterTest.js +1 -1
  7. package/src/main/js/sap/ushell/Layout.js +1 -1
  8. package/src/main/js/sap/ushell/NWBCInterface.js +1 -1
  9. package/src/main/js/sap/ushell/SessionHandler.js +7 -5
  10. package/src/main/js/sap/ushell/TechnicalParameters.js +1 -1
  11. package/src/main/js/sap/ushell/URLTemplateProcessor.js +1 -1
  12. package/src/main/js/sap/ushell/Ui5NativeServiceFactory.js +1 -1
  13. package/src/main/js/sap/ushell/Ui5ServiceFactory.js +1 -1
  14. package/src/main/js/sap/ushell/User.js +2 -2
  15. package/src/main/js/sap/ushell/_ApplicationType/guiResolution.js +3 -4
  16. package/src/main/js/sap/ushell/_ApplicationType/ui5Resolution.js +121 -0
  17. package/src/main/js/sap/ushell/_ApplicationType/urlResolution.js +105 -0
  18. package/src/main/js/sap/ushell/_ApplicationType/urlTemplateResolution.js +626 -0
  19. package/src/main/js/sap/ushell/_ApplicationType/utils.js +94 -3
  20. package/src/main/js/sap/ushell/_ApplicationType/wcfResolution.js +61 -0
  21. package/src/main/js/sap/ushell/_ApplicationType/wdaResolution.js +28 -0
  22. package/src/main/js/sap/ushell/_URLTemplateProcessor/DefinitionParameterSetBuilder.js +1 -1
  23. package/src/main/js/sap/ushell/_URLTemplateProcessor/DependencyGraph.js +1 -1
  24. package/src/main/js/sap/ushell/_URLTemplateProcessor/Functions.js +1 -1
  25. package/src/main/js/sap/ushell/_URLTemplateProcessor/Resolvers.js +1 -1
  26. package/src/main/js/sap/ushell/_URLTemplateProcessor/TemplateParameterParser.js +1 -1
  27. package/src/main/js/sap/ushell/_URLTemplateProcessor/utils.js +1 -1
  28. package/src/main/js/sap/ushell/adapters/cdm/ClientSideTargetResolutionAdapter.js +1 -1
  29. package/src/main/js/sap/ushell/adapters/cdm/CommonDataModelAdapter.js +1 -1
  30. package/src/main/js/sap/ushell/adapters/cdm/ConfigurationDefaultsAdapter.js +1 -1
  31. package/src/main/js/sap/ushell/adapters/cdm/ContainerAdapter.js +1 -1
  32. package/src/main/js/sap/ushell/adapters/cdm/LaunchPageAdapter.js +12 -3
  33. package/src/main/js/sap/ushell/adapters/cdm/PagesCommonDataModelAdapter.js +1 -1
  34. package/src/main/js/sap/ushell/adapters/cdm/PersonalizationAdapter.js +1 -1
  35. package/src/main/js/sap/ushell/adapters/cdm/Ui5ComponentLoaderAdapter.js +1 -1
  36. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/modifyHome.js +1 -1
  37. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readCatalogs.js +1 -1
  38. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readHome.js +1 -1
  39. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/uri.transform.js +1 -1
  40. package/src/main/js/sap/ushell/adapters/cdm/util/AppForInbound.js +1 -1
  41. package/src/main/js/sap/ushell/adapters/cdm/util/cdmSiteUtils.js +1 -1
  42. package/src/main/js/sap/ushell/adapters/cdm/v3/AdapterBase.js +1 -1
  43. package/src/main/js/sap/ushell/adapters/cdm/v3/LaunchPageAdapter.js +12 -3
  44. package/src/main/js/sap/ushell/adapters/cdm/v3/StaticGroupsAdapter.js +1 -1
  45. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readApplications.js +1 -1
  46. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readCatalogs.js +1 -1
  47. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readHome.js +1 -1
  48. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readPages.js +1 -1
  49. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readUtils.js +1 -1
  50. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations.js +1 -1
  51. package/src/main/js/sap/ushell/adapters/cep/MenuAdapter.js +4 -5
  52. package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionAdapter.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/LaunchPageAdapter.js +20 -4
  60. package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionAdapter.js +1 -1
  61. package/src/main/js/sap/ushell/adapters/local/PageBuildingAdapter.js +1 -1
  62. package/src/main/js/sap/ushell/adapters/local/PagePersistenceAdapter.js +1 -1
  63. package/src/main/js/sap/ushell/adapters/local/PersonalizationAdapter.js +1 -1
  64. package/src/main/js/sap/ushell/adapters/local/SearchAdapter.js +1 -1
  65. package/src/main/js/sap/ushell/adapters/local/SearchCEPAdapter.js +1 -1
  66. package/src/main/js/sap/ushell/adapters/local/SupportTicketAdapter.js +1 -1
  67. package/src/main/js/sap/ushell/adapters/local/Ui5ComponentLoaderAdapter.js +1 -1
  68. package/src/main/js/sap/ushell/adapters/local/UserDefaultParameterPersistenceAdapter.js +1 -1
  69. package/src/main/js/sap/ushell/adapters/local/UserInfoAdapter.js +1 -1
  70. package/src/main/js/sap/ushell/appRuntime/ui5/AppCommunicationMgr.js +11 -6
  71. package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntime.js +2 -4
  72. package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntimeContext.js +43 -2
  73. package/src/main/js/sap/ushell/appRuntime/ui5/SessionHandlerAgent.js +14 -12
  74. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/Component.js +8 -8
  75. package/src/main/js/sap/ushell/appRuntime/ui5/services/AppLifeCycleAgent.js +7 -4
  76. package/src/main/js/sap/ushell/appRuntime/ui5/services/Bookmark.js +18 -7
  77. package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellUIService.js +12 -66
  78. package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/Ui5ComponentLoaderAdapter.js +1 -1
  79. package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/logger.js +1 -1
  80. package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/state.js +1 -1
  81. package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5datetimeformat.js +1 -1
  82. package/src/main/js/sap/ushell/bootstrap/common/common.create.configcontract.core.js +29 -2
  83. package/src/main/js/sap/ushell/components/ComponentKeysHandler.js +4 -2
  84. package/src/main/js/sap/ushell/components/GroupsHelper.js +15 -13
  85. package/src/main/js/sap/ushell/components/HeaderManager.js +3 -1
  86. package/src/main/js/sap/ushell/components/HomepageManager.js +3 -6
  87. package/src/main/js/sap/ushell/components/MessagingHelper.js +2 -2
  88. package/src/main/js/sap/ushell/components/_HeaderManager/AddHeadEndItemsStrategy.js +4 -3
  89. package/src/main/js/sap/ushell/components/_HeaderManager/ControlManager.js +5 -7
  90. package/src/main/js/sap/ushell/components/_HeaderManager/ShellHeader.controller.js +12 -10
  91. package/src/main/js/sap/ushell/components/_HomepageManager/DashboardLoadingManager.js +3 -1
  92. package/src/main/js/sap/ushell/components/appfinder/AppFinderView.js +7 -4
  93. package/src/main/js/sap/ushell/components/appfinder/Catalog.controller.js +19 -5
  94. package/src/main/js/sap/ushell/components/appfinder/CatalogView.js +8 -12
  95. package/src/main/js/sap/ushell/components/appfinder/EasyAccess.controller.js +3 -3
  96. package/src/main/js/sap/ushell/components/appfinder/GroupListPopover.controller.js +3 -1
  97. package/src/main/js/sap/ushell/components/appfinder/HierarchyFolders.controller.js +1 -1
  98. package/src/main/js/sap/ushell/components/appfinder/HierarchyFoldersView.js +3 -1
  99. package/src/main/js/sap/ushell/components/appfinder/VisualizationOrganizerHelper.js +4 -3
  100. package/src/main/js/sap/ushell/components/appfinder/manifest.json +1 -1
  101. package/src/main/js/sap/ushell/components/applicationIntegration/AppLifeCycle.js +245 -377
  102. package/src/main/js/sap/ushell/components/applicationIntegration/Storage.js +22 -5
  103. package/src/main/js/sap/ushell/components/applicationIntegration/application/Application.js +23 -148
  104. package/src/main/js/sap/ushell/components/applicationIntegration/application/BlueBoxHandler.js +199 -306
  105. package/src/main/js/sap/ushell/components/applicationIntegration/application/BlueBoxesCache.js +42 -19
  106. package/src/main/js/sap/ushell/components/applicationIntegration/application/PostMessageAPI.js +90 -65
  107. package/src/main/js/sap/ushell/components/applicationIntegration/application/PostMessageAPIInterface.js +3 -4
  108. package/src/main/js/sap/ushell/components/applicationIntegration/application/PostMessageUtils.js +185 -0
  109. package/src/main/js/sap/ushell/components/applicationIntegration/application/WebGUIStatefulHandler.js +88 -0
  110. package/src/main/js/sap/ushell/components/applicationIntegration/configuration/AppMeta.js +3 -3
  111. package/src/main/js/sap/ushell/components/applicationIntegration/elements/model.js +1 -1
  112. package/src/main/js/sap/ushell/components/applicationIntegration/relatedServices/RelatedServices.js +1 -1
  113. package/src/main/js/sap/ushell/components/applicationIntegration/relatedShellElements/RelatedShellElements.js +1 -1
  114. package/src/main/js/sap/ushell/components/cards/Configuration.controller.js +2 -3
  115. package/src/main/js/sap/ushell/components/container/ApplicationContainer.js +24 -595
  116. package/src/main/js/sap/ushell/components/container/IframePOSTUtils.js +225 -0
  117. package/src/main/js/sap/ushell/components/contentFinder/Component.js +1 -1
  118. package/src/main/js/sap/ushell/components/contentFinder/controller/AppSearch.controller.js +1 -1
  119. package/src/main/js/sap/ushell/components/contentFinder/controller/ContentFinderDialog.controller.js +1 -1
  120. package/src/main/js/sap/ushell/components/contentFinder/controller/WidgetGallery.controller.js +1 -1
  121. package/src/main/js/sap/ushell/components/contentFinder/manifest.json +1 -1
  122. package/src/main/js/sap/ushell/components/contentFinder/model/GraphQLListBinding.js +2 -2
  123. package/src/main/js/sap/ushell/components/contentFinder/model/GraphQLModel.js +2 -2
  124. package/src/main/js/sap/ushell/components/contentFinder/model/formatter.js +2 -2
  125. package/src/main/js/sap/ushell/components/factsheet/Component.js +1 -1
  126. package/src/main/js/sap/ushell/components/homepage/ActionMode.js +12 -3
  127. package/src/main/js/sap/ushell/components/homepage/Component.js +3 -1
  128. package/src/main/js/sap/ushell/components/homepage/DashboardContent.controller.js +25 -0
  129. package/src/main/js/sap/ushell/components/homepage/DashboardContent.view.js +12 -10
  130. package/src/main/js/sap/ushell/components/homepage/DashboardGroupsBox.js +1 -3
  131. package/src/main/js/sap/ushell/components/homepage/DashboardUIActions.js +13 -11
  132. package/src/main/js/sap/ushell/components/homepage/FLPAnalytics.js +11 -11
  133. package/src/main/js/sap/ushell/components/homepage/manifest.json +1 -1
  134. package/src/main/js/sap/ushell/components/pages/ActionMode.js +6 -6
  135. package/src/main/js/sap/ushell/components/pages/Component.js +1 -1
  136. package/src/main/js/sap/ushell/components/pages/MyHomeImport.js +1 -1
  137. package/src/main/js/sap/ushell/components/pages/StateManager.js +3 -2
  138. package/src/main/js/sap/ushell/components/pages/controller/PageRuntime.controller.js +90 -20
  139. package/src/main/js/sap/ushell/components/pages/controller/PagesAndSpaceId.js +1 -1
  140. package/src/main/js/sap/ushell/components/pages/manifest.json +1 -1
  141. package/src/main/js/sap/ushell/components/pages/view/PageRuntime.view.xml +1 -45
  142. package/src/main/js/sap/ushell/components/runtimeSwitcher/controller/RuntimeSwitcher.controller.js +4 -4
  143. package/src/main/js/sap/ushell/components/runtimeSwitcher/manifest.json +1 -1
  144. package/src/main/js/sap/ushell/components/shell/MenuBar/manifest.json +1 -1
  145. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenu.controller.js +182 -46
  146. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/manifest.json +1 -1
  147. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/view/CustomTreeItem.fragment.xml +4 -4
  148. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/view/NavigationBarMenuPopover.fragment.xml +8 -1
  149. package/src/main/js/sap/ushell/components/shell/Notifications/Component.js +14 -12
  150. package/src/main/js/sap/ushell/components/shell/PostLoadingHeaderEnhancement/Component.js +1 -3
  151. package/src/main/js/sap/ushell/components/shell/ProductSwitch/Component.js +8 -6
  152. package/src/main/js/sap/ushell/components/shell/Search/manifest.json +1 -1
  153. package/src/main/js/sap/ushell/components/shell/SearchCEP/Component.js +16 -4
  154. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchCEP.controller.js +34 -40
  155. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/FrequentActivityProvider.js +1 -1
  156. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/RecentSearchProvider.js +1 -1
  157. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchProvider.js +1 -1
  158. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchServiceProvider.js +4 -7
  159. package/src/main/js/sap/ushell/components/shell/Settings/Component.js +1 -1
  160. package/src/main/js/sap/ushell/components/shell/Settings/ErrorMessageHelper.js +4 -2
  161. package/src/main/js/sap/ushell/components/shell/Settings/UserSettings.controller.js +24 -26
  162. package/src/main/js/sap/ushell/components/shell/Settings/appearance/Appearance.controller.js +8 -7
  163. package/src/main/js/sap/ushell/components/shell/Settings/userAccount/UserAccountSelector.controller.js +3 -1
  164. package/src/main/js/sap/ushell/components/shell/Settings/userAccount/UserAccountSetting.fragment.xml +2 -0
  165. package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/UserDefaultsForm.js +5 -1
  166. package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/controller/UserDefaultsSetting.controller.js +20 -2
  167. package/src/main/js/sap/ushell/components/shell/Settings/userLanguageRegion/UserLanguageRegionEntry.js +12 -22
  168. package/src/main/js/sap/ushell/components/shell/UserActionsMenu/Component.js +4 -2
  169. package/src/main/js/sap/ushell/components/shell/UserActionsMenu/UserActionsMenu.controller.js +50 -46
  170. package/src/main/js/sap/ushell/components/shell/UserImage/Component.js +1 -1
  171. package/src/main/js/sap/ushell/components/tiles/applauncher/StaticTile.controller.js +11 -3
  172. package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/DynamicTile.controller.js +11 -2
  173. package/src/main/js/sap/ushell/components/tiles/cdm/applauncher/StaticTile.controller.js +11 -4
  174. package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/DynamicTile.controller.js +14 -3
  175. package/src/main/js/sap/ushell/components/visualizationOrganizer/Component.js +28 -28
  176. package/src/main/js/sap/ushell/components/workPageBuilder/Component.js +1 -1
  177. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.accessibility.js +1 -1
  178. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.controller.js +204 -28
  179. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageHost.js +60 -4
  180. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPage.js +1 -1
  181. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageButton.js +1 -1
  182. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageCell.js +1 -1
  183. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumn.js +1 -1
  184. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnResizer.js +1 -1
  185. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRow.js +1 -1
  186. package/src/main/js/sap/ushell/components/workPageBuilder/manifest.json +1 -1
  187. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources.properties +10 -2
  188. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ar.properties +5 -2
  189. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_bg.properties +5 -2
  190. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ca.properties +5 -2
  191. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_cs.properties +5 -2
  192. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_cy.properties +5 -2
  193. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_da.properties +5 -2
  194. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_de.properties +5 -2
  195. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_el.properties +5 -2
  196. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_en.properties +5 -2
  197. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_en_GB.properties +5 -2
  198. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_en_US_sappsd.properties +5 -2
  199. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_en_US_saprigi.properties +5 -2
  200. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_es.properties +5 -2
  201. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_es_MX.properties +5 -2
  202. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_et.properties +5 -2
  203. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_fi.properties +5 -2
  204. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_fr.properties +5 -2
  205. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_fr_CA.properties +5 -2
  206. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_hi.properties +5 -2
  207. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_hr.properties +5 -2
  208. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_hu.properties +5 -2
  209. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_id.properties +5 -2
  210. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_it.properties +5 -2
  211. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_iw.properties +5 -2
  212. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ja.properties +5 -2
  213. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_kk.properties +5 -2
  214. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ko.properties +5 -2
  215. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_lt.properties +5 -2
  216. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_lv.properties +5 -2
  217. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ms.properties +5 -2
  218. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_nl.properties +5 -2
  219. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_no.properties +5 -2
  220. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_pl.properties +5 -2
  221. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_pt.properties +5 -2
  222. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_pt_PT.properties +5 -2
  223. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ro.properties +5 -2
  224. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ru.properties +5 -2
  225. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_sh.properties +5 -2
  226. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_sk.properties +5 -2
  227. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_sl.properties +5 -2
  228. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_sv.properties +5 -2
  229. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_th.properties +5 -2
  230. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_tr.properties +5 -2
  231. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_uk.properties +5 -2
  232. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_vi.properties +5 -2
  233. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_zh_CN.properties +5 -2
  234. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_zh_TW.properties +5 -2
  235. package/src/main/js/sap/ushell/components/workPageRuntime/Component.js +1 -1
  236. package/src/main/js/sap/ushell/components/workPageRuntime/controller/WorkPageRuntime.controller.js +2 -2
  237. package/src/main/js/sap/ushell/components/workPageRuntime/manifest.json +1 -1
  238. package/src/main/js/sap/ushell/components/workPageRuntime/services/NavigationResolver.js +11 -11
  239. package/src/main/js/sap/ushell/components/workPageRuntime/services/WorkPage.js +4 -4
  240. package/src/main/js/sap/ushell/designtime/ApplicationContainer.designtime.js +1 -1
  241. package/src/main/js/sap/ushell/library.js +1 -1
  242. package/src/main/js/sap/ushell/navigationMode.js +1 -1
  243. package/src/main/js/sap/ushell/performance/FesrEnhancer.js +20 -21
  244. package/src/main/js/sap/ushell/performance/ShellAnalytics.js +47 -32
  245. package/src/main/js/sap/ushell/performance/StatisticalRecord.js +65 -31
  246. package/src/main/js/sap/ushell/plugins/appwarmup/Component.js +1 -1
  247. package/src/main/js/sap/ushell/renderers/fiori2/Renderer.js +2 -2
  248. package/src/main/js/sap/ushell/renderers/fiori2/Shell.controller.js +78 -75
  249. package/src/main/js/sap/ushell/renderers/fiori2/Shell.view.js +2 -2
  250. package/src/main/js/sap/ushell/renderers/fiori2/ShellAsync.view.js +1 -1
  251. package/src/main/js/sap/ushell/renderers/fiori2/allMyApps/AllMyApps.controller.js +93 -94
  252. package/src/main/js/sap/ushell/renderers/fiori2/allMyApps/AllMyAppsKeyboardHandler.js +8 -8
  253. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources.properties +4 -2
  254. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_ar.properties +2 -1
  255. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_bg.properties +2 -1
  256. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_ca.properties +2 -1
  257. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_cs.properties +2 -1
  258. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_cy.properties +2 -1
  259. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_da.properties +2 -1
  260. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_de.properties +2 -1
  261. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_el.properties +2 -1
  262. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_en.properties +2 -1
  263. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_en_GB.properties +2 -1
  264. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_en_US_sappsd.properties +2 -1
  265. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_en_US_saprigi.properties +2 -1
  266. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_en_US_saptrc.properties +1 -1
  267. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_es.properties +2 -1
  268. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_es_MX.properties +2 -1
  269. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_et.properties +2 -1
  270. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_fi.properties +2 -1
  271. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_fr.properties +2 -1
  272. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_fr_CA.properties +2 -1
  273. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_hi.properties +2 -1
  274. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_hr.properties +14 -13
  275. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_hu.properties +2 -1
  276. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_id.properties +2 -1
  277. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_it.properties +2 -1
  278. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_iw.properties +2 -1
  279. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_ja.properties +2 -1
  280. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_kk.properties +2 -1
  281. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_ko.properties +2 -1
  282. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_lt.properties +2 -1
  283. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_lv.properties +2 -1
  284. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_ms.properties +2 -1
  285. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_nl.properties +2 -1
  286. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_no.properties +2 -1
  287. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_pl.properties +2 -1
  288. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_pt.properties +2 -1
  289. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_pt_PT.properties +2 -1
  290. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_ro.properties +2 -1
  291. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_ru.properties +2 -1
  292. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_sh.properties +2 -1
  293. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_sk.properties +2 -1
  294. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_sl.properties +2 -1
  295. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_sv.properties +2 -1
  296. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_th.properties +2 -1
  297. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_tr.properties +2 -1
  298. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_uk.properties +2 -1
  299. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_vi.properties +2 -1
  300. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_zh_CN.properties +2 -1
  301. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_zh_TW.properties +2 -1
  302. package/src/main/js/sap/ushell/renderers/fiori2/search/searchComponent/manifest.json +1 -1
  303. package/src/main/js/sap/ushell/services/AppConfiguration.js +24 -2
  304. package/src/main/js/sap/ushell/services/AppLifeCycle.js +18 -16
  305. package/src/main/js/sap/ushell/services/AppState.js +1 -1
  306. package/src/main/js/sap/ushell/services/Bookmark.js +54 -20
  307. package/src/main/js/sap/ushell/services/ClientSideTargetResolution.js +1 -1
  308. package/src/main/js/sap/ushell/services/CommonDataModel.js +1 -1
  309. package/src/main/js/sap/ushell/services/Configuration.js +1 -1
  310. package/src/main/js/sap/ushell/services/ConfigurationDefaults.js +1 -1
  311. package/src/main/js/sap/ushell/services/ContentExtensionAdapterFactory.js +1 -1
  312. package/src/main/js/sap/ushell/services/CrossApplicationNavigation.js +1 -1
  313. package/src/main/js/sap/ushell/services/DarkModeSupport.js +1 -1
  314. package/src/main/js/sap/ushell/services/LaunchPage.js +1 -1
  315. package/src/main/js/sap/ushell/services/Menu.js +1 -1
  316. package/src/main/js/sap/ushell/services/Message.js +1 -1
  317. package/src/main/js/sap/ushell/services/MessageBroker.js +1 -1
  318. package/src/main/js/sap/ushell/services/NavigationDataProvider.js +1 -1
  319. package/src/main/js/sap/ushell/services/PageBuilding.js +1 -1
  320. package/src/main/js/sap/ushell/services/PagePersistence.js +1 -1
  321. package/src/main/js/sap/ushell/services/PageReferencing.js +1 -1
  322. package/src/main/js/sap/ushell/services/Pages.js +1 -1
  323. package/src/main/js/sap/ushell/services/Personalization.js +1 -1
  324. package/src/main/js/sap/ushell/services/PluginManager.js +30 -8
  325. package/src/main/js/sap/ushell/services/ReferenceResolver.js +1 -1
  326. package/src/main/js/sap/ushell/services/Search.js +1 -1
  327. package/src/main/js/sap/ushell/services/SearchCEP.js +8 -2
  328. package/src/main/js/sap/ushell/services/SearchableContent.js +1 -1
  329. package/src/main/js/sap/ushell/services/SmartNavigation.js +1 -1
  330. package/src/main/js/sap/ushell/services/SpaceContent.js +12 -4
  331. package/src/main/js/sap/ushell/services/UITracer.js +295 -33
  332. package/src/main/js/sap/ushell/services/URLParsing.js +1 -1
  333. package/src/main/js/sap/ushell/services/URLShortening.js +1 -1
  334. package/src/main/js/sap/ushell/services/URLTemplate.js +1 -1
  335. package/src/main/js/sap/ushell/services/Ui5ComponentLoader.js +1 -1
  336. package/src/main/js/sap/ushell/services/UserDefaultParameterPersistence.js +1 -1
  337. package/src/main/js/sap/ushell/services/UserDefaultParameters.js +1 -1
  338. package/src/main/js/sap/ushell/services/UserInfo.js +1 -1
  339. package/src/main/js/sap/ushell/services/UserRecents.js +1 -1
  340. package/src/main/js/sap/ushell/services/VisualizationDataProvider.js +1 -1
  341. package/src/main/js/sap/ushell/services/VisualizationInstantiation.js +1 -1
  342. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Formatter.js +1 -1
  343. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/InboundIndex.js +1 -1
  344. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/InboundProvider.js +1 -1
  345. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/PrelaunchOperations.js +1 -1
  346. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Search.js +1 -1
  347. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/StagedLogger.js +1 -1
  348. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/SystemContext.js +1 -1
  349. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Utils.js +1 -1
  350. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/VirtualInbounds.js +1 -1
  351. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/XAppStateProcessing.js +1 -1
  352. package/src/main/js/sap/ushell/services/_CommonDataModel/SiteConverter.js +1 -1
  353. package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/ContentExtensionAdapterConfig.js +1 -1
  354. package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/FeaturedGroupConfig.js +1 -1
  355. package/src/main/js/sap/ushell/services/_CrossApplicationNavigation/utils.js +1 -1
  356. package/src/main/js/sap/ushell/services/_MessageBroker/MessageBrokerEngine.js +9 -46
  357. package/src/main/js/sap/ushell/services/_PageReferencing/PageReferencer.js +1 -1
  358. package/src/main/js/sap/ushell/services/_PluginManager/Extensions.js +1 -1
  359. package/src/main/js/sap/ushell/services/_PluginManager/HeaderExtensions.js +1 -1
  360. package/src/main/js/sap/ushell/services/_PluginManager/MenuExtensions.js +1 -1
  361. package/src/main/js/sap/ushell/services/_Ui5ComponentLoader/utils.js +1 -1
  362. package/src/main/js/sap/ushell/services/_VisualizationInstantiation/VizInstance.js +10 -3
  363. package/src/main/js/sap/ushell/services/_VisualizationInstantiation/VizInstanceLink.js +12 -4
  364. package/src/main/js/sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin.js +1 -1
  365. package/src/main/js/sap/ushell/themes/base/MenuBar.less +3 -3
  366. package/src/main/js/sap/ushell/themes/base/SearchCEP.less +1 -1
  367. package/src/main/js/sap/ushell/themes/base/ShellAppTitle.less +10 -30
  368. package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.eot +0 -0
  369. package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.json +2 -1
  370. package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.ttf +0 -0
  371. package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.woff +0 -0
  372. package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.woff2 +0 -0
  373. package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.eot +0 -0
  374. package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.ttf +0 -0
  375. package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.woff +0 -0
  376. package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.woff2 +0 -0
  377. package/src/main/js/sap/ushell/themes/sap_belize/ShellHeader.less +1 -11
  378. package/src/main/js/sap/ushell/themes/sap_belize_hcb/ShellHeader.less +0 -11
  379. package/src/main/js/sap/ushell/themes/sap_belize_hcw/ShellHeader.less +1 -13
  380. package/src/main/js/sap/ushell/themes/sap_fiori_3/ShellHeader.less +1 -9
  381. package/src/main/js/sap/ushell/themes/sap_fiori_3_dark/ShellHeader.less +1 -9
  382. package/src/main/js/sap/ushell/themes/sap_fiori_3_hcb/ShellHeader.less +1 -10
  383. package/src/main/js/sap/ushell/themes/sap_fiori_3_hcw/ShellHeader.less +0 -12
  384. package/src/main/js/sap/ushell/themes/sap_hcb/ShellHeader.less +0 -12
  385. package/src/main/js/sap/ushell/themes/sap_horizon/ShellAppTitle.less +1 -9
  386. package/src/main/js/sap/ushell/themes/sap_horizon_dark/ShellAppTitle.less +1 -7
  387. package/src/main/js/sap/ushell/themes/sap_horizon_hcb/ShellAppTitle.less +0 -9
  388. package/src/main/js/sap/ushell/themes/sap_horizon_hcw/ShellAppTitle.less +0 -11
  389. package/src/main/js/sap/ushell/ui/QuickAccess.js +11 -2
  390. package/src/main/js/sap/ushell/ui/ShellHeader.fragment.xml +5 -1
  391. package/src/main/js/sap/ushell/ui/ShellHeader.js +5 -1
  392. package/src/main/js/sap/ushell/ui/ShellHeaderRenderer.js +1 -1
  393. package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +1 -1
  394. package/src/main/js/sap/ushell/ui/footerbar/AddBookmarkButton.js +5 -5
  395. package/src/main/js/sap/ushell/ui/launchpad/ExtendedChangeDetection.js +1 -1
  396. package/src/main/js/sap/ushell/ui/launchpad/Page.js +8 -16
  397. package/src/main/js/sap/ushell/ui/launchpad/Section.js +732 -171
  398. package/src/main/js/sap/ushell/ui/launchpad/SectionRenderer.js +66 -0
  399. package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.js +14 -1
  400. package/src/main/js/sap/ushell/ui/shell/ShellAppTitle.js +115 -63
  401. package/src/main/js/sap/ushell/ui/shell/ShellHeadItem.js +1 -1
  402. package/src/main/js/sap/ushell/ui/shell/ShellNavigationMenu.js +30 -76
  403. package/src/main/js/sap/ushell/ui/shell/SysInfoBar.js +1 -1
  404. package/src/main/js/sap/ushell/ui/shell/ToolAreaItem.js +1 -1
  405. package/src/main/js/sap/ushell/ui/utils.js +1 -1
  406. package/src/main/js/sap/ushell/ui5service/ShellUIService.js +1 -1
  407. package/src/main/js/sap/ushell/ui5service/UserStatus.js +1 -1
  408. package/src/main/js/sap/ushell/utils/DynamicTileRequest.js +23 -2
  409. package/src/main/js/sap/ushell/utils/UrlShortening.js +1 -1
  410. package/src/main/js/sap/ushell/utils.js +108 -0
  411. package/src/test/js/sap/ushell/bootstrap/sandbox.js +1 -1
  412. package/ui5.yaml +1 -1
  413. package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntimePostMessage.js +0 -82
  414. package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntimePostMessageAPI.js +0 -34
  415. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n.properties +0 -5
  416. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n_ar.properties +0 -2
  417. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n_bg.properties +0 -2
  418. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n_ca.properties +0 -2
  419. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n_cs.properties +0 -2
  420. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n_cy.properties +0 -2
  421. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n_da.properties +0 -2
  422. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n_de.properties +0 -2
  423. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n_el.properties +0 -2
  424. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n_en.properties +0 -2
  425. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n_en_GB.properties +0 -2
  426. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n_en_US_sappsd.properties +0 -2
  427. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n_en_US_saprigi.properties +0 -2
  428. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n_en_US_saptrc.properties +0 -2
  429. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n_es.properties +0 -2
  430. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n_es_MX.properties +0 -2
  431. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n_et.properties +0 -2
  432. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n_fi.properties +0 -2
  433. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n_fr.properties +0 -2
  434. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n_fr_CA.properties +0 -2
  435. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n_hi.properties +0 -2
  436. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n_hr.properties +0 -2
  437. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n_hu.properties +0 -2
  438. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n_id.properties +0 -2
  439. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n_it.properties +0 -2
  440. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n_iw.properties +0 -2
  441. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n_ja.properties +0 -2
  442. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n_kk.properties +0 -2
  443. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n_ko.properties +0 -2
  444. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n_lt.properties +0 -2
  445. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n_lv.properties +0 -2
  446. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n_ms.properties +0 -2
  447. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n_nl.properties +0 -2
  448. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n_no.properties +0 -2
  449. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n_pl.properties +0 -2
  450. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n_pt.properties +0 -2
  451. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n_pt_PT.properties +0 -2
  452. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n_ro.properties +0 -2
  453. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n_ru.properties +0 -2
  454. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n_sh.properties +0 -2
  455. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n_sk.properties +0 -2
  456. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n_sl.properties +0 -2
  457. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n_sv.properties +0 -2
  458. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n_th.properties +0 -2
  459. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n_tr.properties +0 -2
  460. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n_uk.properties +0 -2
  461. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n_vi.properties +0 -2
  462. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n_zh_CN.properties +0 -2
  463. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/i18n/i18n_zh_TW.properties +0 -2
  464. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/manifest.json +0 -66
  465. package/src/main/js/sap/ushell/ui/launchpad/Section.control.xml +0 -243
@@ -1,32 +1,30 @@
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.116.0
4
+ * @version 1.117.0
5
5
  */
6
6
  sap.ui.define([
7
7
  "sap/ushell/components/applicationIntegration/application/BlueBoxesCache",
8
- "sap/ushell/components/applicationIntegration/application/Application",
9
- "sap/ushell/components/container/ApplicationContainer",
8
+ "sap/ushell/components/applicationIntegration/application/PostMessageUtils",
10
9
  "sap/ui/thirdparty/jquery",
11
- "sap/base/util/deepExtend",
12
10
  "sap/ui/core/Core",
13
- "sap/ui/thirdparty/hasher"
11
+ "sap/ui/thirdparty/hasher",
12
+ "sap/base/Log",
13
+ "sap/ushell/utils"
14
14
  ], function (
15
15
  BlueBoxesCache,
16
- Application,
17
- ApplicationContainer,
16
+ PostMessageUtils,
18
17
  jQuery,
19
- deepExtend,
20
18
  Core,
21
- hasher
19
+ hasher,
20
+ Log,
21
+ utils
22
22
  ) {
23
23
  "use strict";
24
24
 
25
25
  function BlueBoxHandler () {
26
- var AppLifeCycle,
27
- oBlueBoxContainer = {},
28
- oGuiV1BlueBoxContainer = {},
29
- oBasicStatefulContainerCapabilities = [
26
+ var oBlueBoxContainer = {},
27
+ oBasicStatefulCapabilities = [
30
28
  {
31
29
  service: "sap.ushell.services.appLifeCycle",
32
30
  action: "create"
@@ -36,12 +34,95 @@ sap.ui.define([
36
34
  }
37
35
  ];
38
36
 
39
- this.init = function (inAppLifeCycle) {
37
+ this.STATEFUL_TYPES = {
38
+ NOT_SUPPORTED: 0,
39
+ GUI_V1: 1,
40
+ FLP_V2: 2
41
+ };
42
+
43
+ this.init = function () {
40
44
  oBlueBoxContainer = {};
41
- oGuiV1BlueBoxContainer = {};
42
- AppLifeCycle = inAppLifeCycle;
43
45
  BlueBoxesCache.init();
44
- Application.init(this);
46
+ };
47
+
48
+ this.AddNewBlueBox = function (oBlueBox, oTarget, oInitialCapabilities) {
49
+ oBlueBoxContainer[oBlueBox] = oBlueBox;
50
+ BlueBoxesCache.add(oTarget.url, oBlueBox);
51
+ if (oBlueBox.setBlueBoxCapabilities) {
52
+ oBlueBox.setProperty("blueBoxCapabilities", {}, true);
53
+ }
54
+
55
+ var bCheckTemplateCapabilities = true;
56
+ if (oTarget.url && oTarget.url.indexOf("/ui5appruntimescube") > 0) {
57
+ bCheckTemplateCapabilities = false;
58
+ }
59
+ if (bCheckTemplateCapabilities && oTarget.appCapabilities && oTarget.appCapabilities.statefulContainer === true) {
60
+ this.addCapabilities(oBlueBox, oBasicStatefulCapabilities);
61
+ }
62
+ if (oInitialCapabilities) {
63
+ this.addCapabilities(oBlueBox, oInitialCapabilities);
64
+ }
65
+ };
66
+
67
+ this.deleteBlueBoxByUrl = function (sUrl) {
68
+ if (sUrl) {
69
+ var oContainer = BlueBoxesCache.get(sUrl);
70
+ if (oContainer && oBlueBoxContainer[oContainer]) {
71
+ delete oBlueBoxContainer[oContainer];
72
+ }
73
+ BlueBoxesCache.remove(sUrl);
74
+ }
75
+ };
76
+
77
+ this.deleteBlueBoxByContainer = function (oContainer) {
78
+ if (oContainer && oBlueBoxContainer[oContainer]) {
79
+ delete oBlueBoxContainer[oContainer];
80
+ BlueBoxesCache.removeByContainer(oContainer);
81
+ }
82
+ };
83
+
84
+ this.getBlueBoxesCount = function () {
85
+ return Object.keys(oBlueBoxContainer).length + BlueBoxesCache.getSize(true);
86
+ };
87
+
88
+ this.getBlueBoxByUrl = function (sUrl) {
89
+ return BlueBoxesCache.get(sUrl);
90
+ };
91
+
92
+ this.getBlueBoxById = function (sId) {
93
+ return BlueBoxesCache.getById(sId);
94
+ };
95
+
96
+ this.addCapabilities = function (oBlueBox, oCapabilities) {
97
+ if (!oBlueBoxContainer[oBlueBox] || !oBlueBox.getBlueBoxCapabilities) {
98
+ return;
99
+ }
100
+
101
+ var oCapMap = oBlueBox.getBlueBoxCapabilities();
102
+ oCapabilities.forEach(function (oCap) {
103
+ oCapMap[oCap.service + "." + oCap.action] = true;
104
+ });
105
+ if (oCapMap["sap.ushell.services.appLifeCycle.create"]) {
106
+ oBlueBox.setProperty("statefulType", this.STATEFUL_TYPES.FLP_V2, true);
107
+ }
108
+ };
109
+
110
+ this.removeCapabilities = function (oBlueBox, oCapabilities) {
111
+ if (!oBlueBoxContainer[oBlueBox] || !oBlueBox.getBlueBoxCapabilities) {
112
+ return;
113
+ }
114
+
115
+ if (!oCapabilities) {
116
+ oBlueBox.setProperty("blueBoxCapabilities", {}, true);
117
+ } else {
118
+ var oCapMap = oBlueBox.getBlueBoxCapabilities();
119
+ oCapabilities.forEach(function (oCap) {
120
+ delete oCapMap[oCap.service + "." + oCap.action];
121
+ if (oCap.service + "." + oCap.action === "sap.ushell.services.appLifeCycle.create") {
122
+ oBlueBox.setProperty("statefulType", 0 - oBlueBox.getStatefulType(), true);
123
+ }
124
+ });
125
+ }
45
126
  };
46
127
 
47
128
  this.statefulCreateApp = function (oInnerControl, sUrl, sStorageKey, oTarget, bNavigationInSameStatefullContainer) {
@@ -56,11 +137,8 @@ sap.ui.define([
56
137
  oPostParams["sap-flp-params"] = oFLPParams;
57
138
  }
58
139
 
59
- oInnerControl.setProperty("currentAppUrl", sUrl, true);
60
- oInnerControl.setProperty("currentAppId", sStorageKey, true);
61
- oInnerControl.setProperty("currentAppTargetResolution", oTarget, true);
62
140
  Core.getEventBus().publish("launchpad", "appOpening", oTarget);
63
- Application.postMessageToIframeApp(
141
+ PostMessageUtils.postMessageToIframeApp(
64
142
  oInnerControl, "sap.ushell.services.appLifeCycle", "create", oPostParams, true)
65
143
  .then(function (oResult) {
66
144
  sap.ushell.Container.getServiceAsync("AppLifeCycle").then(function (oAppLifeCycleService) {
@@ -73,21 +151,26 @@ sap.ui.define([
73
151
  });
74
152
  }
75
153
 
76
- sUrl = ApplicationContainer.prototype._checkNwbcUrlAdjustment(oInnerControl, oTarget.applicationType, sUrl);
154
+ oInnerControl.setProperty("currentAppUrl", sUrl, true);
155
+ oInnerControl.setProperty("currentAppId", sStorageKey, true);
156
+ oInnerControl.setProperty("currentAppTargetResolution", oTarget, true);
157
+
158
+ if (oInnerControl._checkNwbcUrlAdjustment) {
159
+ sUrl = oInnerControl._checkNwbcUrlAdjustment(oInnerControl, oTarget.applicationType, sUrl);
160
+ }
77
161
  oPostParams = {
78
162
  sCacheId: sStorageKey,
79
163
  sUrl: sUrl,
80
164
  sHash: hasher.getHash()
81
165
  };
82
166
  if (sUrl.indexOf("sap-iframe-hint=GUI") > 0 || sUrl.indexOf("sap-iframe-hint=WDA") > 0 || sUrl.indexOf("sap-iframe-hint=WCF") > 0) {
83
- var aInfoArray = [];
84
- var aKeysArray = ApplicationContainer.prototype._getParamKeys(sUrl, aInfoArray);
167
+ var oAppStatesInfo = utils.getParamKeys(sUrl);
85
168
 
86
- if (aKeysArray.length > 0) {
169
+ if (oAppStatesInfo.aAppStateNamesArray.length > 0) {
87
170
  sap.ushell.Container.getServiceAsync("CrossApplicationNavigation").then(function (oCANService) {
88
- oCANService.getAppStateData(aKeysArray).then(function (aDataArray) {
171
+ oCANService.getAppStateData(oAppStatesInfo.aAppStateKeysArray).then(function (aDataArray) {
89
172
  oFLPParams = {};
90
- aInfoArray.forEach(function (item, index) {
173
+ oAppStatesInfo.aAppStateNamesArray.forEach(function (item, index) {
91
174
  if (aDataArray[index][0]) {
92
175
  oFLPParams[item] = aDataArray[index][0];
93
176
  }
@@ -117,7 +200,7 @@ sap.ui.define([
117
200
  oAppTarget = oInnerControl.getCurrentAppTargetResolution();
118
201
  oInnerControl.setProperty("currentAppTargetResolution", undefined, true);
119
202
  sap.ushell.Container.setAsyncDirtyStateProvider(undefined);
120
- oPromise = Application.postMessageToIframeApp(oInnerControl, "sap.ushell.services.appLifeCycle", "destroy", {
203
+ oPromise = PostMessageUtils.postMessageToIframeApp(oInnerControl, "sap.ushell.services.appLifeCycle", "destroy", {
121
204
  sCacheId: sStorageKey
122
205
  }, true);
123
206
 
@@ -136,7 +219,7 @@ sap.ui.define([
136
219
  oAppTarget = oInnerControl.getCurrentAppTargetResolution();
137
220
  oInnerControl.setProperty("currentAppTargetResolution", undefined, true);
138
221
  sap.ushell.Container.setAsyncDirtyStateProvider(undefined);
139
- oPromise = Application.postMessageToIframeApp(oInnerControl, "sap.ushell.services.appLifeCycle", "store", {
222
+ oPromise = PostMessageUtils.postMessageToIframeApp(oInnerControl, "sap.ushell.services.appLifeCycle", "store", {
140
223
  sCacheId: sStorageKey
141
224
  }, true);
142
225
 
@@ -152,7 +235,7 @@ sap.ui.define([
152
235
  oInnerControl.setProperty("currentAppId", sStorageKey, true);
153
236
  oInnerControl.setProperty("currentAppTargetResolution", oTarget, true);
154
237
  Core.getEventBus().publish("launchpad", "appOpening", oTarget);
155
- Application.postMessageToIframeApp(oInnerControl, "sap.ushell.services.appLifeCycle", "restore", {
238
+ PostMessageUtils.postMessageToIframeApp(oInnerControl, "sap.ushell.services.appLifeCycle", "restore", {
156
239
  sCacheId: sStorageKey,
157
240
  sUrl: oTarget.url,
158
241
  sHash: hasher.getHash()
@@ -168,340 +251,150 @@ sap.ui.define([
168
251
  });
169
252
  };
170
253
 
171
- this.isStatefulContainerSupported = function (oBlueBox) {
172
- var bIsSupported =
173
- this.isCapabilitySupported(oBlueBox, "sap.ushell.services.appLifeCycle", "create") &&
174
- this.isCapabilitySupported(oBlueBox, "sap.ushell.services.appLifeCycle", "destroy");
175
-
176
- return bIsSupported;
254
+ this.isCapabilitySupported = function (oBlueBox, sServiceName, sInterface) {
255
+ if (oBlueBox && oBlueBox.getBlueBoxCapabilities && oBlueBox.getBlueBoxCapabilities()[sServiceName + "." + sInterface]) {
256
+ return true;
257
+ }
258
+ return false;
177
259
  };
178
260
 
179
- this.isIframeIsValidSupported = function (oBlueBox) {
180
- return this.isCapabilitySupported(oBlueBox, "sap.ushell.appRuntime", "iframeIsValid");
261
+ this.isStatefulContainer = function (oBlueBox) {
262
+ return this.isCapabilitySupported(oBlueBox, "sap.ushell.services.appLifeCycle", "create");
181
263
  };
182
264
 
183
265
  this.isIframeBusySupported = function (oBlueBox) {
184
266
  return this.isCapabilitySupported(oBlueBox, "sap.ushell.appRuntime", "iframeIsBusy");
185
267
  };
186
268
 
187
- this.mapCapabilities = function (oContainer, aCaps) {
188
- this.setCapabilities(oContainer, aCaps);
269
+ this.isIframeIsValidSupported = function (oBlueBox) {
270
+ return this.isCapabilitySupported(oBlueBox, "sap.ushell.appRuntime", "iframeIsValid");
189
271
  };
190
272
 
191
- this.isCapabilitySupported = function (oBlueBox, sServiceName, sInterface) {
192
- if (oBlueBoxContainer[oBlueBox] && oBlueBoxContainer[oBlueBox].oCapMap && oBlueBoxContainer[oBlueBox].oCapMap[sServiceName]) {
193
- return !!oBlueBoxContainer[oBlueBox].oCapMap[sServiceName][sInterface];
194
- }
195
-
196
- return false;
273
+ this.isStatefulContainerInKeepAlivePool = function (oBlueBox) {
274
+ return !!(oBlueBox && oBlueBox.getStatefulType && oBlueBox.getStatefulType() < this.STATEFUL_TYPES.NOT_SUPPORTED);
197
275
  };
198
276
 
199
- this.setCapabilities = function (oBlueBox, oCap) {
200
- var oCapMap;
201
-
202
- if (!oBlueBoxContainer[oBlueBox]) {
203
- this.initBlueBoxBD(oBlueBox);
204
- }
205
-
206
- if (!oBlueBoxContainer[oBlueBox].oCapMap) {
207
- oBlueBoxContainer[oBlueBox].oCapMap = {};
277
+ this.findFreeContainerForNewKeepAliveApp = function (oTarget) {
278
+ if (!oTarget) {
279
+ return undefined;
208
280
  }
209
-
210
- oCapMap = oBlueBoxContainer[oBlueBox].oCapMap;
211
-
212
- Object.keys(oCap).forEach(function (key) {
213
- var oCapEntry = oCap[key],
214
- oCapMapService;
215
-
216
- if (!oCapMap[oCapEntry.service]) {
217
- oCapMap[oCapEntry.service] = {};
218
- }
219
-
220
- oCapMapService = oCapMap[oCapEntry.service];
221
-
222
- oCapMapService[oCapEntry.action] = true;
223
-
224
- });
225
-
226
- // set stateful in order to disable rendering of container
227
- if (!oBlueBox.getIsStateful() && this.isStatefulContainerSupported(oBlueBox)) {
228
- oBlueBox.setIsStateful(true);
281
+ if (!utils.isSAPLegacyApplicationType(oTarget.applicationType, oTarget.appCapabilities && oTarget.appCapabilities.appFrameworkId)) {
282
+ return undefined;
229
283
  }
230
284
 
231
- };
285
+ var oFreeContainer;
286
+ var sTmpUrl = oTarget.url.replaceAll("sap-keep-alive", "sap-temp");
232
287
 
233
- this.removeCapabilities = function (oBlueBox, oCapabilities) {
234
- if (oBlueBoxContainer[oBlueBox]) {
235
- if (!oCapabilities) {
236
- oBlueBoxContainer[oBlueBox].oCapMap = {};
237
- oBlueBox.setIsStateful(false);
238
- } else {
239
- oCapabilities.forEach(function (oCap) {
240
- if (oBlueBoxContainer[oBlueBox].oCapMap.hasOwnProperty(oCap.service)) {
241
- delete oBlueBoxContainer[oBlueBox].oCapMap[oCap.service][oCap.action];
242
- if (oCap.service === "sap.ushell.services.appLifeCycle" && oCap.action === "create") {
243
- oBlueBox.setIsStateful(false);
244
- }
245
- }
246
- });
288
+ oFreeContainer = BlueBoxesCache.get(sTmpUrl, true);
289
+ if (oFreeContainer) {
290
+ oBlueBoxContainer[oFreeContainer] = oFreeContainer;
291
+ } else {
292
+ oFreeContainer = BlueBoxesCache.get(sTmpUrl);
293
+ if (oFreeContainer && oFreeContainer.getStatefulType() > this.STATEFUL_TYPES.NOT_SUPPORTED) {
294
+ if (oFreeContainer.getStatefulType() === this.STATEFUL_TYPES.FLP_V2) {
295
+ this.removeCapabilities(oFreeContainer, oBasicStatefulCapabilities);
296
+ } else {
297
+ oFreeContainer.setProperty("statefulType", 0 - oFreeContainer.getStatefulType(), true);
298
+ }
299
+ BlueBoxesCache.remove(sTmpUrl);
247
300
  }
248
301
  }
249
- };
250
302
 
251
- this.hasIFrame = function (oBlueBox) {
252
- if (oBlueBox && oBlueBox._getIFrame) {
253
- return true;
303
+ if (oFreeContainer) {
304
+ BlueBoxesCache.add(oTarget.url, oFreeContainer);
305
+ oFreeContainer.setProperty("currentAppUrl", "", true);
306
+ oFreeContainer.setProperty("isFetchedFromCache", true, true);
254
307
  }
255
308
 
256
- return false;
257
- };
258
-
259
- this.initBlueBoxBD = function (oBlueBox) {
260
- oBlueBoxContainer[oBlueBox] = {
261
- BlueBox: oBlueBox
262
- };
309
+ return oFreeContainer;
263
310
  };
264
311
 
265
- this.setAppCapabilities = function (oBlueBox, oTarget) {
266
- if (!oBlueBoxContainer[oBlueBox]) {
267
- this.initBlueBoxBD(oBlueBox);
312
+ this.returnUnusedKeepAliveContainer = function (oAppContainer) {
313
+ if (!oAppContainer) {
314
+ return false;
268
315
  }
269
-
270
- oBlueBoxContainer[oBlueBox].appCapabilities = oTarget.appCapabilities;
271
- if (oTarget.appCapabilities && oTarget.appCapabilities.statefulContainer === true) {
272
- this.setCapabilities(oBlueBox, oBasicStatefulContainerCapabilities);
316
+ if (!utils.isSAPLegacyApplicationType(oAppContainer.getApplicationType && oAppContainer.getApplicationType(),
317
+ oAppContainer.getFrameworkId && oAppContainer.getFrameworkId())) {
318
+ return false;
273
319
  }
274
- };
275
320
 
276
- this.forEach = function (callback) {
277
- var key;
278
-
279
- for (key in oBlueBoxContainer) {
280
- if (oBlueBoxContainer.hasOwnProperty(key)) {
281
- callback(oBlueBoxContainer[key].BlueBox);
321
+ if (oAppContainer.getStatefulType() < this.STATEFUL_TYPES.NOT_SUPPORTED) {
322
+ var sUrl = oAppContainer.getCurrentAppUrl();
323
+ var sKey = BlueBoxesCache.getBlueBoxCacheKeyValues(sUrl.replaceAll("sap-keep-alive", "sap-temp")).sKey;
324
+ var oHostMainContainer = BlueBoxesCache.get(sKey);
325
+ if (oHostMainContainer) {
326
+ //If we're here, it means that there's already a stateful container Iframe, so we need to add
327
+ //this oAppContainer to the keep alive pool
328
+ BlueBoxesCache.add(sUrl.replaceAll("sap-keep-alive", "sap-temp"), oAppContainer, true);
329
+ this.deleteBlueBoxByUrl(sUrl);
330
+ } else {
331
+ BlueBoxesCache.remove(sUrl);
332
+ BlueBoxesCache.add(sUrl.replaceAll("sap-keep-alive", "sap-temp"), oAppContainer);
333
+ if (oAppContainer.getStatefulType() === -this.STATEFUL_TYPES.FLP_V2) {
334
+ this.addCapabilities(oAppContainer, oBasicStatefulCapabilities);
335
+ } else {
336
+ oAppContainer.setProperty("statefulType", this.STATEFUL_TYPES.GUI_V1, true);
337
+ }
282
338
  }
339
+ oAppContainer.setProperty("currentAppUrl", "", true);
340
+ oAppContainer.setProperty("isFetchedFromCache", false, true);
341
+ return true;
283
342
  }
343
+ return false;
284
344
  };
285
345
 
286
- this.setStorageKey = function (oBlueBox, setStorageKey) {
287
- if (!oBlueBoxContainer[oBlueBox]) {
288
- this.initBlueBoxBD(oBlueBox);
346
+ this.changeAppContainerToKeepAlive = function (oAppContainer) {
347
+ if (!utils.isSAPLegacyApplicationType(oAppContainer.getApplicationType && oAppContainer.getApplicationType(),
348
+ oAppContainer.getFrameworkId && oAppContainer.getFrameworkId())) {
349
+ return false;
289
350
  }
290
-
291
- oBlueBoxContainer[oBlueBox].sStorageKey = setStorageKey;
351
+ oAppContainer.setProperty("statefulType", -oAppContainer.getStatefulType(), true);
352
+ BlueBoxesCache.remove(oAppContainer.getCurrentAppUrl());
353
+ BlueBoxesCache.add(oAppContainer.getCurrentAppUrl() + "&sap-keep-alive=restricted", oAppContainer);
354
+ return true;
292
355
  };
293
356
 
294
- this.getStorageKey = function (oBlueBox) {
295
- if (!oBlueBoxContainer[oBlueBox]) {
296
- return undefined;
357
+ this.getStatefulContainerType = function (sUrl, bIgnoreKeepAlive) {
358
+ if (bIgnoreKeepAlive === true) {
359
+ sUrl = sUrl.replaceAll("sap-keep-alive", "sap-temp");
297
360
  }
298
- return oBlueBoxContainer[oBlueBox].sStorageKey;
299
- };
300
-
301
- this._getBlueBoxCacheKey = function (sUrl) {
302
- return BlueBoxesCache.getBlueBoxCacheKeyValues(sUrl).sKey;
303
- };
304
-
305
- this.deleteStateFul = function (sUrl) {
306
- return this.delete(sUrl);
361
+ var oContainer = BlueBoxesCache.get(sUrl);
362
+ if (oContainer) {
363
+ return oContainer.getStatefulType();
364
+ }
365
+ return this.STATEFUL_TYPES.NOT_SUPPORTED;
307
366
  };
308
367
 
309
- this.getStateFul = function (sUrl) {
310
- return BlueBoxesCache.get(sUrl);
368
+ this.forEach = function (callback) {
369
+ Object.keys(oBlueBoxContainer).forEach(function (key) {
370
+ callback(oBlueBoxContainer[key]);
371
+ });
372
+ BlueBoxesCache.forEach(callback);
311
373
  };
312
374
 
313
375
  this.destroyApp = function (sAppId) {
314
- AppLifeCycle.postMessageToIframeApp("sap.ushell.services.appLifeCycle", "destroy", {
376
+ PostMessageUtils.postMessageToMultipleIframes("sap.ushell.services.appLifeCycle", "destroy", {
315
377
  appId: sAppId
316
378
  });
317
379
  };
318
380
 
319
381
  this.storeApp = function (sAppId) {
320
- AppLifeCycle.postMessageToIframeApp("sap.ushell.services.appLifeCycle", "store", {
382
+ PostMessageUtils.postMessageToMultipleIframes("sap.ushell.services.appLifeCycle", "store", {
321
383
  appId: sAppId,
322
384
  sHash: hasher.getHash()
323
385
  });
324
386
  };
325
387
 
326
388
  this.restoreApp = function (sAppId) {
327
- AppLifeCycle.postMessageToIframeApp("sap.ushell.services.appLifeCycle", "restore", {
389
+ PostMessageUtils.postMessageToMultipleIframes("sap.ushell.services.appLifeCycle", "restore", {
328
390
  appId: sAppId,
329
391
  sHash: hasher.getHash()
330
392
  });
331
393
  };
332
394
 
333
- //delete(sUrl)
334
- // delete a single entry from the cols start cache
335
- this.delete = function (sUrl) {
336
- var oContainer = BlueBoxesCache.get(sUrl);
337
- if (oBlueBoxContainer[oContainer]) {
338
- delete oBlueBoxContainer[oContainer];
339
- }
340
- BlueBoxesCache.remove(sUrl);
341
- };
342
-
343
-
344
- //get(sUrl)
345
- // Retrieve a single entry from the cols start cache
346
- this.get = function (sUrl) {
347
- return BlueBoxesCache.get(sUrl);
348
- };
349
-
350
- this.getById = function (sId) {
351
- return BlueBoxesCache.getById(sId);
352
- };
353
-
354
- //set(key, value)
355
- // Change or add a new value in the cache
356
- // We overwrite the entry if it already exists
357
- this.set = function (sUrl, oIframe) {
358
- BlueBoxesCache.add(sUrl, oIframe);
359
- };
360
-
361
- //TODO - when this function should return false>
362
- this.findFreeContainerForNewKeepAliveApp = function (sUrl) {
363
- return undefined;
364
- // if (window.QUnit === undefined) {
365
- // return undefined;
366
- // }
367
- //
368
- // var sTmpUrl = sUrl.replaceAll("sap-keep-alive", "sap-temp");
369
- // var oContainerDetailsFromPool = BlueBoxesCache.get(sTmpUrl, true);
370
- // if (oContainerDetailsFromPool) {
371
- // oBlueBoxContainer[oContainerDetailsFromPool.BlueBox] = oContainerDetailsFromPool;
372
- // BlueBoxesCache.add(sUrl, oContainerDetailsFromPool.BlueBox);
373
- // oContainerDetailsFromPool.BlueBox.setProperty("currentAppUrl", "", true);
374
- // oContainerDetailsFromPool.BlueBox.setProperty("isFetchedFromCache", true, true);
375
- // return oContainerDetailsFromPool.BlueBox;
376
- // }
377
- //
378
- // var oContainerToUse = BlueBoxesCache.get(sTmpUrl);
379
- // if (oContainerToUse) {
380
- // BlueBoxesCache.remove(sTmpUrl);
381
- // BlueBoxesCache.add(sUrl, oContainerToUse);
382
- // oContainerToUse.setProperty("currentAppUrl", "", true);
383
- // oContainerToUse.setProperty("isFetchedFromCache", true, true);
384
- // }
385
- //
386
- // return oContainerToUse;
387
- };
388
-
389
- this.returnUnusedKeepAliveContainer = function (oAppContainer) {
390
- return false;
391
- // //currently enabled only for qunits
392
- // if (window.QUnit === undefined) {
393
- // return false;
394
- // }
395
- //
396
- // if (this.isOldVersionOfLegacyApp()) {
397
- // return true;
398
- // }
399
- //
400
- // this.setCapabilities(oAppContainer, [
401
- // {
402
- // service: "sap.ushell.services.appLifeCycle",
403
- // action: "create"
404
- // },
405
- // {
406
- // service: "sap.ushell.services.appLifeCycle",
407
- // action: "destroy"
408
- // }]);
409
- // if (oBlueBoxContainer[oAppContainer].appCapabilities.hasOwnProperty("statefulContainer")) {
410
- // oBlueBoxContainer[oAppContainer].appCapabilities.statefulContainer = true;
411
- // }
412
- //
413
- // var sUrl = oAppContainer.getCurrentAppUrl();
414
- // var sKey = BlueBoxesCache.getBlueBoxCacheKeyValues(sUrl.replaceAll("sap-keep-alive", "sap-temp")).sKey;
415
- // var oHostMainContainer = BlueBoxesCache.get(sKey);
416
- // if (oHostMainContainer) {
417
- // //If we're here, it means that there's already a stateful container Iframe and we need to push
418
- // //this oAppContainer to the keep alive pull container.
419
- // var oDetails = oBlueBoxContainer[oAppContainer];
420
- // BlueBoxesCache.add(sUrl.replaceAll("sap-keep-alive", "sap-temp"), oAppContainer, oDetails);
421
- // this.delete(sUrl);
422
- // } else {
423
- // //If we're - it means that there's NOT a stateful container Iframe and we need to convert
424
- // //this oAppContainer to be the stateful container Iframe.
425
- //
426
- // //Before storing, first delete the entry from oCacheStorage only
427
- // BlueBoxesCache.remove(sUrl);
428
- // //Now, store it as a stateful container entry
429
- // BlueBoxesCache.add(sUrl.replaceAll("sap-keep-alive", "sap-temp"), oAppContainer);
430
- // }
431
- // oAppContainer.setProperty("currentAppUrl", "", true);
432
- // oAppContainer.setProperty("isFetchedFromCache", false, true);
433
- //
434
- // return true;
435
- };
436
-
437
- this.changeAppContainerToKeepAlive = function (oAppContainer) {
438
- };
439
-
440
- this.isOldVersionOfLegacyApp = function () {
441
- return false;
442
- };
443
-
444
- this.isWebGuiV1StatefulContainer = function (sUrl) {
445
- var sKey;
446
-
447
- if (sUrl) {
448
- sKey = this._getBlueBoxCacheKey(sUrl);
449
- return (oGuiV1BlueBoxContainer[sKey] !== undefined);
450
- }
451
- return false;
452
- };
453
-
454
- this.getWebGuiV1StatefulContainer = function (sUrl) {
455
- var sKey;
456
-
457
- if (sUrl) {
458
- sKey = this._getBlueBoxCacheKey(sUrl);
459
- return oGuiV1BlueBoxContainer[sKey];
460
- }
461
- return undefined;
462
- };
463
-
464
- this.setWebGuiV1StatefulContainer = function (oApplicationContainer) {
465
- var sUrl = oApplicationContainer.getUrl(),
466
- sKey;
467
-
468
- if (sUrl) {
469
- sKey = this._getBlueBoxCacheKey(sUrl);
470
- oGuiV1BlueBoxContainer[sKey] = oApplicationContainer;
471
- }
472
- };
473
-
474
- this.removeWebGuiV1StatefulContainer = function (oApplicationContainer) {
475
- var sUrl = oApplicationContainer.getUrl(),
476
- sKey;
477
-
478
- if (sUrl) {
479
- sKey = this._getBlueBoxCacheKey(sUrl);
480
- delete oGuiV1BlueBoxContainer[sKey];
481
- }
482
- };
483
-
484
- /**
485
- * Finds and returns all existing application containers.
486
- *
487
- * @param {object} oGuiV1BlueBoxContainer
488
- * All stateful application containers
489
- *
490
- * @return {array}
491
- * An array containing all the application container objects.
492
- */
493
- this.getWebGuiV1AllApplicationContainers = function () {
494
- return Object.keys(oGuiV1BlueBoxContainer).map(function (sKey) {
495
- return oGuiV1BlueBoxContainer[sKey];
496
- }).filter(function (oApplicationContainer) {
497
- return !!oApplicationContainer;
498
- });
499
- };
500
-
501
395
  this._getStorageForDebug = function () {
502
396
  return {
503
397
  oBlueBoxContainer: oBlueBoxContainer,
504
- oGuiV1BlueBoxContainer: oGuiV1BlueBoxContainer,
505
398
  oBlueBoxesCache: BlueBoxesCache._getStorageForDebug()
506
399
  };
507
400
  };