@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
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @file WorkPageRuntime controller for WorkPageRuntime view
5
- * @version 1.111.1
5
+ * @version 1.112.1
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/base/Log",
@@ -11,9 +11,7 @@ sap.ui.define([
11
11
  "sap/base/util/deepExtend",
12
12
  "sap/ushell/EventHub",
13
13
  "sap/ushell/components/pages/controller/PagesAndSpaceId",
14
- "sap/ushell/resources",
15
- "sap/ushell/Config",
16
- "sap/base/util/ObjectPath"
14
+ "sap/ushell/Config"
17
15
  ], function (
18
16
  Log,
19
17
  Controller,
@@ -21,9 +19,7 @@ sap.ui.define([
21
19
  deepExtend,
22
20
  EventHub,
23
21
  PagesAndSpaceId,
24
- resources,
25
- Config,
26
- ObjectPath
22
+ Config
27
23
  ) {
28
24
  "use strict";
29
25
 
@@ -62,15 +58,8 @@ sap.ui.define([
62
58
  .then(function (sPageId) {
63
59
  this._sPageId = sPageId;
64
60
  this._sSiteId = oUrlParams.get("siteId") || Config.last("/core/site/siteId");
65
- this._bWorkPageIsDirty = false;
66
61
 
67
- var oAttachEventPromise = this._oWorkPageBuilderComponentCreatedPromise.then(function (oComponent) {
68
- oComponent.attachEvent("workPageEdited", this._onWorkPageChanged.bind(this, true));
69
- oComponent.attachEvent("visualizationFilterApplied", this._loadFilteredVisualizations.bind(this));
70
- oComponent.attachEvent("closeEditMode", this._closeEditMode.bind(this));
71
- }.bind(this));
72
-
73
- var oWorkPageLoadPromise = this._onWorkPageLoad()
62
+ return this._onWorkPageLoad()
74
63
  .finally(function () {
75
64
  // Required to load the core-ext bundles to enable menubar, usersettings, search, ...
76
65
  EventHub.emit("CenterViewPointContentRendered");
@@ -81,45 +70,10 @@ sap.ui.define([
81
70
  this.oContainerRouter.getRoute("openFLPPage").attachMatched(this.onRouteMatched.bind(this, false));
82
71
  }
83
72
  }.bind(this));
84
-
85
- return Promise.all([
86
- oAttachEventPromise,
87
- oWorkPageLoadPromise
88
- ]);
89
73
  }.bind(this))
90
74
  .catch(this._handleErrors.bind(this));
91
75
  },
92
76
 
93
- /**
94
- * On first rendering of the page
95
- * @param {boolean} bEditable Flag if the WorkPage is allowed to be edited.
96
- * @return {Promise} Promise Resolves if operation is successful
97
- * @private
98
- *
99
- */
100
- _handleEditModeButton: function (bEditable) {
101
- var bPageIsEditable = bEditable; // Editable property comes from server
102
- var bIsAdminUser = sap.ushell.Container.getUser().isAdminUser(); // The flag comes from the server, too.
103
- if (bPageIsEditable && bIsAdminUser) {
104
- return this._createEditModeButton(
105
- this._createEditButtonControlProperties()
106
- );
107
- }
108
- this._hideEditModeButton();
109
- return Promise.resolve();
110
- },
111
-
112
- /**
113
- * Called when the user has changed the work page during editing or the dirty state is cleared.
114
- * @param {boolean} bChanged If the page was changed after last save
115
- * @private
116
- *
117
- */
118
- _onWorkPageChanged: function (bChanged) {
119
- this._bWorkPageIsDirty = !!bChanged;
120
- sap.ushell.Container.setDirtyFlag(!!bChanged);
121
- },
122
-
123
77
  /**
124
78
  * Navigates to the WorkPage page in the NavContainer.
125
79
  *
@@ -129,232 +83,22 @@ sap.ui.define([
129
83
  this.oWorkPageNavContainer.to(this.byId("workPage"));
130
84
  },
131
85
 
132
- /**
133
- * Create control properties for edit button
134
- * @returns {Object} control properties for the edit button
135
- * @private
136
- */
137
- _createEditButtonControlProperties: function () {
138
- var sButtonText = resources.i18n.getText("WorkpageRuntime.EditMode.Activate");
139
- Log.debug("cep/editMode: create Edit Button", "Workpage runtime");
140
- return {
141
- id: "EditModeBtn",
142
- text: sButtonText,
143
- icon: "sap-icon://edit",
144
- press: [this.pressEditModeButton, this]
145
- };
146
- },
147
-
148
- /**
149
- * Creates the edit button or sets visibility to true if it exists
150
- * @param {Object} oEditButtonObjectData UI data for edit button
151
- * @return {Promise} Promise Resolves if operation is successful
152
- * @private
153
- *
154
- */
155
- _createEditModeButton: function (oEditButtonObjectData) {
156
- var oAddEditButtonParameters = {
157
- controlType: "sap.ushell.ui.launchpad.ActionItem",
158
- oControlProperties: oEditButtonObjectData,
159
- bIsVisible: true,
160
- aStates: ["home"]
161
- };
162
- this._showEditModeButton();
163
- return sap.ushell.Container
164
- .getRenderer("fiori2")
165
- .addUserAction(oAddEditButtonParameters)
166
- .then(function (oEditButton) {
167
- // if xRay is enabled
168
- if (Config.last("/core/extension/enableHelp")) {
169
- oEditButton.addStyleClass("help-id-EditModeBtn");// xRay help ID
170
- }
171
- });
172
- },
173
-
174
- /**
175
- * Sets the text ID for the edit button
176
- * @param {String} sTextId Text ID
177
- * @private
178
- */
179
- _setEditButtonText: function (sTextId) {
180
- if (sTextId) {
181
- var oEditModeButton = sap.ui.getCore().byId("EditModeBtn");
182
- if (oEditModeButton) {
183
- var sEditModeText = resources.i18n.getText(sTextId);
184
- oEditModeButton.setText(sEditModeText);
185
- oEditModeButton.setTooltip(sEditModeText);
186
- }
187
- }
188
- },
189
-
190
- /**
191
- * Toggles the edit mode via the user menu
192
- * Toggles the text of the edit menu entry
193
- * @private
194
- */
195
- pressEditModeButton: function () {
196
- // If edit mode and there are changes
197
- if (this._oWorkPageBuilderComponent.getEditMode()) {
198
- if (this._bWorkPageIsDirty) {
199
- this._saveChanges(); // Save and exit
200
- } else {
201
- this._toggleEditMode(false); // No changes, exit directly
202
- }
203
- } else {
204
- this._toggleEditMode(true); // Activate editing mode
205
- }
206
- },
207
-
208
- /**
209
- * Toggles the edit mode according to the given bEditMode argument.
210
- *
211
- * @param {boolean} bEditMode Boolean indicating if editMode should be entered or left.
212
- * @private
213
- */
214
- _toggleEditMode: function (bEditMode) {
215
- EventHub.emit("enableMenuBarNavigation", !bEditMode);
216
- Log.debug("cep/editMode: toggle edit mode", " Work Page runtime");
217
- this._oWorkPageBuilderComponent.setEditMode(bEditMode);
218
- this._setEditButtonText(
219
- bEditMode ? "PageRuntime.EditMode.Exit" : "WorkpageRuntime.EditMode.Activate"
220
- );
221
- // Clear the dirty flag when start or done with editing.
222
- this._onWorkPageChanged(false);
223
- },
224
-
225
- /**
226
- * Cancel any changes when the user pressed Cancel in Editing Mode and close editing.
227
- *
228
- * @private
229
- */
230
- _cancelChanges: function () {
231
- this._toggleEditMode(false);
232
- this._oWorkPageBuilderComponent.setPageData(deepExtend({}, this._oOriginalData));
233
- },
234
-
235
- /**
236
- * Save changes when the user pressed Save in Editing Mode and close editing.
237
- * @return {Promise} A promise resolving when the WorkPage has been updated.
238
- * @private
239
- */
240
- _saveChanges: function () {
241
- var oView = this.getView();
242
- oView.setBusy(true);
243
- return this._updateWorkPage()
244
- .then(function (oData) {
245
- // Show message and update workpage builder.
246
- sap.ui.require(["sap/m/MessageToast"], function (MessageToast) {
247
- MessageToast.show(resources.i18n.getText("savedChanges"), { duration: 4000 });
248
- });
249
- this._toggleEditMode(false);
250
- this._oOriginalData = deepExtend({}, oData);
251
- this._oWorkPageBuilderComponent.setPageData(oData);
252
- }.bind(this))
253
- .catch(function (oError) {
254
- // Show error message
255
- var sErrorMsg = oError.responseText || oError;
256
- sap.ui.require(["sap/m/MessageBox"], function (MessageBox) {
257
- MessageBox.error(sErrorMsg, {
258
- title: oError.statusText
259
- });
260
- });
261
- })
262
- .finally(function () {
263
- oView.setBusy(false);
264
- });
265
- },
266
-
267
- /**
268
- * Closes the edit mode.
269
- *
270
- * @param {sap.base.Event} oEvent Event indicating if the changes have to be saved.
271
- * @private
272
- */
273
- _closeEditMode: function (oEvent) {
274
- (oEvent.getParameter("saveChanges") ? this._saveChanges : this._cancelChanges).bind(this)();
275
- },
276
-
277
86
  /**
278
87
  * @param {sap.base.Event} oEvent The "onWorkPageBuilderCreated" event.
279
88
  */
280
89
  onWorkPageBuilderCreated: function (oEvent) {
281
90
  this._oWorkPageBuilderComponent = oEvent.getParameter("component");
282
- this._oWorkPageBuilderComponent.setShowFooter(true);
283
91
  this._oWorkPageBuilderComponentResolve(this._oWorkPageBuilderComponent);
284
92
  },
285
93
 
286
- /**
287
- * Loads the available visualizations. If the "Type" filter is present, apply the given filter value.
288
- *
289
- * @param {sap.ui.base.Event} oEvent The "visualizationFilterApplied" event.
290
- * @return {Promise} A promise resolving when the resulting visualizations have been set to the WorkPageBuilder
291
- * @private
292
- */
293
- _loadFilteredVisualizations: function (oEvent) {
294
- var aFilters = oEvent.getParameter("filters") || [];
295
- var oTypeFilter;
296
- var aTypeFilterValues = [];
297
-
298
- if (aFilters.length > 0) {
299
- oTypeFilter = aFilters.find(function (oFilter) { return oFilter.filterKey === "Type"; });
300
- if (oTypeFilter && oTypeFilter.filterValue && oTypeFilter.filterValue.length > 0) {
301
- aTypeFilterValues = oTypeFilter.filterValue;
302
- }
303
- }
304
-
305
- return this.oWorkPageService.loadFilteredVisualizations("", aTypeFilterValues).then(function (oVizNodes) {
306
- this._oWorkPageBuilderComponent.setVisualizationData(oVizNodes);
307
- }.bind(this));
308
- },
309
-
310
- /**
311
- * Saves the WorkPage on the backend after editing.
312
- * @return {Promise<{ WorkPage: {UsedVisualizations: { nodes: object[] }, Editable: boolean}}>} Promise resolving with the updated data.
313
- * @private
314
- */
315
- _updateWorkPage: function () {
316
- var oPageData = this._oWorkPageBuilderComponent.getPageData();
317
- var oWorkPageDataCopy = deepExtend({ Id: this._sPageId }, oPageData);
318
- return this.oWorkPageService.updateWorkPage(this._sPageId, ObjectPath.get("WorkPage.Contents", oWorkPageDataCopy));
319
- },
320
-
321
- /**
322
- * Hides the edit mode button
323
- *
324
- * @private
325
- * @since 1.107.0
326
- */
327
- _hideEditModeButton: function () {
328
- var oEditModeButton = sap.ui.getCore().byId("EditModeBtn");
329
- Log.debug("cep/editMode: hide Edit Mode button", "Work Page runtime");
330
- if (oEditModeButton) {
331
- oEditModeButton.setVisible(false);
332
- }
333
- },
334
- /**
335
- * Shows the edit mode button.
336
- *
337
- * @private
338
- * @since 1.107.0
339
- */
340
- _showEditModeButton: function () {
341
- var oEditModeButton = sap.ui.getCore().byId("EditModeBtn");
342
- Log.debug("cep/editMode: show Edit Mode button", "Work Page runtime");
343
- if (oEditModeButton) {
344
- oEditModeButton.setVisible(true);
345
- }
346
- },
347
-
348
94
  /**
349
95
  * Handles errors.
350
- * Hides the edit button.
351
96
  * Navigates to the error page.
352
97
  *
353
98
  * @param {object|string} vError An error object or string.
354
99
  * @private
355
100
  */
356
101
  _handleErrors: function (vError) {
357
- this._hideEditModeButton();
358
102
  Log.error("An error occurred while loading the page", vError);
359
103
  Log.debug("cep/editMode: on Route matched: Handle errors", "Work Page runtime");
360
104
  this.oWorkPageNavContainer.to(this.byId("errorPage"));
@@ -403,7 +147,6 @@ sap.ui.define([
403
147
  oComponent.setPageData(oData);
404
148
 
405
149
  this._navigate();
406
- return this._handleEditModeButton(oData.WorkPage.Editable);
407
150
  }.bind(this));
408
151
  },
409
152
 
@@ -427,7 +170,6 @@ sap.ui.define([
427
170
  */
428
171
  hideRuntime: function () {
429
172
  Log.debug("cep/editMode: navigate to empty page", "Page runtime");
430
- this._hideEditModeButton();
431
173
  this.oWorkPageNavContainer.to(this.oEmptyPage);
432
174
  }
433
175
  });
@@ -3,7 +3,7 @@
3
3
  "sap.app": {
4
4
  "id": "sap.ushell.components.workPageRuntime",
5
5
  "applicationVersion": {
6
- "version": "1.111.1"
6
+ "version": "1.112.1"
7
7
  },
8
8
  "ach": "CA-FLP-FE-UI",
9
9
  "type": "component",
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @fileOverview This module resolves the given inbounds via the navigation service.
5
- * @version 1.111.1
5
+ * @version 1.112.1
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/base/util/ObjectPath",
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @fileOverview This module communicates with the content API graphql service to retrieve and save workpage and visualization data.
5
- * @version 1.111.1
5
+ * @version 1.112.1
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/ui/core/Core",
@@ -103,175 +103,6 @@ sap.ui.define([
103
103
  });
104
104
  };
105
105
 
106
- /**
107
- * Save the WorkPage data for the given page Id.
108
- * @param {string} sPageId The page id.
109
- * @param {object} oPageData Data object with page data.
110
- * @return {Promise<{ WorkPage: {UsedVisualizations: { nodes: object[] }, Editable: boolean}}>} A promise resolving with the returned work page and visualizations.
111
- */
112
- WorkPage.prototype.updateWorkPage = function (sPageId, oPageData) {
113
-
114
- // Workaround until the service is updated to correctly accept the DescriptorSchemaId field
115
- function _findDescriptorSchemaVersion (obj) {
116
- for (var i in obj) {
117
- if (obj[i] !== null && typeof obj[i] === "object") {
118
- if (obj.DescriptorSchemaVersion) {
119
- return obj.DescriptorSchemaVersion; // we believe it is always the same
120
- }
121
- return _findDescriptorSchemaVersion(obj[i]); // traverse recursively
122
- }
123
- }
124
- return "";
125
- }
126
- var sDescriptorSchemaVersion = _findDescriptorSchemaVersion(oPageData);
127
- function _fixPageData (obj, bCheckDescriptor) {
128
- if (obj && obj.DescriptorSchemaId) {
129
- delete obj.DescriptorSchemaId; // the DescriptorSchemaId field is not accepted by the server
130
- }
131
- for (var i in obj) {
132
- if (obj[i] !== null && typeof obj[i] === "object") {
133
- _fixPageData(obj[i], !isNaN(i)); // traverse recursively, check descriptors for all array items
134
- }
135
- }
136
- if (obj && bCheckDescriptor) { // make sure the required fields are present
137
- obj.Descriptor = obj.Descriptor || {};
138
- obj.DescriptorSchemaVersion = obj.DescriptorSchemaVersion || sDescriptorSchemaVersion;
139
- }
140
- }
141
-
142
- // Workaround because the backend does not return an empty Cells array when querying the page, but expects one when saving the page.
143
- function _fixEmptyColumns (obj) {
144
- if (obj.Rows) {
145
- obj.Rows.forEach(function (oRow) {
146
- if (oRow.Columns) {
147
- oRow.Columns.forEach(function (oCol) {
148
- if (!oCol.Cells) {
149
- oCol.Cells = [];
150
- }
151
- });
152
- }
153
- });
154
- }
155
- }
156
- _fixPageData(oPageData, true);
157
- _fixEmptyColumns(oPageData);
158
- // End of workarounds
159
-
160
- var sQuery = "mutation updateWorkPage($WorkPageId: String!, $Contents: JSON) {" +
161
- "updateWorkPage(WorkPageId: $WorkPageId, Contents: $Contents ) {" +
162
- // return Id and new Contents
163
- "Id," +
164
- "Contents," +
165
- "Editable," +
166
- "UsedVisualizations{" +
167
- "nodes{" +
168
- "Id," +
169
- "Type," +
170
- "Descriptor," +
171
- "DescriptorResources{" +
172
- "BaseUrl," +
173
- "DescriptorPath" +
174
- "}" +
175
- "}" +
176
- "}" +
177
- "}" +
178
- "}";
179
- var oRequestData = {
180
- query: sQuery,
181
- variables: {
182
- WorkPageId: sPageId,
183
- Contents: oPageData
184
- }
185
- };
186
-
187
- return this.httpClient.post(this._sBaseUrl, {
188
- data: oRequestData,
189
- headers: {
190
- "Content-Type": "application/json",
191
- Accept: "application/json",
192
- "Accept-Language": Core.getConfiguration().getLanguageTag()
193
- }
194
- }).then(function (oResponse) {
195
- if (oResponse.status < 200 || oResponse.status >= 300) {
196
- return Promise.reject({
197
- statusText: "HTTP request failed with status: " + oResponse.status,
198
- responseText: oResponse.statusText
199
- });
200
- }
201
- var oResponseData = {};
202
- try {
203
- oResponseData = JSON.parse(oResponse.responseText || "{}");
204
- } catch (error) {
205
- return Promise.reject({
206
- statusText: undefined,
207
- responseText: oResponse.responseText
208
- });
209
- }
210
- var sTitle;
211
- var sErrorMsg;
212
- if (oResponseData.errors) {
213
- // Try to format the graphql error response to a more readable state
214
- try {
215
- var aErr = oResponseData.errors[0].split("[");
216
- sTitle = aErr[0];
217
- var aErrors = JSON.parse("[" + aErr[1]);
218
- sErrorMsg = JSON.stringify(aErrors, null, " ");
219
- } catch (error) {
220
- sTitle = null;
221
- sErrorMsg = oResponseData.errors;
222
- }
223
- return Promise.reject({
224
- statusText: sTitle,
225
- responseText: sErrorMsg
226
- });
227
- }
228
- return oResponseData;
229
- }).then(function (oReturnedPageData) {
230
- var oWorkPageData = ObjectPath.get("data.updateWorkPage.Contents", oReturnedPageData);
231
- var aVizData = ObjectPath.get("data.updateWorkPage.UsedVisualizations.nodes", oReturnedPageData) || [];
232
- var bEditable = ObjectPath.get("data.updateWorkPage.Editable", oReturnedPageData) === true;
233
- return {
234
- WorkPage: {
235
- Contents: oWorkPageData,
236
- UsedVisualizations: { nodes: aVizData },
237
- Editable: bEditable
238
- }
239
- };
240
- });
241
- };
242
-
243
- /**
244
- * Load the visualizations for the given type in the given siteId.
245
- * @param {string} sSiteId The site id.
246
- * @param {string[]} aTypes The viz Types.
247
- * @return {Promise<{Visualizations: {nodes: object[]}}>} Promise that resolves with an object containing the array of visualizations.
248
- */
249
-
250
- WorkPage.prototype.loadFilteredVisualizations = function (sSiteId, aTypes) {
251
- var sTypes = aTypes.map(function (sType) { return "\"" + sType + "\""; }).join(",");
252
- var sQuery = "{" +
253
- "Visualizations(" +
254
- "SiteId:\"" + sSiteId + "\"," +
255
- "QueryInput:{filter:{Type:{in:[" + sTypes + "]}}}" +
256
- ") {" +
257
- "nodes{" +
258
- "Id," +
259
- "Type," +
260
- "Descriptor," +
261
- "DescriptorResources{" +
262
- "BaseUrl," +
263
- "DescriptorPath" +
264
- "}" +
265
- "}" +
266
- "}" +
267
- "}";
268
-
269
- return this._doRequest(sQuery).then(function (oResult) {
270
- var aVizData = ObjectPath.get("data.Visualizations.nodes", oResult) || [];
271
- return { Visualizations: { nodes: aVizData } };
272
- });
273
- };
274
-
275
106
  /**
276
107
  * Do the XHR request with the given query.
277
108
  *
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @fileOverview Provides the Design Time Metadata for the sap.ushell.components.container.ApplicationContainer control
5
- * @version 1.111.1
5
+ * @version 1.112.1
6
6
  */
7
7
  sap.ui.define([], function () {
8
8
  "use strict";
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  */
20
20
  var oUshellLibrary = Core.initLibrary({
21
21
  name: "sap.ushell",
22
- version: "1.111.1",
22
+ version: "1.112.1",
23
23
  dependencies: [
24
24
  "sap.ui.core",
25
25
  "sap.m"
@@ -79,8 +79,6 @@ sap.ui.define([
79
79
  "sap.ushell.ui.footerbar.JamShareButton",
80
80
  "sap.ushell.ui.footerbar.LogoutButton",
81
81
  "sap.ushell.ui.footerbar.SendAsEmailButton",
82
- "sap.ushell.ui.footerbar.SettingsButton",
83
- "sap.ushell.ui.footerbar.UserPreferencesButton",
84
82
  "sap.ushell.ui.launchpad.ActionItem",
85
83
  "sap.ushell.ui.launchpad.AnchorItem",
86
84
  "sap.ushell.ui.launchpad.AnchorNavigationBar",
@@ -11,7 +11,7 @@
11
11
  * Method Compute is used by ClientSide TargetResolution and takes not only the
12
12
  * next application but also the current application into account.
13
13
  *
14
- * @version 1.111.1
14
+ * @version 1.112.1
15
15
  */
16
16
  sap.ui.define([
17
17
  "sap/base/Log",
@@ -3,7 +3,7 @@
3
3
  * @fileOverview Provides analytical data like duration for navigation steps in the shell, in FLP,
4
4
  * in particular an array of all statistical records
5
5
  *
6
- * @version 1.111.1
6
+ * @version 1.112.1
7
7
  */
8
8
  sap.ui.define([
9
9
  "sap/ushell/EventHub",
@@ -3,7 +3,7 @@
3
3
  * @fileOverview Class for statistical record
4
4
  * It should contain data like step, duration after a navigation in the shell, can have status open.
5
5
  * The closing of a record is logged in debug mode
6
- * @version 1.111.1
6
+ * @version 1.112.1
7
7
  */
8
8
  sap.ui.define([
9
9
  "sap/base/Log",
@@ -87,7 +87,7 @@ sap.ui.define(
87
87
  var sComponentName = "sap.ushell.plugins.appwarmup.Component";
88
88
  return Component.extend(sComponentName, {
89
89
  metadata: {
90
- version: "1.111.1",
90
+ version: "1.112.1",
91
91
  library: "sap.ushell"
92
92
  },
93
93
 
@@ -585,7 +585,9 @@ sap.ui.define([
585
585
 
586
586
  for (; oElement !== document.body; oElement = oElement.parentNode) {
587
587
  oClassList = oElement.classList;
588
- if (oClassList.contains("sapUiCompSmartTable") || oClassList.contains("sapUiMdcTable")) {
588
+ if (oClassList.contains("sapUiCompSmartTable")
589
+ || oClassList.contains("sapUiMdcTable")
590
+ || oClassList.contains("sapMListTbl")) {
589
591
  return true;
590
592
  }
591
593
  }
@@ -75,9 +75,9 @@ sap.ui.define([
75
75
  */
76
76
  var Renderer = UIComponent.extend("sap.ushell.renderers.fiori2.Renderer", {
77
77
  metadata: {
78
- version: "1.111.1",
78
+ version: "1.112.1",
79
79
  dependencies: {
80
- version: "1.111.1",
80
+ version: "1.112.1",
81
81
  libs: ["sap.ui.core", "sap.m"],
82
82
  components: []
83
83
  },
@@ -655,7 +655,8 @@ sap.ui.define([
655
655
  parts: ["allMyAppsModel>type", "/allMyAppsMasterLevel"],
656
656
  formatter: this.formatListItemType
657
657
  },
658
- title: "{allMyAppsModel>title}"
658
+ title: "{allMyAppsModel>title}",
659
+ wrapping: true // Accessibility: the whole text must be visible
659
660
  });
660
661
  }
661
662
  return this.oTemplate;