@sapui5/sap.ushell 1.117.2 → 1.119.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 (510) hide show
  1. package/package.json +6 -5
  2. package/src/main/js/sap/ushell/.library +1 -1
  3. package/src/main/js/sap/ushell/ApplicationType.js +5 -7
  4. package/src/main/js/sap/ushell/CanvasShapesManager.js +13 -7
  5. package/src/main/js/sap/ushell/Config.js +1 -1
  6. package/src/main/js/sap/ushell/Container.js +254 -190
  7. package/src/main/js/sap/ushell/EventHub.js +1 -1
  8. package/src/main/js/sap/ushell/Fiori20Adapter.js +1 -1
  9. package/src/main/js/sap/ushell/Fiori20AdapterTest.js +2 -2
  10. package/src/main/js/sap/ushell/Layout.js +3 -3
  11. package/src/main/js/sap/ushell/NWBCInterface.js +3 -3
  12. package/src/main/js/sap/ushell/SessionHandler.js +4 -4
  13. package/src/main/js/sap/ushell/TechnicalParameters.js +3 -3
  14. package/src/main/js/sap/ushell/UIActions.js +44 -44
  15. package/src/main/js/sap/ushell/URLTemplateProcessor.js +1 -1
  16. package/src/main/js/sap/ushell/Ui5NativeServiceFactory.js +1 -1
  17. package/src/main/js/sap/ushell/Ui5ServiceFactory.js +4 -4
  18. package/src/main/js/sap/ushell/User.js +11 -1
  19. package/src/main/js/sap/ushell/UserActivityLog.js +8 -8
  20. package/src/main/js/sap/ushell/_ApplicationType/guiResolution.js +5 -5
  21. package/src/main/js/sap/ushell/_ApplicationType/systemAlias.js +1 -1
  22. package/src/main/js/sap/ushell/_ApplicationType/urlTemplateResolution.js +75 -62
  23. package/src/main/js/sap/ushell/_ApplicationType/wdaResolution.js +5 -5
  24. package/src/main/js/sap/ushell/_Config/utils.js +5 -5
  25. package/src/main/js/sap/ushell/_URLTemplateProcessor/DefinitionParameterSetBuilder.js +1 -1
  26. package/src/main/js/sap/ushell/_URLTemplateProcessor/DependencyGraph.js +1 -1
  27. package/src/main/js/sap/ushell/_URLTemplateProcessor/Functions.js +1 -1
  28. package/src/main/js/sap/ushell/_URLTemplateProcessor/Resolvers.js +1 -1
  29. package/src/main/js/sap/ushell/_URLTemplateProcessor/TemplateParameterParser.js +1 -1
  30. package/src/main/js/sap/ushell/_URLTemplateProcessor/utils.js +1 -1
  31. package/src/main/js/sap/ushell/adapters/cdm/ClientSideTargetResolutionAdapter.js +15 -9
  32. package/src/main/js/sap/ushell/adapters/cdm/CommonDataModelAdapter.js +4 -5
  33. package/src/main/js/sap/ushell/adapters/cdm/ConfigurationDefaultsAdapter.js +1 -1
  34. package/src/main/js/sap/ushell/adapters/cdm/ContainerAdapter.js +1 -2
  35. package/src/main/js/sap/ushell/adapters/cdm/LaunchPageAdapter.js +12 -13
  36. package/src/main/js/sap/ushell/adapters/cdm/MenuAdapter.js +1 -1
  37. package/src/main/js/sap/ushell/adapters/cdm/PagesCommonDataModelAdapter.js +4 -3
  38. package/src/main/js/sap/ushell/adapters/cdm/PersonalizationAdapter.js +1 -1
  39. package/src/main/js/sap/ushell/adapters/cdm/Ui5ComponentLoaderAdapter.js +1 -1
  40. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/modifyHome.js +2 -2
  41. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readCatalogs.js +1 -1
  42. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readHome.js +1 -1
  43. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/uri.transform.js +1 -1
  44. package/src/main/js/sap/ushell/adapters/cdm/_Personalization/internals.js +1 -1
  45. package/src/main/js/sap/ushell/adapters/cdm/util/AppForInbound.js +5 -2
  46. package/src/main/js/sap/ushell/adapters/cdm/util/cdmSiteUtils.js +4 -1
  47. package/src/main/js/sap/ushell/adapters/cdm/v3/AdapterBase.js +3 -4
  48. package/src/main/js/sap/ushell/adapters/cdm/v3/LaunchPageAdapter.js +10 -11
  49. package/src/main/js/sap/ushell/adapters/cdm/v3/StaticGroupsAdapter.js +1 -1
  50. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readApplications.js +1 -1
  51. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readCatalogs.js +1 -1
  52. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readHome.js +1 -1
  53. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readPages.js +1 -1
  54. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readUtils.js +1 -1
  55. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations.js +11 -9
  56. package/src/main/js/sap/ushell/adapters/cdm/v3/utilsCdm.js +3 -3
  57. package/src/main/js/sap/ushell/adapters/cep/MenuAdapter.js +0 -1
  58. package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionAdapter.js +3 -4
  59. package/src/main/js/sap/ushell/adapters/cep/SearchCEPAdapter.js +3 -2
  60. package/src/main/js/sap/ushell/adapters/cflp/UserDefaultParameterPersistenceAdapter.js +3 -3
  61. package/src/main/js/sap/ushell/adapters/local/AdapterContainer.js +1 -1
  62. package/src/main/js/sap/ushell/adapters/local/AppStateAdapter.js +2 -3
  63. package/src/main/js/sap/ushell/adapters/local/ClientSideTargetResolutionAdapter.js +3 -3
  64. package/src/main/js/sap/ushell/adapters/local/ContainerAdapter.js +1 -3
  65. package/src/main/js/sap/ushell/adapters/local/LaunchPageAdapter.js +2 -3
  66. package/src/main/js/sap/ushell/adapters/local/MenuAdapter.js +1 -1
  67. package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionAdapter.js +3 -2
  68. package/src/main/js/sap/ushell/adapters/local/PageBuildingAdapter.js +1 -1
  69. package/src/main/js/sap/ushell/adapters/local/PagePersistenceAdapter.js +2 -2
  70. package/src/main/js/sap/ushell/adapters/local/PersonalizationAdapter.js +1 -2
  71. package/src/main/js/sap/ushell/adapters/local/SearchAdapter.js +1 -1
  72. package/src/main/js/sap/ushell/adapters/local/SearchCEPAdapter.js +1 -1
  73. package/src/main/js/sap/ushell/adapters/local/SupportTicketAdapter.js +1 -1
  74. package/src/main/js/sap/ushell/adapters/local/Ui5ComponentLoaderAdapter.js +1 -1
  75. package/src/main/js/sap/ushell/adapters/local/UserDefaultParameterPersistenceAdapter.js +1 -2
  76. package/src/main/js/sap/ushell/adapters/local/UserInfoAdapter.js +1 -1
  77. package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntime.js +22 -28
  78. package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntimeContext.js +3 -3
  79. package/src/main/js/sap/ushell/appRuntime/ui5/SessionHandlerAgent.js +10 -0
  80. package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/Renderer.js +5 -3
  81. package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/RendererExtensions.js +31 -3
  82. package/src/main/js/sap/ushell/appRuntime/ui5/services/AppLifeCycleAgent.js +4 -11
  83. package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/Ui5ComponentLoaderAdapter.js +1 -1
  84. package/src/main/js/sap/ushell/bootstrap/SchedulingAgent.js +8 -4
  85. package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/EventProcessor.js +21 -2
  86. package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/FLPLoader.js +1 -1
  87. package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/FLPScheduler.js +23 -7
  88. package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/StepConfiguration.json +4 -3
  89. package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/logger.js +1 -1
  90. package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/state.js +3 -3
  91. package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5.js +3 -2
  92. package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5datetimeformat.js +1 -1
  93. package/src/main/js/sap/ushell/bootstrap/common/common.create.configcontract.core.js +1 -0
  94. package/src/main/js/sap/ushell/bootstrap/common/common.load.core-min.js +2 -2
  95. package/src/main/js/sap/ushell/bootstrap/common/common.load.launchpad.js +7 -3
  96. package/src/main/js/sap/ushell/bootstrap/common/common.load.script.js +4 -4
  97. package/src/main/js/sap/ushell/bootstrap/common/common.util.js +7 -7
  98. package/src/main/js/sap/ushell/bootstrap/sandbox2/sandboxConfig.json +214 -0
  99. package/src/main/js/sap/ushell/bootstrap/sandbox2/sandboxSite.json +511 -0
  100. package/src/main/js/sap/ushell/bootstrap/sandbox2.js +398 -0
  101. package/src/main/js/sap/ushell/components/CatalogsManager.js +26 -25
  102. package/src/main/js/sap/ushell/components/ComponentKeysHandler.js +20 -15
  103. package/src/main/js/sap/ushell/components/DestroyHelper.js +2 -2
  104. package/src/main/js/sap/ushell/components/HeaderManager.js +6 -6
  105. package/src/main/js/sap/ushell/components/HomepageManager.js +6 -6
  106. package/src/main/js/sap/ushell/components/_HeaderManager/ControlManager.js +1 -1
  107. package/src/main/js/sap/ushell/components/_HomepageManager/PagingManager.js +5 -5
  108. package/src/main/js/sap/ushell/components/appfinder/AppFinder.controller.js +19 -15
  109. package/src/main/js/sap/ushell/components/appfinder/AppFinderView.js +12 -12
  110. package/src/main/js/sap/ushell/components/appfinder/Catalog.controller.js +18 -18
  111. package/src/main/js/sap/ushell/components/appfinder/CatalogView.js +17 -18
  112. package/src/main/js/sap/ushell/components/appfinder/EasyAccess.controller.js +2 -2
  113. package/src/main/js/sap/ushell/components/appfinder/HierarchyApps.controller.js +6 -6
  114. package/src/main/js/sap/ushell/components/appfinder/HierarchyAppsView.js +1 -1
  115. package/src/main/js/sap/ushell/components/appfinder/VisualizationOrganizerHelper.js +4 -4
  116. package/src/main/js/sap/ushell/components/appfinder/manifest.json +1 -1
  117. package/src/main/js/sap/ushell/components/applicationIntegration/AppLifeCycle.js +16 -16
  118. package/src/main/js/sap/ushell/components/applicationIntegration/application/Application.js +8 -2
  119. package/src/main/js/sap/ushell/components/applicationIntegration/application/BlueBoxHandler.js +9 -18
  120. package/src/main/js/sap/ushell/components/applicationIntegration/application/PostMessageAPI.js +9 -5
  121. package/src/main/js/sap/ushell/components/applicationIntegration/application/WebGUIStatefulHandler.js +5 -5
  122. package/src/main/js/sap/ushell/components/applicationIntegration/configuration/AppMeta.js +21 -26
  123. package/src/main/js/sap/ushell/components/applicationIntegration/elements/model.js +1 -1
  124. package/src/main/js/sap/ushell/components/applicationIntegration/relatedServices/RelatedServices.js +1 -1
  125. package/src/main/js/sap/ushell/components/applicationIntegration/relatedShellElements/RelatedShellElements.js +2 -4
  126. package/src/main/js/sap/ushell/components/cards/Configuration.controller.js +2 -2
  127. package/src/main/js/sap/ushell/components/cepsearchresult/app/Main.controller.js +6 -2
  128. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/Category.js +44 -6
  129. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/categories/Application.js +22 -9
  130. package/src/main/js/sap/ushell/components/container/ApplicationContainer.js +25 -23
  131. package/src/main/js/sap/ushell/components/contentFinder/Component.js +1 -1
  132. package/src/main/js/sap/ushell/components/contentFinder/controller/AppSearch.controller.js +3 -3
  133. package/src/main/js/sap/ushell/components/contentFinder/controller/ContentFinderDialog.controller.js +1 -1
  134. package/src/main/js/sap/ushell/components/contentFinder/controller/WidgetGallery.controller.js +1 -1
  135. package/src/main/js/sap/ushell/components/contentFinder/manifest.json +4 -2
  136. package/src/main/js/sap/ushell/components/contentFinder/view/AppSearch.view.xml +37 -17
  137. package/src/main/js/sap/ushell/components/contentFinder/view/AppSearchBox.fragment.xml +111 -35
  138. package/src/main/js/sap/ushell/components/contentFinder/view/AppSearchPaginated.view.xml +37 -18
  139. package/src/main/js/sap/ushell/components/contentFinder/view/ContentFinderDialog.view.xml +24 -15
  140. package/src/main/js/sap/ushell/components/contentFinder/view/WidgetGallery.view.xml +67 -39
  141. package/src/main/js/sap/ushell/components/factsheet/Component.js +1 -1
  142. package/src/main/js/sap/ushell/components/factsheet/controls/PictureTile.js +1 -2
  143. package/src/main/js/sap/ushell/components/factsheet/controls/PictureViewer.js +5 -6
  144. package/src/main/js/sap/ushell/components/factsheet/controls/PictureViewerItem.js +1 -2
  145. package/src/main/js/sap/ushell/components/factsheet/factory/ThingInspector.js +3 -3
  146. package/src/main/js/sap/ushell/components/factsheet/tools/ODataUrlTemplating.js +1 -1
  147. package/src/main/js/sap/ushell/components/homeApp/error/HomeAppError.controller.js +0 -1
  148. package/src/main/js/sap/ushell/components/homeApp/error/HomeAppError.view.xml +7 -6
  149. package/src/main/js/sap/ushell/components/homepage/ActionMode.js +1 -1
  150. package/src/main/js/sap/ushell/components/homepage/DashboardContent.controller.js +2 -7
  151. package/src/main/js/sap/ushell/components/homepage/DashboardContent.view.js +13 -13
  152. package/src/main/js/sap/ushell/components/homepage/DashboardGroupsBox.js +1 -1
  153. package/src/main/js/sap/ushell/components/homepage/DashboardUIActions.js +1 -1
  154. package/src/main/js/sap/ushell/components/homepage/manifest.json +1 -1
  155. package/src/main/js/sap/ushell/components/pages/ActionMode.js +10 -10
  156. package/src/main/js/sap/ushell/components/pages/Component.js +1 -1
  157. package/src/main/js/sap/ushell/components/pages/MyHomeImport.js +1 -1
  158. package/src/main/js/sap/ushell/components/pages/StateManager.js +2 -2
  159. package/src/main/js/sap/ushell/components/pages/controller/ImportDialog.controller.js +12 -12
  160. package/src/main/js/sap/ushell/components/pages/controller/PageRuntime.controller.js +94 -96
  161. package/src/main/js/sap/ushell/components/pages/manifest.json +1 -1
  162. package/src/main/js/sap/ushell/components/pages/view/PageRuntime.view.xml +31 -23
  163. package/src/main/js/sap/ushell/components/runtimeSwitcher/controller/RuntimeSwitcher.controller.js +1 -1
  164. package/src/main/js/sap/ushell/components/runtimeSwitcher/manifest.json +1 -1
  165. package/src/main/js/sap/ushell/components/shell/MenuBar/controller/MenuBar.controller.js +7 -6
  166. package/src/main/js/sap/ushell/components/shell/MenuBar/manifest.json +1 -1
  167. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenu.controller.js +1 -1
  168. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/manifest.json +2 -2
  169. package/src/main/js/sap/ushell/components/shell/Notifications/Component.js +1 -1
  170. package/src/main/js/sap/ushell/components/shell/Notifications/Notifications.controller.js +3 -3
  171. package/src/main/js/sap/ushell/components/shell/ProductSwitch/Component.js +1 -1
  172. package/src/main/js/sap/ushell/components/shell/Search/ESearch.js +1 -1
  173. package/src/main/js/sap/ushell/components/shell/Search/manifest.json +1 -1
  174. package/src/main/js/sap/ushell/components/shell/SearchCEP/Component.js +2 -2
  175. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchCEP.controller.js +74 -16
  176. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchFieldFragment.fragment.xml +2 -1
  177. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/FrequentActivityProvider.js +1 -2
  178. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/RecentSearchProvider.js +1 -2
  179. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchProvider.js +1 -1
  180. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchServiceProvider.js +1 -2
  181. package/src/main/js/sap/ushell/components/shell/Settings/Component.js +1 -1
  182. package/src/main/js/sap/ushell/components/shell/Settings/ErrorMessageHelper.js +8 -9
  183. package/src/main/js/sap/ushell/components/shell/Settings/UserSettings.controller.js +3 -3
  184. package/src/main/js/sap/ushell/components/shell/Settings/appearance/Appearance.controller.js +43 -40
  185. package/src/main/js/sap/ushell/components/shell/Settings/notifications/NotificationsSetting.controller.js +1 -1
  186. package/src/main/js/sap/ushell/components/shell/Settings/userActivities/UserActivitiesSetting.controller.js +2 -2
  187. package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/UserDefaultsForm.js +1 -1
  188. package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/controller/UserDefaultsSetting.controller.js +8 -4
  189. package/src/main/js/sap/ushell/components/shell/Settings/userLanguageRegion/LanguageRegionSelector.controller.js +65 -17
  190. package/src/main/js/sap/ushell/components/shell/Settings/userLanguageRegion/LanguageRegionSelector.view.xml +18 -1
  191. package/src/main/js/sap/ushell/components/shell/UserActionsMenu/Component.js +1 -1
  192. package/src/main/js/sap/ushell/components/shell/UserImage/Component.js +1 -1
  193. package/src/main/js/sap/ushell/components/tiles/applauncher/Configuration.view.xml +2 -2
  194. package/src/main/js/sap/ushell/components/tiles/applauncher/StaticTile.view.js +0 -2
  195. package/src/main/js/sap/ushell/components/tiles/applauncher/StaticTileTmp.view.js +0 -2
  196. package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/Configuration.view.xml +2 -2
  197. package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/DynamicTileTmp.view.js +0 -2
  198. package/src/main/js/sap/ushell/components/tiles/cdm/applauncher/StaticTile.view.js +0 -2
  199. package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/DynamicTile.controller.js +1 -1
  200. package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/DynamicTile.view.js +0 -2
  201. package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/oData4Analytics.js +41 -48
  202. package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/smartBusinessUtil.js +3 -3
  203. package/src/main/js/sap/ushell/components/tiles/utils.js +4 -3
  204. package/src/main/js/sap/ushell/components/visualizationOrganizer/Component.js +5 -18
  205. package/src/main/js/sap/ushell/components/visualizationOrganizer/VisualizationOrganizerPopover.fragment.xml +3 -3
  206. package/src/main/js/sap/ushell/components/workPageBuilder/Component.js +1 -1
  207. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.accessibility.js +1 -1
  208. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.controller.js +332 -153
  209. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.layout.js +182 -90
  210. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageHost.js +2 -2
  211. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPage.js +9 -11
  212. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageButton.js +48 -48
  213. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageCell.js +12 -12
  214. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumn.js +8 -8
  215. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnRenderer.js +7 -9
  216. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnResizer.js +44 -44
  217. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRenderer.js +7 -4
  218. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRow.js +60 -10
  219. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRowRenderer.js +12 -8
  220. package/src/main/js/sap/ushell/components/workPageBuilder/manifest.json +8 -1
  221. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources.properties +10 -2
  222. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ar.properties +10 -6
  223. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_bg.properties +10 -6
  224. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ca.properties +10 -6
  225. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_cs.properties +10 -6
  226. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_cy.properties +10 -6
  227. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_da.properties +10 -6
  228. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_de.properties +11 -7
  229. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_el.properties +10 -6
  230. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_en.properties +6 -2
  231. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_en_GB.properties +6 -2
  232. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_en_US_sappsd.properties +6 -2
  233. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_en_US_saprigi.properties +6 -2
  234. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_en_US_saptrc.properties +13 -6
  235. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_es.properties +10 -6
  236. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_es_MX.properties +10 -6
  237. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_et.properties +10 -6
  238. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_fi.properties +11 -7
  239. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_fr.properties +10 -6
  240. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_fr_CA.properties +10 -6
  241. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_hi.properties +10 -6
  242. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_hr.properties +10 -6
  243. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_hu.properties +10 -6
  244. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_id.properties +10 -6
  245. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_it.properties +11 -7
  246. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_iw.properties +10 -6
  247. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ja.properties +11 -7
  248. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_kk.properties +10 -6
  249. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ko.properties +10 -6
  250. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_lt.properties +10 -6
  251. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_lv.properties +10 -6
  252. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ms.properties +10 -6
  253. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_nl.properties +10 -6
  254. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_no.properties +11 -7
  255. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_pl.properties +10 -6
  256. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_pt.properties +10 -6
  257. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_pt_PT.properties +10 -6
  258. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ro.properties +10 -6
  259. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ru.properties +10 -6
  260. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_sh.properties +10 -6
  261. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_sk.properties +10 -6
  262. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_sl.properties +10 -6
  263. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_sv.properties +10 -6
  264. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_th.properties +10 -6
  265. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_tr.properties +10 -6
  266. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_uk.properties +10 -6
  267. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_vi.properties +10 -6
  268. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_zh_CN.properties +10 -6
  269. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_zh_TW.properties +10 -6
  270. package/src/main/js/sap/ushell/components/workPageBuilder/view/WorkPageBuilder.view.xml +50 -34
  271. package/src/main/js/sap/ushell/components/workPageBuilder/view/WorkPageCellDeleteDialog.fragment.xml +25 -0
  272. package/src/main/js/sap/ushell/components/workPageBuilder/view/WorkPageRowDeleteDialog.fragment.xml +13 -5
  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 +7 -3
  275. package/src/main/js/sap/ushell/components/workPageRuntime/manifest.json +5 -1
  276. package/src/main/js/sap/ushell/components/workPageRuntime/services/NavigationResolver.js +1 -2
  277. package/src/main/js/sap/ushell/components/workPageRuntime/services/WorkPage.js +1 -2
  278. package/src/main/js/sap/ushell/components/workPageRuntime/view/WorkPageRuntime.view.xml +5 -4
  279. package/src/main/js/sap/ushell/designtime/ApplicationContainer.designtime.js +1 -1
  280. package/src/main/js/sap/ushell/library.js +4 -2
  281. package/src/main/js/sap/ushell/navigationMode.js +111 -122
  282. package/src/main/js/sap/ushell/override.js +1 -1
  283. package/src/main/js/sap/ushell/performance/FesrEnhancer.js +258 -183
  284. package/src/main/js/sap/ushell/performance/ShellAnalytics.js +206 -207
  285. package/src/main/js/sap/ushell/performance/StatisticalRecord.js +366 -230
  286. package/src/main/js/sap/ushell/plugins/appwarmup/Component.js +1 -1
  287. package/src/main/js/sap/ushell/renderers/fiori2/LogonFrameProvider.js +2 -2
  288. package/src/main/js/sap/ushell/renderers/fiori2/Renderer.js +39 -23
  289. package/src/main/js/sap/ushell/renderers/fiori2/RendererExtensions.js +105 -25
  290. package/src/main/js/sap/ushell/renderers/fiori2/Shell.controller.js +67 -50
  291. package/src/main/js/sap/ushell/renderers/fiori2/ShellLayout.js +1 -1
  292. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources.properties +21 -1
  293. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_ar.properties +12 -1
  294. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_bg.properties +12 -1
  295. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_ca.properties +12 -1
  296. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_cs.properties +12 -1
  297. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_cy.properties +12 -1
  298. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_da.properties +12 -1
  299. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_de.properties +15 -4
  300. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_el.properties +12 -1
  301. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_en.properties +11 -0
  302. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_en_GB.properties +11 -0
  303. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_en_US_sappsd.properties +11 -0
  304. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_en_US_saprigi.properties +11 -0
  305. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_en_US_saptrc.properties +12 -0
  306. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_es.properties +12 -1
  307. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_es_MX.properties +14 -3
  308. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_et.properties +12 -1
  309. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_fi.properties +12 -1
  310. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_fr.properties +12 -1
  311. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_fr_CA.properties +12 -1
  312. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_hi.properties +12 -1
  313. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_hr.properties +12 -1
  314. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_hu.properties +12 -1
  315. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_id.properties +12 -1
  316. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_it.properties +12 -1
  317. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_iw.properties +16 -5
  318. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_ja.properties +12 -1
  319. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_kk.properties +12 -1
  320. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_ko.properties +13 -2
  321. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_lt.properties +12 -1
  322. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_lv.properties +12 -1
  323. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_ms.properties +12 -1
  324. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_nl.properties +12 -1
  325. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_no.properties +12 -1
  326. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_pl.properties +12 -1
  327. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_pt.properties +12 -1
  328. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_pt_PT.properties +12 -1
  329. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_ro.properties +12 -1
  330. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_ru.properties +12 -1
  331. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_sh.properties +12 -1
  332. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_sk.properties +12 -1
  333. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_sl.properties +12 -1
  334. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_sv.properties +12 -1
  335. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_th.properties +12 -1
  336. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_tr.properties +12 -1
  337. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_uk.properties +12 -1
  338. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_vi.properties +12 -1
  339. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_zh_CN.properties +12 -1
  340. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_zh_TW.properties +12 -1
  341. package/src/main/js/sap/ushell/renderers/fiori2/search/searchComponent/controller/CEPSearchApp.controller.js +4 -4
  342. package/src/main/js/sap/ushell/renderers/fiori2/search/searchComponent/controller/SearchApp.controller.js +3 -3
  343. package/src/main/js/sap/ushell/renderers/fiori2/search/searchComponent/manifest.json +1 -1
  344. package/src/main/js/sap/ushell/renderers/fiori2/search/searchComponent/view/CEPSearchApp.view.js +4 -3
  345. package/src/main/js/sap/ushell/renderers/fiori2/search/searchComponent/view/SearchApp.view.js +4 -3
  346. package/src/main/js/sap/ushell/services/AppConfiguration.js +3 -3
  347. package/src/main/js/sap/ushell/services/AppLifeCycle.js +1 -1
  348. package/src/main/js/sap/ushell/services/AppState.js +2 -3
  349. package/src/main/js/sap/ushell/services/Bookmark.js +1 -1
  350. package/src/main/js/sap/ushell/services/ClientSideTargetResolution.js +97 -101
  351. package/src/main/js/sap/ushell/services/CommonDataModel.js +4 -5
  352. package/src/main/js/sap/ushell/services/Configuration.js +1 -2
  353. package/src/main/js/sap/ushell/services/ConfigurationDefaults.js +2 -2
  354. package/src/main/js/sap/ushell/services/ContentExtensionAdapterFactory.js +1 -1
  355. package/src/main/js/sap/ushell/services/CrossApplicationNavigation.js +36 -33
  356. package/src/main/js/sap/ushell/services/DarkModeSupport.js +2 -2
  357. package/src/main/js/sap/ushell/services/EndUserFeedback.js +2 -2
  358. package/src/main/js/sap/ushell/services/LaunchPage.js +11 -8
  359. package/src/main/js/sap/ushell/services/Menu.js +31 -37
  360. package/src/main/js/sap/ushell/services/Message.js +1 -2
  361. package/src/main/js/sap/ushell/services/MessageBroker.js +1 -2
  362. package/src/main/js/sap/ushell/services/NavTargetResolution.js +70 -43
  363. package/src/main/js/sap/ushell/services/Navigation.js +1356 -0
  364. package/src/main/js/sap/ushell/services/NavigationDataProvider.js +7 -5
  365. package/src/main/js/sap/ushell/services/Notifications.js +16 -16
  366. package/src/main/js/sap/ushell/services/PageBuilding.js +1 -2
  367. package/src/main/js/sap/ushell/services/PagePersistence.js +6 -6
  368. package/src/main/js/sap/ushell/services/PageReferencing.js +2 -2
  369. package/src/main/js/sap/ushell/services/Pages.js +24 -25
  370. package/src/main/js/sap/ushell/services/Personalization.js +5 -5
  371. package/src/main/js/sap/ushell/services/PluginManager.js +1 -2
  372. package/src/main/js/sap/ushell/services/ReferenceResolver.js +2 -2
  373. package/src/main/js/sap/ushell/services/Search.js +1 -1
  374. package/src/main/js/sap/ushell/services/SearchCEP.js +2 -1
  375. package/src/main/js/sap/ushell/services/SearchableContent.js +85 -59
  376. package/src/main/js/sap/ushell/services/ShellNavigation.js +59 -17
  377. package/src/main/js/sap/ushell/services/ShellNavigationHashChanger.js +115 -39
  378. package/src/main/js/sap/ushell/services/SmartNavigation.js +4 -4
  379. package/src/main/js/sap/ushell/services/SpaceContent.js +5 -6
  380. package/src/main/js/sap/ushell/services/SupportTicket.js +1 -1
  381. package/src/main/js/sap/ushell/services/UITracer.js +5 -3
  382. package/src/main/js/sap/ushell/services/URLShortening.js +2 -2
  383. package/src/main/js/sap/ushell/services/URLTemplate.js +2 -2
  384. package/src/main/js/sap/ushell/services/Ui5ComponentLoader.js +7 -7
  385. package/src/main/js/sap/ushell/services/UserDefaultParameterPersistence.js +1 -2
  386. package/src/main/js/sap/ushell/services/UserDefaultParameters.js +9 -8
  387. package/src/main/js/sap/ushell/services/UserInfo.js +8 -1
  388. package/src/main/js/sap/ushell/services/UserRecents.js +91 -69
  389. package/src/main/js/sap/ushell/services/VisualizationDataProvider.js +10 -6
  390. package/src/main/js/sap/ushell/services/VisualizationInstantiation.js +1 -3
  391. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Formatter.js +1 -1
  392. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/InboundIndex.js +1 -1
  393. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/InboundProvider.js +2 -5
  394. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/PrelaunchOperations.js +2 -2
  395. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Search.js +11 -11
  396. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/StagedLogger.js +1 -1
  397. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/SystemContext.js +1 -1
  398. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Utils.js +6 -6
  399. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/VirtualInbounds.js +1 -1
  400. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/XAppStateProcessing.js +6 -26
  401. package/src/main/js/sap/ushell/services/_CommonDataModel/PersonalizationProcessor.js +1 -2
  402. package/src/main/js/sap/ushell/services/_CommonDataModel/SiteConverter.js +1 -1
  403. package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/ContentExtensionAdapterConfig.js +1 -1
  404. package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/FeaturedGroupConfig.js +2 -2
  405. package/src/main/js/sap/ushell/services/_CrossApplicationNavigation/utils.js +9 -14
  406. package/src/main/js/sap/ushell/services/_MessageBroker/MessageBrokerEngine.js +1 -1
  407. package/src/main/js/sap/ushell/services/_PageReferencing/PageReferencer.js +1 -1
  408. package/src/main/js/sap/ushell/services/_Personalization/ContextContainer.js +34 -21
  409. package/src/main/js/sap/ushell/services/_Personalization/Variant.js +5 -2
  410. package/src/main/js/sap/ushell/services/_Personalization/VariantSet.js +18 -12
  411. package/src/main/js/sap/ushell/services/_Personalization/utils.js +2 -2
  412. package/src/main/js/sap/ushell/services/_PluginManager/Extensions.js +1 -1
  413. package/src/main/js/sap/ushell/services/_PluginManager/HeaderExtensions.js +3 -3
  414. package/src/main/js/sap/ushell/services/_PluginManager/MenuExtensions.js +1 -1
  415. package/src/main/js/sap/ushell/services/_Ui5ComponentLoader/utils.js +1 -1
  416. package/src/main/js/sap/ushell/services/_UserRecents/RecentActivity.js +206 -214
  417. package/src/main/js/sap/ushell/services/_UserRecents/RecentAppsUsage.js +46 -54
  418. package/src/main/js/sap/ushell/services/_UserRecents/RecentsList.js +39 -40
  419. package/src/main/js/sap/ushell/services/_UserRecents/UserRecentsBase.js +29 -36
  420. package/src/main/js/sap/ushell/services/_VisualizationInstantiation/VizInstance.js +1 -1
  421. package/src/main/js/sap/ushell/services/_VisualizationInstantiation/VizInstanceAbap.js +1 -1
  422. package/src/main/js/sap/ushell/services/_VisualizationInstantiation/VizInstanceCdm.js +1 -1
  423. package/src/main/js/sap/ushell/services/_VisualizationInstantiation/VizInstanceLaunchPage.js +10 -8
  424. package/src/main/js/sap/ushell/services/_VisualizationInstantiation/VizInstanceLink.js +2 -2
  425. package/src/main/js/sap/ushell/services/appstate/LimitedBuffer.js +1 -2
  426. package/src/main/js/sap/ushell/services/appstate/Sequentializer.js +1 -1
  427. package/src/main/js/sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin.js +1 -1
  428. package/src/main/js/sap/ushell/themes/base/ContentFinder.less +8 -12
  429. package/src/main/js/sap/ushell/themes/base/SearchCEP.less +11 -4
  430. package/src/main/js/sap/ushell/themes/base/ShellHeader.less +0 -4
  431. package/src/main/js/sap/ushell/themes/base/UserSettings.less +3 -46
  432. package/src/main/js/sap/ushell/themes/base/WorkPage.less +39 -10
  433. package/src/main/js/sap/ushell/themes/base/WorkPageButton.less +7 -7
  434. package/src/main/js/sap/ushell/themes/base/WorkPageCell.less +48 -45
  435. package/src/main/js/sap/ushell/themes/base/WorkPageColumn.less +7 -69
  436. package/src/main/js/sap/ushell/themes/base/WorkPageColumnResizer.less +43 -38
  437. package/src/main/js/sap/ushell/themes/base/WorkPageRow.less +879 -29
  438. package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.eot +0 -0
  439. package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.ttf +0 -0
  440. package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.woff +0 -0
  441. package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.woff2 +0 -0
  442. package/src/main/js/sap/ushell/themes/sap_horizon/SearchCEP.less +5 -1
  443. package/src/main/js/sap/ushell/themes/sap_horizon/ToolAreaItem.less +1 -1
  444. package/src/main/js/sap/ushell/themes/sap_horizon/WorkPageCell.less +2 -1
  445. package/src/main/js/sap/ushell/themes/sap_horizon_dark/SearchCEP.less +5 -1
  446. package/src/main/js/sap/ushell/themes/sap_horizon_dark/ToolAreaItem.less +1 -1
  447. package/src/main/js/sap/ushell/themes/sap_horizon_dark/WorkPageCell.less +2 -1
  448. package/src/main/js/sap/ushell/themes/sap_horizon_hcb/SearchCEP.less +5 -1
  449. package/src/main/js/sap/ushell/themes/sap_horizon_hcb/WorkPageCell.less +2 -1
  450. package/src/main/js/sap/ushell/themes/sap_horizon_hcw/SearchCEP.less +5 -1
  451. package/src/main/js/sap/ushell/themes/sap_horizon_hcw/WorkPageCell.less +2 -1
  452. package/src/main/js/sap/ushell/ui/AppContainer.js +0 -1
  453. package/src/main/js/sap/ushell/ui/ContentNodeSelector.js +1 -1
  454. package/src/main/js/sap/ushell/ui/QuickAccess.js +2 -2
  455. package/src/main/js/sap/ushell/ui/ShellHeader.js +0 -33
  456. package/src/main/js/sap/ushell/ui/ShellHeaderRenderer.js +16 -2
  457. package/src/main/js/sap/ushell/ui/appfinder/AppBox.js +0 -1
  458. package/src/main/js/sap/ushell/ui/bookmark/SaveOnPage.view.xml +6 -6
  459. package/src/main/js/sap/ushell/ui/cards/FrequentActivitiesExtension.js +1 -1
  460. package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +1 -1
  461. package/src/main/js/sap/ushell/ui/footerbar/AboutButton.js +0 -1
  462. package/src/main/js/sap/ushell/ui/footerbar/AddBookmarkButton.js +35 -20
  463. package/src/main/js/sap/ushell/ui/footerbar/ContactSupportButton.js +5 -5
  464. package/src/main/js/sap/ushell/ui/footerbar/JamDiscussButton.js +13 -12
  465. package/src/main/js/sap/ushell/ui/footerbar/JamShareButton.js +30 -23
  466. package/src/main/js/sap/ushell/ui/footerbar/LogoutButton.js +0 -1
  467. package/src/main/js/sap/ushell/ui/footerbar/SaveAsTile.view.js +1 -12
  468. package/src/main/js/sap/ushell/ui/footerbar/SendAsEmailButton.js +0 -1
  469. package/src/main/js/sap/ushell/ui/launchpad/ActionItem.js +0 -1
  470. package/src/main/js/sap/ushell/ui/launchpad/AnchorItem.js +0 -1
  471. package/src/main/js/sap/ushell/ui/launchpad/AnchorNavigationBar.js +0 -1
  472. package/src/main/js/sap/ushell/ui/launchpad/ExtendedChangeDetection.js +1 -1
  473. package/src/main/js/sap/ushell/ui/launchpad/FailedTileDialog.js +4 -4
  474. package/src/main/js/sap/ushell/ui/launchpad/GroupHeaderActions.js +0 -1
  475. package/src/main/js/sap/ushell/ui/launchpad/GroupListItem.js +0 -1
  476. package/src/main/js/sap/ushell/ui/launchpad/LinkTileWrapper.js +1 -1
  477. package/src/main/js/sap/ushell/ui/launchpad/LoadingDialog.js +0 -1
  478. package/src/main/js/sap/ushell/ui/launchpad/Page.js +1 -1
  479. package/src/main/js/sap/ushell/ui/launchpad/PlusTile.js +0 -1
  480. package/src/main/js/sap/ushell/ui/launchpad/Section.js +3 -3
  481. package/src/main/js/sap/ushell/ui/launchpad/Tile.js +0 -1
  482. package/src/main/js/sap/ushell/ui/launchpad/TileContainer.js +0 -1
  483. package/src/main/js/sap/ushell/ui/launchpad/TileContainerRenderer.js +3 -3
  484. package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.js +4 -5
  485. package/src/main/js/sap/ushell/ui/shell/RightFloatingContainer.js +1 -1
  486. package/src/main/js/sap/ushell/ui/shell/ShellAppTitle.js +3 -2
  487. package/src/main/js/sap/ushell/ui/shell/ShellHeadItem.js +7 -8
  488. package/src/main/js/sap/ushell/ui/shell/SysInfoBar.js +5 -4
  489. package/src/main/js/sap/ushell/ui/shell/ToolAreaItem.js +1 -2
  490. package/src/main/js/sap/ushell/ui/tile/DynamicTile.js +0 -1
  491. package/src/main/js/sap/ushell/ui/tile/ImageTile.js +0 -1
  492. package/src/main/js/sap/ushell/ui/tile/StaticTile.js +0 -1
  493. package/src/main/js/sap/ushell/ui/tile/TileBase.js +0 -1
  494. package/src/main/js/sap/ushell/ui/utils.js +1 -1
  495. package/src/main/js/sap/ushell/ui5service/ShellUIService.js +1 -1
  496. package/src/main/js/sap/ushell/ui5service/UserStatus.js +1 -1
  497. package/src/main/js/sap/ushell/ui5service/_ShellUIService/shelluiservice.class.factory.js +1 -1
  498. package/src/main/js/sap/ushell/utils/DynamicTileRequest.js +353 -323
  499. package/src/main/js/sap/ushell/utils/HttpClient.js +0 -1
  500. package/src/main/js/sap/ushell/utils/RestrictedJSONModel.js +1 -1
  501. package/src/main/js/sap/ushell/utils/UrlParsing.js +18 -14
  502. package/src/main/js/sap/ushell/utils/UrlShortening.js +2 -2
  503. package/src/main/js/sap/ushell/utils/objectOperations.js +1 -1
  504. package/src/main/js/sap/ushell/utils/type.js +1 -1
  505. package/src/main/js/sap/ushell/utils/utilsCdm.js +3 -3
  506. package/src/main/js/sap/ushell/utils.js +167 -37
  507. package/src/test/js/sap/ushell/bootstrap/sandbox.js +2 -2
  508. package/ui5.yaml +2 -1
  509. package/src/main/js/sap/ushell/appRuntime/ui5/services/Menu.js +0 -22
  510. package/src/main/js/sap/ushell/utils/clone.js +0 -167
@@ -2,7 +2,7 @@
2
2
  /**
3
3
  * @fileOverview ActionMode for the PageRuntime view
4
4
  *
5
- * @version 1.117.2
5
+ * @version 1.119.0
6
6
  */
7
7
 
8
8
  sap.ui.define([
@@ -35,7 +35,7 @@ sap.ui.define([
35
35
  oController.getView().getModel("viewSettings").setProperty("/actionModeEditActive", true);
36
36
  }
37
37
  oController.getView().getModel("viewSettings").setProperty("/actionModeActive", true);
38
- oController.handleMyHomeActionMode(true).catch(oController._onError.bind(oController));
38
+ oController.handleMyHomeActionMode(true).catch(oController.navigateToErrorPage.bind(oController));
39
39
 
40
40
  EventHub.emit("enableMenuBarNavigation", false);
41
41
 
@@ -83,7 +83,7 @@ sap.ui.define([
83
83
  ActionMode._cleanup = function () {
84
84
  this.oController.getView().getModel("viewSettings").setProperty("/actionModeActive", false);
85
85
  this.oController.getView().getModel("viewSettings").setProperty("/actionModeEditActive", false);
86
- this.oController.handleMyHomeActionMode(false).catch(this.oController._onError.bind(this.oController));
86
+ this.oController.handleMyHomeActionMode(false).catch(this.oController.navigateToErrorPage.bind(this.oController));
87
87
  EventHub.emit("enableMenuBarNavigation", true);
88
88
 
89
89
  var oActionModeButton = Core.byId("ActionModeBtn");
@@ -136,7 +136,7 @@ sap.ui.define([
136
136
  * @param {sap.ui.core.Control} oSource Source control
137
137
  * @param {object} oParameters Event parameters
138
138
  *
139
- * @returns {Promise<void>} A promise that is resolved when the Pages service is retrieved.
139
+ * @returns {Promise<undefined>} A promise that is resolved when the Pages service is retrieved.
140
140
  *
141
141
  * @private
142
142
  * @since 1.75.0
@@ -170,7 +170,7 @@ sap.ui.define([
170
170
  * @param {sap.ui.base.Event} oEvent Event object
171
171
  * @param {sap.ui.core.Control} oSource Source control
172
172
  *
173
- * @returns {Promise<void>} A promise that is resolved when the Pages service is retrieved.
173
+ * @returns {Promise<undefined>} A promise that is resolved when the Pages service is retrieved.
174
174
  *
175
175
  * @private
176
176
  * @since 1.75.0
@@ -179,7 +179,7 @@ sap.ui.define([
179
179
  return sap.ushell.Container.getServiceAsync("Message").then(function (oMessageService) {
180
180
  var sTitle = oSource.getTitle();
181
181
  var sMsg = sTitle
182
- ? resources.i18n.getText("PageRuntime.Message.Section.Delete", sTitle)
182
+ ? resources.i18n.getText("PageRuntime.Message.Section.Delete", [sTitle])
183
183
  : resources.i18n.getText("PageRuntime.Message.Section.DeleteNoTitle");
184
184
  var sMsgTitle = resources.i18n.getText("PageRuntime.Dialog.Title.Delete");
185
185
 
@@ -233,7 +233,7 @@ sap.ui.define([
233
233
  * @param {sap.ui.base.Event} oEvent Event object
234
234
  * @param {sap.ui.core.Control} oSection Source control
235
235
  *
236
- * @returns {Promise<void>} A promise that is resolved when the Pages service is retrieved.
236
+ * @returns {Promise<undefined>} A promise that is resolved when the Pages service is retrieved.
237
237
  *
238
238
  * @private
239
239
  * @since 1.75.0
@@ -259,7 +259,7 @@ sap.ui.define([
259
259
  * @param {sap.ui.core.Control} oSource Source control
260
260
  * @param {object} oParameters Event parameters
261
261
  *
262
- * @returns {Promise<void>} A promise that is resolved when the Pages service is retrieved.
262
+ * @returns {Promise<undefined>} A promise that is resolved when the Pages service is retrieved.
263
263
  *
264
264
  * @private
265
265
  * @since 1.75.0
@@ -285,7 +285,7 @@ sap.ui.define([
285
285
  * @param {sap.ui.core.Control} oSource Source control
286
286
  * @param {object} oParameters Event parameters
287
287
  *
288
- * @returns {Promise<void>} A promise that is resolved when the Pages service is retrieved.
288
+ * @returns {Promise<undefined>} A promise that is resolved when the Pages service is retrieved.
289
289
  *
290
290
  * @private
291
291
  * @since 1.75.0
@@ -330,7 +330,7 @@ sap.ui.define([
330
330
  * @param {sap.ui.core.Control} oSource Source control
331
331
  * @param {object} oParameters Event parameters
332
332
  *
333
- * @returns {Promise<void>} A promise that is resolved when the Pages service is retrieved.
333
+ * @returns {Promise<undefined>} A promise that is resolved when the Pages service is retrieved.
334
334
  *
335
335
  * @private
336
336
  * @since 1.75.0
@@ -5,7 +5,7 @@
5
5
  * #Shell-home or #Launchpad-openFLPPage if spaces are enabled (/core/spaces/enabled).
6
6
  * In the future it should completely replace the classical homepage.
7
7
  *
8
- * @version 1.117.2
8
+ * @version 1.119.0
9
9
  */
10
10
 
11
11
  sap.ui.define([
@@ -2,7 +2,7 @@
2
2
  /**
3
3
  * @fileOverview MyHome migrate functionality for the PageRuntime view
4
4
  *
5
- * @version 1.117.2
5
+ * @version 1.119.0
6
6
  */
7
7
 
8
8
  sap.ui.define([
@@ -88,7 +88,7 @@ sap.ui.define([
88
88
  * @since 1.72.0
89
89
  */
90
90
  StateManager._setCurrentPageVisibility = function (visibility, refresh, navFromErrorPage) {
91
- if (this.oPagesRuntimeNavContainer.getCurrentPage().isA("sap.m.MessagePage") && !navFromErrorPage) {
91
+ if (this.oPagesRuntimeNavContainer.getCurrentPage().isA("sap.m.IllustratedMessage") && !navFromErrorPage) {
92
92
  return;
93
93
  }
94
94
  var oCurrentPage = this.oPagesNavContainer.getCurrentPage();
@@ -258,7 +258,7 @@ sap.ui.define([
258
258
  * @since 1.74.0
259
259
  */
260
260
  StateManager.exit = function () {
261
- this.oEventBus.unsubscribe("sap.ushell", "navigated", this._onPageNavigated, this);
261
+ this.oEventBus.unsubscribe("sap.ushell", "navigated", this._onShellNavigated, this);
262
262
  document.removeEventListener("visibilitychange", this._onTabNavigatedBind);
263
263
  this.oPagesNavContainer.detachNavigate(this._onPageNavigated, this);
264
264
  this.oPagesRuntimeNavContainer.detachNavigate(this._onErrorPageNavigated, this);
@@ -128,8 +128,8 @@ sap.ui.define([
128
128
  *
129
129
  * @param {sap.ushell.services.Pages} pagesService The Pages service instance.
130
130
  * @param {object} group The group to which the visualization is added.
131
- * @param {number} index the index of the section, the new visualization should be added to.
132
- * @param {number} iTargetVizIndex The target visualization index.
131
+ * @param {int} index the index of the section, the new visualization should be added to.
132
+ * @param {int} iTargetVizIndex The target visualization index.
133
133
  * @param {boolean} defaultGroupImported Indicates if the default group has already been imported.
134
134
  * @returns {Promise} A promise resolving when the visualization has been moved.
135
135
  * @private
@@ -151,8 +151,8 @@ sap.ui.define([
151
151
  * @param {sap.ushell.services.Pages} pagesService The Pages service instance.
152
152
  * @param {object} group The group to which the visualization is added.
153
153
  * @param {object} tileData The tile data to update.
154
- * @param {number} index the index of the section, the new visualization should be added to.
155
- * @param {number} vizIndex The visualization index.
154
+ * @param {int} index the index of the section, the new visualization should be added to.
155
+ * @param {int} vizIndex The visualization index.
156
156
  * @returns {Promise} A promise resolving when the update is done.
157
157
  * @param {boolean} defaultGroupImported Indicates if the default group has already been imported.
158
158
  * @private
@@ -180,8 +180,8 @@ sap.ui.define([
180
180
  *
181
181
  * @param {object} group The group to which the visualization is added.
182
182
  * @param {object} tile contains important information on how the visualization should be created.
183
- * @param {number} vizIndex the index of the new visualization.
184
- * @param {number} index the index of the section, the new visualization should be added to.
183
+ * @param {int} vizIndex the index of the new visualization.
184
+ * @param {int} index the index of the section, the new visualization should be added to.
185
185
  * @param {object} services Ushell services that are need to add the bookmarks and the visualizations.
186
186
  * @param {object} contentNode of the current page.
187
187
  * @param {boolean} defaultGroupImported Indicates if the default group has already been imported.
@@ -238,7 +238,7 @@ sap.ui.define([
238
238
  * Adds visualizations to the existing preset section ('My Apps').
239
239
  *
240
240
  * @param {object} group contains important information on how the section should be created.
241
- * @param {number} index the index of the current iteration.
241
+ * @param {int} index the index of the current iteration.
242
242
  * @param {object} services Ushell services that are needed to add the sections and the visualizations.
243
243
  * @param {object} contentNode of the current page.
244
244
  * @param {boolean} defaultGroupImported Indicates if the default group has already been imported.
@@ -265,7 +265,7 @@ sap.ui.define([
265
265
  * Generates a new section with all its visualizations.
266
266
  *
267
267
  * @param {object} group contains important information on how the section should be created.
268
- * @param {number} index the index of the current iteration.
268
+ * @param {int} index the index of the current iteration.
269
269
  * @param {object} services Ushell services that are needed to add the sections and the visualizations.
270
270
  * @param {object} contentNode of the current page.
271
271
  * @param {boolean} defaultGroupImported Indicates if the default group has already been imported.
@@ -425,9 +425,9 @@ sap.ui.define([
425
425
  * Default section already exists, in case default group is not imported the section index needs to skip the default section.
426
426
  * @param {sap.ushell.services.Pages} pagesService The Pages service instance.
427
427
  * @param {object} group The group.
428
- * @param {number} current The current index.
428
+ * @param {int} current The current index.
429
429
  * @param {boolean} defaultGroupImported Indicates if the default group has been imported.
430
- * @returns {number} The section index.
430
+ * @returns {int} The section index.
431
431
  * @private
432
432
  */
433
433
  _getSectionIndex: function (pagesService, group, current, defaultGroupImported) {
@@ -440,7 +440,7 @@ sap.ui.define([
440
440
  /**
441
441
  * Determine the index of the 'My Home' preset section ('My Apps').
442
442
  * @param {sap.ushell.services.Pages} pagesService The Pages service instance.
443
- * @returns {number} The section index.
443
+ * @returns {int} The section index.
444
444
  * @private
445
445
  */
446
446
  _getPresetSectionIndex: function (pagesService) {
@@ -454,7 +454,7 @@ sap.ui.define([
454
454
  * Determine the index of the 'My Home' default section ('Recently added apps').
455
455
  *
456
456
  * @param {sap.ushell.services.Pages} pagesService The Pages service instance.
457
- * @returns {number} The section index.
457
+ * @returns {int} The section index.
458
458
  * @private
459
459
  */
460
460
  _getDefaultSectionIndex: function (pagesService) {
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @file PageRuntime controller for PageRuntime view
5
- * @version 1.117.2
5
+ * @version 1.119.0
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/ushell/library",
@@ -25,8 +25,7 @@ sap.ui.define([
25
25
  "sap/ushell/components/pages/controller/PagesAndSpaceId",
26
26
  "sap/ushell/components/pages/MyHomeImport",
27
27
  "sap/ui/thirdparty/hasher",
28
- "sap/base/Log", // S/4 my home
29
- "sap/ui/core/theming/Parameters",
28
+ "sap/base/Log",
30
29
  "sap/ushell/ui/launchpad/Section"
31
30
  ], function (
32
31
  ushellLibrary,
@@ -41,7 +40,7 @@ sap.ui.define([
41
40
  MessageToast,
42
41
  StateManager,
43
42
  EventHub,
44
- utils,
43
+ ushellUtils,
45
44
  Button,
46
45
  capitalize,
47
46
  Filter,
@@ -49,8 +48,7 @@ sap.ui.define([
49
48
  PagesAndSpaceId,
50
49
  MyHomeImport,
51
50
  hasher,
52
- Log, // S/4 my home
53
- Parameters,
51
+ Log,
54
52
  Section
55
53
  ) {
56
54
  "use strict";
@@ -113,8 +111,7 @@ sap.ui.define([
113
111
  }.bind(this));
114
112
 
115
113
  this._oErrorPageModel = new JSONModel({
116
- icon: "sap-icon://documents",
117
- text: "",
114
+ title: "",
118
115
  description: "",
119
116
  details: ""
120
117
  });
@@ -130,11 +127,8 @@ sap.ui.define([
130
127
  this.getView().setModel(aServices[1].getModel());
131
128
  }.bind(this));
132
129
 
133
- // S/4 my home
134
- EventHub.emit("S4MyHomePlugin", this.byId("pagesNavContainer").getId());
135
-
136
130
  var oRenderer = sap.ushell.Container.getRenderer();
137
- this.bIsHomeIntentRootIntent = utils.isFlpHomeIntent(oRenderer.getShellConfig().rootIntent);
131
+ this.bIsHomeIntentRootIntent = ushellUtils.isFlpHomeIntent(oRenderer.getShellConfig().rootIntent);
138
132
  this.oErrorPage = this.byId("errorPage");
139
133
  this.oEmptyPage = this.byId("emptyPage");
140
134
  this.oPagesNavContainer = this.byId("pagesNavContainer");
@@ -200,7 +194,7 @@ sap.ui.define([
200
194
  /**
201
195
  * Set the section grid container gap and row size for different screen sizes
202
196
  */
203
- _setGridContainerSizes: function () {
197
+ _setGridContainerSizes: async function () {
204
198
  var sSizeBehavior = Config.last("/core/home/sizeBehavior");
205
199
  var oViewSettingsModel = this.getView().getModel("viewSettings");
206
200
 
@@ -212,12 +206,14 @@ sap.ui.define([
212
206
  ? "_sap_ushell_Tile_SpacingXS"
213
207
  : "_sap_ushell_Tile_SpacingS";
214
208
 
215
- oViewSettingsModel.setProperty("/gridContainerGap/gridContainerGap", this._getNumericThemeParam(sTileGapParam));
216
- oViewSettingsModel.setProperty("/gridContainerGap/gridContainerGapXS", this._getNumericThemeParam("_sap_ushell_Tile_SpacingXS"));
217
- oViewSettingsModel.setProperty("/gridContainerGap/gridContainerGapS", this._getNumericThemeParam(sTileGapParamS));
218
- oViewSettingsModel.setProperty("/gridContainerGap/gridContainerGapM", this._getNumericThemeParam(sTileGapParam));
219
- oViewSettingsModel.setProperty("/gridContainerGap/gridContainerGapL", this._getNumericThemeParam(sTileGapParam));
220
- oViewSettingsModel.setProperty("/gridContainerGap/gridContainerGapXL", this._getNumericThemeParam(sTileGapParam));
209
+ const [sGap, sGapXS, sGapS] = await ushellUtils.getThemingParameters([sTileGapParam, "_sap_ushell_Tile_SpacingXS", sTileGapParamS]);
210
+
211
+ oViewSettingsModel.setProperty("/gridContainerGap/gridContainerGap", this._formatNumericThemeParam(sGap));
212
+ oViewSettingsModel.setProperty("/gridContainerGap/gridContainerGapXS", this._formatNumericThemeParam(sGapXS));
213
+ oViewSettingsModel.setProperty("/gridContainerGap/gridContainerGapS", this._formatNumericThemeParam(sGapS));
214
+ oViewSettingsModel.setProperty("/gridContainerGap/gridContainerGapM", this._formatNumericThemeParam(sGap));
215
+ oViewSettingsModel.setProperty("/gridContainerGap/gridContainerGapL", this._formatNumericThemeParam(sGap));
216
+ oViewSettingsModel.setProperty("/gridContainerGap/gridContainerGapXL", this._formatNumericThemeParam(sGap));
221
217
 
222
218
  var sTileWidthParam = (sSizeBehavior === "Small")
223
219
  ? "_sap_ushell_Tile_WidthXS"
@@ -227,22 +223,23 @@ sap.ui.define([
227
223
  ? "_sap_ushell_Tile_WidthXS"
228
224
  : "_sap_ushell_Tile_WidthS";
229
225
 
230
- oViewSettingsModel.setProperty("/gridContainerRowSize/gridContainerRowSize", this._getNumericThemeParam(sTileWidthParam));
231
- oViewSettingsModel.setProperty("/gridContainerRowSize/gridContainerRowSizeXS", this._getNumericThemeParam("_sap_ushell_Tile_WidthXS"));
232
- oViewSettingsModel.setProperty("/gridContainerRowSize/gridContainerRowSizeS", this._getNumericThemeParam(sTileWidthParamS));
233
- oViewSettingsModel.setProperty("/gridContainerRowSize/gridContainerRowSizeM", this._getNumericThemeParam(sTileWidthParam));
234
- oViewSettingsModel.setProperty("/gridContainerRowSize/gridContainerRowSizeL", this._getNumericThemeParam(sTileWidthParam));
235
- oViewSettingsModel.setProperty("/gridContainerRowSize/gridContainerRowSizeXL", this._getNumericThemeParam(sTileWidthParam));
226
+ const [sRowSize, sRowSizeXS, sRowSizeS] = await ushellUtils.getThemingParameters([sTileWidthParam, "_sap_ushell_Tile_WidthXS", sTileWidthParamS]);
227
+
228
+ oViewSettingsModel.setProperty("/gridContainerRowSize/gridContainerRowSize", this._formatNumericThemeParam(sRowSize));
229
+ oViewSettingsModel.setProperty("/gridContainerRowSize/gridContainerRowSizeXS", this._formatNumericThemeParam(sRowSizeXS));
230
+ oViewSettingsModel.setProperty("/gridContainerRowSize/gridContainerRowSizeS", this._formatNumericThemeParam(sRowSizeS));
231
+ oViewSettingsModel.setProperty("/gridContainerRowSize/gridContainerRowSizeM", this._formatNumericThemeParam(sRowSize));
232
+ oViewSettingsModel.setProperty("/gridContainerRowSize/gridContainerRowSizeL", this._formatNumericThemeParam(sRowSize));
233
+ oViewSettingsModel.setProperty("/gridContainerRowSize/gridContainerRowSizeXL", this._formatNumericThemeParam(sRowSize));
236
234
  },
237
235
 
238
236
  /**
239
237
  * Returns a .rem value based on the tile gap or width parameter
240
238
  *
241
- * @param {string} sParam Tile spacing parameter
239
+ * @param {string} sValue Tile spacing parameter
242
240
  * @returns {string} Value in .rem
243
241
  */
244
- _getNumericThemeParam: function (sParam) {
245
- var sValue = Parameters.get(sParam);
242
+ _formatNumericThemeParam: function (sValue) {
246
243
  if (sValue && sValue.indexOf(".") === 0) {
247
244
  sValue = "0" + sValue;
248
245
  }
@@ -354,7 +351,7 @@ sap.ui.define([
354
351
  * @private
355
352
  */
356
353
  _setPerformanceMark: function (sMark) {
357
- utils.setPerformanceMark(sMark, {
354
+ ushellUtils.setPerformanceMark(sMark, {
358
355
  bUseUniqueMark: true,
359
356
  bUseLastMark: true
360
357
  });
@@ -371,7 +368,7 @@ sap.ui.define([
371
368
  this._getMyHomeTitle().then(function (sTitle) {
372
369
  var oActionModeButton = Core.byId("ActionModeBtn");
373
370
  if (oActionModeButton) {
374
- var sActionModeText = resources.i18n.getText(sTextId, sTitle);
371
+ var sActionModeText = resources.i18n.getText(sTextId, [sTitle]);
375
372
  oActionModeButton.setText(sActionModeText);
376
373
  oActionModeButton.setTooltip(sActionModeText);
377
374
  }
@@ -409,93 +406,93 @@ sap.ui.define([
409
406
  */
410
407
  _openFLPPage: function () {
411
408
  return PagesAndSpaceId.getPageAndSpaceId()
412
- .then(function (ids) {
413
- var sPageId = ids.pageId;
414
- var sSpaceId = ids.spaceId;
409
+ .then(({pageId, spaceId}) => {
415
410
 
416
411
  // this property may be updated by consecutive calls to _openFLPPage and prevents race conditions when opening pages
417
- this.sCurrentTargetPageId = sPageId;
418
- this.sCurrentTargetSpaceId = sSpaceId;
412
+ this.sCurrentTargetPageId = pageId;
413
+ this.sCurrentTargetSpaceId = spaceId;
419
414
 
420
415
  return Promise.all([
421
416
  this.oInitFinishedPromise,
422
417
  sap.ushell.Container.getServiceAsync("Menu")
423
418
  ])
424
- .then(function (aResults) {
425
- var oMenuService = aResults[1];
426
- return oMenuService.isSpacePageAssigned(sSpaceId, sPageId);
419
+ .then((aResults) => {
420
+ const oMenuService = aResults[1];
421
+ return oMenuService.isSpacePageAssigned(spaceId, pageId);
427
422
  })
428
- .then(function (bAssigned) {
423
+ .then((bAssigned) => {
429
424
  if (!bAssigned) {
430
425
  return Promise.reject("The combination of space and page is not assigned to the user.");
431
426
  }
432
427
  return this.getOwnerComponent().getPagesService();
433
- }.bind(this))
434
- .then(function (pagesService) {
435
- Log.debug("cep/editMode: load Page: " + sPageId, "Page runtime");
436
- return pagesService.loadPage(sPageId);
437
428
  })
438
- .then(function () {
439
- Log.debug("cep/editMode: load Page: show action mode button " + sPageId, "Page runtime");
429
+ .then((pagesService) => {
430
+ Log.debug("cep/editMode: load Page: " + pageId, "Page runtime");
431
+ return pagesService.loadPage(pageId);
432
+ })
433
+ .then(async () => {
434
+ Log.debug("cep/editMode: load Page: show action mode button " + pageId, "Page runtime");
440
435
  this._showActionModeButton();
441
- if (this.sCurrentTargetPageId === sPageId) {
442
- var bMyHomeActive = this._isMyHomeRouteActive();
436
+ if (this.sCurrentTargetPageId === pageId) {
437
+ const bMyHomeActive = this._isMyHomeRouteActive();
443
438
 
444
439
  // Special logic for "Add Tiles to My Home" when personalization is disabled.
445
440
  this._setActionModeLogic(bMyHomeActive);
446
441
 
442
+ let oNavigationPromise = Promise.resolve();
447
443
  // Placeholder page for empty My Home
448
444
  if (bMyHomeActive && this._isMyHomePageEmpty()) { // If the home page is empty, show the splash screen
449
- return this._navigateToInitialMyHome();
445
+ oNavigationPromise = this._navigateToInitialMyHome();
446
+ } else {
447
+ oNavigationPromise = this._navigate(pageId, spaceId);
450
448
  }
451
- return this._navigate(sPageId, sSpaceId);
452
- }
453
- return Promise.resolve();
454
- }.bind(this))
455
- .then(this._notifyOnPageRuntimeRendered.bind(this)) // S/4 my home - binding introduced to allow the use of this in the function
456
- .catch(function (error) {
457
- Log.debug("cep/editMode: open FLP Page: Handle errors", "Page runtime");
458
- if (error instanceof Error) {
459
- // E.g. UI5 modules cannot be loaded
460
- this._oErrorPageModel.setProperty("/text", resources.i18n.getText("PageRuntime.GeneralError.Text"));
461
- } else {
462
- var sDescription = resources.i18n.getText("PageRuntime.CannotLoadPage.Description") + JSON.stringify(error);
463
-
464
- this._oErrorPageModel.setProperty("/icon", "sap-icon://documents");
465
- this._oErrorPageModel.setProperty("/text", resources.i18n.getText("PageRuntime.CannotLoadPage.Text", [sPageId, sSpaceId]));
466
- this._oErrorPageModel.setProperty("/description", "");
467
- this._oErrorPageModel.setProperty("/details", sDescription);
468
- }
469
-
470
- this.oPagesRuntimeNavContainer.to(this.oErrorPage);
471
449
 
472
- this._hideActionModeButton();
473
- this._cancelActionMode();
474
-
475
- this._notifyOnPageRuntimeRendered();
476
- }.bind(this));
477
- }.bind(this))
478
- .catch(this._onError.bind(this));
450
+ await oNavigationPromise;
451
+ return this._onAfterPageNavigated(pageId, spaceId);
452
+ }
453
+ })
454
+ .catch((error) => {
455
+ return this.navigateToErrorPage(error, pageId, spaceId);
456
+ });
457
+ })
458
+ .catch(this.navigateToErrorPage.bind(this));
479
459
  },
480
460
 
481
461
  /**
482
462
  * Displays an error message on a MessagePage.
483
463
  *
484
- * @param {string} error The error message.
464
+ * @param {Error|string} vError The error message.
465
+ * @param {string} [sPageId] The page id
466
+ * @param {string} [sSpaceId] The space id
485
467
  * @private
486
468
  */
487
- _onError: function (error) {
488
- this._oErrorPageModel.setProperty("/icon", "sap-icon://documents");
489
- this._oErrorPageModel.setProperty("/text", error || "");
469
+ navigateToErrorPage: function (vError, sPageId, sSpaceId) {
470
+ Log.debug("cep/editMode: open FLP Page: Handle errors", "Page runtime");
471
+
472
+ if (vError instanceof Error) {
473
+ // E.g. UI5 modules cannot be loaded
474
+ this._oErrorPageModel.setProperty("/details", vError.toString());
475
+
476
+ this._oErrorPageModel.setProperty("/title", resources.i18n.getText("PageRuntime.GeneralError.Text"));
477
+ } else {
478
+ this._oErrorPageModel.setProperty("/details", resources.i18n.getText("PageRuntime.CannotLoadPage.Description") + JSON.stringify(vError));
479
+
480
+ if (sPageId && sSpaceId) {
481
+ this._oErrorPageModel.setProperty("/title", resources.i18n.getText("PageRuntime.CannotLoadPage.Text", [sPageId, sSpaceId]));
482
+ } else {
483
+ this._oErrorPageModel.setProperty("/title", resources.i18n.getText("PageRuntime.GeneralError.Text"));
484
+ }
485
+ }
486
+
487
+ // reset description
490
488
  this._oErrorPageModel.setProperty("/description", "");
491
- this._oErrorPageModel.setProperty("/details", "");
492
489
 
493
490
  this.oPagesRuntimeNavContainer.to(this.oErrorPage);
494
491
 
495
492
  this._hideActionModeButton();
496
493
  this._cancelActionMode();
497
494
 
498
- this._notifyOnPageRuntimeRendered();
495
+ this._onAfterPageNavigated();
499
496
  },
500
497
 
501
498
  /**
@@ -604,20 +601,21 @@ sap.ui.define([
604
601
  * @since 1.79.0
605
602
  * @private
606
603
  */
607
- _notifyOnPageRuntimeRendered: function () {
608
- // S/4 my home
609
- try {
610
- var sPageId;
611
- var oCurrentPage = this.oPagesNavContainer.getCurrentPage();
612
- sPageId = oCurrentPage && oCurrentPage.getId();
613
- EventHub.emit("S4Plugin_PagesRuntimeRendered", sPageId);
614
- } catch (oError) {
615
- Log.error("Error while trying to trigger the PagesRuntimeRendered event for the S/4 My Home plugin");
604
+ _onAfterPageNavigated: function () {
605
+ if (this.sCurrentTargetPageId && this.sCurrentTargetSpaceId) {
606
+ // Save new space and page for ShellAnalytics
607
+ EventHub.emit("PageRendered", {
608
+ time: Date.now(),
609
+ pageId: this.sCurrentTargetPageId,
610
+ spaceId: this.sCurrentTargetSpaceId
611
+ });
616
612
  }
617
- EventHub.emit("PagesRuntimeRendered");
618
- // "reset" the appRendered event in case the user wants to navigate back to the same app.
619
- if (EventHub.last("AppRendered") !== undefined) {
620
- EventHub.emit("AppRendered", undefined);
613
+
614
+ // track navigation in ShellAnalytics
615
+ if (!EventHub.last("PagesRuntimeRendered")) {
616
+ EventHub.emit("PagesRuntimeRendered", true);
617
+ } else {
618
+ EventHub.emit("CloseFesrRecord", Date.now());
621
619
  }
622
620
  },
623
621
 
@@ -639,7 +637,7 @@ sap.ui.define([
639
637
  * @private
640
638
  */
641
639
  _copyToClipboard: function () {
642
- var bResult = utils.copyToClipboard(this._oErrorPageModel.getProperty("/description"));
640
+ var bResult = ushellUtils.copyToClipboard(this._oErrorPageModel.getProperty("/description"));
643
641
  if (bResult) {
644
642
  MessageToast.show(resources.i18n.getText("PageRuntime.CannotLoadPage.CopySuccess"), {
645
643
  closeOnBrowserNavigation: false
@@ -1124,7 +1122,7 @@ sap.ui.define([
1124
1122
  * @since 1.86.0
1125
1123
  */
1126
1124
  _createActionModeButton: function (sPageTitle) {
1127
- var sButtonText = sPageTitle ? resources.i18n.getText("PageRuntime.EditModeForPage.Activate", sPageTitle)
1125
+ var sButtonText = sPageTitle ? resources.i18n.getText("PageRuntime.EditModeForPage.Activate", [sPageTitle])
1128
1126
  : resources.i18n.getText("PageRuntime.EditMode.Activate");
1129
1127
  var oActionButtonObjectData = {
1130
1128
  id: "ActionModeBtn",
@@ -3,7 +3,7 @@
3
3
  "sap.app": {
4
4
  "id": "sap.ushell.components.pages",
5
5
  "applicationVersion": {
6
- "version": "1.117.2"
6
+ "version": "1.119.0"
7
7
  },
8
8
  "i18n": {
9
9
  "bundleUrl": "../../renderers/fiori2/resources/resources.properties",