@sapui5/sap.ushell 1.118.0 → 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 (372) 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 +1 -1
  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 +255 -185
  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/TechnicalParameters.js +3 -3
  13. package/src/main/js/sap/ushell/UIActions.js +44 -44
  14. package/src/main/js/sap/ushell/URLTemplateProcessor.js +1 -1
  15. package/src/main/js/sap/ushell/Ui5NativeServiceFactory.js +1 -1
  16. package/src/main/js/sap/ushell/Ui5ServiceFactory.js +4 -4
  17. package/src/main/js/sap/ushell/User.js +1 -1
  18. package/src/main/js/sap/ushell/UserActivityLog.js +8 -8
  19. package/src/main/js/sap/ushell/_ApplicationType/guiResolution.js +5 -5
  20. package/src/main/js/sap/ushell/_ApplicationType/systemAlias.js +1 -1
  21. package/src/main/js/sap/ushell/_ApplicationType/urlTemplateResolution.js +12 -7
  22. package/src/main/js/sap/ushell/_Config/utils.js +5 -5
  23. package/src/main/js/sap/ushell/_URLTemplateProcessor/DefinitionParameterSetBuilder.js +1 -1
  24. package/src/main/js/sap/ushell/_URLTemplateProcessor/DependencyGraph.js +1 -1
  25. package/src/main/js/sap/ushell/_URLTemplateProcessor/Functions.js +1 -1
  26. package/src/main/js/sap/ushell/_URLTemplateProcessor/Resolvers.js +1 -1
  27. package/src/main/js/sap/ushell/_URLTemplateProcessor/TemplateParameterParser.js +1 -1
  28. package/src/main/js/sap/ushell/_URLTemplateProcessor/utils.js +1 -1
  29. package/src/main/js/sap/ushell/adapters/cdm/ClientSideTargetResolutionAdapter.js +14 -8
  30. package/src/main/js/sap/ushell/adapters/cdm/CommonDataModelAdapter.js +4 -5
  31. package/src/main/js/sap/ushell/adapters/cdm/ConfigurationDefaultsAdapter.js +1 -1
  32. package/src/main/js/sap/ushell/adapters/cdm/ContainerAdapter.js +1 -2
  33. package/src/main/js/sap/ushell/adapters/cdm/LaunchPageAdapter.js +12 -13
  34. package/src/main/js/sap/ushell/adapters/cdm/MenuAdapter.js +1 -1
  35. package/src/main/js/sap/ushell/adapters/cdm/PagesCommonDataModelAdapter.js +4 -3
  36. package/src/main/js/sap/ushell/adapters/cdm/PersonalizationAdapter.js +1 -1
  37. package/src/main/js/sap/ushell/adapters/cdm/Ui5ComponentLoaderAdapter.js +1 -1
  38. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/modifyHome.js +2 -2
  39. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readCatalogs.js +1 -1
  40. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readHome.js +1 -1
  41. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/uri.transform.js +1 -1
  42. package/src/main/js/sap/ushell/adapters/cdm/_Personalization/internals.js +1 -1
  43. package/src/main/js/sap/ushell/adapters/cdm/util/AppForInbound.js +5 -2
  44. package/src/main/js/sap/ushell/adapters/cdm/util/cdmSiteUtils.js +4 -1
  45. package/src/main/js/sap/ushell/adapters/cdm/v3/AdapterBase.js +3 -4
  46. package/src/main/js/sap/ushell/adapters/cdm/v3/LaunchPageAdapter.js +10 -11
  47. package/src/main/js/sap/ushell/adapters/cdm/v3/StaticGroupsAdapter.js +1 -1
  48. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readApplications.js +1 -1
  49. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readCatalogs.js +1 -1
  50. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readHome.js +1 -1
  51. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readPages.js +1 -1
  52. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readUtils.js +1 -1
  53. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations.js +1 -1
  54. package/src/main/js/sap/ushell/adapters/cdm/v3/utilsCdm.js +2 -2
  55. package/src/main/js/sap/ushell/adapters/cep/MenuAdapter.js +0 -1
  56. package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionAdapter.js +3 -4
  57. package/src/main/js/sap/ushell/adapters/cep/SearchCEPAdapter.js +3 -2
  58. package/src/main/js/sap/ushell/adapters/cflp/UserDefaultParameterPersistenceAdapter.js +3 -3
  59. package/src/main/js/sap/ushell/adapters/local/AdapterContainer.js +1 -1
  60. package/src/main/js/sap/ushell/adapters/local/AppStateAdapter.js +2 -3
  61. package/src/main/js/sap/ushell/adapters/local/ClientSideTargetResolutionAdapter.js +3 -3
  62. package/src/main/js/sap/ushell/adapters/local/ContainerAdapter.js +1 -3
  63. package/src/main/js/sap/ushell/adapters/local/LaunchPageAdapter.js +2 -3
  64. package/src/main/js/sap/ushell/adapters/local/MenuAdapter.js +1 -1
  65. package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionAdapter.js +1 -1
  66. package/src/main/js/sap/ushell/adapters/local/PageBuildingAdapter.js +1 -1
  67. package/src/main/js/sap/ushell/adapters/local/PagePersistenceAdapter.js +2 -2
  68. package/src/main/js/sap/ushell/adapters/local/PersonalizationAdapter.js +1 -2
  69. package/src/main/js/sap/ushell/adapters/local/SearchAdapter.js +1 -1
  70. package/src/main/js/sap/ushell/adapters/local/SearchCEPAdapter.js +1 -1
  71. package/src/main/js/sap/ushell/adapters/local/SupportTicketAdapter.js +1 -1
  72. package/src/main/js/sap/ushell/adapters/local/Ui5ComponentLoaderAdapter.js +1 -1
  73. package/src/main/js/sap/ushell/adapters/local/UserDefaultParameterPersistenceAdapter.js +1 -2
  74. package/src/main/js/sap/ushell/adapters/local/UserInfoAdapter.js +1 -1
  75. package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntime.js +5 -9
  76. package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/Renderer.js +5 -3
  77. package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/RendererExtensions.js +31 -3
  78. package/src/main/js/sap/ushell/appRuntime/ui5/services/AppLifeCycleAgent.js +2 -0
  79. package/src/main/js/sap/ushell/appRuntime/ui5/services/Bookmark.js +7 -3
  80. package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/Ui5ComponentLoaderAdapter.js +1 -1
  81. package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/FLPLoader.js +1 -1
  82. package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/logger.js +1 -1
  83. package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/state.js +3 -3
  84. package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5.js +2 -2
  85. package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5datetimeformat.js +1 -1
  86. package/src/main/js/sap/ushell/bootstrap/common/common.create.configcontract.core.js +1 -0
  87. package/src/main/js/sap/ushell/bootstrap/common/common.load.core-min.js +2 -2
  88. package/src/main/js/sap/ushell/bootstrap/common/common.load.launchpad.js +7 -3
  89. package/src/main/js/sap/ushell/bootstrap/common/common.load.script.js +4 -4
  90. package/src/main/js/sap/ushell/bootstrap/common/common.util.js +7 -7
  91. package/src/main/js/sap/ushell/bootstrap/sandbox2/sandboxConfig.json +214 -0
  92. package/src/main/js/sap/ushell/bootstrap/sandbox2/sandboxSite.json +511 -0
  93. package/src/main/js/sap/ushell/bootstrap/sandbox2.js +398 -0
  94. package/src/main/js/sap/ushell/components/CatalogsManager.js +26 -25
  95. package/src/main/js/sap/ushell/components/ComponentKeysHandler.js +20 -15
  96. package/src/main/js/sap/ushell/components/DestroyHelper.js +2 -2
  97. package/src/main/js/sap/ushell/components/HomepageManager.js +6 -6
  98. package/src/main/js/sap/ushell/components/_HeaderManager/ControlManager.js +1 -1
  99. package/src/main/js/sap/ushell/components/_HomepageManager/PagingManager.js +5 -5
  100. package/src/main/js/sap/ushell/components/appfinder/AppFinder.controller.js +19 -15
  101. package/src/main/js/sap/ushell/components/appfinder/AppFinderView.js +12 -12
  102. package/src/main/js/sap/ushell/components/appfinder/Catalog.controller.js +18 -18
  103. package/src/main/js/sap/ushell/components/appfinder/CatalogView.js +1 -1
  104. package/src/main/js/sap/ushell/components/appfinder/EasyAccess.controller.js +2 -2
  105. package/src/main/js/sap/ushell/components/appfinder/HierarchyApps.controller.js +6 -6
  106. package/src/main/js/sap/ushell/components/appfinder/VisualizationOrganizerHelper.js +4 -4
  107. package/src/main/js/sap/ushell/components/appfinder/manifest.json +1 -1
  108. package/src/main/js/sap/ushell/components/applicationIntegration/AppLifeCycle.js +8 -6
  109. package/src/main/js/sap/ushell/components/applicationIntegration/application/Application.js +2 -2
  110. package/src/main/js/sap/ushell/components/applicationIntegration/application/BlueBoxHandler.js +1 -1
  111. package/src/main/js/sap/ushell/components/applicationIntegration/application/PostMessageAPI.js +1 -1
  112. package/src/main/js/sap/ushell/components/applicationIntegration/application/WebGUIStatefulHandler.js +5 -5
  113. package/src/main/js/sap/ushell/components/applicationIntegration/configuration/AppMeta.js +21 -26
  114. package/src/main/js/sap/ushell/components/applicationIntegration/elements/model.js +1 -1
  115. package/src/main/js/sap/ushell/components/applicationIntegration/relatedServices/RelatedServices.js +1 -1
  116. package/src/main/js/sap/ushell/components/applicationIntegration/relatedShellElements/RelatedShellElements.js +1 -1
  117. package/src/main/js/sap/ushell/components/cards/Configuration.controller.js +2 -2
  118. package/src/main/js/sap/ushell/components/cepsearchresult/app/Main.controller.js +6 -2
  119. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/Category.js +44 -6
  120. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/categories/Application.js +22 -9
  121. package/src/main/js/sap/ushell/components/container/ApplicationContainer.js +23 -16
  122. package/src/main/js/sap/ushell/components/contentFinder/Component.js +1 -1
  123. package/src/main/js/sap/ushell/components/contentFinder/controller/AppSearch.controller.js +1 -1
  124. package/src/main/js/sap/ushell/components/contentFinder/controller/ContentFinderDialog.controller.js +1 -1
  125. package/src/main/js/sap/ushell/components/contentFinder/controller/WidgetGallery.controller.js +1 -1
  126. package/src/main/js/sap/ushell/components/contentFinder/manifest.json +1 -1
  127. package/src/main/js/sap/ushell/components/factsheet/Component.js +1 -1
  128. package/src/main/js/sap/ushell/components/factsheet/controls/PictureTile.js +1 -2
  129. package/src/main/js/sap/ushell/components/factsheet/controls/PictureViewer.js +5 -6
  130. package/src/main/js/sap/ushell/components/factsheet/controls/PictureViewerItem.js +1 -2
  131. package/src/main/js/sap/ushell/components/factsheet/factory/ThingInspector.js +3 -3
  132. package/src/main/js/sap/ushell/components/homeApp/error/HomeAppError.controller.js +0 -1
  133. package/src/main/js/sap/ushell/components/homeApp/error/HomeAppError.view.xml +7 -6
  134. package/src/main/js/sap/ushell/components/homepage/ActionMode.js +1 -1
  135. package/src/main/js/sap/ushell/components/homepage/DashboardContent.controller.js +2 -7
  136. package/src/main/js/sap/ushell/components/homepage/DashboardContent.view.js +13 -13
  137. package/src/main/js/sap/ushell/components/homepage/DashboardGroupsBox.js +1 -1
  138. package/src/main/js/sap/ushell/components/homepage/DashboardUIActions.js +1 -1
  139. package/src/main/js/sap/ushell/components/homepage/manifest.json +1 -1
  140. package/src/main/js/sap/ushell/components/pages/ActionMode.js +10 -10
  141. package/src/main/js/sap/ushell/components/pages/Component.js +1 -1
  142. package/src/main/js/sap/ushell/components/pages/MyHomeImport.js +1 -1
  143. package/src/main/js/sap/ushell/components/pages/StateManager.js +2 -2
  144. package/src/main/js/sap/ushell/components/pages/controller/ImportDialog.controller.js +12 -12
  145. package/src/main/js/sap/ushell/components/pages/controller/PageRuntime.controller.js +93 -95
  146. package/src/main/js/sap/ushell/components/pages/manifest.json +1 -1
  147. package/src/main/js/sap/ushell/components/pages/view/PageRuntime.view.xml +31 -23
  148. package/src/main/js/sap/ushell/components/runtimeSwitcher/controller/RuntimeSwitcher.controller.js +1 -1
  149. package/src/main/js/sap/ushell/components/runtimeSwitcher/manifest.json +1 -1
  150. package/src/main/js/sap/ushell/components/shell/MenuBar/controller/MenuBar.controller.js +7 -6
  151. package/src/main/js/sap/ushell/components/shell/MenuBar/manifest.json +1 -1
  152. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenu.controller.js +1 -3
  153. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/manifest.json +2 -2
  154. package/src/main/js/sap/ushell/components/shell/Notifications/Component.js +1 -1
  155. package/src/main/js/sap/ushell/components/shell/Notifications/Notifications.controller.js +2 -2
  156. package/src/main/js/sap/ushell/components/shell/ProductSwitch/Component.js +1 -1
  157. package/src/main/js/sap/ushell/components/shell/Search/ESearch.js +1 -1
  158. package/src/main/js/sap/ushell/components/shell/Search/manifest.json +1 -1
  159. package/src/main/js/sap/ushell/components/shell/SearchCEP/Component.js +2 -2
  160. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchCEP.controller.js +74 -16
  161. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchFieldFragment.fragment.xml +2 -1
  162. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/FrequentActivityProvider.js +1 -2
  163. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/RecentSearchProvider.js +1 -2
  164. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchProvider.js +1 -1
  165. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchServiceProvider.js +1 -2
  166. package/src/main/js/sap/ushell/components/shell/Settings/Component.js +1 -1
  167. package/src/main/js/sap/ushell/components/shell/Settings/ErrorMessageHelper.js +8 -9
  168. package/src/main/js/sap/ushell/components/shell/Settings/UserSettings.controller.js +53 -13
  169. package/src/main/js/sap/ushell/components/shell/Settings/UserSettings.view.xml +5 -0
  170. package/src/main/js/sap/ushell/components/shell/Settings/appearance/Appearance.controller.js +41 -38
  171. package/src/main/js/sap/ushell/components/shell/Settings/notifications/NotificationsSetting.controller.js +1 -1
  172. package/src/main/js/sap/ushell/components/shell/Settings/userActivities/UserActivitiesSetting.controller.js +2 -2
  173. package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/UserDefaultsForm.js +1 -1
  174. package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/controller/UserDefaultsSetting.controller.js +7 -3
  175. package/src/main/js/sap/ushell/components/shell/UserActionsMenu/Component.js +1 -1
  176. package/src/main/js/sap/ushell/components/shell/UserImage/Component.js +1 -1
  177. package/src/main/js/sap/ushell/components/tiles/applauncher/StaticTile.view.js +0 -2
  178. package/src/main/js/sap/ushell/components/tiles/applauncher/StaticTileTmp.view.js +0 -2
  179. package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/DynamicTileTmp.view.js +0 -2
  180. package/src/main/js/sap/ushell/components/tiles/cdm/applauncher/StaticTile.view.js +0 -2
  181. package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/DynamicTile.controller.js +1 -1
  182. package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/DynamicTile.view.js +0 -2
  183. package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/oData4Analytics.js +41 -48
  184. package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/smartBusinessUtil.js +3 -3
  185. package/src/main/js/sap/ushell/components/tiles/utils.js +1 -1
  186. package/src/main/js/sap/ushell/components/visualizationOrganizer/Component.js +5 -18
  187. package/src/main/js/sap/ushell/components/visualizationOrganizer/VisualizationOrganizerPopover.fragment.xml +3 -3
  188. package/src/main/js/sap/ushell/components/workPageBuilder/Component.js +1 -1
  189. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.accessibility.js +1 -1
  190. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.controller.js +65 -95
  191. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.layout.js +182 -90
  192. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageHost.js +1 -1
  193. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPage.js +1 -1
  194. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageButton.js +1 -1
  195. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageCell.js +1 -1
  196. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumn.js +1 -1
  197. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnRenderer.js +0 -2
  198. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnResizer.js +1 -1
  199. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRow.js +53 -3
  200. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRowRenderer.js +3 -0
  201. package/src/main/js/sap/ushell/components/workPageBuilder/manifest.json +1 -1
  202. package/src/main/js/sap/ushell/components/workPageBuilder/view/WorkPageBuilder.view.xml +1 -0
  203. package/src/main/js/sap/ushell/components/workPageRuntime/Component.js +1 -1
  204. package/src/main/js/sap/ushell/components/workPageRuntime/controller/WorkPageRuntime.controller.js +6 -2
  205. package/src/main/js/sap/ushell/components/workPageRuntime/manifest.json +1 -1
  206. package/src/main/js/sap/ushell/components/workPageRuntime/services/NavigationResolver.js +1 -2
  207. package/src/main/js/sap/ushell/components/workPageRuntime/services/WorkPage.js +1 -2
  208. package/src/main/js/sap/ushell/designtime/ApplicationContainer.designtime.js +1 -1
  209. package/src/main/js/sap/ushell/library.js +4 -2
  210. package/src/main/js/sap/ushell/navigationMode.js +10 -5
  211. package/src/main/js/sap/ushell/override.js +1 -1
  212. package/src/main/js/sap/ushell/performance/FesrEnhancer.js +248 -187
  213. package/src/main/js/sap/ushell/performance/ShellAnalytics.js +206 -207
  214. package/src/main/js/sap/ushell/performance/StatisticalRecord.js +366 -230
  215. package/src/main/js/sap/ushell/plugins/appwarmup/Component.js +1 -1
  216. package/src/main/js/sap/ushell/renderers/fiori2/Renderer.js +39 -23
  217. package/src/main/js/sap/ushell/renderers/fiori2/RendererExtensions.js +105 -25
  218. package/src/main/js/sap/ushell/renderers/fiori2/Shell.controller.js +63 -52
  219. package/src/main/js/sap/ushell/renderers/fiori2/ShellLayout.js +1 -1
  220. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources.properties +1 -1
  221. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_ko.properties +1 -1
  222. package/src/main/js/sap/ushell/renderers/fiori2/search/searchComponent/manifest.json +1 -1
  223. package/src/main/js/sap/ushell/services/AppConfiguration.js +3 -3
  224. package/src/main/js/sap/ushell/services/AppLifeCycle.js +1 -1
  225. package/src/main/js/sap/ushell/services/AppState.js +2 -3
  226. package/src/main/js/sap/ushell/services/Bookmark.js +1 -1
  227. package/src/main/js/sap/ushell/services/ClientSideTargetResolution.js +1 -1
  228. package/src/main/js/sap/ushell/services/CommonDataModel.js +4 -5
  229. package/src/main/js/sap/ushell/services/Configuration.js +1 -2
  230. package/src/main/js/sap/ushell/services/ConfigurationDefaults.js +2 -2
  231. package/src/main/js/sap/ushell/services/ContentExtensionAdapterFactory.js +1 -1
  232. package/src/main/js/sap/ushell/services/CrossApplicationNavigation.js +36 -33
  233. package/src/main/js/sap/ushell/services/DarkModeSupport.js +2 -2
  234. package/src/main/js/sap/ushell/services/EndUserFeedback.js +2 -2
  235. package/src/main/js/sap/ushell/services/LaunchPage.js +11 -8
  236. package/src/main/js/sap/ushell/services/Menu.js +31 -37
  237. package/src/main/js/sap/ushell/services/Message.js +1 -2
  238. package/src/main/js/sap/ushell/services/MessageBroker.js +1 -2
  239. package/src/main/js/sap/ushell/services/NavTargetResolution.js +58 -9
  240. package/src/main/js/sap/ushell/services/Navigation.js +1356 -0
  241. package/src/main/js/sap/ushell/services/NavigationDataProvider.js +7 -5
  242. package/src/main/js/sap/ushell/services/Notifications.js +16 -16
  243. package/src/main/js/sap/ushell/services/PageBuilding.js +1 -2
  244. package/src/main/js/sap/ushell/services/PagePersistence.js +6 -6
  245. package/src/main/js/sap/ushell/services/PageReferencing.js +2 -2
  246. package/src/main/js/sap/ushell/services/Pages.js +24 -25
  247. package/src/main/js/sap/ushell/services/Personalization.js +5 -5
  248. package/src/main/js/sap/ushell/services/PluginManager.js +1 -2
  249. package/src/main/js/sap/ushell/services/ReferenceResolver.js +2 -2
  250. package/src/main/js/sap/ushell/services/Search.js +1 -1
  251. package/src/main/js/sap/ushell/services/SearchCEP.js +2 -1
  252. package/src/main/js/sap/ushell/services/SearchableContent.js +85 -59
  253. package/src/main/js/sap/ushell/services/ShellNavigation.js +59 -17
  254. package/src/main/js/sap/ushell/services/ShellNavigationHashChanger.js +115 -39
  255. package/src/main/js/sap/ushell/services/SmartNavigation.js +4 -4
  256. package/src/main/js/sap/ushell/services/SpaceContent.js +5 -6
  257. package/src/main/js/sap/ushell/services/SupportTicket.js +1 -1
  258. package/src/main/js/sap/ushell/services/UITracer.js +5 -3
  259. package/src/main/js/sap/ushell/services/URLShortening.js +1 -1
  260. package/src/main/js/sap/ushell/services/URLTemplate.js +2 -2
  261. package/src/main/js/sap/ushell/services/Ui5ComponentLoader.js +7 -7
  262. package/src/main/js/sap/ushell/services/UserDefaultParameterPersistence.js +1 -2
  263. package/src/main/js/sap/ushell/services/UserDefaultParameters.js +1 -1
  264. package/src/main/js/sap/ushell/services/UserInfo.js +1 -1
  265. package/src/main/js/sap/ushell/services/UserRecents.js +91 -69
  266. package/src/main/js/sap/ushell/services/VisualizationDataProvider.js +10 -6
  267. package/src/main/js/sap/ushell/services/VisualizationInstantiation.js +1 -3
  268. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Formatter.js +1 -1
  269. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/InboundIndex.js +1 -1
  270. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/InboundProvider.js +2 -5
  271. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/PrelaunchOperations.js +2 -2
  272. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Search.js +11 -11
  273. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/StagedLogger.js +1 -1
  274. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/SystemContext.js +1 -1
  275. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Utils.js +6 -6
  276. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/VirtualInbounds.js +1 -1
  277. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/XAppStateProcessing.js +2 -2
  278. package/src/main/js/sap/ushell/services/_CommonDataModel/PersonalizationProcessor.js +1 -2
  279. package/src/main/js/sap/ushell/services/_CommonDataModel/SiteConverter.js +1 -1
  280. package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/ContentExtensionAdapterConfig.js +1 -1
  281. package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/FeaturedGroupConfig.js +1 -1
  282. package/src/main/js/sap/ushell/services/_CrossApplicationNavigation/utils.js +9 -14
  283. package/src/main/js/sap/ushell/services/_MessageBroker/MessageBrokerEngine.js +1 -1
  284. package/src/main/js/sap/ushell/services/_PageReferencing/PageReferencer.js +1 -1
  285. package/src/main/js/sap/ushell/services/_Personalization/ContextContainer.js +34 -21
  286. package/src/main/js/sap/ushell/services/_Personalization/Variant.js +5 -2
  287. package/src/main/js/sap/ushell/services/_Personalization/VariantSet.js +18 -12
  288. package/src/main/js/sap/ushell/services/_Personalization/utils.js +2 -2
  289. package/src/main/js/sap/ushell/services/_PluginManager/Extensions.js +1 -1
  290. package/src/main/js/sap/ushell/services/_PluginManager/HeaderExtensions.js +3 -3
  291. package/src/main/js/sap/ushell/services/_PluginManager/MenuExtensions.js +1 -1
  292. package/src/main/js/sap/ushell/services/_Ui5ComponentLoader/utils.js +1 -1
  293. package/src/main/js/sap/ushell/services/_UserRecents/RecentActivity.js +206 -214
  294. package/src/main/js/sap/ushell/services/_UserRecents/RecentAppsUsage.js +46 -54
  295. package/src/main/js/sap/ushell/services/_UserRecents/RecentsList.js +39 -40
  296. package/src/main/js/sap/ushell/services/_UserRecents/UserRecentsBase.js +29 -36
  297. package/src/main/js/sap/ushell/services/_VisualizationInstantiation/VizInstance.js +1 -1
  298. package/src/main/js/sap/ushell/services/_VisualizationInstantiation/VizInstanceAbap.js +1 -1
  299. package/src/main/js/sap/ushell/services/_VisualizationInstantiation/VizInstanceCdm.js +1 -1
  300. package/src/main/js/sap/ushell/services/_VisualizationInstantiation/VizInstanceLaunchPage.js +10 -8
  301. package/src/main/js/sap/ushell/services/_VisualizationInstantiation/VizInstanceLink.js +2 -2
  302. package/src/main/js/sap/ushell/services/appstate/LimitedBuffer.js +1 -2
  303. package/src/main/js/sap/ushell/services/appstate/Sequentializer.js +1 -1
  304. package/src/main/js/sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin.js +1 -1
  305. package/src/main/js/sap/ushell/themes/base/SearchCEP.less +8 -0
  306. package/src/main/js/sap/ushell/themes/base/ShellHeader.less +12 -6
  307. package/src/main/js/sap/ushell/themes/base/WorkPage.less +34 -4
  308. package/src/main/js/sap/ushell/themes/base/WorkPageCell.less +3 -1
  309. package/src/main/js/sap/ushell/themes/base/WorkPageColumn.less +3 -76
  310. package/src/main/js/sap/ushell/themes/base/WorkPageColumnResizer.less +2 -1
  311. package/src/main/js/sap/ushell/themes/base/WorkPageRow.less +822 -6
  312. package/src/main/js/sap/ushell/themes/sap_horizon/SearchCEP.less +4 -0
  313. package/src/main/js/sap/ushell/themes/sap_horizon/ToolAreaItem.less +1 -1
  314. package/src/main/js/sap/ushell/themes/sap_horizon_dark/SearchCEP.less +4 -0
  315. package/src/main/js/sap/ushell/themes/sap_horizon_dark/ToolAreaItem.less +1 -1
  316. package/src/main/js/sap/ushell/themes/sap_horizon_hcb/SearchCEP.less +5 -0
  317. package/src/main/js/sap/ushell/themes/sap_horizon_hcw/SearchCEP.less +5 -0
  318. package/src/main/js/sap/ushell/ui/AppContainer.js +0 -1
  319. package/src/main/js/sap/ushell/ui/ContentNodeSelector.js +1 -1
  320. package/src/main/js/sap/ushell/ui/QuickAccess.js +2 -2
  321. package/src/main/js/sap/ushell/ui/ShellHeader.js +21 -5
  322. package/src/main/js/sap/ushell/ui/ShellHeaderRenderer.js +1 -0
  323. package/src/main/js/sap/ushell/ui/appfinder/AppBox.js +0 -1
  324. package/src/main/js/sap/ushell/ui/bookmark/SaveOnPage.view.xml +6 -6
  325. package/src/main/js/sap/ushell/ui/cards/FrequentActivitiesExtension.js +1 -1
  326. package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +1 -1
  327. package/src/main/js/sap/ushell/ui/footerbar/AboutButton.js +0 -1
  328. package/src/main/js/sap/ushell/ui/footerbar/AddBookmarkButton.js +32 -17
  329. package/src/main/js/sap/ushell/ui/footerbar/ContactSupportButton.js +0 -1
  330. package/src/main/js/sap/ushell/ui/footerbar/JamDiscussButton.js +0 -1
  331. package/src/main/js/sap/ushell/ui/footerbar/JamShareButton.js +0 -1
  332. package/src/main/js/sap/ushell/ui/footerbar/LogoutButton.js +0 -1
  333. package/src/main/js/sap/ushell/ui/footerbar/SaveAsTile.view.js +1 -12
  334. package/src/main/js/sap/ushell/ui/footerbar/SendAsEmailButton.js +0 -1
  335. package/src/main/js/sap/ushell/ui/launchpad/ActionItem.js +0 -1
  336. package/src/main/js/sap/ushell/ui/launchpad/AnchorItem.js +0 -1
  337. package/src/main/js/sap/ushell/ui/launchpad/AnchorNavigationBar.js +0 -1
  338. package/src/main/js/sap/ushell/ui/launchpad/ExtendedChangeDetection.js +1 -1
  339. package/src/main/js/sap/ushell/ui/launchpad/FailedTileDialog.js +4 -4
  340. package/src/main/js/sap/ushell/ui/launchpad/GroupHeaderActions.js +0 -1
  341. package/src/main/js/sap/ushell/ui/launchpad/GroupListItem.js +0 -1
  342. package/src/main/js/sap/ushell/ui/launchpad/LinkTileWrapper.js +1 -1
  343. package/src/main/js/sap/ushell/ui/launchpad/LoadingDialog.js +0 -1
  344. package/src/main/js/sap/ushell/ui/launchpad/Page.js +1 -1
  345. package/src/main/js/sap/ushell/ui/launchpad/PlusTile.js +0 -1
  346. package/src/main/js/sap/ushell/ui/launchpad/Section.js +3 -3
  347. package/src/main/js/sap/ushell/ui/launchpad/Tile.js +0 -1
  348. package/src/main/js/sap/ushell/ui/launchpad/TileContainer.js +0 -1
  349. package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.js +4 -5
  350. package/src/main/js/sap/ushell/ui/shell/RightFloatingContainer.js +1 -1
  351. package/src/main/js/sap/ushell/ui/shell/ShellHeadItem.js +7 -8
  352. package/src/main/js/sap/ushell/ui/shell/SysInfoBar.js +1 -1
  353. package/src/main/js/sap/ushell/ui/shell/ToolAreaItem.js +1 -2
  354. package/src/main/js/sap/ushell/ui/tile/DynamicTile.js +0 -1
  355. package/src/main/js/sap/ushell/ui/tile/ImageTile.js +0 -1
  356. package/src/main/js/sap/ushell/ui/tile/StaticTile.js +0 -1
  357. package/src/main/js/sap/ushell/ui/tile/TileBase.js +0 -1
  358. package/src/main/js/sap/ushell/ui/utils.js +1 -1
  359. package/src/main/js/sap/ushell/ui5service/ShellUIService.js +1 -1
  360. package/src/main/js/sap/ushell/ui5service/UserStatus.js +1 -1
  361. package/src/main/js/sap/ushell/ui5service/_ShellUIService/shelluiservice.class.factory.js +1 -1
  362. package/src/main/js/sap/ushell/utils/HttpClient.js +0 -1
  363. package/src/main/js/sap/ushell/utils/RestrictedJSONModel.js +1 -1
  364. package/src/main/js/sap/ushell/utils/UrlParsing.js +18 -14
  365. package/src/main/js/sap/ushell/utils/UrlShortening.js +2 -2
  366. package/src/main/js/sap/ushell/utils/objectOperations.js +1 -1
  367. package/src/main/js/sap/ushell/utils/type.js +1 -1
  368. package/src/main/js/sap/ushell/utils/utilsCdm.js +3 -3
  369. package/src/main/js/sap/ushell/utils.js +128 -21
  370. package/src/test/js/sap/ushell/bootstrap/sandbox.js +2 -2
  371. package/ui5.yaml +1 -0
  372. package/src/main/js/sap/ushell/appRuntime/ui5/services/Menu.js +0 -22
@@ -996,8 +996,8 @@ sap.ui.define([
996
996
  /**
997
997
  * Add the group to the end of groups model
998
998
  *
999
- * @param {Object} oGroup The group object
1000
- * @returns {Object} The group context
999
+ * @param {object} oGroup The group object
1000
+ * @returns {object} The group context
1001
1001
  */
1002
1002
  addGroupToModel: function (oGroup) {
1003
1003
  var oGroupModel = this.oPageOperationAdapter.getPreparedGroupModel(oGroup, false, true, { isRendered: true });
@@ -1036,7 +1036,7 @@ sap.ui.define([
1036
1036
  * As the "plus tile" is always available if personalization is possible,
1037
1037
  * this will be focused if the aggregation of the tile/link is empty.
1038
1038
  *
1039
- * @param {number} tileIndex the index of the tile in the group model
1039
+ * @param {int} tileIndex the index of the tile in the group model
1040
1040
  * @param {object} group the group model object containing the tile
1041
1041
  * @param {string} tileType determines the aggregation, the tile was in (tiles or links)
1042
1042
  */
@@ -1527,7 +1527,7 @@ sap.ui.define([
1527
1527
  * Function to update the settings of the HomepageManager.
1528
1528
  * This allows us to adjust settings we might not know yet after the constructor was called.
1529
1529
  *
1530
- * @param {Object} oSettings The new settings
1530
+ * @param {object} oSettings The new settings
1531
1531
  * @private
1532
1532
  */
1533
1533
  updateSettings: function (oSettings) {
@@ -1957,9 +1957,9 @@ sap.ui.define([
1957
1957
 
1958
1958
  /**
1959
1959
  * Update the group in the model
1960
- * @param {Integer} nIndex
1960
+ * @param {int} nIndex
1961
1961
  * The index at which the group should be added. 0 is reserved for the default group.
1962
- * @param {Object} oNewGroupModel
1962
+ * @param {object} oNewGroupModel
1963
1963
  * The prepared group model
1964
1964
  */
1965
1965
  _loadGroup: function (nIndex, oNewGroupModel) {
@@ -44,7 +44,7 @@ sap.ui.define([
44
44
  function _createUserActionsMenuButton (oShellModel) {
45
45
  var sId = "userActionsMenuHeaderButton",
46
46
  oUser = sap.ushell.Container.getUser(),
47
- sTooltip = resources.i18n.getText("UserActionsMenuToggleButtonAria", oUser.getFullName());
47
+ sTooltip = resources.i18n.getText("UserActionsMenuToggleButtonAria", [oUser.getFullName()]);
48
48
 
49
49
  var oUserActionsMenuAvatar = new Avatar({
50
50
  id: sId,
@@ -44,8 +44,8 @@ sap.ui.define([
44
44
 
45
45
  /**
46
46
  * Return a tile height depend on the size behavior
47
- * @param {Boolean} bIsSmallSizeBehavior is small size behavior
48
- * @returns {Integer} the height of a tile in px
47
+ * @param {boolean} bIsSmallSizeBehavior is small size behavior
48
+ * @returns {int} the height of a tile in px
49
49
  */
50
50
  _getTileHeight: function (bIsSmallSizeBehavior) {
51
51
  return bIsSmallSizeBehavior ? 148 : 176;
@@ -53,9 +53,9 @@ sap.ui.define([
53
53
 
54
54
  /**
55
55
  * Return a tile width depend on the size behavior
56
- * @param {Boolean} bIsLongTile is a tile long
57
- * @param {Boolean} bIsSmallSizeBehavior is small size behavior
58
- * @returns {Integer} the width of a tile in px
56
+ * @param {boolean} bIsLongTile is a tile long
57
+ * @param {boolean} bIsSmallSizeBehavior is small size behavior
58
+ * @returns {int} the width of a tile in px
59
59
  */
60
60
  _getTileWidth: function (bIsLongTile, bIsSmallSizeBehavior) {
61
61
  if (bIsLongTile) {
@@ -43,15 +43,14 @@ sap.ui.define([
43
43
 
44
44
  oView.setModel(oModel);
45
45
 
46
-
47
46
  oCatalogsManager = oComponent.oCatalogsManager;
48
47
 
49
48
  this.bEnableEasyAccessSAPMenu = oModel.getProperty("/enableEasyAccessSAPMenu");
50
49
  this.bEnableEasyAccessUserMenu = oModel.getProperty("/enableEasyAccessUserMenu");
51
- this.bEnableEasyAccesOnTablet = oModel.getProperty("/enableEasyAccessOnTablet");
50
+ this.bEnableEasyAccessOnTablet = oModel.getProperty("/enableEasyAccessOnTablet");
52
51
 
53
52
  var bEnableOneEasyAccessMenu = this.bEnableEasyAccessSAPMenu || this.bEnableEasyAccessUserMenu;
54
- var bIsDeviceEasyAccessMenuCompatible = !Device.system.phone && !Device.system.tablet || Device.system.tablet && this.bEnableEasyAccesOnTablet || Device.system.combi;
53
+ var bIsDeviceEasyAccessMenuCompatible = !Device.system.phone && !Device.system.tablet || Device.system.tablet && this.bEnableEasyAccessOnTablet || Device.system.combi;
55
54
 
56
55
  this.bShowEasyAccessMenu = bEnableOneEasyAccessMenu && bIsDeviceEasyAccessMenuCompatible;
57
56
 
@@ -110,7 +109,7 @@ sap.ui.define([
110
109
  if (bShowOpenCloseSplitAppButton !== bCurrentShowOpenCloseSplitAppButton) {
111
110
  this.oSubHeaderModel.setProperty("/openCloseSplitAppButtonVisible", bShowOpenCloseSplitAppButton);
112
111
 
113
- // in case we now show the button, then it must be foced untoggled, as the left panel closes automatically
112
+ // in case we now show the button, then it must be forced untoggled, as the left panel closes automatically
114
113
  if (bShowOpenCloseSplitAppButton) {
115
114
  this.oSubHeaderModel.setProperty("/openCloseSplitAppButtonToggled", false);
116
115
  }
@@ -146,7 +145,7 @@ sap.ui.define([
146
145
  // toggle class on app finder page
147
146
  this._toggleViewWithToggleButtonClass(this._showOpenCloseSplitAppButton());
148
147
  if (this.bShowEasyAccessMenu) {
149
- // in case we need to show the easy access menu buttons, update sub header accordigly (within the onShow)
148
+ // in case we need to show the easy access menu buttons, update sub header accordingly (within the onShow)
150
149
  this.onShow(oEvent);
151
150
  } else if (oView._showSearch("catalog")) {
152
151
  // else no easy access menu buttons, update sub header accordingly
@@ -161,6 +160,11 @@ sap.ui.define([
161
160
  // Id is included for UserActivityLog
162
161
  EventHub.emit("showCatalog", { sId: "showCatalog", oData: Date.now() });
163
162
  Core.getEventBus().publish("launchpad", "contentRendered");
163
+
164
+ // track navigation in ShellAnalytics
165
+ if (EventHub.last("firstCatalogSegmentCompleteLoaded")) {
166
+ EventHub.emit("CloseFesrRecord", Date.now());
167
+ }
164
168
  },
165
169
 
166
170
  _showOpenCloseSplitAppButton: function () {
@@ -238,14 +242,14 @@ sap.ui.define([
238
242
  // we are in search mode and on Phone
239
243
  if (oSearchData.searchMode && Device.system.phone) {
240
244
  // in case we are in phone we untoggle the toggle button when search is invoked as
241
- // the detailed page of the search results is nevigated to and opened.
245
+ // the detailed page of the search results is navigated to and opened.
242
246
  // therefore we untoggle the button of the master page
243
247
  this.oSubHeaderModel.setProperty("/openCloseSplitAppButtonToggled", false);
244
248
  }
245
249
 
246
250
  // check and update the search term
247
251
  if (sSearchTerm !== oSearchData.searchTerm) {
248
- if (this.containsOnlyWhitepaces(sSearchTerm)) {
252
+ if (this.containsOnlyWhiteSpaces(sSearchTerm)) {
249
253
  sSearchTerm = "*";
250
254
  }
251
255
  oSearchData.searchTerm = sSearchTerm;
@@ -304,13 +308,13 @@ sap.ui.define([
304
308
  _filterSystemModelsOnTablet: function (aReturnSystems) {
305
309
  var oDeferredReturnSystems = new jQuery.Deferred();
306
310
 
307
- if (this.bEnableEasyAccesOnTablet) {
308
- // We need to filter out the Shell-startWDA and Shell-startGUI sytems
311
+ if (this.bEnableEasyAccessOnTablet) {
312
+ // We need to filter out the Shell-startWDA and Shell-startGUI systems
309
313
  // that do not support tablet
310
314
  sap.ushell.Container.getServiceAsync("NavTargetResolution").then(function (oService) {
311
315
  // Shell-startWDA often requires the additional parameter sap-ui2-wd-app-id
312
- // and Shell-startGUI requires the additional paramter sap-ui2-tcode
313
- // We are provinding these with a placeholder value to be able to use
316
+ // and Shell-startGUI requires the additional parameter sap-ui2-tcode
317
+ // We are providing these with a placeholder value to be able to use
314
318
  // the resolution service.
315
319
  var aFilteredReturnSystemsPromises = aReturnSystems.reduce(function (aResult, oSystem) {
316
320
  var oNavigationPromise;
@@ -641,10 +645,10 @@ sap.ui.define([
641
645
  var systemsModel = [];
642
646
  var aSystemsID = Object.keys(oSystems);
643
647
  for (var i = 0; i < aSystemsID.length; i++) {
644
- var sCurrentsystemID = aSystemsID[i];
648
+ var sCurrentSystemID = aSystemsID[i];
645
649
  systemsModel[i] = {
646
- systemName: oSystems[sCurrentsystemID].text,
647
- systemId: sCurrentsystemID
650
+ systemName: oSystems[sCurrentSystemID].text,
651
+ systemId: sCurrentSystemID
648
652
  };
649
653
  }
650
654
  oDeferred.resolve(systemsModel);
@@ -678,7 +682,7 @@ sap.ui.define([
678
682
  * @returns {boolean} True if the input field is ' ' (space) or ' ' (a few spaces).
679
683
  * False if the input field contains not only spaces (for example 'a b') or if it is an empty string.
680
684
  */
681
- containsOnlyWhitepaces: function (sTerm) {
685
+ containsOnlyWhiteSpaces: function (sTerm) {
682
686
  if (!sTerm || sTerm === "") {
683
687
  return false;
684
688
  }
@@ -34,14 +34,14 @@ sap.ui.define([
34
34
  AccessibilityCustomData,
35
35
  Toolbar,
36
36
  Page,
37
- resources,
37
+ ushellResources,
38
38
  Device
39
39
  ) {
40
40
  "use strict";
41
41
 
42
42
  return View.extend("sap.ushell.components.appfinder.AppFinderView", {
43
43
  createContent: function () {
44
- var oResourceBundle = resources.i18n;
44
+ var oResourceBundle = ushellResources.i18n;
45
45
 
46
46
  this.oPage = new Page("appFinderPage", {
47
47
  showHeader: false,
@@ -52,7 +52,7 @@ sap.ui.define([
52
52
  title: {
53
53
  parts: ["/groupContext/title"],
54
54
  formatter: function (title) {
55
- return !title ? oResourceBundle.getText("appFinderTitle") : oResourceBundle.getText("appFinder_group_context_title", title);
55
+ return !title ? oResourceBundle.getText("appFinderTitle") : oResourceBundle.getText("appFinder_group_context_title", [title]);
56
56
  }
57
57
  }
58
58
  });
@@ -116,10 +116,10 @@ sap.ui.define([
116
116
  press: function (oEvent) {
117
117
  this.getController().oSubHeaderModel.setProperty("/openCloseSplitAppButtonToggled", oEvent.getSource().getPressed());
118
118
  this.openCloseSplitAppButton.setTooltip(oEvent.getParameter("pressed") ?
119
- resources.i18n.getText("ToggleButtonHide") :
120
- resources.i18n.getText("ToggleButtonShow"));
119
+ ushellResources.i18n.getText("ToggleButtonHide") :
120
+ ushellResources.i18n.getText("ToggleButtonShow"));
121
121
  }.bind(this),
122
- tooltip: resources.i18n.getText("ToggleButtonShow")
122
+ tooltip: ushellResources.i18n.getText("ToggleButtonShow")
123
123
  });
124
124
 
125
125
  this.openCloseSplitAppButton.setModel(this.getController().oSubHeaderModel);
@@ -158,10 +158,10 @@ sap.ui.define([
158
158
  }
159
159
 
160
160
  var oController = this.getController();
161
- var oResourceBundle = resources.i18n;
161
+ var oResourceBundle = ushellResources.i18n;
162
162
 
163
163
  var oCatalogSBIInvisibleText = new InvisibleText({
164
- text: resources.i18n.getText("AppFinder.SegmentedButton.Catalog.Describedby")
164
+ text: oResourceBundle.getText("AppFinder.SegmentedButton.Catalog.Describedby")
165
165
  }).toStatic();
166
166
  this.addDependent(oCatalogSBIInvisibleText);
167
167
  this.segmentedButton = new SegmentedButton("appFinderSegmentedButtons", {
@@ -190,7 +190,7 @@ sap.ui.define([
190
190
 
191
191
  if (oController.bEnableEasyAccessUserMenu) {
192
192
  var oUserMenuSBIInvisibleText = new InvisibleText({
193
- text: resources.i18n.getText("AppFinder.SegmentedButton.UserMenu.Describedby")
193
+ text: oResourceBundle.getText("AppFinder.SegmentedButton.UserMenu.Describedby")
194
194
  }).toStatic();
195
195
  this.addDependent(oUserMenuSBIInvisibleText);
196
196
  this.segmentedButton.addItem(new SegmentedButtonItem("userMenu", {
@@ -215,7 +215,7 @@ sap.ui.define([
215
215
  }
216
216
  if (oController.bEnableEasyAccessSAPMenu) {
217
217
  var oSAPMenuSBIInvisibleText = new InvisibleText({
218
- text: resources.i18n.getText("AppFinder.SegmentedButton.SAPMenu.Describedby")
218
+ text: oResourceBundle.getText("AppFinder.SegmentedButton.SAPMenu.Describedby")
219
219
  }).toStatic();
220
220
  this.addDependent(oSAPMenuSBIInvisibleText);
221
221
  this.segmentedButton.addItem(new SegmentedButtonItem("sapMenu", {
@@ -317,8 +317,8 @@ sap.ui.define([
317
317
  }
318
318
 
319
319
  if (sSearchPlaceHolderKey && this.oAppFinderSearchControl) {
320
- this.oAppFinderSearchControl.setPlaceholder(resources.i18n.getText(sSearchPlaceHolderKey));
321
- this.oAppFinderSearchControl.setTooltip(resources.i18n.getText(sSearchPlaceHolderKey));
320
+ this.oAppFinderSearchControl.setPlaceholder(ushellResources.i18n.getText(sSearchPlaceHolderKey));
321
+ this.oAppFinderSearchControl.setTooltip(ushellResources.i18n.getText(sSearchPlaceHolderKey));
322
322
  }
323
323
  },
324
324
 
@@ -990,9 +990,9 @@ sap.ui.define([
990
990
  var oErrorMessage;
991
991
 
992
992
  if (bTileAdded) {
993
- oErrorMessage = resources.i18n.getText({ messageId: "fail_tile_operation_add_to_group", parameters: [oCatalogTileModel.tileData.title, oGroupModel.title] });
993
+ oErrorMessage = { messageId: "fail_tile_operation_add_to_group", parameters: [oCatalogTileModel.tileData.title, oGroupModel.title]};
994
994
  } else {
995
- oErrorMessage = resources.i18n.getText({ messageId: "fail_tile_operation_remove_from_group", parameters: [oCatalogTileModel.tileData.title, oGroupModel.title] });
995
+ oErrorMessage = { messageId: "fail_tile_operation_remove_from_group", parameters: [oCatalogTileModel.tileData.title, oGroupModel.title]};
996
996
  }
997
997
 
998
998
  oCatalogsManager.notifyOnActionFailure(oErrorMessage.messageId, oErrorMessage.parameters);
@@ -1001,7 +1001,7 @@ sap.ui.define([
1001
1001
  prepareErrorMessage: function (aErroneousActions, sTileTitle) {
1002
1002
  var sFirstErroneousAddGroup;
1003
1003
  var sFirstErroneousRemoveGroup;
1004
- var sMessage;
1004
+ var oMessage;
1005
1005
  var iNumberOfFailAddActions = 0;
1006
1006
  var iNumberOfFailDeleteActions = 0;
1007
1007
  var bCreateNewGroupFailed = false;
@@ -1034,26 +1034,26 @@ sap.ui.define([
1034
1034
  // First - Handle bCreateNewGroupFailed
1035
1035
  if (bCreateNewGroupFailed) {
1036
1036
  if (aErroneousActions.length === 1) {
1037
- sMessage = resources.i18n.getText({ messageId: "fail_tile_operation_create_new_group" });
1037
+ oMessage = { messageId: "fail_tile_operation_create_new_group" };
1038
1038
  } else {
1039
- sMessage = resources.i18n.getText({ messageId: "fail_tile_operation_some_actions" });
1039
+ oMessage = { messageId: "fail_tile_operation_some_actions" };
1040
1040
  }
1041
1041
  // Single error - it can be either one add action or one remove action
1042
1042
  } else if (aErroneousActions.length === 1) {
1043
1043
  if (iNumberOfFailAddActions) {
1044
- sMessage = resources.i18n.getText({ messageId: "fail_tile_operation_add_to_group", parameters: [sTileTitle, sFirstErroneousAddGroup] });
1044
+ oMessage = { messageId: "fail_tile_operation_add_to_group", parameters: [sTileTitle, sFirstErroneousAddGroup] };
1045
1045
  } else {
1046
- sMessage = resources.i18n.getText({ messageId: "fail_tile_operation_remove_from_group", parameters: [sTileTitle, sFirstErroneousRemoveGroup] });
1046
+ oMessage = { messageId: "fail_tile_operation_remove_from_group", parameters: [sTileTitle, sFirstErroneousRemoveGroup] };
1047
1047
  }
1048
1048
  // Many errors (iErrorCount > 1) - it can be several remove actions, or several add actions, or a mix of both
1049
1049
  } else if (iNumberOfFailDeleteActions === 0) {
1050
- sMessage = resources.i18n.getText({ messageId: "fail_tile_operation_add_to_several_groups", parameters: [sTileTitle] });
1050
+ oMessage = { messageId: "fail_tile_operation_add_to_several_groups", parameters: [sTileTitle] };
1051
1051
  } else if (iNumberOfFailAddActions === 0) {
1052
- sMessage = resources.i18n.getText({ messageId: "fail_tile_operation_remove_from_several_groups", parameters: [sTileTitle] });
1052
+ oMessage = { messageId: "fail_tile_operation_remove_from_several_groups", parameters: [sTileTitle] };
1053
1053
  } else {
1054
- sMessage = resources.i18n.getText({ messageId: "fail_tile_operation_some_actions" });
1054
+ oMessage = { messageId: "fail_tile_operation_some_actions" };
1055
1055
  }
1056
- return sMessage;
1056
+ return oMessage;
1057
1057
  },
1058
1058
 
1059
1059
  prepareDetailedMessage: function (tileTitle, numberOfAddedGroups, numberOfRemovedGroups, firstAddedGroupTitle, firstRemovedGroupTitle) {
@@ -1086,8 +1086,8 @@ sap.ui.define([
1086
1086
  },
1087
1087
 
1088
1088
  /**
1089
- * @param {Object} oSourceContext model context
1090
- * @returns {Object} Returns the part of the model that contains the IDs of the groups that contain the relevant Tile
1089
+ * @param {object} oSourceContext model context
1090
+ * @returns {object} Returns the part of the model that contains the IDs of the groups that contain the relevant Tile
1091
1091
  */
1092
1092
  getCatalogTileDataFromModel: function (oSourceContext) {
1093
1093
  var sBindingCtxPath = oSourceContext.getPath();
@@ -1109,7 +1109,7 @@ sap.ui.define([
1109
1109
  *
1110
1110
  * @param {sap.ui.model.Context} oTileContext the catalog tile to add
1111
1111
  * @param {sap.ui.model.Context} oGroupContext the group where the tile should be added
1112
- * @returns {Object} deferred
1112
+ * @returns {object} deferred
1113
1113
  * @private
1114
1114
  *
1115
1115
  * @deprecated since 1.112
@@ -1133,9 +1133,9 @@ sap.ui.define([
1133
1133
  *
1134
1134
  * Send request to delete a tile from a group. Request is triggered asynchronously, so UI is not blocked.
1135
1135
  *
1136
- * @param {Number} tileCatalogId the id of the tile
1137
- * @param {Number} index the index of the group in the model
1138
- * @returns {Object} deferred
1136
+ * @param {int} tileCatalogId the id of the tile
1137
+ * @param {int} index the index of the group in the model
1138
+ * @returns {object} deferred
1139
1139
  * @private
1140
1140
  *
1141
1141
  * @deprecated since 1.112
@@ -1163,7 +1163,7 @@ sap.ui.define([
1163
1163
  *
1164
1164
  * @param {sap.ui.model.Context} oTileContext the catalog tile to add
1165
1165
  * @param {string} newGroupName the name of the new group where the tile should be added
1166
- * @returns {Object} deferred
1166
+ * @returns {object} deferred
1167
1167
  * @private
1168
1168
  *
1169
1169
  * @deprecated since 1.112
@@ -358,7 +358,7 @@ sap.ui.define([
358
358
  if (oIllustratedMessageDomRef) {
359
359
  var aIllustratedMessageMainTexts = oIllustratedMessageDomRef.getElementsByClassName("sapMTitle");
360
360
  if (aIllustratedMessageMainTexts.length) {
361
- aIllustratedMessageMainTexts[0].removeAttribute();
361
+ aIllustratedMessageMainTexts[0].removeAttribute("tabindex");
362
362
  }
363
363
  }
364
364
  }.bind(this)
@@ -403,14 +403,14 @@ sap.ui.define([
403
403
  }
404
404
  return this.translationBundle.getText("easyAccessErrorGetDataErrorMsg", [sMenuNameString, oError]);
405
405
  }
406
- return this.translationBundle.getText("easyAccessErrorGetDataErrorMsgNoReason", sMenuNameString);
406
+ return this.translationBundle.getText("easyAccessErrorGetDataErrorMsgNoReason", [sMenuNameString]);
407
407
  },
408
408
 
409
409
  /**
410
410
  * @param {string} menuType - the service that need to be called (can be USER_MENU or SAP_MENU)
411
411
  * @param {string} systemId - the system that the user choose in the system selector
412
412
  * @param {string} entityId - the "root" entity. Can be a specific id or "" in case it is the first call
413
- * @param {number} entityLevel - the entity level (if it is the root entity the level should be 0)
413
+ * @param {int} entityLevel - the entity level (if it is the root entity the level should be 0)
414
414
  * @param {string} numberOfNextLevels - how much levels would like to retrieve. id no value is passed the default value is 3
415
415
  * @returns {*} - an object to add to the system easy access model
416
416
  */
@@ -141,7 +141,7 @@ sap.ui.define([
141
141
  sFirstErroneousAddGroup,
142
142
  iNumberOfFailAddActions = 0,
143
143
  bCreateNewGroupFailed = false,
144
- message;
144
+ oMessage;
145
145
 
146
146
  for (var index in aErroneousActions) {
147
147
  // Get the data of the error (i.e. action name and group object).
@@ -175,17 +175,17 @@ sap.ui.define([
175
175
  // First - Handle bCreateNewGroupFailed
176
176
  if (bCreateNewGroupFailed) {
177
177
  if (aErroneousActions.length === 1) {
178
- message = resources.i18n.getText({ messageId: "fail_tile_operation_create_new_group" });
178
+ oMessage = { messageId: "fail_tile_operation_create_new_group" };
179
179
  } else {
180
- message = resources.i18n.getText({ messageId: "fail_tile_operation_some_actions" });
180
+ oMessage = { messageId: "fail_tile_operation_some_actions" };
181
181
  }
182
182
  // Single error - it can be either one add action or one remove action
183
183
  } else if (aErroneousActions.length === 1) {
184
- message = resources.i18n.getText({ messageId: "fail_app_operation_add_to_group", parameters: [sAppTitle, sFirstErroneousAddGroup] });
184
+ oMessage = { messageId: "fail_app_operation_add_to_group", parameters: [sAppTitle, sFirstErroneousAddGroup] };
185
185
  } else {
186
- message = resources.i18n.getText({ messageId: "fail_app_operation_add_to_several_groups", parameters: [sAppTitle] });
186
+ oMessage = { messageId: "fail_app_operation_add_to_several_groups", parameters: [sAppTitle] };
187
187
  }
188
- return message;
188
+ return oMessage;
189
189
  },
190
190
 
191
191
  /**
@@ -34,7 +34,7 @@ sap.ui.define([
34
34
  /**
35
35
  * VisualizationOrganizerHelper constructor.
36
36
  *
37
- * @constructor
37
+ * @class
38
38
  * @protected
39
39
  */
40
40
  function VisualizationOrganizerHelper () {
@@ -87,7 +87,7 @@ sap.ui.define([
87
87
  }
88
88
  var oAppFinderView = getAppFinderView();
89
89
  if (oAppFinderView && oVisualizationOrganizer.getPersonalizablePages().length === 1) {
90
- var sTitle = resources.i18n.getText("VisualizationOrganizer.PageContextTitle", oVisualizationOrganizer.getPersonalizablePages()[0].title);
90
+ var sTitle = resources.i18n.getText("VisualizationOrganizer.PageContextTitle", [oVisualizationOrganizer.getPersonalizablePages()[0].title]);
91
91
  oAppFinderView.getController()._updateShellHeader(sTitle);
92
92
  }
93
93
  }.bind(this))
@@ -285,8 +285,8 @@ sap.ui.define([
285
285
  this.oView.getModel().updateBindings(true);
286
286
  if (oSectionContext) {
287
287
  var sTitle = oSectionContext.sectionTitle
288
- ? resources.i18n.getText("VisualizationOrganizer.AppFinderSectionContextTitle", oSectionContext.sectionTitle)
289
- : resources.i18n.getText("VisualizationOrganizer.AppFinderSectionContextTitle", oSectionContext.pageTitle);
288
+ ? resources.i18n.getText("VisualizationOrganizer.AppFinderSectionContextTitle", [oSectionContext.sectionTitle])
289
+ : resources.i18n.getText("VisualizationOrganizer.AppFinderSectionContextTitle", [oSectionContext.pageTitle]);
290
290
  this.oView.oPage.setTitle(sTitle);
291
291
  if (this._updateShellHeader) {
292
292
  return new Promise(function (resolve) {
@@ -3,7 +3,7 @@
3
3
  "sap.app": {
4
4
  "id": "sap.ushell.components.appfinder",
5
5
  "applicationVersion": {
6
- "version": "1.118.0"
6
+ "version": "1.119.0"
7
7
  },
8
8
  "i18n": {
9
9
  "bundleUrl": "../../renderers/fiori2/resources/resources.properties",
@@ -1,7 +1,7 @@
1
1
  // Copyright (c) 2009-2023 SAP SE, All Rights Reserved
2
2
  /**
3
3
  * @fileOverview handle all the resources for the different applications.
4
- * @version 1.118.0
4
+ * @version 1.119.0
5
5
  */
6
6
  sap.ui.define([
7
7
  "sap/ushell/components/applicationIntegration/elements/model",
@@ -296,6 +296,13 @@ sap.ui.define([
296
296
  oPromiseAppClose,
297
297
  oDeferredAppClose;
298
298
 
299
+ //this code must be at the beginning of the function to allow it to be processed once in
300
+ //a cycle of openning an app
301
+ if (sToId && oTo && oTo.getIframeReusedForApp && oTo.getIframeReusedForApp() === true) {
302
+ oTo.setProperty("iframeReusedForApp", false, true);
303
+ PostMessageUtils.postMessageToIframeApp(oTo, "sap.ushell.sessionHandler", "afterApplicationShow", {}, false);
304
+ }
305
+
299
306
  //if called from onAfterNavigate, do nothing if oFrom is stateful container, because
300
307
  //application was already closed at the beginning of 'handleControl'
301
308
  if (isHomePage === false && bFromAfterNavigate === true && (BlueBoxHandler.isStatefulContainer(oFrom) || BlueBoxHandler.isStatefulContainerInKeepAlivePool(oFrom))) {
@@ -306,11 +313,6 @@ sap.ui.define([
306
313
  sFromId = oFrom.getCurrentAppId();
307
314
  }
308
315
 
309
- if (sToId && oTo && oTo.getIframeReusedForApp && oTo.getIframeReusedForApp() === true) {
310
- oTo.setProperty("iframeReusedForApp", false, true);
311
- PostMessageUtils.postMessageToIframeApp(oTo, "sap.ushell.sessionHandler", "afterApplicationShow", {}, false);
312
- }
313
-
314
316
  if (sFromId && oFrom) {
315
317
  if (BlueBoxHandler.isStatefulContainer(oFrom)) {
316
318
  oPromiseAppClose = this.handleExitStateful(sFromId, oFrom, isHomePage);
@@ -1,7 +1,7 @@
1
1
  // Copyright (c) 2009-2023 SAP SE, All Rights Reserved
2
2
  /**
3
3
  * @fileOverview handle all the resources for the different applications.
4
- * @version 1.118.0
4
+ * @version 1.119.0
5
5
  */
6
6
  sap.ui.define([
7
7
  "sap/ushell/components/container/ApplicationContainer",
@@ -301,7 +301,7 @@ sap.ui.define([
301
301
  * @param {string} sSidOrName
302
302
  * The sid or name representation of the system alias
303
303
  *
304
- * @return {boolean}
304
+ * @returns {boolean}
305
305
  * Whether the given system is in sid format and matches the local system.
306
306
  *
307
307
  * @private
@@ -1,7 +1,7 @@
1
1
  // Copyright (c) 2009-2023 SAP SE, All Rights Reserved
2
2
  /**
3
3
  * @fileOverview handle all the resources for the different applications.
4
- * @version 1.118.0
4
+ * @version 1.119.0
5
5
  */
6
6
  sap.ui.define([
7
7
  "sap/ushell/components/applicationIntegration/application/BlueBoxesCache",
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @fileOverview defines the post message API for all applications running in iframe within the shell
5
- * @version 1.118.0
5
+ * @version 1.119.0
6
6
  * @private
7
7
  */
8
8
  sap.ui.define([
@@ -6,7 +6,7 @@ sap.ui.define([
6
6
  "sap/ushell/utils",
7
7
  "sap/ushell/components/applicationIntegration/application/PostMessageUtils"
8
8
  ], function (
9
- utils, PostMessageUtils
9
+ ushellUtils, PostMessageUtils
10
10
  ) {
11
11
  "use strict";
12
12
 
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  };
38
38
 
39
39
  function createGuiApp (oContainer, oTarget) {
40
- return new Promise(function (fnResolve, fnReject) {
40
+ return new Promise(async function (fnResolve, fnReject) {
41
41
  var oPostParams,
42
42
  oFLPParams,
43
43
  sUrl = oTarget.url;
@@ -51,14 +51,14 @@ sap.ui.define([
51
51
  PostMessageUtils.postMessageToIframeApp(oContainer, "sap.its", "startService", oPostParams, true).then(fnResolve, fnReject);
52
52
  }
53
53
 
54
- sUrl = utils.appendSapShellParam(sUrl);
55
- sUrl = utils.filterOutParamsFromLegacyAppURL(sUrl);
54
+ sUrl = await ushellUtils.appendSapShellParam(sUrl);
55
+ sUrl = ushellUtils.filterOutParamsFromLegacyAppURL(sUrl);
56
56
 
57
57
  oPostParams = {
58
58
  url: sUrl
59
59
  };
60
60
  if (oContainer.getIframeWithPost && oContainer.getIframeWithPost() === true) {
61
- var oAppStatesInfo = utils.getParamKeys(sUrl);
61
+ var oAppStatesInfo = ushellUtils.getParamKeys(sUrl);
62
62
 
63
63
  if (oAppStatesInfo.aAppStateNamesArray.length > 0) {
64
64
  sap.ushell.Container.getServiceAsync("CrossApplicationNavigation").then(function (oService) {