@sapui5/sap.ushell 1.138.1 → 1.139.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (756) 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/wcfResolution.js +32 -26
  5. package/src/main/js/sap/ushell/Container.js +0 -1
  6. package/src/main/js/sap/ushell/Fiori20Adapter.js +1 -1
  7. package/src/main/js/sap/ushell/Fiori20AdapterTest.js +1 -1
  8. package/src/main/js/sap/ushell/NWBCInterface.js +1 -1
  9. package/src/main/js/sap/ushell/TechnicalParameters.js +1 -1
  10. package/src/main/js/sap/ushell/URLTemplateProcessor/DefinitionParameterSetBuilder.js +1 -1
  11. package/src/main/js/sap/ushell/URLTemplateProcessor/DependencyGraph.js +1 -1
  12. package/src/main/js/sap/ushell/URLTemplateProcessor/Functions.js +1 -1
  13. package/src/main/js/sap/ushell/URLTemplateProcessor/Resolvers.js +1 -1
  14. package/src/main/js/sap/ushell/URLTemplateProcessor/TemplateParameterParser.js +1 -1
  15. package/src/main/js/sap/ushell/URLTemplateProcessor/utils.js +1 -1
  16. package/src/main/js/sap/ushell/URLTemplateProcessor.js +1 -1
  17. package/src/main/js/sap/ushell/Ui5NativeServiceFactory.js +12 -12
  18. package/src/main/js/sap/ushell/Ui5ServiceFactory.js +1 -1
  19. package/src/main/js/sap/ushell/User.js +32 -12
  20. package/src/main/js/sap/ushell/adapters/cdm/ClientSideTargetResolutionAdapter.js +1 -1
  21. package/src/main/js/sap/ushell/adapters/cdm/CommonDataModelAdapter.js +1 -1
  22. package/src/main/js/sap/ushell/adapters/cdm/ConfigurationDefaultsAdapter.js +1 -1
  23. package/src/main/js/sap/ushell/adapters/cdm/ContainerAdapter.js +1 -1
  24. package/src/main/js/sap/ushell/adapters/cdm/LaunchPageAdapter.js +1 -1
  25. package/src/main/js/sap/ushell/adapters/cdm/PagesCommonDataModelAdapter.js +1 -1
  26. package/src/main/js/sap/ushell/adapters/cdm/PersonalizationAdapter.js +1 -1
  27. package/src/main/js/sap/ushell/adapters/cdm/PersonalizationV2Adapter.js +1 -1
  28. package/src/main/js/sap/ushell/adapters/cdm/Ui5ComponentLoaderAdapter.js +1 -1
  29. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/modifyHome.js +1 -1
  30. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readCatalogs.js +1 -1
  31. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readHome.js +1 -1
  32. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/uri.transform.js +1 -1
  33. package/src/main/js/sap/ushell/adapters/cdm/util/AppForInbound.js +1 -1
  34. package/src/main/js/sap/ushell/adapters/cdm/util/cdmSiteUtils.js +1 -1
  35. package/src/main/js/sap/ushell/adapters/cdm/v3/AdapterBase.js +1 -1
  36. package/src/main/js/sap/ushell/adapters/cdm/v3/FlpLaunchPageAdapter.js +1 -1
  37. package/src/main/js/sap/ushell/adapters/cdm/v3/LaunchPageAdapter.js +1 -1
  38. package/src/main/js/sap/ushell/adapters/cdm/v3/StaticGroupsAdapter.js +1 -1
  39. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readApplications.js +1 -1
  40. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readCatalogs.js +1 -1
  41. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readHome.js +1 -1
  42. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readPages.js +1 -1
  43. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readUtils.js +1 -1
  44. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations.js +1 -1
  45. package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionAdapter.js +1 -1
  46. package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionInternalAdapter.js +1 -1
  47. package/src/main/js/sap/ushell/adapters/cep/SearchCEPAdapter.js +1 -1
  48. package/src/main/js/sap/ushell/adapters/cflp/UserDefaultParameterPersistenceAdapter.js +1 -1
  49. package/src/main/js/sap/ushell/adapters/local/AdapterContainer.js +1 -1
  50. package/src/main/js/sap/ushell/adapters/local/AppStateAdapter.js +1 -1
  51. package/src/main/js/sap/ushell/adapters/local/ClientSideTargetResolutionAdapter.js +1 -1
  52. package/src/main/js/sap/ushell/adapters/local/ContainerAdapter.js +1 -1
  53. package/src/main/js/sap/ushell/adapters/local/FlpLaunchPageAdapter.js +1 -1
  54. package/src/main/js/sap/ushell/adapters/local/LaunchPageAdapter.js +1 -1
  55. package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionAdapter.js +1 -1
  56. package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionInternalAdapter.js +1 -1
  57. package/src/main/js/sap/ushell/adapters/local/PageBuildingAdapter.js +1 -1
  58. package/src/main/js/sap/ushell/adapters/local/PagePersistenceAdapter.js +1 -1
  59. package/src/main/js/sap/ushell/adapters/local/PersonalizationAdapter.js +1 -1
  60. package/src/main/js/sap/ushell/adapters/local/PersonalizationV2Adapter.js +1 -1
  61. package/src/main/js/sap/ushell/adapters/local/SearchAdapter.js +1 -1
  62. package/src/main/js/sap/ushell/adapters/local/SearchCEPAdapter.js +1 -1
  63. package/src/main/js/sap/ushell/adapters/local/SupportTicketAdapter.js +1 -1
  64. package/src/main/js/sap/ushell/adapters/local/Ui5ComponentLoaderAdapter.js +1 -1
  65. package/src/main/js/sap/ushell/adapters/local/UserDefaultParameterPersistenceAdapter.js +1 -1
  66. package/src/main/js/sap/ushell/adapters/local/UserInfoAdapter.js +1 -1
  67. package/src/main/js/sap/ushell/appIntegration/AppLifeCycle.js +3 -5
  68. package/src/main/js/sap/ushell/appIntegration/ApplicationContainer.js +14 -1
  69. package/src/main/js/sap/ushell/appIntegration/ApplicationHandle.js +8 -3
  70. package/src/main/js/sap/ushell/appIntegration/IframeApplicationContainer.js +8 -8
  71. package/src/main/js/sap/ushell/appIntegration/PostMessageManager/AppruntimeHandler.js +17 -12
  72. package/src/main/js/sap/ushell/appIntegration/PostMessageManager/ExtensionItems.js +6 -23
  73. package/src/main/js/sap/ushell/appIntegration/PostMessageManager/LifecycleHandler.js +112 -92
  74. package/src/main/js/sap/ushell/appIntegration/PostMessageManager/NWBCHandler.js +15 -7
  75. package/src/main/js/sap/ushell/appIntegration/PostMessageManager/ServiceHandler.js +257 -214
  76. package/src/main/js/sap/ushell/appIntegration/PostMessageManager.js +347 -117
  77. package/src/main/js/sap/ushell/appIntegration/UI5ApplicationContainer.js +1 -0
  78. package/src/main/js/sap/ushell/appIntegration/contracts/EmbeddedUI5Handler.js +15 -19
  79. package/src/main/js/sap/ushell/appIntegration/contracts/StatefulContainerV1Handler.js +15 -14
  80. package/src/main/js/sap/ushell/appIntegration/contracts/StatefulContainerV2Handler.js +38 -40
  81. package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/RendererExtensions.js +1 -1
  82. package/src/main/js/sap/ushell/appRuntime/ui5/services/AppConfiguration.js +1 -1
  83. package/src/main/js/sap/ushell/appRuntime/ui5/services/AppLifeCycle.js +1 -1
  84. package/src/main/js/sap/ushell/appRuntime/ui5/services/AppState.js +1 -8
  85. package/src/main/js/sap/ushell/appRuntime/ui5/services/Bookmark.js +1 -1
  86. package/src/main/js/sap/ushell/appRuntime/ui5/services/BookmarkV2.js +1 -1
  87. package/src/main/js/sap/ushell/appRuntime/ui5/services/CommonDataModel.js +1 -1
  88. package/src/main/js/sap/ushell/appRuntime/ui5/services/Container.js +1 -1
  89. package/src/main/js/sap/ushell/appRuntime/ui5/services/CrossApplicationNavigation.js +1 -1
  90. package/src/main/js/sap/ushell/appRuntime/ui5/services/Extension/Item.js +1 -1
  91. package/src/main/js/sap/ushell/appRuntime/ui5/services/Extension.js +25 -1
  92. package/src/main/js/sap/ushell/appRuntime/ui5/services/FlpLaunchPage.js +1 -1
  93. package/src/main/js/sap/ushell/appRuntime/ui5/services/FrameBoundExtension.js +1 -1
  94. package/src/main/js/sap/ushell/appRuntime/ui5/services/LaunchPage.js +1 -1
  95. package/src/main/js/sap/ushell/appRuntime/ui5/services/MessageBroker.js +1 -1
  96. package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolution.js +1 -1
  97. package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolutionInternal.js +1 -1
  98. package/src/main/js/sap/ushell/appRuntime/ui5/services/Navigation.js +1 -1
  99. package/src/main/js/sap/ushell/appRuntime/ui5/services/ReferenceResolver.js +1 -1
  100. package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigation.js +1 -1
  101. package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigationInternal.js +1 -1
  102. package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellUIService.js +1 -1
  103. package/src/main/js/sap/ushell/appRuntime/ui5/services/UserInfo.js +1 -1
  104. package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/Ui5ComponentLoaderAdapter.js +1 -1
  105. package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/StepConfiguration.json +0 -2
  106. package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/logger.js +1 -1
  107. package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/state.js +1 -1
  108. package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5datetimeformat.js +1 -1
  109. package/src/main/js/sap/ushell/bootstrap/common/common.create.configcontract.core.js +4 -0
  110. package/src/main/js/sap/ushell/bootstrap/sandbox2.js +1 -1
  111. package/src/main/js/sap/ushell/components/CatalogsManager.js +157 -157
  112. package/src/main/js/sap/ushell/components/ComponentKeysHandler.js +180 -187
  113. package/src/main/js/sap/ushell/components/DestroyHelper.js +4 -4
  114. package/src/main/js/sap/ushell/components/GroupsHelper.js +21 -21
  115. package/src/main/js/sap/ushell/components/HomepageManager.js +465 -424
  116. package/src/main/js/sap/ushell/components/MessagingHelper.js +24 -24
  117. package/src/main/js/sap/ushell/components/SharedComponentUtils.js +16 -16
  118. package/src/main/js/sap/ushell/components/_HomepageManager/DashboardLoadingManager.js +43 -43
  119. package/src/main/js/sap/ushell/components/_HomepageManager/PagingManager.js +43 -39
  120. package/src/main/js/sap/ushell/components/_HomepageManager/PersistentPageOperationAdapter.js +166 -175
  121. package/src/main/js/sap/ushell/components/_HomepageManager/TransientPageOperationAdapter.js +57 -57
  122. package/src/main/js/sap/ushell/components/appfinder/AppFinder.controller.js +96 -99
  123. package/src/main/js/sap/ushell/components/appfinder/AppFinderView.js +27 -21
  124. package/src/main/js/sap/ushell/components/appfinder/Catalog.controller.js +180 -178
  125. package/src/main/js/sap/ushell/components/appfinder/CatalogView.js +56 -56
  126. package/src/main/js/sap/ushell/components/appfinder/Component.js +12 -16
  127. package/src/main/js/sap/ushell/components/appfinder/EasyAccess.controller.js +129 -133
  128. package/src/main/js/sap/ushell/components/appfinder/EasyAccessView.js +10 -10
  129. package/src/main/js/sap/ushell/components/appfinder/GroupListPopover.controller.js +22 -22
  130. package/src/main/js/sap/ushell/components/appfinder/GroupListPopoverView.js +14 -14
  131. package/src/main/js/sap/ushell/components/appfinder/HierarchyApps.controller.js +75 -78
  132. package/src/main/js/sap/ushell/components/appfinder/HierarchyAppsView.js +24 -27
  133. package/src/main/js/sap/ushell/components/appfinder/HierarchyFolders.controller.js +44 -46
  134. package/src/main/js/sap/ushell/components/appfinder/HierarchyFoldersView.js +22 -22
  135. package/src/main/js/sap/ushell/components/appfinder/VisualizationOrganizerHelper.js +28 -28
  136. package/src/main/js/sap/ushell/components/appfinder/manifest.json +1 -1
  137. package/src/main/js/sap/ushell/components/cards/Card.controller.js +16 -20
  138. package/src/main/js/sap/ushell/components/cards/Configuration.controller.js +35 -37
  139. package/src/main/js/sap/ushell/components/cards/ManifestPropertyHelper.js +32 -34
  140. package/src/main/js/sap/ushell/components/cepsearchresult/app/Main.controller.js +7 -12
  141. package/src/main/js/sap/ushell/components/cepsearchresult/app/Main.view.xml +2 -9
  142. package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/Extension.js +0 -1
  143. package/src/main/js/sap/ushell/components/cepsearchresult/app/css/style.css +58 -0
  144. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/AdvancedFormatters.js +0 -1
  145. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/Edition.js +0 -1
  146. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/EditionAdvanced.js +0 -1
  147. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/appendStyleVars.js +0 -1
  148. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/Category.js +13 -13
  149. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/Highlighter.js +2 -5
  150. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/Paginator.js +0 -2
  151. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/categories/Event.js +4 -3
  152. package/src/main/js/sap/ushell/components/contentFinder/CatalogService.js +8 -9
  153. package/src/main/js/sap/ushell/components/contentFinder/Component.js +2 -2
  154. package/src/main/js/sap/ushell/components/contentFinder/controller/AppSearch.controller.js +1 -3
  155. package/src/main/js/sap/ushell/components/contentFinder/controller/ContentFinderDialog.controller.js +1 -1
  156. package/src/main/js/sap/ushell/components/contentFinder/dialog/Component.js +2 -2
  157. package/src/main/js/sap/ushell/components/contentFinder/dialog/manifest.json +1 -1
  158. package/src/main/js/sap/ushell/components/contentFinder/manifest.json +1 -1
  159. package/src/main/js/sap/ushell/components/contentFinder/model/GraphQLListBinding.js +3 -5
  160. package/src/main/js/sap/ushell/components/contentFinder/model/GraphQLModel.js +2 -2
  161. package/src/main/js/sap/ushell/components/contentFinder/model/formatter.js +13 -6
  162. package/src/main/js/sap/ushell/components/contentFinder/resources/resources.properties +3 -3
  163. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_en_US_saprigi.properties +1 -1
  164. package/src/main/js/sap/ushell/components/contentFinder/view/AppSearch.view.xml +2 -14
  165. package/src/main/js/sap/ushell/components/contentFinder/view/AppSearchCategoryTreeTable.fragment.xml +14 -7
  166. package/src/main/js/sap/ushell/components/contentFinder/view/VisualizationsNoDataIllustratedMessage.fragment.xml +1 -1
  167. package/src/main/js/sap/ushell/components/contentFinderStandalone/Component.js +2 -2
  168. package/src/main/js/sap/ushell/components/contentFinderStandalone/controller/ContentFinderStandalone.controller.js +2 -4
  169. package/src/main/js/sap/ushell/components/contentFinderStandalone/manifest.json +1 -1
  170. package/src/main/js/sap/ushell/components/factsheet/Component.js +13 -8
  171. package/src/main/js/sap/ushell/components/factsheet/annotation/Mapping.js +166 -118
  172. package/src/main/js/sap/ushell/components/factsheet/controls/PictureTile.js +20 -16
  173. package/src/main/js/sap/ushell/components/factsheet/controls/PictureTileRenderer.js +3 -3
  174. package/src/main/js/sap/ushell/components/factsheet/controls/PictureViewer.js +84 -77
  175. package/src/main/js/sap/ushell/components/factsheet/controls/PictureViewerItem.js +4 -4
  176. package/src/main/js/sap/ushell/components/factsheet/controls/PictureViewerRenderer.js +2 -2
  177. package/src/main/js/sap/ushell/components/factsheet/factory/ThingInspector.js +1356 -1139
  178. package/src/main/js/sap/ushell/components/factsheet/tools/ODataUrlTemplating.js +9 -5
  179. package/src/main/js/sap/ushell/components/factsheet/views/ThingViewer.controller.js +1 -1
  180. package/src/main/js/sap/ushell/components/factsheet/views/ThingViewer.view.js +9 -6
  181. package/src/main/js/sap/ushell/components/homeApp/error/Component.js +1 -1
  182. package/src/main/js/sap/ushell/components/homeApp/error/HomeAppError.controller.js +4 -4
  183. package/src/main/js/sap/ushell/components/homepage/ActionMode.js +51 -48
  184. package/src/main/js/sap/ushell/components/homepage/Component.js +11 -11
  185. package/src/main/js/sap/ushell/components/homepage/DashboardContent.controller.js +185 -192
  186. package/src/main/js/sap/ushell/components/homepage/DashboardContent.view.js +60 -50
  187. package/src/main/js/sap/ushell/components/homepage/DashboardGroupsBox.js +199 -202
  188. package/src/main/js/sap/ushell/components/homepage/DashboardUIActions.js +152 -160
  189. package/src/main/js/sap/ushell/components/homepage/manifest.json +1 -1
  190. package/src/main/js/sap/ushell/components/pages/ActionMode.js +72 -74
  191. package/src/main/js/sap/ushell/components/pages/Component.js +7 -32
  192. package/src/main/js/sap/ushell/components/pages/MyHomeImport.js +46 -46
  193. package/src/main/js/sap/ushell/components/pages/StateManager.js +9 -10
  194. package/src/main/js/sap/ushell/components/pages/controller/MyHome.controller.js +4 -4
  195. package/src/main/js/sap/ushell/components/pages/controller/PageRuntime.controller.js +243 -215
  196. package/src/main/js/sap/ushell/components/pages/controller/PagesAndSpaceId.js +23 -24
  197. package/src/main/js/sap/ushell/components/pages/manifest.json +1 -1
  198. package/src/main/js/sap/ushell/components/runtimeSwitcher/Component.js +1 -1
  199. package/src/main/js/sap/ushell/components/runtimeSwitcher/controller/RuntimeSwitcher.controller.js +60 -70
  200. package/src/main/js/sap/ushell/components/runtimeSwitcher/manifest.json +1 -1
  201. package/src/main/js/sap/ushell/components/shell/FloatingContainer/Component.js +0 -5
  202. package/src/main/js/sap/ushell/components/shell/FloatingContainer/controls/FloatingContainer.js +3 -3
  203. package/src/main/js/sap/ushell/components/shell/FloatingContainer/manifest.json +1 -1
  204. package/src/main/js/sap/ushell/components/shell/MenuBar/Component.js +18 -50
  205. package/src/main/js/sap/ushell/components/shell/MenuBar/controller/MenuBar.controller.js +73 -83
  206. package/src/main/js/sap/ushell/components/shell/MenuBar/manifest.json +1 -1
  207. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/Component.js +1 -1
  208. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenu.controller.js +49 -50
  209. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenuButton.controller.js +5 -5
  210. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/manifest.json +1 -1
  211. package/src/main/js/sap/ushell/components/shell/Notifications/Component.js +35 -33
  212. package/src/main/js/sap/ushell/components/shell/Notifications/Notifications.controller.js +8 -9
  213. package/src/main/js/sap/ushell/components/shell/Notifications/NotificationsList.controller.js +5 -11
  214. package/src/main/js/sap/ushell/components/shell/PostLoadingHeaderEnhancement/Component.js +63 -42
  215. package/src/main/js/sap/ushell/components/shell/ProductSwitch/Component.js +20 -22
  216. package/src/main/js/sap/ushell/components/shell/Search/Component.js +20 -12
  217. package/src/main/js/sap/ushell/components/shell/Search/ESearch.js +18 -21
  218. package/src/main/js/sap/ushell/components/shell/Search/manifest.json +1 -1
  219. package/src/main/js/sap/ushell/components/shell/SearchCEP/Component.js +21 -14
  220. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchCEP.controller.js +204 -250
  221. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/FrequentActivityProvider.js +25 -24
  222. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/RecentSearchProvider.js +9 -9
  223. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchProvider.js +4 -4
  224. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchServiceProvider.js +63 -65
  225. package/src/main/js/sap/ushell/components/shell/SearchCEPNew/Component.js +420 -0
  226. package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/FrequentActivityProvider.js +84 -0
  227. package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/RecentSearchProvider.js +63 -0
  228. package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/SearchProvider.js +141 -0
  229. package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/SearchServiceProvider.js +177 -0
  230. package/src/main/js/sap/ushell/components/shell/SearchCEPNew/manifest.json +43 -0
  231. package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources.properties +17 -0
  232. package/src/main/js/sap/ushell/components/shell/Settings/Component.js +50 -35
  233. package/src/main/js/sap/ushell/components/shell/Settings/ErrorMessageHelper.js +10 -10
  234. package/src/main/js/sap/ushell/components/shell/Settings/UserSettings.controller.js +150 -150
  235. package/src/main/js/sap/ushell/components/shell/Settings/appearance/Appearance.controller.js +66 -63
  236. package/src/main/js/sap/ushell/components/shell/Settings/appearance/AppearanceEntry.js +12 -15
  237. package/src/main/js/sap/ushell/components/shell/Settings/homepage/HomepageEntry.js +34 -37
  238. package/src/main/js/sap/ushell/components/shell/Settings/notifications/NotificationsEntry.js +6 -7
  239. package/src/main/js/sap/ushell/components/shell/Settings/notifications/NotificationsSetting.controller.js +46 -48
  240. package/src/main/js/sap/ushell/components/shell/Settings/search/Search.controller.js +4 -4
  241. package/src/main/js/sap/ushell/components/shell/Settings/search/SearchEntry.js +13 -13
  242. package/src/main/js/sap/ushell/components/shell/Settings/spaces/SpacesEntry.js +11 -13
  243. package/src/main/js/sap/ushell/components/shell/Settings/spaces/SpacesSetting.controller.js +41 -42
  244. package/src/main/js/sap/ushell/components/shell/Settings/userAccount/UserAccountEntry.js +11 -15
  245. package/src/main/js/sap/ushell/components/shell/Settings/userAccount/UserAccountSelector.controller.js +35 -37
  246. package/src/main/js/sap/ushell/components/shell/Settings/userActivities/UserActivitiesEntry.js +6 -7
  247. package/src/main/js/sap/ushell/components/shell/Settings/userActivities/UserActivitiesSetting.controller.js +7 -8
  248. package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/Component.js +2 -2
  249. package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/UserDefaultsEntry.js +16 -16
  250. package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/UserDefaultsForm.js +17 -17
  251. package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/controller/ExtendedValueDialog.controller.js +21 -24
  252. package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/controller/UserDefaultsSetting.controller.js +136 -137
  253. package/src/main/js/sap/ushell/components/shell/Settings/userLanguageRegion/LanguageRegionSelector.controller.js +73 -78
  254. package/src/main/js/sap/ushell/components/shell/Settings/userLanguageRegion/UserLanguageRegionEntry.js +8 -8
  255. package/src/main/js/sap/ushell/components/shell/ShellBar/Component.js +30 -23
  256. package/src/main/js/sap/ushell/components/shell/ShellBar/controller/ShellBar.controller.js +34 -22
  257. package/src/main/js/sap/ushell/components/shell/ShellBar/manifest.json +1 -1
  258. package/src/main/js/sap/ushell/components/shell/ShellBar/view/ShellBar.view.xml +21 -9
  259. package/src/main/js/sap/ushell/components/shell/SideNavigation/Component.js +7 -11
  260. package/src/main/js/sap/ushell/components/shell/SideNavigation/controller/SideNavigation.controller.js +3 -3
  261. package/src/main/js/sap/ushell/components/shell/SideNavigation/manifest.json +1 -1
  262. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/AllSpaces.js +3 -4
  263. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/AppFinder.js +2 -2
  264. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/Favorites.js +8 -3
  265. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/GenericFixedNavigationListProvider.js +2 -2
  266. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/GenericNavigationListProvider.js +2 -2
  267. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/MyHome.js +2 -2
  268. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/NavigationHelper.js +4 -4
  269. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/RecentActivity.js +4 -4
  270. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/Spaces.js +5 -6
  271. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/SpacesNavigationListProvider.js +2 -3
  272. package/src/main/js/sap/ushell/components/shell/UserActionsMenu/Component.js +3 -4
  273. package/src/main/js/sap/ushell/components/shell/UserActionsMenu/UserActionsMenu.controller.js +47 -48
  274. package/src/main/js/sap/ushell/components/shell/UserImage/Component.js +27 -30
  275. package/src/main/js/sap/ushell/components/tiles/action/ActionTile.controller.js +55 -55
  276. package/src/main/js/sap/ushell/components/tiles/action/Configuration.controller.js +39 -41
  277. package/src/main/js/sap/ushell/components/tiles/applauncher/Component.js +3 -3
  278. package/src/main/js/sap/ushell/components/tiles/applauncher/Configuration.controller.js +26 -27
  279. package/src/main/js/sap/ushell/components/tiles/applauncher/StaticTile.controller.js +66 -66
  280. package/src/main/js/sap/ushell/components/tiles/applauncher/StaticTile.view.js +5 -5
  281. package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/Component.js +2 -2
  282. package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/Configuration.controller.js +27 -27
  283. package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/DynamicTile.controller.js +107 -107
  284. package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/DynamicTile.view.js +7 -7
  285. package/src/main/js/sap/ushell/components/tiles/cdm/applauncher/Component.js +7 -7
  286. package/src/main/js/sap/ushell/components/tiles/cdm/applauncher/StaticTile.controller.js +31 -31
  287. package/src/main/js/sap/ushell/components/tiles/cdm/applauncher/StaticTile.view.js +2 -2
  288. package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/Component.js +15 -15
  289. package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/DynamicTile.controller.js +85 -86
  290. package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/DynamicTile.view.js +4 -4
  291. package/src/main/js/sap/ushell/components/tiles/generic.js +133 -131
  292. package/src/main/js/sap/ushell/components/tiles/indicatorArea/AreaChartTile.controller.js +71 -71
  293. package/src/main/js/sap/ushell/components/tiles/indicatorArea/AreaChartTile.view.js +17 -17
  294. package/src/main/js/sap/ushell/components/tiles/indicatorDual/DualTile.controller.js +49 -49
  295. package/src/main/js/sap/ushell/components/tiles/indicatorDual/DualTile.view.js +9 -9
  296. package/src/main/js/sap/ushell/components/tiles/indicatorDualComparison/DualComparison.controller.js +80 -80
  297. package/src/main/js/sap/ushell/components/tiles/indicatorDualComparison/DualComparison.view.js +3 -3
  298. package/src/main/js/sap/ushell/components/tiles/indicatorDualContribution/DualContribution.controller.js +74 -75
  299. package/src/main/js/sap/ushell/components/tiles/indicatorDualContribution/DualContribution.view.js +3 -3
  300. package/src/main/js/sap/ushell/components/tiles/indicatorDualDeviation/DualDeviation.controller.js +55 -55
  301. package/src/main/js/sap/ushell/components/tiles/indicatorDualDeviation/DualDeviation.view.js +12 -12
  302. package/src/main/js/sap/ushell/components/tiles/indicatorDualTrend/DualTrend.controller.js +83 -84
  303. package/src/main/js/sap/ushell/components/tiles/indicatorDualTrend/DualTrend.view.js +15 -15
  304. package/src/main/js/sap/ushell/components/tiles/indicatorHarveyBall/HarveyBallTile.controller.js +71 -71
  305. package/src/main/js/sap/ushell/components/tiles/indicatorHarveyBall/HarveyBallTile.view.js +7 -7
  306. package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/cache.js +4 -4
  307. package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/indicatorTileHelper.js +4 -4
  308. package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/oData4Analytics.js +230 -232
  309. package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/smartBusinessUtil.js +271 -272
  310. package/src/main/js/sap/ushell/components/tiles/indicatorcomparison/ComparisonTile.controller.js +55 -55
  311. package/src/main/js/sap/ushell/components/tiles/indicatorcomparison/ComparisonTile.view.js +4 -4
  312. package/src/main/js/sap/ushell/components/tiles/indicatorcontribution/ContributionTile.controller.js +53 -53
  313. package/src/main/js/sap/ushell/components/tiles/indicatorcontribution/ContributionTile.view.js +5 -5
  314. package/src/main/js/sap/ushell/components/tiles/indicatordeviation/DeviationTile.controller.js +20 -20
  315. package/src/main/js/sap/ushell/components/tiles/indicatordeviation/DeviationTile.view.js +11 -11
  316. package/src/main/js/sap/ushell/components/tiles/indicatornumeric/NumericTile.controller.js +14 -15
  317. package/src/main/js/sap/ushell/components/tiles/indicatornumeric/NumericTile.view.js +10 -10
  318. package/src/main/js/sap/ushell/components/tiles/sbtilecontent.js +6 -6
  319. package/src/main/js/sap/ushell/components/tiles/utils.js +699 -664
  320. package/src/main/js/sap/ushell/components/visualizationOrganizer/Component.js +217 -217
  321. package/src/main/js/sap/ushell/components/workPageBuilder/Component.js +4 -8
  322. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.accessibility.js +40 -42
  323. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.controller.js +257 -262
  324. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.layout.js +19 -20
  325. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPage.js +6 -6
  326. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageButton.js +37 -38
  327. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageCell.js +97 -100
  328. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumn.js +81 -82
  329. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnRenderer.js +9 -9
  330. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnResizer.js +38 -39
  331. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRenderer.js +5 -5
  332. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRow.js +8 -9
  333. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRowRenderer.js +9 -9
  334. package/src/main/js/sap/ushell/components/workPageBuilder/manifest.json +1 -1
  335. package/src/main/js/sap/ushell/components/workPageRuntime/Component.js +4 -4
  336. package/src/main/js/sap/ushell/components/workPageRuntime/controller/WorkPageRuntime.controller.js +15 -15
  337. package/src/main/js/sap/ushell/components/workPageRuntime/manifest.json +1 -1
  338. package/src/main/js/sap/ushell/designtime/ApplicationContainer.designtime.js +1 -1
  339. package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/Avatar.js +7 -1
  340. package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/ListItemGroup.js +90 -0
  341. package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/MenuItem.js +10 -0
  342. package/src/main/js/sap/ushell/gen/ui5/webcomponents-base.js +19 -11
  343. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/Search.js +144 -0
  344. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchItem.js +68 -0
  345. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchItemGroup.js +34 -0
  346. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchMessageArea.js +51 -0
  347. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchScope.js +55 -0
  348. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBar.js +5 -0
  349. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarBranding.js +76 -0
  350. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarSearch.js +133 -0
  351. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori.js +83 -1
  352. package/src/main/js/sap/ushell/gen/ui5/webcomponents.js +80 -2
  353. package/src/main/js/sap/ushell/library.js +1 -1
  354. package/src/main/js/sap/ushell/navigation/NavigationState.js +126 -0
  355. package/src/main/js/sap/ushell/navigationMode.js +1 -1
  356. package/src/main/js/sap/ushell/performance/ShellAnalytics.js +1 -1
  357. package/src/main/js/sap/ushell/performance/StatisticalRecord.js +1 -1
  358. package/src/main/js/sap/ushell/plugins/appwarmup/Component.js +1 -1
  359. package/src/main/js/sap/ushell/renderer/AccessKeysHandler.js +8 -4
  360. package/src/main/js/sap/ushell/renderer/Renderer.js +19 -7
  361. package/src/main/js/sap/ushell/renderer/Shell.controller.js +11 -5
  362. package/src/main/js/sap/ushell/renderer/Shell.view.js +4 -1
  363. package/src/main/js/sap/ushell/renderer/resources/resources_ar.properties +2 -0
  364. package/src/main/js/sap/ushell/renderer/resources/resources_bg.properties +2 -0
  365. package/src/main/js/sap/ushell/renderer/resources/resources_ca.properties +2 -0
  366. package/src/main/js/sap/ushell/renderer/resources/resources_cnr.properties +2 -0
  367. package/src/main/js/sap/ushell/renderer/resources/resources_cs.properties +2 -0
  368. package/src/main/js/sap/ushell/renderer/resources/resources_cy.properties +2 -0
  369. package/src/main/js/sap/ushell/renderer/resources/resources_da.properties +2 -0
  370. package/src/main/js/sap/ushell/renderer/resources/resources_de.properties +2 -0
  371. package/src/main/js/sap/ushell/renderer/resources/resources_el.properties +2 -0
  372. package/src/main/js/sap/ushell/renderer/resources/resources_en.properties +2 -0
  373. package/src/main/js/sap/ushell/renderer/resources/resources_en_GB.properties +2 -0
  374. package/src/main/js/sap/ushell/renderer/resources/resources_en_US_saprigi.properties +2 -0
  375. package/src/main/js/sap/ushell/renderer/resources/resources_es.properties +2 -0
  376. package/src/main/js/sap/ushell/renderer/resources/resources_es_MX.properties +2 -0
  377. package/src/main/js/sap/ushell/renderer/resources/resources_et.properties +2 -0
  378. package/src/main/js/sap/ushell/renderer/resources/resources_fi.properties +2 -0
  379. package/src/main/js/sap/ushell/renderer/resources/resources_fr.properties +2 -0
  380. package/src/main/js/sap/ushell/renderer/resources/resources_fr_CA.properties +2 -0
  381. package/src/main/js/sap/ushell/renderer/resources/resources_hi.properties +2 -0
  382. package/src/main/js/sap/ushell/renderer/resources/resources_hr.properties +2 -0
  383. package/src/main/js/sap/ushell/renderer/resources/resources_hu.properties +3 -1
  384. package/src/main/js/sap/ushell/renderer/resources/resources_id.properties +2 -0
  385. package/src/main/js/sap/ushell/renderer/resources/resources_it.properties +2 -0
  386. package/src/main/js/sap/ushell/renderer/resources/resources_iw.properties +2 -0
  387. package/src/main/js/sap/ushell/renderer/resources/resources_ja.properties +2 -0
  388. package/src/main/js/sap/ushell/renderer/resources/resources_kk.properties +2 -0
  389. package/src/main/js/sap/ushell/renderer/resources/resources_ko.properties +2 -0
  390. package/src/main/js/sap/ushell/renderer/resources/resources_lt.properties +2 -0
  391. package/src/main/js/sap/ushell/renderer/resources/resources_lv.properties +2 -0
  392. package/src/main/js/sap/ushell/renderer/resources/resources_mk.properties +2 -0
  393. package/src/main/js/sap/ushell/renderer/resources/resources_ms.properties +2 -0
  394. package/src/main/js/sap/ushell/renderer/resources/resources_nl.properties +2 -0
  395. package/src/main/js/sap/ushell/renderer/resources/resources_no.properties +2 -0
  396. package/src/main/js/sap/ushell/renderer/resources/resources_pl.properties +2 -0
  397. package/src/main/js/sap/ushell/renderer/resources/resources_pt.properties +2 -0
  398. package/src/main/js/sap/ushell/renderer/resources/resources_pt_PT.properties +2 -0
  399. package/src/main/js/sap/ushell/renderer/resources/resources_ro.properties +2 -0
  400. package/src/main/js/sap/ushell/renderer/resources/resources_ru.properties +2 -0
  401. package/src/main/js/sap/ushell/renderer/resources/resources_sh.properties +2 -0
  402. package/src/main/js/sap/ushell/renderer/resources/resources_sk.properties +2 -0
  403. package/src/main/js/sap/ushell/renderer/resources/resources_sl.properties +3 -1
  404. package/src/main/js/sap/ushell/renderer/resources/resources_sr.properties +2 -0
  405. package/src/main/js/sap/ushell/renderer/resources/resources_sv.properties +2 -0
  406. package/src/main/js/sap/ushell/renderer/resources/resources_th.properties +2 -0
  407. package/src/main/js/sap/ushell/renderer/resources/resources_tr.properties +2 -0
  408. package/src/main/js/sap/ushell/renderer/resources/resources_uk.properties +2 -0
  409. package/src/main/js/sap/ushell/renderer/resources/resources_vi.properties +3 -1
  410. package/src/main/js/sap/ushell/renderer/resources/resources_zh_CN.properties +2 -0
  411. package/src/main/js/sap/ushell/renderer/resources/resources_zh_TW.properties +2 -0
  412. package/src/main/js/sap/ushell/renderer/search/searchComponent/manifest.json +1 -1
  413. package/src/main/js/sap/ushell/services/AllMyApps.js +5 -5
  414. package/src/main/js/sap/ushell/services/AppConfiguration.js +3 -5
  415. package/src/main/js/sap/ushell/services/AppLifeCycle.js +2 -2
  416. package/src/main/js/sap/ushell/services/AppState.js +86 -102
  417. package/src/main/js/sap/ushell/services/AppType.js +2 -2
  418. package/src/main/js/sap/ushell/services/Bookmark.js +156 -164
  419. package/src/main/js/sap/ushell/services/BookmarkV2.js +10 -13
  420. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Formatter.js +1 -1
  421. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/InboundIndex.js +1 -1
  422. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/InboundProvider.js +1 -1
  423. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/PrelaunchOperations.js +1 -1
  424. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Search.js +1 -1
  425. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/StagedLogger.js +1 -1
  426. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/SystemContext.js +1 -1
  427. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Utils.js +1 -1
  428. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/VirtualInbounds.js +1 -1
  429. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/XAppStateProcessing.js +1 -1
  430. package/src/main/js/sap/ushell/services/ClientSideTargetResolution.js +27 -31
  431. package/src/main/js/sap/ushell/services/CommonDataModel/SiteConverter.js +1 -1
  432. package/src/main/js/sap/ushell/services/CommonDataModel/vizTypeDefaults/VizTypeDefaults.js +1 -1
  433. package/src/main/js/sap/ushell/services/CommonDataModel.js +295 -353
  434. package/src/main/js/sap/ushell/services/Configuration.js +14 -12
  435. package/src/main/js/sap/ushell/services/ConfigurationDefaults.js +34 -35
  436. package/src/main/js/sap/ushell/services/Container.js +2 -2
  437. package/src/main/js/sap/ushell/services/ContentExtensionAdapterFactory.js +29 -62
  438. package/src/main/js/sap/ushell/services/CrossApplicationNavigation.js +227 -266
  439. package/src/main/js/sap/ushell/services/DarkModeSupport.js +17 -16
  440. package/src/main/js/sap/ushell/services/EndUserFeedback.js +5 -4
  441. package/src/main/js/sap/ushell/services/Extension/Item.js +7 -12
  442. package/src/main/js/sap/ushell/services/Extension.js +54 -19
  443. package/src/main/js/sap/ushell/services/FlpLaunchPage.js +209 -213
  444. package/src/main/js/sap/ushell/services/FrameBoundExtension/FloatingContainer.js +3 -3
  445. package/src/main/js/sap/ushell/services/FrameBoundExtension/Footer.js +3 -3
  446. package/src/main/js/sap/ushell/services/FrameBoundExtension/Item.js +6 -6
  447. package/src/main/js/sap/ushell/services/FrameBoundExtension/SidePane.js +1 -1
  448. package/src/main/js/sap/ushell/services/FrameBoundExtension/ToolArea.js +1 -1
  449. package/src/main/js/sap/ushell/services/FrameBoundExtension/UserSettingsEntry.js +4 -4
  450. package/src/main/js/sap/ushell/services/FrameBoundExtension.js +3 -3
  451. package/src/main/js/sap/ushell/services/LaunchPage.js +1 -2
  452. package/src/main/js/sap/ushell/services/Menu.js +264 -289
  453. package/src/main/js/sap/ushell/services/Message.js +3 -3
  454. package/src/main/js/sap/ushell/services/MessageBroker/MessageBrokerEngine.js +6 -29
  455. package/src/main/js/sap/ushell/services/MessageBroker.js +14 -10
  456. package/src/main/js/sap/ushell/services/MessageInternal.js +37 -38
  457. package/src/main/js/sap/ushell/services/NavTargetResolution.js +2 -5
  458. package/src/main/js/sap/ushell/services/NavTargetResolutionInternal.js +153 -157
  459. package/src/main/js/sap/ushell/services/Navigation/compatibility.js +4 -6
  460. package/src/main/js/sap/ushell/services/Navigation/utils.js +62 -64
  461. package/src/main/js/sap/ushell/services/Navigation.js +10 -14
  462. package/src/main/js/sap/ushell/services/NavigationDataProvider.js +2 -2
  463. package/src/main/js/sap/ushell/services/Notifications.js +29 -15
  464. package/src/main/js/sap/ushell/services/NotificationsV2.js +86 -98
  465. package/src/main/js/sap/ushell/services/PageBuilding.js +9 -6
  466. package/src/main/js/sap/ushell/services/PagePersistence.js +3 -3
  467. package/src/main/js/sap/ushell/services/PageReferencing.js +4 -2
  468. package/src/main/js/sap/ushell/services/Pages.js +635 -683
  469. package/src/main/js/sap/ushell/services/Personalization.js +103 -134
  470. package/src/main/js/sap/ushell/services/PersonalizationV2/ContextContainer.js +29 -32
  471. package/src/main/js/sap/ushell/services/PersonalizationV2/Personalizer.js +21 -6
  472. package/src/main/js/sap/ushell/services/PersonalizationV2/TransientPersonalizer.js +1 -2
  473. package/src/main/js/sap/ushell/services/PersonalizationV2/Variant.js +5 -1
  474. package/src/main/js/sap/ushell/services/PersonalizationV2/VariantSet.js +5 -8
  475. package/src/main/js/sap/ushell/services/PersonalizationV2/VariantSetAdapter.js +2 -2
  476. package/src/main/js/sap/ushell/services/PersonalizationV2/WindowAdapter.js +10 -11
  477. package/src/main/js/sap/ushell/services/PersonalizationV2/WindowAdapterContainer.js +27 -27
  478. package/src/main/js/sap/ushell/services/PersonalizationV2/constants.js +1 -2
  479. package/src/main/js/sap/ushell/services/PersonalizationV2/constants.private.js +1 -1
  480. package/src/main/js/sap/ushell/services/PersonalizationV2/utils.js +5 -5
  481. package/src/main/js/sap/ushell/services/PersonalizationV2.js +92 -105
  482. package/src/main/js/sap/ushell/services/PluginManager/Extensions.js +9 -9
  483. package/src/main/js/sap/ushell/services/PluginManager/HeaderExtensions.js +2 -2
  484. package/src/main/js/sap/ushell/services/PluginManager/MenuExtensions.js +4 -4
  485. package/src/main/js/sap/ushell/services/PluginManager/SimpleExpression.js +5 -8
  486. package/src/main/js/sap/ushell/services/PluginManager.js +12 -8
  487. package/src/main/js/sap/ushell/services/ReferenceResolver.js +21 -28
  488. package/src/main/js/sap/ushell/services/Search.js +25 -21
  489. package/src/main/js/sap/ushell/services/SearchCEP.js +38 -32
  490. package/src/main/js/sap/ushell/services/SearchableContent.js +203 -223
  491. package/src/main/js/sap/ushell/services/ShellNavigation.js +5 -3
  492. package/src/main/js/sap/ushell/services/ShellNavigationHashChanger.js +160 -164
  493. package/src/main/js/sap/ushell/services/ShellNavigationInternal.js +23 -19
  494. package/src/main/js/sap/ushell/services/SmartNavigation.js +86 -82
  495. package/src/main/js/sap/ushell/services/SpaceContent.js +73 -106
  496. package/src/main/js/sap/ushell/services/SupportTicket.js +1 -1
  497. package/src/main/js/sap/ushell/services/UITracer.js +48 -62
  498. package/src/main/js/sap/ushell/services/URLShortening.js +2 -2
  499. package/src/main/js/sap/ushell/services/URLTemplate.js +7 -8
  500. package/src/main/js/sap/ushell/services/Ui5ComponentHandle.js +5 -5
  501. package/src/main/js/sap/ushell/services/Ui5ComponentLoader.js +1 -1
  502. package/src/main/js/sap/ushell/services/UsageAnalytics.js +2 -3
  503. package/src/main/js/sap/ushell/services/UserDefaultParameterPersistence.js +10 -10
  504. package/src/main/js/sap/ushell/services/UserDefaultParameters.js +12 -13
  505. package/src/main/js/sap/ushell/services/UserInfo.js +27 -15
  506. package/src/main/js/sap/ushell/services/UserRecents/RecentActivity.js +6 -7
  507. package/src/main/js/sap/ushell/services/UserRecents/RecentAppsUsage.js +5 -5
  508. package/src/main/js/sap/ushell/services/UserRecents/RecentsList.js +2 -2
  509. package/src/main/js/sap/ushell/services/UserRecents/UserRecentsBase.js +2 -2
  510. package/src/main/js/sap/ushell/services/UserRecents.js +3 -3
  511. package/src/main/js/sap/ushell/services/VisualizationDataProvider.js +63 -66
  512. package/src/main/js/sap/ushell/services/VisualizationInstantiation.js +11 -11
  513. package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/ContentExtensionAdapterConfig.js +1 -1
  514. package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/FeaturedGroupConfig.js +1 -1
  515. package/src/main/js/sap/ushell/services/_CrossApplicationNavigation/utils.js +1 -1
  516. package/src/main/js/sap/ushell/services/_PageReferencing/PageReferencer.js +1 -1
  517. package/src/main/js/sap/ushell/services/personalization/VariantSetAdapter.js +10 -10
  518. package/src/main/js/sap/ushell/state/BaseState.js +2 -3
  519. package/src/main/js/sap/ushell/state/BindingHelper.js +2 -4
  520. package/src/main/js/sap/ushell/state/ControlManager.js +2 -3
  521. package/src/main/js/sap/ushell/state/CurrentState.js +2 -2
  522. package/src/main/js/sap/ushell/state/KeepAlive.js +2 -2
  523. package/src/main/js/sap/ushell/state/ShellModel.js +2 -3
  524. package/src/main/js/sap/ushell/state/StateManager/LaunchpadState.js +2 -2
  525. package/src/main/js/sap/ushell/state/StateManager/Operation.js +2 -2
  526. package/src/main/js/sap/ushell/state/StateManager/ShellMode.js +2 -2
  527. package/src/main/js/sap/ushell/state/StateManager.js +3 -3
  528. package/src/main/js/sap/ushell/state/StateRules.js +2 -3
  529. package/src/main/js/sap/ushell/state/StrategyFactory/DefaultStrategy.js +2 -3
  530. package/src/main/js/sap/ushell/state/StrategyFactory/FloatingActionsStrategy.js +2 -3
  531. package/src/main/js/sap/ushell/state/StrategyFactory/FloatingContainerStrategy.js +2 -3
  532. package/src/main/js/sap/ushell/state/StrategyFactory/HeadEndItemsStrategy.js +3 -4
  533. package/src/main/js/sap/ushell/state/StrategyFactory/HeadItemsStrategy.js +3 -4
  534. package/src/main/js/sap/ushell/state/StrategyFactory/SidePaneStrategy.js +2 -3
  535. package/src/main/js/sap/ushell/state/StrategyFactory/SubHeaderStrategy.js +2 -3
  536. package/src/main/js/sap/ushell/state/StrategyFactory/UserActionsStrategy.js +3 -4
  537. package/src/main/js/sap/ushell/state/StrategyFactory.js +2 -3
  538. package/src/main/js/sap/ushell/state/modules/BackNavigation.js +2 -5
  539. package/src/main/js/sap/ushell/state/modules/ContentDensity.js +3 -3
  540. package/src/main/js/sap/ushell/state/modules/Favicon.js +3 -3
  541. package/src/main/js/sap/ushell/state/modules/HeaderLogo.js +3 -3
  542. package/src/main/js/sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin.js +123 -123
  543. package/src/main/js/sap/ushell/themes/base/ShellBar.less +2 -1
  544. package/src/main/js/sap/ushell/themes/base/ShellHeader.less +1 -1
  545. package/src/main/js/sap/ushell/themes/base/ToolAreaItem.less +1 -0
  546. package/src/main/js/sap/ushell/themes/sap_fiori_3/ShellBar.less +9 -0
  547. package/src/main/js/sap/ushell/themes/sap_fiori_3/ShellHeader.less +6 -0
  548. package/src/main/js/sap/ushell/themes/sap_fiori_3/library.source.less +1 -0
  549. package/src/main/js/sap/ushell/themes/sap_fiori_3_dark/ShellBar.less +9 -0
  550. package/src/main/js/sap/ushell/themes/sap_fiori_3_dark/library.source.less +1 -0
  551. package/src/main/js/sap/ushell/themes/sap_fiori_3_hcb/ShellBar.less +9 -0
  552. package/src/main/js/sap/ushell/themes/sap_fiori_3_hcb/library.source.less +1 -0
  553. package/src/main/js/sap/ushell/themes/sap_fiori_3_hcw/ShellBar.less +9 -0
  554. package/src/main/js/sap/ushell/themes/sap_fiori_3_hcw/library.source.less +1 -0
  555. package/src/main/js/sap/ushell/themes/sap_hcb/base_ShellHeader.less +1 -1
  556. package/src/main/js/sap/ushell/thirdparty/AccessibilityTextsHelper.js +13 -0
  557. package/src/main/js/sap/ushell/thirdparty/Avatar.js +83 -16
  558. package/src/main/js/sap/ushell/thirdparty/BusyIndicator.js +16 -241
  559. package/src/main/js/sap/ushell/thirdparty/Button.js +1 -1
  560. package/src/main/js/sap/ushell/thirdparty/Button2.js +34 -14
  561. package/src/main/js/sap/ushell/thirdparty/Icon.js +11 -11
  562. package/src/main/js/sap/ushell/thirdparty/Icons.js +81 -79
  563. package/src/main/js/sap/ushell/thirdparty/Label.js +4 -4
  564. package/src/main/js/sap/ushell/thirdparty/Link.js +11 -10
  565. package/src/main/js/sap/ushell/thirdparty/List.js +34 -487
  566. package/src/main/js/sap/ushell/thirdparty/ListBoxItemGroupTemplate.js +14 -0
  567. package/src/main/js/sap/ushell/thirdparty/ListItemBase.js +239 -0
  568. package/src/main/js/sap/ushell/thirdparty/ListItemCustom.js +1669 -91
  569. package/src/main/js/sap/ushell/thirdparty/ListItemGroup.js +472 -0
  570. package/src/main/js/sap/ushell/thirdparty/Menu.js +70 -81
  571. package/src/main/js/sap/ushell/thirdparty/MenuItem.js +1 -1
  572. package/src/main/js/sap/ushell/thirdparty/MenuItem2.js +348 -40
  573. package/src/main/js/sap/ushell/thirdparty/NotificationList.js +5 -5
  574. package/src/main/js/sap/ushell/thirdparty/NotificationListGroupItem.js +15 -15
  575. package/src/main/js/sap/ushell/thirdparty/NotificationListItem.js +511 -517
  576. package/src/main/js/sap/ushell/thirdparty/NotificationListItemBase.js +3 -3
  577. package/src/main/js/sap/ushell/thirdparty/ResponsivePopover.js +2264 -0
  578. package/src/main/js/sap/ushell/thirdparty/SearchItem.js +111 -0
  579. package/src/main/js/sap/ushell/thirdparty/SearchItemGroup.js +47 -0
  580. package/src/main/js/sap/ushell/thirdparty/SearchMessageArea.js +49 -0
  581. package/src/main/js/sap/ushell/thirdparty/SearchScope.js +39 -0
  582. package/src/main/js/sap/ushell/thirdparty/ShellBar.js +177 -170
  583. package/src/main/js/sap/ushell/thirdparty/ShellBarBranding.js +119 -0
  584. package/src/main/js/sap/ushell/thirdparty/ShellBarSearch.js +7 -0
  585. package/src/main/js/sap/ushell/thirdparty/ShellBarSearch2.js +3248 -0
  586. package/src/main/js/sap/ushell/thirdparty/Tag.js +15 -14
  587. package/src/main/js/sap/ushell/thirdparty/Text.js +9 -9
  588. package/src/main/js/sap/ushell/thirdparty/Title.js +167 -0
  589. package/src/main/js/sap/ushell/thirdparty/UserMenu.js +55 -54
  590. package/src/main/js/sap/ushell/thirdparty/UserMenuItem.js +5 -5
  591. package/src/main/js/sap/ushell/thirdparty/ValueState.js +7 -0
  592. package/src/main/js/sap/ushell/thirdparty/_dynamics/InputSuggestions.js +444 -0
  593. package/src/main/js/sap/ushell/thirdparty/_dynamics/ListItemStandardExpandableTextTemplate.js +7 -7
  594. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ar2.js +39 -0
  595. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ar3.js +26 -8
  596. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_bg2.js +40 -1
  597. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_bg3.js +26 -8
  598. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ca2.js +41 -2
  599. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ca3.js +27 -9
  600. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cnr2.js +39 -0
  601. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cnr3.js +25 -7
  602. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cs2.js +39 -0
  603. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cs3.js +25 -7
  604. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cy2.js +39 -0
  605. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cy3.js +26 -8
  606. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_da2.js +39 -0
  607. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_da3.js +25 -7
  608. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_de2.js +39 -0
  609. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_de3.js +26 -8
  610. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_el2.js +39 -0
  611. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_el3.js +25 -7
  612. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en2.js +45 -0
  613. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en3.js +26 -8
  614. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_GB2.js +39 -0
  615. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_GB3.js +26 -8
  616. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_sappsd2.js +39 -0
  617. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_sappsd3.js +26 -8
  618. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saprigi2.js +45 -0
  619. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saprigi3.js +23 -8
  620. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saptrc2.js +39 -0
  621. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saptrc3.js +26 -8
  622. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es2.js +42 -3
  623. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es3.js +27 -9
  624. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es_MX2.js +42 -3
  625. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es_MX3.js +28 -10
  626. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_et2.js +39 -0
  627. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_et3.js +25 -7
  628. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fi2.js +39 -0
  629. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fi3.js +25 -7
  630. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr2.js +39 -0
  631. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr3.js +26 -8
  632. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr_CA2.js +39 -0
  633. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr_CA3.js +25 -7
  634. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hi2.js +39 -0
  635. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hi3.js +25 -7
  636. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hr2.js +39 -0
  637. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hr3.js +25 -7
  638. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hu2.js +39 -0
  639. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hu3.js +25 -7
  640. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_id2.js +39 -0
  641. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_id3.js +26 -8
  642. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_it2.js +43 -4
  643. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_it3.js +29 -11
  644. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_iw2.js +39 -0
  645. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_iw3.js +27 -9
  646. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ja2.js +39 -0
  647. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ja3.js +26 -8
  648. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_kk2.js +39 -0
  649. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_kk3.js +26 -8
  650. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ko2.js +39 -0
  651. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ko3.js +25 -7
  652. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lt2.js +39 -0
  653. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lt3.js +25 -7
  654. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lv2.js +39 -0
  655. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lv3.js +27 -9
  656. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_mk2.js +40 -1
  657. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_mk3.js +25 -7
  658. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ms2.js +40 -1
  659. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ms3.js +27 -9
  660. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_nl2.js +39 -0
  661. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_nl3.js +25 -7
  662. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_no2.js +39 -0
  663. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_no3.js +26 -8
  664. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pl2.js +39 -0
  665. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pl3.js +26 -8
  666. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt2.js +39 -0
  667. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt3.js +25 -7
  668. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt_PT2.js +39 -0
  669. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt_PT3.js +26 -8
  670. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ro2.js +39 -0
  671. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ro3.js +25 -7
  672. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ru2.js +39 -0
  673. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ru3.js +25 -7
  674. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sh2.js +39 -0
  675. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sh3.js +25 -7
  676. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sk2.js +39 -0
  677. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sk3.js +25 -7
  678. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sl2.js +41 -2
  679. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sl3.js +26 -8
  680. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sr2.js +39 -0
  681. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sr3.js +25 -7
  682. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sv2.js +39 -0
  683. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sv3.js +26 -8
  684. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_th2.js +39 -0
  685. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_th3.js +25 -7
  686. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_tr2.js +39 -0
  687. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_tr3.js +25 -7
  688. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_uk2.js +40 -1
  689. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_uk3.js +25 -7
  690. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_vi2.js +39 -0
  691. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_vi3.js +26 -8
  692. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_CN2.js +39 -0
  693. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_CN3.js +26 -8
  694. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_TW2.js +41 -2
  695. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_TW3.js +25 -7
  696. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css10.js +1 -1
  697. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css11.js +1 -1
  698. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css12.js +1 -1
  699. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css13.js +1 -1
  700. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css14.js +1 -1
  701. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css15.js +1 -1
  702. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css16.js +1 -1
  703. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css17.js +1 -1
  704. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css18.js +1 -1
  705. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css19.js +1 -1
  706. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css20.js +1 -1
  707. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css21.js +1 -1
  708. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css22.js +1 -1
  709. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css23.js +1 -1
  710. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css24.js +1 -1
  711. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css25.js +1 -1
  712. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css26.js +7 -0
  713. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css3.js +1 -1
  714. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css4.js +1 -1
  715. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css5.js +1 -1
  716. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css6.js +1 -1
  717. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css7.js +1 -1
  718. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css8.js +1 -1
  719. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css9.js +1 -1
  720. package/src/main/js/sap/ushell/thirdparty/encodeXML.js +87 -0
  721. package/src/main/js/sap/ushell/thirdparty/generateHighlightedMarkup.js +9 -0
  722. package/src/main/js/sap/ushell/thirdparty/i18n-defaults.js +143 -149
  723. package/src/main/js/sap/ushell/thirdparty/i18n-defaults2.js +16 -0
  724. package/src/main/js/sap/ushell/thirdparty/information.js +10 -13
  725. package/src/main/js/sap/ushell/thirdparty/information2.js +13 -0
  726. package/src/main/js/sap/ushell/thirdparty/overflow.js +2 -2
  727. package/src/main/js/sap/ushell/thirdparty/parameters-bundle.css.js +1 -1
  728. package/src/main/js/sap/ushell/thirdparty/parameters-bundle.css2.js +44 -0
  729. package/src/main/js/sap/ushell/thirdparty/query.js +1 -4
  730. package/src/main/js/sap/ushell/thirdparty/slim-arrow-down.js +44 -0
  731. package/src/main/js/sap/ushell/thirdparty/sys-enter-2.js +7 -0
  732. package/src/main/js/sap/ushell/thirdparty/toLowercaseEnumValue.js +0 -8
  733. package/src/main/js/sap/ushell/thirdparty/webcomponents-base.js +35 -31
  734. package/src/main/js/sap/ushell/thirdparty/webcomponents-fiori.js +8 -8
  735. package/src/main/js/sap/ushell/thirdparty/webcomponents.js +16 -16
  736. package/src/main/js/sap/ushell/thirdparty/willShowContent.js +7 -0
  737. package/src/main/js/sap/ushell/ui/ShellHeader.js +0 -1
  738. package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +1 -1
  739. package/src/main/js/sap/ushell/ui/launchpad/ExtendedChangeDetection.js +1 -1
  740. package/src/main/js/sap/ushell/ui/launchpad/Section.js +1 -1
  741. package/src/main/js/sap/ushell/ui/launchpad/VizInstance.js +6 -1
  742. package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.js +1 -1
  743. package/src/main/js/sap/ushell/ui/shell/ToolAreaItem.js +5 -2
  744. package/src/main/js/sap/ushell/ui/utils.js +1 -1
  745. package/src/main/js/sap/ushell/ui5service/ShellUIServiceFactory.js +1 -1
  746. package/src/main/js/sap/ushell/ui5service/UserStatus.js +1 -1
  747. package/src/main/js/sap/ushell/utils/UrlShortening.js +1 -1
  748. package/src/main/js/sap/ushell/utils/workpage/WorkPageHost.js +1 -1
  749. package/src/main/js/sap/ushell/utils/workpage/WorkPageService.js +1 -1
  750. package/src/main/js/sap/ushell/utils/workpage/WorkPageVizInstantiation.js +1 -1
  751. package/src/main/js/sap/ushell/utils.js +32 -1
  752. package/src/test/js/sap/ushell/bootstrap/sandbox.js +1 -1
  753. package/ui5.yaml +2 -0
  754. package/src/main/js/sap/ushell/thirdparty/ListItemTemplate.js +0 -3920
  755. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css2.js +0 -7
  756. /package/src/main/js/sap/ushell/components/shell/SearchCEP/{SearchFieldFragment.fragment.xml → SearchField.fragment.xml} +0 -0
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @file Exposes a CommonDataModel-based site document in a platform-neutral format to it's clients
5
- * @version 1.138.1
5
+ * @version 1.139.0
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/ushell/services/CommonDataModel/PersonalizationProcessor",
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  "sap/ushell/adapters/cdm/v3/_LaunchPage/readApplications",
24
24
  "sap/base/Log",
25
25
  "sap/ushell/Container"
26
- ], function (
26
+ ], (
27
27
  PersonalizationProcessor,
28
28
  VizTypeDefaults,
29
29
  ObjectPath,
@@ -42,16 +42,16 @@ sap.ui.define([
42
42
  readApplications,
43
43
  Log,
44
44
  Container
45
- ) {
45
+ ) => {
46
46
  "use strict";
47
47
 
48
48
  // shortcut for sap.ushell.DisplayFormat
49
- var DisplayFormat = ushellLibrary.DisplayFormat;
49
+ const DisplayFormat = ushellLibrary.DisplayFormat;
50
50
 
51
51
  // shortcut for sap.ushell.ContentNodeType
52
- var ContentNodeType = ushellLibrary.ContentNodeType;
52
+ const ContentNodeType = ushellLibrary.ContentNodeType;
53
53
 
54
- var S_COMPONENT_NAME = "sap.ushell.services.CommonDataModel";
54
+ const S_COMPONENT_NAME = "sap.ushell.services.CommonDataModel";
55
55
 
56
56
  /**
57
57
  * @alias sap.ushell.services.CommonDataModel
@@ -169,14 +169,14 @@ sap.ui.define([
169
169
  * @private
170
170
  */
171
171
  CommonDataModel.prototype._applyPagePersonalization = function (oPage, oPersonalization) {
172
- var sPageId = oPage.identification.id;
172
+ const sPageId = oPage.identification.id;
173
173
 
174
174
  if (Object.keys(oPersonalization).length) {
175
175
  // BCP: 002075129400005034972020
176
176
  // Recover old personalization
177
- var oClassicPers = oPersonalization.classicHomePage;
177
+ const oClassicPers = oPersonalization.classicHomePage;
178
178
  if (oClassicPers && oClassicPers.version === "3.1.0") {
179
- Object.keys(oClassicPers).forEach(function (sPage) {
179
+ Object.keys(oClassicPers).forEach((sPage) => {
180
180
  // only recover pages which were not further personalized
181
181
  if (!oPersonalization[sPage]) {
182
182
  oPersonalization[sPage] = oClassicPers[sPage];
@@ -187,7 +187,7 @@ sap.ui.define([
187
187
  }
188
188
 
189
189
  // Migrate classic homepage personalization to pages personalization
190
- var oVersion = new Version(oPersonalization._version || oPersonalization.version);
190
+ const oVersion = new Version(oPersonalization._version || oPersonalization.version);
191
191
  if (oVersion.compareTo("3.1.0") < 0) {
192
192
  oPersonalization = {
193
193
  classicHomePage: oPersonalization,
@@ -201,14 +201,13 @@ sap.ui.define([
201
201
  // clone the page's personalization delta to make sure that it is not changed
202
202
  // this is important as the delta might not get extracted again before it is saved
203
203
  // which would save the changed delta
204
- var oPagePersonalization = deepClone(oPersonalization[sPageId], 20) || {};
205
- var oConvertedPage = this._oSiteConverter.convertTo("3.0.0", deepClone(oPage, 20));
206
-
207
- return this._triggerMixinPersonalizationInSite(oConvertedPage, oPagePersonalization)
208
- .then(function (oPersonalizedSite) {
209
- this._oPersonalizedPages[sPageId] = this._oSiteConverter.convertTo("3.1.0", deepClone(oPersonalizedSite, 20));
210
- return this._oPersonalizedPages[sPageId];
211
- }.bind(this));
204
+ const oPagePersonalization = deepClone(oPersonalization[sPageId], 20) || {};
205
+ const oConvertedPage = this._oSiteConverter.convertTo("3.0.0", deepClone(oPage, 20));
206
+
207
+ return this._triggerMixinPersonalizationInSite(oConvertedPage, oPagePersonalization).then((oPersonalizedSite) => {
208
+ this._oPersonalizedPages[sPageId] = this._oSiteConverter.convertTo("3.1.0", deepClone(oPersonalizedSite, 20));
209
+ return this._oPersonalizedPages[sPageId];
210
+ });
212
211
  };
213
212
 
214
213
  /**
@@ -222,22 +221,18 @@ sap.ui.define([
222
221
  * @private
223
222
  * @since 1.98.0
224
223
  */
225
- CommonDataModel.prototype._migratePersonalizedPages = function (aPages) {
224
+ CommonDataModel.prototype._migratePersonalizedPages = async function (aPages) {
226
225
  if (typeof this._oAdapter.migratePersonalizedPages !== "function") {
227
- return Promise.resolve(aPages);
226
+ return aPages;
228
227
  }
229
228
 
230
- return this._oAdapter.migratePersonalizedPages(aPages)
231
- .then(function (aPagesToSave) {
232
- if (aPagesToSave.length === 0) {
233
- return null;
234
- }
229
+ const aPagesToSave = await this._oAdapter.migratePersonalizedPages(aPages);
235
230
 
236
- return this.save(aPagesToSave);
237
- }.bind(this))
238
- .then(function () {
239
- return aPages;
240
- });
231
+ if (aPagesToSave.length) {
232
+ await this.save(aPagesToSave);
233
+ }
234
+
235
+ return aPages;
241
236
  };
242
237
 
243
238
  /**
@@ -267,14 +262,15 @@ sap.ui.define([
267
262
 
268
263
  /**
269
264
  * TODO to be removed
265
+ * @returns {jQuery.Deferred} resolves with the groups order.
270
266
  * @private
271
267
  */
272
268
  CommonDataModel.prototype.getHomepageGroups = function () {
273
- var oDeferred = new jQuery.Deferred();
269
+ const oDeferred = new jQuery.Deferred();
274
270
 
275
- this.getSite().then(function (oSite) {
271
+ this.getSite().then((oSite) => {
276
272
  // the group order was not available in the very first ABAP CDM RT Site
277
- var aGroupsOrder = (oSite && oSite.site && oSite.site.payload && oSite.site.payload.groupsOrder)
273
+ const aGroupsOrder = (oSite && oSite.site && oSite.site.payload && oSite.site.payload.groupsOrder)
278
274
  ? oSite.site.payload.groupsOrder : [];
279
275
 
280
276
  oDeferred.resolve(aGroupsOrder);
@@ -284,14 +280,15 @@ sap.ui.define([
284
280
 
285
281
  /**
286
282
  * TODO to be removed
283
+ * @returns {jQuery.Deferred} resolves with the groups.
287
284
  * @private
288
285
  */
289
286
  CommonDataModel.prototype.getGroups = function () {
290
- var oDeferred = new jQuery.Deferred();
287
+ const oDeferred = new jQuery.Deferred();
291
288
 
292
- this.getSite().then(function (oSite) {
293
- var aGroups = [];
294
- Object.keys(oSite.groups).forEach(function (sKey) {
289
+ this.getSite().then((oSite) => {
290
+ const aGroups = [];
291
+ Object.keys(oSite.groups).forEach((sKey) => {
295
292
  aGroups.push(oSite.groups[sKey]);
296
293
  });
297
294
  oDeferred.resolve(aGroups);
@@ -301,16 +298,18 @@ sap.ui.define([
301
298
 
302
299
  /**
303
300
  * TODO to be removed
301
+ * @param {string} sId the id of the group.
302
+ * @returns {jQuery.Deferred} resolves with a group or rejects with an error string.
304
303
  * @private
305
304
  */
306
305
  CommonDataModel.prototype.getGroup = function (sId) {
307
- var oDeferred = new jQuery.Deferred();
308
- this.getSite().then(function (oSite) {
309
- var oGroup = oSite.groups[sId];
306
+ const oDeferred = new jQuery.Deferred();
307
+ this.getSite().then((oSite) => {
308
+ const oGroup = oSite.groups[sId];
310
309
  if (oGroup) {
311
310
  oDeferred.resolve(oGroup);
312
311
  } else {
313
- oDeferred.reject("Group " + sId + " not found");
312
+ oDeferred.reject(`Group ${sId} not found`);
314
313
  }
315
314
  });
316
315
  return oDeferred.promise();
@@ -331,7 +330,7 @@ sap.ui.define([
331
330
  * @since 1.40.0
332
331
  */
333
332
  CommonDataModel.prototype.getSite = function () {
334
- //TODO JSDoc: tbd is it allowed to change "personalization" section?
333
+ // TODO JSDoc: tbd is it allowed to change "personalization" section?
335
334
 
336
335
  // The personalization gets only loaded here for CDM versions < 3.1.0
337
336
  // and if it was not loaded early
@@ -368,42 +367,39 @@ sap.ui.define([
368
367
  * @private
369
368
  *
370
369
  */
371
- CommonDataModel.prototype.getPage = function (sPageId) {
372
- var bEnablePersonalization = Config.last("/core/shell/enablePersonalization");
373
- var bEnableMyHome = Config.last("/core/spaces/myHome/enabled");
374
- var sMyHomePageId = Config.last("/core/spaces/myHome/myHomePageId");
375
-
376
- return Promise.resolve(this._pGetSiteFromAdapter)
377
- .then(function () {
378
- // Allow multiple fetches without rebuilding the page
379
- // This enables multiple personalization actions with a single save
380
- if (this._oPersonalizedPages[sPageId]) {
381
- return this._oPersonalizedPages[sPageId];
382
- }
370
+ CommonDataModel.prototype.getPage = async function (sPageId) {
371
+ const bEnablePersonalization = Config.last("/core/shell/enablePersonalization");
372
+ const bEnableMyHome = Config.last("/core/spaces/myHome/enabled");
373
+ const sMyHomePageId = Config.last("/core/spaces/myHome/myHomePageId");
374
+
375
+ await this._pGetSiteFromAdapter;
376
+ // Allow multiple fetches without rebuilding the page
377
+ // This enables multiple personalization actions with a single save
378
+ if (this._oPersonalizedPages[sPageId]) {
379
+ return this._oPersonalizedPages[sPageId];
380
+ }
383
381
 
384
- if (bEnablePersonalization || (bEnableMyHome && sPageId === sMyHomePageId)) {
385
- return Promise.all([
386
- this._getPageFromAdapter(sPageId),
387
- this._getPersonalization(this._oOriginalSite._version)
388
- ])
389
- .catch(function () {
390
- return Promise.reject("CommonDataModel Service: Cannot get page " + sPageId);
391
- })
392
- .then(function (aPageAndPersonalization) {
393
- return this._applyPagePersonalization(aPageAndPersonalization[0], aPageAndPersonalization[1])
394
- .catch(function () {
395
- return Promise.reject("Personalization Processor: Cannot mixin the personalization.");
396
- });
397
- }.bind(this))
398
- .then(function (oPersonalizedPage) {
399
- return this._migratePersonalizedPages([oPersonalizedPage])
400
- .then(function (aMigratedPages) {
401
- return aMigratedPages[0];
402
- });
403
- }.bind(this));
404
- }
405
- return this._getPageFromAdapter(sPageId);
406
- }.bind(this));
382
+ if (bEnablePersonalization || (bEnableMyHome && sPageId === sMyHomePageId)) {
383
+ let oPage;
384
+ let oPersonalization;
385
+ let oPersonalizedPage;
386
+ try {
387
+ oPage = await this._getPageFromAdapter(sPageId);
388
+ oPersonalization = await this._getPersonalization(this._oOriginalSite._version);
389
+ } catch (oError) {
390
+ return Promise.reject(`CommonDataModel Service: Cannot get page ${sPageId}`);
391
+ }
392
+
393
+ try {
394
+ oPersonalizedPage = await this._applyPagePersonalization(oPage, oPersonalization);
395
+ } catch (oError) {
396
+ return Promise.reject("Personalization Processor: Cannot mixin the personalization.");
397
+ }
398
+
399
+ const aMigratedPages = await this._migratePersonalizedPages([oPersonalizedPage]);
400
+ return aMigratedPages[0];
401
+ }
402
+ return this._getPageFromAdapter(sPageId);
407
403
  };
408
404
 
409
405
  /**
@@ -416,26 +412,19 @@ sap.ui.define([
416
412
  * @since 1.78.0
417
413
  * @private
418
414
  */
419
- CommonDataModel.prototype._getPageFromAdapter = function (sPageId) {
415
+ CommonDataModel.prototype._getPageFromAdapter = async function (sPageId) {
420
416
  if (!this._oAdapter.getPage) {
421
- return Promise.resolve(deepClone(this._oOriginalSite.pages[sPageId], 20));
417
+ return deepClone(this._oOriginalSite.pages[sPageId], 20);
422
418
  }
423
419
 
424
- return this._oAdapter.getPage(sPageId)
425
- .then(function (oPage) {
426
- return Promise.all([
427
- this.getCachedVisualizations(),
428
- this.getCachedVizTypes()
429
- ]).then(function (aResults) {
430
- var oVisualizations = aResults[0];
431
- var oVizTypes = aResults[1];
432
-
433
- this._oOriginalSite.pages[sPageId] = oPage;
434
- this._oOriginalSite.visualizations = oVisualizations;
435
- this._oOriginalSite.vizTypes = oVizTypes;
436
- return deepClone(oPage, 20);
437
- }.bind(this));
438
- }.bind(this));
420
+ const oPage = await this._oAdapter.getPage(sPageId);
421
+ const oVisualizations = await this.getCachedVisualizations();
422
+ const oVizTypes = await this.getCachedVizTypes();
423
+
424
+ this._oOriginalSite.pages[sPageId] = oPage;
425
+ this._oOriginalSite.visualizations = oVisualizations;
426
+ this._oOriginalSite.vizTypes = oVizTypes;
427
+ return deepClone(oPage, 20);
439
428
  };
440
429
 
441
430
  /**
@@ -445,7 +434,7 @@ sap.ui.define([
445
434
  * @returns {object[]} The filtered pages
446
435
  */
447
436
  CommonDataModel.prototype._filterForProperPages = function (aPages) {
448
- return aPages.filter(function (oPage) {
437
+ return aPages.filter((oPage) => {
449
438
  return !!oPage;
450
439
  });
451
440
  };
@@ -461,27 +450,27 @@ sap.ui.define([
461
450
  * @private
462
451
  */
463
452
  CommonDataModel.prototype.getPages = function (aPageIds) {
464
- var bEnablePersonalization = Config.last("/core/shell/enablePersonalization");
465
- var bEnableMyHome = Config.last("/core/spaces/myHome/enabled");
466
- var sMyHomePageId = Config.last("/core/spaces/myHome/myHomePageId");
467
- var pReturn;
453
+ const bEnablePersonalization = Config.last("/core/shell/enablePersonalization");
454
+ const bEnableMyHome = Config.last("/core/spaces/myHome/enabled");
455
+ const sMyHomePageId = Config.last("/core/spaces/myHome/myHomePageId");
456
+ let pReturn;
468
457
 
469
458
  if (this._mGetPagesPromises[aPageIds.toString()]) {
470
459
  pReturn = this._mGetPagesPromises[aPageIds.toString()];
471
460
  } else {
472
- pReturn = Promise.resolve(this._pGetSiteFromAdapter).then(function () {
461
+ pReturn = Promise.resolve(this._pGetSiteFromAdapter).then(() => {
473
462
  if (bEnablePersonalization || bEnableMyHome) {
474
463
  return Promise.all([
475
464
  this._getPagesFromAdapter(aPageIds),
476
465
  this._getPersonalization(this._oOriginalSite._version)
477
466
  ])
478
- .catch(function () {
467
+ .catch(() => {
479
468
  return Promise.reject("CommonDataModel Service: Cannot get pages");
480
469
  })
481
- .then(function (aResults) {
482
- var oPages = aResults[0];
483
- var oPersonalization = aResults[1];
484
- return Promise.all(Object.keys(oPages).map(function (sPageId) {
470
+ .then((aResults) => {
471
+ const oPages = aResults[0];
472
+ const oPersonalization = aResults[1];
473
+ return Promise.all(Object.keys(oPages).map((sPageId) => {
485
474
  // Allow multiple fetches without rebuilding the page
486
475
  // This enables multiple personalization actions with a single save
487
476
  if (this._oPersonalizedPages[sPageId]) {
@@ -491,23 +480,23 @@ sap.ui.define([
491
480
  return Promise.resolve(oPages[sPageId]);
492
481
  }
493
482
  return this._applyPagePersonalization(oPages[sPageId], oPersonalization)
494
- .catch(function () {
483
+ .catch(() => {
495
484
  return Promise.reject("Personalization Processor: Cannot mixin the personalization.");
496
485
  });
497
- }.bind(this)))
498
- .then(function (aPersonalizedPages) {
486
+ }))
487
+ .then((aPersonalizedPages) => {
499
488
  return this._migratePersonalizedPages(aPersonalizedPages);
500
- }.bind(this))
501
- .then(function (aPages) {
489
+ })
490
+ .then((aPages) => {
502
491
  return this._filterForProperPages(aPages);
503
- }.bind(this));
504
- }.bind(this));
492
+ });
493
+ });
505
494
  }
506
495
  return this._getPagesFromAdapter(aPageIds)
507
- .then(function (oPages) {
496
+ .then((oPages) => {
508
497
  return this._filterForProperPages(objectValues(oPages));
509
- }.bind(this));
510
- }.bind(this));
498
+ });
499
+ });
511
500
  // We are only caching per IDs as we do not expect several different calls with different IDs to happen.
512
501
  this._mGetPagesPromises[aPageIds.toString()] = pReturn;
513
502
  }
@@ -524,35 +513,29 @@ sap.ui.define([
524
513
  * @since 1.78.0
525
514
  * @private
526
515
  */
527
- CommonDataModel.prototype._getPagesFromAdapter = function (aPageIds) {
516
+ CommonDataModel.prototype._getPagesFromAdapter = async function (aPageIds) {
528
517
  if (!this._oAdapter.getPages) {
529
- var oPagesToReturn = {};
530
- for (var sPageId in this._oOriginalSite.pages) {
518
+ const oPagesToReturn = {};
519
+ for (const sPageId in this._oOriginalSite.pages) {
531
520
  if (aPageIds.includes(this._oOriginalSite.pages[sPageId].identification.id)) {
532
521
  oPagesToReturn[sPageId] = this._oOriginalSite.pages[sPageId];
533
522
  }
534
523
  }
535
- return Promise.resolve(deepClone(oPagesToReturn, 20));
524
+ return deepClone(oPagesToReturn, 20);
536
525
  }
537
526
 
538
- return this._oAdapter.getPages(aPageIds).then(function (oPages) {
539
- return Promise.all([
540
- this.getCachedVisualizations(),
541
- this.getCachedVizTypes()
542
- ]).then(function (aResults) {
543
- var oVisualizations = aResults[0];
544
- var oVizTypes = aResults[1];
527
+ const oPages = await this._oAdapter.getPages(aPageIds);
528
+ const oVisualizations = await this.getCachedVisualizations();
529
+ const oVizTypes = await this.getCachedVizTypes();
545
530
 
546
- this._oOriginalSite.visualizations = oVisualizations;
547
- this._oOriginalSite.vizTypes = oVizTypes;
531
+ this._oOriginalSite.visualizations = oVisualizations;
532
+ this._oOriginalSite.vizTypes = oVizTypes;
548
533
 
549
- Object.keys(oPages).forEach(function (sKey) {
550
- this._oOriginalSite.pages[sKey] = oPages[sKey];
551
- }.bind(this));
534
+ Object.keys(oPages).forEach((sKey) => {
535
+ this._oOriginalSite.pages[sKey] = oPages[sKey];
536
+ });
552
537
 
553
- return deepClone(oPages, 20);
554
- }.bind(this));
555
- }.bind(this));
538
+ return deepClone(oPages, 20);
556
539
  };
557
540
 
558
541
  /**
@@ -568,13 +551,12 @@ sap.ui.define([
568
551
  * @since 1.77.0
569
552
  * @private
570
553
  */
571
- CommonDataModel.prototype.getAllPages = function (oFilter) {
554
+ CommonDataModel.prototype.getAllPages = async function (oFilter) {
572
555
  if (oFilter && oFilter.personalizedPages) {
573
556
  return this._getAllPersonalizedPages();
574
557
  }
575
- return this._getAssignedPageIds().then(function (aPageIds) {
576
- return this.getPages(aPageIds);
577
- }.bind(this));
558
+ const aPageIds = await this._getAssignedPageIds();
559
+ return this.getPages(aPageIds);
578
560
  };
579
561
 
580
562
  /**
@@ -584,18 +566,14 @@ sap.ui.define([
584
566
  * @since 1.98.0
585
567
  * @private
586
568
  */
587
- CommonDataModel.prototype._getAssignedPageIds = function () {
588
- return Container.getServiceAsync("Menu")
589
- .then(function (oMenuService) {
590
- return oMenuService.getContentNodes();
591
- })
592
- .then(function (aContentNodes) {
593
- var aPageIds = [];
594
- aContentNodes.forEach(function (oContentNode) {
595
- this._collectPageIds(oContentNode, aPageIds);
596
- }.bind(this));
597
- return aPageIds;
598
- }.bind(this));
569
+ CommonDataModel.prototype._getAssignedPageIds = async function () {
570
+ const oMenuService = await Container.getServiceAsync("Menu");
571
+ const aContentNodes = await oMenuService.getContentNodes();
572
+ const aPageIds = [];
573
+ aContentNodes.forEach((oContentNode) => {
574
+ this._collectPageIds(oContentNode, aPageIds);
575
+ });
576
+ return aPageIds;
599
577
  };
600
578
 
601
579
  /**
@@ -617,9 +595,9 @@ sap.ui.define([
617
595
 
618
596
  // Process children recursively
619
597
  if (oContentNode.children !== undefined) {
620
- oContentNode.children.forEach(function (oContentNode) {
621
- this._collectPageIds(oContentNode, aPageIds);
622
- }.bind(this));
598
+ oContentNode.children.forEach((contentNode) => {
599
+ this._collectPageIds(contentNode, aPageIds);
600
+ });
623
601
  }
624
602
  };
625
603
 
@@ -630,36 +608,30 @@ sap.ui.define([
630
608
  * @since 1.98.0
631
609
  * @private
632
610
  */
633
- CommonDataModel.prototype._getAllPersonalizedPages = function () {
634
- return Promise.resolve(this._pGetSiteFromAdapter)
635
- .then(function () {
636
- return Promise.all([
637
- this._getAssignedPageIds(),
638
- this._getPersonalization(this._oOriginalSite._version)
639
- ]);
640
- }.bind(this))
641
- .then(function (aResults) {
642
- var aAssignedPages = aResults[0];
643
- var oPersonalization = aResults[1];
644
- var aPageIds = [];
645
- Object.keys(oPersonalization).forEach(function (sPageId) {
646
- if (sPageId === "version" || sPageId === "_version") {
647
- return;
648
- }
649
- if (!aAssignedPages.includes(sPageId)) {
650
- return; // only load assigned pages
651
- }
652
- var oPagePersonalization = oPersonalization[sPageId];
653
- // _version might be there even after reverting personalization
654
- if (Object.keys(oPagePersonalization).length > 1) {
655
- aPageIds.push(sPageId);
656
- }
657
- });
658
- if (aPageIds.length > 0) {
659
- return this.getPages(aPageIds);
660
- }
661
- return [];
662
- }.bind(this));
611
+ CommonDataModel.prototype._getAllPersonalizedPages = async function () {
612
+ await this._pGetSiteFromAdapter;
613
+ const aAssignedPages = await this._getAssignedPageIds();
614
+ const oPersonalization = await this._getPersonalization(this._oOriginalSite._version);
615
+ const aPageIds = [];
616
+
617
+ Object.keys(oPersonalization).forEach((sPageId) => {
618
+ if (sPageId === "version" || sPageId === "_version") {
619
+ return;
620
+ }
621
+ if (!aAssignedPages.includes(sPageId)) {
622
+ return; // only load assigned pages
623
+ }
624
+ const oPagePersonalization = oPersonalization[sPageId];
625
+ // _version might be there even after reverting personalization
626
+ if (Object.keys(oPagePersonalization).length > 1) {
627
+ aPageIds.push(sPageId);
628
+ }
629
+ });
630
+
631
+ if (aPageIds.length > 0) {
632
+ return this.getPages(aPageIds);
633
+ }
634
+ return [];
663
635
  };
664
636
 
665
637
  /**
@@ -673,10 +645,10 @@ sap.ui.define([
673
645
  * @since 1.75.0
674
646
  */
675
647
  CommonDataModel.prototype.getApplications = function () {
676
- return new Promise(function (resolve, reject) {
648
+ return new Promise((resolve, reject) => {
677
649
  this.getSite()
678
- .then(function (oSite) {
679
- var oApplications = oSite.applications;
650
+ .then((oSite) => {
651
+ const oApplications = oSite.applications;
680
652
  if (oApplications) {
681
653
  resolve(oApplications);
682
654
  } else {
@@ -684,7 +656,7 @@ sap.ui.define([
684
656
  }
685
657
  })
686
658
  .fail(reject);
687
- }.bind(this));
659
+ });
688
660
  };
689
661
 
690
662
  /**
@@ -699,17 +671,12 @@ sap.ui.define([
699
671
  * @private
700
672
  * @since 1.78.0
701
673
  */
702
- CommonDataModel.prototype.getVizTypes = function () {
674
+ CommonDataModel.prototype.getVizTypes = async function () {
703
675
  if (typeof this._oAdapter.getVizTypes === "function") {
704
- return Promise.all([
705
- this._getSiteProperty("vizTypes"),
706
- this._oAdapter.getVizTypes()
707
- ]).then(function (aResults) {
708
- var oSiteVizTypes = aResults[0];
709
- var oAdapterVizTypes = aResults[1];
710
-
711
- return extend(oSiteVizTypes, oAdapterVizTypes);
712
- });
676
+ const oSiteVizTypes = await this._getSiteProperty("vizTypes");
677
+ const oAdapterVizTypes = await this._oAdapter.getVizTypes();
678
+
679
+ return extend(oSiteVizTypes, oAdapterVizTypes);
713
680
  }
714
681
 
715
682
  // If the adapter doesn't implement #getVizTypes we can rely on the fact that the site
@@ -728,19 +695,16 @@ sap.ui.define([
728
695
  * @private
729
696
  * @since 1.89.0
730
697
  */
731
- CommonDataModel.prototype.getCachedVizTypes = function () {
732
- var oCachedVizTypesPromise = Promise.resolve();
698
+ CommonDataModel.prototype.getCachedVizTypes = async function () {
699
+ let oCachedVizTypes;
733
700
 
734
701
  if (typeof this._oAdapter.getCachedVizTypes === "function") {
735
- oCachedVizTypesPromise = this._oAdapter.getCachedVizTypes();
702
+ oCachedVizTypes = await this._oAdapter.getCachedVizTypes();
736
703
  }
737
704
 
738
- return Promise.all([this._getSiteProperty("vizTypes"), oCachedVizTypesPromise]).then(function (aResults) {
739
- var oSiteVizTypes = aResults[0];
740
- var oCachedVizTypes = aResults[1];
705
+ const oSiteVizTypes = await this._getSiteProperty("vizTypes");
741
706
 
742
- return extend(oSiteVizTypes, oCachedVizTypes);
743
- });
707
+ return extend(oSiteVizTypes, oCachedVizTypes);
744
708
  };
745
709
 
746
710
  /**
@@ -753,23 +717,20 @@ sap.ui.define([
753
717
  * @private
754
718
  * @since 1.91.0
755
719
  */
756
- CommonDataModel.prototype.getVizType = function (sVizType) {
757
- var oVizTypePromise = Promise.resolve();
720
+ CommonDataModel.prototype.getVizType = async function (sVizType) {
721
+ let oVizType;
758
722
 
759
723
  if (typeof this._oAdapter.getVizType === "function") {
760
- oVizTypePromise = this._oAdapter.getVizType(sVizType);
724
+ oVizType = await this._oAdapter.getVizType(sVizType);
761
725
  }
762
726
 
763
- return Promise.all([this._getSiteProperty("vizTypes"), oVizTypePromise]).then(function (aResults) {
764
- var oSiteVizTypes = aResults[0];
765
- var oVizType = aResults[1];
727
+ const oSiteVizTypes = await this._getSiteProperty("vizTypes");
766
728
 
767
- if (oVizType) {
768
- oSiteVizTypes[sVizType] = oVizType;
769
- }
729
+ if (oVizType) {
730
+ oSiteVizTypes[sVizType] = oVizType;
731
+ }
770
732
 
771
- return oSiteVizTypes[sVizType];
772
- });
733
+ return oSiteVizTypes[sVizType];
773
734
  };
774
735
 
775
736
  /**
@@ -784,17 +745,12 @@ sap.ui.define([
784
745
  * @private
785
746
  * @since 1.75.0
786
747
  */
787
- CommonDataModel.prototype.getVisualizations = function () {
748
+ CommonDataModel.prototype.getVisualizations = async function () {
788
749
  if (typeof this._oAdapter.getVisualizations === "function") {
789
- return Promise.all([
790
- this._getSiteProperty("visualizations"),
791
- this._oAdapter.getVisualizations()
792
- ]).then(function (aResults) {
793
- var oSiteVisualizations = aResults[0];
794
- var oAdapterVisualizations = aResults[1];
795
-
796
- return extend(oSiteVisualizations, oAdapterVisualizations);
797
- });
750
+ const oSiteVisualizations = await this._getSiteProperty("visualizations");
751
+ const oAdapterVisualizations = await this._oAdapter.getVisualizations();
752
+
753
+ return extend(oSiteVisualizations, oAdapterVisualizations);
798
754
  }
799
755
 
800
756
  // If the adapter doesn't implement #getVisualizations we can rely on the fact that the site
@@ -813,19 +769,16 @@ sap.ui.define([
813
769
  * @private
814
770
  * @since 1.89.0
815
771
  */
816
- CommonDataModel.prototype.getCachedVisualizations = function () {
817
- var oCachedVisualizationsPromise = Promise.resolve();
772
+ CommonDataModel.prototype.getCachedVisualizations = async function () {
773
+ let oCachedVisualizations;
818
774
 
819
775
  if (typeof this._oAdapter.getCachedVisualizations === "function") {
820
- oCachedVisualizationsPromise = this._oAdapter.getCachedVisualizations();
776
+ oCachedVisualizations = await this._oAdapter.getCachedVisualizations();
821
777
  }
822
778
 
823
- return Promise.all([this._getSiteProperty("visualizations"), oCachedVisualizationsPromise]).then(function (aResults) {
824
- var oSiteVisualizations = aResults[0];
825
- var oCachedVisualizations = aResults[1];
779
+ const oSiteVisualizations = await this._getSiteProperty("visualizations");
826
780
 
827
- return extend(oSiteVisualizations, oCachedVisualizations);
828
- });
781
+ return extend(oSiteVisualizations, oCachedVisualizations);
829
782
  };
830
783
 
831
784
  /**
@@ -839,19 +792,19 @@ sap.ui.define([
839
792
  * @since 1.89.0
840
793
  */
841
794
  CommonDataModel.prototype._getSiteProperty = function (vObjectPath) {
842
- return new Promise(function (resolve, reject) {
795
+ return new Promise((resolve, reject) => {
843
796
  this.getSite()
844
- .then(function (oSite) {
845
- var vProperty = ObjectPath.get(vObjectPath, oSite);
797
+ .then((oSite) => {
798
+ const vProperty = ObjectPath.get(vObjectPath, oSite);
846
799
  if (vProperty) {
847
800
  resolve(vProperty);
848
801
  } else {
849
- var sProperty = vObjectPath.toString();
850
- reject("CDM " + sProperty + " not found.");
802
+ const sProperty = vObjectPath.toString();
803
+ reject(`CDM ${sProperty} not found.`);
851
804
  }
852
805
  })
853
806
  .fail(reject);
854
- }.bind(this));
807
+ });
855
808
  };
856
809
 
857
810
  /**
@@ -868,7 +821,7 @@ sap.ui.define([
868
821
  * @since 1.42.0
869
822
  */
870
823
  CommonDataModel.prototype.getGroupFromOriginalSite = function (sGroupId) {
871
- var oDeferred = new jQuery.Deferred();
824
+ const oDeferred = new jQuery.Deferred();
872
825
 
873
826
  if (typeof sGroupId === "string" &&
874
827
  this._oOriginalSite &&
@@ -908,12 +861,12 @@ sap.ui.define([
908
861
  * @since 1.40.0
909
862
  */
910
863
  CommonDataModel.prototype.save = function (pageId) {
911
- var oDeferred = new jQuery.Deferred();
864
+ const oDeferred = new jQuery.Deferred();
912
865
 
913
866
  if (this._bPersonalizationLoadingFailed) {
914
867
  // There is no way to recover from this except reloading the FLP as a more complex recovery logic
915
868
  // would be overkill for this rare case.
916
- var sErrorMessage = "Prior personalization loading failed, cancelling save to prevent data loss. Saving this personalization will only be possible after reloading the FLP again.";
869
+ const sErrorMessage = "Prior personalization loading failed, cancelling save to prevent data loss. Saving this personalization will only be possible after reloading the FLP again.";
917
870
  Log.error(sErrorMessage, null, S_COMPONENT_NAME);
918
871
  oDeferred.reject(sErrorMessage);
919
872
  return oDeferred.promise();
@@ -941,65 +894,65 @@ sap.ui.define([
941
894
 
942
895
  /**
943
896
  * Extracts and saves the personalization for a CDM 3.0 site
944
- * @returns {Promise<undefined>} Resolves once the personalization was extracted and saved
897
+ * @returns {Promise} Resolves once the personalization was extracted and saved
945
898
  *
946
899
  * @private
947
900
  * @since 1.98.0
948
901
  */
949
902
  CommonDataModel.prototype._saveCdmVersion30 = function () {
950
- var oOriginalPage = this._oOriginalSite;
951
- var oPersonalizedPage = this._oPersonalizedSiteForCDMVersion30;
903
+ const oOriginalPage = this._oOriginalSite;
904
+ const oPersonalizedPage = this._oPersonalizedSiteForCDMVersion30;
952
905
 
953
- return new Promise(function (resolve, reject) {
906
+ return new Promise((resolve, reject) => {
954
907
  this._oPersonalizationProcessor.extractPersonalization(deepClone(oPersonalizedPage, 20), deepClone(oOriginalPage, 20))
955
908
  .done(resolve)
956
909
  .fail(reject);
957
- }.bind(this))
958
- .catch(function () {
910
+ })
911
+ .catch(() => {
959
912
  return Promise.reject("Personalization Processor: Cannot extract personalization.");
960
913
  })
961
- .then(function (oPersonalization) {
914
+ .then((oPersonalization) => {
962
915
  if (isEmptyObject(oPersonalization)) {
963
916
  return Promise.resolve();
964
917
  }
965
918
  return this._setPersonalization(oPersonalization);
966
- }.bind(this));
919
+ });
967
920
  };
968
921
 
969
922
  /**
970
923
  * Extracts and saves the personalization for a CDM 3.1 site
971
924
  * @param {string[]} aPageIds The list of pages which should be saved
972
- * @returns {Promise<undefined>} Resolves once the personalization was extracted and saved
925
+ * @returns {Promise} Resolves once the personalization was extracted and saved
973
926
  *
974
927
  * @private
975
928
  * @since 1.98.0
976
929
  */
977
930
  CommonDataModel.prototype._saveCdmVersion31 = function (aPageIds) {
978
931
  // Extract personalization deltas
979
- var aPersPromises = aPageIds.map(function (sPageId) {
980
- var oOriginalPage = this._oSiteConverter.convertTo("3.0.0", this._oOriginalSite.pages[sPageId]);
981
- var oPersonalizedPage = this._oSiteConverter.convertTo("3.0.0", this._oPersonalizedPages[sPageId]);
932
+ const aPersPromises = aPageIds.map((sPageId) => {
933
+ const oOriginalPage = this._oSiteConverter.convertTo("3.0.0", this._oOriginalSite.pages[sPageId]);
934
+ const oPersonalizedPage = this._oSiteConverter.convertTo("3.0.0", this._oPersonalizedPages[sPageId]);
982
935
 
983
- return new Promise(function (resolve, reject) {
936
+ return new Promise((resolve, reject) => {
984
937
  this._oPersonalizationProcessor.extractPersonalization(deepClone(oPersonalizedPage, 20), deepClone(oOriginalPage, 20))
985
- .done(function (oPersonalization) {
938
+ .done((oPersonalization) => {
986
939
  resolve({
987
940
  pageId: sPageId,
988
941
  personalization: oPersonalization
989
942
  });
990
943
  })
991
- .fail(function (sError) {
992
- Log.error("Cannot extract personalization of page " + sPageId + ": " + sError, null, S_COMPONENT_NAME);
944
+ .fail((sError) => {
945
+ Log.error(`Cannot extract personalization of page ${sPageId}: ${sError}`, null, S_COMPONENT_NAME);
993
946
  resolve();
994
947
  });
995
- }.bind(this));
996
- }.bind(this));
948
+ });
949
+ });
997
950
 
998
951
  // save personalization deltas to internal object
999
952
  return Promise.all(aPersPromises)
1000
- .then(function (aPersonalizations) {
1001
- var bShouldSave = false;
1002
- aPersonalizations.forEach(function (oDelta) {
953
+ .then((aPersonalizations) => {
954
+ let bShouldSave = false;
955
+ aPersonalizations.forEach((oDelta) => {
1003
956
  if (!oDelta) {
1004
957
  return;
1005
958
  }
@@ -1017,14 +970,14 @@ sap.ui.define([
1017
970
 
1018
971
  this._oPersonalizationDeltasForCDMVersion31[oDelta.pageId] = oDelta.personalization;
1019
972
  }
1020
- }.bind(this));
973
+ });
1021
974
 
1022
975
  // Save internal object to personalization
1023
976
  if (bShouldSave) {
1024
977
  return this._setPersonalization(this._oPersonalizationDeltasForCDMVersion31);
1025
978
  }
1026
979
  return Promise.resolve();
1027
- }.bind(this));
980
+ });
1028
981
  };
1029
982
 
1030
983
  /**
@@ -1035,13 +988,13 @@ sap.ui.define([
1035
988
  */
1036
989
  CommonDataModel.prototype._getPersonalization = function (sCDMVersion) {
1037
990
  return ushellUtils.promisify(this._oAdapter.getPersonalization(sCDMVersion))
1038
- .catch(function (oError) {
991
+ .catch((oError) => {
1039
992
  Log.error("Could not get page personalization", oError, S_COMPONENT_NAME);
1040
993
  // Do not prevent the page from loading if the personalization could not be loaded
1041
994
  // but prevent saving the personalization to prevent data loss
1042
995
  this._bPersonalizationLoadingFailed = true;
1043
996
  return {};
1044
- }.bind(this));
997
+ });
1045
998
  };
1046
999
 
1047
1000
  /**
@@ -1051,7 +1004,7 @@ sap.ui.define([
1051
1004
  *
1052
1005
  * @param {object} extractedPersonalization The personalization delta to be persisted
1053
1006
  * @param {string} pageId The page ID the personalization belongs to
1054
- * @returns {Promise<undefined>} A promise that wraps the Deferred of the CDM Adapter to save the personalization
1007
+ * @returns {Promise} A promise that wraps the Deferred of the CDM Adapter to save the personalization
1055
1008
  */
1056
1009
  CommonDataModel.prototype._setPersonalization = function (extractedPersonalization, pageId) {
1057
1010
  if (this._oPendingPersonalizationDeferred) {
@@ -1061,31 +1014,31 @@ sap.ui.define([
1061
1014
  aPromiseResolvers: []
1062
1015
  };
1063
1016
  }
1064
- return new Promise(function (resolve, reject) {
1017
+ return new Promise((resolve, reject) => {
1065
1018
  this._oNextPersonalizationQuery.fnNextCall = this._setPersonalization.bind(this, extractedPersonalization, pageId);
1066
1019
  this._oNextPersonalizationQuery.aPromiseResolvers.push({
1067
1020
  resolve: resolve,
1068
1021
  reject: reject
1069
1022
  });
1070
- }.bind(this));
1023
+ });
1071
1024
  }
1072
1025
  this._oPendingPersonalizationDeferred = this._oAdapter.setPersonalization(extractedPersonalization, pageId);
1073
- return new Promise(function (resolve, reject) {
1026
+ return new Promise((resolve, reject) => {
1074
1027
  this._oPendingPersonalizationDeferred
1075
1028
  .then(resolve)
1076
1029
  .fail(reject)
1077
- .always(function () {
1030
+ .always(() => {
1078
1031
  delete this._oPendingPersonalizationDeferred;
1079
1032
  if (this._oNextPersonalizationQuery) {
1080
- var oNextPersonalizationPromise = this._oNextPersonalizationQuery.fnNextCall();
1033
+ const oNextPersonalizationPromise = this._oNextPersonalizationQuery.fnNextCall();
1081
1034
  this._cleanupPersonalizationQueuePromises(
1082
1035
  oNextPersonalizationPromise,
1083
1036
  this._oNextPersonalizationQuery.aPromiseResolvers
1084
1037
  );
1085
1038
  delete this._oNextPersonalizationQuery;
1086
1039
  }
1087
- }.bind(this));
1088
- }.bind(this));
1040
+ });
1041
+ });
1089
1042
  };
1090
1043
 
1091
1044
  /**
@@ -1095,7 +1048,7 @@ sap.ui.define([
1095
1048
  * @param {object[]} queuedPromises The pending promises that are waiting to be resolved or rejected
1096
1049
  */
1097
1050
  CommonDataModel.prototype._cleanupPersonalizationQueuePromises = function (nextPersonalizationPromise, queuedPromises) {
1098
- queuedPromises.forEach(function (oPromise) {
1051
+ queuedPromises.forEach((oPromise) => {
1099
1052
  nextPersonalizationPromise
1100
1053
  .then(oPromise.resolve)
1101
1054
  .catch(oPromise.reject);
@@ -1132,7 +1085,7 @@ sap.ui.define([
1132
1085
 
1133
1086
  const oGroups = oPersonalizedSite.groups;
1134
1087
 
1135
- Object.keys(oGroups).forEach(function (sKey) {
1088
+ Object.keys(oGroups).forEach((sKey) => {
1136
1089
  if (!oGroups[sKey]) {
1137
1090
  // Undefined group detected. Cleaning it up...
1138
1091
  delete oGroups[sKey];
@@ -1179,7 +1132,7 @@ sap.ui.define([
1179
1132
 
1180
1133
  // we could use Array.filter here but as there is nothing to do in the most cases we avoid copying the array
1181
1134
  while (i < aGroupsOrder.length) {
1182
- var sGroupId = aGroupsOrder[i];
1135
+ const sGroupId = aGroupsOrder[i];
1183
1136
  if (!oGroups[sGroupId]) {
1184
1137
  aGroupsOrder.splice(i, 1);
1185
1138
  } else {
@@ -1203,8 +1156,8 @@ sap.ui.define([
1203
1156
  * @since 1.48.0
1204
1157
  */
1205
1158
  CommonDataModel.prototype.getPlugins = (function () {
1206
- var fnExtractPluginConfigFromInboundSignature = function (sPluginName, oSignatureInbounds) {
1207
- var iNumInbounds = Object.keys(oSignatureInbounds).length;
1159
+ function fnExtractPluginConfigFromInboundSignature (sPluginName, oSignatureInbounds) {
1160
+ const iNumInbounds = Object.keys(oSignatureInbounds).length;
1208
1161
 
1209
1162
  if (iNumInbounds === 0) {
1210
1163
  return {};
@@ -1212,15 +1165,15 @@ sap.ui.define([
1212
1165
 
1213
1166
  if (iNumInbounds > 1) {
1214
1167
  Log.warning(
1215
- "Multiple inbounds are defined for plugin '" + sPluginName + "'",
1168
+ `Multiple inbounds are defined for plugin '${sPluginName}'`,
1216
1169
  "Plugin startup configuration will be determined using "
1217
1170
  + "the first signature inbound with semanticObject:Shell and action:plugin for plugin.",
1218
1171
  S_COMPONENT_NAME
1219
1172
  );
1220
1173
  }
1221
1174
 
1222
- var oShellPluginSignatureInbounds = Object.values(oSignatureInbounds).find(
1223
- function (oInbound) {
1175
+ const oShellPluginSignatureInbounds = Object.values(oSignatureInbounds).find(
1176
+ (oInbound) => {
1224
1177
  return (oInbound && oInbound.semanticObject === "Shell"
1225
1178
  && oInbound.action === "plugin");
1226
1179
  }
@@ -1228,19 +1181,18 @@ sap.ui.define([
1228
1181
 
1229
1182
  if (oShellPluginSignatureInbounds === undefined) {
1230
1183
  Log.error(
1231
- "Cannot find inbound with semanticObject:Shell and action:plugin for plugin '" +
1232
- sPluginName + "'",
1184
+ `Cannot find inbound with semanticObject:Shell and action:plugin for plugin '${sPluginName}'`,
1233
1185
  "plugin startup configuration cannot be determined correctly",
1234
1186
  S_COMPONENT_NAME
1235
1187
  );
1236
1188
  return {};
1237
1189
  }
1238
1190
 
1239
- var oSignatureParams = ObjectPath.get("signature.parameters", oShellPluginSignatureInbounds) || {};
1191
+ const oSignatureParams = ObjectPath.get("signature.parameters", oShellPluginSignatureInbounds) || {};
1240
1192
 
1241
1193
  return Object.keys(oSignatureParams).reduce(
1242
- function (oResult, sNextParam) {
1243
- var sDefaultValue = ObjectPath.get(sNextParam + ".defaultValue.value", oSignatureParams);
1194
+ (oResult, sNextParam) => {
1195
+ const sDefaultValue = ObjectPath.get(`${sNextParam}.defaultValue.value`, oSignatureParams);
1244
1196
 
1245
1197
  if (typeof sDefaultValue === "string") {
1246
1198
  oResult[sNextParam] = sDefaultValue;
@@ -1250,9 +1202,9 @@ sap.ui.define([
1250
1202
  },
1251
1203
  {} /* oResult */
1252
1204
  );
1253
- };
1205
+ }
1254
1206
 
1255
- var oPluginSets;
1207
+ let oPluginSets;
1256
1208
  return function (oPluginSetsCache) {
1257
1209
  if (oPluginSetsCache !== undefined) {
1258
1210
  oPluginSets = oPluginSetsCache;
@@ -1264,25 +1216,21 @@ sap.ui.define([
1264
1216
 
1265
1217
  oPluginSets = {};
1266
1218
 
1267
- return this.getSiteWithoutPersonalization().then(function (oSite) {
1268
- var oApplications = oSite.applications || {};
1219
+ return this.getSiteWithoutPersonalization().then((oSite) => {
1220
+ const oApplications = oSite.applications || {};
1269
1221
 
1270
1222
  Object.keys(oApplications).filter(function (sAppName) {
1271
1223
  return ObjectPath.get("type", this[sAppName]["sap.flp"]) === "plugin";
1272
1224
  }, oApplications).forEach(function (sPluginName) {
1273
- var oConfigFromInboundSignature;
1274
- var oPlugin = this[sPluginName];
1275
- var oComponentProperties = {};
1225
+ const oPlugin = this[sPluginName];
1226
+ let oComponentProperties = {};
1276
1227
 
1277
1228
  if (!isPlainObject(oPlugin["sap.platform.runtime"])) {
1278
- Log.error("Cannot find 'sap.platform.runtime' section for plugin '"
1279
- + sPluginName + "'",
1229
+ Log.error(`Cannot find 'sap.platform.runtime' section for plugin '${sPluginName}'`,
1280
1230
  "plugin might not be started correctly",
1281
1231
  "sap.ushell.services.CommonDataModel");
1282
1232
  } else if (!isPlainObject(oPlugin["sap.platform.runtime"].componentProperties)) {
1283
- Log.error("Cannot find 'sap.platform.runtime/componentProperties' " +
1284
- "section for plugin '"
1285
- + sPluginName + "'",
1233
+ Log.error(`Cannot find 'sap.platform.runtime/componentProperties' section for plugin '${sPluginName}'`,
1286
1234
  "plugin might not be started correctly",
1287
1235
  "sap.ushell.services.CommonDataModel");
1288
1236
  } else {
@@ -1297,16 +1245,16 @@ sap.ui.define([
1297
1245
  //
1298
1246
  // define plugin configuration
1299
1247
  //
1300
- var oSignatureInbounds = ObjectPath.get(
1248
+ const oSignatureInbounds = ObjectPath.get(
1301
1249
  "crossNavigation.inbounds", oPlugin["sap.app"]
1302
1250
  ) || {};
1303
1251
 
1304
- oConfigFromInboundSignature = fnExtractPluginConfigFromInboundSignature(
1252
+ const oConfigFromInboundSignature = fnExtractPluginConfigFromInboundSignature(
1305
1253
  sPluginName,
1306
1254
  oSignatureInbounds
1307
1255
  );
1308
1256
 
1309
- var oPluginConfig = extend(
1257
+ const oPluginConfig = extend(
1310
1258
  oComponentProperties.config || {},
1311
1259
  oConfigFromInboundSignature // has precedence
1312
1260
  );
@@ -1319,14 +1267,14 @@ sap.ui.define([
1319
1267
  oPluginSets[sPluginName].asyncHints = oComponentProperties.asyncHints;
1320
1268
  }
1321
1269
 
1322
- var oDeviceTypes = ObjectPath.get("deviceTypes", oPlugin["sap.ui"]);
1270
+ const oDeviceTypes = ObjectPath.get("deviceTypes", oPlugin["sap.ui"]);
1323
1271
  if (oDeviceTypes) {
1324
1272
  oPluginSets[sPluginName].deviceTypes = oDeviceTypes;
1325
1273
  }
1326
1274
  }, oApplications);
1327
1275
 
1328
1276
  return ushellUtils.deepFreeze(oPluginSets);
1329
- }, function (vError) {
1277
+ }, (vError) => {
1330
1278
  return vError;
1331
1279
  });
1332
1280
  };
@@ -1341,7 +1289,7 @@ sap.ui.define([
1341
1289
  * @private
1342
1290
  */
1343
1291
  CommonDataModel.prototype._mapDisplayFormats = function (aDisplayFormats) {
1344
- var oDisplayFormatMap = {
1292
+ const oDisplayFormatMap = {
1345
1293
  tile: DisplayFormat.Standard,
1346
1294
  standard: DisplayFormat.Standard,
1347
1295
  link: DisplayFormat.Compact,
@@ -1352,11 +1300,11 @@ sap.ui.define([
1352
1300
  standardWide: DisplayFormat.StandardWide
1353
1301
  };
1354
1302
 
1355
- var aSupportedFormats = Object.keys(oDisplayFormatMap).filter(function (sDisplayFormat) {
1303
+ const aSupportedFormats = Object.keys(oDisplayFormatMap).filter((sDisplayFormat) => {
1356
1304
  return aDisplayFormats.indexOf(sDisplayFormat) > -1;
1357
1305
  });
1358
1306
 
1359
- return aSupportedFormats.map(function (sSupportedFormat) {
1307
+ return aSupportedFormats.map((sSupportedFormat) => {
1360
1308
  return oDisplayFormatMap[sSupportedFormat];
1361
1309
  });
1362
1310
  };
@@ -1371,11 +1319,11 @@ sap.ui.define([
1371
1319
  */
1372
1320
  CommonDataModel.prototype._ensureProperDisplayFormats = function (oSite) {
1373
1321
  if (oSite.vizTypes) {
1374
- Object.keys(oSite.vizTypes).forEach(function (sKey) {
1322
+ Object.keys(oSite.vizTypes).forEach((sKey) => {
1375
1323
  if (oSite.vizTypes[sKey]["sap.flp"] && oSite.vizTypes[sKey]["sap.flp"].vizOptions) {
1376
- var oVizType = oSite.vizTypes[sKey];
1377
- var aSupportedDisplayFormats = ObjectPath.get("vizOptions.displayFormats.supported", oVizType["sap.flp"]);
1378
- var sDefaultDisplayFormat = ObjectPath.get("vizOptions.displayFormats.default", oVizType["sap.flp"]);
1324
+ const oVizType = oSite.vizTypes[sKey];
1325
+ const aSupportedDisplayFormats = ObjectPath.get("vizOptions.displayFormats.supported", oVizType["sap.flp"]);
1326
+ const sDefaultDisplayFormat = ObjectPath.get("vizOptions.displayFormats.default", oVizType["sap.flp"]);
1379
1327
 
1380
1328
  if (aSupportedDisplayFormats) {
1381
1329
  oSite.vizTypes[sKey]["sap.flp"].vizOptions.displayFormats.supported = this._mapDisplayFormats(aSupportedDisplayFormats);
@@ -1384,36 +1332,36 @@ sap.ui.define([
1384
1332
  oSite.vizTypes[sKey]["sap.flp"].vizOptions.displayFormats.default = this._mapDisplayFormats([sDefaultDisplayFormat])[0];
1385
1333
  }
1386
1334
  }
1387
- }.bind(this));
1335
+ });
1388
1336
  }
1389
1337
 
1390
1338
  if (oSite.hasOwnProperty("pages")) {
1391
- Object.keys(oSite.pages).forEach(function (sKey) {
1392
- var oPage = oSite.pages[sKey];
1339
+ Object.keys(oSite.pages).forEach((sKey) => {
1340
+ const oPage = oSite.pages[sKey];
1393
1341
  if (oPage.payload && oPage.payload.sections) {
1394
- var oSections = oPage.payload.sections;
1395
- Object.keys(oSections).forEach(function (sSectionKey) {
1396
- var oSection = oSections[sSectionKey];
1397
- Object.keys(oSection.viz).forEach(function (sVizKey) {
1398
- var oViz = oSection.viz[sVizKey];
1342
+ const oSections = oPage.payload.sections;
1343
+ Object.keys(oSections).forEach((sSectionKey) => {
1344
+ const oSection = oSections[sSectionKey];
1345
+ Object.keys(oSection.viz).forEach((sVizKey) => {
1346
+ const oViz = oSection.viz[sVizKey];
1399
1347
  if (oViz.displayFormatHint) {
1400
- var aMappedFormat = this._mapDisplayFormats([oViz.displayFormatHint])[0];
1348
+ const aMappedFormat = this._mapDisplayFormats([oViz.displayFormatHint])[0];
1401
1349
  oViz.displayFormatHint = aMappedFormat || oViz.displayFormatHint;
1402
1350
  }
1403
- }.bind(this));
1404
- }.bind(this));
1351
+ });
1352
+ });
1405
1353
  }
1406
- }.bind(this));
1354
+ });
1407
1355
  } else if (oSite.hasOwnProperty("groups")) {
1408
- Object.keys(oSite.groups).forEach(function (sGroupKey) {
1409
- var oGroup = oSite.groups[sGroupKey];
1410
- oGroup.payload.tiles.forEach(function (oTile) {
1356
+ Object.keys(oSite.groups).forEach((sGroupKey) => {
1357
+ const oGroup = oSite.groups[sGroupKey];
1358
+ oGroup.payload.tiles.forEach((oTile) => {
1411
1359
  if (oTile.displayFormatHint) {
1412
- var aMappedFormat = this._mapDisplayFormats([oTile.displayFormatHint])[0];
1360
+ const aMappedFormat = this._mapDisplayFormats([oTile.displayFormatHint])[0];
1413
1361
  oTile.displayFormatHint = aMappedFormat || oTile.displayFormatHint;
1414
1362
  }
1415
- }.bind(this));
1416
- }.bind(this));
1363
+ });
1364
+ });
1417
1365
  }
1418
1366
  };
1419
1367
 
@@ -1449,14 +1397,11 @@ sap.ui.define([
1449
1397
  * @private
1450
1398
  * @since 1.76.0
1451
1399
  */
1452
- CommonDataModel.prototype.getMenuEntries = function (sMenuKey) {
1453
- return new Promise(function (resolve, reject) {
1454
- this.getSite().then(function (oSite) {
1455
- var aMenuEntries = ObjectPath.get("menus." + sMenuKey + ".payload.menuEntries", oSite);
1456
- // return a copy of the menu so that the original site cannot get changed
1457
- resolve(deepClone(aMenuEntries) || []);
1458
- });
1459
- }.bind(this));
1400
+ CommonDataModel.prototype.getMenuEntries = async function (sMenuKey) {
1401
+ const oSite = await this.getSite();
1402
+ const aMenuEntries = ObjectPath.get(`menus.${sMenuKey}.payload.menuEntries`, oSite);
1403
+ // return a copy of the menu so that the original site cannot get changed
1404
+ return deepClone(aMenuEntries) || [];
1460
1405
  };
1461
1406
 
1462
1407
  /**
@@ -1467,23 +1412,20 @@ sap.ui.define([
1467
1412
  * @private
1468
1413
  * @since 1.80.0
1469
1414
  */
1470
- CommonDataModel.prototype.getContentProviderIds = function () {
1471
- return new Promise(function (resolve, reject) {
1472
- this.getSite().then(function (oSite) {
1473
- var aSystemAliases = Object.keys(oSite.systemAliases);
1474
- var oContentProviderIds = {};
1415
+ CommonDataModel.prototype.getContentProviderIds = async function () {
1416
+ const oSite = await this.getSite();
1417
+ const aSystemAliases = Object.keys(oSite.systemAliases);
1418
+ const oContentProviderIds = {};
1475
1419
 
1476
- objectValues(oSite.applications).forEach(function (oApplication) {
1477
- var sContentProviderId = readApplications.getContentProviderId(oApplication);
1420
+ objectValues(oSite.applications).forEach((oApplication) => {
1421
+ const sContentProviderId = readApplications.getContentProviderId(oApplication);
1478
1422
 
1479
- if (aSystemAliases.includes(sContentProviderId)) {
1480
- oContentProviderIds[sContentProviderId] = true;
1481
- }
1482
- });
1423
+ if (aSystemAliases.includes(sContentProviderId)) {
1424
+ oContentProviderIds[sContentProviderId] = true;
1425
+ }
1426
+ });
1483
1427
 
1484
- resolve(Object.keys(oContentProviderIds));
1485
- });
1486
- }.bind(this));
1428
+ return Object.keys(oContentProviderIds);
1487
1429
  };
1488
1430
 
1489
1431
  CommonDataModel.hasNoAdapter = false;