@sapui5/sap.ushell 1.138.1 → 1.139.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 (790) 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/ApplicationType/UrlPostProcessing.js +14 -10
  4. package/src/main/js/sap/ushell/ApplicationType/urlTemplateResolution.js +0 -9
  5. package/src/main/js/sap/ushell/ApplicationType/wcfResolution.js +32 -26
  6. package/src/main/js/sap/ushell/Container.js +0 -1
  7. package/src/main/js/sap/ushell/Fiori20Adapter.js +1 -1
  8. package/src/main/js/sap/ushell/Fiori20AdapterTest.js +1 -1
  9. package/src/main/js/sap/ushell/NWBCInterface.js +1 -1
  10. package/src/main/js/sap/ushell/TechnicalParameters.js +1 -1
  11. package/src/main/js/sap/ushell/URLTemplateProcessor/DefinitionParameterSetBuilder.js +1 -1
  12. package/src/main/js/sap/ushell/URLTemplateProcessor/DependencyGraph.js +1 -1
  13. package/src/main/js/sap/ushell/URLTemplateProcessor/Functions.js +1 -1
  14. package/src/main/js/sap/ushell/URLTemplateProcessor/Resolvers.js +1 -1
  15. package/src/main/js/sap/ushell/URLTemplateProcessor/TemplateParameterParser.js +1 -1
  16. package/src/main/js/sap/ushell/URLTemplateProcessor/utils.js +1 -1
  17. package/src/main/js/sap/ushell/URLTemplateProcessor.js +1 -1
  18. package/src/main/js/sap/ushell/Ui5NativeServiceFactory.js +12 -12
  19. package/src/main/js/sap/ushell/Ui5ServiceFactory.js +1 -1
  20. package/src/main/js/sap/ushell/User.js +32 -12
  21. package/src/main/js/sap/ushell/adapters/cdm/ClientSideTargetResolutionAdapter.js +1 -1
  22. package/src/main/js/sap/ushell/adapters/cdm/CommonDataModelAdapter.js +1 -1
  23. package/src/main/js/sap/ushell/adapters/cdm/ConfigurationDefaultsAdapter.js +1 -1
  24. package/src/main/js/sap/ushell/adapters/cdm/ContainerAdapter.js +1 -1
  25. package/src/main/js/sap/ushell/adapters/cdm/LaunchPageAdapter.js +1 -1
  26. package/src/main/js/sap/ushell/adapters/cdm/PagesCommonDataModelAdapter.js +1 -1
  27. package/src/main/js/sap/ushell/adapters/cdm/PersonalizationAdapter.js +1 -1
  28. package/src/main/js/sap/ushell/adapters/cdm/PersonalizationV2Adapter.js +1 -1
  29. package/src/main/js/sap/ushell/adapters/cdm/Ui5ComponentLoaderAdapter.js +1 -1
  30. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/modifyHome.js +1 -1
  31. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readCatalogs.js +1 -1
  32. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readHome.js +1 -1
  33. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/uri.transform.js +1 -1
  34. package/src/main/js/sap/ushell/adapters/cdm/util/AppForInbound.js +1 -1
  35. package/src/main/js/sap/ushell/adapters/cdm/util/cdmSiteUtils.js +1 -1
  36. package/src/main/js/sap/ushell/adapters/cdm/v3/AdapterBase.js +1 -1
  37. package/src/main/js/sap/ushell/adapters/cdm/v3/FlpLaunchPageAdapter.js +1 -1
  38. package/src/main/js/sap/ushell/adapters/cdm/v3/LaunchPageAdapter.js +1 -1
  39. package/src/main/js/sap/ushell/adapters/cdm/v3/StaticGroupsAdapter.js +1 -1
  40. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readApplications.js +1 -1
  41. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readCatalogs.js +1 -1
  42. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readHome.js +1 -1
  43. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readPages.js +1 -1
  44. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readUtils.js +1 -1
  45. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations.js +1 -1
  46. package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionAdapter.js +1 -1
  47. package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionInternalAdapter.js +1 -1
  48. package/src/main/js/sap/ushell/adapters/cep/SearchCEPAdapter.js +1 -1
  49. package/src/main/js/sap/ushell/adapters/cflp/UserDefaultParameterPersistenceAdapter.js +1 -1
  50. package/src/main/js/sap/ushell/adapters/local/AdapterContainer.js +1 -1
  51. package/src/main/js/sap/ushell/adapters/local/AppStateAdapter.js +1 -1
  52. package/src/main/js/sap/ushell/adapters/local/ClientSideTargetResolutionAdapter.js +1 -1
  53. package/src/main/js/sap/ushell/adapters/local/ContainerAdapter.js +1 -1
  54. package/src/main/js/sap/ushell/adapters/local/FlpLaunchPageAdapter.js +1 -1
  55. package/src/main/js/sap/ushell/adapters/local/LaunchPageAdapter.js +1 -1
  56. package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionAdapter.js +1 -1
  57. package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionInternalAdapter.js +1 -1
  58. package/src/main/js/sap/ushell/adapters/local/PageBuildingAdapter.js +1 -1
  59. package/src/main/js/sap/ushell/adapters/local/PagePersistenceAdapter.js +1 -1
  60. package/src/main/js/sap/ushell/adapters/local/PersonalizationAdapter.js +1 -1
  61. package/src/main/js/sap/ushell/adapters/local/PersonalizationV2Adapter.js +1 -1
  62. package/src/main/js/sap/ushell/adapters/local/SearchAdapter.js +1 -1
  63. package/src/main/js/sap/ushell/adapters/local/SearchCEPAdapter.js +1 -1
  64. package/src/main/js/sap/ushell/adapters/local/SupportTicketAdapter.js +1 -1
  65. package/src/main/js/sap/ushell/adapters/local/Ui5ComponentLoaderAdapter.js +1 -1
  66. package/src/main/js/sap/ushell/adapters/local/UserDefaultParameterPersistenceAdapter.js +1 -1
  67. package/src/main/js/sap/ushell/adapters/local/UserInfoAdapter.js +1 -1
  68. package/src/main/js/sap/ushell/appIntegration/AppLifeCycle.js +6 -5
  69. package/src/main/js/sap/ushell/appIntegration/ApplicationContainer.js +14 -1
  70. package/src/main/js/sap/ushell/appIntegration/ApplicationHandle.js +8 -3
  71. package/src/main/js/sap/ushell/appIntegration/IframeApplicationContainer.js +8 -8
  72. package/src/main/js/sap/ushell/appIntegration/PostMessageManager/AppruntimeHandler.js +17 -12
  73. package/src/main/js/sap/ushell/appIntegration/PostMessageManager/ExtensionItems.js +6 -23
  74. package/src/main/js/sap/ushell/appIntegration/PostMessageManager/LifecycleHandler.js +114 -91
  75. package/src/main/js/sap/ushell/appIntegration/PostMessageManager/NWBCHandler.js +15 -7
  76. package/src/main/js/sap/ushell/appIntegration/PostMessageManager/ServiceHandler.js +257 -214
  77. package/src/main/js/sap/ushell/appIntegration/PostMessageManager.js +347 -117
  78. package/src/main/js/sap/ushell/appIntegration/UI5ApplicationContainer.js +1 -0
  79. package/src/main/js/sap/ushell/appIntegration/contracts/EmbeddedUI5Handler.js +15 -19
  80. package/src/main/js/sap/ushell/appIntegration/contracts/StatefulContainerV1Handler.js +15 -14
  81. package/src/main/js/sap/ushell/appIntegration/contracts/StatefulContainerV2Handler.js +38 -40
  82. package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/RendererExtensions.js +1 -1
  83. package/src/main/js/sap/ushell/appRuntime/ui5/services/AppConfiguration.js +1 -1
  84. package/src/main/js/sap/ushell/appRuntime/ui5/services/AppLifeCycle.js +1 -1
  85. package/src/main/js/sap/ushell/appRuntime/ui5/services/AppState.js +1 -8
  86. package/src/main/js/sap/ushell/appRuntime/ui5/services/Bookmark.js +1 -1
  87. package/src/main/js/sap/ushell/appRuntime/ui5/services/BookmarkV2.js +1 -1
  88. package/src/main/js/sap/ushell/appRuntime/ui5/services/CommonDataModel.js +1 -1
  89. package/src/main/js/sap/ushell/appRuntime/ui5/services/Container.js +1 -1
  90. package/src/main/js/sap/ushell/appRuntime/ui5/services/CrossApplicationNavigation.js +74 -17
  91. package/src/main/js/sap/ushell/appRuntime/ui5/services/Extension/Item.js +1 -1
  92. package/src/main/js/sap/ushell/appRuntime/ui5/services/Extension.js +25 -1
  93. package/src/main/js/sap/ushell/appRuntime/ui5/services/FlpLaunchPage.js +1 -1
  94. package/src/main/js/sap/ushell/appRuntime/ui5/services/FrameBoundExtension.js +1 -1
  95. package/src/main/js/sap/ushell/appRuntime/ui5/services/LaunchPage.js +1 -1
  96. package/src/main/js/sap/ushell/appRuntime/ui5/services/MessageBroker.js +1 -1
  97. package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolution.js +1 -1
  98. package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolutionInternal.js +1 -1
  99. package/src/main/js/sap/ushell/appRuntime/ui5/services/Navigation.js +17 -21
  100. package/src/main/js/sap/ushell/appRuntime/ui5/services/ReferenceResolver.js +1 -1
  101. package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigation.js +1 -1
  102. package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigationInternal.js +1 -1
  103. package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellUIService.js +4 -4
  104. package/src/main/js/sap/ushell/appRuntime/ui5/services/UserInfo.js +1 -1
  105. package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/Ui5ComponentLoaderAdapter.js +1 -1
  106. package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/StepConfiguration.json +0 -2
  107. package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/logger.js +1 -1
  108. package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/state.js +1 -1
  109. package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5datetimeformat.js +1 -1
  110. package/src/main/js/sap/ushell/bootstrap/common/common.create.configcontract.core.js +4 -0
  111. package/src/main/js/sap/ushell/bootstrap/sandbox2.js +1 -1
  112. package/src/main/js/sap/ushell/components/CatalogsManager.js +157 -157
  113. package/src/main/js/sap/ushell/components/ComponentKeysHandler.js +180 -187
  114. package/src/main/js/sap/ushell/components/DestroyHelper.js +4 -4
  115. package/src/main/js/sap/ushell/components/GroupsHelper.js +21 -21
  116. package/src/main/js/sap/ushell/components/HomepageManager.js +465 -424
  117. package/src/main/js/sap/ushell/components/MessagingHelper.js +24 -24
  118. package/src/main/js/sap/ushell/components/SharedComponentUtils.js +16 -16
  119. package/src/main/js/sap/ushell/components/_HomepageManager/DashboardLoadingManager.js +43 -43
  120. package/src/main/js/sap/ushell/components/_HomepageManager/PagingManager.js +43 -39
  121. package/src/main/js/sap/ushell/components/_HomepageManager/PersistentPageOperationAdapter.js +166 -175
  122. package/src/main/js/sap/ushell/components/_HomepageManager/TransientPageOperationAdapter.js +57 -57
  123. package/src/main/js/sap/ushell/components/appfinder/AppFinder.controller.js +96 -99
  124. package/src/main/js/sap/ushell/components/appfinder/AppFinderView.js +27 -21
  125. package/src/main/js/sap/ushell/components/appfinder/Catalog.controller.js +180 -178
  126. package/src/main/js/sap/ushell/components/appfinder/CatalogView.js +56 -56
  127. package/src/main/js/sap/ushell/components/appfinder/Component.js +12 -16
  128. package/src/main/js/sap/ushell/components/appfinder/EasyAccess.controller.js +129 -133
  129. package/src/main/js/sap/ushell/components/appfinder/EasyAccessView.js +10 -10
  130. package/src/main/js/sap/ushell/components/appfinder/GroupListPopover.controller.js +22 -22
  131. package/src/main/js/sap/ushell/components/appfinder/GroupListPopoverView.js +14 -14
  132. package/src/main/js/sap/ushell/components/appfinder/HierarchyApps.controller.js +75 -78
  133. package/src/main/js/sap/ushell/components/appfinder/HierarchyAppsView.js +24 -27
  134. package/src/main/js/sap/ushell/components/appfinder/HierarchyFolders.controller.js +44 -46
  135. package/src/main/js/sap/ushell/components/appfinder/HierarchyFoldersView.js +22 -22
  136. package/src/main/js/sap/ushell/components/appfinder/VisualizationOrganizerHelper.js +28 -28
  137. package/src/main/js/sap/ushell/components/appfinder/manifest.json +1 -1
  138. package/src/main/js/sap/ushell/components/cards/Card.controller.js +16 -20
  139. package/src/main/js/sap/ushell/components/cards/Configuration.controller.js +35 -37
  140. package/src/main/js/sap/ushell/components/cards/ManifestPropertyHelper.js +32 -34
  141. package/src/main/js/sap/ushell/components/cepsearchresult/app/Main.controller.js +7 -12
  142. package/src/main/js/sap/ushell/components/cepsearchresult/app/Main.view.xml +2 -9
  143. package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/Extension.js +0 -1
  144. package/src/main/js/sap/ushell/components/cepsearchresult/app/css/style.css +58 -0
  145. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/AdvancedFormatters.js +0 -1
  146. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/Edition.js +0 -1
  147. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/EditionAdvanced.js +0 -1
  148. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/appendStyleVars.js +0 -1
  149. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/Category.js +13 -13
  150. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/Highlighter.js +2 -5
  151. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/Paginator.js +0 -2
  152. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/categories/Event.js +4 -3
  153. package/src/main/js/sap/ushell/components/contentFinder/CatalogService.js +8 -9
  154. package/src/main/js/sap/ushell/components/contentFinder/Component.js +2 -2
  155. package/src/main/js/sap/ushell/components/contentFinder/controller/AppSearch.controller.js +1 -3
  156. package/src/main/js/sap/ushell/components/contentFinder/controller/ContentFinderDialog.controller.js +1 -1
  157. package/src/main/js/sap/ushell/components/contentFinder/dialog/Component.js +2 -2
  158. package/src/main/js/sap/ushell/components/contentFinder/dialog/manifest.json +1 -1
  159. package/src/main/js/sap/ushell/components/contentFinder/manifest.json +1 -1
  160. package/src/main/js/sap/ushell/components/contentFinder/model/GraphQLListBinding.js +3 -5
  161. package/src/main/js/sap/ushell/components/contentFinder/model/GraphQLModel.js +2 -2
  162. package/src/main/js/sap/ushell/components/contentFinder/model/formatter.js +13 -6
  163. package/src/main/js/sap/ushell/components/contentFinder/resources/resources.properties +3 -3
  164. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_en_US_saprigi.properties +1 -1
  165. package/src/main/js/sap/ushell/components/contentFinder/view/AppSearch.view.xml +2 -14
  166. package/src/main/js/sap/ushell/components/contentFinder/view/AppSearchCategoryTreeTable.fragment.xml +14 -7
  167. package/src/main/js/sap/ushell/components/contentFinder/view/VisualizationsNoDataIllustratedMessage.fragment.xml +1 -1
  168. package/src/main/js/sap/ushell/components/contentFinderStandalone/Component.js +2 -2
  169. package/src/main/js/sap/ushell/components/contentFinderStandalone/controller/ContentFinderStandalone.controller.js +2 -4
  170. package/src/main/js/sap/ushell/components/contentFinderStandalone/manifest.json +1 -1
  171. package/src/main/js/sap/ushell/components/factsheet/Component.js +13 -8
  172. package/src/main/js/sap/ushell/components/factsheet/annotation/Mapping.js +166 -118
  173. package/src/main/js/sap/ushell/components/factsheet/controls/PictureTile.js +20 -16
  174. package/src/main/js/sap/ushell/components/factsheet/controls/PictureTileRenderer.js +3 -3
  175. package/src/main/js/sap/ushell/components/factsheet/controls/PictureViewer.js +84 -77
  176. package/src/main/js/sap/ushell/components/factsheet/controls/PictureViewerItem.js +4 -4
  177. package/src/main/js/sap/ushell/components/factsheet/controls/PictureViewerRenderer.js +2 -2
  178. package/src/main/js/sap/ushell/components/factsheet/factory/ThingInspector.js +1356 -1139
  179. package/src/main/js/sap/ushell/components/factsheet/tools/ODataUrlTemplating.js +9 -5
  180. package/src/main/js/sap/ushell/components/factsheet/views/ThingViewer.controller.js +1 -1
  181. package/src/main/js/sap/ushell/components/factsheet/views/ThingViewer.view.js +9 -6
  182. package/src/main/js/sap/ushell/components/homeApp/error/Component.js +1 -1
  183. package/src/main/js/sap/ushell/components/homeApp/error/HomeAppError.controller.js +4 -4
  184. package/src/main/js/sap/ushell/components/homepage/ActionMode.js +51 -48
  185. package/src/main/js/sap/ushell/components/homepage/Component.js +11 -11
  186. package/src/main/js/sap/ushell/components/homepage/DashboardContent.controller.js +185 -192
  187. package/src/main/js/sap/ushell/components/homepage/DashboardContent.view.js +60 -50
  188. package/src/main/js/sap/ushell/components/homepage/DashboardGroupsBox.js +199 -202
  189. package/src/main/js/sap/ushell/components/homepage/DashboardUIActions.js +152 -160
  190. package/src/main/js/sap/ushell/components/homepage/manifest.json +1 -1
  191. package/src/main/js/sap/ushell/components/pages/ActionMode.js +72 -74
  192. package/src/main/js/sap/ushell/components/pages/Component.js +7 -32
  193. package/src/main/js/sap/ushell/components/pages/MyHomeImport.js +46 -46
  194. package/src/main/js/sap/ushell/components/pages/StateManager.js +9 -10
  195. package/src/main/js/sap/ushell/components/pages/controller/MyHome.controller.js +4 -4
  196. package/src/main/js/sap/ushell/components/pages/controller/PageRuntime.controller.js +243 -215
  197. package/src/main/js/sap/ushell/components/pages/controller/PagesAndSpaceId.js +23 -24
  198. package/src/main/js/sap/ushell/components/pages/manifest.json +1 -1
  199. package/src/main/js/sap/ushell/components/runtimeSwitcher/Component.js +1 -1
  200. package/src/main/js/sap/ushell/components/runtimeSwitcher/controller/RuntimeSwitcher.controller.js +60 -70
  201. package/src/main/js/sap/ushell/components/runtimeSwitcher/manifest.json +1 -1
  202. package/src/main/js/sap/ushell/components/shell/FloatingContainer/Component.js +0 -5
  203. package/src/main/js/sap/ushell/components/shell/FloatingContainer/controls/FloatingContainer.js +3 -3
  204. package/src/main/js/sap/ushell/components/shell/FloatingContainer/manifest.json +1 -1
  205. package/src/main/js/sap/ushell/components/shell/MenuBar/Component.js +18 -50
  206. package/src/main/js/sap/ushell/components/shell/MenuBar/controller/MenuBar.controller.js +73 -83
  207. package/src/main/js/sap/ushell/components/shell/MenuBar/manifest.json +1 -1
  208. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/Component.js +1 -1
  209. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenu.controller.js +49 -50
  210. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenuButton.controller.js +5 -5
  211. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/manifest.json +1 -1
  212. package/src/main/js/sap/ushell/components/shell/Notifications/Component.js +35 -33
  213. package/src/main/js/sap/ushell/components/shell/Notifications/Notifications.controller.js +8 -9
  214. package/src/main/js/sap/ushell/components/shell/Notifications/NotificationsList.controller.js +5 -11
  215. package/src/main/js/sap/ushell/components/shell/PostLoadingHeaderEnhancement/Component.js +63 -42
  216. package/src/main/js/sap/ushell/components/shell/ProductSwitch/Component.js +20 -22
  217. package/src/main/js/sap/ushell/components/shell/Search/Component.js +20 -12
  218. package/src/main/js/sap/ushell/components/shell/Search/ESearch.js +18 -21
  219. package/src/main/js/sap/ushell/components/shell/Search/manifest.json +1 -1
  220. package/src/main/js/sap/ushell/components/shell/SearchCEP/Component.js +21 -14
  221. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchCEP.controller.js +204 -250
  222. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/FrequentActivityProvider.js +25 -24
  223. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/RecentSearchProvider.js +9 -9
  224. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchProvider.js +4 -4
  225. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchServiceProvider.js +63 -65
  226. package/src/main/js/sap/ushell/components/shell/SearchCEPNew/Component.js +420 -0
  227. package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/FrequentActivityProvider.js +84 -0
  228. package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/RecentSearchProvider.js +63 -0
  229. package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/SearchProvider.js +141 -0
  230. package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/SearchServiceProvider.js +177 -0
  231. package/src/main/js/sap/ushell/components/shell/SearchCEPNew/manifest.json +43 -0
  232. package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources.properties +17 -0
  233. package/src/main/js/sap/ushell/components/shell/Settings/Component.js +50 -35
  234. package/src/main/js/sap/ushell/components/shell/Settings/ErrorMessageHelper.js +10 -10
  235. package/src/main/js/sap/ushell/components/shell/Settings/UserSettings.controller.js +150 -150
  236. package/src/main/js/sap/ushell/components/shell/Settings/appearance/Appearance.controller.js +66 -63
  237. package/src/main/js/sap/ushell/components/shell/Settings/appearance/AppearanceEntry.js +12 -15
  238. package/src/main/js/sap/ushell/components/shell/Settings/homepage/HomepageEntry.js +34 -37
  239. package/src/main/js/sap/ushell/components/shell/Settings/notifications/NotificationsEntry.js +6 -7
  240. package/src/main/js/sap/ushell/components/shell/Settings/notifications/NotificationsSetting.controller.js +46 -48
  241. package/src/main/js/sap/ushell/components/shell/Settings/search/Search.controller.js +4 -4
  242. package/src/main/js/sap/ushell/components/shell/Settings/search/SearchEntry.js +13 -13
  243. package/src/main/js/sap/ushell/components/shell/Settings/spaces/SpacesEntry.js +11 -13
  244. package/src/main/js/sap/ushell/components/shell/Settings/spaces/SpacesSetting.controller.js +41 -42
  245. package/src/main/js/sap/ushell/components/shell/Settings/userAccount/UserAccountEntry.js +11 -15
  246. package/src/main/js/sap/ushell/components/shell/Settings/userAccount/UserAccountSelector.controller.js +35 -37
  247. package/src/main/js/sap/ushell/components/shell/Settings/userActivities/UserActivitiesEntry.js +6 -7
  248. package/src/main/js/sap/ushell/components/shell/Settings/userActivities/UserActivitiesSetting.controller.js +7 -8
  249. package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/Component.js +2 -2
  250. package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/UserDefaultsEntry.js +16 -16
  251. package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/UserDefaultsForm.js +17 -17
  252. package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/controller/ExtendedValueDialog.controller.js +21 -24
  253. package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/controller/UserDefaultsSetting.controller.js +136 -137
  254. package/src/main/js/sap/ushell/components/shell/Settings/userLanguageRegion/LanguageRegionSelector.controller.js +73 -78
  255. package/src/main/js/sap/ushell/components/shell/Settings/userLanguageRegion/UserLanguageRegionEntry.js +8 -8
  256. package/src/main/js/sap/ushell/components/shell/ShellBar/Component.js +69 -24
  257. package/src/main/js/sap/ushell/components/shell/ShellBar/controller/ShellBar.controller.js +42 -22
  258. package/src/main/js/sap/ushell/components/shell/ShellBar/manifest.json +1 -1
  259. package/src/main/js/sap/ushell/components/shell/ShellBar/view/ShellBar.view.xml +24 -10
  260. package/src/main/js/sap/ushell/components/shell/SideNavigation/Component.js +7 -11
  261. package/src/main/js/sap/ushell/components/shell/SideNavigation/controller/SideNavigation.controller.js +3 -3
  262. package/src/main/js/sap/ushell/components/shell/SideNavigation/manifest.json +1 -1
  263. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/AllSpaces.js +3 -4
  264. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/AppFinder.js +2 -2
  265. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/Favorites.js +14 -4
  266. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/GenericFixedNavigationListProvider.js +2 -2
  267. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/GenericNavigationListProvider.js +2 -2
  268. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/MyHome.js +2 -2
  269. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/NavigationHelper.js +4 -4
  270. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/RecentActivity.js +4 -4
  271. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/Spaces.js +5 -6
  272. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/SpacesNavigationListProvider.js +2 -3
  273. package/src/main/js/sap/ushell/components/shell/UserActionsMenu/Component.js +3 -4
  274. package/src/main/js/sap/ushell/components/shell/UserActionsMenu/UserActionsMenu.controller.js +47 -48
  275. package/src/main/js/sap/ushell/components/shell/UserImage/Component.js +27 -30
  276. package/src/main/js/sap/ushell/components/tiles/action/ActionTile.controller.js +55 -55
  277. package/src/main/js/sap/ushell/components/tiles/action/Configuration.controller.js +39 -41
  278. package/src/main/js/sap/ushell/components/tiles/applauncher/Component.js +3 -3
  279. package/src/main/js/sap/ushell/components/tiles/applauncher/Configuration.controller.js +26 -27
  280. package/src/main/js/sap/ushell/components/tiles/applauncher/StaticTile.controller.js +66 -66
  281. package/src/main/js/sap/ushell/components/tiles/applauncher/StaticTile.view.js +5 -5
  282. package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/Component.js +2 -2
  283. package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/Configuration.controller.js +27 -27
  284. package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/DynamicTile.controller.js +107 -107
  285. package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/DynamicTile.view.js +7 -7
  286. package/src/main/js/sap/ushell/components/tiles/cdm/applauncher/Component.js +7 -7
  287. package/src/main/js/sap/ushell/components/tiles/cdm/applauncher/StaticTile.controller.js +31 -31
  288. package/src/main/js/sap/ushell/components/tiles/cdm/applauncher/StaticTile.view.js +2 -2
  289. package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/Component.js +15 -15
  290. package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/DynamicTile.controller.js +85 -86
  291. package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/DynamicTile.view.js +4 -4
  292. package/src/main/js/sap/ushell/components/tiles/generic.js +133 -131
  293. package/src/main/js/sap/ushell/components/tiles/indicatorArea/AreaChartTile.controller.js +71 -71
  294. package/src/main/js/sap/ushell/components/tiles/indicatorArea/AreaChartTile.view.js +17 -17
  295. package/src/main/js/sap/ushell/components/tiles/indicatorDual/DualTile.controller.js +49 -49
  296. package/src/main/js/sap/ushell/components/tiles/indicatorDual/DualTile.view.js +9 -9
  297. package/src/main/js/sap/ushell/components/tiles/indicatorDualComparison/DualComparison.controller.js +80 -80
  298. package/src/main/js/sap/ushell/components/tiles/indicatorDualComparison/DualComparison.view.js +3 -3
  299. package/src/main/js/sap/ushell/components/tiles/indicatorDualContribution/DualContribution.controller.js +74 -75
  300. package/src/main/js/sap/ushell/components/tiles/indicatorDualContribution/DualContribution.view.js +3 -3
  301. package/src/main/js/sap/ushell/components/tiles/indicatorDualDeviation/DualDeviation.controller.js +55 -55
  302. package/src/main/js/sap/ushell/components/tiles/indicatorDualDeviation/DualDeviation.view.js +12 -12
  303. package/src/main/js/sap/ushell/components/tiles/indicatorDualTrend/DualTrend.controller.js +83 -84
  304. package/src/main/js/sap/ushell/components/tiles/indicatorDualTrend/DualTrend.view.js +15 -15
  305. package/src/main/js/sap/ushell/components/tiles/indicatorHarveyBall/HarveyBallTile.controller.js +71 -71
  306. package/src/main/js/sap/ushell/components/tiles/indicatorHarveyBall/HarveyBallTile.view.js +7 -7
  307. package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/cache.js +4 -4
  308. package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/indicatorTileHelper.js +4 -4
  309. package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/oData4Analytics.js +230 -232
  310. package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/smartBusinessUtil.js +271 -272
  311. package/src/main/js/sap/ushell/components/tiles/indicatorcomparison/ComparisonTile.controller.js +55 -55
  312. package/src/main/js/sap/ushell/components/tiles/indicatorcomparison/ComparisonTile.view.js +4 -4
  313. package/src/main/js/sap/ushell/components/tiles/indicatorcontribution/ContributionTile.controller.js +53 -53
  314. package/src/main/js/sap/ushell/components/tiles/indicatorcontribution/ContributionTile.view.js +5 -5
  315. package/src/main/js/sap/ushell/components/tiles/indicatordeviation/DeviationTile.controller.js +20 -20
  316. package/src/main/js/sap/ushell/components/tiles/indicatordeviation/DeviationTile.view.js +11 -11
  317. package/src/main/js/sap/ushell/components/tiles/indicatornumeric/NumericTile.controller.js +14 -15
  318. package/src/main/js/sap/ushell/components/tiles/indicatornumeric/NumericTile.view.js +10 -10
  319. package/src/main/js/sap/ushell/components/tiles/sbtilecontent.js +6 -6
  320. package/src/main/js/sap/ushell/components/tiles/utils.js +699 -664
  321. package/src/main/js/sap/ushell/components/visualizationOrganizer/Component.js +217 -217
  322. package/src/main/js/sap/ushell/components/workPageBuilder/Component.js +4 -8
  323. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.accessibility.js +40 -42
  324. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.controller.js +257 -262
  325. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.layout.js +19 -20
  326. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPage.js +6 -6
  327. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageButton.js +37 -38
  328. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageCell.js +97 -100
  329. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumn.js +81 -82
  330. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnRenderer.js +9 -9
  331. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnResizer.js +38 -39
  332. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRenderer.js +5 -5
  333. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRow.js +8 -9
  334. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRowRenderer.js +9 -9
  335. package/src/main/js/sap/ushell/components/workPageBuilder/manifest.json +1 -1
  336. package/src/main/js/sap/ushell/components/workPageRuntime/Component.js +4 -4
  337. package/src/main/js/sap/ushell/components/workPageRuntime/controller/WorkPageRuntime.controller.js +15 -15
  338. package/src/main/js/sap/ushell/components/workPageRuntime/manifest.json +1 -1
  339. package/src/main/js/sap/ushell/designtime/ApplicationContainer.designtime.js +1 -1
  340. package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/Avatar.js +111 -107
  341. package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/Button.js +215 -137
  342. package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/Label.js +68 -70
  343. package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/ListItem.js +81 -80
  344. package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/ListItemBase.js +40 -39
  345. package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/ListItemGroup.js +152 -0
  346. package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/Menu.js +178 -120
  347. package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/MenuItem.js +186 -146
  348. package/src/main/js/sap/ushell/gen/ui5/webcomponents-base.js +517 -360
  349. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/NotificationList.js +128 -79
  350. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/NotificationListGroupItem.js +76 -75
  351. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/NotificationListItem.js +119 -99
  352. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/NotificationListItemBase.js +48 -46
  353. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/Search.js +162 -0
  354. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchItem.js +74 -0
  355. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchItemGroup.js +35 -0
  356. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchMessageArea.js +52 -0
  357. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchScope.js +54 -0
  358. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBar.js +373 -209
  359. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarBranding.js +77 -0
  360. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarItem.js +81 -64
  361. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarSearch.js +156 -0
  362. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarSpacer.js +42 -41
  363. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/UserMenu.js +190 -137
  364. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/UserMenuAccount.js +76 -75
  365. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/UserMenuItem.js +35 -34
  366. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori.js +1706 -1307
  367. package/src/main/js/sap/ushell/gen/ui5/webcomponents.js +3011 -2372
  368. package/src/main/js/sap/ushell/library.js +1 -1
  369. package/src/main/js/sap/ushell/navigation/NavigationState.js +126 -0
  370. package/src/main/js/sap/ushell/navigationMode.js +1 -1
  371. package/src/main/js/sap/ushell/performance/ShellAnalytics.js +1 -1
  372. package/src/main/js/sap/ushell/performance/StatisticalRecord.js +1 -1
  373. package/src/main/js/sap/ushell/plugins/appwarmup/Component.js +1 -1
  374. package/src/main/js/sap/ushell/renderer/AccessKeysHandler.js +25 -17
  375. package/src/main/js/sap/ushell/renderer/NavContainer.js +6 -0
  376. package/src/main/js/sap/ushell/renderer/Renderer.js +19 -7
  377. package/src/main/js/sap/ushell/renderer/Shell.controller.js +10 -21
  378. package/src/main/js/sap/ushell/renderer/Shell.view.js +4 -1
  379. package/src/main/js/sap/ushell/renderer/resources/resources_ar.properties +2 -0
  380. package/src/main/js/sap/ushell/renderer/resources/resources_bg.properties +2 -0
  381. package/src/main/js/sap/ushell/renderer/resources/resources_ca.properties +2 -0
  382. package/src/main/js/sap/ushell/renderer/resources/resources_cnr.properties +2 -0
  383. package/src/main/js/sap/ushell/renderer/resources/resources_cs.properties +2 -0
  384. package/src/main/js/sap/ushell/renderer/resources/resources_cy.properties +2 -0
  385. package/src/main/js/sap/ushell/renderer/resources/resources_da.properties +2 -0
  386. package/src/main/js/sap/ushell/renderer/resources/resources_de.properties +2 -0
  387. package/src/main/js/sap/ushell/renderer/resources/resources_el.properties +2 -0
  388. package/src/main/js/sap/ushell/renderer/resources/resources_en.properties +2 -0
  389. package/src/main/js/sap/ushell/renderer/resources/resources_en_GB.properties +2 -0
  390. package/src/main/js/sap/ushell/renderer/resources/resources_en_US_saprigi.properties +2 -0
  391. package/src/main/js/sap/ushell/renderer/resources/resources_es.properties +2 -0
  392. package/src/main/js/sap/ushell/renderer/resources/resources_es_MX.properties +2 -0
  393. package/src/main/js/sap/ushell/renderer/resources/resources_et.properties +2 -0
  394. package/src/main/js/sap/ushell/renderer/resources/resources_fi.properties +2 -0
  395. package/src/main/js/sap/ushell/renderer/resources/resources_fr.properties +2 -0
  396. package/src/main/js/sap/ushell/renderer/resources/resources_fr_CA.properties +2 -0
  397. package/src/main/js/sap/ushell/renderer/resources/resources_hi.properties +2 -0
  398. package/src/main/js/sap/ushell/renderer/resources/resources_hr.properties +2 -0
  399. package/src/main/js/sap/ushell/renderer/resources/resources_hu.properties +3 -1
  400. package/src/main/js/sap/ushell/renderer/resources/resources_id.properties +2 -0
  401. package/src/main/js/sap/ushell/renderer/resources/resources_it.properties +2 -0
  402. package/src/main/js/sap/ushell/renderer/resources/resources_iw.properties +2 -0
  403. package/src/main/js/sap/ushell/renderer/resources/resources_ja.properties +2 -0
  404. package/src/main/js/sap/ushell/renderer/resources/resources_kk.properties +2 -0
  405. package/src/main/js/sap/ushell/renderer/resources/resources_ko.properties +2 -0
  406. package/src/main/js/sap/ushell/renderer/resources/resources_lt.properties +2 -0
  407. package/src/main/js/sap/ushell/renderer/resources/resources_lv.properties +2 -0
  408. package/src/main/js/sap/ushell/renderer/resources/resources_mk.properties +2 -0
  409. package/src/main/js/sap/ushell/renderer/resources/resources_ms.properties +2 -0
  410. package/src/main/js/sap/ushell/renderer/resources/resources_nl.properties +2 -0
  411. package/src/main/js/sap/ushell/renderer/resources/resources_no.properties +2 -0
  412. package/src/main/js/sap/ushell/renderer/resources/resources_pl.properties +2 -0
  413. package/src/main/js/sap/ushell/renderer/resources/resources_pt.properties +2 -0
  414. package/src/main/js/sap/ushell/renderer/resources/resources_pt_PT.properties +2 -0
  415. package/src/main/js/sap/ushell/renderer/resources/resources_ro.properties +2 -0
  416. package/src/main/js/sap/ushell/renderer/resources/resources_ru.properties +2 -0
  417. package/src/main/js/sap/ushell/renderer/resources/resources_sh.properties +2 -0
  418. package/src/main/js/sap/ushell/renderer/resources/resources_sk.properties +2 -0
  419. package/src/main/js/sap/ushell/renderer/resources/resources_sl.properties +3 -1
  420. package/src/main/js/sap/ushell/renderer/resources/resources_sr.properties +2 -0
  421. package/src/main/js/sap/ushell/renderer/resources/resources_sv.properties +2 -0
  422. package/src/main/js/sap/ushell/renderer/resources/resources_th.properties +2 -0
  423. package/src/main/js/sap/ushell/renderer/resources/resources_tr.properties +2 -0
  424. package/src/main/js/sap/ushell/renderer/resources/resources_uk.properties +2 -0
  425. package/src/main/js/sap/ushell/renderer/resources/resources_vi.properties +3 -1
  426. package/src/main/js/sap/ushell/renderer/resources/resources_zh_CN.properties +2 -0
  427. package/src/main/js/sap/ushell/renderer/resources/resources_zh_TW.properties +2 -0
  428. package/src/main/js/sap/ushell/renderer/search/searchComponent/manifest.json +1 -1
  429. package/src/main/js/sap/ushell/services/AllMyApps.js +5 -5
  430. package/src/main/js/sap/ushell/services/AppConfiguration.js +3 -5
  431. package/src/main/js/sap/ushell/services/AppLifeCycle.js +27 -4
  432. package/src/main/js/sap/ushell/services/AppState.js +86 -102
  433. package/src/main/js/sap/ushell/services/AppType.js +2 -2
  434. package/src/main/js/sap/ushell/services/Bookmark.js +156 -164
  435. package/src/main/js/sap/ushell/services/BookmarkV2.js +10 -13
  436. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Formatter.js +1 -1
  437. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/InboundIndex.js +1 -1
  438. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/InboundProvider.js +1 -1
  439. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/PrelaunchOperations.js +1 -1
  440. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Search.js +1 -1
  441. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/StagedLogger.js +1 -1
  442. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/SystemContext.js +1 -1
  443. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Utils.js +1 -1
  444. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/VirtualInbounds.js +1 -1
  445. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/XAppStateProcessing.js +1 -1
  446. package/src/main/js/sap/ushell/services/ClientSideTargetResolution.js +27 -31
  447. package/src/main/js/sap/ushell/services/CommonDataModel/SiteConverter.js +1 -1
  448. package/src/main/js/sap/ushell/services/CommonDataModel/vizTypeDefaults/VizTypeDefaults.js +1 -1
  449. package/src/main/js/sap/ushell/services/CommonDataModel.js +295 -353
  450. package/src/main/js/sap/ushell/services/Configuration.js +14 -12
  451. package/src/main/js/sap/ushell/services/ConfigurationDefaults.js +34 -35
  452. package/src/main/js/sap/ushell/services/Container.js +2 -2
  453. package/src/main/js/sap/ushell/services/ContentExtensionAdapterFactory.js +29 -62
  454. package/src/main/js/sap/ushell/services/CrossApplicationNavigation.js +227 -266
  455. package/src/main/js/sap/ushell/services/DarkModeSupport.js +17 -16
  456. package/src/main/js/sap/ushell/services/EndUserFeedback.js +5 -4
  457. package/src/main/js/sap/ushell/services/Extension/Item.js +7 -12
  458. package/src/main/js/sap/ushell/services/Extension.js +54 -19
  459. package/src/main/js/sap/ushell/services/FlpLaunchPage.js +209 -213
  460. package/src/main/js/sap/ushell/services/FrameBoundExtension/FloatingContainer.js +3 -3
  461. package/src/main/js/sap/ushell/services/FrameBoundExtension/Footer.js +3 -3
  462. package/src/main/js/sap/ushell/services/FrameBoundExtension/Item.js +6 -6
  463. package/src/main/js/sap/ushell/services/FrameBoundExtension/SidePane.js +1 -1
  464. package/src/main/js/sap/ushell/services/FrameBoundExtension/ToolArea.js +1 -1
  465. package/src/main/js/sap/ushell/services/FrameBoundExtension/UserSettingsEntry.js +4 -4
  466. package/src/main/js/sap/ushell/services/FrameBoundExtension.js +3 -3
  467. package/src/main/js/sap/ushell/services/LaunchPage.js +1 -2
  468. package/src/main/js/sap/ushell/services/Menu.js +264 -289
  469. package/src/main/js/sap/ushell/services/Message.js +3 -3
  470. package/src/main/js/sap/ushell/services/MessageBroker/MessageBrokerEngine.js +6 -29
  471. package/src/main/js/sap/ushell/services/MessageBroker.js +14 -10
  472. package/src/main/js/sap/ushell/services/MessageInternal.js +37 -38
  473. package/src/main/js/sap/ushell/services/NavTargetResolution.js +2 -5
  474. package/src/main/js/sap/ushell/services/NavTargetResolutionInternal.js +153 -157
  475. package/src/main/js/sap/ushell/services/Navigation/compatibility.js +4 -6
  476. package/src/main/js/sap/ushell/services/Navigation/utils.js +62 -64
  477. package/src/main/js/sap/ushell/services/Navigation.js +10 -14
  478. package/src/main/js/sap/ushell/services/NavigationDataProvider.js +2 -2
  479. package/src/main/js/sap/ushell/services/Notifications.js +29 -15
  480. package/src/main/js/sap/ushell/services/NotificationsV2.js +86 -98
  481. package/src/main/js/sap/ushell/services/PageBuilding.js +9 -6
  482. package/src/main/js/sap/ushell/services/PagePersistence.js +3 -3
  483. package/src/main/js/sap/ushell/services/PageReferencing.js +4 -2
  484. package/src/main/js/sap/ushell/services/Pages.js +635 -683
  485. package/src/main/js/sap/ushell/services/Personalization.js +103 -134
  486. package/src/main/js/sap/ushell/services/PersonalizationV2/ContextContainer.js +29 -32
  487. package/src/main/js/sap/ushell/services/PersonalizationV2/Personalizer.js +21 -6
  488. package/src/main/js/sap/ushell/services/PersonalizationV2/TransientPersonalizer.js +1 -2
  489. package/src/main/js/sap/ushell/services/PersonalizationV2/Variant.js +5 -1
  490. package/src/main/js/sap/ushell/services/PersonalizationV2/VariantSet.js +5 -8
  491. package/src/main/js/sap/ushell/services/PersonalizationV2/VariantSetAdapter.js +2 -2
  492. package/src/main/js/sap/ushell/services/PersonalizationV2/WindowAdapter.js +10 -11
  493. package/src/main/js/sap/ushell/services/PersonalizationV2/WindowAdapterContainer.js +27 -27
  494. package/src/main/js/sap/ushell/services/PersonalizationV2/constants.js +1 -2
  495. package/src/main/js/sap/ushell/services/PersonalizationV2/constants.private.js +1 -1
  496. package/src/main/js/sap/ushell/services/PersonalizationV2/utils.js +5 -5
  497. package/src/main/js/sap/ushell/services/PersonalizationV2.js +92 -105
  498. package/src/main/js/sap/ushell/services/PluginManager/Extensions.js +9 -9
  499. package/src/main/js/sap/ushell/services/PluginManager/HeaderExtensions.js +2 -2
  500. package/src/main/js/sap/ushell/services/PluginManager/MenuExtensions.js +4 -4
  501. package/src/main/js/sap/ushell/services/PluginManager/SimpleExpression.js +5 -8
  502. package/src/main/js/sap/ushell/services/PluginManager.js +12 -8
  503. package/src/main/js/sap/ushell/services/ReferenceResolver.js +21 -28
  504. package/src/main/js/sap/ushell/services/Search.js +25 -21
  505. package/src/main/js/sap/ushell/services/SearchCEP.js +38 -32
  506. package/src/main/js/sap/ushell/services/SearchableContent.js +203 -223
  507. package/src/main/js/sap/ushell/services/ShellNavigation.js +5 -3
  508. package/src/main/js/sap/ushell/services/ShellNavigationHashChanger.js +160 -164
  509. package/src/main/js/sap/ushell/services/ShellNavigationInternal.js +23 -19
  510. package/src/main/js/sap/ushell/services/SmartNavigation.js +86 -82
  511. package/src/main/js/sap/ushell/services/SpaceContent.js +73 -106
  512. package/src/main/js/sap/ushell/services/SupportTicket.js +1 -1
  513. package/src/main/js/sap/ushell/services/UITracer.js +48 -62
  514. package/src/main/js/sap/ushell/services/URLShortening.js +2 -2
  515. package/src/main/js/sap/ushell/services/URLTemplate.js +7 -8
  516. package/src/main/js/sap/ushell/services/Ui5ComponentHandle.js +5 -5
  517. package/src/main/js/sap/ushell/services/Ui5ComponentLoader.js +1 -1
  518. package/src/main/js/sap/ushell/services/UsageAnalytics.js +2 -3
  519. package/src/main/js/sap/ushell/services/UserDefaultParameterPersistence.js +10 -10
  520. package/src/main/js/sap/ushell/services/UserDefaultParameters.js +12 -13
  521. package/src/main/js/sap/ushell/services/UserInfo.js +27 -15
  522. package/src/main/js/sap/ushell/services/UserRecents/RecentActivity.js +6 -7
  523. package/src/main/js/sap/ushell/services/UserRecents/RecentAppsUsage.js +5 -5
  524. package/src/main/js/sap/ushell/services/UserRecents/RecentsList.js +2 -2
  525. package/src/main/js/sap/ushell/services/UserRecents/UserRecentsBase.js +2 -2
  526. package/src/main/js/sap/ushell/services/UserRecents.js +3 -3
  527. package/src/main/js/sap/ushell/services/VisualizationDataProvider.js +63 -66
  528. package/src/main/js/sap/ushell/services/VisualizationInstantiation.js +11 -11
  529. package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/ContentExtensionAdapterConfig.js +1 -1
  530. package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/FeaturedGroupConfig.js +1 -1
  531. package/src/main/js/sap/ushell/services/_CrossApplicationNavigation/utils.js +1 -1
  532. package/src/main/js/sap/ushell/services/_PageReferencing/PageReferencer.js +1 -1
  533. package/src/main/js/sap/ushell/services/personalization/VariantSetAdapter.js +10 -10
  534. package/src/main/js/sap/ushell/state/BaseState.js +2 -3
  535. package/src/main/js/sap/ushell/state/BindingHelper.js +2 -4
  536. package/src/main/js/sap/ushell/state/ControlManager.js +2 -3
  537. package/src/main/js/sap/ushell/state/CurrentState.js +2 -2
  538. package/src/main/js/sap/ushell/state/KeepAlive.js +2 -2
  539. package/src/main/js/sap/ushell/state/ShellModel.js +2 -3
  540. package/src/main/js/sap/ushell/state/StateManager/LaunchpadState.js +2 -2
  541. package/src/main/js/sap/ushell/state/StateManager/Operation.js +2 -2
  542. package/src/main/js/sap/ushell/state/StateManager/ShellMode.js +2 -2
  543. package/src/main/js/sap/ushell/state/StateManager.js +3 -3
  544. package/src/main/js/sap/ushell/state/StateRules.js +2 -3
  545. package/src/main/js/sap/ushell/state/StrategyFactory/DefaultStrategy.js +2 -3
  546. package/src/main/js/sap/ushell/state/StrategyFactory/FloatingActionsStrategy.js +2 -3
  547. package/src/main/js/sap/ushell/state/StrategyFactory/FloatingContainerStrategy.js +2 -3
  548. package/src/main/js/sap/ushell/state/StrategyFactory/HeadEndItemsStrategy.js +10 -4
  549. package/src/main/js/sap/ushell/state/StrategyFactory/HeadItemsStrategy.js +3 -4
  550. package/src/main/js/sap/ushell/state/StrategyFactory/SidePaneStrategy.js +2 -3
  551. package/src/main/js/sap/ushell/state/StrategyFactory/SubHeaderStrategy.js +2 -3
  552. package/src/main/js/sap/ushell/state/StrategyFactory/UserActionsStrategy.js +3 -4
  553. package/src/main/js/sap/ushell/state/StrategyFactory.js +2 -3
  554. package/src/main/js/sap/ushell/state/modules/BackNavigation.js +2 -5
  555. package/src/main/js/sap/ushell/state/modules/ContentDensity.js +3 -3
  556. package/src/main/js/sap/ushell/state/modules/Favicon.js +3 -3
  557. package/src/main/js/sap/ushell/state/modules/HeaderLogo.js +3 -3
  558. package/src/main/js/sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin.js +123 -123
  559. package/src/main/js/sap/ushell/themes/base/ShellBar.less +2 -1
  560. package/src/main/js/sap/ushell/themes/base/ShellHeader.less +1 -1
  561. package/src/main/js/sap/ushell/themes/base/ToolAreaItem.less +2 -1
  562. package/src/main/js/sap/ushell/themes/sap_fiori_3/ShellBar.less +9 -0
  563. package/src/main/js/sap/ushell/themes/sap_fiori_3/ShellHeader.less +6 -0
  564. package/src/main/js/sap/ushell/themes/sap_fiori_3/library.source.less +1 -0
  565. package/src/main/js/sap/ushell/themes/sap_fiori_3_dark/ShellBar.less +9 -0
  566. package/src/main/js/sap/ushell/themes/sap_fiori_3_dark/library.source.less +1 -0
  567. package/src/main/js/sap/ushell/themes/sap_fiori_3_hcb/ShellBar.less +9 -0
  568. package/src/main/js/sap/ushell/themes/sap_fiori_3_hcb/library.source.less +1 -0
  569. package/src/main/js/sap/ushell/themes/sap_fiori_3_hcw/ShellBar.less +9 -0
  570. package/src/main/js/sap/ushell/themes/sap_fiori_3_hcw/library.source.less +1 -0
  571. package/src/main/js/sap/ushell/themes/sap_hcb/base_ShellHeader.less +1 -1
  572. package/src/main/js/sap/ushell/thirdparty/Avatar.js +86 -19
  573. package/src/main/js/sap/ushell/thirdparty/BusyIndicator.js +23 -245
  574. package/src/main/js/sap/ushell/thirdparty/Button.js +1 -1
  575. package/src/main/js/sap/ushell/thirdparty/Button2.js +100 -28
  576. package/src/main/js/sap/ushell/thirdparty/FocusableElements.js +10 -0
  577. package/src/main/js/sap/ushell/thirdparty/Icon.js +37 -20
  578. package/src/main/js/sap/ushell/thirdparty/Icons.js +151 -111
  579. package/src/main/js/sap/ushell/thirdparty/Label.js +6 -6
  580. package/src/main/js/sap/ushell/thirdparty/Link.js +14 -13
  581. package/src/main/js/sap/ushell/thirdparty/List.js +76 -549
  582. package/src/main/js/sap/ushell/thirdparty/ListBoxItemGroupTemplate.js +14 -0
  583. package/src/main/js/sap/ushell/thirdparty/ListItemAdditionalText.css.js +10 -0
  584. package/src/main/js/sap/ushell/thirdparty/ListItemBase.js +251 -0
  585. package/src/main/js/sap/ushell/thirdparty/ListItemCustom.js +1685 -91
  586. package/src/main/js/sap/ushell/thirdparty/ListItemGroup.js +637 -0
  587. package/src/main/js/sap/ushell/thirdparty/Menu.js +78 -90
  588. package/src/main/js/sap/ushell/thirdparty/MenuItem.js +1 -1
  589. package/src/main/js/sap/ushell/thirdparty/MenuItem2.js +391 -49
  590. package/src/main/js/sap/ushell/thirdparty/NotificationList.js +10 -10
  591. package/src/main/js/sap/ushell/thirdparty/NotificationListGroupItem.js +21 -21
  592. package/src/main/js/sap/ushell/thirdparty/NotificationListItem.js +520 -517
  593. package/src/main/js/sap/ushell/thirdparty/NotificationListItemBase.js +6 -6
  594. package/src/main/js/sap/ushell/thirdparty/ResponsivePopover.js +2306 -0
  595. package/src/main/js/sap/ushell/thirdparty/SearchItem.js +128 -0
  596. package/src/main/js/sap/ushell/thirdparty/SearchItemGroup.js +44 -0
  597. package/src/main/js/sap/ushell/thirdparty/SearchMessageArea.js +49 -0
  598. package/src/main/js/sap/ushell/thirdparty/SearchScope.js +39 -0
  599. package/src/main/js/sap/ushell/thirdparty/ShellBar.js +226 -185
  600. package/src/main/js/sap/ushell/thirdparty/ShellBarBranding.js +119 -0
  601. package/src/main/js/sap/ushell/thirdparty/ShellBarSearch.js +7 -0
  602. package/src/main/js/sap/ushell/thirdparty/ShellBarSearch2.js +3380 -0
  603. package/src/main/js/sap/ushell/thirdparty/Tag.js +16 -15
  604. package/src/main/js/sap/ushell/thirdparty/Text.js +10 -10
  605. package/src/main/js/sap/ushell/thirdparty/Title.js +167 -0
  606. package/src/main/js/sap/ushell/thirdparty/UserMenu.js +60 -59
  607. package/src/main/js/sap/ushell/thirdparty/UserMenuItem.js +5 -5
  608. package/src/main/js/sap/ushell/thirdparty/ValueState.js +7 -0
  609. package/src/main/js/sap/ushell/thirdparty/WrappingType.js +24 -0
  610. package/src/main/js/sap/ushell/thirdparty/_dynamics/InputSuggestions.js +397 -0
  611. package/src/main/js/sap/ushell/thirdparty/_dynamics/ListItemStandardExpandableTextTemplate.js +8 -8
  612. package/src/main/js/sap/ushell/thirdparty/_dynamics/SAP-icons-TNT.js +202 -178
  613. package/src/main/js/sap/ushell/thirdparty/_dynamics/SAP-icons-TNT2.js +145 -121
  614. package/src/main/js/sap/ushell/thirdparty/_dynamics/SAP-icons.js +2 -1
  615. package/src/main/js/sap/ushell/thirdparty/_dynamics/SAP-icons2.js +2 -1
  616. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ar2.js +183 -18
  617. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ar3.js +32 -8
  618. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_bg2.js +184 -19
  619. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_bg3.js +32 -8
  620. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ca2.js +185 -20
  621. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ca3.js +33 -9
  622. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cnr2.js +182 -17
  623. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cnr3.js +31 -7
  624. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cs2.js +182 -17
  625. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cs3.js +31 -7
  626. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cy2.js +182 -17
  627. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cy3.js +32 -8
  628. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_da2.js +182 -17
  629. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_da3.js +31 -7
  630. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_de2.js +182 -17
  631. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_de3.js +32 -8
  632. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_el2.js +182 -17
  633. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_el3.js +31 -7
  634. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en.js +3 -174
  635. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en2.js +174 -672
  636. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en3.js +837 -564
  637. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en4.js +602 -0
  638. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_GB2.js +182 -17
  639. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_GB3.js +32 -8
  640. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_sappsd.js +3 -174
  641. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_sappsd2.js +174 -672
  642. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_sappsd3.js +837 -564
  643. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_sappsd4.js +596 -0
  644. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saprigi.js +3 -174
  645. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saprigi2.js +174 -672
  646. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saprigi3.js +837 -567
  647. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saprigi4.js +602 -0
  648. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saptrc.js +3 -174
  649. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saptrc2.js +174 -672
  650. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saptrc3.js +837 -564
  651. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saptrc4.js +596 -0
  652. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es2.js +185 -20
  653. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es3.js +33 -9
  654. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es_MX2.js +185 -20
  655. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es_MX3.js +34 -10
  656. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_et2.js +182 -17
  657. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_et3.js +31 -7
  658. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fi2.js +182 -17
  659. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fi3.js +31 -7
  660. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr2.js +182 -17
  661. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr3.js +32 -8
  662. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr_CA2.js +182 -17
  663. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr_CA3.js +31 -7
  664. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hi2.js +182 -17
  665. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hi3.js +31 -7
  666. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hr2.js +183 -18
  667. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hr3.js +31 -7
  668. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hu2.js +182 -17
  669. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hu3.js +31 -7
  670. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_id2.js +184 -19
  671. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_id3.js +33 -9
  672. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_it2.js +186 -21
  673. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_it3.js +35 -11
  674. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_iw2.js +182 -17
  675. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_iw3.js +33 -9
  676. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ja2.js +182 -17
  677. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ja3.js +32 -8
  678. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_kk2.js +183 -18
  679. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_kk3.js +32 -8
  680. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ko2.js +182 -17
  681. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ko3.js +31 -7
  682. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lt2.js +182 -17
  683. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lt3.js +31 -7
  684. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lv2.js +184 -19
  685. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lv3.js +33 -9
  686. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_mk2.js +183 -18
  687. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_mk3.js +31 -7
  688. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ms2.js +183 -18
  689. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ms3.js +33 -9
  690. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_nl2.js +182 -17
  691. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_nl3.js +31 -7
  692. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_no2.js +182 -17
  693. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_no3.js +32 -8
  694. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pl2.js +182 -17
  695. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pl3.js +32 -8
  696. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt2.js +182 -17
  697. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt3.js +31 -7
  698. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt_PT2.js +182 -17
  699. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt_PT3.js +32 -8
  700. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ro2.js +182 -17
  701. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ro3.js +31 -7
  702. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ru2.js +183 -18
  703. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ru3.js +31 -7
  704. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sh2.js +182 -17
  705. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sh3.js +31 -7
  706. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sk2.js +182 -17
  707. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sk3.js +31 -7
  708. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sl2.js +185 -20
  709. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sl3.js +32 -8
  710. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sr2.js +182 -17
  711. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sr3.js +31 -7
  712. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sv2.js +182 -17
  713. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sv3.js +32 -8
  714. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_th2.js +182 -17
  715. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_th3.js +31 -7
  716. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_tr2.js +182 -17
  717. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_tr3.js +31 -7
  718. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_uk2.js +183 -18
  719. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_uk3.js +31 -7
  720. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_vi2.js +182 -17
  721. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_vi3.js +32 -8
  722. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_CN2.js +182 -17
  723. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_CN3.js +32 -8
  724. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_TW2.js +184 -19
  725. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_TW3.js +31 -7
  726. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css10.js +1 -1
  727. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css11.js +1 -1
  728. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css12.js +1 -1
  729. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css13.js +1 -1
  730. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css14.js +1 -1
  731. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css15.js +1 -1
  732. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css16.js +1 -1
  733. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css17.js +1 -1
  734. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css18.js +1 -1
  735. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css19.js +1 -1
  736. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css20.js +1 -1
  737. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css21.js +1 -1
  738. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css22.js +1 -1
  739. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css23.js +1 -1
  740. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css24.js +1 -1
  741. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css25.js +1 -1
  742. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css26.js +7 -0
  743. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css3.js +1 -1
  744. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css4.js +1 -1
  745. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css5.js +1 -1
  746. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css6.js +1 -1
  747. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css7.js +1 -1
  748. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css8.js +1 -1
  749. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css9.js +1 -1
  750. package/src/main/js/sap/ushell/thirdparty/encodeXML.js +87 -0
  751. package/src/main/js/sap/ushell/thirdparty/generateHighlightedMarkup.js +9 -0
  752. package/src/main/js/sap/ushell/thirdparty/i18n-defaults.js +157 -149
  753. package/src/main/js/sap/ushell/thirdparty/i18n-defaults2.js +18 -0
  754. package/src/main/js/sap/ushell/thirdparty/information.js +10 -13
  755. package/src/main/js/sap/ushell/thirdparty/information2.js +13 -0
  756. package/src/main/js/sap/ushell/thirdparty/overflow.js +16 -36
  757. package/src/main/js/sap/ushell/thirdparty/parameters-bundle.css.js +40 -4
  758. package/src/main/js/sap/ushell/thirdparty/parameters-bundle.css2.js +8 -0
  759. package/src/main/js/sap/ushell/thirdparty/query.js +1 -4
  760. package/src/main/js/sap/ushell/thirdparty/slim-arrow-down.js +44 -0
  761. package/src/main/js/sap/ushell/thirdparty/sys-enter-2.js +7 -0
  762. package/src/main/js/sap/ushell/thirdparty/toLowercaseEnumValue.js +0 -8
  763. package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-icons/AllIcons.js +2 -2
  764. package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-icons-business-suite/AllIcons.js +2 -2
  765. package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-icons-tnt/AllIcons.js +2 -2
  766. package/src/main/js/sap/ushell/thirdparty/webcomponents-base.js +96 -79
  767. package/src/main/js/sap/ushell/thirdparty/webcomponents-fiori.js +14 -14
  768. package/src/main/js/sap/ushell/thirdparty/webcomponents.js +29 -29
  769. package/src/main/js/sap/ushell/thirdparty/willShowContent.js +7 -0
  770. package/src/main/js/sap/ushell/ui/ShellHeader.js +0 -1
  771. package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +1 -1
  772. package/src/main/js/sap/ushell/ui/launchpad/ExtendedChangeDetection.js +1 -1
  773. package/src/main/js/sap/ushell/ui/launchpad/Section.js +1 -1
  774. package/src/main/js/sap/ushell/ui/launchpad/VizInstance.js +6 -1
  775. package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.js +1 -1
  776. package/src/main/js/sap/ushell/ui/shell/ShellAppTitle.js +1 -0
  777. package/src/main/js/sap/ushell/ui/shell/ToolAreaItem.js +5 -2
  778. package/src/main/js/sap/ushell/ui/utils.js +1 -1
  779. package/src/main/js/sap/ushell/ui5service/ShellUIServiceFactory.js +1 -1
  780. package/src/main/js/sap/ushell/ui5service/UserStatus.js +1 -1
  781. package/src/main/js/sap/ushell/utils/UrlShortening.js +1 -1
  782. package/src/main/js/sap/ushell/utils/workpage/WorkPageHost.js +1 -1
  783. package/src/main/js/sap/ushell/utils/workpage/WorkPageService.js +1 -1
  784. package/src/main/js/sap/ushell/utils/workpage/WorkPageVizInstantiation.js +1 -1
  785. package/src/main/js/sap/ushell/utils.js +32 -1
  786. package/src/test/js/sap/ushell/bootstrap/sandbox.js +1 -1
  787. package/ui5.yaml +2 -0
  788. package/src/main/js/sap/ushell/thirdparty/ListItemTemplate.js +0 -3920
  789. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css2.js +0 -7
  790. /package/src/main/js/sap/ushell/components/shell/SearchCEP/{SearchFieldFragment.fragment.xml → SearchField.fragment.xml} +0 -0
@@ -6,7 +6,7 @@
6
6
  * It exposes interfaces to perform a hash change and/or trigger an external navigation.
7
7
  *
8
8
  * @deprecated since 1.120. Please use {@link sap.ushell.services.Navigation} instead.
9
- * @version 1.138.1
9
+ * @version 1.139.1
10
10
  */
11
11
  sap.ui.define([
12
12
  "sap/ushell/services/AppConfiguration",
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  "sap/base/util/deepClone",
28
28
  "sap/ui/base/Object",
29
29
  "sap/ushell/api/common/ComponentInstantiation"
30
- ], function (
30
+ ], (
31
31
  AppConfiguration,
32
32
  crossApplicationNavigationUtils,
33
33
  typeUtils,
@@ -46,7 +46,7 @@ sap.ui.define([
46
46
  deepClone,
47
47
  BaseObject,
48
48
  ComponentInstantiation
49
- ) {
49
+ ) => {
50
50
  "use strict";
51
51
 
52
52
  /**
@@ -118,7 +118,7 @@ sap.ui.define([
118
118
  * @public
119
119
  */
120
120
  function CrossApplicationNavigation (oContainerInterface, sParameters, oServiceConf) {
121
- var oServiceConfiguration;
121
+ let oServiceConfiguration;
122
122
  if (oServiceConf && oServiceConf.config) {
123
123
  oServiceConfiguration = oServiceConf.config;
124
124
  }
@@ -163,9 +163,9 @@ sap.ui.define([
163
163
  * @private
164
164
  */
165
165
  function getTargetWithCurrentSystem (vTarget, oComponent) {
166
- var sSystem;
167
- var sNextNavMode;
168
- var sAppOrigin;
166
+ let sSystem;
167
+ let sNextNavMode;
168
+ let sAppOrigin;
169
169
 
170
170
  if (typeof vTarget !== "string" && !isPlainObject(vTarget) && vTarget !== undefined) {
171
171
  Log.error("Unexpected input type", null, "sap.ushell.services.CrossApplicationNavigation");
@@ -176,7 +176,7 @@ sap.ui.define([
176
176
  return undefined;
177
177
  }
178
178
 
179
- var oResolution = AppConfiguration.getCurrentApplication();
179
+ const oResolution = AppConfiguration.getCurrentApplication();
180
180
  if (oComponent) {
181
181
  // Take sap-system, sap-ushell-next-navmode and sap-app-origin-hint parameters from the component
182
182
  if (typeof oComponent.getComponentData !== "function" ||
@@ -189,7 +189,7 @@ sap.ui.define([
189
189
  "sap.ushell.services.CrossApplicationNavigation"
190
190
  );
191
191
  } else {
192
- var oComponentStartupParams = oComponent.getComponentData().startupParameters; // assume always present on root component
192
+ const oComponentStartupParams = oComponent.getComponentData().startupParameters; // assume always present on root component
193
193
  if (oComponentStartupParams.hasOwnProperty("sap-system")) {
194
194
  sSystem = oComponentStartupParams["sap-system"][0];
195
195
  }
@@ -215,7 +215,7 @@ sap.ui.define([
215
215
  sAppOrigin = oResolution.contentProviderId;
216
216
  }
217
217
 
218
- var vInjectedTarget = crossApplicationNavigationUtils._injectParameters({
218
+ const vInjectedTarget = crossApplicationNavigationUtils._injectParameters({
219
219
  type: typeUtils,
220
220
  inject: {
221
221
  "sap-system": sSystem,
@@ -315,7 +315,7 @@ sap.ui.define([
315
315
 
316
316
  if (isPlainObject(vTarget)) {
317
317
  // needs deep copy
318
- var oClonedTarget = deepExtend({}, vTarget);
318
+ const oClonedTarget = deepExtend({}, vTarget);
319
319
  if (oClonedTarget.target && oClonedTarget.target.shellHash) {
320
320
  if (typeof oClonedTarget.target.shellHash === "string") {
321
321
  // process shell hash as a string
@@ -332,11 +332,11 @@ sap.ui.define([
332
332
 
333
333
  return oClonedTarget;
334
334
  }
335
- var sShellHash = vTarget;
335
+ let sShellHash = vTarget;
336
336
 
337
337
  if (!/[?&]sap-system=/.test(sShellHash)) {
338
- var sSeparator = (sShellHash.indexOf("?") > -1) ? "&" : "?";
339
- sShellHash += sSeparator + "sap-ushell-enc-test=" + encodeURIComponent("A B%20C");
338
+ const sSeparator = (sShellHash.indexOf("?") > -1) ? "&" : "?";
339
+ sShellHash += `${sSeparator}sap-ushell-enc-test=${encodeURIComponent("A B%20C")}`;
340
340
  }
341
341
  return sShellHash;
342
342
  }
@@ -381,24 +381,22 @@ sap.ui.define([
381
381
  * @private
382
382
  */
383
383
  this._extractInnerAppRoute = function (vIntent) {
384
- var that = this;
385
-
386
384
  if (typeof vIntent === "string") {
387
- var aParts = vIntent.split("&/"); // ["Object-action", "inner-app/route", ... ]
388
- var sIntent = aParts.shift(); // aParts now contains parts of inner-app route
385
+ const aParts = vIntent.split("&/"); // ["Object-action", "inner-app/route", ... ]
386
+ const sIntent = aParts.shift(); // aParts now contains parts of inner-app route
389
387
 
390
388
  return {
391
389
  intent: sIntent,
392
390
  innerAppRoute: aParts.length > 0
393
- ? "&/" + aParts.join("&/")
391
+ ? `&/${aParts.join("&/")}`
394
392
  : ""
395
393
  };
396
394
  }
397
395
 
398
396
  if (Object.prototype.toString.apply(vIntent) === "[object Object]") {
399
- var sShellHash = ObjectPath.get("target.shellHash", vIntent);
397
+ const sShellHash = ObjectPath.get("target.shellHash", vIntent);
400
398
  if (typeof sShellHash === "string") {
401
- var oResult = that._extractInnerAppRoute(sShellHash);
399
+ const oResult = this._extractInnerAppRoute(sShellHash);
402
400
 
403
401
  // modify the source object
404
402
  vIntent.target.shellHash = oResult.intent;
@@ -410,17 +408,17 @@ sap.ui.define([
410
408
  }
411
409
 
412
410
  if (vIntent.hasOwnProperty("appSpecificRoute")) {
413
- var vAppSpecificRoute = vIntent.appSpecificRoute;
411
+ const vAppSpecificRoute = vIntent.appSpecificRoute;
414
412
 
415
413
  delete vIntent.appSpecificRoute;
416
414
 
417
- var bIsStringWithoutSeparator = typeof vAppSpecificRoute === "string"
415
+ const bIsStringWithoutSeparator = typeof vAppSpecificRoute === "string"
418
416
  && vAppSpecificRoute.indexOf("&/") !== 0
419
417
  && vAppSpecificRoute.length > 0;
420
418
 
421
419
  return {
422
420
  innerAppRoute: bIsStringWithoutSeparator
423
- ? "&/" + vAppSpecificRoute // vAppSpecificRoute guaranteed to be string
421
+ ? `&/${vAppSpecificRoute}` // vAppSpecificRoute guaranteed to be string
424
422
  : vAppSpecificRoute, // can be an object
425
423
  intent: vIntent
426
424
  };
@@ -451,8 +449,6 @@ sap.ui.define([
451
449
  * @private
452
450
  */
453
451
  this._injectInnerAppRoute = function (vIntent, sInnerAppRoute) {
454
- var that = this;
455
-
456
452
  if (!sInnerAppRoute) {
457
453
  return vIntent;
458
454
  }
@@ -462,9 +458,9 @@ sap.ui.define([
462
458
  }
463
459
 
464
460
  if (Object.prototype.toString.apply(vIntent) === "[object Object]") {
465
- var sShellHash = ObjectPath.get("target.shellHash", vIntent);
461
+ const sShellHash = ObjectPath.get("target.shellHash", vIntent);
466
462
  if (typeof sShellHash === "string") {
467
- vIntent.target.shellHash = that._injectInnerAppRoute(
463
+ vIntent.target.shellHash = this._injectInnerAppRoute(
468
464
  sShellHash, sInnerAppRoute
469
465
  );
470
466
 
@@ -554,7 +550,7 @@ sap.ui.define([
554
550
  }
555
551
 
556
552
  if (bAsync) {
557
- var oDeferred = new jQuery.Deferred();
553
+ const oDeferred = new jQuery.Deferred();
558
554
  this.hrefForExternalAsync(oArgs, oComponent)
559
555
  .then(oDeferred.resolve)
560
556
  .catch(oDeferred.reject);
@@ -569,10 +565,10 @@ sap.ui.define([
569
565
 
570
566
  // clone because _extractInnerAppRoute may change the original structure
571
567
  // (we don't want to create side effects on the original object).
572
- var oArgsClone = merge({}, oArgs);
573
- var oExtraction = this._extractInnerAppRoute(oArgsClone);
568
+ let oArgsClone = merge({}, oArgs);
569
+ const oExtraction = this._extractInnerAppRoute(oArgsClone);
574
570
 
575
- var vIntentNoAppRoute = oExtraction.intent;
571
+ const vIntentNoAppRoute = oExtraction.intent;
576
572
 
577
573
  crossApplicationNavigationUtils.addXAppStateFromParameter(
578
574
  vIntentNoAppRoute,
@@ -590,7 +586,7 @@ sap.ui.define([
590
586
 
591
587
  oArgsClone = this._injectInnerAppRoute(oArgsClone, oExtraction.innerAppRoute);
592
588
 
593
- var ShellNavigationInternal = sap.ushell.Container.getService("ShellNavigationInternal"); // LEGACY API (deprecated)
589
+ const ShellNavigationInternal = sap.ushell.Container.getService("ShellNavigationInternal"); // LEGACY API (deprecated)
594
590
 
595
591
  if (!ShellNavigationInternal) {
596
592
  Log.debug("Shell not available, no Cross App Navigation");
@@ -673,48 +669,38 @@ sap.ui.define([
673
669
  * @since 1.94.0
674
670
  * @public
675
671
  */
676
- this.hrefForExternalAsync = function (oArgs, oComponent) {
672
+ this.hrefForExternalAsync = async function (oArgs, oComponent) {
677
673
  // clone because _extractInnerAppRoute may change the original structure
678
674
  // (we don't want to create side effects on the original object).
679
- var oArgsClone = merge({}, oArgs);
680
- var oExtraction = this._extractInnerAppRoute(oArgsClone);
681
-
682
- var vIntentNoAppRoute = oExtraction.intent;
683
-
684
- return Promise.resolve()
685
- .then(function () {
686
- return crossApplicationNavigationUtils.addXAppStateFromParameterAsync(
687
- vIntentNoAppRoute,
688
- "sap-xapp-state-data" /* parameter containing data */
689
- );
690
- })
691
- .then(function () {
692
- oArgsClone = getTargetWithCurrentSystem(vIntentNoAppRoute, oComponent);
693
- return crossApplicationNavigationUtils.injectStickyParametersAsync({
694
- args: oArgsClone,
695
- appLifeCycle: AppLifeCycleAI,
696
- technicalParameters: TechnicalParameters,
697
- type: typeUtils
698
- });
699
- })
700
- .then(function (oArgsCloneResult) {
701
- oArgsClone = oArgsCloneResult;
702
- oArgsClone = amendTargetWithSapUshellEncTestParameter(oArgsClone);
703
- oArgsClone = this._injectInnerAppRoute(oArgsClone, oExtraction.innerAppRoute);
704
-
705
- return sap.ushell.Container.getServiceAsync("ShellNavigationInternal");
706
- }.bind(this))
707
- .then(function (ShellNavigationInternal) {
708
- return new Promise(function (resolve, reject) {
709
- ShellNavigationInternal.hrefForExternal(oArgsClone, undefined, oComponent)
710
- .then(resolve)
711
- .catch(reject);
712
- });
713
- })
714
- .catch(function () {
715
- Log.debug("Shell not available, no Cross App Navigation");
716
- return "";
675
+ let oArgsClone = merge({}, oArgs);
676
+ const oExtraction = this._extractInnerAppRoute(oArgsClone);
677
+
678
+ const vIntentNoAppRoute = oExtraction.intent;
679
+
680
+ try {
681
+ /* parameter containing data */
682
+ await crossApplicationNavigationUtils.addXAppStateFromParameterAsync(vIntentNoAppRoute, "sap-xapp-state-data");
683
+ oArgsClone = getTargetWithCurrentSystem(vIntentNoAppRoute, oComponent);
684
+ const oArgsCloneResult = await crossApplicationNavigationUtils.injectStickyParametersAsync({
685
+ args: oArgsClone,
686
+ appLifeCycle: AppLifeCycleAI,
687
+ technicalParameters: TechnicalParameters,
688
+ type: typeUtils
689
+ });
690
+ oArgsClone = oArgsCloneResult;
691
+ oArgsClone = amendTargetWithSapUshellEncTestParameter(oArgsClone);
692
+ oArgsClone = this._injectInnerAppRoute(oArgsClone, oExtraction.innerAppRoute);
693
+
694
+ const ShellNavigationInternal = await sap.ushell.Container.getServiceAsync("ShellNavigationInternal");
695
+ return new Promise((resolve, reject) => {
696
+ ShellNavigationInternal.hrefForExternal(oArgsClone, undefined, oComponent)
697
+ .then(resolve)
698
+ .catch(reject);
717
699
  });
700
+ } catch (oError) {
701
+ Log.debug("Shell not available, no Cross App Navigation");
702
+ return "";
703
+ }
718
704
  };
719
705
 
720
706
  /**
@@ -727,9 +713,9 @@ sap.ui.define([
727
713
  * @public
728
714
  */
729
715
  this.expandCompactHash = function (sHashFragment) {
730
- var oDeferred = new jQuery.Deferred();
716
+ const oDeferred = new jQuery.Deferred();
731
717
 
732
- sap.ushell.Container.getServiceAsync("NavTargetResolutionInternal").then(function (NavTargetResolutionInternal) {
718
+ sap.ushell.Container.getServiceAsync("NavTargetResolutionInternal").then((NavTargetResolutionInternal) => {
733
719
  NavTargetResolutionInternal.expandCompactHash(sHashFragment)
734
720
  .done(oDeferred.resolve)
735
721
  .fail(oDeferred.reject);
@@ -747,21 +733,18 @@ sap.ui.define([
747
733
  * Note that the behavior of this method is subject to change and therefore it may not yield to the expected results
748
734
  * especially on mobile devices where "back" is the previous inner-app state if these are put into the history!
749
735
  *
750
- * @returns {Promise<undefined>} A promise which resolves once the back navigation was triggered
736
+ * @returns {Promise} A promise which resolves once the back navigation was triggered
751
737
  *
752
738
  * @public
753
739
  */
754
- this.backToPreviousApp = function () {
755
- return this.isInitialNavigationAsync()
756
- .then(function (bIsInitial) {
757
- if (bIsInitial) {
758
- // go back home
759
- return this.toExternal({ target: { shellHash: "#" }, writeHistory: false });
760
- }
740
+ this.backToPreviousApp = async function () {
741
+ const bIsInitial = await this.isInitialNavigationAsync();
742
+ if (bIsInitial) {
743
+ // go back home
744
+ return this.toExternal({ target: { shellHash: "#" }, writeHistory: false });
745
+ }
761
746
 
762
- this.historyBack();
763
- return undefined;
764
- }.bind(this));
747
+ this.historyBack();
765
748
  };
766
749
 
767
750
  /**
@@ -773,7 +756,7 @@ sap.ui.define([
773
756
  * @public
774
757
  */
775
758
  this.historyBack = function (iSteps) {
776
- var iActualStepsBack = -1;
759
+ let iActualStepsBack = -1;
777
760
  if (iSteps && typeof iSteps === "number") {
778
761
  if (iSteps <= 0) {
779
762
  Log.warning(
@@ -804,8 +787,8 @@ sap.ui.define([
804
787
  "sap.ushell.services.CrossApplicationNavigation"
805
788
  );
806
789
 
807
- var oContainer = ObjectPath.get("sap.ushell.Container");
808
- var oShellNavigationInternal = oContainer
790
+ const oContainer = ObjectPath.get("sap.ushell.Container");
791
+ const oShellNavigationInternal = oContainer
809
792
  && typeof oContainer.getService === "function"
810
793
  && oContainer.getService("ShellNavigationInternal");
811
794
 
@@ -818,7 +801,7 @@ sap.ui.define([
818
801
  return true;
819
802
  }
820
803
 
821
- var bIsInitialNavigation = oShellNavigationInternal.isInitialNavigation();
804
+ const bIsInitialNavigation = oShellNavigationInternal.isInitialNavigation();
822
805
 
823
806
  // An undefined value indicates that the ShellNavigationInternal service did not initialize the ShellNavigationHashChanger yet.
824
807
  // Hence this is the first navigation in case asked at this point in time.
@@ -839,27 +822,26 @@ sap.ui.define([
839
822
  * @since 1.94.0
840
823
  * @public
841
824
  */
842
- this.isInitialNavigationAsync = function () {
843
- return sap.ushell.Container.getServiceAsync("ShellNavigationInternal")
844
- .then(function (ShellNavigationInternal) {
845
- var bIsInitialNavigation = ShellNavigationInternal.isInitialNavigation();
846
-
847
- // An undefined value indicates that the ShellNavigationInternal service did not initialize the ShellNavigationHashChanger yet.
848
- // Hence this is the first navigation in case asked at this point in time.
849
- if (typeof bIsInitialNavigation === "undefined") {
850
- return true;
851
- }
852
-
853
- return bIsInitialNavigation;
854
- })
855
- .catch(function () {
856
- Log.debug(
857
- "ShellNavigationInternal service not available",
858
- "This will be treated as the initial navigation",
859
- "sap.ushell.services.CrossApplicationNavigation"
860
- );
825
+ this.isInitialNavigationAsync = async function () {
826
+ try {
827
+ const ShellNavigationInternal = await sap.ushell.Container.getServiceAsync("ShellNavigationInternal");
828
+ const bIsInitialNavigation = ShellNavigationInternal.isInitialNavigation();
829
+
830
+ // An undefined value indicates that the ShellNavigationInternal service did not initialize the ShellNavigationHashChanger yet.
831
+ // Hence this is the first navigation in case asked at this point in time.
832
+ if (typeof bIsInitialNavigation === "undefined") {
861
833
  return true;
862
- });
834
+ }
835
+
836
+ return bIsInitialNavigation;
837
+ } catch (oError) {
838
+ Log.debug(
839
+ "ShellNavigationInternal service not available",
840
+ "This will be treated as the initial navigation",
841
+ "sap.ushell.services.CrossApplicationNavigation"
842
+ );
843
+ return true;
844
+ }
863
845
  };
864
846
 
865
847
  /**
@@ -950,65 +932,50 @@ sap.ui.define([
950
932
  *
951
933
  * @param {object} [oComponent] an optional UI5 component, used to logically attach a possibly generated app state.
952
934
  *
953
- * @returns {Promise<undefined>} A <code>Promise</code> which resolves once the navigation was triggered. The <code>Promise</code> might never reject or resolve
935
+ * @returns {Promise} A <code>Promise</code> which resolves once the navigation was triggered. The <code>Promise</code> might never reject or resolve
954
936
  * when an error occurs during the navigation.
955
937
  *
956
938
  * @since 1.15.0
957
939
  * @public
958
940
  */
959
- this.toExternal = function (oArgs, oComponent) {
960
- var bWriteHistory = oArgs.writeHistory;
941
+ this.toExternal = async function (oArgs, oComponent) {
942
+ const bWriteHistory = oArgs.writeHistory;
961
943
  // clone because _extractInnerAppRoute may change the original structure
962
944
  // (we don't want to create side effects on the original object).
963
- var oArgsClone = merge({}, oArgs);
945
+ let oArgsClone = merge({}, oArgs);
964
946
  // clone again because _extractInnerAppRoute may change the original structure
965
- var oNavTarget = merge({}, oArgsClone);
947
+ const oNavTarget = merge({}, oArgsClone);
966
948
  this._processShellHashWithParams(oArgsClone);
967
- var oExtraction = this._extractInnerAppRoute(oArgsClone);
968
-
969
- var vIntentNoAppRoute = oExtraction.intent;
970
- var oShellNavigationInternal;
971
- var oCurrentApplication;
972
-
973
- return Promise.all([
974
- sap.ushell.Container.getServiceAsync("AppLifeCycle"),
975
- sap.ushell.Container.getServiceAsync("ShellNavigationInternal")
976
- ])
977
- .then(function (aServices) {
978
- var oAppLifeCycleService = aServices[0];
979
- oShellNavigationInternal = aServices[1];
980
- oCurrentApplication = oAppLifeCycleService.getCurrentApplication();
981
- return oCurrentApplication && oCurrentApplication.getIntent();
982
- })
983
- .then(function (oIntent) {
984
- this._checkIfAppNeedsToBeReloaded(oNavTarget, oCurrentApplication, oIntent, oShellNavigationInternal.hashChanger);
985
- return crossApplicationNavigationUtils.addXAppStateFromParameterAsync(
986
- vIntentNoAppRoute,
987
- "sap-xapp-state-data" /* parameter containing data */
988
- );
989
- }.bind(this))
990
- .then(function () {
991
- oArgsClone = getTargetWithCurrentSystem(vIntentNoAppRoute, oComponent);
992
- return crossApplicationNavigationUtils.injectStickyParametersAsync({
993
- args: oArgsClone,
994
- appLifeCycle: AppLifeCycleAI,
995
- technicalParameters: TechnicalParameters,
996
- type: typeUtils
997
- });
998
- })
999
- .then(function (oArgsCloneResult) {
1000
- oArgsClone = oArgsCloneResult;
1001
- oArgsClone = amendTargetWithSapUshellEncTestParameter(oArgsClone);
949
+ const oExtraction = this._extractInnerAppRoute(oArgsClone);
950
+
951
+ const vIntentNoAppRoute = oExtraction.intent;
952
+
953
+ try {
954
+ const oAppLifeCycleService = await sap.ushell.Container.getServiceAsync("AppLifeCycle");
955
+ const oShellNavigationInternal = await sap.ushell.Container.getServiceAsync("ShellNavigationInternal");
956
+ const oCurrentApplication = oAppLifeCycleService.getCurrentApplication();
957
+ const oIntent = oCurrentApplication && await oCurrentApplication.getIntent();
958
+ this._checkIfAppNeedsToBeReloaded(oNavTarget, oCurrentApplication, oIntent, oShellNavigationInternal.hashChanger);
959
+ /* parameter containing data */
960
+ await crossApplicationNavigationUtils.addXAppStateFromParameterAsync(vIntentNoAppRoute, "sap-xapp-state-data");
961
+ oArgsClone = getTargetWithCurrentSystem(vIntentNoAppRoute, oComponent);
962
+ const oArgsCloneResult = await crossApplicationNavigationUtils.injectStickyParametersAsync({
963
+ args: oArgsClone,
964
+ appLifeCycle: AppLifeCycleAI,
965
+ technicalParameters: TechnicalParameters,
966
+ type: typeUtils
967
+ });
968
+ oArgsClone = oArgsCloneResult;
969
+ oArgsClone = amendTargetWithSapUshellEncTestParameter(oArgsClone);
1002
970
 
1003
- delete oArgsClone.writeHistory;
971
+ delete oArgsClone.writeHistory;
1004
972
 
1005
- oArgsClone = this._injectInnerAppRoute(oArgsClone, oExtraction.innerAppRoute);
973
+ oArgsClone = this._injectInnerAppRoute(oArgsClone, oExtraction.innerAppRoute);
1006
974
 
1007
- return oShellNavigationInternal.toExternal(oArgsClone, oComponent, bWriteHistory);
1008
- }.bind(this))
1009
- .catch(function (oError) {
1010
- Log.error("CrossAppNavigation.toExternal failed", oError, "sap.ushell.services.CrossApplicationNavigation");
1011
- });
975
+ return await oShellNavigationInternal.toExternal(oArgsClone, oComponent, bWriteHistory);
976
+ } catch (oError) {
977
+ Log.error("CrossAppNavigation.toExternal failed", oError, "sap.ushell.services.CrossApplicationNavigation");
978
+ }
1012
979
  };
1013
980
 
1014
981
  /**
@@ -1030,7 +997,7 @@ sap.ui.define([
1030
997
 
1031
998
  if (navTarget.target.shellHash) {
1032
999
  // convert shell hash in to semantic object and action form
1033
- var oHash = UrlParsing.parseShellHash(navTarget.target.shellHash) || {};
1000
+ const oHash = UrlParsing.parseShellHash(navTarget.target.shellHash) || {};
1034
1001
 
1035
1002
  navTarget.target = {
1036
1003
  semanticObject: oHash.semanticObject,
@@ -1059,12 +1026,12 @@ sap.ui.define([
1059
1026
 
1060
1027
  // Navigation parameter may not be inside an array and might not be strings
1061
1028
  // So they have to be adjusted in order to be matched against the current parameters
1062
- var oTargetIntent = { params: {} };
1029
+ const oTargetIntent = { params: {} };
1063
1030
  if (navTarget.params) {
1064
- Object.keys(navTarget.params).forEach(function (sKey) {
1065
- var vValue = navTarget.params[sKey];
1066
- var aValue = Array.isArray(vValue) ? vValue : [vValue];
1067
- oTargetIntent.params[sKey] = aValue.map(function (vInnerValue) {
1031
+ Object.keys(navTarget.params).forEach((sKey) => {
1032
+ const vValue = navTarget.params[sKey];
1033
+ const aValue = Array.isArray(vValue) ? vValue : [vValue];
1034
+ oTargetIntent.params[sKey] = aValue.map((vInnerValue) => {
1068
1035
  return vInnerValue.toString();
1069
1036
  });
1070
1037
  });
@@ -1101,16 +1068,16 @@ sap.ui.define([
1101
1068
  "sap.ushell.services.CrossApplicationNavigation"
1102
1069
  );
1103
1070
 
1104
- var oContainer = ObjectPath.get("sap.ushell.Container");
1071
+ const oContainer = ObjectPath.get("sap.ushell.Container");
1105
1072
  if (oContainer && typeof oContainer.getService === "function") {
1106
- var oShellNavigationInternal = oContainer.getService("ShellNavigationInternal");
1073
+ const oShellNavigationInternal = oContainer.getService("ShellNavigationInternal");
1107
1074
  if (oShellNavigationInternal) {
1108
1075
  return oShellNavigationInternal.hrefForAppSpecificHash(sAppHash);
1109
1076
  }
1110
1077
  }
1111
1078
  Log.debug("Shell not available, no Cross App Navigation; fallback to app-specific part only");
1112
1079
  // Note: this encoding is to be kept aligned with the encoding in hasher.js ( see _encodePath( ) )
1113
- return "#" + encodeURI(sAppHash);
1080
+ return `#${encodeURI(sAppHash)}`;
1114
1081
  };
1115
1082
 
1116
1083
  /**
@@ -1130,16 +1097,15 @@ sap.ui.define([
1130
1097
  * @since 1.94.0
1131
1098
  * @public
1132
1099
  */
1133
- this.hrefForAppSpecificHashAsync = function (sAppHash) {
1134
- return sap.ushell.Container.getServiceAsync("ShellNavigationInternal")
1135
- .then(function (ShellNavigationInternal) {
1136
- return ShellNavigationInternal.hrefForAppSpecificHash(sAppHash);
1137
- })
1138
- .catch(function () {
1139
- Log.debug("Shell not available, no Cross App Navigation; fallback to app-specific part only");
1140
- // Note: this encoding is to be kept aligned with the encoding in hasher.js ( see _encodePath( ) )
1141
- return "#" + encodeURI(sAppHash);
1142
- });
1100
+ this.hrefForAppSpecificHashAsync = async function (sAppHash) {
1101
+ try {
1102
+ const ShellNavigationInternal = await sap.ushell.Container.getServiceAsync("ShellNavigationInternal");
1103
+ return ShellNavigationInternal.hrefForAppSpecificHash(sAppHash);
1104
+ } catch (oError) {
1105
+ Log.debug("Shell not available, no Cross App Navigation; fallback to app-specific part only");
1106
+ // Note: this encoding is to be kept aligned with the encoding in hasher.js ( see _encodePath( ) )
1107
+ return `#${encodeURI(sAppHash)}`;
1108
+ }
1143
1109
  };
1144
1110
 
1145
1111
  /**
@@ -1170,9 +1136,9 @@ sap.ui.define([
1170
1136
  * @public
1171
1137
  */
1172
1138
  this.getPrimaryIntent = function (sSemanticObject, mParameters) {
1173
- var oQuery = {};
1174
- var fnSortPredicate;
1175
- var rgxDisplayFactSheetAction = /^#\w+-displayFactSheet(?:$|\?.)/;
1139
+ const oQuery = {};
1140
+ let fnSortPredicate;
1141
+ const rgxDisplayFactSheetAction = /^#\w+-displayFactSheet(?:$|\?.)/;
1176
1142
 
1177
1143
  oQuery.tags = ["primaryAction"];
1178
1144
  oQuery.semanticObject = sSemanticObject;
@@ -1181,20 +1147,18 @@ sap.ui.define([
1181
1147
  }
1182
1148
 
1183
1149
  return this.getLinks(oQuery)
1184
- .then(function (aLinks) {
1150
+ .then((aLinks) => {
1185
1151
  if (aLinks.length === 0) {
1186
1152
  delete oQuery.tags;
1187
1153
  oQuery.action = "displayFactSheet";
1188
1154
 
1189
1155
  // Priority given to intents with the action "displayFactSheet"
1190
1156
  fnSortPredicate = function (oLink, oOtherLink) {
1191
- var bEitherIsFactSheetAction;
1192
-
1193
1157
  if (oLink.intent === oOtherLink.intent) {
1194
1158
  return 0;
1195
1159
  }
1196
1160
 
1197
- bEitherIsFactSheetAction = rgxDisplayFactSheetAction.test(oLink.intent)
1161
+ const bEitherIsFactSheetAction = rgxDisplayFactSheetAction.test(oLink.intent)
1198
1162
  ^ rgxDisplayFactSheetAction.test(oOtherLink.intent);
1199
1163
 
1200
1164
  if (bEitherIsFactSheetAction) {
@@ -1217,8 +1181,8 @@ sap.ui.define([
1217
1181
  };
1218
1182
 
1219
1183
  return aLinks;
1220
- }.bind(this))
1221
- .then(function (aLinks) {
1184
+ })
1185
+ .then((aLinks) => {
1222
1186
  return aLinks.length === 0 ? null : aLinks.sort(fnSortPredicate)[0];
1223
1187
  });
1224
1188
  };
@@ -1265,10 +1229,10 @@ sap.ui.define([
1265
1229
  * @public
1266
1230
  */
1267
1231
  this.getSemanticObjectLinks = function (sSemanticObject, mParameters, bIgnoreFormFactor, oComponent, sAppStateKey, bCompactIntents) {
1268
- var oDeferred = new jQuery.Deferred();
1232
+ const oDeferred = new jQuery.Deferred();
1269
1233
 
1270
1234
  Promise.resolve()
1271
- .then(function () {
1235
+ .then(() => {
1272
1236
  return crossApplicationNavigationUtils.injectStickyParametersAsync({
1273
1237
  args: { params: mParameters },
1274
1238
  appLifeCycle: AppLifeCycleAI,
@@ -1276,15 +1240,15 @@ sap.ui.define([
1276
1240
  type: typeUtils
1277
1241
  });
1278
1242
  })
1279
- .then(function (mParametersPlusSapSystem) {
1243
+ .then((mParametersPlusSapSystem) => {
1280
1244
  mParametersPlusSapSystem = getTargetWithCurrentSystem(mParametersPlusSapSystem, oComponent).params;
1281
1245
  mParametersPlusSapSystem = amendTargetWithSapUshellEncTestParameter({ params: mParametersPlusSapSystem }).params;
1282
1246
 
1283
1247
  // deal with multi-arg calls
1284
- var vArgs;
1248
+ let vArgs;
1285
1249
  if (Array.isArray(sSemanticObject)) {
1286
1250
  vArgs = [];
1287
- sSemanticObject.forEach(function (aArgs) {
1251
+ sSemanticObject.forEach((aArgs) => {
1288
1252
  vArgs.push([{
1289
1253
  semanticObject: aArgs[0],
1290
1254
  params: aArgs[1],
@@ -1311,9 +1275,9 @@ sap.ui.define([
1311
1275
  vArgs
1312
1276
  ]);
1313
1277
  })
1314
- .then(function (aResults) {
1315
- var NavTargetResolutionInternal = aResults[0];
1316
- var vArgs = aResults[1];
1278
+ .then((aResults) => {
1279
+ const NavTargetResolutionInternal = aResults[0];
1280
+ const vArgs = aResults[1];
1317
1281
  ushellUtils.invokeUnfoldingArrayArguments(NavTargetResolutionInternal.getLinks.bind(NavTargetResolutionInternal), [vArgs])
1318
1282
  .done(oDeferred.resolve)
1319
1283
  .fail(oDeferred.reject);
@@ -1470,16 +1434,15 @@ sap.ui.define([
1470
1434
  * @since 1.38.0
1471
1435
  */
1472
1436
  this.getLinks = function (vArgs) {
1473
- var aExpandedIntents;
1474
1437
  // the invokeUnfoldingArrayArguments does not want [oArg1, oArg2, oArg3], but [ [oArg1], [oArg2], [oArg3] ], because the
1475
1438
  // logic in that method is based on positional parameters - however we have only one argument (the oArg object in this case).
1476
- aExpandedIntents = ushellUtils.invokeUnfoldingArrayArguments(this._getLinks.bind(this), [vArgs]);
1439
+ const aExpandedIntents = ushellUtils.invokeUnfoldingArrayArguments(this._getLinks.bind(this), [vArgs]);
1477
1440
 
1478
1441
  return aExpandedIntents;
1479
1442
  };
1480
1443
 
1481
1444
  this._getLinks = function (oNominalArgs) {
1482
- var oDeferred = new jQuery.Deferred();
1445
+ const oDeferred = new jQuery.Deferred();
1483
1446
 
1484
1447
  // If method gets called without vArgs, the result should be the same as if vArgs was an empty object.
1485
1448
  if (typeof oNominalArgs === "undefined") {
@@ -1487,13 +1450,13 @@ sap.ui.define([
1487
1450
  }
1488
1451
 
1489
1452
  // ensure certain parameters are specified
1490
- var oNominalArgsClone = deepExtend({}, oNominalArgs);
1453
+ let oNominalArgsClone = deepExtend({}, oNominalArgs);
1491
1454
  oNominalArgsClone.compactIntents = !!oNominalArgsClone.compactIntents;
1492
1455
  oNominalArgsClone.action = oNominalArgsClone.action || undefined;
1493
1456
  oNominalArgsClone.paramsOptions = crossApplicationNavigationUtils.extractGetLinksParameterOptions(oNominalArgsClone.params);
1494
1457
 
1495
1458
  Promise.resolve()
1496
- .then(function () {
1459
+ .then(() => {
1497
1460
  return crossApplicationNavigationUtils.injectStickyParametersAsync({
1498
1461
  args: oNominalArgsClone,
1499
1462
  appLifeCycle: AppLifeCycleAI,
@@ -1501,9 +1464,9 @@ sap.ui.define([
1501
1464
  type: typeUtils
1502
1465
  });
1503
1466
  })
1504
- .then(function (oNominalArgsCloneResult) {
1467
+ .then((oNominalArgsCloneResult) => {
1505
1468
  oNominalArgsClone = oNominalArgsCloneResult;
1506
- var mParameterDefinition;
1469
+ let mParameterDefinition;
1507
1470
  if (oNominalArgsClone.params) {
1508
1471
  mParameterDefinition = crossApplicationNavigationUtils.extractGetLinksParameterDefinition(oNominalArgsClone.params);
1509
1472
  } else {
@@ -1511,7 +1474,7 @@ sap.ui.define([
1511
1474
  }
1512
1475
 
1513
1476
  // propagate sap-system into parameters
1514
- var mParametersPlusSapSystem = getTargetWithCurrentSystem(
1477
+ let mParametersPlusSapSystem = getTargetWithCurrentSystem(
1515
1478
  { params: mParameterDefinition }, oNominalArgsClone.ui5Component
1516
1479
  ).params;
1517
1480
 
@@ -1527,7 +1490,7 @@ sap.ui.define([
1527
1490
 
1528
1491
  return sap.ushell.Container.getServiceAsync("NavTargetResolutionInternal");
1529
1492
  })
1530
- .then(function (NavTargetResolutionInternal) {
1493
+ .then((NavTargetResolutionInternal) => {
1531
1494
  NavTargetResolutionInternal.getLinks(oNominalArgsClone)
1532
1495
  .done(oDeferred.resolve)
1533
1496
  .fail(oDeferred.reject);
@@ -1548,9 +1511,9 @@ sap.ui.define([
1548
1511
  * @public
1549
1512
  */
1550
1513
  this.getDistinctSemanticObjects = function () {
1551
- var oDeferred = new jQuery.Deferred();
1514
+ const oDeferred = new jQuery.Deferred();
1552
1515
 
1553
- sap.ushell.Container.getServiceAsync("NavTargetResolutionInternal").then(function (NavTargetResolutionInternal) {
1516
+ sap.ushell.Container.getServiceAsync("NavTargetResolutionInternal").then((NavTargetResolutionInternal) => {
1554
1517
  NavTargetResolutionInternal.getDistinctSemanticObjects()
1555
1518
  .done(oDeferred.resolve)
1556
1519
  .fail(oDeferred.reject);
@@ -1598,20 +1561,20 @@ sap.ui.define([
1598
1561
  * @deprecated since 1.31. Please use {@link #isNavigationSupported} instead. Note that this has a slightly different response format.
1599
1562
  */
1600
1563
  this.isIntentSupported = function (aIntents, oComponent) {
1601
- var oDeferred = new jQuery.Deferred();
1602
- var mOriginalIntentHash = {}; // used for remapping
1603
- var aClonedIntentsWithSapSystem = aIntents.map(function (sIntent) {
1604
- var sIntentWithSystem = getTargetWithCurrentSystem(sIntent, oComponent); // returns clone
1564
+ const oDeferred = new jQuery.Deferred();
1565
+ const mOriginalIntentHash = {}; // used for remapping
1566
+ const aClonedIntentsWithSapSystem = aIntents.map((sIntent) => {
1567
+ const sIntentWithSystem = getTargetWithCurrentSystem(sIntent, oComponent); // returns clone
1605
1568
  mOriginalIntentHash[sIntentWithSystem] = sIntent;
1606
1569
  return sIntentWithSystem;
1607
1570
  });
1608
1571
 
1609
- sap.ushell.Container.getServiceAsync("NavTargetResolutionInternal").then(function (NavTargetResolutionInternal) {
1572
+ sap.ushell.Container.getServiceAsync("NavTargetResolutionInternal").then((NavTargetResolutionInternal) => {
1610
1573
  NavTargetResolutionInternal.isIntentSupported(aClonedIntentsWithSapSystem)
1611
- .done(function (mIntentSupportedPlusSapSystem) {
1574
+ .done((mIntentSupportedPlusSapSystem) => {
1612
1575
  // Must restore keys to what the application expects, as per NavTargetResolutionInternal contract.
1613
- var mIntentSupportedNoSapSystem = {};
1614
- Object.keys(mIntentSupportedPlusSapSystem).forEach(function (sKeyPlusSapSystem) {
1576
+ const mIntentSupportedNoSapSystem = {};
1577
+ Object.keys(mIntentSupportedPlusSapSystem).forEach((sKeyPlusSapSystem) => {
1615
1578
  mIntentSupportedNoSapSystem[
1616
1579
  mOriginalIntentHash[sKeyPlusSapSystem]
1617
1580
  ] = mIntentSupportedPlusSapSystem[sKeyPlusSapSystem];
@@ -1726,14 +1689,14 @@ sap.ui.define([
1726
1689
  * @public
1727
1690
  */
1728
1691
  this.isNavigationSupported = function (aIntents, oComponent) {
1729
- var oDeferred = new jQuery.Deferred();
1730
- var aClonedIntents = deepClone(aIntents)
1731
- .map(function (oIntent) {
1732
- var oExtraction = this._extractInnerAppRoute(oIntent);
1692
+ const oDeferred = new jQuery.Deferred();
1693
+ const aClonedIntents = deepClone(aIntents)
1694
+ .map((oIntent) => {
1695
+ const oExtraction = this._extractInnerAppRoute(oIntent);
1733
1696
  return getTargetWithCurrentSystem(oExtraction.intent, oComponent); // returns only shallow clone
1734
- }.bind(this));
1697
+ });
1735
1698
 
1736
- sap.ushell.Container.getServiceAsync("NavTargetResolutionInternal").then(function (NavTargetResolutionInternal) {
1699
+ sap.ushell.Container.getServiceAsync("NavTargetResolutionInternal").then((NavTargetResolutionInternal) => {
1737
1700
  NavTargetResolutionInternal.isNavigationSupported(aClonedIntents)
1738
1701
  .done(oDeferred.resolve)
1739
1702
  .fail(oDeferred.reject);
@@ -1789,9 +1752,7 @@ sap.ui.define([
1789
1752
  reject();
1790
1753
  }
1791
1754
  })
1792
- .fail(() => {
1793
- reject();
1794
- });
1755
+ .fail(reject);
1795
1756
  } else {
1796
1757
  resolve();
1797
1758
  }
@@ -1873,7 +1834,7 @@ sap.ui.define([
1873
1834
  */
1874
1835
  this._checkComponentConfig = function (oConfig) {
1875
1836
  if (oConfig) {
1876
- var iConfigPropertyCount = Object.keys(oConfig).length;
1837
+ const iConfigPropertyCount = Object.keys(oConfig).length;
1877
1838
  if (iConfigPropertyCount > 1 ||
1878
1839
  (iConfigPropertyCount === 1 && !oConfig.componentData)) {
1879
1840
  return "`oConfig` argument should either be an empty object or contain only the `componentData` property.";
@@ -1904,7 +1865,7 @@ sap.ui.define([
1904
1865
  "sap.ushell.services.CrossApplicationNavigation"
1905
1866
  );
1906
1867
 
1907
- var AppStateService = sap.ushell.Container.getService("AppState");
1868
+ const AppStateService = sap.ushell.Container.getService("AppState");
1908
1869
 
1909
1870
  if (!BaseObject.isA(oAppComponent, "sap.ui.core.UIComponent")) {
1910
1871
  throw new Error("The passed oAppComponent must be a UI5 Component.");
@@ -1927,14 +1888,12 @@ sap.ui.define([
1927
1888
  * @private
1928
1889
  * @ui5-restricted SAP-internally public, must not be changed. Not part of public documentation.
1929
1890
  */
1930
- this.createEmptyAppStateAsync = function (oAppComponent, bTransientEnforced, sPersistencyMethod, oPersistencySettings) {
1891
+ this.createEmptyAppStateAsync = async function (oAppComponent, bTransientEnforced, sPersistencyMethod, oPersistencySettings) {
1931
1892
  if (!BaseObject.isA(oAppComponent, "sap.ui.core.UIComponent")) {
1932
1893
  return Promise.reject("The passed oAppComponent must be a UI5 Component.");
1933
1894
  }
1934
- return sap.ushell.Container.getServiceAsync("AppState")
1935
- .then(function (AppStateService) {
1936
- return AppStateService.createEmptyAppState(oAppComponent, bTransientEnforced, sPersistencyMethod, oPersistencySettings);
1937
- });
1895
+ const AppStateService = await sap.ushell.Container.getServiceAsync("AppState");
1896
+ return AppStateService.createEmptyAppState(oAppComponent, bTransientEnforced, sPersistencyMethod, oPersistencySettings);
1938
1897
  };
1939
1898
 
1940
1899
  /**
@@ -1949,7 +1908,9 @@ sap.ui.define([
1949
1908
  */
1950
1909
  this.getStartupAppState = function (oAppComponent) {
1951
1910
  this._checkComponent(oAppComponent);
1952
- var sContainerKey = oAppComponent.getComponentData() && oAppComponent.getComponentData()["sap-xapp-state"] && oAppComponent.getComponentData()["sap-xapp-state"][0];
1911
+ const oComponentData = oAppComponent.getComponentData();
1912
+ const sXAppState = oComponentData && oComponentData["sap-xapp-state"];
1913
+ const sContainerKey = sXAppState && sXAppState[0];
1953
1914
  return this.getAppState(oAppComponent, sContainerKey);
1954
1915
  };
1955
1916
 
@@ -1980,17 +1941,16 @@ sap.ui.define([
1980
1941
  */
1981
1942
  this.getAppState = function (oAppComponent, sAppStateKey) {
1982
1943
  // see stakeholders in SFIN etc.
1983
- var oContainer;
1984
- var oDeferred = new jQuery.Deferred();
1944
+ const oDeferred = new jQuery.Deferred();
1985
1945
  this._checkComponent(oAppComponent);
1986
1946
 
1987
- sap.ushell.Container.getServiceAsync("AppState").then(function (AppState) {
1947
+ sap.ushell.Container.getServiceAsync("AppState").then((AppState) => {
1988
1948
  if (typeof sAppStateKey !== "string") {
1989
1949
  if (sAppStateKey !== undefined) {
1990
1950
  Log.error("Illegal Argument sAppStateKey ");
1991
1951
  }
1992
- setTimeout(function () {
1993
- oContainer = AppState.createEmptyUnmodifiableAppState(oAppComponent);
1952
+ setTimeout(() => {
1953
+ const oContainer = AppState.createEmptyUnmodifiableAppState(oAppComponent);
1994
1954
  oDeferred.resolve(oContainer);
1995
1955
  }, 0);
1996
1956
  return;
@@ -2023,8 +1983,7 @@ sap.ui.define([
2023
1983
  * @private
2024
1984
  */
2025
1985
  this.getAppStateData = function (sAppStateKeyOrArray) {
2026
- return ushellUtils.invokeUnfoldingArrayArguments(this._getAppStateData.bind(this),
2027
- [sAppStateKeyOrArray]);
1986
+ return ushellUtils.invokeUnfoldingArrayArguments(this._getAppStateData.bind(this), [sAppStateKeyOrArray]);
2028
1987
  };
2029
1988
 
2030
1989
  /**
@@ -2047,19 +2006,19 @@ sap.ui.define([
2047
2006
  * @ui5-restricted SAP Internal usage only, beware! internally public, cannot be changed, but not part of the public documentation.
2048
2007
  */
2049
2008
  this._getAppStateData = function (sAppStateKey) {
2050
- var oDeferred = new jQuery.Deferred();
2009
+ const oDeferred = new jQuery.Deferred();
2051
2010
 
2052
- sap.ushell.Container.getServiceAsync("AppState").then(function (AppState) {
2011
+ sap.ushell.Container.getServiceAsync("AppState").then((AppState) => {
2053
2012
  if (typeof sAppStateKey !== "string") {
2054
2013
  if (sAppStateKey !== undefined) {
2055
2014
  Log.error("Illegal Argument sAppStateKey ");
2056
2015
  }
2057
- setTimeout(function () {
2016
+ setTimeout(() => {
2058
2017
  oDeferred.resolve(undefined);
2059
2018
  }, 0);
2060
2019
  } else {
2061
2020
  AppState.getAppState(sAppStateKey)
2062
- .done(function (oAppState) {
2021
+ .done((oAppState) => {
2063
2022
  oDeferred.resolve(oAppState.getData());
2064
2023
  })
2065
2024
  .fail(oDeferred.resolve.bind(oDeferred, undefined));
@@ -2079,20 +2038,22 @@ sap.ui.define([
2079
2038
  * @ui5-restricted SAP Internal usage only, beware! internally public, cannot be changed, but not part of the public documentation
2080
2039
  */
2081
2040
  this.saveMultipleAppStates = function (aAppStates) {
2082
- var aResult = [];
2083
- var oDeferred = new jQuery.Deferred();
2084
- aAppStates.forEach(function (oAppState) {
2041
+ const aResult = [];
2042
+ const oDeferred = new jQuery.Deferred();
2043
+ aAppStates.forEach((oAppState) => {
2085
2044
  aResult.push(oAppState.save());
2086
2045
  });
2087
- jQuery.when.apply(this, aResult).done(function () {
2088
- oDeferred.resolve(aResult);
2089
- }).fail(function () {
2090
- oDeferred.reject("save failed");
2091
- });
2046
+ jQuery.when.apply(this, aResult)
2047
+ .done(() => {
2048
+ oDeferred.resolve(aResult);
2049
+ })
2050
+ .fail(() => {
2051
+ oDeferred.reject("save failed");
2052
+ });
2092
2053
  return oDeferred.promise();
2093
2054
  };
2094
2055
 
2095
- /**
2056
+ /*
2096
2057
  * Process navigation parameters to allow "shellHash" together with parameters section, something that is currently not allowed.
2097
2058
  * This functionality is enabled only upon flag that is added to the navigation parameters. e.g.:
2098
2059
  * <pre>
@@ -2110,8 +2071,8 @@ sap.ui.define([
2110
2071
  *
2111
2072
  */
2112
2073
  this._processShellHashWithParams = function (oArgs) {
2113
- if (oArgs && oArgs.processParams === true && oArgs.target && oArgs.target.shellHash && oArgs.params) {
2114
- var oHash = UrlParsing.parseShellHash(oArgs.target.shellHash);
2074
+ if (oArgs?.processParams === true && oArgs?.target?.shellHash && oArgs?.params) {
2075
+ const oHash = UrlParsing.parseShellHash(oArgs.target.shellHash);
2115
2076
 
2116
2077
  oArgs.target = {
2117
2078
  semanticObject: oHash.semanticObject,
@@ -2135,7 +2096,7 @@ sap.ui.define([
2135
2096
  null,
2136
2097
  "sap.ushell.services.CrossApplicationNavigation"
2137
2098
  );
2138
- var AppStateService = sap.ushell.Container.getService("AppState");
2099
+ const AppStateService = sap.ushell.Container.getService("AppState");
2139
2100
 
2140
2101
  return AppStateService.getSupportedPersistencyMethods();
2141
2102
  };
@@ -2143,15 +2104,13 @@ sap.ui.define([
2143
2104
  /**
2144
2105
  * Method to get an array of sap.ushell.services.AppStatePersistencyMethod.
2145
2106
  *
2146
- * @returns {string[]} Returns an array of sap.ushell.services.AppStatePersistencyMethod.
2107
+ * @returns {Promise<string[]>} Returns an array of sap.ushell.services.AppStatePersistencyMethod.
2147
2108
  * An empty array indicates that the platform does not support persistent states
2148
2109
  * @since 1.95
2149
2110
  */
2150
- this.getSupportedAppStatePersistencyMethodsAsync = function () {
2151
- return sap.ushell.Container.getServiceAsync("AppState")
2152
- .then(function (AppStateService) {
2153
- return AppStateService.getSupportedPersistencyMethods();
2154
- });
2111
+ this.getSupportedAppStatePersistencyMethodsAsync = async function () {
2112
+ const oAppStateService = await sap.ushell.Container.getServiceAsync("AppState");
2113
+ return oAppStateService.getSupportedPersistencyMethods();
2155
2114
  };
2156
2115
 
2157
2116
  /**
@@ -2164,8 +2123,8 @@ sap.ui.define([
2164
2123
  * @returns {jQuery.Promise<string>}Resolves a new key.
2165
2124
  */
2166
2125
  this.makeStatePersistent = function (sKey, iPersistencyMethod, oPersistencySettings) {
2167
- var oDeferred = new jQuery.Deferred();
2168
- sap.ushell.Container.getServiceAsync("AppState").then(function (AppState) {
2126
+ const oDeferred = new jQuery.Deferred();
2127
+ sap.ushell.Container.getServiceAsync("AppState").then((AppState) => {
2169
2128
  AppState.makeStatePersistent(sKey, iPersistencyMethod, oPersistencySettings)
2170
2129
  .done(oDeferred.resolve)
2171
2130
  .fail(oDeferred.reject);
@@ -2187,14 +2146,16 @@ sap.ui.define([
2187
2146
  * @protected
2188
2147
  */
2189
2148
  this.resolveIntent = function (sHashFragment) {
2190
- var oDeferred = new jQuery.Deferred();
2149
+ const oDeferred = new jQuery.Deferred();
2191
2150
 
2192
- sap.ushell.Container.getServiceAsync("NavTargetResolutionInternal").then(function (NavTargetResolutionInternal) {
2193
- NavTargetResolutionInternal.resolveHashFragment(sHashFragment).then(function (oResult) {
2194
- oDeferred.resolve({ url: oResult.url });
2195
- }).fail(function (sMessage) {
2196
- oDeferred.reject(sMessage);
2197
- });
2151
+ sap.ushell.Container.getServiceAsync("NavTargetResolutionInternal").then((NavTargetResolutionInternal) => {
2152
+ NavTargetResolutionInternal.resolveHashFragment(sHashFragment)
2153
+ .then((oResult) => {
2154
+ oDeferred.resolve({ url: oResult.url });
2155
+ })
2156
+ .fail((sMessage) => {
2157
+ oDeferred.reject(sMessage);
2158
+ });
2198
2159
  });
2199
2160
  return oDeferred.promise();
2200
2161
  };