@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,13 +2,12 @@
2
2
 
3
3
  /**
4
4
  * @fileOverview resolves references
5
- * @version 1.111.1
5
+ * @version 1.112.1
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/base/Log",
9
9
  "sap/base/util/deepExtend",
10
10
  "sap/base/util/isEmptyObject",
11
- "sap/m/DynamicDateUtil",
12
11
  "sap/ui/core/CalendarType",
13
12
  "sap/ui/core/Configuration",
14
13
  "sap/ui/core/format/DateFormat",
@@ -20,7 +19,6 @@ sap.ui.define([
20
19
  Log,
21
20
  deepExtend,
22
21
  isEmptyObject,
23
- DynamicDateUtil,
24
22
  CalendarType,
25
23
  Configuration,
26
24
  DateFormat,
@@ -578,6 +576,27 @@ sap.ui.define([
578
576
  return oDeferred.promise();
579
577
  };
580
578
 
579
+ /**
580
+ * Loads the Dynamic Date Range und its prerequisite, the unified library.
581
+ * @returns {Promise} Promise that resolves with the Dynamic Date Range.
582
+ */
583
+ this._loadDynamicDateRange = function () {
584
+ return sap.ui.getCore()
585
+ .loadLibrary("sap/ui/unified", {async: true})
586
+ .then(function () {
587
+ return new Promise(function (fnResolve) {
588
+ sap.ui.require(["sap/m/DynamicDateRange"], function (oDynamicDateRange) {
589
+ fnResolve(oDynamicDateRange);
590
+ });
591
+ });
592
+ });
593
+ };
594
+
595
+ /*
596
+ * The regex to identify semantic date range placeholders.
597
+ */
598
+ this._rSemanticDateRangeRegex = /^DynamicDate\..+/;
599
+
581
600
  /**
582
601
  * Resolves semantic date range parameters within the given URL.
583
602
  *
@@ -599,57 +618,77 @@ sap.ui.define([
599
618
  * <position>: Marks the start or end of a date range.
600
619
  *
601
620
  * @param {string} sUrl
602
- * URL containing semantic date range parameters like YESTERDAY or THISYEAR
603
- * @param {boolean} [bODataV4=false]
604
- * Format values according to ODataV4 if this flag is set to true
605
- * @returns {object}
606
- * An object containing the URL with the resolved semantic date ranges, semantic date ranges for which
607
- * no value could be determined and ignored references that are no semantic date ranges.
608
- * <pre>
609
- * {
610
- * url: "/some/url/$count?$filter=(PostingDate eq '20221204')", // url with resolved semantic date ranges
611
- * invalidSemanticDates: ["DynamicDate.UNKNOWN"], // semantic date range with invalid definition
612
- * ignoredReferences: ["abc"] // references which are not semantic date ranges
613
- * }
614
- * </pre>
621
+ * URL containing semantic date range parameters like YESTERDAY or THISYEAR
622
+ * @param {string} sODataVersion
623
+ * The services's OData version. Used to format values according to the specified version.
624
+ * Only relevant if Semantic Date Ranges are actually found in the URL.
625
+ * Valid values are "2.0" and "4.0".
626
+ * @returns {Promise<object>}
627
+ * The returned object has the following properties:
628
+ * <ul>
629
+ * <li> url: The URL with the resolved semantic date ranges or the original URL if it didn't contain any semantic date ranges
630
+ * <li> hasSemanticDateRanges: The info if semantic date ranges were found at all
631
+ * <li> invalidSemanticDateRanges: Semantic date ranges that are specified incorrectly
632
+ * <li> ignoredReferences: References that are no semantic date ranges
633
+ * <ul>
634
+ *
635
+ * Example:
636
+ * <pre>
637
+ * {
638
+ * url: "/some/url/$count?$filter=(PostingDate eq '20221204')", // url with resolved semantic date ranges
639
+ * hasSemanticDateRanges: true, // the URL contains semantic date ranges
640
+ * invalidSemanticDates: ["DynamicDate.UNKNOWN"], // semantic date range with invalid definition
641
+ * ignoredReferences: ["abc"] // references which are not semantic date ranges
642
+ * }
643
+ * </pre>
615
644
  *
616
645
  * @private
617
646
  * @since 1.110.0
618
647
  */
619
- this.resolveSemanticDateRanges = function (sUrl, bODataV4) {
620
- var oPlaceholders = this._extractUrlPlaceholders(sUrl, /^DynamicDate\..+/);
648
+ this.resolveSemanticDateRanges = function (sUrl, sODataVersion) {
649
+ var oPlaceholders = this._extractUrlPlaceholders(sUrl, this._rSemanticDateRangeRegex);
621
650
  var aSemanticDateRangeReferences = oPlaceholders.extractedReferences;
622
651
  var aIgnoredReferences = oPlaceholders.ignoredReferences;
623
652
 
624
653
  if (aSemanticDateRangeReferences.length === 0) {
625
- return {
654
+ return Promise.resolve({
626
655
  url: sUrl,
627
- semanticDatesWithoutValue: [],
656
+ hasSemanticDateRanges: false,
657
+ invalidSemanticDates: [],
628
658
  ignoredReferences: aIgnoredReferences
629
- };
659
+ });
630
660
  }
631
661
 
632
- var aSemanticDateRanges = this._resolveSemanticDateRanges(aSemanticDateRangeReferences, bODataV4);
633
- var oReplacementResult = this._replaceUrlPlaceholders(sUrl, aSemanticDateRanges, bODataV4);
634
-
635
- if (Log.getLevel() >= Log.Level.DEBUG) {
636
- var aResolvedSemanticDateRanges = aSemanticDateRanges.filter(function (oElement) {
637
- return "value" in oElement;
638
- });
639
- Log.debug(
640
- "Resolving semantic date ranges \n" +
641
- "- URL: " + sUrl + "\n" +
642
- "- ignoring references: " + JSON.stringify(aIgnoredReferences, null, 4) + "\n" +
643
- "- resolved semantic date ranges: " + JSON.stringify(aResolvedSemanticDateRanges, null, 4) + "\n" +
644
- "- invalid semantic date ranges:" + JSON.stringify(oReplacementResult.placeholdersWithoutValue, null, 4) + "\n" +
645
- "- final URL: " + oReplacementResult.resolvedUrl, null, sModuleName);
662
+ var aValidODataVersions = ["2.0", "4.0"];
663
+ if (!sODataVersion || !aValidODataVersions.includes(sODataVersion)) {
664
+ return Promise.reject("Invalid OData version: " + sODataVersion);
646
665
  }
666
+ var bODataV4 = sODataVersion === "4.0";
647
667
 
648
- return {
649
- url: oReplacementResult.resolvedUrl,
650
- invalidSemanticDates: oReplacementResult.placeholdersWithoutValue,
651
- ignoredReferences: aIgnoredReferences
652
- };
668
+ return this._resolveSemanticDateRanges(aSemanticDateRangeReferences, bODataV4)
669
+ .then(function (aSemanticDateRanges) {
670
+ var oReplacementResult = this._replaceUrlPlaceholders(sUrl, aSemanticDateRanges, bODataV4);
671
+
672
+ if (Log.getLevel() >= Log.Level.DEBUG) {
673
+ var aResolvedSemanticDateRanges = aSemanticDateRanges.filter(function (oElement) {
674
+ return "value" in oElement;
675
+ });
676
+ Log.debug(
677
+ "Resolving semantic date ranges \n" +
678
+ "- URL: " + sUrl + "\n" +
679
+ "- ignoring references: " + JSON.stringify(aIgnoredReferences, null, 4) + "\n" +
680
+ "- resolved semantic date ranges: " + JSON.stringify(aResolvedSemanticDateRanges, null, 4) + "\n" +
681
+ "- invalid semantic date ranges:" + JSON.stringify(oReplacementResult.placeholdersWithoutValue, null, 4) + "\n" +
682
+ "- final URL: " + oReplacementResult.resolvedUrl, null, sModuleName);
683
+ }
684
+
685
+ return {
686
+ url: oReplacementResult.resolvedUrl,
687
+ hasSemanticDateRanges: aSemanticDateRangeReferences.length > 0,
688
+ invalidSemanticDates: oReplacementResult.placeholdersWithoutValue,
689
+ ignoredReferences: aIgnoredReferences
690
+ };
691
+ }.bind(this));
653
692
  };
654
693
 
655
694
  /**
@@ -659,102 +698,100 @@ sap.ui.define([
659
698
  * An array of semantic date ranges to resolve with name and EdmType
660
699
  * @param {boolean} [bODataV4=false]
661
700
  * Format values according to ODataV4 if this flag is set to true
662
- * @returns {array}
663
- * An array containing the resolved semantic date ranges
701
+ * @returns {Promise<Array>} A promise that resolves with an array containing the resolved semantic date ranges
664
702
  * @private
665
703
  * @since 1.110.0
666
704
  */
667
705
  this._resolveSemanticDateRanges = function (aSemanticDateRanges, bODataV4) {
668
- if (aSemanticDateRanges.length <= 0) {
669
- return [];
670
- }
671
-
672
706
  var oDateTimeFormatters = this._getDateTimeFormatters();
673
707
 
674
- return aSemanticDateRanges.map(function (oSemanticDate) {
675
- var oResult = {
676
- name: oSemanticDate.name,
677
- edmType: oSemanticDate.edmType
678
- };
679
- var aSemanticDate = oSemanticDate.name.split(".");
680
-
681
- /* Analyze the semantic date. It can have 2 - 5 parts, depending on the operator
682
- and the usage in the OData request.
683
- Examples:
684
- DynamicDate.YESTERDAY
685
- DynamicDate.YESTERDAY.start
686
- DynamicDate.NEXTDAYS.5.start
687
- DynamicDate.TODAYFROMTO.1.5.start
688
- */
689
-
690
- var oDateValue = {
691
- operator: aSemanticDate[1],
692
- values: []
693
- };
694
- var sPosition;
695
-
696
- if (aSemanticDate.length === 3) {
697
- sPosition = aSemanticDate[2];
698
- } else if (aSemanticDate.length === 4) {
699
- oDateValue.values.push(aSemanticDate[2]);
700
- sPosition = aSemanticDate[3];
701
- } else if (aSemanticDate.length === 5) {
702
- oDateValue.values = aSemanticDate.slice(2, 4);
703
- sPosition = aSemanticDate[4];
704
- }
708
+ // must be required dynamically because of a dependency to sap.ui.unified
709
+ return this._loadDynamicDateRange()
710
+ .then(function (DynamicDateRange) {
711
+ return aSemanticDateRanges.map(function resolveSemanticDateRange (oSemanticDate) {
712
+ var oResult = {
713
+ name: oSemanticDate.name,
714
+ edmType: oSemanticDate.edmType
715
+ };
716
+ var aSemanticDate = oSemanticDate.name.split(".");
717
+
718
+ /* Analyze the semantic date. It can have 2 - 5 parts, depending on the operator
719
+ and the usage in the OData request.
720
+ Examples:
721
+ DynamicDate.YESTERDAY
722
+ DynamicDate.YESTERDAY.start
723
+ DynamicDate.NEXTDAYS.5.start
724
+ DynamicDate.TODAYFROMTO.1.5.start
725
+ */
726
+
727
+ var oDateValue = {
728
+ operator: aSemanticDate[1],
729
+ values: []
730
+ };
731
+ var sPosition;
732
+
733
+ if (aSemanticDate.length === 3) {
734
+ sPosition = aSemanticDate[2];
735
+ } else if (aSemanticDate.length === 4) {
736
+ oDateValue.values.push(aSemanticDate[2]);
737
+ sPosition = aSemanticDate[3];
738
+ } else if (aSemanticDate.length === 5) {
739
+ oDateValue.values = aSemanticDate.slice(2, 4);
740
+ sPosition = aSemanticDate[4];
741
+ }
705
742
 
706
- var aDynamicDate;
707
- try {
708
- aDynamicDate = DynamicDateUtil.toDates(oDateValue);
709
- } catch (error) {
710
- return oResult;
711
- }
743
+ var aDynamicDate;
744
+ try {
745
+ aDynamicDate = DynamicDateRange.toDates(oDateValue);
746
+ } catch (error) {
747
+ return oResult;
748
+ }
712
749
 
713
- if (aSemanticDate.length >= 3 && sPosition !== "start" && sPosition !== "end") {
714
- return oResult;
715
- }
750
+ if (aSemanticDate.length >= 3 && sPosition !== "start" && sPosition !== "end") {
751
+ return oResult;
752
+ }
716
753
 
717
- var oDate;
718
- if (sPosition === "end") {
719
- oDate = aDynamicDate[1];
720
- } else {
721
- oDate = aDynamicDate[0];
722
- }
723
- if (!oDate) {
724
- return oResult;
725
- }
726
- oDate = oDate.getJSDate();
727
-
728
- switch (oSemanticDate.edmType) {
729
- case "Edm.String":
730
- oResult.value = oDateTimeFormatters.string.format(oDate);
731
- break;
732
- case "Edm.Date":
733
- // This is an OData V4 only type
734
- // The OData V4 formatter doesn't do any formatting for date so it is done here
735
- oResult.value = oDateTimeFormatters.date.format(oDate);
736
- break;
737
- case "Edm.DateTime":
738
- // The OData formatter that is used later on converts the date object's UTC time to an OData string
739
- // Therefore set the UTC date to the local date
740
- oDate.setUTCFullYear(oDate.getFullYear(), oDate.getMonth(), oDate.getDate());
741
- oDate.setUTCHours(0, 0, 0, 0);
742
- oResult.value = oDate;
743
- break;
744
- case "Edm.DateTimeOffset":
745
- if (bODataV4) {
746
- // The OData V4 formatter doesn't do any formatting for datetimeoffset so it is done here
747
- oResult.value = oDateTimeFormatters.dateTimeOffsetV4.format(oDate, true);
748
- } else {
749
- // The OData formatter converts the date object's UTC time to an OData string
754
+ var oDate;
755
+ if (sPosition === "end") {
756
+ oDate = aDynamicDate[1];
757
+ } else {
758
+ oDate = aDynamicDate[0];
759
+ }
760
+ if (!oDate) {
761
+ return oResult;
762
+ }
763
+
764
+ switch (oSemanticDate.edmType) {
765
+ case "Edm.String":
766
+ oResult.value = oDateTimeFormatters.string.format(oDate);
767
+ break;
768
+ case "Edm.Date":
769
+ // This is an OData V4 only type
770
+ // The OData V4 formatter doesn't do any formatting for date so it is done here
771
+ oResult.value = oDateTimeFormatters.date.format(oDate);
772
+ break;
773
+ case "Edm.DateTime":
774
+ // The OData formatter that is used later on converts the date object's UTC time to an OData string
775
+ // Therefore set the UTC date to the local date
776
+ oDate.setUTCFullYear(oDate.getFullYear(), oDate.getMonth(), oDate.getDate());
777
+ oDate.setUTCHours(0, 0, 0, 0);
750
778
  oResult.value = oDate;
751
- }
752
- break;
753
- default:
754
- break;
755
- }
779
+ break;
780
+ case "Edm.DateTimeOffset":
781
+ if (bODataV4) {
782
+ // The OData V4 formatter doesn't do any formatting for datetimeoffset so it is done here
783
+ oResult.value = oDateTimeFormatters.dateTimeOffsetV4.format(oDate, true);
784
+ } else {
785
+ // The OData formatter converts the date object's UTC time to an OData string
786
+ oResult.value = oDate;
787
+ }
788
+ break;
789
+ default:
790
+ break;
791
+ }
756
792
 
757
- return oResult;
793
+ return oResult;
794
+ });
758
795
  });
759
796
  };
760
797
 
@@ -787,6 +824,22 @@ sap.ui.define([
787
824
  return this._oDateTimeFormatters;
788
825
  };
789
826
 
827
+ /**
828
+ * Checks if a URL contains semantic date range placeholders
829
+ *
830
+ * @param {string} sUrl
831
+ * A URL
832
+ * @returns {boolean}
833
+ * Returns true if the URL contains semantic date range placeholders
834
+ *
835
+ * @private
836
+ * @since 1.112.0
837
+ */
838
+ this.hasSemanticDateRanges = function (sUrl) {
839
+ var oPlaceholders = this._extractUrlPlaceholders(sUrl, this._rSemanticDateRangeRegex);
840
+ return oPlaceholders.extractedReferences.length > 0;
841
+ };
842
+
790
843
  }
791
844
 
792
845
  ReferenceResolver.hasNoAdapter = true;
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @fileOverview The Unified Shell's search service which provides Enterprise Search via SINA.
5
- * @version 1.111.1
5
+ * @version 1.112.1
6
6
  */
7
7
  sap.ui.define([], function () {
8
8
  "use strict";
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * @fileOverview The Unified Shell's Search for myHome.
5
5
  *
6
- * @version 1.111.1
6
+ * @version 1.112.1
7
7
  */
8
8
  sap.ui.define([], function () {
9
9
  "use strict";
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @fileOverview This module exposes the searchable content.
5
- * @version 1.111.1
5
+ * @version 1.112.1
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/ushell/Config",
@@ -409,13 +409,9 @@ sap.ui.define([
409
409
  * @private
410
410
  */
411
411
  ShellNavigationHashChanger.prototype.hrefForExternal = function (oArgs, bVerbose, oComponent, bAsync) {
412
- // result not encoded
413
- var vResultOrPromise = this.hrefForExternalNoEnc(oArgs, bVerbose, oComponent, bAsync);
414
-
415
- // must encode
416
-
417
- function encodeResult (vResult, bVerbose) {
418
- if (bVerbose === true) {
412
+ // must encode the result
413
+ function encodeResult (vResult, bIsVerbose) {
414
+ if (bIsVerbose === true) {
419
415
  vResult.hash = encodeURI(vResult.hash);
420
416
  } else {
421
417
  vResult = encodeURI(vResult);
@@ -423,19 +419,20 @@ sap.ui.define([
423
419
  return vResult;
424
420
  }
425
421
 
426
- if (!bAsync) {
427
- return encodeResult(vResultOrPromise, bVerbose);
428
- }
422
+ if (bAsync) {
423
+ var oDeferred = new jQuery.Deferred();
429
424
 
430
- // async case
431
- var oDeferred = new jQuery.Deferred();
432
- vResultOrPromise
433
- .then(function (vResult) {
434
- oDeferred.resolve(encodeResult(vResult, bVerbose));
435
- })
436
- .catch(oDeferred.reject.bind(oDeferred));
425
+ this.hrefForExternalNoEncAsync(oArgs, bVerbose, oComponent)
426
+ .then(function (vResult) {
427
+ oDeferred.resolve(encodeResult(vResult, bVerbose));
428
+ })
429
+ .catch(oDeferred.reject.bind(oDeferred));
430
+
431
+ return oDeferred;
432
+ }
437
433
 
438
- return oDeferred;
434
+ var vResult = this.hrefForExternalNoEnc(oArgs, bVerbose, oComponent);
435
+ return encodeResult(vResult, bVerbose);
439
436
  };
440
437
 
441
438
  /**
@@ -12,7 +12,7 @@
12
12
  * it is pertinent that the API user employs this service's version of <code>toExternal()</code> for cross application
13
13
  * navigation (instead) of using the one provided by CrossApplicationNavigation service.</p>
14
14
  *
15
- * @version 1.111.1
15
+ * @version 1.112.1
16
16
  */
17
17
  sap.ui.define([
18
18
  "sap/ui/thirdparty/jquery",
@@ -48,6 +48,7 @@ sap.ui.define([
48
48
  * @name sap.ushell.services.SmartNavigation
49
49
  * @constructor
50
50
  * @public
51
+ * @deprecated since 1.112. This service has been deprecated. Please use the CrossApplicationNavigation service instead.
51
52
  * @since 1.44.0
52
53
  */
53
54
  function SmartNavigation (oContainerInterface, sParameters, oServiceConfig) {
@@ -84,6 +85,11 @@ sap.ui.define([
84
85
  SmartNavigation.prototype.getLinks = function (oArgs) {
85
86
  var oDeferred = new jQuery.Deferred();
86
87
 
88
+ Log.error("Call to deprecated service: 'SmartNavigation.getLinks'. Please use 'CrossApplicationNavigation.getLinks' instead",
89
+ null,
90
+ "sap.ushell.services.SmartNavigation"
91
+ );
92
+
87
93
  this._oCrossAppNavigationServicePromise
88
94
  .then(function (CrossApplicationNavigationService) {
89
95
  var oAllLinksPromise = CrossApplicationNavigationService.getLinks(oArgs);
@@ -105,7 +111,7 @@ sap.ui.define([
105
111
  }
106
112
 
107
113
  if (!sFromCurrentShellHash) {
108
- // This may happen because, the application (the calling component belongs to) probably has not initialised fully.
114
+ // This may happen because, the application (the calling component belongs to) probably has not initialized fully.
109
115
  Log.warning("Call to SmartNavigation#getLinks() simply delegated to CrossApplicationNavigation#getLinks()"
110
116
  + " because AppConfiguration#getCurrentApplication()#sShellHash evaluates to undefined.");
111
117
 
@@ -151,6 +157,11 @@ sap.ui.define([
151
157
  SmartNavigation.prototype.toExternal = function (oArgs) {
152
158
  var aArguments = arguments;
153
159
 
160
+ Log.error("Call to deprecated service: 'SmartNavigation.toExternal'. Please use 'CrossApplicationNavigation.toExternal' instead",
161
+ null,
162
+ "sap.ushell.services.SmartNavigation"
163
+ );
164
+
154
165
  this._oCrossAppNavigationServicePromise
155
166
  .then(function (CrossApplicationNavigationService) {
156
167
  if (!this._isTrackingEnabled(this._oServiceConfig)) {
@@ -207,7 +218,7 @@ sap.ui.define([
207
218
  "sap.ushell.services.SmartNavigation"
208
219
  );
209
220
 
210
- // Container.getService is OK because alternatives are provided for external use. The funciton is not called by ushell itself.
221
+ // Container.getService is OK because alternatives are provided for external use. The function is not called by ushell itself.
211
222
  var CrossApplicationNavigationService = sap.ushell.Container.getService("CrossApplicationNavigation"); // LEGACY API (deprecated)
212
223
 
213
224
  return CrossApplicationNavigationService.hrefForExternal.apply(CrossApplicationNavigationService, arguments);
@@ -226,6 +237,11 @@ sap.ui.define([
226
237
  SmartNavigation.prototype.hrefForExternalAsync = function () {
227
238
  var aArguments = arguments;
228
239
 
240
+ Log.error("Call to deprecated service: 'SmartNavigation.hrefForExternalAsync'. Please use 'CrossApplicationNavigation.hrefForExternalAsync' instead",
241
+ null,
242
+ "sap.ushell.services.SmartNavigation"
243
+ );
244
+
229
245
  return this._oCrossAppNavigationServicePromise
230
246
  .then(function (CrossApplicationNavigationService) {
231
247
  return CrossApplicationNavigationService.hrefForExternalAsync.apply(CrossApplicationNavigationService, aArguments);
@@ -246,6 +262,11 @@ sap.ui.define([
246
262
  var oDeferred = new jQuery.Deferred();
247
263
  var aArguments = arguments;
248
264
 
265
+ Log.error("Call to deprecated service: 'SmartNavigation.getPrimaryIntent'. Please use 'CrossApplicationNavigation.getPrimaryIntent' instead",
266
+ null,
267
+ "sap.ushell.services.SmartNavigation"
268
+ );
269
+
249
270
  this._oCrossAppNavigationServicePromise
250
271
  .then(function (CrossApplicationNavigationService) {
251
272
  CrossApplicationNavigationService.getPrimaryIntent.apply(CrossApplicationNavigationService, aArguments)
@@ -282,6 +303,11 @@ sap.ui.define([
282
303
  * @memberof sap.ushell.services.SmartNavigation#
283
304
  */
284
305
  SmartNavigation.prototype.trackNavigation = function (oArgs) {
306
+ Log.error("Call to deprecated service: 'SmartNavigation.trackNavigation'.",
307
+ null,
308
+ "sap.ushell.services.SmartNavigation"
309
+ );
310
+
285
311
  if (!this._isTrackingEnabled(this._oServiceConfig)) {
286
312
  Log.debug("Call to SmartNavigation#trackNavigation() ignored because Service is not enabled via Configuration", null, "sap.ushell.services.SmartNavigation");
287
313
  return jQuery.when(null);
@@ -293,7 +319,7 @@ sap.ui.define([
293
319
  var sDestinationShellHash;
294
320
 
295
321
  if (!sFromCurrentShellHash) {
296
- // Possibly the application (the calling component belongs to) has not initialised fully.
322
+ // Possibly the application (the calling component belongs to) has not initialized fully.
297
323
  Log.warning("Call to SmartNavigation#trackNavigation() simply ignored"
298
324
  + " because AppConfiguration#getCurrentApplication()#sShellHash evaluates to undefined.");
299
325
 
@@ -500,7 +526,7 @@ sap.ui.define([
500
526
  * @param {string} sFromCurrentShellHash The origin of navigation.
501
527
  * @param {string} sToDestinationShellHash The destination of the navigation.
502
528
  * @param {object} oComponent The currently running application's component.
503
- * @returns {Promise|jQuerry.Deferred} A promise to record navigation occurrences.
529
+ * @returns {Promise|jQuery.Deferred} A promise to record navigation occurrences.
504
530
  * @private
505
531
  */
506
532
  SmartNavigation.prototype._recordNavigationOccurrences = function (sFromCurrentShellHash, sToDestinationShellHash, oComponent) {
@@ -571,7 +597,7 @@ sap.ui.define([
571
597
  * Note that the update is done in place. In other words, the passed `oHistoryEntry` reference will be mutated.
572
598
  *
573
599
  * @param {ActionHistoryEntry|SemanticObjectHistoryEntry} oHistoryEntry A history entry item to be updated.
574
- * @returns {ActionHistoryEntry|SemanticObjectHistoryEntry} A reference to the updated history enty item.
600
+ * @returns {ActionHistoryEntry|SemanticObjectHistoryEntry} A reference to the updated history entry item.
575
601
  * @private
576
602
  */
577
603
  SmartNavigation.prototype._updateHistoryEntryWithCurrentUsage = function (oHistoryEntry) {
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @fileOverview APIs for the S/4 MyHome
5
- * @version 1.111.1
5
+ * @version 1.112.1
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/ushell/Config",
@@ -6,7 +6,7 @@
6
6
  * Service wrapper for the sap/ushell/utils/UrlShortening module.
7
7
  * Deprecated. Please use the UrlShortening module directly.
8
8
  *
9
- * @version 1.111.1
9
+ * @version 1.112.1
10
10
  */
11
11
  sap.ui.define(["sap/ushell/utils/UrlShortening"], function (UrlShortening) {
12
12
  "use strict";
@@ -1,7 +1,7 @@
1
1
  // Copyright (c) 2009-2022 SAP SE, All Rights Reserved
2
2
  /**
3
3
  * @fileOverview The URLTemplate service provides utilities when working with URL templates
4
- * @version 1.111.1
4
+ * @version 1.112.1
5
5
  */
6
6
  sap.ui.define([
7
7
  "sap/ushell/utils",
@@ -4,7 +4,7 @@
4
4
  * @fileOverview The Unified Shell's UI5 component loader service.
5
5
  * This is a shell-internal service and no public or application facing API!
6
6
  *
7
- * @version 1.111.1
7
+ * @version 1.112.1
8
8
  */
9
9
  sap.ui.define([
10
10
  "sap/ushell/Config",
@@ -14,7 +14,7 @@
14
14
  *
15
15
  * This is *not* an application facing service, but for Shell Internal usage.
16
16
  *
17
- * @version 1.111.1
17
+ * @version 1.112.1
18
18
  */
19
19
  sap.ui.define([
20
20
  "sap/base/Log",
@@ -7,7 +7,7 @@
7
7
  * This service should be accessed by the application
8
8
  * via the CrossApplicationNavigation service.
9
9
  *
10
- * @version 1.111.1
10
+ * @version 1.112.1
11
11
  */
12
12
  sap.ui.define([
13
13
  "sap/base/Log",
@@ -4,7 +4,7 @@
4
4
  * @fileOverview The Unified Shell's user information service, which allows you to retrieve
5
5
  * information about the user.
6
6
  *
7
- * @version 1.111.1
7
+ * @version 1.112.1
8
8
  */
9
9
  sap.ui.define([
10
10
  "sap/base/Log",
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @fileOverview The Unified Shell's user activity service.
5
- * @version 1.111.1
5
+ * @version 1.112.1
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/ui/base/Object",