@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
@@ -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/base/util/extend",
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  ElementsModel,
23
23
  Device,
24
24
  Config,
25
- utils,
25
+ ushellUtils,
26
26
  resources,
27
27
  EventHub,
28
28
  RelatedShellElements,
@@ -148,15 +148,15 @@ sap.ui.define([
148
148
  ElementsModel.updateStateProperty("application/title", sTitle, true);
149
149
  RelatedShellElements.genericSetItem("application/title", sTitle);
150
150
  window.document.title = sTitle;
151
- utils.setPerformanceMark("FLP -- title change");
151
+ ushellUtils.setPerformanceMark("FLP -- title change");
152
152
  EventHub.emit("TitleChanged", sTitle);
153
153
  };
154
154
 
155
155
  /*
156
156
  * Helper function to get the favIcon image URL based on a given theme parameter.
157
157
  */
158
- this._getDefaultFavIcon = function (oParameters) {
159
- var favIcon = oParameters.get("sapUiShellFavicon");
158
+ this._getDefaultFavIcon = async function () {
159
+ let [favIcon] = await ushellUtils.getThemingParameters(["sapUiShellFavicon"]);
160
160
  if (favIcon) { // custom theme favicon
161
161
  var match = /url[\s]*\('?"?([^'")]*)'?"?\)/.exec(favIcon);
162
162
  if (match) {
@@ -199,31 +199,26 @@ sap.ui.define([
199
199
  //Performance Debug
200
200
  Measurement.start("FLP:ShellController.setAppIcons", "setValues", "FLP");
201
201
 
202
- sap.ui.require(["sap/ui/core/theming/Parameters"], function (Parameters) {
203
- if (Core.isThemeApplied()) {
204
- this.setValues(oMetadataConfig, Parameters);
205
- } else {
206
- Core.attachThemeChanged(function () {
207
- this.setValues(oMetadataConfig, Parameters);
208
- }.bind(this));
209
- }
210
- }.bind(this));
202
+ if (Core.isThemeApplied()) {
203
+ this.setValues(oMetadataConfig);
204
+ } else {
205
+ Core.attachThemeChanged(function () {
206
+ this.setValues(oMetadataConfig);
207
+ }.bind(this));
208
+ }
211
209
 
212
210
  Measurement.end("FLP:ShellController.setAppIcons");
213
211
  };
214
212
 
215
- this.setValues = function (oMetadataConfig, Parameters) {
216
- var sModulePath = sap.ui.require.toUrl("sap/ushell"),
217
- oLaunchIconPhone = (oMetadataConfig && oMetadataConfig.homeScreenIconPhone) ||
218
- (sModulePath + "/themes/base/img/launchicons/57_iPhone_Desktop_Launch.png"),
219
- oLaunchIconPhone2 = (oMetadataConfig && oMetadataConfig["homeScreenIconPhone@2"]) ||
220
- (sModulePath + "/themes/base/img/launchicons/114_iPhone-Retina_Web_Clip.png"),
221
- oLaunchIconTablet = (oMetadataConfig && oMetadataConfig.homeScreenIconTablet) ||
222
- (sModulePath + "/themes/base/img/launchicons/72_iPad_Desktop_Launch.png"),
223
- oLaunchIconTablet2 = (oMetadataConfig && oMetadataConfig["homeScreenIconTablet@2"]) ||
224
- (sModulePath + "/themes/base/img/launchicons/144_iPad_Retina_Web_Clip.png"),
225
- oFavIcon = (oMetadataConfig && oMetadataConfig.favIcon) || (this._getDefaultFavIcon(Parameters)),
226
- sCurrentFavIconHref = this.getFavIconHref();
213
+ this.setValues = async function (oMetadataConfig) {
214
+ var sModulePath = sap.ui.require.toUrl("sap/ushell");
215
+ var oLaunchIconPhone = (oMetadataConfig && oMetadataConfig.homeScreenIconPhone) || (sModulePath + "/themes/base/img/launchicons/57_iPhone_Desktop_Launch.png");
216
+ var oLaunchIconPhone2 = (oMetadataConfig && oMetadataConfig["homeScreenIconPhone@2"]) || (sModulePath + "/themes/base/img/launchicons/114_iPhone-Retina_Web_Clip.png");
217
+ var oLaunchIconTablet = (oMetadataConfig && oMetadataConfig.homeScreenIconTablet) || (sModulePath + "/themes/base/img/launchicons/72_iPad_Desktop_Launch.png");
218
+ var oLaunchIconTablet2 = (oMetadataConfig && oMetadataConfig["homeScreenIconTablet@2"]) || (sModulePath + "/themes/base/img/launchicons/144_iPad_Retina_Web_Clip.png");
219
+ var sDefaultFavIcon = await this._getDefaultFavIcon();
220
+ var oFavIcon = (oMetadataConfig && oMetadataConfig.favIcon) || sDefaultFavIcon;
221
+ var sCurrentFavIconHref = this.getFavIconHref();
227
222
  if (Device.os.ios) {
228
223
  Mobile.setIcons({
229
224
  phone: oLaunchIconPhone,
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @fileOverview The models assosicated with the applciation.
5
- * @version 1.118.0
5
+ * @version 1.119.0
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/ushell/EventHub",
@@ -1,7 +1,7 @@
1
1
  // Copyright (c) 2009-2023 SAP SE, All Rights Reserved
2
2
  /**
3
3
  * @fileOverview handle all the services for the different applications.
4
- * @version 1.118.0
4
+ * @version 1.119.0
5
5
  */
6
6
  sap.ui.define([
7
7
  "sap/ui/core/Core"
@@ -1,7 +1,7 @@
1
1
  // Copyright (c) 2009-2023 SAP SE, All Rights Reserved
2
2
  /**
3
3
  * @fileOverview handle all the related shell elements of the different applications.
4
- * @version 1.118.0
4
+ * @version 1.119.0
5
5
  */
6
6
  sap.ui.define([
7
7
  "sap/base/Log",
@@ -194,8 +194,8 @@ sap.ui.define([
194
194
  /**
195
195
  * Fill the card's CHIP bag with texts extracted from the card's manifest
196
196
  *
197
- * @param {Object} extractedData The card data extraced from the manifest
198
- * @param {Object} tilePropertiesBag The card's properties bag
197
+ * @param {object} extractedData The card data extraced from the manifest
198
+ * @param {object} tilePropertiesBag The card's properties bag
199
199
  *
200
200
  * @private
201
201
  */
@@ -13,8 +13,9 @@ sap.ui.define([
13
13
  "sap/m/Menu",
14
14
  "sap/m/MenuItem",
15
15
  "sap/ushell/ui/footerbar/AddBookmarkButton",
16
- "sap/f/GridContainerItemLayoutData"
17
- ], function (Controller, Core, JSONModel, Edition, mLib, Menu, MenuItem, AddBookmarkButton, GridContainerItemLayoutData) {
16
+ "sap/f/GridContainerItemLayoutData",
17
+ "sap/ushell/EventHub"
18
+ ], function (Controller, Core, JSONModel, Edition, mLib, Menu, MenuItem, AddBookmarkButton, GridContainerItemLayoutData, EventHub) {
18
19
 
19
20
  "use strict";
20
21
  var URLHelper = mLib.URLHelper;
@@ -57,6 +58,9 @@ sap.ui.define([
57
58
  this.changeCategory(sQueryCategory);
58
59
  }
59
60
  this.getView().setVisible(true);
61
+
62
+ // Close FESR Record - consumed in ShellAnalytics
63
+ EventHub.emit("CloseFesrRecord", Date.now());
60
64
  }.bind(this));
61
65
  },
62
66
 
@@ -73,6 +73,11 @@ sap.ui.define(
73
73
 
74
74
  var IllustrationType = mLibrary.IllustratedMessageType;
75
75
 
76
+ var defaultItemWidths = {
77
+ tile: 190,
78
+ card: 400
79
+ };
80
+
76
81
  // Fix object identifier handle press
77
82
  ObjectIdentifier.prototype._handlePress = function (oEvent) {
78
83
  var oClickedItem = oEvent.target;
@@ -312,7 +317,7 @@ sap.ui.define(
312
317
  this.updateDataModel({});
313
318
  };
314
319
 
315
- Category.prototype.search = function (sSearchTerm, iSkip, iTop) {
320
+ Category.prototype.search = function (sSearchTerm, iSkip, iTop, bForced) {
316
321
  iTop = isNaN(iTop) || iTop < 0 ? this._iTop || this.getPageSize() : iTop;
317
322
  iSkip = isNaN(iSkip) || iSkip < 0 ? this._iSkip || 0 : iSkip;
318
323
  if (typeof sSearchTerm !== "string") {
@@ -323,7 +328,7 @@ sap.ui.define(
323
328
  pFetch,
324
329
  oCurrentData = this.getModel("data").getData() || {};
325
330
 
326
- if (!this.resetDataRequired(sSearchTerm, iSkip, iTop)) {
331
+ if (!bForced && !this.resetDataRequired(sSearchTerm, iSkip, iTop)) {
327
332
  this.fireFetchEvent("before", "skipped", oCurrentData);
328
333
  this.fireFetchEvent("after", "skipped", oCurrentData);
329
334
  return;
@@ -351,18 +356,40 @@ sap.ui.define(
351
356
  if (pFetch) {
352
357
  pFetch.then(function (oData) {
353
358
  this._iCurrentCount = oData.count || 0;
354
- this.setNoDataText(this.translate("NoData"), "NoData");
359
+ setTimeout(function() {
360
+ this.setNoDataText(this.translate("NoData"), "NoData");
361
+ }.bind(this), 100);
355
362
  this.fireFetchEvent("after", bVisible ? "data" : "count", oData);
356
363
  }.bind(this));
357
364
  }
358
365
  };
359
366
 
367
+ Category.prototype.getMaxRowItemsAsync = function () {
368
+ if (!this.getDomRef()) {
369
+ return new Promise(function(resolve) {
370
+ setTimeout(function() {
371
+ resolve(this._getMaxRowItems());
372
+ }.bind(this), 200);
373
+ }.bind(this));
374
+ }
375
+ return Promise.resolve(this._getMaxRowItems());
376
+ };
377
+
378
+ Category.prototype._getMaxRowItems = function () {
379
+ if (this.getDomRef()) {
380
+ var iPixelWidth = this.getDomRef().clientWidth;
381
+ return Math.floor(iPixelWidth / (defaultItemWidths[this.getCurrentView()] || iPixelWidth));
382
+ }
383
+ return 1;
384
+ };
385
+
386
+
360
387
  Category.prototype.applyDataChange = function (bSearchTermChanged, oResultData) {
361
388
  var oData = {
362
389
  count: oResultData.count,
363
- top: this._iTop,
390
+ top: this.getPageSize(),
364
391
  skip: this._iSkip,
365
- page: Math.floor(this._iSkip / this._iTop) + 1,
392
+ page: Math.floor(this._iSkip / this.getPageSize()) + 1,
366
393
  data: oResultData.data
367
394
  };
368
395
  this.showLoadingPlaceholder(false, function () {
@@ -513,6 +540,7 @@ sap.ui.define(
513
540
  pageSize: "{= ${data>/top}}",
514
541
  currentPage: "{= ${data>/page}}",
515
542
  selectPage: function (oEvent) {
543
+
516
544
  this.fixHeight();
517
545
  this.bPaging = true;
518
546
  this.search(
@@ -596,6 +624,7 @@ sap.ui.define(
596
624
  this.bindListViewItems(sView);
597
625
  this._oList.addStyleClass(sView);
598
626
  this._iCurrentHeight = 0;
627
+ this.search(this._sSearchTerm, this._iSkip, this.iTop, true);
599
628
  }
600
629
  return this;
601
630
  };
@@ -692,6 +721,7 @@ sap.ui.define(
692
721
  src: sIconBinding || "{data>icon}",
693
722
  displaySize: this._oCategoryConfig.icon.size,
694
723
  displayShape: this._oCategoryConfig.icon.shape,
724
+ imageFitType: this._oCategoryConfig.icon.imageFitType || "Contain",
695
725
  backgroundColor: this._oCategoryConfig.icon.backgroundColor
696
726
  };
697
727
  };
@@ -805,9 +835,17 @@ sap.ui.define(
805
835
  if (this._oList && this._oList._oItemNavigation) {
806
836
  this._oList._oItemNavigation.setColumns(this._oList._getCurrentColCount());
807
837
  }
838
+ this.fixHeight(true);
839
+ if (Math.abs(oEvent.oldSize.width - oEvent.size.width) > 50) {
840
+ if (this._iResizeTimer) {
841
+ clearTimeout(this._iResizeTimer);
842
+ }
843
+ this._iResizeTimer = setTimeout(function() {
844
+ this.search(this._sSearchTerm, this._iSkip, this._iTop);
845
+ }.bind(this), 300);
846
+ }
808
847
  if (oEvent.oldSize && oEvent.size && oEvent.oldSize.width !== oEvent.size.width) {
809
848
  this._iCurrentHeight = 0;
810
- this.fixHeight();
811
849
  }
812
850
  };
813
851
 
@@ -4,13 +4,11 @@ sap.ui.define(
4
4
  [
5
5
  "../Category",
6
6
  "sap/ushell/services/VisualizationInstantiation",
7
- "sap/ushell/services/SearchCEP",
8
7
  "sap/ui/thirdparty/jquery"
9
8
  ],
10
9
  function (
11
10
  Category,
12
11
  VisualizationInstantiation,
13
- JSSearchFactory,
14
12
  jQuery
15
13
  ) {
16
14
  "use strict";
@@ -21,7 +19,7 @@ sap.ui.define(
21
19
  );
22
20
 
23
21
  var oInstanceFactory = new VisualizationInstantiation();
24
- var iTileActivationTime = 1200;
22
+ var iTileActivationTime = 500;
25
23
 
26
24
  Application.prototype.getViewSettings = function () {
27
25
  return {
@@ -72,9 +70,9 @@ sap.ui.define(
72
70
  oViz.addStyleClass(oVizData.displayFormatHint);
73
71
  oItem._oViz = oViz;
74
72
  if (this.getCurrentView() === "tile") {
75
- this.activateTile(oViz);
76
73
  oItem.destroyContent();
77
74
  oItem.addContent(oViz);
75
+ this.activateTile(oViz, true, iTileActivationTime);
78
76
  } else {
79
77
  // render a hidden tile to trigger event in itemNavigate
80
78
  oItem.addContent(oViz.addStyleClass("hiddentile"));
@@ -82,14 +80,15 @@ sap.ui.define(
82
80
  }
83
81
  };
84
82
 
85
- Application.prototype.activateTile = function (oViz) {
83
+ Application.prototype.activateTile = function (oViz, bActivate, iTime) {
86
84
  setTimeout(function () {
87
85
  if (sap.ushell.Container) {
88
86
  sap.ushell.Container.getServiceAsync("ReferenceResolver").then(function () {
89
- oViz.setActive(true, false);
90
- });
87
+ oViz.setActive(bActivate, false);
88
+ this.activateTile(oViz, false, 1000);
89
+ }.bind(this));
91
90
  }
92
- }, iTileActivationTime);
91
+ }.bind(this), iTime);
93
92
  };
94
93
 
95
94
  Application.prototype.itemNavigate = function (oEvent) {
@@ -106,6 +105,8 @@ sap.ui.define(
106
105
 
107
106
  Application.prototype._getSearchParameters = function (sSearchTerm, iSkip, iTop) {
108
107
  return {
108
+ includeAppsWithoutVisualizations: false,
109
+ enableVisualizationPreview: false,
109
110
  searchTerm: sSearchTerm,
110
111
  skip: iSkip,
111
112
  top: iTop,
@@ -132,7 +133,19 @@ sap.ui.define(
132
133
  };
133
134
 
134
135
  Application.prototype.fetchData = function (sSearchTerm, iSkip, iTop) {
135
- return this.getData(this._getSearchParameters(sSearchTerm, iSkip, iTop));
136
+ return this.getMaxRowItemsAsync().then(function (iMaxRowItems) {
137
+ var iMaxTop = Math.ceil(iTop / iMaxRowItems) * iMaxRowItems;
138
+ return this.getData(this._getSearchParameters(sSearchTerm, iSkip, iMaxTop)).then(function(oData) {
139
+ var aData = oData.data;
140
+ aData.forEach(function (o, i) {
141
+ if (aData.length > iTop && o.visualization.displayFormatHint === "standardWide") {
142
+ aData.pop();
143
+ }
144
+ });
145
+ oData.pageGap = aData.length - iTop;
146
+ return oData;
147
+ });
148
+ }.bind(this));
136
149
  };
137
150
 
138
151
  Application.prototype.fetchCount = function (sSearchTerm, iSkip, iTop) {
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @fileOverview The UI integration's SAPUI5 control which supports application embedding.
5
- * @version 1.118.0
5
+ * @version 1.119.0
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/base/Log",
@@ -58,7 +58,7 @@ sap.ui.define([
58
58
  resources,
59
59
  System,
60
60
  User,
61
- utils,
61
+ ushellUtils,
62
62
  oUrlParsing,
63
63
  Core,
64
64
  hasher,
@@ -118,7 +118,7 @@ sap.ui.define([
118
118
  */
119
119
  EventHub.once("initMessagePopover").do(initializeMessagePopover);
120
120
 
121
- mLogouts = new utils.Map();
121
+ mLogouts = new ushellUtils.Map();
122
122
 
123
123
  /**
124
124
  * Returns the logout handler function for the given container object.
@@ -753,7 +753,7 @@ sap.ui.define([
753
753
  var oIframe = oContainer._getIFrame(),
754
754
  sApplicationType = oContainer.getApplicationType();
755
755
 
756
- if (utils.isApplicationTypeEmbeddedInIframe(oContainer.getApplicationType(sApplicationType)) && oIframe) {
756
+ if (ushellUtils.isApplicationTypeEmbeddedInIframe(oContainer.getApplicationType(sApplicationType)) && oIframe) {
757
757
  var oUri = new URI(oContainer._getIFrameUrl(oIframe));
758
758
  var targetDomain = oUri.protocol() + "://" + oUri.host();
759
759
 
@@ -800,7 +800,7 @@ sap.ui.define([
800
800
  if (bForFramelessWindow === undefined) {
801
801
  bForFramelessWindow = false;
802
802
  }
803
- if (utils.isApplicationTypeEmbeddedInIframe(sApplicationType) || (oContainer && utils.isApplicationTypeEmbeddedInIframe(oContainer.getFrameworkId()))) {
803
+ if (ushellUtils.isApplicationTypeEmbeddedInIframe(sApplicationType) || (oContainer && ushellUtils.isApplicationTypeEmbeddedInIframe(oContainer.getFrameworkId()))) {
804
804
  var sTargetNavigationMode = oContainer && oContainer.getTargetNavigationMode();
805
805
 
806
806
  // amend already resolved url with additional parameters
@@ -808,7 +808,7 @@ sap.ui.define([
808
808
 
809
809
  // add this container to list of NWBC-containing containers
810
810
  if (oContainer && bForFramelessWindow === false) {
811
- utils.localStorageSetItem(oContainer.globalDirtyStorageKey,
811
+ ushellUtils.localStorageSetItem(oContainer.globalDirtyStorageKey,
812
812
  sap.ushell.Container.DirtyState.INITIAL);
813
813
  }
814
814
  }
@@ -836,7 +836,7 @@ sap.ui.define([
836
836
  }
837
837
  var sTheme,
838
838
  getAccessibility = function () {
839
- var vUrl = utils.getParameterValueBoolean("sap-accessibility");
839
+ var vUrl = ushellUtils.getParameterValueBoolean("sap-accessibility");
840
840
  if (vUrl !== undefined) {
841
841
  return vUrl;
842
842
  }
@@ -857,7 +857,7 @@ sap.ui.define([
857
857
  oResolvedUrlParameters = UriParameters.fromURL(sUrl) || { mParams: {} };
858
858
 
859
859
  // To take care of the precedence of the intent over UI5 configuration
860
- bAddStatistics = Configuration.getStatistics()
860
+ bAddStatistics = Configuration.getStatisticsEnabled()
861
861
  && oResolvedUrlParameters.mParams["sap-statistics"] === undefined;
862
862
  return bAddStatistics;
863
863
  },
@@ -949,7 +949,8 @@ sap.ui.define([
949
949
  sUrl += sUrl.indexOf("?") >= 0 ? "&" : "?";
950
950
  sUrl += "sap-ushell-timeout=" + sessionTimeout;
951
951
 
952
- return utils.appendSapShellParam(sUrl, sUrlApplicationType);
952
+ // Deprecated API, We need to migrate to async flow
953
+ return ushellUtils.appendSapShellParamSync(sUrl, sUrlApplicationType);
953
954
  }
954
955
  return sUrl;
955
956
  }
@@ -1015,7 +1016,7 @@ sap.ui.define([
1015
1016
  */
1016
1017
  function render (oRenderManager, oContainer, sApplicationType, sUrl, sAdditionalInformation) {
1017
1018
  var fnLogout,
1018
- bPostMechanismEnabled = true,
1019
+ bPostMechanismEnabled,
1019
1020
  bForceOpenWithPost = false;
1020
1021
 
1021
1022
  // remove container from list of NWBC-containing containers
@@ -1075,14 +1076,14 @@ sap.ui.define([
1075
1076
  if (sap.ushell.Container) {
1076
1077
  fnLogout = ApplicationContainer.prototype._getLogoutHandler(oContainer);
1077
1078
  if (!fnLogout) {
1078
- if (utils.isApplicationTypeEmbeddedInIframe(sApplicationType)) {
1079
+ if (ushellUtils.isApplicationTypeEmbeddedInIframe(sApplicationType)) {
1079
1080
  // create only for NWBC if not already existing
1080
1081
  fnLogout = ApplicationContainer.prototype._logout.bind(null, oContainer);
1081
1082
  mLogouts.put(oContainer.getId(), fnLogout);
1082
1083
  sap.ushell.Container.attachLogoutEvent(fnLogout);
1083
1084
  sap.ushell.Container.addRemoteSystem(ApplicationContainer.prototype._createSystemForUrl(sUrl));
1084
1085
  }
1085
- } else if (!utils.isApplicationTypeEmbeddedInIframe(sApplicationType)) {
1086
+ } else if (!ushellUtils.isApplicationTypeEmbeddedInIframe(sApplicationType)) {
1086
1087
  // detach if not used *anymore*
1087
1088
  sap.ushell.Container.detachLogoutEvent(fnLogout);
1088
1089
  mLogouts.remove(oContainer.getId());
@@ -1124,6 +1125,11 @@ sap.ui.define([
1124
1125
  oContainer.setProperty("iframePostAllParams", true, true);
1125
1126
  }
1126
1127
 
1128
+ bPostMechanismEnabled = Config.last("/core/shell/enableOpenIframeWithPost");
1129
+ if (bPostMechanismEnabled === undefined) {
1130
+ bPostMechanismEnabled = true;
1131
+ }
1132
+
1127
1133
  if (urlParams.get("sap-post") === "false") {
1128
1134
  bPostMechanismEnabled = false;
1129
1135
  } else if (window.QUnit !== undefined) {
@@ -1156,7 +1162,7 @@ sap.ui.define([
1156
1162
  .style("width", oContainer.getWidth());
1157
1163
 
1158
1164
  if (Config.last("/core/shell/enableFeaturePolicyInIframes") === true) {
1159
- oRenderManager.attr("allow", utils.getIframeFeaturePolicies());
1165
+ oRenderManager.attr("allow", ushellUtils.getIframeFeaturePolicies());
1160
1166
  }
1161
1167
  oRenderManager
1162
1168
  .openEnd()
@@ -1366,7 +1372,7 @@ sap.ui.define([
1366
1372
 
1367
1373
  // remove all event listeners
1368
1374
  if (that._unloadEventListener) {
1369
- removeEventListener("unload", that._unloadEventListener);
1375
+ removeEventListener("pagehide", that._unloadEventListener);
1370
1376
  }
1371
1377
 
1372
1378
  if (that._disableRouterEventHandler) {
@@ -1405,13 +1411,14 @@ sap.ui.define([
1405
1411
  // be sure to remove entry from list of NWBC-containing containers
1406
1412
  // when the window is closed
1407
1413
  that._unloadEventListener = that.exit.bind(that);
1408
- addEventListener("unload", that._unloadEventListener); //TODO doesn't work in IE9 when F5 is pressed?!
1414
+ // As of chrome 117 the unload event is deprecated and therefore was changed
1415
+ addEventListener("pagehide", that._unloadEventListener); //TODO doesn't work in IE9 when F5 is pressed?!
1409
1416
 
1410
1417
  that._storageEventListener = function (oStorageEvent) {
1411
1418
  var sApplicationType = that.getApplicationType();
1412
1419
  if (oStorageEvent.key === that.globalDirtyStorageKey
1413
1420
  && oStorageEvent.newValue === sap.ushell.Container.DirtyState.PENDING
1414
- && utils.isApplicationTypeEmbeddedInIframe(sApplicationType)) {
1421
+ && ushellUtils.isApplicationTypeEmbeddedInIframe(sApplicationType)) {
1415
1422
 
1416
1423
  var oIframe = that._getIFrame();
1417
1424
  if (oIframe) {
@@ -2,7 +2,7 @@
2
2
  /**
3
3
  * @fileOverview ContentFinder Component
4
4
  *
5
- * @version 1.118.0
5
+ * @version 1.119.0
6
6
  */
7
7
 
8
8
  sap.ui.define([
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @file AppSearch controller for AppSearch view
5
- * @version 1.118.0
5
+ * @version 1.119.0
6
6
  */
7
7
  sap.ui.define([
8
8
  "./ContentFinderDialog.controller",
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @file Controller for ContentFinderDialog root view
5
- * @version 1.118.0
5
+ * @version 1.119.0
6
6
  */
7
7
  sap.ui.define([
8
8
  "../model/formatter",
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @file Controller for WidgetGallery view
5
- * @version 1.118.0
5
+ * @version 1.119.0
6
6
  */
7
7
  sap.ui.define([
8
8
  "./ContentFinderDialog.controller"
@@ -3,7 +3,7 @@
3
3
  "sap.app": {
4
4
  "id": "sap.ushell.components.contentFinder",
5
5
  "applicationVersion": {
6
- "version": "1.118.0"
6
+ "version": "1.119.0"
7
7
  },
8
8
  "i18n": "./resources/resources.properties",
9
9
  "ach": "CA-FLP-FE-UI",
@@ -17,7 +17,7 @@ sap.ui.define([
17
17
 
18
18
  // use inline declaration instead of component.json to save 1 round trip
19
19
  metadata: {
20
- version: "1.118.0",
20
+ version: "1.119.0",
21
21
  library: "sap.ushell",
22
22
  dependencies: {
23
23
  libs: ["sap.m", "sap.ui.vbm", "sap.suite.ui.commons", "sap.ui.layout", "sap.viz"],
@@ -28,7 +28,6 @@ sap.ui.define([
28
28
  * @param {object} [mSettings] initial settings for the new control
29
29
  * @class Tile control embedding an image and allowing custom sizing
30
30
  * @extends sap.m.CustomTile
31
- * @constructor
32
31
  * @public
33
32
  * @deprecated since 1.22. Please use {@link sap.m.Carousel} instead.
34
33
  *
@@ -80,7 +79,7 @@ sap.ui.define([
80
79
  * @param {string | sap.ushell.components.factsheet.controls.PictureViewerItem} vTileContent
81
80
  * Id of an element which becomes the new target of this <code>tileContent</code> association.
82
81
  * Alternatively, an element instance may be given.
83
- * @return {sap.ushell.components.factsheet.controls.PictureTile} <code>this</code> to allow method chaining
82
+ * @returns {sap.ushell.components.factsheet.controls.PictureTile} <code>this</code> to allow method chaining
84
83
  * @public
85
84
  * @name sap.ushell.components.factsheet.controls.PictureTile#setTileContent
86
85
  * @function
@@ -23,7 +23,6 @@ sap.ui.define([
23
23
  * @param {object} [mSettings] initial settings for the new control
24
24
  * @class Picture viewer control relying on the TileContainer control
25
25
  * @extends sap.m.TileContainer
26
- * @constructor
27
26
  * @public
28
27
  * @deprecated since 1.22. Please use {@link sap.m.Carousel} instead.
29
28
  * PictureViewer was replacing the Carousel as it wasn't supporting some versions of MS Internet Explorer.
@@ -132,7 +131,7 @@ sap.ui.define([
132
131
  *
133
132
  * @override
134
133
  * @param {sap.ushell.components.factsheet.controls.PictureViewerItem} oItem the item to add; if empty, nothing is inserted
135
- * @return {sap.ushell.components.factsheet.controls.PictureViewer} <code>this</code> to allow method chaining
134
+ * @returns {sap.ushell.components.factsheet.controls.PictureViewer} <code>this</code> to allow method chaining
136
135
  * @public
137
136
  * @name sap.ushell.components.factsheet.controls.PictureViewer#addItem
138
137
  * @function
@@ -153,7 +152,7 @@ sap.ui.define([
153
152
  * @param {int} iIndex the <code>0</code>-based index the item should be inserted at;
154
153
  * for a negative value of <code>iIndex</code>, the item is inserted at position 0;
155
154
  * for a value greater than the current size of the aggregation, the item is inserted at the last position
156
- * @return {sap.ushell.components.factsheet.controls.PictureViewer} <code>this</code> to allow method chaining
155
+ * @returns {sap.ushell.components.factsheet.controls.PictureViewer} <code>this</code> to allow method chaining
157
156
  * @public
158
157
  * @name sap.ushell.components.factsheet.controls.PictureViewer#insertItem
159
158
  * @function
@@ -188,7 +187,7 @@ sap.ui.define([
188
187
  * @override
189
188
  * @param {int} iIndex the <code>0</code>-based index of the picture collection to delete;
190
189
  * if <code>iIndex</code> is out of range or empty, the current image will be deleted.
191
- * @return {sap.ushell.components.factsheet.controls.PictureViewer} <code>this</code> to allow method chaining
190
+ * @returns {sap.ushell.components.factsheet.controls.PictureViewer} <code>this</code> to allow method chaining
192
191
  * @public
193
192
  * @name sap.ushell.components.factsheet.controls.PictureViewer#deletePicture
194
193
  * @function
@@ -222,7 +221,7 @@ sap.ui.define([
222
221
  * @param {int} iIndex the <code>0</code>-based index of the aggregation to select;
223
222
  * for a negative value of <code>iIndex</code>, the picture at position 0 is selected;
224
223
  * for a value greater than the current size of the aggregation, the selected picture at the last position is selected
225
- * @return {sap.ushell.components.factsheet.controls.PictureViewer} <code>this</code> to allow method chaining
224
+ * @returns {sap.ushell.components.factsheet.controls.PictureViewer} <code>this</code> to allow method chaining
226
225
  * @public
227
226
  * @name sap.ushell.components.factsheet.controls.PictureViewer#selectPicture
228
227
  * @function
@@ -254,7 +253,7 @@ sap.ui.define([
254
253
  * Gets the current picture index.
255
254
  *
256
255
  * @override
257
- * @return {sap.ushell.components.factsheet.controls.PictureViewer} the current picture index
256
+ * @returns {sap.ushell.components.factsheet.controls.PictureViewer} the current picture index
258
257
  * @public
259
258
  * @name sap.ushell.components.factsheet.controls.PictureViewer#getCurrentPictureIndex
260
259
  * @function
@@ -14,7 +14,6 @@ sap.ui.define([
14
14
  * @param {object} [mSettings] initial settings for the new control
15
15
  * @class Picture viewer control relying on the TileContainer control
16
16
  * @extends sap.ui.core.Control
17
- * @constructor
18
17
  * @public
19
18
  * @deprecated since 1.22. Please use {@link sap.m.Carousel} instead.
20
19
  * PictureViewerItem is used in PictureViewer control and is not meant to be consumed outside of PictureViewer usage.
@@ -44,7 +43,7 @@ sap.ui.define([
44
43
  * Default value is empty/<code>undefined</code>
45
44
  *
46
45
  * @param {string} sSrc new value for property <code>src</code>
47
- * @return {sap.ushell.components.factsheet.controls.PictureViewerItem} <code>this</code> to allow method chaining
46
+ * @returns {sap.ushell.components.factsheet.controls.PictureViewerItem} <code>this</code> to allow method chaining
48
47
  * @public
49
48
  * @name sap.ushell.components.factsheet.controls.PictureViewerItem#setSrc
50
49
  * @function