@sapui5/sap.ushell 1.111.1 → 1.112.1

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 (303) 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/CrossApplicationNavigation.js +28 -4
  62. package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolution.js +7 -5
  63. package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/Ui5ComponentLoaderAdapter.js +1 -1
  64. package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/logger.js +1 -1
  65. package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/state.js +1 -1
  66. package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5datetimeformat.js +1 -1
  67. package/src/main/js/sap/ushell/bootstrap/common/common.create.configcontract.core.js +1 -0
  68. package/src/main/js/sap/ushell/bootstrap/common/common.read.ushell.config.from.url.js +26 -23
  69. package/src/main/js/sap/ushell/components/appfinder/AppFinderView.js +69 -33
  70. package/src/main/js/sap/ushell/components/appfinder/VisualizationOrganizerHelper.js +3 -0
  71. package/src/main/js/sap/ushell/components/appfinder/manifest.json +1 -1
  72. package/src/main/js/sap/ushell/components/applicationIntegration/AppLifeCycle.js +15 -3
  73. package/src/main/js/sap/ushell/components/applicationIntegration/Storage.js +1 -1
  74. package/src/main/js/sap/ushell/components/applicationIntegration/application/Application.js +29 -18
  75. package/src/main/js/sap/ushell/components/applicationIntegration/application/BlueBoxHandler.js +1 -1
  76. package/src/main/js/sap/ushell/components/applicationIntegration/application/PostMessageAPI.js +15 -2
  77. package/src/main/js/sap/ushell/components/applicationIntegration/configuration/AppMeta.js +9 -4
  78. package/src/main/js/sap/ushell/components/applicationIntegration/elements/model.js +1 -1
  79. package/src/main/js/sap/ushell/components/applicationIntegration/relatedServices/RelatedServices.js +1 -1
  80. package/src/main/js/sap/ushell/components/applicationIntegration/relatedShellElements/RelatedShellElements.js +1 -1
  81. package/src/main/js/sap/ushell/components/cepsearchresult/app/Main.controller.js +1 -7
  82. package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/controls/Paginator.css +14 -3
  83. package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/controls/Paginator.js +57 -11
  84. package/src/main/js/sap/ushell/components/container/ApplicationContainer.js +14 -2
  85. package/src/main/js/sap/ushell/components/contentFinder/Component.js +470 -23
  86. package/src/main/js/sap/ushell/components/contentFinder/controller/AppSearch.controller.js +308 -6
  87. package/src/main/js/sap/ushell/components/contentFinder/controller/ContentFinderDialog.controller.js +83 -12
  88. package/src/main/js/sap/ushell/components/contentFinder/controller/WidgetGallery.controller.js +33 -6
  89. package/src/main/js/sap/ushell/components/contentFinder/manifest.json +7 -7
  90. package/src/main/js/sap/ushell/components/contentFinder/model/formatter.js +96 -0
  91. package/src/main/js/sap/ushell/components/contentFinder/resources/resources.properties +44 -14
  92. package/src/main/js/sap/ushell/components/contentFinder/view/AppSearch.view.xml +82 -25
  93. package/src/main/js/sap/ushell/components/contentFinder/view/ContentFinderDialog.view.xml +18 -10
  94. package/src/main/js/sap/ushell/components/contentFinder/view/WidgetGallery.view.xml +52 -1
  95. package/src/main/js/sap/ushell/components/contentFinderAppSearch/Component.js +1 -1
  96. package/src/main/js/sap/ushell/components/contentFinderAppSearch/controller/ContentFinderAppSearch.controller.js +1 -1
  97. package/src/main/js/sap/ushell/components/contentFinderAppSearch/manifest.json +1 -1
  98. package/src/main/js/sap/ushell/components/factsheet/Component.js +1 -1
  99. package/src/main/js/sap/ushell/components/homepage/ActionMode.js +1 -1
  100. package/src/main/js/sap/ushell/components/homepage/DashboardContent.view.js +1 -1
  101. package/src/main/js/sap/ushell/components/homepage/DashboardGroupsBox.js +116 -40
  102. package/src/main/js/sap/ushell/components/homepage/DashboardUIActions.js +1 -1
  103. package/src/main/js/sap/ushell/components/homepage/manifest.json +1 -1
  104. package/src/main/js/sap/ushell/components/pages/ActionMode.js +1 -1
  105. package/src/main/js/sap/ushell/components/pages/Component.js +1 -1
  106. package/src/main/js/sap/ushell/components/pages/MyHomeImport.js +1 -1
  107. package/src/main/js/sap/ushell/components/pages/controller/PageRuntime.controller.js +1 -1
  108. package/src/main/js/sap/ushell/components/pages/manifest.json +1 -1
  109. package/src/main/js/sap/ushell/components/runtimeSwitcher/controller/RuntimeSwitcher.controller.js +1 -1
  110. package/src/main/js/sap/ushell/components/runtimeSwitcher/manifest.json +1 -1
  111. package/src/main/js/sap/ushell/components/shell/MenuBar/manifest.json +1 -1
  112. package/src/main/js/sap/ushell/components/shell/Notifications/Component.js +1 -1
  113. package/src/main/js/sap/ushell/components/shell/PostLoadingHeaderEnhancement/Component.js +17 -6
  114. package/src/main/js/sap/ushell/components/shell/ProductSwitch/Component.js +1 -1
  115. package/src/main/js/sap/ushell/components/shell/Search/manifest.json +1 -1
  116. package/src/main/js/sap/ushell/components/shell/SearchCEP/Component.js +1 -1
  117. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/FrequentActivityProvider.js +1 -1
  118. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/NavigationSvcSearchProvider.js +1 -1
  119. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/RecentSearchProvider.js +1 -1
  120. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchProvider.js +1 -1
  121. package/src/main/js/sap/ushell/components/shell/Settings/Component.js +1 -1
  122. package/src/main/js/sap/ushell/components/shell/Settings/ContentWrapper.fragment.xml +7 -1
  123. package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/UserDefaultsForm.js +9 -10
  124. package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/controller/UserDefaultsSetting.controller.js +49 -57
  125. package/src/main/js/sap/ushell/components/shell/UserActionsMenu/Component.js +1 -1
  126. package/src/main/js/sap/ushell/components/shell/UserImage/Component.js +1 -1
  127. package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/DynamicTile.controller.js +4 -1
  128. package/src/main/js/sap/ushell/components/visualizationOrganizer/Component.js +26 -27
  129. package/src/main/js/sap/ushell/components/workPageBuilder/Component.js +23 -4
  130. package/src/main/js/sap/ushell/components/workPageBuilder/controller/ContentFinderDialog.controller.js +12 -9
  131. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.controller.js +67 -16
  132. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPage.js +1 -1
  133. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageButton.js +1 -1
  134. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageCell.js +1 -1
  135. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumn.js +1 -1
  136. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnResizer.js +1 -1
  137. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRow.js +1 -1
  138. package/src/main/js/sap/ushell/components/workPageBuilder/manifest.json +1 -1
  139. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources.properties +5 -3
  140. package/src/main/js/sap/ushell/components/workPageBuilder/view/WorkPageBuilder.view.xml +1 -1
  141. package/src/main/js/sap/ushell/components/workPageRuntime/Component.js +1 -1
  142. package/src/main/js/sap/ushell/components/workPageRuntime/controller/WorkPageRuntime.controller.js +4 -262
  143. package/src/main/js/sap/ushell/components/workPageRuntime/manifest.json +1 -1
  144. package/src/main/js/sap/ushell/components/workPageRuntime/services/NavigationResolver.js +1 -1
  145. package/src/main/js/sap/ushell/components/workPageRuntime/services/WorkPage.js +1 -170
  146. package/src/main/js/sap/ushell/designtime/ApplicationContainer.designtime.js +1 -1
  147. package/src/main/js/sap/ushell/library.js +1 -3
  148. package/src/main/js/sap/ushell/navigationMode.js +1 -1
  149. package/src/main/js/sap/ushell/performance/ShellAnalytics.js +1 -1
  150. package/src/main/js/sap/ushell/performance/StatisticalRecord.js +1 -1
  151. package/src/main/js/sap/ushell/plugins/appwarmup/Component.js +1 -1
  152. package/src/main/js/sap/ushell/renderers/fiori2/AccessKeysHandler.js +3 -1
  153. package/src/main/js/sap/ushell/renderers/fiori2/Renderer.js +2 -2
  154. package/src/main/js/sap/ushell/renderers/fiori2/allMyApps/AllMyApps.controller.js +2 -1
  155. package/src/main/js/sap/ushell/renderers/fiori2/allMyApps/AllMyApps.view.xml +10 -1
  156. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources.properties +15 -5
  157. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_de.properties +1 -1
  158. package/src/main/js/sap/ushell/renderers/fiori2/search/searchComponent/manifest.json +1 -1
  159. package/src/main/js/sap/ushell/services/AppConfiguration.js +0 -37
  160. package/src/main/js/sap/ushell/services/AppLifeCycle.js +52 -3
  161. package/src/main/js/sap/ushell/services/AppState.js +1 -1
  162. package/src/main/js/sap/ushell/services/Bookmark.js +93 -30
  163. package/src/main/js/sap/ushell/services/ClientSideTargetResolution.js +1 -1
  164. package/src/main/js/sap/ushell/services/CommonDataModel.js +5 -243
  165. package/src/main/js/sap/ushell/services/Configuration.js +1 -1
  166. package/src/main/js/sap/ushell/services/ConfigurationDefaults.js +1 -1
  167. package/src/main/js/sap/ushell/services/ContentExtensionAdapterFactory.js +1 -1
  168. package/src/main/js/sap/ushell/services/CrossApplicationNavigation.js +1 -1
  169. package/src/main/js/sap/ushell/services/DarkModeSupport.js +1 -1
  170. package/src/main/js/sap/ushell/services/LaunchPage.js +1 -1
  171. package/src/main/js/sap/ushell/services/Menu.js +1 -1
  172. package/src/main/js/sap/ushell/services/Message.js +1 -1
  173. package/src/main/js/sap/ushell/services/MessageBroker.js +31 -12
  174. package/src/main/js/sap/ushell/services/NavTargetResolution.js +4 -2
  175. package/src/main/js/sap/ushell/services/NavigationDataProvider.js +1 -1
  176. package/src/main/js/sap/ushell/services/PageBuilding.js +1 -1
  177. package/src/main/js/sap/ushell/services/PagePersistence.js +1 -1
  178. package/src/main/js/sap/ushell/services/PageReferencing.js +1 -1
  179. package/src/main/js/sap/ushell/services/Pages.js +21 -3
  180. package/src/main/js/sap/ushell/services/Personalization.js +1 -1
  181. package/src/main/js/sap/ushell/services/PluginManager.js +1 -3
  182. package/src/main/js/sap/ushell/services/ReferenceResolver.js +178 -125
  183. package/src/main/js/sap/ushell/services/Search.js +1 -1
  184. package/src/main/js/sap/ushell/services/SearchCEP.js +1 -1
  185. package/src/main/js/sap/ushell/services/SearchableContent.js +1 -1
  186. package/src/main/js/sap/ushell/services/ShellNavigationHashChanger.js +15 -18
  187. package/src/main/js/sap/ushell/services/SmartNavigation.js +32 -6
  188. package/src/main/js/sap/ushell/services/SpaceContent.js +1 -1
  189. package/src/main/js/sap/ushell/services/URLShortening.js +1 -1
  190. package/src/main/js/sap/ushell/services/URLTemplate.js +1 -1
  191. package/src/main/js/sap/ushell/services/Ui5ComponentLoader.js +1 -1
  192. package/src/main/js/sap/ushell/services/UserDefaultParameterPersistence.js +1 -1
  193. package/src/main/js/sap/ushell/services/UserDefaultParameters.js +1 -1
  194. package/src/main/js/sap/ushell/services/UserInfo.js +1 -1
  195. package/src/main/js/sap/ushell/services/UserRecents.js +1 -1
  196. package/src/main/js/sap/ushell/services/VisualizationDataProvider.js +1 -1
  197. package/src/main/js/sap/ushell/services/VisualizationInstantiation.js +1 -1
  198. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Formatter.js +1 -1
  199. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/InboundIndex.js +1 -1
  200. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/InboundProvider.js +1 -1
  201. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/PrelaunchOperations.js +5 -1
  202. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Search.js +1 -1
  203. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/StagedLogger.js +1 -1
  204. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/SystemContext.js +2 -2
  205. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Utils.js +1 -1
  206. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/VirtualInbounds.js +1 -1
  207. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/XAppStateProcessing.js +1 -1
  208. package/src/main/js/sap/ushell/services/_CommonDataModel/SiteConverter.js +1 -1
  209. package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/ContentExtensionAdapterConfig.js +1 -1
  210. package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/FeaturedGroupConfig.js +131 -135
  211. package/src/main/js/sap/ushell/services/_CrossApplicationNavigation/utils.js +1 -1
  212. package/src/main/js/sap/ushell/services/_MessageBroker/MessageBrokerEngine.js +341 -308
  213. package/src/main/js/sap/ushell/services/_PageReferencing/PageReferencer.js +1 -1
  214. package/src/main/js/sap/ushell/services/_PluginManager/Extensions.js +1 -1
  215. package/src/main/js/sap/ushell/services/_PluginManager/HeaderExtensions.js +1 -1
  216. package/src/main/js/sap/ushell/services/_PluginManager/MenuExtensions.js +1 -1
  217. package/src/main/js/sap/ushell/services/_Ui5ComponentLoader/utils.js +1 -1
  218. package/src/main/js/sap/ushell/services/_VisualizationInstantiation/VizInstanceLink.js +1 -1
  219. package/src/main/js/sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin.js +1 -1
  220. package/src/main/js/sap/ushell/themes/base/Catalog.less +4 -0
  221. package/src/main/js/sap/ushell/themes/base/ContentFinder.less +5 -1
  222. package/src/main/js/sap/ushell/themes/base/SearchFLP.less +0 -5
  223. package/src/main/js/sap/ushell/themes/base/ShellAppTitle.less +6 -9
  224. package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.eot +0 -0
  225. package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.json +16 -1
  226. package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.ttf +0 -0
  227. package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.woff +0 -0
  228. package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.woff2 +0 -0
  229. package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.eot +0 -0
  230. package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.ttf +0 -0
  231. package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.woff +0 -0
  232. package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.woff2 +0 -0
  233. package/src/main/js/sap/ushell/themes/base/library.source.less +0 -2
  234. package/src/main/js/sap/ushell/themes/sap_belize/ShellHeader.less +0 -9
  235. package/src/main/js/sap/ushell/themes/sap_belize/library.source.less +0 -1
  236. package/src/main/js/sap/ushell/themes/sap_belize_hcb/ShellHeader.less +0 -27
  237. package/src/main/js/sap/ushell/themes/sap_belize_hcb/library.source.less +0 -2
  238. package/src/main/js/sap/ushell/themes/sap_belize_hcw/ShellHeader.less +0 -25
  239. package/src/main/js/sap/ushell/themes/sap_belize_hcw/library.source.less +0 -2
  240. package/src/main/js/sap/ushell/themes/sap_bluecrystal/library.source.less +0 -2
  241. package/src/main/js/sap/ushell/themes/sap_fiori_3/ShellHeader.less +2 -11
  242. package/src/main/js/sap/ushell/themes/sap_fiori_3/library.source.less +0 -1
  243. package/src/main/js/sap/ushell/themes/sap_fiori_3_dark/ShellHeader.less +2 -11
  244. package/src/main/js/sap/ushell/themes/sap_fiori_3_dark/library.source.less +0 -1
  245. package/src/main/js/sap/ushell/themes/sap_fiori_3_hcb/ShellHeader.less +0 -25
  246. package/src/main/js/sap/ushell/themes/sap_fiori_3_hcb/library.source.less +0 -2
  247. package/src/main/js/sap/ushell/themes/sap_fiori_3_hcw/ShellHeader.less +0 -25
  248. package/src/main/js/sap/ushell/themes/sap_fiori_3_hcw/library.source.less +0 -2
  249. package/src/main/js/sap/ushell/themes/sap_hcb/ShellHeader.less +0 -24
  250. package/src/main/js/sap/ushell/themes/sap_hcb/library.source.less +0 -2
  251. package/src/main/js/sap/ushell/themes/sap_horizon/ShellAppTitle.less +2 -12
  252. package/src/main/js/sap/ushell/themes/sap_horizon/library.source.less +0 -1
  253. package/src/main/js/sap/ushell/themes/sap_horizon_dark/ShellAppTitle.less +2 -12
  254. package/src/main/js/sap/ushell/themes/sap_horizon_dark/library.source.less +0 -1
  255. package/src/main/js/sap/ushell/themes/sap_horizon_hcb/ShellAppTitle.less +0 -25
  256. package/src/main/js/sap/ushell/themes/sap_horizon_hcb/library.source.less +0 -1
  257. package/src/main/js/sap/ushell/themes/sap_horizon_hcw/ShellAppTitle.less +0 -25
  258. package/src/main/js/sap/ushell/themes/sap_horizon_hcw/library.source.less +0 -1
  259. package/src/main/js/sap/ushell/ui/appfinder/AppBoxRenderer.js +0 -15
  260. package/src/main/js/sap/ushell/ui/cards/FrequentActivitiesExtension.js +199 -0
  261. package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +202 -0
  262. package/src/main/js/sap/ushell/ui/contentFinder/AppBox.js +17 -2
  263. package/src/main/js/sap/ushell/ui/launchpad/ExtendedChangeDetection.js +1 -1
  264. package/src/main/js/sap/ushell/ui/launchpad/LoadingDialogRenderer.js +2 -45
  265. package/src/main/js/sap/ushell/ui/launchpad/Page.js +1 -1
  266. package/src/main/js/sap/ushell/ui/launchpad/Section.js +2 -2
  267. package/src/main/js/sap/ushell/ui/launchpad/TileRenderer.js +4 -21
  268. package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.js +1 -1
  269. package/src/main/js/sap/ushell/ui/shell/ShellAppTitle.js +6 -8
  270. package/src/main/js/sap/ushell/ui/shell/ShellHeadItem.js +1 -1
  271. package/src/main/js/sap/ushell/ui/shell/ShellLayout.js +1 -1
  272. package/src/main/js/sap/ushell/ui/shell/ShellNavigationMenu.js +21 -62
  273. package/src/main/js/sap/ushell/ui/shell/SplitContainer.js +1 -1
  274. package/src/main/js/sap/ushell/ui/shell/ToolAreaItem.js +1 -1
  275. package/src/main/js/sap/ushell/ui/utils.js +1 -1
  276. package/src/main/js/sap/ushell/ui5service/ShellUIService.js +1 -1
  277. package/src/main/js/sap/ushell/ui5service/UserStatus.js +1 -1
  278. package/src/main/js/sap/ushell/utils/DynamicTileRequest.js +25 -5
  279. package/src/main/js/sap/ushell/utils/UrlShortening.js +1 -1
  280. package/src/test/js/sap/ushell/bootstrap/sandbox.js +1 -1
  281. package/ui5.yaml +53 -51
  282. package/src/main/js/sap/ushell/services/ContentExtension.js +0 -114
  283. package/src/main/js/sap/ushell/themes/base/UserPreferencesButton.less +0 -35
  284. package/src/main/js/sap/ushell/themes/base/flower-standalone.less +0 -774
  285. package/src/main/js/sap/ushell/themes/sap_belize/UserPreferencesButton.less +0 -7
  286. package/src/main/js/sap/ushell/themes/sap_belize_hcb/UserPreferencesButton.less +0 -7
  287. package/src/main/js/sap/ushell/themes/sap_belize_hcb/flower-standalone.less +0 -34
  288. package/src/main/js/sap/ushell/themes/sap_belize_hcw/UserPreferencesButton.less +0 -7
  289. package/src/main/js/sap/ushell/themes/sap_belize_hcw/flower-standalone.less +0 -34
  290. package/src/main/js/sap/ushell/themes/sap_bluecrystal/UserPreferencesButton.less +0 -7
  291. package/src/main/js/sap/ushell/themes/sap_bluecrystal/flower-standalone.less +0 -23
  292. package/src/main/js/sap/ushell/themes/sap_fiori_3_hcb/flower-standalone.less +0 -34
  293. package/src/main/js/sap/ushell/themes/sap_fiori_3_hcw/flower-standalone.less +0 -33
  294. package/src/main/js/sap/ushell/themes/sap_hcb/UserPreferencesButton.less +0 -7
  295. package/src/main/js/sap/ushell/themes/sap_hcb/flower-standalone.less +0 -34
  296. package/src/main/js/sap/ushell/themes/sap_horizon/UserPreferencesButton.less +0 -9
  297. package/src/main/js/sap/ushell/themes/sap_horizon_dark/UserPreferencesButton.less +0 -8
  298. package/src/main/js/sap/ushell/ui/footerbar/SettingsButton.js +0 -90
  299. package/src/main/js/sap/ushell/ui/footerbar/UserPreferencesButton.js +0 -505
  300. package/src/main/js/sap/ushell/ui5service/CardNavigation.js +0 -131
  301. package/src/main/js/sap/ushell/ui5service/CardUserFrequents.js +0 -138
  302. package/src/main/js/sap/ushell/ui5service/CardUserRecents.js +0 -101
  303. package/src/main/js/sap/ushell/ui5service/_CardUserRecents/CardUserRecentsBase.js +0 -108
@@ -1,14 +1,44 @@
1
- # Translatable texts for the Fiori Launchpad Content Finder
2
-
3
- #XTIT
4
- ContentFinder.AppSearch.AddTile.Title=Add Tiles
5
- #XTIT
6
- ContentFinder.AppSearch.AddCard.Title=Add Cards
7
- #XBUT
8
- ContentFinder.Button.Add=Add ({0})
9
- #XBUT
10
- ContentFinder.Button.Cancel=Cancel
11
-
12
-
13
- #XMSG
14
- ContentFinder.AppSearch.SearchPlaceholder=Search by App Title
1
+ # Translatable texts for the Fiori Launchpad Content Finder
2
+ # __ldi.translation.uuid=8d87cb08-55aa-4ec1-8982-2cb84f34d554
3
+
4
+ # Content Finder Dialog
5
+ #XBUT: "{0}" is the quantity to be added
6
+ ContentFinder.Button.Add=Add ({0})
7
+ #XBUT
8
+ ContentFinder.Button.Cancel=Cancel
9
+
10
+
11
+ # Widget Gallery View
12
+ #XTIT
13
+ ContentFinder.WidgetGallery.Title=Widget Gallery
14
+ #XTIT
15
+ ContentFinder.WidgetGallery.AllWidgets.Title=All Widgets
16
+ #XTIT
17
+ ContentFinder.WidgetGallery.Applications.Title=Applications
18
+
19
+
20
+ # App Search View
21
+ #XTIT
22
+ ContentFinder.AppSearch.AddTiles.Title=Add Tiles
23
+ #XTIT
24
+ ContentFinder.AppSearch.AddCards.Title=Add Card
25
+ #XMSG
26
+ ContentFinder.AppSearch.SearchPlaceholder=Search by app title
27
+ #XTIT: "{0}" is the number of tiles
28
+ ContentFinder.AppSearch.Title.AllTiles=All Tiles ({0})
29
+ #XTIT
30
+ ContentFinder.AppSearch.Title.NoTiles=No Tiles available
31
+ #XTIT: "{0}" is the number of cards
32
+ ContentFinder.AppSearch.Title.AllCards=All Cards ({0})
33
+ #XTIT
34
+ ContentFinder.AppSearch.Title.NoCards=No Cards available
35
+ #XTIT: "{0}" is the number of selected applications
36
+ ContentFinder.AppSearch.Title.SelectedApp=All Selected Applications ({0})
37
+ #XTIT
38
+ ContentFinder.AppSearch.Title.NoSelectedApp=No Selected Applications
39
+ #XTIT: "{0}" is the search term; "{1}" is the number of applications found
40
+ ContentFinder.AppSearch.Title.SearchResult=Results for: "{0}" ({1})
41
+ #XTIT: "{0}" is the search term
42
+ ContentFinder.AppSearch.Title.NoSearchResult=No Results for: "{0}"
43
+ #XTOL
44
+ ContentFinder.AppSearch.Button.Tooltip.ShowSelected=View all selected apps
@@ -1,34 +1,91 @@
1
1
  <mvc:View
2
2
  xmlns="sap.m"
3
3
  xmlns:mvc="sap.ui.core.mvc"
4
- xmlns:core="sap.ui.core"
4
+ xmlns:f="sap.f"
5
5
  xmlns:l="sap.ui.layout"
6
6
  controllerName="sap.ushell.components.contentFinder.controller.AppSearch"
7
7
  id="sapContentFinderAppSearch"
8
8
  height="100%"
9
9
  class="sapUiSizeCompact">
10
- <VBox class="sapCepContentFinderBeginEndPadding">
11
- <OverflowToolbar
12
- id="appSearchOverflowToolbar"
13
- asyncMode="false"
14
- style="Clear"
15
- class="sapCepContentFinderToolbar sapUiSmallMarginTop sapUiTinyMarginBottom"
16
- visible="false">
17
- <Title id="appSearchTitle" titleStyle="H5" text="App Search">
18
- <layoutData>
19
- <OverflowToolbarLayoutData minWidth="6rem" shrinkable="true" priority="High"/>
20
- </layoutData>
21
- </Title>
22
- <ToolbarSpacer/>
23
- <SearchField
24
- id="appSearchField"
25
- value="{searchTerm}"
26
- placeholder="{i18n>ContentFinder.AppSearch.SearchPlaceholder}"
27
- liveChange=".onAppSearch">
28
- <layoutData>
29
- <OverflowToolbarLayoutData minWidth= "6rem" maxWidth="13.75rem" shrinkable="true" priority="NeverOverflow"/>
30
- </layoutData>
31
- </SearchField>
32
- </OverflowToolbar>
33
- </VBox>
10
+ <!-- The container needs any fixed height (e.g. minFlexSize="1px") to calculate the content heights. -->
11
+ <l:FixFlex minFlexSize="1px">
12
+ <l:fixContent>
13
+ <OverflowToolbar
14
+ id="appSearchOverflowToolbar"
15
+ asyncMode="false"
16
+ style="Clear"
17
+ class="sapCepContentFinderToolbar sapUiSmallMarginTop sapUiTinyMarginBottom sapCepContentFinderBeginEndPadding">
18
+ <Title id="appBoxContainerTitle" titleStyle="H5" text="{
19
+ parts: [
20
+ '/activeNavigationTarget',
21
+ '/appSearch/appBoxCount',
22
+ '/appSearch/searchTerm',
23
+ '/appSearch/showSelectedPressed',
24
+ '/appSearch/selectedAppCount',
25
+ '/appSearch/currentSelectedTreeNode'
26
+ ], formatter: '.formatter.formatAppSearchTitle' }">
27
+ <layoutData>
28
+ <OverflowToolbarLayoutData minWidth="6rem" shrinkable="true" priority="High"/>
29
+ </layoutData>
30
+ </Title>
31
+ <ToolbarSpacer/>
32
+ <SearchField
33
+ id="appSearchField"
34
+ value="{/appSearch/searchTerm}"
35
+ placeholder="{i18n>ContentFinder.AppSearch.SearchPlaceholder}"
36
+ liveChange=".onAppSearch">
37
+ <layoutData>
38
+ <OverflowToolbarLayoutData minWidth= "6rem" maxWidth="13.75rem" shrinkable="true" priority="NeverOverflow"/>
39
+ </layoutData>
40
+ </SearchField>
41
+ <ToggleButton
42
+ id="showAllSelectedBtn"
43
+ visible="{= ${/activeNavigationTarget} === ${/navigationTargets/appSearchTiles}}"
44
+ pressed="{/appSearch/showSelectedPressed}"
45
+ enabled="{= ${/appSearch/selectedAppCount} > 0 || ${/appSearch/showSelectedPressed} }"
46
+ icon="sap-icon://multi-select"
47
+ tooltip="{i18n>ContentFinder.AppSearch.Button.Tooltip.ShowSelected}"
48
+ press=".onShowSelectedPressed">
49
+ <layoutData>
50
+ <OverflowToolbarLayoutData shrinkable="false" priority="Low"/>
51
+ </layoutData>
52
+ </ToggleButton>
53
+ </OverflowToolbar>
54
+ </l:fixContent>
55
+ <l:flexContent>
56
+ <ScrollContainer
57
+ class="sapCepContentFinderScrollContainerPadding"
58
+ vertical="true"
59
+ horizontal="false">
60
+ <f:GridContainer
61
+ id="tileGridContainer"
62
+ items="{
63
+ path: '/appSearch/visualizations/tiles',
64
+ factory: '.tileFactory'
65
+ }"
66
+ visible="{= ${/activeNavigationTarget} === ${/navigationTargets/appSearchTiles}}">
67
+ <f:layout>
68
+ <f:GridContainerSettings
69
+ columnSize="19.0625rem"
70
+ rowSize="12.75rem"
71
+ gap="1.5rem"/>
72
+ </f:layout>
73
+ </f:GridContainer>
74
+ <f:GridContainer
75
+ id="cardGridContainer"
76
+ items="{
77
+ path: '/appSearch/visualizations/cards',
78
+ factory: '.cardFactory'
79
+ }"
80
+ visible="{= ${/activeNavigationTarget} === ${/navigationTargets/appSearchCards}}">
81
+ <f:layout>
82
+ <f:GridContainerSettings
83
+ columnSize="19.0625rem"
84
+ rowSize="12.75rem"
85
+ gap="1.5rem"/>
86
+ </f:layout>
87
+ </f:GridContainer>
88
+ </ScrollContainer>
89
+ </l:flexContent>
90
+ </l:FixFlex>
34
91
  </mvc:View>
@@ -4,7 +4,8 @@
4
4
  xmlns:core="sap.ui.core"
5
5
  xmlns:mvc="sap.ui.core.mvc"
6
6
  height="100%"
7
- controllerName="sap.ushell.components.contentFinder.controller.ContentFinderDialog">
7
+ controllerName="sap.ushell.components.contentFinder.controller.ContentFinderDialog"
8
+ core:require="{ formatMessage: 'sap/base/strings/formatMessage' }">
8
9
  <Dialog
9
10
  id="contentFinderDialog"
10
11
  contentWidth="64.5rem"
@@ -14,14 +15,17 @@
14
15
  class="sapUiNoContentPadding sapUiSizeCompact"
15
16
  horizontalScrolling="false"
16
17
  verticalScrolling="false"
17
- afterClose=".afterClose">
18
+ afterClose=".onClose">
18
19
  <customHeader>
19
20
  <OverflowToolbar>
20
21
  <Button icon="sap-icon://nav-back"
21
22
  id="sapContentFinderBackButton"
22
- visible="true"
23
- press=".navigate(0)"/>
24
- <Title text="Current Content Finder Page" />
23
+ visible="{= ${/activeNavigationTarget} !== ${/navigationTargets/widgetGallery} &amp;&amp; !${/restrictedMode}}"
24
+ press=".onBackButtonPressed"/>
25
+ <Title text="{
26
+ parts: [
27
+ '/activeNavigationTarget'
28
+ ], formatter: '.formatter.formatDialogTitle' }" />
25
29
  <ToolbarSpacer />
26
30
  </OverflowToolbar>
27
31
  </customHeader>
@@ -36,7 +40,6 @@
36
40
  height="100%"
37
41
  viewName="sap.ushell.components.contentFinder.view.WidgetGallery" />
38
42
  </Page>
39
-
40
43
  <Page
41
44
  id="contentFinderAppSearchPage"
42
45
  enableScrolling="false"
@@ -50,14 +53,19 @@
50
53
  <beginButton>
51
54
  <Button id="sapContentFinderAddButton"
52
55
  type="Emphasized"
53
- visible="true"
54
- text="Add (0)"
55
- press=".addWidget"/>
56
+ visible="{
57
+ parts: [
58
+ '/activeNavigationTarget'
59
+ ], formatter: '.formatter.addButtonIsVisibleInAppSearch' }"
60
+ text="{parts: [{path: 'i18n>ContentFinder.Button.Add'}, {path: '/appSearch/selectedAppCount'}],
61
+ formatter: 'formatMessage' }"
62
+ enabled="{= ${/appSearch/selectedAppCount} > 0}"
63
+ press=".onAddButtonPressed"/>
56
64
  </beginButton>
57
65
  <endButton>
58
66
  <Button id="sapContentFinderCancelButton"
59
67
  text="{i18n>ContentFinder.Button.Cancel}"
60
- press=".hide"/>
68
+ press=".onCancelButtonPressed"/>
61
69
  </endButton>
62
70
  </Dialog>
63
71
  </mvc:View>
@@ -3,10 +3,61 @@
3
3
  xmlns:mvc="sap.ui.core.mvc"
4
4
  xmlns:core="sap.ui.core"
5
5
  xmlns:l="sap.ui.layout"
6
+ xmlns:cssgrid="sap.ui.layout.cssgrid"
7
+ xmlns:f="sap.f"
6
8
  controllerName="sap.ushell.components.contentFinder.controller.WidgetGallery"
7
9
  id="sapContentFinderWidgetGallery"
8
10
  height="100%"
9
11
  class="sapUiSizeCompact">
12
+ <VBox class="sapCepContentFinderBeginEndPadding sapUiSmallMarginTop sapUiTinyMarginBottom">
13
+ <Title id="widgetGalleryTitle" titleStyle="H5" text="{i18n>ContentFinder.WidgetGallery.AllWidgets.Title}">
14
+ <layoutData>
15
+ <OverflowToolbarLayoutData minWidth="6rem" shrinkable="true" priority="High"/>
16
+ </layoutData>
17
+ </Title>
18
+ </VBox>
19
+ <VBox items="{path: '/widgetGallery/widgetGroups'}" class="sapCepContentFinderBeginEndPadding">
20
+ <items>
21
+ <VBox class="sapUiTinyMarginBottom">
22
+ <OverflowToolbar asyncMode="true" style="Clear" class="sapCepContentFinderToolbar" visible="{= !!${title}}">
23
+ <Title titleStyle="H6" text="{title}" />
24
+ </OverflowToolbar>
25
+ <f:GridList
26
+ id="sapCepContentFinderGridList"
27
+ mode="None"
28
+ items="{
29
+ path: 'widgets',
30
+ templateShareable: false,
31
+ key: 'id'
32
+ }">
33
+ <f:customLayout>
34
+ <cssgrid:GridResponsiveLayout containerQuery="true">
35
+ <cssgrid:layout>
36
+ <cssgrid:GridSettings gridGap="1.5rem"
37
+ gridTemplateColumns="repeat(2, calc(50% - 0.75rem))"
38
+ gridAutoRows="5rem"/>
39
+ </cssgrid:layout>
40
+ </cssgrid:GridResponsiveLayout>
41
+ </f:customLayout>
10
42
 
11
- <Title text="Widget Gallery"></Title>
43
+ <f:GridListItem type="Active" press=".onSelectWidgetType">
44
+ <HBox alignItems="Center" height="100%" class="sapUiSmallMarginEnd">
45
+
46
+ <Avatar src="{icon}" class="sapUiSmallMarginEnd sapUiSmallMarginBegin"
47
+ backgroundColor="Placeholder">
48
+ <layoutData>
49
+ <FlexItemData maxHeight="3rem" />
50
+ </layoutData>
51
+ </Avatar>
52
+
53
+ <VBox>
54
+ <Title text="{title}" titleStyle="H6" wrapping="true" />
55
+ <Label text="{description}" visible="{= !!${description}}" wrapping="true" />
56
+ </VBox>
57
+ </HBox>
58
+ </f:GridListItem>
59
+ </f:GridList>
60
+ </VBox>
61
+ </items>
62
+ </VBox>
12
63
  </mvc:View>
@@ -4,7 +4,7 @@
4
4
  * @fileOverview contentFinderAppSearch Component
5
5
  *
6
6
  *
7
- * @version 1.111.1
7
+ * @version 1.112.1
8
8
  */
9
9
  sap.ui.define([
10
10
  "sap/ui/core/UIComponent"
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @file ContentFinderAppSearch controller for ContentFinderAppSearch view
5
- * @version 1.111.1
5
+ * @version 1.112.1
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/ui/core/mvc/Controller",
@@ -3,7 +3,7 @@
3
3
  "sap.app": {
4
4
  "id": "sap.ushell.components.contentFinderAppSearch",
5
5
  "applicationVersion": {
6
- "version": "1.111.1"
6
+ "version": "1.112.1"
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.111.1",
20
+ version: "1.112.1",
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"],
@@ -18,7 +18,7 @@
18
18
  * - Deactivation handler
19
19
  * - Rendering tile action menu
20
20
  *
21
- * @version 1.111.1
21
+ * @version 1.112.1
22
22
  */
23
23
  /**
24
24
  * @namespace
@@ -5,7 +5,7 @@
5
5
  * with a header of type <code>sap.ushell.ui.launchpad.AnchorNavigationBar</code>
6
6
  * and content of type <code>sap.ushell.ui.launchpad.DashboardGroupsContainer</code>.
7
7
  *
8
- * @version 1.111.1
8
+ * @version 1.112.1
9
9
  * @name sap.ushell.components.homepage.DashboardContent.view
10
10
  * @private
11
11
  */
@@ -6,12 +6,13 @@
6
6
  * Exposes the public function <code>createGroupsBox</code>
7
7
  * @see sap.ushell.components.homepage.DashboardContent.view
8
8
  *
9
- * @version 1.111.1
9
+ * @version 1.112.1
10
10
  * @name sap.ushell.components.homepage.DashboardGroupsBox
11
11
  * @since 1.35.0
12
12
  * @private
13
13
  */
14
14
  sap.ui.define([
15
+ "sap/base/Log",
15
16
  "sap/base/util/isEmptyObject",
16
17
  "sap/base/util/restricted/_zipObject",
17
18
  "sap/m/Button",
@@ -22,9 +23,14 @@ sap.ui.define([
22
23
  "sap/ui/core/InvisibleMessage",
23
24
  "sap/ui/core/library",
24
25
  "sap/ui/Device",
26
+ "sap/ui/integration/Host",
27
+ "sap/ui/integration/library",
28
+ "sap/ui/integration/widgets/Card",
25
29
  "sap/ui/model/Filter",
26
30
  "sap/ui/model/FilterOperator",
27
31
  "sap/ui/performance/Measurement",
32
+ "sap/ui/thirdparty/jquery",
33
+ "sap/ushell/library",
28
34
  "sap/ushell/components/homepage/ActionMode",
29
35
  "sap/ushell/Config",
30
36
  "sap/ushell/EventHub",
@@ -35,8 +41,11 @@ sap.ui.define([
35
41
  "sap/ushell/ui/launchpad/LinkTileWrapper",
36
42
  "sap/ushell/ui/launchpad/PlusTile",
37
43
  "sap/ushell/ui/launchpad/Tile",
38
- "sap/ushell/ui/launchpad/TileContainer"
44
+ "sap/ushell/ui/launchpad/TileContainer",
45
+ "sap/ushell/ui/QuickAccess",
46
+ "sap/ushell/utils/UrlParsing"
39
47
  ], function (
48
+ Log,
40
49
  isEmptyObject,
41
50
  _zipObject,
42
51
  Button,
@@ -47,9 +56,14 @@ sap.ui.define([
47
56
  InvisibleMessage,
48
57
  coreLibrary,
49
58
  Device,
59
+ Host,
60
+ integrationLibrary,
61
+ Card,
50
62
  Filter,
51
63
  FilterOperator,
52
64
  Measurement,
65
+ jQuery,
66
+ ushellLibrary,
53
67
  ActionMode,
54
68
  Config,
55
69
  EventHub,
@@ -60,7 +74,9 @@ sap.ui.define([
60
74
  LinkTileWrapper,
61
75
  PlusTile,
62
76
  LaunchpadTile,
63
- TileContainer
77
+ TileContainer,
78
+ QuickAccess,
79
+ UrlParsing
64
80
  ) {
65
81
  "use strict";
66
82
 
@@ -95,6 +111,10 @@ sap.ui.define([
95
111
  Core.getEventBus().subscribe("launchpad", "GroupHeaderVisibility", this._updateGroupHeaderVisibility, this);
96
112
  Core.getEventBus().subscribe("launchpad", "AddTileContainerContent", this._addTileContainersContent, this);
97
113
 
114
+ this._oHost = new Host({
115
+ action: this._onCardAction.bind(this)
116
+ });
117
+
98
118
  return undefined;
99
119
  },
100
120
 
@@ -107,6 +127,7 @@ sap.ui.define([
107
127
  this.oGroupsContainer.destroy();
108
128
  }
109
129
  DashboardGroupsBox.fnDashboardGroupsBoxGetter = undefined;
130
+ this._oHost.destroy();
110
131
  },
111
132
 
112
133
  calculateFilter: function () {
@@ -145,15 +166,13 @@ sap.ui.define([
145
166
  loadCardModuleIfNeeded: function () {
146
167
  var that = this;
147
168
  if (Config.last("/core/home/featuredGroup/enable")) {
148
- return Core.loadLibrary("sap.ui.integration", {async: true})
149
- .then(function () {
150
- return new Promise(function (resolve) {
151
- sap.ui.require(["sap/ui/integration/widgets/Card"], function (Card) {
152
- that.Card = Card;
169
+ return Core.loadLibrary("sap.ui.integration", { async: true })
170
+ .then(function () {
171
+ return new Promise(function (resolve) {
172
+ that.Card = new Card();
153
173
  resolve();
154
174
  });
155
175
  });
156
- });
157
176
  }
158
177
  return Promise.resolve();
159
178
  },
@@ -170,32 +189,32 @@ sap.ui.define([
170
189
  fAfterLayoutInit,
171
190
  fGroupsContainerAfterRenderingHandler,
172
191
 
173
- getPlusTileFromGroup = function (oGroup) {
174
- var groupDomRef,
175
- plusTileDomRef;
176
- if (oGroup && (groupDomRef = oGroup.getDomRef())) {
177
- plusTileDomRef = groupDomRef.querySelector(".sapUshellPlusTile");
178
- if (plusTileDomRef) {
179
- return plusTileDomRef;
192
+ getPlusTileFromGroup = function (oGroup) {
193
+ var groupDomRef,
194
+ plusTileDomRef;
195
+ if (oGroup && (groupDomRef = oGroup.getDomRef())) {
196
+ plusTileDomRef = groupDomRef.querySelector(".sapUshellPlusTile");
197
+ if (plusTileDomRef) {
198
+ return plusTileDomRef;
199
+ }
180
200
  }
181
- }
182
- return null;
183
- },
184
-
185
- reorderTilesCallback = function (layoutInfo) {
186
- var plusTileStartGroup = getPlusTileFromGroup(layoutInfo.currentGroup),
187
- plusTileEndGroup = getPlusTileFromGroup(layoutInfo.endGroup),
188
- isPlusTileVanishRequired = (layoutInfo.tiles[layoutInfo.tiles.length - 2] === layoutInfo.item) || (layoutInfo.endGroup.getTiles().length === 0);
189
- if (isPlusTileVanishRequired) {
190
- that._hidePlusTile(plusTileEndGroup);
191
- } else {
192
- that._showPlusTile(plusTileEndGroup);
193
- }
201
+ return null;
202
+ },
194
203
 
195
- if (layoutInfo.currentGroup !== layoutInfo.endGroup) {
196
- that._showPlusTile(plusTileStartGroup);
197
- }
198
- };
204
+ reorderTilesCallback = function (layoutInfo) {
205
+ var plusTileStartGroup = getPlusTileFromGroup(layoutInfo.currentGroup),
206
+ plusTileEndGroup = getPlusTileFromGroup(layoutInfo.endGroup),
207
+ isPlusTileVanishRequired = (layoutInfo.tiles[layoutInfo.tiles.length - 2] === layoutInfo.item) || (layoutInfo.endGroup.getTiles().length === 0);
208
+ if (isPlusTileVanishRequired) {
209
+ that._hidePlusTile(plusTileEndGroup);
210
+ } else {
211
+ that._showPlusTile(plusTileEndGroup);
212
+ }
213
+
214
+ if (layoutInfo.currentGroup !== layoutInfo.endGroup) {
215
+ that._showPlusTile(plusTileStartGroup);
216
+ }
217
+ };
199
218
 
200
219
  //Since the layout initialization is async, we need to execute the below function after initialization is done
201
220
  fAfterLayoutInit = function () {
@@ -436,12 +455,6 @@ sap.ui.define([
436
455
  };
437
456
  },
438
457
 
439
- _createCard: function (oManifest) {
440
- return new this.Card({
441
- manifest: oManifest
442
- });
443
- },
444
-
445
458
  _itemFactory: function (sId, oContext) {
446
459
  var oTileOrCard = oContext.getProperty(oContext.sPath),
447
460
  aContent,
@@ -464,7 +477,10 @@ sap.ui.define([
464
477
  } else {
465
478
  return this._createErrorTile();
466
479
  }
467
- oControl = this._createCard(oManifest);
480
+ oControl = new Card();
481
+
482
+ oControl.setHost(this._oHost)
483
+ .setManifest(oManifest);
468
484
  } else {
469
485
  oControl = this._createTile();
470
486
  }
@@ -473,6 +489,64 @@ sap.ui.define([
473
489
  return oControl;
474
490
  },
475
491
 
492
+ /**
493
+ * When a card is clicked, it is checked whether the header is clicked or one item of the featured group card itself.
494
+ * It then navigates to the corresponding item.
495
+ * @param oEvent The event from the card interaction, for example clicking the header or items.
496
+ * @private
497
+ */
498
+ _onCardAction: function (oEvent) {
499
+ if (oEvent.getParameter("type") !== integrationLibrary.CardActionType.Navigation) {
500
+ return;
501
+ }
502
+
503
+ var oActionParameters = oEvent.getParameter("parameters");
504
+ var oShellHash = UrlParsing.parseShellHash(oActionParameters.url);
505
+
506
+ if (oShellHash) {
507
+ oEvent.preventDefault(); // prevent opening of the url
508
+ this._performIntentBasedNavigation(oShellHash);
509
+ } else if (oActionParameters.openUI) {
510
+ if (oActionParameters.openUI === "RecentActivities" || oActionParameters.openUI === "FrequentActivities") {
511
+ var sTabName = oActionParameters.openUI === "RecentActivities" ? "recentActivityFilter" : "frequentlyUsedFilter";
512
+ QuickAccess.openQuickAccessDialog(sTabName);
513
+ } else {
514
+ Log.error("Request to open unknown User Interface: '" + oActionParameters.openUI + "'");
515
+ }
516
+ oEvent.preventDefault();
517
+ } else if (oActionParameters.url === "") {
518
+ oEvent.preventDefault(); // prevent navigation to empty url
519
+ } else if (Config.last("/core/shell/enableRecentActivity") && Config.last("/core/shell/enableRecentActivityLogging")) {
520
+ var oRecentEntry = {
521
+ title: oEvent.getParameter("parameters").title,
522
+ url: oActionParameters.url,
523
+ appType: ushellLibrary.AppType.URL,
524
+ appId: oActionParameters.url
525
+ };
526
+ sap.ushell.Container.getRenderer("fiori2").logRecentActivity(oRecentEntry);
527
+ }
528
+ },
529
+
530
+ /**
531
+ * Performs an external navigation and forwards the shell hash information.
532
+ * @param oShellHash The shell hash
533
+ * @returns {Promise} Resolves
534
+ * @private
535
+ */
536
+ _performIntentBasedNavigation: function (oShellHash) {
537
+ return sap.ushell.Container.getServiceAsync("CrossApplicationNavigation")
538
+ .then(function (oCrossAppNav) {
539
+ oCrossAppNav.toExternal({
540
+ target: {
541
+ semanticObject: oShellHash.semanticObject,
542
+ action: oShellHash.action
543
+ },
544
+ params: oShellHash.params,
545
+ appSpecificRoute: oShellHash.appSpecificRoute
546
+ });
547
+ });
548
+ },
549
+
476
550
  /**
477
551
  * Creates a generic error tile. It will be displayed with a generic "Cannot load tile" subheader.
478
552
  *
@@ -534,10 +608,12 @@ sap.ui.define([
534
608
  onclick: function (/*oEvent*/) {
535
609
  Measurement.start("FLP:DashboardGroupsBox.onclick", "Click on tile", "FLP");
536
610
  Measurement.start("FLP:OpenApplicationonClick", "Open Application", "FLP");
611
+
537
612
  function endTileMeasurement () {
538
613
  Measurement.end("FLP:DashboardGroupsBox.onclick");
539
614
  oViewPortContainer.detachAfterNavigate(endTileMeasurement);
540
615
  }
616
+
541
617
  oViewPortContainer.attachAfterNavigate(endTileMeasurement);
542
618
  }
543
619
  });
@@ -5,7 +5,7 @@
5
5
  * Extends <code>sap.ui.base.Object</code><br>
6
6
  * Exposes the public function <code>initializeUIActions</code>
7
7
  *
8
- * @version 1.111.1
8
+ * @version 1.112.1
9
9
  * @name sap.ushell.components.homepage.DashboardUIActions
10
10
  * @since 1.35.0
11
11
  * @private
@@ -3,7 +3,7 @@
3
3
  "sap.app": {
4
4
  "id": "sap.ushell.components.homepage",
5
5
  "applicationVersion": {
6
- "version": "1.111.1"
6
+ "version": "1.112.1"
7
7
  },
8
8
  "i18n": {
9
9
  "bundleUrl": "../../renderers/fiori2/resources/resources.properties",
@@ -2,7 +2,7 @@
2
2
  /**
3
3
  * @fileOverview ActionMode for the PageRuntime view
4
4
  *
5
- * @version 1.111.1
5
+ * @version 1.112.1
6
6
  */
7
7
 
8
8
  sap.ui.define([