@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
@@ -4,7 +4,7 @@
4
4
  * @fileOverview The Unified Shell's LaunchPageAdapter for the
5
5
  * 'CDM' platform - Version 2 (V2)
6
6
  * @deprecated since 1.100
7
- * @version 1.111.0
7
+ * @version 1.112.0
8
8
  */
9
9
  sap.ui.define([
10
10
  "sap/ushell/adapters/cdm/_LaunchPage/readHome",
@@ -95,7 +95,6 @@ sap.ui.define([
95
95
  this._mCatalogTilePromises = {};
96
96
  this._mFailedResolvedCatalogTiles = {};
97
97
  this._mFailedResolvedTiles = {};
98
- this._mContentProviders = {};
99
98
 
100
99
  Promise.all([
101
100
  sap.ushell.Container.getServiceAsync("URLParsing"),
@@ -2212,21 +2211,6 @@ sap.ui.define([
2212
2211
  if (!oGroup) {
2213
2212
  oGroup = _oDefaultGroup;
2214
2213
  }
2215
- if (oCatalogTile.contentProviderId) {
2216
- // This is an extension tile from an extension site provided by a ContentProvider plugin.
2217
- // See "sap-ushell-plugin-type": "ContentProvider"
2218
- if (oCatalogTile.externalUrl) {
2219
- // Add extension catalog tile as bookmark so that the
2220
- // extension site is not needed during FLP start-up for
2221
- // resolving the tile (fast, stable startup). This is a
2222
- // restriction for extension tiles.
2223
- return this.addBookmark(
2224
- this._getBookmarkDataForExtensionCatalogTile(oCatalogTile),
2225
- oGroup
2226
- );
2227
- }
2228
- return oDeferred.reject("Extension Tile without URL").promise();
2229
- }
2230
2214
 
2231
2215
  oGroupTile = composeNewTile();
2232
2216
  oGroupTile.appId = oCatalogTile.tileResolutionResult.appId;
@@ -2259,38 +2243,6 @@ sap.ui.define([
2259
2243
  return oDeferred.promise();
2260
2244
  };
2261
2245
 
2262
- /**
2263
- * Returns a settings object (necessary to call
2264
- * <code>#addBookmark</code>) out of a tile from an extension
2265
- * catalog.
2266
- *
2267
- * @param {object} oExtensionCatalogTile
2268
- * Catalog tile from an extension catalog. Catalog tiles form the
2269
- * main site's catalogs are not supported!
2270
- *
2271
- * @returns {object}
2272
- * Object as expected by <code>#addBookmark</code>
2273
- *
2274
- * @private
2275
- */
2276
- this._getBookmarkDataForExtensionCatalogTile = function (oExtensionCatalogTile) {
2277
- var oBookmarkSettings = {
2278
- title: oExtensionCatalogTile.tileResolutionResult.title,
2279
- subtitle: oExtensionCatalogTile.tileResolutionResult.subTitle,
2280
- icon: oExtensionCatalogTile.tileResolutionResult.icon,
2281
- info: oExtensionCatalogTile.tileResolutionResult.info,
2282
- url: oExtensionCatalogTile.externalUrl
2283
- };
2284
-
2285
- if (oExtensionCatalogTile.tileResolutionResult.indicatorDataSource &&
2286
- oExtensionCatalogTile.tileResolutionResult.indicatorDataSource.path) {
2287
- oBookmarkSettings.serviceUrl = oExtensionCatalogTile.tileResolutionResult.indicatorDataSource.path;
2288
- oBookmarkSettings.serviceRefreshInterval = oExtensionCatalogTile.tileResolutionResult.indicatorDataSource.refresh;
2289
- }
2290
-
2291
- return oBookmarkSettings;
2292
- };
2293
-
2294
2246
  /**
2295
2247
  * Removes a tile from a given group on the homepage. Furthermore the personalization will be
2296
2248
  * persisted for the end user.
@@ -2502,15 +2454,8 @@ sap.ui.define([
2502
2454
  oDeferred = new jQuery.Deferred(),
2503
2455
  aCatalogs = [];
2504
2456
 
2505
- function processCatalog (oCdmSite, sCatalogId, aCatalogs, oGetCatalogsDeferred, sProviderId, oProviderCache) {
2457
+ function processCatalog (oCdmSite, sCatalogId, aCatalogs, oGetCatalogsDeferred) {
2506
2458
  var oCatalog = oCdmSite.catalogs[sCatalogId];
2507
-
2508
- if (sProviderId && oProviderCache) {
2509
- // This is an extension catalog from an extension site provided by a ContentProvider plugin.
2510
- // See "sap-ushell-plugin-type": "ContentProvider"
2511
- oCatalog.contentProviderId = sProviderId;
2512
- oProviderCache.catalogsMap[sCatalogId] = oCatalog;
2513
- }
2514
2459
  aCatalogs.push(oCatalog);
2515
2460
  oGetCatalogsDeferred.notify(oCatalog);
2516
2461
  }
@@ -2524,66 +2469,17 @@ sap.ui.define([
2524
2469
  Object.keys(oSite.catalogs).forEach(function (sCatalogId) {
2525
2470
  processCatalog(oSite, sCatalogId, aCatalogs, oDeferred);
2526
2471
  });
2527
-
2528
- oCDMSiteService.getExtensionSites().progress(function (oLoadResult) {
2529
- var sProviderId = oLoadResult.providerId;
2530
- var oExtensionSite = oLoadResult.site;
2531
- var oExtensionSitePromise = Promise.resolve(oExtensionSite);
2532
-
2533
- var oProviderCache = {
2534
- sitePromise: oExtensionSitePromise,
2535
- site: oExtensionSite,
2536
- catalogsMap: {} // added later
2537
- };
2538
-
2539
- // one site was loaded
2540
- Object.keys(oExtensionSite.catalogs).forEach(function (sCatalogId) {
2541
- that._mContentProviders[sProviderId] = oProviderCache;
2542
-
2543
- processCatalog(
2544
- oExtensionSite,
2545
- sCatalogId,
2546
- aCatalogs,
2547
- oDeferred,
2548
- sProviderId, // note: difference to .getSite() catalogs
2549
- oProviderCache
2550
- );
2551
- });
2552
- }).done(function (aLoadReport) {
2553
- aLoadReport.filter(function (oLoadReport) {
2554
- // error logging
2555
- return !oLoadReport.success;
2556
- }).forEach(function (oFailedLoadReport, iIdx) {
2557
- // Add the failed site as a catalog to signal that
2558
- // an error occurred. The consumer should always
2559
- // call #getCatalogError on the returned catalog.
2560
- aCatalogs.push({
2561
- identification: {
2562
- // id needed for sorting
2563
- id: oFailedLoadReport.providerId
2564
- },
2565
- contentProviderId: oFailedLoadReport.providerId,
2566
- error: "The following content providers could not provide catalogs: "
2567
- + oFailedLoadReport.providerId
2568
- + (oFailedLoadReport.error
2569
- ? " -> " + oFailedLoadReport.error
2570
- : ""
2571
- )
2572
- });
2573
- });
2574
-
2575
- // In our tests we use indices to access specific
2576
- // catalogs from the getCatalogs response. For this
2577
- // reason we are sorting the result. As stated in the
2578
- // documentation, this shouldn't really matter for the
2579
- // caller. The caller should not code against a
2580
- // specific sort order.
2581
- //
2582
- // Note that oA.identification.id is a string and
2583
- // usually not a number Note that "A" is bigger than
2584
- // "1"
2585
- oDeferred.resolve(aCatalogs.sort(that._compareCatalogs));
2586
- });
2472
+ // In our tests we use indices to access specific
2473
+ // catalogs from the getCatalogs response. For this
2474
+ // reason we are sorting the result. As stated in the
2475
+ // documentation, this shouldn't really matter for the
2476
+ // caller. The caller should not code against a
2477
+ // specific sort order.
2478
+ //
2479
+ // Note that oA.identification.id is a string and
2480
+ // usually not a number Note that "A" is bigger than
2481
+ // "1"
2482
+ oDeferred.resolve(aCatalogs.sort(that._compareCatalogs));
2587
2483
  });
2588
2484
  }, 0);
2589
2485
  return oDeferred.promise();
@@ -2724,28 +2620,15 @@ sap.ui.define([
2724
2620
  return oDeferred.reject("Invalid input parameter '" + oCatalog + "' passed to getCatalogTiles.").promise();
2725
2621
  }
2726
2622
 
2727
- if (oCatalog.contentProviderId && this._mContentProviders[oCatalog.contentProviderId]) {
2728
- // This is an extension catalog from an extension site provided by a ContentProvider plugin.
2729
- // See "sap-ushell-plugin-type": "ContentProvider"
2730
-
2731
- this._mContentProviders[oCatalog.contentProviderId].sitePromise.then(function (oSite) {
2732
- getCatalogTilesFromSite.call(that, oCatalog, oSite)
2733
- .done(oDeferred.resolve)
2734
- .fail(oDeferred.reject);
2735
- }, function (sErrorMessage2) {
2736
- oDeferred.reject("Failed to get site: " + sErrorMessage2);
2737
- });
2738
- } else {
2739
- that.oCDMService.getSite()
2740
- .done(function (oSite) {
2741
- getCatalogTilesFromSite.call(that, oCatalog, oSite)
2742
- .done(oDeferred.resolve)
2743
- .fail(oDeferred.reject);
2744
- })
2745
- .fail(function (sErrorMessage2) {
2746
- oDeferred.reject("Failed to get site: " + sErrorMessage2);
2747
- });
2748
- }
2623
+ that.oCDMService.getSite()
2624
+ .done(function (oSite) {
2625
+ getCatalogTilesFromSite.call(that, oCatalog, oSite)
2626
+ .done(oDeferred.resolve)
2627
+ .fail(oDeferred.reject);
2628
+ })
2629
+ .fail(function (sErrorMessage2) {
2630
+ oDeferred.reject("Failed to get site: " + sErrorMessage2);
2631
+ });
2749
2632
 
2750
2633
  return oDeferred.promise();
2751
2634
  };
@@ -2770,7 +2653,6 @@ sap.ui.define([
2770
2653
  oInbound,
2771
2654
  oTileResolutionResult,
2772
2655
  oCatalogTile,
2773
- sExternalUrl,
2774
2656
  sApplicationType,
2775
2657
  sAdditionalInformation,
2776
2658
  bIsApplicationTypeConfiguredInPlace,
@@ -2807,29 +2689,13 @@ sap.ui.define([
2807
2689
  oTileResolutionResult = oInbound.tileResolutionResult;
2808
2690
  sTileIntent = that._toHashFromInbound(oFirstInbound);
2809
2691
 
2810
- if (oCatalog.contentProviderId) {
2811
- // This is an extension catalog from an extension site provided by a
2812
- // ContentProvider plugin. See "sap-ushell-plugin-type": "ContentProvider"
2813
- sExternalUrl = that._getMember(
2814
- oAppDescriptor,
2815
- "sap|app.crossNavigation.inbounds.Shell-launchURL.signature.parameters.sap-external-url.launcherValue.value"
2816
- );
2817
- }
2818
-
2819
2692
  oCatalogTile = {
2820
- id: sExternalUrl || sTileIntent, // reuse the intent as ID as it is stable and unique
2821
- tileIntent: sExternalUrl || sTileIntent,
2693
+ id: sTileIntent, // reuse the intent as ID as it is stable and unique
2694
+ tileIntent: sTileIntent,
2822
2695
  tileResolutionResult: oTileResolutionResult,
2823
2696
  isCatalogTile: true
2824
2697
  };
2825
2698
 
2826
- if (oCatalog.contentProviderId && sExternalUrl) {
2827
- // extension catalog tiles get additional properties
2828
- // as they are treated differently in addTile
2829
- oCatalogTile.contentProviderId = oCatalog.contentProviderId;
2830
- oCatalogTile.externalUrl = sExternalUrl;
2831
- }
2832
-
2833
2699
  aReturnedCatalogTiles.push(oCatalogTile);
2834
2700
  }
2835
2701
  return aReturnedCatalogTiles;
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * @fileOverview The Unified Shell's platform independent sap.ushell.adapters.PagesCommonDataModelAdapter.
5
5
  *
6
- * @version 1.111.0
6
+ * @version 1.112.0
7
7
  */
8
8
  sap.ui.define([
9
9
  "sap/base/Log",
@@ -5,7 +5,7 @@
5
5
  *
6
6
  *
7
7
  * The CDM personalization adapter can be used to store data in the RA@ABAP platform.
8
- * @version 1.111.0
8
+ * @version 1.112.0
9
9
  */
10
10
  sap.ui.define([
11
11
  "sap/ushell/adapters/cdm/_Personalization/internals",
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * @fileOverview The Unified Shell's Ui5ComponentLoaderAdapter for the CDM platform
5
5
  *
6
- * @version 1.111.0
6
+ * @version 1.112.0
7
7
  */
8
8
  sap.ui.define([
9
9
  ], function () {
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @fileOverview Helper of modifying the home page data for the 'CDM' platform.
5
- * @version 1.111.0
5
+ * @version 1.112.0
6
6
  * @private
7
7
  */
8
8
  sap.ui.define([
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @fileOverview Helper of accessing catalog data for the 'CDM' platform.
5
- * @version 1.111.0
5
+ * @version 1.112.0
6
6
  * @private
7
7
  */
8
8
  sap.ui.define([
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * @fileOverview Helper of accessing Home Page data for the 'CDM' platform.
5
5
  *
6
- * @version 1.111.0
6
+ * @version 1.112.0
7
7
  * @private
8
8
  */
9
9
  sap.ui.define([
@@ -4,7 +4,7 @@
4
4
  * @fileOverview Transforms relative URIs as used e.g. for data sources in the
5
5
  * manifest.json
6
6
  *
7
- * @version 1.111.0
7
+ * @version 1.112.0
8
8
  */
9
9
  sap.ui.define([
10
10
  "sap/ui/thirdparty/URI"
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @fileOverview AppForInbound uses a navigation data inbound to resolve an CDM app reference of a CDM page.
5
- * @version 1.111.0
5
+ * @version 1.112.0
6
6
  * @private
7
7
  */
8
8
  sap.ui.define([
@@ -2,7 +2,7 @@
2
2
  /**
3
3
  * @fileOverview The file provides helper functions for PagesCommonDataModelAdater.
4
4
  *
5
- * @version 1.111.0
5
+ * @version 1.112.0
6
6
  * @private
7
7
  */
8
8
  sap.ui.define([
@@ -4,7 +4,7 @@
4
4
  * @fileOverview The Base of Unified Shell's LaunchPageAdapter for the 'CDM' platform - Version 3 (V3)
5
5
  * and StaticGroupsContainer for Featured Group
6
6
  *
7
- * @version 1.111.0
7
+ * @version 1.112.0
8
8
  */
9
9
  sap.ui.define([
10
10
  "sap/ushell/adapters/cdm/v3/_LaunchPage/readHome",
@@ -81,7 +81,6 @@ sap.ui.define([
81
81
  this._mCatalogTilePromises = {};
82
82
  this._mFailedResolvedCatalogTiles = {};
83
83
  this._mFailedResolvedTiles = {};
84
- this._mContentProviders = {};
85
84
 
86
85
  this.TileType = {
87
86
  Tile: "tile",
@@ -5,7 +5,7 @@
5
5
  * 'CDM' platform - Version 3 (V3)
6
6
  *
7
7
  * @deprecated since 1.100
8
- * @version 1.111.0
8
+ * @version 1.112.0
9
9
  */
10
10
  sap.ui.define([
11
11
  "sap/ushell/adapters/cdm/v3/_LaunchPage/readHome",
@@ -790,21 +790,6 @@ sap.ui.define([
790
790
  if (!oGroup) {
791
791
  oGroup = this._oDefaultGroup;
792
792
  }
793
- if (oCatalogTile.contentProviderId) {
794
- // This is an extension tile from an extension site provided by a ContentProvider plugin.
795
- // See "sap-ushell-plugin-type": "ContentProvider"
796
- if (oCatalogTile.externalUrl) {
797
- // Add extension catalog tile as bookmark so that the
798
- // extension site is not needed during FLP start-up for
799
- // resolving the tile (fast, stable startup). This is a
800
- // restriction for extension tiles.
801
- return this.addBookmark(
802
- this._getBookmarkDataForExtensionCatalogTile(oCatalogTile),
803
- oGroup
804
- );
805
- }
806
- return oDeferred.reject("Extension Tile without URL").promise();
807
- }
808
793
 
809
794
  oGroupTile = composeNewTile();
810
795
  oGroupTile.vizId = oCatalogTile.vizId;
@@ -838,38 +823,6 @@ sap.ui.define([
838
823
  return oDeferred.promise();
839
824
  };
840
825
 
841
- /**
842
- * Returns a settings object (necessary to call
843
- * <code>#addBookmark</code>) out of a tile from an extension
844
- * catalog.
845
- *
846
- * @param {object} oExtensionCatalogTile
847
- * Catalog tile from an extension catalog. Catalog tiles form the
848
- * main site's catalogs are not supported!
849
- *
850
- * @returns {object}
851
- * Object as expected by <code>#addBookmark</code>
852
- *
853
- * @private
854
- */
855
- this._getBookmarkDataForExtensionCatalogTile = function (oExtensionCatalogTile) {
856
- var oBookmarkSettings = {
857
- title: oExtensionCatalogTile.tileResolutionResult.title,
858
- subtitle: oExtensionCatalogTile.tileResolutionResult.subTitle,
859
- icon: oExtensionCatalogTile.tileResolutionResult.icon,
860
- info: oExtensionCatalogTile.tileResolutionResult.info,
861
- url: oExtensionCatalogTile.externalUrl
862
- };
863
-
864
- if (oExtensionCatalogTile.tileResolutionResult.indicatorDataSource &&
865
- oExtensionCatalogTile.tileResolutionResult.indicatorDataSource.path) {
866
- oBookmarkSettings.serviceUrl = oExtensionCatalogTile.tileResolutionResult.indicatorDataSource.path;
867
- oBookmarkSettings.serviceRefreshInterval = oExtensionCatalogTile.tileResolutionResult.indicatorDataSource.refresh;
868
- }
869
-
870
- return oBookmarkSettings;
871
- };
872
-
873
826
  /**
874
827
  * Removes a tile from a given group on the homepage. Furthermore the personalization will be
875
828
  * persisted for the end user.
@@ -1075,15 +1028,8 @@ sap.ui.define([
1075
1028
  oDeferred = new jQuery.Deferred(),
1076
1029
  aCatalogs = [];
1077
1030
 
1078
- function processCatalog (oCdmSite, sCatalogId, aCatalogs, oGetCatalogsDeferred, sProviderId, oProviderCache) {
1031
+ function processCatalog (oCdmSite, sCatalogId, aCatalogs, oGetCatalogsDeferred) {
1079
1032
  var oCatalog = oCdmSite.catalogs[sCatalogId];
1080
-
1081
- if (sProviderId && oProviderCache) {
1082
- // This is an extension catalog from an extension site provided by a ContentProvider plugin.
1083
- // See "sap-ushell-plugin-type": "ContentProvider"
1084
- oCatalog.contentProviderId = sProviderId;
1085
- oProviderCache.catalogsMap[sCatalogId] = oCatalog;
1086
- }
1087
1033
  aCatalogs.push(oCatalog);
1088
1034
  oGetCatalogsDeferred.notify(oCatalog);
1089
1035
  }
@@ -1092,71 +1038,20 @@ sap.ui.define([
1092
1038
  // be a synchrounous call, which would cause wrong behaviour in some scenarios
1093
1039
  sap.ushell.Container.getServiceAsync("CommonDataModel").then(function (oCDMSiteService) {
1094
1040
  oCDMSiteService.getSite().done(function (oSite) {
1095
- // catalogs from site should be loaded first as they require
1096
- // loading of less resources
1097
1041
  Object.keys(oSite.catalogs).forEach(function (sCatalogId) {
1098
1042
  processCatalog(oSite, sCatalogId, aCatalogs, oDeferred);
1099
1043
  });
1100
-
1101
- oCDMSiteService.getExtensionSites().progress(function (oLoadResult) {
1102
- var sProviderId = oLoadResult.providerId;
1103
- var oExtensionSite = oLoadResult.site;
1104
- var oExtensionSitePromise = Promise.resolve(oExtensionSite);
1105
-
1106
- var oProviderCache = {
1107
- sitePromise: oExtensionSitePromise,
1108
- site: oExtensionSite,
1109
- catalogsMap: {} // added later
1110
- };
1111
-
1112
- // one site was loaded
1113
- Object.keys(oExtensionSite.catalogs).forEach(function (sCatalogId) {
1114
- that._mContentProviders[sProviderId] = oProviderCache;
1115
-
1116
- processCatalog(
1117
- oExtensionSite,
1118
- sCatalogId,
1119
- aCatalogs,
1120
- oDeferred,
1121
- sProviderId, // note: difference to .getSite() catalogs
1122
- oProviderCache
1123
- );
1124
- });
1125
- }).done(function (aLoadReport) {
1126
- aLoadReport.filter(function (oLoadReport) {
1127
- // error logging
1128
- return !oLoadReport.success;
1129
- }).forEach(function (oFailedLoadReport) {
1130
- // Add the failed site as a catalog to signal that
1131
- // an error occurred. The consumer should always
1132
- // call #getCatalogError on the returned catalog.
1133
- aCatalogs.push({
1134
- identification: {
1135
- // id needed for sorting
1136
- id: oFailedLoadReport.providerId
1137
- },
1138
- contentProviderId: oFailedLoadReport.providerId,
1139
- error: "The following content providers could not provide catalogs: "
1140
- + oFailedLoadReport.providerId
1141
- + (oFailedLoadReport.error
1142
- ? " -> " + oFailedLoadReport.error
1143
- : ""
1144
- )
1145
- });
1146
- });
1147
-
1148
- // In our tests we use indices to access specific
1149
- // catalogs from the getCatalogs response. For this
1150
- // reason we are sorting the result. As stated in the
1151
- // documentation, this shouldn't really matter for the
1152
- // caller. The caller should not code against a
1153
- // specific sort order.
1154
- //
1155
- // Note that oA.identification.id is a string and
1156
- // usually not a number Note that "A" is bigger than
1157
- // "1"
1158
- oDeferred.resolve(aCatalogs.sort(that._compareCatalogs));
1159
- });
1044
+ // In our tests we use indices to access specific
1045
+ // catalogs from the getCatalogs response. For this
1046
+ // reason we are sorting the result. As stated in the
1047
+ // documentation, this shouldn't really matter for the
1048
+ // caller. The caller should not code against a
1049
+ // specific sort order.
1050
+ //
1051
+ // Note that oA.identification.id is a string and
1052
+ // usually not a number Note that "A" is bigger than
1053
+ // "1"
1054
+ oDeferred.resolve(aCatalogs.sort(that._compareCatalogs));
1160
1055
  });
1161
1056
  });
1162
1057
  return oDeferred.promise();
@@ -1312,28 +1207,15 @@ sap.ui.define([
1312
1207
  return oDeferred.reject("Invalid input parameter '" + oCatalog + "' passed to getCatalogTiles.").promise();
1313
1208
  }
1314
1209
 
1315
- if (oCatalog.contentProviderId && this._mContentProviders[oCatalog.contentProviderId]) {
1316
- // This is an extension catalog from an extension site provided by a ContentProvider plugin.
1317
- // See "sap-ushell-plugin-type": "ContentProvider"
1318
-
1319
- this._mContentProviders[oCatalog.contentProviderId].sitePromise.then(function (oSite) {
1320
- getCatalogTilesFromSite.call(that, oCatalog, oSite)
1321
- .done(oDeferred.resolve)
1322
- .fail(oDeferred.reject);
1323
- }, function (sErrorMessage2) {
1324
- oDeferred.reject("Failed to get site: " + sErrorMessage2);
1325
- });
1326
- } else {
1327
- this.oCDMService.getSite()
1328
- .done(function (oSite) {
1329
- getCatalogTilesFromSite.call(that, oCatalog, oSite)
1330
- .done(oDeferred.resolve)
1331
- .fail(oDeferred.reject);
1332
- })
1333
- .fail(function (sErrorMessage2) {
1334
- oDeferred.reject("Failed to get site: " + sErrorMessage2);
1335
- });
1336
- }
1210
+ this.oCDMService.getSite()
1211
+ .done(function (oSite) {
1212
+ getCatalogTilesFromSite.call(that, oCatalog, oSite)
1213
+ .done(oDeferred.resolve)
1214
+ .fail(oDeferred.reject);
1215
+ })
1216
+ .fail(function (sErrorMessage2) {
1217
+ oDeferred.reject("Failed to get site: " + sErrorMessage2);
1218
+ });
1337
1219
 
1338
1220
  return oDeferred.promise();
1339
1221
  };
@@ -3,7 +3,7 @@
3
3
  * @fileOverview The Unified Shell's LaunchPageAdapter for the
4
4
  * 'CDM' platform - Version 3 (V3)
5
5
  *
6
- * @version 1.111.0
6
+ * @version 1.112.0
7
7
  */
8
8
  sap.ui.define([
9
9
  "sap/ushell/adapters/cdm/v3/AdapterBase",
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * @fileOverview Helper for accessing application data for the 'CDM' platform.
5
5
  *
6
- * @version 1.111.0
6
+ * @version 1.112.0
7
7
  * @private
8
8
  */
9
9
  sap.ui.define([
@@ -2,7 +2,7 @@
2
2
  /**
3
3
  * @fileOverview Helper for accessing catalog data for the 'CDM' platform.
4
4
  *
5
- * @version 1.111.0
5
+ * @version 1.112.0
6
6
  * @private
7
7
  */
8
8
  sap.ui.define( [
@@ -2,7 +2,7 @@
2
2
  /**
3
3
  * @fileOverview Helper for accessing Home Page data for the 'CDM' platform.
4
4
  *
5
- * @version 1.111.0
5
+ * @version 1.112.0
6
6
  * @private
7
7
  */
8
8
  sap.ui.define([
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * @fileOverview Helper for accessing pages data for the 'CDM' platform.
5
5
  *
6
- * @version 1.111.0
6
+ * @version 1.112.0
7
7
  * @private
8
8
  */
9
9
  sap.ui.define([
@@ -2,7 +2,7 @@
2
2
  /**
3
3
  * @fileOverview Helper for accessing the read utils for the 'CDM' platform.
4
4
  *
5
- * @version 1.111.0
5
+ * @version 1.112.0
6
6
  * @private
7
7
  */
8
8
  sap.ui.define([
@@ -171,6 +171,7 @@ sap.ui.define([
171
171
  info: oVizData.info,
172
172
  target: oVizData.target,
173
173
  indicatorDataSource: oVizData.indicatorDataSource,
174
+ dataSource: oVizData.dataSource,
174
175
  contentProviderId: oVizData.contentProviderId,
175
176
  displayFormatHint: oVizData.displayFormatHint,
176
177
  numberUnit: oVizData.numberUnit
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * TODO: Simplify function names
6
6
  *
7
- * @version 1.111.0
7
+ * @version 1.112.0
8
8
  * @private
9
9
  */
10
10
  sap.ui.define([
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @fileoverview The NavTargetResolution adapter for SAP MyHome
5
- * @version 1.111.0
5
+ * @version 1.112.0
6
6
  */
7
7
 
8
8
  sap.ui.define([