@sapui5/sap.ushell 1.111.0 → 1.112.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 (308) hide show
  1. package/package.json +1 -1
  2. package/src/main/js/sap/ushell/.library +1 -1
  3. package/src/main/js/sap/ushell/AppInfoParameters.js +104 -4
  4. package/src/main/js/sap/ushell/ApplicationType.js +11 -4
  5. package/src/main/js/sap/ushell/Container.js +0 -32
  6. package/src/main/js/sap/ushell/Fiori20Adapter.js +1 -1
  7. package/src/main/js/sap/ushell/Fiori20AdapterTest.js +1 -1
  8. package/src/main/js/sap/ushell/NWBCInterface.js +1 -1
  9. package/src/main/js/sap/ushell/TechnicalParameters.js +51 -21
  10. package/src/main/js/sap/ushell/URLTemplateProcessor.js +1 -1
  11. package/src/main/js/sap/ushell/Ui5NativeServiceFactory.js +1 -1
  12. package/src/main/js/sap/ushell/Ui5ServiceFactory.js +1 -1
  13. package/src/main/js/sap/ushell/_URLTemplateProcessor/DefinitionParameterSetBuilder.js +1 -1
  14. package/src/main/js/sap/ushell/_URLTemplateProcessor/DependencyGraph.js +1 -1
  15. package/src/main/js/sap/ushell/_URLTemplateProcessor/Functions.js +1 -1
  16. package/src/main/js/sap/ushell/_URLTemplateProcessor/Resolvers.js +1 -1
  17. package/src/main/js/sap/ushell/_URLTemplateProcessor/TemplateParameterParser.js +1 -1
  18. package/src/main/js/sap/ushell/_URLTemplateProcessor/utils.js +1 -1
  19. package/src/main/js/sap/ushell/adapters/cdm/ClientSideTargetResolutionAdapter.js +1 -1
  20. package/src/main/js/sap/ushell/adapters/cdm/CommonDataModelAdapter.js +1 -1
  21. package/src/main/js/sap/ushell/adapters/cdm/ConfigurationDefaultsAdapter.js +1 -1
  22. package/src/main/js/sap/ushell/adapters/cdm/ContainerAdapter.js +1 -1
  23. package/src/main/js/sap/ushell/adapters/cdm/LaunchPageAdapter.js +24 -158
  24. package/src/main/js/sap/ushell/adapters/cdm/PagesCommonDataModelAdapter.js +1 -1
  25. package/src/main/js/sap/ushell/adapters/cdm/PersonalizationAdapter.js +1 -1
  26. package/src/main/js/sap/ushell/adapters/cdm/Ui5ComponentLoaderAdapter.js +1 -1
  27. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/modifyHome.js +1 -1
  28. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readCatalogs.js +1 -1
  29. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readHome.js +1 -1
  30. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/uri.transform.js +1 -1
  31. package/src/main/js/sap/ushell/adapters/cdm/util/AppForInbound.js +1 -1
  32. package/src/main/js/sap/ushell/adapters/cdm/util/cdmSiteUtils.js +1 -1
  33. package/src/main/js/sap/ushell/adapters/cdm/v3/AdapterBase.js +1 -2
  34. package/src/main/js/sap/ushell/adapters/cdm/v3/LaunchPageAdapter.js +22 -140
  35. package/src/main/js/sap/ushell/adapters/cdm/v3/StaticGroupsAdapter.js +1 -1
  36. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readApplications.js +1 -1
  37. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readCatalogs.js +1 -1
  38. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readHome.js +1 -1
  39. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readPages.js +1 -1
  40. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readUtils.js +2 -1
  41. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations.js +1 -1
  42. package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionAdapter.js +1 -1
  43. package/src/main/js/sap/ushell/adapters/cep/SearchCEPAdapter.js +1 -1
  44. package/src/main/js/sap/ushell/adapters/cflp/UserDefaultParameterPersistenceAdapter.js +1 -1
  45. package/src/main/js/sap/ushell/adapters/local/AdapterContainer.js +1 -1
  46. package/src/main/js/sap/ushell/adapters/local/AppStateAdapter.js +1 -1
  47. package/src/main/js/sap/ushell/adapters/local/ClientSideTargetResolutionAdapter.js +1 -1
  48. package/src/main/js/sap/ushell/adapters/local/ContainerAdapter.js +1 -1
  49. package/src/main/js/sap/ushell/adapters/local/LaunchPageAdapter.js +1 -1
  50. package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionAdapter.js +1 -1
  51. package/src/main/js/sap/ushell/adapters/local/PageBuildingAdapter.js +1 -1
  52. package/src/main/js/sap/ushell/adapters/local/PagePersistenceAdapter.js +1 -1
  53. package/src/main/js/sap/ushell/adapters/local/PersonalizationAdapter.js +1 -1
  54. package/src/main/js/sap/ushell/adapters/local/SearchAdapter.js +1 -1
  55. package/src/main/js/sap/ushell/adapters/local/SearchCEPAdapter.js +1 -1
  56. package/src/main/js/sap/ushell/adapters/local/SupportTicketAdapter.js +1 -1
  57. package/src/main/js/sap/ushell/adapters/local/Ui5ComponentLoaderAdapter.js +1 -1
  58. package/src/main/js/sap/ushell/adapters/local/UserDefaultParameterPersistenceAdapter.js +1 -1
  59. package/src/main/js/sap/ushell/adapters/local/UserInfoAdapter.js +1 -1
  60. package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntime.js +12 -0
  61. package/src/main/js/sap/ushell/appRuntime/ui5/services/AppLifeCycleAgent.js +10 -0
  62. package/src/main/js/sap/ushell/appRuntime/ui5/services/CrossApplicationNavigation.js +28 -4
  63. package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolution.js +7 -5
  64. package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/Ui5ComponentLoaderAdapter.js +1 -1
  65. package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/logger.js +1 -1
  66. package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/state.js +1 -1
  67. package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5datetimeformat.js +1 -1
  68. package/src/main/js/sap/ushell/bootstrap/common/common.create.configcontract.core.js +1 -0
  69. package/src/main/js/sap/ushell/bootstrap/common/common.read.ushell.config.from.url.js +26 -23
  70. package/src/main/js/sap/ushell/components/appfinder/AppFinderView.js +69 -33
  71. package/src/main/js/sap/ushell/components/appfinder/VisualizationOrganizerHelper.js +3 -0
  72. package/src/main/js/sap/ushell/components/appfinder/manifest.json +1 -1
  73. package/src/main/js/sap/ushell/components/applicationIntegration/AppLifeCycle.js +17 -4
  74. package/src/main/js/sap/ushell/components/applicationIntegration/Storage.js +1 -1
  75. package/src/main/js/sap/ushell/components/applicationIntegration/application/Application.js +29 -18
  76. package/src/main/js/sap/ushell/components/applicationIntegration/application/BlueBoxHandler.js +1 -1
  77. package/src/main/js/sap/ushell/components/applicationIntegration/application/PostMessageAPI.js +21 -2
  78. package/src/main/js/sap/ushell/components/applicationIntegration/configuration/AppMeta.js +9 -4
  79. package/src/main/js/sap/ushell/components/applicationIntegration/elements/model.js +1 -1
  80. package/src/main/js/sap/ushell/components/applicationIntegration/relatedServices/RelatedServices.js +1 -1
  81. package/src/main/js/sap/ushell/components/applicationIntegration/relatedShellElements/RelatedShellElements.js +1 -1
  82. package/src/main/js/sap/ushell/components/cepsearchresult/app/Main.controller.js +1 -7
  83. package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/controls/Paginator.css +14 -3
  84. package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/controls/Paginator.js +57 -11
  85. package/src/main/js/sap/ushell/components/container/ApplicationContainer.js +16 -3
  86. package/src/main/js/sap/ushell/components/contentFinder/Component.js +470 -23
  87. package/src/main/js/sap/ushell/components/contentFinder/controller/AppSearch.controller.js +308 -6
  88. package/src/main/js/sap/ushell/components/contentFinder/controller/ContentFinderDialog.controller.js +83 -12
  89. package/src/main/js/sap/ushell/components/contentFinder/controller/WidgetGallery.controller.js +33 -6
  90. package/src/main/js/sap/ushell/components/contentFinder/manifest.json +7 -7
  91. package/src/main/js/sap/ushell/components/contentFinder/model/formatter.js +96 -0
  92. package/src/main/js/sap/ushell/components/contentFinder/resources/resources.properties +44 -14
  93. package/src/main/js/sap/ushell/components/contentFinder/view/AppSearch.view.xml +82 -25
  94. package/src/main/js/sap/ushell/components/contentFinder/view/ContentFinderDialog.view.xml +18 -10
  95. package/src/main/js/sap/ushell/components/contentFinder/view/WidgetGallery.view.xml +52 -1
  96. package/src/main/js/sap/ushell/components/contentFinderAppSearch/Component.js +1 -1
  97. package/src/main/js/sap/ushell/components/contentFinderAppSearch/controller/ContentFinderAppSearch.controller.js +1 -1
  98. package/src/main/js/sap/ushell/components/contentFinderAppSearch/manifest.json +1 -1
  99. package/src/main/js/sap/ushell/components/factsheet/Component.js +1 -1
  100. package/src/main/js/sap/ushell/components/homepage/ActionMode.js +1 -1
  101. package/src/main/js/sap/ushell/components/homepage/DashboardContent.view.js +1 -1
  102. package/src/main/js/sap/ushell/components/homepage/DashboardGroupsBox.js +116 -40
  103. package/src/main/js/sap/ushell/components/homepage/DashboardUIActions.js +1 -1
  104. package/src/main/js/sap/ushell/components/homepage/manifest.json +1 -1
  105. package/src/main/js/sap/ushell/components/pages/ActionMode.js +1 -1
  106. package/src/main/js/sap/ushell/components/pages/Component.js +1 -1
  107. package/src/main/js/sap/ushell/components/pages/MyHomeImport.js +1 -1
  108. package/src/main/js/sap/ushell/components/pages/controller/PageRuntime.controller.js +1 -1
  109. package/src/main/js/sap/ushell/components/pages/manifest.json +1 -1
  110. package/src/main/js/sap/ushell/components/runtimeSwitcher/controller/RuntimeSwitcher.controller.js +1 -1
  111. package/src/main/js/sap/ushell/components/runtimeSwitcher/manifest.json +1 -1
  112. package/src/main/js/sap/ushell/components/shell/MenuBar/manifest.json +1 -1
  113. package/src/main/js/sap/ushell/components/shell/Notifications/Component.js +1 -1
  114. package/src/main/js/sap/ushell/components/shell/PostLoadingHeaderEnhancement/Component.js +17 -6
  115. package/src/main/js/sap/ushell/components/shell/ProductSwitch/Component.js +1 -1
  116. package/src/main/js/sap/ushell/components/shell/Search/manifest.json +1 -1
  117. package/src/main/js/sap/ushell/components/shell/SearchCEP/Component.js +1 -1
  118. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/FrequentActivityProvider.js +1 -1
  119. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/NavigationSvcSearchProvider.js +1 -1
  120. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/RecentSearchProvider.js +1 -1
  121. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchProvider.js +1 -1
  122. package/src/main/js/sap/ushell/components/shell/Settings/Component.js +1 -1
  123. package/src/main/js/sap/ushell/components/shell/Settings/ContentWrapper.fragment.xml +7 -1
  124. package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/UserDefaultsForm.js +9 -10
  125. package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/controller/UserDefaultsSetting.controller.js +49 -57
  126. package/src/main/js/sap/ushell/components/shell/UserActionsMenu/Component.js +1 -1
  127. package/src/main/js/sap/ushell/components/shell/UserImage/Component.js +1 -1
  128. package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/DynamicTile.controller.js +4 -1
  129. package/src/main/js/sap/ushell/components/visualizationOrganizer/Component.js +26 -27
  130. package/src/main/js/sap/ushell/components/workPageBuilder/Component.js +23 -4
  131. package/src/main/js/sap/ushell/components/workPageBuilder/controller/ContentFinderDialog.controller.js +12 -9
  132. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.controller.js +67 -16
  133. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPage.js +1 -1
  134. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageButton.js +1 -1
  135. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageCell.js +1 -1
  136. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumn.js +1 -1
  137. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnRenderer.js +3 -0
  138. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnResizer.js +1 -1
  139. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRow.js +1 -1
  140. package/src/main/js/sap/ushell/components/workPageBuilder/manifest.json +1 -1
  141. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources.properties +5 -3
  142. package/src/main/js/sap/ushell/components/workPageBuilder/view/WorkPageBuilder.view.xml +1 -1
  143. package/src/main/js/sap/ushell/components/workPageRuntime/Component.js +1 -1
  144. package/src/main/js/sap/ushell/components/workPageRuntime/controller/WorkPageRuntime.controller.js +4 -262
  145. package/src/main/js/sap/ushell/components/workPageRuntime/manifest.json +1 -1
  146. package/src/main/js/sap/ushell/components/workPageRuntime/services/NavigationResolver.js +1 -1
  147. package/src/main/js/sap/ushell/components/workPageRuntime/services/WorkPage.js +1 -170
  148. package/src/main/js/sap/ushell/designtime/ApplicationContainer.designtime.js +1 -1
  149. package/src/main/js/sap/ushell/library.js +1 -3
  150. package/src/main/js/sap/ushell/navigationMode.js +1 -1
  151. package/src/main/js/sap/ushell/performance/ShellAnalytics.js +1 -1
  152. package/src/main/js/sap/ushell/performance/StatisticalRecord.js +1 -1
  153. package/src/main/js/sap/ushell/plugins/appwarmup/Component.js +1 -1
  154. package/src/main/js/sap/ushell/renderers/fiori2/AccessKeysHandler.js +3 -1
  155. package/src/main/js/sap/ushell/renderers/fiori2/Renderer.js +2 -2
  156. package/src/main/js/sap/ushell/renderers/fiori2/allMyApps/AllMyApps.controller.js +2 -1
  157. package/src/main/js/sap/ushell/renderers/fiori2/allMyApps/AllMyApps.view.xml +10 -1
  158. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources.properties +15 -5
  159. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_de.properties +1 -1
  160. package/src/main/js/sap/ushell/renderers/fiori2/search/searchComponent/manifest.json +1 -1
  161. package/src/main/js/sap/ushell/services/AppConfiguration.js +0 -37
  162. package/src/main/js/sap/ushell/services/AppLifeCycle.js +50 -3
  163. package/src/main/js/sap/ushell/services/AppState.js +1 -1
  164. package/src/main/js/sap/ushell/services/Bookmark.js +93 -30
  165. package/src/main/js/sap/ushell/services/ClientSideTargetResolution.js +1 -1
  166. package/src/main/js/sap/ushell/services/CommonDataModel.js +5 -243
  167. package/src/main/js/sap/ushell/services/Configuration.js +1 -1
  168. package/src/main/js/sap/ushell/services/ConfigurationDefaults.js +1 -1
  169. package/src/main/js/sap/ushell/services/ContentExtensionAdapterFactory.js +1 -1
  170. package/src/main/js/sap/ushell/services/CrossApplicationNavigation.js +1 -1
  171. package/src/main/js/sap/ushell/services/DarkModeSupport.js +1 -1
  172. package/src/main/js/sap/ushell/services/LaunchPage.js +1 -1
  173. package/src/main/js/sap/ushell/services/Menu.js +1 -1
  174. package/src/main/js/sap/ushell/services/Message.js +1 -1
  175. package/src/main/js/sap/ushell/services/MessageBroker.js +31 -12
  176. package/src/main/js/sap/ushell/services/NavTargetResolution.js +4 -2
  177. package/src/main/js/sap/ushell/services/NavigationDataProvider.js +1 -1
  178. package/src/main/js/sap/ushell/services/PageBuilding.js +1 -1
  179. package/src/main/js/sap/ushell/services/PagePersistence.js +1 -1
  180. package/src/main/js/sap/ushell/services/PageReferencing.js +1 -1
  181. package/src/main/js/sap/ushell/services/Pages.js +21 -3
  182. package/src/main/js/sap/ushell/services/Personalization.js +1 -1
  183. package/src/main/js/sap/ushell/services/PluginManager.js +1 -3
  184. package/src/main/js/sap/ushell/services/ReferenceResolver.js +178 -125
  185. package/src/main/js/sap/ushell/services/Search.js +1 -1
  186. package/src/main/js/sap/ushell/services/SearchCEP.js +1 -1
  187. package/src/main/js/sap/ushell/services/SearchableContent.js +1 -1
  188. package/src/main/js/sap/ushell/services/ShellNavigationHashChanger.js +15 -18
  189. package/src/main/js/sap/ushell/services/SmartNavigation.js +32 -6
  190. package/src/main/js/sap/ushell/services/SpaceContent.js +1 -1
  191. package/src/main/js/sap/ushell/services/URLShortening.js +1 -1
  192. package/src/main/js/sap/ushell/services/URLTemplate.js +1 -1
  193. package/src/main/js/sap/ushell/services/Ui5ComponentLoader.js +1 -1
  194. package/src/main/js/sap/ushell/services/UserDefaultParameterPersistence.js +1 -1
  195. package/src/main/js/sap/ushell/services/UserDefaultParameters.js +1 -1
  196. package/src/main/js/sap/ushell/services/UserInfo.js +1 -1
  197. package/src/main/js/sap/ushell/services/UserRecents.js +1 -1
  198. package/src/main/js/sap/ushell/services/VisualizationDataProvider.js +1 -1
  199. package/src/main/js/sap/ushell/services/VisualizationInstantiation.js +1 -1
  200. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Formatter.js +1 -1
  201. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/InboundIndex.js +1 -1
  202. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/InboundProvider.js +1 -1
  203. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/PrelaunchOperations.js +5 -1
  204. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Search.js +1 -1
  205. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/StagedLogger.js +1 -1
  206. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/SystemContext.js +2 -2
  207. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Utils.js +1 -1
  208. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/VirtualInbounds.js +1 -1
  209. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/XAppStateProcessing.js +1 -1
  210. package/src/main/js/sap/ushell/services/_CommonDataModel/SiteConverter.js +1 -1
  211. package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/ContentExtensionAdapterConfig.js +1 -1
  212. package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/FeaturedGroupConfig.js +131 -135
  213. package/src/main/js/sap/ushell/services/_CrossApplicationNavigation/utils.js +1 -1
  214. package/src/main/js/sap/ushell/services/_MessageBroker/MessageBrokerEngine.js +341 -308
  215. package/src/main/js/sap/ushell/services/_PageReferencing/PageReferencer.js +1 -1
  216. package/src/main/js/sap/ushell/services/_PluginManager/Extensions.js +1 -1
  217. package/src/main/js/sap/ushell/services/_PluginManager/HeaderExtensions.js +1 -1
  218. package/src/main/js/sap/ushell/services/_PluginManager/MenuExtensions.js +1 -1
  219. package/src/main/js/sap/ushell/services/_Ui5ComponentLoader/utils.js +1 -1
  220. package/src/main/js/sap/ushell/services/_VisualizationInstantiation/VizInstanceLink.js +1 -1
  221. package/src/main/js/sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin.js +1 -1
  222. package/src/main/js/sap/ushell/themes/base/Catalog.less +4 -0
  223. package/src/main/js/sap/ushell/themes/base/ContentFinder.less +5 -1
  224. package/src/main/js/sap/ushell/themes/base/SearchFLP.less +0 -5
  225. package/src/main/js/sap/ushell/themes/base/ShellAppTitle.less +6 -9
  226. package/src/main/js/sap/ushell/themes/base/WorkPageCell.less +2 -2
  227. package/src/main/js/sap/ushell/themes/base/WorkPageColumn.less +8 -0
  228. package/src/main/js/sap/ushell/themes/base/WorkPageRow.less +2 -2
  229. package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.eot +0 -0
  230. package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.json +16 -1
  231. package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.ttf +0 -0
  232. package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.woff +0 -0
  233. package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.woff2 +0 -0
  234. package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.eot +0 -0
  235. package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.ttf +0 -0
  236. package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.woff +0 -0
  237. package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.woff2 +0 -0
  238. package/src/main/js/sap/ushell/themes/base/library.source.less +0 -2
  239. package/src/main/js/sap/ushell/themes/sap_belize/ShellHeader.less +0 -9
  240. package/src/main/js/sap/ushell/themes/sap_belize/library.source.less +0 -1
  241. package/src/main/js/sap/ushell/themes/sap_belize_hcb/ShellHeader.less +0 -27
  242. package/src/main/js/sap/ushell/themes/sap_belize_hcb/library.source.less +0 -2
  243. package/src/main/js/sap/ushell/themes/sap_belize_hcw/ShellHeader.less +0 -25
  244. package/src/main/js/sap/ushell/themes/sap_belize_hcw/library.source.less +0 -2
  245. package/src/main/js/sap/ushell/themes/sap_bluecrystal/library.source.less +0 -2
  246. package/src/main/js/sap/ushell/themes/sap_fiori_3/ShellHeader.less +2 -11
  247. package/src/main/js/sap/ushell/themes/sap_fiori_3/library.source.less +0 -1
  248. package/src/main/js/sap/ushell/themes/sap_fiori_3_dark/ShellHeader.less +2 -11
  249. package/src/main/js/sap/ushell/themes/sap_fiori_3_dark/library.source.less +0 -1
  250. package/src/main/js/sap/ushell/themes/sap_fiori_3_hcb/ShellHeader.less +0 -25
  251. package/src/main/js/sap/ushell/themes/sap_fiori_3_hcb/library.source.less +0 -2
  252. package/src/main/js/sap/ushell/themes/sap_fiori_3_hcw/ShellHeader.less +0 -25
  253. package/src/main/js/sap/ushell/themes/sap_fiori_3_hcw/library.source.less +0 -2
  254. package/src/main/js/sap/ushell/themes/sap_hcb/ShellHeader.less +0 -24
  255. package/src/main/js/sap/ushell/themes/sap_hcb/library.source.less +0 -2
  256. package/src/main/js/sap/ushell/themes/sap_horizon/ShellAppTitle.less +2 -12
  257. package/src/main/js/sap/ushell/themes/sap_horizon/library.source.less +0 -1
  258. package/src/main/js/sap/ushell/themes/sap_horizon_dark/ShellAppTitle.less +2 -12
  259. package/src/main/js/sap/ushell/themes/sap_horizon_dark/library.source.less +0 -1
  260. package/src/main/js/sap/ushell/themes/sap_horizon_hcb/ShellAppTitle.less +0 -25
  261. package/src/main/js/sap/ushell/themes/sap_horizon_hcb/library.source.less +0 -1
  262. package/src/main/js/sap/ushell/themes/sap_horizon_hcw/ShellAppTitle.less +0 -25
  263. package/src/main/js/sap/ushell/themes/sap_horizon_hcw/library.source.less +0 -1
  264. package/src/main/js/sap/ushell/ui/appfinder/AppBoxRenderer.js +0 -15
  265. package/src/main/js/sap/ushell/ui/cards/FrequentActivitiesExtension.js +199 -0
  266. package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +202 -0
  267. package/src/main/js/sap/ushell/ui/contentFinder/AppBox.js +17 -2
  268. package/src/main/js/sap/ushell/ui/launchpad/ExtendedChangeDetection.js +1 -1
  269. package/src/main/js/sap/ushell/ui/launchpad/LoadingDialogRenderer.js +2 -45
  270. package/src/main/js/sap/ushell/ui/launchpad/Page.js +1 -1
  271. package/src/main/js/sap/ushell/ui/launchpad/Section.js +2 -2
  272. package/src/main/js/sap/ushell/ui/launchpad/TileRenderer.js +4 -21
  273. package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.js +1 -1
  274. package/src/main/js/sap/ushell/ui/shell/ShellAppTitle.js +6 -8
  275. package/src/main/js/sap/ushell/ui/shell/ShellHeadItem.js +1 -1
  276. package/src/main/js/sap/ushell/ui/shell/ShellLayout.js +1 -1
  277. package/src/main/js/sap/ushell/ui/shell/ShellNavigationMenu.js +21 -62
  278. package/src/main/js/sap/ushell/ui/shell/SplitContainer.js +1 -1
  279. package/src/main/js/sap/ushell/ui/shell/ToolAreaItem.js +1 -1
  280. package/src/main/js/sap/ushell/ui/utils.js +1 -1
  281. package/src/main/js/sap/ushell/ui5service/ShellUIService.js +1 -1
  282. package/src/main/js/sap/ushell/ui5service/UserStatus.js +1 -1
  283. package/src/main/js/sap/ushell/utils/DynamicTileRequest.js +25 -5
  284. package/src/main/js/sap/ushell/utils/UrlShortening.js +1 -1
  285. package/src/test/js/sap/ushell/bootstrap/sandbox.js +1 -1
  286. package/ui5.yaml +53 -51
  287. package/src/main/js/sap/ushell/services/ContentExtension.js +0 -114
  288. package/src/main/js/sap/ushell/themes/base/UserPreferencesButton.less +0 -35
  289. package/src/main/js/sap/ushell/themes/base/flower-standalone.less +0 -774
  290. package/src/main/js/sap/ushell/themes/sap_belize/UserPreferencesButton.less +0 -7
  291. package/src/main/js/sap/ushell/themes/sap_belize_hcb/UserPreferencesButton.less +0 -7
  292. package/src/main/js/sap/ushell/themes/sap_belize_hcb/flower-standalone.less +0 -34
  293. package/src/main/js/sap/ushell/themes/sap_belize_hcw/UserPreferencesButton.less +0 -7
  294. package/src/main/js/sap/ushell/themes/sap_belize_hcw/flower-standalone.less +0 -34
  295. package/src/main/js/sap/ushell/themes/sap_bluecrystal/UserPreferencesButton.less +0 -7
  296. package/src/main/js/sap/ushell/themes/sap_bluecrystal/flower-standalone.less +0 -23
  297. package/src/main/js/sap/ushell/themes/sap_fiori_3_hcb/flower-standalone.less +0 -34
  298. package/src/main/js/sap/ushell/themes/sap_fiori_3_hcw/flower-standalone.less +0 -33
  299. package/src/main/js/sap/ushell/themes/sap_hcb/UserPreferencesButton.less +0 -7
  300. package/src/main/js/sap/ushell/themes/sap_hcb/flower-standalone.less +0 -34
  301. package/src/main/js/sap/ushell/themes/sap_horizon/UserPreferencesButton.less +0 -9
  302. package/src/main/js/sap/ushell/themes/sap_horizon_dark/UserPreferencesButton.less +0 -8
  303. package/src/main/js/sap/ushell/ui/footerbar/SettingsButton.js +0 -90
  304. package/src/main/js/sap/ushell/ui/footerbar/UserPreferencesButton.js +0 -505
  305. package/src/main/js/sap/ushell/ui5service/CardNavigation.js +0 -131
  306. package/src/main/js/sap/ushell/ui5service/CardUserFrequents.js +0 -138
  307. package/src/main/js/sap/ushell/ui5service/CardUserRecents.js +0 -101
  308. package/src/main/js/sap/ushell/ui5service/_CardUserRecents/CardUserRecentsBase.js +0 -108
@@ -1,7 +1,7 @@
1
1
  // Copyright (c) 2009-2022 SAP SE, All Rights Reserved
2
2
  /**
3
3
  * @fileOverview handle all the resources for the different applications.
4
- * @version 1.111.0
4
+ * @version 1.112.0
5
5
  */
6
6
  sap.ui.define([
7
7
  "sap/ushell/components/applicationIntegration/elements/model",
@@ -24,7 +24,8 @@ sap.ui.define([
24
24
  "sap/ushell/EventHub",
25
25
  "sap/ushell/utils/UrlParsing",
26
26
  "sap/ui/core/Core",
27
- "sap/ui/thirdparty/hasher"
27
+ "sap/ui/thirdparty/hasher",
28
+ "sap/ushell/services/_MessageBroker/MessageBrokerEngine"
28
29
  ], function (
29
30
  ElementsModel,
30
31
  Storage,
@@ -46,7 +47,8 @@ sap.ui.define([
46
47
  EventHub,
47
48
  oUrlParsing,
48
49
  Core,
49
- hasher
50
+ hasher,
51
+ MessageBrokerEngine
50
52
  ) {
51
53
  "use strict";
52
54
 
@@ -88,6 +90,10 @@ sap.ui.define([
88
90
  RESTRICTED: "restricted"
89
91
  };
90
92
 
93
+ //connect FLP to the message broker
94
+ if (window.QUnit === undefined) {
95
+ MessageBrokerEngine.connect("FLP");
96
+ }
91
97
  this.shellElements = function () {
92
98
  return RelatedShellElements;
93
99
  };
@@ -1367,7 +1373,8 @@ sap.ui.define([
1367
1373
  if (oTargetAppContainer && BlueBoxHandler.isStatefulContainerSupported(oTargetAppContainer)) {
1368
1374
  iLastValidTimeDelta = new Date().getTime() - oTargetAppContainer.getIsIframeValidTime().time;
1369
1375
  if ((BlueBoxHandler.isIframeBusySupported(oTargetAppContainer) && oTargetAppContainer.getIsIframeBusy() === true) ||
1370
- (BlueBoxHandler.isIframeIsValidSupported(oTargetAppContainer) && iLastValidTimeDelta >= 3500)) {
1376
+ (BlueBoxHandler.isIframeIsValidSupported(oTargetAppContainer) && iLastValidTimeDelta >= 3500) ||
1377
+ oTargetAppContainer.getIsInvalidIframe() === true) {
1371
1378
  Log.warning(
1372
1379
  "Destroying statefull container iframe due to unresponsiveness (" + oTargetAppContainer.getId() + ")",
1373
1380
  "reason: " + (oTargetAppContainer.getIsIframeBusy() === true ? "iframe is still creating a different app" :
@@ -1540,6 +1547,12 @@ sap.ui.define([
1540
1547
  // going to be reused, we prompt the container to load the new application context.
1541
1548
  var oPromiseAsyncAppCreate = new jQuery.Deferred().resolve().promise();
1542
1549
  if (bReuseStatefulContainer) {
1550
+ //for scube - make sure the container is active before we open the app
1551
+ //to allow post messages form the iframe to flp that are sent
1552
+ //as part of the target resolution process
1553
+ if (oTarget.appCapabilities && oTarget.appCapabilities.appFrameworkId === "UI5") {
1554
+ oInnerControl.setProperty("active", true, true);
1555
+ }
1543
1556
  oPromiseAsyncAppCreate = that.handleOpenStateful(bIsInitial, bIsInCache, "application" + sAppId, oInnerControl, oTarget, sFixedShellHash, oKeepAliveMode);
1544
1557
  } else if (that.isWebGuiV1StatefulContainer(oTarget.url)) {
1545
1558
  oPromiseAsyncAppCreate = that.reuseApplicationContainer(oInnerControl, "TR", oTarget.url);
@@ -1,7 +1,7 @@
1
1
  // Copyright (c) 2009-2022 SAP SE, All Rights Reserved
2
2
  /**
3
3
  * @fileOverview handle all the resources for the different applications.
4
- * @version 1.111.0
4
+ * @version 1.112.0
5
5
  */
6
6
  sap.ui.define([], function () {
7
7
  "use strict";
@@ -1,7 +1,7 @@
1
1
  // Copyright (c) 2009-2022 SAP SE, All Rights Reserved
2
2
  /**
3
3
  * @fileOverview handle all the resources for the different applications.
4
- * @version 1.111.0
4
+ * @version 1.112.0
5
5
  */
6
6
  sap.ui.define([
7
7
  "sap/ushell/components/container/ApplicationContainer",
@@ -27,6 +27,9 @@ sap.ui.define([
27
27
  this.handleMessageEvent = function (oContainer, oMessage, oMessageStatus, bIsGlobalMessageListener) {
28
28
  var oMessageData = oMessage.data;
29
29
 
30
+ if (bIsGlobalMessageListener === undefined) {
31
+ bIsGlobalMessageListener = false;
32
+ }
30
33
  if (typeof oMessageData === "string") {
31
34
  // it's possible that the data attribute is passed as string (IE9)
32
35
  try {
@@ -111,13 +114,22 @@ sap.ui.define([
111
114
  null,
112
115
  "sap.ushell.components.container.ApplicationContainer");
113
116
 
117
+ if (bIsGlobalMessageListener === undefined) {
118
+ bIsGlobalMessageListener = false;
119
+ }
120
+
114
121
  //validate that service is valid
115
122
  if (oMessageData.type !== "request" || !sService) {
116
123
  return;
117
124
  }
118
125
 
126
+ //message broker messages should be processed only by FLP's default listener
119
127
  if (sService === "sap.ushell.services.MessageBroker") {
120
- sService = sService.concat("._execute");
128
+ if (bIsGlobalMessageListener === true) {
129
+ sService = sService.concat("._execute");
130
+ } else {
131
+ return;
132
+ }
121
133
  }
122
134
 
123
135
  for (var oEntryCommHandlerKey in oShellCommunicationHandlersObj) {
@@ -155,7 +167,7 @@ sap.ui.define([
155
167
  }
156
168
 
157
169
  // custom trusted callback
158
- if ((!bIsGlobalMessageListener || bIsGlobalMessageListener === false) && !ApplicationContainer.prototype._isTrustedPostMessageSource(oContainer, oMessage)) {
170
+ if (bIsGlobalMessageListener === false && !ApplicationContainer.prototype._isTrustedPostMessageSource(oContainer, oMessage)) {
159
171
  // log w/ warning level, message would normally processed by us
160
172
  Log.warning("Received message from untrusted origin '" + oMessage.origin + "': "
161
173
  + JSON.stringify(oMessage.data),
@@ -544,29 +556,28 @@ sap.ui.define([
544
556
  };
545
557
 
546
558
 
547
- //Add default event handler that will be used mainly by plugins running in an iframe,
559
+ //Add default event handler that will be used also by plugins running in an iframe,
548
560
  //that needs to comunicate with the Message Broker. The handler will currently be limited
549
561
  //to process only message broker events.
550
562
  function handleMessageEventForDetaultListener (oMessage) {
551
- try {
552
- //if the post message arrived from one of the iframes that FLP opened (applications),
553
- //we do not need to process the message becasue there is already an handler that will
554
- //handle those message
555
- var iIndex = jQuery("#viewPortContainer").find("iframe").toArray().findIndex(function (oIframe) {
556
- return oIframe.contentWindow === oMessage.source;
557
- });
558
- if (iIndex > -1) {
559
- return;
560
- }
563
+ var that = this;
561
564
 
565
+ try {
562
566
  var oMessageData = oMessage.data;
563
- if (typeof oMessageData === "string") {
564
- // it's possible that the data attribute is passed as string (IE9)
567
+ //limit to handle only message broker events. other events are ignored.
568
+ if (typeof oMessageData === "string" && oMessageData.indexOf("sap.ushell.services.MessageBroker") > 0) {
565
569
  try {
566
570
  oMessageData = JSON.parse(oMessage.data);
567
- //limit to handle only message broker events. other apis are ignored.
568
571
  if (typeof oMessageData === "object" && oMessageData.type === "request" && oMessageData.service === "sap.ushell.services.MessageBroker") {
569
- this.handleMessageEvent(undefined, oMessage, {}, true);
572
+ sap.ushell.Container.getServiceAsync("MessageBroker").then(function (MessageBrokerService) {
573
+ var sVal = MessageBrokerService.getAcceptedOrigins().find(function (sOrigin) {
574
+ return sOrigin === oMessage.origin;
575
+ });
576
+ if (sVal === undefined) {
577
+ return;
578
+ }
579
+ that.handleMessageEvent(undefined, oMessage, {}, true);
580
+ });
570
581
  }
571
582
  } catch (e) {
572
583
  return;
@@ -1,7 +1,7 @@
1
1
  // Copyright (c) 2009-2022 SAP SE, All Rights Reserved
2
2
  /**
3
3
  * @fileOverview handle all the resources for the different applications.
4
- * @version 1.111.0
4
+ * @version 1.112.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.111.0
5
+ * @version 1.112.0
6
6
  * @private
7
7
  */
8
8
  sap.ui.define([
@@ -231,7 +231,11 @@ sap.ui.define([
231
231
  oHash.appSpecificRoute = oServiceParams.oMessageData.body.appSpecificRoute;
232
232
  sNewHash = "#" + UrlParsing.constructShellHash(oHash);
233
233
  hasher.disableBlueBoxHashChangeTrigger = true;
234
- hasher.replaceHash(sNewHash);
234
+ if (oServiceParams.oMessageData.body.writeHistory === true || oServiceParams.oMessageData.body.writeHistory === "true") {
235
+ hasher.setHash(sNewHash);
236
+ } else {
237
+ hasher.replaceHash(sNewHash);
238
+ }
235
239
  hasher.disableBlueBoxHashChangeTrigger = false;
236
240
  return new jQuery.Deferred().resolve().promise();
237
241
  }
@@ -777,6 +781,15 @@ sap.ui.define([
777
781
 
778
782
  return new jQuery.Deferred().resolve(sSystemAlias).promise();
779
783
  }
784
+ },
785
+ setAppInfo: {
786
+ executeServiceCallFn: function (oServiceParams) {
787
+ sap.ushell.Container.getServiceAsync("AppLifeCycle").then(function (AppLifeCycleService) {
788
+ AppLifeCycleService.setAppInfo(oServiceParams.oMessageData.body);
789
+
790
+ });
791
+ return new jQuery.Deferred().resolve().promise();
792
+ }
780
793
  }
781
794
  }
782
795
  },
@@ -870,6 +883,12 @@ sap.ui.define([
870
883
  oServiceParams.oContainer.setProperty("isIframeBusy", oServiceParams.oMessageData.body.bValue, true);
871
884
  return new jQuery.Deferred().resolve().promise();
872
885
  }
886
+ },
887
+ isInvalidIframe: {
888
+ executeServiceCallFn: function (oServiceParams) {
889
+ oServiceParams.oContainer.setProperty("isInvalidIframe", oServiceParams.oMessageData.body.bValue, true);
890
+ return new jQuery.Deferred().resolve().promise();
891
+ }
873
892
  }
874
893
  }
875
894
  },
@@ -1,7 +1,7 @@
1
1
  // Copyright (c) 2009-2022 SAP SE, All Rights Reserved
2
2
  /**
3
3
  * @fileOverview handle all the resources for the different applications.
4
- * @version 1.111.0
4
+ * @version 1.112.0
5
5
  */
6
6
  sap.ui.define([
7
7
  "sap/base/util/extend",
@@ -70,7 +70,7 @@ sap.ui.define([
70
70
  var oTitles = Config.last("/core/shell/model/currentSpaceAndPage");
71
71
  if (oTitles !== undefined) {
72
72
  oHierarchy.splice(0, 0, { // insert at 0 index because the hierarchy is shown as stack
73
- icon: "sap-icon://circle-task-2",
73
+ icon: "sap-icon://space-navigation",
74
74
  title: oTitles.pageTitle,
75
75
  subtitle: oTitles.pageTitle !== oTitles.spaceTitle ? oTitles.spaceTitle : undefined, // Do not show the same string twice if space name is the same as page name
76
76
  intent: "#" + oTitles.hash
@@ -157,7 +157,7 @@ sap.ui.define([
157
157
  */
158
158
  this._getDefaultFavIcon = function (oParameters) {
159
159
  var favIcon = oParameters.get("sapUiShellFavicon");
160
- if (favIcon) {
160
+ if (favIcon) { // custom theme favicon
161
161
  var match = /url[\s]*\('?"?([^'")]*)'?"?\)/.exec(favIcon);
162
162
  if (match) {
163
163
  favIcon = match[1];
@@ -166,7 +166,12 @@ sap.ui.define([
166
166
  }
167
167
  }
168
168
 
169
- if (!favIcon) {
169
+ var sConfigFavicon = Config.last("/core/shell/favIcon");
170
+ if (sConfigFavicon && (favIcon === null)) { // configuration favicon
171
+ return sConfigFavicon;
172
+ }
173
+
174
+ if (!favIcon) { // default favicon
170
175
  var sModulePath = sap.ui.require.toUrl("sap/ushell");
171
176
  return sModulePath + "/themes/base/img/launchpad_favicon.ico";
172
177
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @fileOverview The models assosicated with the applciation.
5
- * @version 1.111.0
5
+ * @version 1.112.0
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/ushell/EventHub",
@@ -1,7 +1,7 @@
1
1
  // Copyright (c) 2009-2022 SAP SE, All Rights Reserved
2
2
  /**
3
3
  * @fileOverview handle all the services for the different applications.
4
- * @version 1.111.0
4
+ * @version 1.112.0
5
5
  */
6
6
  sap.ui.define([
7
7
  "sap/ui/core/Core"
@@ -1,7 +1,7 @@
1
1
  // Copyright (c) 2009-2022 SAP SE, All Rights Reserved
2
2
  /**
3
3
  * @fileOverview handle all the related shell elements of the different applications.
4
- * @version 1.111.0
4
+ * @version 1.112.0
5
5
  */
6
6
  sap.ui.define([
7
7
  "sap/base/Log",
@@ -23,19 +23,13 @@ sap.ui.define([
23
23
  var oCard = this.getView().byId("searchResultWidget");
24
24
  if (!this.oHost) {
25
25
  this.oHost = new Host({
26
- actions: [
27
- {
28
- type: 'Navigation',
29
- action: this.handleCardAction.bind(this)
30
- }
31
- ],
32
26
  id: "searchAppHost",
33
27
  resolveDestination: function (sName) {
34
28
  return null; // TODO
35
29
  }
36
30
  });
37
31
  oCard.setHost(this.oHost);
38
- // oCard.attachAction(this.handleCardAction.bind(this));
32
+ this.oHost.attachAction(this.handleCardAction.bind(this));
39
33
  }
40
34
  },
41
35
  initSearchResultManager: function () {
@@ -1,9 +1,20 @@
1
1
  .sapUiCEPCatPag .sapMBtnDisabled.sapUiCEPCatPagNumber {
2
2
  opacity: 1 !important;
3
3
  }
4
-
5
- .sapUiCEPCatPag .sapMBtnDisabled.sapUiCEPCatPagNumber .sapMBtnText{
6
- background-color: var(--sapUiButtonBackground) !important;
4
+ .sapUiCEPCatPag .sapMBtn:hover .sapMBtnDefault {
5
+ border-color: transparent !important;
6
+ box-shadow: unset !important;
7
+ }
8
+ .sapUiCEPCatPag .sapMBtn .sapMBtnDefault {
9
+ background-color: transparent !important;
10
+ border-color: transparent;
11
+ font-family:inherit !important;
12
+ }
13
+ .sapUiCEPCatPag .sapMBtnDisabled .sapMBtnDefault {
7
14
  color: var(--sapUiBaseText) !important;
15
+ font-weight: bold;
8
16
  border-color: transparent;
9
17
  }
18
+ .sapUiCEPCatPag .sapMBtnDefault, .sapUiCEPCatPag .sapMBtn:not(.sapMBtnDisabled) .sapUiIcon {
19
+ color: var(--sapUiLinkActiveColor) !important;
20
+ }
@@ -6,7 +6,7 @@ sap.ui.define([
6
6
  "sap/ui/core/Control",
7
7
  "sap/m/ToggleButton",
8
8
  "sap/ui/core/delegate/ItemNavigation",
9
- "sap/ushell/components/cepsearchresult/app/util/appendStyleVars",
9
+ "../../../util/appendStyleVars",
10
10
  "sap/ui/dom/includeStylesheet"
11
11
  ], function (
12
12
  Control,
@@ -20,7 +20,8 @@ sap.ui.define([
20
20
  // Append the style vars for css
21
21
  appendStyleVars([
22
22
  "sapUiBaseText",
23
- "sapUiButtonBackground"
23
+ "sapUiButtonBackground",
24
+ "sapUiLinkActiveColor"
24
25
  ]);
25
26
 
26
27
  // Include the css for the control once
@@ -41,7 +42,7 @@ sap.ui.define([
41
42
  },
42
43
  count: {
43
44
  type: "int",
44
- defaultValue: 100
45
+ defaultValue: 0
45
46
  },
46
47
  currentPage: {
47
48
  type: "int",
@@ -49,7 +50,7 @@ sap.ui.define([
49
50
  },
50
51
  segmentSize: {
51
52
  type: "int",
52
- defaultValue: 6
53
+ defaultValue: 7
53
54
  }
54
55
 
55
56
  },
@@ -97,10 +98,14 @@ sap.ui.define([
97
98
  // get some vars to avoid getter calls for all calculations
98
99
  var iPageSize = this.getPageSize();
99
100
  var iPages = Math.ceil(this.getCount() / iPageSize);
100
- var iCurrentPage = this.getCurrentPage();
101
+ var iCurrentPage = Math.min(this.getCurrentPage(), iPages);
101
102
  var iSegmentSize = this.getSegmentSize();
102
- var iSegments = Math.ceil(iPages / iSegmentSize);
103
- var iCurrentSegment = Math.ceil(iCurrentPage / iSegmentSize);
103
+ var iCurrentSegmentStart = Math.max(iCurrentPage - Math.floor(iSegmentSize / 2), 1);
104
+ var iCurrentSegmentEnd = Math.min(iCurrentSegmentStart + iSegmentSize - 1, iPages);
105
+ if (iCurrentSegmentEnd === iPages) {
106
+ iCurrentSegmentStart = Math.max(iPages - iSegmentSize + 1, 1);
107
+ }
108
+
104
109
 
105
110
  // left arrow
106
111
  var oLeftArrow = new Button({
@@ -113,14 +118,34 @@ sap.ui.define([
113
118
  });
114
119
  this.addAggregation("_buttons", oLeftArrow);
115
120
 
121
+ // first page
122
+ if (iCurrentSegmentStart > 1) {
123
+ var oFirstPage = new Button({
124
+ text: "1",
125
+ enabled: iCurrentPage > 1,
126
+ visible: iCurrentPage > 1,
127
+ press: function () {
128
+ this._setCurrentPageWithEvent(1);
129
+ }.bind(this)
130
+ });
131
+ this.addAggregation("_buttons", oFirstPage);
132
+ var oPrevSegmentPage = new Button({
133
+ text: iCurrentSegmentStart === 3 ? 2 : "...",
134
+ enabled: iCurrentPage >= iCurrentSegmentStart,
135
+ visible: iPages > iSegmentSize && iCurrentSegmentStart > 2,
136
+ press: function () {
137
+ this._setCurrentPageWithEvent(iCurrentSegmentStart - 1);
138
+ }.bind(this)
139
+ });
140
+ this.addAggregation("_buttons", oPrevSegmentPage);
141
+ }
116
142
  // numbered paging buttons, starts with 1
117
- for (var i = 1; i <= iPages; i++) {
143
+ for (var i = iCurrentSegmentStart; i <= iCurrentSegmentEnd; i++) {
118
144
  var oButton = new Button({
119
145
  text: "" + i,
120
146
  pressed: i === iCurrentPage,
121
147
  enabled: i !== iCurrentPage,
122
- visible: iPages > 1 && (Math.ceil(i / iSegmentSize) === iCurrentSegment ||
123
- (iCurrentSegment === iSegments && i > iPages - iSegmentSize)),
148
+ visible: true,
124
149
  press: (function (oPaginator, iPage) {
125
150
  return function () {
126
151
  oPaginator._setCurrentPageWithEvent(iPage);
@@ -130,6 +155,26 @@ sap.ui.define([
130
155
  oButton.addStyleClass("sapUiCEPCatPagNumber");
131
156
  this.addAggregation("_buttons", oButton);
132
157
  }
158
+ if (iCurrentSegmentEnd < iPages) {
159
+ var oNextSegmentPage = new Button({
160
+ text: iCurrentSegmentEnd === iPages - 2 ? iPages - 1 : "...",
161
+ enabled: true,
162
+ visible: iPages > 1 && iCurrentPage <= iPages - (iSegmentSize / 2),
163
+ press: function () {
164
+ this._setCurrentPageWithEvent(iCurrentSegmentEnd + 1);
165
+ }.bind(this)
166
+ });
167
+ this.addAggregation("_buttons", oNextSegmentPage);
168
+ var oLastPage = new Button({
169
+ text: "" + iPages,
170
+ enabled: iCurrentPage !== iPages,
171
+ visible: iPages > 1,
172
+ press: function () {
173
+ this._setCurrentPageWithEvent(iPages);
174
+ }.bind(this)
175
+ });
176
+ this.addAggregation("_buttons", oLastPage);
177
+ }
133
178
 
134
179
  // right arrow
135
180
  var oRightArrow = new Button({
@@ -162,7 +207,8 @@ sap.ui.define([
162
207
  .setCycling(false)
163
208
  .setTableMode(true, true)
164
209
  .setColumns(this.getAggregation("_buttons").length)
165
- .setRootDomRef(this.getDomRef());
210
+ .setRootDomRef(this.getDomRef())
211
+ .setPageSize(this.getPageSize());
166
212
 
167
213
  var aNavigationItems = Array.from(this.getDomRef().querySelectorAll(".sapMBtn"));
168
214
  this._oItemNavigation.setItemDomRefs(aNavigationItems);
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @fileOverview The UI integration's SAPUI5 control which supports application embedding.
5
- * @version 1.111.0
5
+ * @version 1.112.0
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/base/Log",
@@ -76,7 +76,8 @@ sap.ui.define([
76
76
  bKeepMessagesForPlugins = false,
77
77
  arrMessagesForPlugins = [],
78
78
  arrMessagesIdx = 0,
79
- iIframeIdx = 0;
79
+ iIframeIdx = 0,
80
+ oMessageBrokerServicePromise;
80
81
 
81
82
  //These params should be excluded from the URL for WDA & WebGUI apps
82
83
  var URL_PARAMS_FILTER = ["sap-ach", "sap-fiori-id", "sap-hide-intent-link", "sap-priority", "sap-tag",
@@ -1123,6 +1124,14 @@ sap.ui.define([
1123
1124
  }
1124
1125
  }
1125
1126
 
1127
+ //add the url origin to the allowed origins list of the message broker
1128
+ if (oMessageBrokerServicePromise) {
1129
+ oMessageBrokerServicePromise.then(function (oMessageBrokerService) {
1130
+ oMessageBrokerService.addAcceptedOrigin(new URI(sUrl).origin());
1131
+ });
1132
+ }
1133
+
1134
+ //preperations to open the iframe with POST (vs the default GET)
1126
1135
  if (sApplicationType === "TR") {
1127
1136
  oContainer.setProperty("iframePostAllParams", true, true);
1128
1137
  }
@@ -1570,7 +1579,8 @@ sap.ui.define([
1570
1579
  frameworkId: { defaultValue: "", type: "string" },
1571
1580
  iframeReusedForApp: { defaultValue: false, type: "boolean" },
1572
1581
  isIframeValidTime: { defaultValue: {time: 0}, type: "object" },
1573
- isIframeBusy: { defaultValue: false, type: "boolean" }
1582
+ isIframeBusy: { defaultValue: false, type: "boolean" },
1583
+ isInvalidIframe: { defaultValue: false, type: "boolean" }
1574
1584
  },
1575
1585
  events: {
1576
1586
  applicationConfiguration: {}
@@ -1666,6 +1676,9 @@ sap.ui.define([
1666
1676
 
1667
1677
  that._messageEventListener = ApplicationContainer.prototype._handleMessageEvent.bind(null, that);
1668
1678
  addEventListener("message", that._messageEventListener);
1679
+ if (!oMessageBrokerServicePromise && sap.ushell.Container && sap.ushell.Container.getServiceAsync) {
1680
+ oMessageBrokerServicePromise = sap.ushell.Container.getServiceAsync("MessageBroker");
1681
+ }
1669
1682
  },
1670
1683
 
1671
1684
  onAfterRendering: function (/*oEvent*/) {